diff --git a/.clang-format b/.clang-format index 2f50fd007..dd7116b10 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,5 @@ --- -Language: Cpp +Language: ObjC # BasedOnStyle: LLVM AccessModifierOffset: -2 AlignAfterOpenBracket: Align diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..2142fe5b7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,63 @@ +name: CI +on: [push, workflow_dispatch] + +jobs: + test: + name: Run Unit tests + runs-on: macos-latest + timeout-minutes: 20 + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Pod + run: | + cd TestObjectiveDropbox + pod install --repo-update + - name: Test iOS + env: + FULL_DROPBOX_API_APP_KEY: ${{ secrets.FULL_DROPBOX_API_APP_KEY }} + FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN: ${{ secrets.FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN }} + FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN: ${{ secrets.FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN }} + TEAM_MEMBER_EMAIL: ${{ secrets.TEAM_MEMBER_EMAIL }} + NON_TEAM_MEMBER_EMAIL: ${{ secrets.NON_TEAM_MEMBER_EMAIL }} + REFRESH_TOKEN_ACCOUNT_ID: ${{ secrets.REFRESH_TOKEN_ACCOUNT_ID }} + ANY_OTHER_ACCOUNT_ID: ${{ secrets.ANY_OTHER_ACCOUNT_ID }} + NON_TEAM_MEMBER_ACCOUNT_ID: ${{ secrets.NON_TEAM_MEMBER_ACCOUNT_ID }} + platform: ${{ 'iOS Simulator' }} + device: ${{ 'iPhone 16' }} + run: | + xcodebuild -workspace TestObjectiveDropbox/TestObjectiveDropbox.xcworkspace/ -scheme TestObjectiveDropbox_iOS -sdk iphonesimulator \ + -destination "platform=$platform,name=$device" \ + FULL_DROPBOX_API_APP_KEY=$FULL_DROPBOX_API_APP_KEY \ + FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN=$FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN \ + FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN=$FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN \ + TEAM_MEMBER_EMAIL=$TEAM_MEMBER_EMAIL \ + NON_TEAM_MEMBER_EMAIL=$NON_TEAM_MEMBER_EMAIL \ + REFRESH_TOKEN_ACCOUNT_ID=$REFRESH_TOKEN_ACCOUNT_ID \ + ANY_OTHER_ACCOUNT_ID=$ANY_OTHER_ACCOUNT_ID \ + NON_TEAM_MEMBER_ACCOUNT_ID=$NON_TEAM_MEMBER_ACCOUNT_ID \ + test + - name: Test macOS + env: + FULL_DROPBOX_API_APP_KEY: ${{ secrets.FULL_DROPBOX_API_APP_KEY }} + FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN: ${{ secrets.FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN }} + FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN: ${{ secrets.FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN }} + TEAM_MEMBER_EMAIL: ${{ secrets.TEAM_MEMBER_EMAIL }} + NON_TEAM_MEMBER_EMAIL: ${{ secrets.NON_TEAM_MEMBER_EMAIL }} + REFRESH_TOKEN_ACCOUNT_ID: ${{ secrets.REFRESH_TOKEN_ACCOUNT_ID }} + ANY_OTHER_ACCOUNT_ID: ${{ secrets.ANY_OTHER_ACCOUNT_ID }} + NON_TEAM_MEMBER_ACCOUNT_ID: ${{ secrets.NON_TEAM_MEMBER_ACCOUNT_ID }} + platform: ${{ 'macOS' }} + run: | + xcodebuild -workspace TestObjectiveDropbox/TestObjectiveDropbox.xcworkspace/ -scheme TestObjectiveDropbox_macOS \ + -destination "platform=$platform,arch=x86_64" \ + FULL_DROPBOX_API_APP_KEY=$FULL_DROPBOX_API_APP_KEY \ + FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN=$FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN \ + FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN=$FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN \ + TEAM_MEMBER_EMAIL=$TEAM_MEMBER_EMAIL \ + NON_TEAM_MEMBER_EMAIL=$NON_TEAM_MEMBER_EMAIL \ + REFRESH_TOKEN_ACCOUNT_ID=$REFRESH_TOKEN_ACCOUNT_ID \ + ANY_OTHER_ACCOUNT_ID=$ANY_OTHER_ACCOUNT_ID \ + NON_TEAM_MEMBER_ACCOUNT_ID=$NON_TEAM_MEMBER_ACCOUNT_ID \ + test diff --git a/.jazzy.json b/.jazzy.json index cb3e05fd5..d5d1c2fc4 100644 --- a/.jazzy.json +++ b/.jazzy.json @@ -1,2065 +1,4211 @@ { + "author": "Dropbox, Inc.", + "skip_undocumented": true, "custom_categories": [ { - "name": "Async", + "name": "Account", "children": [ - "DBASYNCLaunchResultBase", - "DBASYNCLaunchEmptyResult", - "DBASYNCPollArg", - "DBASYNCPollResultBase", - "DBASYNCPollEmptyResult", + "DBACCOUNTPhotoSourceArg", + "DBACCOUNTSetProfilePhotoArg", + "DBACCOUNTSetProfilePhotoError", + "DBACCOUNTSetProfilePhotoResult" + ] + }, + { + "name": "Async", + "children": [ + "DBASYNCLaunchResultBase", + "DBASYNCLaunchEmptyResult", + "DBASYNCPollArg", + "DBASYNCPollResultBase", + "DBASYNCPollEmptyResult", "DBASYNCPollError" ] - }, + }, { - "name": "Auth", + "name": "Auth", "children": [ - "DBAUTHAccessError", - "DBAUTHAuthError", - "DBAUTHInvalidAccountTypeError", - "DBAUTHPaperAccessError", - "DBAUTHRateLimitError", - "DBAUTHRateLimitReason", - "DBAUTHTokenFromOAuth1Arg", - "DBAUTHTokenFromOAuth1Error", - "DBAUTHTokenFromOAuth1Result" + "DBAUTHAccessError", + "DBAUTHAuthError", + "DBAUTHInvalidAccountTypeError", + "DBAUTHPaperAccessError", + "DBAUTHRateLimitError", + "DBAUTHRateLimitReason", + "DBAUTHTokenFromOAuth1Arg", + "DBAUTHTokenFromOAuth1Error", + "DBAUTHTokenFromOAuth1Result", + "DBAUTHTokenScopeError" ] - }, + }, { - "name": "Common", + "name": "Check", "children": [ - "DBCOMMONPathRoot", - "DBCOMMONPathRootError", - "DBCOMMONRootInfo", - "DBCOMMONTeamRootInfo", + "DBCHECKEchoArg", + "DBCHECKEchoResult" + ] + }, + { + "name": "Common", + "children": [ + "DBCOMMONPathRoot", + "DBCOMMONPathRootError", + "DBCOMMONRootInfo", + "DBCOMMONTeamRootInfo", "DBCOMMONUserRootInfo" ] - }, + }, + { + "name": "Contacts", + "children": [ + "DBCONTACTSDeleteManualContactsArg", + "DBCONTACTSDeleteManualContactsError" + ] + }, { - "name": "FileProperties", + "name": "FileProperties", "children": [ - "DBFILEPROPERTIESAddPropertiesArg", - "DBFILEPROPERTIESTemplateError", - "DBFILEPROPERTIESPropertiesError", - "DBFILEPROPERTIESInvalidPropertyGroupError", - "DBFILEPROPERTIESAddPropertiesError", - "DBFILEPROPERTIESPropertyGroupTemplate", - "DBFILEPROPERTIESAddTemplateArg", - "DBFILEPROPERTIESAddTemplateResult", - "DBFILEPROPERTIESGetTemplateArg", - "DBFILEPROPERTIESGetTemplateResult", - "DBFILEPROPERTIESListTemplateResult", - "DBFILEPROPERTIESLogicalOperator", - "DBFILEPROPERTIESLookUpPropertiesError", - "DBFILEPROPERTIESLookupError", - "DBFILEPROPERTIESModifyTemplateError", - "DBFILEPROPERTIESOverwritePropertyGroupArg", - "DBFILEPROPERTIESPropertiesSearchArg", - "DBFILEPROPERTIESPropertiesSearchContinueArg", - "DBFILEPROPERTIESPropertiesSearchContinueError", - "DBFILEPROPERTIESPropertiesSearchError", - "DBFILEPROPERTIESPropertiesSearchMatch", - "DBFILEPROPERTIESPropertiesSearchMode", - "DBFILEPROPERTIESPropertiesSearchQuery", - "DBFILEPROPERTIESPropertiesSearchResult", - "DBFILEPROPERTIESPropertyField", - "DBFILEPROPERTIESPropertyFieldTemplate", - "DBFILEPROPERTIESPropertyGroup", - "DBFILEPROPERTIESPropertyGroupUpdate", - "DBFILEPROPERTIESPropertyType", - "DBFILEPROPERTIESRemovePropertiesArg", - "DBFILEPROPERTIESRemovePropertiesError", - "DBFILEPROPERTIESRemoveTemplateArg", - "DBFILEPROPERTIESTemplateFilterBase", - "DBFILEPROPERTIESTemplateFilter", - "DBFILEPROPERTIESTemplateOwnerType", - "DBFILEPROPERTIESUpdatePropertiesArg", - "DBFILEPROPERTIESUpdatePropertiesError", - "DBFILEPROPERTIESUpdateTemplateArg", + "DBFILEPROPERTIESAddPropertiesArg", + "DBFILEPROPERTIESTemplateError", + "DBFILEPROPERTIESPropertiesError", + "DBFILEPROPERTIESInvalidPropertyGroupError", + "DBFILEPROPERTIESAddPropertiesError", + "DBFILEPROPERTIESPropertyGroupTemplate", + "DBFILEPROPERTIESAddTemplateArg", + "DBFILEPROPERTIESAddTemplateResult", + "DBFILEPROPERTIESGetTemplateArg", + "DBFILEPROPERTIESGetTemplateResult", + "DBFILEPROPERTIESListTemplateResult", + "DBFILEPROPERTIESLogicalOperator", + "DBFILEPROPERTIESLookUpPropertiesError", + "DBFILEPROPERTIESLookupError", + "DBFILEPROPERTIESModifyTemplateError", + "DBFILEPROPERTIESOverwritePropertyGroupArg", + "DBFILEPROPERTIESPropertiesSearchArg", + "DBFILEPROPERTIESPropertiesSearchContinueArg", + "DBFILEPROPERTIESPropertiesSearchContinueError", + "DBFILEPROPERTIESPropertiesSearchError", + "DBFILEPROPERTIESPropertiesSearchMatch", + "DBFILEPROPERTIESPropertiesSearchMode", + "DBFILEPROPERTIESPropertiesSearchQuery", + "DBFILEPROPERTIESPropertiesSearchResult", + "DBFILEPROPERTIESPropertyField", + "DBFILEPROPERTIESPropertyFieldTemplate", + "DBFILEPROPERTIESPropertyGroup", + "DBFILEPROPERTIESPropertyGroupUpdate", + "DBFILEPROPERTIESPropertyType", + "DBFILEPROPERTIESRemovePropertiesArg", + "DBFILEPROPERTIESRemovePropertiesError", + "DBFILEPROPERTIESRemoveTemplateArg", + "DBFILEPROPERTIESTemplateFilterBase", + "DBFILEPROPERTIESTemplateFilter", + "DBFILEPROPERTIESTemplateOwnerType", + "DBFILEPROPERTIESUpdatePropertiesArg", + "DBFILEPROPERTIESUpdatePropertiesError", + "DBFILEPROPERTIESUpdateTemplateArg", "DBFILEPROPERTIESUpdateTemplateResult" ] - }, + }, { - "name": "FileRequests", + "name": "FileRequests", "children": [ - "DBFILEREQUESTSCreateFileRequestArgs", - "DBFILEREQUESTSGeneralFileRequestsError", - "DBFILEREQUESTSFileRequestError", - "DBFILEREQUESTSCreateFileRequestError", - "DBFILEREQUESTSFileRequest", - "DBFILEREQUESTSFileRequestDeadline", - "DBFILEREQUESTSGetFileRequestArgs", - "DBFILEREQUESTSGetFileRequestError", - "DBFILEREQUESTSGracePeriod", - "DBFILEREQUESTSListFileRequestsError", - "DBFILEREQUESTSListFileRequestsResult", - "DBFILEREQUESTSUpdateFileRequestArgs", - "DBFILEREQUESTSUpdateFileRequestDeadline", + "DBFILEREQUESTSGeneralFileRequestsError", + "DBFILEREQUESTSCountFileRequestsError", + "DBFILEREQUESTSCountFileRequestsResult", + "DBFILEREQUESTSCreateFileRequestArgs", + "DBFILEREQUESTSFileRequestError", + "DBFILEREQUESTSCreateFileRequestError", + "DBFILEREQUESTSDeleteAllClosedFileRequestsError", + "DBFILEREQUESTSDeleteAllClosedFileRequestsResult", + "DBFILEREQUESTSDeleteFileRequestArgs", + "DBFILEREQUESTSDeleteFileRequestError", + "DBFILEREQUESTSDeleteFileRequestsResult", + "DBFILEREQUESTSFileRequest", + "DBFILEREQUESTSFileRequestDeadline", + "DBFILEREQUESTSGetFileRequestArgs", + "DBFILEREQUESTSGetFileRequestError", + "DBFILEREQUESTSGracePeriod", + "DBFILEREQUESTSListFileRequestsArg", + "DBFILEREQUESTSListFileRequestsContinueArg", + "DBFILEREQUESTSListFileRequestsContinueError", + "DBFILEREQUESTSListFileRequestsError", + "DBFILEREQUESTSListFileRequestsResult", + "DBFILEREQUESTSListFileRequestsV2Result", + "DBFILEREQUESTSUpdateFileRequestArgs", + "DBFILEREQUESTSUpdateFileRequestDeadline", "DBFILEREQUESTSUpdateFileRequestError" ] - }, + }, { - "name": "Files", + "name": "Files", "children": [ - "DBFILESGetMetadataArg", - "DBFILESAlphaGetMetadataArg", - "DBFILESGetMetadataError", - "DBFILESAlphaGetMetadataError", - "DBFILESCommitInfo", - "DBFILESCommitInfoWithProperties", - "DBFILESCreateFolderArg", - "DBFILESCreateFolderError", - "DBFILESFileOpsResult", - "DBFILESCreateFolderResult", - "DBFILESDeleteArg", - "DBFILESDeleteBatchArg", - "DBFILESDeleteBatchError", - "DBFILESDeleteBatchJobStatus", - "DBFILESDeleteBatchLaunch", - "DBFILESDeleteBatchResult", - "DBFILESDeleteBatchResultData", - "DBFILESDeleteBatchResultEntry", - "DBFILESDeleteError", - "DBFILESDeleteResult", - "DBFILESMetadata", - "DBFILESDeletedMetadata", - "DBFILESDimensions", - "DBFILESDownloadArg", - "DBFILESDownloadError", - "DBFILESFileMetadata", - "DBFILESSharingInfo", - "DBFILESFileSharingInfo", - "DBFILESFolderMetadata", - "DBFILESFolderSharingInfo", - "DBFILESGetCopyReferenceArg", - "DBFILESGetCopyReferenceError", - "DBFILESGetCopyReferenceResult", - "DBFILESGetTemporaryLinkArg", - "DBFILESGetTemporaryLinkError", - "DBFILESGetTemporaryLinkResult", - "DBFILESGetThumbnailBatchArg", - "DBFILESGetThumbnailBatchError", - "DBFILESGetThumbnailBatchResult", - "DBFILESGetThumbnailBatchResultData", - "DBFILESGetThumbnailBatchResultEntry", - "DBFILESGpsCoordinates", - "DBFILESListFolderArg", - "DBFILESListFolderContinueArg", - "DBFILESListFolderContinueError", - "DBFILESListFolderError", - "DBFILESListFolderGetLatestCursorResult", - "DBFILESListFolderLongpollArg", - "DBFILESListFolderLongpollError", - "DBFILESListFolderLongpollResult", - "DBFILESListFolderResult", - "DBFILESListRevisionsArg", - "DBFILESListRevisionsError", - "DBFILESListRevisionsMode", - "DBFILESListRevisionsResult", - "DBFILESLookupError", - "DBFILESMediaInfo", - "DBFILESMediaMetadata", - "DBFILESPhotoMetadata", - "DBFILESPreviewArg", - "DBFILESPreviewError", - "DBFILESRelocationPath", - "DBFILESRelocationArg", - "DBFILESRelocationBatchArg", - "DBFILESRelocationError", - "DBFILESRelocationBatchError", - "DBFILESRelocationBatchJobStatus", - "DBFILESRelocationBatchLaunch", - "DBFILESRelocationBatchResult", - "DBFILESRelocationBatchResultData", - "DBFILESRelocationResult", - "DBFILESRestoreArg", - "DBFILESRestoreError", - "DBFILESSaveCopyReferenceArg", - "DBFILESSaveCopyReferenceError", - "DBFILESSaveCopyReferenceResult", - "DBFILESSaveUrlArg", - "DBFILESSaveUrlError", - "DBFILESSaveUrlJobStatus", - "DBFILESSaveUrlResult", - "DBFILESSearchArg", - "DBFILESSearchError", - "DBFILESSearchMatch", - "DBFILESSearchMatchType", - "DBFILESSearchMode", - "DBFILESSearchResult", - "DBFILESSharedLink", - "DBFILESThumbnailArg", - "DBFILESThumbnailError", - "DBFILESThumbnailFormat", - "DBFILESThumbnailSize", - "DBFILESUploadError", - "DBFILESUploadErrorWithProperties", - "DBFILESUploadSessionAppendArg", - "DBFILESUploadSessionCursor", - "DBFILESUploadSessionFinishArg", - "DBFILESUploadSessionFinishBatchArg", - "DBFILESUploadSessionFinishBatchJobStatus", - "DBFILESUploadSessionFinishBatchLaunch", - "DBFILESUploadSessionFinishBatchResult", - "DBFILESUploadSessionFinishBatchResultEntry", - "DBFILESUploadSessionFinishError", - "DBFILESUploadSessionLookupError", - "DBFILESUploadSessionOffsetError", - "DBFILESUploadSessionStartArg", - "DBFILESUploadSessionStartResult", - "DBFILESUploadWriteFailed", - "DBFILESVideoMetadata", - "DBFILESWriteConflictError", - "DBFILESWriteError", + "DBFILESAddTagArg", + "DBFILESBaseTagError", + "DBFILESAddTagError", + "DBFILESGetMetadataArg", + "DBFILESAlphaGetMetadataArg", + "DBFILESGetMetadataError", + "DBFILESAlphaGetMetadataError", + "DBFILESCommitInfo", + "DBFILESContentSyncSetting", + "DBFILESContentSyncSettingArg", + "DBFILESCreateFolderArg", + "DBFILESCreateFolderBatchArg", + "DBFILESCreateFolderBatchError", + "DBFILESCreateFolderBatchJobStatus", + "DBFILESCreateFolderBatchLaunch", + "DBFILESFileOpsResult", + "DBFILESCreateFolderBatchResult", + "DBFILESCreateFolderBatchResultEntry", + "DBFILESCreateFolderEntryError", + "DBFILESCreateFolderEntryResult", + "DBFILESCreateFolderError", + "DBFILESCreateFolderResult", + "DBFILESDeleteArg", + "DBFILESDeleteBatchArg", + "DBFILESDeleteBatchError", + "DBFILESDeleteBatchJobStatus", + "DBFILESDeleteBatchLaunch", + "DBFILESDeleteBatchResult", + "DBFILESDeleteBatchResultData", + "DBFILESDeleteBatchResultEntry", + "DBFILESDeleteError", + "DBFILESDeleteResult", + "DBFILESMetadata", + "DBFILESDeletedMetadata", + "DBFILESDimensions", + "DBFILESDownloadArg", + "DBFILESDownloadError", + "DBFILESDownloadZipArg", + "DBFILESDownloadZipError", + "DBFILESDownloadZipResult", + "DBFILESExportArg", + "DBFILESExportError", + "DBFILESExportInfo", + "DBFILESExportMetadata", + "DBFILESExportResult", + "DBFILESFileCategory", + "DBFILESFileLock", + "DBFILESFileLockContent", + "DBFILESFileLockMetadata", + "DBFILESFileMetadata", + "DBFILESSharingInfo", + "DBFILESFileSharingInfo", + "DBFILESFileStatus", + "DBFILESFolderMetadata", + "DBFILESFolderSharingInfo", + "DBFILESGetCopyReferenceArg", + "DBFILESGetCopyReferenceError", + "DBFILESGetCopyReferenceResult", + "DBFILESGetTagsArg", + "DBFILESGetTagsResult", + "DBFILESGetTemporaryLinkArg", + "DBFILESGetTemporaryLinkError", + "DBFILESGetTemporaryLinkResult", + "DBFILESGetTemporaryUploadLinkArg", + "DBFILESGetTemporaryUploadLinkResult", + "DBFILESGetThumbnailBatchArg", + "DBFILESGetThumbnailBatchError", + "DBFILESGetThumbnailBatchResult", + "DBFILESGetThumbnailBatchResultData", + "DBFILESGetThumbnailBatchResultEntry", + "DBFILESGpsCoordinates", + "DBFILESHighlightSpan", + "DBFILESImportFormat", + "DBFILESListFolderArg", + "DBFILESListFolderContinueArg", + "DBFILESListFolderContinueError", + "DBFILESListFolderError", + "DBFILESListFolderGetLatestCursorResult", + "DBFILESListFolderLongpollArg", + "DBFILESListFolderLongpollError", + "DBFILESListFolderLongpollResult", + "DBFILESListFolderResult", + "DBFILESListRevisionsArg", + "DBFILESListRevisionsError", + "DBFILESListRevisionsMode", + "DBFILESListRevisionsResult", + "DBFILESLockConflictError", + "DBFILESLockFileArg", + "DBFILESLockFileBatchArg", + "DBFILESLockFileBatchResult", + "DBFILESLockFileError", + "DBFILESLockFileResult", + "DBFILESLockFileResultEntry", + "DBFILESLookupError", + "DBFILESMediaInfo", + "DBFILESMediaMetadata", + "DBFILESMetadataV2", + "DBFILESMinimalFileLinkMetadata", + "DBFILESRelocationBatchArgBase", + "DBFILESMoveBatchArg", + "DBFILESMoveIntoFamilyError", + "DBFILESMoveIntoVaultError", + "DBFILESPaperContentError", + "DBFILESPaperCreateArg", + "DBFILESPaperCreateError", + "DBFILESPaperCreateResult", + "DBFILESPaperDocUpdatePolicy", + "DBFILESPaperUpdateArg", + "DBFILESPaperUpdateError", + "DBFILESPaperUpdateResult", + "DBFILESPathOrLink", + "DBFILESPathToTags", + "DBFILESPhotoMetadata", + "DBFILESPreviewArg", + "DBFILESPreviewError", + "DBFILESPreviewResult", + "DBFILESRelocationPath", + "DBFILESRelocationArg", + "DBFILESRelocationBatchArg", + "DBFILESRelocationError", + "DBFILESRelocationBatchError", + "DBFILESRelocationBatchErrorEntry", + "DBFILESRelocationBatchJobStatus", + "DBFILESRelocationBatchLaunch", + "DBFILESRelocationBatchResult", + "DBFILESRelocationBatchResultData", + "DBFILESRelocationBatchResultEntry", + "DBFILESRelocationBatchV2JobStatus", + "DBFILESRelocationBatchV2Launch", + "DBFILESRelocationBatchV2Result", + "DBFILESRelocationResult", + "DBFILESRemoveTagArg", + "DBFILESRemoveTagError", + "DBFILESRestoreArg", + "DBFILESRestoreError", + "DBFILESSaveCopyReferenceArg", + "DBFILESSaveCopyReferenceError", + "DBFILESSaveCopyReferenceResult", + "DBFILESSaveUrlArg", + "DBFILESSaveUrlError", + "DBFILESSaveUrlJobStatus", + "DBFILESSaveUrlResult", + "DBFILESSearchArg", + "DBFILESSearchError", + "DBFILESSearchMatch", + "DBFILESSearchMatchFieldOptions", + "DBFILESSearchMatchType", + "DBFILESSearchMatchTypeV2", + "DBFILESSearchMatchV2", + "DBFILESSearchMode", + "DBFILESSearchOptions", + "DBFILESSearchOrderBy", + "DBFILESSearchResult", + "DBFILESSearchV2Arg", + "DBFILESSearchV2ContinueArg", + "DBFILESSearchV2Result", + "DBFILESSharedLink", + "DBFILESSharedLinkFileInfo", + "DBFILESSingleUserLock", + "DBFILESSymlinkInfo", + "DBFILESSyncSetting", + "DBFILESSyncSettingArg", + "DBFILESSyncSettingsError", + "DBFILESTag", + "DBFILESThumbnailArg", + "DBFILESThumbnailError", + "DBFILESThumbnailFormat", + "DBFILESThumbnailMode", + "DBFILESThumbnailSize", + "DBFILESThumbnailV2Arg", + "DBFILESThumbnailV2Error", + "DBFILESUnlockFileArg", + "DBFILESUnlockFileBatchArg", + "DBFILESUploadArg", + "DBFILESUploadError", + "DBFILESUploadSessionAppendArg", + "DBFILESUploadSessionLookupError", + "DBFILESUploadSessionAppendError", + "DBFILESUploadSessionCursor", + "DBFILESUploadSessionFinishArg", + "DBFILESUploadSessionFinishBatchArg", + "DBFILESUploadSessionFinishBatchJobStatus", + "DBFILESUploadSessionFinishBatchLaunch", + "DBFILESUploadSessionFinishBatchResult", + "DBFILESUploadSessionFinishBatchResultEntry", + "DBFILESUploadSessionFinishError", + "DBFILESUploadSessionOffsetError", + "DBFILESUploadSessionStartArg", + "DBFILESUploadSessionStartBatchArg", + "DBFILESUploadSessionStartBatchResult", + "DBFILESUploadSessionStartError", + "DBFILESUploadSessionStartResult", + "DBFILESUploadSessionType", + "DBFILESUploadWriteFailed", + "DBFILESUserGeneratedTag", + "DBFILESVideoMetadata", + "DBFILESWriteConflictError", + "DBFILESWriteError", "DBFILESWriteMode" ] - }, + }, { - "name": "Paper", + "name": "Openid", "children": [ - "DBPAPERAddMember", - "DBPAPERRefPaperDoc", - "DBPAPERAddPaperDocUser", - "DBPAPERAddPaperDocUserMemberResult", - "DBPAPERAddPaperDocUserResult", - "DBPAPERCursor", - "DBPAPERPaperApiBaseError", - "DBPAPERDocLookupError", - "DBPAPERDocSubscriptionLevel", - "DBPAPERExportFormat", - "DBPAPERFolder", - "DBPAPERFolderSharingPolicyType", - "DBPAPERFolderSubscriptionLevel", - "DBPAPERFoldersContainingPaperDoc", - "DBPAPERImportFormat", - "DBPAPERInviteeInfoWithPermissionLevel", - "DBPAPERListDocsCursorError", - "DBPAPERListPaperDocsArgs", - "DBPAPERListPaperDocsContinueArgs", - "DBPAPERListPaperDocsFilterBy", - "DBPAPERListPaperDocsResponse", - "DBPAPERListPaperDocsSortBy", - "DBPAPERListPaperDocsSortOrder", - "DBPAPERListUsersCursorError", - "DBPAPERListUsersOnFolderArgs", - "DBPAPERListUsersOnFolderContinueArgs", - "DBPAPERListUsersOnFolderResponse", - "DBPAPERListUsersOnPaperDocArgs", - "DBPAPERListUsersOnPaperDocContinueArgs", - "DBPAPERListUsersOnPaperDocResponse", - "DBPAPERPaperApiCursorError", - "DBPAPERPaperDocCreateArgs", - "DBPAPERPaperDocCreateError", - "DBPAPERPaperDocCreateUpdateResult", - "DBPAPERPaperDocExport", - "DBPAPERPaperDocExportResult", - "DBPAPERPaperDocPermissionLevel", - "DBPAPERPaperDocSharingPolicy", - "DBPAPERPaperDocUpdateArgs", - "DBPAPERPaperDocUpdateError", - "DBPAPERPaperDocUpdatePolicy", - "DBPAPERRemovePaperDocUser", - "DBPAPERSharingPolicy", - "DBPAPERSharingTeamPolicyType", - "DBPAPERSharingPublicPolicyType", - "DBPAPERUserInfoWithPermissionLevel", + "DBOPENIDOpenIdError", + "DBOPENIDUserInfoArgs", + "DBOPENIDUserInfoError", + "DBOPENIDUserInfoResult" + ] + }, + { + "name": "Paper", + "children": [ + "DBPAPERAddMember", + "DBPAPERRefPaperDoc", + "DBPAPERAddPaperDocUser", + "DBPAPERAddPaperDocUserMemberResult", + "DBPAPERAddPaperDocUserResult", + "DBPAPERCursor", + "DBPAPERPaperApiBaseError", + "DBPAPERDocLookupError", + "DBPAPERDocSubscriptionLevel", + "DBPAPERExportFormat", + "DBPAPERFolder", + "DBPAPERFolderSharingPolicyType", + "DBPAPERFolderSubscriptionLevel", + "DBPAPERFoldersContainingPaperDoc", + "DBPAPERImportFormat", + "DBPAPERInviteeInfoWithPermissionLevel", + "DBPAPERListDocsCursorError", + "DBPAPERListPaperDocsArgs", + "DBPAPERListPaperDocsContinueArgs", + "DBPAPERListPaperDocsFilterBy", + "DBPAPERListPaperDocsResponse", + "DBPAPERListPaperDocsSortBy", + "DBPAPERListPaperDocsSortOrder", + "DBPAPERListUsersCursorError", + "DBPAPERListUsersOnFolderArgs", + "DBPAPERListUsersOnFolderContinueArgs", + "DBPAPERListUsersOnFolderResponse", + "DBPAPERListUsersOnPaperDocArgs", + "DBPAPERListUsersOnPaperDocContinueArgs", + "DBPAPERListUsersOnPaperDocResponse", + "DBPAPERPaperApiCursorError", + "DBPAPERPaperDocCreateArgs", + "DBPAPERPaperDocCreateError", + "DBPAPERPaperDocCreateUpdateResult", + "DBPAPERPaperDocExport", + "DBPAPERPaperDocExportResult", + "DBPAPERPaperDocPermissionLevel", + "DBPAPERPaperDocSharingPolicy", + "DBPAPERPaperDocUpdateArgs", + "DBPAPERPaperDocUpdateError", + "DBPAPERPaperDocUpdatePolicy", + "DBPAPERPaperFolderCreateArg", + "DBPAPERPaperFolderCreateError", + "DBPAPERPaperFolderCreateResult", + "DBPAPERRemovePaperDocUser", + "DBPAPERSharingPolicy", + "DBPAPERSharingTeamPolicyType", + "DBPAPERSharingPublicPolicyType", + "DBPAPERUserInfoWithPermissionLevel", "DBPAPERUserOnPaperDocFilter" ] - }, + }, + { + "name": "SecondaryEmails", + "children": [ + "DBSECONDARYEMAILSSecondaryEmail" + ] + }, + { + "name": "SeenState", + "children": [ + "DBSEENSTATEPlatformType" + ] + }, { - "name": "Sharing", + "name": "Sharing", "children": [ - "DBSHARINGAccessLevel", - "DBSHARINGAclUpdatePolicy", - "DBSHARINGAddFileMemberArgs", - "DBSHARINGAddFileMemberError", - "DBSHARINGAddFolderMemberArg", - "DBSHARINGAddFolderMemberError", - "DBSHARINGAddMember", - "DBSHARINGAddMemberSelectorError", - "DBSHARINGAudienceExceptionContentInfo", - "DBSHARINGAudienceExceptions", - "DBSHARINGAudienceRestrictingSharedFolder", - "DBSHARINGChangeFileMemberAccessArgs", - "DBSHARINGLinkMetadata", - "DBSHARINGCollectionLinkMetadata", - "DBSHARINGCreateSharedLinkArg", - "DBSHARINGCreateSharedLinkError", - "DBSHARINGCreateSharedLinkWithSettingsArg", - "DBSHARINGCreateSharedLinkWithSettingsError", - "DBSHARINGSharedContentLinkMetadataBase", - "DBSHARINGExpectedSharedContentLinkMetadata", - "DBSHARINGFileAction", - "DBSHARINGFileErrorResult", - "DBSHARINGSharedLinkMetadata", - "DBSHARINGFileLinkMetadata", - "DBSHARINGFileMemberActionError", - "DBSHARINGFileMemberActionIndividualResult", - "DBSHARINGFileMemberActionResult", - "DBSHARINGFileMemberRemoveActionResult", - "DBSHARINGFilePermission", - "DBSHARINGFolderAction", - "DBSHARINGFolderLinkMetadata", - "DBSHARINGFolderPermission", - "DBSHARINGFolderPolicy", - "DBSHARINGGetFileMetadataArg", - "DBSHARINGGetFileMetadataBatchArg", - "DBSHARINGGetFileMetadataBatchResult", - "DBSHARINGGetFileMetadataError", - "DBSHARINGGetFileMetadataIndividualResult", - "DBSHARINGGetMetadataArgs", - "DBSHARINGSharedLinkError", - "DBSHARINGGetSharedLinkFileError", - "DBSHARINGGetSharedLinkMetadataArg", - "DBSHARINGGetSharedLinksArg", - "DBSHARINGGetSharedLinksError", - "DBSHARINGGetSharedLinksResult", - "DBSHARINGGroupInfo", - "DBSHARINGMembershipInfo", - "DBSHARINGGroupMembershipInfo", - "DBSHARINGInsufficientPlan", - "DBSHARINGInsufficientQuotaAmounts", - "DBSHARINGInviteeInfo", - "DBSHARINGInviteeMembershipInfo", - "DBSHARINGJobError", - "DBSHARINGJobStatus", - "DBSHARINGLinkAction", - "DBSHARINGLinkAudience", - "DBSHARINGLinkExpiry", - "DBSHARINGLinkPassword", - "DBSHARINGLinkPermission", - "DBSHARINGLinkPermissions", - "DBSHARINGLinkSettings", - "DBSHARINGListFileMembersArg", - "DBSHARINGListFileMembersBatchArg", - "DBSHARINGListFileMembersBatchResult", - "DBSHARINGListFileMembersContinueArg", - "DBSHARINGListFileMembersContinueError", - "DBSHARINGListFileMembersCountResult", - "DBSHARINGListFileMembersError", - "DBSHARINGListFileMembersIndividualResult", - "DBSHARINGListFilesArg", - "DBSHARINGListFilesContinueArg", - "DBSHARINGListFilesContinueError", - "DBSHARINGListFilesResult", - "DBSHARINGListFolderMembersCursorArg", - "DBSHARINGListFolderMembersArgs", - "DBSHARINGListFolderMembersContinueArg", - "DBSHARINGListFolderMembersContinueError", - "DBSHARINGListFoldersArgs", - "DBSHARINGListFoldersContinueArg", - "DBSHARINGListFoldersContinueError", - "DBSHARINGListFoldersResult", - "DBSHARINGListSharedLinksArg", - "DBSHARINGListSharedLinksError", - "DBSHARINGListSharedLinksResult", - "DBSHARINGMemberAccessLevelResult", - "DBSHARINGMemberAction", - "DBSHARINGMemberPermission", - "DBSHARINGMemberPolicy", - "DBSHARINGMemberSelector", - "DBSHARINGModifySharedLinkSettingsArgs", - "DBSHARINGModifySharedLinkSettingsError", - "DBSHARINGMountFolderArg", - "DBSHARINGMountFolderError", - "DBSHARINGParentFolderAccessInfo", - "DBSHARINGPathLinkMetadata", - "DBSHARINGPendingUploadMode", - "DBSHARINGPermissionDeniedReason", - "DBSHARINGRelinquishFileMembershipArg", - "DBSHARINGRelinquishFileMembershipError", - "DBSHARINGRelinquishFolderMembershipArg", - "DBSHARINGRelinquishFolderMembershipError", - "DBSHARINGRemoveFileMemberArg", - "DBSHARINGRemoveFileMemberError", - "DBSHARINGRemoveFolderMemberArg", - "DBSHARINGRemoveFolderMemberError", - "DBSHARINGRemoveMemberJobStatus", - "DBSHARINGRequestedVisibility", - "DBSHARINGResolvedVisibility", - "DBSHARINGRevokeSharedLinkArg", - "DBSHARINGRevokeSharedLinkError", - "DBSHARINGShareFolderArgBase", - "DBSHARINGShareFolderArg", - "DBSHARINGShareFolderErrorBase", - "DBSHARINGShareFolderError", - "DBSHARINGShareFolderJobStatus", - "DBSHARINGShareFolderLaunch", - "DBSHARINGSharePathError", - "DBSHARINGSharedContentLinkMetadata", - "DBSHARINGSharedFileMembers", - "DBSHARINGSharedFileMetadata", - "DBSHARINGSharedFolderAccessError", - "DBSHARINGSharedFolderMemberError", - "DBSHARINGSharedFolderMembers", - "DBSHARINGSharedFolderMetadataBase", - "DBSHARINGSharedFolderMetadata", - "DBSHARINGSharedLinkAccessFailureReason", - "DBSHARINGSharedLinkPolicy", - "DBSHARINGSharedLinkSettings", - "DBSHARINGSharedLinkSettingsError", - "DBSHARINGSharingFileAccessError", - "DBSHARINGSharingUserError", - "DBSHARINGTeamMemberInfo", - "DBSHARINGTransferFolderArg", - "DBSHARINGTransferFolderError", - "DBSHARINGUnmountFolderArg", - "DBSHARINGUnmountFolderError", - "DBSHARINGUnshareFileArg", - "DBSHARINGUnshareFileError", - "DBSHARINGUnshareFolderArg", - "DBSHARINGUnshareFolderError", - "DBSHARINGUpdateFileMemberArgs", - "DBSHARINGUpdateFolderMemberArg", - "DBSHARINGUpdateFolderMemberError", - "DBSHARINGUpdateFolderPolicyArg", - "DBSHARINGUpdateFolderPolicyError", - "DBSHARINGUserMembershipInfo", - "DBSHARINGUserFileMembershipInfo", - "DBSHARINGUserInfo", - "DBSHARINGViewerInfoPolicy", - "DBSHARINGVisibility" + "DBSHARINGAccessInheritance", + "DBSHARINGAccessLevel", + "DBSHARINGAclUpdatePolicy", + "DBSHARINGAddFileMemberArgs", + "DBSHARINGAddFileMemberError", + "DBSHARINGAddFolderMemberArg", + "DBSHARINGAddFolderMemberError", + "DBSHARINGAddMember", + "DBSHARINGAddMemberSelectorError", + "DBSHARINGRequestedVisibility", + "DBSHARINGResolvedVisibility", + "DBSHARINGAlphaResolvedVisibility", + "DBSHARINGAudienceExceptionContentInfo", + "DBSHARINGAudienceExceptions", + "DBSHARINGAudienceRestrictingSharedFolder", + "DBSHARINGLinkMetadata", + "DBSHARINGCollectionLinkMetadata", + "DBSHARINGCreateSharedLinkArg", + "DBSHARINGCreateSharedLinkError", + "DBSHARINGCreateSharedLinkWithSettingsArg", + "DBSHARINGCreateSharedLinkWithSettingsError", + "DBSHARINGSharedContentLinkMetadataBase", + "DBSHARINGExpectedSharedContentLinkMetadata", + "DBSHARINGFileAction", + "DBSHARINGFileErrorResult", + "DBSHARINGSharedLinkMetadata", + "DBSHARINGFileLinkMetadata", + "DBSHARINGFileMemberActionError", + "DBSHARINGFileMemberActionIndividualResult", + "DBSHARINGFileMemberActionResult", + "DBSHARINGFileMemberRemoveActionResult", + "DBSHARINGFilePermission", + "DBSHARINGFolderAction", + "DBSHARINGFolderLinkMetadata", + "DBSHARINGFolderPermission", + "DBSHARINGFolderPolicy", + "DBSHARINGGetFileMetadataArg", + "DBSHARINGGetFileMetadataBatchArg", + "DBSHARINGGetFileMetadataBatchResult", + "DBSHARINGGetFileMetadataError", + "DBSHARINGGetFileMetadataIndividualResult", + "DBSHARINGGetMetadataArgs", + "DBSHARINGSharedLinkError", + "DBSHARINGGetSharedLinkFileError", + "DBSHARINGGetSharedLinkMetadataArg", + "DBSHARINGGetSharedLinksArg", + "DBSHARINGGetSharedLinksError", + "DBSHARINGGetSharedLinksResult", + "DBSHARINGGroupInfo", + "DBSHARINGMembershipInfo", + "DBSHARINGGroupMembershipInfo", + "DBSHARINGInsufficientPlan", + "DBSHARINGInsufficientQuotaAmounts", + "DBSHARINGInviteeInfo", + "DBSHARINGInviteeMembershipInfo", + "DBSHARINGJobError", + "DBSHARINGJobStatus", + "DBSHARINGLinkAccessLevel", + "DBSHARINGLinkAction", + "DBSHARINGLinkAudience", + "DBSHARINGVisibilityPolicyDisallowedReason", + "DBSHARINGLinkAudienceDisallowedReason", + "DBSHARINGLinkAudienceOption", + "DBSHARINGLinkExpiry", + "DBSHARINGLinkPassword", + "DBSHARINGLinkPermission", + "DBSHARINGLinkPermissions", + "DBSHARINGLinkSettings", + "DBSHARINGListFileMembersArg", + "DBSHARINGListFileMembersBatchArg", + "DBSHARINGListFileMembersBatchResult", + "DBSHARINGListFileMembersContinueArg", + "DBSHARINGListFileMembersContinueError", + "DBSHARINGListFileMembersCountResult", + "DBSHARINGListFileMembersError", + "DBSHARINGListFileMembersIndividualResult", + "DBSHARINGListFilesArg", + "DBSHARINGListFilesContinueArg", + "DBSHARINGListFilesContinueError", + "DBSHARINGListFilesResult", + "DBSHARINGListFolderMembersCursorArg", + "DBSHARINGListFolderMembersArgs", + "DBSHARINGListFolderMembersContinueArg", + "DBSHARINGListFolderMembersContinueError", + "DBSHARINGListFoldersArgs", + "DBSHARINGListFoldersContinueArg", + "DBSHARINGListFoldersContinueError", + "DBSHARINGListFoldersResult", + "DBSHARINGListSharedLinksArg", + "DBSHARINGListSharedLinksError", + "DBSHARINGListSharedLinksResult", + "DBSHARINGMemberAccessLevelResult", + "DBSHARINGMemberAction", + "DBSHARINGMemberPermission", + "DBSHARINGMemberPolicy", + "DBSHARINGMemberSelector", + "DBSHARINGModifySharedLinkSettingsArgs", + "DBSHARINGModifySharedLinkSettingsError", + "DBSHARINGMountFolderArg", + "DBSHARINGMountFolderError", + "DBSHARINGParentFolderAccessInfo", + "DBSHARINGPathLinkMetadata", + "DBSHARINGPendingUploadMode", + "DBSHARINGPermissionDeniedReason", + "DBSHARINGRelinquishFileMembershipArg", + "DBSHARINGRelinquishFileMembershipError", + "DBSHARINGRelinquishFolderMembershipArg", + "DBSHARINGRelinquishFolderMembershipError", + "DBSHARINGRemoveFileMemberArg", + "DBSHARINGRemoveFileMemberError", + "DBSHARINGRemoveFolderMemberArg", + "DBSHARINGRemoveFolderMemberError", + "DBSHARINGRemoveMemberJobStatus", + "DBSHARINGRequestedLinkAccessLevel", + "DBSHARINGRevokeSharedLinkArg", + "DBSHARINGRevokeSharedLinkError", + "DBSHARINGSetAccessInheritanceArg", + "DBSHARINGSetAccessInheritanceError", + "DBSHARINGShareFolderArgBase", + "DBSHARINGShareFolderArg", + "DBSHARINGShareFolderErrorBase", + "DBSHARINGShareFolderError", + "DBSHARINGShareFolderJobStatus", + "DBSHARINGShareFolderLaunch", + "DBSHARINGSharePathError", + "DBSHARINGSharedContentLinkMetadata", + "DBSHARINGSharedFileMembers", + "DBSHARINGSharedFileMetadata", + "DBSHARINGSharedFolderAccessError", + "DBSHARINGSharedFolderMemberError", + "DBSHARINGSharedFolderMembers", + "DBSHARINGSharedFolderMetadataBase", + "DBSHARINGSharedFolderMetadata", + "DBSHARINGSharedLinkAccessFailureReason", + "DBSHARINGSharedLinkAlreadyExistsMetadata", + "DBSHARINGSharedLinkPolicy", + "DBSHARINGSharedLinkSettings", + "DBSHARINGSharedLinkSettingsError", + "DBSHARINGSharingFileAccessError", + "DBSHARINGSharingUserError", + "DBSHARINGTeamMemberInfo", + "DBSHARINGTransferFolderArg", + "DBSHARINGTransferFolderError", + "DBSHARINGUnmountFolderArg", + "DBSHARINGUnmountFolderError", + "DBSHARINGUnshareFileArg", + "DBSHARINGUnshareFileError", + "DBSHARINGUnshareFolderArg", + "DBSHARINGUnshareFolderError", + "DBSHARINGUpdateFileMemberArgs", + "DBSHARINGUpdateFolderMemberArg", + "DBSHARINGUpdateFolderMemberError", + "DBSHARINGUpdateFolderPolicyArg", + "DBSHARINGUpdateFolderPolicyError", + "DBSHARINGUserMembershipInfo", + "DBSHARINGUserFileMembershipInfo", + "DBSHARINGUserInfo", + "DBSHARINGViewerInfoPolicy", + "DBSHARINGVisibility", + "DBSHARINGVisibilityPolicy" ] - }, + }, { - "name": "Team", + "name": "Team", "children": [ - "DBTEAMDeviceSession", - "DBTEAMActiveWebSession", - "DBTEAMAdminTier", - "DBTEAMApiApp", - "DBTEAMBaseDfbReport", - "DBTEAMBaseTeamFolderError", - "DBTEAMCustomQuotaError", - "DBTEAMCustomQuotaResult", - "DBTEAMCustomQuotaUsersArg", - "DBTEAMDateRange", - "DBTEAMDateRangeError", - "DBTEAMDesktopClientSession", - "DBTEAMDesktopPlatform", - "DBTEAMDeviceSessionArg", - "DBTEAMDevicesActive", - "DBTEAMExcludedUsersListArg", - "DBTEAMExcludedUsersListContinueArg", - "DBTEAMExcludedUsersListContinueError", - "DBTEAMExcludedUsersListError", - "DBTEAMExcludedUsersListResult", - "DBTEAMExcludedUsersUpdateArg", - "DBTEAMExcludedUsersUpdateError", - "DBTEAMExcludedUsersUpdateResult", - "DBTEAMExcludedUsersUpdateStatus", - "DBTEAMFeature", - "DBTEAMFeatureValue", - "DBTEAMFeaturesGetValuesBatchArg", - "DBTEAMFeaturesGetValuesBatchError", - "DBTEAMFeaturesGetValuesBatchResult", - "DBTEAMGetActivityReport", - "DBTEAMGetDevicesReport", - "DBTEAMGetMembershipReport", - "DBTEAMGetStorageReport", - "DBTEAMGroupAccessType", - "DBTEAMGroupCreateArg", - "DBTEAMGroupCreateError", - "DBTEAMGroupSelectorError", - "DBTEAMGroupSelectorWithTeamGroupError", - "DBTEAMGroupDeleteError", - "DBTEAMGroupFullInfo", - "DBTEAMGroupMemberInfo", - "DBTEAMGroupMemberSelector", - "DBTEAMGroupMemberSelectorError", - "DBTEAMGroupMemberSetAccessTypeError", - "DBTEAMIncludeMembersArg", - "DBTEAMGroupMembersAddArg", - "DBTEAMGroupMembersAddError", - "DBTEAMGroupMembersChangeResult", - "DBTEAMGroupMembersRemoveArg", - "DBTEAMGroupMembersSelectorError", - "DBTEAMGroupMembersRemoveError", - "DBTEAMGroupMembersSelector", - "DBTEAMGroupMembersSetAccessTypeArg", - "DBTEAMGroupSelector", - "DBTEAMGroupUpdateArgs", - "DBTEAMGroupUpdateError", - "DBTEAMGroupsGetInfoError", - "DBTEAMGroupsGetInfoItem", - "DBTEAMGroupsListArg", - "DBTEAMGroupsListContinueArg", - "DBTEAMGroupsListContinueError", - "DBTEAMGroupsListResult", - "DBTEAMGroupsMembersListArg", - "DBTEAMGroupsMembersListContinueArg", - "DBTEAMGroupsMembersListContinueError", - "DBTEAMGroupsMembersListResult", - "DBTEAMGroupsPollError", - "DBTEAMGroupsSelector", - "DBTEAMHasTeamFileEventsValue", - "DBTEAMHasTeamSharedDropboxValue", - "DBTEAMListMemberAppsArg", - "DBTEAMListMemberAppsError", - "DBTEAMListMemberAppsResult", - "DBTEAMListMemberDevicesArg", - "DBTEAMListMemberDevicesError", - "DBTEAMListMemberDevicesResult", - "DBTEAMListMembersAppsArg", - "DBTEAMListMembersAppsError", - "DBTEAMListMembersAppsResult", - "DBTEAMListMembersDevicesArg", - "DBTEAMListMembersDevicesError", - "DBTEAMListMembersDevicesResult", - "DBTEAMListTeamAppsArg", - "DBTEAMListTeamAppsError", - "DBTEAMListTeamAppsResult", - "DBTEAMListTeamDevicesArg", - "DBTEAMListTeamDevicesError", - "DBTEAMListTeamDevicesResult", - "DBTEAMMemberAccess", - "DBTEAMMemberAddArg", - "DBTEAMMemberAddResult", - "DBTEAMMemberDevices", - "DBTEAMMemberLinkedApps", - "DBTEAMMemberProfile", - "DBTEAMUserSelectorError", - "DBTEAMMemberSelectorError", - "DBTEAMMembersAddArg", - "DBTEAMMembersAddJobStatus", - "DBTEAMMembersAddLaunch", - "DBTEAMMembersDeactivateArg", - "DBTEAMMembersDeactivateError", - "DBTEAMMembersGetInfoArgs", - "DBTEAMMembersGetInfoError", - "DBTEAMMembersGetInfoItem", - "DBTEAMMembersListArg", - "DBTEAMMembersListContinueArg", - "DBTEAMMembersListContinueError", - "DBTEAMMembersListError", - "DBTEAMMembersListResult", - "DBTEAMMembersRecoverArg", - "DBTEAMMembersRecoverError", - "DBTEAMMembersRemoveArg", - "DBTEAMMembersRemoveError", - "DBTEAMMembersSendWelcomeError", - "DBTEAMMembersSetPermissionsArg", - "DBTEAMMembersSetPermissionsError", - "DBTEAMMembersSetPermissionsResult", - "DBTEAMMembersSetProfileArg", - "DBTEAMMembersSetProfileError", - "DBTEAMMembersSuspendError", - "DBTEAMMembersUnsuspendArg", - "DBTEAMMembersUnsuspendError", - "DBTEAMMobileClientPlatform", - "DBTEAMMobileClientSession", - "DBTEAMNamespaceMetadata", - "DBTEAMNamespaceType", - "DBTEAMRemoveCustomQuotaResult", - "DBTEAMRemovedStatus", - "DBTEAMRevokeDesktopClientArg", - "DBTEAMRevokeDeviceSessionArg", - "DBTEAMRevokeDeviceSessionBatchArg", - "DBTEAMRevokeDeviceSessionBatchError", - "DBTEAMRevokeDeviceSessionBatchResult", - "DBTEAMRevokeDeviceSessionError", - "DBTEAMRevokeDeviceSessionStatus", - "DBTEAMRevokeLinkedApiAppArg", - "DBTEAMRevokeLinkedApiAppBatchArg", - "DBTEAMRevokeLinkedAppBatchError", - "DBTEAMRevokeLinkedAppBatchResult", - "DBTEAMRevokeLinkedAppError", - "DBTEAMRevokeLinkedAppStatus", - "DBTEAMSetCustomQuotaArg", - "DBTEAMSetCustomQuotaError", - "DBTEAMStorageBucket", - "DBTEAMTeamFolderAccessError", - "DBTEAMTeamFolderActivateError", - "DBTEAMTeamFolderIdArg", - "DBTEAMTeamFolderArchiveArg", - "DBTEAMTeamFolderArchiveError", - "DBTEAMTeamFolderArchiveJobStatus", - "DBTEAMTeamFolderArchiveLaunch", - "DBTEAMTeamFolderCreateArg", - "DBTEAMTeamFolderCreateError", - "DBTEAMTeamFolderGetInfoItem", - "DBTEAMTeamFolderIdListArg", - "DBTEAMTeamFolderInvalidStatusError", - "DBTEAMTeamFolderListArg", - "DBTEAMTeamFolderListContinueArg", - "DBTEAMTeamFolderListContinueError", - "DBTEAMTeamFolderListError", - "DBTEAMTeamFolderListResult", - "DBTEAMTeamFolderMetadata", - "DBTEAMTeamFolderPermanentlyDeleteError", - "DBTEAMTeamFolderRenameArg", - "DBTEAMTeamFolderRenameError", - "DBTEAMTeamFolderStatus", - "DBTEAMTeamFolderTeamSharedDropboxError", - "DBTEAMTeamGetInfoResult", - "DBTEAMTeamMemberInfo", - "DBTEAMTeamMemberProfile", - "DBTEAMTeamMemberStatus", - "DBTEAMTeamMembershipType", - "DBTEAMTeamNamespacesListArg", - "DBTEAMTeamNamespacesListContinueArg", - "DBTEAMTeamNamespacesListContinueError", - "DBTEAMTeamNamespacesListResult", - "DBTEAMTokenGetAuthenticatedAdminError", - "DBTEAMTokenGetAuthenticatedAdminResult", - "DBTEAMUploadApiRateLimitValue", - "DBTEAMUserCustomQuotaArg", - "DBTEAMUserCustomQuotaResult", - "DBTEAMUserSelectorArg", + "DBTEAMDeviceSession", + "DBTEAMActiveWebSession", + "DBTEAMAddSecondaryEmailResult", + "DBTEAMAddSecondaryEmailsArg", + "DBTEAMAddSecondaryEmailsError", + "DBTEAMAddSecondaryEmailsResult", + "DBTEAMAdminTier", + "DBTEAMApiApp", + "DBTEAMBaseDfbReport", + "DBTEAMBaseTeamFolderError", + "DBTEAMCustomQuotaError", + "DBTEAMCustomQuotaResult", + "DBTEAMCustomQuotaUsersArg", + "DBTEAMDateRange", + "DBTEAMDateRangeError", + "DBTEAMDeleteSecondaryEmailResult", + "DBTEAMDeleteSecondaryEmailsArg", + "DBTEAMDeleteSecondaryEmailsResult", + "DBTEAMDesktopClientSession", + "DBTEAMDesktopPlatform", + "DBTEAMDeviceSessionArg", + "DBTEAMDevicesActive", + "DBTEAMExcludedUsersListArg", + "DBTEAMExcludedUsersListContinueArg", + "DBTEAMExcludedUsersListContinueError", + "DBTEAMExcludedUsersListError", + "DBTEAMExcludedUsersListResult", + "DBTEAMExcludedUsersUpdateArg", + "DBTEAMExcludedUsersUpdateError", + "DBTEAMExcludedUsersUpdateResult", + "DBTEAMExcludedUsersUpdateStatus", + "DBTEAMFeature", + "DBTEAMFeatureValue", + "DBTEAMFeaturesGetValuesBatchArg", + "DBTEAMFeaturesGetValuesBatchError", + "DBTEAMFeaturesGetValuesBatchResult", + "DBTEAMGetActivityReport", + "DBTEAMGetDevicesReport", + "DBTEAMGetMembershipReport", + "DBTEAMGetStorageReport", + "DBTEAMGroupAccessType", + "DBTEAMGroupCreateArg", + "DBTEAMGroupCreateError", + "DBTEAMGroupSelectorError", + "DBTEAMGroupSelectorWithTeamGroupError", + "DBTEAMGroupDeleteError", + "DBTEAMGroupFullInfo", + "DBTEAMGroupMemberInfo", + "DBTEAMGroupMemberSelector", + "DBTEAMGroupMemberSelectorError", + "DBTEAMGroupMemberSetAccessTypeError", + "DBTEAMIncludeMembersArg", + "DBTEAMGroupMembersAddArg", + "DBTEAMGroupMembersAddError", + "DBTEAMGroupMembersChangeResult", + "DBTEAMGroupMembersRemoveArg", + "DBTEAMGroupMembersSelectorError", + "DBTEAMGroupMembersRemoveError", + "DBTEAMGroupMembersSelector", + "DBTEAMGroupMembersSetAccessTypeArg", + "DBTEAMGroupSelector", + "DBTEAMGroupUpdateArgs", + "DBTEAMGroupUpdateError", + "DBTEAMGroupsGetInfoError", + "DBTEAMGroupsGetInfoItem", + "DBTEAMGroupsListArg", + "DBTEAMGroupsListContinueArg", + "DBTEAMGroupsListContinueError", + "DBTEAMGroupsListResult", + "DBTEAMGroupsMembersListArg", + "DBTEAMGroupsMembersListContinueArg", + "DBTEAMGroupsMembersListContinueError", + "DBTEAMGroupsMembersListResult", + "DBTEAMGroupsPollError", + "DBTEAMGroupsSelector", + "DBTEAMHasTeamFileEventsValue", + "DBTEAMHasTeamSelectiveSyncValue", + "DBTEAMHasTeamSharedDropboxValue", + "DBTEAMLegalHoldHeldRevisionMetadata", + "DBTEAMLegalHoldPolicy", + "DBTEAMLegalHoldStatus", + "DBTEAMLegalHoldsError", + "DBTEAMLegalHoldsGetPolicyArg", + "DBTEAMLegalHoldsGetPolicyError", + "DBTEAMLegalHoldsListHeldRevisionResult", + "DBTEAMLegalHoldsListHeldRevisionsArg", + "DBTEAMLegalHoldsListHeldRevisionsContinueArg", + "DBTEAMLegalHoldsListHeldRevisionsContinueError", + "DBTEAMLegalHoldsListHeldRevisionsError", + "DBTEAMLegalHoldsListPoliciesArg", + "DBTEAMLegalHoldsListPoliciesError", + "DBTEAMLegalHoldsListPoliciesResult", + "DBTEAMLegalHoldsPolicyCreateArg", + "DBTEAMLegalHoldsPolicyCreateError", + "DBTEAMLegalHoldsPolicyReleaseArg", + "DBTEAMLegalHoldsPolicyReleaseError", + "DBTEAMLegalHoldsPolicyUpdateArg", + "DBTEAMLegalHoldsPolicyUpdateError", + "DBTEAMListMemberAppsArg", + "DBTEAMListMemberAppsError", + "DBTEAMListMemberAppsResult", + "DBTEAMListMemberDevicesArg", + "DBTEAMListMemberDevicesError", + "DBTEAMListMemberDevicesResult", + "DBTEAMListMembersAppsArg", + "DBTEAMListMembersAppsError", + "DBTEAMListMembersAppsResult", + "DBTEAMListMembersDevicesArg", + "DBTEAMListMembersDevicesError", + "DBTEAMListMembersDevicesResult", + "DBTEAMListTeamAppsArg", + "DBTEAMListTeamAppsError", + "DBTEAMListTeamAppsResult", + "DBTEAMListTeamDevicesArg", + "DBTEAMListTeamDevicesError", + "DBTEAMListTeamDevicesResult", + "DBTEAMMemberAccess", + "DBTEAMMemberAddArgBase", + "DBTEAMMemberAddArg", + "DBTEAMMemberAddResultBase", + "DBTEAMMemberAddResult", + "DBTEAMMemberAddV2Arg", + "DBTEAMMemberAddV2Result", + "DBTEAMMemberDevices", + "DBTEAMMemberLinkedApps", + "DBTEAMMemberProfile", + "DBTEAMUserSelectorError", + "DBTEAMMemberSelectorError", + "DBTEAMMembersAddArgBase", + "DBTEAMMembersAddArg", + "DBTEAMMembersAddJobStatus", + "DBTEAMMembersAddJobStatusV2Result", + "DBTEAMMembersAddLaunch", + "DBTEAMMembersAddLaunchV2Result", + "DBTEAMMembersAddV2Arg", + "DBTEAMMembersDeactivateBaseArg", + "DBTEAMMembersDataTransferArg", + "DBTEAMMembersDeactivateArg", + "DBTEAMMembersDeactivateError", + "DBTEAMMembersDeleteProfilePhotoArg", + "DBTEAMMembersDeleteProfilePhotoError", + "DBTEAMMembersGetAvailableTeamMemberRolesResult", + "DBTEAMMembersGetInfoArgs", + "DBTEAMMembersGetInfoError", + "DBTEAMMembersGetInfoItemBase", + "DBTEAMMembersGetInfoItem", + "DBTEAMMembersGetInfoItemV2", + "DBTEAMMembersGetInfoV2Arg", + "DBTEAMMembersGetInfoV2Result", + "DBTEAMMembersInfo", + "DBTEAMMembersListArg", + "DBTEAMMembersListContinueArg", + "DBTEAMMembersListContinueError", + "DBTEAMMembersListError", + "DBTEAMMembersListResult", + "DBTEAMMembersListV2Result", + "DBTEAMMembersRecoverArg", + "DBTEAMMembersRecoverError", + "DBTEAMMembersRemoveArg", + "DBTEAMMembersTransferFilesError", + "DBTEAMMembersRemoveError", + "DBTEAMMembersSendWelcomeError", + "DBTEAMMembersSetPermissions2Arg", + "DBTEAMMembersSetPermissions2Error", + "DBTEAMMembersSetPermissions2Result", + "DBTEAMMembersSetPermissionsArg", + "DBTEAMMembersSetPermissionsError", + "DBTEAMMembersSetPermissionsResult", + "DBTEAMMembersSetProfileArg", + "DBTEAMMembersSetProfileError", + "DBTEAMMembersSetProfilePhotoArg", + "DBTEAMMembersSetProfilePhotoError", + "DBTEAMMembersSuspendError", + "DBTEAMMembersTransferFormerMembersFilesError", + "DBTEAMMembersUnsuspendArg", + "DBTEAMMembersUnsuspendError", + "DBTEAMMobileClientPlatform", + "DBTEAMMobileClientSession", + "DBTEAMNamespaceMetadata", + "DBTEAMNamespaceType", + "DBTEAMRemoveCustomQuotaResult", + "DBTEAMRemovedStatus", + "DBTEAMResendSecondaryEmailResult", + "DBTEAMResendVerificationEmailArg", + "DBTEAMResendVerificationEmailResult", + "DBTEAMRevokeDesktopClientArg", + "DBTEAMRevokeDeviceSessionArg", + "DBTEAMRevokeDeviceSessionBatchArg", + "DBTEAMRevokeDeviceSessionBatchError", + "DBTEAMRevokeDeviceSessionBatchResult", + "DBTEAMRevokeDeviceSessionError", + "DBTEAMRevokeDeviceSessionStatus", + "DBTEAMRevokeLinkedApiAppArg", + "DBTEAMRevokeLinkedApiAppBatchArg", + "DBTEAMRevokeLinkedAppBatchError", + "DBTEAMRevokeLinkedAppBatchResult", + "DBTEAMRevokeLinkedAppError", + "DBTEAMRevokeLinkedAppStatus", + "DBTEAMSetCustomQuotaArg", + "DBTEAMSetCustomQuotaError", + "DBTEAMSharingAllowlistAddArgs", + "DBTEAMSharingAllowlistAddError", + "DBTEAMSharingAllowlistAddResponse", + "DBTEAMSharingAllowlistListArg", + "DBTEAMSharingAllowlistListContinueArg", + "DBTEAMSharingAllowlistListContinueError", + "DBTEAMSharingAllowlistListError", + "DBTEAMSharingAllowlistListResponse", + "DBTEAMSharingAllowlistRemoveArgs", + "DBTEAMSharingAllowlistRemoveError", + "DBTEAMSharingAllowlistRemoveResponse", + "DBTEAMStorageBucket", + "DBTEAMTeamFolderAccessError", + "DBTEAMTeamFolderActivateError", + "DBTEAMTeamFolderIdArg", + "DBTEAMTeamFolderArchiveArg", + "DBTEAMTeamFolderArchiveError", + "DBTEAMTeamFolderArchiveJobStatus", + "DBTEAMTeamFolderArchiveLaunch", + "DBTEAMTeamFolderCreateArg", + "DBTEAMTeamFolderCreateError", + "DBTEAMTeamFolderGetInfoItem", + "DBTEAMTeamFolderIdListArg", + "DBTEAMTeamFolderInvalidStatusError", + "DBTEAMTeamFolderListArg", + "DBTEAMTeamFolderListContinueArg", + "DBTEAMTeamFolderListContinueError", + "DBTEAMTeamFolderListError", + "DBTEAMTeamFolderListResult", + "DBTEAMTeamFolderMetadata", + "DBTEAMTeamFolderPermanentlyDeleteError", + "DBTEAMTeamFolderRenameArg", + "DBTEAMTeamFolderRenameError", + "DBTEAMTeamFolderStatus", + "DBTEAMTeamFolderTeamSharedDropboxError", + "DBTEAMTeamFolderUpdateSyncSettingsArg", + "DBTEAMTeamFolderUpdateSyncSettingsError", + "DBTEAMTeamGetInfoResult", + "DBTEAMTeamMemberInfo", + "DBTEAMTeamMemberInfoV2", + "DBTEAMTeamMemberInfoV2Result", + "DBTEAMTeamMemberProfile", + "DBTEAMTeamMemberRole", + "DBTEAMTeamMemberStatus", + "DBTEAMTeamMembershipType", + "DBTEAMTeamNamespacesListArg", + "DBTEAMTeamNamespacesListContinueArg", + "DBTEAMTeamNamespacesListError", + "DBTEAMTeamNamespacesListContinueError", + "DBTEAMTeamNamespacesListResult", + "DBTEAMTeamReportFailureReason", + "DBTEAMTokenGetAuthenticatedAdminError", + "DBTEAMTokenGetAuthenticatedAdminResult", + "DBTEAMUploadApiRateLimitValue", + "DBTEAMUserAddResult", + "DBTEAMUserCustomQuotaArg", + "DBTEAMUserCustomQuotaResult", + "DBTEAMUserDeleteEmailsResult", + "DBTEAMUserDeleteResult", + "DBTEAMUserResendEmailsResult", + "DBTEAMUserResendResult", + "DBTEAMUserSecondaryEmailsArg", + "DBTEAMUserSecondaryEmailsResult", + "DBTEAMUserSelectorArg", "DBTEAMUsersSelectorArg" ] - }, + }, { - "name": "TeamCommon", + "name": "TeamCommon", "children": [ - "DBTEAMCOMMONGroupManagementType", - "DBTEAMCOMMONGroupSummary", - "DBTEAMCOMMONGroupType", + "DBTEAMCOMMONGroupManagementType", + "DBTEAMCOMMONGroupSummary", + "DBTEAMCOMMONGroupType", + "DBTEAMCOMMONMemberSpaceLimitType", "DBTEAMCOMMONTimeRange" ] - }, + }, { - "name": "TeamLog", + "name": "TeamLog", "children": [ - "DBTEAMLOGAccessMethodLogInfo", - "DBTEAMLOGAccountCaptureAvailability", - "DBTEAMLOGAccountCaptureChangeAvailabilityDetails", - "DBTEAMLOGAccountCaptureChangePolicyDetails", - "DBTEAMLOGAccountCaptureMigrateAccountDetails", - "DBTEAMLOGAccountCapturePolicy", - "DBTEAMLOGAccountCaptureRelinquishAccountDetails", - "DBTEAMLOGActorLogInfo", - "DBTEAMLOGAdminRole", - "DBTEAMLOGAllowDownloadDisabledDetails", - "DBTEAMLOGAllowDownloadEnabledDetails", - "DBTEAMLOGApiSessionLogInfo", - "DBTEAMLOGAppLinkTeamDetails", - "DBTEAMLOGAppLinkUserDetails", - "DBTEAMLOGAppLogInfo", - "DBTEAMLOGAppUnlinkTeamDetails", - "DBTEAMLOGAppUnlinkUserDetails", - "DBTEAMLOGAssetLogInfo", - "DBTEAMLOGCertificate", - "DBTEAMLOGCollectionShareDetails", - "DBTEAMLOGConfidentiality", - "DBTEAMLOGContentPermanentDeletePolicy", - "DBTEAMLOGContextLogInfo", - "DBTEAMLOGCreateFolderDetails", - "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails", - "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails", - "DBTEAMLOGSessionLogInfo", - "DBTEAMLOGDesktopSessionLogInfo", - "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails", - "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails", - "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails", - "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails", - "DBTEAMLOGDeviceApprovalsPolicy", - "DBTEAMLOGDeviceChangeIpDesktopDetails", - "DBTEAMLOGDeviceChangeIpMobileDetails", - "DBTEAMLOGDeviceChangeIpWebDetails", - "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails", - "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails", - "DBTEAMLOGDeviceLinkFailDetails", - "DBTEAMLOGDeviceLinkSuccessDetails", - "DBTEAMLOGDeviceLogInfo", - "DBTEAMLOGDeviceManagementDisabledDetails", - "DBTEAMLOGDeviceManagementEnabledDetails", - "DBTEAMLOGDeviceType", - "DBTEAMLOGDeviceUnlinkDetails", - "DBTEAMLOGDeviceUnlinkPolicy", - "DBTEAMLOGDisabledDomainInvitesDetails", - "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails", - "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails", - "DBTEAMLOGDomainInvitesEmailExistingUsersDetails", - "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails", - "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails", - "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails", - "DBTEAMLOGDomainVerificationAddDomainFailDetails", - "DBTEAMLOGDomainVerificationAddDomainSuccessDetails", - "DBTEAMLOGDomainVerificationRemoveDomainDetails", - "DBTEAMLOGDurationLogInfo", - "DBTEAMLOGEmmAddExceptionDetails", - "DBTEAMLOGEmmChangePolicyDetails", - "DBTEAMLOGEmmCreateExceptionsReportDetails", - "DBTEAMLOGEmmCreateUsageReportDetails", - "DBTEAMLOGEmmErrorDetails", - "DBTEAMLOGEmmRefreshAuthTokenDetails", - "DBTEAMLOGEmmRemoveExceptionDetails", - "DBTEAMLOGEnabledDomainInvitesDetails", - "DBTEAMLOGEventCategory", - "DBTEAMLOGEventDetails", - "DBTEAMLOGEventType", - "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails", - "DBTEAMLOGExtendedVersionHistoryPolicy", - "DBTEAMLOGFailureDetailsLogInfo", - "DBTEAMLOGFileAddCommentDetails", - "DBTEAMLOGFileAddDetails", - "DBTEAMLOGFileChangeCommentSubscriptionDetails", - "DBTEAMLOGFileCommentNotificationPolicy", - "DBTEAMLOGFileCommentsChangePolicyDetails", - "DBTEAMLOGFileCommentsPolicy", - "DBTEAMLOGFileCopyDetails", - "DBTEAMLOGFileDeleteCommentDetails", - "DBTEAMLOGFileDeleteDetails", - "DBTEAMLOGFileDownloadDetails", - "DBTEAMLOGFileEditDetails", - "DBTEAMLOGFileGetCopyReferenceDetails", - "DBTEAMLOGFileLikeCommentDetails", - "DBTEAMLOGFileOrFolderLogInfo", - "DBTEAMLOGFileLogInfo", - "DBTEAMLOGFileMoveDetails", - "DBTEAMLOGFilePermanentlyDeleteDetails", - "DBTEAMLOGFilePreviewDetails", - "DBTEAMLOGFileRenameDetails", - "DBTEAMLOGFileRequestAddDeadlineDetails", - "DBTEAMLOGFileRequestChangeDetails", - "DBTEAMLOGFileRequestChangeFolderDetails", - "DBTEAMLOGFileRequestCloseDetails", - "DBTEAMLOGFileRequestCreateDetails", - "DBTEAMLOGFileRequestDetails", - "DBTEAMLOGFileRequestReceiveFileDetails", - "DBTEAMLOGFileRequestRemoveDeadlineDetails", - "DBTEAMLOGFileRequestSendDetails", - "DBTEAMLOGFileRequestsChangePolicyDetails", - "DBTEAMLOGFileRequestsEmailsEnabledDetails", - "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails", - "DBTEAMLOGFileRequestsPolicy", - "DBTEAMLOGFileResolveCommentDetails", - "DBTEAMLOGFileRestoreDetails", - "DBTEAMLOGFileRevertDetails", - "DBTEAMLOGFileRollbackChangesDetails", - "DBTEAMLOGFileSaveCopyReferenceDetails", - "DBTEAMLOGFileUnlikeCommentDetails", - "DBTEAMLOGFileUnresolveCommentDetails", - "DBTEAMLOGFolderLogInfo", - "DBTEAMLOGGeoLocationLogInfo", - "DBTEAMLOGGetTeamEventsArg", - "DBTEAMLOGGetTeamEventsContinueArg", - "DBTEAMLOGGetTeamEventsContinueError", - "DBTEAMLOGGetTeamEventsError", - "DBTEAMLOGGetTeamEventsResult", - "DBTEAMLOGGoogleSsoChangePolicyDetails", - "DBTEAMLOGGoogleSsoPolicy", - "DBTEAMLOGGroupAddExternalIdDetails", - "DBTEAMLOGGroupAddMemberDetails", - "DBTEAMLOGGroupChangeExternalIdDetails", - "DBTEAMLOGGroupChangeManagementTypeDetails", - "DBTEAMLOGGroupChangeMemberRoleDetails", - "DBTEAMLOGGroupCreateDetails", - "DBTEAMLOGGroupDeleteDetails", - "DBTEAMLOGGroupJoinPolicy", - "DBTEAMLOGGroupLogInfo", - "DBTEAMLOGGroupMovedDetails", - "DBTEAMLOGGroupRemoveExternalIdDetails", - "DBTEAMLOGGroupRemoveMemberDetails", - "DBTEAMLOGGroupRenameDetails", - "DBTEAMLOGGroupUserManagementChangePolicyDetails", - "DBTEAMLOGJoinTeamDetails", - "DBTEAMLOGLinkAudience", - "DBTEAMLOGLoginFailDetails", - "DBTEAMLOGLoginMethod", - "DBTEAMLOGLoginSuccessDetails", - "DBTEAMLOGLogoutDetails", - "DBTEAMLOGMemberAddNameDetails", - "DBTEAMLOGMemberChangeAdminRoleDetails", - "DBTEAMLOGMemberChangeEmailDetails", - "DBTEAMLOGMemberChangeMembershipTypeDetails", - "DBTEAMLOGMemberChangeNameDetails", - "DBTEAMLOGMemberChangeStatusDetails", - "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails", - "DBTEAMLOGMemberRequestsChangePolicyDetails", - "DBTEAMLOGMemberRequestsPolicy", - "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails", - "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails", - "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails", - "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails", - "DBTEAMLOGMemberStatus", - "DBTEAMLOGMemberSuggestDetails", - "DBTEAMLOGMemberSuggestionsChangePolicyDetails", - "DBTEAMLOGMemberSuggestionsPolicy", - "DBTEAMLOGMemberTransferAccountContentsDetails", - "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails", - "DBTEAMLOGMicrosoftOfficeAddinPolicy", - "DBTEAMLOGMissingDetails", - "DBTEAMLOGMobileSessionLogInfo", - "DBTEAMLOGNamespaceRelativePathLogInfo", - "DBTEAMLOGNetworkControlChangePolicyDetails", - "DBTEAMLOGNetworkControlPolicy", - "DBTEAMLOGUserLogInfo", - "DBTEAMLOGNonTeamMemberLogInfo", - "DBTEAMLOGNoteAclInviteOnlyDetails", - "DBTEAMLOGNoteAclLinkDetails", - "DBTEAMLOGNoteAclTeamLinkDetails", - "DBTEAMLOGNoteShareReceiveDetails", - "DBTEAMLOGNoteSharedDetails", - "DBTEAMLOGOpenNoteSharedDetails", - "DBTEAMLOGOriginLogInfo", - "DBTEAMLOGPaperAccessType", - "DBTEAMLOGPaperAdminExportStartDetails", - "DBTEAMLOGPaperChangeDeploymentPolicyDetails", - "DBTEAMLOGPaperChangeMemberLinkPolicyDetails", - "DBTEAMLOGPaperChangeMemberPolicyDetails", - "DBTEAMLOGPaperChangePolicyDetails", - "DBTEAMLOGPaperContentAddMemberDetails", - "DBTEAMLOGPaperContentAddToFolderDetails", - "DBTEAMLOGPaperContentArchiveDetails", - "DBTEAMLOGPaperContentCreateDetails", - "DBTEAMLOGPaperContentPermanentlyDeleteDetails", - "DBTEAMLOGPaperContentRemoveFromFolderDetails", - "DBTEAMLOGPaperContentRemoveMemberDetails", - "DBTEAMLOGPaperContentRenameDetails", - "DBTEAMLOGPaperContentRestoreDetails", - "DBTEAMLOGPaperDocAddCommentDetails", - "DBTEAMLOGPaperDocChangeMemberRoleDetails", - "DBTEAMLOGPaperDocChangeSharingPolicyDetails", - "DBTEAMLOGPaperDocChangeSubscriptionDetails", - "DBTEAMLOGPaperDocDeleteCommentDetails", - "DBTEAMLOGPaperDocDeletedDetails", - "DBTEAMLOGPaperDocDownloadDetails", - "DBTEAMLOGPaperDocEditCommentDetails", - "DBTEAMLOGPaperDocEditDetails", - "DBTEAMLOGPaperDocFollowedDetails", - "DBTEAMLOGPaperDocMentionDetails", - "DBTEAMLOGPaperDocRequestAccessDetails", - "DBTEAMLOGPaperDocResolveCommentDetails", - "DBTEAMLOGPaperDocRevertDetails", - "DBTEAMLOGPaperDocSlackShareDetails", - "DBTEAMLOGPaperDocTeamInviteDetails", - "DBTEAMLOGPaperDocTrashedDetails", - "DBTEAMLOGPaperDocUnresolveCommentDetails", - "DBTEAMLOGPaperDocUntrashedDetails", - "DBTEAMLOGPaperDocViewDetails", - "DBTEAMLOGPaperDocumentLogInfo", - "DBTEAMLOGPaperDownloadFormat", - "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails", - "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails", - "DBTEAMLOGPaperExternalViewAllowDetails", - "DBTEAMLOGPaperExternalViewDefaultTeamDetails", - "DBTEAMLOGPaperExternalViewForbidDetails", - "DBTEAMLOGPaperFolderChangeSubscriptionDetails", - "DBTEAMLOGPaperFolderDeletedDetails", - "DBTEAMLOGPaperFolderFollowedDetails", - "DBTEAMLOGPaperFolderLogInfo", - "DBTEAMLOGPaperFolderTeamInviteDetails", - "DBTEAMLOGPaperMemberPolicy", - "DBTEAMLOGParticipantLogInfo", - "DBTEAMLOGPasswordChangeDetails", - "DBTEAMLOGPasswordResetAllDetails", - "DBTEAMLOGPasswordResetDetails", - "DBTEAMLOGPathLogInfo", - "DBTEAMLOGPermanentDeleteChangePolicyDetails", - "DBTEAMLOGPlacementRestriction", - "DBTEAMLOGRelocateAssetReferencesLogInfo", - "DBTEAMLOGResellerLogInfo", - "DBTEAMLOGResellerSupportSessionEndDetails", - "DBTEAMLOGResellerSupportSessionStartDetails", - "DBTEAMLOGSfAddGroupDetails", - "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails", - "DBTEAMLOGSfExternalInviteWarnDetails", - "DBTEAMLOGSfInviteGroupDetails", - "DBTEAMLOGSfNestDetails", - "DBTEAMLOGSfTeamDeclineDetails", - "DBTEAMLOGSfTeamGrantAccessDetails", - "DBTEAMLOGSfTeamInviteChangeRoleDetails", - "DBTEAMLOGSfTeamInviteDetails", - "DBTEAMLOGSfTeamJoinDetails", - "DBTEAMLOGSfTeamJoinFromOobLinkDetails", - "DBTEAMLOGSfTeamUninviteDetails", - "DBTEAMLOGSharedContentAddInviteesDetails", - "DBTEAMLOGSharedContentAddLinkExpiryDetails", - "DBTEAMLOGSharedContentAddLinkPasswordDetails", - "DBTEAMLOGSharedContentAddMemberDetails", - "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails", - "DBTEAMLOGSharedContentChangeInviteeRoleDetails", - "DBTEAMLOGSharedContentChangeLinkAudienceDetails", - "DBTEAMLOGSharedContentChangeLinkExpiryDetails", - "DBTEAMLOGSharedContentChangeLinkPasswordDetails", - "DBTEAMLOGSharedContentChangeMemberRoleDetails", - "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails", - "DBTEAMLOGSharedContentClaimInvitationDetails", - "DBTEAMLOGSharedContentCopyDetails", - "DBTEAMLOGSharedContentDownloadDetails", - "DBTEAMLOGSharedContentDownloadsPolicy", - "DBTEAMLOGSharedContentRelinquishMembershipDetails", - "DBTEAMLOGSharedContentRemoveInviteeDetails", - "DBTEAMLOGSharedContentRemoveLinkExpiryDetails", - "DBTEAMLOGSharedContentRemoveLinkPasswordDetails", - "DBTEAMLOGSharedContentRemoveMemberDetails", - "DBTEAMLOGSharedContentRequestAccessDetails", - "DBTEAMLOGSharedContentUnshareDetails", - "DBTEAMLOGSharedContentViewDetails", - "DBTEAMLOGSharedContentViewerInfoPolicy", - "DBTEAMLOGSharedFolderChangeConfidentialityDetails", - "DBTEAMLOGSharedFolderChangeLinkPolicyDetails", - "DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails", - "DBTEAMLOGSharedFolderChangeMemberPolicyDetails", - "DBTEAMLOGSharedFolderCreateDetails", - "DBTEAMLOGSharedFolderLinkPolicy", - "DBTEAMLOGSharedFolderMemberPolicy", - "DBTEAMLOGSharedFolderMembershipManagementPolicy", - "DBTEAMLOGSharedFolderMountDetails", - "DBTEAMLOGSharedFolderTransferOwnershipDetails", - "DBTEAMLOGSharedFolderUnmountDetails", - "DBTEAMLOGSharedNoteOpenedDetails", - "DBTEAMLOGSharingChangeFolderJoinPolicyDetails", - "DBTEAMLOGSharingChangeLinkPolicyDetails", - "DBTEAMLOGSharingChangeMemberPolicyDetails", - "DBTEAMLOGSharingFolderJoinPolicy", - "DBTEAMLOGSharingLinkPolicy", - "DBTEAMLOGSharingMemberPolicy", - "DBTEAMLOGShmodelAppCreateDetails", - "DBTEAMLOGShmodelCreateDetails", - "DBTEAMLOGShmodelDisableDetails", - "DBTEAMLOGShmodelFbShareDetails", - "DBTEAMLOGShmodelGroupShareDetails", - "DBTEAMLOGShmodelRemoveExpirationDetails", - "DBTEAMLOGShmodelSetExpirationDetails", - "DBTEAMLOGShmodelTeamCopyDetails", - "DBTEAMLOGShmodelTeamDownloadDetails", - "DBTEAMLOGShmodelTeamShareDetails", - "DBTEAMLOGShmodelTeamViewDetails", - "DBTEAMLOGShmodelVisibilityPasswordDetails", - "DBTEAMLOGShmodelVisibilityPublicDetails", - "DBTEAMLOGShmodelVisibilityTeamOnlyDetails", - "DBTEAMLOGSignInAsSessionEndDetails", - "DBTEAMLOGSignInAsSessionStartDetails", - "DBTEAMLOGSmartSyncChangePolicyDetails", - "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails", - "DBTEAMLOGSmartSyncNotOptOutDetails", - "DBTEAMLOGSmartSyncOptOutDetails", - "DBTEAMLOGSmartSyncOptOutPolicy", - "DBTEAMLOGSpaceLimitsStatus", - "DBTEAMLOGSsoAddCertDetails", - "DBTEAMLOGSsoAddLoginUrlDetails", - "DBTEAMLOGSsoAddLogoutUrlDetails", - "DBTEAMLOGSsoChangeCertDetails", - "DBTEAMLOGSsoChangeLoginUrlDetails", - "DBTEAMLOGSsoChangeLogoutUrlDetails", - "DBTEAMLOGSsoChangePolicyDetails", - "DBTEAMLOGSsoChangeSamlIdentityModeDetails", - "DBTEAMLOGSsoErrorDetails", - "DBTEAMLOGSsoRemoveCertDetails", - "DBTEAMLOGSsoRemoveLoginUrlDetails", - "DBTEAMLOGSsoRemoveLogoutUrlDetails", - "DBTEAMLOGTeamActivityCreateReportDetails", - "DBTEAMLOGTeamEvent", - "DBTEAMLOGTeamFolderChangeStatusDetails", - "DBTEAMLOGTeamFolderCreateDetails", - "DBTEAMLOGTeamFolderDowngradeDetails", - "DBTEAMLOGTeamFolderPermanentlyDeleteDetails", - "DBTEAMLOGTeamFolderRenameDetails", - "DBTEAMLOGTeamFolderStatus", - "DBTEAMLOGTeamLinkedAppLogInfo", - "DBTEAMLOGTeamMemberLogInfo", - "DBTEAMLOGTeamMembershipType", - "DBTEAMLOGTeamMergeFromDetails", - "DBTEAMLOGTeamMergeToDetails", - "DBTEAMLOGTeamName", - "DBTEAMLOGTeamProfileAddLogoDetails", - "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails", - "DBTEAMLOGTeamProfileChangeLogoDetails", - "DBTEAMLOGTeamProfileChangeNameDetails", - "DBTEAMLOGTeamProfileRemoveLogoDetails", - "DBTEAMLOGTfaAddBackupPhoneDetails", - "DBTEAMLOGTfaAddSecurityKeyDetails", - "DBTEAMLOGTfaChangeBackupPhoneDetails", - "DBTEAMLOGTfaChangePolicyDetails", - "DBTEAMLOGTfaChangeStatusDetails", - "DBTEAMLOGTfaConfiguration", - "DBTEAMLOGTfaRemoveBackupPhoneDetails", - "DBTEAMLOGTfaRemoveSecurityKeyDetails", - "DBTEAMLOGTfaResetDetails", - "DBTEAMLOGTimeUnit", - "DBTEAMLOGTwoAccountChangePolicyDetails", - "DBTEAMLOGTwoAccountPolicy", - "DBTEAMLOGUserLinkedAppLogInfo", - "DBTEAMLOGUserNameLogInfo", - "DBTEAMLOGUserOrTeamLinkedAppLogInfo", - "DBTEAMLOGWebSessionLogInfo", - "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails", - "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails", - "DBTEAMLOGWebSessionsFixedLengthPolicy", + "DBTEAMLOGAccessMethodLogInfo", + "DBTEAMLOGAccountCaptureAvailability", + "DBTEAMLOGAccountCaptureChangeAvailabilityDetails", + "DBTEAMLOGAccountCaptureChangeAvailabilityType", + "DBTEAMLOGAccountCaptureChangePolicyDetails", + "DBTEAMLOGAccountCaptureChangePolicyType", + "DBTEAMLOGAccountCaptureMigrateAccountDetails", + "DBTEAMLOGAccountCaptureMigrateAccountType", + "DBTEAMLOGAccountCaptureNotificationEmailsSentDetails", + "DBTEAMLOGAccountCaptureNotificationEmailsSentType", + "DBTEAMLOGAccountCaptureNotificationType", + "DBTEAMLOGAccountCapturePolicy", + "DBTEAMLOGAccountCaptureRelinquishAccountDetails", + "DBTEAMLOGAccountCaptureRelinquishAccountType", + "DBTEAMLOGAccountLockOrUnlockedDetails", + "DBTEAMLOGAccountLockOrUnlockedType", + "DBTEAMLOGAccountState", + "DBTEAMLOGActionDetails", + "DBTEAMLOGActorLogInfo", + "DBTEAMLOGAdminAlertCategoryEnum", + "DBTEAMLOGAdminAlertGeneralStateEnum", + "DBTEAMLOGAdminAlertSeverityEnum", + "DBTEAMLOGAdminAlertingAlertConfiguration", + "DBTEAMLOGAdminAlertingAlertSensitivity", + "DBTEAMLOGAdminAlertingAlertStateChangedDetails", + "DBTEAMLOGAdminAlertingAlertStateChangedType", + "DBTEAMLOGAdminAlertingAlertStatePolicy", + "DBTEAMLOGAdminAlertingChangedAlertConfigDetails", + "DBTEAMLOGAdminAlertingChangedAlertConfigType", + "DBTEAMLOGAdminAlertingTriggeredAlertDetails", + "DBTEAMLOGAdminAlertingTriggeredAlertType", + "DBTEAMLOGAdminConsoleAppPermission", + "DBTEAMLOGAdminConsoleAppPolicy", + "DBTEAMLOGAdminEmailRemindersChangedDetails", + "DBTEAMLOGAdminEmailRemindersChangedType", + "DBTEAMLOGAdminEmailRemindersPolicy", + "DBTEAMLOGAdminRole", + "DBTEAMLOGAlertRecipientsSettingType", + "DBTEAMLOGAllowDownloadDisabledDetails", + "DBTEAMLOGAllowDownloadDisabledType", + "DBTEAMLOGAllowDownloadEnabledDetails", + "DBTEAMLOGAllowDownloadEnabledType", + "DBTEAMLOGApiSessionLogInfo", + "DBTEAMLOGAppBlockedByPermissionsDetails", + "DBTEAMLOGAppBlockedByPermissionsType", + "DBTEAMLOGAppLinkTeamDetails", + "DBTEAMLOGAppLinkTeamType", + "DBTEAMLOGAppLinkUserDetails", + "DBTEAMLOGAppLinkUserType", + "DBTEAMLOGAppLogInfo", + "DBTEAMLOGAppPermissionsChangedDetails", + "DBTEAMLOGAppPermissionsChangedType", + "DBTEAMLOGAppUnlinkTeamDetails", + "DBTEAMLOGAppUnlinkTeamType", + "DBTEAMLOGAppUnlinkUserDetails", + "DBTEAMLOGAppUnlinkUserType", + "DBTEAMLOGApplyNamingConventionDetails", + "DBTEAMLOGApplyNamingConventionType", + "DBTEAMLOGAssetLogInfo", + "DBTEAMLOGBackupAdminInvitationSentDetails", + "DBTEAMLOGBackupAdminInvitationSentType", + "DBTEAMLOGBackupInvitationOpenedDetails", + "DBTEAMLOGBackupInvitationOpenedType", + "DBTEAMLOGBackupStatus", + "DBTEAMLOGBinderAddPageDetails", + "DBTEAMLOGBinderAddPageType", + "DBTEAMLOGBinderAddSectionDetails", + "DBTEAMLOGBinderAddSectionType", + "DBTEAMLOGBinderRemovePageDetails", + "DBTEAMLOGBinderRemovePageType", + "DBTEAMLOGBinderRemoveSectionDetails", + "DBTEAMLOGBinderRemoveSectionType", + "DBTEAMLOGBinderRenamePageDetails", + "DBTEAMLOGBinderRenamePageType", + "DBTEAMLOGBinderRenameSectionDetails", + "DBTEAMLOGBinderRenameSectionType", + "DBTEAMLOGBinderReorderPageDetails", + "DBTEAMLOGBinderReorderPageType", + "DBTEAMLOGBinderReorderSectionDetails", + "DBTEAMLOGBinderReorderSectionType", + "DBTEAMLOGCameraUploadsPolicy", + "DBTEAMLOGCameraUploadsPolicyChangedDetails", + "DBTEAMLOGCameraUploadsPolicyChangedType", + "DBTEAMLOGCaptureTranscriptPolicy", + "DBTEAMLOGCaptureTranscriptPolicyChangedDetails", + "DBTEAMLOGCaptureTranscriptPolicyChangedType", + "DBTEAMLOGCertificate", + "DBTEAMLOGChangeLinkExpirationPolicy", + "DBTEAMLOGChangedEnterpriseAdminRoleDetails", + "DBTEAMLOGChangedEnterpriseAdminRoleType", + "DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails", + "DBTEAMLOGChangedEnterpriseConnectedTeamStatusType", + "DBTEAMLOGClassificationChangePolicyDetails", + "DBTEAMLOGClassificationChangePolicyType", + "DBTEAMLOGClassificationCreateReportDetails", + "DBTEAMLOGClassificationCreateReportFailDetails", + "DBTEAMLOGClassificationCreateReportFailType", + "DBTEAMLOGClassificationCreateReportType", + "DBTEAMLOGClassificationPolicyEnumWrapper", + "DBTEAMLOGClassificationType", + "DBTEAMLOGCollectionShareDetails", + "DBTEAMLOGCollectionShareType", + "DBTEAMLOGComputerBackupPolicy", + "DBTEAMLOGComputerBackupPolicyChangedDetails", + "DBTEAMLOGComputerBackupPolicyChangedType", + "DBTEAMLOGConnectedTeamName", + "DBTEAMLOGContentAdministrationPolicyChangedDetails", + "DBTEAMLOGContentAdministrationPolicyChangedType", + "DBTEAMLOGContentPermanentDeletePolicy", + "DBTEAMLOGContextLogInfo", + "DBTEAMLOGCreateFolderDetails", + "DBTEAMLOGCreateFolderType", + "DBTEAMLOGCreateTeamInviteLinkDetails", + "DBTEAMLOGCreateTeamInviteLinkType", + "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails", + "DBTEAMLOGDataPlacementRestrictionChangePolicyType", + "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails", + "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType", + "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails", + "DBTEAMLOGDataResidencyMigrationRequestSuccessfulType", + "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails", + "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType", + "DBTEAMLOGDefaultLinkExpirationDaysPolicy", + "DBTEAMLOGDeleteTeamInviteLinkDetails", + "DBTEAMLOGDeleteTeamInviteLinkType", + "DBTEAMLOGDeviceSessionLogInfo", + "DBTEAMLOGDesktopDeviceSessionLogInfo", + "DBTEAMLOGSessionLogInfo", + "DBTEAMLOGDesktopSessionLogInfo", + "DBTEAMLOGDeviceApprovalsAddExceptionDetails", + "DBTEAMLOGDeviceApprovalsAddExceptionType", + "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails", + "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType", + "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails", + "DBTEAMLOGDeviceApprovalsChangeMobilePolicyType", + "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails", + "DBTEAMLOGDeviceApprovalsChangeOverageActionType", + "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails", + "DBTEAMLOGDeviceApprovalsChangeUnlinkActionType", + "DBTEAMLOGDeviceApprovalsPolicy", + "DBTEAMLOGDeviceApprovalsRemoveExceptionDetails", + "DBTEAMLOGDeviceApprovalsRemoveExceptionType", + "DBTEAMLOGDeviceChangeIpDesktopDetails", + "DBTEAMLOGDeviceChangeIpDesktopType", + "DBTEAMLOGDeviceChangeIpMobileDetails", + "DBTEAMLOGDeviceChangeIpMobileType", + "DBTEAMLOGDeviceChangeIpWebDetails", + "DBTEAMLOGDeviceChangeIpWebType", + "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails", + "DBTEAMLOGDeviceDeleteOnUnlinkFailType", + "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails", + "DBTEAMLOGDeviceDeleteOnUnlinkSuccessType", + "DBTEAMLOGDeviceLinkFailDetails", + "DBTEAMLOGDeviceLinkFailType", + "DBTEAMLOGDeviceLinkSuccessDetails", + "DBTEAMLOGDeviceLinkSuccessType", + "DBTEAMLOGDeviceManagementDisabledDetails", + "DBTEAMLOGDeviceManagementDisabledType", + "DBTEAMLOGDeviceManagementEnabledDetails", + "DBTEAMLOGDeviceManagementEnabledType", + "DBTEAMLOGDeviceSyncBackupStatusChangedDetails", + "DBTEAMLOGDeviceSyncBackupStatusChangedType", + "DBTEAMLOGDeviceType", + "DBTEAMLOGDeviceUnlinkDetails", + "DBTEAMLOGDeviceUnlinkPolicy", + "DBTEAMLOGDeviceUnlinkType", + "DBTEAMLOGDirectoryRestrictionsAddMembersDetails", + "DBTEAMLOGDirectoryRestrictionsAddMembersType", + "DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails", + "DBTEAMLOGDirectoryRestrictionsRemoveMembersType", + "DBTEAMLOGDisabledDomainInvitesDetails", + "DBTEAMLOGDisabledDomainInvitesType", + "DBTEAMLOGDispositionActionType", + "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails", + "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType", + "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails", + "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType", + "DBTEAMLOGDomainInvitesEmailExistingUsersDetails", + "DBTEAMLOGDomainInvitesEmailExistingUsersType", + "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails", + "DBTEAMLOGDomainInvitesRequestToJoinTeamType", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType", + "DBTEAMLOGDomainVerificationAddDomainFailDetails", + "DBTEAMLOGDomainVerificationAddDomainFailType", + "DBTEAMLOGDomainVerificationAddDomainSuccessDetails", + "DBTEAMLOGDomainVerificationAddDomainSuccessType", + "DBTEAMLOGDomainVerificationRemoveDomainDetails", + "DBTEAMLOGDomainVerificationRemoveDomainType", + "DBTEAMLOGDownloadPolicyType", + "DBTEAMLOGDropboxPasswordsExportedDetails", + "DBTEAMLOGDropboxPasswordsExportedType", + "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails", + "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType", + "DBTEAMLOGDropboxPasswordsPolicy", + "DBTEAMLOGDropboxPasswordsPolicyChangedDetails", + "DBTEAMLOGDropboxPasswordsPolicyChangedType", + "DBTEAMLOGDurationLogInfo", + "DBTEAMLOGEmailIngestPolicy", + "DBTEAMLOGEmailIngestPolicyChangedDetails", + "DBTEAMLOGEmailIngestPolicyChangedType", + "DBTEAMLOGEmailIngestReceiveFileDetails", + "DBTEAMLOGEmailIngestReceiveFileType", + "DBTEAMLOGEmmAddExceptionDetails", + "DBTEAMLOGEmmAddExceptionType", + "DBTEAMLOGEmmChangePolicyDetails", + "DBTEAMLOGEmmChangePolicyType", + "DBTEAMLOGEmmCreateExceptionsReportDetails", + "DBTEAMLOGEmmCreateExceptionsReportType", + "DBTEAMLOGEmmCreateUsageReportDetails", + "DBTEAMLOGEmmCreateUsageReportType", + "DBTEAMLOGEmmErrorDetails", + "DBTEAMLOGEmmErrorType", + "DBTEAMLOGEmmRefreshAuthTokenDetails", + "DBTEAMLOGEmmRefreshAuthTokenType", + "DBTEAMLOGEmmRemoveExceptionDetails", + "DBTEAMLOGEmmRemoveExceptionType", + "DBTEAMLOGEnabledDomainInvitesDetails", + "DBTEAMLOGEnabledDomainInvitesType", + "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails", + "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType", + "DBTEAMLOGEndedEnterpriseAdminSessionDetails", + "DBTEAMLOGEndedEnterpriseAdminSessionType", + "DBTEAMLOGEnforceLinkPasswordPolicy", + "DBTEAMLOGEnterpriseSettingsLockingDetails", + "DBTEAMLOGEnterpriseSettingsLockingType", + "DBTEAMLOGEventCategory", + "DBTEAMLOGEventDetails", + "DBTEAMLOGEventType", + "DBTEAMLOGEventTypeArg", + "DBTEAMLOGExportMembersReportDetails", + "DBTEAMLOGExportMembersReportFailDetails", + "DBTEAMLOGExportMembersReportFailType", + "DBTEAMLOGExportMembersReportType", + "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails", + "DBTEAMLOGExtendedVersionHistoryChangePolicyType", + "DBTEAMLOGExtendedVersionHistoryPolicy", + "DBTEAMLOGExternalDriveBackupEligibilityStatus", + "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails", + "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType", + "DBTEAMLOGExternalDriveBackupPolicy", + "DBTEAMLOGExternalDriveBackupPolicyChangedDetails", + "DBTEAMLOGExternalDriveBackupPolicyChangedType", + "DBTEAMLOGExternalDriveBackupStatus", + "DBTEAMLOGExternalDriveBackupStatusChangedDetails", + "DBTEAMLOGExternalDriveBackupStatusChangedType", + "DBTEAMLOGExternalSharingCreateReportDetails", + "DBTEAMLOGExternalSharingCreateReportType", + "DBTEAMLOGExternalSharingReportFailedDetails", + "DBTEAMLOGExternalSharingReportFailedType", + "DBTEAMLOGExternalUserLogInfo", + "DBTEAMLOGFailureDetailsLogInfo", + "DBTEAMLOGFedAdminRole", + "DBTEAMLOGFedExtraDetails", + "DBTEAMLOGFedHandshakeAction", + "DBTEAMLOGFederationStatusChangeAdditionalInfo", + "DBTEAMLOGFileAddCommentDetails", + "DBTEAMLOGFileAddCommentType", + "DBTEAMLOGFileAddDetails", + "DBTEAMLOGFileAddFromAutomationDetails", + "DBTEAMLOGFileAddFromAutomationType", + "DBTEAMLOGFileAddType", + "DBTEAMLOGFileChangeCommentSubscriptionDetails", + "DBTEAMLOGFileChangeCommentSubscriptionType", + "DBTEAMLOGFileCommentNotificationPolicy", + "DBTEAMLOGFileCommentsChangePolicyDetails", + "DBTEAMLOGFileCommentsChangePolicyType", + "DBTEAMLOGFileCommentsPolicy", + "DBTEAMLOGFileCopyDetails", + "DBTEAMLOGFileCopyType", + "DBTEAMLOGFileDeleteCommentDetails", + "DBTEAMLOGFileDeleteCommentType", + "DBTEAMLOGFileDeleteDetails", + "DBTEAMLOGFileDeleteType", + "DBTEAMLOGFileDownloadDetails", + "DBTEAMLOGFileDownloadType", + "DBTEAMLOGFileEditCommentDetails", + "DBTEAMLOGFileEditCommentType", + "DBTEAMLOGFileEditDetails", + "DBTEAMLOGFileEditType", + "DBTEAMLOGFileGetCopyReferenceDetails", + "DBTEAMLOGFileGetCopyReferenceType", + "DBTEAMLOGFileLikeCommentDetails", + "DBTEAMLOGFileLikeCommentType", + "DBTEAMLOGFileLockingLockStatusChangedDetails", + "DBTEAMLOGFileLockingLockStatusChangedType", + "DBTEAMLOGFileLockingPolicyChangedDetails", + "DBTEAMLOGFileLockingPolicyChangedType", + "DBTEAMLOGFileOrFolderLogInfo", + "DBTEAMLOGFileLogInfo", + "DBTEAMLOGFileMoveDetails", + "DBTEAMLOGFileMoveType", + "DBTEAMLOGFilePermanentlyDeleteDetails", + "DBTEAMLOGFilePermanentlyDeleteType", + "DBTEAMLOGFilePreviewDetails", + "DBTEAMLOGFilePreviewType", + "DBTEAMLOGFileProviderMigrationPolicyChangedDetails", + "DBTEAMLOGFileProviderMigrationPolicyChangedType", + "DBTEAMLOGFileRenameDetails", + "DBTEAMLOGFileRenameType", + "DBTEAMLOGFileRequestChangeDetails", + "DBTEAMLOGFileRequestChangeType", + "DBTEAMLOGFileRequestCloseDetails", + "DBTEAMLOGFileRequestCloseType", + "DBTEAMLOGFileRequestCreateDetails", + "DBTEAMLOGFileRequestCreateType", + "DBTEAMLOGFileRequestDeadline", + "DBTEAMLOGFileRequestDeleteDetails", + "DBTEAMLOGFileRequestDeleteType", + "DBTEAMLOGFileRequestDetails", + "DBTEAMLOGFileRequestReceiveFileDetails", + "DBTEAMLOGFileRequestReceiveFileType", + "DBTEAMLOGFileRequestsChangePolicyDetails", + "DBTEAMLOGFileRequestsChangePolicyType", + "DBTEAMLOGFileRequestsEmailsEnabledDetails", + "DBTEAMLOGFileRequestsEmailsEnabledType", + "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails", + "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType", + "DBTEAMLOGFileRequestsPolicy", + "DBTEAMLOGFileResolveCommentDetails", + "DBTEAMLOGFileResolveCommentType", + "DBTEAMLOGFileRestoreDetails", + "DBTEAMLOGFileRestoreType", + "DBTEAMLOGFileRevertDetails", + "DBTEAMLOGFileRevertType", + "DBTEAMLOGFileRollbackChangesDetails", + "DBTEAMLOGFileRollbackChangesType", + "DBTEAMLOGFileSaveCopyReferenceDetails", + "DBTEAMLOGFileSaveCopyReferenceType", + "DBTEAMLOGFileTransfersFileAddDetails", + "DBTEAMLOGFileTransfersFileAddType", + "DBTEAMLOGFileTransfersPolicy", + "DBTEAMLOGFileTransfersPolicyChangedDetails", + "DBTEAMLOGFileTransfersPolicyChangedType", + "DBTEAMLOGFileTransfersTransferDeleteDetails", + "DBTEAMLOGFileTransfersTransferDeleteType", + "DBTEAMLOGFileTransfersTransferDownloadDetails", + "DBTEAMLOGFileTransfersTransferDownloadType", + "DBTEAMLOGFileTransfersTransferSendDetails", + "DBTEAMLOGFileTransfersTransferSendType", + "DBTEAMLOGFileTransfersTransferViewDetails", + "DBTEAMLOGFileTransfersTransferViewType", + "DBTEAMLOGFileUnlikeCommentDetails", + "DBTEAMLOGFileUnlikeCommentType", + "DBTEAMLOGFileUnresolveCommentDetails", + "DBTEAMLOGFileUnresolveCommentType", + "DBTEAMLOGFolderLinkRestrictionPolicy", + "DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails", + "DBTEAMLOGFolderLinkRestrictionPolicyChangedType", + "DBTEAMLOGFolderLogInfo", + "DBTEAMLOGFolderOverviewDescriptionChangedDetails", + "DBTEAMLOGFolderOverviewDescriptionChangedType", + "DBTEAMLOGFolderOverviewItemPinnedDetails", + "DBTEAMLOGFolderOverviewItemPinnedType", + "DBTEAMLOGFolderOverviewItemUnpinnedDetails", + "DBTEAMLOGFolderOverviewItemUnpinnedType", + "DBTEAMLOGGeoLocationLogInfo", + "DBTEAMLOGGetTeamEventsArg", + "DBTEAMLOGGetTeamEventsContinueArg", + "DBTEAMLOGGetTeamEventsContinueError", + "DBTEAMLOGGetTeamEventsError", + "DBTEAMLOGGetTeamEventsResult", + "DBTEAMLOGGoogleSsoChangePolicyDetails", + "DBTEAMLOGGoogleSsoChangePolicyType", + "DBTEAMLOGGoogleSsoPolicy", + "DBTEAMLOGGovernancePolicyAddFolderFailedDetails", + "DBTEAMLOGGovernancePolicyAddFolderFailedType", + "DBTEAMLOGGovernancePolicyAddFoldersDetails", + "DBTEAMLOGGovernancePolicyAddFoldersType", + "DBTEAMLOGGovernancePolicyContentDisposedDetails", + "DBTEAMLOGGovernancePolicyContentDisposedType", + "DBTEAMLOGGovernancePolicyCreateDetails", + "DBTEAMLOGGovernancePolicyCreateType", + "DBTEAMLOGGovernancePolicyDeleteDetails", + "DBTEAMLOGGovernancePolicyDeleteType", + "DBTEAMLOGGovernancePolicyEditDetailsDetails", + "DBTEAMLOGGovernancePolicyEditDetailsType", + "DBTEAMLOGGovernancePolicyEditDurationDetails", + "DBTEAMLOGGovernancePolicyEditDurationType", + "DBTEAMLOGGovernancePolicyExportCreatedDetails", + "DBTEAMLOGGovernancePolicyExportCreatedType", + "DBTEAMLOGGovernancePolicyExportRemovedDetails", + "DBTEAMLOGGovernancePolicyExportRemovedType", + "DBTEAMLOGGovernancePolicyRemoveFoldersDetails", + "DBTEAMLOGGovernancePolicyRemoveFoldersType", + "DBTEAMLOGGovernancePolicyReportCreatedDetails", + "DBTEAMLOGGovernancePolicyReportCreatedType", + "DBTEAMLOGGovernancePolicyZipPartDownloadedDetails", + "DBTEAMLOGGovernancePolicyZipPartDownloadedType", + "DBTEAMLOGGroupAddExternalIdDetails", + "DBTEAMLOGGroupAddExternalIdType", + "DBTEAMLOGGroupAddMemberDetails", + "DBTEAMLOGGroupAddMemberType", + "DBTEAMLOGGroupChangeExternalIdDetails", + "DBTEAMLOGGroupChangeExternalIdType", + "DBTEAMLOGGroupChangeManagementTypeDetails", + "DBTEAMLOGGroupChangeManagementTypeType", + "DBTEAMLOGGroupChangeMemberRoleDetails", + "DBTEAMLOGGroupChangeMemberRoleType", + "DBTEAMLOGGroupCreateDetails", + "DBTEAMLOGGroupCreateType", + "DBTEAMLOGGroupDeleteDetails", + "DBTEAMLOGGroupDeleteType", + "DBTEAMLOGGroupDescriptionUpdatedDetails", + "DBTEAMLOGGroupDescriptionUpdatedType", + "DBTEAMLOGGroupJoinPolicy", + "DBTEAMLOGGroupJoinPolicyUpdatedDetails", + "DBTEAMLOGGroupJoinPolicyUpdatedType", + "DBTEAMLOGGroupLogInfo", + "DBTEAMLOGGroupMovedDetails", + "DBTEAMLOGGroupMovedType", + "DBTEAMLOGGroupRemoveExternalIdDetails", + "DBTEAMLOGGroupRemoveExternalIdType", + "DBTEAMLOGGroupRemoveMemberDetails", + "DBTEAMLOGGroupRemoveMemberType", + "DBTEAMLOGGroupRenameDetails", + "DBTEAMLOGGroupRenameType", + "DBTEAMLOGGroupUserManagementChangePolicyDetails", + "DBTEAMLOGGroupUserManagementChangePolicyType", + "DBTEAMLOGGuestAdminChangeStatusDetails", + "DBTEAMLOGGuestAdminChangeStatusType", + "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails", + "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType", + "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails", + "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType", + "DBTEAMLOGIdentifierType", + "DBTEAMLOGIntegrationConnectedDetails", + "DBTEAMLOGIntegrationConnectedType", + "DBTEAMLOGIntegrationDisconnectedDetails", + "DBTEAMLOGIntegrationDisconnectedType", + "DBTEAMLOGIntegrationPolicy", + "DBTEAMLOGIntegrationPolicyChangedDetails", + "DBTEAMLOGIntegrationPolicyChangedType", + "DBTEAMLOGInviteAcceptanceEmailPolicy", + "DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails", + "DBTEAMLOGInviteAcceptanceEmailPolicyChangedType", + "DBTEAMLOGInviteMethod", + "DBTEAMLOGJoinTeamDetails", + "DBTEAMLOGLabelType", + "DBTEAMLOGLegacyDeviceSessionLogInfo", + "DBTEAMLOGLegalHoldsActivateAHoldDetails", + "DBTEAMLOGLegalHoldsActivateAHoldType", + "DBTEAMLOGLegalHoldsAddMembersDetails", + "DBTEAMLOGLegalHoldsAddMembersType", + "DBTEAMLOGLegalHoldsChangeHoldDetailsDetails", + "DBTEAMLOGLegalHoldsChangeHoldDetailsType", + "DBTEAMLOGLegalHoldsChangeHoldNameDetails", + "DBTEAMLOGLegalHoldsChangeHoldNameType", + "DBTEAMLOGLegalHoldsExportAHoldDetails", + "DBTEAMLOGLegalHoldsExportAHoldType", + "DBTEAMLOGLegalHoldsExportCancelledDetails", + "DBTEAMLOGLegalHoldsExportCancelledType", + "DBTEAMLOGLegalHoldsExportDownloadedDetails", + "DBTEAMLOGLegalHoldsExportDownloadedType", + "DBTEAMLOGLegalHoldsExportRemovedDetails", + "DBTEAMLOGLegalHoldsExportRemovedType", + "DBTEAMLOGLegalHoldsReleaseAHoldDetails", + "DBTEAMLOGLegalHoldsReleaseAHoldType", + "DBTEAMLOGLegalHoldsRemoveMembersDetails", + "DBTEAMLOGLegalHoldsRemoveMembersType", + "DBTEAMLOGLegalHoldsReportAHoldDetails", + "DBTEAMLOGLegalHoldsReportAHoldType", + "DBTEAMLOGLinkedDeviceLogInfo", + "DBTEAMLOGLockStatus", + "DBTEAMLOGLoginFailDetails", + "DBTEAMLOGLoginFailType", + "DBTEAMLOGLoginMethod", + "DBTEAMLOGLoginSuccessDetails", + "DBTEAMLOGLoginSuccessType", + "DBTEAMLOGLogoutDetails", + "DBTEAMLOGLogoutType", + "DBTEAMLOGMemberAddExternalIdDetails", + "DBTEAMLOGMemberAddExternalIdType", + "DBTEAMLOGMemberAddNameDetails", + "DBTEAMLOGMemberAddNameType", + "DBTEAMLOGMemberChangeAdminRoleDetails", + "DBTEAMLOGMemberChangeAdminRoleType", + "DBTEAMLOGMemberChangeEmailDetails", + "DBTEAMLOGMemberChangeEmailType", + "DBTEAMLOGMemberChangeExternalIdDetails", + "DBTEAMLOGMemberChangeExternalIdType", + "DBTEAMLOGMemberChangeMembershipTypeDetails", + "DBTEAMLOGMemberChangeMembershipTypeType", + "DBTEAMLOGMemberChangeNameDetails", + "DBTEAMLOGMemberChangeNameType", + "DBTEAMLOGMemberChangeResellerRoleDetails", + "DBTEAMLOGMemberChangeResellerRoleType", + "DBTEAMLOGMemberChangeStatusDetails", + "DBTEAMLOGMemberChangeStatusType", + "DBTEAMLOGMemberDeleteManualContactsDetails", + "DBTEAMLOGMemberDeleteManualContactsType", + "DBTEAMLOGMemberDeleteProfilePhotoDetails", + "DBTEAMLOGMemberDeleteProfilePhotoType", + "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails", + "DBTEAMLOGMemberPermanentlyDeleteAccountContentsType", + "DBTEAMLOGMemberRemoveActionType", + "DBTEAMLOGMemberRemoveExternalIdDetails", + "DBTEAMLOGMemberRemoveExternalIdType", + "DBTEAMLOGMemberRequestsChangePolicyDetails", + "DBTEAMLOGMemberRequestsChangePolicyType", + "DBTEAMLOGMemberRequestsPolicy", + "DBTEAMLOGMemberSendInvitePolicy", + "DBTEAMLOGMemberSendInvitePolicyChangedDetails", + "DBTEAMLOGMemberSendInvitePolicyChangedType", + "DBTEAMLOGMemberSetProfilePhotoDetails", + "DBTEAMLOGMemberSetProfilePhotoType", + "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails", + "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType", + "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails", + "DBTEAMLOGMemberSpaceLimitsAddExceptionType", + "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails", + "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType", + "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails", + "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType", + "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails", + "DBTEAMLOGMemberSpaceLimitsChangePolicyType", + "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails", + "DBTEAMLOGMemberSpaceLimitsChangeStatusType", + "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails", + "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType", + "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails", + "DBTEAMLOGMemberSpaceLimitsRemoveExceptionType", + "DBTEAMLOGMemberStatus", + "DBTEAMLOGMemberSuggestDetails", + "DBTEAMLOGMemberSuggestType", + "DBTEAMLOGMemberSuggestionsChangePolicyDetails", + "DBTEAMLOGMemberSuggestionsChangePolicyType", + "DBTEAMLOGMemberSuggestionsPolicy", + "DBTEAMLOGMemberTransferAccountContentsDetails", + "DBTEAMLOGMemberTransferAccountContentsType", + "DBTEAMLOGMemberTransferredInternalFields", + "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails", + "DBTEAMLOGMicrosoftOfficeAddinChangePolicyType", + "DBTEAMLOGMicrosoftOfficeAddinPolicy", + "DBTEAMLOGMissingDetails", + "DBTEAMLOGMobileDeviceSessionLogInfo", + "DBTEAMLOGMobileSessionLogInfo", + "DBTEAMLOGNamespaceRelativePathLogInfo", + "DBTEAMLOGNetworkControlChangePolicyDetails", + "DBTEAMLOGNetworkControlChangePolicyType", + "DBTEAMLOGNetworkControlPolicy", + "DBTEAMLOGNoExpirationLinkGenCreateReportDetails", + "DBTEAMLOGNoExpirationLinkGenCreateReportType", + "DBTEAMLOGNoExpirationLinkGenReportFailedDetails", + "DBTEAMLOGNoExpirationLinkGenReportFailedType", + "DBTEAMLOGNoPasswordLinkGenCreateReportDetails", + "DBTEAMLOGNoPasswordLinkGenCreateReportType", + "DBTEAMLOGNoPasswordLinkGenReportFailedDetails", + "DBTEAMLOGNoPasswordLinkGenReportFailedType", + "DBTEAMLOGNoPasswordLinkViewCreateReportDetails", + "DBTEAMLOGNoPasswordLinkViewCreateReportType", + "DBTEAMLOGNoPasswordLinkViewReportFailedDetails", + "DBTEAMLOGNoPasswordLinkViewReportFailedType", + "DBTEAMLOGUserLogInfo", + "DBTEAMLOGNonTeamMemberLogInfo", + "DBTEAMLOGNonTrustedTeamDetails", + "DBTEAMLOGNoteAclInviteOnlyDetails", + "DBTEAMLOGNoteAclInviteOnlyType", + "DBTEAMLOGNoteAclLinkDetails", + "DBTEAMLOGNoteAclLinkType", + "DBTEAMLOGNoteAclTeamLinkDetails", + "DBTEAMLOGNoteAclTeamLinkType", + "DBTEAMLOGNoteShareReceiveDetails", + "DBTEAMLOGNoteShareReceiveType", + "DBTEAMLOGNoteSharedDetails", + "DBTEAMLOGNoteSharedType", + "DBTEAMLOGObjectLabelAddedDetails", + "DBTEAMLOGObjectLabelAddedType", + "DBTEAMLOGObjectLabelRemovedDetails", + "DBTEAMLOGObjectLabelRemovedType", + "DBTEAMLOGObjectLabelUpdatedValueDetails", + "DBTEAMLOGObjectLabelUpdatedValueType", + "DBTEAMLOGOpenNoteSharedDetails", + "DBTEAMLOGOpenNoteSharedType", + "DBTEAMLOGOrganizationDetails", + "DBTEAMLOGOrganizationName", + "DBTEAMLOGOrganizeFolderWithTidyDetails", + "DBTEAMLOGOrganizeFolderWithTidyType", + "DBTEAMLOGOriginLogInfo", + "DBTEAMLOGOutdatedLinkViewCreateReportDetails", + "DBTEAMLOGOutdatedLinkViewCreateReportType", + "DBTEAMLOGOutdatedLinkViewReportFailedDetails", + "DBTEAMLOGOutdatedLinkViewReportFailedType", + "DBTEAMLOGPaperAccessType", + "DBTEAMLOGPaperAdminExportStartDetails", + "DBTEAMLOGPaperAdminExportStartType", + "DBTEAMLOGPaperChangeDeploymentPolicyDetails", + "DBTEAMLOGPaperChangeDeploymentPolicyType", + "DBTEAMLOGPaperChangeMemberLinkPolicyDetails", + "DBTEAMLOGPaperChangeMemberLinkPolicyType", + "DBTEAMLOGPaperChangeMemberPolicyDetails", + "DBTEAMLOGPaperChangeMemberPolicyType", + "DBTEAMLOGPaperChangePolicyDetails", + "DBTEAMLOGPaperChangePolicyType", + "DBTEAMLOGPaperContentAddMemberDetails", + "DBTEAMLOGPaperContentAddMemberType", + "DBTEAMLOGPaperContentAddToFolderDetails", + "DBTEAMLOGPaperContentAddToFolderType", + "DBTEAMLOGPaperContentArchiveDetails", + "DBTEAMLOGPaperContentArchiveType", + "DBTEAMLOGPaperContentCreateDetails", + "DBTEAMLOGPaperContentCreateType", + "DBTEAMLOGPaperContentPermanentlyDeleteDetails", + "DBTEAMLOGPaperContentPermanentlyDeleteType", + "DBTEAMLOGPaperContentRemoveFromFolderDetails", + "DBTEAMLOGPaperContentRemoveFromFolderType", + "DBTEAMLOGPaperContentRemoveMemberDetails", + "DBTEAMLOGPaperContentRemoveMemberType", + "DBTEAMLOGPaperContentRenameDetails", + "DBTEAMLOGPaperContentRenameType", + "DBTEAMLOGPaperContentRestoreDetails", + "DBTEAMLOGPaperContentRestoreType", + "DBTEAMLOGPaperDefaultFolderPolicy", + "DBTEAMLOGPaperDefaultFolderPolicyChangedDetails", + "DBTEAMLOGPaperDefaultFolderPolicyChangedType", + "DBTEAMLOGPaperDesktopPolicy", + "DBTEAMLOGPaperDesktopPolicyChangedDetails", + "DBTEAMLOGPaperDesktopPolicyChangedType", + "DBTEAMLOGPaperDocAddCommentDetails", + "DBTEAMLOGPaperDocAddCommentType", + "DBTEAMLOGPaperDocChangeMemberRoleDetails", + "DBTEAMLOGPaperDocChangeMemberRoleType", + "DBTEAMLOGPaperDocChangeSharingPolicyDetails", + "DBTEAMLOGPaperDocChangeSharingPolicyType", + "DBTEAMLOGPaperDocChangeSubscriptionDetails", + "DBTEAMLOGPaperDocChangeSubscriptionType", + "DBTEAMLOGPaperDocDeleteCommentDetails", + "DBTEAMLOGPaperDocDeleteCommentType", + "DBTEAMLOGPaperDocDeletedDetails", + "DBTEAMLOGPaperDocDeletedType", + "DBTEAMLOGPaperDocDownloadDetails", + "DBTEAMLOGPaperDocDownloadType", + "DBTEAMLOGPaperDocEditCommentDetails", + "DBTEAMLOGPaperDocEditCommentType", + "DBTEAMLOGPaperDocEditDetails", + "DBTEAMLOGPaperDocEditType", + "DBTEAMLOGPaperDocFollowedDetails", + "DBTEAMLOGPaperDocFollowedType", + "DBTEAMLOGPaperDocMentionDetails", + "DBTEAMLOGPaperDocMentionType", + "DBTEAMLOGPaperDocOwnershipChangedDetails", + "DBTEAMLOGPaperDocOwnershipChangedType", + "DBTEAMLOGPaperDocRequestAccessDetails", + "DBTEAMLOGPaperDocRequestAccessType", + "DBTEAMLOGPaperDocResolveCommentDetails", + "DBTEAMLOGPaperDocResolveCommentType", + "DBTEAMLOGPaperDocRevertDetails", + "DBTEAMLOGPaperDocRevertType", + "DBTEAMLOGPaperDocSlackShareDetails", + "DBTEAMLOGPaperDocSlackShareType", + "DBTEAMLOGPaperDocTeamInviteDetails", + "DBTEAMLOGPaperDocTeamInviteType", + "DBTEAMLOGPaperDocTrashedDetails", + "DBTEAMLOGPaperDocTrashedType", + "DBTEAMLOGPaperDocUnresolveCommentDetails", + "DBTEAMLOGPaperDocUnresolveCommentType", + "DBTEAMLOGPaperDocUntrashedDetails", + "DBTEAMLOGPaperDocUntrashedType", + "DBTEAMLOGPaperDocViewDetails", + "DBTEAMLOGPaperDocViewType", + "DBTEAMLOGPaperDocumentLogInfo", + "DBTEAMLOGPaperDownloadFormat", + "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails", + "DBTEAMLOGPaperEnabledUsersGroupAdditionType", + "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails", + "DBTEAMLOGPaperEnabledUsersGroupRemovalType", + "DBTEAMLOGPaperExternalViewAllowDetails", + "DBTEAMLOGPaperExternalViewAllowType", + "DBTEAMLOGPaperExternalViewDefaultTeamDetails", + "DBTEAMLOGPaperExternalViewDefaultTeamType", + "DBTEAMLOGPaperExternalViewForbidDetails", + "DBTEAMLOGPaperExternalViewForbidType", + "DBTEAMLOGPaperFolderChangeSubscriptionDetails", + "DBTEAMLOGPaperFolderChangeSubscriptionType", + "DBTEAMLOGPaperFolderDeletedDetails", + "DBTEAMLOGPaperFolderDeletedType", + "DBTEAMLOGPaperFolderFollowedDetails", + "DBTEAMLOGPaperFolderFollowedType", + "DBTEAMLOGPaperFolderLogInfo", + "DBTEAMLOGPaperFolderTeamInviteDetails", + "DBTEAMLOGPaperFolderTeamInviteType", + "DBTEAMLOGPaperMemberPolicy", + "DBTEAMLOGPaperPublishedLinkChangePermissionDetails", + "DBTEAMLOGPaperPublishedLinkChangePermissionType", + "DBTEAMLOGPaperPublishedLinkCreateDetails", + "DBTEAMLOGPaperPublishedLinkCreateType", + "DBTEAMLOGPaperPublishedLinkDisabledDetails", + "DBTEAMLOGPaperPublishedLinkDisabledType", + "DBTEAMLOGPaperPublishedLinkViewDetails", + "DBTEAMLOGPaperPublishedLinkViewType", + "DBTEAMLOGParticipantLogInfo", + "DBTEAMLOGPassPolicy", + "DBTEAMLOGPasswordChangeDetails", + "DBTEAMLOGPasswordChangeType", + "DBTEAMLOGPasswordResetAllDetails", + "DBTEAMLOGPasswordResetAllType", + "DBTEAMLOGPasswordResetDetails", + "DBTEAMLOGPasswordResetType", + "DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails", + "DBTEAMLOGPasswordStrengthRequirementsChangePolicyType", + "DBTEAMLOGPathLogInfo", + "DBTEAMLOGPendingSecondaryEmailAddedDetails", + "DBTEAMLOGPendingSecondaryEmailAddedType", + "DBTEAMLOGPermanentDeleteChangePolicyDetails", + "DBTEAMLOGPermanentDeleteChangePolicyType", + "DBTEAMLOGPlacementRestriction", + "DBTEAMLOGPolicyType", + "DBTEAMLOGPrimaryTeamRequestAcceptedDetails", + "DBTEAMLOGPrimaryTeamRequestCanceledDetails", + "DBTEAMLOGPrimaryTeamRequestExpiredDetails", + "DBTEAMLOGPrimaryTeamRequestReminderDetails", + "DBTEAMLOGQuickActionType", + "DBTEAMLOGRansomwareAlertCreateReportDetails", + "DBTEAMLOGRansomwareAlertCreateReportFailedDetails", + "DBTEAMLOGRansomwareAlertCreateReportFailedType", + "DBTEAMLOGRansomwareAlertCreateReportType", + "DBTEAMLOGRansomwareRestoreProcessCompletedDetails", + "DBTEAMLOGRansomwareRestoreProcessCompletedType", + "DBTEAMLOGRansomwareRestoreProcessStartedDetails", + "DBTEAMLOGRansomwareRestoreProcessStartedType", + "DBTEAMLOGRecipientsConfiguration", + "DBTEAMLOGRelocateAssetReferencesLogInfo", + "DBTEAMLOGReplayFileDeleteDetails", + "DBTEAMLOGReplayFileDeleteType", + "DBTEAMLOGReplayFileSharedLinkCreatedDetails", + "DBTEAMLOGReplayFileSharedLinkCreatedType", + "DBTEAMLOGReplayFileSharedLinkModifiedDetails", + "DBTEAMLOGReplayFileSharedLinkModifiedType", + "DBTEAMLOGReplayProjectTeamAddDetails", + "DBTEAMLOGReplayProjectTeamAddType", + "DBTEAMLOGReplayProjectTeamDeleteDetails", + "DBTEAMLOGReplayProjectTeamDeleteType", + "DBTEAMLOGResellerLogInfo", + "DBTEAMLOGResellerRole", + "DBTEAMLOGResellerSupportChangePolicyDetails", + "DBTEAMLOGResellerSupportChangePolicyType", + "DBTEAMLOGResellerSupportPolicy", + "DBTEAMLOGResellerSupportSessionEndDetails", + "DBTEAMLOGResellerSupportSessionEndType", + "DBTEAMLOGResellerSupportSessionStartDetails", + "DBTEAMLOGResellerSupportSessionStartType", + "DBTEAMLOGRewindFolderDetails", + "DBTEAMLOGRewindFolderType", + "DBTEAMLOGRewindPolicy", + "DBTEAMLOGRewindPolicyChangedDetails", + "DBTEAMLOGRewindPolicyChangedType", + "DBTEAMLOGSecondaryEmailDeletedDetails", + "DBTEAMLOGSecondaryEmailDeletedType", + "DBTEAMLOGSecondaryEmailVerifiedDetails", + "DBTEAMLOGSecondaryEmailVerifiedType", + "DBTEAMLOGSecondaryMailsPolicy", + "DBTEAMLOGSecondaryMailsPolicyChangedDetails", + "DBTEAMLOGSecondaryMailsPolicyChangedType", + "DBTEAMLOGSecondaryTeamRequestAcceptedDetails", + "DBTEAMLOGSecondaryTeamRequestCanceledDetails", + "DBTEAMLOGSecondaryTeamRequestExpiredDetails", + "DBTEAMLOGSecondaryTeamRequestReminderDetails", + "DBTEAMLOGSendForSignaturePolicy", + "DBTEAMLOGSendForSignaturePolicyChangedDetails", + "DBTEAMLOGSendForSignaturePolicyChangedType", + "DBTEAMLOGSfAddGroupDetails", + "DBTEAMLOGSfAddGroupType", + "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails", + "DBTEAMLOGSfAllowNonMembersToViewSharedLinksType", + "DBTEAMLOGSfExternalInviteWarnDetails", + "DBTEAMLOGSfExternalInviteWarnType", + "DBTEAMLOGSfFbInviteChangeRoleDetails", + "DBTEAMLOGSfFbInviteChangeRoleType", + "DBTEAMLOGSfFbInviteDetails", + "DBTEAMLOGSfFbInviteType", + "DBTEAMLOGSfFbUninviteDetails", + "DBTEAMLOGSfFbUninviteType", + "DBTEAMLOGSfInviteGroupDetails", + "DBTEAMLOGSfInviteGroupType", + "DBTEAMLOGSfTeamGrantAccessDetails", + "DBTEAMLOGSfTeamGrantAccessType", + "DBTEAMLOGSfTeamInviteChangeRoleDetails", + "DBTEAMLOGSfTeamInviteChangeRoleType", + "DBTEAMLOGSfTeamInviteDetails", + "DBTEAMLOGSfTeamInviteType", + "DBTEAMLOGSfTeamJoinDetails", + "DBTEAMLOGSfTeamJoinFromOobLinkDetails", + "DBTEAMLOGSfTeamJoinFromOobLinkType", + "DBTEAMLOGSfTeamJoinType", + "DBTEAMLOGSfTeamUninviteDetails", + "DBTEAMLOGSfTeamUninviteType", + "DBTEAMLOGSharedContentAddInviteesDetails", + "DBTEAMLOGSharedContentAddInviteesType", + "DBTEAMLOGSharedContentAddLinkExpiryDetails", + "DBTEAMLOGSharedContentAddLinkExpiryType", + "DBTEAMLOGSharedContentAddLinkPasswordDetails", + "DBTEAMLOGSharedContentAddLinkPasswordType", + "DBTEAMLOGSharedContentAddMemberDetails", + "DBTEAMLOGSharedContentAddMemberType", + "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails", + "DBTEAMLOGSharedContentChangeDownloadsPolicyType", + "DBTEAMLOGSharedContentChangeInviteeRoleDetails", + "DBTEAMLOGSharedContentChangeInviteeRoleType", + "DBTEAMLOGSharedContentChangeLinkAudienceDetails", + "DBTEAMLOGSharedContentChangeLinkAudienceType", + "DBTEAMLOGSharedContentChangeLinkExpiryDetails", + "DBTEAMLOGSharedContentChangeLinkExpiryType", + "DBTEAMLOGSharedContentChangeLinkPasswordDetails", + "DBTEAMLOGSharedContentChangeLinkPasswordType", + "DBTEAMLOGSharedContentChangeMemberRoleDetails", + "DBTEAMLOGSharedContentChangeMemberRoleType", + "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails", + "DBTEAMLOGSharedContentChangeViewerInfoPolicyType", + "DBTEAMLOGSharedContentClaimInvitationDetails", + "DBTEAMLOGSharedContentClaimInvitationType", + "DBTEAMLOGSharedContentCopyDetails", + "DBTEAMLOGSharedContentCopyType", + "DBTEAMLOGSharedContentDownloadDetails", + "DBTEAMLOGSharedContentDownloadType", + "DBTEAMLOGSharedContentRelinquishMembershipDetails", + "DBTEAMLOGSharedContentRelinquishMembershipType", + "DBTEAMLOGSharedContentRemoveInviteesDetails", + "DBTEAMLOGSharedContentRemoveInviteesType", + "DBTEAMLOGSharedContentRemoveLinkExpiryDetails", + "DBTEAMLOGSharedContentRemoveLinkExpiryType", + "DBTEAMLOGSharedContentRemoveLinkPasswordDetails", + "DBTEAMLOGSharedContentRemoveLinkPasswordType", + "DBTEAMLOGSharedContentRemoveMemberDetails", + "DBTEAMLOGSharedContentRemoveMemberType", + "DBTEAMLOGSharedContentRequestAccessDetails", + "DBTEAMLOGSharedContentRequestAccessType", + "DBTEAMLOGSharedContentRestoreInviteesDetails", + "DBTEAMLOGSharedContentRestoreInviteesType", + "DBTEAMLOGSharedContentRestoreMemberDetails", + "DBTEAMLOGSharedContentRestoreMemberType", + "DBTEAMLOGSharedContentUnshareDetails", + "DBTEAMLOGSharedContentUnshareType", + "DBTEAMLOGSharedContentViewDetails", + "DBTEAMLOGSharedContentViewType", + "DBTEAMLOGSharedFolderChangeLinkPolicyDetails", + "DBTEAMLOGSharedFolderChangeLinkPolicyType", + "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails", + "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType", + "DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails", + "DBTEAMLOGSharedFolderChangeMembersManagementPolicyType", + "DBTEAMLOGSharedFolderChangeMembersPolicyDetails", + "DBTEAMLOGSharedFolderChangeMembersPolicyType", + "DBTEAMLOGSharedFolderCreateDetails", + "DBTEAMLOGSharedFolderCreateType", + "DBTEAMLOGSharedFolderDeclineInvitationDetails", + "DBTEAMLOGSharedFolderDeclineInvitationType", + "DBTEAMLOGSharedFolderMembersInheritancePolicy", + "DBTEAMLOGSharedFolderMountDetails", + "DBTEAMLOGSharedFolderMountType", + "DBTEAMLOGSharedFolderNestDetails", + "DBTEAMLOGSharedFolderNestType", + "DBTEAMLOGSharedFolderTransferOwnershipDetails", + "DBTEAMLOGSharedFolderTransferOwnershipType", + "DBTEAMLOGSharedFolderUnmountDetails", + "DBTEAMLOGSharedFolderUnmountType", + "DBTEAMLOGSharedLinkAccessLevel", + "DBTEAMLOGSharedLinkAddExpiryDetails", + "DBTEAMLOGSharedLinkAddExpiryType", + "DBTEAMLOGSharedLinkChangeExpiryDetails", + "DBTEAMLOGSharedLinkChangeExpiryType", + "DBTEAMLOGSharedLinkChangeVisibilityDetails", + "DBTEAMLOGSharedLinkChangeVisibilityType", + "DBTEAMLOGSharedLinkCopyDetails", + "DBTEAMLOGSharedLinkCopyType", + "DBTEAMLOGSharedLinkCreateDetails", + "DBTEAMLOGSharedLinkCreateType", + "DBTEAMLOGSharedLinkDisableDetails", + "DBTEAMLOGSharedLinkDisableType", + "DBTEAMLOGSharedLinkDownloadDetails", + "DBTEAMLOGSharedLinkDownloadType", + "DBTEAMLOGSharedLinkRemoveExpiryDetails", + "DBTEAMLOGSharedLinkRemoveExpiryType", + "DBTEAMLOGSharedLinkSettingsAddExpirationDetails", + "DBTEAMLOGSharedLinkSettingsAddExpirationType", + "DBTEAMLOGSharedLinkSettingsAddPasswordDetails", + "DBTEAMLOGSharedLinkSettingsAddPasswordType", + "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails", + "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType", + "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails", + "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType", + "DBTEAMLOGSharedLinkSettingsChangeAudienceDetails", + "DBTEAMLOGSharedLinkSettingsChangeAudienceType", + "DBTEAMLOGSharedLinkSettingsChangeExpirationDetails", + "DBTEAMLOGSharedLinkSettingsChangeExpirationType", + "DBTEAMLOGSharedLinkSettingsChangePasswordDetails", + "DBTEAMLOGSharedLinkSettingsChangePasswordType", + "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails", + "DBTEAMLOGSharedLinkSettingsRemoveExpirationType", + "DBTEAMLOGSharedLinkSettingsRemovePasswordDetails", + "DBTEAMLOGSharedLinkSettingsRemovePasswordType", + "DBTEAMLOGSharedLinkShareDetails", + "DBTEAMLOGSharedLinkShareType", + "DBTEAMLOGSharedLinkViewDetails", + "DBTEAMLOGSharedLinkViewType", + "DBTEAMLOGSharedLinkVisibility", + "DBTEAMLOGSharedNoteOpenedDetails", + "DBTEAMLOGSharedNoteOpenedType", + "DBTEAMLOGSharingChangeFolderJoinPolicyDetails", + "DBTEAMLOGSharingChangeFolderJoinPolicyType", + "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails", + "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType", + "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails", + "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType", + "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails", + "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType", + "DBTEAMLOGSharingChangeLinkPolicyDetails", + "DBTEAMLOGSharingChangeLinkPolicyType", + "DBTEAMLOGSharingChangeMemberPolicyDetails", + "DBTEAMLOGSharingChangeMemberPolicyType", + "DBTEAMLOGSharingFolderJoinPolicy", + "DBTEAMLOGSharingLinkPolicy", + "DBTEAMLOGSharingMemberPolicy", + "DBTEAMLOGShmodelDisableDownloadsDetails", + "DBTEAMLOGShmodelDisableDownloadsType", + "DBTEAMLOGShmodelEnableDownloadsDetails", + "DBTEAMLOGShmodelEnableDownloadsType", + "DBTEAMLOGShmodelGroupShareDetails", + "DBTEAMLOGShmodelGroupShareType", + "DBTEAMLOGShowcaseAccessGrantedDetails", + "DBTEAMLOGShowcaseAccessGrantedType", + "DBTEAMLOGShowcaseAddMemberDetails", + "DBTEAMLOGShowcaseAddMemberType", + "DBTEAMLOGShowcaseArchivedDetails", + "DBTEAMLOGShowcaseArchivedType", + "DBTEAMLOGShowcaseChangeDownloadPolicyDetails", + "DBTEAMLOGShowcaseChangeDownloadPolicyType", + "DBTEAMLOGShowcaseChangeEnabledPolicyDetails", + "DBTEAMLOGShowcaseChangeEnabledPolicyType", + "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails", + "DBTEAMLOGShowcaseChangeExternalSharingPolicyType", + "DBTEAMLOGShowcaseCreatedDetails", + "DBTEAMLOGShowcaseCreatedType", + "DBTEAMLOGShowcaseDeleteCommentDetails", + "DBTEAMLOGShowcaseDeleteCommentType", + "DBTEAMLOGShowcaseDocumentLogInfo", + "DBTEAMLOGShowcaseDownloadPolicy", + "DBTEAMLOGShowcaseEditCommentDetails", + "DBTEAMLOGShowcaseEditCommentType", + "DBTEAMLOGShowcaseEditedDetails", + "DBTEAMLOGShowcaseEditedType", + "DBTEAMLOGShowcaseEnabledPolicy", + "DBTEAMLOGShowcaseExternalSharingPolicy", + "DBTEAMLOGShowcaseFileAddedDetails", + "DBTEAMLOGShowcaseFileAddedType", + "DBTEAMLOGShowcaseFileDownloadDetails", + "DBTEAMLOGShowcaseFileDownloadType", + "DBTEAMLOGShowcaseFileRemovedDetails", + "DBTEAMLOGShowcaseFileRemovedType", + "DBTEAMLOGShowcaseFileViewDetails", + "DBTEAMLOGShowcaseFileViewType", + "DBTEAMLOGShowcasePermanentlyDeletedDetails", + "DBTEAMLOGShowcasePermanentlyDeletedType", + "DBTEAMLOGShowcasePostCommentDetails", + "DBTEAMLOGShowcasePostCommentType", + "DBTEAMLOGShowcaseRemoveMemberDetails", + "DBTEAMLOGShowcaseRemoveMemberType", + "DBTEAMLOGShowcaseRenamedDetails", + "DBTEAMLOGShowcaseRenamedType", + "DBTEAMLOGShowcaseRequestAccessDetails", + "DBTEAMLOGShowcaseRequestAccessType", + "DBTEAMLOGShowcaseResolveCommentDetails", + "DBTEAMLOGShowcaseResolveCommentType", + "DBTEAMLOGShowcaseRestoredDetails", + "DBTEAMLOGShowcaseRestoredType", + "DBTEAMLOGShowcaseTrashedDeprecatedDetails", + "DBTEAMLOGShowcaseTrashedDeprecatedType", + "DBTEAMLOGShowcaseTrashedDetails", + "DBTEAMLOGShowcaseTrashedType", + "DBTEAMLOGShowcaseUnresolveCommentDetails", + "DBTEAMLOGShowcaseUnresolveCommentType", + "DBTEAMLOGShowcaseUntrashedDeprecatedDetails", + "DBTEAMLOGShowcaseUntrashedDeprecatedType", + "DBTEAMLOGShowcaseUntrashedDetails", + "DBTEAMLOGShowcaseUntrashedType", + "DBTEAMLOGShowcaseViewDetails", + "DBTEAMLOGShowcaseViewType", + "DBTEAMLOGSignInAsSessionEndDetails", + "DBTEAMLOGSignInAsSessionEndType", + "DBTEAMLOGSignInAsSessionStartDetails", + "DBTEAMLOGSignInAsSessionStartType", + "DBTEAMLOGSmartSyncChangePolicyDetails", + "DBTEAMLOGSmartSyncChangePolicyType", + "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails", + "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType", + "DBTEAMLOGSmartSyncNotOptOutDetails", + "DBTEAMLOGSmartSyncNotOptOutType", + "DBTEAMLOGSmartSyncOptOutDetails", + "DBTEAMLOGSmartSyncOptOutPolicy", + "DBTEAMLOGSmartSyncOptOutType", + "DBTEAMLOGSmarterSmartSyncPolicyChangedDetails", + "DBTEAMLOGSmarterSmartSyncPolicyChangedType", + "DBTEAMLOGSpaceCapsType", + "DBTEAMLOGSpaceLimitsStatus", + "DBTEAMLOGSsoAddCertDetails", + "DBTEAMLOGSsoAddCertType", + "DBTEAMLOGSsoAddLoginUrlDetails", + "DBTEAMLOGSsoAddLoginUrlType", + "DBTEAMLOGSsoAddLogoutUrlDetails", + "DBTEAMLOGSsoAddLogoutUrlType", + "DBTEAMLOGSsoChangeCertDetails", + "DBTEAMLOGSsoChangeCertType", + "DBTEAMLOGSsoChangeLoginUrlDetails", + "DBTEAMLOGSsoChangeLoginUrlType", + "DBTEAMLOGSsoChangeLogoutUrlDetails", + "DBTEAMLOGSsoChangeLogoutUrlType", + "DBTEAMLOGSsoChangePolicyDetails", + "DBTEAMLOGSsoChangePolicyType", + "DBTEAMLOGSsoChangeSamlIdentityModeDetails", + "DBTEAMLOGSsoChangeSamlIdentityModeType", + "DBTEAMLOGSsoErrorDetails", + "DBTEAMLOGSsoErrorType", + "DBTEAMLOGSsoRemoveCertDetails", + "DBTEAMLOGSsoRemoveCertType", + "DBTEAMLOGSsoRemoveLoginUrlDetails", + "DBTEAMLOGSsoRemoveLoginUrlType", + "DBTEAMLOGSsoRemoveLogoutUrlDetails", + "DBTEAMLOGSsoRemoveLogoutUrlType", + "DBTEAMLOGStartedEnterpriseAdminSessionDetails", + "DBTEAMLOGStartedEnterpriseAdminSessionType", + "DBTEAMLOGTeamActivityCreateReportDetails", + "DBTEAMLOGTeamActivityCreateReportFailDetails", + "DBTEAMLOGTeamActivityCreateReportFailType", + "DBTEAMLOGTeamActivityCreateReportType", + "DBTEAMLOGTeamBrandingPolicy", + "DBTEAMLOGTeamBrandingPolicyChangedDetails", + "DBTEAMLOGTeamBrandingPolicyChangedType", + "DBTEAMLOGTeamDetails", + "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails", + "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType", + "DBTEAMLOGTeamEncryptionKeyCreateKeyDetails", + "DBTEAMLOGTeamEncryptionKeyCreateKeyType", + "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails", + "DBTEAMLOGTeamEncryptionKeyDeleteKeyType", + "DBTEAMLOGTeamEncryptionKeyDisableKeyDetails", + "DBTEAMLOGTeamEncryptionKeyDisableKeyType", + "DBTEAMLOGTeamEncryptionKeyEnableKeyDetails", + "DBTEAMLOGTeamEncryptionKeyEnableKeyType", + "DBTEAMLOGTeamEncryptionKeyRotateKeyDetails", + "DBTEAMLOGTeamEncryptionKeyRotateKeyType", + "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails", + "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType", + "DBTEAMLOGTeamEvent", + "DBTEAMLOGTeamExtensionsPolicy", + "DBTEAMLOGTeamExtensionsPolicyChangedDetails", + "DBTEAMLOGTeamExtensionsPolicyChangedType", + "DBTEAMLOGTeamFolderChangeStatusDetails", + "DBTEAMLOGTeamFolderChangeStatusType", + "DBTEAMLOGTeamFolderCreateDetails", + "DBTEAMLOGTeamFolderCreateType", + "DBTEAMLOGTeamFolderDowngradeDetails", + "DBTEAMLOGTeamFolderDowngradeType", + "DBTEAMLOGTeamFolderPermanentlyDeleteDetails", + "DBTEAMLOGTeamFolderPermanentlyDeleteType", + "DBTEAMLOGTeamFolderRenameDetails", + "DBTEAMLOGTeamFolderRenameType", + "DBTEAMLOGTeamInviteDetails", + "DBTEAMLOGTeamLinkedAppLogInfo", + "DBTEAMLOGTeamLogInfo", + "DBTEAMLOGTeamMemberLogInfo", + "DBTEAMLOGTeamMembershipType", + "DBTEAMLOGTeamMergeFromDetails", + "DBTEAMLOGTeamMergeFromType", + "DBTEAMLOGTeamMergeRequestAcceptedDetails", + "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails", + "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeRequestAcceptedType", + "DBTEAMLOGTeamMergeRequestAutoCanceledDetails", + "DBTEAMLOGTeamMergeRequestAutoCanceledType", + "DBTEAMLOGTeamMergeRequestCanceledDetails", + "DBTEAMLOGTeamMergeRequestCanceledExtraDetails", + "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeRequestCanceledType", + "DBTEAMLOGTeamMergeRequestExpiredDetails", + "DBTEAMLOGTeamMergeRequestExpiredExtraDetails", + "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeRequestExpiredType", + "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeRequestReminderDetails", + "DBTEAMLOGTeamMergeRequestReminderExtraDetails", + "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeRequestReminderType", + "DBTEAMLOGTeamMergeRequestRevokedDetails", + "DBTEAMLOGTeamMergeRequestRevokedType", + "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails", + "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType", + "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails", + "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType", + "DBTEAMLOGTeamMergeToDetails", + "DBTEAMLOGTeamMergeToType", + "DBTEAMLOGTeamName", + "DBTEAMLOGTeamProfileAddBackgroundDetails", + "DBTEAMLOGTeamProfileAddBackgroundType", + "DBTEAMLOGTeamProfileAddLogoDetails", + "DBTEAMLOGTeamProfileAddLogoType", + "DBTEAMLOGTeamProfileChangeBackgroundDetails", + "DBTEAMLOGTeamProfileChangeBackgroundType", + "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails", + "DBTEAMLOGTeamProfileChangeDefaultLanguageType", + "DBTEAMLOGTeamProfileChangeLogoDetails", + "DBTEAMLOGTeamProfileChangeLogoType", + "DBTEAMLOGTeamProfileChangeNameDetails", + "DBTEAMLOGTeamProfileChangeNameType", + "DBTEAMLOGTeamProfileRemoveBackgroundDetails", + "DBTEAMLOGTeamProfileRemoveBackgroundType", + "DBTEAMLOGTeamProfileRemoveLogoDetails", + "DBTEAMLOGTeamProfileRemoveLogoType", + "DBTEAMLOGTeamSelectiveSyncPolicy", + "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails", + "DBTEAMLOGTeamSelectiveSyncPolicyChangedType", + "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails", + "DBTEAMLOGTeamSelectiveSyncSettingsChangedType", + "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails", + "DBTEAMLOGTeamSharingWhitelistSubjectsChangedType", + "DBTEAMLOGTfaAddBackupPhoneDetails", + "DBTEAMLOGTfaAddBackupPhoneType", + "DBTEAMLOGTfaAddExceptionDetails", + "DBTEAMLOGTfaAddExceptionType", + "DBTEAMLOGTfaAddSecurityKeyDetails", + "DBTEAMLOGTfaAddSecurityKeyType", + "DBTEAMLOGTfaChangeBackupPhoneDetails", + "DBTEAMLOGTfaChangeBackupPhoneType", + "DBTEAMLOGTfaChangePolicyDetails", + "DBTEAMLOGTfaChangePolicyType", + "DBTEAMLOGTfaChangeStatusDetails", + "DBTEAMLOGTfaChangeStatusType", + "DBTEAMLOGTfaConfiguration", + "DBTEAMLOGTfaRemoveBackupPhoneDetails", + "DBTEAMLOGTfaRemoveBackupPhoneType", + "DBTEAMLOGTfaRemoveExceptionDetails", + "DBTEAMLOGTfaRemoveExceptionType", + "DBTEAMLOGTfaRemoveSecurityKeyDetails", + "DBTEAMLOGTfaRemoveSecurityKeyType", + "DBTEAMLOGTfaResetDetails", + "DBTEAMLOGTfaResetType", + "DBTEAMLOGTimeUnit", + "DBTEAMLOGTrustedNonTeamMemberLogInfo", + "DBTEAMLOGTrustedNonTeamMemberType", + "DBTEAMLOGTrustedTeamsRequestAction", + "DBTEAMLOGTrustedTeamsRequestState", + "DBTEAMLOGTwoAccountChangePolicyDetails", + "DBTEAMLOGTwoAccountChangePolicyType", + "DBTEAMLOGTwoAccountPolicy", + "DBTEAMLOGUndoNamingConventionDetails", + "DBTEAMLOGUndoNamingConventionType", + "DBTEAMLOGUndoOrganizeFolderWithTidyDetails", + "DBTEAMLOGUndoOrganizeFolderWithTidyType", + "DBTEAMLOGUserLinkedAppLogInfo", + "DBTEAMLOGUserNameLogInfo", + "DBTEAMLOGUserOrTeamLinkedAppLogInfo", + "DBTEAMLOGUserTagsAddedDetails", + "DBTEAMLOGUserTagsAddedType", + "DBTEAMLOGUserTagsRemovedDetails", + "DBTEAMLOGUserTagsRemovedType", + "DBTEAMLOGViewerInfoPolicyChangedDetails", + "DBTEAMLOGViewerInfoPolicyChangedType", + "DBTEAMLOGWatermarkingPolicy", + "DBTEAMLOGWatermarkingPolicyChangedDetails", + "DBTEAMLOGWatermarkingPolicyChangedType", + "DBTEAMLOGWebDeviceSessionLogInfo", + "DBTEAMLOGWebSessionLogInfo", + "DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails", + "DBTEAMLOGWebSessionsChangeActiveSessionLimitType", + "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails", + "DBTEAMLOGWebSessionsChangeFixedLengthPolicyType", + "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails", + "DBTEAMLOGWebSessionsChangeIdleLengthPolicyType", + "DBTEAMLOGWebSessionsFixedLengthPolicy", "DBTEAMLOGWebSessionsIdleLengthPolicy" ] - }, + }, { - "name": "TeamPolicies", + "name": "TeamPolicies", "children": [ - "DBTEAMPOLICIESEmmState", - "DBTEAMPOLICIESGroupCreation", - "DBTEAMPOLICIESOfficeAddInPolicy", - "DBTEAMPOLICIESPaperDeploymentPolicy", - "DBTEAMPOLICIESPaperEnabledPolicy", - "DBTEAMPOLICIESPasswordStrengthPolicy", - "DBTEAMPOLICIESRolloutMethod", - "DBTEAMPOLICIESSharedFolderJoinPolicy", - "DBTEAMPOLICIESSharedFolderMemberPolicy", - "DBTEAMPOLICIESSharedLinkCreatePolicy", - "DBTEAMPOLICIESSmartSyncPolicy", - "DBTEAMPOLICIESSsoPolicy", - "DBTEAMPOLICIESTeamMemberPolicies", - "DBTEAMPOLICIESTeamSharingPolicies", - "DBTEAMPOLICIESTwoStepVerificationPolicy" + "DBTEAMPOLICIESCameraUploadsPolicyState", + "DBTEAMPOLICIESComputerBackupPolicyState", + "DBTEAMPOLICIESEmmState", + "DBTEAMPOLICIESExternalDriveBackupPolicyState", + "DBTEAMPOLICIESFileLockingPolicyState", + "DBTEAMPOLICIESFileProviderMigrationPolicyState", + "DBTEAMPOLICIESGroupCreation", + "DBTEAMPOLICIESOfficeAddInPolicy", + "DBTEAMPOLICIESPaperDefaultFolderPolicy", + "DBTEAMPOLICIESPaperDeploymentPolicy", + "DBTEAMPOLICIESPaperDesktopPolicy", + "DBTEAMPOLICIESPaperEnabledPolicy", + "DBTEAMPOLICIESPasswordControlMode", + "DBTEAMPOLICIESPasswordStrengthPolicy", + "DBTEAMPOLICIESRolloutMethod", + "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy", + "DBTEAMPOLICIESSharedFolderJoinPolicy", + "DBTEAMPOLICIESSharedFolderMemberPolicy", + "DBTEAMPOLICIESSharedLinkCreatePolicy", + "DBTEAMPOLICIESShowcaseDownloadPolicy", + "DBTEAMPOLICIESShowcaseEnabledPolicy", + "DBTEAMPOLICIESShowcaseExternalSharingPolicy", + "DBTEAMPOLICIESSmartSyncPolicy", + "DBTEAMPOLICIESSmarterSmartSyncPolicyState", + "DBTEAMPOLICIESSsoPolicy", + "DBTEAMPOLICIESSuggestMembersPolicy", + "DBTEAMPOLICIESTeamMemberPolicies", + "DBTEAMPOLICIESTeamSharingPolicies", + "DBTEAMPOLICIESTwoStepVerificationPolicy", + "DBTEAMPOLICIESTwoStepVerificationState" ] - }, + }, { - "name": "Users", + "name": "Users", "children": [ - "DBUSERSAccount", - "DBUSERSBasicAccount", - "DBUSERSFullAccount", - "DBUSERSTeam", - "DBUSERSFullTeam", - "DBUSERSGetAccountArg", - "DBUSERSGetAccountBatchArg", - "DBUSERSGetAccountBatchError", - "DBUSERSGetAccountError", - "DBUSERSIndividualSpaceAllocation", - "DBUSERSName", - "DBUSERSSpaceAllocation", - "DBUSERSSpaceUsage", - "DBUSERSTeamSpaceAllocation" + "DBUSERSAccount", + "DBUSERSBasicAccount", + "DBUSERSFileLockingValue", + "DBUSERSFullAccount", + "DBUSERSTeam", + "DBUSERSFullTeam", + "DBUSERSGetAccountArg", + "DBUSERSGetAccountBatchArg", + "DBUSERSGetAccountBatchError", + "DBUSERSGetAccountError", + "DBUSERSIndividualSpaceAllocation", + "DBUSERSName", + "DBUSERSPaperAsFilesValue", + "DBUSERSSpaceAllocation", + "DBUSERSSpaceUsage", + "DBUSERSTeamSpaceAllocation", + "DBUSERSUserFeature", + "DBUSERSUserFeatureValue", + "DBUSERSUserFeaturesGetValuesBatchArg", + "DBUSERSUserFeaturesGetValuesBatchError", + "DBUSERSUserFeaturesGetValuesBatchResult" ] - }, + }, { - "name": "UsersCommon", + "name": "UsersCommon", "children": [ "DBUSERSCOMMONAccountType" ] - }, + }, { - "name": "Clients", + "name": "Clients", "children": [ - "DBUserClient", - "DBTeamClient", - "DBAppClient", + "DBUserClient", + "DBTeamClient", + "DBAppClient", "DBClientsManager" ] - }, + }, { - "name": "Networking", + "name": "Networking", "children": [ - "DBTask", - "DBRpcTask", - "DBUploadTask", - "DBDownloadUrlTask", - "DBDownloadDataTask", - "DBRequestError", - "DBRequestHttpError", - "DBRequestBadInputError", - "DBRequestAuthError", - "DBRequestAccessError", - "DBRequestRateLimitError", - "DBRequestInternalServerError", - "DBRequestClientError", - "DBTransportBaseConfig", - "DBTransportDefaultConfig", - "DBGlobalErrorResponseHandler", - "DBTransportBaseClient", - "DBTransportDefaultClient", - "DBProgressBlock", - "DBBatchUploadResponseBlock", + "DBTask", + "DBRpcTask", + "DBUploadTask", + "DBDownloadUrlTask", + "DBDownloadDataTask", + "DBRequestError", + "DBRequestHttpError", + "DBRequestBadInputError", + "DBRequestAuthError", + "DBRequestAccessError", + "DBRequestRateLimitError", + "DBRequestInternalServerError", + "DBRequestClientError", + "DBTransportBaseConfig", + "DBTransportDefaultConfig", + "DBGlobalErrorResponseHandler", + "DBTransportBaseClient", + "DBTransportDefaultClient", + "DBProgressBlock", + "DBBatchUploadResponseBlock", "DBTasksStorage" ] - }, + }, { - "name": "Custom", + "name": "Custom", "children": [ - "DBBatchUploadData", + "DBBatchUploadData", "DBBatchUploadTask" ] - }, + }, { - "name": "OAuth", + "name": "OAuth", "children": [ - "DBOAuthMobileManager", - "DBOAuthManager", - "DBAccessToken", - "DBOAuthResult", - "DBMobileSharedApplication", - "DBDesktopSharedApplication", + "DBOAuthMobileManager", + "DBOAuthManager", + "DBAccessToken", + "DBOAuthResult", + "DBMobileSharedApplication", + "DBDesktopSharedApplication", "DBSharedApplication" ] - }, + }, { - "name": "Serializers", + "name": "Serializers", "children": [ - "DBArraySerializer", - "DBNSDateSerializer", - "DBASYNCLaunchResultBaseSerializer", - "DBASYNCLaunchEmptyResultSerializer", - "DBASYNCPollArgSerializer", - "DBASYNCPollResultBaseSerializer", - "DBASYNCPollEmptyResultSerializer", - "DBASYNCPollErrorSerializer", - "DBAUTHAccessErrorSerializer", - "DBAUTHAuthErrorSerializer", - "DBAUTHInvalidAccountTypeErrorSerializer", - "DBAUTHPaperAccessErrorSerializer", - "DBAUTHRateLimitErrorSerializer", - "DBAUTHRateLimitReasonSerializer", - "DBAUTHTokenFromOAuth1ArgSerializer", - "DBAUTHTokenFromOAuth1ErrorSerializer", - "DBAUTHTokenFromOAuth1ResultSerializer", - "DBCOMMONPathRootSerializer", - "DBCOMMONPathRootErrorSerializer", - "DBCOMMONRootInfoSerializer", - "DBCOMMONTeamRootInfoSerializer", - "DBCOMMONUserRootInfoSerializer", - "DBFILEPROPERTIESAddPropertiesArgSerializer", - "DBFILEPROPERTIESTemplateErrorSerializer", - "DBFILEPROPERTIESPropertiesErrorSerializer", - "DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer", - "DBFILEPROPERTIESAddPropertiesErrorSerializer", - "DBFILEPROPERTIESPropertyGroupTemplateSerializer", - "DBFILEPROPERTIESAddTemplateArgSerializer", - "DBFILEPROPERTIESAddTemplateResultSerializer", - "DBFILEPROPERTIESGetTemplateArgSerializer", - "DBFILEPROPERTIESGetTemplateResultSerializer", - "DBFILEPROPERTIESListTemplateResultSerializer", - "DBFILEPROPERTIESLogicalOperatorSerializer", - "DBFILEPROPERTIESLookUpPropertiesErrorSerializer", - "DBFILEPROPERTIESLookupErrorSerializer", - "DBFILEPROPERTIESModifyTemplateErrorSerializer", - "DBFILEPROPERTIESOverwritePropertyGroupArgSerializer", - "DBFILEPROPERTIESPropertiesSearchArgSerializer", - "DBFILEPROPERTIESPropertiesSearchContinueArgSerializer", - "DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer", - "DBFILEPROPERTIESPropertiesSearchErrorSerializer", - "DBFILEPROPERTIESPropertiesSearchMatchSerializer", - "DBFILEPROPERTIESPropertiesSearchModeSerializer", - "DBFILEPROPERTIESPropertiesSearchQuerySerializer", - "DBFILEPROPERTIESPropertiesSearchResultSerializer", - "DBFILEPROPERTIESPropertyFieldSerializer", - "DBFILEPROPERTIESPropertyFieldTemplateSerializer", - "DBFILEPROPERTIESPropertyGroupSerializer", - "DBFILEPROPERTIESPropertyGroupUpdateSerializer", - "DBFILEPROPERTIESPropertyTypeSerializer", - "DBFILEPROPERTIESRemovePropertiesArgSerializer", - "DBFILEPROPERTIESRemovePropertiesErrorSerializer", - "DBFILEPROPERTIESRemoveTemplateArgSerializer", - "DBFILEPROPERTIESTemplateFilterBaseSerializer", - "DBFILEPROPERTIESTemplateFilterSerializer", - "DBFILEPROPERTIESTemplateOwnerTypeSerializer", - "DBFILEPROPERTIESUpdatePropertiesArgSerializer", - "DBFILEPROPERTIESUpdatePropertiesErrorSerializer", - "DBFILEPROPERTIESUpdateTemplateArgSerializer", - "DBFILEPROPERTIESUpdateTemplateResultSerializer", - "DBFILEREQUESTSCreateFileRequestArgsSerializer", - "DBFILEREQUESTSGeneralFileRequestsErrorSerializer", - "DBFILEREQUESTSFileRequestErrorSerializer", - "DBFILEREQUESTSCreateFileRequestErrorSerializer", - "DBFILEREQUESTSFileRequestSerializer", - "DBFILEREQUESTSFileRequestDeadlineSerializer", - "DBFILEREQUESTSGetFileRequestArgsSerializer", - "DBFILEREQUESTSGetFileRequestErrorSerializer", - "DBFILEREQUESTSGracePeriodSerializer", - "DBFILEREQUESTSListFileRequestsErrorSerializer", - "DBFILEREQUESTSListFileRequestsResultSerializer", - "DBFILEREQUESTSUpdateFileRequestArgsSerializer", - "DBFILEREQUESTSUpdateFileRequestDeadlineSerializer", - "DBFILEREQUESTSUpdateFileRequestErrorSerializer", - "DBFILESGetMetadataArgSerializer", - "DBFILESAlphaGetMetadataArgSerializer", - "DBFILESGetMetadataErrorSerializer", - "DBFILESAlphaGetMetadataErrorSerializer", - "DBFILESCommitInfoSerializer", - "DBFILESCommitInfoWithPropertiesSerializer", - "DBFILESCreateFolderArgSerializer", - "DBFILESCreateFolderErrorSerializer", - "DBFILESFileOpsResultSerializer", - "DBFILESCreateFolderResultSerializer", - "DBFILESDeleteArgSerializer", - "DBFILESDeleteBatchArgSerializer", - "DBFILESDeleteBatchErrorSerializer", - "DBFILESDeleteBatchJobStatusSerializer", - "DBFILESDeleteBatchLaunchSerializer", - "DBFILESDeleteBatchResultSerializer", - "DBFILESDeleteBatchResultDataSerializer", - "DBFILESDeleteBatchResultEntrySerializer", - "DBFILESDeleteErrorSerializer", - "DBFILESDeleteResultSerializer", - "DBFILESMetadataSerializer", - "DBFILESDeletedMetadataSerializer", - "DBFILESDimensionsSerializer", - "DBFILESDownloadArgSerializer", - "DBFILESDownloadErrorSerializer", - "DBFILESFileMetadataSerializer", - "DBFILESSharingInfoSerializer", - "DBFILESFileSharingInfoSerializer", - "DBFILESFolderMetadataSerializer", - "DBFILESFolderSharingInfoSerializer", - "DBFILESGetCopyReferenceArgSerializer", - "DBFILESGetCopyReferenceErrorSerializer", - "DBFILESGetCopyReferenceResultSerializer", - "DBFILESGetTemporaryLinkArgSerializer", - "DBFILESGetTemporaryLinkErrorSerializer", - "DBFILESGetTemporaryLinkResultSerializer", - "DBFILESGetThumbnailBatchArgSerializer", - "DBFILESGetThumbnailBatchErrorSerializer", - "DBFILESGetThumbnailBatchResultSerializer", - "DBFILESGetThumbnailBatchResultDataSerializer", - "DBFILESGetThumbnailBatchResultEntrySerializer", - "DBFILESGpsCoordinatesSerializer", - "DBFILESListFolderArgSerializer", - "DBFILESListFolderContinueArgSerializer", - "DBFILESListFolderContinueErrorSerializer", - "DBFILESListFolderErrorSerializer", - "DBFILESListFolderGetLatestCursorResultSerializer", - "DBFILESListFolderLongpollArgSerializer", - "DBFILESListFolderLongpollErrorSerializer", - "DBFILESListFolderLongpollResultSerializer", - "DBFILESListFolderResultSerializer", - "DBFILESListRevisionsArgSerializer", - "DBFILESListRevisionsErrorSerializer", - "DBFILESListRevisionsModeSerializer", - "DBFILESListRevisionsResultSerializer", - "DBFILESLookupErrorSerializer", - "DBFILESMediaInfoSerializer", - "DBFILESMediaMetadataSerializer", - "DBFILESPhotoMetadataSerializer", - "DBFILESPreviewArgSerializer", - "DBFILESPreviewErrorSerializer", - "DBFILESRelocationPathSerializer", - "DBFILESRelocationArgSerializer", - "DBFILESRelocationBatchArgSerializer", - "DBFILESRelocationErrorSerializer", - "DBFILESRelocationBatchErrorSerializer", - "DBFILESRelocationBatchJobStatusSerializer", - "DBFILESRelocationBatchLaunchSerializer", - "DBFILESRelocationBatchResultSerializer", - "DBFILESRelocationBatchResultDataSerializer", - "DBFILESRelocationResultSerializer", - "DBFILESRestoreArgSerializer", - "DBFILESRestoreErrorSerializer", - "DBFILESSaveCopyReferenceArgSerializer", - "DBFILESSaveCopyReferenceErrorSerializer", - "DBFILESSaveCopyReferenceResultSerializer", - "DBFILESSaveUrlArgSerializer", - "DBFILESSaveUrlErrorSerializer", - "DBFILESSaveUrlJobStatusSerializer", - "DBFILESSaveUrlResultSerializer", - "DBFILESSearchArgSerializer", - "DBFILESSearchErrorSerializer", - "DBFILESSearchMatchSerializer", - "DBFILESSearchMatchTypeSerializer", - "DBFILESSearchModeSerializer", - "DBFILESSearchResultSerializer", - "DBFILESSharedLinkSerializer", - "DBFILESThumbnailArgSerializer", - "DBFILESThumbnailErrorSerializer", - "DBFILESThumbnailFormatSerializer", - "DBFILESThumbnailSizeSerializer", - "DBFILESUploadErrorSerializer", - "DBFILESUploadErrorWithPropertiesSerializer", - "DBFILESUploadSessionAppendArgSerializer", - "DBFILESUploadSessionCursorSerializer", - "DBFILESUploadSessionFinishArgSerializer", - "DBFILESUploadSessionFinishBatchArgSerializer", - "DBFILESUploadSessionFinishBatchJobStatusSerializer", - "DBFILESUploadSessionFinishBatchLaunchSerializer", - "DBFILESUploadSessionFinishBatchResultSerializer", - "DBFILESUploadSessionFinishBatchResultEntrySerializer", - "DBFILESUploadSessionFinishErrorSerializer", - "DBFILESUploadSessionLookupErrorSerializer", - "DBFILESUploadSessionOffsetErrorSerializer", - "DBFILESUploadSessionStartArgSerializer", - "DBFILESUploadSessionStartResultSerializer", - "DBFILESUploadWriteFailedSerializer", - "DBFILESVideoMetadataSerializer", - "DBFILESWriteConflictErrorSerializer", - "DBFILESWriteErrorSerializer", - "DBFILESWriteModeSerializer", - "DBPAPERAddMemberSerializer", - "DBPAPERRefPaperDocSerializer", - "DBPAPERAddPaperDocUserSerializer", - "DBPAPERAddPaperDocUserMemberResultSerializer", - "DBPAPERAddPaperDocUserResultSerializer", - "DBPAPERCursorSerializer", - "DBPAPERPaperApiBaseErrorSerializer", - "DBPAPERDocLookupErrorSerializer", - "DBPAPERDocSubscriptionLevelSerializer", - "DBPAPERExportFormatSerializer", - "DBPAPERFolderSerializer", - "DBPAPERFolderSharingPolicyTypeSerializer", - "DBPAPERFolderSubscriptionLevelSerializer", - "DBPAPERFoldersContainingPaperDocSerializer", - "DBPAPERImportFormatSerializer", - "DBPAPERInviteeInfoWithPermissionLevelSerializer", - "DBPAPERListDocsCursorErrorSerializer", - "DBPAPERListPaperDocsArgsSerializer", - "DBPAPERListPaperDocsContinueArgsSerializer", - "DBPAPERListPaperDocsFilterBySerializer", - "DBPAPERListPaperDocsResponseSerializer", - "DBPAPERListPaperDocsSortBySerializer", - "DBPAPERListPaperDocsSortOrderSerializer", - "DBPAPERListUsersCursorErrorSerializer", - "DBPAPERListUsersOnFolderArgsSerializer", - "DBPAPERListUsersOnFolderContinueArgsSerializer", - "DBPAPERListUsersOnFolderResponseSerializer", - "DBPAPERListUsersOnPaperDocArgsSerializer", - "DBPAPERListUsersOnPaperDocContinueArgsSerializer", - "DBPAPERListUsersOnPaperDocResponseSerializer", - "DBPAPERPaperApiCursorErrorSerializer", - "DBPAPERPaperDocCreateArgsSerializer", - "DBPAPERPaperDocCreateErrorSerializer", - "DBPAPERPaperDocCreateUpdateResultSerializer", - "DBPAPERPaperDocExportSerializer", - "DBPAPERPaperDocExportResultSerializer", - "DBPAPERPaperDocPermissionLevelSerializer", - "DBPAPERPaperDocSharingPolicySerializer", - "DBPAPERPaperDocUpdateArgsSerializer", - "DBPAPERPaperDocUpdateErrorSerializer", - "DBPAPERPaperDocUpdatePolicySerializer", - "DBPAPERRemovePaperDocUserSerializer", - "DBPAPERSharingPolicySerializer", - "DBPAPERSharingTeamPolicyTypeSerializer", - "DBPAPERSharingPublicPolicyTypeSerializer", - "DBPAPERUserInfoWithPermissionLevelSerializer", - "DBPAPERUserOnPaperDocFilterSerializer", - "DBSHARINGAccessLevelSerializer", - "DBSHARINGAclUpdatePolicySerializer", - "DBSHARINGAddFileMemberArgsSerializer", - "DBSHARINGAddFileMemberErrorSerializer", - "DBSHARINGAddFolderMemberArgSerializer", - "DBSHARINGAddFolderMemberErrorSerializer", - "DBSHARINGAddMemberSerializer", - "DBSHARINGAddMemberSelectorErrorSerializer", - "DBSHARINGAudienceExceptionContentInfoSerializer", - "DBSHARINGAudienceExceptionsSerializer", - "DBSHARINGAudienceRestrictingSharedFolderSerializer", - "DBSHARINGChangeFileMemberAccessArgsSerializer", - "DBSHARINGLinkMetadataSerializer", - "DBSHARINGCollectionLinkMetadataSerializer", - "DBSHARINGCreateSharedLinkArgSerializer", - "DBSHARINGCreateSharedLinkErrorSerializer", - "DBSHARINGCreateSharedLinkWithSettingsArgSerializer", - "DBSHARINGCreateSharedLinkWithSettingsErrorSerializer", - "DBSHARINGSharedContentLinkMetadataBaseSerializer", - "DBSHARINGExpectedSharedContentLinkMetadataSerializer", - "DBSHARINGFileActionSerializer", - "DBSHARINGFileErrorResultSerializer", - "DBSHARINGSharedLinkMetadataSerializer", - "DBSHARINGFileLinkMetadataSerializer", - "DBSHARINGFileMemberActionErrorSerializer", - "DBSHARINGFileMemberActionIndividualResultSerializer", - "DBSHARINGFileMemberActionResultSerializer", - "DBSHARINGFileMemberRemoveActionResultSerializer", - "DBSHARINGFilePermissionSerializer", - "DBSHARINGFolderActionSerializer", - "DBSHARINGFolderLinkMetadataSerializer", - "DBSHARINGFolderPermissionSerializer", - "DBSHARINGFolderPolicySerializer", - "DBSHARINGGetFileMetadataArgSerializer", - "DBSHARINGGetFileMetadataBatchArgSerializer", - "DBSHARINGGetFileMetadataBatchResultSerializer", - "DBSHARINGGetFileMetadataErrorSerializer", - "DBSHARINGGetFileMetadataIndividualResultSerializer", - "DBSHARINGGetMetadataArgsSerializer", - "DBSHARINGSharedLinkErrorSerializer", - "DBSHARINGGetSharedLinkFileErrorSerializer", - "DBSHARINGGetSharedLinkMetadataArgSerializer", - "DBSHARINGGetSharedLinksArgSerializer", - "DBSHARINGGetSharedLinksErrorSerializer", - "DBSHARINGGetSharedLinksResultSerializer", - "DBSHARINGGroupInfoSerializer", - "DBSHARINGMembershipInfoSerializer", - "DBSHARINGGroupMembershipInfoSerializer", - "DBSHARINGInsufficientPlanSerializer", - "DBSHARINGInsufficientQuotaAmountsSerializer", - "DBSHARINGInviteeInfoSerializer", - "DBSHARINGInviteeMembershipInfoSerializer", - "DBSHARINGJobErrorSerializer", - "DBSHARINGJobStatusSerializer", - "DBSHARINGLinkActionSerializer", - "DBSHARINGLinkAudienceSerializer", - "DBSHARINGLinkExpirySerializer", - "DBSHARINGLinkPasswordSerializer", - "DBSHARINGLinkPermissionSerializer", - "DBSHARINGLinkPermissionsSerializer", - "DBSHARINGLinkSettingsSerializer", - "DBSHARINGListFileMembersArgSerializer", - "DBSHARINGListFileMembersBatchArgSerializer", - "DBSHARINGListFileMembersBatchResultSerializer", - "DBSHARINGListFileMembersContinueArgSerializer", - "DBSHARINGListFileMembersContinueErrorSerializer", - "DBSHARINGListFileMembersCountResultSerializer", - "DBSHARINGListFileMembersErrorSerializer", - "DBSHARINGListFileMembersIndividualResultSerializer", - "DBSHARINGListFilesArgSerializer", - "DBSHARINGListFilesContinueArgSerializer", - "DBSHARINGListFilesContinueErrorSerializer", - "DBSHARINGListFilesResultSerializer", - "DBSHARINGListFolderMembersCursorArgSerializer", - "DBSHARINGListFolderMembersArgsSerializer", - "DBSHARINGListFolderMembersContinueArgSerializer", - "DBSHARINGListFolderMembersContinueErrorSerializer", - "DBSHARINGListFoldersArgsSerializer", - "DBSHARINGListFoldersContinueArgSerializer", - "DBSHARINGListFoldersContinueErrorSerializer", - "DBSHARINGListFoldersResultSerializer", - "DBSHARINGListSharedLinksArgSerializer", - "DBSHARINGListSharedLinksErrorSerializer", - "DBSHARINGListSharedLinksResultSerializer", - "DBSHARINGMemberAccessLevelResultSerializer", - "DBSHARINGMemberActionSerializer", - "DBSHARINGMemberPermissionSerializer", - "DBSHARINGMemberPolicySerializer", - "DBSHARINGMemberSelectorSerializer", - "DBSHARINGModifySharedLinkSettingsArgsSerializer", - "DBSHARINGModifySharedLinkSettingsErrorSerializer", - "DBSHARINGMountFolderArgSerializer", - "DBSHARINGMountFolderErrorSerializer", - "DBSHARINGParentFolderAccessInfoSerializer", - "DBSHARINGPathLinkMetadataSerializer", - "DBSHARINGPendingUploadModeSerializer", - "DBSHARINGPermissionDeniedReasonSerializer", - "DBSHARINGRelinquishFileMembershipArgSerializer", - "DBSHARINGRelinquishFileMembershipErrorSerializer", - "DBSHARINGRelinquishFolderMembershipArgSerializer", - "DBSHARINGRelinquishFolderMembershipErrorSerializer", - "DBSHARINGRemoveFileMemberArgSerializer", - "DBSHARINGRemoveFileMemberErrorSerializer", - "DBSHARINGRemoveFolderMemberArgSerializer", - "DBSHARINGRemoveFolderMemberErrorSerializer", - "DBSHARINGRemoveMemberJobStatusSerializer", - "DBSHARINGRequestedVisibilitySerializer", - "DBSHARINGResolvedVisibilitySerializer", - "DBSHARINGRevokeSharedLinkArgSerializer", - "DBSHARINGRevokeSharedLinkErrorSerializer", - "DBSHARINGShareFolderArgBaseSerializer", - "DBSHARINGShareFolderArgSerializer", - "DBSHARINGShareFolderErrorBaseSerializer", - "DBSHARINGShareFolderErrorSerializer", - "DBSHARINGShareFolderJobStatusSerializer", - "DBSHARINGShareFolderLaunchSerializer", - "DBSHARINGSharePathErrorSerializer", - "DBSHARINGSharedContentLinkMetadataSerializer", - "DBSHARINGSharedFileMembersSerializer", - "DBSHARINGSharedFileMetadataSerializer", - "DBSHARINGSharedFolderAccessErrorSerializer", - "DBSHARINGSharedFolderMemberErrorSerializer", - "DBSHARINGSharedFolderMembersSerializer", - "DBSHARINGSharedFolderMetadataBaseSerializer", - "DBSHARINGSharedFolderMetadataSerializer", - "DBSHARINGSharedLinkAccessFailureReasonSerializer", - "DBSHARINGSharedLinkPolicySerializer", - "DBSHARINGSharedLinkSettingsSerializer", - "DBSHARINGSharedLinkSettingsErrorSerializer", - "DBSHARINGSharingFileAccessErrorSerializer", - "DBSHARINGSharingUserErrorSerializer", - "DBSHARINGTeamMemberInfoSerializer", - "DBSHARINGTransferFolderArgSerializer", - "DBSHARINGTransferFolderErrorSerializer", - "DBSHARINGUnmountFolderArgSerializer", - "DBSHARINGUnmountFolderErrorSerializer", - "DBSHARINGUnshareFileArgSerializer", - "DBSHARINGUnshareFileErrorSerializer", - "DBSHARINGUnshareFolderArgSerializer", - "DBSHARINGUnshareFolderErrorSerializer", - "DBSHARINGUpdateFileMemberArgsSerializer", - "DBSHARINGUpdateFolderMemberArgSerializer", - "DBSHARINGUpdateFolderMemberErrorSerializer", - "DBSHARINGUpdateFolderPolicyArgSerializer", - "DBSHARINGUpdateFolderPolicyErrorSerializer", - "DBSHARINGUserMembershipInfoSerializer", - "DBSHARINGUserFileMembershipInfoSerializer", - "DBSHARINGUserInfoSerializer", - "DBSHARINGViewerInfoPolicySerializer", - "DBSHARINGVisibilitySerializer", - "DBTEAMDeviceSessionSerializer", - "DBTEAMActiveWebSessionSerializer", - "DBTEAMAdminTierSerializer", - "DBTEAMApiAppSerializer", - "DBTEAMBaseDfbReportSerializer", - "DBTEAMBaseTeamFolderErrorSerializer", - "DBTEAMCustomQuotaErrorSerializer", - "DBTEAMCustomQuotaResultSerializer", - "DBTEAMCustomQuotaUsersArgSerializer", - "DBTEAMDateRangeSerializer", - "DBTEAMDateRangeErrorSerializer", - "DBTEAMDesktopClientSessionSerializer", - "DBTEAMDesktopPlatformSerializer", - "DBTEAMDeviceSessionArgSerializer", - "DBTEAMDevicesActiveSerializer", - "DBTEAMExcludedUsersListArgSerializer", - "DBTEAMExcludedUsersListContinueArgSerializer", - "DBTEAMExcludedUsersListContinueErrorSerializer", - "DBTEAMExcludedUsersListErrorSerializer", - "DBTEAMExcludedUsersListResultSerializer", - "DBTEAMExcludedUsersUpdateArgSerializer", - "DBTEAMExcludedUsersUpdateErrorSerializer", - "DBTEAMExcludedUsersUpdateResultSerializer", - "DBTEAMExcludedUsersUpdateStatusSerializer", - "DBTEAMFeatureSerializer", - "DBTEAMFeatureValueSerializer", - "DBTEAMFeaturesGetValuesBatchArgSerializer", - "DBTEAMFeaturesGetValuesBatchErrorSerializer", - "DBTEAMFeaturesGetValuesBatchResultSerializer", - "DBTEAMGetActivityReportSerializer", - "DBTEAMGetDevicesReportSerializer", - "DBTEAMGetMembershipReportSerializer", - "DBTEAMGetStorageReportSerializer", - "DBTEAMGroupAccessTypeSerializer", - "DBTEAMGroupCreateArgSerializer", - "DBTEAMGroupCreateErrorSerializer", - "DBTEAMGroupSelectorErrorSerializer", - "DBTEAMGroupSelectorWithTeamGroupErrorSerializer", - "DBTEAMGroupDeleteErrorSerializer", - "DBTEAMGroupFullInfoSerializer", - "DBTEAMGroupMemberInfoSerializer", - "DBTEAMGroupMemberSelectorSerializer", - "DBTEAMGroupMemberSelectorErrorSerializer", - "DBTEAMGroupMemberSetAccessTypeErrorSerializer", - "DBTEAMIncludeMembersArgSerializer", - "DBTEAMGroupMembersAddArgSerializer", - "DBTEAMGroupMembersAddErrorSerializer", - "DBTEAMGroupMembersChangeResultSerializer", - "DBTEAMGroupMembersRemoveArgSerializer", - "DBTEAMGroupMembersSelectorErrorSerializer", - "DBTEAMGroupMembersRemoveErrorSerializer", - "DBTEAMGroupMembersSelectorSerializer", - "DBTEAMGroupMembersSetAccessTypeArgSerializer", - "DBTEAMGroupSelectorSerializer", - "DBTEAMGroupUpdateArgsSerializer", - "DBTEAMGroupUpdateErrorSerializer", - "DBTEAMGroupsGetInfoErrorSerializer", - "DBTEAMGroupsGetInfoItemSerializer", - "DBTEAMGroupsListArgSerializer", - "DBTEAMGroupsListContinueArgSerializer", - "DBTEAMGroupsListContinueErrorSerializer", - "DBTEAMGroupsListResultSerializer", - "DBTEAMGroupsMembersListArgSerializer", - "DBTEAMGroupsMembersListContinueArgSerializer", - "DBTEAMGroupsMembersListContinueErrorSerializer", - "DBTEAMGroupsMembersListResultSerializer", - "DBTEAMGroupsPollErrorSerializer", - "DBTEAMGroupsSelectorSerializer", - "DBTEAMHasTeamFileEventsValueSerializer", - "DBTEAMHasTeamSharedDropboxValueSerializer", - "DBTEAMListMemberAppsArgSerializer", - "DBTEAMListMemberAppsErrorSerializer", - "DBTEAMListMemberAppsResultSerializer", - "DBTEAMListMemberDevicesArgSerializer", - "DBTEAMListMemberDevicesErrorSerializer", - "DBTEAMListMemberDevicesResultSerializer", - "DBTEAMListMembersAppsArgSerializer", - "DBTEAMListMembersAppsErrorSerializer", - "DBTEAMListMembersAppsResultSerializer", - "DBTEAMListMembersDevicesArgSerializer", - "DBTEAMListMembersDevicesErrorSerializer", - "DBTEAMListMembersDevicesResultSerializer", - "DBTEAMListTeamAppsArgSerializer", - "DBTEAMListTeamAppsErrorSerializer", - "DBTEAMListTeamAppsResultSerializer", - "DBTEAMListTeamDevicesArgSerializer", - "DBTEAMListTeamDevicesErrorSerializer", - "DBTEAMListTeamDevicesResultSerializer", - "DBTEAMMemberAccessSerializer", - "DBTEAMMemberAddArgSerializer", - "DBTEAMMemberAddResultSerializer", - "DBTEAMMemberDevicesSerializer", - "DBTEAMMemberLinkedAppsSerializer", - "DBTEAMMemberProfileSerializer", - "DBTEAMUserSelectorErrorSerializer", - "DBTEAMMemberSelectorErrorSerializer", - "DBTEAMMembersAddArgSerializer", - "DBTEAMMembersAddJobStatusSerializer", - "DBTEAMMembersAddLaunchSerializer", - "DBTEAMMembersDeactivateArgSerializer", - "DBTEAMMembersDeactivateErrorSerializer", - "DBTEAMMembersGetInfoArgsSerializer", - "DBTEAMMembersGetInfoErrorSerializer", - "DBTEAMMembersGetInfoItemSerializer", - "DBTEAMMembersListArgSerializer", - "DBTEAMMembersListContinueArgSerializer", - "DBTEAMMembersListContinueErrorSerializer", - "DBTEAMMembersListErrorSerializer", - "DBTEAMMembersListResultSerializer", - "DBTEAMMembersRecoverArgSerializer", - "DBTEAMMembersRecoverErrorSerializer", - "DBTEAMMembersRemoveArgSerializer", - "DBTEAMMembersRemoveErrorSerializer", - "DBTEAMMembersSendWelcomeErrorSerializer", - "DBTEAMMembersSetPermissionsArgSerializer", - "DBTEAMMembersSetPermissionsErrorSerializer", - "DBTEAMMembersSetPermissionsResultSerializer", - "DBTEAMMembersSetProfileArgSerializer", - "DBTEAMMembersSetProfileErrorSerializer", - "DBTEAMMembersSuspendErrorSerializer", - "DBTEAMMembersUnsuspendArgSerializer", - "DBTEAMMembersUnsuspendErrorSerializer", - "DBTEAMMobileClientPlatformSerializer", - "DBTEAMMobileClientSessionSerializer", - "DBTEAMNamespaceMetadataSerializer", - "DBTEAMNamespaceTypeSerializer", - "DBTEAMRemoveCustomQuotaResultSerializer", - "DBTEAMRemovedStatusSerializer", - "DBTEAMRevokeDesktopClientArgSerializer", - "DBTEAMRevokeDeviceSessionArgSerializer", - "DBTEAMRevokeDeviceSessionBatchArgSerializer", - "DBTEAMRevokeDeviceSessionBatchErrorSerializer", - "DBTEAMRevokeDeviceSessionBatchResultSerializer", - "DBTEAMRevokeDeviceSessionErrorSerializer", - "DBTEAMRevokeDeviceSessionStatusSerializer", - "DBTEAMRevokeLinkedApiAppArgSerializer", - "DBTEAMRevokeLinkedApiAppBatchArgSerializer", - "DBTEAMRevokeLinkedAppBatchErrorSerializer", - "DBTEAMRevokeLinkedAppBatchResultSerializer", - "DBTEAMRevokeLinkedAppErrorSerializer", - "DBTEAMRevokeLinkedAppStatusSerializer", - "DBTEAMSetCustomQuotaArgSerializer", - "DBTEAMSetCustomQuotaErrorSerializer", - "DBTEAMStorageBucketSerializer", - "DBTEAMTeamFolderAccessErrorSerializer", - "DBTEAMTeamFolderActivateErrorSerializer", - "DBTEAMTeamFolderIdArgSerializer", - "DBTEAMTeamFolderArchiveArgSerializer", - "DBTEAMTeamFolderArchiveErrorSerializer", - "DBTEAMTeamFolderArchiveJobStatusSerializer", - "DBTEAMTeamFolderArchiveLaunchSerializer", - "DBTEAMTeamFolderCreateArgSerializer", - "DBTEAMTeamFolderCreateErrorSerializer", - "DBTEAMTeamFolderGetInfoItemSerializer", - "DBTEAMTeamFolderIdListArgSerializer", - "DBTEAMTeamFolderInvalidStatusErrorSerializer", - "DBTEAMTeamFolderListArgSerializer", - "DBTEAMTeamFolderListContinueArgSerializer", - "DBTEAMTeamFolderListContinueErrorSerializer", - "DBTEAMTeamFolderListErrorSerializer", - "DBTEAMTeamFolderListResultSerializer", - "DBTEAMTeamFolderMetadataSerializer", - "DBTEAMTeamFolderPermanentlyDeleteErrorSerializer", - "DBTEAMTeamFolderRenameArgSerializer", - "DBTEAMTeamFolderRenameErrorSerializer", - "DBTEAMTeamFolderStatusSerializer", - "DBTEAMTeamFolderTeamSharedDropboxErrorSerializer", - "DBTEAMTeamGetInfoResultSerializer", - "DBTEAMTeamMemberInfoSerializer", - "DBTEAMTeamMemberProfileSerializer", - "DBTEAMTeamMemberStatusSerializer", - "DBTEAMTeamMembershipTypeSerializer", - "DBTEAMTeamNamespacesListArgSerializer", - "DBTEAMTeamNamespacesListContinueArgSerializer", - "DBTEAMTeamNamespacesListContinueErrorSerializer", - "DBTEAMTeamNamespacesListResultSerializer", - "DBTEAMTokenGetAuthenticatedAdminErrorSerializer", - "DBTEAMTokenGetAuthenticatedAdminResultSerializer", - "DBTEAMUploadApiRateLimitValueSerializer", - "DBTEAMUserCustomQuotaArgSerializer", - "DBTEAMUserCustomQuotaResultSerializer", - "DBTEAMUserSelectorArgSerializer", - "DBTEAMUsersSelectorArgSerializer", - "DBTEAMCOMMONGroupManagementTypeSerializer", - "DBTEAMCOMMONGroupSummarySerializer", - "DBTEAMCOMMONGroupTypeSerializer", - "DBTEAMCOMMONTimeRangeSerializer", - "DBTEAMLOGAccessMethodLogInfoSerializer", - "DBTEAMLOGAccountCaptureAvailabilitySerializer", - "DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer", - "DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer", - "DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer", - "DBTEAMLOGAccountCapturePolicySerializer", - "DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer", - "DBTEAMLOGActorLogInfoSerializer", - "DBTEAMLOGAdminRoleSerializer", - "DBTEAMLOGAllowDownloadDisabledDetailsSerializer", - "DBTEAMLOGAllowDownloadEnabledDetailsSerializer", - "DBTEAMLOGApiSessionLogInfoSerializer", - "DBTEAMLOGAppLinkTeamDetailsSerializer", - "DBTEAMLOGAppLinkUserDetailsSerializer", - "DBTEAMLOGAppLogInfoSerializer", - "DBTEAMLOGAppUnlinkTeamDetailsSerializer", - "DBTEAMLOGAppUnlinkUserDetailsSerializer", - "DBTEAMLOGAssetLogInfoSerializer", - "DBTEAMLOGCertificateSerializer", - "DBTEAMLOGCollectionShareDetailsSerializer", - "DBTEAMLOGConfidentialitySerializer", - "DBTEAMLOGContentPermanentDeletePolicySerializer", - "DBTEAMLOGContextLogInfoSerializer", - "DBTEAMLOGCreateFolderDetailsSerializer", - "DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer", - "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer", - "DBTEAMLOGSessionLogInfoSerializer", - "DBTEAMLOGDesktopSessionLogInfoSerializer", - "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer", - "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer", - "DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer", - "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer", - "DBTEAMLOGDeviceApprovalsPolicySerializer", - "DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer", - "DBTEAMLOGDeviceChangeIpMobileDetailsSerializer", - "DBTEAMLOGDeviceChangeIpWebDetailsSerializer", - "DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer", - "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer", - "DBTEAMLOGDeviceLinkFailDetailsSerializer", - "DBTEAMLOGDeviceLinkSuccessDetailsSerializer", - "DBTEAMLOGDeviceLogInfoSerializer", - "DBTEAMLOGDeviceManagementDisabledDetailsSerializer", - "DBTEAMLOGDeviceManagementEnabledDetailsSerializer", - "DBTEAMLOGDeviceTypeSerializer", - "DBTEAMLOGDeviceUnlinkDetailsSerializer", - "DBTEAMLOGDeviceUnlinkPolicySerializer", - "DBTEAMLOGDisabledDomainInvitesDetailsSerializer", - "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer", - "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer", - "DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer", - "DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer", - "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer", - "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer", - "DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer", - "DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer", - "DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer", - "DBTEAMLOGDurationLogInfoSerializer", - "DBTEAMLOGEmmAddExceptionDetailsSerializer", - "DBTEAMLOGEmmChangePolicyDetailsSerializer", - "DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer", - "DBTEAMLOGEmmCreateUsageReportDetailsSerializer", - "DBTEAMLOGEmmErrorDetailsSerializer", - "DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer", - "DBTEAMLOGEmmRemoveExceptionDetailsSerializer", - "DBTEAMLOGEnabledDomainInvitesDetailsSerializer", - "DBTEAMLOGEventCategorySerializer", - "DBTEAMLOGEventDetailsSerializer", - "DBTEAMLOGEventTypeSerializer", - "DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer", - "DBTEAMLOGExtendedVersionHistoryPolicySerializer", - "DBTEAMLOGFailureDetailsLogInfoSerializer", - "DBTEAMLOGFileAddCommentDetailsSerializer", - "DBTEAMLOGFileAddDetailsSerializer", - "DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer", - "DBTEAMLOGFileCommentNotificationPolicySerializer", - "DBTEAMLOGFileCommentsChangePolicyDetailsSerializer", - "DBTEAMLOGFileCommentsPolicySerializer", - "DBTEAMLOGFileCopyDetailsSerializer", - "DBTEAMLOGFileDeleteCommentDetailsSerializer", - "DBTEAMLOGFileDeleteDetailsSerializer", - "DBTEAMLOGFileDownloadDetailsSerializer", - "DBTEAMLOGFileEditDetailsSerializer", - "DBTEAMLOGFileGetCopyReferenceDetailsSerializer", - "DBTEAMLOGFileLikeCommentDetailsSerializer", - "DBTEAMLOGFileOrFolderLogInfoSerializer", - "DBTEAMLOGFileLogInfoSerializer", - "DBTEAMLOGFileMoveDetailsSerializer", - "DBTEAMLOGFilePermanentlyDeleteDetailsSerializer", - "DBTEAMLOGFilePreviewDetailsSerializer", - "DBTEAMLOGFileRenameDetailsSerializer", - "DBTEAMLOGFileRequestAddDeadlineDetailsSerializer", - "DBTEAMLOGFileRequestChangeDetailsSerializer", - "DBTEAMLOGFileRequestChangeFolderDetailsSerializer", - "DBTEAMLOGFileRequestCloseDetailsSerializer", - "DBTEAMLOGFileRequestCreateDetailsSerializer", - "DBTEAMLOGFileRequestDetailsSerializer", - "DBTEAMLOGFileRequestReceiveFileDetailsSerializer", - "DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer", - "DBTEAMLOGFileRequestSendDetailsSerializer", - "DBTEAMLOGFileRequestsChangePolicyDetailsSerializer", - "DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer", - "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer", - "DBTEAMLOGFileRequestsPolicySerializer", - "DBTEAMLOGFileResolveCommentDetailsSerializer", - "DBTEAMLOGFileRestoreDetailsSerializer", - "DBTEAMLOGFileRevertDetailsSerializer", - "DBTEAMLOGFileRollbackChangesDetailsSerializer", - "DBTEAMLOGFileSaveCopyReferenceDetailsSerializer", - "DBTEAMLOGFileUnlikeCommentDetailsSerializer", - "DBTEAMLOGFileUnresolveCommentDetailsSerializer", - "DBTEAMLOGFolderLogInfoSerializer", - "DBTEAMLOGGeoLocationLogInfoSerializer", - "DBTEAMLOGGetTeamEventsArgSerializer", - "DBTEAMLOGGetTeamEventsContinueArgSerializer", - "DBTEAMLOGGetTeamEventsContinueErrorSerializer", - "DBTEAMLOGGetTeamEventsErrorSerializer", - "DBTEAMLOGGetTeamEventsResultSerializer", - "DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer", - "DBTEAMLOGGoogleSsoPolicySerializer", - "DBTEAMLOGGroupAddExternalIdDetailsSerializer", - "DBTEAMLOGGroupAddMemberDetailsSerializer", - "DBTEAMLOGGroupChangeExternalIdDetailsSerializer", - "DBTEAMLOGGroupChangeManagementTypeDetailsSerializer", - "DBTEAMLOGGroupChangeMemberRoleDetailsSerializer", - "DBTEAMLOGGroupCreateDetailsSerializer", - "DBTEAMLOGGroupDeleteDetailsSerializer", - "DBTEAMLOGGroupJoinPolicySerializer", - "DBTEAMLOGGroupLogInfoSerializer", - "DBTEAMLOGGroupMovedDetailsSerializer", - "DBTEAMLOGGroupRemoveExternalIdDetailsSerializer", - "DBTEAMLOGGroupRemoveMemberDetailsSerializer", - "DBTEAMLOGGroupRenameDetailsSerializer", - "DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer", - "DBTEAMLOGJoinTeamDetailsSerializer", - "DBTEAMLOGLinkAudienceSerializer", - "DBTEAMLOGLoginFailDetailsSerializer", - "DBTEAMLOGLoginMethodSerializer", - "DBTEAMLOGLoginSuccessDetailsSerializer", - "DBTEAMLOGLogoutDetailsSerializer", - "DBTEAMLOGMemberAddNameDetailsSerializer", - "DBTEAMLOGMemberChangeAdminRoleDetailsSerializer", - "DBTEAMLOGMemberChangeEmailDetailsSerializer", - "DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer", - "DBTEAMLOGMemberChangeNameDetailsSerializer", - "DBTEAMLOGMemberChangeStatusDetailsSerializer", - "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer", - "DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer", - "DBTEAMLOGMemberRequestsPolicySerializer", - "DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer", - "DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer", - "DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer", - "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer", - "DBTEAMLOGMemberStatusSerializer", - "DBTEAMLOGMemberSuggestDetailsSerializer", - "DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer", - "DBTEAMLOGMemberSuggestionsPolicySerializer", - "DBTEAMLOGMemberTransferAccountContentsDetailsSerializer", - "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer", - "DBTEAMLOGMicrosoftOfficeAddinPolicySerializer", - "DBTEAMLOGMissingDetailsSerializer", - "DBTEAMLOGMobileSessionLogInfoSerializer", - "DBTEAMLOGNamespaceRelativePathLogInfoSerializer", - "DBTEAMLOGNetworkControlChangePolicyDetailsSerializer", - "DBTEAMLOGNetworkControlPolicySerializer", - "DBTEAMLOGUserLogInfoSerializer", - "DBTEAMLOGNonTeamMemberLogInfoSerializer", - "DBTEAMLOGNoteAclInviteOnlyDetailsSerializer", - "DBTEAMLOGNoteAclLinkDetailsSerializer", - "DBTEAMLOGNoteAclTeamLinkDetailsSerializer", - "DBTEAMLOGNoteShareReceiveDetailsSerializer", - "DBTEAMLOGNoteSharedDetailsSerializer", - "DBTEAMLOGOpenNoteSharedDetailsSerializer", - "DBTEAMLOGOriginLogInfoSerializer", - "DBTEAMLOGPaperAccessTypeSerializer", - "DBTEAMLOGPaperAdminExportStartDetailsSerializer", - "DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer", - "DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer", - "DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer", - "DBTEAMLOGPaperChangePolicyDetailsSerializer", - "DBTEAMLOGPaperContentAddMemberDetailsSerializer", - "DBTEAMLOGPaperContentAddToFolderDetailsSerializer", - "DBTEAMLOGPaperContentArchiveDetailsSerializer", - "DBTEAMLOGPaperContentCreateDetailsSerializer", - "DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer", - "DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer", - "DBTEAMLOGPaperContentRemoveMemberDetailsSerializer", - "DBTEAMLOGPaperContentRenameDetailsSerializer", - "DBTEAMLOGPaperContentRestoreDetailsSerializer", - "DBTEAMLOGPaperDocAddCommentDetailsSerializer", - "DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer", - "DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer", - "DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer", - "DBTEAMLOGPaperDocDeleteCommentDetailsSerializer", - "DBTEAMLOGPaperDocDeletedDetailsSerializer", - "DBTEAMLOGPaperDocDownloadDetailsSerializer", - "DBTEAMLOGPaperDocEditCommentDetailsSerializer", - "DBTEAMLOGPaperDocEditDetailsSerializer", - "DBTEAMLOGPaperDocFollowedDetailsSerializer", - "DBTEAMLOGPaperDocMentionDetailsSerializer", - "DBTEAMLOGPaperDocRequestAccessDetailsSerializer", - "DBTEAMLOGPaperDocResolveCommentDetailsSerializer", - "DBTEAMLOGPaperDocRevertDetailsSerializer", - "DBTEAMLOGPaperDocSlackShareDetailsSerializer", - "DBTEAMLOGPaperDocTeamInviteDetailsSerializer", - "DBTEAMLOGPaperDocTrashedDetailsSerializer", - "DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer", - "DBTEAMLOGPaperDocUntrashedDetailsSerializer", - "DBTEAMLOGPaperDocViewDetailsSerializer", - "DBTEAMLOGPaperDocumentLogInfoSerializer", - "DBTEAMLOGPaperDownloadFormatSerializer", - "DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer", - "DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer", - "DBTEAMLOGPaperExternalViewAllowDetailsSerializer", - "DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer", - "DBTEAMLOGPaperExternalViewForbidDetailsSerializer", - "DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer", - "DBTEAMLOGPaperFolderDeletedDetailsSerializer", - "DBTEAMLOGPaperFolderFollowedDetailsSerializer", - "DBTEAMLOGPaperFolderLogInfoSerializer", - "DBTEAMLOGPaperFolderTeamInviteDetailsSerializer", - "DBTEAMLOGPaperMemberPolicySerializer", - "DBTEAMLOGParticipantLogInfoSerializer", - "DBTEAMLOGPasswordChangeDetailsSerializer", - "DBTEAMLOGPasswordResetAllDetailsSerializer", - "DBTEAMLOGPasswordResetDetailsSerializer", - "DBTEAMLOGPathLogInfoSerializer", - "DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer", - "DBTEAMLOGPlacementRestrictionSerializer", - "DBTEAMLOGRelocateAssetReferencesLogInfoSerializer", - "DBTEAMLOGResellerLogInfoSerializer", - "DBTEAMLOGResellerSupportSessionEndDetailsSerializer", - "DBTEAMLOGResellerSupportSessionStartDetailsSerializer", - "DBTEAMLOGSfAddGroupDetailsSerializer", - "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer", - "DBTEAMLOGSfExternalInviteWarnDetailsSerializer", - "DBTEAMLOGSfInviteGroupDetailsSerializer", - "DBTEAMLOGSfNestDetailsSerializer", - "DBTEAMLOGSfTeamDeclineDetailsSerializer", - "DBTEAMLOGSfTeamGrantAccessDetailsSerializer", - "DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer", - "DBTEAMLOGSfTeamInviteDetailsSerializer", - "DBTEAMLOGSfTeamJoinDetailsSerializer", - "DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer", - "DBTEAMLOGSfTeamUninviteDetailsSerializer", - "DBTEAMLOGSharedContentAddInviteesDetailsSerializer", - "DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer", - "DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer", - "DBTEAMLOGSharedContentAddMemberDetailsSerializer", - "DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer", - "DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer", - "DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer", - "DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer", - "DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer", - "DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer", - "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer", - "DBTEAMLOGSharedContentClaimInvitationDetailsSerializer", - "DBTEAMLOGSharedContentCopyDetailsSerializer", - "DBTEAMLOGSharedContentDownloadDetailsSerializer", - "DBTEAMLOGSharedContentDownloadsPolicySerializer", - "DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer", - "DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer", - "DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer", - "DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer", - "DBTEAMLOGSharedContentRemoveMemberDetailsSerializer", - "DBTEAMLOGSharedContentRequestAccessDetailsSerializer", - "DBTEAMLOGSharedContentUnshareDetailsSerializer", - "DBTEAMLOGSharedContentViewDetailsSerializer", - "DBTEAMLOGSharedContentViewerInfoPolicySerializer", - "DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer", - "DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer", - "DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer", - "DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer", - "DBTEAMLOGSharedFolderCreateDetailsSerializer", - "DBTEAMLOGSharedFolderLinkPolicySerializer", - "DBTEAMLOGSharedFolderMemberPolicySerializer", - "DBTEAMLOGSharedFolderMembershipManagementPolicySerializer", - "DBTEAMLOGSharedFolderMountDetailsSerializer", - "DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer", - "DBTEAMLOGSharedFolderUnmountDetailsSerializer", - "DBTEAMLOGSharedNoteOpenedDetailsSerializer", - "DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer", - "DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer", - "DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer", - "DBTEAMLOGSharingFolderJoinPolicySerializer", - "DBTEAMLOGSharingLinkPolicySerializer", - "DBTEAMLOGSharingMemberPolicySerializer", - "DBTEAMLOGShmodelAppCreateDetailsSerializer", - "DBTEAMLOGShmodelCreateDetailsSerializer", - "DBTEAMLOGShmodelDisableDetailsSerializer", - "DBTEAMLOGShmodelFbShareDetailsSerializer", - "DBTEAMLOGShmodelGroupShareDetailsSerializer", - "DBTEAMLOGShmodelRemoveExpirationDetailsSerializer", - "DBTEAMLOGShmodelSetExpirationDetailsSerializer", - "DBTEAMLOGShmodelTeamCopyDetailsSerializer", - "DBTEAMLOGShmodelTeamDownloadDetailsSerializer", - "DBTEAMLOGShmodelTeamShareDetailsSerializer", - "DBTEAMLOGShmodelTeamViewDetailsSerializer", - "DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer", - "DBTEAMLOGShmodelVisibilityPublicDetailsSerializer", - "DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer", - "DBTEAMLOGSignInAsSessionEndDetailsSerializer", - "DBTEAMLOGSignInAsSessionStartDetailsSerializer", - "DBTEAMLOGSmartSyncChangePolicyDetailsSerializer", - "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer", - "DBTEAMLOGSmartSyncNotOptOutDetailsSerializer", - "DBTEAMLOGSmartSyncOptOutDetailsSerializer", - "DBTEAMLOGSmartSyncOptOutPolicySerializer", - "DBTEAMLOGSpaceLimitsStatusSerializer", - "DBTEAMLOGSsoAddCertDetailsSerializer", - "DBTEAMLOGSsoAddLoginUrlDetailsSerializer", - "DBTEAMLOGSsoAddLogoutUrlDetailsSerializer", - "DBTEAMLOGSsoChangeCertDetailsSerializer", - "DBTEAMLOGSsoChangeLoginUrlDetailsSerializer", - "DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer", - "DBTEAMLOGSsoChangePolicyDetailsSerializer", - "DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer", - "DBTEAMLOGSsoErrorDetailsSerializer", - "DBTEAMLOGSsoRemoveCertDetailsSerializer", - "DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer", - "DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer", - "DBTEAMLOGTeamActivityCreateReportDetailsSerializer", - "DBTEAMLOGTeamEventSerializer", - "DBTEAMLOGTeamFolderChangeStatusDetailsSerializer", - "DBTEAMLOGTeamFolderCreateDetailsSerializer", - "DBTEAMLOGTeamFolderDowngradeDetailsSerializer", - "DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer", - "DBTEAMLOGTeamFolderRenameDetailsSerializer", - "DBTEAMLOGTeamFolderStatusSerializer", - "DBTEAMLOGTeamLinkedAppLogInfoSerializer", - "DBTEAMLOGTeamMemberLogInfoSerializer", - "DBTEAMLOGTeamMembershipTypeSerializer", - "DBTEAMLOGTeamMergeFromDetailsSerializer", - "DBTEAMLOGTeamMergeToDetailsSerializer", - "DBTEAMLOGTeamNameSerializer", - "DBTEAMLOGTeamProfileAddLogoDetailsSerializer", - "DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer", - "DBTEAMLOGTeamProfileChangeLogoDetailsSerializer", - "DBTEAMLOGTeamProfileChangeNameDetailsSerializer", - "DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer", - "DBTEAMLOGTfaAddBackupPhoneDetailsSerializer", - "DBTEAMLOGTfaAddSecurityKeyDetailsSerializer", - "DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer", - "DBTEAMLOGTfaChangePolicyDetailsSerializer", - "DBTEAMLOGTfaChangeStatusDetailsSerializer", - "DBTEAMLOGTfaConfigurationSerializer", - "DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer", - "DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer", - "DBTEAMLOGTfaResetDetailsSerializer", - "DBTEAMLOGTimeUnitSerializer", - "DBTEAMLOGTwoAccountChangePolicyDetailsSerializer", - "DBTEAMLOGTwoAccountPolicySerializer", - "DBTEAMLOGUserLinkedAppLogInfoSerializer", - "DBTEAMLOGUserNameLogInfoSerializer", - "DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer", - "DBTEAMLOGWebSessionLogInfoSerializer", - "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer", - "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer", - "DBTEAMLOGWebSessionsFixedLengthPolicySerializer", - "DBTEAMLOGWebSessionsIdleLengthPolicySerializer", - "DBTEAMPOLICIESEmmStateSerializer", - "DBTEAMPOLICIESGroupCreationSerializer", - "DBTEAMPOLICIESOfficeAddInPolicySerializer", - "DBTEAMPOLICIESPaperDeploymentPolicySerializer", - "DBTEAMPOLICIESPaperEnabledPolicySerializer", - "DBTEAMPOLICIESPasswordStrengthPolicySerializer", - "DBTEAMPOLICIESRolloutMethodSerializer", - "DBTEAMPOLICIESSharedFolderJoinPolicySerializer", - "DBTEAMPOLICIESSharedFolderMemberPolicySerializer", - "DBTEAMPOLICIESSharedLinkCreatePolicySerializer", - "DBTEAMPOLICIESSmartSyncPolicySerializer", - "DBTEAMPOLICIESSsoPolicySerializer", - "DBTEAMPOLICIESTeamMemberPoliciesSerializer", - "DBTEAMPOLICIESTeamSharingPoliciesSerializer", - "DBTEAMPOLICIESTwoStepVerificationPolicySerializer", - "DBUSERSAccountSerializer", - "DBUSERSBasicAccountSerializer", - "DBUSERSFullAccountSerializer", - "DBUSERSTeamSerializer", - "DBUSERSFullTeamSerializer", - "DBUSERSGetAccountArgSerializer", - "DBUSERSGetAccountBatchArgSerializer", - "DBUSERSGetAccountBatchErrorSerializer", - "DBUSERSGetAccountErrorSerializer", - "DBUSERSIndividualSpaceAllocationSerializer", - "DBUSERSNameSerializer", - "DBUSERSSpaceAllocationSerializer", - "DBUSERSSpaceUsageSerializer", - "DBUSERSTeamSpaceAllocationSerializer", + "DBArraySerializer", + "DBNSDateSerializer", + "DBACCOUNTPhotoSourceArgSerializer", + "DBACCOUNTSetProfilePhotoArgSerializer", + "DBACCOUNTSetProfilePhotoErrorSerializer", + "DBACCOUNTSetProfilePhotoResultSerializer", + "DBASYNCLaunchResultBaseSerializer", + "DBASYNCLaunchEmptyResultSerializer", + "DBASYNCPollArgSerializer", + "DBASYNCPollResultBaseSerializer", + "DBASYNCPollEmptyResultSerializer", + "DBASYNCPollErrorSerializer", + "DBAUTHAccessErrorSerializer", + "DBAUTHAuthErrorSerializer", + "DBAUTHInvalidAccountTypeErrorSerializer", + "DBAUTHPaperAccessErrorSerializer", + "DBAUTHRateLimitErrorSerializer", + "DBAUTHRateLimitReasonSerializer", + "DBAUTHTokenFromOAuth1ArgSerializer", + "DBAUTHTokenFromOAuth1ErrorSerializer", + "DBAUTHTokenFromOAuth1ResultSerializer", + "DBAUTHTokenScopeErrorSerializer", + "DBCHECKEchoArgSerializer", + "DBCHECKEchoResultSerializer", + "DBCOMMONPathRootSerializer", + "DBCOMMONPathRootErrorSerializer", + "DBCOMMONRootInfoSerializer", + "DBCOMMONTeamRootInfoSerializer", + "DBCOMMONUserRootInfoSerializer", + "DBCONTACTSDeleteManualContactsArgSerializer", + "DBCONTACTSDeleteManualContactsErrorSerializer", + "DBFILEPROPERTIESAddPropertiesArgSerializer", + "DBFILEPROPERTIESTemplateErrorSerializer", + "DBFILEPROPERTIESPropertiesErrorSerializer", + "DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer", + "DBFILEPROPERTIESAddPropertiesErrorSerializer", + "DBFILEPROPERTIESPropertyGroupTemplateSerializer", + "DBFILEPROPERTIESAddTemplateArgSerializer", + "DBFILEPROPERTIESAddTemplateResultSerializer", + "DBFILEPROPERTIESGetTemplateArgSerializer", + "DBFILEPROPERTIESGetTemplateResultSerializer", + "DBFILEPROPERTIESListTemplateResultSerializer", + "DBFILEPROPERTIESLogicalOperatorSerializer", + "DBFILEPROPERTIESLookUpPropertiesErrorSerializer", + "DBFILEPROPERTIESLookupErrorSerializer", + "DBFILEPROPERTIESModifyTemplateErrorSerializer", + "DBFILEPROPERTIESOverwritePropertyGroupArgSerializer", + "DBFILEPROPERTIESPropertiesSearchArgSerializer", + "DBFILEPROPERTIESPropertiesSearchContinueArgSerializer", + "DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer", + "DBFILEPROPERTIESPropertiesSearchErrorSerializer", + "DBFILEPROPERTIESPropertiesSearchMatchSerializer", + "DBFILEPROPERTIESPropertiesSearchModeSerializer", + "DBFILEPROPERTIESPropertiesSearchQuerySerializer", + "DBFILEPROPERTIESPropertiesSearchResultSerializer", + "DBFILEPROPERTIESPropertyFieldSerializer", + "DBFILEPROPERTIESPropertyFieldTemplateSerializer", + "DBFILEPROPERTIESPropertyGroupSerializer", + "DBFILEPROPERTIESPropertyGroupUpdateSerializer", + "DBFILEPROPERTIESPropertyTypeSerializer", + "DBFILEPROPERTIESRemovePropertiesArgSerializer", + "DBFILEPROPERTIESRemovePropertiesErrorSerializer", + "DBFILEPROPERTIESRemoveTemplateArgSerializer", + "DBFILEPROPERTIESTemplateFilterBaseSerializer", + "DBFILEPROPERTIESTemplateFilterSerializer", + "DBFILEPROPERTIESTemplateOwnerTypeSerializer", + "DBFILEPROPERTIESUpdatePropertiesArgSerializer", + "DBFILEPROPERTIESUpdatePropertiesErrorSerializer", + "DBFILEPROPERTIESUpdateTemplateArgSerializer", + "DBFILEPROPERTIESUpdateTemplateResultSerializer", + "DBFILEREQUESTSGeneralFileRequestsErrorSerializer", + "DBFILEREQUESTSCountFileRequestsErrorSerializer", + "DBFILEREQUESTSCountFileRequestsResultSerializer", + "DBFILEREQUESTSCreateFileRequestArgsSerializer", + "DBFILEREQUESTSFileRequestErrorSerializer", + "DBFILEREQUESTSCreateFileRequestErrorSerializer", + "DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer", + "DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer", + "DBFILEREQUESTSDeleteFileRequestArgsSerializer", + "DBFILEREQUESTSDeleteFileRequestErrorSerializer", + "DBFILEREQUESTSDeleteFileRequestsResultSerializer", + "DBFILEREQUESTSFileRequestSerializer", + "DBFILEREQUESTSFileRequestDeadlineSerializer", + "DBFILEREQUESTSGetFileRequestArgsSerializer", + "DBFILEREQUESTSGetFileRequestErrorSerializer", + "DBFILEREQUESTSGracePeriodSerializer", + "DBFILEREQUESTSListFileRequestsArgSerializer", + "DBFILEREQUESTSListFileRequestsContinueArgSerializer", + "DBFILEREQUESTSListFileRequestsContinueErrorSerializer", + "DBFILEREQUESTSListFileRequestsErrorSerializer", + "DBFILEREQUESTSListFileRequestsResultSerializer", + "DBFILEREQUESTSListFileRequestsV2ResultSerializer", + "DBFILEREQUESTSUpdateFileRequestArgsSerializer", + "DBFILEREQUESTSUpdateFileRequestDeadlineSerializer", + "DBFILEREQUESTSUpdateFileRequestErrorSerializer", + "DBFILESAddTagArgSerializer", + "DBFILESBaseTagErrorSerializer", + "DBFILESAddTagErrorSerializer", + "DBFILESGetMetadataArgSerializer", + "DBFILESAlphaGetMetadataArgSerializer", + "DBFILESGetMetadataErrorSerializer", + "DBFILESAlphaGetMetadataErrorSerializer", + "DBFILESCommitInfoSerializer", + "DBFILESContentSyncSettingSerializer", + "DBFILESContentSyncSettingArgSerializer", + "DBFILESCreateFolderArgSerializer", + "DBFILESCreateFolderBatchArgSerializer", + "DBFILESCreateFolderBatchErrorSerializer", + "DBFILESCreateFolderBatchJobStatusSerializer", + "DBFILESCreateFolderBatchLaunchSerializer", + "DBFILESFileOpsResultSerializer", + "DBFILESCreateFolderBatchResultSerializer", + "DBFILESCreateFolderBatchResultEntrySerializer", + "DBFILESCreateFolderEntryErrorSerializer", + "DBFILESCreateFolderEntryResultSerializer", + "DBFILESCreateFolderErrorSerializer", + "DBFILESCreateFolderResultSerializer", + "DBFILESDeleteArgSerializer", + "DBFILESDeleteBatchArgSerializer", + "DBFILESDeleteBatchErrorSerializer", + "DBFILESDeleteBatchJobStatusSerializer", + "DBFILESDeleteBatchLaunchSerializer", + "DBFILESDeleteBatchResultSerializer", + "DBFILESDeleteBatchResultDataSerializer", + "DBFILESDeleteBatchResultEntrySerializer", + "DBFILESDeleteErrorSerializer", + "DBFILESDeleteResultSerializer", + "DBFILESMetadataSerializer", + "DBFILESDeletedMetadataSerializer", + "DBFILESDimensionsSerializer", + "DBFILESDownloadArgSerializer", + "DBFILESDownloadErrorSerializer", + "DBFILESDownloadZipArgSerializer", + "DBFILESDownloadZipErrorSerializer", + "DBFILESDownloadZipResultSerializer", + "DBFILESExportArgSerializer", + "DBFILESExportErrorSerializer", + "DBFILESExportInfoSerializer", + "DBFILESExportMetadataSerializer", + "DBFILESExportResultSerializer", + "DBFILESFileCategorySerializer", + "DBFILESFileLockSerializer", + "DBFILESFileLockContentSerializer", + "DBFILESFileLockMetadataSerializer", + "DBFILESFileMetadataSerializer", + "DBFILESSharingInfoSerializer", + "DBFILESFileSharingInfoSerializer", + "DBFILESFileStatusSerializer", + "DBFILESFolderMetadataSerializer", + "DBFILESFolderSharingInfoSerializer", + "DBFILESGetCopyReferenceArgSerializer", + "DBFILESGetCopyReferenceErrorSerializer", + "DBFILESGetCopyReferenceResultSerializer", + "DBFILESGetTagsArgSerializer", + "DBFILESGetTagsResultSerializer", + "DBFILESGetTemporaryLinkArgSerializer", + "DBFILESGetTemporaryLinkErrorSerializer", + "DBFILESGetTemporaryLinkResultSerializer", + "DBFILESGetTemporaryUploadLinkArgSerializer", + "DBFILESGetTemporaryUploadLinkResultSerializer", + "DBFILESGetThumbnailBatchArgSerializer", + "DBFILESGetThumbnailBatchErrorSerializer", + "DBFILESGetThumbnailBatchResultSerializer", + "DBFILESGetThumbnailBatchResultDataSerializer", + "DBFILESGetThumbnailBatchResultEntrySerializer", + "DBFILESGpsCoordinatesSerializer", + "DBFILESHighlightSpanSerializer", + "DBFILESImportFormatSerializer", + "DBFILESListFolderArgSerializer", + "DBFILESListFolderContinueArgSerializer", + "DBFILESListFolderContinueErrorSerializer", + "DBFILESListFolderErrorSerializer", + "DBFILESListFolderGetLatestCursorResultSerializer", + "DBFILESListFolderLongpollArgSerializer", + "DBFILESListFolderLongpollErrorSerializer", + "DBFILESListFolderLongpollResultSerializer", + "DBFILESListFolderResultSerializer", + "DBFILESListRevisionsArgSerializer", + "DBFILESListRevisionsErrorSerializer", + "DBFILESListRevisionsModeSerializer", + "DBFILESListRevisionsResultSerializer", + "DBFILESLockConflictErrorSerializer", + "DBFILESLockFileArgSerializer", + "DBFILESLockFileBatchArgSerializer", + "DBFILESLockFileBatchResultSerializer", + "DBFILESLockFileErrorSerializer", + "DBFILESLockFileResultSerializer", + "DBFILESLockFileResultEntrySerializer", + "DBFILESLookupErrorSerializer", + "DBFILESMediaInfoSerializer", + "DBFILESMediaMetadataSerializer", + "DBFILESMetadataV2Serializer", + "DBFILESMinimalFileLinkMetadataSerializer", + "DBFILESRelocationBatchArgBaseSerializer", + "DBFILESMoveBatchArgSerializer", + "DBFILESMoveIntoFamilyErrorSerializer", + "DBFILESMoveIntoVaultErrorSerializer", + "DBFILESPaperContentErrorSerializer", + "DBFILESPaperCreateArgSerializer", + "DBFILESPaperCreateErrorSerializer", + "DBFILESPaperCreateResultSerializer", + "DBFILESPaperDocUpdatePolicySerializer", + "DBFILESPaperUpdateArgSerializer", + "DBFILESPaperUpdateErrorSerializer", + "DBFILESPaperUpdateResultSerializer", + "DBFILESPathOrLinkSerializer", + "DBFILESPathToTagsSerializer", + "DBFILESPhotoMetadataSerializer", + "DBFILESPreviewArgSerializer", + "DBFILESPreviewErrorSerializer", + "DBFILESPreviewResultSerializer", + "DBFILESRelocationPathSerializer", + "DBFILESRelocationArgSerializer", + "DBFILESRelocationBatchArgSerializer", + "DBFILESRelocationErrorSerializer", + "DBFILESRelocationBatchErrorSerializer", + "DBFILESRelocationBatchErrorEntrySerializer", + "DBFILESRelocationBatchJobStatusSerializer", + "DBFILESRelocationBatchLaunchSerializer", + "DBFILESRelocationBatchResultSerializer", + "DBFILESRelocationBatchResultDataSerializer", + "DBFILESRelocationBatchResultEntrySerializer", + "DBFILESRelocationBatchV2JobStatusSerializer", + "DBFILESRelocationBatchV2LaunchSerializer", + "DBFILESRelocationBatchV2ResultSerializer", + "DBFILESRelocationResultSerializer", + "DBFILESRemoveTagArgSerializer", + "DBFILESRemoveTagErrorSerializer", + "DBFILESRestoreArgSerializer", + "DBFILESRestoreErrorSerializer", + "DBFILESSaveCopyReferenceArgSerializer", + "DBFILESSaveCopyReferenceErrorSerializer", + "DBFILESSaveCopyReferenceResultSerializer", + "DBFILESSaveUrlArgSerializer", + "DBFILESSaveUrlErrorSerializer", + "DBFILESSaveUrlJobStatusSerializer", + "DBFILESSaveUrlResultSerializer", + "DBFILESSearchArgSerializer", + "DBFILESSearchErrorSerializer", + "DBFILESSearchMatchSerializer", + "DBFILESSearchMatchFieldOptionsSerializer", + "DBFILESSearchMatchTypeSerializer", + "DBFILESSearchMatchTypeV2Serializer", + "DBFILESSearchMatchV2Serializer", + "DBFILESSearchModeSerializer", + "DBFILESSearchOptionsSerializer", + "DBFILESSearchOrderBySerializer", + "DBFILESSearchResultSerializer", + "DBFILESSearchV2ArgSerializer", + "DBFILESSearchV2ContinueArgSerializer", + "DBFILESSearchV2ResultSerializer", + "DBFILESSharedLinkSerializer", + "DBFILESSharedLinkFileInfoSerializer", + "DBFILESSingleUserLockSerializer", + "DBFILESSymlinkInfoSerializer", + "DBFILESSyncSettingSerializer", + "DBFILESSyncSettingArgSerializer", + "DBFILESSyncSettingsErrorSerializer", + "DBFILESTagSerializer", + "DBFILESThumbnailArgSerializer", + "DBFILESThumbnailErrorSerializer", + "DBFILESThumbnailFormatSerializer", + "DBFILESThumbnailModeSerializer", + "DBFILESThumbnailSizeSerializer", + "DBFILESThumbnailV2ArgSerializer", + "DBFILESThumbnailV2ErrorSerializer", + "DBFILESUnlockFileArgSerializer", + "DBFILESUnlockFileBatchArgSerializer", + "DBFILESUploadArgSerializer", + "DBFILESUploadErrorSerializer", + "DBFILESUploadSessionAppendArgSerializer", + "DBFILESUploadSessionLookupErrorSerializer", + "DBFILESUploadSessionAppendErrorSerializer", + "DBFILESUploadSessionCursorSerializer", + "DBFILESUploadSessionFinishArgSerializer", + "DBFILESUploadSessionFinishBatchArgSerializer", + "DBFILESUploadSessionFinishBatchJobStatusSerializer", + "DBFILESUploadSessionFinishBatchLaunchSerializer", + "DBFILESUploadSessionFinishBatchResultSerializer", + "DBFILESUploadSessionFinishBatchResultEntrySerializer", + "DBFILESUploadSessionFinishErrorSerializer", + "DBFILESUploadSessionOffsetErrorSerializer", + "DBFILESUploadSessionStartArgSerializer", + "DBFILESUploadSessionStartBatchArgSerializer", + "DBFILESUploadSessionStartBatchResultSerializer", + "DBFILESUploadSessionStartErrorSerializer", + "DBFILESUploadSessionStartResultSerializer", + "DBFILESUploadSessionTypeSerializer", + "DBFILESUploadWriteFailedSerializer", + "DBFILESUserGeneratedTagSerializer", + "DBFILESVideoMetadataSerializer", + "DBFILESWriteConflictErrorSerializer", + "DBFILESWriteErrorSerializer", + "DBFILESWriteModeSerializer", + "DBOPENIDOpenIdErrorSerializer", + "DBOPENIDUserInfoArgsSerializer", + "DBOPENIDUserInfoErrorSerializer", + "DBOPENIDUserInfoResultSerializer", + "DBPAPERAddMemberSerializer", + "DBPAPERRefPaperDocSerializer", + "DBPAPERAddPaperDocUserSerializer", + "DBPAPERAddPaperDocUserMemberResultSerializer", + "DBPAPERAddPaperDocUserResultSerializer", + "DBPAPERCursorSerializer", + "DBPAPERPaperApiBaseErrorSerializer", + "DBPAPERDocLookupErrorSerializer", + "DBPAPERDocSubscriptionLevelSerializer", + "DBPAPERExportFormatSerializer", + "DBPAPERFolderSerializer", + "DBPAPERFolderSharingPolicyTypeSerializer", + "DBPAPERFolderSubscriptionLevelSerializer", + "DBPAPERFoldersContainingPaperDocSerializer", + "DBPAPERImportFormatSerializer", + "DBPAPERInviteeInfoWithPermissionLevelSerializer", + "DBPAPERListDocsCursorErrorSerializer", + "DBPAPERListPaperDocsArgsSerializer", + "DBPAPERListPaperDocsContinueArgsSerializer", + "DBPAPERListPaperDocsFilterBySerializer", + "DBPAPERListPaperDocsResponseSerializer", + "DBPAPERListPaperDocsSortBySerializer", + "DBPAPERListPaperDocsSortOrderSerializer", + "DBPAPERListUsersCursorErrorSerializer", + "DBPAPERListUsersOnFolderArgsSerializer", + "DBPAPERListUsersOnFolderContinueArgsSerializer", + "DBPAPERListUsersOnFolderResponseSerializer", + "DBPAPERListUsersOnPaperDocArgsSerializer", + "DBPAPERListUsersOnPaperDocContinueArgsSerializer", + "DBPAPERListUsersOnPaperDocResponseSerializer", + "DBPAPERPaperApiCursorErrorSerializer", + "DBPAPERPaperDocCreateArgsSerializer", + "DBPAPERPaperDocCreateErrorSerializer", + "DBPAPERPaperDocCreateUpdateResultSerializer", + "DBPAPERPaperDocExportSerializer", + "DBPAPERPaperDocExportResultSerializer", + "DBPAPERPaperDocPermissionLevelSerializer", + "DBPAPERPaperDocSharingPolicySerializer", + "DBPAPERPaperDocUpdateArgsSerializer", + "DBPAPERPaperDocUpdateErrorSerializer", + "DBPAPERPaperDocUpdatePolicySerializer", + "DBPAPERPaperFolderCreateArgSerializer", + "DBPAPERPaperFolderCreateErrorSerializer", + "DBPAPERPaperFolderCreateResultSerializer", + "DBPAPERRemovePaperDocUserSerializer", + "DBPAPERSharingPolicySerializer", + "DBPAPERSharingTeamPolicyTypeSerializer", + "DBPAPERSharingPublicPolicyTypeSerializer", + "DBPAPERUserInfoWithPermissionLevelSerializer", + "DBPAPERUserOnPaperDocFilterSerializer", + "DBSECONDARYEMAILSSecondaryEmailSerializer", + "DBSEENSTATEPlatformTypeSerializer", + "DBSHARINGAccessInheritanceSerializer", + "DBSHARINGAccessLevelSerializer", + "DBSHARINGAclUpdatePolicySerializer", + "DBSHARINGAddFileMemberArgsSerializer", + "DBSHARINGAddFileMemberErrorSerializer", + "DBSHARINGAddFolderMemberArgSerializer", + "DBSHARINGAddFolderMemberErrorSerializer", + "DBSHARINGAddMemberSerializer", + "DBSHARINGAddMemberSelectorErrorSerializer", + "DBSHARINGRequestedVisibilitySerializer", + "DBSHARINGResolvedVisibilitySerializer", + "DBSHARINGAlphaResolvedVisibilitySerializer", + "DBSHARINGAudienceExceptionContentInfoSerializer", + "DBSHARINGAudienceExceptionsSerializer", + "DBSHARINGAudienceRestrictingSharedFolderSerializer", + "DBSHARINGLinkMetadataSerializer", + "DBSHARINGCollectionLinkMetadataSerializer", + "DBSHARINGCreateSharedLinkArgSerializer", + "DBSHARINGCreateSharedLinkErrorSerializer", + "DBSHARINGCreateSharedLinkWithSettingsArgSerializer", + "DBSHARINGCreateSharedLinkWithSettingsErrorSerializer", + "DBSHARINGSharedContentLinkMetadataBaseSerializer", + "DBSHARINGExpectedSharedContentLinkMetadataSerializer", + "DBSHARINGFileActionSerializer", + "DBSHARINGFileErrorResultSerializer", + "DBSHARINGSharedLinkMetadataSerializer", + "DBSHARINGFileLinkMetadataSerializer", + "DBSHARINGFileMemberActionErrorSerializer", + "DBSHARINGFileMemberActionIndividualResultSerializer", + "DBSHARINGFileMemberActionResultSerializer", + "DBSHARINGFileMemberRemoveActionResultSerializer", + "DBSHARINGFilePermissionSerializer", + "DBSHARINGFolderActionSerializer", + "DBSHARINGFolderLinkMetadataSerializer", + "DBSHARINGFolderPermissionSerializer", + "DBSHARINGFolderPolicySerializer", + "DBSHARINGGetFileMetadataArgSerializer", + "DBSHARINGGetFileMetadataBatchArgSerializer", + "DBSHARINGGetFileMetadataBatchResultSerializer", + "DBSHARINGGetFileMetadataErrorSerializer", + "DBSHARINGGetFileMetadataIndividualResultSerializer", + "DBSHARINGGetMetadataArgsSerializer", + "DBSHARINGSharedLinkErrorSerializer", + "DBSHARINGGetSharedLinkFileErrorSerializer", + "DBSHARINGGetSharedLinkMetadataArgSerializer", + "DBSHARINGGetSharedLinksArgSerializer", + "DBSHARINGGetSharedLinksErrorSerializer", + "DBSHARINGGetSharedLinksResultSerializer", + "DBSHARINGGroupInfoSerializer", + "DBSHARINGMembershipInfoSerializer", + "DBSHARINGGroupMembershipInfoSerializer", + "DBSHARINGInsufficientPlanSerializer", + "DBSHARINGInsufficientQuotaAmountsSerializer", + "DBSHARINGInviteeInfoSerializer", + "DBSHARINGInviteeMembershipInfoSerializer", + "DBSHARINGJobErrorSerializer", + "DBSHARINGJobStatusSerializer", + "DBSHARINGLinkAccessLevelSerializer", + "DBSHARINGLinkActionSerializer", + "DBSHARINGLinkAudienceSerializer", + "DBSHARINGVisibilityPolicyDisallowedReasonSerializer", + "DBSHARINGLinkAudienceDisallowedReasonSerializer", + "DBSHARINGLinkAudienceOptionSerializer", + "DBSHARINGLinkExpirySerializer", + "DBSHARINGLinkPasswordSerializer", + "DBSHARINGLinkPermissionSerializer", + "DBSHARINGLinkPermissionsSerializer", + "DBSHARINGLinkSettingsSerializer", + "DBSHARINGListFileMembersArgSerializer", + "DBSHARINGListFileMembersBatchArgSerializer", + "DBSHARINGListFileMembersBatchResultSerializer", + "DBSHARINGListFileMembersContinueArgSerializer", + "DBSHARINGListFileMembersContinueErrorSerializer", + "DBSHARINGListFileMembersCountResultSerializer", + "DBSHARINGListFileMembersErrorSerializer", + "DBSHARINGListFileMembersIndividualResultSerializer", + "DBSHARINGListFilesArgSerializer", + "DBSHARINGListFilesContinueArgSerializer", + "DBSHARINGListFilesContinueErrorSerializer", + "DBSHARINGListFilesResultSerializer", + "DBSHARINGListFolderMembersCursorArgSerializer", + "DBSHARINGListFolderMembersArgsSerializer", + "DBSHARINGListFolderMembersContinueArgSerializer", + "DBSHARINGListFolderMembersContinueErrorSerializer", + "DBSHARINGListFoldersArgsSerializer", + "DBSHARINGListFoldersContinueArgSerializer", + "DBSHARINGListFoldersContinueErrorSerializer", + "DBSHARINGListFoldersResultSerializer", + "DBSHARINGListSharedLinksArgSerializer", + "DBSHARINGListSharedLinksErrorSerializer", + "DBSHARINGListSharedLinksResultSerializer", + "DBSHARINGMemberAccessLevelResultSerializer", + "DBSHARINGMemberActionSerializer", + "DBSHARINGMemberPermissionSerializer", + "DBSHARINGMemberPolicySerializer", + "DBSHARINGMemberSelectorSerializer", + "DBSHARINGModifySharedLinkSettingsArgsSerializer", + "DBSHARINGModifySharedLinkSettingsErrorSerializer", + "DBSHARINGMountFolderArgSerializer", + "DBSHARINGMountFolderErrorSerializer", + "DBSHARINGParentFolderAccessInfoSerializer", + "DBSHARINGPathLinkMetadataSerializer", + "DBSHARINGPendingUploadModeSerializer", + "DBSHARINGPermissionDeniedReasonSerializer", + "DBSHARINGRelinquishFileMembershipArgSerializer", + "DBSHARINGRelinquishFileMembershipErrorSerializer", + "DBSHARINGRelinquishFolderMembershipArgSerializer", + "DBSHARINGRelinquishFolderMembershipErrorSerializer", + "DBSHARINGRemoveFileMemberArgSerializer", + "DBSHARINGRemoveFileMemberErrorSerializer", + "DBSHARINGRemoveFolderMemberArgSerializer", + "DBSHARINGRemoveFolderMemberErrorSerializer", + "DBSHARINGRemoveMemberJobStatusSerializer", + "DBSHARINGRequestedLinkAccessLevelSerializer", + "DBSHARINGRevokeSharedLinkArgSerializer", + "DBSHARINGRevokeSharedLinkErrorSerializer", + "DBSHARINGSetAccessInheritanceArgSerializer", + "DBSHARINGSetAccessInheritanceErrorSerializer", + "DBSHARINGShareFolderArgBaseSerializer", + "DBSHARINGShareFolderArgSerializer", + "DBSHARINGShareFolderErrorBaseSerializer", + "DBSHARINGShareFolderErrorSerializer", + "DBSHARINGShareFolderJobStatusSerializer", + "DBSHARINGShareFolderLaunchSerializer", + "DBSHARINGSharePathErrorSerializer", + "DBSHARINGSharedContentLinkMetadataSerializer", + "DBSHARINGSharedFileMembersSerializer", + "DBSHARINGSharedFileMetadataSerializer", + "DBSHARINGSharedFolderAccessErrorSerializer", + "DBSHARINGSharedFolderMemberErrorSerializer", + "DBSHARINGSharedFolderMembersSerializer", + "DBSHARINGSharedFolderMetadataBaseSerializer", + "DBSHARINGSharedFolderMetadataSerializer", + "DBSHARINGSharedLinkAccessFailureReasonSerializer", + "DBSHARINGSharedLinkAlreadyExistsMetadataSerializer", + "DBSHARINGSharedLinkPolicySerializer", + "DBSHARINGSharedLinkSettingsSerializer", + "DBSHARINGSharedLinkSettingsErrorSerializer", + "DBSHARINGSharingFileAccessErrorSerializer", + "DBSHARINGSharingUserErrorSerializer", + "DBSHARINGTeamMemberInfoSerializer", + "DBSHARINGTransferFolderArgSerializer", + "DBSHARINGTransferFolderErrorSerializer", + "DBSHARINGUnmountFolderArgSerializer", + "DBSHARINGUnmountFolderErrorSerializer", + "DBSHARINGUnshareFileArgSerializer", + "DBSHARINGUnshareFileErrorSerializer", + "DBSHARINGUnshareFolderArgSerializer", + "DBSHARINGUnshareFolderErrorSerializer", + "DBSHARINGUpdateFileMemberArgsSerializer", + "DBSHARINGUpdateFolderMemberArgSerializer", + "DBSHARINGUpdateFolderMemberErrorSerializer", + "DBSHARINGUpdateFolderPolicyArgSerializer", + "DBSHARINGUpdateFolderPolicyErrorSerializer", + "DBSHARINGUserMembershipInfoSerializer", + "DBSHARINGUserFileMembershipInfoSerializer", + "DBSHARINGUserInfoSerializer", + "DBSHARINGViewerInfoPolicySerializer", + "DBSHARINGVisibilitySerializer", + "DBSHARINGVisibilityPolicySerializer", + "DBTEAMDeviceSessionSerializer", + "DBTEAMActiveWebSessionSerializer", + "DBTEAMAddSecondaryEmailResultSerializer", + "DBTEAMAddSecondaryEmailsArgSerializer", + "DBTEAMAddSecondaryEmailsErrorSerializer", + "DBTEAMAddSecondaryEmailsResultSerializer", + "DBTEAMAdminTierSerializer", + "DBTEAMApiAppSerializer", + "DBTEAMBaseDfbReportSerializer", + "DBTEAMBaseTeamFolderErrorSerializer", + "DBTEAMCustomQuotaErrorSerializer", + "DBTEAMCustomQuotaResultSerializer", + "DBTEAMCustomQuotaUsersArgSerializer", + "DBTEAMDateRangeSerializer", + "DBTEAMDateRangeErrorSerializer", + "DBTEAMDeleteSecondaryEmailResultSerializer", + "DBTEAMDeleteSecondaryEmailsArgSerializer", + "DBTEAMDeleteSecondaryEmailsResultSerializer", + "DBTEAMDesktopClientSessionSerializer", + "DBTEAMDesktopPlatformSerializer", + "DBTEAMDeviceSessionArgSerializer", + "DBTEAMDevicesActiveSerializer", + "DBTEAMExcludedUsersListArgSerializer", + "DBTEAMExcludedUsersListContinueArgSerializer", + "DBTEAMExcludedUsersListContinueErrorSerializer", + "DBTEAMExcludedUsersListErrorSerializer", + "DBTEAMExcludedUsersListResultSerializer", + "DBTEAMExcludedUsersUpdateArgSerializer", + "DBTEAMExcludedUsersUpdateErrorSerializer", + "DBTEAMExcludedUsersUpdateResultSerializer", + "DBTEAMExcludedUsersUpdateStatusSerializer", + "DBTEAMFeatureSerializer", + "DBTEAMFeatureValueSerializer", + "DBTEAMFeaturesGetValuesBatchArgSerializer", + "DBTEAMFeaturesGetValuesBatchErrorSerializer", + "DBTEAMFeaturesGetValuesBatchResultSerializer", + "DBTEAMGetActivityReportSerializer", + "DBTEAMGetDevicesReportSerializer", + "DBTEAMGetMembershipReportSerializer", + "DBTEAMGetStorageReportSerializer", + "DBTEAMGroupAccessTypeSerializer", + "DBTEAMGroupCreateArgSerializer", + "DBTEAMGroupCreateErrorSerializer", + "DBTEAMGroupSelectorErrorSerializer", + "DBTEAMGroupSelectorWithTeamGroupErrorSerializer", + "DBTEAMGroupDeleteErrorSerializer", + "DBTEAMGroupFullInfoSerializer", + "DBTEAMGroupMemberInfoSerializer", + "DBTEAMGroupMemberSelectorSerializer", + "DBTEAMGroupMemberSelectorErrorSerializer", + "DBTEAMGroupMemberSetAccessTypeErrorSerializer", + "DBTEAMIncludeMembersArgSerializer", + "DBTEAMGroupMembersAddArgSerializer", + "DBTEAMGroupMembersAddErrorSerializer", + "DBTEAMGroupMembersChangeResultSerializer", + "DBTEAMGroupMembersRemoveArgSerializer", + "DBTEAMGroupMembersSelectorErrorSerializer", + "DBTEAMGroupMembersRemoveErrorSerializer", + "DBTEAMGroupMembersSelectorSerializer", + "DBTEAMGroupMembersSetAccessTypeArgSerializer", + "DBTEAMGroupSelectorSerializer", + "DBTEAMGroupUpdateArgsSerializer", + "DBTEAMGroupUpdateErrorSerializer", + "DBTEAMGroupsGetInfoErrorSerializer", + "DBTEAMGroupsGetInfoItemSerializer", + "DBTEAMGroupsListArgSerializer", + "DBTEAMGroupsListContinueArgSerializer", + "DBTEAMGroupsListContinueErrorSerializer", + "DBTEAMGroupsListResultSerializer", + "DBTEAMGroupsMembersListArgSerializer", + "DBTEAMGroupsMembersListContinueArgSerializer", + "DBTEAMGroupsMembersListContinueErrorSerializer", + "DBTEAMGroupsMembersListResultSerializer", + "DBTEAMGroupsPollErrorSerializer", + "DBTEAMGroupsSelectorSerializer", + "DBTEAMHasTeamFileEventsValueSerializer", + "DBTEAMHasTeamSelectiveSyncValueSerializer", + "DBTEAMHasTeamSharedDropboxValueSerializer", + "DBTEAMLegalHoldHeldRevisionMetadataSerializer", + "DBTEAMLegalHoldPolicySerializer", + "DBTEAMLegalHoldStatusSerializer", + "DBTEAMLegalHoldsErrorSerializer", + "DBTEAMLegalHoldsGetPolicyArgSerializer", + "DBTEAMLegalHoldsGetPolicyErrorSerializer", + "DBTEAMLegalHoldsListHeldRevisionResultSerializer", + "DBTEAMLegalHoldsListHeldRevisionsArgSerializer", + "DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer", + "DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer", + "DBTEAMLegalHoldsListHeldRevisionsErrorSerializer", + "DBTEAMLegalHoldsListPoliciesArgSerializer", + "DBTEAMLegalHoldsListPoliciesErrorSerializer", + "DBTEAMLegalHoldsListPoliciesResultSerializer", + "DBTEAMLegalHoldsPolicyCreateArgSerializer", + "DBTEAMLegalHoldsPolicyCreateErrorSerializer", + "DBTEAMLegalHoldsPolicyReleaseArgSerializer", + "DBTEAMLegalHoldsPolicyReleaseErrorSerializer", + "DBTEAMLegalHoldsPolicyUpdateArgSerializer", + "DBTEAMLegalHoldsPolicyUpdateErrorSerializer", + "DBTEAMListMemberAppsArgSerializer", + "DBTEAMListMemberAppsErrorSerializer", + "DBTEAMListMemberAppsResultSerializer", + "DBTEAMListMemberDevicesArgSerializer", + "DBTEAMListMemberDevicesErrorSerializer", + "DBTEAMListMemberDevicesResultSerializer", + "DBTEAMListMembersAppsArgSerializer", + "DBTEAMListMembersAppsErrorSerializer", + "DBTEAMListMembersAppsResultSerializer", + "DBTEAMListMembersDevicesArgSerializer", + "DBTEAMListMembersDevicesErrorSerializer", + "DBTEAMListMembersDevicesResultSerializer", + "DBTEAMListTeamAppsArgSerializer", + "DBTEAMListTeamAppsErrorSerializer", + "DBTEAMListTeamAppsResultSerializer", + "DBTEAMListTeamDevicesArgSerializer", + "DBTEAMListTeamDevicesErrorSerializer", + "DBTEAMListTeamDevicesResultSerializer", + "DBTEAMMemberAccessSerializer", + "DBTEAMMemberAddArgBaseSerializer", + "DBTEAMMemberAddArgSerializer", + "DBTEAMMemberAddResultBaseSerializer", + "DBTEAMMemberAddResultSerializer", + "DBTEAMMemberAddV2ArgSerializer", + "DBTEAMMemberAddV2ResultSerializer", + "DBTEAMMemberDevicesSerializer", + "DBTEAMMemberLinkedAppsSerializer", + "DBTEAMMemberProfileSerializer", + "DBTEAMUserSelectorErrorSerializer", + "DBTEAMMemberSelectorErrorSerializer", + "DBTEAMMembersAddArgBaseSerializer", + "DBTEAMMembersAddArgSerializer", + "DBTEAMMembersAddJobStatusSerializer", + "DBTEAMMembersAddJobStatusV2ResultSerializer", + "DBTEAMMembersAddLaunchSerializer", + "DBTEAMMembersAddLaunchV2ResultSerializer", + "DBTEAMMembersAddV2ArgSerializer", + "DBTEAMMembersDeactivateBaseArgSerializer", + "DBTEAMMembersDataTransferArgSerializer", + "DBTEAMMembersDeactivateArgSerializer", + "DBTEAMMembersDeactivateErrorSerializer", + "DBTEAMMembersDeleteProfilePhotoArgSerializer", + "DBTEAMMembersDeleteProfilePhotoErrorSerializer", + "DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer", + "DBTEAMMembersGetInfoArgsSerializer", + "DBTEAMMembersGetInfoErrorSerializer", + "DBTEAMMembersGetInfoItemBaseSerializer", + "DBTEAMMembersGetInfoItemSerializer", + "DBTEAMMembersGetInfoItemV2Serializer", + "DBTEAMMembersGetInfoV2ArgSerializer", + "DBTEAMMembersGetInfoV2ResultSerializer", + "DBTEAMMembersInfoSerializer", + "DBTEAMMembersListArgSerializer", + "DBTEAMMembersListContinueArgSerializer", + "DBTEAMMembersListContinueErrorSerializer", + "DBTEAMMembersListErrorSerializer", + "DBTEAMMembersListResultSerializer", + "DBTEAMMembersListV2ResultSerializer", + "DBTEAMMembersRecoverArgSerializer", + "DBTEAMMembersRecoverErrorSerializer", + "DBTEAMMembersRemoveArgSerializer", + "DBTEAMMembersTransferFilesErrorSerializer", + "DBTEAMMembersRemoveErrorSerializer", + "DBTEAMMembersSendWelcomeErrorSerializer", + "DBTEAMMembersSetPermissions2ArgSerializer", + "DBTEAMMembersSetPermissions2ErrorSerializer", + "DBTEAMMembersSetPermissions2ResultSerializer", + "DBTEAMMembersSetPermissionsArgSerializer", + "DBTEAMMembersSetPermissionsErrorSerializer", + "DBTEAMMembersSetPermissionsResultSerializer", + "DBTEAMMembersSetProfileArgSerializer", + "DBTEAMMembersSetProfileErrorSerializer", + "DBTEAMMembersSetProfilePhotoArgSerializer", + "DBTEAMMembersSetProfilePhotoErrorSerializer", + "DBTEAMMembersSuspendErrorSerializer", + "DBTEAMMembersTransferFormerMembersFilesErrorSerializer", + "DBTEAMMembersUnsuspendArgSerializer", + "DBTEAMMembersUnsuspendErrorSerializer", + "DBTEAMMobileClientPlatformSerializer", + "DBTEAMMobileClientSessionSerializer", + "DBTEAMNamespaceMetadataSerializer", + "DBTEAMNamespaceTypeSerializer", + "DBTEAMRemoveCustomQuotaResultSerializer", + "DBTEAMRemovedStatusSerializer", + "DBTEAMResendSecondaryEmailResultSerializer", + "DBTEAMResendVerificationEmailArgSerializer", + "DBTEAMResendVerificationEmailResultSerializer", + "DBTEAMRevokeDesktopClientArgSerializer", + "DBTEAMRevokeDeviceSessionArgSerializer", + "DBTEAMRevokeDeviceSessionBatchArgSerializer", + "DBTEAMRevokeDeviceSessionBatchErrorSerializer", + "DBTEAMRevokeDeviceSessionBatchResultSerializer", + "DBTEAMRevokeDeviceSessionErrorSerializer", + "DBTEAMRevokeDeviceSessionStatusSerializer", + "DBTEAMRevokeLinkedApiAppArgSerializer", + "DBTEAMRevokeLinkedApiAppBatchArgSerializer", + "DBTEAMRevokeLinkedAppBatchErrorSerializer", + "DBTEAMRevokeLinkedAppBatchResultSerializer", + "DBTEAMRevokeLinkedAppErrorSerializer", + "DBTEAMRevokeLinkedAppStatusSerializer", + "DBTEAMSetCustomQuotaArgSerializer", + "DBTEAMSetCustomQuotaErrorSerializer", + "DBTEAMSharingAllowlistAddArgsSerializer", + "DBTEAMSharingAllowlistAddErrorSerializer", + "DBTEAMSharingAllowlistAddResponseSerializer", + "DBTEAMSharingAllowlistListArgSerializer", + "DBTEAMSharingAllowlistListContinueArgSerializer", + "DBTEAMSharingAllowlistListContinueErrorSerializer", + "DBTEAMSharingAllowlistListErrorSerializer", + "DBTEAMSharingAllowlistListResponseSerializer", + "DBTEAMSharingAllowlistRemoveArgsSerializer", + "DBTEAMSharingAllowlistRemoveErrorSerializer", + "DBTEAMSharingAllowlistRemoveResponseSerializer", + "DBTEAMStorageBucketSerializer", + "DBTEAMTeamFolderAccessErrorSerializer", + "DBTEAMTeamFolderActivateErrorSerializer", + "DBTEAMTeamFolderIdArgSerializer", + "DBTEAMTeamFolderArchiveArgSerializer", + "DBTEAMTeamFolderArchiveErrorSerializer", + "DBTEAMTeamFolderArchiveJobStatusSerializer", + "DBTEAMTeamFolderArchiveLaunchSerializer", + "DBTEAMTeamFolderCreateArgSerializer", + "DBTEAMTeamFolderCreateErrorSerializer", + "DBTEAMTeamFolderGetInfoItemSerializer", + "DBTEAMTeamFolderIdListArgSerializer", + "DBTEAMTeamFolderInvalidStatusErrorSerializer", + "DBTEAMTeamFolderListArgSerializer", + "DBTEAMTeamFolderListContinueArgSerializer", + "DBTEAMTeamFolderListContinueErrorSerializer", + "DBTEAMTeamFolderListErrorSerializer", + "DBTEAMTeamFolderListResultSerializer", + "DBTEAMTeamFolderMetadataSerializer", + "DBTEAMTeamFolderPermanentlyDeleteErrorSerializer", + "DBTEAMTeamFolderRenameArgSerializer", + "DBTEAMTeamFolderRenameErrorSerializer", + "DBTEAMTeamFolderStatusSerializer", + "DBTEAMTeamFolderTeamSharedDropboxErrorSerializer", + "DBTEAMTeamFolderUpdateSyncSettingsArgSerializer", + "DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer", + "DBTEAMTeamGetInfoResultSerializer", + "DBTEAMTeamMemberInfoSerializer", + "DBTEAMTeamMemberInfoV2Serializer", + "DBTEAMTeamMemberInfoV2ResultSerializer", + "DBTEAMTeamMemberProfileSerializer", + "DBTEAMTeamMemberRoleSerializer", + "DBTEAMTeamMemberStatusSerializer", + "DBTEAMTeamMembershipTypeSerializer", + "DBTEAMTeamNamespacesListArgSerializer", + "DBTEAMTeamNamespacesListContinueArgSerializer", + "DBTEAMTeamNamespacesListErrorSerializer", + "DBTEAMTeamNamespacesListContinueErrorSerializer", + "DBTEAMTeamNamespacesListResultSerializer", + "DBTEAMTeamReportFailureReasonSerializer", + "DBTEAMTokenGetAuthenticatedAdminErrorSerializer", + "DBTEAMTokenGetAuthenticatedAdminResultSerializer", + "DBTEAMUploadApiRateLimitValueSerializer", + "DBTEAMUserAddResultSerializer", + "DBTEAMUserCustomQuotaArgSerializer", + "DBTEAMUserCustomQuotaResultSerializer", + "DBTEAMUserDeleteEmailsResultSerializer", + "DBTEAMUserDeleteResultSerializer", + "DBTEAMUserResendEmailsResultSerializer", + "DBTEAMUserResendResultSerializer", + "DBTEAMUserSecondaryEmailsArgSerializer", + "DBTEAMUserSecondaryEmailsResultSerializer", + "DBTEAMUserSelectorArgSerializer", + "DBTEAMUsersSelectorArgSerializer", + "DBTEAMCOMMONGroupManagementTypeSerializer", + "DBTEAMCOMMONGroupSummarySerializer", + "DBTEAMCOMMONGroupTypeSerializer", + "DBTEAMCOMMONMemberSpaceLimitTypeSerializer", + "DBTEAMCOMMONTimeRangeSerializer", + "DBTEAMLOGAccessMethodLogInfoSerializer", + "DBTEAMLOGAccountCaptureAvailabilitySerializer", + "DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer", + "DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer", + "DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer", + "DBTEAMLOGAccountCaptureChangePolicyTypeSerializer", + "DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer", + "DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer", + "DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer", + "DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer", + "DBTEAMLOGAccountCaptureNotificationTypeSerializer", + "DBTEAMLOGAccountCapturePolicySerializer", + "DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer", + "DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer", + "DBTEAMLOGAccountLockOrUnlockedDetailsSerializer", + "DBTEAMLOGAccountLockOrUnlockedTypeSerializer", + "DBTEAMLOGAccountStateSerializer", + "DBTEAMLOGActionDetailsSerializer", + "DBTEAMLOGActorLogInfoSerializer", + "DBTEAMLOGAdminAlertCategoryEnumSerializer", + "DBTEAMLOGAdminAlertGeneralStateEnumSerializer", + "DBTEAMLOGAdminAlertSeverityEnumSerializer", + "DBTEAMLOGAdminAlertingAlertConfigurationSerializer", + "DBTEAMLOGAdminAlertingAlertSensitivitySerializer", + "DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer", + "DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer", + "DBTEAMLOGAdminAlertingAlertStatePolicySerializer", + "DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer", + "DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer", + "DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer", + "DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer", + "DBTEAMLOGAdminConsoleAppPermissionSerializer", + "DBTEAMLOGAdminConsoleAppPolicySerializer", + "DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer", + "DBTEAMLOGAdminEmailRemindersChangedTypeSerializer", + "DBTEAMLOGAdminEmailRemindersPolicySerializer", + "DBTEAMLOGAdminRoleSerializer", + "DBTEAMLOGAlertRecipientsSettingTypeSerializer", + "DBTEAMLOGAllowDownloadDisabledDetailsSerializer", + "DBTEAMLOGAllowDownloadDisabledTypeSerializer", + "DBTEAMLOGAllowDownloadEnabledDetailsSerializer", + "DBTEAMLOGAllowDownloadEnabledTypeSerializer", + "DBTEAMLOGApiSessionLogInfoSerializer", + "DBTEAMLOGAppBlockedByPermissionsDetailsSerializer", + "DBTEAMLOGAppBlockedByPermissionsTypeSerializer", + "DBTEAMLOGAppLinkTeamDetailsSerializer", + "DBTEAMLOGAppLinkTeamTypeSerializer", + "DBTEAMLOGAppLinkUserDetailsSerializer", + "DBTEAMLOGAppLinkUserTypeSerializer", + "DBTEAMLOGAppLogInfoSerializer", + "DBTEAMLOGAppPermissionsChangedDetailsSerializer", + "DBTEAMLOGAppPermissionsChangedTypeSerializer", + "DBTEAMLOGAppUnlinkTeamDetailsSerializer", + "DBTEAMLOGAppUnlinkTeamTypeSerializer", + "DBTEAMLOGAppUnlinkUserDetailsSerializer", + "DBTEAMLOGAppUnlinkUserTypeSerializer", + "DBTEAMLOGApplyNamingConventionDetailsSerializer", + "DBTEAMLOGApplyNamingConventionTypeSerializer", + "DBTEAMLOGAssetLogInfoSerializer", + "DBTEAMLOGBackupAdminInvitationSentDetailsSerializer", + "DBTEAMLOGBackupAdminInvitationSentTypeSerializer", + "DBTEAMLOGBackupInvitationOpenedDetailsSerializer", + "DBTEAMLOGBackupInvitationOpenedTypeSerializer", + "DBTEAMLOGBackupStatusSerializer", + "DBTEAMLOGBinderAddPageDetailsSerializer", + "DBTEAMLOGBinderAddPageTypeSerializer", + "DBTEAMLOGBinderAddSectionDetailsSerializer", + "DBTEAMLOGBinderAddSectionTypeSerializer", + "DBTEAMLOGBinderRemovePageDetailsSerializer", + "DBTEAMLOGBinderRemovePageTypeSerializer", + "DBTEAMLOGBinderRemoveSectionDetailsSerializer", + "DBTEAMLOGBinderRemoveSectionTypeSerializer", + "DBTEAMLOGBinderRenamePageDetailsSerializer", + "DBTEAMLOGBinderRenamePageTypeSerializer", + "DBTEAMLOGBinderRenameSectionDetailsSerializer", + "DBTEAMLOGBinderRenameSectionTypeSerializer", + "DBTEAMLOGBinderReorderPageDetailsSerializer", + "DBTEAMLOGBinderReorderPageTypeSerializer", + "DBTEAMLOGBinderReorderSectionDetailsSerializer", + "DBTEAMLOGBinderReorderSectionTypeSerializer", + "DBTEAMLOGCameraUploadsPolicySerializer", + "DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer", + "DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer", + "DBTEAMLOGCaptureTranscriptPolicySerializer", + "DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer", + "DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer", + "DBTEAMLOGCertificateSerializer", + "DBTEAMLOGChangeLinkExpirationPolicySerializer", + "DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer", + "DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer", + "DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer", + "DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer", + "DBTEAMLOGClassificationChangePolicyDetailsSerializer", + "DBTEAMLOGClassificationChangePolicyTypeSerializer", + "DBTEAMLOGClassificationCreateReportDetailsSerializer", + "DBTEAMLOGClassificationCreateReportFailDetailsSerializer", + "DBTEAMLOGClassificationCreateReportFailTypeSerializer", + "DBTEAMLOGClassificationCreateReportTypeSerializer", + "DBTEAMLOGClassificationPolicyEnumWrapperSerializer", + "DBTEAMLOGClassificationTypeSerializer", + "DBTEAMLOGCollectionShareDetailsSerializer", + "DBTEAMLOGCollectionShareTypeSerializer", + "DBTEAMLOGComputerBackupPolicySerializer", + "DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer", + "DBTEAMLOGComputerBackupPolicyChangedTypeSerializer", + "DBTEAMLOGConnectedTeamNameSerializer", + "DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer", + "DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer", + "DBTEAMLOGContentPermanentDeletePolicySerializer", + "DBTEAMLOGContextLogInfoSerializer", + "DBTEAMLOGCreateFolderDetailsSerializer", + "DBTEAMLOGCreateFolderTypeSerializer", + "DBTEAMLOGCreateTeamInviteLinkDetailsSerializer", + "DBTEAMLOGCreateTeamInviteLinkTypeSerializer", + "DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer", + "DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer", + "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer", + "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer", + "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer", + "DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer", + "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer", + "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer", + "DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer", + "DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer", + "DBTEAMLOGDeleteTeamInviteLinkTypeSerializer", + "DBTEAMLOGDeviceSessionLogInfoSerializer", + "DBTEAMLOGDesktopDeviceSessionLogInfoSerializer", + "DBTEAMLOGSessionLogInfoSerializer", + "DBTEAMLOGDesktopSessionLogInfoSerializer", + "DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer", + "DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer", + "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer", + "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer", + "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer", + "DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer", + "DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer", + "DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer", + "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer", + "DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer", + "DBTEAMLOGDeviceApprovalsPolicySerializer", + "DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer", + "DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer", + "DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer", + "DBTEAMLOGDeviceChangeIpDesktopTypeSerializer", + "DBTEAMLOGDeviceChangeIpMobileDetailsSerializer", + "DBTEAMLOGDeviceChangeIpMobileTypeSerializer", + "DBTEAMLOGDeviceChangeIpWebDetailsSerializer", + "DBTEAMLOGDeviceChangeIpWebTypeSerializer", + "DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer", + "DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer", + "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer", + "DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer", + "DBTEAMLOGDeviceLinkFailDetailsSerializer", + "DBTEAMLOGDeviceLinkFailTypeSerializer", + "DBTEAMLOGDeviceLinkSuccessDetailsSerializer", + "DBTEAMLOGDeviceLinkSuccessTypeSerializer", + "DBTEAMLOGDeviceManagementDisabledDetailsSerializer", + "DBTEAMLOGDeviceManagementDisabledTypeSerializer", + "DBTEAMLOGDeviceManagementEnabledDetailsSerializer", + "DBTEAMLOGDeviceManagementEnabledTypeSerializer", + "DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer", + "DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer", + "DBTEAMLOGDeviceTypeSerializer", + "DBTEAMLOGDeviceUnlinkDetailsSerializer", + "DBTEAMLOGDeviceUnlinkPolicySerializer", + "DBTEAMLOGDeviceUnlinkTypeSerializer", + "DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer", + "DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer", + "DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer", + "DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer", + "DBTEAMLOGDisabledDomainInvitesDetailsSerializer", + "DBTEAMLOGDisabledDomainInvitesTypeSerializer", + "DBTEAMLOGDispositionActionTypeSerializer", + "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer", + "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer", + "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer", + "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer", + "DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer", + "DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer", + "DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer", + "DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer", + "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer", + "DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer", + "DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer", + "DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer", + "DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer", + "DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer", + "DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer", + "DBTEAMLOGDownloadPolicyTypeSerializer", + "DBTEAMLOGDropboxPasswordsExportedDetailsSerializer", + "DBTEAMLOGDropboxPasswordsExportedTypeSerializer", + "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer", + "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer", + "DBTEAMLOGDropboxPasswordsPolicySerializer", + "DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer", + "DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer", + "DBTEAMLOGDurationLogInfoSerializer", + "DBTEAMLOGEmailIngestPolicySerializer", + "DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer", + "DBTEAMLOGEmailIngestPolicyChangedTypeSerializer", + "DBTEAMLOGEmailIngestReceiveFileDetailsSerializer", + "DBTEAMLOGEmailIngestReceiveFileTypeSerializer", + "DBTEAMLOGEmmAddExceptionDetailsSerializer", + "DBTEAMLOGEmmAddExceptionTypeSerializer", + "DBTEAMLOGEmmChangePolicyDetailsSerializer", + "DBTEAMLOGEmmChangePolicyTypeSerializer", + "DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer", + "DBTEAMLOGEmmCreateExceptionsReportTypeSerializer", + "DBTEAMLOGEmmCreateUsageReportDetailsSerializer", + "DBTEAMLOGEmmCreateUsageReportTypeSerializer", + "DBTEAMLOGEmmErrorDetailsSerializer", + "DBTEAMLOGEmmErrorTypeSerializer", + "DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer", + "DBTEAMLOGEmmRefreshAuthTokenTypeSerializer", + "DBTEAMLOGEmmRemoveExceptionDetailsSerializer", + "DBTEAMLOGEmmRemoveExceptionTypeSerializer", + "DBTEAMLOGEnabledDomainInvitesDetailsSerializer", + "DBTEAMLOGEnabledDomainInvitesTypeSerializer", + "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer", + "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer", + "DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer", + "DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer", + "DBTEAMLOGEnforceLinkPasswordPolicySerializer", + "DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer", + "DBTEAMLOGEnterpriseSettingsLockingTypeSerializer", + "DBTEAMLOGEventCategorySerializer", + "DBTEAMLOGEventDetailsSerializer", + "DBTEAMLOGEventTypeSerializer", + "DBTEAMLOGEventTypeArgSerializer", + "DBTEAMLOGExportMembersReportDetailsSerializer", + "DBTEAMLOGExportMembersReportFailDetailsSerializer", + "DBTEAMLOGExportMembersReportFailTypeSerializer", + "DBTEAMLOGExportMembersReportTypeSerializer", + "DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer", + "DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer", + "DBTEAMLOGExtendedVersionHistoryPolicySerializer", + "DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer", + "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer", + "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer", + "DBTEAMLOGExternalDriveBackupPolicySerializer", + "DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer", + "DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer", + "DBTEAMLOGExternalDriveBackupStatusSerializer", + "DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer", + "DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer", + "DBTEAMLOGExternalSharingCreateReportDetailsSerializer", + "DBTEAMLOGExternalSharingCreateReportTypeSerializer", + "DBTEAMLOGExternalSharingReportFailedDetailsSerializer", + "DBTEAMLOGExternalSharingReportFailedTypeSerializer", + "DBTEAMLOGExternalUserLogInfoSerializer", + "DBTEAMLOGFailureDetailsLogInfoSerializer", + "DBTEAMLOGFedAdminRoleSerializer", + "DBTEAMLOGFedExtraDetailsSerializer", + "DBTEAMLOGFedHandshakeActionSerializer", + "DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer", + "DBTEAMLOGFileAddCommentDetailsSerializer", + "DBTEAMLOGFileAddCommentTypeSerializer", + "DBTEAMLOGFileAddDetailsSerializer", + "DBTEAMLOGFileAddFromAutomationDetailsSerializer", + "DBTEAMLOGFileAddFromAutomationTypeSerializer", + "DBTEAMLOGFileAddTypeSerializer", + "DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer", + "DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer", + "DBTEAMLOGFileCommentNotificationPolicySerializer", + "DBTEAMLOGFileCommentsChangePolicyDetailsSerializer", + "DBTEAMLOGFileCommentsChangePolicyTypeSerializer", + "DBTEAMLOGFileCommentsPolicySerializer", + "DBTEAMLOGFileCopyDetailsSerializer", + "DBTEAMLOGFileCopyTypeSerializer", + "DBTEAMLOGFileDeleteCommentDetailsSerializer", + "DBTEAMLOGFileDeleteCommentTypeSerializer", + "DBTEAMLOGFileDeleteDetailsSerializer", + "DBTEAMLOGFileDeleteTypeSerializer", + "DBTEAMLOGFileDownloadDetailsSerializer", + "DBTEAMLOGFileDownloadTypeSerializer", + "DBTEAMLOGFileEditCommentDetailsSerializer", + "DBTEAMLOGFileEditCommentTypeSerializer", + "DBTEAMLOGFileEditDetailsSerializer", + "DBTEAMLOGFileEditTypeSerializer", + "DBTEAMLOGFileGetCopyReferenceDetailsSerializer", + "DBTEAMLOGFileGetCopyReferenceTypeSerializer", + "DBTEAMLOGFileLikeCommentDetailsSerializer", + "DBTEAMLOGFileLikeCommentTypeSerializer", + "DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer", + "DBTEAMLOGFileLockingLockStatusChangedTypeSerializer", + "DBTEAMLOGFileLockingPolicyChangedDetailsSerializer", + "DBTEAMLOGFileLockingPolicyChangedTypeSerializer", + "DBTEAMLOGFileOrFolderLogInfoSerializer", + "DBTEAMLOGFileLogInfoSerializer", + "DBTEAMLOGFileMoveDetailsSerializer", + "DBTEAMLOGFileMoveTypeSerializer", + "DBTEAMLOGFilePermanentlyDeleteDetailsSerializer", + "DBTEAMLOGFilePermanentlyDeleteTypeSerializer", + "DBTEAMLOGFilePreviewDetailsSerializer", + "DBTEAMLOGFilePreviewTypeSerializer", + "DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer", + "DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer", + "DBTEAMLOGFileRenameDetailsSerializer", + "DBTEAMLOGFileRenameTypeSerializer", + "DBTEAMLOGFileRequestChangeDetailsSerializer", + "DBTEAMLOGFileRequestChangeTypeSerializer", + "DBTEAMLOGFileRequestCloseDetailsSerializer", + "DBTEAMLOGFileRequestCloseTypeSerializer", + "DBTEAMLOGFileRequestCreateDetailsSerializer", + "DBTEAMLOGFileRequestCreateTypeSerializer", + "DBTEAMLOGFileRequestDeadlineSerializer", + "DBTEAMLOGFileRequestDeleteDetailsSerializer", + "DBTEAMLOGFileRequestDeleteTypeSerializer", + "DBTEAMLOGFileRequestDetailsSerializer", + "DBTEAMLOGFileRequestReceiveFileDetailsSerializer", + "DBTEAMLOGFileRequestReceiveFileTypeSerializer", + "DBTEAMLOGFileRequestsChangePolicyDetailsSerializer", + "DBTEAMLOGFileRequestsChangePolicyTypeSerializer", + "DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer", + "DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer", + "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer", + "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer", + "DBTEAMLOGFileRequestsPolicySerializer", + "DBTEAMLOGFileResolveCommentDetailsSerializer", + "DBTEAMLOGFileResolveCommentTypeSerializer", + "DBTEAMLOGFileRestoreDetailsSerializer", + "DBTEAMLOGFileRestoreTypeSerializer", + "DBTEAMLOGFileRevertDetailsSerializer", + "DBTEAMLOGFileRevertTypeSerializer", + "DBTEAMLOGFileRollbackChangesDetailsSerializer", + "DBTEAMLOGFileRollbackChangesTypeSerializer", + "DBTEAMLOGFileSaveCopyReferenceDetailsSerializer", + "DBTEAMLOGFileSaveCopyReferenceTypeSerializer", + "DBTEAMLOGFileTransfersFileAddDetailsSerializer", + "DBTEAMLOGFileTransfersFileAddTypeSerializer", + "DBTEAMLOGFileTransfersPolicySerializer", + "DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer", + "DBTEAMLOGFileTransfersPolicyChangedTypeSerializer", + "DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer", + "DBTEAMLOGFileTransfersTransferDeleteTypeSerializer", + "DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer", + "DBTEAMLOGFileTransfersTransferDownloadTypeSerializer", + "DBTEAMLOGFileTransfersTransferSendDetailsSerializer", + "DBTEAMLOGFileTransfersTransferSendTypeSerializer", + "DBTEAMLOGFileTransfersTransferViewDetailsSerializer", + "DBTEAMLOGFileTransfersTransferViewTypeSerializer", + "DBTEAMLOGFileUnlikeCommentDetailsSerializer", + "DBTEAMLOGFileUnlikeCommentTypeSerializer", + "DBTEAMLOGFileUnresolveCommentDetailsSerializer", + "DBTEAMLOGFileUnresolveCommentTypeSerializer", + "DBTEAMLOGFolderLinkRestrictionPolicySerializer", + "DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer", + "DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer", + "DBTEAMLOGFolderLogInfoSerializer", + "DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer", + "DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer", + "DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer", + "DBTEAMLOGFolderOverviewItemPinnedTypeSerializer", + "DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer", + "DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer", + "DBTEAMLOGGeoLocationLogInfoSerializer", + "DBTEAMLOGGetTeamEventsArgSerializer", + "DBTEAMLOGGetTeamEventsContinueArgSerializer", + "DBTEAMLOGGetTeamEventsContinueErrorSerializer", + "DBTEAMLOGGetTeamEventsErrorSerializer", + "DBTEAMLOGGetTeamEventsResultSerializer", + "DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer", + "DBTEAMLOGGoogleSsoChangePolicyTypeSerializer", + "DBTEAMLOGGoogleSsoPolicySerializer", + "DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer", + "DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer", + "DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer", + "DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer", + "DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer", + "DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer", + "DBTEAMLOGGovernancePolicyCreateDetailsSerializer", + "DBTEAMLOGGovernancePolicyCreateTypeSerializer", + "DBTEAMLOGGovernancePolicyDeleteDetailsSerializer", + "DBTEAMLOGGovernancePolicyDeleteTypeSerializer", + "DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer", + "DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer", + "DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer", + "DBTEAMLOGGovernancePolicyEditDurationTypeSerializer", + "DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer", + "DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer", + "DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer", + "DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer", + "DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer", + "DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer", + "DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer", + "DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer", + "DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer", + "DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer", + "DBTEAMLOGGroupAddExternalIdDetailsSerializer", + "DBTEAMLOGGroupAddExternalIdTypeSerializer", + "DBTEAMLOGGroupAddMemberDetailsSerializer", + "DBTEAMLOGGroupAddMemberTypeSerializer", + "DBTEAMLOGGroupChangeExternalIdDetailsSerializer", + "DBTEAMLOGGroupChangeExternalIdTypeSerializer", + "DBTEAMLOGGroupChangeManagementTypeDetailsSerializer", + "DBTEAMLOGGroupChangeManagementTypeTypeSerializer", + "DBTEAMLOGGroupChangeMemberRoleDetailsSerializer", + "DBTEAMLOGGroupChangeMemberRoleTypeSerializer", + "DBTEAMLOGGroupCreateDetailsSerializer", + "DBTEAMLOGGroupCreateTypeSerializer", + "DBTEAMLOGGroupDeleteDetailsSerializer", + "DBTEAMLOGGroupDeleteTypeSerializer", + "DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer", + "DBTEAMLOGGroupDescriptionUpdatedTypeSerializer", + "DBTEAMLOGGroupJoinPolicySerializer", + "DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer", + "DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer", + "DBTEAMLOGGroupLogInfoSerializer", + "DBTEAMLOGGroupMovedDetailsSerializer", + "DBTEAMLOGGroupMovedTypeSerializer", + "DBTEAMLOGGroupRemoveExternalIdDetailsSerializer", + "DBTEAMLOGGroupRemoveExternalIdTypeSerializer", + "DBTEAMLOGGroupRemoveMemberDetailsSerializer", + "DBTEAMLOGGroupRemoveMemberTypeSerializer", + "DBTEAMLOGGroupRenameDetailsSerializer", + "DBTEAMLOGGroupRenameTypeSerializer", + "DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer", + "DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer", + "DBTEAMLOGGuestAdminChangeStatusDetailsSerializer", + "DBTEAMLOGGuestAdminChangeStatusTypeSerializer", + "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer", + "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer", + "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer", + "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer", + "DBTEAMLOGIdentifierTypeSerializer", + "DBTEAMLOGIntegrationConnectedDetailsSerializer", + "DBTEAMLOGIntegrationConnectedTypeSerializer", + "DBTEAMLOGIntegrationDisconnectedDetailsSerializer", + "DBTEAMLOGIntegrationDisconnectedTypeSerializer", + "DBTEAMLOGIntegrationPolicySerializer", + "DBTEAMLOGIntegrationPolicyChangedDetailsSerializer", + "DBTEAMLOGIntegrationPolicyChangedTypeSerializer", + "DBTEAMLOGInviteAcceptanceEmailPolicySerializer", + "DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer", + "DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer", + "DBTEAMLOGInviteMethodSerializer", + "DBTEAMLOGJoinTeamDetailsSerializer", + "DBTEAMLOGLabelTypeSerializer", + "DBTEAMLOGLegacyDeviceSessionLogInfoSerializer", + "DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer", + "DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer", + "DBTEAMLOGLegalHoldsAddMembersDetailsSerializer", + "DBTEAMLOGLegalHoldsAddMembersTypeSerializer", + "DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer", + "DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer", + "DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer", + "DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer", + "DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer", + "DBTEAMLOGLegalHoldsExportAHoldTypeSerializer", + "DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer", + "DBTEAMLOGLegalHoldsExportCancelledTypeSerializer", + "DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer", + "DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer", + "DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer", + "DBTEAMLOGLegalHoldsExportRemovedTypeSerializer", + "DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer", + "DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer", + "DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer", + "DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer", + "DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer", + "DBTEAMLOGLegalHoldsReportAHoldTypeSerializer", + "DBTEAMLOGLinkedDeviceLogInfoSerializer", + "DBTEAMLOGLockStatusSerializer", + "DBTEAMLOGLoginFailDetailsSerializer", + "DBTEAMLOGLoginFailTypeSerializer", + "DBTEAMLOGLoginMethodSerializer", + "DBTEAMLOGLoginSuccessDetailsSerializer", + "DBTEAMLOGLoginSuccessTypeSerializer", + "DBTEAMLOGLogoutDetailsSerializer", + "DBTEAMLOGLogoutTypeSerializer", + "DBTEAMLOGMemberAddExternalIdDetailsSerializer", + "DBTEAMLOGMemberAddExternalIdTypeSerializer", + "DBTEAMLOGMemberAddNameDetailsSerializer", + "DBTEAMLOGMemberAddNameTypeSerializer", + "DBTEAMLOGMemberChangeAdminRoleDetailsSerializer", + "DBTEAMLOGMemberChangeAdminRoleTypeSerializer", + "DBTEAMLOGMemberChangeEmailDetailsSerializer", + "DBTEAMLOGMemberChangeEmailTypeSerializer", + "DBTEAMLOGMemberChangeExternalIdDetailsSerializer", + "DBTEAMLOGMemberChangeExternalIdTypeSerializer", + "DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer", + "DBTEAMLOGMemberChangeMembershipTypeTypeSerializer", + "DBTEAMLOGMemberChangeNameDetailsSerializer", + "DBTEAMLOGMemberChangeNameTypeSerializer", + "DBTEAMLOGMemberChangeResellerRoleDetailsSerializer", + "DBTEAMLOGMemberChangeResellerRoleTypeSerializer", + "DBTEAMLOGMemberChangeStatusDetailsSerializer", + "DBTEAMLOGMemberChangeStatusTypeSerializer", + "DBTEAMLOGMemberDeleteManualContactsDetailsSerializer", + "DBTEAMLOGMemberDeleteManualContactsTypeSerializer", + "DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer", + "DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer", + "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer", + "DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer", + "DBTEAMLOGMemberRemoveActionTypeSerializer", + "DBTEAMLOGMemberRemoveExternalIdDetailsSerializer", + "DBTEAMLOGMemberRemoveExternalIdTypeSerializer", + "DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer", + "DBTEAMLOGMemberRequestsChangePolicyTypeSerializer", + "DBTEAMLOGMemberRequestsPolicySerializer", + "DBTEAMLOGMemberSendInvitePolicySerializer", + "DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer", + "DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer", + "DBTEAMLOGMemberSetProfilePhotoDetailsSerializer", + "DBTEAMLOGMemberSetProfilePhotoTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer", + "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer", + "DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer", + "DBTEAMLOGMemberStatusSerializer", + "DBTEAMLOGMemberSuggestDetailsSerializer", + "DBTEAMLOGMemberSuggestTypeSerializer", + "DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer", + "DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer", + "DBTEAMLOGMemberSuggestionsPolicySerializer", + "DBTEAMLOGMemberTransferAccountContentsDetailsSerializer", + "DBTEAMLOGMemberTransferAccountContentsTypeSerializer", + "DBTEAMLOGMemberTransferredInternalFieldsSerializer", + "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer", + "DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer", + "DBTEAMLOGMicrosoftOfficeAddinPolicySerializer", + "DBTEAMLOGMissingDetailsSerializer", + "DBTEAMLOGMobileDeviceSessionLogInfoSerializer", + "DBTEAMLOGMobileSessionLogInfoSerializer", + "DBTEAMLOGNamespaceRelativePathLogInfoSerializer", + "DBTEAMLOGNetworkControlChangePolicyDetailsSerializer", + "DBTEAMLOGNetworkControlChangePolicyTypeSerializer", + "DBTEAMLOGNetworkControlPolicySerializer", + "DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer", + "DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer", + "DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer", + "DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer", + "DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer", + "DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer", + "DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer", + "DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer", + "DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer", + "DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer", + "DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer", + "DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer", + "DBTEAMLOGUserLogInfoSerializer", + "DBTEAMLOGNonTeamMemberLogInfoSerializer", + "DBTEAMLOGNonTrustedTeamDetailsSerializer", + "DBTEAMLOGNoteAclInviteOnlyDetailsSerializer", + "DBTEAMLOGNoteAclInviteOnlyTypeSerializer", + "DBTEAMLOGNoteAclLinkDetailsSerializer", + "DBTEAMLOGNoteAclLinkTypeSerializer", + "DBTEAMLOGNoteAclTeamLinkDetailsSerializer", + "DBTEAMLOGNoteAclTeamLinkTypeSerializer", + "DBTEAMLOGNoteShareReceiveDetailsSerializer", + "DBTEAMLOGNoteShareReceiveTypeSerializer", + "DBTEAMLOGNoteSharedDetailsSerializer", + "DBTEAMLOGNoteSharedTypeSerializer", + "DBTEAMLOGObjectLabelAddedDetailsSerializer", + "DBTEAMLOGObjectLabelAddedTypeSerializer", + "DBTEAMLOGObjectLabelRemovedDetailsSerializer", + "DBTEAMLOGObjectLabelRemovedTypeSerializer", + "DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer", + "DBTEAMLOGObjectLabelUpdatedValueTypeSerializer", + "DBTEAMLOGOpenNoteSharedDetailsSerializer", + "DBTEAMLOGOpenNoteSharedTypeSerializer", + "DBTEAMLOGOrganizationDetailsSerializer", + "DBTEAMLOGOrganizationNameSerializer", + "DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer", + "DBTEAMLOGOrganizeFolderWithTidyTypeSerializer", + "DBTEAMLOGOriginLogInfoSerializer", + "DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer", + "DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer", + "DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer", + "DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer", + "DBTEAMLOGPaperAccessTypeSerializer", + "DBTEAMLOGPaperAdminExportStartDetailsSerializer", + "DBTEAMLOGPaperAdminExportStartTypeSerializer", + "DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer", + "DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer", + "DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer", + "DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer", + "DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer", + "DBTEAMLOGPaperChangeMemberPolicyTypeSerializer", + "DBTEAMLOGPaperChangePolicyDetailsSerializer", + "DBTEAMLOGPaperChangePolicyTypeSerializer", + "DBTEAMLOGPaperContentAddMemberDetailsSerializer", + "DBTEAMLOGPaperContentAddMemberTypeSerializer", + "DBTEAMLOGPaperContentAddToFolderDetailsSerializer", + "DBTEAMLOGPaperContentAddToFolderTypeSerializer", + "DBTEAMLOGPaperContentArchiveDetailsSerializer", + "DBTEAMLOGPaperContentArchiveTypeSerializer", + "DBTEAMLOGPaperContentCreateDetailsSerializer", + "DBTEAMLOGPaperContentCreateTypeSerializer", + "DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer", + "DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer", + "DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer", + "DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer", + "DBTEAMLOGPaperContentRemoveMemberDetailsSerializer", + "DBTEAMLOGPaperContentRemoveMemberTypeSerializer", + "DBTEAMLOGPaperContentRenameDetailsSerializer", + "DBTEAMLOGPaperContentRenameTypeSerializer", + "DBTEAMLOGPaperContentRestoreDetailsSerializer", + "DBTEAMLOGPaperContentRestoreTypeSerializer", + "DBTEAMLOGPaperDefaultFolderPolicySerializer", + "DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer", + "DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer", + "DBTEAMLOGPaperDesktopPolicySerializer", + "DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer", + "DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer", + "DBTEAMLOGPaperDocAddCommentDetailsSerializer", + "DBTEAMLOGPaperDocAddCommentTypeSerializer", + "DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer", + "DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer", + "DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer", + "DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer", + "DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer", + "DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer", + "DBTEAMLOGPaperDocDeleteCommentDetailsSerializer", + "DBTEAMLOGPaperDocDeleteCommentTypeSerializer", + "DBTEAMLOGPaperDocDeletedDetailsSerializer", + "DBTEAMLOGPaperDocDeletedTypeSerializer", + "DBTEAMLOGPaperDocDownloadDetailsSerializer", + "DBTEAMLOGPaperDocDownloadTypeSerializer", + "DBTEAMLOGPaperDocEditCommentDetailsSerializer", + "DBTEAMLOGPaperDocEditCommentTypeSerializer", + "DBTEAMLOGPaperDocEditDetailsSerializer", + "DBTEAMLOGPaperDocEditTypeSerializer", + "DBTEAMLOGPaperDocFollowedDetailsSerializer", + "DBTEAMLOGPaperDocFollowedTypeSerializer", + "DBTEAMLOGPaperDocMentionDetailsSerializer", + "DBTEAMLOGPaperDocMentionTypeSerializer", + "DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer", + "DBTEAMLOGPaperDocOwnershipChangedTypeSerializer", + "DBTEAMLOGPaperDocRequestAccessDetailsSerializer", + "DBTEAMLOGPaperDocRequestAccessTypeSerializer", + "DBTEAMLOGPaperDocResolveCommentDetailsSerializer", + "DBTEAMLOGPaperDocResolveCommentTypeSerializer", + "DBTEAMLOGPaperDocRevertDetailsSerializer", + "DBTEAMLOGPaperDocRevertTypeSerializer", + "DBTEAMLOGPaperDocSlackShareDetailsSerializer", + "DBTEAMLOGPaperDocSlackShareTypeSerializer", + "DBTEAMLOGPaperDocTeamInviteDetailsSerializer", + "DBTEAMLOGPaperDocTeamInviteTypeSerializer", + "DBTEAMLOGPaperDocTrashedDetailsSerializer", + "DBTEAMLOGPaperDocTrashedTypeSerializer", + "DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer", + "DBTEAMLOGPaperDocUnresolveCommentTypeSerializer", + "DBTEAMLOGPaperDocUntrashedDetailsSerializer", + "DBTEAMLOGPaperDocUntrashedTypeSerializer", + "DBTEAMLOGPaperDocViewDetailsSerializer", + "DBTEAMLOGPaperDocViewTypeSerializer", + "DBTEAMLOGPaperDocumentLogInfoSerializer", + "DBTEAMLOGPaperDownloadFormatSerializer", + "DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer", + "DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer", + "DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer", + "DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer", + "DBTEAMLOGPaperExternalViewAllowDetailsSerializer", + "DBTEAMLOGPaperExternalViewAllowTypeSerializer", + "DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer", + "DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer", + "DBTEAMLOGPaperExternalViewForbidDetailsSerializer", + "DBTEAMLOGPaperExternalViewForbidTypeSerializer", + "DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer", + "DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer", + "DBTEAMLOGPaperFolderDeletedDetailsSerializer", + "DBTEAMLOGPaperFolderDeletedTypeSerializer", + "DBTEAMLOGPaperFolderFollowedDetailsSerializer", + "DBTEAMLOGPaperFolderFollowedTypeSerializer", + "DBTEAMLOGPaperFolderLogInfoSerializer", + "DBTEAMLOGPaperFolderTeamInviteDetailsSerializer", + "DBTEAMLOGPaperFolderTeamInviteTypeSerializer", + "DBTEAMLOGPaperMemberPolicySerializer", + "DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer", + "DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer", + "DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer", + "DBTEAMLOGPaperPublishedLinkCreateTypeSerializer", + "DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer", + "DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer", + "DBTEAMLOGPaperPublishedLinkViewDetailsSerializer", + "DBTEAMLOGPaperPublishedLinkViewTypeSerializer", + "DBTEAMLOGParticipantLogInfoSerializer", + "DBTEAMLOGPassPolicySerializer", + "DBTEAMLOGPasswordChangeDetailsSerializer", + "DBTEAMLOGPasswordChangeTypeSerializer", + "DBTEAMLOGPasswordResetAllDetailsSerializer", + "DBTEAMLOGPasswordResetAllTypeSerializer", + "DBTEAMLOGPasswordResetDetailsSerializer", + "DBTEAMLOGPasswordResetTypeSerializer", + "DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer", + "DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer", + "DBTEAMLOGPathLogInfoSerializer", + "DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer", + "DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer", + "DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer", + "DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer", + "DBTEAMLOGPlacementRestrictionSerializer", + "DBTEAMLOGPolicyTypeSerializer", + "DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer", + "DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer", + "DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer", + "DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer", + "DBTEAMLOGQuickActionTypeSerializer", + "DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer", + "DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer", + "DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer", + "DBTEAMLOGRansomwareAlertCreateReportTypeSerializer", + "DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer", + "DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer", + "DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer", + "DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer", + "DBTEAMLOGRecipientsConfigurationSerializer", + "DBTEAMLOGRelocateAssetReferencesLogInfoSerializer", + "DBTEAMLOGReplayFileDeleteDetailsSerializer", + "DBTEAMLOGReplayFileDeleteTypeSerializer", + "DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer", + "DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer", + "DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer", + "DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer", + "DBTEAMLOGReplayProjectTeamAddDetailsSerializer", + "DBTEAMLOGReplayProjectTeamAddTypeSerializer", + "DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer", + "DBTEAMLOGReplayProjectTeamDeleteTypeSerializer", + "DBTEAMLOGResellerLogInfoSerializer", + "DBTEAMLOGResellerRoleSerializer", + "DBTEAMLOGResellerSupportChangePolicyDetailsSerializer", + "DBTEAMLOGResellerSupportChangePolicyTypeSerializer", + "DBTEAMLOGResellerSupportPolicySerializer", + "DBTEAMLOGResellerSupportSessionEndDetailsSerializer", + "DBTEAMLOGResellerSupportSessionEndTypeSerializer", + "DBTEAMLOGResellerSupportSessionStartDetailsSerializer", + "DBTEAMLOGResellerSupportSessionStartTypeSerializer", + "DBTEAMLOGRewindFolderDetailsSerializer", + "DBTEAMLOGRewindFolderTypeSerializer", + "DBTEAMLOGRewindPolicySerializer", + "DBTEAMLOGRewindPolicyChangedDetailsSerializer", + "DBTEAMLOGRewindPolicyChangedTypeSerializer", + "DBTEAMLOGSecondaryEmailDeletedDetailsSerializer", + "DBTEAMLOGSecondaryEmailDeletedTypeSerializer", + "DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer", + "DBTEAMLOGSecondaryEmailVerifiedTypeSerializer", + "DBTEAMLOGSecondaryMailsPolicySerializer", + "DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer", + "DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer", + "DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer", + "DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer", + "DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer", + "DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer", + "DBTEAMLOGSendForSignaturePolicySerializer", + "DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer", + "DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer", + "DBTEAMLOGSfAddGroupDetailsSerializer", + "DBTEAMLOGSfAddGroupTypeSerializer", + "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer", + "DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer", + "DBTEAMLOGSfExternalInviteWarnDetailsSerializer", + "DBTEAMLOGSfExternalInviteWarnTypeSerializer", + "DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer", + "DBTEAMLOGSfFbInviteChangeRoleTypeSerializer", + "DBTEAMLOGSfFbInviteDetailsSerializer", + "DBTEAMLOGSfFbInviteTypeSerializer", + "DBTEAMLOGSfFbUninviteDetailsSerializer", + "DBTEAMLOGSfFbUninviteTypeSerializer", + "DBTEAMLOGSfInviteGroupDetailsSerializer", + "DBTEAMLOGSfInviteGroupTypeSerializer", + "DBTEAMLOGSfTeamGrantAccessDetailsSerializer", + "DBTEAMLOGSfTeamGrantAccessTypeSerializer", + "DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer", + "DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer", + "DBTEAMLOGSfTeamInviteDetailsSerializer", + "DBTEAMLOGSfTeamInviteTypeSerializer", + "DBTEAMLOGSfTeamJoinDetailsSerializer", + "DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer", + "DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer", + "DBTEAMLOGSfTeamJoinTypeSerializer", + "DBTEAMLOGSfTeamUninviteDetailsSerializer", + "DBTEAMLOGSfTeamUninviteTypeSerializer", + "DBTEAMLOGSharedContentAddInviteesDetailsSerializer", + "DBTEAMLOGSharedContentAddInviteesTypeSerializer", + "DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer", + "DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer", + "DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer", + "DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer", + "DBTEAMLOGSharedContentAddMemberDetailsSerializer", + "DBTEAMLOGSharedContentAddMemberTypeSerializer", + "DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer", + "DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer", + "DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer", + "DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer", + "DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer", + "DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer", + "DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer", + "DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer", + "DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer", + "DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer", + "DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer", + "DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer", + "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer", + "DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer", + "DBTEAMLOGSharedContentClaimInvitationDetailsSerializer", + "DBTEAMLOGSharedContentClaimInvitationTypeSerializer", + "DBTEAMLOGSharedContentCopyDetailsSerializer", + "DBTEAMLOGSharedContentCopyTypeSerializer", + "DBTEAMLOGSharedContentDownloadDetailsSerializer", + "DBTEAMLOGSharedContentDownloadTypeSerializer", + "DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer", + "DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer", + "DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer", + "DBTEAMLOGSharedContentRemoveInviteesTypeSerializer", + "DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer", + "DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer", + "DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer", + "DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer", + "DBTEAMLOGSharedContentRemoveMemberDetailsSerializer", + "DBTEAMLOGSharedContentRemoveMemberTypeSerializer", + "DBTEAMLOGSharedContentRequestAccessDetailsSerializer", + "DBTEAMLOGSharedContentRequestAccessTypeSerializer", + "DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer", + "DBTEAMLOGSharedContentRestoreInviteesTypeSerializer", + "DBTEAMLOGSharedContentRestoreMemberDetailsSerializer", + "DBTEAMLOGSharedContentRestoreMemberTypeSerializer", + "DBTEAMLOGSharedContentUnshareDetailsSerializer", + "DBTEAMLOGSharedContentUnshareTypeSerializer", + "DBTEAMLOGSharedContentViewDetailsSerializer", + "DBTEAMLOGSharedContentViewTypeSerializer", + "DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer", + "DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer", + "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer", + "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer", + "DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer", + "DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer", + "DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer", + "DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer", + "DBTEAMLOGSharedFolderCreateDetailsSerializer", + "DBTEAMLOGSharedFolderCreateTypeSerializer", + "DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer", + "DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer", + "DBTEAMLOGSharedFolderMembersInheritancePolicySerializer", + "DBTEAMLOGSharedFolderMountDetailsSerializer", + "DBTEAMLOGSharedFolderMountTypeSerializer", + "DBTEAMLOGSharedFolderNestDetailsSerializer", + "DBTEAMLOGSharedFolderNestTypeSerializer", + "DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer", + "DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer", + "DBTEAMLOGSharedFolderUnmountDetailsSerializer", + "DBTEAMLOGSharedFolderUnmountTypeSerializer", + "DBTEAMLOGSharedLinkAccessLevelSerializer", + "DBTEAMLOGSharedLinkAddExpiryDetailsSerializer", + "DBTEAMLOGSharedLinkAddExpiryTypeSerializer", + "DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer", + "DBTEAMLOGSharedLinkChangeExpiryTypeSerializer", + "DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer", + "DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer", + "DBTEAMLOGSharedLinkCopyDetailsSerializer", + "DBTEAMLOGSharedLinkCopyTypeSerializer", + "DBTEAMLOGSharedLinkCreateDetailsSerializer", + "DBTEAMLOGSharedLinkCreateTypeSerializer", + "DBTEAMLOGSharedLinkDisableDetailsSerializer", + "DBTEAMLOGSharedLinkDisableTypeSerializer", + "DBTEAMLOGSharedLinkDownloadDetailsSerializer", + "DBTEAMLOGSharedLinkDownloadTypeSerializer", + "DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer", + "DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer", + "DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer", + "DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer", + "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer", + "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer", + "DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer", + "DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer", + "DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer", + "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer", + "DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer", + "DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer", + "DBTEAMLOGSharedLinkShareDetailsSerializer", + "DBTEAMLOGSharedLinkShareTypeSerializer", + "DBTEAMLOGSharedLinkViewDetailsSerializer", + "DBTEAMLOGSharedLinkViewTypeSerializer", + "DBTEAMLOGSharedLinkVisibilitySerializer", + "DBTEAMLOGSharedNoteOpenedDetailsSerializer", + "DBTEAMLOGSharedNoteOpenedTypeSerializer", + "DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer", + "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer", + "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer", + "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer", + "DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeLinkPolicyTypeSerializer", + "DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer", + "DBTEAMLOGSharingChangeMemberPolicyTypeSerializer", + "DBTEAMLOGSharingFolderJoinPolicySerializer", + "DBTEAMLOGSharingLinkPolicySerializer", + "DBTEAMLOGSharingMemberPolicySerializer", + "DBTEAMLOGShmodelDisableDownloadsDetailsSerializer", + "DBTEAMLOGShmodelDisableDownloadsTypeSerializer", + "DBTEAMLOGShmodelEnableDownloadsDetailsSerializer", + "DBTEAMLOGShmodelEnableDownloadsTypeSerializer", + "DBTEAMLOGShmodelGroupShareDetailsSerializer", + "DBTEAMLOGShmodelGroupShareTypeSerializer", + "DBTEAMLOGShowcaseAccessGrantedDetailsSerializer", + "DBTEAMLOGShowcaseAccessGrantedTypeSerializer", + "DBTEAMLOGShowcaseAddMemberDetailsSerializer", + "DBTEAMLOGShowcaseAddMemberTypeSerializer", + "DBTEAMLOGShowcaseArchivedDetailsSerializer", + "DBTEAMLOGShowcaseArchivedTypeSerializer", + "DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer", + "DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer", + "DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer", + "DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer", + "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer", + "DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer", + "DBTEAMLOGShowcaseCreatedDetailsSerializer", + "DBTEAMLOGShowcaseCreatedTypeSerializer", + "DBTEAMLOGShowcaseDeleteCommentDetailsSerializer", + "DBTEAMLOGShowcaseDeleteCommentTypeSerializer", + "DBTEAMLOGShowcaseDocumentLogInfoSerializer", + "DBTEAMLOGShowcaseDownloadPolicySerializer", + "DBTEAMLOGShowcaseEditCommentDetailsSerializer", + "DBTEAMLOGShowcaseEditCommentTypeSerializer", + "DBTEAMLOGShowcaseEditedDetailsSerializer", + "DBTEAMLOGShowcaseEditedTypeSerializer", + "DBTEAMLOGShowcaseEnabledPolicySerializer", + "DBTEAMLOGShowcaseExternalSharingPolicySerializer", + "DBTEAMLOGShowcaseFileAddedDetailsSerializer", + "DBTEAMLOGShowcaseFileAddedTypeSerializer", + "DBTEAMLOGShowcaseFileDownloadDetailsSerializer", + "DBTEAMLOGShowcaseFileDownloadTypeSerializer", + "DBTEAMLOGShowcaseFileRemovedDetailsSerializer", + "DBTEAMLOGShowcaseFileRemovedTypeSerializer", + "DBTEAMLOGShowcaseFileViewDetailsSerializer", + "DBTEAMLOGShowcaseFileViewTypeSerializer", + "DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer", + "DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer", + "DBTEAMLOGShowcasePostCommentDetailsSerializer", + "DBTEAMLOGShowcasePostCommentTypeSerializer", + "DBTEAMLOGShowcaseRemoveMemberDetailsSerializer", + "DBTEAMLOGShowcaseRemoveMemberTypeSerializer", + "DBTEAMLOGShowcaseRenamedDetailsSerializer", + "DBTEAMLOGShowcaseRenamedTypeSerializer", + "DBTEAMLOGShowcaseRequestAccessDetailsSerializer", + "DBTEAMLOGShowcaseRequestAccessTypeSerializer", + "DBTEAMLOGShowcaseResolveCommentDetailsSerializer", + "DBTEAMLOGShowcaseResolveCommentTypeSerializer", + "DBTEAMLOGShowcaseRestoredDetailsSerializer", + "DBTEAMLOGShowcaseRestoredTypeSerializer", + "DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer", + "DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer", + "DBTEAMLOGShowcaseTrashedDetailsSerializer", + "DBTEAMLOGShowcaseTrashedTypeSerializer", + "DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer", + "DBTEAMLOGShowcaseUnresolveCommentTypeSerializer", + "DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer", + "DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer", + "DBTEAMLOGShowcaseUntrashedDetailsSerializer", + "DBTEAMLOGShowcaseUntrashedTypeSerializer", + "DBTEAMLOGShowcaseViewDetailsSerializer", + "DBTEAMLOGShowcaseViewTypeSerializer", + "DBTEAMLOGSignInAsSessionEndDetailsSerializer", + "DBTEAMLOGSignInAsSessionEndTypeSerializer", + "DBTEAMLOGSignInAsSessionStartDetailsSerializer", + "DBTEAMLOGSignInAsSessionStartTypeSerializer", + "DBTEAMLOGSmartSyncChangePolicyDetailsSerializer", + "DBTEAMLOGSmartSyncChangePolicyTypeSerializer", + "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer", + "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer", + "DBTEAMLOGSmartSyncNotOptOutDetailsSerializer", + "DBTEAMLOGSmartSyncNotOptOutTypeSerializer", + "DBTEAMLOGSmartSyncOptOutDetailsSerializer", + "DBTEAMLOGSmartSyncOptOutPolicySerializer", + "DBTEAMLOGSmartSyncOptOutTypeSerializer", + "DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer", + "DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer", + "DBTEAMLOGSpaceCapsTypeSerializer", + "DBTEAMLOGSpaceLimitsStatusSerializer", + "DBTEAMLOGSsoAddCertDetailsSerializer", + "DBTEAMLOGSsoAddCertTypeSerializer", + "DBTEAMLOGSsoAddLoginUrlDetailsSerializer", + "DBTEAMLOGSsoAddLoginUrlTypeSerializer", + "DBTEAMLOGSsoAddLogoutUrlDetailsSerializer", + "DBTEAMLOGSsoAddLogoutUrlTypeSerializer", + "DBTEAMLOGSsoChangeCertDetailsSerializer", + "DBTEAMLOGSsoChangeCertTypeSerializer", + "DBTEAMLOGSsoChangeLoginUrlDetailsSerializer", + "DBTEAMLOGSsoChangeLoginUrlTypeSerializer", + "DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer", + "DBTEAMLOGSsoChangeLogoutUrlTypeSerializer", + "DBTEAMLOGSsoChangePolicyDetailsSerializer", + "DBTEAMLOGSsoChangePolicyTypeSerializer", + "DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer", + "DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer", + "DBTEAMLOGSsoErrorDetailsSerializer", + "DBTEAMLOGSsoErrorTypeSerializer", + "DBTEAMLOGSsoRemoveCertDetailsSerializer", + "DBTEAMLOGSsoRemoveCertTypeSerializer", + "DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer", + "DBTEAMLOGSsoRemoveLoginUrlTypeSerializer", + "DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer", + "DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer", + "DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer", + "DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer", + "DBTEAMLOGTeamActivityCreateReportDetailsSerializer", + "DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer", + "DBTEAMLOGTeamActivityCreateReportFailTypeSerializer", + "DBTEAMLOGTeamActivityCreateReportTypeSerializer", + "DBTEAMLOGTeamBrandingPolicySerializer", + "DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer", + "DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer", + "DBTEAMLOGTeamDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer", + "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer", + "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer", + "DBTEAMLOGTeamEventSerializer", + "DBTEAMLOGTeamExtensionsPolicySerializer", + "DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer", + "DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer", + "DBTEAMLOGTeamFolderChangeStatusDetailsSerializer", + "DBTEAMLOGTeamFolderChangeStatusTypeSerializer", + "DBTEAMLOGTeamFolderCreateDetailsSerializer", + "DBTEAMLOGTeamFolderCreateTypeSerializer", + "DBTEAMLOGTeamFolderDowngradeDetailsSerializer", + "DBTEAMLOGTeamFolderDowngradeTypeSerializer", + "DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer", + "DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer", + "DBTEAMLOGTeamFolderRenameDetailsSerializer", + "DBTEAMLOGTeamFolderRenameTypeSerializer", + "DBTEAMLOGTeamInviteDetailsSerializer", + "DBTEAMLOGTeamLinkedAppLogInfoSerializer", + "DBTEAMLOGTeamLogInfoSerializer", + "DBTEAMLOGTeamMemberLogInfoSerializer", + "DBTEAMLOGTeamMembershipTypeSerializer", + "DBTEAMLOGTeamMergeFromDetailsSerializer", + "DBTEAMLOGTeamMergeFromTypeSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer", + "DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer", + "DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer", + "DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer", + "DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer", + "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestCanceledTypeSerializer", + "DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer", + "DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer", + "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestExpiredTypeSerializer", + "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestReminderDetailsSerializer", + "DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer", + "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestReminderTypeSerializer", + "DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer", + "DBTEAMLOGTeamMergeRequestRevokedTypeSerializer", + "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer", + "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer", + "DBTEAMLOGTeamMergeToDetailsSerializer", + "DBTEAMLOGTeamMergeToTypeSerializer", + "DBTEAMLOGTeamNameSerializer", + "DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer", + "DBTEAMLOGTeamProfileAddBackgroundTypeSerializer", + "DBTEAMLOGTeamProfileAddLogoDetailsSerializer", + "DBTEAMLOGTeamProfileAddLogoTypeSerializer", + "DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer", + "DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer", + "DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer", + "DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer", + "DBTEAMLOGTeamProfileChangeLogoDetailsSerializer", + "DBTEAMLOGTeamProfileChangeLogoTypeSerializer", + "DBTEAMLOGTeamProfileChangeNameDetailsSerializer", + "DBTEAMLOGTeamProfileChangeNameTypeSerializer", + "DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer", + "DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer", + "DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer", + "DBTEAMLOGTeamProfileRemoveLogoTypeSerializer", + "DBTEAMLOGTeamSelectiveSyncPolicySerializer", + "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer", + "DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer", + "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer", + "DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer", + "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer", + "DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer", + "DBTEAMLOGTfaAddBackupPhoneDetailsSerializer", + "DBTEAMLOGTfaAddBackupPhoneTypeSerializer", + "DBTEAMLOGTfaAddExceptionDetailsSerializer", + "DBTEAMLOGTfaAddExceptionTypeSerializer", + "DBTEAMLOGTfaAddSecurityKeyDetailsSerializer", + "DBTEAMLOGTfaAddSecurityKeyTypeSerializer", + "DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer", + "DBTEAMLOGTfaChangeBackupPhoneTypeSerializer", + "DBTEAMLOGTfaChangePolicyDetailsSerializer", + "DBTEAMLOGTfaChangePolicyTypeSerializer", + "DBTEAMLOGTfaChangeStatusDetailsSerializer", + "DBTEAMLOGTfaChangeStatusTypeSerializer", + "DBTEAMLOGTfaConfigurationSerializer", + "DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer", + "DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer", + "DBTEAMLOGTfaRemoveExceptionDetailsSerializer", + "DBTEAMLOGTfaRemoveExceptionTypeSerializer", + "DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer", + "DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer", + "DBTEAMLOGTfaResetDetailsSerializer", + "DBTEAMLOGTfaResetTypeSerializer", + "DBTEAMLOGTimeUnitSerializer", + "DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer", + "DBTEAMLOGTrustedNonTeamMemberTypeSerializer", + "DBTEAMLOGTrustedTeamsRequestActionSerializer", + "DBTEAMLOGTrustedTeamsRequestStateSerializer", + "DBTEAMLOGTwoAccountChangePolicyDetailsSerializer", + "DBTEAMLOGTwoAccountChangePolicyTypeSerializer", + "DBTEAMLOGTwoAccountPolicySerializer", + "DBTEAMLOGUndoNamingConventionDetailsSerializer", + "DBTEAMLOGUndoNamingConventionTypeSerializer", + "DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer", + "DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer", + "DBTEAMLOGUserLinkedAppLogInfoSerializer", + "DBTEAMLOGUserNameLogInfoSerializer", + "DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer", + "DBTEAMLOGUserTagsAddedDetailsSerializer", + "DBTEAMLOGUserTagsAddedTypeSerializer", + "DBTEAMLOGUserTagsRemovedDetailsSerializer", + "DBTEAMLOGUserTagsRemovedTypeSerializer", + "DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer", + "DBTEAMLOGViewerInfoPolicyChangedTypeSerializer", + "DBTEAMLOGWatermarkingPolicySerializer", + "DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer", + "DBTEAMLOGWatermarkingPolicyChangedTypeSerializer", + "DBTEAMLOGWebDeviceSessionLogInfoSerializer", + "DBTEAMLOGWebSessionLogInfoSerializer", + "DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer", + "DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer", + "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer", + "DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer", + "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer", + "DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer", + "DBTEAMLOGWebSessionsFixedLengthPolicySerializer", + "DBTEAMLOGWebSessionsIdleLengthPolicySerializer", + "DBTEAMPOLICIESCameraUploadsPolicyStateSerializer", + "DBTEAMPOLICIESComputerBackupPolicyStateSerializer", + "DBTEAMPOLICIESEmmStateSerializer", + "DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer", + "DBTEAMPOLICIESFileLockingPolicyStateSerializer", + "DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer", + "DBTEAMPOLICIESGroupCreationSerializer", + "DBTEAMPOLICIESOfficeAddInPolicySerializer", + "DBTEAMPOLICIESPaperDefaultFolderPolicySerializer", + "DBTEAMPOLICIESPaperDeploymentPolicySerializer", + "DBTEAMPOLICIESPaperDesktopPolicySerializer", + "DBTEAMPOLICIESPaperEnabledPolicySerializer", + "DBTEAMPOLICIESPasswordControlModeSerializer", + "DBTEAMPOLICIESPasswordStrengthPolicySerializer", + "DBTEAMPOLICIESRolloutMethodSerializer", + "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer", + "DBTEAMPOLICIESSharedFolderJoinPolicySerializer", + "DBTEAMPOLICIESSharedFolderMemberPolicySerializer", + "DBTEAMPOLICIESSharedLinkCreatePolicySerializer", + "DBTEAMPOLICIESShowcaseDownloadPolicySerializer", + "DBTEAMPOLICIESShowcaseEnabledPolicySerializer", + "DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer", + "DBTEAMPOLICIESSmartSyncPolicySerializer", + "DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer", + "DBTEAMPOLICIESSsoPolicySerializer", + "DBTEAMPOLICIESSuggestMembersPolicySerializer", + "DBTEAMPOLICIESTeamMemberPoliciesSerializer", + "DBTEAMPOLICIESTeamSharingPoliciesSerializer", + "DBTEAMPOLICIESTwoStepVerificationPolicySerializer", + "DBTEAMPOLICIESTwoStepVerificationStateSerializer", + "DBUSERSAccountSerializer", + "DBUSERSBasicAccountSerializer", + "DBUSERSFileLockingValueSerializer", + "DBUSERSFullAccountSerializer", + "DBUSERSTeamSerializer", + "DBUSERSFullTeamSerializer", + "DBUSERSGetAccountArgSerializer", + "DBUSERSGetAccountBatchArgSerializer", + "DBUSERSGetAccountBatchErrorSerializer", + "DBUSERSGetAccountErrorSerializer", + "DBUSERSIndividualSpaceAllocationSerializer", + "DBUSERSNameSerializer", + "DBUSERSPaperAsFilesValueSerializer", + "DBUSERSSpaceAllocationSerializer", + "DBUSERSSpaceUsageSerializer", + "DBUSERSTeamSpaceAllocationSerializer", + "DBUSERSUserFeatureSerializer", + "DBUSERSUserFeatureValueSerializer", + "DBUSERSUserFeaturesGetValuesBatchArgSerializer", + "DBUSERSUserFeaturesGetValuesBatchErrorSerializer", + "DBUSERSUserFeaturesGetValuesBatchResultSerializer", "DBUSERSCOMMONAccountTypeSerializer" ] - }, + }, { - "name": "Union Tags", + "name": "Union Tags", "children": [ - "DBOAuthErrorType", - "DBOAuthResultTag", + "DBOAuthErrorType", + "DBOAuthResultTag", "DBRequestErrorTag" ] - }, + }, { - "name": "Route Objects", + "name": "Route Objects", "children": [] } - ], - "hide_documentation_coverage": true, - "skip_undocumented": true, - "author_url": "https://dropbox.com/developers", - "author": "Dropbox, Inc." + ], + "author_url": "https://dropbox.com/developers", + "hide_documentation_coverage": true } diff --git a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile index a913bdf97..ab08bb57b 100644 --- a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile +++ b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile @@ -1,2 +1,2 @@ # ObjectiveDropboxOfficial -github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.11 \ No newline at end of file +github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 7.0.0 diff --git a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile.resolved b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile.resolved index fdee463b5..c23cbc344 100644 --- a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile.resolved +++ b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/Cartfile.resolved @@ -1 +1 @@ -github "dropbox/dropbox-sdk-obj-c" "3.3.2" +github "dropbox/dropbox-sdk-obj-c" "7.0.0" diff --git a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj index 0ecdd507c..e289eb4a4 100644 --- a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj +++ b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj @@ -3,10 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ + 0C8C5625260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0C8C5624260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework */; }; + 0C8C5626260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 0C8C5624260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; F2ACB7421D88A99200596DDE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F2ACB7411D88A99200596DDE /* main.m */; }; F2ACB7451D88A99200596DDE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F2ACB7441D88A99200596DDE /* AppDelegate.m */; }; F2ACB7481D88A99200596DDE /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2ACB7471D88A99200596DDE /* ViewController.m */; }; @@ -14,10 +16,24 @@ F2ACB74D1D88A99200596DDE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F2ACB74C1D88A99200596DDE /* Assets.xcassets */; }; F2ACB7501D88A99200596DDE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F2ACB74E1D88A99200596DDE /* LaunchScreen.storyboard */; }; F2ACB75C1D88ABD700596DDE /* PhotoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2ACB75B1D88ABD700596DDE /* PhotoViewController.m */; }; - F2E0ABC71D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2E0ABC61D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework */; }; /* End PBXBuildFile section */ +/* Begin PBXCopyFilesBuildPhase section */ + 0C8C5627260EC93200CD70B7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 0C8C5626260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ + 0C8C5624260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = ObjectiveDropboxOfficial.xcframework; path = Carthage/Build/ObjectiveDropboxOfficial.xcframework; sourceTree = ""; }; F2ACB73D1D88A99200596DDE /* DBRoulette.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DBRoulette.app; sourceTree = BUILT_PRODUCTS_DIR; }; F2ACB7411D88A99200596DDE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; F2ACB7431D88A99200596DDE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; @@ -38,7 +54,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - F2E0ABC71D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework in Frameworks */, + 0C8C5625260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -91,6 +107,7 @@ F2E0ABC51D92392A00CEA4D3 /* Frameworks */ = { isa = PBXGroup; children = ( + 0C8C5624260EC93200CD70B7 /* ObjectiveDropboxOfficial.xcframework */, F2E0ABC61D92392A00CEA4D3 /* ObjectiveDropboxOfficial.framework */, ); name = Frameworks; @@ -106,8 +123,7 @@ F2ACB7391D88A99200596DDE /* Sources */, F2ACB73A1D88A99200596DDE /* Frameworks */, F2ACB73B1D88A99200596DDE /* Resources */, - F2ACB7591D88AADC00596DDE /* Run Script */, - F2E0ABC81D92393800CEA4D3 /* ShellScript */, + 0C8C5627260EC93200CD70B7 /* Embed Frameworks */, ); buildRules = ( ); @@ -137,6 +153,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -163,38 +180,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - F2ACB7591D88AADC00596DDE /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(SRCROOT)/Carthage/Build/iOS/ObjectiveDropboxOfficial.framework", - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/usr/local/bin/carthage copy-frameworks"; - }; - F2E0ABC81D92393800CEA4D3 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "$(SRCROOT)/Carthage/Build/iOS/ObjectiveDropboxOfficial.framework", - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/usr/local/bin/carthage copy-frameworks\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ F2ACB7391D88A99200596DDE /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -326,7 +311,10 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = DBRoulette/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -341,7 +329,10 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = DBRoulette/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; diff --git a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m index 04df4dde9..ef2a19a87 100644 --- a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m +++ b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m @@ -31,22 +31,22 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; - ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; - viewController.authSuccessful = YES; - return YES; - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - - return NO; + DBOAuthCompletion completion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"Success! User is logged into Dropbox."); + UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; + ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; + viewController.authSuccessful = YES; + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + } + }; + BOOL canHandle = [DBClientsManager handleRedirectURL:url completion:completion]; + return canHandle; } - (void)applicationWillResignActive:(UIApplication *)application { diff --git a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m index b7559d548..336873e10 100644 --- a/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m +++ b/Examples/DBRoulette/iOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m @@ -21,11 +21,16 @@ @interface ViewController () @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { - [DBClientsManager authorizeFromController:[UIApplication sharedApplication] - controller:self - openURL:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url]; + } + scopeRequest:[[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"files.metadata.read", + @"files.content.read"] + includeGrantedScopes:NO]]; } - (IBAction)unlinkDropboxButtonPressed:(id)sender { diff --git a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj index 01e9c32f0..b2144118b 100644 --- a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj +++ b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj @@ -119,8 +119,6 @@ F272AD041D7E915C00E9727D /* Sources */, F272AD051D7E915C00E9727D /* Frameworks */, F272AD061D7E915C00E9727D /* Resources */, - 73EFE543818C3151196322EC /* [CP] Embed Pods Frameworks */, - 375001A9C2F73393DBEDD844 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -177,36 +175,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 375001A9C2F73393DBEDD844 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DBRoulette/Pods-DBRoulette-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 73EFE543818C3151196322EC /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DBRoulette/Pods-DBRoulette-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; 95FA91A542BC321FF3E24A1E /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.m b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.m index 5f7ba179d..ef2a19a87 100644 --- a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.m +++ b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/AppDelegate.m @@ -31,22 +31,22 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; - ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; - viewController.authSuccessful = YES; - return YES; - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - - return NO; + DBOAuthCompletion completion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"Success! User is logged into Dropbox."); + UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; + ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; + viewController.authSuccessful = YES; + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + } + }; + BOOL canHandle = [DBClientsManager handleRedirectURL:url completion:completion]; + return canHandle; } - (void)applicationWillResignActive:(UIApplication *)application { diff --git a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m index b7559d548..fba0a5318 100644 --- a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m +++ b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/DBRoulette/ViewController.m @@ -21,11 +21,16 @@ @interface ViewController () @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { - [DBClientsManager authorizeFromController:[UIApplication sharedApplication] - controller:self - openURL:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url]; + } + scopeRequest:[[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"files.metadata.read", + @"files.content.read"] + includeGrantedScopes:NO]]; } - (IBAction)unlinkDropboxButtonPressed:(id)sender { diff --git a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/Podfile.lock b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/Podfile.lock index de8c2daf8..acb65ff1f 100644 --- a/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/Podfile.lock +++ b/Examples/DBRoulette/iOS/CocoaPodsProject/DBRoulette/Podfile.lock @@ -1,12 +1,16 @@ PODS: - - ObjectiveDropboxOfficial (3.3.2) + - ObjectiveDropboxOfficial (6.0.0) DEPENDENCIES: - ObjectiveDropboxOfficial +SPEC REPOS: + trunk: + - ObjectiveDropboxOfficial + SPEC CHECKSUMS: - ObjectiveDropboxOfficial: fabfe6b6bf3883f730386134c5c7e17f567dba06 + ObjectiveDropboxOfficial: bca5b00db1989dd1999c04a70ac4f5e782cc1e54 PODFILE CHECKSUM: 4d2f0f91f48989221c9f8ec5525875a7a6320274 -COCOAPODS: 1.3.1 +COCOAPODS: 1.10.1 diff --git a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile index a06e1827f..88465c653 100644 --- a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile +++ b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile @@ -1,2 +1,2 @@ # ObjectiveDropboxOfficial -github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.3 \ No newline at end of file +github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 6.0.0 \ No newline at end of file diff --git a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile.resolved b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile.resolved index fdee463b5..38727dc1b 100644 --- a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile.resolved +++ b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/Cartfile.resolved @@ -1 +1 @@ -github "dropbox/dropbox-sdk-obj-c" "3.3.2" +github "dropbox/dropbox-sdk-obj-c" "6.0.0" diff --git a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.m b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.m index 04df4dde9..4467478be 100644 --- a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.m +++ b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/AppDelegate.m @@ -31,22 +31,20 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; - ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; - viewController.authSuccessful = YES; - return YES; - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - - return NO; + return [DBClientsManager handleRedirectURL:url completion:^(DBOAuthResult * authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"Success! User is logged into Dropbox."); + UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController; + ViewController *viewController = (ViewController *)navigationController.childViewControllers[0]; + viewController.authSuccessful = YES; + } else if ([authResult isCancel]) { + NSLog(@"Authorization flow was manually canceled by user!"); + } else if ([authResult isError]) { + NSLog(@"Error: %@", authResult); + } + } + }]; } - (void)applicationWillResignActive:(UIApplication *)application { diff --git a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.m b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.m index 9a74b75fe..05d9de6db 100644 --- a/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.m +++ b/Examples/DBRoulette/iOS/SubprojectProject/DBRoulette/DBRoulette/ViewController.m @@ -21,11 +21,16 @@ @interface ViewController () @implementation ViewController - (IBAction)linkDropboxButtonPressed:(id)sender { - [DBClientsManager authorizeFromController:[UIApplication sharedApplication] - controller:self - openURL:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url]; + } + scopeRequest:[[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"files.metadata.read", + @"files.content.read"] + includeGrantedScopes:NO]]; } - (IBAction)unlinkDropboxButtonPressed:(id)sender { diff --git a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile index a06e1827f..88465c653 100644 --- a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile +++ b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile @@ -1,2 +1,2 @@ # ObjectiveDropboxOfficial -github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.3 \ No newline at end of file +github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 6.0.0 \ No newline at end of file diff --git a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile.resolved b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile.resolved index fdee463b5..38727dc1b 100644 --- a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile.resolved +++ b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/Cartfile.resolved @@ -1 +1 @@ -github "dropbox/dropbox-sdk-obj-c" "3.3.2" +github "dropbox/dropbox-sdk-obj-c" "6.0.0" diff --git a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj index 04b7da8d1..c960cec88 100644 --- a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj +++ b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette.xcodeproj/project.pbxproj @@ -3,18 +3,17 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ + 0C451F6A2628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0C451F692628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework */; }; + 0C451F6B2628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 0C451F692628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; F2F8C0BA1E6518C10016D04A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F2F8C0B91E6518C10016D04A /* AppDelegate.m */; }; F2F8C0BD1E6518C10016D04A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F2F8C0BC1E6518C10016D04A /* main.m */; }; F2F8C0C01E6518C10016D04A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2F8C0BF1E6518C10016D04A /* ViewController.m */; }; F2F8C0C21E6518C10016D04A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F2F8C0C11E6518C10016D04A /* Assets.xcassets */; }; F2F8C0C51E6518C10016D04A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F2F8C0C31E6518C10016D04A /* Main.storyboard */; }; - F2F8C0CD1E651A750016D04A /* ObjectiveDropboxOfficial.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2F8C0CC1E651A750016D04A /* ObjectiveDropboxOfficial.framework */; }; - F2F8C0CE1E651A750016D04A /* ObjectiveDropboxOfficial.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = F2F8C0CC1E651A750016D04A /* ObjectiveDropboxOfficial.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - F2F8C0D21E651AB80016D04A /* ObjectiveDropboxOfficial.framework.dSYM in CopyFiles */ = {isa = PBXBuildFile; fileRef = F2F8C0D11E651AB80016D04A /* ObjectiveDropboxOfficial.framework.dSYM */; }; F2F8C0D51E651C000016D04A /* PhotoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F2F8C0D41E651C000016D04A /* PhotoViewController.m */; }; /* End PBXBuildFile section */ @@ -25,7 +24,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - F2F8C0CE1E651A750016D04A /* ObjectiveDropboxOfficial.framework in Embed Frameworks */, + 0C451F6B2628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -36,13 +35,15 @@ dstPath = ""; dstSubfolderSpec = 16; files = ( - F2F8C0D21E651AB80016D04A /* ObjectiveDropboxOfficial.framework.dSYM in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0C451F662628E8540082FBF3 /* ObjectiveDropboxOfficial.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ObjectiveDropboxOfficial.framework; sourceTree = ""; }; + 0C451F682628E8540082FBF3 /* ObjectiveDropboxOfficial.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; path = ObjectiveDropboxOfficial.framework.dSYM; sourceTree = ""; }; + 0C451F692628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = ObjectiveDropboxOfficial.xcframework; path = Carthage/Build/ObjectiveDropboxOfficial.xcframework; sourceTree = ""; }; F2F8C0B51E6518C10016D04A /* DBRoulette.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DBRoulette.app; sourceTree = BUILT_PRODUCTS_DIR; }; F2F8C0B81E6518C10016D04A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; F2F8C0B91E6518C10016D04A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -52,8 +53,6 @@ F2F8C0C11E6518C10016D04A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F2F8C0C41E6518C10016D04A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; F2F8C0C61E6518C10016D04A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F2F8C0CC1E651A750016D04A /* ObjectiveDropboxOfficial.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ObjectiveDropboxOfficial.framework; path = Carthage/Build/Mac/ObjectiveDropboxOfficial.framework; sourceTree = ""; }; - F2F8C0D11E651AB80016D04A /* ObjectiveDropboxOfficial.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = ObjectiveDropboxOfficial.framework.dSYM; path = Carthage/Build/Mac/ObjectiveDropboxOfficial.framework.dSYM; sourceTree = ""; }; F2F8C0D31E651BEE0016D04A /* PhotoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PhotoViewController.h; sourceTree = ""; }; F2F8C0D41E651C000016D04A /* PhotoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhotoViewController.m; sourceTree = ""; }; /* End PBXFileReference section */ @@ -63,20 +62,46 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - F2F8C0CD1E651A750016D04A /* ObjectiveDropboxOfficial.framework in Frameworks */, + 0C451F6A2628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 0C451F642628E8540082FBF3 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 0C451F692628E85F0082FBF3 /* ObjectiveDropboxOfficial.xcframework */, + 0C451F652628E8540082FBF3 /* macos-arm64_x86_64 */, + ); + name = Frameworks; + sourceTree = ""; + }; + 0C451F652628E8540082FBF3 /* macos-arm64_x86_64 */ = { + isa = PBXGroup; + children = ( + 0C451F662628E8540082FBF3 /* ObjectiveDropboxOfficial.framework */, + 0C451F672628E8540082FBF3 /* dSYMs */, + ); + name = "macos-arm64_x86_64"; + path = "Carthage/Build/ObjectiveDropboxOfficial.xcframework/macos-arm64_x86_64"; + sourceTree = ""; + }; + 0C451F672628E8540082FBF3 /* dSYMs */ = { + isa = PBXGroup; + children = ( + 0C451F682628E8540082FBF3 /* ObjectiveDropboxOfficial.framework.dSYM */, + ); + path = dSYMs; + sourceTree = ""; + }; F2F8C0AC1E6518C10016D04A = { isa = PBXGroup; children = ( - F2F8C0CC1E651A750016D04A /* ObjectiveDropboxOfficial.framework */, - F2F8C0D11E651AB80016D04A /* ObjectiveDropboxOfficial.framework.dSYM */, F2F8C0B71E6518C10016D04A /* DBRoulette */, F2F8C0B61E6518C10016D04A /* Products */, + 0C451F642628E8540082FBF3 /* Frameworks */, ); sourceTree = ""; }; @@ -155,6 +180,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -315,7 +341,10 @@ "$(PROJECT_DIR)/Carthage/Build/Mac", ); INFOPLIST_FILE = DBRoulette/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -331,7 +360,10 @@ "$(PROJECT_DIR)/Carthage/Build/Mac", ); INFOPLIST_FILE = DBRoulette/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.DBRoulette; PRODUCT_NAME = "$(TARGET_NAME)"; }; diff --git a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m index 02c1884cd..e12bffb88 100644 --- a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m +++ b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/AppDelegate.m @@ -45,17 +45,18 @@ - (void)applicationWillFinishLaunching:(NSNotification *)notification { // custom handler - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - [self checkAllButtons]; + [DBClientsManager handleRedirectURL:url completion:^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"Success! User is logged into Dropbox."); + } else if ([authResult isCancel]) { + NSLog(@"Authorization flow was manually canceled by user!"); + } else if ([authResult isError]) { + NSLog(@"Error: %@", authResult); + } + } + [self checkAllButtons]; + }]; } - (void)applicationWillTerminate:(NSNotification *)aNotification { diff --git a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m index 9db37b268..d312a4656 100644 --- a/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m +++ b/Examples/DBRoulette/macOS/CarthageProject/DBRoulette/DBRoulette/ViewController.m @@ -31,9 +31,14 @@ - (void)setRepresentedObject:(id)representedObject { } - (IBAction)linkButtonPressed:(id)sender { - [DBClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace] - controller:self - openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }]; + [DBClientsManager authorizeFromControllerDesktopV2:[NSWorkspace sharedWorkspace] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; } + scopeRequest:[[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"files.metadata.read", + @"files.content.read"] + includeGrantedScopes:NO]]; } - (IBAction)unlinkButtonPressed:(id)sender { diff --git a/Format/clang-format b/Format/clang-format deleted file mode 100755 index 777ad54fd..000000000 Binary files a/Format/clang-format and /dev/null differ diff --git a/Format/format_files.sh b/Format/format_files.sh old mode 100644 new mode 100755 index c9567a119..dd62da08c --- a/Format/format_files.sh +++ b/Format/format_files.sh @@ -1,9 +1,35 @@ -#!/bin/sh -# e.g. `sh reformat_files.sh ` +#!/bin/bash + +# e.g. `format_files.sh ` # -srcs_path=$1 +set -euo pipefail + +exit_with_message() { + local message=$1 + local retcode="${2:-0}" -if [[ "$OSTYPE" == "darwin"* ]]; then - find "$srcs_path" -type f -name "*[.h|.m]" | xargs ./clang-format -i -style=file + echo 1>&2 "$message" + exit "$retcode" +} + +exit_with_clang_format_install_message() { + exit_with_message "Skipping code formatting. Please install clang-format version 7 or greater: 'brew install clang-format'" +} + +if ! [ -x "$(command -v clang-format)" ]; then + exit_with_clang_format_install_message fi + +if ! [ "$(uname -s)" == "Darwin" ]; then + exit 0 +fi + +clang_format_version="$(clang-format --version | cut -f3 -w | tail)" +clang_format_version_major=$(awk -F. '{print $1}' <<<"$clang_format_version") +if [ "$clang_format_version_major" -lt 7 ]; then + exit_with_clang_format_install_message +fi + +srcs_path=$1 +find "$srcs_path" -type f -name "*[.h|.m]" -exec clang-format -i -style=file "{}" \; diff --git a/LICENSE b/LICENSE index 68b45a8b3..e02eed7d1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2015-2016 Dropbox Inc., http://www.dropbox.com/ +Copyright (c) 2015-2021 Dropbox Inc., http://www.dropbox.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -17,4 +17,4 @@ Copyright (c) 2015-2016 Dropbox Inc., http://www.dropbox.com/ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/ObjectiveDropboxOfficial.podspec b/ObjectiveDropboxOfficial.podspec index 71cced7f0..004fb82ff 100644 --- a/ObjectiveDropboxOfficial.podspec +++ b/ObjectiveDropboxOfficial.podspec @@ -1,8 +1,8 @@ Pod::Spec.new do |s| s.name = 'ObjectiveDropboxOfficial' - s.version = '3.7.0' + s.version = '7.4.1' s.summary = 'Dropbox Objective C SDK for APIv2' - s.homepage = 'https://dropbox.com/developers/' + s.homepage = 'https://www.dropbox.com/developers' s.license = 'MIT' s.author = { 'Stephen Cobbe' => 'scobbe@dropbox.com' } s.source = { :git => 'https://github.com/dropbox/dropbox-sdk-obj-c.git', :tag => s.version } @@ -10,11 +10,15 @@ Pod::Spec.new do |s| s.source_files = 'Source/ObjectiveDropboxOfficial/Shared/**/*.{h,m}', 'Source/ObjectiveDropboxOfficial/Headers/**/*.h' s.osx.source_files = 'Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/**/*.{h,m}' s.ios.source_files = 'Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/**/*.{h,m}' + + s.resource_bundles = { + 'ObjectiveDropboxPrivacyInfo' => ['Source/ObjectiveDropboxOfficial/PrivacyInfo.xcprivacy'], + } s.requires_arc = true - s.osx.deployment_target = '10.10' - s.ios.deployment_target = '9.0' + s.osx.deployment_target = '10.13' + s.ios.deployment_target = '12.0' s.public_header_files = 'Source/ObjectiveDropboxOfficial/Shared/**/*.h', 'Source/ObjectiveDropboxOfficial/Headers/Umbrella/*.h' s.osx.public_header_files = 'Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/**/*.h' diff --git a/README.md b/README.md index 8181e0393..7fea106d3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The Official Dropbox Objective-C SDK for integrating with Dropbox [API v2](https://www.dropbox.com/developers/documentation/http/documentation) on iOS or macOS. -Full documentation [here](http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/). +Full documentation [here](https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/7.1.0/). NOTE: Please do not rely on `master` in production. Please instead use one of our tagged [release commits](https://github.com/dropbox/dropbox-sdk-obj-c/releases) (preferrably fetched via CocoaPods or Carthage), as these commits have been more thoroughly tested. @@ -50,15 +50,16 @@ NOTE: Please do not rely on `master` in production. Please instead use one of ou * [Documentation](#documentation) * [Stone](#stone) * [Modifications](#modifications) +* [App Store Connect Privacy Labels](#app-store-connect-privacy-labels) * [Bugs](#bugs) --- ## System requirements -- iOS 9.0+ +- iOS 11.0+ - macOS 10.10+ -- Xcode 8+ +- Xcode 8+ (11.0+ if you use Carthage) --- @@ -90,7 +91,7 @@ All requests need to be made with an OAuth 2.0 access token. An OAuth token repr a Dropbox user account or team. Once you've created an app, you can go to the App Console and manually generate an access token to authorize your app to access your own Dropbox account. -Otherwise, you can obtain an OAuth token programmatically using the SDK's pre-defined auth flow. For more information, [see below](https://github.com/dropbox/dropbox-sdk-obj-c#handling-authorization-flow). +Otherwise, you can obtain an OAuth token programmatically using the SDK's pre-defined auth flow. For more information, [see below](https://github.com/dropbox/dropbox-sdk-obj-c#handling-the-authorization-flow). --- @@ -156,7 +157,7 @@ If Xcode errors with a message about `Undefined symbols for architecture...`, tr ### Carthage -You can also integrate the Dropbox Objective-C SDK into your project using [Carthage](https://github.com/Carthage/Carthage), a decentralized dependency manager for Cocoa. Carthage offers more flexibility than CocoaPods, but requires some additional work. You can install Carthage (with Xcode 7+) via [Homebrew](http://brew.sh/): +You can also integrate the Dropbox Objective-C SDK into your project using [Carthage](https://github.com/Carthage/Carthage), a decentralized dependency manager for Cocoa. Carthage offers more flexibility than CocoaPods, but requires some additional work. Carthage 0.37.0 is required due to XCFramework requirements on Xcode 12. You can install Carthage (with Xcode 11+) via [Homebrew](http://brew.sh/): ```bash brew update @@ -167,58 +168,25 @@ brew install carthage ``` # ObjectiveDropboxOfficial -github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.7.0 +github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 7.4.1 ``` -Then, run the following command to checkout and build the Dropbox Objective-C SDK repository: +To integrate the Dropbox Objective-C SDK into your project, take the following steps: + +Run the following command to checkout and build the Dropbox Objective-C SDK repository: ##### iOS ```bash -carthage update --platform iOS -``` - -In the Project Navigator in Xcode, select your project, and then navigate to **General** > **Linked Frameworks and Libraries**, then drag and drop `ObjectiveDropboxOfficial.framework` (from `Carthage/Build/iOS`). - -Then, navigate to **Build Phases** > **+** > **New Run Script Phase**. In the newly-created **Run Script** section, add the following code to the script body area (beneath the "Shell" box): - -``` -/usr/local/bin/carthage copy-frameworks -``` - -Then, navigate to the **Input Files** section and add the following path: - -``` -$(SRCROOT)/Carthage/Build/iOS/ObjectiveDropboxOfficial.framework +carthage update --platform iOS --use-xcframeworks ``` ##### macOS ```bash -carthage update --platform Mac +carthage update --platform Mac --use-xcframeworks ``` -In the Project Navigator in Xcode, select your project, and then navigate to **General** > **Embedded Binaries**, then drag and drop `ObjectiveDropboxOfficial.framework` (from `Carthage/Build/Mac`). - -Then navigate to **Build Phases** > **+** > **New Copy Files Phase**. In the newly-created **Copy Files** section, click the **Destination** drop-down menu and select **Products Directory**, then drag and drop `ObjectiveDropboxOfficial.framework.dSYM` (from `Carthage/Build/Mac`). - -##### Common issues - -###### Linking errors - -Please make sure the SDK is inside of your Xcode project folder, otherwise your app may run into linking errors. - -If you wish to keep the SDK outside of your Xcode project folder (perhaps to share between different apps), you will need to configure your a few environmental variables. - -- Project Navigator > build target > **Build Settings** > **Header Search Path** add `$(PROJECT_DIR)/..//dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial (recursive)` - -- Project Navigator > build target > **Build Settings** > **Framework Search Paths** add `$(PROJECT_DIR)/..//dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) (non-recursive)` - -###### dyld: Library not loaded error - -If you receive a run-time error message like `dyld: Library not loaded:`, please try the following: - -- Add ObjectiveDropboxOfficial framework to **Embedded Binaries** as well as **Linked Frameworks and Libraries**. -- Project Navigator > build target > **Build Settings** > **Linking** > **Runpath Search Paths** add `$(inherited) @executable_path/Frameworks`. +Then, in the Project Navigator in Xcode, select your project, and then navigate to your project's build target > **General** > **Frameworks, Libraries and Embedded Content**. Drag the `ObjectiveDropboxOfficial.xcframework` file from `Carthage/Build` into the table and choose `Embed & Sign`. --- @@ -233,21 +201,16 @@ Then, run the following command to checkout and build the Dropbox Objective-C SD ##### iOS ```bash -carthage update --platform iOS +carthage update --platform iOS --use-xcframeworks ``` -Once you have checked-out out all the necessary code via Carthage, drag the `Carthage/Checkouts/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj` file into your project as a subproject. - -Then, in the Project Navigator in Xcode, select your project, and then navigate to your project's build target > **General** > **Linked Frameworks and Libraries** > **+** and then add the `ObjectiveDropboxOfficial.framework` file for the iOS platform. ##### macOS ```bash -carthage update --platform Mac +carthage update --platform Mac --use-xcframeworks ``` Once you have checked-out out all the necessary code via Carthage, drag the `Carthage/Checkouts/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj` file into your project as a subproject. -Then, in the Project Navigator in Xcode, select your project, and then navigate to your project's build target > **General** > **Embedded Binaries** > **+** and then add the `ObjectiveDropboxOfficial.framework` file for the macOS platform. - --- ## Configure your project @@ -335,10 +298,10 @@ To facilitate the above authorization flows, you should take the following steps #### Begin the authorization flow -You can commence the auth flow by calling `authorizeFromController:controller:openURL` method in your application's +You can commence the auth flow by calling `authorizeFromControllerV2:controller:openURL` method in your application's view controller. -Please ensure that the supplied view controller is the top-most controller, so that the authorization view displays correctly. +Please ensure that the supplied view controller is the top-most controller, so that the authorization view displays correctly. ##### iOS @@ -347,11 +310,15 @@ Please ensure that the supplied view controller is the top-most controller, so t #import - (void)myButtonInControllerPressed { - [DBClientsManager authorizeFromController:[UIApplication sharedApplication] - controller:[[self class] topMostController] - openURL:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + // OAuth 2 code flow with PKCE that grants a short-lived token with scopes, and performs refreshes of the token automatically. + DBScopeRequest *scopeRequest = [[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"account_info.read"] + includeGrantedScopes:NO]; + [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication] + controller:[[self class] topMostController] + loadingStatusDelegate:nil + openURL:^(NSURL *url) { [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil]; } + scopeRequest:scopeRequest]; } + (UIViewController*)topMostController @@ -373,20 +340,15 @@ Please ensure that the supplied view controller is the top-most controller, so t #import - (void)myButtonInControllerPressed { - [DBClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace] - controller:[[self class] topMostController] - openURL:^(NSURL *url){ [[NSWorkspace sharedWorkspace] openURL:url]; }]; -} - -+ (UIViewController*)topMostController -{ - UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController; - - while (topController.presentedViewController) { - topController = topController.presentedViewController; - } - - return topController; + // OAuth 2 code flow with PKCE that grants a short-lived token with scopes, and performs refreshes of the token automatically. + DBScopeRequest *scopeRequest = [[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:@[@"account_info.read"] + includeGrantedScopes:NO]; + [DBClientsManager authorizeFromControllerDesktopV2:[NSWorkspace sharedWorkspace] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { [[NSWorkspace sharedWorkspace] openURL:url]; } + scopeRequest:scopeRequest]; } ``` @@ -410,17 +372,45 @@ To handle the redirection back into the Objective-C SDK once the authentication - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); + DBOAuthCompletion completion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + } + }; + BOOL canHandle = [DBClientsManager handleRedirectURL:url completion:completion]; + return canHandle; +} +``` + +Or if your app is iOS13+, or your app also supports Scenes, add the following code into your application's main scene delegate: +```objective-c +#import + +- (void)scene:(UIScene *)scene + openURLContexts:(NSSet *)URLContexts { + DBOAuthCompletion completion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + } + }; + for (UIOpenURLContext *context in URLContexts) { + if ([DBClientsManager handleRedirectURL:context.URL completion:completion]) { + // stop iterating after the first handle-able url + break; } } - return NO; } ``` @@ -440,19 +430,21 @@ To handle the redirection back into the Objective-C SDK once the authentication // custom handler - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); + DBOAuthCompletion oauthCompletion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + // this forces your app to the foreground, after it has handled the browser redirect + [[NSRunningApplication currentApplication] + activateWithOptions:(NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps)]; } - // this forces your app to the foreground, after it has handled the browser redirect - [[NSRunningApplication currentApplication] - activateWithOptions:(NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps)]; - } + }; + [DBClientsManager handleRedirectURL:url completion:oauthCompletion]; } ``` @@ -464,7 +456,7 @@ After the end user signs in with their Dropbox login credentials on mobile, they

If they press **Allow** or **Cancel**, the `db-` redirect URL will be launched from the view controller, and will be handled in your application -delegate's `application:handleOpenURL` method, from which the result of the authorization can be parsed. +delegate's `application:openURL:options:` method, from which the result of the authorization can be parsed. Now you're ready to begin making API requests! @@ -612,6 +604,7 @@ DBFILESWriteMode *mode = [[DBFILESWriteMode alloc] initWithOverwrite]; autorename:@(YES) clientModified:nil mute:@(NO) + propertyGroups:nil inputData:fileData] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *networkError) { if (result) { @@ -978,11 +971,11 @@ The Objective-C SDK includes a convenience class, `DBClientsManager`, for integr #### Single Dropbox user case -For most apps, it is reasonable to assume that only one Dropbox account (and access token) needs to be managed at a time. In this case, the `DBClientsManager` flow looks like this: +For most apps, it is reasonable to assume that only one Dropbox account (and access token) needs to be managed at a time. In this case, the `DBClientsManager` flow looks like this: * call `setupWithAppKey`/`setupWithAppKeyDesktop` (or `setupWithTeamAppKey`/`setupWithTeamAppKeyDesktop`) in integrating app's app delegate * `DBClientsManager` class determines whether any access tokens are stored -- if any exist, one token is arbitrarily chosen to use for the `authorizedClient` / `authorizedTeamClient` shared instance -* if no token is found, client of the SDK should call `authorizeFromController`/`authorizeFromControllerDesktop` to initiate the OAuth flow +* if no token is found, client of the SDK should call `authorizeFromControllerV2`/`authorizeFromControllerDesktopV2` to initiate the OAuth flow * if auth flow is initiated, client of the SDK should call `handleRedirectURL` (or `handleRedirectURLTeam`) in integrating app's app delegate to handle auth redirect back into the app and store the retrieved access token * `DBClientsManager` class sets up a `DBUserClient` (or `DBTeamClient`) with the particular network configuration as defined by the `DBTransportDefaultConfig` instance passed in (or a standard configuration, if no config instance was passed when the `setupWith...` method was called) @@ -992,13 +985,13 @@ The `DBUserClient` (or `DBTeamClient`) is then used to make all of the desired A #### Multiple Dropbox user case -For some apps, it is necessary to manage more than one Dropbox account (and access token) at a time. In this case, the `DBClientsManager` flow looks like this: +For some apps, it is necessary to manage more than one Dropbox account (and access token) at a time. In this case, the `DBClientsManager` flow looks like this: * access token uids are managed by the app that is integrating with the SDK for later lookup * call `setupWithAppKey`/`setupWithAppKeyDesktop` (or `setupWithTeamAppKey`/`setupWithTeamAppKeyDesktop`) in integrating app's app delegate * `DBClientsManager` class determines whether any access tokens are stored -- if any exist, one token is arbitrarily chosen to use for the `authorizedClient` / `authorizedTeamClient` shared instance * `DBClientsManager` class also populates `authorizedClients` / `authorizedTeamClients` shared dictionary from all tokens stored in keychain, if any exist -* if no token is found, client of the SDK should call `authorizeFromController`/`authorizeFromControllerDesktop` to initiate the OAuth flow +* if no token is found, client of the SDK should call `authorizeFromControllerV2`/`authorizeFromControllerDesktopV2` to initiate the OAuth flow * if auth flow is initiated, call `handleRedirectURL` (or `handleRedirectURLTeam`) in integrating app's app delegate to handle auth redirect back into the app and store the retrieved access token * at this point, the app that is integrating with the SDK should persistently save the `tokenUid` from the `DBAccessToken` field of the `DBOAuthResult` object returned from the `handleRedirectURL` (or `handleRedirectURLTeam`) method * `DBClientsManager` class sets up a `DBUserClient` (or `DBTeamClient`) with the particular network configuration as defined by the `DBTransportDefaultConfig` instance passed in (or a standard configuration, if no config instance was passed when the `setupWith...` method was called) and saves it to the list of authorized clients @@ -1112,12 +1105,50 @@ If you're interested in manually generating the SDK serialization logic, perform To ensure your changes have not broken any existing functionality, you can run a series of integration tests by following the instructions listed in the `ViewController.m` file. +--- + +## App Store Connect Privacy Labels + +To assist developers using Dropbox SDKs in filling out Apple’s Privacy Practices Questionnaire, we’ve provided the below information on the data that may be collected and used by Dropbox. + +As you complete the questionnaire you should note that the below information is general in nature. Dropbox SDKs are designed to be configured by the developer to incorporate Dropbox functionality as is best suited to their application. As a result of this customizable nature of the Dropbox SDKs, we are unable to provide information on the actual data collection and use for each application. We advise developers reference our Dropbox for HTTP Developers for specifics on how data is collected by each Dropbox API. + +In addition, you should note that the information below only identifies Dropbox’s collection and use of data. You are responsible for identifying your own collection and use of data in your app, which may result in different questionnaire answers than identified below: + +| Data | Collected by Dropbox | Data Use | Data Linked to the User | Tracking | +| ----------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------ | ----------------------- | -------- | +| **Contact Info** | | | | | +|  • Name | Not collected | N/A | N/A | N/A | +|  • Email Address | May be collected
(if you enable authentication using an email address) | • Application functionality | Y | N | +| **Health & Fitness** | Not collected | N/A | N/A | N/A | +| **Financial Info** | Not collected | N/A | N/A | N/A | +| **Location** | Not collected | N/A | N/A | N/A | +| **Sensitive Info** | Not collected | N/A | N/A | N/A | +| **Contacts** | Not collected | N/A | N/A | N/A | +| **User Content** | | | | | +|  • Audio Data | May be collected | • Application functionality | Y | N | +|  • Photos or Videos | May be collected | • Application functionality | Y | N | +|  • Other User Content | May be collected | • Application functionality | Y | N | +| **Browsing History** | Not collected | N/A | N/A | N/A | +| **Search History** | | | | | +|  • Search History | May be collected
(if using search functionality) | • Application functionality
• Analytics | Y | N | +| **Identifiers** | | | | | +|  • User ID | Collected | • Application functionality
• Analytics | Y | N | +| **Purchases** | Not collected | N/A | N/A | N/A | +| **Usage Data** | | | | | +|  • Product Interaction | Collected | • Application functionality
• Analytics
• Product personalization | Y | N | +| **Diagnostics** | | | | | +|  • Other Diagnostic Data | Collected
(API call logs) | • Application functionality | Y | N | +| **Other Data** | N/A | N/A | N/A | N/A | + + + --- ## Bugs Please post any bugs to the [issue tracker](https://github.com/dropbox/dropbox-sdk-obj-c/issues) found on the project's GitHub page. - + Please include the following with your issue: - a description of what is not working right - sample code to help replicate the issue diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBDelegate.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBDelegate.h index 7e39d46b7..5e4ac15c3 100644 --- a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBDelegate.h +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBDelegate.h @@ -45,10 +45,10 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)initWithQueue:(nullable NSOperationQueue *)delegateQueue; /// -/// Enqueues a handler to be executed periodically to retrieve information on the progress of the supplied -/// `NSURLSessionTask` task for the corresponding Upload-style request. +/// Enqueues a handler to be executed periodically to retrieve information on the progress of the +/// `NSURLSessionTask` identified by the supplied task identifier for the corresponding Upload-style request. /// -/// @param task The `NSURLSessionTask` task associated with the API request. +/// @param identifier The identifier of the `NSURLSessionTask` task associated with the API request. /// @param session The `NSURLSession` session associated with the API request. /// @param handler The progress block to be executed in the event of a request update. The first argument is the number /// of bytes downloaded. The second argument is the number of total bytes downloaded. And the third argument is the @@ -56,61 +56,61 @@ NS_ASSUME_NONNULL_BEGIN /// @param handlerQueue The operation queue on which to execute progress handler code. If nil, then the progress queue /// is the queue with which the delegate object was instantiated. /// -- (void)addProgressHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - progressHandler:(DBProgressBlock)handler - progressHandlerQueue:(nullable NSOperationQueue *)handlerQueue; +- (void)addProgressHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + progressHandler:(DBProgressBlock)handler + progressHandlerQueue:(nullable NSOperationQueue *)handlerQueue; #pragma mark - Add RPC-style handlers /// -/// Enqueues a handler to be executed upon completion of the supplied `NSURLSessionTask` task for the corresponding -/// RPC-style request. +/// Enqueues a handler to be executed upon completion of the `NSURLSessionTask` identified by the supplied +/// task identifier for the corresponding RPC-style request. /// -/// @param task The `NSURLSessionTask` task associated with the API request. +/// @param identifier The identifier of the `NSURLSessionTask` task associated with the API request. /// @param session The `NSURLSession` session associated with the API request. /// @param handler The handler block to be executed in the event of a successful or unsuccessful network request. /// @param handlerQueue The operation queue on which to execute response handler code. If nil, then the response queue /// is the queue with which the delegate object was instantiated. /// -- (void)addRpcResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBRpcResponseBlockStorage)handler - responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; +- (void)addRpcResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBRpcResponseBlockStorage)handler + responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; #pragma mark - Add Upload-style handlers /// -/// Enqueues a handler to be executed upon completion of the supplied `NSURLSessionTask` task for the corresponding -/// Upload-style request. +/// Enqueues a handler to be executed upon completion of the `NSURLSessionTask` task identified by the supplied +/// task identifier for the corresponding Upload-style request. /// -/// @param task The `NSURLSessionTask` task associated with the API request. +/// @param identifier The identifier of the `NSURLSessionTask` task associated with the API request. /// @param session The `NSURLSession` session associated with the API request. /// @param handler The handler block to be executed in the event of a successful or unsuccessful network request. /// @param handlerQueue The operation queue on which to execute response handler code. If nil, then the response queue /// is the queue with which the delegate object was instantiated. /// -- (void)addUploadResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBUploadResponseBlockStorage)handler - responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; +- (void)addUploadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBUploadResponseBlockStorage)handler + responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; #pragma mark - Add Download-style handlers /// -/// Enqueues a handler to be executed upon completion of the supplied `NSURLSessionTask` task for the corresponding -/// Download-style request. +/// Enqueues a handler to be executed upon completion of the `NSURLSessionTask` task identified by the supplied +/// task identifier for the corresponding Download-style request. /// -/// @param task The `NSURLSessionTask` task associated with the API request. +/// @param identifier The identifier of the `NSURLSessionTask` task associated with the API request. /// @param session The `NSURLSession` session associated with the API request. /// @param handler The handler block to be executed in the event of a successful or unsuccessful network request. /// @param handlerQueue The operation queue on which to execute response handler code. If nil, then the response queue /// is the queue with which the delegate object was instantiated. /// -- (void)addDownloadResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBDownloadResponseBlockStorage)handler - responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; +- (void)addDownloadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBDownloadResponseBlockStorage)handler + responseHandlerQueue:(nullable NSOperationQueue *)handlerQueue; @end diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSDKReachability.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSDKReachability.h index 35bf6e1b1..4ee56b3da 100644 --- a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSDKReachability.h +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBSDKReachability.h @@ -10,7 +10,7 @@ #import #import -typedef enum : NSInteger { DBNotReachable = 0, DBReachableViaWiFi, DBReachableViaWWAN } DBNetworkStatus; +typedef enum : NSInteger { DBNotReachable = 0, DBReachableViaWiFi, DBReachableViaWWAN } DBSDKNetworkStatus; #pragma mark IPv6 Support // Reachability fully support IPv6. For full details, see ReadMe.md. @@ -45,7 +45,7 @@ extern NSString *kDBSDKReachabilityChangedNotification; - (BOOL)startNotifier; - (void)stopNotifier; -- (DBNetworkStatus)currentReachabilityStatus; +- (DBSDKNetworkStatus)currentReachabilityStatus; /*! * WWAN may be available, but not active until a connection has been established. WiFi may require a connection for VPN diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasksImpl.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasksImpl.h index 9f60e44c3..6808da9f9 100644 --- a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasksImpl.h +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTasksImpl.h @@ -7,6 +7,7 @@ #import "DBHandlerTypes.h" #import "DBTasks.h" #import "DBTasksImpl.h" +#import "DBURLSessionTaskWithTokenRefresh.h" @class DBBatchUploadData; @class DBDelegate; @@ -19,99 +20,64 @@ NS_ASSUME_NONNULL_BEGIN @interface DBRpcTaskImpl : DBRpcTask -/// The `NSURLSessionTask` that was used to make the request. -@property (nonatomic, readonly) NSURLSessionDataTask *dataTask; - -/// The session that was used to make to the request. -@property (nonatomic, readonly) NSURLSession *session; - -/// The delegate used manage handler code. -@property (nonatomic, readonly) DBDelegate *delegate; - /// /// `DBRpcTaskImpl` full constructor. /// -/// @param task The `NSURLSessionDataTask` task that initialized the network request. +/// @param task The `DBURLSessionTask` task that initialized the network request. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects /// are each associated with a particular Dropbox account. -/// @param session The `NSURLSession` used to make the network request. -/// @param delegate The delegate that manages and executes response code. /// @param route The static `DBRoute` instance associated with the route to which the request was made. Contains /// information like route host, response type, etc.). This is used in the deserialization process. /// /// @return An initialized instance. /// -- (instancetype)initWithTask:(NSURLSessionDataTask *)task - tokenUid:(nullable NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route; +- (instancetype)initWithTask:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route; + +/// The session that was used to make to the request. +@property (nonatomic, readonly) NSURLSession *session; + +/// The `DBURLSessionTask` that was used to make the request. +@property (nonatomic, readonly) id task; + @end #pragma mark - Upload-style network task @interface DBUploadTaskImpl : DBUploadTask -/// The `NSURLSessionTask` that was used to make the request. -@property (nonatomic, readonly) NSURLSessionUploadTask *uploadTask; - /// The session that was used to make to the request. @property (nonatomic, readonly) NSURLSession *session; -/// The delegate used manage handler code. -@property (nonatomic, readonly) DBDelegate *delegate; - -/// The url to upload. -@property (nonatomic, readonly, nullable) NSURL *inputUrl; - -/// The data to upload. -@property (nonatomic, readonly, nullable) NSData *inputData; +/// The `DBURLSessionTask` that was used to make the request. +@property (nonatomic, readonly) id uploadTask; /// /// `DBUploadTask` full constructor. /// -/// @param task The `NSURLSessionDataTask` task that initialized the network request. +/// @param task The `DBURLSessionTask` task that initialized the network request. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects /// are each associated with a particular Dropbox account. -/// @param session The `NSURLSession` used to make the network request. -/// @param delegate The delegate that manages and executes response code. /// @param route The static `DBRoute` instance associated with the route to which the request was made. Contains /// information like route host, response type, etc.). This is used in the deserialization process. -/// @param inputUrl The url to upload. -/// @param inputData The data to upload. /// /// @return An initialized instance. /// -- (instancetype)initWithTask:(NSURLSessionUploadTask *)task - tokenUid:(nullable NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route - inputUrl:(nullable NSURL *)inputUrl - inputData:(nullable NSData *)inputData; +- (instancetype)initWithTask:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route; @end #pragma mark - Download-style network task (NSURL) @interface DBDownloadUrlTaskImpl : DBDownloadUrlTask -/// The `NSURLSessionTask` that was used to make the request. -@property (nonatomic, readonly) NSURLSessionDownloadTask *downloadUrlTask; - /// The session that was used to make to the request. @property (nonatomic, readonly) NSURLSession *session; -/// The delegate used manage handler code. -@property (nonatomic, readonly) DBDelegate *delegate; - /// /// `DBDownloadUrlTask` full constructor. /// /// @param task The `NSURLSessionDataTask` task that initialized the network request. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects /// are each associated with a particular Dropbox account. -/// @param session The `NSURLSession` used to make the network request. -/// @param delegate The delegate that manages and executes response code. /// @param route The static `DBRoute` instance associated with the route to which the request was made. Contains /// information like route host, response type, etc.). This is used in the deserialization process. /// @param overwrite Whether the outputted file should overwrite in the event of a name collision. @@ -119,10 +85,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An initialized instance. /// -- (instancetype)initWithTask:(NSURLSessionDownloadTask *)task +- (instancetype)initWithTask:(id)task tokenUid:(nullable NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate route:(DBRoute *)route overwrite:(BOOL)overwrite destination:(NSURL *)destination; @@ -132,33 +96,21 @@ NS_ASSUME_NONNULL_BEGIN @interface DBDownloadDataTaskImpl : DBDownloadDataTask -/// The `NSURLSessionTask` that was used to make the request. -@property (nonatomic, readonly) NSURLSessionDownloadTask *downloadDataTask; - /// The session that was used to make to the request. @property (nonatomic, readonly) NSURLSession *session; -/// The delegate used manage handler code. -@property (nonatomic, readonly) DBDelegate *delegate; - /// /// DBDownloadDataTask full constructor. /// /// @param task The `NSURLSessionDataTask` task that initialized the network request. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects /// are each associated with a particular Dropbox account. -/// @param session The `NSURLSession` used to make the network request. -/// @param delegate The delegate that manages and executes response code. /// @param route The static `DBRoute` instance associated with the route to which the request was made. Contains /// information like route host, response type, etc.). This is used in the deserialization process. /// /// @return An initialized instance. /// -- (instancetype)initWithTask:(NSURLSessionDownloadTask *)task - tokenUid:(nullable NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route; +- (instancetype)initWithTask:(id)task tokenUid:(nullable NSString *)tokenUid route:(DBRoute *)route; @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTransportBaseClient+Internal.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTransportBaseClient+Internal.h index 496d2b391..f3bc389de 100644 --- a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTransportBaseClient+Internal.h +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBTransportBaseClient+Internal.h @@ -16,10 +16,10 @@ NS_ASSUME_NONNULL_BEGIN @interface DBTransportBaseClient (Internal) - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes - serializedArg:(NSString *)serializedArg; + serializedArg:(nullable NSString *)serializedArg; - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)routeAttributes - serializedArg:(NSString *)serializedArg + serializedArg:(nullable NSString *)serializedArg byteOffsetStart:(nullable NSNumber *)byteOffsetStart byteOffsetEnd:(nullable NSNumber *)byteOffsetEnd; @@ -30,9 +30,11 @@ NS_ASSUME_NONNULL_BEGIN - (NSURL *)urlWithRoute:(DBRoute *)route; -+ (NSData *)serializeDataWithRoute:(DBRoute *)route routeArg:(id)arg; ++ (nullable NSData *)serializeDataWithRoute:(DBRoute *)route routeArg:(nullable id)arg; -+ (NSString *)serializeStringWithRoute:(DBRoute *)route routeArg:(id)arg; ++ (nullable NSString *)serializeStringWithRoute:(DBRoute *)route routeArg:(nullable id)arg; + ++ (NSString *)asciiEscapeWithString:(NSString *)string; + (nullable DBRequestError *)dBRequestErrorWithErrorData:(nullable NSData *)errorData clientError:(nullable NSError *)clientError @@ -61,10 +63,6 @@ NS_ASSUME_NONNULL_BEGIN + (nullable id)caseInsensitiveLookupWithKey:(nullable NSString *)lookupKey headerFieldsDictionary:(nullable NSDictionary *)headerFieldsDictionary; -+ (NSString *)sdkVersion; - -+ (NSString *)defaultUserAgent; - @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTask.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTask.h new file mode 100644 index 000000000..b192d30b2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTask.h @@ -0,0 +1,47 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBHandlerTypes.h" +#import + +@class DBURLSessionTaskResponseBlockWrapper; + +NS_ASSUME_NONNULL_BEGIN + +/// Block that creates the actual API request. +typedef NSURLSessionTask *_Nonnull (^DBURLSessionTaskCreationBlock)(void); + +/// Protocol for custom URLSession tasks that are used internally by the DBTask classes. +@protocol DBURLSessionTask + +/// The `NSURLSession` used to make the network request. +@property (nonatomic, readonly) NSURLSession *session; + +/// Creates a new instance with same initial setup. +- (id)duplicate; + +/// Cancels the API request. +- (void)cancel; + +/// Suspends the API request. +- (void)suspend; + +/// Resumes the API request. +- (void)resume; + +/// Sets progress handler for the task. +/// @param progressBlock The `DBProgressBlock` that handles task progress. +/// @param queue An optional operation queue on which to execute progress handler code. If not provided, the handler +/// may be executed on any queue. +- (void)setProgressBlock:(DBProgressBlock)progressBlock queue:(nullable NSOperationQueue *)queue; + +/// Sets response/completion handler for the task. +/// @param responseBlock The `DBURLSessionTaskResponseBlock` that handles task response. +/// @param queue An optional operation queue on which to execute response handler code. If not provided, the handler +/// may be executed on any queue. +- (void)setResponseBlock:(DBURLSessionTaskResponseBlockWrapper *)responseBlock queue:(nullable NSOperationQueue *)queue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskResponseBlockWrapper.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskResponseBlockWrapper.h new file mode 100644 index 000000000..767ce9aa4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskResponseBlockWrapper.h @@ -0,0 +1,26 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBHandlerTypesInternal.h" +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Response handler for DBURLSessionTask. +@interface DBURLSessionTaskResponseBlockWrapper : NSObject + +@property (nonatomic, strong, readonly, nullable) DBRpcResponseBlockStorage rpcResponseBlock; +@property (nonatomic, strong, readonly, nullable) DBUploadResponseBlockStorage uploadResponseBlock; +@property (nonatomic, strong, readonly, nullable) DBDownloadResponseBlockStorage downloadResponseBlock; + +/// Handler wrapper for RPC tasks. ++ (DBURLSessionTaskResponseBlockWrapper *)withRpcResponseBlock:(DBRpcResponseBlockStorage)responseBlock; +/// Handler wrapper for upload tasks. ++ (DBURLSessionTaskResponseBlockWrapper *)withUploadResponseBlock:(DBUploadResponseBlockStorage)responseBlock; +/// Handler wrapper for download tasks. ++ (DBURLSessionTaskResponseBlockWrapper *)withDownloadResponseBlock:(DBDownloadResponseBlockStorage)responseBlock; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskWithTokenRefresh.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskWithTokenRefresh.h new file mode 100644 index 000000000..a4a0a3456 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/Networking/DBURLSessionTaskWithTokenRefresh.h @@ -0,0 +1,33 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBTasks.h" +#import "DBURLSessionTask.h" +#import + +@protocol DBAccessTokenProvider; + +NS_ASSUME_NONNULL_BEGIN + +/// A class that wraps a network request that calls Dropbox API. +/// This class will first attempt to refresh the access token and conditionally proceed to the actual API call. +@interface DBURLSessionTaskWithTokenRefresh : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Designated Initializer. +/// +/// @param taskCreationBlock The block that creates the actual API request. +/// @param taskDelegate The delegate used manage request handler code. +/// @param urlSession The `NSURLSession` used to make the API network request. +/// @param tokenProvider The `DBAccessTokenProvider` object to perform token refresh. +/// +- (instancetype)initWithTaskCreationBlock:(DBURLSessionTaskCreationBlock)taskCreationBlock + taskDelegate:(nullable DBDelegate *)taskDelegate + urlSession:(NSURLSession *)urlSession + tokenProvider:(id)tokenProvider NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessToken+NSSecureCoding.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessToken+NSSecureCoding.h new file mode 100644 index 000000000..4f96f6ecb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessToken+NSSecureCoding.h @@ -0,0 +1,23 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthManager.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface DBAccessToken (NSSecureCoding) + +/// Attempts to create a DBAccessToken by decoding the given data. +/// @param data The data to decode. +/// @return DBAccessToken object if success, otherwise nil. ++ (nullable DBAccessToken *)createTokenFromData:(NSData *)data; + +/// Attempts to convert the given `DBAccessToken` to an `NSData` object. +/// @param token The token to encode. +/// @return NSData object if success, otherwise nil. ++ (nullable NSData *)covertTokenToData:(DBAccessToken *)token; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessTokenProvider+Internal.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessTokenProvider+Internal.h new file mode 100644 index 000000000..403c469ef --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBAccessTokenProvider+Internal.h @@ -0,0 +1,36 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBAccessTokenProvider.h" +#import "DBOAuthManager.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Wrapper for legacy long-lived access token. +@interface DBLongLivedAccessTokenProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Designated initializer. +/// +/// @param tokenString An access token string. +- (instancetype)initWithTokenString:(NSString *)tokenString NS_DESIGNATED_INITIALIZER; + +@end + +/// Wrapper for short-lived token. +@interface DBShortLivedAccessTokenProvider : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Designated initializer. +/// +/// @param token A `DBAccessToken` represents a short-lived token. +/// @param tokenRefresher Helper object that refreshes a token over network. +- (instancetype)initWithToken:(DBAccessToken *)token + tokenRefresher:(id)tokenRefresher NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthConstants.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthConstants.h new file mode 100644 index 000000000..c05af128d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthConstants.h @@ -0,0 +1,22 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +/// Constant strings for keys of URL queries and responses in auth flow. + +extern NSString *const kDBCodeChallengeKey; +extern NSString *const kDBCodeChallengeMethodKey; +extern NSString *const kDBTokenAccessTypeKey; +extern NSString *const kDBResponseTypeKey; +extern NSString *const kDBScopeKey; +extern NSString *const kDBIncludeGrantedScopesKey; +extern NSString *const kDBStateKey; +extern NSString *const kDBExtraQueryParamsKey; +extern NSString *const kDBOauthCodeKey; +extern NSString *const kDBOauthTokenKey; +extern NSString *const kDBOauthSecretKey; +extern NSString *const kDBUidKey; +extern NSString *const kDBErrorKey; +extern NSString *const kDBErrorDescriptionKey; diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthManager+Protected.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthManager+Protected.h index 8e48c6443..1b8a59aec 100644 --- a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthManager+Protected.h +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthManager+Protected.h @@ -5,12 +5,30 @@ #import #import "DBOAuthManager.h" +#import "DBOAuthResultCompletion.h" + +@protocol DBAccessTokenProvider; NS_ASSUME_NONNULL_BEGIN @interface DBOAuthManager (Protected) -- (DBOAuthResult *)extractFromRedirectURL:(NSURL *)url; +/// Extracts auth result from the url. +/// @param url The redirect url which may contain auth result data. +/// @param completion The completion block to pass back auth result. +- (void)extractAuthResultFromRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion; + +/// Completes the last step of OAuth code flow to exchange an access token with auth code. +/// @param authCode OAuth code from auth response. +/// @param codeVerifier Code verifier generated for the auth flow. +- (void)finishPkceOAuthWithAuthCode:(NSString *)authCode + codeVerifier:(NSString *)codeVerifier + completion:(DBOAuthCompletion)completion; + +/// Creates a `DBAccessTokenProvider` that wraps short-lived token for token refresh +/// or a static access token provider for long-live token. +/// @param token The `DBAccessToken` object. +- (id)accessTokenProviderForToken:(DBAccessToken *)token; @end diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthPKCESession.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthPKCESession.h new file mode 100644 index 000000000..44b081524 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthPKCESession.h @@ -0,0 +1,43 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +@class DBScopeRequest; + +NS_ASSUME_NONNULL_BEGIN + +/// PKCE data for OAuth 2 Authorization Code Flow. +@interface DBPkceData : NSObject + +// A random string generated for each code flow. +@property (nonatomic, readonly) NSString *codeVerifier; +// A string derived from codeVerifier by using BASE64URL-ENCODE(SHA256(ASCII(code_verifier))). +@property (nonatomic, readonly) NSString *codeChallenge; +// The hash method used to generate codeChallenge. +@property (nonatomic, readonly) NSString *codeChallengeMethod; + +@end + +/// Object that contains all the necessary data of an OAuth 2 Authorization Code Flow with PKCE. +@interface DBOAuthPKCESession : NSObject + +// The scope request for this auth session. +@property (nonatomic, readonly, nullable) DBScopeRequest *scopeRequest; +// PKCE data generated for this auth session. +@property (nonatomic, readonly) DBPkceData *pkceData; +// A string of colon-delimited options/state - used primarily to indicate if the token type to be returned. +@property (nonatomic, readonly) NSString *state; +// Token access type, hardcoded to "offline" to indicate short-lived access token + refresh token. +@property (nonatomic, readonly) NSString *tokenAccessType; +// Type of the auth response, hardcoded to "code" to indicate code flow. +@property (nonatomic, readonly) NSString *responseType; + +- (instancetype)init NS_UNAVAILABLE; + +- (instancetype)initWithScopeRequest:(nullable DBScopeRequest *)scopeRequest NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthTokenRequest.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthTokenRequest.h new file mode 100644 index 000000000..9ebcf99fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthTokenRequest.h @@ -0,0 +1,92 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthResultCompletion.h" +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Makes a network request to `oauth2/token` to get short-lived access token. +@interface DBOAuthTokenRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// Designated initializer. +/// +/// @param appKey The app key of the third-party Dropbox API user app that will be associated with all API calls. To +/// create an app or to locate your app's app key, please visit the App Console here: +/// https://www.dropbox.com/developers/apps. +/// @param locale User's preferred locale. +/// @param params A dictionary contains request parameters. +- (instancetype)initWithAppKey:(NSString *)appKey + locale:(NSString *)locale + params:(NSDictionary *)params NS_DESIGNATED_INITIALIZER; + +/// Convenience method for `startWithCompletion:queue` with queue set to the main queue. +- (void)startWithCompletion:(DBOAuthCompletion)completion; + +/// Sets completion block and starts the request. +/// +/// @param completion Completion block to pass back oauth result. +/// @param queue The queue where the completion block will be called from. +- (void)startWithCompletion:(DBOAuthCompletion)completion queue:(dispatch_queue_t)queue; + +/// Cancels started request. +- (void)cancel; + +@end + +/// Request to get an access token with an auth code. +/// See [RFC6749 4.1.3](https://tools.ietf.org/html/rfc6749#section-4.1.3) +@interface DBOAuthTokenExchangeRequest : DBOAuthTokenRequest + +- (instancetype)initWithAppKey:(NSString *)appKey + locale:(NSString *)locale + params:(NSDictionary *)params NS_UNAVAILABLE; + +/// +/// Designated Initializer. +/// +/// @param oauthCode OAuth code to exchange an access token. +/// @param codeVerifier Code verifier generated for the auth flow. +/// @param appKey The app key of the third-party Dropbox API user app that will be associated with all API calls. To +/// create an app or to locate your app's app key, please visit the App Console here: +/// https://www.dropbox.com/developers/apps. +/// @param locale User's preferred locale. +/// @param redirectUri Redirect uri used in the auth flow. +- (instancetype)initWithOAuthCode:(NSString *)oauthCode + codeVerifier:(NSString *)codeVerifier + appKey:(NSString *)appKey + locale:(NSString *)locale + redirectUri:(NSString *)redirectUri NS_DESIGNATED_INITIALIZER; + +@end + +/// Request to refresh an access token. See [RFC6749 6](https://tools.ietf.org/html/rfc6749#section-6) +@interface DBOAuthTokenRefreshRequest : DBOAuthTokenRequest + +- (instancetype)initWithAppKey:(NSString *)appKey + locale:(NSString *)locale + params:(NSDictionary *)params NS_UNAVAILABLE; + +/// +/// Designated Initializer. +/// +/// @param uid The uid of the access token. +/// @param refreshToken The refresh token used to get a new short-lived access token. +/// @param scopes An array of scopes to be granted for the refreshed access token. Empty array means no changes to the +/// scopes originally granted to the access token. +/// @param appKey The app key of the third-party Dropbox API user app that will be associated with all API calls. To +/// create an app or to locate your app's app key, please visit the App Console here: +/// https://www.dropbox.com/developers/apps. +/// @param locale User's preferred locale. +- (instancetype)initWithUid:(NSString *)uid + refreshToken:(NSString *)refreshToken + scopes:(NSArray *)scopes + appKey:(NSString *)appKey + locale:(NSString *)locale NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthUtils.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthUtils.h new file mode 100644 index 000000000..f5c481f40 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBOAuthUtils.h @@ -0,0 +1,31 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +@class DBOAuthPKCESession; + +NS_ASSUME_NONNULL_BEGIN + +/// Contains utility methods used in auth flow. e.g. method to construct URL query. +@interface DBOAuthUtils : NSObject + +/// Creates URL query items needed by PKCE code flow. ++ (NSArray *)createPkceCodeFlowParamsForAuthSession:(DBOAuthPKCESession *)authSession; + +/// Extracts auth response parameters from URL and removes percent encoding. +/// Response parameters from DAuth via the Dropbox app are in the query component. ++ (NSDictionary *)extractDAuthResponseFromUrl:(NSURL *)url; + +/// Extracts auth response parameters from URL and removes percent encoding. +/// Response parameters OAuth 2 code flow (RFC6749 4.1.2) are in the query component. ++ (NSDictionary *)extractOAuthResponseFromCodeFlowUrl:(NSURL *)url; + +/// Extracts auth response parameters from URL and removes percent encoding. +/// Response parameters from OAuth 2 token flow (RFC6749 4.2.2) are in the fragment component. ++ (NSDictionary *)extractOAuthResponseFromTokenFlowUrl:(NSURL *)url; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBScopeRequest+Protected.h b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBScopeRequest+Protected.h new file mode 100644 index 000000000..5c7dca0b1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/Internal/OAuth/DBScopeRequest+Protected.h @@ -0,0 +1,21 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBScopeRequest.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface DBScopeRequest (Protected) + +/// String value of DBScopeType. +@property (nonatomic, readonly, copy) NSString *scopeType; +/// Boolean indicating whether to keep all previously granted scopes. +@property (nonatomic, readonly, assign) BOOL includeGrantedScopes; + +/// String representation of the scopes, used in URL query. Nil if no scopes requested. +- (nullable NSString *)scopeString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Headers/PlatformInternal/iOS/DBLoadingViewController.h b/Source/ObjectiveDropboxOfficial/Headers/PlatformInternal/iOS/DBLoadingViewController.h new file mode 100644 index 000000000..91e27145b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Headers/PlatformInternal/iOS/DBLoadingViewController.h @@ -0,0 +1,19 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface DBLoadingViewController : UIViewController + +- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; + +- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil + bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/project.pbxproj b/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/project.pbxproj index 3f9e7e70c..9b3550aad 100644 --- a/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/project.pbxproj +++ b/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/project.pbxproj @@ -11,6 +11,55 @@ 3C3C29751F7D757E00C54011 /* DBTransportBaseHostnameConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C3C29721F7D757E00C54011 /* DBTransportBaseHostnameConfig.m */; }; 3C3C29761F7D758E00C54011 /* DBTransportBaseHostnameConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C3C29731F7D757E00C54011 /* DBTransportBaseHostnameConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; 3C3C29771F7D758E00C54011 /* DBTransportBaseHostnameConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C3C29731F7D757E00C54011 /* DBTransportBaseHostnameConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 63FB27AA22BDD97A0062BA22 /* DBSDKImports-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = F235B51F1E29913600144F8B /* DBSDKImports-iOS.h */; }; + BF33F92824873F12001F4072 /* DBOAuthPKCESession.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92024873F10001F4072 /* DBOAuthPKCESession.m */; }; + BF33F92924873F12001F4072 /* DBOAuthPKCESession.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92024873F10001F4072 /* DBOAuthPKCESession.m */; }; + BF33F92A24873F12001F4072 /* DBOAuthConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92124873F11001F4072 /* DBOAuthConstants.m */; }; + BF33F92B24873F12001F4072 /* DBOAuthConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92124873F11001F4072 /* DBOAuthConstants.m */; }; + BF33F92C24873F12001F4072 /* DBOAuthUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92224873F11001F4072 /* DBOAuthUtils.m */; }; + BF33F92D24873F12001F4072 /* DBOAuthUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92224873F11001F4072 /* DBOAuthUtils.m */; }; + BF33F92E24873F12001F4072 /* DBOAuthPKCESession.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92324873F11001F4072 /* DBOAuthPKCESession.h */; }; + BF33F92F24873F12001F4072 /* DBOAuthPKCESession.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92324873F11001F4072 /* DBOAuthPKCESession.h */; }; + BF33F93024873F12001F4072 /* DBOAuthConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92424873F11001F4072 /* DBOAuthConstants.h */; }; + BF33F93124873F12001F4072 /* DBOAuthConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92424873F11001F4072 /* DBOAuthConstants.h */; }; + BF33F93224873F12001F4072 /* DBScopeRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92524873F11001F4072 /* DBScopeRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BF33F93324873F12001F4072 /* DBScopeRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92524873F11001F4072 /* DBScopeRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BF33F93424873F12001F4072 /* DBScopeRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92624873F12001F4072 /* DBScopeRequest.m */; }; + BF33F93524873F12001F4072 /* DBScopeRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F92624873F12001F4072 /* DBScopeRequest.m */; }; + BF33F93624873F12001F4072 /* DBOAuthUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92724873F12001F4072 /* DBOAuthUtils.h */; }; + BF33F93724873F12001F4072 /* DBOAuthUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F92724873F12001F4072 /* DBOAuthUtils.h */; }; + BF33F93924873F3E001F4072 /* DBScopeRequest+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93824873F3E001F4072 /* DBScopeRequest+Protected.h */; }; + BF33F93A24873F3E001F4072 /* DBScopeRequest+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93824873F3E001F4072 /* DBScopeRequest+Protected.h */; }; + BF33F93E24874DED001F4072 /* DBOAuthTokenRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93B24874DED001F4072 /* DBOAuthTokenRequest.h */; }; + BF33F93F24874DED001F4072 /* DBOAuthTokenRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93B24874DED001F4072 /* DBOAuthTokenRequest.h */; }; + BF33F94024874DED001F4072 /* DBOAuthResultCompletion.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93C24874DED001F4072 /* DBOAuthResultCompletion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BF33F94124874DED001F4072 /* DBOAuthResultCompletion.h in Headers */ = {isa = PBXBuildFile; fileRef = BF33F93C24874DED001F4072 /* DBOAuthResultCompletion.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BF33F94224874DED001F4072 /* DBOAuthTokenRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F93D24874DED001F4072 /* DBOAuthTokenRequest.m */; }; + BF33F94324874DED001F4072 /* DBOAuthTokenRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = BF33F93D24874DED001F4072 /* DBOAuthTokenRequest.m */; }; + BF46BE8624E741F000002735 /* DBGlobalErrorResponseHandler+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2D40D3E1E779AE5004CCEB7 /* DBGlobalErrorResponseHandler+Internal.h */; }; + BF46BE8724E7420000002735 /* DBGlobalErrorResponseHandler+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = F2D40D3E1E779AE5004CCEB7 /* DBGlobalErrorResponseHandler+Internal.h */; }; + BF46BE8824E7425C00002735 /* DBAccessTokenProvider+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = BFC20EA524905C57005A5E8F /* DBAccessTokenProvider+Internal.h */; }; + BF46BE8924E7426A00002735 /* DBAccessTokenProvider+Internal.h in Headers */ = {isa = PBXBuildFile; fileRef = BFC20EA524905C57005A5E8F /* DBAccessTokenProvider+Internal.h */; }; + BF474D38248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = BF474D36248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h */; }; + BF474D39248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = BF474D36248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h */; }; + BF474D3A248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = BF474D37248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m */; }; + BF474D3B248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = BF474D37248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m */; }; + BF58C3B324CA65B100745A74 /* DBLoadingStatusDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = BF7E352D248858B600DEDF84 /* DBLoadingStatusDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BF6162C52491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h in Headers */ = {isa = PBXBuildFile; fileRef = BF6162C32491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h */; }; + BF6162C62491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h in Headers */ = {isa = PBXBuildFile; fileRef = BF6162C32491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h */; }; + BF6162C72491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = BF6162C42491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m */; }; + BF6162C82491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m in Sources */ = {isa = PBXBuildFile; fileRef = BF6162C42491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m */; }; + BF7E352B2488562F00DEDF84 /* DBLoadingViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = BF7E35292488562F00DEDF84 /* DBLoadingViewController.h */; }; + BF7E352C2488562F00DEDF84 /* DBLoadingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = BF7E352A2488562F00DEDF84 /* DBLoadingViewController.m */; }; + BF7E352E248858B600DEDF84 /* DBLoadingStatusDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = BF7E352D248858B600DEDF84 /* DBLoadingStatusDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BFD93BC724905D8A006AB165 /* DBAccessTokenProviderImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD93BC624905D8A006AB165 /* DBAccessTokenProviderImpl.m */; }; + BFD93BC824905D8A006AB165 /* DBAccessTokenProviderImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = BFD93BC624905D8A006AB165 /* DBAccessTokenProviderImpl.m */; }; + BFFFCE8124E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = BFFFCE8024E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m */; }; + BFFFCE8224E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = BFFFCE8024E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m */; }; + BFFFCE8424E741440084E238 /* DBURLSessionTask.h in Headers */ = {isa = PBXBuildFile; fileRef = BFFFCE7F24E73E0C0084E238 /* DBURLSessionTask.h */; }; + BFFFCE8524E7414A0084E238 /* DBURLSessionTaskResponseBlockWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = BFFFCE8324E73F6C0084E238 /* DBURLSessionTaskResponseBlockWrapper.h */; }; + BFFFCE8624E741670084E238 /* DBURLSessionTask.h in Headers */ = {isa = PBXBuildFile; fileRef = BFFFCE7F24E73E0C0084E238 /* DBURLSessionTask.h */; }; + BFFFCE8724E7417B0084E238 /* DBURLSessionTaskResponseBlockWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = BFFFCE8324E73F6C0084E238 /* DBURLSessionTaskResponseBlockWrapper.h */; }; F235B5221E29913600144F8B /* DBOAuthMobile-iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F235B51C1E29913600144F8B /* DBOAuthMobile-iOS.m */; }; F235B5241E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F235B51E1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m */; }; F235B52F1E29915400144F8B /* DBOAuthDesktop-macOS.m in Sources */ = {isa = PBXBuildFile; fileRef = F235B5291E29915400144F8B /* DBOAuthDesktop-macOS.m */; }; @@ -25,2056 +74,6 @@ F241694F1E5247DB0038E306 /* DBTransportBaseConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = F241694A1E5247D60038E306 /* DBTransportBaseConfig.m */; }; F27DEB9A1D7FFBB9003B1CEE /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F27DEB991D7FFBB9003B1CEE /* AppKit.framework */; }; F27DEB9C1D7FFBBF003B1CEE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F27DEB9B1D7FFBBF003B1CEE /* Foundation.framework */; }; - F292EEC31FC0EB7400D6E69B /* DBAsyncObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAA31FC0EB7300D6E69B /* DBAsyncObjects.m */; }; - F292EEC41FC0EB7400D6E69B /* DBAsyncObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAA31FC0EB7300D6E69B /* DBAsyncObjects.m */; }; - F292EEC51FC0EB7400D6E69B /* DBASYNCLaunchEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA51FC0EB7300D6E69B /* DBASYNCLaunchEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEC61FC0EB7400D6E69B /* DBASYNCLaunchEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA51FC0EB7300D6E69B /* DBASYNCLaunchEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEC71FC0EB7400D6E69B /* DBASYNCLaunchResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA61FC0EB7300D6E69B /* DBASYNCLaunchResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEC81FC0EB7400D6E69B /* DBASYNCLaunchResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA61FC0EB7300D6E69B /* DBASYNCLaunchResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEC91FC0EB7400D6E69B /* DBASYNCPollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA71FC0EB7300D6E69B /* DBASYNCPollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECA1FC0EB7400D6E69B /* DBASYNCPollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA71FC0EB7300D6E69B /* DBASYNCPollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECB1FC0EB7400D6E69B /* DBASYNCPollEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA81FC0EB7300D6E69B /* DBASYNCPollEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECC1FC0EB7400D6E69B /* DBASYNCPollEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA81FC0EB7300D6E69B /* DBASYNCPollEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECD1FC0EB7400D6E69B /* DBASYNCPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA91FC0EB7300D6E69B /* DBASYNCPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECE1FC0EB7400D6E69B /* DBASYNCPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAA91FC0EB7300D6E69B /* DBASYNCPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EECF1FC0EB7400D6E69B /* DBASYNCPollResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAA1FC0EB7300D6E69B /* DBASYNCPollResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED01FC0EB7400D6E69B /* DBASYNCPollResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAA1FC0EB7300D6E69B /* DBASYNCPollResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED11FC0EB7400D6E69B /* DBAuthObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAAC1FC0EB7300D6E69B /* DBAuthObjects.m */; }; - F292EED21FC0EB7400D6E69B /* DBAuthObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAAC1FC0EB7300D6E69B /* DBAuthObjects.m */; }; - F292EED31FC0EB7400D6E69B /* DBAUTHAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAE1FC0EB7300D6E69B /* DBAUTHAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED41FC0EB7400D6E69B /* DBAUTHAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAE1FC0EB7300D6E69B /* DBAUTHAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED51FC0EB7400D6E69B /* DBAUTHAuthError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAF1FC0EB7300D6E69B /* DBAUTHAuthError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED61FC0EB7400D6E69B /* DBAUTHAuthError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAAF1FC0EB7300D6E69B /* DBAUTHAuthError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED71FC0EB7400D6E69B /* DBAUTHInvalidAccountTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB01FC0EB7300D6E69B /* DBAUTHInvalidAccountTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED81FC0EB7400D6E69B /* DBAUTHInvalidAccountTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB01FC0EB7300D6E69B /* DBAUTHInvalidAccountTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EED91FC0EB7400D6E69B /* DBAUTHPaperAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB11FC0EB7300D6E69B /* DBAUTHPaperAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDA1FC0EB7400D6E69B /* DBAUTHPaperAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB11FC0EB7300D6E69B /* DBAUTHPaperAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDB1FC0EB7400D6E69B /* DBAUTHRateLimitError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB21FC0EB7300D6E69B /* DBAUTHRateLimitError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDC1FC0EB7400D6E69B /* DBAUTHRateLimitError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB21FC0EB7300D6E69B /* DBAUTHRateLimitError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDD1FC0EB7400D6E69B /* DBAUTHRateLimitReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB31FC0EB7300D6E69B /* DBAUTHRateLimitReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDE1FC0EB7400D6E69B /* DBAUTHRateLimitReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB31FC0EB7300D6E69B /* DBAUTHRateLimitReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEDF1FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB41FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE01FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB41FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE11FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB51FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE21FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB51FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE31FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB61FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE41FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAB61FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE51FC0EB7400D6E69B /* DBCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAB81FC0EB7300D6E69B /* DBCommonObjects.m */; }; - F292EEE61FC0EB7400D6E69B /* DBCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAB81FC0EB7300D6E69B /* DBCommonObjects.m */; }; - F292EEE71FC0EB7400D6E69B /* DBCOMMONPathRoot.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABA1FC0EB7300D6E69B /* DBCOMMONPathRoot.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE81FC0EB7400D6E69B /* DBCOMMONPathRoot.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABA1FC0EB7300D6E69B /* DBCOMMONPathRoot.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEE91FC0EB7400D6E69B /* DBCOMMONPathRootError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABB1FC0EB7300D6E69B /* DBCOMMONPathRootError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEEA1FC0EB7400D6E69B /* DBCOMMONPathRootError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABB1FC0EB7300D6E69B /* DBCOMMONPathRootError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEEB1FC0EB7400D6E69B /* DBCOMMONRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABC1FC0EB7300D6E69B /* DBCOMMONRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEEC1FC0EB7400D6E69B /* DBCOMMONRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABC1FC0EB7300D6E69B /* DBCOMMONRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEED1FC0EB7400D6E69B /* DBCOMMONTeamRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABD1FC0EB7300D6E69B /* DBCOMMONTeamRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEEE1FC0EB7400D6E69B /* DBCOMMONTeamRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABD1FC0EB7300D6E69B /* DBCOMMONTeamRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEEF1FC0EB7400D6E69B /* DBCOMMONUserRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABE1FC0EB7300D6E69B /* DBCOMMONUserRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF01FC0EB7400D6E69B /* DBCOMMONUserRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EABE1FC0EB7300D6E69B /* DBCOMMONUserRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF11FC0EB7400D6E69B /* DBFilePropertiesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAC01FC0EB7300D6E69B /* DBFilePropertiesObjects.m */; }; - F292EEF21FC0EB7400D6E69B /* DBFilePropertiesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAC01FC0EB7300D6E69B /* DBFilePropertiesObjects.m */; }; - F292EEF31FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC21FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF41FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC21FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF51FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC31FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF61FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC31FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF71FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC41FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF81FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC41FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEF91FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC51FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFA1FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC51FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFB1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC61FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFC1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC61FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFD1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC71FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFE1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC71FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EEFF1FC0EB7400D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC81FC0EB7300D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF001FC0EB7400D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC81FC0EB7300D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF011FC0EB7400D6E69B /* DBFILEPROPERTIESListTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC91FC0EB7300D6E69B /* DBFILEPROPERTIESListTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF021FC0EB7400D6E69B /* DBFILEPROPERTIESListTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAC91FC0EB7300D6E69B /* DBFILEPROPERTIESListTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF031FC0EB7400D6E69B /* DBFILEPROPERTIESLogicalOperator.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACA1FC0EB7300D6E69B /* DBFILEPROPERTIESLogicalOperator.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF041FC0EB7400D6E69B /* DBFILEPROPERTIESLogicalOperator.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACA1FC0EB7300D6E69B /* DBFILEPROPERTIESLogicalOperator.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF051FC0EB7400D6E69B /* DBFILEPROPERTIESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACB1FC0EB7300D6E69B /* DBFILEPROPERTIESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF061FC0EB7400D6E69B /* DBFILEPROPERTIESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACB1FC0EB7300D6E69B /* DBFILEPROPERTIESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF071FC0EB7400D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACC1FC0EB7300D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF081FC0EB7400D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACC1FC0EB7300D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF091FC0EB7400D6E69B /* DBFILEPROPERTIESModifyTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACD1FC0EB7300D6E69B /* DBFILEPROPERTIESModifyTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0A1FC0EB7400D6E69B /* DBFILEPROPERTIESModifyTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACD1FC0EB7300D6E69B /* DBFILEPROPERTIESModifyTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0B1FC0EB7400D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACE1FC0EB7300D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0C1FC0EB7400D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACE1FC0EB7300D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0D1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACF1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0E1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EACF1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF0F1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD01FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF101FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD01FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF111FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD11FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF121FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD11FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF131FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD21FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF141FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD21FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF151FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD31FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF161FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD31FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF171FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD41FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF181FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD41FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF191FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD51FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1A1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD51FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1B1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD61FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1C1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD61FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1D1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD71FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1E1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD71FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF1F1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyField.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD81FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyField.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF201FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyField.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD81FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyField.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF211FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD91FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF221FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAD91FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF231FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADA1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF241FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADA1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF251FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADB1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF261FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADB1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF271FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADC1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF281FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADC1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF291FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADD1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2A1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADD1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2B1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADE1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2C1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADE1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2D1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADF1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2E1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EADF1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF2F1FC0EB7400D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE01FC0EB7300D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF301FC0EB7400D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE01FC0EB7300D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF311FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE11FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF321FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE11FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF331FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE21FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF341FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE21FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF351FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE31FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF361FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE31FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF371FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE41FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF381FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE41FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF391FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE51FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3A1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE51FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3B1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE61FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3C1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE61FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3D1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE71FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3E1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE71FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF3F1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE81FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF401FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAE81FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF411FC0EB7400D6E69B /* DBFileRequestsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAEA1FC0EB7300D6E69B /* DBFileRequestsObjects.m */; }; - F292EF421FC0EB7400D6E69B /* DBFileRequestsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAEA1FC0EB7300D6E69B /* DBFileRequestsObjects.m */; }; - F292EF431FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEC1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF441FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEC1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF451FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAED1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF461FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAED1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF471FC0EB7400D6E69B /* DBFILEREQUESTSFileRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEE1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF481FC0EB7400D6E69B /* DBFILEREQUESTSFileRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEE1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF491FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEF1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4A1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAEF1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4B1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF01FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4C1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF01FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4D1FC0EB7400D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF11FC0EB7300D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4E1FC0EB7400D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF11FC0EB7300D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF4F1FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF21FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF501FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF21FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF511FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF31FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF521FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF31FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF531FC0EB7400D6E69B /* DBFILEREQUESTSGracePeriod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF41FC0EB7300D6E69B /* DBFILEREQUESTSGracePeriod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF541FC0EB7400D6E69B /* DBFILEREQUESTSGracePeriod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF41FC0EB7300D6E69B /* DBFILEREQUESTSGracePeriod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF551FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF51FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF561FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF51FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF571FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF61FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF581FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF61FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF591FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF71FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5A1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF71FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5B1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF81FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5C1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF81FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5D1FC0EB7500D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF91FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5E1FC0EB7500D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAF91FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF5F1FC0EB7500D6E69B /* DBFilesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAFB1FC0EB7300D6E69B /* DBFilesObjects.m */; }; - F292EF601FC0EB7500D6E69B /* DBFilesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EAFB1FC0EB7300D6E69B /* DBFilesObjects.m */; }; - F292EF611FC0EB7500D6E69B /* DBFILESAlphaGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFD1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF621FC0EB7500D6E69B /* DBFILESAlphaGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFD1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF631FC0EB7500D6E69B /* DBFILESAlphaGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFE1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF641FC0EB7500D6E69B /* DBFILESAlphaGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFE1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF651FC0EB7500D6E69B /* DBFILESCommitInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFF1FC0EB7300D6E69B /* DBFILESCommitInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF661FC0EB7500D6E69B /* DBFILESCommitInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EAFF1FC0EB7300D6E69B /* DBFILESCommitInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF671FC0EB7500D6E69B /* DBFILESCommitInfoWithProperties.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB001FC0EB7300D6E69B /* DBFILESCommitInfoWithProperties.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF681FC0EB7500D6E69B /* DBFILESCommitInfoWithProperties.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB001FC0EB7300D6E69B /* DBFILESCommitInfoWithProperties.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF691FC0EB7500D6E69B /* DBFILESCreateFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB011FC0EB7300D6E69B /* DBFILESCreateFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6A1FC0EB7500D6E69B /* DBFILESCreateFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB011FC0EB7300D6E69B /* DBFILESCreateFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6B1FC0EB7500D6E69B /* DBFILESCreateFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB021FC0EB7300D6E69B /* DBFILESCreateFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6C1FC0EB7500D6E69B /* DBFILESCreateFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB021FC0EB7300D6E69B /* DBFILESCreateFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6D1FC0EB7500D6E69B /* DBFILESCreateFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB031FC0EB7300D6E69B /* DBFILESCreateFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6E1FC0EB7500D6E69B /* DBFILESCreateFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB031FC0EB7300D6E69B /* DBFILESCreateFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF6F1FC0EB7500D6E69B /* DBFILESDeleteArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB041FC0EB7300D6E69B /* DBFILESDeleteArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF701FC0EB7500D6E69B /* DBFILESDeleteArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB041FC0EB7300D6E69B /* DBFILESDeleteArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF711FC0EB7500D6E69B /* DBFILESDeleteBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB051FC0EB7300D6E69B /* DBFILESDeleteBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF721FC0EB7500D6E69B /* DBFILESDeleteBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB051FC0EB7300D6E69B /* DBFILESDeleteBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF731FC0EB7500D6E69B /* DBFILESDeleteBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB061FC0EB7300D6E69B /* DBFILESDeleteBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF741FC0EB7500D6E69B /* DBFILESDeleteBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB061FC0EB7300D6E69B /* DBFILESDeleteBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF751FC0EB7500D6E69B /* DBFILESDeleteBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB071FC0EB7300D6E69B /* DBFILESDeleteBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF761FC0EB7500D6E69B /* DBFILESDeleteBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB071FC0EB7300D6E69B /* DBFILESDeleteBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF771FC0EB7500D6E69B /* DBFILESDeleteBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB081FC0EB7300D6E69B /* DBFILESDeleteBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF781FC0EB7500D6E69B /* DBFILESDeleteBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB081FC0EB7300D6E69B /* DBFILESDeleteBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF791FC0EB7500D6E69B /* DBFILESDeleteBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB091FC0EB7300D6E69B /* DBFILESDeleteBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7A1FC0EB7500D6E69B /* DBFILESDeleteBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB091FC0EB7300D6E69B /* DBFILESDeleteBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7B1FC0EB7500D6E69B /* DBFILESDeleteBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0A1FC0EB7300D6E69B /* DBFILESDeleteBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7C1FC0EB7500D6E69B /* DBFILESDeleteBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0A1FC0EB7300D6E69B /* DBFILESDeleteBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7D1FC0EB7500D6E69B /* DBFILESDeleteBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0B1FC0EB7300D6E69B /* DBFILESDeleteBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7E1FC0EB7500D6E69B /* DBFILESDeleteBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0B1FC0EB7300D6E69B /* DBFILESDeleteBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF7F1FC0EB7500D6E69B /* DBFILESDeletedMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0C1FC0EB7300D6E69B /* DBFILESDeletedMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF801FC0EB7500D6E69B /* DBFILESDeletedMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0C1FC0EB7300D6E69B /* DBFILESDeletedMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF811FC0EB7500D6E69B /* DBFILESDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0D1FC0EB7300D6E69B /* DBFILESDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF821FC0EB7500D6E69B /* DBFILESDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0D1FC0EB7300D6E69B /* DBFILESDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF831FC0EB7500D6E69B /* DBFILESDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0E1FC0EB7300D6E69B /* DBFILESDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF841FC0EB7500D6E69B /* DBFILESDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0E1FC0EB7300D6E69B /* DBFILESDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF851FC0EB7500D6E69B /* DBFILESDimensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0F1FC0EB7300D6E69B /* DBFILESDimensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF861FC0EB7500D6E69B /* DBFILESDimensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB0F1FC0EB7300D6E69B /* DBFILESDimensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF871FC0EB7500D6E69B /* DBFILESDownloadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB101FC0EB7300D6E69B /* DBFILESDownloadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF881FC0EB7500D6E69B /* DBFILESDownloadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB101FC0EB7300D6E69B /* DBFILESDownloadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF891FC0EB7500D6E69B /* DBFILESDownloadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB111FC0EB7300D6E69B /* DBFILESDownloadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8A1FC0EB7500D6E69B /* DBFILESDownloadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB111FC0EB7300D6E69B /* DBFILESDownloadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8B1FC0EB7500D6E69B /* DBFILESFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB121FC0EB7300D6E69B /* DBFILESFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8C1FC0EB7500D6E69B /* DBFILESFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB121FC0EB7300D6E69B /* DBFILESFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8D1FC0EB7500D6E69B /* DBFILESFileOpsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB131FC0EB7300D6E69B /* DBFILESFileOpsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8E1FC0EB7500D6E69B /* DBFILESFileOpsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB131FC0EB7300D6E69B /* DBFILESFileOpsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF8F1FC0EB7500D6E69B /* DBFILESFileSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB141FC0EB7300D6E69B /* DBFILESFileSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF901FC0EB7500D6E69B /* DBFILESFileSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB141FC0EB7300D6E69B /* DBFILESFileSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF911FC0EB7500D6E69B /* DBFILESFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB151FC0EB7300D6E69B /* DBFILESFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF921FC0EB7500D6E69B /* DBFILESFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB151FC0EB7300D6E69B /* DBFILESFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF931FC0EB7500D6E69B /* DBFILESFolderSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB161FC0EB7300D6E69B /* DBFILESFolderSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF941FC0EB7500D6E69B /* DBFILESFolderSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB161FC0EB7300D6E69B /* DBFILESFolderSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF951FC0EB7500D6E69B /* DBFILESGetCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB171FC0EB7300D6E69B /* DBFILESGetCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF961FC0EB7500D6E69B /* DBFILESGetCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB171FC0EB7300D6E69B /* DBFILESGetCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF971FC0EB7500D6E69B /* DBFILESGetCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB181FC0EB7300D6E69B /* DBFILESGetCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF981FC0EB7500D6E69B /* DBFILESGetCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB181FC0EB7300D6E69B /* DBFILESGetCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF991FC0EB7500D6E69B /* DBFILESGetCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB191FC0EB7300D6E69B /* DBFILESGetCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9A1FC0EB7500D6E69B /* DBFILESGetCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB191FC0EB7300D6E69B /* DBFILESGetCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9B1FC0EB7500D6E69B /* DBFILESGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1A1FC0EB7300D6E69B /* DBFILESGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9C1FC0EB7500D6E69B /* DBFILESGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1A1FC0EB7300D6E69B /* DBFILESGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9D1FC0EB7500D6E69B /* DBFILESGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1B1FC0EB7300D6E69B /* DBFILESGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9E1FC0EB7500D6E69B /* DBFILESGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1B1FC0EB7300D6E69B /* DBFILESGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EF9F1FC0EB7500D6E69B /* DBFILESGetTemporaryLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1C1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA01FC0EB7500D6E69B /* DBFILESGetTemporaryLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1C1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA11FC0EB7500D6E69B /* DBFILESGetTemporaryLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1D1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA21FC0EB7500D6E69B /* DBFILESGetTemporaryLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1D1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA31FC0EB7500D6E69B /* DBFILESGetTemporaryLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1E1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA41FC0EB7500D6E69B /* DBFILESGetTemporaryLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1E1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA51FC0EB7500D6E69B /* DBFILESGetThumbnailBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1F1FC0EB7300D6E69B /* DBFILESGetThumbnailBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA61FC0EB7500D6E69B /* DBFILESGetThumbnailBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB1F1FC0EB7300D6E69B /* DBFILESGetThumbnailBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA71FC0EB7500D6E69B /* DBFILESGetThumbnailBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB201FC0EB7300D6E69B /* DBFILESGetThumbnailBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA81FC0EB7500D6E69B /* DBFILESGetThumbnailBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB201FC0EB7300D6E69B /* DBFILESGetThumbnailBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFA91FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB211FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAA1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB211FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAB1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB221FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAC1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB221FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAD1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB231FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAE1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB231FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFAF1FC0EB7500D6E69B /* DBFILESGpsCoordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB241FC0EB7300D6E69B /* DBFILESGpsCoordinates.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB01FC0EB7500D6E69B /* DBFILESGpsCoordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB241FC0EB7300D6E69B /* DBFILESGpsCoordinates.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB11FC0EB7500D6E69B /* DBFILESListFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB251FC0EB7300D6E69B /* DBFILESListFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB21FC0EB7500D6E69B /* DBFILESListFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB251FC0EB7300D6E69B /* DBFILESListFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB31FC0EB7500D6E69B /* DBFILESListFolderContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB261FC0EB7300D6E69B /* DBFILESListFolderContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB41FC0EB7500D6E69B /* DBFILESListFolderContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB261FC0EB7300D6E69B /* DBFILESListFolderContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB51FC0EB7500D6E69B /* DBFILESListFolderContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB271FC0EB7300D6E69B /* DBFILESListFolderContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB61FC0EB7500D6E69B /* DBFILESListFolderContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB271FC0EB7300D6E69B /* DBFILESListFolderContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB71FC0EB7500D6E69B /* DBFILESListFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB281FC0EB7300D6E69B /* DBFILESListFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB81FC0EB7500D6E69B /* DBFILESListFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB281FC0EB7300D6E69B /* DBFILESListFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFB91FC0EB7500D6E69B /* DBFILESListFolderGetLatestCursorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB291FC0EB7300D6E69B /* DBFILESListFolderGetLatestCursorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBA1FC0EB7500D6E69B /* DBFILESListFolderGetLatestCursorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB291FC0EB7300D6E69B /* DBFILESListFolderGetLatestCursorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBB1FC0EB7500D6E69B /* DBFILESListFolderLongpollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2A1FC0EB7300D6E69B /* DBFILESListFolderLongpollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBC1FC0EB7500D6E69B /* DBFILESListFolderLongpollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2A1FC0EB7300D6E69B /* DBFILESListFolderLongpollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBD1FC0EB7500D6E69B /* DBFILESListFolderLongpollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2B1FC0EB7300D6E69B /* DBFILESListFolderLongpollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBE1FC0EB7500D6E69B /* DBFILESListFolderLongpollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2B1FC0EB7300D6E69B /* DBFILESListFolderLongpollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFBF1FC0EB7500D6E69B /* DBFILESListFolderLongpollResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2C1FC0EB7300D6E69B /* DBFILESListFolderLongpollResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC01FC0EB7500D6E69B /* DBFILESListFolderLongpollResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2C1FC0EB7300D6E69B /* DBFILESListFolderLongpollResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC11FC0EB7500D6E69B /* DBFILESListFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2D1FC0EB7300D6E69B /* DBFILESListFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC21FC0EB7500D6E69B /* DBFILESListFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2D1FC0EB7300D6E69B /* DBFILESListFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC31FC0EB7500D6E69B /* DBFILESListRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2E1FC0EB7300D6E69B /* DBFILESListRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC41FC0EB7500D6E69B /* DBFILESListRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2E1FC0EB7300D6E69B /* DBFILESListRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC51FC0EB7500D6E69B /* DBFILESListRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2F1FC0EB7300D6E69B /* DBFILESListRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC61FC0EB7500D6E69B /* DBFILESListRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB2F1FC0EB7300D6E69B /* DBFILESListRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC71FC0EB7500D6E69B /* DBFILESListRevisionsMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB301FC0EB7300D6E69B /* DBFILESListRevisionsMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC81FC0EB7500D6E69B /* DBFILESListRevisionsMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB301FC0EB7300D6E69B /* DBFILESListRevisionsMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFC91FC0EB7500D6E69B /* DBFILESListRevisionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB311FC0EB7300D6E69B /* DBFILESListRevisionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCA1FC0EB7500D6E69B /* DBFILESListRevisionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB311FC0EB7300D6E69B /* DBFILESListRevisionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCB1FC0EB7500D6E69B /* DBFILESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB321FC0EB7300D6E69B /* DBFILESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCC1FC0EB7500D6E69B /* DBFILESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB321FC0EB7300D6E69B /* DBFILESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCD1FC0EB7500D6E69B /* DBFILESMediaInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB331FC0EB7300D6E69B /* DBFILESMediaInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCE1FC0EB7500D6E69B /* DBFILESMediaInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB331FC0EB7300D6E69B /* DBFILESMediaInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFCF1FC0EB7500D6E69B /* DBFILESMediaMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB341FC0EB7300D6E69B /* DBFILESMediaMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD01FC0EB7500D6E69B /* DBFILESMediaMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB341FC0EB7300D6E69B /* DBFILESMediaMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD11FC0EB7500D6E69B /* DBFILESMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB351FC0EB7300D6E69B /* DBFILESMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD21FC0EB7500D6E69B /* DBFILESMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB351FC0EB7300D6E69B /* DBFILESMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD31FC0EB7500D6E69B /* DBFILESPhotoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB361FC0EB7300D6E69B /* DBFILESPhotoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD41FC0EB7500D6E69B /* DBFILESPhotoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB361FC0EB7300D6E69B /* DBFILESPhotoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD51FC0EB7500D6E69B /* DBFILESPreviewArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB371FC0EB7300D6E69B /* DBFILESPreviewArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD61FC0EB7500D6E69B /* DBFILESPreviewArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB371FC0EB7300D6E69B /* DBFILESPreviewArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD71FC0EB7500D6E69B /* DBFILESPreviewError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB381FC0EB7300D6E69B /* DBFILESPreviewError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD81FC0EB7500D6E69B /* DBFILESPreviewError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB381FC0EB7300D6E69B /* DBFILESPreviewError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFD91FC0EB7500D6E69B /* DBFILESRelocationArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB391FC0EB7300D6E69B /* DBFILESRelocationArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDA1FC0EB7500D6E69B /* DBFILESRelocationArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB391FC0EB7300D6E69B /* DBFILESRelocationArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDB1FC0EB7500D6E69B /* DBFILESRelocationBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3A1FC0EB7300D6E69B /* DBFILESRelocationBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDC1FC0EB7500D6E69B /* DBFILESRelocationBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3A1FC0EB7300D6E69B /* DBFILESRelocationBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDD1FC0EB7500D6E69B /* DBFILESRelocationBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3B1FC0EB7300D6E69B /* DBFILESRelocationBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDE1FC0EB7500D6E69B /* DBFILESRelocationBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3B1FC0EB7300D6E69B /* DBFILESRelocationBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFDF1FC0EB7500D6E69B /* DBFILESRelocationBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3C1FC0EB7300D6E69B /* DBFILESRelocationBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE01FC0EB7500D6E69B /* DBFILESRelocationBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3C1FC0EB7300D6E69B /* DBFILESRelocationBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE11FC0EB7500D6E69B /* DBFILESRelocationBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3D1FC0EB7300D6E69B /* DBFILESRelocationBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE21FC0EB7500D6E69B /* DBFILESRelocationBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3D1FC0EB7300D6E69B /* DBFILESRelocationBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE31FC0EB7500D6E69B /* DBFILESRelocationBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3E1FC0EB7300D6E69B /* DBFILESRelocationBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE41FC0EB7500D6E69B /* DBFILESRelocationBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3E1FC0EB7300D6E69B /* DBFILESRelocationBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE51FC0EB7500D6E69B /* DBFILESRelocationBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3F1FC0EB7300D6E69B /* DBFILESRelocationBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE61FC0EB7500D6E69B /* DBFILESRelocationBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB3F1FC0EB7300D6E69B /* DBFILESRelocationBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE71FC0EB7500D6E69B /* DBFILESRelocationError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB401FC0EB7300D6E69B /* DBFILESRelocationError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE81FC0EB7500D6E69B /* DBFILESRelocationError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB401FC0EB7300D6E69B /* DBFILESRelocationError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFE91FC0EB7500D6E69B /* DBFILESRelocationPath.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB411FC0EB7300D6E69B /* DBFILESRelocationPath.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFEA1FC0EB7500D6E69B /* DBFILESRelocationPath.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB411FC0EB7300D6E69B /* DBFILESRelocationPath.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFEB1FC0EB7500D6E69B /* DBFILESRelocationResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB421FC0EB7300D6E69B /* DBFILESRelocationResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFEC1FC0EB7500D6E69B /* DBFILESRelocationResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB421FC0EB7300D6E69B /* DBFILESRelocationResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFED1FC0EB7500D6E69B /* DBFILESRestoreArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB431FC0EB7300D6E69B /* DBFILESRestoreArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFEE1FC0EB7500D6E69B /* DBFILESRestoreArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB431FC0EB7300D6E69B /* DBFILESRestoreArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFEF1FC0EB7500D6E69B /* DBFILESRestoreError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB441FC0EB7300D6E69B /* DBFILESRestoreError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF01FC0EB7500D6E69B /* DBFILESRestoreError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB441FC0EB7300D6E69B /* DBFILESRestoreError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF11FC0EB7500D6E69B /* DBFILESSaveCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB451FC0EB7300D6E69B /* DBFILESSaveCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF21FC0EB7500D6E69B /* DBFILESSaveCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB451FC0EB7300D6E69B /* DBFILESSaveCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF31FC0EB7500D6E69B /* DBFILESSaveCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB461FC0EB7300D6E69B /* DBFILESSaveCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF41FC0EB7500D6E69B /* DBFILESSaveCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB461FC0EB7300D6E69B /* DBFILESSaveCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF51FC0EB7500D6E69B /* DBFILESSaveCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB471FC0EB7300D6E69B /* DBFILESSaveCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF61FC0EB7500D6E69B /* DBFILESSaveCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB471FC0EB7300D6E69B /* DBFILESSaveCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF71FC0EB7500D6E69B /* DBFILESSaveUrlArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB481FC0EB7300D6E69B /* DBFILESSaveUrlArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF81FC0EB7500D6E69B /* DBFILESSaveUrlArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB481FC0EB7300D6E69B /* DBFILESSaveUrlArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFF91FC0EB7500D6E69B /* DBFILESSaveUrlError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB491FC0EB7300D6E69B /* DBFILESSaveUrlError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFA1FC0EB7500D6E69B /* DBFILESSaveUrlError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB491FC0EB7300D6E69B /* DBFILESSaveUrlError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFB1FC0EB7500D6E69B /* DBFILESSaveUrlJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4A1FC0EB7300D6E69B /* DBFILESSaveUrlJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFC1FC0EB7500D6E69B /* DBFILESSaveUrlJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4A1FC0EB7300D6E69B /* DBFILESSaveUrlJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFD1FC0EB7500D6E69B /* DBFILESSaveUrlResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4B1FC0EB7300D6E69B /* DBFILESSaveUrlResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFE1FC0EB7500D6E69B /* DBFILESSaveUrlResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4B1FC0EB7300D6E69B /* DBFILESSaveUrlResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292EFFF1FC0EB7500D6E69B /* DBFILESSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4C1FC0EB7300D6E69B /* DBFILESSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0001FC0EB7500D6E69B /* DBFILESSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4C1FC0EB7300D6E69B /* DBFILESSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0011FC0EB7500D6E69B /* DBFILESSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4D1FC0EB7300D6E69B /* DBFILESSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0021FC0EB7500D6E69B /* DBFILESSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4D1FC0EB7300D6E69B /* DBFILESSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0031FC0EB7500D6E69B /* DBFILESSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4E1FC0EB7300D6E69B /* DBFILESSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0041FC0EB7500D6E69B /* DBFILESSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4E1FC0EB7300D6E69B /* DBFILESSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0051FC0EB7500D6E69B /* DBFILESSearchMatchType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4F1FC0EB7300D6E69B /* DBFILESSearchMatchType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0061FC0EB7500D6E69B /* DBFILESSearchMatchType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB4F1FC0EB7300D6E69B /* DBFILESSearchMatchType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0071FC0EB7500D6E69B /* DBFILESSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB501FC0EB7300D6E69B /* DBFILESSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0081FC0EB7500D6E69B /* DBFILESSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB501FC0EB7300D6E69B /* DBFILESSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0091FC0EB7500D6E69B /* DBFILESSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB511FC0EB7300D6E69B /* DBFILESSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00A1FC0EB7500D6E69B /* DBFILESSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB511FC0EB7300D6E69B /* DBFILESSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00B1FC0EB7500D6E69B /* DBFILESSharedLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB521FC0EB7300D6E69B /* DBFILESSharedLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00C1FC0EB7500D6E69B /* DBFILESSharedLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB521FC0EB7300D6E69B /* DBFILESSharedLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00D1FC0EB7500D6E69B /* DBFILESSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB531FC0EB7300D6E69B /* DBFILESSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00E1FC0EB7500D6E69B /* DBFILESSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB531FC0EB7300D6E69B /* DBFILESSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F00F1FC0EB7500D6E69B /* DBFILESThumbnailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB541FC0EB7300D6E69B /* DBFILESThumbnailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0101FC0EB7500D6E69B /* DBFILESThumbnailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB541FC0EB7300D6E69B /* DBFILESThumbnailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0111FC0EB7500D6E69B /* DBFILESThumbnailError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB551FC0EB7300D6E69B /* DBFILESThumbnailError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0121FC0EB7500D6E69B /* DBFILESThumbnailError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB551FC0EB7300D6E69B /* DBFILESThumbnailError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0131FC0EB7500D6E69B /* DBFILESThumbnailFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB561FC0EB7300D6E69B /* DBFILESThumbnailFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0141FC0EB7500D6E69B /* DBFILESThumbnailFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB561FC0EB7300D6E69B /* DBFILESThumbnailFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0151FC0EB7500D6E69B /* DBFILESThumbnailSize.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB571FC0EB7300D6E69B /* DBFILESThumbnailSize.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0161FC0EB7500D6E69B /* DBFILESThumbnailSize.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB571FC0EB7300D6E69B /* DBFILESThumbnailSize.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0171FC0EB7500D6E69B /* DBFILESUploadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB581FC0EB7300D6E69B /* DBFILESUploadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0181FC0EB7500D6E69B /* DBFILESUploadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB581FC0EB7300D6E69B /* DBFILESUploadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0191FC0EB7500D6E69B /* DBFILESUploadErrorWithProperties.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB591FC0EB7300D6E69B /* DBFILESUploadErrorWithProperties.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01A1FC0EB7500D6E69B /* DBFILESUploadErrorWithProperties.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB591FC0EB7300D6E69B /* DBFILESUploadErrorWithProperties.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01B1FC0EB7500D6E69B /* DBFILESUploadSessionAppendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5A1FC0EB7300D6E69B /* DBFILESUploadSessionAppendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01C1FC0EB7500D6E69B /* DBFILESUploadSessionAppendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5A1FC0EB7300D6E69B /* DBFILESUploadSessionAppendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01D1FC0EB7500D6E69B /* DBFILESUploadSessionCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5B1FC0EB7300D6E69B /* DBFILESUploadSessionCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01E1FC0EB7500D6E69B /* DBFILESUploadSessionCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5B1FC0EB7300D6E69B /* DBFILESUploadSessionCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F01F1FC0EB7500D6E69B /* DBFILESUploadSessionFinishArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5C1FC0EB7300D6E69B /* DBFILESUploadSessionFinishArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0201FC0EB7500D6E69B /* DBFILESUploadSessionFinishArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5C1FC0EB7300D6E69B /* DBFILESUploadSessionFinishArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0211FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5D1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0221FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5D1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0231FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5E1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0241FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5E1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0251FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5F1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0261FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB5F1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0271FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB601FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0281FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB601FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0291FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB611FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02A1FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB611FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02B1FC0EB7500D6E69B /* DBFILESUploadSessionFinishError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB621FC0EB7300D6E69B /* DBFILESUploadSessionFinishError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02C1FC0EB7500D6E69B /* DBFILESUploadSessionFinishError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB621FC0EB7300D6E69B /* DBFILESUploadSessionFinishError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02D1FC0EB7500D6E69B /* DBFILESUploadSessionLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB631FC0EB7300D6E69B /* DBFILESUploadSessionLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02E1FC0EB7500D6E69B /* DBFILESUploadSessionLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB631FC0EB7300D6E69B /* DBFILESUploadSessionLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F02F1FC0EB7500D6E69B /* DBFILESUploadSessionOffsetError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB641FC0EB7300D6E69B /* DBFILESUploadSessionOffsetError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0301FC0EB7500D6E69B /* DBFILESUploadSessionOffsetError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB641FC0EB7300D6E69B /* DBFILESUploadSessionOffsetError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0311FC0EB7500D6E69B /* DBFILESUploadSessionStartArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB651FC0EB7300D6E69B /* DBFILESUploadSessionStartArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0321FC0EB7500D6E69B /* DBFILESUploadSessionStartArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB651FC0EB7300D6E69B /* DBFILESUploadSessionStartArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0331FC0EB7500D6E69B /* DBFILESUploadSessionStartResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB661FC0EB7300D6E69B /* DBFILESUploadSessionStartResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0341FC0EB7500D6E69B /* DBFILESUploadSessionStartResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB661FC0EB7300D6E69B /* DBFILESUploadSessionStartResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0351FC0EB7500D6E69B /* DBFILESUploadWriteFailed.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB671FC0EB7300D6E69B /* DBFILESUploadWriteFailed.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0361FC0EB7500D6E69B /* DBFILESUploadWriteFailed.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB671FC0EB7300D6E69B /* DBFILESUploadWriteFailed.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0371FC0EB7500D6E69B /* DBFILESVideoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB681FC0EB7300D6E69B /* DBFILESVideoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0381FC0EB7500D6E69B /* DBFILESVideoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB681FC0EB7300D6E69B /* DBFILESVideoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0391FC0EB7500D6E69B /* DBFILESWriteConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB691FC0EB7300D6E69B /* DBFILESWriteConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03A1FC0EB7500D6E69B /* DBFILESWriteConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB691FC0EB7300D6E69B /* DBFILESWriteConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03B1FC0EB7500D6E69B /* DBFILESWriteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6A1FC0EB7300D6E69B /* DBFILESWriteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03C1FC0EB7500D6E69B /* DBFILESWriteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6A1FC0EB7300D6E69B /* DBFILESWriteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03D1FC0EB7500D6E69B /* DBFILESWriteMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6B1FC0EB7300D6E69B /* DBFILESWriteMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03E1FC0EB7500D6E69B /* DBFILESWriteMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6B1FC0EB7300D6E69B /* DBFILESWriteMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F03F1FC0EB7500D6E69B /* DBPaperObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EB6D1FC0EB7300D6E69B /* DBPaperObjects.m */; }; - F292F0401FC0EB7500D6E69B /* DBPaperObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EB6D1FC0EB7300D6E69B /* DBPaperObjects.m */; }; - F292F0411FC0EB7500D6E69B /* DBPAPERAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6F1FC0EB7300D6E69B /* DBPAPERAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0421FC0EB7500D6E69B /* DBPAPERAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB6F1FC0EB7300D6E69B /* DBPAPERAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0431FC0EB7500D6E69B /* DBPAPERAddPaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB701FC0EB7300D6E69B /* DBPAPERAddPaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0441FC0EB7500D6E69B /* DBPAPERAddPaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB701FC0EB7300D6E69B /* DBPAPERAddPaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0451FC0EB7500D6E69B /* DBPAPERAddPaperDocUserMemberResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB711FC0EB7300D6E69B /* DBPAPERAddPaperDocUserMemberResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0461FC0EB7500D6E69B /* DBPAPERAddPaperDocUserMemberResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB711FC0EB7300D6E69B /* DBPAPERAddPaperDocUserMemberResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0471FC0EB7500D6E69B /* DBPAPERAddPaperDocUserResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB721FC0EB7300D6E69B /* DBPAPERAddPaperDocUserResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0481FC0EB7500D6E69B /* DBPAPERAddPaperDocUserResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB721FC0EB7300D6E69B /* DBPAPERAddPaperDocUserResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0491FC0EB7500D6E69B /* DBPAPERCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB731FC0EB7300D6E69B /* DBPAPERCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04A1FC0EB7500D6E69B /* DBPAPERCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB731FC0EB7300D6E69B /* DBPAPERCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04B1FC0EB7500D6E69B /* DBPAPERDocLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB741FC0EB7300D6E69B /* DBPAPERDocLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04C1FC0EB7500D6E69B /* DBPAPERDocLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB741FC0EB7300D6E69B /* DBPAPERDocLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04D1FC0EB7500D6E69B /* DBPAPERDocSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB751FC0EB7300D6E69B /* DBPAPERDocSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04E1FC0EB7500D6E69B /* DBPAPERDocSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB751FC0EB7300D6E69B /* DBPAPERDocSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F04F1FC0EB7500D6E69B /* DBPAPERExportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB761FC0EB7300D6E69B /* DBPAPERExportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0501FC0EB7500D6E69B /* DBPAPERExportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB761FC0EB7300D6E69B /* DBPAPERExportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0511FC0EB7500D6E69B /* DBPAPERFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB771FC0EB7300D6E69B /* DBPAPERFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0521FC0EB7500D6E69B /* DBPAPERFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB771FC0EB7300D6E69B /* DBPAPERFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0531FC0EB7500D6E69B /* DBPAPERFoldersContainingPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB781FC0EB7300D6E69B /* DBPAPERFoldersContainingPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0541FC0EB7500D6E69B /* DBPAPERFoldersContainingPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB781FC0EB7300D6E69B /* DBPAPERFoldersContainingPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0551FC0EB7500D6E69B /* DBPAPERFolderSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB791FC0EB7300D6E69B /* DBPAPERFolderSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0561FC0EB7500D6E69B /* DBPAPERFolderSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB791FC0EB7300D6E69B /* DBPAPERFolderSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0571FC0EB7500D6E69B /* DBPAPERFolderSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7A1FC0EB7300D6E69B /* DBPAPERFolderSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0581FC0EB7500D6E69B /* DBPAPERFolderSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7A1FC0EB7300D6E69B /* DBPAPERFolderSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0591FC0EB7500D6E69B /* DBPAPERImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7B1FC0EB7300D6E69B /* DBPAPERImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05A1FC0EB7500D6E69B /* DBPAPERImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7B1FC0EB7300D6E69B /* DBPAPERImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05B1FC0EB7500D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7C1FC0EB7300D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05C1FC0EB7500D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7C1FC0EB7300D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05D1FC0EB7500D6E69B /* DBPAPERListDocsCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7D1FC0EB7300D6E69B /* DBPAPERListDocsCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05E1FC0EB7500D6E69B /* DBPAPERListDocsCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7D1FC0EB7300D6E69B /* DBPAPERListDocsCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F05F1FC0EB7500D6E69B /* DBPAPERListPaperDocsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7E1FC0EB7300D6E69B /* DBPAPERListPaperDocsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0601FC0EB7500D6E69B /* DBPAPERListPaperDocsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7E1FC0EB7300D6E69B /* DBPAPERListPaperDocsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0611FC0EB7500D6E69B /* DBPAPERListPaperDocsContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7F1FC0EB7300D6E69B /* DBPAPERListPaperDocsContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0621FC0EB7500D6E69B /* DBPAPERListPaperDocsContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB7F1FC0EB7300D6E69B /* DBPAPERListPaperDocsContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0631FC0EB7500D6E69B /* DBPAPERListPaperDocsFilterBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB801FC0EB7300D6E69B /* DBPAPERListPaperDocsFilterBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0641FC0EB7500D6E69B /* DBPAPERListPaperDocsFilterBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB801FC0EB7300D6E69B /* DBPAPERListPaperDocsFilterBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0651FC0EB7500D6E69B /* DBPAPERListPaperDocsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB811FC0EB7300D6E69B /* DBPAPERListPaperDocsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0661FC0EB7500D6E69B /* DBPAPERListPaperDocsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB811FC0EB7300D6E69B /* DBPAPERListPaperDocsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0671FC0EB7500D6E69B /* DBPAPERListPaperDocsSortBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB821FC0EB7300D6E69B /* DBPAPERListPaperDocsSortBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0681FC0EB7500D6E69B /* DBPAPERListPaperDocsSortBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB821FC0EB7300D6E69B /* DBPAPERListPaperDocsSortBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0691FC0EB7500D6E69B /* DBPAPERListPaperDocsSortOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB831FC0EB7300D6E69B /* DBPAPERListPaperDocsSortOrder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06A1FC0EB7500D6E69B /* DBPAPERListPaperDocsSortOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB831FC0EB7300D6E69B /* DBPAPERListPaperDocsSortOrder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06B1FC0EB7500D6E69B /* DBPAPERListUsersCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB841FC0EB7300D6E69B /* DBPAPERListUsersCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06C1FC0EB7500D6E69B /* DBPAPERListUsersCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB841FC0EB7300D6E69B /* DBPAPERListUsersCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06D1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB851FC0EB7300D6E69B /* DBPAPERListUsersOnFolderArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06E1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB851FC0EB7300D6E69B /* DBPAPERListUsersOnFolderArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F06F1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB861FC0EB7300D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0701FC0EB7500D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB861FC0EB7300D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0711FC0EB7500D6E69B /* DBPAPERListUsersOnFolderResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB871FC0EB7300D6E69B /* DBPAPERListUsersOnFolderResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0721FC0EB7500D6E69B /* DBPAPERListUsersOnFolderResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB871FC0EB7300D6E69B /* DBPAPERListUsersOnFolderResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0731FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB881FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0741FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB881FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0751FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB891FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0761FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB891FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0771FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8A1FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0781FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8A1FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0791FC0EB7500D6E69B /* DBPAPERPaperApiBaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8B1FC0EB7300D6E69B /* DBPAPERPaperApiBaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07A1FC0EB7500D6E69B /* DBPAPERPaperApiBaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8B1FC0EB7300D6E69B /* DBPAPERPaperApiBaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07B1FC0EB7500D6E69B /* DBPAPERPaperApiCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8C1FC0EB7300D6E69B /* DBPAPERPaperApiCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07C1FC0EB7500D6E69B /* DBPAPERPaperApiCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8C1FC0EB7300D6E69B /* DBPAPERPaperApiCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07D1FC0EB7500D6E69B /* DBPAPERPaperDocCreateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8D1FC0EB7300D6E69B /* DBPAPERPaperDocCreateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07E1FC0EB7500D6E69B /* DBPAPERPaperDocCreateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8D1FC0EB7300D6E69B /* DBPAPERPaperDocCreateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F07F1FC0EB7500D6E69B /* DBPAPERPaperDocCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8E1FC0EB7300D6E69B /* DBPAPERPaperDocCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0801FC0EB7500D6E69B /* DBPAPERPaperDocCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8E1FC0EB7300D6E69B /* DBPAPERPaperDocCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0811FC0EB7500D6E69B /* DBPAPERPaperDocCreateUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8F1FC0EB7300D6E69B /* DBPAPERPaperDocCreateUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0821FC0EB7500D6E69B /* DBPAPERPaperDocCreateUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB8F1FC0EB7300D6E69B /* DBPAPERPaperDocCreateUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0831FC0EB7500D6E69B /* DBPAPERPaperDocExport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB901FC0EB7300D6E69B /* DBPAPERPaperDocExport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0841FC0EB7500D6E69B /* DBPAPERPaperDocExport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB901FC0EB7300D6E69B /* DBPAPERPaperDocExport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0851FC0EB7500D6E69B /* DBPAPERPaperDocExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB911FC0EB7300D6E69B /* DBPAPERPaperDocExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0861FC0EB7500D6E69B /* DBPAPERPaperDocExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB911FC0EB7300D6E69B /* DBPAPERPaperDocExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0871FC0EB7500D6E69B /* DBPAPERPaperDocPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB921FC0EB7300D6E69B /* DBPAPERPaperDocPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0881FC0EB7500D6E69B /* DBPAPERPaperDocPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB921FC0EB7300D6E69B /* DBPAPERPaperDocPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0891FC0EB7500D6E69B /* DBPAPERPaperDocSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB931FC0EB7300D6E69B /* DBPAPERPaperDocSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08A1FC0EB7500D6E69B /* DBPAPERPaperDocSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB931FC0EB7300D6E69B /* DBPAPERPaperDocSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08B1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB941FC0EB7300D6E69B /* DBPAPERPaperDocUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08C1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB941FC0EB7300D6E69B /* DBPAPERPaperDocUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08D1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB951FC0EB7300D6E69B /* DBPAPERPaperDocUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08E1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB951FC0EB7300D6E69B /* DBPAPERPaperDocUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F08F1FC0EB7500D6E69B /* DBPAPERPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB961FC0EB7300D6E69B /* DBPAPERPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0901FC0EB7500D6E69B /* DBPAPERPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB961FC0EB7300D6E69B /* DBPAPERPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0911FC0EB7500D6E69B /* DBPAPERRefPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB971FC0EB7300D6E69B /* DBPAPERRefPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0921FC0EB7500D6E69B /* DBPAPERRefPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB971FC0EB7300D6E69B /* DBPAPERRefPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0931FC0EB7500D6E69B /* DBPAPERRemovePaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB981FC0EB7300D6E69B /* DBPAPERRemovePaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0941FC0EB7500D6E69B /* DBPAPERRemovePaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB981FC0EB7300D6E69B /* DBPAPERRemovePaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0951FC0EB7500D6E69B /* DBPAPERSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB991FC0EB7300D6E69B /* DBPAPERSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0961FC0EB7500D6E69B /* DBPAPERSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB991FC0EB7300D6E69B /* DBPAPERSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0971FC0EB7500D6E69B /* DBPAPERSharingPublicPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9A1FC0EB7300D6E69B /* DBPAPERSharingPublicPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0981FC0EB7500D6E69B /* DBPAPERSharingPublicPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9A1FC0EB7300D6E69B /* DBPAPERSharingPublicPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0991FC0EB7500D6E69B /* DBPAPERSharingTeamPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9B1FC0EB7300D6E69B /* DBPAPERSharingTeamPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09A1FC0EB7500D6E69B /* DBPAPERSharingTeamPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9B1FC0EB7300D6E69B /* DBPAPERSharingTeamPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09B1FC0EB7500D6E69B /* DBPAPERUserInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9C1FC0EB7300D6E69B /* DBPAPERUserInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09C1FC0EB7500D6E69B /* DBPAPERUserInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9C1FC0EB7300D6E69B /* DBPAPERUserInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09D1FC0EB7500D6E69B /* DBPAPERUserOnPaperDocFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9D1FC0EB7300D6E69B /* DBPAPERUserOnPaperDocFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09E1FC0EB7500D6E69B /* DBPAPERUserOnPaperDocFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EB9D1FC0EB7300D6E69B /* DBPAPERUserOnPaperDocFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F09F1FC0EB7500D6E69B /* DBSharingObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EB9F1FC0EB7300D6E69B /* DBSharingObjects.m */; }; - F292F0A01FC0EB7500D6E69B /* DBSharingObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EB9F1FC0EB7300D6E69B /* DBSharingObjects.m */; }; - F292F0A11FC0EB7500D6E69B /* DBSHARINGAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA11FC0EB7300D6E69B /* DBSHARINGAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A21FC0EB7500D6E69B /* DBSHARINGAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA11FC0EB7300D6E69B /* DBSHARINGAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A31FC0EB7500D6E69B /* DBSHARINGAclUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA21FC0EB7300D6E69B /* DBSHARINGAclUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A41FC0EB7500D6E69B /* DBSHARINGAclUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA21FC0EB7300D6E69B /* DBSHARINGAclUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A51FC0EB7500D6E69B /* DBSHARINGAddFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA31FC0EB7300D6E69B /* DBSHARINGAddFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A61FC0EB7500D6E69B /* DBSHARINGAddFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA31FC0EB7300D6E69B /* DBSHARINGAddFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A71FC0EB7500D6E69B /* DBSHARINGAddFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA41FC0EB7300D6E69B /* DBSHARINGAddFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A81FC0EB7500D6E69B /* DBSHARINGAddFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA41FC0EB7300D6E69B /* DBSHARINGAddFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0A91FC0EB7500D6E69B /* DBSHARINGAddFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA51FC0EB7300D6E69B /* DBSHARINGAddFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AA1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA51FC0EB7300D6E69B /* DBSHARINGAddFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AB1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA61FC0EB7300D6E69B /* DBSHARINGAddFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AC1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA61FC0EB7300D6E69B /* DBSHARINGAddFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AD1FC0EB7500D6E69B /* DBSHARINGAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA71FC0EB7300D6E69B /* DBSHARINGAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AE1FC0EB7500D6E69B /* DBSHARINGAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA71FC0EB7300D6E69B /* DBSHARINGAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0AF1FC0EB7500D6E69B /* DBSHARINGAddMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA81FC0EB7300D6E69B /* DBSHARINGAddMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B01FC0EB7500D6E69B /* DBSHARINGAddMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA81FC0EB7300D6E69B /* DBSHARINGAddMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B11FC0EB7500D6E69B /* DBSHARINGAudienceExceptionContentInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA91FC0EB7300D6E69B /* DBSHARINGAudienceExceptionContentInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B21FC0EB7500D6E69B /* DBSHARINGAudienceExceptionContentInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBA91FC0EB7300D6E69B /* DBSHARINGAudienceExceptionContentInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B31FC0EB7500D6E69B /* DBSHARINGAudienceExceptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAA1FC0EB7300D6E69B /* DBSHARINGAudienceExceptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B41FC0EB7500D6E69B /* DBSHARINGAudienceExceptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAA1FC0EB7300D6E69B /* DBSHARINGAudienceExceptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B51FC0EB7500D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAB1FC0EB7300D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B61FC0EB7500D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAB1FC0EB7300D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B71FC0EB7500D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAC1FC0EB7300D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B81FC0EB7500D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAC1FC0EB7300D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0B91FC0EB7500D6E69B /* DBSHARINGCollectionLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAD1FC0EB7300D6E69B /* DBSHARINGCollectionLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BA1FC0EB7500D6E69B /* DBSHARINGCollectionLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAD1FC0EB7300D6E69B /* DBSHARINGCollectionLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BB1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAE1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BC1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAE1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BD1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAF1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BE1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBAF1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0BF1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB01FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C01FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB01FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C11FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB11FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C21FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB11FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C31FC0EB7500D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB21FC0EB7300D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C41FC0EB7500D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB21FC0EB7300D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C51FC0EB7500D6E69B /* DBSHARINGFileAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB31FC0EB7300D6E69B /* DBSHARINGFileAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C61FC0EB7500D6E69B /* DBSHARINGFileAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB31FC0EB7300D6E69B /* DBSHARINGFileAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C71FC0EB7500D6E69B /* DBSHARINGFileErrorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB41FC0EB7300D6E69B /* DBSHARINGFileErrorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C81FC0EB7500D6E69B /* DBSHARINGFileErrorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB41FC0EB7300D6E69B /* DBSHARINGFileErrorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0C91FC0EB7500D6E69B /* DBSHARINGFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB51FC0EB7300D6E69B /* DBSHARINGFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CA1FC0EB7500D6E69B /* DBSHARINGFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB51FC0EB7300D6E69B /* DBSHARINGFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CB1FC0EB7500D6E69B /* DBSHARINGFileMemberActionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB61FC0EB7300D6E69B /* DBSHARINGFileMemberActionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CC1FC0EB7500D6E69B /* DBSHARINGFileMemberActionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB61FC0EB7300D6E69B /* DBSHARINGFileMemberActionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CD1FC0EB7500D6E69B /* DBSHARINGFileMemberActionIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB71FC0EB7300D6E69B /* DBSHARINGFileMemberActionIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CE1FC0EB7500D6E69B /* DBSHARINGFileMemberActionIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB71FC0EB7300D6E69B /* DBSHARINGFileMemberActionIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0CF1FC0EB7500D6E69B /* DBSHARINGFileMemberActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB81FC0EB7300D6E69B /* DBSHARINGFileMemberActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D01FC0EB7500D6E69B /* DBSHARINGFileMemberActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB81FC0EB7300D6E69B /* DBSHARINGFileMemberActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D11FC0EB7500D6E69B /* DBSHARINGFileMemberRemoveActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB91FC0EB7300D6E69B /* DBSHARINGFileMemberRemoveActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D21FC0EB7500D6E69B /* DBSHARINGFileMemberRemoveActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBB91FC0EB7300D6E69B /* DBSHARINGFileMemberRemoveActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D31FC0EB7500D6E69B /* DBSHARINGFilePermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBA1FC0EB7300D6E69B /* DBSHARINGFilePermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D41FC0EB7500D6E69B /* DBSHARINGFilePermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBA1FC0EB7300D6E69B /* DBSHARINGFilePermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D51FC0EB7500D6E69B /* DBSHARINGFolderAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBB1FC0EB7300D6E69B /* DBSHARINGFolderAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D61FC0EB7500D6E69B /* DBSHARINGFolderAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBB1FC0EB7300D6E69B /* DBSHARINGFolderAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D71FC0EB7500D6E69B /* DBSHARINGFolderLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBC1FC0EB7300D6E69B /* DBSHARINGFolderLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D81FC0EB7500D6E69B /* DBSHARINGFolderLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBC1FC0EB7300D6E69B /* DBSHARINGFolderLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0D91FC0EB7500D6E69B /* DBSHARINGFolderPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBD1FC0EB7300D6E69B /* DBSHARINGFolderPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DA1FC0EB7500D6E69B /* DBSHARINGFolderPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBD1FC0EB7300D6E69B /* DBSHARINGFolderPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DB1FC0EB7500D6E69B /* DBSHARINGFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBE1FC0EB7300D6E69B /* DBSHARINGFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DC1FC0EB7500D6E69B /* DBSHARINGFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBE1FC0EB7300D6E69B /* DBSHARINGFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DD1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBF1FC0EB7300D6E69B /* DBSHARINGGetFileMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DE1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBBF1FC0EB7300D6E69B /* DBSHARINGGetFileMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0DF1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC01FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E01FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC01FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E11FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC11FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E21FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC11FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E31FC0EB7500D6E69B /* DBSHARINGGetFileMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC21FC0EB7300D6E69B /* DBSHARINGGetFileMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E41FC0EB7500D6E69B /* DBSHARINGGetFileMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC21FC0EB7300D6E69B /* DBSHARINGGetFileMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E51FC0EB7500D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC31FC0EB7300D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E61FC0EB7500D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC31FC0EB7300D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E71FC0EB7500D6E69B /* DBSHARINGGetMetadataArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC41FC0EB7300D6E69B /* DBSHARINGGetMetadataArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E81FC0EB7500D6E69B /* DBSHARINGGetMetadataArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC41FC0EB7300D6E69B /* DBSHARINGGetMetadataArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0E91FC0EB7500D6E69B /* DBSHARINGGetSharedLinkFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC51FC0EB7300D6E69B /* DBSHARINGGetSharedLinkFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0EA1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC51FC0EB7300D6E69B /* DBSHARINGGetSharedLinkFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0EB1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC61FC0EB7300D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0EC1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC61FC0EB7300D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0ED1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC71FC0EB7300D6E69B /* DBSHARINGGetSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0EE1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC71FC0EB7300D6E69B /* DBSHARINGGetSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0EF1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC81FC0EB7300D6E69B /* DBSHARINGGetSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F01FC0EB7500D6E69B /* DBSHARINGGetSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC81FC0EB7300D6E69B /* DBSHARINGGetSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F11FC0EB7500D6E69B /* DBSHARINGGetSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC91FC0EB7300D6E69B /* DBSHARINGGetSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F21FC0EB7500D6E69B /* DBSHARINGGetSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBC91FC0EB7300D6E69B /* DBSHARINGGetSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F31FC0EB7500D6E69B /* DBSHARINGGroupInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCA1FC0EB7300D6E69B /* DBSHARINGGroupInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F41FC0EB7500D6E69B /* DBSHARINGGroupInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCA1FC0EB7300D6E69B /* DBSHARINGGroupInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F51FC0EB7500D6E69B /* DBSHARINGGroupMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCB1FC0EB7300D6E69B /* DBSHARINGGroupMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F61FC0EB7500D6E69B /* DBSHARINGGroupMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCB1FC0EB7300D6E69B /* DBSHARINGGroupMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F71FC0EB7500D6E69B /* DBSHARINGInsufficientPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCC1FC0EB7300D6E69B /* DBSHARINGInsufficientPlan.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F81FC0EB7500D6E69B /* DBSHARINGInsufficientPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCC1FC0EB7300D6E69B /* DBSHARINGInsufficientPlan.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0F91FC0EB7500D6E69B /* DBSHARINGInsufficientQuotaAmounts.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCD1FC0EB7300D6E69B /* DBSHARINGInsufficientQuotaAmounts.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FA1FC0EB7500D6E69B /* DBSHARINGInsufficientQuotaAmounts.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCD1FC0EB7300D6E69B /* DBSHARINGInsufficientQuotaAmounts.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FB1FC0EB7500D6E69B /* DBSHARINGInviteeInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCE1FC0EB7300D6E69B /* DBSHARINGInviteeInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FC1FC0EB7500D6E69B /* DBSHARINGInviteeInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCE1FC0EB7300D6E69B /* DBSHARINGInviteeInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FD1FC0EB7500D6E69B /* DBSHARINGInviteeMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCF1FC0EB7300D6E69B /* DBSHARINGInviteeMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FE1FC0EB7500D6E69B /* DBSHARINGInviteeMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBCF1FC0EB7300D6E69B /* DBSHARINGInviteeMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F0FF1FC0EB7500D6E69B /* DBSHARINGJobError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD01FC0EB7300D6E69B /* DBSHARINGJobError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1001FC0EB7500D6E69B /* DBSHARINGJobError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD01FC0EB7300D6E69B /* DBSHARINGJobError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1011FC0EB7500D6E69B /* DBSHARINGJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD11FC0EB7300D6E69B /* DBSHARINGJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1021FC0EB7500D6E69B /* DBSHARINGJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD11FC0EB7300D6E69B /* DBSHARINGJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1031FC0EB7500D6E69B /* DBSHARINGLinkAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD21FC0EB7300D6E69B /* DBSHARINGLinkAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1041FC0EB7500D6E69B /* DBSHARINGLinkAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD21FC0EB7300D6E69B /* DBSHARINGLinkAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1051FC0EB7500D6E69B /* DBSHARINGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD31FC0EB7300D6E69B /* DBSHARINGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1061FC0EB7500D6E69B /* DBSHARINGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD31FC0EB7300D6E69B /* DBSHARINGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1071FC0EB7500D6E69B /* DBSHARINGLinkExpiry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD41FC0EB7300D6E69B /* DBSHARINGLinkExpiry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1081FC0EB7500D6E69B /* DBSHARINGLinkExpiry.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD41FC0EB7300D6E69B /* DBSHARINGLinkExpiry.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1091FC0EB7500D6E69B /* DBSHARINGLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD51FC0EB7300D6E69B /* DBSHARINGLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10A1FC0EB7500D6E69B /* DBSHARINGLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD51FC0EB7300D6E69B /* DBSHARINGLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10B1FC0EB7500D6E69B /* DBSHARINGLinkPassword.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD61FC0EB7300D6E69B /* DBSHARINGLinkPassword.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10C1FC0EB7500D6E69B /* DBSHARINGLinkPassword.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD61FC0EB7300D6E69B /* DBSHARINGLinkPassword.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10D1FC0EB7500D6E69B /* DBSHARINGLinkPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD71FC0EB7300D6E69B /* DBSHARINGLinkPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10E1FC0EB7500D6E69B /* DBSHARINGLinkPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD71FC0EB7300D6E69B /* DBSHARINGLinkPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F10F1FC0EB7500D6E69B /* DBSHARINGLinkPermissions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD81FC0EB7300D6E69B /* DBSHARINGLinkPermissions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1101FC0EB7500D6E69B /* DBSHARINGLinkPermissions.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD81FC0EB7300D6E69B /* DBSHARINGLinkPermissions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1111FC0EB7500D6E69B /* DBSHARINGLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD91FC0EB7300D6E69B /* DBSHARINGLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1121FC0EB7500D6E69B /* DBSHARINGLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBD91FC0EB7300D6E69B /* DBSHARINGLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1131FC0EB7500D6E69B /* DBSHARINGListFileMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDA1FC0EB7300D6E69B /* DBSHARINGListFileMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1141FC0EB7500D6E69B /* DBSHARINGListFileMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDA1FC0EB7300D6E69B /* DBSHARINGListFileMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1151FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDB1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1161FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDB1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1171FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDC1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1181FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDC1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1191FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDD1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11A1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDD1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11B1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDE1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11C1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDE1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11D1FC0EB7500D6E69B /* DBSHARINGListFileMembersCountResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDF1FC0EB7300D6E69B /* DBSHARINGListFileMembersCountResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11E1FC0EB7500D6E69B /* DBSHARINGListFileMembersCountResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBDF1FC0EB7300D6E69B /* DBSHARINGListFileMembersCountResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F11F1FC0EB7500D6E69B /* DBSHARINGListFileMembersError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE01FC0EB7300D6E69B /* DBSHARINGListFileMembersError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1201FC0EB7500D6E69B /* DBSHARINGListFileMembersError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE01FC0EB7300D6E69B /* DBSHARINGListFileMembersError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1211FC0EB7500D6E69B /* DBSHARINGListFileMembersIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE11FC0EB7300D6E69B /* DBSHARINGListFileMembersIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1221FC0EB7500D6E69B /* DBSHARINGListFileMembersIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE11FC0EB7300D6E69B /* DBSHARINGListFileMembersIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1231FC0EB7500D6E69B /* DBSHARINGListFilesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE21FC0EB7300D6E69B /* DBSHARINGListFilesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1241FC0EB7500D6E69B /* DBSHARINGListFilesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE21FC0EB7300D6E69B /* DBSHARINGListFilesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1251FC0EB7500D6E69B /* DBSHARINGListFilesContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE31FC0EB7300D6E69B /* DBSHARINGListFilesContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1261FC0EB7500D6E69B /* DBSHARINGListFilesContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE31FC0EB7300D6E69B /* DBSHARINGListFilesContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1271FC0EB7500D6E69B /* DBSHARINGListFilesContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE41FC0EB7300D6E69B /* DBSHARINGListFilesContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1281FC0EB7500D6E69B /* DBSHARINGListFilesContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE41FC0EB7300D6E69B /* DBSHARINGListFilesContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1291FC0EB7500D6E69B /* DBSHARINGListFilesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE51FC0EB7300D6E69B /* DBSHARINGListFilesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12A1FC0EB7500D6E69B /* DBSHARINGListFilesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE51FC0EB7300D6E69B /* DBSHARINGListFilesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12B1FC0EB7500D6E69B /* DBSHARINGListFolderMembersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE61FC0EB7300D6E69B /* DBSHARINGListFolderMembersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12C1FC0EB7500D6E69B /* DBSHARINGListFolderMembersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE61FC0EB7300D6E69B /* DBSHARINGListFolderMembersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12D1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE71FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12E1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE71FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F12F1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE81FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1301FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE81FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1311FC0EB7500D6E69B /* DBSHARINGListFolderMembersCursorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE91FC0EB7300D6E69B /* DBSHARINGListFolderMembersCursorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1321FC0EB7500D6E69B /* DBSHARINGListFolderMembersCursorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBE91FC0EB7300D6E69B /* DBSHARINGListFolderMembersCursorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1331FC0EB7500D6E69B /* DBSHARINGListFoldersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEA1FC0EB7300D6E69B /* DBSHARINGListFoldersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1341FC0EB7500D6E69B /* DBSHARINGListFoldersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEA1FC0EB7300D6E69B /* DBSHARINGListFoldersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1351FC0EB7500D6E69B /* DBSHARINGListFoldersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEB1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1361FC0EB7500D6E69B /* DBSHARINGListFoldersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEB1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1371FC0EB7500D6E69B /* DBSHARINGListFoldersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEC1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1381FC0EB7500D6E69B /* DBSHARINGListFoldersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEC1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1391FC0EB7500D6E69B /* DBSHARINGListFoldersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBED1FC0EB7300D6E69B /* DBSHARINGListFoldersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13A1FC0EB7500D6E69B /* DBSHARINGListFoldersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBED1FC0EB7300D6E69B /* DBSHARINGListFoldersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13B1FC0EB7500D6E69B /* DBSHARINGListSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEE1FC0EB7300D6E69B /* DBSHARINGListSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13C1FC0EB7500D6E69B /* DBSHARINGListSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEE1FC0EB7300D6E69B /* DBSHARINGListSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13D1FC0EB7500D6E69B /* DBSHARINGListSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEF1FC0EB7300D6E69B /* DBSHARINGListSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13E1FC0EB7500D6E69B /* DBSHARINGListSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBEF1FC0EB7300D6E69B /* DBSHARINGListSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F13F1FC0EB7500D6E69B /* DBSHARINGListSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF01FC0EB7300D6E69B /* DBSHARINGListSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1401FC0EB7500D6E69B /* DBSHARINGListSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF01FC0EB7300D6E69B /* DBSHARINGListSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1411FC0EB7500D6E69B /* DBSHARINGMemberAccessLevelResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF11FC0EB7300D6E69B /* DBSHARINGMemberAccessLevelResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1421FC0EB7500D6E69B /* DBSHARINGMemberAccessLevelResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF11FC0EB7300D6E69B /* DBSHARINGMemberAccessLevelResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1431FC0EB7500D6E69B /* DBSHARINGMemberAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF21FC0EB7300D6E69B /* DBSHARINGMemberAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1441FC0EB7500D6E69B /* DBSHARINGMemberAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF21FC0EB7300D6E69B /* DBSHARINGMemberAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1451FC0EB7500D6E69B /* DBSHARINGMemberPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF31FC0EB7300D6E69B /* DBSHARINGMemberPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1461FC0EB7500D6E69B /* DBSHARINGMemberPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF31FC0EB7300D6E69B /* DBSHARINGMemberPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1471FC0EB7500D6E69B /* DBSHARINGMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF41FC0EB7300D6E69B /* DBSHARINGMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1481FC0EB7500D6E69B /* DBSHARINGMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF41FC0EB7300D6E69B /* DBSHARINGMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1491FC0EB7500D6E69B /* DBSHARINGMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF51FC0EB7300D6E69B /* DBSHARINGMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14A1FC0EB7500D6E69B /* DBSHARINGMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF51FC0EB7300D6E69B /* DBSHARINGMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14B1FC0EB7500D6E69B /* DBSHARINGMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF61FC0EB7300D6E69B /* DBSHARINGMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14C1FC0EB7500D6E69B /* DBSHARINGMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF61FC0EB7300D6E69B /* DBSHARINGMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14D1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF71FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14E1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF71FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F14F1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF81FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1501FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF81FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1511FC0EB7500D6E69B /* DBSHARINGMountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF91FC0EB7300D6E69B /* DBSHARINGMountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1521FC0EB7500D6E69B /* DBSHARINGMountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBF91FC0EB7300D6E69B /* DBSHARINGMountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1531FC0EB7500D6E69B /* DBSHARINGMountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFA1FC0EB7300D6E69B /* DBSHARINGMountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1541FC0EB7500D6E69B /* DBSHARINGMountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFA1FC0EB7300D6E69B /* DBSHARINGMountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1551FC0EB7500D6E69B /* DBSHARINGParentFolderAccessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFB1FC0EB7300D6E69B /* DBSHARINGParentFolderAccessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1561FC0EB7500D6E69B /* DBSHARINGParentFolderAccessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFB1FC0EB7300D6E69B /* DBSHARINGParentFolderAccessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1571FC0EB7500D6E69B /* DBSHARINGPathLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFC1FC0EB7300D6E69B /* DBSHARINGPathLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1581FC0EB7500D6E69B /* DBSHARINGPathLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFC1FC0EB7300D6E69B /* DBSHARINGPathLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1591FC0EB7500D6E69B /* DBSHARINGPendingUploadMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFD1FC0EB7300D6E69B /* DBSHARINGPendingUploadMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15A1FC0EB7500D6E69B /* DBSHARINGPendingUploadMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFD1FC0EB7300D6E69B /* DBSHARINGPendingUploadMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15B1FC0EB7500D6E69B /* DBSHARINGPermissionDeniedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFE1FC0EB7300D6E69B /* DBSHARINGPermissionDeniedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15C1FC0EB7500D6E69B /* DBSHARINGPermissionDeniedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFE1FC0EB7300D6E69B /* DBSHARINGPermissionDeniedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15D1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFF1FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15E1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EBFF1FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F15F1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC001FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1601FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC001FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1611FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC011FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1621FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC011FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1631FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC021FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1641FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC021FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1651FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC031FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1661FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC031FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1671FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC041FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1681FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC041FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1691FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC051FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16A1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC051FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16B1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC061FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16C1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC061FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16D1FC0EB7500D6E69B /* DBSHARINGRemoveMemberJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC071FC0EB7300D6E69B /* DBSHARINGRemoveMemberJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16E1FC0EB7500D6E69B /* DBSHARINGRemoveMemberJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC071FC0EB7300D6E69B /* DBSHARINGRemoveMemberJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F16F1FC0EB7500D6E69B /* DBSHARINGRequestedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC081FC0EB7300D6E69B /* DBSHARINGRequestedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1701FC0EB7500D6E69B /* DBSHARINGRequestedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC081FC0EB7300D6E69B /* DBSHARINGRequestedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1711FC0EB7500D6E69B /* DBSHARINGResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC091FC0EB7300D6E69B /* DBSHARINGResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1721FC0EB7500D6E69B /* DBSHARINGResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC091FC0EB7300D6E69B /* DBSHARINGResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1731FC0EB7500D6E69B /* DBSHARINGRevokeSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0A1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1741FC0EB7500D6E69B /* DBSHARINGRevokeSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0A1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1751FC0EB7600D6E69B /* DBSHARINGRevokeSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0B1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1761FC0EB7600D6E69B /* DBSHARINGRevokeSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0B1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1771FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0C1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1781FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0C1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1791FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0D1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17A1FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0D1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17B1FC0EB7600D6E69B /* DBSHARINGSharedFileMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0E1FC0EB7300D6E69B /* DBSHARINGSharedFileMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17C1FC0EB7600D6E69B /* DBSHARINGSharedFileMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0E1FC0EB7300D6E69B /* DBSHARINGSharedFileMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17D1FC0EB7600D6E69B /* DBSHARINGSharedFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0F1FC0EB7300D6E69B /* DBSHARINGSharedFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17E1FC0EB7600D6E69B /* DBSHARINGSharedFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC0F1FC0EB7300D6E69B /* DBSHARINGSharedFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F17F1FC0EB7600D6E69B /* DBSHARINGSharedFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC101FC0EB7300D6E69B /* DBSHARINGSharedFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1801FC0EB7600D6E69B /* DBSHARINGSharedFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC101FC0EB7300D6E69B /* DBSHARINGSharedFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1811FC0EB7600D6E69B /* DBSHARINGSharedFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC111FC0EB7300D6E69B /* DBSHARINGSharedFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1821FC0EB7600D6E69B /* DBSHARINGSharedFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC111FC0EB7300D6E69B /* DBSHARINGSharedFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1831FC0EB7600D6E69B /* DBSHARINGSharedFolderMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC121FC0EB7300D6E69B /* DBSHARINGSharedFolderMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1841FC0EB7600D6E69B /* DBSHARINGSharedFolderMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC121FC0EB7300D6E69B /* DBSHARINGSharedFolderMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1851FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC131FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1861FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC131FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1871FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC141FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1881FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC141FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1891FC0EB7600D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC151FC0EB7300D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18A1FC0EB7600D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC151FC0EB7300D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18B1FC0EB7600D6E69B /* DBSHARINGSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC161FC0EB7300D6E69B /* DBSHARINGSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18C1FC0EB7600D6E69B /* DBSHARINGSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC161FC0EB7300D6E69B /* DBSHARINGSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18D1FC0EB7600D6E69B /* DBSHARINGSharedLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC171FC0EB7300D6E69B /* DBSHARINGSharedLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18E1FC0EB7600D6E69B /* DBSHARINGSharedLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC171FC0EB7300D6E69B /* DBSHARINGSharedLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F18F1FC0EB7600D6E69B /* DBSHARINGSharedLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC181FC0EB7300D6E69B /* DBSHARINGSharedLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1901FC0EB7600D6E69B /* DBSHARINGSharedLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC181FC0EB7300D6E69B /* DBSHARINGSharedLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1911FC0EB7600D6E69B /* DBSHARINGSharedLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC191FC0EB7300D6E69B /* DBSHARINGSharedLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1921FC0EB7600D6E69B /* DBSHARINGSharedLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC191FC0EB7300D6E69B /* DBSHARINGSharedLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1931FC0EB7600D6E69B /* DBSHARINGSharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1A1FC0EB7300D6E69B /* DBSHARINGSharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1941FC0EB7600D6E69B /* DBSHARINGSharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1A1FC0EB7300D6E69B /* DBSHARINGSharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1951FC0EB7600D6E69B /* DBSHARINGShareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1B1FC0EB7300D6E69B /* DBSHARINGShareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1961FC0EB7600D6E69B /* DBSHARINGShareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1B1FC0EB7300D6E69B /* DBSHARINGShareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1971FC0EB7600D6E69B /* DBSHARINGShareFolderArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1C1FC0EB7300D6E69B /* DBSHARINGShareFolderArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1981FC0EB7600D6E69B /* DBSHARINGShareFolderArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1C1FC0EB7300D6E69B /* DBSHARINGShareFolderArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1991FC0EB7600D6E69B /* DBSHARINGShareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1D1FC0EB7300D6E69B /* DBSHARINGShareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19A1FC0EB7600D6E69B /* DBSHARINGShareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1D1FC0EB7300D6E69B /* DBSHARINGShareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19B1FC0EB7600D6E69B /* DBSHARINGShareFolderErrorBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1E1FC0EB7300D6E69B /* DBSHARINGShareFolderErrorBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19C1FC0EB7600D6E69B /* DBSHARINGShareFolderErrorBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1E1FC0EB7300D6E69B /* DBSHARINGShareFolderErrorBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19D1FC0EB7600D6E69B /* DBSHARINGShareFolderJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1F1FC0EB7300D6E69B /* DBSHARINGShareFolderJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19E1FC0EB7600D6E69B /* DBSHARINGShareFolderJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC1F1FC0EB7300D6E69B /* DBSHARINGShareFolderJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F19F1FC0EB7600D6E69B /* DBSHARINGShareFolderLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC201FC0EB7300D6E69B /* DBSHARINGShareFolderLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A01FC0EB7600D6E69B /* DBSHARINGShareFolderLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC201FC0EB7300D6E69B /* DBSHARINGShareFolderLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A11FC0EB7600D6E69B /* DBSHARINGSharePathError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC211FC0EB7300D6E69B /* DBSHARINGSharePathError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A21FC0EB7600D6E69B /* DBSHARINGSharePathError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC211FC0EB7300D6E69B /* DBSHARINGSharePathError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A31FC0EB7600D6E69B /* DBSHARINGSharingFileAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC221FC0EB7300D6E69B /* DBSHARINGSharingFileAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A41FC0EB7600D6E69B /* DBSHARINGSharingFileAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC221FC0EB7300D6E69B /* DBSHARINGSharingFileAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A51FC0EB7600D6E69B /* DBSHARINGSharingUserError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC231FC0EB7300D6E69B /* DBSHARINGSharingUserError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A61FC0EB7600D6E69B /* DBSHARINGSharingUserError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC231FC0EB7300D6E69B /* DBSHARINGSharingUserError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A71FC0EB7600D6E69B /* DBSHARINGTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC241FC0EB7300D6E69B /* DBSHARINGTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A81FC0EB7600D6E69B /* DBSHARINGTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC241FC0EB7300D6E69B /* DBSHARINGTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1A91FC0EB7600D6E69B /* DBSHARINGTransferFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC251FC0EB7300D6E69B /* DBSHARINGTransferFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AA1FC0EB7600D6E69B /* DBSHARINGTransferFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC251FC0EB7300D6E69B /* DBSHARINGTransferFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AB1FC0EB7600D6E69B /* DBSHARINGTransferFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC261FC0EB7300D6E69B /* DBSHARINGTransferFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AC1FC0EB7600D6E69B /* DBSHARINGTransferFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC261FC0EB7300D6E69B /* DBSHARINGTransferFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AD1FC0EB7600D6E69B /* DBSHARINGUnmountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC271FC0EB7300D6E69B /* DBSHARINGUnmountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AE1FC0EB7600D6E69B /* DBSHARINGUnmountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC271FC0EB7300D6E69B /* DBSHARINGUnmountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1AF1FC0EB7600D6E69B /* DBSHARINGUnmountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC281FC0EB7300D6E69B /* DBSHARINGUnmountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B01FC0EB7600D6E69B /* DBSHARINGUnmountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC281FC0EB7300D6E69B /* DBSHARINGUnmountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B11FC0EB7600D6E69B /* DBSHARINGUnshareFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC291FC0EB7300D6E69B /* DBSHARINGUnshareFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B21FC0EB7600D6E69B /* DBSHARINGUnshareFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC291FC0EB7300D6E69B /* DBSHARINGUnshareFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B31FC0EB7600D6E69B /* DBSHARINGUnshareFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2A1FC0EB7300D6E69B /* DBSHARINGUnshareFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B41FC0EB7600D6E69B /* DBSHARINGUnshareFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2A1FC0EB7300D6E69B /* DBSHARINGUnshareFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B51FC0EB7600D6E69B /* DBSHARINGUnshareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2B1FC0EB7300D6E69B /* DBSHARINGUnshareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B61FC0EB7600D6E69B /* DBSHARINGUnshareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2B1FC0EB7300D6E69B /* DBSHARINGUnshareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B71FC0EB7600D6E69B /* DBSHARINGUnshareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2C1FC0EB7300D6E69B /* DBSHARINGUnshareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B81FC0EB7600D6E69B /* DBSHARINGUnshareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2C1FC0EB7300D6E69B /* DBSHARINGUnshareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1B91FC0EB7600D6E69B /* DBSHARINGUpdateFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2D1FC0EB7300D6E69B /* DBSHARINGUpdateFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BA1FC0EB7600D6E69B /* DBSHARINGUpdateFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2D1FC0EB7300D6E69B /* DBSHARINGUpdateFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BB1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2E1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BC1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2E1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BD1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2F1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BE1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC2F1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1BF1FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC301FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C01FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC301FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C11FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC311FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C21FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC311FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C31FC0EB7600D6E69B /* DBSHARINGUserFileMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC321FC0EB7300D6E69B /* DBSHARINGUserFileMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C41FC0EB7600D6E69B /* DBSHARINGUserFileMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC321FC0EB7300D6E69B /* DBSHARINGUserFileMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C51FC0EB7600D6E69B /* DBSHARINGUserInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC331FC0EB7300D6E69B /* DBSHARINGUserInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C61FC0EB7600D6E69B /* DBSHARINGUserInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC331FC0EB7300D6E69B /* DBSHARINGUserInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C71FC0EB7600D6E69B /* DBSHARINGUserMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC341FC0EB7300D6E69B /* DBSHARINGUserMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C81FC0EB7600D6E69B /* DBSHARINGUserMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC341FC0EB7300D6E69B /* DBSHARINGUserMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1C91FC0EB7600D6E69B /* DBSHARINGViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC351FC0EB7300D6E69B /* DBSHARINGViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1CA1FC0EB7600D6E69B /* DBSHARINGViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC351FC0EB7300D6E69B /* DBSHARINGViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1CB1FC0EB7600D6E69B /* DBSHARINGVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC361FC0EB7300D6E69B /* DBSHARINGVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1CC1FC0EB7600D6E69B /* DBSHARINGVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC361FC0EB7300D6E69B /* DBSHARINGVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1CD1FC0EB7600D6E69B /* DBTeamObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EC381FC0EB7300D6E69B /* DBTeamObjects.m */; }; - F292F1CE1FC0EB7600D6E69B /* DBTeamObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EC381FC0EB7300D6E69B /* DBTeamObjects.m */; }; - F292F1CF1FC0EB7600D6E69B /* DBTEAMActiveWebSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3A1FC0EB7300D6E69B /* DBTEAMActiveWebSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D01FC0EB7600D6E69B /* DBTEAMActiveWebSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3A1FC0EB7300D6E69B /* DBTEAMActiveWebSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D11FC0EB7600D6E69B /* DBTEAMAdminTier.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3B1FC0EB7300D6E69B /* DBTEAMAdminTier.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D21FC0EB7600D6E69B /* DBTEAMAdminTier.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3B1FC0EB7300D6E69B /* DBTEAMAdminTier.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D31FC0EB7600D6E69B /* DBTEAMApiApp.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3C1FC0EB7300D6E69B /* DBTEAMApiApp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D41FC0EB7600D6E69B /* DBTEAMApiApp.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3C1FC0EB7300D6E69B /* DBTEAMApiApp.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D51FC0EB7600D6E69B /* DBTEAMBaseDfbReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3D1FC0EB7300D6E69B /* DBTEAMBaseDfbReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D61FC0EB7600D6E69B /* DBTEAMBaseDfbReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3D1FC0EB7300D6E69B /* DBTEAMBaseDfbReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D71FC0EB7600D6E69B /* DBTEAMBaseTeamFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3E1FC0EB7300D6E69B /* DBTEAMBaseTeamFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D81FC0EB7600D6E69B /* DBTEAMBaseTeamFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3E1FC0EB7300D6E69B /* DBTEAMBaseTeamFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1D91FC0EB7600D6E69B /* DBTEAMCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3F1FC0EB7300D6E69B /* DBTEAMCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DA1FC0EB7600D6E69B /* DBTEAMCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC3F1FC0EB7300D6E69B /* DBTEAMCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DB1FC0EB7600D6E69B /* DBTEAMCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC401FC0EB7300D6E69B /* DBTEAMCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DC1FC0EB7600D6E69B /* DBTEAMCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC401FC0EB7300D6E69B /* DBTEAMCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DD1FC0EB7600D6E69B /* DBTEAMCustomQuotaUsersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC411FC0EB7300D6E69B /* DBTEAMCustomQuotaUsersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DE1FC0EB7600D6E69B /* DBTEAMCustomQuotaUsersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC411FC0EB7300D6E69B /* DBTEAMCustomQuotaUsersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1DF1FC0EB7600D6E69B /* DBTEAMDateRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC421FC0EB7300D6E69B /* DBTEAMDateRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E01FC0EB7600D6E69B /* DBTEAMDateRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC421FC0EB7300D6E69B /* DBTEAMDateRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E11FC0EB7600D6E69B /* DBTEAMDateRangeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC431FC0EB7300D6E69B /* DBTEAMDateRangeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E21FC0EB7600D6E69B /* DBTEAMDateRangeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC431FC0EB7300D6E69B /* DBTEAMDateRangeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E31FC0EB7600D6E69B /* DBTEAMDesktopClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC441FC0EB7300D6E69B /* DBTEAMDesktopClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E41FC0EB7600D6E69B /* DBTEAMDesktopClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC441FC0EB7300D6E69B /* DBTEAMDesktopClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E51FC0EB7600D6E69B /* DBTEAMDesktopPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC451FC0EB7300D6E69B /* DBTEAMDesktopPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E61FC0EB7600D6E69B /* DBTEAMDesktopPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC451FC0EB7300D6E69B /* DBTEAMDesktopPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E71FC0EB7600D6E69B /* DBTEAMDevicesActive.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC461FC0EB7300D6E69B /* DBTEAMDevicesActive.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E81FC0EB7600D6E69B /* DBTEAMDevicesActive.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC461FC0EB7300D6E69B /* DBTEAMDevicesActive.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1E91FC0EB7600D6E69B /* DBTEAMDeviceSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC471FC0EB7300D6E69B /* DBTEAMDeviceSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1EA1FC0EB7600D6E69B /* DBTEAMDeviceSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC471FC0EB7300D6E69B /* DBTEAMDeviceSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1EB1FC0EB7600D6E69B /* DBTEAMDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC481FC0EB7300D6E69B /* DBTEAMDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1EC1FC0EB7600D6E69B /* DBTEAMDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC481FC0EB7300D6E69B /* DBTEAMDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1ED1FC0EB7600D6E69B /* DBTEAMExcludedUsersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC491FC0EB7300D6E69B /* DBTEAMExcludedUsersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1EE1FC0EB7600D6E69B /* DBTEAMExcludedUsersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC491FC0EB7300D6E69B /* DBTEAMExcludedUsersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1EF1FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4A1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F01FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4A1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F11FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4B1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F21FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4B1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F31FC0EB7600D6E69B /* DBTEAMExcludedUsersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4C1FC0EB7300D6E69B /* DBTEAMExcludedUsersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F41FC0EB7600D6E69B /* DBTEAMExcludedUsersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4C1FC0EB7300D6E69B /* DBTEAMExcludedUsersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F51FC0EB7600D6E69B /* DBTEAMExcludedUsersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4D1FC0EB7300D6E69B /* DBTEAMExcludedUsersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F61FC0EB7600D6E69B /* DBTEAMExcludedUsersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4D1FC0EB7300D6E69B /* DBTEAMExcludedUsersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F71FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4E1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F81FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4E1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1F91FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4F1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FA1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC4F1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FB1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC501FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FC1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC501FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FD1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC511FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FE1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC511FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F1FF1FC0EB7600D6E69B /* DBTEAMFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC521FC0EB7300D6E69B /* DBTEAMFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2001FC0EB7600D6E69B /* DBTEAMFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC521FC0EB7300D6E69B /* DBTEAMFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2011FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC531FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2021FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC531FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2031FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC541FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2041FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC541FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2051FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC551FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2061FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC551FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2071FC0EB7600D6E69B /* DBTEAMFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC561FC0EB7300D6E69B /* DBTEAMFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2081FC0EB7600D6E69B /* DBTEAMFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC561FC0EB7300D6E69B /* DBTEAMFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2091FC0EB7600D6E69B /* DBTEAMGetActivityReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC571FC0EB7300D6E69B /* DBTEAMGetActivityReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20A1FC0EB7600D6E69B /* DBTEAMGetActivityReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC571FC0EB7300D6E69B /* DBTEAMGetActivityReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20B1FC0EB7600D6E69B /* DBTEAMGetDevicesReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC581FC0EB7300D6E69B /* DBTEAMGetDevicesReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20C1FC0EB7600D6E69B /* DBTEAMGetDevicesReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC581FC0EB7300D6E69B /* DBTEAMGetDevicesReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20D1FC0EB7600D6E69B /* DBTEAMGetMembershipReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC591FC0EB7300D6E69B /* DBTEAMGetMembershipReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20E1FC0EB7600D6E69B /* DBTEAMGetMembershipReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC591FC0EB7300D6E69B /* DBTEAMGetMembershipReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F20F1FC0EB7600D6E69B /* DBTEAMGetStorageReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5A1FC0EB7300D6E69B /* DBTEAMGetStorageReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2101FC0EB7600D6E69B /* DBTEAMGetStorageReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5A1FC0EB7300D6E69B /* DBTEAMGetStorageReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2111FC0EB7600D6E69B /* DBTEAMGroupAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5B1FC0EB7300D6E69B /* DBTEAMGroupAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2121FC0EB7600D6E69B /* DBTEAMGroupAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5B1FC0EB7300D6E69B /* DBTEAMGroupAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2131FC0EB7600D6E69B /* DBTEAMGroupCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5C1FC0EB7300D6E69B /* DBTEAMGroupCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2141FC0EB7600D6E69B /* DBTEAMGroupCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5C1FC0EB7300D6E69B /* DBTEAMGroupCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2151FC0EB7600D6E69B /* DBTEAMGroupCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5D1FC0EB7300D6E69B /* DBTEAMGroupCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2161FC0EB7600D6E69B /* DBTEAMGroupCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5D1FC0EB7300D6E69B /* DBTEAMGroupCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2171FC0EB7600D6E69B /* DBTEAMGroupDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5E1FC0EB7300D6E69B /* DBTEAMGroupDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2181FC0EB7600D6E69B /* DBTEAMGroupDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5E1FC0EB7300D6E69B /* DBTEAMGroupDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2191FC0EB7600D6E69B /* DBTEAMGroupFullInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5F1FC0EB7300D6E69B /* DBTEAMGroupFullInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21A1FC0EB7600D6E69B /* DBTEAMGroupFullInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC5F1FC0EB7300D6E69B /* DBTEAMGroupFullInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21B1FC0EB7600D6E69B /* DBTEAMGroupMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC601FC0EB7300D6E69B /* DBTEAMGroupMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21C1FC0EB7600D6E69B /* DBTEAMGroupMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC601FC0EB7300D6E69B /* DBTEAMGroupMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21D1FC0EB7600D6E69B /* DBTEAMGroupMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC611FC0EB7300D6E69B /* DBTEAMGroupMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21E1FC0EB7600D6E69B /* DBTEAMGroupMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC611FC0EB7300D6E69B /* DBTEAMGroupMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F21F1FC0EB7600D6E69B /* DBTEAMGroupMembersAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC621FC0EB7300D6E69B /* DBTEAMGroupMembersAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2201FC0EB7600D6E69B /* DBTEAMGroupMembersAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC621FC0EB7300D6E69B /* DBTEAMGroupMembersAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2211FC0EB7600D6E69B /* DBTEAMGroupMembersChangeResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC631FC0EB7300D6E69B /* DBTEAMGroupMembersChangeResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2221FC0EB7600D6E69B /* DBTEAMGroupMembersChangeResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC631FC0EB7300D6E69B /* DBTEAMGroupMembersChangeResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2231FC0EB7600D6E69B /* DBTEAMGroupMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC641FC0EB7300D6E69B /* DBTEAMGroupMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2241FC0EB7600D6E69B /* DBTEAMGroupMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC641FC0EB7300D6E69B /* DBTEAMGroupMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2251FC0EB7600D6E69B /* DBTEAMGroupMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC651FC0EB7300D6E69B /* DBTEAMGroupMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2261FC0EB7600D6E69B /* DBTEAMGroupMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC651FC0EB7300D6E69B /* DBTEAMGroupMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2271FC0EB7600D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC661FC0EB7300D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2281FC0EB7600D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC661FC0EB7300D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2291FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC671FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22A1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC671FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22B1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC681FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22C1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC681FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22D1FC0EB7600D6E69B /* DBTEAMGroupMembersSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC691FC0EB7300D6E69B /* DBTEAMGroupMembersSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22E1FC0EB7600D6E69B /* DBTEAMGroupMembersSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC691FC0EB7300D6E69B /* DBTEAMGroupMembersSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F22F1FC0EB7600D6E69B /* DBTEAMGroupMembersSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6A1FC0EB7300D6E69B /* DBTEAMGroupMembersSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2301FC0EB7600D6E69B /* DBTEAMGroupMembersSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6A1FC0EB7300D6E69B /* DBTEAMGroupMembersSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2311FC0EB7600D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6B1FC0EB7300D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2321FC0EB7600D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6B1FC0EB7300D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2331FC0EB7600D6E69B /* DBTEAMGroupSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6C1FC0EB7300D6E69B /* DBTEAMGroupSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2341FC0EB7600D6E69B /* DBTEAMGroupSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6C1FC0EB7300D6E69B /* DBTEAMGroupSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2351FC0EB7600D6E69B /* DBTEAMGroupSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6D1FC0EB7300D6E69B /* DBTEAMGroupSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2361FC0EB7600D6E69B /* DBTEAMGroupSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6D1FC0EB7300D6E69B /* DBTEAMGroupSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2371FC0EB7600D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6E1FC0EB7300D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2381FC0EB7600D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6E1FC0EB7300D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2391FC0EB7600D6E69B /* DBTEAMGroupsGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6F1FC0EB7300D6E69B /* DBTEAMGroupsGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23A1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC6F1FC0EB7300D6E69B /* DBTEAMGroupsGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23B1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC701FC0EB7300D6E69B /* DBTEAMGroupsGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23C1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC701FC0EB7300D6E69B /* DBTEAMGroupsGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23D1FC0EB7600D6E69B /* DBTEAMGroupsListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC711FC0EB7300D6E69B /* DBTEAMGroupsListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23E1FC0EB7600D6E69B /* DBTEAMGroupsListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC711FC0EB7300D6E69B /* DBTEAMGroupsListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F23F1FC0EB7600D6E69B /* DBTEAMGroupsListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC721FC0EB7300D6E69B /* DBTEAMGroupsListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2401FC0EB7600D6E69B /* DBTEAMGroupsListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC721FC0EB7300D6E69B /* DBTEAMGroupsListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2411FC0EB7600D6E69B /* DBTEAMGroupsListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC731FC0EB7300D6E69B /* DBTEAMGroupsListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2421FC0EB7600D6E69B /* DBTEAMGroupsListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC731FC0EB7300D6E69B /* DBTEAMGroupsListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2431FC0EB7600D6E69B /* DBTEAMGroupsListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC741FC0EB7300D6E69B /* DBTEAMGroupsListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2441FC0EB7600D6E69B /* DBTEAMGroupsListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC741FC0EB7300D6E69B /* DBTEAMGroupsListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2451FC0EB7600D6E69B /* DBTEAMGroupsMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC751FC0EB7300D6E69B /* DBTEAMGroupsMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2461FC0EB7600D6E69B /* DBTEAMGroupsMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC751FC0EB7300D6E69B /* DBTEAMGroupsMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2471FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC761FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2481FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC761FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2491FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC771FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24A1FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC771FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24B1FC0EB7600D6E69B /* DBTEAMGroupsMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC781FC0EB7300D6E69B /* DBTEAMGroupsMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24C1FC0EB7600D6E69B /* DBTEAMGroupsMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC781FC0EB7300D6E69B /* DBTEAMGroupsMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24D1FC0EB7600D6E69B /* DBTEAMGroupsPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC791FC0EB7300D6E69B /* DBTEAMGroupsPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24E1FC0EB7600D6E69B /* DBTEAMGroupsPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC791FC0EB7300D6E69B /* DBTEAMGroupsPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F24F1FC0EB7600D6E69B /* DBTEAMGroupsSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7A1FC0EB7300D6E69B /* DBTEAMGroupsSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2501FC0EB7600D6E69B /* DBTEAMGroupsSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7A1FC0EB7300D6E69B /* DBTEAMGroupsSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2511FC0EB7600D6E69B /* DBTEAMGroupUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7B1FC0EB7300D6E69B /* DBTEAMGroupUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2521FC0EB7600D6E69B /* DBTEAMGroupUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7B1FC0EB7300D6E69B /* DBTEAMGroupUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2531FC0EB7600D6E69B /* DBTEAMGroupUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7C1FC0EB7300D6E69B /* DBTEAMGroupUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2541FC0EB7600D6E69B /* DBTEAMGroupUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7C1FC0EB7300D6E69B /* DBTEAMGroupUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2551FC0EB7600D6E69B /* DBTEAMHasTeamFileEventsValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7D1FC0EB7300D6E69B /* DBTEAMHasTeamFileEventsValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2561FC0EB7600D6E69B /* DBTEAMHasTeamFileEventsValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7D1FC0EB7300D6E69B /* DBTEAMHasTeamFileEventsValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2571FC0EB7600D6E69B /* DBTEAMHasTeamSharedDropboxValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7E1FC0EB7300D6E69B /* DBTEAMHasTeamSharedDropboxValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2581FC0EB7600D6E69B /* DBTEAMHasTeamSharedDropboxValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7E1FC0EB7300D6E69B /* DBTEAMHasTeamSharedDropboxValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2591FC0EB7600D6E69B /* DBTEAMIncludeMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7F1FC0EB7300D6E69B /* DBTEAMIncludeMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25A1FC0EB7600D6E69B /* DBTEAMIncludeMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC7F1FC0EB7300D6E69B /* DBTEAMIncludeMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25B1FC0EB7600D6E69B /* DBTEAMListMemberAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC801FC0EB7300D6E69B /* DBTEAMListMemberAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25C1FC0EB7600D6E69B /* DBTEAMListMemberAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC801FC0EB7300D6E69B /* DBTEAMListMemberAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25D1FC0EB7600D6E69B /* DBTEAMListMemberAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC811FC0EB7300D6E69B /* DBTEAMListMemberAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25E1FC0EB7600D6E69B /* DBTEAMListMemberAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC811FC0EB7300D6E69B /* DBTEAMListMemberAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F25F1FC0EB7600D6E69B /* DBTEAMListMemberAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC821FC0EB7300D6E69B /* DBTEAMListMemberAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2601FC0EB7600D6E69B /* DBTEAMListMemberAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC821FC0EB7300D6E69B /* DBTEAMListMemberAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2611FC0EB7600D6E69B /* DBTEAMListMemberDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC831FC0EB7300D6E69B /* DBTEAMListMemberDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2621FC0EB7600D6E69B /* DBTEAMListMemberDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC831FC0EB7300D6E69B /* DBTEAMListMemberDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2631FC0EB7600D6E69B /* DBTEAMListMemberDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC841FC0EB7300D6E69B /* DBTEAMListMemberDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2641FC0EB7600D6E69B /* DBTEAMListMemberDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC841FC0EB7300D6E69B /* DBTEAMListMemberDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2651FC0EB7600D6E69B /* DBTEAMListMemberDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC851FC0EB7300D6E69B /* DBTEAMListMemberDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2661FC0EB7600D6E69B /* DBTEAMListMemberDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC851FC0EB7300D6E69B /* DBTEAMListMemberDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2671FC0EB7600D6E69B /* DBTEAMListMembersAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC861FC0EB7300D6E69B /* DBTEAMListMembersAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2681FC0EB7600D6E69B /* DBTEAMListMembersAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC861FC0EB7300D6E69B /* DBTEAMListMembersAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2691FC0EB7600D6E69B /* DBTEAMListMembersAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC871FC0EB7300D6E69B /* DBTEAMListMembersAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26A1FC0EB7600D6E69B /* DBTEAMListMembersAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC871FC0EB7300D6E69B /* DBTEAMListMembersAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26B1FC0EB7600D6E69B /* DBTEAMListMembersAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC881FC0EB7300D6E69B /* DBTEAMListMembersAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26C1FC0EB7600D6E69B /* DBTEAMListMembersAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC881FC0EB7300D6E69B /* DBTEAMListMembersAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26D1FC0EB7600D6E69B /* DBTEAMListMembersDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC891FC0EB7300D6E69B /* DBTEAMListMembersDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26E1FC0EB7600D6E69B /* DBTEAMListMembersDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC891FC0EB7300D6E69B /* DBTEAMListMembersDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F26F1FC0EB7600D6E69B /* DBTEAMListMembersDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8A1FC0EB7300D6E69B /* DBTEAMListMembersDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2701FC0EB7600D6E69B /* DBTEAMListMembersDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8A1FC0EB7300D6E69B /* DBTEAMListMembersDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2711FC0EB7600D6E69B /* DBTEAMListMembersDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8B1FC0EB7300D6E69B /* DBTEAMListMembersDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2721FC0EB7600D6E69B /* DBTEAMListMembersDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8B1FC0EB7300D6E69B /* DBTEAMListMembersDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2731FC0EB7600D6E69B /* DBTEAMListTeamAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8C1FC0EB7300D6E69B /* DBTEAMListTeamAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2741FC0EB7600D6E69B /* DBTEAMListTeamAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8C1FC0EB7300D6E69B /* DBTEAMListTeamAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2751FC0EB7600D6E69B /* DBTEAMListTeamAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8D1FC0EB7300D6E69B /* DBTEAMListTeamAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2761FC0EB7600D6E69B /* DBTEAMListTeamAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8D1FC0EB7300D6E69B /* DBTEAMListTeamAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2771FC0EB7600D6E69B /* DBTEAMListTeamAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8E1FC0EB7300D6E69B /* DBTEAMListTeamAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2781FC0EB7600D6E69B /* DBTEAMListTeamAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8E1FC0EB7300D6E69B /* DBTEAMListTeamAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2791FC0EB7600D6E69B /* DBTEAMListTeamDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8F1FC0EB7300D6E69B /* DBTEAMListTeamDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27A1FC0EB7600D6E69B /* DBTEAMListTeamDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC8F1FC0EB7300D6E69B /* DBTEAMListTeamDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27B1FC0EB7600D6E69B /* DBTEAMListTeamDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC901FC0EB7300D6E69B /* DBTEAMListTeamDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27C1FC0EB7600D6E69B /* DBTEAMListTeamDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC901FC0EB7300D6E69B /* DBTEAMListTeamDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27D1FC0EB7600D6E69B /* DBTEAMListTeamDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC911FC0EB7300D6E69B /* DBTEAMListTeamDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27E1FC0EB7600D6E69B /* DBTEAMListTeamDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC911FC0EB7300D6E69B /* DBTEAMListTeamDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F27F1FC0EB7600D6E69B /* DBTEAMMemberAccess.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC921FC0EB7300D6E69B /* DBTEAMMemberAccess.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2801FC0EB7600D6E69B /* DBTEAMMemberAccess.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC921FC0EB7300D6E69B /* DBTEAMMemberAccess.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2811FC0EB7600D6E69B /* DBTEAMMemberAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC931FC0EB7300D6E69B /* DBTEAMMemberAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2821FC0EB7600D6E69B /* DBTEAMMemberAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC931FC0EB7300D6E69B /* DBTEAMMemberAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2831FC0EB7600D6E69B /* DBTEAMMemberAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC941FC0EB7300D6E69B /* DBTEAMMemberAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2841FC0EB7600D6E69B /* DBTEAMMemberAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC941FC0EB7300D6E69B /* DBTEAMMemberAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2851FC0EB7600D6E69B /* DBTEAMMemberDevices.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC951FC0EB7300D6E69B /* DBTEAMMemberDevices.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2861FC0EB7600D6E69B /* DBTEAMMemberDevices.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC951FC0EB7300D6E69B /* DBTEAMMemberDevices.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2871FC0EB7600D6E69B /* DBTEAMMemberLinkedApps.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC961FC0EB7300D6E69B /* DBTEAMMemberLinkedApps.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2881FC0EB7600D6E69B /* DBTEAMMemberLinkedApps.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC961FC0EB7300D6E69B /* DBTEAMMemberLinkedApps.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2891FC0EB7600D6E69B /* DBTEAMMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC971FC0EB7300D6E69B /* DBTEAMMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28A1FC0EB7600D6E69B /* DBTEAMMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC971FC0EB7300D6E69B /* DBTEAMMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28B1FC0EB7600D6E69B /* DBTEAMMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC981FC0EB7300D6E69B /* DBTEAMMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28C1FC0EB7600D6E69B /* DBTEAMMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC981FC0EB7300D6E69B /* DBTEAMMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28D1FC0EB7600D6E69B /* DBTEAMMembersAddJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC991FC0EB7300D6E69B /* DBTEAMMembersAddJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28E1FC0EB7600D6E69B /* DBTEAMMembersAddJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC991FC0EB7300D6E69B /* DBTEAMMembersAddJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F28F1FC0EB7600D6E69B /* DBTEAMMembersAddLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9A1FC0EB7300D6E69B /* DBTEAMMembersAddLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2901FC0EB7600D6E69B /* DBTEAMMembersAddLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9A1FC0EB7300D6E69B /* DBTEAMMembersAddLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2911FC0EB7600D6E69B /* DBTEAMMembersDeactivateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9B1FC0EB7300D6E69B /* DBTEAMMembersDeactivateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2921FC0EB7600D6E69B /* DBTEAMMembersDeactivateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9B1FC0EB7300D6E69B /* DBTEAMMembersDeactivateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2931FC0EB7600D6E69B /* DBTEAMMembersDeactivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9C1FC0EB7300D6E69B /* DBTEAMMembersDeactivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2941FC0EB7600D6E69B /* DBTEAMMembersDeactivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9C1FC0EB7300D6E69B /* DBTEAMMembersDeactivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2951FC0EB7600D6E69B /* DBTEAMMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9D1FC0EB7300D6E69B /* DBTEAMMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2961FC0EB7600D6E69B /* DBTEAMMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9D1FC0EB7300D6E69B /* DBTEAMMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2971FC0EB7600D6E69B /* DBTEAMMembersGetInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9E1FC0EB7300D6E69B /* DBTEAMMembersGetInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2981FC0EB7600D6E69B /* DBTEAMMembersGetInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9E1FC0EB7300D6E69B /* DBTEAMMembersGetInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2991FC0EB7600D6E69B /* DBTEAMMembersGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9F1FC0EB7300D6E69B /* DBTEAMMembersGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29A1FC0EB7600D6E69B /* DBTEAMMembersGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EC9F1FC0EB7300D6E69B /* DBTEAMMembersGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29B1FC0EB7600D6E69B /* DBTEAMMembersGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA01FC0EB7300D6E69B /* DBTEAMMembersGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29C1FC0EB7600D6E69B /* DBTEAMMembersGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA01FC0EB7300D6E69B /* DBTEAMMembersGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29D1FC0EB7600D6E69B /* DBTEAMMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA11FC0EB7300D6E69B /* DBTEAMMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29E1FC0EB7600D6E69B /* DBTEAMMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA11FC0EB7300D6E69B /* DBTEAMMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F29F1FC0EB7600D6E69B /* DBTEAMMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA21FC0EB7300D6E69B /* DBTEAMMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A01FC0EB7600D6E69B /* DBTEAMMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA21FC0EB7300D6E69B /* DBTEAMMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A11FC0EB7600D6E69B /* DBTEAMMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA31FC0EB7300D6E69B /* DBTEAMMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A21FC0EB7600D6E69B /* DBTEAMMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA31FC0EB7300D6E69B /* DBTEAMMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A31FC0EB7600D6E69B /* DBTEAMMembersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA41FC0EB7300D6E69B /* DBTEAMMembersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A41FC0EB7600D6E69B /* DBTEAMMembersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA41FC0EB7300D6E69B /* DBTEAMMembersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A51FC0EB7600D6E69B /* DBTEAMMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA51FC0EB7300D6E69B /* DBTEAMMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A61FC0EB7600D6E69B /* DBTEAMMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA51FC0EB7300D6E69B /* DBTEAMMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A71FC0EB7600D6E69B /* DBTEAMMembersRecoverArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA61FC0EB7300D6E69B /* DBTEAMMembersRecoverArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A81FC0EB7600D6E69B /* DBTEAMMembersRecoverArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA61FC0EB7300D6E69B /* DBTEAMMembersRecoverArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2A91FC0EB7600D6E69B /* DBTEAMMembersRecoverError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA71FC0EB7300D6E69B /* DBTEAMMembersRecoverError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AA1FC0EB7600D6E69B /* DBTEAMMembersRecoverError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA71FC0EB7300D6E69B /* DBTEAMMembersRecoverError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AB1FC0EB7600D6E69B /* DBTEAMMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA81FC0EB7300D6E69B /* DBTEAMMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AC1FC0EB7600D6E69B /* DBTEAMMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA81FC0EB7300D6E69B /* DBTEAMMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AD1FC0EB7600D6E69B /* DBTEAMMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA91FC0EB7300D6E69B /* DBTEAMMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AE1FC0EB7600D6E69B /* DBTEAMMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECA91FC0EB7300D6E69B /* DBTEAMMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2AF1FC0EB7600D6E69B /* DBTEAMMembersSendWelcomeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAA1FC0EB7300D6E69B /* DBTEAMMembersSendWelcomeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B01FC0EB7600D6E69B /* DBTEAMMembersSendWelcomeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAA1FC0EB7300D6E69B /* DBTEAMMembersSendWelcomeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B11FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAB1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B21FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAB1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B31FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAC1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B41FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAC1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B51FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAD1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B61FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAD1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B71FC0EB7600D6E69B /* DBTEAMMembersSetProfileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAE1FC0EB7300D6E69B /* DBTEAMMembersSetProfileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B81FC0EB7600D6E69B /* DBTEAMMembersSetProfileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAE1FC0EB7300D6E69B /* DBTEAMMembersSetProfileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2B91FC0EB7600D6E69B /* DBTEAMMembersSetProfileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAF1FC0EB7300D6E69B /* DBTEAMMembersSetProfileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BA1FC0EB7600D6E69B /* DBTEAMMembersSetProfileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECAF1FC0EB7300D6E69B /* DBTEAMMembersSetProfileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BB1FC0EB7600D6E69B /* DBTEAMMembersSuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB01FC0EB7300D6E69B /* DBTEAMMembersSuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BC1FC0EB7600D6E69B /* DBTEAMMembersSuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB01FC0EB7300D6E69B /* DBTEAMMembersSuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BD1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB11FC0EB7300D6E69B /* DBTEAMMembersUnsuspendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BE1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB11FC0EB7300D6E69B /* DBTEAMMembersUnsuspendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2BF1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB21FC0EB7300D6E69B /* DBTEAMMembersUnsuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C01FC0EB7600D6E69B /* DBTEAMMembersUnsuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB21FC0EB7300D6E69B /* DBTEAMMembersUnsuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C11FC0EB7600D6E69B /* DBTEAMMobileClientPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB31FC0EB7300D6E69B /* DBTEAMMobileClientPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C21FC0EB7600D6E69B /* DBTEAMMobileClientPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB31FC0EB7300D6E69B /* DBTEAMMobileClientPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C31FC0EB7600D6E69B /* DBTEAMMobileClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB41FC0EB7300D6E69B /* DBTEAMMobileClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C41FC0EB7600D6E69B /* DBTEAMMobileClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB41FC0EB7300D6E69B /* DBTEAMMobileClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C51FC0EB7600D6E69B /* DBTEAMNamespaceMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB51FC0EB7300D6E69B /* DBTEAMNamespaceMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C61FC0EB7600D6E69B /* DBTEAMNamespaceMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB51FC0EB7300D6E69B /* DBTEAMNamespaceMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C71FC0EB7600D6E69B /* DBTEAMNamespaceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB61FC0EB7300D6E69B /* DBTEAMNamespaceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C81FC0EB7600D6E69B /* DBTEAMNamespaceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB61FC0EB7300D6E69B /* DBTEAMNamespaceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2C91FC0EB7600D6E69B /* DBTEAMRemoveCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB71FC0EB7300D6E69B /* DBTEAMRemoveCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CA1FC0EB7600D6E69B /* DBTEAMRemoveCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB71FC0EB7300D6E69B /* DBTEAMRemoveCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CB1FC0EB7600D6E69B /* DBTEAMRemovedStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB81FC0EB7300D6E69B /* DBTEAMRemovedStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CC1FC0EB7600D6E69B /* DBTEAMRemovedStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB81FC0EB7300D6E69B /* DBTEAMRemovedStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CD1FC0EB7600D6E69B /* DBTEAMRevokeDesktopClientArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB91FC0EB7300D6E69B /* DBTEAMRevokeDesktopClientArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CE1FC0EB7600D6E69B /* DBTEAMRevokeDesktopClientArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECB91FC0EB7300D6E69B /* DBTEAMRevokeDesktopClientArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2CF1FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBA1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D01FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBA1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D11FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBB1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D21FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBB1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D31FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBC1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D41FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBC1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D51FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBD1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D61FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBD1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D71FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBE1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D81FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBE1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2D91FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBF1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DA1FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECBF1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DB1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC01FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DC1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC01FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DD1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC11FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DE1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC11FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2DF1FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC21FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E01FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC21FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E11FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC31FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E21FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC31FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E31FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC41FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E41FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC41FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E51FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC51FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E61FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC51FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E71FC0EB7600D6E69B /* DBTEAMSetCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC61FC0EB7300D6E69B /* DBTEAMSetCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E81FC0EB7600D6E69B /* DBTEAMSetCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC61FC0EB7300D6E69B /* DBTEAMSetCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2E91FC0EB7600D6E69B /* DBTEAMSetCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC71FC0EB7300D6E69B /* DBTEAMSetCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2EA1FC0EB7600D6E69B /* DBTEAMSetCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC71FC0EB7300D6E69B /* DBTEAMSetCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2EB1FC0EB7600D6E69B /* DBTEAMStorageBucket.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC81FC0EB7300D6E69B /* DBTEAMStorageBucket.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2EC1FC0EB7600D6E69B /* DBTEAMStorageBucket.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC81FC0EB7300D6E69B /* DBTEAMStorageBucket.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2ED1FC0EB7600D6E69B /* DBTEAMTeamFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC91FC0EB7300D6E69B /* DBTEAMTeamFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2EE1FC0EB7600D6E69B /* DBTEAMTeamFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECC91FC0EB7300D6E69B /* DBTEAMTeamFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2EF1FC0EB7600D6E69B /* DBTEAMTeamFolderActivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCA1FC0EB7300D6E69B /* DBTEAMTeamFolderActivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F01FC0EB7600D6E69B /* DBTEAMTeamFolderActivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCA1FC0EB7300D6E69B /* DBTEAMTeamFolderActivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F11FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCB1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F21FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCB1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F31FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCC1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F41FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCC1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F51FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCD1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F61FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCD1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F71FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCE1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F81FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCE1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2F91FC0EB7600D6E69B /* DBTEAMTeamFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCF1FC0EB7300D6E69B /* DBTEAMTeamFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FA1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECCF1FC0EB7300D6E69B /* DBTEAMTeamFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FB1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD01FC0EB7300D6E69B /* DBTEAMTeamFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FC1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD01FC0EB7300D6E69B /* DBTEAMTeamFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FD1FC0EB7600D6E69B /* DBTEAMTeamFolderGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD11FC0EB7300D6E69B /* DBTEAMTeamFolderGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FE1FC0EB7600D6E69B /* DBTEAMTeamFolderGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD11FC0EB7300D6E69B /* DBTEAMTeamFolderGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F2FF1FC0EB7600D6E69B /* DBTEAMTeamFolderIdArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD21FC0EB7300D6E69B /* DBTEAMTeamFolderIdArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3001FC0EB7600D6E69B /* DBTEAMTeamFolderIdArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD21FC0EB7300D6E69B /* DBTEAMTeamFolderIdArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3011FC0EB7600D6E69B /* DBTEAMTeamFolderIdListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD31FC0EB7300D6E69B /* DBTEAMTeamFolderIdListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3021FC0EB7600D6E69B /* DBTEAMTeamFolderIdListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD31FC0EB7300D6E69B /* DBTEAMTeamFolderIdListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3031FC0EB7600D6E69B /* DBTEAMTeamFolderInvalidStatusError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD41FC0EB7300D6E69B /* DBTEAMTeamFolderInvalidStatusError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3041FC0EB7600D6E69B /* DBTEAMTeamFolderInvalidStatusError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD41FC0EB7300D6E69B /* DBTEAMTeamFolderInvalidStatusError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3051FC0EB7600D6E69B /* DBTEAMTeamFolderListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD51FC0EB7300D6E69B /* DBTEAMTeamFolderListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3061FC0EB7600D6E69B /* DBTEAMTeamFolderListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD51FC0EB7300D6E69B /* DBTEAMTeamFolderListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3071FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD61FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3081FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD61FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3091FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD71FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30A1FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD71FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30B1FC0EB7600D6E69B /* DBTEAMTeamFolderListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD81FC0EB7300D6E69B /* DBTEAMTeamFolderListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30C1FC0EB7600D6E69B /* DBTEAMTeamFolderListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD81FC0EB7300D6E69B /* DBTEAMTeamFolderListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30D1FC0EB7600D6E69B /* DBTEAMTeamFolderListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD91FC0EB7300D6E69B /* DBTEAMTeamFolderListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30E1FC0EB7600D6E69B /* DBTEAMTeamFolderListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECD91FC0EB7300D6E69B /* DBTEAMTeamFolderListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F30F1FC0EB7600D6E69B /* DBTEAMTeamFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDA1FC0EB7300D6E69B /* DBTEAMTeamFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3101FC0EB7600D6E69B /* DBTEAMTeamFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDA1FC0EB7300D6E69B /* DBTEAMTeamFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3111FC0EB7600D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDB1FC0EB7300D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3121FC0EB7600D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDB1FC0EB7300D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3131FC0EB7600D6E69B /* DBTEAMTeamFolderRenameArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDC1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3141FC0EB7600D6E69B /* DBTEAMTeamFolderRenameArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDC1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3151FC0EB7600D6E69B /* DBTEAMTeamFolderRenameError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDD1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3161FC0EB7600D6E69B /* DBTEAMTeamFolderRenameError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDD1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3171FC0EB7600D6E69B /* DBTEAMTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDE1FC0EB7300D6E69B /* DBTEAMTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3181FC0EB7600D6E69B /* DBTEAMTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDE1FC0EB7300D6E69B /* DBTEAMTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3191FC0EB7600D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDF1FC0EB7300D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31A1FC0EB7600D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECDF1FC0EB7300D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31B1FC0EB7600D6E69B /* DBTEAMTeamGetInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE01FC0EB7300D6E69B /* DBTEAMTeamGetInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31C1FC0EB7600D6E69B /* DBTEAMTeamGetInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE01FC0EB7300D6E69B /* DBTEAMTeamGetInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31D1FC0EB7600D6E69B /* DBTEAMTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE11FC0EB7300D6E69B /* DBTEAMTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31E1FC0EB7600D6E69B /* DBTEAMTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE11FC0EB7300D6E69B /* DBTEAMTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F31F1FC0EB7600D6E69B /* DBTEAMTeamMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE21FC0EB7300D6E69B /* DBTEAMTeamMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3201FC0EB7600D6E69B /* DBTEAMTeamMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE21FC0EB7300D6E69B /* DBTEAMTeamMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3211FC0EB7600D6E69B /* DBTEAMTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE31FC0EB7300D6E69B /* DBTEAMTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3221FC0EB7600D6E69B /* DBTEAMTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE31FC0EB7300D6E69B /* DBTEAMTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3231FC0EB7600D6E69B /* DBTEAMTeamMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE41FC0EB7300D6E69B /* DBTEAMTeamMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3241FC0EB7600D6E69B /* DBTEAMTeamMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE41FC0EB7300D6E69B /* DBTEAMTeamMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3251FC0EB7600D6E69B /* DBTEAMTeamNamespacesListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE51FC0EB7300D6E69B /* DBTEAMTeamNamespacesListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3261FC0EB7600D6E69B /* DBTEAMTeamNamespacesListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE51FC0EB7300D6E69B /* DBTEAMTeamNamespacesListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3271FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE61FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3281FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE61FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3291FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE71FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32A1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE71FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32B1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE81FC0EB7300D6E69B /* DBTEAMTeamNamespacesListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32C1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE81FC0EB7300D6E69B /* DBTEAMTeamNamespacesListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32D1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE91FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32E1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECE91FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F32F1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEA1FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3301FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEA1FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3311FC0EB7600D6E69B /* DBTEAMUploadApiRateLimitValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEB1FC0EB7300D6E69B /* DBTEAMUploadApiRateLimitValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3321FC0EB7600D6E69B /* DBTEAMUploadApiRateLimitValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEB1FC0EB7300D6E69B /* DBTEAMUploadApiRateLimitValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3331FC0EB7600D6E69B /* DBTEAMUserCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEC1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3341FC0EB7600D6E69B /* DBTEAMUserCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEC1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3351FC0EB7600D6E69B /* DBTEAMUserCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECED1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3361FC0EB7600D6E69B /* DBTEAMUserCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECED1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3371FC0EB7600D6E69B /* DBTEAMUserSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEE1FC0EB7300D6E69B /* DBTEAMUserSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3381FC0EB7600D6E69B /* DBTEAMUserSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEE1FC0EB7300D6E69B /* DBTEAMUserSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3391FC0EB7600D6E69B /* DBTEAMUserSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEF1FC0EB7300D6E69B /* DBTEAMUserSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F33A1FC0EB7600D6E69B /* DBTEAMUserSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECEF1FC0EB7300D6E69B /* DBTEAMUserSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F33B1FC0EB7600D6E69B /* DBTEAMUsersSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF01FC0EB7300D6E69B /* DBTEAMUsersSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F33C1FC0EB7600D6E69B /* DBTEAMUsersSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF01FC0EB7300D6E69B /* DBTEAMUsersSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F33D1FC0EB7600D6E69B /* DBTeamCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292ECF21FC0EB7300D6E69B /* DBTeamCommonObjects.m */; }; - F292F33E1FC0EB7600D6E69B /* DBTeamCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292ECF21FC0EB7300D6E69B /* DBTeamCommonObjects.m */; }; - F292F33F1FC0EB7600D6E69B /* DBTEAMCOMMONGroupManagementType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF41FC0EB7300D6E69B /* DBTEAMCOMMONGroupManagementType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3401FC0EB7600D6E69B /* DBTEAMCOMMONGroupManagementType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF41FC0EB7300D6E69B /* DBTEAMCOMMONGroupManagementType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3411FC0EB7600D6E69B /* DBTEAMCOMMONGroupSummary.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF51FC0EB7300D6E69B /* DBTEAMCOMMONGroupSummary.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3421FC0EB7600D6E69B /* DBTEAMCOMMONGroupSummary.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF51FC0EB7300D6E69B /* DBTEAMCOMMONGroupSummary.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3431FC0EB7600D6E69B /* DBTEAMCOMMONGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF61FC0EB7300D6E69B /* DBTEAMCOMMONGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3441FC0EB7600D6E69B /* DBTEAMCOMMONGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF61FC0EB7300D6E69B /* DBTEAMCOMMONGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3451FC0EB7600D6E69B /* DBTEAMCOMMONTimeRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF71FC0EB7300D6E69B /* DBTEAMCOMMONTimeRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3461FC0EB7600D6E69B /* DBTEAMCOMMONTimeRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECF71FC0EB7300D6E69B /* DBTEAMCOMMONTimeRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3471FC0EB7600D6E69B /* DBTeamLogObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292ECF91FC0EB7300D6E69B /* DBTeamLogObjects.m */; }; - F292F3481FC0EB7600D6E69B /* DBTeamLogObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292ECF91FC0EB7300D6E69B /* DBTeamLogObjects.m */; }; - F292F3491FC0EB7600D6E69B /* DBTEAMLOGAccessMethodLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFB1FC0EB7300D6E69B /* DBTEAMLOGAccessMethodLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34A1FC0EB7600D6E69B /* DBTEAMLOGAccessMethodLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFB1FC0EB7300D6E69B /* DBTEAMLOGAccessMethodLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34B1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureAvailability.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFC1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureAvailability.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34C1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureAvailability.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFC1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureAvailability.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34D1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFD1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34E1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFD1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F34F1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFE1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3501FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFE1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3511FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFF1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3521FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ECFF1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3531FC0EB7600D6E69B /* DBTEAMLOGAccountCapturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED001FC0EB7300D6E69B /* DBTEAMLOGAccountCapturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3541FC0EB7600D6E69B /* DBTEAMLOGAccountCapturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED001FC0EB7300D6E69B /* DBTEAMLOGAccountCapturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3551FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED011FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3561FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED011FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3571FC0EB7600D6E69B /* DBTEAMLOGActorLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED021FC0EB7300D6E69B /* DBTEAMLOGActorLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3581FC0EB7600D6E69B /* DBTEAMLOGActorLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED021FC0EB7300D6E69B /* DBTEAMLOGActorLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3591FC0EB7600D6E69B /* DBTEAMLOGAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED031FC0EB7300D6E69B /* DBTEAMLOGAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35A1FC0EB7600D6E69B /* DBTEAMLOGAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED031FC0EB7300D6E69B /* DBTEAMLOGAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35B1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED041FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35C1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED041FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35D1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED051FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35E1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED051FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F35F1FC0EB7600D6E69B /* DBTEAMLOGApiSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED061FC0EB7300D6E69B /* DBTEAMLOGApiSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3601FC0EB7600D6E69B /* DBTEAMLOGApiSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED061FC0EB7300D6E69B /* DBTEAMLOGApiSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3611FC0EB7600D6E69B /* DBTEAMLOGAppLinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED071FC0EB7300D6E69B /* DBTEAMLOGAppLinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3621FC0EB7600D6E69B /* DBTEAMLOGAppLinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED071FC0EB7300D6E69B /* DBTEAMLOGAppLinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3631FC0EB7600D6E69B /* DBTEAMLOGAppLinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED081FC0EB7300D6E69B /* DBTEAMLOGAppLinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3641FC0EB7600D6E69B /* DBTEAMLOGAppLinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED081FC0EB7300D6E69B /* DBTEAMLOGAppLinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3651FC0EB7600D6E69B /* DBTEAMLOGAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED091FC0EB7300D6E69B /* DBTEAMLOGAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3661FC0EB7600D6E69B /* DBTEAMLOGAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED091FC0EB7300D6E69B /* DBTEAMLOGAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3671FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0A1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3681FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0A1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3691FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0B1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36A1FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0B1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36B1FC0EB7600D6E69B /* DBTEAMLOGAssetLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0C1FC0EB7300D6E69B /* DBTEAMLOGAssetLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36C1FC0EB7600D6E69B /* DBTEAMLOGAssetLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0C1FC0EB7300D6E69B /* DBTEAMLOGAssetLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36D1FC0EB7600D6E69B /* DBTEAMLOGCertificate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0D1FC0EB7300D6E69B /* DBTEAMLOGCertificate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36E1FC0EB7600D6E69B /* DBTEAMLOGCertificate.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0D1FC0EB7300D6E69B /* DBTEAMLOGCertificate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F36F1FC0EB7600D6E69B /* DBTEAMLOGCollectionShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0E1FC0EB7300D6E69B /* DBTEAMLOGCollectionShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3701FC0EB7600D6E69B /* DBTEAMLOGCollectionShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0E1FC0EB7300D6E69B /* DBTEAMLOGCollectionShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3711FC0EB7600D6E69B /* DBTEAMLOGConfidentiality.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0F1FC0EB7300D6E69B /* DBTEAMLOGConfidentiality.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3721FC0EB7600D6E69B /* DBTEAMLOGConfidentiality.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED0F1FC0EB7300D6E69B /* DBTEAMLOGConfidentiality.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3731FC0EB7600D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED101FC0EB7300D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3741FC0EB7600D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED101FC0EB7300D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3751FC0EB7600D6E69B /* DBTEAMLOGContextLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED111FC0EB7300D6E69B /* DBTEAMLOGContextLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3761FC0EB7600D6E69B /* DBTEAMLOGContextLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED111FC0EB7300D6E69B /* DBTEAMLOGContextLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3771FC0EB7600D6E69B /* DBTEAMLOGCreateFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED121FC0EB7300D6E69B /* DBTEAMLOGCreateFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3781FC0EB7600D6E69B /* DBTEAMLOGCreateFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED121FC0EB7300D6E69B /* DBTEAMLOGCreateFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3791FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED131FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37A1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED131FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37B1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED141FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37C1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED141FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37D1FC0EB7600D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED151FC0EB7300D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37E1FC0EB7600D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED151FC0EB7300D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F37F1FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED161FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3801FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED161FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3811FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED171FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3821FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED171FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3831FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED181FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3841FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED181FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3851FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED191FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3861FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED191FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3871FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1A1FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3881FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1A1FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3891FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1B1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38A1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1B1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38B1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1C1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38C1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1C1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38D1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1D1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38E1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1D1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F38F1FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1E1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3901FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1E1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3911FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1F1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3921FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED1F1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3931FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED201FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3941FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED201FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3951FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED211FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3961FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED211FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3971FC0EB7700D6E69B /* DBTEAMLOGDeviceLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED221FC0EB7300D6E69B /* DBTEAMLOGDeviceLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3981FC0EB7700D6E69B /* DBTEAMLOGDeviceLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED221FC0EB7300D6E69B /* DBTEAMLOGDeviceLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3991FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED231FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39A1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED231FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39B1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED241FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39C1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED241FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39D1FC0EB7700D6E69B /* DBTEAMLOGDeviceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED251FC0EB7300D6E69B /* DBTEAMLOGDeviceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39E1FC0EB7700D6E69B /* DBTEAMLOGDeviceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED251FC0EB7300D6E69B /* DBTEAMLOGDeviceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F39F1FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED261FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A01FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED261FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A11FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED271FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A21FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED271FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A31FC0EB7700D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED281FC0EB7300D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A41FC0EB7700D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED281FC0EB7300D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A51FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED291FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A61FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED291FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A71FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2A1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A81FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2A1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3A91FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2B1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AA1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2B1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AB1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2C1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AC1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2C1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AD1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2D1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AE1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2D1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3AF1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2E1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B01FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2E1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B11FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2F1FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B21FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED2F1FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B31FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED301FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B41FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED301FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B51FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED311FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B61FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED311FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B71FC0EB7700D6E69B /* DBTEAMLOGDurationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED321FC0EB7300D6E69B /* DBTEAMLOGDurationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B81FC0EB7700D6E69B /* DBTEAMLOGDurationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED321FC0EB7300D6E69B /* DBTEAMLOGDurationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3B91FC0EB7700D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED331FC0EB7300D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BA1FC0EB7700D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED331FC0EB7300D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BB1FC0EB7700D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED341FC0EB7300D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BC1FC0EB7700D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED341FC0EB7300D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BD1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED351FC0EB7300D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BE1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED351FC0EB7300D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3BF1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED361FC0EB7300D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C01FC0EB7700D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED361FC0EB7300D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C11FC0EB7700D6E69B /* DBTEAMLOGEmmErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED371FC0EB7300D6E69B /* DBTEAMLOGEmmErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C21FC0EB7700D6E69B /* DBTEAMLOGEmmErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED371FC0EB7300D6E69B /* DBTEAMLOGEmmErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C31FC0EB7700D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED381FC0EB7300D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C41FC0EB7700D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED381FC0EB7300D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C51FC0EB7700D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED391FC0EB7300D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C61FC0EB7700D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED391FC0EB7300D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C71FC0EB7700D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3A1FC0EB7300D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C81FC0EB7700D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3A1FC0EB7300D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3C91FC0EB7700D6E69B /* DBTEAMLOGEventCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3B1FC0EB7300D6E69B /* DBTEAMLOGEventCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CA1FC0EB7700D6E69B /* DBTEAMLOGEventCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3B1FC0EB7300D6E69B /* DBTEAMLOGEventCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CB1FC0EB7700D6E69B /* DBTEAMLOGEventDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3C1FC0EB7300D6E69B /* DBTEAMLOGEventDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CC1FC0EB7700D6E69B /* DBTEAMLOGEventDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3C1FC0EB7300D6E69B /* DBTEAMLOGEventDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CD1FC0EB7700D6E69B /* DBTEAMLOGEventType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3D1FC0EB7300D6E69B /* DBTEAMLOGEventType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CE1FC0EB7700D6E69B /* DBTEAMLOGEventType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3D1FC0EB7300D6E69B /* DBTEAMLOGEventType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3CF1FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3E1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D01FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3E1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D11FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3F1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D21FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED3F1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D31FC0EB7700D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED401FC0EB7400D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D41FC0EB7700D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED401FC0EB7400D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D51FC0EB7700D6E69B /* DBTEAMLOGFileAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED411FC0EB7400D6E69B /* DBTEAMLOGFileAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D61FC0EB7700D6E69B /* DBTEAMLOGFileAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED411FC0EB7400D6E69B /* DBTEAMLOGFileAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D71FC0EB7700D6E69B /* DBTEAMLOGFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED421FC0EB7400D6E69B /* DBTEAMLOGFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D81FC0EB7700D6E69B /* DBTEAMLOGFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED421FC0EB7400D6E69B /* DBTEAMLOGFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3D91FC0EB7700D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED431FC0EB7400D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DA1FC0EB7700D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED431FC0EB7400D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DB1FC0EB7700D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED441FC0EB7400D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DC1FC0EB7700D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED441FC0EB7400D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DD1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED451FC0EB7400D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DE1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED451FC0EB7400D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3DF1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED461FC0EB7400D6E69B /* DBTEAMLOGFileCommentsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E01FC0EB7700D6E69B /* DBTEAMLOGFileCommentsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED461FC0EB7400D6E69B /* DBTEAMLOGFileCommentsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E11FC0EB7700D6E69B /* DBTEAMLOGFileCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED471FC0EB7400D6E69B /* DBTEAMLOGFileCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E21FC0EB7700D6E69B /* DBTEAMLOGFileCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED471FC0EB7400D6E69B /* DBTEAMLOGFileCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E31FC0EB7700D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED481FC0EB7400D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E41FC0EB7700D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED481FC0EB7400D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E51FC0EB7700D6E69B /* DBTEAMLOGFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED491FC0EB7400D6E69B /* DBTEAMLOGFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E61FC0EB7700D6E69B /* DBTEAMLOGFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED491FC0EB7400D6E69B /* DBTEAMLOGFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E71FC0EB7700D6E69B /* DBTEAMLOGFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4A1FC0EB7400D6E69B /* DBTEAMLOGFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E81FC0EB7700D6E69B /* DBTEAMLOGFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4A1FC0EB7400D6E69B /* DBTEAMLOGFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3E91FC0EB7700D6E69B /* DBTEAMLOGFileEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4B1FC0EB7400D6E69B /* DBTEAMLOGFileEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3EA1FC0EB7700D6E69B /* DBTEAMLOGFileEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4B1FC0EB7400D6E69B /* DBTEAMLOGFileEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3EB1FC0EB7700D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4C1FC0EB7400D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3EC1FC0EB7700D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4C1FC0EB7400D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3ED1FC0EB7700D6E69B /* DBTEAMLOGFileLikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4D1FC0EB7400D6E69B /* DBTEAMLOGFileLikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3EE1FC0EB7700D6E69B /* DBTEAMLOGFileLikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4D1FC0EB7400D6E69B /* DBTEAMLOGFileLikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3EF1FC0EB7700D6E69B /* DBTEAMLOGFileLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4E1FC0EB7400D6E69B /* DBTEAMLOGFileLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F01FC0EB7700D6E69B /* DBTEAMLOGFileLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4E1FC0EB7400D6E69B /* DBTEAMLOGFileLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F11FC0EB7700D6E69B /* DBTEAMLOGFileMoveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4F1FC0EB7400D6E69B /* DBTEAMLOGFileMoveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F21FC0EB7700D6E69B /* DBTEAMLOGFileMoveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED4F1FC0EB7400D6E69B /* DBTEAMLOGFileMoveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F31FC0EB7700D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED501FC0EB7400D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F41FC0EB7700D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED501FC0EB7400D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F51FC0EB7700D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED511FC0EB7400D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F61FC0EB7700D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED511FC0EB7400D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F71FC0EB7700D6E69B /* DBTEAMLOGFilePreviewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED521FC0EB7400D6E69B /* DBTEAMLOGFilePreviewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F81FC0EB7700D6E69B /* DBTEAMLOGFilePreviewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED521FC0EB7400D6E69B /* DBTEAMLOGFilePreviewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3F91FC0EB7700D6E69B /* DBTEAMLOGFileRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED531FC0EB7400D6E69B /* DBTEAMLOGFileRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FA1FC0EB7700D6E69B /* DBTEAMLOGFileRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED531FC0EB7400D6E69B /* DBTEAMLOGFileRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FB1FC0EB7700D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED541FC0EB7400D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FC1FC0EB7700D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED541FC0EB7400D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FD1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED551FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FE1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED551FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F3FF1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED561FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4001FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED561FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4011FC0EB7700D6E69B /* DBTEAMLOGFileRequestCloseDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED571FC0EB7400D6E69B /* DBTEAMLOGFileRequestCloseDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4021FC0EB7700D6E69B /* DBTEAMLOGFileRequestCloseDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED571FC0EB7400D6E69B /* DBTEAMLOGFileRequestCloseDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4031FC0EB7700D6E69B /* DBTEAMLOGFileRequestCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED581FC0EB7400D6E69B /* DBTEAMLOGFileRequestCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4041FC0EB7700D6E69B /* DBTEAMLOGFileRequestCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED581FC0EB7400D6E69B /* DBTEAMLOGFileRequestCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4051FC0EB7700D6E69B /* DBTEAMLOGFileRequestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED591FC0EB7400D6E69B /* DBTEAMLOGFileRequestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4061FC0EB7700D6E69B /* DBTEAMLOGFileRequestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED591FC0EB7400D6E69B /* DBTEAMLOGFileRequestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4071FC0EB7700D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5A1FC0EB7400D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4081FC0EB7700D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5A1FC0EB7400D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4091FC0EB7700D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5B1FC0EB7400D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40A1FC0EB7700D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5B1FC0EB7400D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40B1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5C1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40C1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5C1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40D1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5D1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40E1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5D1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F40F1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5E1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4101FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5E1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4111FC0EB7700D6E69B /* DBTEAMLOGFileRequestSendDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5F1FC0EB7400D6E69B /* DBTEAMLOGFileRequestSendDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4121FC0EB7700D6E69B /* DBTEAMLOGFileRequestSendDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED5F1FC0EB7400D6E69B /* DBTEAMLOGFileRequestSendDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4131FC0EB7700D6E69B /* DBTEAMLOGFileRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED601FC0EB7400D6E69B /* DBTEAMLOGFileRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4141FC0EB7700D6E69B /* DBTEAMLOGFileRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED601FC0EB7400D6E69B /* DBTEAMLOGFileRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4151FC0EB7700D6E69B /* DBTEAMLOGFileResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED611FC0EB7400D6E69B /* DBTEAMLOGFileResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4161FC0EB7700D6E69B /* DBTEAMLOGFileResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED611FC0EB7400D6E69B /* DBTEAMLOGFileResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4171FC0EB7700D6E69B /* DBTEAMLOGFileRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED621FC0EB7400D6E69B /* DBTEAMLOGFileRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4181FC0EB7700D6E69B /* DBTEAMLOGFileRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED621FC0EB7400D6E69B /* DBTEAMLOGFileRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4191FC0EB7700D6E69B /* DBTEAMLOGFileRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED631FC0EB7400D6E69B /* DBTEAMLOGFileRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41A1FC0EB7700D6E69B /* DBTEAMLOGFileRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED631FC0EB7400D6E69B /* DBTEAMLOGFileRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41B1FC0EB7700D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED641FC0EB7400D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41C1FC0EB7700D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED641FC0EB7400D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41D1FC0EB7700D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED651FC0EB7400D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41E1FC0EB7700D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED651FC0EB7400D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F41F1FC0EB7700D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED661FC0EB7400D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4201FC0EB7700D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED661FC0EB7400D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4211FC0EB7700D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED671FC0EB7400D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4221FC0EB7700D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED671FC0EB7400D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4231FC0EB7700D6E69B /* DBTEAMLOGFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED681FC0EB7400D6E69B /* DBTEAMLOGFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4241FC0EB7700D6E69B /* DBTEAMLOGFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED681FC0EB7400D6E69B /* DBTEAMLOGFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4251FC0EB7700D6E69B /* DBTEAMLOGGeoLocationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED691FC0EB7400D6E69B /* DBTEAMLOGGeoLocationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4261FC0EB7700D6E69B /* DBTEAMLOGGeoLocationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED691FC0EB7400D6E69B /* DBTEAMLOGGeoLocationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4271FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6A1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4281FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6A1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4291FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6B1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42A1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6B1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42B1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6C1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42C1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6C1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42D1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6D1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42E1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6D1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F42F1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6E1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4301FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6E1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4311FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6F1FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4321FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED6F1FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4331FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED701FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4341FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED701FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4351FC0EB7700D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED711FC0EB7400D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4361FC0EB7700D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED711FC0EB7400D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4371FC0EB7700D6E69B /* DBTEAMLOGGroupAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED721FC0EB7400D6E69B /* DBTEAMLOGGroupAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4381FC0EB7700D6E69B /* DBTEAMLOGGroupAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED721FC0EB7400D6E69B /* DBTEAMLOGGroupAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4391FC0EB7700D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED731FC0EB7400D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43A1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED731FC0EB7400D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43B1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED741FC0EB7400D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43C1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED741FC0EB7400D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43D1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED751FC0EB7400D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43E1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED751FC0EB7400D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F43F1FC0EB7700D6E69B /* DBTEAMLOGGroupCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED761FC0EB7400D6E69B /* DBTEAMLOGGroupCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4401FC0EB7700D6E69B /* DBTEAMLOGGroupCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED761FC0EB7400D6E69B /* DBTEAMLOGGroupCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4411FC0EB7700D6E69B /* DBTEAMLOGGroupDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED771FC0EB7400D6E69B /* DBTEAMLOGGroupDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4421FC0EB7700D6E69B /* DBTEAMLOGGroupDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED771FC0EB7400D6E69B /* DBTEAMLOGGroupDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4431FC0EB7700D6E69B /* DBTEAMLOGGroupJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED781FC0EB7400D6E69B /* DBTEAMLOGGroupJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4441FC0EB7700D6E69B /* DBTEAMLOGGroupJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED781FC0EB7400D6E69B /* DBTEAMLOGGroupJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4451FC0EB7700D6E69B /* DBTEAMLOGGroupLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED791FC0EB7400D6E69B /* DBTEAMLOGGroupLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4461FC0EB7700D6E69B /* DBTEAMLOGGroupLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED791FC0EB7400D6E69B /* DBTEAMLOGGroupLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4471FC0EB7700D6E69B /* DBTEAMLOGGroupMovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7A1FC0EB7400D6E69B /* DBTEAMLOGGroupMovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4481FC0EB7700D6E69B /* DBTEAMLOGGroupMovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7A1FC0EB7400D6E69B /* DBTEAMLOGGroupMovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4491FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7B1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44A1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7B1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44B1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7C1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44C1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7C1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44D1FC0EB7700D6E69B /* DBTEAMLOGGroupRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7D1FC0EB7400D6E69B /* DBTEAMLOGGroupRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44E1FC0EB7700D6E69B /* DBTEAMLOGGroupRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7D1FC0EB7400D6E69B /* DBTEAMLOGGroupRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F44F1FC0EB7700D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7E1FC0EB7400D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4501FC0EB7700D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7E1FC0EB7400D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4511FC0EB7700D6E69B /* DBTEAMLOGJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7F1FC0EB7400D6E69B /* DBTEAMLOGJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4521FC0EB7700D6E69B /* DBTEAMLOGJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED7F1FC0EB7400D6E69B /* DBTEAMLOGJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4531FC0EB7700D6E69B /* DBTEAMLOGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED801FC0EB7400D6E69B /* DBTEAMLOGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4541FC0EB7700D6E69B /* DBTEAMLOGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED801FC0EB7400D6E69B /* DBTEAMLOGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4551FC0EB7700D6E69B /* DBTEAMLOGLoginFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED811FC0EB7400D6E69B /* DBTEAMLOGLoginFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4561FC0EB7700D6E69B /* DBTEAMLOGLoginFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED811FC0EB7400D6E69B /* DBTEAMLOGLoginFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4571FC0EB7700D6E69B /* DBTEAMLOGLoginMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED821FC0EB7400D6E69B /* DBTEAMLOGLoginMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4581FC0EB7700D6E69B /* DBTEAMLOGLoginMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED821FC0EB7400D6E69B /* DBTEAMLOGLoginMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4591FC0EB7700D6E69B /* DBTEAMLOGLoginSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED831FC0EB7400D6E69B /* DBTEAMLOGLoginSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45A1FC0EB7700D6E69B /* DBTEAMLOGLoginSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED831FC0EB7400D6E69B /* DBTEAMLOGLoginSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45B1FC0EB7700D6E69B /* DBTEAMLOGLogoutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED841FC0EB7400D6E69B /* DBTEAMLOGLogoutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45C1FC0EB7700D6E69B /* DBTEAMLOGLogoutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED841FC0EB7400D6E69B /* DBTEAMLOGLogoutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45D1FC0EB7700D6E69B /* DBTEAMLOGMemberAddNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED851FC0EB7400D6E69B /* DBTEAMLOGMemberAddNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45E1FC0EB7700D6E69B /* DBTEAMLOGMemberAddNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED851FC0EB7400D6E69B /* DBTEAMLOGMemberAddNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F45F1FC0EB7700D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED861FC0EB7400D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4601FC0EB7700D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED861FC0EB7400D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4611FC0EB7700D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED871FC0EB7400D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4621FC0EB7700D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED871FC0EB7400D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4631FC0EB7700D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED881FC0EB7400D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4641FC0EB7700D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED881FC0EB7400D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4651FC0EB7700D6E69B /* DBTEAMLOGMemberChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED891FC0EB7400D6E69B /* DBTEAMLOGMemberChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4661FC0EB7700D6E69B /* DBTEAMLOGMemberChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED891FC0EB7400D6E69B /* DBTEAMLOGMemberChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4671FC0EB7700D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8A1FC0EB7400D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4681FC0EB7700D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8A1FC0EB7400D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4691FC0EB7700D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8B1FC0EB7400D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46A1FC0EB7700D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8B1FC0EB7400D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46B1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8C1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46C1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8C1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46D1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8D1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46E1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8D1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F46F1FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8E1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4701FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8E1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4711FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8F1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4721FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED8F1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4731FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED901FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4741FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED901FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4751FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED911FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4761FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED911FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4771FC0EB7700D6E69B /* DBTEAMLOGMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED921FC0EB7400D6E69B /* DBTEAMLOGMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4781FC0EB7700D6E69B /* DBTEAMLOGMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED921FC0EB7400D6E69B /* DBTEAMLOGMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4791FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED931FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47A1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED931FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47B1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED941FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47C1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED941FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47D1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED951FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47E1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED951FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F47F1FC0EB7700D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED961FC0EB7400D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4801FC0EB7700D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED961FC0EB7400D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4811FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED971FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4821FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED971FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4831FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED981FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4841FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED981FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4851FC0EB7700D6E69B /* DBTEAMLOGMissingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED991FC0EB7400D6E69B /* DBTEAMLOGMissingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4861FC0EB7700D6E69B /* DBTEAMLOGMissingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED991FC0EB7400D6E69B /* DBTEAMLOGMissingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4871FC0EB7700D6E69B /* DBTEAMLOGMobileSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9A1FC0EB7400D6E69B /* DBTEAMLOGMobileSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4881FC0EB7700D6E69B /* DBTEAMLOGMobileSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9A1FC0EB7400D6E69B /* DBTEAMLOGMobileSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4891FC0EB7700D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9B1FC0EB7400D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48A1FC0EB7700D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9B1FC0EB7400D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48B1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9C1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48C1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9C1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48D1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9D1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48E1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9D1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F48F1FC0EB7700D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9E1FC0EB7400D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4901FC0EB7700D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9E1FC0EB7400D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4911FC0EB7700D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9F1FC0EB7400D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4921FC0EB7700D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292ED9F1FC0EB7400D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4931FC0EB7700D6E69B /* DBTEAMLOGNoteAclLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA01FC0EB7400D6E69B /* DBTEAMLOGNoteAclLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4941FC0EB7700D6E69B /* DBTEAMLOGNoteAclLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA01FC0EB7400D6E69B /* DBTEAMLOGNoteAclLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4951FC0EB7700D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA11FC0EB7400D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4961FC0EB7700D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA11FC0EB7400D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4971FC0EB7700D6E69B /* DBTEAMLOGNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA21FC0EB7400D6E69B /* DBTEAMLOGNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4981FC0EB7700D6E69B /* DBTEAMLOGNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA21FC0EB7400D6E69B /* DBTEAMLOGNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4991FC0EB7700D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA31FC0EB7400D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49A1FC0EB7700D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA31FC0EB7400D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49B1FC0EB7700D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA41FC0EB7400D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49C1FC0EB7700D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA41FC0EB7400D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49D1FC0EB7700D6E69B /* DBTEAMLOGOriginLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA51FC0EB7400D6E69B /* DBTEAMLOGOriginLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49E1FC0EB7700D6E69B /* DBTEAMLOGOriginLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA51FC0EB7400D6E69B /* DBTEAMLOGOriginLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F49F1FC0EB7700D6E69B /* DBTEAMLOGPaperAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA61FC0EB7400D6E69B /* DBTEAMLOGPaperAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A01FC0EB7700D6E69B /* DBTEAMLOGPaperAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA61FC0EB7400D6E69B /* DBTEAMLOGPaperAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A11FC0EB7700D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA71FC0EB7400D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A21FC0EB7700D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA71FC0EB7400D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A31FC0EB7700D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA81FC0EB7400D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A41FC0EB7700D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA81FC0EB7400D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A51FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA91FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A61FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDA91FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A71FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAA1FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A81FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAA1FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4A91FC0EB7700D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAB1FC0EB7400D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AA1FC0EB7700D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAB1FC0EB7400D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AB1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAC1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AC1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAC1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AD1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAD1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AE1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAD1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4AF1FC0EB7700D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAE1FC0EB7400D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B01FC0EB7700D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAE1FC0EB7400D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B11FC0EB7700D6E69B /* DBTEAMLOGPaperContentCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAF1FC0EB7400D6E69B /* DBTEAMLOGPaperContentCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B21FC0EB7700D6E69B /* DBTEAMLOGPaperContentCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDAF1FC0EB7400D6E69B /* DBTEAMLOGPaperContentCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B31FC0EB7700D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB01FC0EB7400D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B41FC0EB7700D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB01FC0EB7400D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B51FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB11FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B61FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB11FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B71FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB21FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B81FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB21FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4B91FC0EB7700D6E69B /* DBTEAMLOGPaperContentRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB31FC0EB7400D6E69B /* DBTEAMLOGPaperContentRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BA1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB31FC0EB7400D6E69B /* DBTEAMLOGPaperContentRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BB1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB41FC0EB7400D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BC1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB41FC0EB7400D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB51FC0EB7400D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB51FC0EB7400D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4BF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB61FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C01FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB61FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C11FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB71FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C21FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB71FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C31FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB81FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C41FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB81FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C51FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB91FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C61FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDB91FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C71FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBA1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C81FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBA1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4C91FC0EB7700D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBB1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CA1FC0EB7700D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBB1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CB1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBC1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CC1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBC1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBD1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBD1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4CF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBE1FC0EB7400D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D01FC0EB7700D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBE1FC0EB7400D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D11FC0EB7700D6E69B /* DBTEAMLOGPaperDocMentionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBF1FC0EB7400D6E69B /* DBTEAMLOGPaperDocMentionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D21FC0EB7700D6E69B /* DBTEAMLOGPaperDocMentionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDBF1FC0EB7400D6E69B /* DBTEAMLOGPaperDocMentionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D31FC0EB7700D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC01FC0EB7400D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D41FC0EB7700D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC01FC0EB7400D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D51FC0EB7700D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC11FC0EB7400D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D61FC0EB7700D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC11FC0EB7400D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D71FC0EB7700D6E69B /* DBTEAMLOGPaperDocRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC21FC0EB7400D6E69B /* DBTEAMLOGPaperDocRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D81FC0EB7700D6E69B /* DBTEAMLOGPaperDocRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC21FC0EB7400D6E69B /* DBTEAMLOGPaperDocRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4D91FC0EB7700D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC31FC0EB7400D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DA1FC0EB7700D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC31FC0EB7400D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DB1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC41FC0EB7400D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DC1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC41FC0EB7400D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC51FC0EB7400D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC51FC0EB7400D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4DF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC61FC0EB7400D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E01FC0EB7700D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC61FC0EB7400D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E11FC0EB7700D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC71FC0EB7400D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E21FC0EB7700D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC71FC0EB7400D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E31FC0EB7700D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC81FC0EB7400D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E41FC0EB7700D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC81FC0EB7400D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E51FC0EB7700D6E69B /* DBTEAMLOGPaperDocViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC91FC0EB7400D6E69B /* DBTEAMLOGPaperDocViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E61FC0EB7700D6E69B /* DBTEAMLOGPaperDocViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDC91FC0EB7400D6E69B /* DBTEAMLOGPaperDocViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E71FC0EB7700D6E69B /* DBTEAMLOGPaperDownloadFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCA1FC0EB7400D6E69B /* DBTEAMLOGPaperDownloadFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E81FC0EB7700D6E69B /* DBTEAMLOGPaperDownloadFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCA1FC0EB7400D6E69B /* DBTEAMLOGPaperDownloadFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4E91FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCB1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4EA1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCB1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4EB1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCC1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4EC1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCC1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4ED1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCD1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4EE1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCD1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4EF1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCE1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F01FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCE1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F11FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCF1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F21FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDCF1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F31FC0EB7700D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD01FC0EB7400D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F41FC0EB7700D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD01FC0EB7400D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F51FC0EB7700D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD11FC0EB7400D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F61FC0EB7700D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD11FC0EB7400D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F71FC0EB7700D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD21FC0EB7400D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F81FC0EB7700D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD21FC0EB7400D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4F91FC0EB7700D6E69B /* DBTEAMLOGPaperFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD31FC0EB7400D6E69B /* DBTEAMLOGPaperFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FA1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD31FC0EB7400D6E69B /* DBTEAMLOGPaperFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FB1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD41FC0EB7400D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FC1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD41FC0EB7400D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FD1FC0EB7700D6E69B /* DBTEAMLOGPaperMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD51FC0EB7400D6E69B /* DBTEAMLOGPaperMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FE1FC0EB7700D6E69B /* DBTEAMLOGPaperMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD51FC0EB7400D6E69B /* DBTEAMLOGPaperMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F4FF1FC0EB7700D6E69B /* DBTEAMLOGParticipantLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD61FC0EB7400D6E69B /* DBTEAMLOGParticipantLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5001FC0EB7700D6E69B /* DBTEAMLOGParticipantLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD61FC0EB7400D6E69B /* DBTEAMLOGParticipantLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5011FC0EB7700D6E69B /* DBTEAMLOGPasswordChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD71FC0EB7400D6E69B /* DBTEAMLOGPasswordChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5021FC0EB7700D6E69B /* DBTEAMLOGPasswordChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD71FC0EB7400D6E69B /* DBTEAMLOGPasswordChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5031FC0EB7700D6E69B /* DBTEAMLOGPasswordResetAllDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD81FC0EB7400D6E69B /* DBTEAMLOGPasswordResetAllDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5041FC0EB7700D6E69B /* DBTEAMLOGPasswordResetAllDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD81FC0EB7400D6E69B /* DBTEAMLOGPasswordResetAllDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5051FC0EB7700D6E69B /* DBTEAMLOGPasswordResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD91FC0EB7400D6E69B /* DBTEAMLOGPasswordResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5061FC0EB7700D6E69B /* DBTEAMLOGPasswordResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDD91FC0EB7400D6E69B /* DBTEAMLOGPasswordResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5071FC0EB7700D6E69B /* DBTEAMLOGPathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDA1FC0EB7400D6E69B /* DBTEAMLOGPathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5081FC0EB7700D6E69B /* DBTEAMLOGPathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDA1FC0EB7400D6E69B /* DBTEAMLOGPathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5091FC0EB7700D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDB1FC0EB7400D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50A1FC0EB7700D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDB1FC0EB7400D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50B1FC0EB7700D6E69B /* DBTEAMLOGPlacementRestriction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDC1FC0EB7400D6E69B /* DBTEAMLOGPlacementRestriction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50C1FC0EB7700D6E69B /* DBTEAMLOGPlacementRestriction.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDC1FC0EB7400D6E69B /* DBTEAMLOGPlacementRestriction.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50D1FC0EB7700D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDD1FC0EB7400D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50E1FC0EB7700D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDD1FC0EB7400D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F50F1FC0EB7700D6E69B /* DBTEAMLOGResellerLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDE1FC0EB7400D6E69B /* DBTEAMLOGResellerLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5101FC0EB7700D6E69B /* DBTEAMLOGResellerLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDE1FC0EB7400D6E69B /* DBTEAMLOGResellerLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5111FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDF1FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5121FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDDF1FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5131FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE01FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5141FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE01FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5151FC0EB7700D6E69B /* DBTEAMLOGSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE11FC0EB7400D6E69B /* DBTEAMLOGSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5161FC0EB7700D6E69B /* DBTEAMLOGSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE11FC0EB7400D6E69B /* DBTEAMLOGSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5171FC0EB7700D6E69B /* DBTEAMLOGSfAddGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE21FC0EB7400D6E69B /* DBTEAMLOGSfAddGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5181FC0EB7700D6E69B /* DBTEAMLOGSfAddGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE21FC0EB7400D6E69B /* DBTEAMLOGSfAddGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5191FC0EB7700D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE31FC0EB7400D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51A1FC0EB7700D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE31FC0EB7400D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51B1FC0EB7700D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE41FC0EB7400D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51C1FC0EB7700D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE41FC0EB7400D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51D1FC0EB7700D6E69B /* DBTEAMLOGSfInviteGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE51FC0EB7400D6E69B /* DBTEAMLOGSfInviteGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51E1FC0EB7700D6E69B /* DBTEAMLOGSfInviteGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE51FC0EB7400D6E69B /* DBTEAMLOGSfInviteGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F51F1FC0EB7700D6E69B /* DBTEAMLOGSfNestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE61FC0EB7400D6E69B /* DBTEAMLOGSfNestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5201FC0EB7700D6E69B /* DBTEAMLOGSfNestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE61FC0EB7400D6E69B /* DBTEAMLOGSfNestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5211FC0EB7700D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE71FC0EB7400D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5221FC0EB7700D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE71FC0EB7400D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5231FC0EB7700D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE81FC0EB7400D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5241FC0EB7700D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE81FC0EB7400D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5251FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE91FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5261FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDE91FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5271FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEA1FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5281FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEA1FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5291FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEB1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52A1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEB1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52B1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEC1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52C1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEC1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52D1FC0EB7700D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDED1FC0EB7400D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52E1FC0EB7700D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDED1FC0EB7400D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F52F1FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5301FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5311FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5321FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDEF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5331FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF01FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5341FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF01FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5351FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF11FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5361FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF11FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5371FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF21FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5381FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF21FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5391FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF31FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53A1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF31FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53B1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF41FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53C1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF41FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53D1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF51FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53E1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF51FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F53F1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF61FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5401FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF61FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5411FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF71FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5421FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF71FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5431FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF81FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5441FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF81FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5451FC0EB7700D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF91FC0EB7400D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5461FC0EB7700D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDF91FC0EB7400D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5471FC0EB7700D6E69B /* DBTEAMLOGSharedContentCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFA1FC0EB7400D6E69B /* DBTEAMLOGSharedContentCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5481FC0EB7700D6E69B /* DBTEAMLOGSharedContentCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFA1FC0EB7400D6E69B /* DBTEAMLOGSharedContentCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5491FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFB1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54A1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFB1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54B1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFC1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54C1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFC1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54D1FC0EB7700D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFD1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54E1FC0EB7700D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFD1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F54F1FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5501FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5511FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5521FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EDFF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5531FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE001FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5541FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE001FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5551FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE011FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5561FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE011FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5571FC0EB7800D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE021FC0EB7400D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5581FC0EB7800D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE021FC0EB7400D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5591FC0EB7800D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE031FC0EB7400D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55A1FC0EB7800D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE031FC0EB7400D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55B1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE041FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55C1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE041FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55D1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE051FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55E1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE051FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F55F1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE061FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5601FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE061FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5611FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE071FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5621FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE071FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5631FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE081FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5641FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE081FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5651FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE091FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5661FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE091FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5671FC0EB7800D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0A1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5681FC0EB7800D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0A1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5691FC0EB7800D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0B1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56A1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0B1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56B1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0C1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56C1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0C1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56D1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0D1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56E1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0D1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F56F1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0E1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5701FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0E1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5711FC0EB7800D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0F1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5721FC0EB7800D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE0F1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5731FC0EB7800D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE101FC0EB7400D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5741FC0EB7800D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE101FC0EB7400D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5751FC0EB7800D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE111FC0EB7400D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5761FC0EB7800D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE111FC0EB7400D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5771FC0EB7800D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE121FC0EB7400D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5781FC0EB7800D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE121FC0EB7400D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5791FC0EB7800D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE131FC0EB7400D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57A1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE131FC0EB7400D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57B1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE141FC0EB7400D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57C1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE141FC0EB7400D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57D1FC0EB7800D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE151FC0EB7400D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57E1FC0EB7800D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE151FC0EB7400D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F57F1FC0EB7800D6E69B /* DBTEAMLOGSharingLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE161FC0EB7400D6E69B /* DBTEAMLOGSharingLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5801FC0EB7800D6E69B /* DBTEAMLOGSharingLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE161FC0EB7400D6E69B /* DBTEAMLOGSharingLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5811FC0EB7800D6E69B /* DBTEAMLOGSharingMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE171FC0EB7400D6E69B /* DBTEAMLOGSharingMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5821FC0EB7800D6E69B /* DBTEAMLOGSharingMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE171FC0EB7400D6E69B /* DBTEAMLOGSharingMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5831FC0EB7800D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE181FC0EB7400D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5841FC0EB7800D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE181FC0EB7400D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5851FC0EB7800D6E69B /* DBTEAMLOGShmodelCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE191FC0EB7400D6E69B /* DBTEAMLOGShmodelCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5861FC0EB7800D6E69B /* DBTEAMLOGShmodelCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE191FC0EB7400D6E69B /* DBTEAMLOGShmodelCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5871FC0EB7800D6E69B /* DBTEAMLOGShmodelDisableDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1A1FC0EB7400D6E69B /* DBTEAMLOGShmodelDisableDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5881FC0EB7800D6E69B /* DBTEAMLOGShmodelDisableDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1A1FC0EB7400D6E69B /* DBTEAMLOGShmodelDisableDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5891FC0EB7800D6E69B /* DBTEAMLOGShmodelFbShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1B1FC0EB7400D6E69B /* DBTEAMLOGShmodelFbShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58A1FC0EB7800D6E69B /* DBTEAMLOGShmodelFbShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1B1FC0EB7400D6E69B /* DBTEAMLOGShmodelFbShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58B1FC0EB7800D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1C1FC0EB7400D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58C1FC0EB7800D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1C1FC0EB7400D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58D1FC0EB7800D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1D1FC0EB7400D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58E1FC0EB7800D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1D1FC0EB7400D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F58F1FC0EB7800D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1E1FC0EB7400D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5901FC0EB7800D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1E1FC0EB7400D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5911FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1F1FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5921FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE1F1FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5931FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE201FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5941FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE201FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5951FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE211FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5961FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE211FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5971FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE221FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5981FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE221FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5991FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE231FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59A1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE231FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59B1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE241FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59C1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE241FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59D1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE251FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59E1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE251FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F59F1FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE261FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A01FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE261FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A11FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE271FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A21FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE271FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A31FC0EB7800D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE281FC0EB7400D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A41FC0EB7800D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE281FC0EB7400D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A51FC0EB7800D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE291FC0EB7400D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A61FC0EB7800D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE291FC0EB7400D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A71FC0EB7800D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2A1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A81FC0EB7800D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2A1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5A91FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2B1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AA1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2B1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AB1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2C1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AC1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2C1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AD1FC0EB7800D6E69B /* DBTEAMLOGSpaceLimitsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2D1FC0EB7400D6E69B /* DBTEAMLOGSpaceLimitsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AE1FC0EB7800D6E69B /* DBTEAMLOGSpaceLimitsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2D1FC0EB7400D6E69B /* DBTEAMLOGSpaceLimitsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5AF1FC0EB7800D6E69B /* DBTEAMLOGSsoAddCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2E1FC0EB7400D6E69B /* DBTEAMLOGSsoAddCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B01FC0EB7800D6E69B /* DBTEAMLOGSsoAddCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2E1FC0EB7400D6E69B /* DBTEAMLOGSsoAddCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B11FC0EB7800D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2F1FC0EB7400D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B21FC0EB7800D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE2F1FC0EB7400D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B31FC0EB7800D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE301FC0EB7400D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B41FC0EB7800D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE301FC0EB7400D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B51FC0EB7800D6E69B /* DBTEAMLOGSsoChangeCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE311FC0EB7400D6E69B /* DBTEAMLOGSsoChangeCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B61FC0EB7800D6E69B /* DBTEAMLOGSsoChangeCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE311FC0EB7400D6E69B /* DBTEAMLOGSsoChangeCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B71FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE321FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B81FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE321FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5B91FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE331FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BA1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE331FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BB1FC0EB7800D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE341FC0EB7400D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BC1FC0EB7800D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE341FC0EB7400D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BD1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE351FC0EB7400D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BE1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE351FC0EB7400D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5BF1FC0EB7800D6E69B /* DBTEAMLOGSsoErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE361FC0EB7400D6E69B /* DBTEAMLOGSsoErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C01FC0EB7800D6E69B /* DBTEAMLOGSsoErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE361FC0EB7400D6E69B /* DBTEAMLOGSsoErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C11FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE371FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C21FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE371FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C31FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE381FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C41FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE381FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C51FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE391FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C61FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE391FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C71FC0EB7800D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3A1FC0EB7400D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C81FC0EB7800D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3A1FC0EB7400D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5C91FC0EB7800D6E69B /* DBTEAMLOGTeamEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3B1FC0EB7400D6E69B /* DBTEAMLOGTeamEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CA1FC0EB7800D6E69B /* DBTEAMLOGTeamEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3B1FC0EB7400D6E69B /* DBTEAMLOGTeamEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CB1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3C1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CC1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3C1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CD1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3D1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CE1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3D1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5CF1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3E1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D01FC0EB7800D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3E1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D11FC0EB7800D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3F1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D21FC0EB7800D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE3F1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D31FC0EB7800D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE401FC0EB7400D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D41FC0EB7800D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE401FC0EB7400D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D51FC0EB7800D6E69B /* DBTEAMLOGTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE411FC0EB7400D6E69B /* DBTEAMLOGTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D61FC0EB7800D6E69B /* DBTEAMLOGTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE411FC0EB7400D6E69B /* DBTEAMLOGTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D71FC0EB7800D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE421FC0EB7400D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D81FC0EB7800D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE421FC0EB7400D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5D91FC0EB7800D6E69B /* DBTEAMLOGTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE431FC0EB7400D6E69B /* DBTEAMLOGTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DA1FC0EB7800D6E69B /* DBTEAMLOGTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE431FC0EB7400D6E69B /* DBTEAMLOGTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DB1FC0EB7800D6E69B /* DBTEAMLOGTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE441FC0EB7400D6E69B /* DBTEAMLOGTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DC1FC0EB7800D6E69B /* DBTEAMLOGTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE441FC0EB7400D6E69B /* DBTEAMLOGTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DD1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeFromDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE451FC0EB7400D6E69B /* DBTEAMLOGTeamMergeFromDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DE1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeFromDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE451FC0EB7400D6E69B /* DBTEAMLOGTeamMergeFromDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5DF1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeToDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE461FC0EB7400D6E69B /* DBTEAMLOGTeamMergeToDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E01FC0EB7800D6E69B /* DBTEAMLOGTeamMergeToDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE461FC0EB7400D6E69B /* DBTEAMLOGTeamMergeToDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E11FC0EB7800D6E69B /* DBTEAMLOGTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE471FC0EB7400D6E69B /* DBTEAMLOGTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E21FC0EB7800D6E69B /* DBTEAMLOGTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE471FC0EB7400D6E69B /* DBTEAMLOGTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E31FC0EB7800D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE481FC0EB7400D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E41FC0EB7800D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE481FC0EB7400D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E51FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE491FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E61FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE491FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E71FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4A1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E81FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4A1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5E91FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4B1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5EA1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4B1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5EB1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4C1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5EC1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4C1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5ED1FC0EB7800D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4D1FC0EB7400D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5EE1FC0EB7800D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4D1FC0EB7400D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5EF1FC0EB7800D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4E1FC0EB7400D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F01FC0EB7800D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4E1FC0EB7400D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F11FC0EB7800D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4F1FC0EB7400D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F21FC0EB7800D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE4F1FC0EB7400D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F31FC0EB7800D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE501FC0EB7400D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F41FC0EB7800D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE501FC0EB7400D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F51FC0EB7800D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE511FC0EB7400D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F61FC0EB7800D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE511FC0EB7400D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F71FC0EB7800D6E69B /* DBTEAMLOGTfaConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE521FC0EB7400D6E69B /* DBTEAMLOGTfaConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F81FC0EB7800D6E69B /* DBTEAMLOGTfaConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE521FC0EB7400D6E69B /* DBTEAMLOGTfaConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5F91FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE531FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FA1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE531FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FB1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE541FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FC1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE541FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FD1FC0EB7800D6E69B /* DBTEAMLOGTfaResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE551FC0EB7400D6E69B /* DBTEAMLOGTfaResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FE1FC0EB7800D6E69B /* DBTEAMLOGTfaResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE551FC0EB7400D6E69B /* DBTEAMLOGTfaResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F5FF1FC0EB7800D6E69B /* DBTEAMLOGTimeUnit.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE561FC0EB7400D6E69B /* DBTEAMLOGTimeUnit.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6001FC0EB7800D6E69B /* DBTEAMLOGTimeUnit.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE561FC0EB7400D6E69B /* DBTEAMLOGTimeUnit.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6011FC0EB7800D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE571FC0EB7400D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6021FC0EB7800D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE571FC0EB7400D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6031FC0EB7800D6E69B /* DBTEAMLOGTwoAccountPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE581FC0EB7400D6E69B /* DBTEAMLOGTwoAccountPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6041FC0EB7800D6E69B /* DBTEAMLOGTwoAccountPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE581FC0EB7400D6E69B /* DBTEAMLOGTwoAccountPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6051FC0EB7800D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE591FC0EB7400D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6061FC0EB7800D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE591FC0EB7400D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6071FC0EB7800D6E69B /* DBTEAMLOGUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5A1FC0EB7400D6E69B /* DBTEAMLOGUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6081FC0EB7800D6E69B /* DBTEAMLOGUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5A1FC0EB7400D6E69B /* DBTEAMLOGUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6091FC0EB7800D6E69B /* DBTEAMLOGUserNameLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5B1FC0EB7400D6E69B /* DBTEAMLOGUserNameLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60A1FC0EB7800D6E69B /* DBTEAMLOGUserNameLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5B1FC0EB7400D6E69B /* DBTEAMLOGUserNameLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60B1FC0EB7800D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5C1FC0EB7400D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60C1FC0EB7800D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5C1FC0EB7400D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60D1FC0EB7800D6E69B /* DBTEAMLOGWebSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5D1FC0EB7400D6E69B /* DBTEAMLOGWebSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60E1FC0EB7800D6E69B /* DBTEAMLOGWebSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5D1FC0EB7400D6E69B /* DBTEAMLOGWebSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F60F1FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5E1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6101FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5E1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6111FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5F1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6121FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE5F1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6131FC0EB7800D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE601FC0EB7400D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6141FC0EB7800D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE601FC0EB7400D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6151FC0EB7800D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE611FC0EB7400D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6161FC0EB7800D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE611FC0EB7400D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6171FC0EB7800D6E69B /* DBTeamPoliciesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE631FC0EB7400D6E69B /* DBTeamPoliciesObjects.m */; }; - F292F6181FC0EB7800D6E69B /* DBTeamPoliciesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE631FC0EB7400D6E69B /* DBTeamPoliciesObjects.m */; }; - F292F6191FC0EB7800D6E69B /* DBTEAMPOLICIESEmmState.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE651FC0EB7400D6E69B /* DBTEAMPOLICIESEmmState.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61A1FC0EB7800D6E69B /* DBTEAMPOLICIESEmmState.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE651FC0EB7400D6E69B /* DBTEAMPOLICIESEmmState.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61B1FC0EB7800D6E69B /* DBTEAMPOLICIESGroupCreation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE661FC0EB7400D6E69B /* DBTEAMPOLICIESGroupCreation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61C1FC0EB7800D6E69B /* DBTEAMPOLICIESGroupCreation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE661FC0EB7400D6E69B /* DBTEAMPOLICIESGroupCreation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61D1FC0EB7800D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE671FC0EB7400D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61E1FC0EB7800D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE671FC0EB7400D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F61F1FC0EB7800D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE681FC0EB7400D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6201FC0EB7800D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE681FC0EB7400D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6211FC0EB7800D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE691FC0EB7400D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6221FC0EB7800D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE691FC0EB7400D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6231FC0EB7800D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6A1FC0EB7400D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6241FC0EB7800D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6A1FC0EB7400D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6251FC0EB7800D6E69B /* DBTEAMPOLICIESRolloutMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6B1FC0EB7400D6E69B /* DBTEAMPOLICIESRolloutMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6261FC0EB7800D6E69B /* DBTEAMPOLICIESRolloutMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6B1FC0EB7400D6E69B /* DBTEAMPOLICIESRolloutMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6271FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6C1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6281FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6C1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6291FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6D1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62A1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6D1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62B1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6E1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62C1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6E1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62D1FC0EB7800D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6F1FC0EB7400D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62E1FC0EB7800D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE6F1FC0EB7400D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F62F1FC0EB7800D6E69B /* DBTEAMPOLICIESSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE701FC0EB7400D6E69B /* DBTEAMPOLICIESSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6301FC0EB7800D6E69B /* DBTEAMPOLICIESSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE701FC0EB7400D6E69B /* DBTEAMPOLICIESSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6311FC0EB7800D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE711FC0EB7400D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6321FC0EB7800D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE711FC0EB7400D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6331FC0EB7800D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE721FC0EB7400D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6341FC0EB7800D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE721FC0EB7400D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6351FC0EB7800D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE731FC0EB7400D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6361FC0EB7800D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE731FC0EB7400D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6371FC0EB7800D6E69B /* DBUsersObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE751FC0EB7400D6E69B /* DBUsersObjects.m */; }; - F292F6381FC0EB7800D6E69B /* DBUsersObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE751FC0EB7400D6E69B /* DBUsersObjects.m */; }; - F292F6391FC0EB7800D6E69B /* DBUSERSAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE771FC0EB7400D6E69B /* DBUSERSAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63A1FC0EB7800D6E69B /* DBUSERSAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE771FC0EB7400D6E69B /* DBUSERSAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63B1FC0EB7800D6E69B /* DBUSERSBasicAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE781FC0EB7400D6E69B /* DBUSERSBasicAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63C1FC0EB7800D6E69B /* DBUSERSBasicAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE781FC0EB7400D6E69B /* DBUSERSBasicAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63D1FC0EB7800D6E69B /* DBUSERSFullAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE791FC0EB7400D6E69B /* DBUSERSFullAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63E1FC0EB7800D6E69B /* DBUSERSFullAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE791FC0EB7400D6E69B /* DBUSERSFullAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F63F1FC0EB7800D6E69B /* DBUSERSFullTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7A1FC0EB7400D6E69B /* DBUSERSFullTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6401FC0EB7800D6E69B /* DBUSERSFullTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7A1FC0EB7400D6E69B /* DBUSERSFullTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6411FC0EB7800D6E69B /* DBUSERSGetAccountArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7B1FC0EB7400D6E69B /* DBUSERSGetAccountArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6421FC0EB7800D6E69B /* DBUSERSGetAccountArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7B1FC0EB7400D6E69B /* DBUSERSGetAccountArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6431FC0EB7800D6E69B /* DBUSERSGetAccountBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7C1FC0EB7400D6E69B /* DBUSERSGetAccountBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6441FC0EB7800D6E69B /* DBUSERSGetAccountBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7C1FC0EB7400D6E69B /* DBUSERSGetAccountBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6451FC0EB7800D6E69B /* DBUSERSGetAccountBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7D1FC0EB7400D6E69B /* DBUSERSGetAccountBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6461FC0EB7800D6E69B /* DBUSERSGetAccountBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7D1FC0EB7400D6E69B /* DBUSERSGetAccountBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6471FC0EB7800D6E69B /* DBUSERSGetAccountError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7E1FC0EB7400D6E69B /* DBUSERSGetAccountError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6481FC0EB7800D6E69B /* DBUSERSGetAccountError.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7E1FC0EB7400D6E69B /* DBUSERSGetAccountError.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6491FC0EB7800D6E69B /* DBUSERSIndividualSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7F1FC0EB7400D6E69B /* DBUSERSIndividualSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64A1FC0EB7800D6E69B /* DBUSERSIndividualSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE7F1FC0EB7400D6E69B /* DBUSERSIndividualSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64B1FC0EB7800D6E69B /* DBUSERSName.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE801FC0EB7400D6E69B /* DBUSERSName.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64C1FC0EB7800D6E69B /* DBUSERSName.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE801FC0EB7400D6E69B /* DBUSERSName.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64D1FC0EB7800D6E69B /* DBUSERSSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE811FC0EB7400D6E69B /* DBUSERSSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64E1FC0EB7800D6E69B /* DBUSERSSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE811FC0EB7400D6E69B /* DBUSERSSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F64F1FC0EB7800D6E69B /* DBUSERSSpaceUsage.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE821FC0EB7400D6E69B /* DBUSERSSpaceUsage.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6501FC0EB7800D6E69B /* DBUSERSSpaceUsage.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE821FC0EB7400D6E69B /* DBUSERSSpaceUsage.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6511FC0EB7800D6E69B /* DBUSERSTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE831FC0EB7400D6E69B /* DBUSERSTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6521FC0EB7800D6E69B /* DBUSERSTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE831FC0EB7400D6E69B /* DBUSERSTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6531FC0EB7800D6E69B /* DBUSERSTeamSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE841FC0EB7400D6E69B /* DBUSERSTeamSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6541FC0EB7800D6E69B /* DBUSERSTeamSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE841FC0EB7400D6E69B /* DBUSERSTeamSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6551FC0EB7800D6E69B /* DBUsersCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE861FC0EB7400D6E69B /* DBUsersCommonObjects.m */; }; - F292F6561FC0EB7800D6E69B /* DBUsersCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE861FC0EB7400D6E69B /* DBUsersCommonObjects.m */; }; - F292F6571FC0EB7800D6E69B /* DBUSERSCOMMONAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE881FC0EB7400D6E69B /* DBUSERSCOMMONAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6581FC0EB7800D6E69B /* DBUSERSCOMMONAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE881FC0EB7400D6E69B /* DBUSERSCOMMONAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6591FC0EB7800D6E69B /* DBAppBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8A1FC0EB7400D6E69B /* DBAppBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F65A1FC0EB7800D6E69B /* DBAppBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8A1FC0EB7400D6E69B /* DBAppBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F65B1FC0EB7800D6E69B /* DBAppBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8B1FC0EB7400D6E69B /* DBAppBaseClient.m */; }; - F292F65C1FC0EB7800D6E69B /* DBAppBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8B1FC0EB7400D6E69B /* DBAppBaseClient.m */; }; - F292F65D1FC0EB7800D6E69B /* DBTeamBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8C1FC0EB7400D6E69B /* DBTeamBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F65E1FC0EB7800D6E69B /* DBTeamBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8C1FC0EB7400D6E69B /* DBTeamBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F65F1FC0EB7800D6E69B /* DBTeamBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8D1FC0EB7400D6E69B /* DBTeamBaseClient.m */; }; - F292F6601FC0EB7800D6E69B /* DBTeamBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8D1FC0EB7400D6E69B /* DBTeamBaseClient.m */; }; - F292F6611FC0EB7800D6E69B /* DBUserBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8E1FC0EB7400D6E69B /* DBUserBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6621FC0EB7800D6E69B /* DBUserBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE8E1FC0EB7400D6E69B /* DBUserBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6631FC0EB7800D6E69B /* DBUserBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8F1FC0EB7400D6E69B /* DBUserBaseClient.m */; }; - F292F6641FC0EB7800D6E69B /* DBUserBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE8F1FC0EB7400D6E69B /* DBUserBaseClient.m */; }; - F292F6651FC0EB7800D6E69B /* DBSDKImportsGenerated.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE901FC0EB7400D6E69B /* DBSDKImportsGenerated.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6661FC0EB7800D6E69B /* DBSDKImportsGenerated.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE901FC0EB7400D6E69B /* DBSDKImportsGenerated.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6671FC0EB7800D6E69B /* DBSerializableProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE921FC0EB7400D6E69B /* DBSerializableProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6681FC0EB7800D6E69B /* DBSerializableProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE921FC0EB7400D6E69B /* DBSerializableProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6691FC0EB7800D6E69B /* DBStoneBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE931FC0EB7400D6E69B /* DBStoneBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F66A1FC0EB7800D6E69B /* DBStoneBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE931FC0EB7400D6E69B /* DBStoneBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F66B1FC0EB7800D6E69B /* DBStoneBase.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE941FC0EB7400D6E69B /* DBStoneBase.m */; }; - F292F66C1FC0EB7800D6E69B /* DBStoneBase.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE941FC0EB7400D6E69B /* DBStoneBase.m */; }; - F292F66D1FC0EB7800D6E69B /* DBStoneSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE951FC0EB7400D6E69B /* DBStoneSerializers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F66E1FC0EB7800D6E69B /* DBStoneSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE951FC0EB7400D6E69B /* DBStoneSerializers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F66F1FC0EB7800D6E69B /* DBStoneSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE961FC0EB7400D6E69B /* DBStoneSerializers.m */; }; - F292F6701FC0EB7800D6E69B /* DBStoneSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE961FC0EB7400D6E69B /* DBStoneSerializers.m */; }; - F292F6711FC0EB7800D6E69B /* DBStoneValidators.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE971FC0EB7400D6E69B /* DBStoneValidators.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6721FC0EB7800D6E69B /* DBStoneValidators.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE971FC0EB7400D6E69B /* DBStoneValidators.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6731FC0EB7800D6E69B /* DBStoneValidators.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE981FC0EB7400D6E69B /* DBStoneValidators.m */; }; - F292F6741FC0EB7800D6E69B /* DBStoneValidators.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE981FC0EB7400D6E69B /* DBStoneValidators.m */; }; - F292F6751FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9A1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6761FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9A1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6771FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9B1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.m */; }; - F292F6781FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9B1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.m */; }; - F292F6791FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9C1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F67A1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9C1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F67B1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9D1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.m */; }; - F292F67C1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9D1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.m */; }; - F292F67D1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9E1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F67E1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EE9E1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F67F1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9F1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m */; }; - F292F6801FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EE9F1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m */; }; - F292F6811FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA01FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6821FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA01FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6831FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA11FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m */; }; - F292F6841FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA11FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m */; }; - F292F6851FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA21FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6861FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA21FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6871FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA31FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.m */; }; - F292F6881FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA31FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.m */; }; - F292F6891FC0EB7800D6E69B /* DBFILESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA41FC0EB7400D6E69B /* DBFILESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F68A1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA41FC0EB7400D6E69B /* DBFILESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F68B1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA51FC0EB7400D6E69B /* DBFILESUserAuthRoutes.m */; }; - F292F68C1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA51FC0EB7400D6E69B /* DBFILESUserAuthRoutes.m */; }; - F292F68D1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA61FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F68E1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA61FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F68F1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA71FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.m */; }; - F292F6901FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA71FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.m */; }; - F292F6911FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA81FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6921FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEA81FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6931FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA91FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.m */; }; - F292F6941FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEA91FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.m */; }; - F292F6951FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAA1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6961FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAA1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6971FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAB1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.m */; }; - F292F6981FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAB1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.m */; }; - F292F6991FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAC1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F69A1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAC1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F69B1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAD1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.m */; }; - F292F69C1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAD1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.m */; }; - F292F69D1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAE1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F69E1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEAE1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F69F1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAF1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.m */; }; - F292F6A01FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEAF1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.m */; }; - F292F6A11FC0EB7800D6E69B /* DBAUTHRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB11FC0EB7400D6E69B /* DBAUTHRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6A21FC0EB7800D6E69B /* DBAUTHRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB11FC0EB7400D6E69B /* DBAUTHRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6A31FC0EB7800D6E69B /* DBAUTHRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB21FC0EB7400D6E69B /* DBAUTHRouteObjects.m */; }; - F292F6A41FC0EB7800D6E69B /* DBAUTHRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB21FC0EB7400D6E69B /* DBAUTHRouteObjects.m */; }; - F292F6A51FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB31FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6A61FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB31FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6A71FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB41FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.m */; }; - F292F6A81FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB41FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.m */; }; - F292F6A91FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB51FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6AA1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB51FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6AB1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB61FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.m */; }; - F292F6AC1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB61FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.m */; }; - F292F6AD1FC0EB7800D6E69B /* DBFILESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB71FC0EB7400D6E69B /* DBFILESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6AE1FC0EB7800D6E69B /* DBFILESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB71FC0EB7400D6E69B /* DBFILESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6AF1FC0EB7800D6E69B /* DBFILESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB81FC0EB7400D6E69B /* DBFILESRouteObjects.m */; }; - F292F6B01FC0EB7800D6E69B /* DBFILESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEB81FC0EB7400D6E69B /* DBFILESRouteObjects.m */; }; - F292F6B11FC0EB7800D6E69B /* DBPAPERRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB91FC0EB7400D6E69B /* DBPAPERRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6B21FC0EB7800D6E69B /* DBPAPERRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEB91FC0EB7400D6E69B /* DBPAPERRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6B31FC0EB7800D6E69B /* DBPAPERRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBA1FC0EB7400D6E69B /* DBPAPERRouteObjects.m */; }; - F292F6B41FC0EB7800D6E69B /* DBPAPERRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBA1FC0EB7400D6E69B /* DBPAPERRouteObjects.m */; }; - F292F6B51FC0EB7800D6E69B /* DBSHARINGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBB1FC0EB7400D6E69B /* DBSHARINGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6B61FC0EB7800D6E69B /* DBSHARINGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBB1FC0EB7400D6E69B /* DBSHARINGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6B71FC0EB7800D6E69B /* DBSHARINGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBC1FC0EB7400D6E69B /* DBSHARINGRouteObjects.m */; }; - F292F6B81FC0EB7800D6E69B /* DBSHARINGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBC1FC0EB7400D6E69B /* DBSHARINGRouteObjects.m */; }; - F292F6B91FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBD1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6BA1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBD1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6BB1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBE1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.m */; }; - F292F6BC1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEBE1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.m */; }; - F292F6BD1FC0EB7800D6E69B /* DBTEAMRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBF1FC0EB7400D6E69B /* DBTEAMRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6BE1FC0EB7800D6E69B /* DBTEAMRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEBF1FC0EB7400D6E69B /* DBTEAMRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6BF1FC0EB7800D6E69B /* DBTEAMRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEC01FC0EB7400D6E69B /* DBTEAMRouteObjects.m */; }; - F292F6C01FC0EB7800D6E69B /* DBTEAMRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEC01FC0EB7400D6E69B /* DBTEAMRouteObjects.m */; }; - F292F6C11FC0EB7800D6E69B /* DBUSERSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEC11FC0EB7400D6E69B /* DBUSERSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6C21FC0EB7800D6E69B /* DBUSERSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F292EEC11FC0EB7400D6E69B /* DBUSERSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F292F6C31FC0EB7800D6E69B /* DBUSERSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEC21FC0EB7400D6E69B /* DBUSERSRouteObjects.m */; }; - F292F6C41FC0EB7800D6E69B /* DBUSERSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F292EEC21FC0EB7400D6E69B /* DBUSERSRouteObjects.m */; }; F29788C31E03692E00876A73 /* DBUserClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781701E03692800876A73 /* DBUserClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788C41E03692E00876A73 /* DBUserClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F29781701E03692800876A73 /* DBUserClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; F29788C51E03692F00876A73 /* DBUserClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F29781711E03692800876A73 /* DBUserClient.m */; }; @@ -2204,11 +203,4258 @@ F2F2CFFD1E9D769500512DE8 /* SafariServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2F2CFFC1E9D769500512DE8 /* SafariServices.framework */; }; F2F2CFFF1E9D76C300512DE8 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2F2CFFE1E9D76C300512DE8 /* SystemConfiguration.framework */; }; F2F2D0011E9D76CA00512DE8 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2F2D0001E9D76CA00512DE8 /* SystemConfiguration.framework */; }; + F99E10BB2B7A733200D55EF8 /* DBTeamBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08502B7A733000D55EF8 /* DBTeamBaseClient.m */; }; + F99E10BC2B7A733200D55EF8 /* DBTeamBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08502B7A733000D55EF8 /* DBTeamBaseClient.m */; }; + F99E10BD2B7A733200D55EF8 /* DBAppBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08512B7A733000D55EF8 /* DBAppBaseClient.m */; }; + F99E10BE2B7A733200D55EF8 /* DBAppBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08512B7A733000D55EF8 /* DBAppBaseClient.m */; }; + F99E10BF2B7A733200D55EF8 /* DBUserBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08522B7A733000D55EF8 /* DBUserBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C02B7A733200D55EF8 /* DBUserBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08522B7A733000D55EF8 /* DBUserBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C12B7A733200D55EF8 /* DBTeamBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08532B7A733000D55EF8 /* DBTeamBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C22B7A733200D55EF8 /* DBTeamBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08532B7A733000D55EF8 /* DBTeamBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C32B7A733200D55EF8 /* DBAppBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08542B7A733000D55EF8 /* DBAppBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C42B7A733200D55EF8 /* DBAppBaseClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08542B7A733000D55EF8 /* DBAppBaseClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10C52B7A733200D55EF8 /* DBUserBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08552B7A733000D55EF8 /* DBUserBaseClient.m */; }; + F99E10C62B7A733200D55EF8 /* DBUserBaseClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08552B7A733000D55EF8 /* DBUserBaseClient.m */; }; + F99E10C72B7A733200D55EF8 /* DBPaperObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08582B7A733000D55EF8 /* DBPaperObjects.m */; }; + F99E10C82B7A733200D55EF8 /* DBPaperObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08582B7A733000D55EF8 /* DBPaperObjects.m */; }; + F99E10C92B7A733200D55EF8 /* DBPAPERPaperDocSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085A2B7A733000D55EF8 /* DBPAPERPaperDocSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CA2B7A733200D55EF8 /* DBPAPERPaperDocSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085A2B7A733000D55EF8 /* DBPAPERPaperDocSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CB2B7A733200D55EF8 /* DBPAPERFoldersContainingPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085B2B7A733000D55EF8 /* DBPAPERFoldersContainingPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CC2B7A733200D55EF8 /* DBPAPERFoldersContainingPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085B2B7A733000D55EF8 /* DBPAPERFoldersContainingPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CD2B7A733200D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085C2B7A733000D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CE2B7A733200D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085C2B7A733000D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10CF2B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085D2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D02B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085D2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D12B7A733200D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085E2B7A733000D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D22B7A733200D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085E2B7A733000D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D32B7A733200D55EF8 /* DBPAPERPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085F2B7A733000D55EF8 /* DBPAPERPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D42B7A733200D55EF8 /* DBPAPERPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E085F2B7A733000D55EF8 /* DBPAPERPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D52B7A733200D55EF8 /* DBPAPERPaperFolderCreateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08602B7A733000D55EF8 /* DBPAPERPaperFolderCreateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D62B7A733200D55EF8 /* DBPAPERPaperFolderCreateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08602B7A733000D55EF8 /* DBPAPERPaperFolderCreateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D72B7A733200D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08612B7A733000D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D82B7A733200D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08612B7A733000D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10D92B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08622B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DA2B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08622B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DB2B7A733200D55EF8 /* DBPAPERPaperDocCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08632B7A733000D55EF8 /* DBPAPERPaperDocCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DC2B7A733200D55EF8 /* DBPAPERPaperDocCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08632B7A733000D55EF8 /* DBPAPERPaperDocCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DD2B7A733200D55EF8 /* DBPAPERPaperDocUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08642B7A733000D55EF8 /* DBPAPERPaperDocUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DE2B7A733200D55EF8 /* DBPAPERPaperDocUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08642B7A733000D55EF8 /* DBPAPERPaperDocUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10DF2B7A733200D55EF8 /* DBPAPERSharingTeamPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08652B7A733000D55EF8 /* DBPAPERSharingTeamPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E02B7A733200D55EF8 /* DBPAPERSharingTeamPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08652B7A733000D55EF8 /* DBPAPERSharingTeamPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E12B7A733300D55EF8 /* DBPAPERFolderSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08662B7A733000D55EF8 /* DBPAPERFolderSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E22B7A733300D55EF8 /* DBPAPERFolderSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08662B7A733000D55EF8 /* DBPAPERFolderSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E32B7A733300D55EF8 /* DBPAPERFolderSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08672B7A733000D55EF8 /* DBPAPERFolderSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E42B7A733300D55EF8 /* DBPAPERFolderSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08672B7A733000D55EF8 /* DBPAPERFolderSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E52B7A733300D55EF8 /* DBPAPERListUsersCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08682B7A733000D55EF8 /* DBPAPERListUsersCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E62B7A733300D55EF8 /* DBPAPERListUsersCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08682B7A733000D55EF8 /* DBPAPERListUsersCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E72B7A733300D55EF8 /* DBPAPERCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08692B7A733000D55EF8 /* DBPAPERCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E82B7A733300D55EF8 /* DBPAPERCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08692B7A733000D55EF8 /* DBPAPERCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10E92B7A733300D55EF8 /* DBPAPERDocSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086A2B7A733000D55EF8 /* DBPAPERDocSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10EA2B7A733300D55EF8 /* DBPAPERDocSubscriptionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086A2B7A733000D55EF8 /* DBPAPERDocSubscriptionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10EB2B7A733300D55EF8 /* DBPAPERListPaperDocsFilterBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086B2B7A733000D55EF8 /* DBPAPERListPaperDocsFilterBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10EC2B7A733300D55EF8 /* DBPAPERListPaperDocsFilterBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086B2B7A733000D55EF8 /* DBPAPERListPaperDocsFilterBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10ED2B7A733300D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086C2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10EE2B7A733300D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086C2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10EF2B7A733300D55EF8 /* DBPAPERListDocsCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086D2B7A733000D55EF8 /* DBPAPERListDocsCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F02B7A733300D55EF8 /* DBPAPERListDocsCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086D2B7A733000D55EF8 /* DBPAPERListDocsCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F12B7A733300D55EF8 /* DBPAPERAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086E2B7A733000D55EF8 /* DBPAPERAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F22B7A733300D55EF8 /* DBPAPERAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086E2B7A733000D55EF8 /* DBPAPERAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F32B7A733300D55EF8 /* DBPAPERListPaperDocsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086F2B7A733000D55EF8 /* DBPAPERListPaperDocsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F42B7A733300D55EF8 /* DBPAPERListPaperDocsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E086F2B7A733000D55EF8 /* DBPAPERListPaperDocsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F52B7A733300D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08702B7A733000D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F62B7A733300D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08702B7A733000D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F72B7A733300D55EF8 /* DBPAPERRemovePaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08712B7A733000D55EF8 /* DBPAPERRemovePaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F82B7A733300D55EF8 /* DBPAPERRemovePaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08712B7A733000D55EF8 /* DBPAPERRemovePaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10F92B7A733300D55EF8 /* DBPAPERPaperDocExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08722B7A733000D55EF8 /* DBPAPERPaperDocExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FA2B7A733300D55EF8 /* DBPAPERPaperDocExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08722B7A733000D55EF8 /* DBPAPERPaperDocExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FB2B7A733300D55EF8 /* DBPAPERPaperDocExport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08732B7A733000D55EF8 /* DBPAPERPaperDocExport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FC2B7A733300D55EF8 /* DBPAPERPaperDocExport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08732B7A733000D55EF8 /* DBPAPERPaperDocExport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FD2B7A733300D55EF8 /* DBPAPERListUsersOnFolderArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08742B7A733000D55EF8 /* DBPAPERListUsersOnFolderArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FE2B7A733300D55EF8 /* DBPAPERListUsersOnFolderArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08742B7A733000D55EF8 /* DBPAPERListUsersOnFolderArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E10FF2B7A733300D55EF8 /* DBPAPERAddPaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08752B7A733000D55EF8 /* DBPAPERAddPaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11002B7A733300D55EF8 /* DBPAPERAddPaperDocUser.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08752B7A733000D55EF8 /* DBPAPERAddPaperDocUser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11012B7A733300D55EF8 /* DBPAPERPaperDocUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08762B7A733000D55EF8 /* DBPAPERPaperDocUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11022B7A733300D55EF8 /* DBPAPERPaperDocUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08762B7A733000D55EF8 /* DBPAPERPaperDocUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11032B7A733300D55EF8 /* DBPAPERPaperFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08772B7A733000D55EF8 /* DBPAPERPaperFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11042B7A733300D55EF8 /* DBPAPERPaperFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08772B7A733000D55EF8 /* DBPAPERPaperFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11052B7A733300D55EF8 /* DBPAPERPaperDocPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08782B7A733000D55EF8 /* DBPAPERPaperDocPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11062B7A733300D55EF8 /* DBPAPERPaperDocPermissionLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08782B7A733000D55EF8 /* DBPAPERPaperDocPermissionLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11072B7A733300D55EF8 /* DBPAPERPaperApiBaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08792B7A733000D55EF8 /* DBPAPERPaperApiBaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11082B7A733300D55EF8 /* DBPAPERPaperApiBaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08792B7A733000D55EF8 /* DBPAPERPaperApiBaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11092B7A733300D55EF8 /* DBPAPERRefPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087A2B7A733000D55EF8 /* DBPAPERRefPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110A2B7A733300D55EF8 /* DBPAPERRefPaperDoc.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087A2B7A733000D55EF8 /* DBPAPERRefPaperDoc.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110B2B7A733300D55EF8 /* DBPAPERExportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087B2B7A733000D55EF8 /* DBPAPERExportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110C2B7A733300D55EF8 /* DBPAPERExportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087B2B7A733000D55EF8 /* DBPAPERExportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110D2B7A733300D55EF8 /* DBPAPERListPaperDocsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087C2B7A733000D55EF8 /* DBPAPERListPaperDocsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110E2B7A733300D55EF8 /* DBPAPERListPaperDocsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087C2B7A733000D55EF8 /* DBPAPERListPaperDocsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E110F2B7A733300D55EF8 /* DBPAPERListUsersOnFolderResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087D2B7A733000D55EF8 /* DBPAPERListUsersOnFolderResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11102B7A733300D55EF8 /* DBPAPERListUsersOnFolderResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087D2B7A733000D55EF8 /* DBPAPERListUsersOnFolderResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11112B7A733300D55EF8 /* DBPAPERImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087E2B7A733000D55EF8 /* DBPAPERImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11122B7A733300D55EF8 /* DBPAPERImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087E2B7A733000D55EF8 /* DBPAPERImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11132B7A733300D55EF8 /* DBPAPERListPaperDocsSortOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087F2B7A733000D55EF8 /* DBPAPERListPaperDocsSortOrder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11142B7A733300D55EF8 /* DBPAPERListPaperDocsSortOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E087F2B7A733000D55EF8 /* DBPAPERListPaperDocsSortOrder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11152B7A733300D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08802B7A733000D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11162B7A733300D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08802B7A733000D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11172B7A733300D55EF8 /* DBPAPERListPaperDocsSortBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08812B7A733000D55EF8 /* DBPAPERListPaperDocsSortBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11182B7A733300D55EF8 /* DBPAPERListPaperDocsSortBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08812B7A733000D55EF8 /* DBPAPERListPaperDocsSortBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11192B7A733300D55EF8 /* DBPAPERListPaperDocsContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08822B7A733000D55EF8 /* DBPAPERListPaperDocsContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111A2B7A733300D55EF8 /* DBPAPERListPaperDocsContinueArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08822B7A733000D55EF8 /* DBPAPERListPaperDocsContinueArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111B2B7A733300D55EF8 /* DBPAPERPaperApiCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08832B7A733000D55EF8 /* DBPAPERPaperApiCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111C2B7A733300D55EF8 /* DBPAPERPaperApiCursorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08832B7A733000D55EF8 /* DBPAPERPaperApiCursorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111D2B7A733300D55EF8 /* DBPAPERPaperFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08842B7A733000D55EF8 /* DBPAPERPaperFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111E2B7A733300D55EF8 /* DBPAPERPaperFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08842B7A733000D55EF8 /* DBPAPERPaperFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E111F2B7A733300D55EF8 /* DBPAPERFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08852B7A733000D55EF8 /* DBPAPERFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11202B7A733300D55EF8 /* DBPAPERFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08852B7A733000D55EF8 /* DBPAPERFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11212B7A733300D55EF8 /* DBPAPERPaperDocCreateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08862B7A733000D55EF8 /* DBPAPERPaperDocCreateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11222B7A733300D55EF8 /* DBPAPERPaperDocCreateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08862B7A733000D55EF8 /* DBPAPERPaperDocCreateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11232B7A733300D55EF8 /* DBPAPERDocLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08872B7A733000D55EF8 /* DBPAPERDocLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11242B7A733300D55EF8 /* DBPAPERDocLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08872B7A733000D55EF8 /* DBPAPERDocLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11252B7A733300D55EF8 /* DBPAPERSharingPublicPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08882B7A733000D55EF8 /* DBPAPERSharingPublicPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11262B7A733300D55EF8 /* DBPAPERSharingPublicPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08882B7A733000D55EF8 /* DBPAPERSharingPublicPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11272B7A733300D55EF8 /* DBPAPERUserOnPaperDocFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08892B7A733000D55EF8 /* DBPAPERUserOnPaperDocFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11282B7A733300D55EF8 /* DBPAPERUserOnPaperDocFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08892B7A733000D55EF8 /* DBPAPERUserOnPaperDocFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11292B7A733300D55EF8 /* DBPAPERSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088A2B7A733000D55EF8 /* DBPAPERSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E112A2B7A733300D55EF8 /* DBPAPERSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088A2B7A733000D55EF8 /* DBPAPERSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E112B2B7A733300D55EF8 /* DBPAPERAddPaperDocUserResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088B2B7A733000D55EF8 /* DBPAPERAddPaperDocUserResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E112C2B7A733300D55EF8 /* DBPAPERAddPaperDocUserResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088B2B7A733000D55EF8 /* DBPAPERAddPaperDocUserResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E112D2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E088D2B7A733000D55EF8 /* DBTeamPoliciesObjects.m */; }; + F99E112E2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E088D2B7A733000D55EF8 /* DBTeamPoliciesObjects.m */; }; + F99E112F2B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088F2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11302B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E088F2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11312B7A733300D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08902B7A733000D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11322B7A733300D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08902B7A733000D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11332B7A733300D55EF8 /* DBTEAMPOLICIESGroupCreation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08912B7A733000D55EF8 /* DBTEAMPOLICIESGroupCreation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11342B7A733300D55EF8 /* DBTEAMPOLICIESGroupCreation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08912B7A733000D55EF8 /* DBTEAMPOLICIESGroupCreation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11352B7A733300D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08922B7A733000D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11362B7A733300D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08922B7A733000D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11372B7A733300D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08932B7A733000D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11382B7A733300D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08932B7A733000D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11392B7A733300D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08942B7A733000D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113A2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08942B7A733000D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113B2B7A733300D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08952B7A733000D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113C2B7A733300D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08952B7A733000D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113D2B7A733300D55EF8 /* DBTEAMPOLICIESSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08962B7A733000D55EF8 /* DBTEAMPOLICIESSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113E2B7A733300D55EF8 /* DBTEAMPOLICIESSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08962B7A733000D55EF8 /* DBTEAMPOLICIESSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E113F2B7A733300D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08972B7A733000D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11402B7A733300D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08972B7A733000D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11412B7A733300D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08982B7A733000D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11422B7A733300D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08982B7A733000D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11432B7A733300D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08992B7A733000D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11442B7A733300D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08992B7A733000D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11452B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089A2B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11462B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089A2B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11472B7A733300D55EF8 /* DBTEAMPOLICIESEmmState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089B2B7A733000D55EF8 /* DBTEAMPOLICIESEmmState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11482B7A733300D55EF8 /* DBTEAMPOLICIESEmmState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089B2B7A733000D55EF8 /* DBTEAMPOLICIESEmmState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11492B7A733300D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089C2B7A733000D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114A2B7A733300D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089C2B7A733000D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114B2B7A733300D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089D2B7A733000D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114C2B7A733300D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089D2B7A733000D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114D2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089E2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114E2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089E2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E114F2B7A733300D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089F2B7A733000D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11502B7A733300D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E089F2B7A733000D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11512B7A733300D55EF8 /* DBTEAMPOLICIESRolloutMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A02B7A733000D55EF8 /* DBTEAMPOLICIESRolloutMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11522B7A733300D55EF8 /* DBTEAMPOLICIESRolloutMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A02B7A733000D55EF8 /* DBTEAMPOLICIESRolloutMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11532B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A12B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11542B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A12B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11552B7A733300D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A22B7A733000D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11562B7A733300D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A22B7A733000D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11572B7A733300D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A32B7A733000D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11582B7A733300D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A32B7A733000D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11592B7A733300D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A42B7A733000D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115A2B7A733300D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A42B7A733000D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115B2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A52B7A733000D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115C2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A52B7A733000D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115D2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A62B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115E2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A62B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E115F2B7A733300D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A72B7A733000D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11602B7A733300D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A72B7A733000D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11612B7A733300D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A82B7A733000D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11622B7A733300D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A82B7A733000D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11632B7A733300D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A92B7A733000D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11642B7A733300D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08A92B7A733000D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11652B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AA2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11662B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AA2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11672B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AB2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11682B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AB2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11692B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AC2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E116A2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08AC2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E116B2B7A733300D55EF8 /* DBSecondaryEmailsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08AE2B7A733000D55EF8 /* DBSecondaryEmailsObjects.m */; }; + F99E116C2B7A733300D55EF8 /* DBSecondaryEmailsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08AE2B7A733000D55EF8 /* DBSecondaryEmailsObjects.m */; }; + F99E116D2B7A733300D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B02B7A733000D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E116E2B7A733300D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B02B7A733000D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E116F2B7A733300D55EF8 /* DBSharingObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08B22B7A733000D55EF8 /* DBSharingObjects.m */; }; + F99E11702B7A733300D55EF8 /* DBSharingObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E08B22B7A733000D55EF8 /* DBSharingObjects.m */; }; + F99E11712B7A733300D55EF8 /* DBSHARINGGetSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B42B7A733000D55EF8 /* DBSHARINGGetSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11722B7A733300D55EF8 /* DBSHARINGGetSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B42B7A733000D55EF8 /* DBSHARINGGetSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11732B7A733300D55EF8 /* DBSHARINGGroupMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B52B7A733000D55EF8 /* DBSHARINGGroupMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11742B7A733300D55EF8 /* DBSHARINGGroupMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B52B7A733000D55EF8 /* DBSHARINGGroupMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11752B7A733300D55EF8 /* DBSHARINGPendingUploadMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B62B7A733000D55EF8 /* DBSHARINGPendingUploadMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11762B7A733300D55EF8 /* DBSHARINGPendingUploadMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B62B7A733000D55EF8 /* DBSHARINGPendingUploadMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11772B7A733300D55EF8 /* DBSHARINGListFileMembersIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B72B7A733000D55EF8 /* DBSHARINGListFileMembersIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11782B7A733300D55EF8 /* DBSHARINGListFileMembersIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B72B7A733000D55EF8 /* DBSHARINGListFileMembersIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11792B7A733300D55EF8 /* DBSHARINGLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B82B7A733000D55EF8 /* DBSHARINGLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117A2B7A733300D55EF8 /* DBSHARINGLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B82B7A733000D55EF8 /* DBSHARINGLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117B2B7A733300D55EF8 /* DBSHARINGCollectionLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B92B7A733000D55EF8 /* DBSHARINGCollectionLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117C2B7A733300D55EF8 /* DBSHARINGCollectionLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08B92B7A733000D55EF8 /* DBSHARINGCollectionLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117D2B7A733300D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BA2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117E2B7A733300D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BA2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E117F2B7A733300D55EF8 /* DBSHARINGMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BB2B7A733000D55EF8 /* DBSHARINGMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11802B7A733300D55EF8 /* DBSHARINGMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BB2B7A733000D55EF8 /* DBSHARINGMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11812B7A733300D55EF8 /* DBSHARINGAlphaResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BC2B7A733000D55EF8 /* DBSHARINGAlphaResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11822B7A733300D55EF8 /* DBSHARINGAlphaResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BC2B7A733000D55EF8 /* DBSHARINGAlphaResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11832B7A733300D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BD2B7A733000D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11842B7A733300D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BD2B7A733000D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11852B7A733300D55EF8 /* DBSHARINGShareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BE2B7A733000D55EF8 /* DBSHARINGShareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11862B7A733300D55EF8 /* DBSHARINGShareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BE2B7A733000D55EF8 /* DBSHARINGShareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11872B7A733300D55EF8 /* DBSHARINGMemberAccessLevelResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BF2B7A733000D55EF8 /* DBSHARINGMemberAccessLevelResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11882B7A733300D55EF8 /* DBSHARINGMemberAccessLevelResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08BF2B7A733000D55EF8 /* DBSHARINGMemberAccessLevelResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11892B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C02B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118A2B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C02B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118B2B7A733300D55EF8 /* DBSHARINGShareFolderLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C12B7A733000D55EF8 /* DBSHARINGShareFolderLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118C2B7A733300D55EF8 /* DBSHARINGShareFolderLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C12B7A733000D55EF8 /* DBSHARINGShareFolderLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118D2B7A733300D55EF8 /* DBSHARINGGetSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C22B7A733000D55EF8 /* DBSHARINGGetSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118E2B7A733300D55EF8 /* DBSHARINGGetSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C22B7A733000D55EF8 /* DBSHARINGGetSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E118F2B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C32B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11902B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C32B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11912B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C42B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11922B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C42B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11932B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C52B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11942B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C52B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11952B7A733300D55EF8 /* DBSHARINGSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C62B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11962B7A733300D55EF8 /* DBSHARINGSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C62B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11972B7A733300D55EF8 /* DBSHARINGSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C72B7A733000D55EF8 /* DBSHARINGSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11982B7A733300D55EF8 /* DBSHARINGSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C72B7A733000D55EF8 /* DBSHARINGSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11992B7A733300D55EF8 /* DBSHARINGListFilesContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C82B7A733000D55EF8 /* DBSHARINGListFilesContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119A2B7A733300D55EF8 /* DBSHARINGListFilesContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C82B7A733000D55EF8 /* DBSHARINGListFilesContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119B2B7A733300D55EF8 /* DBSHARINGAclUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C92B7A733000D55EF8 /* DBSHARINGAclUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119C2B7A733300D55EF8 /* DBSHARINGAclUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08C92B7A733000D55EF8 /* DBSHARINGAclUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119D2B7A733300D55EF8 /* DBSHARINGUpdateFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CA2B7A733000D55EF8 /* DBSHARINGUpdateFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119E2B7A733300D55EF8 /* DBSHARINGUpdateFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CA2B7A733000D55EF8 /* DBSHARINGUpdateFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E119F2B7A733300D55EF8 /* DBSHARINGGetSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CB2B7A733000D55EF8 /* DBSHARINGGetSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A02B7A733300D55EF8 /* DBSHARINGGetSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CB2B7A733000D55EF8 /* DBSHARINGGetSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A12B7A733300D55EF8 /* DBSHARINGMountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CC2B7A733000D55EF8 /* DBSHARINGMountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A22B7A733300D55EF8 /* DBSHARINGMountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CC2B7A733000D55EF8 /* DBSHARINGMountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A32B7A733300D55EF8 /* DBSHARINGUnshareFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CD2B7A733000D55EF8 /* DBSHARINGUnshareFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A42B7A733300D55EF8 /* DBSHARINGUnshareFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CD2B7A733000D55EF8 /* DBSHARINGUnshareFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A52B7A733300D55EF8 /* DBSHARINGSharedLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CE2B7A733000D55EF8 /* DBSHARINGSharedLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A62B7A733300D55EF8 /* DBSHARINGSharedLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CE2B7A733000D55EF8 /* DBSHARINGSharedLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A72B7A733300D55EF8 /* DBSHARINGListFileMembersBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CF2B7A733000D55EF8 /* DBSHARINGListFileMembersBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A82B7A733300D55EF8 /* DBSHARINGListFileMembersBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08CF2B7A733000D55EF8 /* DBSHARINGListFileMembersBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11A92B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D02B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AA2B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D02B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AB2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D12B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AC2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D12B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AD2B7A733300D55EF8 /* DBSHARINGSharedFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D22B7A733000D55EF8 /* DBSHARINGSharedFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AE2B7A733300D55EF8 /* DBSHARINGSharedFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D22B7A733000D55EF8 /* DBSHARINGSharedFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11AF2B7A733300D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D32B7A733000D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B02B7A733300D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D32B7A733000D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B12B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D42B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B22B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D42B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B32B7A733300D55EF8 /* DBSHARINGFileAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D52B7A733000D55EF8 /* DBSHARINGFileAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B42B7A733300D55EF8 /* DBSHARINGFileAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D52B7A733000D55EF8 /* DBSHARINGFileAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B52B7A733300D55EF8 /* DBSHARINGSharedLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D62B7A733000D55EF8 /* DBSHARINGSharedLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B62B7A733300D55EF8 /* DBSHARINGSharedLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D62B7A733000D55EF8 /* DBSHARINGSharedLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B72B7A733300D55EF8 /* DBSHARINGListFilesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D72B7A733000D55EF8 /* DBSHARINGListFilesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B82B7A733300D55EF8 /* DBSHARINGListFilesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D72B7A733000D55EF8 /* DBSHARINGListFilesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11B92B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D82B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BA2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D82B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BB2B7A733300D55EF8 /* DBSHARINGListFolderMembersCursorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D92B7A733000D55EF8 /* DBSHARINGListFolderMembersCursorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BC2B7A733300D55EF8 /* DBSHARINGListFolderMembersCursorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08D92B7A733000D55EF8 /* DBSHARINGListFolderMembersCursorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BD2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DA2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BE2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DA2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11BF2B7A733300D55EF8 /* DBSHARINGFileErrorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DB2B7A733000D55EF8 /* DBSHARINGFileErrorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C02B7A733300D55EF8 /* DBSHARINGFileErrorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DB2B7A733000D55EF8 /* DBSHARINGFileErrorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C12B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DC2B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C22B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DC2B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C32B7A733300D55EF8 /* DBSHARINGListFileMembersError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DD2B7A733000D55EF8 /* DBSHARINGListFileMembersError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C42B7A733300D55EF8 /* DBSHARINGListFileMembersError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DD2B7A733000D55EF8 /* DBSHARINGListFileMembersError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C52B7A733300D55EF8 /* DBSHARINGMemberAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DE2B7A733000D55EF8 /* DBSHARINGMemberAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C62B7A733300D55EF8 /* DBSHARINGMemberAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DE2B7A733000D55EF8 /* DBSHARINGMemberAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C72B7A733300D55EF8 /* DBSHARINGGetFileMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DF2B7A733000D55EF8 /* DBSHARINGGetFileMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C82B7A733300D55EF8 /* DBSHARINGGetFileMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08DF2B7A733000D55EF8 /* DBSHARINGGetFileMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11C92B7A733300D55EF8 /* DBSHARINGLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E02B7A733000D55EF8 /* DBSHARINGLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CA2B7A733300D55EF8 /* DBSHARINGLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E02B7A733000D55EF8 /* DBSHARINGLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CB2B7A733300D55EF8 /* DBSHARINGLinkExpiry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E12B7A733000D55EF8 /* DBSHARINGLinkExpiry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CC2B7A733300D55EF8 /* DBSHARINGLinkExpiry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E12B7A733000D55EF8 /* DBSHARINGLinkExpiry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CD2B7A733300D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E22B7A733000D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CE2B7A733300D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E22B7A733000D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11CF2B7A733300D55EF8 /* DBSHARINGSharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E32B7A733000D55EF8 /* DBSHARINGSharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D02B7A733300D55EF8 /* DBSHARINGSharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E32B7A733000D55EF8 /* DBSHARINGSharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D12B7A733300D55EF8 /* DBSHARINGRemoveFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E42B7A733000D55EF8 /* DBSHARINGRemoveFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D22B7A733300D55EF8 /* DBSHARINGRemoveFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E42B7A733000D55EF8 /* DBSHARINGRemoveFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D32B7A733300D55EF8 /* DBSHARINGRemoveFileMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E52B7A733000D55EF8 /* DBSHARINGRemoveFileMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D42B7A733300D55EF8 /* DBSHARINGRemoveFileMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E52B7A733000D55EF8 /* DBSHARINGRemoveFileMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D52B7A733300D55EF8 /* DBSHARINGShareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E62B7A733000D55EF8 /* DBSHARINGShareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D62B7A733300D55EF8 /* DBSHARINGShareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E62B7A733000D55EF8 /* DBSHARINGShareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D72B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E72B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D82B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E72B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11D92B7A733300D55EF8 /* DBSHARINGSharingUserError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E82B7A733000D55EF8 /* DBSHARINGSharingUserError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DA2B7A733300D55EF8 /* DBSHARINGSharingUserError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E82B7A733000D55EF8 /* DBSHARINGSharingUserError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DB2B7A733300D55EF8 /* DBSHARINGFileMemberActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E92B7A733000D55EF8 /* DBSHARINGFileMemberActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DC2B7A733300D55EF8 /* DBSHARINGFileMemberActionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08E92B7A733000D55EF8 /* DBSHARINGFileMemberActionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DD2B7A733300D55EF8 /* DBSHARINGVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EA2B7A733000D55EF8 /* DBSHARINGVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DE2B7A733300D55EF8 /* DBSHARINGVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EA2B7A733000D55EF8 /* DBSHARINGVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11DF2B7A733300D55EF8 /* DBSHARINGSharedFolderMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EB2B7A733000D55EF8 /* DBSHARINGSharedFolderMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E02B7A733300D55EF8 /* DBSHARINGSharedFolderMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EB2B7A733000D55EF8 /* DBSHARINGSharedFolderMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E12B7A733300D55EF8 /* DBSHARINGAudienceExceptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EC2B7A733000D55EF8 /* DBSHARINGAudienceExceptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E22B7A733300D55EF8 /* DBSHARINGAudienceExceptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EC2B7A733000D55EF8 /* DBSHARINGAudienceExceptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E32B7A733300D55EF8 /* DBSHARINGPermissionDeniedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08ED2B7A733000D55EF8 /* DBSHARINGPermissionDeniedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E42B7A733300D55EF8 /* DBSHARINGPermissionDeniedReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08ED2B7A733000D55EF8 /* DBSHARINGPermissionDeniedReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E52B7A733300D55EF8 /* DBSHARINGAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EE2B7A733000D55EF8 /* DBSHARINGAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E62B7A733300D55EF8 /* DBSHARINGAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EE2B7A733000D55EF8 /* DBSHARINGAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E72B7A733300D55EF8 /* DBSHARINGLinkAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EF2B7A733000D55EF8 /* DBSHARINGLinkAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E82B7A733300D55EF8 /* DBSHARINGLinkAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08EF2B7A733000D55EF8 /* DBSHARINGLinkAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11E92B7A733300D55EF8 /* DBSHARINGUnmountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F02B7A733000D55EF8 /* DBSHARINGUnmountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11EA2B7A733300D55EF8 /* DBSHARINGUnmountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F02B7A733000D55EF8 /* DBSHARINGUnmountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11EB2B7A733300D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F12B7A733000D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11EC2B7A733300D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F12B7A733000D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11ED2B7A733300D55EF8 /* DBSHARINGSharedLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F22B7A733000D55EF8 /* DBSHARINGSharedLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11EE2B7A733300D55EF8 /* DBSHARINGSharedLinkSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F22B7A733000D55EF8 /* DBSHARINGSharedLinkSettings.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11EF2B7A733300D55EF8 /* DBSHARINGShareFolderJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F32B7A733000D55EF8 /* DBSHARINGShareFolderJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F02B7A733300D55EF8 /* DBSHARINGShareFolderJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F32B7A733000D55EF8 /* DBSHARINGShareFolderJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F12B7A733300D55EF8 /* DBSHARINGFileMemberActionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F42B7A733000D55EF8 /* DBSHARINGFileMemberActionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F22B7A733300D55EF8 /* DBSHARINGFileMemberActionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F42B7A733000D55EF8 /* DBSHARINGFileMemberActionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F32B7A733300D55EF8 /* DBSHARINGListFoldersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F52B7A733000D55EF8 /* DBSHARINGListFoldersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F42B7A733300D55EF8 /* DBSHARINGListFoldersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F52B7A733000D55EF8 /* DBSHARINGListFoldersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F52B7A733300D55EF8 /* DBSHARINGParentFolderAccessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F62B7A733000D55EF8 /* DBSHARINGParentFolderAccessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F62B7A733300D55EF8 /* DBSHARINGParentFolderAccessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F62B7A733000D55EF8 /* DBSHARINGParentFolderAccessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F72B7A733300D55EF8 /* DBSHARINGInviteeMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F72B7A733000D55EF8 /* DBSHARINGInviteeMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F82B7A733300D55EF8 /* DBSHARINGInviteeMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F72B7A733000D55EF8 /* DBSHARINGInviteeMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11F92B7A733300D55EF8 /* DBSHARINGVisibilityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F82B7A733000D55EF8 /* DBSHARINGVisibilityPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FA2B7A733300D55EF8 /* DBSHARINGVisibilityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F82B7A733000D55EF8 /* DBSHARINGVisibilityPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FB2B7A733300D55EF8 /* DBSHARINGListFilesContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F92B7A733000D55EF8 /* DBSHARINGListFilesContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FC2B7A733300D55EF8 /* DBSHARINGListFilesContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08F92B7A733000D55EF8 /* DBSHARINGListFilesContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FD2B7A733300D55EF8 /* DBSHARINGListSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FA2B7A733000D55EF8 /* DBSHARINGListSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FE2B7A733300D55EF8 /* DBSHARINGListSharedLinksError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FA2B7A733000D55EF8 /* DBSHARINGListSharedLinksError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E11FF2B7A733300D55EF8 /* DBSHARINGLinkPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FB2B7A733000D55EF8 /* DBSHARINGLinkPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12002B7A733300D55EF8 /* DBSHARINGLinkPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FB2B7A733000D55EF8 /* DBSHARINGLinkPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12012B7A733300D55EF8 /* DBSHARINGSharedFolderMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FC2B7A733000D55EF8 /* DBSHARINGSharedFolderMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12022B7A733300D55EF8 /* DBSHARINGSharedFolderMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FC2B7A733000D55EF8 /* DBSHARINGSharedFolderMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12032B7A733300D55EF8 /* DBSHARINGGetFileMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FD2B7A733000D55EF8 /* DBSHARINGGetFileMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12042B7A733300D55EF8 /* DBSHARINGGetFileMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FD2B7A733000D55EF8 /* DBSHARINGGetFileMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12052B7A733300D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FE2B7A733000D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12062B7A733300D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FE2B7A733000D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12072B7A733300D55EF8 /* DBSHARINGGetSharedLinkFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FF2B7A733000D55EF8 /* DBSHARINGGetSharedLinkFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12082B7A733300D55EF8 /* DBSHARINGGetSharedLinkFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E08FF2B7A733000D55EF8 /* DBSHARINGGetSharedLinkFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12092B7A733300D55EF8 /* DBSHARINGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09002B7A733000D55EF8 /* DBSHARINGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120A2B7A733300D55EF8 /* DBSHARINGLinkAudience.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09002B7A733000D55EF8 /* DBSHARINGLinkAudience.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120B2B7A733300D55EF8 /* DBSHARINGAddFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09012B7A733000D55EF8 /* DBSHARINGAddFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120C2B7A733300D55EF8 /* DBSHARINGAddFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09012B7A733000D55EF8 /* DBSHARINGAddFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120D2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09022B7A733000D55EF8 /* DBSHARINGCreateSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120E2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09022B7A733000D55EF8 /* DBSHARINGCreateSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E120F2B7A733300D55EF8 /* DBSHARINGShareFolderArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09032B7A733000D55EF8 /* DBSHARINGShareFolderArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12102B7A733300D55EF8 /* DBSHARINGShareFolderArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09032B7A733000D55EF8 /* DBSHARINGShareFolderArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12112B7A733300D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09042B7A733000D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12122B7A733300D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09042B7A733000D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12132B7A733300D55EF8 /* DBSHARINGListFileMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09052B7A733000D55EF8 /* DBSHARINGListFileMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12142B7A733300D55EF8 /* DBSHARINGListFileMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09052B7A733000D55EF8 /* DBSHARINGListFileMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12152B7A733300D55EF8 /* DBSHARINGListSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09062B7A733000D55EF8 /* DBSHARINGListSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12162B7A733300D55EF8 /* DBSHARINGListSharedLinksResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09062B7A733000D55EF8 /* DBSHARINGListSharedLinksResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12172B7A733300D55EF8 /* DBSHARINGFolderLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09072B7A733000D55EF8 /* DBSHARINGFolderLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12182B7A733300D55EF8 /* DBSHARINGFolderLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09072B7A733000D55EF8 /* DBSHARINGFolderLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12192B7A733300D55EF8 /* DBSHARINGListFileMembersBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09082B7A733000D55EF8 /* DBSHARINGListFileMembersBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121A2B7A733300D55EF8 /* DBSHARINGListFileMembersBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09082B7A733000D55EF8 /* DBSHARINGListFileMembersBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121B2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09092B7A733000D55EF8 /* DBSHARINGListFileMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121C2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09092B7A733000D55EF8 /* DBSHARINGListFileMembersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121D2B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090A2B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121E2B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090A2B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E121F2B7A733300D55EF8 /* DBSHARINGUserFileMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090B2B7A733000D55EF8 /* DBSHARINGUserFileMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12202B7A733300D55EF8 /* DBSHARINGUserFileMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090B2B7A733000D55EF8 /* DBSHARINGUserFileMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12212B7A733300D55EF8 /* DBSHARINGMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090C2B7A733000D55EF8 /* DBSHARINGMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12222B7A733300D55EF8 /* DBSHARINGMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090C2B7A733000D55EF8 /* DBSHARINGMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12232B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090D2B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12242B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090D2B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12252B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090E2B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12262B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090E2B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12272B7A733300D55EF8 /* DBSHARINGFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090F2B7A733000D55EF8 /* DBSHARINGFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12282B7A733300D55EF8 /* DBSHARINGFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E090F2B7A733000D55EF8 /* DBSHARINGFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12292B7A733300D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09102B7A733000D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122A2B7A733300D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09102B7A733000D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122B2B7A733300D55EF8 /* DBSHARINGListSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09112B7A733000D55EF8 /* DBSHARINGListSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122C2B7A733300D55EF8 /* DBSHARINGListSharedLinksArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09112B7A733000D55EF8 /* DBSHARINGListSharedLinksArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122D2B7A733300D55EF8 /* DBSHARINGSharePathError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09122B7A733000D55EF8 /* DBSHARINGSharePathError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122E2B7A733300D55EF8 /* DBSHARINGSharePathError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09122B7A733000D55EF8 /* DBSHARINGSharePathError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E122F2B7A733300D55EF8 /* DBSHARINGListFoldersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09132B7A733000D55EF8 /* DBSHARINGListFoldersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12302B7A733300D55EF8 /* DBSHARINGListFoldersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09132B7A733000D55EF8 /* DBSHARINGListFoldersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12312B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09142B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12322B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09142B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12332B7A733300D55EF8 /* DBSHARINGUnmountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09152B7A733000D55EF8 /* DBSHARINGUnmountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12342B7A733300D55EF8 /* DBSHARINGUnmountFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09152B7A733000D55EF8 /* DBSHARINGUnmountFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12352B7A733300D55EF8 /* DBSHARINGAddFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09162B7A733000D55EF8 /* DBSHARINGAddFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12362B7A733300D55EF8 /* DBSHARINGAddFileMemberArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09162B7A733000D55EF8 /* DBSHARINGAddFileMemberArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12372B7A733300D55EF8 /* DBSHARINGJobError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09172B7A733000D55EF8 /* DBSHARINGJobError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12382B7A733300D55EF8 /* DBSHARINGJobError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09172B7A733000D55EF8 /* DBSHARINGJobError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12392B7A733300D55EF8 /* DBSHARINGResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09182B7A733000D55EF8 /* DBSHARINGResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123A2B7A733300D55EF8 /* DBSHARINGResolvedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09182B7A733000D55EF8 /* DBSHARINGResolvedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123B2B7A733300D55EF8 /* DBSHARINGUserMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09192B7A733000D55EF8 /* DBSHARINGUserMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123C2B7A733300D55EF8 /* DBSHARINGUserMembershipInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09192B7A733000D55EF8 /* DBSHARINGUserMembershipInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123D2B7A733300D55EF8 /* DBSHARINGAddMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091A2B7A733000D55EF8 /* DBSHARINGAddMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123E2B7A733300D55EF8 /* DBSHARINGAddMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091A2B7A733000D55EF8 /* DBSHARINGAddMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E123F2B7A733300D55EF8 /* DBSHARINGViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091B2B7A733000D55EF8 /* DBSHARINGViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12402B7A733300D55EF8 /* DBSHARINGViewerInfoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091B2B7A733000D55EF8 /* DBSHARINGViewerInfoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12412B7A733300D55EF8 /* DBSHARINGSharingFileAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091C2B7A733000D55EF8 /* DBSHARINGSharingFileAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12422B7A733300D55EF8 /* DBSHARINGSharingFileAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091C2B7A733000D55EF8 /* DBSHARINGSharingFileAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12432B7A733300D55EF8 /* DBSHARINGListFoldersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091D2B7A733000D55EF8 /* DBSHARINGListFoldersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12442B7A733300D55EF8 /* DBSHARINGListFoldersContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091D2B7A733000D55EF8 /* DBSHARINGListFoldersContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12452B7A733300D55EF8 /* DBSHARINGLinkPermissions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091E2B7A733000D55EF8 /* DBSHARINGLinkPermissions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12462B7A733300D55EF8 /* DBSHARINGLinkPermissions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091E2B7A733000D55EF8 /* DBSHARINGLinkPermissions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12472B7A733300D55EF8 /* DBSHARINGPathLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091F2B7A733000D55EF8 /* DBSHARINGPathLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12482B7A733300D55EF8 /* DBSHARINGPathLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E091F2B7A733000D55EF8 /* DBSHARINGPathLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12492B7A733300D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09202B7A733000D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124A2B7A733300D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09202B7A733000D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124B2B7A733300D55EF8 /* DBSHARINGLinkPassword.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09212B7A733000D55EF8 /* DBSHARINGLinkPassword.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124C2B7A733300D55EF8 /* DBSHARINGLinkPassword.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09212B7A733000D55EF8 /* DBSHARINGLinkPassword.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124D2B7A733300D55EF8 /* DBSHARINGUnshareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09222B7A733000D55EF8 /* DBSHARINGUnshareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124E2B7A733300D55EF8 /* DBSHARINGUnshareFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09222B7A733000D55EF8 /* DBSHARINGUnshareFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E124F2B7A733300D55EF8 /* DBSHARINGInsufficientPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09232B7A733000D55EF8 /* DBSHARINGInsufficientPlan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12502B7A733300D55EF8 /* DBSHARINGInsufficientPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09232B7A733000D55EF8 /* DBSHARINGInsufficientPlan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12512B7A733300D55EF8 /* DBSHARINGSharedFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09242B7A733000D55EF8 /* DBSHARINGSharedFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12522B7A733300D55EF8 /* DBSHARINGSharedFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09242B7A733000D55EF8 /* DBSHARINGSharedFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12532B7A733300D55EF8 /* DBSHARINGMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09252B7A733000D55EF8 /* DBSHARINGMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12542B7A733300D55EF8 /* DBSHARINGMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09252B7A733000D55EF8 /* DBSHARINGMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12552B7A733300D55EF8 /* DBSHARINGSharedFileMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09262B7A733000D55EF8 /* DBSHARINGSharedFileMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12562B7A733300D55EF8 /* DBSHARINGSharedFileMembers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09262B7A733000D55EF8 /* DBSHARINGSharedFileMembers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12572B7A733300D55EF8 /* DBSHARINGAddFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09272B7A733000D55EF8 /* DBSHARINGAddFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12582B7A733300D55EF8 /* DBSHARINGAddFolderMemberArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09272B7A733000D55EF8 /* DBSHARINGAddFolderMemberArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12592B7A733300D55EF8 /* DBSHARINGSharedFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09282B7A733000D55EF8 /* DBSHARINGSharedFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125A2B7A733300D55EF8 /* DBSHARINGSharedFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09282B7A733000D55EF8 /* DBSHARINGSharedFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125B2B7A733300D55EF8 /* DBSHARINGRequestedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09292B7A733000D55EF8 /* DBSHARINGRequestedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125C2B7A733300D55EF8 /* DBSHARINGRequestedVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09292B7A733000D55EF8 /* DBSHARINGRequestedVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125D2B7A733300D55EF8 /* DBSHARINGAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092A2B7A733000D55EF8 /* DBSHARINGAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125E2B7A733300D55EF8 /* DBSHARINGAddMember.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092A2B7A733000D55EF8 /* DBSHARINGAddMember.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E125F2B7A733300D55EF8 /* DBSHARINGSharedFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092B2B7A733000D55EF8 /* DBSHARINGSharedFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12602B7A733300D55EF8 /* DBSHARINGSharedFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092B2B7A733000D55EF8 /* DBSHARINGSharedFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12612B7A733300D55EF8 /* DBSHARINGListFolderMembersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092C2B7A733000D55EF8 /* DBSHARINGListFolderMembersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12622B7A733300D55EF8 /* DBSHARINGListFolderMembersArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092C2B7A733000D55EF8 /* DBSHARINGListFolderMembersArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12632B7A733300D55EF8 /* DBSHARINGListFoldersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092D2B7A733000D55EF8 /* DBSHARINGListFoldersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12642B7A733300D55EF8 /* DBSHARINGListFoldersResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092D2B7A733000D55EF8 /* DBSHARINGListFoldersResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12652B7A733300D55EF8 /* DBSHARINGMountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092E2B7A733000D55EF8 /* DBSHARINGMountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12662B7A733300D55EF8 /* DBSHARINGMountFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092E2B7A733000D55EF8 /* DBSHARINGMountFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12672B7A733300D55EF8 /* DBSHARINGLinkAudienceOption.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092F2B7A733000D55EF8 /* DBSHARINGLinkAudienceOption.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12682B7A733300D55EF8 /* DBSHARINGLinkAudienceOption.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E092F2B7A733000D55EF8 /* DBSHARINGLinkAudienceOption.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12692B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09302B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126A2B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09302B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126B2B7A733300D55EF8 /* DBSHARINGListFilesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09312B7A733000D55EF8 /* DBSHARINGListFilesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126C2B7A733300D55EF8 /* DBSHARINGListFilesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09312B7A733000D55EF8 /* DBSHARINGListFilesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126D2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09322B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126E2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09322B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E126F2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09332B7A733000D55EF8 /* DBSHARINGListFileMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12702B7A733300D55EF8 /* DBSHARINGListFileMembersContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09332B7A733000D55EF8 /* DBSHARINGListFileMembersContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12712B7A733300D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09342B7A733000D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12722B7A733300D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09342B7A733000D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12732B7A733300D55EF8 /* DBSHARINGUnshareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09352B7A733000D55EF8 /* DBSHARINGUnshareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12742B7A733300D55EF8 /* DBSHARINGUnshareFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09352B7A733000D55EF8 /* DBSHARINGUnshareFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12752B7A733300D55EF8 /* DBSHARINGTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09362B7A733000D55EF8 /* DBSHARINGTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12762B7A733300D55EF8 /* DBSHARINGTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09362B7A733000D55EF8 /* DBSHARINGTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12772B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09372B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12782B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09372B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12792B7A733300D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09382B7A733000D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127A2B7A733300D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09382B7A733000D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127B2B7A733300D55EF8 /* DBSHARINGInviteeInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09392B7A733000D55EF8 /* DBSHARINGInviteeInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127C2B7A733300D55EF8 /* DBSHARINGInviteeInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09392B7A733000D55EF8 /* DBSHARINGInviteeInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127D2B7A733300D55EF8 /* DBSHARINGAddFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093A2B7A733000D55EF8 /* DBSHARINGAddFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127E2B7A733300D55EF8 /* DBSHARINGAddFileMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093A2B7A733000D55EF8 /* DBSHARINGAddFileMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E127F2B7A733300D55EF8 /* DBSHARINGTransferFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093B2B7A733000D55EF8 /* DBSHARINGTransferFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12802B7A733300D55EF8 /* DBSHARINGTransferFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093B2B7A733000D55EF8 /* DBSHARINGTransferFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12812B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093C2B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12822B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093C2B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12832B7A733300D55EF8 /* DBSHARINGShareFolderErrorBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093D2B7A733000D55EF8 /* DBSHARINGShareFolderErrorBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12842B7A733300D55EF8 /* DBSHARINGShareFolderErrorBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093D2B7A733000D55EF8 /* DBSHARINGShareFolderErrorBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12852B7A733300D55EF8 /* DBSHARINGUserInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093E2B7A733000D55EF8 /* DBSHARINGUserInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12862B7A733300D55EF8 /* DBSHARINGUserInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093E2B7A733000D55EF8 /* DBSHARINGUserInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12872B7A733300D55EF8 /* DBSHARINGMemberPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093F2B7A733000D55EF8 /* DBSHARINGMemberPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12882B7A733300D55EF8 /* DBSHARINGMemberPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E093F2B7A733000D55EF8 /* DBSHARINGMemberPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12892B7A733300D55EF8 /* DBSHARINGTransferFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09402B7A733000D55EF8 /* DBSHARINGTransferFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128A2B7A733300D55EF8 /* DBSHARINGTransferFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09402B7A733000D55EF8 /* DBSHARINGTransferFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128B2B7A733300D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09412B7A733000D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128C2B7A733300D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09412B7A733000D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128D2B7A733300D55EF8 /* DBSHARINGGroupInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09422B7A733000D55EF8 /* DBSHARINGGroupInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128E2B7A733300D55EF8 /* DBSHARINGGroupInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09422B7A733000D55EF8 /* DBSHARINGGroupInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E128F2B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09432B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12902B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09432B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12912B7A733300D55EF8 /* DBSHARINGFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09442B7A733000D55EF8 /* DBSHARINGFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12922B7A733300D55EF8 /* DBSHARINGFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09442B7A733000D55EF8 /* DBSHARINGFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12932B7A733300D55EF8 /* DBSHARINGFolderPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09452B7A733000D55EF8 /* DBSHARINGFolderPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12942B7A733300D55EF8 /* DBSHARINGFolderPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09452B7A733000D55EF8 /* DBSHARINGFolderPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12952B7A733300D55EF8 /* DBSHARINGJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09462B7A733000D55EF8 /* DBSHARINGJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12962B7A733300D55EF8 /* DBSHARINGJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09462B7A733000D55EF8 /* DBSHARINGJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12972B7A733300D55EF8 /* DBSHARINGListFileMembersCountResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09472B7A733000D55EF8 /* DBSHARINGListFileMembersCountResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12982B7A733300D55EF8 /* DBSHARINGListFileMembersCountResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09472B7A733000D55EF8 /* DBSHARINGListFileMembersCountResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12992B7A733300D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09482B7A733000D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129A2B7A733300D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09482B7A733000D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129B2B7A733300D55EF8 /* DBSHARINGFolderAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09492B7A733000D55EF8 /* DBSHARINGFolderAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129C2B7A733400D55EF8 /* DBSHARINGFolderAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09492B7A733000D55EF8 /* DBSHARINGFolderAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129D2B7A733400D55EF8 /* DBSHARINGCreateSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094A2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129E2B7A733400D55EF8 /* DBSHARINGCreateSharedLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094A2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E129F2B7A733400D55EF8 /* DBSHARINGRemoveMemberJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094B2B7A733000D55EF8 /* DBSHARINGRemoveMemberJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A02B7A733400D55EF8 /* DBSHARINGRemoveMemberJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094B2B7A733000D55EF8 /* DBSHARINGRemoveMemberJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A12B7A733400D55EF8 /* DBSHARINGLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094C2B7A733000D55EF8 /* DBSHARINGLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A22B7A733400D55EF8 /* DBSHARINGLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094C2B7A733000D55EF8 /* DBSHARINGLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A32B7A733400D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094D2B7A733000D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A42B7A733400D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094D2B7A733000D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A52B7A733400D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094E2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A62B7A733400D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094E2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A72B7A733400D55EF8 /* DBSHARINGFilePermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094F2B7A733000D55EF8 /* DBSHARINGFilePermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A82B7A733400D55EF8 /* DBSHARINGFilePermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E094F2B7A733000D55EF8 /* DBSHARINGFilePermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12A92B7A733400D55EF8 /* DBSHARINGGetMetadataArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09502B7A733000D55EF8 /* DBSHARINGGetMetadataArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AA2B7A733400D55EF8 /* DBSHARINGGetMetadataArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09502B7A733000D55EF8 /* DBSHARINGGetMetadataArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AB2B7A733400D55EF8 /* DBSHARINGAccessInheritance.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09512B7A733000D55EF8 /* DBSHARINGAccessInheritance.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AC2B7A733400D55EF8 /* DBSHARINGAccessInheritance.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09512B7A733000D55EF8 /* DBSHARINGAccessInheritance.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AD2B7A733400D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09522B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AE2B7A733400D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09522B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12AF2B7A733400D55EF8 /* DBSHARINGUnshareFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09532B7A733000D55EF8 /* DBSHARINGUnshareFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B02B7A733400D55EF8 /* DBSHARINGUnshareFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09532B7A733000D55EF8 /* DBSHARINGUnshareFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B12B7A733400D55EF8 /* DBSeenStateObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09552B7A733000D55EF8 /* DBSeenStateObjects.m */; }; + F99E12B22B7A733400D55EF8 /* DBSeenStateObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09552B7A733000D55EF8 /* DBSeenStateObjects.m */; }; + F99E12B32B7A733400D55EF8 /* DBSEENSTATEPlatformType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09572B7A733000D55EF8 /* DBSEENSTATEPlatformType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B42B7A733400D55EF8 /* DBSEENSTATEPlatformType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09572B7A733000D55EF8 /* DBSEENSTATEPlatformType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B52B7A733400D55EF8 /* DBAUTHTokenScopeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095A2B7A733000D55EF8 /* DBAUTHTokenScopeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B62B7A733400D55EF8 /* DBAUTHTokenScopeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095A2B7A733000D55EF8 /* DBAUTHTokenScopeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B72B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095B2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B82B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095B2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12B92B7A733400D55EF8 /* DBAUTHAuthError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095C2B7A733000D55EF8 /* DBAUTHAuthError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BA2B7A733400D55EF8 /* DBAUTHAuthError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095C2B7A733000D55EF8 /* DBAUTHAuthError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BB2B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095D2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BC2B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095D2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BD2B7A733400D55EF8 /* DBAUTHAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095E2B7A733000D55EF8 /* DBAUTHAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BE2B7A733400D55EF8 /* DBAUTHAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095E2B7A733000D55EF8 /* DBAUTHAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12BF2B7A733400D55EF8 /* DBAUTHRateLimitError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095F2B7A733000D55EF8 /* DBAUTHRateLimitError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C02B7A733400D55EF8 /* DBAUTHRateLimitError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E095F2B7A733000D55EF8 /* DBAUTHRateLimitError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C12B7A733400D55EF8 /* DBAUTHInvalidAccountTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09602B7A733000D55EF8 /* DBAUTHInvalidAccountTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C22B7A733400D55EF8 /* DBAUTHInvalidAccountTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09602B7A733000D55EF8 /* DBAUTHInvalidAccountTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C32B7A733400D55EF8 /* DBAUTHPaperAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09612B7A733000D55EF8 /* DBAUTHPaperAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C42B7A733400D55EF8 /* DBAUTHPaperAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09612B7A733000D55EF8 /* DBAUTHPaperAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C52B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09622B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C62B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09622B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C72B7A733400D55EF8 /* DBAUTHRateLimitReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09632B7A733000D55EF8 /* DBAUTHRateLimitReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C82B7A733400D55EF8 /* DBAUTHRateLimitReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09632B7A733000D55EF8 /* DBAUTHRateLimitReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12C92B7A733400D55EF8 /* DBAuthObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09642B7A733000D55EF8 /* DBAuthObjects.m */; }; + F99E12CA2B7A733400D55EF8 /* DBAuthObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09642B7A733000D55EF8 /* DBAuthObjects.m */; }; + F99E12CB2B7A733400D55EF8 /* DBFileRequestsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09662B7A733000D55EF8 /* DBFileRequestsObjects.m */; }; + F99E12CC2B7A733400D55EF8 /* DBFileRequestsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09662B7A733000D55EF8 /* DBFileRequestsObjects.m */; }; + F99E12CD2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09682B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12CE2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09682B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12CF2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09692B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D02B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09692B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D12B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096A2B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D22B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096A2B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D32B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096B2B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D42B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096B2B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D52B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096C2B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D62B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096C2B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D72B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096D2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D82B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096D2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12D92B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096E2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DA2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096E2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DB2B7A733400D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096F2B7A733000D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DC2B7A733400D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E096F2B7A733000D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DD2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09702B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DE2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09702B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12DF2B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09712B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E02B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09712B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E12B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09722B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E22B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09722B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E32B7A733400D55EF8 /* DBFILEREQUESTSFileRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09732B7A733000D55EF8 /* DBFILEREQUESTSFileRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E42B7A733400D55EF8 /* DBFILEREQUESTSFileRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09732B7A733000D55EF8 /* DBFILEREQUESTSFileRequest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E52B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09742B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E62B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09742B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E72B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09752B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E82B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09752B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12E92B7A733400D55EF8 /* DBFILEREQUESTSFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09762B7A733000D55EF8 /* DBFILEREQUESTSFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12EA2B7A733400D55EF8 /* DBFILEREQUESTSFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09762B7A733000D55EF8 /* DBFILEREQUESTSFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12EB2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09772B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12EC2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09772B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12ED2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09782B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12EE2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09782B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12EF2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09792B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F02B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09792B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F12B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097A2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F22B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097A2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F32B7A733400D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097B2B7A733000D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F42B7A733400D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097B2B7A733000D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F52B7A733400D55EF8 /* DBFILEREQUESTSGracePeriod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097C2B7A733000D55EF8 /* DBFILEREQUESTSGracePeriod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F62B7A733400D55EF8 /* DBFILEREQUESTSGracePeriod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097C2B7A733000D55EF8 /* DBFILEREQUESTSGracePeriod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F72B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097D2B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F82B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097D2B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12F92B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097E2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FA2B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097E2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FB2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097F2B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FC2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E097F2B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FD2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09802B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FE2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09802B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E12FF2B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09832B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13002B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09832B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13012B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09842B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13022B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09842B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13032B7A733400D55EF8 /* DBContactsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09852B7A733000D55EF8 /* DBContactsObjects.m */; }; + F99E13042B7A733400D55EF8 /* DBContactsObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09852B7A733000D55EF8 /* DBContactsObjects.m */; }; + F99E13052B7A733400D55EF8 /* DBAsyncObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09872B7A733000D55EF8 /* DBAsyncObjects.m */; }; + F99E13062B7A733400D55EF8 /* DBAsyncObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09872B7A733000D55EF8 /* DBAsyncObjects.m */; }; + F99E13072B7A733400D55EF8 /* DBASYNCPollEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09892B7A733000D55EF8 /* DBASYNCPollEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13082B7A733400D55EF8 /* DBASYNCPollEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09892B7A733000D55EF8 /* DBASYNCPollEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13092B7A733400D55EF8 /* DBASYNCLaunchResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098A2B7A733000D55EF8 /* DBASYNCLaunchResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130A2B7A733400D55EF8 /* DBASYNCLaunchResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098A2B7A733000D55EF8 /* DBASYNCLaunchResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130B2B7A733400D55EF8 /* DBASYNCLaunchEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098B2B7A733000D55EF8 /* DBASYNCLaunchEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130C2B7A733400D55EF8 /* DBASYNCLaunchEmptyResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098B2B7A733000D55EF8 /* DBASYNCLaunchEmptyResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130D2B7A733400D55EF8 /* DBASYNCPollResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098C2B7A733000D55EF8 /* DBASYNCPollResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130E2B7A733400D55EF8 /* DBASYNCPollResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098C2B7A733000D55EF8 /* DBASYNCPollResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E130F2B7A733400D55EF8 /* DBASYNCPollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098D2B7A733000D55EF8 /* DBASYNCPollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13102B7A733400D55EF8 /* DBASYNCPollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098D2B7A733000D55EF8 /* DBASYNCPollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13112B7A733400D55EF8 /* DBASYNCPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098E2B7A733000D55EF8 /* DBASYNCPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13122B7A733400D55EF8 /* DBASYNCPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E098E2B7A733000D55EF8 /* DBASYNCPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13132B7A733400D55EF8 /* DBTEAMCOMMONGroupSummary.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09912B7A733000D55EF8 /* DBTEAMCOMMONGroupSummary.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13142B7A733400D55EF8 /* DBTEAMCOMMONGroupSummary.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09912B7A733000D55EF8 /* DBTEAMCOMMONGroupSummary.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13152B7A733400D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09922B7A733000D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13162B7A733400D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09922B7A733000D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13172B7A733400D55EF8 /* DBTEAMCOMMONTimeRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09932B7A733000D55EF8 /* DBTEAMCOMMONTimeRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13182B7A733400D55EF8 /* DBTEAMCOMMONTimeRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09932B7A733000D55EF8 /* DBTEAMCOMMONTimeRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13192B7A733400D55EF8 /* DBTEAMCOMMONGroupManagementType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09942B7A733000D55EF8 /* DBTEAMCOMMONGroupManagementType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E131A2B7A733400D55EF8 /* DBTEAMCOMMONGroupManagementType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09942B7A733000D55EF8 /* DBTEAMCOMMONGroupManagementType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E131B2B7A733400D55EF8 /* DBTEAMCOMMONGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09952B7A733000D55EF8 /* DBTEAMCOMMONGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E131C2B7A733400D55EF8 /* DBTEAMCOMMONGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09952B7A733000D55EF8 /* DBTEAMCOMMONGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E131D2B7A733400D55EF8 /* DBTeamCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09962B7A733000D55EF8 /* DBTeamCommonObjects.m */; }; + F99E131E2B7A733400D55EF8 /* DBTeamCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09962B7A733000D55EF8 /* DBTeamCommonObjects.m */; }; + F99E131F2B7A733400D55EF8 /* DBCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09982B7A733000D55EF8 /* DBCommonObjects.m */; }; + F99E13202B7A733400D55EF8 /* DBCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09982B7A733000D55EF8 /* DBCommonObjects.m */; }; + F99E13212B7A733400D55EF8 /* DBCOMMONTeamRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099A2B7A733000D55EF8 /* DBCOMMONTeamRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13222B7A733400D55EF8 /* DBCOMMONTeamRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099A2B7A733000D55EF8 /* DBCOMMONTeamRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13232B7A733400D55EF8 /* DBCOMMONPathRoot.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099B2B7A733000D55EF8 /* DBCOMMONPathRoot.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13242B7A733400D55EF8 /* DBCOMMONPathRoot.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099B2B7A733000D55EF8 /* DBCOMMONPathRoot.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13252B7A733400D55EF8 /* DBCOMMONRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099C2B7A733000D55EF8 /* DBCOMMONRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13262B7A733400D55EF8 /* DBCOMMONRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099C2B7A733000D55EF8 /* DBCOMMONRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13272B7A733400D55EF8 /* DBCOMMONPathRootError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099D2B7A733000D55EF8 /* DBCOMMONPathRootError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13282B7A733400D55EF8 /* DBCOMMONPathRootError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099D2B7A733000D55EF8 /* DBCOMMONPathRootError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13292B7A733400D55EF8 /* DBCOMMONUserRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099E2B7A733000D55EF8 /* DBCOMMONUserRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132A2B7A733400D55EF8 /* DBCOMMONUserRootInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E099E2B7A733000D55EF8 /* DBCOMMONUserRootInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132B2B7A733400D55EF8 /* DBOPENIDUserInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A12B7A733000D55EF8 /* DBOPENIDUserInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132C2B7A733400D55EF8 /* DBOPENIDUserInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A12B7A733000D55EF8 /* DBOPENIDUserInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132D2B7A733400D55EF8 /* DBOPENIDUserInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A22B7A733000D55EF8 /* DBOPENIDUserInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132E2B7A733400D55EF8 /* DBOPENIDUserInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A22B7A733000D55EF8 /* DBOPENIDUserInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E132F2B7A733400D55EF8 /* DBOPENIDOpenIdError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A32B7A733000D55EF8 /* DBOPENIDOpenIdError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13302B7A733400D55EF8 /* DBOPENIDOpenIdError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A32B7A733000D55EF8 /* DBOPENIDOpenIdError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13312B7A733400D55EF8 /* DBOPENIDUserInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A42B7A733000D55EF8 /* DBOPENIDUserInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13322B7A733400D55EF8 /* DBOPENIDUserInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A42B7A733000D55EF8 /* DBOPENIDUserInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13332B7A733400D55EF8 /* DBOpenidObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09A52B7A733000D55EF8 /* DBOpenidObjects.m */; }; + F99E13342B7A733400D55EF8 /* DBOpenidObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09A52B7A733000D55EF8 /* DBOpenidObjects.m */; }; + F99E13352B7A733400D55EF8 /* DBTeamObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09A72B7A733000D55EF8 /* DBTeamObjects.m */; }; + F99E13362B7A733400D55EF8 /* DBTeamObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E09A72B7A733000D55EF8 /* DBTeamObjects.m */; }; + F99E13372B7A733400D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A92B7A733000D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13382B7A733400D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09A92B7A733000D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13392B7A733400D55EF8 /* DBTEAMGroupMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AA2B7A733000D55EF8 /* DBTEAMGroupMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133A2B7A733400D55EF8 /* DBTEAMGroupMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AA2B7A733000D55EF8 /* DBTEAMGroupMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133B2B7A733400D55EF8 /* DBTEAMExcludedUsersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AB2B7A733000D55EF8 /* DBTEAMExcludedUsersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133C2B7A733400D55EF8 /* DBTEAMExcludedUsersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AB2B7A733000D55EF8 /* DBTEAMExcludedUsersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133D2B7A733400D55EF8 /* DBTEAMMemberAddResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AC2B7A733000D55EF8 /* DBTEAMMemberAddResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133E2B7A733400D55EF8 /* DBTEAMMemberAddResultBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AC2B7A733000D55EF8 /* DBTEAMMemberAddResultBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E133F2B7A733400D55EF8 /* DBTEAMMembersAddArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AD2B7A733000D55EF8 /* DBTEAMMembersAddArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13402B7A733400D55EF8 /* DBTEAMMembersAddArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AD2B7A733000D55EF8 /* DBTEAMMembersAddArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13412B7A733400D55EF8 /* DBTEAMMembersListV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AE2B7A733000D55EF8 /* DBTEAMMembersListV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13422B7A733400D55EF8 /* DBTEAMMembersListV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AE2B7A733000D55EF8 /* DBTEAMMembersListV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13432B7A733400D55EF8 /* DBTEAMStorageBucket.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AF2B7A733000D55EF8 /* DBTEAMStorageBucket.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13442B7A733400D55EF8 /* DBTEAMStorageBucket.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09AF2B7A733000D55EF8 /* DBTEAMStorageBucket.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13452B7A733400D55EF8 /* DBTEAMGroupUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B02B7A733000D55EF8 /* DBTEAMGroupUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13462B7A733400D55EF8 /* DBTEAMGroupUpdateArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B02B7A733000D55EF8 /* DBTEAMGroupUpdateArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13472B7A733400D55EF8 /* DBTEAMTeamNamespacesListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B12B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13482B7A733400D55EF8 /* DBTEAMTeamNamespacesListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B12B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13492B7A733400D55EF8 /* DBTEAMGroupsListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B22B7A733000D55EF8 /* DBTEAMGroupsListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134A2B7A733400D55EF8 /* DBTEAMGroupsListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B22B7A733000D55EF8 /* DBTEAMGroupsListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134B2B7A733400D55EF8 /* DBTEAMMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B32B7A733000D55EF8 /* DBTEAMMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134C2B7A733400D55EF8 /* DBTEAMMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B32B7A733000D55EF8 /* DBTEAMMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134D2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B42B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134E2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B42B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E134F2B7A733400D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B52B7A733000D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13502B7A733400D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B52B7A733000D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13512B7A733400D55EF8 /* DBTEAMGroupAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B62B7A733000D55EF8 /* DBTEAMGroupAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13522B7A733400D55EF8 /* DBTEAMGroupAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B62B7A733000D55EF8 /* DBTEAMGroupAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13532B7A733400D55EF8 /* DBTEAMMembersUnsuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B72B7A733000D55EF8 /* DBTEAMMembersUnsuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13542B7A733400D55EF8 /* DBTEAMMembersUnsuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B72B7A733000D55EF8 /* DBTEAMMembersUnsuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13552B7A733400D55EF8 /* DBTEAMMobileClientPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B82B7A733000D55EF8 /* DBTEAMMobileClientPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13562B7A733400D55EF8 /* DBTEAMMobileClientPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B82B7A733000D55EF8 /* DBTEAMMobileClientPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13572B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B92B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13582B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09B92B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13592B7A733400D55EF8 /* DBTEAMUserResendEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BA2B7A733000D55EF8 /* DBTEAMUserResendEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135A2B7A733400D55EF8 /* DBTEAMUserResendEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BA2B7A733000D55EF8 /* DBTEAMUserResendEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135B2B7A733400D55EF8 /* DBTEAMRemovedStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BB2B7A733000D55EF8 /* DBTEAMRemovedStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135C2B7A733400D55EF8 /* DBTEAMRemovedStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BB2B7A733000D55EF8 /* DBTEAMRemovedStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135D2B7A733400D55EF8 /* DBTEAMGroupsPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BC2B7A733000D55EF8 /* DBTEAMGroupsPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135E2B7A733400D55EF8 /* DBTEAMGroupsPollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BC2B7A733000D55EF8 /* DBTEAMGroupsPollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E135F2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BD2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13602B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BD2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13612B7A733400D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BE2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13622B7A733400D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BE2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13632B7A733400D55EF8 /* DBTEAMResendVerificationEmailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BF2B7A733000D55EF8 /* DBTEAMResendVerificationEmailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13642B7A733400D55EF8 /* DBTEAMResendVerificationEmailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09BF2B7A733000D55EF8 /* DBTEAMResendVerificationEmailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13652B7A733400D55EF8 /* DBTEAMGroupsGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C02B7A733000D55EF8 /* DBTEAMGroupsGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13662B7A733400D55EF8 /* DBTEAMGroupsGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C02B7A733000D55EF8 /* DBTEAMGroupsGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13672B7A733400D55EF8 /* DBTEAMMembersUnsuspendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C12B7A733000D55EF8 /* DBTEAMMembersUnsuspendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13682B7A733400D55EF8 /* DBTEAMMembersUnsuspendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C12B7A733000D55EF8 /* DBTEAMMembersUnsuspendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13692B7A733400D55EF8 /* DBTEAMLegalHoldPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C22B7A733000D55EF8 /* DBTEAMLegalHoldPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136A2B7A733400D55EF8 /* DBTEAMLegalHoldPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C22B7A733000D55EF8 /* DBTEAMLegalHoldPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136B2B7A733400D55EF8 /* DBTEAMLegalHoldStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C32B7A733000D55EF8 /* DBTEAMLegalHoldStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136C2B7A733400D55EF8 /* DBTEAMLegalHoldStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C32B7A733000D55EF8 /* DBTEAMLegalHoldStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136D2B7A733400D55EF8 /* DBTEAMBaseDfbReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C42B7A733000D55EF8 /* DBTEAMBaseDfbReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136E2B7A733400D55EF8 /* DBTEAMBaseDfbReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C42B7A733000D55EF8 /* DBTEAMBaseDfbReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E136F2B7A733400D55EF8 /* DBTEAMMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C52B7A733000D55EF8 /* DBTEAMMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13702B7A733400D55EF8 /* DBTEAMMembersRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C52B7A733000D55EF8 /* DBTEAMMembersRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13712B7A733400D55EF8 /* DBTEAMTeamFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C62B7A733000D55EF8 /* DBTEAMTeamFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13722B7A733400D55EF8 /* DBTEAMTeamFolderAccessError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C62B7A733000D55EF8 /* DBTEAMTeamFolderAccessError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13732B7A733400D55EF8 /* DBTEAMTeamMemberInfoV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C72B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13742B7A733400D55EF8 /* DBTEAMTeamMemberInfoV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C72B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13752B7A733400D55EF8 /* DBTEAMUserAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C82B7A733000D55EF8 /* DBTEAMUserAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13762B7A733400D55EF8 /* DBTEAMUserAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C82B7A733000D55EF8 /* DBTEAMUserAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13772B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C92B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13782B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09C92B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13792B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CA2B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137A2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CA2B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137B2B7A733400D55EF8 /* DBTEAMMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CB2B7A733000D55EF8 /* DBTEAMMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137C2B7A733400D55EF8 /* DBTEAMMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CB2B7A733000D55EF8 /* DBTEAMMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137D2B7A733400D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CC2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137E2B7A733400D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CC2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E137F2B7A733400D55EF8 /* DBTEAMMembersAddLaunchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CD2B7A733000D55EF8 /* DBTEAMMembersAddLaunchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13802B7A733400D55EF8 /* DBTEAMMembersAddLaunchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CD2B7A733000D55EF8 /* DBTEAMMembersAddLaunchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13812B7A733400D55EF8 /* DBTEAMMembersGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CE2B7A733000D55EF8 /* DBTEAMMembersGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13822B7A733400D55EF8 /* DBTEAMMembersGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CE2B7A733000D55EF8 /* DBTEAMMembersGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13832B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CF2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13842B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09CF2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13852B7A733400D55EF8 /* DBTEAMExcludedUsersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D02B7A733000D55EF8 /* DBTEAMExcludedUsersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13862B7A733400D55EF8 /* DBTEAMExcludedUsersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D02B7A733000D55EF8 /* DBTEAMExcludedUsersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13872B7A733400D55EF8 /* DBTEAMUserDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D12B7A733000D55EF8 /* DBTEAMUserDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13882B7A733400D55EF8 /* DBTEAMUserDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D12B7A733000D55EF8 /* DBTEAMUserDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13892B7A733400D55EF8 /* DBTEAMTeamFolderActivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D22B7A733000D55EF8 /* DBTEAMTeamFolderActivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138A2B7A733400D55EF8 /* DBTEAMTeamFolderActivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D22B7A733000D55EF8 /* DBTEAMTeamFolderActivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138B2B7A733400D55EF8 /* DBTEAMHasTeamFileEventsValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D32B7A733000D55EF8 /* DBTEAMHasTeamFileEventsValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138C2B7A733400D55EF8 /* DBTEAMHasTeamFileEventsValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D32B7A733000D55EF8 /* DBTEAMHasTeamFileEventsValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138D2B7A733400D55EF8 /* DBTEAMSharingAllowlistRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D42B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138E2B7A733400D55EF8 /* DBTEAMSharingAllowlistRemoveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D42B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E138F2B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D52B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13902B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D52B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13912B7A733400D55EF8 /* DBTEAMFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D62B7A733000D55EF8 /* DBTEAMFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13922B7A733400D55EF8 /* DBTEAMFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D62B7A733000D55EF8 /* DBTEAMFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13932B7A733400D55EF8 /* DBTEAMDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D72B7A733000D55EF8 /* DBTEAMDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13942B7A733400D55EF8 /* DBTEAMDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D72B7A733000D55EF8 /* DBTEAMDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13952B7A733400D55EF8 /* DBTEAMMembersDataTransferArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D82B7A733000D55EF8 /* DBTEAMMembersDataTransferArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13962B7A733400D55EF8 /* DBTEAMMembersDataTransferArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D82B7A733000D55EF8 /* DBTEAMMembersDataTransferArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13972B7A733400D55EF8 /* DBTEAMListTeamDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D92B7A733000D55EF8 /* DBTEAMListTeamDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13982B7A733400D55EF8 /* DBTEAMListTeamDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09D92B7A733000D55EF8 /* DBTEAMListTeamDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13992B7A733400D55EF8 /* DBTEAMMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DA2B7A733000D55EF8 /* DBTEAMMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139A2B7A733400D55EF8 /* DBTEAMMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DA2B7A733000D55EF8 /* DBTEAMMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139B2B7A733400D55EF8 /* DBTEAMActiveWebSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DB2B7A733000D55EF8 /* DBTEAMActiveWebSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139C2B7A733400D55EF8 /* DBTEAMActiveWebSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DB2B7A733000D55EF8 /* DBTEAMActiveWebSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139D2B7A733400D55EF8 /* DBTEAMUserSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DC2B7A733000D55EF8 /* DBTEAMUserSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139E2B7A733400D55EF8 /* DBTEAMUserSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DC2B7A733000D55EF8 /* DBTEAMUserSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E139F2B7A733400D55EF8 /* DBTEAMGroupFullInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DD2B7A733000D55EF8 /* DBTEAMGroupFullInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A02B7A733400D55EF8 /* DBTEAMGroupFullInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DD2B7A733000D55EF8 /* DBTEAMGroupFullInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A12B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DE2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A22B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DE2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A32B7A733400D55EF8 /* DBTEAMTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DF2B7A733000D55EF8 /* DBTEAMTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A42B7A733400D55EF8 /* DBTEAMTeamMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09DF2B7A733000D55EF8 /* DBTEAMTeamMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A52B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E02B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A62B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E02B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A72B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E12B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A82B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E12B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13A92B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E22B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AA2B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E22B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AB2B7A733400D55EF8 /* DBTEAMMembersSuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E32B7A733000D55EF8 /* DBTEAMMembersSuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AC2B7A733400D55EF8 /* DBTEAMMembersSuspendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E32B7A733000D55EF8 /* DBTEAMMembersSuspendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AD2B7A733400D55EF8 /* DBTEAMGroupMembersAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E42B7A733000D55EF8 /* DBTEAMGroupMembersAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AE2B7A733400D55EF8 /* DBTEAMGroupMembersAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E42B7A733000D55EF8 /* DBTEAMGroupMembersAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13AF2B7A733400D55EF8 /* DBTEAMTeamGetInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E52B7A733000D55EF8 /* DBTEAMTeamGetInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B02B7A733400D55EF8 /* DBTEAMTeamGetInfoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E52B7A733000D55EF8 /* DBTEAMTeamGetInfoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B12B7A733400D55EF8 /* DBTEAMListMembersDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E62B7A733000D55EF8 /* DBTEAMListMembersDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B22B7A733400D55EF8 /* DBTEAMListMembersDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E62B7A733000D55EF8 /* DBTEAMListMembersDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B32B7A733400D55EF8 /* DBTEAMResendSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E72B7A733000D55EF8 /* DBTEAMResendSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B42B7A733400D55EF8 /* DBTEAMResendSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E72B7A733000D55EF8 /* DBTEAMResendSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B52B7A733400D55EF8 /* DBTEAMTeamFolderArchiveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E82B7A733000D55EF8 /* DBTEAMTeamFolderArchiveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B62B7A733400D55EF8 /* DBTEAMTeamFolderArchiveError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E82B7A733000D55EF8 /* DBTEAMTeamFolderArchiveError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B72B7A733400D55EF8 /* DBTEAMTeamFolderListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E92B7A733000D55EF8 /* DBTEAMTeamFolderListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B82B7A733400D55EF8 /* DBTEAMTeamFolderListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09E92B7A733000D55EF8 /* DBTEAMTeamFolderListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13B92B7A733400D55EF8 /* DBTEAMMembersSetProfileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EA2B7A733000D55EF8 /* DBTEAMMembersSetProfileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BA2B7A733400D55EF8 /* DBTEAMMembersSetProfileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EA2B7A733000D55EF8 /* DBTEAMMembersSetProfileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BB2B7A733400D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EB2B7A733000D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BC2B7A733400D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EB2B7A733000D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BD2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EC2B7A733000D55EF8 /* DBTEAMSharingAllowlistAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BE2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EC2B7A733000D55EF8 /* DBTEAMSharingAllowlistAddError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13BF2B7A733400D55EF8 /* DBTEAMRevokeDesktopClientArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09ED2B7A733000D55EF8 /* DBTEAMRevokeDesktopClientArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C02B7A733400D55EF8 /* DBTEAMRevokeDesktopClientArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09ED2B7A733000D55EF8 /* DBTEAMRevokeDesktopClientArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C12B7A733400D55EF8 /* DBTEAMGroupsSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EE2B7A733000D55EF8 /* DBTEAMGroupsSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C22B7A733400D55EF8 /* DBTEAMGroupsSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EE2B7A733000D55EF8 /* DBTEAMGroupsSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C32B7A733400D55EF8 /* DBTEAMSharingAllowlistListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EF2B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C42B7A733400D55EF8 /* DBTEAMSharingAllowlistListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09EF2B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C52B7A733400D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F02B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C62B7A733400D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F02B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C72B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F12B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C82B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F12B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13C92B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F22B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CA2B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F22B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CB2B7A733400D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F32B7A733000D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CC2B7A733400D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F32B7A733000D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CD2B7A733400D55EF8 /* DBTEAMMembersGetInfoItemBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F42B7A733000D55EF8 /* DBTEAMMembersGetInfoItemBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CE2B7A733400D55EF8 /* DBTEAMMembersGetInfoItemBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F42B7A733000D55EF8 /* DBTEAMMembersGetInfoItemBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13CF2B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F52B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D02B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F52B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D12B7A733400D55EF8 /* DBTEAMTeamFolderIdArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F62B7A733000D55EF8 /* DBTEAMTeamFolderIdArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D22B7A733400D55EF8 /* DBTEAMTeamFolderIdArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F62B7A733000D55EF8 /* DBTEAMTeamFolderIdArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D32B7A733400D55EF8 /* DBTEAMSharingAllowlistAddArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F72B7A733000D55EF8 /* DBTEAMSharingAllowlistAddArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D42B7A733400D55EF8 /* DBTEAMSharingAllowlistAddArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F72B7A733000D55EF8 /* DBTEAMSharingAllowlistAddArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D52B7A733400D55EF8 /* DBTEAMGroupsListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F82B7A733000D55EF8 /* DBTEAMGroupsListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D62B7A733400D55EF8 /* DBTEAMGroupsListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F82B7A733000D55EF8 /* DBTEAMGroupsListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D72B7A733400D55EF8 /* DBTEAMListMemberDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F92B7A733000D55EF8 /* DBTEAMListMemberDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D82B7A733400D55EF8 /* DBTEAMListMemberDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09F92B7A733000D55EF8 /* DBTEAMListMemberDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13D92B7A733400D55EF8 /* DBTEAMMemberAccess.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FA2B7A733000D55EF8 /* DBTEAMMemberAccess.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DA2B7A733400D55EF8 /* DBTEAMMemberAccess.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FA2B7A733000D55EF8 /* DBTEAMMemberAccess.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DB2B7A733400D55EF8 /* DBTEAMMembersTransferFilesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FB2B7A733000D55EF8 /* DBTEAMMembersTransferFilesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DC2B7A733400D55EF8 /* DBTEAMMembersTransferFilesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FB2B7A733000D55EF8 /* DBTEAMMembersTransferFilesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DD2B7A733400D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FC2B7A733000D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DE2B7A733400D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FC2B7A733000D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13DF2B7A733400D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FD2B7A733000D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E02B7A733400D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FD2B7A733000D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E12B7A733400D55EF8 /* DBTEAMMembersAddJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FE2B7A733000D55EF8 /* DBTEAMMembersAddJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E22B7A733400D55EF8 /* DBTEAMMembersAddJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FE2B7A733000D55EF8 /* DBTEAMMembersAddJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E32B7A733400D55EF8 /* DBTEAMListMemberAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FF2B7A733000D55EF8 /* DBTEAMListMemberAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E42B7A733400D55EF8 /* DBTEAMListMemberAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E09FF2B7A733000D55EF8 /* DBTEAMListMemberAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E52B7A733400D55EF8 /* DBTEAMTeamMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A002B7A733000D55EF8 /* DBTEAMTeamMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E62B7A733400D55EF8 /* DBTEAMTeamMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A002B7A733000D55EF8 /* DBTEAMTeamMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E72B7A733400D55EF8 /* DBTEAMTeamFolderListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A012B7A733000D55EF8 /* DBTEAMTeamFolderListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E82B7A733400D55EF8 /* DBTEAMTeamFolderListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A012B7A733000D55EF8 /* DBTEAMTeamFolderListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13E92B7A733400D55EF8 /* DBTEAMMobileClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A022B7A733000D55EF8 /* DBTEAMMobileClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13EA2B7A733400D55EF8 /* DBTEAMMobileClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A022B7A733000D55EF8 /* DBTEAMMobileClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13EB2B7A733400D55EF8 /* DBTEAMMembersDeactivateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A032B7A733000D55EF8 /* DBTEAMMembersDeactivateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13EC2B7A733400D55EF8 /* DBTEAMMembersDeactivateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A032B7A733000D55EF8 /* DBTEAMMembersDeactivateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13ED2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A042B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13EE2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A042B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13EF2B7A733400D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A052B7A733000D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F02B7A733400D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A052B7A733000D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F12B7A733400D55EF8 /* DBTEAMTeamFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A062B7A733000D55EF8 /* DBTEAMTeamFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F22B7A733400D55EF8 /* DBTEAMTeamFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A062B7A733000D55EF8 /* DBTEAMTeamFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F32B7A733400D55EF8 /* DBTEAMResendVerificationEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A072B7A733000D55EF8 /* DBTEAMResendVerificationEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F42B7A733400D55EF8 /* DBTEAMResendVerificationEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A072B7A733000D55EF8 /* DBTEAMResendVerificationEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F52B7A733400D55EF8 /* DBTEAMIncludeMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A082B7A733000D55EF8 /* DBTEAMIncludeMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F62B7A733400D55EF8 /* DBTEAMIncludeMembersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A082B7A733000D55EF8 /* DBTEAMIncludeMembersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F72B7A733400D55EF8 /* DBTEAMListMembersAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A092B7A733000D55EF8 /* DBTEAMListMembersAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F82B7A733400D55EF8 /* DBTEAMListMembersAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A092B7A733000D55EF8 /* DBTEAMListMembersAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13F92B7A733400D55EF8 /* DBTEAMMembersSetPermissionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0A2B7A733000D55EF8 /* DBTEAMMembersSetPermissionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FA2B7A733400D55EF8 /* DBTEAMMembersSetPermissionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0A2B7A733000D55EF8 /* DBTEAMMembersSetPermissionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FB2B7A733400D55EF8 /* DBTEAMListTeamDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0B2B7A733000D55EF8 /* DBTEAMListTeamDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FC2B7A733400D55EF8 /* DBTEAMListTeamDevicesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0B2B7A733000D55EF8 /* DBTEAMListTeamDevicesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FD2B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0C2B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FE2B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0C2B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E13FF2B7A733400D55EF8 /* DBTEAMTeamFolderListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0D2B7A733000D55EF8 /* DBTEAMTeamFolderListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14002B7A733400D55EF8 /* DBTEAMTeamFolderListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0D2B7A733000D55EF8 /* DBTEAMTeamFolderListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14012B7A733400D55EF8 /* DBTEAMMembersAddLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0E2B7A733000D55EF8 /* DBTEAMMembersAddLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14022B7A733400D55EF8 /* DBTEAMMembersAddLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0E2B7A733000D55EF8 /* DBTEAMMembersAddLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14032B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0F2B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14042B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A0F2B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14052B7A733400D55EF8 /* DBTEAMExcludedUsersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A102B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14062B7A733400D55EF8 /* DBTEAMExcludedUsersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A102B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14072B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A112B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14082B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A112B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14092B7A733400D55EF8 /* DBTEAMUsersSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A122B7A733000D55EF8 /* DBTEAMUsersSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140A2B7A733400D55EF8 /* DBTEAMUsersSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A122B7A733000D55EF8 /* DBTEAMUsersSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140B2B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A132B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140C2B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A132B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140D2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A142B7A733000D55EF8 /* DBTEAMSharingAllowlistAddResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140E2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A142B7A733000D55EF8 /* DBTEAMSharingAllowlistAddResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E140F2B7A733400D55EF8 /* DBTEAMTeamNamespacesListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A152B7A733000D55EF8 /* DBTEAMTeamNamespacesListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14102B7A733400D55EF8 /* DBTEAMTeamNamespacesListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A152B7A733000D55EF8 /* DBTEAMTeamNamespacesListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14112B7A733400D55EF8 /* DBTEAMMemberAddArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A162B7A733000D55EF8 /* DBTEAMMemberAddArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14122B7A733400D55EF8 /* DBTEAMMemberAddArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A162B7A733000D55EF8 /* DBTEAMMemberAddArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14132B7A733400D55EF8 /* DBTEAMTeamFolderRenameError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A172B7A733000D55EF8 /* DBTEAMTeamFolderRenameError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14142B7A733400D55EF8 /* DBTEAMTeamFolderRenameError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A172B7A733000D55EF8 /* DBTEAMTeamFolderRenameError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14152B7A733400D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A182B7A733000D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14162B7A733400D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A182B7A733000D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14172B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A192B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14182B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A192B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14192B7A733400D55EF8 /* DBTEAMRevokeLinkedAppStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1A2B7A733000D55EF8 /* DBTEAMRevokeLinkedAppStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141A2B7A733400D55EF8 /* DBTEAMRevokeLinkedAppStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1A2B7A733000D55EF8 /* DBTEAMRevokeLinkedAppStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141B2B7A733400D55EF8 /* DBTEAMTeamFolderListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141C2B7A733400D55EF8 /* DBTEAMTeamFolderListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141D2B7A733400D55EF8 /* DBTEAMGroupSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1C2B7A733000D55EF8 /* DBTEAMGroupSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141E2B7A733400D55EF8 /* DBTEAMGroupSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1C2B7A733000D55EF8 /* DBTEAMGroupSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E141F2B7A733400D55EF8 /* DBTEAMAdminTier.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1D2B7A733000D55EF8 /* DBTEAMAdminTier.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14202B7A733400D55EF8 /* DBTEAMAdminTier.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1D2B7A733000D55EF8 /* DBTEAMAdminTier.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14212B7A733400D55EF8 /* DBTEAMDesktopPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1E2B7A733000D55EF8 /* DBTEAMDesktopPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14222B7A733400D55EF8 /* DBTEAMDesktopPlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1E2B7A733000D55EF8 /* DBTEAMDesktopPlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14232B7A733400D55EF8 /* DBTEAMSetCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1F2B7A733000D55EF8 /* DBTEAMSetCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14242B7A733400D55EF8 /* DBTEAMSetCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A1F2B7A733000D55EF8 /* DBTEAMSetCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14252B7A733400D55EF8 /* DBTEAMGroupMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A202B7A733000D55EF8 /* DBTEAMGroupMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14262B7A733400D55EF8 /* DBTEAMGroupMemberSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A202B7A733000D55EF8 /* DBTEAMGroupMemberSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14272B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A212B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14282B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A212B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14292B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A222B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142A2B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A222B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142B2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A232B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142C2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A232B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142D2B7A733400D55EF8 /* DBTEAMGroupMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A242B7A733000D55EF8 /* DBTEAMGroupMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142E2B7A733400D55EF8 /* DBTEAMGroupMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A242B7A733000D55EF8 /* DBTEAMGroupMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E142F2B7A733400D55EF8 /* DBTEAMExcludedUsersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A252B7A733000D55EF8 /* DBTEAMExcludedUsersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14302B7A733400D55EF8 /* DBTEAMExcludedUsersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A252B7A733000D55EF8 /* DBTEAMExcludedUsersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14312B7A733400D55EF8 /* DBTEAMMemberAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A262B7A733000D55EF8 /* DBTEAMMemberAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14322B7A733400D55EF8 /* DBTEAMMemberAddResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A262B7A733000D55EF8 /* DBTEAMMemberAddResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14332B7A733400D55EF8 /* DBTEAMGetMembershipReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A272B7A733000D55EF8 /* DBTEAMGetMembershipReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14342B7A733400D55EF8 /* DBTEAMGetMembershipReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A272B7A733000D55EF8 /* DBTEAMGetMembershipReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14352B7A733400D55EF8 /* DBTEAMMembersSetProfileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A282B7A733000D55EF8 /* DBTEAMMembersSetProfileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14362B7A733400D55EF8 /* DBTEAMMembersSetProfileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A282B7A733000D55EF8 /* DBTEAMMembersSetProfileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14372B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A292B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14382B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A292B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14392B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2A2B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143A2B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2A2B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143B2B7A733400D55EF8 /* DBTEAMGroupsListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2B2B7A733000D55EF8 /* DBTEAMGroupsListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143C2B7A733400D55EF8 /* DBTEAMGroupsListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2B2B7A733000D55EF8 /* DBTEAMGroupsListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143D2B7A733400D55EF8 /* DBTEAMGroupMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2C2B7A733000D55EF8 /* DBTEAMGroupMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143E2B7A733400D55EF8 /* DBTEAMGroupMemberInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2C2B7A733000D55EF8 /* DBTEAMGroupMemberInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E143F2B7A733400D55EF8 /* DBTEAMGroupSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2D2B7A733000D55EF8 /* DBTEAMGroupSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14402B7A733400D55EF8 /* DBTEAMGroupSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2D2B7A733000D55EF8 /* DBTEAMGroupSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14412B7A733400D55EF8 /* DBTEAMMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2E2B7A733000D55EF8 /* DBTEAMMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14422B7A733400D55EF8 /* DBTEAMMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2E2B7A733000D55EF8 /* DBTEAMMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14432B7A733400D55EF8 /* DBTEAMGroupCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2F2B7A733000D55EF8 /* DBTEAMGroupCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14442B7A733400D55EF8 /* DBTEAMGroupCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A2F2B7A733000D55EF8 /* DBTEAMGroupCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14452B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A302B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14462B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A302B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14472B7A733400D55EF8 /* DBTEAMTeamReportFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A312B7A733000D55EF8 /* DBTEAMTeamReportFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14482B7A733400D55EF8 /* DBTEAMTeamReportFailureReason.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A312B7A733000D55EF8 /* DBTEAMTeamReportFailureReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14492B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A322B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144A2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A322B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144B2B7A733400D55EF8 /* DBTEAMUserCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A332B7A733000D55EF8 /* DBTEAMUserCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144C2B7A733400D55EF8 /* DBTEAMUserCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A332B7A733000D55EF8 /* DBTEAMUserCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144D2B7A733400D55EF8 /* DBTEAMSetCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A342B7A733000D55EF8 /* DBTEAMSetCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144E2B7A733400D55EF8 /* DBTEAMSetCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A342B7A733000D55EF8 /* DBTEAMSetCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E144F2B7A733400D55EF8 /* DBTEAMTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A352B7A733000D55EF8 /* DBTEAMTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14502B7A733400D55EF8 /* DBTEAMTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A352B7A733000D55EF8 /* DBTEAMTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14512B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A362B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14522B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A362B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14532B7A733400D55EF8 /* DBTEAMGroupMembersSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A372B7A733000D55EF8 /* DBTEAMGroupMembersSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14542B7A733400D55EF8 /* DBTEAMGroupMembersSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A372B7A733000D55EF8 /* DBTEAMGroupMembersSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14552B7A733400D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A382B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14562B7A733400D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A382B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14572B7A733400D55EF8 /* DBTEAMMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A392B7A733000D55EF8 /* DBTEAMMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14582B7A733400D55EF8 /* DBTEAMMembersAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A392B7A733000D55EF8 /* DBTEAMMembersAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14592B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3A2B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145A2B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3A2B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145B2B7A733400D55EF8 /* DBTEAMGroupCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3B2B7A733000D55EF8 /* DBTEAMGroupCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145C2B7A733400D55EF8 /* DBTEAMGroupCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3B2B7A733000D55EF8 /* DBTEAMGroupCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145D2B7A733400D55EF8 /* DBTEAMCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3C2B7A733000D55EF8 /* DBTEAMCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145E2B7A733400D55EF8 /* DBTEAMCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3C2B7A733000D55EF8 /* DBTEAMCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E145F2B7A733400D55EF8 /* DBTEAMNamespaceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3D2B7A733000D55EF8 /* DBTEAMNamespaceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14602B7A733400D55EF8 /* DBTEAMNamespaceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3D2B7A733000D55EF8 /* DBTEAMNamespaceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14612B7A733400D55EF8 /* DBTEAMSharingAllowlistListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3E2B7A733000D55EF8 /* DBTEAMSharingAllowlistListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14622B7A733400D55EF8 /* DBTEAMSharingAllowlistListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3E2B7A733000D55EF8 /* DBTEAMSharingAllowlistListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14632B7A733400D55EF8 /* DBTEAMGroupUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3F2B7A733000D55EF8 /* DBTEAMGroupUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14642B7A733400D55EF8 /* DBTEAMGroupUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A3F2B7A733000D55EF8 /* DBTEAMGroupUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14652B7A733400D55EF8 /* DBTEAMListMemberAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A402B7A733000D55EF8 /* DBTEAMListMemberAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14662B7A733400D55EF8 /* DBTEAMListMemberAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A402B7A733000D55EF8 /* DBTEAMListMemberAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14672B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A412B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14682B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A412B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14692B7A733500D55EF8 /* DBTEAMGroupMembersSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A422B7A733000D55EF8 /* DBTEAMGroupMembersSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146A2B7A733500D55EF8 /* DBTEAMGroupMembersSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A422B7A733000D55EF8 /* DBTEAMGroupMembersSelector.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146B2B7A733500D55EF8 /* DBTEAMTeamFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A432B7A733000D55EF8 /* DBTEAMTeamFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146C2B7A733500D55EF8 /* DBTEAMTeamFolderCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A432B7A733000D55EF8 /* DBTEAMTeamFolderCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146D2B7A733500D55EF8 /* DBTEAMListTeamDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A442B7A733000D55EF8 /* DBTEAMListTeamDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146E2B7A733500D55EF8 /* DBTEAMListTeamDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A442B7A733000D55EF8 /* DBTEAMListTeamDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E146F2B7A733500D55EF8 /* DBTEAMListMembersDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A452B7A733000D55EF8 /* DBTEAMListMembersDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14702B7A733500D55EF8 /* DBTEAMListMembersDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A452B7A733000D55EF8 /* DBTEAMListMembersDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14712B7A733500D55EF8 /* DBTEAMGetStorageReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A462B7A733000D55EF8 /* DBTEAMGetStorageReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14722B7A733500D55EF8 /* DBTEAMGetStorageReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A462B7A733000D55EF8 /* DBTEAMGetStorageReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14732B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A472B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14742B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A472B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14752B7A733500D55EF8 /* DBTEAMMemberAddV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A482B7A733000D55EF8 /* DBTEAMMemberAddV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14762B7A733500D55EF8 /* DBTEAMMemberAddV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A482B7A733000D55EF8 /* DBTEAMMemberAddV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14772B7A733500D55EF8 /* DBTEAMListMemberDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A492B7A733000D55EF8 /* DBTEAMListMemberDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14782B7A733500D55EF8 /* DBTEAMListMemberDevicesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A492B7A733000D55EF8 /* DBTEAMListMemberDevicesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14792B7A733500D55EF8 /* DBTEAMListTeamAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4A2B7A733000D55EF8 /* DBTEAMListTeamAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147A2B7A733500D55EF8 /* DBTEAMListTeamAppsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4A2B7A733000D55EF8 /* DBTEAMListTeamAppsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147B2B7A733500D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4B2B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147C2B7A733500D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4B2B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147D2B7A733500D55EF8 /* DBTEAMMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4C2B7A733000D55EF8 /* DBTEAMMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147E2B7A733500D55EF8 /* DBTEAMMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4C2B7A733000D55EF8 /* DBTEAMMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E147F2B7A733500D55EF8 /* DBTEAMUserSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4D2B7A733000D55EF8 /* DBTEAMUserSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14802B7A733500D55EF8 /* DBTEAMUserSelectorArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4D2B7A733000D55EF8 /* DBTEAMUserSelectorArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14812B7A733500D55EF8 /* DBTEAMGroupDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4E2B7A733000D55EF8 /* DBTEAMGroupDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14822B7A733500D55EF8 /* DBTEAMGroupDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4E2B7A733000D55EF8 /* DBTEAMGroupDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14832B7A733500D55EF8 /* DBTEAMMembersInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4F2B7A733000D55EF8 /* DBTEAMMembersInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14842B7A733500D55EF8 /* DBTEAMMembersInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A4F2B7A733000D55EF8 /* DBTEAMMembersInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14852B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A502B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14862B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A502B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14872B7A733500D55EF8 /* DBTEAMMembersSetPermissionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A512B7A733000D55EF8 /* DBTEAMMembersSetPermissionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14882B7A733500D55EF8 /* DBTEAMMembersSetPermissionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A512B7A733000D55EF8 /* DBTEAMMembersSetPermissionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14892B7A733500D55EF8 /* DBTEAMMembersSetPermissions2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A522B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148A2B7A733500D55EF8 /* DBTEAMMembersSetPermissions2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A522B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148B2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A532B7A733000D55EF8 /* DBTEAMAddSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148C2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A532B7A733000D55EF8 /* DBTEAMAddSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148D2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A542B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148E2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A542B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E148F2B7A733500D55EF8 /* DBTEAMLegalHoldsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A552B7A733000D55EF8 /* DBTEAMLegalHoldsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14902B7A733500D55EF8 /* DBTEAMLegalHoldsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A552B7A733000D55EF8 /* DBTEAMLegalHoldsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14912B7A733500D55EF8 /* DBTEAMTeamMemberRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A562B7A733000D55EF8 /* DBTEAMTeamMemberRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14922B7A733500D55EF8 /* DBTEAMTeamMemberRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A562B7A733000D55EF8 /* DBTEAMTeamMemberRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14932B7A733500D55EF8 /* DBTEAMDesktopClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A572B7A733000D55EF8 /* DBTEAMDesktopClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14942B7A733500D55EF8 /* DBTEAMDesktopClientSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A572B7A733000D55EF8 /* DBTEAMDesktopClientSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14952B7A733500D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A582B7A733000D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14962B7A733500D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A582B7A733000D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14972B7A733500D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A592B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14982B7A733500D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A592B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14992B7A733500D55EF8 /* DBTEAMMembersDeactivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5A2B7A733000D55EF8 /* DBTEAMMembersDeactivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149A2B7A733500D55EF8 /* DBTEAMMembersDeactivateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5A2B7A733000D55EF8 /* DBTEAMMembersDeactivateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149B2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5B2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149C2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5B2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149D2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5C2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149E2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5C2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E149F2B7A733500D55EF8 /* DBTEAMGroupMembersChangeResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5D2B7A733000D55EF8 /* DBTEAMGroupMembersChangeResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A02B7A733500D55EF8 /* DBTEAMGroupMembersChangeResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5D2B7A733000D55EF8 /* DBTEAMGroupMembersChangeResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A12B7A733500D55EF8 /* DBTEAMMembersDeactivateBaseArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5E2B7A733000D55EF8 /* DBTEAMMembersDeactivateBaseArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A22B7A733500D55EF8 /* DBTEAMMembersDeactivateBaseArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5E2B7A733000D55EF8 /* DBTEAMMembersDeactivateBaseArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A32B7A733500D55EF8 /* DBTEAMNamespaceMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5F2B7A733000D55EF8 /* DBTEAMNamespaceMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A42B7A733500D55EF8 /* DBTEAMNamespaceMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A5F2B7A733000D55EF8 /* DBTEAMNamespaceMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A52B7A733500D55EF8 /* DBTEAMSharingAllowlistListResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A602B7A733000D55EF8 /* DBTEAMSharingAllowlistListResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A62B7A733500D55EF8 /* DBTEAMSharingAllowlistListResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A602B7A733000D55EF8 /* DBTEAMSharingAllowlistListResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A72B7A733500D55EF8 /* DBTEAMDateRangeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A612B7A733000D55EF8 /* DBTEAMDateRangeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A82B7A733500D55EF8 /* DBTEAMDateRangeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A612B7A733000D55EF8 /* DBTEAMDateRangeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14A92B7A733500D55EF8 /* DBTEAMTeamFolderArchiveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A622B7A733000D55EF8 /* DBTEAMTeamFolderArchiveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AA2B7A733500D55EF8 /* DBTEAMTeamFolderArchiveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A622B7A733000D55EF8 /* DBTEAMTeamFolderArchiveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AB2B7A733500D55EF8 /* DBTEAMMemberAddV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A632B7A733000D55EF8 /* DBTEAMMemberAddV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AC2B7A733500D55EF8 /* DBTEAMMemberAddV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A632B7A733000D55EF8 /* DBTEAMMemberAddV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AD2B7A733500D55EF8 /* DBTEAMDevicesActive.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A642B7A733000D55EF8 /* DBTEAMDevicesActive.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AE2B7A733500D55EF8 /* DBTEAMDevicesActive.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A642B7A733000D55EF8 /* DBTEAMDevicesActive.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14AF2B7A733500D55EF8 /* DBTEAMGroupsGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A652B7A733000D55EF8 /* DBTEAMGroupsGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B02B7A733500D55EF8 /* DBTEAMGroupsGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A652B7A733000D55EF8 /* DBTEAMGroupsGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B12B7A733500D55EF8 /* DBTEAMListTeamAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A662B7A733000D55EF8 /* DBTEAMListTeamAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B22B7A733500D55EF8 /* DBTEAMListTeamAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A662B7A733000D55EF8 /* DBTEAMListTeamAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B32B7A733500D55EF8 /* DBTEAMTeamMemberInfoV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A672B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B42B7A733500D55EF8 /* DBTEAMTeamMemberInfoV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A672B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B52B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A682B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B62B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A682B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B72B7A733500D55EF8 /* DBTEAMMembersGetInfoItemV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A692B7A733000D55EF8 /* DBTEAMMembersGetInfoItemV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B82B7A733500D55EF8 /* DBTEAMMembersGetInfoItemV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A692B7A733000D55EF8 /* DBTEAMMembersGetInfoItemV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14B92B7A733500D55EF8 /* DBTEAMBaseTeamFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6A2B7A733000D55EF8 /* DBTEAMBaseTeamFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BA2B7A733500D55EF8 /* DBTEAMBaseTeamFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6A2B7A733000D55EF8 /* DBTEAMBaseTeamFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BB2B7A733500D55EF8 /* DBTEAMTeamFolderListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BC2B7A733500D55EF8 /* DBTEAMTeamFolderListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BD2B7A733500D55EF8 /* DBTEAMListTeamAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6C2B7A733000D55EF8 /* DBTEAMListTeamAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BE2B7A733500D55EF8 /* DBTEAMListTeamAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6C2B7A733000D55EF8 /* DBTEAMListTeamAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14BF2B7A733500D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6D2B7A733000D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C02B7A733500D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6D2B7A733000D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C12B7A733500D55EF8 /* DBTEAMUserCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6E2B7A733000D55EF8 /* DBTEAMUserCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C22B7A733500D55EF8 /* DBTEAMUserCustomQuotaArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6E2B7A733000D55EF8 /* DBTEAMUserCustomQuotaArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C32B7A733500D55EF8 /* DBTEAMListMemberDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6F2B7A733000D55EF8 /* DBTEAMListMemberDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C42B7A733500D55EF8 /* DBTEAMListMemberDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A6F2B7A733000D55EF8 /* DBTEAMListMemberDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C52B7A733500D55EF8 /* DBTEAMDateRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A702B7A733000D55EF8 /* DBTEAMDateRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C62B7A733500D55EF8 /* DBTEAMDateRange.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A702B7A733000D55EF8 /* DBTEAMDateRange.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C72B7A733500D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A712B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C82B7A733500D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A712B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14C92B7A733500D55EF8 /* DBTEAMDeviceSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A722B7A733000D55EF8 /* DBTEAMDeviceSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CA2B7A733500D55EF8 /* DBTEAMDeviceSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A722B7A733000D55EF8 /* DBTEAMDeviceSession.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CB2B7A733500D55EF8 /* DBTEAMRemoveCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A732B7A733000D55EF8 /* DBTEAMRemoveCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CC2B7A733500D55EF8 /* DBTEAMRemoveCustomQuotaResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A732B7A733000D55EF8 /* DBTEAMRemoveCustomQuotaResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CD2B7A733500D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A742B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CE2B7A733500D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A742B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14CF2B7A733500D55EF8 /* DBTEAMRevokeLinkedAppError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A752B7A733000D55EF8 /* DBTEAMRevokeLinkedAppError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D02B7A733500D55EF8 /* DBTEAMRevokeLinkedAppError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A752B7A733000D55EF8 /* DBTEAMRevokeLinkedAppError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D12B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A762B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D22B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A762B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D32B7A733500D55EF8 /* DBTEAMUserDeleteEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A772B7A733000D55EF8 /* DBTEAMUserDeleteEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D42B7A733500D55EF8 /* DBTEAMUserDeleteEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A772B7A733000D55EF8 /* DBTEAMUserDeleteEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D52B7A733500D55EF8 /* DBTEAMMembersRecoverError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A782B7A733000D55EF8 /* DBTEAMMembersRecoverError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D62B7A733500D55EF8 /* DBTEAMMembersRecoverError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A782B7A733000D55EF8 /* DBTEAMMembersRecoverError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D72B7A733500D55EF8 /* DBTEAMCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A792B7A733000D55EF8 /* DBTEAMCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D82B7A733500D55EF8 /* DBTEAMCustomQuotaError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A792B7A733000D55EF8 /* DBTEAMCustomQuotaError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14D92B7A733500D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7A2B7A733000D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DA2B7A733500D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7A2B7A733000D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DB2B7A733500D55EF8 /* DBTEAMSharingAllowlistListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7B2B7A733000D55EF8 /* DBTEAMSharingAllowlistListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DC2B7A733500D55EF8 /* DBTEAMSharingAllowlistListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7B2B7A733000D55EF8 /* DBTEAMSharingAllowlistListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DD2B7A733500D55EF8 /* DBTEAMTeamFolderRenameArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7C2B7A733000D55EF8 /* DBTEAMTeamFolderRenameArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DE2B7A733500D55EF8 /* DBTEAMTeamFolderRenameArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7C2B7A733000D55EF8 /* DBTEAMTeamFolderRenameArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14DF2B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7D2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E02B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7D2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E12B7A733500D55EF8 /* DBTEAMTeamNamespacesListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7E2B7A733000D55EF8 /* DBTEAMTeamNamespacesListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E22B7A733500D55EF8 /* DBTEAMTeamNamespacesListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7E2B7A733000D55EF8 /* DBTEAMTeamNamespacesListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E32B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7F2B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E42B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A7F2B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E52B7A733500D55EF8 /* DBTEAMListMembersAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A802B7A733000D55EF8 /* DBTEAMListMembersAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E62B7A733500D55EF8 /* DBTEAMListMembersAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A802B7A733000D55EF8 /* DBTEAMListMembersAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E72B7A733500D55EF8 /* DBTEAMMembersRecoverArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A812B7A733000D55EF8 /* DBTEAMMembersRecoverArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E82B7A733500D55EF8 /* DBTEAMMembersRecoverArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A812B7A733000D55EF8 /* DBTEAMMembersRecoverArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14E92B7A733500D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A822B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14EA2B7A733500D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A822B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14EB2B7A733500D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A832B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14EC2B7A733500D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A832B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14ED2B7A733500D55EF8 /* DBTEAMGroupsListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A842B7A733000D55EF8 /* DBTEAMGroupsListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14EE2B7A733500D55EF8 /* DBTEAMGroupsListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A842B7A733000D55EF8 /* DBTEAMGroupsListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14EF2B7A733500D55EF8 /* DBTEAMTeamFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A852B7A733000D55EF8 /* DBTEAMTeamFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F02B7A733500D55EF8 /* DBTEAMTeamFolderCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A852B7A733000D55EF8 /* DBTEAMTeamFolderCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F12B7A733500D55EF8 /* DBTEAMGroupMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A862B7A733000D55EF8 /* DBTEAMGroupMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F22B7A733500D55EF8 /* DBTEAMGroupMembersRemoveArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A862B7A733000D55EF8 /* DBTEAMGroupMembersRemoveArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F32B7A733500D55EF8 /* DBTEAMTeamFolderGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A872B7A733000D55EF8 /* DBTEAMTeamFolderGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F42B7A733500D55EF8 /* DBTEAMTeamFolderGetInfoItem.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A872B7A733000D55EF8 /* DBTEAMTeamFolderGetInfoItem.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F52B7A733500D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A882B7A733000D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F62B7A733500D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A882B7A733000D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F72B7A733500D55EF8 /* DBTEAMMemberLinkedApps.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A892B7A733000D55EF8 /* DBTEAMMemberLinkedApps.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F82B7A733500D55EF8 /* DBTEAMMemberLinkedApps.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A892B7A733000D55EF8 /* DBTEAMMemberLinkedApps.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14F92B7A733500D55EF8 /* DBTEAMMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8A2B7A733000D55EF8 /* DBTEAMMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FA2B7A733500D55EF8 /* DBTEAMMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8A2B7A733000D55EF8 /* DBTEAMMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FB2B7A733500D55EF8 /* DBTEAMGroupsMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8B2B7A733000D55EF8 /* DBTEAMGroupsMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FC2B7A733500D55EF8 /* DBTEAMGroupsMembersListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8B2B7A733000D55EF8 /* DBTEAMGroupsMembersListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FD2B7A733500D55EF8 /* DBTEAMGetActivityReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8C2B7A733000D55EF8 /* DBTEAMGetActivityReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FE2B7A733500D55EF8 /* DBTEAMGetActivityReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8C2B7A733000D55EF8 /* DBTEAMGetActivityReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E14FF2B7A733500D55EF8 /* DBTEAMGroupsMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8D2B7A733000D55EF8 /* DBTEAMGroupsMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15002B7A733500D55EF8 /* DBTEAMGroupsMembersListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8D2B7A733000D55EF8 /* DBTEAMGroupsMembersListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15012B7A733500D55EF8 /* DBTEAMTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8E2B7A733000D55EF8 /* DBTEAMTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15022B7A733500D55EF8 /* DBTEAMTeamFolderStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8E2B7A733000D55EF8 /* DBTEAMTeamFolderStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15032B7A733500D55EF8 /* DBTEAMMembersGetInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8F2B7A733000D55EF8 /* DBTEAMMembersGetInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15042B7A733500D55EF8 /* DBTEAMMembersGetInfoArgs.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A8F2B7A733000D55EF8 /* DBTEAMMembersGetInfoArgs.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15052B7A733500D55EF8 /* DBTEAMMembersSetPermissionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A902B7A733000D55EF8 /* DBTEAMMembersSetPermissionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15062B7A733500D55EF8 /* DBTEAMMembersSetPermissionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A902B7A733000D55EF8 /* DBTEAMMembersSetPermissionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15072B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A912B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15082B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A912B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15092B7A733500D55EF8 /* DBTEAMUploadApiRateLimitValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A922B7A733000D55EF8 /* DBTEAMUploadApiRateLimitValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150A2B7A733500D55EF8 /* DBTEAMUploadApiRateLimitValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A922B7A733000D55EF8 /* DBTEAMUploadApiRateLimitValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150B2B7A733500D55EF8 /* DBTEAMApiApp.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A932B7A733000D55EF8 /* DBTEAMApiApp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150C2B7A733500D55EF8 /* DBTEAMApiApp.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A932B7A733000D55EF8 /* DBTEAMApiApp.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150D2B7A733500D55EF8 /* DBTEAMFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A942B7A733000D55EF8 /* DBTEAMFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150E2B7A733500D55EF8 /* DBTEAMFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A942B7A733000D55EF8 /* DBTEAMFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E150F2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A952B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15102B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A952B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15112B7A733500D55EF8 /* DBTEAMMembersAddV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A962B7A733000D55EF8 /* DBTEAMMembersAddV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15122B7A733500D55EF8 /* DBTEAMMembersAddV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A962B7A733000D55EF8 /* DBTEAMMembersAddV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15132B7A733500D55EF8 /* DBTEAMTeamFolderIdListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A972B7A733000D55EF8 /* DBTEAMTeamFolderIdListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15142B7A733500D55EF8 /* DBTEAMTeamFolderIdListArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A972B7A733000D55EF8 /* DBTEAMTeamFolderIdListArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15152B7A733500D55EF8 /* DBTEAMListMemberAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A982B7A733000D55EF8 /* DBTEAMListMemberAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15162B7A733500D55EF8 /* DBTEAMListMemberAppsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A982B7A733000D55EF8 /* DBTEAMListMemberAppsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15172B7A733500D55EF8 /* DBTEAMMembersSendWelcomeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A992B7A733000D55EF8 /* DBTEAMMembersSendWelcomeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15182B7A733500D55EF8 /* DBTEAMMembersSendWelcomeError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A992B7A733000D55EF8 /* DBTEAMMembersSendWelcomeError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15192B7A733500D55EF8 /* DBTEAMGetDevicesReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9A2B7A733000D55EF8 /* DBTEAMGetDevicesReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151A2B7A733500D55EF8 /* DBTEAMGetDevicesReport.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9A2B7A733000D55EF8 /* DBTEAMGetDevicesReport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151B2B7A733500D55EF8 /* DBTEAMMemberAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9B2B7A733000D55EF8 /* DBTEAMMemberAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151C2B7A733500D55EF8 /* DBTEAMMemberAddArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9B2B7A733000D55EF8 /* DBTEAMMemberAddArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151D2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9C2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151E2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9C2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E151F2B7A733500D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9D2B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15202B7A733500D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9D2B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15212B7A733500D55EF8 /* DBTEAMMembersGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9E2B7A733000D55EF8 /* DBTEAMMembersGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15222B7A733500D55EF8 /* DBTEAMMembersGetInfoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9E2B7A733000D55EF8 /* DBTEAMMembersGetInfoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15232B7A733500D55EF8 /* DBTEAMMemberDevices.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9F2B7A733000D55EF8 /* DBTEAMMemberDevices.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15242B7A733500D55EF8 /* DBTEAMMemberDevices.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0A9F2B7A733000D55EF8 /* DBTEAMMemberDevices.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15252B7A733500D55EF8 /* DBTEAMListMembersAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA02B7A733000D55EF8 /* DBTEAMListMembersAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15262B7A733500D55EF8 /* DBTEAMListMembersAppsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA02B7A733000D55EF8 /* DBTEAMListMembersAppsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15272B7A733500D55EF8 /* DBTEAMCustomQuotaUsersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA12B7A733000D55EF8 /* DBTEAMCustomQuotaUsersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15282B7A733500D55EF8 /* DBTEAMCustomQuotaUsersArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA12B7A733000D55EF8 /* DBTEAMCustomQuotaUsersArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15292B7A733500D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA22B7A733000D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152A2B7A733500D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA22B7A733000D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152B2B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA32B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152C2B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA32B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152D2B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA42B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152E2B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA42B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E152F2B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA52B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15302B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA52B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15312B7A733500D55EF8 /* DBTEAMUserResendResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA62B7A733000D55EF8 /* DBTEAMUserResendResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15322B7A733500D55EF8 /* DBTEAMUserResendResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA62B7A733000D55EF8 /* DBTEAMUserResendResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15332B7A733500D55EF8 /* DBTEAMGroupMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA72B7A733000D55EF8 /* DBTEAMGroupMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15342B7A733500D55EF8 /* DBTEAMGroupMemberSelectorError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA72B7A733000D55EF8 /* DBTEAMGroupMemberSelectorError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15352B7A733500D55EF8 /* DBTEAMMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA82B7A733000D55EF8 /* DBTEAMMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15362B7A733500D55EF8 /* DBTEAMMembersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA82B7A733000D55EF8 /* DBTEAMMembersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15372B7A733500D55EF8 /* DBTEAMTeamNamespacesListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA92B7A733000D55EF8 /* DBTEAMTeamNamespacesListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15382B7A733500D55EF8 /* DBTEAMTeamNamespacesListResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AA92B7A733000D55EF8 /* DBTEAMTeamNamespacesListResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15392B7A733500D55EF8 /* DBTEAMTeamMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAA2B7A733000D55EF8 /* DBTEAMTeamMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153A2B7A733500D55EF8 /* DBTEAMTeamMemberProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAA2B7A733000D55EF8 /* DBTEAMTeamMemberProfile.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153B2B7A733500D55EF8 /* DBTEAMExcludedUsersUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAB2B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153C2B7A733500D55EF8 /* DBTEAMExcludedUsersUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAB2B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153D2B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAC2B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153E2B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAC2B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E153F2B7A733500D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAD2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15402B7A733500D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAD2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15412B7A733500D55EF8 /* DBTEAMExcludedUsersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAE2B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15422B7A733500D55EF8 /* DBTEAMExcludedUsersListContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAE2B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15432B7A733500D55EF8 /* DBTEAMMembersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAF2B7A733000D55EF8 /* DBTEAMMembersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15442B7A733500D55EF8 /* DBTEAMMembersListError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AAF2B7A733000D55EF8 /* DBTEAMMembersListError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15452B7A733500D55EF8 /* DBTEAMListMembersDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB02B7A733000D55EF8 /* DBTEAMListMembersDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15462B7A733500D55EF8 /* DBTEAMListMembersDevicesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB02B7A733000D55EF8 /* DBTEAMListMembersDevicesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15472B7A733500D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB12B7A733000D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15482B7A733500D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB12B7A733000D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15492B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154B2B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB52B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154C2B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB52B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154D2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB62B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154E2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB62B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E154F2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15502B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15512B7A733500D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB82B7A733000D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15522B7A733500D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB82B7A733000D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15532B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15542B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AB92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15552B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABA2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15562B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABA2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15572B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABB2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15582B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABB2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15592B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABC2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABC2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155B2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABD2B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155C2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABD2B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155D2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyField.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABE2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyField.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155E2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyField.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABE2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyField.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E155F2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABF2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15602B7A733500D55EF8 /* DBFILEPROPERTIESPropertyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ABF2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15612B7A733500D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC02B7A733000D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15622B7A733500D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC02B7A733000D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15632B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC12B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15642B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC12B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15652B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC22B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15662B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC22B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15672B7A733500D55EF8 /* DBFILEPROPERTIESListTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC32B7A733000D55EF8 /* DBFILEPROPERTIESListTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15682B7A733500D55EF8 /* DBFILEPROPERTIESListTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC32B7A733000D55EF8 /* DBFILEPROPERTIESListTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15692B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC42B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156A2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC42B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156B2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC52B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156C2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC52B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156D2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC62B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156E2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC62B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E156F2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC72B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15702B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC72B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15712B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC82B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15722B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC82B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15732B7A733500D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15742B7A733500D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AC92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15752B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACA2B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15762B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACA2B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15772B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACB2B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15782B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACB2B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15792B7A733500D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACC2B7A733000D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157A2B7A733500D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACC2B7A733000D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157B2B7A733500D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACD2B7A733000D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157C2B7A733500D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACD2B7A733000D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157D2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACE2B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157E2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACE2B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E157F2B7A733500D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACF2B7A733000D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15802B7A733500D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ACF2B7A733000D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15812B7A733500D55EF8 /* DBFILEPROPERTIESLogicalOperator.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD02B7A733000D55EF8 /* DBFILEPROPERTIESLogicalOperator.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15822B7A733500D55EF8 /* DBFILEPROPERTIESLogicalOperator.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD02B7A733000D55EF8 /* DBFILEPROPERTIESLogicalOperator.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15832B7A733500D55EF8 /* DBFILEPROPERTIESTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD12B7A733000D55EF8 /* DBFILEPROPERTIESTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15842B7A733500D55EF8 /* DBFILEPROPERTIESTemplateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD12B7A733000D55EF8 /* DBFILEPROPERTIESTemplateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15852B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD22B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15862B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD22B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15872B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD32B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15882B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD32B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15892B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158B2B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD52B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158C2B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD52B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158D2B7A733500D55EF8 /* DBFILEPROPERTIESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD62B7A733000D55EF8 /* DBFILEPROPERTIESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158E2B7A733500D55EF8 /* DBFILEPROPERTIESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD62B7A733000D55EF8 /* DBFILEPROPERTIESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E158F2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15902B7A733500D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15912B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD82B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15922B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD82B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15932B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD92B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15942B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AD92B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15952B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ADA2B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15962B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ADA2B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15972B7A733500D55EF8 /* DBFilePropertiesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0ADB2B7A733000D55EF8 /* DBFilePropertiesObjects.m */; }; + F99E15982B7A733500D55EF8 /* DBFilePropertiesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0ADB2B7A733000D55EF8 /* DBFilePropertiesObjects.m */; }; + F99E15992B7A733500D55EF8 /* DBUsersObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0ADD2B7A733000D55EF8 /* DBUsersObjects.m */; }; + F99E159A2B7A733500D55EF8 /* DBUsersObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0ADD2B7A733000D55EF8 /* DBUsersObjects.m */; }; + F99E159B2B7A733500D55EF8 /* DBUSERSTeamSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ADF2B7A733000D55EF8 /* DBUSERSTeamSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E159C2B7A733500D55EF8 /* DBUSERSTeamSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ADF2B7A733000D55EF8 /* DBUSERSTeamSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E159D2B7A733500D55EF8 /* DBUSERSBasicAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE02B7A733000D55EF8 /* DBUSERSBasicAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E159E2B7A733500D55EF8 /* DBUSERSBasicAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE02B7A733000D55EF8 /* DBUSERSBasicAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E159F2B7A733500D55EF8 /* DBUSERSGetAccountError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE12B7A733000D55EF8 /* DBUSERSGetAccountError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A02B7A733500D55EF8 /* DBUSERSGetAccountError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE12B7A733000D55EF8 /* DBUSERSGetAccountError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A12B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE22B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A22B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE22B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A32B7A733500D55EF8 /* DBUSERSUserFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE32B7A733000D55EF8 /* DBUSERSUserFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A42B7A733500D55EF8 /* DBUSERSUserFeatureValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE32B7A733000D55EF8 /* DBUSERSUserFeatureValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A52B7A733500D55EF8 /* DBUSERSGetAccountArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE42B7A733000D55EF8 /* DBUSERSGetAccountArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A62B7A733500D55EF8 /* DBUSERSGetAccountArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE42B7A733000D55EF8 /* DBUSERSGetAccountArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A72B7A733500D55EF8 /* DBUSERSFullTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE52B7A733000D55EF8 /* DBUSERSFullTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A82B7A733500D55EF8 /* DBUSERSFullTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE52B7A733000D55EF8 /* DBUSERSFullTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15A92B7A733500D55EF8 /* DBUSERSTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE62B7A733000D55EF8 /* DBUSERSTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AA2B7A733500D55EF8 /* DBUSERSTeam.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE62B7A733000D55EF8 /* DBUSERSTeam.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AB2B7A733500D55EF8 /* DBUSERSIndividualSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE72B7A733000D55EF8 /* DBUSERSIndividualSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AC2B7A733500D55EF8 /* DBUSERSIndividualSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE72B7A733000D55EF8 /* DBUSERSIndividualSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AD2B7A733500D55EF8 /* DBUSERSGetAccountBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE82B7A733000D55EF8 /* DBUSERSGetAccountBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AE2B7A733500D55EF8 /* DBUSERSGetAccountBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE82B7A733000D55EF8 /* DBUSERSGetAccountBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15AF2B7A733500D55EF8 /* DBUSERSSpaceUsage.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE92B7A733000D55EF8 /* DBUSERSSpaceUsage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B02B7A733500D55EF8 /* DBUSERSSpaceUsage.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AE92B7A733000D55EF8 /* DBUSERSSpaceUsage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B12B7A733500D55EF8 /* DBUSERSName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEA2B7A733000D55EF8 /* DBUSERSName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B22B7A733500D55EF8 /* DBUSERSName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEA2B7A733000D55EF8 /* DBUSERSName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B32B7A733500D55EF8 /* DBUSERSFullAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEB2B7A733000D55EF8 /* DBUSERSFullAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B42B7A733500D55EF8 /* DBUSERSFullAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEB2B7A733000D55EF8 /* DBUSERSFullAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B52B7A733500D55EF8 /* DBUSERSUserFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEC2B7A733000D55EF8 /* DBUSERSUserFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B62B7A733500D55EF8 /* DBUSERSUserFeature.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEC2B7A733000D55EF8 /* DBUSERSUserFeature.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B72B7A733500D55EF8 /* DBUSERSPaperAsFilesValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AED2B7A733000D55EF8 /* DBUSERSPaperAsFilesValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B82B7A733500D55EF8 /* DBUSERSPaperAsFilesValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AED2B7A733000D55EF8 /* DBUSERSPaperAsFilesValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15B92B7A733500D55EF8 /* DBUSERSGetAccountBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEE2B7A733000D55EF8 /* DBUSERSGetAccountBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BA2B7A733500D55EF8 /* DBUSERSGetAccountBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEE2B7A733000D55EF8 /* DBUSERSGetAccountBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BB2B7A733500D55EF8 /* DBUSERSFileLockingValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEF2B7A733000D55EF8 /* DBUSERSFileLockingValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BC2B7A733500D55EF8 /* DBUSERSFileLockingValue.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AEF2B7A733000D55EF8 /* DBUSERSFileLockingValue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BD2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF02B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BE2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF02B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15BF2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF12B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C02B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF12B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C12B7A733500D55EF8 /* DBUSERSAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF22B7A733000D55EF8 /* DBUSERSAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C22B7A733500D55EF8 /* DBUSERSAccount.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF22B7A733000D55EF8 /* DBUSERSAccount.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C32B7A733500D55EF8 /* DBUSERSSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF32B7A733000D55EF8 /* DBUSERSSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C42B7A733500D55EF8 /* DBUSERSSpaceAllocation.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF32B7A733000D55EF8 /* DBUSERSSpaceAllocation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C52B7A733500D55EF8 /* DBTeamLogObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0AF52B7A733000D55EF8 /* DBTeamLogObjects.m */; }; + F99E15C62B7A733500D55EF8 /* DBTeamLogObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0AF52B7A733000D55EF8 /* DBTeamLogObjects.m */; }; + F99E15C72B7A733500D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF72B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C82B7A733500D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF72B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15C92B7A733500D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF82B7A733000D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CA2B7A733500D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF82B7A733000D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CB2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF92B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CC2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AF92B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CD2B7A733500D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFA2B7A733000D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CE2B7A733500D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFA2B7A733000D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15CF2B7A733500D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFB2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D02B7A733500D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFB2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D12B7A733500D55EF8 /* DBTEAMLOGSharedLinkShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFC2B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D22B7A733500D55EF8 /* DBTEAMLOGSharedLinkShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFC2B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D32B7A733500D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFD2B7A733000D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D42B7A733500D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFD2B7A733000D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D52B7A733500D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFE2B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D62B7A733500D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFE2B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D72B7A733500D55EF8 /* DBTEAMLOGFileMoveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFF2B7A733000D55EF8 /* DBTEAMLOGFileMoveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D82B7A733500D55EF8 /* DBTEAMLOGFileMoveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0AFF2B7A733000D55EF8 /* DBTEAMLOGFileMoveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15D92B7A733500D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B002B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DA2B7A733500D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B002B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DB2B7A733500D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B012B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DC2B7A733500D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B012B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DD2B7A733500D55EF8 /* DBTEAMLOGFileRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B022B7A733000D55EF8 /* DBTEAMLOGFileRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DE2B7A733500D55EF8 /* DBTEAMLOGFileRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B022B7A733000D55EF8 /* DBTEAMLOGFileRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15DF2B7A733500D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B032B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E02B7A733500D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B032B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E12B7A733500D55EF8 /* DBTEAMLOGTfaChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B042B7A733000D55EF8 /* DBTEAMLOGTfaChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E22B7A733500D55EF8 /* DBTEAMLOGTfaChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B042B7A733000D55EF8 /* DBTEAMLOGTfaChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E32B7A733500D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B052B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E42B7A733500D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B052B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E52B7A733500D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B062B7A733000D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E62B7A733500D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B062B7A733000D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E72B7A733500D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B072B7A733000D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E82B7A733500D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B072B7A733000D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15E92B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B082B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15EA2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B082B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15EB2B7A733500D55EF8 /* DBTEAMLOGFileCommentsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B092B7A733000D55EF8 /* DBTEAMLOGFileCommentsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15EC2B7A733500D55EF8 /* DBTEAMLOGFileCommentsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B092B7A733000D55EF8 /* DBTEAMLOGFileCommentsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15ED2B7A733500D55EF8 /* DBTEAMLOGDispositionActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0A2B7A733000D55EF8 /* DBTEAMLOGDispositionActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15EE2B7A733500D55EF8 /* DBTEAMLOGDispositionActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0A2B7A733000D55EF8 /* DBTEAMLOGDispositionActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15EF2B7A733500D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0B2B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F02B7A733500D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0B2B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F12B7A733500D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0C2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F22B7A733500D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0C2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F32B7A733500D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0D2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F42B7A733500D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0D2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F52B7A733500D55EF8 /* DBTEAMLOGComputerBackupPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0E2B7A733000D55EF8 /* DBTEAMLOGComputerBackupPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F62B7A733500D55EF8 /* DBTEAMLOGComputerBackupPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0E2B7A733000D55EF8 /* DBTEAMLOGComputerBackupPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F72B7A733500D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0F2B7A733000D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F82B7A733500D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B0F2B7A733000D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15F92B7A733500D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B102B7A733000D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FA2B7A733500D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B102B7A733000D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FB2B7A733500D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B112B7A733000D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FC2B7A733500D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B112B7A733000D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FD2B7A733500D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B122B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FE2B7A733500D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B122B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E15FF2B7A733500D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B132B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16002B7A733500D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B132B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16012B7A733500D55EF8 /* DBTEAMLOGFileLikeCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B142B7A733000D55EF8 /* DBTEAMLOGFileLikeCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16022B7A733500D55EF8 /* DBTEAMLOGFileLikeCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B142B7A733000D55EF8 /* DBTEAMLOGFileLikeCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16032B7A733500D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B152B7A733000D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16042B7A733500D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B152B7A733000D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16052B7A733500D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B162B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16062B7A733500D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B162B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16072B7A733500D55EF8 /* DBTEAMLOGInviteMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B172B7A733000D55EF8 /* DBTEAMLOGInviteMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16082B7A733500D55EF8 /* DBTEAMLOGInviteMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B172B7A733000D55EF8 /* DBTEAMLOGInviteMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16092B7A733500D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B182B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160A2B7A733500D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B182B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160B2B7A733500D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B192B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160C2B7A733500D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B192B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160D2B7A733500D55EF8 /* DBTEAMLOGWatermarkingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1A2B7A733000D55EF8 /* DBTEAMLOGWatermarkingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160E2B7A733500D55EF8 /* DBTEAMLOGWatermarkingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1A2B7A733000D55EF8 /* DBTEAMLOGWatermarkingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E160F2B7A733500D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1B2B7A733000D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16102B7A733500D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1B2B7A733000D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16112B7A733500D55EF8 /* DBTEAMLOGTfaResetType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1C2B7A733000D55EF8 /* DBTEAMLOGTfaResetType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16122B7A733500D55EF8 /* DBTEAMLOGTfaResetType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1C2B7A733000D55EF8 /* DBTEAMLOGTfaResetType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16132B7A733500D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16142B7A733500D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16152B7A733500D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1E2B7A733000D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16162B7A733500D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1E2B7A733000D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16172B7A733500D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1F2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16182B7A733500D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B1F2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16192B7A733500D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B202B7A733000D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161A2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B202B7A733000D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161B2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B212B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161C2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B212B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161D2B7A733600D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B222B7A733000D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161E2B7A733600D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B222B7A733000D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E161F2B7A733600D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B232B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16202B7A733600D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B232B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16212B7A733600D55EF8 /* DBTEAMLOGGroupMovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B242B7A733000D55EF8 /* DBTEAMLOGGroupMovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16222B7A733600D55EF8 /* DBTEAMLOGGroupMovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B242B7A733000D55EF8 /* DBTEAMLOGGroupMovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16232B7A733600D55EF8 /* DBTEAMLOGApplyNamingConventionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B252B7A733000D55EF8 /* DBTEAMLOGApplyNamingConventionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16242B7A733600D55EF8 /* DBTEAMLOGApplyNamingConventionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B252B7A733000D55EF8 /* DBTEAMLOGApplyNamingConventionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16252B7A733600D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B262B7A733000D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16262B7A733600D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B262B7A733000D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16272B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B272B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16282B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B272B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16292B7A733600D55EF8 /* DBTEAMLOGRecipientsConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B282B7A733000D55EF8 /* DBTEAMLOGRecipientsConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162A2B7A733600D55EF8 /* DBTEAMLOGRecipientsConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B282B7A733000D55EF8 /* DBTEAMLOGRecipientsConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162B2B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B292B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162C2B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B292B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162D2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2A2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162E2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2A2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E162F2B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2B2B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16302B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2B2B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16312B7A733600D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2C2B7A733000D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16322B7A733600D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2C2B7A733000D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16332B7A733600D55EF8 /* DBTEAMLOGPaperDocDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2D2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16342B7A733600D55EF8 /* DBTEAMLOGPaperDocDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2D2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16352B7A733600D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2E2B7A733000D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16362B7A733600D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2E2B7A733000D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16372B7A733600D55EF8 /* DBTEAMLOGRewindPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2F2B7A733000D55EF8 /* DBTEAMLOGRewindPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16382B7A733600D55EF8 /* DBTEAMLOGRewindPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B2F2B7A733000D55EF8 /* DBTEAMLOGRewindPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16392B7A733600D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B302B7A733000D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163A2B7A733600D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B302B7A733000D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163B2B7A733600D55EF8 /* DBTEAMLOGFileAddCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B312B7A733000D55EF8 /* DBTEAMLOGFileAddCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163C2B7A733600D55EF8 /* DBTEAMLOGFileAddCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B312B7A733000D55EF8 /* DBTEAMLOGFileAddCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163D2B7A733600D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B322B7A733000D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163E2B7A733600D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B322B7A733000D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E163F2B7A733600D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B332B7A733000D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16402B7A733600D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B332B7A733000D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16412B7A733600D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B342B7A733000D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16422B7A733600D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B342B7A733000D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16432B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B352B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16442B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B352B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16452B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B362B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16462B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B362B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16472B7A733600D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B372B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16482B7A733600D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B372B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16492B7A733600D55EF8 /* DBTEAMLOGSfFbInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B382B7A733000D55EF8 /* DBTEAMLOGSfFbInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164A2B7A733600D55EF8 /* DBTEAMLOGSfFbInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B382B7A733000D55EF8 /* DBTEAMLOGSfFbInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B392B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B392B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164D2B7A733600D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3A2B7A733000D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164E2B7A733600D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3A2B7A733000D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E164F2B7A733600D55EF8 /* DBTEAMLOGAppUnlinkUserType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3B2B7A733000D55EF8 /* DBTEAMLOGAppUnlinkUserType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16502B7A733600D55EF8 /* DBTEAMLOGAppUnlinkUserType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3B2B7A733000D55EF8 /* DBTEAMLOGAppUnlinkUserType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16512B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3C2B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16522B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3C2B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16532B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3D2B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16542B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3D2B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16552B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3E2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16562B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3E2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16572B7A733600D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3F2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16582B7A733600D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B3F2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16592B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B402B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165A2B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B402B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165B2B7A733600D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B412B7A733000D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165C2B7A733600D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B412B7A733000D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165D2B7A733600D55EF8 /* DBTEAMLOGFileEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B422B7A733000D55EF8 /* DBTEAMLOGFileEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165E2B7A733600D55EF8 /* DBTEAMLOGFileEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B422B7A733000D55EF8 /* DBTEAMLOGFileEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E165F2B7A733600D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B432B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16602B7A733600D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B432B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16612B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B442B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16622B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B442B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16632B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B452B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16642B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B452B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16652B7A733600D55EF8 /* DBTEAMLOGNoteSharedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B462B7A733000D55EF8 /* DBTEAMLOGNoteSharedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16662B7A733600D55EF8 /* DBTEAMLOGNoteSharedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B462B7A733000D55EF8 /* DBTEAMLOGNoteSharedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16672B7A733600D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B472B7A733000D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16682B7A733600D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B472B7A733000D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16692B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B482B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166A2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B482B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166B2B7A733600D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B492B7A733000D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166C2B7A733600D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B492B7A733000D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166D2B7A733600D55EF8 /* DBTEAMLOGGroupDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4A2B7A733000D55EF8 /* DBTEAMLOGGroupDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166E2B7A733600D55EF8 /* DBTEAMLOGGroupDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4A2B7A733000D55EF8 /* DBTEAMLOGGroupDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E166F2B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16702B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16712B7A733600D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4C2B7A733000D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16722B7A733600D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4C2B7A733000D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16732B7A733600D55EF8 /* DBTEAMLOGBinderAddPageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4D2B7A733000D55EF8 /* DBTEAMLOGBinderAddPageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16742B7A733600D55EF8 /* DBTEAMLOGBinderAddPageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4D2B7A733000D55EF8 /* DBTEAMLOGBinderAddPageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16752B7A733600D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4E2B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16762B7A733600D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4E2B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16772B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4F2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16782B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B4F2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16792B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B502B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167A2B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B502B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167B2B7A733600D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B512B7A733000D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167C2B7A733600D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B512B7A733000D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167D2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B522B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167E2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B522B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E167F2B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B532B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16802B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B532B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16812B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B542B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16822B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B542B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16832B7A733600D55EF8 /* DBTEAMLOGCreateFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B552B7A733000D55EF8 /* DBTEAMLOGCreateFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16842B7A733600D55EF8 /* DBTEAMLOGCreateFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B552B7A733000D55EF8 /* DBTEAMLOGCreateFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16852B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B562B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16862B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B562B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16872B7A733600D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B572B7A733000D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16882B7A733600D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B572B7A733000D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16892B7A733600D55EF8 /* DBTEAMLOGSfFbInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B582B7A733000D55EF8 /* DBTEAMLOGSfFbInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168A2B7A733600D55EF8 /* DBTEAMLOGSfFbInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B582B7A733000D55EF8 /* DBTEAMLOGSfFbInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168B2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B592B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168C2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B592B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168D2B7A733600D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5A2B7A733000D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168E2B7A733600D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5A2B7A733000D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E168F2B7A733600D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5B2B7A733000D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16902B7A733600D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5B2B7A733000D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16912B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5C2B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16922B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5C2B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16932B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5D2B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16942B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5D2B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16952B7A733600D55EF8 /* DBTEAMLOGEmmChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5E2B7A733000D55EF8 /* DBTEAMLOGEmmChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16962B7A733600D55EF8 /* DBTEAMLOGEmmChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5E2B7A733000D55EF8 /* DBTEAMLOGEmmChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16972B7A733600D55EF8 /* DBTEAMLOGShowcaseRenamedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5F2B7A733000D55EF8 /* DBTEAMLOGShowcaseRenamedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16982B7A733600D55EF8 /* DBTEAMLOGShowcaseRenamedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B5F2B7A733000D55EF8 /* DBTEAMLOGShowcaseRenamedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16992B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B602B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169A2B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B602B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169B2B7A733600D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B612B7A733000D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169C2B7A733600D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B612B7A733000D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169D2B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B622B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169E2B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B622B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E169F2B7A733600D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B632B7A733000D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A02B7A733600D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B632B7A733000D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A12B7A733600D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B642B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A22B7A733600D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B642B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A32B7A733600D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B652B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A42B7A733600D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B652B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A52B7A733600D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B662B7A733000D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A62B7A733600D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B662B7A733000D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A72B7A733600D55EF8 /* DBTEAMLOGUndoNamingConventionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B672B7A733000D55EF8 /* DBTEAMLOGUndoNamingConventionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A82B7A733600D55EF8 /* DBTEAMLOGUndoNamingConventionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B672B7A733000D55EF8 /* DBTEAMLOGUndoNamingConventionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16A92B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B682B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AA2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B682B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AB2B7A733600D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B692B7A733000D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AC2B7A733600D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B692B7A733000D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AD2B7A733600D55EF8 /* DBTEAMLOGLogoutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6A2B7A733000D55EF8 /* DBTEAMLOGLogoutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AE2B7A733600D55EF8 /* DBTEAMLOGLogoutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6A2B7A733000D55EF8 /* DBTEAMLOGLogoutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16AF2B7A733600D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6B2B7A733000D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B02B7A733600D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6B2B7A733000D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B12B7A733600D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6C2B7A733000D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B22B7A733600D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6C2B7A733000D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B32B7A733600D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6D2B7A733000D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B42B7A733600D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6D2B7A733000D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B52B7A733600D55EF8 /* DBTEAMLOGSsoChangeCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6E2B7A733000D55EF8 /* DBTEAMLOGSsoChangeCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B62B7A733600D55EF8 /* DBTEAMLOGSsoChangeCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6E2B7A733000D55EF8 /* DBTEAMLOGSsoChangeCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B72B7A733600D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6F2B7A733000D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B82B7A733600D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B6F2B7A733000D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16B92B7A733600D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B702B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BA2B7A733600D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B702B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BB2B7A733600D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B712B7A733000D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BC2B7A733600D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B712B7A733000D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BD2B7A733600D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B722B7A733000D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BE2B7A733600D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B722B7A733000D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16BF2B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B732B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C02B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B732B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C12B7A733600D55EF8 /* DBTEAMLOGDownloadPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B742B7A733000D55EF8 /* DBTEAMLOGDownloadPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C22B7A733600D55EF8 /* DBTEAMLOGDownloadPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B742B7A733000D55EF8 /* DBTEAMLOGDownloadPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C32B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B752B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C42B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B752B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C52B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B762B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C62B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B762B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C72B7A733600D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B772B7A733000D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C82B7A733600D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B772B7A733000D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16C92B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B782B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CA2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B782B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CB2B7A733600D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B792B7A733000D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CC2B7A733600D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B792B7A733000D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CD2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7A2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CE2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7A2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16CF2B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D02B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D12B7A733600D55EF8 /* DBTEAMLOGRewindFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7C2B7A733000D55EF8 /* DBTEAMLOGRewindFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D22B7A733600D55EF8 /* DBTEAMLOGRewindFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7C2B7A733000D55EF8 /* DBTEAMLOGRewindFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D32B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7D2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D42B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7D2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D52B7A733600D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7E2B7A733000D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D62B7A733600D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7E2B7A733000D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D72B7A733600D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7F2B7A733000D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D82B7A733600D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B7F2B7A733000D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16D92B7A733600D55EF8 /* DBTEAMLOGTfaAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B802B7A733000D55EF8 /* DBTEAMLOGTfaAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DA2B7A733600D55EF8 /* DBTEAMLOGTfaAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B802B7A733000D55EF8 /* DBTEAMLOGTfaAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DB2B7A733600D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B812B7A733000D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DC2B7A733600D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B812B7A733000D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DD2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B822B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DE2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B822B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16DF2B7A733600D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B832B7A733000D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E02B7A733600D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B832B7A733000D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E12B7A733600D55EF8 /* DBTEAMLOGShowcaseViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B842B7A733000D55EF8 /* DBTEAMLOGShowcaseViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E22B7A733600D55EF8 /* DBTEAMLOGShowcaseViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B842B7A733000D55EF8 /* DBTEAMLOGShowcaseViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E32B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B852B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E42B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B852B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E52B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B862B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E62B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B862B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E72B7A733600D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B872B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E82B7A733600D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B872B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16E92B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B882B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16EA2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B882B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16EB2B7A733600D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B892B7A733000D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16EC2B7A733600D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B892B7A733000D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16ED2B7A733600D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8A2B7A733000D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16EE2B7A733600D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8A2B7A733000D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16EF2B7A733600D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F02B7A733600D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F12B7A733600D55EF8 /* DBTEAMLOGFileRequestCloseType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8C2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F22B7A733600D55EF8 /* DBTEAMLOGFileRequestCloseType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8C2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F32B7A733600D55EF8 /* DBTEAMLOGSharedContentDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8D2B7A733000D55EF8 /* DBTEAMLOGSharedContentDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F42B7A733600D55EF8 /* DBTEAMLOGSharedContentDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8D2B7A733000D55EF8 /* DBTEAMLOGSharedContentDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F52B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8E2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F62B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8E2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F72B7A733600D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8F2B7A733000D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F82B7A733600D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B8F2B7A733000D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16F92B7A733600D55EF8 /* DBTEAMLOGSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B902B7A733000D55EF8 /* DBTEAMLOGSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FA2B7A733600D55EF8 /* DBTEAMLOGSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B902B7A733000D55EF8 /* DBTEAMLOGSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FB2B7A733600D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B912B7A733000D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FC2B7A733600D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B912B7A733000D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FD2B7A733600D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B922B7A733000D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FE2B7A733600D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B922B7A733000D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E16FF2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B932B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17002B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B932B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17012B7A733600D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B942B7A733000D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17022B7A733600D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B942B7A733000D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17032B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B952B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17042B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B952B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17052B7A733600D55EF8 /* DBTEAMLOGMemberAddNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B962B7A733000D55EF8 /* DBTEAMLOGMemberAddNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17062B7A733600D55EF8 /* DBTEAMLOGMemberAddNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B962B7A733000D55EF8 /* DBTEAMLOGMemberAddNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17072B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B972B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17082B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B972B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17092B7A733600D55EF8 /* DBTEAMLOGSharedLinkViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B982B7A733000D55EF8 /* DBTEAMLOGSharedLinkViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170A2B7A733600D55EF8 /* DBTEAMLOGSharedLinkViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B982B7A733000D55EF8 /* DBTEAMLOGSharedLinkViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170B2B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B992B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170C2B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B992B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170D2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9A2B7A733000D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170E2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9A2B7A733000D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E170F2B7A733600D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17102B7A733600D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17112B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9C2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17122B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9C2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17132B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9D2B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17142B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9D2B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17152B7A733600D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9E2B7A733000D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17162B7A733600D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9E2B7A733000D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17172B7A733600D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9F2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17182B7A733600D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0B9F2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17192B7A733600D55EF8 /* DBTEAMLOGFileRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA02B7A733000D55EF8 /* DBTEAMLOGFileRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171A2B7A733600D55EF8 /* DBTEAMLOGFileRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA02B7A733000D55EF8 /* DBTEAMLOGFileRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171D2B7A733600D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA22B7A733000D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171E2B7A733600D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA22B7A733000D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E171F2B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA32B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17202B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA32B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17212B7A733600D55EF8 /* DBTEAMLOGSfTeamUninviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA42B7A733000D55EF8 /* DBTEAMLOGSfTeamUninviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17222B7A733600D55EF8 /* DBTEAMLOGSfTeamUninviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA42B7A733000D55EF8 /* DBTEAMLOGSfTeamUninviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17232B7A733600D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA52B7A733000D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17242B7A733600D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA52B7A733000D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17252B7A733600D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA62B7A733000D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17262B7A733600D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA62B7A733000D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17272B7A733600D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA72B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17282B7A733600D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA72B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17292B7A733600D55EF8 /* DBTEAMLOGGroupLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA82B7A733000D55EF8 /* DBTEAMLOGGroupLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172A2B7A733600D55EF8 /* DBTEAMLOGGroupLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA82B7A733000D55EF8 /* DBTEAMLOGGroupLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172B2B7A733600D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA92B7A733000D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172C2B7A733600D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BA92B7A733000D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172D2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAA2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172E2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAA2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E172F2B7A733600D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAB2B7A733000D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17302B7A733600D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAB2B7A733000D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17312B7A733600D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAC2B7A733000D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17322B7A733600D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAC2B7A733000D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17332B7A733600D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAD2B7A733000D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17342B7A733600D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAD2B7A733000D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17352B7A733600D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAE2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17362B7A733600D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAE2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17372B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAF2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17382B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BAF2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17392B7A733600D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB02B7A733000D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173A2B7A733600D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB02B7A733000D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173B2B7A733600D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB12B7A733000D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173C2B7A733600D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB12B7A733000D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173D2B7A733600D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB22B7A733000D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173E2B7A733600D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB22B7A733000D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E173F2B7A733600D55EF8 /* DBTEAMLOGFileAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB32B7A733000D55EF8 /* DBTEAMLOGFileAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17402B7A733600D55EF8 /* DBTEAMLOGFileAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB32B7A733000D55EF8 /* DBTEAMLOGFileAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17412B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB42B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17422B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB42B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17432B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB52B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17442B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB52B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17452B7A733600D55EF8 /* DBTEAMLOGWebSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB62B7A733000D55EF8 /* DBTEAMLOGWebSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17462B7A733600D55EF8 /* DBTEAMLOGWebSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB62B7A733000D55EF8 /* DBTEAMLOGWebSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17472B7A733600D55EF8 /* DBTEAMLOGTeamFolderCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB72B7A733000D55EF8 /* DBTEAMLOGTeamFolderCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17482B7A733600D55EF8 /* DBTEAMLOGTeamFolderCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB72B7A733000D55EF8 /* DBTEAMLOGTeamFolderCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17492B7A733600D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB82B7A733000D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174A2B7A733600D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB82B7A733000D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174B2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB92B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174C2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BB92B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174D2B7A733600D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBA2B7A733000D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174E2B7A733600D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBA2B7A733000D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E174F2B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBB2B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17502B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBB2B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17512B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBC2B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17522B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBC2B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17532B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBD2B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17542B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBD2B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17552B7A733600D55EF8 /* DBTEAMLOGOriginLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBE2B7A733000D55EF8 /* DBTEAMLOGOriginLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17562B7A733600D55EF8 /* DBTEAMLOGOriginLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBE2B7A733000D55EF8 /* DBTEAMLOGOriginLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17572B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBF2B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17582B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BBF2B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17592B7A733600D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC02B7A733000D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175A2B7A733600D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC02B7A733000D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175B2B7A733600D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC12B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175C2B7A733600D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC12B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175D2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC22B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175E2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC22B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E175F2B7A733600D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC32B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17602B7A733600D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC32B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17612B7A733600D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC42B7A733000D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17622B7A733600D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC42B7A733000D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17632B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC52B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17642B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC52B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17652B7A733600D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC62B7A733000D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17662B7A733600D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC62B7A733000D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17672B7A733600D55EF8 /* DBTEAMLOGContextLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC72B7A733000D55EF8 /* DBTEAMLOGContextLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17682B7A733600D55EF8 /* DBTEAMLOGContextLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC72B7A733000D55EF8 /* DBTEAMLOGContextLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17692B7A733600D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC82B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176A2B7A733600D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC82B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176B2B7A733600D55EF8 /* DBTEAMLOGFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC92B7A733000D55EF8 /* DBTEAMLOGFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176C2B7A733600D55EF8 /* DBTEAMLOGFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BC92B7A733000D55EF8 /* DBTEAMLOGFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176D2B7A733600D55EF8 /* DBTEAMLOGLoginSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCA2B7A733000D55EF8 /* DBTEAMLOGLoginSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176E2B7A733600D55EF8 /* DBTEAMLOGLoginSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCA2B7A733000D55EF8 /* DBTEAMLOGLoginSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E176F2B7A733600D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCB2B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17702B7A733600D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCB2B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17712B7A733600D55EF8 /* DBTEAMLOGApiSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCC2B7A733000D55EF8 /* DBTEAMLOGApiSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17722B7A733600D55EF8 /* DBTEAMLOGApiSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCC2B7A733000D55EF8 /* DBTEAMLOGApiSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17732B7A733600D55EF8 /* DBTEAMLOGPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCD2B7A733000D55EF8 /* DBTEAMLOGPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17742B7A733600D55EF8 /* DBTEAMLOGPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCD2B7A733000D55EF8 /* DBTEAMLOGPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17752B7A733600D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCE2B7A733000D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17762B7A733600D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCE2B7A733000D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17772B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCF2B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17782B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BCF2B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17792B7A733600D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD02B7A733000D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177A2B7A733600D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD02B7A733000D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177B2B7A733600D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD12B7A733000D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177C2B7A733600D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD12B7A733000D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177D2B7A733600D55EF8 /* DBTEAMLOGMemberRemoveActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD22B7A733000D55EF8 /* DBTEAMLOGMemberRemoveActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177E2B7A733600D55EF8 /* DBTEAMLOGMemberRemoveActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD22B7A733000D55EF8 /* DBTEAMLOGMemberRemoveActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E177F2B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD32B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17802B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD32B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17812B7A733600D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD42B7A733000D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17822B7A733600D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD42B7A733000D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17832B7A733600D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD52B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17842B7A733600D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD52B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17852B7A733600D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD62B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17862B7A733600D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD62B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17872B7A733600D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD72B7A733000D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17882B7A733600D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD72B7A733000D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17892B7A733600D55EF8 /* DBTEAMLOGBackupStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD82B7A733000D55EF8 /* DBTEAMLOGBackupStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178A2B7A733600D55EF8 /* DBTEAMLOGBackupStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD82B7A733000D55EF8 /* DBTEAMLOGBackupStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178B2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD92B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178C2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BD92B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178D2B7A733600D55EF8 /* DBTEAMLOGShowcaseFileViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDA2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178E2B7A733600D55EF8 /* DBTEAMLOGShowcaseFileViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDA2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E178F2B7A733600D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDB2B7A733000D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17902B7A733600D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDB2B7A733000D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17912B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDC2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17922B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDC2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17932B7A733600D55EF8 /* DBTEAMLOGFileRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDD2B7A733000D55EF8 /* DBTEAMLOGFileRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17942B7A733600D55EF8 /* DBTEAMLOGFileRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDD2B7A733000D55EF8 /* DBTEAMLOGFileRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17952B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDE2B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17962B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDE2B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17972B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDF2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17982B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BDF2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17992B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE02B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179A2B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE02B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179D2B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE22B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179E2B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE22B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E179F2B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE32B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A02B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE32B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A12B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE42B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A22B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE42B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A32B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE52B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A42B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE52B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A52B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE62B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A62B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE62B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A72B7A733600D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE72B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A82B7A733600D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE72B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17A92B7A733600D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE82B7A733000D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AA2B7A733600D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE82B7A733000D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AB2B7A733600D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE92B7A733000D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AC2B7A733600D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BE92B7A733000D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AD2B7A733600D55EF8 /* DBTEAMLOGTeamLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEA2B7A733000D55EF8 /* DBTEAMLOGTeamLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AE2B7A733600D55EF8 /* DBTEAMLOGTeamLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEA2B7A733000D55EF8 /* DBTEAMLOGTeamLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17AF2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEB2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B02B7A733600D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEB2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B12B7A733600D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEC2B7A733000D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B22B7A733600D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEC2B7A733000D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B32B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BED2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B42B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BED2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B52B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEE2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B62B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEE2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B72B7A733600D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEF2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B82B7A733600D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BEF2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17B92B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF02B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BA2B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF02B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BB2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF12B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BC2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF12B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BD2B7A733600D55EF8 /* DBTEAMLOGFileRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF22B7A733000D55EF8 /* DBTEAMLOGFileRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BE2B7A733600D55EF8 /* DBTEAMLOGFileRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF22B7A733000D55EF8 /* DBTEAMLOGFileRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17BF2B7A733600D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF32B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C02B7A733600D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF32B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C12B7A733600D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF42B7A733000D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C22B7A733600D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF42B7A733000D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C32B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF52B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C42B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF52B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C52B7A733600D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF62B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C62B7A733600D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF62B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C72B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF72B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C82B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF72B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17C92B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF82B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CA2B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF82B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CB2B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF92B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CC2B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BF92B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CD2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFA2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CE2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFA2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17CF2B7A733700D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFB2B7A733000D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D02B7A733700D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFB2B7A733000D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D12B7A733700D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFC2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D22B7A733700D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFC2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D32B7A733700D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFD2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D42B7A733700D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFD2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D52B7A733700D55EF8 /* DBTEAMLOGUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFE2B7A733000D55EF8 /* DBTEAMLOGUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D62B7A733700D55EF8 /* DBTEAMLOGUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFE2B7A733000D55EF8 /* DBTEAMLOGUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D72B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFF2B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D82B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0BFF2B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17D92B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C002B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DA2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C002B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DB2B7A733700D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C012B7A733000D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DC2B7A733700D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C012B7A733000D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DD2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C022B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DE2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C022B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17DF2B7A733700D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C032B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E02B7A733700D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C032B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E12B7A733700D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C042B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E22B7A733700D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C042B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E32B7A733700D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C052B7A733000D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E42B7A733700D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C052B7A733000D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E52B7A733700D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C062B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E62B7A733700D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C062B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E72B7A733700D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C072B7A733000D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E82B7A733700D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C072B7A733000D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17E92B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C082B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17EA2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C082B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17EB2B7A733700D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C092B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17EC2B7A733700D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C092B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17ED2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0A2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17EE2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0A2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17EF2B7A733700D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0B2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F02B7A733700D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0B2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F12B7A733700D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0C2B7A733000D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F22B7A733700D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0C2B7A733000D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F32B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0D2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F42B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0D2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F52B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0E2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F62B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0E2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F72B7A733700D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0F2B7A733000D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F82B7A733700D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C0F2B7A733000D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17F92B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C102B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FA2B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C102B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FB2B7A733700D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C112B7A733000D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FC2B7A733700D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C112B7A733000D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FD2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C122B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FE2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C122B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E17FF2B7A733700D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C132B7A733000D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18002B7A733700D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C132B7A733000D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18012B7A733700D55EF8 /* DBTEAMLOGShowcaseArchivedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C142B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18022B7A733700D55EF8 /* DBTEAMLOGShowcaseArchivedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C142B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18032B7A733700D55EF8 /* DBTEAMLOGRewindFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C152B7A733000D55EF8 /* DBTEAMLOGRewindFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18042B7A733700D55EF8 /* DBTEAMLOGRewindFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C152B7A733000D55EF8 /* DBTEAMLOGRewindFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18052B7A733700D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C162B7A733000D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18062B7A733700D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C162B7A733000D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18072B7A733700D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C172B7A733000D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18082B7A733700D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C172B7A733000D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18092B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C182B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180A2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C182B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180B2B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C192B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180C2B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C192B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180D2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1A2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180E2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1A2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E180F2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1B2B7A733000D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18102B7A733700D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1B2B7A733000D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18112B7A733700D55EF8 /* DBTEAMLOGShowcaseRestoredType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1C2B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18122B7A733700D55EF8 /* DBTEAMLOGShowcaseRestoredType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1C2B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18132B7A733700D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18142B7A733700D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18152B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1E2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18162B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1E2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18172B7A733700D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1F2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18182B7A733700D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C1F2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18192B7A733700D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C202B7A733000D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181A2B7A733700D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C202B7A733000D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181B2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C212B7A733000D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181C2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C212B7A733000D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181D2B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C222B7A733000D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181E2B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C222B7A733000D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E181F2B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C232B7A733000D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18202B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C232B7A733000D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18212B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C242B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18222B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C242B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18232B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C252B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18242B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C252B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18252B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C262B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18262B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C262B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18272B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C272B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18282B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C272B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18292B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C282B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C282B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182B2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C292B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182C2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C292B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182D2B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2A2B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182E2B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2A2B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E182F2B7A733700D55EF8 /* DBTEAMLOGFileTransfersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2B2B7A733000D55EF8 /* DBTEAMLOGFileTransfersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18302B7A733700D55EF8 /* DBTEAMLOGFileTransfersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2B2B7A733000D55EF8 /* DBTEAMLOGFileTransfersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18312B7A733700D55EF8 /* DBTEAMLOGSharingMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2C2B7A733000D55EF8 /* DBTEAMLOGSharingMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18322B7A733700D55EF8 /* DBTEAMLOGSharingMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2C2B7A733000D55EF8 /* DBTEAMLOGSharingMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18332B7A733700D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2D2B7A733000D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18342B7A733700D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2D2B7A733000D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18352B7A733700D55EF8 /* DBTEAMLOGAccountState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2E2B7A733000D55EF8 /* DBTEAMLOGAccountState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18362B7A733700D55EF8 /* DBTEAMLOGAccountState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2E2B7A733000D55EF8 /* DBTEAMLOGAccountState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18372B7A733700D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2F2B7A733000D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18382B7A733700D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C2F2B7A733000D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18392B7A733700D55EF8 /* DBTEAMLOGEventDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C302B7A733000D55EF8 /* DBTEAMLOGEventDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183A2B7A733700D55EF8 /* DBTEAMLOGEventDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C302B7A733000D55EF8 /* DBTEAMLOGEventDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183B2B7A733700D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C312B7A733000D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183C2B7A733700D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C312B7A733000D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183D2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C322B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183E2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C322B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E183F2B7A733700D55EF8 /* DBTEAMLOGExternalUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C332B7A733000D55EF8 /* DBTEAMLOGExternalUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18402B7A733700D55EF8 /* DBTEAMLOGExternalUserLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C332B7A733000D55EF8 /* DBTEAMLOGExternalUserLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18412B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C342B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18422B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C342B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18432B7A733700D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C352B7A733000D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18442B7A733700D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C352B7A733000D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18452B7A733700D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C362B7A733000D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18462B7A733700D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C362B7A733000D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18472B7A733700D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C372B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18482B7A733700D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C372B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18492B7A733700D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C382B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184A2B7A733700D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C382B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184B2B7A733700D55EF8 /* DBTEAMLOGIntegrationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C392B7A733000D55EF8 /* DBTEAMLOGIntegrationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184C2B7A733700D55EF8 /* DBTEAMLOGIntegrationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C392B7A733000D55EF8 /* DBTEAMLOGIntegrationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184D2B7A733700D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3A2B7A733000D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184E2B7A733700D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3A2B7A733000D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E184F2B7A733700D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3B2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18502B7A733700D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3B2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18512B7A733700D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3C2B7A733000D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18522B7A733700D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3C2B7A733000D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18532B7A733700D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3D2B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18542B7A733700D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3D2B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18552B7A733700D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3E2B7A733000D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18562B7A733700D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3E2B7A733000D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18572B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3F2B7A733000D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18582B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C3F2B7A733000D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18592B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C402B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185A2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C402B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185B2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C412B7A733000D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185C2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C412B7A733000D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185D2B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C422B7A733000D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185E2B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C422B7A733000D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E185F2B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C432B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18602B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C432B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18612B7A733700D55EF8 /* DBTEAMLOGEmailIngestPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C442B7A733000D55EF8 /* DBTEAMLOGEmailIngestPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18622B7A733700D55EF8 /* DBTEAMLOGEmailIngestPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C442B7A733000D55EF8 /* DBTEAMLOGEmailIngestPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18632B7A733700D55EF8 /* DBTEAMLOGPassPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C452B7A733000D55EF8 /* DBTEAMLOGPassPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18642B7A733700D55EF8 /* DBTEAMLOGPassPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C452B7A733000D55EF8 /* DBTEAMLOGPassPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18652B7A733700D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C462B7A733000D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18662B7A733700D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C462B7A733000D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18672B7A733700D55EF8 /* DBTEAMLOGFileRequestDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C472B7A733000D55EF8 /* DBTEAMLOGFileRequestDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18682B7A733700D55EF8 /* DBTEAMLOGFileRequestDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C472B7A733000D55EF8 /* DBTEAMLOGFileRequestDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18692B7A733700D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C482B7A733000D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186A2B7A733700D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C482B7A733000D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186B2B7A733700D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C492B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186C2B7A733700D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C492B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186D2B7A733700D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4A2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186E2B7A733700D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4A2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E186F2B7A733700D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4B2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18702B7A733700D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4B2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18712B7A733700D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4C2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18722B7A733700D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4C2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18732B7A733700D55EF8 /* DBTEAMLOGPaperDocTrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4D2B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18742B7A733700D55EF8 /* DBTEAMLOGPaperDocTrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4D2B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18752B7A733700D55EF8 /* DBTEAMLOGSharedContentCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4E2B7A733000D55EF8 /* DBTEAMLOGSharedContentCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18762B7A733700D55EF8 /* DBTEAMLOGSharedContentCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4E2B7A733000D55EF8 /* DBTEAMLOGSharedContentCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18772B7A733700D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4F2B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18782B7A733700D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C4F2B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18792B7A733700D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C502B7A733000D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187A2B7A733700D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C502B7A733000D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187B2B7A733700D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C512B7A733000D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187C2B7A733700D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C512B7A733000D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187D2B7A733700D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C522B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187E2B7A733700D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C522B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E187F2B7A733700D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C532B7A733000D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18802B7A733700D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C532B7A733000D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18812B7A733700D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C542B7A733000D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18822B7A733700D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C542B7A733000D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18832B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C552B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18842B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C552B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18852B7A733700D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C562B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18862B7A733700D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C562B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18872B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C572B7A733000D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18882B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C572B7A733000D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18892B7A733700D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C582B7A733000D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188A2B7A733700D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C582B7A733000D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188B2B7A733700D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C592B7A733000D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188C2B7A733700D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C592B7A733000D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188D2B7A733700D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5A2B7A733000D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188E2B7A733700D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5A2B7A733000D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E188F2B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5B2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18902B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5B2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18912B7A733700D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5C2B7A733000D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18922B7A733700D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5C2B7A733000D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18932B7A733700D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5D2B7A733000D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18942B7A733700D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5D2B7A733000D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18952B7A733700D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5E2B7A733000D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18962B7A733700D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5E2B7A733000D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18972B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5F2B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18982B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C5F2B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18992B7A733700D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C602B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189A2B7A733700D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C602B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189B2B7A733700D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C612B7A733000D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189C2B7A733700D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C612B7A733000D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189D2B7A733700D55EF8 /* DBTEAMLOGTeamEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C622B7A733000D55EF8 /* DBTEAMLOGTeamEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189E2B7A733700D55EF8 /* DBTEAMLOGTeamEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C622B7A733000D55EF8 /* DBTEAMLOGTeamEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E189F2B7A733700D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C632B7A733000D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A02B7A733700D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C632B7A733000D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A12B7A733700D55EF8 /* DBTEAMLOGLoginSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C642B7A733000D55EF8 /* DBTEAMLOGLoginSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A22B7A733700D55EF8 /* DBTEAMLOGLoginSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C642B7A733000D55EF8 /* DBTEAMLOGLoginSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A32B7A733700D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C652B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A42B7A733700D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C652B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A52B7A733700D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C662B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A62B7A733700D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C662B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A72B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C672B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A82B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C672B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18A92B7A733700D55EF8 /* DBTEAMLOGFileEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C682B7A733100D55EF8 /* DBTEAMLOGFileEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AA2B7A733700D55EF8 /* DBTEAMLOGFileEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C682B7A733100D55EF8 /* DBTEAMLOGFileEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AB2B7A733700D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C692B7A733100D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AC2B7A733700D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C692B7A733100D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AD2B7A733700D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6A2B7A733100D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AE2B7A733700D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6A2B7A733100D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18AF2B7A733700D55EF8 /* DBTEAMLOGNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6B2B7A733100D55EF8 /* DBTEAMLOGNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B02B7A733700D55EF8 /* DBTEAMLOGNoteSharedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6B2B7A733100D55EF8 /* DBTEAMLOGNoteSharedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B12B7A733700D55EF8 /* DBTEAMLOGFileEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6C2B7A733100D55EF8 /* DBTEAMLOGFileEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B22B7A733700D55EF8 /* DBTEAMLOGFileEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6C2B7A733100D55EF8 /* DBTEAMLOGFileEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B32B7A733700D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B42B7A733700D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B52B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6E2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B62B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6E2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B72B7A733700D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6F2B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B82B7A733700D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C6F2B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18B92B7A733700D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C702B7A733100D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BA2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C702B7A733100D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BB2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C712B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BC2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C712B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BD2B7A733700D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C722B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BE2B7A733700D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C722B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18BF2B7A733700D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C732B7A733100D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C02B7A733700D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C732B7A733100D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C12B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C742B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C22B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C742B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C32B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C752B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C42B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C752B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C52B7A733700D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C762B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C62B7A733700D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C762B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C72B7A733700D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C772B7A733100D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C82B7A733700D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C772B7A733100D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18C92B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C782B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CA2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C782B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CB2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C792B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CC2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C792B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CD2B7A733700D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7A2B7A733100D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CE2B7A733700D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7A2B7A733100D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18CF2B7A733700D55EF8 /* DBTEAMLOGNoteShareReceiveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7B2B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D02B7A733700D55EF8 /* DBTEAMLOGNoteShareReceiveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7B2B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D12B7A733700D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7C2B7A733100D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D22B7A733700D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7C2B7A733100D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D32B7A733700D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7D2B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D42B7A733700D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7D2B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D52B7A733700D55EF8 /* DBTEAMLOGGroupMovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7E2B7A733100D55EF8 /* DBTEAMLOGGroupMovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D62B7A733700D55EF8 /* DBTEAMLOGGroupMovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7E2B7A733100D55EF8 /* DBTEAMLOGGroupMovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D72B7A733700D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7F2B7A733100D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D82B7A733700D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C7F2B7A733100D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18D92B7A733700D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C802B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DA2B7A733700D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C802B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DB2B7A733700D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C812B7A733100D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DC2B7A733700D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C812B7A733100D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DD2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C822B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DE2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C822B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18DF2B7A733700D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C832B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E02B7A733700D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C832B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E12B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E22B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E32B7A733700D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C852B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E42B7A733700D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C852B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E52B7A733700D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C862B7A733100D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E62B7A733700D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C862B7A733100D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E72B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C872B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E82B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C872B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18E92B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C882B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18EA2B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C882B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18EB2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C892B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18EC2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C892B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18ED2B7A733700D55EF8 /* DBTEAMLOGShowcaseViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8A2B7A733100D55EF8 /* DBTEAMLOGShowcaseViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18EE2B7A733700D55EF8 /* DBTEAMLOGShowcaseViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8A2B7A733100D55EF8 /* DBTEAMLOGShowcaseViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18EF2B7A733700D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8B2B7A733100D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F02B7A733700D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8B2B7A733100D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F12B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8C2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F22B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8C2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F32B7A733700D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F42B7A733700D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F52B7A733700D55EF8 /* DBTEAMLOGLogoutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8E2B7A733100D55EF8 /* DBTEAMLOGLogoutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F62B7A733700D55EF8 /* DBTEAMLOGLogoutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8E2B7A733100D55EF8 /* DBTEAMLOGLogoutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F72B7A733700D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8F2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F82B7A733700D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C8F2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18F92B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C902B7A733100D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FA2B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C902B7A733100D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FB2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C912B7A733100D55EF8 /* DBTEAMLOGDeviceLinkFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FC2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C912B7A733100D55EF8 /* DBTEAMLOGDeviceLinkFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FD2B7A733700D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C922B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FE2B7A733700D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C922B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E18FF2B7A733700D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C932B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19002B7A733700D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C932B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19012B7A733700D55EF8 /* DBTEAMLOGFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C942B7A733100D55EF8 /* DBTEAMLOGFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19022B7A733700D55EF8 /* DBTEAMLOGFileDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C942B7A733100D55EF8 /* DBTEAMLOGFileDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19032B7A733700D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C952B7A733100D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19042B7A733700D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C952B7A733100D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19052B7A733700D55EF8 /* DBTEAMLOGBinderReorderSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C962B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19062B7A733700D55EF8 /* DBTEAMLOGBinderReorderSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C962B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19072B7A733700D55EF8 /* DBTEAMLOGTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C972B7A733100D55EF8 /* DBTEAMLOGTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19082B7A733700D55EF8 /* DBTEAMLOGTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C972B7A733100D55EF8 /* DBTEAMLOGTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19092B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C982B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C982B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190B2B7A733700D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C992B7A733100D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190C2B7A733700D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C992B7A733100D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190D2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9A2B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190E2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9A2B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E190F2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9B2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19102B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9B2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19112B7A733700D55EF8 /* DBTEAMLOGGroupDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9C2B7A733100D55EF8 /* DBTEAMLOGGroupDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19122B7A733700D55EF8 /* DBTEAMLOGGroupDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9C2B7A733100D55EF8 /* DBTEAMLOGGroupDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19132B7A733700D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9D2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19142B7A733700D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9D2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19152B7A733700D55EF8 /* DBTEAMLOGPasswordResetType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9E2B7A733100D55EF8 /* DBTEAMLOGPasswordResetType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19162B7A733700D55EF8 /* DBTEAMLOGPasswordResetType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9E2B7A733100D55EF8 /* DBTEAMLOGPasswordResetType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19172B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9F2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19182B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0C9F2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19192B7A733700D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA02B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191A2B7A733700D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA02B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191B2B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA12B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191C2B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA12B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191D2B7A733700D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA22B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191E2B7A733700D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA22B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E191F2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA32B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19202B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA32B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19212B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA42B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19222B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA42B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19232B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA52B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19242B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA52B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19252B7A733700D55EF8 /* DBTEAMLOGResellerLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA62B7A733100D55EF8 /* DBTEAMLOGResellerLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19262B7A733700D55EF8 /* DBTEAMLOGResellerLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA62B7A733100D55EF8 /* DBTEAMLOGResellerLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19272B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA72B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19282B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA72B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19292B7A733700D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA82B7A733100D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192A2B7A733700D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA82B7A733100D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192B2B7A733700D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA92B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192C2B7A733700D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CA92B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192D2B7A733700D55EF8 /* DBTEAMLOGFedExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAA2B7A733100D55EF8 /* DBTEAMLOGFedExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192E2B7A733700D55EF8 /* DBTEAMLOGFedExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAA2B7A733100D55EF8 /* DBTEAMLOGFedExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E192F2B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19302B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19312B7A733700D55EF8 /* DBTEAMLOGBinderReorderPageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAC2B7A733100D55EF8 /* DBTEAMLOGBinderReorderPageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19322B7A733700D55EF8 /* DBTEAMLOGBinderReorderPageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAC2B7A733100D55EF8 /* DBTEAMLOGBinderReorderPageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19332B7A733700D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAD2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19342B7A733700D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAD2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19352B7A733700D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAE2B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19362B7A733700D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAE2B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19372B7A733700D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAF2B7A733100D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19382B7A733700D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CAF2B7A733100D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19392B7A733700D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB02B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193A2B7A733700D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB02B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193B2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB12B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193C2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB12B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193D2B7A733700D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193E2B7A733700D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E193F2B7A733700D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB32B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19402B7A733700D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB32B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19412B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB42B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19422B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB42B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19432B7A733700D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB52B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19442B7A733700D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB52B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19452B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB62B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19462B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB62B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19472B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB72B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19482B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB72B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19492B7A733700D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB82B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194A2B7A733700D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB82B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194B2B7A733700D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB92B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194C2B7A733700D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CB92B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194D2B7A733700D55EF8 /* DBTEAMLOGFilePreviewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBA2B7A733100D55EF8 /* DBTEAMLOGFilePreviewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194E2B7A733700D55EF8 /* DBTEAMLOGFilePreviewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBA2B7A733100D55EF8 /* DBTEAMLOGFilePreviewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E194F2B7A733700D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBB2B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19502B7A733700D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBB2B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19512B7A733700D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBC2B7A733100D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19522B7A733700D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBC2B7A733100D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19532B7A733700D55EF8 /* DBTEAMLOGPaperMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBD2B7A733100D55EF8 /* DBTEAMLOGPaperMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19542B7A733700D55EF8 /* DBTEAMLOGPaperMemberPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBD2B7A733100D55EF8 /* DBTEAMLOGPaperMemberPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19552B7A733700D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBE2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19562B7A733700D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBE2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19572B7A733700D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19582B7A733700D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CBF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19592B7A733700D55EF8 /* DBTEAMLOGFedAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC02B7A733100D55EF8 /* DBTEAMLOGFedAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195A2B7A733700D55EF8 /* DBTEAMLOGFedAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC02B7A733100D55EF8 /* DBTEAMLOGFedAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195B2B7A733700D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC12B7A733100D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195C2B7A733700D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC12B7A733100D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195D2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195E2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E195F2B7A733700D55EF8 /* DBTEAMLOGResellerSupportPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC32B7A733100D55EF8 /* DBTEAMLOGResellerSupportPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19602B7A733700D55EF8 /* DBTEAMLOGResellerSupportPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC32B7A733100D55EF8 /* DBTEAMLOGResellerSupportPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19612B7A733700D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC42B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19622B7A733700D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC42B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19632B7A733700D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC52B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19642B7A733700D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC52B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19652B7A733700D55EF8 /* DBTEAMLOGNoteAclLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC62B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19662B7A733700D55EF8 /* DBTEAMLOGNoteAclLinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC62B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19672B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19682B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19692B7A733700D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC82B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC82B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196B2B7A733700D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC92B7A733100D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196C2B7A733700D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CC92B7A733100D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196D2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCA2B7A733100D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196E2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCA2B7A733100D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E196F2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19702B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19712B7A733800D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCC2B7A733100D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19722B7A733800D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCC2B7A733100D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19732B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCD2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19742B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCD2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19752B7A733800D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCE2B7A733100D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19762B7A733800D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCE2B7A733100D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19772B7A733800D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCF2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19782B7A733800D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CCF2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19792B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD02B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD02B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197B2B7A733800D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD12B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197C2B7A733800D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD12B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197D2B7A733800D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD22B7A733100D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197E2B7A733800D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD22B7A733100D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E197F2B7A733800D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD32B7A733100D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19802B7A733800D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD32B7A733100D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19812B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD42B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19822B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD42B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19832B7A733800D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD52B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19842B7A733800D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD52B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19852B7A733800D55EF8 /* DBTEAMLOGParticipantLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD62B7A733100D55EF8 /* DBTEAMLOGParticipantLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19862B7A733800D55EF8 /* DBTEAMLOGParticipantLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD62B7A733100D55EF8 /* DBTEAMLOGParticipantLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19872B7A733800D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD72B7A733100D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19882B7A733800D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD72B7A733100D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19892B7A733800D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD82B7A733100D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198A2B7A733800D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD82B7A733100D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198B2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD92B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198C2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CD92B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198D2B7A733800D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDA2B7A733100D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198E2B7A733800D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDA2B7A733100D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E198F2B7A733800D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDB2B7A733100D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19902B7A733800D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDB2B7A733100D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19912B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDC2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19922B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDC2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19932B7A733800D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDD2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19942B7A733800D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDD2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19952B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19962B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19972B7A733800D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19982B7A733800D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19992B7A733800D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE02B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199A2B7A733800D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE02B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199B2B7A733800D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE12B7A733100D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199C2B7A733800D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE12B7A733100D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199D2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE22B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199E2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE22B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E199F2B7A733800D55EF8 /* DBTEAMLOGTfaResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE32B7A733100D55EF8 /* DBTEAMLOGTfaResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A02B7A733800D55EF8 /* DBTEAMLOGTfaResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE32B7A733100D55EF8 /* DBTEAMLOGTfaResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A12B7A733800D55EF8 /* DBTEAMLOGGroupCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE42B7A733100D55EF8 /* DBTEAMLOGGroupCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A22B7A733800D55EF8 /* DBTEAMLOGGroupCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE42B7A733100D55EF8 /* DBTEAMLOGGroupCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A32B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE52B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A42B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE52B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A52B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE62B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A62B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE62B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A72B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE72B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A82B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE72B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19A92B7A733800D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE82B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AA2B7A733800D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE82B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AB2B7A733800D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE92B7A733100D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AC2B7A733800D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CE92B7A733100D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AD2B7A733800D55EF8 /* DBTEAMLOGTfaConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEA2B7A733100D55EF8 /* DBTEAMLOGTfaConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AE2B7A733800D55EF8 /* DBTEAMLOGTfaConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEA2B7A733100D55EF8 /* DBTEAMLOGTfaConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19AF2B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEB2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B02B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEB2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B12B7A733800D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEC2B7A733100D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B22B7A733800D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEC2B7A733100D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B32B7A733800D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CED2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B42B7A733800D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CED2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B52B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEE2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B62B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEE2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B72B7A733800D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEF2B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B82B7A733800D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CEF2B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19B92B7A733800D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF02B7A733100D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BA2B7A733800D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF02B7A733100D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BB2B7A733800D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF12B7A733100D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BC2B7A733800D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF12B7A733100D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BD2B7A733800D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF22B7A733100D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BE2B7A733800D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF22B7A733100D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19BF2B7A733800D55EF8 /* DBTEAMLOGSsoAddCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF32B7A733100D55EF8 /* DBTEAMLOGSsoAddCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C02B7A733800D55EF8 /* DBTEAMLOGSsoAddCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF32B7A733100D55EF8 /* DBTEAMLOGSsoAddCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C12B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C22B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C32B7A733800D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF52B7A733100D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C42B7A733800D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF52B7A733100D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C52B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF62B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C62B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF62B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C72B7A733800D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF72B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C82B7A733800D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF72B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19C92B7A733800D55EF8 /* DBTEAMLOGPlacementRestriction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF82B7A733100D55EF8 /* DBTEAMLOGPlacementRestriction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CA2B7A733800D55EF8 /* DBTEAMLOGPlacementRestriction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF82B7A733100D55EF8 /* DBTEAMLOGPlacementRestriction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CB2B7A733800D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF92B7A733100D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CC2B7A733800D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CF92B7A733100D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CD2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFA2B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CE2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFA2B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19CF2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFB2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D02B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFB2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D12B7A733800D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFC2B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D22B7A733800D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFC2B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D32B7A733800D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D42B7A733800D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D52B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D62B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D72B7A733800D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFF2B7A733100D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D82B7A733800D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0CFF2B7A733100D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19D92B7A733800D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D002B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DA2B7A733800D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D002B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DB2B7A733800D55EF8 /* DBTEAMLOGSsoRemoveCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D012B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DC2B7A733800D55EF8 /* DBTEAMLOGSsoRemoveCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D012B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DD2B7A733800D55EF8 /* DBTEAMLOGPaperDocEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D022B7A733100D55EF8 /* DBTEAMLOGPaperDocEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DE2B7A733800D55EF8 /* DBTEAMLOGPaperDocEditDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D022B7A733100D55EF8 /* DBTEAMLOGPaperDocEditDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19DF2B7A733800D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D032B7A733100D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E02B7A733800D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D032B7A733100D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E12B7A733800D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D042B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E22B7A733800D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D042B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E32B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D052B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E42B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D052B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E52B7A733800D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D062B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E62B7A733800D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D062B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E72B7A733800D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D072B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E82B7A733800D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D072B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19E92B7A733800D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D082B7A733100D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19EA2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D082B7A733100D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19EB2B7A733800D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D092B7A733100D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19EC2B7A733800D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D092B7A733100D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19ED2B7A733800D55EF8 /* DBTEAMLOGDurationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0A2B7A733100D55EF8 /* DBTEAMLOGDurationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19EE2B7A733800D55EF8 /* DBTEAMLOGDurationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0A2B7A733100D55EF8 /* DBTEAMLOGDurationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19EF2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0B2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F02B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0B2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F12B7A733800D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0C2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F22B7A733800D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0C2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F32B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0D2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F42B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0D2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F52B7A733800D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0E2B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F62B7A733800D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0E2B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F72B7A733800D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0F2B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F82B7A733800D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D0F2B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19F92B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D102B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FA2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D102B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FB2B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D112B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FC2B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D112B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FD2B7A733800D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D122B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FE2B7A733800D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D122B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E19FF2B7A733800D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D132B7A733100D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A002B7A733800D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D132B7A733100D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A012B7A733800D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D142B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A022B7A733800D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D142B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A032B7A733800D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D152B7A733100D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A042B7A733800D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D152B7A733100D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A052B7A733800D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D162B7A733100D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A062B7A733800D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D162B7A733100D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A072B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D172B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A082B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D172B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A092B7A733800D55EF8 /* DBTEAMLOGSsoErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D182B7A733100D55EF8 /* DBTEAMLOGSsoErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0A2B7A733800D55EF8 /* DBTEAMLOGSsoErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D182B7A733100D55EF8 /* DBTEAMLOGSsoErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0B2B7A733800D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D192B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0C2B7A733800D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D192B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0D2B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1A2B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0E2B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1A2B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A0F2B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1B2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A102B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1B2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A112B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1C2B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A122B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1C2B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A132B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1D2B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A142B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1D2B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A152B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1E2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A162B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1E2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A172B7A733800D55EF8 /* DBTEAMLOGTeamFolderRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1F2B7A733100D55EF8 /* DBTEAMLOGTeamFolderRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A182B7A733800D55EF8 /* DBTEAMLOGTeamFolderRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D1F2B7A733100D55EF8 /* DBTEAMLOGTeamFolderRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A192B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D202B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1A2B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D202B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1B2B7A733800D55EF8 /* DBTEAMLOGGroupRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D212B7A733100D55EF8 /* DBTEAMLOGGroupRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1C2B7A733800D55EF8 /* DBTEAMLOGGroupRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D212B7A733100D55EF8 /* DBTEAMLOGGroupRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1D2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D222B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1E2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D222B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A1F2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D232B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A202B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D232B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A212B7A733800D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D242B7A733100D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A222B7A733800D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D242B7A733100D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A232B7A733800D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D252B7A733100D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A242B7A733800D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D252B7A733100D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A252B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D262B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A262B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D262B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A272B7A733800D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D272B7A733100D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A282B7A733800D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D272B7A733100D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A292B7A733800D55EF8 /* DBTEAMLOGBinderAddSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D282B7A733100D55EF8 /* DBTEAMLOGBinderAddSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2A2B7A733800D55EF8 /* DBTEAMLOGBinderAddSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D282B7A733100D55EF8 /* DBTEAMLOGBinderAddSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2B2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D292B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2C2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D292B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2D2B7A733800D55EF8 /* DBTEAMLOGGetTeamEventsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2A2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2E2B7A733800D55EF8 /* DBTEAMLOGGetTeamEventsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2A2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A2F2B7A733800D55EF8 /* DBTEAMLOGReplayFileDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2B2B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A302B7A733800D55EF8 /* DBTEAMLOGReplayFileDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2B2B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A312B7A733800D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2C2B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A322B7A733800D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2C2B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A332B7A733800D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A342B7A733800D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A352B7A733800D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2E2B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A362B7A733800D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2E2B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A372B7A733800D55EF8 /* DBTEAMLOGExportMembersReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2F2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A382B7A733800D55EF8 /* DBTEAMLOGExportMembersReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D2F2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A392B7A733800D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D302B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3A2B7A733800D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D302B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3B2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D312B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3C2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D312B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3D2B7A733800D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D322B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3E2B7A733800D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D322B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A3F2B7A733800D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D332B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A402B7A733800D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D332B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A412B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D342B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A422B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D342B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A432B7A733800D55EF8 /* DBTEAMLOGPaperDocEditType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D352B7A733100D55EF8 /* DBTEAMLOGPaperDocEditType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A442B7A733800D55EF8 /* DBTEAMLOGPaperDocEditType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D352B7A733100D55EF8 /* DBTEAMLOGPaperDocEditType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A452B7A733800D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D362B7A733100D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A462B7A733800D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D362B7A733100D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A472B7A733800D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D372B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A482B7A733800D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D372B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A492B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D382B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D382B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4B2B7A733800D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D392B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4C2B7A733800D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D392B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4D2B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3A2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4E2B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3A2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A4F2B7A733800D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3B2B7A733100D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A502B7A733800D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3B2B7A733100D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A512B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3C2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A522B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3C2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A532B7A733800D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3D2B7A733100D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A542B7A733800D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3D2B7A733100D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A552B7A733800D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3E2B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A562B7A733800D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3E2B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A572B7A733800D55EF8 /* DBTEAMLOGIdentifierType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3F2B7A733100D55EF8 /* DBTEAMLOGIdentifierType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A582B7A733800D55EF8 /* DBTEAMLOGIdentifierType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D3F2B7A733100D55EF8 /* DBTEAMLOGIdentifierType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A592B7A733800D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D402B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5A2B7A733800D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D402B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5B2B7A733800D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D412B7A733100D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5C2B7A733800D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D412B7A733100D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5D2B7A733800D55EF8 /* DBTEAMLOGConnectedTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D422B7A733100D55EF8 /* DBTEAMLOGConnectedTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5E2B7A733800D55EF8 /* DBTEAMLOGConnectedTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D422B7A733100D55EF8 /* DBTEAMLOGConnectedTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A5F2B7A733800D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D432B7A733100D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A602B7A733800D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D432B7A733100D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A612B7A733800D55EF8 /* DBTEAMLOGTeamMergeFromType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D442B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A622B7A733800D55EF8 /* DBTEAMLOGTeamMergeFromType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D442B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A632B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D452B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A642B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D452B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A652B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D462B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A662B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D462B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A672B7A733800D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D472B7A733100D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A682B7A733800D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D472B7A733100D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A692B7A733800D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D482B7A733100D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6A2B7A733800D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D482B7A733100D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6B2B7A733800D55EF8 /* DBTEAMLOGGroupCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D492B7A733100D55EF8 /* DBTEAMLOGGroupCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6C2B7A733800D55EF8 /* DBTEAMLOGGroupCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D492B7A733100D55EF8 /* DBTEAMLOGGroupCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6D2B7A733800D55EF8 /* DBTEAMLOGTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4A2B7A733100D55EF8 /* DBTEAMLOGTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6E2B7A733800D55EF8 /* DBTEAMLOGTeamMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4A2B7A733100D55EF8 /* DBTEAMLOGTeamMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A6F2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4B2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A702B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4B2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A712B7A733800D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4C2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A722B7A733800D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4C2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A732B7A733800D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4D2B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A742B7A733800D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4D2B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A752B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4E2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A762B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4E2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A772B7A733800D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A782B7A733800D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D4F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A792B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D502B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D502B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7B2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D512B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7C2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D512B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7D2B7A733800D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D522B7A733100D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7E2B7A733800D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D522B7A733100D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A7F2B7A733800D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D532B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A802B7A733800D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D532B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A812B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D542B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A822B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D542B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A832B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D552B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A842B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D552B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A852B7A733800D55EF8 /* DBTEAMLOGEmmAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D562B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A862B7A733800D55EF8 /* DBTEAMLOGEmmAddExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D562B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A872B7A733800D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D572B7A733100D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A882B7A733800D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D572B7A733100D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A892B7A733800D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D582B7A733100D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8A2B7A733800D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D582B7A733100D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8B2B7A733800D55EF8 /* DBTEAMLOGPaperDocFollowedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D592B7A733100D55EF8 /* DBTEAMLOGPaperDocFollowedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8C2B7A733800D55EF8 /* DBTEAMLOGPaperDocFollowedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D592B7A733100D55EF8 /* DBTEAMLOGPaperDocFollowedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8D2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5A2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8E2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5A2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A8F2B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5B2B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A902B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5B2B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A912B7A733800D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5C2B7A733100D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A922B7A733800D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5C2B7A733100D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A932B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5D2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A942B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5D2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A952B7A733800D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5E2B7A733100D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A962B7A733800D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5E2B7A733100D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A972B7A733800D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5F2B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A982B7A733800D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D5F2B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A992B7A733800D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D602B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9A2B7A733800D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D602B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9B2B7A733800D55EF8 /* DBTEAMLOGTfaChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D612B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9C2B7A733800D55EF8 /* DBTEAMLOGTfaChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D612B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9D2B7A733800D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D622B7A733100D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9E2B7A733800D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D622B7A733100D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1A9F2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D632B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA02B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D632B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA12B7A733800D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D642B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA22B7A733800D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D642B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA32B7A733800D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D652B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA42B7A733800D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D652B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA52B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D662B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA62B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D662B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA72B7A733800D55EF8 /* DBTEAMLOGActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D672B7A733100D55EF8 /* DBTEAMLOGActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA82B7A733800D55EF8 /* DBTEAMLOGActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D672B7A733100D55EF8 /* DBTEAMLOGActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AA92B7A733800D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D682B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAA2B7A733800D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D682B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAB2B7A733800D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D692B7A733100D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAC2B7A733800D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D692B7A733100D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAD2B7A733800D55EF8 /* DBTEAMLOGLabelType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6A2B7A733100D55EF8 /* DBTEAMLOGLabelType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAE2B7A733800D55EF8 /* DBTEAMLOGLabelType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6A2B7A733100D55EF8 /* DBTEAMLOGLabelType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AAF2B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6B2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB02B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6B2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB12B7A733800D55EF8 /* DBTEAMLOGFileRequestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6C2B7A733100D55EF8 /* DBTEAMLOGFileRequestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB22B7A733800D55EF8 /* DBTEAMLOGFileRequestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6C2B7A733100D55EF8 /* DBTEAMLOGFileRequestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB32B7A733800D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6D2B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB42B7A733800D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6D2B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB52B7A733800D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6E2B7A733100D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB62B7A733800D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6E2B7A733100D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB72B7A733800D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB82B7A733800D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D6F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AB92B7A733800D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D702B7A733100D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABA2B7A733800D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D702B7A733100D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABB2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D712B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABC2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D712B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABD2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D722B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABE2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D722B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ABF2B7A733800D55EF8 /* DBTEAMLOGMissingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D732B7A733100D55EF8 /* DBTEAMLOGMissingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC02B7A733800D55EF8 /* DBTEAMLOGMissingDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D732B7A733100D55EF8 /* DBTEAMLOGMissingDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC12B7A733800D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D742B7A733100D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC22B7A733800D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D742B7A733100D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC32B7A733800D55EF8 /* DBTEAMLOGOrganizationName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D752B7A733100D55EF8 /* DBTEAMLOGOrganizationName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC42B7A733800D55EF8 /* DBTEAMLOGOrganizationName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D752B7A733100D55EF8 /* DBTEAMLOGOrganizationName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC52B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D762B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC62B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D762B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC72B7A733800D55EF8 /* DBTEAMLOGEmmErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D772B7A733100D55EF8 /* DBTEAMLOGEmmErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC82B7A733800D55EF8 /* DBTEAMLOGEmmErrorDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D772B7A733100D55EF8 /* DBTEAMLOGEmmErrorDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AC92B7A733800D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D782B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACA2B7A733800D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D782B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACB2B7A733800D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D792B7A733100D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACC2B7A733800D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D792B7A733100D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACD2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7A2B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACE2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7A2B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ACF2B7A733800D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7B2B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD02B7A733800D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7B2B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD12B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7C2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD22B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7C2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD32B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD42B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD52B7A733800D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7E2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD62B7A733800D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7E2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD72B7A733800D55EF8 /* DBTEAMLOGBinderRemovePageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7F2B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD82B7A733800D55EF8 /* DBTEAMLOGBinderRemovePageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D7F2B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AD92B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D802B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADA2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D802B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADB2B7A733800D55EF8 /* DBTEAMLOGPasswordResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D812B7A733100D55EF8 /* DBTEAMLOGPasswordResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADC2B7A733800D55EF8 /* DBTEAMLOGPasswordResetDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D812B7A733100D55EF8 /* DBTEAMLOGPasswordResetDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADD2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D822B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADE2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D822B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ADF2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D832B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE02B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D832B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE12B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE22B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE32B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D852B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE42B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D852B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE52B7A733800D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D862B7A733100D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE62B7A733800D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D862B7A733100D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE72B7A733800D55EF8 /* DBTEAMLOGNetworkControlPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D872B7A733100D55EF8 /* DBTEAMLOGNetworkControlPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE82B7A733800D55EF8 /* DBTEAMLOGNetworkControlPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D872B7A733100D55EF8 /* DBTEAMLOGNetworkControlPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AE92B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D882B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AEA2B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D882B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AEB2B7A733800D55EF8 /* DBTEAMLOGFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D892B7A733100D55EF8 /* DBTEAMLOGFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AEC2B7A733800D55EF8 /* DBTEAMLOGFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D892B7A733100D55EF8 /* DBTEAMLOGFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AED2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8A2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AEE2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8A2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AEF2B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8B2B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF02B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8B2B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF12B7A733800D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8C2B7A733100D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF22B7A733800D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8C2B7A733100D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF32B7A733800D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8D2B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF42B7A733800D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8D2B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF52B7A733800D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8E2B7A733100D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF62B7A733800D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8E2B7A733100D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF72B7A733800D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8F2B7A733100D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF82B7A733800D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D8F2B7A733100D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AF92B7A733800D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D902B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFA2B7A733800D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D902B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFB2B7A733800D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D912B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFC2B7A733800D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D912B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFD2B7A733800D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D922B7A733100D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFE2B7A733800D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D922B7A733100D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1AFF2B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D932B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B002B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D932B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B012B7A733800D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D942B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B022B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D942B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B032B7A733900D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D952B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B042B7A733900D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D952B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B052B7A733900D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D962B7A733100D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B062B7A733900D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D962B7A733100D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B072B7A733900D55EF8 /* DBTEAMLOGGroupAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D972B7A733100D55EF8 /* DBTEAMLOGGroupAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B082B7A733900D55EF8 /* DBTEAMLOGGroupAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D972B7A733100D55EF8 /* DBTEAMLOGGroupAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B092B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D982B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0A2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D982B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0B2B7A733900D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D992B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0C2B7A733900D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D992B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0D2B7A733900D55EF8 /* DBTEAMLOGEmmErrorType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9A2B7A733100D55EF8 /* DBTEAMLOGEmmErrorType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0E2B7A733900D55EF8 /* DBTEAMLOGEmmErrorType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9A2B7A733100D55EF8 /* DBTEAMLOGEmmErrorType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B0F2B7A733900D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9B2B7A733100D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B102B7A733900D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9B2B7A733100D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B112B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9C2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B122B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9C2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B132B7A733900D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9D2B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B142B7A733900D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9D2B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B152B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9E2B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B162B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9E2B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B172B7A733900D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9F2B7A733100D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B182B7A733900D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0D9F2B7A733100D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B192B7A733900D55EF8 /* DBTEAMLOGSharedLinkVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA02B7A733100D55EF8 /* DBTEAMLOGSharedLinkVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1A2B7A733900D55EF8 /* DBTEAMLOGSharedLinkVisibility.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA02B7A733100D55EF8 /* DBTEAMLOGSharedLinkVisibility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1B2B7A733900D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA12B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1C2B7A733900D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA12B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1D2B7A733900D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA22B7A733100D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1E2B7A733900D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA22B7A733100D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B1F2B7A733900D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA32B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B202B7A733900D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA32B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B212B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B222B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B232B7A733900D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA52B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B242B7A733900D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA52B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B252B7A733900D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA62B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B262B7A733900D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA62B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B272B7A733900D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B282B7A733900D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B292B7A733900D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA82B7A733100D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2A2B7A733900D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA82B7A733100D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2B2B7A733900D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA92B7A733100D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2C2B7A733900D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DA92B7A733100D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2D2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAA2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2E2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAA2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B2F2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAB2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B302B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAB2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B312B7A733900D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B322B7A733900D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B332B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAD2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B342B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAD2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B352B7A733900D55EF8 /* DBTEAMLOGAppLinkTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAE2B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B362B7A733900D55EF8 /* DBTEAMLOGAppLinkTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAE2B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B372B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAF2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B382B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DAF2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B392B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3A2B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3B2B7A733900D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB12B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3C2B7A733900D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB12B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3D2B7A733900D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB22B7A733100D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3E2B7A733900D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB22B7A733100D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B3F2B7A733900D55EF8 /* DBTEAMLOGSharedContentViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB32B7A733100D55EF8 /* DBTEAMLOGSharedContentViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B402B7A733900D55EF8 /* DBTEAMLOGSharedContentViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB32B7A733100D55EF8 /* DBTEAMLOGSharedContentViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B412B7A733900D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB42B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B422B7A733900D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB42B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B432B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB52B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B442B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB52B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B452B7A733900D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB62B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B462B7A733900D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB62B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B472B7A733900D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB72B7A733100D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B482B7A733900D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB72B7A733100D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B492B7A733900D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB82B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4A2B7A733900D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB82B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4B2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB92B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4C2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DB92B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4D2B7A733900D55EF8 /* DBTEAMLOGOrganizationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBA2B7A733100D55EF8 /* DBTEAMLOGOrganizationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4E2B7A733900D55EF8 /* DBTEAMLOGOrganizationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBA2B7A733100D55EF8 /* DBTEAMLOGOrganizationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B4F2B7A733900D55EF8 /* DBTEAMLOGJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBB2B7A733100D55EF8 /* DBTEAMLOGJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B502B7A733900D55EF8 /* DBTEAMLOGJoinTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBB2B7A733100D55EF8 /* DBTEAMLOGJoinTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B512B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBC2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B522B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBC2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B532B7A733900D55EF8 /* DBTEAMLOGMemberChangeEmailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBD2B7A733100D55EF8 /* DBTEAMLOGMemberChangeEmailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B542B7A733900D55EF8 /* DBTEAMLOGMemberChangeEmailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBD2B7A733100D55EF8 /* DBTEAMLOGMemberChangeEmailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B552B7A733900D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBE2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B562B7A733900D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBE2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B572B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBF2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B582B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DBF2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B592B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC02B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5A2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC02B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5B2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC12B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5C2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC12B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5D2B7A733900D55EF8 /* DBTEAMLOGPaperContentCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC22B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5E2B7A733900D55EF8 /* DBTEAMLOGPaperContentCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC22B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B5F2B7A733900D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC32B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B602B7A733900D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC32B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B612B7A733900D55EF8 /* DBTEAMLOGAppLinkUserType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC42B7A733100D55EF8 /* DBTEAMLOGAppLinkUserType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B622B7A733900D55EF8 /* DBTEAMLOGAppLinkUserType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC42B7A733100D55EF8 /* DBTEAMLOGAppLinkUserType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B632B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC52B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B642B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC52B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B652B7A733900D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC62B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B662B7A733900D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC62B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B672B7A733900D55EF8 /* DBTEAMLOGFileAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC72B7A733100D55EF8 /* DBTEAMLOGFileAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B682B7A733900D55EF8 /* DBTEAMLOGFileAddCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC72B7A733100D55EF8 /* DBTEAMLOGFileAddCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B692B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC82B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6A2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC82B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6B2B7A733900D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC92B7A733100D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6C2B7A733900D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DC92B7A733100D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6D2B7A733900D55EF8 /* DBTEAMLOGFileRevertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCA2B7A733100D55EF8 /* DBTEAMLOGFileRevertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6E2B7A733900D55EF8 /* DBTEAMLOGFileRevertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCA2B7A733100D55EF8 /* DBTEAMLOGFileRevertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B6F2B7A733900D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B702B7A733900D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B712B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B722B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B732B7A733900D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCD2B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B742B7A733900D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCD2B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B752B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCE2B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B762B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCE2B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B772B7A733900D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCF2B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B782B7A733900D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DCF2B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B792B7A733900D55EF8 /* DBTEAMLOGPaperDocViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD02B7A733100D55EF8 /* DBTEAMLOGPaperDocViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7A2B7A733900D55EF8 /* DBTEAMLOGPaperDocViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD02B7A733100D55EF8 /* DBTEAMLOGPaperDocViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7B2B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD12B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7C2B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD12B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7D2B7A733900D55EF8 /* DBTEAMLOGAccountCapturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD22B7A733100D55EF8 /* DBTEAMLOGAccountCapturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7E2B7A733900D55EF8 /* DBTEAMLOGAccountCapturePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD22B7A733100D55EF8 /* DBTEAMLOGAccountCapturePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B7F2B7A733900D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD32B7A733100D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B802B7A733900D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD32B7A733100D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B812B7A733900D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD42B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B822B7A733900D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD42B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B832B7A733900D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD52B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B842B7A733900D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD52B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B852B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD62B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B862B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD62B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B872B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD72B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B882B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD72B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B892B7A733900D55EF8 /* DBTEAMLOGMemberChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD82B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8A2B7A733900D55EF8 /* DBTEAMLOGMemberChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD82B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8B2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD92B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8C2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DD92B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8D2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDA2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8E2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDA2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B8F2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B902B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B912B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDC2B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B922B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDC2B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B932B7A733900D55EF8 /* DBTEAMLOGFileLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDD2B7A733100D55EF8 /* DBTEAMLOGFileLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B942B7A733900D55EF8 /* DBTEAMLOGFileLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDD2B7A733100D55EF8 /* DBTEAMLOGFileLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B952B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDE2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B962B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDE2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B972B7A733900D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B982B7A733900D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B992B7A733900D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE02B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9A2B7A733900D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE02B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9B2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE12B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9C2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE12B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9D2B7A733900D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE22B7A733100D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9E2B7A733900D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE22B7A733100D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1B9F2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE32B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA02B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE32B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA12B7A733900D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE42B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA22B7A733900D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE42B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA32B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE52B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA42B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE52B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA52B7A733900D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE62B7A733100D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA62B7A733900D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE62B7A733100D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA72B7A733900D55EF8 /* DBTEAMLOGTimeUnit.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE72B7A733100D55EF8 /* DBTEAMLOGTimeUnit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA82B7A733900D55EF8 /* DBTEAMLOGTimeUnit.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE72B7A733100D55EF8 /* DBTEAMLOGTimeUnit.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BA92B7A733900D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE82B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAA2B7A733900D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE82B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAB2B7A733900D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE92B7A733100D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAC2B7A733900D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DE92B7A733100D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAD2B7A733900D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEA2B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAE2B7A733900D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEA2B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BAF2B7A733900D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEB2B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB02B7A733900D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEB2B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB12B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEC2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB22B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEC2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB32B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DED2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB42B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DED2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB52B7A733900D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEE2B7A733100D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB62B7A733900D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEE2B7A733100D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB72B7A733900D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB82B7A733900D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DEF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BB92B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBA2B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBB2B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF12B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBC2B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF12B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBD2B7A733900D55EF8 /* DBTEAMLOGAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF22B7A733100D55EF8 /* DBTEAMLOGAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBE2B7A733900D55EF8 /* DBTEAMLOGAdminRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF22B7A733100D55EF8 /* DBTEAMLOGAdminRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BBF2B7A733900D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF32B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC02B7A733900D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF32B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC12B7A733900D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF42B7A733100D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC22B7A733900D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF42B7A733100D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC32B7A733900D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF52B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC42B7A733900D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF52B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC52B7A733900D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF62B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC62B7A733900D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF62B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC72B7A733900D55EF8 /* DBTEAMLOGPaperDocViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF72B7A733100D55EF8 /* DBTEAMLOGPaperDocViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC82B7A733900D55EF8 /* DBTEAMLOGPaperDocViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF72B7A733100D55EF8 /* DBTEAMLOGPaperDocViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BC92B7A733900D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF82B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCA2B7A733900D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF82B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCB2B7A733900D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF92B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCC2B7A733900D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DF92B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCD2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCE2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BCF2B7A733900D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFB2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD02B7A733900D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFB2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD12B7A733900D55EF8 /* DBTEAMLOGPaperAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFC2B7A733100D55EF8 /* DBTEAMLOGPaperAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD22B7A733900D55EF8 /* DBTEAMLOGPaperAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFC2B7A733100D55EF8 /* DBTEAMLOGPaperAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD32B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFD2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD42B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFD2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD52B7A733900D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFE2B7A733100D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD62B7A733900D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFE2B7A733100D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD72B7A733900D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFF2B7A733100D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD82B7A733900D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0DFF2B7A733100D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BD92B7A733900D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E002B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDA2B7A733900D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E002B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDB2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E012B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDC2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E012B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDD2B7A733900D55EF8 /* DBTEAMLOGSharingLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E022B7A733100D55EF8 /* DBTEAMLOGSharingLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDE2B7A733900D55EF8 /* DBTEAMLOGSharingLinkPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E022B7A733100D55EF8 /* DBTEAMLOGSharingLinkPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BDF2B7A733900D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E032B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE02B7A733900D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E032B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE12B7A733900D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E042B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE22B7A733900D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E042B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE32B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E052B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE42B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E052B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE52B7A733900D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E062B7A733100D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE62B7A733900D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E062B7A733100D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE72B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E072B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE82B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E072B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BE92B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E082B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BEA2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E082B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BEB2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E092B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BEC2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E092B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BED2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0A2B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BEE2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0A2B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BEF2B7A733900D55EF8 /* DBTEAMLOGTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0B2B7A733100D55EF8 /* DBTEAMLOGTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF02B7A733900D55EF8 /* DBTEAMLOGTeamInviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0B2B7A733100D55EF8 /* DBTEAMLOGTeamInviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF12B7A733900D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0C2B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF22B7A733900D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0C2B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF32B7A733900D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0D2B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF42B7A733900D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0D2B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF52B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0E2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF62B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0E2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF72B7A733900D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0F2B7A733100D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF82B7A733900D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E0F2B7A733100D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BF92B7A733900D55EF8 /* DBTEAMLOGDeviceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E102B7A733100D55EF8 /* DBTEAMLOGDeviceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFA2B7A733900D55EF8 /* DBTEAMLOGDeviceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E102B7A733100D55EF8 /* DBTEAMLOGDeviceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFB2B7A733900D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E112B7A733100D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFC2B7A733900D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E112B7A733100D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFD2B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E122B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFE2B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E122B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1BFF2B7A733900D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E132B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C002B7A733900D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E132B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C012B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E142B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C022B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E142B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C032B7A733900D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E152B7A733100D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C042B7A733900D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E152B7A733100D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C052B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E162B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C062B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E162B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C072B7A733900D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E172B7A733100D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C082B7A733900D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E172B7A733100D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C092B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E182B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0A2B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E182B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0B2B7A733900D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E192B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0C2B7A733900D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E192B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0D2B7A733900D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1A2B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0E2B7A733900D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1A2B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C0F2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1B2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C102B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1B2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C112B7A733900D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1C2B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C122B7A733900D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1C2B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C132B7A733900D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1D2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C142B7A733900D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1D2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C152B7A733900D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C162B7A733900D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C172B7A733900D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C182B7A733900D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E1F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C192B7A733900D55EF8 /* DBTEAMLOGEventType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E202B7A733100D55EF8 /* DBTEAMLOGEventType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1A2B7A733900D55EF8 /* DBTEAMLOGEventType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E202B7A733100D55EF8 /* DBTEAMLOGEventType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1B2B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E212B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1C2B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E212B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1D2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E222B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1E2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E222B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C1F2B7A733900D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E232B7A733100D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C202B7A733900D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E232B7A733100D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C212B7A733900D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E242B7A733100D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C222B7A733900D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E242B7A733100D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C232B7A733900D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E252B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C242B7A733900D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E252B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C252B7A733900D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E262B7A733100D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C262B7A733900D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E262B7A733100D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C272B7A733900D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E272B7A733100D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C282B7A733900D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E272B7A733100D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C292B7A733900D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E282B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2A2B7A733900D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E282B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2B2B7A733900D55EF8 /* DBTEAMLOGMemberSuggestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E292B7A733100D55EF8 /* DBTEAMLOGMemberSuggestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2C2B7A733900D55EF8 /* DBTEAMLOGMemberSuggestDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E292B7A733100D55EF8 /* DBTEAMLOGMemberSuggestDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2D2B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2A2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2E2B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2A2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C2F2B7A733900D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2B2B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C302B7A733900D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2B2B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C312B7A733900D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2C2B7A733100D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C322B7A733900D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2C2B7A733100D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C332B7A733900D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C342B7A733900D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C352B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C362B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C372B7A733900D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2F2B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C382B7A733900D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E2F2B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C392B7A733900D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E302B7A733100D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3A2B7A733900D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E302B7A733100D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3B2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E312B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3C2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E312B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3D2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E322B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3E2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E322B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C3F2B7A733900D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E332B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C402B7A733900D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E332B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C412B7A733900D55EF8 /* DBTEAMLOGBinderAddPageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E342B7A733100D55EF8 /* DBTEAMLOGBinderAddPageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C422B7A733900D55EF8 /* DBTEAMLOGBinderAddPageType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E342B7A733100D55EF8 /* DBTEAMLOGBinderAddPageType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C432B7A733900D55EF8 /* DBTEAMLOGPasswordChangeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E352B7A733100D55EF8 /* DBTEAMLOGPasswordChangeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C442B7A733900D55EF8 /* DBTEAMLOGPasswordChangeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E352B7A733100D55EF8 /* DBTEAMLOGPasswordChangeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C452B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E362B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C462B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E362B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C472B7A733900D55EF8 /* DBTEAMLOGTeamMergeToType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E372B7A733100D55EF8 /* DBTEAMLOGTeamMergeToType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C482B7A733900D55EF8 /* DBTEAMLOGTeamMergeToType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E372B7A733100D55EF8 /* DBTEAMLOGTeamMergeToType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C492B7A733900D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E382B7A733100D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4A2B7A733900D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E382B7A733100D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4B2B7A733900D55EF8 /* DBTEAMLOGShmodelGroupShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E392B7A733100D55EF8 /* DBTEAMLOGShmodelGroupShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4C2B7A733900D55EF8 /* DBTEAMLOGShmodelGroupShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E392B7A733100D55EF8 /* DBTEAMLOGShmodelGroupShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4D2B7A733900D55EF8 /* DBTEAMLOGMemberChangeNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3A2B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4E2B7A733900D55EF8 /* DBTEAMLOGMemberChangeNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3A2B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C4F2B7A733900D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3B2B7A733100D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C502B7A733900D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3B2B7A733100D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C512B7A733900D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3C2B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C522B7A733900D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3C2B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C532B7A733900D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C542B7A733900D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C552B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3E2B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C562B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3E2B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C572B7A733900D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3F2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C582B7A733900D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E3F2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C592B7A733900D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E402B7A733100D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5A2B7A733900D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E402B7A733100D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5B2B7A733900D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E412B7A733100D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5C2B7A733900D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E412B7A733100D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5D2B7A733900D55EF8 /* DBTEAMLOGFileMoveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E422B7A733100D55EF8 /* DBTEAMLOGFileMoveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5E2B7A733900D55EF8 /* DBTEAMLOGFileMoveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E422B7A733100D55EF8 /* DBTEAMLOGFileMoveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C5F2B7A733900D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E432B7A733100D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C602B7A733900D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E432B7A733100D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C612B7A733900D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E442B7A733100D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C622B7A733900D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E442B7A733100D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C632B7A733900D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E452B7A733100D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C642B7A733900D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E452B7A733100D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C652B7A733900D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E462B7A733100D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C662B7A733900D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E462B7A733100D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C672B7A733900D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E472B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C682B7A733900D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E472B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C692B7A733900D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E482B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6A2B7A733900D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E482B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6B2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E492B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6C2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E492B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6D2B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4A2B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6E2B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4A2B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C6F2B7A733900D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4B2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C702B7A733900D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4B2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C712B7A733900D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4C2B7A733100D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C722B7A733900D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4C2B7A733100D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C732B7A733900D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C742B7A733900D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C752B7A733900D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4E2B7A733100D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C762B7A733900D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4E2B7A733100D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C772B7A733900D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4F2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C782B7A733900D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E4F2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C792B7A733900D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E502B7A733100D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7A2B7A733900D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E502B7A733100D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7B2B7A733900D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E512B7A733100D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7C2B7A733900D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E512B7A733100D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7D2B7A733900D55EF8 /* DBTEAMLOGFileDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E522B7A733100D55EF8 /* DBTEAMLOGFileDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7E2B7A733900D55EF8 /* DBTEAMLOGFileDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E522B7A733100D55EF8 /* DBTEAMLOGFileDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C7F2B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E532B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C802B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E532B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C812B7A733A00D55EF8 /* DBTEAMLOGEventCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E542B7A733100D55EF8 /* DBTEAMLOGEventCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C822B7A733A00D55EF8 /* DBTEAMLOGEventCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E542B7A733100D55EF8 /* DBTEAMLOGEventCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C832B7A733A00D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E552B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C842B7A733A00D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E552B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C852B7A733A00D55EF8 /* DBTEAMLOGSharedLinkDisableType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E562B7A733100D55EF8 /* DBTEAMLOGSharedLinkDisableType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C862B7A733A00D55EF8 /* DBTEAMLOGSharedLinkDisableType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E562B7A733100D55EF8 /* DBTEAMLOGSharedLinkDisableType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C872B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E572B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C882B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E572B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C892B7A733A00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E582B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8A2B7A733A00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E582B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8B2B7A733A00D55EF8 /* DBTEAMLOGSharedContentViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E592B7A733100D55EF8 /* DBTEAMLOGSharedContentViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8C2B7A733A00D55EF8 /* DBTEAMLOGSharedContentViewType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E592B7A733100D55EF8 /* DBTEAMLOGSharedContentViewType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8D2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderMountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5A2B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8E2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderMountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5A2B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C8F2B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5B2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C902B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5B2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C912B7A733A00D55EF8 /* DBTEAMLOGCreateFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5C2B7A733100D55EF8 /* DBTEAMLOGCreateFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C922B7A733A00D55EF8 /* DBTEAMLOGCreateFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5C2B7A733100D55EF8 /* DBTEAMLOGCreateFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C932B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5D2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C942B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5D2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C952B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5E2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C962B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5E2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C972B7A733A00D55EF8 /* DBTEAMLOGFilePreviewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5F2B7A733100D55EF8 /* DBTEAMLOGFilePreviewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C982B7A733A00D55EF8 /* DBTEAMLOGFilePreviewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E5F2B7A733100D55EF8 /* DBTEAMLOGFilePreviewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C992B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E602B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9A2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E602B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9B2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E612B7A733100D55EF8 /* DBTEAMLOGExportMembersReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9C2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E612B7A733100D55EF8 /* DBTEAMLOGExportMembersReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9D2B7A733A00D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E622B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9E2B7A733A00D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E622B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1C9F2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E632B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA02B7A733A00D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E632B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA12B7A733A00D55EF8 /* DBTEAMLOGUserNameLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E642B7A733100D55EF8 /* DBTEAMLOGUserNameLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA22B7A733A00D55EF8 /* DBTEAMLOGUserNameLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E642B7A733100D55EF8 /* DBTEAMLOGUserNameLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA32B7A733A00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E652B7A733100D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA42B7A733A00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E652B7A733100D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA52B7A733A00D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E662B7A733100D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA62B7A733A00D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E662B7A733100D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA72B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E672B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA82B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E672B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CA92B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E682B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAA2B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E682B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E692B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E692B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAD2B7A733A00D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6A2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAE2B7A733A00D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6A2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CAF2B7A733A00D55EF8 /* DBTEAMLOGFileEditType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6B2B7A733100D55EF8 /* DBTEAMLOGFileEditType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB02B7A733A00D55EF8 /* DBTEAMLOGFileEditType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6B2B7A733100D55EF8 /* DBTEAMLOGFileEditType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB12B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6C2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB22B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6C2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB32B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6D2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB42B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6D2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB52B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6E2B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB62B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6E2B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB72B7A733A00D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB82B7A733A00D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E6F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CB92B7A733A00D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E702B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBA2B7A733A00D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E702B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBB2B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E712B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBC2B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E712B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBD2B7A733A00D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E722B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBE2B7A733A00D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E722B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CBF2B7A733A00D55EF8 /* DBTEAMLOGCollectionShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E732B7A733100D55EF8 /* DBTEAMLOGCollectionShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC02B7A733A00D55EF8 /* DBTEAMLOGCollectionShareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E732B7A733100D55EF8 /* DBTEAMLOGCollectionShareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC12B7A733A00D55EF8 /* DBTEAMLOGFileRestoreType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E742B7A733100D55EF8 /* DBTEAMLOGFileRestoreType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC22B7A733A00D55EF8 /* DBTEAMLOGFileRestoreType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E742B7A733100D55EF8 /* DBTEAMLOGFileRestoreType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC32B7A733A00D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E752B7A733100D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC42B7A733A00D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E752B7A733100D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC52B7A733A00D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E762B7A733100D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC62B7A733A00D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E762B7A733100D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC72B7A733A00D55EF8 /* DBTEAMLOGGroupJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E772B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC82B7A733A00D55EF8 /* DBTEAMLOGGroupJoinPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E772B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CC92B7A733A00D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E782B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCA2B7A733A00D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E782B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCB2B7A733A00D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E792B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCC2B7A733A00D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E792B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCD2B7A733A00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7A2B7A733100D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCE2B7A733A00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7A2B7A733100D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CCF2B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7B2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD02B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7B2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD12B7A733A00D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7C2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD22B7A733A00D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7C2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD32B7A733A00D55EF8 /* DBTEAMLOGGetTeamEventsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD42B7A733A00D55EF8 /* DBTEAMLOGGetTeamEventsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD52B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7E2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD62B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7E2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD72B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7F2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD82B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E7F2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CD92B7A733A00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E802B7A733100D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDA2B7A733A00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E802B7A733100D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDB2B7A733A00D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E812B7A733100D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDC2B7A733A00D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E812B7A733100D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDD2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E822B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDE2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E822B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CDF2B7A733A00D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E832B7A733100D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE02B7A733A00D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E832B7A733100D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE12B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E842B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE22B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E842B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE32B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E852B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE42B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E852B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE52B7A733A00D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E862B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE62B7A733A00D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E862B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE72B7A733A00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E872B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE82B7A733A00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E872B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CE92B7A733A00D55EF8 /* DBTEAMLOGSfInviteGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E882B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CEA2B7A733A00D55EF8 /* DBTEAMLOGSfInviteGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E882B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CEB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E892B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CEC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E892B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CED2B7A733A00D55EF8 /* DBTEAMLOGTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8A2B7A733100D55EF8 /* DBTEAMLOGTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CEE2B7A733A00D55EF8 /* DBTEAMLOGTeamName.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8A2B7A733100D55EF8 /* DBTEAMLOGTeamName.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CEF2B7A733A00D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8B2B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF02B7A733A00D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8B2B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF12B7A733A00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8C2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF22B7A733A00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8C2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF32B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8D2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF42B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8D2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF52B7A733A00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8E2B7A733100D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF62B7A733A00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8E2B7A733100D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF72B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8F2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF82B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E8F2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CF92B7A733A00D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E902B7A733100D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFA2B7A733A00D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E902B7A733100D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFB2B7A733A00D55EF8 /* DBTEAMLOGClassificationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E912B7A733100D55EF8 /* DBTEAMLOGClassificationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFC2B7A733A00D55EF8 /* DBTEAMLOGClassificationType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E912B7A733100D55EF8 /* DBTEAMLOGClassificationType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFD2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E922B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFE2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E922B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1CFF2B7A733A00D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E932B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D002B7A733A00D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E932B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D012B7A733A00D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E942B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D022B7A733A00D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E942B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D032B7A733A00D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E952B7A733100D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D042B7A733A00D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E952B7A733100D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D052B7A733A00D55EF8 /* DBTEAMLOGEventTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E962B7A733100D55EF8 /* DBTEAMLOGEventTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D062B7A733A00D55EF8 /* DBTEAMLOGEventTypeArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E962B7A733100D55EF8 /* DBTEAMLOGEventTypeArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D072B7A733A00D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E972B7A733100D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D082B7A733A00D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E972B7A733100D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D092B7A733A00D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E982B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0A2B7A733A00D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E982B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0B2B7A733A00D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E992B7A733100D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0C2B7A733A00D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E992B7A733100D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0D2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9A2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0E2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9A2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D0F2B7A733A00D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9B2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D102B7A733A00D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9B2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D112B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9C2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D122B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9C2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D132B7A733A00D55EF8 /* DBTEAMLOGFileRollbackChangesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9D2B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D142B7A733A00D55EF8 /* DBTEAMLOGFileRollbackChangesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9D2B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D152B7A733A00D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9E2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D162B7A733A00D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9E2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D172B7A733A00D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9F2B7A733100D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D182B7A733A00D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0E9F2B7A733100D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D192B7A733A00D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA02B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1A2B7A733A00D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA02B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1B2B7A733A00D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA12B7A733100D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1C2B7A733A00D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA12B7A733100D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1D2B7A733A00D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA22B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1E2B7A733A00D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA22B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D1F2B7A733A00D55EF8 /* DBTEAMLOGShowcasePostCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA32B7A733100D55EF8 /* DBTEAMLOGShowcasePostCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D202B7A733A00D55EF8 /* DBTEAMLOGShowcasePostCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA32B7A733100D55EF8 /* DBTEAMLOGShowcasePostCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D212B7A733A00D55EF8 /* DBTEAMLOGPaperContentRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA42B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D222B7A733A00D55EF8 /* DBTEAMLOGPaperContentRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA42B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D232B7A733A00D55EF8 /* DBTEAMLOGSsoErrorType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA52B7A733100D55EF8 /* DBTEAMLOGSsoErrorType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D242B7A733A00D55EF8 /* DBTEAMLOGSsoErrorType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA52B7A733100D55EF8 /* DBTEAMLOGSsoErrorType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D252B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA62B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D262B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA62B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D272B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA72B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D282B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA72B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D292B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA82B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2A2B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA82B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2B2B7A733A00D55EF8 /* DBTEAMLOGAppLinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA92B7A733100D55EF8 /* DBTEAMLOGAppLinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2C2B7A733A00D55EF8 /* DBTEAMLOGAppLinkUserDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EA92B7A733100D55EF8 /* DBTEAMLOGAppLinkUserDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2D2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2E2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D2F2B7A733A00D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAB2B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D302B7A733A00D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAB2B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D312B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D322B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D332B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D342B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D352B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAE2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D362B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAE2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D372B7A733A00D55EF8 /* DBTEAMLOGAssetLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAF2B7A733100D55EF8 /* DBTEAMLOGAssetLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D382B7A733A00D55EF8 /* DBTEAMLOGAssetLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EAF2B7A733100D55EF8 /* DBTEAMLOGAssetLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D392B7A733A00D55EF8 /* DBTEAMLOGFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB02B7A733100D55EF8 /* DBTEAMLOGFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3A2B7A733A00D55EF8 /* DBTEAMLOGFileRequestDeadline.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB02B7A733100D55EF8 /* DBTEAMLOGFileRequestDeadline.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3B2B7A733A00D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB12B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3C2B7A733A00D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB12B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3D2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB22B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3E2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB22B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D3F2B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB32B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D402B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB32B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D412B7A733A00D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB42B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D422B7A733A00D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB42B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D432B7A733A00D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB52B7A733100D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D442B7A733A00D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB52B7A733100D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D452B7A733A00D55EF8 /* DBTEAMLOGSfAddGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB62B7A733100D55EF8 /* DBTEAMLOGSfAddGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D462B7A733A00D55EF8 /* DBTEAMLOGSfAddGroupDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB62B7A733100D55EF8 /* DBTEAMLOGSfAddGroupDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D472B7A733A00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB72B7A733100D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D482B7A733A00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB72B7A733100D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D492B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB82B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4A2B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB82B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4B2B7A733A00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB92B7A733100D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4C2B7A733A00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EB92B7A733100D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4D2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBA2B7A733100D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4E2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBA2B7A733100D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D4F2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D502B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D512B7A733A00D55EF8 /* DBTEAMLOGPasswordChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBC2B7A733100D55EF8 /* DBTEAMLOGPasswordChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D522B7A733A00D55EF8 /* DBTEAMLOGPasswordChangeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBC2B7A733100D55EF8 /* DBTEAMLOGPasswordChangeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D532B7A733A00D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBD2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D542B7A733A00D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBD2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D552B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBE2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D562B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBE2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D572B7A733A00D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBF2B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D582B7A733A00D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EBF2B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D592B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC02B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5A2B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC02B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5B2B7A733A00D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC12B7A733100D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5C2B7A733A00D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC12B7A733100D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5D2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC22B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5E2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC22B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D5F2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC32B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D602B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC32B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D612B7A733A00D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC42B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D622B7A733A00D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC42B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D632B7A733A00D55EF8 /* DBTEAMLOGAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC52B7A733100D55EF8 /* DBTEAMLOGAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D642B7A733A00D55EF8 /* DBTEAMLOGAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC52B7A733100D55EF8 /* DBTEAMLOGAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D652B7A733A00D55EF8 /* DBTEAMLOGGroupRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC62B7A733100D55EF8 /* DBTEAMLOGGroupRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D662B7A733A00D55EF8 /* DBTEAMLOGGroupRenameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC62B7A733100D55EF8 /* DBTEAMLOGGroupRenameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D672B7A733A00D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC72B7A733100D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D682B7A733A00D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC72B7A733100D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D692B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC82B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6A2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC82B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6B2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC92B7A733100D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6C2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EC92B7A733100D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6D2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECA2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6E2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECA2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D6F2B7A733A00D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECB2B7A733100D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D702B7A733A00D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECB2B7A733100D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D712B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECC2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D722B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECC2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D732B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECD2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D742B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECD2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D752B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECE2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D762B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECE2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D772B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECF2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D782B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ECF2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D792B7A733A00D55EF8 /* DBTEAMLOGPaperDocDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED02B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7A2B7A733A00D55EF8 /* DBTEAMLOGPaperDocDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED02B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7B2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED12B7A733100D55EF8 /* DBTEAMLOGSharedFolderCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7C2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED12B7A733100D55EF8 /* DBTEAMLOGSharedFolderCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7D2B7A733A00D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7E2B7A733A00D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D7F2B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED32B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D802B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED32B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D812B7A733A00D55EF8 /* DBTEAMLOGQuickActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED42B7A733100D55EF8 /* DBTEAMLOGQuickActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D822B7A733A00D55EF8 /* DBTEAMLOGQuickActionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED42B7A733100D55EF8 /* DBTEAMLOGQuickActionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D832B7A733A00D55EF8 /* DBTEAMLOGLoginMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED52B7A733100D55EF8 /* DBTEAMLOGLoginMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D842B7A733A00D55EF8 /* DBTEAMLOGLoginMethod.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED52B7A733100D55EF8 /* DBTEAMLOGLoginMethod.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D852B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED62B7A733100D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D862B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED62B7A733100D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D872B7A733A00D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED72B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D882B7A733A00D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED72B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D892B7A733A00D55EF8 /* DBTEAMLOGSharedFolderNestType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED82B7A733100D55EF8 /* DBTEAMLOGSharedFolderNestType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8A2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderNestType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED82B7A733100D55EF8 /* DBTEAMLOGSharedFolderNestType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8B2B7A733A00D55EF8 /* DBTEAMLOGFileDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED92B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8C2B7A733A00D55EF8 /* DBTEAMLOGFileDeleteCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0ED92B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8D2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8E2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D8F2B7A733A00D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDB2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D902B7A733A00D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDB2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D912B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D922B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D932B7A733A00D55EF8 /* DBTEAMLOGTeamMergeToDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDD2B7A733100D55EF8 /* DBTEAMLOGTeamMergeToDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D942B7A733A00D55EF8 /* DBTEAMLOGTeamMergeToDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDD2B7A733100D55EF8 /* DBTEAMLOGTeamMergeToDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D952B7A733A00D55EF8 /* DBTEAMLOGPasswordResetAllType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDE2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D962B7A733A00D55EF8 /* DBTEAMLOGPasswordResetAllType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDE2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D972B7A733A00D55EF8 /* DBTEAMLOGFileRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDF2B7A733100D55EF8 /* DBTEAMLOGFileRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D982B7A733A00D55EF8 /* DBTEAMLOGFileRenameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EDF2B7A733100D55EF8 /* DBTEAMLOGFileRenameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D992B7A733A00D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE02B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9A2B7A733A00D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE02B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9B2B7A733A00D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE12B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9C2B7A733A00D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE12B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9D2B7A733A00D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9E2B7A733A00D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1D9F2B7A733A00D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE32B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA02B7A733A00D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE32B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA12B7A733A00D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE42B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA22B7A733A00D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE42B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA32B7A733A00D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE52B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA42B7A733A00D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE52B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA52B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE62B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA62B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE62B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA72B7A733A00D55EF8 /* DBTEAMLOGPaperDocRevertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE72B7A733100D55EF8 /* DBTEAMLOGPaperDocRevertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA82B7A733A00D55EF8 /* DBTEAMLOGPaperDocRevertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE72B7A733100D55EF8 /* DBTEAMLOGPaperDocRevertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DA92B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE82B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAA2B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE82B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE92B7A733100D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EE92B7A733100D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAD2B7A733A00D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEA2B7A733100D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAE2B7A733A00D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEA2B7A733100D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DAF2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEB2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB02B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEB2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB12B7A733A00D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEC2B7A733100D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB22B7A733A00D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEC2B7A733100D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB32B7A733A00D55EF8 /* DBTEAMLOGFileRequestCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EED2B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB42B7A733A00D55EF8 /* DBTEAMLOGFileRequestCreateType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EED2B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB52B7A733A00D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEE2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB62B7A733A00D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEE2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB72B7A733A00D55EF8 /* DBTEAMLOGFedHandshakeAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEF2B7A733200D55EF8 /* DBTEAMLOGFedHandshakeAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB82B7A733A00D55EF8 /* DBTEAMLOGFedHandshakeAction.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EEF2B7A733200D55EF8 /* DBTEAMLOGFedHandshakeAction.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DB92B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF02B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBA2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF02B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBB2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF12B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBC2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF12B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBD2B7A733A00D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF22B7A733200D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBE2B7A733A00D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF22B7A733200D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DBF2B7A733A00D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF32B7A733200D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC02B7A733A00D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF32B7A733200D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC12B7A733A00D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF42B7A733200D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC22B7A733A00D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF42B7A733200D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC32B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF52B7A733200D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC42B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF52B7A733200D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC52B7A733A00D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF62B7A733200D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC62B7A733A00D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF62B7A733200D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC72B7A733A00D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF72B7A733200D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC82B7A733A00D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF72B7A733200D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DC92B7A733A00D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF82B7A733200D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCA2B7A733B00D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF82B7A733200D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCB2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF92B7A733200D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCC2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EF92B7A733200D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCD2B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFA2B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCE2B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFA2B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DCF2B7A733B00D55EF8 /* DBTEAMLOGGetTeamEventsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFB2B7A733200D55EF8 /* DBTEAMLOGGetTeamEventsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD02B7A733B00D55EF8 /* DBTEAMLOGGetTeamEventsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFB2B7A733200D55EF8 /* DBTEAMLOGGetTeamEventsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD12B7A733B00D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFC2B7A733200D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD22B7A733B00D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFC2B7A733200D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD32B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFD2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD42B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFD2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD52B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFE2B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD62B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFE2B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD72B7A733B00D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFF2B7A733200D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD82B7A733B00D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0EFF2B7A733200D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DD92B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F002B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDA2B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F002B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDB2B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F012B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDC2B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F012B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDD2B7A733B00D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F022B7A733200D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDE2B7A733B00D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F022B7A733200D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DDF2B7A733B00D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F032B7A733200D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE02B7A733B00D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F032B7A733200D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE12B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F042B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE22B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F042B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE32B7A733B00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F052B7A733200D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE42B7A733B00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F052B7A733200D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE52B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F062B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE62B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F062B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE72B7A733B00D55EF8 /* DBTEAMLOGLoginFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F072B7A733200D55EF8 /* DBTEAMLOGLoginFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE82B7A733B00D55EF8 /* DBTEAMLOGLoginFailDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F072B7A733200D55EF8 /* DBTEAMLOGLoginFailDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DE92B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F082B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DEA2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F082B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DEB2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F092B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DEC2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F092B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DED2B7A733B00D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0A2B7A733200D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DEE2B7A733B00D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0A2B7A733200D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DEF2B7A733B00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0B2B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF02B7A733B00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0B2B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF12B7A733B00D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0C2B7A733200D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF22B7A733B00D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0C2B7A733200D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF32B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0D2B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF42B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0D2B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF52B7A733B00D55EF8 /* DBTEAMLOGObjectLabelAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0E2B7A733200D55EF8 /* DBTEAMLOGObjectLabelAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF62B7A733B00D55EF8 /* DBTEAMLOGObjectLabelAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0E2B7A733200D55EF8 /* DBTEAMLOGObjectLabelAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF72B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0F2B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF82B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F0F2B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DF92B7A733B00D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F102B7A733200D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFA2B7A733B00D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F102B7A733200D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFB2B7A733B00D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F112B7A733200D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFC2B7A733B00D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F112B7A733200D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFD2B7A733B00D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F122B7A733200D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFE2B7A733B00D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F122B7A733200D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1DFF2B7A733B00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F132B7A733200D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E002B7A733B00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F132B7A733200D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E012B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F142B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E022B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F142B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E032B7A733B00D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F152B7A733200D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E042B7A733B00D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F152B7A733200D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E052B7A733B00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F162B7A733200D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E062B7A733B00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F162B7A733200D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E072B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F172B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E082B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F172B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E092B7A733B00D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F182B7A733200D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0A2B7A733B00D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F182B7A733200D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0B2B7A733B00D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F192B7A733200D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0C2B7A733B00D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F192B7A733200D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0D2B7A733B00D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1A2B7A733200D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0E2B7A733B00D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1A2B7A733200D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E0F2B7A733B00D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1B2B7A733200D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E102B7A733B00D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1B2B7A733200D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E112B7A733B00D55EF8 /* DBTEAMLOGFileDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1C2B7A733200D55EF8 /* DBTEAMLOGFileDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E122B7A733B00D55EF8 /* DBTEAMLOGFileDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1C2B7A733200D55EF8 /* DBTEAMLOGFileDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E132B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1D2B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E142B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1D2B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E152B7A733B00D55EF8 /* DBTEAMLOGSsoAddCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1E2B7A733200D55EF8 /* DBTEAMLOGSsoAddCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E162B7A733B00D55EF8 /* DBTEAMLOGSsoAddCertType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1E2B7A733200D55EF8 /* DBTEAMLOGSsoAddCertType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E172B7A733B00D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1F2B7A733200D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E182B7A733B00D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F1F2B7A733200D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E192B7A733B00D55EF8 /* DBTEAMLOGCertificate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F202B7A733200D55EF8 /* DBTEAMLOGCertificate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1A2B7A733B00D55EF8 /* DBTEAMLOGCertificate.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F202B7A733200D55EF8 /* DBTEAMLOGCertificate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1B2B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F212B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1C2B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F212B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1D2B7A733B00D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F222B7A733200D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1E2B7A733B00D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F222B7A733200D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E1F2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F232B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E202B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F232B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E212B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F242B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E222B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F242B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E232B7A733B00D55EF8 /* DBTEAMLOGFileResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F252B7A733200D55EF8 /* DBTEAMLOGFileResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E242B7A733B00D55EF8 /* DBTEAMLOGFileResolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F252B7A733200D55EF8 /* DBTEAMLOGFileResolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E252B7A733B00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F262B7A733200D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E262B7A733B00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F262B7A733200D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E272B7A733B00D55EF8 /* DBTEAMLOGResellerRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F272B7A733200D55EF8 /* DBTEAMLOGResellerRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E282B7A733B00D55EF8 /* DBTEAMLOGResellerRole.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F272B7A733200D55EF8 /* DBTEAMLOGResellerRole.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E292B7A733B00D55EF8 /* DBTEAMLOGCollectionShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F282B7A733200D55EF8 /* DBTEAMLOGCollectionShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2A2B7A733B00D55EF8 /* DBTEAMLOGCollectionShareDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F282B7A733200D55EF8 /* DBTEAMLOGCollectionShareDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2B2B7A733B00D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F292B7A733200D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2C2B7A733B00D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F292B7A733200D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2D2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2A2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2E2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2A2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E2F2B7A733B00D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2B2B7A733200D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E302B7A733B00D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2B2B7A733200D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E312B7A733B00D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2C2B7A733200D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E322B7A733B00D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2C2B7A733200D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E332B7A733B00D55EF8 /* DBTEAMLOGLoginFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2D2B7A733200D55EF8 /* DBTEAMLOGLoginFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E342B7A733B00D55EF8 /* DBTEAMLOGLoginFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2D2B7A733200D55EF8 /* DBTEAMLOGLoginFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E352B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E362B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E372B7A733B00D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2F2B7A733200D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E382B7A733B00D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F2F2B7A733200D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E392B7A733B00D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F302B7A733200D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3A2B7A733B00D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F302B7A733200D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3B2B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F312B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3C2B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F312B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3D2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F322B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3E2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F322B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E3F2B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F332B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E402B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F332B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E412B7A733B00D55EF8 /* DBTEAMLOGIntegrationConnectedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F342B7A733200D55EF8 /* DBTEAMLOGIntegrationConnectedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E422B7A733B00D55EF8 /* DBTEAMLOGIntegrationConnectedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F342B7A733200D55EF8 /* DBTEAMLOGIntegrationConnectedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E432B7A733B00D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F352B7A733200D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E442B7A733B00D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F352B7A733200D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E452B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F362B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E462B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F362B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E472B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F372B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E482B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F372B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E492B7A733B00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F382B7A733200D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4A2B7A733B00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F382B7A733200D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4B2B7A733B00D55EF8 /* DBTEAMLOGSharedContentUnshareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F392B7A733200D55EF8 /* DBTEAMLOGSharedContentUnshareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4C2B7A733B00D55EF8 /* DBTEAMLOGSharedContentUnshareType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F392B7A733200D55EF8 /* DBTEAMLOGSharedContentUnshareType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4D2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3A2B7A733200D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4E2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3A2B7A733200D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E4F2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3B2B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E502B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3B2B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E512B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3C2B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E522B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3C2B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E532B7A733B00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3D2B7A733200D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E542B7A733B00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3D2B7A733200D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E552B7A733B00D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3E2B7A733200D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E562B7A733B00D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3E2B7A733200D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E572B7A733B00D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3F2B7A733200D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E582B7A733B00D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F3F2B7A733200D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E592B7A733B00D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F402B7A733200D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5A2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F402B7A733200D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5B2B7A733B00D55EF8 /* DBTEAMLOGUserTagsAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F412B7A733200D55EF8 /* DBTEAMLOGUserTagsAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5C2B7A733B00D55EF8 /* DBTEAMLOGUserTagsAddedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F412B7A733200D55EF8 /* DBTEAMLOGUserTagsAddedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5D2B7A733B00D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F422B7A733200D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5E2B7A733B00D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F422B7A733200D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E5F2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F432B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E602B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F432B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E612B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F442B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E622B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F442B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E632B7A733B00D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F452B7A733200D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E642B7A733B00D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F452B7A733200D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E652B7A733B00D55EF8 /* DBTEAMLOGFileCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F462B7A733200D55EF8 /* DBTEAMLOGFileCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E662B7A733B00D55EF8 /* DBTEAMLOGFileCopyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F462B7A733200D55EF8 /* DBTEAMLOGFileCopyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E672B7A733B00D55EF8 /* DBTEAMLOGFileRequestChangeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F472B7A733200D55EF8 /* DBTEAMLOGFileRequestChangeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E682B7A733B00D55EF8 /* DBTEAMLOGFileRequestChangeType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F472B7A733200D55EF8 /* DBTEAMLOGFileRequestChangeType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E692B7A733B00D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F482B7A733200D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6A2B7A733B00D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F482B7A733200D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6B2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F492B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6C2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F492B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6D2B7A733B00D55EF8 /* DBTEAMLOGPaperDownloadFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4A2B7A733200D55EF8 /* DBTEAMLOGPaperDownloadFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6E2B7A733B00D55EF8 /* DBTEAMLOGPaperDownloadFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4A2B7A733200D55EF8 /* DBTEAMLOGPaperDownloadFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E6F2B7A733B00D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4B2B7A733200D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E702B7A733B00D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4B2B7A733200D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E712B7A733B00D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4C2B7A733200D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E722B7A733B00D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4C2B7A733200D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E732B7A733B00D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4D2B7A733200D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E742B7A733B00D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4D2B7A733200D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E752B7A733B00D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4E2B7A733200D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E762B7A733B00D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4E2B7A733200D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E772B7A733B00D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4F2B7A733200D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E782B7A733B00D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F4F2B7A733200D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E792B7A733B00D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F502B7A733200D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7A2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F502B7A733200D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7B2B7A733B00D55EF8 /* DBTEAMLOGTwoAccountPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F512B7A733200D55EF8 /* DBTEAMLOGTwoAccountPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7C2B7A733B00D55EF8 /* DBTEAMLOGTwoAccountPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F512B7A733200D55EF8 /* DBTEAMLOGTwoAccountPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7D2B7A733B00D55EF8 /* DBTEAMLOGMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F522B7A733200D55EF8 /* DBTEAMLOGMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7E2B7A733B00D55EF8 /* DBTEAMLOGMemberStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F522B7A733200D55EF8 /* DBTEAMLOGMemberStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E7F2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F532B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E802B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F532B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E812B7A733B00D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F542B7A733200D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E822B7A733B00D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F542B7A733200D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E832B7A733B00D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F552B7A733200D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E842B7A733B00D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F552B7A733200D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E852B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F562B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E862B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F562B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E872B7A733B00D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F572B7A733200D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E882B7A733B00D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F572B7A733200D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E892B7A733B00D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F582B7A733200D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8A2B7A733B00D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F582B7A733200D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8B2B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F592B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8C2B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F592B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8D2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5A2B7A733200D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8E2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5A2B7A733200D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E8F2B7A733B00D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5B2B7A733200D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E902B7A733B00D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5B2B7A733200D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E912B7A733B00D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5C2B7A733200D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E922B7A733B00D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5C2B7A733200D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E932B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5D2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E942B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5D2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E952B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E962B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E972B7A733B00D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5F2B7A733200D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E982B7A733B00D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F5F2B7A733200D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E992B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F602B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9A2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F602B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9B2B7A733B00D55EF8 /* DBTEAMLOGPathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F612B7A733200D55EF8 /* DBTEAMLOGPathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9C2B7A733B00D55EF8 /* DBTEAMLOGPathLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F612B7A733200D55EF8 /* DBTEAMLOGPathLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9D2B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F622B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9E2B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F622B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1E9F2B7A733B00D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F632B7A733200D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA02B7A733B00D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F632B7A733200D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA12B7A733B00D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F642B7A733200D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA22B7A733B00D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F642B7A733200D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA32B7A733B00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F652B7A733200D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA42B7A733B00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F652B7A733200D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA52B7A733B00D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F662B7A733200D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA62B7A733B00D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F662B7A733200D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA72B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F672B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA82B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F672B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EA92B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F682B7A733200D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAA2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F682B7A733200D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAB2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F692B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAC2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F692B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAD2B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6A2B7A733200D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAE2B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6A2B7A733200D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EAF2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6B2B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB02B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6B2B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB12B7A733B00D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6C2B7A733200D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB22B7A733B00D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6C2B7A733200D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB32B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6D2B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB42B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6D2B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB52B7A733B00D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6E2B7A733200D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB62B7A733B00D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6E2B7A733200D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB72B7A733B00D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6F2B7A733200D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB82B7A733B00D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F6F2B7A733200D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EB92B7A733B00D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F702B7A733200D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBA2B7A733B00D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F702B7A733200D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBB2B7A733B00D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F712B7A733200D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBC2B7A733B00D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F712B7A733200D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBD2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F722B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBE2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F722B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EBF2B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F732B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC02B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F732B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC12B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F742B7A733200D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC22B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F742B7A733200D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC32B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F752B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC42B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F752B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC52B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F762B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC62B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F762B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC72B7A733B00D55EF8 /* DBTEAMLOGPaperContentRestoreType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F772B7A733200D55EF8 /* DBTEAMLOGPaperContentRestoreType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC82B7A733B00D55EF8 /* DBTEAMLOGPaperContentRestoreType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F772B7A733200D55EF8 /* DBTEAMLOGPaperContentRestoreType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EC92B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F782B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECA2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F782B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECB2B7A733B00D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F792B7A733200D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECC2B7A733B00D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F792B7A733200D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECD2B7A733B00D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7A2B7A733200D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECE2B7A733B00D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7A2B7A733200D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ECF2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7B2B7A733200D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED02B7A733B00D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7B2B7A733200D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED12B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7C2B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED22B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7C2B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED32B7A733B00D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7D2B7A733200D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED42B7A733B00D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7D2B7A733200D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED52B7A733B00D55EF8 /* DBTEAMLOGSpaceCapsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7E2B7A733200D55EF8 /* DBTEAMLOGSpaceCapsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED62B7A733B00D55EF8 /* DBTEAMLOGSpaceCapsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7E2B7A733200D55EF8 /* DBTEAMLOGSpaceCapsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED72B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7F2B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED82B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F7F2B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1ED92B7A733B00D55EF8 /* DBTEAMLOGShowcaseTrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F802B7A733200D55EF8 /* DBTEAMLOGShowcaseTrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDA2B7A733B00D55EF8 /* DBTEAMLOGShowcaseTrashedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F802B7A733200D55EF8 /* DBTEAMLOGShowcaseTrashedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDB2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F812B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDC2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F812B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDD2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F822B7A733200D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDE2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F822B7A733200D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EDF2B7A733B00D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F832B7A733200D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE02B7A733B00D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F832B7A733200D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE12B7A733B00D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F842B7A733200D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE22B7A733B00D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F842B7A733200D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE32B7A733B00D55EF8 /* DBTEAMLOGFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F852B7A733200D55EF8 /* DBTEAMLOGFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE42B7A733B00D55EF8 /* DBTEAMLOGFileDeleteDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F852B7A733200D55EF8 /* DBTEAMLOGFileDeleteDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE52B7A733B00D55EF8 /* DBTEAMLOGFileCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F862B7A733200D55EF8 /* DBTEAMLOGFileCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE62B7A733B00D55EF8 /* DBTEAMLOGFileCopyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F862B7A733200D55EF8 /* DBTEAMLOGFileCopyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE72B7A733B00D55EF8 /* DBTEAMLOGSfAddGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F872B7A733200D55EF8 /* DBTEAMLOGSfAddGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE82B7A733B00D55EF8 /* DBTEAMLOGSfAddGroupType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F872B7A733200D55EF8 /* DBTEAMLOGSfAddGroupType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EE92B7A733B00D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F882B7A733200D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EEA2B7A733B00D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F882B7A733200D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EEB2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F892B7A733200D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EEC2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F892B7A733200D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EED2B7A733B00D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8A2B7A733200D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EEE2B7A733B00D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8A2B7A733200D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EEF2B7A733B00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8B2B7A733200D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF02B7A733B00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8B2B7A733200D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF12B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8C2B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF22B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8C2B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF32B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8D2B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF42B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8D2B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF52B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8E2B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF62B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8E2B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF72B7A733B00D55EF8 /* DBTEAMLOGLockStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8F2B7A733200D55EF8 /* DBTEAMLOGLockStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF82B7A733B00D55EF8 /* DBTEAMLOGLockStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F8F2B7A733200D55EF8 /* DBTEAMLOGLockStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EF92B7A733B00D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F902B7A733200D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFA2B7A733B00D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F902B7A733200D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFB2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F912B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFC2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F912B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFD2B7A733B00D55EF8 /* DBTEAMLOGActorLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F922B7A733200D55EF8 /* DBTEAMLOGActorLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFE2B7A733B00D55EF8 /* DBTEAMLOGActorLogInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F922B7A733200D55EF8 /* DBTEAMLOGActorLogInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1EFF2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F932B7A733200D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F002B7A733B00D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F932B7A733200D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F012B7A733B00D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F942B7A733200D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F022B7A733B00D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F942B7A733200D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F032B7A733B00D55EF8 /* DBTEAMLOGMemberAddNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F952B7A733200D55EF8 /* DBTEAMLOGMemberAddNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F042B7A733B00D55EF8 /* DBTEAMLOGMemberAddNameDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F952B7A733200D55EF8 /* DBTEAMLOGMemberAddNameDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F052B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F962B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F062B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F962B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F072B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F972B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F082B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F972B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F092B7A733B00D55EF8 /* DBFilesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0F992B7A733200D55EF8 /* DBFilesObjects.m */; }; + F99E1F0A2B7A733B00D55EF8 /* DBFilesObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E0F992B7A733200D55EF8 /* DBFilesObjects.m */; }; + F99E1F0B2B7A733B00D55EF8 /* DBFILESThumbnailError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9B2B7A733200D55EF8 /* DBFILESThumbnailError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F0C2B7A733B00D55EF8 /* DBFILESThumbnailError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9B2B7A733200D55EF8 /* DBFILESThumbnailError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F0D2B7A733B00D55EF8 /* DBFILESRelocationBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9C2B7A733200D55EF8 /* DBFILESRelocationBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F0E2B7A733B00D55EF8 /* DBFILESRelocationBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9C2B7A733200D55EF8 /* DBFILESRelocationBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F0F2B7A733B00D55EF8 /* DBFILESRestoreError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9D2B7A733200D55EF8 /* DBFILESRestoreError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F102B7A733B00D55EF8 /* DBFILESRestoreError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9D2B7A733200D55EF8 /* DBFILESRestoreError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F112B7A733B00D55EF8 /* DBFILESSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9E2B7A733200D55EF8 /* DBFILESSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F122B7A733B00D55EF8 /* DBFILESSearchMatch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9E2B7A733200D55EF8 /* DBFILESSearchMatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F132B7A733B00D55EF8 /* DBFILESUploadWriteFailed.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9F2B7A733200D55EF8 /* DBFILESUploadWriteFailed.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F142B7A733B00D55EF8 /* DBFILESUploadWriteFailed.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0F9F2B7A733200D55EF8 /* DBFILESUploadWriteFailed.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F152B7A733B00D55EF8 /* DBFILESDownloadZipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA02B7A733200D55EF8 /* DBFILESDownloadZipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F162B7A733B00D55EF8 /* DBFILESDownloadZipArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA02B7A733200D55EF8 /* DBFILESDownloadZipArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F172B7A733B00D55EF8 /* DBFILESLockFileResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA12B7A733200D55EF8 /* DBFILESLockFileResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F182B7A733B00D55EF8 /* DBFILESLockFileResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA12B7A733200D55EF8 /* DBFILESLockFileResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F192B7A733C00D55EF8 /* DBFILESGetTemporaryLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA22B7A733200D55EF8 /* DBFILESGetTemporaryLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1A2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA22B7A733200D55EF8 /* DBFILESGetTemporaryLinkError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1B2B7A733C00D55EF8 /* DBFILESImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA32B7A733200D55EF8 /* DBFILESImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1C2B7A733C00D55EF8 /* DBFILESImportFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA32B7A733200D55EF8 /* DBFILESImportFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1D2B7A733C00D55EF8 /* DBFILESMetadataV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA42B7A733200D55EF8 /* DBFILESMetadataV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1E2B7A733C00D55EF8 /* DBFILESMetadataV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA42B7A733200D55EF8 /* DBFILESMetadataV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F1F2B7A733C00D55EF8 /* DBFILESDeleteBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA52B7A733200D55EF8 /* DBFILESDeleteBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F202B7A733C00D55EF8 /* DBFILESDeleteBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA52B7A733200D55EF8 /* DBFILESDeleteBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F212B7A733C00D55EF8 /* DBFILESSymlinkInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA62B7A733200D55EF8 /* DBFILESSymlinkInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F222B7A733C00D55EF8 /* DBFILESSymlinkInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA62B7A733200D55EF8 /* DBFILESSymlinkInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F232B7A733C00D55EF8 /* DBFILESThumbnailFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA72B7A733200D55EF8 /* DBFILESThumbnailFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F242B7A733C00D55EF8 /* DBFILESThumbnailFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA72B7A733200D55EF8 /* DBFILESThumbnailFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F252B7A733C00D55EF8 /* DBFILESListRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA82B7A733200D55EF8 /* DBFILESListRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F262B7A733C00D55EF8 /* DBFILESListRevisionsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA82B7A733200D55EF8 /* DBFILESListRevisionsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F272B7A733C00D55EF8 /* DBFILESGetThumbnailBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA92B7A733200D55EF8 /* DBFILESGetThumbnailBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F282B7A733C00D55EF8 /* DBFILESGetThumbnailBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FA92B7A733200D55EF8 /* DBFILESGetThumbnailBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F292B7A733C00D55EF8 /* DBFILESGetCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAA2B7A733200D55EF8 /* DBFILESGetCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2A2B7A733C00D55EF8 /* DBFILESGetCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAA2B7A733200D55EF8 /* DBFILESGetCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2B2B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAB2B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2C2B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAB2B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2D2B7A733C00D55EF8 /* DBFILESSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAC2B7A733200D55EF8 /* DBFILESSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2E2B7A733C00D55EF8 /* DBFILESSearchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAC2B7A733200D55EF8 /* DBFILESSearchMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F2F2B7A733C00D55EF8 /* DBFILESRelocationPath.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAD2B7A733200D55EF8 /* DBFILESRelocationPath.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F302B7A733C00D55EF8 /* DBFILESRelocationPath.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAD2B7A733200D55EF8 /* DBFILESRelocationPath.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F312B7A733C00D55EF8 /* DBFILESLockFileResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAE2B7A733200D55EF8 /* DBFILESLockFileResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F322B7A733C00D55EF8 /* DBFILESLockFileResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAE2B7A733200D55EF8 /* DBFILESLockFileResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F332B7A733C00D55EF8 /* DBFILESListFolderLongpollResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAF2B7A733200D55EF8 /* DBFILESListFolderLongpollResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F342B7A733C00D55EF8 /* DBFILESListFolderLongpollResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FAF2B7A733200D55EF8 /* DBFILESListFolderLongpollResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F352B7A733C00D55EF8 /* DBFILESFolderSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB02B7A733200D55EF8 /* DBFILESFolderSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F362B7A733C00D55EF8 /* DBFILESFolderSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB02B7A733200D55EF8 /* DBFILESFolderSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F372B7A733C00D55EF8 /* DBFILESSaveUrlError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB12B7A733200D55EF8 /* DBFILESSaveUrlError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F382B7A733C00D55EF8 /* DBFILESSaveUrlError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB12B7A733200D55EF8 /* DBFILESSaveUrlError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F392B7A733C00D55EF8 /* DBFILESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB22B7A733200D55EF8 /* DBFILESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3A2B7A733C00D55EF8 /* DBFILESLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB22B7A733200D55EF8 /* DBFILESLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3B2B7A733C00D55EF8 /* DBFILESTag.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB32B7A733200D55EF8 /* DBFILESTag.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3C2B7A733C00D55EF8 /* DBFILESTag.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB32B7A733200D55EF8 /* DBFILESTag.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3D2B7A733C00D55EF8 /* DBFILESGetTagsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB42B7A733200D55EF8 /* DBFILESGetTagsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3E2B7A733C00D55EF8 /* DBFILESGetTagsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB42B7A733200D55EF8 /* DBFILESGetTagsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F3F2B7A733C00D55EF8 /* DBFILESListFolderLongpollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB52B7A733200D55EF8 /* DBFILESListFolderLongpollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F402B7A733C00D55EF8 /* DBFILESListFolderLongpollError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB52B7A733200D55EF8 /* DBFILESListFolderLongpollError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F412B7A733C00D55EF8 /* DBFILESCreateFolderBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB62B7A733200D55EF8 /* DBFILESCreateFolderBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F422B7A733C00D55EF8 /* DBFILESCreateFolderBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB62B7A733200D55EF8 /* DBFILESCreateFolderBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F432B7A733C00D55EF8 /* DBFILESSearchMatchTypeV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB72B7A733200D55EF8 /* DBFILESSearchMatchTypeV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F442B7A733C00D55EF8 /* DBFILESSearchMatchTypeV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB72B7A733200D55EF8 /* DBFILESSearchMatchTypeV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F452B7A733C00D55EF8 /* DBFILESMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB82B7A733200D55EF8 /* DBFILESMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F462B7A733C00D55EF8 /* DBFILESMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB82B7A733200D55EF8 /* DBFILESMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F472B7A733C00D55EF8 /* DBFILESPaperUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB92B7A733200D55EF8 /* DBFILESPaperUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F482B7A733C00D55EF8 /* DBFILESPaperUpdateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FB92B7A733200D55EF8 /* DBFILESPaperUpdateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F492B7A733C00D55EF8 /* DBFILESRemoveTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBA2B7A733200D55EF8 /* DBFILESRemoveTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4A2B7A733C00D55EF8 /* DBFILESRemoveTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBA2B7A733200D55EF8 /* DBFILESRemoveTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4B2B7A733C00D55EF8 /* DBFILESDeletedMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBB2B7A733200D55EF8 /* DBFILESDeletedMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4C2B7A733C00D55EF8 /* DBFILESDeletedMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBB2B7A733200D55EF8 /* DBFILESDeletedMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4D2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4E2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F4F2B7A733C00D55EF8 /* DBFILESWriteMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBD2B7A733200D55EF8 /* DBFILESWriteMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F502B7A733C00D55EF8 /* DBFILESWriteMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBD2B7A733200D55EF8 /* DBFILESWriteMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F512B7A733C00D55EF8 /* DBFILESUnlockFileBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBE2B7A733200D55EF8 /* DBFILESUnlockFileBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F522B7A733C00D55EF8 /* DBFILESUnlockFileBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBE2B7A733200D55EF8 /* DBFILESUnlockFileBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F532B7A733C00D55EF8 /* DBFILESSaveUrlArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBF2B7A733200D55EF8 /* DBFILESSaveUrlArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F542B7A733C00D55EF8 /* DBFILESSaveUrlArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FBF2B7A733200D55EF8 /* DBFILESSaveUrlArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F552B7A733C00D55EF8 /* DBFILESGetTagsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC02B7A733200D55EF8 /* DBFILESGetTagsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F562B7A733C00D55EF8 /* DBFILESGetTagsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC02B7A733200D55EF8 /* DBFILESGetTagsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F572B7A733C00D55EF8 /* DBFILESGetTemporaryLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC12B7A733200D55EF8 /* DBFILESGetTemporaryLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F582B7A733C00D55EF8 /* DBFILESGetTemporaryLinkArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC12B7A733200D55EF8 /* DBFILESGetTemporaryLinkArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F592B7A733C00D55EF8 /* DBFILESMoveIntoVaultError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC22B7A733200D55EF8 /* DBFILESMoveIntoVaultError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5A2B7A733C00D55EF8 /* DBFILESMoveIntoVaultError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC22B7A733200D55EF8 /* DBFILESMoveIntoVaultError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5B2B7A733C00D55EF8 /* DBFILESPathToTags.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC32B7A733200D55EF8 /* DBFILESPathToTags.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5C2B7A733C00D55EF8 /* DBFILESPathToTags.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC32B7A733200D55EF8 /* DBFILESPathToTags.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5D2B7A733C00D55EF8 /* DBFILESGpsCoordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC42B7A733200D55EF8 /* DBFILESGpsCoordinates.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5E2B7A733C00D55EF8 /* DBFILESGpsCoordinates.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC42B7A733200D55EF8 /* DBFILESGpsCoordinates.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F5F2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC52B7A733200D55EF8 /* DBFILESGetThumbnailBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F602B7A733C00D55EF8 /* DBFILESGetThumbnailBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC52B7A733200D55EF8 /* DBFILESGetThumbnailBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F612B7A733C00D55EF8 /* DBFILESCreateFolderBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC62B7A733200D55EF8 /* DBFILESCreateFolderBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F622B7A733C00D55EF8 /* DBFILESCreateFolderBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC62B7A733200D55EF8 /* DBFILESCreateFolderBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F632B7A733C00D55EF8 /* DBFILESPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC72B7A733200D55EF8 /* DBFILESPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F642B7A733C00D55EF8 /* DBFILESPaperDocUpdatePolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC72B7A733200D55EF8 /* DBFILESPaperDocUpdatePolicy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F652B7A733C00D55EF8 /* DBFILESVideoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC82B7A733200D55EF8 /* DBFILESVideoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F662B7A733C00D55EF8 /* DBFILESVideoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC82B7A733200D55EF8 /* DBFILESVideoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F672B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC92B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F682B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FC92B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F692B7A733C00D55EF8 /* DBFILESFileLockMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCA2B7A733200D55EF8 /* DBFILESFileLockMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6A2B7A733C00D55EF8 /* DBFILESFileLockMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCA2B7A733200D55EF8 /* DBFILESFileLockMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6B2B7A733C00D55EF8 /* DBFILESRelocationBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCB2B7A733200D55EF8 /* DBFILESRelocationBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6C2B7A733C00D55EF8 /* DBFILESRelocationBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCB2B7A733200D55EF8 /* DBFILESRelocationBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6D2B7A733C00D55EF8 /* DBFILESUserGeneratedTag.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCC2B7A733200D55EF8 /* DBFILESUserGeneratedTag.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6E2B7A733C00D55EF8 /* DBFILESUserGeneratedTag.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCC2B7A733200D55EF8 /* DBFILESUserGeneratedTag.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F6F2B7A733C00D55EF8 /* DBFILESExportMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCD2B7A733200D55EF8 /* DBFILESExportMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F702B7A733C00D55EF8 /* DBFILESExportMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCD2B7A733200D55EF8 /* DBFILESExportMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F712B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCE2B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F722B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCE2B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F732B7A733C00D55EF8 /* DBFILESRelocationArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCF2B7A733200D55EF8 /* DBFILESRelocationArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F742B7A733C00D55EF8 /* DBFILESRelocationArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FCF2B7A733200D55EF8 /* DBFILESRelocationArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F752B7A733C00D55EF8 /* DBFILESPaperUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD02B7A733200D55EF8 /* DBFILESPaperUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F762B7A733C00D55EF8 /* DBFILESPaperUpdateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD02B7A733200D55EF8 /* DBFILESPaperUpdateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F772B7A733C00D55EF8 /* DBFILESSyncSettingArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD12B7A733200D55EF8 /* DBFILESSyncSettingArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F782B7A733C00D55EF8 /* DBFILESSyncSettingArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD12B7A733200D55EF8 /* DBFILESSyncSettingArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F792B7A733C00D55EF8 /* DBFILESRelocationBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD22B7A733200D55EF8 /* DBFILESRelocationBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7A2B7A733C00D55EF8 /* DBFILESRelocationBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD22B7A733200D55EF8 /* DBFILESRelocationBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7B2B7A733C00D55EF8 /* DBFILESSearchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD32B7A733200D55EF8 /* DBFILESSearchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7C2B7A733C00D55EF8 /* DBFILESSearchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD32B7A733200D55EF8 /* DBFILESSearchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7D2B7A733C00D55EF8 /* DBFILESPreviewResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD42B7A733200D55EF8 /* DBFILESPreviewResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7E2B7A733C00D55EF8 /* DBFILESPreviewResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD42B7A733200D55EF8 /* DBFILESPreviewResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F7F2B7A733C00D55EF8 /* DBFILESRemoveTagArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD52B7A733200D55EF8 /* DBFILESRemoveTagArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F802B7A733C00D55EF8 /* DBFILESRemoveTagArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD52B7A733200D55EF8 /* DBFILESRemoveTagArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F812B7A733C00D55EF8 /* DBFILESPhotoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD62B7A733200D55EF8 /* DBFILESPhotoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F822B7A733C00D55EF8 /* DBFILESPhotoMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD62B7A733200D55EF8 /* DBFILESPhotoMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F832B7A733C00D55EF8 /* DBFILESUploadSessionCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD72B7A733200D55EF8 /* DBFILESUploadSessionCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F842B7A733C00D55EF8 /* DBFILESUploadSessionCursor.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD72B7A733200D55EF8 /* DBFILESUploadSessionCursor.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F852B7A733C00D55EF8 /* DBFILESSearchOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD82B7A733200D55EF8 /* DBFILESSearchOptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F862B7A733C00D55EF8 /* DBFILESSearchOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD82B7A733200D55EF8 /* DBFILESSearchOptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F872B7A733C00D55EF8 /* DBFILESGetCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD92B7A733200D55EF8 /* DBFILESGetCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F882B7A733C00D55EF8 /* DBFILESGetCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FD92B7A733200D55EF8 /* DBFILESGetCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F892B7A733C00D55EF8 /* DBFILESThumbnailV2Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDA2B7A733200D55EF8 /* DBFILESThumbnailV2Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8A2B7A733C00D55EF8 /* DBFILESThumbnailV2Error.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDA2B7A733200D55EF8 /* DBFILESThumbnailV2Error.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8B2B7A733C00D55EF8 /* DBFILESPreviewArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDB2B7A733200D55EF8 /* DBFILESPreviewArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8C2B7A733C00D55EF8 /* DBFILESPreviewArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDB2B7A733200D55EF8 /* DBFILESPreviewArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8D2B7A733C00D55EF8 /* DBFILESDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDC2B7A733200D55EF8 /* DBFILESDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8E2B7A733C00D55EF8 /* DBFILESDeleteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDC2B7A733200D55EF8 /* DBFILESDeleteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F8F2B7A733C00D55EF8 /* DBFILESRelocationBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDD2B7A733200D55EF8 /* DBFILESRelocationBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F902B7A733C00D55EF8 /* DBFILESRelocationBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDD2B7A733200D55EF8 /* DBFILESRelocationBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F912B7A733C00D55EF8 /* DBFILESListRevisionsMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDE2B7A733200D55EF8 /* DBFILESListRevisionsMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F922B7A733C00D55EF8 /* DBFILESListRevisionsMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDE2B7A733200D55EF8 /* DBFILESListRevisionsMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F932B7A733C00D55EF8 /* DBFILESDeleteBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDF2B7A733200D55EF8 /* DBFILESDeleteBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F942B7A733C00D55EF8 /* DBFILESDeleteBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FDF2B7A733200D55EF8 /* DBFILESDeleteBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F952B7A733C00D55EF8 /* DBFILESSaveCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE02B7A733200D55EF8 /* DBFILESSaveCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F962B7A733C00D55EF8 /* DBFILESSaveCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE02B7A733200D55EF8 /* DBFILESSaveCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F972B7A733C00D55EF8 /* DBFILESPaperCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE12B7A733200D55EF8 /* DBFILESPaperCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F982B7A733C00D55EF8 /* DBFILESPaperCreateError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE12B7A733200D55EF8 /* DBFILESPaperCreateError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F992B7A733C00D55EF8 /* DBFILESPaperContentError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE22B7A733200D55EF8 /* DBFILESPaperContentError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9A2B7A733C00D55EF8 /* DBFILESPaperContentError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE22B7A733200D55EF8 /* DBFILESPaperContentError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9B2B7A733C00D55EF8 /* DBFILESCreateFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE32B7A733200D55EF8 /* DBFILESCreateFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9C2B7A733C00D55EF8 /* DBFILESCreateFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE32B7A733200D55EF8 /* DBFILESCreateFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9D2B7A733C00D55EF8 /* DBFILESListFolderLongpollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE42B7A733200D55EF8 /* DBFILESListFolderLongpollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9E2B7A733C00D55EF8 /* DBFILESListFolderLongpollArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE42B7A733200D55EF8 /* DBFILESListFolderLongpollArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1F9F2B7A733C00D55EF8 /* DBFILESRelocationBatchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE52B7A733200D55EF8 /* DBFILESRelocationBatchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA02B7A733C00D55EF8 /* DBFILESRelocationBatchV2Result.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE52B7A733200D55EF8 /* DBFILESRelocationBatchV2Result.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA12B7A733C00D55EF8 /* DBFILESLockConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE62B7A733200D55EF8 /* DBFILESLockConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA22B7A733C00D55EF8 /* DBFILESLockConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE62B7A733200D55EF8 /* DBFILESLockConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA32B7A733C00D55EF8 /* DBFILESDownloadZipResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE72B7A733200D55EF8 /* DBFILESDownloadZipResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA42B7A733C00D55EF8 /* DBFILESDownloadZipResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE72B7A733200D55EF8 /* DBFILESDownloadZipResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA52B7A733C00D55EF8 /* DBFILESMoveBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE82B7A733200D55EF8 /* DBFILESMoveBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA62B7A733C00D55EF8 /* DBFILESMoveBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE82B7A733200D55EF8 /* DBFILESMoveBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA72B7A733C00D55EF8 /* DBFILESListFolderGetLatestCursorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE92B7A733200D55EF8 /* DBFILESListFolderGetLatestCursorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA82B7A733C00D55EF8 /* DBFILESListFolderGetLatestCursorResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FE92B7A733200D55EF8 /* DBFILESListFolderGetLatestCursorResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FA92B7A733C00D55EF8 /* DBFILESFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEA2B7A733200D55EF8 /* DBFILESFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAA2B7A733C00D55EF8 /* DBFILESFolderMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEA2B7A733200D55EF8 /* DBFILESFolderMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAB2B7A733C00D55EF8 /* DBFILESUploadSessionStartArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEB2B7A733200D55EF8 /* DBFILESUploadSessionStartArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAC2B7A733C00D55EF8 /* DBFILESUploadSessionStartArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEB2B7A733200D55EF8 /* DBFILESUploadSessionStartArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAD2B7A733C00D55EF8 /* DBFILESMediaMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEC2B7A733200D55EF8 /* DBFILESMediaMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAE2B7A733C00D55EF8 /* DBFILESMediaMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEC2B7A733200D55EF8 /* DBFILESMediaMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FAF2B7A733C00D55EF8 /* DBFILESCreateFolderBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FED2B7A733200D55EF8 /* DBFILESCreateFolderBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB02B7A733C00D55EF8 /* DBFILESCreateFolderBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FED2B7A733200D55EF8 /* DBFILESCreateFolderBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB12B7A733C00D55EF8 /* DBFILESRelocationBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEE2B7A733200D55EF8 /* DBFILESRelocationBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB22B7A733C00D55EF8 /* DBFILESRelocationBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEE2B7A733200D55EF8 /* DBFILESRelocationBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB32B7A733C00D55EF8 /* DBFILESCreateFolderEntryResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEF2B7A733200D55EF8 /* DBFILESCreateFolderEntryResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB42B7A733C00D55EF8 /* DBFILESCreateFolderEntryResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FEF2B7A733200D55EF8 /* DBFILESCreateFolderEntryResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB52B7A733C00D55EF8 /* DBFILESFileOpsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF02B7A733200D55EF8 /* DBFILESFileOpsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB62B7A733C00D55EF8 /* DBFILESFileOpsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF02B7A733200D55EF8 /* DBFILESFileOpsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB72B7A733C00D55EF8 /* DBFILESRelocationBatchV2JobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF12B7A733200D55EF8 /* DBFILESRelocationBatchV2JobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB82B7A733C00D55EF8 /* DBFILESRelocationBatchV2JobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF12B7A733200D55EF8 /* DBFILESRelocationBatchV2JobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FB92B7A733C00D55EF8 /* DBFILESDeleteBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF22B7A733200D55EF8 /* DBFILESDeleteBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBA2B7A733C00D55EF8 /* DBFILESDeleteBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF22B7A733200D55EF8 /* DBFILESDeleteBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBB2B7A733C00D55EF8 /* DBFILESWriteConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF32B7A733200D55EF8 /* DBFILESWriteConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBC2B7A733C00D55EF8 /* DBFILESWriteConflictError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF32B7A733200D55EF8 /* DBFILESWriteConflictError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBD2B7A733C00D55EF8 /* DBFILESFileCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF42B7A733200D55EF8 /* DBFILESFileCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBE2B7A733C00D55EF8 /* DBFILESFileCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF42B7A733200D55EF8 /* DBFILESFileCategory.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FBF2B7A733C00D55EF8 /* DBFILESContentSyncSettingArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF52B7A733200D55EF8 /* DBFILESContentSyncSettingArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC02B7A733C00D55EF8 /* DBFILESContentSyncSettingArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF52B7A733200D55EF8 /* DBFILESContentSyncSettingArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC12B7A733C00D55EF8 /* DBFILESLockFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF62B7A733200D55EF8 /* DBFILESLockFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC22B7A733C00D55EF8 /* DBFILESLockFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF62B7A733200D55EF8 /* DBFILESLockFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC32B7A733C00D55EF8 /* DBFILESMediaInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF72B7A733200D55EF8 /* DBFILESMediaInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC42B7A733C00D55EF8 /* DBFILESMediaInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF72B7A733200D55EF8 /* DBFILESMediaInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC52B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF82B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC62B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF82B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC72B7A733C00D55EF8 /* DBFILESRelocationError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF92B7A733200D55EF8 /* DBFILESRelocationError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC82B7A733C00D55EF8 /* DBFILESRelocationError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FF92B7A733200D55EF8 /* DBFILESRelocationError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FC92B7A733C00D55EF8 /* DBFILESThumbnailV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFA2B7A733200D55EF8 /* DBFILESThumbnailV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCA2B7A733C00D55EF8 /* DBFILESThumbnailV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFA2B7A733200D55EF8 /* DBFILESThumbnailV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCB2B7A733C00D55EF8 /* DBFILESListRevisionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFB2B7A733200D55EF8 /* DBFILESListRevisionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCC2B7A733C00D55EF8 /* DBFILESListRevisionsResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFB2B7A733200D55EF8 /* DBFILESListRevisionsResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCD2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCE2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FCF2B7A733C00D55EF8 /* DBFILESUploadSessionAppendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFD2B7A733200D55EF8 /* DBFILESUploadSessionAppendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD02B7A733C00D55EF8 /* DBFILESUploadSessionAppendError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFD2B7A733200D55EF8 /* DBFILESUploadSessionAppendError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD12B7A733C00D55EF8 /* DBFILESUploadSessionLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFE2B7A733200D55EF8 /* DBFILESUploadSessionLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD22B7A733C00D55EF8 /* DBFILESUploadSessionLookupError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFE2B7A733200D55EF8 /* DBFILESUploadSessionLookupError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD32B7A733C00D55EF8 /* DBFILESListFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFF2B7A733200D55EF8 /* DBFILESListFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD42B7A733C00D55EF8 /* DBFILESListFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E0FFF2B7A733200D55EF8 /* DBFILESListFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD52B7A733C00D55EF8 /* DBFILESThumbnailSize.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10002B7A733200D55EF8 /* DBFILESThumbnailSize.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD62B7A733C00D55EF8 /* DBFILESThumbnailSize.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10002B7A733200D55EF8 /* DBFILESThumbnailSize.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD72B7A733C00D55EF8 /* DBFILESSyncSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10012B7A733200D55EF8 /* DBFILESSyncSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD82B7A733C00D55EF8 /* DBFILESSyncSettingsError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10012B7A733200D55EF8 /* DBFILESSyncSettingsError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FD92B7A733C00D55EF8 /* DBFILESUploadSessionAppendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10022B7A733200D55EF8 /* DBFILESUploadSessionAppendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDA2B7A733C00D55EF8 /* DBFILESUploadSessionAppendArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10022B7A733200D55EF8 /* DBFILESUploadSessionAppendArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDB2B7A733C00D55EF8 /* DBFILESRelocationResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10032B7A733200D55EF8 /* DBFILESRelocationResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDC2B7A733C00D55EF8 /* DBFILESRelocationResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10032B7A733200D55EF8 /* DBFILESRelocationResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDD2B7A733C00D55EF8 /* DBFILESRelocationBatchErrorEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10042B7A733200D55EF8 /* DBFILESRelocationBatchErrorEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDE2B7A733C00D55EF8 /* DBFILESRelocationBatchErrorEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10042B7A733200D55EF8 /* DBFILESRelocationBatchErrorEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FDF2B7A733C00D55EF8 /* DBFILESListRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10052B7A733200D55EF8 /* DBFILESListRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE02B7A733C00D55EF8 /* DBFILESListRevisionsArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10052B7A733200D55EF8 /* DBFILESListRevisionsArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE12B7A733C00D55EF8 /* DBFILESUnlockFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10062B7A733200D55EF8 /* DBFILESUnlockFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE22B7A733C00D55EF8 /* DBFILESUnlockFileArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10062B7A733200D55EF8 /* DBFILESUnlockFileArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE32B7A733C00D55EF8 /* DBFILESListFolderContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10072B7A733200D55EF8 /* DBFILESListFolderContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE42B7A733C00D55EF8 /* DBFILESListFolderContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10072B7A733200D55EF8 /* DBFILESListFolderContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE52B7A733C00D55EF8 /* DBFILESDeleteBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10082B7A733200D55EF8 /* DBFILESDeleteBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE62B7A733C00D55EF8 /* DBFILESDeleteBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10082B7A733200D55EF8 /* DBFILESDeleteBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE72B7A733C00D55EF8 /* DBFILESListFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10092B7A733200D55EF8 /* DBFILESListFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE82B7A733C00D55EF8 /* DBFILESListFolderError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10092B7A733200D55EF8 /* DBFILESListFolderError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FE92B7A733C00D55EF8 /* DBFILESSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100A2B7A733200D55EF8 /* DBFILESSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FEA2B7A733C00D55EF8 /* DBFILESSearchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100A2B7A733200D55EF8 /* DBFILESSearchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FEB2B7A733C00D55EF8 /* DBFILESUploadSessionFinishError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100B2B7A733200D55EF8 /* DBFILESUploadSessionFinishError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FEC2B7A733C00D55EF8 /* DBFILESUploadSessionFinishError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100B2B7A733200D55EF8 /* DBFILESUploadSessionFinishError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FED2B7A733C00D55EF8 /* DBFILESExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100C2B7A733200D55EF8 /* DBFILESExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FEE2B7A733C00D55EF8 /* DBFILESExportResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100C2B7A733200D55EF8 /* DBFILESExportResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FEF2B7A733C00D55EF8 /* DBFILESGetCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100D2B7A733200D55EF8 /* DBFILESGetCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF02B7A733C00D55EF8 /* DBFILESGetCopyReferenceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100D2B7A733200D55EF8 /* DBFILESGetCopyReferenceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF12B7A733C00D55EF8 /* DBFILESContentSyncSetting.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100E2B7A733200D55EF8 /* DBFILESContentSyncSetting.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF22B7A733C00D55EF8 /* DBFILESContentSyncSetting.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100E2B7A733200D55EF8 /* DBFILESContentSyncSetting.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF32B7A733C00D55EF8 /* DBFILESFileLockContent.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100F2B7A733200D55EF8 /* DBFILESFileLockContent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF42B7A733C00D55EF8 /* DBFILESFileLockContent.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E100F2B7A733200D55EF8 /* DBFILESFileLockContent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF52B7A733C00D55EF8 /* DBFILESHighlightSpan.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10102B7A733200D55EF8 /* DBFILESHighlightSpan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF62B7A733C00D55EF8 /* DBFILESHighlightSpan.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10102B7A733200D55EF8 /* DBFILESHighlightSpan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF72B7A733C00D55EF8 /* DBFILESDimensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10112B7A733200D55EF8 /* DBFILESDimensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF82B7A733C00D55EF8 /* DBFILESDimensions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10112B7A733200D55EF8 /* DBFILESDimensions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FF92B7A733C00D55EF8 /* DBFILESRelocationBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10122B7A733200D55EF8 /* DBFILESRelocationBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFA2B7A733C00D55EF8 /* DBFILESRelocationBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10122B7A733200D55EF8 /* DBFILESRelocationBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFB2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10132B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFC2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10132B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFD2B7A733C00D55EF8 /* DBFILESUploadSessionStartResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10142B7A733200D55EF8 /* DBFILESUploadSessionStartResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFE2B7A733C00D55EF8 /* DBFILESUploadSessionStartResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10142B7A733200D55EF8 /* DBFILESUploadSessionStartResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E1FFF2B7A733C00D55EF8 /* DBFILESListFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10152B7A733200D55EF8 /* DBFILESListFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20002B7A733C00D55EF8 /* DBFILESListFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10152B7A733200D55EF8 /* DBFILESListFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20012B7A733C00D55EF8 /* DBFILESSaveUrlResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10162B7A733200D55EF8 /* DBFILESSaveUrlResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20022B7A733C00D55EF8 /* DBFILESSaveUrlResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10162B7A733200D55EF8 /* DBFILESSaveUrlResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20032B7A733C00D55EF8 /* DBFILESPreviewError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10172B7A733200D55EF8 /* DBFILESPreviewError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20042B7A733C00D55EF8 /* DBFILESPreviewError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10172B7A733200D55EF8 /* DBFILESPreviewError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20052B7A733C00D55EF8 /* DBFILESLockFileBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10182B7A733200D55EF8 /* DBFILESLockFileBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20062B7A733C00D55EF8 /* DBFILESLockFileBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10182B7A733200D55EF8 /* DBFILESLockFileBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20072B7A733C00D55EF8 /* DBFILESPaperUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10192B7A733200D55EF8 /* DBFILESPaperUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20082B7A733C00D55EF8 /* DBFILESPaperUpdateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10192B7A733200D55EF8 /* DBFILESPaperUpdateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20092B7A733C00D55EF8 /* DBFILESSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101A2B7A733200D55EF8 /* DBFILESSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200A2B7A733C00D55EF8 /* DBFILESSearchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101A2B7A733200D55EF8 /* DBFILESSearchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200B2B7A733C00D55EF8 /* DBFILESSearchOrderBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101B2B7A733200D55EF8 /* DBFILESSearchOrderBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200C2B7A733C00D55EF8 /* DBFILESSearchOrderBy.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101B2B7A733200D55EF8 /* DBFILESSearchOrderBy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200D2B7A733C00D55EF8 /* DBFILESFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101C2B7A733200D55EF8 /* DBFILESFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200E2B7A733C00D55EF8 /* DBFILESFileMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101C2B7A733200D55EF8 /* DBFILESFileMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E200F2B7A733C00D55EF8 /* DBFILESUploadSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101D2B7A733200D55EF8 /* DBFILESUploadSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20102B7A733C00D55EF8 /* DBFILESUploadSessionType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101D2B7A733200D55EF8 /* DBFILESUploadSessionType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20112B7A733C00D55EF8 /* DBFILESDownloadZipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101E2B7A733200D55EF8 /* DBFILESDownloadZipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20122B7A733C00D55EF8 /* DBFILESDownloadZipError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101E2B7A733200D55EF8 /* DBFILESDownloadZipError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20132B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101F2B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20142B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultData.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E101F2B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20152B7A733C00D55EF8 /* DBFILESSaveCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10202B7A733200D55EF8 /* DBFILESSaveCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20162B7A733C00D55EF8 /* DBFILESSaveCopyReferenceError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10202B7A733200D55EF8 /* DBFILESSaveCopyReferenceError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20172B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10212B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20182B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10212B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20192B7A733C00D55EF8 /* DBFILESMinimalFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10222B7A733200D55EF8 /* DBFILESMinimalFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201A2B7A733C00D55EF8 /* DBFILESMinimalFileLinkMetadata.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10222B7A733200D55EF8 /* DBFILESMinimalFileLinkMetadata.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201B2B7A733C00D55EF8 /* DBFILESLockFileBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10232B7A733200D55EF8 /* DBFILESLockFileBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201C2B7A733C00D55EF8 /* DBFILESLockFileBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10232B7A733200D55EF8 /* DBFILESLockFileBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201D2B7A733C00D55EF8 /* DBFILESUploadSessionStartError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10242B7A733200D55EF8 /* DBFILESUploadSessionStartError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201E2B7A733C00D55EF8 /* DBFILESUploadSessionStartError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10242B7A733200D55EF8 /* DBFILESUploadSessionStartError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E201F2B7A733C00D55EF8 /* DBFILESRestoreArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10252B7A733200D55EF8 /* DBFILESRestoreArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20202B7A733C00D55EF8 /* DBFILESRestoreArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10252B7A733200D55EF8 /* DBFILESRestoreArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20212B7A733C00D55EF8 /* DBFILESRelocationBatchV2Launch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10262B7A733200D55EF8 /* DBFILESRelocationBatchV2Launch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20222B7A733C00D55EF8 /* DBFILESRelocationBatchV2Launch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10262B7A733200D55EF8 /* DBFILESRelocationBatchV2Launch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20232B7A733C00D55EF8 /* DBFILESAlphaGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10272B7A733200D55EF8 /* DBFILESAlphaGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20242B7A733C00D55EF8 /* DBFILESAlphaGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10272B7A733200D55EF8 /* DBFILESAlphaGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20252B7A733C00D55EF8 /* DBFILESRelocationBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10282B7A733200D55EF8 /* DBFILESRelocationBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20262B7A733C00D55EF8 /* DBFILESRelocationBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10282B7A733200D55EF8 /* DBFILESRelocationBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20272B7A733C00D55EF8 /* DBFILESSaveUrlJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10292B7A733200D55EF8 /* DBFILESSaveUrlJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20282B7A733C00D55EF8 /* DBFILESSaveUrlJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10292B7A733200D55EF8 /* DBFILESSaveUrlJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20292B7A733C00D55EF8 /* DBFILESCreateFolderBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102A2B7A733200D55EF8 /* DBFILESCreateFolderBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202A2B7A733C00D55EF8 /* DBFILESCreateFolderBatchResultEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102A2B7A733200D55EF8 /* DBFILESCreateFolderBatchResultEntry.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202B2B7A733C00D55EF8 /* DBFILESDeleteBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102B2B7A733200D55EF8 /* DBFILESDeleteBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202C2B7A733C00D55EF8 /* DBFILESDeleteBatchJobStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102B2B7A733200D55EF8 /* DBFILESDeleteBatchJobStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202D2B7A733C00D55EF8 /* DBFILESDownloadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102C2B7A733200D55EF8 /* DBFILESDownloadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202E2B7A733C00D55EF8 /* DBFILESDownloadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102C2B7A733200D55EF8 /* DBFILESDownloadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E202F2B7A733C00D55EF8 /* DBFILESExportArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102D2B7A733200D55EF8 /* DBFILESExportArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20302B7A733C00D55EF8 /* DBFILESExportArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102D2B7A733200D55EF8 /* DBFILESExportArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20312B7A733C00D55EF8 /* DBFILESCommitInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102E2B7A733200D55EF8 /* DBFILESCommitInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20322B7A733C00D55EF8 /* DBFILESCommitInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102E2B7A733200D55EF8 /* DBFILESCommitInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20332B7A733C00D55EF8 /* DBFILESGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102F2B7A733200D55EF8 /* DBFILESGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20342B7A733C00D55EF8 /* DBFILESGetMetadataArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E102F2B7A733200D55EF8 /* DBFILESGetMetadataArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20352B7A733C00D55EF8 /* DBFILESPathOrLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10302B7A733200D55EF8 /* DBFILESPathOrLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20362B7A733C00D55EF8 /* DBFILESPathOrLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10302B7A733200D55EF8 /* DBFILESPathOrLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20372B7A733C00D55EF8 /* DBFILESAlphaGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10312B7A733200D55EF8 /* DBFILESAlphaGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20382B7A733C00D55EF8 /* DBFILESAlphaGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10312B7A733200D55EF8 /* DBFILESAlphaGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20392B7A733C00D55EF8 /* DBFILESSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10322B7A733200D55EF8 /* DBFILESSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203A2B7A733C00D55EF8 /* DBFILESSearchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10322B7A733200D55EF8 /* DBFILESSearchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203B2B7A733C00D55EF8 /* DBFILESSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10332B7A733200D55EF8 /* DBFILESSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203C2B7A733C00D55EF8 /* DBFILESSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10332B7A733200D55EF8 /* DBFILESSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203D2B7A733C00D55EF8 /* DBFILESSearchV2ContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10342B7A733200D55EF8 /* DBFILESSearchV2ContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203E2B7A733C00D55EF8 /* DBFILESSearchV2ContinueArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10342B7A733200D55EF8 /* DBFILESSearchV2ContinueArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E203F2B7A733C00D55EF8 /* DBFILESBaseTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10352B7A733200D55EF8 /* DBFILESBaseTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20402B7A733C00D55EF8 /* DBFILESBaseTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10352B7A733200D55EF8 /* DBFILESBaseTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20412B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10362B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20422B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10362B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20432B7A733C00D55EF8 /* DBFILESExportInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10372B7A733200D55EF8 /* DBFILESExportInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20442B7A733C00D55EF8 /* DBFILESExportInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10372B7A733200D55EF8 /* DBFILESExportInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20452B7A733C00D55EF8 /* DBFILESThumbnailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10382B7A733200D55EF8 /* DBFILESThumbnailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20462B7A733C00D55EF8 /* DBFILESThumbnailArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10382B7A733200D55EF8 /* DBFILESThumbnailArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20472B7A733C00D55EF8 /* DBFILESDeleteBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10392B7A733200D55EF8 /* DBFILESDeleteBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20482B7A733C00D55EF8 /* DBFILESDeleteBatchError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10392B7A733200D55EF8 /* DBFILESDeleteBatchError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20492B7A733C00D55EF8 /* DBFILESSingleUserLock.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103A2B7A733200D55EF8 /* DBFILESSingleUserLock.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204A2B7A733C00D55EF8 /* DBFILESSingleUserLock.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103A2B7A733200D55EF8 /* DBFILESSingleUserLock.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204B2B7A733C00D55EF8 /* DBFILESAddTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103B2B7A733200D55EF8 /* DBFILESAddTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204C2B7A733C00D55EF8 /* DBFILESAddTagError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103B2B7A733200D55EF8 /* DBFILESAddTagError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204D2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103C2B7A733200D55EF8 /* DBFILESGetTemporaryLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204E2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103C2B7A733200D55EF8 /* DBFILESGetTemporaryLinkResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E204F2B7A733C00D55EF8 /* DBFILESSearchV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103D2B7A733200D55EF8 /* DBFILESSearchV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20502B7A733C00D55EF8 /* DBFILESSearchV2Arg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103D2B7A733200D55EF8 /* DBFILESSearchV2Arg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20512B7A733C00D55EF8 /* DBFILESThumbnailMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103E2B7A733200D55EF8 /* DBFILESThumbnailMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20522B7A733C00D55EF8 /* DBFILESThumbnailMode.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103E2B7A733200D55EF8 /* DBFILESThumbnailMode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20532B7A733C00D55EF8 /* DBFILESFileSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103F2B7A733200D55EF8 /* DBFILESFileSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20542B7A733C00D55EF8 /* DBFILESFileSharingInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E103F2B7A733200D55EF8 /* DBFILESFileSharingInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20552B7A733C00D55EF8 /* DBFILESListFolderContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10402B7A733200D55EF8 /* DBFILESListFolderContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20562B7A733C00D55EF8 /* DBFILESListFolderContinueError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10402B7A733200D55EF8 /* DBFILESListFolderContinueError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20572B7A733C00D55EF8 /* DBFILESSearchMatchType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10412B7A733200D55EF8 /* DBFILESSearchMatchType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20582B7A733C00D55EF8 /* DBFILESSearchMatchType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10412B7A733200D55EF8 /* DBFILESSearchMatchType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20592B7A733C00D55EF8 /* DBFILESSearchMatchV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10422B7A733200D55EF8 /* DBFILESSearchMatchV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205A2B7A733C00D55EF8 /* DBFILESSearchMatchV2.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10422B7A733200D55EF8 /* DBFILESSearchMatchV2.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205B2B7A733C00D55EF8 /* DBFILESPaperCreateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10432B7A733200D55EF8 /* DBFILESPaperCreateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205C2B7A733C00D55EF8 /* DBFILESPaperCreateResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10432B7A733200D55EF8 /* DBFILESPaperCreateResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205D2B7A733C00D55EF8 /* DBFILESSharedLinkFileInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10442B7A733200D55EF8 /* DBFILESSharedLinkFileInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205E2B7A733C00D55EF8 /* DBFILESSharedLinkFileInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10442B7A733200D55EF8 /* DBFILESSharedLinkFileInfo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E205F2B7A733C00D55EF8 /* DBFILESAddTagArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10452B7A733200D55EF8 /* DBFILESAddTagArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20602B7A733C00D55EF8 /* DBFILESAddTagArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10452B7A733200D55EF8 /* DBFILESAddTagArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20612B7A733C00D55EF8 /* DBFILESSharedLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10462B7A733200D55EF8 /* DBFILESSharedLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20622B7A733C00D55EF8 /* DBFILESSharedLink.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10462B7A733200D55EF8 /* DBFILESSharedLink.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20632B7A733C00D55EF8 /* DBFILESFileLock.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10472B7A733200D55EF8 /* DBFILESFileLock.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20642B7A733C00D55EF8 /* DBFILESFileLock.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10472B7A733200D55EF8 /* DBFILESFileLock.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20652B7A733C00D55EF8 /* DBFILESDeleteBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10482B7A733200D55EF8 /* DBFILESDeleteBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20662B7A733C00D55EF8 /* DBFILESDeleteBatchLaunch.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10482B7A733200D55EF8 /* DBFILESDeleteBatchLaunch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20672B7A733C00D55EF8 /* DBFILESLockFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10492B7A733200D55EF8 /* DBFILESLockFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20682B7A733C00D55EF8 /* DBFILESLockFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10492B7A733200D55EF8 /* DBFILESLockFileError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20692B7A733C00D55EF8 /* DBFILESUploadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104A2B7A733200D55EF8 /* DBFILESUploadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206A2B7A733C00D55EF8 /* DBFILESUploadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104A2B7A733200D55EF8 /* DBFILESUploadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206B2B7A733C00D55EF8 /* DBFILESExportError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104B2B7A733200D55EF8 /* DBFILESExportError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206C2B7A733C00D55EF8 /* DBFILESExportError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104B2B7A733200D55EF8 /* DBFILESExportError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206D2B7A733C00D55EF8 /* DBFILESSaveCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104C2B7A733200D55EF8 /* DBFILESSaveCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206E2B7A733C00D55EF8 /* DBFILESSaveCopyReferenceResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104C2B7A733200D55EF8 /* DBFILESSaveCopyReferenceResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E206F2B7A733C00D55EF8 /* DBFILESDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104D2B7A733200D55EF8 /* DBFILESDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20702B7A733D00D55EF8 /* DBFILESDeleteResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104D2B7A733200D55EF8 /* DBFILESDeleteResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20712B7A733D00D55EF8 /* DBFILESMoveIntoFamilyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104E2B7A733200D55EF8 /* DBFILESMoveIntoFamilyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20722B7A733D00D55EF8 /* DBFILESMoveIntoFamilyError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104E2B7A733200D55EF8 /* DBFILESMoveIntoFamilyError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20732B7A733D00D55EF8 /* DBFILESSyncSetting.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104F2B7A733200D55EF8 /* DBFILESSyncSetting.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20742B7A733D00D55EF8 /* DBFILESSyncSetting.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E104F2B7A733200D55EF8 /* DBFILESSyncSetting.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20752B7A733D00D55EF8 /* DBFILESCreateFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10502B7A733200D55EF8 /* DBFILESCreateFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20762B7A733D00D55EF8 /* DBFILESCreateFolderResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10502B7A733200D55EF8 /* DBFILESCreateFolderResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20772B7A733D00D55EF8 /* DBFILESUploadSessionFinishBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10512B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20782B7A733D00D55EF8 /* DBFILESUploadSessionFinishBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10512B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20792B7A733D00D55EF8 /* DBFILESWriteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10522B7A733200D55EF8 /* DBFILESWriteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207A2B7A733D00D55EF8 /* DBFILESWriteError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10522B7A733200D55EF8 /* DBFILESWriteError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207B2B7A733D00D55EF8 /* DBFILESCreateFolderEntryError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10532B7A733200D55EF8 /* DBFILESCreateFolderEntryError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207C2B7A733D00D55EF8 /* DBFILESCreateFolderEntryError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10532B7A733200D55EF8 /* DBFILESCreateFolderEntryError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207D2B7A733D00D55EF8 /* DBFILESGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10542B7A733200D55EF8 /* DBFILESGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207E2B7A733D00D55EF8 /* DBFILESGetMetadataError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10542B7A733200D55EF8 /* DBFILESGetMetadataError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E207F2B7A733D00D55EF8 /* DBFILESCreateFolderBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10552B7A733200D55EF8 /* DBFILESCreateFolderBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20802B7A733D00D55EF8 /* DBFILESCreateFolderBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10552B7A733200D55EF8 /* DBFILESCreateFolderBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20812B7A733D00D55EF8 /* DBFILESGetThumbnailBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10562B7A733200D55EF8 /* DBFILESGetThumbnailBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20822B7A733D00D55EF8 /* DBFILESGetThumbnailBatchResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10562B7A733200D55EF8 /* DBFILESGetThumbnailBatchResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20832B7A733D00D55EF8 /* DBFILESCreateFolderBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10572B7A733200D55EF8 /* DBFILESCreateFolderBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20842B7A733D00D55EF8 /* DBFILESCreateFolderBatchArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10572B7A733200D55EF8 /* DBFILESCreateFolderBatchArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20852B7A733D00D55EF8 /* DBFILESFileStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10582B7A733200D55EF8 /* DBFILESFileStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20862B7A733D00D55EF8 /* DBFILESFileStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10582B7A733200D55EF8 /* DBFILESFileStatus.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20872B7A733D00D55EF8 /* DBFILESCreateFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10592B7A733200D55EF8 /* DBFILESCreateFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20882B7A733D00D55EF8 /* DBFILESCreateFolderArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10592B7A733200D55EF8 /* DBFILESCreateFolderArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20892B7A733D00D55EF8 /* DBFILESPaperCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105A2B7A733200D55EF8 /* DBFILESPaperCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208A2B7A733D00D55EF8 /* DBFILESPaperCreateArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105A2B7A733200D55EF8 /* DBFILESPaperCreateArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208B2B7A733D00D55EF8 /* DBFILESUploadSessionFinishArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105B2B7A733200D55EF8 /* DBFILESUploadSessionFinishArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208C2B7A733D00D55EF8 /* DBFILESUploadSessionFinishArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105B2B7A733200D55EF8 /* DBFILESUploadSessionFinishArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208D2B7A733D00D55EF8 /* DBFILESRelocationBatchArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105C2B7A733200D55EF8 /* DBFILESRelocationBatchArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208E2B7A733D00D55EF8 /* DBFILESRelocationBatchArgBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105C2B7A733200D55EF8 /* DBFILESRelocationBatchArgBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E208F2B7A733D00D55EF8 /* DBFILESDeleteArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105D2B7A733200D55EF8 /* DBFILESDeleteArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20902B7A733D00D55EF8 /* DBFILESDeleteArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105D2B7A733200D55EF8 /* DBFILESDeleteArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20912B7A733D00D55EF8 /* DBFILESDownloadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105E2B7A733200D55EF8 /* DBFILESDownloadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20922B7A733D00D55EF8 /* DBFILESDownloadError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105E2B7A733200D55EF8 /* DBFILESDownloadError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20932B7A733D00D55EF8 /* DBFILESSearchMatchFieldOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105F2B7A733200D55EF8 /* DBFILESSearchMatchFieldOptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20942B7A733D00D55EF8 /* DBFILESSearchMatchFieldOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E105F2B7A733200D55EF8 /* DBFILESSearchMatchFieldOptions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20952B7A733D00D55EF8 /* DBFILESUploadSessionOffsetError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10602B7A733200D55EF8 /* DBFILESUploadSessionOffsetError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20962B7A733D00D55EF8 /* DBFILESUploadSessionOffsetError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10602B7A733200D55EF8 /* DBFILESUploadSessionOffsetError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20972B7A733D00D55EF8 /* DBFILESUploadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10612B7A733200D55EF8 /* DBFILESUploadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20982B7A733D00D55EF8 /* DBFILESUploadArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10612B7A733200D55EF8 /* DBFILESUploadArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20992B7A733D00D55EF8 /* DBAccountObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10632B7A733200D55EF8 /* DBAccountObjects.m */; }; + F99E209A2B7A733D00D55EF8 /* DBAccountObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10632B7A733200D55EF8 /* DBAccountObjects.m */; }; + F99E209B2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10652B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E209C2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10652B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E209D2B7A733D00D55EF8 /* DBACCOUNTPhotoSourceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10662B7A733200D55EF8 /* DBACCOUNTPhotoSourceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E209E2B7A733D00D55EF8 /* DBACCOUNTPhotoSourceArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10662B7A733200D55EF8 /* DBACCOUNTPhotoSourceArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E209F2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10672B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A02B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10672B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A12B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10682B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A22B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoError.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10682B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoError.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A32B7A733D00D55EF8 /* DBCHECKEchoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E106B2B7A733200D55EF8 /* DBCHECKEchoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A42B7A733D00D55EF8 /* DBCHECKEchoArg.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E106B2B7A733200D55EF8 /* DBCHECKEchoArg.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A52B7A733D00D55EF8 /* DBCHECKEchoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E106C2B7A733200D55EF8 /* DBCHECKEchoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A62B7A733D00D55EF8 /* DBCHECKEchoResult.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E106C2B7A733200D55EF8 /* DBCHECKEchoResult.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20A72B7A733D00D55EF8 /* DBCheckObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E106D2B7A733200D55EF8 /* DBCheckObjects.m */; }; + F99E20A82B7A733D00D55EF8 /* DBCheckObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E106D2B7A733200D55EF8 /* DBCheckObjects.m */; }; + F99E20A92B7A733D00D55EF8 /* DBUsersCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E106F2B7A733200D55EF8 /* DBUsersCommonObjects.m */; }; + F99E20AA2B7A733D00D55EF8 /* DBUsersCommonObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E106F2B7A733200D55EF8 /* DBUsersCommonObjects.m */; }; + F99E20AB2B7A733D00D55EF8 /* DBUSERSCOMMONAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10712B7A733200D55EF8 /* DBUSERSCOMMONAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20AC2B7A733D00D55EF8 /* DBUSERSCOMMONAccountType.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10712B7A733200D55EF8 /* DBUSERSCOMMONAccountType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20AD2B7A733D00D55EF8 /* DBStoneBase.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10732B7A733200D55EF8 /* DBStoneBase.m */; }; + F99E20AE2B7A733D00D55EF8 /* DBStoneBase.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10732B7A733200D55EF8 /* DBStoneBase.m */; }; + F99E20AF2B7A733D00D55EF8 /* DBStoneSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10742B7A733200D55EF8 /* DBStoneSerializers.m */; }; + F99E20B02B7A733D00D55EF8 /* DBStoneSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10742B7A733200D55EF8 /* DBStoneSerializers.m */; }; + F99E20B12B7A733D00D55EF8 /* DBStoneValidators.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10752B7A733200D55EF8 /* DBStoneValidators.m */; }; + F99E20B22B7A733D00D55EF8 /* DBStoneValidators.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10752B7A733200D55EF8 /* DBStoneValidators.m */; }; + F99E20B32B7A733D00D55EF8 /* DBStoneBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10762B7A733200D55EF8 /* DBStoneBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B42B7A733D00D55EF8 /* DBStoneBase.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10762B7A733200D55EF8 /* DBStoneBase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B52B7A733D00D55EF8 /* DBStoneSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10772B7A733200D55EF8 /* DBStoneSerializers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B62B7A733D00D55EF8 /* DBStoneSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10772B7A733200D55EF8 /* DBStoneSerializers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B72B7A733D00D55EF8 /* DBStoneValidators.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10782B7A733200D55EF8 /* DBStoneValidators.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B82B7A733D00D55EF8 /* DBStoneValidators.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10782B7A733200D55EF8 /* DBStoneValidators.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20B92B7A733D00D55EF8 /* DBSerializableProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10792B7A733200D55EF8 /* DBSerializableProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20BA2B7A733D00D55EF8 /* DBSerializableProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10792B7A733200D55EF8 /* DBSerializableProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20BB2B7A733D00D55EF8 /* DBSDKImportsGenerated.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107A2B7A733200D55EF8 /* DBSDKImportsGenerated.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20BC2B7A733D00D55EF8 /* DBSDKImportsGenerated.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107A2B7A733200D55EF8 /* DBSDKImportsGenerated.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20BD2B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E107C2B7A733200D55EF8 /* DBAUTHAppAuthRoutes.m */; }; + F99E20BE2B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E107C2B7A733200D55EF8 /* DBAUTHAppAuthRoutes.m */; }; + F99E20BF2B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107D2B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C02B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107D2B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C12B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107E2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C22B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E107E2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C32B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E107F2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.m */; }; + F99E20C42B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E107F2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.m */; }; + F99E20C52B7A733D00D55EF8 /* DBFILESAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10802B7A733200D55EF8 /* DBFILESAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C62B7A733D00D55EF8 /* DBFILESAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10802B7A733200D55EF8 /* DBFILESAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20C72B7A733D00D55EF8 /* DBFILESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10812B7A733200D55EF8 /* DBFILESUserAuthRoutes.m */; }; + F99E20C82B7A733D00D55EF8 /* DBFILESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10812B7A733200D55EF8 /* DBFILESUserAuthRoutes.m */; }; + F99E20C92B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10822B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20CA2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10822B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20CB2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10832B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m */; }; + F99E20CC2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10832B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m */; }; + F99E20CD2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10842B7A733200D55EF8 /* DBCHECKAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20CE2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10842B7A733200D55EF8 /* DBCHECKAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20CF2B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10852B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D02B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10852B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D12B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10862B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.m */; }; + F99E20D22B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10862B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.m */; }; + F99E20D32B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10872B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D42B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10872B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D52B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10882B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D62B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10882B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20D72B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10892B7A733200D55EF8 /* DBCHECKUserAuthRoutes.m */; }; + F99E20D82B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10892B7A733200D55EF8 /* DBCHECKUserAuthRoutes.m */; }; + F99E20D92B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108A2B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.m */; }; + F99E20DA2B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108A2B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.m */; }; + F99E20DB2B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108B2B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20DC2B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108B2B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20DD2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108C2B7A733200D55EF8 /* DBPAPERUserAuthRoutes.m */; }; + F99E20DE2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108C2B7A733200D55EF8 /* DBPAPERUserAuthRoutes.m */; }; + F99E20DF2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108D2B7A733200D55EF8 /* DBAUTHUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E02B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108D2B7A733200D55EF8 /* DBAUTHUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E12B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108E2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E22B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E108E2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E32B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108F2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.m */; }; + F99E20E42B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E108F2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.m */; }; + F99E20E52B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10902B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m */; }; + F99E20E62B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10902B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m */; }; + F99E20E72B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10912B7A733200D55EF8 /* DBAUTHAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E82B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10912B7A733200D55EF8 /* DBAUTHAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20E92B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10922B7A733200D55EF8 /* DBCHECKAppAuthRoutes.m */; }; + F99E20EA2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10922B7A733200D55EF8 /* DBCHECKAppAuthRoutes.m */; }; + F99E20EB2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10932B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20EC2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10932B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20ED2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10942B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.m */; }; + F99E20EE2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10942B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.m */; }; + F99E20EF2B7A733D00D55EF8 /* DBFILESAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10952B7A733200D55EF8 /* DBFILESAppAuthRoutes.m */; }; + F99E20F02B7A733D00D55EF8 /* DBFILESAppAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10952B7A733200D55EF8 /* DBFILESAppAuthRoutes.m */; }; + F99E20F12B7A733D00D55EF8 /* DBFILESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10962B7A733200D55EF8 /* DBFILESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20F22B7A733D00D55EF8 /* DBFILESUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10962B7A733200D55EF8 /* DBFILESUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20F32B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10972B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20F42B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10972B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E20F52B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10982B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.m */; }; + F99E20F62B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10982B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.m */; }; + F99E20F72B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109A2B7A733200D55EF8 /* DBTEAMLOGRouteObjects.m */; }; + F99E20F82B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109A2B7A733200D55EF8 /* DBTEAMLOGRouteObjects.m */; }; + F99E20F92B7A733D00D55EF8 /* DBPAPERRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109B2B7A733200D55EF8 /* DBPAPERRouteObjects.m */; }; + F99E20FA2B7A733D00D55EF8 /* DBPAPERRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109B2B7A733200D55EF8 /* DBPAPERRouteObjects.m */; }; + F99E20FB2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109C2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.m */; }; + F99E20FC2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109C2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.m */; }; + F99E20FD2B7A733D00D55EF8 /* DBTEAMRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109D2B7A733200D55EF8 /* DBTEAMRouteObjects.m */; }; + F99E20FE2B7A733D00D55EF8 /* DBTEAMRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E109D2B7A733200D55EF8 /* DBTEAMRouteObjects.m */; }; + F99E20FF2B7A733D00D55EF8 /* DBAUTHRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E109E2B7A733200D55EF8 /* DBAUTHRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21002B7A733D00D55EF8 /* DBAUTHRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E109E2B7A733200D55EF8 /* DBAUTHRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21012B7A733D00D55EF8 /* DBFILESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E109F2B7A733200D55EF8 /* DBFILESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21022B7A733D00D55EF8 /* DBFILESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E109F2B7A733200D55EF8 /* DBFILESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21032B7A733D00D55EF8 /* DBACCOUNTRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A02B7A733200D55EF8 /* DBACCOUNTRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21042B7A733D00D55EF8 /* DBACCOUNTRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A02B7A733200D55EF8 /* DBACCOUNTRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21052B7A733D00D55EF8 /* DBOPENIDRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A12B7A733200D55EF8 /* DBOPENIDRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21062B7A733D00D55EF8 /* DBOPENIDRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A12B7A733200D55EF8 /* DBOPENIDRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21072B7A733D00D55EF8 /* DBCHECKRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A22B7A733200D55EF8 /* DBCHECKRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21082B7A733D00D55EF8 /* DBCHECKRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A22B7A733200D55EF8 /* DBCHECKRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21092B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10A32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.m */; }; + F99E210A2B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10A32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.m */; }; + F99E210B2B7A733D00D55EF8 /* DBCONTACTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A42B7A733200D55EF8 /* DBCONTACTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E210C2B7A733D00D55EF8 /* DBCONTACTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A42B7A733200D55EF8 /* DBCONTACTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E210D2B7A733D00D55EF8 /* DBSHARINGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A52B7A733200D55EF8 /* DBSHARINGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E210E2B7A733D00D55EF8 /* DBSHARINGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A52B7A733200D55EF8 /* DBSHARINGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E210F2B7A733D00D55EF8 /* DBUSERSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A62B7A733200D55EF8 /* DBUSERSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21102B7A733D00D55EF8 /* DBUSERSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A62B7A733200D55EF8 /* DBUSERSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21112B7A733D00D55EF8 /* DBPAPERRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A72B7A733200D55EF8 /* DBPAPERRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21122B7A733D00D55EF8 /* DBPAPERRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A72B7A733200D55EF8 /* DBPAPERRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21132B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A82B7A733200D55EF8 /* DBTEAMLOGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21142B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10A82B7A733200D55EF8 /* DBTEAMLOGRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21152B7A733D00D55EF8 /* DBFILESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10A92B7A733200D55EF8 /* DBFILESRouteObjects.m */; }; + F99E21162B7A733D00D55EF8 /* DBFILESRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10A92B7A733200D55EF8 /* DBFILESRouteObjects.m */; }; + F99E21172B7A733D00D55EF8 /* DBAUTHRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AA2B7A733200D55EF8 /* DBAUTHRouteObjects.m */; }; + F99E21182B7A733D00D55EF8 /* DBAUTHRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AA2B7A733200D55EF8 /* DBAUTHRouteObjects.m */; }; + F99E21192B7A733D00D55EF8 /* DBTEAMRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10AB2B7A733200D55EF8 /* DBTEAMRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E211A2B7A733D00D55EF8 /* DBTEAMRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10AB2B7A733200D55EF8 /* DBTEAMRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E211B2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10AC2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E211C2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10AC2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E211D2B7A733D00D55EF8 /* DBCHECKRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AD2B7A733200D55EF8 /* DBCHECKRouteObjects.m */; }; + F99E211E2B7A733D00D55EF8 /* DBCHECKRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AD2B7A733200D55EF8 /* DBCHECKRouteObjects.m */; }; + F99E211F2B7A733D00D55EF8 /* DBACCOUNTRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AE2B7A733200D55EF8 /* DBACCOUNTRouteObjects.m */; }; + F99E21202B7A733D00D55EF8 /* DBACCOUNTRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AE2B7A733200D55EF8 /* DBACCOUNTRouteObjects.m */; }; + F99E21212B7A733D00D55EF8 /* DBOPENIDRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AF2B7A733200D55EF8 /* DBOPENIDRouteObjects.m */; }; + F99E21222B7A733D00D55EF8 /* DBOPENIDRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10AF2B7A733200D55EF8 /* DBOPENIDRouteObjects.m */; }; + F99E21232B7A733D00D55EF8 /* DBUSERSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B02B7A733200D55EF8 /* DBUSERSRouteObjects.m */; }; + F99E21242B7A733D00D55EF8 /* DBUSERSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B02B7A733200D55EF8 /* DBUSERSRouteObjects.m */; }; + F99E21252B7A733D00D55EF8 /* DBSHARINGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B12B7A733200D55EF8 /* DBSHARINGRouteObjects.m */; }; + F99E21262B7A733D00D55EF8 /* DBSHARINGRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B12B7A733200D55EF8 /* DBSHARINGRouteObjects.m */; }; + F99E21272B7A733D00D55EF8 /* DBCONTACTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B22B7A733200D55EF8 /* DBCONTACTSRouteObjects.m */; }; + F99E21282B7A733D00D55EF8 /* DBCONTACTSRouteObjects.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B22B7A733200D55EF8 /* DBCONTACTSRouteObjects.m */; }; + F99E21292B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E212A2B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E212B2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B42B7A733200D55EF8 /* DBPAPERUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E212C2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B42B7A733200D55EF8 /* DBPAPERUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E212D2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B52B7A733200D55EF8 /* DBAUTHUserAuthRoutes.m */; }; + F99E212E2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B52B7A733200D55EF8 /* DBAUTHUserAuthRoutes.m */; }; + F99E212F2B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B62B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21302B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B62B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21312B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B72B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.m */; }; + F99E21322B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B72B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.m */; }; + F99E21332B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B82B7A733200D55EF8 /* DBCHECKUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21342B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.h in Headers */ = {isa = PBXBuildFile; fileRef = F99E10B82B7A733200D55EF8 /* DBCHECKUserAuthRoutes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F99E21352B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B92B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.m */; }; + F99E21362B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10B92B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.m */; }; + F99E21372B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10BA2B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m */; }; + F99E21382B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */ = {isa = PBXBuildFile; fileRef = F99E10BA2B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 3C3C29721F7D757E00C54011 /* DBTransportBaseHostnameConfig.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DBTransportBaseHostnameConfig.m; sourceTree = ""; }; 3C3C29731F7D757E00C54011 /* DBTransportBaseHostnameConfig.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBTransportBaseHostnameConfig.h; sourceTree = ""; }; + BF33F92024873F10001F4072 /* DBOAuthPKCESession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthPKCESession.m; sourceTree = ""; }; + BF33F92124873F11001F4072 /* DBOAuthConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthConstants.m; sourceTree = ""; }; + BF33F92224873F11001F4072 /* DBOAuthUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthUtils.m; sourceTree = ""; }; + BF33F92324873F11001F4072 /* DBOAuthPKCESession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthPKCESession.h; sourceTree = ""; }; + BF33F92424873F11001F4072 /* DBOAuthConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthConstants.h; sourceTree = ""; }; + BF33F92524873F11001F4072 /* DBScopeRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBScopeRequest.h; sourceTree = ""; }; + BF33F92624873F12001F4072 /* DBScopeRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBScopeRequest.m; sourceTree = ""; }; + BF33F92724873F12001F4072 /* DBOAuthUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthUtils.h; sourceTree = ""; }; + BF33F93824873F3E001F4072 /* DBScopeRequest+Protected.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBScopeRequest+Protected.h"; sourceTree = ""; }; + BF33F93B24874DED001F4072 /* DBOAuthTokenRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthTokenRequest.h; sourceTree = ""; }; + BF33F93C24874DED001F4072 /* DBOAuthResultCompletion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOAuthResultCompletion.h; sourceTree = ""; }; + BF33F93D24874DED001F4072 /* DBOAuthTokenRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOAuthTokenRequest.m; sourceTree = ""; }; + BF474D36248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBAccessToken+NSSecureCoding.h"; sourceTree = ""; }; + BF474D37248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "DBAccessToken+NSSecureCoding.m"; sourceTree = ""; }; + BF6162C32491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBURLSessionTaskWithTokenRefresh.h; sourceTree = ""; }; + BF6162C42491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DBURLSessionTaskWithTokenRefresh.m; sourceTree = ""; }; + BF7E35292488562F00DEDF84 /* DBLoadingViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBLoadingViewController.h; sourceTree = ""; }; + BF7E352A2488562F00DEDF84 /* DBLoadingViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DBLoadingViewController.m; sourceTree = ""; }; + BF7E352D248858B600DEDF84 /* DBLoadingStatusDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBLoadingStatusDelegate.h; sourceTree = ""; }; + BFC20EA424905395005A5E8F /* DBAccessTokenProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBAccessTokenProvider.h; sourceTree = ""; }; + BFC20EA524905C57005A5E8F /* DBAccessTokenProvider+Internal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DBAccessTokenProvider+Internal.h"; sourceTree = ""; }; + BFD93BC624905D8A006AB165 /* DBAccessTokenProviderImpl.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DBAccessTokenProviderImpl.m; sourceTree = ""; }; + BFFFCE7F24E73E0C0084E238 /* DBURLSessionTask.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBURLSessionTask.h; sourceTree = ""; }; + BFFFCE8024E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DBURLSessionTaskResponseBlockWrapper.m; sourceTree = ""; }; + BFFFCE8324E73F6C0084E238 /* DBURLSessionTaskResponseBlockWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DBURLSessionTaskResponseBlockWrapper.h; sourceTree = ""; }; F235B51B1E29913600144F8B /* DBOAuthMobile-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBOAuthMobile-iOS.h"; sourceTree = ""; }; F235B51C1E29913600144F8B /* DBOAuthMobile-iOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "DBOAuthMobile-iOS.m"; sourceTree = ""; }; F235B51D1E29913600144F8B /* DBClientsManager+MobileAuth-iOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DBClientsManager+MobileAuth-iOS.h"; sourceTree = ""; }; @@ -2231,1031 +4477,6 @@ F27DE9E21D7FF909003B1CEE /* ObjectiveDropboxOfficial.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ObjectiveDropboxOfficial.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F27DEB991D7FFBB9003B1CEE /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework; sourceTree = DEVELOPER_DIR; }; F27DEB9B1D7FFBBF003B1CEE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - F292EAA31FC0EB7300D6E69B /* DBAsyncObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAsyncObjects.m; sourceTree = ""; }; - F292EAA51FC0EB7300D6E69B /* DBASYNCLaunchEmptyResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCLaunchEmptyResult.h; sourceTree = ""; }; - F292EAA61FC0EB7300D6E69B /* DBASYNCLaunchResultBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCLaunchResultBase.h; sourceTree = ""; }; - F292EAA71FC0EB7300D6E69B /* DBASYNCPollArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollArg.h; sourceTree = ""; }; - F292EAA81FC0EB7300D6E69B /* DBASYNCPollEmptyResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollEmptyResult.h; sourceTree = ""; }; - F292EAA91FC0EB7300D6E69B /* DBASYNCPollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollError.h; sourceTree = ""; }; - F292EAAA1FC0EB7300D6E69B /* DBASYNCPollResultBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollResultBase.h; sourceTree = ""; }; - F292EAAC1FC0EB7300D6E69B /* DBAuthObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAuthObjects.m; sourceTree = ""; }; - F292EAAE1FC0EB7300D6E69B /* DBAUTHAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAccessError.h; sourceTree = ""; }; - F292EAAF1FC0EB7300D6E69B /* DBAUTHAuthError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAuthError.h; sourceTree = ""; }; - F292EAB01FC0EB7300D6E69B /* DBAUTHInvalidAccountTypeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHInvalidAccountTypeError.h; sourceTree = ""; }; - F292EAB11FC0EB7300D6E69B /* DBAUTHPaperAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHPaperAccessError.h; sourceTree = ""; }; - F292EAB21FC0EB7300D6E69B /* DBAUTHRateLimitError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRateLimitError.h; sourceTree = ""; }; - F292EAB31FC0EB7300D6E69B /* DBAUTHRateLimitReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRateLimitReason.h; sourceTree = ""; }; - F292EAB41FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Arg.h; sourceTree = ""; }; - F292EAB51FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Error.h; sourceTree = ""; }; - F292EAB61FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Result.h; sourceTree = ""; }; - F292EAB81FC0EB7300D6E69B /* DBCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCommonObjects.m; sourceTree = ""; }; - F292EABA1FC0EB7300D6E69B /* DBCOMMONPathRoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONPathRoot.h; sourceTree = ""; }; - F292EABB1FC0EB7300D6E69B /* DBCOMMONPathRootError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONPathRootError.h; sourceTree = ""; }; - F292EABC1FC0EB7300D6E69B /* DBCOMMONRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONRootInfo.h; sourceTree = ""; }; - F292EABD1FC0EB7300D6E69B /* DBCOMMONTeamRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONTeamRootInfo.h; sourceTree = ""; }; - F292EABE1FC0EB7300D6E69B /* DBCOMMONUserRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONUserRootInfo.h; sourceTree = ""; }; - F292EAC01FC0EB7300D6E69B /* DBFilePropertiesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFilePropertiesObjects.m; sourceTree = ""; }; - F292EAC21FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddPropertiesArg.h; sourceTree = ""; }; - F292EAC31FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddPropertiesError.h; sourceTree = ""; }; - F292EAC41FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddTemplateArg.h; sourceTree = ""; }; - F292EAC51FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddTemplateResult.h; sourceTree = ""; }; - F292EAC61FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESGetTemplateArg.h; sourceTree = ""; }; - F292EAC71FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESGetTemplateResult.h; sourceTree = ""; }; - F292EAC81FC0EB7300D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESInvalidPropertyGroupError.h; sourceTree = ""; }; - F292EAC91FC0EB7300D6E69B /* DBFILEPROPERTIESListTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESListTemplateResult.h; sourceTree = ""; }; - F292EACA1FC0EB7300D6E69B /* DBFILEPROPERTIESLogicalOperator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLogicalOperator.h; sourceTree = ""; }; - F292EACB1FC0EB7300D6E69B /* DBFILEPROPERTIESLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLookupError.h; sourceTree = ""; }; - F292EACC1FC0EB7300D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLookUpPropertiesError.h; sourceTree = ""; }; - F292EACD1FC0EB7300D6E69B /* DBFILEPROPERTIESModifyTemplateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESModifyTemplateError.h; sourceTree = ""; }; - F292EACE1FC0EB7300D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESOverwritePropertyGroupArg.h; sourceTree = ""; }; - F292EACF1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesError.h; sourceTree = ""; }; - F292EAD01FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchArg.h; sourceTree = ""; }; - F292EAD11FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchContinueArg.h; sourceTree = ""; }; - F292EAD21FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchContinueError.h; sourceTree = ""; }; - F292EAD31FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchError.h; sourceTree = ""; }; - F292EAD41FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchMatch.h; sourceTree = ""; }; - F292EAD51FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchMode.h; sourceTree = ""; }; - F292EAD61FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchQuery.h; sourceTree = ""; }; - F292EAD71FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchResult.h; sourceTree = ""; }; - F292EAD81FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyField.h; sourceTree = ""; }; - F292EAD91FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyFieldTemplate.h; sourceTree = ""; }; - F292EADA1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroup.h; sourceTree = ""; }; - F292EADB1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroupTemplate.h; sourceTree = ""; }; - F292EADC1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroupUpdate.h; sourceTree = ""; }; - F292EADD1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyType.h; sourceTree = ""; }; - F292EADE1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemovePropertiesArg.h; sourceTree = ""; }; - F292EADF1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemovePropertiesError.h; sourceTree = ""; }; - F292EAE01FC0EB7300D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemoveTemplateArg.h; sourceTree = ""; }; - F292EAE11FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateError.h; sourceTree = ""; }; - F292EAE21FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateFilter.h; sourceTree = ""; }; - F292EAE31FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateFilterBase.h; sourceTree = ""; }; - F292EAE41FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateOwnerType.h; sourceTree = ""; }; - F292EAE51FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdatePropertiesArg.h; sourceTree = ""; }; - F292EAE61FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdatePropertiesError.h; sourceTree = ""; }; - F292EAE71FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdateTemplateArg.h; sourceTree = ""; }; - F292EAE81FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdateTemplateResult.h; sourceTree = ""; }; - F292EAEA1FC0EB7300D6E69B /* DBFileRequestsObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFileRequestsObjects.m; sourceTree = ""; }; - F292EAEC1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCreateFileRequestArgs.h; sourceTree = ""; }; - F292EAED1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCreateFileRequestError.h; sourceTree = ""; }; - F292EAEE1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequest.h; sourceTree = ""; }; - F292EAEF1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestDeadline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequestDeadline.h; sourceTree = ""; }; - F292EAF01FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequestError.h; sourceTree = ""; }; - F292EAF11FC0EB7300D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGeneralFileRequestsError.h; sourceTree = ""; }; - F292EAF21FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGetFileRequestArgs.h; sourceTree = ""; }; - F292EAF31FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGetFileRequestError.h; sourceTree = ""; }; - F292EAF41FC0EB7300D6E69B /* DBFILEREQUESTSGracePeriod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGracePeriod.h; sourceTree = ""; }; - F292EAF51FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsError.h; sourceTree = ""; }; - F292EAF61FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsResult.h; sourceTree = ""; }; - F292EAF71FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestArgs.h; sourceTree = ""; }; - F292EAF81FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestDeadline.h; sourceTree = ""; }; - F292EAF91FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestError.h; sourceTree = ""; }; - F292EAFB1FC0EB7300D6E69B /* DBFilesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFilesObjects.m; sourceTree = ""; }; - F292EAFD1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAlphaGetMetadataArg.h; sourceTree = ""; }; - F292EAFE1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAlphaGetMetadataError.h; sourceTree = ""; }; - F292EAFF1FC0EB7300D6E69B /* DBFILESCommitInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCommitInfo.h; sourceTree = ""; }; - F292EB001FC0EB7300D6E69B /* DBFILESCommitInfoWithProperties.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCommitInfoWithProperties.h; sourceTree = ""; }; - F292EB011FC0EB7300D6E69B /* DBFILESCreateFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderArg.h; sourceTree = ""; }; - F292EB021FC0EB7300D6E69B /* DBFILESCreateFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderError.h; sourceTree = ""; }; - F292EB031FC0EB7300D6E69B /* DBFILESCreateFolderResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderResult.h; sourceTree = ""; }; - F292EB041FC0EB7300D6E69B /* DBFILESDeleteArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteArg.h; sourceTree = ""; }; - F292EB051FC0EB7300D6E69B /* DBFILESDeleteBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchArg.h; sourceTree = ""; }; - F292EB061FC0EB7300D6E69B /* DBFILESDeleteBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchError.h; sourceTree = ""; }; - F292EB071FC0EB7300D6E69B /* DBFILESDeleteBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchJobStatus.h; sourceTree = ""; }; - F292EB081FC0EB7300D6E69B /* DBFILESDeleteBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchLaunch.h; sourceTree = ""; }; - F292EB091FC0EB7300D6E69B /* DBFILESDeleteBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResult.h; sourceTree = ""; }; - F292EB0A1FC0EB7300D6E69B /* DBFILESDeleteBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResultData.h; sourceTree = ""; }; - F292EB0B1FC0EB7300D6E69B /* DBFILESDeleteBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResultEntry.h; sourceTree = ""; }; - F292EB0C1FC0EB7300D6E69B /* DBFILESDeletedMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeletedMetadata.h; sourceTree = ""; }; - F292EB0D1FC0EB7300D6E69B /* DBFILESDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteError.h; sourceTree = ""; }; - F292EB0E1FC0EB7300D6E69B /* DBFILESDeleteResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteResult.h; sourceTree = ""; }; - F292EB0F1FC0EB7300D6E69B /* DBFILESDimensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDimensions.h; sourceTree = ""; }; - F292EB101FC0EB7300D6E69B /* DBFILESDownloadArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadArg.h; sourceTree = ""; }; - F292EB111FC0EB7300D6E69B /* DBFILESDownloadError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadError.h; sourceTree = ""; }; - F292EB121FC0EB7300D6E69B /* DBFILESFileMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileMetadata.h; sourceTree = ""; }; - F292EB131FC0EB7300D6E69B /* DBFILESFileOpsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileOpsResult.h; sourceTree = ""; }; - F292EB141FC0EB7300D6E69B /* DBFILESFileSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileSharingInfo.h; sourceTree = ""; }; - F292EB151FC0EB7300D6E69B /* DBFILESFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFolderMetadata.h; sourceTree = ""; }; - F292EB161FC0EB7300D6E69B /* DBFILESFolderSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFolderSharingInfo.h; sourceTree = ""; }; - F292EB171FC0EB7300D6E69B /* DBFILESGetCopyReferenceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceArg.h; sourceTree = ""; }; - F292EB181FC0EB7300D6E69B /* DBFILESGetCopyReferenceError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceError.h; sourceTree = ""; }; - F292EB191FC0EB7300D6E69B /* DBFILESGetCopyReferenceResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceResult.h; sourceTree = ""; }; - F292EB1A1FC0EB7300D6E69B /* DBFILESGetMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetMetadataArg.h; sourceTree = ""; }; - F292EB1B1FC0EB7300D6E69B /* DBFILESGetMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetMetadataError.h; sourceTree = ""; }; - F292EB1C1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkArg.h; sourceTree = ""; }; - F292EB1D1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkError.h; sourceTree = ""; }; - F292EB1E1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkResult.h; sourceTree = ""; }; - F292EB1F1FC0EB7300D6E69B /* DBFILESGetThumbnailBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchArg.h; sourceTree = ""; }; - F292EB201FC0EB7300D6E69B /* DBFILESGetThumbnailBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchError.h; sourceTree = ""; }; - F292EB211FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResult.h; sourceTree = ""; }; - F292EB221FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResultData.h; sourceTree = ""; }; - F292EB231FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResultEntry.h; sourceTree = ""; }; - F292EB241FC0EB7300D6E69B /* DBFILESGpsCoordinates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGpsCoordinates.h; sourceTree = ""; }; - F292EB251FC0EB7300D6E69B /* DBFILESListFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderArg.h; sourceTree = ""; }; - F292EB261FC0EB7300D6E69B /* DBFILESListFolderContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderContinueArg.h; sourceTree = ""; }; - F292EB271FC0EB7300D6E69B /* DBFILESListFolderContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderContinueError.h; sourceTree = ""; }; - F292EB281FC0EB7300D6E69B /* DBFILESListFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderError.h; sourceTree = ""; }; - F292EB291FC0EB7300D6E69B /* DBFILESListFolderGetLatestCursorResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderGetLatestCursorResult.h; sourceTree = ""; }; - F292EB2A1FC0EB7300D6E69B /* DBFILESListFolderLongpollArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollArg.h; sourceTree = ""; }; - F292EB2B1FC0EB7300D6E69B /* DBFILESListFolderLongpollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollError.h; sourceTree = ""; }; - F292EB2C1FC0EB7300D6E69B /* DBFILESListFolderLongpollResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollResult.h; sourceTree = ""; }; - F292EB2D1FC0EB7300D6E69B /* DBFILESListFolderResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderResult.h; sourceTree = ""; }; - F292EB2E1FC0EB7300D6E69B /* DBFILESListRevisionsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsArg.h; sourceTree = ""; }; - F292EB2F1FC0EB7300D6E69B /* DBFILESListRevisionsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsError.h; sourceTree = ""; }; - F292EB301FC0EB7300D6E69B /* DBFILESListRevisionsMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsMode.h; sourceTree = ""; }; - F292EB311FC0EB7300D6E69B /* DBFILESListRevisionsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsResult.h; sourceTree = ""; }; - F292EB321FC0EB7300D6E69B /* DBFILESLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLookupError.h; sourceTree = ""; }; - F292EB331FC0EB7300D6E69B /* DBFILESMediaInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMediaInfo.h; sourceTree = ""; }; - F292EB341FC0EB7300D6E69B /* DBFILESMediaMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMediaMetadata.h; sourceTree = ""; }; - F292EB351FC0EB7300D6E69B /* DBFILESMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMetadata.h; sourceTree = ""; }; - F292EB361FC0EB7300D6E69B /* DBFILESPhotoMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPhotoMetadata.h; sourceTree = ""; }; - F292EB371FC0EB7300D6E69B /* DBFILESPreviewArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPreviewArg.h; sourceTree = ""; }; - F292EB381FC0EB7300D6E69B /* DBFILESPreviewError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPreviewError.h; sourceTree = ""; }; - F292EB391FC0EB7300D6E69B /* DBFILESRelocationArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationArg.h; sourceTree = ""; }; - F292EB3A1FC0EB7300D6E69B /* DBFILESRelocationBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchArg.h; sourceTree = ""; }; - F292EB3B1FC0EB7300D6E69B /* DBFILESRelocationBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchError.h; sourceTree = ""; }; - F292EB3C1FC0EB7300D6E69B /* DBFILESRelocationBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchJobStatus.h; sourceTree = ""; }; - F292EB3D1FC0EB7300D6E69B /* DBFILESRelocationBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchLaunch.h; sourceTree = ""; }; - F292EB3E1FC0EB7300D6E69B /* DBFILESRelocationBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchResult.h; sourceTree = ""; }; - F292EB3F1FC0EB7300D6E69B /* DBFILESRelocationBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchResultData.h; sourceTree = ""; }; - F292EB401FC0EB7300D6E69B /* DBFILESRelocationError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationError.h; sourceTree = ""; }; - F292EB411FC0EB7300D6E69B /* DBFILESRelocationPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationPath.h; sourceTree = ""; }; - F292EB421FC0EB7300D6E69B /* DBFILESRelocationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationResult.h; sourceTree = ""; }; - F292EB431FC0EB7300D6E69B /* DBFILESRestoreArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRestoreArg.h; sourceTree = ""; }; - F292EB441FC0EB7300D6E69B /* DBFILESRestoreError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRestoreError.h; sourceTree = ""; }; - F292EB451FC0EB7300D6E69B /* DBFILESSaveCopyReferenceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceArg.h; sourceTree = ""; }; - F292EB461FC0EB7300D6E69B /* DBFILESSaveCopyReferenceError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceError.h; sourceTree = ""; }; - F292EB471FC0EB7300D6E69B /* DBFILESSaveCopyReferenceResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceResult.h; sourceTree = ""; }; - F292EB481FC0EB7300D6E69B /* DBFILESSaveUrlArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlArg.h; sourceTree = ""; }; - F292EB491FC0EB7300D6E69B /* DBFILESSaveUrlError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlError.h; sourceTree = ""; }; - F292EB4A1FC0EB7300D6E69B /* DBFILESSaveUrlJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlJobStatus.h; sourceTree = ""; }; - F292EB4B1FC0EB7300D6E69B /* DBFILESSaveUrlResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlResult.h; sourceTree = ""; }; - F292EB4C1FC0EB7300D6E69B /* DBFILESSearchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchArg.h; sourceTree = ""; }; - F292EB4D1FC0EB7300D6E69B /* DBFILESSearchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchError.h; sourceTree = ""; }; - F292EB4E1FC0EB7300D6E69B /* DBFILESSearchMatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatch.h; sourceTree = ""; }; - F292EB4F1FC0EB7300D6E69B /* DBFILESSearchMatchType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatchType.h; sourceTree = ""; }; - F292EB501FC0EB7300D6E69B /* DBFILESSearchMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMode.h; sourceTree = ""; }; - F292EB511FC0EB7300D6E69B /* DBFILESSearchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchResult.h; sourceTree = ""; }; - F292EB521FC0EB7300D6E69B /* DBFILESSharedLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSharedLink.h; sourceTree = ""; }; - F292EB531FC0EB7300D6E69B /* DBFILESSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSharingInfo.h; sourceTree = ""; }; - F292EB541FC0EB7300D6E69B /* DBFILESThumbnailArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailArg.h; sourceTree = ""; }; - F292EB551FC0EB7300D6E69B /* DBFILESThumbnailError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailError.h; sourceTree = ""; }; - F292EB561FC0EB7300D6E69B /* DBFILESThumbnailFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailFormat.h; sourceTree = ""; }; - F292EB571FC0EB7300D6E69B /* DBFILESThumbnailSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailSize.h; sourceTree = ""; }; - F292EB581FC0EB7300D6E69B /* DBFILESUploadError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadError.h; sourceTree = ""; }; - F292EB591FC0EB7300D6E69B /* DBFILESUploadErrorWithProperties.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadErrorWithProperties.h; sourceTree = ""; }; - F292EB5A1FC0EB7300D6E69B /* DBFILESUploadSessionAppendArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionAppendArg.h; sourceTree = ""; }; - F292EB5B1FC0EB7300D6E69B /* DBFILESUploadSessionCursor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionCursor.h; sourceTree = ""; }; - F292EB5C1FC0EB7300D6E69B /* DBFILESUploadSessionFinishArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishArg.h; sourceTree = ""; }; - F292EB5D1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchArg.h; sourceTree = ""; }; - F292EB5E1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchJobStatus.h; sourceTree = ""; }; - F292EB5F1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchLaunch.h; sourceTree = ""; }; - F292EB601FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchResult.h; sourceTree = ""; }; - F292EB611FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchResultEntry.h; sourceTree = ""; }; - F292EB621FC0EB7300D6E69B /* DBFILESUploadSessionFinishError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishError.h; sourceTree = ""; }; - F292EB631FC0EB7300D6E69B /* DBFILESUploadSessionLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionLookupError.h; sourceTree = ""; }; - F292EB641FC0EB7300D6E69B /* DBFILESUploadSessionOffsetError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionOffsetError.h; sourceTree = ""; }; - F292EB651FC0EB7300D6E69B /* DBFILESUploadSessionStartArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartArg.h; sourceTree = ""; }; - F292EB661FC0EB7300D6E69B /* DBFILESUploadSessionStartResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartResult.h; sourceTree = ""; }; - F292EB671FC0EB7300D6E69B /* DBFILESUploadWriteFailed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadWriteFailed.h; sourceTree = ""; }; - F292EB681FC0EB7300D6E69B /* DBFILESVideoMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESVideoMetadata.h; sourceTree = ""; }; - F292EB691FC0EB7300D6E69B /* DBFILESWriteConflictError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteConflictError.h; sourceTree = ""; }; - F292EB6A1FC0EB7300D6E69B /* DBFILESWriteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteError.h; sourceTree = ""; }; - F292EB6B1FC0EB7300D6E69B /* DBFILESWriteMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteMode.h; sourceTree = ""; }; - F292EB6D1FC0EB7300D6E69B /* DBPaperObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPaperObjects.m; sourceTree = ""; }; - F292EB6F1FC0EB7300D6E69B /* DBPAPERAddMember.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddMember.h; sourceTree = ""; }; - F292EB701FC0EB7300D6E69B /* DBPAPERAddPaperDocUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUser.h; sourceTree = ""; }; - F292EB711FC0EB7300D6E69B /* DBPAPERAddPaperDocUserMemberResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUserMemberResult.h; sourceTree = ""; }; - F292EB721FC0EB7300D6E69B /* DBPAPERAddPaperDocUserResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUserResult.h; sourceTree = ""; }; - F292EB731FC0EB7300D6E69B /* DBPAPERCursor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERCursor.h; sourceTree = ""; }; - F292EB741FC0EB7300D6E69B /* DBPAPERDocLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERDocLookupError.h; sourceTree = ""; }; - F292EB751FC0EB7300D6E69B /* DBPAPERDocSubscriptionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERDocSubscriptionLevel.h; sourceTree = ""; }; - F292EB761FC0EB7300D6E69B /* DBPAPERExportFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERExportFormat.h; sourceTree = ""; }; - F292EB771FC0EB7300D6E69B /* DBPAPERFolder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolder.h; sourceTree = ""; }; - F292EB781FC0EB7300D6E69B /* DBPAPERFoldersContainingPaperDoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFoldersContainingPaperDoc.h; sourceTree = ""; }; - F292EB791FC0EB7300D6E69B /* DBPAPERFolderSharingPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolderSharingPolicyType.h; sourceTree = ""; }; - F292EB7A1FC0EB7300D6E69B /* DBPAPERFolderSubscriptionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolderSubscriptionLevel.h; sourceTree = ""; }; - F292EB7B1FC0EB7300D6E69B /* DBPAPERImportFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERImportFormat.h; sourceTree = ""; }; - F292EB7C1FC0EB7300D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERInviteeInfoWithPermissionLevel.h; sourceTree = ""; }; - F292EB7D1FC0EB7300D6E69B /* DBPAPERListDocsCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListDocsCursorError.h; sourceTree = ""; }; - F292EB7E1FC0EB7300D6E69B /* DBPAPERListPaperDocsArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsArgs.h; sourceTree = ""; }; - F292EB7F1FC0EB7300D6E69B /* DBPAPERListPaperDocsContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsContinueArgs.h; sourceTree = ""; }; - F292EB801FC0EB7300D6E69B /* DBPAPERListPaperDocsFilterBy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsFilterBy.h; sourceTree = ""; }; - F292EB811FC0EB7300D6E69B /* DBPAPERListPaperDocsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsResponse.h; sourceTree = ""; }; - F292EB821FC0EB7300D6E69B /* DBPAPERListPaperDocsSortBy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsSortBy.h; sourceTree = ""; }; - F292EB831FC0EB7300D6E69B /* DBPAPERListPaperDocsSortOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsSortOrder.h; sourceTree = ""; }; - F292EB841FC0EB7300D6E69B /* DBPAPERListUsersCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersCursorError.h; sourceTree = ""; }; - F292EB851FC0EB7300D6E69B /* DBPAPERListUsersOnFolderArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderArgs.h; sourceTree = ""; }; - F292EB861FC0EB7300D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderContinueArgs.h; sourceTree = ""; }; - F292EB871FC0EB7300D6E69B /* DBPAPERListUsersOnFolderResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderResponse.h; sourceTree = ""; }; - F292EB881FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocArgs.h; sourceTree = ""; }; - F292EB891FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocContinueArgs.h; sourceTree = ""; }; - F292EB8A1FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocResponse.h; sourceTree = ""; }; - F292EB8B1FC0EB7300D6E69B /* DBPAPERPaperApiBaseError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperApiBaseError.h; sourceTree = ""; }; - F292EB8C1FC0EB7300D6E69B /* DBPAPERPaperApiCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperApiCursorError.h; sourceTree = ""; }; - F292EB8D1FC0EB7300D6E69B /* DBPAPERPaperDocCreateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateArgs.h; sourceTree = ""; }; - F292EB8E1FC0EB7300D6E69B /* DBPAPERPaperDocCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateError.h; sourceTree = ""; }; - F292EB8F1FC0EB7300D6E69B /* DBPAPERPaperDocCreateUpdateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateUpdateResult.h; sourceTree = ""; }; - F292EB901FC0EB7300D6E69B /* DBPAPERPaperDocExport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocExport.h; sourceTree = ""; }; - F292EB911FC0EB7300D6E69B /* DBPAPERPaperDocExportResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocExportResult.h; sourceTree = ""; }; - F292EB921FC0EB7300D6E69B /* DBPAPERPaperDocPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocPermissionLevel.h; sourceTree = ""; }; - F292EB931FC0EB7300D6E69B /* DBPAPERPaperDocSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocSharingPolicy.h; sourceTree = ""; }; - F292EB941FC0EB7300D6E69B /* DBPAPERPaperDocUpdateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdateArgs.h; sourceTree = ""; }; - F292EB951FC0EB7300D6E69B /* DBPAPERPaperDocUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdateError.h; sourceTree = ""; }; - F292EB961FC0EB7300D6E69B /* DBPAPERPaperDocUpdatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdatePolicy.h; sourceTree = ""; }; - F292EB971FC0EB7300D6E69B /* DBPAPERRefPaperDoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRefPaperDoc.h; sourceTree = ""; }; - F292EB981FC0EB7300D6E69B /* DBPAPERRemovePaperDocUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRemovePaperDocUser.h; sourceTree = ""; }; - F292EB991FC0EB7300D6E69B /* DBPAPERSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingPolicy.h; sourceTree = ""; }; - F292EB9A1FC0EB7300D6E69B /* DBPAPERSharingPublicPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingPublicPolicyType.h; sourceTree = ""; }; - F292EB9B1FC0EB7300D6E69B /* DBPAPERSharingTeamPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingTeamPolicyType.h; sourceTree = ""; }; - F292EB9C1FC0EB7300D6E69B /* DBPAPERUserInfoWithPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserInfoWithPermissionLevel.h; sourceTree = ""; }; - F292EB9D1FC0EB7300D6E69B /* DBPAPERUserOnPaperDocFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserOnPaperDocFilter.h; sourceTree = ""; }; - F292EB9F1FC0EB7300D6E69B /* DBSharingObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSharingObjects.m; sourceTree = ""; }; - F292EBA11FC0EB7300D6E69B /* DBSHARINGAccessLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAccessLevel.h; sourceTree = ""; }; - F292EBA21FC0EB7300D6E69B /* DBSHARINGAclUpdatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAclUpdatePolicy.h; sourceTree = ""; }; - F292EBA31FC0EB7300D6E69B /* DBSHARINGAddFileMemberArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFileMemberArgs.h; sourceTree = ""; }; - F292EBA41FC0EB7300D6E69B /* DBSHARINGAddFileMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFileMemberError.h; sourceTree = ""; }; - F292EBA51FC0EB7300D6E69B /* DBSHARINGAddFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFolderMemberArg.h; sourceTree = ""; }; - F292EBA61FC0EB7300D6E69B /* DBSHARINGAddFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFolderMemberError.h; sourceTree = ""; }; - F292EBA71FC0EB7300D6E69B /* DBSHARINGAddMember.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddMember.h; sourceTree = ""; }; - F292EBA81FC0EB7300D6E69B /* DBSHARINGAddMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddMemberSelectorError.h; sourceTree = ""; }; - F292EBA91FC0EB7300D6E69B /* DBSHARINGAudienceExceptionContentInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceExceptionContentInfo.h; sourceTree = ""; }; - F292EBAA1FC0EB7300D6E69B /* DBSHARINGAudienceExceptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceExceptions.h; sourceTree = ""; }; - F292EBAB1FC0EB7300D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceRestrictingSharedFolder.h; sourceTree = ""; }; - F292EBAC1FC0EB7300D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGChangeFileMemberAccessArgs.h; sourceTree = ""; }; - F292EBAD1FC0EB7300D6E69B /* DBSHARINGCollectionLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCollectionLinkMetadata.h; sourceTree = ""; }; - F292EBAE1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkArg.h; sourceTree = ""; }; - F292EBAF1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkError.h; sourceTree = ""; }; - F292EBB01FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkWithSettingsArg.h; sourceTree = ""; }; - F292EBB11FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkWithSettingsError.h; sourceTree = ""; }; - F292EBB21FC0EB7300D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGExpectedSharedContentLinkMetadata.h; sourceTree = ""; }; - F292EBB31FC0EB7300D6E69B /* DBSHARINGFileAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileAction.h; sourceTree = ""; }; - F292EBB41FC0EB7300D6E69B /* DBSHARINGFileErrorResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileErrorResult.h; sourceTree = ""; }; - F292EBB51FC0EB7300D6E69B /* DBSHARINGFileLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileLinkMetadata.h; sourceTree = ""; }; - F292EBB61FC0EB7300D6E69B /* DBSHARINGFileMemberActionError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionError.h; sourceTree = ""; }; - F292EBB71FC0EB7300D6E69B /* DBSHARINGFileMemberActionIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionIndividualResult.h; sourceTree = ""; }; - F292EBB81FC0EB7300D6E69B /* DBSHARINGFileMemberActionResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionResult.h; sourceTree = ""; }; - F292EBB91FC0EB7300D6E69B /* DBSHARINGFileMemberRemoveActionResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberRemoveActionResult.h; sourceTree = ""; }; - F292EBBA1FC0EB7300D6E69B /* DBSHARINGFilePermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFilePermission.h; sourceTree = ""; }; - F292EBBB1FC0EB7300D6E69B /* DBSHARINGFolderAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderAction.h; sourceTree = ""; }; - F292EBBC1FC0EB7300D6E69B /* DBSHARINGFolderLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderLinkMetadata.h; sourceTree = ""; }; - F292EBBD1FC0EB7300D6E69B /* DBSHARINGFolderPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderPermission.h; sourceTree = ""; }; - F292EBBE1FC0EB7300D6E69B /* DBSHARINGFolderPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderPolicy.h; sourceTree = ""; }; - F292EBBF1FC0EB7300D6E69B /* DBSHARINGGetFileMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataArg.h; sourceTree = ""; }; - F292EBC01FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataBatchArg.h; sourceTree = ""; }; - F292EBC11FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataBatchResult.h; sourceTree = ""; }; - F292EBC21FC0EB7300D6E69B /* DBSHARINGGetFileMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataError.h; sourceTree = ""; }; - F292EBC31FC0EB7300D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataIndividualResult.h; sourceTree = ""; }; - F292EBC41FC0EB7300D6E69B /* DBSHARINGGetMetadataArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetMetadataArgs.h; sourceTree = ""; }; - F292EBC51FC0EB7300D6E69B /* DBSHARINGGetSharedLinkFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinkFileError.h; sourceTree = ""; }; - F292EBC61FC0EB7300D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinkMetadataArg.h; sourceTree = ""; }; - F292EBC71FC0EB7300D6E69B /* DBSHARINGGetSharedLinksArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksArg.h; sourceTree = ""; }; - F292EBC81FC0EB7300D6E69B /* DBSHARINGGetSharedLinksError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksError.h; sourceTree = ""; }; - F292EBC91FC0EB7300D6E69B /* DBSHARINGGetSharedLinksResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksResult.h; sourceTree = ""; }; - F292EBCA1FC0EB7300D6E69B /* DBSHARINGGroupInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGroupInfo.h; sourceTree = ""; }; - F292EBCB1FC0EB7300D6E69B /* DBSHARINGGroupMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGroupMembershipInfo.h; sourceTree = ""; }; - F292EBCC1FC0EB7300D6E69B /* DBSHARINGInsufficientPlan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInsufficientPlan.h; sourceTree = ""; }; - F292EBCD1FC0EB7300D6E69B /* DBSHARINGInsufficientQuotaAmounts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInsufficientQuotaAmounts.h; sourceTree = ""; }; - F292EBCE1FC0EB7300D6E69B /* DBSHARINGInviteeInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInviteeInfo.h; sourceTree = ""; }; - F292EBCF1FC0EB7300D6E69B /* DBSHARINGInviteeMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInviteeMembershipInfo.h; sourceTree = ""; }; - F292EBD01FC0EB7300D6E69B /* DBSHARINGJobError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGJobError.h; sourceTree = ""; }; - F292EBD11FC0EB7300D6E69B /* DBSHARINGJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGJobStatus.h; sourceTree = ""; }; - F292EBD21FC0EB7300D6E69B /* DBSHARINGLinkAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAction.h; sourceTree = ""; }; - F292EBD31FC0EB7300D6E69B /* DBSHARINGLinkAudience.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAudience.h; sourceTree = ""; }; - F292EBD41FC0EB7300D6E69B /* DBSHARINGLinkExpiry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkExpiry.h; sourceTree = ""; }; - F292EBD51FC0EB7300D6E69B /* DBSHARINGLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkMetadata.h; sourceTree = ""; }; - F292EBD61FC0EB7300D6E69B /* DBSHARINGLinkPassword.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPassword.h; sourceTree = ""; }; - F292EBD71FC0EB7300D6E69B /* DBSHARINGLinkPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPermission.h; sourceTree = ""; }; - F292EBD81FC0EB7300D6E69B /* DBSHARINGLinkPermissions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPermissions.h; sourceTree = ""; }; - F292EBD91FC0EB7300D6E69B /* DBSHARINGLinkSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkSettings.h; sourceTree = ""; }; - F292EBDA1FC0EB7300D6E69B /* DBSHARINGListFileMembersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersArg.h; sourceTree = ""; }; - F292EBDB1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersBatchArg.h; sourceTree = ""; }; - F292EBDC1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersBatchResult.h; sourceTree = ""; }; - F292EBDD1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersContinueArg.h; sourceTree = ""; }; - F292EBDE1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersContinueError.h; sourceTree = ""; }; - F292EBDF1FC0EB7300D6E69B /* DBSHARINGListFileMembersCountResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersCountResult.h; sourceTree = ""; }; - F292EBE01FC0EB7300D6E69B /* DBSHARINGListFileMembersError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersError.h; sourceTree = ""; }; - F292EBE11FC0EB7300D6E69B /* DBSHARINGListFileMembersIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersIndividualResult.h; sourceTree = ""; }; - F292EBE21FC0EB7300D6E69B /* DBSHARINGListFilesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesArg.h; sourceTree = ""; }; - F292EBE31FC0EB7300D6E69B /* DBSHARINGListFilesContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesContinueArg.h; sourceTree = ""; }; - F292EBE41FC0EB7300D6E69B /* DBSHARINGListFilesContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesContinueError.h; sourceTree = ""; }; - F292EBE51FC0EB7300D6E69B /* DBSHARINGListFilesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesResult.h; sourceTree = ""; }; - F292EBE61FC0EB7300D6E69B /* DBSHARINGListFolderMembersArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersArgs.h; sourceTree = ""; }; - F292EBE71FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersContinueArg.h; sourceTree = ""; }; - F292EBE81FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersContinueError.h; sourceTree = ""; }; - F292EBE91FC0EB7300D6E69B /* DBSHARINGListFolderMembersCursorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersCursorArg.h; sourceTree = ""; }; - F292EBEA1FC0EB7300D6E69B /* DBSHARINGListFoldersArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersArgs.h; sourceTree = ""; }; - F292EBEB1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersContinueArg.h; sourceTree = ""; }; - F292EBEC1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersContinueError.h; sourceTree = ""; }; - F292EBED1FC0EB7300D6E69B /* DBSHARINGListFoldersResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersResult.h; sourceTree = ""; }; - F292EBEE1FC0EB7300D6E69B /* DBSHARINGListSharedLinksArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksArg.h; sourceTree = ""; }; - F292EBEF1FC0EB7300D6E69B /* DBSHARINGListSharedLinksError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksError.h; sourceTree = ""; }; - F292EBF01FC0EB7300D6E69B /* DBSHARINGListSharedLinksResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksResult.h; sourceTree = ""; }; - F292EBF11FC0EB7300D6E69B /* DBSHARINGMemberAccessLevelResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberAccessLevelResult.h; sourceTree = ""; }; - F292EBF21FC0EB7300D6E69B /* DBSHARINGMemberAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberAction.h; sourceTree = ""; }; - F292EBF31FC0EB7300D6E69B /* DBSHARINGMemberPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberPermission.h; sourceTree = ""; }; - F292EBF41FC0EB7300D6E69B /* DBSHARINGMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberPolicy.h; sourceTree = ""; }; - F292EBF51FC0EB7300D6E69B /* DBSHARINGMemberSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberSelector.h; sourceTree = ""; }; - F292EBF61FC0EB7300D6E69B /* DBSHARINGMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMembershipInfo.h; sourceTree = ""; }; - F292EBF71FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGModifySharedLinkSettingsArgs.h; sourceTree = ""; }; - F292EBF81FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGModifySharedLinkSettingsError.h; sourceTree = ""; }; - F292EBF91FC0EB7300D6E69B /* DBSHARINGMountFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMountFolderArg.h; sourceTree = ""; }; - F292EBFA1FC0EB7300D6E69B /* DBSHARINGMountFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMountFolderError.h; sourceTree = ""; }; - F292EBFB1FC0EB7300D6E69B /* DBSHARINGParentFolderAccessInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGParentFolderAccessInfo.h; sourceTree = ""; }; - F292EBFC1FC0EB7300D6E69B /* DBSHARINGPathLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPathLinkMetadata.h; sourceTree = ""; }; - F292EBFD1FC0EB7300D6E69B /* DBSHARINGPendingUploadMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPendingUploadMode.h; sourceTree = ""; }; - F292EBFE1FC0EB7300D6E69B /* DBSHARINGPermissionDeniedReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPermissionDeniedReason.h; sourceTree = ""; }; - F292EBFF1FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFileMembershipArg.h; sourceTree = ""; }; - F292EC001FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFileMembershipError.h; sourceTree = ""; }; - F292EC011FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFolderMembershipArg.h; sourceTree = ""; }; - F292EC021FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFolderMembershipError.h; sourceTree = ""; }; - F292EC031FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFileMemberArg.h; sourceTree = ""; }; - F292EC041FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFileMemberError.h; sourceTree = ""; }; - F292EC051FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFolderMemberArg.h; sourceTree = ""; }; - F292EC061FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFolderMemberError.h; sourceTree = ""; }; - F292EC071FC0EB7300D6E69B /* DBSHARINGRemoveMemberJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveMemberJobStatus.h; sourceTree = ""; }; - F292EC081FC0EB7300D6E69B /* DBSHARINGRequestedVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRequestedVisibility.h; sourceTree = ""; }; - F292EC091FC0EB7300D6E69B /* DBSHARINGResolvedVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGResolvedVisibility.h; sourceTree = ""; }; - F292EC0A1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRevokeSharedLinkArg.h; sourceTree = ""; }; - F292EC0B1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRevokeSharedLinkError.h; sourceTree = ""; }; - F292EC0C1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedContentLinkMetadata.h; sourceTree = ""; }; - F292EC0D1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedContentLinkMetadataBase.h; sourceTree = ""; }; - F292EC0E1FC0EB7300D6E69B /* DBSHARINGSharedFileMembers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFileMembers.h; sourceTree = ""; }; - F292EC0F1FC0EB7300D6E69B /* DBSHARINGSharedFileMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFileMetadata.h; sourceTree = ""; }; - F292EC101FC0EB7300D6E69B /* DBSHARINGSharedFolderAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderAccessError.h; sourceTree = ""; }; - F292EC111FC0EB7300D6E69B /* DBSHARINGSharedFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMemberError.h; sourceTree = ""; }; - F292EC121FC0EB7300D6E69B /* DBSHARINGSharedFolderMembers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMembers.h; sourceTree = ""; }; - F292EC131FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMetadata.h; sourceTree = ""; }; - F292EC141FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadataBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMetadataBase.h; sourceTree = ""; }; - F292EC151FC0EB7300D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkAccessFailureReason.h; sourceTree = ""; }; - F292EC161FC0EB7300D6E69B /* DBSHARINGSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkError.h; sourceTree = ""; }; - F292EC171FC0EB7300D6E69B /* DBSHARINGSharedLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkMetadata.h; sourceTree = ""; }; - F292EC181FC0EB7300D6E69B /* DBSHARINGSharedLinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkPolicy.h; sourceTree = ""; }; - F292EC191FC0EB7300D6E69B /* DBSHARINGSharedLinkSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkSettings.h; sourceTree = ""; }; - F292EC1A1FC0EB7300D6E69B /* DBSHARINGSharedLinkSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkSettingsError.h; sourceTree = ""; }; - F292EC1B1FC0EB7300D6E69B /* DBSHARINGShareFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderArg.h; sourceTree = ""; }; - F292EC1C1FC0EB7300D6E69B /* DBSHARINGShareFolderArgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderArgBase.h; sourceTree = ""; }; - F292EC1D1FC0EB7300D6E69B /* DBSHARINGShareFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderError.h; sourceTree = ""; }; - F292EC1E1FC0EB7300D6E69B /* DBSHARINGShareFolderErrorBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderErrorBase.h; sourceTree = ""; }; - F292EC1F1FC0EB7300D6E69B /* DBSHARINGShareFolderJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderJobStatus.h; sourceTree = ""; }; - F292EC201FC0EB7300D6E69B /* DBSHARINGShareFolderLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderLaunch.h; sourceTree = ""; }; - F292EC211FC0EB7300D6E69B /* DBSHARINGSharePathError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharePathError.h; sourceTree = ""; }; - F292EC221FC0EB7300D6E69B /* DBSHARINGSharingFileAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharingFileAccessError.h; sourceTree = ""; }; - F292EC231FC0EB7300D6E69B /* DBSHARINGSharingUserError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharingUserError.h; sourceTree = ""; }; - F292EC241FC0EB7300D6E69B /* DBSHARINGTeamMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTeamMemberInfo.h; sourceTree = ""; }; - F292EC251FC0EB7300D6E69B /* DBSHARINGTransferFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTransferFolderArg.h; sourceTree = ""; }; - F292EC261FC0EB7300D6E69B /* DBSHARINGTransferFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTransferFolderError.h; sourceTree = ""; }; - F292EC271FC0EB7300D6E69B /* DBSHARINGUnmountFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnmountFolderArg.h; sourceTree = ""; }; - F292EC281FC0EB7300D6E69B /* DBSHARINGUnmountFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnmountFolderError.h; sourceTree = ""; }; - F292EC291FC0EB7300D6E69B /* DBSHARINGUnshareFileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFileArg.h; sourceTree = ""; }; - F292EC2A1FC0EB7300D6E69B /* DBSHARINGUnshareFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFileError.h; sourceTree = ""; }; - F292EC2B1FC0EB7300D6E69B /* DBSHARINGUnshareFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFolderArg.h; sourceTree = ""; }; - F292EC2C1FC0EB7300D6E69B /* DBSHARINGUnshareFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFolderError.h; sourceTree = ""; }; - F292EC2D1FC0EB7300D6E69B /* DBSHARINGUpdateFileMemberArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFileMemberArgs.h; sourceTree = ""; }; - F292EC2E1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderMemberArg.h; sourceTree = ""; }; - F292EC2F1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderMemberError.h; sourceTree = ""; }; - F292EC301FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderPolicyArg.h; sourceTree = ""; }; - F292EC311FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderPolicyError.h; sourceTree = ""; }; - F292EC321FC0EB7300D6E69B /* DBSHARINGUserFileMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserFileMembershipInfo.h; sourceTree = ""; }; - F292EC331FC0EB7300D6E69B /* DBSHARINGUserInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserInfo.h; sourceTree = ""; }; - F292EC341FC0EB7300D6E69B /* DBSHARINGUserMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserMembershipInfo.h; sourceTree = ""; }; - F292EC351FC0EB7300D6E69B /* DBSHARINGViewerInfoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGViewerInfoPolicy.h; sourceTree = ""; }; - F292EC361FC0EB7300D6E69B /* DBSHARINGVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGVisibility.h; sourceTree = ""; }; - F292EC381FC0EB7300D6E69B /* DBTeamObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamObjects.m; sourceTree = ""; }; - F292EC3A1FC0EB7300D6E69B /* DBTEAMActiveWebSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMActiveWebSession.h; sourceTree = ""; }; - F292EC3B1FC0EB7300D6E69B /* DBTEAMAdminTier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAdminTier.h; sourceTree = ""; }; - F292EC3C1FC0EB7300D6E69B /* DBTEAMApiApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMApiApp.h; sourceTree = ""; }; - F292EC3D1FC0EB7300D6E69B /* DBTEAMBaseDfbReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMBaseDfbReport.h; sourceTree = ""; }; - F292EC3E1FC0EB7300D6E69B /* DBTEAMBaseTeamFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMBaseTeamFolderError.h; sourceTree = ""; }; - F292EC3F1FC0EB7300D6E69B /* DBTEAMCustomQuotaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaError.h; sourceTree = ""; }; - F292EC401FC0EB7300D6E69B /* DBTEAMCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaResult.h; sourceTree = ""; }; - F292EC411FC0EB7300D6E69B /* DBTEAMCustomQuotaUsersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaUsersArg.h; sourceTree = ""; }; - F292EC421FC0EB7300D6E69B /* DBTEAMDateRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDateRange.h; sourceTree = ""; }; - F292EC431FC0EB7300D6E69B /* DBTEAMDateRangeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDateRangeError.h; sourceTree = ""; }; - F292EC441FC0EB7300D6E69B /* DBTEAMDesktopClientSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDesktopClientSession.h; sourceTree = ""; }; - F292EC451FC0EB7300D6E69B /* DBTEAMDesktopPlatform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDesktopPlatform.h; sourceTree = ""; }; - F292EC461FC0EB7300D6E69B /* DBTEAMDevicesActive.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDevicesActive.h; sourceTree = ""; }; - F292EC471FC0EB7300D6E69B /* DBTEAMDeviceSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeviceSession.h; sourceTree = ""; }; - F292EC481FC0EB7300D6E69B /* DBTEAMDeviceSessionArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeviceSessionArg.h; sourceTree = ""; }; - F292EC491FC0EB7300D6E69B /* DBTEAMExcludedUsersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListArg.h; sourceTree = ""; }; - F292EC4A1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListContinueArg.h; sourceTree = ""; }; - F292EC4B1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListContinueError.h; sourceTree = ""; }; - F292EC4C1FC0EB7300D6E69B /* DBTEAMExcludedUsersListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListError.h; sourceTree = ""; }; - F292EC4D1FC0EB7300D6E69B /* DBTEAMExcludedUsersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListResult.h; sourceTree = ""; }; - F292EC4E1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateArg.h; sourceTree = ""; }; - F292EC4F1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateError.h; sourceTree = ""; }; - F292EC501FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateResult.h; sourceTree = ""; }; - F292EC511FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateStatus.h; sourceTree = ""; }; - F292EC521FC0EB7300D6E69B /* DBTEAMFeature.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeature.h; sourceTree = ""; }; - F292EC531FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchArg.h; sourceTree = ""; }; - F292EC541FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchError.h; sourceTree = ""; }; - F292EC551FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchResult.h; sourceTree = ""; }; - F292EC561FC0EB7300D6E69B /* DBTEAMFeatureValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeatureValue.h; sourceTree = ""; }; - F292EC571FC0EB7300D6E69B /* DBTEAMGetActivityReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetActivityReport.h; sourceTree = ""; }; - F292EC581FC0EB7300D6E69B /* DBTEAMGetDevicesReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetDevicesReport.h; sourceTree = ""; }; - F292EC591FC0EB7300D6E69B /* DBTEAMGetMembershipReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetMembershipReport.h; sourceTree = ""; }; - F292EC5A1FC0EB7300D6E69B /* DBTEAMGetStorageReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetStorageReport.h; sourceTree = ""; }; - F292EC5B1FC0EB7300D6E69B /* DBTEAMGroupAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupAccessType.h; sourceTree = ""; }; - F292EC5C1FC0EB7300D6E69B /* DBTEAMGroupCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupCreateArg.h; sourceTree = ""; }; - F292EC5D1FC0EB7300D6E69B /* DBTEAMGroupCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupCreateError.h; sourceTree = ""; }; - F292EC5E1FC0EB7300D6E69B /* DBTEAMGroupDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupDeleteError.h; sourceTree = ""; }; - F292EC5F1FC0EB7300D6E69B /* DBTEAMGroupFullInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupFullInfo.h; sourceTree = ""; }; - F292EC601FC0EB7300D6E69B /* DBTEAMGroupMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberInfo.h; sourceTree = ""; }; - F292EC611FC0EB7300D6E69B /* DBTEAMGroupMembersAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersAddArg.h; sourceTree = ""; }; - F292EC621FC0EB7300D6E69B /* DBTEAMGroupMembersAddError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersAddError.h; sourceTree = ""; }; - F292EC631FC0EB7300D6E69B /* DBTEAMGroupMembersChangeResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersChangeResult.h; sourceTree = ""; }; - F292EC641FC0EB7300D6E69B /* DBTEAMGroupMemberSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSelector.h; sourceTree = ""; }; - F292EC651FC0EB7300D6E69B /* DBTEAMGroupMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSelectorError.h; sourceTree = ""; }; - F292EC661FC0EB7300D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSetAccessTypeError.h; sourceTree = ""; }; - F292EC671FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersRemoveArg.h; sourceTree = ""; }; - F292EC681FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersRemoveError.h; sourceTree = ""; }; - F292EC691FC0EB7300D6E69B /* DBTEAMGroupMembersSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSelector.h; sourceTree = ""; }; - F292EC6A1FC0EB7300D6E69B /* DBTEAMGroupMembersSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSelectorError.h; sourceTree = ""; }; - F292EC6B1FC0EB7300D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSetAccessTypeArg.h; sourceTree = ""; }; - F292EC6C1FC0EB7300D6E69B /* DBTEAMGroupSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelector.h; sourceTree = ""; }; - F292EC6D1FC0EB7300D6E69B /* DBTEAMGroupSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelectorError.h; sourceTree = ""; }; - F292EC6E1FC0EB7300D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelectorWithTeamGroupError.h; sourceTree = ""; }; - F292EC6F1FC0EB7300D6E69B /* DBTEAMGroupsGetInfoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsGetInfoError.h; sourceTree = ""; }; - F292EC701FC0EB7300D6E69B /* DBTEAMGroupsGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsGetInfoItem.h; sourceTree = ""; }; - F292EC711FC0EB7300D6E69B /* DBTEAMGroupsListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListArg.h; sourceTree = ""; }; - F292EC721FC0EB7300D6E69B /* DBTEAMGroupsListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListContinueArg.h; sourceTree = ""; }; - F292EC731FC0EB7300D6E69B /* DBTEAMGroupsListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListContinueError.h; sourceTree = ""; }; - F292EC741FC0EB7300D6E69B /* DBTEAMGroupsListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListResult.h; sourceTree = ""; }; - F292EC751FC0EB7300D6E69B /* DBTEAMGroupsMembersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListArg.h; sourceTree = ""; }; - F292EC761FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListContinueArg.h; sourceTree = ""; }; - F292EC771FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListContinueError.h; sourceTree = ""; }; - F292EC781FC0EB7300D6E69B /* DBTEAMGroupsMembersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListResult.h; sourceTree = ""; }; - F292EC791FC0EB7300D6E69B /* DBTEAMGroupsPollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsPollError.h; sourceTree = ""; }; - F292EC7A1FC0EB7300D6E69B /* DBTEAMGroupsSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsSelector.h; sourceTree = ""; }; - F292EC7B1FC0EB7300D6E69B /* DBTEAMGroupUpdateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupUpdateArgs.h; sourceTree = ""; }; - F292EC7C1FC0EB7300D6E69B /* DBTEAMGroupUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupUpdateError.h; sourceTree = ""; }; - F292EC7D1FC0EB7300D6E69B /* DBTEAMHasTeamFileEventsValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMHasTeamFileEventsValue.h; sourceTree = ""; }; - F292EC7E1FC0EB7300D6E69B /* DBTEAMHasTeamSharedDropboxValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMHasTeamSharedDropboxValue.h; sourceTree = ""; }; - F292EC7F1FC0EB7300D6E69B /* DBTEAMIncludeMembersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMIncludeMembersArg.h; sourceTree = ""; }; - F292EC801FC0EB7300D6E69B /* DBTEAMListMemberAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsArg.h; sourceTree = ""; }; - F292EC811FC0EB7300D6E69B /* DBTEAMListMemberAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsError.h; sourceTree = ""; }; - F292EC821FC0EB7300D6E69B /* DBTEAMListMemberAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsResult.h; sourceTree = ""; }; - F292EC831FC0EB7300D6E69B /* DBTEAMListMemberDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesArg.h; sourceTree = ""; }; - F292EC841FC0EB7300D6E69B /* DBTEAMListMemberDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesError.h; sourceTree = ""; }; - F292EC851FC0EB7300D6E69B /* DBTEAMListMemberDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesResult.h; sourceTree = ""; }; - F292EC861FC0EB7300D6E69B /* DBTEAMListMembersAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsArg.h; sourceTree = ""; }; - F292EC871FC0EB7300D6E69B /* DBTEAMListMembersAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsError.h; sourceTree = ""; }; - F292EC881FC0EB7300D6E69B /* DBTEAMListMembersAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsResult.h; sourceTree = ""; }; - F292EC891FC0EB7300D6E69B /* DBTEAMListMembersDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesArg.h; sourceTree = ""; }; - F292EC8A1FC0EB7300D6E69B /* DBTEAMListMembersDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesError.h; sourceTree = ""; }; - F292EC8B1FC0EB7300D6E69B /* DBTEAMListMembersDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesResult.h; sourceTree = ""; }; - F292EC8C1FC0EB7300D6E69B /* DBTEAMListTeamAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsArg.h; sourceTree = ""; }; - F292EC8D1FC0EB7300D6E69B /* DBTEAMListTeamAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsError.h; sourceTree = ""; }; - F292EC8E1FC0EB7300D6E69B /* DBTEAMListTeamAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsResult.h; sourceTree = ""; }; - F292EC8F1FC0EB7300D6E69B /* DBTEAMListTeamDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesArg.h; sourceTree = ""; }; - F292EC901FC0EB7300D6E69B /* DBTEAMListTeamDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesError.h; sourceTree = ""; }; - F292EC911FC0EB7300D6E69B /* DBTEAMListTeamDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesResult.h; sourceTree = ""; }; - F292EC921FC0EB7300D6E69B /* DBTEAMMemberAccess.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAccess.h; sourceTree = ""; }; - F292EC931FC0EB7300D6E69B /* DBTEAMMemberAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddArg.h; sourceTree = ""; }; - F292EC941FC0EB7300D6E69B /* DBTEAMMemberAddResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddResult.h; sourceTree = ""; }; - F292EC951FC0EB7300D6E69B /* DBTEAMMemberDevices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberDevices.h; sourceTree = ""; }; - F292EC961FC0EB7300D6E69B /* DBTEAMMemberLinkedApps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberLinkedApps.h; sourceTree = ""; }; - F292EC971FC0EB7300D6E69B /* DBTEAMMemberProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberProfile.h; sourceTree = ""; }; - F292EC981FC0EB7300D6E69B /* DBTEAMMembersAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddArg.h; sourceTree = ""; }; - F292EC991FC0EB7300D6E69B /* DBTEAMMembersAddJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddJobStatus.h; sourceTree = ""; }; - F292EC9A1FC0EB7300D6E69B /* DBTEAMMembersAddLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddLaunch.h; sourceTree = ""; }; - F292EC9B1FC0EB7300D6E69B /* DBTEAMMembersDeactivateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeactivateArg.h; sourceTree = ""; }; - F292EC9C1FC0EB7300D6E69B /* DBTEAMMembersDeactivateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeactivateError.h; sourceTree = ""; }; - F292EC9D1FC0EB7300D6E69B /* DBTEAMMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberSelectorError.h; sourceTree = ""; }; - F292EC9E1FC0EB7300D6E69B /* DBTEAMMembersGetInfoArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoArgs.h; sourceTree = ""; }; - F292EC9F1FC0EB7300D6E69B /* DBTEAMMembersGetInfoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoError.h; sourceTree = ""; }; - F292ECA01FC0EB7300D6E69B /* DBTEAMMembersGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoItem.h; sourceTree = ""; }; - F292ECA11FC0EB7300D6E69B /* DBTEAMMembersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListArg.h; sourceTree = ""; }; - F292ECA21FC0EB7300D6E69B /* DBTEAMMembersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListContinueArg.h; sourceTree = ""; }; - F292ECA31FC0EB7300D6E69B /* DBTEAMMembersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListContinueError.h; sourceTree = ""; }; - F292ECA41FC0EB7300D6E69B /* DBTEAMMembersListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListError.h; sourceTree = ""; }; - F292ECA51FC0EB7300D6E69B /* DBTEAMMembersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListResult.h; sourceTree = ""; }; - F292ECA61FC0EB7300D6E69B /* DBTEAMMembersRecoverArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRecoverArg.h; sourceTree = ""; }; - F292ECA71FC0EB7300D6E69B /* DBTEAMMembersRecoverError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRecoverError.h; sourceTree = ""; }; - F292ECA81FC0EB7300D6E69B /* DBTEAMMembersRemoveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRemoveArg.h; sourceTree = ""; }; - F292ECA91FC0EB7300D6E69B /* DBTEAMMembersRemoveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRemoveError.h; sourceTree = ""; }; - F292ECAA1FC0EB7300D6E69B /* DBTEAMMembersSendWelcomeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSendWelcomeError.h; sourceTree = ""; }; - F292ECAB1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsArg.h; sourceTree = ""; }; - F292ECAC1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsError.h; sourceTree = ""; }; - F292ECAD1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsResult.h; sourceTree = ""; }; - F292ECAE1FC0EB7300D6E69B /* DBTEAMMembersSetProfileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfileArg.h; sourceTree = ""; }; - F292ECAF1FC0EB7300D6E69B /* DBTEAMMembersSetProfileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfileError.h; sourceTree = ""; }; - F292ECB01FC0EB7300D6E69B /* DBTEAMMembersSuspendError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSuspendError.h; sourceTree = ""; }; - F292ECB11FC0EB7300D6E69B /* DBTEAMMembersUnsuspendArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersUnsuspendArg.h; sourceTree = ""; }; - F292ECB21FC0EB7300D6E69B /* DBTEAMMembersUnsuspendError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersUnsuspendError.h; sourceTree = ""; }; - F292ECB31FC0EB7300D6E69B /* DBTEAMMobileClientPlatform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMobileClientPlatform.h; sourceTree = ""; }; - F292ECB41FC0EB7300D6E69B /* DBTEAMMobileClientSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMobileClientSession.h; sourceTree = ""; }; - F292ECB51FC0EB7300D6E69B /* DBTEAMNamespaceMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMNamespaceMetadata.h; sourceTree = ""; }; - F292ECB61FC0EB7300D6E69B /* DBTEAMNamespaceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMNamespaceType.h; sourceTree = ""; }; - F292ECB71FC0EB7300D6E69B /* DBTEAMRemoveCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRemoveCustomQuotaResult.h; sourceTree = ""; }; - F292ECB81FC0EB7300D6E69B /* DBTEAMRemovedStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRemovedStatus.h; sourceTree = ""; }; - F292ECB91FC0EB7300D6E69B /* DBTEAMRevokeDesktopClientArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDesktopClientArg.h; sourceTree = ""; }; - F292ECBA1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionArg.h; sourceTree = ""; }; - F292ECBB1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchArg.h; sourceTree = ""; }; - F292ECBC1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchError.h; sourceTree = ""; }; - F292ECBD1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchResult.h; sourceTree = ""; }; - F292ECBE1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionError.h; sourceTree = ""; }; - F292ECBF1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionStatus.h; sourceTree = ""; }; - F292ECC01FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedApiAppArg.h; sourceTree = ""; }; - F292ECC11FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedApiAppBatchArg.h; sourceTree = ""; }; - F292ECC21FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppBatchError.h; sourceTree = ""; }; - F292ECC31FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppBatchResult.h; sourceTree = ""; }; - F292ECC41FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppError.h; sourceTree = ""; }; - F292ECC51FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppStatus.h; sourceTree = ""; }; - F292ECC61FC0EB7300D6E69B /* DBTEAMSetCustomQuotaArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSetCustomQuotaArg.h; sourceTree = ""; }; - F292ECC71FC0EB7300D6E69B /* DBTEAMSetCustomQuotaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSetCustomQuotaError.h; sourceTree = ""; }; - F292ECC81FC0EB7300D6E69B /* DBTEAMStorageBucket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMStorageBucket.h; sourceTree = ""; }; - F292ECC91FC0EB7300D6E69B /* DBTEAMTeamFolderAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderAccessError.h; sourceTree = ""; }; - F292ECCA1FC0EB7300D6E69B /* DBTEAMTeamFolderActivateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderActivateError.h; sourceTree = ""; }; - F292ECCB1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveArg.h; sourceTree = ""; }; - F292ECCC1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveError.h; sourceTree = ""; }; - F292ECCD1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveJobStatus.h; sourceTree = ""; }; - F292ECCE1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveLaunch.h; sourceTree = ""; }; - F292ECCF1FC0EB7300D6E69B /* DBTEAMTeamFolderCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderCreateArg.h; sourceTree = ""; }; - F292ECD01FC0EB7300D6E69B /* DBTEAMTeamFolderCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderCreateError.h; sourceTree = ""; }; - F292ECD11FC0EB7300D6E69B /* DBTEAMTeamFolderGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderGetInfoItem.h; sourceTree = ""; }; - F292ECD21FC0EB7300D6E69B /* DBTEAMTeamFolderIdArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderIdArg.h; sourceTree = ""; }; - F292ECD31FC0EB7300D6E69B /* DBTEAMTeamFolderIdListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderIdListArg.h; sourceTree = ""; }; - F292ECD41FC0EB7300D6E69B /* DBTEAMTeamFolderInvalidStatusError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderInvalidStatusError.h; sourceTree = ""; }; - F292ECD51FC0EB7300D6E69B /* DBTEAMTeamFolderListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListArg.h; sourceTree = ""; }; - F292ECD61FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListContinueArg.h; sourceTree = ""; }; - F292ECD71FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListContinueError.h; sourceTree = ""; }; - F292ECD81FC0EB7300D6E69B /* DBTEAMTeamFolderListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListError.h; sourceTree = ""; }; - F292ECD91FC0EB7300D6E69B /* DBTEAMTeamFolderListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListResult.h; sourceTree = ""; }; - F292ECDA1FC0EB7300D6E69B /* DBTEAMTeamFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderMetadata.h; sourceTree = ""; }; - F292ECDB1FC0EB7300D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderPermanentlyDeleteError.h; sourceTree = ""; }; - F292ECDC1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderRenameArg.h; sourceTree = ""; }; - F292ECDD1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderRenameError.h; sourceTree = ""; }; - F292ECDE1FC0EB7300D6E69B /* DBTEAMTeamFolderStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderStatus.h; sourceTree = ""; }; - F292ECDF1FC0EB7300D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderTeamSharedDropboxError.h; sourceTree = ""; }; - F292ECE01FC0EB7300D6E69B /* DBTEAMTeamGetInfoResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamGetInfoResult.h; sourceTree = ""; }; - F292ECE11FC0EB7300D6E69B /* DBTEAMTeamMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberInfo.h; sourceTree = ""; }; - F292ECE21FC0EB7300D6E69B /* DBTEAMTeamMemberProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberProfile.h; sourceTree = ""; }; - F292ECE31FC0EB7300D6E69B /* DBTEAMTeamMembershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMembershipType.h; sourceTree = ""; }; - F292ECE41FC0EB7300D6E69B /* DBTEAMTeamMemberStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberStatus.h; sourceTree = ""; }; - F292ECE51FC0EB7300D6E69B /* DBTEAMTeamNamespacesListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListArg.h; sourceTree = ""; }; - F292ECE61FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListContinueArg.h; sourceTree = ""; }; - F292ECE71FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListContinueError.h; sourceTree = ""; }; - F292ECE81FC0EB7300D6E69B /* DBTEAMTeamNamespacesListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListResult.h; sourceTree = ""; }; - F292ECE91FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTokenGetAuthenticatedAdminError.h; sourceTree = ""; }; - F292ECEA1FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTokenGetAuthenticatedAdminResult.h; sourceTree = ""; }; - F292ECEB1FC0EB7300D6E69B /* DBTEAMUploadApiRateLimitValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUploadApiRateLimitValue.h; sourceTree = ""; }; - F292ECEC1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserCustomQuotaArg.h; sourceTree = ""; }; - F292ECED1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserCustomQuotaResult.h; sourceTree = ""; }; - F292ECEE1FC0EB7300D6E69B /* DBTEAMUserSelectorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSelectorArg.h; sourceTree = ""; }; - F292ECEF1FC0EB7300D6E69B /* DBTEAMUserSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSelectorError.h; sourceTree = ""; }; - F292ECF01FC0EB7300D6E69B /* DBTEAMUsersSelectorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUsersSelectorArg.h; sourceTree = ""; }; - F292ECF21FC0EB7300D6E69B /* DBTeamCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamCommonObjects.m; sourceTree = ""; }; - F292ECF41FC0EB7300D6E69B /* DBTEAMCOMMONGroupManagementType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupManagementType.h; sourceTree = ""; }; - F292ECF51FC0EB7300D6E69B /* DBTEAMCOMMONGroupSummary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupSummary.h; sourceTree = ""; }; - F292ECF61FC0EB7300D6E69B /* DBTEAMCOMMONGroupType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupType.h; sourceTree = ""; }; - F292ECF71FC0EB7300D6E69B /* DBTEAMCOMMONTimeRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONTimeRange.h; sourceTree = ""; }; - F292ECF91FC0EB7300D6E69B /* DBTeamLogObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamLogObjects.m; sourceTree = ""; }; - F292ECFB1FC0EB7300D6E69B /* DBTEAMLOGAccessMethodLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccessMethodLogInfo.h; sourceTree = ""; }; - F292ECFC1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureAvailability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureAvailability.h; sourceTree = ""; }; - F292ECFD1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h; sourceTree = ""; }; - F292ECFE1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangePolicyDetails.h; sourceTree = ""; }; - F292ECFF1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureMigrateAccountDetails.h; sourceTree = ""; }; - F292ED001FC0EB7300D6E69B /* DBTEAMLOGAccountCapturePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCapturePolicy.h; sourceTree = ""; }; - F292ED011FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureRelinquishAccountDetails.h; sourceTree = ""; }; - F292ED021FC0EB7300D6E69B /* DBTEAMLOGActorLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGActorLogInfo.h; sourceTree = ""; }; - F292ED031FC0EB7300D6E69B /* DBTEAMLOGAdminRole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminRole.h; sourceTree = ""; }; - F292ED041FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadDisabledDetails.h; sourceTree = ""; }; - F292ED051FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadEnabledDetails.h; sourceTree = ""; }; - F292ED061FC0EB7300D6E69B /* DBTEAMLOGApiSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGApiSessionLogInfo.h; sourceTree = ""; }; - F292ED071FC0EB7300D6E69B /* DBTEAMLOGAppLinkTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkTeamDetails.h; sourceTree = ""; }; - F292ED081FC0EB7300D6E69B /* DBTEAMLOGAppLinkUserDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkUserDetails.h; sourceTree = ""; }; - F292ED091FC0EB7300D6E69B /* DBTEAMLOGAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLogInfo.h; sourceTree = ""; }; - F292ED0A1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkTeamDetails.h; sourceTree = ""; }; - F292ED0B1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkUserDetails.h; sourceTree = ""; }; - F292ED0C1FC0EB7300D6E69B /* DBTEAMLOGAssetLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAssetLogInfo.h; sourceTree = ""; }; - F292ED0D1FC0EB7300D6E69B /* DBTEAMLOGCertificate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCertificate.h; sourceTree = ""; }; - F292ED0E1FC0EB7300D6E69B /* DBTEAMLOGCollectionShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCollectionShareDetails.h; sourceTree = ""; }; - F292ED0F1FC0EB7300D6E69B /* DBTEAMLOGConfidentiality.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGConfidentiality.h; sourceTree = ""; }; - F292ED101FC0EB7300D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContentPermanentDeletePolicy.h; sourceTree = ""; }; - F292ED111FC0EB7300D6E69B /* DBTEAMLOGContextLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContextLogInfo.h; sourceTree = ""; }; - F292ED121FC0EB7300D6E69B /* DBTEAMLOGCreateFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCreateFolderDetails.h; sourceTree = ""; }; - F292ED131FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h; sourceTree = ""; }; - F292ED141FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h; sourceTree = ""; }; - F292ED151FC0EB7300D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDesktopSessionLogInfo.h; sourceTree = ""; }; - F292ED161FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h; sourceTree = ""; }; - F292ED171FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h; sourceTree = ""; }; - F292ED181FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h; sourceTree = ""; }; - F292ED191FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h; sourceTree = ""; }; - F292ED1A1FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsPolicy.h; sourceTree = ""; }; - F292ED1B1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpDesktopDetails.h; sourceTree = ""; }; - F292ED1C1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpMobileDetails.h; sourceTree = ""; }; - F292ED1D1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpWebDetails.h; sourceTree = ""; }; - F292ED1E1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h; sourceTree = ""; }; - F292ED1F1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h; sourceTree = ""; }; - F292ED201FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkFailDetails.h; sourceTree = ""; }; - F292ED211FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkSuccessDetails.h; sourceTree = ""; }; - F292ED221FC0EB7300D6E69B /* DBTEAMLOGDeviceLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLogInfo.h; sourceTree = ""; }; - F292ED231FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementDisabledDetails.h; sourceTree = ""; }; - F292ED241FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementEnabledDetails.h; sourceTree = ""; }; - F292ED251FC0EB7300D6E69B /* DBTEAMLOGDeviceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceType.h; sourceTree = ""; }; - F292ED261FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceUnlinkDetails.h; sourceTree = ""; }; - F292ED271FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceUnlinkPolicy.h; sourceTree = ""; }; - F292ED281FC0EB7300D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDisabledDomainInvitesDetails.h; sourceTree = ""; }; - F292ED291FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h; sourceTree = ""; }; - F292ED2A1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h; sourceTree = ""; }; - F292ED2B1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h; sourceTree = ""; }; - F292ED2C1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h; sourceTree = ""; }; - F292ED2D1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h; sourceTree = ""; }; - F292ED2E1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h; sourceTree = ""; }; - F292ED2F1FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainFailDetails.h; sourceTree = ""; }; - F292ED301FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h; sourceTree = ""; }; - F292ED311FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationRemoveDomainDetails.h; sourceTree = ""; }; - F292ED321FC0EB7300D6E69B /* DBTEAMLOGDurationLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDurationLogInfo.h; sourceTree = ""; }; - F292ED331FC0EB7300D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmAddExceptionDetails.h; sourceTree = ""; }; - F292ED341FC0EB7300D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmChangePolicyDetails.h; sourceTree = ""; }; - F292ED351FC0EB7300D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateExceptionsReportDetails.h; sourceTree = ""; }; - F292ED361FC0EB7300D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateUsageReportDetails.h; sourceTree = ""; }; - F292ED371FC0EB7300D6E69B /* DBTEAMLOGEmmErrorDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmErrorDetails.h; sourceTree = ""; }; - F292ED381FC0EB7300D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRefreshAuthTokenDetails.h; sourceTree = ""; }; - F292ED391FC0EB7300D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRemoveExceptionDetails.h; sourceTree = ""; }; - F292ED3A1FC0EB7300D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnabledDomainInvitesDetails.h; sourceTree = ""; }; - F292ED3B1FC0EB7300D6E69B /* DBTEAMLOGEventCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventCategory.h; sourceTree = ""; }; - F292ED3C1FC0EB7300D6E69B /* DBTEAMLOGEventDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventDetails.h; sourceTree = ""; }; - F292ED3D1FC0EB7300D6E69B /* DBTEAMLOGEventType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventType.h; sourceTree = ""; }; - F292ED3E1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h; sourceTree = ""; }; - F292ED3F1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExtendedVersionHistoryPolicy.h; sourceTree = ""; }; - F292ED401FC0EB7400D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFailureDetailsLogInfo.h; sourceTree = ""; }; - F292ED411FC0EB7400D6E69B /* DBTEAMLOGFileAddCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddCommentDetails.h; sourceTree = ""; }; - F292ED421FC0EB7400D6E69B /* DBTEAMLOGFileAddDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddDetails.h; sourceTree = ""; }; - F292ED431FC0EB7400D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileChangeCommentSubscriptionDetails.h; sourceTree = ""; }; - F292ED441FC0EB7400D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentNotificationPolicy.h; sourceTree = ""; }; - F292ED451FC0EB7400D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentsChangePolicyDetails.h; sourceTree = ""; }; - F292ED461FC0EB7400D6E69B /* DBTEAMLOGFileCommentsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentsPolicy.h; sourceTree = ""; }; - F292ED471FC0EB7400D6E69B /* DBTEAMLOGFileCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCopyDetails.h; sourceTree = ""; }; - F292ED481FC0EB7400D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteCommentDetails.h; sourceTree = ""; }; - F292ED491FC0EB7400D6E69B /* DBTEAMLOGFileDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteDetails.h; sourceTree = ""; }; - F292ED4A1FC0EB7400D6E69B /* DBTEAMLOGFileDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDownloadDetails.h; sourceTree = ""; }; - F292ED4B1FC0EB7400D6E69B /* DBTEAMLOGFileEditDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileEditDetails.h; sourceTree = ""; }; - F292ED4C1FC0EB7400D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileGetCopyReferenceDetails.h; sourceTree = ""; }; - F292ED4D1FC0EB7400D6E69B /* DBTEAMLOGFileLikeCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLikeCommentDetails.h; sourceTree = ""; }; - F292ED4E1FC0EB7400D6E69B /* DBTEAMLOGFileLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLogInfo.h; sourceTree = ""; }; - F292ED4F1FC0EB7400D6E69B /* DBTEAMLOGFileMoveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileMoveDetails.h; sourceTree = ""; }; - F292ED501FC0EB7400D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileOrFolderLogInfo.h; sourceTree = ""; }; - F292ED511FC0EB7400D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePermanentlyDeleteDetails.h; sourceTree = ""; }; - F292ED521FC0EB7400D6E69B /* DBTEAMLOGFilePreviewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePreviewDetails.h; sourceTree = ""; }; - F292ED531FC0EB7400D6E69B /* DBTEAMLOGFileRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRenameDetails.h; sourceTree = ""; }; - F292ED541FC0EB7400D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestAddDeadlineDetails.h; sourceTree = ""; }; - F292ED551FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestChangeDetails.h; sourceTree = ""; }; - F292ED561FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestChangeFolderDetails.h; sourceTree = ""; }; - F292ED571FC0EB7400D6E69B /* DBTEAMLOGFileRequestCloseDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCloseDetails.h; sourceTree = ""; }; - F292ED581FC0EB7400D6E69B /* DBTEAMLOGFileRequestCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCreateDetails.h; sourceTree = ""; }; - F292ED591FC0EB7400D6E69B /* DBTEAMLOGFileRequestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestDetails.h; sourceTree = ""; }; - F292ED5A1FC0EB7400D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestReceiveFileDetails.h; sourceTree = ""; }; - F292ED5B1FC0EB7400D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestRemoveDeadlineDetails.h; sourceTree = ""; }; - F292ED5C1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsChangePolicyDetails.h; sourceTree = ""; }; - F292ED5D1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsEnabledDetails.h; sourceTree = ""; }; - F292ED5E1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h; sourceTree = ""; }; - F292ED5F1FC0EB7400D6E69B /* DBTEAMLOGFileRequestSendDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestSendDetails.h; sourceTree = ""; }; - F292ED601FC0EB7400D6E69B /* DBTEAMLOGFileRequestsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsPolicy.h; sourceTree = ""; }; - F292ED611FC0EB7400D6E69B /* DBTEAMLOGFileResolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileResolveCommentDetails.h; sourceTree = ""; }; - F292ED621FC0EB7400D6E69B /* DBTEAMLOGFileRestoreDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRestoreDetails.h; sourceTree = ""; }; - F292ED631FC0EB7400D6E69B /* DBTEAMLOGFileRevertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRevertDetails.h; sourceTree = ""; }; - F292ED641FC0EB7400D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRollbackChangesDetails.h; sourceTree = ""; }; - F292ED651FC0EB7400D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileSaveCopyReferenceDetails.h; sourceTree = ""; }; - F292ED661FC0EB7400D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnlikeCommentDetails.h; sourceTree = ""; }; - F292ED671FC0EB7400D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnresolveCommentDetails.h; sourceTree = ""; }; - F292ED681FC0EB7400D6E69B /* DBTEAMLOGFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderLogInfo.h; sourceTree = ""; }; - F292ED691FC0EB7400D6E69B /* DBTEAMLOGGeoLocationLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGeoLocationLogInfo.h; sourceTree = ""; }; - F292ED6A1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsArg.h; sourceTree = ""; }; - F292ED6B1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsContinueArg.h; sourceTree = ""; }; - F292ED6C1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsContinueError.h; sourceTree = ""; }; - F292ED6D1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsError.h; sourceTree = ""; }; - F292ED6E1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsResult.h; sourceTree = ""; }; - F292ED6F1FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGoogleSsoChangePolicyDetails.h; sourceTree = ""; }; - F292ED701FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGoogleSsoPolicy.h; sourceTree = ""; }; - F292ED711FC0EB7400D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddExternalIdDetails.h; sourceTree = ""; }; - F292ED721FC0EB7400D6E69B /* DBTEAMLOGGroupAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddMemberDetails.h; sourceTree = ""; }; - F292ED731FC0EB7400D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeExternalIdDetails.h; sourceTree = ""; }; - F292ED741FC0EB7400D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeManagementTypeDetails.h; sourceTree = ""; }; - F292ED751FC0EB7400D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeMemberRoleDetails.h; sourceTree = ""; }; - F292ED761FC0EB7400D6E69B /* DBTEAMLOGGroupCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupCreateDetails.h; sourceTree = ""; }; - F292ED771FC0EB7400D6E69B /* DBTEAMLOGGroupDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupDeleteDetails.h; sourceTree = ""; }; - F292ED781FC0EB7400D6E69B /* DBTEAMLOGGroupJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupJoinPolicy.h; sourceTree = ""; }; - F292ED791FC0EB7400D6E69B /* DBTEAMLOGGroupLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupLogInfo.h; sourceTree = ""; }; - F292ED7A1FC0EB7400D6E69B /* DBTEAMLOGGroupMovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupMovedDetails.h; sourceTree = ""; }; - F292ED7B1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveExternalIdDetails.h; sourceTree = ""; }; - F292ED7C1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveMemberDetails.h; sourceTree = ""; }; - F292ED7D1FC0EB7400D6E69B /* DBTEAMLOGGroupRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRenameDetails.h; sourceTree = ""; }; - F292ED7E1FC0EB7400D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupUserManagementChangePolicyDetails.h; sourceTree = ""; }; - F292ED7F1FC0EB7400D6E69B /* DBTEAMLOGJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGJoinTeamDetails.h; sourceTree = ""; }; - F292ED801FC0EB7400D6E69B /* DBTEAMLOGLinkAudience.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLinkAudience.h; sourceTree = ""; }; - F292ED811FC0EB7400D6E69B /* DBTEAMLOGLoginFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginFailDetails.h; sourceTree = ""; }; - F292ED821FC0EB7400D6E69B /* DBTEAMLOGLoginMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginMethod.h; sourceTree = ""; }; - F292ED831FC0EB7400D6E69B /* DBTEAMLOGLoginSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginSuccessDetails.h; sourceTree = ""; }; - F292ED841FC0EB7400D6E69B /* DBTEAMLOGLogoutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLogoutDetails.h; sourceTree = ""; }; - F292ED851FC0EB7400D6E69B /* DBTEAMLOGMemberAddNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberAddNameDetails.h; sourceTree = ""; }; - F292ED861FC0EB7400D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeAdminRoleDetails.h; sourceTree = ""; }; - F292ED871FC0EB7400D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeEmailDetails.h; sourceTree = ""; }; - F292ED881FC0EB7400D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeMembershipTypeDetails.h; sourceTree = ""; }; - F292ED891FC0EB7400D6E69B /* DBTEAMLOGMemberChangeNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeNameDetails.h; sourceTree = ""; }; - F292ED8A1FC0EB7400D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeStatusDetails.h; sourceTree = ""; }; - F292ED8B1FC0EB7400D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h; sourceTree = ""; }; - F292ED8C1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRequestsChangePolicyDetails.h; sourceTree = ""; }; - F292ED8D1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRequestsPolicy.h; sourceTree = ""; }; - F292ED8E1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h; sourceTree = ""; }; - F292ED8F1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h; sourceTree = ""; }; - F292ED901FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h; sourceTree = ""; }; - F292ED911FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h; sourceTree = ""; }; - F292ED921FC0EB7400D6E69B /* DBTEAMLOGMemberStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberStatus.h; sourceTree = ""; }; - F292ED931FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestDetails.h; sourceTree = ""; }; - F292ED941FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestionsChangePolicyDetails.h; sourceTree = ""; }; - F292ED951FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestionsPolicy.h; sourceTree = ""; }; - F292ED961FC0EB7400D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberTransferAccountContentsDetails.h; sourceTree = ""; }; - F292ED971FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h; sourceTree = ""; }; - F292ED981FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMicrosoftOfficeAddinPolicy.h; sourceTree = ""; }; - F292ED991FC0EB7400D6E69B /* DBTEAMLOGMissingDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMissingDetails.h; sourceTree = ""; }; - F292ED9A1FC0EB7400D6E69B /* DBTEAMLOGMobileSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMobileSessionLogInfo.h; sourceTree = ""; }; - F292ED9B1FC0EB7400D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNamespaceRelativePathLogInfo.h; sourceTree = ""; }; - F292ED9C1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNetworkControlChangePolicyDetails.h; sourceTree = ""; }; - F292ED9D1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNetworkControlPolicy.h; sourceTree = ""; }; - F292ED9E1FC0EB7400D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNonTeamMemberLogInfo.h; sourceTree = ""; }; - F292ED9F1FC0EB7400D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclInviteOnlyDetails.h; sourceTree = ""; }; - F292EDA01FC0EB7400D6E69B /* DBTEAMLOGNoteAclLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclLinkDetails.h; sourceTree = ""; }; - F292EDA11FC0EB7400D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclTeamLinkDetails.h; sourceTree = ""; }; - F292EDA21FC0EB7400D6E69B /* DBTEAMLOGNoteSharedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteSharedDetails.h; sourceTree = ""; }; - F292EDA31FC0EB7400D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteShareReceiveDetails.h; sourceTree = ""; }; - F292EDA41FC0EB7400D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOpenNoteSharedDetails.h; sourceTree = ""; }; - F292EDA51FC0EB7400D6E69B /* DBTEAMLOGOriginLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOriginLogInfo.h; sourceTree = ""; }; - F292EDA61FC0EB7400D6E69B /* DBTEAMLOGPaperAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperAccessType.h; sourceTree = ""; }; - F292EDA71FC0EB7400D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperAdminExportStartDetails.h; sourceTree = ""; }; - F292EDA81FC0EB7400D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeDeploymentPolicyDetails.h; sourceTree = ""; }; - F292EDA91FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h; sourceTree = ""; }; - F292EDAA1FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberPolicyDetails.h; sourceTree = ""; }; - F292EDAB1FC0EB7400D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangePolicyDetails.h; sourceTree = ""; }; - F292EDAC1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddMemberDetails.h; sourceTree = ""; }; - F292EDAD1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddToFolderDetails.h; sourceTree = ""; }; - F292EDAE1FC0EB7400D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentArchiveDetails.h; sourceTree = ""; }; - F292EDAF1FC0EB7400D6E69B /* DBTEAMLOGPaperContentCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentCreateDetails.h; sourceTree = ""; }; - F292EDB01FC0EB7400D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentPermanentlyDeleteDetails.h; sourceTree = ""; }; - F292EDB11FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveFromFolderDetails.h; sourceTree = ""; }; - F292EDB21FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveMemberDetails.h; sourceTree = ""; }; - F292EDB31FC0EB7400D6E69B /* DBTEAMLOGPaperContentRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRenameDetails.h; sourceTree = ""; }; - F292EDB41FC0EB7400D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRestoreDetails.h; sourceTree = ""; }; - F292EDB51FC0EB7400D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocAddCommentDetails.h; sourceTree = ""; }; - F292EDB61FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeMemberRoleDetails.h; sourceTree = ""; }; - F292EDB71FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSharingPolicyDetails.h; sourceTree = ""; }; - F292EDB81FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSubscriptionDetails.h; sourceTree = ""; }; - F292EDB91FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeleteCommentDetails.h; sourceTree = ""; }; - F292EDBA1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeletedDetails.h; sourceTree = ""; }; - F292EDBB1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDownloadDetails.h; sourceTree = ""; }; - F292EDBC1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditCommentDetails.h; sourceTree = ""; }; - F292EDBD1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditDetails.h; sourceTree = ""; }; - F292EDBE1FC0EB7400D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocFollowedDetails.h; sourceTree = ""; }; - F292EDBF1FC0EB7400D6E69B /* DBTEAMLOGPaperDocMentionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocMentionDetails.h; sourceTree = ""; }; - F292EDC01FC0EB7400D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRequestAccessDetails.h; sourceTree = ""; }; - F292EDC11FC0EB7400D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocResolveCommentDetails.h; sourceTree = ""; }; - F292EDC21FC0EB7400D6E69B /* DBTEAMLOGPaperDocRevertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRevertDetails.h; sourceTree = ""; }; - F292EDC31FC0EB7400D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocSlackShareDetails.h; sourceTree = ""; }; - F292EDC41FC0EB7400D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTeamInviteDetails.h; sourceTree = ""; }; - F292EDC51FC0EB7400D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTrashedDetails.h; sourceTree = ""; }; - F292EDC61FC0EB7400D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocumentLogInfo.h; sourceTree = ""; }; - F292EDC71FC0EB7400D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUnresolveCommentDetails.h; sourceTree = ""; }; - F292EDC81FC0EB7400D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUntrashedDetails.h; sourceTree = ""; }; - F292EDC91FC0EB7400D6E69B /* DBTEAMLOGPaperDocViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocViewDetails.h; sourceTree = ""; }; - F292EDCA1FC0EB7400D6E69B /* DBTEAMLOGPaperDownloadFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDownloadFormat.h; sourceTree = ""; }; - F292EDCB1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h; sourceTree = ""; }; - F292EDCC1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h; sourceTree = ""; }; - F292EDCD1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewAllowDetails.h; sourceTree = ""; }; - F292EDCE1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewDefaultTeamDetails.h; sourceTree = ""; }; - F292EDCF1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewForbidDetails.h; sourceTree = ""; }; - F292EDD01FC0EB7400D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderChangeSubscriptionDetails.h; sourceTree = ""; }; - F292EDD11FC0EB7400D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderDeletedDetails.h; sourceTree = ""; }; - F292EDD21FC0EB7400D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderFollowedDetails.h; sourceTree = ""; }; - F292EDD31FC0EB7400D6E69B /* DBTEAMLOGPaperFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderLogInfo.h; sourceTree = ""; }; - F292EDD41FC0EB7400D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderTeamInviteDetails.h; sourceTree = ""; }; - F292EDD51FC0EB7400D6E69B /* DBTEAMLOGPaperMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperMemberPolicy.h; sourceTree = ""; }; - F292EDD61FC0EB7400D6E69B /* DBTEAMLOGParticipantLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGParticipantLogInfo.h; sourceTree = ""; }; - F292EDD71FC0EB7400D6E69B /* DBTEAMLOGPasswordChangeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordChangeDetails.h; sourceTree = ""; }; - F292EDD81FC0EB7400D6E69B /* DBTEAMLOGPasswordResetAllDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetAllDetails.h; sourceTree = ""; }; - F292EDD91FC0EB7400D6E69B /* DBTEAMLOGPasswordResetDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetDetails.h; sourceTree = ""; }; - F292EDDA1FC0EB7400D6E69B /* DBTEAMLOGPathLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPathLogInfo.h; sourceTree = ""; }; - F292EDDB1FC0EB7400D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPermanentDeleteChangePolicyDetails.h; sourceTree = ""; }; - F292EDDC1FC0EB7400D6E69B /* DBTEAMLOGPlacementRestriction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPlacementRestriction.h; sourceTree = ""; }; - F292EDDD1FC0EB7400D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRelocateAssetReferencesLogInfo.h; sourceTree = ""; }; - F292EDDE1FC0EB7400D6E69B /* DBTEAMLOGResellerLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerLogInfo.h; sourceTree = ""; }; - F292EDDF1FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionEndDetails.h; sourceTree = ""; }; - F292EDE01FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionStartDetails.h; sourceTree = ""; }; - F292EDE11FC0EB7400D6E69B /* DBTEAMLOGSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSessionLogInfo.h; sourceTree = ""; }; - F292EDE21FC0EB7400D6E69B /* DBTEAMLOGSfAddGroupDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAddGroupDetails.h; sourceTree = ""; }; - F292EDE31FC0EB7400D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h; sourceTree = ""; }; - F292EDE41FC0EB7400D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfExternalInviteWarnDetails.h; sourceTree = ""; }; - F292EDE51FC0EB7400D6E69B /* DBTEAMLOGSfInviteGroupDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfInviteGroupDetails.h; sourceTree = ""; }; - F292EDE61FC0EB7400D6E69B /* DBTEAMLOGSfNestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfNestDetails.h; sourceTree = ""; }; - F292EDE71FC0EB7400D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamDeclineDetails.h; sourceTree = ""; }; - F292EDE81FC0EB7400D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamGrantAccessDetails.h; sourceTree = ""; }; - F292EDE91FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteChangeRoleDetails.h; sourceTree = ""; }; - F292EDEA1FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteDetails.h; sourceTree = ""; }; - F292EDEB1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinDetails.h; sourceTree = ""; }; - F292EDEC1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinFromOobLinkDetails.h; sourceTree = ""; }; - F292EDED1FC0EB7400D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamUninviteDetails.h; sourceTree = ""; }; - F292EDEE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddInviteesDetails.h; sourceTree = ""; }; - F292EDEF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkExpiryDetails.h; sourceTree = ""; }; - F292EDF01FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkPasswordDetails.h; sourceTree = ""; }; - F292EDF11FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddMemberDetails.h; sourceTree = ""; }; - F292EDF21FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h; sourceTree = ""; }; - F292EDF31FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeInviteeRoleDetails.h; sourceTree = ""; }; - F292EDF41FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkAudienceDetails.h; sourceTree = ""; }; - F292EDF51FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkExpiryDetails.h; sourceTree = ""; }; - F292EDF61FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkPasswordDetails.h; sourceTree = ""; }; - F292EDF71FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeMemberRoleDetails.h; sourceTree = ""; }; - F292EDF81FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h; sourceTree = ""; }; - F292EDF91FC0EB7400D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentClaimInvitationDetails.h; sourceTree = ""; }; - F292EDFA1FC0EB7400D6E69B /* DBTEAMLOGSharedContentCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentCopyDetails.h; sourceTree = ""; }; - F292EDFB1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentDownloadDetails.h; sourceTree = ""; }; - F292EDFC1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentDownloadsPolicy.h; sourceTree = ""; }; - F292EDFD1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRelinquishMembershipDetails.h; sourceTree = ""; }; - F292EDFE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveInviteeDetails.h; sourceTree = ""; }; - F292EDFF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h; sourceTree = ""; }; - F292EE001FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h; sourceTree = ""; }; - F292EE011FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveMemberDetails.h; sourceTree = ""; }; - F292EE021FC0EB7400D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRequestAccessDetails.h; sourceTree = ""; }; - F292EE031FC0EB7400D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentUnshareDetails.h; sourceTree = ""; }; - F292EE041FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentViewDetails.h; sourceTree = ""; }; - F292EE051FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentViewerInfoPolicy.h; sourceTree = ""; }; - F292EE061FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeConfidentialityDetails.h; sourceTree = ""; }; - F292EE071FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h; sourceTree = ""; }; - F292EE081FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h; sourceTree = ""; }; - F292EE091FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h; sourceTree = ""; }; - F292EE0A1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderCreateDetails.h; sourceTree = ""; }; - F292EE0B1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderLinkPolicy.h; sourceTree = ""; }; - F292EE0C1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMemberPolicy.h; sourceTree = ""; }; - F292EE0D1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMembershipManagementPolicy.h; sourceTree = ""; }; - F292EE0E1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMountDetails.h; sourceTree = ""; }; - F292EE0F1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderTransferOwnershipDetails.h; sourceTree = ""; }; - F292EE101FC0EB7400D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderUnmountDetails.h; sourceTree = ""; }; - F292EE111FC0EB7400D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedNoteOpenedDetails.h; sourceTree = ""; }; - F292EE121FC0EB7400D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h; sourceTree = ""; }; - F292EE131FC0EB7400D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkPolicyDetails.h; sourceTree = ""; }; - F292EE141FC0EB7400D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeMemberPolicyDetails.h; sourceTree = ""; }; - F292EE151FC0EB7400D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingFolderJoinPolicy.h; sourceTree = ""; }; - F292EE161FC0EB7400D6E69B /* DBTEAMLOGSharingLinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingLinkPolicy.h; sourceTree = ""; }; - F292EE171FC0EB7400D6E69B /* DBTEAMLOGSharingMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingMemberPolicy.h; sourceTree = ""; }; - F292EE181FC0EB7400D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelAppCreateDetails.h; sourceTree = ""; }; - F292EE191FC0EB7400D6E69B /* DBTEAMLOGShmodelCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelCreateDetails.h; sourceTree = ""; }; - F292EE1A1FC0EB7400D6E69B /* DBTEAMLOGShmodelDisableDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelDisableDetails.h; sourceTree = ""; }; - F292EE1B1FC0EB7400D6E69B /* DBTEAMLOGShmodelFbShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelFbShareDetails.h; sourceTree = ""; }; - F292EE1C1FC0EB7400D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelGroupShareDetails.h; sourceTree = ""; }; - F292EE1D1FC0EB7400D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelRemoveExpirationDetails.h; sourceTree = ""; }; - F292EE1E1FC0EB7400D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelSetExpirationDetails.h; sourceTree = ""; }; - F292EE1F1FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelTeamCopyDetails.h; sourceTree = ""; }; - F292EE201FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelTeamDownloadDetails.h; sourceTree = ""; }; - F292EE211FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelTeamShareDetails.h; sourceTree = ""; }; - F292EE221FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelTeamViewDetails.h; sourceTree = ""; }; - F292EE231FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelVisibilityPasswordDetails.h; sourceTree = ""; }; - F292EE241FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelVisibilityPublicDetails.h; sourceTree = ""; }; - F292EE251FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h; sourceTree = ""; }; - F292EE261FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionEndDetails.h; sourceTree = ""; }; - F292EE271FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionStartDetails.h; sourceTree = ""; }; - F292EE281FC0EB7400D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncChangePolicyDetails.h; sourceTree = ""; }; - F292EE291FC0EB7400D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h; sourceTree = ""; }; - F292EE2A1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncNotOptOutDetails.h; sourceTree = ""; }; - F292EE2B1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncOptOutDetails.h; sourceTree = ""; }; - F292EE2C1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncOptOutPolicy.h; sourceTree = ""; }; - F292EE2D1FC0EB7400D6E69B /* DBTEAMLOGSpaceLimitsStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSpaceLimitsStatus.h; sourceTree = ""; }; - F292EE2E1FC0EB7400D6E69B /* DBTEAMLOGSsoAddCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddCertDetails.h; sourceTree = ""; }; - F292EE2F1FC0EB7400D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLoginUrlDetails.h; sourceTree = ""; }; - F292EE301FC0EB7400D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLogoutUrlDetails.h; sourceTree = ""; }; - F292EE311FC0EB7400D6E69B /* DBTEAMLOGSsoChangeCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeCertDetails.h; sourceTree = ""; }; - F292EE321FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLoginUrlDetails.h; sourceTree = ""; }; - F292EE331FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLogoutUrlDetails.h; sourceTree = ""; }; - F292EE341FC0EB7400D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangePolicyDetails.h; sourceTree = ""; }; - F292EE351FC0EB7400D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeSamlIdentityModeDetails.h; sourceTree = ""; }; - F292EE361FC0EB7400D6E69B /* DBTEAMLOGSsoErrorDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoErrorDetails.h; sourceTree = ""; }; - F292EE371FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveCertDetails.h; sourceTree = ""; }; - F292EE381FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLoginUrlDetails.h; sourceTree = ""; }; - F292EE391FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLogoutUrlDetails.h; sourceTree = ""; }; - F292EE3A1FC0EB7400D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamActivityCreateReportDetails.h; sourceTree = ""; }; - F292EE3B1FC0EB7400D6E69B /* DBTEAMLOGTeamEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEvent.h; sourceTree = ""; }; - F292EE3C1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderChangeStatusDetails.h; sourceTree = ""; }; - F292EE3D1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderCreateDetails.h; sourceTree = ""; }; - F292EE3E1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderDowngradeDetails.h; sourceTree = ""; }; - F292EE3F1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h; sourceTree = ""; }; - F292EE401FC0EB7400D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderRenameDetails.h; sourceTree = ""; }; - F292EE411FC0EB7400D6E69B /* DBTEAMLOGTeamFolderStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderStatus.h; sourceTree = ""; }; - F292EE421FC0EB7400D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamLinkedAppLogInfo.h; sourceTree = ""; }; - F292EE431FC0EB7400D6E69B /* DBTEAMLOGTeamMemberLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMemberLogInfo.h; sourceTree = ""; }; - F292EE441FC0EB7400D6E69B /* DBTEAMLOGTeamMembershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMembershipType.h; sourceTree = ""; }; - F292EE451FC0EB7400D6E69B /* DBTEAMLOGTeamMergeFromDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeFromDetails.h; sourceTree = ""; }; - F292EE461FC0EB7400D6E69B /* DBTEAMLOGTeamMergeToDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeToDetails.h; sourceTree = ""; }; - F292EE471FC0EB7400D6E69B /* DBTEAMLOGTeamName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamName.h; sourceTree = ""; }; - F292EE481FC0EB7400D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileAddLogoDetails.h; sourceTree = ""; }; - F292EE491FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h; sourceTree = ""; }; - F292EE4A1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeLogoDetails.h; sourceTree = ""; }; - F292EE4B1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeNameDetails.h; sourceTree = ""; }; - F292EE4C1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileRemoveLogoDetails.h; sourceTree = ""; }; - F292EE4D1FC0EB7400D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddBackupPhoneDetails.h; sourceTree = ""; }; - F292EE4E1FC0EB7400D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddSecurityKeyDetails.h; sourceTree = ""; }; - F292EE4F1FC0EB7400D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeBackupPhoneDetails.h; sourceTree = ""; }; - F292EE501FC0EB7400D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangePolicyDetails.h; sourceTree = ""; }; - F292EE511FC0EB7400D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeStatusDetails.h; sourceTree = ""; }; - F292EE521FC0EB7400D6E69B /* DBTEAMLOGTfaConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaConfiguration.h; sourceTree = ""; }; - F292EE531FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveBackupPhoneDetails.h; sourceTree = ""; }; - F292EE541FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveSecurityKeyDetails.h; sourceTree = ""; }; - F292EE551FC0EB7400D6E69B /* DBTEAMLOGTfaResetDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaResetDetails.h; sourceTree = ""; }; - F292EE561FC0EB7400D6E69B /* DBTEAMLOGTimeUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTimeUnit.h; sourceTree = ""; }; - F292EE571FC0EB7400D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTwoAccountChangePolicyDetails.h; sourceTree = ""; }; - F292EE581FC0EB7400D6E69B /* DBTEAMLOGTwoAccountPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTwoAccountPolicy.h; sourceTree = ""; }; - F292EE591FC0EB7400D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserLinkedAppLogInfo.h; sourceTree = ""; }; - F292EE5A1FC0EB7400D6E69B /* DBTEAMLOGUserLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserLogInfo.h; sourceTree = ""; }; - F292EE5B1FC0EB7400D6E69B /* DBTEAMLOGUserNameLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserNameLogInfo.h; sourceTree = ""; }; - F292EE5C1FC0EB7400D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserOrTeamLinkedAppLogInfo.h; sourceTree = ""; }; - F292EE5D1FC0EB7400D6E69B /* DBTEAMLOGWebSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionLogInfo.h; sourceTree = ""; }; - F292EE5E1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h; sourceTree = ""; }; - F292EE5F1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h; sourceTree = ""; }; - F292EE601FC0EB7400D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsFixedLengthPolicy.h; sourceTree = ""; }; - F292EE611FC0EB7400D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsIdleLengthPolicy.h; sourceTree = ""; }; - F292EE631FC0EB7400D6E69B /* DBTeamPoliciesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamPoliciesObjects.m; sourceTree = ""; }; - F292EE651FC0EB7400D6E69B /* DBTEAMPOLICIESEmmState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESEmmState.h; sourceTree = ""; }; - F292EE661FC0EB7400D6E69B /* DBTEAMPOLICIESGroupCreation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESGroupCreation.h; sourceTree = ""; }; - F292EE671FC0EB7400D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESOfficeAddInPolicy.h; sourceTree = ""; }; - F292EE681FC0EB7400D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperDeploymentPolicy.h; sourceTree = ""; }; - F292EE691FC0EB7400D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperEnabledPolicy.h; sourceTree = ""; }; - F292EE6A1FC0EB7400D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPasswordStrengthPolicy.h; sourceTree = ""; }; - F292EE6B1FC0EB7400D6E69B /* DBTEAMPOLICIESRolloutMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESRolloutMethod.h; sourceTree = ""; }; - F292EE6C1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedFolderJoinPolicy.h; sourceTree = ""; }; - F292EE6D1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedFolderMemberPolicy.h; sourceTree = ""; }; - F292EE6E1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedLinkCreatePolicy.h; sourceTree = ""; }; - F292EE6F1FC0EB7400D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSmartSyncPolicy.h; sourceTree = ""; }; - F292EE701FC0EB7400D6E69B /* DBTEAMPOLICIESSsoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSsoPolicy.h; sourceTree = ""; }; - F292EE711FC0EB7400D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTeamMemberPolicies.h; sourceTree = ""; }; - F292EE721FC0EB7400D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTeamSharingPolicies.h; sourceTree = ""; }; - F292EE731FC0EB7400D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTwoStepVerificationPolicy.h; sourceTree = ""; }; - F292EE751FC0EB7400D6E69B /* DBUsersObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUsersObjects.m; sourceTree = ""; }; - F292EE771FC0EB7400D6E69B /* DBUSERSAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSAccount.h; sourceTree = ""; }; - F292EE781FC0EB7400D6E69B /* DBUSERSBasicAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSBasicAccount.h; sourceTree = ""; }; - F292EE791FC0EB7400D6E69B /* DBUSERSFullAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSFullAccount.h; sourceTree = ""; }; - F292EE7A1FC0EB7400D6E69B /* DBUSERSFullTeam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSFullTeam.h; sourceTree = ""; }; - F292EE7B1FC0EB7400D6E69B /* DBUSERSGetAccountArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountArg.h; sourceTree = ""; }; - F292EE7C1FC0EB7400D6E69B /* DBUSERSGetAccountBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountBatchArg.h; sourceTree = ""; }; - F292EE7D1FC0EB7400D6E69B /* DBUSERSGetAccountBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountBatchError.h; sourceTree = ""; }; - F292EE7E1FC0EB7400D6E69B /* DBUSERSGetAccountError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountError.h; sourceTree = ""; }; - F292EE7F1FC0EB7400D6E69B /* DBUSERSIndividualSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSIndividualSpaceAllocation.h; sourceTree = ""; }; - F292EE801FC0EB7400D6E69B /* DBUSERSName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSName.h; sourceTree = ""; }; - F292EE811FC0EB7400D6E69B /* DBUSERSSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSSpaceAllocation.h; sourceTree = ""; }; - F292EE821FC0EB7400D6E69B /* DBUSERSSpaceUsage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSSpaceUsage.h; sourceTree = ""; }; - F292EE831FC0EB7400D6E69B /* DBUSERSTeam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSTeam.h; sourceTree = ""; }; - F292EE841FC0EB7400D6E69B /* DBUSERSTeamSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSTeamSpaceAllocation.h; sourceTree = ""; }; - F292EE861FC0EB7400D6E69B /* DBUsersCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUsersCommonObjects.m; sourceTree = ""; }; - F292EE881FC0EB7400D6E69B /* DBUSERSCOMMONAccountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSCOMMONAccountType.h; sourceTree = ""; }; - F292EE8A1FC0EB7400D6E69B /* DBAppBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAppBaseClient.h; sourceTree = ""; }; - F292EE8B1FC0EB7400D6E69B /* DBAppBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAppBaseClient.m; sourceTree = ""; }; - F292EE8C1FC0EB7400D6E69B /* DBTeamBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTeamBaseClient.h; sourceTree = ""; }; - F292EE8D1FC0EB7400D6E69B /* DBTeamBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamBaseClient.m; sourceTree = ""; }; - F292EE8E1FC0EB7400D6E69B /* DBUserBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUserBaseClient.h; sourceTree = ""; }; - F292EE8F1FC0EB7400D6E69B /* DBUserBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUserBaseClient.m; sourceTree = ""; }; - F292EE901FC0EB7400D6E69B /* DBSDKImportsGenerated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKImportsGenerated.h; sourceTree = ""; }; - F292EE921FC0EB7400D6E69B /* DBSerializableProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSerializableProtocol.h; sourceTree = ""; }; - F292EE931FC0EB7400D6E69B /* DBStoneBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneBase.h; sourceTree = ""; }; - F292EE941FC0EB7400D6E69B /* DBStoneBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneBase.m; sourceTree = ""; }; - F292EE951FC0EB7400D6E69B /* DBStoneSerializers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneSerializers.h; sourceTree = ""; }; - F292EE961FC0EB7400D6E69B /* DBStoneSerializers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneSerializers.m; sourceTree = ""; }; - F292EE971FC0EB7400D6E69B /* DBStoneValidators.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneValidators.h; sourceTree = ""; }; - F292EE981FC0EB7400D6E69B /* DBStoneValidators.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneValidators.m; sourceTree = ""; }; - F292EE9A1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAppAuthRoutes.h; sourceTree = ""; }; - F292EE9B1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHAppAuthRoutes.m; sourceTree = ""; }; - F292EE9C1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHUserAuthRoutes.h; sourceTree = ""; }; - F292EE9D1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHUserAuthRoutes.m; sourceTree = ""; }; - F292EE9E1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTeamAuthRoutes.h; sourceTree = ""; }; - F292EE9F1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESTeamAuthRoutes.m; sourceTree = ""; }; - F292EEA01FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUserAuthRoutes.h; sourceTree = ""; }; - F292EEA11FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESUserAuthRoutes.m; sourceTree = ""; }; - F292EEA21FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUserAuthRoutes.h; sourceTree = ""; }; - F292EEA31FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEREQUESTSUserAuthRoutes.m; sourceTree = ""; }; - F292EEA41FC0EB7400D6E69B /* DBFILESUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUserAuthRoutes.h; sourceTree = ""; }; - F292EEA51FC0EB7400D6E69B /* DBFILESUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILESUserAuthRoutes.m; sourceTree = ""; }; - F292EEA61FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserAuthRoutes.h; sourceTree = ""; }; - F292EEA71FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPAPERUserAuthRoutes.m; sourceTree = ""; }; - F292EEA81FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserAuthRoutes.h; sourceTree = ""; }; - F292EEA91FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSHARINGUserAuthRoutes.m; sourceTree = ""; }; - F292EEAA1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamAuthRoutes.h; sourceTree = ""; }; - F292EEAB1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMLOGTeamAuthRoutes.m; sourceTree = ""; }; - F292EEAC1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamAuthRoutes.h; sourceTree = ""; }; - F292EEAD1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMTeamAuthRoutes.m; sourceTree = ""; }; - F292EEAE1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserAuthRoutes.h; sourceTree = ""; }; - F292EEAF1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUSERSUserAuthRoutes.m; sourceTree = ""; }; - F292EEB11FC0EB7400D6E69B /* DBAUTHRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRouteObjects.h; sourceTree = ""; }; - F292EEB21FC0EB7400D6E69B /* DBAUTHRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHRouteObjects.m; sourceTree = ""; }; - F292EEB31FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRouteObjects.h; sourceTree = ""; }; - F292EEB41FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESRouteObjects.m; sourceTree = ""; }; - F292EEB51FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSRouteObjects.h; sourceTree = ""; }; - F292EEB61FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEREQUESTSRouteObjects.m; sourceTree = ""; }; - F292EEB71FC0EB7400D6E69B /* DBFILESRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRouteObjects.h; sourceTree = ""; }; - F292EEB81FC0EB7400D6E69B /* DBFILESRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILESRouteObjects.m; sourceTree = ""; }; - F292EEB91FC0EB7400D6E69B /* DBPAPERRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRouteObjects.h; sourceTree = ""; }; - F292EEBA1FC0EB7400D6E69B /* DBPAPERRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPAPERRouteObjects.m; sourceTree = ""; }; - F292EEBB1FC0EB7400D6E69B /* DBSHARINGRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRouteObjects.h; sourceTree = ""; }; - F292EEBC1FC0EB7400D6E69B /* DBSHARINGRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSHARINGRouteObjects.m; sourceTree = ""; }; - F292EEBD1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRouteObjects.h; sourceTree = ""; }; - F292EEBE1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMLOGRouteObjects.m; sourceTree = ""; }; - F292EEBF1FC0EB7400D6E69B /* DBTEAMRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRouteObjects.h; sourceTree = ""; }; - F292EEC01FC0EB7400D6E69B /* DBTEAMRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMRouteObjects.m; sourceTree = ""; }; - F292EEC11FC0EB7400D6E69B /* DBUSERSRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSRouteObjects.h; sourceTree = ""; }; - F292EEC21FC0EB7400D6E69B /* DBUSERSRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUSERSRouteObjects.m; sourceTree = ""; }; F29781701E03692800876A73 /* DBUserClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUserClient.h; sourceTree = ""; }; F29781711E03692800876A73 /* DBUserClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUserClient.m; sourceTree = ""; }; F29781721E03692800876A73 /* DBClientsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBClientsManager.h; sourceTree = ""; }; @@ -3323,6 +4544,2118 @@ F2F2CFFC1E9D769500512DE8 /* SafariServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SafariServices.framework; path = System/Library/Frameworks/SafariServices.framework; sourceTree = SDKROOT; }; F2F2CFFE1E9D76C300512DE8 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; F2F2D0001E9D76CA00512DE8 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; + F94D30DB2BBB1A5D00F86465 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + F99E08502B7A733000D55EF8 /* DBTeamBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamBaseClient.m; sourceTree = ""; }; + F99E08512B7A733000D55EF8 /* DBAppBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAppBaseClient.m; sourceTree = ""; }; + F99E08522B7A733000D55EF8 /* DBUserBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUserBaseClient.h; sourceTree = ""; }; + F99E08532B7A733000D55EF8 /* DBTeamBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTeamBaseClient.h; sourceTree = ""; }; + F99E08542B7A733000D55EF8 /* DBAppBaseClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAppBaseClient.h; sourceTree = ""; }; + F99E08552B7A733000D55EF8 /* DBUserBaseClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUserBaseClient.m; sourceTree = ""; }; + F99E08582B7A733000D55EF8 /* DBPaperObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPaperObjects.m; sourceTree = ""; }; + F99E085A2B7A733000D55EF8 /* DBPAPERPaperDocSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocSharingPolicy.h; sourceTree = ""; }; + F99E085B2B7A733000D55EF8 /* DBPAPERFoldersContainingPaperDoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFoldersContainingPaperDoc.h; sourceTree = ""; }; + F99E085C2B7A733000D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserInfoWithPermissionLevel.h; sourceTree = ""; }; + F99E085D2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocArgs.h; sourceTree = ""; }; + F99E085E2B7A733000D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateUpdateResult.h; sourceTree = ""; }; + F99E085F2B7A733000D55EF8 /* DBPAPERPaperDocUpdatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdatePolicy.h; sourceTree = ""; }; + F99E08602B7A733000D55EF8 /* DBPAPERPaperFolderCreateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperFolderCreateResult.h; sourceTree = ""; }; + F99E08612B7A733000D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderContinueArgs.h; sourceTree = ""; }; + F99E08622B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocResponse.h; sourceTree = ""; }; + F99E08632B7A733000D55EF8 /* DBPAPERPaperDocCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateError.h; sourceTree = ""; }; + F99E08642B7A733000D55EF8 /* DBPAPERPaperDocUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdateError.h; sourceTree = ""; }; + F99E08652B7A733000D55EF8 /* DBPAPERSharingTeamPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingTeamPolicyType.h; sourceTree = ""; }; + F99E08662B7A733000D55EF8 /* DBPAPERFolderSharingPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolderSharingPolicyType.h; sourceTree = ""; }; + F99E08672B7A733000D55EF8 /* DBPAPERFolderSubscriptionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolderSubscriptionLevel.h; sourceTree = ""; }; + F99E08682B7A733000D55EF8 /* DBPAPERListUsersCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersCursorError.h; sourceTree = ""; }; + F99E08692B7A733000D55EF8 /* DBPAPERCursor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERCursor.h; sourceTree = ""; }; + F99E086A2B7A733000D55EF8 /* DBPAPERDocSubscriptionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERDocSubscriptionLevel.h; sourceTree = ""; }; + F99E086B2B7A733000D55EF8 /* DBPAPERListPaperDocsFilterBy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsFilterBy.h; sourceTree = ""; }; + F99E086C2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnPaperDocContinueArgs.h; sourceTree = ""; }; + F99E086D2B7A733000D55EF8 /* DBPAPERListDocsCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListDocsCursorError.h; sourceTree = ""; }; + F99E086E2B7A733000D55EF8 /* DBPAPERAddMember.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddMember.h; sourceTree = ""; }; + F99E086F2B7A733000D55EF8 /* DBPAPERListPaperDocsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsResponse.h; sourceTree = ""; }; + F99E08702B7A733000D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERInviteeInfoWithPermissionLevel.h; sourceTree = ""; }; + F99E08712B7A733000D55EF8 /* DBPAPERRemovePaperDocUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRemovePaperDocUser.h; sourceTree = ""; }; + F99E08722B7A733000D55EF8 /* DBPAPERPaperDocExportResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocExportResult.h; sourceTree = ""; }; + F99E08732B7A733000D55EF8 /* DBPAPERPaperDocExport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocExport.h; sourceTree = ""; }; + F99E08742B7A733000D55EF8 /* DBPAPERListUsersOnFolderArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderArgs.h; sourceTree = ""; }; + F99E08752B7A733000D55EF8 /* DBPAPERAddPaperDocUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUser.h; sourceTree = ""; }; + F99E08762B7A733000D55EF8 /* DBPAPERPaperDocUpdateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocUpdateArgs.h; sourceTree = ""; }; + F99E08772B7A733000D55EF8 /* DBPAPERPaperFolderCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperFolderCreateError.h; sourceTree = ""; }; + F99E08782B7A733000D55EF8 /* DBPAPERPaperDocPermissionLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocPermissionLevel.h; sourceTree = ""; }; + F99E08792B7A733000D55EF8 /* DBPAPERPaperApiBaseError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperApiBaseError.h; sourceTree = ""; }; + F99E087A2B7A733000D55EF8 /* DBPAPERRefPaperDoc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRefPaperDoc.h; sourceTree = ""; }; + F99E087B2B7A733000D55EF8 /* DBPAPERExportFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERExportFormat.h; sourceTree = ""; }; + F99E087C2B7A733000D55EF8 /* DBPAPERListPaperDocsArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsArgs.h; sourceTree = ""; }; + F99E087D2B7A733000D55EF8 /* DBPAPERListUsersOnFolderResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListUsersOnFolderResponse.h; sourceTree = ""; }; + F99E087E2B7A733000D55EF8 /* DBPAPERImportFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERImportFormat.h; sourceTree = ""; }; + F99E087F2B7A733000D55EF8 /* DBPAPERListPaperDocsSortOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsSortOrder.h; sourceTree = ""; }; + F99E08802B7A733000D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUserMemberResult.h; sourceTree = ""; }; + F99E08812B7A733000D55EF8 /* DBPAPERListPaperDocsSortBy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsSortBy.h; sourceTree = ""; }; + F99E08822B7A733000D55EF8 /* DBPAPERListPaperDocsContinueArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERListPaperDocsContinueArgs.h; sourceTree = ""; }; + F99E08832B7A733000D55EF8 /* DBPAPERPaperApiCursorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperApiCursorError.h; sourceTree = ""; }; + F99E08842B7A733000D55EF8 /* DBPAPERPaperFolderCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperFolderCreateArg.h; sourceTree = ""; }; + F99E08852B7A733000D55EF8 /* DBPAPERFolder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERFolder.h; sourceTree = ""; }; + F99E08862B7A733000D55EF8 /* DBPAPERPaperDocCreateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERPaperDocCreateArgs.h; sourceTree = ""; }; + F99E08872B7A733000D55EF8 /* DBPAPERDocLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERDocLookupError.h; sourceTree = ""; }; + F99E08882B7A733000D55EF8 /* DBPAPERSharingPublicPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingPublicPolicyType.h; sourceTree = ""; }; + F99E08892B7A733000D55EF8 /* DBPAPERUserOnPaperDocFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserOnPaperDocFilter.h; sourceTree = ""; }; + F99E088A2B7A733000D55EF8 /* DBPAPERSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERSharingPolicy.h; sourceTree = ""; }; + F99E088B2B7A733000D55EF8 /* DBPAPERAddPaperDocUserResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERAddPaperDocUserResult.h; sourceTree = ""; }; + F99E088D2B7A733000D55EF8 /* DBTeamPoliciesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamPoliciesObjects.m; sourceTree = ""; }; + F99E088F2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESShowcaseEnabledPolicy.h; sourceTree = ""; }; + F99E08902B7A733000D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESComputerBackupPolicyState.h; sourceTree = ""; }; + F99E08912B7A733000D55EF8 /* DBTEAMPOLICIESGroupCreation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESGroupCreation.h; sourceTree = ""; }; + F99E08922B7A733000D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESFileProviderMigrationPolicyState.h; sourceTree = ""; }; + F99E08932B7A733000D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSmarterSmartSyncPolicyState.h; sourceTree = ""; }; + F99E08942B7A733000D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperDefaultFolderPolicy.h; sourceTree = ""; }; + F99E08952B7A733000D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedLinkCreatePolicy.h; sourceTree = ""; }; + F99E08962B7A733000D55EF8 /* DBTEAMPOLICIESSsoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSsoPolicy.h; sourceTree = ""; }; + F99E08972B7A733000D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSmartSyncPolicy.h; sourceTree = ""; }; + F99E08982B7A733000D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperDeploymentPolicy.h; sourceTree = ""; }; + F99E08992B7A733000D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperEnabledPolicy.h; sourceTree = ""; }; + F99E089A2B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTwoStepVerificationState.h; sourceTree = ""; }; + F99E089B2B7A733000D55EF8 /* DBTEAMPOLICIESEmmState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESEmmState.h; sourceTree = ""; }; + F99E089C2B7A733000D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTeamSharingPolicies.h; sourceTree = ""; }; + F99E089D2B7A733000D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESOfficeAddInPolicy.h; sourceTree = ""; }; + F99E089E2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h; sourceTree = ""; }; + F99E089F2B7A733000D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSuggestMembersPolicy.h; sourceTree = ""; }; + F99E08A02B7A733000D55EF8 /* DBTEAMPOLICIESRolloutMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESRolloutMethod.h; sourceTree = ""; }; + F99E08A12B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTwoStepVerificationPolicy.h; sourceTree = ""; }; + F99E08A22B7A733000D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESTeamMemberPolicies.h; sourceTree = ""; }; + F99E08A32B7A733000D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESExternalDriveBackupPolicyState.h; sourceTree = ""; }; + F99E08A42B7A733000D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPasswordStrengthPolicy.h; sourceTree = ""; }; + F99E08A52B7A733000D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPaperDesktopPolicy.h; sourceTree = ""; }; + F99E08A62B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedFolderJoinPolicy.h; sourceTree = ""; }; + F99E08A72B7A733000D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESFileLockingPolicyState.h; sourceTree = ""; }; + F99E08A82B7A733000D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESPasswordControlMode.h; sourceTree = ""; }; + F99E08A92B7A733000D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESCameraUploadsPolicyState.h; sourceTree = ""; }; + F99E08AA2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESShowcaseExternalSharingPolicy.h; sourceTree = ""; }; + F99E08AB2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESShowcaseDownloadPolicy.h; sourceTree = ""; }; + F99E08AC2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMPOLICIESSharedFolderMemberPolicy.h; sourceTree = ""; }; + F99E08AE2B7A733000D55EF8 /* DBSecondaryEmailsObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSecondaryEmailsObjects.m; sourceTree = ""; }; + F99E08B02B7A733000D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSECONDARYEMAILSSecondaryEmail.h; sourceTree = ""; }; + F99E08B22B7A733000D55EF8 /* DBSharingObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSharingObjects.m; sourceTree = ""; }; + F99E08B42B7A733000D55EF8 /* DBSHARINGGetSharedLinksArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksArg.h; sourceTree = ""; }; + F99E08B52B7A733000D55EF8 /* DBSHARINGGroupMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGroupMembershipInfo.h; sourceTree = ""; }; + F99E08B62B7A733000D55EF8 /* DBSHARINGPendingUploadMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPendingUploadMode.h; sourceTree = ""; }; + F99E08B72B7A733000D55EF8 /* DBSHARINGListFileMembersIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersIndividualResult.h; sourceTree = ""; }; + F99E08B82B7A733000D55EF8 /* DBSHARINGLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkMetadata.h; sourceTree = ""; }; + F99E08B92B7A733000D55EF8 /* DBSHARINGCollectionLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCollectionLinkMetadata.h; sourceTree = ""; }; + F99E08BA2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFolderMembershipArg.h; sourceTree = ""; }; + F99E08BB2B7A733000D55EF8 /* DBSHARINGMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberPolicy.h; sourceTree = ""; }; + F99E08BC2B7A733000D55EF8 /* DBSHARINGAlphaResolvedVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAlphaResolvedVisibility.h; sourceTree = ""; }; + F99E08BD2B7A733000D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberRemoveActionResult.h; sourceTree = ""; }; + F99E08BE2B7A733000D55EF8 /* DBSHARINGShareFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderArg.h; sourceTree = ""; }; + F99E08BF2B7A733000D55EF8 /* DBSHARINGMemberAccessLevelResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberAccessLevelResult.h; sourceTree = ""; }; + F99E08C02B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGModifySharedLinkSettingsArgs.h; sourceTree = ""; }; + F99E08C12B7A733000D55EF8 /* DBSHARINGShareFolderLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderLaunch.h; sourceTree = ""; }; + F99E08C22B7A733000D55EF8 /* DBSHARINGGetSharedLinksResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksResult.h; sourceTree = ""; }; + F99E08C32B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSetAccessInheritanceArg.h; sourceTree = ""; }; + F99E08C42B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFolderMemberArg.h; sourceTree = ""; }; + F99E08C52B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRevokeSharedLinkError.h; sourceTree = ""; }; + F99E08C62B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedContentLinkMetadata.h; sourceTree = ""; }; + F99E08C72B7A733000D55EF8 /* DBSHARINGSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkError.h; sourceTree = ""; }; + F99E08C82B7A733000D55EF8 /* DBSHARINGListFilesContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesContinueError.h; sourceTree = ""; }; + F99E08C92B7A733000D55EF8 /* DBSHARINGAclUpdatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAclUpdatePolicy.h; sourceTree = ""; }; + F99E08CA2B7A733000D55EF8 /* DBSHARINGUpdateFileMemberArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFileMemberArgs.h; sourceTree = ""; }; + F99E08CB2B7A733000D55EF8 /* DBSHARINGGetSharedLinksError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinksError.h; sourceTree = ""; }; + F99E08CC2B7A733000D55EF8 /* DBSHARINGMountFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMountFolderError.h; sourceTree = ""; }; + F99E08CD2B7A733000D55EF8 /* DBSHARINGUnshareFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFileError.h; sourceTree = ""; }; + F99E08CE2B7A733000D55EF8 /* DBSHARINGSharedLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkMetadata.h; sourceTree = ""; }; + F99E08CF2B7A733000D55EF8 /* DBSHARINGListFileMembersBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersBatchArg.h; sourceTree = ""; }; + F99E08D02B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersContinueError.h; sourceTree = ""; }; + F99E08D12B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFileMembershipError.h; sourceTree = ""; }; + F99E08D22B7A733000D55EF8 /* DBSHARINGSharedFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMemberError.h; sourceTree = ""; }; + F99E08D32B7A733000D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGVisibilityPolicyDisallowedReason.h; sourceTree = ""; }; + F99E08D42B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderPolicyError.h; sourceTree = ""; }; + F99E08D52B7A733000D55EF8 /* DBSHARINGFileAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileAction.h; sourceTree = ""; }; + F99E08D62B7A733000D55EF8 /* DBSHARINGSharedLinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkPolicy.h; sourceTree = ""; }; + F99E08D72B7A733000D55EF8 /* DBSHARINGListFilesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesResult.h; sourceTree = ""; }; + F99E08D82B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkWithSettingsError.h; sourceTree = ""; }; + F99E08D92B7A733000D55EF8 /* DBSHARINGListFolderMembersCursorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersCursorArg.h; sourceTree = ""; }; + F99E08DA2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkWithSettingsArg.h; sourceTree = ""; }; + F99E08DB2B7A733000D55EF8 /* DBSHARINGFileErrorResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileErrorResult.h; sourceTree = ""; }; + F99E08DC2B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataBatchArg.h; sourceTree = ""; }; + F99E08DD2B7A733000D55EF8 /* DBSHARINGListFileMembersError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersError.h; sourceTree = ""; }; + F99E08DE2B7A733000D55EF8 /* DBSHARINGMemberAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberAction.h; sourceTree = ""; }; + F99E08DF2B7A733000D55EF8 /* DBSHARINGGetFileMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataArg.h; sourceTree = ""; }; + F99E08E02B7A733000D55EF8 /* DBSHARINGLinkSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkSettings.h; sourceTree = ""; }; + F99E08E12B7A733000D55EF8 /* DBSHARINGLinkExpiry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkExpiry.h; sourceTree = ""; }; + F99E08E22B7A733000D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAudienceDisallowedReason.h; sourceTree = ""; }; + F99E08E32B7A733000D55EF8 /* DBSHARINGSharedLinkSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkSettingsError.h; sourceTree = ""; }; + F99E08E42B7A733000D55EF8 /* DBSHARINGRemoveFileMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFileMemberError.h; sourceTree = ""; }; + F99E08E52B7A733000D55EF8 /* DBSHARINGRemoveFileMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFileMemberArg.h; sourceTree = ""; }; + F99E08E62B7A733000D55EF8 /* DBSHARINGShareFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderError.h; sourceTree = ""; }; + F99E08E72B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataBatchResult.h; sourceTree = ""; }; + F99E08E82B7A733000D55EF8 /* DBSHARINGSharingUserError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharingUserError.h; sourceTree = ""; }; + F99E08E92B7A733000D55EF8 /* DBSHARINGFileMemberActionResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionResult.h; sourceTree = ""; }; + F99E08EA2B7A733000D55EF8 /* DBSHARINGVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGVisibility.h; sourceTree = ""; }; + F99E08EB2B7A733000D55EF8 /* DBSHARINGSharedFolderMetadataBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMetadataBase.h; sourceTree = ""; }; + F99E08EC2B7A733000D55EF8 /* DBSHARINGAudienceExceptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceExceptions.h; sourceTree = ""; }; + F99E08ED2B7A733000D55EF8 /* DBSHARINGPermissionDeniedReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPermissionDeniedReason.h; sourceTree = ""; }; + F99E08EE2B7A733000D55EF8 /* DBSHARINGAccessLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAccessLevel.h; sourceTree = ""; }; + F99E08EF2B7A733000D55EF8 /* DBSHARINGLinkAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAction.h; sourceTree = ""; }; + F99E08F02B7A733000D55EF8 /* DBSHARINGUnmountFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnmountFolderArg.h; sourceTree = ""; }; + F99E08F12B7A733000D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionIndividualResult.h; sourceTree = ""; }; + F99E08F22B7A733000D55EF8 /* DBSHARINGSharedLinkSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkSettings.h; sourceTree = ""; }; + F99E08F32B7A733000D55EF8 /* DBSHARINGShareFolderJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderJobStatus.h; sourceTree = ""; }; + F99E08F42B7A733000D55EF8 /* DBSHARINGFileMemberActionError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileMemberActionError.h; sourceTree = ""; }; + F99E08F52B7A733000D55EF8 /* DBSHARINGListFoldersArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersArgs.h; sourceTree = ""; }; + F99E08F62B7A733000D55EF8 /* DBSHARINGParentFolderAccessInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGParentFolderAccessInfo.h; sourceTree = ""; }; + F99E08F72B7A733000D55EF8 /* DBSHARINGInviteeMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInviteeMembershipInfo.h; sourceTree = ""; }; + F99E08F82B7A733000D55EF8 /* DBSHARINGVisibilityPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGVisibilityPolicy.h; sourceTree = ""; }; + F99E08F92B7A733000D55EF8 /* DBSHARINGListFilesContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesContinueArg.h; sourceTree = ""; }; + F99E08FA2B7A733000D55EF8 /* DBSHARINGListSharedLinksError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksError.h; sourceTree = ""; }; + F99E08FB2B7A733000D55EF8 /* DBSHARINGLinkPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPermission.h; sourceTree = ""; }; + F99E08FC2B7A733000D55EF8 /* DBSHARINGSharedFolderMembers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMembers.h; sourceTree = ""; }; + F99E08FD2B7A733000D55EF8 /* DBSHARINGGetFileMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataError.h; sourceTree = ""; }; + F99E08FE2B7A733000D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGExpectedSharedContentLinkMetadata.h; sourceTree = ""; }; + F99E08FF2B7A733000D55EF8 /* DBSHARINGGetSharedLinkFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinkFileError.h; sourceTree = ""; }; + F99E09002B7A733000D55EF8 /* DBSHARINGLinkAudience.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAudience.h; sourceTree = ""; }; + F99E09012B7A733000D55EF8 /* DBSHARINGAddFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFolderMemberError.h; sourceTree = ""; }; + F99E09022B7A733000D55EF8 /* DBSHARINGCreateSharedLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkArg.h; sourceTree = ""; }; + F99E09032B7A733000D55EF8 /* DBSHARINGShareFolderArgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderArgBase.h; sourceTree = ""; }; + F99E09042B7A733000D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkAlreadyExistsMetadata.h; sourceTree = ""; }; + F99E09052B7A733000D55EF8 /* DBSHARINGListFileMembersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersArg.h; sourceTree = ""; }; + F99E09062B7A733000D55EF8 /* DBSHARINGListSharedLinksResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksResult.h; sourceTree = ""; }; + F99E09072B7A733000D55EF8 /* DBSHARINGFolderLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderLinkMetadata.h; sourceTree = ""; }; + F99E09082B7A733000D55EF8 /* DBSHARINGListFileMembersBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersBatchResult.h; sourceTree = ""; }; + F99E09092B7A733000D55EF8 /* DBSHARINGListFileMembersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersContinueError.h; sourceTree = ""; }; + F99E090A2B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderMemberArg.h; sourceTree = ""; }; + F99E090B2B7A733000D55EF8 /* DBSHARINGUserFileMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserFileMembershipInfo.h; sourceTree = ""; }; + F99E090C2B7A733000D55EF8 /* DBSHARINGMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMembershipInfo.h; sourceTree = ""; }; + F99E090D2B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGModifySharedLinkSettingsError.h; sourceTree = ""; }; + F99E090E2B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersContinueArg.h; sourceTree = ""; }; + F99E090F2B7A733000D55EF8 /* DBSHARINGFolderPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderPolicy.h; sourceTree = ""; }; + F99E09102B7A733000D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRequestedLinkAccessLevel.h; sourceTree = ""; }; + F99E09112B7A733000D55EF8 /* DBSHARINGListSharedLinksArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListSharedLinksArg.h; sourceTree = ""; }; + F99E09122B7A733000D55EF8 /* DBSHARINGSharePathError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharePathError.h; sourceTree = ""; }; + F99E09132B7A733000D55EF8 /* DBSHARINGListFoldersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersContinueArg.h; sourceTree = ""; }; + F99E09142B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderMemberError.h; sourceTree = ""; }; + F99E09152B7A733000D55EF8 /* DBSHARINGUnmountFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnmountFolderError.h; sourceTree = ""; }; + F99E09162B7A733000D55EF8 /* DBSHARINGAddFileMemberArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFileMemberArgs.h; sourceTree = ""; }; + F99E09172B7A733000D55EF8 /* DBSHARINGJobError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGJobError.h; sourceTree = ""; }; + F99E09182B7A733000D55EF8 /* DBSHARINGResolvedVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGResolvedVisibility.h; sourceTree = ""; }; + F99E09192B7A733000D55EF8 /* DBSHARINGUserMembershipInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserMembershipInfo.h; sourceTree = ""; }; + F99E091A2B7A733000D55EF8 /* DBSHARINGAddMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddMemberSelectorError.h; sourceTree = ""; }; + F99E091B2B7A733000D55EF8 /* DBSHARINGViewerInfoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGViewerInfoPolicy.h; sourceTree = ""; }; + F99E091C2B7A733000D55EF8 /* DBSHARINGSharingFileAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharingFileAccessError.h; sourceTree = ""; }; + F99E091D2B7A733000D55EF8 /* DBSHARINGListFoldersContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersContinueError.h; sourceTree = ""; }; + F99E091E2B7A733000D55EF8 /* DBSHARINGLinkPermissions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPermissions.h; sourceTree = ""; }; + F99E091F2B7A733000D55EF8 /* DBSHARINGPathLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGPathLinkMetadata.h; sourceTree = ""; }; + F99E09202B7A733000D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceRestrictingSharedFolder.h; sourceTree = ""; }; + F99E09212B7A733000D55EF8 /* DBSHARINGLinkPassword.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkPassword.h; sourceTree = ""; }; + F99E09222B7A733000D55EF8 /* DBSHARINGUnshareFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFolderArg.h; sourceTree = ""; }; + F99E09232B7A733000D55EF8 /* DBSHARINGInsufficientPlan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInsufficientPlan.h; sourceTree = ""; }; + F99E09242B7A733000D55EF8 /* DBSHARINGSharedFolderAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderAccessError.h; sourceTree = ""; }; + F99E09252B7A733000D55EF8 /* DBSHARINGMemberSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberSelector.h; sourceTree = ""; }; + F99E09262B7A733000D55EF8 /* DBSHARINGSharedFileMembers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFileMembers.h; sourceTree = ""; }; + F99E09272B7A733000D55EF8 /* DBSHARINGAddFolderMemberArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFolderMemberArg.h; sourceTree = ""; }; + F99E09282B7A733000D55EF8 /* DBSHARINGSharedFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFolderMetadata.h; sourceTree = ""; }; + F99E09292B7A733000D55EF8 /* DBSHARINGRequestedVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRequestedVisibility.h; sourceTree = ""; }; + F99E092A2B7A733000D55EF8 /* DBSHARINGAddMember.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddMember.h; sourceTree = ""; }; + F99E092B2B7A733000D55EF8 /* DBSHARINGSharedFileMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedFileMetadata.h; sourceTree = ""; }; + F99E092C2B7A733000D55EF8 /* DBSHARINGListFolderMembersArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFolderMembersArgs.h; sourceTree = ""; }; + F99E092D2B7A733000D55EF8 /* DBSHARINGListFoldersResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFoldersResult.h; sourceTree = ""; }; + F99E092E2B7A733000D55EF8 /* DBSHARINGMountFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMountFolderArg.h; sourceTree = ""; }; + F99E092F2B7A733000D55EF8 /* DBSHARINGLinkAudienceOption.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAudienceOption.h; sourceTree = ""; }; + F99E09302B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSetAccessInheritanceError.h; sourceTree = ""; }; + F99E09312B7A733000D55EF8 /* DBSHARINGListFilesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFilesArg.h; sourceTree = ""; }; + F99E09322B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFileMembershipArg.h; sourceTree = ""; }; + F99E09332B7A733000D55EF8 /* DBSHARINGListFileMembersContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersContinueArg.h; sourceTree = ""; }; + F99E09342B7A733000D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInsufficientQuotaAmounts.h; sourceTree = ""; }; + F99E09352B7A733000D55EF8 /* DBSHARINGUnshareFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFolderError.h; sourceTree = ""; }; + F99E09362B7A733000D55EF8 /* DBSHARINGTeamMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTeamMemberInfo.h; sourceTree = ""; }; + F99E09372B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRevokeSharedLinkArg.h; sourceTree = ""; }; + F99E09382B7A733000D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAudienceExceptionContentInfo.h; sourceTree = ""; }; + F99E09392B7A733000D55EF8 /* DBSHARINGInviteeInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGInviteeInfo.h; sourceTree = ""; }; + F99E093A2B7A733000D55EF8 /* DBSHARINGAddFileMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAddFileMemberError.h; sourceTree = ""; }; + F99E093B2B7A733000D55EF8 /* DBSHARINGTransferFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTransferFolderArg.h; sourceTree = ""; }; + F99E093C2B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUpdateFolderPolicyArg.h; sourceTree = ""; }; + F99E093D2B7A733000D55EF8 /* DBSHARINGShareFolderErrorBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGShareFolderErrorBase.h; sourceTree = ""; }; + F99E093E2B7A733000D55EF8 /* DBSHARINGUserInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserInfo.h; sourceTree = ""; }; + F99E093F2B7A733000D55EF8 /* DBSHARINGMemberPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGMemberPermission.h; sourceTree = ""; }; + F99E09402B7A733000D55EF8 /* DBSHARINGTransferFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGTransferFolderError.h; sourceTree = ""; }; + F99E09412B7A733000D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetFileMetadataIndividualResult.h; sourceTree = ""; }; + F99E09422B7A733000D55EF8 /* DBSHARINGGroupInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGroupInfo.h; sourceTree = ""; }; + F99E09432B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveFolderMemberError.h; sourceTree = ""; }; + F99E09442B7A733000D55EF8 /* DBSHARINGFileLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFileLinkMetadata.h; sourceTree = ""; }; + F99E09452B7A733000D55EF8 /* DBSHARINGFolderPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderPermission.h; sourceTree = ""; }; + F99E09462B7A733000D55EF8 /* DBSHARINGJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGJobStatus.h; sourceTree = ""; }; + F99E09472B7A733000D55EF8 /* DBSHARINGListFileMembersCountResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGListFileMembersCountResult.h; sourceTree = ""; }; + F99E09482B7A733000D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetSharedLinkMetadataArg.h; sourceTree = ""; }; + F99E09492B7A733000D55EF8 /* DBSHARINGFolderAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFolderAction.h; sourceTree = ""; }; + F99E094A2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGCreateSharedLinkError.h; sourceTree = ""; }; + F99E094B2B7A733000D55EF8 /* DBSHARINGRemoveMemberJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRemoveMemberJobStatus.h; sourceTree = ""; }; + F99E094C2B7A733000D55EF8 /* DBSHARINGLinkAccessLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGLinkAccessLevel.h; sourceTree = ""; }; + F99E094D2B7A733000D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedLinkAccessFailureReason.h; sourceTree = ""; }; + F99E094E2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRelinquishFolderMembershipError.h; sourceTree = ""; }; + F99E094F2B7A733000D55EF8 /* DBSHARINGFilePermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGFilePermission.h; sourceTree = ""; }; + F99E09502B7A733000D55EF8 /* DBSHARINGGetMetadataArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGGetMetadataArgs.h; sourceTree = ""; }; + F99E09512B7A733000D55EF8 /* DBSHARINGAccessInheritance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAccessInheritance.h; sourceTree = ""; }; + F99E09522B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGSharedContentLinkMetadataBase.h; sourceTree = ""; }; + F99E09532B7A733000D55EF8 /* DBSHARINGUnshareFileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUnshareFileArg.h; sourceTree = ""; }; + F99E09552B7A733000D55EF8 /* DBSeenStateObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSeenStateObjects.m; sourceTree = ""; }; + F99E09572B7A733000D55EF8 /* DBSEENSTATEPlatformType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSEENSTATEPlatformType.h; sourceTree = ""; }; + F99E095A2B7A733000D55EF8 /* DBAUTHTokenScopeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenScopeError.h; sourceTree = ""; }; + F99E095B2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Error.h; sourceTree = ""; }; + F99E095C2B7A733000D55EF8 /* DBAUTHAuthError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAuthError.h; sourceTree = ""; }; + F99E095D2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Arg.h; sourceTree = ""; }; + F99E095E2B7A733000D55EF8 /* DBAUTHAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAccessError.h; sourceTree = ""; }; + F99E095F2B7A733000D55EF8 /* DBAUTHRateLimitError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRateLimitError.h; sourceTree = ""; }; + F99E09602B7A733000D55EF8 /* DBAUTHInvalidAccountTypeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHInvalidAccountTypeError.h; sourceTree = ""; }; + F99E09612B7A733000D55EF8 /* DBAUTHPaperAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHPaperAccessError.h; sourceTree = ""; }; + F99E09622B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHTokenFromOAuth1Result.h; sourceTree = ""; }; + F99E09632B7A733000D55EF8 /* DBAUTHRateLimitReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRateLimitReason.h; sourceTree = ""; }; + F99E09642B7A733000D55EF8 /* DBAuthObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAuthObjects.m; sourceTree = ""; }; + F99E09662B7A733000D55EF8 /* DBFileRequestsObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFileRequestsObjects.m; sourceTree = ""; }; + F99E09682B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGetFileRequestArgs.h; sourceTree = ""; }; + F99E09692B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsContinueArg.h; sourceTree = ""; }; + F99E096A2B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCountFileRequestsError.h; sourceTree = ""; }; + F99E096B2B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestArgs.h; sourceTree = ""; }; + F99E096C2B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSDeleteFileRequestError.h; sourceTree = ""; }; + F99E096D2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h; sourceTree = ""; }; + F99E096E2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsContinueError.h; sourceTree = ""; }; + F99E096F2B7A733000D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGeneralFileRequestsError.h; sourceTree = ""; }; + F99E09702B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsV2Result.h; sourceTree = ""; }; + F99E09712B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestError.h; sourceTree = ""; }; + F99E09722B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCreateFileRequestArgs.h; sourceTree = ""; }; + F99E09732B7A733000D55EF8 /* DBFILEREQUESTSFileRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequest.h; sourceTree = ""; }; + F99E09742B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCountFileRequestsResult.h; sourceTree = ""; }; + F99E09752B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUpdateFileRequestDeadline.h; sourceTree = ""; }; + F99E09762B7A733000D55EF8 /* DBFILEREQUESTSFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequestError.h; sourceTree = ""; }; + F99E09772B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsArg.h; sourceTree = ""; }; + F99E09782B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSDeleteFileRequestArgs.h; sourceTree = ""; }; + F99E09792B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSDeleteFileRequestsResult.h; sourceTree = ""; }; + F99E097A2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsError.h; sourceTree = ""; }; + F99E097B2B7A733000D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSFileRequestDeadline.h; sourceTree = ""; }; + F99E097C2B7A733000D55EF8 /* DBFILEREQUESTSGracePeriod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGracePeriod.h; sourceTree = ""; }; + F99E097D2B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSCreateFileRequestError.h; sourceTree = ""; }; + F99E097E2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSDeleteAllClosedFileRequestsError.h; sourceTree = ""; }; + F99E097F2B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSGetFileRequestError.h; sourceTree = ""; }; + F99E09802B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSListFileRequestsResult.h; sourceTree = ""; }; + F99E09832B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCONTACTSDeleteManualContactsArg.h; sourceTree = ""; }; + F99E09842B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCONTACTSDeleteManualContactsError.h; sourceTree = ""; }; + F99E09852B7A733000D55EF8 /* DBContactsObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBContactsObjects.m; sourceTree = ""; }; + F99E09872B7A733000D55EF8 /* DBAsyncObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAsyncObjects.m; sourceTree = ""; }; + F99E09892B7A733000D55EF8 /* DBASYNCPollEmptyResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollEmptyResult.h; sourceTree = ""; }; + F99E098A2B7A733000D55EF8 /* DBASYNCLaunchResultBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCLaunchResultBase.h; sourceTree = ""; }; + F99E098B2B7A733000D55EF8 /* DBASYNCLaunchEmptyResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCLaunchEmptyResult.h; sourceTree = ""; }; + F99E098C2B7A733000D55EF8 /* DBASYNCPollResultBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollResultBase.h; sourceTree = ""; }; + F99E098D2B7A733000D55EF8 /* DBASYNCPollArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollArg.h; sourceTree = ""; }; + F99E098E2B7A733000D55EF8 /* DBASYNCPollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBASYNCPollError.h; sourceTree = ""; }; + F99E09912B7A733000D55EF8 /* DBTEAMCOMMONGroupSummary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupSummary.h; sourceTree = ""; }; + F99E09922B7A733000D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONMemberSpaceLimitType.h; sourceTree = ""; }; + F99E09932B7A733000D55EF8 /* DBTEAMCOMMONTimeRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONTimeRange.h; sourceTree = ""; }; + F99E09942B7A733000D55EF8 /* DBTEAMCOMMONGroupManagementType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupManagementType.h; sourceTree = ""; }; + F99E09952B7A733000D55EF8 /* DBTEAMCOMMONGroupType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCOMMONGroupType.h; sourceTree = ""; }; + F99E09962B7A733000D55EF8 /* DBTeamCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamCommonObjects.m; sourceTree = ""; }; + F99E09982B7A733000D55EF8 /* DBCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCommonObjects.m; sourceTree = ""; }; + F99E099A2B7A733000D55EF8 /* DBCOMMONTeamRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONTeamRootInfo.h; sourceTree = ""; }; + F99E099B2B7A733000D55EF8 /* DBCOMMONPathRoot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONPathRoot.h; sourceTree = ""; }; + F99E099C2B7A733000D55EF8 /* DBCOMMONRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONRootInfo.h; sourceTree = ""; }; + F99E099D2B7A733000D55EF8 /* DBCOMMONPathRootError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONPathRootError.h; sourceTree = ""; }; + F99E099E2B7A733000D55EF8 /* DBCOMMONUserRootInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCOMMONUserRootInfo.h; sourceTree = ""; }; + F99E09A12B7A733000D55EF8 /* DBOPENIDUserInfoResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDUserInfoResult.h; sourceTree = ""; }; + F99E09A22B7A733000D55EF8 /* DBOPENIDUserInfoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDUserInfoError.h; sourceTree = ""; }; + F99E09A32B7A733000D55EF8 /* DBOPENIDOpenIdError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDOpenIdError.h; sourceTree = ""; }; + F99E09A42B7A733000D55EF8 /* DBOPENIDUserInfoArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDUserInfoArgs.h; sourceTree = ""; }; + F99E09A52B7A733000D55EF8 /* DBOpenidObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOpenidObjects.m; sourceTree = ""; }; + F99E09A72B7A733000D55EF8 /* DBTeamObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamObjects.m; sourceTree = ""; }; + F99E09A92B7A733000D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderPermanentlyDeleteError.h; sourceTree = ""; }; + F99E09AA2B7A733000D55EF8 /* DBTEAMGroupMembersRemoveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersRemoveError.h; sourceTree = ""; }; + F99E09AB2B7A733000D55EF8 /* DBTEAMExcludedUsersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListResult.h; sourceTree = ""; }; + F99E09AC2B7A733000D55EF8 /* DBTEAMMemberAddResultBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddResultBase.h; sourceTree = ""; }; + F99E09AD2B7A733000D55EF8 /* DBTEAMMembersAddArgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddArgBase.h; sourceTree = ""; }; + F99E09AE2B7A733000D55EF8 /* DBTEAMMembersListV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListV2Result.h; sourceTree = ""; }; + F99E09AF2B7A733000D55EF8 /* DBTEAMStorageBucket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMStorageBucket.h; sourceTree = ""; }; + F99E09B02B7A733000D55EF8 /* DBTEAMGroupUpdateArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupUpdateArgs.h; sourceTree = ""; }; + F99E09B12B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListContinueError.h; sourceTree = ""; }; + F99E09B22B7A733000D55EF8 /* DBTEAMGroupsListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListResult.h; sourceTree = ""; }; + F99E09B32B7A733000D55EF8 /* DBTEAMMembersRemoveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRemoveArg.h; sourceTree = ""; }; + F99E09B42B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionStatus.h; sourceTree = ""; }; + F99E09B52B7A733000D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMHasTeamSelectiveSyncValue.h; sourceTree = ""; }; + F99E09B62B7A733000D55EF8 /* DBTEAMGroupAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupAccessType.h; sourceTree = ""; }; + F99E09B72B7A733000D55EF8 /* DBTEAMMembersUnsuspendError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersUnsuspendError.h; sourceTree = ""; }; + F99E09B82B7A733000D55EF8 /* DBTEAMMobileClientPlatform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMobileClientPlatform.h; sourceTree = ""; }; + F99E09B92B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateError.h; sourceTree = ""; }; + F99E09BA2B7A733000D55EF8 /* DBTEAMUserResendEmailsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserResendEmailsResult.h; sourceTree = ""; }; + F99E09BB2B7A733000D55EF8 /* DBTEAMRemovedStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRemovedStatus.h; sourceTree = ""; }; + F99E09BC2B7A733000D55EF8 /* DBTEAMGroupsPollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsPollError.h; sourceTree = ""; }; + F99E09BD2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyUpdateArg.h; sourceTree = ""; }; + F99E09BE2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeleteSecondaryEmailsArg.h; sourceTree = ""; }; + F99E09BF2B7A733000D55EF8 /* DBTEAMResendVerificationEmailArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMResendVerificationEmailArg.h; sourceTree = ""; }; + F99E09C02B7A733000D55EF8 /* DBTEAMGroupsGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsGetInfoItem.h; sourceTree = ""; }; + F99E09C12B7A733000D55EF8 /* DBTEAMMembersUnsuspendArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersUnsuspendArg.h; sourceTree = ""; }; + F99E09C22B7A733000D55EF8 /* DBTEAMLegalHoldPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldPolicy.h; sourceTree = ""; }; + F99E09C32B7A733000D55EF8 /* DBTEAMLegalHoldStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldStatus.h; sourceTree = ""; }; + F99E09C42B7A733000D55EF8 /* DBTEAMBaseDfbReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMBaseDfbReport.h; sourceTree = ""; }; + F99E09C52B7A733000D55EF8 /* DBTEAMMembersRemoveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRemoveError.h; sourceTree = ""; }; + F99E09C62B7A733000D55EF8 /* DBTEAMTeamFolderAccessError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderAccessError.h; sourceTree = ""; }; + F99E09C72B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberInfoV2.h; sourceTree = ""; }; + F99E09C82B7A733000D55EF8 /* DBTEAMUserAddResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserAddResult.h; sourceTree = ""; }; + F99E09C92B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListPoliciesError.h; sourceTree = ""; }; + F99E09CA2B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchArg.h; sourceTree = ""; }; + F99E09CB2B7A733000D55EF8 /* DBTEAMMembersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListContinueError.h; sourceTree = ""; }; + F99E09CC2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedApiAppArg.h; sourceTree = ""; }; + F99E09CD2B7A733000D55EF8 /* DBTEAMMembersAddLaunchV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddLaunchV2Result.h; sourceTree = ""; }; + F99E09CE2B7A733000D55EF8 /* DBTEAMMembersGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoItem.h; sourceTree = ""; }; + F99E09CF2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyReleaseError.h; sourceTree = ""; }; + F99E09D02B7A733000D55EF8 /* DBTEAMExcludedUsersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListArg.h; sourceTree = ""; }; + F99E09D12B7A733000D55EF8 /* DBTEAMUserDeleteResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserDeleteResult.h; sourceTree = ""; }; + F99E09D22B7A733000D55EF8 /* DBTEAMTeamFolderActivateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderActivateError.h; sourceTree = ""; }; + F99E09D32B7A733000D55EF8 /* DBTEAMHasTeamFileEventsValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMHasTeamFileEventsValue.h; sourceTree = ""; }; + F99E09D42B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistRemoveError.h; sourceTree = ""; }; + F99E09D52B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchResult.h; sourceTree = ""; }; + F99E09D62B7A733000D55EF8 /* DBTEAMFeature.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeature.h; sourceTree = ""; }; + F99E09D72B7A733000D55EF8 /* DBTEAMDeviceSessionArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeviceSessionArg.h; sourceTree = ""; }; + F99E09D82B7A733000D55EF8 /* DBTEAMMembersDataTransferArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDataTransferArg.h; sourceTree = ""; }; + F99E09D92B7A733000D55EF8 /* DBTEAMListTeamDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesError.h; sourceTree = ""; }; + F99E09DA2B7A733000D55EF8 /* DBTEAMMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberSelectorError.h; sourceTree = ""; }; + F99E09DB2B7A733000D55EF8 /* DBTEAMActiveWebSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMActiveWebSession.h; sourceTree = ""; }; + F99E09DC2B7A733000D55EF8 /* DBTEAMUserSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSelectorError.h; sourceTree = ""; }; + F99E09DD2B7A733000D55EF8 /* DBTEAMGroupFullInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupFullInfo.h; sourceTree = ""; }; + F99E09DE2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAddSecondaryEmailsArg.h; sourceTree = ""; }; + F99E09DF2B7A733000D55EF8 /* DBTEAMTeamMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberInfo.h; sourceTree = ""; }; + F99E09E02B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateResult.h; sourceTree = ""; }; + F99E09E12B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTokenGetAuthenticatedAdminResult.h; sourceTree = ""; }; + F99E09E22B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListPoliciesArg.h; sourceTree = ""; }; + F99E09E32B7A733000D55EF8 /* DBTEAMMembersSuspendError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSuspendError.h; sourceTree = ""; }; + F99E09E42B7A733000D55EF8 /* DBTEAMGroupMembersAddError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersAddError.h; sourceTree = ""; }; + F99E09E52B7A733000D55EF8 /* DBTEAMTeamGetInfoResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamGetInfoResult.h; sourceTree = ""; }; + F99E09E62B7A733000D55EF8 /* DBTEAMListMembersDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesResult.h; sourceTree = ""; }; + F99E09E72B7A733000D55EF8 /* DBTEAMResendSecondaryEmailResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMResendSecondaryEmailResult.h; sourceTree = ""; }; + F99E09E82B7A733000D55EF8 /* DBTEAMTeamFolderArchiveError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveError.h; sourceTree = ""; }; + F99E09E92B7A733000D55EF8 /* DBTEAMTeamFolderListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListResult.h; sourceTree = ""; }; + F99E09EA2B7A733000D55EF8 /* DBTEAMMembersSetProfileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfileError.h; sourceTree = ""; }; + F99E09EB2B7A733000D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveJobStatus.h; sourceTree = ""; }; + F99E09EC2B7A733000D55EF8 /* DBTEAMSharingAllowlistAddError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistAddError.h; sourceTree = ""; }; + F99E09ED2B7A733000D55EF8 /* DBTEAMRevokeDesktopClientArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDesktopClientArg.h; sourceTree = ""; }; + F99E09EE2B7A733000D55EF8 /* DBTEAMGroupsSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsSelector.h; sourceTree = ""; }; + F99E09EF2B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistListContinueError.h; sourceTree = ""; }; + F99E09F02B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderUpdateSyncSettingsArg.h; sourceTree = ""; }; + F99E09F12B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListHeldRevisionsArg.h; sourceTree = ""; }; + F99E09F22B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListHeldRevisionsError.h; sourceTree = ""; }; + F99E09F32B7A733000D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldHeldRevisionMetadata.h; sourceTree = ""; }; + F99E09F42B7A733000D55EF8 /* DBTEAMMembersGetInfoItemBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoItemBase.h; sourceTree = ""; }; + F99E09F52B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsGetPolicyError.h; sourceTree = ""; }; + F99E09F62B7A733000D55EF8 /* DBTEAMTeamFolderIdArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderIdArg.h; sourceTree = ""; }; + F99E09F72B7A733000D55EF8 /* DBTEAMSharingAllowlistAddArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistAddArgs.h; sourceTree = ""; }; + F99E09F82B7A733000D55EF8 /* DBTEAMGroupsListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListArg.h; sourceTree = ""; }; + F99E09F92B7A733000D55EF8 /* DBTEAMListMemberDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesResult.h; sourceTree = ""; }; + F99E09FA2B7A733000D55EF8 /* DBTEAMMemberAccess.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAccess.h; sourceTree = ""; }; + F99E09FB2B7A733000D55EF8 /* DBTEAMMembersTransferFilesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersTransferFilesError.h; sourceTree = ""; }; + F99E09FC2B7A733000D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddJobStatusV2Result.h; sourceTree = ""; }; + F99E09FD2B7A733000D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMHasTeamSharedDropboxValue.h; sourceTree = ""; }; + F99E09FE2B7A733000D55EF8 /* DBTEAMMembersAddJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddJobStatus.h; sourceTree = ""; }; + F99E09FF2B7A733000D55EF8 /* DBTEAMListMemberAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsError.h; sourceTree = ""; }; + F99E0A002B7A733000D55EF8 /* DBTEAMTeamMemberStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberStatus.h; sourceTree = ""; }; + F99E0A012B7A733000D55EF8 /* DBTEAMTeamFolderListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListError.h; sourceTree = ""; }; + F99E0A022B7A733000D55EF8 /* DBTEAMMobileClientSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMobileClientSession.h; sourceTree = ""; }; + F99E0A032B7A733000D55EF8 /* DBTEAMMembersDeactivateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeactivateArg.h; sourceTree = ""; }; + F99E0A042B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyCreateArg.h; sourceTree = ""; }; + F99E0A052B7A733000D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSetAccessTypeError.h; sourceTree = ""; }; + F99E0A062B7A733000D55EF8 /* DBTEAMTeamFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderMetadata.h; sourceTree = ""; }; + F99E0A072B7A733000D55EF8 /* DBTEAMResendVerificationEmailResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMResendVerificationEmailResult.h; sourceTree = ""; }; + F99E0A082B7A733000D55EF8 /* DBTEAMIncludeMembersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMIncludeMembersArg.h; sourceTree = ""; }; + F99E0A092B7A733000D55EF8 /* DBTEAMListMembersAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsError.h; sourceTree = ""; }; + F99E0A0A2B7A733000D55EF8 /* DBTEAMMembersSetPermissionsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsResult.h; sourceTree = ""; }; + F99E0A0B2B7A733000D55EF8 /* DBTEAMListTeamDevicesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesResult.h; sourceTree = ""; }; + F99E0A0C2B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoV2Result.h; sourceTree = ""; }; + F99E0A0D2B7A733000D55EF8 /* DBTEAMTeamFolderListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListArg.h; sourceTree = ""; }; + F99E0A0E2B7A733000D55EF8 /* DBTEAMMembersAddLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddLaunch.h; sourceTree = ""; }; + F99E0A0F2B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissions2Result.h; sourceTree = ""; }; + F99E0A102B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListContinueError.h; sourceTree = ""; }; + F99E0A112B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListHeldRevisionsContinueArg.h; sourceTree = ""; }; + F99E0A122B7A733000D55EF8 /* DBTEAMUsersSelectorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUsersSelectorArg.h; sourceTree = ""; }; + F99E0A132B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAddSecondaryEmailsError.h; sourceTree = ""; }; + F99E0A142B7A733000D55EF8 /* DBTEAMSharingAllowlistAddResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistAddResponse.h; sourceTree = ""; }; + F99E0A152B7A733000D55EF8 /* DBTEAMTeamNamespacesListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListArg.h; sourceTree = ""; }; + F99E0A162B7A733000D55EF8 /* DBTEAMMemberAddArgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddArgBase.h; sourceTree = ""; }; + F99E0A172B7A733000D55EF8 /* DBTEAMTeamFolderRenameError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderRenameError.h; sourceTree = ""; }; + F99E0A182B7A733000D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderInvalidStatusError.h; sourceTree = ""; }; + F99E0A192B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchError.h; sourceTree = ""; }; + F99E0A1A2B7A733000D55EF8 /* DBTEAMRevokeLinkedAppStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppStatus.h; sourceTree = ""; }; + F99E0A1B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListContinueArg.h; sourceTree = ""; }; + F99E0A1C2B7A733000D55EF8 /* DBTEAMGroupSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelectorError.h; sourceTree = ""; }; + F99E0A1D2B7A733000D55EF8 /* DBTEAMAdminTier.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAdminTier.h; sourceTree = ""; }; + F99E0A1E2B7A733000D55EF8 /* DBTEAMDesktopPlatform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDesktopPlatform.h; sourceTree = ""; }; + F99E0A1F2B7A733000D55EF8 /* DBTEAMSetCustomQuotaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSetCustomQuotaError.h; sourceTree = ""; }; + F99E0A202B7A733000D55EF8 /* DBTEAMGroupMemberSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSelector.h; sourceTree = ""; }; + F99E0A212B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateStatus.h; sourceTree = ""; }; + F99E0A222B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTokenGetAuthenticatedAdminError.h; sourceTree = ""; }; + F99E0A232B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeleteProfilePhotoError.h; sourceTree = ""; }; + F99E0A242B7A733000D55EF8 /* DBTEAMGroupMembersAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersAddArg.h; sourceTree = ""; }; + F99E0A252B7A733000D55EF8 /* DBTEAMExcludedUsersListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListError.h; sourceTree = ""; }; + F99E0A262B7A733000D55EF8 /* DBTEAMMemberAddResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddResult.h; sourceTree = ""; }; + F99E0A272B7A733000D55EF8 /* DBTEAMGetMembershipReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetMembershipReport.h; sourceTree = ""; }; + F99E0A282B7A733000D55EF8 /* DBTEAMMembersSetProfileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfileArg.h; sourceTree = ""; }; + F99E0A292B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissions2Error.h; sourceTree = ""; }; + F99E0A2A2B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsGetPolicyArg.h; sourceTree = ""; }; + F99E0A2B2B7A733000D55EF8 /* DBTEAMGroupsListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListContinueError.h; sourceTree = ""; }; + F99E0A2C2B7A733000D55EF8 /* DBTEAMGroupMemberInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberInfo.h; sourceTree = ""; }; + F99E0A2D2B7A733000D55EF8 /* DBTEAMGroupSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelector.h; sourceTree = ""; }; + F99E0A2E2B7A733000D55EF8 /* DBTEAMMembersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListArg.h; sourceTree = ""; }; + F99E0A2F2B7A733000D55EF8 /* DBTEAMGroupCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupCreateError.h; sourceTree = ""; }; + F99E0A302B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionError.h; sourceTree = ""; }; + F99E0A312B7A733000D55EF8 /* DBTEAMTeamReportFailureReason.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamReportFailureReason.h; sourceTree = ""; }; + F99E0A322B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeleteProfilePhotoArg.h; sourceTree = ""; }; + F99E0A332B7A733000D55EF8 /* DBTEAMUserCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserCustomQuotaResult.h; sourceTree = ""; }; + F99E0A342B7A733000D55EF8 /* DBTEAMSetCustomQuotaArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSetCustomQuotaArg.h; sourceTree = ""; }; + F99E0A352B7A733000D55EF8 /* DBTEAMTeamMembershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMembershipType.h; sourceTree = ""; }; + F99E0A362B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoV2Arg.h; sourceTree = ""; }; + F99E0A372B7A733000D55EF8 /* DBTEAMGroupMembersSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSelectorError.h; sourceTree = ""; }; + F99E0A382B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppBatchError.h; sourceTree = ""; }; + F99E0A392B7A733000D55EF8 /* DBTEAMMembersAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddArg.h; sourceTree = ""; }; + F99E0A3A2B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListHeldRevisionsContinueError.h; sourceTree = ""; }; + F99E0A3B2B7A733000D55EF8 /* DBTEAMGroupCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupCreateArg.h; sourceTree = ""; }; + F99E0A3C2B7A733000D55EF8 /* DBTEAMCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaResult.h; sourceTree = ""; }; + F99E0A3D2B7A733000D55EF8 /* DBTEAMNamespaceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMNamespaceType.h; sourceTree = ""; }; + F99E0A3E2B7A733000D55EF8 /* DBTEAMSharingAllowlistListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistListError.h; sourceTree = ""; }; + F99E0A3F2B7A733000D55EF8 /* DBTEAMGroupUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupUpdateError.h; sourceTree = ""; }; + F99E0A402B7A733000D55EF8 /* DBTEAMListMemberAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsArg.h; sourceTree = ""; }; + F99E0A412B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchError.h; sourceTree = ""; }; + F99E0A422B7A733000D55EF8 /* DBTEAMGroupMembersSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSelector.h; sourceTree = ""; }; + F99E0A432B7A733000D55EF8 /* DBTEAMTeamFolderCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderCreateArg.h; sourceTree = ""; }; + F99E0A442B7A733000D55EF8 /* DBTEAMListTeamDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamDevicesArg.h; sourceTree = ""; }; + F99E0A452B7A733000D55EF8 /* DBTEAMListMembersDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesError.h; sourceTree = ""; }; + F99E0A462B7A733000D55EF8 /* DBTEAMGetStorageReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetStorageReport.h; sourceTree = ""; }; + F99E0A472B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionArg.h; sourceTree = ""; }; + F99E0A482B7A733000D55EF8 /* DBTEAMMemberAddV2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddV2Arg.h; sourceTree = ""; }; + F99E0A492B7A733000D55EF8 /* DBTEAMListMemberDevicesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesError.h; sourceTree = ""; }; + F99E0A4A2B7A733000D55EF8 /* DBTEAMListTeamAppsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsError.h; sourceTree = ""; }; + F99E0A4B2B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListContinueArg.h; sourceTree = ""; }; + F99E0A4C2B7A733000D55EF8 /* DBTEAMMembersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListResult.h; sourceTree = ""; }; + F99E0A4D2B7A733000D55EF8 /* DBTEAMUserSelectorArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSelectorArg.h; sourceTree = ""; }; + F99E0A4E2B7A733000D55EF8 /* DBTEAMGroupDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupDeleteError.h; sourceTree = ""; }; + F99E0A4F2B7A733000D55EF8 /* DBTEAMMembersInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersInfo.h; sourceTree = ""; }; + F99E0A502B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyCreateError.h; sourceTree = ""; }; + F99E0A512B7A733000D55EF8 /* DBTEAMMembersSetPermissionsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsArg.h; sourceTree = ""; }; + F99E0A522B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissions2Arg.h; sourceTree = ""; }; + F99E0A532B7A733000D55EF8 /* DBTEAMAddSecondaryEmailResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAddSecondaryEmailResult.h; sourceTree = ""; }; + F99E0A542B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSecondaryEmailsResult.h; sourceTree = ""; }; + F99E0A552B7A733000D55EF8 /* DBTEAMLegalHoldsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsError.h; sourceTree = ""; }; + F99E0A562B7A733000D55EF8 /* DBTEAMTeamMemberRole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberRole.h; sourceTree = ""; }; + F99E0A572B7A733000D55EF8 /* DBTEAMDesktopClientSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDesktopClientSession.h; sourceTree = ""; }; + F99E0A582B7A733000D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersSetAccessTypeArg.h; sourceTree = ""; }; + F99E0A592B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistListContinueArg.h; sourceTree = ""; }; + F99E0A5A2B7A733000D55EF8 /* DBTEAMMembersDeactivateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeactivateError.h; sourceTree = ""; }; + F99E0A5B2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistRemoveArgs.h; sourceTree = ""; }; + F99E0A5C2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMAddSecondaryEmailsResult.h; sourceTree = ""; }; + F99E0A5D2B7A733000D55EF8 /* DBTEAMGroupMembersChangeResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersChangeResult.h; sourceTree = ""; }; + F99E0A5E2B7A733000D55EF8 /* DBTEAMMembersDeactivateBaseArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersDeactivateBaseArg.h; sourceTree = ""; }; + F99E0A5F2B7A733000D55EF8 /* DBTEAMNamespaceMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMNamespaceMetadata.h; sourceTree = ""; }; + F99E0A602B7A733000D55EF8 /* DBTEAMSharingAllowlistListResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistListResponse.h; sourceTree = ""; }; + F99E0A612B7A733000D55EF8 /* DBTEAMDateRangeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDateRangeError.h; sourceTree = ""; }; + F99E0A622B7A733000D55EF8 /* DBTEAMTeamFolderArchiveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveArg.h; sourceTree = ""; }; + F99E0A632B7A733000D55EF8 /* DBTEAMMemberAddV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddV2Result.h; sourceTree = ""; }; + F99E0A642B7A733000D55EF8 /* DBTEAMDevicesActive.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDevicesActive.h; sourceTree = ""; }; + F99E0A652B7A733000D55EF8 /* DBTEAMGroupsGetInfoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsGetInfoError.h; sourceTree = ""; }; + F99E0A662B7A733000D55EF8 /* DBTEAMListTeamAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsResult.h; sourceTree = ""; }; + F99E0A672B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberInfoV2Result.h; sourceTree = ""; }; + F99E0A682B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyUpdateError.h; sourceTree = ""; }; + F99E0A692B7A733000D55EF8 /* DBTEAMMembersGetInfoItemV2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoItemV2.h; sourceTree = ""; }; + F99E0A6A2B7A733000D55EF8 /* DBTEAMBaseTeamFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMBaseTeamFolderError.h; sourceTree = ""; }; + F99E0A6B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderListContinueError.h; sourceTree = ""; }; + F99E0A6C2B7A733000D55EF8 /* DBTEAMListTeamAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListTeamAppsArg.h; sourceTree = ""; }; + F99E0A6D2B7A733000D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupSelectorWithTeamGroupError.h; sourceTree = ""; }; + F99E0A6E2B7A733000D55EF8 /* DBTEAMUserCustomQuotaArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserCustomQuotaArg.h; sourceTree = ""; }; + F99E0A6F2B7A733000D55EF8 /* DBTEAMListMemberDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberDevicesArg.h; sourceTree = ""; }; + F99E0A702B7A733000D55EF8 /* DBTEAMDateRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDateRange.h; sourceTree = ""; }; + F99E0A712B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppBatchResult.h; sourceTree = ""; }; + F99E0A722B7A733000D55EF8 /* DBTEAMDeviceSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeviceSession.h; sourceTree = ""; }; + F99E0A732B7A733000D55EF8 /* DBTEAMRemoveCustomQuotaResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRemoveCustomQuotaResult.h; sourceTree = ""; }; + F99E0A742B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListHeldRevisionResult.h; sourceTree = ""; }; + F99E0A752B7A733000D55EF8 /* DBTEAMRevokeLinkedAppError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedAppError.h; sourceTree = ""; }; + F99E0A762B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeDeviceSessionBatchResult.h; sourceTree = ""; }; + F99E0A772B7A733000D55EF8 /* DBTEAMUserDeleteEmailsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserDeleteEmailsResult.h; sourceTree = ""; }; + F99E0A782B7A733000D55EF8 /* DBTEAMMembersRecoverError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRecoverError.h; sourceTree = ""; }; + F99E0A792B7A733000D55EF8 /* DBTEAMCustomQuotaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaError.h; sourceTree = ""; }; + F99E0A7A2B7A733000D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetAvailableTeamMemberRolesResult.h; sourceTree = ""; }; + F99E0A7B2B7A733000D55EF8 /* DBTEAMSharingAllowlistListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistListArg.h; sourceTree = ""; }; + F99E0A7C2B7A733000D55EF8 /* DBTEAMTeamFolderRenameArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderRenameArg.h; sourceTree = ""; }; + F99E0A7D2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeleteSecondaryEmailResult.h; sourceTree = ""; }; + F99E0A7E2B7A733000D55EF8 /* DBTEAMTeamNamespacesListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListError.h; sourceTree = ""; }; + F99E0A7F2B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListContinueArg.h; sourceTree = ""; }; + F99E0A802B7A733000D55EF8 /* DBTEAMListMembersAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsResult.h; sourceTree = ""; }; + F99E0A812B7A733000D55EF8 /* DBTEAMMembersRecoverArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersRecoverArg.h; sourceTree = ""; }; + F99E0A822B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeaturesGetValuesBatchArg.h; sourceTree = ""; }; + F99E0A832B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsListPoliciesResult.h; sourceTree = ""; }; + F99E0A842B7A733000D55EF8 /* DBTEAMGroupsListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsListContinueArg.h; sourceTree = ""; }; + F99E0A852B7A733000D55EF8 /* DBTEAMTeamFolderCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderCreateError.h; sourceTree = ""; }; + F99E0A862B7A733000D55EF8 /* DBTEAMGroupMembersRemoveArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMembersRemoveArg.h; sourceTree = ""; }; + F99E0A872B7A733000D55EF8 /* DBTEAMTeamFolderGetInfoItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderGetInfoItem.h; sourceTree = ""; }; + F99E0A882B7A733000D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersTransferFormerMembersFilesError.h; sourceTree = ""; }; + F99E0A892B7A733000D55EF8 /* DBTEAMMemberLinkedApps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberLinkedApps.h; sourceTree = ""; }; + F99E0A8A2B7A733000D55EF8 /* DBTEAMMemberProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberProfile.h; sourceTree = ""; }; + F99E0A8B2B7A733000D55EF8 /* DBTEAMGroupsMembersListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListArg.h; sourceTree = ""; }; + F99E0A8C2B7A733000D55EF8 /* DBTEAMGetActivityReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetActivityReport.h; sourceTree = ""; }; + F99E0A8D2B7A733000D55EF8 /* DBTEAMGroupsMembersListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListResult.h; sourceTree = ""; }; + F99E0A8E2B7A733000D55EF8 /* DBTEAMTeamFolderStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderStatus.h; sourceTree = ""; }; + F99E0A8F2B7A733000D55EF8 /* DBTEAMMembersGetInfoArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoArgs.h; sourceTree = ""; }; + F99E0A902B7A733000D55EF8 /* DBTEAMMembersSetPermissionsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetPermissionsError.h; sourceTree = ""; }; + F99E0A912B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfilePhotoArg.h; sourceTree = ""; }; + F99E0A922B7A733000D55EF8 /* DBTEAMUploadApiRateLimitValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUploadApiRateLimitValue.h; sourceTree = ""; }; + F99E0A932B7A733000D55EF8 /* DBTEAMApiApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMApiApp.h; sourceTree = ""; }; + F99E0A942B7A733000D55EF8 /* DBTEAMFeatureValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMFeatureValue.h; sourceTree = ""; }; + F99E0A952B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserSecondaryEmailsArg.h; sourceTree = ""; }; + F99E0A962B7A733000D55EF8 /* DBTEAMMembersAddV2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersAddV2Arg.h; sourceTree = ""; }; + F99E0A972B7A733000D55EF8 /* DBTEAMTeamFolderIdListArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderIdListArg.h; sourceTree = ""; }; + F99E0A982B7A733000D55EF8 /* DBTEAMListMemberAppsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMemberAppsResult.h; sourceTree = ""; }; + F99E0A992B7A733000D55EF8 /* DBTEAMMembersSendWelcomeError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSendWelcomeError.h; sourceTree = ""; }; + F99E0A9A2B7A733000D55EF8 /* DBTEAMGetDevicesReport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGetDevicesReport.h; sourceTree = ""; }; + F99E0A9B2B7A733000D55EF8 /* DBTEAMMemberAddArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberAddArg.h; sourceTree = ""; }; + F99E0A9C2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMSharingAllowlistRemoveResponse.h; sourceTree = ""; }; + F99E0A9D2B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderUpdateSyncSettingsError.h; sourceTree = ""; }; + F99E0A9E2B7A733000D55EF8 /* DBTEAMMembersGetInfoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersGetInfoError.h; sourceTree = ""; }; + F99E0A9F2B7A733000D55EF8 /* DBTEAMMemberDevices.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMemberDevices.h; sourceTree = ""; }; + F99E0AA02B7A733000D55EF8 /* DBTEAMListMembersAppsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersAppsArg.h; sourceTree = ""; }; + F99E0AA12B7A733000D55EF8 /* DBTEAMCustomQuotaUsersArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMCustomQuotaUsersArg.h; sourceTree = ""; }; + F99E0AA22B7A733000D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderArchiveLaunch.h; sourceTree = ""; }; + F99E0AA32B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLegalHoldsPolicyReleaseArg.h; sourceTree = ""; }; + F99E0AA42B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupsMembersListContinueError.h; sourceTree = ""; }; + F99E0AA52B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMDeleteSecondaryEmailsResult.h; sourceTree = ""; }; + F99E0AA62B7A733000D55EF8 /* DBTEAMUserResendResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMUserResendResult.h; sourceTree = ""; }; + F99E0AA72B7A733000D55EF8 /* DBTEAMGroupMemberSelectorError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMGroupMemberSelectorError.h; sourceTree = ""; }; + F99E0AA82B7A733000D55EF8 /* DBTEAMMembersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListContinueArg.h; sourceTree = ""; }; + F99E0AA92B7A733000D55EF8 /* DBTEAMTeamNamespacesListResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamNamespacesListResult.h; sourceTree = ""; }; + F99E0AAA2B7A733000D55EF8 /* DBTEAMTeamMemberProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamMemberProfile.h; sourceTree = ""; }; + F99E0AAB2B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersUpdateArg.h; sourceTree = ""; }; + F99E0AAC2B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersSetProfilePhotoError.h; sourceTree = ""; }; + F99E0AAD2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRevokeLinkedApiAppBatchArg.h; sourceTree = ""; }; + F99E0AAE2B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMExcludedUsersListContinueArg.h; sourceTree = ""; }; + F99E0AAF2B7A733000D55EF8 /* DBTEAMMembersListError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMMembersListError.h; sourceTree = ""; }; + F99E0AB02B7A733000D55EF8 /* DBTEAMListMembersDevicesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMListMembersDevicesArg.h; sourceTree = ""; }; + F99E0AB12B7A733000D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamFolderTeamSharedDropboxError.h; sourceTree = ""; }; + F99E0AB42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchContinueArg.h; sourceTree = ""; }; + F99E0AB52B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddTemplateArg.h; sourceTree = ""; }; + F99E0AB62B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroupTemplate.h; sourceTree = ""; }; + F99E0AB72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateFilterBase.h; sourceTree = ""; }; + F99E0AB82B7A733000D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESInvalidPropertyGroupError.h; sourceTree = ""; }; + F99E0AB92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroupUpdate.h; sourceTree = ""; }; + F99E0ABA2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesError.h; sourceTree = ""; }; + F99E0ABB2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchArg.h; sourceTree = ""; }; + F99E0ABC2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchMode.h; sourceTree = ""; }; + F99E0ABD2B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdateTemplateArg.h; sourceTree = ""; }; + F99E0ABE2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyField.h; sourceTree = ""; }; + F99E0ABF2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyType.h; sourceTree = ""; }; + F99E0AC02B7A733000D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESOverwritePropertyGroupArg.h; sourceTree = ""; }; + F99E0AC12B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdatePropertiesError.h; sourceTree = ""; }; + F99E0AC22B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESGetTemplateArg.h; sourceTree = ""; }; + F99E0AC32B7A733000D55EF8 /* DBFILEPROPERTIESListTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESListTemplateResult.h; sourceTree = ""; }; + F99E0AC42B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdateTemplateResult.h; sourceTree = ""; }; + F99E0AC52B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateFilter.h; sourceTree = ""; }; + F99E0AC62B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddPropertiesError.h; sourceTree = ""; }; + F99E0AC72B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchResult.h; sourceTree = ""; }; + F99E0AC82B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchMatch.h; sourceTree = ""; }; + F99E0AC92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyFieldTemplate.h; sourceTree = ""; }; + F99E0ACA2B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUpdatePropertiesArg.h; sourceTree = ""; }; + F99E0ACB2B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESGetTemplateResult.h; sourceTree = ""; }; + F99E0ACC2B7A733000D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLookUpPropertiesError.h; sourceTree = ""; }; + F99E0ACD2B7A733000D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemoveTemplateArg.h; sourceTree = ""; }; + F99E0ACE2B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddPropertiesArg.h; sourceTree = ""; }; + F99E0ACF2B7A733000D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESModifyTemplateError.h; sourceTree = ""; }; + F99E0AD02B7A733000D55EF8 /* DBFILEPROPERTIESLogicalOperator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLogicalOperator.h; sourceTree = ""; }; + F99E0AD12B7A733000D55EF8 /* DBFILEPROPERTIESTemplateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateError.h; sourceTree = ""; }; + F99E0AD22B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchContinueError.h; sourceTree = ""; }; + F99E0AD32B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESAddTemplateResult.h; sourceTree = ""; }; + F99E0AD42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchQuery.h; sourceTree = ""; }; + F99E0AD52B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemovePropertiesArg.h; sourceTree = ""; }; + F99E0AD62B7A733000D55EF8 /* DBFILEPROPERTIESLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESLookupError.h; sourceTree = ""; }; + F99E0AD72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTemplateOwnerType.h; sourceTree = ""; }; + F99E0AD82B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertyGroup.h; sourceTree = ""; }; + F99E0AD92B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESPropertiesSearchError.h; sourceTree = ""; }; + F99E0ADA2B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRemovePropertiesError.h; sourceTree = ""; }; + F99E0ADB2B7A733000D55EF8 /* DBFilePropertiesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFilePropertiesObjects.m; sourceTree = ""; }; + F99E0ADD2B7A733000D55EF8 /* DBUsersObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUsersObjects.m; sourceTree = ""; }; + F99E0ADF2B7A733000D55EF8 /* DBUSERSTeamSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSTeamSpaceAllocation.h; sourceTree = ""; }; + F99E0AE02B7A733000D55EF8 /* DBUSERSBasicAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSBasicAccount.h; sourceTree = ""; }; + F99E0AE12B7A733000D55EF8 /* DBUSERSGetAccountError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountError.h; sourceTree = ""; }; + F99E0AE22B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserFeaturesGetValuesBatchResult.h; sourceTree = ""; }; + F99E0AE32B7A733000D55EF8 /* DBUSERSUserFeatureValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserFeatureValue.h; sourceTree = ""; }; + F99E0AE42B7A733000D55EF8 /* DBUSERSGetAccountArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountArg.h; sourceTree = ""; }; + F99E0AE52B7A733000D55EF8 /* DBUSERSFullTeam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSFullTeam.h; sourceTree = ""; }; + F99E0AE62B7A733000D55EF8 /* DBUSERSTeam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSTeam.h; sourceTree = ""; }; + F99E0AE72B7A733000D55EF8 /* DBUSERSIndividualSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSIndividualSpaceAllocation.h; sourceTree = ""; }; + F99E0AE82B7A733000D55EF8 /* DBUSERSGetAccountBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountBatchError.h; sourceTree = ""; }; + F99E0AE92B7A733000D55EF8 /* DBUSERSSpaceUsage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSSpaceUsage.h; sourceTree = ""; }; + F99E0AEA2B7A733000D55EF8 /* DBUSERSName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSName.h; sourceTree = ""; }; + F99E0AEB2B7A733000D55EF8 /* DBUSERSFullAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSFullAccount.h; sourceTree = ""; }; + F99E0AEC2B7A733000D55EF8 /* DBUSERSUserFeature.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserFeature.h; sourceTree = ""; }; + F99E0AED2B7A733000D55EF8 /* DBUSERSPaperAsFilesValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSPaperAsFilesValue.h; sourceTree = ""; }; + F99E0AEE2B7A733000D55EF8 /* DBUSERSGetAccountBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSGetAccountBatchArg.h; sourceTree = ""; }; + F99E0AEF2B7A733000D55EF8 /* DBUSERSFileLockingValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSFileLockingValue.h; sourceTree = ""; }; + F99E0AF02B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserFeaturesGetValuesBatchError.h; sourceTree = ""; }; + F99E0AF12B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserFeaturesGetValuesBatchArg.h; sourceTree = ""; }; + F99E0AF22B7A733000D55EF8 /* DBUSERSAccount.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSAccount.h; sourceTree = ""; }; + F99E0AF32B7A733000D55EF8 /* DBUSERSSpaceAllocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSSpaceAllocation.h; sourceTree = ""; }; + F99E0AF52B7A733000D55EF8 /* DBTeamLogObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTeamLogObjects.m; sourceTree = ""; }; + F99E0AF72B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseArchivedDetails.h; sourceTree = ""; }; + F99E0AF82B7A733000D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkExpiryType.h; sourceTree = ""; }; + F99E0AF92B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkPolicyType.h; sourceTree = ""; }; + F99E0AFA2B7A733000D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGStartedEnterpriseAdminSessionDetails.h; sourceTree = ""; }; + F99E0AFB2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeBackgroundType.h; sourceTree = ""; }; + F99E0AFC2B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkShareType.h; sourceTree = ""; }; + F99E0AFD2B7A733000D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRestoreMemberType.h; sourceTree = ""; }; + F99E0AFE2B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminConsoleAppPolicy.h; sourceTree = ""; }; + F99E0AFF2B7A733000D55EF8 /* DBTEAMLOGFileMoveType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileMoveType.h; sourceTree = ""; }; + F99E0B002B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDesktopPolicy.h; sourceTree = ""; }; + F99E0B012B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinDetails.h; sourceTree = ""; }; + F99E0B022B7A733000D55EF8 /* DBTEAMLOGFileRestoreDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRestoreDetails.h; sourceTree = ""; }; + F99E0B032B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclTeamLinkType.h; sourceTree = ""; }; + F99E0B042B7A733000D55EF8 /* DBTEAMLOGTfaChangeStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeStatusType.h; sourceTree = ""; }; + F99E0B052B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkViewCreateReportType.h; sourceTree = ""; }; + F99E0B062B7A733000D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderTransferOwnershipType.h; sourceTree = ""; }; + F99E0B072B7A733000D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileRemovedDetails.h; sourceTree = ""; }; + F99E0B082B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h; sourceTree = ""; }; + F99E0B092B7A733000D55EF8 /* DBTEAMLOGFileCommentsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentsPolicy.h; sourceTree = ""; }; + F99E0B0A2B7A733000D55EF8 /* DBTEAMLOGDispositionActionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDispositionActionType.h; sourceTree = ""; }; + F99E0B0B2B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h; sourceTree = ""; }; + F99E0B0C2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileDownloadDetails.h; sourceTree = ""; }; + F99E0B0D2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberTransferAccountContentsDetails.h; sourceTree = ""; }; + F99E0B0E2B7A733000D55EF8 /* DBTEAMLOGComputerBackupPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGComputerBackupPolicy.h; sourceTree = ""; }; + F99E0B0F2B7A733000D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportChangePolicyType.h; sourceTree = ""; }; + F99E0B102B7A733000D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLogoutUrlType.h; sourceTree = ""; }; + F99E0B112B7A733000D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileAddBackgroundType.h; sourceTree = ""; }; + F99E0B122B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberLinkPolicyType.h; sourceTree = ""; }; + F99E0B132B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferSendType.h; sourceTree = ""; }; + F99E0B142B7A733000D55EF8 /* DBTEAMLOGFileLikeCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLikeCommentType.h; sourceTree = ""; }; + F99E0B152B7A733000D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseResolveCommentType.h; sourceTree = ""; }; + F99E0B162B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveInviteesType.h; sourceTree = ""; }; + F99E0B172B7A733000D55EF8 /* DBTEAMLOGInviteMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGInviteMethod.h; sourceTree = ""; }; + F99E0B182B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h; sourceTree = ""; }; + F99E0B192B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h; sourceTree = ""; }; + F99E0B1A2B7A733000D55EF8 /* DBTEAMLOGWatermarkingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWatermarkingPolicy.h; sourceTree = ""; }; + F99E0B1B2B7A733000D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddFromAutomationType.h; sourceTree = ""; }; + F99E0B1C2B7A733000D55EF8 /* DBTEAMLOGTfaResetType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaResetType.h; sourceTree = ""; }; + F99E0B1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseEditCommentType.h; sourceTree = ""; }; + F99E0B1E2B7A733000D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderAddSectionDetails.h; sourceTree = ""; }; + F99E0B1F2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLoginUrlDetails.h; sourceTree = ""; }; + F99E0B202B7A733000D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberDeleteManualContactsType.h; sourceTree = ""; }; + F99E0B212B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h; sourceTree = ""; }; + F99E0B222B7A733000D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateUsageReportType.h; sourceTree = ""; }; + F99E0B232B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseAddMemberType.h; sourceTree = ""; }; + F99E0B242B7A733000D55EF8 /* DBTEAMLOGGroupMovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupMovedType.h; sourceTree = ""; }; + F99E0B252B7A733000D55EF8 /* DBTEAMLOGApplyNamingConventionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGApplyNamingConventionType.h; sourceTree = ""; }; + F99E0B262B7A733000D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveExceptionType.h; sourceTree = ""; }; + F99E0B272B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkCreateDetails.h; sourceTree = ""; }; + F99E0B282B7A733000D55EF8 /* DBTEAMLOGRecipientsConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRecipientsConfiguration.h; sourceTree = ""; }; + F99E0B292B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeDownloadPolicyType.h; sourceTree = ""; }; + F99E0B2A2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsAddExceptionDetails.h; sourceTree = ""; }; + F99E0B2B2B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyExportRemovedDetails.h; sourceTree = ""; }; + F99E0B2C2B7A733000D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnabledDomainInvitesDetails.h; sourceTree = ""; }; + F99E0B2D2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeletedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeletedType.h; sourceTree = ""; }; + F99E0B2E2B7A733000D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentClaimInvitationDetails.h; sourceTree = ""; }; + F99E0B2F2B7A733000D55EF8 /* DBTEAMLOGRewindPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRewindPolicy.h; sourceTree = ""; }; + F99E0B302B7A733000D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h; sourceTree = ""; }; + F99E0B312B7A733000D55EF8 /* DBTEAMLOGFileAddCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddCommentType.h; sourceTree = ""; }; + F99E0B322B7A733000D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkDownloadDetails.h; sourceTree = ""; }; + F99E0B332B7A733000D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddBackupPhoneDetails.h; sourceTree = ""; }; + F99E0B342B7A733000D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkTeamType.h; sourceTree = ""; }; + F99E0B352B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkAudienceDetails.h; sourceTree = ""; }; + F99E0B362B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyEditDurationDetails.h; sourceTree = ""; }; + F99E0B372B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUntrashedType.h; sourceTree = ""; }; + F99E0B382B7A733000D55EF8 /* DBTEAMLOGSfFbInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbInviteDetails.h; sourceTree = ""; }; + F99E0B392B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0B3A2B7A733000D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSendInvitePolicyChangedDetails.h; sourceTree = ""; }; + F99E0B3B2B7A733000D55EF8 /* DBTEAMLOGAppUnlinkUserType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkUserType.h; sourceTree = ""; }; + F99E0B3C2B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinFromOobLinkType.h; sourceTree = ""; }; + F99E0B3D2B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRenameSectionDetails.h; sourceTree = ""; }; + F99E0B3E2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedDetails.h; sourceTree = ""; }; + F99E0B3F2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferDownloadType.h; sourceTree = ""; }; + F99E0B402B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkDisabledType.h; sourceTree = ""; }; + F99E0B412B7A733000D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMobileDeviceSessionLogInfo.h; sourceTree = ""; }; + F99E0B422B7A733000D55EF8 /* DBTEAMLOGFileEditCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileEditCommentDetails.h; sourceTree = ""; }; + F99E0B432B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminConsoleAppPermission.h; sourceTree = ""; }; + F99E0B442B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminEmailRemindersChangedType.h; sourceTree = ""; }; + F99E0B452B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h; sourceTree = ""; }; + F99E0B462B7A733000D55EF8 /* DBTEAMLOGNoteSharedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteSharedType.h; sourceTree = ""; }; + F99E0B472B7A733000D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryMailsPolicyChangedType.h; sourceTree = ""; }; + F99E0B482B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h; sourceTree = ""; }; + F99E0B492B7A733000D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeFolderJoinPolicyType.h; sourceTree = ""; }; + F99E0B4A2B7A733000D55EF8 /* DBTEAMLOGGroupDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupDeleteType.h; sourceTree = ""; }; + F99E0B4B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGChangedEnterpriseAdminRoleDetails.h; sourceTree = ""; }; + F99E0B4C2B7A733000D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeMemberRoleDetails.h; sourceTree = ""; }; + F99E0B4D2B7A733000D55EF8 /* DBTEAMLOGBinderAddPageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderAddPageDetails.h; sourceTree = ""; }; + F99E0B4E2B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberPolicyType.h; sourceTree = ""; }; + F99E0B4F2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileRemoveLogoDetails.h; sourceTree = ""; }; + F99E0B502B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsExportedDetails.h; sourceTree = ""; }; + F99E0B512B7A733000D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupUserManagementChangePolicyDetails.h; sourceTree = ""; }; + F99E0B522B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsChangeHoldDetailsType.h; sourceTree = ""; }; + F99E0B532B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupDescriptionUpdatedDetails.h; sourceTree = ""; }; + F99E0B542B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyCreateKeyType.h; sourceTree = ""; }; + F99E0B552B7A733000D55EF8 /* DBTEAMLOGCreateFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCreateFolderDetails.h; sourceTree = ""; }; + F99E0B562B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserTagsRemovedDetails.h; sourceTree = ""; }; + F99E0B572B7A733000D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileResolveCommentDetails.h; sourceTree = ""; }; + F99E0B582B7A733000D55EF8 /* DBTEAMLOGSfFbInviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbInviteType.h; sourceTree = ""; }; + F99E0B592B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h; sourceTree = ""; }; + F99E0B5A2B7A733000D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeleteTeamInviteLinkType.h; sourceTree = ""; }; + F99E0B5B2B7A733000D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveMemberDetails.h; sourceTree = ""; }; + F99E0B5C2B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupDescriptionUpdatedType.h; sourceTree = ""; }; + F99E0B5D2B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersPolicyType.h; sourceTree = ""; }; + F99E0B5E2B7A733000D55EF8 /* DBTEAMLOGEmmChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmChangePolicyType.h; sourceTree = ""; }; + F99E0B5F2B7A733000D55EF8 /* DBTEAMLOGShowcaseRenamedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRenamedType.h; sourceTree = ""; }; + F99E0B602B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h; sourceTree = ""; }; + F99E0B612B7A733000D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeDeploymentPolicyDetails.h; sourceTree = ""; }; + F99E0B622B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRenameSectionType.h; sourceTree = ""; }; + F99E0B632B7A733000D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelAddedDetails.h; sourceTree = ""; }; + F99E0B642B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRestoredDetails.h; sourceTree = ""; }; + F99E0B652B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureRelinquishAccountDetails.h; sourceTree = ""; }; + F99E0B662B7A733000D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocFollowedDetails.h; sourceTree = ""; }; + F99E0B672B7A733000D55EF8 /* DBTEAMLOGUndoNamingConventionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUndoNamingConventionType.h; sourceTree = ""; }; + F99E0B682B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbUninviteDetails.h; sourceTree = ""; }; + F99E0B692B7A733000D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h; sourceTree = ""; }; + F99E0B6A2B7A733000D55EF8 /* DBTEAMLOGLogoutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLogoutDetails.h; sourceTree = ""; }; + F99E0B6B2B7A733000D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkFailDetails.h; sourceTree = ""; }; + F99E0B6C2B7A733000D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h; sourceTree = ""; }; + F99E0B6D2B7A733000D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileGetCopyReferenceDetails.h; sourceTree = ""; }; + F99E0B6E2B7A733000D55EF8 /* DBTEAMLOGSsoChangeCertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeCertType.h; sourceTree = ""; }; + F99E0B6F2B7A733000D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationPolicyEnumWrapper.h; sourceTree = ""; }; + F99E0B702B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclTeamLinkDetails.h; sourceTree = ""; }; + F99E0B712B7A733000D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileProviderMigrationPolicyChangedType.h; sourceTree = ""; }; + F99E0B722B7A733000D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddMemberDetails.h; sourceTree = ""; }; + F99E0B732B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamActivityCreateReportType.h; sourceTree = ""; }; + F99E0B742B7A733000D55EF8 /* DBTEAMLOGDownloadPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDownloadPolicyType.h; sourceTree = ""; }; + F99E0B752B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h; sourceTree = ""; }; + F99E0B762B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderExtraDetails.h; sourceTree = ""; }; + F99E0B772B7A733000D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTeamInviteDetails.h; sourceTree = ""; }; + F99E0B782B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h; sourceTree = ""; }; + F99E0B792B7A733000D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclInviteOnlyDetails.h; sourceTree = ""; }; + F99E0B7A2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyRotateKeyType.h; sourceTree = ""; }; + F99E0B7B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h; sourceTree = ""; }; + F99E0B7C2B7A733000D55EF8 /* DBTEAMLOGRewindFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRewindFolderDetails.h; sourceTree = ""; }; + F99E0B7D2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h; sourceTree = ""; }; + F99E0B7E2B7A733000D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationDisconnectedType.h; sourceTree = ""; }; + F99E0B7F2B7A733000D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmailIngestReceiveFileDetails.h; sourceTree = ""; }; + F99E0B802B7A733000D55EF8 /* DBTEAMLOGTfaAddExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddExceptionType.h; sourceTree = ""; }; + F99E0B812B7A733000D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h; sourceTree = ""; }; + F99E0B822B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsAddExceptionType.h; sourceTree = ""; }; + F99E0B832B7A733000D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeAdminRoleDetails.h; sourceTree = ""; }; + F99E0B842B7A733000D55EF8 /* DBTEAMLOGShowcaseViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseViewDetails.h; sourceTree = ""; }; + F99E0B852B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h; sourceTree = ""; }; + F99E0B862B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseTrashedDetails.h; sourceTree = ""; }; + F99E0B872B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewAllowType.h; sourceTree = ""; }; + F99E0B882B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h; sourceTree = ""; }; + F99E0B892B7A733000D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentsChangePolicyType.h; sourceTree = ""; }; + F99E0B8A2B7A733000D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRequestAccessType.h; sourceTree = ""; }; + F99E0B8B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderFollowedType.h; sourceTree = ""; }; + F99E0B8C2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCloseType.h; sourceTree = ""; }; + F99E0B8D2B7A733000D55EF8 /* DBTEAMLOGSharedContentDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentDownloadType.h; sourceTree = ""; }; + F99E0B8E2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileRemoveLogoType.h; sourceTree = ""; }; + F99E0B8F2B7A733000D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperAdminExportStartDetails.h; sourceTree = ""; }; + F99E0B902B7A733000D55EF8 /* DBTEAMLOGSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSessionLogInfo.h; sourceTree = ""; }; + F99E0B912B7A733000D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateExceptionsReportDetails.h; sourceTree = ""; }; + F99E0B922B7A733000D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUnresolveCommentType.h; sourceTree = ""; }; + F99E0B932B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h; sourceTree = ""; }; + F99E0B942B7A733000D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelRemovedDetails.h; sourceTree = ""; }; + F99E0B952B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h; sourceTree = ""; }; + F99E0B962B7A733000D55EF8 /* DBTEAMLOGMemberAddNameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberAddNameType.h; sourceTree = ""; }; + F99E0B972B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h; sourceTree = ""; }; + F99E0B982B7A733000D55EF8 /* DBTEAMLOGSharedLinkViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkViewType.h; sourceTree = ""; }; + F99E0B992B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminEmailRemindersChangedDetails.h; sourceTree = ""; }; + F99E0B9A2B7A733000D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberDeleteProfilePhotoType.h; sourceTree = ""; }; + F99E0B9B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderDeletedType.h; sourceTree = ""; }; + F99E0B9C2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsActivateAHoldDetails.h; sourceTree = ""; }; + F99E0B9D2B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h; sourceTree = ""; }; + F99E0B9E2B7A733000D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileSaveCopyReferenceDetails.h; sourceTree = ""; }; + F99E0B9F2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h; sourceTree = ""; }; + F99E0BA02B7A733000D55EF8 /* DBTEAMLOGFileRenameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRenameType.h; sourceTree = ""; }; + F99E0BA12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0BA22B7A733000D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h; sourceTree = ""; }; + F99E0BA32B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainFailType.h; sourceTree = ""; }; + F99E0BA42B7A733000D55EF8 /* DBTEAMLOGSfTeamUninviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamUninviteType.h; sourceTree = ""; }; + F99E0BA52B7A733000D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGoogleSsoPolicy.h; sourceTree = ""; }; + F99E0BA62B7A733000D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUndoOrganizeFolderWithTidyType.h; sourceTree = ""; }; + F99E0BA72B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPermanentDeleteChangePolicyType.h; sourceTree = ""; }; + F99E0BA82B7A733000D55EF8 /* DBTEAMLOGGroupLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupLogInfo.h; sourceTree = ""; }; + F99E0BA92B7A733000D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeMemberRoleDetails.h; sourceTree = ""; }; + F99E0BAA2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportCancelledType.h; sourceTree = ""; }; + F99E0BAB2B7A733000D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamGrantAccessDetails.h; sourceTree = ""; }; + F99E0BAC2B7A733000D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayProjectTeamDeleteDetails.h; sourceTree = ""; }; + F99E0BAD2B7A733000D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h; sourceTree = ""; }; + F99E0BAE2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsRemoveMembersDetails.h; sourceTree = ""; }; + F99E0BAF2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkViewType.h; sourceTree = ""; }; + F99E0BB02B7A733000D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentNotificationPolicy.h; sourceTree = ""; }; + F99E0BB12B7A733000D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRemoveMemberType.h; sourceTree = ""; }; + F99E0BB22B7A733000D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationCreateReportFailDetails.h; sourceTree = ""; }; + F99E0BB32B7A733000D55EF8 /* DBTEAMLOGFileAddType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddType.h; sourceTree = ""; }; + F99E0BB42B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h; sourceTree = ""; }; + F99E0BB52B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeStatusType.h; sourceTree = ""; }; + F99E0BB62B7A733000D55EF8 /* DBTEAMLOGWebSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionLogInfo.h; sourceTree = ""; }; + F99E0BB72B7A733000D55EF8 /* DBTEAMLOGTeamFolderCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderCreateType.h; sourceTree = ""; }; + F99E0BB82B7A733000D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNamespaceRelativePathLogInfo.h; sourceTree = ""; }; + F99E0BB92B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h; sourceTree = ""; }; + F99E0BBA2B7A733000D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelGroupShareDetails.h; sourceTree = ""; }; + F99E0BBB2B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainFailDetails.h; sourceTree = ""; }; + F99E0BBC2B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h; sourceTree = ""; }; + F99E0BBD2B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkViewReportFailedType.h; sourceTree = ""; }; + F99E0BBE2B7A733000D55EF8 /* DBTEAMLOGOriginLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOriginLogInfo.h; sourceTree = ""; }; + F99E0BBF2B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseTrashedDeprecatedDetails.h; sourceTree = ""; }; + F99E0BC02B7A733000D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalSharingReportFailedDetails.h; sourceTree = ""; }; + F99E0BC12B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDesktopPolicyChangedType.h; sourceTree = ""; }; + F99E0BC22B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h; sourceTree = ""; }; + F99E0BC32B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryTeamRequestExpiredDetails.h; sourceTree = ""; }; + F99E0BC42B7A733000D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceUnlinkPolicy.h; sourceTree = ""; }; + F99E0BC52B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h; sourceTree = ""; }; + F99E0BC62B7A733000D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestReceiveFileType.h; sourceTree = ""; }; + F99E0BC72B7A733000D55EF8 /* DBTEAMLOGContextLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContextLogInfo.h; sourceTree = ""; }; + F99E0BC82B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTrashedDetails.h; sourceTree = ""; }; + F99E0BC92B7A733000D55EF8 /* DBTEAMLOGFileAddDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddDetails.h; sourceTree = ""; }; + F99E0BCA2B7A733000D55EF8 /* DBTEAMLOGLoginSuccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginSuccessType.h; sourceTree = ""; }; + F99E0BCB2B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBackupInvitationOpenedType.h; sourceTree = ""; }; + F99E0BCC2B7A733000D55EF8 /* DBTEAMLOGApiSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGApiSessionLogInfo.h; sourceTree = ""; }; + F99E0BCD2B7A733000D55EF8 /* DBTEAMLOGPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPolicyType.h; sourceTree = ""; }; + F99E0BCE2B7A733000D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocSlackShareType.h; sourceTree = ""; }; + F99E0BCF2B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h; sourceTree = ""; }; + F99E0BD02B7A733000D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderReorderPageDetails.h; sourceTree = ""; }; + F99E0BD12B7A733000D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteDetails.h; sourceTree = ""; }; + F99E0BD22B7A733000D55EF8 /* DBTEAMLOGMemberRemoveActionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRemoveActionType.h; sourceTree = ""; }; + F99E0BD32B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinType.h; sourceTree = ""; }; + F99E0BD42B7A733000D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnlikeCommentDetails.h; sourceTree = ""; }; + F99E0BD52B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkFailType.h; sourceTree = ""; }; + F99E0BD62B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLoginUrlType.h; sourceTree = ""; }; + F99E0BD72B7A733000D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderCreateDetails.h; sourceTree = ""; }; + F99E0BD82B7A733000D55EF8 /* DBTEAMLOGBackupStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBackupStatus.h; sourceTree = ""; }; + F99E0BD92B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsActivateAHoldType.h; sourceTree = ""; }; + F99E0BDA2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileViewType.h; sourceTree = ""; }; + F99E0BDB2B7A733000D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseDeleteCommentDetails.h; sourceTree = ""; }; + F99E0BDC2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsAddExceptionType.h; sourceTree = ""; }; + F99E0BDD2B7A733000D55EF8 /* DBTEAMLOGFileRequestsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsPolicy.h; sourceTree = ""; }; + F99E0BDE2B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminChangeStatusDetails.h; sourceTree = ""; }; + F99E0BDF2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h; sourceTree = ""; }; + F99E0BE02B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeLinkPolicyType.h; sourceTree = ""; }; + F99E0BE12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRevokedType.h; sourceTree = ""; }; + F99E0BE22B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h; sourceTree = ""; }; + F99E0BE32B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamActivityCreateReportFailDetails.h; sourceTree = ""; }; + F99E0BE42B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDirectoryRestrictionsAddMembersType.h; sourceTree = ""; }; + F99E0BE52B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminChangeStatusType.h; sourceTree = ""; }; + F99E0BE62B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserTagsRemovedType.h; sourceTree = ""; }; + F99E0BE72B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeDefaultLanguageType.h; sourceTree = ""; }; + F99E0BE82B7A733000D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExtendedVersionHistoryPolicy.h; sourceTree = ""; }; + F99E0BE92B7A733000D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddMemberDetails.h; sourceTree = ""; }; + F99E0BEA2B7A733000D55EF8 /* DBTEAMLOGTeamLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamLogInfo.h; sourceTree = ""; }; + F99E0BEB2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsAddMembersDetails.h; sourceTree = ""; }; + F99E0BEC2B7A733000D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureNotificationEmailsSentType.h; sourceTree = ""; }; + F99E0BED2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsChangeHoldNameDetails.h; sourceTree = ""; }; + F99E0BEE2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeInviteeRoleDetails.h; sourceTree = ""; }; + F99E0BEF2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderLinkRestrictionPolicy.h; sourceTree = ""; }; + F99E0BF02B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingAlertConfiguration.h; sourceTree = ""; }; + F99E0BF12B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbUninviteType.h; sourceTree = ""; }; + F99E0BF22B7A733000D55EF8 /* DBTEAMLOGFileRevertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRevertDetails.h; sourceTree = ""; }; + F99E0BF32B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocResolveCommentType.h; sourceTree = ""; }; + F99E0BF42B7A733000D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryEmailDeletedType.h; sourceTree = ""; }; + F99E0BF52B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingAlertStateChangedType.h; sourceTree = ""; }; + F99E0BF62B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpDesktopType.h; sourceTree = ""; }; + F99E0BF72B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOpenNoteSharedDetails.h; sourceTree = ""; }; + F99E0BF82B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyEditDetailsType.h; sourceTree = ""; }; + F99E0BF92B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h; sourceTree = ""; }; + F99E0BFA2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h; sourceTree = ""; }; + F99E0BFB2B7A733000D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h; sourceTree = ""; }; + F99E0BFC2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferViewType.h; sourceTree = ""; }; + F99E0BFD2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeleteCommentType.h; sourceTree = ""; }; + F99E0BFE2B7A733000D55EF8 /* DBTEAMLOGUserLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserLogInfo.h; sourceTree = ""; }; + F99E0BFF2B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeMemberPolicyDetails.h; sourceTree = ""; }; + F99E0C002B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCreateTeamInviteLinkDetails.h; sourceTree = ""; }; + F99E0C012B7A733000D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsContinueError.h; sourceTree = ""; }; + F99E0C022B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCreateTeamInviteLinkType.h; sourceTree = ""; }; + F99E0C032B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkShareDetails.h; sourceTree = ""; }; + F99E0C042B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberPolicyDetails.h; sourceTree = ""; }; + F99E0C052B7A733000D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMobileSessionLogInfo.h; sourceTree = ""; }; + F99E0C062B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkCreateType.h; sourceTree = ""; }; + F99E0C072B7A733000D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeBackupPhoneType.h; sourceTree = ""; }; + F99E0C082B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpMobileDetails.h; sourceTree = ""; }; + F99E0C092B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsEnabledType.h; sourceTree = ""; }; + F99E0C0A2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h; sourceTree = ""; }; + F99E0C0B2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsPolicy.h; sourceTree = ""; }; + F99E0C0C2B7A733000D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppPermissionsChangedDetails.h; sourceTree = ""; }; + F99E0C0D2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLogoutUrlDetails.h; sourceTree = ""; }; + F99E0C0E2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveLogoutUrlType.h; sourceTree = ""; }; + F99E0C0F2B7A733000D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelEnableDownloadsDetails.h; sourceTree = ""; }; + F99E0C102B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyDeleteType.h; sourceTree = ""; }; + F99E0C112B7A733000D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeMembershipTypeType.h; sourceTree = ""; }; + F99E0C122B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0C132B7A733000D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbInviteChangeRoleType.h; sourceTree = ""; }; + F99E0C142B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseArchivedType.h; sourceTree = ""; }; + F99E0C152B7A733000D55EF8 /* DBTEAMLOGRewindFolderType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRewindFolderType.h; sourceTree = ""; }; + F99E0C162B7A733000D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeEmailDetails.h; sourceTree = ""; }; + F99E0C172B7A733000D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkAddExpiryType.h; sourceTree = ""; }; + F99E0C182B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h; sourceTree = ""; }; + F99E0C192B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeMemberPolicyType.h; sourceTree = ""; }; + F99E0C1A2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsAddMembersType.h; sourceTree = ""; }; + F99E0C1B2B7A733000D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddToFolderType.h; sourceTree = ""; }; + F99E0C1C2B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRestoredType.h; sourceTree = ""; }; + F99E0C1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseAddMemberDetails.h; sourceTree = ""; }; + F99E0C1E2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h; sourceTree = ""; }; + F99E0C1F2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsReleaseAHoldDetails.h; sourceTree = ""; }; + F99E0C202B7A733000D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMembersInheritancePolicy.h; sourceTree = ""; }; + F99E0C212B7A733000D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureMigrateAccountType.h; sourceTree = ""; }; + F99E0C222B7A733000D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileSharedLinkModifiedDetails.h; sourceTree = ""; }; + F99E0C232B7A733000D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTrustedTeamsRequestAction.h; sourceTree = ""; }; + F99E0C242B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveInviteesDetails.h; sourceTree = ""; }; + F99E0C252B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionStartDetails.h; sourceTree = ""; }; + F99E0C262B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h; sourceTree = ""; }; + F99E0C272B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOpenNoteSharedType.h; sourceTree = ""; }; + F99E0C282B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0C292B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkAudienceType.h; sourceTree = ""; }; + F99E0C2A2B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionEndDetails.h; sourceTree = ""; }; + F99E0C2B2B7A733000D55EF8 /* DBTEAMLOGFileTransfersPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersPolicy.h; sourceTree = ""; }; + F99E0C2C2B7A733000D55EF8 /* DBTEAMLOGSharingMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingMemberPolicy.h; sourceTree = ""; }; + F99E0C2D2B7A733000D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPendingSecondaryEmailAddedDetails.h; sourceTree = ""; }; + F99E0C2E2B7A733000D55EF8 /* DBTEAMLOGAccountState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountState.h; sourceTree = ""; }; + F99E0C2F2B7A733000D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPrimaryTeamRequestReminderDetails.h; sourceTree = ""; }; + F99E0C302B7A733000D55EF8 /* DBTEAMLOGEventDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventDetails.h; sourceTree = ""; }; + F99E0C312B7A733000D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLogoutUrlDetails.h; sourceTree = ""; }; + F99E0C322B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpDesktopDetails.h; sourceTree = ""; }; + F99E0C332B7A733000D55EF8 /* DBTEAMLOGExternalUserLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalUserLogInfo.h; sourceTree = ""; }; + F99E0C342B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h; sourceTree = ""; }; + F99E0C352B7A733000D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeExternalIdDetails.h; sourceTree = ""; }; + F99E0C362B7A733000D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSendForSignaturePolicyChangedDetails.h; sourceTree = ""; }; + F99E0C372B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureRelinquishAccountType.h; sourceTree = ""; }; + F99E0C382B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBackupInvitationOpenedDetails.h; sourceTree = ""; }; + F99E0C392B7A733000D55EF8 /* DBTEAMLOGIntegrationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationPolicy.h; sourceTree = ""; }; + F99E0C3A2B7A733000D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsIdleLengthPolicy.h; sourceTree = ""; }; + F99E0C3B2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberTransferAccountContentsType.h; sourceTree = ""; }; + F99E0C3C2B7A733000D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkDisableDetails.h; sourceTree = ""; }; + F99E0C3D2B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPermanentDeleteChangePolicyDetails.h; sourceTree = ""; }; + F99E0C3E2B7A733000D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRestoreDetails.h; sourceTree = ""; }; + F99E0C3F2B7A733000D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h; sourceTree = ""; }; + F99E0C402B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportCancelledDetails.h; sourceTree = ""; }; + F99E0C412B7A733000D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileAddedDetails.h; sourceTree = ""; }; + F99E0C422B7A733000D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOutdatedLinkViewReportFailedType.h; sourceTree = ""; }; + F99E0C432B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewDefaultTeamDetails.h; sourceTree = ""; }; + F99E0C442B7A733000D55EF8 /* DBTEAMLOGEmailIngestPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmailIngestPolicy.h; sourceTree = ""; }; + F99E0C452B7A733000D55EF8 /* DBTEAMLOGPassPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPassPolicy.h; sourceTree = ""; }; + F99E0C462B7A733000D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersFileAddType.h; sourceTree = ""; }; + F99E0C472B7A733000D55EF8 /* DBTEAMLOGFileRequestDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestDeleteType.h; sourceTree = ""; }; + F99E0C482B7A733000D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h; sourceTree = ""; }; + F99E0C492B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h; sourceTree = ""; }; + F99E0C4A2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeLogoType.h; sourceTree = ""; }; + F99E0C4B2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCloseDetails.h; sourceTree = ""; }; + F99E0C4C2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h; sourceTree = ""; }; + F99E0C4D2B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTrashedType.h; sourceTree = ""; }; + F99E0C4E2B7A733000D55EF8 /* DBTEAMLOGSharedContentCopyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentCopyType.h; sourceTree = ""; }; + F99E0C4F2B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h; sourceTree = ""; }; + F99E0C502B7A733000D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedNoteOpenedType.h; sourceTree = ""; }; + F99E0C512B7A733000D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddExternalIdType.h; sourceTree = ""; }; + F99E0C522B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryTeamRequestReminderDetails.h; sourceTree = ""; }; + F99E0C532B7A733000D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationConnectedDetails.h; sourceTree = ""; }; + F99E0C542B7A733000D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderRenameDetails.h; sourceTree = ""; }; + F99E0C552B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyCreateDetails.h; sourceTree = ""; }; + F99E0C562B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUntrashedDeprecatedType.h; sourceTree = ""; }; + F99E0C572B7A733000D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkChangeExpiryDetails.h; sourceTree = ""; }; + F99E0C582B7A733000D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationChangePolicyType.h; sourceTree = ""; }; + F99E0C592B7A733000D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBackupAdminInvitationSentDetails.h; sourceTree = ""; }; + F99E0C5A2B7A733000D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingFolderJoinPolicy.h; sourceTree = ""; }; + F99E0C5B2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h; sourceTree = ""; }; + F99E0C5C2B7A733000D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderNestDetails.h; sourceTree = ""; }; + F99E0C5D2B7A733000D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRequestsChangePolicyType.h; sourceTree = ""; }; + F99E0C5E2B7A733000D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderDowngradeType.h; sourceTree = ""; }; + F99E0C5F2B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewForbidType.h; sourceTree = ""; }; + F99E0C602B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocResolveCommentDetails.h; sourceTree = ""; }; + F99E0C612B7A733000D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h; sourceTree = ""; }; + F99E0C622B7A733000D55EF8 /* DBTEAMLOGTeamEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEvent.h; sourceTree = ""; }; + F99E0C632B7A733000D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRemoveExternalIdDetails.h; sourceTree = ""; }; + F99E0C642B7A733000D55EF8 /* DBTEAMLOGLoginSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginSuccessDetails.h; sourceTree = ""; }; + F99E0C652B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h; sourceTree = ""; }; + F99E0C662B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMountDetails.h; sourceTree = ""; }; + F99E0C672B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExtendedVersionHistoryChangePolicyType.h; sourceTree = ""; }; + F99E0C682B7A733100D55EF8 /* DBTEAMLOGFileEditCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileEditCommentType.h; sourceTree = ""; }; + F99E0C692B7A733100D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcasePermanentlyDeletedType.h; sourceTree = ""; }; + F99E0C6A2B7A733100D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderLogInfo.h; sourceTree = ""; }; + F99E0C6B2B7A733100D55EF8 /* DBTEAMLOGNoteSharedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteSharedDetails.h; sourceTree = ""; }; + F99E0C6C2B7A733100D55EF8 /* DBTEAMLOGFileEditDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileEditDetails.h; sourceTree = ""; }; + F99E0C6D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesRequestToJoinTeamType.h; sourceTree = ""; }; + F99E0C6E2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeDownloadsPolicyType.h; sourceTree = ""; }; + F99E0C6F2B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfInviteGroupDetails.h; sourceTree = ""; }; + F99E0C702B7A733100D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileRemovedType.h; sourceTree = ""; }; + F99E0C712B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAddExpirationType.h; sourceTree = ""; }; + F99E0C722B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelUpdatedValueType.h; sourceTree = ""; }; + F99E0C732B7A733100D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDesktopPolicyChangedDetails.h; sourceTree = ""; }; + F99E0C742B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h; sourceTree = ""; }; + F99E0C752B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderType.h; sourceTree = ""; }; + F99E0C762B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditCommentType.h; sourceTree = ""; }; + F99E0C772B7A733100D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateExceptionsReportType.h; sourceTree = ""; }; + F99E0C782B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h; sourceTree = ""; }; + F99E0C792B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h; sourceTree = ""; }; + F99E0C7A2B7A733100D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnabledDomainInvitesType.h; sourceTree = ""; }; + F99E0C7B2B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteShareReceiveType.h; sourceTree = ""; }; + F99E0C7C2B7A733100D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryEmailVerifiedDetails.h; sourceTree = ""; }; + F99E0C7D2B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRequestAccessDetails.h; sourceTree = ""; }; + F99E0C7E2B7A733100D55EF8 /* DBTEAMLOGGroupMovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupMovedDetails.h; sourceTree = ""; }; + F99E0C7F2B7A733100D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocOwnershipChangedType.h; sourceTree = ""; }; + F99E0C802B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMicrosoftOfficeAddinPolicy.h; sourceTree = ""; }; + F99E0C812B7A733100D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCommentsChangePolicyDetails.h; sourceTree = ""; }; + F99E0C822B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewItemPinnedDetails.h; sourceTree = ""; }; + F99E0C832B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeStatusDetails.h; sourceTree = ""; }; + F99E0C842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportDownloadedDetails.h; sourceTree = ""; }; + F99E0C852B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDownloadDetails.h; sourceTree = ""; }; + F99E0C862B7A733100D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentClaimInvitationType.h; sourceTree = ""; }; + F99E0C872B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangePasswordType.h; sourceTree = ""; }; + F99E0C882B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h; sourceTree = ""; }; + F99E0C892B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveMemberDetails.h; sourceTree = ""; }; + F99E0C8A2B7A733100D55EF8 /* DBTEAMLOGShowcaseViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseViewType.h; sourceTree = ""; }; + F99E0C8B2B7A733100D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseEnabledPolicy.h; sourceTree = ""; }; + F99E0C8C2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h; sourceTree = ""; }; + F99E0C8D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h; sourceTree = ""; }; + F99E0C8E2B7A733100D55EF8 /* DBTEAMLOGLogoutType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLogoutType.h; sourceTree = ""; }; + F99E0C8F2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGComputerBackupPolicyChangedType.h; sourceTree = ""; }; + F99E0C902B7A733100D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTrustedTeamsRequestState.h; sourceTree = ""; }; + F99E0C912B7A733100D55EF8 /* DBTEAMLOGDeviceLinkFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkFailType.h; sourceTree = ""; }; + F99E0C922B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupAdditionType.h; sourceTree = ""; }; + F99E0C932B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveMemberType.h; sourceTree = ""; }; + F99E0C942B7A733100D55EF8 /* DBTEAMLOGFileDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDownloadDetails.h; sourceTree = ""; }; + F99E0C952B7A733100D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNonTeamMemberLogInfo.h; sourceTree = ""; }; + F99E0C962B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderReorderSectionType.h; sourceTree = ""; }; + F99E0C972B7A733100D55EF8 /* DBTEAMLOGTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamDetails.h; sourceTree = ""; }; + F99E0C982B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h; sourceTree = ""; }; + F99E0C992B7A733100D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderCreateDetails.h; sourceTree = ""; }; + F99E0C9A2B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkPasswordType.h; sourceTree = ""; }; + F99E0C9B2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0C9C2B7A733100D55EF8 /* DBTEAMLOGGroupDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupDeleteDetails.h; sourceTree = ""; }; + F99E0C9D2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnterpriseSettingsLockingDetails.h; sourceTree = ""; }; + F99E0C9E2B7A733100D55EF8 /* DBTEAMLOGPasswordResetType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetType.h; sourceTree = ""; }; + F99E0C9F2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0CA02B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h; sourceTree = ""; }; + F99E0CA12B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h; sourceTree = ""; }; + F99E0CA22B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsChangePolicyDetails.h; sourceTree = ""; }; + F99E0CA32B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewItemUnpinnedType.h; sourceTree = ""; }; + F99E0CA42B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupStatusChangedType.h; sourceTree = ""; }; + F99E0CA52B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h; sourceTree = ""; }; + F99E0CA62B7A733100D55EF8 /* DBTEAMLOGResellerLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerLogInfo.h; sourceTree = ""; }; + F99E0CA72B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h; sourceTree = ""; }; + F99E0CA82B7A733100D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeletedDetails.h; sourceTree = ""; }; + F99E0CA92B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTwoAccountChangePolicyDetails.h; sourceTree = ""; }; + F99E0CAA2B7A733100D55EF8 /* DBTEAMLOGFedExtraDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFedExtraDetails.h; sourceTree = ""; }; + F99E0CAB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkChangeExpiryType.h; sourceTree = ""; }; + F99E0CAC2B7A733100D55EF8 /* DBTEAMLOGBinderReorderPageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderReorderPageType.h; sourceTree = ""; }; + F99E0CAD2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddInviteesDetails.h; sourceTree = ""; }; + F99E0CAE2B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSetProfilePhotoType.h; sourceTree = ""; }; + F99E0CAF2B7A733100D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGViewerInfoPolicyChangedType.h; sourceTree = ""; }; + F99E0CB02B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionStartType.h; sourceTree = ""; }; + F99E0CB12B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureNotificationType.h; sourceTree = ""; }; + F99E0CB22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberAddExternalIdType.h; sourceTree = ""; }; + F99E0CB32B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmAddExceptionDetails.h; sourceTree = ""; }; + F99E0CB42B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileSharedLinkModifiedType.h; sourceTree = ""; }; + F99E0CB52B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationRemoveDomainType.h; sourceTree = ""; }; + F99E0CB62B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOutdatedLinkViewCreateReportType.h; sourceTree = ""; }; + F99E0CB72B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyEnableKeyType.h; sourceTree = ""; }; + F99E0CB82B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h; sourceTree = ""; }; + F99E0CB92B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDefaultFolderPolicy.h; sourceTree = ""; }; + F99E0CBA2B7A733100D55EF8 /* DBTEAMLOGFilePreviewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePreviewType.h; sourceTree = ""; }; + F99E0CBB2B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayProjectTeamAddDetails.h; sourceTree = ""; }; + F99E0CBC2B7A733100D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertCategoryEnum.h; sourceTree = ""; }; + F99E0CBD2B7A733100D55EF8 /* DBTEAMLOGPaperMemberPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperMemberPolicy.h; sourceTree = ""; }; + F99E0CBE2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileDownloadType.h; sourceTree = ""; }; + F99E0CBF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWatermarkingPolicyChangedDetails.h; sourceTree = ""; }; + F99E0CC02B7A733100D55EF8 /* DBTEAMLOGFedAdminRole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFedAdminRole.h; sourceTree = ""; }; + F99E0CC12B7A733100D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfExternalInviteWarnDetails.h; sourceTree = ""; }; + F99E0CC22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkSuccessDetails.h; sourceTree = ""; }; + F99E0CC32B7A733100D55EF8 /* DBTEAMLOGResellerSupportPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportPolicy.h; sourceTree = ""; }; + F99E0CC42B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamExtensionsPolicyChangedType.h; sourceTree = ""; }; + F99E0CC52B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupJoinPolicyUpdatedDetails.h; sourceTree = ""; }; + F99E0CC62B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclLinkType.h; sourceTree = ""; }; + F99E0CC72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewDefaultTeamType.h; sourceTree = ""; }; + F99E0CC82B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeFromDetails.h; sourceTree = ""; }; + F99E0CC92B7A733100D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserLinkedAppLogInfo.h; sourceTree = ""; }; + F99E0CCA2B7A733100D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddMemberType.h; sourceTree = ""; }; + F99E0CCB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0CCC2B7A733100D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmChangePolicyDetails.h; sourceTree = ""; }; + F99E0CCD2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyZipPartDownloadedType.h; sourceTree = ""; }; + F99E0CCE2B7A733100D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePermanentlyDeleteDetails.h; sourceTree = ""; }; + F99E0CCF2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h; sourceTree = ""; }; + F99E0CD02B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledDetails.h; sourceTree = ""; }; + F99E0CD12B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementDisabledDetails.h; sourceTree = ""; }; + F99E0CD22B7A733100D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeExternalIdType.h; sourceTree = ""; }; + F99E0CD32B7A733100D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseTrashedDeprecatedType.h; sourceTree = ""; }; + F99E0CD42B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsReleaseAHoldType.h; sourceTree = ""; }; + F99E0CD52B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderDeclineInvitationDetails.h; sourceTree = ""; }; + F99E0CD62B7A733100D55EF8 /* DBTEAMLOGParticipantLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGParticipantLogInfo.h; sourceTree = ""; }; + F99E0CD72B7A733100D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderDowngradeDetails.h; sourceTree = ""; }; + F99E0CD82B7A733100D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLogoutUrlType.h; sourceTree = ""; }; + F99E0CD92B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0CDA2B7A733100D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeleteTeamInviteLinkDetails.h; sourceTree = ""; }; + F99E0CDB2B7A733100D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddSecurityKeyDetails.h; sourceTree = ""; }; + F99E0CDC2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupPolicyChangedType.h; sourceTree = ""; }; + F99E0CDD2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferViewDetails.h; sourceTree = ""; }; + F99E0CDE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyExportCreatedDetails.h; sourceTree = ""; }; + F99E0CDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeCertDetails.h; sourceTree = ""; }; + F99E0CE02B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeExternalIdType.h; sourceTree = ""; }; + F99E0CE12B7A733100D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserTagsAddedDetails.h; sourceTree = ""; }; + F99E0CE22B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyRemoveFoldersType.h; sourceTree = ""; }; + F99E0CE32B7A733100D55EF8 /* DBTEAMLOGTfaResetDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaResetDetails.h; sourceTree = ""; }; + F99E0CE42B7A733100D55EF8 /* DBTEAMLOGGroupCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupCreateDetails.h; sourceTree = ""; }; + F99E0CE52B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyContentDisposedType.h; sourceTree = ""; }; + F99E0CE62B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h; sourceTree = ""; }; + F99E0CE72B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCameraUploadsPolicyChangedDetails.h; sourceTree = ""; }; + F99E0CE82B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h; sourceTree = ""; }; + F99E0CE92B7A733100D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLikeCommentDetails.h; sourceTree = ""; }; + F99E0CEA2B7A733100D55EF8 /* DBTEAMLOGTfaConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaConfiguration.h; sourceTree = ""; }; + F99E0CEB2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeResellerRoleType.h; sourceTree = ""; }; + F99E0CEC2B7A733100D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocSlackShareDetails.h; sourceTree = ""; }; + F99E0CED2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnterpriseSettingsLockingType.h; sourceTree = ""; }; + F99E0CEE2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestionsChangePolicyType.h; sourceTree = ""; }; + F99E0CEF2B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamExtensionsPolicy.h; sourceTree = ""; }; + F99E0CF02B7A733100D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFederationStatusChangeAdditionalInfo.h; sourceTree = ""; }; + F99E0CF12B7A733100D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkUserDetails.h; sourceTree = ""; }; + F99E0CF22B7A733100D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportChangePolicyDetails.h; sourceTree = ""; }; + F99E0CF32B7A733100D55EF8 /* DBTEAMLOGSsoAddCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddCertDetails.h; sourceTree = ""; }; + F99E0CF42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledType.h; sourceTree = ""; }; + F99E0CF52B7A733100D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h; sourceTree = ""; }; + F99E0CF62B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h; sourceTree = ""; }; + F99E0CF72B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveMemberType.h; sourceTree = ""; }; + F99E0CF82B7A733100D55EF8 /* DBTEAMLOGPlacementRestriction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPlacementRestriction.h; sourceTree = ""; }; + F99E0CF92B7A733100D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileGetCopyReferenceType.h; sourceTree = ""; }; + F99E0CFA2B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDefaultFolderPolicyChangedType.h; sourceTree = ""; }; + F99E0CFB2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyAddFoldersDetails.h; sourceTree = ""; }; + F99E0CFC2B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationPolicyChangedType.h; sourceTree = ""; }; + F99E0CFD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkRemoveExpiryDetails.h; sourceTree = ""; }; + F99E0CFE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h; sourceTree = ""; }; + F99E0CFF2B7A733100D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersFileAddDetails.h; sourceTree = ""; }; + F99E0D002B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewDescriptionChangedType.h; sourceTree = ""; }; + F99E0D012B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveCertType.h; sourceTree = ""; }; + F99E0D022B7A733100D55EF8 /* DBTEAMLOGPaperDocEditDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditDetails.h; sourceTree = ""; }; + F99E0D032B7A733100D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h; sourceTree = ""; }; + F99E0D042B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h; sourceTree = ""; }; + F99E0D052B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSharingPolicyType.h; sourceTree = ""; }; + F99E0D062B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderUnmountDetails.h; sourceTree = ""; }; + F99E0D072B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsExportedType.h; sourceTree = ""; }; + F99E0D082B7A733100D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h; sourceTree = ""; }; + F99E0D092B7A733100D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnlikeCommentType.h; sourceTree = ""; }; + F99E0D0A2B7A733100D55EF8 /* DBTEAMLOGDurationLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDurationLogInfo.h; sourceTree = ""; }; + F99E0D0B2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeMemberRoleDetails.h; sourceTree = ""; }; + F99E0D0C2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveExceptionDetails.h; sourceTree = ""; }; + F99E0D0D2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangePolicyType.h; sourceTree = ""; }; + F99E0D0E2B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderTeamInviteDetails.h; sourceTree = ""; }; + F99E0D0F2B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingAlertStatePolicy.h; sourceTree = ""; }; + F99E0D102B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOutdatedLinkViewReportFailedDetails.h; sourceTree = ""; }; + F99E0D112B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceUnlinkType.h; sourceTree = ""; }; + F99E0D122B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncChangePolicyType.h; sourceTree = ""; }; + F99E0D132B7A733100D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocTeamInviteType.h; sourceTree = ""; }; + F99E0D142B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionEndType.h; sourceTree = ""; }; + F99E0D152B7A733100D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperAdminExportStartType.h; sourceTree = ""; }; + F99E0D162B7A733100D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkAddExpiryDetails.h; sourceTree = ""; }; + F99E0D172B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRenamePageDetails.h; sourceTree = ""; }; + F99E0D182B7A733100D55EF8 /* DBTEAMLOGSsoErrorDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoErrorDetails.h; sourceTree = ""; }; + F99E0D192B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h; sourceTree = ""; }; + F99E0D1A2B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationCreateReportDetails.h; sourceTree = ""; }; + F99E0D1B2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h; sourceTree = ""; }; + F99E0D1C2B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSharingPolicyDetails.h; sourceTree = ""; }; + F99E0D1D2B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadEnabledDetails.h; sourceTree = ""; }; + F99E0D1E2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangePolicyDetails.h; sourceTree = ""; }; + F99E0D1F2B7A733100D55EF8 /* DBTEAMLOGTeamFolderRenameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderRenameType.h; sourceTree = ""; }; + F99E0D202B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestionsChangePolicyDetails.h; sourceTree = ""; }; + F99E0D212B7A733100D55EF8 /* DBTEAMLOGGroupRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRenameDetails.h; sourceTree = ""; }; + F99E0D222B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h; sourceTree = ""; }; + F99E0D232B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h; sourceTree = ""; }; + F99E0D242B7A733100D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentDownloadDetails.h; sourceTree = ""; }; + F99E0D252B7A733100D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRestoreMemberDetails.h; sourceTree = ""; }; + F99E0D262B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceUnlinkDetails.h; sourceTree = ""; }; + F99E0D272B7A733100D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUnresolveCommentDetails.h; sourceTree = ""; }; + F99E0D282B7A733100D55EF8 /* DBTEAMLOGBinderAddSectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderAddSectionType.h; sourceTree = ""; }; + F99E0D292B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h; sourceTree = ""; }; + F99E0D2A2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsError.h; sourceTree = ""; }; + F99E0D2B2B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileDeleteType.h; sourceTree = ""; }; + F99E0D2C2B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLoginUrlDetails.h; sourceTree = ""; }; + F99E0D2D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppBlockedByPermissionsType.h; sourceTree = ""; }; + F99E0D2E2B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocAddCommentDetails.h; sourceTree = ""; }; + F99E0D2F2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExportMembersReportFailType.h; sourceTree = ""; }; + F99E0D302B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareAlertCreateReportDetails.h; sourceTree = ""; }; + F99E0D312B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0D322B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingChangedAlertConfigType.h; sourceTree = ""; }; + F99E0D332B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkExpiryType.h; sourceTree = ""; }; + F99E0D342B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyDeleteDetails.h; sourceTree = ""; }; + F99E0D352B7A733100D55EF8 /* DBTEAMLOGPaperDocEditType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditType.h; sourceTree = ""; }; + F99E0D362B7A733100D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppUnlinkTeamDetails.h; sourceTree = ""; }; + F99E0D372B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderChangeSubscriptionType.h; sourceTree = ""; }; + F99E0D382B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAutoCanceledType.h; sourceTree = ""; }; + F99E0D392B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncOptOutPolicy.h; sourceTree = ""; }; + F99E0D3A2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCameraUploadsPolicyChangedType.h; sourceTree = ""; }; + F99E0D3B2B7A733100D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseDownloadPolicy.h; sourceTree = ""; }; + F99E0D3C2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeResellerRoleDetails.h; sourceTree = ""; }; + F99E0D3D2B7A733100D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContentPermanentDeletePolicy.h; sourceTree = ""; }; + F99E0D3E2B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRenameDetails.h; sourceTree = ""; }; + F99E0D3F2B7A733100D55EF8 /* DBTEAMLOGIdentifierType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIdentifierType.h; sourceTree = ""; }; + F99E0D402B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSendInvitePolicyChangedType.h; sourceTree = ""; }; + F99E0D412B7A733100D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderDeletedDetails.h; sourceTree = ""; }; + F99E0D422B7A733100D55EF8 /* DBTEAMLOGConnectedTeamName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGConnectedTeamName.h; sourceTree = ""; }; + F99E0D432B7A733100D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFailureDetailsLogInfo.h; sourceTree = ""; }; + F99E0D442B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeFromType.h; sourceTree = ""; }; + F99E0D452B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0D462B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h; sourceTree = ""; }; + F99E0D472B7A733100D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentUnshareDetails.h; sourceTree = ""; }; + F99E0D482B7A733100D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRefreshAuthTokenDetails.h; sourceTree = ""; }; + F99E0D492B7A733100D55EF8 /* DBTEAMLOGGroupCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupCreateType.h; sourceTree = ""; }; + F99E0D4A2B7A733100D55EF8 /* DBTEAMLOGTeamMembershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMembershipType.h; sourceTree = ""; }; + F99E0D4B2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyAddFoldersType.h; sourceTree = ""; }; + F99E0D4C2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetAllDetails.h; sourceTree = ""; }; + F99E0D4D2B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupJoinPolicyUpdatedType.h; sourceTree = ""; }; + F99E0D4E2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0D4F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeStatusDetails.h; sourceTree = ""; }; + F99E0D502B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0D512B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h; sourceTree = ""; }; + F99E0D522B7A733100D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamBrandingPolicy.h; sourceTree = ""; }; + F99E0D532B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h; sourceTree = ""; }; + F99E0D542B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationCreateReportType.h; sourceTree = ""; }; + F99E0D552B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0D562B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmAddExceptionType.h; sourceTree = ""; }; + F99E0D572B7A733100D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRequestAccessDetails.h; sourceTree = ""; }; + F99E0D582B7A733100D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentAddToFolderDetails.h; sourceTree = ""; }; + F99E0D592B7A733100D55EF8 /* DBTEAMLOGPaperDocFollowedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocFollowedType.h; sourceTree = ""; }; + F99E0D5A2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h; sourceTree = ""; }; + F99E0D5B2B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRenamePageType.h; sourceTree = ""; }; + F99E0D5C2B7A733100D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamLinkedAppLogInfo.h; sourceTree = ""; }; + F99E0D5D2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderDetails.h; sourceTree = ""; }; + F99E0D5E2B7A733100D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRemoveExternalIdType.h; sourceTree = ""; }; + F99E0D5F2B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h; sourceTree = ""; }; + F99E0D602B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkExpiryDetails.h; sourceTree = ""; }; + F99E0D612B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangePolicyType.h; sourceTree = ""; }; + F99E0D622B7A733100D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseDeleteCommentType.h; sourceTree = ""; }; + F99E0D632B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h; sourceTree = ""; }; + F99E0D642B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLoginUrlType.h; sourceTree = ""; }; + F99E0D652B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRewindPolicyChangedType.h; sourceTree = ""; }; + F99E0D662B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSubscriptionDetails.h; sourceTree = ""; }; + F99E0D672B7A733100D55EF8 /* DBTEAMLOGActionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGActionDetails.h; sourceTree = ""; }; + F99E0D682B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h; sourceTree = ""; }; + F99E0D692B7A733100D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h; sourceTree = ""; }; + F99E0D6A2B7A733100D55EF8 /* DBTEAMLOGLabelType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLabelType.h; sourceTree = ""; }; + F99E0D6B2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSendForSignaturePolicy.h; sourceTree = ""; }; + F99E0D6C2B7A733100D55EF8 /* DBTEAMLOGFileRequestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestDetails.h; sourceTree = ""; }; + F99E0D6D2B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveExternalIdType.h; sourceTree = ""; }; + F99E0D6E2B7A733100D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceSessionLogInfo.h; sourceTree = ""; }; + F99E0D6F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangeBackupPhoneDetails.h; sourceTree = ""; }; + F99E0D702B7A733100D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLinkedDeviceLogInfo.h; sourceTree = ""; }; + F99E0D712B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpMobileType.h; sourceTree = ""; }; + F99E0D722B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOutdatedLinkViewCreateReportDetails.h; sourceTree = ""; }; + F99E0D732B7A733100D55EF8 /* DBTEAMLOGMissingDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMissingDetails.h; sourceTree = ""; }; + F99E0D742B7A733100D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDesktopDeviceSessionLogInfo.h; sourceTree = ""; }; + F99E0D752B7A733100D55EF8 /* DBTEAMLOGOrganizationName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOrganizationName.h; sourceTree = ""; }; + F99E0D762B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyExportRemovedType.h; sourceTree = ""; }; + F99E0D772B7A733100D55EF8 /* DBTEAMLOGEmmErrorDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmErrorDetails.h; sourceTree = ""; }; + F99E0D782B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkCopyDetails.h; sourceTree = ""; }; + F99E0D792B7A733100D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmailIngestReceiveFileType.h; sourceTree = ""; }; + F99E0D7A2B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h; sourceTree = ""; }; + F99E0D7B2B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeManagementTypeDetails.h; sourceTree = ""; }; + F99E0D7C2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSendForSignaturePolicyChangedType.h; sourceTree = ""; }; + F99E0D7D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h; sourceTree = ""; }; + F99E0D7E2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveBackupPhoneType.h; sourceTree = ""; }; + F99E0D7F2B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRemovePageType.h; sourceTree = ""; }; + F99E0D802B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpWebDetails.h; sourceTree = ""; }; + F99E0D812B7A733100D55EF8 /* DBTEAMLOGPasswordResetDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetDetails.h; sourceTree = ""; }; + F99E0D822B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeMemberRoleType.h; sourceTree = ""; }; + F99E0D832B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSelectiveSyncPolicy.h; sourceTree = ""; }; + F99E0D842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsReportAHoldDetails.h; sourceTree = ""; }; + F99E0D852B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportRemovedDetails.h; sourceTree = ""; }; + F99E0D862B7A733100D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNonTrustedTeamDetails.h; sourceTree = ""; }; + F99E0D872B7A733100D55EF8 /* DBTEAMLOGNetworkControlPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNetworkControlPolicy.h; sourceTree = ""; }; + F99E0D882B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportDownloadedType.h; sourceTree = ""; }; + F99E0D892B7A733100D55EF8 /* DBTEAMLOGFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderLogInfo.h; sourceTree = ""; }; + F99E0D8A2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h; sourceTree = ""; }; + F99E0D8B2B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportRemovedType.h; sourceTree = ""; }; + F99E0D8C2B7A733100D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddFromAutomationDetails.h; sourceTree = ""; }; + F99E0D8D2B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryMailsPolicy.h; sourceTree = ""; }; + F99E0D8E2B7A733100D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfFbInviteChangeRoleDetails.h; sourceTree = ""; }; + F99E0D8F2B7A733100D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDisabledDomainInvitesType.h; sourceTree = ""; }; + F99E0D902B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h; sourceTree = ""; }; + F99E0D912B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentCreateDetails.h; sourceTree = ""; }; + F99E0D922B7A733100D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelEnableDownloadsType.h; sourceTree = ""; }; + F99E0D932B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadEnabledType.h; sourceTree = ""; }; + F99E0D942B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkGenReportFailedType.h; sourceTree = ""; }; + F99E0D952B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareAlertCreateReportType.h; sourceTree = ""; }; + F99E0D962B7A733100D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLogoutUrlDetails.h; sourceTree = ""; }; + F99E0D972B7A733100D55EF8 /* DBTEAMLOGGroupAddMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddMemberType.h; sourceTree = ""; }; + F99E0D982B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkPolicyDetails.h; sourceTree = ""; }; + F99E0D992B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCreateDetails.h; sourceTree = ""; }; + F99E0D9A2B7A733100D55EF8 /* DBTEAMLOGEmmErrorType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmErrorType.h; sourceTree = ""; }; + F99E0D9B2B7A733100D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegacyDeviceSessionLogInfo.h; sourceTree = ""; }; + F99E0D9C2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0D9D2B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h; sourceTree = ""; }; + F99E0D9E2B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangePolicyType.h; sourceTree = ""; }; + F99E0D9F2B7A733100D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsEmailsEnabledDetails.h; sourceTree = ""; }; + F99E0DA02B7A733100D55EF8 /* DBTEAMLOGSharedLinkVisibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkVisibility.h; sourceTree = ""; }; + F99E0DA12B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamExtensionsPolicyChangedDetails.h; sourceTree = ""; }; + F99E0DA22B7A733100D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestChangeDetails.h; sourceTree = ""; }; + F99E0DA32B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeManagementTypeType.h; sourceTree = ""; }; + F99E0DA42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedType.h; sourceTree = ""; }; + F99E0DA52B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingAlertStateChangedDetails.h; sourceTree = ""; }; + F99E0DA62B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddLoginUrlType.h; sourceTree = ""; }; + F99E0DA72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewForbidDetails.h; sourceTree = ""; }; + F99E0DA82B7A733100D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeMemberRoleType.h; sourceTree = ""; }; + F99E0DA92B7A733100D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeDeploymentPolicyType.h; sourceTree = ""; }; + F99E0DAA2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h; sourceTree = ""; }; + F99E0DAB2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h; sourceTree = ""; }; + F99E0DAC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h; sourceTree = ""; }; + F99E0DAD2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h; sourceTree = ""; }; + F99E0DAE2B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkTeamType.h; sourceTree = ""; }; + F99E0DAF2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h; sourceTree = ""; }; + F99E0DB02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkDisabledDetails.h; sourceTree = ""; }; + F99E0DB12B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationPolicyChangedDetails.h; sourceTree = ""; }; + F99E0DB22B7A733100D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelRemovedType.h; sourceTree = ""; }; + F99E0DB32B7A733100D55EF8 /* DBTEAMLOGSharedContentViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentViewDetails.h; sourceTree = ""; }; + F99E0DB42B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRemovePageDetails.h; sourceTree = ""; }; + F99E0DB52B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayProjectTeamAddType.h; sourceTree = ""; }; + F99E0DB62B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderTeamInviteType.h; sourceTree = ""; }; + F99E0DB72B7A733100D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDefaultLinkExpirationDaysPolicy.h; sourceTree = ""; }; + F99E0DB82B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLockingLockStatusChangedType.h; sourceTree = ""; }; + F99E0DB92B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileChangeCommentSubscriptionType.h; sourceTree = ""; }; + F99E0DBA2B7A733100D55EF8 /* DBTEAMLOGOrganizationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOrganizationDetails.h; sourceTree = ""; }; + F99E0DBB2B7A733100D55EF8 /* DBTEAMLOGJoinTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGJoinTeamDetails.h; sourceTree = ""; }; + F99E0DBC2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h; sourceTree = ""; }; + F99E0DBD2B7A733100D55EF8 /* DBTEAMLOGMemberChangeEmailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeEmailType.h; sourceTree = ""; }; + F99E0DBE2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h; sourceTree = ""; }; + F99E0DBF2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h; sourceTree = ""; }; + F99E0DC02B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkExpiryType.h; sourceTree = ""; }; + F99E0DC12B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyEditDurationType.h; sourceTree = ""; }; + F99E0DC22B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentCreateType.h; sourceTree = ""; }; + F99E0DC32B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalSharingCreateReportType.h; sourceTree = ""; }; + F99E0DC42B7A733100D55EF8 /* DBTEAMLOGAppLinkUserType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkUserType.h; sourceTree = ""; }; + F99E0DC52B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoExpirationLinkGenReportFailedType.h; sourceTree = ""; }; + F99E0DC62B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRollbackChangesDetails.h; sourceTree = ""; }; + F99E0DC72B7A733100D55EF8 /* DBTEAMLOGFileAddCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileAddCommentDetails.h; sourceTree = ""; }; + F99E0DC82B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferSendDetails.h; sourceTree = ""; }; + F99E0DC92B7A733100D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamGrantAccessType.h; sourceTree = ""; }; + F99E0DCA2B7A733100D55EF8 /* DBTEAMLOGFileRevertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRevertType.h; sourceTree = ""; }; + F99E0DCB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h; sourceTree = ""; }; + F99E0DCC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangeAvailabilityType.h; sourceTree = ""; }; + F99E0DCD2B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSendInvitePolicy.h; sourceTree = ""; }; + F99E0DCE2B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEndedEnterpriseAdminSessionType.h; sourceTree = ""; }; + F99E0DCF2B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderPermanentlyDeleteType.h; sourceTree = ""; }; + F99E0DD02B7A733100D55EF8 /* DBTEAMLOGPaperDocViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocViewType.h; sourceTree = ""; }; + F99E0DD12B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangePolicyType.h; sourceTree = ""; }; + F99E0DD22B7A733100D55EF8 /* DBTEAMLOGAccountCapturePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCapturePolicy.h; sourceTree = ""; }; + F99E0DD32B7A733100D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRemoveExceptionType.h; sourceTree = ""; }; + F99E0DD42B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeSubscriptionType.h; sourceTree = ""; }; + F99E0DD52B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryMailsPolicyChangedDetails.h; sourceTree = ""; }; + F99E0DD62B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h; sourceTree = ""; }; + F99E0DD72B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyContentDisposedDetails.h; sourceTree = ""; }; + F99E0DD82B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeStatusType.h; sourceTree = ""; }; + F99E0DD92B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewItemPinnedType.h; sourceTree = ""; }; + F99E0DDA2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferDeleteDetails.h; sourceTree = ""; }; + F99E0DDB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h; sourceTree = ""; }; + F99E0DDC2B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h; sourceTree = ""; }; + F99E0DDD2B7A733100D55EF8 /* DBTEAMLOGFileLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLogInfo.h; sourceTree = ""; }; + F99E0DDE2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h; sourceTree = ""; }; + F99E0DDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeLoginUrlDetails.h; sourceTree = ""; }; + F99E0DE02B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveMemberType.h; sourceTree = ""; }; + F99E0DE12B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h; sourceTree = ""; }; + F99E0DE22B7A733100D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestDeleteDetails.h; sourceTree = ""; }; + F99E0DE32B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h; sourceTree = ""; }; + F99E0DE42B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingTriggeredAlertType.h; sourceTree = ""; }; + F99E0DE52B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseCreatedType.h; sourceTree = ""; }; + F99E0DE62B7A733100D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberTransferredInternalFields.h; sourceTree = ""; }; + F99E0DE72B7A733100D55EF8 /* DBTEAMLOGTimeUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTimeUnit.h; sourceTree = ""; }; + F99E0DE82B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteCommentDetails.h; sourceTree = ""; }; + F99E0DE92B7A733100D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocumentLogInfo.h; sourceTree = ""; }; + F99E0DEA2B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncChangePolicyDetails.h; sourceTree = ""; }; + F99E0DEB2B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersPolicyChangedDetails.h; sourceTree = ""; }; + F99E0DEC2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkPasswordType.h; sourceTree = ""; }; + F99E0DED2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h; sourceTree = ""; }; + F99E0DEE2B7A733100D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRelinquishMembershipDetails.h; sourceTree = ""; }; + F99E0DEF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWatermarkingPolicyChangedType.h; sourceTree = ""; }; + F99E0DF02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkViewDetails.h; sourceTree = ""; }; + F99E0DF12B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h; sourceTree = ""; }; + F99E0DF22B7A733100D55EF8 /* DBTEAMLOGAdminRole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminRole.h; sourceTree = ""; }; + F99E0DF32B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareRestoreProcessStartedType.h; sourceTree = ""; }; + F99E0DF42B7A733100D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccessMethodLogInfo.h; sourceTree = ""; }; + F99E0DF52B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h; sourceTree = ""; }; + F99E0DF62B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocAddCommentType.h; sourceTree = ""; }; + F99E0DF72B7A733100D55EF8 /* DBTEAMLOGPaperDocViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocViewDetails.h; sourceTree = ""; }; + F99E0DF82B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSetProfilePhotoDetails.h; sourceTree = ""; }; + F99E0DF92B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPrimaryTeamRequestCanceledDetails.h; sourceTree = ""; }; + F99E0DFA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h; sourceTree = ""; }; + F99E0DFB2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGoogleSsoChangePolicyDetails.h; sourceTree = ""; }; + F99E0DFC2B7A733100D55EF8 /* DBTEAMLOGPaperAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperAccessType.h; sourceTree = ""; }; + F99E0DFD2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeBackgroundDetails.h; sourceTree = ""; }; + F99E0DFE2B7A733100D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContentAdministrationPolicyChangedDetails.h; sourceTree = ""; }; + F99E0DFF2B7A733100D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h; sourceTree = ""; }; + F99E0E002B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h; sourceTree = ""; }; + F99E0E012B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyCreateType.h; sourceTree = ""; }; + F99E0E022B7A733100D55EF8 /* DBTEAMLOGSharingLinkPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingLinkPolicy.h; sourceTree = ""; }; + F99E0E032B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryTeamRequestCanceledDetails.h; sourceTree = ""; }; + F99E0E042B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRequestAccessType.h; sourceTree = ""; }; + F99E0E052B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayProjectTeamDeleteType.h; sourceTree = ""; }; + F99E0E062B7A733100D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h; sourceTree = ""; }; + F99E0E072B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeOverageActionType.h; sourceTree = ""; }; + F99E0E082B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0E092B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0E0A2B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncOptOutType.h; sourceTree = ""; }; + F99E0E0B2B7A733100D55EF8 /* DBTEAMLOGTeamInviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamInviteDetails.h; sourceTree = ""; }; + F99E0E0C2B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderReorderSectionDetails.h; sourceTree = ""; }; + F99E0E0D2B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h; sourceTree = ""; }; + F99E0E0E2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h; sourceTree = ""; }; + F99E0E0F2B7A733100D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileOrFolderLogInfo.h; sourceTree = ""; }; + F99E0E102B7A733100D55EF8 /* DBTEAMLOGDeviceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceType.h; sourceTree = ""; }; + F99E0E112B7A733100D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalSharingReportFailedType.h; sourceTree = ""; }; + F99E0E122B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoExpirationLinkGenCreateReportType.h; sourceTree = ""; }; + F99E0E132B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveMemberDetails.h; sourceTree = ""; }; + F99E0E142B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperChangePolicyDetails.h; sourceTree = ""; }; + F99E0E152B7A733100D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddBackupPhoneType.h; sourceTree = ""; }; + F99E0E162B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnresolveCommentDetails.h; sourceTree = ""; }; + F99E0E172B7A733100D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeAdminRoleType.h; sourceTree = ""; }; + F99E0E182B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyDisableKeyType.h; sourceTree = ""; }; + F99E0E192B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteShareReceiveDetails.h; sourceTree = ""; }; + F99E0E1A2B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveFromFolderDetails.h; sourceTree = ""; }; + F99E0E1B2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewItemUnpinnedDetails.h; sourceTree = ""; }; + F99E0E1C2B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderChangeSubscriptionDetails.h; sourceTree = ""; }; + F99E0E1D2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseAccessGrantedType.h; sourceTree = ""; }; + F99E0E1E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileRemoveBackgroundDetails.h; sourceTree = ""; }; + F99E0E1F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementEnabledDetails.h; sourceTree = ""; }; + F99E0E202B7A733100D55EF8 /* DBTEAMLOGEventType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventType.h; sourceTree = ""; }; + F99E0E212B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileUnresolveCommentType.h; sourceTree = ""; }; + F99E0E222B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncOptOutDetails.h; sourceTree = ""; }; + F99E0E232B7A733100D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncNotOptOutType.h; sourceTree = ""; }; + F99E0E242B7A733100D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h; sourceTree = ""; }; + F99E0E252B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupEligibilityStatus.h; sourceTree = ""; }; + F99E0E262B7A733100D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeSamlIdentityModeDetails.h; sourceTree = ""; }; + F99E0E272B7A733100D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEnforceLinkPasswordPolicy.h; sourceTree = ""; }; + F99E0E282B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelUpdatedValueDetails.h; sourceTree = ""; }; + F99E0E292B7A733100D55EF8 /* DBTEAMLOGMemberSuggestDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestDetails.h; sourceTree = ""; }; + F99E0E2A2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddLinkPasswordDetails.h; sourceTree = ""; }; + F99E0E2B2B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkCreateDetails.h; sourceTree = ""; }; + F99E0E2C2B7A733100D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmarterSmartSyncPolicyChangedType.h; sourceTree = ""; }; + F99E0E2D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h; sourceTree = ""; }; + F99E0E2E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeLogoDetails.h; sourceTree = ""; }; + F99E0E2F2B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGInviteAcceptanceEmailPolicy.h; sourceTree = ""; }; + F99E0E302B7A733100D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRemoveMemberDetails.h; sourceTree = ""; }; + F99E0E312B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileChangeCommentSubscriptionDetails.h; sourceTree = ""; }; + F99E0E322B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeInviteeRoleType.h; sourceTree = ""; }; + F99E0E332B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderDeclineInvitationType.h; sourceTree = ""; }; + F99E0E342B7A733100D55EF8 /* DBTEAMLOGBinderAddPageType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderAddPageType.h; sourceTree = ""; }; + F99E0E352B7A733100D55EF8 /* DBTEAMLOGPasswordChangeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordChangeType.h; sourceTree = ""; }; + F99E0E362B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyExportCreatedType.h; sourceTree = ""; }; + F99E0E372B7A733100D55EF8 /* DBTEAMLOGTeamMergeToType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeToType.h; sourceTree = ""; }; + F99E0E382B7A733100D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperFolderFollowedDetails.h; sourceTree = ""; }; + F99E0E392B7A733100D55EF8 /* DBTEAMLOGShmodelGroupShareType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelGroupShareType.h; sourceTree = ""; }; + F99E0E3A2B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeNameType.h; sourceTree = ""; }; + F99E0E3B2B7A733100D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRemoveSectionDetails.h; sourceTree = ""; }; + F99E0E3C2B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclLinkDetails.h; sourceTree = ""; }; + F99E0E3D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsContinueArg.h; sourceTree = ""; }; + F99E0E3E2B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkGenCreateReportType.h; sourceTree = ""; }; + F99E0E3F2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveSecurityKeyDetails.h; sourceTree = ""; }; + F99E0E402B7A733100D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseExternalSharingPolicy.h; sourceTree = ""; }; + F99E0E412B7A733100D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNetworkControlChangePolicyDetails.h; sourceTree = ""; }; + F99E0E422B7A733100D55EF8 /* DBTEAMLOGFileMoveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileMoveDetails.h; sourceTree = ""; }; + F99E0E432B7A733100D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelDisableDownloadsDetails.h; sourceTree = ""; }; + F99E0E442B7A733100D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGeoLocationLogInfo.h; sourceTree = ""; }; + F99E0E452B7A733100D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoteAclInviteOnlyType.h; sourceTree = ""; }; + F99E0E462B7A733100D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamUninviteDetails.h; sourceTree = ""; }; + F99E0E472B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddMemberType.h; sourceTree = ""; }; + F99E0E482B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLockingPolicyChangedDetails.h; sourceTree = ""; }; + F99E0E492B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyEditDetailsDetails.h; sourceTree = ""; }; + F99E0E4A2B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseCreatedDetails.h; sourceTree = ""; }; + F99E0E4B2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGComputerBackupPolicyChangedDetails.h; sourceTree = ""; }; + F99E0E4C2B7A733100D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminEmailRemindersPolicy.h; sourceTree = ""; }; + F99E0E4D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppBlockedByPermissionsDetails.h; sourceTree = ""; }; + F99E0E4E2B7A733100D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPendingSecondaryEmailAddedType.h; sourceTree = ""; }; + F99E0E4F2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureAvailability.h; sourceTree = ""; }; + F99E0E502B7A733100D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGStartedEnterpriseAdminSessionType.h; sourceTree = ""; }; + F99E0E512B7A733100D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupUserManagementChangePolicyType.h; sourceTree = ""; }; + F99E0E522B7A733100D55EF8 /* DBTEAMLOGFileDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDownloadType.h; sourceTree = ""; }; + F99E0E532B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCaptureTranscriptPolicy.h; sourceTree = ""; }; + F99E0E542B7A733100D55EF8 /* DBTEAMLOGEventCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventCategory.h; sourceTree = ""; }; + F99E0E552B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h; sourceTree = ""; }; + F99E0E562B7A733100D55EF8 /* DBTEAMLOGSharedLinkDisableType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkDisableType.h; sourceTree = ""; }; + F99E0E572B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyAddFolderFailedType.h; sourceTree = ""; }; + F99E0E582B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareAlertCreateReportFailedType.h; sourceTree = ""; }; + F99E0E592B7A733100D55EF8 /* DBTEAMLOGSharedContentViewType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentViewType.h; sourceTree = ""; }; + F99E0E5A2B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderMountType.h; sourceTree = ""; }; + F99E0E5B2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h; sourceTree = ""; }; + F99E0E5C2B7A733100D55EF8 /* DBTEAMLOGCreateFolderType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCreateFolderType.h; sourceTree = ""; }; + F99E0E5D2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileAddedType.h; sourceTree = ""; }; + F99E0E5E2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmailIngestPolicyChangedType.h; sourceTree = ""; }; + F99E0E5F2B7A733100D55EF8 /* DBTEAMLOGFilePreviewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePreviewDetails.h; sourceTree = ""; }; + F99E0E602B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangeExpirationType.h; sourceTree = ""; }; + F99E0E612B7A733100D55EF8 /* DBTEAMLOGExportMembersReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExportMembersReportDetails.h; sourceTree = ""; }; + F99E0E622B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaChangePolicyDetails.h; sourceTree = ""; }; + F99E0E632B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderUnmountType.h; sourceTree = ""; }; + F99E0E642B7A733100D55EF8 /* DBTEAMLOGUserNameLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserNameLogInfo.h; sourceTree = ""; }; + F99E0E652B7A733100D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountLockOrUnlockedDetails.h; sourceTree = ""; }; + F99E0E662B7A733100D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationDisconnectedDetails.h; sourceTree = ""; }; + F99E0E672B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyReportCreatedDetails.h; sourceTree = ""; }; + F99E0E682B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileSharedLinkCreatedType.h; sourceTree = ""; }; + F99E0E692B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h; sourceTree = ""; }; + F99E0E6A2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseAccessGrantedDetails.h; sourceTree = ""; }; + F99E0E6B2B7A733100D55EF8 /* DBTEAMLOGFileEditType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileEditType.h; sourceTree = ""; }; + F99E0E6C2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseEditedType.h; sourceTree = ""; }; + F99E0E6D2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangePolicyDetails.h; sourceTree = ""; }; + F99E0E6E2B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareRestoreProcessStartedDetails.h; sourceTree = ""; }; + F99E0E6F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementDisabledType.h; sourceTree = ""; }; + F99E0E702B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkTeamDetails.h; sourceTree = ""; }; + F99E0E712B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h; sourceTree = ""; }; + F99E0E722B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRemoveExternalIdDetails.h; sourceTree = ""; }; + F99E0E732B7A733100D55EF8 /* DBTEAMLOGCollectionShareType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCollectionShareType.h; sourceTree = ""; }; + F99E0E742B7A733100D55EF8 /* DBTEAMLOGFileRestoreType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRestoreType.h; sourceTree = ""; }; + F99E0E752B7A733100D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUntrashedDetails.h; sourceTree = ""; }; + F99E0E762B7A733100D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmCreateUsageReportDetails.h; sourceTree = ""; }; + F99E0E772B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupJoinPolicy.h; sourceTree = ""; }; + F99E0E782B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h; sourceTree = ""; }; + F99E0E792B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTwoAccountChangePolicyType.h; sourceTree = ""; }; + F99E0E7A2B7A733100D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteChangeRoleType.h; sourceTree = ""; }; + F99E0E7B2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h; sourceTree = ""; }; + F99E0E7C2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFolderOverviewDescriptionChangedDetails.h; sourceTree = ""; }; + F99E0E7D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsArg.h; sourceTree = ""; }; + F99E0E7E2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExportMembersReportType.h; sourceTree = ""; }; + F99E0E7F2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestType.h; sourceTree = ""; }; + F99E0E802B7A733100D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOrganizeFolderWithTidyDetails.h; sourceTree = ""; }; + F99E0E812B7A733100D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseResolveCommentDetails.h; sourceTree = ""; }; + F99E0E822B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocMentionType.h; sourceTree = ""; }; + F99E0E832B7A733100D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamActivityCreateReportDetails.h; sourceTree = ""; }; + F99E0E842B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredDetails.h; sourceTree = ""; }; + F99E0E852B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCaptureTranscriptPolicyChangedType.h; sourceTree = ""; }; + F99E0E862B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperPublishedLinkChangePermissionType.h; sourceTree = ""; }; + F99E0E872B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h; sourceTree = ""; }; + F99E0E882B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfInviteGroupType.h; sourceTree = ""; }; + F99E0E892B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingTriggeredAlertDetails.h; sourceTree = ""; }; + F99E0E8A2B7A733100D55EF8 /* DBTEAMLOGTeamName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamName.h; sourceTree = ""; }; + F99E0E8B2B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLockingLockStatusChangedDetails.h; sourceTree = ""; }; + F99E0E8C2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkPasswordDetails.h; sourceTree = ""; }; + F99E0E8D2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseEditedDetails.h; sourceTree = ""; }; + F99E0E8E2B7A733100D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentPermanentlyDeleteType.h; sourceTree = ""; }; + F99E0E8F2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangePolicyType.h; sourceTree = ""; }; + F99E0E902B7A733100D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRequestsChangePolicyDetails.h; sourceTree = ""; }; + F99E0E912B7A733100D55EF8 /* DBTEAMLOGClassificationType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationType.h; sourceTree = ""; }; + F99E0E922B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0E932B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h; sourceTree = ""; }; + F99E0E942B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoRemoveCertDetails.h; sourceTree = ""; }; + F99E0E952B7A733100D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkAccessLevel.h; sourceTree = ""; }; + F99E0E962B7A733100D55EF8 /* DBTEAMLOGEventTypeArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEventTypeArg.h; sourceTree = ""; }; + F99E0E972B7A733100D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionStartType.h; sourceTree = ""; }; + F99E0E982B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h; sourceTree = ""; }; + F99E0E992B7A733100D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h; sourceTree = ""; }; + F99E0E9A2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0E9B2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCameraUploadsPolicy.h; sourceTree = ""; }; + F99E0E9C2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h; sourceTree = ""; }; + F99E0E9D2B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRollbackChangesType.h; sourceTree = ""; }; + F99E0E9E2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGoogleSsoChangePolicyType.h; sourceTree = ""; }; + F99E0E9F2B7A733100D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseRenamedDetails.h; sourceTree = ""; }; + F99E0EA02B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRewindPolicyChangedDetails.h; sourceTree = ""; }; + F99E0EA12B7A733100D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddExceptionDetails.h; sourceTree = ""; }; + F99E0EA22B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h; sourceTree = ""; }; + F99E0EA32B7A733100D55EF8 /* DBTEAMLOGShowcasePostCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcasePostCommentType.h; sourceTree = ""; }; + F99E0EA42B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRenameType.h; sourceTree = ""; }; + F99E0EA52B7A733100D55EF8 /* DBTEAMLOGSsoErrorType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoErrorType.h; sourceTree = ""; }; + F99E0EA62B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyReportCreatedType.h; sourceTree = ""; }; + F99E0EA72B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportAHoldType.h; sourceTree = ""; }; + F99E0EA82B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h; sourceTree = ""; }; + F99E0EA92B7A733100D55EF8 /* DBTEAMLOGAppLinkUserDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLinkUserDetails.h; sourceTree = ""; }; + F99E0EAA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h; sourceTree = ""; }; + F99E0EAB2B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestsChangePolicyType.h; sourceTree = ""; }; + F99E0EAC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0EAD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsAddPasswordType.h; sourceTree = ""; }; + F99E0EAE2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveSecurityKeyType.h; sourceTree = ""; }; + F99E0EAF2B7A733100D55EF8 /* DBTEAMLOGAssetLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAssetLogInfo.h; sourceTree = ""; }; + F99E0EB02B7A733100D55EF8 /* DBTEAMLOGFileRequestDeadline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestDeadline.h; sourceTree = ""; }; + F99E0EB12B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h; sourceTree = ""; }; + F99E0EB22B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsRemoveExceptionType.h; sourceTree = ""; }; + F99E0EB32B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsReportAHoldType.h; sourceTree = ""; }; + F99E0EB42B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddMemberDetails.h; sourceTree = ""; }; + F99E0EB52B7A733100D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h; sourceTree = ""; }; + F99E0EB62B7A733100D55EF8 /* DBTEAMLOGSfAddGroupDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAddGroupDetails.h; sourceTree = ""; }; + F99E0EB72B7A733100D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTrustedNonTeamMemberLogInfo.h; sourceTree = ""; }; + F99E0EB82B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h; sourceTree = ""; }; + F99E0EB92B7A733100D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h; sourceTree = ""; }; + F99E0EBA2B7A733100D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderTransferOwnershipDetails.h; sourceTree = ""; }; + F99E0EBB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0EBC2B7A733100D55EF8 /* DBTEAMLOGPasswordChangeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordChangeDetails.h; sourceTree = ""; }; + F99E0EBD2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationRemoveDomainDetails.h; sourceTree = ""; }; + F99E0EBE2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferDeleteType.h; sourceTree = ""; }; + F99E0EBF2B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileLockingPolicyChangedType.h; sourceTree = ""; }; + F99E0EC02B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSuggestionsPolicy.h; sourceTree = ""; }; + F99E0EC12B7A733100D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestReceiveFileDetails.h; sourceTree = ""; }; + F99E0EC22B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocMentionDetails.h; sourceTree = ""; }; + F99E0EC32B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkCopyType.h; sourceTree = ""; }; + F99E0EC42B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileDeleteDetails.h; sourceTree = ""; }; + F99E0EC52B7A733100D55EF8 /* DBTEAMLOGAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppLogInfo.h; sourceTree = ""; }; + F99E0EC62B7A733100D55EF8 /* DBTEAMLOGGroupRenameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupRenameType.h; sourceTree = ""; }; + F99E0EC72B7A733100D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupAddExternalIdDetails.h; sourceTree = ""; }; + F99E0EC82B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkCreateType.h; sourceTree = ""; }; + F99E0EC92B7A733100D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileAddLogoType.h; sourceTree = ""; }; + F99E0ECA2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h; sourceTree = ""; }; + F99E0ECB2B7A733100D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h; sourceTree = ""; }; + F99E0ECC2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsPolicy.h; sourceTree = ""; }; + F99E0ECD2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmailIngestPolicyChangedDetails.h; sourceTree = ""; }; + F99E0ECE2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestExpiredType.h; sourceTree = ""; }; + F99E0ECF2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h; sourceTree = ""; }; + F99E0ED02B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDownloadType.h; sourceTree = ""; }; + F99E0ED12B7A733100D55EF8 /* DBTEAMLOGSharedFolderCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderCreateType.h; sourceTree = ""; }; + F99E0ED22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberAddExternalIdDetails.h; sourceTree = ""; }; + F99E0ED32B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPrimaryTeamRequestExpiredDetails.h; sourceTree = ""; }; + F99E0ED42B7A733100D55EF8 /* DBTEAMLOGQuickActionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGQuickActionType.h; sourceTree = ""; }; + F99E0ED52B7A733100D55EF8 /* DBTEAMLOGLoginMethod.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginMethod.h; sourceTree = ""; }; + F99E0ED62B7A733100D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseFileViewDetails.h; sourceTree = ""; }; + F99E0ED72B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalSharingCreateReportDetails.h; sourceTree = ""; }; + F99E0ED82B7A733100D55EF8 /* DBTEAMLOGSharedFolderNestType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderNestType.h; sourceTree = ""; }; + F99E0ED92B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteCommentType.h; sourceTree = ""; }; + F99E0EDA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h; sourceTree = ""; }; + F99E0EDB2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupStatusChangedDetails.h; sourceTree = ""; }; + F99E0EDC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestRevokedDetails.h; sourceTree = ""; }; + F99E0EDD2B7A733100D55EF8 /* DBTEAMLOGTeamMergeToDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeToDetails.h; sourceTree = ""; }; + F99E0EDE2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPasswordResetAllType.h; sourceTree = ""; }; + F99E0EDF2B7A733100D55EF8 /* DBTEAMLOGFileRenameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRenameDetails.h; sourceTree = ""; }; + F99E0EE02B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeNameDetails.h; sourceTree = ""; }; + F99E0EE12B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersPolicyChangedType.h; sourceTree = ""; }; + F99E0EE22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceLinkSuccessType.h; sourceTree = ""; }; + F99E0EE32B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGroupChangeExternalIdDetails.h; sourceTree = ""; }; + F99E0EE42B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocEditCommentDetails.h; sourceTree = ""; }; + F99E0EE52B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkRemoveExpiryType.h; sourceTree = ""; }; + F99E0EE62B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGReplayFileSharedLinkCreatedDetails.h; sourceTree = ""; }; + F99E0EE72B7A733100D55EF8 /* DBTEAMLOGPaperDocRevertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRevertType.h; sourceTree = ""; }; + F99E0EE82B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaRemoveBackupPhoneDetails.h; sourceTree = ""; }; + F99E0EE92B7A733100D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertGeneralStateEnum.h; sourceTree = ""; }; + F99E0EEA2B7A733100D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGChangeLinkExpirationPolicy.h; sourceTree = ""; }; + F99E0EEB2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExportMembersReportFailDetails.h; sourceTree = ""; }; + F99E0EEC2B7A733100D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberChangeMembershipTypeDetails.h; sourceTree = ""; }; + F99E0EED2B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestCreateType.h; sourceTree = ""; }; + F99E0EEE2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h; sourceTree = ""; }; + F99E0EEF2B7A733200D55EF8 /* DBTEAMLOGFedHandshakeAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFedHandshakeAction.h; sourceTree = ""; }; + F99E0EF02B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h; sourceTree = ""; }; + F99E0EF12B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileAddBackgroundDetails.h; sourceTree = ""; }; + F99E0EF22B7A733200D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGApplyNamingConventionDetails.h; sourceTree = ""; }; + F99E0EF32B7A733200D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedNoteOpenedDetails.h; sourceTree = ""; }; + F99E0EF42B7A733200D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRemoveFromFolderType.h; sourceTree = ""; }; + F99E0EF52B7A733200D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileTransfersTransferDownloadDetails.h; sourceTree = ""; }; + F99E0EF62B7A733200D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationChangePolicyDetails.h; sourceTree = ""; }; + F99E0EF72B7A733200D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserOrTeamLinkedAppLogInfo.h; sourceTree = ""; }; + F99E0EF82B7A733200D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfExternalInviteWarnType.h; sourceTree = ""; }; + F99E0EF92B7A733200D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsChangeHoldNameType.h; sourceTree = ""; }; + F99E0EFA2B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h; sourceTree = ""; }; + F99E0EFB2B7A733200D55EF8 /* DBTEAMLOGGetTeamEventsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGetTeamEventsResult.h; sourceTree = ""; }; + F99E0EFC2B7A733200D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRelocateAssetReferencesLogInfo.h; sourceTree = ""; }; + F99E0EFD2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsRemovePasswordType.h; sourceTree = ""; }; + F99E0EFE2B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteType.h; sourceTree = ""; }; + F99E0EFF2B7A733200D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileRemoveBackgroundType.h; sourceTree = ""; }; + F99E0F002B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h; sourceTree = ""; }; + F99E0F012B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadDisabledType.h; sourceTree = ""; }; + F99E0F022B7A733200D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseEditCommentDetails.h; sourceTree = ""; }; + F99E0F032B7A733200D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMemberLogInfo.h; sourceTree = ""; }; + F99E0F042B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkChangeVisibilityType.h; sourceTree = ""; }; + F99E0F052B7A733200D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h; sourceTree = ""; }; + F99E0F062B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryEmailVerifiedType.h; sourceTree = ""; }; + F99E0F072B7A733200D55EF8 /* DBTEAMLOGLoginFailDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginFailDetails.h; sourceTree = ""; }; + F99E0F082B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRequestAccessType.h; sourceTree = ""; }; + F99E0F092B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileAddLogoDetails.h; sourceTree = ""; }; + F99E0F0A2B7A733200D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUntrashedType.h; sourceTree = ""; }; + F99E0F0B2B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h; sourceTree = ""; }; + F99E0F0C2B7A733200D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocDeleteCommentDetails.h; sourceTree = ""; }; + F99E0F0D2B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeNameDetails.h; sourceTree = ""; }; + F99E0F0E2B7A733200D55EF8 /* DBTEAMLOGObjectLabelAddedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGObjectLabelAddedType.h; sourceTree = ""; }; + F99E0F0F2B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRestoreInviteesDetails.h; sourceTree = ""; }; + F99E0F102B7A733200D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceChangeIpWebType.h; sourceTree = ""; }; + F99E0F112B7A733200D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEndedEnterpriseAdminSessionDetails.h; sourceTree = ""; }; + F99E0F122B7A733200D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAlertRecipientsSettingType.h; sourceTree = ""; }; + F99E0F132B7A733200D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTrustedNonTeamMemberType.h; sourceTree = ""; }; + F99E0F142B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderChangeStatusDetails.h; sourceTree = ""; }; + F99E0F152B7A733200D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcasePostCommentDetails.h; sourceTree = ""; }; + F99E0F162B7A733200D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentPermanentlyDeleteDetails.h; sourceTree = ""; }; + F99E0F172B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h; sourceTree = ""; }; + F99E0F182B7A733200D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainVerificationAddDomainSuccessType.h; sourceTree = ""; }; + F99E0F192B7A733200D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h; sourceTree = ""; }; + F99E0F1A2B7A733200D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGChangedEnterpriseAdminRoleType.h; sourceTree = ""; }; + F99E0F1B2B7A733200D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRefreshAuthTokenType.h; sourceTree = ""; }; + F99E0F1C2B7A733200D55EF8 /* DBTEAMLOGFileDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteType.h; sourceTree = ""; }; + F99E0F1D2B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h; sourceTree = ""; }; + F99E0F1E2B7A733200D55EF8 /* DBTEAMLOGSsoAddCertType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoAddCertType.h; sourceTree = ""; }; + F99E0F1F2B7A733200D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceManagementEnabledType.h; sourceTree = ""; }; + F99E0F202B7A733200D55EF8 /* DBTEAMLOGCertificate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCertificate.h; sourceTree = ""; }; + F99E0F212B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h; sourceTree = ""; }; + F99E0F222B7A733200D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDisabledDomainInvitesDetails.h; sourceTree = ""; }; + F99E0F232B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h; sourceTree = ""; }; + F99E0F242B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h; sourceTree = ""; }; + F99E0F252B7A733200D55EF8 /* DBTEAMLOGFileResolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileResolveCommentType.h; sourceTree = ""; }; + F99E0F262B7A733200D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDeviceSyncBackupStatusChangedType.h; sourceTree = ""; }; + F99E0F272B7A733200D55EF8 /* DBTEAMLOGResellerRole.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerRole.h; sourceTree = ""; }; + F99E0F282B7A733200D55EF8 /* DBTEAMLOGCollectionShareDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGCollectionShareDetails.h; sourceTree = ""; }; + F99E0F292B7A733200D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGNetworkControlChangePolicyType.h; sourceTree = ""; }; + F99E0F2A2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangeAudienceType.h; sourceTree = ""; }; + F99E0F2B2B7A733200D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentCopyDetails.h; sourceTree = ""; }; + F99E0F2C2B7A733200D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGViewerInfoPolicyChangedDetails.h; sourceTree = ""; }; + F99E0F2D2B7A733200D55EF8 /* DBTEAMLOGLoginFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLoginFailType.h; sourceTree = ""; }; + F99E0F2E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h; sourceTree = ""; }; + F99E0F2F2B7A733200D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGResellerSupportSessionEndType.h; sourceTree = ""; }; + F99E0F302B7A733200D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSsoChangeSamlIdentityModeType.h; sourceTree = ""; }; + F99E0F312B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDataPlacementRestrictionChangePolicyType.h; sourceTree = ""; }; + F99E0F322B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h; sourceTree = ""; }; + F99E0F332B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h; sourceTree = ""; }; + F99E0F342B7A733200D55EF8 /* DBTEAMLOGIntegrationConnectedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGIntegrationConnectedType.h; sourceTree = ""; }; + F99E0F352B7A733200D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAppPermissionsChangedType.h; sourceTree = ""; }; + F99E0F362B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRestoreInviteesType.h; sourceTree = ""; }; + F99E0F372B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h; sourceTree = ""; }; + F99E0F382B7A733200D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGOrganizeFolderWithTidyType.h; sourceTree = ""; }; + F99E0F392B7A733200D55EF8 /* DBTEAMLOGSharedContentUnshareType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentUnshareType.h; sourceTree = ""; }; + F99E0F3A2B7A733200D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsRemoveMembersType.h; sourceTree = ""; }; + F99E0F3B2B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentArchiveDetails.h; sourceTree = ""; }; + F99E0F3C2B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h; sourceTree = ""; }; + F99E0F3D2B7A733200D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h; sourceTree = ""; }; + F99E0F3E2B7A733200D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUnresolveCommentDetails.h; sourceTree = ""; }; + F99E0F3F2B7A733200D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUndoNamingConventionDetails.h; sourceTree = ""; }; + F99E0F402B7A733200D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkDownloadType.h; sourceTree = ""; }; + F99E0F412B7A733200D55EF8 /* DBTEAMLOGUserTagsAddedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGUserTagsAddedType.h; sourceTree = ""; }; + F99E0F422B7A733200D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDesktopSessionLogInfo.h; sourceTree = ""; }; + F99E0F432B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h; sourceTree = ""; }; + F99E0F442B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSecondaryEmailDeletedDetails.h; sourceTree = ""; }; + F99E0F452B7A733200D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBackupAdminInvitationSentType.h; sourceTree = ""; }; + F99E0F462B7A733200D55EF8 /* DBTEAMLOGFileCopyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCopyType.h; sourceTree = ""; }; + F99E0F472B7A733200D55EF8 /* DBTEAMLOGFileRequestChangeType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileRequestChangeType.h; sourceTree = ""; }; + F99E0F482B7A733200D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocChangeMemberRoleType.h; sourceTree = ""; }; + F99E0F492B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkExpiryDetails.h; sourceTree = ""; }; + F99E0F4A2B7A733200D55EF8 /* DBTEAMLOGPaperDownloadFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDownloadFormat.h; sourceTree = ""; }; + F99E0F4B2B7A733200D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTfaAddSecurityKeyType.h; sourceTree = ""; }; + F99E0F4C2B7A733200D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocRevertDetails.h; sourceTree = ""; }; + F99E0F4D2B7A733200D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseUntrashedDetails.h; sourceTree = ""; }; + F99E0F4E2B7A733200D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGContentAdministrationPolicyChangedType.h; sourceTree = ""; }; + F99E0F4F2B7A733200D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamJoinFromOobLinkDetails.h; sourceTree = ""; }; + F99E0F502B7A733200D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertingAlertSensitivity.h; sourceTree = ""; }; + F99E0F512B7A733200D55EF8 /* DBTEAMLOGTwoAccountPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTwoAccountPolicy.h; sourceTree = ""; }; + F99E0F522B7A733200D55EF8 /* DBTEAMLOGMemberStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberStatus.h; sourceTree = ""; }; + F99E0F532B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h; sourceTree = ""; }; + F99E0F542B7A733200D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileSaveCopyReferenceType.h; sourceTree = ""; }; + F99E0F552B7A733200D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebDeviceSessionLogInfo.h; sourceTree = ""; }; + F99E0F562B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h; sourceTree = ""; }; + F99E0F572B7A733200D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocUnresolveCommentType.h; sourceTree = ""; }; + F99E0F582B7A733200D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcasePermanentlyDeletedDetails.h; sourceTree = ""; }; + F99E0F592B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionStartDetails.h; sourceTree = ""; }; + F99E0F5A2B7A733200D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAdminAlertSeverityEnum.h; sourceTree = ""; }; + F99E0F5B2B7A733200D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFilePermanentlyDeleteType.h; sourceTree = ""; }; + F99E0F5C2B7A733200D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSpaceLimitsStatus.h; sourceTree = ""; }; + F99E0F5D2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h; sourceTree = ""; }; + F99E0F5E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h; sourceTree = ""; }; + F99E0F5F2B7A733200D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentAddInviteesType.h; sourceTree = ""; }; + F99E0F602B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamProfileChangeNameType.h; sourceTree = ""; }; + F99E0F612B7A733200D55EF8 /* DBTEAMLOGPathLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPathLogInfo.h; sourceTree = ""; }; + F99E0F622B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamBrandingPolicyChangedType.h; sourceTree = ""; }; + F99E0F632B7A733200D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h; sourceTree = ""; }; + F99E0F642B7A733200D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGEmmRemoveExceptionDetails.h; sourceTree = ""; }; + F99E0F652B7A733200D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRansomwareRestoreProcessCompletedType.h; sourceTree = ""; }; + F99E0F662B7A733200D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamActivityCreateReportFailType.h; sourceTree = ""; }; + F99E0F672B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h; sourceTree = ""; }; + F99E0F682B7A733200D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberDeleteManualContactsDetails.h; sourceTree = ""; }; + F99E0F692B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDropboxPasswordsPolicyChangedType.h; sourceTree = ""; }; + F99E0F6A2B7A733200D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h; sourceTree = ""; }; + F99E0F6B2B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentChangeLinkPasswordType.h; sourceTree = ""; }; + F99E0F6C2B7A733200D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperDocOwnershipChangedDetails.h; sourceTree = ""; }; + F99E0F6D2B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h; sourceTree = ""; }; + F99E0F6E2B7A733200D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGBinderRemoveSectionType.h; sourceTree = ""; }; + F99E0F6F2B7A733200D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGWebSessionsFixedLengthPolicy.h; sourceTree = ""; }; + F99E0F702B7A733200D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSmartSyncNotOptOutDetails.h; sourceTree = ""; }; + F99E0F712B7A733200D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperEnabledUsersGroupRemovalType.h; sourceTree = ""; }; + F99E0F722B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentArchiveType.h; sourceTree = ""; }; + F99E0F732B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupPolicy.h; sourceTree = ""; }; + F99E0F742B7A733200D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGDomainInvitesEmailExistingUsersType.h; sourceTree = ""; }; + F99E0F752B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamBrandingPolicyChangedDetails.h; sourceTree = ""; }; + F99E0F762B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfTeamInviteChangeRoleDetails.h; sourceTree = ""; }; + F99E0F772B7A733200D55EF8 /* DBTEAMLOGPaperContentRestoreType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperContentRestoreType.h; sourceTree = ""; }; + F99E0F782B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRequestAccessDetails.h; sourceTree = ""; }; + F99E0F792B7A733200D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGPaperExternalViewAllowDetails.h; sourceTree = ""; }; + F99E0F7A2B7A733200D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseDocumentLogInfo.h; sourceTree = ""; }; + F99E0F7B2B7A733200D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedContentRelinquishMembershipType.h; sourceTree = ""; }; + F99E0F7C2B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGExternalDriveBackupStatus.h; sourceTree = ""; }; + F99E0F7D2B7A733200D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberRequestsPolicy.h; sourceTree = ""; }; + F99E0F7E2B7A733200D55EF8 /* DBTEAMLOGSpaceCapsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSpaceCapsType.h; sourceTree = ""; }; + F99E0F7F2B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkChangeVisibilityDetails.h; sourceTree = ""; }; + F99E0F802B7A733200D55EF8 /* DBTEAMLOGShowcaseTrashedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseTrashedType.h; sourceTree = ""; }; + F99E0F812B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h; sourceTree = ""; }; + F99E0F822B7A733200D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLegalHoldsExportAHoldDetails.h; sourceTree = ""; }; + F99E0F832B7A733200D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h; sourceTree = ""; }; + F99E0F842B7A733200D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGClassificationCreateReportFailType.h; sourceTree = ""; }; + F99E0F852B7A733200D55EF8 /* DBTEAMLOGFileDeleteDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileDeleteDetails.h; sourceTree = ""; }; + F99E0F862B7A733200D55EF8 /* DBTEAMLOGFileCopyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGFileCopyDetails.h; sourceTree = ""; }; + F99E0F872B7A733200D55EF8 /* DBTEAMLOGSfAddGroupType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSfAddGroupType.h; sourceTree = ""; }; + F99E0F882B7A733200D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h; sourceTree = ""; }; + F99E0F892B7A733200D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberDeleteProfilePhotoDetails.h; sourceTree = ""; }; + F99E0F8A2B7A733200D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountCaptureMigrateAccountDetails.h; sourceTree = ""; }; + F99E0F8B2B7A733200D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAccountLockOrUnlockedType.h; sourceTree = ""; }; + F99E0F8C2B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h; sourceTree = ""; }; + F99E0F8D2B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShowcaseChangeEnabledPolicyType.h; sourceTree = ""; }; + F99E0F8E2B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGAllowDownloadDisabledDetails.h; sourceTree = ""; }; + F99E0F8F2B7A733200D55EF8 /* DBTEAMLOGLockStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGLockStatus.h; sourceTree = ""; }; + F99E0F902B7A733200D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h; sourceTree = ""; }; + F99E0F912B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h; sourceTree = ""; }; + F99E0F922B7A733200D55EF8 /* DBTEAMLOGActorLogInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGActorLogInfo.h; sourceTree = ""; }; + F99E0F932B7A733200D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSharedLinkViewDetails.h; sourceTree = ""; }; + F99E0F942B7A733200D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGShmodelDisableDownloadsType.h; sourceTree = ""; }; + F99E0F952B7A733200D55EF8 /* DBTEAMLOGMemberAddNameDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGMemberAddNameDetails.h; sourceTree = ""; }; + F99E0F962B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamFolderChangeStatusType.h; sourceTree = ""; }; + F99E0F972B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGSignInAsSessionEndDetails.h; sourceTree = ""; }; + F99E0F992B7A733200D55EF8 /* DBFilesObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFilesObjects.m; sourceTree = ""; }; + F99E0F9B2B7A733200D55EF8 /* DBFILESThumbnailError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailError.h; sourceTree = ""; }; + F99E0F9C2B7A733200D55EF8 /* DBFILESRelocationBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchResultData.h; sourceTree = ""; }; + F99E0F9D2B7A733200D55EF8 /* DBFILESRestoreError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRestoreError.h; sourceTree = ""; }; + F99E0F9E2B7A733200D55EF8 /* DBFILESSearchMatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatch.h; sourceTree = ""; }; + F99E0F9F2B7A733200D55EF8 /* DBFILESUploadWriteFailed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadWriteFailed.h; sourceTree = ""; }; + F99E0FA02B7A733200D55EF8 /* DBFILESDownloadZipArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadZipArg.h; sourceTree = ""; }; + F99E0FA12B7A733200D55EF8 /* DBFILESLockFileResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileResultEntry.h; sourceTree = ""; }; + F99E0FA22B7A733200D55EF8 /* DBFILESGetTemporaryLinkError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkError.h; sourceTree = ""; }; + F99E0FA32B7A733200D55EF8 /* DBFILESImportFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESImportFormat.h; sourceTree = ""; }; + F99E0FA42B7A733200D55EF8 /* DBFILESMetadataV2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMetadataV2.h; sourceTree = ""; }; + F99E0FA52B7A733200D55EF8 /* DBFILESDeleteBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResultData.h; sourceTree = ""; }; + F99E0FA62B7A733200D55EF8 /* DBFILESSymlinkInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSymlinkInfo.h; sourceTree = ""; }; + F99E0FA72B7A733200D55EF8 /* DBFILESThumbnailFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailFormat.h; sourceTree = ""; }; + F99E0FA82B7A733200D55EF8 /* DBFILESListRevisionsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsError.h; sourceTree = ""; }; + F99E0FA92B7A733200D55EF8 /* DBFILESGetThumbnailBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchError.h; sourceTree = ""; }; + F99E0FAA2B7A733200D55EF8 /* DBFILESGetCopyReferenceError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceError.h; sourceTree = ""; }; + F99E0FAB2B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryUploadLinkArg.h; sourceTree = ""; }; + F99E0FAC2B7A733200D55EF8 /* DBFILESSearchMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMode.h; sourceTree = ""; }; + F99E0FAD2B7A733200D55EF8 /* DBFILESRelocationPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationPath.h; sourceTree = ""; }; + F99E0FAE2B7A733200D55EF8 /* DBFILESLockFileResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileResult.h; sourceTree = ""; }; + F99E0FAF2B7A733200D55EF8 /* DBFILESListFolderLongpollResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollResult.h; sourceTree = ""; }; + F99E0FB02B7A733200D55EF8 /* DBFILESFolderSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFolderSharingInfo.h; sourceTree = ""; }; + F99E0FB12B7A733200D55EF8 /* DBFILESSaveUrlError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlError.h; sourceTree = ""; }; + F99E0FB22B7A733200D55EF8 /* DBFILESLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLookupError.h; sourceTree = ""; }; + F99E0FB32B7A733200D55EF8 /* DBFILESTag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESTag.h; sourceTree = ""; }; + F99E0FB42B7A733200D55EF8 /* DBFILESGetTagsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTagsResult.h; sourceTree = ""; }; + F99E0FB52B7A733200D55EF8 /* DBFILESListFolderLongpollError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollError.h; sourceTree = ""; }; + F99E0FB62B7A733200D55EF8 /* DBFILESCreateFolderBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchError.h; sourceTree = ""; }; + F99E0FB72B7A733200D55EF8 /* DBFILESSearchMatchTypeV2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatchTypeV2.h; sourceTree = ""; }; + F99E0FB82B7A733200D55EF8 /* DBFILESMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMetadata.h; sourceTree = ""; }; + F99E0FB92B7A733200D55EF8 /* DBFILESPaperUpdateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperUpdateResult.h; sourceTree = ""; }; + F99E0FBA2B7A733200D55EF8 /* DBFILESRemoveTagError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRemoveTagError.h; sourceTree = ""; }; + F99E0FBB2B7A733200D55EF8 /* DBFILESDeletedMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeletedMetadata.h; sourceTree = ""; }; + F99E0FBC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartBatchArg.h; sourceTree = ""; }; + F99E0FBD2B7A733200D55EF8 /* DBFILESWriteMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteMode.h; sourceTree = ""; }; + F99E0FBE2B7A733200D55EF8 /* DBFILESUnlockFileBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUnlockFileBatchArg.h; sourceTree = ""; }; + F99E0FBF2B7A733200D55EF8 /* DBFILESSaveUrlArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlArg.h; sourceTree = ""; }; + F99E0FC02B7A733200D55EF8 /* DBFILESGetTagsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTagsArg.h; sourceTree = ""; }; + F99E0FC12B7A733200D55EF8 /* DBFILESGetTemporaryLinkArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkArg.h; sourceTree = ""; }; + F99E0FC22B7A733200D55EF8 /* DBFILESMoveIntoVaultError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMoveIntoVaultError.h; sourceTree = ""; }; + F99E0FC32B7A733200D55EF8 /* DBFILESPathToTags.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPathToTags.h; sourceTree = ""; }; + F99E0FC42B7A733200D55EF8 /* DBFILESGpsCoordinates.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGpsCoordinates.h; sourceTree = ""; }; + F99E0FC52B7A733200D55EF8 /* DBFILESGetThumbnailBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchArg.h; sourceTree = ""; }; + F99E0FC62B7A733200D55EF8 /* DBFILESCreateFolderBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchJobStatus.h; sourceTree = ""; }; + F99E0FC72B7A733200D55EF8 /* DBFILESPaperDocUpdatePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperDocUpdatePolicy.h; sourceTree = ""; }; + F99E0FC82B7A733200D55EF8 /* DBFILESVideoMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESVideoMetadata.h; sourceTree = ""; }; + F99E0FC92B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchJobStatus.h; sourceTree = ""; }; + F99E0FCA2B7A733200D55EF8 /* DBFILESFileLockMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileLockMetadata.h; sourceTree = ""; }; + F99E0FCB2B7A733200D55EF8 /* DBFILESRelocationBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchResult.h; sourceTree = ""; }; + F99E0FCC2B7A733200D55EF8 /* DBFILESUserGeneratedTag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUserGeneratedTag.h; sourceTree = ""; }; + F99E0FCD2B7A733200D55EF8 /* DBFILESExportMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESExportMetadata.h; sourceTree = ""; }; + F99E0FCE2B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchLaunch.h; sourceTree = ""; }; + F99E0FCF2B7A733200D55EF8 /* DBFILESRelocationArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationArg.h; sourceTree = ""; }; + F99E0FD02B7A733200D55EF8 /* DBFILESPaperUpdateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperUpdateError.h; sourceTree = ""; }; + F99E0FD12B7A733200D55EF8 /* DBFILESSyncSettingArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSyncSettingArg.h; sourceTree = ""; }; + F99E0FD22B7A733200D55EF8 /* DBFILESRelocationBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchJobStatus.h; sourceTree = ""; }; + F99E0FD32B7A733200D55EF8 /* DBFILESSearchV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchV2Result.h; sourceTree = ""; }; + F99E0FD42B7A733200D55EF8 /* DBFILESPreviewResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPreviewResult.h; sourceTree = ""; }; + F99E0FD52B7A733200D55EF8 /* DBFILESRemoveTagArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRemoveTagArg.h; sourceTree = ""; }; + F99E0FD62B7A733200D55EF8 /* DBFILESPhotoMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPhotoMetadata.h; sourceTree = ""; }; + F99E0FD72B7A733200D55EF8 /* DBFILESUploadSessionCursor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionCursor.h; sourceTree = ""; }; + F99E0FD82B7A733200D55EF8 /* DBFILESSearchOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchOptions.h; sourceTree = ""; }; + F99E0FD92B7A733200D55EF8 /* DBFILESGetCopyReferenceResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceResult.h; sourceTree = ""; }; + F99E0FDA2B7A733200D55EF8 /* DBFILESThumbnailV2Error.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailV2Error.h; sourceTree = ""; }; + F99E0FDB2B7A733200D55EF8 /* DBFILESPreviewArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPreviewArg.h; sourceTree = ""; }; + F99E0FDC2B7A733200D55EF8 /* DBFILESDeleteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteError.h; sourceTree = ""; }; + F99E0FDD2B7A733200D55EF8 /* DBFILESRelocationBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchResultEntry.h; sourceTree = ""; }; + F99E0FDE2B7A733200D55EF8 /* DBFILESListRevisionsMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsMode.h; sourceTree = ""; }; + F99E0FDF2B7A733200D55EF8 /* DBFILESDeleteBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchArg.h; sourceTree = ""; }; + F99E0FE02B7A733200D55EF8 /* DBFILESSaveCopyReferenceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceArg.h; sourceTree = ""; }; + F99E0FE12B7A733200D55EF8 /* DBFILESPaperCreateError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperCreateError.h; sourceTree = ""; }; + F99E0FE22B7A733200D55EF8 /* DBFILESPaperContentError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperContentError.h; sourceTree = ""; }; + F99E0FE32B7A733200D55EF8 /* DBFILESCreateFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderError.h; sourceTree = ""; }; + F99E0FE42B7A733200D55EF8 /* DBFILESListFolderLongpollArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderLongpollArg.h; sourceTree = ""; }; + F99E0FE52B7A733200D55EF8 /* DBFILESRelocationBatchV2Result.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchV2Result.h; sourceTree = ""; }; + F99E0FE62B7A733200D55EF8 /* DBFILESLockConflictError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockConflictError.h; sourceTree = ""; }; + F99E0FE72B7A733200D55EF8 /* DBFILESDownloadZipResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadZipResult.h; sourceTree = ""; }; + F99E0FE82B7A733200D55EF8 /* DBFILESMoveBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMoveBatchArg.h; sourceTree = ""; }; + F99E0FE92B7A733200D55EF8 /* DBFILESListFolderGetLatestCursorResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderGetLatestCursorResult.h; sourceTree = ""; }; + F99E0FEA2B7A733200D55EF8 /* DBFILESFolderMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFolderMetadata.h; sourceTree = ""; }; + F99E0FEB2B7A733200D55EF8 /* DBFILESUploadSessionStartArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartArg.h; sourceTree = ""; }; + F99E0FEC2B7A733200D55EF8 /* DBFILESMediaMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMediaMetadata.h; sourceTree = ""; }; + F99E0FED2B7A733200D55EF8 /* DBFILESCreateFolderBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchLaunch.h; sourceTree = ""; }; + F99E0FEE2B7A733200D55EF8 /* DBFILESRelocationBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchError.h; sourceTree = ""; }; + F99E0FEF2B7A733200D55EF8 /* DBFILESCreateFolderEntryResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderEntryResult.h; sourceTree = ""; }; + F99E0FF02B7A733200D55EF8 /* DBFILESFileOpsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileOpsResult.h; sourceTree = ""; }; + F99E0FF12B7A733200D55EF8 /* DBFILESRelocationBatchV2JobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchV2JobStatus.h; sourceTree = ""; }; + F99E0FF22B7A733200D55EF8 /* DBFILESDeleteBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResult.h; sourceTree = ""; }; + F99E0FF32B7A733200D55EF8 /* DBFILESWriteConflictError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteConflictError.h; sourceTree = ""; }; + F99E0FF42B7A733200D55EF8 /* DBFILESFileCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileCategory.h; sourceTree = ""; }; + F99E0FF52B7A733200D55EF8 /* DBFILESContentSyncSettingArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESContentSyncSettingArg.h; sourceTree = ""; }; + F99E0FF62B7A733200D55EF8 /* DBFILESLockFileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileArg.h; sourceTree = ""; }; + F99E0FF72B7A733200D55EF8 /* DBFILESMediaInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMediaInfo.h; sourceTree = ""; }; + F99E0FF82B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryUploadLinkResult.h; sourceTree = ""; }; + F99E0FF92B7A733200D55EF8 /* DBFILESRelocationError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationError.h; sourceTree = ""; }; + F99E0FFA2B7A733200D55EF8 /* DBFILESThumbnailV2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailV2Arg.h; sourceTree = ""; }; + F99E0FFB2B7A733200D55EF8 /* DBFILESListRevisionsResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsResult.h; sourceTree = ""; }; + F99E0FFC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartBatchResult.h; sourceTree = ""; }; + F99E0FFD2B7A733200D55EF8 /* DBFILESUploadSessionAppendError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionAppendError.h; sourceTree = ""; }; + F99E0FFE2B7A733200D55EF8 /* DBFILESUploadSessionLookupError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionLookupError.h; sourceTree = ""; }; + F99E0FFF2B7A733200D55EF8 /* DBFILESListFolderResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderResult.h; sourceTree = ""; }; + F99E10002B7A733200D55EF8 /* DBFILESThumbnailSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailSize.h; sourceTree = ""; }; + F99E10012B7A733200D55EF8 /* DBFILESSyncSettingsError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSyncSettingsError.h; sourceTree = ""; }; + F99E10022B7A733200D55EF8 /* DBFILESUploadSessionAppendArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionAppendArg.h; sourceTree = ""; }; + F99E10032B7A733200D55EF8 /* DBFILESRelocationResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationResult.h; sourceTree = ""; }; + F99E10042B7A733200D55EF8 /* DBFILESRelocationBatchErrorEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchErrorEntry.h; sourceTree = ""; }; + F99E10052B7A733200D55EF8 /* DBFILESListRevisionsArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListRevisionsArg.h; sourceTree = ""; }; + F99E10062B7A733200D55EF8 /* DBFILESUnlockFileArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUnlockFileArg.h; sourceTree = ""; }; + F99E10072B7A733200D55EF8 /* DBFILESListFolderContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderContinueArg.h; sourceTree = ""; }; + F99E10082B7A733200D55EF8 /* DBFILESDeleteBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchResultEntry.h; sourceTree = ""; }; + F99E10092B7A733200D55EF8 /* DBFILESListFolderError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderError.h; sourceTree = ""; }; + F99E100A2B7A733200D55EF8 /* DBFILESSearchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchError.h; sourceTree = ""; }; + F99E100B2B7A733200D55EF8 /* DBFILESUploadSessionFinishError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishError.h; sourceTree = ""; }; + F99E100C2B7A733200D55EF8 /* DBFILESExportResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESExportResult.h; sourceTree = ""; }; + F99E100D2B7A733200D55EF8 /* DBFILESGetCopyReferenceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetCopyReferenceArg.h; sourceTree = ""; }; + F99E100E2B7A733200D55EF8 /* DBFILESContentSyncSetting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESContentSyncSetting.h; sourceTree = ""; }; + F99E100F2B7A733200D55EF8 /* DBFILESFileLockContent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileLockContent.h; sourceTree = ""; }; + F99E10102B7A733200D55EF8 /* DBFILESHighlightSpan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESHighlightSpan.h; sourceTree = ""; }; + F99E10112B7A733200D55EF8 /* DBFILESDimensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDimensions.h; sourceTree = ""; }; + F99E10122B7A733200D55EF8 /* DBFILESRelocationBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchLaunch.h; sourceTree = ""; }; + F99E10132B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResultEntry.h; sourceTree = ""; }; + F99E10142B7A733200D55EF8 /* DBFILESUploadSessionStartResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartResult.h; sourceTree = ""; }; + F99E10152B7A733200D55EF8 /* DBFILESListFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderArg.h; sourceTree = ""; }; + F99E10162B7A733200D55EF8 /* DBFILESSaveUrlResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlResult.h; sourceTree = ""; }; + F99E10172B7A733200D55EF8 /* DBFILESPreviewError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPreviewError.h; sourceTree = ""; }; + F99E10182B7A733200D55EF8 /* DBFILESLockFileBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileBatchArg.h; sourceTree = ""; }; + F99E10192B7A733200D55EF8 /* DBFILESPaperUpdateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperUpdateArg.h; sourceTree = ""; }; + F99E101A2B7A733200D55EF8 /* DBFILESSearchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchResult.h; sourceTree = ""; }; + F99E101B2B7A733200D55EF8 /* DBFILESSearchOrderBy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchOrderBy.h; sourceTree = ""; }; + F99E101C2B7A733200D55EF8 /* DBFILESFileMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileMetadata.h; sourceTree = ""; }; + F99E101D2B7A733200D55EF8 /* DBFILESUploadSessionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionType.h; sourceTree = ""; }; + F99E101E2B7A733200D55EF8 /* DBFILESDownloadZipError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadZipError.h; sourceTree = ""; }; + F99E101F2B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResultData.h; sourceTree = ""; }; + F99E10202B7A733200D55EF8 /* DBFILESSaveCopyReferenceError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceError.h; sourceTree = ""; }; + F99E10212B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchResultEntry.h; sourceTree = ""; }; + F99E10222B7A733200D55EF8 /* DBFILESMinimalFileLinkMetadata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMinimalFileLinkMetadata.h; sourceTree = ""; }; + F99E10232B7A733200D55EF8 /* DBFILESLockFileBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileBatchResult.h; sourceTree = ""; }; + F99E10242B7A733200D55EF8 /* DBFILESUploadSessionStartError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionStartError.h; sourceTree = ""; }; + F99E10252B7A733200D55EF8 /* DBFILESRestoreArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRestoreArg.h; sourceTree = ""; }; + F99E10262B7A733200D55EF8 /* DBFILESRelocationBatchV2Launch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchV2Launch.h; sourceTree = ""; }; + F99E10272B7A733200D55EF8 /* DBFILESAlphaGetMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAlphaGetMetadataArg.h; sourceTree = ""; }; + F99E10282B7A733200D55EF8 /* DBFILESRelocationBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchArg.h; sourceTree = ""; }; + F99E10292B7A733200D55EF8 /* DBFILESSaveUrlJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveUrlJobStatus.h; sourceTree = ""; }; + F99E102A2B7A733200D55EF8 /* DBFILESCreateFolderBatchResultEntry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchResultEntry.h; sourceTree = ""; }; + F99E102B2B7A733200D55EF8 /* DBFILESDeleteBatchJobStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchJobStatus.h; sourceTree = ""; }; + F99E102C2B7A733200D55EF8 /* DBFILESDownloadArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadArg.h; sourceTree = ""; }; + F99E102D2B7A733200D55EF8 /* DBFILESExportArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESExportArg.h; sourceTree = ""; }; + F99E102E2B7A733200D55EF8 /* DBFILESCommitInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCommitInfo.h; sourceTree = ""; }; + F99E102F2B7A733200D55EF8 /* DBFILESGetMetadataArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetMetadataArg.h; sourceTree = ""; }; + F99E10302B7A733200D55EF8 /* DBFILESPathOrLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPathOrLink.h; sourceTree = ""; }; + F99E10312B7A733200D55EF8 /* DBFILESAlphaGetMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAlphaGetMetadataError.h; sourceTree = ""; }; + F99E10322B7A733200D55EF8 /* DBFILESSearchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchArg.h; sourceTree = ""; }; + F99E10332B7A733200D55EF8 /* DBFILESSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSharingInfo.h; sourceTree = ""; }; + F99E10342B7A733200D55EF8 /* DBFILESSearchV2ContinueArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchV2ContinueArg.h; sourceTree = ""; }; + F99E10352B7A733200D55EF8 /* DBFILESBaseTagError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESBaseTagError.h; sourceTree = ""; }; + F99E10362B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchResult.h; sourceTree = ""; }; + F99E10372B7A733200D55EF8 /* DBFILESExportInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESExportInfo.h; sourceTree = ""; }; + F99E10382B7A733200D55EF8 /* DBFILESThumbnailArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailArg.h; sourceTree = ""; }; + F99E10392B7A733200D55EF8 /* DBFILESDeleteBatchError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchError.h; sourceTree = ""; }; + F99E103A2B7A733200D55EF8 /* DBFILESSingleUserLock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSingleUserLock.h; sourceTree = ""; }; + F99E103B2B7A733200D55EF8 /* DBFILESAddTagError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAddTagError.h; sourceTree = ""; }; + F99E103C2B7A733200D55EF8 /* DBFILESGetTemporaryLinkResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetTemporaryLinkResult.h; sourceTree = ""; }; + F99E103D2B7A733200D55EF8 /* DBFILESSearchV2Arg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchV2Arg.h; sourceTree = ""; }; + F99E103E2B7A733200D55EF8 /* DBFILESThumbnailMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESThumbnailMode.h; sourceTree = ""; }; + F99E103F2B7A733200D55EF8 /* DBFILESFileSharingInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileSharingInfo.h; sourceTree = ""; }; + F99E10402B7A733200D55EF8 /* DBFILESListFolderContinueError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESListFolderContinueError.h; sourceTree = ""; }; + F99E10412B7A733200D55EF8 /* DBFILESSearchMatchType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatchType.h; sourceTree = ""; }; + F99E10422B7A733200D55EF8 /* DBFILESSearchMatchV2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatchV2.h; sourceTree = ""; }; + F99E10432B7A733200D55EF8 /* DBFILESPaperCreateResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperCreateResult.h; sourceTree = ""; }; + F99E10442B7A733200D55EF8 /* DBFILESSharedLinkFileInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSharedLinkFileInfo.h; sourceTree = ""; }; + F99E10452B7A733200D55EF8 /* DBFILESAddTagArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAddTagArg.h; sourceTree = ""; }; + F99E10462B7A733200D55EF8 /* DBFILESSharedLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSharedLink.h; sourceTree = ""; }; + F99E10472B7A733200D55EF8 /* DBFILESFileLock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileLock.h; sourceTree = ""; }; + F99E10482B7A733200D55EF8 /* DBFILESDeleteBatchLaunch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteBatchLaunch.h; sourceTree = ""; }; + F99E10492B7A733200D55EF8 /* DBFILESLockFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESLockFileError.h; sourceTree = ""; }; + F99E104A2B7A733200D55EF8 /* DBFILESUploadError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadError.h; sourceTree = ""; }; + F99E104B2B7A733200D55EF8 /* DBFILESExportError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESExportError.h; sourceTree = ""; }; + F99E104C2B7A733200D55EF8 /* DBFILESSaveCopyReferenceResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSaveCopyReferenceResult.h; sourceTree = ""; }; + F99E104D2B7A733200D55EF8 /* DBFILESDeleteResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteResult.h; sourceTree = ""; }; + F99E104E2B7A733200D55EF8 /* DBFILESMoveIntoFamilyError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESMoveIntoFamilyError.h; sourceTree = ""; }; + F99E104F2B7A733200D55EF8 /* DBFILESSyncSetting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSyncSetting.h; sourceTree = ""; }; + F99E10502B7A733200D55EF8 /* DBFILESCreateFolderResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderResult.h; sourceTree = ""; }; + F99E10512B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishBatchArg.h; sourceTree = ""; }; + F99E10522B7A733200D55EF8 /* DBFILESWriteError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESWriteError.h; sourceTree = ""; }; + F99E10532B7A733200D55EF8 /* DBFILESCreateFolderEntryError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderEntryError.h; sourceTree = ""; }; + F99E10542B7A733200D55EF8 /* DBFILESGetMetadataError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetMetadataError.h; sourceTree = ""; }; + F99E10552B7A733200D55EF8 /* DBFILESCreateFolderBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchResult.h; sourceTree = ""; }; + F99E10562B7A733200D55EF8 /* DBFILESGetThumbnailBatchResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESGetThumbnailBatchResult.h; sourceTree = ""; }; + F99E10572B7A733200D55EF8 /* DBFILESCreateFolderBatchArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderBatchArg.h; sourceTree = ""; }; + F99E10582B7A733200D55EF8 /* DBFILESFileStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESFileStatus.h; sourceTree = ""; }; + F99E10592B7A733200D55EF8 /* DBFILESCreateFolderArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESCreateFolderArg.h; sourceTree = ""; }; + F99E105A2B7A733200D55EF8 /* DBFILESPaperCreateArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESPaperCreateArg.h; sourceTree = ""; }; + F99E105B2B7A733200D55EF8 /* DBFILESUploadSessionFinishArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionFinishArg.h; sourceTree = ""; }; + F99E105C2B7A733200D55EF8 /* DBFILESRelocationBatchArgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRelocationBatchArgBase.h; sourceTree = ""; }; + F99E105D2B7A733200D55EF8 /* DBFILESDeleteArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDeleteArg.h; sourceTree = ""; }; + F99E105E2B7A733200D55EF8 /* DBFILESDownloadError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESDownloadError.h; sourceTree = ""; }; + F99E105F2B7A733200D55EF8 /* DBFILESSearchMatchFieldOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESSearchMatchFieldOptions.h; sourceTree = ""; }; + F99E10602B7A733200D55EF8 /* DBFILESUploadSessionOffsetError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadSessionOffsetError.h; sourceTree = ""; }; + F99E10612B7A733200D55EF8 /* DBFILESUploadArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUploadArg.h; sourceTree = ""; }; + F99E10632B7A733200D55EF8 /* DBAccountObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAccountObjects.m; sourceTree = ""; }; + F99E10652B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTSetProfilePhotoArg.h; sourceTree = ""; }; + F99E10662B7A733200D55EF8 /* DBACCOUNTPhotoSourceArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTPhotoSourceArg.h; sourceTree = ""; }; + F99E10672B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTSetProfilePhotoResult.h; sourceTree = ""; }; + F99E10682B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTSetProfilePhotoError.h; sourceTree = ""; }; + F99E106B2B7A733200D55EF8 /* DBCHECKEchoArg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCHECKEchoArg.h; sourceTree = ""; }; + F99E106C2B7A733200D55EF8 /* DBCHECKEchoResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCHECKEchoResult.h; sourceTree = ""; }; + F99E106D2B7A733200D55EF8 /* DBCheckObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCheckObjects.m; sourceTree = ""; }; + F99E106F2B7A733200D55EF8 /* DBUsersCommonObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUsersCommonObjects.m; sourceTree = ""; }; + F99E10712B7A733200D55EF8 /* DBUSERSCOMMONAccountType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSCOMMONAccountType.h; sourceTree = ""; }; + F99E10732B7A733200D55EF8 /* DBStoneBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneBase.m; sourceTree = ""; }; + F99E10742B7A733200D55EF8 /* DBStoneSerializers.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneSerializers.m; sourceTree = ""; }; + F99E10752B7A733200D55EF8 /* DBStoneValidators.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBStoneValidators.m; sourceTree = ""; }; + F99E10762B7A733200D55EF8 /* DBStoneBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneBase.h; sourceTree = ""; }; + F99E10772B7A733200D55EF8 /* DBStoneSerializers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneSerializers.h; sourceTree = ""; }; + F99E10782B7A733200D55EF8 /* DBStoneValidators.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBStoneValidators.h; sourceTree = ""; }; + F99E10792B7A733200D55EF8 /* DBSerializableProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSerializableProtocol.h; sourceTree = ""; }; + F99E107A2B7A733200D55EF8 /* DBSDKImportsGenerated.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSDKImportsGenerated.h; sourceTree = ""; }; + F99E107C2B7A733200D55EF8 /* DBAUTHAppAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHAppAuthRoutes.m; sourceTree = ""; }; + F99E107D2B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSUserAuthRoutes.h; sourceTree = ""; }; + F99E107E2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCONTACTSUserAuthRoutes.h; sourceTree = ""; }; + F99E107F2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUSERSUserAuthRoutes.m; sourceTree = ""; }; + F99E10802B7A733200D55EF8 /* DBFILESAppAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESAppAuthRoutes.h; sourceTree = ""; }; + F99E10812B7A733200D55EF8 /* DBFILESUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILESUserAuthRoutes.m; sourceTree = ""; }; + F99E10822B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTUserAuthRoutes.h; sourceTree = ""; }; + F99E10832B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESTeamAuthRoutes.m; sourceTree = ""; }; + F99E10842B7A733200D55EF8 /* DBCHECKAppAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCHECKAppAuthRoutes.h; sourceTree = ""; }; + F99E10852B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGUserAuthRoutes.h; sourceTree = ""; }; + F99E10862B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMLOGTeamAuthRoutes.m; sourceTree = ""; }; + F99E10872B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMTeamAuthRoutes.h; sourceTree = ""; }; + F99E10882B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESUserAuthRoutes.h; sourceTree = ""; }; + F99E10892B7A733200D55EF8 /* DBCHECKUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCHECKUserAuthRoutes.m; sourceTree = ""; }; + F99E108A2B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSHARINGAppAuthRoutes.m; sourceTree = ""; }; + F99E108B2B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDUserAuthRoutes.h; sourceTree = ""; }; + F99E108C2B7A733200D55EF8 /* DBPAPERUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPAPERUserAuthRoutes.m; sourceTree = ""; }; + F99E108D2B7A733200D55EF8 /* DBAUTHUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHUserAuthRoutes.h; sourceTree = ""; }; + F99E108E2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSUserAuthRoutes.h; sourceTree = ""; }; + F99E108F2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCONTACTSUserAuthRoutes.m; sourceTree = ""; }; + F99E10902B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEREQUESTSUserAuthRoutes.m; sourceTree = ""; }; + F99E10912B7A733200D55EF8 /* DBAUTHAppAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHAppAuthRoutes.h; sourceTree = ""; }; + F99E10922B7A733200D55EF8 /* DBCHECKAppAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCHECKAppAuthRoutes.m; sourceTree = ""; }; + F99E10932B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESTeamAuthRoutes.h; sourceTree = ""; }; + F99E10942B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBACCOUNTUserAuthRoutes.m; sourceTree = ""; }; + F99E10952B7A733200D55EF8 /* DBFILESAppAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILESAppAuthRoutes.m; sourceTree = ""; }; + F99E10962B7A733200D55EF8 /* DBFILESUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESUserAuthRoutes.h; sourceTree = ""; }; + F99E10972B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGTeamAuthRoutes.h; sourceTree = ""; }; + F99E10982B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSHARINGUserAuthRoutes.m; sourceTree = ""; }; + F99E109A2B7A733200D55EF8 /* DBTEAMLOGRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMLOGRouteObjects.m; sourceTree = ""; }; + F99E109B2B7A733200D55EF8 /* DBPAPERRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBPAPERRouteObjects.m; sourceTree = ""; }; + F99E109C2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESRouteObjects.m; sourceTree = ""; }; + F99E109D2B7A733200D55EF8 /* DBTEAMRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMRouteObjects.m; sourceTree = ""; }; + F99E109E2B7A733200D55EF8 /* DBAUTHRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBAUTHRouteObjects.h; sourceTree = ""; }; + F99E109F2B7A733200D55EF8 /* DBFILESRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILESRouteObjects.h; sourceTree = ""; }; + F99E10A02B7A733200D55EF8 /* DBACCOUNTRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBACCOUNTRouteObjects.h; sourceTree = ""; }; + F99E10A12B7A733200D55EF8 /* DBOPENIDRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBOPENIDRouteObjects.h; sourceTree = ""; }; + F99E10A22B7A733200D55EF8 /* DBCHECKRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCHECKRouteObjects.h; sourceTree = ""; }; + F99E10A32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEREQUESTSRouteObjects.m; sourceTree = ""; }; + F99E10A42B7A733200D55EF8 /* DBCONTACTSRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCONTACTSRouteObjects.h; sourceTree = ""; }; + F99E10A52B7A733200D55EF8 /* DBSHARINGRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGRouteObjects.h; sourceTree = ""; }; + F99E10A62B7A733200D55EF8 /* DBUSERSRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBUSERSRouteObjects.h; sourceTree = ""; }; + F99E10A72B7A733200D55EF8 /* DBPAPERRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERRouteObjects.h; sourceTree = ""; }; + F99E10A82B7A733200D55EF8 /* DBTEAMLOGRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMLOGRouteObjects.h; sourceTree = ""; }; + F99E10A92B7A733200D55EF8 /* DBFILESRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILESRouteObjects.m; sourceTree = ""; }; + F99E10AA2B7A733200D55EF8 /* DBAUTHRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHRouteObjects.m; sourceTree = ""; }; + F99E10AB2B7A733200D55EF8 /* DBTEAMRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBTEAMRouteObjects.h; sourceTree = ""; }; + F99E10AC2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEPROPERTIESRouteObjects.h; sourceTree = ""; }; + F99E10AD2B7A733200D55EF8 /* DBCHECKRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCHECKRouteObjects.m; sourceTree = ""; }; + F99E10AE2B7A733200D55EF8 /* DBACCOUNTRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBACCOUNTRouteObjects.m; sourceTree = ""; }; + F99E10AF2B7A733200D55EF8 /* DBOPENIDRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOPENIDRouteObjects.m; sourceTree = ""; }; + F99E10B02B7A733200D55EF8 /* DBUSERSRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBUSERSRouteObjects.m; sourceTree = ""; }; + F99E10B12B7A733200D55EF8 /* DBSHARINGRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBSHARINGRouteObjects.m; sourceTree = ""; }; + F99E10B22B7A733200D55EF8 /* DBCONTACTSRouteObjects.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBCONTACTSRouteObjects.m; sourceTree = ""; }; + F99E10B32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBFILEREQUESTSRouteObjects.h; sourceTree = ""; }; + F99E10B42B7A733200D55EF8 /* DBPAPERUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBPAPERUserAuthRoutes.h; sourceTree = ""; }; + F99E10B52B7A733200D55EF8 /* DBAUTHUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBAUTHUserAuthRoutes.m; sourceTree = ""; }; + F99E10B62B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBSHARINGAppAuthRoutes.h; sourceTree = ""; }; + F99E10B72B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBOPENIDUserAuthRoutes.m; sourceTree = ""; }; + F99E10B82B7A733200D55EF8 /* DBCHECKUserAuthRoutes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBCHECKUserAuthRoutes.h; sourceTree = ""; }; + F99E10B92B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBTEAMTeamAuthRoutes.m; sourceTree = ""; }; + F99E10BA2B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBFILEPROPERTIESUserAuthRoutes.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -3350,6 +6683,34 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + BFC67B9724CA8BF800502C76 /* PlatformInternal */ = { + isa = PBXGroup; + children = ( + BFC67B9824CA8C4600502C76 /* iOS */, + ); + path = PlatformInternal; + sourceTree = ""; + }; + BFC67B9824CA8C4600502C76 /* iOS */ = { + isa = PBXGroup; + children = ( + BF7E35292488562F00DEDF84 /* DBLoadingViewController.h */, + ); + path = iOS; + sourceTree = ""; + }; + BFFF1B8724DE33E30029FC0C /* Generated */ = { + isa = PBXGroup; + children = ( + F99E08562B7A733000D55EF8 /* ApiObjects */, + F99E084F2B7A733000D55EF8 /* Client */, + F99E107A2B7A733200D55EF8 /* DBSDKImportsGenerated.h */, + F99E10722B7A733200D55EF8 /* Resources */, + F99E107B2B7A733200D55EF8 /* Routes */, + ); + path = Generated; + sourceTree = ""; + }; F235B5191E29912D00144F8B /* Platform */ = { isa = PBXGroup; children = ( @@ -3371,6 +6732,7 @@ F2C59AF91E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m */, F235B5201E29913600144F8B /* Info.plist */, F2A2DBA71E578C3E001D8449 /* OfficialPartners */, + BF7E352A2488562F00DEDF84 /* DBLoadingViewController.m */, ); name = ObjectiveDropboxOfficial_iOS; path = Platform/ObjectiveDropboxOfficial_iOS; @@ -3393,6 +6755,7 @@ F235B5341E29917E00144F8B /* Headers */ = { isa = PBXGroup; children = ( + BFC67B9724CA8BF800502C76 /* PlatformInternal */, F2A2CE741E562817001D8449 /* Internal */, F2C187E81E6666A50042ABE6 /* Umbrella */, ); @@ -3402,6 +6765,7 @@ F26B756B1D7F6AF700714F70 = { isa = PBXGroup; children = ( + F94D30DB2BBB1A5D00F86465 /* PrivacyInfo.xcprivacy */, F235B5341E29917E00144F8B /* Headers */, F235B5191E29912D00144F8B /* Platform */, F2977DCB1E03692600876A73 /* Shared */, @@ -3434,1460 +6798,2653 @@ name = Frameworks; sourceTree = ""; }; - F292EAA01FC0EB7300D6E69B /* Generated */ = { + F2977DCB1E03692600876A73 /* Shared */ = { isa = PBXGroup; children = ( - F292EAA11FC0EB7300D6E69B /* ApiObjects */, - F292EE891FC0EB7400D6E69B /* Client */, - F292EE901FC0EB7400D6E69B /* DBSDKImportsGenerated.h */, - F292EE911FC0EB7400D6E69B /* Resources */, - F292EE991FC0EB7400D6E69B /* Routes */, + BFFF1B8724DE33E30029FC0C /* Generated */, + F297816F1E03692800876A73 /* Handwritten */, ); - path = Generated; + path = Shared; sourceTree = ""; }; - F292EAA11FC0EB7300D6E69B /* ApiObjects */ = { + F297816F1E03692800876A73 /* Handwritten */ = { isa = PBXGroup; children = ( - F292EAA21FC0EB7300D6E69B /* Async */, - F292EAAB1FC0EB7300D6E69B /* Auth */, - F292EAB71FC0EB7300D6E69B /* Common */, - F292EABF1FC0EB7300D6E69B /* FileProperties */, - F292EAE91FC0EB7300D6E69B /* FileRequests */, - F292EAFA1FC0EB7300D6E69B /* Files */, - F292EB6C1FC0EB7300D6E69B /* Paper */, - F292EB9E1FC0EB7300D6E69B /* Sharing */, - F292EC371FC0EB7300D6E69B /* Team */, - F292ECF11FC0EB7300D6E69B /* TeamCommon */, - F292ECF81FC0EB7300D6E69B /* TeamLog */, - F292EE621FC0EB7400D6E69B /* TeamPolicies */, - F292EE741FC0EB7400D6E69B /* Users */, - F292EE851FC0EB7400D6E69B /* UsersCommon */, + F29781741E03692800876A73 /* DBSDKImportsShared.h */, + F29781701E03692800876A73 /* DBUserClient.h */, + F29781711E03692800876A73 /* DBUserClient.m */, + F29781751E03692800876A73 /* DBTeamClient.h */, + F29781761E03692800876A73 /* DBTeamClient.m */, + F2AB345A1E89DEEE004F6379 /* DBAppClient.h */, + F2AB345D1E89DF0C004F6379 /* DBAppClient.m */, + F29781721E03692800876A73 /* DBClientsManager.h */, + F29781731E03692800876A73 /* DBClientsManager.m */, + F29781771E03692800876A73 /* Networking */, + F297818C1E03692800876A73 /* OAuth */, + F29781951E03692800876A73 /* Resources */, ); - path = ApiObjects; + path = Handwritten; sourceTree = ""; }; - F292EAA21FC0EB7300D6E69B /* Async */ = { + F29781771E03692800876A73 /* Networking */ = { isa = PBXGroup; children = ( - F292EAA31FC0EB7300D6E69B /* DBAsyncObjects.m */, - F292EAA41FC0EB7300D6E69B /* Headers */, + F29781791E03692800876A73 /* DBDelegate.m */, + F2D40D381E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h */, + F2D40D391E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m */, + F2A2CEA51E563268001D8449 /* DBHandlerTypes.h */, + F297817B1E03692800876A73 /* DBRequestErrors.h */, + F297817C1E03692800876A73 /* DBRequestErrors.m */, + F297817E1E03692800876A73 /* DBSDKReachability.m */, + F29781801E03692800876A73 /* DBSessionData.m */, + F29781811E03692800876A73 /* DBTasks.h */, + F29781821E03692800876A73 /* DBTasks.m */, + F29781841E03692800876A73 /* DBTasksImpl.m */, + F2A2CEAB1E5665A1001D8449 /* DBTasksStorage.h */, + F29781861E03692800876A73 /* DBTasksStorage.m */, + F29781891E03692800876A73 /* DBTransportBaseClient.h */, + F297818A1E03692800876A73 /* DBTransportBaseClient.m */, + F24169491E5247D60038E306 /* DBTransportBaseConfig.h */, + F241694A1E5247D60038E306 /* DBTransportBaseConfig.m */, + 3C3C29731F7D757E00C54011 /* DBTransportBaseHostnameConfig.h */, + 3C3C29721F7D757E00C54011 /* DBTransportBaseHostnameConfig.m */, + F297818B1E03692800876A73 /* DBTransportClientProtocol.h */, + F29781871E03692800876A73 /* DBTransportDefaultClient.h */, + F29781881E03692800876A73 /* DBTransportDefaultClient.m */, + F24169451E523FD30038E306 /* DBTransportDefaultConfig.h */, + F24169461E523FEB0038E306 /* DBTransportDefaultConfig.m */, + BF6162C42491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m */, + BFFFCE8024E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m */, ); - path = Async; + path = Networking; sourceTree = ""; }; - F292EAA41FC0EB7300D6E69B /* Headers */ = { + F297818C1E03692800876A73 /* OAuth */ = { isa = PBXGroup; children = ( - F292EAA51FC0EB7300D6E69B /* DBASYNCLaunchEmptyResult.h */, - F292EAA61FC0EB7300D6E69B /* DBASYNCLaunchResultBase.h */, - F292EAA71FC0EB7300D6E69B /* DBASYNCPollArg.h */, - F292EAA81FC0EB7300D6E69B /* DBASYNCPollEmptyResult.h */, - F292EAA91FC0EB7300D6E69B /* DBASYNCPollError.h */, - F292EAAA1FC0EB7300D6E69B /* DBASYNCPollResultBase.h */, + BF7E352D248858B600DEDF84 /* DBLoadingStatusDelegate.h */, + BFC20EA424905395005A5E8F /* DBAccessTokenProvider.h */, + BF33F93C24874DED001F4072 /* DBOAuthResultCompletion.h */, + BF33F93D24874DED001F4072 /* DBOAuthTokenRequest.m */, + BF33F92124873F11001F4072 /* DBOAuthConstants.m */, + BF33F92024873F10001F4072 /* DBOAuthPKCESession.m */, + BF33F92224873F11001F4072 /* DBOAuthUtils.m */, + BF33F92524873F11001F4072 /* DBScopeRequest.h */, + BF33F92624873F12001F4072 /* DBScopeRequest.m */, + F297818D1E03692800876A73 /* DBOAuthManager.h */, + F297818E1E03692800876A73 /* DBOAuthManager.m */, + F297818F1E03692800876A73 /* DBOAuthResult.h */, + F29781901E03692800876A73 /* DBOAuthResult.m */, + F29781911E03692800876A73 /* DBSDKKeychain.h */, + F29781921E03692800876A73 /* DBSDKKeychain.m */, + F29781931E03692800876A73 /* DBSharedApplicationProtocol.h */, + BF474D37248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m */, + BFD93BC624905D8A006AB165 /* DBAccessTokenProviderImpl.m */, ); - path = Headers; + path = OAuth; + sourceTree = ""; + }; + F29781951E03692800876A73 /* Resources */ = { + isa = PBXGroup; + children = ( + F29781971E03692800876A73 /* DBChunkInputStream.m */, + F239DFCD1E68DA1700417314 /* DBSDKConstants.h */, + F239DFCE1E68DA1700417314 /* DBSDKConstants.m */, + F2A2CE9F1E562F7E001D8449 /* DBCustomDatatypes.h */, + F2A2CEA01E562FEB001D8449 /* DBCustomDatatypes.m */, + F29781991E03692800876A73 /* DBCustomRoutes.h */, + F297819A1E03692800876A73 /* DBCustomRoutes.m */, + F2A2CE981E562DFF001D8449 /* DBCustomTasks.h */, + F2A2CE991E562E46001D8449 /* DBCustomTasks.m */, + ); + path = Resources; sourceTree = ""; }; - F292EAAB1FC0EB7300D6E69B /* Auth */ = { + F2A2CE741E562817001D8449 /* Internal */ = { isa = PBXGroup; children = ( - F292EAAC1FC0EB7300D6E69B /* DBAuthObjects.m */, - F292EAAD1FC0EB7300D6E69B /* Headers */, + F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */, + F2A2CE761E562817001D8449 /* Networking */, + F2C59AFB1E9C2EEC00E8D2E6 /* OAuth */, + F2A2CE7F1E562817001D8449 /* Resources */, ); - path = Auth; + path = Internal; + sourceTree = ""; + }; + F2A2CE761E562817001D8449 /* Networking */ = { + isa = PBXGroup; + children = ( + BF6162C32491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h */, + F2A2CE771E562817001D8449 /* DBDelegate.h */, + F2A2CE781E562817001D8449 /* DBHandlerTypesInternal.h */, + F2A2CE791E562817001D8449 /* DBSDKReachability.h */, + F2A2CE7A1E562817001D8449 /* DBSessionData.h */, + F2A2CE7B1E562817001D8449 /* DBTasks+Protected.h */, + F2A2CE7C1E562817001D8449 /* DBTasksImpl.h */, + F2A2CEA81E5655D1001D8449 /* DBTransportBaseClient+Internal.h */, + F2D40D3E1E779AE5004CCEB7 /* DBGlobalErrorResponseHandler+Internal.h */, + BFFFCE7F24E73E0C0084E238 /* DBURLSessionTask.h */, + BFFFCE8324E73F6C0084E238 /* DBURLSessionTaskResponseBlockWrapper.h */, + ); + path = Networking; + sourceTree = ""; + }; + F2A2CE7F1E562817001D8449 /* Resources */ = { + isa = PBXGroup; + children = ( + F2A2CE801E562817001D8449 /* DBChunkInputStream.h */, + F2C59AF41E9C033400E8D2E6 /* DBSDKSystem.h */, + ); + path = Resources; + sourceTree = ""; + }; + F2A2DBA71E578C3E001D8449 /* OfficialPartners */ = { + isa = PBXGroup; + children = ( + F2A2DBA81E578C3F001D8449 /* OpenWith */, + ); + path = OfficialPartners; + sourceTree = ""; + }; + F2A2DBA81E578C3F001D8449 /* OpenWith */ = { + isa = PBXGroup; + children = ( + F2A2DBA91E578C3F001D8449 /* DBOfficialAppConnector-iOS.h */, + F2A2DBAA1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m */, + F2A2DBAB1E578C3F001D8449 /* DBOpenWithInfo-iOS.h */, + F2A2DBAC1E578C3F001D8449 /* DBOpenWithInfo-iOS.m */, + ); + path = OpenWith; + sourceTree = ""; + }; + F2C187E81E6666A50042ABE6 /* Umbrella */ = { + isa = PBXGroup; + children = ( + F2C187E91E6666A50042ABE6 /* ObjectiveDropboxOfficial.h */, + F2C187EA1E6666A50042ABE6 /* ObjectiveDropboxOfficialLib.h */, + ); + path = Umbrella; + sourceTree = ""; + }; + F2C59AFB1E9C2EEC00E8D2E6 /* OAuth */ = { + isa = PBXGroup; + children = ( + BF474D36248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h */, + BF33F93B24874DED001F4072 /* DBOAuthTokenRequest.h */, + BF33F92424873F11001F4072 /* DBOAuthConstants.h */, + BF33F92324873F11001F4072 /* DBOAuthPKCESession.h */, + BF33F92724873F12001F4072 /* DBOAuthUtils.h */, + BF33F93824873F3E001F4072 /* DBScopeRequest+Protected.h */, + F2C59AFC1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h */, + BFC20EA524905C57005A5E8F /* DBAccessTokenProvider+Internal.h */, + ); + path = OAuth; + sourceTree = ""; + }; + F99E084F2B7A733000D55EF8 /* Client */ = { + isa = PBXGroup; + children = ( + F99E08502B7A733000D55EF8 /* DBTeamBaseClient.m */, + F99E08512B7A733000D55EF8 /* DBAppBaseClient.m */, + F99E08522B7A733000D55EF8 /* DBUserBaseClient.h */, + F99E08532B7A733000D55EF8 /* DBTeamBaseClient.h */, + F99E08542B7A733000D55EF8 /* DBAppBaseClient.h */, + F99E08552B7A733000D55EF8 /* DBUserBaseClient.m */, + ); + path = Client; + sourceTree = ""; + }; + F99E08562B7A733000D55EF8 /* ApiObjects */ = { + isa = PBXGroup; + children = ( + F99E08572B7A733000D55EF8 /* Paper */, + F99E088C2B7A733000D55EF8 /* TeamPolicies */, + F99E08AD2B7A733000D55EF8 /* SecondaryEmails */, + F99E08B12B7A733000D55EF8 /* Sharing */, + F99E09542B7A733000D55EF8 /* SeenState */, + F99E09582B7A733000D55EF8 /* Auth */, + F99E09652B7A733000D55EF8 /* FileRequests */, + F99E09812B7A733000D55EF8 /* Contacts */, + F99E09862B7A733000D55EF8 /* Async */, + F99E098F2B7A733000D55EF8 /* TeamCommon */, + F99E09972B7A733000D55EF8 /* Common */, + F99E099F2B7A733000D55EF8 /* Openid */, + F99E09A62B7A733000D55EF8 /* Team */, + F99E0AB22B7A733000D55EF8 /* FileProperties */, + F99E0ADC2B7A733000D55EF8 /* Users */, + F99E0AF42B7A733000D55EF8 /* TeamLog */, + F99E0F982B7A733200D55EF8 /* Files */, + F99E10622B7A733200D55EF8 /* Account */, + F99E10692B7A733200D55EF8 /* Check */, + F99E106E2B7A733200D55EF8 /* UsersCommon */, + ); + path = ApiObjects; + sourceTree = ""; + }; + F99E08572B7A733000D55EF8 /* Paper */ = { + isa = PBXGroup; + children = ( + F99E08582B7A733000D55EF8 /* DBPaperObjects.m */, + F99E08592B7A733000D55EF8 /* Headers */, + ); + path = Paper; sourceTree = ""; }; - F292EAAD1FC0EB7300D6E69B /* Headers */ = { + F99E08592B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EAAE1FC0EB7300D6E69B /* DBAUTHAccessError.h */, - F292EAAF1FC0EB7300D6E69B /* DBAUTHAuthError.h */, - F292EAB01FC0EB7300D6E69B /* DBAUTHInvalidAccountTypeError.h */, - F292EAB11FC0EB7300D6E69B /* DBAUTHPaperAccessError.h */, - F292EAB21FC0EB7300D6E69B /* DBAUTHRateLimitError.h */, - F292EAB31FC0EB7300D6E69B /* DBAUTHRateLimitReason.h */, - F292EAB41FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Arg.h */, - F292EAB51FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Error.h */, - F292EAB61FC0EB7300D6E69B /* DBAUTHTokenFromOAuth1Result.h */, + F99E085A2B7A733000D55EF8 /* DBPAPERPaperDocSharingPolicy.h */, + F99E085B2B7A733000D55EF8 /* DBPAPERFoldersContainingPaperDoc.h */, + F99E085C2B7A733000D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h */, + F99E085D2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h */, + F99E085E2B7A733000D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h */, + F99E085F2B7A733000D55EF8 /* DBPAPERPaperDocUpdatePolicy.h */, + F99E08602B7A733000D55EF8 /* DBPAPERPaperFolderCreateResult.h */, + F99E08612B7A733000D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h */, + F99E08622B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h */, + F99E08632B7A733000D55EF8 /* DBPAPERPaperDocCreateError.h */, + F99E08642B7A733000D55EF8 /* DBPAPERPaperDocUpdateError.h */, + F99E08652B7A733000D55EF8 /* DBPAPERSharingTeamPolicyType.h */, + F99E08662B7A733000D55EF8 /* DBPAPERFolderSharingPolicyType.h */, + F99E08672B7A733000D55EF8 /* DBPAPERFolderSubscriptionLevel.h */, + F99E08682B7A733000D55EF8 /* DBPAPERListUsersCursorError.h */, + F99E08692B7A733000D55EF8 /* DBPAPERCursor.h */, + F99E086A2B7A733000D55EF8 /* DBPAPERDocSubscriptionLevel.h */, + F99E086B2B7A733000D55EF8 /* DBPAPERListPaperDocsFilterBy.h */, + F99E086C2B7A733000D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h */, + F99E086D2B7A733000D55EF8 /* DBPAPERListDocsCursorError.h */, + F99E086E2B7A733000D55EF8 /* DBPAPERAddMember.h */, + F99E086F2B7A733000D55EF8 /* DBPAPERListPaperDocsResponse.h */, + F99E08702B7A733000D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h */, + F99E08712B7A733000D55EF8 /* DBPAPERRemovePaperDocUser.h */, + F99E08722B7A733000D55EF8 /* DBPAPERPaperDocExportResult.h */, + F99E08732B7A733000D55EF8 /* DBPAPERPaperDocExport.h */, + F99E08742B7A733000D55EF8 /* DBPAPERListUsersOnFolderArgs.h */, + F99E08752B7A733000D55EF8 /* DBPAPERAddPaperDocUser.h */, + F99E08762B7A733000D55EF8 /* DBPAPERPaperDocUpdateArgs.h */, + F99E08772B7A733000D55EF8 /* DBPAPERPaperFolderCreateError.h */, + F99E08782B7A733000D55EF8 /* DBPAPERPaperDocPermissionLevel.h */, + F99E08792B7A733000D55EF8 /* DBPAPERPaperApiBaseError.h */, + F99E087A2B7A733000D55EF8 /* DBPAPERRefPaperDoc.h */, + F99E087B2B7A733000D55EF8 /* DBPAPERExportFormat.h */, + F99E087C2B7A733000D55EF8 /* DBPAPERListPaperDocsArgs.h */, + F99E087D2B7A733000D55EF8 /* DBPAPERListUsersOnFolderResponse.h */, + F99E087E2B7A733000D55EF8 /* DBPAPERImportFormat.h */, + F99E087F2B7A733000D55EF8 /* DBPAPERListPaperDocsSortOrder.h */, + F99E08802B7A733000D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h */, + F99E08812B7A733000D55EF8 /* DBPAPERListPaperDocsSortBy.h */, + F99E08822B7A733000D55EF8 /* DBPAPERListPaperDocsContinueArgs.h */, + F99E08832B7A733000D55EF8 /* DBPAPERPaperApiCursorError.h */, + F99E08842B7A733000D55EF8 /* DBPAPERPaperFolderCreateArg.h */, + F99E08852B7A733000D55EF8 /* DBPAPERFolder.h */, + F99E08862B7A733000D55EF8 /* DBPAPERPaperDocCreateArgs.h */, + F99E08872B7A733000D55EF8 /* DBPAPERDocLookupError.h */, + F99E08882B7A733000D55EF8 /* DBPAPERSharingPublicPolicyType.h */, + F99E08892B7A733000D55EF8 /* DBPAPERUserOnPaperDocFilter.h */, + F99E088A2B7A733000D55EF8 /* DBPAPERSharingPolicy.h */, + F99E088B2B7A733000D55EF8 /* DBPAPERAddPaperDocUserResult.h */, ); path = Headers; sourceTree = ""; }; - F292EAB71FC0EB7300D6E69B /* Common */ = { + F99E088C2B7A733000D55EF8 /* TeamPolicies */ = { isa = PBXGroup; children = ( - F292EAB81FC0EB7300D6E69B /* DBCommonObjects.m */, - F292EAB91FC0EB7300D6E69B /* Headers */, + F99E088D2B7A733000D55EF8 /* DBTeamPoliciesObjects.m */, + F99E088E2B7A733000D55EF8 /* Headers */, ); - path = Common; + path = TeamPolicies; sourceTree = ""; }; - F292EAB91FC0EB7300D6E69B /* Headers */ = { + F99E088E2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EABA1FC0EB7300D6E69B /* DBCOMMONPathRoot.h */, - F292EABB1FC0EB7300D6E69B /* DBCOMMONPathRootError.h */, - F292EABC1FC0EB7300D6E69B /* DBCOMMONRootInfo.h */, - F292EABD1FC0EB7300D6E69B /* DBCOMMONTeamRootInfo.h */, - F292EABE1FC0EB7300D6E69B /* DBCOMMONUserRootInfo.h */, + F99E088F2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h */, + F99E08902B7A733000D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h */, + F99E08912B7A733000D55EF8 /* DBTEAMPOLICIESGroupCreation.h */, + F99E08922B7A733000D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h */, + F99E08932B7A733000D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h */, + F99E08942B7A733000D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h */, + F99E08952B7A733000D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */, + F99E08962B7A733000D55EF8 /* DBTEAMPOLICIESSsoPolicy.h */, + F99E08972B7A733000D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h */, + F99E08982B7A733000D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h */, + F99E08992B7A733000D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h */, + F99E089A2B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h */, + F99E089B2B7A733000D55EF8 /* DBTEAMPOLICIESEmmState.h */, + F99E089C2B7A733000D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h */, + F99E089D2B7A733000D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h */, + F99E089E2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h */, + F99E089F2B7A733000D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h */, + F99E08A02B7A733000D55EF8 /* DBTEAMPOLICIESRolloutMethod.h */, + F99E08A12B7A733000D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */, + F99E08A22B7A733000D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h */, + F99E08A32B7A733000D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h */, + F99E08A42B7A733000D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h */, + F99E08A52B7A733000D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h */, + F99E08A62B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */, + F99E08A72B7A733000D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h */, + F99E08A82B7A733000D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h */, + F99E08A92B7A733000D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h */, + F99E08AA2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h */, + F99E08AB2B7A733000D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h */, + F99E08AC2B7A733000D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */, ); path = Headers; sourceTree = ""; }; - F292EABF1FC0EB7300D6E69B /* FileProperties */ = { + F99E08AD2B7A733000D55EF8 /* SecondaryEmails */ = { isa = PBXGroup; children = ( - F292EAC01FC0EB7300D6E69B /* DBFilePropertiesObjects.m */, - F292EAC11FC0EB7300D6E69B /* Headers */, + F99E08AE2B7A733000D55EF8 /* DBSecondaryEmailsObjects.m */, + F99E08AF2B7A733000D55EF8 /* Headers */, ); - path = FileProperties; + path = SecondaryEmails; sourceTree = ""; }; - F292EAC11FC0EB7300D6E69B /* Headers */ = { + F99E08AF2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EAC21FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h */, - F292EAC31FC0EB7300D6E69B /* DBFILEPROPERTIESAddPropertiesError.h */, - F292EAC41FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateArg.h */, - F292EAC51FC0EB7300D6E69B /* DBFILEPROPERTIESAddTemplateResult.h */, - F292EAC61FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateArg.h */, - F292EAC71FC0EB7300D6E69B /* DBFILEPROPERTIESGetTemplateResult.h */, - F292EAC81FC0EB7300D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h */, - F292EAC91FC0EB7300D6E69B /* DBFILEPROPERTIESListTemplateResult.h */, - F292EACA1FC0EB7300D6E69B /* DBFILEPROPERTIESLogicalOperator.h */, - F292EACB1FC0EB7300D6E69B /* DBFILEPROPERTIESLookupError.h */, - F292EACC1FC0EB7300D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h */, - F292EACD1FC0EB7300D6E69B /* DBFILEPROPERTIESModifyTemplateError.h */, - F292EACE1FC0EB7300D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */, - F292EACF1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesError.h */, - F292EAD01FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h */, - F292EAD11FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */, - F292EAD21FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h */, - F292EAD31FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h */, - F292EAD41FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h */, - F292EAD51FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h */, - F292EAD61FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h */, - F292EAD71FC0EB7300D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h */, - F292EAD81FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyField.h */, - F292EAD91FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h */, - F292EADA1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroup.h */, - F292EADB1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h */, - F292EADC1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h */, - F292EADD1FC0EB7300D6E69B /* DBFILEPROPERTIESPropertyType.h */, - F292EADE1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h */, - F292EADF1FC0EB7300D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h */, - F292EAE01FC0EB7300D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h */, - F292EAE11FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateError.h */, - F292EAE21FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilter.h */, - F292EAE31FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h */, - F292EAE41FC0EB7300D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h */, - F292EAE51FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h */, - F292EAE61FC0EB7300D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h */, - F292EAE71FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h */, - F292EAE81FC0EB7300D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h */, + F99E08B02B7A733000D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h */, ); path = Headers; sourceTree = ""; }; - F292EAE91FC0EB7300D6E69B /* FileRequests */ = { + F99E08B12B7A733000D55EF8 /* Sharing */ = { isa = PBXGroup; children = ( - F292EAEA1FC0EB7300D6E69B /* DBFileRequestsObjects.m */, - F292EAEB1FC0EB7300D6E69B /* Headers */, + F99E08B22B7A733000D55EF8 /* DBSharingObjects.m */, + F99E08B32B7A733000D55EF8 /* Headers */, ); - path = FileRequests; + path = Sharing; sourceTree = ""; }; - F292EAEB1FC0EB7300D6E69B /* Headers */ = { + F99E08B32B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EAEC1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h */, - F292EAED1FC0EB7300D6E69B /* DBFILEREQUESTSCreateFileRequestError.h */, - F292EAEE1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequest.h */, - F292EAEF1FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestDeadline.h */, - F292EAF01FC0EB7300D6E69B /* DBFILEREQUESTSFileRequestError.h */, - F292EAF11FC0EB7300D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h */, - F292EAF21FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h */, - F292EAF31FC0EB7300D6E69B /* DBFILEREQUESTSGetFileRequestError.h */, - F292EAF41FC0EB7300D6E69B /* DBFILEREQUESTSGracePeriod.h */, - F292EAF51FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsError.h */, - F292EAF61FC0EB7300D6E69B /* DBFILEREQUESTSListFileRequestsResult.h */, - F292EAF71FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h */, - F292EAF81FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h */, - F292EAF91FC0EB7300D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h */, + F99E08B42B7A733000D55EF8 /* DBSHARINGGetSharedLinksArg.h */, + F99E08B52B7A733000D55EF8 /* DBSHARINGGroupMembershipInfo.h */, + F99E08B62B7A733000D55EF8 /* DBSHARINGPendingUploadMode.h */, + F99E08B72B7A733000D55EF8 /* DBSHARINGListFileMembersIndividualResult.h */, + F99E08B82B7A733000D55EF8 /* DBSHARINGLinkMetadata.h */, + F99E08B92B7A733000D55EF8 /* DBSHARINGCollectionLinkMetadata.h */, + F99E08BA2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h */, + F99E08BB2B7A733000D55EF8 /* DBSHARINGMemberPolicy.h */, + F99E08BC2B7A733000D55EF8 /* DBSHARINGAlphaResolvedVisibility.h */, + F99E08BD2B7A733000D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h */, + F99E08BE2B7A733000D55EF8 /* DBSHARINGShareFolderArg.h */, + F99E08BF2B7A733000D55EF8 /* DBSHARINGMemberAccessLevelResult.h */, + F99E08C02B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h */, + F99E08C12B7A733000D55EF8 /* DBSHARINGShareFolderLaunch.h */, + F99E08C22B7A733000D55EF8 /* DBSHARINGGetSharedLinksResult.h */, + F99E08C32B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceArg.h */, + F99E08C42B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberArg.h */, + F99E08C52B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkError.h */, + F99E08C62B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadata.h */, + F99E08C72B7A733000D55EF8 /* DBSHARINGSharedLinkError.h */, + F99E08C82B7A733000D55EF8 /* DBSHARINGListFilesContinueError.h */, + F99E08C92B7A733000D55EF8 /* DBSHARINGAclUpdatePolicy.h */, + F99E08CA2B7A733000D55EF8 /* DBSHARINGUpdateFileMemberArgs.h */, + F99E08CB2B7A733000D55EF8 /* DBSHARINGGetSharedLinksError.h */, + F99E08CC2B7A733000D55EF8 /* DBSHARINGMountFolderError.h */, + F99E08CD2B7A733000D55EF8 /* DBSHARINGUnshareFileError.h */, + F99E08CE2B7A733000D55EF8 /* DBSHARINGSharedLinkMetadata.h */, + F99E08CF2B7A733000D55EF8 /* DBSHARINGListFileMembersBatchArg.h */, + F99E08D02B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueError.h */, + F99E08D12B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipError.h */, + F99E08D22B7A733000D55EF8 /* DBSHARINGSharedFolderMemberError.h */, + F99E08D32B7A733000D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h */, + F99E08D42B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyError.h */, + F99E08D52B7A733000D55EF8 /* DBSHARINGFileAction.h */, + F99E08D62B7A733000D55EF8 /* DBSHARINGSharedLinkPolicy.h */, + F99E08D72B7A733000D55EF8 /* DBSHARINGListFilesResult.h */, + F99E08D82B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h */, + F99E08D92B7A733000D55EF8 /* DBSHARINGListFolderMembersCursorArg.h */, + F99E08DA2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h */, + F99E08DB2B7A733000D55EF8 /* DBSHARINGFileErrorResult.h */, + F99E08DC2B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h */, + F99E08DD2B7A733000D55EF8 /* DBSHARINGListFileMembersError.h */, + F99E08DE2B7A733000D55EF8 /* DBSHARINGMemberAction.h */, + F99E08DF2B7A733000D55EF8 /* DBSHARINGGetFileMetadataArg.h */, + F99E08E02B7A733000D55EF8 /* DBSHARINGLinkSettings.h */, + F99E08E12B7A733000D55EF8 /* DBSHARINGLinkExpiry.h */, + F99E08E22B7A733000D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h */, + F99E08E32B7A733000D55EF8 /* DBSHARINGSharedLinkSettingsError.h */, + F99E08E42B7A733000D55EF8 /* DBSHARINGRemoveFileMemberError.h */, + F99E08E52B7A733000D55EF8 /* DBSHARINGRemoveFileMemberArg.h */, + F99E08E62B7A733000D55EF8 /* DBSHARINGShareFolderError.h */, + F99E08E72B7A733000D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h */, + F99E08E82B7A733000D55EF8 /* DBSHARINGSharingUserError.h */, + F99E08E92B7A733000D55EF8 /* DBSHARINGFileMemberActionResult.h */, + F99E08EA2B7A733000D55EF8 /* DBSHARINGVisibility.h */, + F99E08EB2B7A733000D55EF8 /* DBSHARINGSharedFolderMetadataBase.h */, + F99E08EC2B7A733000D55EF8 /* DBSHARINGAudienceExceptions.h */, + F99E08ED2B7A733000D55EF8 /* DBSHARINGPermissionDeniedReason.h */, + F99E08EE2B7A733000D55EF8 /* DBSHARINGAccessLevel.h */, + F99E08EF2B7A733000D55EF8 /* DBSHARINGLinkAction.h */, + F99E08F02B7A733000D55EF8 /* DBSHARINGUnmountFolderArg.h */, + F99E08F12B7A733000D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h */, + F99E08F22B7A733000D55EF8 /* DBSHARINGSharedLinkSettings.h */, + F99E08F32B7A733000D55EF8 /* DBSHARINGShareFolderJobStatus.h */, + F99E08F42B7A733000D55EF8 /* DBSHARINGFileMemberActionError.h */, + F99E08F52B7A733000D55EF8 /* DBSHARINGListFoldersArgs.h */, + F99E08F62B7A733000D55EF8 /* DBSHARINGParentFolderAccessInfo.h */, + F99E08F72B7A733000D55EF8 /* DBSHARINGInviteeMembershipInfo.h */, + F99E08F82B7A733000D55EF8 /* DBSHARINGVisibilityPolicy.h */, + F99E08F92B7A733000D55EF8 /* DBSHARINGListFilesContinueArg.h */, + F99E08FA2B7A733000D55EF8 /* DBSHARINGListSharedLinksError.h */, + F99E08FB2B7A733000D55EF8 /* DBSHARINGLinkPermission.h */, + F99E08FC2B7A733000D55EF8 /* DBSHARINGSharedFolderMembers.h */, + F99E08FD2B7A733000D55EF8 /* DBSHARINGGetFileMetadataError.h */, + F99E08FE2B7A733000D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h */, + F99E08FF2B7A733000D55EF8 /* DBSHARINGGetSharedLinkFileError.h */, + F99E09002B7A733000D55EF8 /* DBSHARINGLinkAudience.h */, + F99E09012B7A733000D55EF8 /* DBSHARINGAddFolderMemberError.h */, + F99E09022B7A733000D55EF8 /* DBSHARINGCreateSharedLinkArg.h */, + F99E09032B7A733000D55EF8 /* DBSHARINGShareFolderArgBase.h */, + F99E09042B7A733000D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h */, + F99E09052B7A733000D55EF8 /* DBSHARINGListFileMembersArg.h */, + F99E09062B7A733000D55EF8 /* DBSHARINGListSharedLinksResult.h */, + F99E09072B7A733000D55EF8 /* DBSHARINGFolderLinkMetadata.h */, + F99E09082B7A733000D55EF8 /* DBSHARINGListFileMembersBatchResult.h */, + F99E09092B7A733000D55EF8 /* DBSHARINGListFileMembersContinueError.h */, + F99E090A2B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberArg.h */, + F99E090B2B7A733000D55EF8 /* DBSHARINGUserFileMembershipInfo.h */, + F99E090C2B7A733000D55EF8 /* DBSHARINGMembershipInfo.h */, + F99E090D2B7A733000D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h */, + F99E090E2B7A733000D55EF8 /* DBSHARINGListFolderMembersContinueArg.h */, + F99E090F2B7A733000D55EF8 /* DBSHARINGFolderPolicy.h */, + F99E09102B7A733000D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h */, + F99E09112B7A733000D55EF8 /* DBSHARINGListSharedLinksArg.h */, + F99E09122B7A733000D55EF8 /* DBSHARINGSharePathError.h */, + F99E09132B7A733000D55EF8 /* DBSHARINGListFoldersContinueArg.h */, + F99E09142B7A733000D55EF8 /* DBSHARINGUpdateFolderMemberError.h */, + F99E09152B7A733000D55EF8 /* DBSHARINGUnmountFolderError.h */, + F99E09162B7A733000D55EF8 /* DBSHARINGAddFileMemberArgs.h */, + F99E09172B7A733000D55EF8 /* DBSHARINGJobError.h */, + F99E09182B7A733000D55EF8 /* DBSHARINGResolvedVisibility.h */, + F99E09192B7A733000D55EF8 /* DBSHARINGUserMembershipInfo.h */, + F99E091A2B7A733000D55EF8 /* DBSHARINGAddMemberSelectorError.h */, + F99E091B2B7A733000D55EF8 /* DBSHARINGViewerInfoPolicy.h */, + F99E091C2B7A733000D55EF8 /* DBSHARINGSharingFileAccessError.h */, + F99E091D2B7A733000D55EF8 /* DBSHARINGListFoldersContinueError.h */, + F99E091E2B7A733000D55EF8 /* DBSHARINGLinkPermissions.h */, + F99E091F2B7A733000D55EF8 /* DBSHARINGPathLinkMetadata.h */, + F99E09202B7A733000D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h */, + F99E09212B7A733000D55EF8 /* DBSHARINGLinkPassword.h */, + F99E09222B7A733000D55EF8 /* DBSHARINGUnshareFolderArg.h */, + F99E09232B7A733000D55EF8 /* DBSHARINGInsufficientPlan.h */, + F99E09242B7A733000D55EF8 /* DBSHARINGSharedFolderAccessError.h */, + F99E09252B7A733000D55EF8 /* DBSHARINGMemberSelector.h */, + F99E09262B7A733000D55EF8 /* DBSHARINGSharedFileMembers.h */, + F99E09272B7A733000D55EF8 /* DBSHARINGAddFolderMemberArg.h */, + F99E09282B7A733000D55EF8 /* DBSHARINGSharedFolderMetadata.h */, + F99E09292B7A733000D55EF8 /* DBSHARINGRequestedVisibility.h */, + F99E092A2B7A733000D55EF8 /* DBSHARINGAddMember.h */, + F99E092B2B7A733000D55EF8 /* DBSHARINGSharedFileMetadata.h */, + F99E092C2B7A733000D55EF8 /* DBSHARINGListFolderMembersArgs.h */, + F99E092D2B7A733000D55EF8 /* DBSHARINGListFoldersResult.h */, + F99E092E2B7A733000D55EF8 /* DBSHARINGMountFolderArg.h */, + F99E092F2B7A733000D55EF8 /* DBSHARINGLinkAudienceOption.h */, + F99E09302B7A733000D55EF8 /* DBSHARINGSetAccessInheritanceError.h */, + F99E09312B7A733000D55EF8 /* DBSHARINGListFilesArg.h */, + F99E09322B7A733000D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h */, + F99E09332B7A733000D55EF8 /* DBSHARINGListFileMembersContinueArg.h */, + F99E09342B7A733000D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h */, + F99E09352B7A733000D55EF8 /* DBSHARINGUnshareFolderError.h */, + F99E09362B7A733000D55EF8 /* DBSHARINGTeamMemberInfo.h */, + F99E09372B7A733000D55EF8 /* DBSHARINGRevokeSharedLinkArg.h */, + F99E09382B7A733000D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h */, + F99E09392B7A733000D55EF8 /* DBSHARINGInviteeInfo.h */, + F99E093A2B7A733000D55EF8 /* DBSHARINGAddFileMemberError.h */, + F99E093B2B7A733000D55EF8 /* DBSHARINGTransferFolderArg.h */, + F99E093C2B7A733000D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h */, + F99E093D2B7A733000D55EF8 /* DBSHARINGShareFolderErrorBase.h */, + F99E093E2B7A733000D55EF8 /* DBSHARINGUserInfo.h */, + F99E093F2B7A733000D55EF8 /* DBSHARINGMemberPermission.h */, + F99E09402B7A733000D55EF8 /* DBSHARINGTransferFolderError.h */, + F99E09412B7A733000D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h */, + F99E09422B7A733000D55EF8 /* DBSHARINGGroupInfo.h */, + F99E09432B7A733000D55EF8 /* DBSHARINGRemoveFolderMemberError.h */, + F99E09442B7A733000D55EF8 /* DBSHARINGFileLinkMetadata.h */, + F99E09452B7A733000D55EF8 /* DBSHARINGFolderPermission.h */, + F99E09462B7A733000D55EF8 /* DBSHARINGJobStatus.h */, + F99E09472B7A733000D55EF8 /* DBSHARINGListFileMembersCountResult.h */, + F99E09482B7A733000D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h */, + F99E09492B7A733000D55EF8 /* DBSHARINGFolderAction.h */, + F99E094A2B7A733000D55EF8 /* DBSHARINGCreateSharedLinkError.h */, + F99E094B2B7A733000D55EF8 /* DBSHARINGRemoveMemberJobStatus.h */, + F99E094C2B7A733000D55EF8 /* DBSHARINGLinkAccessLevel.h */, + F99E094D2B7A733000D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h */, + F99E094E2B7A733000D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h */, + F99E094F2B7A733000D55EF8 /* DBSHARINGFilePermission.h */, + F99E09502B7A733000D55EF8 /* DBSHARINGGetMetadataArgs.h */, + F99E09512B7A733000D55EF8 /* DBSHARINGAccessInheritance.h */, + F99E09522B7A733000D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h */, + F99E09532B7A733000D55EF8 /* DBSHARINGUnshareFileArg.h */, ); path = Headers; sourceTree = ""; }; - F292EAFA1FC0EB7300D6E69B /* Files */ = { + F99E09542B7A733000D55EF8 /* SeenState */ = { isa = PBXGroup; children = ( - F292EAFB1FC0EB7300D6E69B /* DBFilesObjects.m */, - F292EAFC1FC0EB7300D6E69B /* Headers */, + F99E09552B7A733000D55EF8 /* DBSeenStateObjects.m */, + F99E09562B7A733000D55EF8 /* Headers */, ); - path = Files; + path = SeenState; sourceTree = ""; }; - F292EAFC1FC0EB7300D6E69B /* Headers */ = { + F99E09562B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EAFD1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataArg.h */, - F292EAFE1FC0EB7300D6E69B /* DBFILESAlphaGetMetadataError.h */, - F292EAFF1FC0EB7300D6E69B /* DBFILESCommitInfo.h */, - F292EB001FC0EB7300D6E69B /* DBFILESCommitInfoWithProperties.h */, - F292EB011FC0EB7300D6E69B /* DBFILESCreateFolderArg.h */, - F292EB021FC0EB7300D6E69B /* DBFILESCreateFolderError.h */, - F292EB031FC0EB7300D6E69B /* DBFILESCreateFolderResult.h */, - F292EB041FC0EB7300D6E69B /* DBFILESDeleteArg.h */, - F292EB051FC0EB7300D6E69B /* DBFILESDeleteBatchArg.h */, - F292EB061FC0EB7300D6E69B /* DBFILESDeleteBatchError.h */, - F292EB071FC0EB7300D6E69B /* DBFILESDeleteBatchJobStatus.h */, - F292EB081FC0EB7300D6E69B /* DBFILESDeleteBatchLaunch.h */, - F292EB091FC0EB7300D6E69B /* DBFILESDeleteBatchResult.h */, - F292EB0A1FC0EB7300D6E69B /* DBFILESDeleteBatchResultData.h */, - F292EB0B1FC0EB7300D6E69B /* DBFILESDeleteBatchResultEntry.h */, - F292EB0C1FC0EB7300D6E69B /* DBFILESDeletedMetadata.h */, - F292EB0D1FC0EB7300D6E69B /* DBFILESDeleteError.h */, - F292EB0E1FC0EB7300D6E69B /* DBFILESDeleteResult.h */, - F292EB0F1FC0EB7300D6E69B /* DBFILESDimensions.h */, - F292EB101FC0EB7300D6E69B /* DBFILESDownloadArg.h */, - F292EB111FC0EB7300D6E69B /* DBFILESDownloadError.h */, - F292EB121FC0EB7300D6E69B /* DBFILESFileMetadata.h */, - F292EB131FC0EB7300D6E69B /* DBFILESFileOpsResult.h */, - F292EB141FC0EB7300D6E69B /* DBFILESFileSharingInfo.h */, - F292EB151FC0EB7300D6E69B /* DBFILESFolderMetadata.h */, - F292EB161FC0EB7300D6E69B /* DBFILESFolderSharingInfo.h */, - F292EB171FC0EB7300D6E69B /* DBFILESGetCopyReferenceArg.h */, - F292EB181FC0EB7300D6E69B /* DBFILESGetCopyReferenceError.h */, - F292EB191FC0EB7300D6E69B /* DBFILESGetCopyReferenceResult.h */, - F292EB1A1FC0EB7300D6E69B /* DBFILESGetMetadataArg.h */, - F292EB1B1FC0EB7300D6E69B /* DBFILESGetMetadataError.h */, - F292EB1C1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkArg.h */, - F292EB1D1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkError.h */, - F292EB1E1FC0EB7300D6E69B /* DBFILESGetTemporaryLinkResult.h */, - F292EB1F1FC0EB7300D6E69B /* DBFILESGetThumbnailBatchArg.h */, - F292EB201FC0EB7300D6E69B /* DBFILESGetThumbnailBatchError.h */, - F292EB211FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResult.h */, - F292EB221FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultData.h */, - F292EB231FC0EB7300D6E69B /* DBFILESGetThumbnailBatchResultEntry.h */, - F292EB241FC0EB7300D6E69B /* DBFILESGpsCoordinates.h */, - F292EB251FC0EB7300D6E69B /* DBFILESListFolderArg.h */, - F292EB261FC0EB7300D6E69B /* DBFILESListFolderContinueArg.h */, - F292EB271FC0EB7300D6E69B /* DBFILESListFolderContinueError.h */, - F292EB281FC0EB7300D6E69B /* DBFILESListFolderError.h */, - F292EB291FC0EB7300D6E69B /* DBFILESListFolderGetLatestCursorResult.h */, - F292EB2A1FC0EB7300D6E69B /* DBFILESListFolderLongpollArg.h */, - F292EB2B1FC0EB7300D6E69B /* DBFILESListFolderLongpollError.h */, - F292EB2C1FC0EB7300D6E69B /* DBFILESListFolderLongpollResult.h */, - F292EB2D1FC0EB7300D6E69B /* DBFILESListFolderResult.h */, - F292EB2E1FC0EB7300D6E69B /* DBFILESListRevisionsArg.h */, - F292EB2F1FC0EB7300D6E69B /* DBFILESListRevisionsError.h */, - F292EB301FC0EB7300D6E69B /* DBFILESListRevisionsMode.h */, - F292EB311FC0EB7300D6E69B /* DBFILESListRevisionsResult.h */, - F292EB321FC0EB7300D6E69B /* DBFILESLookupError.h */, - F292EB331FC0EB7300D6E69B /* DBFILESMediaInfo.h */, - F292EB341FC0EB7300D6E69B /* DBFILESMediaMetadata.h */, - F292EB351FC0EB7300D6E69B /* DBFILESMetadata.h */, - F292EB361FC0EB7300D6E69B /* DBFILESPhotoMetadata.h */, - F292EB371FC0EB7300D6E69B /* DBFILESPreviewArg.h */, - F292EB381FC0EB7300D6E69B /* DBFILESPreviewError.h */, - F292EB391FC0EB7300D6E69B /* DBFILESRelocationArg.h */, - F292EB3A1FC0EB7300D6E69B /* DBFILESRelocationBatchArg.h */, - F292EB3B1FC0EB7300D6E69B /* DBFILESRelocationBatchError.h */, - F292EB3C1FC0EB7300D6E69B /* DBFILESRelocationBatchJobStatus.h */, - F292EB3D1FC0EB7300D6E69B /* DBFILESRelocationBatchLaunch.h */, - F292EB3E1FC0EB7300D6E69B /* DBFILESRelocationBatchResult.h */, - F292EB3F1FC0EB7300D6E69B /* DBFILESRelocationBatchResultData.h */, - F292EB401FC0EB7300D6E69B /* DBFILESRelocationError.h */, - F292EB411FC0EB7300D6E69B /* DBFILESRelocationPath.h */, - F292EB421FC0EB7300D6E69B /* DBFILESRelocationResult.h */, - F292EB431FC0EB7300D6E69B /* DBFILESRestoreArg.h */, - F292EB441FC0EB7300D6E69B /* DBFILESRestoreError.h */, - F292EB451FC0EB7300D6E69B /* DBFILESSaveCopyReferenceArg.h */, - F292EB461FC0EB7300D6E69B /* DBFILESSaveCopyReferenceError.h */, - F292EB471FC0EB7300D6E69B /* DBFILESSaveCopyReferenceResult.h */, - F292EB481FC0EB7300D6E69B /* DBFILESSaveUrlArg.h */, - F292EB491FC0EB7300D6E69B /* DBFILESSaveUrlError.h */, - F292EB4A1FC0EB7300D6E69B /* DBFILESSaveUrlJobStatus.h */, - F292EB4B1FC0EB7300D6E69B /* DBFILESSaveUrlResult.h */, - F292EB4C1FC0EB7300D6E69B /* DBFILESSearchArg.h */, - F292EB4D1FC0EB7300D6E69B /* DBFILESSearchError.h */, - F292EB4E1FC0EB7300D6E69B /* DBFILESSearchMatch.h */, - F292EB4F1FC0EB7300D6E69B /* DBFILESSearchMatchType.h */, - F292EB501FC0EB7300D6E69B /* DBFILESSearchMode.h */, - F292EB511FC0EB7300D6E69B /* DBFILESSearchResult.h */, - F292EB521FC0EB7300D6E69B /* DBFILESSharedLink.h */, - F292EB531FC0EB7300D6E69B /* DBFILESSharingInfo.h */, - F292EB541FC0EB7300D6E69B /* DBFILESThumbnailArg.h */, - F292EB551FC0EB7300D6E69B /* DBFILESThumbnailError.h */, - F292EB561FC0EB7300D6E69B /* DBFILESThumbnailFormat.h */, - F292EB571FC0EB7300D6E69B /* DBFILESThumbnailSize.h */, - F292EB581FC0EB7300D6E69B /* DBFILESUploadError.h */, - F292EB591FC0EB7300D6E69B /* DBFILESUploadErrorWithProperties.h */, - F292EB5A1FC0EB7300D6E69B /* DBFILESUploadSessionAppendArg.h */, - F292EB5B1FC0EB7300D6E69B /* DBFILESUploadSessionCursor.h */, - F292EB5C1FC0EB7300D6E69B /* DBFILESUploadSessionFinishArg.h */, - F292EB5D1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchArg.h */, - F292EB5E1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h */, - F292EB5F1FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h */, - F292EB601FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResult.h */, - F292EB611FC0EB7300D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h */, - F292EB621FC0EB7300D6E69B /* DBFILESUploadSessionFinishError.h */, - F292EB631FC0EB7300D6E69B /* DBFILESUploadSessionLookupError.h */, - F292EB641FC0EB7300D6E69B /* DBFILESUploadSessionOffsetError.h */, - F292EB651FC0EB7300D6E69B /* DBFILESUploadSessionStartArg.h */, - F292EB661FC0EB7300D6E69B /* DBFILESUploadSessionStartResult.h */, - F292EB671FC0EB7300D6E69B /* DBFILESUploadWriteFailed.h */, - F292EB681FC0EB7300D6E69B /* DBFILESVideoMetadata.h */, - F292EB691FC0EB7300D6E69B /* DBFILESWriteConflictError.h */, - F292EB6A1FC0EB7300D6E69B /* DBFILESWriteError.h */, - F292EB6B1FC0EB7300D6E69B /* DBFILESWriteMode.h */, + F99E09572B7A733000D55EF8 /* DBSEENSTATEPlatformType.h */, ); path = Headers; sourceTree = ""; }; - F292EB6C1FC0EB7300D6E69B /* Paper */ = { + F99E09582B7A733000D55EF8 /* Auth */ = { isa = PBXGroup; children = ( - F292EB6D1FC0EB7300D6E69B /* DBPaperObjects.m */, - F292EB6E1FC0EB7300D6E69B /* Headers */, + F99E09592B7A733000D55EF8 /* Headers */, + F99E09642B7A733000D55EF8 /* DBAuthObjects.m */, ); - path = Paper; + path = Auth; sourceTree = ""; }; - F292EB6E1FC0EB7300D6E69B /* Headers */ = { + F99E09592B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EB6F1FC0EB7300D6E69B /* DBPAPERAddMember.h */, - F292EB701FC0EB7300D6E69B /* DBPAPERAddPaperDocUser.h */, - F292EB711FC0EB7300D6E69B /* DBPAPERAddPaperDocUserMemberResult.h */, - F292EB721FC0EB7300D6E69B /* DBPAPERAddPaperDocUserResult.h */, - F292EB731FC0EB7300D6E69B /* DBPAPERCursor.h */, - F292EB741FC0EB7300D6E69B /* DBPAPERDocLookupError.h */, - F292EB751FC0EB7300D6E69B /* DBPAPERDocSubscriptionLevel.h */, - F292EB761FC0EB7300D6E69B /* DBPAPERExportFormat.h */, - F292EB771FC0EB7300D6E69B /* DBPAPERFolder.h */, - F292EB781FC0EB7300D6E69B /* DBPAPERFoldersContainingPaperDoc.h */, - F292EB791FC0EB7300D6E69B /* DBPAPERFolderSharingPolicyType.h */, - F292EB7A1FC0EB7300D6E69B /* DBPAPERFolderSubscriptionLevel.h */, - F292EB7B1FC0EB7300D6E69B /* DBPAPERImportFormat.h */, - F292EB7C1FC0EB7300D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h */, - F292EB7D1FC0EB7300D6E69B /* DBPAPERListDocsCursorError.h */, - F292EB7E1FC0EB7300D6E69B /* DBPAPERListPaperDocsArgs.h */, - F292EB7F1FC0EB7300D6E69B /* DBPAPERListPaperDocsContinueArgs.h */, - F292EB801FC0EB7300D6E69B /* DBPAPERListPaperDocsFilterBy.h */, - F292EB811FC0EB7300D6E69B /* DBPAPERListPaperDocsResponse.h */, - F292EB821FC0EB7300D6E69B /* DBPAPERListPaperDocsSortBy.h */, - F292EB831FC0EB7300D6E69B /* DBPAPERListPaperDocsSortOrder.h */, - F292EB841FC0EB7300D6E69B /* DBPAPERListUsersCursorError.h */, - F292EB851FC0EB7300D6E69B /* DBPAPERListUsersOnFolderArgs.h */, - F292EB861FC0EB7300D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h */, - F292EB871FC0EB7300D6E69B /* DBPAPERListUsersOnFolderResponse.h */, - F292EB881FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocArgs.h */, - F292EB891FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h */, - F292EB8A1FC0EB7300D6E69B /* DBPAPERListUsersOnPaperDocResponse.h */, - F292EB8B1FC0EB7300D6E69B /* DBPAPERPaperApiBaseError.h */, - F292EB8C1FC0EB7300D6E69B /* DBPAPERPaperApiCursorError.h */, - F292EB8D1FC0EB7300D6E69B /* DBPAPERPaperDocCreateArgs.h */, - F292EB8E1FC0EB7300D6E69B /* DBPAPERPaperDocCreateError.h */, - F292EB8F1FC0EB7300D6E69B /* DBPAPERPaperDocCreateUpdateResult.h */, - F292EB901FC0EB7300D6E69B /* DBPAPERPaperDocExport.h */, - F292EB911FC0EB7300D6E69B /* DBPAPERPaperDocExportResult.h */, - F292EB921FC0EB7300D6E69B /* DBPAPERPaperDocPermissionLevel.h */, - F292EB931FC0EB7300D6E69B /* DBPAPERPaperDocSharingPolicy.h */, - F292EB941FC0EB7300D6E69B /* DBPAPERPaperDocUpdateArgs.h */, - F292EB951FC0EB7300D6E69B /* DBPAPERPaperDocUpdateError.h */, - F292EB961FC0EB7300D6E69B /* DBPAPERPaperDocUpdatePolicy.h */, - F292EB971FC0EB7300D6E69B /* DBPAPERRefPaperDoc.h */, - F292EB981FC0EB7300D6E69B /* DBPAPERRemovePaperDocUser.h */, - F292EB991FC0EB7300D6E69B /* DBPAPERSharingPolicy.h */, - F292EB9A1FC0EB7300D6E69B /* DBPAPERSharingPublicPolicyType.h */, - F292EB9B1FC0EB7300D6E69B /* DBPAPERSharingTeamPolicyType.h */, - F292EB9C1FC0EB7300D6E69B /* DBPAPERUserInfoWithPermissionLevel.h */, - F292EB9D1FC0EB7300D6E69B /* DBPAPERUserOnPaperDocFilter.h */, + F99E095A2B7A733000D55EF8 /* DBAUTHTokenScopeError.h */, + F99E095B2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Error.h */, + F99E095C2B7A733000D55EF8 /* DBAUTHAuthError.h */, + F99E095D2B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Arg.h */, + F99E095E2B7A733000D55EF8 /* DBAUTHAccessError.h */, + F99E095F2B7A733000D55EF8 /* DBAUTHRateLimitError.h */, + F99E09602B7A733000D55EF8 /* DBAUTHInvalidAccountTypeError.h */, + F99E09612B7A733000D55EF8 /* DBAUTHPaperAccessError.h */, + F99E09622B7A733000D55EF8 /* DBAUTHTokenFromOAuth1Result.h */, + F99E09632B7A733000D55EF8 /* DBAUTHRateLimitReason.h */, ); path = Headers; sourceTree = ""; }; - F292EB9E1FC0EB7300D6E69B /* Sharing */ = { + F99E09652B7A733000D55EF8 /* FileRequests */ = { isa = PBXGroup; children = ( - F292EB9F1FC0EB7300D6E69B /* DBSharingObjects.m */, - F292EBA01FC0EB7300D6E69B /* Headers */, + F99E09662B7A733000D55EF8 /* DBFileRequestsObjects.m */, + F99E09672B7A733000D55EF8 /* Headers */, ); - path = Sharing; + path = FileRequests; sourceTree = ""; }; - F292EBA01FC0EB7300D6E69B /* Headers */ = { + F99E09672B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EBA11FC0EB7300D6E69B /* DBSHARINGAccessLevel.h */, - F292EBA21FC0EB7300D6E69B /* DBSHARINGAclUpdatePolicy.h */, - F292EBA31FC0EB7300D6E69B /* DBSHARINGAddFileMemberArgs.h */, - F292EBA41FC0EB7300D6E69B /* DBSHARINGAddFileMemberError.h */, - F292EBA51FC0EB7300D6E69B /* DBSHARINGAddFolderMemberArg.h */, - F292EBA61FC0EB7300D6E69B /* DBSHARINGAddFolderMemberError.h */, - F292EBA71FC0EB7300D6E69B /* DBSHARINGAddMember.h */, - F292EBA81FC0EB7300D6E69B /* DBSHARINGAddMemberSelectorError.h */, - F292EBA91FC0EB7300D6E69B /* DBSHARINGAudienceExceptionContentInfo.h */, - F292EBAA1FC0EB7300D6E69B /* DBSHARINGAudienceExceptions.h */, - F292EBAB1FC0EB7300D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h */, - F292EBAC1FC0EB7300D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h */, - F292EBAD1FC0EB7300D6E69B /* DBSHARINGCollectionLinkMetadata.h */, - F292EBAE1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkArg.h */, - F292EBAF1FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkError.h */, - F292EBB01FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h */, - F292EBB11FC0EB7300D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h */, - F292EBB21FC0EB7300D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h */, - F292EBB31FC0EB7300D6E69B /* DBSHARINGFileAction.h */, - F292EBB41FC0EB7300D6E69B /* DBSHARINGFileErrorResult.h */, - F292EBB51FC0EB7300D6E69B /* DBSHARINGFileLinkMetadata.h */, - F292EBB61FC0EB7300D6E69B /* DBSHARINGFileMemberActionError.h */, - F292EBB71FC0EB7300D6E69B /* DBSHARINGFileMemberActionIndividualResult.h */, - F292EBB81FC0EB7300D6E69B /* DBSHARINGFileMemberActionResult.h */, - F292EBB91FC0EB7300D6E69B /* DBSHARINGFileMemberRemoveActionResult.h */, - F292EBBA1FC0EB7300D6E69B /* DBSHARINGFilePermission.h */, - F292EBBB1FC0EB7300D6E69B /* DBSHARINGFolderAction.h */, - F292EBBC1FC0EB7300D6E69B /* DBSHARINGFolderLinkMetadata.h */, - F292EBBD1FC0EB7300D6E69B /* DBSHARINGFolderPermission.h */, - F292EBBE1FC0EB7300D6E69B /* DBSHARINGFolderPolicy.h */, - F292EBBF1FC0EB7300D6E69B /* DBSHARINGGetFileMetadataArg.h */, - F292EBC01FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchArg.h */, - F292EBC11FC0EB7300D6E69B /* DBSHARINGGetFileMetadataBatchResult.h */, - F292EBC21FC0EB7300D6E69B /* DBSHARINGGetFileMetadataError.h */, - F292EBC31FC0EB7300D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h */, - F292EBC41FC0EB7300D6E69B /* DBSHARINGGetMetadataArgs.h */, - F292EBC51FC0EB7300D6E69B /* DBSHARINGGetSharedLinkFileError.h */, - F292EBC61FC0EB7300D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h */, - F292EBC71FC0EB7300D6E69B /* DBSHARINGGetSharedLinksArg.h */, - F292EBC81FC0EB7300D6E69B /* DBSHARINGGetSharedLinksError.h */, - F292EBC91FC0EB7300D6E69B /* DBSHARINGGetSharedLinksResult.h */, - F292EBCA1FC0EB7300D6E69B /* DBSHARINGGroupInfo.h */, - F292EBCB1FC0EB7300D6E69B /* DBSHARINGGroupMembershipInfo.h */, - F292EBCC1FC0EB7300D6E69B /* DBSHARINGInsufficientPlan.h */, - F292EBCD1FC0EB7300D6E69B /* DBSHARINGInsufficientQuotaAmounts.h */, - F292EBCE1FC0EB7300D6E69B /* DBSHARINGInviteeInfo.h */, - F292EBCF1FC0EB7300D6E69B /* DBSHARINGInviteeMembershipInfo.h */, - F292EBD01FC0EB7300D6E69B /* DBSHARINGJobError.h */, - F292EBD11FC0EB7300D6E69B /* DBSHARINGJobStatus.h */, - F292EBD21FC0EB7300D6E69B /* DBSHARINGLinkAction.h */, - F292EBD31FC0EB7300D6E69B /* DBSHARINGLinkAudience.h */, - F292EBD41FC0EB7300D6E69B /* DBSHARINGLinkExpiry.h */, - F292EBD51FC0EB7300D6E69B /* DBSHARINGLinkMetadata.h */, - F292EBD61FC0EB7300D6E69B /* DBSHARINGLinkPassword.h */, - F292EBD71FC0EB7300D6E69B /* DBSHARINGLinkPermission.h */, - F292EBD81FC0EB7300D6E69B /* DBSHARINGLinkPermissions.h */, - F292EBD91FC0EB7300D6E69B /* DBSHARINGLinkSettings.h */, - F292EBDA1FC0EB7300D6E69B /* DBSHARINGListFileMembersArg.h */, - F292EBDB1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchArg.h */, - F292EBDC1FC0EB7300D6E69B /* DBSHARINGListFileMembersBatchResult.h */, - F292EBDD1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueArg.h */, - F292EBDE1FC0EB7300D6E69B /* DBSHARINGListFileMembersContinueError.h */, - F292EBDF1FC0EB7300D6E69B /* DBSHARINGListFileMembersCountResult.h */, - F292EBE01FC0EB7300D6E69B /* DBSHARINGListFileMembersError.h */, - F292EBE11FC0EB7300D6E69B /* DBSHARINGListFileMembersIndividualResult.h */, - F292EBE21FC0EB7300D6E69B /* DBSHARINGListFilesArg.h */, - F292EBE31FC0EB7300D6E69B /* DBSHARINGListFilesContinueArg.h */, - F292EBE41FC0EB7300D6E69B /* DBSHARINGListFilesContinueError.h */, - F292EBE51FC0EB7300D6E69B /* DBSHARINGListFilesResult.h */, - F292EBE61FC0EB7300D6E69B /* DBSHARINGListFolderMembersArgs.h */, - F292EBE71FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueArg.h */, - F292EBE81FC0EB7300D6E69B /* DBSHARINGListFolderMembersContinueError.h */, - F292EBE91FC0EB7300D6E69B /* DBSHARINGListFolderMembersCursorArg.h */, - F292EBEA1FC0EB7300D6E69B /* DBSHARINGListFoldersArgs.h */, - F292EBEB1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueArg.h */, - F292EBEC1FC0EB7300D6E69B /* DBSHARINGListFoldersContinueError.h */, - F292EBED1FC0EB7300D6E69B /* DBSHARINGListFoldersResult.h */, - F292EBEE1FC0EB7300D6E69B /* DBSHARINGListSharedLinksArg.h */, - F292EBEF1FC0EB7300D6E69B /* DBSHARINGListSharedLinksError.h */, - F292EBF01FC0EB7300D6E69B /* DBSHARINGListSharedLinksResult.h */, - F292EBF11FC0EB7300D6E69B /* DBSHARINGMemberAccessLevelResult.h */, - F292EBF21FC0EB7300D6E69B /* DBSHARINGMemberAction.h */, - F292EBF31FC0EB7300D6E69B /* DBSHARINGMemberPermission.h */, - F292EBF41FC0EB7300D6E69B /* DBSHARINGMemberPolicy.h */, - F292EBF51FC0EB7300D6E69B /* DBSHARINGMemberSelector.h */, - F292EBF61FC0EB7300D6E69B /* DBSHARINGMembershipInfo.h */, - F292EBF71FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h */, - F292EBF81FC0EB7300D6E69B /* DBSHARINGModifySharedLinkSettingsError.h */, - F292EBF91FC0EB7300D6E69B /* DBSHARINGMountFolderArg.h */, - F292EBFA1FC0EB7300D6E69B /* DBSHARINGMountFolderError.h */, - F292EBFB1FC0EB7300D6E69B /* DBSHARINGParentFolderAccessInfo.h */, - F292EBFC1FC0EB7300D6E69B /* DBSHARINGPathLinkMetadata.h */, - F292EBFD1FC0EB7300D6E69B /* DBSHARINGPendingUploadMode.h */, - F292EBFE1FC0EB7300D6E69B /* DBSHARINGPermissionDeniedReason.h */, - F292EBFF1FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipArg.h */, - F292EC001FC0EB7300D6E69B /* DBSHARINGRelinquishFileMembershipError.h */, - F292EC011FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h */, - F292EC021FC0EB7300D6E69B /* DBSHARINGRelinquishFolderMembershipError.h */, - F292EC031FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberArg.h */, - F292EC041FC0EB7300D6E69B /* DBSHARINGRemoveFileMemberError.h */, - F292EC051FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberArg.h */, - F292EC061FC0EB7300D6E69B /* DBSHARINGRemoveFolderMemberError.h */, - F292EC071FC0EB7300D6E69B /* DBSHARINGRemoveMemberJobStatus.h */, - F292EC081FC0EB7300D6E69B /* DBSHARINGRequestedVisibility.h */, - F292EC091FC0EB7300D6E69B /* DBSHARINGResolvedVisibility.h */, - F292EC0A1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkArg.h */, - F292EC0B1FC0EB7300D6E69B /* DBSHARINGRevokeSharedLinkError.h */, - F292EC0C1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadata.h */, - F292EC0D1FC0EB7300D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h */, - F292EC0E1FC0EB7300D6E69B /* DBSHARINGSharedFileMembers.h */, - F292EC0F1FC0EB7300D6E69B /* DBSHARINGSharedFileMetadata.h */, - F292EC101FC0EB7300D6E69B /* DBSHARINGSharedFolderAccessError.h */, - F292EC111FC0EB7300D6E69B /* DBSHARINGSharedFolderMemberError.h */, - F292EC121FC0EB7300D6E69B /* DBSHARINGSharedFolderMembers.h */, - F292EC131FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadata.h */, - F292EC141FC0EB7300D6E69B /* DBSHARINGSharedFolderMetadataBase.h */, - F292EC151FC0EB7300D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h */, - F292EC161FC0EB7300D6E69B /* DBSHARINGSharedLinkError.h */, - F292EC171FC0EB7300D6E69B /* DBSHARINGSharedLinkMetadata.h */, - F292EC181FC0EB7300D6E69B /* DBSHARINGSharedLinkPolicy.h */, - F292EC191FC0EB7300D6E69B /* DBSHARINGSharedLinkSettings.h */, - F292EC1A1FC0EB7300D6E69B /* DBSHARINGSharedLinkSettingsError.h */, - F292EC1B1FC0EB7300D6E69B /* DBSHARINGShareFolderArg.h */, - F292EC1C1FC0EB7300D6E69B /* DBSHARINGShareFolderArgBase.h */, - F292EC1D1FC0EB7300D6E69B /* DBSHARINGShareFolderError.h */, - F292EC1E1FC0EB7300D6E69B /* DBSHARINGShareFolderErrorBase.h */, - F292EC1F1FC0EB7300D6E69B /* DBSHARINGShareFolderJobStatus.h */, - F292EC201FC0EB7300D6E69B /* DBSHARINGShareFolderLaunch.h */, - F292EC211FC0EB7300D6E69B /* DBSHARINGSharePathError.h */, - F292EC221FC0EB7300D6E69B /* DBSHARINGSharingFileAccessError.h */, - F292EC231FC0EB7300D6E69B /* DBSHARINGSharingUserError.h */, - F292EC241FC0EB7300D6E69B /* DBSHARINGTeamMemberInfo.h */, - F292EC251FC0EB7300D6E69B /* DBSHARINGTransferFolderArg.h */, - F292EC261FC0EB7300D6E69B /* DBSHARINGTransferFolderError.h */, - F292EC271FC0EB7300D6E69B /* DBSHARINGUnmountFolderArg.h */, - F292EC281FC0EB7300D6E69B /* DBSHARINGUnmountFolderError.h */, - F292EC291FC0EB7300D6E69B /* DBSHARINGUnshareFileArg.h */, - F292EC2A1FC0EB7300D6E69B /* DBSHARINGUnshareFileError.h */, - F292EC2B1FC0EB7300D6E69B /* DBSHARINGUnshareFolderArg.h */, - F292EC2C1FC0EB7300D6E69B /* DBSHARINGUnshareFolderError.h */, - F292EC2D1FC0EB7300D6E69B /* DBSHARINGUpdateFileMemberArgs.h */, - F292EC2E1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberArg.h */, - F292EC2F1FC0EB7300D6E69B /* DBSHARINGUpdateFolderMemberError.h */, - F292EC301FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyArg.h */, - F292EC311FC0EB7300D6E69B /* DBSHARINGUpdateFolderPolicyError.h */, - F292EC321FC0EB7300D6E69B /* DBSHARINGUserFileMembershipInfo.h */, - F292EC331FC0EB7300D6E69B /* DBSHARINGUserInfo.h */, - F292EC341FC0EB7300D6E69B /* DBSHARINGUserMembershipInfo.h */, - F292EC351FC0EB7300D6E69B /* DBSHARINGViewerInfoPolicy.h */, - F292EC361FC0EB7300D6E69B /* DBSHARINGVisibility.h */, + F99E09682B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h */, + F99E09692B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h */, + F99E096A2B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h */, + F99E096B2B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h */, + F99E096C2B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h */, + F99E096D2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h */, + F99E096E2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h */, + F99E096F2B7A733000D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h */, + F99E09702B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h */, + F99E09712B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h */, + F99E09722B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h */, + F99E09732B7A733000D55EF8 /* DBFILEREQUESTSFileRequest.h */, + F99E09742B7A733000D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h */, + F99E09752B7A733000D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h */, + F99E09762B7A733000D55EF8 /* DBFILEREQUESTSFileRequestError.h */, + F99E09772B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h */, + F99E09782B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h */, + F99E09792B7A733000D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h */, + F99E097A2B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsError.h */, + F99E097B2B7A733000D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h */, + F99E097C2B7A733000D55EF8 /* DBFILEREQUESTSGracePeriod.h */, + F99E097D2B7A733000D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h */, + F99E097E2B7A733000D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h */, + F99E097F2B7A733000D55EF8 /* DBFILEREQUESTSGetFileRequestError.h */, + F99E09802B7A733000D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h */, ); path = Headers; sourceTree = ""; }; - F292EC371FC0EB7300D6E69B /* Team */ = { + F99E09812B7A733000D55EF8 /* Contacts */ = { isa = PBXGroup; children = ( - F292EC381FC0EB7300D6E69B /* DBTeamObjects.m */, - F292EC391FC0EB7300D6E69B /* Headers */, + F99E09822B7A733000D55EF8 /* Headers */, + F99E09852B7A733000D55EF8 /* DBContactsObjects.m */, ); - path = Team; + path = Contacts; sourceTree = ""; }; - F292EC391FC0EB7300D6E69B /* Headers */ = { + F99E09822B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EC3A1FC0EB7300D6E69B /* DBTEAMActiveWebSession.h */, - F292EC3B1FC0EB7300D6E69B /* DBTEAMAdminTier.h */, - F292EC3C1FC0EB7300D6E69B /* DBTEAMApiApp.h */, - F292EC3D1FC0EB7300D6E69B /* DBTEAMBaseDfbReport.h */, - F292EC3E1FC0EB7300D6E69B /* DBTEAMBaseTeamFolderError.h */, - F292EC3F1FC0EB7300D6E69B /* DBTEAMCustomQuotaError.h */, - F292EC401FC0EB7300D6E69B /* DBTEAMCustomQuotaResult.h */, - F292EC411FC0EB7300D6E69B /* DBTEAMCustomQuotaUsersArg.h */, - F292EC421FC0EB7300D6E69B /* DBTEAMDateRange.h */, - F292EC431FC0EB7300D6E69B /* DBTEAMDateRangeError.h */, - F292EC441FC0EB7300D6E69B /* DBTEAMDesktopClientSession.h */, - F292EC451FC0EB7300D6E69B /* DBTEAMDesktopPlatform.h */, - F292EC461FC0EB7300D6E69B /* DBTEAMDevicesActive.h */, - F292EC471FC0EB7300D6E69B /* DBTEAMDeviceSession.h */, - F292EC481FC0EB7300D6E69B /* DBTEAMDeviceSessionArg.h */, - F292EC491FC0EB7300D6E69B /* DBTEAMExcludedUsersListArg.h */, - F292EC4A1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueArg.h */, - F292EC4B1FC0EB7300D6E69B /* DBTEAMExcludedUsersListContinueError.h */, - F292EC4C1FC0EB7300D6E69B /* DBTEAMExcludedUsersListError.h */, - F292EC4D1FC0EB7300D6E69B /* DBTEAMExcludedUsersListResult.h */, - F292EC4E1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateArg.h */, - F292EC4F1FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateError.h */, - F292EC501FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateResult.h */, - F292EC511FC0EB7300D6E69B /* DBTEAMExcludedUsersUpdateStatus.h */, - F292EC521FC0EB7300D6E69B /* DBTEAMFeature.h */, - F292EC531FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h */, - F292EC541FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchError.h */, - F292EC551FC0EB7300D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h */, - F292EC561FC0EB7300D6E69B /* DBTEAMFeatureValue.h */, - F292EC571FC0EB7300D6E69B /* DBTEAMGetActivityReport.h */, - F292EC581FC0EB7300D6E69B /* DBTEAMGetDevicesReport.h */, - F292EC591FC0EB7300D6E69B /* DBTEAMGetMembershipReport.h */, - F292EC5A1FC0EB7300D6E69B /* DBTEAMGetStorageReport.h */, - F292EC5B1FC0EB7300D6E69B /* DBTEAMGroupAccessType.h */, - F292EC5C1FC0EB7300D6E69B /* DBTEAMGroupCreateArg.h */, - F292EC5D1FC0EB7300D6E69B /* DBTEAMGroupCreateError.h */, - F292EC5E1FC0EB7300D6E69B /* DBTEAMGroupDeleteError.h */, - F292EC5F1FC0EB7300D6E69B /* DBTEAMGroupFullInfo.h */, - F292EC601FC0EB7300D6E69B /* DBTEAMGroupMemberInfo.h */, - F292EC611FC0EB7300D6E69B /* DBTEAMGroupMembersAddArg.h */, - F292EC621FC0EB7300D6E69B /* DBTEAMGroupMembersAddError.h */, - F292EC631FC0EB7300D6E69B /* DBTEAMGroupMembersChangeResult.h */, - F292EC641FC0EB7300D6E69B /* DBTEAMGroupMemberSelector.h */, - F292EC651FC0EB7300D6E69B /* DBTEAMGroupMemberSelectorError.h */, - F292EC661FC0EB7300D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h */, - F292EC671FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveArg.h */, - F292EC681FC0EB7300D6E69B /* DBTEAMGroupMembersRemoveError.h */, - F292EC691FC0EB7300D6E69B /* DBTEAMGroupMembersSelector.h */, - F292EC6A1FC0EB7300D6E69B /* DBTEAMGroupMembersSelectorError.h */, - F292EC6B1FC0EB7300D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h */, - F292EC6C1FC0EB7300D6E69B /* DBTEAMGroupSelector.h */, - F292EC6D1FC0EB7300D6E69B /* DBTEAMGroupSelectorError.h */, - F292EC6E1FC0EB7300D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h */, - F292EC6F1FC0EB7300D6E69B /* DBTEAMGroupsGetInfoError.h */, - F292EC701FC0EB7300D6E69B /* DBTEAMGroupsGetInfoItem.h */, - F292EC711FC0EB7300D6E69B /* DBTEAMGroupsListArg.h */, - F292EC721FC0EB7300D6E69B /* DBTEAMGroupsListContinueArg.h */, - F292EC731FC0EB7300D6E69B /* DBTEAMGroupsListContinueError.h */, - F292EC741FC0EB7300D6E69B /* DBTEAMGroupsListResult.h */, - F292EC751FC0EB7300D6E69B /* DBTEAMGroupsMembersListArg.h */, - F292EC761FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueArg.h */, - F292EC771FC0EB7300D6E69B /* DBTEAMGroupsMembersListContinueError.h */, - F292EC781FC0EB7300D6E69B /* DBTEAMGroupsMembersListResult.h */, - F292EC791FC0EB7300D6E69B /* DBTEAMGroupsPollError.h */, - F292EC7A1FC0EB7300D6E69B /* DBTEAMGroupsSelector.h */, - F292EC7B1FC0EB7300D6E69B /* DBTEAMGroupUpdateArgs.h */, - F292EC7C1FC0EB7300D6E69B /* DBTEAMGroupUpdateError.h */, - F292EC7D1FC0EB7300D6E69B /* DBTEAMHasTeamFileEventsValue.h */, - F292EC7E1FC0EB7300D6E69B /* DBTEAMHasTeamSharedDropboxValue.h */, - F292EC7F1FC0EB7300D6E69B /* DBTEAMIncludeMembersArg.h */, - F292EC801FC0EB7300D6E69B /* DBTEAMListMemberAppsArg.h */, - F292EC811FC0EB7300D6E69B /* DBTEAMListMemberAppsError.h */, - F292EC821FC0EB7300D6E69B /* DBTEAMListMemberAppsResult.h */, - F292EC831FC0EB7300D6E69B /* DBTEAMListMemberDevicesArg.h */, - F292EC841FC0EB7300D6E69B /* DBTEAMListMemberDevicesError.h */, - F292EC851FC0EB7300D6E69B /* DBTEAMListMemberDevicesResult.h */, - F292EC861FC0EB7300D6E69B /* DBTEAMListMembersAppsArg.h */, - F292EC871FC0EB7300D6E69B /* DBTEAMListMembersAppsError.h */, - F292EC881FC0EB7300D6E69B /* DBTEAMListMembersAppsResult.h */, - F292EC891FC0EB7300D6E69B /* DBTEAMListMembersDevicesArg.h */, - F292EC8A1FC0EB7300D6E69B /* DBTEAMListMembersDevicesError.h */, - F292EC8B1FC0EB7300D6E69B /* DBTEAMListMembersDevicesResult.h */, - F292EC8C1FC0EB7300D6E69B /* DBTEAMListTeamAppsArg.h */, - F292EC8D1FC0EB7300D6E69B /* DBTEAMListTeamAppsError.h */, - F292EC8E1FC0EB7300D6E69B /* DBTEAMListTeamAppsResult.h */, - F292EC8F1FC0EB7300D6E69B /* DBTEAMListTeamDevicesArg.h */, - F292EC901FC0EB7300D6E69B /* DBTEAMListTeamDevicesError.h */, - F292EC911FC0EB7300D6E69B /* DBTEAMListTeamDevicesResult.h */, - F292EC921FC0EB7300D6E69B /* DBTEAMMemberAccess.h */, - F292EC931FC0EB7300D6E69B /* DBTEAMMemberAddArg.h */, - F292EC941FC0EB7300D6E69B /* DBTEAMMemberAddResult.h */, - F292EC951FC0EB7300D6E69B /* DBTEAMMemberDevices.h */, - F292EC961FC0EB7300D6E69B /* DBTEAMMemberLinkedApps.h */, - F292EC971FC0EB7300D6E69B /* DBTEAMMemberProfile.h */, - F292EC981FC0EB7300D6E69B /* DBTEAMMembersAddArg.h */, - F292EC991FC0EB7300D6E69B /* DBTEAMMembersAddJobStatus.h */, - F292EC9A1FC0EB7300D6E69B /* DBTEAMMembersAddLaunch.h */, - F292EC9B1FC0EB7300D6E69B /* DBTEAMMembersDeactivateArg.h */, - F292EC9C1FC0EB7300D6E69B /* DBTEAMMembersDeactivateError.h */, - F292EC9D1FC0EB7300D6E69B /* DBTEAMMemberSelectorError.h */, - F292EC9E1FC0EB7300D6E69B /* DBTEAMMembersGetInfoArgs.h */, - F292EC9F1FC0EB7300D6E69B /* DBTEAMMembersGetInfoError.h */, - F292ECA01FC0EB7300D6E69B /* DBTEAMMembersGetInfoItem.h */, - F292ECA11FC0EB7300D6E69B /* DBTEAMMembersListArg.h */, - F292ECA21FC0EB7300D6E69B /* DBTEAMMembersListContinueArg.h */, - F292ECA31FC0EB7300D6E69B /* DBTEAMMembersListContinueError.h */, - F292ECA41FC0EB7300D6E69B /* DBTEAMMembersListError.h */, - F292ECA51FC0EB7300D6E69B /* DBTEAMMembersListResult.h */, - F292ECA61FC0EB7300D6E69B /* DBTEAMMembersRecoverArg.h */, - F292ECA71FC0EB7300D6E69B /* DBTEAMMembersRecoverError.h */, - F292ECA81FC0EB7300D6E69B /* DBTEAMMembersRemoveArg.h */, - F292ECA91FC0EB7300D6E69B /* DBTEAMMembersRemoveError.h */, - F292ECAA1FC0EB7300D6E69B /* DBTEAMMembersSendWelcomeError.h */, - F292ECAB1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsArg.h */, - F292ECAC1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsError.h */, - F292ECAD1FC0EB7300D6E69B /* DBTEAMMembersSetPermissionsResult.h */, - F292ECAE1FC0EB7300D6E69B /* DBTEAMMembersSetProfileArg.h */, - F292ECAF1FC0EB7300D6E69B /* DBTEAMMembersSetProfileError.h */, - F292ECB01FC0EB7300D6E69B /* DBTEAMMembersSuspendError.h */, - F292ECB11FC0EB7300D6E69B /* DBTEAMMembersUnsuspendArg.h */, - F292ECB21FC0EB7300D6E69B /* DBTEAMMembersUnsuspendError.h */, - F292ECB31FC0EB7300D6E69B /* DBTEAMMobileClientPlatform.h */, - F292ECB41FC0EB7300D6E69B /* DBTEAMMobileClientSession.h */, - F292ECB51FC0EB7300D6E69B /* DBTEAMNamespaceMetadata.h */, - F292ECB61FC0EB7300D6E69B /* DBTEAMNamespaceType.h */, - F292ECB71FC0EB7300D6E69B /* DBTEAMRemoveCustomQuotaResult.h */, - F292ECB81FC0EB7300D6E69B /* DBTEAMRemovedStatus.h */, - F292ECB91FC0EB7300D6E69B /* DBTEAMRevokeDesktopClientArg.h */, - F292ECBA1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionArg.h */, - F292ECBB1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h */, - F292ECBC1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h */, - F292ECBD1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h */, - F292ECBE1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionError.h */, - F292ECBF1FC0EB7300D6E69B /* DBTEAMRevokeDeviceSessionStatus.h */, - F292ECC01FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppArg.h */, - F292ECC11FC0EB7300D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h */, - F292ECC21FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchError.h */, - F292ECC31FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h */, - F292ECC41FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppError.h */, - F292ECC51FC0EB7300D6E69B /* DBTEAMRevokeLinkedAppStatus.h */, - F292ECC61FC0EB7300D6E69B /* DBTEAMSetCustomQuotaArg.h */, - F292ECC71FC0EB7300D6E69B /* DBTEAMSetCustomQuotaError.h */, - F292ECC81FC0EB7300D6E69B /* DBTEAMStorageBucket.h */, - F292ECC91FC0EB7300D6E69B /* DBTEAMTeamFolderAccessError.h */, - F292ECCA1FC0EB7300D6E69B /* DBTEAMTeamFolderActivateError.h */, - F292ECCB1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveArg.h */, - F292ECCC1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveError.h */, - F292ECCD1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h */, - F292ECCE1FC0EB7300D6E69B /* DBTEAMTeamFolderArchiveLaunch.h */, - F292ECCF1FC0EB7300D6E69B /* DBTEAMTeamFolderCreateArg.h */, - F292ECD01FC0EB7300D6E69B /* DBTEAMTeamFolderCreateError.h */, - F292ECD11FC0EB7300D6E69B /* DBTEAMTeamFolderGetInfoItem.h */, - F292ECD21FC0EB7300D6E69B /* DBTEAMTeamFolderIdArg.h */, - F292ECD31FC0EB7300D6E69B /* DBTEAMTeamFolderIdListArg.h */, - F292ECD41FC0EB7300D6E69B /* DBTEAMTeamFolderInvalidStatusError.h */, - F292ECD51FC0EB7300D6E69B /* DBTEAMTeamFolderListArg.h */, - F292ECD61FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueArg.h */, - F292ECD71FC0EB7300D6E69B /* DBTEAMTeamFolderListContinueError.h */, - F292ECD81FC0EB7300D6E69B /* DBTEAMTeamFolderListError.h */, - F292ECD91FC0EB7300D6E69B /* DBTEAMTeamFolderListResult.h */, - F292ECDA1FC0EB7300D6E69B /* DBTEAMTeamFolderMetadata.h */, - F292ECDB1FC0EB7300D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h */, - F292ECDC1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameArg.h */, - F292ECDD1FC0EB7300D6E69B /* DBTEAMTeamFolderRenameError.h */, - F292ECDE1FC0EB7300D6E69B /* DBTEAMTeamFolderStatus.h */, - F292ECDF1FC0EB7300D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h */, - F292ECE01FC0EB7300D6E69B /* DBTEAMTeamGetInfoResult.h */, - F292ECE11FC0EB7300D6E69B /* DBTEAMTeamMemberInfo.h */, - F292ECE21FC0EB7300D6E69B /* DBTEAMTeamMemberProfile.h */, - F292ECE31FC0EB7300D6E69B /* DBTEAMTeamMembershipType.h */, - F292ECE41FC0EB7300D6E69B /* DBTEAMTeamMemberStatus.h */, - F292ECE51FC0EB7300D6E69B /* DBTEAMTeamNamespacesListArg.h */, - F292ECE61FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueArg.h */, - F292ECE71FC0EB7300D6E69B /* DBTEAMTeamNamespacesListContinueError.h */, - F292ECE81FC0EB7300D6E69B /* DBTEAMTeamNamespacesListResult.h */, - F292ECE91FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h */, - F292ECEA1FC0EB7300D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h */, - F292ECEB1FC0EB7300D6E69B /* DBTEAMUploadApiRateLimitValue.h */, - F292ECEC1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaArg.h */, - F292ECED1FC0EB7300D6E69B /* DBTEAMUserCustomQuotaResult.h */, - F292ECEE1FC0EB7300D6E69B /* DBTEAMUserSelectorArg.h */, - F292ECEF1FC0EB7300D6E69B /* DBTEAMUserSelectorError.h */, - F292ECF01FC0EB7300D6E69B /* DBTEAMUsersSelectorArg.h */, + F99E09832B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsArg.h */, + F99E09842B7A733000D55EF8 /* DBCONTACTSDeleteManualContactsError.h */, ); path = Headers; sourceTree = ""; }; - F292ECF11FC0EB7300D6E69B /* TeamCommon */ = { + F99E09862B7A733000D55EF8 /* Async */ = { isa = PBXGroup; children = ( - F292ECF21FC0EB7300D6E69B /* DBTeamCommonObjects.m */, - F292ECF31FC0EB7300D6E69B /* Headers */, + F99E09872B7A733000D55EF8 /* DBAsyncObjects.m */, + F99E09882B7A733000D55EF8 /* Headers */, ); - path = TeamCommon; + path = Async; sourceTree = ""; }; - F292ECF31FC0EB7300D6E69B /* Headers */ = { + F99E09882B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292ECF41FC0EB7300D6E69B /* DBTEAMCOMMONGroupManagementType.h */, - F292ECF51FC0EB7300D6E69B /* DBTEAMCOMMONGroupSummary.h */, - F292ECF61FC0EB7300D6E69B /* DBTEAMCOMMONGroupType.h */, - F292ECF71FC0EB7300D6E69B /* DBTEAMCOMMONTimeRange.h */, + F99E09892B7A733000D55EF8 /* DBASYNCPollEmptyResult.h */, + F99E098A2B7A733000D55EF8 /* DBASYNCLaunchResultBase.h */, + F99E098B2B7A733000D55EF8 /* DBASYNCLaunchEmptyResult.h */, + F99E098C2B7A733000D55EF8 /* DBASYNCPollResultBase.h */, + F99E098D2B7A733000D55EF8 /* DBASYNCPollArg.h */, + F99E098E2B7A733000D55EF8 /* DBASYNCPollError.h */, ); path = Headers; sourceTree = ""; }; - F292ECF81FC0EB7300D6E69B /* TeamLog */ = { + F99E098F2B7A733000D55EF8 /* TeamCommon */ = { isa = PBXGroup; children = ( - F292ECF91FC0EB7300D6E69B /* DBTeamLogObjects.m */, - F292ECFA1FC0EB7300D6E69B /* Headers */, + F99E09902B7A733000D55EF8 /* Headers */, + F99E09962B7A733000D55EF8 /* DBTeamCommonObjects.m */, ); - path = TeamLog; + path = TeamCommon; sourceTree = ""; }; - F292ECFA1FC0EB7300D6E69B /* Headers */ = { + F99E09902B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292ECFB1FC0EB7300D6E69B /* DBTEAMLOGAccessMethodLogInfo.h */, - F292ECFC1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureAvailability.h */, - F292ECFD1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */, - F292ECFE1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */, - F292ECFF1FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */, - F292ED001FC0EB7300D6E69B /* DBTEAMLOGAccountCapturePolicy.h */, - F292ED011FC0EB7300D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */, - F292ED021FC0EB7300D6E69B /* DBTEAMLOGActorLogInfo.h */, - F292ED031FC0EB7300D6E69B /* DBTEAMLOGAdminRole.h */, - F292ED041FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h */, - F292ED051FC0EB7300D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h */, - F292ED061FC0EB7300D6E69B /* DBTEAMLOGApiSessionLogInfo.h */, - F292ED071FC0EB7300D6E69B /* DBTEAMLOGAppLinkTeamDetails.h */, - F292ED081FC0EB7300D6E69B /* DBTEAMLOGAppLinkUserDetails.h */, - F292ED091FC0EB7300D6E69B /* DBTEAMLOGAppLogInfo.h */, - F292ED0A1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h */, - F292ED0B1FC0EB7300D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h */, - F292ED0C1FC0EB7300D6E69B /* DBTEAMLOGAssetLogInfo.h */, - F292ED0D1FC0EB7300D6E69B /* DBTEAMLOGCertificate.h */, - F292ED0E1FC0EB7300D6E69B /* DBTEAMLOGCollectionShareDetails.h */, - F292ED0F1FC0EB7300D6E69B /* DBTEAMLOGConfidentiality.h */, - F292ED101FC0EB7300D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h */, - F292ED111FC0EB7300D6E69B /* DBTEAMLOGContextLogInfo.h */, - F292ED121FC0EB7300D6E69B /* DBTEAMLOGCreateFolderDetails.h */, - F292ED131FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */, - F292ED141FC0EB7300D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */, - F292ED151FC0EB7300D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h */, - F292ED161FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */, - F292ED171FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */, - F292ED181FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */, - F292ED191FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */, - F292ED1A1FC0EB7300D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h */, - F292ED1B1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */, - F292ED1C1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h */, - F292ED1D1FC0EB7300D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h */, - F292ED1E1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */, - F292ED1F1FC0EB7300D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */, - F292ED201FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h */, - F292ED211FC0EB7300D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h */, - F292ED221FC0EB7300D6E69B /* DBTEAMLOGDeviceLogInfo.h */, - F292ED231FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h */, - F292ED241FC0EB7300D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h */, - F292ED251FC0EB7300D6E69B /* DBTEAMLOGDeviceType.h */, - F292ED261FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h */, - F292ED271FC0EB7300D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h */, - F292ED281FC0EB7300D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h */, - F292ED291FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */, - F292ED2A1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */, - F292ED2B1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */, - F292ED2C1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */, - F292ED2D1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */, - F292ED2E1FC0EB7300D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */, - F292ED2F1FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */, - F292ED301FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */, - F292ED311FC0EB7300D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */, - F292ED321FC0EB7300D6E69B /* DBTEAMLOGDurationLogInfo.h */, - F292ED331FC0EB7300D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h */, - F292ED341FC0EB7300D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h */, - F292ED351FC0EB7300D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */, - F292ED361FC0EB7300D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h */, - F292ED371FC0EB7300D6E69B /* DBTEAMLOGEmmErrorDetails.h */, - F292ED381FC0EB7300D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */, - F292ED391FC0EB7300D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h */, - F292ED3A1FC0EB7300D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h */, - F292ED3B1FC0EB7300D6E69B /* DBTEAMLOGEventCategory.h */, - F292ED3C1FC0EB7300D6E69B /* DBTEAMLOGEventDetails.h */, - F292ED3D1FC0EB7300D6E69B /* DBTEAMLOGEventType.h */, - F292ED3E1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */, - F292ED3F1FC0EB7400D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h */, - F292ED401FC0EB7400D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h */, - F292ED411FC0EB7400D6E69B /* DBTEAMLOGFileAddCommentDetails.h */, - F292ED421FC0EB7400D6E69B /* DBTEAMLOGFileAddDetails.h */, - F292ED431FC0EB7400D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */, - F292ED441FC0EB7400D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h */, - F292ED451FC0EB7400D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h */, - F292ED461FC0EB7400D6E69B /* DBTEAMLOGFileCommentsPolicy.h */, - F292ED471FC0EB7400D6E69B /* DBTEAMLOGFileCopyDetails.h */, - F292ED481FC0EB7400D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h */, - F292ED491FC0EB7400D6E69B /* DBTEAMLOGFileDeleteDetails.h */, - F292ED4A1FC0EB7400D6E69B /* DBTEAMLOGFileDownloadDetails.h */, - F292ED4B1FC0EB7400D6E69B /* DBTEAMLOGFileEditDetails.h */, - F292ED4C1FC0EB7400D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h */, - F292ED4D1FC0EB7400D6E69B /* DBTEAMLOGFileLikeCommentDetails.h */, - F292ED4E1FC0EB7400D6E69B /* DBTEAMLOGFileLogInfo.h */, - F292ED4F1FC0EB7400D6E69B /* DBTEAMLOGFileMoveDetails.h */, - F292ED501FC0EB7400D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h */, - F292ED511FC0EB7400D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h */, - F292ED521FC0EB7400D6E69B /* DBTEAMLOGFilePreviewDetails.h */, - F292ED531FC0EB7400D6E69B /* DBTEAMLOGFileRenameDetails.h */, - F292ED541FC0EB7400D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h */, - F292ED551FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeDetails.h */, - F292ED561FC0EB7400D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h */, - F292ED571FC0EB7400D6E69B /* DBTEAMLOGFileRequestCloseDetails.h */, - F292ED581FC0EB7400D6E69B /* DBTEAMLOGFileRequestCreateDetails.h */, - F292ED591FC0EB7400D6E69B /* DBTEAMLOGFileRequestDetails.h */, - F292ED5A1FC0EB7400D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h */, - F292ED5B1FC0EB7400D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h */, - F292ED5C1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h */, - F292ED5D1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */, - F292ED5E1FC0EB7400D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */, - F292ED5F1FC0EB7400D6E69B /* DBTEAMLOGFileRequestSendDetails.h */, - F292ED601FC0EB7400D6E69B /* DBTEAMLOGFileRequestsPolicy.h */, - F292ED611FC0EB7400D6E69B /* DBTEAMLOGFileResolveCommentDetails.h */, - F292ED621FC0EB7400D6E69B /* DBTEAMLOGFileRestoreDetails.h */, - F292ED631FC0EB7400D6E69B /* DBTEAMLOGFileRevertDetails.h */, - F292ED641FC0EB7400D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h */, - F292ED651FC0EB7400D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h */, - F292ED661FC0EB7400D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h */, - F292ED671FC0EB7400D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h */, - F292ED681FC0EB7400D6E69B /* DBTEAMLOGFolderLogInfo.h */, - F292ED691FC0EB7400D6E69B /* DBTEAMLOGGeoLocationLogInfo.h */, - F292ED6A1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsArg.h */, - F292ED6B1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h */, - F292ED6C1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h */, - F292ED6D1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsError.h */, - F292ED6E1FC0EB7400D6E69B /* DBTEAMLOGGetTeamEventsResult.h */, - F292ED6F1FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */, - F292ED701FC0EB7400D6E69B /* DBTEAMLOGGoogleSsoPolicy.h */, - F292ED711FC0EB7400D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h */, - F292ED721FC0EB7400D6E69B /* DBTEAMLOGGroupAddMemberDetails.h */, - F292ED731FC0EB7400D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h */, - F292ED741FC0EB7400D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h */, - F292ED751FC0EB7400D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h */, - F292ED761FC0EB7400D6E69B /* DBTEAMLOGGroupCreateDetails.h */, - F292ED771FC0EB7400D6E69B /* DBTEAMLOGGroupDeleteDetails.h */, - F292ED781FC0EB7400D6E69B /* DBTEAMLOGGroupJoinPolicy.h */, - F292ED791FC0EB7400D6E69B /* DBTEAMLOGGroupLogInfo.h */, - F292ED7A1FC0EB7400D6E69B /* DBTEAMLOGGroupMovedDetails.h */, - F292ED7B1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h */, - F292ED7C1FC0EB7400D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h */, - F292ED7D1FC0EB7400D6E69B /* DBTEAMLOGGroupRenameDetails.h */, - F292ED7E1FC0EB7400D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */, - F292ED7F1FC0EB7400D6E69B /* DBTEAMLOGJoinTeamDetails.h */, - F292ED801FC0EB7400D6E69B /* DBTEAMLOGLinkAudience.h */, - F292ED811FC0EB7400D6E69B /* DBTEAMLOGLoginFailDetails.h */, - F292ED821FC0EB7400D6E69B /* DBTEAMLOGLoginMethod.h */, - F292ED831FC0EB7400D6E69B /* DBTEAMLOGLoginSuccessDetails.h */, - F292ED841FC0EB7400D6E69B /* DBTEAMLOGLogoutDetails.h */, - F292ED851FC0EB7400D6E69B /* DBTEAMLOGMemberAddNameDetails.h */, - F292ED861FC0EB7400D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h */, - F292ED871FC0EB7400D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h */, - F292ED881FC0EB7400D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */, - F292ED891FC0EB7400D6E69B /* DBTEAMLOGMemberChangeNameDetails.h */, - F292ED8A1FC0EB7400D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h */, - F292ED8B1FC0EB7400D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */, - F292ED8C1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */, - F292ED8D1FC0EB7400D6E69B /* DBTEAMLOGMemberRequestsPolicy.h */, - F292ED8E1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */, - F292ED8F1FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */, - F292ED901FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */, - F292ED911FC0EB7400D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */, - F292ED921FC0EB7400D6E69B /* DBTEAMLOGMemberStatus.h */, - F292ED931FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestDetails.h */, - F292ED941FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */, - F292ED951FC0EB7400D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h */, - F292ED961FC0EB7400D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h */, - F292ED971FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */, - F292ED981FC0EB7400D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */, - F292ED991FC0EB7400D6E69B /* DBTEAMLOGMissingDetails.h */, - F292ED9A1FC0EB7400D6E69B /* DBTEAMLOGMobileSessionLogInfo.h */, - F292ED9B1FC0EB7400D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h */, - F292ED9C1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h */, - F292ED9D1FC0EB7400D6E69B /* DBTEAMLOGNetworkControlPolicy.h */, - F292ED9E1FC0EB7400D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h */, - F292ED9F1FC0EB7400D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h */, - F292EDA01FC0EB7400D6E69B /* DBTEAMLOGNoteAclLinkDetails.h */, - F292EDA11FC0EB7400D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h */, - F292EDA21FC0EB7400D6E69B /* DBTEAMLOGNoteSharedDetails.h */, - F292EDA31FC0EB7400D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h */, - F292EDA41FC0EB7400D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h */, - F292EDA51FC0EB7400D6E69B /* DBTEAMLOGOriginLogInfo.h */, - F292EDA61FC0EB7400D6E69B /* DBTEAMLOGPaperAccessType.h */, - F292EDA71FC0EB7400D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h */, - F292EDA81FC0EB7400D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */, - F292EDA91FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */, - F292EDAA1FC0EB7400D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */, - F292EDAB1FC0EB7400D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h */, - F292EDAC1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h */, - F292EDAD1FC0EB7400D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h */, - F292EDAE1FC0EB7400D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h */, - F292EDAF1FC0EB7400D6E69B /* DBTEAMLOGPaperContentCreateDetails.h */, - F292EDB01FC0EB7400D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */, - F292EDB11FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */, - F292EDB21FC0EB7400D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h */, - F292EDB31FC0EB7400D6E69B /* DBTEAMLOGPaperContentRenameDetails.h */, - F292EDB41FC0EB7400D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h */, - F292EDB51FC0EB7400D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h */, - F292EDB61FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */, - F292EDB71FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */, - F292EDB81FC0EB7400D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */, - F292EDB91FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h */, - F292EDBA1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h */, - F292EDBB1FC0EB7400D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h */, - F292EDBC1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h */, - F292EDBD1FC0EB7400D6E69B /* DBTEAMLOGPaperDocEditDetails.h */, - F292EDBE1FC0EB7400D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h */, - F292EDBF1FC0EB7400D6E69B /* DBTEAMLOGPaperDocMentionDetails.h */, - F292EDC01FC0EB7400D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h */, - F292EDC11FC0EB7400D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h */, - F292EDC21FC0EB7400D6E69B /* DBTEAMLOGPaperDocRevertDetails.h */, - F292EDC31FC0EB7400D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h */, - F292EDC41FC0EB7400D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h */, - F292EDC51FC0EB7400D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h */, - F292EDC61FC0EB7400D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h */, - F292EDC71FC0EB7400D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */, - F292EDC81FC0EB7400D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h */, - F292EDC91FC0EB7400D6E69B /* DBTEAMLOGPaperDocViewDetails.h */, - F292EDCA1FC0EB7400D6E69B /* DBTEAMLOGPaperDownloadFormat.h */, - F292EDCB1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */, - F292EDCC1FC0EB7400D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */, - F292EDCD1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h */, - F292EDCE1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */, - F292EDCF1FC0EB7400D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h */, - F292EDD01FC0EB7400D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */, - F292EDD11FC0EB7400D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h */, - F292EDD21FC0EB7400D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h */, - F292EDD31FC0EB7400D6E69B /* DBTEAMLOGPaperFolderLogInfo.h */, - F292EDD41FC0EB7400D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h */, - F292EDD51FC0EB7400D6E69B /* DBTEAMLOGPaperMemberPolicy.h */, - F292EDD61FC0EB7400D6E69B /* DBTEAMLOGParticipantLogInfo.h */, - F292EDD71FC0EB7400D6E69B /* DBTEAMLOGPasswordChangeDetails.h */, - F292EDD81FC0EB7400D6E69B /* DBTEAMLOGPasswordResetAllDetails.h */, - F292EDD91FC0EB7400D6E69B /* DBTEAMLOGPasswordResetDetails.h */, - F292EDDA1FC0EB7400D6E69B /* DBTEAMLOGPathLogInfo.h */, - F292EDDB1FC0EB7400D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */, - F292EDDC1FC0EB7400D6E69B /* DBTEAMLOGPlacementRestriction.h */, - F292EDDD1FC0EB7400D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */, - F292EDDE1FC0EB7400D6E69B /* DBTEAMLOGResellerLogInfo.h */, - F292EDDF1FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h */, - F292EDE01FC0EB7400D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h */, - F292EDE11FC0EB7400D6E69B /* DBTEAMLOGSessionLogInfo.h */, - F292EDE21FC0EB7400D6E69B /* DBTEAMLOGSfAddGroupDetails.h */, - F292EDE31FC0EB7400D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */, - F292EDE41FC0EB7400D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h */, - F292EDE51FC0EB7400D6E69B /* DBTEAMLOGSfInviteGroupDetails.h */, - F292EDE61FC0EB7400D6E69B /* DBTEAMLOGSfNestDetails.h */, - F292EDE71FC0EB7400D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h */, - F292EDE81FC0EB7400D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h */, - F292EDE91FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */, - F292EDEA1FC0EB7400D6E69B /* DBTEAMLOGSfTeamInviteDetails.h */, - F292EDEB1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinDetails.h */, - F292EDEC1FC0EB7400D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */, - F292EDED1FC0EB7400D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h */, - F292EDEE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h */, - F292EDEF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */, - F292EDF01FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */, - F292EDF11FC0EB7400D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h */, - F292EDF21FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */, - F292EDF31FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */, - F292EDF41FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */, - F292EDF51FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */, - F292EDF61FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */, - F292EDF71FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */, - F292EDF81FC0EB7400D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */, - F292EDF91FC0EB7400D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h */, - F292EDFA1FC0EB7400D6E69B /* DBTEAMLOGSharedContentCopyDetails.h */, - F292EDFB1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h */, - F292EDFC1FC0EB7400D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h */, - F292EDFD1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */, - F292EDFE1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h */, - F292EDFF1FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */, - F292EE001FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */, - F292EE011FC0EB7400D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h */, - F292EE021FC0EB7400D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h */, - F292EE031FC0EB7400D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h */, - F292EE041FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewDetails.h */, - F292EE051FC0EB7400D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h */, - F292EE061FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h */, - F292EE071FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */, - F292EE081FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h */, - F292EE091FC0EB7400D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h */, - F292EE0A1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h */, - F292EE0B1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h */, - F292EE0C1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h */, - F292EE0D1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h */, - F292EE0E1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderMountDetails.h */, - F292EE0F1FC0EB7400D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */, - F292EE101FC0EB7400D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h */, - F292EE111FC0EB7400D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h */, - F292EE121FC0EB7400D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */, - F292EE131FC0EB7400D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */, - F292EE141FC0EB7400D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */, - F292EE151FC0EB7400D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h */, - F292EE161FC0EB7400D6E69B /* DBTEAMLOGSharingLinkPolicy.h */, - F292EE171FC0EB7400D6E69B /* DBTEAMLOGSharingMemberPolicy.h */, - F292EE181FC0EB7400D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h */, - F292EE191FC0EB7400D6E69B /* DBTEAMLOGShmodelCreateDetails.h */, - F292EE1A1FC0EB7400D6E69B /* DBTEAMLOGShmodelDisableDetails.h */, - F292EE1B1FC0EB7400D6E69B /* DBTEAMLOGShmodelFbShareDetails.h */, - F292EE1C1FC0EB7400D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h */, - F292EE1D1FC0EB7400D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h */, - F292EE1E1FC0EB7400D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h */, - F292EE1F1FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h */, - F292EE201FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h */, - F292EE211FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h */, - F292EE221FC0EB7400D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h */, - F292EE231FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h */, - F292EE241FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h */, - F292EE251FC0EB7400D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h */, - F292EE261FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h */, - F292EE271FC0EB7400D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h */, - F292EE281FC0EB7400D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h */, - F292EE291FC0EB7400D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */, - F292EE2A1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h */, - F292EE2B1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h */, - F292EE2C1FC0EB7400D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h */, - F292EE2D1FC0EB7400D6E69B /* DBTEAMLOGSpaceLimitsStatus.h */, - F292EE2E1FC0EB7400D6E69B /* DBTEAMLOGSsoAddCertDetails.h */, - F292EE2F1FC0EB7400D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h */, - F292EE301FC0EB7400D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h */, - F292EE311FC0EB7400D6E69B /* DBTEAMLOGSsoChangeCertDetails.h */, - F292EE321FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h */, - F292EE331FC0EB7400D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */, - F292EE341FC0EB7400D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h */, - F292EE351FC0EB7400D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */, - F292EE361FC0EB7400D6E69B /* DBTEAMLOGSsoErrorDetails.h */, - F292EE371FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h */, - F292EE381FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */, - F292EE391FC0EB7400D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */, - F292EE3A1FC0EB7400D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h */, - F292EE3B1FC0EB7400D6E69B /* DBTEAMLOGTeamEvent.h */, - F292EE3C1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h */, - F292EE3D1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h */, - F292EE3E1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h */, - F292EE3F1FC0EB7400D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */, - F292EE401FC0EB7400D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h */, - F292EE411FC0EB7400D6E69B /* DBTEAMLOGTeamFolderStatus.h */, - F292EE421FC0EB7400D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h */, - F292EE431FC0EB7400D6E69B /* DBTEAMLOGTeamMemberLogInfo.h */, - F292EE441FC0EB7400D6E69B /* DBTEAMLOGTeamMembershipType.h */, - F292EE451FC0EB7400D6E69B /* DBTEAMLOGTeamMergeFromDetails.h */, - F292EE461FC0EB7400D6E69B /* DBTEAMLOGTeamMergeToDetails.h */, - F292EE471FC0EB7400D6E69B /* DBTEAMLOGTeamName.h */, - F292EE481FC0EB7400D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h */, - F292EE491FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */, - F292EE4A1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h */, - F292EE4B1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h */, - F292EE4C1FC0EB7400D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */, - F292EE4D1FC0EB7400D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h */, - F292EE4E1FC0EB7400D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h */, - F292EE4F1FC0EB7400D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */, - F292EE501FC0EB7400D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h */, - F292EE511FC0EB7400D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h */, - F292EE521FC0EB7400D6E69B /* DBTEAMLOGTfaConfiguration.h */, - F292EE531FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */, - F292EE541FC0EB7400D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */, - F292EE551FC0EB7400D6E69B /* DBTEAMLOGTfaResetDetails.h */, - F292EE561FC0EB7400D6E69B /* DBTEAMLOGTimeUnit.h */, - F292EE571FC0EB7400D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h */, - F292EE581FC0EB7400D6E69B /* DBTEAMLOGTwoAccountPolicy.h */, - F292EE591FC0EB7400D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h */, - F292EE5A1FC0EB7400D6E69B /* DBTEAMLOGUserLogInfo.h */, - F292EE5B1FC0EB7400D6E69B /* DBTEAMLOGUserNameLogInfo.h */, - F292EE5C1FC0EB7400D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */, - F292EE5D1FC0EB7400D6E69B /* DBTEAMLOGWebSessionLogInfo.h */, - F292EE5E1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */, - F292EE5F1FC0EB7400D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */, - F292EE601FC0EB7400D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */, - F292EE611FC0EB7400D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */, + F99E09912B7A733000D55EF8 /* DBTEAMCOMMONGroupSummary.h */, + F99E09922B7A733000D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h */, + F99E09932B7A733000D55EF8 /* DBTEAMCOMMONTimeRange.h */, + F99E09942B7A733000D55EF8 /* DBTEAMCOMMONGroupManagementType.h */, + F99E09952B7A733000D55EF8 /* DBTEAMCOMMONGroupType.h */, ); path = Headers; sourceTree = ""; }; - F292EE621FC0EB7400D6E69B /* TeamPolicies */ = { + F99E09972B7A733000D55EF8 /* Common */ = { isa = PBXGroup; children = ( - F292EE631FC0EB7400D6E69B /* DBTeamPoliciesObjects.m */, - F292EE641FC0EB7400D6E69B /* Headers */, + F99E09982B7A733000D55EF8 /* DBCommonObjects.m */, + F99E09992B7A733000D55EF8 /* Headers */, ); - path = TeamPolicies; + path = Common; sourceTree = ""; }; - F292EE641FC0EB7400D6E69B /* Headers */ = { + F99E09992B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EE651FC0EB7400D6E69B /* DBTEAMPOLICIESEmmState.h */, - F292EE661FC0EB7400D6E69B /* DBTEAMPOLICIESGroupCreation.h */, - F292EE671FC0EB7400D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h */, - F292EE681FC0EB7400D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h */, - F292EE691FC0EB7400D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h */, - F292EE6A1FC0EB7400D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h */, - F292EE6B1FC0EB7400D6E69B /* DBTEAMPOLICIESRolloutMethod.h */, - F292EE6C1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h */, - F292EE6D1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h */, - F292EE6E1FC0EB7400D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h */, - F292EE6F1FC0EB7400D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h */, - F292EE701FC0EB7400D6E69B /* DBTEAMPOLICIESSsoPolicy.h */, - F292EE711FC0EB7400D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h */, - F292EE721FC0EB7400D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h */, - F292EE731FC0EB7400D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h */, + F99E099A2B7A733000D55EF8 /* DBCOMMONTeamRootInfo.h */, + F99E099B2B7A733000D55EF8 /* DBCOMMONPathRoot.h */, + F99E099C2B7A733000D55EF8 /* DBCOMMONRootInfo.h */, + F99E099D2B7A733000D55EF8 /* DBCOMMONPathRootError.h */, + F99E099E2B7A733000D55EF8 /* DBCOMMONUserRootInfo.h */, ); path = Headers; sourceTree = ""; }; - F292EE741FC0EB7400D6E69B /* Users */ = { + F99E099F2B7A733000D55EF8 /* Openid */ = { isa = PBXGroup; children = ( - F292EE751FC0EB7400D6E69B /* DBUsersObjects.m */, - F292EE761FC0EB7400D6E69B /* Headers */, + F99E09A02B7A733000D55EF8 /* Headers */, + F99E09A52B7A733000D55EF8 /* DBOpenidObjects.m */, ); - path = Users; + path = Openid; sourceTree = ""; }; - F292EE761FC0EB7400D6E69B /* Headers */ = { + F99E09A02B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EE771FC0EB7400D6E69B /* DBUSERSAccount.h */, - F292EE781FC0EB7400D6E69B /* DBUSERSBasicAccount.h */, - F292EE791FC0EB7400D6E69B /* DBUSERSFullAccount.h */, - F292EE7A1FC0EB7400D6E69B /* DBUSERSFullTeam.h */, - F292EE7B1FC0EB7400D6E69B /* DBUSERSGetAccountArg.h */, - F292EE7C1FC0EB7400D6E69B /* DBUSERSGetAccountBatchArg.h */, - F292EE7D1FC0EB7400D6E69B /* DBUSERSGetAccountBatchError.h */, - F292EE7E1FC0EB7400D6E69B /* DBUSERSGetAccountError.h */, - F292EE7F1FC0EB7400D6E69B /* DBUSERSIndividualSpaceAllocation.h */, - F292EE801FC0EB7400D6E69B /* DBUSERSName.h */, - F292EE811FC0EB7400D6E69B /* DBUSERSSpaceAllocation.h */, - F292EE821FC0EB7400D6E69B /* DBUSERSSpaceUsage.h */, - F292EE831FC0EB7400D6E69B /* DBUSERSTeam.h */, - F292EE841FC0EB7400D6E69B /* DBUSERSTeamSpaceAllocation.h */, + F99E09A12B7A733000D55EF8 /* DBOPENIDUserInfoResult.h */, + F99E09A22B7A733000D55EF8 /* DBOPENIDUserInfoError.h */, + F99E09A32B7A733000D55EF8 /* DBOPENIDOpenIdError.h */, + F99E09A42B7A733000D55EF8 /* DBOPENIDUserInfoArgs.h */, ); path = Headers; sourceTree = ""; }; - F292EE851FC0EB7400D6E69B /* UsersCommon */ = { + F99E09A62B7A733000D55EF8 /* Team */ = { isa = PBXGroup; children = ( - F292EE861FC0EB7400D6E69B /* DBUsersCommonObjects.m */, - F292EE871FC0EB7400D6E69B /* Headers */, + F99E09A72B7A733000D55EF8 /* DBTeamObjects.m */, + F99E09A82B7A733000D55EF8 /* Headers */, ); - path = UsersCommon; + path = Team; sourceTree = ""; }; - F292EE871FC0EB7400D6E69B /* Headers */ = { + F99E09A82B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EE881FC0EB7400D6E69B /* DBUSERSCOMMONAccountType.h */, + F99E09A92B7A733000D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h */, + F99E09AA2B7A733000D55EF8 /* DBTEAMGroupMembersRemoveError.h */, + F99E09AB2B7A733000D55EF8 /* DBTEAMExcludedUsersListResult.h */, + F99E09AC2B7A733000D55EF8 /* DBTEAMMemberAddResultBase.h */, + F99E09AD2B7A733000D55EF8 /* DBTEAMMembersAddArgBase.h */, + F99E09AE2B7A733000D55EF8 /* DBTEAMMembersListV2Result.h */, + F99E09AF2B7A733000D55EF8 /* DBTEAMStorageBucket.h */, + F99E09B02B7A733000D55EF8 /* DBTEAMGroupUpdateArgs.h */, + F99E09B12B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueError.h */, + F99E09B22B7A733000D55EF8 /* DBTEAMGroupsListResult.h */, + F99E09B32B7A733000D55EF8 /* DBTEAMMembersRemoveArg.h */, + F99E09B42B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h */, + F99E09B52B7A733000D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h */, + F99E09B62B7A733000D55EF8 /* DBTEAMGroupAccessType.h */, + F99E09B72B7A733000D55EF8 /* DBTEAMMembersUnsuspendError.h */, + F99E09B82B7A733000D55EF8 /* DBTEAMMobileClientPlatform.h */, + F99E09B92B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateError.h */, + F99E09BA2B7A733000D55EF8 /* DBTEAMUserResendEmailsResult.h */, + F99E09BB2B7A733000D55EF8 /* DBTEAMRemovedStatus.h */, + F99E09BC2B7A733000D55EF8 /* DBTEAMGroupsPollError.h */, + F99E09BD2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h */, + F99E09BE2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h */, + F99E09BF2B7A733000D55EF8 /* DBTEAMResendVerificationEmailArg.h */, + F99E09C02B7A733000D55EF8 /* DBTEAMGroupsGetInfoItem.h */, + F99E09C12B7A733000D55EF8 /* DBTEAMMembersUnsuspendArg.h */, + F99E09C22B7A733000D55EF8 /* DBTEAMLegalHoldPolicy.h */, + F99E09C32B7A733000D55EF8 /* DBTEAMLegalHoldStatus.h */, + F99E09C42B7A733000D55EF8 /* DBTEAMBaseDfbReport.h */, + F99E09C52B7A733000D55EF8 /* DBTEAMMembersRemoveError.h */, + F99E09C62B7A733000D55EF8 /* DBTEAMTeamFolderAccessError.h */, + F99E09C72B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2.h */, + F99E09C82B7A733000D55EF8 /* DBTEAMUserAddResult.h */, + F99E09C92B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h */, + F99E09CA2B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h */, + F99E09CB2B7A733000D55EF8 /* DBTEAMMembersListContinueError.h */, + F99E09CC2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h */, + F99E09CD2B7A733000D55EF8 /* DBTEAMMembersAddLaunchV2Result.h */, + F99E09CE2B7A733000D55EF8 /* DBTEAMMembersGetInfoItem.h */, + F99E09CF2B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h */, + F99E09D02B7A733000D55EF8 /* DBTEAMExcludedUsersListArg.h */, + F99E09D12B7A733000D55EF8 /* DBTEAMUserDeleteResult.h */, + F99E09D22B7A733000D55EF8 /* DBTEAMTeamFolderActivateError.h */, + F99E09D32B7A733000D55EF8 /* DBTEAMHasTeamFileEventsValue.h */, + F99E09D42B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveError.h */, + F99E09D52B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h */, + F99E09D62B7A733000D55EF8 /* DBTEAMFeature.h */, + F99E09D72B7A733000D55EF8 /* DBTEAMDeviceSessionArg.h */, + F99E09D82B7A733000D55EF8 /* DBTEAMMembersDataTransferArg.h */, + F99E09D92B7A733000D55EF8 /* DBTEAMListTeamDevicesError.h */, + F99E09DA2B7A733000D55EF8 /* DBTEAMMemberSelectorError.h */, + F99E09DB2B7A733000D55EF8 /* DBTEAMActiveWebSession.h */, + F99E09DC2B7A733000D55EF8 /* DBTEAMUserSelectorError.h */, + F99E09DD2B7A733000D55EF8 /* DBTEAMGroupFullInfo.h */, + F99E09DE2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsArg.h */, + F99E09DF2B7A733000D55EF8 /* DBTEAMTeamMemberInfo.h */, + F99E09E02B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateResult.h */, + F99E09E12B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h */, + F99E09E22B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h */, + F99E09E32B7A733000D55EF8 /* DBTEAMMembersSuspendError.h */, + F99E09E42B7A733000D55EF8 /* DBTEAMGroupMembersAddError.h */, + F99E09E52B7A733000D55EF8 /* DBTEAMTeamGetInfoResult.h */, + F99E09E62B7A733000D55EF8 /* DBTEAMListMembersDevicesResult.h */, + F99E09E72B7A733000D55EF8 /* DBTEAMResendSecondaryEmailResult.h */, + F99E09E82B7A733000D55EF8 /* DBTEAMTeamFolderArchiveError.h */, + F99E09E92B7A733000D55EF8 /* DBTEAMTeamFolderListResult.h */, + F99E09EA2B7A733000D55EF8 /* DBTEAMMembersSetProfileError.h */, + F99E09EB2B7A733000D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h */, + F99E09EC2B7A733000D55EF8 /* DBTEAMSharingAllowlistAddError.h */, + F99E09ED2B7A733000D55EF8 /* DBTEAMRevokeDesktopClientArg.h */, + F99E09EE2B7A733000D55EF8 /* DBTEAMGroupsSelector.h */, + F99E09EF2B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueError.h */, + F99E09F02B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h */, + F99E09F12B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h */, + F99E09F22B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h */, + F99E09F32B7A733000D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h */, + F99E09F42B7A733000D55EF8 /* DBTEAMMembersGetInfoItemBase.h */, + F99E09F52B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h */, + F99E09F62B7A733000D55EF8 /* DBTEAMTeamFolderIdArg.h */, + F99E09F72B7A733000D55EF8 /* DBTEAMSharingAllowlistAddArgs.h */, + F99E09F82B7A733000D55EF8 /* DBTEAMGroupsListArg.h */, + F99E09F92B7A733000D55EF8 /* DBTEAMListMemberDevicesResult.h */, + F99E09FA2B7A733000D55EF8 /* DBTEAMMemberAccess.h */, + F99E09FB2B7A733000D55EF8 /* DBTEAMMembersTransferFilesError.h */, + F99E09FC2B7A733000D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h */, + F99E09FD2B7A733000D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h */, + F99E09FE2B7A733000D55EF8 /* DBTEAMMembersAddJobStatus.h */, + F99E09FF2B7A733000D55EF8 /* DBTEAMListMemberAppsError.h */, + F99E0A002B7A733000D55EF8 /* DBTEAMTeamMemberStatus.h */, + F99E0A012B7A733000D55EF8 /* DBTEAMTeamFolderListError.h */, + F99E0A022B7A733000D55EF8 /* DBTEAMMobileClientSession.h */, + F99E0A032B7A733000D55EF8 /* DBTEAMMembersDeactivateArg.h */, + F99E0A042B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h */, + F99E0A052B7A733000D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h */, + F99E0A062B7A733000D55EF8 /* DBTEAMTeamFolderMetadata.h */, + F99E0A072B7A733000D55EF8 /* DBTEAMResendVerificationEmailResult.h */, + F99E0A082B7A733000D55EF8 /* DBTEAMIncludeMembersArg.h */, + F99E0A092B7A733000D55EF8 /* DBTEAMListMembersAppsError.h */, + F99E0A0A2B7A733000D55EF8 /* DBTEAMMembersSetPermissionsResult.h */, + F99E0A0B2B7A733000D55EF8 /* DBTEAMListTeamDevicesResult.h */, + F99E0A0C2B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Result.h */, + F99E0A0D2B7A733000D55EF8 /* DBTEAMTeamFolderListArg.h */, + F99E0A0E2B7A733000D55EF8 /* DBTEAMMembersAddLaunch.h */, + F99E0A0F2B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Result.h */, + F99E0A102B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueError.h */, + F99E0A112B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h */, + F99E0A122B7A733000D55EF8 /* DBTEAMUsersSelectorArg.h */, + F99E0A132B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsError.h */, + F99E0A142B7A733000D55EF8 /* DBTEAMSharingAllowlistAddResponse.h */, + F99E0A152B7A733000D55EF8 /* DBTEAMTeamNamespacesListArg.h */, + F99E0A162B7A733000D55EF8 /* DBTEAMMemberAddArgBase.h */, + F99E0A172B7A733000D55EF8 /* DBTEAMTeamFolderRenameError.h */, + F99E0A182B7A733000D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h */, + F99E0A192B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h */, + F99E0A1A2B7A733000D55EF8 /* DBTEAMRevokeLinkedAppStatus.h */, + F99E0A1B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueArg.h */, + F99E0A1C2B7A733000D55EF8 /* DBTEAMGroupSelectorError.h */, + F99E0A1D2B7A733000D55EF8 /* DBTEAMAdminTier.h */, + F99E0A1E2B7A733000D55EF8 /* DBTEAMDesktopPlatform.h */, + F99E0A1F2B7A733000D55EF8 /* DBTEAMSetCustomQuotaError.h */, + F99E0A202B7A733000D55EF8 /* DBTEAMGroupMemberSelector.h */, + F99E0A212B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h */, + F99E0A222B7A733000D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h */, + F99E0A232B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h */, + F99E0A242B7A733000D55EF8 /* DBTEAMGroupMembersAddArg.h */, + F99E0A252B7A733000D55EF8 /* DBTEAMExcludedUsersListError.h */, + F99E0A262B7A733000D55EF8 /* DBTEAMMemberAddResult.h */, + F99E0A272B7A733000D55EF8 /* DBTEAMGetMembershipReport.h */, + F99E0A282B7A733000D55EF8 /* DBTEAMMembersSetProfileArg.h */, + F99E0A292B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Error.h */, + F99E0A2A2B7A733000D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h */, + F99E0A2B2B7A733000D55EF8 /* DBTEAMGroupsListContinueError.h */, + F99E0A2C2B7A733000D55EF8 /* DBTEAMGroupMemberInfo.h */, + F99E0A2D2B7A733000D55EF8 /* DBTEAMGroupSelector.h */, + F99E0A2E2B7A733000D55EF8 /* DBTEAMMembersListArg.h */, + F99E0A2F2B7A733000D55EF8 /* DBTEAMGroupCreateError.h */, + F99E0A302B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionError.h */, + F99E0A312B7A733000D55EF8 /* DBTEAMTeamReportFailureReason.h */, + F99E0A322B7A733000D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h */, + F99E0A332B7A733000D55EF8 /* DBTEAMUserCustomQuotaResult.h */, + F99E0A342B7A733000D55EF8 /* DBTEAMSetCustomQuotaArg.h */, + F99E0A352B7A733000D55EF8 /* DBTEAMTeamMembershipType.h */, + F99E0A362B7A733000D55EF8 /* DBTEAMMembersGetInfoV2Arg.h */, + F99E0A372B7A733000D55EF8 /* DBTEAMGroupMembersSelectorError.h */, + F99E0A382B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h */, + F99E0A392B7A733000D55EF8 /* DBTEAMMembersAddArg.h */, + F99E0A3A2B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h */, + F99E0A3B2B7A733000D55EF8 /* DBTEAMGroupCreateArg.h */, + F99E0A3C2B7A733000D55EF8 /* DBTEAMCustomQuotaResult.h */, + F99E0A3D2B7A733000D55EF8 /* DBTEAMNamespaceType.h */, + F99E0A3E2B7A733000D55EF8 /* DBTEAMSharingAllowlistListError.h */, + F99E0A3F2B7A733000D55EF8 /* DBTEAMGroupUpdateError.h */, + F99E0A402B7A733000D55EF8 /* DBTEAMListMemberAppsArg.h */, + F99E0A412B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h */, + F99E0A422B7A733000D55EF8 /* DBTEAMGroupMembersSelector.h */, + F99E0A432B7A733000D55EF8 /* DBTEAMTeamFolderCreateArg.h */, + F99E0A442B7A733000D55EF8 /* DBTEAMListTeamDevicesArg.h */, + F99E0A452B7A733000D55EF8 /* DBTEAMListMembersDevicesError.h */, + F99E0A462B7A733000D55EF8 /* DBTEAMGetStorageReport.h */, + F99E0A472B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionArg.h */, + F99E0A482B7A733000D55EF8 /* DBTEAMMemberAddV2Arg.h */, + F99E0A492B7A733000D55EF8 /* DBTEAMListMemberDevicesError.h */, + F99E0A4A2B7A733000D55EF8 /* DBTEAMListTeamAppsError.h */, + F99E0A4B2B7A733000D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h */, + F99E0A4C2B7A733000D55EF8 /* DBTEAMMembersListResult.h */, + F99E0A4D2B7A733000D55EF8 /* DBTEAMUserSelectorArg.h */, + F99E0A4E2B7A733000D55EF8 /* DBTEAMGroupDeleteError.h */, + F99E0A4F2B7A733000D55EF8 /* DBTEAMMembersInfo.h */, + F99E0A502B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h */, + F99E0A512B7A733000D55EF8 /* DBTEAMMembersSetPermissionsArg.h */, + F99E0A522B7A733000D55EF8 /* DBTEAMMembersSetPermissions2Arg.h */, + F99E0A532B7A733000D55EF8 /* DBTEAMAddSecondaryEmailResult.h */, + F99E0A542B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsResult.h */, + F99E0A552B7A733000D55EF8 /* DBTEAMLegalHoldsError.h */, + F99E0A562B7A733000D55EF8 /* DBTEAMTeamMemberRole.h */, + F99E0A572B7A733000D55EF8 /* DBTEAMDesktopClientSession.h */, + F99E0A582B7A733000D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h */, + F99E0A592B7A733000D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h */, + F99E0A5A2B7A733000D55EF8 /* DBTEAMMembersDeactivateError.h */, + F99E0A5B2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h */, + F99E0A5C2B7A733000D55EF8 /* DBTEAMAddSecondaryEmailsResult.h */, + F99E0A5D2B7A733000D55EF8 /* DBTEAMGroupMembersChangeResult.h */, + F99E0A5E2B7A733000D55EF8 /* DBTEAMMembersDeactivateBaseArg.h */, + F99E0A5F2B7A733000D55EF8 /* DBTEAMNamespaceMetadata.h */, + F99E0A602B7A733000D55EF8 /* DBTEAMSharingAllowlistListResponse.h */, + F99E0A612B7A733000D55EF8 /* DBTEAMDateRangeError.h */, + F99E0A622B7A733000D55EF8 /* DBTEAMTeamFolderArchiveArg.h */, + F99E0A632B7A733000D55EF8 /* DBTEAMMemberAddV2Result.h */, + F99E0A642B7A733000D55EF8 /* DBTEAMDevicesActive.h */, + F99E0A652B7A733000D55EF8 /* DBTEAMGroupsGetInfoError.h */, + F99E0A662B7A733000D55EF8 /* DBTEAMListTeamAppsResult.h */, + F99E0A672B7A733000D55EF8 /* DBTEAMTeamMemberInfoV2Result.h */, + F99E0A682B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h */, + F99E0A692B7A733000D55EF8 /* DBTEAMMembersGetInfoItemV2.h */, + F99E0A6A2B7A733000D55EF8 /* DBTEAMBaseTeamFolderError.h */, + F99E0A6B2B7A733000D55EF8 /* DBTEAMTeamFolderListContinueError.h */, + F99E0A6C2B7A733000D55EF8 /* DBTEAMListTeamAppsArg.h */, + F99E0A6D2B7A733000D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h */, + F99E0A6E2B7A733000D55EF8 /* DBTEAMUserCustomQuotaArg.h */, + F99E0A6F2B7A733000D55EF8 /* DBTEAMListMemberDevicesArg.h */, + F99E0A702B7A733000D55EF8 /* DBTEAMDateRange.h */, + F99E0A712B7A733000D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h */, + F99E0A722B7A733000D55EF8 /* DBTEAMDeviceSession.h */, + F99E0A732B7A733000D55EF8 /* DBTEAMRemoveCustomQuotaResult.h */, + F99E0A742B7A733000D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h */, + F99E0A752B7A733000D55EF8 /* DBTEAMRevokeLinkedAppError.h */, + F99E0A762B7A733000D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h */, + F99E0A772B7A733000D55EF8 /* DBTEAMUserDeleteEmailsResult.h */, + F99E0A782B7A733000D55EF8 /* DBTEAMMembersRecoverError.h */, + F99E0A792B7A733000D55EF8 /* DBTEAMCustomQuotaError.h */, + F99E0A7A2B7A733000D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h */, + F99E0A7B2B7A733000D55EF8 /* DBTEAMSharingAllowlistListArg.h */, + F99E0A7C2B7A733000D55EF8 /* DBTEAMTeamFolderRenameArg.h */, + F99E0A7D2B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h */, + F99E0A7E2B7A733000D55EF8 /* DBTEAMTeamNamespacesListError.h */, + F99E0A7F2B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueArg.h */, + F99E0A802B7A733000D55EF8 /* DBTEAMListMembersAppsResult.h */, + F99E0A812B7A733000D55EF8 /* DBTEAMMembersRecoverArg.h */, + F99E0A822B7A733000D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h */, + F99E0A832B7A733000D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h */, + F99E0A842B7A733000D55EF8 /* DBTEAMGroupsListContinueArg.h */, + F99E0A852B7A733000D55EF8 /* DBTEAMTeamFolderCreateError.h */, + F99E0A862B7A733000D55EF8 /* DBTEAMGroupMembersRemoveArg.h */, + F99E0A872B7A733000D55EF8 /* DBTEAMTeamFolderGetInfoItem.h */, + F99E0A882B7A733000D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h */, + F99E0A892B7A733000D55EF8 /* DBTEAMMemberLinkedApps.h */, + F99E0A8A2B7A733000D55EF8 /* DBTEAMMemberProfile.h */, + F99E0A8B2B7A733000D55EF8 /* DBTEAMGroupsMembersListArg.h */, + F99E0A8C2B7A733000D55EF8 /* DBTEAMGetActivityReport.h */, + F99E0A8D2B7A733000D55EF8 /* DBTEAMGroupsMembersListResult.h */, + F99E0A8E2B7A733000D55EF8 /* DBTEAMTeamFolderStatus.h */, + F99E0A8F2B7A733000D55EF8 /* DBTEAMMembersGetInfoArgs.h */, + F99E0A902B7A733000D55EF8 /* DBTEAMMembersSetPermissionsError.h */, + F99E0A912B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h */, + F99E0A922B7A733000D55EF8 /* DBTEAMUploadApiRateLimitValue.h */, + F99E0A932B7A733000D55EF8 /* DBTEAMApiApp.h */, + F99E0A942B7A733000D55EF8 /* DBTEAMFeatureValue.h */, + F99E0A952B7A733000D55EF8 /* DBTEAMUserSecondaryEmailsArg.h */, + F99E0A962B7A733000D55EF8 /* DBTEAMMembersAddV2Arg.h */, + F99E0A972B7A733000D55EF8 /* DBTEAMTeamFolderIdListArg.h */, + F99E0A982B7A733000D55EF8 /* DBTEAMListMemberAppsResult.h */, + F99E0A992B7A733000D55EF8 /* DBTEAMMembersSendWelcomeError.h */, + F99E0A9A2B7A733000D55EF8 /* DBTEAMGetDevicesReport.h */, + F99E0A9B2B7A733000D55EF8 /* DBTEAMMemberAddArg.h */, + F99E0A9C2B7A733000D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h */, + F99E0A9D2B7A733000D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h */, + F99E0A9E2B7A733000D55EF8 /* DBTEAMMembersGetInfoError.h */, + F99E0A9F2B7A733000D55EF8 /* DBTEAMMemberDevices.h */, + F99E0AA02B7A733000D55EF8 /* DBTEAMListMembersAppsArg.h */, + F99E0AA12B7A733000D55EF8 /* DBTEAMCustomQuotaUsersArg.h */, + F99E0AA22B7A733000D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h */, + F99E0AA32B7A733000D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h */, + F99E0AA42B7A733000D55EF8 /* DBTEAMGroupsMembersListContinueError.h */, + F99E0AA52B7A733000D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h */, + F99E0AA62B7A733000D55EF8 /* DBTEAMUserResendResult.h */, + F99E0AA72B7A733000D55EF8 /* DBTEAMGroupMemberSelectorError.h */, + F99E0AA82B7A733000D55EF8 /* DBTEAMMembersListContinueArg.h */, + F99E0AA92B7A733000D55EF8 /* DBTEAMTeamNamespacesListResult.h */, + F99E0AAA2B7A733000D55EF8 /* DBTEAMTeamMemberProfile.h */, + F99E0AAB2B7A733000D55EF8 /* DBTEAMExcludedUsersUpdateArg.h */, + F99E0AAC2B7A733000D55EF8 /* DBTEAMMembersSetProfilePhotoError.h */, + F99E0AAD2B7A733000D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h */, + F99E0AAE2B7A733000D55EF8 /* DBTEAMExcludedUsersListContinueArg.h */, + F99E0AAF2B7A733000D55EF8 /* DBTEAMMembersListError.h */, + F99E0AB02B7A733000D55EF8 /* DBTEAMListMembersDevicesArg.h */, + F99E0AB12B7A733000D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h */, ); path = Headers; sourceTree = ""; }; - F292EE891FC0EB7400D6E69B /* Client */ = { + F99E0AB22B7A733000D55EF8 /* FileProperties */ = { isa = PBXGroup; children = ( - F292EE8A1FC0EB7400D6E69B /* DBAppBaseClient.h */, - F292EE8B1FC0EB7400D6E69B /* DBAppBaseClient.m */, - F292EE8C1FC0EB7400D6E69B /* DBTeamBaseClient.h */, - F292EE8D1FC0EB7400D6E69B /* DBTeamBaseClient.m */, - F292EE8E1FC0EB7400D6E69B /* DBUserBaseClient.h */, - F292EE8F1FC0EB7400D6E69B /* DBUserBaseClient.m */, + F99E0AB32B7A733000D55EF8 /* Headers */, + F99E0ADB2B7A733000D55EF8 /* DBFilePropertiesObjects.m */, ); - path = Client; + path = FileProperties; sourceTree = ""; }; - F292EE911FC0EB7400D6E69B /* Resources */ = { + F99E0AB32B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EE921FC0EB7400D6E69B /* DBSerializableProtocol.h */, - F292EE931FC0EB7400D6E69B /* DBStoneBase.h */, - F292EE941FC0EB7400D6E69B /* DBStoneBase.m */, - F292EE951FC0EB7400D6E69B /* DBStoneSerializers.h */, - F292EE961FC0EB7400D6E69B /* DBStoneSerializers.m */, - F292EE971FC0EB7400D6E69B /* DBStoneValidators.h */, - F292EE981FC0EB7400D6E69B /* DBStoneValidators.m */, + F99E0AB42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h */, + F99E0AB52B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h */, + F99E0AB62B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h */, + F99E0AB72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h */, + F99E0AB82B7A733000D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h */, + F99E0AB92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h */, + F99E0ABA2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesError.h */, + F99E0ABB2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h */, + F99E0ABC2B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h */, + F99E0ABD2B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h */, + F99E0ABE2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyField.h */, + F99E0ABF2B7A733000D55EF8 /* DBFILEPROPERTIESPropertyType.h */, + F99E0AC02B7A733000D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h */, + F99E0AC12B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h */, + F99E0AC22B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h */, + F99E0AC32B7A733000D55EF8 /* DBFILEPROPERTIESListTemplateResult.h */, + F99E0AC42B7A733000D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h */, + F99E0AC52B7A733000D55EF8 /* DBFILEPROPERTIESTemplateFilter.h */, + F99E0AC62B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h */, + F99E0AC72B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h */, + F99E0AC82B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h */, + F99E0AC92B7A733000D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h */, + F99E0ACA2B7A733000D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h */, + F99E0ACB2B7A733000D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h */, + F99E0ACC2B7A733000D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h */, + F99E0ACD2B7A733000D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h */, + F99E0ACE2B7A733000D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h */, + F99E0ACF2B7A733000D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h */, + F99E0AD02B7A733000D55EF8 /* DBFILEPROPERTIESLogicalOperator.h */, + F99E0AD12B7A733000D55EF8 /* DBFILEPROPERTIESTemplateError.h */, + F99E0AD22B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h */, + F99E0AD32B7A733000D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h */, + F99E0AD42B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h */, + F99E0AD52B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h */, + F99E0AD62B7A733000D55EF8 /* DBFILEPROPERTIESLookupError.h */, + F99E0AD72B7A733000D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h */, + F99E0AD82B7A733000D55EF8 /* DBFILEPROPERTIESPropertyGroup.h */, + F99E0AD92B7A733000D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h */, + F99E0ADA2B7A733000D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h */, ); - path = Resources; + path = Headers; sourceTree = ""; }; - F292EE991FC0EB7400D6E69B /* Routes */ = { + F99E0ADC2B7A733000D55EF8 /* Users */ = { isa = PBXGroup; children = ( - F292EE9A1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.h */, - F292EE9B1FC0EB7400D6E69B /* DBAUTHAppAuthRoutes.m */, - F292EE9C1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.h */, - F292EE9D1FC0EB7400D6E69B /* DBAUTHUserAuthRoutes.m */, - F292EE9E1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h */, - F292EE9F1FC0EB7400D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m */, - F292EEA01FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h */, - F292EEA11FC0EB7400D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m */, - F292EEA21FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.h */, - F292EEA31FC0EB7400D6E69B /* DBFILEREQUESTSUserAuthRoutes.m */, - F292EEA41FC0EB7400D6E69B /* DBFILESUserAuthRoutes.h */, - F292EEA51FC0EB7400D6E69B /* DBFILESUserAuthRoutes.m */, - F292EEA61FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.h */, - F292EEA71FC0EB7400D6E69B /* DBPAPERUserAuthRoutes.m */, - F292EEA81FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.h */, - F292EEA91FC0EB7400D6E69B /* DBSHARINGUserAuthRoutes.m */, - F292EEAA1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.h */, - F292EEAB1FC0EB7400D6E69B /* DBTEAMLOGTeamAuthRoutes.m */, - F292EEAC1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.h */, - F292EEAD1FC0EB7400D6E69B /* DBTEAMTeamAuthRoutes.m */, - F292EEAE1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.h */, - F292EEAF1FC0EB7400D6E69B /* DBUSERSUserAuthRoutes.m */, - F292EEB01FC0EB7400D6E69B /* RouteObjects */, + F99E0ADD2B7A733000D55EF8 /* DBUsersObjects.m */, + F99E0ADE2B7A733000D55EF8 /* Headers */, ); - path = Routes; + path = Users; sourceTree = ""; }; - F292EEB01FC0EB7400D6E69B /* RouteObjects */ = { + F99E0ADE2B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F292EEB11FC0EB7400D6E69B /* DBAUTHRouteObjects.h */, - F292EEB21FC0EB7400D6E69B /* DBAUTHRouteObjects.m */, - F292EEB31FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.h */, - F292EEB41FC0EB7400D6E69B /* DBFILEPROPERTIESRouteObjects.m */, - F292EEB51FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.h */, - F292EEB61FC0EB7400D6E69B /* DBFILEREQUESTSRouteObjects.m */, - F292EEB71FC0EB7400D6E69B /* DBFILESRouteObjects.h */, - F292EEB81FC0EB7400D6E69B /* DBFILESRouteObjects.m */, - F292EEB91FC0EB7400D6E69B /* DBPAPERRouteObjects.h */, - F292EEBA1FC0EB7400D6E69B /* DBPAPERRouteObjects.m */, - F292EEBB1FC0EB7400D6E69B /* DBSHARINGRouteObjects.h */, - F292EEBC1FC0EB7400D6E69B /* DBSHARINGRouteObjects.m */, - F292EEBD1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.h */, - F292EEBE1FC0EB7400D6E69B /* DBTEAMLOGRouteObjects.m */, - F292EEBF1FC0EB7400D6E69B /* DBTEAMRouteObjects.h */, - F292EEC01FC0EB7400D6E69B /* DBTEAMRouteObjects.m */, - F292EEC11FC0EB7400D6E69B /* DBUSERSRouteObjects.h */, - F292EEC21FC0EB7400D6E69B /* DBUSERSRouteObjects.m */, + F99E0ADF2B7A733000D55EF8 /* DBUSERSTeamSpaceAllocation.h */, + F99E0AE02B7A733000D55EF8 /* DBUSERSBasicAccount.h */, + F99E0AE12B7A733000D55EF8 /* DBUSERSGetAccountError.h */, + F99E0AE22B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h */, + F99E0AE32B7A733000D55EF8 /* DBUSERSUserFeatureValue.h */, + F99E0AE42B7A733000D55EF8 /* DBUSERSGetAccountArg.h */, + F99E0AE52B7A733000D55EF8 /* DBUSERSFullTeam.h */, + F99E0AE62B7A733000D55EF8 /* DBUSERSTeam.h */, + F99E0AE72B7A733000D55EF8 /* DBUSERSIndividualSpaceAllocation.h */, + F99E0AE82B7A733000D55EF8 /* DBUSERSGetAccountBatchError.h */, + F99E0AE92B7A733000D55EF8 /* DBUSERSSpaceUsage.h */, + F99E0AEA2B7A733000D55EF8 /* DBUSERSName.h */, + F99E0AEB2B7A733000D55EF8 /* DBUSERSFullAccount.h */, + F99E0AEC2B7A733000D55EF8 /* DBUSERSUserFeature.h */, + F99E0AED2B7A733000D55EF8 /* DBUSERSPaperAsFilesValue.h */, + F99E0AEE2B7A733000D55EF8 /* DBUSERSGetAccountBatchArg.h */, + F99E0AEF2B7A733000D55EF8 /* DBUSERSFileLockingValue.h */, + F99E0AF02B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h */, + F99E0AF12B7A733000D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h */, + F99E0AF22B7A733000D55EF8 /* DBUSERSAccount.h */, + F99E0AF32B7A733000D55EF8 /* DBUSERSSpaceAllocation.h */, ); - path = RouteObjects; + path = Headers; sourceTree = ""; }; - F2977DCB1E03692600876A73 /* Shared */ = { + F99E0AF42B7A733000D55EF8 /* TeamLog */ = { isa = PBXGroup; children = ( - F292EAA01FC0EB7300D6E69B /* Generated */, - F297816F1E03692800876A73 /* Handwritten */, + F99E0AF52B7A733000D55EF8 /* DBTeamLogObjects.m */, + F99E0AF62B7A733000D55EF8 /* Headers */, ); - path = Shared; + path = TeamLog; sourceTree = ""; }; - F297816F1E03692800876A73 /* Handwritten */ = { + F99E0AF62B7A733000D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F29781741E03692800876A73 /* DBSDKImportsShared.h */, - F29781701E03692800876A73 /* DBUserClient.h */, - F29781711E03692800876A73 /* DBUserClient.m */, - F29781751E03692800876A73 /* DBTeamClient.h */, - F29781761E03692800876A73 /* DBTeamClient.m */, - F2AB345A1E89DEEE004F6379 /* DBAppClient.h */, - F2AB345D1E89DF0C004F6379 /* DBAppClient.m */, - F29781721E03692800876A73 /* DBClientsManager.h */, - F29781731E03692800876A73 /* DBClientsManager.m */, - F29781771E03692800876A73 /* Networking */, - F297818C1E03692800876A73 /* OAuth */, - F29781951E03692800876A73 /* Resources */, + F99E0AF72B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h */, + F99E0AF82B7A733000D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h */, + F99E0AF92B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h */, + F99E0AFA2B7A733000D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h */, + F99E0AFB2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h */, + F99E0AFC2B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareType.h */, + F99E0AFD2B7A733000D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h */, + F99E0AFE2B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h */, + F99E0AFF2B7A733000D55EF8 /* DBTEAMLOGFileMoveType.h */, + F99E0B002B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h */, + F99E0B012B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h */, + F99E0B022B7A733000D55EF8 /* DBTEAMLOGFileRestoreDetails.h */, + F99E0B032B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h */, + F99E0B042B7A733000D55EF8 /* DBTEAMLOGTfaChangeStatusType.h */, + F99E0B052B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h */, + F99E0B062B7A733000D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h */, + F99E0B072B7A733000D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h */, + F99E0B082B7A733000D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h */, + F99E0B092B7A733000D55EF8 /* DBTEAMLOGFileCommentsPolicy.h */, + F99E0B0A2B7A733000D55EF8 /* DBTEAMLOGDispositionActionType.h */, + F99E0B0B2B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h */, + F99E0B0C2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h */, + F99E0B0D2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h */, + F99E0B0E2B7A733000D55EF8 /* DBTEAMLOGComputerBackupPolicy.h */, + F99E0B0F2B7A733000D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h */, + F99E0B102B7A733000D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h */, + F99E0B112B7A733000D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h */, + F99E0B122B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h */, + F99E0B132B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h */, + F99E0B142B7A733000D55EF8 /* DBTEAMLOGFileLikeCommentType.h */, + F99E0B152B7A733000D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h */, + F99E0B162B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h */, + F99E0B172B7A733000D55EF8 /* DBTEAMLOGInviteMethod.h */, + F99E0B182B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h */, + F99E0B192B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h */, + F99E0B1A2B7A733000D55EF8 /* DBTEAMLOGWatermarkingPolicy.h */, + F99E0B1B2B7A733000D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h */, + F99E0B1C2B7A733000D55EF8 /* DBTEAMLOGTfaResetType.h */, + F99E0B1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h */, + F99E0B1E2B7A733000D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h */, + F99E0B1F2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h */, + F99E0B202B7A733000D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h */, + F99E0B212B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h */, + F99E0B222B7A733000D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h */, + F99E0B232B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h */, + F99E0B242B7A733000D55EF8 /* DBTEAMLOGGroupMovedType.h */, + F99E0B252B7A733000D55EF8 /* DBTEAMLOGApplyNamingConventionType.h */, + F99E0B262B7A733000D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h */, + F99E0B272B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h */, + F99E0B282B7A733000D55EF8 /* DBTEAMLOGRecipientsConfiguration.h */, + F99E0B292B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h */, + F99E0B2A2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h */, + F99E0B2B2B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h */, + F99E0B2C2B7A733000D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h */, + F99E0B2D2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeletedType.h */, + F99E0B2E2B7A733000D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h */, + F99E0B2F2B7A733000D55EF8 /* DBTEAMLOGRewindPolicy.h */, + F99E0B302B7A733000D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h */, + F99E0B312B7A733000D55EF8 /* DBTEAMLOGFileAddCommentType.h */, + F99E0B322B7A733000D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h */, + F99E0B332B7A733000D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h */, + F99E0B342B7A733000D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h */, + F99E0B352B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h */, + F99E0B362B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h */, + F99E0B372B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h */, + F99E0B382B7A733000D55EF8 /* DBTEAMLOGSfFbInviteDetails.h */, + F99E0B392B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h */, + F99E0B3A2B7A733000D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h */, + F99E0B3B2B7A733000D55EF8 /* DBTEAMLOGAppUnlinkUserType.h */, + F99E0B3C2B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h */, + F99E0B3D2B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h */, + F99E0B3E2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h */, + F99E0B3F2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h */, + F99E0B402B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h */, + F99E0B412B7A733000D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h */, + F99E0B422B7A733000D55EF8 /* DBTEAMLOGFileEditCommentDetails.h */, + F99E0B432B7A733000D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h */, + F99E0B442B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h */, + F99E0B452B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h */, + F99E0B462B7A733000D55EF8 /* DBTEAMLOGNoteSharedType.h */, + F99E0B472B7A733000D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h */, + F99E0B482B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h */, + F99E0B492B7A733000D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h */, + F99E0B4A2B7A733000D55EF8 /* DBTEAMLOGGroupDeleteType.h */, + F99E0B4B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h */, + F99E0B4C2B7A733000D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h */, + F99E0B4D2B7A733000D55EF8 /* DBTEAMLOGBinderAddPageDetails.h */, + F99E0B4E2B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h */, + F99E0B4F2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h */, + F99E0B502B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h */, + F99E0B512B7A733000D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h */, + F99E0B522B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h */, + F99E0B532B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h */, + F99E0B542B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h */, + F99E0B552B7A733000D55EF8 /* DBTEAMLOGCreateFolderDetails.h */, + F99E0B562B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h */, + F99E0B572B7A733000D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h */, + F99E0B582B7A733000D55EF8 /* DBTEAMLOGSfFbInviteType.h */, + F99E0B592B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h */, + F99E0B5A2B7A733000D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h */, + F99E0B5B2B7A733000D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h */, + F99E0B5C2B7A733000D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h */, + F99E0B5D2B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h */, + F99E0B5E2B7A733000D55EF8 /* DBTEAMLOGEmmChangePolicyType.h */, + F99E0B5F2B7A733000D55EF8 /* DBTEAMLOGShowcaseRenamedType.h */, + F99E0B602B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h */, + F99E0B612B7A733000D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h */, + F99E0B622B7A733000D55EF8 /* DBTEAMLOGBinderRenameSectionType.h */, + F99E0B632B7A733000D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h */, + F99E0B642B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h */, + F99E0B652B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h */, + F99E0B662B7A733000D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h */, + F99E0B672B7A733000D55EF8 /* DBTEAMLOGUndoNamingConventionType.h */, + F99E0B682B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h */, + F99E0B692B7A733000D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h */, + F99E0B6A2B7A733000D55EF8 /* DBTEAMLOGLogoutDetails.h */, + F99E0B6B2B7A733000D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h */, + F99E0B6C2B7A733000D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h */, + F99E0B6D2B7A733000D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h */, + F99E0B6E2B7A733000D55EF8 /* DBTEAMLOGSsoChangeCertType.h */, + F99E0B6F2B7A733000D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h */, + F99E0B702B7A733000D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h */, + F99E0B712B7A733000D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h */, + F99E0B722B7A733000D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h */, + F99E0B732B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h */, + F99E0B742B7A733000D55EF8 /* DBTEAMLOGDownloadPolicyType.h */, + F99E0B752B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h */, + F99E0B762B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h */, + F99E0B772B7A733000D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h */, + F99E0B782B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h */, + F99E0B792B7A733000D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h */, + F99E0B7A2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h */, + F99E0B7B2B7A733000D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h */, + F99E0B7C2B7A733000D55EF8 /* DBTEAMLOGRewindFolderDetails.h */, + F99E0B7D2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h */, + F99E0B7E2B7A733000D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h */, + F99E0B7F2B7A733000D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h */, + F99E0B802B7A733000D55EF8 /* DBTEAMLOGTfaAddExceptionType.h */, + F99E0B812B7A733000D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h */, + F99E0B822B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h */, + F99E0B832B7A733000D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h */, + F99E0B842B7A733000D55EF8 /* DBTEAMLOGShowcaseViewDetails.h */, + F99E0B852B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h */, + F99E0B862B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h */, + F99E0B872B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h */, + F99E0B882B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h */, + F99E0B892B7A733000D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h */, + F99E0B8A2B7A733000D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h */, + F99E0B8B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h */, + F99E0B8C2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseType.h */, + F99E0B8D2B7A733000D55EF8 /* DBTEAMLOGSharedContentDownloadType.h */, + F99E0B8E2B7A733000D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h */, + F99E0B8F2B7A733000D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h */, + F99E0B902B7A733000D55EF8 /* DBTEAMLOGSessionLogInfo.h */, + F99E0B912B7A733000D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h */, + F99E0B922B7A733000D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h */, + F99E0B932B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h */, + F99E0B942B7A733000D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h */, + F99E0B952B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h */, + F99E0B962B7A733000D55EF8 /* DBTEAMLOGMemberAddNameType.h */, + F99E0B972B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h */, + F99E0B982B7A733000D55EF8 /* DBTEAMLOGSharedLinkViewType.h */, + F99E0B992B7A733000D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h */, + F99E0B9A2B7A733000D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h */, + F99E0B9B2B7A733000D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h */, + F99E0B9C2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h */, + F99E0B9D2B7A733000D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h */, + F99E0B9E2B7A733000D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h */, + F99E0B9F2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h */, + F99E0BA02B7A733000D55EF8 /* DBTEAMLOGFileRenameType.h */, + F99E0BA12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h */, + F99E0BA22B7A733000D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h */, + F99E0BA32B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h */, + F99E0BA42B7A733000D55EF8 /* DBTEAMLOGSfTeamUninviteType.h */, + F99E0BA52B7A733000D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h */, + F99E0BA62B7A733000D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h */, + F99E0BA72B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h */, + F99E0BA82B7A733000D55EF8 /* DBTEAMLOGGroupLogInfo.h */, + F99E0BA92B7A733000D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h */, + F99E0BAA2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h */, + F99E0BAB2B7A733000D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h */, + F99E0BAC2B7A733000D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h */, + F99E0BAD2B7A733000D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h */, + F99E0BAE2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h */, + F99E0BAF2B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h */, + F99E0BB02B7A733000D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h */, + F99E0BB12B7A733000D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h */, + F99E0BB22B7A733000D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h */, + F99E0BB32B7A733000D55EF8 /* DBTEAMLOGFileAddType.h */, + F99E0BB42B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h */, + F99E0BB52B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h */, + F99E0BB62B7A733000D55EF8 /* DBTEAMLOGWebSessionLogInfo.h */, + F99E0BB72B7A733000D55EF8 /* DBTEAMLOGTeamFolderCreateType.h */, + F99E0BB82B7A733000D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h */, + F99E0BB92B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h */, + F99E0BBA2B7A733000D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h */, + F99E0BBB2B7A733000D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h */, + F99E0BBC2B7A733000D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h */, + F99E0BBD2B7A733000D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h */, + F99E0BBE2B7A733000D55EF8 /* DBTEAMLOGOriginLogInfo.h */, + F99E0BBF2B7A733000D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h */, + F99E0BC02B7A733000D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h */, + F99E0BC12B7A733000D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h */, + F99E0BC22B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h */, + F99E0BC32B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h */, + F99E0BC42B7A733000D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h */, + F99E0BC52B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h */, + F99E0BC62B7A733000D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h */, + F99E0BC72B7A733000D55EF8 /* DBTEAMLOGContextLogInfo.h */, + F99E0BC82B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h */, + F99E0BC92B7A733000D55EF8 /* DBTEAMLOGFileAddDetails.h */, + F99E0BCA2B7A733000D55EF8 /* DBTEAMLOGLoginSuccessType.h */, + F99E0BCB2B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h */, + F99E0BCC2B7A733000D55EF8 /* DBTEAMLOGApiSessionLogInfo.h */, + F99E0BCD2B7A733000D55EF8 /* DBTEAMLOGPolicyType.h */, + F99E0BCE2B7A733000D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h */, + F99E0BCF2B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h */, + F99E0BD02B7A733000D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h */, + F99E0BD12B7A733000D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h */, + F99E0BD22B7A733000D55EF8 /* DBTEAMLOGMemberRemoveActionType.h */, + F99E0BD32B7A733000D55EF8 /* DBTEAMLOGSfTeamJoinType.h */, + F99E0BD42B7A733000D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h */, + F99E0BD52B7A733000D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h */, + F99E0BD62B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h */, + F99E0BD72B7A733000D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h */, + F99E0BD82B7A733000D55EF8 /* DBTEAMLOGBackupStatus.h */, + F99E0BD92B7A733000D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h */, + F99E0BDA2B7A733000D55EF8 /* DBTEAMLOGShowcaseFileViewType.h */, + F99E0BDB2B7A733000D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h */, + F99E0BDC2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h */, + F99E0BDD2B7A733000D55EF8 /* DBTEAMLOGFileRequestsPolicy.h */, + F99E0BDE2B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h */, + F99E0BDF2B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h */, + F99E0BE02B7A733000D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h */, + F99E0BE12B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h */, + F99E0BE22B7A733000D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h */, + F99E0BE32B7A733000D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h */, + F99E0BE42B7A733000D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h */, + F99E0BE52B7A733000D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h */, + F99E0BE62B7A733000D55EF8 /* DBTEAMLOGUserTagsRemovedType.h */, + F99E0BE72B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h */, + F99E0BE82B7A733000D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h */, + F99E0BE92B7A733000D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h */, + F99E0BEA2B7A733000D55EF8 /* DBTEAMLOGTeamLogInfo.h */, + F99E0BEB2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h */, + F99E0BEC2B7A733000D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h */, + F99E0BED2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h */, + F99E0BEE2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h */, + F99E0BEF2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h */, + F99E0BF02B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h */, + F99E0BF12B7A733000D55EF8 /* DBTEAMLOGSfFbUninviteType.h */, + F99E0BF22B7A733000D55EF8 /* DBTEAMLOGFileRevertDetails.h */, + F99E0BF32B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h */, + F99E0BF42B7A733000D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h */, + F99E0BF52B7A733000D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h */, + F99E0BF62B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h */, + F99E0BF72B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h */, + F99E0BF82B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h */, + F99E0BF92B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h */, + F99E0BFA2B7A733000D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h */, + F99E0BFB2B7A733000D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h */, + F99E0BFC2B7A733000D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h */, + F99E0BFD2B7A733000D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h */, + F99E0BFE2B7A733000D55EF8 /* DBTEAMLOGUserLogInfo.h */, + F99E0BFF2B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h */, + F99E0C002B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h */, + F99E0C012B7A733000D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h */, + F99E0C022B7A733000D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h */, + F99E0C032B7A733000D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h */, + F99E0C042B7A733000D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h */, + F99E0C052B7A733000D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h */, + F99E0C062B7A733000D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h */, + F99E0C072B7A733000D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h */, + F99E0C082B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h */, + F99E0C092B7A733000D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h */, + F99E0C0A2B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h */, + F99E0C0B2B7A733000D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h */, + F99E0C0C2B7A733000D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h */, + F99E0C0D2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h */, + F99E0C0E2B7A733000D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h */, + F99E0C0F2B7A733000D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h */, + F99E0C102B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h */, + F99E0C112B7A733000D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h */, + F99E0C122B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h */, + F99E0C132B7A733000D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h */, + F99E0C142B7A733000D55EF8 /* DBTEAMLOGShowcaseArchivedType.h */, + F99E0C152B7A733000D55EF8 /* DBTEAMLOGRewindFolderType.h */, + F99E0C162B7A733000D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h */, + F99E0C172B7A733000D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h */, + F99E0C182B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h */, + F99E0C192B7A733000D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h */, + F99E0C1A2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h */, + F99E0C1B2B7A733000D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h */, + F99E0C1C2B7A733000D55EF8 /* DBTEAMLOGShowcaseRestoredType.h */, + F99E0C1D2B7A733000D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h */, + F99E0C1E2B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h */, + F99E0C1F2B7A733000D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h */, + F99E0C202B7A733000D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h */, + F99E0C212B7A733000D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h */, + F99E0C222B7A733000D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h */, + F99E0C232B7A733000D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h */, + F99E0C242B7A733000D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h */, + F99E0C252B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h */, + F99E0C262B7A733000D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h */, + F99E0C272B7A733000D55EF8 /* DBTEAMLOGOpenNoteSharedType.h */, + F99E0C282B7A733000D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h */, + F99E0C292B7A733000D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h */, + F99E0C2A2B7A733000D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h */, + F99E0C2B2B7A733000D55EF8 /* DBTEAMLOGFileTransfersPolicy.h */, + F99E0C2C2B7A733000D55EF8 /* DBTEAMLOGSharingMemberPolicy.h */, + F99E0C2D2B7A733000D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h */, + F99E0C2E2B7A733000D55EF8 /* DBTEAMLOGAccountState.h */, + F99E0C2F2B7A733000D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h */, + F99E0C302B7A733000D55EF8 /* DBTEAMLOGEventDetails.h */, + F99E0C312B7A733000D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h */, + F99E0C322B7A733000D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h */, + F99E0C332B7A733000D55EF8 /* DBTEAMLOGExternalUserLogInfo.h */, + F99E0C342B7A733000D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h */, + F99E0C352B7A733000D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h */, + F99E0C362B7A733000D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h */, + F99E0C372B7A733000D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h */, + F99E0C382B7A733000D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h */, + F99E0C392B7A733000D55EF8 /* DBTEAMLOGIntegrationPolicy.h */, + F99E0C3A2B7A733000D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h */, + F99E0C3B2B7A733000D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h */, + F99E0C3C2B7A733000D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h */, + F99E0C3D2B7A733000D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h */, + F99E0C3E2B7A733000D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h */, + F99E0C3F2B7A733000D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h */, + F99E0C402B7A733000D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h */, + F99E0C412B7A733000D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h */, + F99E0C422B7A733000D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h */, + F99E0C432B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h */, + F99E0C442B7A733000D55EF8 /* DBTEAMLOGEmailIngestPolicy.h */, + F99E0C452B7A733000D55EF8 /* DBTEAMLOGPassPolicy.h */, + F99E0C462B7A733000D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h */, + F99E0C472B7A733000D55EF8 /* DBTEAMLOGFileRequestDeleteType.h */, + F99E0C482B7A733000D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h */, + F99E0C492B7A733000D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h */, + F99E0C4A2B7A733000D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h */, + F99E0C4B2B7A733000D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h */, + F99E0C4C2B7A733000D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h */, + F99E0C4D2B7A733000D55EF8 /* DBTEAMLOGPaperDocTrashedType.h */, + F99E0C4E2B7A733000D55EF8 /* DBTEAMLOGSharedContentCopyType.h */, + F99E0C4F2B7A733000D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h */, + F99E0C502B7A733000D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h */, + F99E0C512B7A733000D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h */, + F99E0C522B7A733000D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h */, + F99E0C532B7A733000D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h */, + F99E0C542B7A733000D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h */, + F99E0C552B7A733000D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h */, + F99E0C562B7A733000D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h */, + F99E0C572B7A733000D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h */, + F99E0C582B7A733000D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h */, + F99E0C592B7A733000D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h */, + F99E0C5A2B7A733000D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h */, + F99E0C5B2B7A733000D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h */, + F99E0C5C2B7A733000D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h */, + F99E0C5D2B7A733000D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h */, + F99E0C5E2B7A733000D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h */, + F99E0C5F2B7A733000D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h */, + F99E0C602B7A733000D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h */, + F99E0C612B7A733000D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h */, + F99E0C622B7A733000D55EF8 /* DBTEAMLOGTeamEvent.h */, + F99E0C632B7A733000D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h */, + F99E0C642B7A733000D55EF8 /* DBTEAMLOGLoginSuccessDetails.h */, + F99E0C652B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h */, + F99E0C662B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h */, + F99E0C672B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h */, + F99E0C682B7A733100D55EF8 /* DBTEAMLOGFileEditCommentType.h */, + F99E0C692B7A733100D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h */, + F99E0C6A2B7A733100D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h */, + F99E0C6B2B7A733100D55EF8 /* DBTEAMLOGNoteSharedDetails.h */, + F99E0C6C2B7A733100D55EF8 /* DBTEAMLOGFileEditDetails.h */, + F99E0C6D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h */, + F99E0C6E2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h */, + F99E0C6F2B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h */, + F99E0C702B7A733100D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h */, + F99E0C712B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h */, + F99E0C722B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h */, + F99E0C732B7A733100D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h */, + F99E0C742B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h */, + F99E0C752B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h */, + F99E0C762B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h */, + F99E0C772B7A733100D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h */, + F99E0C782B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h */, + F99E0C792B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h */, + F99E0C7A2B7A733100D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h */, + F99E0C7B2B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveType.h */, + F99E0C7C2B7A733100D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h */, + F99E0C7D2B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h */, + F99E0C7E2B7A733100D55EF8 /* DBTEAMLOGGroupMovedDetails.h */, + F99E0C7F2B7A733100D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h */, + F99E0C802B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h */, + F99E0C812B7A733100D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h */, + F99E0C822B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h */, + F99E0C832B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h */, + F99E0C842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h */, + F99E0C852B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h */, + F99E0C862B7A733100D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h */, + F99E0C872B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h */, + F99E0C882B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h */, + F99E0C892B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h */, + F99E0C8A2B7A733100D55EF8 /* DBTEAMLOGShowcaseViewType.h */, + F99E0C8B2B7A733100D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h */, + F99E0C8C2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h */, + F99E0C8D2B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h */, + F99E0C8E2B7A733100D55EF8 /* DBTEAMLOGLogoutType.h */, + F99E0C8F2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h */, + F99E0C902B7A733100D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h */, + F99E0C912B7A733100D55EF8 /* DBTEAMLOGDeviceLinkFailType.h */, + F99E0C922B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h */, + F99E0C932B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h */, + F99E0C942B7A733100D55EF8 /* DBTEAMLOGFileDownloadDetails.h */, + F99E0C952B7A733100D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h */, + F99E0C962B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionType.h */, + F99E0C972B7A733100D55EF8 /* DBTEAMLOGTeamDetails.h */, + F99E0C982B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h */, + F99E0C992B7A733100D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h */, + F99E0C9A2B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h */, + F99E0C9B2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h */, + F99E0C9C2B7A733100D55EF8 /* DBTEAMLOGGroupDeleteDetails.h */, + F99E0C9D2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h */, + F99E0C9E2B7A733100D55EF8 /* DBTEAMLOGPasswordResetType.h */, + F99E0C9F2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h */, + F99E0CA02B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h */, + F99E0CA12B7A733100D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h */, + F99E0CA22B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h */, + F99E0CA32B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h */, + F99E0CA42B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h */, + F99E0CA52B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h */, + F99E0CA62B7A733100D55EF8 /* DBTEAMLOGResellerLogInfo.h */, + F99E0CA72B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h */, + F99E0CA82B7A733100D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h */, + F99E0CA92B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h */, + F99E0CAA2B7A733100D55EF8 /* DBTEAMLOGFedExtraDetails.h */, + F99E0CAB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h */, + F99E0CAC2B7A733100D55EF8 /* DBTEAMLOGBinderReorderPageType.h */, + F99E0CAD2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h */, + F99E0CAE2B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h */, + F99E0CAF2B7A733100D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h */, + F99E0CB02B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h */, + F99E0CB12B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h */, + F99E0CB22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h */, + F99E0CB32B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h */, + F99E0CB42B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h */, + F99E0CB52B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h */, + F99E0CB62B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h */, + F99E0CB72B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h */, + F99E0CB82B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h */, + F99E0CB92B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h */, + F99E0CBA2B7A733100D55EF8 /* DBTEAMLOGFilePreviewType.h */, + F99E0CBB2B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h */, + F99E0CBC2B7A733100D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h */, + F99E0CBD2B7A733100D55EF8 /* DBTEAMLOGPaperMemberPolicy.h */, + F99E0CBE2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h */, + F99E0CBF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h */, + F99E0CC02B7A733100D55EF8 /* DBTEAMLOGFedAdminRole.h */, + F99E0CC12B7A733100D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h */, + F99E0CC22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h */, + F99E0CC32B7A733100D55EF8 /* DBTEAMLOGResellerSupportPolicy.h */, + F99E0CC42B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h */, + F99E0CC52B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h */, + F99E0CC62B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkType.h */, + F99E0CC72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h */, + F99E0CC82B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h */, + F99E0CC92B7A733100D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h */, + F99E0CCA2B7A733100D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h */, + F99E0CCB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h */, + F99E0CCC2B7A733100D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h */, + F99E0CCD2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h */, + F99E0CCE2B7A733100D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h */, + F99E0CCF2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h */, + F99E0CD02B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h */, + F99E0CD12B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h */, + F99E0CD22B7A733100D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h */, + F99E0CD32B7A733100D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h */, + F99E0CD42B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h */, + F99E0CD52B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h */, + F99E0CD62B7A733100D55EF8 /* DBTEAMLOGParticipantLogInfo.h */, + F99E0CD72B7A733100D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h */, + F99E0CD82B7A733100D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h */, + F99E0CD92B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h */, + F99E0CDA2B7A733100D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h */, + F99E0CDB2B7A733100D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h */, + F99E0CDC2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h */, + F99E0CDD2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h */, + F99E0CDE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h */, + F99E0CDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h */, + F99E0CE02B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h */, + F99E0CE12B7A733100D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h */, + F99E0CE22B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h */, + F99E0CE32B7A733100D55EF8 /* DBTEAMLOGTfaResetDetails.h */, + F99E0CE42B7A733100D55EF8 /* DBTEAMLOGGroupCreateDetails.h */, + F99E0CE52B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h */, + F99E0CE62B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h */, + F99E0CE72B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h */, + F99E0CE82B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h */, + F99E0CE92B7A733100D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h */, + F99E0CEA2B7A733100D55EF8 /* DBTEAMLOGTfaConfiguration.h */, + F99E0CEB2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h */, + F99E0CEC2B7A733100D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h */, + F99E0CED2B7A733100D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h */, + F99E0CEE2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h */, + F99E0CEF2B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h */, + F99E0CF02B7A733100D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h */, + F99E0CF12B7A733100D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h */, + F99E0CF22B7A733100D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h */, + F99E0CF32B7A733100D55EF8 /* DBTEAMLOGSsoAddCertDetails.h */, + F99E0CF42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h */, + F99E0CF52B7A733100D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h */, + F99E0CF62B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h */, + F99E0CF72B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h */, + F99E0CF82B7A733100D55EF8 /* DBTEAMLOGPlacementRestriction.h */, + F99E0CF92B7A733100D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h */, + F99E0CFA2B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h */, + F99E0CFB2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h */, + F99E0CFC2B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h */, + F99E0CFD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h */, + F99E0CFE2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h */, + F99E0CFF2B7A733100D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h */, + F99E0D002B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h */, + F99E0D012B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertType.h */, + F99E0D022B7A733100D55EF8 /* DBTEAMLOGPaperDocEditDetails.h */, + F99E0D032B7A733100D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h */, + F99E0D042B7A733100D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h */, + F99E0D052B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h */, + F99E0D062B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h */, + F99E0D072B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h */, + F99E0D082B7A733100D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h */, + F99E0D092B7A733100D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h */, + F99E0D0A2B7A733100D55EF8 /* DBTEAMLOGDurationLogInfo.h */, + F99E0D0B2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h */, + F99E0D0C2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h */, + F99E0D0D2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h */, + F99E0D0E2B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h */, + F99E0D0F2B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h */, + F99E0D102B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h */, + F99E0D112B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkType.h */, + F99E0D122B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h */, + F99E0D132B7A733100D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h */, + F99E0D142B7A733100D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h */, + F99E0D152B7A733100D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h */, + F99E0D162B7A733100D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h */, + F99E0D172B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h */, + F99E0D182B7A733100D55EF8 /* DBTEAMLOGSsoErrorDetails.h */, + F99E0D192B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h */, + F99E0D1A2B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h */, + F99E0D1B2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h */, + F99E0D1C2B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h */, + F99E0D1D2B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h */, + F99E0D1E2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h */, + F99E0D1F2B7A733100D55EF8 /* DBTEAMLOGTeamFolderRenameType.h */, + F99E0D202B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h */, + F99E0D212B7A733100D55EF8 /* DBTEAMLOGGroupRenameDetails.h */, + F99E0D222B7A733100D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h */, + F99E0D232B7A733100D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h */, + F99E0D242B7A733100D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h */, + F99E0D252B7A733100D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h */, + F99E0D262B7A733100D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h */, + F99E0D272B7A733100D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h */, + F99E0D282B7A733100D55EF8 /* DBTEAMLOGBinderAddSectionType.h */, + F99E0D292B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h */, + F99E0D2A2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsError.h */, + F99E0D2B2B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteType.h */, + F99E0D2C2B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h */, + F99E0D2D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h */, + F99E0D2E2B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h */, + F99E0D2F2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailType.h */, + F99E0D302B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h */, + F99E0D312B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h */, + F99E0D322B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h */, + F99E0D332B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h */, + F99E0D342B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h */, + F99E0D352B7A733100D55EF8 /* DBTEAMLOGPaperDocEditType.h */, + F99E0D362B7A733100D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h */, + F99E0D372B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h */, + F99E0D382B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h */, + F99E0D392B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h */, + F99E0D3A2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h */, + F99E0D3B2B7A733100D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h */, + F99E0D3C2B7A733100D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h */, + F99E0D3D2B7A733100D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h */, + F99E0D3E2B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h */, + F99E0D3F2B7A733100D55EF8 /* DBTEAMLOGIdentifierType.h */, + F99E0D402B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h */, + F99E0D412B7A733100D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h */, + F99E0D422B7A733100D55EF8 /* DBTEAMLOGConnectedTeamName.h */, + F99E0D432B7A733100D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h */, + F99E0D442B7A733100D55EF8 /* DBTEAMLOGTeamMergeFromType.h */, + F99E0D452B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h */, + F99E0D462B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h */, + F99E0D472B7A733100D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h */, + F99E0D482B7A733100D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h */, + F99E0D492B7A733100D55EF8 /* DBTEAMLOGGroupCreateType.h */, + F99E0D4A2B7A733100D55EF8 /* DBTEAMLOGTeamMembershipType.h */, + F99E0D4B2B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h */, + F99E0D4C2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h */, + F99E0D4D2B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h */, + F99E0D4E2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h */, + F99E0D4F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h */, + F99E0D502B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h */, + F99E0D512B7A733100D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h */, + F99E0D522B7A733100D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h */, + F99E0D532B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h */, + F99E0D542B7A733100D55EF8 /* DBTEAMLOGClassificationCreateReportType.h */, + F99E0D552B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h */, + F99E0D562B7A733100D55EF8 /* DBTEAMLOGEmmAddExceptionType.h */, + F99E0D572B7A733100D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h */, + F99E0D582B7A733100D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h */, + F99E0D592B7A733100D55EF8 /* DBTEAMLOGPaperDocFollowedType.h */, + F99E0D5A2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h */, + F99E0D5B2B7A733100D55EF8 /* DBTEAMLOGBinderRenamePageType.h */, + F99E0D5C2B7A733100D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h */, + F99E0D5D2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h */, + F99E0D5E2B7A733100D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h */, + F99E0D5F2B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h */, + F99E0D602B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h */, + F99E0D612B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyType.h */, + F99E0D622B7A733100D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h */, + F99E0D632B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h */, + F99E0D642B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h */, + F99E0D652B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h */, + F99E0D662B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h */, + F99E0D672B7A733100D55EF8 /* DBTEAMLOGActionDetails.h */, + F99E0D682B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h */, + F99E0D692B7A733100D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h */, + F99E0D6A2B7A733100D55EF8 /* DBTEAMLOGLabelType.h */, + F99E0D6B2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h */, + F99E0D6C2B7A733100D55EF8 /* DBTEAMLOGFileRequestDetails.h */, + F99E0D6D2B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h */, + F99E0D6E2B7A733100D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h */, + F99E0D6F2B7A733100D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h */, + F99E0D702B7A733100D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h */, + F99E0D712B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h */, + F99E0D722B7A733100D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h */, + F99E0D732B7A733100D55EF8 /* DBTEAMLOGMissingDetails.h */, + F99E0D742B7A733100D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h */, + F99E0D752B7A733100D55EF8 /* DBTEAMLOGOrganizationName.h */, + F99E0D762B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h */, + F99E0D772B7A733100D55EF8 /* DBTEAMLOGEmmErrorDetails.h */, + F99E0D782B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h */, + F99E0D792B7A733100D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h */, + F99E0D7A2B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h */, + F99E0D7B2B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h */, + F99E0D7C2B7A733100D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h */, + F99E0D7D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h */, + F99E0D7E2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h */, + F99E0D7F2B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageType.h */, + F99E0D802B7A733100D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h */, + F99E0D812B7A733100D55EF8 /* DBTEAMLOGPasswordResetDetails.h */, + F99E0D822B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h */, + F99E0D832B7A733100D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h */, + F99E0D842B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h */, + F99E0D852B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h */, + F99E0D862B7A733100D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h */, + F99E0D872B7A733100D55EF8 /* DBTEAMLOGNetworkControlPolicy.h */, + F99E0D882B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h */, + F99E0D892B7A733100D55EF8 /* DBTEAMLOGFolderLogInfo.h */, + F99E0D8A2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h */, + F99E0D8B2B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h */, + F99E0D8C2B7A733100D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h */, + F99E0D8D2B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h */, + F99E0D8E2B7A733100D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h */, + F99E0D8F2B7A733100D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h */, + F99E0D902B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h */, + F99E0D912B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h */, + F99E0D922B7A733100D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h */, + F99E0D932B7A733100D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h */, + F99E0D942B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h */, + F99E0D952B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h */, + F99E0D962B7A733100D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h */, + F99E0D972B7A733100D55EF8 /* DBTEAMLOGGroupAddMemberType.h */, + F99E0D982B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h */, + F99E0D992B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h */, + F99E0D9A2B7A733100D55EF8 /* DBTEAMLOGEmmErrorType.h */, + F99E0D9B2B7A733100D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h */, + F99E0D9C2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h */, + F99E0D9D2B7A733100D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h */, + F99E0D9E2B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyType.h */, + F99E0D9F2B7A733100D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h */, + F99E0DA02B7A733100D55EF8 /* DBTEAMLOGSharedLinkVisibility.h */, + F99E0DA12B7A733100D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h */, + F99E0DA22B7A733100D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h */, + F99E0DA32B7A733100D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h */, + F99E0DA42B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h */, + F99E0DA52B7A733100D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h */, + F99E0DA62B7A733100D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h */, + F99E0DA72B7A733100D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h */, + F99E0DA82B7A733100D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h */, + F99E0DA92B7A733100D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h */, + F99E0DAA2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h */, + F99E0DAB2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h */, + F99E0DAC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h */, + F99E0DAD2B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h */, + F99E0DAE2B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamType.h */, + F99E0DAF2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h */, + F99E0DB02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h */, + F99E0DB12B7A733100D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h */, + F99E0DB22B7A733100D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h */, + F99E0DB32B7A733100D55EF8 /* DBTEAMLOGSharedContentViewDetails.h */, + F99E0DB42B7A733100D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h */, + F99E0DB52B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h */, + F99E0DB62B7A733100D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h */, + F99E0DB72B7A733100D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h */, + F99E0DB82B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h */, + F99E0DB92B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h */, + F99E0DBA2B7A733100D55EF8 /* DBTEAMLOGOrganizationDetails.h */, + F99E0DBB2B7A733100D55EF8 /* DBTEAMLOGJoinTeamDetails.h */, + F99E0DBC2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h */, + F99E0DBD2B7A733100D55EF8 /* DBTEAMLOGMemberChangeEmailType.h */, + F99E0DBE2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h */, + F99E0DBF2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h */, + F99E0DC02B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h */, + F99E0DC12B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h */, + F99E0DC22B7A733100D55EF8 /* DBTEAMLOGPaperContentCreateType.h */, + F99E0DC32B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h */, + F99E0DC42B7A733100D55EF8 /* DBTEAMLOGAppLinkUserType.h */, + F99E0DC52B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h */, + F99E0DC62B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h */, + F99E0DC72B7A733100D55EF8 /* DBTEAMLOGFileAddCommentDetails.h */, + F99E0DC82B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h */, + F99E0DC92B7A733100D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h */, + F99E0DCA2B7A733100D55EF8 /* DBTEAMLOGFileRevertType.h */, + F99E0DCB2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h */, + F99E0DCC2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h */, + F99E0DCD2B7A733100D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h */, + F99E0DCE2B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h */, + F99E0DCF2B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h */, + F99E0DD02B7A733100D55EF8 /* DBTEAMLOGPaperDocViewType.h */, + F99E0DD12B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h */, + F99E0DD22B7A733100D55EF8 /* DBTEAMLOGAccountCapturePolicy.h */, + F99E0DD32B7A733100D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h */, + F99E0DD42B7A733100D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h */, + F99E0DD52B7A733100D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h */, + F99E0DD62B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h */, + F99E0DD72B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h */, + F99E0DD82B7A733100D55EF8 /* DBTEAMLOGMemberChangeStatusType.h */, + F99E0DD92B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h */, + F99E0DDA2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h */, + F99E0DDB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h */, + F99E0DDC2B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h */, + F99E0DDD2B7A733100D55EF8 /* DBTEAMLOGFileLogInfo.h */, + F99E0DDE2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h */, + F99E0DDF2B7A733100D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h */, + F99E0DE02B7A733100D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h */, + F99E0DE12B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h */, + F99E0DE22B7A733100D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h */, + F99E0DE32B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h */, + F99E0DE42B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h */, + F99E0DE52B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedType.h */, + F99E0DE62B7A733100D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h */, + F99E0DE72B7A733100D55EF8 /* DBTEAMLOGTimeUnit.h */, + F99E0DE82B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h */, + F99E0DE92B7A733100D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h */, + F99E0DEA2B7A733100D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h */, + F99E0DEB2B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h */, + F99E0DEC2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h */, + F99E0DED2B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h */, + F99E0DEE2B7A733100D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h */, + F99E0DEF2B7A733100D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h */, + F99E0DF02B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h */, + F99E0DF12B7A733100D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h */, + F99E0DF22B7A733100D55EF8 /* DBTEAMLOGAdminRole.h */, + F99E0DF32B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h */, + F99E0DF42B7A733100D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h */, + F99E0DF52B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h */, + F99E0DF62B7A733100D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h */, + F99E0DF72B7A733100D55EF8 /* DBTEAMLOGPaperDocViewDetails.h */, + F99E0DF82B7A733100D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h */, + F99E0DF92B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h */, + F99E0DFA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h */, + F99E0DFB2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h */, + F99E0DFC2B7A733100D55EF8 /* DBTEAMLOGPaperAccessType.h */, + F99E0DFD2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h */, + F99E0DFE2B7A733100D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h */, + F99E0DFF2B7A733100D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h */, + F99E0E002B7A733100D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h */, + F99E0E012B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h */, + F99E0E022B7A733100D55EF8 /* DBTEAMLOGSharingLinkPolicy.h */, + F99E0E032B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h */, + F99E0E042B7A733100D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h */, + F99E0E052B7A733100D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h */, + F99E0E062B7A733100D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h */, + F99E0E072B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h */, + F99E0E082B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h */, + F99E0E092B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h */, + F99E0E0A2B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h */, + F99E0E0B2B7A733100D55EF8 /* DBTEAMLOGTeamInviteDetails.h */, + F99E0E0C2B7A733100D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h */, + F99E0E0D2B7A733100D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h */, + F99E0E0E2B7A733100D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h */, + F99E0E0F2B7A733100D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h */, + F99E0E102B7A733100D55EF8 /* DBTEAMLOGDeviceType.h */, + F99E0E112B7A733100D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h */, + F99E0E122B7A733100D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h */, + F99E0E132B7A733100D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h */, + F99E0E142B7A733100D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h */, + F99E0E152B7A733100D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h */, + F99E0E162B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h */, + F99E0E172B7A733100D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h */, + F99E0E182B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h */, + F99E0E192B7A733100D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h */, + F99E0E1A2B7A733100D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h */, + F99E0E1B2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h */, + F99E0E1C2B7A733100D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h */, + F99E0E1D2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h */, + F99E0E1E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h */, + F99E0E1F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h */, + F99E0E202B7A733100D55EF8 /* DBTEAMLOGEventType.h */, + F99E0E212B7A733100D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h */, + F99E0E222B7A733100D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h */, + F99E0E232B7A733100D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h */, + F99E0E242B7A733100D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h */, + F99E0E252B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h */, + F99E0E262B7A733100D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h */, + F99E0E272B7A733100D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h */, + F99E0E282B7A733100D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h */, + F99E0E292B7A733100D55EF8 /* DBTEAMLOGMemberSuggestDetails.h */, + F99E0E2A2B7A733100D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h */, + F99E0E2B2B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h */, + F99E0E2C2B7A733100D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h */, + F99E0E2D2B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h */, + F99E0E2E2B7A733100D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h */, + F99E0E2F2B7A733100D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h */, + F99E0E302B7A733100D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h */, + F99E0E312B7A733100D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h */, + F99E0E322B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h */, + F99E0E332B7A733100D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h */, + F99E0E342B7A733100D55EF8 /* DBTEAMLOGBinderAddPageType.h */, + F99E0E352B7A733100D55EF8 /* DBTEAMLOGPasswordChangeType.h */, + F99E0E362B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h */, + F99E0E372B7A733100D55EF8 /* DBTEAMLOGTeamMergeToType.h */, + F99E0E382B7A733100D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h */, + F99E0E392B7A733100D55EF8 /* DBTEAMLOGShmodelGroupShareType.h */, + F99E0E3A2B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameType.h */, + F99E0E3B2B7A733100D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h */, + F99E0E3C2B7A733100D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h */, + F99E0E3D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h */, + F99E0E3E2B7A733100D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h */, + F99E0E3F2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h */, + F99E0E402B7A733100D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h */, + F99E0E412B7A733100D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h */, + F99E0E422B7A733100D55EF8 /* DBTEAMLOGFileMoveDetails.h */, + F99E0E432B7A733100D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h */, + F99E0E442B7A733100D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h */, + F99E0E452B7A733100D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h */, + F99E0E462B7A733100D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h */, + F99E0E472B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h */, + F99E0E482B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h */, + F99E0E492B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h */, + F99E0E4A2B7A733100D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h */, + F99E0E4B2B7A733100D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h */, + F99E0E4C2B7A733100D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h */, + F99E0E4D2B7A733100D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h */, + F99E0E4E2B7A733100D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h */, + F99E0E4F2B7A733100D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h */, + F99E0E502B7A733100D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h */, + F99E0E512B7A733100D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h */, + F99E0E522B7A733100D55EF8 /* DBTEAMLOGFileDownloadType.h */, + F99E0E532B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h */, + F99E0E542B7A733100D55EF8 /* DBTEAMLOGEventCategory.h */, + F99E0E552B7A733100D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h */, + F99E0E562B7A733100D55EF8 /* DBTEAMLOGSharedLinkDisableType.h */, + F99E0E572B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h */, + F99E0E582B7A733100D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h */, + F99E0E592B7A733100D55EF8 /* DBTEAMLOGSharedContentViewType.h */, + F99E0E5A2B7A733100D55EF8 /* DBTEAMLOGSharedFolderMountType.h */, + F99E0E5B2B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h */, + F99E0E5C2B7A733100D55EF8 /* DBTEAMLOGCreateFolderType.h */, + F99E0E5D2B7A733100D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h */, + F99E0E5E2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h */, + F99E0E5F2B7A733100D55EF8 /* DBTEAMLOGFilePreviewDetails.h */, + F99E0E602B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h */, + F99E0E612B7A733100D55EF8 /* DBTEAMLOGExportMembersReportDetails.h */, + F99E0E622B7A733100D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h */, + F99E0E632B7A733100D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h */, + F99E0E642B7A733100D55EF8 /* DBTEAMLOGUserNameLogInfo.h */, + F99E0E652B7A733100D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h */, + F99E0E662B7A733100D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h */, + F99E0E672B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h */, + F99E0E682B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h */, + F99E0E692B7A733100D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h */, + F99E0E6A2B7A733100D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h */, + F99E0E6B2B7A733100D55EF8 /* DBTEAMLOGFileEditType.h */, + F99E0E6C2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedType.h */, + F99E0E6D2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h */, + F99E0E6E2B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h */, + F99E0E6F2B7A733100D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h */, + F99E0E702B7A733100D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h */, + F99E0E712B7A733100D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h */, + F99E0E722B7A733100D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h */, + F99E0E732B7A733100D55EF8 /* DBTEAMLOGCollectionShareType.h */, + F99E0E742B7A733100D55EF8 /* DBTEAMLOGFileRestoreType.h */, + F99E0E752B7A733100D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h */, + F99E0E762B7A733100D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h */, + F99E0E772B7A733100D55EF8 /* DBTEAMLOGGroupJoinPolicy.h */, + F99E0E782B7A733100D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h */, + F99E0E792B7A733100D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h */, + F99E0E7A2B7A733100D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h */, + F99E0E7B2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h */, + F99E0E7C2B7A733100D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h */, + F99E0E7D2B7A733100D55EF8 /* DBTEAMLOGGetTeamEventsArg.h */, + F99E0E7E2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportType.h */, + F99E0E7F2B7A733100D55EF8 /* DBTEAMLOGMemberSuggestType.h */, + F99E0E802B7A733100D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h */, + F99E0E812B7A733100D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h */, + F99E0E822B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionType.h */, + F99E0E832B7A733100D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h */, + F99E0E842B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h */, + F99E0E852B7A733100D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h */, + F99E0E862B7A733100D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h */, + F99E0E872B7A733100D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h */, + F99E0E882B7A733100D55EF8 /* DBTEAMLOGSfInviteGroupType.h */, + F99E0E892B7A733100D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h */, + F99E0E8A2B7A733100D55EF8 /* DBTEAMLOGTeamName.h */, + F99E0E8B2B7A733100D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h */, + F99E0E8C2B7A733100D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h */, + F99E0E8D2B7A733100D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h */, + F99E0E8E2B7A733100D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h */, + F99E0E8F2B7A733100D55EF8 /* DBTEAMLOGSsoChangePolicyType.h */, + F99E0E902B7A733100D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h */, + F99E0E912B7A733100D55EF8 /* DBTEAMLOGClassificationType.h */, + F99E0E922B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h */, + F99E0E932B7A733100D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h */, + F99E0E942B7A733100D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h */, + F99E0E952B7A733100D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h */, + F99E0E962B7A733100D55EF8 /* DBTEAMLOGEventTypeArg.h */, + F99E0E972B7A733100D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h */, + F99E0E982B7A733100D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h */, + F99E0E992B7A733100D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h */, + F99E0E9A2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h */, + F99E0E9B2B7A733100D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h */, + F99E0E9C2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h */, + F99E0E9D2B7A733100D55EF8 /* DBTEAMLOGFileRollbackChangesType.h */, + F99E0E9E2B7A733100D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h */, + F99E0E9F2B7A733100D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h */, + F99E0EA02B7A733100D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h */, + F99E0EA12B7A733100D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h */, + F99E0EA22B7A733100D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h */, + F99E0EA32B7A733100D55EF8 /* DBTEAMLOGShowcasePostCommentType.h */, + F99E0EA42B7A733100D55EF8 /* DBTEAMLOGPaperContentRenameType.h */, + F99E0EA52B7A733100D55EF8 /* DBTEAMLOGSsoErrorType.h */, + F99E0EA62B7A733100D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h */, + F99E0EA72B7A733100D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h */, + F99E0EA82B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h */, + F99E0EA92B7A733100D55EF8 /* DBTEAMLOGAppLinkUserDetails.h */, + F99E0EAA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h */, + F99E0EAB2B7A733100D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h */, + F99E0EAC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h */, + F99E0EAD2B7A733100D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h */, + F99E0EAE2B7A733100D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h */, + F99E0EAF2B7A733100D55EF8 /* DBTEAMLOGAssetLogInfo.h */, + F99E0EB02B7A733100D55EF8 /* DBTEAMLOGFileRequestDeadline.h */, + F99E0EB12B7A733100D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h */, + F99E0EB22B7A733100D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h */, + F99E0EB32B7A733100D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h */, + F99E0EB42B7A733100D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h */, + F99E0EB52B7A733100D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h */, + F99E0EB62B7A733100D55EF8 /* DBTEAMLOGSfAddGroupDetails.h */, + F99E0EB72B7A733100D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h */, + F99E0EB82B7A733100D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h */, + F99E0EB92B7A733100D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h */, + F99E0EBA2B7A733100D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h */, + F99E0EBB2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h */, + F99E0EBC2B7A733100D55EF8 /* DBTEAMLOGPasswordChangeDetails.h */, + F99E0EBD2B7A733100D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h */, + F99E0EBE2B7A733100D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h */, + F99E0EBF2B7A733100D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h */, + F99E0EC02B7A733100D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h */, + F99E0EC12B7A733100D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h */, + F99E0EC22B7A733100D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h */, + F99E0EC32B7A733100D55EF8 /* DBTEAMLOGSharedLinkCopyType.h */, + F99E0EC42B7A733100D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h */, + F99E0EC52B7A733100D55EF8 /* DBTEAMLOGAppLogInfo.h */, + F99E0EC62B7A733100D55EF8 /* DBTEAMLOGGroupRenameType.h */, + F99E0EC72B7A733100D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h */, + F99E0EC82B7A733100D55EF8 /* DBTEAMLOGSharedLinkCreateType.h */, + F99E0EC92B7A733100D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h */, + F99E0ECA2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h */, + F99E0ECB2B7A733100D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h */, + F99E0ECC2B7A733100D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h */, + F99E0ECD2B7A733100D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h */, + F99E0ECE2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h */, + F99E0ECF2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h */, + F99E0ED02B7A733100D55EF8 /* DBTEAMLOGPaperDocDownloadType.h */, + F99E0ED12B7A733100D55EF8 /* DBTEAMLOGSharedFolderCreateType.h */, + F99E0ED22B7A733100D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h */, + F99E0ED32B7A733100D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h */, + F99E0ED42B7A733100D55EF8 /* DBTEAMLOGQuickActionType.h */, + F99E0ED52B7A733100D55EF8 /* DBTEAMLOGLoginMethod.h */, + F99E0ED62B7A733100D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h */, + F99E0ED72B7A733100D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h */, + F99E0ED82B7A733100D55EF8 /* DBTEAMLOGSharedFolderNestType.h */, + F99E0ED92B7A733100D55EF8 /* DBTEAMLOGFileDeleteCommentType.h */, + F99E0EDA2B7A733100D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h */, + F99E0EDB2B7A733100D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h */, + F99E0EDC2B7A733100D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h */, + F99E0EDD2B7A733100D55EF8 /* DBTEAMLOGTeamMergeToDetails.h */, + F99E0EDE2B7A733100D55EF8 /* DBTEAMLOGPasswordResetAllType.h */, + F99E0EDF2B7A733100D55EF8 /* DBTEAMLOGFileRenameDetails.h */, + F99E0EE02B7A733100D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h */, + F99E0EE12B7A733100D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h */, + F99E0EE22B7A733100D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h */, + F99E0EE32B7A733100D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h */, + F99E0EE42B7A733100D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h */, + F99E0EE52B7A733100D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h */, + F99E0EE62B7A733100D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h */, + F99E0EE72B7A733100D55EF8 /* DBTEAMLOGPaperDocRevertType.h */, + F99E0EE82B7A733100D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h */, + F99E0EE92B7A733100D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h */, + F99E0EEA2B7A733100D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h */, + F99E0EEB2B7A733100D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h */, + F99E0EEC2B7A733100D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h */, + F99E0EED2B7A733100D55EF8 /* DBTEAMLOGFileRequestCreateType.h */, + F99E0EEE2B7A733100D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h */, + F99E0EEF2B7A733200D55EF8 /* DBTEAMLOGFedHandshakeAction.h */, + F99E0EF02B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h */, + F99E0EF12B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h */, + F99E0EF22B7A733200D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h */, + F99E0EF32B7A733200D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h */, + F99E0EF42B7A733200D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h */, + F99E0EF52B7A733200D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h */, + F99E0EF62B7A733200D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h */, + F99E0EF72B7A733200D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h */, + F99E0EF82B7A733200D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h */, + F99E0EF92B7A733200D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h */, + F99E0EFA2B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h */, + F99E0EFB2B7A733200D55EF8 /* DBTEAMLOGGetTeamEventsResult.h */, + F99E0EFC2B7A733200D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h */, + F99E0EFD2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h */, + F99E0EFE2B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteType.h */, + F99E0EFF2B7A733200D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h */, + F99E0F002B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h */, + F99E0F012B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h */, + F99E0F022B7A733200D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h */, + F99E0F032B7A733200D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h */, + F99E0F042B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h */, + F99E0F052B7A733200D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h */, + F99E0F062B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h */, + F99E0F072B7A733200D55EF8 /* DBTEAMLOGLoginFailDetails.h */, + F99E0F082B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h */, + F99E0F092B7A733200D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h */, + F99E0F0A2B7A733200D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h */, + F99E0F0B2B7A733200D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h */, + F99E0F0C2B7A733200D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h */, + F99E0F0D2B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h */, + F99E0F0E2B7A733200D55EF8 /* DBTEAMLOGObjectLabelAddedType.h */, + F99E0F0F2B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h */, + F99E0F102B7A733200D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h */, + F99E0F112B7A733200D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h */, + F99E0F122B7A733200D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h */, + F99E0F132B7A733200D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h */, + F99E0F142B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h */, + F99E0F152B7A733200D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h */, + F99E0F162B7A733200D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h */, + F99E0F172B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h */, + F99E0F182B7A733200D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h */, + F99E0F192B7A733200D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h */, + F99E0F1A2B7A733200D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h */, + F99E0F1B2B7A733200D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h */, + F99E0F1C2B7A733200D55EF8 /* DBTEAMLOGFileDeleteType.h */, + F99E0F1D2B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h */, + F99E0F1E2B7A733200D55EF8 /* DBTEAMLOGSsoAddCertType.h */, + F99E0F1F2B7A733200D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h */, + F99E0F202B7A733200D55EF8 /* DBTEAMLOGCertificate.h */, + F99E0F212B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h */, + F99E0F222B7A733200D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h */, + F99E0F232B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h */, + F99E0F242B7A733200D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h */, + F99E0F252B7A733200D55EF8 /* DBTEAMLOGFileResolveCommentType.h */, + F99E0F262B7A733200D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h */, + F99E0F272B7A733200D55EF8 /* DBTEAMLOGResellerRole.h */, + F99E0F282B7A733200D55EF8 /* DBTEAMLOGCollectionShareDetails.h */, + F99E0F292B7A733200D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h */, + F99E0F2A2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h */, + F99E0F2B2B7A733200D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h */, + F99E0F2C2B7A733200D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h */, + F99E0F2D2B7A733200D55EF8 /* DBTEAMLOGLoginFailType.h */, + F99E0F2E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h */, + F99E0F2F2B7A733200D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h */, + F99E0F302B7A733200D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h */, + F99E0F312B7A733200D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h */, + F99E0F322B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h */, + F99E0F332B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h */, + F99E0F342B7A733200D55EF8 /* DBTEAMLOGIntegrationConnectedType.h */, + F99E0F352B7A733200D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h */, + F99E0F362B7A733200D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h */, + F99E0F372B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h */, + F99E0F382B7A733200D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h */, + F99E0F392B7A733200D55EF8 /* DBTEAMLOGSharedContentUnshareType.h */, + F99E0F3A2B7A733200D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h */, + F99E0F3B2B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h */, + F99E0F3C2B7A733200D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h */, + F99E0F3D2B7A733200D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h */, + F99E0F3E2B7A733200D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h */, + F99E0F3F2B7A733200D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h */, + F99E0F402B7A733200D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h */, + F99E0F412B7A733200D55EF8 /* DBTEAMLOGUserTagsAddedType.h */, + F99E0F422B7A733200D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h */, + F99E0F432B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h */, + F99E0F442B7A733200D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h */, + F99E0F452B7A733200D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h */, + F99E0F462B7A733200D55EF8 /* DBTEAMLOGFileCopyType.h */, + F99E0F472B7A733200D55EF8 /* DBTEAMLOGFileRequestChangeType.h */, + F99E0F482B7A733200D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h */, + F99E0F492B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h */, + F99E0F4A2B7A733200D55EF8 /* DBTEAMLOGPaperDownloadFormat.h */, + F99E0F4B2B7A733200D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h */, + F99E0F4C2B7A733200D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h */, + F99E0F4D2B7A733200D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h */, + F99E0F4E2B7A733200D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h */, + F99E0F4F2B7A733200D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h */, + F99E0F502B7A733200D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h */, + F99E0F512B7A733200D55EF8 /* DBTEAMLOGTwoAccountPolicy.h */, + F99E0F522B7A733200D55EF8 /* DBTEAMLOGMemberStatus.h */, + F99E0F532B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h */, + F99E0F542B7A733200D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h */, + F99E0F552B7A733200D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h */, + F99E0F562B7A733200D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h */, + F99E0F572B7A733200D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h */, + F99E0F582B7A733200D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h */, + F99E0F592B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h */, + F99E0F5A2B7A733200D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h */, + F99E0F5B2B7A733200D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h */, + F99E0F5C2B7A733200D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h */, + F99E0F5D2B7A733200D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h */, + F99E0F5E2B7A733200D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h */, + F99E0F5F2B7A733200D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h */, + F99E0F602B7A733200D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h */, + F99E0F612B7A733200D55EF8 /* DBTEAMLOGPathLogInfo.h */, + F99E0F622B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h */, + F99E0F632B7A733200D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h */, + F99E0F642B7A733200D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h */, + F99E0F652B7A733200D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h */, + F99E0F662B7A733200D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h */, + F99E0F672B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h */, + F99E0F682B7A733200D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h */, + F99E0F692B7A733200D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h */, + F99E0F6A2B7A733200D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h */, + F99E0F6B2B7A733200D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h */, + F99E0F6C2B7A733200D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h */, + F99E0F6D2B7A733200D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h */, + F99E0F6E2B7A733200D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h */, + F99E0F6F2B7A733200D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h */, + F99E0F702B7A733200D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h */, + F99E0F712B7A733200D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h */, + F99E0F722B7A733200D55EF8 /* DBTEAMLOGPaperContentArchiveType.h */, + F99E0F732B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h */, + F99E0F742B7A733200D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h */, + F99E0F752B7A733200D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h */, + F99E0F762B7A733200D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h */, + F99E0F772B7A733200D55EF8 /* DBTEAMLOGPaperContentRestoreType.h */, + F99E0F782B7A733200D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h */, + F99E0F792B7A733200D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h */, + F99E0F7A2B7A733200D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h */, + F99E0F7B2B7A733200D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h */, + F99E0F7C2B7A733200D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h */, + F99E0F7D2B7A733200D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h */, + F99E0F7E2B7A733200D55EF8 /* DBTEAMLOGSpaceCapsType.h */, + F99E0F7F2B7A733200D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h */, + F99E0F802B7A733200D55EF8 /* DBTEAMLOGShowcaseTrashedType.h */, + F99E0F812B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h */, + F99E0F822B7A733200D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h */, + F99E0F832B7A733200D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h */, + F99E0F842B7A733200D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h */, + F99E0F852B7A733200D55EF8 /* DBTEAMLOGFileDeleteDetails.h */, + F99E0F862B7A733200D55EF8 /* DBTEAMLOGFileCopyDetails.h */, + F99E0F872B7A733200D55EF8 /* DBTEAMLOGSfAddGroupType.h */, + F99E0F882B7A733200D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h */, + F99E0F892B7A733200D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h */, + F99E0F8A2B7A733200D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h */, + F99E0F8B2B7A733200D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h */, + F99E0F8C2B7A733200D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h */, + F99E0F8D2B7A733200D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h */, + F99E0F8E2B7A733200D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h */, + F99E0F8F2B7A733200D55EF8 /* DBTEAMLOGLockStatus.h */, + F99E0F902B7A733200D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h */, + F99E0F912B7A733200D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h */, + F99E0F922B7A733200D55EF8 /* DBTEAMLOGActorLogInfo.h */, + F99E0F932B7A733200D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h */, + F99E0F942B7A733200D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h */, + F99E0F952B7A733200D55EF8 /* DBTEAMLOGMemberAddNameDetails.h */, + F99E0F962B7A733200D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h */, + F99E0F972B7A733200D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h */, ); - path = Handwritten; + path = Headers; sourceTree = ""; }; - F29781771E03692800876A73 /* Networking */ = { + F99E0F982B7A733200D55EF8 /* Files */ = { isa = PBXGroup; children = ( - F29781791E03692800876A73 /* DBDelegate.m */, - F2D40D381E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h */, - F2D40D391E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m */, - F2A2CEA51E563268001D8449 /* DBHandlerTypes.h */, - F297817B1E03692800876A73 /* DBRequestErrors.h */, - F297817C1E03692800876A73 /* DBRequestErrors.m */, - F297817E1E03692800876A73 /* DBSDKReachability.m */, - F29781801E03692800876A73 /* DBSessionData.m */, - F29781811E03692800876A73 /* DBTasks.h */, - F29781821E03692800876A73 /* DBTasks.m */, - F29781841E03692800876A73 /* DBTasksImpl.m */, - F2A2CEAB1E5665A1001D8449 /* DBTasksStorage.h */, - F29781861E03692800876A73 /* DBTasksStorage.m */, - F29781891E03692800876A73 /* DBTransportBaseClient.h */, - F297818A1E03692800876A73 /* DBTransportBaseClient.m */, - F24169491E5247D60038E306 /* DBTransportBaseConfig.h */, - F241694A1E5247D60038E306 /* DBTransportBaseConfig.m */, - 3C3C29731F7D757E00C54011 /* DBTransportBaseHostnameConfig.h */, - 3C3C29721F7D757E00C54011 /* DBTransportBaseHostnameConfig.m */, - F297818B1E03692800876A73 /* DBTransportClientProtocol.h */, - F29781871E03692800876A73 /* DBTransportDefaultClient.h */, - F29781881E03692800876A73 /* DBTransportDefaultClient.m */, - F24169451E523FD30038E306 /* DBTransportDefaultConfig.h */, - F24169461E523FEB0038E306 /* DBTransportDefaultConfig.m */, + F99E0F992B7A733200D55EF8 /* DBFilesObjects.m */, + F99E0F9A2B7A733200D55EF8 /* Headers */, ); - path = Networking; + path = Files; sourceTree = ""; }; - F297818C1E03692800876A73 /* OAuth */ = { + F99E0F9A2B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F297818D1E03692800876A73 /* DBOAuthManager.h */, - F297818E1E03692800876A73 /* DBOAuthManager.m */, - F297818F1E03692800876A73 /* DBOAuthResult.h */, - F29781901E03692800876A73 /* DBOAuthResult.m */, - F29781911E03692800876A73 /* DBSDKKeychain.h */, - F29781921E03692800876A73 /* DBSDKKeychain.m */, - F29781931E03692800876A73 /* DBSharedApplicationProtocol.h */, + F99E0F9B2B7A733200D55EF8 /* DBFILESThumbnailError.h */, + F99E0F9C2B7A733200D55EF8 /* DBFILESRelocationBatchResultData.h */, + F99E0F9D2B7A733200D55EF8 /* DBFILESRestoreError.h */, + F99E0F9E2B7A733200D55EF8 /* DBFILESSearchMatch.h */, + F99E0F9F2B7A733200D55EF8 /* DBFILESUploadWriteFailed.h */, + F99E0FA02B7A733200D55EF8 /* DBFILESDownloadZipArg.h */, + F99E0FA12B7A733200D55EF8 /* DBFILESLockFileResultEntry.h */, + F99E0FA22B7A733200D55EF8 /* DBFILESGetTemporaryLinkError.h */, + F99E0FA32B7A733200D55EF8 /* DBFILESImportFormat.h */, + F99E0FA42B7A733200D55EF8 /* DBFILESMetadataV2.h */, + F99E0FA52B7A733200D55EF8 /* DBFILESDeleteBatchResultData.h */, + F99E0FA62B7A733200D55EF8 /* DBFILESSymlinkInfo.h */, + F99E0FA72B7A733200D55EF8 /* DBFILESThumbnailFormat.h */, + F99E0FA82B7A733200D55EF8 /* DBFILESListRevisionsError.h */, + F99E0FA92B7A733200D55EF8 /* DBFILESGetThumbnailBatchError.h */, + F99E0FAA2B7A733200D55EF8 /* DBFILESGetCopyReferenceError.h */, + F99E0FAB2B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h */, + F99E0FAC2B7A733200D55EF8 /* DBFILESSearchMode.h */, + F99E0FAD2B7A733200D55EF8 /* DBFILESRelocationPath.h */, + F99E0FAE2B7A733200D55EF8 /* DBFILESLockFileResult.h */, + F99E0FAF2B7A733200D55EF8 /* DBFILESListFolderLongpollResult.h */, + F99E0FB02B7A733200D55EF8 /* DBFILESFolderSharingInfo.h */, + F99E0FB12B7A733200D55EF8 /* DBFILESSaveUrlError.h */, + F99E0FB22B7A733200D55EF8 /* DBFILESLookupError.h */, + F99E0FB32B7A733200D55EF8 /* DBFILESTag.h */, + F99E0FB42B7A733200D55EF8 /* DBFILESGetTagsResult.h */, + F99E0FB52B7A733200D55EF8 /* DBFILESListFolderLongpollError.h */, + F99E0FB62B7A733200D55EF8 /* DBFILESCreateFolderBatchError.h */, + F99E0FB72B7A733200D55EF8 /* DBFILESSearchMatchTypeV2.h */, + F99E0FB82B7A733200D55EF8 /* DBFILESMetadata.h */, + F99E0FB92B7A733200D55EF8 /* DBFILESPaperUpdateResult.h */, + F99E0FBA2B7A733200D55EF8 /* DBFILESRemoveTagError.h */, + F99E0FBB2B7A733200D55EF8 /* DBFILESDeletedMetadata.h */, + F99E0FBC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchArg.h */, + F99E0FBD2B7A733200D55EF8 /* DBFILESWriteMode.h */, + F99E0FBE2B7A733200D55EF8 /* DBFILESUnlockFileBatchArg.h */, + F99E0FBF2B7A733200D55EF8 /* DBFILESSaveUrlArg.h */, + F99E0FC02B7A733200D55EF8 /* DBFILESGetTagsArg.h */, + F99E0FC12B7A733200D55EF8 /* DBFILESGetTemporaryLinkArg.h */, + F99E0FC22B7A733200D55EF8 /* DBFILESMoveIntoVaultError.h */, + F99E0FC32B7A733200D55EF8 /* DBFILESPathToTags.h */, + F99E0FC42B7A733200D55EF8 /* DBFILESGpsCoordinates.h */, + F99E0FC52B7A733200D55EF8 /* DBFILESGetThumbnailBatchArg.h */, + F99E0FC62B7A733200D55EF8 /* DBFILESCreateFolderBatchJobStatus.h */, + F99E0FC72B7A733200D55EF8 /* DBFILESPaperDocUpdatePolicy.h */, + F99E0FC82B7A733200D55EF8 /* DBFILESVideoMetadata.h */, + F99E0FC92B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h */, + F99E0FCA2B7A733200D55EF8 /* DBFILESFileLockMetadata.h */, + F99E0FCB2B7A733200D55EF8 /* DBFILESRelocationBatchResult.h */, + F99E0FCC2B7A733200D55EF8 /* DBFILESUserGeneratedTag.h */, + F99E0FCD2B7A733200D55EF8 /* DBFILESExportMetadata.h */, + F99E0FCE2B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h */, + F99E0FCF2B7A733200D55EF8 /* DBFILESRelocationArg.h */, + F99E0FD02B7A733200D55EF8 /* DBFILESPaperUpdateError.h */, + F99E0FD12B7A733200D55EF8 /* DBFILESSyncSettingArg.h */, + F99E0FD22B7A733200D55EF8 /* DBFILESRelocationBatchJobStatus.h */, + F99E0FD32B7A733200D55EF8 /* DBFILESSearchV2Result.h */, + F99E0FD42B7A733200D55EF8 /* DBFILESPreviewResult.h */, + F99E0FD52B7A733200D55EF8 /* DBFILESRemoveTagArg.h */, + F99E0FD62B7A733200D55EF8 /* DBFILESPhotoMetadata.h */, + F99E0FD72B7A733200D55EF8 /* DBFILESUploadSessionCursor.h */, + F99E0FD82B7A733200D55EF8 /* DBFILESSearchOptions.h */, + F99E0FD92B7A733200D55EF8 /* DBFILESGetCopyReferenceResult.h */, + F99E0FDA2B7A733200D55EF8 /* DBFILESThumbnailV2Error.h */, + F99E0FDB2B7A733200D55EF8 /* DBFILESPreviewArg.h */, + F99E0FDC2B7A733200D55EF8 /* DBFILESDeleteError.h */, + F99E0FDD2B7A733200D55EF8 /* DBFILESRelocationBatchResultEntry.h */, + F99E0FDE2B7A733200D55EF8 /* DBFILESListRevisionsMode.h */, + F99E0FDF2B7A733200D55EF8 /* DBFILESDeleteBatchArg.h */, + F99E0FE02B7A733200D55EF8 /* DBFILESSaveCopyReferenceArg.h */, + F99E0FE12B7A733200D55EF8 /* DBFILESPaperCreateError.h */, + F99E0FE22B7A733200D55EF8 /* DBFILESPaperContentError.h */, + F99E0FE32B7A733200D55EF8 /* DBFILESCreateFolderError.h */, + F99E0FE42B7A733200D55EF8 /* DBFILESListFolderLongpollArg.h */, + F99E0FE52B7A733200D55EF8 /* DBFILESRelocationBatchV2Result.h */, + F99E0FE62B7A733200D55EF8 /* DBFILESLockConflictError.h */, + F99E0FE72B7A733200D55EF8 /* DBFILESDownloadZipResult.h */, + F99E0FE82B7A733200D55EF8 /* DBFILESMoveBatchArg.h */, + F99E0FE92B7A733200D55EF8 /* DBFILESListFolderGetLatestCursorResult.h */, + F99E0FEA2B7A733200D55EF8 /* DBFILESFolderMetadata.h */, + F99E0FEB2B7A733200D55EF8 /* DBFILESUploadSessionStartArg.h */, + F99E0FEC2B7A733200D55EF8 /* DBFILESMediaMetadata.h */, + F99E0FED2B7A733200D55EF8 /* DBFILESCreateFolderBatchLaunch.h */, + F99E0FEE2B7A733200D55EF8 /* DBFILESRelocationBatchError.h */, + F99E0FEF2B7A733200D55EF8 /* DBFILESCreateFolderEntryResult.h */, + F99E0FF02B7A733200D55EF8 /* DBFILESFileOpsResult.h */, + F99E0FF12B7A733200D55EF8 /* DBFILESRelocationBatchV2JobStatus.h */, + F99E0FF22B7A733200D55EF8 /* DBFILESDeleteBatchResult.h */, + F99E0FF32B7A733200D55EF8 /* DBFILESWriteConflictError.h */, + F99E0FF42B7A733200D55EF8 /* DBFILESFileCategory.h */, + F99E0FF52B7A733200D55EF8 /* DBFILESContentSyncSettingArg.h */, + F99E0FF62B7A733200D55EF8 /* DBFILESLockFileArg.h */, + F99E0FF72B7A733200D55EF8 /* DBFILESMediaInfo.h */, + F99E0FF82B7A733200D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h */, + F99E0FF92B7A733200D55EF8 /* DBFILESRelocationError.h */, + F99E0FFA2B7A733200D55EF8 /* DBFILESThumbnailV2Arg.h */, + F99E0FFB2B7A733200D55EF8 /* DBFILESListRevisionsResult.h */, + F99E0FFC2B7A733200D55EF8 /* DBFILESUploadSessionStartBatchResult.h */, + F99E0FFD2B7A733200D55EF8 /* DBFILESUploadSessionAppendError.h */, + F99E0FFE2B7A733200D55EF8 /* DBFILESUploadSessionLookupError.h */, + F99E0FFF2B7A733200D55EF8 /* DBFILESListFolderResult.h */, + F99E10002B7A733200D55EF8 /* DBFILESThumbnailSize.h */, + F99E10012B7A733200D55EF8 /* DBFILESSyncSettingsError.h */, + F99E10022B7A733200D55EF8 /* DBFILESUploadSessionAppendArg.h */, + F99E10032B7A733200D55EF8 /* DBFILESRelocationResult.h */, + F99E10042B7A733200D55EF8 /* DBFILESRelocationBatchErrorEntry.h */, + F99E10052B7A733200D55EF8 /* DBFILESListRevisionsArg.h */, + F99E10062B7A733200D55EF8 /* DBFILESUnlockFileArg.h */, + F99E10072B7A733200D55EF8 /* DBFILESListFolderContinueArg.h */, + F99E10082B7A733200D55EF8 /* DBFILESDeleteBatchResultEntry.h */, + F99E10092B7A733200D55EF8 /* DBFILESListFolderError.h */, + F99E100A2B7A733200D55EF8 /* DBFILESSearchError.h */, + F99E100B2B7A733200D55EF8 /* DBFILESUploadSessionFinishError.h */, + F99E100C2B7A733200D55EF8 /* DBFILESExportResult.h */, + F99E100D2B7A733200D55EF8 /* DBFILESGetCopyReferenceArg.h */, + F99E100E2B7A733200D55EF8 /* DBFILESContentSyncSetting.h */, + F99E100F2B7A733200D55EF8 /* DBFILESFileLockContent.h */, + F99E10102B7A733200D55EF8 /* DBFILESHighlightSpan.h */, + F99E10112B7A733200D55EF8 /* DBFILESDimensions.h */, + F99E10122B7A733200D55EF8 /* DBFILESRelocationBatchLaunch.h */, + F99E10132B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h */, + F99E10142B7A733200D55EF8 /* DBFILESUploadSessionStartResult.h */, + F99E10152B7A733200D55EF8 /* DBFILESListFolderArg.h */, + F99E10162B7A733200D55EF8 /* DBFILESSaveUrlResult.h */, + F99E10172B7A733200D55EF8 /* DBFILESPreviewError.h */, + F99E10182B7A733200D55EF8 /* DBFILESLockFileBatchArg.h */, + F99E10192B7A733200D55EF8 /* DBFILESPaperUpdateArg.h */, + F99E101A2B7A733200D55EF8 /* DBFILESSearchResult.h */, + F99E101B2B7A733200D55EF8 /* DBFILESSearchOrderBy.h */, + F99E101C2B7A733200D55EF8 /* DBFILESFileMetadata.h */, + F99E101D2B7A733200D55EF8 /* DBFILESUploadSessionType.h */, + F99E101E2B7A733200D55EF8 /* DBFILESDownloadZipError.h */, + F99E101F2B7A733200D55EF8 /* DBFILESGetThumbnailBatchResultData.h */, + F99E10202B7A733200D55EF8 /* DBFILESSaveCopyReferenceError.h */, + F99E10212B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h */, + F99E10222B7A733200D55EF8 /* DBFILESMinimalFileLinkMetadata.h */, + F99E10232B7A733200D55EF8 /* DBFILESLockFileBatchResult.h */, + F99E10242B7A733200D55EF8 /* DBFILESUploadSessionStartError.h */, + F99E10252B7A733200D55EF8 /* DBFILESRestoreArg.h */, + F99E10262B7A733200D55EF8 /* DBFILESRelocationBatchV2Launch.h */, + F99E10272B7A733200D55EF8 /* DBFILESAlphaGetMetadataArg.h */, + F99E10282B7A733200D55EF8 /* DBFILESRelocationBatchArg.h */, + F99E10292B7A733200D55EF8 /* DBFILESSaveUrlJobStatus.h */, + F99E102A2B7A733200D55EF8 /* DBFILESCreateFolderBatchResultEntry.h */, + F99E102B2B7A733200D55EF8 /* DBFILESDeleteBatchJobStatus.h */, + F99E102C2B7A733200D55EF8 /* DBFILESDownloadArg.h */, + F99E102D2B7A733200D55EF8 /* DBFILESExportArg.h */, + F99E102E2B7A733200D55EF8 /* DBFILESCommitInfo.h */, + F99E102F2B7A733200D55EF8 /* DBFILESGetMetadataArg.h */, + F99E10302B7A733200D55EF8 /* DBFILESPathOrLink.h */, + F99E10312B7A733200D55EF8 /* DBFILESAlphaGetMetadataError.h */, + F99E10322B7A733200D55EF8 /* DBFILESSearchArg.h */, + F99E10332B7A733200D55EF8 /* DBFILESSharingInfo.h */, + F99E10342B7A733200D55EF8 /* DBFILESSearchV2ContinueArg.h */, + F99E10352B7A733200D55EF8 /* DBFILESBaseTagError.h */, + F99E10362B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchResult.h */, + F99E10372B7A733200D55EF8 /* DBFILESExportInfo.h */, + F99E10382B7A733200D55EF8 /* DBFILESThumbnailArg.h */, + F99E10392B7A733200D55EF8 /* DBFILESDeleteBatchError.h */, + F99E103A2B7A733200D55EF8 /* DBFILESSingleUserLock.h */, + F99E103B2B7A733200D55EF8 /* DBFILESAddTagError.h */, + F99E103C2B7A733200D55EF8 /* DBFILESGetTemporaryLinkResult.h */, + F99E103D2B7A733200D55EF8 /* DBFILESSearchV2Arg.h */, + F99E103E2B7A733200D55EF8 /* DBFILESThumbnailMode.h */, + F99E103F2B7A733200D55EF8 /* DBFILESFileSharingInfo.h */, + F99E10402B7A733200D55EF8 /* DBFILESListFolderContinueError.h */, + F99E10412B7A733200D55EF8 /* DBFILESSearchMatchType.h */, + F99E10422B7A733200D55EF8 /* DBFILESSearchMatchV2.h */, + F99E10432B7A733200D55EF8 /* DBFILESPaperCreateResult.h */, + F99E10442B7A733200D55EF8 /* DBFILESSharedLinkFileInfo.h */, + F99E10452B7A733200D55EF8 /* DBFILESAddTagArg.h */, + F99E10462B7A733200D55EF8 /* DBFILESSharedLink.h */, + F99E10472B7A733200D55EF8 /* DBFILESFileLock.h */, + F99E10482B7A733200D55EF8 /* DBFILESDeleteBatchLaunch.h */, + F99E10492B7A733200D55EF8 /* DBFILESLockFileError.h */, + F99E104A2B7A733200D55EF8 /* DBFILESUploadError.h */, + F99E104B2B7A733200D55EF8 /* DBFILESExportError.h */, + F99E104C2B7A733200D55EF8 /* DBFILESSaveCopyReferenceResult.h */, + F99E104D2B7A733200D55EF8 /* DBFILESDeleteResult.h */, + F99E104E2B7A733200D55EF8 /* DBFILESMoveIntoFamilyError.h */, + F99E104F2B7A733200D55EF8 /* DBFILESSyncSetting.h */, + F99E10502B7A733200D55EF8 /* DBFILESCreateFolderResult.h */, + F99E10512B7A733200D55EF8 /* DBFILESUploadSessionFinishBatchArg.h */, + F99E10522B7A733200D55EF8 /* DBFILESWriteError.h */, + F99E10532B7A733200D55EF8 /* DBFILESCreateFolderEntryError.h */, + F99E10542B7A733200D55EF8 /* DBFILESGetMetadataError.h */, + F99E10552B7A733200D55EF8 /* DBFILESCreateFolderBatchResult.h */, + F99E10562B7A733200D55EF8 /* DBFILESGetThumbnailBatchResult.h */, + F99E10572B7A733200D55EF8 /* DBFILESCreateFolderBatchArg.h */, + F99E10582B7A733200D55EF8 /* DBFILESFileStatus.h */, + F99E10592B7A733200D55EF8 /* DBFILESCreateFolderArg.h */, + F99E105A2B7A733200D55EF8 /* DBFILESPaperCreateArg.h */, + F99E105B2B7A733200D55EF8 /* DBFILESUploadSessionFinishArg.h */, + F99E105C2B7A733200D55EF8 /* DBFILESRelocationBatchArgBase.h */, + F99E105D2B7A733200D55EF8 /* DBFILESDeleteArg.h */, + F99E105E2B7A733200D55EF8 /* DBFILESDownloadError.h */, + F99E105F2B7A733200D55EF8 /* DBFILESSearchMatchFieldOptions.h */, + F99E10602B7A733200D55EF8 /* DBFILESUploadSessionOffsetError.h */, + F99E10612B7A733200D55EF8 /* DBFILESUploadArg.h */, ); - path = OAuth; + path = Headers; sourceTree = ""; }; - F29781951E03692800876A73 /* Resources */ = { + F99E10622B7A733200D55EF8 /* Account */ = { isa = PBXGroup; children = ( - F29781971E03692800876A73 /* DBChunkInputStream.m */, - F239DFCD1E68DA1700417314 /* DBSDKConstants.h */, - F239DFCE1E68DA1700417314 /* DBSDKConstants.m */, - F2A2CE9F1E562F7E001D8449 /* DBCustomDatatypes.h */, - F2A2CEA01E562FEB001D8449 /* DBCustomDatatypes.m */, - F29781991E03692800876A73 /* DBCustomRoutes.h */, - F297819A1E03692800876A73 /* DBCustomRoutes.m */, - F2A2CE981E562DFF001D8449 /* DBCustomTasks.h */, - F2A2CE991E562E46001D8449 /* DBCustomTasks.m */, + F99E10632B7A733200D55EF8 /* DBAccountObjects.m */, + F99E10642B7A733200D55EF8 /* Headers */, ); - path = Resources; + path = Account; sourceTree = ""; }; - F2A2CE741E562817001D8449 /* Internal */ = { + F99E10642B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F2A2CE751E562817001D8449 /* DBClientsManager+Protected.h */, - F2A2CE761E562817001D8449 /* Networking */, - F2C59AFB1E9C2EEC00E8D2E6 /* OAuth */, - F2A2CE7F1E562817001D8449 /* Resources */, + F99E10652B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoArg.h */, + F99E10662B7A733200D55EF8 /* DBACCOUNTPhotoSourceArg.h */, + F99E10672B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoResult.h */, + F99E10682B7A733200D55EF8 /* DBACCOUNTSetProfilePhotoError.h */, ); - path = Internal; + path = Headers; sourceTree = ""; }; - F2A2CE761E562817001D8449 /* Networking */ = { + F99E10692B7A733200D55EF8 /* Check */ = { isa = PBXGroup; children = ( - F2A2CE771E562817001D8449 /* DBDelegate.h */, - F2A2CE781E562817001D8449 /* DBHandlerTypesInternal.h */, - F2A2CE791E562817001D8449 /* DBSDKReachability.h */, - F2A2CE7A1E562817001D8449 /* DBSessionData.h */, - F2A2CE7B1E562817001D8449 /* DBTasks+Protected.h */, - F2A2CE7C1E562817001D8449 /* DBTasksImpl.h */, - F2A2CEA81E5655D1001D8449 /* DBTransportBaseClient+Internal.h */, - F2D40D3E1E779AE5004CCEB7 /* DBGlobalErrorResponseHandler+Internal.h */, + F99E106A2B7A733200D55EF8 /* Headers */, + F99E106D2B7A733200D55EF8 /* DBCheckObjects.m */, ); - path = Networking; + path = Check; sourceTree = ""; }; - F2A2CE7F1E562817001D8449 /* Resources */ = { + F99E106A2B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F2A2CE801E562817001D8449 /* DBChunkInputStream.h */, - F2C59AF41E9C033400E8D2E6 /* DBSDKSystem.h */, + F99E106B2B7A733200D55EF8 /* DBCHECKEchoArg.h */, + F99E106C2B7A733200D55EF8 /* DBCHECKEchoResult.h */, ); - path = Resources; + path = Headers; sourceTree = ""; }; - F2A2DBA71E578C3E001D8449 /* OfficialPartners */ = { + F99E106E2B7A733200D55EF8 /* UsersCommon */ = { isa = PBXGroup; children = ( - F2A2DBA81E578C3F001D8449 /* OpenWith */, + F99E106F2B7A733200D55EF8 /* DBUsersCommonObjects.m */, + F99E10702B7A733200D55EF8 /* Headers */, ); - path = OfficialPartners; + path = UsersCommon; sourceTree = ""; }; - F2A2DBA81E578C3F001D8449 /* OpenWith */ = { + F99E10702B7A733200D55EF8 /* Headers */ = { isa = PBXGroup; children = ( - F2A2DBA91E578C3F001D8449 /* DBOfficialAppConnector-iOS.h */, - F2A2DBAA1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m */, - F2A2DBAB1E578C3F001D8449 /* DBOpenWithInfo-iOS.h */, - F2A2DBAC1E578C3F001D8449 /* DBOpenWithInfo-iOS.m */, + F99E10712B7A733200D55EF8 /* DBUSERSCOMMONAccountType.h */, ); - path = OpenWith; + path = Headers; sourceTree = ""; }; - F2C187E81E6666A50042ABE6 /* Umbrella */ = { + F99E10722B7A733200D55EF8 /* Resources */ = { isa = PBXGroup; children = ( - F2C187E91E6666A50042ABE6 /* ObjectiveDropboxOfficial.h */, - F2C187EA1E6666A50042ABE6 /* ObjectiveDropboxOfficialLib.h */, + F99E10732B7A733200D55EF8 /* DBStoneBase.m */, + F99E10742B7A733200D55EF8 /* DBStoneSerializers.m */, + F99E10752B7A733200D55EF8 /* DBStoneValidators.m */, + F99E10762B7A733200D55EF8 /* DBStoneBase.h */, + F99E10772B7A733200D55EF8 /* DBStoneSerializers.h */, + F99E10782B7A733200D55EF8 /* DBStoneValidators.h */, + F99E10792B7A733200D55EF8 /* DBSerializableProtocol.h */, ); - path = Umbrella; + path = Resources; sourceTree = ""; }; - F2C59AFB1E9C2EEC00E8D2E6 /* OAuth */ = { + F99E107B2B7A733200D55EF8 /* Routes */ = { isa = PBXGroup; children = ( - F2C59AFC1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h */, + F99E107C2B7A733200D55EF8 /* DBAUTHAppAuthRoutes.m */, + F99E107D2B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h */, + F99E107E2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.h */, + F99E107F2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.m */, + F99E10802B7A733200D55EF8 /* DBFILESAppAuthRoutes.h */, + F99E10812B7A733200D55EF8 /* DBFILESUserAuthRoutes.m */, + F99E10822B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.h */, + F99E10832B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m */, + F99E10842B7A733200D55EF8 /* DBCHECKAppAuthRoutes.h */, + F99E10852B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.h */, + F99E10862B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.m */, + F99E10872B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.h */, + F99E10882B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h */, + F99E10892B7A733200D55EF8 /* DBCHECKUserAuthRoutes.m */, + F99E108A2B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.m */, + F99E108B2B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.h */, + F99E108C2B7A733200D55EF8 /* DBPAPERUserAuthRoutes.m */, + F99E108D2B7A733200D55EF8 /* DBAUTHUserAuthRoutes.h */, + F99E108E2B7A733200D55EF8 /* DBUSERSUserAuthRoutes.h */, + F99E108F2B7A733200D55EF8 /* DBCONTACTSUserAuthRoutes.m */, + F99E10902B7A733200D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m */, + F99E10912B7A733200D55EF8 /* DBAUTHAppAuthRoutes.h */, + F99E10922B7A733200D55EF8 /* DBCHECKAppAuthRoutes.m */, + F99E10932B7A733200D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h */, + F99E10942B7A733200D55EF8 /* DBACCOUNTUserAuthRoutes.m */, + F99E10952B7A733200D55EF8 /* DBFILESAppAuthRoutes.m */, + F99E10962B7A733200D55EF8 /* DBFILESUserAuthRoutes.h */, + F99E10972B7A733200D55EF8 /* DBTEAMLOGTeamAuthRoutes.h */, + F99E10982B7A733200D55EF8 /* DBSHARINGUserAuthRoutes.m */, + F99E10992B7A733200D55EF8 /* RouteObjects */, + F99E10B42B7A733200D55EF8 /* DBPAPERUserAuthRoutes.h */, + F99E10B52B7A733200D55EF8 /* DBAUTHUserAuthRoutes.m */, + F99E10B62B7A733200D55EF8 /* DBSHARINGAppAuthRoutes.h */, + F99E10B72B7A733200D55EF8 /* DBOPENIDUserAuthRoutes.m */, + F99E10B82B7A733200D55EF8 /* DBCHECKUserAuthRoutes.h */, + F99E10B92B7A733200D55EF8 /* DBTEAMTeamAuthRoutes.m */, + F99E10BA2B7A733200D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m */, ); - path = OAuth; + path = Routes; + sourceTree = ""; + }; + F99E10992B7A733200D55EF8 /* RouteObjects */ = { + isa = PBXGroup; + children = ( + F99E109A2B7A733200D55EF8 /* DBTEAMLOGRouteObjects.m */, + F99E109B2B7A733200D55EF8 /* DBPAPERRouteObjects.m */, + F99E109C2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.m */, + F99E109D2B7A733200D55EF8 /* DBTEAMRouteObjects.m */, + F99E109E2B7A733200D55EF8 /* DBAUTHRouteObjects.h */, + F99E109F2B7A733200D55EF8 /* DBFILESRouteObjects.h */, + F99E10A02B7A733200D55EF8 /* DBACCOUNTRouteObjects.h */, + F99E10A12B7A733200D55EF8 /* DBOPENIDRouteObjects.h */, + F99E10A22B7A733200D55EF8 /* DBCHECKRouteObjects.h */, + F99E10A32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.m */, + F99E10A42B7A733200D55EF8 /* DBCONTACTSRouteObjects.h */, + F99E10A52B7A733200D55EF8 /* DBSHARINGRouteObjects.h */, + F99E10A62B7A733200D55EF8 /* DBUSERSRouteObjects.h */, + F99E10A72B7A733200D55EF8 /* DBPAPERRouteObjects.h */, + F99E10A82B7A733200D55EF8 /* DBTEAMLOGRouteObjects.h */, + F99E10A92B7A733200D55EF8 /* DBFILESRouteObjects.m */, + F99E10AA2B7A733200D55EF8 /* DBAUTHRouteObjects.m */, + F99E10AB2B7A733200D55EF8 /* DBTEAMRouteObjects.h */, + F99E10AC2B7A733200D55EF8 /* DBFILEPROPERTIESRouteObjects.h */, + F99E10AD2B7A733200D55EF8 /* DBCHECKRouteObjects.m */, + F99E10AE2B7A733200D55EF8 /* DBACCOUNTRouteObjects.m */, + F99E10AF2B7A733200D55EF8 /* DBOPENIDRouteObjects.m */, + F99E10B02B7A733200D55EF8 /* DBUSERSRouteObjects.m */, + F99E10B12B7A733200D55EF8 /* DBSHARINGRouteObjects.m */, + F99E10B22B7A733200D55EF8 /* DBCONTACTSRouteObjects.m */, + F99E10B32B7A733200D55EF8 /* DBFILEREQUESTSRouteObjects.h */, + ); + path = RouteObjects; sourceTree = ""; }; /* End PBXGroup section */ @@ -4897,994 +9454,2064 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( + F99E15FF2B7A733500D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h in Headers */, + F99E118F2B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceArg.h in Headers */, + F99E16BF2B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h in Headers */, + F99E1A192B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */, + F99E1E272B7A733B00D55EF8 /* DBTEAMLOGResellerRole.h in Headers */, + F99E1AFF2B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h in Headers */, + F99E11952B7A733300D55EF8 /* DBSHARINGSharedContentLinkMetadata.h in Headers */, + F99E188B2B7A733700D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h in Headers */, + F99E1F892B7A733C00D55EF8 /* DBFILESThumbnailV2Error.h in Headers */, + F99E13092B7A733400D55EF8 /* DBASYNCLaunchResultBase.h in Headers */, + F99E1AEB2B7A733800D55EF8 /* DBTEAMLOGFolderLogInfo.h in Headers */, + F99E1CEF2B7A733A00D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h in Headers */, + F99E1D252B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h in Headers */, + F99E14D32B7A733500D55EF8 /* DBTEAMUserDeleteEmailsResult.h in Headers */, + F99E1BBB2B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h in Headers */, + F99E19692B7A733700D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h in Headers */, + F99E15912B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroup.h in Headers */, + F99E18C32B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h in Headers */, + F99E19BD2B7A733800D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h in Headers */, + F99E135B2B7A733400D55EF8 /* DBTEAMRemovedStatus.h in Headers */, + F99E121F2B7A733300D55EF8 /* DBSHARINGUserFileMembershipInfo.h in Headers */, + F99E19E12B7A733800D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */, + F99E19752B7A733800D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */, + F99E1B512B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */, + F99E16DF2B7A733600D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */, + F99E1B0B2B7A733900D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h in Headers */, + F99E12592B7A733300D55EF8 /* DBSHARINGSharedFolderMetadata.h in Headers */, + F99E127D2B7A733300D55EF8 /* DBSHARINGAddFileMemberError.h in Headers */, + F99E1F1D2B7A733C00D55EF8 /* DBFILESMetadataV2.h in Headers */, + F99E1B212B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h in Headers */, + F99E18652B7A733700D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h in Headers */, + F99E1A732B7A733800D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h in Headers */, + F99E144D2B7A733400D55EF8 /* DBTEAMSetCustomQuotaArg.h in Headers */, + F99E1EB52B7A733B00D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h in Headers */, + F99E176B2B7A733600D55EF8 /* DBTEAMLOGFileAddDetails.h in Headers */, + F99E1F6B2B7A733C00D55EF8 /* DBFILESRelocationBatchResult.h in Headers */, + F99E210F2B7A733D00D55EF8 /* DBUSERSRouteObjects.h in Headers */, + F99E1BFD2B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h in Headers */, + F99E1D272B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h in Headers */, + F99E1E352B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h in Headers */, + F99E16612B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h in Headers */, + F99E1E872B7A733B00D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h in Headers */, + F99E13492B7A733400D55EF8 /* DBTEAMGroupsListResult.h in Headers */, + F99E1A592B7A733800D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h in Headers */, + F99E1C752B7A733900D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h in Headers */, + F99E149F2B7A733500D55EF8 /* DBTEAMGroupMembersChangeResult.h in Headers */, + F99E165F2B7A733600D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h in Headers */, + F99E205F2B7A733C00D55EF8 /* DBFILESAddTagArg.h in Headers */, + F99E1CDD2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionType.h in Headers */, + F99E14012B7A733400D55EF8 /* DBTEAMMembersAddLaunch.h in Headers */, + F99E18FF2B7A733700D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h in Headers */, + F99E1D032B7A733A00D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h in Headers */, + F99E1C512B7A733900D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h in Headers */, + F99E132F2B7A733400D55EF8 /* DBOPENIDOpenIdError.h in Headers */, + F99E203B2B7A733C00D55EF8 /* DBFILESSharingInfo.h in Headers */, + F99E1B372B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h in Headers */, + F99E1E792B7A733B00D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h in Headers */, + F99E1A752B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h in Headers */, + F99E1F5F2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchArg.h in Headers */, + F99E11072B7A733300D55EF8 /* DBPAPERPaperApiBaseError.h in Headers */, + F99E138F2B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */, + F99E11572B7A733300D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h in Headers */, + F99E20A52B7A733D00D55EF8 /* DBCHECKEchoResult.h in Headers */, + F99E1DA12B7A733A00D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */, + F99E1FC12B7A733C00D55EF8 /* DBFILESLockFileArg.h in Headers */, + F99E1B392B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h in Headers */, + F99E1BC52B7A733900D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h in Headers */, + F99E14C52B7A733500D55EF8 /* DBTEAMDateRange.h in Headers */, + F99E21332B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.h in Headers */, + F99E12312B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberError.h in Headers */, + F99E13372B7A733400D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */, + F99E17232B7A733600D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h in Headers */, + F99E1DAF2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h in Headers */, + F99E10E72B7A733300D55EF8 /* DBPAPERCursor.h in Headers */, + F99E1C932B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h in Headers */, + F99E17FB2B7A733700D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h in Headers */, + F99E19172B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h in Headers */, + F99E16AD2B7A733600D55EF8 /* DBTEAMLOGLogoutDetails.h in Headers */, + F99E20632B7A733C00D55EF8 /* DBFILESFileLock.h in Headers */, + F99E20FF2B7A733D00D55EF8 /* DBAUTHRouteObjects.h in Headers */, + F99E11592B7A733300D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */, + F99E160D2B7A733500D55EF8 /* DBTEAMLOGWatermarkingPolicy.h in Headers */, + F99E1ACD2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h in Headers */, + F99E19A32B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h in Headers */, + F99E201F2B7A733C00D55EF8 /* DBFILESRestoreArg.h in Headers */, + F99E15F32B7A733500D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */, + F99E1DCD2B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h in Headers */, + F99E17472B7A733600D55EF8 /* DBTEAMLOGTeamFolderCreateType.h in Headers */, + F99E152F2B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h in Headers */, + F99E15B72B7A733500D55EF8 /* DBUSERSPaperAsFilesValue.h in Headers */, + F99E15212B7A733500D55EF8 /* DBTEAMMembersGetInfoError.h in Headers */, + F99E12892B7A733300D55EF8 /* DBSHARINGTransferFolderError.h in Headers */, + F99E1FB72B7A733C00D55EF8 /* DBFILESRelocationBatchV2JobStatus.h in Headers */, + F99E1E0F2B7A733B00D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h in Headers */, + F99E11272B7A733300D55EF8 /* DBPAPERUserOnPaperDocFilter.h in Headers */, + F99E14F32B7A733500D55EF8 /* DBTEAMTeamFolderGetInfoItem.h in Headers */, + F99E14292B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */, + F99E1C4D2B7A733900D55EF8 /* DBTEAMLOGMemberChangeNameType.h in Headers */, + F99E1C072B7A733900D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h in Headers */, + F99E186D2B7A733700D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h in Headers */, + F99E15812B7A733500D55EF8 /* DBFILEPROPERTIESLogicalOperator.h in Headers */, + F99E1FC52B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h in Headers */, + F99E19812B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h in Headers */, + F99E12232B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h in Headers */, + F99E1FC32B7A733C00D55EF8 /* DBFILESMediaInfo.h in Headers */, + F99E12112B7A733300D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h in Headers */, + F99E18352B7A733700D55EF8 /* DBTEAMLOGAccountState.h in Headers */, + F99E117F2B7A733300D55EF8 /* DBSHARINGMemberPolicy.h in Headers */, + F99E18A32B7A733700D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h in Headers */, + F99E1BA92B7A733900D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */, + F99E19112B7A733700D55EF8 /* DBTEAMLOGGroupDeleteDetails.h in Headers */, + F99E163F2B7A733600D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */, + F99E1F392B7A733C00D55EF8 /* DBFILESLookupError.h in Headers */, + F99E15392B7A733500D55EF8 /* DBTEAMTeamMemberProfile.h in Headers */, + F99E1DEF2B7A733B00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */, + F99E207F2B7A733D00D55EF8 /* DBFILESCreateFolderBatchResult.h in Headers */, + F99E181F2B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h in Headers */, + F99E1F872B7A733C00D55EF8 /* DBFILESGetCopyReferenceResult.h in Headers */, + F99E1B0F2B7A733900D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h in Headers */, + F99E1A6B2B7A733800D55EF8 /* DBTEAMLOGGroupCreateType.h in Headers */, + F99E1D532B7A733A00D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */, + F99E1F332B7A733C00D55EF8 /* DBFILESListFolderLongpollResult.h in Headers */, + F99E1C192B7A733900D55EF8 /* DBTEAMLOGEventType.h in Headers */, + F99E17C92B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h in Headers */, + F99E166F2B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h in Headers */, + F99E1D8F2B7A733A00D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h in Headers */, + F99E16352B7A733600D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */, + F99E1A7D2B7A733800D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h in Headers */, + F99E178D2B7A733600D55EF8 /* DBTEAMLOGShowcaseFileViewType.h in Headers */, + F99E142D2B7A733400D55EF8 /* DBTEAMGroupMembersAddArg.h in Headers */, + F99E14572B7A733400D55EF8 /* DBTEAMMembersAddArg.h in Headers */, + F99E1F5D2B7A733C00D55EF8 /* DBFILESGpsCoordinates.h in Headers */, + F99E13912B7A733400D55EF8 /* DBTEAMFeature.h in Headers */, + F99E1AD12B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h in Headers */, + F99E1EF32B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h in Headers */, + F99E147B2B7A733500D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h in Headers */, + F99E1DCF2B7A733B00D55EF8 /* DBTEAMLOGGetTeamEventsResult.h in Headers */, + F99E15F92B7A733500D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h in Headers */, + F99E191D2B7A733700D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */, + F99E1CE52B7A733A00D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h in Headers */, + F99E13652B7A733400D55EF8 /* DBTEAMGroupsGetInfoItem.h in Headers */, + F99E18132B7A733700D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h in Headers */, + F99E133B2B7A733400D55EF8 /* DBTEAMExcludedUsersListResult.h in Headers */, + F99E1AAF2B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h in Headers */, + F99E152B2B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h in Headers */, + F99E1B2D2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h in Headers */, + F99E18CD2B7A733700D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h in Headers */, + F99E1D592B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */, + F99E143F2B7A733400D55EF8 /* DBTEAMGroupSelector.h in Headers */, + F99E16292B7A733600D55EF8 /* DBTEAMLOGRecipientsConfiguration.h in Headers */, + F99E1DE12B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h in Headers */, + F99E185F2B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */, + F99E192F2B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h in Headers */, + F99E11AF2B7A733300D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h in Headers */, + F99E19072B7A733700D55EF8 /* DBTEAMLOGTeamDetails.h in Headers */, + F99E16672B7A733600D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h in Headers */, + F99E1C712B7A733900D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h in Headers */, + F99E15952B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */, + F99E13A32B7A733400D55EF8 /* DBTEAMTeamMemberInfo.h in Headers */, + F99E1EC12B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h in Headers */, + F99E15932B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */, + F99E1E892B7A733B00D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h in Headers */, + F99E1AAB2B7A733800D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h in Headers */, + F99E1C992B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h in Headers */, + F99E14E72B7A733500D55EF8 /* DBTEAMMembersRecoverArg.h in Headers */, + F99E1BE12B7A733900D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h in Headers */, + F99E20012B7A733C00D55EF8 /* DBFILESSaveUrlResult.h in Headers */, + F99E1BA52B7A733900D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h in Headers */, + F99E12732B7A733300D55EF8 /* DBSHARINGUnshareFolderError.h in Headers */, + F99E13632B7A733400D55EF8 /* DBTEAMResendVerificationEmailArg.h in Headers */, + F99E16392B7A733600D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h in Headers */, + F99E1E1F2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h in Headers */, + F99E1FA32B7A733C00D55EF8 /* DBFILESDownloadZipResult.h in Headers */, + F99E13412B7A733400D55EF8 /* DBTEAMMembersListV2Result.h in Headers */, + F99E135D2B7A733400D55EF8 /* DBTEAMGroupsPollError.h in Headers */, + F99E1CDF2B7A733A00D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */, + F99E15D32B7A733500D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h in Headers */, + F99E1B9B2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h in Headers */, + F99E18CF2B7A733700D55EF8 /* DBTEAMLOGNoteShareReceiveType.h in Headers */, + F99E159B2B7A733500D55EF8 /* DBUSERSTeamSpaceAllocation.h in Headers */, + F99E1E6F2B7A733B00D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h in Headers */, + F99E125F2B7A733300D55EF8 /* DBSHARINGSharedFileMetadata.h in Headers */, + F99E1DFF2B7A733B00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h in Headers */, + F99E13C72B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h in Headers */, + F99E18D32B7A733700D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h in Headers */, + F99E175B2B7A733600D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h in Headers */, + F99E146D2B7A733500D55EF8 /* DBTEAMListTeamDevicesArg.h in Headers */, + F99E1FA72B7A733C00D55EF8 /* DBFILESListFolderGetLatestCursorResult.h in Headers */, + F99E20912B7A733D00D55EF8 /* DBFILESDownloadError.h in Headers */, + F99E150D2B7A733500D55EF8 /* DBTEAMFeatureValue.h in Headers */, + F99E1BEF2B7A733900D55EF8 /* DBTEAMLOGTeamInviteDetails.h in Headers */, + F99E11DF2B7A733300D55EF8 /* DBSHARINGSharedFolderMetadataBase.h in Headers */, + F99E17D12B7A733700D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h in Headers */, + F99E12332B7A733300D55EF8 /* DBSHARINGUnmountFolderError.h in Headers */, + F99E1AC92B7A733800D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h in Headers */, + F99E18A12B7A733700D55EF8 /* DBTEAMLOGLoginSuccessDetails.h in Headers */, + F99E12DD2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h in Headers */, + F99E1FEB2B7A733C00D55EF8 /* DBFILESUploadSessionFinishError.h in Headers */, + F99E1B5D2B7A733900D55EF8 /* DBTEAMLOGPaperContentCreateType.h in Headers */, + F99E1E4D2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h in Headers */, + F99E178F2B7A733600D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h in Headers */, + F99E14F92B7A733500D55EF8 /* DBTEAMMemberProfile.h in Headers */, + F99E20C52B7A733D00D55EF8 /* DBFILESAppAuthRoutes.h in Headers */, + F99E1EA72B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h in Headers */, + F99E20832B7A733D00D55EF8 /* DBFILESCreateFolderBatchArg.h in Headers */, + F99E18372B7A733700D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h in Headers */, + F99E12ED2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h in Headers */, + F99E19A52B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h in Headers */, + F99E19192B7A733700D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */, + F99E110B2B7A733300D55EF8 /* DBPAPERExportFormat.h in Headers */, + F99E125B2B7A733300D55EF8 /* DBSHARINGRequestedVisibility.h in Headers */, + F99E1E292B7A733B00D55EF8 /* DBTEAMLOGCollectionShareDetails.h in Headers */, + F99E13592B7A733400D55EF8 /* DBTEAMUserResendEmailsResult.h in Headers */, + F99E1F2D2B7A733C00D55EF8 /* DBFILESSearchMode.h in Headers */, + F99E1C652B7A733900D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */, + F99E20892B7A733D00D55EF8 /* DBFILESPaperCreateArg.h in Headers */, + F99E1E1B2B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h in Headers */, + F99E15A92B7A733500D55EF8 /* DBUSERSTeam.h in Headers */, + F99E17532B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h in Headers */, + F99E14E12B7A733500D55EF8 /* DBTEAMTeamNamespacesListError.h in Headers */, + F99E195B2B7A733700D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */, + F99E17152B7A733600D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */, + F99E15652B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h in Headers */, + F99E17E92B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */, + F99E16AB2B7A733600D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */, + F99E1D872B7A733A00D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h in Headers */, + F99E203F2B7A733C00D55EF8 /* DBFILESBaseTagError.h in Headers */, + F99E1A9B2B7A733800D55EF8 /* DBTEAMLOGTfaChangePolicyType.h in Headers */, + F99E13B92B7A733400D55EF8 /* DBTEAMMembersSetProfileError.h in Headers */, + F99E15572B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */, + F99E11632B7A733300D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h in Headers */, + F99E21292B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.h in Headers */, + F99E1DC92B7A733A00D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h in Headers */, + F99E17012B7A733600D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h in Headers */, + F99E140F2B7A733400D55EF8 /* DBTEAMTeamNamespacesListArg.h in Headers */, + F99E1B1F2B7A733900D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h in Headers */, + F99E11472B7A733300D55EF8 /* DBTEAMPOLICIESEmmState.h in Headers */, + F99E14132B7A733400D55EF8 /* DBTEAMTeamFolderRenameError.h in Headers */, + F99E1AED2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h in Headers */, + F99E15132B7A733500D55EF8 /* DBTEAMTeamFolderIdListArg.h in Headers */, + F99E11F72B7A733300D55EF8 /* DBSHARINGInviteeMembershipInfo.h in Headers */, + F99E1B272B7A733900D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */, + F99E11132B7A733300D55EF8 /* DBPAPERListPaperDocsSortOrder.h in Headers */, + F99E1F632B7A733C00D55EF8 /* DBFILESPaperDocUpdatePolicy.h in Headers */, + F99E1B592B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h in Headers */, + F99E1B7F2B7A733900D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h in Headers */, + F99E18212B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h in Headers */, + F99E1FD92B7A733C00D55EF8 /* DBFILESUploadSessionAppendArg.h in Headers */, + F99E1BAB2B7A733900D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */, + F99E1ECF2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h in Headers */, + F99E1D612B7A733A00D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h in Headers */, + F99E1CAF2B7A733A00D55EF8 /* DBTEAMLOGFileEditType.h in Headers */, + F99E1C112B7A733900D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */, + F99E13F12B7A733400D55EF8 /* DBTEAMTeamFolderMetadata.h in Headers */, + F99E19D32B7A733800D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h in Headers */, + F99E1E8F2B7A733B00D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h in Headers */, + F99E15872B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h in Headers */, + F99E20A12B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoError.h in Headers */, + F99E19FF2B7A733800D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h in Headers */, + F99E16A32B7A733600D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */, + F99E1FD52B7A733C00D55EF8 /* DBFILESThumbnailSize.h in Headers */, + F99E12BF2B7A733400D55EF8 /* DBAUTHRateLimitError.h in Headers */, + F99E15D52B7A733500D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h in Headers */, + F99E20DF2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.h in Headers */, + F99E11C32B7A733300D55EF8 /* DBSHARINGListFileMembersError.h in Headers */, + F99E12BB2B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Arg.h in Headers */, + F99E13172B7A733400D55EF8 /* DBTEAMCOMMONTimeRange.h in Headers */, + F99E190D2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h in Headers */, + F99E158B2B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */, + F99E17952B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h in Headers */, + F99E1F0D2B7A733B00D55EF8 /* DBFILESRelocationBatchResultData.h in Headers */, + F99E1CCF2B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h in Headers */, + F99E1DDB2B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h in Headers */, + F99E145B2B7A733400D55EF8 /* DBTEAMGroupCreateArg.h in Headers */, + F99E11DB2B7A733300D55EF8 /* DBSHARINGFileMemberActionResult.h in Headers */, + F99E14612B7A733400D55EF8 /* DBTEAMSharingAllowlistListError.h in Headers */, + F99E1DE32B7A733B00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h in Headers */, + F99E1A032B7A733800D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h in Headers */, + F99E16CF2B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h in Headers */, + F99E15F72B7A733500D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h in Headers */, + F99E120B2B7A733300D55EF8 /* DBSHARINGAddFolderMemberError.h in Headers */, + F99E15172B7A733500D55EF8 /* DBTEAMMembersSendWelcomeError.h in Headers */, + F99E16BB2B7A733600D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h in Headers */, + F99E18BD2B7A733700D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h in Headers */, + F99E20232B7A733C00D55EF8 /* DBFILESAlphaGetMetadataArg.h in Headers */, + F99E1BF92B7A733900D55EF8 /* DBTEAMLOGDeviceType.h in Headers */, + F99E1F252B7A733C00D55EF8 /* DBFILESListRevisionsError.h in Headers */, + F99E144B2B7A733400D55EF8 /* DBTEAMUserCustomQuotaResult.h in Headers */, + F99E11EF2B7A733300D55EF8 /* DBSHARINGShareFolderJobStatus.h in Headers */, + F99E1C632B7A733900D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h in Headers */, + F99E20032B7A733C00D55EF8 /* DBFILESPreviewError.h in Headers */, + F99E131B2B7A733400D55EF8 /* DBTEAMCOMMONGroupType.h in Headers */, + F99E1B852B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h in Headers */, + F99E11E72B7A733300D55EF8 /* DBSHARINGLinkAction.h in Headers */, + F99E1B772B7A733900D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h in Headers */, + F99E14772B7A733500D55EF8 /* DBTEAMListMemberDevicesError.h in Headers */, + F99E117D2B7A733300D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */, + F99E12032B7A733300D55EF8 /* DBSHARINGGetFileMetadataError.h in Headers */, + F99E1DF12B7A733B00D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */, + F99E1D892B7A733A00D55EF8 /* DBTEAMLOGSharedFolderNestType.h in Headers */, + F99E14FF2B7A733500D55EF8 /* DBTEAMGroupsMembersListResult.h in Headers */, + F99E12C52B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Result.h in Headers */, + F99E1C6B2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h in Headers */, + F99E18152B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h in Headers */, + F99E13232B7A733400D55EF8 /* DBCOMMONPathRoot.h in Headers */, + F99E12FF2B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsArg.h in Headers */, + F99E12852B7A733300D55EF8 /* DBSHARINGUserInfo.h in Headers */, + F99E19772B7A733800D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h in Headers */, + F99E1F2B2B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h in Headers */, + F99E19F92B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h in Headers */, + F99E1FAF2B7A733C00D55EF8 /* DBFILESCreateFolderBatchLaunch.h in Headers */, + F99E1A072B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h in Headers */, + F99E15112B7A733500D55EF8 /* DBTEAMMembersAddV2Arg.h in Headers */, + F99E173B2B7A733600D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h in Headers */, + F99E1F432B7A733C00D55EF8 /* DBFILESSearchMatchTypeV2.h in Headers */, + F99E17392B7A733600D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */, + F99E1BED2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h in Headers */, + F99E15232B7A733500D55EF8 /* DBTEAMMemberDevices.h in Headers */, + F99E1DC52B7A733A00D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h in Headers */, + F99E14732B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionArg.h in Headers */, + F99E11192B7A733300D55EF8 /* DBPAPERListPaperDocsContinueArgs.h in Headers */, + F99E1AA32B7A733800D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h in Headers */, + F99E157D2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */, + F99E15DD2B7A733500D55EF8 /* DBTEAMLOGFileRestoreDetails.h in Headers */, + F99E208F2B7A733D00D55EF8 /* DBFILESDeleteArg.h in Headers */, + F99E1BE92B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h in Headers */, + F99E1F9F2B7A733C00D55EF8 /* DBFILESRelocationBatchV2Result.h in Headers */, + F99E14972B7A733500D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h in Headers */, + F99E12292B7A733300D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h in Headers */, + F99E17432B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h in Headers */, + F99E13552B7A733400D55EF8 /* DBTEAMMobileClientPlatform.h in Headers */, + F99E15532B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */, + F99E1F8B2B7A733C00D55EF8 /* DBFILESPreviewArg.h in Headers */, + F99E1FD32B7A733C00D55EF8 /* DBFILESListFolderResult.h in Headers */, + F99E1C7D2B7A733900D55EF8 /* DBTEAMLOGFileDownloadType.h in Headers */, + F99E18232B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */, + F99E15AD2B7A733500D55EF8 /* DBUSERSGetAccountBatchError.h in Headers */, + F99E12432B7A733300D55EF8 /* DBSHARINGListFoldersContinueError.h in Headers */, + F99E1C9D2B7A733A00D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */, + F99E12B92B7A733400D55EF8 /* DBAUTHAuthError.h in Headers */, + F99E153F2B7A733500D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */, + F99E15FB2B7A733500D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h in Headers */, + F99E12CF2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h in Headers */, + F99E16452B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h in Headers */, + F99E1A232B7A733800D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h in Headers */, + F99E18012B7A733700D55EF8 /* DBTEAMLOGShowcaseArchivedType.h in Headers */, + F99E1BD52B7A733900D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h in Headers */, + F99E16432B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */, + F99E17352B7A733600D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h in Headers */, + F99E1E8D2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h in Headers */, + F99E17A32B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h in Headers */, + F99E162D2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h in Headers */, + F99E1AE12B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h in Headers */, + F99E11212B7A733300D55EF8 /* DBPAPERPaperDocCreateArgs.h in Headers */, + F99E10FB2B7A733300D55EF8 /* DBPAPERPaperDocExport.h in Headers */, + F99E1C0D2B7A733900D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */, + F99E1D412B7A733A00D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */, + F99E142F2B7A733400D55EF8 /* DBTEAMExcludedUsersListError.h in Headers */, + F99E1F9D2B7A733C00D55EF8 /* DBFILESListFolderLongpollArg.h in Headers */, + F99E1A5D2B7A733800D55EF8 /* DBTEAMLOGConnectedTeamName.h in Headers */, + F99E10E92B7A733300D55EF8 /* DBPAPERDocSubscriptionLevel.h in Headers */, + F99E1C612B7A733900D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h in Headers */, + F99E1FB52B7A733C00D55EF8 /* DBFILESFileOpsResult.h in Headers */, + F99E1E432B7A733B00D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h in Headers */, + F99E170B2B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h in Headers */, + F99E21192B7A733D00D55EF8 /* DBTEAMRouteObjects.h in Headers */, + F99E196D2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h in Headers */, + F99E11B32B7A733300D55EF8 /* DBSHARINGFileAction.h in Headers */, + F99E16052B7A733500D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h in Headers */, + F99E17E32B7A733700D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h in Headers */, + F99E1B932B7A733900D55EF8 /* DBTEAMLOGFileLogInfo.h in Headers */, + F99E20532B7A733C00D55EF8 /* DBFILESFileSharingInfo.h in Headers */, + F99E193D2B7A733700D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h in Headers */, + F99E1A832B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h in Headers */, + F99E18D72B7A733700D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h in Headers */, + F99E11BD2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */, + F99E15A72B7A733500D55EF8 /* DBUSERSFullTeam.h in Headers */, + F99E1CDB2B7A733A00D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h in Headers */, + F99E1DB32B7A733A00D55EF8 /* DBTEAMLOGFileRequestCreateType.h in Headers */, + F99E1E852B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h in Headers */, + F99E1CFD2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h in Headers */, + F99E1C9B2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportDetails.h in Headers */, + F99E1D1D2B7A733A00D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */, + F99E15192B7A733500D55EF8 /* DBTEAMGetDevicesReport.h in Headers */, + F99E18072B7A733700D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h in Headers */, + F99E15DF2B7A733500D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h in Headers */, + F99E11FD2B7A733300D55EF8 /* DBSHARINGListSharedLinksError.h in Headers */, + F99E18452B7A733700D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h in Headers */, + F99E11392B7A733300D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h in Headers */, + F99E1B232B7A733900D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h in Headers */, + F99E17452B7A733600D55EF8 /* DBTEAMLOGWebSessionLogInfo.h in Headers */, + F99E20432B7A733C00D55EF8 /* DBFILESExportInfo.h in Headers */, + F99E180F2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h in Headers */, + F99E20352B7A733C00D55EF8 /* DBFILESPathOrLink.h in Headers */, + F99E14F72B7A733500D55EF8 /* DBTEAMMemberLinkedApps.h in Headers */, + F99E1DD12B7A733B00D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */, + F99E192D2B7A733700D55EF8 /* DBTEAMLOGFedExtraDetails.h in Headers */, + F99E168F2B7A733600D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */, + F99E13B72B7A733400D55EF8 /* DBTEAMTeamFolderListResult.h in Headers */, + F99E17B32B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h in Headers */, + F99E18B32B7A733700D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h in Headers */, + F99E19DB2B7A733800D55EF8 /* DBTEAMLOGSsoRemoveCertType.h in Headers */, + F99E11D12B7A733300D55EF8 /* DBSHARINGRemoveFileMemberError.h in Headers */, + F99E1F472B7A733C00D55EF8 /* DBFILESPaperUpdateResult.h in Headers */, + F99E19732B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h in Headers */, + F99E14C72B7A733500D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */, + F99E180D2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h in Headers */, + F99E17D32B7A733700D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h in Headers */, + F99E19D92B7A733800D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h in Headers */, + F99E1C8D2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderMountType.h in Headers */, + F99E1F172B7A733B00D55EF8 /* DBFILESLockFileResultEntry.h in Headers */, + F99E1D152B7A733A00D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h in Headers */, + F99E151F2B7A733500D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h in Headers */, + F99E18812B7A733700D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */, + F99E13532B7A733400D55EF8 /* DBTEAMMembersUnsuspendError.h in Headers */, + F99E15C12B7A733500D55EF8 /* DBUSERSAccount.h in Headers */, + F99E1CD72B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestType.h in Headers */, + F99E18A72B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h in Headers */, + F99E1A612B7A733800D55EF8 /* DBTEAMLOGTeamMergeFromType.h in Headers */, + F99E14B72B7A733500D55EF8 /* DBTEAMMembersGetInfoItemV2.h in Headers */, + F99E162B2B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h in Headers */, + F99E17252B7A733600D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h in Headers */, + F99E122D2B7A733300D55EF8 /* DBSHARINGSharePathError.h in Headers */, + F99E1CE72B7A733A00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h in Headers */, + F99E14872B7A733500D55EF8 /* DBTEAMMembersSetPermissionsArg.h in Headers */, + F99E1B1B2B7A733900D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h in Headers */, + F99E19B52B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h in Headers */, + F99E1AA52B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */, + F99E1E7F2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h in Headers */, + F99E1C7B2B7A733900D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h in Headers */, + F99E183F2B7A733700D55EF8 /* DBTEAMLOGExternalUserLogInfo.h in Headers */, + F99E14532B7A733400D55EF8 /* DBTEAMGroupMembersSelectorError.h in Headers */, + F99E18C12B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h in Headers */, + F99E147F2B7A733500D55EF8 /* DBTEAMUserSelectorArg.h in Headers */, + F99E18952B7A733700D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h in Headers */, + F99E15312B7A733500D55EF8 /* DBTEAMUserResendResult.h in Headers */, + F99E1C1D2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */, + F99E190F2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h in Headers */, + F99E1E952B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h in Headers */, + F99E1C4F2B7A733900D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h in Headers */, + F99E18292B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h in Headers */, + F99E196F2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h in Headers */, + F99E1E912B7A733B00D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h in Headers */, + F99E17132B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h in Headers */, + F99E202D2B7A733C00D55EF8 /* DBFILESDownloadArg.h in Headers */, + F99E161F2B7A733600D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h in Headers */, + F99E129F2B7A733400D55EF8 /* DBSHARINGRemoveMemberJobStatus.h in Headers */, + F99E1F012B7A733B00D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h in Headers */, + F99E12FB2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestError.h in Headers */, + F99E1A6F2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h in Headers */, + F99E16DB2B7A733600D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */, + F99E14DD2B7A733500D55EF8 /* DBTEAMTeamFolderRenameArg.h in Headers */, + F99E13F92B7A733400D55EF8 /* DBTEAMMembersSetPermissionsResult.h in Headers */, + F99E1F3D2B7A733C00D55EF8 /* DBFILESGetTagsResult.h in Headers */, + F99E20B52B7A733D00D55EF8 /* DBStoneSerializers.h in Headers */, + F99E11F32B7A733300D55EF8 /* DBSHARINGListFoldersArgs.h in Headers */, + F99E202B2B7A733C00D55EF8 /* DBFILESDeleteBatchJobStatus.h in Headers */, + F99E1FE12B7A733C00D55EF8 /* DBFILESUnlockFileArg.h in Headers */, + F99E11AD2B7A733300D55EF8 /* DBSHARINGSharedFolderMemberError.h in Headers */, + F99E11E32B7A733300D55EF8 /* DBSHARINGPermissionDeniedReason.h in Headers */, + F99E16752B7A733600D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h in Headers */, + F99E1BA32B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedType.h in Headers */, + F99E1CA52B7A733A00D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h in Headers */, + F99E119B2B7A733300D55EF8 /* DBSHARINGAclUpdatePolicy.h in Headers */, + F99E19652B7A733700D55EF8 /* DBTEAMLOGNoteAclLinkType.h in Headers */, + F99E1C6D2B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h in Headers */, + F99E196B2B7A733700D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */, + F99E1E9F2B7A733B00D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h in Headers */, + F99E13252B7A733400D55EF8 /* DBCOMMONRootInfo.h in Headers */, + F99E166D2B7A733600D55EF8 /* DBTEAMLOGGroupDeleteType.h in Headers */, + F99E10E52B7A733300D55EF8 /* DBPAPERListUsersCursorError.h in Headers */, + F99E143D2B7A733400D55EF8 /* DBTEAMGroupMemberInfo.h in Headers */, + F99E1A932B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h in Headers */, + F99E120D2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkArg.h in Headers */, + F99E18792B7A733700D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h in Headers */, + F99E12452B7A733300D55EF8 /* DBSHARINGLinkPermissions.h in Headers */, + F99E18932B7A733700D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h in Headers */, + F99E16532B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h in Headers */, + F99E15E92B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h in Headers */, + F99E15E32B7A733500D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h in Headers */, + F99E17D92B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h in Headers */, + F99E14EF2B7A733500D55EF8 /* DBTEAMTeamFolderCreateError.h in Headers */, + F99E1F4B2B7A733C00D55EF8 /* DBFILESDeletedMetadata.h in Headers */, + F99E13C92B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h in Headers */, + F99E1C4B2B7A733900D55EF8 /* DBTEAMLOGShmodelGroupShareType.h in Headers */, + F99E134D2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h in Headers */, + F99E13972B7A733400D55EF8 /* DBTEAMListTeamDevicesError.h in Headers */, + F99E124D2B7A733300D55EF8 /* DBSHARINGUnshareFolderArg.h in Headers */, + F99E149D2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailsResult.h in Headers */, + F99E15032B7A733500D55EF8 /* DBTEAMMembersGetInfoArgs.h in Headers */, + F99E1C312B7A733900D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h in Headers */, + F99E1EA52B7A733B00D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h in Headers */, + F99E18EB2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */, + F99E11812B7A733300D55EF8 /* DBSHARINGAlphaResolvedVisibility.h in Headers */, + F99E1CD52B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportType.h in Headers */, + F99E15432B7A733500D55EF8 /* DBTEAMMembersListError.h in Headers */, + F99E1B5B2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h in Headers */, + F99E13EB2B7A733400D55EF8 /* DBTEAMMembersDeactivateArg.h in Headers */, + F99E17892B7A733600D55EF8 /* DBTEAMLOGBackupStatus.h in Headers */, + F99E201D2B7A733C00D55EF8 /* DBFILESUploadSessionStartError.h in Headers */, + F99E13D12B7A733400D55EF8 /* DBTEAMTeamFolderIdArg.h in Headers */, + F99E11112B7A733300D55EF8 /* DBPAPERImportFormat.h in Headers */, + F99E20712B7A733D00D55EF8 /* DBFILESMoveIntoFamilyError.h in Headers */, + F99E199B2B7A733800D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h in Headers */, + F99E114F2B7A733300D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h in Headers */, + F99E12E12B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */, + F99E16212B7A733600D55EF8 /* DBTEAMLOGGroupMovedType.h in Headers */, + F99E18EF2B7A733700D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h in Headers */, + F99E17652B7A733600D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h in Headers */, + F99E1A3F2B7A733800D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h in Headers */, + F99E19152B7A733700D55EF8 /* DBTEAMLOGPasswordResetType.h in Headers */, + F99E14472B7A733400D55EF8 /* DBTEAMTeamReportFailureReason.h in Headers */, + F99E14A52B7A733500D55EF8 /* DBTEAMSharingAllowlistListResponse.h in Headers */, + F99E14032B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Result.h in Headers */, + F99E17AB2B7A733600D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h in Headers */, + F99E16372B7A733600D55EF8 /* DBTEAMLOGRewindPolicy.h in Headers */, + F99E16732B7A733600D55EF8 /* DBTEAMLOGBinderAddPageDetails.h in Headers */, + F99E1AA72B7A733800D55EF8 /* DBTEAMLOGActionDetails.h in Headers */, + F99E13852B7A733400D55EF8 /* DBTEAMExcludedUsersListArg.h in Headers */, + F99E1C5B2B7A733900D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */, + F99E1E412B7A733B00D55EF8 /* DBTEAMLOGIntegrationConnectedType.h in Headers */, + F99E13832B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h in Headers */, + F99E16D12B7A733600D55EF8 /* DBTEAMLOGRewindFolderDetails.h in Headers */, + F99E1BE32B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h in Headers */, + F99E1A6D2B7A733800D55EF8 /* DBTEAMLOGTeamMembershipType.h in Headers */, + F99E19CD2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h in Headers */, + F99E1B792B7A733900D55EF8 /* DBTEAMLOGPaperDocViewType.h in Headers */, + F99E14512B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Arg.h in Headers */, + F99E1D552B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h in Headers */, + F99E18512B7A733700D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h in Headers */, + F99E141F2B7A733400D55EF8 /* DBTEAMAdminTier.h in Headers */, + F99E1AF12B7A733800D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h in Headers */, + F99E1C132B7A733900D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h in Headers */, + F99E117B2B7A733300D55EF8 /* DBSHARINGCollectionLinkMetadata.h in Headers */, + F99E1DD92B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h in Headers */, + F99E12992B7A733300D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */, + F99E1C812B7A733A00D55EF8 /* DBTEAMLOGEventCategory.h in Headers */, + F99E1CB52B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h in Headers */, + F99E14DB2B7A733500D55EF8 /* DBTEAMSharingAllowlistListArg.h in Headers */, + F99E16E32B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */, + F99E1BE72B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h in Headers */, + F99E14432B7A733400D55EF8 /* DBTEAMGroupCreateError.h in Headers */, + F99E11792B7A733300D55EF8 /* DBSHARINGLinkMetadata.h in Headers */, + F99E16CD2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h in Headers */, + F99E20852B7A733D00D55EF8 /* DBFILESFileStatus.h in Headers */, + F99E1BC92B7A733900D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h in Headers */, + F99E156B2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilter.h in Headers */, + F99E15FD2B7A733500D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h in Headers */, + F99E1D9D2B7A733A00D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h in Headers */, + F99E11172B7A733300D55EF8 /* DBPAPERListPaperDocsSortBy.h in Headers */, + F99E139D2B7A733400D55EF8 /* DBTEAMUserSelectorError.h in Headers */, + F99E181D2B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h in Headers */, + F99E13AF2B7A733400D55EF8 /* DBTEAMTeamGetInfoResult.h in Headers */, + F99E19AB2B7A733800D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h in Headers */, + F99E17052B7A733600D55EF8 /* DBTEAMLOGMemberAddNameType.h in Headers */, + F99E1D0D2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h in Headers */, + F99E18F12B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h in Headers */, + F99E1C672B7A733900D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h in Headers */, + F99E1E492B7A733B00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h in Headers */, + F99E160F2B7A733500D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h in Headers */, + F99E164B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h in Headers */, + F99E19852B7A733800D55EF8 /* DBTEAMLOGParticipantLogInfo.h in Headers */, + F99E113B2B7A733300D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */, + F99E16FF2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h in Headers */, + F99E14ED2B7A733500D55EF8 /* DBTEAMGroupsListContinueArg.h in Headers */, + F99E18772B7A733700D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h in Headers */, + F99E1D652B7A733A00D55EF8 /* DBTEAMLOGGroupRenameType.h in Headers */, + F99E12412B7A733300D55EF8 /* DBSHARINGSharingFileAccessError.h in Headers */, + F99E12A32B7A733400D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */, + F99E1C2D2B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */, + F99E11AB2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipError.h in Headers */, + F99E13FF2B7A733400D55EF8 /* DBTEAMTeamFolderListArg.h in Headers */, + F99E10D12B7A733200D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h in Headers */, + F99E19292B7A733700D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */, + F99E1BD32B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h in Headers */, + F99E13692B7A733400D55EF8 /* DBTEAMLegalHoldPolicy.h in Headers */, + F99E1A872B7A733800D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */, + F99E1CBF2B7A733A00D55EF8 /* DBTEAMLOGCollectionShareType.h in Headers */, + F99E1DD32B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h in Headers */, + F99E19AD2B7A733800D55EF8 /* DBTEAMLOGTfaConfiguration.h in Headers */, + F99E12512B7A733300D55EF8 /* DBSHARINGSharedFolderAccessError.h in Headers */, + F99E11B92B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */, + F99E139F2B7A733400D55EF8 /* DBTEAMGroupFullInfo.h in Headers */, + F99E20B72B7A733D00D55EF8 /* DBStoneValidators.h in Headers */, + F99E12712B7A733300D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h in Headers */, + F99E1EFF2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h in Headers */, + F99E16892B7A733600D55EF8 /* DBTEAMLOGSfFbInviteType.h in Headers */, + F99E168B2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h in Headers */, + F99E1E712B7A733B00D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h in Headers */, + F99E1EB92B7A733B00D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */, + F99E20052B7A733C00D55EF8 /* DBFILESLockFileBatchArg.h in Headers */, + F99E17292B7A733600D55EF8 /* DBTEAMLOGGroupLogInfo.h in Headers */, + F99E110D2B7A733300D55EF8 /* DBPAPERListPaperDocsArgs.h in Headers */, + F99E13D72B7A733400D55EF8 /* DBTEAMListMemberDevicesResult.h in Headers */, + F99E15552B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesError.h in Headers */, + F99E130B2B7A733400D55EF8 /* DBASYNCLaunchEmptyResult.h in Headers */, + F99E123B2B7A733300D55EF8 /* DBSHARINGUserMembershipInfo.h in Headers */, + F99E16172B7A733500D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */, + F99E1A2F2B7A733800D55EF8 /* DBTEAMLOGReplayFileDeleteType.h in Headers */, + F99E170D2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h in Headers */, + F99E1F052B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h in Headers */, + F99E1B8F2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h in Headers */, + F99E19D72B7A733800D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h in Headers */, + F99E19B72B7A733800D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h in Headers */, + F99E16492B7A733600D55EF8 /* DBTEAMLOGSfFbInviteDetails.h in Headers */, + F99E13612B7A733400D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h in Headers */, + F99E1FAB2B7A733C00D55EF8 /* DBFILESUploadSessionStartArg.h in Headers */, + F99E16E52B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h in Headers */, + F99E19CB2B7A733800D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h in Headers */, + F99E14DF2B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h in Headers */, + F99E209D2B7A733D00D55EF8 /* DBACCOUNTPhotoSourceArg.h in Headers */, + F99E1CED2B7A733A00D55EF8 /* DBTEAMLOGTeamName.h in Headers */, + F99E14F52B7A733500D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h in Headers */, + F99E1ED92B7A733B00D55EF8 /* DBTEAMLOGShowcaseTrashedType.h in Headers */, + F99E16472B7A733600D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h in Headers */, + F99E1AD92B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */, + F99E16072B7A733500D55EF8 /* DBTEAMLOGInviteMethod.h in Headers */, + F99E11D52B7A733300D55EF8 /* DBSHARINGShareFolderError.h in Headers */, + F99E1B2F2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */, + F99E15072B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h in Headers */, + F99E11052B7A733300D55EF8 /* DBPAPERPaperDocPermissionLevel.h in Headers */, + F99E1A812B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportType.h in Headers */, + F99E12DB2B7A733400D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */, + F99E17DD2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h in Headers */, + F99E19EF2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */, + F99E15752B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */, + F99E11772B7A733300D55EF8 /* DBSHARINGListFileMembersIndividualResult.h in Headers */, + F99E12352B7A733300D55EF8 /* DBSHARINGAddFileMemberArgs.h in Headers */, + F99E1DB92B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */, + F99E1CF12B7A733A00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */, + F99E132D2B7A733400D55EF8 /* DBOPENIDUserInfoError.h in Headers */, + F99E1F952B7A733C00D55EF8 /* DBFILESSaveCopyReferenceArg.h in Headers */, + F99E1B132B7A733900D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */, + F99E1B5F2B7A733900D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h in Headers */, + F99E1D0F2B7A733A00D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h in Headers */, + F99E1A332B7A733800D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h in Headers */, + F99E13CB2B7A733400D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h in Headers */, + F99E1D1F2B7A733A00D55EF8 /* DBTEAMLOGShowcasePostCommentType.h in Headers */, + F99E13E72B7A733400D55EF8 /* DBTEAMTeamFolderListError.h in Headers */, + F99E1CC92B7A733A00D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h in Headers */, + F99E175D2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h in Headers */, + F99E1D132B7A733A00D55EF8 /* DBTEAMLOGFileRollbackChangesType.h in Headers */, + F99E1A272B7A733800D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */, + F99E1C0B2B7A733900D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */, + F99E1ADD2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h in Headers */, + F99E20752B7A733D00D55EF8 /* DBFILESCreateFolderResult.h in Headers */, + F99E1F712B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */, + F99E10F32B7A733300D55EF8 /* DBPAPERListPaperDocsResponse.h in Headers */, + F99E192B2B7A733700D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */, + F99E1E1D2B7A733B00D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */, + F99E1CA32B7A733A00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h in Headers */, + F99E16772B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */, + F99E1FFF2B7A733C00D55EF8 /* DBFILESListFolderArg.h in Headers */, + F99E1D972B7A733A00D55EF8 /* DBTEAMLOGFileRenameDetails.h in Headers */, + F99E1B2B2B7A733900D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h in Headers */, + F99E13C12B7A733400D55EF8 /* DBTEAMGroupsSelector.h in Headers */, + F99E1B172B7A733900D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */, + F99E19552B7A733700D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h in Headers */, + F99E12A72B7A733400D55EF8 /* DBSHARINGFilePermission.h in Headers */, + F99E1FCD2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchResult.h in Headers */, + F99E212B2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.h in Headers */, + F99E17CD2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h in Headers */, + F99E19CF2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h in Headers */, + F99E10ED2B7A733300D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */, + F99E1CD12B7A733A00D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h in Headers */, + F99E15B32B7A733500D55EF8 /* DBUSERSFullAccount.h in Headers */, + F99E17A12B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h in Headers */, + F99E20B32B7A733D00D55EF8 /* DBStoneBase.h in Headers */, + F99E20F32B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.h in Headers */, + F99E13E12B7A733400D55EF8 /* DBTEAMMembersAddJobStatus.h in Headers */, + F99E1F692B7A733C00D55EF8 /* DBFILESFileLockMetadata.h in Headers */, + F99E13F72B7A733400D55EF8 /* DBTEAMListMembersAppsError.h in Headers */, + F99E19E72B7A733800D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h in Headers */, + F99E1C8B2B7A733A00D55EF8 /* DBTEAMLOGSharedContentViewType.h in Headers */, + F99E14832B7A733500D55EF8 /* DBTEAMMembersInfo.h in Headers */, + F99E13212B7A733400D55EF8 /* DBCOMMONTeamRootInfo.h in Headers */, + F99E200D2B7A733C00D55EF8 /* DBFILESFileMetadata.h in Headers */, + F99E19492B7A733700D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h in Headers */, + F99E19792B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h in Headers */, + F99E18472B7A733700D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h in Headers */, + F99E1ED72B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h in Headers */, + F99E1E2B2B7A733B00D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h in Headers */, + F99E1EEF2B7A733B00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h in Headers */, + F99E1AD52B7A733800D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h in Headers */, + F99E20512B7A733C00D55EF8 /* DBFILESThumbnailMode.h in Headers */, + F99E1A2D2B7A733800D55EF8 /* DBTEAMLOGGetTeamEventsError.h in Headers */, + F99E1BC32B7A733900D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h in Headers */, + F99E1F372B7A733C00D55EF8 /* DBFILESSaveUrlError.h in Headers */, + F99E15B12B7A733500D55EF8 /* DBUSERSName.h in Headers */, + F99E1EDB2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h in Headers */, + F99E1EE12B7A733B00D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h in Headers */, + F99E1DAB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h in Headers */, + F99E1E772B7A733B00D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */, + F99E1F072B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */, + F99E1C012B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */, + F99E16A52B7A733600D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */, + F99E188F2B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h in Headers */, + F99E19F72B7A733800D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h in Headers */, + F99E1B992B7A733900D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h in Headers */, + F99E157B2B7A733500D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */, + F99E1D1B2B7A733A00D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h in Headers */, + F99E10DF2B7A733200D55EF8 /* DBPAPERSharingTeamPolicyType.h in Headers */, + F99E1A652B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h in Headers */, + F99E1B452B7A733900D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h in Headers */, + F99E14CB2B7A733500D55EF8 /* DBTEAMRemoveCustomQuotaResult.h in Headers */, + F99E19C12B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h in Headers */, + F99E11432B7A733300D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */, + F99E19912B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h in Headers */, + F99E12AD2B7A733400D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */, + F99E1DB52B7A733A00D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h in Headers */, + F99E1FCB2B7A733C00D55EF8 /* DBFILESListRevisionsResult.h in Headers */, + F99E1D672B7A733A00D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */, + F99E1F212B7A733C00D55EF8 /* DBFILESSymlinkInfo.h in Headers */, + F99E156F2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */, + F99E17632B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h in Headers */, + F99E1BBD2B7A733900D55EF8 /* DBTEAMLOGAdminRole.h in Headers */, + F99E18B92B7A733700D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h in Headers */, + F99E17712B7A733600D55EF8 /* DBTEAMLOGApiSessionLogInfo.h in Headers */, + F99E200B2B7A733C00D55EF8 /* DBFILESSearchOrderBy.h in Headers */, + F99E1F192B7A733C00D55EF8 /* DBFILESGetTemporaryLinkError.h in Headers */, + F99E15852B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */, + F99E20932B7A733D00D55EF8 /* DBFILESSearchMatchFieldOptions.h in Headers */, + F99E13392B7A733400D55EF8 /* DBTEAMGroupMembersRemoveError.h in Headers */, + F99E20092B7A733C00D55EF8 /* DBFILESSearchResult.h in Headers */, + F99E1F9B2B7A733C00D55EF8 /* DBFILESCreateFolderError.h in Headers */, + F99E12D92B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h in Headers */, + F99E1C9F2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h in Headers */, + F99E15A52B7A733500D55EF8 /* DBUSERSGetAccountArg.h in Headers */, + F99E10D52B7A733200D55EF8 /* DBPAPERPaperFolderCreateResult.h in Headers */, + F99E16CB2B7A733600D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */, + F99E1D512B7A733A00D55EF8 /* DBTEAMLOGPasswordChangeDetails.h in Headers */, + F99E1A8B2B7A733800D55EF8 /* DBTEAMLOGPaperDocFollowedType.h in Headers */, + F99E1B4F2B7A733900D55EF8 /* DBTEAMLOGJoinTeamDetails.h in Headers */, + F99E12F32B7A733400D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h in Headers */, + F99E17212B7A733600D55EF8 /* DBTEAMLOGSfTeamUninviteType.h in Headers */, + F99E17772B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h in Headers */, + F99E16D52B7A733600D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h in Headers */, + F99E1CC52B7A733A00D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */, + F99E1B612B7A733900D55EF8 /* DBTEAMLOGAppLinkUserType.h in Headers */, + F99E16012B7A733500D55EF8 /* DBTEAMLOGFileLikeCommentType.h in Headers */, + F99E15CB2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h in Headers */, + F99E1D832B7A733A00D55EF8 /* DBTEAMLOGLoginMethod.h in Headers */, + F99E1C852B7A733A00D55EF8 /* DBTEAMLOGSharedLinkDisableType.h in Headers */, + F99E1DED2B7A733B00D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h in Headers */, + F99E16C52B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h in Headers */, + F99E154D2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */, + F99E13A92B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h in Headers */, + F99E1E2D2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h in Headers */, + F99E15ED2B7A733500D55EF8 /* DBTEAMLOGDispositionActionType.h in Headers */, + F99E17092B7A733600D55EF8 /* DBTEAMLOGSharedLinkViewType.h in Headers */, + F99E14C32B7A733500D55EF8 /* DBTEAMListMemberDevicesArg.h in Headers */, + F99E1A412B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h in Headers */, + F99E153B2B7A733500D55EF8 /* DBTEAMExcludedUsersUpdateArg.h in Headers */, + F99E13DF2B7A733400D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h in Headers */, + F99E1A252B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */, + F99E19992B7A733800D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h in Headers */, + F99E11972B7A733300D55EF8 /* DBSHARINGSharedLinkError.h in Headers */, + F99E1D4F2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h in Headers */, + F99E1B032B7A733900D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h in Headers */, + F99E16632B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h in Headers */, + F99E1E4F2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */, + F99E13ED2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h in Headers */, + F99E1B652B7A733900D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */, + F99E1D772B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h in Headers */, + F99E17972B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h in Headers */, + F99E11712B7A733300D55EF8 /* DBSHARINGGetSharedLinksArg.h in Headers */, + F99E1F652B7A733C00D55EF8 /* DBFILESVideoMetadata.h in Headers */, + F99E14CF2B7A733500D55EF8 /* DBTEAMRevokeLinkedAppError.h in Headers */, + F99E1EE32B7A733B00D55EF8 /* DBTEAMLOGFileDeleteDetails.h in Headers */, + F99E1ECD2B7A733B00D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h in Headers */, + F99E114B2B7A733300D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */, + F99E113F2B7A733300D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */, + F99E14AD2B7A733500D55EF8 /* DBTEAMDevicesActive.h in Headers */, + F99E1FAD2B7A733C00D55EF8 /* DBFILESMediaMetadata.h in Headers */, + F99E163D2B7A733600D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h in Headers */, + F99E10EF2B7A733300D55EF8 /* DBPAPERListDocsCursorError.h in Headers */, + F99E1F412B7A733C00D55EF8 /* DBFILESCreateFolderBatchError.h in Headers */, + F99E1C092B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h in Headers */, + F99E1BD92B7A733900D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */, + F99E1FE72B7A733C00D55EF8 /* DBFILESListFolderError.h in Headers */, + F99E12832B7A733300D55EF8 /* DBSHARINGShareFolderErrorBase.h in Headers */, + F99E15D92B7A733500D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h in Headers */, + F99E1D7B2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderCreateType.h in Headers */, + F99E19352B7A733700D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h in Headers */, + F99E13A72B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */, + F99E128F2B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberError.h in Headers */, + F99E1DE52B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h in Headers */, + F99E15BF2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h in Headers */, + F99E1BF12B7A733900D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h in Headers */, + F99E11612B7A733300D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h in Headers */, + F99E10EB2B7A733300D55EF8 /* DBPAPERListPaperDocsFilterBy.h in Headers */, + F99E207D2B7A733D00D55EF8 /* DBFILESGetMetadataError.h in Headers */, + F99E1BFF2B7A733900D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */, + F99E19B32B7A733800D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h in Headers */, + F99E18732B7A733700D55EF8 /* DBTEAMLOGPaperDocTrashedType.h in Headers */, + F99E20CF2B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.h in Headers */, + F99E1C372B7A733900D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h in Headers */, + F99E142B2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h in Headers */, + F99E1C172B7A733900D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */, + F99E11FF2B7A733300D55EF8 /* DBSHARINGLinkPermission.h in Headers */, + F99E13672B7A733400D55EF8 /* DBTEAMMembersUnsuspendArg.h in Headers */, + F99E1F4D2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchArg.h in Headers */, + F99E1F532B7A733C00D55EF8 /* DBFILESSaveUrlArg.h in Headers */, + F99E18492B7A733700D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h in Headers */, + F99E15772B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h in Headers */, + F99E17C52B7A733600D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h in Headers */, + F99E12692B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceError.h in Headers */, + F99E11912B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberArg.h in Headers */, + F99E1FA52B7A733C00D55EF8 /* DBFILESMoveBatchArg.h in Headers */, + F99E123D2B7A733300D55EF8 /* DBSHARINGAddMemberSelectorError.h in Headers */, + F99E12192B7A733300D55EF8 /* DBSHARINGListFileMembersBatchResult.h in Headers */, + F99E1B672B7A733900D55EF8 /* DBTEAMLOGFileAddCommentDetails.h in Headers */, + F99E1E672B7A733B00D55EF8 /* DBTEAMLOGFileRequestChangeType.h in Headers */, + F99E202F2B7A733C00D55EF8 /* DBFILESExportArg.h in Headers */, + F99E122F2B7A733300D55EF8 /* DBSHARINGListFoldersContinueArg.h in Headers */, + F99E18192B7A733700D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h in Headers */, + F99E14112B7A733400D55EF8 /* DBTEAMMemberAddArgBase.h in Headers */, + F99E1DDF2B7A733B00D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h in Headers */, + F99E184F2B7A733700D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h in Headers */, + F99E209F2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoResult.h in Headers */, + F99E19F12B7A733800D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h in Headers */, + F99E1D792B7A733A00D55EF8 /* DBTEAMLOGPaperDocDownloadType.h in Headers */, + F99E1C332B7A733900D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h in Headers */, + F99E182B2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h in Headers */, + F99E1ADF2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h in Headers */, + F99E13F32B7A733400D55EF8 /* DBTEAMResendVerificationEmailResult.h in Headers */, + F99E1F772B7A733C00D55EF8 /* DBFILESSyncSettingArg.h in Headers */, + F99E12A52B7A733400D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h in Headers */, + F99E1A0B2B7A733800D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h in Headers */, + F99E1BB72B7A733900D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h in Headers */, + F99E187D2B7A733700D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h in Headers */, + F99E1DF92B7A733B00D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h in Headers */, + F99E121B2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueError.h in Headers */, + F99E15372B7A733500D55EF8 /* DBTEAMTeamNamespacesListResult.h in Headers */, + F99E1D9B2B7A733A00D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h in Headers */, + F99E1EBB2B7A733B00D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h in Headers */, + F99E1B092B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */, + F99E18412B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h in Headers */, + F99E1EAD2B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h in Headers */, + F99E11252B7A733300D55EF8 /* DBPAPERSharingPublicPolicyType.h in Headers */, + F99E16ED2B7A733600D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h in Headers */, + F99E15492B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */, + F99E16E12B7A733600D55EF8 /* DBTEAMLOGShowcaseViewDetails.h in Headers */, + F99E1B552B7A733900D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */, + F99E12EB2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h in Headers */, + F99E14AB2B7A733500D55EF8 /* DBTEAMMemberAddV2Result.h in Headers */, + F99E20332B7A733C00D55EF8 /* DBFILESGetMetadataArg.h in Headers */, + F99E1C452B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h in Headers */, + F99E1EF12B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h in Headers */, + F99E206B2B7A733C00D55EF8 /* DBFILESExportError.h in Headers */, + F99E1DF52B7A733B00D55EF8 /* DBTEAMLOGObjectLabelAddedType.h in Headers */, + F99E14272B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h in Headers */, + F99E19FD2B7A733800D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h in Headers */, + F99E1AF92B7A733800D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h in Headers */, + F99E18032B7A733700D55EF8 /* DBTEAMLOGRewindFolderType.h in Headers */, + F99E18172B7A733700D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h in Headers */, + F99E15732B7A733500D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */, + F99E11C92B7A733300D55EF8 /* DBSHARINGLinkSettings.h in Headers */, + F99E1AD32B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h in Headers */, + F99E16032B7A733500D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h in Headers */, + F99E11352B7A733300D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h in Headers */, + F99E13C52B7A733400D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h in Headers */, + F99E17372B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h in Headers */, + F99E13BF2B7A733400D55EF8 /* DBTEAMRevokeDesktopClientArg.h in Headers */, + F99E1C392B7A733900D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h in Headers */, + F99E1E572B7A733B00D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h in Headers */, + F99E14A92B7A733500D55EF8 /* DBTEAMTeamFolderArchiveArg.h in Headers */, + F99E17832B7A733600D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h in Headers */, + F99E1A852B7A733800D55EF8 /* DBTEAMLOGEmmAddExceptionType.h in Headers */, + F99E1B112B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h in Headers */, + F99E13A52B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateResult.h in Headers */, + F99E1C7F2B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h in Headers */, + F99E1D212B7A733A00D55EF8 /* DBTEAMLOGPaperContentRenameType.h in Headers */, + F99E130F2B7A733400D55EF8 /* DBASYNCPollArg.h in Headers */, + F99E1BC12B7A733900D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h in Headers */, + F99E1BDD2B7A733900D55EF8 /* DBTEAMLOGSharingLinkPolicy.h in Headers */, + F99E18CB2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */, + F99E1E112B7A733B00D55EF8 /* DBTEAMLOGFileDeleteType.h in Headers */, + F99E1EDD2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h in Headers */, + F99E16592B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h in Headers */, + F99E1B352B7A733900D55EF8 /* DBTEAMLOGAppLinkTeamType.h in Headers */, + F99E1FC72B7A733C00D55EF8 /* DBFILESRelocationError.h in Headers */, + F99E19952B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h in Headers */, + F99E18532B7A733700D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */, + F99E19272B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h in Headers */, + F99E10F72B7A733300D55EF8 /* DBPAPERRemovePaperDocUser.h in Headers */, + F99E1D292B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h in Headers */, + F99E185D2B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h in Headers */, + F99E1C432B7A733900D55EF8 /* DBTEAMLOGPasswordChangeType.h in Headers */, + F99E1C532B7A733900D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */, + F99E1A052B7A733800D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h in Headers */, + F99E17A52B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedType.h in Headers */, + F99E20D52B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */, + F99E18972B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h in Headers */, + F99E19372B7A733700D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h in Headers */, + F99E16B32B7A733600D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */, + F99E1F112B7A733B00D55EF8 /* DBFILESSearchMatch.h in Headers */, + F99E11692B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */, + F99E18DF2B7A733700D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */, + F99E14D52B7A733500D55EF8 /* DBTEAMMembersRecoverError.h in Headers */, + F99E1D912B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h in Headers */, + F99E1DD52B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteType.h in Headers */, + F99E166B2B7A733600D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h in Headers */, + F99E1DAD2B7A733A00D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h in Headers */, + F99E10D32B7A733200D55EF8 /* DBPAPERPaperDocUpdatePolicy.h in Headers */, + F99E191F2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h in Headers */, + F99E18432B7A733700D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h in Headers */, + F99E12812B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h in Headers */, + F99E13BD2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddError.h in Headers */, + F99E16132B7A733500D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h in Headers */, + F99E14052B7A733400D55EF8 /* DBTEAMExcludedUsersListContinueError.h in Headers */, + F99E1F492B7A733C00D55EF8 /* DBFILESRemoveTagError.h in Headers */, + F99E1CCB2B7A733A00D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h in Headers */, + F99E18552B7A733700D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */, + F99E140D2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddResponse.h in Headers */, + F99E15F52B7A733500D55EF8 /* DBTEAMLOGComputerBackupPolicy.h in Headers */, + F99E19592B7A733700D55EF8 /* DBTEAMLOGFedAdminRole.h in Headers */, + F99E1FE32B7A733C00D55EF8 /* DBFILESListFolderContinueArg.h in Headers */, + F99E1E972B7A733B00D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h in Headers */, + F99E1B472B7A733900D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h in Headers */, + F99E1E932B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h in Headers */, + F99E12132B7A733300D55EF8 /* DBSHARINGListFileMembersArg.h in Headers */, + F99E1DEB2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */, + F99E1E232B7A733B00D55EF8 /* DBTEAMLOGFileResolveCommentType.h in Headers */, + F99E1FF52B7A733C00D55EF8 /* DBFILESHighlightSpan.h in Headers */, + F99E14712B7A733500D55EF8 /* DBTEAMGetStorageReport.h in Headers */, + F99E1E6D2B7A733B00D55EF8 /* DBTEAMLOGPaperDownloadFormat.h in Headers */, + F99E172B2B7A733600D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */, + F99E1CE92B7A733A00D55EF8 /* DBTEAMLOGSfInviteGroupType.h in Headers */, + F99E1AB92B7A733800D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h in Headers */, + F99E1A292B7A733800D55EF8 /* DBTEAMLOGBinderAddSectionType.h in Headers */, + F99E1AC72B7A733800D55EF8 /* DBTEAMLOGEmmErrorDetails.h in Headers */, + F99E19132B7A733700D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h in Headers */, + F99E1FDD2B7A733C00D55EF8 /* DBFILESRelocationBatchErrorEntry.h in Headers */, + F99E1E312B7A733B00D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h in Headers */, + F99E17312B7A733600D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h in Headers */, + F99E19DD2B7A733800D55EF8 /* DBTEAMLOGPaperDocEditDetails.h in Headers */, + F99E1EFB2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h in Headers */, + F99E1B492B7A733900D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h in Headers */, + F99E1D6F2B7A733A00D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h in Headers */, + F99E124F2B7A733300D55EF8 /* DBSHARINGInsufficientPlan.h in Headers */, + F99E18912B7A733700D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h in Headers */, + F99E11A72B7A733300D55EF8 /* DBSHARINGListFileMembersBatchArg.h in Headers */, + F99E1F812B7A733C00D55EF8 /* DBFILESPhotoMetadata.h in Headers */, + F99E111D2B7A733300D55EF8 /* DBPAPERPaperFolderCreateArg.h in Headers */, + F99E1AB12B7A733800D55EF8 /* DBTEAMLOGFileRequestDetails.h in Headers */, + F99E12E92B7A733400D55EF8 /* DBFILEREQUESTSFileRequestError.h in Headers */, + F99E1BA72B7A733900D55EF8 /* DBTEAMLOGTimeUnit.h in Headers */, + F99E1D012B7A733A00D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */, + F99E1D312B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h in Headers */, + F99E198B2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h in Headers */, + F99E1AE52B7A733800D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h in Headers */, + F99E12632B7A733300D55EF8 /* DBSHARINGListFoldersResult.h in Headers */, + F99E19C32B7A733800D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h in Headers */, + F99E12932B7A733300D55EF8 /* DBSHARINGFolderPermission.h in Headers */, + F99E187F2B7A733700D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h in Headers */, + F99E176D2B7A733600D55EF8 /* DBTEAMLOGLoginSuccessType.h in Headers */, + F99E1C3F2B7A733900D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h in Headers */, + F99E18E72B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h in Headers */, + F99E16A12B7A733600D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h in Headers */, + F99E16572B7A733600D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h in Headers */, + F99E1AB32B7A733800D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h in Headers */, + F99E14D72B7A733500D55EF8 /* DBTEAMCustomQuotaError.h in Headers */, + F99E1F972B7A733C00D55EF8 /* DBFILESPaperCreateError.h in Headers */, + F99E14632B7A733400D55EF8 /* DBTEAMGroupUpdateError.h in Headers */, + F99E12E72B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */, + F99E17F12B7A733700D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h in Headers */, + F99E1D192B7A733A00D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h in Headers */, + F99E20072B7A733C00D55EF8 /* DBFILESPaperUpdateArg.h in Headers */, + F99E11032B7A733300D55EF8 /* DBPAPERPaperFolderCreateError.h in Headers */, + F99E15052B7A733500D55EF8 /* DBTEAMMembersSetPermissionsError.h in Headers */, + F99E199F2B7A733800D55EF8 /* DBTEAMLOGTfaResetDetails.h in Headers */, + F99E17812B7A733600D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */, + F99E1AE92B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h in Headers */, + F99E15EF2B7A733500D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h in Headers */, + F99E1EF72B7A733B00D55EF8 /* DBTEAMLOGLockStatus.h in Headers */, + F99E111B2B7A733300D55EF8 /* DBPAPERPaperApiCursorError.h in Headers */, + F99E1B532B7A733900D55EF8 /* DBTEAMLOGMemberChangeEmailType.h in Headers */, + F99E1BC72B7A733900D55EF8 /* DBTEAMLOGPaperDocViewDetails.h in Headers */, + F99E14212B7A733400D55EF8 /* DBTEAMDesktopPlatform.h in Headers */, + F99E18272B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedType.h in Headers */, + F99E20EB2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */, + F99E19ED2B7A733800D55EF8 /* DBTEAMLOGDurationLogInfo.h in Headers */, + F99E1DA92B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */, + F99E12272B7A733300D55EF8 /* DBSHARINGFolderPolicy.h in Headers */, + F99E12792B7A733300D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h in Headers */, + F99E10CD2B7A733200D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h in Headers */, + F99E1DC32B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h in Headers */, + F99E15592B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */, + F99E12E52B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h in Headers */, + F99E1C252B7A733900D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */, + F99E1A4D2B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h in Headers */, + F99E1DF32B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */, + F99E189F2B7A733700D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h in Headers */, + F99E10FD2B7A733300D55EF8 /* DBPAPERListUsersOnFolderArgs.h in Headers */, + F99E16952B7A733600D55EF8 /* DBTEAMLOGEmmChangePolicyType.h in Headers */, + F99E173F2B7A733600D55EF8 /* DBTEAMLOGFileAddType.h in Headers */, + F99E1B892B7A733900D55EF8 /* DBTEAMLOGMemberChangeStatusType.h in Headers */, + F99E136F2B7A733400D55EF8 /* DBTEAMMembersRemoveError.h in Headers */, + F99E19AF2B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h in Headers */, + F99E15BB2B7A733500D55EF8 /* DBUSERSFileLockingValue.h in Headers */, + F99E14652B7A733400D55EF8 /* DBTEAMListMemberAppsArg.h in Headers */, + F99E10FF2B7A733300D55EF8 /* DBPAPERAddPaperDocUser.h in Headers */, + F99E18712B7A733700D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h in Headers */, + F99E1AFB2B7A733800D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h in Headers */, + F99E1D3D2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h in Headers */, + F99E18112B7A733700D55EF8 /* DBTEAMLOGShowcaseRestoredType.h in Headers */, + F99E121D2B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberArg.h in Headers */, + F99E1EC72B7A733B00D55EF8 /* DBTEAMLOGPaperContentRestoreType.h in Headers */, + F99E1A572B7A733800D55EF8 /* DBTEAMLOGIdentifierType.h in Headers */, + F99E1ED12B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h in Headers */, + F99E203D2B7A733C00D55EF8 /* DBFILESSearchV2ContinueArg.h in Headers */, + F99E16F52B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h in Headers */, + F99E10C32B7A733200D55EF8 /* DBAppBaseClient.h in Headers */, + F99E1A132B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */, + F99E16512B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h in Headers */, + F99E159D2B7A733500D55EF8 /* DBUSERSBasicAccount.h in Headers */, + F99E11652B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h in Headers */, + F99E172D2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h in Headers */, + F99E1E532B7A733B00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h in Headers */, + F99E1ACF2B7A733800D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */, + F99E1AA92B7A733800D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h in Headers */, + F99E1E592B7A733B00D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h in Headers */, + F99E1DFB2B7A733B00D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h in Headers */, + F99E206F2B7A733C00D55EF8 /* DBFILESDeleteResult.h in Headers */, + F99E141B2B7A733400D55EF8 /* DBTEAMTeamFolderListContinueArg.h in Headers */, + F99E1C152B7A733900D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h in Headers */, + F99E151D2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h in Headers */, + F99E1F8F2B7A733C00D55EF8 /* DBFILESRelocationBatchResultEntry.h in Headers */, + F99E17AF2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h in Headers */, + F99E20292B7A733C00D55EF8 /* DBFILESCreateFolderBatchResultEntry.h in Headers */, + F99E15C92B7A733500D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h in Headers */, + F99E14C92B7A733500D55EF8 /* DBTEAMDeviceSession.h in Headers */, + F99E19512B7A733700D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h in Headers */, + F99E15012B7A733500D55EF8 /* DBTEAMTeamFolderStatus.h in Headers */, + F99E11C72B7A733300D55EF8 /* DBSHARINGGetFileMetadataArg.h in Headers */, + F99E1C292B7A733900D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h in Headers */, + F99E17732B7A733600D55EF8 /* DBTEAMLOGPolicyType.h in Headers */, + F99E1F7D2B7A733C00D55EF8 /* DBFILESPreviewResult.h in Headers */, + F99E1ED32B7A733B00D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h in Headers */, + F99E13892B7A733400D55EF8 /* DBTEAMTeamFolderActivateError.h in Headers */, + F99E11D32B7A733300D55EF8 /* DBSHARINGRemoveFileMemberArg.h in Headers */, + F99E18ED2B7A733700D55EF8 /* DBTEAMLOGShowcaseViewType.h in Headers */, + F99E18DB2B7A733700D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */, + F99E128B2B7A733300D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */, + F99E1B632B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h in Headers */, + F99E12D12B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h in Headers */, + F99E1CC32B7A733A00D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */, + F99E12572B7A733300D55EF8 /* DBSHARINGAddFolderMemberArg.h in Headers */, + F99E20772B7A733D00D55EF8 /* DBFILESUploadSessionFinishBatchArg.h in Headers */, + F99E1B292B7A733900D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h in Headers */, + F99E13DB2B7A733400D55EF8 /* DBTEAMMembersTransferFilesError.h in Headers */, + F99E11F52B7A733300D55EF8 /* DBSHARINGParentFolderAccessInfo.h in Headers */, + F99E21112B7A733D00D55EF8 /* DBPAPERRouteObjects.h in Headers */, + F99E129B2B7A733300D55EF8 /* DBSHARINGFolderAction.h in Headers */, + F99E11F92B7A733300D55EF8 /* DBSHARINGVisibilityPolicy.h in Headers */, + F99E13012B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsError.h in Headers */, + F99E14312B7A733400D55EF8 /* DBTEAMMemberAddResult.h in Headers */, + F99E1E6B2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */, + F99E1C732B7A733900D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h in Headers */, + F99E1F292B7A733C00D55EF8 /* DBFILESGetCopyReferenceError.h in Headers */, + F99E17C72B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */, + F99E12012B7A733300D55EF8 /* DBSHARINGSharedFolderMembers.h in Headers */, + F99E1B872B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h in Headers */, + F99E1A0F2B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h in Headers */, + F99E17852B7A733600D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h in Headers */, + F99E1A352B7A733800D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */, + F99E205B2B7A733C00D55EF8 /* DBFILESPaperCreateResult.h in Headers */, + F99E16F92B7A733600D55EF8 /* DBTEAMLOGSessionLogInfo.h in Headers */, + F99E1CBB2B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h in Headers */, + F99E12972B7A733300D55EF8 /* DBSHARINGListFileMembersCountResult.h in Headers */, + F99E16912B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h in Headers */, + F99E1BDB2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h in Headers */, + F99E16D32B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h in Headers */, + F99E151B2B7A733500D55EF8 /* DBTEAMMemberAddArg.h in Headers */, + F99E18B72B7A733700D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h in Headers */, + F99E17412B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h in Headers */, + F99E1E252B7A733B00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h in Headers */, + F99E14692B7A733500D55EF8 /* DBTEAMGroupMembersSelector.h in Headers */, + F99E12492B7A733300D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */, + F99E1D332B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h in Headers */, + F99E12A12B7A733400D55EF8 /* DBSHARINGLinkAccessLevel.h in Headers */, + F99E1EFD2B7A733B00D55EF8 /* DBTEAMLOGActorLogInfo.h in Headers */, + F99E1B952B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */, + F99E16252B7A733600D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h in Headers */, + F99E1FF72B7A733C00D55EF8 /* DBFILESDimensions.h in Headers */, + F99E19872B7A733800D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */, + F99E14992B7A733500D55EF8 /* DBTEAMMembersDeactivateError.h in Headers */, + F99E17FF2B7A733700D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h in Headers */, + F99E1C872B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h in Headers */, + F99E18332B7A733700D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h in Headers */, + F99E12612B7A733300D55EF8 /* DBSHARINGListFolderMembersArgs.h in Headers */, + F99E133D2B7A733400D55EF8 /* DBTEAMMemberAddResultBase.h in Headers */, + F99E1D992B7A733A00D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h in Headers */, + F99E1DA32B7A733A00D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h in Headers */, + F99E19DF2B7A733800D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */, + F99E13BB2B7A733400D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */, + F99E1B1D2B7A733900D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h in Headers */, + F99E20152B7A733C00D55EF8 /* DBFILESSaveCopyReferenceError.h in Headers */, + F99E1AFD2B7A733800D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h in Headers */, + F99E136D2B7A733400D55EF8 /* DBTEAMBaseDfbReport.h in Headers */, + F99E13512B7A733400D55EF8 /* DBTEAMGroupAccessType.h in Headers */, + F99E17692B7A733600D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */, + F99E21032B7A733D00D55EF8 /* DBACCOUNTRouteObjects.h in Headers */, + F99E1A372B7A733800D55EF8 /* DBTEAMLOGExportMembersReportFailType.h in Headers */, + F99E11A32B7A733300D55EF8 /* DBSHARINGUnshareFileError.h in Headers */, + F99E11EB2B7A733300D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h in Headers */, + F99E11BF2B7A733300D55EF8 /* DBSHARINGFileErrorResult.h in Headers */, + F99E11672B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h in Headers */, + F99E14932B7A733500D55EF8 /* DBTEAMDesktopClientSession.h in Headers */, + F99E1FD72B7A733C00D55EF8 /* DBFILESSyncSettingsError.h in Headers */, + F99E1CA92B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h in Headers */, + F99E1AC32B7A733800D55EF8 /* DBTEAMLOGOrganizationName.h in Headers */, + F99E13A12B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsArg.h in Headers */, + F99E1D6B2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h in Headers */, + F99E10E12B7A733300D55EF8 /* DBPAPERFolderSharingPolicyType.h in Headers */, + F99E140B2B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsError.h in Headers */, + F99E15D72B7A733500D55EF8 /* DBTEAMLOGFileMoveType.h in Headers */, + F99E1F4F2B7A733C00D55EF8 /* DBFILESWriteMode.h in Headers */, + F99E1DCB2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h in Headers */, + F99E1CB92B7A733A00D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h in Headers */, + F99E20172B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */, + F99E1FE92B7A733C00D55EF8 /* DBFILESSearchError.h in Headers */, + F99E1FD12B7A733C00D55EF8 /* DBFILESUploadSessionLookupError.h in Headers */, + F99E18A52B7A733700D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h in Headers */, + F99E16332B7A733600D55EF8 /* DBTEAMLOGPaperDocDeletedType.h in Headers */, + F99E20CD2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.h in Headers */, + F99E145F2B7A733400D55EF8 /* DBTEAMNamespaceType.h in Headers */, + F99E1A912B7A733800D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */, + F99E180B2B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h in Headers */, + F99E1DBB2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h in Headers */, + F99E10CB2B7A733200D55EF8 /* DBPAPERFoldersContainingPaperDoc.h in Headers */, + F99E1A112B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */, + F99E1A4B2B7A733800D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */, + F99E17D72B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */, + F99E14332B7A733400D55EF8 /* DBTEAMGetMembershipReport.h in Headers */, + F99E171F2B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h in Headers */, + F99E20E72B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.h in Headers */, + F99E153D2B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoError.h in Headers */, + F99E13CF2B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h in Headers */, + F99E175F2B7A733600D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h in Headers */, + F99E18592B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h in Headers */, + F99E19B12B7A733800D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */, + F99E1A1D2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */, + F99E1E3B2B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h in Headers */, + F99E16192B7A733500D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h in Headers */, + F99E17612B7A733600D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */, + F99E1FB92B7A733C00D55EF8 /* DBFILESDeleteBatchResult.h in Headers */, + F99E161B2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */, + F99E11752B7A733300D55EF8 /* DBSHARINGPendingUploadMode.h in Headers */, + F99E1ECB2B7A733B00D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */, + F99E20372B7A733C00D55EF8 /* DBFILESAlphaGetMetadataError.h in Headers */, + F99E12AB2B7A733400D55EF8 /* DBSHARINGAccessInheritance.h in Headers */, + F99E163B2B7A733600D55EF8 /* DBTEAMLOGFileAddCommentType.h in Headers */, + F99E14D12B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */, + F99E1BBF2B7A733900D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h in Headers */, + F99E1EBF2B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h in Headers */, + F99E1A9F2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h in Headers */, + F99E20952B7A733D00D55EF8 /* DBFILESUploadSessionOffsetError.h in Headers */, + F99E19FB2B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkType.h in Headers */, + F99E20E12B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.h in Headers */, + F99E15A32B7A733500D55EF8 /* DBUSERSUserFeatureValue.h in Headers */, + F99E13132B7A733400D55EF8 /* DBTEAMCOMMONGroupSummary.h in Headers */, + F99E12552B7A733300D55EF8 /* DBSHARINGSharedFileMembers.h in Headers */, + F99E1C832B7A733A00D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h in Headers */, + F99E13312B7A733400D55EF8 /* DBOPENIDUserInfoArgs.h in Headers */, + F99E13E92B7A733400D55EF8 /* DBTEAMMobileClientSession.h in Headers */, + F99E12C72B7A733400D55EF8 /* DBAUTHRateLimitReason.h in Headers */, + F99E128D2B7A733300D55EF8 /* DBSHARINGGroupInfo.h in Headers */, + F99E165D2B7A733600D55EF8 /* DBTEAMLOGFileEditCommentDetails.h in Headers */, + F99E1FA12B7A733C00D55EF8 /* DBFILESLockConflictError.h in Headers */, + F99E16C12B7A733600D55EF8 /* DBTEAMLOGDownloadPolicyType.h in Headers */, + F99E165B2B7A733600D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h in Headers */, + F99E16EB2B7A733600D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h in Headers */, + F99E119D2B7A733300D55EF8 /* DBSHARINGUpdateFileMemberArgs.h in Headers */, + F99E1BCF2B7A733900D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */, + F99E20F12B7A733D00D55EF8 /* DBFILESUserAuthRoutes.h in Headers */, + F99E1A3D2B7A733800D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h in Headers */, + F99E13FD2B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Result.h in Headers */, + F99E112B2B7A733300D55EF8 /* DBPAPERAddPaperDocUserResult.h in Headers */, + F99E1C572B7A733900D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */, + F99E212F2B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.h in Headers */, + F99E1EC92B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */, + F99E10BF2B7A733200D55EF8 /* DBUserBaseClient.h in Headers */, + F99E13772B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h in Headers */, + F99E1E072B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */, + F99E1CBD2B7A733A00D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */, + F99E1FBF2B7A733C00D55EF8 /* DBFILESContentSyncSettingArg.h in Headers */, + F99E185B2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h in Headers */, + F99E20872B7A733D00D55EF8 /* DBFILESCreateFolderArg.h in Headers */, + F99E20392B7A733C00D55EF8 /* DBFILESSearchArg.h in Headers */, + F99E20812B7A733D00D55EF8 /* DBFILESGetThumbnailBatchResult.h in Headers */, + F99E17F72B7A733700D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h in Headers */, + F99E1EB32B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */, + F99E21012B7A733D00D55EF8 /* DBFILESRouteObjects.h in Headers */, + F99E17572B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h in Headers */, + F99E12952B7A733300D55EF8 /* DBSHARINGJobStatus.h in Headers */, + F99E11C52B7A733300D55EF8 /* DBSHARINGMemberAction.h in Headers */, + F99E1D6D2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h in Headers */, + F99E1CD32B7A733A00D55EF8 /* DBTEAMLOGGetTeamEventsArg.h in Headers */, + F99E1BEB2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h in Headers */, + F99E132B2B7A733400D55EF8 /* DBOPENIDUserInfoResult.h in Headers */, + F99E1B312B7A733900D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h in Headers */, + F99E19EB2B7A733800D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h in Headers */, + F99E17D52B7A733700D55EF8 /* DBTEAMLOGUserLogInfo.h in Headers */, + F99E11012B7A733300D55EF8 /* DBPAPERPaperDocUpdateArgs.h in Headers */, + F99E13792B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */, + F99E14E52B7A733500D55EF8 /* DBTEAMListMembersAppsResult.h in Headers */, + F99E118D2B7A733300D55EF8 /* DBSHARINGGetSharedLinksResult.h in Headers */, + F99E14812B7A733500D55EF8 /* DBTEAMGroupDeleteError.h in Headers */, + F99E12BD2B7A733400D55EF8 /* DBAUTHAccessError.h in Headers */, + F99E1C792B7A733900D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h in Headers */, + F99E1E172B7A733B00D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h in Headers */, + F99E195D2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */, + F99E1F232B7A733C00D55EF8 /* DBFILESThumbnailFormat.h in Headers */, + F99E1CB32B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */, + F99E1E512B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */, + F99E1A552B7A733800D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h in Headers */, + F99E10F12B7A733300D55EF8 /* DBPAPERAddMember.h in Headers */, + F99E1D072B7A733A00D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h in Headers */, + F99E11312B7A733300D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h in Headers */, + F99E113D2B7A733300D55EF8 /* DBTEAMPOLICIESSsoPolicy.h in Headers */, + F99E11512B7A733300D55EF8 /* DBTEAMPOLICIESRolloutMethod.h in Headers */, + F99E1C492B7A733900D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */, + F99E211B2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.h in Headers */, + F99E12E32B7A733400D55EF8 /* DBFILEREQUESTSFileRequest.h in Headers */, + F99E1F8D2B7A733C00D55EF8 /* DBFILESDeleteError.h in Headers */, + F99E13112B7A733400D55EF8 /* DBASYNCPollError.h in Headers */, + F99E1AB72B7A733800D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */, + F99E205D2B7A733C00D55EF8 /* DBFILESSharedLinkFileInfo.h in Headers */, + F99E18F52B7A733700D55EF8 /* DBTEAMLOGLogoutType.h in Headers */, + F99E13872B7A733400D55EF8 /* DBTEAMUserDeleteResult.h in Headers */, + F99E15352B7A733500D55EF8 /* DBTEAMMembersListContinueArg.h in Headers */, + F99E18992B7A733700D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */, + F99E20692B7A733C00D55EF8 /* DBFILESUploadError.h in Headers */, + F99E17512B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h in Headers */, + F99E1B3F2B7A733900D55EF8 /* DBTEAMLOGSharedContentViewDetails.h in Headers */, + F99E11E92B7A733300D55EF8 /* DBSHARINGUnmountFolderArg.h in Headers */, + F99E14792B7A733500D55EF8 /* DBTEAMListTeamAppsError.h in Headers */, + F99E19712B7A733800D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */, + F99E1C912B7A733A00D55EF8 /* DBTEAMLOGCreateFolderType.h in Headers */, + F99E17B12B7A733600D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h in Headers */, + F99E1DDD2B7A733B00D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h in Headers */, + F99E14C12B7A733500D55EF8 /* DBTEAMUserCustomQuotaArg.h in Headers */, + F99E13B32B7A733400D55EF8 /* DBTEAMResendSecondaryEmailResult.h in Headers */, + F99E17ED2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h in Headers */, + F99E1EB12B7A733B00D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h in Headers */, + F99E1BB52B7A733900D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */, + F99E178B2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h in Headers */, + F99E1E632B7A733B00D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h in Headers */, + F99E1FF12B7A733C00D55EF8 /* DBFILESContentSyncSetting.h in Headers */, + F99E16A72B7A733600D55EF8 /* DBTEAMLOGUndoNamingConventionType.h in Headers */, + F99E1AAD2B7A733800D55EF8 /* DBTEAMLOGLabelType.h in Headers */, + F99E1B6F2B7A733900D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h in Headers */, + F99E1ABB2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h in Headers */, + F99E1CF72B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyType.h in Headers */, + F99E1B7B2B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h in Headers */, + F99E1F7F2B7A733C00D55EF8 /* DBFILESRemoveTagArg.h in Headers */, + F99E1EDF2B7A733B00D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h in Headers */, + F99E134F2B7A733400D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h in Headers */, + F99E1E132B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */, + F99E1C952B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h in Headers */, + F99E138B2B7A733400D55EF8 /* DBTEAMHasTeamFileEventsValue.h in Headers */, + F99E1B812B7A733900D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h in Headers */, + F99E15C72B7A733500D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h in Headers */, + F99E11232B7A733300D55EF8 /* DBPAPERDocLookupError.h in Headers */, + F99E1AB52B7A733800D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h in Headers */, + F99E14D92B7A733500D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h in Headers */, + F99E124B2B7A733300D55EF8 /* DBSHARINGLinkPassword.h in Headers */, + F99E1D7F2B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h in Headers */, + F99E1B012B7A733800D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h in Headers */, + F99E16AF2B7A733600D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */, + F99E1FF92B7A733C00D55EF8 /* DBFILESRelocationBatchLaunch.h in Headers */, + F99E1DBF2B7A733A00D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */, + F99E194B2B7A733700D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h in Headers */, + F99E13E32B7A733400D55EF8 /* DBTEAMListMemberAppsError.h in Headers */, + F99E1A712B7A733800D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h in Headers */, + F99E1A8D2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */, + F99E14BD2B7A733500D55EF8 /* DBTEAMListTeamAppsArg.h in Headers */, + F99E18752B7A733700D55EF8 /* DBTEAMLOGSharedContentCopyType.h in Headers */, + F99E18F72B7A733700D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h in Headers */, + F99E17172B7A733600D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */, + F99E10DD2B7A733200D55EF8 /* DBPAPERPaperDocUpdateError.h in Headers */, + F99E1B832B7A733900D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h in Headers */, + F99E1AE32B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h in Headers */, + F99E17CF2B7A733700D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h in Headers */, + F99E176F2B7A733600D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h in Headers */, + F99E19C92B7A733800D55EF8 /* DBTEAMLOGPlacementRestriction.h in Headers */, + F99E1F2F2B7A733C00D55EF8 /* DBFILESRelocationPath.h in Headers */, + F99E1DD72B7A733B00D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h in Headers */, + F99E1E3F2B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h in Headers */, + F99E1F0B2B7A733B00D55EF8 /* DBFILESThumbnailError.h in Headers */, + F99E19E32B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h in Headers */, + F99E1ADB2B7A733800D55EF8 /* DBTEAMLOGPasswordResetDetails.h in Headers */, + F99E194D2B7A733700D55EF8 /* DBTEAMLOGFilePreviewType.h in Headers */, + F99E12C32B7A733400D55EF8 /* DBAUTHPaperAccessError.h in Headers */, + F99E12F52B7A733400D55EF8 /* DBFILEREQUESTSGracePeriod.h in Headers */, + F99E15472B7A733500D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */, + F99E1A472B7A733800D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h in Headers */, + F99E10F92B7A733300D55EF8 /* DBPAPERPaperDocExportResult.h in Headers */, + F99E1E7D2B7A733B00D55EF8 /* DBTEAMLOGMemberStatus.h in Headers */, + F99E14FD2B7A733500D55EF8 /* DBTEAMGetActivityReport.h in Headers */, + F99E18632B7A733700D55EF8 /* DBTEAMLOGPassPolicy.h in Headers */, + F99E20AB2B7A733D00D55EF8 /* DBUSERSCOMMONAccountType.h in Headers */, + F99E17752B7A733600D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h in Headers */, + F99E1D7D2B7A733A00D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h in Headers */, + F99E1C5F2B7A733900D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h in Headers */, + F99E1D4D2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */, + F99E210B2B7A733D00D55EF8 /* DBCONTACTSRouteObjects.h in Headers */, + F99E19472B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h in Headers */, + F99E12F72B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h in Headers */, + F99E1C8F2B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h in Headers */, + F99E1A692B7A733800D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */, + F99E17912B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h in Headers */, + F99E20652B7A733C00D55EF8 /* DBFILESDeleteBatchLaunch.h in Headers */, + F99E1F5B2B7A733C00D55EF8 /* DBFILESPathToTags.h in Headers */, + F99E12392B7A733300D55EF8 /* DBSHARINGResolvedVisibility.h in Headers */, + F99E1CAD2B7A733A00D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h in Headers */, + F99E14392B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h in Headers */, + F99E12FD2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h in Headers */, + F99E19412B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h in Headers */, + F99E18252B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h in Headers */, + F99E1D632B7A733A00D55EF8 /* DBTEAMLOGAppLogInfo.h in Headers */, + F99E13AD2B7A733400D55EF8 /* DBTEAMGroupMembersAddError.h in Headers */, + F99E1F272B7A733C00D55EF8 /* DBFILESGetThumbnailBatchError.h in Headers */, + F99E167D2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h in Headers */, + F99E1D472B7A733A00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h in Headers */, + F99E18AF2B7A733700D55EF8 /* DBTEAMLOGNoteSharedDetails.h in Headers */, + F99E1D5F2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCopyType.h in Headers */, + F99E1CC72B7A733A00D55EF8 /* DBTEAMLOGGroupJoinPolicy.h in Headers */, + F99E1E732B7A733B00D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h in Headers */, + F99E208B2B7A733D00D55EF8 /* DBFILESUploadSessionFinishArg.h in Headers */, + F99E1FDF2B7A733C00D55EF8 /* DBFILESListRevisionsArg.h in Headers */, + F99E126F2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueArg.h in Headers */, + F99E1F3F2B7A733C00D55EF8 /* DBFILESListFolderLongpollError.h in Headers */, + F99E1BFB2B7A733900D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h in Headers */, + F99E14412B7A733400D55EF8 /* DBTEAMMembersListArg.h in Headers */, + F99E1D572B7A733A00D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h in Headers */, + F99E16312B7A733600D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */, + F99E17492B7A733600D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */, + F99E1D9F2B7A733A00D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */, + F99E19892B7A733800D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h in Headers */, + F99E1BF72B7A733900D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */, + F99E19D52B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h in Headers */, + F99E1E0D2B7A733B00D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h in Headers */, + F99E1A012B7A733800D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h in Headers */, + F99E1F0F2B7A733B00D55EF8 /* DBFILESRestoreError.h in Headers */, + F99E15E12B7A733500D55EF8 /* DBTEAMLOGTfaChangeStatusType.h in Headers */, + F99E11412B7A733300D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */, + F99E18312B7A733700D55EF8 /* DBTEAMLOGSharingMemberPolicy.h in Headers */, + F99E20C12B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.h in Headers */, + F99E1E992B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h in Headers */, + F99E1D2F2B7A733A00D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h in Headers */, + F99E14672B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */, + F99E19B92B7A733800D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h in Headers */, + F99E1CCD2B7A733A00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h in Headers */, + F99E1FB32B7A733C00D55EF8 /* DBFILESCreateFolderEntryResult.h in Headers */, + F99E1D5D2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h in Headers */, + F99E1F6D2B7A733C00D55EF8 /* DBFILESUserGeneratedTag.h in Headers */, + F99E17F32B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */, + F99E18612B7A733700D55EF8 /* DBTEAMLOGEmailIngestPolicy.h in Headers */, + F99E1A952B7A733800D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h in Headers */, + F99E12252B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueArg.h in Headers */, + F99E1FCF2B7A733C00D55EF8 /* DBFILESUploadSessionAppendError.h in Headers */, + F99E15272B7A733500D55EF8 /* DBTEAMCustomQuotaUsersArg.h in Headers */, + F99E1EA32B7A733B00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h in Headers */, + F99E17992B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h in Headers */, + F99E1D3B2B7A733A00D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h in Headers */, + F99E14A12B7A733500D55EF8 /* DBTEAMMembersDeactivateBaseArg.h in Headers */, + F99E1A2B2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h in Headers */, + F99E1E192B7A733B00D55EF8 /* DBTEAMLOGCertificate.h in Headers */, + F99E12F12B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsError.h in Headers */, + F99E21132B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.h in Headers */, + F99E179F2B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h in Headers */, + F99E11B12B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyError.h in Headers */, + F99E130D2B7A733400D55EF8 /* DBASYNCPollResultBase.h in Headers */, + F99E1B412B7A733900D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h in Headers */, + F99E19D12B7A733800D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h in Headers */, + F99E16F72B7A733600D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */, + F99E11CD2B7A733300D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h in Headers */, + F99E14FB2B7A733500D55EF8 /* DBTEAMGroupsMembersListArg.h in Headers */, + F99E18E52B7A733700D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h in Headers */, + F99E1BAF2B7A733900D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h in Headers */, + F99E1D352B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h in Headers */, + F99E1CD92B7A733A00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h in Headers */, + F99E187B2B7A733700D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h in Headers */, + F99E17552B7A733600D55EF8 /* DBTEAMLOGOriginLogInfo.h in Headers */, + F99E11852B7A733300D55EF8 /* DBSHARINGShareFolderArg.h in Headers */, + F99E11092B7A733300D55EF8 /* DBPAPERRefPaperDoc.h in Headers */, + F99E11A52B7A733300D55EF8 /* DBSHARINGSharedLinkMetadata.h in Headers */, + F99E10E32B7A733300D55EF8 /* DBPAPERFolderSubscriptionLevel.h in Headers */, + F99E12152B7A733300D55EF8 /* DBSHARINGListSharedLinksResult.h in Headers */, + F99E1CF32B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h in Headers */, + F99E1BB12B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h in Headers */, + F99E16152B7A733500D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h in Headers */, + F99E1E3D2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h in Headers */, + F99E18D92B7A733700D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */, + F99E17AD2B7A733600D55EF8 /* DBTEAMLOGTeamLogInfo.h in Headers */, + F99E14E32B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueArg.h in Headers */, + F99E126D2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h in Headers */, + F99E1F792B7A733C00D55EF8 /* DBFILESRelocationBatchJobStatus.h in Headers */, + F99E16DD2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h in Headers */, + F99E1D692B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCreateType.h in Headers */, + F99E1FBB2B7A733C00D55EF8 /* DBFILESWriteConflictError.h in Headers */, + F99E11532B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */, + F99E1C772B7A733900D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h in Headers */, + F99E150B2B7A733500D55EF8 /* DBTEAMApiApp.h in Headers */, + F99E1A672B7A733800D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */, + F99E1B732B7A733900D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h in Headers */, + F99E11FB2B7A733300D55EF8 /* DBSHARINGListFilesContinueArg.h in Headers */, + F99E1CE12B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h in Headers */, + F99E18572B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h in Headers */, + F99E1FC92B7A733C00D55EF8 /* DBFILESThumbnailV2Arg.h in Headers */, + F99E1F452B7A733C00D55EF8 /* DBFILESMetadata.h in Headers */, + F99E12D72B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h in Headers */, + F99E16E92B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h in Headers */, + F99E1A9D2B7A733800D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h in Headers */, + F99E1A492B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h in Headers */, + F99E1C1B2B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h in Headers */, + F99E16B72B7A733600D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h in Headers */, + F99E171D2B7A733600D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h in Headers */, + F99E1D2D2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h in Headers */, + F99E16652B7A733600D55EF8 /* DBTEAMLOGNoteSharedType.h in Headers */, + F99E10D72B7A733200D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */, + F99E116D2B7A733300D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h in Headers */, + F99E16272B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h in Headers */, + F99E169B2B7A733600D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */, + F99E1DC12B7A733A00D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h in Headers */, + F99E1B972B7A733900D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */, + F99E138D2B7A733400D55EF8 /* DBTEAMSharingAllowlistRemoveError.h in Headers */, + F99E11CB2B7A733300D55EF8 /* DBSHARINGLinkExpiry.h in Headers */, + F99E1E052B7A733B00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */, + F99E18FD2B7A733700D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h in Headers */, + F99E18052B7A733700D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */, + F99E17BF2B7A733600D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h in Headers */, + F99E1A532B7A733800D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */, + F99E1B0D2B7A733900D55EF8 /* DBTEAMLOGEmmErrorType.h in Headers */, + F99E1DB72B7A733A00D55EF8 /* DBTEAMLOGFedHandshakeAction.h in Headers */, + F99E14372B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Error.h in Headers */, + F99E14092B7A733400D55EF8 /* DBTEAMUsersSelectorArg.h in Headers */, + F99E1BDF2B7A733900D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h in Headers */, + F99E18AD2B7A733700D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h in Headers */, + F99E19F52B7A733800D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */, + F99E16852B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h in Headers */, + F99E18F32B7A733700D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h in Headers */, + F99E17872B7A733600D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */, + F99E20D32B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.h in Headers */, + F99E1CF52B7A733A00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h in Headers */, + F99E11E52B7A733300D55EF8 /* DBSHARINGAccessLevel.h in Headers */, + F99E164D2B7A733600D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h in Headers */, + F99E17272B7A733600D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h in Headers */, + F99E1EF92B7A733B00D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h in Headers */, + F99E1FB12B7A733C00D55EF8 /* DBFILESRelocationBatchError.h in Headers */, + F99E19092B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h in Headers */, + F99E14172B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h in Headers */, + F99E14B92B7A733500D55EF8 /* DBTEAMBaseTeamFolderError.h in Headers */, + F99E1C412B7A733900D55EF8 /* DBTEAMLOGBinderAddPageType.h in Headers */, + F99E148B2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailResult.h in Headers */, + F99E159F2B7A733500D55EF8 /* DBUSERSGetAccountError.h in Headers */, + F99E19672B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h in Headers */, + F99E1B8B2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h in Headers */, + F99E169F2B7A733600D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h in Headers */, + F99E137F2B7A733400D55EF8 /* DBTEAMMembersAddLaunchV2Result.h in Headers */, + F99E1B432B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h in Headers */, + F99E1A5F2B7A733800D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */, + F99E1B3D2B7A733900D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h in Headers */, + F99E1EB72B7A733B00D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */, + F99E1F352B7A733C00D55EF8 /* DBFILESFolderSharingInfo.h in Headers */, + F99E14452B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionError.h in Headers */, + F99E11872B7A733300D55EF8 /* DBSHARINGMemberAccessLevelResult.h in Headers */, + F99E1E832B7A733B00D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h in Headers */, + F99E18D52B7A733700D55EF8 /* DBTEAMLOGGroupMovedDetails.h in Headers */, + F99E13F52B7A733400D55EF8 /* DBTEAMIncludeMembersArg.h in Headers */, + F99E1D712B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h in Headers */, + F99E1C212B7A733900D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h in Headers */, + F99E19452B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h in Headers */, + F99E200F2B7A733C00D55EF8 /* DBFILESUploadSessionType.h in Headers */, + F99E14072B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h in Headers */, + F99E155D2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyField.h in Headers */, + F99E17E12B7A733700D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */, + F99E15332B7A733500D55EF8 /* DBTEAMGroupMemberSelectorError.h in Headers */, + F99E17932B7A733600D55EF8 /* DBTEAMLOGFileRequestsPolicy.h in Headers */, + F99E13952B7A733400D55EF8 /* DBTEAMMembersDataTransferArg.h in Headers */, + F99E1E612B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h in Headers */, + F99E18A92B7A733700D55EF8 /* DBTEAMLOGFileEditCommentType.h in Headers */, + F99E10C12B7A733200D55EF8 /* DBTeamBaseClient.h in Headers */, + F99E193F2B7A733700D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */, + F99E1E452B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h in Headers */, + F99E17032B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h in Headers */, + F99E1D052B7A733A00D55EF8 /* DBTEAMLOGEventTypeArg.h in Headers */, + F99E14252B7A733400D55EF8 /* DBTEAMGroupMemberSelector.h in Headers */, + F99E1CEB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h in Headers */, + F99E1F032B7A733B00D55EF8 /* DBTEAMLOGMemberAddNameDetails.h in Headers */, + F99E1E7B2B7A733B00D55EF8 /* DBTEAMLOGTwoAccountPolicy.h in Headers */, + F99E1E392B7A733B00D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h in Headers */, + F99E16992B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h in Headers */, + F99E1A092B7A733800D55EF8 /* DBTEAMLOGSsoErrorDetails.h in Headers */, + F99E1F152B7A733B00D55EF8 /* DBFILESDownloadZipArg.h in Headers */, + F99E13292B7A733400D55EF8 /* DBCOMMONUserRootInfo.h in Headers */, + F99E1F832B7A733C00D55EF8 /* DBFILESUploadSessionCursor.h in Headers */, + F99E1A452B7A733800D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */, + F99E11A92B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueError.h in Headers */, + F99E19312B7A733700D55EF8 /* DBTEAMLOGBinderReorderPageType.h in Headers */, + F99E14852B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h in Headers */, + F99E1C552B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h in Headers */, + F99E122B2B7A733300D55EF8 /* DBSHARINGListSharedLinksArg.h in Headers */, + F99E14BB2B7A733500D55EF8 /* DBTEAMTeamFolderListContinueError.h in Headers */, + F99E1C352B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */, + F99E1AC12B7A733800D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h in Headers */, + F99E177F2B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinType.h in Headers */, + F99E162F2B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h in Headers */, + F99E1BD12B7A733900D55EF8 /* DBTEAMLOGPaperAccessType.h in Headers */, + F99E14B12B7A733500D55EF8 /* DBTEAMListTeamAppsResult.h in Headers */, + F99E12AF2B7A733400D55EF8 /* DBSHARINGUnshareFileArg.h in Headers */, + F99E158D2B7A733500D55EF8 /* DBFILEPROPERTIESLookupError.h in Headers */, + F99E1D2B2B7A733A00D55EF8 /* DBTEAMLOGAppLinkUserDetails.h in Headers */, + F99E1CA72B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h in Headers */, + F99E13452B7A733400D55EF8 /* DBTEAMGroupUpdateArgs.h in Headers */, + F99E16832B7A733600D55EF8 /* DBTEAMLOGCreateFolderDetails.h in Headers */, + F99E189B2B7A733700D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h in Headers */, + F99E16812B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h in Headers */, + F99E1C032B7A733900D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h in Headers */, + F99E177D2B7A733600D55EF8 /* DBTEAMLOGMemberRemoveActionType.h in Headers */, + F99E1F1B2B7A733C00D55EF8 /* DBFILESImportFormat.h in Headers */, + F99E18E32B7A733700D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */, + F99E20472B7A733C00D55EF8 /* DBFILESDeleteBatchError.h in Headers */, + F99E16A92B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h in Headers */, + F99E1DFD2B7A733B00D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h in Headers */, + F99E127B2B7A733300D55EF8 /* DBSHARINGInviteeInfo.h in Headers */, + F99E1EAB2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h in Headers */, + F99E17592B7A733600D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h in Headers */, + F99E174D2B7A733600D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */, + F99E17792B7A733600D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h in Headers */, + F99E13192B7A733400D55EF8 /* DBTEAMCOMMONGroupManagementType.h in Headers */, + F99E19F32B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h in Headers */, + F99E18832B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h in Headers */, + F99E19572B7A733700D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h in Headers */, + F99E1EAF2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h in Headers */, + F99E157F2B7A733500D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h in Headers */, + F99E13732B7A733400D55EF8 /* DBTEAMTeamMemberInfoV2.h in Headers */, + F99E1D372B7A733A00D55EF8 /* DBTEAMLOGAssetLogInfo.h in Headers */, + F99E110F2B7A733300D55EF8 /* DBPAPERListUsersOnFolderResponse.h in Headers */, + F99E18892B7A733700D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h in Headers */, + F99E17EB2B7A733700D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h in Headers */, + F99E1F132B7A733B00D55EF8 /* DBFILESUploadWriteFailed.h in Headers */, + F99E1ACB2B7A733800D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h in Headers */, + F99E16D92B7A733600D55EF8 /* DBTEAMLOGTfaAddExceptionType.h in Headers */, + F99E13C32B7A733400D55EF8 /* DBTEAMSharingAllowlistListContinueError.h in Headers */, + F99E1DE72B7A733B00D55EF8 /* DBTEAMLOGLoginFailDetails.h in Headers */, + F99E20252B7A733C00D55EF8 /* DBFILESRelocationBatchArg.h in Headers */, + F99E20BF2B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h in Headers */, + F99E195F2B7A733700D55EF8 /* DBTEAMLOGResellerSupportPolicy.h in Headers */, + F99E1FED2B7A733C00D55EF8 /* DBFILESExportResult.h in Headers */, + F99E19BF2B7A733800D55EF8 /* DBTEAMLOGSsoAddCertDetails.h in Headers */, + F99E20C92B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.h in Headers */, + F99E1AF32B7A733800D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h in Headers */, + F99E16E72B7A733600D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h in Headers */, + F99E1EA92B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h in Headers */, + F99E198D2B7A733800D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h in Headers */, + F99E11332B7A733300D55EF8 /* DBTEAMPOLICIESGroupCreation.h in Headers */, + F99E19A92B7A733800D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h in Headers */, + F99E16932B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h in Headers */, + F99E14352B7A733400D55EF8 /* DBTEAMMembersSetProfileArg.h in Headers */, + F99E17DF2B7A733700D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h in Headers */, + F99E1C5D2B7A733900D55EF8 /* DBTEAMLOGFileMoveDetails.h in Headers */, + F99E11A12B7A733300D55EF8 /* DBSHARINGMountFolderError.h in Headers */, + F99E1E332B7A733B00D55EF8 /* DBTEAMLOGLoginFailType.h in Headers */, + F99E18C72B7A733700D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h in Headers */, + F99E1A972B7A733800D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h in Headers */, + F99E14B32B7A733500D55EF8 /* DBTEAMTeamMemberInfoV2Result.h in Headers */, + F99E118B2B7A733300D55EF8 /* DBSHARINGShareFolderLaunch.h in Headers */, + F99E16972B7A733600D55EF8 /* DBTEAMLOGShowcaseRenamedType.h in Headers */, + F99E1B052B7A733900D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */, + F99E14F12B7A733500D55EF8 /* DBTEAMGroupMembersRemoveArg.h in Headers */, + F99E1A7B2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */, + F99E15612B7A733500D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */, + F99E1A892B7A733800D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */, + F99E173D2B7A733600D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h in Headers */, + F99E20A32B7A733D00D55EF8 /* DBCHECKEchoArg.h in Headers */, + F99E12752B7A733300D55EF8 /* DBSHARINGTeamMemberInfo.h in Headers */, + F99E145D2B7A733400D55EF8 /* DBTEAMCustomQuotaResult.h in Headers */, + F99E1D852B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h in Headers */, + F99E1B332B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h in Headers */, + F99E1C2B2B7A733900D55EF8 /* DBTEAMLOGMemberSuggestDetails.h in Headers */, + F99E1EEB2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h in Headers */, + F99E1B8D2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h in Headers */, + F99E11D92B7A733300D55EF8 /* DBSHARINGSharingUserError.h in Headers */, + F99E14892B7A733500D55EF8 /* DBTEAMMembersSetPermissions2Arg.h in Headers */, + F99E1A392B7A733800D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h in Headers */, + F99E1CA12B7A733A00D55EF8 /* DBTEAMLOGUserNameLogInfo.h in Headers */, + F99E18C52B7A733700D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h in Headers */, + F99E16B12B7A733600D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h in Headers */, + F99E20DB2B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.h in Headers */, + F99E19012B7A733700D55EF8 /* DBTEAMLOGFileDownloadDetails.h in Headers */, + F99E1F732B7A733C00D55EF8 /* DBFILESRelocationArg.h in Headers */, + F99E1A772B7A733800D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */, + F99E1E8B2B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */, + F99E1FDB2B7A733C00D55EF8 /* DBFILESRelocationResult.h in Headers */, + F99E1A312B7A733800D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */, + F99E1EBD2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveType.h in Headers */, + F99E127F2B7A733300D55EF8 /* DBSHARINGTransferFolderArg.h in Headers */, + F99E16092B7A733500D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h in Headers */, + F99E1EE92B7A733B00D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */, + F99E1D112B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h in Headers */, + F99E16FD2B7A733600D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h in Headers */, + F99E1ABD2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h in Headers */, + F99E1A3B2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h in Headers */, + F99E17072B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h in Headers */, + F99E1A7F2B7A733800D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h in Headers */, + F99E188D2B7A733700D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */, + F99E1D492B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h in Headers */, + F99E19C72B7A733800D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h in Headers */, + F99E17C12B7A733600D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h in Headers */, + F99E14EB2B7A733500D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h in Headers */, + F99E19C52B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h in Headers */, + F99E1DE92B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h in Headers */, + F99E17CB2B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */, + F99E1F552B7A733C00D55EF8 /* DBFILESGetTagsArg.h in Headers */, + F99E1E092B7A733B00D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h in Headers */, + F99E15792B7A733500D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */, + F99E1CAB2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h in Headers */, + F99E197D2B7A733800D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h in Headers */, + F99E179D2B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h in Headers */, + F99E120F2B7A733300D55EF8 /* DBSHARINGShareFolderArgBase.h in Headers */, + F99E1A0D2B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h in Headers */, + F99E14912B7A733500D55EF8 /* DBTEAMTeamMemberRole.h in Headers */, + F99E1EC52B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */, + F99E1C3B2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */, + F99E12872B7A733300D55EF8 /* DBSHARINGMemberPermission.h in Headers */, + F99E15DB2B7A733500D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h in Headers */, + F99E186B2B7A733700D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */, + F99E158F2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */, + F99E1A432B7A733800D55EF8 /* DBTEAMLOGPaperDocEditType.h in Headers */, + F99E1B3B2B7A733900D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h in Headers */, + F99E1F7B2B7A733C00D55EF8 /* DBFILESSearchV2Result.h in Headers */, + F99E17BD2B7A733600D55EF8 /* DBTEAMLOGFileRevertDetails.h in Headers */, + F99E19972B7A733800D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h in Headers */, + F99E19212B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h in Headers */, + F99E12C12B7A733400D55EF8 /* DBAUTHInvalidAccountTypeError.h in Headers */, + F99E1CFF2B7A733A00D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */, + F99E1E552B7A733B00D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h in Headers */, + F99E18E92B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h in Headers */, + F99E15672B7A733500D55EF8 /* DBFILEPROPERTIESListTemplateResult.h in Headers */, + F99E1A632B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h in Headers */, + F99E20212B7A733C00D55EF8 /* DBFILESRelocationBatchV2Launch.h in Headers */, + F99E20492B7A733C00D55EF8 /* DBFILESSingleUserLock.h in Headers */, + F99E1AA12B7A733800D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h in Headers */, + F99E10C92B7A733200D55EF8 /* DBPAPERPaperDocSharingPolicy.h in Headers */, + F99E171B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h in Headers */, + F99E1EE52B7A733B00D55EF8 /* DBTEAMLOGFileCopyDetails.h in Headers */, + F99E1AE72B7A733800D55EF8 /* DBTEAMLOGNetworkControlPolicy.h in Headers */, + F99E1E472B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */, + F99E20572B7A733C00D55EF8 /* DBFILESSearchMatchType.h in Headers */, + F99E1B6B2B7A733900D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h in Headers */, + F99E17DB2B7A733700D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */, + F99E1D3F2B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h in Headers */, + F99E161D2B7A733600D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h in Headers */, + F99E115F2B7A733300D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h in Headers */, + F99E12052B7A733300D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */, + F99E19232B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h in Headers */, + F99E19392B7A733700D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h in Headers */, + F99E1D8D2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */, + F99E11932B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkError.h in Headers */, + F99E197F2B7A733800D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h in Headers */, + F99E144F2B7A733400D55EF8 /* DBTEAMTeamMembershipType.h in Headers */, + F99E1E152B7A733B00D55EF8 /* DBTEAMLOGSsoAddCertType.h in Headers */, + F99E16792B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h in Headers */, + F99E1F512B7A733C00D55EF8 /* DBFILESUnlockFileBatchArg.h in Headers */, + F99E182D2B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */, + F99E115B2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h in Headers */, + F99E1D4B2B7A733A00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h in Headers */, + F99E14192B7A733400D55EF8 /* DBTEAMRevokeLinkedAppStatus.h in Headers */, + F99E17B52B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */, + F99E1E652B7A733B00D55EF8 /* DBTEAMLOGFileCopyType.h in Headers */, + F99E10CF2B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h in Headers */, + F99E1BF32B7A733900D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */, + F99E19A72B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h in Headers */, + F99E1B072B7A733900D55EF8 /* DBTEAMLOGGroupAddMemberType.h in Headers */, + F99E13812B7A733400D55EF8 /* DBTEAMMembersGetInfoItem.h in Headers */, + F99E181B2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h in Headers */, + F99E1F752B7A733C00D55EF8 /* DBFILESPaperUpdateError.h in Headers */, + F99E1D932B7A733A00D55EF8 /* DBTEAMLOGTeamMergeToDetails.h in Headers */, + F99E11F12B7A733300D55EF8 /* DBSHARINGFileMemberActionError.h in Headers */, + F99E16F12B7A733600D55EF8 /* DBTEAMLOGFileRequestCloseType.h in Headers */, + F99E1FFD2B7A733C00D55EF8 /* DBFILESUploadSessionStartResult.h in Headers */, + F99E11DD2B7A733300D55EF8 /* DBSHARINGVisibility.h in Headers */, + F99E16C32B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h in Headers */, + F99E13572B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateError.h in Headers */, + F99E143B2B7A733400D55EF8 /* DBTEAMGroupsListContinueError.h in Headers */, + F99E16D72B7A733600D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h in Headers */, + F99E15252B7A733500D55EF8 /* DBTEAMListMembersAppsArg.h in Headers */, + F99E11732B7A733300D55EF8 /* DBSHARINGGroupMembershipInfo.h in Headers */, + F99E15EB2B7A733500D55EF8 /* DBTEAMLOGFileCommentsPolicy.h in Headers */, + F99E189D2B7A733700D55EF8 /* DBTEAMLOGTeamEvent.h in Headers */, + F99E19BB2B7A733800D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */, + F99E1C232B7A733900D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h in Headers */, + F99E17F52B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h in Headers */, + F99E1C2F2B7A733900D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h in Headers */, + F99E1A512B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h in Headers */, + F99E11892B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */, + F99E17192B7A733600D55EF8 /* DBTEAMLOGFileRenameType.h in Headers */, + F99E20792B7A733D00D55EF8 /* DBFILESWriteError.h in Headers */, + F99E15412B7A733500D55EF8 /* DBTEAMExcludedUsersListContinueArg.h in Headers */, + F99E11992B7A733300D55EF8 /* DBSHARINGListFilesContinueError.h in Headers */, + F99E14952B7A733500D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */, + F99E20112B7A733C00D55EF8 /* DBFILESDownloadZipError.h in Headers */, + F99E1D392B7A733A00D55EF8 /* DBTEAMLOGFileRequestDeadline.h in Headers */, + F99E15452B7A733500D55EF8 /* DBTEAMListMembersDevicesArg.h in Headers */, + F99E183D2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */, + F99E12532B7A733300D55EF8 /* DBSHARINGMemberSelector.h in Headers */, + F99E1F312B7A733C00D55EF8 /* DBFILESLockFileResult.h in Headers */, + F99E193B2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h in Headers */, + F99E13752B7A733400D55EF8 /* DBTEAMUserAddResult.h in Headers */, + F99E1C6F2B7A733900D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h in Headers */, + F99E1D172B7A733A00D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h in Headers */, + F99E1BCB2B7A733900D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h in Headers */, + F99E19A12B7A733800D55EF8 /* DBTEAMLOGGroupCreateDetails.h in Headers */, + F99E17672B7A733600D55EF8 /* DBTEAMLOGContextLogInfo.h in Headers */, + F99E1E9D2B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h in Headers */, + F99E11ED2B7A733300D55EF8 /* DBSHARINGSharedLinkSettings.h in Headers */, + F99E1CE32B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h in Headers */, + F99E15D12B7A733500D55EF8 /* DBTEAMLOGSharedLinkShareType.h in Headers */, + F99E1ED52B7A733B00D55EF8 /* DBTEAMLOGSpaceCapsType.h in Headers */, + F99E13D52B7A733400D55EF8 /* DBTEAMGroupsListArg.h in Headers */, + F99E1B152B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyType.h in Headers */, + F99E1C592B7A733900D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h in Headers */, + F99E12772B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkArg.h in Headers */, + F99E111F2B7A733300D55EF8 /* DBPAPERFolder.h in Headers */, + F99E11E12B7A733300D55EF8 /* DBSHARINGAudienceExceptions.h in Headers */, + F99E123F2B7A733300D55EF8 /* DBSHARINGViewerInfoPolicy.h in Headers */, + F99E125D2B7A733300D55EF8 /* DBSHARINGAddMember.h in Headers */, + F99E1E692B7A733B00D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h in Headers */, + F99E170F2B7A733600D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h in Headers */, + F99E18852B7A733700D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h in Headers */, + F99E194F2B7A733700D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h in Headers */, + F99E16B92B7A733600D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */, + F99E13272B7A733400D55EF8 /* DBCOMMONPathRootError.h in Headers */, + F99E1B572B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h in Headers */, + F99E14BF2B7A733500D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */, + F99E16C92B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h in Headers */, + F99E17FD2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h in Headers */, + F99E1F932B7A733C00D55EF8 /* DBFILESDeleteBatchArg.h in Headers */, + F99E1ABF2B7A733800D55EF8 /* DBTEAMLOGMissingDetails.h in Headers */, + F99E13B12B7A733400D55EF8 /* DBTEAMListMembersDevicesResult.h in Headers */, + F99E12EF2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h in Headers */, + F99E1A172B7A733800D55EF8 /* DBTEAMLOGTeamFolderRenameType.h in Headers */, + F99E1DBD2B7A733A00D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h in Headers */, + F99E1F672B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */, + F99E18F92B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h in Headers */, + F99E12172B7A733300D55EF8 /* DBSHARINGFolderLinkMetadata.h in Headers */, + F99E12072B7A733300D55EF8 /* DBSHARINGGetSharedLinkFileError.h in Headers */, + F99E1BE52B7A733900D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h in Headers */, + F99E1B692B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h in Headers */, + F99E1B252B7A733900D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h in Headers */, + F99E13FB2B7A733400D55EF8 /* DBTEAMListTeamDevicesResult.h in Headers */, + F99E204F2B7A733C00D55EF8 /* DBFILESSearchV2Arg.h in Headers */, + F99E14752B7A733500D55EF8 /* DBTEAMMemberAddV2Arg.h in Headers */, + F99E1FA92B7A733C00D55EF8 /* DBFILESFolderMetadata.h in Headers */, + F99E1BF52B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */, + F99E1EF52B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */, + F99E190B2B7A733700D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */, + F99E15A12B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h in Headers */, + F99E146F2B7A733500D55EF8 /* DBTEAMListMembersDevicesError.h in Headers */, + F99E1A792B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h in Headers */, + F99E191B2B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */, + F99E17A92B7A733600D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */, + F99E1DA52B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h in Headers */, + F99E13E52B7A733400D55EF8 /* DBTEAMTeamMemberStatus.h in Headers */, + F99E1CF92B7A733A00D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */, + F99E12672B7A733300D55EF8 /* DBSHARINGLinkAudienceOption.h in Headers */, + F99E20552B7A733C00D55EF8 /* DBFILESListFolderContinueError.h in Headers */, + F99E17332B7A733600D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h in Headers */, + F99E18E12B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h in Headers */, + F99E20592B7A733C00D55EF8 /* DBFILESSearchMatchV2.h in Headers */, + F99E14A32B7A733500D55EF8 /* DBTEAMNamespaceMetadata.h in Headers */, + F99E119F2B7A733300D55EF8 /* DBSHARINGGetSharedLinksError.h in Headers */, + F99E1D232B7A733A00D55EF8 /* DBTEAMLOGSsoErrorType.h in Headers */, + F99E1E012B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */, + F99E1E812B7A733B00D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h in Headers */, + F99E15152B7A733500D55EF8 /* DBTEAMListMemberAppsResult.h in Headers */, + F99E12912B7A733300D55EF8 /* DBSHARINGFileLinkMetadata.h in Headers */, + F99E137D2B7A733400D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h in Headers */, + F99E201B2B7A733C00D55EF8 /* DBFILESLockFileBatchResult.h in Headers */, + F99E207B2B7A733D00D55EF8 /* DBFILESCreateFolderEntryError.h in Headers */, + F99E15712B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */, + F99E16112B7A733500D55EF8 /* DBTEAMLOGTfaResetType.h in Headers */, + F99E1B712B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h in Headers */, + F99E19932B7A733800D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h in Headers */, + F99E15892B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */, + F99E13072B7A733400D55EF8 /* DBASYNCPollEmptyResult.h in Headers */, + F99E1B752B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h in Headers */, + F99E14CD2B7A733500D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h in Headers */, + F99E20312B7A733C00D55EF8 /* DBFILESCommitInfo.h in Headers */, + F99E1FE52B7A733C00D55EF8 /* DBFILESDeleteBatchResultEntry.h in Headers */, + F99E1AF72B7A733800D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h in Headers */, + F99E1D812B7A733A00D55EF8 /* DBTEAMLOGQuickActionType.h in Headers */, + F99E13D92B7A733400D55EF8 /* DBTEAMMemberAccess.h in Headers */, + F99E197B2B7A733800D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */, + F99E177B2B7A733600D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h in Headers */, + F99E172F2B7A733600D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */, + F99E17B92B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h in Headers */, + F99E21072B7A733D00D55EF8 /* DBCHECKRouteObjects.h in Headers */, + F99E13932B7A733400D55EF8 /* DBTEAMDeviceSessionArg.h in Headers */, + F99E115D2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */, + F99E13432B7A733400D55EF8 /* DBTEAMStorageBucket.h in Headers */, + F99E15B92B7A733500D55EF8 /* DBUSERSGetAccountBatchArg.h in Headers */, + F99E19E52B7A733800D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */, + F99E136B2B7A733400D55EF8 /* DBTEAMLegalHoldStatus.h in Headers */, + F99E15AF2B7A733500D55EF8 /* DBUSERSSpaceUsage.h in Headers */, + F99E16C72B7A733600D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */, + F99E1B9D2B7A733900D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h in Headers */, + F99E19052B7A733700D55EF8 /* DBTEAMLOGBinderReorderSectionType.h in Headers */, + F99E15B52B7A733500D55EF8 /* DBUSERSUserFeature.h in Headers */, + F99E17A72B7A733600D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h in Headers */, + F99E18392B7A733700D55EF8 /* DBTEAMLOGEventDetails.h in Headers */, + F99E1C472B7A733900D55EF8 /* DBTEAMLOGTeamMergeToType.h in Headers */, + F99E13D32B7A733400D55EF8 /* DBTEAMSharingAllowlistAddArgs.h in Headers */, + F99E210D2B7A733D00D55EF8 /* DBSHARINGRouteObjects.h in Headers */, + F99E14492B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h in Headers */, + F99E16552B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h in Headers */, + F99E18872B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h in Headers */, + F99E12CD2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */, + F99E1DA72B7A733A00D55EF8 /* DBTEAMLOGPaperDocRevertType.h in Headers */, + F99E1D092B7A733A00D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h in Headers */, + F99E1E5F2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */, + F99E137B2B7A733400D55EF8 /* DBTEAMMembersListContinueError.h in Headers */, + F99E11552B7A733300D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */, + F99E15CD2B7A733500D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h in Headers */, + F99E1EA12B7A733B00D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */, + F99E1EED2B7A733B00D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */, + F99E19432B7A733700D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h in Headers */, + F99E1D952B7A733A00D55EF8 /* DBTEAMLOGPasswordResetAllType.h in Headers */, + F99E1CC12B7A733A00D55EF8 /* DBTEAMLOGFileRestoreType.h in Headers */, + F99E1A1B2B7A733800D55EF8 /* DBTEAMLOGGroupRenameDetails.h in Headers */, + F99E1C692B7A733900D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h in Headers */, + F99E18092B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */, + F99E1FFB2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h in Headers */, + F99E1F992B7A733C00D55EF8 /* DBFILESPaperContentError.h in Headers */, + F99E1C1F2B7A733900D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h in Headers */, + F99E1DB12B7A733A00D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */, + F99E20972B7A733D00D55EF8 /* DBFILESUploadArg.h in Headers */, + F99E133F2B7A733400D55EF8 /* DBTEAMMembersAddArgBase.h in Headers */, + F99E16412B7A733600D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h in Headers */, + F99E167F2B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h in Headers */, + F99E152D2B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueError.h in Headers */, + F99E1C3D2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h in Headers */, + F99E199D2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h in Headers */, + F99E1F1F2B7A733C00D55EF8 /* DBFILESDeleteBatchResultData.h in Headers */, + F99E17EF2B7A733700D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */, + F99E18BF2B7A733700D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h in Headers */, + F99E147D2B7A733500D55EF8 /* DBTEAMMembersListResult.h in Headers */, + F99E1B4D2B7A733900D55EF8 /* DBTEAMLOGOrganizationDetails.h in Headers */, + F99E17BB2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteType.h in Headers */, + F99E15AB2B7A733500D55EF8 /* DBUSERSIndividualSpaceAllocation.h in Headers */, + F99E20412B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResult.h in Headers */, + F99E1CB72B7A733A00D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h in Headers */, + F99E17C32B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h in Headers */, + F99E15C32B7A733500D55EF8 /* DBUSERSSpaceAllocation.h in Headers */, + F99E15632B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */, + F99E17B72B7A733600D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h in Headers */, + F99E20612B7A733C00D55EF8 /* DBFILESSharedLink.h in Headers */, + F99E11832B7A733300D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h in Headers */, + F99E10D92B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h in Headers */, + F99E1A4F2B7A733800D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h in Headers */, + F99E1E2F2B7A733B00D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h in Headers */, + F99E154B2B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h in Headers */, + F99E16872B7A733600D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h in Headers */, + F99E1FBD2B7A733C00D55EF8 /* DBFILESFileCategory.h in Headers */, + F99E1F592B7A733C00D55EF8 /* DBFILESMoveIntoVaultError.h in Headers */, + F99E1AD72B7A733800D55EF8 /* DBTEAMLOGBinderRemovePageType.h in Headers */, + F99E156D2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h in Headers */, + F99E1E372B7A733B00D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h in Headers */, + F99E19832B7A733800D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h in Headers */, + F99E209B2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoArg.h in Headers */, + F99E174B2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h in Headers */, + F99E16BD2B7A733600D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */, + F99E1AF52B7A733800D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h in Headers */, + F99E12A92B7A733400D55EF8 /* DBSHARINGGetMetadataArgs.h in Headers */, + F99E11452B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h in Headers */, + F99E184B2B7A733700D55EF8 /* DBTEAMLOGIntegrationPolicy.h in Headers */, + F99E19252B7A733700D55EF8 /* DBTEAMLOGResellerLogInfo.h in Headers */, + F99E13B52B7A733400D55EF8 /* DBTEAMTeamFolderArchiveError.h in Headers */, + F99E12472B7A733300D55EF8 /* DBSHARINGPathLinkMetadata.h in Headers */, + F99E18C92B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h in Headers */, + F99E19332B7A733700D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */, + F99E169D2B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionType.h in Headers */, + F99E16692B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h in Headers */, + F99E18D12B7A733700D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h in Headers */, + F99E182F2B7A733700D55EF8 /* DBTEAMLOGFileTransfersPolicy.h in Headers */, + F99E114D2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h in Headers */, + F99E14152B7A733400D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h in Headers */, + F99E19532B7A733700D55EF8 /* DBTEAMLOGPaperMemberPolicy.h in Headers */, + F99E15F12B7A733500D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h in Headers */, + F99E15092B7A733500D55EF8 /* DBTEAMUploadApiRateLimitValue.h in Headers */, + F99E16232B7A733600D55EF8 /* DBTEAMLOGApplyNamingConventionType.h in Headers */, + F99E11492B7A733300D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */, + F99E148F2B7A733500D55EF8 /* DBTEAMLegalHoldsError.h in Headers */, + F99E112F2B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h in Headers */, + F99E15CF2B7A733500D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h in Headers */, + F99E164F2B7A733600D55EF8 /* DBTEAMLOGAppUnlinkUserType.h in Headers */, + F99E16F32B7A733600D55EF8 /* DBTEAMLOGSharedContentDownloadType.h in Headers */, + F99E12B52B7A733400D55EF8 /* DBAUTHTokenScopeError.h in Headers */, + F99E12D52B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h in Headers */, + F99E13472B7A733400D55EF8 /* DBTEAMTeamNamespacesListContinueError.h in Headers */, + F99E204D2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkResult.h in Headers */, + F99E1F852B7A733C00D55EF8 /* DBFILESSearchOptions.h in Headers */, + F99E174F2B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */, + F99E1F912B7A733C00D55EF8 /* DBFILESListRevisionsMode.h in Headers */, + F99E1FEF2B7A733C00D55EF8 /* DBFILESGetCopyReferenceArg.h in Headers */, + F99E20192B7A733C00D55EF8 /* DBFILESMinimalFileLinkMetadata.h in Headers */, + F99E12092B7A733300D55EF8 /* DBSHARINGLinkAudience.h in Headers */, + F99E1B9F2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */, + F99E184D2B7A733700D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */, + F99E168D2B7A733600D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h in Headers */, + F99E1B6D2B7A733900D55EF8 /* DBTEAMLOGFileRevertType.h in Headers */, + F99E1A992B7A733800D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */, + F99E15BD2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h in Headers */, + F99E15512B7A733500D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */, + F99E1CFB2B7A733A00D55EF8 /* DBTEAMLOGClassificationType.h in Headers */, + F99E1E0B2B7A733B00D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h in Headers */, + F99E18BB2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h in Headers */, + F99E14592B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h in Headers */, + F99E15E72B7A733500D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h in Headers */, + F99E17112B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h in Headers */, + F99E141D2B7A733400D55EF8 /* DBTEAMGroupSelectorError.h in Headers */, + F99E1C972B7A733A00D55EF8 /* DBTEAMLOGFilePreviewDetails.h in Headers */, + F99E1E032B7A733B00D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h in Headers */, + F99E11372B7A733300D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h in Headers */, + F99E150F2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsArg.h in Headers */, + F99E20732B7A733D00D55EF8 /* DBFILESSyncSetting.h in Headers */, + F99E126B2B7A733300D55EF8 /* DBSHARINGListFilesArg.h in Headers */, + F99E12DF2B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */, + F99E1BCD2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h in Headers */, + F99E1D432B7A733A00D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h in Headers */, + F99E20672B7A733C00D55EF8 /* DBFILESLockFileError.h in Headers */, + F99E1D452B7A733A00D55EF8 /* DBTEAMLOGSfAddGroupDetails.h in Headers */, + F99E198F2B7A733800D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */, + F99E149B2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h in Headers */, + F99E1A8F2B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageType.h in Headers */, + F99E12372B7A733300D55EF8 /* DBSHARINGJobError.h in Headers */, + F99E134B2B7A733400D55EF8 /* DBTEAMMembersRemoveArg.h in Headers */, + F99E1A5B2B7A733800D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */, + F99E15832B7A733500D55EF8 /* DBFILEPROPERTIESTemplateError.h in Headers */, + F99E12B72B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Error.h in Headers */, + F99E15292B7A733500D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h in Headers */, + F99E16EF2B7A733600D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h in Headers */, + F99E12B32B7A733400D55EF8 /* DBSEENSTATEPlatformType.h in Headers */, + F99E10F52B7A733300D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */, + F99E20452B7A733C00D55EF8 /* DBFILESThumbnailArg.h in Headers */, + F99E14A72B7A733500D55EF8 /* DBTEAMDateRangeError.h in Headers */, + F99E1EC32B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h in Headers */, + F99E12D32B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */, + F99E1DC72B7A733A00D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */, + F99E1C052B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */, + F99E1C272B7A733900D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h in Headers */, + F99E20B92B7A733D00D55EF8 /* DBSerializableProtocol.h in Headers */, + F99E16FB2B7A733600D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */, + F99E1D0B2B7A733A00D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h in Headers */, + F99E1A1F2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h in Headers */, + F99E1B4B2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h in Headers */, + F99E11C12B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h in Headers */, + F99E1EE72B7A733B00D55EF8 /* DBTEAMLOGSfAddGroupType.h in Headers */, + F99E18B52B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h in Headers */, + F99E11BB2B7A733300D55EF8 /* DBSHARINGListFolderMembersCursorArg.h in Headers */, + F99E148D2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsResult.h in Headers */, + F99E12F92B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h in Headers */, + F99E1AC52B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h in Headers */, + F99E11292B7A733300D55EF8 /* DBPAPERSharingPolicy.h in Headers */, + F99E179B2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h in Headers */, + F99E1DF72B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h in Headers */, + F99E129D2B7A733400D55EF8 /* DBSHARINGCreateSharedLinkError.h in Headers */, + F99E14552B7A733400D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h in Headers */, + F99E1F3B2B7A733C00D55EF8 /* DBFILESTag.h in Headers */, + F99E18DD2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h in Headers */, + F99E18692B7A733700D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h in Headers */, + F99E14AF2B7A733500D55EF8 /* DBTEAMGroupsGetInfoError.h in Headers */, + F99E146B2B7A733500D55EF8 /* DBTEAMTeamFolderCreateArg.h in Headers */, + F99E1D752B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h in Headers */, + F99E17F92B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h in Headers */, + F99E1D5B2B7A733A00D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */, + F99E1F572B7A733C00D55EF8 /* DBFILESGetTemporaryLinkArg.h in Headers */, + F99E15E52B7A733500D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h in Headers */, + F99E1E752B7A733B00D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h in Headers */, + F99E20272B7A733C00D55EF8 /* DBFILESSaveUrlJobStatus.h in Headers */, + F99E20132B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultData.h in Headers */, + F99E13AB2B7A733400D55EF8 /* DBTEAMMembersSuspendError.h in Headers */, + F99E1FF32B7A733C00D55EF8 /* DBFILESFileLockContent.h in Headers */, + F99E1B7D2B7A733900D55EF8 /* DBTEAMLOGAccountCapturePolicy.h in Headers */, + F99E1BA12B7A733900D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h in Headers */, + F99E16B52B7A733600D55EF8 /* DBTEAMLOGSsoChangeCertType.h in Headers */, + F99E1F612B7A733C00D55EF8 /* DBFILESCreateFolderBatchJobStatus.h in Headers */, + F99E1E5D2B7A733B00D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */, + F99E1B912B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h in Headers */, + F99E186F2B7A733700D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h in Headers */, + F99E19632B7A733700D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h in Headers */, + F99E1AEF2B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h in Headers */, + F99E155F2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyType.h in Headers */, + F99E1D732B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h in Headers */, + F99E160B2B7A733500D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */, + F99E1E9B2B7A733B00D55EF8 /* DBTEAMLOGPathLogInfo.h in Headers */, + F99E1BD72B7A733900D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */, + F99E21052B7A733D00D55EF8 /* DBOPENIDRouteObjects.h in Headers */, + F99E20BB2B7A733D00D55EF8 /* DBSDKImportsGenerated.h in Headers */, + F99E13EF2B7A733400D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */, + F99E206D2B7A733C00D55EF8 /* DBFILESSaveCopyReferenceResult.h in Headers */, + F99E183B2B7A733700D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */, + F99E16712B7A733600D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */, + F99E1E5B2B7A733B00D55EF8 /* DBTEAMLOGUserTagsAddedType.h in Headers */, + F99E135F2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h in Headers */, + F99E11CF2B7A733300D55EF8 /* DBSHARINGSharedLinkSettingsError.h in Headers */, + F99E167B2B7A733600D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */, + F99E17E52B7A733700D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h in Headers */, + F99E12212B7A733300D55EF8 /* DBSHARINGMembershipInfo.h in Headers */, + F99E1BAD2B7A733900D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */, + F99E11152B7A733300D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h in Headers */, + F99E1C892B7A733A00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h in Headers */, + F99E1BB92B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h in Headers */, + F99E19032B7A733700D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */, + F99E13DD2B7A733400D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h in Headers */, + F99E1A212B7A733800D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */, + F99E11B72B7A733300D55EF8 /* DBSHARINGListFilesResult.h in Headers */, + F99E13CD2B7A733400D55EF8 /* DBTEAMMembersGetInfoItemBase.h in Headers */, + F99E1E4B2B7A733B00D55EF8 /* DBTEAMLOGSharedContentUnshareType.h in Headers */, + F99E1C0F2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h in Headers */, + F99E14232B7A733400D55EF8 /* DBTEAMSetCustomQuotaError.h in Headers */, + F99E18672B7A733700D55EF8 /* DBTEAMLOGFileRequestDeleteType.h in Headers */, + F99E19612B7A733700D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h in Headers */, + F99E17E72B7A733700D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h in Headers */, + F99E13712B7A733400D55EF8 /* DBTEAMTeamFolderAccessError.h in Headers */, + F99E1E212B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h in Headers */, + F99E1D8B2B7A733A00D55EF8 /* DBTEAMLOGFileDeleteCommentType.h in Headers */, + F99E204B2B7A733C00D55EF8 /* DBFILESAddTagError.h in Headers */, + F99E18B12B7A733700D55EF8 /* DBTEAMLOGFileEditDetails.h in Headers */, + F99E15692B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */, + F99E1CB12B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedType.h in Headers */, + F99E1BB32B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h in Headers */, + F99E19E92B7A733800D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h in Headers */, + F99E18AB2B7A733700D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h in Headers */, + F99E155B2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */, + F99E154F2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */, + F99E12652B7A733300D55EF8 /* DBSHARINGMountFolderArg.h in Headers */, + F99E1F6F2B7A733C00D55EF8 /* DBFILESExportMetadata.h in Headers */, + F99E14E92B7A733500D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */, + F99E1A152B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */, + F99E208D2B7A733D00D55EF8 /* DBFILESRelocationBatchArgBase.h in Headers */, + F99E11B52B7A733300D55EF8 /* DBSHARINGSharedLinkPolicy.h in Headers */, + F99E11D72B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h in Headers */, + F99E14B52B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h in Headers */, + F99E10DB2B7A733200D55EF8 /* DBPAPERPaperDocCreateError.h in Headers */, + F99E13152B7A733400D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h in Headers */, + F99E1B192B7A733900D55EF8 /* DBTEAMLOGSharedLinkVisibility.h in Headers */, + F99E139B2B7A733400D55EF8 /* DBTEAMActiveWebSession.h in Headers */, + F99E18FB2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkFailType.h in Headers */, + F99E13992B7A733400D55EF8 /* DBTEAMMemberSelectorError.h in Headers */, + BF7E352E248858B600DEDF84 /* DBLoadingStatusDelegate.h in Headers */, F2A2CEB71E566625001D8449 /* DBSDKImports-iOS.h in Headers */, - F2A2DBAF1E578C3F001D8449 /* DBOpenWithInfo-iOS.h in Headers */, - F292EFD71FC0EB7500D6E69B /* DBFILESPreviewError.h in Headers */, - F292F38B1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */, - F292EFF31FC0EB7500D6E69B /* DBFILESSaveCopyReferenceError.h in Headers */, - F292F35F1FC0EB7600D6E69B /* DBTEAMLOGApiSessionLogInfo.h in Headers */, - F292F1071FC0EB7500D6E69B /* DBSHARINGLinkExpiry.h in Headers */, - F292F3731FC0EB7600D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */, - F292F57D1FC0EB7800D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */, - F292F00B1FC0EB7500D6E69B /* DBFILESSharedLink.h in Headers */, - F292F6491FC0EB7800D6E69B /* DBUSERSIndividualSpaceAllocation.h in Headers */, - F292F0551FC0EB7500D6E69B /* DBPAPERFolderSharingPolicyType.h in Headers */, - F292F1B91FC0EB7600D6E69B /* DBSHARINGUpdateFileMemberArgs.h in Headers */, - F292F4851FC0EB7700D6E69B /* DBTEAMLOGMissingDetails.h in Headers */, - F292F1671FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberError.h in Headers */, - F292F5A91FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */, - F292F2BD1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendArg.h in Headers */, - F292EFEF1FC0EB7500D6E69B /* DBFILESRestoreError.h in Headers */, - F292F3D31FC0EB7700D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */, - F292F1311FC0EB7500D6E69B /* DBSHARINGListFolderMembersCursorArg.h in Headers */, - F292F1BF1FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyArg.h in Headers */, - F292EFAD1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultEntry.h in Headers */, - F292F30D1FC0EB7600D6E69B /* DBTEAMTeamFolderListResult.h in Headers */, - F292EFC11FC0EB7500D6E69B /* DBFILESListFolderResult.h in Headers */, - F292F0E11FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchResult.h in Headers */, - F292F20D1FC0EB7600D6E69B /* DBTEAMGetMembershipReport.h in Headers */, - F292EEC51FC0EB7400D6E69B /* DBASYNCLaunchEmptyResult.h in Headers */, - F292F3E71FC0EB7700D6E69B /* DBTEAMLOGFileDownloadDetails.h in Headers */, - F292F1DD1FC0EB7600D6E69B /* DBTEAMCustomQuotaUsersArg.h in Headers */, - F292F4071FC0EB7700D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */, - F292F0831FC0EB7500D6E69B /* DBPAPERPaperDocExport.h in Headers */, - F292F1B31FC0EB7600D6E69B /* DBSHARINGUnshareFileError.h in Headers */, - F292F0F91FC0EB7500D6E69B /* DBSHARINGInsufficientQuotaAmounts.h in Headers */, - F292EEF51FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesError.h in Headers */, - F292F5E91FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */, - F292EFC51FC0EB7500D6E69B /* DBFILESListRevisionsError.h in Headers */, - F292F3EF1FC0EB7700D6E69B /* DBTEAMLOGFileLogInfo.h in Headers */, - F292F4051FC0EB7700D6E69B /* DBTEAMLOGFileRequestDetails.h in Headers */, - F292F60B1FC0EB7800D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */, - F292F1251FC0EB7500D6E69B /* DBSHARINGListFilesContinueArg.h in Headers */, - F292EEF71FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateArg.h in Headers */, - F292F1E91FC0EB7600D6E69B /* DBTEAMDeviceSession.h in Headers */, - F292F5CB1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */, - F292F1451FC0EB7500D6E69B /* DBSHARINGMemberPermission.h in Headers */, - F292F4B91FC0EB7700D6E69B /* DBTEAMLOGPaperContentRenameDetails.h in Headers */, - F292F51D1FC0EB7700D6E69B /* DBTEAMLOGSfInviteGroupDetails.h in Headers */, - F292F0631FC0EB7500D6E69B /* DBPAPERListPaperDocsFilterBy.h in Headers */, - F292F5C31FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */, - F292F04B1FC0EB7500D6E69B /* DBPAPERDocLookupError.h in Headers */, - F292F1711FC0EB7500D6E69B /* DBSHARINGResolvedVisibility.h in Headers */, - F292F5AB1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */, - F292EFF91FC0EB7500D6E69B /* DBFILESSaveUrlError.h in Headers */, - F292EFE71FC0EB7500D6E69B /* DBFILESRelocationError.h in Headers */, - F292F2F51FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */, - F292F1FF1FC0EB7600D6E69B /* DBTEAMFeature.h in Headers */, - F292F6891FC0EB7800D6E69B /* DBFILESUserAuthRoutes.h in Headers */, - F292F4431FC0EB7700D6E69B /* DBTEAMLOGGroupJoinPolicy.h in Headers */, - F292EF611FC0EB7500D6E69B /* DBFILESAlphaGetMetadataArg.h in Headers */, - F292F2BF1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendError.h in Headers */, - F292F6A11FC0EB7800D6E69B /* DBAUTHRouteObjects.h in Headers */, - F292F44D1FC0EB7700D6E69B /* DBTEAMLOGGroupRenameDetails.h in Headers */, - F292F47B1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */, - F292F19B1FC0EB7600D6E69B /* DBSHARINGShareFolderErrorBase.h in Headers */, - F292F40B1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */, - F292F15B1FC0EB7500D6E69B /* DBSHARINGPermissionDeniedReason.h in Headers */, - F292F6411FC0EB7800D6E69B /* DBUSERSGetAccountArg.h in Headers */, - F292F4FD1FC0EB7700D6E69B /* DBTEAMLOGPaperMemberPolicy.h in Headers */, - F292F4A51FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */, - F292F6991FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.h in Headers */, - F292EF911FC0EB7500D6E69B /* DBFILESFolderMetadata.h in Headers */, - F292F1151FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchArg.h in Headers */, - F292F3131FC0EB7600D6E69B /* DBTEAMTeamFolderRenameArg.h in Headers */, - F292F09B1FC0EB7500D6E69B /* DBPAPERUserInfoWithPermissionLevel.h in Headers */, - F292F0B71FC0EB7500D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h in Headers */, - F292F24B1FC0EB7600D6E69B /* DBTEAMGroupsMembersListResult.h in Headers */, - F292F59B1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h in Headers */, - F292F60F1FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */, - F292F47D1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */, - F292F5551FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */, - F292EFBB1FC0EB7500D6E69B /* DBFILESListFolderLongpollArg.h in Headers */, - F292F3EB1FC0EB7700D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */, - F292F07B1FC0EB7500D6E69B /* DBPAPERPaperApiCursorError.h in Headers */, - F292EF2B1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */, - F292F4C51FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */, - F292F5FD1FC0EB7800D6E69B /* DBTEAMLOGTfaResetDetails.h in Headers */, - F292F22F1FC0EB7600D6E69B /* DBTEAMGroupMembersSelectorError.h in Headers */, - F292F23D1FC0EB7600D6E69B /* DBTEAMGroupsListArg.h in Headers */, - F292F56D1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h in Headers */, - F292F6211FC0EB7800D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */, - F292F5011FC0EB7700D6E69B /* DBTEAMLOGPasswordChangeDetails.h in Headers */, - F292F4331FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoPolicy.h in Headers */, - F292F52B1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */, - F292F52D1FC0EB7700D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */, - F292F0BD1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkError.h in Headers */, - F292F0FB1FC0EB7500D6E69B /* DBSHARINGInviteeInfo.h in Headers */, - F292F5DD1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeFromDetails.h in Headers */, - F292F2E51FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppStatus.h in Headers */, - F292F3571FC0EB7600D6E69B /* DBTEAMLOGActorLogInfo.h in Headers */, - F292F1A71FC0EB7600D6E69B /* DBSHARINGTeamMemberInfo.h in Headers */, - F292F14F1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsError.h in Headers */, - F292F36F1FC0EB7600D6E69B /* DBTEAMLOGCollectionShareDetails.h in Headers */, - F292F4671FC0EB7700D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */, - F292F3531FC0EB7600D6E69B /* DBTEAMLOGAccountCapturePolicy.h in Headers */, - F292F1CB1FC0EB7600D6E69B /* DBSHARINGVisibility.h in Headers */, - F292F0F31FC0EB7500D6E69B /* DBSHARINGGroupInfo.h in Headers */, - F292F12F1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueError.h in Headers */, - F292F3AD1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */, - F292EF691FC0EB7500D6E69B /* DBFILESCreateFolderArg.h in Headers */, - F292F4A11FC0EB7700D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */, - F292F2E11FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */, - F292F1EF1FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueArg.h in Headers */, - F292F2FD1FC0EB7600D6E69B /* DBTEAMTeamFolderGetInfoItem.h in Headers */, - F292F3931FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */, - F292F42D1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsError.h in Headers */, - F292F17F1FC0EB7600D6E69B /* DBSHARINGSharedFolderAccessError.h in Headers */, - F292F5A71FC0EB7800D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */, - F292F0391FC0EB7500D6E69B /* DBFILESWriteConflictError.h in Headers */, - F292F2191FC0EB7600D6E69B /* DBTEAMGroupFullInfo.h in Headers */, - F292F1991FC0EB7600D6E69B /* DBSHARINGShareFolderError.h in Headers */, - F292F58F1FC0EB7800D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h in Headers */, - F292F2BB1FC0EB7600D6E69B /* DBTEAMMembersSuspendError.h in Headers */, - F292EFDD1FC0EB7500D6E69B /* DBFILESRelocationBatchError.h in Headers */, - F292F3E51FC0EB7700D6E69B /* DBTEAMLOGFileDeleteDetails.h in Headers */, - F292F2231FC0EB7600D6E69B /* DBTEAMGroupMemberSelector.h in Headers */, - F292F2271FC0EB7600D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */, - F292F1C31FC0EB7600D6E69B /* DBSHARINGUserFileMembershipInfo.h in Headers */, - F292F10F1FC0EB7500D6E69B /* DBSHARINGLinkPermissions.h in Headers */, - F292EF091FC0EB7400D6E69B /* DBFILEPROPERTIESModifyTemplateError.h in Headers */, - F292F01B1FC0EB7500D6E69B /* DBFILESUploadSessionAppendArg.h in Headers */, - F292F0051FC0EB7500D6E69B /* DBFILESSearchMatchType.h in Headers */, - F292F06F1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */, - F292F1B51FC0EB7600D6E69B /* DBSHARINGUnshareFolderArg.h in Headers */, - F292F4831FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */, - F292EFD11FC0EB7500D6E69B /* DBFILESMetadata.h in Headers */, - F292EEDB1FC0EB7400D6E69B /* DBAUTHRateLimitError.h in Headers */, - F292F2F91FC0EB7600D6E69B /* DBTEAMTeamFolderCreateArg.h in Headers */, - F292F5BF1FC0EB7800D6E69B /* DBTEAMLOGSsoErrorDetails.h in Headers */, - F292F09D1FC0EB7500D6E69B /* DBPAPERUserOnPaperDocFilter.h in Headers */, - F292F6851FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.h in Headers */, - F292F6751FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.h in Headers */, - F292EF051FC0EB7400D6E69B /* DBFILEPROPERTIESLookupError.h in Headers */, - F292F18F1FC0EB7600D6E69B /* DBSHARINGSharedLinkPolicy.h in Headers */, - F292F0371FC0EB7500D6E69B /* DBFILESVideoMetadata.h in Headers */, - F292F05D1FC0EB7500D6E69B /* DBPAPERListDocsCursorError.h in Headers */, - F292F1D71FC0EB7600D6E69B /* DBTEAMBaseTeamFolderError.h in Headers */, - F292F2491FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueError.h in Headers */, - F292F5291FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinDetails.h in Headers */, - F292EF931FC0EB7500D6E69B /* DBFILESFolderSharingInfo.h in Headers */, - F292F4BB1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */, - F292F1051FC0EB7500D6E69B /* DBSHARINGLinkAudience.h in Headers */, - F292F06D1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderArgs.h in Headers */, - F292F3F91FC0EB7700D6E69B /* DBTEAMLOGFileRenameDetails.h in Headers */, - F292EF831FC0EB7500D6E69B /* DBFILESDeleteResult.h in Headers */, - F292F3A51FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */, - F292F2D91FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionStatus.h in Headers */, - F292F0E71FC0EB7500D6E69B /* DBSHARINGGetMetadataArgs.h in Headers */, - F292F2D31FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */, - F292F2A11FC0EB7600D6E69B /* DBTEAMMembersListContinueError.h in Headers */, - F292F5B51FC0EB7800D6E69B /* DBTEAMLOGSsoChangeCertDetails.h in Headers */, - F292F2391FC0EB7600D6E69B /* DBTEAMGroupsGetInfoError.h in Headers */, - F292F0071FC0EB7500D6E69B /* DBFILESSearchMode.h in Headers */, - F292F10D1FC0EB7500D6E69B /* DBSHARINGLinkPermission.h in Headers */, - F292F5CD1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */, - F292F4EB1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */, - F292EF1F1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyField.h in Headers */, - F292EFB91FC0EB7500D6E69B /* DBFILESListFolderGetLatestCursorResult.h in Headers */, - F292F4AD1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */, - F292EECB1FC0EB7400D6E69B /* DBASYNCPollEmptyResult.h in Headers */, - F292F1FB1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateResult.h in Headers */, - F292F5AF1FC0EB7800D6E69B /* DBTEAMLOGSsoAddCertDetails.h in Headers */, - F292EF991FC0EB7500D6E69B /* DBFILESGetCopyReferenceResult.h in Headers */, - F292F0C91FC0EB7500D6E69B /* DBSHARINGFileLinkMetadata.h in Headers */, - F292F52F1FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */, - F292F0951FC0EB7500D6E69B /* DBPAPERSharingPolicy.h in Headers */, - F292F41F1FC0EB7700D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */, - F292F6BD1FC0EB7800D6E69B /* DBTEAMRouteObjects.h in Headers */, - F292F4D31FC0EB7700D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */, - F292F27B1FC0EB7600D6E69B /* DBTEAMListTeamDevicesError.h in Headers */, - F292F4711FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */, - F292EF071FC0EB7400D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */, - F292F49B1FC0EB7700D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */, - F292F0FF1FC0EB7500D6E69B /* DBSHARINGJobError.h in Headers */, - F292F4391FC0EB7700D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */, - F292F0211FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchArg.h in Headers */, - F292F0131FC0EB7500D6E69B /* DBFILESThumbnailFormat.h in Headers */, - F292F4131FC0EB7700D6E69B /* DBTEAMLOGFileRequestsPolicy.h in Headers */, - F292F2B31FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsError.h in Headers */, - F292F2251FC0EB7600D6E69B /* DBTEAMGroupMemberSelectorError.h in Headers */, - F292F4191FC0EB7700D6E69B /* DBTEAMLOGFileRevertDetails.h in Headers */, - F292F39F1FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */, - F292F4D11FC0EB7700D6E69B /* DBTEAMLOGPaperDocMentionDetails.h in Headers */, - F292F31B1FC0EB7600D6E69B /* DBTEAMTeamGetInfoResult.h in Headers */, - F292F37D1FC0EB7600D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */, - F292F1391FC0EB7500D6E69B /* DBSHARINGListFoldersResult.h in Headers */, - F292F5331FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */, - F292F32F1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */, - F292F1731FC0EB7500D6E69B /* DBSHARINGRevokeSharedLinkArg.h in Headers */, - F292F4571FC0EB7700D6E69B /* DBTEAMLOGLoginMethod.h in Headers */, - F292F3D11FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */, - F292F1F51FC0EB7600D6E69B /* DBTEAMExcludedUsersListResult.h in Headers */, - F292F28B1FC0EB7600D6E69B /* DBTEAMMembersAddArg.h in Headers */, - F292F42F1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsResult.h in Headers */, - F292EFC91FC0EB7500D6E69B /* DBFILESListRevisionsResult.h in Headers */, - F292EFA31FC0EB7500D6E69B /* DBFILESGetTemporaryLinkResult.h in Headers */, - F292F4E71FC0EB7700D6E69B /* DBTEAMLOGPaperDownloadFormat.h in Headers */, - F292F6251FC0EB7800D6E69B /* DBTEAMPOLICIESRolloutMethod.h in Headers */, - F292F6191FC0EB7800D6E69B /* DBTEAMPOLICIESEmmState.h in Headers */, - F292F18D1FC0EB7600D6E69B /* DBSHARINGSharedLinkMetadata.h in Headers */, - F292F2B71FC0EB7600D6E69B /* DBTEAMMembersSetProfileArg.h in Headers */, - F292F50D1FC0EB7700D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */, - F292F3071FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueArg.h in Headers */, - F292F41B1FC0EB7700D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */, - F292F5731FC0EB7800D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */, - F292EEC91FC0EB7400D6E69B /* DBASYNCPollArg.h in Headers */, - F292F6271FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */, - F292F5771FC0EB7800D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */, - F292F6011FC0EB7800D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */, - F292EF011FC0EB7400D6E69B /* DBFILEPROPERTIESListTemplateResult.h in Headers */, - F292F1AB1FC0EB7600D6E69B /* DBSHARINGTransferFolderError.h in Headers */, - F292F1771FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadata.h in Headers */, - F292F0251FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */, - F292F2811FC0EB7600D6E69B /* DBTEAMMemberAddArg.h in Headers */, - F292F3431FC0EB7600D6E69B /* DBTEAMCOMMONGroupType.h in Headers */, - F292F5AD1FC0EB7800D6E69B /* DBTEAMLOGSpaceLimitsStatus.h in Headers */, - F292F2A91FC0EB7600D6E69B /* DBTEAMMembersRecoverError.h in Headers */, - F292F59F1FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */, - F292F40F1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */, - F292F4011FC0EB7700D6E69B /* DBTEAMLOGFileRequestCloseDetails.h in Headers */, - F292EEFB1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateArg.h in Headers */, - F292F4951FC0EB7700D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */, - F292F3F51FC0EB7700D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */, - F292F3391FC0EB7600D6E69B /* DBTEAMUserSelectorError.h in Headers */, - F292F1511FC0EB7500D6E69B /* DBSHARINGMountFolderArg.h in Headers */, - F292F11F1FC0EB7500D6E69B /* DBSHARINGListFileMembersError.h in Headers */, - F292F0AB1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberError.h in Headers */, - F292F25F1FC0EB7600D6E69B /* DBTEAMListMemberAppsResult.h in Headers */, - F292F3FF1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h in Headers */, - F292F3711FC0EB7600D6E69B /* DBTEAMLOGConfidentiality.h in Headers */, - F292F0031FC0EB7500D6E69B /* DBFILESSearchMatch.h in Headers */, - F292F3E11FC0EB7700D6E69B /* DBTEAMLOGFileCopyDetails.h in Headers */, - F292F1A51FC0EB7600D6E69B /* DBSHARINGSharingUserError.h in Headers */, - F292EF6D1FC0EB7500D6E69B /* DBFILESCreateFolderResult.h in Headers */, - F292F2F31FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveError.h in Headers */, - F292F1171FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchResult.h in Headers */, - F292F2791FC0EB7600D6E69B /* DBTEAMListTeamDevicesArg.h in Headers */, - F292EF2F1FC0EB7400D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */, - F292F0331FC0EB7500D6E69B /* DBFILESUploadSessionStartResult.h in Headers */, - F292F3B91FC0EB7700D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */, - F292F0531FC0EB7500D6E69B /* DBPAPERFoldersContainingPaperDoc.h in Headers */, - F292F5D91FC0EB7800D6E69B /* DBTEAMLOGTeamMemberLogInfo.h in Headers */, - F292F5F51FC0EB7800D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */, - F292F5411FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */, - F292F1031FC0EB7500D6E69B /* DBSHARINGLinkAction.h in Headers */, - F292F5E51FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */, - F292F1DF1FC0EB7600D6E69B /* DBTEAMDateRange.h in Headers */, - F292F06B1FC0EB7500D6E69B /* DBPAPERListUsersCursorError.h in Headers */, - F292F24D1FC0EB7600D6E69B /* DBTEAMGroupsPollError.h in Headers */, - F292F3BB1FC0EB7700D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */, - F292F0971FC0EB7500D6E69B /* DBPAPERSharingPublicPolicyType.h in Headers */, - F292F4FF1FC0EB7700D6E69B /* DBTEAMLOGParticipantLogInfo.h in Headers */, - F292F0351FC0EB7500D6E69B /* DBFILESUploadWriteFailed.h in Headers */, - F292F5A51FC0EB7800D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */, - F292F60D1FC0EB7800D6E69B /* DBTEAMLOGWebSessionLogInfo.h in Headers */, - F292EF531FC0EB7400D6E69B /* DBFILEREQUESTSGracePeriod.h in Headers */, - F292F4511FC0EB7700D6E69B /* DBTEAMLOGJoinTeamDetails.h in Headers */, - F292F6431FC0EB7800D6E69B /* DBUSERSGetAccountBatchArg.h in Headers */, - F292F2EB1FC0EB7600D6E69B /* DBTEAMStorageBucket.h in Headers */, - F292F38F1FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */, - F292F3DF1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsPolicy.h in Headers */, - F292F6791FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.h in Headers */, - F292F0791FC0EB7500D6E69B /* DBPAPERPaperApiBaseError.h in Headers */, - F292F3971FC0EB7700D6E69B /* DBTEAMLOGDeviceLogInfo.h in Headers */, - F292F0C51FC0EB7500D6E69B /* DBSHARINGFileAction.h in Headers */, - F292F5D11FC0EB7800D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */, - F292F1631FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipError.h in Headers */, - F292F2ED1FC0EB7600D6E69B /* DBTEAMTeamFolderAccessError.h in Headers */, - F292F65D1FC0EB7800D6E69B /* DBTeamBaseClient.h in Headers */, - F292F64F1FC0EB7800D6E69B /* DBUSERSSpaceUsage.h in Headers */, - F292F61F1FC0EB7800D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */, - F292EEFF1FC0EB7400D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */, - F292EFA11FC0EB7500D6E69B /* DBFILESGetTemporaryLinkError.h in Headers */, - F292F50F1FC0EB7700D6E69B /* DBTEAMLOGResellerLogInfo.h in Headers */, - F292F4971FC0EB7700D6E69B /* DBTEAMLOGNoteSharedDetails.h in Headers */, - F292F0711FC0EB7500D6E69B /* DBPAPERListUsersOnFolderResponse.h in Headers */, - F292F4C11FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */, - F292EFE11FC0EB7500D6E69B /* DBFILESRelocationBatchLaunch.h in Headers */, - F292F3C51FC0EB7700D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */, - F292F32B1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListResult.h in Headers */, - F292F2DF1FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchError.h in Headers */, - F292F1411FC0EB7500D6E69B /* DBSHARINGMemberAccessLevelResult.h in Headers */, - F292EFCB1FC0EB7500D6E69B /* DBFILESLookupError.h in Headers */, - F292F51F1FC0EB7700D6E69B /* DBTEAMLOGSfNestDetails.h in Headers */, - F292F10B1FC0EB7500D6E69B /* DBSHARINGLinkPassword.h in Headers */, - F292F0851FC0EB7500D6E69B /* DBPAPERPaperDocExportResult.h in Headers */, - F292F22D1FC0EB7600D6E69B /* DBTEAMGroupMembersSelector.h in Headers */, - F292F2711FC0EB7600D6E69B /* DBTEAMListMembersDevicesResult.h in Headers */, - F292F1C51FC0EB7600D6E69B /* DBSHARINGUserInfo.h in Headers */, - F292F3CD1FC0EB7700D6E69B /* DBTEAMLOGEventType.h in Headers */, - F292F2171FC0EB7600D6E69B /* DBTEAMGroupDeleteError.h in Headers */, - F292EFB11FC0EB7500D6E69B /* DBFILESListFolderArg.h in Headers */, - F292F41D1FC0EB7700D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */, - F292F6811FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */, - F292F0EB1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */, - F292EF471FC0EB7400D6E69B /* DBFILEREQUESTSFileRequest.h in Headers */, - F292F64B1FC0EB7800D6E69B /* DBUSERSName.h in Headers */, - F292F1F11FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueError.h in Headers */, - F292EF131FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */, - F292F2031FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchError.h in Headers */, - F292F5631FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h in Headers */, - F292F6AD1FC0EB7800D6E69B /* DBFILESRouteObjects.h in Headers */, - F292F2B91FC0EB7600D6E69B /* DBTEAMMembersSetProfileError.h in Headers */, - F292F3A71FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */, - F292F3BD1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */, - F292F03B1FC0EB7500D6E69B /* DBFILESWriteError.h in Headers */, - F292F36D1FC0EB7600D6E69B /* DBTEAMLOGCertificate.h in Headers */, - F292F3DB1FC0EB7700D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */, - F292F2051FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */, - F292F1B11FC0EB7600D6E69B /* DBSHARINGUnshareFileArg.h in Headers */, - F292F0D51FC0EB7500D6E69B /* DBSHARINGFolderAction.h in Headers */, - F292F5D51FC0EB7800D6E69B /* DBTEAMLOGTeamFolderStatus.h in Headers */, - F292F62B1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */, - F292F5091FC0EB7700D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */, - F292F1111FC0EB7500D6E69B /* DBSHARINGLinkSettings.h in Headers */, - F292F0C31FC0EB7500D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */, - F292F07D1FC0EB7500D6E69B /* DBPAPERPaperDocCreateArgs.h in Headers */, - F292F1851FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadata.h in Headers */, - F292F1611FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */, - F292F4A91FC0EB7700D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */, - F292F5ED1FC0EB7800D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */, - F292EFAF1FC0EB7500D6E69B /* DBFILESGpsCoordinates.h in Headers */, - F292EF4B1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestError.h in Headers */, - F292F4911FC0EB7700D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */, - F292F07F1FC0EB7500D6E69B /* DBPAPERPaperDocCreateError.h in Headers */, - F292F5DF1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeToDetails.h in Headers */, - F292F4311FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */, - F292EFE91FC0EB7500D6E69B /* DBFILESRelocationPath.h in Headers */, - F292F38D1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */, - F292F5911FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h in Headers */, - F292F5271FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteDetails.h in Headers */, - F292F6911FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.h in Headers */, - F292F58B1FC0EB7800D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */, - F292F36B1FC0EB7600D6E69B /* DBTEAMLOGAssetLogInfo.h in Headers */, - F292F0171FC0EB7500D6E69B /* DBFILESUploadError.h in Headers */, - F292F3B71FC0EB7700D6E69B /* DBTEAMLOGDurationLogInfo.h in Headers */, - F292F0C11FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */, - F292F4AB1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */, - F292F5111FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */, - F292F4E91FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */, - F292F2C31FC0EB7600D6E69B /* DBTEAMMobileClientSession.h in Headers */, - F292F4F51FC0EB7700D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */, - F292EF0F1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */, - F292F2911FC0EB7600D6E69B /* DBTEAMMembersDeactivateArg.h in Headers */, - F292F3BF1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */, - F292F2211FC0EB7600D6E69B /* DBTEAMGroupMembersChangeResult.h in Headers */, - F292F35B1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */, - F292F00D1FC0EB7500D6E69B /* DBFILESSharingInfo.h in Headers */, - F292F66D1FC0EB7800D6E69B /* DBStoneSerializers.h in Headers */, - F292F0771FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocResponse.h in Headers */, - F292F3591FC0EB7600D6E69B /* DBTEAMLOGAdminRole.h in Headers */, - F292F4EF1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */, - F292F5391FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */, - F292F2651FC0EB7600D6E69B /* DBTEAMListMemberDevicesResult.h in Headers */, - F292F1A31FC0EB7600D6E69B /* DBSHARINGSharingFileAccessError.h in Headers */, - F292F4531FC0EB7700D6E69B /* DBTEAMLOGLinkAudience.h in Headers */, - F292F4451FC0EB7700D6E69B /* DBTEAMLOGGroupLogInfo.h in Headers */, - F292EF111FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */, - F292F0271FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResult.h in Headers */, - F292EF791FC0EB7500D6E69B /* DBFILESDeleteBatchResult.h in Headers */, - F292F5C91FC0EB7800D6E69B /* DBTEAMLOGTeamEvent.h in Headers */, - F292F0751FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */, - F292F0811FC0EB7500D6E69B /* DBPAPERPaperDocCreateUpdateResult.h in Headers */, - F292F3331FC0EB7600D6E69B /* DBTEAMUserCustomQuotaArg.h in Headers */, - F292F4271FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsArg.h in Headers */, - F292EEEB1FC0EB7400D6E69B /* DBCOMMONRootInfo.h in Headers */, - F292F2871FC0EB7600D6E69B /* DBTEAMMemberLinkedApps.h in Headers */, - F292F08B1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateArgs.h in Headers */, - F292F2CF1FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionArg.h in Headers */, - F292F1CF1FC0EB7600D6E69B /* DBTEAMActiveWebSession.h in Headers */, - F292EFCD1FC0EB7500D6E69B /* DBFILESMediaInfo.h in Headers */, - F292F0411FC0EB7500D6E69B /* DBPAPERAddMember.h in Headers */, - F292F3791FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */, - F292F3271FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueArg.h in Headers */, - F292F2771FC0EB7600D6E69B /* DBTEAMListTeamAppsResult.h in Headers */, - F292F27D1FC0EB7600D6E69B /* DBTEAMListTeamDevicesResult.h in Headers */, - F292F4871FC0EB7700D6E69B /* DBTEAMLOGMobileSessionLogInfo.h in Headers */, - F292F34D1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */, - F292F22B1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveError.h in Headers */, - F292F3911FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */, - F292F3831FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */, - F292F1AF1FC0EB7600D6E69B /* DBSHARINGUnmountFolderError.h in Headers */, - F292F5151FC0EB7700D6E69B /* DBTEAMLOGSessionLogInfo.h in Headers */, - F292EF231FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroup.h in Headers */, - F292F51B1FC0EB7700D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */, - F292EF8D1FC0EB7500D6E69B /* DBFILESFileOpsResult.h in Headers */, - F292F04D1FC0EB7500D6E69B /* DBPAPERDocSubscriptionLevel.h in Headers */, - F292F24F1FC0EB7600D6E69B /* DBTEAMGroupsSelector.h in Headers */, - F292F2EF1FC0EB7600D6E69B /* DBTEAMTeamFolderActivateError.h in Headers */, - F292F01F1FC0EB7500D6E69B /* DBFILESUploadSessionFinishArg.h in Headers */, - F292F1351FC0EB7500D6E69B /* DBSHARINGListFoldersContinueArg.h in Headers */, - F292EF811FC0EB7500D6E69B /* DBFILESDeleteError.h in Headers */, - F292F1191FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueArg.h in Headers */, - F292F1F91FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateError.h in Headers */, - F292EF9F1FC0EB7500D6E69B /* DBFILESGetTemporaryLinkArg.h in Headers */, - F292F4F31FC0EB7700D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */, - F292F15D1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipArg.h in Headers */, - F292F63F1FC0EB7800D6E69B /* DBUSERSFullTeam.h in Headers */, - F292F26B1FC0EB7600D6E69B /* DBTEAMListMembersAppsResult.h in Headers */, - F292F20B1FC0EB7600D6E69B /* DBTEAMGetDevicesReport.h in Headers */, - F292EF0D1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesError.h in Headers */, - F292F1C71FC0EB7600D6E69B /* DBSHARINGUserMembershipInfo.h in Headers */, - F292EF311FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateError.h in Headers */, - F292F6471FC0EB7800D6E69B /* DBUSERSGetAccountError.h in Headers */, - F292F0FD1FC0EB7500D6E69B /* DBSHARINGInviteeMembershipInfo.h in Headers */, - F292F54B1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h in Headers */, - F292F4591FC0EB7700D6E69B /* DBTEAMLOGLoginSuccessDetails.h in Headers */, - F292F3AF1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */, - F292F48B1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */, - F292F1791FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */, - F292F4991FC0EB7700D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */, - F292F2331FC0EB7600D6E69B /* DBTEAMGroupSelector.h in Headers */, - F292F1891FC0EB7600D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */, - F292EF031FC0EB7400D6E69B /* DBFILEPROPERTIESLogicalOperator.h in Headers */, - F292EF631FC0EB7500D6E69B /* DBFILESAlphaGetMetadataError.h in Headers */, - F292EF491FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestDeadline.h in Headers */, - F292F32D1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */, - F292F5E31FC0EB7800D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */, - F292EF3F1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */, - F292F1DB1FC0EB7600D6E69B /* DBTEAMCustomQuotaResult.h in Headers */, - F292F46B1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */, - F292F0DF1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchArg.h in Headers */, - F292F6951FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.h in Headers */, - F292F2971FC0EB7600D6E69B /* DBTEAMMembersGetInfoArgs.h in Headers */, - F292EFAB1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultData.h in Headers */, - F292F55B1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewDetails.h in Headers */, - F292F0DD1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataArg.h in Headers */, - F292F33F1FC0EB7600D6E69B /* DBTEAMCOMMONGroupManagementType.h in Headers */, - F292F28D1FC0EB7600D6E69B /* DBTEAMMembersAddJobStatus.h in Headers */, - F292F5C51FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */, - F292F1491FC0EB7500D6E69B /* DBSHARINGMemberSelector.h in Headers */, - F292F1291FC0EB7500D6E69B /* DBSHARINGListFilesResult.h in Headers */, - F292F45F1FC0EB7700D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */, - F292EF7F1FC0EB7500D6E69B /* DBFILESDeletedMetadata.h in Headers */, - F292F1C91FC0EB7600D6E69B /* DBSHARINGViewerInfoPolicy.h in Headers */, - F292F4FB1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */, - F292F0BF1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */, - F292F5951FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h in Headers */, - F292F20F1FC0EB7600D6E69B /* DBTEAMGetStorageReport.h in Headers */, - F292EFCF1FC0EB7500D6E69B /* DBFILESMediaMetadata.h in Headers */, - F292F2E31FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppError.h in Headers */, - F292F2611FC0EB7600D6E69B /* DBTEAMListMemberDevicesArg.h in Headers */, - F292F4B51FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */, - F292F4DD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */, - F292F3371FC0EB7600D6E69B /* DBTEAMUserSelectorArg.h in Headers */, - F292F37B1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */, - F292F3211FC0EB7600D6E69B /* DBTEAMTeamMembershipType.h in Headers */, - F292F2D51FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */, - F292F3CB1FC0EB7700D6E69B /* DBTEAMLOGEventDetails.h in Headers */, - F292F6711FC0EB7800D6E69B /* DBStoneValidators.h in Headers */, - F292F3691FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */, - F292EFFF1FC0EB7500D6E69B /* DBFILESSearchArg.h in Headers */, - F292F0311FC0EB7500D6E69B /* DBFILESUploadSessionStartArg.h in Headers */, - F292F0871FC0EB7500D6E69B /* DBPAPERPaperDocPermissionLevel.h in Headers */, - F292F3171FC0EB7600D6E69B /* DBTEAMTeamFolderStatus.h in Headers */, - F292F0DB1FC0EB7500D6E69B /* DBSHARINGFolderPolicy.h in Headers */, - F292F5131FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */, - F292F0291FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */, - F292F56B1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h in Headers */, - F292F3191FC0EB7600D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */, - F292F11D1FC0EB7500D6E69B /* DBSHARINGListFileMembersCountResult.h in Headers */, - F292EEED1FC0EB7400D6E69B /* DBCOMMONTeamRootInfo.h in Headers */, - F292F0451FC0EB7500D6E69B /* DBPAPERAddPaperDocUserMemberResult.h in Headers */, - F292F1E11FC0EB7600D6E69B /* DBTEAMDateRangeError.h in Headers */, - F292F4BD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */, - F292EFEB1FC0EB7500D6E69B /* DBFILESRelocationResult.h in Headers */, - F292F5891FC0EB7800D6E69B /* DBTEAMLOGShmodelFbShareDetails.h in Headers */, - F292F4891FC0EB7700D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */, - F292EF751FC0EB7500D6E69B /* DBFILESDeleteBatchJobStatus.h in Headers */, - F292EF6B1FC0EB7500D6E69B /* DBFILESCreateFolderError.h in Headers */, - F292F47F1FC0EB7700D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */, - F292EF771FC0EB7500D6E69B /* DBFILESDeleteBatchLaunch.h in Headers */, - F292F04F1FC0EB7500D6E69B /* DBPAPERExportFormat.h in Headers */, - F292F08D1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateError.h in Headers */, - F292F2AB1FC0EB7600D6E69B /* DBTEAMMembersRemoveArg.h in Headers */, - F292F0491FC0EB7500D6E69B /* DBPAPERCursor.h in Headers */, - F292F13B1FC0EB7500D6E69B /* DBSHARINGListSharedLinksArg.h in Headers */, - F292F4031FC0EB7700D6E69B /* DBTEAMLOGFileRequestCreateDetails.h in Headers */, - F292F23B1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoItem.h in Headers */, - F292EF971FC0EB7500D6E69B /* DBFILESGetCopyReferenceError.h in Headers */, - F292F0A71FC0EB7500D6E69B /* DBSHARINGAddFileMemberError.h in Headers */, - F292EED71FC0EB7400D6E69B /* DBAUTHInvalidAccountTypeError.h in Headers */, - F292F2991FC0EB7600D6E69B /* DBTEAMMembersGetInfoError.h in Headers */, - F292F4BF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */, - F292F0431FC0EB7500D6E69B /* DBPAPERAddPaperDocUser.h in Headers */, - F292F35D1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */, - F292F44F1FC0EB7700D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */, - F292F3E91FC0EB7700D6E69B /* DBTEAMLOGFileEditDetails.h in Headers */, - F292F4C71FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */, - F292F4DF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */, - F292F1D91FC0EB7600D6E69B /* DBTEAMCustomQuotaError.h in Headers */, - F292F5791FC0EB7800D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */, - F292EF8B1FC0EB7500D6E69B /* DBFILESFileMetadata.h in Headers */, - F292F0731FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocArgs.h in Headers */, - F292F5871FC0EB7800D6E69B /* DBTEAMLOGShmodelDisableDetails.h in Headers */, - F292F2DB1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppArg.h in Headers */, - F292EFDF1FC0EB7500D6E69B /* DBFILESRelocationBatchJobStatus.h in Headers */, - F292EFBF1FC0EB7500D6E69B /* DBFILESListFolderLongpollResult.h in Headers */, - F292F00F1FC0EB7500D6E69B /* DBFILESThumbnailArg.h in Headers */, - F292F4AF1FC0EB7700D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */, - F292EF171FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */, - F292F1E51FC0EB7600D6E69B /* DBTEAMDesktopPlatform.h in Headers */, - F292F1D11FC0EB7600D6E69B /* DBTEAMAdminTier.h in Headers */, - F292F1211FC0EB7500D6E69B /* DBSHARINGListFileMembersIndividualResult.h in Headers */, - F292F5671FC0EB7800D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */, - F292F0BB1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkArg.h in Headers */, - F292F45B1FC0EB7700D6E69B /* DBTEAMLOGLogoutDetails.h in Headers */, - F292F3671FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */, - F292F0ED1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksArg.h in Headers */, - F292F2D11FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */, - F292F55D1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h in Headers */, - F292F2DD1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */, - F292F1EB1FC0EB7600D6E69B /* DBTEAMDeviceSessionArg.h in Headers */, - F292F2751FC0EB7600D6E69B /* DBTEAMListTeamAppsError.h in Headers */, - F292F6511FC0EB7800D6E69B /* DBUSERSTeam.h in Headers */, - F292F1A91FC0EB7600D6E69B /* DBSHARINGTransferFolderArg.h in Headers */, - F292F0B31FC0EB7500D6E69B /* DBSHARINGAudienceExceptions.h in Headers */, - F292EF431FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */, - F292F25D1FC0EB7600D6E69B /* DBTEAMListMemberAppsError.h in Headers */, - F292F02F1FC0EB7500D6E69B /* DBFILESUploadSessionOffsetError.h in Headers */, - F292F2011FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */, - F292EF571FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsResult.h in Headers */, - F292F5CF1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */, - F292F3851FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */, - F292F5451FC0EB7700D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */, - F292F69D1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.h in Headers */, - F292F5471FC0EB7700D6E69B /* DBTEAMLOGSharedContentCopyDetails.h in Headers */, - F292EF5B1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */, - F292F4931FC0EB7700D6E69B /* DBTEAMLOGNoteAclLinkDetails.h in Headers */, - F292EFE51FC0EB7500D6E69B /* DBFILESRelocationBatchResultData.h in Headers */, - F292F0931FC0EB7500D6E69B /* DBPAPERRemovePaperDocUser.h in Headers */, - F292F68D1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.h in Headers */, - F292F2C11FC0EB7600D6E69B /* DBTEAMMobileClientPlatform.h in Headers */, - F292EF371FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */, - F292F12B1FC0EB7500D6E69B /* DBSHARINGListFolderMembersArgs.h in Headers */, - F292F1091FC0EB7500D6E69B /* DBSHARINGLinkMetadata.h in Headers */, - F292EEF91FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateResult.h in Headers */, - F292F2A71FC0EB7600D6E69B /* DBTEAMMembersRecoverArg.h in Headers */, - F292F4551FC0EB7700D6E69B /* DBTEAMLOGLoginFailDetails.h in Headers */, - F292F6311FC0EB7800D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */, - F292F0A51FC0EB7500D6E69B /* DBSHARINGAddFileMemberArgs.h in Headers */, - F292F4471FC0EB7700D6E69B /* DBTEAMLOGGroupMovedDetails.h in Headers */, - F292F4171FC0EB7700D6E69B /* DBTEAMLOGFileRestoreDetails.h in Headers */, - F292F6591FC0EB7800D6E69B /* DBAppBaseClient.h in Headers */, - F292F0D31FC0EB7500D6E69B /* DBSHARINGFilePermission.h in Headers */, - F292F5251FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */, - F292EF8F1FC0EB7500D6E69B /* DBFILESFileSharingInfo.h in Headers */, - F292F4791FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestDetails.h in Headers */, - F292F3031FC0EB7600D6E69B /* DBTEAMTeamFolderInvalidStatusError.h in Headers */, - F292F5B31FC0EB7800D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */, - F292F1BB1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberArg.h in Headers */, - F292F4C91FC0EB7700D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */, - F292F01D1FC0EB7500D6E69B /* DBFILESUploadSessionCursor.h in Headers */, - F292EFF11FC0EB7500D6E69B /* DBFILESSaveCopyReferenceArg.h in Headers */, - F292F1E71FC0EB7600D6E69B /* DBTEAMDevicesActive.h in Headers */, - F292EF731FC0EB7500D6E69B /* DBFILESDeleteBatchError.h in Headers */, - F292F5351FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */, - F292F49F1FC0EB7700D6E69B /* DBTEAMLOGPaperAccessType.h in Headers */, - F292F61D1FC0EB7800D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */, - F292F6B51FC0EB7800D6E69B /* DBSHARINGRouteObjects.h in Headers */, - F292F4731FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */, - F292EECD1FC0EB7400D6E69B /* DBASYNCPollError.h in Headers */, - F292F3611FC0EB7600D6E69B /* DBTEAMLOGAppLinkTeamDetails.h in Headers */, - F292F40D1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */, - F292F1E31FC0EB7600D6E69B /* DBTEAMDesktopClientSession.h in Headers */, - F292F5B71FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */, - F292F4DB1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */, - F292F4691FC0EB7700D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */, - F292F4F11FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */, - F292F0B11FC0EB7500D6E69B /* DBSHARINGAudienceExceptionContentInfo.h in Headers */, - F292F5651FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h in Headers */, - F292F6691FC0EB7800D6E69B /* DBStoneBase.h in Headers */, - F292F3B51FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */, - F292F57F1FC0EB7800D6E69B /* DBTEAMLOGSharingLinkPolicy.h in Headers */, - F292F37F1FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */, - F292F5031FC0EB7700D6E69B /* DBTEAMLOGPasswordResetAllDetails.h in Headers */, - F292EFA51FC0EB7500D6E69B /* DBFILESGetThumbnailBatchArg.h in Headers */, - F292F2A31FC0EB7600D6E69B /* DBTEAMMembersListError.h in Headers */, - F292EF1B1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */, - F292F5D71FC0EB7800D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */, - F292F45D1FC0EB7700D6E69B /* DBTEAMLOGMemberAddNameDetails.h in Headers */, - F292F5DB1FC0EB7800D6E69B /* DBTEAMLOGTeamMembershipType.h in Headers */, - F292F0991FC0EB7500D6E69B /* DBPAPERSharingTeamPolicyType.h in Headers */, - F292F0231FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */, - F292F55F1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h in Headers */, - F292F1571FC0EB7500D6E69B /* DBSHARINGPathLinkMetadata.h in Headers */, - F292EF671FC0EB7500D6E69B /* DBFILESCommitInfoWithProperties.h in Headers */, - F292F5171FC0EB7700D6E69B /* DBTEAMLOGSfAddGroupDetails.h in Headers */, - F292F4151FC0EB7700D6E69B /* DBTEAMLOGFileResolveCommentDetails.h in Headers */, - F292F53D1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */, - F292F3311FC0EB7600D6E69B /* DBTEAMUploadApiRateLimitValue.h in Headers */, - F292EF351FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */, - F292EF551FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsError.h in Headers */, - F292F57B1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */, - F292F1AD1FC0EB7600D6E69B /* DBSHARINGUnmountFolderArg.h in Headers */, - F292F6151FC0EB7800D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */, - F292EEE71FC0EB7400D6E69B /* DBCOMMONPathRoot.h in Headers */, - F292F0A91FC0EB7500D6E69B /* DBSHARINGAddFolderMemberArg.h in Headers */, - F292F34F1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */, - F292F1951FC0EB7600D6E69B /* DBSHARINGShareFolderArg.h in Headers */, - F292F0A11FC0EB7500D6E69B /* DBSHARINGAccessLevel.h in Headers */, - F292F1751FC0EB7600D6E69B /* DBSHARINGRevokeSharedLinkError.h in Headers */, - F292F3231FC0EB7600D6E69B /* DBTEAMTeamMemberStatus.h in Headers */, - F292F4B11FC0EB7700D6E69B /* DBTEAMLOGPaperContentCreateDetails.h in Headers */, - F292F5371FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */, - F292F49D1FC0EB7700D6E69B /* DBTEAMLOGOriginLogInfo.h in Headers */, - F292EF5D1FC0EB7500D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */, - F292F3A91FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */, - F292F5071FC0EB7700D6E69B /* DBTEAMLOGPathLogInfo.h in Headers */, - F292F1431FC0EB7500D6E69B /* DBSHARINGMemberAction.h in Headers */, - F292F0511FC0EB7500D6E69B /* DBPAPERFolder.h in Headers */, - F292EF271FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */, - F292F31D1FC0EB7600D6E69B /* DBTEAMTeamMemberInfo.h in Headers */, - F292EEDD1FC0EB7400D6E69B /* DBAUTHRateLimitReason.h in Headers */, - F292F3651FC0EB7600D6E69B /* DBTEAMLOGAppLogInfo.h in Headers */, - F292F3631FC0EB7600D6E69B /* DBTEAMLOGAppLinkUserDetails.h in Headers */, - F292F17D1FC0EB7600D6E69B /* DBSHARINGSharedFileMetadata.h in Headers */, - F292F33B1FC0EB7600D6E69B /* DBTEAMUsersSelectorArg.h in Headers */, - F292EF871FC0EB7500D6E69B /* DBFILESDownloadArg.h in Headers */, - F292EEC71FC0EB7400D6E69B /* DBASYNCLaunchResultBase.h in Headers */, - F292F0C71FC0EB7500D6E69B /* DBSHARINGFileErrorResult.h in Headers */, - F292F6651FC0EB7800D6E69B /* DBSDKImportsGenerated.h in Headers */, - F292F26F1FC0EB7600D6E69B /* DBTEAMListMembersDevicesError.h in Headers */, - F292F48D1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlPolicy.h in Headers */, - F292F3ED1FC0EB7700D6E69B /* DBTEAMLOGFileLikeCommentDetails.h in Headers */, - F292F2311FC0EB7600D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */, - F292F6571FC0EB7800D6E69B /* DBUSERSCOMMONAccountType.h in Headers */, - F292F4F91FC0EB7700D6E69B /* DBTEAMLOGPaperFolderLogInfo.h in Headers */, - F292F2E91FC0EB7600D6E69B /* DBTEAMSetCustomQuotaError.h in Headers */, - F292F5511FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */, - F292EF3D1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */, - F292F0471FC0EB7500D6E69B /* DBPAPERAddPaperDocUserResult.h in Headers */, - F292F1331FC0EB7500D6E69B /* DBSHARINGListFoldersArgs.h in Headers */, - F292F30B1FC0EB7600D6E69B /* DBTEAMTeamFolderListError.h in Headers */, - F292F3C91FC0EB7700D6E69B /* DBTEAMLOGEventCategory.h in Headers */, - F292F5931FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h in Headers */, - F292F2F11FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveArg.h in Headers */, - F292F42B1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */, - F292F0F71FC0EB7500D6E69B /* DBSHARINGInsufficientPlan.h in Headers */, - F292F1651FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberArg.h in Headers */, - F292EEF31FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */, - F292F5B11FC0EB7800D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */, - F292F4231FC0EB7700D6E69B /* DBTEAMLOGFolderLogInfo.h in Headers */, - F292F5051FC0EB7700D6E69B /* DBTEAMLOGPasswordResetDetails.h in Headers */, - F292F3011FC0EB7600D6E69B /* DBTEAMTeamFolderIdListArg.h in Headers */, - F292EECF1FC0EB7400D6E69B /* DBASYNCPollResultBase.h in Headers */, - F292F5711FC0EB7800D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */, - F292F0D11FC0EB7500D6E69B /* DBSHARINGFileMemberRemoveActionResult.h in Headers */, - F292F0F51FC0EB7500D6E69B /* DBSHARINGGroupMembershipInfo.h in Headers */, - F292F3151FC0EB7600D6E69B /* DBTEAMTeamFolderRenameError.h in Headers */, - F292F1ED1FC0EB7600D6E69B /* DBTEAMExcludedUsersListArg.h in Headers */, - F292F67D1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */, - F292F28F1FC0EB7600D6E69B /* DBTEAMMembersAddLaunch.h in Headers */, - F292F18B1FC0EB7600D6E69B /* DBSHARINGSharedLinkError.h in Headers */, - F292F0691FC0EB7500D6E69B /* DBPAPERListPaperDocsSortOrder.h in Headers */, - F292F2CB1FC0EB7600D6E69B /* DBTEAMRemovedStatus.h in Headers */, - F292F62F1FC0EB7800D6E69B /* DBTEAMPOLICIESSsoPolicy.h in Headers */, - F292F5E71FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */, - F292F2291FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveArg.h in Headers */, - F292EF0B1FC0EB7400D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */, - F292EF4D1FC0EB7400D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */, - F292F3891FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */, - F292F3B11FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */, - F292F2631FC0EB7600D6E69B /* DBTEAMListMemberDevicesError.h in Headers */, - F292EF451FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestError.h in Headers */, - F292F4CD1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditDetails.h in Headers */, - F292F43F1FC0EB7700D6E69B /* DBTEAMLOGGroupCreateDetails.h in Headers */, - F292F1D31FC0EB7600D6E69B /* DBTEAMApiApp.h in Headers */, - F292F54D1FC0EB7700D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */, - F292F6B91FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.h in Headers */, - F292F2AF1FC0EB7600D6E69B /* DBTEAMMembersSendWelcomeError.h in Headers */, - F292F0B91FC0EB7500D6E69B /* DBSHARINGCollectionLinkMetadata.h in Headers */, - F292F1371FC0EB7500D6E69B /* DBSHARINGListFoldersContinueError.h in Headers */, - F292F1551FC0EB7500D6E69B /* DBSHARINGParentFolderAccessInfo.h in Headers */, - F292F4631FC0EB7700D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */, - F292F6671FC0EB7800D6E69B /* DBSerializableProtocol.h in Headers */, - F292F3E31FC0EB7700D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */, - F292F0091FC0EB7500D6E69B /* DBFILESSearchResult.h in Headers */, - F292F6331FC0EB7800D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */, - F292F6071FC0EB7800D6E69B /* DBTEAMLOGUserLogInfo.h in Headers */, - F292F5191FC0EB7700D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */, - F292F5311FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */, - F292EF9B1FC0EB7500D6E69B /* DBFILESGetMetadataArg.h in Headers */, - F292EF4F1FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */, - F292F1D51FC0EB7600D6E69B /* DBTEAMBaseDfbReport.h in Headers */, - F292F46D1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsPolicy.h in Headers */, - F292F3451FC0EB7600D6E69B /* DBTEAMCOMMONTimeRange.h in Headers */, - F292F5231FC0EB7700D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */, - F292F53B1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */, - F292EF7B1FC0EB7500D6E69B /* DBFILESDeleteBatchResultData.h in Headers */, - F292F3FD1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeDetails.h in Headers */, - F292F3F71FC0EB7700D6E69B /* DBTEAMLOGFilePreviewDetails.h in Headers */, - F292F1911FC0EB7600D6E69B /* DBSHARINGSharedLinkSettings.h in Headers */, - F292F4291FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */, - F292F5C71FC0EB7800D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */, - F292F5BB1FC0EB7800D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */, - F292F03D1FC0EB7500D6E69B /* DBFILESWriteMode.h in Headers */, - F292F4751FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */, - F292F5571FC0EB7800D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */, - F292F3291FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueError.h in Headers */, - F292F5C11FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */, - F292F16D1FC0EB7500D6E69B /* DBSHARINGRemoveMemberJobStatus.h in Headers */, - F292F6A51FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.h in Headers */, - F292F62D1FC0EB7800D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */, - F292F1971FC0EB7600D6E69B /* DBSHARINGShareFolderArgBase.h in Headers */, - F292F4E11FC0EB7700D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */, - F292F19F1FC0EB7600D6E69B /* DBSHARINGShareFolderLaunch.h in Headers */, - F292F1BD1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberError.h in Headers */, - F292F25B1FC0EB7600D6E69B /* DBTEAMListMemberAppsArg.h in Headers */, - F292F3C71FC0EB7700D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */, - F292EF151FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */, - F292F3871FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */, - F292F5EF1FC0EB7800D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */, - F292EFF51FC0EB7500D6E69B /* DBFILESSaveCopyReferenceResult.h in Headers */, - F292F5491FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */, - F292F4C31FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */, - F292F0671FC0EB7500D6E69B /* DBPAPERListPaperDocsSortBy.h in Headers */, - F292F1271FC0EB7500D6E69B /* DBSHARINGListFilesContinueError.h in Headers */, - F292F0151FC0EB7500D6E69B /* DBFILESThumbnailSize.h in Headers */, - F292F1931FC0EB7600D6E69B /* DBSHARINGSharedLinkSettingsError.h in Headers */, - F292F02D1FC0EB7500D6E69B /* DBFILESUploadSessionLookupError.h in Headers */, - F292F30F1FC0EB7600D6E69B /* DBTEAMTeamFolderMetadata.h in Headers */, - F292F0AD1FC0EB7500D6E69B /* DBSHARINGAddMember.h in Headers */, - F292EF891FC0EB7500D6E69B /* DBFILESDownloadError.h in Headers */, - F292F61B1FC0EB7800D6E69B /* DBTEAMPOLICIESGroupCreation.h in Headers */, - F292F5431FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */, - F292F5971FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h in Headers */, - F292F1691FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberArg.h in Headers */, - F292F4E51FC0EB7700D6E69B /* DBTEAMLOGPaperDocViewDetails.h in Headers */, - F292F6091FC0EB7800D6E69B /* DBTEAMLOGUserNameLogInfo.h in Headers */, - F292F2A51FC0EB7600D6E69B /* DBTEAMMembersListResult.h in Headers */, - F292F1F31FC0EB7600D6E69B /* DBTEAMExcludedUsersListError.h in Headers */, - F292F59D1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h in Headers */, - F292F3D51FC0EB7700D6E69B /* DBTEAMLOGFileAddCommentDetails.h in Headers */, - F292F0E31FC0EB7500D6E69B /* DBSHARINGGetFileMetadataError.h in Headers */, - F292F14D1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */, - F292F3511FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */, - F292F1811FC0EB7600D6E69B /* DBSHARINGSharedFolderMemberError.h in Headers */, - F292F5FB1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */, - F292F2591FC0EB7600D6E69B /* DBTEAMIncludeMembersArg.h in Headers */, - F292EEFD1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateResult.h in Headers */, - F292EF1D1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */, - F292F39B1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */, - F292F2511FC0EB7600D6E69B /* DBTEAMGroupUpdateArgs.h in Headers */, - F292F43B1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */, - F292EF291FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyType.h in Headers */, - F292F05F1FC0EB7500D6E69B /* DBPAPERListPaperDocsArgs.h in Headers */, - F292F3091FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueError.h in Headers */, - F292F2531FC0EB7600D6E69B /* DBTEAMGroupUpdateError.h in Headers */, - F292F3551FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */, - F292F2571FC0EB7600D6E69B /* DBTEAMHasTeamSharedDropboxValue.h in Headers */, - F292F3F31FC0EB7700D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */, - F292F34B1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureAvailability.h in Headers */, - F292F6111FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */, - F292F29F1FC0EB7600D6E69B /* DBTEAMMembersListContinueArg.h in Headers */, - F292F5211FC0EB7700D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h in Headers */, - F292F0011FC0EB7500D6E69B /* DBFILESSearchError.h in Headers */, - F292F3991FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */, - F292F3AB1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */, - F292F4D91FC0EB7700D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */, - F292F0611FC0EB7500D6E69B /* DBPAPERListPaperDocsContinueArgs.h in Headers */, - F292F4251FC0EB7700D6E69B /* DBTEAMLOGGeoLocationLogInfo.h in Headers */, - F292F2131FC0EB7600D6E69B /* DBTEAMGroupCreateArg.h in Headers */, - F292F4B31FC0EB7700D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */, - F292F2FF1FC0EB7600D6E69B /* DBTEAMTeamFolderIdArg.h in Headers */, - F292F6051FC0EB7800D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */, - F292F0CF1FC0EB7500D6E69B /* DBSHARINGFileMemberActionResult.h in Headers */, - F292EF3B1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */, - F292F23F1FC0EB7600D6E69B /* DBTEAMGroupsListContinueArg.h in Headers */, - F292F44B1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */, - F292F1FD1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateStatus.h in Headers */, - F292F2C91FC0EB7600D6E69B /* DBTEAMRemoveCustomQuotaResult.h in Headers */, - F292F4111FC0EB7700D6E69B /* DBTEAMLOGFileRequestSendDetails.h in Headers */, - F292F2151FC0EB7600D6E69B /* DBTEAMGroupCreateError.h in Headers */, - F292EF191FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */, - F292F0CD1FC0EB7500D6E69B /* DBSHARINGFileMemberActionIndividualResult.h in Headers */, - F292EFE31FC0EB7500D6E69B /* DBFILESRelocationBatchResult.h in Headers */, - F292F0651FC0EB7500D6E69B /* DBPAPERListPaperDocsResponse.h in Headers */, - F292F2071FC0EB7600D6E69B /* DBTEAMFeatureValue.h in Headers */, - F292F1831FC0EB7600D6E69B /* DBSHARINGSharedFolderMembers.h in Headers */, - F292F2951FC0EB7600D6E69B /* DBTEAMMemberSelectorError.h in Headers */, - F292F2831FC0EB7600D6E69B /* DBTEAMMemberAddResult.h in Headers */, - F292EEDF1FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Arg.h in Headers */, - F292F4D51FC0EB7700D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */, - F292F2691FC0EB7600D6E69B /* DBTEAMListMembersAppsError.h in Headers */, - F292F5531FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */, - F292F0F11FC0EB7500D6E69B /* DBSHARINGGetSharedLinksResult.h in Headers */, - F292EF651FC0EB7500D6E69B /* DBFILESCommitInfo.h in Headers */, - F292F54F1FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h in Headers */, - F292F0B51FC0EB7500D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */, - F292F63B1FC0EB7800D6E69B /* DBUSERSBasicAccount.h in Headers */, - F292F5811FC0EB7800D6E69B /* DBTEAMLOGSharingMemberPolicy.h in Headers */, - F292F39D1FC0EB7700D6E69B /* DBTEAMLOGDeviceType.h in Headers */, - F292EF6F1FC0EB7500D6E69B /* DBFILESDeleteArg.h in Headers */, - F292EFFB1FC0EB7500D6E69B /* DBFILESSaveUrlJobStatus.h in Headers */, - F292F0EF1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksError.h in Headers */, - F292F2551FC0EB7600D6E69B /* DBTEAMHasTeamFileEventsValue.h in Headers */, - F292F2C71FC0EB7600D6E69B /* DBTEAMNamespaceType.h in Headers */, - F292F6291FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */, - F292F0E91FC0EB7500D6E69B /* DBSHARINGGetSharedLinkFileError.h in Headers */, - F292EF711FC0EB7500D6E69B /* DBFILESDeleteBatchArg.h in Headers */, - F292F21B1FC0EB7600D6E69B /* DBTEAMGroupMemberInfo.h in Headers */, - F292F0CB1FC0EB7500D6E69B /* DBSHARINGFileMemberActionError.h in Headers */, - F292EEE11FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Error.h in Headers */, - F292EEE31FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Result.h in Headers */, - F292F63D1FC0EB7800D6E69B /* DBUSERSFullAccount.h in Headers */, - F292EFD31FC0EB7500D6E69B /* DBFILESPhotoMetadata.h in Headers */, - F292F2D71FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionError.h in Headers */, - F292F3CF1FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */, - F292F5F31FC0EB7800D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */, - F292EED31FC0EB7400D6E69B /* DBAUTHAccessError.h in Headers */, - F292F5991FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h in Headers */, - F292EFD91FC0EB7500D6E69B /* DBFILESRelocationArg.h in Headers */, - F292EFB31FC0EB7500D6E69B /* DBFILESListFolderContinueArg.h in Headers */, - F292F0D91FC0EB7500D6E69B /* DBSHARINGFolderPermission.h in Headers */, - F292F1F71FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateArg.h in Headers */, - F292EF591FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */, - F292F02B1FC0EB7500D6E69B /* DBFILESUploadSessionFinishError.h in Headers */, - F292F3DD1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */, - F292F5831FC0EB7800D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h in Headers */, - F292F14B1FC0EB7500D6E69B /* DBSHARINGMembershipInfo.h in Headers */, - F292EF851FC0EB7500D6E69B /* DBFILESDimensions.h in Headers */, - F292F64D1FC0EB7800D6E69B /* DBUSERSSpaceAllocation.h in Headers */, - F292F31F1FC0EB7600D6E69B /* DBTEAMTeamMemberProfile.h in Headers */, - F292F2E71FC0EB7600D6E69B /* DBTEAMSetCustomQuotaArg.h in Headers */, - F292F6451FC0EB7800D6E69B /* DBUSERSGetAccountBatchError.h in Headers */, - F292F4F71FC0EB7700D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */, - F292F0AF1FC0EB7500D6E69B /* DBSHARINGAddMemberSelectorError.h in Headers */, - F292F2B11FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsArg.h in Headers */, - F292EFB71FC0EB7500D6E69B /* DBFILESListFolderError.h in Headers */, - F292EEEF1FC0EB7400D6E69B /* DBCOMMONUserRootInfo.h in Headers */, - F292F2451FC0EB7600D6E69B /* DBTEAMGroupsMembersListArg.h in Headers */, - F292F1131FC0EB7500D6E69B /* DBSHARINGListFileMembersArg.h in Headers */, - F292F46F1FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */, - F292EFBD1FC0EB7500D6E69B /* DBFILESListFolderLongpollError.h in Headers */, - F292F4611FC0EB7700D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */, - F292F2111FC0EB7600D6E69B /* DBTEAMGroupAccessType.h in Headers */, - F292EF2D1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */, - F292EFA71FC0EB7500D6E69B /* DBFILESGetThumbnailBatchError.h in Headers */, - F292EFB51FC0EB7500D6E69B /* DBFILESListFolderContinueError.h in Headers */, - F292EFDB1FC0EB7500D6E69B /* DBFILESRelocationBatchArg.h in Headers */, - F292F29D1FC0EB7600D6E69B /* DBTEAMMembersListArg.h in Headers */, - F292F2CD1FC0EB7600D6E69B /* DBTEAMRevokeDesktopClientArg.h in Headers */, - F292F50B1FC0EB7700D6E69B /* DBTEAMLOGPlacementRestriction.h in Headers */, - F292F5FF1FC0EB7800D6E69B /* DBTEAMLOGTimeUnit.h in Headers */, - F292F3411FC0EB7600D6E69B /* DBTEAMCOMMONGroupSummary.h in Headers */, - F292F4ED1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */, - F292F5611FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */, - F292EED91FC0EB7400D6E69B /* DBAUTHPaperAccessError.h in Headers */, - F292F3251FC0EB7600D6E69B /* DBTEAMTeamNamespacesListArg.h in Headers */, - F292F1231FC0EB7500D6E69B /* DBSHARINGListFilesArg.h in Headers */, - F292F4CF1FC0EB7700D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */, - F292F0891FC0EB7500D6E69B /* DBPAPERPaperDocSharingPolicy.h in Headers */, - F292F58D1FC0EB7800D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h in Headers */, - F292F5B91FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */, - F292F4A31FC0EB7700D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */, - F292F3C11FC0EB7700D6E69B /* DBTEAMLOGEmmErrorDetails.h in Headers */, - F292F6B11FC0EB7800D6E69B /* DBPAPERRouteObjects.h in Headers */, - F292F5851FC0EB7800D6E69B /* DBTEAMLOGShmodelCreateDetails.h in Headers */, - F292F21F1FC0EB7600D6E69B /* DBTEAMGroupMembersAddError.h in Headers */, - F292F4B71FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */, - F292F3811FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */, - F292F3D71FC0EB7700D6E69B /* DBTEAMLOGFileAddDetails.h in Headers */, - F292F6531FC0EB7800D6E69B /* DBUSERSTeamSpaceAllocation.h in Headers */, - F292F5F71FC0EB7800D6E69B /* DBTEAMLOGTfaConfiguration.h in Headers */, - F292EF331FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilter.h in Headers */, - F292F3C31FC0EB7700D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */, - F292F3951FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */, - F292F2AD1FC0EB7600D6E69B /* DBTEAMMembersRemoveError.h in Headers */, - F292F2091FC0EB7600D6E69B /* DBTEAMGetActivityReport.h in Headers */, - F292F3A31FC0EB7700D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */, - F292F1B71FC0EB7600D6E69B /* DBSHARINGUnshareFolderError.h in Headers */, - F292F6131FC0EB7800D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */, - F292F2FB1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateError.h in Headers */, - F292F4E31FC0EB7700D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */, - F292EED51FC0EB7400D6E69B /* DBAUTHAuthError.h in Headers */, - F292F2851FC0EB7600D6E69B /* DBTEAMMemberDevices.h in Headers */, - F292F5E11FC0EB7800D6E69B /* DBTEAMLOGTeamName.h in Headers */, - F292F4651FC0EB7700D6E69B /* DBTEAMLOGMemberChangeNameDetails.h in Headers */, - F292F5591FC0EB7800D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */, - F292F4CB1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */, - F292F08F1FC0EB7500D6E69B /* DBPAPERPaperDocUpdatePolicy.h in Headers */, - F292F4211FC0EB7700D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */, - F292F5EB1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */, - F292F3751FC0EB7600D6E69B /* DBTEAMLOGContextLogInfo.h in Headers */, - F292EF391FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */, - F292F43D1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */, - F292F4A71FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */, - F292F19D1FC0EB7600D6E69B /* DBSHARINGShareFolderJobStatus.h in Headers */, - F292F4811FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */, - F292F5F91FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */, - F292F3351FC0EB7600D6E69B /* DBTEAMUserCustomQuotaResult.h in Headers */, - F292F2B51FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsResult.h in Headers */, - F292F0E51FC0EB7500D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */, - F292F5691FC0EB7800D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h in Headers */, - F292F4351FC0EB7700D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */, - F292F3A11FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */, - F292F12D1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueArg.h in Headers */, - F292F6611FC0EB7800D6E69B /* DBUserBaseClient.h in Headers */, - F292F2C51FC0EB7600D6E69B /* DBTEAMNamespaceMetadata.h in Headers */, - F292F4771FC0EB7700D6E69B /* DBTEAMLOGMemberStatus.h in Headers */, - F292F0111FC0EB7500D6E69B /* DBFILESThumbnailError.h in Headers */, - F292F2731FC0EB7600D6E69B /* DBTEAMListTeamAppsArg.h in Headers */, - F292F3111FC0EB7600D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */, - F292F1591FC0EB7500D6E69B /* DBSHARINGPendingUploadMode.h in Headers */, - F292F4371FC0EB7700D6E69B /* DBTEAMLOGGroupAddMemberDetails.h in Headers */, - F292F11B1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueError.h in Headers */, - F292F13D1FC0EB7500D6E69B /* DBSHARINGListSharedLinksError.h in Headers */, - F292F5A11FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */, - F292F4091FC0EB7700D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h in Headers */, - F292EF9D1FC0EB7500D6E69B /* DBFILESGetMetadataError.h in Headers */, - F292F56F1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMountDetails.h in Headers */, - F292EFA91FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResult.h in Headers */, - F292F0591FC0EB7500D6E69B /* DBPAPERImportFormat.h in Headers */, - F292F2351FC0EB7600D6E69B /* DBTEAMGroupSelectorError.h in Headers */, - F292F1471FC0EB7500D6E69B /* DBSHARINGMemberPolicy.h in Headers */, - F292F1871FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadataBase.h in Headers */, - F292F0D71FC0EB7500D6E69B /* DBSHARINGFolderLinkMetadata.h in Headers */, - F292F6231FC0EB7800D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */, - F292F2411FC0EB7600D6E69B /* DBTEAMGroupsListContinueError.h in Headers */, - F292F3771FC0EB7600D6E69B /* DBTEAMLOGCreateFolderDetails.h in Headers */, - F292F16B1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberError.h in Headers */, - F292F48F1FC0EB7700D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */, - F292F17B1FC0EB7600D6E69B /* DBSHARINGSharedFileMembers.h in Headers */, - F292EFFD1FC0EB7500D6E69B /* DBFILESSaveUrlResult.h in Headers */, - F292F1A11FC0EB7600D6E69B /* DBSHARINGSharePathError.h in Headers */, - F292F5751FC0EB7800D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */, - F292F2891FC0EB7600D6E69B /* DBTEAMMemberProfile.h in Headers */, - F292EFC31FC0EB7500D6E69B /* DBFILESListRevisionsArg.h in Headers */, - F292EF251FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */, - F292EF7D1FC0EB7500D6E69B /* DBFILESDeleteBatchResultEntry.h in Headers */, - F292EF211FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */, - F292F2931FC0EB7600D6E69B /* DBTEAMMembersDeactivateError.h in Headers */, - F292F3491FC0EB7600D6E69B /* DBTEAMLOGAccessMethodLogInfo.h in Headers */, - F292F05B1FC0EB7500D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */, - F292F3D91FC0EB7700D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */, - F292F4491FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */, - F292EF951FC0EB7500D6E69B /* DBFILESGetCopyReferenceArg.h in Headers */, - F292F1011FC0EB7500D6E69B /* DBSHARINGJobStatus.h in Headers */, - F292EF511FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestError.h in Headers */, - F292F15F1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipError.h in Headers */, - F292F13F1FC0EB7500D6E69B /* DBSHARINGListSharedLinksResult.h in Headers */, - F292F3B31FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */, - F292F1531FC0EB7500D6E69B /* DBSHARINGMountFolderError.h in Headers */, - F292F2671FC0EB7600D6E69B /* DBTEAMListMembersAppsArg.h in Headers */, - F292F6C11FC0EB7800D6E69B /* DBUSERSRouteObjects.h in Headers */, - F292F4D71FC0EB7700D6E69B /* DBTEAMLOGPaperDocRevertDetails.h in Headers */, - F292F5F11FC0EB7800D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */, - F292F27F1FC0EB7600D6E69B /* DBTEAMMemberAccess.h in Headers */, - F292F5BD1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */, - F292F4411FC0EB7700D6E69B /* DBTEAMLOGGroupDeleteDetails.h in Headers */, - F292F53F1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */, - F292F2F71FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveLaunch.h in Headers */, - F292F2371FC0EB7600D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */, - F292F0571FC0EB7500D6E69B /* DBPAPERFolderSubscriptionLevel.h in Headers */, - F292EFC71FC0EB7500D6E69B /* DBFILESListRevisionsMode.h in Headers */, - F292F2431FC0EB7600D6E69B /* DBTEAMGroupsListResult.h in Headers */, - F292F6A91FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.h in Headers */, - F292EFED1FC0EB7500D6E69B /* DBFILESRestoreArg.h in Headers */, - F292F26D1FC0EB7600D6E69B /* DBTEAMListMembersDevicesArg.h in Headers */, - F292F16F1FC0EB7500D6E69B /* DBSHARINGRequestedVisibility.h in Headers */, - F292F6391FC0EB7800D6E69B /* DBUSERSAccount.h in Headers */, - F292F0A31FC0EB7500D6E69B /* DBSHARINGAclUpdatePolicy.h in Headers */, - F292F3F11FC0EB7700D6E69B /* DBTEAMLOGFileMoveDetails.h in Headers */, - F292F3051FC0EB7600D6E69B /* DBTEAMTeamFolderListArg.h in Headers */, - F292F21D1FC0EB7600D6E69B /* DBTEAMGroupMembersAddArg.h in Headers */, - F292F5D31FC0EB7800D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */, - F292F0911FC0EB7500D6E69B /* DBPAPERRefPaperDoc.h in Headers */, - F292F5A31FC0EB7800D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */, - F292F6031FC0EB7800D6E69B /* DBTEAMLOGTwoAccountPolicy.h in Headers */, - F292EFD51FC0EB7500D6E69B /* DBFILESPreviewArg.h in Headers */, - F292EFF71FC0EB7500D6E69B /* DBFILESSaveUrlArg.h in Headers */, - F292EEE91FC0EB7400D6E69B /* DBCOMMONPathRootError.h in Headers */, - F292F2471FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueArg.h in Headers */, - F292F6351FC0EB7800D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */, - F292F0191FC0EB7500D6E69B /* DBFILESUploadErrorWithProperties.h in Headers */, - F292F1C11FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyError.h in Headers */, - F292F29B1FC0EB7600D6E69B /* DBTEAMMembersGetInfoItem.h in Headers */, - F292F3FB1FC0EB7700D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h in Headers */, 3C3C29761F7D758E00C54011 /* DBTransportBaseHostnameConfig.h in Headers */, + F2A2DBAF1E578C3F001D8449 /* DBOpenWithInfo-iOS.h in Headers */, F2AB345B1E89DEEE004F6379 /* DBAppClient.h in Headers */, F2C59AF81E9C2C9600E8D2E6 /* DBOAuthMobileManager-iOS.h in Headers */, F2A2DBAD1E578C3F001D8449 /* DBOfficialAppConnector-iOS.h in Headers */, @@ -5913,7 +11540,17 @@ F2A2CE9C1E562E7B001D8449 /* DBCustomTasks.h in Headers */, F2A2CEA61E5634DE001D8449 /* DBHandlerTypes.h in Headers */, F2D40D3A1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h in Headers */, + BF33F93224873F12001F4072 /* DBScopeRequest.h in Headers */, + BF33F94024874DED001F4072 /* DBOAuthResultCompletion.h in Headers */, F2AB0D8B1E666C96002617AB /* ObjectiveDropboxOfficialLib.h in Headers */, + BF474D38248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h in Headers */, + BF33F93E24874DED001F4072 /* DBOAuthTokenRequest.h in Headers */, + BF7E352B2488562F00DEDF84 /* DBLoadingViewController.h in Headers */, + BF33F93024873F12001F4072 /* DBOAuthConstants.h in Headers */, + BF6162C52491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h in Headers */, + BF33F93624873F12001F4072 /* DBOAuthUtils.h in Headers */, + BF33F92E24873F12001F4072 /* DBOAuthPKCESession.h in Headers */, + BF33F93924873F3E001F4072 /* DBScopeRequest+Protected.h in Headers */, F2C59AF51E9C033400E8D2E6 /* DBSDKSystem.h in Headers */, F2C59AFD1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h in Headers */, F2A2CE8C1E5628D3001D8449 /* DBClientsManager+Protected.h in Headers */, @@ -5925,6 +11562,10 @@ F2A2CE871E5628C1001D8449 /* DBTasksImpl.h in Headers */, F2A2CE8A1E5628CC001D8449 /* DBChunkInputStream.h in Headers */, F2A2CEA91E565678001D8449 /* DBTransportBaseClient+Internal.h in Headers */, + BFFFCE8424E741440084E238 /* DBURLSessionTask.h in Headers */, + BF46BE8724E7420000002735 /* DBGlobalErrorResponseHandler+Internal.h in Headers */, + BFFFCE8524E7414A0084E238 /* DBURLSessionTaskResponseBlockWrapper.h in Headers */, + BF46BE8924E7426A00002735 /* DBAccessTokenProvider+Internal.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -5932,992 +11573,2062 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - F292F6C21FC0EB7800D6E69B /* DBUSERSRouteObjects.h in Headers */, - F292F6BE1FC0EB7800D6E69B /* DBTEAMRouteObjects.h in Headers */, - F292F6BA1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.h in Headers */, - F292F6B61FC0EB7800D6E69B /* DBSHARINGRouteObjects.h in Headers */, - F292F6B21FC0EB7800D6E69B /* DBPAPERRouteObjects.h in Headers */, - F292F6AE1FC0EB7800D6E69B /* DBFILESRouteObjects.h in Headers */, - F292F6AA1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.h in Headers */, - F292F6A61FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.h in Headers */, - F292F6A21FC0EB7800D6E69B /* DBAUTHRouteObjects.h in Headers */, - F292F69E1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.h in Headers */, - F292F69A1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.h in Headers */, - F292F6961FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.h in Headers */, - F292F6921FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.h in Headers */, - F292F68E1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.h in Headers */, - F292F68A1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.h in Headers */, - F292F6861FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.h in Headers */, - F292F6821FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */, - F292F67E1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */, - F292F67A1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.h in Headers */, - F292F6761FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.h in Headers */, - F292F6721FC0EB7800D6E69B /* DBStoneValidators.h in Headers */, - F292F66E1FC0EB7800D6E69B /* DBStoneSerializers.h in Headers */, - F292F66A1FC0EB7800D6E69B /* DBStoneBase.h in Headers */, - F292F6681FC0EB7800D6E69B /* DBSerializableProtocol.h in Headers */, - F292F6661FC0EB7800D6E69B /* DBSDKImportsGenerated.h in Headers */, - F292F6621FC0EB7800D6E69B /* DBUserBaseClient.h in Headers */, - F292F65E1FC0EB7800D6E69B /* DBTeamBaseClient.h in Headers */, - F292F65A1FC0EB7800D6E69B /* DBAppBaseClient.h in Headers */, - F292F6581FC0EB7800D6E69B /* DBUSERSCOMMONAccountType.h in Headers */, - F292F6541FC0EB7800D6E69B /* DBUSERSTeamSpaceAllocation.h in Headers */, - F292F6521FC0EB7800D6E69B /* DBUSERSTeam.h in Headers */, - F292F6501FC0EB7800D6E69B /* DBUSERSSpaceUsage.h in Headers */, - F292F64E1FC0EB7800D6E69B /* DBUSERSSpaceAllocation.h in Headers */, - F292F64C1FC0EB7800D6E69B /* DBUSERSName.h in Headers */, - F292F64A1FC0EB7800D6E69B /* DBUSERSIndividualSpaceAllocation.h in Headers */, - F292F6481FC0EB7800D6E69B /* DBUSERSGetAccountError.h in Headers */, - F292F6461FC0EB7800D6E69B /* DBUSERSGetAccountBatchError.h in Headers */, - F292F6441FC0EB7800D6E69B /* DBUSERSGetAccountBatchArg.h in Headers */, - F292F6421FC0EB7800D6E69B /* DBUSERSGetAccountArg.h in Headers */, - F292F6401FC0EB7800D6E69B /* DBUSERSFullTeam.h in Headers */, - F292F63E1FC0EB7800D6E69B /* DBUSERSFullAccount.h in Headers */, - F292F63C1FC0EB7800D6E69B /* DBUSERSBasicAccount.h in Headers */, - F292F63A1FC0EB7800D6E69B /* DBUSERSAccount.h in Headers */, - F292F6361FC0EB7800D6E69B /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */, - F292F6341FC0EB7800D6E69B /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */, - F292F6321FC0EB7800D6E69B /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */, - F292F6301FC0EB7800D6E69B /* DBTEAMPOLICIESSsoPolicy.h in Headers */, - F292F62E1FC0EB7800D6E69B /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */, - F292F62C1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */, - F292F62A1FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */, - F292F6281FC0EB7800D6E69B /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */, - F292F6261FC0EB7800D6E69B /* DBTEAMPOLICIESRolloutMethod.h in Headers */, - F292F6241FC0EB7800D6E69B /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */, - F292F6221FC0EB7800D6E69B /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */, - F292F6201FC0EB7800D6E69B /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */, - F292F61E1FC0EB7800D6E69B /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */, - F292F61C1FC0EB7800D6E69B /* DBTEAMPOLICIESGroupCreation.h in Headers */, - F292F61A1FC0EB7800D6E69B /* DBTEAMPOLICIESEmmState.h in Headers */, - F292F6161FC0EB7800D6E69B /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */, - F292F6141FC0EB7800D6E69B /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */, - F292F6121FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */, - F292F6101FC0EB7800D6E69B /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */, - F292F60E1FC0EB7800D6E69B /* DBTEAMLOGWebSessionLogInfo.h in Headers */, - F292F60C1FC0EB7800D6E69B /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */, - F292F60A1FC0EB7800D6E69B /* DBTEAMLOGUserNameLogInfo.h in Headers */, - F292F6081FC0EB7800D6E69B /* DBTEAMLOGUserLogInfo.h in Headers */, - F292F6061FC0EB7800D6E69B /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */, - F292F6041FC0EB7800D6E69B /* DBTEAMLOGTwoAccountPolicy.h in Headers */, - F292F6021FC0EB7800D6E69B /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */, - F292F6001FC0EB7800D6E69B /* DBTEAMLOGTimeUnit.h in Headers */, - F292F5FE1FC0EB7800D6E69B /* DBTEAMLOGTfaResetDetails.h in Headers */, - F292F5FC1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */, - F292F5FA1FC0EB7800D6E69B /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */, - F292F5F81FC0EB7800D6E69B /* DBTEAMLOGTfaConfiguration.h in Headers */, - F292F5F61FC0EB7800D6E69B /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */, - F292F5F41FC0EB7800D6E69B /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */, - F292F5F21FC0EB7800D6E69B /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */, - F292F5F01FC0EB7800D6E69B /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */, - F292F5EE1FC0EB7800D6E69B /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */, - F292F5EC1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */, - F292F5EA1FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */, - F292F5E81FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */, - F292F5E61FC0EB7800D6E69B /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */, - F292F5E41FC0EB7800D6E69B /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */, - F292F5E21FC0EB7800D6E69B /* DBTEAMLOGTeamName.h in Headers */, - F292F5E01FC0EB7800D6E69B /* DBTEAMLOGTeamMergeToDetails.h in Headers */, - F292F5DE1FC0EB7800D6E69B /* DBTEAMLOGTeamMergeFromDetails.h in Headers */, - F292F5DC1FC0EB7800D6E69B /* DBTEAMLOGTeamMembershipType.h in Headers */, - F292F5DA1FC0EB7800D6E69B /* DBTEAMLOGTeamMemberLogInfo.h in Headers */, - F292F5D81FC0EB7800D6E69B /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */, - F292F5D61FC0EB7800D6E69B /* DBTEAMLOGTeamFolderStatus.h in Headers */, - F292F5D41FC0EB7800D6E69B /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */, - F292F5D21FC0EB7800D6E69B /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */, - F292F5D01FC0EB7800D6E69B /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */, - F292F5CE1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */, - F292F5CC1FC0EB7800D6E69B /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */, - F292F5CA1FC0EB7800D6E69B /* DBTEAMLOGTeamEvent.h in Headers */, - F292F5C81FC0EB7800D6E69B /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */, - F292F5C61FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */, - F292F5C41FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */, - F292F5C21FC0EB7800D6E69B /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */, - F292F5C01FC0EB7800D6E69B /* DBTEAMLOGSsoErrorDetails.h in Headers */, - F292F5BE1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */, - F292F5BC1FC0EB7800D6E69B /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */, - F292F5BA1FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */, - F292F5B81FC0EB7800D6E69B /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */, - F292F5B61FC0EB7800D6E69B /* DBTEAMLOGSsoChangeCertDetails.h in Headers */, - F292F5B41FC0EB7800D6E69B /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */, - F292F5B21FC0EB7800D6E69B /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */, - F292F5B01FC0EB7800D6E69B /* DBTEAMLOGSsoAddCertDetails.h in Headers */, - F292F5AE1FC0EB7800D6E69B /* DBTEAMLOGSpaceLimitsStatus.h in Headers */, - F292F5AC1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */, - F292F5AA1FC0EB7800D6E69B /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */, - F292F5A81FC0EB7800D6E69B /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */, - F292F5A61FC0EB7800D6E69B /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */, - F292F5A41FC0EB7800D6E69B /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */, - F292F5A21FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */, - F292F5A01FC0EB7800D6E69B /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */, - F292F59E1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h in Headers */, - F292F59C1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPublicDetails.h in Headers */, - F292F59A1FC0EB7800D6E69B /* DBTEAMLOGShmodelVisibilityPasswordDetails.h in Headers */, - F292F5981FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamViewDetails.h in Headers */, - F292F5961FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamShareDetails.h in Headers */, - F292F5941FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamDownloadDetails.h in Headers */, - F292F5921FC0EB7800D6E69B /* DBTEAMLOGShmodelTeamCopyDetails.h in Headers */, - F292F5901FC0EB7800D6E69B /* DBTEAMLOGShmodelSetExpirationDetails.h in Headers */, - F292F58E1FC0EB7800D6E69B /* DBTEAMLOGShmodelRemoveExpirationDetails.h in Headers */, - F292F58C1FC0EB7800D6E69B /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */, - F292F58A1FC0EB7800D6E69B /* DBTEAMLOGShmodelFbShareDetails.h in Headers */, - F292F5881FC0EB7800D6E69B /* DBTEAMLOGShmodelDisableDetails.h in Headers */, - F292F5861FC0EB7800D6E69B /* DBTEAMLOGShmodelCreateDetails.h in Headers */, - F292F5841FC0EB7800D6E69B /* DBTEAMLOGShmodelAppCreateDetails.h in Headers */, - F292F5821FC0EB7800D6E69B /* DBTEAMLOGSharingMemberPolicy.h in Headers */, - F292F5801FC0EB7800D6E69B /* DBTEAMLOGSharingLinkPolicy.h in Headers */, - F292F57E1FC0EB7800D6E69B /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */, - F292F57C1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */, - F292F57A1FC0EB7800D6E69B /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */, - F292F5781FC0EB7800D6E69B /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */, - F292F5761FC0EB7800D6E69B /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */, - F292F5741FC0EB7800D6E69B /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */, - F292F5721FC0EB7800D6E69B /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */, - F292F5701FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMountDetails.h in Headers */, - F292F56E1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMembershipManagementPolicy.h in Headers */, - F292F56C1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderMemberPolicy.h in Headers */, - F292F56A1FC0EB7800D6E69B /* DBTEAMLOGSharedFolderLinkPolicy.h in Headers */, - F292F5681FC0EB7800D6E69B /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */, - F292F5661FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h in Headers */, - F292F5641FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h in Headers */, - F292F5621FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */, - F292F5601FC0EB7800D6E69B /* DBTEAMLOGSharedFolderChangeConfidentialityDetails.h in Headers */, - F292F55E1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewerInfoPolicy.h in Headers */, - F292F55C1FC0EB7800D6E69B /* DBTEAMLOGSharedContentViewDetails.h in Headers */, - F292F55A1FC0EB7800D6E69B /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */, - F292F5581FC0EB7800D6E69B /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */, - F292F5561FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */, - F292F5541FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */, - F292F5521FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */, - F292F5501FC0EB7800D6E69B /* DBTEAMLOGSharedContentRemoveInviteeDetails.h in Headers */, - F292F54E1FC0EB7700D6E69B /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */, - F292F54C1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadsPolicy.h in Headers */, - F292F54A1FC0EB7700D6E69B /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */, - F292F5481FC0EB7700D6E69B /* DBTEAMLOGSharedContentCopyDetails.h in Headers */, - F292F5461FC0EB7700D6E69B /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */, - F292F5441FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */, - F292F5421FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */, - F292F5401FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */, - F292F53E1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */, - F292F53C1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */, - F292F53A1FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */, - F292F5381FC0EB7700D6E69B /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */, - F292F5361FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */, - F292F5341FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */, - F292F5321FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */, - F292F5301FC0EB7700D6E69B /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */, - F292F52E1FC0EB7700D6E69B /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */, - F292F52C1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */, - F292F52A1FC0EB7700D6E69B /* DBTEAMLOGSfTeamJoinDetails.h in Headers */, - F292F5281FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteDetails.h in Headers */, - F292F5261FC0EB7700D6E69B /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */, - F292F5241FC0EB7700D6E69B /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */, - F292F5221FC0EB7700D6E69B /* DBTEAMLOGSfTeamDeclineDetails.h in Headers */, - F292F5201FC0EB7700D6E69B /* DBTEAMLOGSfNestDetails.h in Headers */, - F292F51E1FC0EB7700D6E69B /* DBTEAMLOGSfInviteGroupDetails.h in Headers */, - F292F51C1FC0EB7700D6E69B /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */, - F292F51A1FC0EB7700D6E69B /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */, - F292F5181FC0EB7700D6E69B /* DBTEAMLOGSfAddGroupDetails.h in Headers */, - F292F5161FC0EB7700D6E69B /* DBTEAMLOGSessionLogInfo.h in Headers */, - F292F5141FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */, - F292F5121FC0EB7700D6E69B /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */, - F292F5101FC0EB7700D6E69B /* DBTEAMLOGResellerLogInfo.h in Headers */, - F292F50E1FC0EB7700D6E69B /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */, - F292F50C1FC0EB7700D6E69B /* DBTEAMLOGPlacementRestriction.h in Headers */, - F292F50A1FC0EB7700D6E69B /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */, - F292F5081FC0EB7700D6E69B /* DBTEAMLOGPathLogInfo.h in Headers */, - F292F5061FC0EB7700D6E69B /* DBTEAMLOGPasswordResetDetails.h in Headers */, - F292F5041FC0EB7700D6E69B /* DBTEAMLOGPasswordResetAllDetails.h in Headers */, - F292F5021FC0EB7700D6E69B /* DBTEAMLOGPasswordChangeDetails.h in Headers */, - F292F5001FC0EB7700D6E69B /* DBTEAMLOGParticipantLogInfo.h in Headers */, - F292F4FE1FC0EB7700D6E69B /* DBTEAMLOGPaperMemberPolicy.h in Headers */, - F292F4FC1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */, - F292F4FA1FC0EB7700D6E69B /* DBTEAMLOGPaperFolderLogInfo.h in Headers */, - F292F4F81FC0EB7700D6E69B /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */, - F292F4F61FC0EB7700D6E69B /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */, - F292F4F41FC0EB7700D6E69B /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */, - F292F4F21FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */, - F292F4F01FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */, - F292F4EE1FC0EB7700D6E69B /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */, - F292F4EC1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */, - F292F4EA1FC0EB7700D6E69B /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */, - F292F4E81FC0EB7700D6E69B /* DBTEAMLOGPaperDownloadFormat.h in Headers */, - F292F4E61FC0EB7700D6E69B /* DBTEAMLOGPaperDocViewDetails.h in Headers */, - F292F4E41FC0EB7700D6E69B /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */, - F292F4E21FC0EB7700D6E69B /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */, - F292F4E01FC0EB7700D6E69B /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */, - F292F4DE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */, - F292F4DC1FC0EB7700D6E69B /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */, - F292F4DA1FC0EB7700D6E69B /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */, - F292F4D81FC0EB7700D6E69B /* DBTEAMLOGPaperDocRevertDetails.h in Headers */, - F292F4D61FC0EB7700D6E69B /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */, - F292F4D41FC0EB7700D6E69B /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */, - F292F4D21FC0EB7700D6E69B /* DBTEAMLOGPaperDocMentionDetails.h in Headers */, - F292F4D01FC0EB7700D6E69B /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */, - F292F4CE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditDetails.h in Headers */, - F292F4CC1FC0EB7700D6E69B /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */, - F292F4CA1FC0EB7700D6E69B /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */, - F292F4C81FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */, - F292F4C61FC0EB7700D6E69B /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */, - F292F4C41FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */, - F292F4C21FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */, - F292F4C01FC0EB7700D6E69B /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */, - F292F4BE1FC0EB7700D6E69B /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */, - F292F4BC1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */, - F292F4BA1FC0EB7700D6E69B /* DBTEAMLOGPaperContentRenameDetails.h in Headers */, - F292F4B81FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */, - F292F4B61FC0EB7700D6E69B /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */, - F292F4B41FC0EB7700D6E69B /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */, - F292F4B21FC0EB7700D6E69B /* DBTEAMLOGPaperContentCreateDetails.h in Headers */, - F292F4B01FC0EB7700D6E69B /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */, - F292F4AE1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */, - F292F4AC1FC0EB7700D6E69B /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */, - F292F4AA1FC0EB7700D6E69B /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */, - F292F4A81FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */, - F292F4A61FC0EB7700D6E69B /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */, - F292F4A41FC0EB7700D6E69B /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */, - F292F4A21FC0EB7700D6E69B /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */, - F292F4A01FC0EB7700D6E69B /* DBTEAMLOGPaperAccessType.h in Headers */, - F292F49E1FC0EB7700D6E69B /* DBTEAMLOGOriginLogInfo.h in Headers */, - F292F49C1FC0EB7700D6E69B /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */, - F292F49A1FC0EB7700D6E69B /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */, - F292F4981FC0EB7700D6E69B /* DBTEAMLOGNoteSharedDetails.h in Headers */, - F292F4961FC0EB7700D6E69B /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */, - F292F4941FC0EB7700D6E69B /* DBTEAMLOGNoteAclLinkDetails.h in Headers */, - F292F4921FC0EB7700D6E69B /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */, - F292F4901FC0EB7700D6E69B /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */, - F292F48E1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlPolicy.h in Headers */, - F292F48C1FC0EB7700D6E69B /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */, - F292F48A1FC0EB7700D6E69B /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */, - F292F4881FC0EB7700D6E69B /* DBTEAMLOGMobileSessionLogInfo.h in Headers */, - F292F4861FC0EB7700D6E69B /* DBTEAMLOGMissingDetails.h in Headers */, - F292F4841FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */, - F292F4821FC0EB7700D6E69B /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */, - F292F4801FC0EB7700D6E69B /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */, - F292F47E1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */, - F292F47C1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */, - F292F47A1FC0EB7700D6E69B /* DBTEAMLOGMemberSuggestDetails.h in Headers */, - F292F4781FC0EB7700D6E69B /* DBTEAMLOGMemberStatus.h in Headers */, - F292F4761FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */, - F292F4741FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */, - F292F4721FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */, - F292F4701FC0EB7700D6E69B /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */, - F292F46E1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsPolicy.h in Headers */, - F292F46C1FC0EB7700D6E69B /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */, - F292F46A1FC0EB7700D6E69B /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */, - F292F4681FC0EB7700D6E69B /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */, - F292F4661FC0EB7700D6E69B /* DBTEAMLOGMemberChangeNameDetails.h in Headers */, - F292F4641FC0EB7700D6E69B /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */, - F292F4621FC0EB7700D6E69B /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */, - F292F4601FC0EB7700D6E69B /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */, - F292F45E1FC0EB7700D6E69B /* DBTEAMLOGMemberAddNameDetails.h in Headers */, - F292F45C1FC0EB7700D6E69B /* DBTEAMLOGLogoutDetails.h in Headers */, - F292F45A1FC0EB7700D6E69B /* DBTEAMLOGLoginSuccessDetails.h in Headers */, - F292F4581FC0EB7700D6E69B /* DBTEAMLOGLoginMethod.h in Headers */, - F292F4561FC0EB7700D6E69B /* DBTEAMLOGLoginFailDetails.h in Headers */, - F292F4541FC0EB7700D6E69B /* DBTEAMLOGLinkAudience.h in Headers */, - F292F4521FC0EB7700D6E69B /* DBTEAMLOGJoinTeamDetails.h in Headers */, - F292F4501FC0EB7700D6E69B /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */, - F292F44E1FC0EB7700D6E69B /* DBTEAMLOGGroupRenameDetails.h in Headers */, - F292F44C1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */, - F292F44A1FC0EB7700D6E69B /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */, - F292F4481FC0EB7700D6E69B /* DBTEAMLOGGroupMovedDetails.h in Headers */, - F292F4461FC0EB7700D6E69B /* DBTEAMLOGGroupLogInfo.h in Headers */, - F292F4441FC0EB7700D6E69B /* DBTEAMLOGGroupJoinPolicy.h in Headers */, - F292F4421FC0EB7700D6E69B /* DBTEAMLOGGroupDeleteDetails.h in Headers */, - F292F4401FC0EB7700D6E69B /* DBTEAMLOGGroupCreateDetails.h in Headers */, - F292F43E1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */, - F292F43C1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */, - F292F43A1FC0EB7700D6E69B /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */, - F292F4381FC0EB7700D6E69B /* DBTEAMLOGGroupAddMemberDetails.h in Headers */, - F292F4361FC0EB7700D6E69B /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */, - F292F4341FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoPolicy.h in Headers */, - F292F4321FC0EB7700D6E69B /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */, - F292F4301FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsResult.h in Headers */, - F292F42E1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsError.h in Headers */, - F292F42C1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */, - F292F42A1FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */, - F292F4281FC0EB7700D6E69B /* DBTEAMLOGGetTeamEventsArg.h in Headers */, - F292F4261FC0EB7700D6E69B /* DBTEAMLOGGeoLocationLogInfo.h in Headers */, - F292F4241FC0EB7700D6E69B /* DBTEAMLOGFolderLogInfo.h in Headers */, - F292F4221FC0EB7700D6E69B /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */, - F292F4201FC0EB7700D6E69B /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */, - F292F41E1FC0EB7700D6E69B /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */, - F292F41C1FC0EB7700D6E69B /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */, - F292F41A1FC0EB7700D6E69B /* DBTEAMLOGFileRevertDetails.h in Headers */, - F292F4181FC0EB7700D6E69B /* DBTEAMLOGFileRestoreDetails.h in Headers */, - F292F4161FC0EB7700D6E69B /* DBTEAMLOGFileResolveCommentDetails.h in Headers */, - F292F4141FC0EB7700D6E69B /* DBTEAMLOGFileRequestsPolicy.h in Headers */, - F292F4121FC0EB7700D6E69B /* DBTEAMLOGFileRequestSendDetails.h in Headers */, - F292F4101FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */, - F292F40E1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */, - F292F40C1FC0EB7700D6E69B /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */, - F292F40A1FC0EB7700D6E69B /* DBTEAMLOGFileRequestRemoveDeadlineDetails.h in Headers */, - F292F4081FC0EB7700D6E69B /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */, - F292F4061FC0EB7700D6E69B /* DBTEAMLOGFileRequestDetails.h in Headers */, - F292F4041FC0EB7700D6E69B /* DBTEAMLOGFileRequestCreateDetails.h in Headers */, - F292F4021FC0EB7700D6E69B /* DBTEAMLOGFileRequestCloseDetails.h in Headers */, - F292F4001FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeFolderDetails.h in Headers */, - F292F3FE1FC0EB7700D6E69B /* DBTEAMLOGFileRequestChangeDetails.h in Headers */, - F292F3FC1FC0EB7700D6E69B /* DBTEAMLOGFileRequestAddDeadlineDetails.h in Headers */, - F292F3FA1FC0EB7700D6E69B /* DBTEAMLOGFileRenameDetails.h in Headers */, - F292F3F81FC0EB7700D6E69B /* DBTEAMLOGFilePreviewDetails.h in Headers */, - F292F3F61FC0EB7700D6E69B /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */, - F292F3F41FC0EB7700D6E69B /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */, - F292F3F21FC0EB7700D6E69B /* DBTEAMLOGFileMoveDetails.h in Headers */, - F292F3F01FC0EB7700D6E69B /* DBTEAMLOGFileLogInfo.h in Headers */, - F292F3EE1FC0EB7700D6E69B /* DBTEAMLOGFileLikeCommentDetails.h in Headers */, - F292F3EC1FC0EB7700D6E69B /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */, - F292F3EA1FC0EB7700D6E69B /* DBTEAMLOGFileEditDetails.h in Headers */, - F292F3E81FC0EB7700D6E69B /* DBTEAMLOGFileDownloadDetails.h in Headers */, - F292F3E61FC0EB7700D6E69B /* DBTEAMLOGFileDeleteDetails.h in Headers */, - F292F3E41FC0EB7700D6E69B /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */, - F292F3E21FC0EB7700D6E69B /* DBTEAMLOGFileCopyDetails.h in Headers */, - F292F3E01FC0EB7700D6E69B /* DBTEAMLOGFileCommentsPolicy.h in Headers */, - F292F3DE1FC0EB7700D6E69B /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */, - F292F3DC1FC0EB7700D6E69B /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */, - F292F3DA1FC0EB7700D6E69B /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */, - F292F3D81FC0EB7700D6E69B /* DBTEAMLOGFileAddDetails.h in Headers */, - F292F3D61FC0EB7700D6E69B /* DBTEAMLOGFileAddCommentDetails.h in Headers */, - F292F3D41FC0EB7700D6E69B /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */, - F292F3D21FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */, - F292F3D01FC0EB7700D6E69B /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */, - F292F3CE1FC0EB7700D6E69B /* DBTEAMLOGEventType.h in Headers */, - F292F3CC1FC0EB7700D6E69B /* DBTEAMLOGEventDetails.h in Headers */, - F292F3CA1FC0EB7700D6E69B /* DBTEAMLOGEventCategory.h in Headers */, - F292F3C81FC0EB7700D6E69B /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */, - F292F3C61FC0EB7700D6E69B /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */, - F292F3C41FC0EB7700D6E69B /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */, - F292F3C21FC0EB7700D6E69B /* DBTEAMLOGEmmErrorDetails.h in Headers */, - F292F3C01FC0EB7700D6E69B /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */, - F292F3BE1FC0EB7700D6E69B /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */, - F292F3BC1FC0EB7700D6E69B /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */, - F292F3BA1FC0EB7700D6E69B /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */, - F292F3B81FC0EB7700D6E69B /* DBTEAMLOGDurationLogInfo.h in Headers */, - F292F3B61FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */, - F292F3B41FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */, - F292F3B21FC0EB7700D6E69B /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */, - F292F3B01FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */, - F292F3AE1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */, - F292F3AC1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */, - F292F3AA1FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */, - F292F3A81FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */, - F292F3A61FC0EB7700D6E69B /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */, - F292F3A41FC0EB7700D6E69B /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */, - F292F3A21FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */, - F292F3A01FC0EB7700D6E69B /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */, - F292F39E1FC0EB7700D6E69B /* DBTEAMLOGDeviceType.h in Headers */, - F292F39C1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */, - F292F39A1FC0EB7700D6E69B /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */, - F292F3981FC0EB7700D6E69B /* DBTEAMLOGDeviceLogInfo.h in Headers */, - F292F3961FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */, - F292F3941FC0EB7700D6E69B /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */, - F292F3921FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */, - F292F3901FC0EB7700D6E69B /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */, - F292F38E1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */, - F292F38C1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */, - F292F38A1FC0EB7700D6E69B /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */, - F292F3881FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */, - F292F3861FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */, - F292F3841FC0EB7700D6E69B /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */, - F292F3821FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */, - F292F3801FC0EB7600D6E69B /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */, - F292F37E1FC0EB7600D6E69B /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */, - F292F37C1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */, - F292F37A1FC0EB7600D6E69B /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */, - F292F3781FC0EB7600D6E69B /* DBTEAMLOGCreateFolderDetails.h in Headers */, - F292F3761FC0EB7600D6E69B /* DBTEAMLOGContextLogInfo.h in Headers */, - F292F3741FC0EB7600D6E69B /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */, - F292F3721FC0EB7600D6E69B /* DBTEAMLOGConfidentiality.h in Headers */, - F292F3701FC0EB7600D6E69B /* DBTEAMLOGCollectionShareDetails.h in Headers */, - F292F36E1FC0EB7600D6E69B /* DBTEAMLOGCertificate.h in Headers */, - F292F36C1FC0EB7600D6E69B /* DBTEAMLOGAssetLogInfo.h in Headers */, - F292F36A1FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */, - F292F3681FC0EB7600D6E69B /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */, - F292F3661FC0EB7600D6E69B /* DBTEAMLOGAppLogInfo.h in Headers */, - F292F3641FC0EB7600D6E69B /* DBTEAMLOGAppLinkUserDetails.h in Headers */, - F292F3621FC0EB7600D6E69B /* DBTEAMLOGAppLinkTeamDetails.h in Headers */, - F292F3601FC0EB7600D6E69B /* DBTEAMLOGApiSessionLogInfo.h in Headers */, - F292F35E1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */, - F292F35C1FC0EB7600D6E69B /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */, - F292F35A1FC0EB7600D6E69B /* DBTEAMLOGAdminRole.h in Headers */, - F292F3581FC0EB7600D6E69B /* DBTEAMLOGActorLogInfo.h in Headers */, - F292F3561FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */, - F292F3541FC0EB7600D6E69B /* DBTEAMLOGAccountCapturePolicy.h in Headers */, - F292F3521FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */, - F292F3501FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */, - F292F34E1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */, - F292F34C1FC0EB7600D6E69B /* DBTEAMLOGAccountCaptureAvailability.h in Headers */, - F292F34A1FC0EB7600D6E69B /* DBTEAMLOGAccessMethodLogInfo.h in Headers */, - F292F3461FC0EB7600D6E69B /* DBTEAMCOMMONTimeRange.h in Headers */, - F292F3441FC0EB7600D6E69B /* DBTEAMCOMMONGroupType.h in Headers */, - F292F3421FC0EB7600D6E69B /* DBTEAMCOMMONGroupSummary.h in Headers */, - F292F3401FC0EB7600D6E69B /* DBTEAMCOMMONGroupManagementType.h in Headers */, - F292F33C1FC0EB7600D6E69B /* DBTEAMUsersSelectorArg.h in Headers */, - F292F33A1FC0EB7600D6E69B /* DBTEAMUserSelectorError.h in Headers */, - F292F3381FC0EB7600D6E69B /* DBTEAMUserSelectorArg.h in Headers */, - F292F3361FC0EB7600D6E69B /* DBTEAMUserCustomQuotaResult.h in Headers */, - F292F3341FC0EB7600D6E69B /* DBTEAMUserCustomQuotaArg.h in Headers */, - F292F3321FC0EB7600D6E69B /* DBTEAMUploadApiRateLimitValue.h in Headers */, - F292F3301FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */, - F292F32E1FC0EB7600D6E69B /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */, - F292F32C1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListResult.h in Headers */, - F292F32A1FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueError.h in Headers */, - F292F3281FC0EB7600D6E69B /* DBTEAMTeamNamespacesListContinueArg.h in Headers */, - F292F3261FC0EB7600D6E69B /* DBTEAMTeamNamespacesListArg.h in Headers */, - F292F3241FC0EB7600D6E69B /* DBTEAMTeamMemberStatus.h in Headers */, - F292F3221FC0EB7600D6E69B /* DBTEAMTeamMembershipType.h in Headers */, - F292F3201FC0EB7600D6E69B /* DBTEAMTeamMemberProfile.h in Headers */, - F292F31E1FC0EB7600D6E69B /* DBTEAMTeamMemberInfo.h in Headers */, - F292F31C1FC0EB7600D6E69B /* DBTEAMTeamGetInfoResult.h in Headers */, - F292F31A1FC0EB7600D6E69B /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */, - F292F3181FC0EB7600D6E69B /* DBTEAMTeamFolderStatus.h in Headers */, - F292F3161FC0EB7600D6E69B /* DBTEAMTeamFolderRenameError.h in Headers */, - F292F3141FC0EB7600D6E69B /* DBTEAMTeamFolderRenameArg.h in Headers */, - F292F3121FC0EB7600D6E69B /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */, - F292F3101FC0EB7600D6E69B /* DBTEAMTeamFolderMetadata.h in Headers */, - F292F30E1FC0EB7600D6E69B /* DBTEAMTeamFolderListResult.h in Headers */, - F292F30C1FC0EB7600D6E69B /* DBTEAMTeamFolderListError.h in Headers */, - F292F30A1FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueError.h in Headers */, - F292F3081FC0EB7600D6E69B /* DBTEAMTeamFolderListContinueArg.h in Headers */, - F292F3061FC0EB7600D6E69B /* DBTEAMTeamFolderListArg.h in Headers */, - F292F3041FC0EB7600D6E69B /* DBTEAMTeamFolderInvalidStatusError.h in Headers */, - F292F3021FC0EB7600D6E69B /* DBTEAMTeamFolderIdListArg.h in Headers */, - F292F3001FC0EB7600D6E69B /* DBTEAMTeamFolderIdArg.h in Headers */, - F292F2FE1FC0EB7600D6E69B /* DBTEAMTeamFolderGetInfoItem.h in Headers */, - F292F2FC1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateError.h in Headers */, - F292F2FA1FC0EB7600D6E69B /* DBTEAMTeamFolderCreateArg.h in Headers */, - F292F2F81FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveLaunch.h in Headers */, - F292F2F61FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */, - F292F2F41FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveError.h in Headers */, - F292F2F21FC0EB7600D6E69B /* DBTEAMTeamFolderArchiveArg.h in Headers */, - F292F2F01FC0EB7600D6E69B /* DBTEAMTeamFolderActivateError.h in Headers */, - F292F2EE1FC0EB7600D6E69B /* DBTEAMTeamFolderAccessError.h in Headers */, - F292F2EC1FC0EB7600D6E69B /* DBTEAMStorageBucket.h in Headers */, - F292F2EA1FC0EB7600D6E69B /* DBTEAMSetCustomQuotaError.h in Headers */, - F292F2E81FC0EB7600D6E69B /* DBTEAMSetCustomQuotaArg.h in Headers */, - F292F2E61FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppStatus.h in Headers */, - F292F2E41FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppError.h in Headers */, - F292F2E21FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */, - F292F2E01FC0EB7600D6E69B /* DBTEAMRevokeLinkedAppBatchError.h in Headers */, - F292F2DE1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */, - F292F2DC1FC0EB7600D6E69B /* DBTEAMRevokeLinkedApiAppArg.h in Headers */, - F292F2DA1FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionStatus.h in Headers */, - F292F2D81FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionError.h in Headers */, - F292F2D61FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */, - F292F2D41FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */, - F292F2D21FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */, - F292F2D01FC0EB7600D6E69B /* DBTEAMRevokeDeviceSessionArg.h in Headers */, - F292F2CE1FC0EB7600D6E69B /* DBTEAMRevokeDesktopClientArg.h in Headers */, - F292F2CC1FC0EB7600D6E69B /* DBTEAMRemovedStatus.h in Headers */, - F292F2CA1FC0EB7600D6E69B /* DBTEAMRemoveCustomQuotaResult.h in Headers */, - F292F2C81FC0EB7600D6E69B /* DBTEAMNamespaceType.h in Headers */, - F292F2C61FC0EB7600D6E69B /* DBTEAMNamespaceMetadata.h in Headers */, - F292F2C41FC0EB7600D6E69B /* DBTEAMMobileClientSession.h in Headers */, - F292F2C21FC0EB7600D6E69B /* DBTEAMMobileClientPlatform.h in Headers */, - F292F2C01FC0EB7600D6E69B /* DBTEAMMembersUnsuspendError.h in Headers */, - F292F2BE1FC0EB7600D6E69B /* DBTEAMMembersUnsuspendArg.h in Headers */, - F292F2BC1FC0EB7600D6E69B /* DBTEAMMembersSuspendError.h in Headers */, - F292F2BA1FC0EB7600D6E69B /* DBTEAMMembersSetProfileError.h in Headers */, - F292F2B81FC0EB7600D6E69B /* DBTEAMMembersSetProfileArg.h in Headers */, - F292F2B61FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsResult.h in Headers */, - F292F2B41FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsError.h in Headers */, - F292F2B21FC0EB7600D6E69B /* DBTEAMMembersSetPermissionsArg.h in Headers */, - F292F2B01FC0EB7600D6E69B /* DBTEAMMembersSendWelcomeError.h in Headers */, - F292F2AE1FC0EB7600D6E69B /* DBTEAMMembersRemoveError.h in Headers */, - F292F2AC1FC0EB7600D6E69B /* DBTEAMMembersRemoveArg.h in Headers */, - F292F2AA1FC0EB7600D6E69B /* DBTEAMMembersRecoverError.h in Headers */, - F292F2A81FC0EB7600D6E69B /* DBTEAMMembersRecoverArg.h in Headers */, - F292F2A61FC0EB7600D6E69B /* DBTEAMMembersListResult.h in Headers */, - F292F2A41FC0EB7600D6E69B /* DBTEAMMembersListError.h in Headers */, - F292F2A21FC0EB7600D6E69B /* DBTEAMMembersListContinueError.h in Headers */, - F292F2A01FC0EB7600D6E69B /* DBTEAMMembersListContinueArg.h in Headers */, - F292F29E1FC0EB7600D6E69B /* DBTEAMMembersListArg.h in Headers */, - F292F29C1FC0EB7600D6E69B /* DBTEAMMembersGetInfoItem.h in Headers */, - F292F29A1FC0EB7600D6E69B /* DBTEAMMembersGetInfoError.h in Headers */, - F292F2981FC0EB7600D6E69B /* DBTEAMMembersGetInfoArgs.h in Headers */, - F292F2961FC0EB7600D6E69B /* DBTEAMMemberSelectorError.h in Headers */, - F292F2941FC0EB7600D6E69B /* DBTEAMMembersDeactivateError.h in Headers */, - F292F2921FC0EB7600D6E69B /* DBTEAMMembersDeactivateArg.h in Headers */, - F292F2901FC0EB7600D6E69B /* DBTEAMMembersAddLaunch.h in Headers */, - F292F28E1FC0EB7600D6E69B /* DBTEAMMembersAddJobStatus.h in Headers */, - F292F28C1FC0EB7600D6E69B /* DBTEAMMembersAddArg.h in Headers */, - F292F28A1FC0EB7600D6E69B /* DBTEAMMemberProfile.h in Headers */, - F292F2881FC0EB7600D6E69B /* DBTEAMMemberLinkedApps.h in Headers */, - F292F2861FC0EB7600D6E69B /* DBTEAMMemberDevices.h in Headers */, - F292F2841FC0EB7600D6E69B /* DBTEAMMemberAddResult.h in Headers */, - F292F2821FC0EB7600D6E69B /* DBTEAMMemberAddArg.h in Headers */, - F292F2801FC0EB7600D6E69B /* DBTEAMMemberAccess.h in Headers */, - F292F27E1FC0EB7600D6E69B /* DBTEAMListTeamDevicesResult.h in Headers */, - F292F27C1FC0EB7600D6E69B /* DBTEAMListTeamDevicesError.h in Headers */, - F292F27A1FC0EB7600D6E69B /* DBTEAMListTeamDevicesArg.h in Headers */, - F292F2781FC0EB7600D6E69B /* DBTEAMListTeamAppsResult.h in Headers */, - F292F2761FC0EB7600D6E69B /* DBTEAMListTeamAppsError.h in Headers */, - F292F2741FC0EB7600D6E69B /* DBTEAMListTeamAppsArg.h in Headers */, - F292F2721FC0EB7600D6E69B /* DBTEAMListMembersDevicesResult.h in Headers */, - F292F2701FC0EB7600D6E69B /* DBTEAMListMembersDevicesError.h in Headers */, - F292F26E1FC0EB7600D6E69B /* DBTEAMListMembersDevicesArg.h in Headers */, - F292F26C1FC0EB7600D6E69B /* DBTEAMListMembersAppsResult.h in Headers */, - F292F26A1FC0EB7600D6E69B /* DBTEAMListMembersAppsError.h in Headers */, - F292F2681FC0EB7600D6E69B /* DBTEAMListMembersAppsArg.h in Headers */, - F292F2661FC0EB7600D6E69B /* DBTEAMListMemberDevicesResult.h in Headers */, - F292F2641FC0EB7600D6E69B /* DBTEAMListMemberDevicesError.h in Headers */, - F292F2621FC0EB7600D6E69B /* DBTEAMListMemberDevicesArg.h in Headers */, - F292F2601FC0EB7600D6E69B /* DBTEAMListMemberAppsResult.h in Headers */, - F292F25E1FC0EB7600D6E69B /* DBTEAMListMemberAppsError.h in Headers */, - F292F25C1FC0EB7600D6E69B /* DBTEAMListMemberAppsArg.h in Headers */, - F292F25A1FC0EB7600D6E69B /* DBTEAMIncludeMembersArg.h in Headers */, - F292F2581FC0EB7600D6E69B /* DBTEAMHasTeamSharedDropboxValue.h in Headers */, - F292F2561FC0EB7600D6E69B /* DBTEAMHasTeamFileEventsValue.h in Headers */, - F292F2541FC0EB7600D6E69B /* DBTEAMGroupUpdateError.h in Headers */, - F292F2521FC0EB7600D6E69B /* DBTEAMGroupUpdateArgs.h in Headers */, - F292F2501FC0EB7600D6E69B /* DBTEAMGroupsSelector.h in Headers */, - F292F24E1FC0EB7600D6E69B /* DBTEAMGroupsPollError.h in Headers */, - F292F24C1FC0EB7600D6E69B /* DBTEAMGroupsMembersListResult.h in Headers */, - F292F24A1FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueError.h in Headers */, - F292F2481FC0EB7600D6E69B /* DBTEAMGroupsMembersListContinueArg.h in Headers */, - F292F2461FC0EB7600D6E69B /* DBTEAMGroupsMembersListArg.h in Headers */, - F292F2441FC0EB7600D6E69B /* DBTEAMGroupsListResult.h in Headers */, - F292F2421FC0EB7600D6E69B /* DBTEAMGroupsListContinueError.h in Headers */, - F292F2401FC0EB7600D6E69B /* DBTEAMGroupsListContinueArg.h in Headers */, - F292F23E1FC0EB7600D6E69B /* DBTEAMGroupsListArg.h in Headers */, - F292F23C1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoItem.h in Headers */, - F292F23A1FC0EB7600D6E69B /* DBTEAMGroupsGetInfoError.h in Headers */, - F292F2381FC0EB7600D6E69B /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */, - F292F2361FC0EB7600D6E69B /* DBTEAMGroupSelectorError.h in Headers */, - F292F2341FC0EB7600D6E69B /* DBTEAMGroupSelector.h in Headers */, - F292F2321FC0EB7600D6E69B /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */, - F292F2301FC0EB7600D6E69B /* DBTEAMGroupMembersSelectorError.h in Headers */, - F292F22E1FC0EB7600D6E69B /* DBTEAMGroupMembersSelector.h in Headers */, - F292F22C1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveError.h in Headers */, - F292F22A1FC0EB7600D6E69B /* DBTEAMGroupMembersRemoveArg.h in Headers */, - F292F2281FC0EB7600D6E69B /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */, - F292F2261FC0EB7600D6E69B /* DBTEAMGroupMemberSelectorError.h in Headers */, - F292F2241FC0EB7600D6E69B /* DBTEAMGroupMemberSelector.h in Headers */, - F292F2221FC0EB7600D6E69B /* DBTEAMGroupMembersChangeResult.h in Headers */, - F292F2201FC0EB7600D6E69B /* DBTEAMGroupMembersAddError.h in Headers */, - F292F21E1FC0EB7600D6E69B /* DBTEAMGroupMembersAddArg.h in Headers */, - F292F21C1FC0EB7600D6E69B /* DBTEAMGroupMemberInfo.h in Headers */, - F292F21A1FC0EB7600D6E69B /* DBTEAMGroupFullInfo.h in Headers */, - F292F2181FC0EB7600D6E69B /* DBTEAMGroupDeleteError.h in Headers */, - F292F2161FC0EB7600D6E69B /* DBTEAMGroupCreateError.h in Headers */, - F292F2141FC0EB7600D6E69B /* DBTEAMGroupCreateArg.h in Headers */, - F292F2121FC0EB7600D6E69B /* DBTEAMGroupAccessType.h in Headers */, - F292F2101FC0EB7600D6E69B /* DBTEAMGetStorageReport.h in Headers */, - F292F20E1FC0EB7600D6E69B /* DBTEAMGetMembershipReport.h in Headers */, - F292F20C1FC0EB7600D6E69B /* DBTEAMGetDevicesReport.h in Headers */, - F292F20A1FC0EB7600D6E69B /* DBTEAMGetActivityReport.h in Headers */, - F292F2081FC0EB7600D6E69B /* DBTEAMFeatureValue.h in Headers */, - F292F2061FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */, - F292F2041FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchError.h in Headers */, - F292F2021FC0EB7600D6E69B /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */, - F292F2001FC0EB7600D6E69B /* DBTEAMFeature.h in Headers */, - F292F1FE1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateStatus.h in Headers */, - F292F1FC1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateResult.h in Headers */, - F292F1FA1FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateError.h in Headers */, - F292F1F81FC0EB7600D6E69B /* DBTEAMExcludedUsersUpdateArg.h in Headers */, - F292F1F61FC0EB7600D6E69B /* DBTEAMExcludedUsersListResult.h in Headers */, - F292F1F41FC0EB7600D6E69B /* DBTEAMExcludedUsersListError.h in Headers */, - F292F1F21FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueError.h in Headers */, - F292F1F01FC0EB7600D6E69B /* DBTEAMExcludedUsersListContinueArg.h in Headers */, - F292F1EE1FC0EB7600D6E69B /* DBTEAMExcludedUsersListArg.h in Headers */, - F292F1EC1FC0EB7600D6E69B /* DBTEAMDeviceSessionArg.h in Headers */, - F292F1EA1FC0EB7600D6E69B /* DBTEAMDeviceSession.h in Headers */, - F292F1E81FC0EB7600D6E69B /* DBTEAMDevicesActive.h in Headers */, - F292F1E61FC0EB7600D6E69B /* DBTEAMDesktopPlatform.h in Headers */, - F292F1E41FC0EB7600D6E69B /* DBTEAMDesktopClientSession.h in Headers */, - F292F1E21FC0EB7600D6E69B /* DBTEAMDateRangeError.h in Headers */, - F292F1E01FC0EB7600D6E69B /* DBTEAMDateRange.h in Headers */, - F292F1DE1FC0EB7600D6E69B /* DBTEAMCustomQuotaUsersArg.h in Headers */, - F292F1DC1FC0EB7600D6E69B /* DBTEAMCustomQuotaResult.h in Headers */, - F292F1DA1FC0EB7600D6E69B /* DBTEAMCustomQuotaError.h in Headers */, - F292F1D81FC0EB7600D6E69B /* DBTEAMBaseTeamFolderError.h in Headers */, - F292F1D61FC0EB7600D6E69B /* DBTEAMBaseDfbReport.h in Headers */, - F292F1D41FC0EB7600D6E69B /* DBTEAMApiApp.h in Headers */, - F292F1D21FC0EB7600D6E69B /* DBTEAMAdminTier.h in Headers */, - F292F1D01FC0EB7600D6E69B /* DBTEAMActiveWebSession.h in Headers */, - F292F1CC1FC0EB7600D6E69B /* DBSHARINGVisibility.h in Headers */, - F292F1CA1FC0EB7600D6E69B /* DBSHARINGViewerInfoPolicy.h in Headers */, - F292F1C81FC0EB7600D6E69B /* DBSHARINGUserMembershipInfo.h in Headers */, - F292F1C61FC0EB7600D6E69B /* DBSHARINGUserInfo.h in Headers */, - F292F1C41FC0EB7600D6E69B /* DBSHARINGUserFileMembershipInfo.h in Headers */, - F292F1C21FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyError.h in Headers */, - F292F1C01FC0EB7600D6E69B /* DBSHARINGUpdateFolderPolicyArg.h in Headers */, - F292F1BE1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberError.h in Headers */, - F292F1BC1FC0EB7600D6E69B /* DBSHARINGUpdateFolderMemberArg.h in Headers */, - F292F1BA1FC0EB7600D6E69B /* DBSHARINGUpdateFileMemberArgs.h in Headers */, - F292F1B81FC0EB7600D6E69B /* DBSHARINGUnshareFolderError.h in Headers */, - F292F1B61FC0EB7600D6E69B /* DBSHARINGUnshareFolderArg.h in Headers */, - F292F1B41FC0EB7600D6E69B /* DBSHARINGUnshareFileError.h in Headers */, - F292F1B21FC0EB7600D6E69B /* DBSHARINGUnshareFileArg.h in Headers */, - F292F1B01FC0EB7600D6E69B /* DBSHARINGUnmountFolderError.h in Headers */, - F292F1AE1FC0EB7600D6E69B /* DBSHARINGUnmountFolderArg.h in Headers */, - F292F1AC1FC0EB7600D6E69B /* DBSHARINGTransferFolderError.h in Headers */, - F292F1AA1FC0EB7600D6E69B /* DBSHARINGTransferFolderArg.h in Headers */, - F292F1A81FC0EB7600D6E69B /* DBSHARINGTeamMemberInfo.h in Headers */, - F292F1A61FC0EB7600D6E69B /* DBSHARINGSharingUserError.h in Headers */, - F292F1A41FC0EB7600D6E69B /* DBSHARINGSharingFileAccessError.h in Headers */, - F292F1A21FC0EB7600D6E69B /* DBSHARINGSharePathError.h in Headers */, - F292F1A01FC0EB7600D6E69B /* DBSHARINGShareFolderLaunch.h in Headers */, - F292F19E1FC0EB7600D6E69B /* DBSHARINGShareFolderJobStatus.h in Headers */, - F292F19C1FC0EB7600D6E69B /* DBSHARINGShareFolderErrorBase.h in Headers */, - F292F19A1FC0EB7600D6E69B /* DBSHARINGShareFolderError.h in Headers */, - F292F1981FC0EB7600D6E69B /* DBSHARINGShareFolderArgBase.h in Headers */, - F292F1961FC0EB7600D6E69B /* DBSHARINGShareFolderArg.h in Headers */, - F292F1941FC0EB7600D6E69B /* DBSHARINGSharedLinkSettingsError.h in Headers */, - F292F1921FC0EB7600D6E69B /* DBSHARINGSharedLinkSettings.h in Headers */, - F292F1901FC0EB7600D6E69B /* DBSHARINGSharedLinkPolicy.h in Headers */, - F292F18E1FC0EB7600D6E69B /* DBSHARINGSharedLinkMetadata.h in Headers */, - F292F18C1FC0EB7600D6E69B /* DBSHARINGSharedLinkError.h in Headers */, - F292F18A1FC0EB7600D6E69B /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */, - F292F1881FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadataBase.h in Headers */, - F292F1861FC0EB7600D6E69B /* DBSHARINGSharedFolderMetadata.h in Headers */, - F292F1841FC0EB7600D6E69B /* DBSHARINGSharedFolderMembers.h in Headers */, - F292F1821FC0EB7600D6E69B /* DBSHARINGSharedFolderMemberError.h in Headers */, - F292F1801FC0EB7600D6E69B /* DBSHARINGSharedFolderAccessError.h in Headers */, - F292F17E1FC0EB7600D6E69B /* DBSHARINGSharedFileMetadata.h in Headers */, - F292F17C1FC0EB7600D6E69B /* DBSHARINGSharedFileMembers.h in Headers */, - F292F17A1FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */, - F292F1781FC0EB7600D6E69B /* DBSHARINGSharedContentLinkMetadata.h in Headers */, - F292F1761FC0EB7600D6E69B /* DBSHARINGRevokeSharedLinkError.h in Headers */, - F292F1741FC0EB7500D6E69B /* DBSHARINGRevokeSharedLinkArg.h in Headers */, - F292F1721FC0EB7500D6E69B /* DBSHARINGResolvedVisibility.h in Headers */, - F292F1701FC0EB7500D6E69B /* DBSHARINGRequestedVisibility.h in Headers */, - F292F16E1FC0EB7500D6E69B /* DBSHARINGRemoveMemberJobStatus.h in Headers */, - F292F16C1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberError.h in Headers */, - F292F16A1FC0EB7500D6E69B /* DBSHARINGRemoveFolderMemberArg.h in Headers */, - F292F1681FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberError.h in Headers */, - F292F1661FC0EB7500D6E69B /* DBSHARINGRemoveFileMemberArg.h in Headers */, - F292F1641FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipError.h in Headers */, - F292F1621FC0EB7500D6E69B /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */, - F292F1601FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipError.h in Headers */, - F292F15E1FC0EB7500D6E69B /* DBSHARINGRelinquishFileMembershipArg.h in Headers */, - F292F15C1FC0EB7500D6E69B /* DBSHARINGPermissionDeniedReason.h in Headers */, - F292F15A1FC0EB7500D6E69B /* DBSHARINGPendingUploadMode.h in Headers */, - F292F1581FC0EB7500D6E69B /* DBSHARINGPathLinkMetadata.h in Headers */, - F292F1561FC0EB7500D6E69B /* DBSHARINGParentFolderAccessInfo.h in Headers */, - F292F1541FC0EB7500D6E69B /* DBSHARINGMountFolderError.h in Headers */, - F292F1521FC0EB7500D6E69B /* DBSHARINGMountFolderArg.h in Headers */, - F292F1501FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsError.h in Headers */, - F292F14E1FC0EB7500D6E69B /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */, - F292F14C1FC0EB7500D6E69B /* DBSHARINGMembershipInfo.h in Headers */, - F292F14A1FC0EB7500D6E69B /* DBSHARINGMemberSelector.h in Headers */, - F292F1481FC0EB7500D6E69B /* DBSHARINGMemberPolicy.h in Headers */, - F292F1461FC0EB7500D6E69B /* DBSHARINGMemberPermission.h in Headers */, - F292F1441FC0EB7500D6E69B /* DBSHARINGMemberAction.h in Headers */, - F292F1421FC0EB7500D6E69B /* DBSHARINGMemberAccessLevelResult.h in Headers */, - F292F1401FC0EB7500D6E69B /* DBSHARINGListSharedLinksResult.h in Headers */, - F292F13E1FC0EB7500D6E69B /* DBSHARINGListSharedLinksError.h in Headers */, - F292F13C1FC0EB7500D6E69B /* DBSHARINGListSharedLinksArg.h in Headers */, - F292F13A1FC0EB7500D6E69B /* DBSHARINGListFoldersResult.h in Headers */, - F292F1381FC0EB7500D6E69B /* DBSHARINGListFoldersContinueError.h in Headers */, - F292F1361FC0EB7500D6E69B /* DBSHARINGListFoldersContinueArg.h in Headers */, - F292F1341FC0EB7500D6E69B /* DBSHARINGListFoldersArgs.h in Headers */, - F292F1321FC0EB7500D6E69B /* DBSHARINGListFolderMembersCursorArg.h in Headers */, - F292F1301FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueError.h in Headers */, - F292F12E1FC0EB7500D6E69B /* DBSHARINGListFolderMembersContinueArg.h in Headers */, - F292F12C1FC0EB7500D6E69B /* DBSHARINGListFolderMembersArgs.h in Headers */, - F292F12A1FC0EB7500D6E69B /* DBSHARINGListFilesResult.h in Headers */, - F292F1281FC0EB7500D6E69B /* DBSHARINGListFilesContinueError.h in Headers */, - F292F1261FC0EB7500D6E69B /* DBSHARINGListFilesContinueArg.h in Headers */, - F292F1241FC0EB7500D6E69B /* DBSHARINGListFilesArg.h in Headers */, - F292F1221FC0EB7500D6E69B /* DBSHARINGListFileMembersIndividualResult.h in Headers */, - F292F1201FC0EB7500D6E69B /* DBSHARINGListFileMembersError.h in Headers */, - F292F11E1FC0EB7500D6E69B /* DBSHARINGListFileMembersCountResult.h in Headers */, - F292F11C1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueError.h in Headers */, - F292F11A1FC0EB7500D6E69B /* DBSHARINGListFileMembersContinueArg.h in Headers */, - F292F1181FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchResult.h in Headers */, - F292F1161FC0EB7500D6E69B /* DBSHARINGListFileMembersBatchArg.h in Headers */, - F292F1141FC0EB7500D6E69B /* DBSHARINGListFileMembersArg.h in Headers */, - F292F1121FC0EB7500D6E69B /* DBSHARINGLinkSettings.h in Headers */, - F292F1101FC0EB7500D6E69B /* DBSHARINGLinkPermissions.h in Headers */, - F292F10E1FC0EB7500D6E69B /* DBSHARINGLinkPermission.h in Headers */, - F292F10C1FC0EB7500D6E69B /* DBSHARINGLinkPassword.h in Headers */, - F292F10A1FC0EB7500D6E69B /* DBSHARINGLinkMetadata.h in Headers */, - F292F1081FC0EB7500D6E69B /* DBSHARINGLinkExpiry.h in Headers */, - F292F1061FC0EB7500D6E69B /* DBSHARINGLinkAudience.h in Headers */, - F292F1041FC0EB7500D6E69B /* DBSHARINGLinkAction.h in Headers */, - F292F1021FC0EB7500D6E69B /* DBSHARINGJobStatus.h in Headers */, - F292F1001FC0EB7500D6E69B /* DBSHARINGJobError.h in Headers */, - F292F0FE1FC0EB7500D6E69B /* DBSHARINGInviteeMembershipInfo.h in Headers */, - F292F0FC1FC0EB7500D6E69B /* DBSHARINGInviteeInfo.h in Headers */, - F292F0FA1FC0EB7500D6E69B /* DBSHARINGInsufficientQuotaAmounts.h in Headers */, - F292F0F81FC0EB7500D6E69B /* DBSHARINGInsufficientPlan.h in Headers */, - F292F0F61FC0EB7500D6E69B /* DBSHARINGGroupMembershipInfo.h in Headers */, - F292F0F41FC0EB7500D6E69B /* DBSHARINGGroupInfo.h in Headers */, - F292F0F21FC0EB7500D6E69B /* DBSHARINGGetSharedLinksResult.h in Headers */, - F292F0F01FC0EB7500D6E69B /* DBSHARINGGetSharedLinksError.h in Headers */, - F292F0EE1FC0EB7500D6E69B /* DBSHARINGGetSharedLinksArg.h in Headers */, - F292F0EC1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */, - F292F0EA1FC0EB7500D6E69B /* DBSHARINGGetSharedLinkFileError.h in Headers */, - F292F0E81FC0EB7500D6E69B /* DBSHARINGGetMetadataArgs.h in Headers */, - F292F0E61FC0EB7500D6E69B /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */, - F292F0E41FC0EB7500D6E69B /* DBSHARINGGetFileMetadataError.h in Headers */, - F292F0E21FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchResult.h in Headers */, - F292F0E01FC0EB7500D6E69B /* DBSHARINGGetFileMetadataBatchArg.h in Headers */, - F292F0DE1FC0EB7500D6E69B /* DBSHARINGGetFileMetadataArg.h in Headers */, - F292F0DC1FC0EB7500D6E69B /* DBSHARINGFolderPolicy.h in Headers */, - F292F0DA1FC0EB7500D6E69B /* DBSHARINGFolderPermission.h in Headers */, - F292F0D81FC0EB7500D6E69B /* DBSHARINGFolderLinkMetadata.h in Headers */, - F292F0D61FC0EB7500D6E69B /* DBSHARINGFolderAction.h in Headers */, - F292EF061FC0EB7400D6E69B /* DBFILEPROPERTIESLookupError.h in Headers */, - F292EFB01FC0EB7500D6E69B /* DBFILESGpsCoordinates.h in Headers */, - F292F01E1FC0EB7500D6E69B /* DBFILESUploadSessionCursor.h in Headers */, - F292F0201FC0EB7500D6E69B /* DBFILESUploadSessionFinishArg.h in Headers */, - F292F0C21FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */, - F292F0121FC0EB7500D6E69B /* DBFILESThumbnailError.h in Headers */, - F292F0D41FC0EB7500D6E69B /* DBSHARINGFilePermission.h in Headers */, - F292F0CA1FC0EB7500D6E69B /* DBSHARINGFileLinkMetadata.h in Headers */, - F292EF581FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsResult.h in Headers */, - F292F0181FC0EB7500D6E69B /* DBFILESUploadError.h in Headers */, - F292EF301FC0EB7400D6E69B /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */, - F292F0821FC0EB7500D6E69B /* DBPAPERPaperDocCreateUpdateResult.h in Headers */, - F292EF5C1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */, - F292EEDA1FC0EB7400D6E69B /* DBAUTHPaperAccessError.h in Headers */, - F292EF981FC0EB7500D6E69B /* DBFILESGetCopyReferenceError.h in Headers */, - F292EF6A1FC0EB7500D6E69B /* DBFILESCreateFolderArg.h in Headers */, - F292EEEC1FC0EB7400D6E69B /* DBCOMMONRootInfo.h in Headers */, - F292F0A41FC0EB7500D6E69B /* DBSHARINGAclUpdatePolicy.h in Headers */, - F292EF9A1FC0EB7500D6E69B /* DBFILESGetCopyReferenceResult.h in Headers */, - F292EFEC1FC0EB7500D6E69B /* DBFILESRelocationResult.h in Headers */, - F292F0341FC0EB7500D6E69B /* DBFILESUploadSessionStartResult.h in Headers */, - F292EF0A1FC0EB7400D6E69B /* DBFILEPROPERTIESModifyTemplateError.h in Headers */, - F292EF001FC0EB7400D6E69B /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */, - F292EF161FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */, - F292F0021FC0EB7500D6E69B /* DBFILESSearchError.h in Headers */, - F292F0101FC0EB7500D6E69B /* DBFILESThumbnailArg.h in Headers */, - F292F0601FC0EB7500D6E69B /* DBPAPERListPaperDocsArgs.h in Headers */, - F292F0BE1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkError.h in Headers */, - F292F0081FC0EB7500D6E69B /* DBFILESSearchMode.h in Headers */, - F292EF461FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestError.h in Headers */, - F292F0801FC0EB7500D6E69B /* DBPAPERPaperDocCreateError.h in Headers */, - F292EF9C1FC0EB7500D6E69B /* DBFILESGetMetadataArg.h in Headers */, - F292F0BA1FC0EB7500D6E69B /* DBSHARINGCollectionLinkMetadata.h in Headers */, - F292EFBA1FC0EB7500D6E69B /* DBFILESListFolderGetLatestCursorResult.h in Headers */, - F292EED41FC0EB7400D6E69B /* DBAUTHAccessError.h in Headers */, - F292EF8A1FC0EB7500D6E69B /* DBFILESDownloadError.h in Headers */, - F292F06A1FC0EB7500D6E69B /* DBPAPERListPaperDocsSortOrder.h in Headers */, - F292EF4C1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestError.h in Headers */, - F292F03A1FC0EB7500D6E69B /* DBFILESWriteConflictError.h in Headers */, - F292F08E1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateError.h in Headers */, - F292EEE01FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Arg.h in Headers */, - F292EF241FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroup.h in Headers */, - F292EF8C1FC0EB7500D6E69B /* DBFILESFileMetadata.h in Headers */, - F292EF1C1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */, - F292F0661FC0EB7500D6E69B /* DBPAPERListPaperDocsResponse.h in Headers */, - F292EF401FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */, - F292EF281FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */, - F292EF321FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateError.h in Headers */, - F292F08A1FC0EB7500D6E69B /* DBPAPERPaperDocSharingPolicy.h in Headers */, - F292F00E1FC0EB7500D6E69B /* DBFILESSharingInfo.h in Headers */, - F292EFFC1FC0EB7500D6E69B /* DBFILESSaveUrlJobStatus.h in Headers */, - F292EF341FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilter.h in Headers */, - F292F07E1FC0EB7500D6E69B /* DBPAPERPaperDocCreateArgs.h in Headers */, - F292F0C01FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */, - F292F09C1FC0EB7500D6E69B /* DBPAPERUserInfoWithPermissionLevel.h in Headers */, - F292EFC01FC0EB7500D6E69B /* DBFILESListFolderLongpollResult.h in Headers */, - F292EFB81FC0EB7500D6E69B /* DBFILESListFolderError.h in Headers */, - F292EFE41FC0EB7500D6E69B /* DBFILESRelocationBatchResult.h in Headers */, - F292EF5A1FC0EB7400D6E69B /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */, - F292F0B81FC0EB7500D6E69B /* DBSHARINGChangeFileMemberAccessArgs.h in Headers */, - F292EF8E1FC0EB7500D6E69B /* DBFILESFileOpsResult.h in Headers */, - F292EF4E1FC0EB7400D6E69B /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */, - F292EFA21FC0EB7500D6E69B /* DBFILESGetTemporaryLinkError.h in Headers */, - F292F0D01FC0EB7500D6E69B /* DBSHARINGFileMemberActionResult.h in Headers */, - F292F0B41FC0EB7500D6E69B /* DBSHARINGAudienceExceptions.h in Headers */, - F292EFA81FC0EB7500D6E69B /* DBFILESGetThumbnailBatchError.h in Headers */, - F292F0BC1FC0EB7500D6E69B /* DBSHARINGCreateSharedLinkArg.h in Headers */, - F292EF681FC0EB7500D6E69B /* DBFILESCommitInfoWithProperties.h in Headers */, - F292EF841FC0EB7500D6E69B /* DBFILESDeleteResult.h in Headers */, - F292EF5E1FC0EB7500D6E69B /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */, - F292EF6E1FC0EB7500D6E69B /* DBFILESCreateFolderResult.h in Headers */, - F292F01C1FC0EB7500D6E69B /* DBFILESUploadSessionAppendArg.h in Headers */, - F292EECA1FC0EB7400D6E69B /* DBASYNCPollArg.h in Headers */, - F292EF0E1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesError.h in Headers */, - F292EFD61FC0EB7500D6E69B /* DBFILESPreviewArg.h in Headers */, - F292EFC81FC0EB7500D6E69B /* DBFILESListRevisionsMode.h in Headers */, - F292F0861FC0EB7500D6E69B /* DBPAPERPaperDocExportResult.h in Headers */, - F292EEE21FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Error.h in Headers */, - F292EFE61FC0EB7500D6E69B /* DBFILESRelocationBatchResultData.h in Headers */, - F292F0CC1FC0EB7500D6E69B /* DBSHARINGFileMemberActionError.h in Headers */, - F292EF901FC0EB7500D6E69B /* DBFILESFileSharingInfo.h in Headers */, - F292EF741FC0EB7500D6E69B /* DBFILESDeleteBatchError.h in Headers */, - F292EFAE1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultEntry.h in Headers */, - F292EF6C1FC0EB7500D6E69B /* DBFILESCreateFolderError.h in Headers */, - F292EFAA1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResult.h in Headers */, - F292F0261FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */, - F292EF861FC0EB7500D6E69B /* DBFILESDimensions.h in Headers */, - F292EFCA1FC0EB7500D6E69B /* DBFILESListRevisionsResult.h in Headers */, - F292EF3C1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */, - F292F04C1FC0EB7500D6E69B /* DBPAPERDocLookupError.h in Headers */, - F292EFCC1FC0EB7500D6E69B /* DBFILESLookupError.h in Headers */, - F292EF881FC0EB7500D6E69B /* DBFILESDownloadArg.h in Headers */, - F292F0001FC0EB7500D6E69B /* DBFILESSearchArg.h in Headers */, - F292EEFE1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateResult.h in Headers */, - F292F0961FC0EB7500D6E69B /* DBPAPERSharingPolicy.h in Headers */, - F292EF7A1FC0EB7500D6E69B /* DBFILESDeleteBatchResult.h in Headers */, - F292EFEA1FC0EB7500D6E69B /* DBFILESRelocationPath.h in Headers */, - F292F0541FC0EB7500D6E69B /* DBPAPERFoldersContainingPaperDoc.h in Headers */, - F292EFCE1FC0EB7500D6E69B /* DBFILESMediaInfo.h in Headers */, - F292EF2C1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */, - F292EF781FC0EB7500D6E69B /* DBFILESDeleteBatchLaunch.h in Headers */, - F292F0A21FC0EB7500D6E69B /* DBSHARINGAccessLevel.h in Headers */, - F292EFD81FC0EB7500D6E69B /* DBFILESPreviewError.h in Headers */, - F292EF721FC0EB7500D6E69B /* DBFILESDeleteBatchArg.h in Headers */, - F292EF961FC0EB7500D6E69B /* DBFILESGetCopyReferenceArg.h in Headers */, - F292F0681FC0EB7500D6E69B /* DBPAPERListPaperDocsSortBy.h in Headers */, - F292F0321FC0EB7500D6E69B /* DBFILESUploadSessionStartArg.h in Headers */, - F292EF2E1FC0EB7400D6E69B /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */, - F292EF181FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */, - F292F0921FC0EB7500D6E69B /* DBPAPERRefPaperDoc.h in Headers */, - F292F0701FC0EB7500D6E69B /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */, - F292EFA41FC0EB7500D6E69B /* DBFILESGetTemporaryLinkResult.h in Headers */, - F292F00C1FC0EB7500D6E69B /* DBFILESSharedLink.h in Headers */, - F292EEC61FC0EB7400D6E69B /* DBASYNCLaunchEmptyResult.h in Headers */, - F292EF941FC0EB7500D6E69B /* DBFILESFolderSharingInfo.h in Headers */, - F292F0521FC0EB7500D6E69B /* DBPAPERFolder.h in Headers */, - F292F06E1FC0EB7500D6E69B /* DBPAPERListUsersOnFolderArgs.h in Headers */, - F292EEEE1FC0EB7400D6E69B /* DBCOMMONTeamRootInfo.h in Headers */, - F292F0C41FC0EB7500D6E69B /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */, - F292EF0C1FC0EB7400D6E69B /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */, - F292F0501FC0EB7500D6E69B /* DBPAPERExportFormat.h in Headers */, - F292EFD41FC0EB7500D6E69B /* DBFILESPhotoMetadata.h in Headers */, - F292EFF81FC0EB7500D6E69B /* DBFILESSaveUrlArg.h in Headers */, - F292F09A1FC0EB7500D6E69B /* DBPAPERSharingTeamPolicyType.h in Headers */, - F292F02A1FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */, - F292F03C1FC0EB7500D6E69B /* DBFILESWriteError.h in Headers */, - F292EFF61FC0EB7500D6E69B /* DBFILESSaveCopyReferenceResult.h in Headers */, - F292EF501FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */, - F292F0AE1FC0EB7500D6E69B /* DBSHARINGAddMember.h in Headers */, - F292F0241FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */, - F292EECE1FC0EB7400D6E69B /* DBASYNCPollError.h in Headers */, - F292EF621FC0EB7500D6E69B /* DBFILESAlphaGetMetadataArg.h in Headers */, - F292F05E1FC0EB7500D6E69B /* DBPAPERListDocsCursorError.h in Headers */, - F292F0761FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */, - F292F0161FC0EB7500D6E69B /* DBFILESThumbnailSize.h in Headers */, - F292EF201FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyField.h in Headers */, - F292F0741FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocArgs.h in Headers */, - F292EFFE1FC0EB7500D6E69B /* DBFILESSaveUrlResult.h in Headers */, - F292F0B01FC0EB7500D6E69B /* DBSHARINGAddMemberSelectorError.h in Headers */, - F292EF261FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */, - F292EF521FC0EB7400D6E69B /* DBFILEREQUESTSGetFileRequestError.h in Headers */, - F292F0381FC0EB7500D6E69B /* DBFILESVideoMetadata.h in Headers */, - F292F08C1FC0EB7500D6E69B /* DBPAPERPaperDocUpdateArgs.h in Headers */, - F292EED81FC0EB7400D6E69B /* DBAUTHInvalidAccountTypeError.h in Headers */, - F292F0901FC0EB7500D6E69B /* DBPAPERPaperDocUpdatePolicy.h in Headers */, - F292EEE41FC0EB7400D6E69B /* DBAUTHTokenFromOAuth1Result.h in Headers */, - F292EFF41FC0EB7500D6E69B /* DBFILESSaveCopyReferenceError.h in Headers */, - F292EF701FC0EB7500D6E69B /* DBFILESDeleteArg.h in Headers */, - F292EEE81FC0EB7400D6E69B /* DBCOMMONPathRoot.h in Headers */, - F292EFB41FC0EB7500D6E69B /* DBFILESListFolderContinueArg.h in Headers */, - F292F05C1FC0EB7500D6E69B /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */, - F292F0B61FC0EB7500D6E69B /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */, - F292EFC41FC0EB7500D6E69B /* DBFILESListRevisionsArg.h in Headers */, - F292EEDC1FC0EB7400D6E69B /* DBAUTHRateLimitError.h in Headers */, - F292EED61FC0EB7400D6E69B /* DBAUTHAuthError.h in Headers */, - F292EFF01FC0EB7500D6E69B /* DBFILESRestoreError.h in Headers */, - F292EEDE1FC0EB7400D6E69B /* DBAUTHRateLimitReason.h in Headers */, - F292EFD21FC0EB7500D6E69B /* DBFILESMetadata.h in Headers */, - F292EFDA1FC0EB7500D6E69B /* DBFILESRelocationArg.h in Headers */, - F292F0CE1FC0EB7500D6E69B /* DBSHARINGFileMemberActionIndividualResult.h in Headers */, - F292EF761FC0EB7500D6E69B /* DBFILESDeleteBatchJobStatus.h in Headers */, - F292F04E1FC0EB7500D6E69B /* DBPAPERDocSubscriptionLevel.h in Headers */, - F292F0C61FC0EB7500D6E69B /* DBSHARINGFileAction.h in Headers */, - F292F0221FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchArg.h in Headers */, - F292EFC21FC0EB7500D6E69B /* DBFILESListFolderResult.h in Headers */, - F292F0061FC0EB7500D6E69B /* DBFILESSearchMatchType.h in Headers */, - F292EFBC1FC0EB7500D6E69B /* DBFILESListFolderLongpollArg.h in Headers */, - F292F0981FC0EB7500D6E69B /* DBPAPERSharingPublicPolicyType.h in Headers */, - F292F0841FC0EB7500D6E69B /* DBPAPERPaperDocExport.h in Headers */, - F292F0461FC0EB7500D6E69B /* DBPAPERAddPaperDocUserMemberResult.h in Headers */, - F292EF441FC0EB7400D6E69B /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */, - F292F0941FC0EB7500D6E69B /* DBPAPERRemovePaperDocUser.h in Headers */, - F292F01A1FC0EB7500D6E69B /* DBFILESUploadErrorWithProperties.h in Headers */, - F292F00A1FC0EB7500D6E69B /* DBFILESSearchResult.h in Headers */, - F292EEEA1FC0EB7400D6E69B /* DBCOMMONPathRootError.h in Headers */, - F292EEFC1FC0EB7400D6E69B /* DBFILEPROPERTIESGetTemplateArg.h in Headers */, - F292F05A1FC0EB7500D6E69B /* DBPAPERImportFormat.h in Headers */, - F292F0881FC0EB7500D6E69B /* DBPAPERPaperDocPermissionLevel.h in Headers */, - F292F0641FC0EB7500D6E69B /* DBPAPERListPaperDocsFilterBy.h in Headers */, - F292F0441FC0EB7500D6E69B /* DBPAPERAddPaperDocUser.h in Headers */, - F292EF921FC0EB7500D6E69B /* DBFILESFolderMetadata.h in Headers */, - F292F0141FC0EB7500D6E69B /* DBFILESThumbnailFormat.h in Headers */, - F292EF3E1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */, - F292F02E1FC0EB7500D6E69B /* DBFILESUploadSessionLookupError.h in Headers */, - F292EED01FC0EB7400D6E69B /* DBASYNCPollResultBase.h in Headers */, - F292EF541FC0EB7400D6E69B /* DBFILEREQUESTSGracePeriod.h in Headers */, - F292EFEE1FC0EB7500D6E69B /* DBFILESRestoreArg.h in Headers */, - F292F0281FC0EB7500D6E69B /* DBFILESUploadSessionFinishBatchResult.h in Headers */, - F292F09E1FC0EB7500D6E69B /* DBPAPERUserOnPaperDocFilter.h in Headers */, - F292EFBE1FC0EB7500D6E69B /* DBFILESListFolderLongpollError.h in Headers */, - F292EFA61FC0EB7500D6E69B /* DBFILESGetThumbnailBatchArg.h in Headers */, - F292EF121FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */, - F292EF361FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */, - F292EF1E1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */, - F292EFE81FC0EB7500D6E69B /* DBFILESRelocationError.h in Headers */, - F292EFC61FC0EB7500D6E69B /* DBFILESListRevisionsError.h in Headers */, - F292EFF21FC0EB7500D6E69B /* DBFILESSaveCopyReferenceArg.h in Headers */, - F292F0621FC0EB7500D6E69B /* DBPAPERListPaperDocsContinueArgs.h in Headers */, - F292EF4A1FC0EB7400D6E69B /* DBFILEREQUESTSFileRequestDeadline.h in Headers */, - F292EF221FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */, - F292EF661FC0EB7500D6E69B /* DBFILESCommitInfo.h in Headers */, - F292EFDE1FC0EB7500D6E69B /* DBFILESRelocationBatchError.h in Headers */, - F292F06C1FC0EB7500D6E69B /* DBPAPERListUsersCursorError.h in Headers */, - F292F0481FC0EB7500D6E69B /* DBPAPERAddPaperDocUserResult.h in Headers */, - F292F03E1FC0EB7500D6E69B /* DBFILESWriteMode.h in Headers */, - F292EEFA1FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateResult.h in Headers */, - F292EF801FC0EB7500D6E69B /* DBFILESDeletedMetadata.h in Headers */, - F292F0561FC0EB7500D6E69B /* DBPAPERFolderSharingPolicyType.h in Headers */, - F292F0A81FC0EB7500D6E69B /* DBSHARINGAddFileMemberError.h in Headers */, - F292F0A61FC0EB7500D6E69B /* DBSHARINGAddFileMemberArgs.h in Headers */, - F292EF561FC0EB7400D6E69B /* DBFILEREQUESTSListFileRequestsError.h in Headers */, - F292EF021FC0EB7400D6E69B /* DBFILEPROPERTIESListTemplateResult.h in Headers */, - F292F04A1FC0EB7500D6E69B /* DBPAPERCursor.h in Headers */, - F292EFE01FC0EB7500D6E69B /* DBFILESRelocationBatchJobStatus.h in Headers */, - F292EF9E1FC0EB7500D6E69B /* DBFILESGetMetadataError.h in Headers */, - F292EEC81FC0EB7400D6E69B /* DBASYNCLaunchResultBase.h in Headers */, - F292F0C81FC0EB7500D6E69B /* DBSHARINGFileErrorResult.h in Headers */, - F292EEF81FC0EB7400D6E69B /* DBFILEPROPERTIESAddTemplateArg.h in Headers */, - F292EF481FC0EB7400D6E69B /* DBFILEREQUESTSFileRequest.h in Headers */, - F292EFE21FC0EB7500D6E69B /* DBFILESRelocationBatchLaunch.h in Headers */, - F292EFAC1FC0EB7500D6E69B /* DBFILESGetThumbnailBatchResultData.h in Headers */, - F292EFFA1FC0EB7500D6E69B /* DBFILESSaveUrlError.h in Headers */, - F292EFDC1FC0EB7500D6E69B /* DBFILESRelocationBatchArg.h in Headers */, - F292F0AC1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberError.h in Headers */, - F292EEF41FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */, - F292EEF61FC0EB7400D6E69B /* DBFILEPROPERTIESAddPropertiesError.h in Headers */, - F292EEF01FC0EB7400D6E69B /* DBCOMMONUserRootInfo.h in Headers */, - F292EFD01FC0EB7500D6E69B /* DBFILESMediaMetadata.h in Headers */, - F292EECC1FC0EB7400D6E69B /* DBASYNCPollEmptyResult.h in Headers */, - F292EF081FC0EB7400D6E69B /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */, - F292EFB21FC0EB7500D6E69B /* DBFILESListFolderArg.h in Headers */, - F292EF041FC0EB7400D6E69B /* DBFILEPROPERTIESLogicalOperator.h in Headers */, - F292F0721FC0EB7500D6E69B /* DBPAPERListUsersOnFolderResponse.h in Headers */, - F292F0421FC0EB7500D6E69B /* DBPAPERAddMember.h in Headers */, - F292EF101FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */, - F292F0301FC0EB7500D6E69B /* DBFILESUploadSessionOffsetError.h in Headers */, - F292EF1A1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */, - F292EFB61FC0EB7500D6E69B /* DBFILESListFolderContinueError.h in Headers */, - F292EF141FC0EB7400D6E69B /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */, - F292EF7E1FC0EB7500D6E69B /* DBFILESDeleteBatchResultEntry.h in Headers */, - F292F0D21FC0EB7500D6E69B /* DBSHARINGFileMemberRemoveActionResult.h in Headers */, - F292EF3A1FC0EB7400D6E69B /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */, - F292F0361FC0EB7500D6E69B /* DBFILESUploadWriteFailed.h in Headers */, - F292F0581FC0EB7500D6E69B /* DBPAPERFolderSubscriptionLevel.h in Headers */, - F292EF381FC0EB7400D6E69B /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */, - F292EF641FC0EB7500D6E69B /* DBFILESAlphaGetMetadataError.h in Headers */, - F292F0AA1FC0EB7500D6E69B /* DBSHARINGAddFolderMemberArg.h in Headers */, - F292F02C1FC0EB7500D6E69B /* DBFILESUploadSessionFinishError.h in Headers */, - F292F07C1FC0EB7500D6E69B /* DBPAPERPaperApiCursorError.h in Headers */, - F292EFA01FC0EB7500D6E69B /* DBFILESGetTemporaryLinkArg.h in Headers */, - F292F07A1FC0EB7500D6E69B /* DBPAPERPaperApiBaseError.h in Headers */, - F292EF821FC0EB7500D6E69B /* DBFILESDeleteError.h in Headers */, - F292EF2A1FC0EB7400D6E69B /* DBFILEPROPERTIESPropertyType.h in Headers */, - F292F0B21FC0EB7500D6E69B /* DBSHARINGAudienceExceptionContentInfo.h in Headers */, - F292F0781FC0EB7500D6E69B /* DBPAPERListUsersOnPaperDocResponse.h in Headers */, - F292F0041FC0EB7500D6E69B /* DBFILESSearchMatch.h in Headers */, - F292EF7C1FC0EB7500D6E69B /* DBFILESDeleteBatchResultData.h in Headers */, + BF58C3B324CA65B100745A74 /* DBLoadingStatusDelegate.h in Headers */, F2A2CEB41E566611001D8449 /* DBSDKImports-macOS.h in Headers */, + F99E19562B7A733700D55EF8 /* DBTEAMLOGShowcaseFileDownloadType.h in Headers */, + F99E1BB02B7A733900D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedDetails.h in Headers */, + F99E10E42B7A733300D55EF8 /* DBPAPERFolderSubscriptionLevel.h in Headers */, + F99E19FC2B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkType.h in Headers */, + F99E17BE2B7A733600D55EF8 /* DBTEAMLOGFileRevertDetails.h in Headers */, + F99E15D82B7A733500D55EF8 /* DBTEAMLOGFileMoveType.h in Headers */, + F99E15D42B7A733500D55EF8 /* DBTEAMLOGSharedContentRestoreMemberType.h in Headers */, + F99E127A2B7A733300D55EF8 /* DBSHARINGAudienceExceptionContentInfo.h in Headers */, + F99E14AC2B7A733500D55EF8 /* DBTEAMMemberAddV2Result.h in Headers */, + F99E1EA22B7A733B00D55EF8 /* DBTEAMLOGEmmRemoveExceptionDetails.h in Headers */, + F99E1E5A2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkDownloadType.h in Headers */, + F99E1A322B7A733800D55EF8 /* DBTEAMLOGSsoAddLoginUrlDetails.h in Headers */, + F99E11D42B7A733300D55EF8 /* DBSHARINGRemoveFileMemberArg.h in Headers */, + F99E14CE2B7A733500D55EF8 /* DBTEAMLegalHoldsListHeldRevisionResult.h in Headers */, + F99E134A2B7A733400D55EF8 /* DBTEAMGroupsListResult.h in Headers */, + F99E1BFE2B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportType.h in Headers */, + F99E19382B7A733700D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedType.h in Headers */, + F99E15022B7A733500D55EF8 /* DBTEAMTeamFolderStatus.h in Headers */, + F99E19EC2B7A733800D55EF8 /* DBTEAMLOGFileUnlikeCommentType.h in Headers */, + F99E17702B7A733600D55EF8 /* DBTEAMLOGBackupInvitationOpenedType.h in Headers */, + F99E1AFA2B7A733800D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h in Headers */, + F99E15A42B7A733500D55EF8 /* DBUSERSUserFeatureValue.h in Headers */, + F99E15BE2B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchError.h in Headers */, + F99E14CA2B7A733500D55EF8 /* DBTEAMDeviceSession.h in Headers */, + F99E1F8C2B7A733C00D55EF8 /* DBFILESPreviewArg.h in Headers */, + F99E13B02B7A733400D55EF8 /* DBTEAMTeamGetInfoResult.h in Headers */, + F99E16802B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedDetails.h in Headers */, + F99E18E42B7A733700D55EF8 /* DBTEAMLOGPaperDocDownloadDetails.h in Headers */, + F99E15FE2B7A733500D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyType.h in Headers */, + F99E20062B7A733C00D55EF8 /* DBFILESLockFileBatchArg.h in Headers */, + F99E11BA2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsError.h in Headers */, + F99E1CF62B7A733A00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteType.h in Headers */, + F99E155C2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateArg.h in Headers */, + F99E13F22B7A733400D55EF8 /* DBTEAMTeamFolderMetadata.h in Headers */, + F99E1EDE2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldDetails.h in Headers */, + F99E15B82B7A733500D55EF8 /* DBUSERSPaperAsFilesValue.h in Headers */, + F99E205A2B7A733C00D55EF8 /* DBFILESSearchMatchV2.h in Headers */, + F99E17222B7A733600D55EF8 /* DBTEAMLOGSfTeamUninviteType.h in Headers */, + F99E1B582B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h in Headers */, + F99E132C2B7A733400D55EF8 /* DBOPENIDUserInfoResult.h in Headers */, + F99E13002B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsArg.h in Headers */, + F99E1B922B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h in Headers */, + F99E20602B7A733C00D55EF8 /* DBFILESAddTagArg.h in Headers */, + F99E15182B7A733500D55EF8 /* DBTEAMMembersSendWelcomeError.h in Headers */, + F99E1A1E2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h in Headers */, + F99E16842B7A733600D55EF8 /* DBTEAMLOGCreateFolderDetails.h in Headers */, + F99E1E982B7A733B00D55EF8 /* DBTEAMLOGSharedContentAddInviteesType.h in Headers */, + F99E20162B7A733C00D55EF8 /* DBFILESSaveCopyReferenceError.h in Headers */, + F99E20662B7A733C00D55EF8 /* DBFILESDeleteBatchLaunch.h in Headers */, + F99E17742B7A733600D55EF8 /* DBTEAMLOGPolicyType.h in Headers */, + F99E1A582B7A733800D55EF8 /* DBTEAMLOGIdentifierType.h in Headers */, + F99E1DFC2B7A733B00D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDetails.h in Headers */, + F99E1E3A2B7A733B00D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeType.h in Headers */, + F99E18A02B7A733700D55EF8 /* DBTEAMLOGMemberRemoveExternalIdDetails.h in Headers */, + F99E1BB62B7A733900D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipDetails.h in Headers */, + F99E115A2B7A733300D55EF8 /* DBTEAMPOLICIESPasswordStrengthPolicy.h in Headers */, + F99E20502B7A733C00D55EF8 /* DBFILESSearchV2Arg.h in Headers */, + F99E15EA2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h in Headers */, + F99E11242B7A733300D55EF8 /* DBPAPERDocLookupError.h in Headers */, + F99E1C682B7A733900D55EF8 /* DBTEAMLOGSharedContentAddMemberType.h in Headers */, + F99E17822B7A733600D55EF8 /* DBTEAMLOGFileUnlikeCommentDetails.h in Headers */, + F99E15BA2B7A733500D55EF8 /* DBUSERSGetAccountBatchArg.h in Headers */, + F99E189A2B7A733700D55EF8 /* DBTEAMLOGPaperDocResolveCommentDetails.h in Headers */, + F99E18D02B7A733700D55EF8 /* DBTEAMLOGNoteShareReceiveType.h in Headers */, + F99E1BC42B7A733900D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h in Headers */, + F99E1A182B7A733800D55EF8 /* DBTEAMLOGTeamFolderRenameType.h in Headers */, + F99E1A842B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h in Headers */, + F99E1FE22B7A733C00D55EF8 /* DBFILESUnlockFileArg.h in Headers */, + F99E20242B7A733C00D55EF8 /* DBFILESAlphaGetMetadataArg.h in Headers */, + F99E1AB22B7A733800D55EF8 /* DBTEAMLOGFileRequestDetails.h in Headers */, + F99E1B122B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h in Headers */, + F99E1CA62B7A733A00D55EF8 /* DBTEAMLOGIntegrationDisconnectedDetails.h in Headers */, + F99E19C62B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h in Headers */, + F99E1B902B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h in Headers */, + F99E1B0A2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyDetails.h in Headers */, + F99E1BD62B7A733900D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedDetails.h in Headers */, + F99E19A82B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedDetails.h in Headers */, + F99E1FAA2B7A733C00D55EF8 /* DBFILESFolderMetadata.h in Headers */, + F99E1A2E2B7A733800D55EF8 /* DBTEAMLOGGetTeamEventsError.h in Headers */, + F99E203E2B7A733C00D55EF8 /* DBFILESSearchV2ContinueArg.h in Headers */, + F99E1A542B7A733800D55EF8 /* DBTEAMLOGContentPermanentDeletePolicy.h in Headers */, + F99E1C782B7A733900D55EF8 /* DBTEAMLOGAccountCaptureAvailability.h in Headers */, + F99E157A2B7A733500D55EF8 /* DBFILEPROPERTIESLookUpPropertiesError.h in Headers */, + F99E11C82B7A733300D55EF8 /* DBSHARINGGetFileMetadataArg.h in Headers */, + F99E20BA2B7A733D00D55EF8 /* DBSerializableProtocol.h in Headers */, + F99E156C2B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilter.h in Headers */, + F99E1F742B7A733C00D55EF8 /* DBFILESRelocationArg.h in Headers */, + F99E1EF02B7A733B00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedType.h in Headers */, + F99E151A2B7A733500D55EF8 /* DBTEAMGetDevicesReport.h in Headers */, + F99E14542B7A733400D55EF8 /* DBTEAMGroupMembersSelectorError.h in Headers */, + F99E18D62B7A733700D55EF8 /* DBTEAMLOGGroupMovedDetails.h in Headers */, + F99E1AC62B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedType.h in Headers */, + F99E14982B7A733500D55EF8 /* DBTEAMSharingAllowlistListContinueArg.h in Headers */, + F99E20102B7A733C00D55EF8 /* DBFILESUploadSessionType.h in Headers */, + F99E1B982B7A733900D55EF8 /* DBTEAMLOGSsoChangeLoginUrlDetails.h in Headers */, + F99E14822B7A733500D55EF8 /* DBTEAMGroupDeleteError.h in Headers */, + F99E1A3A2B7A733800D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportDetails.h in Headers */, + F99E174A2B7A733600D55EF8 /* DBTEAMLOGNamespaceRelativePathLogInfo.h in Headers */, + F99E1BF22B7A733900D55EF8 /* DBTEAMLOGBinderReorderSectionDetails.h in Headers */, + F99E15FA2B7A733500D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlType.h in Headers */, + F99E12782B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkArg.h in Headers */, + F99E1DD42B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordType.h in Headers */, + F99E201C2B7A733C00D55EF8 /* DBFILESLockFileBatchResult.h in Headers */, + F99E1A5A2B7A733800D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedType.h in Headers */, + F99E1BDA2B7A733900D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h in Headers */, + F99E17882B7A733600D55EF8 /* DBTEAMLOGSharedFolderCreateDetails.h in Headers */, + F99E198A2B7A733800D55EF8 /* DBTEAMLOGSsoAddLogoutUrlType.h in Headers */, + F99E17EC2B7A733700D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledType.h in Headers */, + F99E1C442B7A733900D55EF8 /* DBTEAMLOGPasswordChangeType.h in Headers */, + F99E1D822B7A733A00D55EF8 /* DBTEAMLOGQuickActionType.h in Headers */, + F99E18FA2B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestState.h in Headers */, + F99E17FC2B7A733700D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeType.h in Headers */, + F99E144C2B7A733400D55EF8 /* DBTEAMUserCustomQuotaResult.h in Headers */, + F99E18602B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamDetails.h in Headers */, + F99E10FC2B7A733300D55EF8 /* DBPAPERPaperDocExport.h in Headers */, + F99E18BE2B7A733700D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueType.h in Headers */, + F99E1D0A2B7A733A00D55EF8 /* DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h in Headers */, + F99E1EB62B7A733B00D55EF8 /* DBTEAMLOGBinderRemoveSectionType.h in Headers */, + F99E1EE22B7A733B00D55EF8 /* DBTEAMLOGClassificationCreateReportFailType.h in Headers */, + F99E19522B7A733700D55EF8 /* DBTEAMLOGAdminAlertCategoryEnum.h in Headers */, + F99E176E2B7A733600D55EF8 /* DBTEAMLOGLoginSuccessType.h in Headers */, + F99E167C2B7A733600D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyDetails.h in Headers */, + F99E11A42B7A733300D55EF8 /* DBSHARINGUnshareFileError.h in Headers */, + F99E1C722B7A733900D55EF8 /* DBTEAMLOGAdminEmailRemindersPolicy.h in Headers */, + F99E111A2B7A733300D55EF8 /* DBPAPERListPaperDocsContinueArgs.h in Headers */, + F99E167A2B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsExportedDetails.h in Headers */, + F99E17B22B7A733600D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentType.h in Headers */, + F99E19AC2B7A733800D55EF8 /* DBTEAMLOGFileLikeCommentDetails.h in Headers */, + F99E18122B7A733700D55EF8 /* DBTEAMLOGShowcaseRestoredType.h in Headers */, + F99E1BE42B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteType.h in Headers */, + F99E1FB02B7A733C00D55EF8 /* DBFILESCreateFolderBatchLaunch.h in Headers */, + F99E16D62B7A733600D55EF8 /* DBTEAMLOGIntegrationDisconnectedType.h in Headers */, + F99E18062B7A733700D55EF8 /* DBTEAMLOGMemberChangeEmailDetails.h in Headers */, + F99E13AE2B7A733400D55EF8 /* DBTEAMGroupMembersAddError.h in Headers */, + F99E210E2B7A733D00D55EF8 /* DBSHARINGRouteObjects.h in Headers */, + F99E1B022B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedType.h in Headers */, + F99E1B6E2B7A733900D55EF8 /* DBTEAMLOGFileRevertType.h in Headers */, + F99E128A2B7A733300D55EF8 /* DBSHARINGTransferFolderError.h in Headers */, + F99E1E622B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailDeletedDetails.h in Headers */, + F99E17E42B7A733700D55EF8 /* DBTEAMLOGMobileSessionLogInfo.h in Headers */, + F99E1E502B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveDetails.h in Headers */, + F99E20922B7A733D00D55EF8 /* DBFILESDownloadError.h in Headers */, + F99E17282B7A733600D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyType.h in Headers */, + F99E18962B7A733700D55EF8 /* DBTEAMLOGTeamFolderDowngradeType.h in Headers */, + F99E17F02B7A733700D55EF8 /* DBTEAMLOGDeviceApprovalsPolicy.h in Headers */, + F99E1EEA2B7A733B00D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h in Headers */, + F99E1C882B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedType.h in Headers */, + F99E19902B7A733800D55EF8 /* DBTEAMLOGTfaAddSecurityKeyDetails.h in Headers */, + F99E1B8C2B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedType.h in Headers */, + F99E1E922B7A733B00D55EF8 /* DBTEAMLOGSpaceLimitsStatus.h in Headers */, + F99E19DE2B7A733800D55EF8 /* DBTEAMLOGPaperDocEditDetails.h in Headers */, + F99E18EE2B7A733700D55EF8 /* DBTEAMLOGShowcaseViewType.h in Headers */, + F99E170E2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoType.h in Headers */, + F99E19102B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h in Headers */, + F99E1A0C2B7A733800D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h in Headers */, + F99E1D5C2B7A733A00D55EF8 /* DBTEAMLOGFileRequestReceiveFileDetails.h in Headers */, + F99E15782B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateResult.h in Headers */, + F99E18AC2B7A733700D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedType.h in Headers */, + F99E138C2B7A733400D55EF8 /* DBTEAMHasTeamFileEventsValue.h in Headers */, + F99E1E422B7A733B00D55EF8 /* DBTEAMLOGIntegrationConnectedType.h in Headers */, + F99E1A442B7A733800D55EF8 /* DBTEAMLOGPaperDocEditType.h in Headers */, + F99E1C922B7A733A00D55EF8 /* DBTEAMLOGCreateFolderType.h in Headers */, + F99E19062B7A733700D55EF8 /* DBTEAMLOGBinderReorderSectionType.h in Headers */, + F99E1CC22B7A733A00D55EF8 /* DBTEAMLOGFileRestoreType.h in Headers */, + F99E1AB02B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicy.h in Headers */, + F99E11662B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseExternalSharingPolicy.h in Headers */, + F99E1B862B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h in Headers */, + F99E1EE62B7A733B00D55EF8 /* DBTEAMLOGFileCopyDetails.h in Headers */, + F99E207A2B7A733D00D55EF8 /* DBFILESWriteError.h in Headers */, + F99E20202B7A733C00D55EF8 /* DBFILESRestoreArg.h in Headers */, + F99E1A562B7A733800D55EF8 /* DBTEAMLOGPaperContentRenameDetails.h in Headers */, + F99E16EA2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h in Headers */, + F99E1FE42B7A733C00D55EF8 /* DBFILESListFolderContinueArg.h in Headers */, + F99E17A62B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedType.h in Headers */, + F99E172A2B7A733600D55EF8 /* DBTEAMLOGGroupLogInfo.h in Headers */, + F99E114E2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h in Headers */, + F99E16F02B7A733600D55EF8 /* DBTEAMLOGPaperFolderFollowedType.h in Headers */, + F99E13D42B7A733400D55EF8 /* DBTEAMSharingAllowlistAddArgs.h in Headers */, + F99E18C22B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h in Headers */, + F99E11602B7A733300D55EF8 /* DBTEAMPOLICIESFileLockingPolicyState.h in Headers */, + F99E206C2B7A733C00D55EF8 /* DBFILESExportError.h in Headers */, + F99E16342B7A733600D55EF8 /* DBTEAMLOGPaperDocDeletedType.h in Headers */, + F99E1E3E2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h in Headers */, + F99E18842B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyCreateDetails.h in Headers */, + F99E193E2B7A733700D55EF8 /* DBTEAMLOGMemberAddExternalIdType.h in Headers */, + F99E18922B7A733700D55EF8 /* DBTEAMLOGSharedFolderNestDetails.h in Headers */, + F99E19482B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyType.h in Headers */, + F99E165A2B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledType.h in Headers */, + F99E11F02B7A733300D55EF8 /* DBSHARINGShareFolderJobStatus.h in Headers */, + F99E18EA2B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h in Headers */, + F99E1C462B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedType.h in Headers */, + F99E16242B7A733600D55EF8 /* DBTEAMLOGApplyNamingConventionType.h in Headers */, + F99E16AC2B7A733600D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h in Headers */, + F99E1C6E2B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedDetails.h in Headers */, + F99E1D7E2B7A733A00D55EF8 /* DBTEAMLOGMemberAddExternalIdDetails.h in Headers */, + F99E136A2B7A733400D55EF8 /* DBTEAMLegalHoldPolicy.h in Headers */, + F99E153E2B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoError.h in Headers */, + F99E114A2B7A733300D55EF8 /* DBTEAMPOLICIESTeamSharingPolicies.h in Headers */, + F99E1E842B7A733B00D55EF8 /* DBTEAMLOGWebDeviceSessionLogInfo.h in Headers */, + F99E15242B7A733500D55EF8 /* DBTEAMMemberDevices.h in Headers */, + F99E1D2A2B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h in Headers */, + F99E1B5C2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationType.h in Headers */, + F99E14FC2B7A733500D55EF8 /* DBTEAMGroupsMembersListArg.h in Headers */, + F99E12EE2B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestArgs.h in Headers */, + F99E1EA82B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h in Headers */, + F99E18CE2B7A733700D55EF8 /* DBTEAMLOGEnabledDomainInvitesType.h in Headers */, + F99E1D0C2B7A733A00D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h in Headers */, + F99E1D042B7A733A00D55EF8 /* DBTEAMLOGSharedLinkAccessLevel.h in Headers */, + F99E12402B7A733300D55EF8 /* DBSHARINGViewerInfoPolicy.h in Headers */, + F99E1FE62B7A733C00D55EF8 /* DBFILESDeleteBatchResultEntry.h in Headers */, + F99E212C2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.h in Headers */, + F99E11B02B7A733300D55EF8 /* DBSHARINGVisibilityPolicyDisallowedReason.h in Headers */, + F99E17C62B7A733600D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopType.h in Headers */, + F99E12A62B7A733400D55EF8 /* DBSHARINGRelinquishFolderMembershipError.h in Headers */, + F99E13FC2B7A733400D55EF8 /* DBTEAMListTeamDevicesResult.h in Headers */, + F99E1D8C2B7A733A00D55EF8 /* DBTEAMLOGFileDeleteCommentType.h in Headers */, + F99E1F302B7A733C00D55EF8 /* DBFILESRelocationPath.h in Headers */, + F99E1EB02B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordType.h in Headers */, + F99E17122B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldDetails.h in Headers */, + F99E18662B7A733700D55EF8 /* DBTEAMLOGFileTransfersFileAddType.h in Headers */, + F99E19C22B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledType.h in Headers */, + F99E13AA2B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesArg.h in Headers */, + F99E15522B7A733500D55EF8 /* DBFILEPROPERTIESInvalidPropertyGroupError.h in Headers */, + F99E1CD62B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportType.h in Headers */, + F99E1D522B7A733A00D55EF8 /* DBTEAMLOGPasswordChangeDetails.h in Headers */, + F99E14182B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchError.h in Headers */, + F99E10D82B7A733200D55EF8 /* DBPAPERListUsersOnFolderContinueArgs.h in Headers */, + F99E184E2B7A733700D55EF8 /* DBTEAMLOGWebSessionsIdleLengthPolicy.h in Headers */, + F99E18F42B7A733700D55EF8 /* DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h in Headers */, + F99E1BDE2B7A733900D55EF8 /* DBTEAMLOGSharingLinkPolicy.h in Headers */, + F99E19962B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyExportCreatedDetails.h in Headers */, + F99E1C962B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedType.h in Headers */, + F99E179C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedType.h in Headers */, + F99E165C2B7A733600D55EF8 /* DBTEAMLOGMobileDeviceSessionLogInfo.h in Headers */, + F99E1EC82B7A733B00D55EF8 /* DBTEAMLOGPaperContentRestoreType.h in Headers */, + F99E1D742B7A733A00D55EF8 /* DBTEAMLOGEmailIngestPolicyChangedDetails.h in Headers */, + F99E125A2B7A733300D55EF8 /* DBSHARINGSharedFolderMetadata.h in Headers */, + F99E17502B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailDetails.h in Headers */, + F99E11842B7A733300D55EF8 /* DBSHARINGFileMemberRemoveActionResult.h in Headers */, + F99E15342B7A733500D55EF8 /* DBTEAMGroupMemberSelectorError.h in Headers */, + F99E18702B7A733700D55EF8 /* DBTEAMLOGFileRequestCloseDetails.h in Headers */, + F99E122E2B7A733300D55EF8 /* DBSHARINGSharePathError.h in Headers */, + F99E20802B7A733D00D55EF8 /* DBFILESCreateFolderBatchResult.h in Headers */, + F99E1CF82B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyType.h in Headers */, + F99E19002B7A733700D55EF8 /* DBTEAMLOGGroupRemoveMemberType.h in Headers */, + F99E12D02B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueArg.h in Headers */, + F99E183E2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpDesktopDetails.h in Headers */, + F99E1C522B7A733900D55EF8 /* DBTEAMLOGNoteAclLinkDetails.h in Headers */, + F99E1CD42B7A733A00D55EF8 /* DBTEAMLOGGetTeamEventsArg.h in Headers */, + F99E1F262B7A733C00D55EF8 /* DBFILESListRevisionsError.h in Headers */, + F99E1CA42B7A733A00D55EF8 /* DBTEAMLOGAccountLockOrUnlockedDetails.h in Headers */, + F99E1E6C2B7A733B00D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryDetails.h in Headers */, + F99E147C2B7A733500D55EF8 /* DBTEAMTeamNamespacesListContinueArg.h in Headers */, + F99E1A482B7A733800D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionType.h in Headers */, + F99E16922B7A733600D55EF8 /* DBTEAMLOGGroupDescriptionUpdatedType.h in Headers */, + F99E11D62B7A733300D55EF8 /* DBSHARINGShareFolderError.h in Headers */, + F99E1D3E2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsRemoveExceptionType.h in Headers */, + F99E154C2B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateArg.h in Headers */, + F99E1F3C2B7A733C00D55EF8 /* DBFILESTag.h in Headers */, + F99E15662B7A733500D55EF8 /* DBFILEPROPERTIESGetTemplateArg.h in Headers */, + F99E14562B7A733400D55EF8 /* DBTEAMRevokeLinkedAppBatchError.h in Headers */, + F99E1B5E2B7A733900D55EF8 /* DBTEAMLOGPaperContentCreateType.h in Headers */, + F99E157E2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesArg.h in Headers */, + F99E12362B7A733300D55EF8 /* DBSHARINGAddFileMemberArgs.h in Headers */, + F99E16DC2B7A733600D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h in Headers */, + F99E18FC2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkFailType.h in Headers */, + F99E15502B7A733500D55EF8 /* DBFILEPROPERTIESTemplateFilterBase.h in Headers */, + F99E11962B7A733300D55EF8 /* DBSHARINGSharedContentLinkMetadata.h in Headers */, + F99E1C242B7A733900D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatus.h in Headers */, + F99E184C2B7A733700D55EF8 /* DBTEAMLOGIntegrationPolicy.h in Headers */, + F99E129C2B7A733400D55EF8 /* DBSHARINGFolderAction.h in Headers */, + F99E16222B7A733600D55EF8 /* DBTEAMLOGGroupMovedType.h in Headers */, + F99E17542B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedType.h in Headers */, + F99E1D7C2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderCreateType.h in Headers */, + F99E1EC62B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleDetails.h in Headers */, + F99E1B1C2B7A733900D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedDetails.h in Headers */, + F99E19082B7A733700D55EF8 /* DBTEAMLOGTeamDetails.h in Headers */, + F99E17202B7A733600D55EF8 /* DBTEAMLOGDomainVerificationAddDomainFailType.h in Headers */, + F99E1EBA2B7A733B00D55EF8 /* DBTEAMLOGSmartSyncNotOptOutDetails.h in Headers */, + F99E11A22B7A733300D55EF8 /* DBSHARINGMountFolderError.h in Headers */, + F99E12862B7A733300D55EF8 /* DBSHARINGUserInfo.h in Headers */, + F99E11362B7A733300D55EF8 /* DBTEAMPOLICIESFileProviderMigrationPolicyState.h in Headers */, + F99E1C6C2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsDetails.h in Headers */, + F99E1BC82B7A733900D55EF8 /* DBTEAMLOGPaperDocViewDetails.h in Headers */, + F99E21342B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.h in Headers */, + F99E14F22B7A733500D55EF8 /* DBTEAMGroupMembersRemoveArg.h in Headers */, + F99E1A102B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h in Headers */, + F99E1C7E2B7A733900D55EF8 /* DBTEAMLOGFileDownloadType.h in Headers */, + F99E12962B7A733300D55EF8 /* DBSHARINGJobStatus.h in Headers */, + F99E12EC2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsArg.h in Headers */, + F99E1EAE2B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h in Headers */, + F99E10F82B7A733300D55EF8 /* DBPAPERRemovePaperDocUser.h in Headers */, + F99E1EE82B7A733B00D55EF8 /* DBTEAMLOGSfAddGroupType.h in Headers */, + F99E13422B7A733400D55EF8 /* DBTEAMMembersListV2Result.h in Headers */, + F99E12062B7A733300D55EF8 /* DBSHARINGExpectedSharedContentLinkMetadata.h in Headers */, + F99E13542B7A733400D55EF8 /* DBTEAMMembersUnsuspendError.h in Headers */, + F99E1E9A2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameType.h in Headers */, + F99E1C162B7A733900D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundDetails.h in Headers */, + F99E13462B7A733400D55EF8 /* DBTEAMGroupUpdateArgs.h in Headers */, + F99E18722B7A733700D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h in Headers */, + F99E121C2B7A733300D55EF8 /* DBSHARINGListFileMembersContinueError.h in Headers */, + F99E211A2B7A733D00D55EF8 /* DBTEAMRouteObjects.h in Headers */, + F99E18E02B7A733700D55EF8 /* DBTEAMLOGMemberChangeStatusDetails.h in Headers */, + F99E1CE22B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredDetails.h in Headers */, + F99E190A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h in Headers */, + F99E12162B7A733300D55EF8 /* DBSHARINGListSharedLinksResult.h in Headers */, + F99E1A782B7A733800D55EF8 /* DBTEAMLOGTfaChangeStatusDetails.h in Headers */, + F99E1F502B7A733C00D55EF8 /* DBFILESWriteMode.h in Headers */, + F99E15A02B7A733500D55EF8 /* DBUSERSGetAccountError.h in Headers */, + F99E1B942B7A733900D55EF8 /* DBTEAMLOGFileLogInfo.h in Headers */, + F99E156E2B7A733500D55EF8 /* DBFILEPROPERTIESAddPropertiesError.h in Headers */, + F99E19D82B7A733800D55EF8 /* DBTEAMLOGFileTransfersFileAddDetails.h in Headers */, + F99E15402B7A733500D55EF8 /* DBTEAMRevokeLinkedApiAppBatchArg.h in Headers */, + F99E13522B7A733400D55EF8 /* DBTEAMGroupAccessType.h in Headers */, + F99E1ADC2B7A733800D55EF8 /* DBTEAMLOGPasswordResetDetails.h in Headers */, + F99E15AA2B7A733500D55EF8 /* DBUSERSTeam.h in Headers */, + F99E1E3C2B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyType.h in Headers */, + F99E1E222B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h in Headers */, + F99E1D242B7A733A00D55EF8 /* DBTEAMLOGSsoErrorType.h in Headers */, + F99E1AC82B7A733800D55EF8 /* DBTEAMLOGEmmErrorDetails.h in Headers */, + F99E179E2B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h in Headers */, + F99E1B0C2B7A733900D55EF8 /* DBTEAMLOGFileRequestCreateDetails.h in Headers */, + F99E11482B7A733300D55EF8 /* DBTEAMPOLICIESEmmState.h in Headers */, + F99E13082B7A733400D55EF8 /* DBASYNCPollEmptyResult.h in Headers */, + F99E1FC22B7A733C00D55EF8 /* DBFILESLockFileArg.h in Headers */, + F99E1D882B7A733A00D55EF8 /* DBTEAMLOGExternalSharingCreateReportDetails.h in Headers */, + F99E1E722B7A733B00D55EF8 /* DBTEAMLOGPaperDocRevertDetails.h in Headers */, + F99E17E02B7A733700D55EF8 /* DBTEAMLOGSharedLinkShareDetails.h in Headers */, + F99E1B1E2B7A733900D55EF8 /* DBTEAMLOGFileRequestChangeDetails.h in Headers */, + F99E1BE22B7A733900D55EF8 /* DBTEAMLOGShowcaseRequestAccessType.h in Headers */, + F99E19222B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedType.h in Headers */, + F99E14662B7A733400D55EF8 /* DBTEAMListMemberAppsArg.h in Headers */, + F99E1A3E2B7A733800D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigType.h in Headers */, + F99E15042B7A733500D55EF8 /* DBTEAMMembersGetInfoArgs.h in Headers */, + F99E195E2B7A733700D55EF8 /* DBTEAMLOGDeviceLinkSuccessDetails.h in Headers */, + F99E16FA2B7A733600D55EF8 /* DBTEAMLOGSessionLogInfo.h in Headers */, + F99E1AA02B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h in Headers */, + F99E1C0E2B7A733900D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderDetails.h in Headers */, + F99E12A42B7A733400D55EF8 /* DBSHARINGSharedLinkAccessFailureReason.h in Headers */, + F99E1E1A2B7A733B00D55EF8 /* DBTEAMLOGCertificate.h in Headers */, + F99E116A2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderMemberPolicy.h in Headers */, + F99E1B7A2B7A733900D55EF8 /* DBTEAMLOGPaperDocViewType.h in Headers */, + F99E13E02B7A733400D55EF8 /* DBTEAMHasTeamSharedDropboxValue.h in Headers */, + F99E12BE2B7A733400D55EF8 /* DBAUTHAccessError.h in Headers */, + F99E10F62B7A733300D55EF8 /* DBPAPERInviteeInfoWithPermissionLevel.h in Headers */, + F99E10DC2B7A733200D55EF8 /* DBPAPERPaperDocCreateError.h in Headers */, + F99E16362B7A733600D55EF8 /* DBTEAMLOGSharedContentClaimInvitationDetails.h in Headers */, + F99E14A62B7A733500D55EF8 /* DBTEAMSharingAllowlistListResponse.h in Headers */, + F99E12F42B7A733400D55EF8 /* DBFILEREQUESTSFileRequestDeadline.h in Headers */, + F99E18902B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h in Headers */, + F99E12D82B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h in Headers */, + F99E13262B7A733400D55EF8 /* DBCOMMONRootInfo.h in Headers */, + F99E11AA2B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueError.h in Headers */, + F99E16122B7A733500D55EF8 /* DBTEAMLOGTfaResetType.h in Headers */, + F99E1FEA2B7A733C00D55EF8 /* DBFILESSearchError.h in Headers */, + F99E14E02B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailResult.h in Headers */, + F99E1DE62B7A733B00D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedType.h in Headers */, + F99E17602B7A733600D55EF8 /* DBTEAMLOGSecondaryTeamRequestExpiredDetails.h in Headers */, + F99E13402B7A733400D55EF8 /* DBTEAMMembersAddArgBase.h in Headers */, + F99E1D7A2B7A733A00D55EF8 /* DBTEAMLOGPaperDocDownloadType.h in Headers */, + F99E197E2B7A733800D55EF8 /* DBTEAMLOGMemberChangeExternalIdType.h in Headers */, + F99E13982B7A733400D55EF8 /* DBTEAMListTeamDevicesError.h in Headers */, + F99E1FB42B7A733C00D55EF8 /* DBFILESCreateFolderEntryResult.h in Headers */, + F99E172E2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledType.h in Headers */, + F99E12202B7A733300D55EF8 /* DBSHARINGUserFileMembershipInfo.h in Headers */, + F99E191C2B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h in Headers */, + F99E20A02B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoResult.h in Headers */, + F99E146E2B7A733500D55EF8 /* DBTEAMListTeamDevicesArg.h in Headers */, + F99E1EC22B7A733B00D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersType.h in Headers */, + F99E124A2B7A733300D55EF8 /* DBSHARINGAudienceRestrictingSharedFolder.h in Headers */, + F99E16A82B7A733600D55EF8 /* DBTEAMLOGUndoNamingConventionType.h in Headers */, + F99E12E62B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsResult.h in Headers */, + F99E128C2B7A733300D55EF8 /* DBSHARINGGetFileMetadataIndividualResult.h in Headers */, + F99E1E402B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h in Headers */, + F99E15102B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsArg.h in Headers */, + F99E14EA2B7A733500D55EF8 /* DBTEAMFeaturesGetValuesBatchArg.h in Headers */, + F99E1E582B7A733B00D55EF8 /* DBTEAMLOGUndoNamingConventionDetails.h in Headers */, + F99E18802B7A733700D55EF8 /* DBTEAMLOGIntegrationConnectedDetails.h in Headers */, + F99E15EC2B7A733500D55EF8 /* DBTEAMLOGFileCommentsPolicy.h in Headers */, + F99E16182B7A733500D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlDetails.h in Headers */, + F99E13222B7A733400D55EF8 /* DBCOMMONTeamRootInfo.h in Headers */, + F99E20182B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResultEntry.h in Headers */, + F99E1A822B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportType.h in Headers */, + F99E11C42B7A733300D55EF8 /* DBSHARINGListFileMembersError.h in Headers */, + F99E1CAA2B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedType.h in Headers */, + F99E18C02B7A733700D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedDetails.h in Headers */, + F99E19842B7A733800D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationDetails.h in Headers */, + F99E154A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueArg.h in Headers */, + F99E197A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledDetails.h in Headers */, + F99E13C62B7A733400D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsArg.h in Headers */, + F99E1F642B7A733C00D55EF8 /* DBFILESPaperDocUpdatePolicy.h in Headers */, + F99E1DEE2B7A733B00D55EF8 /* DBTEAMLOGPaperDocUntrashedType.h in Headers */, + F99E19702B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h in Headers */, + F99E196C2B7A733700D55EF8 /* DBTEAMLOGUserLinkedAppLogInfo.h in Headers */, + F99E1BF62B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h in Headers */, + F99E1F6C2B7A733C00D55EF8 /* DBFILESRelocationBatchResult.h in Headers */, + F99E1A6C2B7A733800D55EF8 /* DBTEAMLOGGroupCreateType.h in Headers */, + F99E15B02B7A733500D55EF8 /* DBUSERSSpaceUsage.h in Headers */, + F99E1E142B7A733B00D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h in Headers */, + F99E1DBC2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundDetails.h in Headers */, + F99E1F402B7A733C00D55EF8 /* DBFILESListFolderLongpollError.h in Headers */, + F99E1F722B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchLaunch.h in Headers */, + F99E1FD82B7A733C00D55EF8 /* DBFILESSyncSettingsError.h in Headers */, + F99E1F622B7A733C00D55EF8 /* DBFILESCreateFolderBatchJobStatus.h in Headers */, + F99E1DD02B7A733B00D55EF8 /* DBTEAMLOGGetTeamEventsResult.h in Headers */, + F99E1C202B7A733900D55EF8 /* DBTEAMLOGSmartSyncNotOptOutType.h in Headers */, + F99E12882B7A733300D55EF8 /* DBSHARINGMemberPermission.h in Headers */, + F99E1C842B7A733A00D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h in Headers */, + F99E11FA2B7A733300D55EF8 /* DBSHARINGVisibilityPolicy.h in Headers */, + F99E1E182B7A733B00D55EF8 /* DBTEAMLOGDeviceManagementEnabledType.h in Headers */, + F99E117C2B7A733300D55EF8 /* DBSHARINGCollectionLinkMetadata.h in Headers */, + F99E1E462B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesType.h in Headers */, + F99E19BC2B7A733800D55EF8 /* DBTEAMLOGAppUnlinkUserDetails.h in Headers */, + F99E1E202B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h in Headers */, + F99E13602B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyUpdateArg.h in Headers */, + F99E1C062B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentDetails.h in Headers */, + F99E15482B7A733500D55EF8 /* DBTEAMTeamFolderTeamSharedDropboxError.h in Headers */, + F99E1AAA2B7A733800D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h in Headers */, + F99E174C2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h in Headers */, + F99E17F42B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlDetails.h in Headers */, + F99E13EE2B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyCreateArg.h in Headers */, + F99E19862B7A733800D55EF8 /* DBTEAMLOGParticipantLogInfo.h in Headers */, + F99E18042B7A733700D55EF8 /* DBTEAMLOGRewindFolderType.h in Headers */, + F99E17762B7A733600D55EF8 /* DBTEAMLOGPaperDocSlackShareType.h in Headers */, + F99E147A2B7A733500D55EF8 /* DBTEAMListTeamAppsError.h in Headers */, + F99E169E2B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionType.h in Headers */, + F99E1E082B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h in Headers */, + F99E1CEE2B7A733A00D55EF8 /* DBTEAMLOGTeamName.h in Headers */, + F99E15E42B7A733500D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportType.h in Headers */, + F99E16622B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedType.h in Headers */, + F99E163E2B7A733600D55EF8 /* DBTEAMLOGSharedLinkDownloadDetails.h in Headers */, + F99E13862B7A733400D55EF8 /* DBTEAMExcludedUsersListArg.h in Headers */, + F99E16A02B7A733600D55EF8 /* DBTEAMLOGObjectLabelAddedDetails.h in Headers */, + F99E204A2B7A733C00D55EF8 /* DBFILESSingleUserLock.h in Headers */, + F99E18CA2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h in Headers */, + F99E11C22B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchArg.h in Headers */, + F99E1A6A2B7A733800D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenDetails.h in Headers */, + F99E20642B7A733C00D55EF8 /* DBFILESFileLock.h in Headers */, + F99E14742B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionArg.h in Headers */, + F99E1EFC2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h in Headers */, + F99E1A2A2B7A733800D55EF8 /* DBTEAMLOGBinderAddSectionType.h in Headers */, + F99E1F122B7A733B00D55EF8 /* DBFILESSearchMatch.h in Headers */, + F99E16C82B7A733600D55EF8 /* DBTEAMLOGPaperDocTeamInviteDetails.h in Headers */, + F99E11942B7A733300D55EF8 /* DBSHARINGRevokeSharedLinkError.h in Headers */, + F99E1F3A2B7A733C00D55EF8 /* DBFILESLookupError.h in Headers */, + F99E1E6A2B7A733B00D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleType.h in Headers */, + F99E1D402B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldType.h in Headers */, + F99E17162B7A733600D55EF8 /* DBTEAMLOGFileSaveCopyReferenceDetails.h in Headers */, + F99E20382B7A733C00D55EF8 /* DBFILESAlphaGetMetadataError.h in Headers */, + F99E10E22B7A733300D55EF8 /* DBPAPERFolderSharingPolicyType.h in Headers */, + F99E1C9E2B7A733A00D55EF8 /* DBTEAMLOGTfaChangePolicyDetails.h in Headers */, + F99E1ED82B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityDetails.h in Headers */, + F99E15082B7A733500D55EF8 /* DBTEAMMembersSetProfilePhotoArg.h in Headers */, + F99E160E2B7A733500D55EF8 /* DBTEAMLOGWatermarkingPolicy.h in Headers */, + F99E1B722B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityType.h in Headers */, + F99E14402B7A733400D55EF8 /* DBTEAMGroupSelector.h in Headers */, + F99E1DB62B7A733A00D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h in Headers */, + F99E1FCA2B7A733C00D55EF8 /* DBFILESThumbnailV2Arg.h in Headers */, + F99E11682B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseDownloadPolicy.h in Headers */, + F99E11F42B7A733300D55EF8 /* DBSHARINGListFoldersArgs.h in Headers */, + F99E1C702B7A733900D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedDetails.h in Headers */, + F99E17982B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h in Headers */, + F99E14B02B7A733500D55EF8 /* DBTEAMGroupsGetInfoError.h in Headers */, + F99E1C562B7A733900D55EF8 /* DBTEAMLOGNoPasswordLinkGenCreateReportType.h in Headers */, + F99E174E2B7A733600D55EF8 /* DBTEAMLOGShmodelGroupShareDetails.h in Headers */, + F99E11E82B7A733300D55EF8 /* DBSHARINGLinkAction.h in Headers */, + F99E181C2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountType.h in Headers */, + F99E13BA2B7A733400D55EF8 /* DBTEAMMembersSetProfileError.h in Headers */, + F99E1F322B7A733C00D55EF8 /* DBFILESLockFileResult.h in Headers */, + F99E1B222B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedType.h in Headers */, + F99E1A942B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderDetails.h in Headers */, + F99E1D902B7A733A00D55EF8 /* DBTEAMLOGExternalDriveBackupStatusChangedDetails.h in Headers */, + F99E18102B7A733700D55EF8 /* DBTEAMLOGPaperContentAddToFolderType.h in Headers */, + F99E15E62B7A733500D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipType.h in Headers */, + F99E11AC2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipError.h in Headers */, + F99E1DE42B7A733B00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h in Headers */, + F99E20422B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchResult.h in Headers */, + F99E16102B7A733500D55EF8 /* DBTEAMLOGFileAddFromAutomationType.h in Headers */, + F99E143A2B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyArg.h in Headers */, + F99E1E0E2B7A733B00D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleType.h in Headers */, + F99E1E762B7A733B00D55EF8 /* DBTEAMLOGContentAdministrationPolicyChangedType.h in Headers */, + F99E196A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeFromDetails.h in Headers */, + F99E15DE2B7A733500D55EF8 /* DBTEAMLOGFileRestoreDetails.h in Headers */, + F99E1FB22B7A733C00D55EF8 /* DBFILESRelocationBatchError.h in Headers */, + F99E1A022B7A733800D55EF8 /* DBTEAMLOGSignInAsSessionEndType.h in Headers */, + F99E200C2B7A733C00D55EF8 /* DBFILESSearchOrderBy.h in Headers */, + F99E10D42B7A733200D55EF8 /* DBPAPERPaperDocUpdatePolicy.h in Headers */, + F99E15F02B7A733500D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h in Headers */, + F99E1C8C2B7A733A00D55EF8 /* DBTEAMLOGSharedContentViewType.h in Headers */, + F99E13C82B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsArg.h in Headers */, + F99E1FFE2B7A733C00D55EF8 /* DBFILESUploadSessionStartResult.h in Headers */, + F99E17AA2B7A733600D55EF8 /* DBTEAMLOGExtendedVersionHistoryPolicy.h in Headers */, + F99E14A02B7A733500D55EF8 /* DBTEAMGroupMembersChangeResult.h in Headers */, + F99E1ACA2B7A733800D55EF8 /* DBTEAMLOGSharedLinkCopyDetails.h in Headers */, + F99E14842B7A733500D55EF8 /* DBTEAMMembersInfo.h in Headers */, + F99E1F102B7A733B00D55EF8 /* DBFILESRestoreError.h in Headers */, + F99E1C2C2B7A733900D55EF8 /* DBTEAMLOGMemberSuggestDetails.h in Headers */, + F99E13C02B7A733400D55EF8 /* DBTEAMRevokeDesktopClientArg.h in Headers */, + F99E11982B7A733300D55EF8 /* DBSHARINGSharedLinkError.h in Headers */, + F99E1D782B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h in Headers */, + F99E1F562B7A733C00D55EF8 /* DBFILESGetTagsArg.h in Headers */, + F99E126E2B7A733300D55EF8 /* DBSHARINGRelinquishFileMembershipArg.h in Headers */, + F99E11C02B7A733300D55EF8 /* DBSHARINGFileErrorResult.h in Headers */, + F99E1AF02B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedType.h in Headers */, + F99E11462B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationState.h in Headers */, + F99E172C2B7A733600D55EF8 /* DBTEAMLOGPaperDocChangeMemberRoleDetails.h in Headers */, + F99E1AA62B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionDetails.h in Headers */, + F99E170A2B7A733600D55EF8 /* DBTEAMLOGSharedLinkViewType.h in Headers */, + F99E1AD42B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h in Headers */, + F99E17A42B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusType.h in Headers */, + F99E211C2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.h in Headers */, + F99E12462B7A733300D55EF8 /* DBSHARINGLinkPermissions.h in Headers */, + F99E1E642B7A733B00D55EF8 /* DBTEAMLOGBackupAdminInvitationSentType.h in Headers */, + F99E1BFC2B7A733900D55EF8 /* DBTEAMLOGExternalSharingReportFailedType.h in Headers */, + F99E14442B7A733400D55EF8 /* DBTEAMGroupCreateError.h in Headers */, + F99E18822B7A733700D55EF8 /* DBTEAMLOGTeamFolderRenameDetails.h in Headers */, + F99E15282B7A733500D55EF8 /* DBTEAMCustomQuotaUsersArg.h in Headers */, + F99E14DE2B7A733500D55EF8 /* DBTEAMTeamFolderRenameArg.h in Headers */, + F99E11382B7A733300D55EF8 /* DBTEAMPOLICIESSmarterSmartSyncPolicyState.h in Headers */, + F99E19582B7A733700D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedDetails.h in Headers */, + F99E14762B7A733500D55EF8 /* DBTEAMMemberAddV2Arg.h in Headers */, + F99E19602B7A733700D55EF8 /* DBTEAMLOGResellerSupportPolicy.h in Headers */, + F99E1CE42B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicyChangedType.h in Headers */, + F99E13622B7A733400D55EF8 /* DBTEAMDeleteSecondaryEmailsArg.h in Headers */, + F99E11FC2B7A733300D55EF8 /* DBSHARINGListFilesContinueArg.h in Headers */, + F99E1CCE2B7A733A00D55EF8 /* DBTEAMLOGSfTeamInviteChangeRoleType.h in Headers */, + F99E1ED62B7A733B00D55EF8 /* DBTEAMLOGSpaceCapsType.h in Headers */, + F99E1AA82B7A733800D55EF8 /* DBTEAMLOGActionDetails.h in Headers */, + F99E16142B7A733500D55EF8 /* DBTEAMLOGShowcaseEditCommentType.h in Headers */, + F99E20A42B7A733D00D55EF8 /* DBCHECKEchoArg.h in Headers */, + F99E1C142B7A733900D55EF8 /* DBTEAMLOGShowcaseAccessGrantedType.h in Headers */, + F99E11CE2B7A733300D55EF8 /* DBSHARINGLinkAudienceDisallowedReason.h in Headers */, + F99E144A2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoArg.h in Headers */, + F99E16202B7A733600D55EF8 /* DBTEAMLOGShowcaseAddMemberType.h in Headers */, + F99E17D82B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyDetails.h in Headers */, + F99E1F9A2B7A733C00D55EF8 /* DBFILESPaperContentError.h in Headers */, + F99E1A422B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyDeleteDetails.h in Headers */, + F99E15462B7A733500D55EF8 /* DBTEAMListMembersDevicesArg.h in Headers */, + F99E155A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMode.h in Headers */, + F99E165E2B7A733600D55EF8 /* DBTEAMLOGFileEditCommentDetails.h in Headers */, + F99E1E882B7A733B00D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentType.h in Headers */, + F99E1B242B7A733900D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedDetails.h in Headers */, + F99E14D22B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchResult.h in Headers */, + F99E1DAC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertGeneralStateEnum.h in Headers */, + F99E145A2B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueError.h in Headers */, + F99E20322B7A733C00D55EF8 /* DBFILESCommitInfo.h in Headers */, + F99E19F02B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleDetails.h in Headers */, + F99E13E82B7A733400D55EF8 /* DBTEAMTeamFolderListError.h in Headers */, + F99E1AE22B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReportAHoldDetails.h in Headers */, + F99E14102B7A733400D55EF8 /* DBTEAMTeamNamespacesListArg.h in Headers */, + F99E1B802B7A733900D55EF8 /* DBTEAMLOGEmmRemoveExceptionType.h in Headers */, + F99E16302B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyExportRemovedDetails.h in Headers */, + F99E1BE82B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionType.h in Headers */, + F99E12982B7A733300D55EF8 /* DBSHARINGListFileMembersCountResult.h in Headers */, + F99E1DD62B7A733B00D55EF8 /* DBTEAMLOGSfTeamInviteType.h in Headers */, + F99E119E2B7A733300D55EF8 /* DBSHARINGUpdateFileMemberArgs.h in Headers */, + F99E14682B7A733500D55EF8 /* DBTEAMRevokeDeviceSessionBatchError.h in Headers */, + F99E12DE2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsV2Result.h in Headers */, + F99E186A2B7A733700D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h in Headers */, + F99E118A2B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsArgs.h in Headers */, + F99E1CD02B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h in Headers */, + F99E17A22B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersType.h in Headers */, + F99E19142B7A733700D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingDetails.h in Headers */, + F99E1ECC2B7A733B00D55EF8 /* DBTEAMLOGPaperExternalViewAllowDetails.h in Headers */, + F99E1B9C2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h in Headers */, + F99E14362B7A733400D55EF8 /* DBTEAMMembersSetProfileArg.h in Headers */, + F99E1E8C2B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionStartDetails.h in Headers */, + F99E13BE2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddError.h in Headers */, + F99E11D02B7A733300D55EF8 /* DBSHARINGSharedLinkSettingsError.h in Headers */, + F99E13942B7A733400D55EF8 /* DBTEAMDeviceSessionArg.h in Headers */, + F99E1EFE2B7A733B00D55EF8 /* DBTEAMLOGActorLogInfo.h in Headers */, + F99E1E742B7A733B00D55EF8 /* DBTEAMLOGShowcaseUntrashedDetails.h in Headers */, + F99E20122B7A733C00D55EF8 /* DBFILESDownloadZipError.h in Headers */, + F99E1B7E2B7A733900D55EF8 /* DBTEAMLOGAccountCapturePolicy.h in Headers */, + F99E1F882B7A733C00D55EF8 /* DBFILESGetCopyReferenceResult.h in Headers */, + F99E17922B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsAddExceptionType.h in Headers */, + F99E15862B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchContinueError.h in Headers */, + F99E1A242B7A733800D55EF8 /* DBTEAMLOGSharedContentRestoreMemberDetails.h in Headers */, + F99E14862B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyCreateError.h in Headers */, + F99E1ED22B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupStatus.h in Headers */, + F99E1CF02B7A733A00D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedDetails.h in Headers */, + F99E18982B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewForbidType.h in Headers */, + F99E1FAE2B7A733C00D55EF8 /* DBFILESMediaMetadata.h in Headers */, + F99E19362B7A733700D55EF8 /* DBTEAMLOGMemberSetProfilePhotoType.h in Headers */, + F99E1DBA2B7A733A00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h in Headers */, + F99E15722B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchMatch.h in Headers */, + F99E19402B7A733700D55EF8 /* DBTEAMLOGEmmAddExceptionDetails.h in Headers */, + F99E130E2B7A733400D55EF8 /* DBASYNCPollResultBase.h in Headers */, + F99E14BC2B7A733500D55EF8 /* DBTEAMTeamFolderListContinueError.h in Headers */, + F99E11F22B7A733300D55EF8 /* DBSHARINGFileMemberActionError.h in Headers */, + F99E1D662B7A733A00D55EF8 /* DBTEAMLOGGroupRenameType.h in Headers */, + F99E13842B7A733400D55EF8 /* DBTEAMLegalHoldsPolicyReleaseError.h in Headers */, + F99E13922B7A733400D55EF8 /* DBTEAMFeature.h in Headers */, + F99E16AE2B7A733600D55EF8 /* DBTEAMLOGLogoutDetails.h in Headers */, + F99E1FC62B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkResult.h in Headers */, + F99E162C2B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeDownloadPolicyType.h in Headers */, + F99E20682B7A733C00D55EF8 /* DBFILESLockFileError.h in Headers */, + F99E1C902B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h in Headers */, + F99E18862B7A733700D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedType.h in Headers */, + F99E11562B7A733300D55EF8 /* DBTEAMPOLICIESTeamMemberPolicies.h in Headers */, + F99E12922B7A733300D55EF8 /* DBSHARINGFileLinkMetadata.h in Headers */, + F99E1C422B7A733900D55EF8 /* DBTEAMLOGBinderAddPageType.h in Headers */, + F99E1C2E2B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordDetails.h in Headers */, + F99E13BC2B7A733400D55EF8 /* DBTEAMTeamFolderArchiveJobStatus.h in Headers */, + F99E16A42B7A733600D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountDetails.h in Headers */, + F99E19A62B7A733800D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h in Headers */, + F99E18002B7A733700D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleType.h in Headers */, + F99E16422B7A733600D55EF8 /* DBTEAMLOGAppUnlinkTeamType.h in Headers */, + F99E20282B7A733C00D55EF8 /* DBFILESSaveUrlJobStatus.h in Headers */, + F99E14EC2B7A733500D55EF8 /* DBTEAMLegalHoldsListPoliciesResult.h in Headers */, + F99E118C2B7A733300D55EF8 /* DBSHARINGShareFolderLaunch.h in Headers */, + F99E180C2B7A733700D55EF8 /* DBTEAMLOGSharingChangeMemberPolicyType.h in Headers */, + F99E1FFA2B7A733C00D55EF8 /* DBFILESRelocationBatchLaunch.h in Headers */, + F99E152A2B7A733500D55EF8 /* DBTEAMTeamFolderArchiveLaunch.h in Headers */, + F99E204E2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkResult.h in Headers */, + F99E13DE2B7A733400D55EF8 /* DBTEAMMembersAddJobStatusV2Result.h in Headers */, + F99E20E02B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.h in Headers */, + F99E20942B7A733D00D55EF8 /* DBFILESSearchMatchFieldOptions.h in Headers */, + F99E1DF22B7A733B00D55EF8 /* DBTEAMLOGPaperDocDeleteCommentDetails.h in Headers */, + F99E1F242B7A733C00D55EF8 /* DBFILESThumbnailFormat.h in Headers */, + F99E12322B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberError.h in Headers */, + F99E11162B7A733300D55EF8 /* DBPAPERAddPaperDocUserMemberResult.h in Headers */, + F99E18202B7A733700D55EF8 /* DBTEAMLOGTrustedTeamsRequestAction.h in Headers */, + F99E1B662B7A733900D55EF8 /* DBTEAMLOGFileRollbackChangesDetails.h in Headers */, + F99E1F422B7A733C00D55EF8 /* DBFILESCreateFolderBatchError.h in Headers */, + F99E1F382B7A733C00D55EF8 /* DBFILESSaveUrlError.h in Headers */, + F99E1AE62B7A733800D55EF8 /* DBTEAMLOGNonTrustedTeamDetails.h in Headers */, + F99E14D02B7A733500D55EF8 /* DBTEAMRevokeLinkedAppError.h in Headers */, + F99E15902B7A733500D55EF8 /* DBFILEPROPERTIESTemplateOwnerType.h in Headers */, + F99E11DC2B7A733300D55EF8 /* DBSHARINGFileMemberActionResult.h in Headers */, + F99E1FEC2B7A733C00D55EF8 /* DBFILESUploadSessionFinishError.h in Headers */, + F99E1A6E2B7A733800D55EF8 /* DBTEAMLOGTeamMembershipType.h in Headers */, + F99E1C5E2B7A733900D55EF8 /* DBTEAMLOGFileMoveDetails.h in Headers */, + F99E1A0E2B7A733800D55EF8 /* DBTEAMLOGClassificationCreateReportDetails.h in Headers */, + F99E1E1C2B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h in Headers */, + F99E14322B7A733400D55EF8 /* DBTEAMMemberAddResult.h in Headers */, + F99E17CA2B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyEditDetailsType.h in Headers */, + F99E1C022B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyDetails.h in Headers */, + F99E16442B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceDetails.h in Headers */, + F99E1A222B7A733800D55EF8 /* DBTEAMLOGSharedContentDownloadDetails.h in Headers */, + F99E14F62B7A733500D55EF8 /* DBTEAMMembersTransferFormerMembersFilesError.h in Headers */, + F99E194A2B7A733700D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h in Headers */, + F99E16F22B7A733600D55EF8 /* DBTEAMLOGFileRequestCloseType.h in Headers */, + F99E143E2B7A733400D55EF8 /* DBTEAMGroupMemberInfo.h in Headers */, + F99E1F5A2B7A733C00D55EF8 /* DBFILESMoveIntoVaultError.h in Headers */, + F99E175E2B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h in Headers */, + F99E11A82B7A733300D55EF8 /* DBSHARINGListFileMembersBatchArg.h in Headers */, + F99E14802B7A733500D55EF8 /* DBTEAMUserSelectorArg.h in Headers */, + F99E1BA42B7A733900D55EF8 /* DBTEAMLOGShowcaseCreatedType.h in Headers */, + F99E1F8E2B7A733C00D55EF8 /* DBFILESDeleteError.h in Headers */, + F99E15962B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesError.h in Headers */, + F99E1C502B7A733900D55EF8 /* DBTEAMLOGBinderRemoveSectionDetails.h in Headers */, + F99E13562B7A733400D55EF8 /* DBTEAMMobileClientPlatform.h in Headers */, + F99E1BAE2B7A733900D55EF8 /* DBTEAMLOGSmartSyncChangePolicyDetails.h in Headers */, + F99E13482B7A733400D55EF8 /* DBTEAMTeamNamespacesListContinueError.h in Headers */, + F99E1A142B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledDetails.h in Headers */, + F99E1B8E2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteDetails.h in Headers */, + F99E153A2B7A733500D55EF8 /* DBTEAMTeamMemberProfile.h in Headers */, + F99E1E2C2B7A733B00D55EF8 /* DBTEAMLOGNetworkControlChangePolicyType.h in Headers */, + F99E11C62B7A733300D55EF8 /* DBSHARINGMemberAction.h in Headers */, + F99E16C62B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestReminderExtraDetails.h in Headers */, + F99E15E82B7A733500D55EF8 /* DBTEAMLOGShowcaseFileRemovedDetails.h in Headers */, + F99E17C02B7A733600D55EF8 /* DBTEAMLOGPaperDocResolveCommentType.h in Headers */, + F99E117E2B7A733300D55EF8 /* DBSHARINGRelinquishFolderMembershipArg.h in Headers */, + F99E20082B7A733C00D55EF8 /* DBFILESPaperUpdateArg.h in Headers */, + F99E13322B7A733400D55EF8 /* DBOPENIDUserInfoArgs.h in Headers */, + F99E11922B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberArg.h in Headers */, + F99E14D62B7A733500D55EF8 /* DBTEAMMembersRecoverError.h in Headers */, + F99E17802B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinType.h in Headers */, + F99E18A22B7A733700D55EF8 /* DBTEAMLOGLoginSuccessDetails.h in Headers */, + F99E20542B7A733C00D55EF8 /* DBFILESFileSharingInfo.h in Headers */, + F99E18DA2B7A733700D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinPolicy.h in Headers */, + F99E199A2B7A733800D55EF8 /* DBTEAMLOGGroupChangeExternalIdType.h in Headers */, + F99E1C3C2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionDetails.h in Headers */, + F99E1A162B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyDetails.h in Headers */, + F99E1BBA2B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkViewDetails.h in Headers */, + F99E17C22B7A733600D55EF8 /* DBTEAMLOGSecondaryEmailDeletedType.h in Headers */, + F99E1B262B7A733900D55EF8 /* DBTEAMLOGSsoAddLoginUrlType.h in Headers */, + F99E1E822B7A733B00D55EF8 /* DBTEAMLOGFileSaveCopyReferenceType.h in Headers */, + F99E15142B7A733500D55EF8 /* DBTEAMTeamFolderIdListArg.h in Headers */, + F99E133C2B7A733400D55EF8 /* DBTEAMExcludedUsersListResult.h in Headers */, + F99E15842B7A733500D55EF8 /* DBFILEPROPERTIESTemplateError.h in Headers */, + F99E17082B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h in Headers */, + F99E13182B7A733400D55EF8 /* DBTEAMCOMMONTimeRange.h in Headers */, + F99E20762B7A733D00D55EF8 /* DBFILESCreateFolderResult.h in Headers */, + F99E1CB02B7A733A00D55EF8 /* DBTEAMLOGFileEditType.h in Headers */, + F99E18E82B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordType.h in Headers */, + F99E16EC2B7A733600D55EF8 /* DBTEAMLOGFileCommentsChangePolicyType.h in Headers */, + F99E1CAE2B7A733A00D55EF8 /* DBTEAMLOGShowcaseAccessGrantedDetails.h in Headers */, + F99E132E2B7A733400D55EF8 /* DBOPENIDUserInfoError.h in Headers */, + F99E1F782B7A733C00D55EF8 /* DBFILESSyncSettingArg.h in Headers */, + F99E180E2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsAddMembersType.h in Headers */, + F99E1FDA2B7A733C00D55EF8 /* DBFILESUploadSessionAppendArg.h in Headers */, + F99E1BBC2B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h in Headers */, + F99E19EE2B7A733800D55EF8 /* DBTEAMLOGDurationLogInfo.h in Headers */, + F99E16D82B7A733600D55EF8 /* DBTEAMLOGEmailIngestReceiveFileDetails.h in Headers */, + F99E193A2B7A733700D55EF8 /* DBTEAMLOGSignInAsSessionStartType.h in Headers */, + F99E1D182B7A733A00D55EF8 /* DBTEAMLOGShowcaseRenamedDetails.h in Headers */, + F99E1BB22B7A733900D55EF8 /* DBTEAMLOGSharedContentAddLinkPasswordType.h in Headers */, + F99E13B82B7A733400D55EF8 /* DBTEAMTeamFolderListResult.h in Headers */, + F99E1F5C2B7A733C00D55EF8 /* DBFILESPathToTags.h in Headers */, + F99E1C942B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileAddedType.h in Headers */, + F99E17962B7A733600D55EF8 /* DBTEAMLOGGuestAdminChangeStatusDetails.h in Headers */, + F99E16CA2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h in Headers */, + F99E17FA2B7A733700D55EF8 /* DBTEAMLOGGovernancePolicyDeleteType.h in Headers */, + F99E1AC42B7A733800D55EF8 /* DBTEAMLOGOrganizationName.h in Headers */, + F99E130C2B7A733400D55EF8 /* DBASYNCLaunchEmptyResult.h in Headers */, + F99E19C42B7A733800D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h in Headers */, + F99E110A2B7A733300D55EF8 /* DBPAPERRefPaperDoc.h in Headers */, + F99E1BD82B7A733900D55EF8 /* DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h in Headers */, + F99E20862B7A733D00D55EF8 /* DBFILESFileStatus.h in Headers */, + F99E14282B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateStatus.h in Headers */, + F99E12A22B7A733400D55EF8 /* DBSHARINGLinkAccessLevel.h in Headers */, + F99E1E602B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h in Headers */, + F99E112C2B7A733300D55EF8 /* DBPAPERAddPaperDocUserResult.h in Headers */, + F99E168A2B7A733600D55EF8 /* DBTEAMLOGSfFbInviteType.h in Headers */, + F99E1F182B7A733B00D55EF8 /* DBFILESLockFileResultEntry.h in Headers */, + F99E13F82B7A733400D55EF8 /* DBTEAMListMembersAppsError.h in Headers */, + F99E18DE2B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemPinnedDetails.h in Headers */, + F99E19182B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h in Headers */, + F99E19A02B7A733800D55EF8 /* DBTEAMLOGTfaResetDetails.h in Headers */, + F99E16E42B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h in Headers */, + F99E1F462B7A733C00D55EF8 /* DBFILESMetadata.h in Headers */, + F99E1D542B7A733A00D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainDetails.h in Headers */, + F99E1A1C2B7A733800D55EF8 /* DBTEAMLOGGroupRenameDetails.h in Headers */, + F99E1D122B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h in Headers */, + F99E190C2B7A733700D55EF8 /* DBTEAMLOGTeamFolderCreateDetails.h in Headers */, + F99E1AEA2B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedType.h in Headers */, + F99E1DE02B7A733B00D55EF8 /* DBTEAMLOGTeamMemberLogInfo.h in Headers */, + F99E12942B7A733300D55EF8 /* DBSHARINGFolderPermission.h in Headers */, + F99E1D222B7A733A00D55EF8 /* DBTEAMLOGPaperContentRenameType.h in Headers */, + F99E206E2B7A733C00D55EF8 /* DBFILESSaveCopyReferenceResult.h in Headers */, + F99E19F62B7A733800D55EF8 /* DBTEAMLOGPaperFolderTeamInviteDetails.h in Headers */, + F99E1CFA2B7A733A00D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyDetails.h in Headers */, + F99E15C82B7A733500D55EF8 /* DBTEAMLOGShowcaseArchivedDetails.h in Headers */, + F99E19F22B7A733800D55EF8 /* DBTEAMLOGTfaRemoveExceptionDetails.h in Headers */, + F99E11442B7A733300D55EF8 /* DBTEAMPOLICIESPaperEnabledPolicy.h in Headers */, + F99E1CBC2B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h in Headers */, + F99E12142B7A733300D55EF8 /* DBSHARINGListFileMembersArg.h in Headers */, + F99E1D702B7A733A00D55EF8 /* DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h in Headers */, + F99E14242B7A733400D55EF8 /* DBTEAMSetCustomQuotaError.h in Headers */, + F99E15A22B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchResult.h in Headers */, + F99E121A2B7A733300D55EF8 /* DBSHARINGListFileMembersBatchResult.h in Headers */, + F99E1FD22B7A733C00D55EF8 /* DBFILESUploadSessionLookupError.h in Headers */, + F99E12822B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyArg.h in Headers */, + F99E1A522B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleDetails.h in Headers */, + F99E12482B7A733300D55EF8 /* DBSHARINGPathLinkMetadata.h in Headers */, + F99E14B82B7A733500D55EF8 /* DBTEAMMembersGetInfoItemV2.h in Headers */, + F99E19EA2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h in Headers */, + F99E15FC2B7A733500D55EF8 /* DBTEAMLOGTeamProfileAddBackgroundType.h in Headers */, + F99E1E7A2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertingAlertSensitivity.h in Headers */, + F99E1DA42B7A733A00D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryType.h in Headers */, + F99E12E02B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestError.h in Headers */, + F99E1C4A2B7A733900D55EF8 /* DBTEAMLOGPaperFolderFollowedDetails.h in Headers */, + F99E1EDC2B7A733B00D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h in Headers */, + F99E1CB42B7A733A00D55EF8 /* DBTEAMLOGSsoChangePolicyDetails.h in Headers */, + F99E18442B7A733700D55EF8 /* DBTEAMLOGMemberChangeExternalIdDetails.h in Headers */, + F99E16542B7A733600D55EF8 /* DBTEAMLOGBinderRenameSectionDetails.h in Headers */, + F99E1D6E2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h in Headers */, + F99E17662B7A733600D55EF8 /* DBTEAMLOGFileRequestReceiveFileType.h in Headers */, + F99E158C2B7A733500D55EF8 /* DBFILEPROPERTIESRemovePropertiesArg.h in Headers */, + F99E11E62B7A733300D55EF8 /* DBSHARINGAccessLevel.h in Headers */, + F99E1E322B7A733B00D55EF8 /* DBTEAMLOGViewerInfoPolicyChangedDetails.h in Headers */, + F99E20F22B7A733D00D55EF8 /* DBFILESUserAuthRoutes.h in Headers */, + F99E1F142B7A733B00D55EF8 /* DBFILESUploadWriteFailed.h in Headers */, + F99E13A02B7A733400D55EF8 /* DBTEAMGroupFullInfo.h in Headers */, + F99E13702B7A733400D55EF8 /* DBTEAMMembersRemoveError.h in Headers */, + F99E13FE2B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Result.h in Headers */, + F99E150C2B7A733500D55EF8 /* DBTEAMApiApp.h in Headers */, + F99E1BF82B7A733900D55EF8 /* DBTEAMLOGFileOrFolderLogInfo.h in Headers */, + F99E16902B7A733600D55EF8 /* DBTEAMLOGPaperContentRemoveMemberDetails.h in Headers */, + F99E13502B7A733400D55EF8 /* DBTEAMHasTeamSelectiveSyncValue.h in Headers */, + F99E151C2B7A733500D55EF8 /* DBTEAMMemberAddArg.h in Headers */, + F99E1AAE2B7A733800D55EF8 /* DBTEAMLOGLabelType.h in Headers */, + F99E11EA2B7A733300D55EF8 /* DBSHARINGUnmountFolderArg.h in Headers */, + F99E171C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h in Headers */, + F99E1AD62B7A733800D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneType.h in Headers */, + F99E11262B7A733300D55EF8 /* DBPAPERSharingPublicPolicyType.h in Headers */, + F99E1A882B7A733800D55EF8 /* DBTEAMLOGPaperDocRequestAccessDetails.h in Headers */, + F99E1D6C2B7A733A00D55EF8 /* DBTEAMLOGTeamProfileAddLogoType.h in Headers */, + F99E182E2B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionEndDetails.h in Headers */, + F99E16DA2B7A733600D55EF8 /* DBTEAMLOGTfaAddExceptionType.h in Headers */, + F99E14D82B7A733500D55EF8 /* DBTEAMCustomQuotaError.h in Headers */, + F99E1E562B7A733B00D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentDetails.h in Headers */, + F99E149C2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveArgs.h in Headers */, + F99E201E2B7A733C00D55EF8 /* DBFILESUploadSessionStartError.h in Headers */, + F99E1B182B7A733900D55EF8 /* DBTEAMLOGFileRequestsEmailsEnabledDetails.h in Headers */, + F99E14262B7A733400D55EF8 /* DBTEAMGroupMemberSelector.h in Headers */, + F99E162A2B7A733600D55EF8 /* DBTEAMLOGRecipientsConfiguration.h in Headers */, + F99E207E2B7A733D00D55EF8 /* DBFILESGetMetadataError.h in Headers */, + F99E11F82B7A733300D55EF8 /* DBSHARINGInviteeMembershipInfo.h in Headers */, + F99E10CA2B7A733200D55EF8 /* DBPAPERPaperDocSharingPolicy.h in Headers */, + F99E11D82B7A733300D55EF8 /* DBSHARINGGetFileMetadataBatchResult.h in Headers */, + F99E17782B7A733600D55EF8 /* DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h in Headers */, + F99E1B202B7A733900D55EF8 /* DBTEAMLOGGroupChangeManagementTypeType.h in Headers */, + F99E201A2B7A733C00D55EF8 /* DBFILESMinimalFileLinkMetadata.h in Headers */, + F99E11A02B7A733300D55EF8 /* DBSHARINGGetSharedLinksError.h in Headers */, + F99E14C62B7A733500D55EF8 /* DBTEAMDateRange.h in Headers */, + F99E14082B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsContinueArg.h in Headers */, + F99E1BEE2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutType.h in Headers */, + F99E12642B7A733300D55EF8 /* DBSHARINGListFoldersResult.h in Headers */, + F99E111E2B7A733300D55EF8 /* DBPAPERPaperFolderCreateArg.h in Headers */, + F99E200E2B7A733C00D55EF8 /* DBFILESFileMetadata.h in Headers */, + F99E1AD22B7A733800D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedType.h in Headers */, + F99E12FC2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestError.h in Headers */, + F99E11BE2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkWithSettingsArg.h in Headers */, + F99E1A702B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersType.h in Headers */, + F99E12342B7A733300D55EF8 /* DBSHARINGUnmountFolderError.h in Headers */, + F99E18A62B7A733700D55EF8 /* DBTEAMLOGSharedFolderMountDetails.h in Headers */, + F99E1E862B7A733B00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h in Headers */, + F99E16FE2B7A733600D55EF8 /* DBTEAMLOGShowcaseUnresolveCommentType.h in Headers */, + F99E11D22B7A733300D55EF8 /* DBSHARINGRemoveFileMemberError.h in Headers */, + F99E1C262B7A733900D55EF8 /* DBTEAMLOGSsoChangeSamlIdentityModeDetails.h in Headers */, + F99E14F42B7A733500D55EF8 /* DBTEAMTeamFolderGetInfoItem.h in Headers */, + F99E1FBE2B7A733C00D55EF8 /* DBFILESFileCategory.h in Headers */, + F99E183C2B7A733700D55EF8 /* DBTEAMLOGSsoAddLogoutUrlDetails.h in Headers */, + F99E167E2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsType.h in Headers */, + F99E1EEE2B7A733B00D55EF8 /* DBTEAMLOGAccountCaptureMigrateAccountDetails.h in Headers */, + F99E191E2B7A733700D55EF8 /* DBTEAMLOGFileRequestsChangePolicyDetails.h in Headers */, + F99E1DF02B7A733B00D55EF8 /* DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h in Headers */, + F99E1EAC2B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedType.h in Headers */, + F99E19682B7A733700D55EF8 /* DBTEAMLOGPaperExternalViewDefaultTeamType.h in Headers */, + F99E1F842B7A733C00D55EF8 /* DBFILESUploadSessionCursor.h in Headers */, + F99E19262B7A733700D55EF8 /* DBTEAMLOGResellerLogInfo.h in Headers */, + F99E202A2B7A733C00D55EF8 /* DBFILESCreateFolderBatchResultEntry.h in Headers */, + F99E18D22B7A733700D55EF8 /* DBTEAMLOGSecondaryEmailVerifiedDetails.h in Headers */, + F99E1F1C2B7A733C00D55EF8 /* DBFILESImportFormat.h in Headers */, + F99E1A8E2B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h in Headers */, + F99E17D62B7A733700D55EF8 /* DBTEAMLOGUserLogInfo.h in Headers */, + F99E17E62B7A733700D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateType.h in Headers */, + F99E1F662B7A733C00D55EF8 /* DBFILESVideoMetadata.h in Headers */, + F99E11B22B7A733300D55EF8 /* DBSHARINGUpdateFolderPolicyError.h in Headers */, + F99E14EE2B7A733500D55EF8 /* DBTEAMGroupsListContinueArg.h in Headers */, + F99E188C2B7A733700D55EF8 /* DBTEAMLOGBackupAdminInvitationSentDetails.h in Headers */, + F99E1DF82B7A733B00D55EF8 /* DBTEAMLOGSharedContentRestoreInviteesDetails.h in Headers */, + F99E11E42B7A733300D55EF8 /* DBSHARINGPermissionDeniedReason.h in Headers */, + F99E180A2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h in Headers */, + F99E14DC2B7A733500D55EF8 /* DBTEAMSharingAllowlistListArg.h in Headers */, + F99E12C22B7A733400D55EF8 /* DBAUTHInvalidAccountTypeError.h in Headers */, + F99E1EF22B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h in Headers */, + F99E1EC42B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedDetails.h in Headers */, + F99E1EBE2B7A733B00D55EF8 /* DBTEAMLOGPaperContentArchiveType.h in Headers */, + F99E17362B7A733600D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersDetails.h in Headers */, + F99E1B462B7A733900D55EF8 /* DBTEAMLOGPaperFolderTeamInviteType.h in Headers */, + F99E120E2B7A733300D55EF8 /* DBSHARINGCreateSharedLinkArg.h in Headers */, + F99E142A2B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminError.h in Headers */, + F99E1FD42B7A733C00D55EF8 /* DBFILESListFolderResult.h in Headers */, + F99E1D602B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCopyType.h in Headers */, + F99E17CE2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h in Headers */, + F99E19CE2B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedType.h in Headers */, + F99E1F1A2B7A733C00D55EF8 /* DBFILESGetTemporaryLinkError.h in Headers */, + F99E123C2B7A733300D55EF8 /* DBSHARINGUserMembershipInfo.h in Headers */, + F99E18302B7A733700D55EF8 /* DBTEAMLOGFileTransfersPolicy.h in Headers */, + F99E1C2A2B7A733900D55EF8 /* DBTEAMLOGObjectLabelUpdatedValueDetails.h in Headers */, + F99E1C002B7A733900D55EF8 /* DBTEAMLOGGroupRemoveMemberDetails.h in Headers */, + F99E17642B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h in Headers */, + F99E1A262B7A733800D55EF8 /* DBTEAMLOGDeviceUnlinkDetails.h in Headers */, + F99E15422B7A733500D55EF8 /* DBTEAMExcludedUsersListContinueArg.h in Headers */, + F99E187A2B7A733700D55EF8 /* DBTEAMLOGSharedNoteOpenedType.h in Headers */, + F99E12C02B7A733400D55EF8 /* DBAUTHRateLimitError.h in Headers */, + F99E14AA2B7A733500D55EF8 /* DBTEAMTeamFolderArchiveArg.h in Headers */, + F99E1CA22B7A733A00D55EF8 /* DBTEAMLOGUserNameLogInfo.h in Headers */, + F99E20882B7A733D00D55EF8 /* DBFILESCreateFolderArg.h in Headers */, + F99E12122B7A733300D55EF8 /* DBSHARINGSharedLinkAlreadyExistsMetadata.h in Headers */, + F99E16B82B7A733600D55EF8 /* DBTEAMLOGClassificationPolicyEnumWrapper.h in Headers */, + F99E16E02B7A733600D55EF8 /* DBTEAMLOGMemberChangeAdminRoleDetails.h in Headers */, + F99E1B282B7A733900D55EF8 /* DBTEAMLOGPaperExternalViewForbidDetails.h in Headers */, + F99E21102B7A733D00D55EF8 /* DBUSERSRouteObjects.h in Headers */, + F99E20142B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultData.h in Headers */, + F99E20D42B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.h in Headers */, + F99E1C9C2B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportDetails.h in Headers */, + F99E18A82B7A733700D55EF8 /* DBTEAMLOGExtendedVersionHistoryChangePolicyType.h in Headers */, + F99E1D762B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredType.h in Headers */, + F99E17522B7A733600D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h in Headers */, + F99E184A2B7A733700D55EF8 /* DBTEAMLOGBackupInvitationOpenedDetails.h in Headers */, + F99E11582B7A733300D55EF8 /* DBTEAMPOLICIESExternalDriveBackupPolicyState.h in Headers */, + F99E16AA2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteDetails.h in Headers */, + F99E12B02B7A733400D55EF8 /* DBSHARINGUnshareFileArg.h in Headers */, + F99E1EC02B7A733B00D55EF8 /* DBTEAMLOGExternalDriveBackupPolicy.h in Headers */, + F99E20842B7A733D00D55EF8 /* DBFILESCreateFolderBatchArg.h in Headers */, + F99E1E1E2B7A733B00D55EF8 /* DBTEAMLOGDisabledDomainInvitesDetails.h in Headers */, + F99E12DC2B7A733400D55EF8 /* DBFILEREQUESTSGeneralFileRequestsError.h in Headers */, + F99E17482B7A733600D55EF8 /* DBTEAMLOGTeamFolderCreateType.h in Headers */, + F99E203C2B7A733C00D55EF8 /* DBFILESSharingInfo.h in Headers */, + F99E18A42B7A733700D55EF8 /* DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h in Headers */, + F99E16062B7A733500D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesType.h in Headers */, + F99E1A682B7A733800D55EF8 /* DBTEAMLOGSharedContentUnshareDetails.h in Headers */, + F99E1B642B7A733900D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedType.h in Headers */, + F99E19D22B7A733800D55EF8 /* DBTEAMLOGIntegrationPolicyChangedType.h in Headers */, + F99E1AB62B7A733800D55EF8 /* DBTEAMLOGDeviceSessionLogInfo.h in Headers */, + F99E1C082B7A733900D55EF8 /* DBTEAMLOGMemberChangeAdminRoleType.h in Headers */, + F99E18182B7A733700D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldDetails.h in Headers */, + F99E12CE2B7A733400D55EF8 /* DBFILEREQUESTSGetFileRequestArgs.h in Headers */, + F99E1E242B7A733B00D55EF8 /* DBTEAMLOGFileResolveCommentType.h in Headers */, + F99E11802B7A733300D55EF8 /* DBSHARINGMemberPolicy.h in Headers */, + F99E152C2B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyReleaseArg.h in Headers */, + F99E15322B7A733500D55EF8 /* DBTEAMUserResendResult.h in Headers */, + F99E16262B7A733600D55EF8 /* DBTEAMLOGTfaRemoveExceptionType.h in Headers */, + F99E12502B7A733300D55EF8 /* DBSHARINGInsufficientPlan.h in Headers */, + F99E182A2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h in Headers */, + F99E20482B7A733C00D55EF8 /* DBFILESDeleteBatchError.h in Headers */, + F99E12FA2B7A733400D55EF8 /* DBFILEREQUESTSDeleteAllClosedFileRequestsError.h in Headers */, + F99E1D302B7A733A00D55EF8 /* DBTEAMLOGFileRequestsChangePolicyType.h in Headers */, + F99E1D442B7A733A00D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h in Headers */, + F99E1BA62B7A733900D55EF8 /* DBTEAMLOGMemberTransferredInternalFields.h in Headers */, + F99E134E2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionStatus.h in Headers */, + F99E13802B7A733400D55EF8 /* DBTEAMMembersAddLaunchV2Result.h in Headers */, + F99E15AC2B7A733500D55EF8 /* DBUSERSIndividualSpaceAllocation.h in Headers */, + F99E1E062B7A733B00D55EF8 /* DBTEAMLOGPaperContentPermanentlyDeleteDetails.h in Headers */, + F99E1E662B7A733B00D55EF8 /* DBTEAMLOGFileCopyType.h in Headers */, + F99E14B22B7A733500D55EF8 /* DBTEAMListTeamAppsResult.h in Headers */, + F99E1A4C2B7A733800D55EF8 /* DBTEAMLOGSmartSyncOptOutPolicy.h in Headers */, + F99E1C102B7A733900D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedDetails.h in Headers */, + F99E18B02B7A733700D55EF8 /* DBTEAMLOGNoteSharedDetails.h in Headers */, + F99E17C82B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedDetails.h in Headers */, + F99E15C42B7A733500D55EF8 /* DBUSERSSpaceAllocation.h in Headers */, + F99E19502B7A733700D55EF8 /* DBTEAMLOGReplayProjectTeamAddDetails.h in Headers */, + F99E179A2B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyType.h in Headers */, + F99E142E2B7A733400D55EF8 /* DBTEAMGroupMembersAddArg.h in Headers */, + F99E1B102B7A733900D55EF8 /* DBTEAMLOGLegacyDeviceSessionLogInfo.h in Headers */, + F99E13A82B7A733400D55EF8 /* DBTEAMTokenGetAuthenticatedAdminResult.h in Headers */, + F99E12B42B7A733400D55EF8 /* DBSEENSTATEPlatformType.h in Headers */, + F99E14BA2B7A733500D55EF8 /* DBTEAMBaseTeamFolderError.h in Headers */, + F99E192C2B7A733700D55EF8 /* DBTEAMLOGTwoAccountChangePolicyDetails.h in Headers */, + F99E1D342B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsAddPasswordType.h in Headers */, + F99E15622B7A733500D55EF8 /* DBFILEPROPERTIESOverwritePropertyGroupArg.h in Headers */, + F99E20D62B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.h in Headers */, + F99E15222B7A733500D55EF8 /* DBTEAMMembersGetInfoError.h in Headers */, + F99E15C22B7A733500D55EF8 /* DBUSERSAccount.h in Headers */, + F99E11CA2B7A733300D55EF8 /* DBSHARINGLinkSettings.h in Headers */, + F99E1AAC2B7A733800D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h in Headers */, + F99E14C42B7A733500D55EF8 /* DBTEAMListMemberDevicesArg.h in Headers */, + F99E14E82B7A733500D55EF8 /* DBTEAMMembersRecoverArg.h in Headers */, + F99E1FF82B7A733C00D55EF8 /* DBFILESDimensions.h in Headers */, + F99E14422B7A733400D55EF8 /* DBTEAMMembersListArg.h in Headers */, + F99E12622B7A733300D55EF8 /* DBSHARINGListFolderMembersArgs.h in Headers */, + F99E20362B7A733C00D55EF8 /* DBFILESPathOrLink.h in Headers */, + F99E15F62B7A733500D55EF8 /* DBTEAMLOGComputerBackupPolicy.h in Headers */, + F99E1B682B7A733900D55EF8 /* DBTEAMLOGFileAddCommentDetails.h in Headers */, + F99E1F542B7A733C00D55EF8 /* DBFILESSaveUrlArg.h in Headers */, + F99E19F42B7A733800D55EF8 /* DBTEAMLOGAccountCaptureChangePolicyType.h in Headers */, + F99E1A2C2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h in Headers */, + F99E18582B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h in Headers */, + F99E19342B7A733700D55EF8 /* DBTEAMLOGSharedContentAddInviteesDetails.h in Headers */, + F99E10D02B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocArgs.h in Headers */, + F99E18EC2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveMemberDetails.h in Headers */, + F99E1DC62B7A733A00D55EF8 /* DBTEAMLOGClassificationChangePolicyDetails.h in Headers */, + F99E18402B7A733700D55EF8 /* DBTEAMLOGExternalUserLogInfo.h in Headers */, + F99E1E282B7A733B00D55EF8 /* DBTEAMLOGResellerRole.h in Headers */, + F99E18F62B7A733700D55EF8 /* DBTEAMLOGLogoutType.h in Headers */, + F99E19802B7A733800D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedType.h in Headers */, + F99E19622B7A733700D55EF8 /* DBTEAMLOGTeamExtensionsPolicyChangedType.h in Headers */, + F99E11222B7A733300D55EF8 /* DBPAPERPaperDocCreateArgs.h in Headers */, + F99E1FB62B7A733C00D55EF8 /* DBFILESFileOpsResult.h in Headers */, + F99E1A602B7A733800D55EF8 /* DBTEAMLOGFailureDetailsLogInfo.h in Headers */, + F99E13D82B7A733400D55EF8 /* DBTEAMListMemberDevicesResult.h in Headers */, + F99E14022B7A733400D55EF8 /* DBTEAMMembersAddLaunch.h in Headers */, + F99E205C2B7A733C00D55EF8 /* DBFILESPaperCreateResult.h in Headers */, + F99E1F2C2B7A733C00D55EF8 /* DBFILESGetTemporaryUploadLinkArg.h in Headers */, + F99E16282B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkCreateDetails.h in Headers */, + F99E138E2B7A733400D55EF8 /* DBTEAMSharingAllowlistRemoveError.h in Headers */, + F99E17142B7A733600D55EF8 /* DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h in Headers */, + F99E12B62B7A733400D55EF8 /* DBAUTHTokenScopeError.h in Headers */, + F99E11522B7A733300D55EF8 /* DBTEAMPOLICIESRolloutMethod.h in Headers */, + F99E19302B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryType.h in Headers */, + F99E13D22B7A733400D55EF8 /* DBTEAMTeamFolderIdArg.h in Headers */, + F99E1F0C2B7A733B00D55EF8 /* DBFILESThumbnailError.h in Headers */, + F99E18762B7A733700D55EF8 /* DBTEAMLOGSharedContentCopyType.h in Headers */, + F99E1ABC2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpMobileType.h in Headers */, + F99E1BDC2B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyCreateType.h in Headers */, + F99E10D22B7A733200D55EF8 /* DBPAPERPaperDocCreateUpdateResult.h in Headers */, + F99E13CC2B7A733400D55EF8 /* DBTEAMLegalHoldHeldRevisionMetadata.h in Headers */, + F99E17DA2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkDetails.h in Headers */, + F99E199E2B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersType.h in Headers */, + F99E1B322B7A733900D55EF8 /* DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h in Headers */, + F99E1C5A2B7A733900D55EF8 /* DBTEAMLOGShowcaseExternalSharingPolicy.h in Headers */, + F99E1CD22B7A733A00D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedDetails.h in Headers */, + F99E1ACE2B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h in Headers */, + F99E131A2B7A733400D55EF8 /* DBTEAMCOMMONGroupManagementType.h in Headers */, + F99E1A082B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageDetails.h in Headers */, + F99E1A362B7A733800D55EF8 /* DBTEAMLOGPaperDocAddCommentDetails.h in Headers */, + F99E202E2B7A733C00D55EF8 /* DBFILESDownloadArg.h in Headers */, + F99E12002B7A733300D55EF8 /* DBSHARINGLinkPermission.h in Headers */, + F99E1F1E2B7A733C00D55EF8 /* DBFILESMetadataV2.h in Headers */, + F99E1EB22B7A733B00D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedDetails.h in Headers */, + F99E120C2B7A733300D55EF8 /* DBSHARINGAddFolderMemberError.h in Headers */, + F99E1A982B7A733800D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h in Headers */, + F99E164C2B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h in Headers */, + F99E1CA02B7A733A00D55EF8 /* DBTEAMLOGSharedFolderUnmountType.h in Headers */, + F99E13122B7A733400D55EF8 /* DBASYNCPollError.h in Headers */, + F99E1DC82B7A733A00D55EF8 /* DBTEAMLOGUserOrTeamLinkedAppLogInfo.h in Headers */, + F99E15562B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesError.h in Headers */, + F99E182C2B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeLinkAudienceType.h in Headers */, + F99E11302B7A733300D55EF8 /* DBTEAMPOLICIESShowcaseEnabledPolicy.h in Headers */, + F99E18AA2B7A733700D55EF8 /* DBTEAMLOGFileEditCommentType.h in Headers */, + F99E169A2B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h in Headers */, + F99E1B1A2B7A733900D55EF8 /* DBTEAMLOGSharedLinkVisibility.h in Headers */, + F99E19AE2B7A733800D55EF8 /* DBTEAMLOGTfaConfiguration.h in Headers */, + F99E15B22B7A733500D55EF8 /* DBUSERSName.h in Headers */, + F99E1C482B7A733900D55EF8 /* DBTEAMLOGTeamMergeToType.h in Headers */, + F99E137C2B7A733400D55EF8 /* DBTEAMMembersListContinueError.h in Headers */, + F99E19A42B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedType.h in Headers */, + F99E19022B7A733700D55EF8 /* DBTEAMLOGFileDownloadDetails.h in Headers */, + F99E1F002B7A733B00D55EF8 /* DBTEAMLOGSharedLinkViewDetails.h in Headers */, + F99E1B062B7A733900D55EF8 /* DBTEAMLOGSsoChangeLogoutUrlDetails.h in Headers */, + F99E17262B7A733600D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyType.h in Headers */, + F99E208C2B7A733D00D55EF8 /* DBFILESUploadSessionFinishArg.h in Headers */, + F99E1A002B7A733800D55EF8 /* DBTEAMLOGPaperDocTeamInviteType.h in Headers */, + F99E1CC62B7A733A00D55EF8 /* DBTEAMLOGEmmCreateUsageReportDetails.h in Headers */, + F99E1A062B7A733800D55EF8 /* DBTEAMLOGSharedLinkAddExpiryDetails.h in Headers */, + F99E140A2B7A733400D55EF8 /* DBTEAMUsersSelectorArg.h in Headers */, + F99E1BC62B7A733900D55EF8 /* DBTEAMLOGPaperDocAddCommentType.h in Headers */, + F99E126A2B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceError.h in Headers */, + F99E141E2B7A733400D55EF8 /* DBTEAMGroupSelectorError.h in Headers */, + F99E1A042B7A733800D55EF8 /* DBTEAMLOGPaperAdminExportStartType.h in Headers */, + F99E15CC2B7A733500D55EF8 /* DBTEAMLOGSharingChangeLinkPolicyType.h in Headers */, + F99E1AC22B7A733800D55EF8 /* DBTEAMLOGDesktopDeviceSessionLogInfo.h in Headers */, + F99E1E482B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h in Headers */, + F99E20402B7A733C00D55EF8 /* DBFILESBaseTagError.h in Headers */, + F99E1CBE2B7A733A00D55EF8 /* DBTEAMLOGGroupRemoveExternalIdDetails.h in Headers */, + F99E10FA2B7A733300D55EF8 /* DBPAPERPaperDocExportResult.h in Headers */, + F99E1A8A2B7A733800D55EF8 /* DBTEAMLOGPaperContentAddToFolderDetails.h in Headers */, + F99E1BC02B7A733900D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedType.h in Headers */, + F99E10EC2B7A733300D55EF8 /* DBPAPERListPaperDocsFilterBy.h in Headers */, + F99E168E2B7A733600D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkType.h in Headers */, + F99E17402B7A733600D55EF8 /* DBTEAMLOGFileAddType.h in Headers */, + F99E1E002B7A733B00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberType.h in Headers */, + F99E10F22B7A733300D55EF8 /* DBPAPERAddMember.h in Headers */, + F99E1B6C2B7A733900D55EF8 /* DBTEAMLOGSfTeamGrantAccessType.h in Headers */, + F99E12802B7A733300D55EF8 /* DBSHARINGTransferFolderArg.h in Headers */, + F99E1BD02B7A733900D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyDetails.h in Headers */, + F99E1F702B7A733C00D55EF8 /* DBFILESExportMetadata.h in Headers */, + F99E1B4E2B7A733900D55EF8 /* DBTEAMLOGOrganizationDetails.h in Headers */, + F99E14902B7A733500D55EF8 /* DBTEAMLegalHoldsError.h in Headers */, + F99E177C2B7A733600D55EF8 /* DBTEAMLOGSfTeamInviteDetails.h in Headers */, + F99E12682B7A733300D55EF8 /* DBSHARINGLinkAudienceOption.h in Headers */, + F99E19822B7A733800D55EF8 /* DBTEAMLOGLegalHoldsReleaseAHoldType.h in Headers */, + F99E1D282B7A733A00D55EF8 /* DBTEAMLOGLegalHoldsExportAHoldType.h in Headers */, + F99E13642B7A733400D55EF8 /* DBTEAMResendVerificationEmailArg.h in Headers */, + F99E157C2B7A733500D55EF8 /* DBFILEPROPERTIESRemoveTemplateArg.h in Headers */, + F99E133A2B7A733400D55EF8 /* DBTEAMGroupMembersRemoveError.h in Headers */, + F99E210C2B7A733D00D55EF8 /* DBCONTACTSRouteObjects.h in Headers */, + F99E1F9C2B7A733C00D55EF8 /* DBFILESCreateFolderError.h in Headers */, + F99E18F02B7A733700D55EF8 /* DBTEAMLOGShowcaseEnabledPolicy.h in Headers */, + F99E1FDC2B7A733C00D55EF8 /* DBFILESRelocationResult.h in Headers */, + F99E18462B7A733700D55EF8 /* DBTEAMLOGSendForSignaturePolicyChangedDetails.h in Headers */, + F99E17D02B7A733700D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h in Headers */, + F99E14782B7A733500D55EF8 /* DBTEAMListMemberDevicesError.h in Headers */, + F99E14462B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionError.h in Headers */, + F99E136C2B7A733400D55EF8 /* DBTEAMLegalHoldStatus.h in Headers */, + F99E1E302B7A733B00D55EF8 /* DBTEAMLOGSharedContentCopyDetails.h in Headers */, + F99E1FBC2B7A733C00D55EF8 /* DBFILESWriteConflictError.h in Headers */, + F99E17022B7A733600D55EF8 /* DBTEAMLOGObjectLabelRemovedDetails.h in Headers */, + F99E135C2B7A733400D55EF8 /* DBTEAMRemovedStatus.h in Headers */, + F99E1FCE2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchResult.h in Headers */, + F99E198C2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h in Headers */, + F99E151E2B7A733500D55EF8 /* DBTEAMSharingAllowlistRemoveResponse.h in Headers */, + F99E15CA2B7A733500D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryType.h in Headers */, + F99E1DAE2B7A733A00D55EF8 /* DBTEAMLOGChangeLinkExpirationPolicy.h in Headers */, + F99E1E042B7A733B00D55EF8 /* DBTEAMLOGShowcasePostCommentDetails.h in Headers */, + F99E1FDE2B7A733C00D55EF8 /* DBFILESRelocationBatchErrorEntry.h in Headers */, + F99E17AE2B7A733600D55EF8 /* DBTEAMLOGTeamLogInfo.h in Headers */, + F99E1F682B7A733C00D55EF8 /* DBFILESUploadSessionFinishBatchJobStatus.h in Headers */, + F99E17442B7A733600D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeStatusType.h in Headers */, + F99E20782B7A733D00D55EF8 /* DBFILESUploadSessionFinishBatchArg.h in Headers */, + F99E1D022B7A733A00D55EF8 /* DBTEAMLOGSsoRemoveCertDetails.h in Headers */, + F99E16042B7A733500D55EF8 /* DBTEAMLOGShowcaseResolveCommentType.h in Headers */, + F99E1AE42B7A733800D55EF8 /* DBTEAMLOGLegalHoldsExportRemovedDetails.h in Headers */, + F99E13CE2B7A733400D55EF8 /* DBTEAMMembersGetInfoItemBase.h in Headers */, + F99E18B22B7A733700D55EF8 /* DBTEAMLOGFileEditDetails.h in Headers */, + F99E16E82B7A733600D55EF8 /* DBTEAMLOGPaperExternalViewAllowType.h in Headers */, + F99E20302B7A733C00D55EF8 /* DBFILESExportArg.h in Headers */, + F99E19E42B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyType.h in Headers */, + F99E139A2B7A733400D55EF8 /* DBTEAMMemberSelectorError.h in Headers */, + F99E150E2B7A733500D55EF8 /* DBTEAMFeatureValue.h in Headers */, + F99E152E2B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueError.h in Headers */, + F99E1A4E2B7A733800D55EF8 /* DBTEAMLOGCameraUploadsPolicyChangedType.h in Headers */, + F99E1A1A2B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyDetails.h in Headers */, + F99E17B62B7A733600D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleDetails.h in Headers */, + F99E20B82B7A733D00D55EF8 /* DBStoneValidators.h in Headers */, + F99E1E522B7A733B00D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h in Headers */, + F99E13F42B7A733400D55EF8 /* DBTEAMResendVerificationEmailResult.h in Headers */, + F99E16C22B7A733600D55EF8 /* DBTEAMLOGDownloadPolicyType.h in Headers */, + F99E192A2B7A733700D55EF8 /* DBTEAMLOGPaperDocDeletedDetails.h in Headers */, + F99E11322B7A733300D55EF8 /* DBTEAMPOLICIESComputerBackupPolicyState.h in Headers */, + F99E1E702B7A733B00D55EF8 /* DBTEAMLOGTfaAddSecurityKeyType.h in Headers */, + F99E190E2B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveLinkPasswordType.h in Headers */, + F99E12AA2B7A733400D55EF8 /* DBSHARINGGetMetadataArgs.h in Headers */, + F99E18682B7A733700D55EF8 /* DBTEAMLOGFileRequestDeleteType.h in Headers */, + F99E12702B7A733300D55EF8 /* DBSHARINGListFileMembersContinueArg.h in Headers */, + F99E1DD82B7A733B00D55EF8 /* DBTEAMLOGTeamProfileRemoveBackgroundType.h in Headers */, + F99E1C542B7A733900D55EF8 /* DBTEAMLOGGetTeamEventsContinueArg.h in Headers */, + F99E171A2B7A733600D55EF8 /* DBTEAMLOGFileRenameType.h in Headers */, + F99E16562B7A733600D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedDetails.h in Headers */, + F99E16B42B7A733600D55EF8 /* DBTEAMLOGFileGetCopyReferenceDetails.h in Headers */, + F99E12042B7A733300D55EF8 /* DBSHARINGGetFileMetadataError.h in Headers */, + F99E17F82B7A733700D55EF8 /* DBTEAMLOGShmodelEnableDownloadsDetails.h in Headers */, + F99E177E2B7A733600D55EF8 /* DBTEAMLOGMemberRemoveActionType.h in Headers */, + F99E12D62B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestError.h in Headers */, + F99E1E6E2B7A733B00D55EF8 /* DBTEAMLOGPaperDownloadFormat.h in Headers */, + F99E1CE62B7A733A00D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionType.h in Headers */, + F99E1C402B7A733900D55EF8 /* DBTEAMLOGSharedFolderDeclineInvitationType.h in Headers */, + F99E1F042B7A733B00D55EF8 /* DBTEAMLOGMemberAddNameDetails.h in Headers */, + F99E1FE82B7A733C00D55EF8 /* DBFILESListFolderError.h in Headers */, + F99E1BA02B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h in Headers */, + F99E13EA2B7A733400D55EF8 /* DBTEAMMobileClientSession.h in Headers */, + F99E169C2B7A733600D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyDetails.h in Headers */, + F99E1A762B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h in Headers */, + F99E19A22B7A733800D55EF8 /* DBTEAMLOGGroupCreateDetails.h in Headers */, + F99E1CE82B7A733A00D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h in Headers */, + F99E15442B7A733500D55EF8 /* DBTEAMMembersListError.h in Headers */, + F99E124C2B7A733300D55EF8 /* DBSHARINGLinkPassword.h in Headers */, + F99E15162B7A733500D55EF8 /* DBTEAMListMemberAppsResult.h in Headers */, + F99E17182B7A733600D55EF8 /* DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h in Headers */, + F99E16502B7A733600D55EF8 /* DBTEAMLOGAppUnlinkUserType.h in Headers */, + F99E1EF62B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledDetails.h in Headers */, + F99E1C8A2B7A733A00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedType.h in Headers */, + F99E16DE2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionType.h in Headers */, + F99E11A62B7A733300D55EF8 /* DBSHARINGSharedLinkMetadata.h in Headers */, + F99E148E2B7A733500D55EF8 /* DBTEAMUserSecondaryEmailsResult.h in Headers */, + F99E15B62B7A733500D55EF8 /* DBUSERSUserFeature.h in Headers */, + F99E1DE22B7A733B00D55EF8 /* DBTEAMLOGSharedLinkChangeVisibilityType.h in Headers */, + F99E11CC2B7A733300D55EF8 /* DBSHARINGLinkExpiry.h in Headers */, + F99E1D502B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h in Headers */, + F99E137E2B7A733400D55EF8 /* DBTEAMRevokeLinkedApiAppArg.h in Headers */, + F99E1DEA2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessType.h in Headers */, + F99E13DA2B7A733400D55EF8 /* DBTEAMMemberAccess.h in Headers */, + F99E16662B7A733600D55EF8 /* DBTEAMLOGNoteSharedType.h in Headers */, + F99E11AE2B7A733300D55EF8 /* DBSHARINGSharedFolderMemberError.h in Headers */, + F99E12BA2B7A733400D55EF8 /* DBAUTHAuthError.h in Headers */, + F99E1A122B7A733800D55EF8 /* DBTEAMLOGPaperDocChangeSharingPolicyDetails.h in Headers */, + F99E13F02B7A733400D55EF8 /* DBTEAMGroupMemberSetAccessTypeError.h in Headers */, + F99E18F82B7A733700D55EF8 /* DBTEAMLOGComputerBackupPolicyChangedType.h in Headers */, + F99E158E2B7A733500D55EF8 /* DBFILEPROPERTIESLookupError.h in Headers */, + F99E16F62B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoType.h in Headers */, + F99E17D22B7A733700D55EF8 /* DBTEAMLOGFileTransfersTransferViewType.h in Headers */, + F99E13382B7A733400D55EF8 /* DBTEAMTeamFolderPermanentlyDeleteError.h in Headers */, + F99E14122B7A733400D55EF8 /* DBTEAMMemberAddArgBase.h in Headers */, + F99E1FF62B7A733C00D55EF8 /* DBFILESHighlightSpan.h in Headers */, + F99E12E82B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestDeadline.h in Headers */, + F99E14342B7A733400D55EF8 /* DBTEAMGetMembershipReport.h in Headers */, + F99E1EFA2B7A733B00D55EF8 /* DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h in Headers */, + F99E173A2B7A733600D55EF8 /* DBTEAMLOGFileCommentNotificationPolicy.h in Headers */, + F99E20E22B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.h in Headers */, + F99E1DA82B7A733A00D55EF8 /* DBTEAMLOGPaperDocRevertType.h in Headers */, + F99E18FE2B7A733700D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupAdditionType.h in Headers */, + F99E12AE2B7A733400D55EF8 /* DBSHARINGSharedContentLinkMetadataBase.h in Headers */, + F99E1A402B7A733800D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryType.h in Headers */, + F99E17A82B7A733600D55EF8 /* DBTEAMLOGTeamProfileChangeDefaultLanguageType.h in Headers */, + F99E17102B7A733600D55EF8 /* DBTEAMLOGPaperFolderDeletedType.h in Headers */, + F99E20BC2B7A733D00D55EF8 /* DBSDKImportsGenerated.h in Headers */, + F99E1AFC2B7A733800D55EF8 /* DBTEAMLOGPaperContentCreateDetails.h in Headers */, + F99E1E0A2B7A733B00D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessType.h in Headers */, + F99E11282B7A733300D55EF8 /* DBPAPERUserOnPaperDocFilter.h in Headers */, + F99E135A2B7A733400D55EF8 /* DBTEAMUserResendEmailsResult.h in Headers */, + F99E17A02B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailDetails.h in Headers */, + F99E17E82B7A733700D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneType.h in Headers */, + F99E10F42B7A733300D55EF8 /* DBPAPERListPaperDocsResponse.h in Headers */, + F99E1D982B7A733A00D55EF8 /* DBTEAMLOGFileRenameDetails.h in Headers */, + F99E1DC02B7A733A00D55EF8 /* DBTEAMLOGSharedNoteOpenedDetails.h in Headers */, + F99E11822B7A733300D55EF8 /* DBSHARINGAlphaResolvedVisibility.h in Headers */, + F99E13B22B7A733400D55EF8 /* DBTEAMListMembersDevicesResult.h in Headers */, + F99E14002B7A733400D55EF8 /* DBTEAMTeamFolderListArg.h in Headers */, + F99E206A2B7A733C00D55EF8 /* DBFILESUploadError.h in Headers */, + F99E1BC22B7A733900D55EF8 /* DBTEAMLOGAccessMethodLogInfo.h in Headers */, + F99E14E22B7A733500D55EF8 /* DBTEAMTeamNamespacesListError.h in Headers */, + F99E1D3A2B7A733A00D55EF8 /* DBTEAMLOGFileRequestDeadline.h in Headers */, + F99E14E62B7A733500D55EF8 /* DBTEAMListMembersAppsResult.h in Headers */, + F99E1D422B7A733A00D55EF8 /* DBTEAMLOGSharedContentAddMemberDetails.h in Headers */, + F99E15262B7A733500D55EF8 /* DBTEAMListMembersAppsArg.h in Headers */, + F99E1CEC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertDetails.h in Headers */, + F99E19FE2B7A733800D55EF8 /* DBTEAMLOGSmartSyncChangePolicyType.h in Headers */, + F99E12442B7A733300D55EF8 /* DBSHARINGListFoldersContinueError.h in Headers */, + F99E186C2B7A733700D55EF8 /* DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h in Headers */, + F99E110C2B7A733300D55EF8 /* DBPAPERExportFormat.h in Headers */, + F99E1B362B7A733900D55EF8 /* DBTEAMLOGAppLinkTeamType.h in Headers */, + F99E12422B7A733300D55EF8 /* DBSHARINGSharingFileAccessError.h in Headers */, + F99E12C42B7A733400D55EF8 /* DBAUTHPaperAccessError.h in Headers */, + F99E16522B7A733600D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkType.h in Headers */, + F99E1E8E2B7A733B00D55EF8 /* DBTEAMLOGAdminAlertSeverityEnum.h in Headers */, + F99E19B22B7A733800D55EF8 /* DBTEAMLOGPaperDocSlackShareDetails.h in Headers */, + F99E16462B7A733600D55EF8 /* DBTEAMLOGGovernancePolicyEditDurationDetails.h in Headers */, + F99E1F902B7A733C00D55EF8 /* DBFILESRelocationBatchResultEntry.h in Headers */, + F99E1B162B7A733900D55EF8 /* DBTEAMLOGPaperChangePolicyType.h in Headers */, + F99E18542B7A733700D55EF8 /* DBTEAMLOGPermanentDeleteChangePolicyDetails.h in Headers */, + F99E194C2B7A733700D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicy.h in Headers */, + F99E1B442B7A733900D55EF8 /* DBTEAMLOGReplayProjectTeamAddType.h in Headers */, + F99E1F582B7A733C00D55EF8 /* DBFILESGetTemporaryLinkArg.h in Headers */, + F99E16BC2B7A733600D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedType.h in Headers */, + F99E1BD22B7A733900D55EF8 /* DBTEAMLOGPaperAccessType.h in Headers */, + F99E10FE2B7A733300D55EF8 /* DBPAPERListUsersOnFolderArgs.h in Headers */, + F99E17042B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h in Headers */, + F99E13E62B7A733400D55EF8 /* DBTEAMTeamMemberStatus.h in Headers */, + F99E1DF42B7A733B00D55EF8 /* DBTEAMLOGTeamProfileChangeNameDetails.h in Headers */, + F99E20B62B7A733D00D55EF8 /* DBStoneSerializers.h in Headers */, + F99E194E2B7A733700D55EF8 /* DBTEAMLOGFilePreviewType.h in Headers */, + F99E161C2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h in Headers */, + F99E13AC2B7A733400D55EF8 /* DBTEAMMembersSuspendError.h in Headers */, + F99E15122B7A733500D55EF8 /* DBTEAMMembersAddV2Arg.h in Headers */, + F99E1F762B7A733C00D55EF8 /* DBFILESPaperUpdateError.h in Headers */, + F99E1C3E2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeInviteeRoleType.h in Headers */, + F99E1A802B7A733800D55EF8 /* DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h in Headers */, + F99E15942B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchError.h in Headers */, + F99E140E2B7A733400D55EF8 /* DBTEAMSharingAllowlistAddResponse.h in Headers */, + F99E1CC82B7A733A00D55EF8 /* DBTEAMLOGGroupJoinPolicy.h in Headers */, + F99E17582B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDeprecatedDetails.h in Headers */, + F99E1D642B7A733A00D55EF8 /* DBTEAMLOGAppLogInfo.h in Headers */, + F99E20D02B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.h in Headers */, + F99E1CA82B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedDetails.h in Headers */, + F99E209E2B7A733D00D55EF8 /* DBACCOUNTPhotoSourceArg.h in Headers */, + F99E18522B7A733700D55EF8 /* DBTEAMLOGSharedLinkDisableDetails.h in Headers */, + F99E1B822B7A733900D55EF8 /* DBTEAMLOGPaperDocChangeSubscriptionType.h in Headers */, + F99E1A862B7A733800D55EF8 /* DBTEAMLOGEmmAddExceptionType.h in Headers */, + F99E1FE02B7A733C00D55EF8 /* DBFILESListRevisionsArg.h in Headers */, + F99E15E02B7A733500D55EF8 /* DBTEAMLOGNoteAclTeamLinkType.h in Headers */, + F99E16722B7A733600D55EF8 /* DBTEAMLOGGroupChangeMemberRoleDetails.h in Headers */, + F99E1D1A2B7A733A00D55EF8 /* DBTEAMLOGRewindPolicyChangedDetails.h in Headers */, + F99E1AA42B7A733800D55EF8 /* DBTEAMLOGRewindPolicyChangedType.h in Headers */, + F99E17DE2B7A733700D55EF8 /* DBTEAMLOGCreateTeamInviteLinkType.h in Headers */, + F99E1E4C2B7A733B00D55EF8 /* DBTEAMLOGSharedContentUnshareType.h in Headers */, + F99E181A2B7A733700D55EF8 /* DBTEAMLOGSharedFolderMembersInheritancePolicy.h in Headers */, + F99E15CE2B7A733500D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionDetails.h in Headers */, + F99E1D142B7A733A00D55EF8 /* DBTEAMLOGFileRollbackChangesType.h in Headers */, + F99E1C8E2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderMountType.h in Headers */, + F99E1DB02B7A733A00D55EF8 /* DBTEAMLOGExportMembersReportFailDetails.h in Headers */, + F99E12AC2B7A733400D55EF8 /* DBSHARINGAccessInheritance.h in Headers */, + F99E1A282B7A733800D55EF8 /* DBTEAMLOGPaperDocUnresolveCommentDetails.h in Headers */, + F99E19662B7A733700D55EF8 /* DBTEAMLOGNoteAclLinkType.h in Headers */, + F99E1DF62B7A733B00D55EF8 /* DBTEAMLOGObjectLabelAddedType.h in Headers */, + F99E11B62B7A733300D55EF8 /* DBSHARINGSharedLinkPolicy.h in Headers */, + F99E168C2B7A733600D55EF8 /* DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h in Headers */, + F99E1B502B7A733900D55EF8 /* DBTEAMLOGJoinTeamDetails.h in Headers */, + F99E1DEC2B7A733B00D55EF8 /* DBTEAMLOGTeamProfileAddLogoDetails.h in Headers */, + F99E13302B7A733400D55EF8 /* DBOPENIDOpenIdError.h in Headers */, + F99E16862B7A733600D55EF8 /* DBTEAMLOGUserTagsRemovedDetails.h in Headers */, + F99E189C2B7A733700D55EF8 /* DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h in Headers */, + F99E133E2B7A733400D55EF8 /* DBTEAMMemberAddResultBase.h in Headers */, + F99E19B82B7A733800D55EF8 /* DBTEAMLOGTeamExtensionsPolicy.h in Headers */, + F99E1F0E2B7A733B00D55EF8 /* DBFILESRelocationBatchResultData.h in Headers */, + F99E187E2B7A733700D55EF8 /* DBTEAMLOGSecondaryTeamRequestReminderDetails.h in Headers */, + F99E15062B7A733500D55EF8 /* DBTEAMMembersSetPermissionsError.h in Headers */, + F99E193C2B7A733700D55EF8 /* DBTEAMLOGAccountCaptureNotificationType.h in Headers */, + F99E18E62B7A733700D55EF8 /* DBTEAMLOGSharedContentClaimInvitationType.h in Headers */, + F99E11862B7A733300D55EF8 /* DBSHARINGShareFolderArg.h in Headers */, + F99E19762B7A733800D55EF8 /* DBTEAMLOGFilePermanentlyDeleteDetails.h in Headers */, + F99E1C382B7A733900D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicy.h in Headers */, + F99E1A462B7A733800D55EF8 /* DBTEAMLOGAppUnlinkTeamDetails.h in Headers */, + F99E138A2B7A733400D55EF8 /* DBTEAMTeamFolderActivateError.h in Headers */, + F99E1A382B7A733800D55EF8 /* DBTEAMLOGExportMembersReportFailType.h in Headers */, + F99E163A2B7A733600D55EF8 /* DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h in Headers */, + F99E11DA2B7A733300D55EF8 /* DBSHARINGSharingUserError.h in Headers */, + F99E16BA2B7A733600D55EF8 /* DBTEAMLOGNoteAclTeamLinkDetails.h in Headers */, + F99E18AE2B7A733700D55EF8 /* DBTEAMLOGPaperFolderLogInfo.h in Headers */, + F99E1C1C2B7A733900D55EF8 /* DBTEAMLOGFileUnresolveCommentType.h in Headers */, + F99E17AC2B7A733600D55EF8 /* DBTEAMLOGGroupAddMemberDetails.h in Headers */, + F99E20442B7A733C00D55EF8 /* DBFILESExportInfo.h in Headers */, + F99E130A2B7A733400D55EF8 /* DBASYNCLaunchResultBase.h in Headers */, + F99E1D322B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h in Headers */, + F99E1ABA2B7A733800D55EF8 /* DBTEAMLOGLinkedDeviceLogInfo.h in Headers */, + F99E1C7A2B7A733900D55EF8 /* DBTEAMLOGStartedEnterpriseAdminSessionType.h in Headers */, + F99E16962B7A733600D55EF8 /* DBTEAMLOGEmmChangePolicyType.h in Headers */, + F99E178A2B7A733600D55EF8 /* DBTEAMLOGBackupStatus.h in Headers */, + F99E19742B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedType.h in Headers */, + F99E19C02B7A733800D55EF8 /* DBTEAMLOGSsoAddCertDetails.h in Headers */, + F99E1CCA2B7A733A00D55EF8 /* DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h in Headers */, + F99E13242B7A733400D55EF8 /* DBCOMMONPathRoot.h in Headers */, + F99E1EF42B7A733B00D55EF8 /* DBTEAMLOGShowcaseChangeEnabledPolicyType.h in Headers */, + F99E11902B7A733300D55EF8 /* DBSHARINGSetAccessInheritanceArg.h in Headers */, + F99E1C282B7A733900D55EF8 /* DBTEAMLOGEnforceLinkPasswordPolicy.h in Headers */, + F99E18082B7A733700D55EF8 /* DBTEAMLOGSharedLinkAddExpiryType.h in Headers */, + F99E15762B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesArg.h in Headers */, + F99E18D42B7A733700D55EF8 /* DBTEAMLOGShowcaseRequestAccessDetails.h in Headers */, + F99E1A342B7A733800D55EF8 /* DBTEAMLOGAppBlockedByPermissionsType.h in Headers */, + F99E1D8E2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h in Headers */, + F99E1AC02B7A733800D55EF8 /* DBTEAMLOGMissingDetails.h in Headers */, + F99E1F822B7A733C00D55EF8 /* DBFILESPhotoMetadata.h in Headers */, + F99E1A962B7A733800D55EF8 /* DBTEAMLOGMemberRemoveExternalIdType.h in Headers */, + F99E1CF42B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedDetails.h in Headers */, + F99E11502B7A733300D55EF8 /* DBTEAMPOLICIESSuggestMembersPolicy.h in Headers */, + F99E17BC2B7A733600D55EF8 /* DBTEAMLOGSfFbUninviteType.h in Headers */, + F99E1A922B7A733800D55EF8 /* DBTEAMLOGTeamLinkedAppLogInfo.h in Headers */, + F99E18C42B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestReminderType.h in Headers */, + F99E20522B7A733C00D55EF8 /* DBFILESThumbnailMode.h in Headers */, + F99E12102B7A733300D55EF8 /* DBSHARINGShareFolderArgBase.h in Headers */, + F99E1F5E2B7A733C00D55EF8 /* DBFILESGpsCoordinates.h in Headers */, + F99E1DE82B7A733B00D55EF8 /* DBTEAMLOGLoginFailDetails.h in Headers */, + F99E19942B7A733800D55EF8 /* DBTEAMLOGFileTransfersTransferViewDetails.h in Headers */, + F99E127E2B7A733300D55EF8 /* DBSHARINGAddFileMemberError.h in Headers */, + F99E20CE2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.h in Headers */, + F99E13442B7A733400D55EF8 /* DBTEAMStorageBucket.h in Headers */, + F99E10CC2B7A733200D55EF8 /* DBPAPERFoldersContainingPaperDoc.h in Headers */, + F99E15822B7A733500D55EF8 /* DBFILEPROPERTIESLogicalOperator.h in Headers */, + F99E1C582B7A733900D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyDetails.h in Headers */, + F99E1ECE2B7A733B00D55EF8 /* DBTEAMLOGShowcaseDocumentLogInfo.h in Headers */, + F99E20C22B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.h in Headers */, + F99E12F82B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestError.h in Headers */, + F99E16322B7A733600D55EF8 /* DBTEAMLOGEnabledDomainInvitesDetails.h in Headers */, + F99E19642B7A733700D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedDetails.h in Headers */, + F99E1F202B7A733C00D55EF8 /* DBFILESDeleteBatchResultData.h in Headers */, + F99E19122B7A733700D55EF8 /* DBTEAMLOGGroupDeleteDetails.h in Headers */, + F99E19282B7A733700D55EF8 /* DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h in Headers */, + F99E1B5A2B7A733900D55EF8 /* DBTEAMLOGSharedContentChangeLinkExpiryType.h in Headers */, + F99E14A22B7A733500D55EF8 /* DBTEAMMembersDeactivateBaseArg.h in Headers */, + F99E20742B7A733D00D55EF8 /* DBFILESSyncSetting.h in Headers */, + F99E13C42B7A733400D55EF8 /* DBTEAMSharingAllowlistListContinueError.h in Headers */, + F99E1FCC2B7A733C00D55EF8 /* DBFILESListRevisionsResult.h in Headers */, + F99E1F062B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusType.h in Headers */, + F99E15302B7A733500D55EF8 /* DBTEAMDeleteSecondaryEmailsResult.h in Headers */, + F99E1AE82B7A733800D55EF8 /* DBTEAMLOGNetworkControlPolicy.h in Headers */, + F99E11B82B7A733300D55EF8 /* DBSHARINGListFilesResult.h in Headers */, + F99E1CDE2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionType.h in Headers */, + F99E1A9A2B7A733800D55EF8 /* DBTEAMLOGSharedContentAddLinkExpiryDetails.h in Headers */, + F99E12E22B7A733400D55EF8 /* DBFILEREQUESTSCreateFileRequestArgs.h in Headers */, + F99E1F022B7A733B00D55EF8 /* DBTEAMLOGShmodelDisableDownloadsType.h in Headers */, + F99E16E22B7A733600D55EF8 /* DBTEAMLOGShowcaseViewDetails.h in Headers */, + F99E1F4E2B7A733C00D55EF8 /* DBFILESUploadSessionStartBatchArg.h in Headers */, + F99E15D22B7A733500D55EF8 /* DBTEAMLOGSharedLinkShareType.h in Headers */, + F99E14502B7A733400D55EF8 /* DBTEAMTeamMembershipType.h in Headers */, + F99E12DA2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsContinueError.h in Headers */, + F99E13CA2B7A733400D55EF8 /* DBTEAMLegalHoldsListHeldRevisionsError.h in Headers */, + F99E139C2B7A733400D55EF8 /* DBTEAMActiveWebSession.h in Headers */, + F99E178E2B7A733600D55EF8 /* DBTEAMLOGShowcaseFileViewType.h in Headers */, + F99E1A502B7A733800D55EF8 /* DBTEAMLOGShowcaseDownloadPolicy.h in Headers */, + F99E20042B7A733C00D55EF8 /* DBFILESPreviewError.h in Headers */, + F99E147E2B7A733500D55EF8 /* DBTEAMMembersListResult.h in Headers */, + F99E15BC2B7A733500D55EF8 /* DBUSERSFileLockingValue.h in Headers */, + F99E123E2B7A733300D55EF8 /* DBSHARINGAddMemberSelectorError.h in Headers */, + F99E1D5E2B7A733A00D55EF8 /* DBTEAMLOGPaperDocMentionDetails.h in Headers */, + F99E17302B7A733600D55EF8 /* DBTEAMLOGSfTeamGrantAccessDetails.h in Headers */, + F99E1F162B7A733B00D55EF8 /* DBFILESDownloadZipArg.h in Headers */, + F99E12A82B7A733400D55EF8 /* DBSHARINGFilePermission.h in Headers */, + F99E121E2B7A733300D55EF8 /* DBSHARINGUpdateFolderMemberArg.h in Headers */, + F99E11B42B7A733300D55EF8 /* DBSHARINGFileAction.h in Headers */, + F99E12C62B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Result.h in Headers */, + F99E212A2B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.h in Headers */, + F99E12902B7A733300D55EF8 /* DBSHARINGRemoveFolderMemberError.h in Headers */, + F99E21022B7A733D00D55EF8 /* DBFILESRouteObjects.h in Headers */, + F99E15F42B7A733500D55EF8 /* DBTEAMLOGMemberTransferAccountContentsDetails.h in Headers */, + F99E13662B7A733400D55EF8 /* DBTEAMGroupsGetInfoItem.h in Headers */, + F99E1A642B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h in Headers */, + F99E1C0A2B7A733900D55EF8 /* DBTEAMLOGTeamEncryptionKeyDisableKeyType.h in Headers */, + F99E21002B7A733D00D55EF8 /* DBAUTHRouteObjects.h in Headers */, + F99E1C9A2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeExpirationType.h in Headers */, + F99E14522B7A733400D55EF8 /* DBTEAMMembersGetInfoV2Arg.h in Headers */, + F99E17B82B7A733600D55EF8 /* DBTEAMLOGFolderLinkRestrictionPolicy.h in Headers */, + F99E13A22B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsArg.h in Headers */, + F99E118E2B7A733300D55EF8 /* DBSHARINGGetSharedLinksResult.h in Headers */, + F99E20822B7A733D00D55EF8 /* DBFILESGetThumbnailBatchResult.h in Headers */, + F99E1F9E2B7A733C00D55EF8 /* DBFILESListFolderLongpollArg.h in Headers */, + F99E11FE2B7A733300D55EF8 /* DBSHARINGListSharedLinksError.h in Headers */, + F99E18942B7A733700D55EF8 /* DBTEAMLOGMemberRequestsChangePolicyType.h in Headers */, + F99E18482B7A733700D55EF8 /* DBTEAMLOGAccountCaptureRelinquishAccountType.h in Headers */, + F99E164A2B7A733600D55EF8 /* DBTEAMLOGSfFbInviteDetails.h in Headers */, + F99E20262B7A733C00D55EF8 /* DBFILESRelocationBatchArg.h in Headers */, + F99E195A2B7A733700D55EF8 /* DBTEAMLOGFedAdminRole.h in Headers */, + F99E18DC2B7A733700D55EF8 /* DBTEAMLOGFileCommentsChangePolicyDetails.h in Headers */, + F99E1FFC2B7A733C00D55EF8 /* DBFILESGetThumbnailBatchResultEntry.h in Headers */, + F99E1BE62B7A733900D55EF8 /* DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h in Headers */, + F99E11202B7A733300D55EF8 /* DBPAPERFolder.h in Headers */, + F99E150A2B7A733500D55EF8 /* DBTEAMUploadApiRateLimitValue.h in Headers */, + F99E17EE2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h in Headers */, + F99E115C2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDesktopPolicy.h in Headers */, + F99E1CFE2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h in Headers */, + F99E1FC42B7A733C00D55EF8 /* DBFILESMediaInfo.h in Headers */, + F99E170C2B7A733600D55EF8 /* DBTEAMLOGAdminEmailRemindersChangedDetails.h in Headers */, + F99E13782B7A733400D55EF8 /* DBTEAMLegalHoldsListPoliciesError.h in Headers */, + F99E1E0C2B7A733B00D55EF8 /* DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h in Headers */, + F99E1E4E2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsRemoveMembersType.h in Headers */, + F99E18382B7A733700D55EF8 /* DBTEAMLOGPrimaryTeamRequestReminderDetails.h in Headers */, + F99E1D9C2B7A733A00D55EF8 /* DBTEAMLOGFileTransfersPolicyChangedType.h in Headers */, + F99E15F82B7A733500D55EF8 /* DBTEAMLOGResellerSupportChangePolicyType.h in Headers */, + F99E1BB82B7A733900D55EF8 /* DBTEAMLOGWatermarkingPolicyChangedType.h in Headers */, + F99E19B42B7A733800D55EF8 /* DBTEAMLOGEnterpriseSettingsLockingType.h in Headers */, + F99E17B42B7A733600D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameDetails.h in Headers */, + F99E1D9A2B7A733A00D55EF8 /* DBTEAMLOGMemberChangeNameDetails.h in Headers */, + F99E1E962B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h in Headers */, + F99E1BCC2B7A733900D55EF8 /* DBTEAMLOGPrimaryTeamRequestCanceledDetails.h in Headers */, + F99E1DA22B7A733A00D55EF8 /* DBTEAMLOGPaperDocEditCommentDetails.h in Headers */, + F99E13102B7A733400D55EF8 /* DBASYNCPollArg.h in Headers */, + F99E1F802B7A733C00D55EF8 /* DBFILESRemoveTagArg.h in Headers */, + F99E12582B7A733300D55EF8 /* DBSHARINGAddFolderMemberArg.h in Headers */, + F99E1E5E2B7A733B00D55EF8 /* DBTEAMLOGDesktopSessionLogInfo.h in Headers */, + F99E1A742B7A733800D55EF8 /* DBTEAMLOGGroupJoinPolicyUpdatedType.h in Headers */, + F99E20C62B7A733D00D55EF8 /* DBFILESAppAuthRoutes.h in Headers */, + F99E122C2B7A733300D55EF8 /* DBSHARINGListSharedLinksArg.h in Headers */, + F99E1F6A2B7A733C00D55EF8 /* DBFILESFileLockMetadata.h in Headers */, + F99E134C2B7A733400D55EF8 /* DBTEAMMembersRemoveArg.h in Headers */, + F99E1E362B7A733B00D55EF8 /* DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h in Headers */, + F99E19982B7A733800D55EF8 /* DBTEAMLOGSsoChangeCertDetails.h in Headers */, + F99E13E42B7A733400D55EF8 /* DBTEAMListMemberAppsError.h in Headers */, + F99E1D382B7A733A00D55EF8 /* DBTEAMLOGAssetLogInfo.h in Headers */, + F99E1B882B7A733900D55EF8 /* DBTEAMLOGGovernancePolicyContentDisposedDetails.h in Headers */, + F99E1D6A2B7A733A00D55EF8 /* DBTEAMLOGSharedLinkCreateType.h in Headers */, + F99E1BAC2B7A733900D55EF8 /* DBTEAMLOGPaperDocumentLogInfo.h in Headers */, + F99E12F22B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsError.h in Headers */, + F99E16882B7A733600D55EF8 /* DBTEAMLOGFileResolveCommentDetails.h in Headers */, + F99E1D262B7A733A00D55EF8 /* DBTEAMLOGGovernancePolicyReportCreatedType.h in Headers */, + F99E1DB22B7A733A00D55EF8 /* DBTEAMLOGMemberChangeMembershipTypeDetails.h in Headers */, + F99E19042B7A733700D55EF8 /* DBTEAMLOGNonTeamMemberLogInfo.h in Headers */, + F99E1D802B7A733A00D55EF8 /* DBTEAMLOGPrimaryTeamRequestExpiredDetails.h in Headers */, + F99E122A2B7A733300D55EF8 /* DBSHARINGRequestedLinkAccessLevel.h in Headers */, + F99E1E8A2B7A733B00D55EF8 /* DBTEAMLOGShowcasePermanentlyDeletedDetails.h in Headers */, + F99E164E2B7A733600D55EF8 /* DBTEAMLOGMemberSendInvitePolicyChangedDetails.h in Headers */, + F99E1B702B7A733900D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h in Headers */, + F99E1FA42B7A733C00D55EF8 /* DBFILESDownloadZipResult.h in Headers */, + F99E18142B7A733700D55EF8 /* DBTEAMLOGShowcaseAddMemberDetails.h in Headers */, + F99E16702B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseAdminRoleDetails.h in Headers */, + F99E126C2B7A733300D55EF8 /* DBSHARINGListFilesArg.h in Headers */, + F99E139E2B7A733400D55EF8 /* DBTEAMUserSelectorError.h in Headers */, + F99E1B3A2B7A733900D55EF8 /* DBTEAMLOGPaperPublishedLinkDisabledDetails.h in Headers */, + F99E1C7C2B7A733900D55EF8 /* DBTEAMLOGGroupUserManagementChangePolicyType.h in Headers */, + F99E1DDC2B7A733B00D55EF8 /* DBTEAMLOGAllowDownloadDisabledType.h in Headers */, + F99E1FBA2B7A733C00D55EF8 /* DBFILESDeleteBatchResult.h in Headers */, + F99E12382B7A733300D55EF8 /* DBSHARINGJobError.h in Headers */, + F99E12C82B7A733400D55EF8 /* DBAUTHRateLimitReason.h in Headers */, + F99E19BE2B7A733800D55EF8 /* DBTEAMLOGResellerSupportChangePolicyDetails.h in Headers */, + F99E1B482B7A733900D55EF8 /* DBTEAMLOGDefaultLinkExpirationDaysPolicy.h in Headers */, + F99E15202B7A733500D55EF8 /* DBTEAMTeamFolderUpdateSyncSettingsError.h in Headers */, + F99E14A42B7A733500D55EF8 /* DBTEAMNamespaceMetadata.h in Headers */, + F99E1B082B7A733900D55EF8 /* DBTEAMLOGGroupAddMemberType.h in Headers */, + F99E120A2B7A733300D55EF8 /* DBSHARINGLinkAudience.h in Headers */, + F99E13142B7A733400D55EF8 /* DBTEAMCOMMONGroupSummary.h in Headers */, + F99E14DA2B7A733500D55EF8 /* DBTEAMMembersGetAvailableTeamMemberRolesResult.h in Headers */, + F99E1ABE2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportDetails.h in Headers */, + F99E1CBA2B7A733A00D55EF8 /* DBTEAMLOGAppLinkTeamDetails.h in Headers */, + F99E1F6E2B7A733C00D55EF8 /* DBFILESUserGeneratedTag.h in Headers */, + F99E14F82B7A733500D55EF8 /* DBTEAMMemberLinkedApps.h in Headers */, + F99E15D02B7A733500D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundType.h in Headers */, + F99E1F482B7A733C00D55EF8 /* DBFILESPaperUpdateResult.h in Headers */, + F99E1DCE2B7A733B00D55EF8 /* DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h in Headers */, + F99E19E02B7A733800D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h in Headers */, + F99E1FAC2B7A733C00D55EF8 /* DBFILESUploadSessionStartArg.h in Headers */, + F99E1A622B7A733800D55EF8 /* DBTEAMLOGTeamMergeFromType.h in Headers */, + F99E10E02B7A733200D55EF8 /* DBPAPERSharingTeamPolicyType.h in Headers */, + F99E12A02B7A733400D55EF8 /* DBSHARINGRemoveMemberJobStatus.h in Headers */, + F99E1CB22B7A733A00D55EF8 /* DBTEAMLOGShowcaseEditedType.h in Headers */, + F99E21082B7A733D00D55EF8 /* DBCHECKRouteObjects.h in Headers */, + F99E10EE2B7A733300D55EF8 /* DBPAPERListUsersOnPaperDocContinueArgs.h in Headers */, + F99E1E4A2B7A733B00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyType.h in Headers */, + F99E16082B7A733500D55EF8 /* DBTEAMLOGInviteMethod.h in Headers */, + F99E1DC42B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadDetails.h in Headers */, + F99E192E2B7A733700D55EF8 /* DBTEAMLOGFedExtraDetails.h in Headers */, + F99E1B0E2B7A733900D55EF8 /* DBTEAMLOGEmmErrorType.h in Headers */, + F99E20B42B7A733D00D55EF8 /* DBStoneBase.h in Headers */, + F99E1C742B7A733900D55EF8 /* DBTEAMLOGAppBlockedByPermissionsDetails.h in Headers */, + F99E208A2B7A733D00D55EF8 /* DBFILESPaperCreateArg.h in Headers */, + F99E14722B7A733500D55EF8 /* DBTEAMGetStorageReport.h in Headers */, + F99E12222B7A733300D55EF8 /* DBSHARINGMembershipInfo.h in Headers */, + F99E14382B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Error.h in Headers */, + F99E1AF82B7A733800D55EF8 /* DBTEAMLOGDisabledDomainInvitesType.h in Headers */, + F99E14622B7A733400D55EF8 /* DBTEAMSharingAllowlistListError.h in Headers */, + F99E148C2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailResult.h in Headers */, + F99E137A2B7A733400D55EF8 /* DBTEAMRevokeDeviceSessionBatchArg.h in Headers */, + F99E1D1E2B7A733A00D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h in Headers */, + F99E1FA82B7A733C00D55EF8 /* DBFILESListFolderGetLatestCursorResult.h in Headers */, + F99E18CC2B7A733700D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h in Headers */, + F99E187C2B7A733700D55EF8 /* DBTEAMLOGGroupAddExternalIdType.h in Headers */, + F99E1D3C2B7A733A00D55EF8 /* DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h in Headers */, + F99E1BF02B7A733900D55EF8 /* DBTEAMLOGTeamInviteDetails.h in Headers */, + F99E1DBE2B7A733A00D55EF8 /* DBTEAMLOGApplyNamingConventionDetails.h in Headers */, + F99E11762B7A733300D55EF8 /* DBSHARINGPendingUploadMode.h in Headers */, + F99E1A0A2B7A733800D55EF8 /* DBTEAMLOGSsoErrorDetails.h in Headers */, + F99E12D42B7A733400D55EF8 /* DBFILEREQUESTSUpdateFileRequestArgs.h in Headers */, + F99E11E22B7A733300D55EF8 /* DBSHARINGAudienceExceptions.h in Headers */, + F99E21042B7A733D00D55EF8 /* DBACCOUNTRouteObjects.h in Headers */, + F99E1D202B7A733A00D55EF8 /* DBTEAMLOGShowcasePostCommentType.h in Headers */, + F99E1D862B7A733A00D55EF8 /* DBTEAMLOGShowcaseFileViewDetails.h in Headers */, + F99E15D62B7A733500D55EF8 /* DBTEAMLOGAdminConsoleAppPolicy.h in Headers */, + F99E160A2B7A733500D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h in Headers */, + F99E1ACC2B7A733800D55EF8 /* DBTEAMLOGEmailIngestReceiveFileType.h in Headers */, + F99E1D2E2B7A733A00D55EF8 /* DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h in Headers */, + F99E17462B7A733600D55EF8 /* DBTEAMLOGWebSessionLogInfo.h in Headers */, + F99E1F962B7A733C00D55EF8 /* DBFILESSaveCopyReferenceArg.h in Headers */, + F99E20E82B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.h in Headers */, + F99E12BC2B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Arg.h in Headers */, + F99E1E9E2B7A733B00D55EF8 /* DBTEAMLOGTeamBrandingPolicyChangedType.h in Headers */, + F99E1DB42B7A733A00D55EF8 /* DBTEAMLOGFileRequestCreateType.h in Headers */, + F99E13822B7A733400D55EF8 /* DBTEAMMembersGetInfoItem.h in Headers */, + F99E1B742B7A733900D55EF8 /* DBTEAMLOGMemberSendInvitePolicy.h in Headers */, + F99E12F02B7A733400D55EF8 /* DBFILEREQUESTSDeleteFileRequestsResult.h in Headers */, + F99E18282B7A733700D55EF8 /* DBTEAMLOGOpenNoteSharedType.h in Headers */, + F99E16762B7A733600D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyType.h in Headers */, + F99E1D062B7A733A00D55EF8 /* DBTEAMLOGEventTypeArg.h in Headers */, + F99E18422B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h in Headers */, + F99E1D4C2B7A733A00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h in Headers */, + F99E1F522B7A733C00D55EF8 /* DBFILESUnlockFileBatchArg.h in Headers */, + F99E19B62B7A733800D55EF8 /* DBTEAMLOGMemberSuggestionsChangePolicyType.h in Headers */, + F99E19D02B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFoldersDetails.h in Headers */, + F99E16582B7A733600D55EF8 /* DBTEAMLOGFileTransfersTransferDownloadType.h in Headers */, + F99E14CC2B7A733500D55EF8 /* DBTEAMRemoveCustomQuotaResult.h in Headers */, + F99E185E2B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedType.h in Headers */, + F99E156A2B7A733500D55EF8 /* DBFILEPROPERTIESUpdateTemplateResult.h in Headers */, + F99E11042B7A733300D55EF8 /* DBPAPERPaperFolderCreateError.h in Headers */, + F99E1F282B7A733C00D55EF8 /* DBFILESGetThumbnailBatchError.h in Headers */, + F99E140C2B7A733400D55EF8 /* DBTEAMAddSecondaryEmailsError.h in Headers */, + F99E1DFA2B7A733B00D55EF8 /* DBTEAMLOGDeviceChangeIpWebType.h in Headers */, + F99E18022B7A733700D55EF8 /* DBTEAMLOGShowcaseArchivedType.h in Headers */, + F99E16382B7A733600D55EF8 /* DBTEAMLOGRewindPolicy.h in Headers */, + F99E205E2B7A733C00D55EF8 /* DBFILESSharedLinkFileInfo.h in Headers */, + F99E1D5A2B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestionsPolicy.h in Headers */, + F99E1D462B7A733A00D55EF8 /* DBTEAMLOGSfAddGroupDetails.h in Headers */, + F99E1CDC2B7A733A00D55EF8 /* DBTEAMLOGShowcaseResolveCommentDetails.h in Headers */, + F99E1B3C2B7A733900D55EF8 /* DBTEAMLOGIntegrationPolicyChangedDetails.h in Headers */, + F99E14922B7A733500D55EF8 /* DBTEAMTeamMemberRole.h in Headers */, + F99E10C42B7A733200D55EF8 /* DBAppBaseClient.h in Headers */, + F99E12302B7A733300D55EF8 /* DBSHARINGListFoldersContinueArg.h in Headers */, + F99E20222B7A733C00D55EF8 /* DBFILESRelocationBatchV2Launch.h in Headers */, + F99E20F42B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.h in Headers */, + F99E15702B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchResult.h in Headers */, + F99E16B22B7A733600D55EF8 /* DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h in Headers */, + F99E17062B7A733600D55EF8 /* DBTEAMLOGMemberAddNameType.h in Headers */, + F99E19AA2B7A733800D55EF8 /* DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h in Headers */, + F99E1EB82B7A733B00D55EF8 /* DBTEAMLOGWebSessionsFixedLengthPolicy.h in Headers */, + F99E132A2B7A733400D55EF8 /* DBCOMMONUserRootInfo.h in Headers */, + F99E1C302B7A733900D55EF8 /* DBTEAMLOGSharedLinkCreateDetails.h in Headers */, + F99E1BB42B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h in Headers */, + F99E11EC2B7A733300D55EF8 /* DBSHARINGFileMemberActionIndividualResult.h in Headers */, + F99E16EE2B7A733600D55EF8 /* DBTEAMLOGPaperDocRequestAccessType.h in Headers */, + F99E1B6A2B7A733900D55EF8 /* DBTEAMLOGFileTransfersTransferSendDetails.h in Headers */, + F99E1D4E2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderTransferOwnershipDetails.h in Headers */, + F99E1CE02B7A733A00D55EF8 /* DBTEAMLOGTeamActivityCreateReportDetails.h in Headers */, + F99E1FD62B7A733C00D55EF8 /* DBFILESThumbnailSize.h in Headers */, + F99E166E2B7A733600D55EF8 /* DBTEAMLOGGroupDeleteType.h in Headers */, + F99E15742B7A733500D55EF8 /* DBFILEPROPERTIESPropertyFieldTemplate.h in Headers */, + F99E1C622B7A733900D55EF8 /* DBTEAMLOGGeoLocationLogInfo.h in Headers */, + F99E159C2B7A733500D55EF8 /* DBUSERSTeamSpaceAllocation.h in Headers */, + F99E12242B7A733300D55EF8 /* DBSHARINGModifySharedLinkSettingsError.h in Headers */, + F99E186E2B7A733700D55EF8 /* DBTEAMLOGTeamProfileChangeLogoType.h in Headers */, + F99E14E42B7A733500D55EF8 /* DBTEAMGroupsMembersListContinueArg.h in Headers */, + F99E1B562B7A733900D55EF8 /* DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h in Headers */, + F99E19BA2B7A733800D55EF8 /* DBTEAMLOGFederationStatusChangeAdditionalInfo.h in Headers */, + F99E11062B7A733300D55EF8 /* DBPAPERPaperDocPermissionLevel.h in Headers */, + F99E1B4A2B7A733900D55EF8 /* DBTEAMLOGFileLockingLockStatusChangedType.h in Headers */, + F99E13F62B7A733400D55EF8 /* DBTEAMIncludeMembersArg.h in Headers */, + F99E18C62B7A733700D55EF8 /* DBTEAMLOGPaperDocEditCommentType.h in Headers */, + F99E19782B7A733800D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h in Headers */, + F99E1FC02B7A733C00D55EF8 /* DBFILESContentSyncSettingArg.h in Headers */, + F99E1D002B7A733A00D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h in Headers */, + F99E17C42B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertStateChangedType.h in Headers */, + F99E18362B7A733700D55EF8 /* DBTEAMLOGAccountState.h in Headers */, + F99E1D8A2B7A733A00D55EF8 /* DBTEAMLOGSharedFolderNestType.h in Headers */, + F99E16FC2B7A733600D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportDetails.h in Headers */, + F99E1CD82B7A733A00D55EF8 /* DBTEAMLOGMemberSuggestType.h in Headers */, + F99E141C2B7A733400D55EF8 /* DBTEAMTeamFolderListContinueArg.h in Headers */, + F99E18622B7A733700D55EF8 /* DBTEAMLOGEmailIngestPolicy.h in Headers */, + F99E15DA2B7A733500D55EF8 /* DBTEAMLOGPaperDesktopPolicy.h in Headers */, + F99E19442B7A733700D55EF8 /* DBTEAMLOGDomainVerificationRemoveDomainType.h in Headers */, + F99E1D582B7A733A00D55EF8 /* DBTEAMLOGFileLockingPolicyChangedType.h in Headers */, + F99E188E2B7A733700D55EF8 /* DBTEAMLOGSharingFolderJoinPolicy.h in Headers */, + F99E209C2B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoArg.h in Headers */, + F99E17F62B7A733700D55EF8 /* DBTEAMLOGSsoRemoveLogoutUrlType.h in Headers */, + F99E146A2B7A733500D55EF8 /* DBTEAMGroupMembersSelector.h in Headers */, + F99E15002B7A733500D55EF8 /* DBTEAMGroupsMembersListResult.h in Headers */, + F99E17DC2B7A733700D55EF8 /* DBTEAMLOGGetTeamEventsContinueError.h in Headers */, + F99E16482B7A733600D55EF8 /* DBTEAMLOGShowcaseUntrashedType.h in Headers */, + F99E1DAA2B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveBackupPhoneDetails.h in Headers */, + F99E19882B7A733800D55EF8 /* DBTEAMLOGTeamFolderDowngradeDetails.h in Headers */, + F99E1EA42B7A733B00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessCompletedType.h in Headers */, + F99E1AFE2B7A733800D55EF8 /* DBTEAMLOGShmodelEnableDownloadsType.h in Headers */, + F99E19322B7A733700D55EF8 /* DBTEAMLOGBinderReorderPageType.h in Headers */, + F99E12D22B7A733400D55EF8 /* DBFILEREQUESTSCountFileRequestsError.h in Headers */, + F99E1EE42B7A733B00D55EF8 /* DBTEAMLOGFileDeleteDetails.h in Headers */, + F99E20962B7A733D00D55EF8 /* DBFILESUploadSessionOffsetError.h in Headers */, + F99E148A2B7A733500D55EF8 /* DBTEAMMembersSetPermissions2Arg.h in Headers */, + F99E12522B7A733300D55EF8 /* DBSHARINGSharedFolderAccessError.h in Headers */, + F99E1D1C2B7A733A00D55EF8 /* DBTEAMLOGTfaAddExceptionDetails.h in Headers */, + F99E13A42B7A733400D55EF8 /* DBTEAMTeamMemberInfo.h in Headers */, + F99E1F982B7A733C00D55EF8 /* DBFILESPaperCreateError.h in Headers */, + F99E1F942B7A733C00D55EF8 /* DBFILESDeleteBatchArg.h in Headers */, + F99E15642B7A733500D55EF8 /* DBFILEPROPERTIESUpdatePropertiesError.h in Headers */, + F99E141A2B7A733400D55EF8 /* DBTEAMRevokeLinkedAppStatus.h in Headers */, + F99E12722B7A733300D55EF8 /* DBSHARINGInsufficientQuotaAmounts.h in Headers */, + F99E14202B7A733400D55EF8 /* DBTEAMAdminTier.h in Headers */, + F99E136E2B7A733400D55EF8 /* DBTEAMBaseDfbReport.h in Headers */, + F99E203A2B7A733C00D55EF8 /* DBFILESSearchArg.h in Headers */, + F99E1BFA2B7A733900D55EF8 /* DBTEAMLOGDeviceType.h in Headers */, + F99E13022B7A733400D55EF8 /* DBCONTACTSDeleteManualContactsError.h in Headers */, + F99E16782B7A733600D55EF8 /* DBTEAMLOGTeamProfileRemoveLogoDetails.h in Headers */, + F99E10DA2B7A733200D55EF8 /* DBPAPERListUsersOnPaperDocResponse.h in Headers */, + F99E17422B7A733600D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h in Headers */, + F99E14FE2B7A733500D55EF8 /* DBTEAMGetActivityReport.h in Headers */, + F99E20582B7A733C00D55EF8 /* DBFILESSearchMatchType.h in Headers */, + F99E14942B7A733500D55EF8 /* DBTEAMDesktopClientSession.h in Headers */, + F99E17B02B7A733600D55EF8 /* DBTEAMLOGLegalHoldsAddMembersDetails.h in Headers */, + F99E11402B7A733300D55EF8 /* DBTEAMPOLICIESSmartSyncPolicy.h in Headers */, + F99E10C22B7A733200D55EF8 /* DBTeamBaseClient.h in Headers */, + F99E1E122B7A733B00D55EF8 /* DBTEAMLOGFileDeleteType.h in Headers */, + F99E18162B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h in Headers */, + F99E17902B7A733600D55EF8 /* DBTEAMLOGShowcaseDeleteCommentDetails.h in Headers */, + F99E20002B7A733C00D55EF8 /* DBFILESListFolderArg.h in Headers */, + F99E14C02B7A733500D55EF8 /* DBTEAMGroupSelectorWithTeamGroupError.h in Headers */, + F99E1FB82B7A733C00D55EF8 /* DBFILESRelocationBatchV2JobStatus.h in Headers */, + F99E16A62B7A733600D55EF8 /* DBTEAMLOGPaperDocFollowedDetails.h in Headers */, + F99E1DD22B7A733B00D55EF8 /* DBTEAMLOGRelocateAssetReferencesLogInfo.h in Headers */, + F99E19C82B7A733800D55EF8 /* DBTEAMLOGPaperContentRemoveMemberType.h in Headers */, + F99E1C322B7A733900D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedType.h in Headers */, + F99E1CC42B7A733A00D55EF8 /* DBTEAMLOGPaperDocUntrashedDetails.h in Headers */, + F99E13D02B7A733400D55EF8 /* DBTEAMLegalHoldsGetPolicyError.h in Headers */, + F99E1A902B7A733800D55EF8 /* DBTEAMLOGBinderRenamePageType.h in Headers */, + F99E198E2B7A733800D55EF8 /* DBTEAMLOGDeleteTeamInviteLinkDetails.h in Headers */, + F99E1AE02B7A733800D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicy.h in Headers */, + F99E1D362B7A733A00D55EF8 /* DBTEAMLOGTfaRemoveSecurityKeyType.h in Headers */, + F99E185A2B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportCancelledDetails.h in Headers */, + F99E1FF42B7A733C00D55EF8 /* DBFILESFileLockContent.h in Headers */, + F99E18B82B7A733700D55EF8 /* DBTEAMLOGSfInviteGroupDetails.h in Headers */, + F99E17382B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkViewType.h in Headers */, + F99E1EA02B7A733B00D55EF8 /* DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h in Headers */, + F99E1C362B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeLogoDetails.h in Headers */, + F99E1A3C2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h in Headers */, + F99E19D42B7A733800D55EF8 /* DBTEAMLOGSharedLinkRemoveExpiryDetails.h in Headers */, + F99E14B62B7A733500D55EF8 /* DBTEAMLegalHoldsPolicyUpdateError.h in Headers */, + F99E175A2B7A733600D55EF8 /* DBTEAMLOGExternalSharingReportFailedDetails.h in Headers */, + F99E11EE2B7A733300D55EF8 /* DBSHARINGSharedLinkSettings.h in Headers */, + F99E1C642B7A733900D55EF8 /* DBTEAMLOGNoteAclInviteOnlyType.h in Headers */, + F99E178C2B7A733600D55EF8 /* DBTEAMLOGLegalHoldsActivateAHoldType.h in Headers */, + F99E1E7C2B7A733B00D55EF8 /* DBTEAMLOGTwoAccountPolicy.h in Headers */, + F99E1A302B7A733800D55EF8 /* DBTEAMLOGReplayFileDeleteType.h in Headers */, + F99E1A8C2B7A733800D55EF8 /* DBTEAMLOGPaperDocFollowedType.h in Headers */, + F99E1EE02B7A733B00D55EF8 /* DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h in Headers */, + F99E1A7C2B7A733800D55EF8 /* DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h in Headers */, + F99E13FA2B7A733400D55EF8 /* DBTEAMMembersSetPermissionsResult.h in Headers */, + F99E127C2B7A733300D55EF8 /* DBSHARINGInviteeInfo.h in Headers */, + F99E19E82B7A733800D55EF8 /* DBTEAMLOGDropboxPasswordsExportedType.h in Headers */, + F99E11022B7A733300D55EF8 /* DBPAPERPaperDocUpdateArgs.h in Headers */, + F99E15682B7A733500D55EF8 /* DBFILEPROPERTIESListTemplateResult.h in Headers */, + F99E176A2B7A733600D55EF8 /* DBTEAMLOGPaperDocTrashedDetails.h in Headers */, + F99E1EBC2B7A733B00D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalType.h in Headers */, + F99E1F2E2B7A733C00D55EF8 /* DBFILESSearchMode.h in Headers */, + F99E17E22B7A733700D55EF8 /* DBTEAMLOGPaperChangeMemberPolicyDetails.h in Headers */, + F99E16402B7A733600D55EF8 /* DBTEAMLOGTfaAddBackupPhoneDetails.h in Headers */, + F99E18222B7A733700D55EF8 /* DBTEAMLOGSharedContentRemoveInviteesDetails.h in Headers */, + F99E1FA62B7A733C00D55EF8 /* DBFILESMoveBatchArg.h in Headers */, + F99E1CB82B7A733A00D55EF8 /* DBTEAMLOGDeviceManagementDisabledType.h in Headers */, + F99E15582B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchArg.h in Headers */, + F99E113E2B7A733300D55EF8 /* DBTEAMPOLICIESSsoPolicy.h in Headers */, + F99E119A2B7A733300D55EF8 /* DBSHARINGListFilesContinueError.h in Headers */, + F99E20702B7A733D00D55EF8 /* DBFILESDeleteResult.h in Headers */, + F99E1F4C2B7A733C00D55EF8 /* DBFILESDeletedMetadata.h in Headers */, + F99E1B622B7A733900D55EF8 /* DBTEAMLOGAppLinkUserType.h in Headers */, + F99E110E2B7A733300D55EF8 /* DBPAPERListPaperDocsArgs.h in Headers */, + F99E14A82B7A733500D55EF8 /* DBTEAMDateRangeError.h in Headers */, + F99E16F42B7A733600D55EF8 /* DBTEAMLOGSharedContentDownloadType.h in Headers */, + F99E1B8A2B7A733900D55EF8 /* DBTEAMLOGMemberChangeStatusType.h in Headers */, + F99E1C762B7A733900D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedType.h in Headers */, + F99E13742B7A733400D55EF8 /* DBTEAMTeamMemberInfoV2.h in Headers */, + F99E16E62B7A733600D55EF8 /* DBTEAMLOGShowcaseTrashedDetails.h in Headers */, + F99E15EE2B7A733500D55EF8 /* DBTEAMLOGDispositionActionType.h in Headers */, + F99E1E802B7A733B00D55EF8 /* DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h in Headers */, + F99E1D922B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRevokedDetails.h in Headers */, + F99E1C122B7A733900D55EF8 /* DBTEAMLOGPaperFolderChangeSubscriptionDetails.h in Headers */, + F99E1A4A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAutoCanceledType.h in Headers */, + F99E173C2B7A733600D55EF8 /* DBTEAMLOGShowcaseRemoveMemberType.h in Headers */, + F99E16B62B7A733600D55EF8 /* DBTEAMLOGSsoChangeCertType.h in Headers */, + F99E19722B7A733800D55EF8 /* DBTEAMLOGEmmChangePolicyDetails.h in Headers */, + F99E1FF02B7A733C00D55EF8 /* DBFILESGetCopyReferenceArg.h in Headers */, + F99E13682B7A733400D55EF8 /* DBTEAMMembersUnsuspendArg.h in Headers */, + F99E16162B7A733500D55EF8 /* DBTEAMLOGBinderAddSectionDetails.h in Headers */, + F99E19E62B7A733800D55EF8 /* DBTEAMLOGSharedFolderUnmountDetails.h in Headers */, + F99E13282B7A733400D55EF8 /* DBCOMMONPathRootError.h in Headers */, + F99E158A2B7A733500D55EF8 /* DBFILEPROPERTIESPropertiesSearchQuery.h in Headers */, + F99E1EF82B7A733B00D55EF8 /* DBTEAMLOGLockStatus.h in Headers */, + F99E1D562B7A733A00D55EF8 /* DBTEAMLOGFileTransfersTransferDeleteType.h in Headers */, + F99E1FC82B7A733C00D55EF8 /* DBFILESRelocationError.h in Headers */, + F99E112A2B7A733300D55EF8 /* DBPAPERSharingPolicy.h in Headers */, + F99E1A7E2B7A733800D55EF8 /* DBTEAMLOGTeamBrandingPolicy.h in Headers */, + F99E196E2B7A733700D55EF8 /* DBTEAMLOGPaperContentAddMemberType.h in Headers */, + F99E16C02B7A733600D55EF8 /* DBTEAMLOGTeamActivityCreateReportType.h in Headers */, + F99E13C22B7A733400D55EF8 /* DBTEAMGroupsSelector.h in Headers */, + F99E1ED42B7A733B00D55EF8 /* DBTEAMLOGMemberRequestsPolicy.h in Headers */, + F99E18342B7A733700D55EF8 /* DBTEAMLOGPendingSecondaryEmailAddedDetails.h in Headers */, + F99E17682B7A733600D55EF8 /* DBTEAMLOGContextLogInfo.h in Headers */, + F99E1D102B7A733A00D55EF8 /* DBTEAMLOGCameraUploadsPolicy.h in Headers */, + F99E18F22B7A733700D55EF8 /* DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h in Headers */, + F99E1ECA2B7A733B00D55EF8 /* DBTEAMLOGSharedContentRequestAccessDetails.h in Headers */, + F99E16A22B7A733600D55EF8 /* DBTEAMLOGShowcaseRestoredDetails.h in Headers */, + F99E176C2B7A733600D55EF8 /* DBTEAMLOGFileAddDetails.h in Headers */, + F99E1AF62B7A733800D55EF8 /* DBTEAMLOGSfFbInviteChangeRoleDetails.h in Headers */, + F99E1EEC2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteProfilePhotoDetails.h in Headers */, + F99E15C02B7A733500D55EF8 /* DBUSERSUserFeaturesGetValuesBatchArg.h in Headers */, + F99E1E782B7A733B00D55EF8 /* DBTEAMLOGSfTeamJoinFromOobLinkDetails.h in Headers */, + F99E1DB82B7A733A00D55EF8 /* DBTEAMLOGFedHandshakeAction.h in Headers */, + F99E18262B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h in Headers */, + F99E125C2B7A733300D55EF8 /* DBSHARINGRequestedVisibility.h in Headers */, + F99E20DC2B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.h in Headers */, + F99E1E262B7A733B00D55EF8 /* DBTEAMLOGDeviceSyncBackupStatusChangedType.h in Headers */, + F99E183A2B7A733700D55EF8 /* DBTEAMLOGEventDetails.h in Headers */, + F99E17002B7A733600D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h in Headers */, + F99E1E342B7A733B00D55EF8 /* DBTEAMLOGLoginFailType.h in Headers */, + F99E14FA2B7A733500D55EF8 /* DBTEAMMemberProfile.h in Headers */, + F99E20EC2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.h in Headers */, + F99E1D682B7A733A00D55EF8 /* DBTEAMLOGGroupAddExternalIdDetails.h in Headers */, + F99E1B142B7A733900D55EF8 /* DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h in Headers */, + F99E13B42B7A733400D55EF8 /* DBTEAMResendSecondaryEmailResult.h in Headers */, + F99E1C6A2B7A733900D55EF8 /* DBTEAMLOGFileLockingPolicyChangedDetails.h in Headers */, + F99E1BAA2B7A733900D55EF8 /* DBTEAMLOGFileDeleteCommentDetails.h in Headers */, + F99E15A62B7A733500D55EF8 /* DBUSERSGetAccountArg.h in Headers */, + F99E17862B7A733600D55EF8 /* DBTEAMLOGSsoRemoveLoginUrlType.h in Headers */, + F99E15802B7A733500D55EF8 /* DBFILEPROPERTIESModifyTemplateError.h in Headers */, + F99E11542B7A733300D55EF8 /* DBTEAMPOLICIESTwoStepVerificationPolicy.h in Headers */, + F99E208E2B7A733D00D55EF8 /* DBFILESRelocationBatchArgBase.h in Headers */, + F99E19D62B7A733800D55EF8 /* DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h in Headers */, + F99E1CEA2B7A733A00D55EF8 /* DBTEAMLOGSfInviteGroupType.h in Headers */, + F99E12EA2B7A733400D55EF8 /* DBFILEREQUESTSFileRequestError.h in Headers */, + F99E19202B7A733700D55EF8 /* DBTEAMLOGFolderOverviewItemUnpinnedType.h in Headers */, + F99E14482B7A733400D55EF8 /* DBTEAMTeamReportFailureReason.h in Headers */, + F99E149E2B7A733500D55EF8 /* DBTEAMAddSecondaryEmailsResult.h in Headers */, + F99E1EAA2B7A733B00D55EF8 /* DBTEAMLOGMemberDeleteManualContactsDetails.h in Headers */, + F99E15F22B7A733500D55EF8 /* DBTEAMLOGShowcaseFileDownloadDetails.h in Headers */, + F99E15DC2B7A733500D55EF8 /* DBTEAMLOGSfTeamJoinDetails.h in Headers */, + F99E11722B7A733300D55EF8 /* DBSHARINGGetSharedLinksArg.h in Headers */, + F99E113A2B7A733300D55EF8 /* DBTEAMPOLICIESPaperDefaultFolderPolicy.h in Headers */, + F99E1BCE2B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h in Headers */, + F99E19922B7A733800D55EF8 /* DBTEAMLOGExternalDriveBackupPolicyChangedType.h in Headers */, + F99E202C2B7A733C00D55EF8 /* DBFILESDeleteBatchJobStatus.h in Headers */, + F99E1B342B7A733900D55EF8 /* DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h in Headers */, + F99E21062B7A733D00D55EF8 /* DBOPENIDRouteObjects.h in Headers */, + F99E142C2B7A733400D55EF8 /* DBTEAMMembersDeleteProfilePhotoError.h in Headers */, + F99E1F342B7A733C00D55EF8 /* DBFILESListFolderLongpollResult.h in Headers */, + F99E18782B7A733700D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h in Headers */, + F99E1B542B7A733900D55EF8 /* DBTEAMLOGMemberChangeEmailType.h in Headers */, + F99E16002B7A733500D55EF8 /* DBTEAMLOGFileTransfersTransferSendType.h in Headers */, + F99E1DDE2B7A733B00D55EF8 /* DBTEAMLOGShowcaseEditCommentDetails.h in Headers */, + F99E1AF42B7A733800D55EF8 /* DBTEAMLOGSecondaryMailsPolicy.h in Headers */, + F99E12662B7A733300D55EF8 /* DBSHARINGMountFolderArg.h in Headers */, + F99E17322B7A733600D55EF8 /* DBTEAMLOGReplayProjectTeamDeleteDetails.h in Headers */, + F99E117A2B7A733300D55EF8 /* DBSHARINGLinkMetadata.h in Headers */, + F99E15382B7A733500D55EF8 /* DBTEAMTeamNamespacesListResult.h in Headers */, + F99E129E2B7A733400D55EF8 /* DBSHARINGCreateSharedLinkError.h in Headers */, + F99E1BA22B7A733900D55EF8 /* DBTEAMLOGAdminAlertingTriggeredAlertType.h in Headers */, + F99E115E2B7A733300D55EF8 /* DBTEAMPOLICIESSharedFolderJoinPolicy.h in Headers */, + F99E20CA2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.h in Headers */, + F99E20982B7A733D00D55EF8 /* DBFILESUploadArg.h in Headers */, + F99E13A62B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateResult.h in Headers */, + F99E1D622B7A733A00D55EF8 /* DBTEAMLOGReplayFileDeleteDetails.h in Headers */, + F99E17BA2B7A733600D55EF8 /* DBTEAMLOGAdminAlertingAlertConfiguration.h in Headers */, + F99E10CE2B7A733200D55EF8 /* DBPAPERUserInfoWithPermissionLevel.h in Headers */, + F99E1D2C2B7A733A00D55EF8 /* DBTEAMLOGAppLinkUserDetails.h in Headers */, + F99E10F02B7A733300D55EF8 /* DBPAPERListDocsCursorError.h in Headers */, + F99E11182B7A733300D55EF8 /* DBPAPERListPaperDocsSortBy.h in Headers */, + F99E15B42B7A733500D55EF8 /* DBUSERSFullAccount.h in Headers */, + F99E12562B7A733300D55EF8 /* DBSHARINGSharedFileMembers.h in Headers */, + F99E18642B7A733700D55EF8 /* DBTEAMLOGPassPolicy.h in Headers */, + F99E13162B7A733400D55EF8 /* DBTEAMCOMMONMemberSpaceLimitType.h in Headers */, + F99E146C2B7A733500D55EF8 /* DBTEAMTeamFolderCreateArg.h in Headers */, + F99E1E942B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h in Headers */, + F99E18BC2B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsAddExpirationType.h in Headers */, + F99E1D842B7A733A00D55EF8 /* DBTEAMLOGLoginMethod.h in Headers */, + F99E1B002B7A733800D55EF8 /* DBTEAMLOGAllowDownloadEnabledType.h in Headers */, + F99E204C2B7A733C00D55EF8 /* DBFILESAddTagError.h in Headers */, + F99E16BE2B7A733600D55EF8 /* DBTEAMLOGPaperContentAddMemberDetails.h in Headers */, + F99E19542B7A733700D55EF8 /* DBTEAMLOGPaperMemberPolicy.h in Headers */, + F99E1AB42B7A733800D55EF8 /* DBTEAMLOGGroupRemoveExternalIdType.h in Headers */, + F99E16D02B7A733600D55EF8 /* DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h in Headers */, + F99E1E162B7A733B00D55EF8 /* DBTEAMLOGSsoAddCertType.h in Headers */, + F99E1F7E2B7A733C00D55EF8 /* DBFILESPreviewResult.h in Headers */, + F99E1C802B7A733A00D55EF8 /* DBTEAMLOGCaptureTranscriptPolicy.h in Headers */, + F99E1EB42B7A733B00D55EF8 /* DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h in Headers */, + F99E1B3E2B7A733900D55EF8 /* DBTEAMLOGObjectLabelRemovedType.h in Headers */, + F99E19CC2B7A733800D55EF8 /* DBTEAMLOGFileGetCopyReferenceType.h in Headers */, + F99E16F82B7A733600D55EF8 /* DBTEAMLOGPaperAdminExportStartDetails.h in Headers */, + F99E1C602B7A733900D55EF8 /* DBTEAMLOGShmodelDisableDownloadsDetails.h in Headers */, + F99E20A22B7A733D00D55EF8 /* DBACCOUNTSetProfilePhotoError.h in Headers */, + F99E1C5C2B7A733900D55EF8 /* DBTEAMLOGNetworkControlChangePolicyDetails.h in Headers */, + F99E12602B7A733300D55EF8 /* DBSHARINGSharedFileMetadata.h in Headers */, + F99E163C2B7A733600D55EF8 /* DBTEAMLOGFileAddCommentType.h in Headers */, + F99E1DA62B7A733A00D55EF8 /* DBTEAMLOGReplayFileSharedLinkCreatedDetails.h in Headers */, + F99E17EA2B7A733700D55EF8 /* DBTEAMLOGDeviceChangeIpMobileDetails.h in Headers */, + F99E13EC2B7A733400D55EF8 /* DBTEAMMembersDeactivateArg.h in Headers */, + F99E18502B7A733700D55EF8 /* DBTEAMLOGMemberTransferAccountContentsType.h in Headers */, + F99E1FA02B7A733C00D55EF8 /* DBFILESRelocationBatchV2Result.h in Headers */, + F99E19422B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedType.h in Headers */, + F99E17F22B7A733700D55EF8 /* DBTEAMLOGAppPermissionsChangedDetails.h in Headers */, + F99E1C342B7A733900D55EF8 /* DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h in Headers */, + F99E166A2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h in Headers */, + F99E1D162B7A733A00D55EF8 /* DBTEAMLOGGoogleSsoChangePolicyType.h in Headers */, + F99E18322B7A733700D55EF8 /* DBTEAMLOGSharingMemberPolicy.h in Headers */, + F99E1E9C2B7A733B00D55EF8 /* DBTEAMLOGPathLogInfo.h in Headers */, + F99E1C3A2B7A733900D55EF8 /* DBTEAMLOGShowcaseRemoveMemberDetails.h in Headers */, + F99E16822B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyCreateKeyType.h in Headers */, + F99E12842B7A733300D55EF8 /* DBSHARINGShareFolderErrorBase.h in Headers */, + F99E17FE2B7A733700D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h in Headers */, + F99E20462B7A733C00D55EF8 /* DBFILESThumbnailArg.h in Headers */, + F99E153C2B7A733500D55EF8 /* DBTEAMExcludedUsersUpdateArg.h in Headers */, + F99E1C662B7A733900D55EF8 /* DBTEAMLOGSfTeamUninviteDetails.h in Headers */, + F99E14142B7A733400D55EF8 /* DBTEAMTeamFolderRenameError.h in Headers */, + F99E1BEC2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h in Headers */, + F99E114C2B7A733300D55EF8 /* DBTEAMPOLICIESOfficeAddInPolicy.h in Headers */, + F99E15A82B7A733500D55EF8 /* DBUSERSFullTeam.h in Headers */, + F99E1F7C2B7A733C00D55EF8 /* DBFILESSearchV2Result.h in Headers */, + F99E18242B7A733700D55EF8 /* DBTEAMLOGResellerSupportSessionStartDetails.h in Headers */, + F99E1F4A2B7A733C00D55EF8 /* DBFILESRemoveTagError.h in Headers */, + F99E16B02B7A733600D55EF8 /* DBTEAMLOGDeviceLinkFailDetails.h in Headers */, + F99E124E2B7A733300D55EF8 /* DBSHARINGUnshareFolderArg.h in Headers */, + F99E1A5E2B7A733800D55EF8 /* DBTEAMLOGConnectedTeamName.h in Headers */, + F99E1D082B7A733A00D55EF8 /* DBTEAMLOGResellerSupportSessionStartType.h in Headers */, + F99E166C2B7A733600D55EF8 /* DBTEAMLOGSharingChangeFolderJoinPolicyType.h in Headers */, + F99E20622B7A733C00D55EF8 /* DBFILESSharedLink.h in Headers */, + F99E16C42B7A733600D55EF8 /* DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h in Headers */, + F99E15362B7A733500D55EF8 /* DBTEAMMembersListContinueArg.h in Headers */, + F99E1B422B7A733900D55EF8 /* DBTEAMLOGBinderRemovePageDetails.h in Headers */, + F99E1B762B7A733900D55EF8 /* DBTEAMLOGEndedEnterpriseAdminSessionType.h in Headers */, + F99E1F8A2B7A733C00D55EF8 /* DBFILESThumbnailV2Error.h in Headers */, + F99E16742B7A733600D55EF8 /* DBTEAMLOGBinderAddPageDetails.h in Headers */, + F99E11E02B7A733300D55EF8 /* DBSHARINGSharedFolderMetadataBase.h in Headers */, + F99E1B7C2B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangePolicyType.h in Headers */, + F99E1A722B7A733800D55EF8 /* DBTEAMLOGPasswordResetAllDetails.h in Headers */, + F99E14F02B7A733500D55EF8 /* DBTEAMTeamFolderCreateError.h in Headers */, + F99E10DE2B7A733200D55EF8 /* DBPAPERPaperDocUpdateError.h in Headers */, + F99E189E2B7A733700D55EF8 /* DBTEAMLOGTeamEvent.h in Headers */, + F99E181E2B7A733700D55EF8 /* DBTEAMLOGReplayFileSharedLinkModifiedDetails.h in Headers */, + F99E11122B7A733300D55EF8 /* DBPAPERImportFormat.h in Headers */, + F99E171E2B7A733600D55EF8 /* DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h in Headers */, + F99E1B782B7A733900D55EF8 /* DBTEAMLOGTeamFolderPermanentlyDeleteType.h in Headers */, + F99E19162B7A733700D55EF8 /* DBTEAMLOGPasswordResetType.h in Headers */, + F99E18D82B7A733700D55EF8 /* DBTEAMLOGPaperDocOwnershipChangedType.h in Headers */, + F99E1B962B7A733900D55EF8 /* DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h in Headers */, + F99E13582B7A733400D55EF8 /* DBTEAMExcludedUsersUpdateError.h in Headers */, + F99E21122B7A733D00D55EF8 /* DBPAPERRouteObjects.h in Headers */, + F99E1BE02B7A733900D55EF8 /* DBTEAMLOGSecondaryTeamRequestCanceledDetails.h in Headers */, + F99E13962B7A733400D55EF8 /* DBTEAMMembersDataTransferArg.h in Headers */, + F99E12F62B7A733400D55EF8 /* DBFILEREQUESTSGracePeriod.h in Headers */, + F99E14882B7A733500D55EF8 /* DBTEAMMembersSetPermissionsArg.h in Headers */, + F99E160C2B7A733500D55EF8 /* DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h in Headers */, + F99E20C02B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.h in Headers */, + F99E111C2B7A733300D55EF8 /* DBPAPERPaperApiCursorError.h in Headers */, + F99E13762B7A733400D55EF8 /* DBTEAMUserAddResult.h in Headers */, + F99E11622B7A733300D55EF8 /* DBTEAMPOLICIESPasswordControlMode.h in Headers */, + F99E20AC2B7A733D00D55EF8 /* DBUSERSCOMMONAccountType.h in Headers */, + F99E13D62B7A733400D55EF8 /* DBTEAMGroupsListArg.h in Headers */, + F99E1CDA2B7A733A00D55EF8 /* DBTEAMLOGOrganizeFolderWithTidyDetails.h in Headers */, + F99E20722B7A733D00D55EF8 /* DBFILESMoveIntoFamilyError.h in Headers */, + F99E18742B7A733700D55EF8 /* DBTEAMLOGPaperDocTrashedType.h in Headers */, + F99E15E22B7A733500D55EF8 /* DBTEAMLOGTfaChangeStatusType.h in Headers */, + F99E1E902B7A733B00D55EF8 /* DBTEAMLOGFilePermanentlyDeleteType.h in Headers */, + F99E123A2B7A733300D55EF8 /* DBSHARINGResolvedVisibility.h in Headers */, + F99E12262B7A733300D55EF8 /* DBSHARINGListFolderMembersContinueArg.h in Headers */, + F99E144E2B7A733400D55EF8 /* DBTEAMSetCustomQuotaArg.h in Headers */, + F99E1B2E2B7A733900D55EF8 /* DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h in Headers */, + F99E1D942B7A733A00D55EF8 /* DBTEAMLOGTeamMergeToDetails.h in Headers */, + F99E1B522B7A733900D55EF8 /* DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h in Headers */, + F99E1C982B7A733A00D55EF8 /* DBTEAMLOGFilePreviewDetails.h in Headers */, + F99E15AE2B7A733500D55EF8 /* DBUSERSGetAccountBatchError.h in Headers */, + F99E1BEA2B7A733900D55EF8 /* DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h in Headers */, + F99E11102B7A733300D55EF8 /* DBPAPERListUsersOnFolderResponse.h in Headers */, + F99E1B382B7A733900D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h in Headers */, + F99E1F7A2B7A733C00D55EF8 /* DBFILESRelocationBatchJobStatus.h in Headers */, + F99E15922B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroup.h in Headers */, + F99E1A9E2B7A733800D55EF8 /* DBTEAMLOGShowcaseDeleteCommentType.h in Headers */, + F99E1FA22B7A733C00D55EF8 /* DBFILESLockConflictError.h in Headers */, + F99E143C2B7A733400D55EF8 /* DBTEAMGroupsListContinueError.h in Headers */, + F99E11742B7A733300D55EF8 /* DBSHARINGGroupMembershipInfo.h in Headers */, + F99E1AEC2B7A733800D55EF8 /* DBTEAMLOGFolderLogInfo.h in Headers */, + F99E1ADE2B7A733800D55EF8 /* DBTEAMLOGSharedContentChangeMemberRoleType.h in Headers */, + F99E14D42B7A733500D55EF8 /* DBTEAMUserDeleteEmailsResult.h in Headers */, + F99E13882B7A733400D55EF8 /* DBTEAMUserDeleteResult.h in Headers */, + F99E1BA82B7A733900D55EF8 /* DBTEAMLOGTimeUnit.h in Headers */, + F99E1C222B7A733900D55EF8 /* DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h in Headers */, + F99E11882B7A733300D55EF8 /* DBSHARINGMemberAccessLevelResult.h in Headers */, + F99E17242B7A733600D55EF8 /* DBTEAMLOGGoogleSsoPolicy.h in Headers */, + F99E128E2B7A733300D55EF8 /* DBSHARINGGroupInfo.h in Headers */, + F99E13E22B7A733400D55EF8 /* DBTEAMMembersAddJobStatus.h in Headers */, + F99E1DA02B7A733A00D55EF8 /* DBTEAMLOGGroupChangeExternalIdDetails.h in Headers */, + F99E1B402B7A733900D55EF8 /* DBTEAMLOGSharedContentViewDetails.h in Headers */, + F99E11142B7A733300D55EF8 /* DBPAPERListPaperDocsSortOrder.h in Headers */, + F99E16982B7A733600D55EF8 /* DBTEAMLOGShowcaseRenamedType.h in Headers */, + F99E14702B7A733500D55EF8 /* DBTEAMListMembersDevicesError.h in Headers */, + F99E1C822B7A733A00D55EF8 /* DBTEAMLOGEventCategory.h in Headers */, + F99E19E22B7A733800D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h in Headers */, + F99E19DC2B7A733800D55EF8 /* DBTEAMLOGSsoRemoveCertType.h in Headers */, + F99E1CB62B7A733A00D55EF8 /* DBTEAMLOGRansomwareRestoreProcessStartedDetails.h in Headers */, + F99E18882B7A733700D55EF8 /* DBTEAMLOGSharedLinkChangeExpiryDetails.h in Headers */, + F99E1E2E2B7A733B00D55EF8 /* DBTEAMLOGSharedLinkSettingsChangeAudienceType.h in Headers */, + F99E135E2B7A733400D55EF8 /* DBTEAMGroupsPollError.h in Headers */, + F99E1CF22B7A733A00D55EF8 /* DBTEAMLOGSharedContentChangeLinkPasswordDetails.h in Headers */, + F99E1F862B7A733C00D55EF8 /* DBFILESSearchOptions.h in Headers */, + F99E17562B7A733600D55EF8 /* DBTEAMLOGOriginLogInfo.h in Headers */, + F99E1FF22B7A733C00D55EF8 /* DBFILESContentSyncSetting.h in Headers */, + F99E1B2C2B7A733900D55EF8 /* DBTEAMLOGPaperChangeDeploymentPolicyType.h in Headers */, + F99E1F222B7A733C00D55EF8 /* DBFILESSymlinkInfo.h in Headers */, + F99E1B4C2B7A733900D55EF8 /* DBTEAMLOGFileChangeCommentSubscriptionType.h in Headers */, + F99E129A2B7A733300D55EF8 /* DBSHARINGGetSharedLinkMetadataArg.h in Headers */, + F99E1F082B7A733B00D55EF8 /* DBTEAMLOGSignInAsSessionEndDetails.h in Headers */, + F99E20A62B7A733D00D55EF8 /* DBCHECKEchoResult.h in Headers */, + F99E1AF22B7A733800D55EF8 /* DBTEAMLOGFileAddFromAutomationDetails.h in Headers */, + F99E14062B7A733400D55EF8 /* DBTEAMExcludedUsersListContinueError.h in Headers */, + F99E1F2A2B7A733C00D55EF8 /* DBFILESGetCopyReferenceError.h in Headers */, + F99E1B302B7A733900D55EF8 /* DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h in Headers */, + F99E16642B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h in Headers */, + F99E17CC2B7A733700D55EF8 /* DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h in Headers */, + F99E19B02B7A733800D55EF8 /* DBTEAMLOGMemberChangeResellerRoleType.h in Headers */, + F99E17342B7A733600D55EF8 /* DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h in Headers */, + F99E1C4E2B7A733900D55EF8 /* DBTEAMLOGMemberChangeNameType.h in Headers */, + F99E12762B7A733300D55EF8 /* DBSHARINGTeamMemberInfo.h in Headers */, + F99E20342B7A733C00D55EF8 /* DBFILESGetMetadataArg.h in Headers */, + F99E15542B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupUpdate.h in Headers */, + F99E1E2A2B7A733B00D55EF8 /* DBTEAMLOGCollectionShareDetails.h in Headers */, + F99E14AE2B7A733500D55EF8 /* DBTEAMDevicesActive.h in Headers */, + F99E1AB82B7A733800D55EF8 /* DBTEAMLOGTfaChangeBackupPhoneDetails.h in Headers */, + F99E17622B7A733600D55EF8 /* DBTEAMLOGDeviceUnlinkPolicy.h in Headers */, + F99E161E2B7A733600D55EF8 /* DBTEAMLOGEmmCreateUsageReportType.h in Headers */, + F99E113C2B7A733300D55EF8 /* DBTEAMPOLICIESSharedLinkCreatePolicy.h in Headers */, + F99E19242B7A733700D55EF8 /* DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h in Headers */, + F99E19CA2B7A733800D55EF8 /* DBTEAMLOGPlacementRestriction.h in Headers */, + F99E195C2B7A733700D55EF8 /* DBTEAMLOGSfExternalInviteWarnDetails.h in Headers */, + F99E20022B7A733C00D55EF8 /* DBFILESSaveUrlResult.h in Headers */, + F99E1E5C2B7A733B00D55EF8 /* DBTEAMLOGUserTagsAddedType.h in Headers */, + F99E1AA22B7A733800D55EF8 /* DBTEAMLOGSsoChangeLoginUrlType.h in Headers */, + F99E1C182B7A733900D55EF8 /* DBTEAMLOGDeviceManagementEnabledDetails.h in Headers */, + F99E13722B7A733400D55EF8 /* DBTEAMTeamFolderAccessError.h in Headers */, + F99E18BA2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileRemovedType.h in Headers */, + F99E1C1E2B7A733900D55EF8 /* DBTEAMLOGSmartSyncOptOutDetails.h in Headers */, + F99E14582B7A733400D55EF8 /* DBTEAMMembersAddArg.h in Headers */, + F99E1B9A2B7A733900D55EF8 /* DBTEAMLOGSharedContentRemoveMemberType.h in Headers */, + F99E1D722B7A733A00D55EF8 /* DBTEAMLOGDropboxPasswordsPolicy.h in Headers */, + F99E14162B7A733400D55EF8 /* DBTEAMTeamFolderInvalidStatusError.h in Headers */, + F99E159E2B7A733500D55EF8 /* DBUSERSBasicAccount.h in Headers */, + F99E161A2B7A733600D55EF8 /* DBTEAMLOGMemberDeleteManualContactsType.h in Headers */, + F99E1E442B7A733B00D55EF8 /* DBTEAMLOGAppPermissionsChangedType.h in Headers */, + F99E19DA2B7A733800D55EF8 /* DBTEAMLOGFolderOverviewDescriptionChangedType.h in Headers */, + F99E1AEE2B7A733800D55EF8 /* DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h in Headers */, + F99E154E2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyGroupTemplate.h in Headers */, + F99E1AD82B7A733800D55EF8 /* DBTEAMLOGBinderRemovePageType.h in Headers */, + F99E18E22B7A733700D55EF8 /* DBTEAMLOGLegalHoldsExportDownloadedDetails.h in Headers */, + F99E11642B7A733300D55EF8 /* DBTEAMPOLICIESCameraUploadsPolicyState.h in Headers */, + F99E20902B7A733D00D55EF8 /* DBFILESDeleteArg.h in Headers */, + F99E19F82B7A733800D55EF8 /* DBTEAMLOGAdminAlertingAlertStatePolicy.h in Headers */, + F99E11082B7A733300D55EF8 /* DBPAPERPaperApiBaseError.h in Headers */, + F99E1D0E2B7A733A00D55EF8 /* DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h in Headers */, + F99E12542B7A733300D55EF8 /* DBSHARINGMemberSelector.h in Headers */, + F99E10D62B7A733200D55EF8 /* DBPAPERPaperFolderCreateResult.h in Headers */, + F99E155E2B7A733500D55EF8 /* DBFILEPROPERTIESPropertyField.h in Headers */, + F99E188A2B7A733700D55EF8 /* DBTEAMLOGClassificationChangePolicyType.h in Headers */, + F99E199C2B7A733800D55EF8 /* DBTEAMLOGUserTagsAddedDetails.h in Headers */, + F99E1DCC2B7A733B00D55EF8 /* DBTEAMLOGLegalHoldsChangeHoldNameType.h in Headers */, + F99E1DCA2B7A733B00D55EF8 /* DBTEAMLOGSfExternalInviteWarnType.h in Headers */, + F99E1C1A2B7A733900D55EF8 /* DBTEAMLOGEventType.h in Headers */, + F99E145E2B7A733400D55EF8 /* DBTEAMCustomQuotaResult.h in Headers */, + F99E16D22B7A733600D55EF8 /* DBTEAMLOGRewindFolderDetails.h in Headers */, + F99E12022B7A733300D55EF8 /* DBSHARINGSharedFolderMembers.h in Headers */, + F99E1A5C2B7A733800D55EF8 /* DBTEAMLOGPaperFolderDeletedDetails.h in Headers */, + F99E1B042B7A733900D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportType.h in Headers */, + F99E14222B7A733400D55EF8 /* DBTEAMDesktopPlatform.h in Headers */, + F99E1ED02B7A733B00D55EF8 /* DBTEAMLOGSharedContentRelinquishMembershipType.h in Headers */, + F99E173E2B7A733600D55EF8 /* DBTEAMLOGClassificationCreateReportFailDetails.h in Headers */, + F99E14602B7A733400D55EF8 /* DBTEAMNamespaceType.h in Headers */, + F99E17942B7A733600D55EF8 /* DBTEAMLOGFileRequestsPolicy.h in Headers */, + F99E1CFC2B7A733A00D55EF8 /* DBTEAMLOGClassificationType.h in Headers */, + F99E14642B7A733400D55EF8 /* DBTEAMGroupUpdateError.h in Headers */, + F99E11342B7A733300D55EF8 /* DBTEAMPOLICIESGroupCreation.h in Headers */, + F99E1CAC2B7A733A00D55EF8 /* DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h in Headers */, + F99E1E382B7A733B00D55EF8 /* DBTEAMLOGResellerSupportSessionEndType.h in Headers */, + F99E1B602B7A733900D55EF8 /* DBTEAMLOGExternalSharingCreateReportType.h in Headers */, + F99E10E82B7A733300D55EF8 /* DBPAPERCursor.h in Headers */, + F99E21302B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.h in Headers */, + F99E162E2B7A733600D55EF8 /* DBTEAMLOGDeviceApprovalsAddExceptionDetails.h in Headers */, + F99E1DDA2B7A733B00D55EF8 /* DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h in Headers */, + F99E131C2B7A733400D55EF8 /* DBTEAMCOMMONGroupType.h in Headers */, + F99E12E42B7A733400D55EF8 /* DBFILEREQUESTSFileRequest.h in Headers */, + F99E1F442B7A733C00D55EF8 /* DBFILESSearchMatchTypeV2.h in Headers */, + F99E15882B7A733500D55EF8 /* DBFILEPROPERTIESAddTemplateResult.h in Headers */, + F99E16682B7A733600D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedType.h in Headers */, + F99E1DC22B7A733A00D55EF8 /* DBTEAMLOGPaperContentRemoveFromFolderType.h in Headers */, + F99E11002B7A733300D55EF8 /* DBPAPERAddPaperDocUser.h in Headers */, + F99E14BE2B7A733500D55EF8 /* DBTEAMListTeamAppsArg.h in Headers */, + F99E1ADA2B7A733800D55EF8 /* DBTEAMLOGDeviceChangeIpWebDetails.h in Headers */, + F99E1BBE2B7A733900D55EF8 /* DBTEAMLOGAdminRole.h in Headers */, + F99E1FD02B7A733C00D55EF8 /* DBFILESUploadSessionAppendError.h in Headers */, + F99E1D9E2B7A733A00D55EF8 /* DBTEAMLOGDeviceLinkSuccessType.h in Headers */, + F99E116E2B7A733300D55EF8 /* DBSECONDARYEMAILSSecondaryEmail.h in Headers */, + F99E17842B7A733600D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkFailType.h in Headers */, + F99E16602B7A733600D55EF8 /* DBTEAMLOGAdminConsoleAppPermission.h in Headers */, + F99E1E682B7A733B00D55EF8 /* DBTEAMLOGFileRequestChangeType.h in Headers */, + F99E1CC02B7A733A00D55EF8 /* DBTEAMLOGCollectionShareType.h in Headers */, + F99E1DFE2B7A733B00D55EF8 /* DBTEAMLOGAlertRecipientsSettingType.h in Headers */, + F99E177A2B7A733600D55EF8 /* DBTEAMLOGBinderReorderPageDetails.h in Headers */, + F99E1F3E2B7A733C00D55EF8 /* DBFILESGetTagsResult.h in Headers */, + F99E14C82B7A733500D55EF8 /* DBTEAMRevokeLinkedAppBatchResult.h in Headers */, + F99E14C22B7A733500D55EF8 /* DBTEAMUserCustomQuotaArg.h in Headers */, + F99E119C2B7A733300D55EF8 /* DBSHARINGAclUpdatePolicy.h in Headers */, + F99E1E102B7A733B00D55EF8 /* DBTEAMLOGEmmRefreshAuthTokenType.h in Headers */, + F99E200A2B7A733C00D55EF8 /* DBFILESSearchResult.h in Headers */, + F99E1EA62B7A733B00D55EF8 /* DBTEAMLOGTeamActivityCreateReportFailType.h in Headers */, + F99E197C2B7A733800D55EF8 /* DBTEAMLOGDeviceManagementDisabledDetails.h in Headers */, + F99E1CCC2B7A733A00D55EF8 /* DBTEAMLOGTwoAccountChangePolicyType.h in Headers */, + F99E1B2A2B7A733900D55EF8 /* DBTEAMLOGGroupChangeMemberRoleType.h in Headers */, + F99E1EDA2B7A733B00D55EF8 /* DBTEAMLOGShowcaseTrashedType.h in Headers */, + F99E1C862B7A733A00D55EF8 /* DBTEAMLOGSharedLinkDisableType.h in Headers */, + F99E18C82B7A733700D55EF8 /* DBTEAMLOGEmmCreateExceptionsReportType.h in Headers */, + F99E1AD02B7A733800D55EF8 /* DBTEAMLOGGroupChangeManagementTypeDetails.h in Headers */, + F99E1BD42B7A733900D55EF8 /* DBTEAMLOGTeamProfileChangeBackgroundDetails.h in Headers */, + F99E1E022B7A733B00D55EF8 /* DBTEAMLOGTeamFolderChangeStatusDetails.h in Headers */, + F99E18562B7A733700D55EF8 /* DBTEAMLOGPaperContentRestoreDetails.h in Headers */, + F99E1BCA2B7A733900D55EF8 /* DBTEAMLOGMemberSetProfilePhotoDetails.h in Headers */, + F99E125E2B7A733300D55EF8 /* DBSHARINGAddMember.h in Headers */, + F99E11422B7A733300D55EF8 /* DBTEAMPOLICIESPaperDeploymentPolicy.h in Headers */, + F99E145C2B7A733400D55EF8 /* DBTEAMGroupCreateArg.h in Headers */, + F99E12FE2B7A733400D55EF8 /* DBFILEREQUESTSListFileRequestsResult.h in Headers */, + F99E15602B7A733500D55EF8 /* DBFILEPROPERTIESPropertyType.h in Headers */, + F99E16CE2B7A733600D55EF8 /* DBTEAMLOGTeamEncryptionKeyRotateKeyType.h in Headers */, + F99E16D42B7A733600D55EF8 /* DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h in Headers */, + F99E14B42B7A733500D55EF8 /* DBTEAMTeamMemberInfoV2Result.h in Headers */, + F99E191A2B7A733700D55EF8 /* DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h in Headers */, + F99E1D482B7A733A00D55EF8 /* DBTEAMLOGTrustedNonTeamMemberLogInfo.h in Headers */, + F99E19FA2B7A733800D55EF8 /* DBTEAMLOGOutdatedLinkViewReportFailedDetails.h in Headers */, + F99E207C2B7A733D00D55EF8 /* DBFILESCreateFolderEntryError.h in Headers */, + F99E18B62B7A733700D55EF8 /* DBTEAMLOGSharedContentChangeDownloadsPolicyType.h in Headers */, + F99E10E62B7A733300D55EF8 /* DBPAPERListUsersCursorError.h in Headers */, + F99E1BF42B7A733900D55EF8 /* DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h in Headers */, + F99E1A9C2B7A733800D55EF8 /* DBTEAMLOGTfaChangePolicyType.h in Headers */, + F99E1E7E2B7A733B00D55EF8 /* DBTEAMLOGMemberStatus.h in Headers */, + F99E11BC2B7A733300D55EF8 /* DBSHARINGListFolderMembersCursorArg.h in Headers */, + F99E12742B7A733300D55EF8 /* DBSHARINGUnshareFolderError.h in Headers */, + F99E20562B7A733C00D55EF8 /* DBFILESListFolderContinueError.h in Headers */, + F99E13DC2B7A733400D55EF8 /* DBTEAMMembersTransferFilesError.h in Headers */, + F99E13902B7A733400D55EF8 /* DBTEAMFeaturesGetValuesBatchResult.h in Headers */, + F99E14962B7A733500D55EF8 /* DBTEAMGroupMembersSetAccessTypeArg.h in Headers */, + F99E17722B7A733600D55EF8 /* DBTEAMLOGApiSessionLogInfo.h in Headers */, + F99E21142B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.h in Headers */, + F99E149A2B7A733500D55EF8 /* DBTEAMMembersDeactivateError.h in Headers */, + F99E1F602B7A733C00D55EF8 /* DBFILESGetThumbnailBatchArg.h in Headers */, + F99E1F362B7A733C00D55EF8 /* DBFILESFolderSharingInfo.h in Headers */, + F99E1FEE2B7A733C00D55EF8 /* DBFILESExportResult.h in Headers */, + F99E1E542B7A733B00D55EF8 /* DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h in Headers */, + F99E1C0C2B7A733900D55EF8 /* DBTEAMLOGNoteShareReceiveDetails.h in Headers */, + F99E1B842B7A733900D55EF8 /* DBTEAMLOGSecondaryMailsPolicyChangedDetails.h in Headers */, + F99E185C2B7A733700D55EF8 /* DBTEAMLOGShowcaseFileAddedDetails.h in Headers */, + F99E13B62B7A733400D55EF8 /* DBTEAMTeamFolderArchiveError.h in Headers */, + F99E17D42B7A733700D55EF8 /* DBTEAMLOGPaperDocDeleteCommentType.h in Headers */, + F99E11F62B7A733300D55EF8 /* DBSHARINGParentFolderAccessInfo.h in Headers */, + F99E1A662B7A733800D55EF8 /* DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h in Headers */, + F99E10EA2B7A733300D55EF8 /* DBPAPERDocSubscriptionLevel.h in Headers */, + F99E19462B7A733700D55EF8 /* DBTEAMLOGOutdatedLinkViewCreateReportType.h in Headers */, + F99E14302B7A733400D55EF8 /* DBTEAMExcludedUsersListError.h in Headers */, + F99E1C042B7A733900D55EF8 /* DBTEAMLOGTfaAddBackupPhoneType.h in Headers */, + F99E12082B7A733300D55EF8 /* DBSHARINGGetSharedLinkFileError.h in Headers */, + F99E10C02B7A733200D55EF8 /* DBUserBaseClient.h in Headers */, + F99E1D962B7A733A00D55EF8 /* DBTEAMLOGPasswordResetAllType.h in Headers */, + F99E11782B7A733300D55EF8 /* DBSHARINGListFileMembersIndividualResult.h in Headers */, + F99E175C2B7A733600D55EF8 /* DBTEAMLOGPaperDesktopPolicyChangedType.h in Headers */, + F99E11DE2B7A733300D55EF8 /* DBSHARINGVisibility.h in Headers */, + F99E12182B7A733300D55EF8 /* DBSHARINGFolderLinkMetadata.h in Headers */, + F99E12282B7A733300D55EF8 /* DBSHARINGFolderPolicy.h in Headers */, + F99E16CC2B7A733600D55EF8 /* DBTEAMLOGNoteAclInviteOnlyDetails.h in Headers */, + F99E1D4A2B7A733A00D55EF8 /* DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h in Headers */, + F99E1F922B7A733C00D55EF8 /* DBFILESListRevisionsMode.h in Headers */, + F99E16022B7A733500D55EF8 /* DBTEAMLOGFileLikeCommentType.h in Headers */, + F99E18B42B7A733700D55EF8 /* DBTEAMLOGDomainInvitesRequestToJoinTeamType.h in Headers */, + F99E1C4C2B7A733900D55EF8 /* DBTEAMLOGShmodelGroupShareType.h in Headers */, + F99E16942B7A733600D55EF8 /* DBTEAMLOGSharedFolderChangeMembersPolicyType.h in Headers */, + F99E1A7A2B7A733800D55EF8 /* DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h in Headers */, + F99E12B82B7A733400D55EF8 /* DBAUTHTokenFromOAuth1Error.h in Headers */, + F99E1A202B7A733800D55EF8 /* DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h in Headers */, + F99E1B9E2B7A733900D55EF8 /* DBTEAMLOGFileRequestDeleteDetails.h in Headers */, + F99E14042B7A733400D55EF8 /* DBTEAMMembersSetPermissions2Result.h in Headers */, F2AB345C1E89DEEE004F6379 /* DBAppClient.h in Headers */, F2AB0D8C1E666C96002617AB /* ObjectiveDropboxOfficialLib.h in Headers */, 3C3C29771F7D758E00C54011 /* DBTransportBaseHostnameConfig.h in Headers */, @@ -6945,7 +13656,17 @@ F29789101E03692F00876A73 /* DBCustomRoutes.h in Headers */, F2A2CE9E1E562E90001D8449 /* DBCustomTasks.h in Headers */, F2A2CEA31E562FF6001D8449 /* DBCustomDatatypes.h in Headers */, + BF33F93324873F12001F4072 /* DBScopeRequest.h in Headers */, + BF33F94124874DED001F4072 /* DBOAuthResultCompletion.h in Headers */, F2D40D3B1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.h in Headers */, + BF33F93724873F12001F4072 /* DBOAuthUtils.h in Headers */, + BF33F92F24873F12001F4072 /* DBOAuthPKCESession.h in Headers */, + BF474D39248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.h in Headers */, + BF33F93F24874DED001F4072 /* DBOAuthTokenRequest.h in Headers */, + BF33F93124873F12001F4072 /* DBOAuthConstants.h in Headers */, + BF33F93A24873F3E001F4072 /* DBScopeRequest+Protected.h in Headers */, + BF6162C62491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.h in Headers */, + 63FB27AA22BDD97A0062BA22 /* DBSDKImports-iOS.h in Headers */, F2C59AFE1E9C2EFC00E8D2E6 /* DBOAuthManager+Protected.h in Headers */, F2C59AF61E9C033400E8D2E6 /* DBSDKSystem.h in Headers */, F2A2CE8D1E5628F1001D8449 /* DBClientsManager+Protected.h in Headers */, @@ -6957,6 +13678,10 @@ F2A2CE931E56290B001D8449 /* DBTasksImpl.h in Headers */, F2A2CE961E562917001D8449 /* DBChunkInputStream.h in Headers */, F2A2CEAA1E56567C001D8449 /* DBTransportBaseClient+Internal.h in Headers */, + BFFFCE8724E7417B0084E238 /* DBURLSessionTaskResponseBlockWrapper.h in Headers */, + BFFFCE8624E741670084E238 /* DBURLSessionTask.h in Headers */, + BF46BE8624E741F000002735 /* DBGlobalErrorResponseHandler+Internal.h in Headers */, + BF46BE8824E7425C00002735 /* DBAccessTokenProvider+Internal.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -7005,7 +13730,7 @@ F26B756C1D7F6AF700714F70 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0900; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Dropbox; TargetAttributes = { F26B75741D7F6AF700714F70 = { @@ -7020,10 +13745,11 @@ }; buildConfigurationList = F26B756F1D7F6AF700714F70 /* Build configuration list for PBXProject "ObjectiveDropboxOfficial" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = F26B756B1D7F6AF700714F70; productRefGroup = F26B75761D7F6AF700714F70 /* Products */; @@ -7058,75 +13784,102 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F292F6731FC0EB7800D6E69B /* DBStoneValidators.m in Sources */, F29788F11E03692F00876A73 /* DBTransportDefaultClient.m in Sources */, + F99E21212B7A733D00D55EF8 /* DBOPENIDRouteObjects.m in Sources */, + F99E21372B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */, + F99E21232B7A733D00D55EF8 /* DBUSERSRouteObjects.m in Sources */, F2D40D3C1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m in Sources */, - F292F66B1FC0EB7800D6E69B /* DBStoneBase.m in Sources */, + F99E13332B7A733400D55EF8 /* DBOpenidObjects.m in Sources */, F29788E51E03692F00876A73 /* DBTasks.m in Sources */, + F99E20992B7A733D00D55EF8 /* DBAccountObjects.m in Sources */, + F99E20FD2B7A733D00D55EF8 /* DBTEAMRouteObjects.m in Sources */, + F99E10BD2B7A733200D55EF8 /* DBAppBaseClient.m in Sources */, + F99E10C52B7A733200D55EF8 /* DBUserBaseClient.m in Sources */, + F99E13052B7A733400D55EF8 /* DBAsyncObjects.m in Sources */, F297890B1E03692F00876A73 /* DBChunkInputStream.m in Sources */, - F292F1CD1FC0EB7600D6E69B /* DBTeamObjects.m in Sources */, + F99E20A72B7A733D00D55EF8 /* DBCheckObjects.m in Sources */, + BF33F92A24873F12001F4072 /* DBOAuthConstants.m in Sources */, + F99E13352B7A733400D55EF8 /* DBTeamObjects.m in Sources */, + BFD93BC724905D8A006AB165 /* DBAccessTokenProviderImpl.m in Sources */, + F99E116B2B7A733300D55EF8 /* DBSecondaryEmailsObjects.m in Sources */, F2A2DBAE1E578C3F001D8449 /* DBOfficialAppConnector-iOS.m in Sources */, - F292F6871FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.m in Sources */, - F292F6931FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.m in Sources */, F29788FB1E03692F00876A73 /* DBOAuthManager.m in Sources */, + F99E13032B7A733400D55EF8 /* DBContactsObjects.m in Sources */, + F99E20D72B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.m in Sources */, F29788D91E03692F00876A73 /* DBRequestErrors.m in Sources */, - F292EF411FC0EB7400D6E69B /* DBFileRequestsObjects.m in Sources */, - F292F6771FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.m in Sources */, - F292F67B1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.m in Sources */, - F292F6171FC0EB7800D6E69B /* DBTeamPoliciesObjects.m in Sources */, - F292F69F1FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.m in Sources */, - F292F6B31FC0EB7800D6E69B /* DBPAPERRouteObjects.m in Sources */, + F99E12C92B7A733400D55EF8 /* DBAuthObjects.m in Sources */, + F99E20E32B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.m in Sources */, + F99E21152B7A733D00D55EF8 /* DBFILESRouteObjects.m in Sources */, + F99E20BD2B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.m in Sources */, + BF33F92C24873F12001F4072 /* DBOAuthUtils.m in Sources */, F235B5221E29913600144F8B /* DBOAuthMobile-iOS.m in Sources */, + F99E15992B7A733500D55EF8 /* DBUsersObjects.m in Sources */, + BF474D3A248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m in Sources */, + F99E20E52B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m in Sources */, + F99E20F92B7A733D00D55EF8 /* DBPAPERRouteObjects.m in Sources */, 3C3C29741F7D757E00C54011 /* DBTransportBaseHostnameConfig.m in Sources */, + F99E131F2B7A733400D55EF8 /* DBCommonObjects.m in Sources */, + BF6162C72491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m in Sources */, F29788C91E03692F00876A73 /* DBClientsManager.m in Sources */, - F292F6A31FC0EB7800D6E69B /* DBAUTHRouteObjects.m in Sources */, + F99E20FB2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.m in Sources */, + F99E10BB2B7A733200D55EF8 /* DBTeamBaseClient.m in Sources */, + F99E20C32B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.m in Sources */, + F99E15C52B7A733500D55EF8 /* DBTeamLogObjects.m in Sources */, + F99E21092B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.m in Sources */, F29788E91E03692F00876A73 /* DBTasksImpl.m in Sources */, - F292F6831FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */, - F292F6B71FC0EB7800D6E69B /* DBSHARINGRouteObjects.m in Sources */, + F99E20EF2B7A733D00D55EF8 /* DBFILESAppAuthRoutes.m in Sources */, F29788ED1E03692F00876A73 /* DBTasksStorage.m in Sources */, - F292F6AF1FC0EB7800D6E69B /* DBFILESRouteObjects.m in Sources */, - F292F6631FC0EB7800D6E69B /* DBUserBaseClient.m in Sources */, - F292F68F1FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.m in Sources */, - F292F03F1FC0EB7500D6E69B /* DBPaperObjects.m in Sources */, - F292EED11FC0EB7400D6E69B /* DBAuthObjects.m in Sources */, + F99E20A92B7A733D00D55EF8 /* DBUsersCommonObjects.m in Sources */, F2C59AFA1E9C2CAF00E8D2E6 /* DBOAuthMobileManager-iOS.m in Sources */, + F99E116F2B7A733300D55EF8 /* DBSharingObjects.m in Sources */, + F99E21312B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.m in Sources */, + F99E211D2B7A733D00D55EF8 /* DBCHECKRouteObjects.m in Sources */, F239DFD11E68DA1700417314 /* DBSDKConstants.m in Sources */, + F99E20AF2B7A733D00D55EF8 /* DBStoneSerializers.m in Sources */, + F99E131D2B7A733400D55EF8 /* DBTeamCommonObjects.m in Sources */, F29788C51E03692F00876A73 /* DBUserClient.m in Sources */, - F292F6551FC0EB7800D6E69B /* DBUsersCommonObjects.m in Sources */, - F292F6BF1FC0EB7800D6E69B /* DBTEAMRouteObjects.m in Sources */, - F292F66F1FC0EB7800D6E69B /* DBStoneSerializers.m in Sources */, + F99E20C72B7A733D00D55EF8 /* DBFILESUserAuthRoutes.m in Sources */, F2A2CE9A1E562E46001D8449 /* DBCustomTasks.m in Sources */, + F99E112D2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */, F24169471E523FEB0038E306 /* DBTransportDefaultConfig.m in Sources */, - F292F6971FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.m in Sources */, - F292F3471FC0EB7600D6E69B /* DBTeamLogObjects.m in Sources */, + BF33F93424873F12001F4072 /* DBScopeRequest.m in Sources */, F29788DD1E03692F00876A73 /* DBSDKReachability.m in Sources */, - F292F6A71FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.m in Sources */, - F292EEF11FC0EB7400D6E69B /* DBFilePropertiesObjects.m in Sources */, - F292EEC31FC0EB7400D6E69B /* DBAsyncObjects.m in Sources */, - F292F09F1FC0EB7500D6E69B /* DBSharingObjects.m in Sources */, - F292EF5F1FC0EB7500D6E69B /* DBFilesObjects.m in Sources */, F29788E11E03692F00876A73 /* DBSessionData.m in Sources */, - F292F69B1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.m in Sources */, - F292F65B1FC0EB7800D6E69B /* DBAppBaseClient.m in Sources */, + F99E12CB2B7A733400D55EF8 /* DBFileRequestsObjects.m in Sources */, + F99E20D12B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.m in Sources */, + F99E20ED2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.m in Sources */, + F99E20CB2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */, F29788D31E03692F00876A73 /* DBDelegate.m in Sources */, F29789031E03692F00876A73 /* DBSDKKeychain.m in Sources */, + F99E20F52B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.m in Sources */, + F99E20F72B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.m in Sources */, + BFFFCE8124E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m in Sources */, + F99E212D2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.m in Sources */, + F99E211F2B7A733D00D55EF8 /* DBACCOUNTRouteObjects.m in Sources */, + F99E20E92B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.m in Sources */, F29789111E03692F00876A73 /* DBCustomRoutes.m in Sources */, F29788CF1E03692F00876A73 /* DBTeamClient.m in Sources */, - F292F6AB1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.m in Sources */, + F99E1F092B7A733B00D55EF8 /* DBFilesObjects.m in Sources */, + F99E21252B7A733D00D55EF8 /* DBSHARINGRouteObjects.m in Sources */, + F99E20AD2B7A733D00D55EF8 /* DBStoneBase.m in Sources */, + BF7E352C2488562F00DEDF84 /* DBLoadingViewController.m in Sources */, + F99E20DD2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.m in Sources */, F241694F1E5247DB0038E306 /* DBTransportBaseConfig.m in Sources */, - F292F67F1FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */, - F292F65F1FC0EB7800D6E69B /* DBTeamBaseClient.m in Sources */, - F292F33D1FC0EB7600D6E69B /* DBTeamCommonObjects.m in Sources */, + F99E20B12B7A733D00D55EF8 /* DBStoneValidators.m in Sources */, + F99E20D92B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.m in Sources */, F2A2DBB01E578C3F001D8449 /* DBOpenWithInfo-iOS.m in Sources */, F29788F51E03692F00876A73 /* DBTransportBaseClient.m in Sources */, - F292F6371FC0EB7800D6E69B /* DBUsersObjects.m in Sources */, + F99E21272B7A733D00D55EF8 /* DBCONTACTSRouteObjects.m in Sources */, F2AB345E1E89DF0C004F6379 /* DBAppClient.m in Sources */, + F99E21172B7A733D00D55EF8 /* DBAUTHRouteObjects.m in Sources */, + BF33F92824873F12001F4072 /* DBOAuthPKCESession.m in Sources */, + F99E10C72B7A733200D55EF8 /* DBPaperObjects.m in Sources */, + F99E21352B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.m in Sources */, + F99E12B12B7A733400D55EF8 /* DBSeenStateObjects.m in Sources */, F29788FF1E03692F00876A73 /* DBOAuthResult.m in Sources */, + F99E15972B7A733500D55EF8 /* DBFilePropertiesObjects.m in Sources */, F2A2CEA11E562FEB001D8449 /* DBCustomDatatypes.m in Sources */, - F292F6C31FC0EB7800D6E69B /* DBUSERSRouteObjects.m in Sources */, - F292EEE51FC0EB7400D6E69B /* DBCommonObjects.m in Sources */, - F292F68B1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.m in Sources */, - F292F6BB1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.m in Sources */, + BF33F94224874DED001F4072 /* DBOAuthTokenRequest.m in Sources */, F235B5241E29913600144F8B /* DBClientsManager+MobileAuth-iOS.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -7135,73 +13888,99 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + BF33F92924873F12001F4072 /* DBOAuthPKCESession.m in Sources */, + F99E131E2B7A733400D55EF8 /* DBTeamCommonObjects.m in Sources */, + F99E20B02B7A733D00D55EF8 /* DBStoneSerializers.m in Sources */, F2AB345F1E89DF0C004F6379 /* DBAppClient.m in Sources */, - F292EEE61FC0EB7400D6E69B /* DBCommonObjects.m in Sources */, - F292F6BC1FC0EB7800D6E69B /* DBTEAMLOGRouteObjects.m in Sources */, - F292EEC41FC0EB7400D6E69B /* DBAsyncObjects.m in Sources */, - F292F65C1FC0EB7800D6E69B /* DBAppBaseClient.m in Sources */, - F292F6641FC0EB7800D6E69B /* DBUserBaseClient.m in Sources */, - F292F66C1FC0EB7800D6E69B /* DBStoneBase.m in Sources */, - F292F0A01FC0EB7500D6E69B /* DBSharingObjects.m in Sources */, - F292F0401FC0EB7500D6E69B /* DBPaperObjects.m in Sources */, - F292F69C1FC0EB7800D6E69B /* DBTEAMTeamAuthRoutes.m in Sources */, F29788F21E03692F00876A73 /* DBTransportDefaultClient.m in Sources */, + F99E21262B7A733D00D55EF8 /* DBSHARINGRouteObjects.m in Sources */, + BF33F94324874DED001F4072 /* DBOAuthTokenRequest.m in Sources */, F29788E61E03692F00876A73 /* DBTasks.m in Sources */, + BF33F93524873F12001F4072 /* DBScopeRequest.m in Sources */, F2D40D3D1E7782C7004CCEB7 /* DBGlobalErrorResponseHandler.m in Sources */, - F292F33E1FC0EB7600D6E69B /* DBTeamCommonObjects.m in Sources */, - F292F6A01FC0EB7800D6E69B /* DBUSERSUserAuthRoutes.m in Sources */, - F292F6181FC0EB7800D6E69B /* DBTeamPoliciesObjects.m in Sources */, + F99E20E42B7A733D00D55EF8 /* DBCONTACTSUserAuthRoutes.m in Sources */, + F99E112E2B7A733300D55EF8 /* DBTeamPoliciesObjects.m in Sources */, F297890C1E03692F00876A73 /* DBChunkInputStream.m in Sources */, F29788FC1E03692F00876A73 /* DBOAuthManager.m in Sources */, - F292F6841FC0EB7800D6E69B /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */, F235B52F1E29915400144F8B /* DBOAuthDesktop-macOS.m in Sources */, + F99E12B22B7A733400D55EF8 /* DBSeenStateObjects.m in Sources */, F29788DA1E03692F00876A73 /* DBRequestErrors.m in Sources */, - F292F6561FC0EB7800D6E69B /* DBUsersCommonObjects.m in Sources */, + F99E10C82B7A733200D55EF8 /* DBPaperObjects.m in Sources */, + F99E10BE2B7A733200D55EF8 /* DBAppBaseClient.m in Sources */, + F99E20C82B7A733D00D55EF8 /* DBFILESUserAuthRoutes.m in Sources */, + F99E20BE2B7A733D00D55EF8 /* DBAUTHAppAuthRoutes.m in Sources */, + BFFFCE8224E73F010084E238 /* DBURLSessionTaskResponseBlockWrapper.m in Sources */, + F99E13362B7A733400D55EF8 /* DBTeamObjects.m in Sources */, + F99E10BC2B7A733200D55EF8 /* DBTeamBaseClient.m in Sources */, + F99E12CA2B7A733400D55EF8 /* DBAuthObjects.m in Sources */, + F99E12CC2B7A733400D55EF8 /* DBFileRequestsObjects.m in Sources */, + F99E21322B7A733D00D55EF8 /* DBOPENIDUserAuthRoutes.m in Sources */, F29788CA1E03692F00876A73 /* DBClientsManager.m in Sources */, - F292F1CE1FC0EB7600D6E69B /* DBTeamObjects.m in Sources */, F239DFD21E68DA1700417314 /* DBSDKConstants.m in Sources */, F29788EA1E03692F00876A73 /* DBTasksImpl.m in Sources */, F29788EE1E03692F00876A73 /* DBTasksStorage.m in Sources */, + F99E20FA2B7A733D00D55EF8 /* DBPAPERRouteObjects.m in Sources */, + F99E209A2B7A733D00D55EF8 /* DBAccountObjects.m in Sources */, + F99E13042B7A733400D55EF8 /* DBContactsObjects.m in Sources */, + F99E20FC2B7A733D00D55EF8 /* DBFILEPROPERTIESRouteObjects.m in Sources */, F29788C61E03692F00876A73 /* DBUserClient.m in Sources */, + F99E15982B7A733500D55EF8 /* DBFilePropertiesObjects.m in Sources */, + F99E20F62B7A733D00D55EF8 /* DBSHARINGUserAuthRoutes.m in Sources */, + F99E13062B7A733400D55EF8 /* DBAsyncObjects.m in Sources */, + F99E21382B7A733D00D55EF8 /* DBFILEPROPERTIESUserAuthRoutes.m in Sources */, + F99E20FE2B7A733D00D55EF8 /* DBTEAMRouteObjects.m in Sources */, + BF33F92B24873F12001F4072 /* DBOAuthConstants.m in Sources */, + F99E15C62B7A733500D55EF8 /* DBTeamLogObjects.m in Sources */, F2A2CE9B1E562E46001D8449 /* DBCustomTasks.m in Sources */, - F292F6881FC0EB7800D6E69B /* DBFILEREQUESTSUserAuthRoutes.m in Sources */, - F292F6B81FC0EB7800D6E69B /* DBSHARINGRouteObjects.m in Sources */, + F99E20D22B7A733D00D55EF8 /* DBTEAMLOGTeamAuthRoutes.m in Sources */, + F99E20E62B7A733D00D55EF8 /* DBFILEREQUESTSUserAuthRoutes.m in Sources */, + BF6162C82491A29F004E34B7 /* DBURLSessionTaskWithTokenRefresh.m in Sources */, + F99E116C2B7A733300D55EF8 /* DBSecondaryEmailsObjects.m in Sources */, + F99E13202B7A733400D55EF8 /* DBCommonObjects.m in Sources */, + F99E20DA2B7A733D00D55EF8 /* DBSHARINGAppAuthRoutes.m in Sources */, + F99E21362B7A733D00D55EF8 /* DBTEAMTeamAuthRoutes.m in Sources */, + F99E20EA2B7A733D00D55EF8 /* DBCHECKAppAuthRoutes.m in Sources */, + F99E21242B7A733D00D55EF8 /* DBUSERSRouteObjects.m in Sources */, + F99E212E2B7A733D00D55EF8 /* DBAUTHUserAuthRoutes.m in Sources */, + F99E13342B7A733400D55EF8 /* DBOpenidObjects.m in Sources */, + BF474D3B248ED1AA007171C0 /* DBAccessToken+NSSecureCoding.m in Sources */, F24169481E523FEB0038E306 /* DBTransportDefaultConfig.m in Sources */, + F99E20AA2B7A733D00D55EF8 /* DBUsersCommonObjects.m in Sources */, + F99E21202B7A733D00D55EF8 /* DBACCOUNTRouteObjects.m in Sources */, + F99E159A2B7A733500D55EF8 /* DBUsersObjects.m in Sources */, F29788DE1E03692F00876A73 /* DBSDKReachability.m in Sources */, F29788E21E03692F00876A73 /* DBSessionData.m in Sources */, - F292F6B41FC0EB7800D6E69B /* DBPAPERRouteObjects.m in Sources */, F29788D41E03692F00876A73 /* DBDelegate.m in Sources */, - F292F6781FC0EB7800D6E69B /* DBAUTHAppAuthRoutes.m in Sources */, - F292F6941FC0EB7800D6E69B /* DBSHARINGUserAuthRoutes.m in Sources */, - F292F6701FC0EB7800D6E69B /* DBStoneSerializers.m in Sources */, F29789041E03692F00876A73 /* DBSDKKeychain.m in Sources */, - F292F6601FC0EB7800D6E69B /* DBTeamBaseClient.m in Sources */, F235B5311E29915400144F8B /* DBClientsManager+DesktopAuth-macOS.m in Sources */, + F99E20F02B7A733D00D55EF8 /* DBFILESAppAuthRoutes.m in Sources */, F29789121E03692F00876A73 /* DBCustomRoutes.m in Sources */, F241694E1E5247D60038E306 /* DBTransportBaseConfig.m in Sources */, - F292F6A81FC0EB7800D6E69B /* DBFILEPROPERTIESRouteObjects.m in Sources */, - F292EED21FC0EB7400D6E69B /* DBAuthObjects.m in Sources */, + F99E20DE2B7A733D00D55EF8 /* DBPAPERUserAuthRoutes.m in Sources */, + F99E1F0A2B7A733B00D55EF8 /* DBFilesObjects.m in Sources */, F29788D01E03692F00876A73 /* DBTeamClient.m in Sources */, - F292F6A41FC0EB7800D6E69B /* DBAUTHRouteObjects.m in Sources */, - F292EEF21FC0EB7400D6E69B /* DBFilePropertiesObjects.m in Sources */, + F99E20AE2B7A733D00D55EF8 /* DBStoneBase.m in Sources */, + BFD93BC824905D8A006AB165 /* DBAccessTokenProviderImpl.m in Sources */, F29788F61E03692F00876A73 /* DBTransportBaseClient.m in Sources */, - F292F67C1FC0EB7800D6E69B /* DBAUTHUserAuthRoutes.m in Sources */, - F292F3481FC0EB7600D6E69B /* DBTeamLogObjects.m in Sources */, - F292F6741FC0EB7800D6E69B /* DBStoneValidators.m in Sources */, - F292F6AC1FC0EB7800D6E69B /* DBFILEREQUESTSRouteObjects.m in Sources */, - F292EF601FC0EB7500D6E69B /* DBFilesObjects.m in Sources */, - F292F68C1FC0EB7800D6E69B /* DBFILESUserAuthRoutes.m in Sources */, + F99E20F82B7A733D00D55EF8 /* DBTEAMLOGRouteObjects.m in Sources */, + F99E21162B7A733D00D55EF8 /* DBFILESRouteObjects.m in Sources */, + F99E20EE2B7A733D00D55EF8 /* DBACCOUNTUserAuthRoutes.m in Sources */, 3C3C29751F7D757E00C54011 /* DBTransportBaseHostnameConfig.m in Sources */, + F99E21282B7A733D00D55EF8 /* DBCONTACTSRouteObjects.m in Sources */, F2A2CEA21E562FEB001D8449 /* DBCustomDatatypes.m in Sources */, - F292F6901FC0EB7800D6E69B /* DBPAPERUserAuthRoutes.m in Sources */, - F292F6C01FC0EB7800D6E69B /* DBTEAMRouteObjects.m in Sources */, - F292F6B01FC0EB7800D6E69B /* DBFILESRouteObjects.m in Sources */, - F292F6381FC0EB7800D6E69B /* DBUsersObjects.m in Sources */, - F292F6C41FC0EB7800D6E69B /* DBUSERSRouteObjects.m in Sources */, - F292EF421FC0EB7400D6E69B /* DBFileRequestsObjects.m in Sources */, - F292F6801FC0EB7800D6E69B /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */, - F292F6981FC0EB7800D6E69B /* DBTEAMLOGTeamAuthRoutes.m in Sources */, + F99E20B22B7A733D00D55EF8 /* DBStoneValidators.m in Sources */, + F99E211E2B7A733D00D55EF8 /* DBCHECKRouteObjects.m in Sources */, + F99E21222B7A733D00D55EF8 /* DBOPENIDRouteObjects.m in Sources */, + F99E210A2B7A733D00D55EF8 /* DBFILEREQUESTSRouteObjects.m in Sources */, + F99E21182B7A733D00D55EF8 /* DBAUTHRouteObjects.m in Sources */, + F99E10C62B7A733200D55EF8 /* DBUserBaseClient.m in Sources */, + F99E11702B7A733300D55EF8 /* DBSharingObjects.m in Sources */, + BF33F92D24873F12001F4072 /* DBOAuthUtils.m in Sources */, + F99E20CC2B7A733D00D55EF8 /* DBFILEPROPERTIESTeamAuthRoutes.m in Sources */, + F99E20C42B7A733D00D55EF8 /* DBUSERSUserAuthRoutes.m in Sources */, + F99E20D82B7A733D00D55EF8 /* DBCHECKUserAuthRoutes.m in Sources */, F29789001E03692F00876A73 /* DBOAuthResult.m in Sources */, + F99E20A82B7A733D00D55EF8 /* DBCheckObjects.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -7212,6 +13991,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -7221,12 +14001,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -7255,7 +14037,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 10.10; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -7270,6 +14052,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -7279,12 +14062,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -7307,7 +14092,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MACOSX_DEPLOYMENT_TARGET = 10.10; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; @@ -7326,7 +14111,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; @@ -7336,7 +14121,7 @@ GCC_WARN_SHADOW = YES; INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; @@ -7352,7 +14137,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; @@ -7363,7 +14148,7 @@ GCC_WARN_SHADOW = YES; INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; @@ -7393,7 +14178,7 @@ INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_macOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; SDKROOT = macosx; @@ -7423,7 +14208,7 @@ INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_macOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial; PRODUCT_NAME = ObjectiveDropboxOfficial; SDKROOT = macosx; diff --git a/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial iOS.xcscheme b/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial iOS.xcscheme index ce264cb04..2862cabb2 100644 --- a/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial iOS.xcscheme +++ b/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/xcshareddata/xcschemes/ObjectiveDropboxOfficial iOS.xcscheme @@ -1,6 +1,6 @@ - - - - - - - - )loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + scopeRequest:(nullable DBScopeRequest *)scopeRequest; /// /// Stores the user app key. If any access token already exists, initializes an authorized shared `DBUserClient` diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.m index 3f489f46f..6173db227 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.m +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBClientsManager+MobileAuth-iOS.m @@ -6,9 +6,11 @@ #import "DBClientsManager+Protected.h" #import "DBClientsManager.h" +#import "DBLoadingStatusDelegate.h" #import "DBOAuthManager.h" #import "DBOAuthMobile-iOS.h" #import "DBOAuthMobileManager-iOS.h" +#import "DBScopeRequest.h" #import "DBTransportDefaultConfig.h" @implementation DBClientsManager (MobileAuth) @@ -16,14 +18,25 @@ @implementation DBClientsManager (MobileAuth) + (void)authorizeFromController:(UIApplication *)sharedApplication controller:(UIViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL { - NSAssert([DBOAuthManager sharedOAuthManager] != nil, - @"Call `Dropbox.setupWithAppKey` or `Dropbox.setupWithTeamAppKey` before calling this method"); - DBMobileSharedApplication *sharedMobileApplication = - [[DBMobileSharedApplication alloc] initWithSharedApplication:sharedApplication - controller:controller - openURL:openURL]; - [DBMobileSharedApplication setMobileSharedApplication:sharedMobileApplication]; - [[DBOAuthManager sharedOAuthManager] authorizeFromSharedApplication:sharedMobileApplication]; + [self db_authorizeFromController:sharedApplication + controller:controller + loadingStatusDelegate:nil + openURL:openURL + usePkce:NO + scopeRequest:nil]; +} + ++ (void)authorizeFromControllerV2:(UIApplication *)sharedApplication + controller:(nullable UIViewController *)controller + loadingStatusDelegate:(nullable id)loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + scopeRequest:(nullable DBScopeRequest *)scopeRequest { + [self db_authorizeFromController:sharedApplication + controller:controller + loadingStatusDelegate:loadingStatusDelegate + openURL:openURL + usePkce:YES + scopeRequest:scopeRequest]; } + (void)setupWithAppKey:(NSString *)appKey { @@ -49,4 +62,25 @@ + (void)setupWithTeamTransportConfig:(DBTransportDefaultConfig *)transportConfig transportConfig:transportConfig]; } +#pragma - mark Private methods + ++ (void)db_authorizeFromController:(UIApplication *)sharedApplication + controller:(nullable UIViewController *)controller + loadingStatusDelegate:(nullable id)loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + usePkce:(BOOL)usePkce + scopeRequest:(nullable DBScopeRequest *)scopeRequest { + NSAssert([DBOAuthManager sharedOAuthManager] != nil, + @"Call `Dropbox.setupWithAppKey` or `Dropbox.setupWithTeamAppKey` before calling this method"); + DBMobileSharedApplication *sharedMobileApplication = + [[DBMobileSharedApplication alloc] initWithSharedApplication:sharedApplication + controller:controller + openURL:openURL]; + sharedMobileApplication.loadingStatusDelegate = loadingStatusDelegate; + [DBMobileSharedApplication setMobileSharedApplication:sharedMobileApplication]; + [[DBOAuthManager sharedOAuthManager] authorizeFromSharedApplication:sharedMobileApplication + usePkce:usePkce + scopeRequest:scopeRequest]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBLoadingViewController.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBLoadingViewController.m new file mode 100644 index 000000000..620301f84 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBLoadingViewController.m @@ -0,0 +1,42 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBLoadingViewController.h" + +@interface DBLoadingViewController () + +@property (nonatomic, readwrite, strong) UIActivityIndicatorView *loadingSpinner; + +@end + +@implementation DBLoadingViewController + +- (instancetype)init { + self = [super initWithNibName:nil bundle:nil]; + if (self) { + if (@available(iOS 13.0, *)) { + _loadingSpinner = + [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleLarge]; + } else { + _loadingSpinner = + [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; + } + } + return self; +} + +- (void)viewDidLoad { + [super viewDidLoad]; + UIView *view = self.view; + view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0.4]; + [view addSubview:_loadingSpinner]; + _loadingSpinner.translatesAutoresizingMaskIntoConstraints = NO; + [NSLayoutConstraint activateConstraints:@[ + [_loadingSpinner.centerXAnchor constraintEqualToAnchor:view.centerXAnchor], + [_loadingSpinner.centerYAnchor constraintEqualToAnchor:view.centerYAnchor], + ]]; + [_loadingSpinner startAnimating]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.h b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.h index b2309bea4..17908bde8 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.h +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.h @@ -6,6 +6,7 @@ #import #import +#import "DBLoadingStatusDelegate.h" #import "DBSharedApplicationProtocol.h" #pragma mark - Shared application @@ -19,11 +20,15 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBMobileSharedApplication : NSObject +/// Delegate to handle loading status during auth flow. +@property (nonatomic, readwrite, weak) id loadingStatusDelegate; + /// /// Full constructor. /// /// @param sharedApplication The `UIApplication` with which to render the OAuth flow. -/// @param controller The `UIViewController` with which to render the OAuth flow. +/// @param controller The `UIViewController` with which to render the OAuth flow. The controller reference is weakly +/// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// /// @return An initialized instance. diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.m index 4585ac0f6..af4a80e08 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.m +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobile-iOS.m @@ -3,6 +3,9 @@ /// #import "DBOAuthMobile-iOS.h" + +#import "DBLoadingStatusDelegate.h" +#import "DBLoadingViewController.h" #import "DBOAuthManager.h" #import "DBSDKSystem.h" @@ -12,7 +15,7 @@ @implementation DBMobileSharedApplication { UIApplication *_sharedApplication; - UIViewController *_controller; + __weak UIViewController *_Nullable _controller; void (^_openURL)(NSURL *); } @@ -119,6 +122,74 @@ - (void)dismissAuthController { } } +- (void)presentLoading { + if ([self db_isWebOAuthFlow]) { + [self db_presentLoadingInWeb]; + } else { + [self db_presentLoadingInApp]; + } +} + +- (void)dismissLoading { + if ([self db_isWebOAuthFlow]) { + [self db_dismissLoadingInWeb]; + } else { + [self db_dismissLoadingInApp]; + } +} + +#pragma mark Private helpers + +- (BOOL)db_isWebOAuthFlow { + return [_controller.presentedViewController isKindOfClass:[DBMobileSafariViewController class]]; +} + +// Web OAuth flow, present the spinner over the MobileSafariViewController. +- (void)db_presentLoadingInWeb { + UIViewController *vc = _controller.presentedViewController; + if ([vc isKindOfClass:[DBMobileSafariViewController class]]) { + [self db_presentLoadingInViewController:vc]; + } +} + +- (void)db_dismissLoadingInWeb { + UIViewController *vc = _controller.presentedViewController; + if ([vc isKindOfClass:[DBMobileSafariViewController class]]) { + [self db_dismissLoadingInViewController:vc]; + } +} + +// Delegate to app to present loading if delegate is set. Otherwise, present the spinner in the view controller. +- (void)db_presentLoadingInApp { + if (_loadingStatusDelegate) { + [_loadingStatusDelegate showLoading]; + } else { + [self db_presentLoadingInViewController:_controller]; + } +} + +// Delegate to app to dismiss loading if delegate is set. Otherwise, dismiss the spinner in the view controller. +- (void)db_dismissLoadingInApp { + if (_loadingStatusDelegate) { + [_loadingStatusDelegate dismissLoading]; + } else { + [self db_dismissLoadingInViewController:_controller]; + } +} + +- (void)db_presentLoadingInViewController:(UIViewController *)viewController { + DBLoadingViewController *loadingVC = [[DBLoadingViewController alloc] init]; + loadingVC.modalPresentationStyle = UIModalPresentationOverFullScreen; + [viewController presentViewController:loadingVC animated:false completion:nil]; +} + +- (void)db_dismissLoadingInViewController:(UIViewController *)viewController { + UIViewController *presentedVC = _controller.presentedViewController; + if ([presentedVC isKindOfClass:[DBLoadingViewController class]]) { + [presentedVC dismissViewControllerAnimated:false completion:nil]; + } +} + @end #pragma mark - Web view controller diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.m index 2eb9b03e6..fb22a5dd6 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.m +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBOAuthMobileManager-iOS.m @@ -3,9 +3,15 @@ /// #import "DBOAuthMobileManager-iOS.h" + +#import "DBLoadingViewController.h" +#import "DBOAuthConstants.h" #import "DBOAuthManager+Protected.h" #import "DBOAuthMobile-iOS.h" +#import "DBOAuthPKCESession.h" #import "DBOAuthResult.h" +#import "DBOAuthUtils.h" +#import "DBScopeRequest+Protected.h" #import "DBSharedApplicationProtocol.h" #pragma mark - OAuth manager base (iOS) @@ -33,14 +39,12 @@ - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host redirect return self; } -- (DBOAuthResult *)extractFromUrl:(NSURL *)url { - DBOAuthResult *result; - if ([url.host isEqualToString:@"1"]) { // dauth - result = [self extractfromDAuthURL:url]; +- (void)extractFromUrl:(NSURL *)url completion:(DBOAuthCompletion)completion { + if ([url.host isEqualToString:_dauthRedirectURL.host]) { // dauth + [self extractfromDAuthURL:url completion:completion]; } else { - result = [self extractFromRedirectURL:url]; + [self extractAuthResultFromRedirectURL:url completion:completion]; } - return result; } - (BOOL)checkAndPresentPlatformSpecificAuth:(id)sharedApplication { @@ -57,39 +61,52 @@ - (BOOL)checkAndPresentPlatformSpecificAuth:(id)sharedAppli NSString *scheme = [self dAuthScheme:sharedApplication]; if (scheme != nil) { - NSString *nonce = [[NSUUID alloc] init].UUIDString; - [[NSUserDefaults standardUserDefaults] setObject:nonce forKey:kDBLinkNonce]; - [[NSUserDefaults standardUserDefaults] synchronize]; - [sharedApplication presentExternalApp:[self dAuthURL:scheme nonce:nonce]]; + NSURL *url = nil; + if (_authSession) { + // Code flow + url = [self dAuthURL:scheme authSession:_authSession]; + } else { + // Token flow + NSString *nonce = [[NSUUID alloc] init].UUIDString; + [[NSUserDefaults standardUserDefaults] setObject:nonce forKey:kDBLinkNonce]; + url = [self dAuthURL:scheme nonce:nonce]; + } + NSAssert(url, @"Failed to create dauth url."); + [sharedApplication presentExternalApp:url]; return YES; } return NO; } -- (DBOAuthResult *)handleRedirectURL:(NSURL *)url { - [[DBMobileSharedApplication mobileSharedApplication] dismissAuthController]; - DBOAuthResult *result = [super handleRedirectURL:url]; - return result; +- (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion { + return [super handleRedirectURL:url + completion:^(DBOAuthResult *result) { + [[DBMobileSharedApplication mobileSharedApplication] dismissAuthController]; + completion(result); + }]; } - (NSURL *)dAuthURL:(NSString *)scheme nonce:(NSString *)nonce { - NSURLComponents *components = [[NSURLComponents alloc] init]; - components.scheme = scheme; - components.host = @"1"; - components.path = @"/connect"; - + NSURLComponents *components = [self db_dauthUrlCommonComponentsWithScheme:scheme]; if (nonce != nil) { NSString *state = [NSString stringWithFormat:@"oauth2:%@", nonce]; - components.queryItems = @[ - [NSURLQueryItem queryItemWithName:@"k" value:_appKey], - [NSURLQueryItem queryItemWithName:@"s" value:@""], - [NSURLQueryItem queryItemWithName:@"state" value:state], - ]; + components.queryItems = + [components.queryItems arrayByAddingObject:[NSURLQueryItem queryItemWithName:kDBStateKey value:state]]; } return components.URL; } +- (NSURL *)dAuthURL:(NSString *)scheme authSession:(DBOAuthPKCESession *)authSession { + NSURLComponents *components = [self db_dauthUrlCommonComponentsWithScheme:scheme]; + NSString *extraQueryParams = [DBOAuthMobileManager db_createExtraQueryParamsStringForAuthSession:authSession]; + components.queryItems = [components.queryItems arrayByAddingObjectsFromArray:@[ + [NSURLQueryItem queryItemWithName:kDBStateKey value:authSession.state], + [NSURLQueryItem queryItemWithName:kDBExtraQueryParamsKey value:extraQueryParams], + ]]; + return components.URL; +} + - (NSString *)dAuthScheme:(id)sharedApplication { if ([sharedApplication canPresentExternalApp:[self dAuthURL:@"dbapi-2" nonce:nil]]) { return @"dbapi-2"; @@ -100,31 +117,19 @@ - (NSString *)dAuthScheme:(id)sharedApplication { } } -- (DBOAuthResult *)extractfromDAuthURL:(NSURL *)url { +- (void)extractfromDAuthURL:(NSURL *)url completion:(DBOAuthCompletion)completion { NSString *path = url.path; - if (path != nil) { - if ([path isEqualToString:@"/connect"]) { - NSMutableDictionary *results = [[NSMutableDictionary alloc] init]; - NSArray *pairs = [url.query componentsSeparatedByString:@"&"] ?: @[]; - - for (NSString *pair in pairs) { - NSArray *kv = [pair componentsSeparatedByString:@"="]; - [results setObject:[kv objectAtIndex:1] forKey:[kv objectAtIndex:0]]; - } - NSArray *state = [results[@"state"] componentsSeparatedByString:@"%3A"]; - - NSString *nonce = (NSString *)[[NSUserDefaults standardUserDefaults] objectForKey:kDBLinkNonce]; - if (state.count == 2 && [state[0] isEqualToString:@"oauth2"] && [state[1] isEqualToString:nonce]) { - NSString *accessToken = results[@"oauth_token_secret"]; - NSString *uid = results[@"uid"]; - return [[DBOAuthResult alloc] initWithSuccess:[[DBAccessToken alloc] initWithAccessToken:accessToken uid:uid]]; - } else { - return [[DBOAuthResult alloc] initWithError:@"" errorDescription:@"Unable to verify link request."]; - } + if (path && [path isEqualToString:@"/connect"]) { + if (_authSession) { + // Code flow + [self db_handleCodeFlowUrl:url authSession:_authSession completion:completion]; + } else { + // Token flow + completion([self db_extractFromTokenFlowUrl:url]); } + } else { + completion(nil); } - - return nil; } - (BOOL)hasApplicationQueriesSchemes { @@ -145,4 +150,104 @@ - (BOOL)hasApplicationQueriesSchemes { return NO; } +- (NSURLComponents *)db_dauthUrlCommonComponentsWithScheme:(NSString *)scheme { + NSURLComponents *components = [NSURLComponents new]; + components.scheme = scheme; + components.host = @"1"; + components.path = @"/connect"; + components.queryItems = @[ + [NSURLQueryItem queryItemWithName:@"k" value:_appKey], + [NSURLQueryItem queryItemWithName:@"s" value:@""], + ]; + return components; +} + +/// Handles code flow response URL from DBApp. +/// +/// Auth results are passed back in URL query parameters. +/// Expect results look like below: +/// +/// 1. DBApp that can handle dauth code flow properly +/// @code +/// [ +/// "state": "", +/// "oauth_code": "" +/// ] +/// @endcode +/// +/// 2. Legacy DBApp that calls legacy dauth api, oauth_token should be "oauth2code:" and the code is stored under +/// "oauth_token_secret" key. +/// @code +/// [ +/// "state": "", +/// "oauth_token": "oauth2code:", +/// "oauth_token_secret": "" +/// ] +/// @endcode +- (void)db_handleCodeFlowUrl:(NSURL *)url + authSession:(DBOAuthPKCESession *)authSession + completion:(DBOAuthCompletion)completion { + NSDictionary *parametersMap = [DBOAuthUtils extractDAuthResponseFromUrl:url]; + NSString *state = parametersMap[kDBStateKey]; + if (state == nil || ![state isEqualToString:authSession.state]) { + completion([DBOAuthResult unknownErrorWithErrorDescription:@"Unable to verify link request."]); + return; + } + + NSString *authCode = nil; + if (parametersMap[kDBOauthCodeKey]) { + authCode = parametersMap[kDBOauthCodeKey]; + } else if ([parametersMap[kDBOauthTokenKey] isEqualToString:@"oauth2code:"]) { + authCode = parametersMap[kDBOauthSecretKey]; + } + if (authCode) { + [self finishPkceOAuthWithAuthCode:authCode codeVerifier:authSession.pkceData.codeVerifier completion:completion]; + } else { + completion([DBOAuthResult unknownErrorWithErrorDescription:@"Unable to verify link request."]); + } +} + +/// Handles token flow response URL from DBApp. +/// +/// Auth results are passed back in URL query parameters. +/// Expect results look like below: +/// @code +/// [ +/// "state": "oauth2:", +/// "oauth_token_secret": "", +/// "uid": "" +/// ] +/// @endcode +- (DBOAuthResult *)db_extractFromTokenFlowUrl:(NSURL *)url { + NSDictionary *parametersMap = [DBOAuthUtils extractDAuthResponseFromUrl:url]; + NSString *state = parametersMap[kDBStateKey]; + NSString *nonce = (NSString *)[[NSUserDefaults standardUserDefaults] objectForKey:kDBLinkNonce]; + NSString *expectedState = [NSString stringWithFormat:@"oauth2:%@", nonce]; + NSString *accessToken = parametersMap[kDBOauthSecretKey]; + NSString *uid = parametersMap[kDBUidKey]; + if (state && [state isEqualToString:expectedState] && accessToken && uid) { + return [[DBOAuthResult alloc] initWithSuccess:[DBAccessToken createWithLongLivedAccessToken:accessToken uid:uid]]; + } else { + return [DBOAuthResult unknownErrorWithErrorDescription:@"Unable to verify link request."]; + } +} + ++ (NSString *)db_createExtraQueryParamsStringForAuthSession:(DBOAuthPKCESession *)authSession { + NSMutableArray *params = [NSMutableArray new]; + NSString *format = @"%@=%@"; + DBPkceData *pkceData = authSession.pkceData; + [params addObject:[NSString stringWithFormat:format, kDBCodeChallengeKey, pkceData.codeChallenge]]; + [params addObject:[NSString stringWithFormat:format, kDBCodeChallengeMethodKey, pkceData.codeChallengeMethod]]; + [params addObject:[NSString stringWithFormat:format, kDBTokenAccessTypeKey, authSession.tokenAccessType]]; + [params addObject:[NSString stringWithFormat:format, kDBResponseTypeKey, authSession.responseType]]; + DBScopeRequest *scopeRequest = authSession.scopeRequest; + if (scopeRequest.scopeString) { + [params addObject:[NSString stringWithFormat:format, kDBScopeKey, scopeRequest.scopeString]]; + } + if (scopeRequest.includeGrantedScopes) { + [params addObject:[NSString stringWithFormat:format, kDBIncludeGrantedScopesKey, scopeRequest.scopeType]]; + } + return [params componentsJoinedByString:@"&"]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBSDKImports-iOS.h b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBSDKImports-iOS.h index ae8fb9f62..ba39f9881 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBSDKImports-iOS.h +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/DBSDKImports-iOS.h @@ -3,6 +3,7 @@ /// #import "DBClientsManager+MobileAuth-iOS.h" +#import "DBLoadingStatusDelegate.h" #import "DBOAuthMobile-iOS.h" #import "DBOAuthMobileManager-iOS.h" diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist index b012b6a17..082ce9665 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_iOS/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.7.0 + 7.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.h b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.h index 0d0c7c048..8100c5cec 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.h +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.h @@ -7,10 +7,14 @@ #import "DBClientsManager.h" #import "DBOAuthDesktop-macOS.h" #import "DBOAuthResult.h" + +@class DBScopeRequest; @class DBTransportDefaultConfig; @class NSWorkspace; @class NSViewController; +@protocol DBLoadingStatusDelegate; + NS_ASSUME_NONNULL_BEGIN /// @@ -23,13 +27,45 @@ NS_ASSUME_NONNULL_BEGIN /// /// Commences OAuth desktop flow from supplied view controller. /// +/// This method should no longer be used. +/// Long-lived access tokens are deprecated. See +/// https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens. +/// Please use `authorizeFromControllerDesktopV2` instead. +/// /// @param sharedApplication The `NSWorkspace` with which to render the OAuth flow. -/// @param controller The `NSViewController` with which to render the OAuth flow. +/// @param controller The `NSViewController` with which to render the OAuth flow. The controller reference is weakly +/// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// + (void)authorizeFromControllerDesktop:(NSWorkspace *)sharedApplication controller:(nullable NSViewController *)controller - openURL:(void (^_Nonnull)(NSURL *))openURL; + openURL:(void (^_Nonnull)(NSURL *))openURL + __deprecated_msg("This method was used for long-lived access tokens, which are now deprecated. Please use " + "`authorizeFromControllerDesktopV2` instead."); + +/// +/// Commences OAuth mobile flow from supplied view controller. +/// +/// This starts the OAuth 2 Authorization Code Flow with PKCE. +/// PKCE allows "authorization code" flow without "client_secret" +/// It enables "native application", which is ensafe to hardcode client_secret in code, to use "authorization code". +/// PKCE is more secure than "token" flow. If authorization code is compromised during +/// transmission, it can't be used to exchange for access token without random generated +/// code_verifier, which is stored inside this SDK. +/// +/// @param sharedApplication The `NSWorkspace` with which to render the OAuth flow. +/// @param controller The `NSViewController` with which to render the OAuth flow. The controller reference is weakly +/// held. +/// @param loadingStatusDelegate An optional delegate to handle loading experience during auth flow. +/// e.g. Show a loading spinner and block user interaction while loading/waiting. +/// @param openURL A wrapper around app-extension unsafe `openURL` call. +/// @param scopeRequest Request contains information of scopes to be obtained. +/// ++ (void)authorizeFromControllerDesktopV2:(NSWorkspace *)sharedApplication + controller:(nullable NSViewController *)controller + loadingStatusDelegate:(nullable id)loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + scopeRequest:(nullable DBScopeRequest *)scopeRequest; /// /// Stores the user app key for desktop. If any access token already exists, initializes an authorized shared diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.m index 65b25fbfc..c5d6d7bfb 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.m +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBClientsManager+DesktopAuth-macOS.m @@ -6,8 +6,10 @@ #import "DBClientsManager+Protected.h" #import "DBClientsManager.h" +#import "DBLoadingStatusDelegate.h" #import "DBOAuthDesktop-macOS.h" #import "DBOAuthManager.h" +#import "DBScopeRequest.h" #import "DBTransportDefaultConfig.h" @implementation DBClientsManager (DesktopAuth) @@ -15,13 +17,25 @@ @implementation DBClientsManager (DesktopAuth) + (void)authorizeFromControllerDesktop:(NSWorkspace *)sharedApplication controller:(NSViewController *)controller openURL:(void (^_Nonnull)(NSURL *))openURL { - NSAssert([DBOAuthManager sharedOAuthManager] != nil, - @"Call `Dropbox.setupWithAppKey` or `Dropbox.setupWithTeamAppKey` before calling this method"); - DBDesktopSharedApplication *sharedDesktopApplication = - [[DBDesktopSharedApplication alloc] initWithSharedApplication:sharedApplication - controller:controller - openURL:openURL]; - [[DBOAuthManager sharedOAuthManager] authorizeFromSharedApplication:sharedDesktopApplication]; + [self db_authorizeFromControllerDesktop:sharedApplication + controller:controller + loadingStatusDelegate:nil + openURL:openURL + usePkce:NO + scopeRequest:nil]; +} + ++ (void)authorizeFromControllerDesktopV2:(NSWorkspace *)sharedApplication + controller:(nullable NSViewController *)controller + loadingStatusDelegate:(nullable id)loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + scopeRequest:(nullable DBScopeRequest *)scopeRequest { + [self db_authorizeFromControllerDesktop:sharedApplication + controller:controller + loadingStatusDelegate:loadingStatusDelegate + openURL:openURL + usePkce:YES + scopeRequest:scopeRequest]; } + (void)setupWithAppKeyDesktop:(NSString *)appKey { @@ -44,4 +58,25 @@ + (void)setupWithTeamTransportConfigDesktop:(DBTransportDefaultConfig *)transpor transportConfig:transportConfig]; } +#pragma - mark Private methods + ++ (void)db_authorizeFromControllerDesktop:(NSWorkspace *)sharedApplication + controller:(nullable NSViewController *)controller + loadingStatusDelegate:(nullable id)loadingStatusDelegate + openURL:(void (^_Nonnull)(NSURL *))openURL + usePkce:(BOOL)usePkce + scopeRequest:(nullable DBScopeRequest *)scopeRequest { + NSAssert([DBOAuthManager sharedOAuthManager] != nil, + @"Call `Dropbox.setupWithAppKey` or `Dropbox.setupWithTeamAppKey` before calling this method"); + DBDesktopSharedApplication *sharedDesktopApplication = + [[DBDesktopSharedApplication alloc] initWithSharedApplication:sharedApplication + controller:controller + openURL:openURL]; + sharedDesktopApplication.loadingStatusDelegate = loadingStatusDelegate; + [DBDesktopSharedApplication setDesktopSharedApplication:sharedDesktopApplication]; + [[DBOAuthManager sharedOAuthManager] authorizeFromSharedApplication:sharedDesktopApplication + usePkce:usePkce + scopeRequest:scopeRequest]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.h b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.h index c092f1867..cc7c3fb76 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.h +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.h @@ -5,6 +5,7 @@ #import #import +#import "DBLoadingStatusDelegate.h" #import "DBSharedApplicationProtocol.h" NS_ASSUME_NONNULL_BEGIN @@ -16,11 +17,21 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBDesktopSharedApplication : NSObject +/// Delegate to handle loading status during auth flow. +@property (nonatomic, readwrite, weak) id loadingStatusDelegate; + +/// Returns the shared instance of `DBDesktopSharedApplication`. ++ (nullable DBDesktopSharedApplication *)desktopSharedApplication; + +/// Sets the shared instance of `DBDesktopSharedApplication`. ++ (void)setDesktopSharedApplication:(DBDesktopSharedApplication *)desktopSharedApplication; + /// /// Full constructor. /// /// @param sharedApplication The `NSWorkspace` with which to render the OAuth flow. -/// @param controller The `NSViewController` with which to render the OAuth flow. +/// @param controller The `NSViewController` with which to render the OAuth flow. The controller reference is weakly +/// held. /// @param openURL A wrapper around app-extension unsafe `openURL` call. /// /// @return An initialized instance. diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.m b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.m index ca6e23c89..822644c21 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.m +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/DBOAuthDesktop-macOS.m @@ -3,14 +3,26 @@ /// #import "DBOAuthDesktop-macOS.h" + +#import "DBLoadingStatusDelegate.h" #import "DBOAuthManager.h" +static DBDesktopSharedApplication *s_desktopSharedApplication; + @implementation DBDesktopSharedApplication { NSWorkspace *_sharedWorkspace; - NSViewController *_controller; + __weak NSViewController *_Nullable _controller; void (^_openURL)(NSURL *); } ++ (DBDesktopSharedApplication *)desktopSharedApplication { + return s_desktopSharedApplication; +} + ++ (void)setDesktopSharedApplication:(DBDesktopSharedApplication *)desktopSharedApplication { + s_desktopSharedApplication = desktopSharedApplication; +} + - (instancetype)initWithSharedApplication:(NSWorkspace *)sharedWorkspace controller:(NSViewController *)controller openURL:(void (^)(NSURL *))openURL { @@ -47,9 +59,7 @@ - (BOOL)presentPlatformSpecificAuth:(NSURL *)authURL { - (void)presentAuthChannel:(NSURL *)authURL cancelHandler:(void (^_Nonnull)(void))cancelHandler { #pragma unused(cancelHandler) - if (_controller) { - [self presentExternalApp:authURL]; - } + [self presentExternalApp:authURL]; } - (void)presentExternalApp:(NSURL *)url { @@ -61,4 +71,12 @@ - (BOOL)canPresentExternalApp:(NSURL *)url { return YES; } +- (void)presentLoading { + [_loadingStatusDelegate showLoading]; +} + +- (void)dismissLoading { + [_loadingStatusDelegate dismissLoading]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist index 99c85c7af..01faeeaa7 100644 --- a/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist +++ b/Source/ObjectiveDropboxOfficial/Platform/ObjectiveDropboxOfficial_macOS/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.7.0 + 7.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/Source/ObjectiveDropboxOfficial/PrivacyInfo.xcprivacy b/Source/ObjectiveDropboxOfficial/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..ff9cc3f1f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/PrivacyInfo.xcprivacy @@ -0,0 +1,124 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeEmailAddress + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeAudioData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePhotosorVideos + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherUserContent + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeSearchHistory + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeProductPersonalization + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m new file mode 100644 index 000000000..0be59d7ac --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/DBAccountObjects.m @@ -0,0 +1,617 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `Account` namespace. + +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBACCOUNTPhotoSourceArg + +@synthesize base64Data = _base64Data; + +#pragma mark - Constructors + +- (instancetype)initWithBase64Data:(NSString *)base64Data { + self = [super init]; + if (self) { + _tag = DBACCOUNTPhotoSourceArgBase64Data; + _base64Data = base64Data; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBACCOUNTPhotoSourceArgOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)base64Data { + if (![self isBase64Data]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBACCOUNTPhotoSourceArgBase64Data, but was %@.", [self tagName]]; + } + return _base64Data; +} + +#pragma mark - Tag state methods + +- (BOOL)isBase64Data { + return _tag == DBACCOUNTPhotoSourceArgBase64Data; +} + +- (BOOL)isOther { + return _tag == DBACCOUNTPhotoSourceArgOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBACCOUNTPhotoSourceArgBase64Data: + return @"DBACCOUNTPhotoSourceArgBase64Data"; + case DBACCOUNTPhotoSourceArgOther: + return @"DBACCOUNTPhotoSourceArgOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBACCOUNTPhotoSourceArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBACCOUNTPhotoSourceArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBACCOUNTPhotoSourceArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBACCOUNTPhotoSourceArgBase64Data: + result = prime * result + [self.base64Data hash]; + break; + case DBACCOUNTPhotoSourceArgOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPhotoSourceArg:other]; +} + +- (BOOL)isEqualToPhotoSourceArg:(DBACCOUNTPhotoSourceArg *)aPhotoSourceArg { + if (self == aPhotoSourceArg) { + return YES; + } + if (self.tag != aPhotoSourceArg.tag) { + return NO; + } + switch (_tag) { + case DBACCOUNTPhotoSourceArgBase64Data: + return [self.base64Data isEqual:aPhotoSourceArg.base64Data]; + case DBACCOUNTPhotoSourceArgOther: + return [[self tagName] isEqual:[aPhotoSourceArg tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBACCOUNTPhotoSourceArgSerializer + ++ (NSDictionary *)serialize:(DBACCOUNTPhotoSourceArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isBase64Data]) { + jsonDict[@"base64_data"] = valueObj.base64Data; + jsonDict[@".tag"] = @"base64_data"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBACCOUNTPhotoSourceArg *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"base64_data"]) { + NSString *base64Data = valueDict[@"base64_data"]; + return [[DBACCOUNTPhotoSourceArg alloc] initWithBase64Data:base64Data]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBACCOUNTPhotoSourceArg alloc] initWithOther]; + } else { + return [[DBACCOUNTPhotoSourceArg alloc] initWithOther]; + } +} + +@end + +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBACCOUNTSetProfilePhotoArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBACCOUNTSetProfilePhotoArg + +#pragma mark - Constructors + +- (instancetype)initWithPhoto:(DBACCOUNTPhotoSourceArg *)photo { + [DBStoneValidators nonnullValidator:nil](photo); + + self = [super init]; + if (self) { + _photo = photo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBACCOUNTSetProfilePhotoArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBACCOUNTSetProfilePhotoArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBACCOUNTSetProfilePhotoArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.photo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSetProfilePhotoArg:other]; +} + +- (BOOL)isEqualToSetProfilePhotoArg:(DBACCOUNTSetProfilePhotoArg *)aSetProfilePhotoArg { + if (self == aSetProfilePhotoArg) { + return YES; + } + if (![self.photo isEqual:aSetProfilePhotoArg.photo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBACCOUNTSetProfilePhotoArgSerializer + ++ (NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"photo"] = [DBACCOUNTPhotoSourceArgSerializer serialize:valueObj.photo]; + + return jsonDict; +} + ++ (DBACCOUNTSetProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { + DBACCOUNTPhotoSourceArg *photo = [DBACCOUNTPhotoSourceArgSerializer deserialize:valueDict[@"photo"]]; + + return [[DBACCOUNTSetProfilePhotoArg alloc] initWithPhoto:photo]; +} + +@end + +#import "DBACCOUNTSetProfilePhotoError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBACCOUNTSetProfilePhotoError + +#pragma mark - Constructors + +- (instancetype)initWithFileTypeError { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorFileTypeError; + } + return self; +} + +- (instancetype)initWithFileSizeError { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorFileSizeError; + } + return self; +} + +- (instancetype)initWithDimensionError { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorDimensionError; + } + return self; +} + +- (instancetype)initWithThumbnailError { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorThumbnailError; + } + return self; +} + +- (instancetype)initWithTransientError { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorTransientError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBACCOUNTSetProfilePhotoErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isFileTypeError { + return _tag == DBACCOUNTSetProfilePhotoErrorFileTypeError; +} + +- (BOOL)isFileSizeError { + return _tag == DBACCOUNTSetProfilePhotoErrorFileSizeError; +} + +- (BOOL)isDimensionError { + return _tag == DBACCOUNTSetProfilePhotoErrorDimensionError; +} + +- (BOOL)isThumbnailError { + return _tag == DBACCOUNTSetProfilePhotoErrorThumbnailError; +} + +- (BOOL)isTransientError { + return _tag == DBACCOUNTSetProfilePhotoErrorTransientError; +} + +- (BOOL)isOther { + return _tag == DBACCOUNTSetProfilePhotoErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBACCOUNTSetProfilePhotoErrorFileTypeError: + return @"DBACCOUNTSetProfilePhotoErrorFileTypeError"; + case DBACCOUNTSetProfilePhotoErrorFileSizeError: + return @"DBACCOUNTSetProfilePhotoErrorFileSizeError"; + case DBACCOUNTSetProfilePhotoErrorDimensionError: + return @"DBACCOUNTSetProfilePhotoErrorDimensionError"; + case DBACCOUNTSetProfilePhotoErrorThumbnailError: + return @"DBACCOUNTSetProfilePhotoErrorThumbnailError"; + case DBACCOUNTSetProfilePhotoErrorTransientError: + return @"DBACCOUNTSetProfilePhotoErrorTransientError"; + case DBACCOUNTSetProfilePhotoErrorOther: + return @"DBACCOUNTSetProfilePhotoErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBACCOUNTSetProfilePhotoErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBACCOUNTSetProfilePhotoErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBACCOUNTSetProfilePhotoErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBACCOUNTSetProfilePhotoErrorFileTypeError: + result = prime * result + [[self tagName] hash]; + break; + case DBACCOUNTSetProfilePhotoErrorFileSizeError: + result = prime * result + [[self tagName] hash]; + break; + case DBACCOUNTSetProfilePhotoErrorDimensionError: + result = prime * result + [[self tagName] hash]; + break; + case DBACCOUNTSetProfilePhotoErrorThumbnailError: + result = prime * result + [[self tagName] hash]; + break; + case DBACCOUNTSetProfilePhotoErrorTransientError: + result = prime * result + [[self tagName] hash]; + break; + case DBACCOUNTSetProfilePhotoErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSetProfilePhotoError:other]; +} + +- (BOOL)isEqualToSetProfilePhotoError:(DBACCOUNTSetProfilePhotoError *)aSetProfilePhotoError { + if (self == aSetProfilePhotoError) { + return YES; + } + if (self.tag != aSetProfilePhotoError.tag) { + return NO; + } + switch (_tag) { + case DBACCOUNTSetProfilePhotoErrorFileTypeError: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + case DBACCOUNTSetProfilePhotoErrorFileSizeError: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + case DBACCOUNTSetProfilePhotoErrorDimensionError: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + case DBACCOUNTSetProfilePhotoErrorThumbnailError: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + case DBACCOUNTSetProfilePhotoErrorTransientError: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + case DBACCOUNTSetProfilePhotoErrorOther: + return [[self tagName] isEqual:[aSetProfilePhotoError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBACCOUNTSetProfilePhotoErrorSerializer + ++ (NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isFileTypeError]) { + jsonDict[@".tag"] = @"file_type_error"; + } else if ([valueObj isFileSizeError]) { + jsonDict[@".tag"] = @"file_size_error"; + } else if ([valueObj isDimensionError]) { + jsonDict[@".tag"] = @"dimension_error"; + } else if ([valueObj isThumbnailError]) { + jsonDict[@".tag"] = @"thumbnail_error"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBACCOUNTSetProfilePhotoError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"file_type_error"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithFileTypeError]; + } else if ([tag isEqualToString:@"file_size_error"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithFileSizeError]; + } else if ([tag isEqualToString:@"dimension_error"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithDimensionError]; + } else if ([tag isEqualToString:@"thumbnail_error"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithThumbnailError]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithTransientError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithOther]; + } else { + return [[DBACCOUNTSetProfilePhotoError alloc] initWithOther]; + } +} + +@end + +#import "DBACCOUNTSetProfilePhotoResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBACCOUNTSetProfilePhotoResult + +#pragma mark - Constructors + +- (instancetype)initWithProfilePhotoUrl:(NSString *)profilePhotoUrl { + [DBStoneValidators nonnullValidator:nil](profilePhotoUrl); + + self = [super init]; + if (self) { + _profilePhotoUrl = profilePhotoUrl; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBACCOUNTSetProfilePhotoResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBACCOUNTSetProfilePhotoResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBACCOUNTSetProfilePhotoResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.profilePhotoUrl hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSetProfilePhotoResult:other]; +} + +- (BOOL)isEqualToSetProfilePhotoResult:(DBACCOUNTSetProfilePhotoResult *)aSetProfilePhotoResult { + if (self == aSetProfilePhotoResult) { + return YES; + } + if (![self.profilePhotoUrl isEqual:aSetProfilePhotoResult.profilePhotoUrl]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBACCOUNTSetProfilePhotoResultSerializer + ++ (NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; + + return jsonDict; +} + ++ (DBACCOUNTSetProfilePhotoResult *)deserialize:(NSDictionary *)valueDict { + NSString *profilePhotoUrl = valueDict[@"profile_photo_url"]; + + return [[DBACCOUNTSetProfilePhotoResult alloc] initWithProfilePhotoUrl:profilePhotoUrl]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTPhotoSourceArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTPhotoSourceArg.h new file mode 100644 index 000000000..9aa5c626f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTPhotoSourceArg.h @@ -0,0 +1,126 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTPhotoSourceArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PhotoSourceArg` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBACCOUNTPhotoSourceArg : NSObject + +#pragma mark - Instance fields + +/// The `DBACCOUNTPhotoSourceArgTag` enum type represents the possible tag +/// states with which the `DBACCOUNTPhotoSourceArg` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBACCOUNTPhotoSourceArgTag){ + /// Image data in base64-encoded bytes. + DBACCOUNTPhotoSourceArgBase64Data, + + /// (no description). + DBACCOUNTPhotoSourceArgOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBACCOUNTPhotoSourceArgTag tag; + +/// Image data in base64-encoded bytes. @note Ensure the `isBase64Data` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *base64Data; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "base64_data". +/// +/// Description of the "base64_data" tag state: Image data in base64-encoded +/// bytes. +/// +/// @param base64Data Image data in base64-encoded bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBase64Data:(NSString *)base64Data; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "base64_data". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `base64Data` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "base64_data". +/// +- (BOOL)isBase64Data; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBACCOUNTPhotoSourceArg` union. +/// +@interface DBACCOUNTPhotoSourceArgSerializer : NSObject + +/// +/// Serializes `DBACCOUNTPhotoSourceArg` instances. +/// +/// @param instance An instance of the `DBACCOUNTPhotoSourceArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBACCOUNTPhotoSourceArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBACCOUNTPhotoSourceArg *)instance; + +/// +/// Deserializes `DBACCOUNTPhotoSourceArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBACCOUNTPhotoSourceArg` API object. +/// +/// @return An instantiation of the `DBACCOUNTPhotoSourceArg` object. +/// ++ (DBACCOUNTPhotoSourceArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoArg.h new file mode 100644 index 000000000..1d27d52a6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoArg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTPhotoSourceArg; +@class DBACCOUNTSetProfilePhotoArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SetProfilePhotoArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBACCOUNTSetProfilePhotoArg : NSObject + +#pragma mark - Instance fields + +/// Image to set as the user's new profile photo. +@property (nonatomic, readonly) DBACCOUNTPhotoSourceArg *photo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param photo Image to set as the user's new profile photo. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPhoto:(DBACCOUNTPhotoSourceArg *)photo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SetProfilePhotoArg` struct. +/// +@interface DBACCOUNTSetProfilePhotoArgSerializer : NSObject + +/// +/// Serializes `DBACCOUNTSetProfilePhotoArg` instances. +/// +/// @param instance An instance of the `DBACCOUNTSetProfilePhotoArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoArg *)instance; + +/// +/// Deserializes `DBACCOUNTSetProfilePhotoArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoArg` API object. +/// +/// @return An instantiation of the `DBACCOUNTSetProfilePhotoArg` object. +/// ++ (DBACCOUNTSetProfilePhotoArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoError.h new file mode 100644 index 000000000..b80f2dd27 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoError.h @@ -0,0 +1,197 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTSetProfilePhotoError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SetProfilePhotoError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBACCOUNTSetProfilePhotoError : NSObject + +#pragma mark - Instance fields + +/// The `DBACCOUNTSetProfilePhotoErrorTag` enum type represents the possible tag +/// states with which the `DBACCOUNTSetProfilePhotoError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBACCOUNTSetProfilePhotoErrorTag){ + /// File cannot be set as profile photo. + DBACCOUNTSetProfilePhotoErrorFileTypeError, + + /// File cannot exceed 10 MB. + DBACCOUNTSetProfilePhotoErrorFileSizeError, + + /// Image must be larger than 128 x 128. + DBACCOUNTSetProfilePhotoErrorDimensionError, + + /// Image could not be thumbnailed. + DBACCOUNTSetProfilePhotoErrorThumbnailError, + + /// Temporary infrastructure failure, please retry. + DBACCOUNTSetProfilePhotoErrorTransientError, + + /// (no description). + DBACCOUNTSetProfilePhotoErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBACCOUNTSetProfilePhotoErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "file_type_error". +/// +/// Description of the "file_type_error" tag state: File cannot be set as +/// profile photo. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTypeError; + +/// +/// Initializes union class with tag state of "file_size_error". +/// +/// Description of the "file_size_error" tag state: File cannot exceed 10 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileSizeError; + +/// +/// Initializes union class with tag state of "dimension_error". +/// +/// Description of the "dimension_error" tag state: Image must be larger than +/// 128 x 128. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDimensionError; + +/// +/// Initializes union class with tag state of "thumbnail_error". +/// +/// Description of the "thumbnail_error" tag state: Image could not be +/// thumbnailed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithThumbnailError; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "file_type_error". +/// +/// @return Whether the union's current tag state has value "file_type_error". +/// +- (BOOL)isFileTypeError; + +/// +/// Retrieves whether the union's current tag state has value "file_size_error". +/// +/// @return Whether the union's current tag state has value "file_size_error". +/// +- (BOOL)isFileSizeError; + +/// +/// Retrieves whether the union's current tag state has value "dimension_error". +/// +/// @return Whether the union's current tag state has value "dimension_error". +/// +- (BOOL)isDimensionError; + +/// +/// Retrieves whether the union's current tag state has value "thumbnail_error". +/// +/// @return Whether the union's current tag state has value "thumbnail_error". +/// +- (BOOL)isThumbnailError; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBACCOUNTSetProfilePhotoError` union. +/// +@interface DBACCOUNTSetProfilePhotoErrorSerializer : NSObject + +/// +/// Serializes `DBACCOUNTSetProfilePhotoError` instances. +/// +/// @param instance An instance of the `DBACCOUNTSetProfilePhotoError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoError *)instance; + +/// +/// Deserializes `DBACCOUNTSetProfilePhotoError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoError` API object. +/// +/// @return An instantiation of the `DBACCOUNTSetProfilePhotoError` object. +/// ++ (DBACCOUNTSetProfilePhotoError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoResult.h new file mode 100644 index 000000000..8a779ec8d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Account/Headers/DBACCOUNTSetProfilePhotoResult.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTSetProfilePhotoResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SetProfilePhotoResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBACCOUNTSetProfilePhotoResult : NSObject + +#pragma mark - Instance fields + +/// URL for the photo representing the user, if one is set. +@property (nonatomic, readonly, copy) NSString *profilePhotoUrl; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param profilePhotoUrl URL for the photo representing the user, if one is +/// set. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithProfilePhotoUrl:(NSString *)profilePhotoUrl; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SetProfilePhotoResult` struct. +/// +@interface DBACCOUNTSetProfilePhotoResultSerializer : NSObject + +/// +/// Serializes `DBACCOUNTSetProfilePhotoResult` instances. +/// +/// @param instance An instance of the `DBACCOUNTSetProfilePhotoResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBACCOUNTSetProfilePhotoResult *)instance; + +/// +/// Deserializes `DBACCOUNTSetProfilePhotoResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBACCOUNTSetProfilePhotoResult` API object. +/// +/// @return An instantiation of the `DBACCOUNTSetProfilePhotoResult` object. +/// ++ (DBACCOUNTSetProfilePhotoResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m index c567fb199..b964f93cc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/DBAsyncObjects.m @@ -54,17 +54,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCLaunchResultBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCLaunchResultBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCLaunchResultBaseSerializer serialize:self] description]; } @@ -85,6 +85,7 @@ - (NSUInteger)hash { switch (_tag) { case DBASYNCLaunchResultBaseAsyncJobId: result = prime * result + [self.asyncJobId hash]; + break; } return prime * result; @@ -122,7 +123,7 @@ - (BOOL)isEqualToLaunchResultBase:(DBASYNCLaunchResultBase *)aLaunchResultBase { @implementation DBASYNCLaunchResultBaseSerializer -+ (NSDictionary *)serialize:(DBASYNCLaunchResultBase *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCLaunchResultBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAsyncJobId]) { @@ -134,10 +135,10 @@ + (NSDictionary *)serialize:(DBASYNCLaunchResultBase *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { @@ -216,17 +217,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCLaunchEmptyResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCLaunchEmptyResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCLaunchEmptyResultSerializer serialize:self] description]; } @@ -247,8 +248,10 @@ - (NSUInteger)hash { switch (_tag) { case DBASYNCLaunchEmptyResultAsyncJobId: result = prime * result + [self.asyncJobId hash]; + break; case DBASYNCLaunchEmptyResultComplete: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -288,7 +291,7 @@ - (BOOL)isEqualToLaunchEmptyResult:(DBASYNCLaunchEmptyResult *)aLaunchEmptyResul @implementation DBASYNCLaunchEmptyResultSerializer -+ (NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAsyncJobId]) { @@ -302,10 +305,10 @@ + (NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { @@ -345,17 +348,17 @@ - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCPollArgSerializer serialize:self] description]; } @@ -406,15 +409,15 @@ - (BOOL)isEqualToPollArg:(DBASYNCPollArg *)aPollArg { @implementation DBASYNCPollArgSerializer -+ (NSDictionary *)serialize:(DBASYNCPollArg *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCPollArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"async_job_id"] = valueObj.asyncJobId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCPollArg *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCPollArg *)deserialize:(NSDictionary *)valueDict { NSString *asyncJobId = valueDict[@"async_job_id"]; return [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; @@ -459,17 +462,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollResultBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollResultBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCPollResultBaseSerializer serialize:self] description]; } @@ -490,6 +493,7 @@ - (NSUInteger)hash { switch (_tag) { case DBASYNCPollResultBaseInProgress: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -527,7 +531,7 @@ - (BOOL)isEqualToPollResultBase:(DBASYNCPollResultBase *)aPollResultBase { @implementation DBASYNCPollResultBaseSerializer -+ (NSDictionary *)serialize:(DBASYNCPollResultBase *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCPollResultBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { @@ -538,10 +542,10 @@ + (NSDictionary *)serialize:(DBASYNCPollResultBase *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCPollResultBase *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCPollResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { @@ -608,17 +612,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollEmptyResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollEmptyResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCPollEmptyResultSerializer serialize:self] description]; } @@ -639,8 +643,10 @@ - (NSUInteger)hash { switch (_tag) { case DBASYNCPollEmptyResultInProgress: result = prime * result + [[self tagName] hash]; + break; case DBASYNCPollEmptyResultComplete: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -680,7 +686,7 @@ - (BOOL)isEqualToPollEmptyResult:(DBASYNCPollEmptyResult *)aPollEmptyResult { @implementation DBASYNCPollEmptyResultSerializer -+ (NSDictionary *)serialize:(DBASYNCPollEmptyResult *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCPollEmptyResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { @@ -693,10 +699,10 @@ + (NSDictionary *)serialize:(DBASYNCPollEmptyResult *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { @@ -778,17 +784,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBASYNCPollErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBASYNCPollErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBASYNCPollErrorSerializer serialize:self] description]; } @@ -809,10 +815,13 @@ - (NSUInteger)hash { switch (_tag) { case DBASYNCPollErrorInvalidAsyncJobId: result = prime * result + [[self tagName] hash]; + break; case DBASYNCPollErrorInternalError: result = prime * result + [[self tagName] hash]; + break; case DBASYNCPollErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -854,7 +863,7 @@ - (BOOL)isEqualToPollError:(DBASYNCPollError *)aPollError { @implementation DBASYNCPollErrorSerializer -+ (NSDictionary *)serialize:(DBASYNCPollError *)valueObj { ++ (NSDictionary *)serialize:(DBASYNCPollError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAsyncJobId]) { @@ -867,10 +876,10 @@ + (NSDictionary *)serialize:(DBASYNCPollError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBASYNCPollError *)deserialize:(NSDictionary *)valueDict { ++ (DBASYNCPollError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_async_job_id"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchEmptyResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchEmptyResult.h index 941523c29..6603d3a3b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchEmptyResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchEmptyResult.h @@ -31,13 +31,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBASYNCLaunchEmptyResultTag` enum type represents the possible tag /// states with which the `DBASYNCLaunchEmptyResult` union can exist. -typedef NS_ENUM(NSInteger, DBASYNCLaunchEmptyResultTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBASYNCLaunchEmptyResultAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBASYNCLaunchEmptyResultTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBASYNCLaunchEmptyResultAsyncJobId, - /// The job finished synchronously and successfully. - DBASYNCLaunchEmptyResultComplete, + /// The job finished synchronously and successfully. + DBASYNCLaunchEmptyResultComplete, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBASYNCLaunchEmptyResultTag) { /// @return A json-compatible dictionary representation of the /// `DBASYNCLaunchEmptyResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCLaunchEmptyResult *)instance; /// /// Deserializes `DBASYNCLaunchEmptyResult` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBASYNCLaunchEmptyResultTag) { /// /// @return An instantiation of the `DBASYNCLaunchEmptyResult` object. /// -+ (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)dict; ++ (DBASYNCLaunchEmptyResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchResultBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchResultBase.h index 054e9efb5..9bbf8b2f0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchResultBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCLaunchResultBase.h @@ -32,10 +32,10 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBASYNCLaunchResultBaseTag` enum type represents the possible tag /// states with which the `DBASYNCLaunchResultBase` union can exist. -typedef NS_ENUM(NSInteger, DBASYNCLaunchResultBaseTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBASYNCLaunchResultBaseAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBASYNCLaunchResultBaseTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBASYNCLaunchResultBaseAsyncJobId, }; @@ -103,7 +103,7 @@ typedef NS_ENUM(NSInteger, DBASYNCLaunchResultBaseTag) { /// @return A json-compatible dictionary representation of the /// `DBASYNCLaunchResultBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCLaunchResultBase *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCLaunchResultBase *)instance; /// /// Deserializes `DBASYNCLaunchResultBase` instances. @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBASYNCLaunchResultBaseTag) { /// /// @return An instantiation of the `DBASYNCLaunchResultBase` object. /// -+ (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)dict; ++ (DBASYNCLaunchResultBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollArg.h index dbb1dac28..0389f2eff 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBASYNCPollArg` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCPollArg *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCPollArg *)instance; /// /// Deserializes `DBASYNCPollArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBASYNCPollArg` object. /// -+ (DBASYNCPollArg *)deserialize:(NSDictionary *)dict; ++ (DBASYNCPollArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollEmptyResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollEmptyResult.h index 64c53e090..ca202838a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollEmptyResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollEmptyResult.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBASYNCPollEmptyResultTag` enum type represents the possible tag states /// with which the `DBASYNCPollEmptyResult` union can exist. -typedef NS_ENUM(NSInteger, DBASYNCPollEmptyResultTag) { - /// The asynchronous job is still in progress. - DBASYNCPollEmptyResultInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBASYNCPollEmptyResultTag){ + /// The asynchronous job is still in progress. + DBASYNCPollEmptyResultInProgress, - /// The asynchronous job has completed successfully. - DBASYNCPollEmptyResultComplete, + /// The asynchronous job has completed successfully. + DBASYNCPollEmptyResultComplete, }; @@ -106,7 +106,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollEmptyResultTag) { /// @return A json-compatible dictionary representation of the /// `DBASYNCPollEmptyResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCPollEmptyResult *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCPollEmptyResult *)instance; /// /// Deserializes `DBASYNCPollEmptyResult` instances. @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollEmptyResultTag) { /// /// @return An instantiation of the `DBASYNCPollEmptyResult` object. /// -+ (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)dict; ++ (DBASYNCPollEmptyResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollError.h index c58db1c6f..47cfd12dd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollError.h @@ -29,17 +29,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBASYNCPollErrorTag` enum type represents the possible tag states with /// which the `DBASYNCPollError` union can exist. -typedef NS_ENUM(NSInteger, DBASYNCPollErrorTag) { - /// The job ID is invalid. - DBASYNCPollErrorInvalidAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBASYNCPollErrorTag){ + /// The job ID is invalid. + DBASYNCPollErrorInvalidAsyncJobId, - /// Something went wrong with the job on Dropbox's end. You'll need to - /// verify that the action you were taking succeeded, and if not, try again. - /// This should happen very rarely. - DBASYNCPollErrorInternalError, + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBASYNCPollErrorInternalError, - /// (no description). - DBASYNCPollErrorOther, + /// (no description). + DBASYNCPollErrorOther, }; @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBASYNCPollError` API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCPollError *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCPollError *)instance; /// /// Deserializes `DBASYNCPollError` instances. @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollErrorTag) { /// /// @return An instantiation of the `DBASYNCPollError` object. /// -+ (DBASYNCPollError *)deserialize:(NSDictionary *)dict; ++ (DBASYNCPollError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollResultBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollResultBase.h index 4cd0adce9..7ac6e6301 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollResultBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Async/Headers/DBASYNCPollResultBase.h @@ -32,9 +32,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBASYNCPollResultBaseTag` enum type represents the possible tag states /// with which the `DBASYNCPollResultBase` union can exist. -typedef NS_ENUM(NSInteger, DBASYNCPollResultBaseTag) { - /// The asynchronous job is still in progress. - DBASYNCPollResultBaseInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBASYNCPollResultBaseTag){ + /// The asynchronous job is still in progress. + DBASYNCPollResultBaseInProgress, }; @@ -88,7 +88,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollResultBaseTag) { /// @return A json-compatible dictionary representation of the /// `DBASYNCPollResultBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBASYNCPollResultBase *)instance; ++ (nullable NSDictionary *)serialize:(DBASYNCPollResultBase *)instance; /// /// Deserializes `DBASYNCPollResultBase` instances. @@ -98,7 +98,7 @@ typedef NS_ENUM(NSInteger, DBASYNCPollResultBaseTag) { /// /// @return An instantiation of the `DBASYNCPollResultBase` object. /// -+ (DBASYNCPollResultBase *)deserialize:(NSDictionary *)dict; ++ (DBASYNCPollResultBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m index abca5d2c9..c18f4c5c4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/DBAuthObjects.m @@ -94,17 +94,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHAccessErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHAccessErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHAccessErrorSerializer serialize:self] description]; } @@ -125,10 +125,13 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHAccessErrorInvalidAccountType: result = prime * result + [self.invalidAccountType hash]; + break; case DBAUTHAccessErrorPaperAccessDenied: result = prime * result + [self.paperAccessDenied hash]; + break; case DBAUTHAccessErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -170,7 +173,7 @@ - (BOOL)isEqualToAccessError:(DBAUTHAccessError *)anAccessError { @implementation DBAUTHAccessErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHAccessError *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAccountType]) { @@ -187,10 +190,10 @@ + (NSDictionary *)serialize:(DBAUTHAccessError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_account_type"]) { @@ -211,6 +214,7 @@ + (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { @end #import "DBAUTHAuthError.h" +#import "DBAUTHTokenScopeError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" @@ -218,6 +222,8 @@ + (DBAUTHAccessError *)deserialize:(NSDictionary *)valueDict { @implementation DBAUTHAuthError +@synthesize missingScope = _missingScope; + #pragma mark - Constructors - (instancetype)initWithInvalidAccessToken { @@ -252,6 +258,31 @@ - (instancetype)initWithUserSuspended { return self; } +- (instancetype)initWithExpiredAccessToken { + self = [super init]; + if (self) { + _tag = DBAUTHAuthErrorExpiredAccessToken; + } + return self; +} + +- (instancetype)initWithMissingScope:(DBAUTHTokenScopeError *)missingScope { + self = [super init]; + if (self) { + _tag = DBAUTHAuthErrorMissingScope; + _missingScope = missingScope; + } + return self; +} + +- (instancetype)initWithRouteAccessDenied { + self = [super init]; + if (self) { + _tag = DBAUTHAuthErrorRouteAccessDenied; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -262,6 +293,14 @@ - (instancetype)initWithOther { #pragma mark - Instance field accessors +- (DBAUTHTokenScopeError *)missingScope { + if (![self isMissingScope]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBAUTHAuthErrorMissingScope, but was %@.", [self tagName]]; + } + return _missingScope; +} + #pragma mark - Tag state methods - (BOOL)isInvalidAccessToken { @@ -280,6 +319,18 @@ - (BOOL)isUserSuspended { return _tag == DBAUTHAuthErrorUserSuspended; } +- (BOOL)isExpiredAccessToken { + return _tag == DBAUTHAuthErrorExpiredAccessToken; +} + +- (BOOL)isMissingScope { + return _tag == DBAUTHAuthErrorMissingScope; +} + +- (BOOL)isRouteAccessDenied { + return _tag == DBAUTHAuthErrorRouteAccessDenied; +} + - (BOOL)isOther { return _tag == DBAUTHAuthErrorOther; } @@ -294,6 +345,12 @@ - (NSString *)tagName { return @"DBAUTHAuthErrorInvalidSelectAdmin"; case DBAUTHAuthErrorUserSuspended: return @"DBAUTHAuthErrorUserSuspended"; + case DBAUTHAuthErrorExpiredAccessToken: + return @"DBAUTHAuthErrorExpiredAccessToken"; + case DBAUTHAuthErrorMissingScope: + return @"DBAUTHAuthErrorMissingScope"; + case DBAUTHAuthErrorRouteAccessDenied: + return @"DBAUTHAuthErrorRouteAccessDenied"; case DBAUTHAuthErrorOther: return @"DBAUTHAuthErrorOther"; } @@ -303,17 +360,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHAuthErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHAuthErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHAuthErrorSerializer serialize:self] description]; } @@ -334,14 +391,28 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHAuthErrorInvalidAccessToken: result = prime * result + [[self tagName] hash]; + break; case DBAUTHAuthErrorInvalidSelectUser: result = prime * result + [[self tagName] hash]; + break; case DBAUTHAuthErrorInvalidSelectAdmin: result = prime * result + [[self tagName] hash]; + break; case DBAUTHAuthErrorUserSuspended: result = prime * result + [[self tagName] hash]; + break; + case DBAUTHAuthErrorExpiredAccessToken: + result = prime * result + [[self tagName] hash]; + break; + case DBAUTHAuthErrorMissingScope: + result = prime * result + [self.missingScope hash]; + break; + case DBAUTHAuthErrorRouteAccessDenied: + result = prime * result + [[self tagName] hash]; + break; case DBAUTHAuthErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -375,6 +446,12 @@ - (BOOL)isEqualToAuthError:(DBAUTHAuthError *)anAuthError { return [[self tagName] isEqual:[anAuthError tagName]]; case DBAUTHAuthErrorUserSuspended: return [[self tagName] isEqual:[anAuthError tagName]]; + case DBAUTHAuthErrorExpiredAccessToken: + return [[self tagName] isEqual:[anAuthError tagName]]; + case DBAUTHAuthErrorMissingScope: + return [self.missingScope isEqual:anAuthError.missingScope]; + case DBAUTHAuthErrorRouteAccessDenied: + return [[self tagName] isEqual:[anAuthError tagName]]; case DBAUTHAuthErrorOther: return [[self tagName] isEqual:[anAuthError tagName]]; } @@ -387,7 +464,7 @@ - (BOOL)isEqualToAuthError:(DBAUTHAuthError *)anAuthError { @implementation DBAUTHAuthErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHAuthError *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHAuthError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAccessToken]) { @@ -398,16 +475,23 @@ + (NSDictionary *)serialize:(DBAUTHAuthError *)valueObj { jsonDict[@".tag"] = @"invalid_select_admin"; } else if ([valueObj isUserSuspended]) { jsonDict[@".tag"] = @"user_suspended"; + } else if ([valueObj isExpiredAccessToken]) { + jsonDict[@".tag"] = @"expired_access_token"; + } else if ([valueObj isMissingScope]) { + [jsonDict addEntriesFromDictionary:[DBAUTHTokenScopeErrorSerializer serialize:valueObj.missingScope]]; + jsonDict[@".tag"] = @"missing_scope"; + } else if ([valueObj isRouteAccessDenied]) { + jsonDict[@".tag"] = @"route_access_denied"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHAuthError *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHAuthError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_access_token"]) { @@ -418,6 +502,13 @@ + (DBAUTHAuthError *)deserialize:(NSDictionary *)valueDict { return [[DBAUTHAuthError alloc] initWithInvalidSelectAdmin]; } else if ([tag isEqualToString:@"user_suspended"]) { return [[DBAUTHAuthError alloc] initWithUserSuspended]; + } else if ([tag isEqualToString:@"expired_access_token"]) { + return [[DBAUTHAuthError alloc] initWithExpiredAccessToken]; + } else if ([tag isEqualToString:@"missing_scope"]) { + DBAUTHTokenScopeError *missingScope = [DBAUTHTokenScopeErrorSerializer deserialize:valueDict]; + return [[DBAUTHAuthError alloc] initWithMissingScope:missingScope]; + } else if ([tag isEqualToString:@"route_access_denied"]) { + return [[DBAUTHAuthError alloc] initWithRouteAccessDenied]; } else if ([tag isEqualToString:@"other"]) { return [[DBAUTHAuthError alloc] initWithOther]; } else { @@ -492,17 +583,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHInvalidAccountTypeErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHInvalidAccountTypeErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHInvalidAccountTypeErrorSerializer serialize:self] description]; } @@ -523,10 +614,13 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHInvalidAccountTypeErrorEndpoint: result = prime * result + [[self tagName] hash]; + break; case DBAUTHInvalidAccountTypeErrorFeature: result = prime * result + [[self tagName] hash]; + break; case DBAUTHInvalidAccountTypeErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -568,7 +662,7 @@ - (BOOL)isEqualToInvalidAccountTypeError:(DBAUTHInvalidAccountTypeError *)anInva @implementation DBAUTHInvalidAccountTypeErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEndpoint]) { @@ -581,10 +675,10 @@ + (NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"endpoint"]) { @@ -665,17 +759,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHPaperAccessErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHPaperAccessErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHPaperAccessErrorSerializer serialize:self] description]; } @@ -696,10 +790,13 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHPaperAccessErrorPaperDisabled: result = prime * result + [[self tagName] hash]; + break; case DBAUTHPaperAccessErrorNotPaperUser: result = prime * result + [[self tagName] hash]; + break; case DBAUTHPaperAccessErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -741,7 +838,7 @@ - (BOOL)isEqualToPaperAccessError:(DBAUTHPaperAccessError *)aPaperAccessError { @implementation DBAUTHPaperAccessErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHPaperAccessError *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHPaperAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPaperDisabled]) { @@ -754,10 +851,10 @@ + (NSDictionary *)serialize:(DBAUTHPaperAccessError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"paper_disabled"]) { @@ -801,17 +898,17 @@ - (instancetype)initWithReason:(DBAUTHRateLimitReason *)reason { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHRateLimitErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHRateLimitErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHRateLimitErrorSerializer serialize:self] description]; } @@ -866,16 +963,16 @@ - (BOOL)isEqualToRateLimitError:(DBAUTHRateLimitError *)aRateLimitError { @implementation DBAUTHRateLimitErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHRateLimitError *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHRateLimitError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"reason"] = [DBAUTHRateLimitReasonSerializer serialize:valueObj.reason]; jsonDict[@"retry_after"] = valueObj.retryAfter; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHRateLimitError *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHRateLimitError *)deserialize:(NSDictionary *)valueDict { DBAUTHRateLimitReason *reason = [DBAUTHRateLimitReasonSerializer deserialize:valueDict[@"reason"]]; NSNumber *retryAfter = valueDict[@"retry_after"] ?: @(1); @@ -949,17 +1046,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHRateLimitReasonSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHRateLimitReasonSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHRateLimitReasonSerializer serialize:self] description]; } @@ -980,10 +1077,13 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHRateLimitReasonTooManyRequests: result = prime * result + [[self tagName] hash]; + break; case DBAUTHRateLimitReasonTooManyWriteOperations: result = prime * result + [[self tagName] hash]; + break; case DBAUTHRateLimitReasonOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1025,7 +1125,7 @@ - (BOOL)isEqualToRateLimitReason:(DBAUTHRateLimitReason *)aRateLimitReason { @implementation DBAUTHRateLimitReasonSerializer -+ (NSDictionary *)serialize:(DBAUTHRateLimitReason *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHRateLimitReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTooManyRequests]) { @@ -1038,10 +1138,10 @@ + (NSDictionary *)serialize:(DBAUTHRateLimitReason *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"too_many_requests"]) { @@ -1082,17 +1182,17 @@ - (instancetype)initWithOauth1Token:(NSString *)oauth1Token oauth1TokenSecret:(N #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ArgSerializer serialize:self] description]; } @@ -1147,16 +1247,16 @@ - (BOOL)isEqualToTokenFromOAuth1Arg:(DBAUTHTokenFromOAuth1Arg *)aTokenFromOAuth1 @implementation DBAUTHTokenFromOAuth1ArgSerializer -+ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"oauth1_token"] = valueObj.oauth1Token; jsonDict[@"oauth1_token_secret"] = valueObj.oauth1TokenSecret; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)valueDict { NSString *oauth1Token = valueDict[@"oauth1_token"]; NSString *oauth1TokenSecret = valueDict[@"oauth1_token_secret"]; @@ -1230,17 +1330,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ErrorSerializer serialize:self] description]; } @@ -1261,10 +1361,13 @@ - (NSUInteger)hash { switch (_tag) { case DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo: result = prime * result + [[self tagName] hash]; + break; case DBAUTHTokenFromOAuth1ErrorAppIdMismatch: result = prime * result + [[self tagName] hash]; + break; case DBAUTHTokenFromOAuth1ErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1306,7 +1409,7 @@ - (BOOL)isEqualToTokenFromOAuth1Error:(DBAUTHTokenFromOAuth1Error *)aTokenFromOA @implementation DBAUTHTokenFromOAuth1ErrorSerializer -+ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidOauth1TokenInfo]) { @@ -1319,10 +1422,10 @@ + (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_oauth1_token_info"]) { @@ -1360,17 +1463,17 @@ - (instancetype)initWithOauth2Token:(NSString *)oauth2Token { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBAUTHTokenFromOAuth1ResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBAUTHTokenFromOAuth1ResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBAUTHTokenFromOAuth1ResultSerializer serialize:self] description]; } @@ -1421,18 +1524,117 @@ - (BOOL)isEqualToTokenFromOAuth1Result:(DBAUTHTokenFromOAuth1Result *)aTokenFrom @implementation DBAUTHTokenFromOAuth1ResultSerializer -+ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)valueObj { ++ (NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"oauth2_token"] = valueObj.oauth2Token; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)valueDict { ++ (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)valueDict { NSString *oauth2Token = valueDict[@"oauth2_token"]; return [[DBAUTHTokenFromOAuth1Result alloc] initWithOauth2Token:oauth2Token]; } @end + +#import "DBAUTHTokenScopeError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBAUTHTokenScopeError + +#pragma mark - Constructors + +- (instancetype)initWithRequiredScope:(NSString *)requiredScope { + [DBStoneValidators nonnullValidator:nil](requiredScope); + + self = [super init]; + if (self) { + _requiredScope = requiredScope; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBAUTHTokenScopeErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBAUTHTokenScopeErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBAUTHTokenScopeErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.requiredScope hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTokenScopeError:other]; +} + +- (BOOL)isEqualToTokenScopeError:(DBAUTHTokenScopeError *)aTokenScopeError { + if (self == aTokenScopeError) { + return YES; + } + if (![self.requiredScope isEqual:aTokenScopeError.requiredScope]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBAUTHTokenScopeErrorSerializer + ++ (NSDictionary *)serialize:(DBAUTHTokenScopeError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"required_scope"] = valueObj.requiredScope; + + return jsonDict; +} + ++ (DBAUTHTokenScopeError *)deserialize:(NSDictionary *)valueDict { + NSString *requiredScope = valueDict[@"required_scope"]; + + return [[DBAUTHTokenScopeError alloc] initWithRequiredScope:requiredScope]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAccessError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAccessError.h index 578937b65..3a1abf428 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAccessError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAccessError.h @@ -32,15 +32,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHAccessErrorTag` enum type represents the possible tag states with /// which the `DBAUTHAccessError` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHAccessErrorTag) { - /// Current account type cannot access the resource. - DBAUTHAccessErrorInvalidAccountType, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHAccessErrorTag){ + /// Current account type cannot access the resource. + DBAUTHAccessErrorInvalidAccountType, - /// Current account cannot access Paper. - DBAUTHAccessErrorPaperAccessDenied, + /// Current account cannot access Paper. + DBAUTHAccessErrorPaperAccessDenied, - /// (no description). - DBAUTHAccessErrorOther, + /// (no description). + DBAUTHAccessErrorOther, }; @@ -149,7 +149,7 @@ typedef NS_ENUM(NSInteger, DBAUTHAccessErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBAUTHAccessError` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHAccessError *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHAccessError *)instance; /// /// Deserializes `DBAUTHAccessError` instances. @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBAUTHAccessErrorTag) { /// /// @return An instantiation of the `DBAUTHAccessError` object. /// -+ (DBAUTHAccessError *)deserialize:(NSDictionary *)dict; ++ (DBAUTHAccessError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAuthError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAuthError.h index 658038b8a..9243ce060 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAuthError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHAuthError.h @@ -9,6 +9,7 @@ #import "DBSerializableProtocol.h" @class DBAUTHAuthError; +@class DBAUTHTokenScopeError; NS_ASSUME_NONNULL_BEGIN @@ -29,29 +30,43 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHAuthErrorTag` enum type represents the possible tag states with /// which the `DBAUTHAuthError` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHAuthErrorTag) { - /// The access token is invalid. - DBAUTHAuthErrorInvalidAccessToken, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHAuthErrorTag){ + /// The access token is invalid. + DBAUTHAuthErrorInvalidAccessToken, - /// The user specified in 'Dropbox-API-Select-User' is no longer on the - /// team. - DBAUTHAuthErrorInvalidSelectUser, + /// The user specified in 'Dropbox-API-Select-User' is no longer on the + /// team. + DBAUTHAuthErrorInvalidSelectUser, - /// The user specified in 'Dropbox-API-Select-Admin' is not a Dropbox - /// Business team admin. - DBAUTHAuthErrorInvalidSelectAdmin, + /// The user specified in 'Dropbox-API-Select-Admin' is not a Dropbox + /// Business team admin. + DBAUTHAuthErrorInvalidSelectAdmin, - /// The user has been suspended. - DBAUTHAuthErrorUserSuspended, + /// The user has been suspended. + DBAUTHAuthErrorUserSuspended, - /// (no description). - DBAUTHAuthErrorOther, + /// The access token has expired. + DBAUTHAuthErrorExpiredAccessToken, + + /// The access token does not have the required scope to access the route. + DBAUTHAuthErrorMissingScope, + + /// The route is not available to public. + DBAUTHAuthErrorRouteAccessDenied, + + /// (no description). + DBAUTHAuthErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBAUTHAuthErrorTag tag; +/// The access token does not have the required scope to access the route. @note +/// Ensure the `isMissingScope` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBAUTHTokenScopeError *missingScope; + #pragma mark - Constructors /// @@ -93,6 +108,39 @@ typedef NS_ENUM(NSInteger, DBAUTHAuthErrorTag) { /// - (instancetype)initWithUserSuspended; +/// +/// Initializes union class with tag state of "expired_access_token". +/// +/// Description of the "expired_access_token" tag state: The access token has +/// expired. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExpiredAccessToken; + +/// +/// Initializes union class with tag state of "missing_scope". +/// +/// Description of the "missing_scope" tag state: The access token does not have +/// the required scope to access the route. +/// +/// @param missingScope The access token does not have the required scope to +/// access the route. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMissingScope:(DBAUTHTokenScopeError *)missingScope; + +/// +/// Initializes union class with tag state of "route_access_denied". +/// +/// Description of the "route_access_denied" tag state: The route is not +/// available to public. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRouteAccessDenied; + /// /// Initializes union class with tag state of "other". /// @@ -138,6 +186,34 @@ typedef NS_ENUM(NSInteger, DBAUTHAuthErrorTag) { /// - (BOOL)isUserSuspended; +/// +/// Retrieves whether the union's current tag state has value +/// "expired_access_token". +/// +/// @return Whether the union's current tag state has value +/// "expired_access_token". +/// +- (BOOL)isExpiredAccessToken; + +/// +/// Retrieves whether the union's current tag state has value "missing_scope". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `missingScope` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "missing_scope". +/// +- (BOOL)isMissingScope; + +/// +/// Retrieves whether the union's current tag state has value +/// "route_access_denied". +/// +/// @return Whether the union's current tag state has value +/// "route_access_denied". +/// +- (BOOL)isRouteAccessDenied; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -169,7 +245,7 @@ typedef NS_ENUM(NSInteger, DBAUTHAuthErrorTag) { /// @return A json-compatible dictionary representation of the `DBAUTHAuthError` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHAuthError *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHAuthError *)instance; /// /// Deserializes `DBAUTHAuthError` instances. @@ -179,7 +255,7 @@ typedef NS_ENUM(NSInteger, DBAUTHAuthErrorTag) { /// /// @return An instantiation of the `DBAUTHAuthError` object. /// -+ (DBAUTHAuthError *)deserialize:(NSDictionary *)dict; ++ (DBAUTHAuthError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHInvalidAccountTypeError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHInvalidAccountTypeError.h index ae023b569..80a528fe1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHInvalidAccountTypeError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHInvalidAccountTypeError.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHInvalidAccountTypeErrorTag` enum type represents the possible tag /// states with which the `DBAUTHInvalidAccountTypeError` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHInvalidAccountTypeErrorTag) { - /// Current account type doesn't have permission to access this route - /// endpoint. - DBAUTHInvalidAccountTypeErrorEndpoint, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHInvalidAccountTypeErrorTag){ + /// Current account type doesn't have permission to access this route + /// endpoint. + DBAUTHInvalidAccountTypeErrorEndpoint, - /// Current account type doesn't have permission to access this feature. - DBAUTHInvalidAccountTypeErrorFeature, + /// Current account type doesn't have permission to access this feature. + DBAUTHInvalidAccountTypeErrorFeature, - /// (no description). - DBAUTHInvalidAccountTypeErrorOther, + /// (no description). + DBAUTHInvalidAccountTypeErrorOther, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBAUTHInvalidAccountTypeErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBAUTHInvalidAccountTypeError` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHInvalidAccountTypeError *)instance; /// /// Deserializes `DBAUTHInvalidAccountTypeError` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBAUTHInvalidAccountTypeErrorTag) { /// /// @return An instantiation of the `DBAUTHInvalidAccountTypeError` object. /// -+ (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)dict; ++ (DBAUTHInvalidAccountTypeError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHPaperAccessError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHPaperAccessError.h index 2ab6bb2c3..469e6f1ff 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHPaperAccessError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHPaperAccessError.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHPaperAccessErrorTag` enum type represents the possible tag states /// with which the `DBAUTHPaperAccessError` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHPaperAccessErrorTag) { - /// Paper is disabled. - DBAUTHPaperAccessErrorPaperDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHPaperAccessErrorTag){ + /// Paper is disabled. + DBAUTHPaperAccessErrorPaperDisabled, - /// The provided user has not used Paper yet. - DBAUTHPaperAccessErrorNotPaperUser, + /// The provided user has not used Paper yet. + DBAUTHPaperAccessErrorNotPaperUser, - /// (no description). - DBAUTHPaperAccessErrorOther, + /// (no description). + DBAUTHPaperAccessErrorOther, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBAUTHPaperAccessErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBAUTHPaperAccessError` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHPaperAccessError *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHPaperAccessError *)instance; /// /// Deserializes `DBAUTHPaperAccessError` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBAUTHPaperAccessErrorTag) { /// /// @return An instantiation of the `DBAUTHPaperAccessError` object. /// -+ (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)dict; ++ (DBAUTHPaperAccessError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitError.h index f3380af47..191f36dd6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitError.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBAUTHRateLimitError` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHRateLimitError *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHRateLimitError *)instance; /// /// Deserializes `DBAUTHRateLimitError` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBAUTHRateLimitError` object. /// -+ (DBAUTHRateLimitError *)deserialize:(NSDictionary *)dict; ++ (DBAUTHRateLimitError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitReason.h index d15feee7f..0691dd597 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitReason.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHRateLimitReason.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHRateLimitReasonTag` enum type represents the possible tag states /// with which the `DBAUTHRateLimitReason` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHRateLimitReasonTag) { - /// You are making too many requests in the past few minutes. - DBAUTHRateLimitReasonTooManyRequests, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHRateLimitReasonTag){ + /// You are making too many requests in the past few minutes. + DBAUTHRateLimitReasonTooManyRequests, - /// There are currently too many write operations happening in the user's - /// Dropbox. - DBAUTHRateLimitReasonTooManyWriteOperations, + /// There are currently too many write operations happening in the user's + /// Dropbox. + DBAUTHRateLimitReasonTooManyWriteOperations, - /// (no description). - DBAUTHRateLimitReasonOther, + /// (no description). + DBAUTHRateLimitReasonOther, }; @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBAUTHRateLimitReasonTag) { /// @return A json-compatible dictionary representation of the /// `DBAUTHRateLimitReason` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHRateLimitReason *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHRateLimitReason *)instance; /// /// Deserializes `DBAUTHRateLimitReason` instances. @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBAUTHRateLimitReasonTag) { /// /// @return An instantiation of the `DBAUTHRateLimitReason` object. /// -+ (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)dict; ++ (DBAUTHRateLimitReason *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Arg.h index 9e9aefe24..b5793d9b4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Arg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Arg.h @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Arg` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Arg *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Arg` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Arg` object. /// -+ (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)dict; ++ (DBAUTHTokenFromOAuth1Arg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Error.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Error.h index 0f3c4daba..d0e8f5630 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Error.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Error.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBAUTHTokenFromOAuth1ErrorTag` enum type represents the possible tag /// states with which the `DBAUTHTokenFromOAuth1Error` union can exist. -typedef NS_ENUM(NSInteger, DBAUTHTokenFromOAuth1ErrorTag) { - /// Part or all of the OAuth 1.0 access token info is invalid. - DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo, +typedef NS_CLOSED_ENUM(NSInteger, DBAUTHTokenFromOAuth1ErrorTag){ + /// Part or all of the OAuth 1.0 access token info is invalid. + DBAUTHTokenFromOAuth1ErrorInvalidOauth1TokenInfo, - /// The authorized app does not match the app associated with the supplied - /// access token. - DBAUTHTokenFromOAuth1ErrorAppIdMismatch, + /// The authorized app does not match the app associated with the supplied + /// access token. + DBAUTHTokenFromOAuth1ErrorAppIdMismatch, - /// (no description). - DBAUTHTokenFromOAuth1ErrorOther, + /// (no description). + DBAUTHTokenFromOAuth1ErrorOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBAUTHTokenFromOAuth1ErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Error` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Error *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Error` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBAUTHTokenFromOAuth1ErrorTag) { /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Error` object. /// -+ (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)dict; ++ (DBAUTHTokenFromOAuth1Error *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Result.h index 9659de80b..441402a3c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Result.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenFromOAuth1Result.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBAUTHTokenFromOAuth1Result` API object. /// -+ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)instance; ++ (nullable NSDictionary *)serialize:(DBAUTHTokenFromOAuth1Result *)instance; /// /// Deserializes `DBAUTHTokenFromOAuth1Result` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBAUTHTokenFromOAuth1Result` object. /// -+ (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)dict; ++ (DBAUTHTokenFromOAuth1Result *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenScopeError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenScopeError.h new file mode 100644 index 000000000..d4b3ec3ae --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Auth/Headers/DBAUTHTokenScopeError.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBAUTHTokenScopeError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TokenScopeError` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBAUTHTokenScopeError : NSObject + +#pragma mark - Instance fields + +/// The required scope to access the route. +@property (nonatomic, readonly, copy) NSString *requiredScope; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param requiredScope The required scope to access the route. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequiredScope:(NSString *)requiredScope; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TokenScopeError` struct. +/// +@interface DBAUTHTokenScopeErrorSerializer : NSObject + +/// +/// Serializes `DBAUTHTokenScopeError` instances. +/// +/// @param instance An instance of the `DBAUTHTokenScopeError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBAUTHTokenScopeError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBAUTHTokenScopeError *)instance; + +/// +/// Deserializes `DBAUTHTokenScopeError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBAUTHTokenScopeError` API object. +/// +/// @return An instantiation of the `DBAUTHTokenScopeError` object. +/// ++ (DBAUTHTokenScopeError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m new file mode 100644 index 000000000..b5948e5b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/DBCheckObjects.m @@ -0,0 +1,211 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `Check` namespace. + +#import "DBCHECKEchoArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBCHECKEchoArg + +#pragma mark - Constructors + +- (instancetype)initWithQuery:(NSString *)query { + + self = [super init]; + if (self) { + _query = query ?: @""; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithQuery:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBCHECKEchoArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBCHECKEchoArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBCHECKEchoArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.query hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEchoArg:other]; +} + +- (BOOL)isEqualToEchoArg:(DBCHECKEchoArg *)anEchoArg { + if (self == anEchoArg) { + return YES; + } + if (![self.query isEqual:anEchoArg.query]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBCHECKEchoArgSerializer + ++ (NSDictionary *)serialize:(DBCHECKEchoArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"query"] = valueObj.query; + + return jsonDict; +} + ++ (DBCHECKEchoArg *)deserialize:(NSDictionary *)valueDict { + NSString *query = valueDict[@"query"] ?: @""; + + return [[DBCHECKEchoArg alloc] initWithQuery:query]; +} + +@end + +#import "DBCHECKEchoResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBCHECKEchoResult + +#pragma mark - Constructors + +- (instancetype)initWithResult:(NSString *)result { + + self = [super init]; + if (self) { + _result = result ?: @""; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithResult:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBCHECKEchoResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBCHECKEchoResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBCHECKEchoResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.result hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEchoResult:other]; +} + +- (BOOL)isEqualToEchoResult:(DBCHECKEchoResult *)anEchoResult { + if (self == anEchoResult) { + return YES; + } + if (![self.result isEqual:anEchoResult.result]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBCHECKEchoResultSerializer + ++ (NSDictionary *)serialize:(DBCHECKEchoResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"result"] = valueObj.result; + + return jsonDict; +} + ++ (DBCHECKEchoResult *)deserialize:(NSDictionary *)valueDict { + NSString *result = valueDict[@"result"] ?: @""; + + return [[DBCHECKEchoResult alloc] initWithResult:result]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoArg.h new file mode 100644 index 000000000..63c492686 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoArg.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBCHECKEchoArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EchoArg` struct. +/// +/// Contains the arguments to be sent to the Dropbox servers. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBCHECKEchoArg : NSObject + +#pragma mark - Instance fields + +/// The string that you'd like to be echoed back to you. +@property (nonatomic, readonly, copy) NSString *query; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param query The string that you'd like to be echoed back to you. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithQuery:(nullable NSString *)query; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EchoArg` struct. +/// +@interface DBCHECKEchoArgSerializer : NSObject + +/// +/// Serializes `DBCHECKEchoArg` instances. +/// +/// @param instance An instance of the `DBCHECKEchoArg` API object. +/// +/// @return A json-compatible dictionary representation of the `DBCHECKEchoArg` +/// API object. +/// ++ (nullable NSDictionary *)serialize:(DBCHECKEchoArg *)instance; + +/// +/// Deserializes `DBCHECKEchoArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBCHECKEchoArg` API object. +/// +/// @return An instantiation of the `DBCHECKEchoArg` object. +/// ++ (DBCHECKEchoArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoResult.h new file mode 100644 index 000000000..e383d0771 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Check/Headers/DBCHECKEchoResult.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBCHECKEchoResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EchoResult` struct. +/// +/// EchoResult contains the result returned from the Dropbox servers. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBCHECKEchoResult : NSObject + +#pragma mark - Instance fields + +/// If everything worked correctly, this would be the same as query. +@property (nonatomic, readonly, copy) NSString *result; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param result If everything worked correctly, this would be the same as +/// query. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResult:(nullable NSString *)result; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EchoResult` struct. +/// +@interface DBCHECKEchoResultSerializer : NSObject + +/// +/// Serializes `DBCHECKEchoResult` instances. +/// +/// @param instance An instance of the `DBCHECKEchoResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBCHECKEchoResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBCHECKEchoResult *)instance; + +/// +/// Deserializes `DBCHECKEchoResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBCHECKEchoResult` API object. +/// +/// @return An instantiation of the `DBCHECKEchoResult` object. +/// ++ (DBCHECKEchoResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m index b15bef771..34475de86 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/DBCommonObjects.m @@ -106,17 +106,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONPathRootSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBCOMMONPathRootSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBCOMMONPathRootSerializer serialize:self] description]; } @@ -137,12 +137,16 @@ - (NSUInteger)hash { switch (_tag) { case DBCOMMONPathRootHome: result = prime * result + [[self tagName] hash]; + break; case DBCOMMONPathRootRoot: result = prime * result + [self.root hash]; + break; case DBCOMMONPathRootNamespaceId: result = prime * result + [self.namespaceId hash]; + break; case DBCOMMONPathRootOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -186,7 +190,7 @@ - (BOOL)isEqualToPathRoot:(DBCOMMONPathRoot *)aPathRoot { @implementation DBCOMMONPathRootSerializer -+ (NSDictionary *)serialize:(DBCOMMONPathRoot *)valueObj { ++ (NSDictionary *)serialize:(DBCOMMONPathRoot *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isHome]) { @@ -203,10 +207,10 @@ + (NSDictionary *)serialize:(DBCOMMONPathRoot *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBCOMMONPathRoot *)deserialize:(NSDictionary *)valueDict { ++ (DBCOMMONPathRoot *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"home"]) { @@ -303,17 +307,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONPathRootErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBCOMMONPathRootErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBCOMMONPathRootErrorSerializer serialize:self] description]; } @@ -334,10 +338,13 @@ - (NSUInteger)hash { switch (_tag) { case DBCOMMONPathRootErrorInvalidRoot: result = prime * result + [self.invalidRoot hash]; + break; case DBCOMMONPathRootErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBCOMMONPathRootErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -379,7 +386,7 @@ - (BOOL)isEqualToPathRootError:(DBCOMMONPathRootError *)aPathRootError { @implementation DBCOMMONPathRootErrorSerializer -+ (NSDictionary *)serialize:(DBCOMMONPathRootError *)valueObj { ++ (NSDictionary *)serialize:(DBCOMMONPathRootError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidRoot]) { @@ -393,10 +400,10 @@ + (NSDictionary *)serialize:(DBCOMMONPathRootError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBCOMMONPathRootError *)deserialize:(NSDictionary *)valueDict { ++ (DBCOMMONPathRootError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_root"]) { @@ -441,17 +448,17 @@ - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespac #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONRootInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBCOMMONRootInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBCOMMONRootInfoSerializer serialize:self] description]; } @@ -506,7 +513,7 @@ - (BOOL)isEqualToRootInfo:(DBCOMMONRootInfo *)aRootInfo { @implementation DBCOMMONRootInfoSerializer -+ (NSDictionary *)serialize:(DBCOMMONRootInfo *)valueObj { ++ (NSDictionary *)serialize:(DBCOMMONRootInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; @@ -526,10 +533,10 @@ + (NSDictionary *)serialize:(DBCOMMONRootInfo *)valueObj { jsonDict[@".tag"] = @"user"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBCOMMONRootInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBCOMMONRootInfo *)deserialize:(NSDictionary *)valueDict { if ([valueDict[@".tag"] isEqualToString:@"team"]) { return [DBCOMMONTeamRootInfoSerializer deserialize:valueDict]; } @@ -574,17 +581,17 @@ - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONTeamRootInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBCOMMONTeamRootInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBCOMMONTeamRootInfoSerializer serialize:self] description]; } @@ -643,17 +650,17 @@ - (BOOL)isEqualToTeamRootInfo:(DBCOMMONTeamRootInfo *)aTeamRootInfo { @implementation DBCOMMONTeamRootInfoSerializer -+ (NSDictionary *)serialize:(DBCOMMONTeamRootInfo *)valueObj { ++ (NSDictionary *)serialize:(DBCOMMONTeamRootInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; jsonDict[@"home_path"] = valueObj.homePath; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)valueDict { NSString *rootNamespaceId = valueDict[@"root_namespace_id"]; NSString *homeNamespaceId = valueDict[@"home_namespace_id"]; NSString *homePath = valueDict[@"home_path"]; @@ -690,17 +697,17 @@ - (instancetype)initWithRootNamespaceId:(NSString *)rootNamespaceId homeNamespac #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBCOMMONUserRootInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBCOMMONUserRootInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBCOMMONUserRootInfoSerializer serialize:self] description]; } @@ -755,16 +762,16 @@ - (BOOL)isEqualToUserRootInfo:(DBCOMMONUserRootInfo *)anUserRootInfo { @implementation DBCOMMONUserRootInfoSerializer -+ (NSDictionary *)serialize:(DBCOMMONUserRootInfo *)valueObj { ++ (NSDictionary *)serialize:(DBCOMMONUserRootInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"root_namespace_id"] = valueObj.rootNamespaceId; jsonDict[@"home_namespace_id"] = valueObj.homeNamespaceId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)valueDict { NSString *rootNamespaceId = valueDict[@"root_namespace_id"]; NSString *homeNamespaceId = valueDict[@"home_namespace_id"]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRoot.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRoot.h index a583451b5..58af3f227 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRoot.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRoot.h @@ -27,22 +27,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBCOMMONPathRootTag` enum type represents the possible tag states with /// which the `DBCOMMONPathRoot` union can exist. -typedef NS_ENUM(NSInteger, DBCOMMONPathRootTag) { - /// Paths are relative to the authenticating user's home namespace, whether - /// or not that user belongs to a team. - DBCOMMONPathRootHome, +typedef NS_CLOSED_ENUM(NSInteger, DBCOMMONPathRootTag){ + /// Paths are relative to the authenticating user's home namespace, whether + /// or not that user belongs to a team. + DBCOMMONPathRootHome, - /// Paths are relative to the authenticating user's root namespace (This - /// results in `invalidRoot` in `DBCOMMONPathRootError` if the user's root - /// namespace has changed.). - DBCOMMONPathRootRoot, + /// Paths are relative to the authenticating user's root namespace (This + /// results in `invalidRoot` in `DBCOMMONPathRootError` if the user's root + /// namespace has changed.). + DBCOMMONPathRootRoot, - /// Paths are relative to given namespace id (This results in `noPermission` - /// in `DBCOMMONPathRootError` if you don't have access to this namespace.). - DBCOMMONPathRootNamespaceId, + /// Paths are relative to given namespace id (This results in `noPermission` + /// in `DBCOMMONPathRootError` if you don't have access to this namespace.). + DBCOMMONPathRootNamespaceId, - /// (no description). - DBCOMMONPathRootOther, + /// (no description). + DBCOMMONPathRootOther, }; @@ -173,7 +173,7 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootTag) { /// @return A json-compatible dictionary representation of the /// `DBCOMMONPathRoot` API object. /// -+ (nullable NSDictionary *)serialize:(DBCOMMONPathRoot *)instance; ++ (nullable NSDictionary *)serialize:(DBCOMMONPathRoot *)instance; /// /// Deserializes `DBCOMMONPathRoot` instances. @@ -183,7 +183,7 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootTag) { /// /// @return An instantiation of the `DBCOMMONPathRoot` object. /// -+ (DBCOMMONPathRoot *)deserialize:(NSDictionary *)dict; ++ (DBCOMMONPathRoot *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRootError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRootError.h index 4c1750439..c5ea0979f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRootError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONPathRootError.h @@ -28,17 +28,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBCOMMONPathRootErrorTag` enum type represents the possible tag states /// with which the `DBCOMMONPathRootError` union can exist. -typedef NS_ENUM(NSInteger, DBCOMMONPathRootErrorTag) { - /// The root namespace id in Dropbox-API-Path-Root header is not valid. The - /// value of this error is use's latest root info. - DBCOMMONPathRootErrorInvalidRoot, +typedef NS_CLOSED_ENUM(NSInteger, DBCOMMONPathRootErrorTag){ + /// The root namespace id in Dropbox-API-Path-Root header is not valid. The + /// value of this error is the user's latest root info. + DBCOMMONPathRootErrorInvalidRoot, - /// You don't have permission to access the namespace id in - /// Dropbox-API-Path-Root header. - DBCOMMONPathRootErrorNoPermission, + /// You don't have permission to access the namespace id in + /// Dropbox-API-Path-Root header. + DBCOMMONPathRootErrorNoPermission, - /// (no description). - DBCOMMONPathRootErrorOther, + /// (no description). + DBCOMMONPathRootErrorOther, }; @@ -46,7 +46,7 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootErrorTag) { @property (nonatomic, readonly) DBCOMMONPathRootErrorTag tag; /// The root namespace id in Dropbox-API-Path-Root header is not valid. The -/// value of this error is use's latest root info. @note Ensure the +/// value of this error is the user's latest root info. @note Ensure the /// `isInvalidRoot` method returns true before accessing, otherwise a runtime /// exception will be raised. @property (nonatomic, readonly) DBCOMMONRootInfo *invalidRoot; @@ -57,11 +57,11 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootErrorTag) { /// Initializes union class with tag state of "invalid_root". /// /// Description of the "invalid_root" tag state: The root namespace id in -/// Dropbox-API-Path-Root header is not valid. The value of this error is use's -/// latest root info. +/// Dropbox-API-Path-Root header is not valid. The value of this error is the +/// user's latest root info. /// /// @param invalidRoot The root namespace id in Dropbox-API-Path-Root header is -/// not valid. The value of this error is use's latest root info. +/// not valid. The value of this error is the user's latest root info. /// /// @return An initialized instance. /// @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBCOMMONPathRootError` API object. /// -+ (nullable NSDictionary *)serialize:(DBCOMMONPathRootError *)instance; ++ (nullable NSDictionary *)serialize:(DBCOMMONPathRootError *)instance; /// /// Deserializes `DBCOMMONPathRootError` instances. @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBCOMMONPathRootErrorTag) { /// /// @return An instantiation of the `DBCOMMONPathRootError` object. /// -+ (DBCOMMONPathRootError *)deserialize:(NSDictionary *)dict; ++ (DBCOMMONPathRootError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONRootInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONRootInfo.h index b1387873b..964d101f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONRootInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONRootInfo.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The namespace id for user's root namespace. It will be the namespace id of -/// the shared team root if the user is member of a CDM team. Otherwise it will -/// be same as `homeNamespaceId` in `DBCOMMONRootInfo`. +/// The namespace ID for user's root namespace. It will be the namespace ID of +/// the shared team root if the user is member of a team with a separate team +/// root. Otherwise it will be same as `homeNamespaceId` in `DBCOMMONRootInfo`. @property (nonatomic, readonly, copy) NSString *rootNamespaceId; -/// The namespace id for user's home namespace. +/// The namespace ID for user's home namespace. @property (nonatomic, readonly, copy) NSString *homeNamespaceId; #pragma mark - Constructors @@ -40,10 +40,11 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param rootNamespaceId The namespace id for user's root namespace. It will -/// be the namespace id of the shared team root if the user is member of a CDM -/// team. Otherwise it will be same as `homeNamespaceId` in `DBCOMMONRootInfo`. -/// @param homeNamespaceId The namespace id for user's home namespace. +/// @param rootNamespaceId The namespace ID for user's root namespace. It will +/// be the namespace ID of the shared team root if the user is member of a team +/// with a separate team root. Otherwise it will be same as `homeNamespaceId` in +/// `DBCOMMONRootInfo`. +/// @param homeNamespaceId The namespace ID for user's home namespace. /// /// @return An initialized instance. /// @@ -68,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBCOMMONRootInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBCOMMONRootInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBCOMMONRootInfo *)instance; /// /// Deserializes `DBCOMMONRootInfo` instances. @@ -78,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBCOMMONRootInfo` object. /// -+ (DBCOMMONRootInfo *)deserialize:(NSDictionary *)dict; ++ (DBCOMMONRootInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONTeamRootInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONTeamRootInfo.h index 11219d495..888a85613 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONTeamRootInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONTeamRootInfo.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamRootInfo` struct. /// -/// Root info when user is member of a CDM team. +/// Root info when user is member of a team with a separate root namespace ID. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -36,10 +36,11 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param rootNamespaceId The namespace id for user's root namespace. It will -/// be the namespace id of the shared team root if the user is member of a CDM -/// team. Otherwise it will be same as `homeNamespaceId` in `DBCOMMONRootInfo`. -/// @param homeNamespaceId The namespace id for user's home namespace. +/// @param rootNamespaceId The namespace ID for user's root namespace. It will +/// be the namespace ID of the shared team root if the user is member of a team +/// with a separate team root. Otherwise it will be same as `homeNamespaceId` in +/// `DBCOMMONRootInfo`. +/// @param homeNamespaceId The namespace ID for user's home namespace. /// @param homePath The path for user's home directory under the shared team /// root. /// @@ -66,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBCOMMONTeamRootInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBCOMMONTeamRootInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBCOMMONTeamRootInfo *)instance; /// /// Deserializes `DBCOMMONTeamRootInfo` instances. @@ -76,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBCOMMONTeamRootInfo` object. /// -+ (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)dict; ++ (DBCOMMONTeamRootInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONUserRootInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONUserRootInfo.h index 42b798dc5..78a69d2d6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONUserRootInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Common/Headers/DBCOMMONUserRootInfo.h @@ -18,7 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `UserRootInfo` struct. /// -/// Root info when user is not member of a CDM team. +/// Root info when user is not member of a team or the user is a member of a +/// team and the team does not have a separate root namespace. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,10 +34,11 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param rootNamespaceId The namespace id for user's root namespace. It will -/// be the namespace id of the shared team root if the user is member of a CDM -/// team. Otherwise it will be same as `homeNamespaceId` in `DBCOMMONRootInfo`. -/// @param homeNamespaceId The namespace id for user's home namespace. +/// @param rootNamespaceId The namespace ID for user's root namespace. It will +/// be the namespace ID of the shared team root if the user is member of a team +/// with a separate team root. Otherwise it will be same as `homeNamespaceId` in +/// `DBCOMMONRootInfo`. +/// @param homeNamespaceId The namespace ID for user's home namespace. /// /// @return An initialized instance. /// @@ -59,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBCOMMONUserRootInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBCOMMONUserRootInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBCOMMONUserRootInfo *)instance; /// /// Deserializes `DBCOMMONUserRootInfo` instances. @@ -69,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBCOMMONUserRootInfo` object. /// -+ (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)dict; ++ (DBCOMMONUserRootInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m new file mode 100644 index 000000000..115e20da5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/DBContactsObjects.m @@ -0,0 +1,295 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `Contacts` namespace. + +#import "DBCONTACTSDeleteManualContactsArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBCONTACTSDeleteManualContactsArg + +#pragma mark - Constructors + +- (instancetype)initWithEmailAddresses:(NSArray *)emailAddresses { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-" + @"Za-z0-9.-]*\\.[A-Za-z]{2,15}$"]]]]( + emailAddresses); + + self = [super init]; + if (self) { + _emailAddresses = emailAddresses; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBCONTACTSDeleteManualContactsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBCONTACTSDeleteManualContactsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBCONTACTSDeleteManualContactsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.emailAddresses hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteManualContactsArg:other]; +} + +- (BOOL)isEqualToDeleteManualContactsArg:(DBCONTACTSDeleteManualContactsArg *)aDeleteManualContactsArg { + if (self == aDeleteManualContactsArg) { + return YES; + } + if (![self.emailAddresses isEqual:aDeleteManualContactsArg.emailAddresses]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBCONTACTSDeleteManualContactsArgSerializer + ++ (NSDictionary *)serialize:(DBCONTACTSDeleteManualContactsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"email_addresses"] = [DBArraySerializer serialize:valueObj.emailAddresses + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBCONTACTSDeleteManualContactsArg *)deserialize:(NSDictionary *)valueDict { + NSArray *emailAddresses = [DBArraySerializer deserialize:valueDict[@"email_addresses"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBCONTACTSDeleteManualContactsArg alloc] initWithEmailAddresses:emailAddresses]; +} + +@end + +#import "DBCONTACTSDeleteManualContactsError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBCONTACTSDeleteManualContactsError + +@synthesize contactsNotFound = _contactsNotFound; + +#pragma mark - Constructors + +- (instancetype)initWithContactsNotFound:(NSArray *)contactsNotFound { + self = [super init]; + if (self) { + _tag = DBCONTACTSDeleteManualContactsErrorContactsNotFound; + _contactsNotFound = contactsNotFound; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBCONTACTSDeleteManualContactsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSArray *)contactsNotFound { + if (![self isContactsNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBCONTACTSDeleteManualContactsErrorContactsNotFound, but was %@.", + [self tagName]]; + } + return _contactsNotFound; +} + +#pragma mark - Tag state methods + +- (BOOL)isContactsNotFound { + return _tag == DBCONTACTSDeleteManualContactsErrorContactsNotFound; +} + +- (BOOL)isOther { + return _tag == DBCONTACTSDeleteManualContactsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBCONTACTSDeleteManualContactsErrorContactsNotFound: + return @"DBCONTACTSDeleteManualContactsErrorContactsNotFound"; + case DBCONTACTSDeleteManualContactsErrorOther: + return @"DBCONTACTSDeleteManualContactsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBCONTACTSDeleteManualContactsErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBCONTACTSDeleteManualContactsErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBCONTACTSDeleteManualContactsErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBCONTACTSDeleteManualContactsErrorContactsNotFound: + result = prime * result + [self.contactsNotFound hash]; + break; + case DBCONTACTSDeleteManualContactsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteManualContactsError:other]; +} + +- (BOOL)isEqualToDeleteManualContactsError:(DBCONTACTSDeleteManualContactsError *)aDeleteManualContactsError { + if (self == aDeleteManualContactsError) { + return YES; + } + if (self.tag != aDeleteManualContactsError.tag) { + return NO; + } + switch (_tag) { + case DBCONTACTSDeleteManualContactsErrorContactsNotFound: + return [self.contactsNotFound isEqual:aDeleteManualContactsError.contactsNotFound]; + case DBCONTACTSDeleteManualContactsErrorOther: + return [[self tagName] isEqual:[aDeleteManualContactsError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBCONTACTSDeleteManualContactsErrorSerializer + ++ (NSDictionary *)serialize:(DBCONTACTSDeleteManualContactsError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isContactsNotFound]) { + jsonDict[@"contacts_not_found"] = [DBArraySerializer serialize:valueObj.contactsNotFound + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@".tag"] = @"contacts_not_found"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBCONTACTSDeleteManualContactsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"contacts_not_found"]) { + NSArray *contactsNotFound = [DBArraySerializer deserialize:valueDict[@"contacts_not_found"] + withBlock:^id(id elem0) { + return elem0; + }]; + return [[DBCONTACTSDeleteManualContactsError alloc] initWithContactsNotFound:contactsNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBCONTACTSDeleteManualContactsError alloc] initWithOther]; + } else { + return [[DBCONTACTSDeleteManualContactsError alloc] initWithOther]; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsArg.h new file mode 100644 index 000000000..5ea7840d6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsArg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBCONTACTSDeleteManualContactsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteManualContactsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBCONTACTSDeleteManualContactsArg : NSObject + +#pragma mark - Instance fields + +/// List of manually added contacts to be deleted. +@property (nonatomic, readonly) NSArray *emailAddresses; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param emailAddresses List of manually added contacts to be deleted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailAddresses:(NSArray *)emailAddresses; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteManualContactsArg` struct. +/// +@interface DBCONTACTSDeleteManualContactsArgSerializer : NSObject + +/// +/// Serializes `DBCONTACTSDeleteManualContactsArg` instances. +/// +/// @param instance An instance of the `DBCONTACTSDeleteManualContactsArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBCONTACTSDeleteManualContactsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBCONTACTSDeleteManualContactsArg *)instance; + +/// +/// Deserializes `DBCONTACTSDeleteManualContactsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBCONTACTSDeleteManualContactsArg` API object. +/// +/// @return An instantiation of the `DBCONTACTSDeleteManualContactsArg` object. +/// ++ (DBCONTACTSDeleteManualContactsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsError.h new file mode 100644 index 000000000..22889f084 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Contacts/Headers/DBCONTACTSDeleteManualContactsError.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBCONTACTSDeleteManualContactsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteManualContactsError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBCONTACTSDeleteManualContactsError : NSObject + +#pragma mark - Instance fields + +/// The `DBCONTACTSDeleteManualContactsErrorTag` enum type represents the +/// possible tag states with which the `DBCONTACTSDeleteManualContactsError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBCONTACTSDeleteManualContactsErrorTag){ + /// Can't delete contacts from this list. Make sure the list only has + /// manually added contacts. The deletion was cancelled. + DBCONTACTSDeleteManualContactsErrorContactsNotFound, + + /// (no description). + DBCONTACTSDeleteManualContactsErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBCONTACTSDeleteManualContactsErrorTag tag; + +/// Can't delete contacts from this list. Make sure the list only has manually +/// added contacts. The deletion was cancelled. @note Ensure the +/// `isContactsNotFound` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) NSArray *contactsNotFound; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "contacts_not_found". +/// +/// Description of the "contacts_not_found" tag state: Can't delete contacts +/// from this list. Make sure the list only has manually added contacts. The +/// deletion was cancelled. +/// +/// @param contactsNotFound Can't delete contacts from this list. Make sure the +/// list only has manually added contacts. The deletion was cancelled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContactsNotFound:(NSArray *)contactsNotFound; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "contacts_not_found". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `contactsNotFound` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "contacts_not_found". +/// +- (BOOL)isContactsNotFound; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBCONTACTSDeleteManualContactsError` union. +/// +@interface DBCONTACTSDeleteManualContactsErrorSerializer : NSObject + +/// +/// Serializes `DBCONTACTSDeleteManualContactsError` instances. +/// +/// @param instance An instance of the `DBCONTACTSDeleteManualContactsError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBCONTACTSDeleteManualContactsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBCONTACTSDeleteManualContactsError *)instance; + +/// +/// Deserializes `DBCONTACTSDeleteManualContactsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBCONTACTSDeleteManualContactsError` API object. +/// +/// @return An instantiation of the `DBCONTACTSDeleteManualContactsError` +/// object. +/// ++ (DBCONTACTSDeleteManualContactsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m index a6838e791..7ba3ea6a8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/DBFilePropertiesObjects.m @@ -38,17 +38,17 @@ - (instancetype)initWithPath:(NSString *)path #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddPropertiesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddPropertiesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESAddPropertiesArgSerializer serialize:self] description]; } @@ -103,7 +103,7 @@ - (BOOL)isEqualToAddPropertiesArg:(DBFILEPROPERTIESAddPropertiesArg *)anAddPrope @implementation DBFILEPROPERTIESAddPropertiesArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -112,10 +112,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)valueObj { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyGroups = [DBArraySerializer deserialize:valueDict[@"property_groups"] @@ -205,17 +205,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateErrorSerializer serialize:self] description]; } @@ -236,10 +236,13 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESTemplateErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESTemplateErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESTemplateErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -281,7 +284,7 @@ - (BOOL)isEqualToTemplateError:(DBFILEPROPERTIESTemplateError *)aTemplateError { @implementation DBFILEPROPERTIESTemplateErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -295,10 +298,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -432,17 +435,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesErrorSerializer serialize:self] description]; } @@ -463,14 +466,19 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESPropertiesErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESPropertiesErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESPropertiesErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESPropertiesErrorPath: result = prime * result + [self.path hash]; + break; case DBFILEPROPERTIESPropertiesErrorUnsupportedFolder: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -516,7 +524,7 @@ - (BOOL)isEqualToPropertiesError:(DBFILEPROPERTIESPropertiesError *)aPropertiesE @implementation DBFILEPROPERTIESPropertiesErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -535,10 +543,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -633,6 +641,14 @@ - (instancetype)initWithDoesNotFitTemplate { return self; } +- (instancetype)initWithDuplicatePropertyGroups { + self = [super init]; + if (self) { + _tag = DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups; + } + return self; +} + #pragma mark - Instance field accessors - (NSString *)templateNotFound { @@ -683,6 +699,10 @@ - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate; } +- (BOOL)isDuplicatePropertyGroups { + return _tag == DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups; +} + - (NSString *)tagName { switch (_tag) { case DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound: @@ -699,6 +719,8 @@ - (NSString *)tagName { return @"DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate"; + case DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups: + return @"DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -706,17 +728,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:self] description]; } @@ -737,18 +759,28 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorPath: result = prime * result + [self.path hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate: result = prime * result + [[self tagName] hash]; + break; + case DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -788,6 +820,8 @@ - (BOOL)isEqualToInvalidPropertyGroupError:(DBFILEPROPERTIESInvalidPropertyGroup return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; case DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate: return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; + case DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups: + return [[self tagName] isEqual:[anInvalidPropertyGroupError tagName]]; } return YES; } @@ -798,7 +832,7 @@ - (BOOL)isEqualToInvalidPropertyGroupError:(DBFILEPROPERTIESInvalidPropertyGroup @implementation DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -817,14 +851,16 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)valueOb jsonDict[@".tag"] = @"property_field_too_large"; } else if ([valueObj isDoesNotFitTemplate]) { jsonDict[@".tag"] = @"does_not_fit_template"; + } else if ([valueObj isDuplicatePropertyGroups]) { + jsonDict[@".tag"] = @"duplicate_property_groups"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -843,6 +879,8 @@ + (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)value return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithPropertyFieldTooLarge]; } else if ([tag isEqualToString:@"does_not_fit_template"]) { return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithDoesNotFitTemplate]; + } else if ([tag isEqualToString:@"duplicate_property_groups"]) { + return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithDuplicatePropertyGroups]; } else { return [[DBFILEPROPERTIESInvalidPropertyGroupError alloc] initWithOther]; } @@ -923,6 +961,14 @@ - (instancetype)initWithDoesNotFitTemplate { return self; } +- (instancetype)initWithDuplicatePropertyGroups { + self = [super init]; + if (self) { + _tag = DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups; + } + return self; +} + - (instancetype)initWithPropertyGroupAlreadyExists { self = [super init]; if (self) { @@ -980,6 +1026,10 @@ - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate; } +- (BOOL)isDuplicatePropertyGroups { + return _tag == DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups; +} + - (BOOL)isPropertyGroupAlreadyExists { return _tag == DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists; } @@ -1000,6 +1050,8 @@ - (NSString *)tagName { return @"DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate"; + case DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups: + return @"DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups"; case DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists: return @"DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists"; } @@ -1009,17 +1061,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddPropertiesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddPropertiesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESAddPropertiesErrorSerializer serialize:self] description]; } @@ -1040,20 +1092,31 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorPath: result = prime * result + [self.path hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate: result = prime * result + [[self tagName] hash]; + break; + case DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups: + result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1093,6 +1156,8 @@ - (BOOL)isEqualToAddPropertiesError:(DBFILEPROPERTIESAddPropertiesError *)anAddP return [[self tagName] isEqual:[anAddPropertiesError tagName]]; case DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate: return [[self tagName] isEqual:[anAddPropertiesError tagName]]; + case DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups: + return [[self tagName] isEqual:[anAddPropertiesError tagName]]; case DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists: return [[self tagName] isEqual:[anAddPropertiesError tagName]]; } @@ -1105,7 +1170,7 @@ - (BOOL)isEqualToAddPropertiesError:(DBFILEPROPERTIESAddPropertiesError *)anAddP @implementation DBFILEPROPERTIESAddPropertiesErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -1124,16 +1189,18 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)valueObj { jsonDict[@".tag"] = @"property_field_too_large"; } else if ([valueObj isDoesNotFitTemplate]) { jsonDict[@".tag"] = @"does_not_fit_template"; + } else if ([valueObj isDuplicatePropertyGroups]) { + jsonDict[@".tag"] = @"duplicate_property_groups"; } else if ([valueObj isPropertyGroupAlreadyExists]) { jsonDict[@".tag"] = @"property_group_already_exists"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -1152,6 +1219,8 @@ + (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)valueDict { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithPropertyFieldTooLarge]; } else if ([tag isEqualToString:@"does_not_fit_template"]) { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithDoesNotFitTemplate]; + } else if ([tag isEqualToString:@"duplicate_property_groups"]) { + return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithDuplicatePropertyGroups]; } else if ([tag isEqualToString:@"property_group_already_exists"]) { return [[DBFILEPROPERTIESAddPropertiesError alloc] initWithPropertyGroupAlreadyExists]; } else { @@ -1193,17 +1262,17 @@ - (instancetype)initWithName:(NSString *)name #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupTemplateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupTemplateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupTemplateSerializer serialize:self] description]; } @@ -1262,7 +1331,7 @@ - (BOOL)isEqualToPropertyGroupTemplate:(DBFILEPROPERTIESPropertyGroupTemplate *) @implementation DBFILEPROPERTIESPropertyGroupTemplateSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; @@ -1272,10 +1341,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)valueObj { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = @@ -1319,17 +1388,17 @@ - (instancetype)initWithName:(NSString *)name #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddTemplateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddTemplateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESAddTemplateArgSerializer serialize:self] description]; } @@ -1388,7 +1457,7 @@ - (BOOL)isEqualToAddTemplateArg:(DBFILEPROPERTIESAddTemplateArg *)anAddTemplateA @implementation DBFILEPROPERTIESAddTemplateArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; @@ -1398,10 +1467,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)valueObj { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = @@ -1438,17 +1507,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESAddTemplateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESAddTemplateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESAddTemplateResultSerializer serialize:self] description]; } @@ -1499,15 +1568,15 @@ - (BOOL)isEqualToAddTemplateResult:(DBFILEPROPERTIESAddTemplateResult *)anAddTem @implementation DBFILEPROPERTIESAddTemplateResultSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESAddTemplateResult alloc] initWithTemplateId:templateId]; @@ -1538,17 +1607,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESGetTemplateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESGetTemplateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESGetTemplateArgSerializer serialize:self] description]; } @@ -1599,15 +1668,15 @@ - (BOOL)isEqualToGetTemplateArg:(DBFILEPROPERTIESGetTemplateArg *)aGetTemplateAr @implementation DBFILEPROPERTIESGetTemplateArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESGetTemplateArg alloc] initWithTemplateId:templateId]; @@ -1645,17 +1714,17 @@ - (instancetype)initWithName:(NSString *)name #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESGetTemplateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESGetTemplateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESGetTemplateResultSerializer serialize:self] description]; } @@ -1714,7 +1783,7 @@ - (BOOL)isEqualToGetTemplateResult:(DBFILEPROPERTIESGetTemplateResult *)aGetTemp @implementation DBFILEPROPERTIESGetTemplateResultSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; @@ -1724,10 +1793,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)valueObj { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; NSArray *fields = @@ -1771,17 +1840,17 @@ - (instancetype)initWithTemplateIds:(NSArray *)templateIds { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESListTemplateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESListTemplateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESListTemplateResultSerializer serialize:self] description]; } @@ -1832,7 +1901,7 @@ - (BOOL)isEqualToListTemplateResult:(DBFILEPROPERTIESListTemplateResult *)aListT @implementation DBFILEPROPERTIESListTemplateResultSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_ids"] = [DBArraySerializer serialize:valueObj.templateIds @@ -1840,10 +1909,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)valueDict { NSArray *templateIds = [DBArraySerializer deserialize:valueDict[@"template_ids"] withBlock:^id(id elem0) { return elem0; @@ -1905,17 +1974,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLogicalOperatorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLogicalOperatorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESLogicalOperatorSerializer serialize:self] description]; } @@ -1936,8 +2005,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESLogicalOperatorOrOperator: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLogicalOperatorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1977,7 +2048,7 @@ - (BOOL)isEqualToLogicalOperator:(DBFILEPROPERTIESLogicalOperator *)aLogicalOper @implementation DBFILEPROPERTIESLogicalOperatorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOrOperator]) { @@ -1988,10 +2059,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"or_operator"]) { @@ -2056,17 +2127,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:self] description]; } @@ -2087,8 +2158,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLookUpPropertiesErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2128,7 +2201,7 @@ - (BOOL)isEqualToLookUpPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *) @implementation DBFILEPROPERTIESLookUpPropertiesErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPropertyGroupNotFound]) { @@ -2139,10 +2212,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"property_group_not_found"]) { @@ -2274,17 +2347,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESLookupErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESLookupErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESLookupErrorSerializer serialize:self] description]; } @@ -2305,16 +2378,22 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESLookupErrorMalformedPath: result = prime * result + [self.malformedPath hash]; + break; case DBFILEPROPERTIESLookupErrorNotFound: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLookupErrorNotFile: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLookupErrorNotFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLookupErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESLookupErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2362,7 +2441,7 @@ - (BOOL)isEqualToLookupError:(DBFILEPROPERTIESLookupError *)aLookupError { @implementation DBFILEPROPERTIESLookupErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMalformedPath]) { @@ -2382,10 +2461,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"malformed_path"]) { @@ -2542,17 +2621,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESModifyTemplateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESModifyTemplateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESModifyTemplateErrorSerializer serialize:self] description]; } @@ -2573,18 +2652,25 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorTooManyProperties: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2634,7 +2720,7 @@ - (BOOL)isEqualToModifyTemplateError:(DBFILEPROPERTIESModifyTemplateError *)aMod @implementation DBFILEPROPERTIESModifyTemplateErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -2656,10 +2742,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -2716,17 +2802,17 @@ - (instancetype)initWithPath:(NSString *)path #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESOverwritePropertyGroupArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESOverwritePropertyGroupArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESOverwritePropertyGroupArgSerializer serialize:self] description]; } @@ -2781,7 +2867,7 @@ - (BOOL)isEqualToOverwritePropertyGroupArg:(DBFILEPROPERTIESOverwritePropertyGro @implementation DBFILEPROPERTIESOverwritePropertyGroupArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -2790,10 +2876,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)valueOb return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyGroups = [DBArraySerializer deserialize:valueDict[@"property_groups"] @@ -2839,17 +2925,17 @@ - (instancetype)initWithQueries:(NSArray *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchArgSerializer serialize:self] description]; } @@ -2904,7 +2990,7 @@ - (BOOL)isEqualToPropertiesSearchArg:(DBFILEPROPERTIESPropertiesSearchArg *)aPro @implementation DBFILEPROPERTIESPropertiesSearchArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"queries"] = [DBArraySerializer serialize:valueObj.queries @@ -2913,10 +2999,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)valueObj { }]; jsonDict[@"template_filter"] = [DBFILEPROPERTIESTemplateFilterSerializer serialize:valueObj.templateFilter]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)valueDict { NSArray *queries = [DBArraySerializer deserialize:valueDict[@"queries"] withBlock:^id(id elem0) { @@ -2954,17 +3040,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchContinueArgSerializer serialize:self] description]; } @@ -3016,15 +3102,15 @@ - (BOOL)isEqualToPropertiesSearchContinueArg: @implementation DBFILEPROPERTIESPropertiesSearchContinueArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBFILEPROPERTIESPropertiesSearchContinueArg alloc] initWithCursor:cursor]; @@ -3083,17 +3169,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer serialize:self] description]; } @@ -3114,8 +3200,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchContinueErrorReset: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESPropertiesSearchContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3156,7 +3244,7 @@ - (BOOL)isEqualToPropertiesSearchContinueError: @implementation DBFILEPROPERTIESPropertiesSearchContinueErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isReset]) { @@ -3167,10 +3255,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)val jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"reset"]) { @@ -3248,17 +3336,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchErrorSerializer serialize:self] description]; } @@ -3279,8 +3367,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup: result = prime * result + [self.propertyGroupLookup hash]; + break; case DBFILEPROPERTIESPropertiesSearchErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3320,7 +3410,7 @@ - (BOOL)isEqualToPropertiesSearchError:(DBFILEPROPERTIESPropertiesSearchError *) @implementation DBFILEPROPERTIESPropertiesSearchErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPropertyGroupLookup]) { @@ -3333,10 +3423,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"property_group_lookup"]) { @@ -3387,17 +3477,17 @@ - (instancetype)initWithId_:(NSString *)id_ #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchMatchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchMatchSerializer serialize:self] description]; } @@ -3460,7 +3550,7 @@ - (BOOL)isEqualToPropertiesSearchMatch:(DBFILEPROPERTIESPropertiesSearchMatch *) @implementation DBFILEPROPERTIESPropertiesSearchMatchSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; @@ -3471,10 +3561,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)valueObj { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *path = valueDict[@"path"]; NSNumber *isDeleted = valueDict[@"is_deleted"]; @@ -3555,17 +3645,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchModeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:self] description]; } @@ -3586,8 +3676,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESPropertiesSearchModeFieldName: result = prime * result + [self.fieldName hash]; + break; case DBFILEPROPERTIESPropertiesSearchModeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3627,7 +3719,7 @@ - (BOOL)isEqualToPropertiesSearchMode:(DBFILEPROPERTIESPropertiesSearchMode *)aP @implementation DBFILEPROPERTIESPropertiesSearchModeSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFieldName]) { @@ -3639,10 +3731,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"field_name"]) { @@ -3690,17 +3782,17 @@ - (instancetype)initWithQuery:(NSString *)query mode:(DBFILEPROPERTIESProperties #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchQuerySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchQuerySerializer serialize:self] description]; } @@ -3759,17 +3851,17 @@ - (BOOL)isEqualToPropertiesSearchQuery:(DBFILEPROPERTIESPropertiesSearchQuery *) @implementation DBFILEPROPERTIESPropertiesSearchQuerySerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchQuery *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchQuery *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"query"] = valueObj.query; jsonDict[@"mode"] = [DBFILEPROPERTIESPropertiesSearchModeSerializer serialize:valueObj.mode]; jsonDict[@"logical_operator"] = [DBFILEPROPERTIESLogicalOperatorSerializer serialize:valueObj.logicalOperator]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)valueDict { NSString *query = valueDict[@"query"]; DBFILEPROPERTIESPropertiesSearchMode *mode = [DBFILEPROPERTIESPropertiesSearchModeSerializer deserialize:valueDict[@"mode"]]; @@ -3815,17 +3907,17 @@ - (instancetype)initWithMatches:(NSArray *)serialize:(id)instance { return [DBFILEPROPERTIESPropertiesSearchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertiesSearchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertiesSearchResultSerializer serialize:self] description]; } @@ -3884,7 +3976,7 @@ - (BOOL)isEqualToPropertiesSearchResult:(DBFILEPROPERTIESPropertiesSearchResult @implementation DBFILEPROPERTIESPropertiesSearchResultSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"matches"] = [DBArraySerializer serialize:valueObj.matches @@ -3895,10 +3987,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)valueDict { NSArray *matches = [DBArraySerializer deserialize:valueDict[@"matches"] withBlock:^id(id elem0) { @@ -3935,17 +4027,17 @@ - (instancetype)initWithName:(NSString *)name value:(NSString *)value { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyFieldSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyFieldSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyFieldSerializer serialize:self] description]; } @@ -4000,16 +4092,16 @@ - (BOOL)isEqualToPropertyField:(DBFILEPROPERTIESPropertyField *)aPropertyField { @implementation DBFILEPROPERTIESPropertyFieldSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"value"] = valueObj.value; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *value = valueDict[@"value"]; @@ -4047,17 +4139,17 @@ - (instancetype)initWithName:(NSString *)name #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyFieldTemplateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyFieldTemplateSerializer serialize:self] description]; } @@ -4116,17 +4208,17 @@ - (BOOL)isEqualToPropertyFieldTemplate:(DBFILEPROPERTIESPropertyFieldTemplate *) @implementation DBFILEPROPERTIESPropertyFieldTemplateSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyFieldTemplate *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyFieldTemplate *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"name"] = valueObj.name; jsonDict[@"description"] = valueObj.description_; jsonDict[@"type"] = [DBFILEPROPERTIESPropertyTypeSerializer serialize:valueObj.type]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)valueDict { NSString *name = valueDict[@"name"]; NSString *description_ = valueDict[@"description"]; DBFILEPROPERTIESPropertyType *type = [DBFILEPROPERTIESPropertyTypeSerializer deserialize:valueDict[@"type"]]; @@ -4165,17 +4257,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId fields:(NSArray *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupSerializer serialize:self] description]; } @@ -4230,7 +4322,7 @@ - (BOOL)isEqualToPropertyGroup:(DBFILEPROPERTIESPropertyGroup *)aPropertyGroup { @implementation DBFILEPROPERTIESPropertyGroupSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; @@ -4239,10 +4331,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)valueObj { return [DBFILEPROPERTIESPropertyFieldSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSArray *fields = [DBArraySerializer deserialize:valueDict[@"fields"] @@ -4295,17 +4387,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:self] description]; } @@ -4372,7 +4464,7 @@ - (BOOL)isEqualToPropertyGroupUpdate:(DBFILEPROPERTIESPropertyGroupUpdate *)aPro @implementation DBFILEPROPERTIESPropertyGroupUpdateSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; @@ -4390,10 +4482,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSArray *addOrUpdateFields = valueDict[@"add_or_update_fields"] @@ -4467,17 +4559,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESPropertyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESPropertyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESPropertyTypeSerializer serialize:self] description]; } @@ -4498,8 +4590,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESPropertyTypeString: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESPropertyTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4539,7 +4633,7 @@ - (BOOL)isEqualToPropertyType:(DBFILEPROPERTIESPropertyType *)aPropertyType { @implementation DBFILEPROPERTIESPropertyTypeSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isString]) { @@ -4550,10 +4644,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"string"]) { @@ -4602,17 +4696,17 @@ - (instancetype)initWithPath:(NSString *)path propertyTemplateIds:(NSArray *)serialize:(id)instance { return [DBFILEPROPERTIESRemovePropertiesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemovePropertiesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESRemovePropertiesArgSerializer serialize:self] description]; } @@ -4667,7 +4761,7 @@ - (BOOL)isEqualToRemovePropertiesArg:(DBFILEPROPERTIESRemovePropertiesArg *)aRem @implementation DBFILEPROPERTIESRemovePropertiesArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -4676,10 +4770,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *propertyTemplateIds = [DBArraySerializer deserialize:valueDict[@"property_template_ids"] withBlock:^id(id elem0) { @@ -4834,17 +4928,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESRemovePropertiesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemovePropertiesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESRemovePropertiesErrorSerializer serialize:self] description]; } @@ -4865,16 +4959,22 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESRemovePropertiesErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESRemovePropertiesErrorPath: result = prime * result + [self.path hash]; + break; case DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup: result = prime * result + [self.propertyGroupLookup hash]; + break; } return prime * result; @@ -4922,7 +5022,7 @@ - (BOOL)isEqualToRemovePropertiesError:(DBFILEPROPERTIESRemovePropertiesError *) @implementation DBFILEPROPERTIESRemovePropertiesErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -4945,10 +5045,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -4997,17 +5097,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESRemoveTemplateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESRemoveTemplateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESRemoveTemplateArgSerializer serialize:self] description]; } @@ -5058,15 +5158,15 @@ - (BOOL)isEqualToRemoveTemplateArg:(DBFILEPROPERTIESRemoveTemplateArg *)aRemoveT @implementation DBFILEPROPERTIESRemoveTemplateArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESRemoveTemplateArg alloc] initWithTemplateId:templateId]; @@ -5137,17 +5237,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:self] description]; } @@ -5168,8 +5268,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESTemplateFilterBaseFilterSome: result = prime * result + [self.filterSome hash]; + break; case DBFILEPROPERTIESTemplateFilterBaseOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5209,7 +5311,7 @@ - (BOOL)isEqualToTemplateFilterBase:(DBFILEPROPERTIESTemplateFilterBase *)aTempl @implementation DBFILEPROPERTIESTemplateFilterBaseSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFilterSome]) { @@ -5224,10 +5326,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"filter_some"]) { @@ -5322,17 +5424,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateFilterSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateFilterSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateFilterSerializer serialize:self] description]; } @@ -5353,10 +5455,13 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESTemplateFilterFilterSome: result = prime * result + [self.filterSome hash]; + break; case DBFILEPROPERTIESTemplateFilterOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESTemplateFilterFilterNone: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5398,7 +5503,7 @@ - (BOOL)isEqualToTemplateFilter:(DBFILEPROPERTIESTemplateFilter *)aTemplateFilte @implementation DBFILEPROPERTIESTemplateFilterSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFilterSome]) { @@ -5415,10 +5520,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"filter_some"]) { @@ -5503,17 +5608,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESTemplateOwnerTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESTemplateOwnerTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESTemplateOwnerTypeSerializer serialize:self] description]; } @@ -5534,10 +5639,13 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESTemplateOwnerTypeUser: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESTemplateOwnerTypeTeam: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESTemplateOwnerTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5579,7 +5687,7 @@ - (BOOL)isEqualToTemplateOwnerType:(DBFILEPROPERTIESTemplateOwnerType *)aTemplat @implementation DBFILEPROPERTIESTemplateOwnerTypeSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUser]) { @@ -5592,10 +5700,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user"]) { @@ -5643,17 +5751,17 @@ - (instancetype)initWithPath:(NSString *)path #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdatePropertiesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdatePropertiesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdatePropertiesArgSerializer serialize:self] description]; } @@ -5708,7 +5816,7 @@ - (BOOL)isEqualToUpdatePropertiesArg:(DBFILEPROPERTIESUpdatePropertiesArg *)anUp @implementation DBFILEPROPERTIESUpdatePropertiesArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -5718,10 +5826,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)valueObj { return [DBFILEPROPERTIESPropertyGroupUpdateSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; NSArray *updatePropertyGroups = [DBArraySerializer deserialize:valueDict[@"update_property_groups"] @@ -5809,6 +5917,14 @@ - (instancetype)initWithDoesNotFitTemplate { return self; } +- (instancetype)initWithDuplicatePropertyGroups { + self = [super init]; + if (self) { + _tag = DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups; + } + return self; +} + - (instancetype)initWithPropertyGroupLookup:(DBFILEPROPERTIESLookUpPropertiesError *)propertyGroupLookup { self = [super init]; if (self) { @@ -5876,6 +5992,10 @@ - (BOOL)isDoesNotFitTemplate { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate; } +- (BOOL)isDuplicatePropertyGroups { + return _tag == DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups; +} + - (BOOL)isPropertyGroupLookup { return _tag == DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup; } @@ -5896,6 +6016,8 @@ - (NSString *)tagName { return @"DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge"; case DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate: return @"DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate"; + case DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups: + return @"DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups"; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup: return @"DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup"; } @@ -5905,17 +6027,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdatePropertiesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdatePropertiesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdatePropertiesErrorSerializer serialize:self] description]; } @@ -5936,20 +6058,31 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound: result = prime * result + [self.templateNotFound hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorPath: result = prime * result + [self.path hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge: result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate: result = prime * result + [[self tagName] hash]; + break; + case DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups: + result = prime * result + [[self tagName] hash]; + break; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup: result = prime * result + [self.propertyGroupLookup hash]; + break; } return prime * result; @@ -5989,6 +6122,8 @@ - (BOOL)isEqualToUpdatePropertiesError:(DBFILEPROPERTIESUpdatePropertiesError *) return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; case DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate: return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; + case DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups: + return [[self tagName] isEqual:[anUpdatePropertiesError tagName]]; case DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup: return [self.propertyGroupLookup isEqual:anUpdatePropertiesError.propertyGroupLookup]; } @@ -6001,7 +6136,7 @@ - (BOOL)isEqualToUpdatePropertiesError:(DBFILEPROPERTIESUpdatePropertiesError *) @implementation DBFILEPROPERTIESUpdatePropertiesErrorSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTemplateNotFound]) { @@ -6020,6 +6155,8 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)valueObj { jsonDict[@".tag"] = @"property_field_too_large"; } else if ([valueObj isDoesNotFitTemplate]) { jsonDict[@".tag"] = @"does_not_fit_template"; + } else if ([valueObj isDuplicatePropertyGroups]) { + jsonDict[@".tag"] = @"duplicate_property_groups"; } else if ([valueObj isPropertyGroupLookup]) { jsonDict[@"property_group_lookup"] = [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:valueObj.propertyGroupLookup] mutableCopy]; @@ -6028,10 +6165,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"template_not_found"]) { @@ -6050,6 +6187,8 @@ + (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)valueDict return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithPropertyFieldTooLarge]; } else if ([tag isEqualToString:@"does_not_fit_template"]) { return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithDoesNotFitTemplate]; + } else if ([tag isEqualToString:@"duplicate_property_groups"]) { + return [[DBFILEPROPERTIESUpdatePropertiesError alloc] initWithDuplicatePropertyGroups]; } else if ([tag isEqualToString:@"property_group_lookup"]) { DBFILEPROPERTIESLookUpPropertiesError *propertyGroupLookup = [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:valueDict[@"property_group_lookup"]]; @@ -6099,17 +6238,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdateTemplateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdateTemplateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdateTemplateArgSerializer serialize:self] description]; } @@ -6184,7 +6323,7 @@ - (BOOL)isEqualToUpdateTemplateArg:(DBFILEPROPERTIESUpdateTemplateArg *)anUpdate @implementation DBFILEPROPERTIESUpdateTemplateArgSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; @@ -6202,10 +6341,10 @@ + (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; NSString *name = valueDict[@"name"] ?: nil; NSString *description_ = valueDict[@"description"] ?: nil; @@ -6248,17 +6387,17 @@ - (instancetype)initWithTemplateId:(NSString *)templateId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEPROPERTIESUpdateTemplateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEPROPERTIESUpdateTemplateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEPROPERTIESUpdateTemplateResultSerializer serialize:self] description]; } @@ -6309,15 +6448,15 @@ - (BOOL)isEqualToUpdateTemplateResult:(DBFILEPROPERTIESUpdateTemplateResult *)an @implementation DBFILEPROPERTIESUpdateTemplateResultSerializer -+ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"template_id"] = valueObj.templateId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)valueDict { NSString *templateId = valueDict[@"template_id"]; return [[DBFILEPROPERTIESUpdateTemplateResult alloc] initWithTemplateId:templateId]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesArg.h index 3d1e64b67..6137b884a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesArg.h @@ -29,7 +29,8 @@ NS_ASSUME_NONNULL_BEGIN /// A unique identifier for the file or folder. @property (nonatomic, readonly, copy) NSString *path; -/// The property groups which are to be added to a Dropbox file. +/// The property groups which are to be added to a Dropbox file. No two groups +/// in the input should refer to the same template. @property (nonatomic, readonly) NSArray *propertyGroups; #pragma mark - Constructors @@ -39,7 +40,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param path A unique identifier for the file or folder. /// @param propertyGroups The property groups which are to be added to a Dropbox -/// file. +/// file. No two groups in the input should refer to the same template. /// /// @return An initialized instance. /// @@ -65,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESAddPropertiesArg` instances. @@ -75,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESAddPropertiesArg` object. /// -+ (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESAddPropertiesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesError.h index 35690a97f..a480bf586 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddPropertiesError.h @@ -29,32 +29,36 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESAddPropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESAddPropertiesError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESAddPropertiesErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESAddPropertiesErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESAddPropertiesErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESAddPropertiesErrorOther, + /// (no description). + DBFILEPROPERTIESAddPropertiesErrorOther, - /// (no description). - DBFILEPROPERTIESAddPropertiesErrorPath, + /// (no description). + DBFILEPROPERTIESAddPropertiesErrorPath, - /// This folder cannot be tagged. Tagging folders is not supported for - /// team-owned templates. - DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder, + /// This folder cannot be tagged. Tagging folders is not supported for + /// team-owned templates. + DBFILEPROPERTIESAddPropertiesErrorUnsupportedFolder, - /// One or more of the supplied property field values is too large. - DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge, + /// One or more of the supplied property field values is too large. + DBFILEPROPERTIESAddPropertiesErrorPropertyFieldTooLarge, - /// One or more of the supplied property fields does not conform to the - /// template specifications. - DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate, + /// One or more of the supplied property fields does not conform to the + /// template specifications. + DBFILEPROPERTIESAddPropertiesErrorDoesNotFitTemplate, - /// A property group associated with this template and file already exists. - DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists, + /// There are 2 or more property groups referring to the same templates in + /// the input. + DBFILEPROPERTIESAddPropertiesErrorDuplicatePropertyGroups, + + /// A property group associated with this template and file already exists. + DBFILEPROPERTIESAddPropertiesErrorPropertyGroupAlreadyExists, }; @@ -140,6 +144,16 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag) { /// - (instancetype)initWithDoesNotFitTemplate; +/// +/// Initializes union class with tag state of "duplicate_property_groups". +/// +/// Description of the "duplicate_property_groups" tag state: There are 2 or +/// more property groups referring to the same templates in the input. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicatePropertyGroups; + /// /// Initializes union class with tag state of "property_group_already_exists". /// @@ -219,6 +233,15 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag) { /// - (BOOL)isDoesNotFitTemplate; +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_property_groups". +/// +/// @return Whether the union's current tag state has value +/// "duplicate_property_groups". +/// +- (BOOL)isDuplicatePropertyGroups; + /// /// Retrieves whether the union's current tag state has value /// "property_group_already_exists". @@ -253,7 +276,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddPropertiesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESAddPropertiesError` instances. @@ -263,7 +286,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESAddPropertiesErrorTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESAddPropertiesError` object. /// -+ (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESAddPropertiesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateArg.h index a091f917f..4cf809289 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateArg.h @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESAddTemplateArg` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESAddTemplateArg` object. /// -+ (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESAddTemplateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateResult.h index a07fcaa12..e575f8146 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESAddTemplateResult.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESAddTemplateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESAddTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESAddTemplateResult` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESAddTemplateResult` object. /// -+ (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESAddTemplateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateArg.h index f08bcf099..f13e38073 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESGetTemplateArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESGetTemplateArg` object. /// -+ (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESGetTemplateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateResult.h index 15680fd5b..adf6f998c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESGetTemplateResult.h @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESGetTemplateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESGetTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESGetTemplateResult` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESGetTemplateResult` object. /// -+ (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESGetTemplateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESInvalidPropertyGroupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESInvalidPropertyGroupError.h index 5cc0e5460..4f3acc60a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESInvalidPropertyGroupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESInvalidPropertyGroupError.h @@ -29,29 +29,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESInvalidPropertyGroupErrorTag` enum type represents the /// possible tag states with which the /// `DBFILEPROPERTIESInvalidPropertyGroupError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESInvalidPropertyGroupErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESInvalidPropertyGroupErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESInvalidPropertyGroupErrorOther, + /// (no description). + DBFILEPROPERTIESInvalidPropertyGroupErrorOther, - /// (no description). - DBFILEPROPERTIESInvalidPropertyGroupErrorPath, + /// (no description). + DBFILEPROPERTIESInvalidPropertyGroupErrorPath, - /// This folder cannot be tagged. Tagging folders is not supported for - /// team-owned templates. - DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder, + /// This folder cannot be tagged. Tagging folders is not supported for + /// team-owned templates. + DBFILEPROPERTIESInvalidPropertyGroupErrorUnsupportedFolder, - /// One or more of the supplied property field values is too large. - DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge, + /// One or more of the supplied property field values is too large. + DBFILEPROPERTIESInvalidPropertyGroupErrorPropertyFieldTooLarge, - /// One or more of the supplied property fields does not conform to the - /// template specifications. - DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate, + /// One or more of the supplied property fields does not conform to the + /// template specifications. + DBFILEPROPERTIESInvalidPropertyGroupErrorDoesNotFitTemplate, + + /// There are 2 or more property groups referring to the same templates in + /// the input. + DBFILEPROPERTIESInvalidPropertyGroupErrorDuplicatePropertyGroups, }; @@ -137,6 +141,16 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag) { /// - (instancetype)initWithDoesNotFitTemplate; +/// +/// Initializes union class with tag state of "duplicate_property_groups". +/// +/// Description of the "duplicate_property_groups" tag state: There are 2 or +/// more property groups referring to the same templates in the input. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicatePropertyGroups; + - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods @@ -206,6 +220,15 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag) { /// - (BOOL)isDoesNotFitTemplate; +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_property_groups". +/// +/// @return Whether the union's current tag state has value +/// "duplicate_property_groups". +/// +- (BOOL)isDuplicatePropertyGroups; + /// /// Retrieves string value of union's current tag state. /// @@ -232,7 +255,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESInvalidPropertyGroupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESInvalidPropertyGroupError *)instance; /// /// Deserializes `DBFILEPROPERTIESInvalidPropertyGroupError` instances. @@ -243,7 +266,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESInvalidPropertyGroupErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESInvalidPropertyGroupError` /// object. /// -+ (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESInvalidPropertyGroupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESListTemplateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESListTemplateResult.h index 99142e8fa..468867cd6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESListTemplateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESListTemplateResult.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESListTemplateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESListTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESListTemplateResult` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESListTemplateResult` object. /// -+ (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESListTemplateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLogicalOperator.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLogicalOperator.h index 17d81bb3c..d3ef7c418 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLogicalOperator.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLogicalOperator.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESLogicalOperatorTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESLogicalOperator` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLogicalOperatorTag) { - /// Append a query with an "or" operator. - DBFILEPROPERTIESLogicalOperatorOrOperator, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLogicalOperatorTag){ + /// Append a query with an "or" operator. + DBFILEPROPERTIESLogicalOperatorOrOperator, - /// (no description). - DBFILEPROPERTIESLogicalOperatorOther, + /// (no description). + DBFILEPROPERTIESLogicalOperatorOther, }; @@ -103,7 +103,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLogicalOperatorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLogicalOperator` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLogicalOperator *)instance; /// /// Deserializes `DBFILEPROPERTIESLogicalOperator` instances. @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLogicalOperatorTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESLogicalOperator` object. /// -+ (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESLogicalOperator *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookUpPropertiesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookUpPropertiesError.h index 6faf70ba8..1506ea956 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookUpPropertiesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookUpPropertiesError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESLookUpPropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESLookUpPropertiesError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookUpPropertiesErrorTag) { - /// No property group was found. - DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLookUpPropertiesErrorTag){ + /// No property group was found. + DBFILEPROPERTIESLookUpPropertiesErrorPropertyGroupNotFound, - /// (no description). - DBFILEPROPERTIESLookUpPropertiesErrorOther, + /// (no description). + DBFILEPROPERTIESLookUpPropertiesErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookUpPropertiesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookUpPropertiesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookUpPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESLookUpPropertiesError` instances. @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookUpPropertiesErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESLookUpPropertiesError` /// object. /// -+ (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESLookUpPropertiesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookupError.h index 8b5405699..035aaa99d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESLookupError.h @@ -27,27 +27,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESLookupErrorTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESLookupError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag) { - /// (no description). - DBFILEPROPERTIESLookupErrorMalformedPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag){ + /// (no description). + DBFILEPROPERTIESLookupErrorMalformedPath, - /// There is nothing at the given path. - DBFILEPROPERTIESLookupErrorNotFound, + /// There is nothing at the given path. + DBFILEPROPERTIESLookupErrorNotFound, - /// We were expecting a file, but the given path refers to something that - /// isn't a file. - DBFILEPROPERTIESLookupErrorNotFile, + /// We were expecting a file, but the given path refers to something that + /// isn't a file. + DBFILEPROPERTIESLookupErrorNotFile, - /// We were expecting a folder, but the given path refers to something that - /// isn't a folder. - DBFILEPROPERTIESLookupErrorNotFolder, + /// We were expecting a folder, but the given path refers to something that + /// isn't a folder. + DBFILEPROPERTIESLookupErrorNotFolder, - /// The file cannot be transferred because the content is restricted. For - /// example, sometimes there are legal restrictions due to copyright claims. - DBFILEPROPERTIESLookupErrorRestrictedContent, + /// The file cannot be transferred because the content is restricted. For + /// example, we might restrict a file due to legal requirements. + DBFILEPROPERTIESLookupErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESLookupErrorOther, + /// (no description). + DBFILEPROPERTIESLookupErrorOther, }; @@ -103,8 +103,8 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag) { /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: The file cannot be -/// transferred because the content is restricted. For example, sometimes there -/// are legal restrictions due to copyright claims. +/// transferred because the content is restricted. For example, we might +/// restrict a file due to legal requirements. /// /// @return An initialized instance. /// @@ -192,7 +192,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESLookupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESLookupError *)instance; /// /// Deserializes `DBFILEPROPERTIESLookupError` instances. @@ -202,7 +202,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESLookupErrorTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESLookupError` object. /// -+ (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESLookupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESModifyTemplateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESModifyTemplateError.h index 88ea12837..959c8c85c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESModifyTemplateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESModifyTemplateError.h @@ -28,29 +28,29 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESModifyTemplateErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESModifyTemplateError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESModifyTemplateErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESModifyTemplateErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESModifyTemplateErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESModifyTemplateErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESModifyTemplateErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESModifyTemplateErrorOther, + /// (no description). + DBFILEPROPERTIESModifyTemplateErrorOther, - /// A property field key with that name already exists in the template. - DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames, + /// A property field key with that name already exists in the template. + DBFILEPROPERTIESModifyTemplateErrorConflictingPropertyNames, - /// There are too many properties in the changed template. The maximum - /// number of properties per template is 32. - DBFILEPROPERTIESModifyTemplateErrorTooManyProperties, + /// There are too many properties in the changed template. The maximum + /// number of properties per template is 32. + DBFILEPROPERTIESModifyTemplateErrorTooManyProperties, - /// There are too many templates for the team. - DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates, + /// There are too many templates for the team. + DBFILEPROPERTIESModifyTemplateErrorTooManyTemplates, - /// The template name, description or one or more of the property field keys - /// is too large. - DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge, + /// The template name, description or one or more of the property field keys + /// is too large. + DBFILEPROPERTIESModifyTemplateErrorTemplateAttributeTooLarge, }; @@ -227,7 +227,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESModifyTemplateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESModifyTemplateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESModifyTemplateError *)instance; /// /// Deserializes `DBFILEPROPERTIESModifyTemplateError` instances. @@ -238,7 +238,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESModifyTemplateErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESModifyTemplateError` /// object. /// -+ (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESModifyTemplateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESOverwritePropertyGroupArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESOverwritePropertyGroupArg.h index 6a727d267..1953ae099 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESOverwritePropertyGroupArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESOverwritePropertyGroupArg.h @@ -29,7 +29,8 @@ NS_ASSUME_NONNULL_BEGIN /// A unique identifier for the file or folder. @property (nonatomic, readonly, copy) NSString *path; -/// The property groups "snapshot" updates to force apply. +/// The property groups "snapshot" updates to force apply. No two groups in the +/// input should refer to the same template. @property (nonatomic, readonly) NSArray *propertyGroups; #pragma mark - Constructors @@ -39,6 +40,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param path A unique identifier for the file or folder. /// @param propertyGroups The property groups "snapshot" updates to force apply. +/// No two groups in the input should refer to the same template. /// /// @return An initialized instance. /// @@ -64,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESOverwritePropertyGroupArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESOverwritePropertyGroupArg *)instance; /// /// Deserializes `DBFILEPROPERTIESOverwritePropertyGroupArg` instances. @@ -75,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESOverwritePropertyGroupArg` /// object. /// -+ (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESOverwritePropertyGroupArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesError.h index e31054be4..14ae4dab9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesError.h @@ -28,22 +28,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESPropertiesErrorTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESPropertiesError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESPropertiesErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESPropertiesErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESPropertiesErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESPropertiesErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESPropertiesErrorOther, + /// (no description). + DBFILEPROPERTIESPropertiesErrorOther, - /// (no description). - DBFILEPROPERTIESPropertiesErrorPath, + /// (no description). + DBFILEPROPERTIESPropertiesErrorPath, - /// This folder cannot be tagged. Tagging folders is not supported for - /// team-owned templates. - DBFILEPROPERTIESPropertiesErrorUnsupportedFolder, + /// This folder cannot be tagged. Tagging folders is not supported for + /// team-owned templates. + DBFILEPROPERTIESPropertiesErrorUnsupportedFolder, }; @@ -185,7 +185,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesError` instances. @@ -195,7 +195,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesErrorTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESPropertiesError` object. /// -+ (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchArg.h index 12296daf9..8dc9f7953 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchArg.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchArg *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchArg` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchArg` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueArg.h index 3fd0f4ed8..3a716b3bc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueArg *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchContinueArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBFILEPROPERTIESPropertiesSearchContinueArg` object. /// -+ (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueError.h index 9005e5727..d7a4f0a50 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchContinueError.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESPropertiesSearchContinueErrorTag` enum type represents /// the possible tag states with which the /// `DBFILEPROPERTIESPropertiesSearchContinueError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchContinueErrorTag) { - /// Indicates that the cursor has been invalidated. Call `propertiesSearch` - /// to obtain a new cursor. - DBFILEPROPERTIESPropertiesSearchContinueErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchContinueErrorTag){ + /// Indicates that the cursor has been invalidated. Call `propertiesSearch` + /// to obtain a new cursor. + DBFILEPROPERTIESPropertiesSearchContinueErrorReset, - /// (no description). - DBFILEPROPERTIESPropertiesSearchContinueErrorOther, + /// (no description). + DBFILEPROPERTIESPropertiesSearchContinueErrorOther, }; @@ -104,7 +104,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchContinueError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchContinueError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchContinueErrorTag) { /// @return An instantiation of the /// `DBFILEPROPERTIESPropertiesSearchContinueError` object. /// -+ (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchError.h index 40b9e188d..65482b03f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESPropertiesSearchErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESPropertiesSearchError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchErrorTag) { - /// (no description). - DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchErrorTag){ + /// (no description). + DBFILEPROPERTIESPropertiesSearchErrorPropertyGroupLookup, - /// (no description). - DBFILEPROPERTIESPropertiesSearchErrorOther, + /// (no description). + DBFILEPROPERTIESPropertiesSearchErrorOther, }; @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchError *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchError` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchError` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMatch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMatch.h index 16e457a60..134e904d0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMatch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMatch.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMatch` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMatch *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchMatch` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchMatch` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchMatch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMode.h index bad90a918..ba42298ba 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMode.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchMode.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESPropertiesSearchModeTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESPropertiesSearchMode` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchModeTag) { - /// Search for a value associated with this field name. - DBFILEPROPERTIESPropertiesSearchModeFieldName, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchModeTag){ + /// Search for a value associated with this field name. + DBFILEPROPERTIESPropertiesSearchModeFieldName, - /// (no description). - DBFILEPROPERTIESPropertiesSearchModeOther, + /// (no description). + DBFILEPROPERTIESPropertiesSearchModeOther, }; @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchModeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchMode` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchMode *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchMode` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertiesSearchModeTag) { /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchMode` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchMode *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchQuery.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchQuery.h index 812477152..aedeb8dfd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchQuery.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchQuery.h @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchQuery` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchQuery *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchQuery *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchQuery` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchQuery` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchQuery *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchResult.h index 45897ebd5..4c078a6d3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertiesSearchResult.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertiesSearchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertiesSearchResult *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertiesSearchResult` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertiesSearchResult` /// object. /// -+ (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertiesSearchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyField.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyField.h index 274871121..171d595eb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyField.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyField.h @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyField` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyField *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyField` instances. @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyField` object. /// -+ (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyField *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyFieldTemplate.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyFieldTemplate.h index 6d3725570..ca79ea28c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyFieldTemplate.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyFieldTemplate.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyFieldTemplate` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyFieldTemplate *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyFieldTemplate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyFieldTemplate` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertyFieldTemplate` /// object. /// -+ (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyFieldTemplate *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroup.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroup.h index d3fffb437..716d16746 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroup.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroup.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroup` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroup *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroup` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroup` object. /// -+ (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyGroup *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupTemplate.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupTemplate.h index 203ce5ec6..6a24a04c0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupTemplate.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupTemplate.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupTemplate` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupTemplate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroupTemplate` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroupTemplate` /// object. /// -+ (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyGroupTemplate *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupUpdate.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupUpdate.h index 256f28fea..dc4e9f0c6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupUpdate.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyGroupUpdate.h @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyGroupUpdate` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyGroupUpdate *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyGroupUpdate` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESPropertyGroupUpdate` /// object. /// -+ (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyGroupUpdate *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyType.h index 50037e57d..62ad8d18d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESPropertyType.h @@ -29,13 +29,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESPropertyTypeTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESPropertyType` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertyTypeTag) { - /// The associated property field will be of type string. Unicode is - /// supported. - DBFILEPROPERTIESPropertyTypeString, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESPropertyTypeTag){ + /// The associated property field will be of type string. Unicode is + /// supported. + DBFILEPROPERTIESPropertyTypeString, - /// (no description). - DBFILEPROPERTIESPropertyTypeOther, + /// (no description). + DBFILEPROPERTIESPropertyTypeOther, }; @@ -104,7 +104,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertyTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESPropertyType` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESPropertyType *)instance; /// /// Deserializes `DBFILEPROPERTIESPropertyType` instances. @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESPropertyTypeTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESPropertyType` object. /// -+ (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESPropertyType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesArg.h index 1ffe9c812..354d39c2f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesArg.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESRemovePropertiesArg` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESRemovePropertiesArg` /// object. /// -+ (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESRemovePropertiesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesError.h index be2e7bc1f..d5acf0185 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemovePropertiesError.h @@ -30,25 +30,25 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESRemovePropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESRemovePropertiesError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESRemovePropertiesErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESRemovePropertiesErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESRemovePropertiesErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESRemovePropertiesErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESRemovePropertiesErrorOther, + /// (no description). + DBFILEPROPERTIESRemovePropertiesErrorOther, - /// (no description). - DBFILEPROPERTIESRemovePropertiesErrorPath, + /// (no description). + DBFILEPROPERTIESRemovePropertiesErrorPath, - /// This folder cannot be tagged. Tagging folders is not supported for - /// team-owned templates. - DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder, + /// This folder cannot be tagged. Tagging folders is not supported for + /// team-owned templates. + DBFILEPROPERTIESRemovePropertiesErrorUnsupportedFolder, - /// (no description). - DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup, + /// (no description). + DBFILEPROPERTIESRemovePropertiesErrorPropertyGroupLookup, }; @@ -217,7 +217,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESRemovePropertiesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemovePropertiesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemovePropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESRemovePropertiesError` instances. @@ -228,7 +228,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESRemovePropertiesErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESRemovePropertiesError` /// object. /// -+ (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESRemovePropertiesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemoveTemplateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemoveTemplateArg.h index fc6dc1bb1..67ccf6348 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemoveTemplateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESRemoveTemplateArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESRemoveTemplateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESRemoveTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESRemoveTemplateArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESRemoveTemplateArg` object. /// -+ (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESRemoveTemplateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateError.h index e3287d7a3..570265150 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateError.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESTemplateErrorTag` enum type represents the possible tag /// states with which the `DBFILEPROPERTIESTemplateError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESTemplateErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESTemplateErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESTemplateErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESTemplateErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESTemplateErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESTemplateErrorOther, + /// (no description). + DBFILEPROPERTIESTemplateErrorOther, }; @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateError *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateError` instances. @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateErrorTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateError` object. /// -+ (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESTemplateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilter.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilter.h index e75f88d41..28f3d3a4f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilter.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilter.h @@ -27,17 +27,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESTemplateFilterTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESTemplateFilter` union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterTag) { - /// Only templates with an ID in the supplied list will be returned (a - /// subset of templates will be returned). - DBFILEPROPERTIESTemplateFilterFilterSome, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterTag){ + /// Only templates with an ID in the supplied list will be returned (a + /// subset of templates will be returned). + DBFILEPROPERTIESTemplateFilterFilterSome, - /// (no description). - DBFILEPROPERTIESTemplateFilterOther, + /// (no description). + DBFILEPROPERTIESTemplateFilterOther, - /// No templates will be filtered from the result (all templates will be - /// returned). - DBFILEPROPERTIESTemplateFilterFilterNone, + /// No templates will be filtered from the result (all templates will be + /// returned). + DBFILEPROPERTIESTemplateFilterFilterNone, }; @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilter` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilter *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateFilter` instances. @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateFilter` object. /// -+ (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESTemplateFilter *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilterBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilterBase.h index 50d5b9387..801cbe1fd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilterBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateFilterBase.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESTemplateFilterBaseTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESTemplateFilterBase` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterBaseTag) { - /// Only templates with an ID in the supplied list will be returned (a - /// subset of templates will be returned). - DBFILEPROPERTIESTemplateFilterBaseFilterSome, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterBaseTag){ + /// Only templates with an ID in the supplied list will be returned (a + /// subset of templates will be returned). + DBFILEPROPERTIESTemplateFilterBaseFilterSome, - /// (no description). - DBFILEPROPERTIESTemplateFilterBaseOther, + /// (no description). + DBFILEPROPERTIESTemplateFilterBaseOther, }; @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterBaseTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateFilterBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateFilterBase *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateFilterBase` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateFilterBaseTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateFilterBase` object. /// -+ (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESTemplateFilterBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateOwnerType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateOwnerType.h index fd750d89b..03b6f5533 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateOwnerType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESTemplateOwnerType.h @@ -28,15 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESTemplateOwnerTypeTag` enum type represents the possible /// tag states with which the `DBFILEPROPERTIESTemplateOwnerType` union can /// exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateOwnerTypeTag) { - /// Template will be associated with a user. - DBFILEPROPERTIESTemplateOwnerTypeUser, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESTemplateOwnerTypeTag){ + /// Template will be associated with a user. + DBFILEPROPERTIESTemplateOwnerTypeUser, - /// Template will be associated with a team. - DBFILEPROPERTIESTemplateOwnerTypeTeam, + /// Template will be associated with a team. + DBFILEPROPERTIESTemplateOwnerTypeTeam, - /// (no description). - DBFILEPROPERTIESTemplateOwnerTypeOther, + /// (no description). + DBFILEPROPERTIESTemplateOwnerTypeOther, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateOwnerTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESTemplateOwnerType` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESTemplateOwnerType *)instance; /// /// Deserializes `DBFILEPROPERTIESTemplateOwnerType` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESTemplateOwnerTypeTag) { /// /// @return An instantiation of the `DBFILEPROPERTIESTemplateOwnerType` object. /// -+ (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESTemplateOwnerType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesArg.h index 38631009d..569f7967d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesArg.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesArg *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdatePropertiesArg` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESUpdatePropertiesArg` /// object. /// -+ (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESUpdatePropertiesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesError.h index 776f9c484..7e6f00153 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdatePropertiesError.h @@ -30,32 +30,36 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEPROPERTIESUpdatePropertiesErrorTag` enum type represents the /// possible tag states with which the `DBFILEPROPERTIESUpdatePropertiesError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag) { - /// Template does not exist for the given identifier. - DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag){ + /// Template does not exist for the given identifier. + DBFILEPROPERTIESUpdatePropertiesErrorTemplateNotFound, - /// You do not have permission to modify this template. - DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent, + /// You do not have permission to modify this template. + DBFILEPROPERTIESUpdatePropertiesErrorRestrictedContent, - /// (no description). - DBFILEPROPERTIESUpdatePropertiesErrorOther, + /// (no description). + DBFILEPROPERTIESUpdatePropertiesErrorOther, - /// (no description). - DBFILEPROPERTIESUpdatePropertiesErrorPath, + /// (no description). + DBFILEPROPERTIESUpdatePropertiesErrorPath, - /// This folder cannot be tagged. Tagging folders is not supported for - /// team-owned templates. - DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder, + /// This folder cannot be tagged. Tagging folders is not supported for + /// team-owned templates. + DBFILEPROPERTIESUpdatePropertiesErrorUnsupportedFolder, - /// One or more of the supplied property field values is too large. - DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge, + /// One or more of the supplied property field values is too large. + DBFILEPROPERTIESUpdatePropertiesErrorPropertyFieldTooLarge, - /// One or more of the supplied property fields does not conform to the - /// template specifications. - DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate, + /// One or more of the supplied property fields does not conform to the + /// template specifications. + DBFILEPROPERTIESUpdatePropertiesErrorDoesNotFitTemplate, - /// (no description). - DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup, + /// There are 2 or more property groups referring to the same templates in + /// the input. + DBFILEPROPERTIESUpdatePropertiesErrorDuplicatePropertyGroups, + + /// (no description). + DBFILEPROPERTIESUpdatePropertiesErrorPropertyGroupLookup, }; @@ -145,6 +149,16 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag) { /// - (instancetype)initWithDoesNotFitTemplate; +/// +/// Initializes union class with tag state of "duplicate_property_groups". +/// +/// Description of the "duplicate_property_groups" tag state: There are 2 or +/// more property groups referring to the same templates in the input. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicatePropertyGroups; + /// /// Initializes union class with tag state of "property_group_lookup". /// @@ -223,6 +237,15 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag) { /// - (BOOL)isDoesNotFitTemplate; +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_property_groups". +/// +/// @return Whether the union's current tag state has value +/// "duplicate_property_groups". +/// +- (BOOL)isDuplicatePropertyGroups; + /// /// Retrieves whether the union's current tag state has value /// "property_group_lookup". @@ -262,7 +285,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdatePropertiesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdatePropertiesError *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdatePropertiesError` instances. @@ -273,7 +296,7 @@ typedef NS_ENUM(NSInteger, DBFILEPROPERTIESUpdatePropertiesErrorTag) { /// @return An instantiation of the `DBFILEPROPERTIESUpdatePropertiesError` /// object. /// -+ (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESUpdatePropertiesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateArg.h index 8e4700a0b..8529dc840 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateArg.h @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateArg *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdateTemplateArg` instances. @@ -103,7 +103,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEPROPERTIESUpdateTemplateArg` object. /// -+ (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESUpdateTemplateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateResult.h index 25f1b3021..3afa2b598 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileProperties/Headers/DBFILEPROPERTIESUpdateTemplateResult.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEPROPERTIESUpdateTemplateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEPROPERTIESUpdateTemplateResult *)instance; /// /// Deserializes `DBFILEPROPERTIESUpdateTemplateResult` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEPROPERTIESUpdateTemplateResult` /// object. /// -+ (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEPROPERTIESUpdateTemplateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m index e7721222c..85e83ac3d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/DBFileRequestsObjects.m @@ -6,53 +6,69 @@ /// Arguments, results, and errors for the `FileRequests` namespace. -#import "DBFILEREQUESTSCreateFileRequestArgs.h" -#import "DBFILEREQUESTSFileRequestDeadline.h" +#import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSCreateFileRequestArgs +@implementation DBFILEREQUESTSGeneralFileRequestsError #pragma mark - Constructors -- (instancetype)initWithTitle:(NSString *)title - destination:(NSString *)destination - deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline - open:(NSNumber *)open { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](title); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](destination); +- (instancetype)initWithDisabledForTeam { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _title = title; - _destination = destination; - _deadline = deadline; - _open = open ?: @YES; + _tag = DBFILEREQUESTSGeneralFileRequestsErrorOther; } return self; } -- (instancetype)initWithTitle:(NSString *)title destination:(NSString *)destination { - return [self initWithTitle:title destination:destination deadline:nil open:nil]; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSGeneralFileRequestsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: + return @"DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam"; + case DBFILEREQUESTSGeneralFileRequestsErrorOther: + return @"DBFILEREQUESTSGeneralFileRequestsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSCreateFileRequestArgsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSCreateFileRequestArgsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSGeneralFileRequestsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSCreateFileRequestArgsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -69,12 +85,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.title hash]; - result = prime * result + [self.destination hash]; - if (self.deadline != nil) { - result = prime * result + [self.deadline hash]; + switch (_tag) { + case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGeneralFileRequestsErrorOther: + result = prime * result + [[self tagName] hash]; + break; } - result = prime * result + [self.open hash]; return prime * result; } @@ -88,26 +106,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateFileRequestArgs:other]; + return [self isEqualToGeneralFileRequestsError:other]; } -- (BOOL)isEqualToCreateFileRequestArgs:(DBFILEREQUESTSCreateFileRequestArgs *)aCreateFileRequestArgs { - if (self == aCreateFileRequestArgs) { +- (BOOL)isEqualToGeneralFileRequestsError:(DBFILEREQUESTSGeneralFileRequestsError *)aGeneralFileRequestsError { + if (self == aGeneralFileRequestsError) { return YES; } - if (![self.title isEqual:aCreateFileRequestArgs.title]) { - return NO; - } - if (![self.destination isEqual:aCreateFileRequestArgs.destination]) { + if (self.tag != aGeneralFileRequestsError.tag) { return NO; } - if (self.deadline) { - if (![self.deadline isEqual:aCreateFileRequestArgs.deadline]) { - return NO; - } - } - if (![self.open isEqual:aCreateFileRequestArgs.open]) { - return NO; + switch (_tag) { + case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: + return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; + case DBFILEREQUESTSGeneralFileRequestsErrorOther: + return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; } return YES; } @@ -116,50 +129,51 @@ - (BOOL)isEqualToCreateFileRequestArgs:(DBFILEREQUESTSCreateFileRequestArgs *)aC #pragma mark - Serializer Object -@implementation DBFILEREQUESTSCreateFileRequestArgsSerializer +@implementation DBFILEREQUESTSGeneralFileRequestsErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestArgs *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"title"] = valueObj.title; - jsonDict[@"destination"] = valueObj.destination; - if (valueObj.deadline) { - jsonDict[@"deadline"] = [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.deadline]; + if ([valueObj isDisabledForTeam]) { + jsonDict[@".tag"] = @"disabled_for_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - jsonDict[@"open"] = valueObj.open; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { - NSString *title = valueDict[@"title"]; - NSString *destination = valueDict[@"destination"]; - DBFILEREQUESTSFileRequestDeadline *deadline = - valueDict[@"deadline"] ? [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : nil; - NSNumber *open = valueDict[@"open"] ?: @YES; ++ (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILEREQUESTSCreateFileRequestArgs alloc] initWithTitle:title - destination:destination - deadline:deadline - open:open]; + if ([tag isEqualToString:@"disabled_for_team"]) { + return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithDisabledForTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithOther]; + } else { + return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithOther]; + } } @end +#import "DBFILEREQUESTSCountFileRequestsError.h" #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSGeneralFileRequestsError +@implementation DBFILEREQUESTSCountFileRequestsError #pragma mark - Constructors - (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam; + _tag = DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam; } return self; } @@ -167,7 +181,7 @@ - (instancetype)initWithDisabledForTeam { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGeneralFileRequestsErrorOther; + _tag = DBFILEREQUESTSCountFileRequestsErrorOther; } return self; } @@ -177,19 +191,19 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabledForTeam { - return _tag == DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam; + return _tag == DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam; } - (BOOL)isOther { - return _tag == DBFILEREQUESTSGeneralFileRequestsErrorOther; + return _tag == DBFILEREQUESTSCountFileRequestsErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: - return @"DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam"; - case DBFILEREQUESTSGeneralFileRequestsErrorOther: - return @"DBFILEREQUESTSGeneralFileRequestsErrorOther"; + case DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: + return @"DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam"; + case DBFILEREQUESTSCountFileRequestsErrorOther: + return @"DBFILEREQUESTSCountFileRequestsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -197,18 +211,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSCountFileRequestsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSGeneralFileRequestsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSCountFileRequestsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSGeneralFileRequestsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSCountFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -226,10 +240,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: + case DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGeneralFileRequestsErrorOther: + break; + case DBFILEREQUESTSCountFileRequestsErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -244,21 +260,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGeneralFileRequestsError:other]; + return [self isEqualToCountFileRequestsError:other]; } -- (BOOL)isEqualToGeneralFileRequestsError:(DBFILEREQUESTSGeneralFileRequestsError *)aGeneralFileRequestsError { - if (self == aGeneralFileRequestsError) { +- (BOOL)isEqualToCountFileRequestsError:(DBFILEREQUESTSCountFileRequestsError *)aCountFileRequestsError { + if (self == aCountFileRequestsError) { return YES; } - if (self.tag != aGeneralFileRequestsError.tag) { + if (self.tag != aCountFileRequestsError.tag) { return NO; } switch (_tag) { - case DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam: - return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; - case DBFILEREQUESTSGeneralFileRequestsErrorOther: - return [[self tagName] isEqual:[aGeneralFileRequestsError tagName]]; + case DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam: + return [[self tagName] isEqual:[aCountFileRequestsError tagName]]; + case DBFILEREQUESTSCountFileRequestsErrorOther: + return [[self tagName] isEqual:[aCountFileRequestsError tagName]]; } return YES; } @@ -267,9 +283,9 @@ - (BOOL)isEqualToGeneralFileRequestsError:(DBFILEREQUESTSGeneralFileRequestsErro #pragma mark - Serializer Object -@implementation DBFILEREQUESTSGeneralFileRequestsErrorSerializer +@implementation DBFILEREQUESTSCountFileRequestsErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { @@ -280,145 +296,399 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSCountFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { - return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithDisabledForTeam]; + return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithOther]; + return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithOther]; } else { - return [[DBFILEREQUESTSGeneralFileRequestsError alloc] initWithOther]; + return [[DBFILEREQUESTSCountFileRequestsError alloc] initWithOther]; } } @end -#import "DBFILEREQUESTSFileRequestError.h" -#import "DBFILEREQUESTSGeneralFileRequestsError.h" +#import "DBFILEREQUESTSCountFileRequestsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSFileRequestError +@implementation DBFILEREQUESTSCountFileRequestsResult #pragma mark - Constructors -- (instancetype)initWithDisabledForTeam { +- (instancetype)initWithFileRequestCount:(NSNumber *)fileRequestCount { + [DBStoneValidators nonnullValidator:nil](fileRequestCount); + self = [super init]; if (self) { - _tag = DBFILEREQUESTSFileRequestErrorDisabledForTeam; + _fileRequestCount = fileRequestCount; } return self; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorOther; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSCountFileRequestsResultSerializer serialize:instance]; } -- (instancetype)initWithNotFound { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorNotFound; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSCountFileRequestsResultSerializer deserialize:dict]; } -- (instancetype)initWithNotAFolder { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorNotAFolder; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSCountFileRequestsResultSerializer serialize:self] description]; } -- (instancetype)initWithAppLacksAccess { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorAppLacksAccess; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithNoPermission { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorNoPermission; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileRequestCount hash]; + + return prime * result; } -- (instancetype)initWithEmailUnverified { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorEmailUnverified; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCountFileRequestsResult:other]; } -- (instancetype)initWithValidationError { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSFileRequestErrorValidationError; +- (BOOL)isEqualToCountFileRequestsResult:(DBFILEREQUESTSCountFileRequestsResult *)aCountFileRequestsResult { + if (self == aCountFileRequestsResult) { + return YES; } - return self; + if (![self.fileRequestCount isEqual:aCountFileRequestsResult.fileRequestCount]) { + return NO; + } + return YES; } -#pragma mark - Instance field accessors +@end -#pragma mark - Tag state methods +#pragma mark - Serializer Object -- (BOOL)isDisabledForTeam { - return _tag == DBFILEREQUESTSFileRequestErrorDisabledForTeam; -} +@implementation DBFILEREQUESTSCountFileRequestsResultSerializer -- (BOOL)isOther { - return _tag == DBFILEREQUESTSFileRequestErrorOther; -} ++ (NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isNotFound { - return _tag == DBFILEREQUESTSFileRequestErrorNotFound; -} + jsonDict[@"file_request_count"] = valueObj.fileRequestCount; -- (BOOL)isNotAFolder { - return _tag == DBFILEREQUESTSFileRequestErrorNotAFolder; + return jsonDict; } -- (BOOL)isAppLacksAccess { - return _tag == DBFILEREQUESTSFileRequestErrorAppLacksAccess; -} ++ (DBFILEREQUESTSCountFileRequestsResult *)deserialize:(NSDictionary *)valueDict { + NSNumber *fileRequestCount = valueDict[@"file_request_count"]; -- (BOOL)isNoPermission { - return _tag == DBFILEREQUESTSFileRequestErrorNoPermission; + return [[DBFILEREQUESTSCountFileRequestsResult alloc] initWithFileRequestCount:fileRequestCount]; } -- (BOOL)isEmailUnverified { - return _tag == DBFILEREQUESTSFileRequestErrorEmailUnverified; -} +@end -- (BOOL)isValidationError { - return _tag == DBFILEREQUESTSFileRequestErrorValidationError; -} +#import "DBFILEREQUESTSCreateFileRequestArgs.h" +#import "DBFILEREQUESTSFileRequestDeadline.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" -- (NSString *)tagName { - switch (_tag) { - case DBFILEREQUESTSFileRequestErrorDisabledForTeam: - return @"DBFILEREQUESTSFileRequestErrorDisabledForTeam"; - case DBFILEREQUESTSFileRequestErrorOther: - return @"DBFILEREQUESTSFileRequestErrorOther"; - case DBFILEREQUESTSFileRequestErrorNotFound: - return @"DBFILEREQUESTSFileRequestErrorNotFound"; - case DBFILEREQUESTSFileRequestErrorNotAFolder: - return @"DBFILEREQUESTSFileRequestErrorNotAFolder"; - case DBFILEREQUESTSFileRequestErrorAppLacksAccess: +#pragma mark - API Object + +@implementation DBFILEREQUESTSCreateFileRequestArgs + +#pragma mark - Constructors + +- (instancetype)initWithTitle:(NSString *)title + destination:(NSString *)destination + deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline + open:(NSNumber *)open + description_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](title); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](destination); + + self = [super init]; + if (self) { + _title = title; + _destination = destination; + _deadline = deadline; + _open = open ?: @YES; + _description_ = description_; + } + return self; +} + +- (instancetype)initWithTitle:(NSString *)title destination:(NSString *)destination { + return [self initWithTitle:title destination:destination deadline:nil open:nil description_:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSCreateFileRequestArgsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSCreateFileRequestArgsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSCreateFileRequestArgsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.title hash]; + result = prime * result + [self.destination hash]; + if (self.deadline != nil) { + result = prime * result + [self.deadline hash]; + } + result = prime * result + [self.open hash]; + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCreateFileRequestArgs:other]; +} + +- (BOOL)isEqualToCreateFileRequestArgs:(DBFILEREQUESTSCreateFileRequestArgs *)aCreateFileRequestArgs { + if (self == aCreateFileRequestArgs) { + return YES; + } + if (![self.title isEqual:aCreateFileRequestArgs.title]) { + return NO; + } + if (![self.destination isEqual:aCreateFileRequestArgs.destination]) { + return NO; + } + if (self.deadline) { + if (![self.deadline isEqual:aCreateFileRequestArgs.deadline]) { + return NO; + } + } + if (![self.open isEqual:aCreateFileRequestArgs.open]) { + return NO; + } + if (self.description_) { + if (![self.description_ isEqual:aCreateFileRequestArgs.description_]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSCreateFileRequestArgsSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestArgs *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"title"] = valueObj.title; + jsonDict[@"destination"] = valueObj.destination; + if (valueObj.deadline) { + jsonDict[@"deadline"] = [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.deadline]; + } + jsonDict[@"open"] = valueObj.open; + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; + } + + return jsonDict; +} + ++ (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { + NSString *title = valueDict[@"title"]; + NSString *destination = valueDict[@"destination"]; + DBFILEREQUESTSFileRequestDeadline *deadline = + valueDict[@"deadline"] ? [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : nil; + NSNumber *open = valueDict[@"open"] ?: @YES; + NSString *description_ = valueDict[@"description"] ?: nil; + + return [[DBFILEREQUESTSCreateFileRequestArgs alloc] initWithTitle:title + destination:destination + deadline:deadline + open:open + description_:description_]; +} + +@end + +#import "DBFILEREQUESTSFileRequestError.h" +#import "DBFILEREQUESTSGeneralFileRequestsError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSFileRequestError + +#pragma mark - Constructors + +- (instancetype)initWithDisabledForTeam { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorDisabledForTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorOther; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorNotFound; + } + return self; +} + +- (instancetype)initWithNotAFolder { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorNotAFolder; + } + return self; +} + +- (instancetype)initWithAppLacksAccess { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorAppLacksAccess; + } + return self; +} + +- (instancetype)initWithNoPermission { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorNoPermission; + } + return self; +} + +- (instancetype)initWithEmailUnverified { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorEmailUnverified; + } + return self; +} + +- (instancetype)initWithValidationError { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSFileRequestErrorValidationError; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSFileRequestErrorDisabledForTeam; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSFileRequestErrorOther; +} + +- (BOOL)isNotFound { + return _tag == DBFILEREQUESTSFileRequestErrorNotFound; +} + +- (BOOL)isNotAFolder { + return _tag == DBFILEREQUESTSFileRequestErrorNotAFolder; +} + +- (BOOL)isAppLacksAccess { + return _tag == DBFILEREQUESTSFileRequestErrorAppLacksAccess; +} + +- (BOOL)isNoPermission { + return _tag == DBFILEREQUESTSFileRequestErrorNoPermission; +} + +- (BOOL)isEmailUnverified { + return _tag == DBFILEREQUESTSFileRequestErrorEmailUnverified; +} + +- (BOOL)isValidationError { + return _tag == DBFILEREQUESTSFileRequestErrorValidationError; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSFileRequestErrorDisabledForTeam: + return @"DBFILEREQUESTSFileRequestErrorDisabledForTeam"; + case DBFILEREQUESTSFileRequestErrorOther: + return @"DBFILEREQUESTSFileRequestErrorOther"; + case DBFILEREQUESTSFileRequestErrorNotFound: + return @"DBFILEREQUESTSFileRequestErrorNotFound"; + case DBFILEREQUESTSFileRequestErrorNotAFolder: + return @"DBFILEREQUESTSFileRequestErrorNotAFolder"; + case DBFILEREQUESTSFileRequestErrorAppLacksAccess: return @"DBFILEREQUESTSFileRequestErrorAppLacksAccess"; case DBFILEREQUESTSFileRequestErrorNoPermission: return @"DBFILEREQUESTSFileRequestErrorNoPermission"; @@ -433,17 +703,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSFileRequestErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSFileRequestErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSFileRequestErrorSerializer serialize:self] description]; } @@ -464,20 +734,28 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEREQUESTSFileRequestErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorNotFound: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorNotAFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorAppLacksAccess: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSFileRequestErrorValidationError: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -529,7 +807,7 @@ - (BOOL)isEqualToFileRequestError:(DBFILEREQUESTSFileRequestError *)aFileRequest @implementation DBFILEREQUESTSFileRequestErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { @@ -552,10 +830,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { @@ -745,17 +1023,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSCreateFileRequestErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSCreateFileRequestErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSCreateFileRequestErrorSerializer serialize:self] description]; } @@ -776,24 +1054,34 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorNotFound: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorNotAFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorValidationError: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorInvalidLocation: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSCreateFileRequestErrorRateLimit: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -849,7 +1137,7 @@ - (BOOL)isEqualToCreateFileRequestError:(DBFILEREQUESTSCreateFileRequestError *) @implementation DBFILEREQUESTSCreateFileRequestErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { @@ -876,10 +1164,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { @@ -909,79 +1197,154 @@ + (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)valueDict @end -#import "DBFILEREQUESTSFileRequest.h" -#import "DBFILEREQUESTSFileRequestDeadline.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsError.h" +#import "DBFILEREQUESTSFileRequestError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSFileRequest +@implementation DBFILEREQUESTSDeleteAllClosedFileRequestsError #pragma mark - Constructors -- (instancetype)initWithId_:(NSString *)id_ - url:(NSString *)url - title:(NSString *)title - created:(NSDate *)created - isOpen:(NSNumber *)isOpen - fileCount:(NSNumber *)fileCount - destination:(NSString *)destination - deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](id_); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](url); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](title); - [DBStoneValidators nonnullValidator:nil](created); - [DBStoneValidators nonnullValidator:nil](isOpen); - [DBStoneValidators nonnullValidator:nil](fileCount); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](destination); +- (instancetype)initWithDisabledForTeam { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _id_ = id_; - _url = url; - _title = title; - _destination = destination; - _created = created; - _deadline = deadline; - _isOpen = isOpen; - _fileCount = fileCount; + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther; } return self; } -- (instancetype)initWithId_:(NSString *)id_ - url:(NSString *)url - title:(NSString *)title - created:(NSDate *)created - isOpen:(NSNumber *)isOpen - fileCount:(NSNumber *)fileCount { - return [self initWithId_:id_ - url:url - title:title - created:created - isOpen:isOpen - fileCount:fileCount - destination:nil - deadline:nil]; +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound; + } + return self; +} + +- (instancetype)initWithNotAFolder { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder; + } + return self; +} + +- (instancetype)initWithAppLacksAccess { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess; + } + return self; +} + +- (instancetype)initWithNoPermission { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission; + } + return self; +} + +- (instancetype)initWithEmailUnverified { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified; + } + return self; +} + +- (instancetype)initWithValidationError { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther; +} + +- (BOOL)isNotFound { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound; +} + +- (BOOL)isNotAFolder { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder; +} + +- (BOOL)isAppLacksAccess { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess; +} + +- (BOOL)isNoPermission { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission; +} + +- (BOOL)isEmailUnverified { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified; +} + +- (BOOL)isValidationError { + return _tag == DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified"; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError: + return @"DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSFileRequestSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSFileRequestSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSFileRequestSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -998,17 +1361,31 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.id_ hash]; - result = prime * result + [self.url hash]; - result = prime * result + [self.title hash]; - result = prime * result + [self.created hash]; - result = prime * result + [self.isOpen hash]; - result = prime * result + [self.fileCount hash]; - if (self.destination != nil) { - result = prime * result + [self.destination hash]; - } - if (self.deadline != nil) { - result = prime * result + [self.deadline hash]; + switch (_tag) { + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1023,40 +1400,34 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequest:other]; + return [self isEqualToDeleteAllClosedFileRequestsError:other]; } -- (BOOL)isEqualToFileRequest:(DBFILEREQUESTSFileRequest *)aFileRequest { - if (self == aFileRequest) { +- (BOOL)isEqualToDeleteAllClosedFileRequestsError: + (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)aDeleteAllClosedFileRequestsError { + if (self == aDeleteAllClosedFileRequestsError) { return YES; } - if (![self.id_ isEqual:aFileRequest.id_]) { - return NO; - } - if (![self.url isEqual:aFileRequest.url]) { - return NO; - } - if (![self.title isEqual:aFileRequest.title]) { - return NO; - } - if (![self.created isEqual:aFileRequest.created]) { - return NO; - } - if (![self.isOpen isEqual:aFileRequest.isOpen]) { - return NO; - } - if (![self.fileCount isEqual:aFileRequest.fileCount]) { + if (self.tag != aDeleteAllClosedFileRequestsError.tag) { return NO; } - if (self.destination) { - if (![self.destination isEqual:aFileRequest.destination]) { - return NO; - } - } - if (self.deadline) { - if (![self.deadline isEqual:aFileRequest.deadline]) { - return NO; - } + switch (_tag) { + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; + case DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError: + return [[self tagName] isEqual:[aDeleteAllClosedFileRequestsError tagName]]; } return YES; } @@ -1065,90 +1436,98 @@ - (BOOL)isEqualToFileRequest:(DBFILEREQUESTSFileRequest *)aFileRequest { #pragma mark - Serializer Object -@implementation DBFILEREQUESTSFileRequestSerializer +@implementation DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequest *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSDeleteAllClosedFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"id"] = valueObj.id_; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"title"] = valueObj.title; - jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"is_open"] = valueObj.isOpen; - jsonDict[@"file_count"] = valueObj.fileCount; - if (valueObj.destination) { - jsonDict[@"destination"] = valueObj.destination; - } - if (valueObj.deadline) { - jsonDict[@"deadline"] = [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.deadline]; + if ([valueObj isDisabledForTeam]) { + jsonDict[@".tag"] = @"disabled_for_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isNotAFolder]) { + jsonDict[@".tag"] = @"not_a_folder"; + } else if ([valueObj isAppLacksAccess]) { + jsonDict[@".tag"] = @"app_lacks_access"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isEmailUnverified]) { + jsonDict[@".tag"] = @"email_unverified"; + } else if ([valueObj isValidationError]) { + jsonDict[@".tag"] = @"validation_error"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)valueDict { - NSString *id_ = valueDict[@"id"]; - NSString *url = valueDict[@"url"]; - NSString *title = valueDict[@"title"]; - NSDate *created = [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSNumber *isOpen = valueDict[@"is_open"]; - NSNumber *fileCount = valueDict[@"file_count"]; - NSString *destination = valueDict[@"destination"] ?: nil; - DBFILEREQUESTSFileRequestDeadline *deadline = - valueDict[@"deadline"] ? [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : nil; ++ (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILEREQUESTSFileRequest alloc] initWithId_:id_ - url:url - title:title - created:created - isOpen:isOpen - fileCount:fileCount - destination:destination - deadline:deadline]; + if ([tag isEqualToString:@"disabled_for_team"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithDisabledForTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithOther]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"not_a_folder"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithNotAFolder]; + } else if ([tag isEqualToString:@"app_lacks_access"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithAppLacksAccess]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"email_unverified"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithEmailUnverified]; + } else if ([tag isEqualToString:@"validation_error"]) { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithValidationError]; + } else { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsError alloc] initWithOther]; + } } @end -#import "DBFILEREQUESTSFileRequestDeadline.h" -#import "DBFILEREQUESTSGracePeriod.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h" +#import "DBFILEREQUESTSFileRequest.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSFileRequestDeadline +@implementation DBFILEREQUESTSDeleteAllClosedFileRequestsResult #pragma mark - Constructors -- (instancetype)initWithDeadline:(NSDate *)deadline allowLateUploads:(DBFILEREQUESTSGracePeriod *)allowLateUploads { - [DBStoneValidators nonnullValidator:nil](deadline); +- (instancetype)initWithFileRequests:(NSArray *)fileRequests { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](fileRequests); self = [super init]; if (self) { - _deadline = deadline; - _allowLateUploads = allowLateUploads; + _fileRequests = fileRequests; } return self; } -- (instancetype)initWithDeadline:(NSDate *)deadline { - return [self initWithDeadline:deadline allowLateUploads:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSFileRequestDeadlineSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1165,10 +1544,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deadline hash]; - if (self.allowLateUploads != nil) { - result = prime * result + [self.allowLateUploads hash]; - } + result = prime * result + [self.fileRequests hash]; return prime * result; } @@ -1182,20 +1558,1506 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestDeadline:other]; + return [self isEqualToDeleteAllClosedFileRequestsResult:other]; } -- (BOOL)isEqualToFileRequestDeadline:(DBFILEREQUESTSFileRequestDeadline *)aFileRequestDeadline { +- (BOOL)isEqualToDeleteAllClosedFileRequestsResult: + (DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)aDeleteAllClosedFileRequestsResult { + if (self == aDeleteAllClosedFileRequestsResult) { + return YES; + } + if (![self.fileRequests isEqual:aDeleteAllClosedFileRequestsResult.fileRequests]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_requests"] = [DBArraySerializer serialize:valueObj.fileRequests + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *fileRequests = + [DBArraySerializer deserialize:valueDict[@"file_requests"] + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer deserialize:elem0]; + }]; + + return [[DBFILEREQUESTSDeleteAllClosedFileRequestsResult alloc] initWithFileRequests:fileRequests]; +} + +@end + +#import "DBFILEREQUESTSDeleteFileRequestArgs.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSDeleteFileRequestArgs + +#pragma mark - Constructors + +- (instancetype)initWithIds:(NSArray *)ids { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) + maxLength:nil + pattern:@"[-_0-9a-zA-Z]+"]]]]( + ids); + + self = [super init]; + if (self) { + _ids = ids; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSDeleteFileRequestArgsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSDeleteFileRequestArgsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSDeleteFileRequestArgsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.ids hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteFileRequestArgs:other]; +} + +- (BOOL)isEqualToDeleteFileRequestArgs:(DBFILEREQUESTSDeleteFileRequestArgs *)aDeleteFileRequestArgs { + if (self == aDeleteFileRequestArgs) { + return YES; + } + if (![self.ids isEqual:aDeleteFileRequestArgs.ids]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSDeleteFileRequestArgsSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestArgs *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"ids"] = [DBArraySerializer serialize:valueObj.ids + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBFILEREQUESTSDeleteFileRequestArgs *)deserialize:(NSDictionary *)valueDict { + NSArray *ids = [DBArraySerializer deserialize:valueDict[@"ids"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBFILEREQUESTSDeleteFileRequestArgs alloc] initWithIds:ids]; +} + +@end + +#import "DBFILEREQUESTSDeleteFileRequestError.h" +#import "DBFILEREQUESTSFileRequestError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSDeleteFileRequestError + +#pragma mark - Constructors + +- (instancetype)initWithDisabledForTeam { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorOther; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorNotFound; + } + return self; +} + +- (instancetype)initWithNotAFolder { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorNotAFolder; + } + return self; +} + +- (instancetype)initWithAppLacksAccess { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess; + } + return self; +} + +- (instancetype)initWithNoPermission { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorNoPermission; + } + return self; +} + +- (instancetype)initWithEmailUnverified { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified; + } + return self; +} + +- (instancetype)initWithValidationError { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorValidationError; + } + return self; +} + +- (instancetype)initWithFileRequestOpen { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorOther; +} + +- (BOOL)isNotFound { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorNotFound; +} + +- (BOOL)isNotAFolder { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorNotAFolder; +} + +- (BOOL)isAppLacksAccess { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess; +} + +- (BOOL)isNoPermission { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorNoPermission; +} + +- (BOOL)isEmailUnverified { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified; +} + +- (BOOL)isValidationError { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorValidationError; +} + +- (BOOL)isFileRequestOpen { + return _tag == DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam: + return @"DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam"; + case DBFILEREQUESTSDeleteFileRequestErrorOther: + return @"DBFILEREQUESTSDeleteFileRequestErrorOther"; + case DBFILEREQUESTSDeleteFileRequestErrorNotFound: + return @"DBFILEREQUESTSDeleteFileRequestErrorNotFound"; + case DBFILEREQUESTSDeleteFileRequestErrorNotAFolder: + return @"DBFILEREQUESTSDeleteFileRequestErrorNotAFolder"; + case DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess: + return @"DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess"; + case DBFILEREQUESTSDeleteFileRequestErrorNoPermission: + return @"DBFILEREQUESTSDeleteFileRequestErrorNoPermission"; + case DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified: + return @"DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified"; + case DBFILEREQUESTSDeleteFileRequestErrorValidationError: + return @"DBFILEREQUESTSDeleteFileRequestErrorValidationError"; + case DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen: + return @"DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSDeleteFileRequestErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSDeleteFileRequestErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSDeleteFileRequestErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorNotAFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorNoPermission: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorValidationError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteFileRequestError:other]; +} + +- (BOOL)isEqualToDeleteFileRequestError:(DBFILEREQUESTSDeleteFileRequestError *)aDeleteFileRequestError { + if (self == aDeleteFileRequestError) { + return YES; + } + if (self.tag != aDeleteFileRequestError.tag) { + return NO; + } + switch (_tag) { + case DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorOther: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorNotFound: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorNotAFolder: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorNoPermission: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorValidationError: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + case DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen: + return [[self tagName] isEqual:[aDeleteFileRequestError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSDeleteFileRequestErrorSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabledForTeam]) { + jsonDict[@".tag"] = @"disabled_for_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isNotAFolder]) { + jsonDict[@".tag"] = @"not_a_folder"; + } else if ([valueObj isAppLacksAccess]) { + jsonDict[@".tag"] = @"app_lacks_access"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isEmailUnverified]) { + jsonDict[@".tag"] = @"email_unverified"; + } else if ([valueObj isValidationError]) { + jsonDict[@".tag"] = @"validation_error"; + } else if ([valueObj isFileRequestOpen]) { + jsonDict[@".tag"] = @"file_request_open"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILEREQUESTSDeleteFileRequestError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled_for_team"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithDisabledForTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithOther]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"not_a_folder"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithNotAFolder]; + } else if ([tag isEqualToString:@"app_lacks_access"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithAppLacksAccess]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"email_unverified"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithEmailUnverified]; + } else if ([tag isEqualToString:@"validation_error"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithValidationError]; + } else if ([tag isEqualToString:@"file_request_open"]) { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithFileRequestOpen]; + } else { + return [[DBFILEREQUESTSDeleteFileRequestError alloc] initWithOther]; + } +} + +@end + +#import "DBFILEREQUESTSDeleteFileRequestsResult.h" +#import "DBFILEREQUESTSFileRequest.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSDeleteFileRequestsResult + +#pragma mark - Constructors + +- (instancetype)initWithFileRequests:(NSArray *)fileRequests { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](fileRequests); + + self = [super init]; + if (self) { + _fileRequests = fileRequests; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSDeleteFileRequestsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSDeleteFileRequestsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSDeleteFileRequestsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileRequests hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteFileRequestsResult:other]; +} + +- (BOOL)isEqualToDeleteFileRequestsResult:(DBFILEREQUESTSDeleteFileRequestsResult *)aDeleteFileRequestsResult { + if (self == aDeleteFileRequestsResult) { + return YES; + } + if (![self.fileRequests isEqual:aDeleteFileRequestsResult.fileRequests]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSDeleteFileRequestsResultSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_requests"] = [DBArraySerializer serialize:valueObj.fileRequests + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILEREQUESTSDeleteFileRequestsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *fileRequests = + [DBArraySerializer deserialize:valueDict[@"file_requests"] + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer deserialize:elem0]; + }]; + + return [[DBFILEREQUESTSDeleteFileRequestsResult alloc] initWithFileRequests:fileRequests]; +} + +@end + +#import "DBFILEREQUESTSFileRequest.h" +#import "DBFILEREQUESTSFileRequestDeadline.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSFileRequest + +#pragma mark - Constructors + +- (instancetype)initWithId_:(NSString *)id_ + url:(NSString *)url + title:(NSString *)title + created:(NSDate *)created + isOpen:(NSNumber *)isOpen + fileCount:(NSNumber *)fileCount + destination:(NSString *)destination + deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline + description_:(NSString *)description_ { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](id_); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](url); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](title); + [DBStoneValidators nonnullValidator:nil](created); + [DBStoneValidators nonnullValidator:nil](isOpen); + [DBStoneValidators nonnullValidator:nil](fileCount); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](destination); + + self = [super init]; + if (self) { + _id_ = id_; + _url = url; + _title = title; + _destination = destination; + _created = created; + _deadline = deadline; + _isOpen = isOpen; + _fileCount = fileCount; + _description_ = description_; + } + return self; +} + +- (instancetype)initWithId_:(NSString *)id_ + url:(NSString *)url + title:(NSString *)title + created:(NSDate *)created + isOpen:(NSNumber *)isOpen + fileCount:(NSNumber *)fileCount { + return [self initWithId_:id_ + url:url + title:title + created:created + isOpen:isOpen + fileCount:fileCount + destination:nil + deadline:nil + description_:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSFileRequestSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSFileRequestSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSFileRequestSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.id_ hash]; + result = prime * result + [self.url hash]; + result = prime * result + [self.title hash]; + result = prime * result + [self.created hash]; + result = prime * result + [self.isOpen hash]; + result = prime * result + [self.fileCount hash]; + if (self.destination != nil) { + result = prime * result + [self.destination hash]; + } + if (self.deadline != nil) { + result = prime * result + [self.deadline hash]; + } + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequest:other]; +} + +- (BOOL)isEqualToFileRequest:(DBFILEREQUESTSFileRequest *)aFileRequest { + if (self == aFileRequest) { + return YES; + } + if (![self.id_ isEqual:aFileRequest.id_]) { + return NO; + } + if (![self.url isEqual:aFileRequest.url]) { + return NO; + } + if (![self.title isEqual:aFileRequest.title]) { + return NO; + } + if (![self.created isEqual:aFileRequest.created]) { + return NO; + } + if (![self.isOpen isEqual:aFileRequest.isOpen]) { + return NO; + } + if (![self.fileCount isEqual:aFileRequest.fileCount]) { + return NO; + } + if (self.destination) { + if (![self.destination isEqual:aFileRequest.destination]) { + return NO; + } + } + if (self.deadline) { + if (![self.deadline isEqual:aFileRequest.deadline]) { + return NO; + } + } + if (self.description_) { + if (![self.description_ isEqual:aFileRequest.description_]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSFileRequestSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequest *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"id"] = valueObj.id_; + jsonDict[@"url"] = valueObj.url; + jsonDict[@"title"] = valueObj.title; + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"is_open"] = valueObj.isOpen; + jsonDict[@"file_count"] = valueObj.fileCount; + if (valueObj.destination) { + jsonDict[@"destination"] = valueObj.destination; + } + if (valueObj.deadline) { + jsonDict[@"deadline"] = [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.deadline]; + } + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; + } + + return jsonDict; +} + ++ (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + NSString *url = valueDict[@"url"]; + NSString *title = valueDict[@"title"]; + NSDate *created = [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSNumber *isOpen = valueDict[@"is_open"]; + NSNumber *fileCount = valueDict[@"file_count"]; + NSString *destination = valueDict[@"destination"] ?: nil; + DBFILEREQUESTSFileRequestDeadline *deadline = + valueDict[@"deadline"] ? [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : nil; + NSString *description_ = valueDict[@"description"] ?: nil; + + return [[DBFILEREQUESTSFileRequest alloc] initWithId_:id_ + url:url + title:title + created:created + isOpen:isOpen + fileCount:fileCount + destination:destination + deadline:deadline + description_:description_]; +} + +@end + +#import "DBFILEREQUESTSFileRequestDeadline.h" +#import "DBFILEREQUESTSGracePeriod.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSFileRequestDeadline + +#pragma mark - Constructors + +- (instancetype)initWithDeadline:(NSDate *)deadline allowLateUploads:(DBFILEREQUESTSGracePeriod *)allowLateUploads { + [DBStoneValidators nonnullValidator:nil](deadline); + + self = [super init]; + if (self) { + _deadline = deadline; + _allowLateUploads = allowLateUploads; + } + return self; +} + +- (instancetype)initWithDeadline:(NSDate *)deadline { + return [self initWithDeadline:deadline allowLateUploads:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSFileRequestDeadlineSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSFileRequestDeadlineSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSFileRequestDeadlineSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.deadline hash]; + if (self.allowLateUploads != nil) { + result = prime * result + [self.allowLateUploads hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestDeadline:other]; +} + +- (BOOL)isEqualToFileRequestDeadline:(DBFILEREQUESTSFileRequestDeadline *)aFileRequestDeadline { if (self == aFileRequestDeadline) { return YES; } - if (![self.deadline isEqual:aFileRequestDeadline.deadline]) { + if (![self.deadline isEqual:aFileRequestDeadline.deadline]) { + return NO; + } + if (self.allowLateUploads) { + if (![self.allowLateUploads isEqual:aFileRequestDeadline.allowLateUploads]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSFileRequestDeadlineSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestDeadline *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"deadline"] = [DBNSDateSerializer serialize:valueObj.deadline dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if (valueObj.allowLateUploads) { + jsonDict[@"allow_late_uploads"] = [DBFILEREQUESTSGracePeriodSerializer serialize:valueObj.allowLateUploads]; + } + + return jsonDict; +} + ++ (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { + NSDate *deadline = [DBNSDateSerializer deserialize:valueDict[@"deadline"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + DBFILEREQUESTSGracePeriod *allowLateUploads = + valueDict[@"allow_late_uploads"] + ? [DBFILEREQUESTSGracePeriodSerializer deserialize:valueDict[@"allow_late_uploads"]] + : nil; + + return [[DBFILEREQUESTSFileRequestDeadline alloc] initWithDeadline:deadline allowLateUploads:allowLateUploads]; +} + +@end + +#import "DBFILEREQUESTSGetFileRequestArgs.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSGetFileRequestArgs + +#pragma mark - Constructors + +- (instancetype)initWithId_:(NSString *)id_ { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](id_); + + self = [super init]; + if (self) { + _id_ = id_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSGetFileRequestArgsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSGetFileRequestArgsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSGetFileRequestArgsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.id_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetFileRequestArgs:other]; +} + +- (BOOL)isEqualToGetFileRequestArgs:(DBFILEREQUESTSGetFileRequestArgs *)aGetFileRequestArgs { + if (self == aGetFileRequestArgs) { + return YES; + } + if (![self.id_ isEqual:aGetFileRequestArgs.id_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSGetFileRequestArgsSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestArgs *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"id"] = valueObj.id_; + + return jsonDict; +} + ++ (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + + return [[DBFILEREQUESTSGetFileRequestArgs alloc] initWithId_:id_]; +} + +@end + +#import "DBFILEREQUESTSFileRequestError.h" +#import "DBFILEREQUESTSGetFileRequestError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSGetFileRequestError + +#pragma mark - Constructors + +- (instancetype)initWithDisabledForTeam { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorDisabledForTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorOther; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorNotFound; + } + return self; +} + +- (instancetype)initWithNotAFolder { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorNotAFolder; + } + return self; +} + +- (instancetype)initWithAppLacksAccess { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorAppLacksAccess; + } + return self; +} + +- (instancetype)initWithNoPermission { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorNoPermission; + } + return self; +} + +- (instancetype)initWithEmailUnverified { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorEmailUnverified; + } + return self; +} + +- (instancetype)initWithValidationError { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGetFileRequestErrorValidationError; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSGetFileRequestErrorDisabledForTeam; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSGetFileRequestErrorOther; +} + +- (BOOL)isNotFound { + return _tag == DBFILEREQUESTSGetFileRequestErrorNotFound; +} + +- (BOOL)isNotAFolder { + return _tag == DBFILEREQUESTSGetFileRequestErrorNotAFolder; +} + +- (BOOL)isAppLacksAccess { + return _tag == DBFILEREQUESTSGetFileRequestErrorAppLacksAccess; +} + +- (BOOL)isNoPermission { + return _tag == DBFILEREQUESTSGetFileRequestErrorNoPermission; +} + +- (BOOL)isEmailUnverified { + return _tag == DBFILEREQUESTSGetFileRequestErrorEmailUnverified; +} + +- (BOOL)isValidationError { + return _tag == DBFILEREQUESTSGetFileRequestErrorValidationError; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: + return @"DBFILEREQUESTSGetFileRequestErrorDisabledForTeam"; + case DBFILEREQUESTSGetFileRequestErrorOther: + return @"DBFILEREQUESTSGetFileRequestErrorOther"; + case DBFILEREQUESTSGetFileRequestErrorNotFound: + return @"DBFILEREQUESTSGetFileRequestErrorNotFound"; + case DBFILEREQUESTSGetFileRequestErrorNotAFolder: + return @"DBFILEREQUESTSGetFileRequestErrorNotAFolder"; + case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: + return @"DBFILEREQUESTSGetFileRequestErrorAppLacksAccess"; + case DBFILEREQUESTSGetFileRequestErrorNoPermission: + return @"DBFILEREQUESTSGetFileRequestErrorNoPermission"; + case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: + return @"DBFILEREQUESTSGetFileRequestErrorEmailUnverified"; + case DBFILEREQUESTSGetFileRequestErrorValidationError: + return @"DBFILEREQUESTSGetFileRequestErrorValidationError"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSGetFileRequestErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSGetFileRequestErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSGetFileRequestErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorNotAFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorNoPermission: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGetFileRequestErrorValidationError: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetFileRequestError:other]; +} + +- (BOOL)isEqualToGetFileRequestError:(DBFILEREQUESTSGetFileRequestError *)aGetFileRequestError { + if (self == aGetFileRequestError) { + return YES; + } + if (self.tag != aGetFileRequestError.tag) { + return NO; + } + switch (_tag) { + case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorOther: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorNotFound: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorNotAFolder: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorNoPermission: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + case DBFILEREQUESTSGetFileRequestErrorValidationError: + return [[self tagName] isEqual:[aGetFileRequestError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSGetFileRequestErrorSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabledForTeam]) { + jsonDict[@".tag"] = @"disabled_for_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isNotAFolder]) { + jsonDict[@".tag"] = @"not_a_folder"; + } else if ([valueObj isAppLacksAccess]) { + jsonDict[@".tag"] = @"app_lacks_access"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isEmailUnverified]) { + jsonDict[@".tag"] = @"email_unverified"; + } else if ([valueObj isValidationError]) { + jsonDict[@".tag"] = @"validation_error"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled_for_team"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithDisabledForTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithOther]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"not_a_folder"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNotAFolder]; + } else if ([tag isEqualToString:@"app_lacks_access"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithAppLacksAccess]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"email_unverified"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithEmailUnverified]; + } else if ([tag isEqualToString:@"validation_error"]) { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithValidationError]; + } else { + return [[DBFILEREQUESTSGetFileRequestError alloc] initWithOther]; + } +} + +@end + +#import "DBFILEREQUESTSGracePeriod.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSGracePeriod + +#pragma mark - Constructors + +- (instancetype)initWithOneDay { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodOneDay; + } + return self; +} + +- (instancetype)initWithTwoDays { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodTwoDays; + } + return self; +} + +- (instancetype)initWithSevenDays { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodSevenDays; + } + return self; +} + +- (instancetype)initWithThirtyDays { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodThirtyDays; + } + return self; +} + +- (instancetype)initWithAlways { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodAlways; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILEREQUESTSGracePeriodOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOneDay { + return _tag == DBFILEREQUESTSGracePeriodOneDay; +} + +- (BOOL)isTwoDays { + return _tag == DBFILEREQUESTSGracePeriodTwoDays; +} + +- (BOOL)isSevenDays { + return _tag == DBFILEREQUESTSGracePeriodSevenDays; +} + +- (BOOL)isThirtyDays { + return _tag == DBFILEREQUESTSGracePeriodThirtyDays; +} + +- (BOOL)isAlways { + return _tag == DBFILEREQUESTSGracePeriodAlways; +} + +- (BOOL)isOther { + return _tag == DBFILEREQUESTSGracePeriodOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILEREQUESTSGracePeriodOneDay: + return @"DBFILEREQUESTSGracePeriodOneDay"; + case DBFILEREQUESTSGracePeriodTwoDays: + return @"DBFILEREQUESTSGracePeriodTwoDays"; + case DBFILEREQUESTSGracePeriodSevenDays: + return @"DBFILEREQUESTSGracePeriodSevenDays"; + case DBFILEREQUESTSGracePeriodThirtyDays: + return @"DBFILEREQUESTSGracePeriodThirtyDays"; + case DBFILEREQUESTSGracePeriodAlways: + return @"DBFILEREQUESTSGracePeriodAlways"; + case DBFILEREQUESTSGracePeriodOther: + return @"DBFILEREQUESTSGracePeriodOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSGracePeriodSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSGracePeriodSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSGracePeriodSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILEREQUESTSGracePeriodOneDay: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGracePeriodTwoDays: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGracePeriodSevenDays: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGracePeriodThirtyDays: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGracePeriodAlways: + result = prime * result + [[self tagName] hash]; + break; + case DBFILEREQUESTSGracePeriodOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { return NO; } - if (self.allowLateUploads) { - if (![self.allowLateUploads isEqual:aFileRequestDeadline.allowLateUploads]) { - return NO; - } + return [self isEqualToGracePeriod:other]; +} + +- (BOOL)isEqualToGracePeriod:(DBFILEREQUESTSGracePeriod *)aGracePeriod { + if (self == aGracePeriod) { + return YES; + } + if (self.tag != aGracePeriod.tag) { + return NO; + } + switch (_tag) { + case DBFILEREQUESTSGracePeriodOneDay: + return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSGracePeriodTwoDays: + return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSGracePeriodSevenDays: + return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSGracePeriodThirtyDays: + return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSGracePeriodAlways: + return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSGracePeriodOther: + return [[self tagName] isEqual:[aGracePeriod tagName]]; } return YES; } @@ -1204,66 +3066,89 @@ - (BOOL)isEqualToFileRequestDeadline:(DBFILEREQUESTSFileRequestDeadline *)aFileR #pragma mark - Serializer Object -@implementation DBFILEREQUESTSFileRequestDeadlineSerializer +@implementation DBFILEREQUESTSGracePeriodSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSFileRequestDeadline *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"deadline"] = [DBNSDateSerializer serialize:valueObj.deadline dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - if (valueObj.allowLateUploads) { - jsonDict[@"allow_late_uploads"] = [DBFILEREQUESTSGracePeriodSerializer serialize:valueObj.allowLateUploads]; + if ([valueObj isOneDay]) { + jsonDict[@".tag"] = @"one_day"; + } else if ([valueObj isTwoDays]) { + jsonDict[@".tag"] = @"two_days"; + } else if ([valueObj isSevenDays]) { + jsonDict[@".tag"] = @"seven_days"; + } else if ([valueObj isThirtyDays]) { + jsonDict[@".tag"] = @"thirty_days"; + } else if ([valueObj isAlways]) { + jsonDict[@".tag"] = @"always"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { - NSDate *deadline = [DBNSDateSerializer deserialize:valueDict[@"deadline"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - DBFILEREQUESTSGracePeriod *allowLateUploads = - valueDict[@"allow_late_uploads"] - ? [DBFILEREQUESTSGracePeriodSerializer deserialize:valueDict[@"allow_late_uploads"]] - : nil; ++ (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILEREQUESTSFileRequestDeadline alloc] initWithDeadline:deadline allowLateUploads:allowLateUploads]; + if ([tag isEqualToString:@"one_day"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithOneDay]; + } else if ([tag isEqualToString:@"two_days"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithTwoDays]; + } else if ([tag isEqualToString:@"seven_days"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithSevenDays]; + } else if ([tag isEqualToString:@"thirty_days"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithThirtyDays]; + } else if ([tag isEqualToString:@"always"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithAlways]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; + } else { + return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; + } } @end -#import "DBFILEREQUESTSGetFileRequestArgs.h" +#import "DBFILEREQUESTSListFileRequestsArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSGetFileRequestArgs +@implementation DBFILEREQUESTSListFileRequestsArg #pragma mark - Constructors -- (instancetype)initWithId_:(NSString *)id_ { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](id_); +- (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { - _id_ = id_; + _limit = limit ?: @(1000); } return self; } +- (instancetype)initDefault { + return [self initWithLimit:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSGetFileRequestArgsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSListFileRequestsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSGetFileRequestArgsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSListFileRequestsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSGetFileRequestArgsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSListFileRequestsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1280,7 +3165,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.id_ hash]; + result = prime * result + [self.limit hash]; return prime * result; } @@ -1294,14 +3179,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileRequestArgs:other]; + return [self isEqualToListFileRequestsArg:other]; } -- (BOOL)isEqualToGetFileRequestArgs:(DBFILEREQUESTSGetFileRequestArgs *)aGetFileRequestArgs { - if (self == aGetFileRequestArgs) { +- (BOOL)isEqualToListFileRequestsArg:(DBFILEREQUESTSListFileRequestsArg *)aListFileRequestsArg { + if (self == aListFileRequestsArg) { return YES; } - if (![self.id_ isEqual:aGetFileRequestArgs.id_]) { + if (![self.limit isEqual:aListFileRequestsArg.limit]) { return NO; } return YES; @@ -1311,172 +3196,58 @@ - (BOOL)isEqualToGetFileRequestArgs:(DBFILEREQUESTSGetFileRequestArgs *)aGetFile #pragma mark - Serializer Object -@implementation DBFILEREQUESTSGetFileRequestArgsSerializer +@implementation DBFILEREQUESTSListFileRequestsArgSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestArgs *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"id"] = valueObj.id_; + jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)valueDict { - NSString *id_ = valueDict[@"id"]; ++ (DBFILEREQUESTSListFileRequestsArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); - return [[DBFILEREQUESTSGetFileRequestArgs alloc] initWithId_:id_]; + return [[DBFILEREQUESTSListFileRequestsArg alloc] initWithLimit:limit]; } @end -#import "DBFILEREQUESTSFileRequestError.h" -#import "DBFILEREQUESTSGetFileRequestError.h" +#import "DBFILEREQUESTSListFileRequestsContinueArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSGetFileRequestError +@implementation DBFILEREQUESTSListFileRequestsContinueArg #pragma mark - Constructors -- (instancetype)initWithDisabledForTeam { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorDisabledForTeam; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorOther; - } - return self; -} - -- (instancetype)initWithNotFound { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorNotFound; - } - return self; -} - -- (instancetype)initWithNotAFolder { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorNotAFolder; - } - return self; -} - -- (instancetype)initWithAppLacksAccess { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorAppLacksAccess; - } - return self; -} - -- (instancetype)initWithNoPermission { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorNoPermission; - } - return self; -} - -- (instancetype)initWithEmailUnverified { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorEmailUnverified; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); -- (instancetype)initWithValidationError { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGetFileRequestErrorValidationError; + _cursor = cursor; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabledForTeam { - return _tag == DBFILEREQUESTSGetFileRequestErrorDisabledForTeam; -} - -- (BOOL)isOther { - return _tag == DBFILEREQUESTSGetFileRequestErrorOther; -} - -- (BOOL)isNotFound { - return _tag == DBFILEREQUESTSGetFileRequestErrorNotFound; -} - -- (BOOL)isNotAFolder { - return _tag == DBFILEREQUESTSGetFileRequestErrorNotAFolder; -} - -- (BOOL)isAppLacksAccess { - return _tag == DBFILEREQUESTSGetFileRequestErrorAppLacksAccess; -} - -- (BOOL)isNoPermission { - return _tag == DBFILEREQUESTSGetFileRequestErrorNoPermission; -} - -- (BOOL)isEmailUnverified { - return _tag == DBFILEREQUESTSGetFileRequestErrorEmailUnverified; -} - -- (BOOL)isValidationError { - return _tag == DBFILEREQUESTSGetFileRequestErrorValidationError; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: - return @"DBFILEREQUESTSGetFileRequestErrorDisabledForTeam"; - case DBFILEREQUESTSGetFileRequestErrorOther: - return @"DBFILEREQUESTSGetFileRequestErrorOther"; - case DBFILEREQUESTSGetFileRequestErrorNotFound: - return @"DBFILEREQUESTSGetFileRequestErrorNotFound"; - case DBFILEREQUESTSGetFileRequestErrorNotAFolder: - return @"DBFILEREQUESTSGetFileRequestErrorNotAFolder"; - case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: - return @"DBFILEREQUESTSGetFileRequestErrorAppLacksAccess"; - case DBFILEREQUESTSGetFileRequestErrorNoPermission: - return @"DBFILEREQUESTSGetFileRequestErrorNoPermission"; - case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: - return @"DBFILEREQUESTSGetFileRequestErrorEmailUnverified"; - case DBFILEREQUESTSGetFileRequestErrorValidationError: - return @"DBFILEREQUESTSGetFileRequestErrorValidationError"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSGetFileRequestErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSListFileRequestsContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSGetFileRequestErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSListFileRequestsContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSGetFileRequestErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSListFileRequestsContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1493,24 +3264,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorOther: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorNotFound: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorNotAFolder: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorNoPermission: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGetFileRequestErrorValidationError: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.cursor hash]; return prime * result; } @@ -1524,149 +3278,72 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileRequestError:other]; -} - -- (BOOL)isEqualToGetFileRequestError:(DBFILEREQUESTSGetFileRequestError *)aGetFileRequestError { - if (self == aGetFileRequestError) { - return YES; - } - if (self.tag != aGetFileRequestError.tag) { - return NO; - } - switch (_tag) { - case DBFILEREQUESTSGetFileRequestErrorDisabledForTeam: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorOther: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorNotFound: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorNotAFolder: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorAppLacksAccess: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorNoPermission: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorEmailUnverified: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - case DBFILEREQUESTSGetFileRequestErrorValidationError: - return [[self tagName] isEqual:[aGetFileRequestError tagName]]; - } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBFILEREQUESTSGetFileRequestErrorSerializer - -+ (NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestError *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - if ([valueObj isDisabledForTeam]) { - jsonDict[@".tag"] = @"disabled_for_team"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isNotFound]) { - jsonDict[@".tag"] = @"not_found"; - } else if ([valueObj isNotAFolder]) { - jsonDict[@".tag"] = @"not_a_folder"; - } else if ([valueObj isAppLacksAccess]) { - jsonDict[@".tag"] = @"app_lacks_access"; - } else if ([valueObj isNoPermission]) { - jsonDict[@".tag"] = @"no_permission"; - } else if ([valueObj isEmailUnverified]) { - jsonDict[@".tag"] = @"email_unverified"; - } else if ([valueObj isValidationError]) { - jsonDict[@".tag"] = @"validation_error"; - } else { - jsonDict[@".tag"] = @"other"; + return [self isEqualToListFileRequestsContinueArg:other]; +} + +- (BOOL)isEqualToListFileRequestsContinueArg:(DBFILEREQUESTSListFileRequestsContinueArg *)aListFileRequestsContinueArg { + if (self == aListFileRequestsContinueArg) { + return YES; + } + if (![self.cursor isEqual:aListFileRequestsContinueArg.cursor]) { + return NO; } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSListFileRequestsContinueArgSerializer - return [jsonDict count] > 0 ? jsonDict : nil; ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; } -+ (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILEREQUESTSListFileRequestsContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; - if ([tag isEqualToString:@"disabled_for_team"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithDisabledForTeam]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithOther]; - } else if ([tag isEqualToString:@"not_found"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNotFound]; - } else if ([tag isEqualToString:@"not_a_folder"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNotAFolder]; - } else if ([tag isEqualToString:@"app_lacks_access"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithAppLacksAccess]; - } else if ([tag isEqualToString:@"no_permission"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithNoPermission]; - } else if ([tag isEqualToString:@"email_unverified"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithEmailUnverified]; - } else if ([tag isEqualToString:@"validation_error"]) { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithValidationError]; - } else { - return [[DBFILEREQUESTSGetFileRequestError alloc] initWithOther]; - } + return [[DBFILEREQUESTSListFileRequestsContinueArg alloc] initWithCursor:cursor]; } @end -#import "DBFILEREQUESTSGracePeriod.h" +#import "DBFILEREQUESTSGeneralFileRequestsError.h" +#import "DBFILEREQUESTSListFileRequestsContinueError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILEREQUESTSGracePeriod +@implementation DBFILEREQUESTSListFileRequestsContinueError #pragma mark - Constructors -- (instancetype)initWithOneDay { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGracePeriodOneDay; - } - return self; -} - -- (instancetype)initWithTwoDays { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGracePeriodTwoDays; - } - return self; -} - -- (instancetype)initWithSevenDays { - self = [super init]; - if (self) { - _tag = DBFILEREQUESTSGracePeriodSevenDays; - } - return self; -} - -- (instancetype)initWithThirtyDays { +- (instancetype)initWithDisabledForTeam { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGracePeriodThirtyDays; + _tag = DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam; } return self; } -- (instancetype)initWithAlways { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGracePeriodAlways; + _tag = DBFILEREQUESTSListFileRequestsContinueErrorOther; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithInvalidCursor { self = [super init]; if (self) { - _tag = DBFILEREQUESTSGracePeriodOther; + _tag = DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor; } return self; } @@ -1675,44 +3352,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isOneDay { - return _tag == DBFILEREQUESTSGracePeriodOneDay; -} - -- (BOOL)isTwoDays { - return _tag == DBFILEREQUESTSGracePeriodTwoDays; -} - -- (BOOL)isSevenDays { - return _tag == DBFILEREQUESTSGracePeriodSevenDays; -} - -- (BOOL)isThirtyDays { - return _tag == DBFILEREQUESTSGracePeriodThirtyDays; +- (BOOL)isDisabledForTeam { + return _tag == DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam; } -- (BOOL)isAlways { - return _tag == DBFILEREQUESTSGracePeriodAlways; +- (BOOL)isOther { + return _tag == DBFILEREQUESTSListFileRequestsContinueErrorOther; } -- (BOOL)isOther { - return _tag == DBFILEREQUESTSGracePeriodOther; +- (BOOL)isInvalidCursor { + return _tag == DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor; } - (NSString *)tagName { switch (_tag) { - case DBFILEREQUESTSGracePeriodOneDay: - return @"DBFILEREQUESTSGracePeriodOneDay"; - case DBFILEREQUESTSGracePeriodTwoDays: - return @"DBFILEREQUESTSGracePeriodTwoDays"; - case DBFILEREQUESTSGracePeriodSevenDays: - return @"DBFILEREQUESTSGracePeriodSevenDays"; - case DBFILEREQUESTSGracePeriodThirtyDays: - return @"DBFILEREQUESTSGracePeriodThirtyDays"; - case DBFILEREQUESTSGracePeriodAlways: - return @"DBFILEREQUESTSGracePeriodAlways"; - case DBFILEREQUESTSGracePeriodOther: - return @"DBFILEREQUESTSGracePeriodOther"; + case DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam: + return @"DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam"; + case DBFILEREQUESTSListFileRequestsContinueErrorOther: + return @"DBFILEREQUESTSListFileRequestsContinueErrorOther"; + case DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor: + return @"DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1720,18 +3379,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILEREQUESTSGracePeriodSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSListFileRequestsContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILEREQUESTSGracePeriodSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSListFileRequestsContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILEREQUESTSGracePeriodSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILEREQUESTSListFileRequestsContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1749,18 +3408,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILEREQUESTSGracePeriodOneDay: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGracePeriodTwoDays: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGracePeriodSevenDays: - result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGracePeriodThirtyDays: + case DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGracePeriodAlways: + break; + case DBFILEREQUESTSListFileRequestsContinueErrorOther: result = prime * result + [[self tagName] hash]; - case DBFILEREQUESTSGracePeriodOther: + break; + case DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1775,29 +3431,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGracePeriod:other]; + return [self isEqualToListFileRequestsContinueError:other]; } -- (BOOL)isEqualToGracePeriod:(DBFILEREQUESTSGracePeriod *)aGracePeriod { - if (self == aGracePeriod) { +- (BOOL)isEqualToListFileRequestsContinueError: + (DBFILEREQUESTSListFileRequestsContinueError *)aListFileRequestsContinueError { + if (self == aListFileRequestsContinueError) { return YES; } - if (self.tag != aGracePeriod.tag) { + if (self.tag != aListFileRequestsContinueError.tag) { return NO; } switch (_tag) { - case DBFILEREQUESTSGracePeriodOneDay: - return [[self tagName] isEqual:[aGracePeriod tagName]]; - case DBFILEREQUESTSGracePeriodTwoDays: - return [[self tagName] isEqual:[aGracePeriod tagName]]; - case DBFILEREQUESTSGracePeriodSevenDays: - return [[self tagName] isEqual:[aGracePeriod tagName]]; - case DBFILEREQUESTSGracePeriodThirtyDays: - return [[self tagName] isEqual:[aGracePeriod tagName]]; - case DBFILEREQUESTSGracePeriodAlways: - return [[self tagName] isEqual:[aGracePeriod tagName]]; - case DBFILEREQUESTSGracePeriodOther: - return [[self tagName] isEqual:[aGracePeriod tagName]]; + case DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam: + return [[self tagName] isEqual:[aListFileRequestsContinueError tagName]]; + case DBFILEREQUESTSListFileRequestsContinueErrorOther: + return [[self tagName] isEqual:[aListFileRequestsContinueError tagName]]; + case DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor: + return [[self tagName] isEqual:[aListFileRequestsContinueError tagName]]; } return YES; } @@ -1806,47 +3457,35 @@ - (BOOL)isEqualToGracePeriod:(DBFILEREQUESTSGracePeriod *)aGracePeriod { #pragma mark - Serializer Object -@implementation DBFILEREQUESTSGracePeriodSerializer +@implementation DBFILEREQUESTSListFileRequestsContinueErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOneDay]) { - jsonDict[@".tag"] = @"one_day"; - } else if ([valueObj isTwoDays]) { - jsonDict[@".tag"] = @"two_days"; - } else if ([valueObj isSevenDays]) { - jsonDict[@".tag"] = @"seven_days"; - } else if ([valueObj isThirtyDays]) { - jsonDict[@".tag"] = @"thirty_days"; - } else if ([valueObj isAlways]) { - jsonDict[@".tag"] = @"always"; + if ([valueObj isDisabledForTeam]) { + jsonDict[@".tag"] = @"disabled_for_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isInvalidCursor]) { + jsonDict[@".tag"] = @"invalid_cursor"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSListFileRequestsContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"one_day"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithOneDay]; - } else if ([tag isEqualToString:@"two_days"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithTwoDays]; - } else if ([tag isEqualToString:@"seven_days"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithSevenDays]; - } else if ([tag isEqualToString:@"thirty_days"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithThirtyDays]; - } else if ([tag isEqualToString:@"always"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithAlways]; + if ([tag isEqualToString:@"disabled_for_team"]) { + return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithDisabledForTeam]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; + return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithOther]; + } else if ([tag isEqualToString:@"invalid_cursor"]) { + return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithInvalidCursor]; } else { - return [[DBFILEREQUESTSGracePeriod alloc] initWithOther]; + return [[DBFILEREQUESTSListFileRequestsContinueError alloc] initWithOther]; } } @@ -1904,17 +3543,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSListFileRequestsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsErrorSerializer serialize:self] description]; } @@ -1935,8 +3574,10 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEREQUESTSListFileRequestsErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSListFileRequestsErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1976,7 +3617,7 @@ - (BOOL)isEqualToListFileRequestsError:(DBFILEREQUESTSListFileRequestsError *)aL @implementation DBFILEREQUESTSListFileRequestsErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { @@ -1987,10 +3628,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { @@ -2030,17 +3671,17 @@ - (instancetype)initWithFileRequests:(NSArray *)fil #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSListFileRequestsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSListFileRequestsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSListFileRequestsResultSerializer serialize:self] description]; } @@ -2091,7 +3732,7 @@ - (BOOL)isEqualToListFileRequestsResult:(DBFILEREQUESTSListFileRequestsResult *) @implementation DBFILEREQUESTSListFileRequestsResultSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file_requests"] = [DBArraySerializer serialize:valueObj.fileRequests @@ -2099,10 +3740,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)valueObj { return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)valueDict { NSArray *fileRequests = [DBArraySerializer deserialize:valueDict[@"file_requests"] withBlock:^id(id elem0) { @@ -2114,6 +3755,135 @@ + (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)valueDict @end +#import "DBFILEREQUESTSFileRequest.h" +#import "DBFILEREQUESTSListFileRequestsV2Result.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILEREQUESTSListFileRequestsV2Result + +#pragma mark - Constructors + +- (instancetype)initWithFileRequests:(NSArray *)fileRequests + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](fileRequests); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); + + self = [super init]; + if (self) { + _fileRequests = fileRequests; + _cursor = cursor; + _hasMore = hasMore; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILEREQUESTSListFileRequestsV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILEREQUESTSListFileRequestsV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILEREQUESTSListFileRequestsV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileRequests hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFileRequestsV2Result:other]; +} + +- (BOOL)isEqualToListFileRequestsV2Result:(DBFILEREQUESTSListFileRequestsV2Result *)aListFileRequestsV2Result { + if (self == aListFileRequestsV2Result) { + return YES; + } + if (![self.fileRequests isEqual:aListFileRequestsV2Result.fileRequests]) { + return NO; + } + if (![self.cursor isEqual:aListFileRequestsV2Result.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aListFileRequestsV2Result.hasMore]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILEREQUESTSListFileRequestsV2ResultSerializer + ++ (NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_requests"] = [DBArraySerializer serialize:valueObj.fileRequests + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; + + return jsonDict; +} + ++ (DBFILEREQUESTSListFileRequestsV2Result *)deserialize:(NSDictionary *)valueDict { + NSArray *fileRequests = + [DBArraySerializer deserialize:valueDict[@"file_requests"] + withBlock:^id(id elem0) { + return [DBFILEREQUESTSFileRequestSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; + + return + [[DBFILEREQUESTSListFileRequestsV2Result alloc] initWithFileRequests:fileRequests cursor:cursor hasMore:hasMore]; +} + +@end + #import "DBFILEREQUESTSUpdateFileRequestArgs.h" #import "DBFILEREQUESTSUpdateFileRequestDeadline.h" #import "DBStoneSerializers.h" @@ -2129,7 +3899,8 @@ - (instancetype)initWithId_:(NSString *)id_ title:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSUpdateFileRequestDeadline *)deadline - open:(NSNumber *)open { + open:(NSNumber *)open + description_:(NSString *)description_ { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](id_); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](title); @@ -2143,27 +3914,28 @@ - (instancetype)initWithId_:(NSString *)id_ _destination = destination; _deadline = deadline ?: [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithNoUpdate]; _open = open; + _description_ = description_; } return self; } - (instancetype)initWithId_:(NSString *)id_ { - return [self initWithId_:id_ title:nil destination:nil deadline:nil open:nil]; + return [self initWithId_:id_ title:nil destination:nil deadline:nil open:nil description_:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestArgsSerializer serialize:self] description]; } @@ -2192,6 +3964,9 @@ - (NSUInteger)hash { if (self.open != nil) { result = prime * result + [self.open hash]; } + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; + } return prime * result; } @@ -2233,6 +4008,11 @@ - (BOOL)isEqualToUpdateFileRequestArgs:(DBFILEREQUESTSUpdateFileRequestArgs *)an return NO; } } + if (self.description_) { + if (![self.description_ isEqual:anUpdateFileRequestArgs.description_]) { + return NO; + } + } return YES; } @@ -2242,7 +4022,7 @@ - (BOOL)isEqualToUpdateFileRequestArgs:(DBFILEREQUESTSUpdateFileRequestArgs *)an @implementation DBFILEREQUESTSUpdateFileRequestArgsSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; @@ -2256,11 +4036,14 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)valueObj { if (valueObj.open) { jsonDict[@"open"] = valueObj.open; } + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *title = valueDict[@"title"] ?: nil; NSString *destination = valueDict[@"destination"] ?: nil; @@ -2268,12 +4051,14 @@ + (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)valueDict { valueDict[@"deadline"] ? [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : [[DBFILEREQUESTSUpdateFileRequestDeadline alloc] initWithNoUpdate]; NSNumber *open = valueDict[@"open"] ?: nil; + NSString *description_ = valueDict[@"description"] ?: nil; return [[DBFILEREQUESTSUpdateFileRequestArgs alloc] initWithId_:id_ title:title destination:destination deadline:deadline - open:open]; + open:open + description_:description_]; } @end @@ -2356,17 +4141,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestDeadlineSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestDeadlineSerializer serialize:self] description]; } @@ -2387,12 +4172,15 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestDeadlineUpdate: if (self.update != nil) { result = prime * result + [self.update hash]; } + break; case DBFILEREQUESTSUpdateFileRequestDeadlineOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2436,14 +4224,14 @@ - (BOOL)isEqualToUpdateFileRequestDeadline:(DBFILEREQUESTSUpdateFileRequestDeadl @implementation DBFILEREQUESTSUpdateFileRequestDeadlineSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoUpdate]) { jsonDict[@".tag"] = @"no_update"; } else if ([valueObj isUpdate]) { if (valueObj.update) { - jsonDict = [[DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.update] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBFILEREQUESTSFileRequestDeadlineSerializer serialize:valueObj.update]]; } jsonDict[@".tag"] = @"update"; } else if ([valueObj isOther]) { @@ -2452,10 +4240,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)valueObj jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_update"]) { @@ -2609,17 +4397,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILEREQUESTSUpdateFileRequestErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILEREQUESTSUpdateFileRequestErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILEREQUESTSUpdateFileRequestErrorSerializer serialize:self] description]; } @@ -2640,20 +4428,28 @@ - (NSUInteger)hash { switch (_tag) { case DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorNotFound: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorNotAFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBFILEREQUESTSUpdateFileRequestErrorValidationError: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2705,7 +4501,7 @@ - (BOOL)isEqualToUpdateFileRequestError:(DBFILEREQUESTSUpdateFileRequestError *) @implementation DBFILEREQUESTSUpdateFileRequestErrorSerializer -+ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)valueObj { ++ (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabledForTeam]) { @@ -2728,10 +4524,10 @@ + (NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled_for_team"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsError.h new file mode 100644 index 000000000..e0a4b292a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsError.h @@ -0,0 +1,124 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSCountFileRequestsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CountFileRequestsError` union. +/// +/// There was an error counting the file requests. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSCountFileRequestsError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILEREQUESTSCountFileRequestsErrorTag` enum type represents the +/// possible tag states with which the `DBFILEREQUESTSCountFileRequestsError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSCountFileRequestsErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSCountFileRequestsErrorDisabledForTeam, + + /// (no description). + DBFILEREQUESTSCountFileRequestsErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILEREQUESTSCountFileRequestsErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled_for_team". +/// +/// Description of the "disabled_for_team" tag state: This user's Dropbox +/// Business team doesn't allow file requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledForTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "disabled_for_team". +/// +/// @return Whether the union's current tag state has value "disabled_for_team". +/// +- (BOOL)isDisabledForTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILEREQUESTSCountFileRequestsError` +/// union. +/// +@interface DBFILEREQUESTSCountFileRequestsErrorSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSCountFileRequestsError` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSCountFileRequestsError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSCountFileRequestsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsError *)instance; + +/// +/// Deserializes `DBFILEREQUESTSCountFileRequestsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSCountFileRequestsError` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSCountFileRequestsError` +/// object. +/// ++ (DBFILEREQUESTSCountFileRequestsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsResult.h new file mode 100644 index 000000000..329d691f2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCountFileRequestsResult.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSCountFileRequestsResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CountFileRequestsResult` struct. +/// +/// Result for `count`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSCountFileRequestsResult : NSObject + +#pragma mark - Instance fields + +/// The number file requests owner by this user. +@property (nonatomic, readonly) NSNumber *fileRequestCount; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileRequestCount The number file requests owner by this user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestCount:(NSNumber *)fileRequestCount; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CountFileRequestsResult` struct. +/// +@interface DBFILEREQUESTSCountFileRequestsResultSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSCountFileRequestsResult` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSCountFileRequestsResult` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSCountFileRequestsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCountFileRequestsResult *)instance; + +/// +/// Deserializes `DBFILEREQUESTSCountFileRequestsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSCountFileRequestsResult` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSCountFileRequestsResult` +/// object. +/// ++ (DBFILEREQUESTSCountFileRequestsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestArgs.h index 5993441cf..151b9dd80 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestArgs.h @@ -36,14 +36,17 @@ NS_ASSUME_NONNULL_BEGIN /// folder. @property (nonatomic, readonly, copy) NSString *destination; -/// The deadline for the file request. Deadlines can only be set by Pro and -/// Business accounts. +/// The deadline for the file request. Deadlines can only be set by Professional +/// and Business accounts. @property (nonatomic, readonly, nullable) DBFILEREQUESTSFileRequestDeadline *deadline; /// Whether or not the file request should be open. If the file request is /// closed, it will not accept any file submissions, but it can be opened later. @property (nonatomic, readonly) NSNumber *open; +/// A description of the file request. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + #pragma mark - Constructors /// @@ -54,17 +57,19 @@ NS_ASSUME_NONNULL_BEGIN /// files will be sent. For apps with the app folder permission, this will be /// relative to the app folder. /// @param deadline The deadline for the file request. Deadlines can only be set -/// by Pro and Business accounts. +/// by Professional and Business accounts. /// @param open Whether or not the file request should be open. If the file /// request is closed, it will not accept any file submissions, but it can be /// opened later. +/// @param description_ A description of the file request. /// /// @return An initialized instance. /// - (instancetype)initWithTitle:(NSString *)title destination:(NSString *)destination deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline - open:(nullable NSNumber *)open; + open:(nullable NSNumber *)open + description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -99,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSCreateFileRequestArgs` instances. @@ -110,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEREQUESTSCreateFileRequestArgs` /// object. /// -+ (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSCreateFileRequestArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestError.h index a212f215c..ee60ef178 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSCreateFileRequestError.h @@ -30,41 +30,41 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSCreateFileRequestErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSCreateFileRequestError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSCreateFileRequestErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSCreateFileRequestErrorOther, + /// (no description). + DBFILEREQUESTSCreateFileRequestErrorOther, - /// This file request ID was not found. - DBFILEREQUESTSCreateFileRequestErrorNotFound, + /// This file request ID was not found. + DBFILEREQUESTSCreateFileRequestErrorNotFound, - /// The specified path is not a folder. - DBFILEREQUESTSCreateFileRequestErrorNotAFolder, + /// The specified path is not a folder. + DBFILEREQUESTSCreateFileRequestErrorNotAFolder, - /// This file request is not accessible to this app. Apps with the app - /// folder permission can only access file requests in their app folder. - DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess, + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSCreateFileRequestErrorAppLacksAccess, - /// This user doesn't have permission to access or modify this file request. - DBFILEREQUESTSCreateFileRequestErrorNoPermission, + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSCreateFileRequestErrorNoPermission, - /// This user's email address is not verified. File requests are only - /// available on accounts with a verified email address. Users can verify - /// their email address here https://www.dropbox.com/help/317. - DBFILEREQUESTSCreateFileRequestErrorEmailUnverified, + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSCreateFileRequestErrorEmailUnverified, - /// There was an error validating the request. For example, the title was - /// invalid, or there were disallowed characters in the destination path. - DBFILEREQUESTSCreateFileRequestErrorValidationError, + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSCreateFileRequestErrorValidationError, - /// File requests are not available on the specified folder. - DBFILEREQUESTSCreateFileRequestErrorInvalidLocation, + /// File requests are not available on the specified folder. + DBFILEREQUESTSCreateFileRequestErrorInvalidLocation, - /// The user has reached the rate limit for creating file requests. The - /// limit is currently 100 file requests per day. - DBFILEREQUESTSCreateFileRequestErrorRateLimit, + /// The user has reached the rate limit for creating file requests. The + /// limit is currently 4000 file requests total. + DBFILEREQUESTSCreateFileRequestErrorRateLimit, }; @@ -168,8 +168,8 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag) { /// Initializes union class with tag state of "rate_limit". /// /// Description of the "rate_limit" tag state: The user has reached the rate -/// limit for creating file requests. The limit is currently 100 file requests -/// per day. +/// limit for creating file requests. The limit is currently 4000 file requests +/// total. /// /// @return An initialized instance. /// @@ -280,7 +280,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSCreateFileRequestError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSCreateFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSCreateFileRequestError` instances. @@ -291,7 +291,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSCreateFileRequestErrorTag) { /// @return An instantiation of the `DBFILEREQUESTSCreateFileRequestError` /// object. /// -+ (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSCreateFileRequestError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsError.h new file mode 100644 index 000000000..f63bd9a16 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsError.h @@ -0,0 +1,255 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSDeleteAllClosedFileRequestsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteAllClosedFileRequestsError` union. +/// +/// There was an error deleting all closed file requests. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSDeleteAllClosedFileRequestsError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILEREQUESTSDeleteAllClosedFileRequestsErrorTag` enum type represents +/// the possible tag states with which the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSDeleteAllClosedFileRequestsErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorDisabledForTeam, + + /// (no description). + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorOther, + + /// This file request ID was not found. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotFound, + + /// The specified path is not a folder. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNotAFolder, + + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorAppLacksAccess, + + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorNoPermission, + + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorEmailUnverified, + + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSDeleteAllClosedFileRequestsErrorValidationError, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILEREQUESTSDeleteAllClosedFileRequestsErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled_for_team". +/// +/// Description of the "disabled_for_team" tag state: This user's Dropbox +/// Business team doesn't allow file requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledForTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "not_found". +/// +/// Description of the "not_found" tag state: This file request ID was not +/// found. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotFound; + +/// +/// Initializes union class with tag state of "not_a_folder". +/// +/// Description of the "not_a_folder" tag state: The specified path is not a +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotAFolder; + +/// +/// Initializes union class with tag state of "app_lacks_access". +/// +/// Description of the "app_lacks_access" tag state: This file request is not +/// accessible to this app. Apps with the app folder permission can only access +/// file requests in their app folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLacksAccess; + +/// +/// Initializes union class with tag state of "no_permission". +/// +/// Description of the "no_permission" tag state: This user doesn't have +/// permission to access or modify this file request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPermission; + +/// +/// Initializes union class with tag state of "email_unverified". +/// +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. File requests are only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailUnverified; + +/// +/// Initializes union class with tag state of "validation_error". +/// +/// Description of the "validation_error" tag state: There was an error +/// validating the request. For example, the title was invalid, or there were +/// disallowed characters in the destination path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithValidationError; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "disabled_for_team". +/// +/// @return Whether the union's current tag state has value "disabled_for_team". +/// +- (BOOL)isDisabledForTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "not_found". +/// +/// @return Whether the union's current tag state has value "not_found". +/// +- (BOOL)isNotFound; + +/// +/// Retrieves whether the union's current tag state has value "not_a_folder". +/// +/// @return Whether the union's current tag state has value "not_a_folder". +/// +- (BOOL)isNotAFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "app_lacks_access". +/// +/// @return Whether the union's current tag state has value "app_lacks_access". +/// +- (BOOL)isAppLacksAccess; + +/// +/// Retrieves whether the union's current tag state has value "no_permission". +/// +/// @return Whether the union's current tag state has value "no_permission". +/// +- (BOOL)isNoPermission; + +/// +/// Retrieves whether the union's current tag state has value +/// "email_unverified". +/// +/// @return Whether the union's current tag state has value "email_unverified". +/// +- (BOOL)isEmailUnverified; + +/// +/// Retrieves whether the union's current tag state has value +/// "validation_error". +/// +/// @return Whether the union's current tag state has value "validation_error". +/// +- (BOOL)isValidationError; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` union. +/// +@interface DBFILEREQUESTSDeleteAllClosedFileRequestsErrorSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSDeleteAllClosedFileRequestsError` instances. +/// +/// @param instance An instance of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSDeleteAllClosedFileRequestsError *)instance; + +/// +/// Deserializes `DBFILEREQUESTSDeleteAllClosedFileRequestsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` API object. +/// +/// @return An instantiation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsError` object. +/// ++ (DBFILEREQUESTSDeleteAllClosedFileRequestsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h new file mode 100644 index 000000000..ef76760b4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSDeleteAllClosedFileRequestsResult; +@class DBFILEREQUESTSFileRequest; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteAllClosedFileRequestsResult` struct. +/// +/// Result for `deleteAllClosed`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSDeleteAllClosedFileRequestsResult : NSObject + +#pragma mark - Instance fields + +/// The file requests deleted for this user. +@property (nonatomic, readonly) NSArray *fileRequests; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileRequests The file requests deleted for this user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequests:(NSArray *)fileRequests; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteAllClosedFileRequestsResult` struct. +/// +@interface DBFILEREQUESTSDeleteAllClosedFileRequestsResultSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` instances. +/// +/// @param instance An instance of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)instance; + +/// +/// Deserializes `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` API object. +/// +/// @return An instantiation of the +/// `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` object. +/// ++ (DBFILEREQUESTSDeleteAllClosedFileRequestsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestArgs.h new file mode 100644 index 000000000..a9c38362d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestArgs.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSDeleteFileRequestArgs; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteFileRequestArgs` struct. +/// +/// Arguments for `delete_`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSDeleteFileRequestArgs : NSObject + +#pragma mark - Instance fields + +/// List IDs of the file requests to delete. +@property (nonatomic, readonly) NSArray *ids; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param ids List IDs of the file requests to delete. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIds:(NSArray *)ids; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteFileRequestArgs` struct. +/// +@interface DBFILEREQUESTSDeleteFileRequestArgsSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSDeleteFileRequestArgs` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSDeleteFileRequestArgs` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestArgs` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestArgs *)instance; + +/// +/// Deserializes `DBFILEREQUESTSDeleteFileRequestArgs` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestArgs` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSDeleteFileRequestArgs` +/// object. +/// ++ (DBFILEREQUESTSDeleteFileRequestArgs *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestError.h new file mode 100644 index 000000000..67fd632df --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestError.h @@ -0,0 +1,276 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSDeleteFileRequestError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteFileRequestError` union. +/// +/// There was an error deleting these file requests. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSDeleteFileRequestError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILEREQUESTSDeleteFileRequestErrorTag` enum type represents the +/// possible tag states with which the `DBFILEREQUESTSDeleteFileRequestError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSDeleteFileRequestErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSDeleteFileRequestErrorDisabledForTeam, + + /// (no description). + DBFILEREQUESTSDeleteFileRequestErrorOther, + + /// This file request ID was not found. + DBFILEREQUESTSDeleteFileRequestErrorNotFound, + + /// The specified path is not a folder. + DBFILEREQUESTSDeleteFileRequestErrorNotAFolder, + + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSDeleteFileRequestErrorAppLacksAccess, + + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSDeleteFileRequestErrorNoPermission, + + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSDeleteFileRequestErrorEmailUnverified, + + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSDeleteFileRequestErrorValidationError, + + /// One or more file requests currently open. + DBFILEREQUESTSDeleteFileRequestErrorFileRequestOpen, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILEREQUESTSDeleteFileRequestErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled_for_team". +/// +/// Description of the "disabled_for_team" tag state: This user's Dropbox +/// Business team doesn't allow file requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledForTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "not_found". +/// +/// Description of the "not_found" tag state: This file request ID was not +/// found. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotFound; + +/// +/// Initializes union class with tag state of "not_a_folder". +/// +/// Description of the "not_a_folder" tag state: The specified path is not a +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotAFolder; + +/// +/// Initializes union class with tag state of "app_lacks_access". +/// +/// Description of the "app_lacks_access" tag state: This file request is not +/// accessible to this app. Apps with the app folder permission can only access +/// file requests in their app folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLacksAccess; + +/// +/// Initializes union class with tag state of "no_permission". +/// +/// Description of the "no_permission" tag state: This user doesn't have +/// permission to access or modify this file request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPermission; + +/// +/// Initializes union class with tag state of "email_unverified". +/// +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. File requests are only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailUnverified; + +/// +/// Initializes union class with tag state of "validation_error". +/// +/// Description of the "validation_error" tag state: There was an error +/// validating the request. For example, the title was invalid, or there were +/// disallowed characters in the destination path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithValidationError; + +/// +/// Initializes union class with tag state of "file_request_open". +/// +/// Description of the "file_request_open" tag state: One or more file requests +/// currently open. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestOpen; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "disabled_for_team". +/// +/// @return Whether the union's current tag state has value "disabled_for_team". +/// +- (BOOL)isDisabledForTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "not_found". +/// +/// @return Whether the union's current tag state has value "not_found". +/// +- (BOOL)isNotFound; + +/// +/// Retrieves whether the union's current tag state has value "not_a_folder". +/// +/// @return Whether the union's current tag state has value "not_a_folder". +/// +- (BOOL)isNotAFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "app_lacks_access". +/// +/// @return Whether the union's current tag state has value "app_lacks_access". +/// +- (BOOL)isAppLacksAccess; + +/// +/// Retrieves whether the union's current tag state has value "no_permission". +/// +/// @return Whether the union's current tag state has value "no_permission". +/// +- (BOOL)isNoPermission; + +/// +/// Retrieves whether the union's current tag state has value +/// "email_unverified". +/// +/// @return Whether the union's current tag state has value "email_unverified". +/// +- (BOOL)isEmailUnverified; + +/// +/// Retrieves whether the union's current tag state has value +/// "validation_error". +/// +/// @return Whether the union's current tag state has value "validation_error". +/// +- (BOOL)isValidationError; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_open". +/// +/// @return Whether the union's current tag state has value "file_request_open". +/// +- (BOOL)isFileRequestOpen; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILEREQUESTSDeleteFileRequestError` +/// union. +/// +@interface DBFILEREQUESTSDeleteFileRequestErrorSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSDeleteFileRequestError` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSDeleteFileRequestError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestError *)instance; + +/// +/// Deserializes `DBFILEREQUESTSDeleteFileRequestError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestError` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSDeleteFileRequestError` +/// object. +/// ++ (DBFILEREQUESTSDeleteFileRequestError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestsResult.h new file mode 100644 index 000000000..eac4f1700 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSDeleteFileRequestsResult.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSDeleteFileRequestsResult; +@class DBFILEREQUESTSFileRequest; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteFileRequestsResult` struct. +/// +/// Result for `delete_`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSDeleteFileRequestsResult : NSObject + +#pragma mark - Instance fields + +/// The file requests deleted by the request. +@property (nonatomic, readonly) NSArray *fileRequests; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileRequests The file requests deleted by the request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequests:(NSArray *)fileRequests; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteFileRequestsResult` struct. +/// +@interface DBFILEREQUESTSDeleteFileRequestsResultSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSDeleteFileRequestsResult` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSDeleteFileRequestsResult` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSDeleteFileRequestsResult *)instance; + +/// +/// Deserializes `DBFILEREQUESTSDeleteFileRequestsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSDeleteFileRequestsResult` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSDeleteFileRequestsResult` +/// object. +/// ++ (DBFILEREQUESTSDeleteFileRequestsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequest.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequest.h index 7643c0dad..86cebac20 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequest.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequest.h @@ -56,6 +56,9 @@ NS_ASSUME_NONNULL_BEGIN /// The number of files this file request has received. @property (nonatomic, readonly) NSNumber *fileCount; +/// A description of the file request. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + #pragma mark - Constructors /// @@ -74,6 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// folder. /// @param deadline The deadline for this file request. Only set if the request /// has a deadline. +/// @param description_ A description of the file request. /// /// @return An initialized instance. /// @@ -84,7 +88,8 @@ NS_ASSUME_NONNULL_BEGIN isOpen:(NSNumber *)isOpen fileCount:(NSNumber *)fileCount destination:(nullable NSString *)destination - deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline; + deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline + description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -126,7 +131,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequest` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequest *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequest *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequest` instances. @@ -136,7 +141,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEREQUESTSFileRequest` object. /// -+ (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSFileRequest *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestDeadline.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestDeadline.h index 4d0bb7eb6..1be267b73 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestDeadline.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestDeadline.h @@ -29,8 +29,8 @@ NS_ASSUME_NONNULL_BEGIN /// The deadline for this file request. @property (nonatomic, readonly) NSDate *deadline; -/// If set, allow uploads after the deadline has passed. These uploads will be -/// marked overdue. +/// If set, allow uploads after the deadline has passed. These uploads will +/// be marked overdue. @property (nonatomic, readonly, nullable) DBFILEREQUESTSGracePeriod *allowLateUploads; #pragma mark - Constructors @@ -40,7 +40,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param deadline The deadline for this file request. /// @param allowLateUploads If set, allow uploads after the deadline has passed. -/// These uploads will be marked overdue. +/// These uploads will be marked overdue. /// /// @return An initialized instance. /// @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestDeadline` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestDeadline *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestDeadline *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequestDeadline` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEREQUESTSFileRequestDeadline` object. /// -+ (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSFileRequestDeadline *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestError.h index 35203a19a..abe8d5521 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSFileRequestError.h @@ -29,34 +29,34 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSFileRequestErrorTag` enum type represents the possible /// tag states with which the `DBFILEREQUESTSFileRequestError` union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSFileRequestErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSFileRequestErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSFileRequestErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSFileRequestErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSFileRequestErrorOther, + /// (no description). + DBFILEREQUESTSFileRequestErrorOther, - /// This file request ID was not found. - DBFILEREQUESTSFileRequestErrorNotFound, + /// This file request ID was not found. + DBFILEREQUESTSFileRequestErrorNotFound, - /// The specified path is not a folder. - DBFILEREQUESTSFileRequestErrorNotAFolder, + /// The specified path is not a folder. + DBFILEREQUESTSFileRequestErrorNotAFolder, - /// This file request is not accessible to this app. Apps with the app - /// folder permission can only access file requests in their app folder. - DBFILEREQUESTSFileRequestErrorAppLacksAccess, + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSFileRequestErrorAppLacksAccess, - /// This user doesn't have permission to access or modify this file request. - DBFILEREQUESTSFileRequestErrorNoPermission, + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSFileRequestErrorNoPermission, - /// This user's email address is not verified. File requests are only - /// available on accounts with a verified email address. Users can verify - /// their email address here https://www.dropbox.com/help/317. - DBFILEREQUESTSFileRequestErrorEmailUnverified, + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSFileRequestErrorEmailUnverified, - /// There was an error validating the request. For example, the title was - /// invalid, or there were disallowed characters in the destination path. - DBFILEREQUESTSFileRequestErrorValidationError, + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSFileRequestErrorValidationError, }; @@ -235,7 +235,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSFileRequestErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSFileRequestError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSFileRequestError` instances. @@ -245,7 +245,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSFileRequestErrorTag) { /// /// @return An instantiation of the `DBFILEREQUESTSFileRequestError` object. /// -+ (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSFileRequestError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGeneralFileRequestsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGeneralFileRequestsError.h index 3d37d716a..c743b10b4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGeneralFileRequestsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGeneralFileRequestsError.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSGeneralFileRequestsErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSGeneralFileRequestsError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSGeneralFileRequestsErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGeneralFileRequestsErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSGeneralFileRequestsErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSGeneralFileRequestsErrorOther, + /// (no description). + DBFILEREQUESTSGeneralFileRequestsErrorOther, }; @@ -106,7 +106,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGeneralFileRequestsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGeneralFileRequestsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGeneralFileRequestsError *)instance; /// /// Deserializes `DBFILEREQUESTSGeneralFileRequestsError` instances. @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGeneralFileRequestsErrorTag) { /// @return An instantiation of the `DBFILEREQUESTSGeneralFileRequestsError` /// object. /// -+ (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSGeneralFileRequestsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestArgs.h index 6e0e4d045..76180e13c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestArgs.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSGetFileRequestArgs` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILEREQUESTSGetFileRequestArgs` object. /// -+ (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSGetFileRequestArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestError.h index 6602fc123..067986b2b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGetFileRequestError.h @@ -30,34 +30,34 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSGetFileRequestErrorTag` enum type represents the possible /// tag states with which the `DBFILEREQUESTSGetFileRequestError` union can /// exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSGetFileRequestErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSGetFileRequestErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGetFileRequestErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSGetFileRequestErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSGetFileRequestErrorOther, + /// (no description). + DBFILEREQUESTSGetFileRequestErrorOther, - /// This file request ID was not found. - DBFILEREQUESTSGetFileRequestErrorNotFound, + /// This file request ID was not found. + DBFILEREQUESTSGetFileRequestErrorNotFound, - /// The specified path is not a folder. - DBFILEREQUESTSGetFileRequestErrorNotAFolder, + /// The specified path is not a folder. + DBFILEREQUESTSGetFileRequestErrorNotAFolder, - /// This file request is not accessible to this app. Apps with the app - /// folder permission can only access file requests in their app folder. - DBFILEREQUESTSGetFileRequestErrorAppLacksAccess, + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSGetFileRequestErrorAppLacksAccess, - /// This user doesn't have permission to access or modify this file request. - DBFILEREQUESTSGetFileRequestErrorNoPermission, + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSGetFileRequestErrorNoPermission, - /// This user's email address is not verified. File requests are only - /// available on accounts with a verified email address. Users can verify - /// their email address here https://www.dropbox.com/help/317. - DBFILEREQUESTSGetFileRequestErrorEmailUnverified, + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSGetFileRequestErrorEmailUnverified, - /// There was an error validating the request. For example, the title was - /// invalid, or there were disallowed characters in the destination path. - DBFILEREQUESTSGetFileRequestErrorValidationError, + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSGetFileRequestErrorValidationError, }; @@ -236,7 +236,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGetFileRequestErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGetFileRequestError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGetFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSGetFileRequestError` instances. @@ -246,7 +246,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGetFileRequestErrorTag) { /// /// @return An instantiation of the `DBFILEREQUESTSGetFileRequestError` object. /// -+ (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSGetFileRequestError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGracePeriod.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGracePeriod.h index de7f78cce..90b7afce6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGracePeriod.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSGracePeriod.h @@ -27,24 +27,24 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSGracePeriodTag` enum type represents the possible tag /// states with which the `DBFILEREQUESTSGracePeriod` union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSGracePeriodTag) { - /// (no description). - DBFILEREQUESTSGracePeriodOneDay, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSGracePeriodTag){ + /// (no description). + DBFILEREQUESTSGracePeriodOneDay, - /// (no description). - DBFILEREQUESTSGracePeriodTwoDays, + /// (no description). + DBFILEREQUESTSGracePeriodTwoDays, - /// (no description). - DBFILEREQUESTSGracePeriodSevenDays, + /// (no description). + DBFILEREQUESTSGracePeriodSevenDays, - /// (no description). - DBFILEREQUESTSGracePeriodThirtyDays, + /// (no description). + DBFILEREQUESTSGracePeriodThirtyDays, - /// (no description). - DBFILEREQUESTSGracePeriodAlways, + /// (no description). + DBFILEREQUESTSGracePeriodAlways, - /// (no description). - DBFILEREQUESTSGracePeriodOther, + /// (no description). + DBFILEREQUESTSGracePeriodOther, }; @@ -165,7 +165,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGracePeriodTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSGracePeriod` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSGracePeriod *)instance; /// /// Deserializes `DBFILEREQUESTSGracePeriod` instances. @@ -175,7 +175,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSGracePeriodTag) { /// /// @return An instantiation of the `DBFILEREQUESTSGracePeriod` object. /// -+ (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSGracePeriod *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsArg.h new file mode 100644 index 000000000..ad95374b0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsArg.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSListFileRequestsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ListFileRequestsArg` struct. +/// +/// Arguments for `list`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSListFileRequestsArg : NSObject + +#pragma mark - Instance fields + +/// The maximum number of file requests that should be returned per request. +@property (nonatomic, readonly) NSNumber *limit; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param limit The maximum number of file requests that should be returned per +/// request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLimit:(nullable NSNumber *)limit; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ListFileRequestsArg` struct. +/// +@interface DBFILEREQUESTSListFileRequestsArgSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSListFileRequestsArg` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSListFileRequestsArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsArg *)instance; + +/// +/// Deserializes `DBFILEREQUESTSListFileRequestsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsArg` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSListFileRequestsArg` object. +/// ++ (DBFILEREQUESTSListFileRequestsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueArg.h new file mode 100644 index 000000000..a1d6cdfa2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueArg.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSListFileRequestsContinueArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ListFileRequestsContinueArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSListFileRequestsContinueArg : NSObject + +#pragma mark - Instance fields + +/// The cursor returned by the previous API call specified in the endpoint +/// description. +@property (nonatomic, readonly, copy) NSString *cursor; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param cursor The cursor returned by the previous API call specified in the +/// endpoint description. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCursor:(NSString *)cursor; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ListFileRequestsContinueArg` struct. +/// +@interface DBFILEREQUESTSListFileRequestsContinueArgSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSListFileRequestsContinueArg` instances. +/// +/// @param instance An instance of the +/// `DBFILEREQUESTSListFileRequestsContinueArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsContinueArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueArg *)instance; + +/// +/// Deserializes `DBFILEREQUESTSListFileRequestsContinueArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsContinueArg` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSListFileRequestsContinueArg` +/// object. +/// ++ (DBFILEREQUESTSListFileRequestsContinueArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueError.h new file mode 100644 index 000000000..db2cd4457 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsContinueError.h @@ -0,0 +1,143 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSListFileRequestsContinueError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ListFileRequestsContinueError` union. +/// +/// There was an error retrieving the file requests. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSListFileRequestsContinueError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILEREQUESTSListFileRequestsContinueErrorTag` enum type represents +/// the possible tag states with which the +/// `DBFILEREQUESTSListFileRequestsContinueError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsContinueErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSListFileRequestsContinueErrorDisabledForTeam, + + /// (no description). + DBFILEREQUESTSListFileRequestsContinueErrorOther, + + /// The cursor is invalid. + DBFILEREQUESTSListFileRequestsContinueErrorInvalidCursor, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILEREQUESTSListFileRequestsContinueErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled_for_team". +/// +/// Description of the "disabled_for_team" tag state: This user's Dropbox +/// Business team doesn't allow file requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledForTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "invalid_cursor". +/// +/// Description of the "invalid_cursor" tag state: The cursor is invalid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidCursor; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "disabled_for_team". +/// +/// @return Whether the union's current tag state has value "disabled_for_team". +/// +- (BOOL)isDisabledForTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "invalid_cursor". +/// +/// @return Whether the union's current tag state has value "invalid_cursor". +/// +- (BOOL)isInvalidCursor; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBFILEREQUESTSListFileRequestsContinueError` union. +/// +@interface DBFILEREQUESTSListFileRequestsContinueErrorSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSListFileRequestsContinueError` instances. +/// +/// @param instance An instance of the +/// `DBFILEREQUESTSListFileRequestsContinueError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsContinueError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsContinueError *)instance; + +/// +/// Deserializes `DBFILEREQUESTSListFileRequestsContinueError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsContinueError` API object. +/// +/// @return An instantiation of the +/// `DBFILEREQUESTSListFileRequestsContinueError` object. +/// ++ (DBFILEREQUESTSListFileRequestsContinueError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsError.h index 5d6d1d364..22abe4c16 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsError.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSListFileRequestsErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSListFileRequestsError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSListFileRequestsErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSListFileRequestsErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSListFileRequestsErrorOther, + /// (no description). + DBFILEREQUESTSListFileRequestsErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsError *)instance; /// /// Deserializes `DBFILEREQUESTSListFileRequestsError` instances. @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSListFileRequestsErrorTag) { /// @return An instantiation of the `DBFILEREQUESTSListFileRequestsError` /// object. /// -+ (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSListFileRequestsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsResult.h index f4e649bc0..11bf04cdb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsResult.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSListFileRequestsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsResult *)instance; /// /// Deserializes `DBFILEREQUESTSListFileRequestsResult` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEREQUESTSListFileRequestsResult` /// object. /// -+ (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSListFileRequestsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsV2Result.h new file mode 100644 index 000000000..5ae0a9310 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSListFileRequestsV2Result.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILEREQUESTSFileRequest; +@class DBFILEREQUESTSListFileRequestsV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ListFileRequestsV2Result` struct. +/// +/// Result for `list` and `listContinue`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILEREQUESTSListFileRequestsV2Result : NSObject + +#pragma mark - Instance fields + +/// The file requests owned by this user. Apps with the app folder permission +/// will only see file requests in their app folder. +@property (nonatomic, readonly) NSArray *fileRequests; + +/// Pass the cursor into `listContinue` to obtain additional file requests. +@property (nonatomic, readonly, copy) NSString *cursor; + +/// Is true if there are additional file requests that have not been returned +/// yet. An additional call to :route:list/continue` can retrieve them. +@property (nonatomic, readonly) NSNumber *hasMore; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileRequests The file requests owned by this user. Apps with the app +/// folder permission will only see file requests in their app folder. +/// @param cursor Pass the cursor into `listContinue` to obtain additional file +/// requests. +/// @param hasMore Is true if there are additional file requests that have not +/// been returned yet. An additional call to :route:list/continue` can retrieve +/// them. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequests:(NSArray *)fileRequests + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ListFileRequestsV2Result` struct. +/// +@interface DBFILEREQUESTSListFileRequestsV2ResultSerializer : NSObject + +/// +/// Serializes `DBFILEREQUESTSListFileRequestsV2Result` instances. +/// +/// @param instance An instance of the `DBFILEREQUESTSListFileRequestsV2Result` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSListFileRequestsV2Result *)instance; + +/// +/// Deserializes `DBFILEREQUESTSListFileRequestsV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILEREQUESTSListFileRequestsV2Result` API object. +/// +/// @return An instantiation of the `DBFILEREQUESTSListFileRequestsV2Result` +/// object. +/// ++ (DBFILEREQUESTSListFileRequestsV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestArgs.h index 84c066127..d9b50f725 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestArgs.h @@ -39,12 +39,16 @@ NS_ASSUME_NONNULL_BEGIN /// folder. @property (nonatomic, readonly, copy, nullable) NSString *destination; -/// The new deadline for the file request. +/// The new deadline for the file request. Deadlines can only be set by +/// Professional and Business accounts. @property (nonatomic, readonly) DBFILEREQUESTSUpdateFileRequestDeadline *deadline; /// Whether to set this file request as open or closed. @property (nonatomic, readonly, nullable) NSNumber *open; +/// The description of the file request. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + #pragma mark - Constructors /// @@ -55,8 +59,10 @@ NS_ASSUME_NONNULL_BEGIN /// @param destination The new path of the folder in the Dropbox where uploaded /// files will be sent. For apps with the app folder permission, this will be /// relative to the app folder. -/// @param deadline The new deadline for the file request. +/// @param deadline The new deadline for the file request. Deadlines can only be +/// set by Professional and Business accounts. /// @param open Whether to set this file request as open or closed. +/// @param description_ The description of the file request. /// /// @return An initialized instance. /// @@ -64,7 +70,8 @@ NS_ASSUME_NONNULL_BEGIN title:(nullable NSString *)title destination:(nullable NSString *)destination deadline:(nullable DBFILEREQUESTSUpdateFileRequestDeadline *)deadline - open:(nullable NSNumber *)open; + open:(nullable NSNumber *)open + description_:(nullable NSString *)description_; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -96,7 +103,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestArgs *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestArgs` instances. @@ -107,7 +114,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestArgs` /// object. /// -+ (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSUpdateFileRequestArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestDeadline.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestDeadline.h index 52edbe2c7..6e8a33285 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestDeadline.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestDeadline.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSUpdateFileRequestDeadlineTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSUpdateFileRequestDeadline` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestDeadlineTag) { - /// Do not change the file request's deadline. - DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestDeadlineTag){ + /// Do not change the file request's deadline. + DBFILEREQUESTSUpdateFileRequestDeadlineNoUpdate, - /// If null, the file request's deadline is cleared. - DBFILEREQUESTSUpdateFileRequestDeadlineUpdate, + /// If null, the file request's deadline is cleared. + DBFILEREQUESTSUpdateFileRequestDeadlineUpdate, - /// (no description). - DBFILEREQUESTSUpdateFileRequestDeadlineOther, + /// (no description). + DBFILEREQUESTSUpdateFileRequestDeadlineOther, }; @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestDeadlineTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestDeadline` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestDeadline *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestDeadline` instances. @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestDeadlineTag) { /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestDeadline` /// object. /// -+ (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSUpdateFileRequestDeadline *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestError.h index 03072e286..b769b1267 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/FileRequests/Headers/DBFILEREQUESTSUpdateFileRequestError.h @@ -30,34 +30,34 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILEREQUESTSUpdateFileRequestErrorTag` enum type represents the /// possible tag states with which the `DBFILEREQUESTSUpdateFileRequestError` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestErrorTag) { - /// This user's Dropbox Business team doesn't allow file requests. - DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestErrorTag){ + /// This user's Dropbox Business team doesn't allow file requests. + DBFILEREQUESTSUpdateFileRequestErrorDisabledForTeam, - /// (no description). - DBFILEREQUESTSUpdateFileRequestErrorOther, + /// (no description). + DBFILEREQUESTSUpdateFileRequestErrorOther, - /// This file request ID was not found. - DBFILEREQUESTSUpdateFileRequestErrorNotFound, + /// This file request ID was not found. + DBFILEREQUESTSUpdateFileRequestErrorNotFound, - /// The specified path is not a folder. - DBFILEREQUESTSUpdateFileRequestErrorNotAFolder, + /// The specified path is not a folder. + DBFILEREQUESTSUpdateFileRequestErrorNotAFolder, - /// This file request is not accessible to this app. Apps with the app - /// folder permission can only access file requests in their app folder. - DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess, + /// This file request is not accessible to this app. Apps with the app + /// folder permission can only access file requests in their app folder. + DBFILEREQUESTSUpdateFileRequestErrorAppLacksAccess, - /// This user doesn't have permission to access or modify this file request. - DBFILEREQUESTSUpdateFileRequestErrorNoPermission, + /// This user doesn't have permission to access or modify this file request. + DBFILEREQUESTSUpdateFileRequestErrorNoPermission, - /// This user's email address is not verified. File requests are only - /// available on accounts with a verified email address. Users can verify - /// their email address here https://www.dropbox.com/help/317. - DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified, + /// This user's email address is not verified. File requests are only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILEREQUESTSUpdateFileRequestErrorEmailUnverified, - /// There was an error validating the request. For example, the title was - /// invalid, or there were disallowed characters in the destination path. - DBFILEREQUESTSUpdateFileRequestErrorValidationError, + /// There was an error validating the request. For example, the title was + /// invalid, or there were disallowed characters in the destination path. + DBFILEREQUESTSUpdateFileRequestErrorValidationError, }; @@ -237,7 +237,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILEREQUESTSUpdateFileRequestError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILEREQUESTSUpdateFileRequestError *)instance; /// /// Deserializes `DBFILEREQUESTSUpdateFileRequestError` instances. @@ -248,7 +248,7 @@ typedef NS_ENUM(NSInteger, DBFILEREQUESTSUpdateFileRequestErrorTag) { /// @return An instantiation of the `DBFILEREQUESTSUpdateFileRequestError` /// object. /// -+ (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)dict; ++ (DBFILEREQUESTSUpdateFileRequestError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m index 205314fc5..b20773460 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/DBFilesObjects.m @@ -6,61 +6,44 @@ /// Arguments, results, and errors for the `Files` namespace. -#import "DBFILEPROPERTIESTemplateFilterBase.h" -#import "DBFILESGetMetadataArg.h" +#import "DBFILESAddTagArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetMetadataArg +@implementation DBFILESAddTagArg #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - includeMediaInfo:(NSNumber *)includeMediaInfo - includeDeleted:(NSNumber *)includeDeleted - includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers - includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { +- (instancetype)initWithPath:(NSString *)path tagText:(NSString *)tagText { [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:@(32) pattern:@"[\\w]+"]](tagText); self = [super init]; if (self) { _path = path; - _includeMediaInfo = includeMediaInfo ?: @NO; - _includeDeleted = includeDeleted ?: @NO; - _includeHasExplicitSharedMembers = includeHasExplicitSharedMembers ?: @NO; - _includePropertyGroups = includePropertyGroups; + _tagText = tagText; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path - includeMediaInfo:nil - includeDeleted:nil - includeHasExplicitSharedMembers:nil - includePropertyGroups:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetMetadataArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESAddTagArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetMetadataArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESAddTagArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetMetadataArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESAddTagArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -78,12 +61,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.path hash]; - result = prime * result + [self.includeMediaInfo hash]; - result = prime * result + [self.includeDeleted hash]; - result = prime * result + [self.includeHasExplicitSharedMembers hash]; - if (self.includePropertyGroups != nil) { - result = prime * result + [self.includePropertyGroups hash]; - } + result = prime * result + [self.tagText hash]; return prime * result; } @@ -97,30 +75,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetMetadataArg:other]; + return [self isEqualToAddTagArg:other]; } -- (BOOL)isEqualToGetMetadataArg:(DBFILESGetMetadataArg *)aGetMetadataArg { - if (self == aGetMetadataArg) { +- (BOOL)isEqualToAddTagArg:(DBFILESAddTagArg *)anAddTagArg { + if (self == anAddTagArg) { return YES; } - if (![self.path isEqual:aGetMetadataArg.path]) { - return NO; - } - if (![self.includeMediaInfo isEqual:aGetMetadataArg.includeMediaInfo]) { - return NO; - } - if (![self.includeDeleted isEqual:aGetMetadataArg.includeDeleted]) { + if (![self.path isEqual:anAddTagArg.path]) { return NO; } - if (![self.includeHasExplicitSharedMembers isEqual:aGetMetadataArg.includeHasExplicitSharedMembers]) { + if (![self.tagText isEqual:anAddTagArg.tagText]) { return NO; } - if (self.includePropertyGroups) { - if (![self.includePropertyGroups isEqual:aGetMetadataArg.includePropertyGroups]) { - return NO; - } - } return YES; } @@ -128,109 +95,101 @@ - (BOOL)isEqualToGetMetadataArg:(DBFILESGetMetadataArg *)aGetMetadataArg { #pragma mark - Serializer Object -@implementation DBFILESGetMetadataArgSerializer +@implementation DBFILESAddTagArgSerializer -+ (NSDictionary *)serialize:(DBFILESGetMetadataArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESAddTagArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; - jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; - jsonDict[@"include_deleted"] = valueObj.includeDeleted; - jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; - if (valueObj.includePropertyGroups) { - jsonDict[@"include_property_groups"] = - [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; - } + jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESAddTagArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; - NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; - NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; - NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; - DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = - valueDict[@"include_property_groups"] - ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] - : nil; + NSString *tagText = valueDict[@"tag_text"]; - return [[DBFILESGetMetadataArg alloc] initWithPath:path - includeMediaInfo:includeMediaInfo - includeDeleted:includeDeleted - includeHasExplicitSharedMembers:includeHasExplicitSharedMembers - includePropertyGroups:includePropertyGroups]; + return [[DBFILESAddTagArg alloc] initWithPath:path tagText:tagText]; } @end -#import "DBFILEPROPERTIESTemplateFilterBase.h" -#import "DBFILESAlphaGetMetadataArg.h" -#import "DBFILESGetMetadataArg.h" +#import "DBFILESBaseTagError.h" +#import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESAlphaGetMetadataArg +@implementation DBFILESBaseTagError + +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - includeMediaInfo:(NSNumber *)includeMediaInfo - includeDeleted:(NSNumber *)includeDeleted - includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers - includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups - includePropertyTemplates:(NSArray *)includePropertyTemplates { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); - [DBStoneValidators - nullableValidator:[DBStoneValidators - arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) - maxLength:nil - pattern:@"(/|ptid:).*"]]]]( - includePropertyTemplates); +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESBaseTagErrorPath; + _path = path; + } + return self; +} - self = [super initWithPath:path - includeMediaInfo:includeMediaInfo - includeDeleted:includeDeleted - includeHasExplicitSharedMembers:includeHasExplicitSharedMembers - includePropertyGroups:includePropertyGroups]; +- (instancetype)initWithOther { + self = [super init]; if (self) { - _includePropertyTemplates = includePropertyTemplates; + _tag = DBFILESBaseTagErrorOther; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path - includeMediaInfo:nil - includeDeleted:nil - includeHasExplicitSharedMembers:nil - includePropertyGroups:nil - includePropertyTemplates:nil]; +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESBaseTagErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESBaseTagErrorPath; +} + +- (BOOL)isOther { + return _tag == DBFILESBaseTagErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESBaseTagErrorPath: + return @"DBFILESBaseTagErrorPath"; + case DBFILESBaseTagErrorOther: + return @"DBFILESBaseTagErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESAlphaGetMetadataArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESBaseTagErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESAlphaGetMetadataArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESBaseTagErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESAlphaGetMetadataArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESBaseTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -247,15 +206,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.includeMediaInfo hash]; - result = prime * result + [self.includeDeleted hash]; - result = prime * result + [self.includeHasExplicitSharedMembers hash]; - if (self.includePropertyGroups != nil) { - result = prime * result + [self.includePropertyGroups hash]; - } - if (self.includePropertyTemplates != nil) { - result = prime * result + [self.includePropertyTemplates hash]; + switch (_tag) { + case DBFILESBaseTagErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESBaseTagErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -270,34 +227,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAlphaGetMetadataArg:other]; + return [self isEqualToBaseTagError:other]; } -- (BOOL)isEqualToAlphaGetMetadataArg:(DBFILESAlphaGetMetadataArg *)anAlphaGetMetadataArg { - if (self == anAlphaGetMetadataArg) { +- (BOOL)isEqualToBaseTagError:(DBFILESBaseTagError *)aBaseTagError { + if (self == aBaseTagError) { return YES; } - if (![self.path isEqual:anAlphaGetMetadataArg.path]) { - return NO; - } - if (![self.includeMediaInfo isEqual:anAlphaGetMetadataArg.includeMediaInfo]) { - return NO; - } - if (![self.includeDeleted isEqual:anAlphaGetMetadataArg.includeDeleted]) { - return NO; - } - if (![self.includeHasExplicitSharedMembers isEqual:anAlphaGetMetadataArg.includeHasExplicitSharedMembers]) { + if (self.tag != aBaseTagError.tag) { return NO; } - if (self.includePropertyGroups) { - if (![self.includePropertyGroups isEqual:anAlphaGetMetadataArg.includePropertyGroups]) { - return NO; - } - } - if (self.includePropertyTemplates) { - if (![self.includePropertyTemplates isEqual:anAlphaGetMetadataArg.includePropertyTemplates]) { - return NO; - } + switch (_tag) { + case DBFILESBaseTagErrorPath: + return [self.path isEqual:aBaseTagError.path]; + case DBFILESBaseTagErrorOther: + return [[self tagName] isEqual:[aBaseTagError tagName]]; } return YES; } @@ -306,63 +250,47 @@ - (BOOL)isEqualToAlphaGetMetadataArg:(DBFILESAlphaGetMetadataArg *)anAlphaGetMet #pragma mark - Serializer Object -@implementation DBFILESAlphaGetMetadataArgSerializer +@implementation DBFILESBaseTagErrorSerializer -+ (NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESBaseTagError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; - jsonDict[@"include_deleted"] = valueObj.includeDeleted; - jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; - if (valueObj.includePropertyGroups) { - jsonDict[@"include_property_groups"] = - [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; - } - if (valueObj.includePropertyTemplates) { - jsonDict[@"include_property_templates"] = [DBArraySerializer serialize:valueObj.includePropertyTemplates - withBlock:^id(id elem0) { - return elem0; - }]; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; - NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; - NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; - DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = - valueDict[@"include_property_groups"] - ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] - : nil; - NSArray *includePropertyTemplates = - valueDict[@"include_property_templates"] ? [DBArraySerializer deserialize:valueDict[@"include_property_templates"] - withBlock:^id(id elem0) { - return elem0; - }] - : nil; ++ (DBFILESBaseTagError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESAlphaGetMetadataArg alloc] initWithPath:path - includeMediaInfo:includeMediaInfo - includeDeleted:includeDeleted - includeHasExplicitSharedMembers:includeHasExplicitSharedMembers - includePropertyGroups:includePropertyGroups - includePropertyTemplates:includePropertyTemplates]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESBaseTagError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESBaseTagError alloc] initWithOther]; + } else { + return [[DBFILESBaseTagError alloc] initWithOther]; + } } @end -#import "DBFILESGetMetadataError.h" +#import "DBFILESAddTagError.h" +#import "DBFILESBaseTagError.h" #import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetMetadataError +@implementation DBFILESAddTagError @synthesize path = _path; @@ -371,18 +299,34 @@ @implementation DBFILESGetMetadataError - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { - _tag = DBFILESGetMetadataErrorPath; + _tag = DBFILESAddTagErrorPath; _path = path; } return self; } +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESAddTagErrorOther; + } + return self; +} + +- (instancetype)initWithTooManyTags { + self = [super init]; + if (self) { + _tag = DBFILESAddTagErrorTooManyTags; + } + return self; +} + #pragma mark - Instance field accessors - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESGetMetadataErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESAddTagErrorPath, but was %@.", [self tagName]]; } return _path; } @@ -390,13 +334,25 @@ - (DBFILESLookupError *)path { #pragma mark - Tag state methods - (BOOL)isPath { - return _tag == DBFILESGetMetadataErrorPath; + return _tag == DBFILESAddTagErrorPath; +} + +- (BOOL)isOther { + return _tag == DBFILESAddTagErrorOther; +} + +- (BOOL)isTooManyTags { + return _tag == DBFILESAddTagErrorTooManyTags; } - (NSString *)tagName { switch (_tag) { - case DBFILESGetMetadataErrorPath: - return @"DBFILESGetMetadataErrorPath"; + case DBFILESAddTagErrorPath: + return @"DBFILESAddTagErrorPath"; + case DBFILESAddTagErrorOther: + return @"DBFILESAddTagErrorOther"; + case DBFILESAddTagErrorTooManyTags: + return @"DBFILESAddTagErrorTooManyTags"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -404,18 +360,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetMetadataErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESAddTagErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetMetadataErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESAddTagErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetMetadataErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESAddTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -433,8 +389,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESGetMetadataErrorPath: + case DBFILESAddTagErrorPath: result = prime * result + [self.path hash]; + break; + case DBFILESAddTagErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESAddTagErrorTooManyTags: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -449,19 +412,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetMetadataError:other]; + return [self isEqualToAddTagError:other]; } -- (BOOL)isEqualToGetMetadataError:(DBFILESGetMetadataError *)aGetMetadataError { - if (self == aGetMetadataError) { +- (BOOL)isEqualToAddTagError:(DBFILESAddTagError *)anAddTagError { + if (self == anAddTagError) { return YES; } - if (self.tag != aGetMetadataError.tag) { + if (self.tag != anAddTagError.tag) { return NO; } switch (_tag) { - case DBFILESGetMetadataErrorPath: - return [self.path isEqual:aGetMetadataError.path]; + case DBFILESAddTagErrorPath: + return [self.path isEqual:anAddTagError.path]; + case DBFILESAddTagErrorOther: + return [[self tagName] isEqual:[anAddTagError tagName]]; + case DBFILESAddTagErrorTooManyTags: + return [[self tagName] isEqual:[anAddTagError tagName]]; } return YES; } @@ -470,127 +437,97 @@ - (BOOL)isEqualToGetMetadataError:(DBFILESGetMetadataError *)aGetMetadataError { #pragma mark - Serializer Object -@implementation DBFILESGetMetadataErrorSerializer +@implementation DBFILESAddTagErrorSerializer -+ (NSDictionary *)serialize:(DBFILESGetMetadataError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESAddTagError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTooManyTags]) { + jsonDict[@".tag"] = @"too_many_tags"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetMetadataError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESAddTagError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESGetMetadataError alloc] initWithPath:path]; + return [[DBFILESAddTagError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESAddTagError alloc] initWithOther]; + } else if ([tag isEqualToString:@"too_many_tags"]) { + return [[DBFILESAddTagError alloc] initWithTooManyTags]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBFILESAddTagError alloc] initWithOther]; } } @end -#import "DBFILEPROPERTIESLookUpPropertiesError.h" -#import "DBFILESAlphaGetMetadataError.h" -#import "DBFILESGetMetadataError.h" -#import "DBFILESLookupError.h" +#import "DBFILEPROPERTIESTemplateFilterBase.h" +#import "DBFILESGetMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESAlphaGetMetadataError - -@synthesize path = _path; -@synthesize propertiesError = _propertiesError; +@implementation DBFILESGetMetadataArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBFILESAlphaGetMetadataErrorPath; - _path = path; - } - return self; -} +- (instancetype)initWithPath:(NSString *)path + includeMediaInfo:(NSNumber *)includeMediaInfo + includeDeleted:(NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); -- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *)propertiesError { self = [super init]; if (self) { - _tag = DBFILESAlphaGetMetadataErrorPropertiesError; - _propertiesError = propertiesError; + _path = path; + _includeMediaInfo = includeMediaInfo ?: @NO; + _includeDeleted = includeDeleted ?: @NO; + _includeHasExplicitSharedMembers = includeHasExplicitSharedMembers ?: @NO; + _includePropertyGroups = includePropertyGroups; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESAlphaGetMetadataErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -- (DBFILEPROPERTIESLookUpPropertiesError *)propertiesError { - if (![self isPropertiesError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESAlphaGetMetadataErrorPropertiesError, but was %@.", [self tagName]]; - } - return _propertiesError; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESAlphaGetMetadataErrorPath; -} - -- (BOOL)isPropertiesError { - return _tag == DBFILESAlphaGetMetadataErrorPropertiesError; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESAlphaGetMetadataErrorPath: - return @"DBFILESAlphaGetMetadataErrorPath"; - case DBFILESAlphaGetMetadataErrorPropertiesError: - return @"DBFILESAlphaGetMetadataErrorPropertiesError"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path + includeMediaInfo:nil + includeDeleted:nil + includeHasExplicitSharedMembers:nil + includePropertyGroups:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESAlphaGetMetadataErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetMetadataArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESAlphaGetMetadataErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetMetadataArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESAlphaGetMetadataErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESGetMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -607,11 +544,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESAlphaGetMetadataErrorPath: - result = prime * result + [self.path hash]; - case DBFILESAlphaGetMetadataErrorPropertiesError: - result = prime * result + [self.propertiesError hash]; + result = prime * result + [self.path hash]; + result = prime * result + [self.includeMediaInfo hash]; + result = prime * result + [self.includeDeleted hash]; + result = prime * result + [self.includeHasExplicitSharedMembers hash]; + if (self.includePropertyGroups != nil) { + result = prime * result + [self.includePropertyGroups hash]; } return prime * result; @@ -626,21 +564,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAlphaGetMetadataError:other]; + return [self isEqualToGetMetadataArg:other]; } -- (BOOL)isEqualToAlphaGetMetadataError:(DBFILESAlphaGetMetadataError *)anAlphaGetMetadataError { - if (self == anAlphaGetMetadataError) { +- (BOOL)isEqualToGetMetadataArg:(DBFILESGetMetadataArg *)aGetMetadataArg { + if (self == aGetMetadataArg) { return YES; } - if (self.tag != anAlphaGetMetadataError.tag) { + if (![self.path isEqual:aGetMetadataArg.path]) { return NO; } - switch (_tag) { - case DBFILESAlphaGetMetadataErrorPath: - return [self.path isEqual:anAlphaGetMetadataError.path]; - case DBFILESAlphaGetMetadataErrorPropertiesError: - return [self.propertiesError isEqual:anAlphaGetMetadataError.propertiesError]; + if (![self.includeMediaInfo isEqual:aGetMetadataArg.includeMediaInfo]) { + return NO; + } + if (![self.includeDeleted isEqual:aGetMetadataArg.includeDeleted]) { + return NO; + } + if (![self.includeHasExplicitSharedMembers isEqual:aGetMetadataArg.includeHasExplicitSharedMembers]) { + return NO; + } + if (self.includePropertyGroups) { + if (![self.includePropertyGroups isEqual:aGetMetadataArg.includePropertyGroups]) { + return NO; + } } return YES; } @@ -649,104 +595,109 @@ - (BOOL)isEqualToAlphaGetMetadataError:(DBFILESAlphaGetMetadataError *)anAlphaGe #pragma mark - Serializer Object -@implementation DBFILESAlphaGetMetadataErrorSerializer +@implementation DBFILESGetMetadataArgSerializer -+ (NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESGetMetadataArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isPropertiesError]) { - jsonDict[@"properties_error"] = - [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:valueObj.propertiesError] mutableCopy]; - jsonDict[@".tag"] = @"properties_error"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@"path"] = valueObj.path; + jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; + jsonDict[@"include_deleted"] = valueObj.includeDeleted; + jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; + if (valueObj.includePropertyGroups) { + jsonDict[@"include_property_groups"] = + [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; + NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; + NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; + DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = + valueDict[@"include_property_groups"] + ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] + : nil; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESAlphaGetMetadataError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"properties_error"]) { - DBFILEPROPERTIESLookUpPropertiesError *propertiesError = - [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:valueDict[@"properties_error"]]; - return [[DBFILESAlphaGetMetadataError alloc] initWithPropertiesError:propertiesError]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESGetMetadataArg alloc] initWithPath:path + includeMediaInfo:includeMediaInfo + includeDeleted:includeDeleted + includeHasExplicitSharedMembers:includeHasExplicitSharedMembers + includePropertyGroups:includePropertyGroups]; } @end -#import "DBFILEPROPERTIESPropertyGroup.h" -#import "DBFILESCommitInfo.h" -#import "DBFILESWriteMode.h" +#import "DBFILEPROPERTIESTemplateFilterBase.h" +#import "DBFILESAlphaGetMetadataArg.h" +#import "DBFILESGetMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESCommitInfo +@implementation DBFILESAlphaGetMetadataArg #pragma mark - Constructors - (instancetype)initWithPath:(NSString *)path - mode:(DBFILESWriteMode *)mode - autorename:(NSNumber *)autorename - clientModified:(NSDate *)clientModified - mute:(NSNumber *)mute - propertyGroups:(NSArray *)propertyGroups { + includeMediaInfo:(NSNumber *)includeMediaInfo + includeDeleted:(NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includePropertyTemplates:(NSArray *)includePropertyTemplates { [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); + nullableValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) + maxLength:nil + pattern:@"(/|ptid:).*"]]]]( + includePropertyTemplates); - self = [super init]; + self = [super initWithPath:path + includeMediaInfo:includeMediaInfo + includeDeleted:includeDeleted + includeHasExplicitSharedMembers:includeHasExplicitSharedMembers + includePropertyGroups:includePropertyGroups]; if (self) { - _path = path; - _mode = mode ?: [[DBFILESWriteMode alloc] initWithAdd]; - _autorename = autorename ?: @NO; - _clientModified = clientModified; - _mute = mute ?: @NO; - _propertyGroups = propertyGroups; + _includePropertyTemplates = includePropertyTemplates; } return self; } - (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path mode:nil autorename:nil clientModified:nil mute:nil propertyGroups:nil]; + return [self initWithPath:path + includeMediaInfo:nil + includeDeleted:nil + includeHasExplicitSharedMembers:nil + includePropertyGroups:nil + includePropertyTemplates:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESCommitInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESAlphaGetMetadataArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESCommitInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESAlphaGetMetadataArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESCommitInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESAlphaGetMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -764,14 +715,14 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.path hash]; - result = prime * result + [self.mode hash]; - result = prime * result + [self.autorename hash]; - if (self.clientModified != nil) { - result = prime * result + [self.clientModified hash]; + result = prime * result + [self.includeMediaInfo hash]; + result = prime * result + [self.includeDeleted hash]; + result = prime * result + [self.includeHasExplicitSharedMembers hash]; + if (self.includePropertyGroups != nil) { + result = prime * result + [self.includePropertyGroups hash]; } - result = prime * result + [self.mute hash]; - if (self.propertyGroups != nil) { - result = prime * result + [self.propertyGroups hash]; + if (self.includePropertyTemplates != nil) { + result = prime * result + [self.includePropertyTemplates hash]; } return prime * result; @@ -786,32 +737,32 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCommitInfo:other]; + return [self isEqualToAlphaGetMetadataArg:other]; } -- (BOOL)isEqualToCommitInfo:(DBFILESCommitInfo *)aCommitInfo { - if (self == aCommitInfo) { +- (BOOL)isEqualToAlphaGetMetadataArg:(DBFILESAlphaGetMetadataArg *)anAlphaGetMetadataArg { + if (self == anAlphaGetMetadataArg) { return YES; } - if (![self.path isEqual:aCommitInfo.path]) { + if (![self.path isEqual:anAlphaGetMetadataArg.path]) { return NO; } - if (![self.mode isEqual:aCommitInfo.mode]) { + if (![self.includeMediaInfo isEqual:anAlphaGetMetadataArg.includeMediaInfo]) { return NO; } - if (![self.autorename isEqual:aCommitInfo.autorename]) { + if (![self.includeDeleted isEqual:anAlphaGetMetadataArg.includeDeleted]) { return NO; } - if (self.clientModified) { - if (![self.clientModified isEqual:aCommitInfo.clientModified]) { + if (![self.includeHasExplicitSharedMembers isEqual:anAlphaGetMetadataArg.includeHasExplicitSharedMembers]) { + return NO; + } + if (self.includePropertyGroups) { + if (![self.includePropertyGroups isEqual:anAlphaGetMetadataArg.includePropertyGroups]) { return NO; } } - if (![self.mute isEqual:aCommitInfo.mute]) { - return NO; - } - if (self.propertyGroups) { - if (![self.propertyGroups isEqual:aCommitInfo.propertyGroups]) { + if (self.includePropertyTemplates) { + if (![self.includePropertyTemplates isEqual:anAlphaGetMetadataArg.includePropertyTemplates]) { return NO; } } @@ -822,114 +773,116 @@ - (BOOL)isEqualToCommitInfo:(DBFILESCommitInfo *)aCommitInfo { #pragma mark - Serializer Object -@implementation DBFILESCommitInfoSerializer +@implementation DBFILESAlphaGetMetadataArgSerializer -+ (NSDictionary *)serialize:(DBFILESCommitInfo *)valueObj { ++ (NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; - jsonDict[@"mode"] = [DBFILESWriteModeSerializer serialize:valueObj.mode]; - jsonDict[@"autorename"] = valueObj.autorename; - if (valueObj.clientModified) { - jsonDict[@"client_modified"] = - [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; + jsonDict[@"include_deleted"] = valueObj.includeDeleted; + jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; + if (valueObj.includePropertyGroups) { + jsonDict[@"include_property_groups"] = + [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; } - jsonDict[@"mute"] = valueObj.mute; - if (valueObj.propertyGroups) { - jsonDict[@"property_groups"] = - [DBArraySerializer serialize:valueObj.propertyGroups - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; - }]; + if (valueObj.includePropertyTemplates) { + jsonDict[@"include_property_templates"] = [DBArraySerializer serialize:valueObj.includePropertyTemplates + withBlock:^id(id elem0) { + return elem0; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESCommitInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; - DBFILESWriteMode *mode = valueDict[@"mode"] ? [DBFILESWriteModeSerializer deserialize:valueDict[@"mode"]] - : [[DBFILESWriteMode alloc] initWithAdd]; - NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - NSDate *clientModified = valueDict[@"client_modified"] ? [DBNSDateSerializer deserialize:valueDict[@"client_modified"] - dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSNumber *mute = valueDict[@"mute"] ?: @NO; - NSArray *propertyGroups = - valueDict[@"property_groups"] - ? [DBArraySerializer deserialize:valueDict[@"property_groups"] - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; - }] + NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; + NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; + NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; + DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = + valueDict[@"include_property_groups"] + ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] : nil; + NSArray *includePropertyTemplates = + valueDict[@"include_property_templates"] ? [DBArraySerializer deserialize:valueDict[@"include_property_templates"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; - return [[DBFILESCommitInfo alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + return [[DBFILESAlphaGetMetadataArg alloc] initWithPath:path + includeMediaInfo:includeMediaInfo + includeDeleted:includeDeleted + includeHasExplicitSharedMembers:includeHasExplicitSharedMembers + includePropertyGroups:includePropertyGroups + includePropertyTemplates:includePropertyTemplates]; } @end -#import "DBFILEPROPERTIESPropertyGroup.h" -#import "DBFILESCommitInfo.h" -#import "DBFILESCommitInfoWithProperties.h" -#import "DBFILESWriteMode.h" +#import "DBFILESGetMetadataError.h" +#import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESCommitInfoWithProperties +@implementation DBFILESGetMetadataError -#pragma mark - Constructors +@synthesize path = _path; -- (instancetype)initWithPath:(NSString *)path - mode:(DBFILESWriteMode *)mode - autorename:(NSNumber *)autorename - clientModified:(NSDate *)clientModified - mute:(NSNumber *)mute - propertyGroups:(NSArray *)propertyGroups { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); +#pragma mark - Constructors - self = [super initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; if (self) { + _tag = DBFILESGetMetadataErrorPath; + _path = path; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path mode:nil autorename:nil clientModified:nil mute:nil propertyGroups:nil]; +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESGetMetadataErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESGetMetadataErrorPath; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESGetMetadataErrorPath: + return @"DBFILESGetMetadataErrorPath"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESCommitInfoWithPropertiesSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetMetadataErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESCommitInfoWithPropertiesSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetMetadataErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESCommitInfoWithPropertiesSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESGetMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -946,15 +899,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.mode hash]; - result = prime * result + [self.autorename hash]; - if (self.clientModified != nil) { - result = prime * result + [self.clientModified hash]; - } - result = prime * result + [self.mute hash]; - if (self.propertyGroups != nil) { - result = prime * result + [self.propertyGroups hash]; + switch (_tag) { + case DBFILESGetMetadataErrorPath: + result = prime * result + [self.path hash]; + break; } return prime * result; @@ -969,34 +917,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCommitInfoWithProperties:other]; + return [self isEqualToGetMetadataError:other]; } -- (BOOL)isEqualToCommitInfoWithProperties:(DBFILESCommitInfoWithProperties *)aCommitInfoWithProperties { - if (self == aCommitInfoWithProperties) { +- (BOOL)isEqualToGetMetadataError:(DBFILESGetMetadataError *)aGetMetadataError { + if (self == aGetMetadataError) { return YES; } - if (![self.path isEqual:aCommitInfoWithProperties.path]) { - return NO; - } - if (![self.mode isEqual:aCommitInfoWithProperties.mode]) { - return NO; - } - if (![self.autorename isEqual:aCommitInfoWithProperties.autorename]) { - return NO; - } - if (self.clientModified) { - if (![self.clientModified isEqual:aCommitInfoWithProperties.clientModified]) { - return NO; - } - } - if (![self.mute isEqual:aCommitInfoWithProperties.mute]) { + if (self.tag != aGetMetadataError.tag) { return NO; } - if (self.propertyGroups) { - if (![self.propertyGroups isEqual:aCommitInfoWithProperties.propertyGroups]) { - return NO; - } + switch (_tag) { + case DBFILESGetMetadataErrorPath: + return [self.path isEqual:aGetMetadataError.path]; } return YES; } @@ -1005,211 +938,108 @@ - (BOOL)isEqualToCommitInfoWithProperties:(DBFILESCommitInfoWithProperties *)aCo #pragma mark - Serializer Object -@implementation DBFILESCommitInfoWithPropertiesSerializer +@implementation DBFILESGetMetadataErrorSerializer -+ (NSDictionary *)serialize:(DBFILESCommitInfoWithProperties *)valueObj { ++ (NSDictionary *)serialize:(DBFILESGetMetadataError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"mode"] = [DBFILESWriteModeSerializer serialize:valueObj.mode]; - jsonDict[@"autorename"] = valueObj.autorename; - if (valueObj.clientModified) { - jsonDict[@"client_modified"] = - [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - jsonDict[@"mute"] = valueObj.mute; - if (valueObj.propertyGroups) { - jsonDict[@"property_groups"] = - [DBArraySerializer serialize:valueObj.propertyGroups - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; - }]; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESCommitInfoWithProperties *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - DBFILESWriteMode *mode = valueDict[@"mode"] ? [DBFILESWriteModeSerializer deserialize:valueDict[@"mode"]] - : [[DBFILESWriteMode alloc] initWithAdd]; - NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - NSDate *clientModified = valueDict[@"client_modified"] ? [DBNSDateSerializer deserialize:valueDict[@"client_modified"] - dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSNumber *mute = valueDict[@"mute"] ?: @NO; - NSArray *propertyGroups = - valueDict[@"property_groups"] - ? [DBArraySerializer deserialize:valueDict[@"property_groups"] - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; - }] - : nil; ++ (DBFILESGetMetadataError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESCommitInfoWithProperties alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESGetMetadataError alloc] initWithPath:path]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILESCreateFolderArg.h" +#import "DBFILEPROPERTIESLookUpPropertiesError.h" +#import "DBFILESAlphaGetMetadataError.h" +#import "DBFILESGetMetadataError.h" +#import "DBFILESLookupError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESCreateFolderArg +@implementation DBFILESAlphaGetMetadataError -#pragma mark - Constructors +@synthesize path = _path; +@synthesize propertiesError = _propertiesError; -- (instancetype)initWithPath:(NSString *)path autorename:(NSNumber *)autorename { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); +#pragma mark - Constructors +- (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { + _tag = DBFILESAlphaGetMetadataErrorPath; _path = path; - _autorename = autorename ?: @NO; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path autorename:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESCreateFolderArgSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESCreateFolderArgSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESCreateFolderArgSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.path hash]; - result = prime * result + [self.autorename hash]; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToCreateFolderArg:other]; -} - -- (BOOL)isEqualToCreateFolderArg:(DBFILESCreateFolderArg *)aCreateFolderArg { - if (self == aCreateFolderArg) { - return YES; - } - if (![self.path isEqual:aCreateFolderArg.path]) { - return NO; - } - if (![self.autorename isEqual:aCreateFolderArg.autorename]) { - return NO; - } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBFILESCreateFolderArgSerializer - -+ (NSDictionary *)serialize:(DBFILESCreateFolderArg *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"path"] = valueObj.path; - jsonDict[@"autorename"] = valueObj.autorename; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - - return [[DBFILESCreateFolderArg alloc] initWithPath:path autorename:autorename]; -} - -@end - -#import "DBFILESCreateFolderError.h" -#import "DBFILESWriteError.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESCreateFolderError - -@synthesize path = _path; - -#pragma mark - Constructors - -- (instancetype)initWithPath:(DBFILESWriteError *)path { +- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESLookUpPropertiesError *)propertiesError { self = [super init]; if (self) { - _tag = DBFILESCreateFolderErrorPath; - _path = path; + _tag = DBFILESAlphaGetMetadataErrorPropertiesError; + _propertiesError = propertiesError; } return self; } #pragma mark - Instance field accessors -- (DBFILESWriteError *)path { +- (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESCreateFolderErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESAlphaGetMetadataErrorPath, but was %@.", [self tagName]]; } return _path; } +- (DBFILEPROPERTIESLookUpPropertiesError *)propertiesError { + if (![self isPropertiesError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESAlphaGetMetadataErrorPropertiesError, but was %@.", [self tagName]]; + } + return _propertiesError; +} + #pragma mark - Tag state methods - (BOOL)isPath { - return _tag == DBFILESCreateFolderErrorPath; + return _tag == DBFILESAlphaGetMetadataErrorPath; +} + +- (BOOL)isPropertiesError { + return _tag == DBFILESAlphaGetMetadataErrorPropertiesError; } - (NSString *)tagName { switch (_tag) { - case DBFILESCreateFolderErrorPath: - return @"DBFILESCreateFolderErrorPath"; + case DBFILESAlphaGetMetadataErrorPath: + return @"DBFILESAlphaGetMetadataErrorPath"; + case DBFILESAlphaGetMetadataErrorPropertiesError: + return @"DBFILESAlphaGetMetadataErrorPropertiesError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1217,18 +1047,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESCreateFolderErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESAlphaGetMetadataErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESCreateFolderErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESAlphaGetMetadataErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESCreateFolderErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESAlphaGetMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1246,8 +1076,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESCreateFolderErrorPath: + case DBFILESAlphaGetMetadataErrorPath: result = prime * result + [self.path hash]; + break; + case DBFILESAlphaGetMetadataErrorPropertiesError: + result = prime * result + [self.propertiesError hash]; + break; } return prime * result; @@ -1262,19 +1096,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateFolderError:other]; + return [self isEqualToAlphaGetMetadataError:other]; } -- (BOOL)isEqualToCreateFolderError:(DBFILESCreateFolderError *)aCreateFolderError { - if (self == aCreateFolderError) { +- (BOOL)isEqualToAlphaGetMetadataError:(DBFILESAlphaGetMetadataError *)anAlphaGetMetadataError { + if (self == anAlphaGetMetadataError) { return YES; } - if (self.tag != aCreateFolderError.tag) { + if (self.tag != anAlphaGetMetadataError.tag) { return NO; } switch (_tag) { - case DBFILESCreateFolderErrorPath: - return [self.path isEqual:aCreateFolderError.path]; + case DBFILESAlphaGetMetadataErrorPath: + return [self.path isEqual:anAlphaGetMetadataError.path]; + case DBFILESAlphaGetMetadataErrorPropertiesError: + return [self.propertiesError isEqual:anAlphaGetMetadataError.propertiesError]; } return YES; } @@ -1283,29 +1119,37 @@ - (BOOL)isEqualToCreateFolderError:(DBFILESCreateFolderError *)aCreateFolderErro #pragma mark - Serializer Object -@implementation DBFILESCreateFolderErrorSerializer +@implementation DBFILESAlphaGetMetadataErrorSerializer -+ (NSDictionary *)serialize:(DBFILESCreateFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; + } else if ([valueObj isPropertiesError]) { + jsonDict[@"properties_error"] = + [[DBFILEPROPERTIESLookUpPropertiesErrorSerializer serialize:valueObj.propertiesError] mutableCopy]; + jsonDict[@".tag"] = @"properties_error"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESCreateFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { - DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESCreateFolderError alloc] initWithPath:path]; + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESAlphaGetMetadataError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"properties_error"]) { + DBFILEPROPERTIESLookUpPropertiesError *propertiesError = + [DBFILEPROPERTIESLookUpPropertiesErrorSerializer deserialize:valueDict[@"properties_error"]]; + return [[DBFILESAlphaGetMetadataError alloc] initWithPropertiesError:propertiesError]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -1316,38 +1160,71 @@ + (DBFILESCreateFolderError *)deserialize:(NSDictionary *)valueDict { @end -#import "DBFILESFileOpsResult.h" +#import "DBFILEPROPERTIESPropertyGroup.h" +#import "DBFILESCommitInfo.h" +#import "DBFILESWriteMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESFileOpsResult +@implementation DBFILESCommitInfo #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPath:(NSString *)path + mode:(DBFILESWriteMode *)mode + autorename:(NSNumber *)autorename + clientModified:(NSDate *)clientModified + mute:(NSNumber *)mute + propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); self = [super init]; if (self) { + _path = path; + _mode = mode ?: [[DBFILESWriteMode alloc] initWithAdd]; + _autorename = autorename ?: @NO; + _clientModified = clientModified; + _mute = mute ?: @NO; + _propertyGroups = propertyGroups; + _strictConflict = strictConflict ?: @NO; } return self; } +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path + mode:nil + autorename:nil + clientModified:nil + mute:nil + propertyGroups:nil + strictConflict:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESFileOpsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCommitInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESFileOpsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCommitInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESFileOpsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCommitInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1364,6 +1241,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.path hash]; + result = prime * result + [self.mode hash]; + result = prime * result + [self.autorename hash]; + if (self.clientModified != nil) { + result = prime * result + [self.clientModified hash]; + } + result = prime * result + [self.mute hash]; + if (self.propertyGroups != nil) { + result = prime * result + [self.propertyGroups hash]; + } + result = prime * result + [self.strictConflict hash]; + return prime * result; } @@ -1376,13 +1265,38 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileOpsResult:other]; + return [self isEqualToCommitInfo:other]; } -- (BOOL)isEqualToFileOpsResult:(DBFILESFileOpsResult *)aFileOpsResult { - if (self == aFileOpsResult) { +- (BOOL)isEqualToCommitInfo:(DBFILESCommitInfo *)aCommitInfo { + if (self == aCommitInfo) { return YES; } + if (![self.path isEqual:aCommitInfo.path]) { + return NO; + } + if (![self.mode isEqual:aCommitInfo.mode]) { + return NO; + } + if (![self.autorename isEqual:aCommitInfo.autorename]) { + return NO; + } + if (self.clientModified) { + if (![self.clientModified isEqual:aCommitInfo.clientModified]) { + return NO; + } + } + if (![self.mute isEqual:aCommitInfo.mute]) { + return NO; + } + if (self.propertyGroups) { + if (![self.propertyGroups isEqual:aCommitInfo.propertyGroups]) { + return NO; + } + } + if (![self.strictConflict isEqual:aCommitInfo.strictConflict]) { + return NO; + } return YES; } @@ -1390,59 +1304,97 @@ - (BOOL)isEqualToFileOpsResult:(DBFILESFileOpsResult *)aFileOpsResult { #pragma mark - Serializer Object -@implementation DBFILESFileOpsResultSerializer +@implementation DBFILESCommitInfoSerializer -+ (NSDictionary *)serialize:(DBFILESFileOpsResult *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBFILESCommitInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBFILESFileOpsResult *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) - - return [[DBFILESFileOpsResult alloc] initDefault]; -} - -@end - -#import "DBFILESCreateFolderResult.h" -#import "DBFILESFileOpsResult.h" -#import "DBFILESFolderMetadata.h" + jsonDict[@"path"] = valueObj.path; + jsonDict[@"mode"] = [DBFILESWriteModeSerializer serialize:valueObj.mode]; + jsonDict[@"autorename"] = valueObj.autorename; + if (valueObj.clientModified) { + jsonDict[@"client_modified"] = + [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + jsonDict[@"mute"] = valueObj.mute; + if (valueObj.propertyGroups) { + jsonDict[@"property_groups"] = + [DBArraySerializer serialize:valueObj.propertyGroups + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; + }]; + } + jsonDict[@"strict_conflict"] = valueObj.strictConflict; + + return jsonDict; +} + ++ (DBFILESCommitInfo *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESWriteMode *mode = valueDict[@"mode"] ? [DBFILESWriteModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESWriteMode alloc] initWithAdd]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSDate *clientModified = valueDict[@"client_modified"] ? [DBNSDateSerializer deserialize:valueDict[@"client_modified"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSNumber *mute = valueDict[@"mute"] ?: @NO; + NSArray *propertyGroups = + valueDict[@"property_groups"] + ? [DBArraySerializer deserialize:valueDict[@"property_groups"] + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; + }] + : nil; + NSNumber *strictConflict = valueDict[@"strict_conflict"] ?: @NO; + + return [[DBFILESCommitInfo alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict]; +} + +@end + +#import "DBFILESContentSyncSetting.h" +#import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESCreateFolderResult +@implementation DBFILESContentSyncSetting #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](metadata); +- (instancetype)initWithId_:(NSString *)id_ syncSetting:(DBFILESSyncSetting *)syncSetting { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](id_); + [DBStoneValidators nonnullValidator:nil](syncSetting); - self = [super initDefault]; + self = [super init]; if (self) { - _metadata = metadata; + _id_ = id_; + _syncSetting = syncSetting; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESCreateFolderResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESContentSyncSettingSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESCreateFolderResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESContentSyncSettingSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESCreateFolderResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESContentSyncSettingSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1459,7 +1411,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; + result = prime * result + [self.id_ hash]; + result = prime * result + [self.syncSetting hash]; return prime * result; } @@ -1473,14 +1426,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateFolderResult:other]; + return [self isEqualToContentSyncSetting:other]; } -- (BOOL)isEqualToCreateFolderResult:(DBFILESCreateFolderResult *)aCreateFolderResult { - if (self == aCreateFolderResult) { +- (BOOL)isEqualToContentSyncSetting:(DBFILESContentSyncSetting *)aContentSyncSetting { + if (self == aContentSyncSetting) { return YES; } - if (![self.metadata isEqual:aCreateFolderResult.metadata]) { + if (![self.id_ isEqual:aContentSyncSetting.id_]) { + return NO; + } + if (![self.syncSetting isEqual:aContentSyncSetting.syncSetting]) { return NO; } return YES; @@ -1490,61 +1446,63 @@ - (BOOL)isEqualToCreateFolderResult:(DBFILESCreateFolderResult *)aCreateFolderRe #pragma mark - Serializer Object -@implementation DBFILESCreateFolderResultSerializer +@implementation DBFILESContentSyncSettingSerializer -+ (NSDictionary *)serialize:(DBFILESCreateFolderResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESContentSyncSetting *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"id"] = valueObj.id_; + jsonDict[@"sync_setting"] = [DBFILESSyncSettingSerializer serialize:valueObj.syncSetting]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)valueDict { - DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESContentSyncSetting *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + DBFILESSyncSetting *syncSetting = [DBFILESSyncSettingSerializer deserialize:valueDict[@"sync_setting"]]; - return [[DBFILESCreateFolderResult alloc] initWithMetadata:metadata]; + return [[DBFILESContentSyncSetting alloc] initWithId_:id_ syncSetting:syncSetting]; } @end -#import "DBFILESDeleteArg.h" +#import "DBFILESContentSyncSettingArg.h" +#import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteArg +@implementation DBFILESContentSyncSettingArg #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); +- (instancetype)initWithId_:(NSString *)id_ syncSetting:(DBFILESSyncSettingArg *)syncSetting { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](id_); + [DBStoneValidators nonnullValidator:nil](syncSetting); self = [super init]; if (self) { - _path = path; + _id_ = id_; + _syncSetting = syncSetting; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESContentSyncSettingArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESContentSyncSettingArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESContentSyncSettingArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1561,7 +1519,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; + result = prime * result + [self.id_ hash]; + result = prime * result + [self.syncSetting hash]; return prime * result; } @@ -1575,14 +1534,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteArg:other]; + return [self isEqualToContentSyncSettingArg:other]; } -- (BOOL)isEqualToDeleteArg:(DBFILESDeleteArg *)aDeleteArg { - if (self == aDeleteArg) { +- (BOOL)isEqualToContentSyncSettingArg:(DBFILESContentSyncSettingArg *)aContentSyncSettingArg { + if (self == aContentSyncSettingArg) { return YES; } - if (![self.path isEqual:aDeleteArg.path]) { + if (![self.id_ isEqual:aContentSyncSettingArg.id_]) { + return NO; + } + if (![self.syncSetting isEqual:aContentSyncSettingArg.syncSetting]) { return NO; } return YES; @@ -1592,62 +1554,67 @@ - (BOOL)isEqualToDeleteArg:(DBFILESDeleteArg *)aDeleteArg { #pragma mark - Serializer Object -@implementation DBFILESDeleteArgSerializer +@implementation DBFILESContentSyncSettingArgSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESContentSyncSettingArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; + jsonDict[@"id"] = valueObj.id_; + jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; ++ (DBFILESContentSyncSettingArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + DBFILESSyncSettingArg *syncSetting = [DBFILESSyncSettingArgSerializer deserialize:valueDict[@"sync_setting"]]; - return [[DBFILESDeleteArg alloc] initWithPath:path]; + return [[DBFILESContentSyncSettingArg alloc] initWithId_:id_ syncSetting:syncSetting]; } @end -#import "DBFILESDeleteArg.h" -#import "DBFILESDeleteBatchArg.h" +#import "DBFILESCreateFolderArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchArg +@implementation DBFILESCreateFolderArg #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +- (instancetype)initWithPath:(NSString *)path autorename:(NSNumber *)autorename { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); self = [super init]; if (self) { - _entries = entries; + _path = path; + _autorename = autorename ?: @NO; } return self; } +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path autorename:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1664,7 +1631,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; + result = prime * result + [self.path hash]; + result = prime * result + [self.autorename hash]; return prime * result; } @@ -1678,14 +1646,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchArg:other]; + return [self isEqualToCreateFolderArg:other]; } -- (BOOL)isEqualToDeleteBatchArg:(DBFILESDeleteBatchArg *)aDeleteBatchArg { - if (self == aDeleteBatchArg) { +- (BOOL)isEqualToCreateFolderArg:(DBFILESCreateFolderArg *)aCreateFolderArg { + if (self == aCreateFolderArg) { return YES; } - if (![self.entries isEqual:aDeleteBatchArg.entries]) { + if (![self.path isEqual:aCreateFolderArg.path]) { + return NO; + } + if (![self.autorename isEqual:aCreateFolderArg.autorename]) { return NO; } return YES; @@ -1695,93 +1666,77 @@ - (BOOL)isEqualToDeleteBatchArg:(DBFILESDeleteBatchArg *)aDeleteBatchArg { #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchArgSerializer +@implementation DBFILESCreateFolderArgSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESDeleteArgSerializer serialize:elem0]; - }]; + jsonDict[@"path"] = valueObj.path; + jsonDict[@"autorename"] = valueObj.autorename; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESDeleteArgSerializer deserialize:elem0]; - }]; ++ (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - return [[DBFILESDeleteBatchArg alloc] initWithEntries:entries]; + return [[DBFILESCreateFolderArg alloc] initWithPath:path autorename:autorename]; } @end -#import "DBFILESDeleteBatchError.h" +#import "DBFILESCreateFolderBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchError +@implementation DBFILESCreateFolderBatchArg #pragma mark - Constructors -- (instancetype)initWithTooManyWriteOperations { - self = [super init]; - if (self) { - _tag = DBFILESDeleteBatchErrorTooManyWriteOperations; - } - return self; -} +- (instancetype)initWithPaths:(NSArray *)paths + autorename:(NSNumber *)autorename + forceAsync:(NSNumber *)forceAsync { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:@(10000) + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/" + @".*)?)"]]]](paths); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchErrorOther; + _paths = paths; + _autorename = autorename ?: @NO; + _forceAsync = forceAsync ?: @NO; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isTooManyWriteOperations { - return _tag == DBFILESDeleteBatchErrorTooManyWriteOperations; -} - -- (BOOL)isOther { - return _tag == DBFILESDeleteBatchErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESDeleteBatchErrorTooManyWriteOperations: - return @"DBFILESDeleteBatchErrorTooManyWriteOperations"; - case DBFILESDeleteBatchErrorOther: - return @"DBFILESDeleteBatchErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithPaths:(NSArray *)paths { + return [self initWithPaths:paths autorename:nil forceAsync:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1798,12 +1753,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESDeleteBatchErrorTooManyWriteOperations: - result = prime * result + [[self tagName] hash]; - case DBFILESDeleteBatchErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.paths hash]; + result = prime * result + [self.autorename hash]; + result = prime * result + [self.forceAsync hash]; return prime * result; } @@ -1817,21 +1769,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchError:other]; + return [self isEqualToCreateFolderBatchArg:other]; } -- (BOOL)isEqualToDeleteBatchError:(DBFILESDeleteBatchError *)aDeleteBatchError { - if (self == aDeleteBatchError) { +- (BOOL)isEqualToCreateFolderBatchArg:(DBFILESCreateFolderBatchArg *)aCreateFolderBatchArg { + if (self == aCreateFolderBatchArg) { return YES; } - if (self.tag != aDeleteBatchError.tag) { + if (![self.paths isEqual:aCreateFolderBatchArg.paths]) { return NO; } - switch (_tag) { - case DBFILESDeleteBatchErrorTooManyWriteOperations: - return [[self tagName] isEqual:[aDeleteBatchError tagName]]; - case DBFILESDeleteBatchErrorOther: - return [[self tagName] isEqual:[aDeleteBatchError tagName]]; + if (![self.autorename isEqual:aCreateFolderBatchArg.autorename]) { + return NO; + } + if (![self.forceAsync isEqual:aCreateFolderBatchArg.forceAsync]) { + return NO; } return YES; } @@ -1840,74 +1792,48 @@ - (BOOL)isEqualToDeleteBatchError:(DBFILESDeleteBatchError *)aDeleteBatchError { #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchErrorSerializer +@implementation DBFILESCreateFolderBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTooManyWriteOperations]) { - jsonDict[@".tag"] = @"too_many_write_operations"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"paths"] = [DBArraySerializer serialize:valueObj.paths + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"autorename"] = valueObj.autorename; + jsonDict[@"force_async"] = valueObj.forceAsync; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESCreateFolderBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *paths = [DBArraySerializer deserialize:valueDict[@"paths"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; - if ([tag isEqualToString:@"too_many_write_operations"]) { - return [[DBFILESDeleteBatchError alloc] initWithTooManyWriteOperations]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESDeleteBatchError alloc] initWithOther]; - } else { - return [[DBFILESDeleteBatchError alloc] initWithOther]; - } + return [[DBFILESCreateFolderBatchArg alloc] initWithPaths:paths autorename:autorename forceAsync:forceAsync]; } @end -#import "DBASYNCPollResultBase.h" -#import "DBFILESDeleteBatchError.h" -#import "DBFILESDeleteBatchJobStatus.h" -#import "DBFILESDeleteBatchResult.h" +#import "DBFILESCreateFolderBatchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchJobStatus - -@synthesize complete = _complete; -@synthesize failed = _failed; +@implementation DBFILESCreateFolderBatchError #pragma mark - Constructors -- (instancetype)initWithInProgress { - self = [super init]; - if (self) { - _tag = DBFILESDeleteBatchJobStatusInProgress; - } - return self; -} - -- (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete { - self = [super init]; - if (self) { - _tag = DBFILESDeleteBatchJobStatusComplete; - _complete = complete; - } - return self; -} - -- (instancetype)initWithFailed:(DBFILESDeleteBatchError *)failed { +- (instancetype)initWithTooManyFiles { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchJobStatusFailed; - _failed = failed; + _tag = DBFILESCreateFolderBatchErrorTooManyFiles; } return self; } @@ -1915,25 +1841,202 @@ - (instancetype)initWithFailed:(DBFILESDeleteBatchError *)failed { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchJobStatusOther; + _tag = DBFILESCreateFolderBatchErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESDeleteBatchResult *)complete { +#pragma mark - Tag state methods + +- (BOOL)isTooManyFiles { + return _tag == DBFILESCreateFolderBatchErrorTooManyFiles; +} + +- (BOOL)isOther { + return _tag == DBFILESCreateFolderBatchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESCreateFolderBatchErrorTooManyFiles: + return @"DBFILESCreateFolderBatchErrorTooManyFiles"; + case DBFILESCreateFolderBatchErrorOther: + return @"DBFILESCreateFolderBatchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESCreateFolderBatchErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESCreateFolderBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCreateFolderBatchError:other]; +} + +- (BOOL)isEqualToCreateFolderBatchError:(DBFILESCreateFolderBatchError *)aCreateFolderBatchError { + if (self == aCreateFolderBatchError) { + return YES; + } + if (self.tag != aCreateFolderBatchError.tag) { + return NO; + } + switch (_tag) { + case DBFILESCreateFolderBatchErrorTooManyFiles: + return [[self tagName] isEqual:[aCreateFolderBatchError tagName]]; + case DBFILESCreateFolderBatchErrorOther: + return [[self tagName] isEqual:[aCreateFolderBatchError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESCreateFolderBatchErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESCreateFolderBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESCreateFolderBatchError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESCreateFolderBatchError alloc] initWithOther]; + } else { + return [[DBFILESCreateFolderBatchError alloc] initWithOther]; + } +} + +@end + +#import "DBASYNCPollResultBase.h" +#import "DBFILESCreateFolderBatchError.h" +#import "DBFILESCreateFolderBatchJobStatus.h" +#import "DBFILESCreateFolderBatchResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESCreateFolderBatchJobStatus + +@synthesize complete = _complete; +@synthesize failed = _failed; + +#pragma mark - Constructors + +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBFILESCreateFolderBatchJobStatusInProgress; + } + return self; +} + +- (instancetype)initWithComplete:(DBFILESCreateFolderBatchResult *)complete { + self = [super init]; + if (self) { + _tag = DBFILESCreateFolderBatchJobStatusComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithFailed:(DBFILESCreateFolderBatchError *)failed { + self = [super init]; + if (self) { + _tag = DBFILESCreateFolderBatchJobStatusFailed; + _failed = failed; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESCreateFolderBatchJobStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESCreateFolderBatchResult *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchJobStatusComplete, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESCreateFolderBatchJobStatusComplete, but was %@.", [self tagName]]; } return _complete; } -- (DBFILESDeleteBatchError *)failed { +- (DBFILESCreateFolderBatchError *)failed { if (![self isFailed]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchJobStatusFailed, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESCreateFolderBatchJobStatusFailed, but was %@.", [self tagName]]; } return _failed; } @@ -1941,31 +2044,31 @@ - (DBFILESDeleteBatchError *)failed { #pragma mark - Tag state methods - (BOOL)isInProgress { - return _tag == DBFILESDeleteBatchJobStatusInProgress; + return _tag == DBFILESCreateFolderBatchJobStatusInProgress; } - (BOOL)isComplete { - return _tag == DBFILESDeleteBatchJobStatusComplete; + return _tag == DBFILESCreateFolderBatchJobStatusComplete; } - (BOOL)isFailed { - return _tag == DBFILESDeleteBatchJobStatusFailed; + return _tag == DBFILESCreateFolderBatchJobStatusFailed; } - (BOOL)isOther { - return _tag == DBFILESDeleteBatchJobStatusOther; + return _tag == DBFILESCreateFolderBatchJobStatusOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESDeleteBatchJobStatusInProgress: - return @"DBFILESDeleteBatchJobStatusInProgress"; - case DBFILESDeleteBatchJobStatusComplete: - return @"DBFILESDeleteBatchJobStatusComplete"; - case DBFILESDeleteBatchJobStatusFailed: - return @"DBFILESDeleteBatchJobStatusFailed"; - case DBFILESDeleteBatchJobStatusOther: - return @"DBFILESDeleteBatchJobStatusOther"; + case DBFILESCreateFolderBatchJobStatusInProgress: + return @"DBFILESCreateFolderBatchJobStatusInProgress"; + case DBFILESCreateFolderBatchJobStatusComplete: + return @"DBFILESCreateFolderBatchJobStatusComplete"; + case DBFILESCreateFolderBatchJobStatusFailed: + return @"DBFILESCreateFolderBatchJobStatusFailed"; + case DBFILESCreateFolderBatchJobStatusOther: + return @"DBFILESCreateFolderBatchJobStatusOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1973,18 +2076,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2002,14 +2105,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESDeleteBatchJobStatusInProgress: + case DBFILESCreateFolderBatchJobStatusInProgress: result = prime * result + [[self tagName] hash]; - case DBFILESDeleteBatchJobStatusComplete: + break; + case DBFILESCreateFolderBatchJobStatusComplete: result = prime * result + [self.complete hash]; - case DBFILESDeleteBatchJobStatusFailed: + break; + case DBFILESCreateFolderBatchJobStatusFailed: result = prime * result + [self.failed hash]; - case DBFILESDeleteBatchJobStatusOther: + break; + case DBFILESCreateFolderBatchJobStatusOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2024,25 +2131,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchJobStatus:other]; + return [self isEqualToCreateFolderBatchJobStatus:other]; } -- (BOOL)isEqualToDeleteBatchJobStatus:(DBFILESDeleteBatchJobStatus *)aDeleteBatchJobStatus { - if (self == aDeleteBatchJobStatus) { +- (BOOL)isEqualToCreateFolderBatchJobStatus:(DBFILESCreateFolderBatchJobStatus *)aCreateFolderBatchJobStatus { + if (self == aCreateFolderBatchJobStatus) { return YES; } - if (self.tag != aDeleteBatchJobStatus.tag) { + if (self.tag != aCreateFolderBatchJobStatus.tag) { return NO; } switch (_tag) { - case DBFILESDeleteBatchJobStatusInProgress: - return [[self tagName] isEqual:[aDeleteBatchJobStatus tagName]]; - case DBFILESDeleteBatchJobStatusComplete: - return [self.complete isEqual:aDeleteBatchJobStatus.complete]; - case DBFILESDeleteBatchJobStatusFailed: - return [self.failed isEqual:aDeleteBatchJobStatus.failed]; - case DBFILESDeleteBatchJobStatusOther: - return [[self tagName] isEqual:[aDeleteBatchJobStatus tagName]]; + case DBFILESCreateFolderBatchJobStatusInProgress: + return [[self tagName] isEqual:[aCreateFolderBatchJobStatus tagName]]; + case DBFILESCreateFolderBatchJobStatusComplete: + return [self.complete isEqual:aCreateFolderBatchJobStatus.complete]; + case DBFILESCreateFolderBatchJobStatusFailed: + return [self.failed isEqual:aCreateFolderBatchJobStatus.failed]; + case DBFILESCreateFolderBatchJobStatusOther: + return [[self tagName] isEqual:[aCreateFolderBatchJobStatus tagName]]; } return YES; } @@ -2051,18 +2158,18 @@ - (BOOL)isEqualToDeleteBatchJobStatus:(DBFILESDeleteBatchJobStatus *)aDeleteBatc #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchJobStatusSerializer +@implementation DBFILESCreateFolderBatchJobStatusSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESDeleteBatchResultSerializer serialize:valueObj.complete] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBFILESCreateFolderBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBFILESDeleteBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@"failed"] = [[DBFILESCreateFolderBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; jsonDict[@".tag"] = @"failed"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -2070,38 +2177,38 @@ + (NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESCreateFolderBatchJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { - return [[DBFILESDeleteBatchJobStatus alloc] initWithInProgress]; + return [[DBFILESCreateFolderBatchJobStatus alloc] initWithInProgress]; } else if ([tag isEqualToString:@"complete"]) { - DBFILESDeleteBatchResult *complete = [DBFILESDeleteBatchResultSerializer deserialize:valueDict]; - return [[DBFILESDeleteBatchJobStatus alloc] initWithComplete:complete]; + DBFILESCreateFolderBatchResult *complete = [DBFILESCreateFolderBatchResultSerializer deserialize:valueDict]; + return [[DBFILESCreateFolderBatchJobStatus alloc] initWithComplete:complete]; } else if ([tag isEqualToString:@"failed"]) { - DBFILESDeleteBatchError *failed = [DBFILESDeleteBatchErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBFILESDeleteBatchJobStatus alloc] initWithFailed:failed]; + DBFILESCreateFolderBatchError *failed = [DBFILESCreateFolderBatchErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBFILESCreateFolderBatchJobStatus alloc] initWithFailed:failed]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESDeleteBatchJobStatus alloc] initWithOther]; + return [[DBFILESCreateFolderBatchJobStatus alloc] initWithOther]; } else { - return [[DBFILESDeleteBatchJobStatus alloc] initWithOther]; + return [[DBFILESCreateFolderBatchJobStatus alloc] initWithOther]; } } @end #import "DBASYNCLaunchResultBase.h" -#import "DBFILESDeleteBatchLaunch.h" -#import "DBFILESDeleteBatchResult.h" +#import "DBFILESCreateFolderBatchLaunch.h" +#import "DBFILESCreateFolderBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchLaunch +@implementation DBFILESCreateFolderBatchLaunch @synthesize asyncJobId = _asyncJobId; @synthesize complete = _complete; @@ -2111,16 +2218,16 @@ @implementation DBFILESDeleteBatchLaunch - (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchLaunchAsyncJobId; + _tag = DBFILESCreateFolderBatchLaunchAsyncJobId; _asyncJobId = asyncJobId; } return self; } -- (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete { +- (instancetype)initWithComplete:(DBFILESCreateFolderBatchResult *)complete { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchLaunchComplete; + _tag = DBFILESCreateFolderBatchLaunchComplete; _complete = complete; } return self; @@ -2129,7 +2236,7 @@ - (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchLaunchOther; + _tag = DBFILESCreateFolderBatchLaunchOther; } return self; } @@ -2139,15 +2246,15 @@ - (instancetype)initWithOther { - (NSString *)asyncJobId { if (![self isAsyncJobId]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchLaunchAsyncJobId, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESCreateFolderBatchLaunchAsyncJobId, but was %@.", [self tagName]]; } return _asyncJobId; } -- (DBFILESDeleteBatchResult *)complete { +- (DBFILESCreateFolderBatchResult *)complete { if (![self isComplete]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchLaunchComplete, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESCreateFolderBatchLaunchComplete, but was %@.", [self tagName]]; } return _complete; } @@ -2155,25 +2262,25 @@ - (DBFILESDeleteBatchResult *)complete { #pragma mark - Tag state methods - (BOOL)isAsyncJobId { - return _tag == DBFILESDeleteBatchLaunchAsyncJobId; + return _tag == DBFILESCreateFolderBatchLaunchAsyncJobId; } - (BOOL)isComplete { - return _tag == DBFILESDeleteBatchLaunchComplete; + return _tag == DBFILESCreateFolderBatchLaunchComplete; } - (BOOL)isOther { - return _tag == DBFILESDeleteBatchLaunchOther; + return _tag == DBFILESCreateFolderBatchLaunchOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESDeleteBatchLaunchAsyncJobId: - return @"DBFILESDeleteBatchLaunchAsyncJobId"; - case DBFILESDeleteBatchLaunchComplete: - return @"DBFILESDeleteBatchLaunchComplete"; - case DBFILESDeleteBatchLaunchOther: - return @"DBFILESDeleteBatchLaunchOther"; + case DBFILESCreateFolderBatchLaunchAsyncJobId: + return @"DBFILESCreateFolderBatchLaunchAsyncJobId"; + case DBFILESCreateFolderBatchLaunchComplete: + return @"DBFILESCreateFolderBatchLaunchComplete"; + case DBFILESCreateFolderBatchLaunchOther: + return @"DBFILESCreateFolderBatchLaunchOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -2181,18 +2288,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchLaunchSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchLaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchLaunchSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchLaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchLaunchSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2210,12 +2317,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESDeleteBatchLaunchAsyncJobId: + case DBFILESCreateFolderBatchLaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; - case DBFILESDeleteBatchLaunchComplete: + break; + case DBFILESCreateFolderBatchLaunchComplete: result = prime * result + [self.complete hash]; - case DBFILESDeleteBatchLaunchOther: + break; + case DBFILESCreateFolderBatchLaunchOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2230,23 +2340,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchLaunch:other]; + return [self isEqualToCreateFolderBatchLaunch:other]; } -- (BOOL)isEqualToDeleteBatchLaunch:(DBFILESDeleteBatchLaunch *)aDeleteBatchLaunch { - if (self == aDeleteBatchLaunch) { +- (BOOL)isEqualToCreateFolderBatchLaunch:(DBFILESCreateFolderBatchLaunch *)aCreateFolderBatchLaunch { + if (self == aCreateFolderBatchLaunch) { return YES; } - if (self.tag != aDeleteBatchLaunch.tag) { + if (self.tag != aCreateFolderBatchLaunch.tag) { return NO; } switch (_tag) { - case DBFILESDeleteBatchLaunchAsyncJobId: - return [self.asyncJobId isEqual:aDeleteBatchLaunch.asyncJobId]; - case DBFILESDeleteBatchLaunchComplete: - return [self.complete isEqual:aDeleteBatchLaunch.complete]; - case DBFILESDeleteBatchLaunchOther: - return [[self tagName] isEqual:[aDeleteBatchLaunch tagName]]; + case DBFILESCreateFolderBatchLaunchAsyncJobId: + return [self.asyncJobId isEqual:aCreateFolderBatchLaunch.asyncJobId]; + case DBFILESCreateFolderBatchLaunchComplete: + return [self.complete isEqual:aCreateFolderBatchLaunch.complete]; + case DBFILESCreateFolderBatchLaunchOther: + return [[self tagName] isEqual:[aCreateFolderBatchLaunch tagName]]; } return YES; } @@ -2255,16 +2365,16 @@ - (BOOL)isEqualToDeleteBatchLaunch:(DBFILESDeleteBatchLaunch *)aDeleteBatchLaunc #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchLaunchSerializer +@implementation DBFILESCreateFolderBatchLaunchSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchLaunch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAsyncJobId]) { jsonDict[@"async_job_id"] = valueObj.asyncJobId; jsonDict[@".tag"] = @"async_job_id"; } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESDeleteBatchResultSerializer serialize:valueObj.complete] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBFILESCreateFolderBatchResultSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -2272,66 +2382,59 @@ + (NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESCreateFolderBatchLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBFILESDeleteBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; + return [[DBFILESCreateFolderBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; } else if ([tag isEqualToString:@"complete"]) { - DBFILESDeleteBatchResult *complete = [DBFILESDeleteBatchResultSerializer deserialize:valueDict]; - return [[DBFILESDeleteBatchLaunch alloc] initWithComplete:complete]; + DBFILESCreateFolderBatchResult *complete = [DBFILESCreateFolderBatchResultSerializer deserialize:valueDict]; + return [[DBFILESCreateFolderBatchLaunch alloc] initWithComplete:complete]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESDeleteBatchLaunch alloc] initWithOther]; + return [[DBFILESCreateFolderBatchLaunch alloc] initWithOther]; } else { - return [[DBFILESDeleteBatchLaunch alloc] initWithOther]; + return [[DBFILESCreateFolderBatchLaunch alloc] initWithOther]; } } @end -#import "DBFILESDeleteBatchResult.h" -#import "DBFILESDeleteBatchResultEntry.h" #import "DBFILESFileOpsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchResult +@implementation DBFILESFileOpsResult #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +- (instancetype)initDefault { - self = [super initDefault]; + self = [super init]; if (self) { - _entries = entries; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileOpsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileOpsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESFileOpsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2348,8 +2451,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; - return prime * result; } @@ -2362,16 +2463,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchResult:other]; + return [self isEqualToFileOpsResult:other]; } -- (BOOL)isEqualToDeleteBatchResult:(DBFILESDeleteBatchResult *)aDeleteBatchResult { - if (self == aDeleteBatchResult) { +- (BOOL)isEqualToFileOpsResult:(DBFILESFileOpsResult *)aFileOpsResult { + if (self == aFileOpsResult) { return YES; } - if (![self.entries isEqual:aDeleteBatchResult.entries]) { - return NO; - } return YES; } @@ -2379,66 +2477,62 @@ - (BOOL)isEqualToDeleteBatchResult:(DBFILESDeleteBatchResult *)aDeleteBatchResul #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchResultSerializer +@implementation DBFILESFileOpsResultSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESFileOpsResult *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESDeleteBatchResultEntrySerializer serialize:elem0]; - }]; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESDeleteBatchResultEntrySerializer deserialize:elem0]; - }]; ++ (DBFILESFileOpsResult *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBFILESDeleteBatchResult alloc] initWithEntries:entries]; + return [[DBFILESFileOpsResult alloc] initDefault]; } @end -#import "DBFILESDeleteBatchResultData.h" -#import "DBFILESMetadata.h" +#import "DBFILESCreateFolderBatchResult.h" +#import "DBFILESCreateFolderBatchResultEntry.h" +#import "DBFILESFileOpsResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchResultData +@implementation DBFILESCreateFolderBatchResult #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](metadata); +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); - self = [super init]; + self = [super initDefault]; if (self) { - _metadata = metadata; + _entries = entries; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchResultDataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchResultDataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchResultDataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2455,7 +2549,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; + result = prime * result + [self.entries hash]; return prime * result; } @@ -2469,14 +2563,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchResultData:other]; + return [self isEqualToCreateFolderBatchResult:other]; } -- (BOOL)isEqualToDeleteBatchResultData:(DBFILESDeleteBatchResultData *)aDeleteBatchResultData { - if (self == aDeleteBatchResultData) { +- (BOOL)isEqualToCreateFolderBatchResult:(DBFILESCreateFolderBatchResult *)aCreateFolderBatchResult { + if (self == aCreateFolderBatchResult) { return YES; } - if (![self.metadata isEqual:aDeleteBatchResultData.metadata]) { + if (![self.entries isEqual:aCreateFolderBatchResult.entries]) { return NO; } return YES; @@ -2486,52 +2580,59 @@ - (BOOL)isEqualToDeleteBatchResultData:(DBFILESDeleteBatchResultData *)aDeleteBa #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchResultDataSerializer +@implementation DBFILESCreateFolderBatchResultSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchResultData *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESCreateFolderBatchResultEntrySerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESCreateFolderBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESCreateFolderBatchResultEntrySerializer deserialize:elem0]; + }]; - return [[DBFILESDeleteBatchResultData alloc] initWithMetadata:metadata]; + return [[DBFILESCreateFolderBatchResult alloc] initWithEntries:entries]; } @end -#import "DBFILESDeleteBatchResultData.h" -#import "DBFILESDeleteBatchResultEntry.h" -#import "DBFILESDeleteError.h" +#import "DBFILESCreateFolderBatchResultEntry.h" +#import "DBFILESCreateFolderEntryError.h" +#import "DBFILESCreateFolderEntryResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteBatchResultEntry +@implementation DBFILESCreateFolderBatchResultEntry @synthesize success = _success; @synthesize failure = _failure; #pragma mark - Constructors -- (instancetype)initWithSuccess:(DBFILESDeleteBatchResultData *)success { +- (instancetype)initWithSuccess:(DBFILESCreateFolderEntryResult *)success { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchResultEntrySuccess; + _tag = DBFILESCreateFolderBatchResultEntrySuccess; _success = success; } return self; } -- (instancetype)initWithFailure:(DBFILESDeleteError *)failure { +- (instancetype)initWithFailure:(DBFILESCreateFolderEntryError *)failure { self = [super init]; if (self) { - _tag = DBFILESDeleteBatchResultEntryFailure; + _tag = DBFILESCreateFolderBatchResultEntryFailure; _failure = failure; } return self; @@ -2539,18 +2640,20 @@ - (instancetype)initWithFailure:(DBFILESDeleteError *)failure { #pragma mark - Instance field accessors -- (DBFILESDeleteBatchResultData *)success { +- (DBFILESCreateFolderEntryResult *)success { if (![self isSuccess]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchResultEntrySuccess, but was %@.", [self tagName]]; + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESCreateFolderBatchResultEntrySuccess, but was %@.", [self tagName]]; } return _success; } -- (DBFILESDeleteError *)failure { +- (DBFILESCreateFolderEntryError *)failure { if (![self isFailure]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteBatchResultEntryFailure, but was %@.", [self tagName]]; + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESCreateFolderBatchResultEntryFailure, but was %@.", [self tagName]]; } return _failure; } @@ -2558,19 +2661,19 @@ - (DBFILESDeleteError *)failure { #pragma mark - Tag state methods - (BOOL)isSuccess { - return _tag == DBFILESDeleteBatchResultEntrySuccess; + return _tag == DBFILESCreateFolderBatchResultEntrySuccess; } - (BOOL)isFailure { - return _tag == DBFILESDeleteBatchResultEntryFailure; + return _tag == DBFILESCreateFolderBatchResultEntryFailure; } - (NSString *)tagName { switch (_tag) { - case DBFILESDeleteBatchResultEntrySuccess: - return @"DBFILESDeleteBatchResultEntrySuccess"; - case DBFILESDeleteBatchResultEntryFailure: - return @"DBFILESDeleteBatchResultEntryFailure"; + case DBFILESCreateFolderBatchResultEntrySuccess: + return @"DBFILESCreateFolderBatchResultEntrySuccess"; + case DBFILESCreateFolderBatchResultEntryFailure: + return @"DBFILESCreateFolderBatchResultEntryFailure"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -2578,18 +2681,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteBatchResultEntrySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderBatchResultEntrySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteBatchResultEntrySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderBatchResultEntrySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteBatchResultEntrySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2607,10 +2710,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESDeleteBatchResultEntrySuccess: + case DBFILESCreateFolderBatchResultEntrySuccess: result = prime * result + [self.success hash]; - case DBFILESDeleteBatchResultEntryFailure: + break; + case DBFILESCreateFolderBatchResultEntryFailure: result = prime * result + [self.failure hash]; + break; } return prime * result; @@ -2625,21 +2730,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteBatchResultEntry:other]; + return [self isEqualToCreateFolderBatchResultEntry:other]; } -- (BOOL)isEqualToDeleteBatchResultEntry:(DBFILESDeleteBatchResultEntry *)aDeleteBatchResultEntry { - if (self == aDeleteBatchResultEntry) { +- (BOOL)isEqualToCreateFolderBatchResultEntry:(DBFILESCreateFolderBatchResultEntry *)aCreateFolderBatchResultEntry { + if (self == aCreateFolderBatchResultEntry) { return YES; } - if (self.tag != aDeleteBatchResultEntry.tag) { + if (self.tag != aCreateFolderBatchResultEntry.tag) { return NO; } switch (_tag) { - case DBFILESDeleteBatchResultEntrySuccess: - return [self.success isEqual:aDeleteBatchResultEntry.success]; - case DBFILESDeleteBatchResultEntryFailure: - return [self.failure isEqual:aDeleteBatchResultEntry.failure]; + case DBFILESCreateFolderBatchResultEntrySuccess: + return [self.success isEqual:aCreateFolderBatchResultEntry.success]; + case DBFILESCreateFolderBatchResultEntryFailure: + return [self.failure isEqual:aCreateFolderBatchResultEntry.failure]; } return YES; } @@ -2648,16 +2753,16 @@ - (BOOL)isEqualToDeleteBatchResultEntry:(DBFILESDeleteBatchResultEntry *)aDelete #pragma mark - Serializer Object -@implementation DBFILESDeleteBatchResultEntrySerializer +@implementation DBFILESCreateFolderBatchResultEntrySerializer -+ (NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBFILESDeleteBatchResultDataSerializer serialize:valueObj.success] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBFILESCreateFolderEntryResultSerializer serialize:valueObj.success]]; jsonDict[@".tag"] = @"success"; } else if ([valueObj isFailure]) { - jsonDict[@"failure"] = [[DBFILESDeleteErrorSerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@"failure"] = [[DBFILESCreateFolderEntryErrorSerializer serialize:valueObj.failure] mutableCopy]; jsonDict[@".tag"] = @"failure"; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -2665,18 +2770,19 @@ + (NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESCreateFolderBatchResultEntry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { - DBFILESDeleteBatchResultData *success = [DBFILESDeleteBatchResultDataSerializer deserialize:valueDict]; - return [[DBFILESDeleteBatchResultEntry alloc] initWithSuccess:success]; + DBFILESCreateFolderEntryResult *success = [DBFILESCreateFolderEntryResultSerializer deserialize:valueDict]; + return [[DBFILESCreateFolderBatchResultEntry alloc] initWithSuccess:success]; } else if ([tag isEqualToString:@"failure"]) { - DBFILESDeleteError *failure = [DBFILESDeleteErrorSerializer deserialize:valueDict[@"failure"]]; - return [[DBFILESDeleteBatchResultEntry alloc] initWithFailure:failure]; + DBFILESCreateFolderEntryError *failure = + [DBFILESCreateFolderEntryErrorSerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESCreateFolderBatchResultEntry alloc] initWithFailure:failure]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -2687,51 +2793,24 @@ + (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)valueDict { @end -#import "DBFILESDeleteError.h" -#import "DBFILESLookupError.h" +#import "DBFILESCreateFolderEntryError.h" #import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteError +@implementation DBFILESCreateFolderEntryError -@synthesize pathLookup = _pathLookup; -@synthesize pathWrite = _pathWrite; +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { - self = [super init]; - if (self) { - _tag = DBFILESDeleteErrorPathLookup; - _pathLookup = pathLookup; - } - return self; -} - -- (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite { - self = [super init]; - if (self) { - _tag = DBFILESDeleteErrorPathWrite; - _pathWrite = pathWrite; - } - return self; -} - -- (instancetype)initWithTooManyWriteOperations { - self = [super init]; - if (self) { - _tag = DBFILESDeleteErrorTooManyWriteOperations; - } - return self; -} - -- (instancetype)initWithTooManyFiles { +- (instancetype)initWithPath:(DBFILESWriteError *)path { self = [super init]; if (self) { - _tag = DBFILESDeleteErrorTooManyFiles; + _tag = DBFILESCreateFolderEntryErrorPath; + _path = path; } return self; } @@ -2739,63 +2818,37 @@ - (instancetype)initWithTooManyFiles { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESDeleteErrorOther; + _tag = DBFILESCreateFolderEntryErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)pathLookup { - if (![self isPathLookup]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteErrorPathLookup, but was %@.", [self tagName]]; - } - return _pathLookup; -} - -- (DBFILESWriteError *)pathWrite { - if (![self isPathWrite]) { +- (DBFILESWriteError *)path { + if (![self isPath]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDeleteErrorPathWrite, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESCreateFolderEntryErrorPath, but was %@.", [self tagName]]; } - return _pathWrite; + return _path; } #pragma mark - Tag state methods -- (BOOL)isPathLookup { - return _tag == DBFILESDeleteErrorPathLookup; -} - -- (BOOL)isPathWrite { - return _tag == DBFILESDeleteErrorPathWrite; -} - -- (BOOL)isTooManyWriteOperations { - return _tag == DBFILESDeleteErrorTooManyWriteOperations; -} - -- (BOOL)isTooManyFiles { - return _tag == DBFILESDeleteErrorTooManyFiles; +- (BOOL)isPath { + return _tag == DBFILESCreateFolderEntryErrorPath; } - (BOOL)isOther { - return _tag == DBFILESDeleteErrorOther; + return _tag == DBFILESCreateFolderEntryErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESDeleteErrorPathLookup: - return @"DBFILESDeleteErrorPathLookup"; - case DBFILESDeleteErrorPathWrite: - return @"DBFILESDeleteErrorPathWrite"; - case DBFILESDeleteErrorTooManyWriteOperations: - return @"DBFILESDeleteErrorTooManyWriteOperations"; - case DBFILESDeleteErrorTooManyFiles: - return @"DBFILESDeleteErrorTooManyFiles"; - case DBFILESDeleteErrorOther: - return @"DBFILESDeleteErrorOther"; + case DBFILESCreateFolderEntryErrorPath: + return @"DBFILESCreateFolderEntryErrorPath"; + case DBFILESCreateFolderEntryErrorOther: + return @"DBFILESCreateFolderEntryErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -2803,18 +2856,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderEntryErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderEntryErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderEntryErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2832,16 +2885,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESDeleteErrorPathLookup: - result = prime * result + [self.pathLookup hash]; - case DBFILESDeleteErrorPathWrite: - result = prime * result + [self.pathWrite hash]; - case DBFILESDeleteErrorTooManyWriteOperations: - result = prime * result + [[self tagName] hash]; - case DBFILESDeleteErrorTooManyFiles: - result = prime * result + [[self tagName] hash]; - case DBFILESDeleteErrorOther: + case DBFILESCreateFolderEntryErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESCreateFolderEntryErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2856,27 +2905,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteError:other]; + return [self isEqualToCreateFolderEntryError:other]; } -- (BOOL)isEqualToDeleteError:(DBFILESDeleteError *)aDeleteError { - if (self == aDeleteError) { +- (BOOL)isEqualToCreateFolderEntryError:(DBFILESCreateFolderEntryError *)aCreateFolderEntryError { + if (self == aCreateFolderEntryError) { return YES; } - if (self.tag != aDeleteError.tag) { + if (self.tag != aCreateFolderEntryError.tag) { return NO; } switch (_tag) { - case DBFILESDeleteErrorPathLookup: - return [self.pathLookup isEqual:aDeleteError.pathLookup]; - case DBFILESDeleteErrorPathWrite: - return [self.pathWrite isEqual:aDeleteError.pathWrite]; - case DBFILESDeleteErrorTooManyWriteOperations: - return [[self tagName] isEqual:[aDeleteError tagName]]; - case DBFILESDeleteErrorTooManyFiles: - return [[self tagName] isEqual:[aDeleteError tagName]]; - case DBFILESDeleteErrorOther: - return [[self tagName] isEqual:[aDeleteError tagName]]; + case DBFILESCreateFolderEntryErrorPath: + return [self.path isEqual:aCreateFolderEntryError.path]; + case DBFILESCreateFolderEntryErrorOther: + return [[self tagName] isEqual:[aCreateFolderEntryError tagName]]; } return YES; } @@ -2885,68 +2928,53 @@ - (BOOL)isEqualToDeleteError:(DBFILESDeleteError *)aDeleteError { #pragma mark - Serializer Object -@implementation DBFILESDeleteErrorSerializer +@implementation DBFILESCreateFolderEntryErrorSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderEntryError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPathLookup]) { - jsonDict[@"path_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.pathLookup] mutableCopy]; - jsonDict[@".tag"] = @"path_lookup"; - } else if ([valueObj isPathWrite]) { - jsonDict[@"path_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.pathWrite] mutableCopy]; - jsonDict[@".tag"] = @"path_write"; - } else if ([valueObj isTooManyWriteOperations]) { - jsonDict[@".tag"] = @"too_many_write_operations"; - } else if ([valueObj isTooManyFiles]) { - jsonDict[@".tag"] = @"too_many_files"; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESCreateFolderEntryError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path_lookup"]) { - DBFILESLookupError *pathLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path_lookup"]]; - return [[DBFILESDeleteError alloc] initWithPathLookup:pathLookup]; - } else if ([tag isEqualToString:@"path_write"]) { - DBFILESWriteError *pathWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path_write"]]; - return [[DBFILESDeleteError alloc] initWithPathWrite:pathWrite]; - } else if ([tag isEqualToString:@"too_many_write_operations"]) { - return [[DBFILESDeleteError alloc] initWithTooManyWriteOperations]; - } else if ([tag isEqualToString:@"too_many_files"]) { - return [[DBFILESDeleteError alloc] initWithTooManyFiles]; + if ([tag isEqualToString:@"path"]) { + DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESCreateFolderEntryError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESDeleteError alloc] initWithOther]; + return [[DBFILESCreateFolderEntryError alloc] initWithOther]; } else { - return [[DBFILESDeleteError alloc] initWithOther]; + return [[DBFILESCreateFolderEntryError alloc] initWithOther]; } } @end -#import "DBFILESDeleteResult.h" -#import "DBFILESFileOpsResult.h" -#import "DBFILESMetadata.h" +#import "DBFILESCreateFolderEntryResult.h" +#import "DBFILESFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeleteResult +@implementation DBFILESCreateFolderEntryResult #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { +- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata { [DBStoneValidators nonnullValidator:nil](metadata); - self = [super initDefault]; + self = [super init]; if (self) { _metadata = metadata; } @@ -2955,18 +2983,18 @@ - (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeleteResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderEntryResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeleteResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderEntryResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeleteResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderEntryResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2997,14 +3025,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeleteResult:other]; + return [self isEqualToCreateFolderEntryResult:other]; } -- (BOOL)isEqualToDeleteResult:(DBFILESDeleteResult *)aDeleteResult { - if (self == aDeleteResult) { +- (BOOL)isEqualToCreateFolderEntryResult:(DBFILESCreateFolderEntryResult *)aCreateFolderEntryResult { + if (self == aCreateFolderEntryResult) { return YES; } - if (![self.metadata isEqual:aDeleteResult.metadata]) { + if (![self.metadata isEqual:aCreateFolderEntryResult.metadata]) { return NO; } return YES; @@ -3014,74 +3042,85 @@ - (BOOL)isEqualToDeleteResult:(DBFILESDeleteResult *)aDeleteResult { #pragma mark - Serializer Object -@implementation DBFILESDeleteResultSerializer +@implementation DBFILESCreateFolderEntryResultSerializer -+ (NSDictionary *)serialize:(DBFILESDeleteResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderEntryResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeleteResult *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESCreateFolderEntryResult *)deserialize:(NSDictionary *)valueDict { + DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESDeleteResult alloc] initWithMetadata:metadata]; + return [[DBFILESCreateFolderEntryResult alloc] initWithMetadata:metadata]; } @end -#import "DBFILESDeletedMetadata.h" -#import "DBFILESFileMetadata.h" -#import "DBFILESFolderMetadata.h" -#import "DBFILESMetadata.h" +#import "DBFILESCreateFolderError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESMetadata +@implementation DBFILESCreateFolderError + +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name - pathLower:(NSString *)pathLower - pathDisplay:(NSString *)pathDisplay - parentSharedFolderId:(NSString *)parentSharedFolderId { - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); - +- (instancetype)initWithPath:(DBFILESWriteError *)path { self = [super init]; if (self) { - _name = name; - _pathLower = pathLower; - _pathDisplay = pathDisplay; - _parentSharedFolderId = parentSharedFolderId; + _tag = DBFILESCreateFolderErrorPath; + _path = path; } return self; } -- (instancetype)initWithName:(NSString *)name { - return [self initWithName:name pathLower:nil pathDisplay:nil parentSharedFolderId:nil]; +#pragma mark - Instance field accessors + +- (DBFILESWriteError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESCreateFolderErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESCreateFolderErrorPath; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESCreateFolderErrorPath: + return @"DBFILESCreateFolderErrorPath"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3098,15 +3137,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.pathDisplay != nil) { - result = prime * result + [self.pathDisplay hash]; - } - if (self.parentSharedFolderId != nil) { - result = prime * result + [self.parentSharedFolderId hash]; + switch (_tag) { + case DBFILESCreateFolderErrorPath: + result = prime * result + [self.path hash]; + break; } return prime * result; @@ -3121,30 +3155,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMetadata:other]; + return [self isEqualToCreateFolderError:other]; } -- (BOOL)isEqualToMetadata:(DBFILESMetadata *)aMetadata { - if (self == aMetadata) { +- (BOOL)isEqualToCreateFolderError:(DBFILESCreateFolderError *)aCreateFolderError { + if (self == aCreateFolderError) { return YES; } - if (![self.name isEqual:aMetadata.name]) { + if (self.tag != aCreateFolderError.tag) { return NO; } - if (self.pathLower) { - if (![self.pathLower isEqual:aMetadata.pathLower]) { - return NO; - } - } - if (self.pathDisplay) { - if (![self.pathDisplay isEqual:aMetadata.pathDisplay]) { - return NO; - } - } - if (self.parentSharedFolderId) { - if (![self.parentSharedFolderId isEqual:aMetadata.parentSharedFolderId]) { - return NO; - } + switch (_tag) { + case DBFILESCreateFolderErrorPath: + return [self.path isEqual:aCreateFolderError.path]; } return YES; } @@ -3153,109 +3176,75 @@ - (BOOL)isEqualToMetadata:(DBFILESMetadata *)aMetadata { #pragma mark - Serializer Object -@implementation DBFILESMetadataSerializer +@implementation DBFILESCreateFolderErrorSerializer -+ (NSDictionary *)serialize:(DBFILESMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.pathDisplay) { - jsonDict[@"path_display"] = valueObj.pathDisplay; - } - if (valueObj.parentSharedFolderId) { - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - } - - if ([valueObj isKindOfClass:[DBFILESFileMetadata class]]) { - NSDictionary *subTypeFields = [DBFILESFileMetadataSerializer serialize:(DBFILESFileMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"file"; - } else if ([valueObj isKindOfClass:[DBFILESFolderMetadata class]]) { - NSDictionary *subTypeFields = [DBFILESFolderMetadataSerializer serialize:(DBFILESFolderMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"folder"; - } else if ([valueObj isKindOfClass:[DBFILESDeletedMetadata class]]) { - NSDictionary *subTypeFields = [DBFILESDeletedMetadataSerializer serialize:(DBFILESDeletedMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"deleted"; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESMetadata *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"file"]) { - return [DBFILESFileMetadataSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"folder"]) { - return [DBFILESFolderMetadataSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"deleted"]) { - return [DBFILESDeletedMetadataSerializer deserialize:valueDict]; - } ++ (DBFILESCreateFolderError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + if ([tag isEqualToString:@"path"]) { + DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESCreateFolderError alloc] initWithPath:path]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILESDeletedMetadata.h" -#import "DBFILESMetadata.h" +#import "DBFILESCreateFolderResult.h" +#import "DBFILESFileOpsResult.h" +#import "DBFILESFolderMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDeletedMetadata +@implementation DBFILESCreateFolderResult #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name - pathLower:(NSString *)pathLower - pathDisplay:(NSString *)pathDisplay - parentSharedFolderId:(NSString *)parentSharedFolderId { - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); +- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); - self = - [super initWithName:name pathLower:pathLower pathDisplay:pathDisplay parentSharedFolderId:parentSharedFolderId]; + self = [super initDefault]; if (self) { + _metadata = metadata; } return self; } -- (instancetype)initWithName:(NSString *)name { - return [self initWithName:name pathLower:nil pathDisplay:nil parentSharedFolderId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDeletedMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESCreateFolderResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDeletedMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESCreateFolderResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDeletedMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESCreateFolderResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3272,16 +3261,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.pathDisplay != nil) { - result = prime * result + [self.pathDisplay hash]; - } - if (self.parentSharedFolderId != nil) { - result = prime * result + [self.parentSharedFolderId hash]; - } + result = prime * result + [self.metadata hash]; return prime * result; } @@ -3295,31 +3275,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeletedMetadata:other]; + return [self isEqualToCreateFolderResult:other]; } -- (BOOL)isEqualToDeletedMetadata:(DBFILESDeletedMetadata *)aDeletedMetadata { - if (self == aDeletedMetadata) { +- (BOOL)isEqualToCreateFolderResult:(DBFILESCreateFolderResult *)aCreateFolderResult { + if (self == aCreateFolderResult) { return YES; } - if (![self.name isEqual:aDeletedMetadata.name]) { + if (![self.metadata isEqual:aCreateFolderResult.metadata]) { return NO; } - if (self.pathLower) { - if (![self.pathLower isEqual:aDeletedMetadata.pathLower]) { - return NO; - } - } - if (self.pathDisplay) { - if (![self.pathDisplay isEqual:aDeletedMetadata.pathDisplay]) { - return NO; - } - } - if (self.parentSharedFolderId) { - if (![self.parentSharedFolderId isEqual:aDeletedMetadata.parentSharedFolderId]) { - return NO; - } - } return YES; } @@ -3327,75 +3292,68 @@ - (BOOL)isEqualToDeletedMetadata:(DBFILESDeletedMetadata *)aDeletedMetadata { #pragma mark - Serializer Object -@implementation DBFILESDeletedMetadataSerializer +@implementation DBFILESCreateFolderResultSerializer -+ (NSDictionary *)serialize:(DBFILESDeletedMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESCreateFolderResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.pathDisplay) { - jsonDict[@"path_display"] = valueObj.pathDisplay; - } - if (valueObj.parentSharedFolderId) { - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - } + jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - NSString *pathDisplay = valueDict[@"path_display"] ?: nil; - NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; ++ (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)valueDict { + DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESDeletedMetadata alloc] initWithName:name - pathLower:pathLower - pathDisplay:pathDisplay - parentSharedFolderId:parentSharedFolderId]; + return [[DBFILESCreateFolderResult alloc] initWithMetadata:metadata]; } @end -#import "DBFILESDimensions.h" +#import "DBFILESDeleteArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDimensions +@implementation DBFILESDeleteArg #pragma mark - Constructors -- (instancetype)initWithHeight:(NSNumber *)height width:(NSNumber *)width { - [DBStoneValidators nonnullValidator:nil](height); - [DBStoneValidators nonnullValidator:nil](width); +- (instancetype)initWithPath:(NSString *)path parentRev:(NSString *)parentRev { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](parentRev); self = [super init]; if (self) { - _height = height; - _width = width; + _path = path; + _parentRev = parentRev; } return self; } +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path parentRev:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDimensionsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDimensionsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDimensionsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESDeleteArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3412,8 +3370,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.height hash]; - result = prime * result + [self.width hash]; + result = prime * result + [self.path hash]; + if (self.parentRev != nil) { + result = prime * result + [self.parentRev hash]; + } return prime * result; } @@ -3427,18 +3387,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDimensions:other]; + return [self isEqualToDeleteArg:other]; } -- (BOOL)isEqualToDimensions:(DBFILESDimensions *)aDimensions { - if (self == aDimensions) { +- (BOOL)isEqualToDeleteArg:(DBFILESDeleteArg *)aDeleteArg { + if (self == aDeleteArg) { return YES; } - if (![self.height isEqual:aDimensions.height]) { + if (![self.path isEqual:aDeleteArg.path]) { return NO; } - if (![self.width isEqual:aDimensions.width]) { - return NO; + if (self.parentRev) { + if (![self.parentRev isEqual:aDeleteArg.parentRev]) { + return NO; + } } return YES; } @@ -3447,71 +3409,66 @@ - (BOOL)isEqualToDimensions:(DBFILESDimensions *)aDimensions { #pragma mark - Serializer Object -@implementation DBFILESDimensionsSerializer +@implementation DBFILESDeleteArgSerializer -+ (NSDictionary *)serialize:(DBFILESDimensions *)valueObj { ++ (NSDictionary *)serialize:(DBFILESDeleteArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"height"] = valueObj.height; - jsonDict[@"width"] = valueObj.width; + jsonDict[@"path"] = valueObj.path; + if (valueObj.parentRev) { + jsonDict[@"parent_rev"] = valueObj.parentRev; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDimensions *)deserialize:(NSDictionary *)valueDict { - NSNumber *height = valueDict[@"height"]; - NSNumber *width = valueDict[@"width"]; ++ (DBFILESDeleteArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *parentRev = valueDict[@"parent_rev"] ?: nil; - return [[DBFILESDimensions alloc] initWithHeight:height width:width]; + return [[DBFILESDeleteArg alloc] initWithPath:path parentRev:parentRev]; } @end -#import "DBFILESDownloadArg.h" +#import "DBFILESDeleteArg.h" +#import "DBFILESDeleteBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDownloadArg +@implementation DBFILESDeleteBatchArg #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); +- (instancetype)initWithEntries:(NSArray *)entries { [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:@(1000) + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { - _path = path; - _rev = rev; + _entries = entries; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path rev:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDownloadArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDownloadArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDownloadArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3528,10 +3485,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.rev != nil) { - result = prime * result + [self.rev hash]; - } + result = prime * result + [self.entries hash]; return prime * result; } @@ -3545,21 +3499,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDownloadArg:other]; + return [self isEqualToDeleteBatchArg:other]; } -- (BOOL)isEqualToDownloadArg:(DBFILESDownloadArg *)aDownloadArg { - if (self == aDownloadArg) { +- (BOOL)isEqualToDeleteBatchArg:(DBFILESDeleteBatchArg *)aDeleteBatchArg { + if (self == aDeleteBatchArg) { return YES; } - if (![self.path isEqual:aDownloadArg.path]) { + if (![self.entries isEqual:aDeleteBatchArg.entries]) { return NO; } - if (self.rev) { - if (![self.rev isEqual:aDownloadArg.rev]) { - return NO; - } - } return YES; } @@ -3567,46 +3516,44 @@ - (BOOL)isEqualToDownloadArg:(DBFILESDownloadArg *)aDownloadArg { #pragma mark - Serializer Object -@implementation DBFILESDownloadArgSerializer +@implementation DBFILESDeleteBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESDownloadArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESDeleteBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - if (valueObj.rev) { - jsonDict[@"rev"] = valueObj.rev; - } + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESDeleteArgSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDownloadArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSString *rev = valueDict[@"rev"] ?: nil; ++ (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESDeleteArgSerializer deserialize:elem0]; + }]; - return [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; + return [[DBFILESDeleteBatchArg alloc] initWithEntries:entries]; } @end -#import "DBFILESDownloadError.h" -#import "DBFILESLookupError.h" +#import "DBFILESDeleteBatchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESDownloadError - -@synthesize path = _path; +@implementation DBFILESDeleteBatchError #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { +- (instancetype)initWithTooManyWriteOperations { self = [super init]; if (self) { - _tag = DBFILESDownloadErrorPath; - _path = path; + _tag = DBFILESDeleteBatchErrorTooManyWriteOperations; } return self; } @@ -3614,37 +3561,29 @@ - (instancetype)initWithPath:(DBFILESLookupError *)path { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESDownloadErrorOther; + _tag = DBFILESDeleteBatchErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESDownloadErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - #pragma mark - Tag state methods -- (BOOL)isPath { - return _tag == DBFILESDownloadErrorPath; +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESDeleteBatchErrorTooManyWriteOperations; } - (BOOL)isOther { - return _tag == DBFILESDownloadErrorOther; + return _tag == DBFILESDeleteBatchErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESDownloadErrorPath: - return @"DBFILESDownloadErrorPath"; - case DBFILESDownloadErrorOther: - return @"DBFILESDownloadErrorOther"; + case DBFILESDeleteBatchErrorTooManyWriteOperations: + return @"DBFILESDeleteBatchErrorTooManyWriteOperations"; + case DBFILESDeleteBatchErrorOther: + return @"DBFILESDeleteBatchErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -3652,18 +3591,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESDownloadErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESDownloadErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESDownloadErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3681,10 +3620,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESDownloadErrorPath: - result = prime * result + [self.path hash]; - case DBFILESDownloadErrorOther: + case DBFILESDeleteBatchErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDeleteBatchErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3699,21 +3640,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDownloadError:other]; + return [self isEqualToDeleteBatchError:other]; } -- (BOOL)isEqualToDownloadError:(DBFILESDownloadError *)aDownloadError { - if (self == aDownloadError) { +- (BOOL)isEqualToDeleteBatchError:(DBFILESDeleteBatchError *)aDeleteBatchError { + if (self == aDeleteBatchError) { return YES; } - if (self.tag != aDownloadError.tag) { + if (self.tag != aDeleteBatchError.tag) { return NO; } switch (_tag) { - case DBFILESDownloadErrorPath: - return [self.path isEqual:aDownloadError.path]; - case DBFILESDownloadErrorOther: - return [[self tagName] isEqual:[aDownloadError tagName]]; + case DBFILESDeleteBatchErrorTooManyWriteOperations: + return [[self tagName] isEqual:[aDeleteBatchError tagName]]; + case DBFILESDeleteBatchErrorOther: + return [[self tagName] isEqual:[aDeleteBatchError tagName]]; } return YES; } @@ -3722,134 +3663,4069 @@ - (BOOL)isEqualToDownloadError:(DBFILESDownloadError *)aDownloadError { #pragma mark - Serializer Object -@implementation DBFILESDownloadErrorSerializer +@implementation DBFILESDeleteBatchErrorSerializer -+ (NSDictionary *)serialize:(DBFILESDownloadError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESDeleteBatchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; + if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESDownloadError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESDownloadError alloc] initWithPath:path]; + if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESDeleteBatchError alloc] initWithTooManyWriteOperations]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESDownloadError alloc] initWithOther]; + return [[DBFILESDeleteBatchError alloc] initWithOther]; } else { - return [[DBFILESDownloadError alloc] initWithOther]; + return [[DBFILESDeleteBatchError alloc] initWithOther]; } } @end -#import "DBFILEPROPERTIESPropertyGroup.h" -#import "DBFILESFileMetadata.h" -#import "DBFILESFileSharingInfo.h" -#import "DBFILESMediaInfo.h" -#import "DBFILESMetadata.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILESDeleteBatchError.h" +#import "DBFILESDeleteBatchJobStatus.h" +#import "DBFILESDeleteBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESFileMetadata +@implementation DBFILESDeleteBatchJobStatus -#pragma mark - Constructors +@synthesize complete = _complete; +@synthesize failed = _failed; -- (instancetype)initWithName:(NSString *)name - id_:(NSString *)id_ - clientModified:(NSDate *)clientModified - serverModified:(NSDate *)serverModified - rev:(NSString *)rev - size:(NSNumber *)size - pathLower:(NSString *)pathLower - pathDisplay:(NSString *)pathDisplay - parentSharedFolderId:(NSString *)parentSharedFolderId - mediaInfo:(DBFILESMediaInfo *)mediaInfo - sharingInfo:(DBFILESFileSharingInfo *)sharingInfo - propertyGroups:(NSArray *)propertyGroups - hasExplicitSharedMembers:(NSNumber *)hasExplicitSharedMembers - contentHash:(NSString *)contentHash { - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); - [DBStoneValidators nonnullValidator:nil](clientModified); - [DBStoneValidators nonnullValidator:nil](serverModified); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); - [DBStoneValidators nonnullValidator:nil](size); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); +#pragma mark - Constructors - self = - [super initWithName:name pathLower:pathLower pathDisplay:pathDisplay parentSharedFolderId:parentSharedFolderId]; +- (instancetype)initWithInProgress { + self = [super init]; if (self) { - _id_ = id_; - _clientModified = clientModified; - _serverModified = serverModified; - _rev = rev; - _size = size; - _mediaInfo = mediaInfo; - _sharingInfo = sharingInfo; - _propertyGroups = propertyGroups; - _hasExplicitSharedMembers = hasExplicitSharedMembers; - _contentHash = contentHash; + _tag = DBFILESDeleteBatchJobStatusInProgress; } return self; } -- (instancetype)initWithName:(NSString *)name - id_:(NSString *)id_ - clientModified:(NSDate *)clientModified - serverModified:(NSDate *)serverModified - rev:(NSString *)rev - size:(NSNumber *)size { - return [self initWithName:name - id_:id_ - clientModified:clientModified - serverModified:serverModified - rev:rev - size:size - pathLower:nil - pathDisplay:nil - parentSharedFolderId:nil - mediaInfo:nil - sharingInfo:nil - propertyGroups:nil - hasExplicitSharedMembers:nil - contentHash:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESFileMetadataSerializer serialize:instance]; +- (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchJobStatusComplete; + _complete = complete; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESFileMetadataSerializer deserialize:dict]; +- (instancetype)initWithFailed:(DBFILESDeleteBatchError *)failed { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchJobStatusFailed; + _failed = failed; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchJobStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESDeleteBatchResult *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchJobStatusComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +- (DBFILESDeleteBatchError *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBFILESDeleteBatchJobStatusInProgress; +} + +- (BOOL)isComplete { + return _tag == DBFILESDeleteBatchJobStatusComplete; +} + +- (BOOL)isFailed { + return _tag == DBFILESDeleteBatchJobStatusFailed; +} + +- (BOOL)isOther { + return _tag == DBFILESDeleteBatchJobStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDeleteBatchJobStatusInProgress: + return @"DBFILESDeleteBatchJobStatusInProgress"; + case DBFILESDeleteBatchJobStatusComplete: + return @"DBFILESDeleteBatchJobStatusComplete"; + case DBFILESDeleteBatchJobStatusFailed: + return @"DBFILESDeleteBatchJobStatusFailed"; + case DBFILESDeleteBatchJobStatusOther: + return @"DBFILESDeleteBatchJobStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchJobStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchJobStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchJobStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDeleteBatchJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDeleteBatchJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESDeleteBatchJobStatusFailed: + result = prime * result + [self.failed hash]; + break; + case DBFILESDeleteBatchJobStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteBatchJobStatus:other]; +} + +- (BOOL)isEqualToDeleteBatchJobStatus:(DBFILESDeleteBatchJobStatus *)aDeleteBatchJobStatus { + if (self == aDeleteBatchJobStatus) { + return YES; + } + if (self.tag != aDeleteBatchJobStatus.tag) { + return NO; + } + switch (_tag) { + case DBFILESDeleteBatchJobStatusInProgress: + return [[self tagName] isEqual:[aDeleteBatchJobStatus tagName]]; + case DBFILESDeleteBatchJobStatusComplete: + return [self.complete isEqual:aDeleteBatchJobStatus.complete]; + case DBFILESDeleteBatchJobStatusFailed: + return [self.failed isEqual:aDeleteBatchJobStatus.failed]; + case DBFILESDeleteBatchJobStatusOther: + return [[self tagName] isEqual:[aDeleteBatchJobStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteBatchJobStatusSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESDeleteBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBFILESDeleteBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESDeleteBatchJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESDeleteBatchResult *complete = [DBFILESDeleteBatchResultSerializer deserialize:valueDict]; + return [[DBFILESDeleteBatchJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + DBFILESDeleteBatchError *failed = [DBFILESDeleteBatchErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBFILESDeleteBatchJobStatus alloc] initWithFailed:failed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESDeleteBatchJobStatus alloc] initWithOther]; + } else { + return [[DBFILESDeleteBatchJobStatus alloc] initWithOther]; + } +} + +@end + +#import "DBASYNCLaunchResultBase.h" +#import "DBFILESDeleteBatchLaunch.h" +#import "DBFILESDeleteBatchResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteBatchLaunch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; + +#pragma mark - Constructors + +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchLaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} + +- (instancetype)initWithComplete:(DBFILESDeleteBatchResult *)complete { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchLaunchComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchLaunchOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchLaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (DBFILESDeleteBatchResult *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchLaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBFILESDeleteBatchLaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBFILESDeleteBatchLaunchComplete; +} + +- (BOOL)isOther { + return _tag == DBFILESDeleteBatchLaunchOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDeleteBatchLaunchAsyncJobId: + return @"DBFILESDeleteBatchLaunchAsyncJobId"; + case DBFILESDeleteBatchLaunchComplete: + return @"DBFILESDeleteBatchLaunchComplete"; + case DBFILESDeleteBatchLaunchOther: + return @"DBFILESDeleteBatchLaunchOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchLaunchSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchLaunchSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchLaunchSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDeleteBatchLaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBFILESDeleteBatchLaunchComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESDeleteBatchLaunchOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteBatchLaunch:other]; +} + +- (BOOL)isEqualToDeleteBatchLaunch:(DBFILESDeleteBatchLaunch *)aDeleteBatchLaunch { + if (self == aDeleteBatchLaunch) { + return YES; + } + if (self.tag != aDeleteBatchLaunch.tag) { + return NO; + } + switch (_tag) { + case DBFILESDeleteBatchLaunchAsyncJobId: + return [self.asyncJobId isEqual:aDeleteBatchLaunch.asyncJobId]; + case DBFILESDeleteBatchLaunchComplete: + return [self.complete isEqual:aDeleteBatchLaunch.complete]; + case DBFILESDeleteBatchLaunchOther: + return [[self tagName] isEqual:[aDeleteBatchLaunch tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteBatchLaunchSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESDeleteBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBFILESDeleteBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESDeleteBatchResult *complete = [DBFILESDeleteBatchResultSerializer deserialize:valueDict]; + return [[DBFILESDeleteBatchLaunch alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESDeleteBatchLaunch alloc] initWithOther]; + } else { + return [[DBFILESDeleteBatchLaunch alloc] initWithOther]; + } +} + +@end + +#import "DBFILESDeleteBatchResult.h" +#import "DBFILESDeleteBatchResultEntry.h" +#import "DBFILESFileOpsResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super initDefault]; + if (self) { + _entries = entries; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteBatchResult:other]; +} + +- (BOOL)isEqualToDeleteBatchResult:(DBFILESDeleteBatchResult *)aDeleteBatchResult { + if (self == aDeleteBatchResult) { + return YES; + } + if (![self.entries isEqual:aDeleteBatchResult.entries]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteBatchResultSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESDeleteBatchResultEntrySerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESDeleteBatchResultEntrySerializer deserialize:elem0]; + }]; + + return [[DBFILESDeleteBatchResult alloc] initWithEntries:entries]; +} + +@end + +#import "DBFILESDeleteBatchResultData.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteBatchResultData + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); + + self = [super init]; + if (self) { + _metadata = metadata; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchResultDataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchResultDataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchResultDataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteBatchResultData:other]; +} + +- (BOOL)isEqualToDeleteBatchResultData:(DBFILESDeleteBatchResultData *)aDeleteBatchResultData { + if (self == aDeleteBatchResultData) { + return YES; + } + if (![self.metadata isEqual:aDeleteBatchResultData.metadata]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteBatchResultDataSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteBatchResultData *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + + return jsonDict; +} + ++ (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; + + return [[DBFILESDeleteBatchResultData alloc] initWithMetadata:metadata]; +} + +@end + +#import "DBFILESDeleteBatchResultData.h" +#import "DBFILESDeleteBatchResultEntry.h" +#import "DBFILESDeleteError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteBatchResultEntry + +@synthesize success = _success; +@synthesize failure = _failure; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBFILESDeleteBatchResultData *)success { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchResultEntrySuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithFailure:(DBFILESDeleteError *)failure { + self = [super init]; + if (self) { + _tag = DBFILESDeleteBatchResultEntryFailure; + _failure = failure; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESDeleteBatchResultData *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchResultEntrySuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBFILESDeleteError *)failure { + if (![self isFailure]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteBatchResultEntryFailure, but was %@.", [self tagName]]; + } + return _failure; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBFILESDeleteBatchResultEntrySuccess; +} + +- (BOOL)isFailure { + return _tag == DBFILESDeleteBatchResultEntryFailure; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDeleteBatchResultEntrySuccess: + return @"DBFILESDeleteBatchResultEntrySuccess"; + case DBFILESDeleteBatchResultEntryFailure: + return @"DBFILESDeleteBatchResultEntryFailure"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteBatchResultEntrySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteBatchResultEntrySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteBatchResultEntrySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDeleteBatchResultEntrySuccess: + result = prime * result + [self.success hash]; + break; + case DBFILESDeleteBatchResultEntryFailure: + result = prime * result + [self.failure hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteBatchResultEntry:other]; +} + +- (BOOL)isEqualToDeleteBatchResultEntry:(DBFILESDeleteBatchResultEntry *)aDeleteBatchResultEntry { + if (self == aDeleteBatchResultEntry) { + return YES; + } + if (self.tag != aDeleteBatchResultEntry.tag) { + return NO; + } + switch (_tag) { + case DBFILESDeleteBatchResultEntrySuccess: + return [self.success isEqual:aDeleteBatchResultEntry.success]; + case DBFILESDeleteBatchResultEntryFailure: + return [self.failure isEqual:aDeleteBatchResultEntry.failure]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteBatchResultEntrySerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBFILESDeleteBatchResultDataSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isFailure]) { + jsonDict[@"failure"] = [[DBFILESDeleteErrorSerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@".tag"] = @"failure"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBFILESDeleteBatchResultData *success = [DBFILESDeleteBatchResultDataSerializer deserialize:valueDict]; + return [[DBFILESDeleteBatchResultEntry alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"failure"]) { + DBFILESDeleteError *failure = [DBFILESDeleteErrorSerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESDeleteBatchResultEntry alloc] initWithFailure:failure]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILESDeleteError.h" +#import "DBFILESLookupError.h" +#import "DBFILESWriteError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteError + +@synthesize pathLookup = _pathLookup; +@synthesize pathWrite = _pathWrite; + +#pragma mark - Constructors + +- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { + self = [super init]; + if (self) { + _tag = DBFILESDeleteErrorPathLookup; + _pathLookup = pathLookup; + } + return self; +} + +- (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite { + self = [super init]; + if (self) { + _tag = DBFILESDeleteErrorPathWrite; + _pathWrite = pathWrite; + } + return self; +} + +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESDeleteErrorTooManyWriteOperations; + } + return self; +} + +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESDeleteErrorTooManyFiles; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESDeleteErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)pathLookup { + if (![self isPathLookup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteErrorPathLookup, but was %@.", [self tagName]]; + } + return _pathLookup; +} + +- (DBFILESWriteError *)pathWrite { + if (![self isPathWrite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDeleteErrorPathWrite, but was %@.", [self tagName]]; + } + return _pathWrite; +} + +#pragma mark - Tag state methods + +- (BOOL)isPathLookup { + return _tag == DBFILESDeleteErrorPathLookup; +} + +- (BOOL)isPathWrite { + return _tag == DBFILESDeleteErrorPathWrite; +} + +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESDeleteErrorTooManyWriteOperations; +} + +- (BOOL)isTooManyFiles { + return _tag == DBFILESDeleteErrorTooManyFiles; +} + +- (BOOL)isOther { + return _tag == DBFILESDeleteErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDeleteErrorPathLookup: + return @"DBFILESDeleteErrorPathLookup"; + case DBFILESDeleteErrorPathWrite: + return @"DBFILESDeleteErrorPathWrite"; + case DBFILESDeleteErrorTooManyWriteOperations: + return @"DBFILESDeleteErrorTooManyWriteOperations"; + case DBFILESDeleteErrorTooManyFiles: + return @"DBFILESDeleteErrorTooManyFiles"; + case DBFILESDeleteErrorOther: + return @"DBFILESDeleteErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDeleteErrorPathLookup: + result = prime * result + [self.pathLookup hash]; + break; + case DBFILESDeleteErrorPathWrite: + result = prime * result + [self.pathWrite hash]; + break; + case DBFILESDeleteErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDeleteErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDeleteErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteError:other]; +} + +- (BOOL)isEqualToDeleteError:(DBFILESDeleteError *)aDeleteError { + if (self == aDeleteError) { + return YES; + } + if (self.tag != aDeleteError.tag) { + return NO; + } + switch (_tag) { + case DBFILESDeleteErrorPathLookup: + return [self.pathLookup isEqual:aDeleteError.pathLookup]; + case DBFILESDeleteErrorPathWrite: + return [self.pathWrite isEqual:aDeleteError.pathWrite]; + case DBFILESDeleteErrorTooManyWriteOperations: + return [[self tagName] isEqual:[aDeleteError tagName]]; + case DBFILESDeleteErrorTooManyFiles: + return [[self tagName] isEqual:[aDeleteError tagName]]; + case DBFILESDeleteErrorOther: + return [[self tagName] isEqual:[aDeleteError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPathLookup]) { + jsonDict[@"path_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.pathLookup] mutableCopy]; + jsonDict[@".tag"] = @"path_lookup"; + } else if ([valueObj isPathWrite]) { + jsonDict[@"path_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.pathWrite] mutableCopy]; + jsonDict[@".tag"] = @"path_write"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESDeleteError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path_lookup"]) { + DBFILESLookupError *pathLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path_lookup"]]; + return [[DBFILESDeleteError alloc] initWithPathLookup:pathLookup]; + } else if ([tag isEqualToString:@"path_write"]) { + DBFILESWriteError *pathWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path_write"]]; + return [[DBFILESDeleteError alloc] initWithPathWrite:pathWrite]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESDeleteError alloc] initWithTooManyWriteOperations]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESDeleteError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESDeleteError alloc] initWithOther]; + } else { + return [[DBFILESDeleteError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESDeleteResult.h" +#import "DBFILESFileOpsResult.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeleteResult + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); + + self = [super initDefault]; + if (self) { + _metadata = metadata; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeleteResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeleteResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeleteResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteResult:other]; +} + +- (BOOL)isEqualToDeleteResult:(DBFILESDeleteResult *)aDeleteResult { + if (self == aDeleteResult) { + return YES; + } + if (![self.metadata isEqual:aDeleteResult.metadata]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeleteResultSerializer + ++ (NSDictionary *)serialize:(DBFILESDeleteResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + + return jsonDict; +} + ++ (DBFILESDeleteResult *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; + + return [[DBFILESDeleteResult alloc] initWithMetadata:metadata]; +} + +@end + +#import "DBFILESDeletedMetadata.h" +#import "DBFILESFileMetadata.h" +#import "DBFILESFolderMetadata.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + pathLower:(NSString *)pathLower + pathDisplay:(NSString *)pathDisplay + parentSharedFolderId:(NSString *)parentSharedFolderId + previewUrl:(NSString *)previewUrl { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + + self = [super init]; + if (self) { + _name = name; + _pathLower = pathLower; + _pathDisplay = pathDisplay; + _parentSharedFolderId = parentSharedFolderId; + _previewUrl = previewUrl; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name { + return [self initWithName:name pathLower:nil pathDisplay:nil parentSharedFolderId:nil previewUrl:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } + if (self.parentSharedFolderId != nil) { + result = prime * result + [self.parentSharedFolderId hash]; + } + if (self.previewUrl != nil) { + result = prime * result + [self.previewUrl hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMetadata:other]; +} + +- (BOOL)isEqualToMetadata:(DBFILESMetadata *)aMetadata { + if (self == aMetadata) { + return YES; + } + if (![self.name isEqual:aMetadata.name]) { + return NO; + } + if (self.pathLower) { + if (![self.pathLower isEqual:aMetadata.pathLower]) { + return NO; + } + } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aMetadata.pathDisplay]) { + return NO; + } + } + if (self.parentSharedFolderId) { + if (![self.parentSharedFolderId isEqual:aMetadata.parentSharedFolderId]) { + return NO; + } + } + if (self.previewUrl) { + if (![self.previewUrl isEqual:aMetadata.previewUrl]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } + if (valueObj.parentSharedFolderId) { + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + } + if (valueObj.previewUrl) { + jsonDict[@"preview_url"] = valueObj.previewUrl; + } + + if ([valueObj isKindOfClass:[DBFILESFileMetadata class]]) { + NSDictionary *subTypeFields = [DBFILESFileMetadataSerializer serialize:(DBFILESFileMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"file"; + } else if ([valueObj isKindOfClass:[DBFILESFolderMetadata class]]) { + NSDictionary *subTypeFields = [DBFILESFolderMetadataSerializer serialize:(DBFILESFolderMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"folder"; + } else if ([valueObj isKindOfClass:[DBFILESDeletedMetadata class]]) { + NSDictionary *subTypeFields = [DBFILESDeletedMetadataSerializer serialize:(DBFILESDeletedMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"deleted"; + } + + return jsonDict; +} + ++ (DBFILESMetadata *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"file"]) { + return [DBFILESFileMetadataSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"folder"]) { + return [DBFILESFolderMetadataSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"deleted"]) { + return [DBFILESDeletedMetadataSerializer deserialize:valueDict]; + } + + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); +} + +@end + +#import "DBFILESDeletedMetadata.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDeletedMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + pathLower:(NSString *)pathLower + pathDisplay:(NSString *)pathDisplay + parentSharedFolderId:(NSString *)parentSharedFolderId + previewUrl:(NSString *)previewUrl { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + + self = [super initWithName:name + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl]; + if (self) { + } + return self; +} + +- (instancetype)initWithName:(NSString *)name { + return [self initWithName:name pathLower:nil pathDisplay:nil parentSharedFolderId:nil previewUrl:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDeletedMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDeletedMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDeletedMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } + if (self.parentSharedFolderId != nil) { + result = prime * result + [self.parentSharedFolderId hash]; + } + if (self.previewUrl != nil) { + result = prime * result + [self.previewUrl hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeletedMetadata:other]; +} + +- (BOOL)isEqualToDeletedMetadata:(DBFILESDeletedMetadata *)aDeletedMetadata { + if (self == aDeletedMetadata) { + return YES; + } + if (![self.name isEqual:aDeletedMetadata.name]) { + return NO; + } + if (self.pathLower) { + if (![self.pathLower isEqual:aDeletedMetadata.pathLower]) { + return NO; + } + } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aDeletedMetadata.pathDisplay]) { + return NO; + } + } + if (self.parentSharedFolderId) { + if (![self.parentSharedFolderId isEqual:aDeletedMetadata.parentSharedFolderId]) { + return NO; + } + } + if (self.previewUrl) { + if (![self.previewUrl isEqual:aDeletedMetadata.previewUrl]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDeletedMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESDeletedMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } + if (valueObj.parentSharedFolderId) { + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + } + if (valueObj.previewUrl) { + jsonDict[@"preview_url"] = valueObj.previewUrl; + } + + return jsonDict; +} + ++ (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + NSString *pathDisplay = valueDict[@"path_display"] ?: nil; + NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *previewUrl = valueDict[@"preview_url"] ?: nil; + + return [[DBFILESDeletedMetadata alloc] initWithName:name + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl]; +} + +@end + +#import "DBFILESDimensions.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDimensions + +#pragma mark - Constructors + +- (instancetype)initWithHeight:(NSNumber *)height width:(NSNumber *)width { + [DBStoneValidators nonnullValidator:nil](height); + [DBStoneValidators nonnullValidator:nil](width); + + self = [super init]; + if (self) { + _height = height; + _width = width; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDimensionsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDimensionsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDimensionsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.height hash]; + result = prime * result + [self.width hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDimensions:other]; +} + +- (BOOL)isEqualToDimensions:(DBFILESDimensions *)aDimensions { + if (self == aDimensions) { + return YES; + } + if (![self.height isEqual:aDimensions.height]) { + return NO; + } + if (![self.width isEqual:aDimensions.width]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDimensionsSerializer + ++ (NSDictionary *)serialize:(DBFILESDimensions *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"height"] = valueObj.height; + jsonDict[@"width"] = valueObj.width; + + return jsonDict; +} + ++ (DBFILESDimensions *)deserialize:(NSDictionary *)valueDict { + NSNumber *height = valueDict[@"height"]; + NSNumber *width = valueDict[@"width"]; + + return [[DBFILESDimensions alloc] initWithHeight:height width:width]; +} + +@end + +#import "DBFILESDownloadArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDownloadArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + + self = [super init]; + if (self) { + _path = path; + _rev = rev; + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path rev:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDownloadArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDownloadArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDownloadArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.rev != nil) { + result = prime * result + [self.rev hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadArg:other]; +} + +- (BOOL)isEqualToDownloadArg:(DBFILESDownloadArg *)aDownloadArg { + if (self == aDownloadArg) { + return YES; + } + if (![self.path isEqual:aDownloadArg.path]) { + return NO; + } + if (self.rev) { + if (![self.rev isEqual:aDownloadArg.rev]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDownloadArgSerializer + ++ (NSDictionary *)serialize:(DBFILESDownloadArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + if (valueObj.rev) { + jsonDict[@"rev"] = valueObj.rev; + } + + return jsonDict; +} + ++ (DBFILESDownloadArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *rev = valueDict[@"rev"] ?: nil; + + return [[DBFILESDownloadArg alloc] initWithPath:path rev:rev]; +} + +@end + +#import "DBFILESDownloadError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDownloadError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESDownloadErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithUnsupportedFile { + self = [super init]; + if (self) { + _tag = DBFILESDownloadErrorUnsupportedFile; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESDownloadErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDownloadErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESDownloadErrorPath; +} + +- (BOOL)isUnsupportedFile { + return _tag == DBFILESDownloadErrorUnsupportedFile; +} + +- (BOOL)isOther { + return _tag == DBFILESDownloadErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDownloadErrorPath: + return @"DBFILESDownloadErrorPath"; + case DBFILESDownloadErrorUnsupportedFile: + return @"DBFILESDownloadErrorUnsupportedFile"; + case DBFILESDownloadErrorOther: + return @"DBFILESDownloadErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDownloadErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDownloadErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDownloadErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDownloadErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESDownloadErrorUnsupportedFile: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDownloadErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadError:other]; +} + +- (BOOL)isEqualToDownloadError:(DBFILESDownloadError *)aDownloadError { + if (self == aDownloadError) { + return YES; + } + if (self.tag != aDownloadError.tag) { + return NO; + } + switch (_tag) { + case DBFILESDownloadErrorPath: + return [self.path isEqual:aDownloadError.path]; + case DBFILESDownloadErrorUnsupportedFile: + return [[self tagName] isEqual:[aDownloadError tagName]]; + case DBFILESDownloadErrorOther: + return [[self tagName] isEqual:[aDownloadError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDownloadErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESDownloadError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isUnsupportedFile]) { + jsonDict[@".tag"] = @"unsupported_file"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESDownloadError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESDownloadError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"unsupported_file"]) { + return [[DBFILESDownloadError alloc] initWithUnsupportedFile]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESDownloadError alloc] initWithOther]; + } else { + return [[DBFILESDownloadError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESDownloadZipArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDownloadZipArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + + self = [super init]; + if (self) { + _path = path; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDownloadZipArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDownloadZipArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDownloadZipArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadZipArg:other]; +} + +- (BOOL)isEqualToDownloadZipArg:(DBFILESDownloadZipArg *)aDownloadZipArg { + if (self == aDownloadZipArg) { + return YES; + } + if (![self.path isEqual:aDownloadZipArg.path]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDownloadZipArgSerializer + ++ (NSDictionary *)serialize:(DBFILESDownloadZipArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + + return jsonDict; +} + ++ (DBFILESDownloadZipArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + + return [[DBFILESDownloadZipArg alloc] initWithPath:path]; +} + +@end + +#import "DBFILESDownloadZipError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDownloadZipError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESDownloadZipErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESDownloadZipErrorTooLarge; + } + return self; +} + +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESDownloadZipErrorTooManyFiles; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESDownloadZipErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESDownloadZipErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESDownloadZipErrorPath; +} + +- (BOOL)isTooLarge { + return _tag == DBFILESDownloadZipErrorTooLarge; +} + +- (BOOL)isTooManyFiles { + return _tag == DBFILESDownloadZipErrorTooManyFiles; +} + +- (BOOL)isOther { + return _tag == DBFILESDownloadZipErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESDownloadZipErrorPath: + return @"DBFILESDownloadZipErrorPath"; + case DBFILESDownloadZipErrorTooLarge: + return @"DBFILESDownloadZipErrorTooLarge"; + case DBFILESDownloadZipErrorTooManyFiles: + return @"DBFILESDownloadZipErrorTooManyFiles"; + case DBFILESDownloadZipErrorOther: + return @"DBFILESDownloadZipErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDownloadZipErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDownloadZipErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDownloadZipErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESDownloadZipErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESDownloadZipErrorTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDownloadZipErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESDownloadZipErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadZipError:other]; +} + +- (BOOL)isEqualToDownloadZipError:(DBFILESDownloadZipError *)aDownloadZipError { + if (self == aDownloadZipError) { + return YES; + } + if (self.tag != aDownloadZipError.tag) { + return NO; + } + switch (_tag) { + case DBFILESDownloadZipErrorPath: + return [self.path isEqual:aDownloadZipError.path]; + case DBFILESDownloadZipErrorTooLarge: + return [[self tagName] isEqual:[aDownloadZipError tagName]]; + case DBFILESDownloadZipErrorTooManyFiles: + return [[self tagName] isEqual:[aDownloadZipError tagName]]; + case DBFILESDownloadZipErrorOther: + return [[self tagName] isEqual:[aDownloadZipError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDownloadZipErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESDownloadZipError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isTooLarge]) { + jsonDict[@".tag"] = @"too_large"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESDownloadZipError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESDownloadZipError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"too_large"]) { + return [[DBFILESDownloadZipError alloc] initWithTooLarge]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESDownloadZipError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESDownloadZipError alloc] initWithOther]; + } else { + return [[DBFILESDownloadZipError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESDownloadZipResult.h" +#import "DBFILESFolderMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESDownloadZipResult + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); + + self = [super init]; + if (self) { + _metadata = metadata; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESDownloadZipResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESDownloadZipResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESDownloadZipResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadZipResult:other]; +} + +- (BOOL)isEqualToDownloadZipResult:(DBFILESDownloadZipResult *)aDownloadZipResult { + if (self == aDownloadZipResult) { + return YES; + } + if (![self.metadata isEqual:aDownloadZipResult.metadata]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESDownloadZipResultSerializer + ++ (NSDictionary *)serialize:(DBFILESDownloadZipResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESFolderMetadataSerializer serialize:valueObj.metadata]; + + return jsonDict; +} + ++ (DBFILESDownloadZipResult *)deserialize:(NSDictionary *)valueDict { + DBFILESFolderMetadata *metadata = [DBFILESFolderMetadataSerializer deserialize:valueDict[@"metadata"]]; + + return [[DBFILESDownloadZipResult alloc] initWithMetadata:metadata]; +} + +@end + +#import "DBFILESExportArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESExportArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path exportFormat:(NSString *)exportFormat { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + + self = [super init]; + if (self) { + _path = path; + _exportFormat = exportFormat; + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path exportFormat:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESExportArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESExportArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESExportArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.exportFormat != nil) { + result = prime * result + [self.exportFormat hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportArg:other]; +} + +- (BOOL)isEqualToExportArg:(DBFILESExportArg *)anExportArg { + if (self == anExportArg) { + return YES; + } + if (![self.path isEqual:anExportArg.path]) { + return NO; + } + if (self.exportFormat) { + if (![self.exportFormat isEqual:anExportArg.exportFormat]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESExportArgSerializer + ++ (NSDictionary *)serialize:(DBFILESExportArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + if (valueObj.exportFormat) { + jsonDict[@"export_format"] = valueObj.exportFormat; + } + + return jsonDict; +} + ++ (DBFILESExportArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *exportFormat = valueDict[@"export_format"] ?: nil; + + return [[DBFILESExportArg alloc] initWithPath:path exportFormat:exportFormat]; +} + +@end + +#import "DBFILESExportError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESExportError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESExportErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithNonExportable { + self = [super init]; + if (self) { + _tag = DBFILESExportErrorNonExportable; + } + return self; +} + +- (instancetype)initWithInvalidExportFormat { + self = [super init]; + if (self) { + _tag = DBFILESExportErrorInvalidExportFormat; + } + return self; +} + +- (instancetype)initWithRetryError { + self = [super init]; + if (self) { + _tag = DBFILESExportErrorRetryError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESExportErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESExportErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESExportErrorPath; +} + +- (BOOL)isNonExportable { + return _tag == DBFILESExportErrorNonExportable; +} + +- (BOOL)isInvalidExportFormat { + return _tag == DBFILESExportErrorInvalidExportFormat; +} + +- (BOOL)isRetryError { + return _tag == DBFILESExportErrorRetryError; +} + +- (BOOL)isOther { + return _tag == DBFILESExportErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESExportErrorPath: + return @"DBFILESExportErrorPath"; + case DBFILESExportErrorNonExportable: + return @"DBFILESExportErrorNonExportable"; + case DBFILESExportErrorInvalidExportFormat: + return @"DBFILESExportErrorInvalidExportFormat"; + case DBFILESExportErrorRetryError: + return @"DBFILESExportErrorRetryError"; + case DBFILESExportErrorOther: + return @"DBFILESExportErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESExportErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESExportErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESExportErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESExportErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESExportErrorNonExportable: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESExportErrorInvalidExportFormat: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESExportErrorRetryError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESExportErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportError:other]; +} + +- (BOOL)isEqualToExportError:(DBFILESExportError *)anExportError { + if (self == anExportError) { + return YES; + } + if (self.tag != anExportError.tag) { + return NO; + } + switch (_tag) { + case DBFILESExportErrorPath: + return [self.path isEqual:anExportError.path]; + case DBFILESExportErrorNonExportable: + return [[self tagName] isEqual:[anExportError tagName]]; + case DBFILESExportErrorInvalidExportFormat: + return [[self tagName] isEqual:[anExportError tagName]]; + case DBFILESExportErrorRetryError: + return [[self tagName] isEqual:[anExportError tagName]]; + case DBFILESExportErrorOther: + return [[self tagName] isEqual:[anExportError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESExportErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESExportError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isNonExportable]) { + jsonDict[@".tag"] = @"non_exportable"; + } else if ([valueObj isInvalidExportFormat]) { + jsonDict[@".tag"] = @"invalid_export_format"; + } else if ([valueObj isRetryError]) { + jsonDict[@".tag"] = @"retry_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESExportError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESExportError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"non_exportable"]) { + return [[DBFILESExportError alloc] initWithNonExportable]; + } else if ([tag isEqualToString:@"invalid_export_format"]) { + return [[DBFILESExportError alloc] initWithInvalidExportFormat]; + } else if ([tag isEqualToString:@"retry_error"]) { + return [[DBFILESExportError alloc] initWithRetryError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESExportError alloc] initWithOther]; + } else { + return [[DBFILESExportError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESExportInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESExportInfo + +#pragma mark - Constructors + +- (instancetype)initWithExportAs:(NSString *)exportAs exportOptions:(NSArray *)exportOptions { + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](exportOptions); + + self = [super init]; + if (self) { + _exportAs = exportAs; + _exportOptions = exportOptions; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithExportAs:nil exportOptions:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESExportInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESExportInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESExportInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.exportAs != nil) { + result = prime * result + [self.exportAs hash]; + } + if (self.exportOptions != nil) { + result = prime * result + [self.exportOptions hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportInfo:other]; +} + +- (BOOL)isEqualToExportInfo:(DBFILESExportInfo *)anExportInfo { + if (self == anExportInfo) { + return YES; + } + if (self.exportAs) { + if (![self.exportAs isEqual:anExportInfo.exportAs]) { + return NO; + } + } + if (self.exportOptions) { + if (![self.exportOptions isEqual:anExportInfo.exportOptions]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESExportInfoSerializer + ++ (NSDictionary *)serialize:(DBFILESExportInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.exportAs) { + jsonDict[@"export_as"] = valueObj.exportAs; + } + if (valueObj.exportOptions) { + jsonDict[@"export_options"] = [DBArraySerializer serialize:valueObj.exportOptions + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBFILESExportInfo *)deserialize:(NSDictionary *)valueDict { + NSString *exportAs = valueDict[@"export_as"] ?: nil; + NSArray *exportOptions = valueDict[@"export_options"] + ? [DBArraySerializer deserialize:valueDict[@"export_options"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBFILESExportInfo alloc] initWithExportAs:exportAs exportOptions:exportOptions]; +} + +@end + +#import "DBFILESExportMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESExportMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + size:(NSNumber *)size + exportHash:(NSString *)exportHash + paperRevision:(NSNumber *)paperRevision { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](size); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](exportHash); + + self = [super init]; + if (self) { + _name = name; + _size = size; + _exportHash = exportHash; + _paperRevision = paperRevision; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name size:(NSNumber *)size { + return [self initWithName:name size:size exportHash:nil paperRevision:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESExportMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESExportMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESExportMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + result = prime * result + [self.size hash]; + if (self.exportHash != nil) { + result = prime * result + [self.exportHash hash]; + } + if (self.paperRevision != nil) { + result = prime * result + [self.paperRevision hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportMetadata:other]; +} + +- (BOOL)isEqualToExportMetadata:(DBFILESExportMetadata *)anExportMetadata { + if (self == anExportMetadata) { + return YES; + } + if (![self.name isEqual:anExportMetadata.name]) { + return NO; + } + if (![self.size isEqual:anExportMetadata.size]) { + return NO; + } + if (self.exportHash) { + if (![self.exportHash isEqual:anExportMetadata.exportHash]) { + return NO; + } + } + if (self.paperRevision) { + if (![self.paperRevision isEqual:anExportMetadata.paperRevision]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESExportMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESExportMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + jsonDict[@"size"] = valueObj.size; + if (valueObj.exportHash) { + jsonDict[@"export_hash"] = valueObj.exportHash; + } + if (valueObj.paperRevision) { + jsonDict[@"paper_revision"] = valueObj.paperRevision; + } + + return jsonDict; +} + ++ (DBFILESExportMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSNumber *size = valueDict[@"size"]; + NSString *exportHash = valueDict[@"export_hash"] ?: nil; + NSNumber *paperRevision = valueDict[@"paper_revision"] ?: nil; + + return [[DBFILESExportMetadata alloc] initWithName:name size:size exportHash:exportHash paperRevision:paperRevision]; +} + +@end + +#import "DBFILESExportMetadata.h" +#import "DBFILESExportResult.h" +#import "DBFILESFileMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESExportResult + +#pragma mark - Constructors + +- (instancetype)initWithExportMetadata:(DBFILESExportMetadata *)exportMetadata + fileMetadata:(DBFILESFileMetadata *)fileMetadata { + [DBStoneValidators nonnullValidator:nil](exportMetadata); + [DBStoneValidators nonnullValidator:nil](fileMetadata); + + self = [super init]; + if (self) { + _exportMetadata = exportMetadata; + _fileMetadata = fileMetadata; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESExportResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESExportResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESExportResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.exportMetadata hash]; + result = prime * result + [self.fileMetadata hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportResult:other]; +} + +- (BOOL)isEqualToExportResult:(DBFILESExportResult *)anExportResult { + if (self == anExportResult) { + return YES; + } + if (![self.exportMetadata isEqual:anExportResult.exportMetadata]) { + return NO; + } + if (![self.fileMetadata isEqual:anExportResult.fileMetadata]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESExportResultSerializer + ++ (NSDictionary *)serialize:(DBFILESExportResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"export_metadata"] = [DBFILESExportMetadataSerializer serialize:valueObj.exportMetadata]; + jsonDict[@"file_metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.fileMetadata]; + + return jsonDict; +} + ++ (DBFILESExportResult *)deserialize:(NSDictionary *)valueDict { + DBFILESExportMetadata *exportMetadata = [DBFILESExportMetadataSerializer deserialize:valueDict[@"export_metadata"]]; + DBFILESFileMetadata *fileMetadata = [DBFILESFileMetadataSerializer deserialize:valueDict[@"file_metadata"]]; + + return [[DBFILESExportResult alloc] initWithExportMetadata:exportMetadata fileMetadata:fileMetadata]; +} + +@end + +#import "DBFILESFileCategory.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileCategory + +#pragma mark - Constructors + +- (instancetype)initWithImage { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryImage; + } + return self; +} + +- (instancetype)initWithDocument { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryDocument; + } + return self; +} + +- (instancetype)initWithPdf { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryPdf; + } + return self; +} + +- (instancetype)initWithSpreadsheet { + self = [super init]; + if (self) { + _tag = DBFILESFileCategorySpreadsheet; + } + return self; +} + +- (instancetype)initWithPresentation { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryPresentation; + } + return self; +} + +- (instancetype)initWithAudio { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryAudio; + } + return self; +} + +- (instancetype)initWithVideo { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryVideo; + } + return self; +} + +- (instancetype)initWithFolder { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryFolder; + } + return self; +} + +- (instancetype)initWithPaper { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryPaper; + } + return self; +} + +- (instancetype)initWithOthers { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryOthers; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESFileCategoryOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isImage { + return _tag == DBFILESFileCategoryImage; +} + +- (BOOL)isDocument { + return _tag == DBFILESFileCategoryDocument; +} + +- (BOOL)isPdf { + return _tag == DBFILESFileCategoryPdf; +} + +- (BOOL)isSpreadsheet { + return _tag == DBFILESFileCategorySpreadsheet; +} + +- (BOOL)isPresentation { + return _tag == DBFILESFileCategoryPresentation; +} + +- (BOOL)isAudio { + return _tag == DBFILESFileCategoryAudio; +} + +- (BOOL)isVideo { + return _tag == DBFILESFileCategoryVideo; +} + +- (BOOL)isFolder { + return _tag == DBFILESFileCategoryFolder; +} + +- (BOOL)isPaper { + return _tag == DBFILESFileCategoryPaper; +} + +- (BOOL)isOthers { + return _tag == DBFILESFileCategoryOthers; +} + +- (BOOL)isOther { + return _tag == DBFILESFileCategoryOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESFileCategoryImage: + return @"DBFILESFileCategoryImage"; + case DBFILESFileCategoryDocument: + return @"DBFILESFileCategoryDocument"; + case DBFILESFileCategoryPdf: + return @"DBFILESFileCategoryPdf"; + case DBFILESFileCategorySpreadsheet: + return @"DBFILESFileCategorySpreadsheet"; + case DBFILESFileCategoryPresentation: + return @"DBFILESFileCategoryPresentation"; + case DBFILESFileCategoryAudio: + return @"DBFILESFileCategoryAudio"; + case DBFILESFileCategoryVideo: + return @"DBFILESFileCategoryVideo"; + case DBFILESFileCategoryFolder: + return @"DBFILESFileCategoryFolder"; + case DBFILESFileCategoryPaper: + return @"DBFILESFileCategoryPaper"; + case DBFILESFileCategoryOthers: + return @"DBFILESFileCategoryOthers"; + case DBFILESFileCategoryOther: + return @"DBFILESFileCategoryOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileCategorySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileCategorySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileCategorySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESFileCategoryImage: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryDocument: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryPdf: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategorySpreadsheet: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryPresentation: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryAudio: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryVideo: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryPaper: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryOthers: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileCategoryOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCategory:other]; +} + +- (BOOL)isEqualToFileCategory:(DBFILESFileCategory *)aFileCategory { + if (self == aFileCategory) { + return YES; + } + if (self.tag != aFileCategory.tag) { + return NO; + } + switch (_tag) { + case DBFILESFileCategoryImage: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryDocument: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryPdf: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategorySpreadsheet: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryPresentation: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryAudio: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryVideo: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryFolder: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryPaper: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryOthers: + return [[self tagName] isEqual:[aFileCategory tagName]]; + case DBFILESFileCategoryOther: + return [[self tagName] isEqual:[aFileCategory tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileCategorySerializer + ++ (NSDictionary *)serialize:(DBFILESFileCategory *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isImage]) { + jsonDict[@".tag"] = @"image"; + } else if ([valueObj isDocument]) { + jsonDict[@".tag"] = @"document"; + } else if ([valueObj isPdf]) { + jsonDict[@".tag"] = @"pdf"; + } else if ([valueObj isSpreadsheet]) { + jsonDict[@".tag"] = @"spreadsheet"; + } else if ([valueObj isPresentation]) { + jsonDict[@".tag"] = @"presentation"; + } else if ([valueObj isAudio]) { + jsonDict[@".tag"] = @"audio"; + } else if ([valueObj isVideo]) { + jsonDict[@".tag"] = @"video"; + } else if ([valueObj isFolder]) { + jsonDict[@".tag"] = @"folder"; + } else if ([valueObj isPaper]) { + jsonDict[@".tag"] = @"paper"; + } else if ([valueObj isOthers]) { + jsonDict[@".tag"] = @"others"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESFileCategory *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"image"]) { + return [[DBFILESFileCategory alloc] initWithImage]; + } else if ([tag isEqualToString:@"document"]) { + return [[DBFILESFileCategory alloc] initWithDocument]; + } else if ([tag isEqualToString:@"pdf"]) { + return [[DBFILESFileCategory alloc] initWithPdf]; + } else if ([tag isEqualToString:@"spreadsheet"]) { + return [[DBFILESFileCategory alloc] initWithSpreadsheet]; + } else if ([tag isEqualToString:@"presentation"]) { + return [[DBFILESFileCategory alloc] initWithPresentation]; + } else if ([tag isEqualToString:@"audio"]) { + return [[DBFILESFileCategory alloc] initWithAudio]; + } else if ([tag isEqualToString:@"video"]) { + return [[DBFILESFileCategory alloc] initWithVideo]; + } else if ([tag isEqualToString:@"folder"]) { + return [[DBFILESFileCategory alloc] initWithFolder]; + } else if ([tag isEqualToString:@"paper"]) { + return [[DBFILESFileCategory alloc] initWithPaper]; + } else if ([tag isEqualToString:@"others"]) { + return [[DBFILESFileCategory alloc] initWithOthers]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESFileCategory alloc] initWithOther]; + } else { + return [[DBFILESFileCategory alloc] initWithOther]; + } +} + +@end + +#import "DBFILESFileLock.h" +#import "DBFILESFileLockContent.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileLock + +#pragma mark - Constructors + +- (instancetype)initWithContent:(DBFILESFileLockContent *)content { + [DBStoneValidators nonnullValidator:nil](content); + + self = [super init]; + if (self) { + _content = content; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileLockSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileLockSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileLockSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.content hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLock:other]; +} + +- (BOOL)isEqualToFileLock:(DBFILESFileLock *)aFileLock { + if (self == aFileLock) { + return YES; + } + if (![self.content isEqual:aFileLock.content]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileLockSerializer + ++ (NSDictionary *)serialize:(DBFILESFileLock *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"content"] = [DBFILESFileLockContentSerializer serialize:valueObj.content]; + + return jsonDict; +} + ++ (DBFILESFileLock *)deserialize:(NSDictionary *)valueDict { + DBFILESFileLockContent *content = [DBFILESFileLockContentSerializer deserialize:valueDict[@"content"]]; + + return [[DBFILESFileLock alloc] initWithContent:content]; +} + +@end + +#import "DBFILESFileLockContent.h" +#import "DBFILESSingleUserLock.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileLockContent + +@synthesize singleUser = _singleUser; + +#pragma mark - Constructors + +- (instancetype)initWithUnlocked { + self = [super init]; + if (self) { + _tag = DBFILESFileLockContentUnlocked; + } + return self; +} + +- (instancetype)initWithSingleUser:(DBFILESSingleUserLock *)singleUser { + self = [super init]; + if (self) { + _tag = DBFILESFileLockContentSingleUser; + _singleUser = singleUser; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESFileLockContentOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESSingleUserLock *)singleUser { + if (![self isSingleUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESFileLockContentSingleUser, but was %@.", [self tagName]]; + } + return _singleUser; +} + +#pragma mark - Tag state methods + +- (BOOL)isUnlocked { + return _tag == DBFILESFileLockContentUnlocked; +} + +- (BOOL)isSingleUser { + return _tag == DBFILESFileLockContentSingleUser; +} + +- (BOOL)isOther { + return _tag == DBFILESFileLockContentOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESFileLockContentUnlocked: + return @"DBFILESFileLockContentUnlocked"; + case DBFILESFileLockContentSingleUser: + return @"DBFILESFileLockContentSingleUser"; + case DBFILESFileLockContentOther: + return @"DBFILESFileLockContentOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileLockContentSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileLockContentSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileLockContentSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESFileLockContentUnlocked: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileLockContentSingleUser: + result = prime * result + [self.singleUser hash]; + break; + case DBFILESFileLockContentOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockContent:other]; +} + +- (BOOL)isEqualToFileLockContent:(DBFILESFileLockContent *)aFileLockContent { + if (self == aFileLockContent) { + return YES; + } + if (self.tag != aFileLockContent.tag) { + return NO; + } + switch (_tag) { + case DBFILESFileLockContentUnlocked: + return [[self tagName] isEqual:[aFileLockContent tagName]]; + case DBFILESFileLockContentSingleUser: + return [self.singleUser isEqual:aFileLockContent.singleUser]; + case DBFILESFileLockContentOther: + return [[self tagName] isEqual:[aFileLockContent tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileLockContentSerializer + ++ (NSDictionary *)serialize:(DBFILESFileLockContent *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUnlocked]) { + jsonDict[@".tag"] = @"unlocked"; + } else if ([valueObj isSingleUser]) { + [jsonDict addEntriesFromDictionary:[DBFILESSingleUserLockSerializer serialize:valueObj.singleUser]]; + jsonDict[@".tag"] = @"single_user"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESFileLockContent *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"unlocked"]) { + return [[DBFILESFileLockContent alloc] initWithUnlocked]; + } else if ([tag isEqualToString:@"single_user"]) { + DBFILESSingleUserLock *singleUser = [DBFILESSingleUserLockSerializer deserialize:valueDict]; + return [[DBFILESFileLockContent alloc] initWithSingleUser:singleUser]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESFileLockContent alloc] initWithOther]; + } else { + return [[DBFILESFileLockContent alloc] initWithOther]; + } +} + +@end + +#import "DBFILESFileLockMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileLockMetadata + +#pragma mark - Constructors + +- (instancetype)initWithIsLockholder:(NSNumber *)isLockholder + lockholderName:(NSString *)lockholderName + lockholderAccountId:(NSString *)lockholderAccountId + created:(NSDate *)created { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](lockholderAccountId); + + self = [super init]; + if (self) { + _isLockholder = isLockholder; + _lockholderName = lockholderName; + _lockholderAccountId = lockholderAccountId; + _created = created; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithIsLockholder:nil lockholderName:nil lockholderAccountId:nil created:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileLockMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileLockMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileLockMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.isLockholder != nil) { + result = prime * result + [self.isLockholder hash]; + } + if (self.lockholderName != nil) { + result = prime * result + [self.lockholderName hash]; + } + if (self.lockholderAccountId != nil) { + result = prime * result + [self.lockholderAccountId hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockMetadata:other]; +} + +- (BOOL)isEqualToFileLockMetadata:(DBFILESFileLockMetadata *)aFileLockMetadata { + if (self == aFileLockMetadata) { + return YES; + } + if (self.isLockholder) { + if (![self.isLockholder isEqual:aFileLockMetadata.isLockholder]) { + return NO; + } + } + if (self.lockholderName) { + if (![self.lockholderName isEqual:aFileLockMetadata.lockholderName]) { + return NO; + } + } + if (self.lockholderAccountId) { + if (![self.lockholderAccountId isEqual:aFileLockMetadata.lockholderAccountId]) { + return NO; + } + } + if (self.created) { + if (![self.created isEqual:aFileLockMetadata.created]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileLockMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESFileLockMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.isLockholder) { + jsonDict[@"is_lockholder"] = valueObj.isLockholder; + } + if (valueObj.lockholderName) { + jsonDict[@"lockholder_name"] = valueObj.lockholderName; + } + if (valueObj.lockholderAccountId) { + jsonDict[@"lockholder_account_id"] = valueObj.lockholderAccountId; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBFILESFileLockMetadata *)deserialize:(NSDictionary *)valueDict { + NSNumber *isLockholder = valueDict[@"is_lockholder"] ?: nil; + NSString *lockholderName = valueDict[@"lockholder_name"] ?: nil; + NSString *lockholderAccountId = valueDict[@"lockholder_account_id"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBFILESFileLockMetadata alloc] initWithIsLockholder:isLockholder + lockholderName:lockholderName + lockholderAccountId:lockholderAccountId + created:created]; +} + +@end + +#import "DBFILEPROPERTIESPropertyGroup.h" +#import "DBFILESExportInfo.h" +#import "DBFILESFileLockMetadata.h" +#import "DBFILESFileMetadata.h" +#import "DBFILESFileSharingInfo.h" +#import "DBFILESMediaInfo.h" +#import "DBFILESMetadata.h" +#import "DBFILESSymlinkInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + id_:(NSString *)id_ + clientModified:(NSDate *)clientModified + serverModified:(NSDate *)serverModified + rev:(NSString *)rev + size:(NSNumber *)size + pathLower:(NSString *)pathLower + pathDisplay:(NSString *)pathDisplay + parentSharedFolderId:(NSString *)parentSharedFolderId + previewUrl:(NSString *)previewUrl + mediaInfo:(DBFILESMediaInfo *)mediaInfo + symlinkInfo:(DBFILESSymlinkInfo *)symlinkInfo + sharingInfo:(DBFILESFileSharingInfo *)sharingInfo + isDownloadable:(NSNumber *)isDownloadable + exportInfo:(DBFILESExportInfo *)exportInfo + propertyGroups:(NSArray *)propertyGroups + hasExplicitSharedMembers:(NSNumber *)hasExplicitSharedMembers + contentHash:(NSString *)contentHash + fileLockInfo:(DBFILESFileLockMetadata *)fileLockInfo { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + [DBStoneValidators nonnullValidator:nil](clientModified); + [DBStoneValidators nonnullValidator:nil](serverModified); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + [DBStoneValidators nonnullValidator:nil](size); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); + + self = [super initWithName:name + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl]; + if (self) { + _id_ = id_; + _clientModified = clientModified; + _serverModified = serverModified; + _rev = rev; + _size = size; + _mediaInfo = mediaInfo; + _symlinkInfo = symlinkInfo; + _sharingInfo = sharingInfo; + _isDownloadable = isDownloadable ?: @YES; + _exportInfo = exportInfo; + _propertyGroups = propertyGroups; + _hasExplicitSharedMembers = hasExplicitSharedMembers; + _contentHash = contentHash; + _fileLockInfo = fileLockInfo; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name + id_:(NSString *)id_ + clientModified:(NSDate *)clientModified + serverModified:(NSDate *)serverModified + rev:(NSString *)rev + size:(NSNumber *)size { + return [self initWithName:name + id_:id_ + clientModified:clientModified + serverModified:serverModified + rev:rev + size:size + pathLower:nil + pathDisplay:nil + parentSharedFolderId:nil + previewUrl:nil + mediaInfo:nil + symlinkInfo:nil + sharingInfo:nil + isDownloadable:nil + exportInfo:nil + propertyGroups:nil + hasExplicitSharedMembers:nil + contentHash:nil + fileLockInfo:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { return [[DBFILESFileMetadataSerializer serialize:self] description]; } @@ -3867,36 +7743,10499 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; - result = prime * result + [self.id_ hash]; - result = prime * result + [self.clientModified hash]; - result = prime * result + [self.serverModified hash]; - result = prime * result + [self.rev hash]; - result = prime * result + [self.size hash]; - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.pathDisplay != nil) { - result = prime * result + [self.pathDisplay hash]; - } - if (self.parentSharedFolderId != nil) { - result = prime * result + [self.parentSharedFolderId hash]; - } - if (self.mediaInfo != nil) { - result = prime * result + [self.mediaInfo hash]; - } - if (self.sharingInfo != nil) { - result = prime * result + [self.sharingInfo hash]; - } - if (self.propertyGroups != nil) { - result = prime * result + [self.propertyGroups hash]; - } - if (self.hasExplicitSharedMembers != nil) { - result = prime * result + [self.hasExplicitSharedMembers hash]; - } - if (self.contentHash != nil) { - result = prime * result + [self.contentHash hash]; - } + result = prime * result + [self.name hash]; + result = prime * result + [self.id_ hash]; + result = prime * result + [self.clientModified hash]; + result = prime * result + [self.serverModified hash]; + result = prime * result + [self.rev hash]; + result = prime * result + [self.size hash]; + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } + if (self.parentSharedFolderId != nil) { + result = prime * result + [self.parentSharedFolderId hash]; + } + if (self.previewUrl != nil) { + result = prime * result + [self.previewUrl hash]; + } + if (self.mediaInfo != nil) { + result = prime * result + [self.mediaInfo hash]; + } + if (self.symlinkInfo != nil) { + result = prime * result + [self.symlinkInfo hash]; + } + if (self.sharingInfo != nil) { + result = prime * result + [self.sharingInfo hash]; + } + result = prime * result + [self.isDownloadable hash]; + if (self.exportInfo != nil) { + result = prime * result + [self.exportInfo hash]; + } + if (self.propertyGroups != nil) { + result = prime * result + [self.propertyGroups hash]; + } + if (self.hasExplicitSharedMembers != nil) { + result = prime * result + [self.hasExplicitSharedMembers hash]; + } + if (self.contentHash != nil) { + result = prime * result + [self.contentHash hash]; + } + if (self.fileLockInfo != nil) { + result = prime * result + [self.fileLockInfo hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileMetadata:other]; +} + +- (BOOL)isEqualToFileMetadata:(DBFILESFileMetadata *)aFileMetadata { + if (self == aFileMetadata) { + return YES; + } + if (![self.name isEqual:aFileMetadata.name]) { + return NO; + } + if (![self.id_ isEqual:aFileMetadata.id_]) { + return NO; + } + if (![self.clientModified isEqual:aFileMetadata.clientModified]) { + return NO; + } + if (![self.serverModified isEqual:aFileMetadata.serverModified]) { + return NO; + } + if (![self.rev isEqual:aFileMetadata.rev]) { + return NO; + } + if (![self.size isEqual:aFileMetadata.size]) { + return NO; + } + if (self.pathLower) { + if (![self.pathLower isEqual:aFileMetadata.pathLower]) { + return NO; + } + } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aFileMetadata.pathDisplay]) { + return NO; + } + } + if (self.parentSharedFolderId) { + if (![self.parentSharedFolderId isEqual:aFileMetadata.parentSharedFolderId]) { + return NO; + } + } + if (self.previewUrl) { + if (![self.previewUrl isEqual:aFileMetadata.previewUrl]) { + return NO; + } + } + if (self.mediaInfo) { + if (![self.mediaInfo isEqual:aFileMetadata.mediaInfo]) { + return NO; + } + } + if (self.symlinkInfo) { + if (![self.symlinkInfo isEqual:aFileMetadata.symlinkInfo]) { + return NO; + } + } + if (self.sharingInfo) { + if (![self.sharingInfo isEqual:aFileMetadata.sharingInfo]) { + return NO; + } + } + if (![self.isDownloadable isEqual:aFileMetadata.isDownloadable]) { + return NO; + } + if (self.exportInfo) { + if (![self.exportInfo isEqual:aFileMetadata.exportInfo]) { + return NO; + } + } + if (self.propertyGroups) { + if (![self.propertyGroups isEqual:aFileMetadata.propertyGroups]) { + return NO; + } + } + if (self.hasExplicitSharedMembers) { + if (![self.hasExplicitSharedMembers isEqual:aFileMetadata.hasExplicitSharedMembers]) { + return NO; + } + } + if (self.contentHash) { + if (![self.contentHash isEqual:aFileMetadata.contentHash]) { + return NO; + } + } + if (self.fileLockInfo) { + if (![self.fileLockInfo isEqual:aFileMetadata.fileLockInfo]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESFileMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + jsonDict[@"id"] = valueObj.id_; + jsonDict[@"client_modified"] = + [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"server_modified"] = + [DBNSDateSerializer serialize:valueObj.serverModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"rev"] = valueObj.rev; + jsonDict[@"size"] = valueObj.size; + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } + if (valueObj.parentSharedFolderId) { + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + } + if (valueObj.previewUrl) { + jsonDict[@"preview_url"] = valueObj.previewUrl; + } + if (valueObj.mediaInfo) { + jsonDict[@"media_info"] = [DBFILESMediaInfoSerializer serialize:valueObj.mediaInfo]; + } + if (valueObj.symlinkInfo) { + jsonDict[@"symlink_info"] = [DBFILESSymlinkInfoSerializer serialize:valueObj.symlinkInfo]; + } + if (valueObj.sharingInfo) { + jsonDict[@"sharing_info"] = [DBFILESFileSharingInfoSerializer serialize:valueObj.sharingInfo]; + } + jsonDict[@"is_downloadable"] = valueObj.isDownloadable; + if (valueObj.exportInfo) { + jsonDict[@"export_info"] = [DBFILESExportInfoSerializer serialize:valueObj.exportInfo]; + } + if (valueObj.propertyGroups) { + jsonDict[@"property_groups"] = + [DBArraySerializer serialize:valueObj.propertyGroups + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; + }]; + } + if (valueObj.hasExplicitSharedMembers) { + jsonDict[@"has_explicit_shared_members"] = valueObj.hasExplicitSharedMembers; + } + if (valueObj.contentHash) { + jsonDict[@"content_hash"] = valueObj.contentHash; + } + if (valueObj.fileLockInfo) { + jsonDict[@"file_lock_info"] = [DBFILESFileLockMetadataSerializer serialize:valueObj.fileLockInfo]; + } + + return jsonDict; +} + ++ (DBFILESFileMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *id_ = valueDict[@"id"]; + NSDate *clientModified = + [DBNSDateSerializer deserialize:valueDict[@"client_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *serverModified = + [DBNSDateSerializer deserialize:valueDict[@"server_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSString *rev = valueDict[@"rev"]; + NSNumber *size = valueDict[@"size"]; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + NSString *pathDisplay = valueDict[@"path_display"] ?: nil; + NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *previewUrl = valueDict[@"preview_url"] ?: nil; + DBFILESMediaInfo *mediaInfo = + valueDict[@"media_info"] ? [DBFILESMediaInfoSerializer deserialize:valueDict[@"media_info"]] : nil; + DBFILESSymlinkInfo *symlinkInfo = + valueDict[@"symlink_info"] ? [DBFILESSymlinkInfoSerializer deserialize:valueDict[@"symlink_info"]] : nil; + DBFILESFileSharingInfo *sharingInfo = + valueDict[@"sharing_info"] ? [DBFILESFileSharingInfoSerializer deserialize:valueDict[@"sharing_info"]] : nil; + NSNumber *isDownloadable = valueDict[@"is_downloadable"] ?: @YES; + DBFILESExportInfo *exportInfo = + valueDict[@"export_info"] ? [DBFILESExportInfoSerializer deserialize:valueDict[@"export_info"]] : nil; + NSArray *propertyGroups = + valueDict[@"property_groups"] + ? [DBArraySerializer deserialize:valueDict[@"property_groups"] + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; + }] + : nil; + NSNumber *hasExplicitSharedMembers = valueDict[@"has_explicit_shared_members"] ?: nil; + NSString *contentHash = valueDict[@"content_hash"] ?: nil; + DBFILESFileLockMetadata *fileLockInfo = + valueDict[@"file_lock_info"] ? [DBFILESFileLockMetadataSerializer deserialize:valueDict[@"file_lock_info"]] : nil; + + return [[DBFILESFileMetadata alloc] initWithName:name + id_:id_ + clientModified:clientModified + serverModified:serverModified + rev:rev + size:size + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl + mediaInfo:mediaInfo + symlinkInfo:symlinkInfo + sharingInfo:sharingInfo + isDownloadable:isDownloadable + exportInfo:exportInfo + propertyGroups:propertyGroups + hasExplicitSharedMembers:hasExplicitSharedMembers + contentHash:contentHash + fileLockInfo:fileLockInfo]; +} + +@end + +#import "DBFILESSharingInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESSharingInfo + +#pragma mark - Constructors + +- (instancetype)initWithReadOnly:(NSNumber *)readOnly { + [DBStoneValidators nonnullValidator:nil](readOnly); + + self = [super init]; + if (self) { + _readOnly = readOnly; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSharingInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSharingInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESSharingInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.readOnly hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharingInfo:other]; +} + +- (BOOL)isEqualToSharingInfo:(DBFILESSharingInfo *)aSharingInfo { + if (self == aSharingInfo) { + return YES; + } + if (![self.readOnly isEqual:aSharingInfo.readOnly]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESSharingInfoSerializer + ++ (NSDictionary *)serialize:(DBFILESSharingInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"read_only"] = valueObj.readOnly; + + return jsonDict; +} + ++ (DBFILESSharingInfo *)deserialize:(NSDictionary *)valueDict { + NSNumber *readOnly = valueDict[@"read_only"]; + + return [[DBFILESSharingInfo alloc] initWithReadOnly:readOnly]; +} + +@end + +#import "DBFILESFileSharingInfo.h" +#import "DBFILESSharingInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileSharingInfo + +#pragma mark - Constructors + +- (instancetype)initWithReadOnly:(NSNumber *)readOnly + parentSharedFolderId:(NSString *)parentSharedFolderId + modifiedBy:(NSString *)modifiedBy { + [DBStoneValidators nonnullValidator:nil](readOnly); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](modifiedBy); + + self = [super initWithReadOnly:readOnly]; + if (self) { + _parentSharedFolderId = parentSharedFolderId; + _modifiedBy = modifiedBy; + } + return self; +} + +- (instancetype)initWithReadOnly:(NSNumber *)readOnly parentSharedFolderId:(NSString *)parentSharedFolderId { + return [self initWithReadOnly:readOnly parentSharedFolderId:parentSharedFolderId modifiedBy:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileSharingInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileSharingInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileSharingInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.readOnly hash]; + result = prime * result + [self.parentSharedFolderId hash]; + if (self.modifiedBy != nil) { + result = prime * result + [self.modifiedBy hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileSharingInfo:other]; +} + +- (BOOL)isEqualToFileSharingInfo:(DBFILESFileSharingInfo *)aFileSharingInfo { + if (self == aFileSharingInfo) { + return YES; + } + if (![self.readOnly isEqual:aFileSharingInfo.readOnly]) { + return NO; + } + if (![self.parentSharedFolderId isEqual:aFileSharingInfo.parentSharedFolderId]) { + return NO; + } + if (self.modifiedBy) { + if (![self.modifiedBy isEqual:aFileSharingInfo.modifiedBy]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileSharingInfoSerializer + ++ (NSDictionary *)serialize:(DBFILESFileSharingInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"read_only"] = valueObj.readOnly; + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + if (valueObj.modifiedBy) { + jsonDict[@"modified_by"] = valueObj.modifiedBy; + } + + return jsonDict; +} + ++ (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)valueDict { + NSNumber *readOnly = valueDict[@"read_only"]; + NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"]; + NSString *modifiedBy = valueDict[@"modified_by"] ?: nil; + + return [[DBFILESFileSharingInfo alloc] initWithReadOnly:readOnly + parentSharedFolderId:parentSharedFolderId + modifiedBy:modifiedBy]; +} + +@end + +#import "DBFILESFileStatus.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFileStatus + +#pragma mark - Constructors + +- (instancetype)initWithActive { + self = [super init]; + if (self) { + _tag = DBFILESFileStatusActive; + } + return self; +} + +- (instancetype)initWithDeleted { + self = [super init]; + if (self) { + _tag = DBFILESFileStatusDeleted; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESFileStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isActive { + return _tag == DBFILESFileStatusActive; +} + +- (BOOL)isDeleted { + return _tag == DBFILESFileStatusDeleted; +} + +- (BOOL)isOther { + return _tag == DBFILESFileStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESFileStatusActive: + return @"DBFILESFileStatusActive"; + case DBFILESFileStatusDeleted: + return @"DBFILESFileStatusDeleted"; + case DBFILESFileStatusOther: + return @"DBFILESFileStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFileStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFileStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFileStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESFileStatusActive: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileStatusDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESFileStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileStatus:other]; +} + +- (BOOL)isEqualToFileStatus:(DBFILESFileStatus *)aFileStatus { + if (self == aFileStatus) { + return YES; + } + if (self.tag != aFileStatus.tag) { + return NO; + } + switch (_tag) { + case DBFILESFileStatusActive: + return [[self tagName] isEqual:[aFileStatus tagName]]; + case DBFILESFileStatusDeleted: + return [[self tagName] isEqual:[aFileStatus tagName]]; + case DBFILESFileStatusOther: + return [[self tagName] isEqual:[aFileStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFileStatusSerializer + ++ (NSDictionary *)serialize:(DBFILESFileStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isDeleted]) { + jsonDict[@".tag"] = @"deleted"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESFileStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"active"]) { + return [[DBFILESFileStatus alloc] initWithActive]; + } else if ([tag isEqualToString:@"deleted"]) { + return [[DBFILESFileStatus alloc] initWithDeleted]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESFileStatus alloc] initWithOther]; + } else { + return [[DBFILESFileStatus alloc] initWithOther]; + } +} + +@end + +#import "DBFILEPROPERTIESPropertyGroup.h" +#import "DBFILESFolderMetadata.h" +#import "DBFILESFolderSharingInfo.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFolderMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + id_:(NSString *)id_ + pathLower:(NSString *)pathLower + pathDisplay:(NSString *)pathDisplay + parentSharedFolderId:(NSString *)parentSharedFolderId + previewUrl:(NSString *)previewUrl + sharedFolderId:(NSString *)sharedFolderId + sharingInfo:(DBFILESFolderSharingInfo *)sharingInfo + propertyGroups:(NSArray *)propertyGroups { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); + + self = [super initWithName:name + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl]; + if (self) { + _id_ = id_; + _sharedFolderId = sharedFolderId; + _sharingInfo = sharingInfo; + _propertyGroups = propertyGroups; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name id_:(NSString *)id_ { + return [self initWithName:name + id_:id_ + pathLower:nil + pathDisplay:nil + parentSharedFolderId:nil + previewUrl:nil + sharedFolderId:nil + sharingInfo:nil + propertyGroups:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFolderMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFolderMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFolderMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + result = prime * result + [self.id_ hash]; + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } + if (self.parentSharedFolderId != nil) { + result = prime * result + [self.parentSharedFolderId hash]; + } + if (self.previewUrl != nil) { + result = prime * result + [self.previewUrl hash]; + } + if (self.sharedFolderId != nil) { + result = prime * result + [self.sharedFolderId hash]; + } + if (self.sharingInfo != nil) { + result = prime * result + [self.sharingInfo hash]; + } + if (self.propertyGroups != nil) { + result = prime * result + [self.propertyGroups hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderMetadata:other]; +} + +- (BOOL)isEqualToFolderMetadata:(DBFILESFolderMetadata *)aFolderMetadata { + if (self == aFolderMetadata) { + return YES; + } + if (![self.name isEqual:aFolderMetadata.name]) { + return NO; + } + if (![self.id_ isEqual:aFolderMetadata.id_]) { + return NO; + } + if (self.pathLower) { + if (![self.pathLower isEqual:aFolderMetadata.pathLower]) { + return NO; + } + } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aFolderMetadata.pathDisplay]) { + return NO; + } + } + if (self.parentSharedFolderId) { + if (![self.parentSharedFolderId isEqual:aFolderMetadata.parentSharedFolderId]) { + return NO; + } + } + if (self.previewUrl) { + if (![self.previewUrl isEqual:aFolderMetadata.previewUrl]) { + return NO; + } + } + if (self.sharedFolderId) { + if (![self.sharedFolderId isEqual:aFolderMetadata.sharedFolderId]) { + return NO; + } + } + if (self.sharingInfo) { + if (![self.sharingInfo isEqual:aFolderMetadata.sharingInfo]) { + return NO; + } + } + if (self.propertyGroups) { + if (![self.propertyGroups isEqual:aFolderMetadata.propertyGroups]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFolderMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESFolderMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + jsonDict[@"id"] = valueObj.id_; + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } + if (valueObj.parentSharedFolderId) { + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + } + if (valueObj.previewUrl) { + jsonDict[@"preview_url"] = valueObj.previewUrl; + } + if (valueObj.sharedFolderId) { + jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; + } + if (valueObj.sharingInfo) { + jsonDict[@"sharing_info"] = [DBFILESFolderSharingInfoSerializer serialize:valueObj.sharingInfo]; + } + if (valueObj.propertyGroups) { + jsonDict[@"property_groups"] = + [DBArraySerializer serialize:valueObj.propertyGroups + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; + }]; + } + + return jsonDict; +} + ++ (DBFILESFolderMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *id_ = valueDict[@"id"]; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + NSString *pathDisplay = valueDict[@"path_display"] ?: nil; + NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *previewUrl = valueDict[@"preview_url"] ?: nil; + NSString *sharedFolderId = valueDict[@"shared_folder_id"] ?: nil; + DBFILESFolderSharingInfo *sharingInfo = + valueDict[@"sharing_info"] ? [DBFILESFolderSharingInfoSerializer deserialize:valueDict[@"sharing_info"]] : nil; + NSArray *propertyGroups = + valueDict[@"property_groups"] + ? [DBArraySerializer deserialize:valueDict[@"property_groups"] + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; + }] + : nil; + + return [[DBFILESFolderMetadata alloc] initWithName:name + id_:id_ + pathLower:pathLower + pathDisplay:pathDisplay + parentSharedFolderId:parentSharedFolderId + previewUrl:previewUrl + sharedFolderId:sharedFolderId + sharingInfo:sharingInfo + propertyGroups:propertyGroups]; +} + +@end + +#import "DBFILESFolderSharingInfo.h" +#import "DBFILESSharingInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESFolderSharingInfo + +#pragma mark - Constructors + +- (instancetype)initWithReadOnly:(NSNumber *)readOnly + parentSharedFolderId:(NSString *)parentSharedFolderId + sharedFolderId:(NSString *)sharedFolderId + traverseOnly:(NSNumber *)traverseOnly + noAccess:(NSNumber *)noAccess { + [DBStoneValidators nonnullValidator:nil](readOnly); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( + parentSharedFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); + + self = [super initWithReadOnly:readOnly]; + if (self) { + _parentSharedFolderId = parentSharedFolderId; + _sharedFolderId = sharedFolderId; + _traverseOnly = traverseOnly ?: @NO; + _noAccess = noAccess ?: @NO; + } + return self; +} + +- (instancetype)initWithReadOnly:(NSNumber *)readOnly { + return [self initWithReadOnly:readOnly parentSharedFolderId:nil sharedFolderId:nil traverseOnly:nil noAccess:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESFolderSharingInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESFolderSharingInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESFolderSharingInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.readOnly hash]; + if (self.parentSharedFolderId != nil) { + result = prime * result + [self.parentSharedFolderId hash]; + } + if (self.sharedFolderId != nil) { + result = prime * result + [self.sharedFolderId hash]; + } + result = prime * result + [self.traverseOnly hash]; + result = prime * result + [self.noAccess hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderSharingInfo:other]; +} + +- (BOOL)isEqualToFolderSharingInfo:(DBFILESFolderSharingInfo *)aFolderSharingInfo { + if (self == aFolderSharingInfo) { + return YES; + } + if (![self.readOnly isEqual:aFolderSharingInfo.readOnly]) { + return NO; + } + if (self.parentSharedFolderId) { + if (![self.parentSharedFolderId isEqual:aFolderSharingInfo.parentSharedFolderId]) { + return NO; + } + } + if (self.sharedFolderId) { + if (![self.sharedFolderId isEqual:aFolderSharingInfo.sharedFolderId]) { + return NO; + } + } + if (![self.traverseOnly isEqual:aFolderSharingInfo.traverseOnly]) { + return NO; + } + if (![self.noAccess isEqual:aFolderSharingInfo.noAccess]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESFolderSharingInfoSerializer + ++ (NSDictionary *)serialize:(DBFILESFolderSharingInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"read_only"] = valueObj.readOnly; + if (valueObj.parentSharedFolderId) { + jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; + } + if (valueObj.sharedFolderId) { + jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; + } + jsonDict[@"traverse_only"] = valueObj.traverseOnly; + jsonDict[@"no_access"] = valueObj.noAccess; + + return jsonDict; +} + ++ (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)valueDict { + NSNumber *readOnly = valueDict[@"read_only"]; + NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *sharedFolderId = valueDict[@"shared_folder_id"] ?: nil; + NSNumber *traverseOnly = valueDict[@"traverse_only"] ?: @NO; + NSNumber *noAccess = valueDict[@"no_access"] ?: @NO; + + return [[DBFILESFolderSharingInfo alloc] initWithReadOnly:readOnly + parentSharedFolderId:parentSharedFolderId + sharedFolderId:sharedFolderId + traverseOnly:traverseOnly + noAccess:noAccess]; +} + +@end + +#import "DBFILESGetCopyReferenceArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetCopyReferenceArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + + self = [super init]; + if (self) { + _path = path; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetCopyReferenceArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetCopyReferenceArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetCopyReferenceArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetCopyReferenceArg:other]; +} + +- (BOOL)isEqualToGetCopyReferenceArg:(DBFILESGetCopyReferenceArg *)aGetCopyReferenceArg { + if (self == aGetCopyReferenceArg) { + return YES; + } + if (![self.path isEqual:aGetCopyReferenceArg.path]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetCopyReferenceArgSerializer + ++ (NSDictionary *)serialize:(DBFILESGetCopyReferenceArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + + return jsonDict; +} + ++ (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + + return [[DBFILESGetCopyReferenceArg alloc] initWithPath:path]; +} + +@end + +#import "DBFILESGetCopyReferenceError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetCopyReferenceError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESGetCopyReferenceErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESGetCopyReferenceErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESGetCopyReferenceErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESGetCopyReferenceErrorPath; +} + +- (BOOL)isOther { + return _tag == DBFILESGetCopyReferenceErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESGetCopyReferenceErrorPath: + return @"DBFILESGetCopyReferenceErrorPath"; + case DBFILESGetCopyReferenceErrorOther: + return @"DBFILESGetCopyReferenceErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetCopyReferenceErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetCopyReferenceErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetCopyReferenceErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESGetCopyReferenceErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESGetCopyReferenceErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetCopyReferenceError:other]; +} + +- (BOOL)isEqualToGetCopyReferenceError:(DBFILESGetCopyReferenceError *)aGetCopyReferenceError { + if (self == aGetCopyReferenceError) { + return YES; + } + if (self.tag != aGetCopyReferenceError.tag) { + return NO; + } + switch (_tag) { + case DBFILESGetCopyReferenceErrorPath: + return [self.path isEqual:aGetCopyReferenceError.path]; + case DBFILESGetCopyReferenceErrorOther: + return [[self tagName] isEqual:[aGetCopyReferenceError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetCopyReferenceErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESGetCopyReferenceError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESGetCopyReferenceError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESGetCopyReferenceError alloc] initWithOther]; + } else { + return [[DBFILESGetCopyReferenceError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESGetCopyReferenceResult.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetCopyReferenceResult + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata + dCopyReference:(NSString *)dCopyReference + expires:(NSDate *)expires { + [DBStoneValidators nonnullValidator:nil](metadata); + [DBStoneValidators nonnullValidator:nil](dCopyReference); + [DBStoneValidators nonnullValidator:nil](expires); + + self = [super init]; + if (self) { + _metadata = metadata; + _dCopyReference = dCopyReference; + _expires = expires; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetCopyReferenceResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetCopyReferenceResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetCopyReferenceResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + result = prime * result + [self.dCopyReference hash]; + result = prime * result + [self.expires hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetCopyReferenceResult:other]; +} + +- (BOOL)isEqualToGetCopyReferenceResult:(DBFILESGetCopyReferenceResult *)aGetCopyReferenceResult { + if (self == aGetCopyReferenceResult) { + return YES; + } + if (![self.metadata isEqual:aGetCopyReferenceResult.metadata]) { + return NO; + } + if (![self.dCopyReference isEqual:aGetCopyReferenceResult.dCopyReference]) { + return NO; + } + if (![self.expires isEqual:aGetCopyReferenceResult.expires]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetCopyReferenceResultSerializer + ++ (NSDictionary *)serialize:(DBFILESGetCopyReferenceResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"copy_reference"] = valueObj.dCopyReference; + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; + NSString *dCopyReference = valueDict[@"copy_reference"]; + NSDate *expires = [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return + [[DBFILESGetCopyReferenceResult alloc] initWithMetadata:metadata dCopyReference:dCopyReference expires:expires]; +} + +@end + +#import "DBFILESGetTagsArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTagsArg + +#pragma mark - Constructors + +- (instancetype)initWithPaths:(NSArray *)paths { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"/(.|[\\r\\n])*"]]]]( + paths); + + self = [super init]; + if (self) { + _paths = paths; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTagsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTagsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTagsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.paths hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTagsArg:other]; +} + +- (BOOL)isEqualToGetTagsArg:(DBFILESGetTagsArg *)aGetTagsArg { + if (self == aGetTagsArg) { + return YES; + } + if (![self.paths isEqual:aGetTagsArg.paths]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTagsArgSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTagsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"paths"] = [DBArraySerializer serialize:valueObj.paths + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBFILESGetTagsArg *)deserialize:(NSDictionary *)valueDict { + NSArray *paths = [DBArraySerializer deserialize:valueDict[@"paths"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBFILESGetTagsArg alloc] initWithPaths:paths]; +} + +@end + +#import "DBFILESGetTagsResult.h" +#import "DBFILESPathToTags.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTagsResult + +#pragma mark - Constructors + +- (instancetype)initWithPathsToTags:(NSArray *)pathsToTags { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](pathsToTags); + + self = [super init]; + if (self) { + _pathsToTags = pathsToTags; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTagsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTagsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTagsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.pathsToTags hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTagsResult:other]; +} + +- (BOOL)isEqualToGetTagsResult:(DBFILESGetTagsResult *)aGetTagsResult { + if (self == aGetTagsResult) { + return YES; + } + if (![self.pathsToTags isEqual:aGetTagsResult.pathsToTags]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTagsResultSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTagsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"paths_to_tags"] = [DBArraySerializer serialize:valueObj.pathsToTags + withBlock:^id(id elem0) { + return [DBFILESPathToTagsSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESGetTagsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *pathsToTags = + [DBArraySerializer deserialize:valueDict[@"paths_to_tags"] + withBlock:^id(id elem0) { + return [DBFILESPathToTagsSerializer deserialize:elem0]; + }]; + + return [[DBFILESGetTagsResult alloc] initWithPathsToTags:pathsToTags]; +} + +@end + +#import "DBFILESGetTemporaryLinkArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTemporaryLinkArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + + self = [super init]; + if (self) { + _path = path; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTemporaryLinkArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTemporaryLinkArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTemporaryLinkArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTemporaryLinkArg:other]; +} + +- (BOOL)isEqualToGetTemporaryLinkArg:(DBFILESGetTemporaryLinkArg *)aGetTemporaryLinkArg { + if (self == aGetTemporaryLinkArg) { + return YES; + } + if (![self.path isEqual:aGetTemporaryLinkArg.path]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTemporaryLinkArgSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + + return jsonDict; +} + ++ (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + + return [[DBFILESGetTemporaryLinkArg alloc] initWithPath:path]; +} + +@end + +#import "DBFILESGetTemporaryLinkError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTemporaryLinkError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESGetTemporaryLinkErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithEmailNotVerified { + self = [super init]; + if (self) { + _tag = DBFILESGetTemporaryLinkErrorEmailNotVerified; + } + return self; +} + +- (instancetype)initWithUnsupportedFile { + self = [super init]; + if (self) { + _tag = DBFILESGetTemporaryLinkErrorUnsupportedFile; + } + return self; +} + +- (instancetype)initWithNotAllowed { + self = [super init]; + if (self) { + _tag = DBFILESGetTemporaryLinkErrorNotAllowed; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESGetTemporaryLinkErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESGetTemporaryLinkErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESGetTemporaryLinkErrorPath; +} + +- (BOOL)isEmailNotVerified { + return _tag == DBFILESGetTemporaryLinkErrorEmailNotVerified; +} + +- (BOOL)isUnsupportedFile { + return _tag == DBFILESGetTemporaryLinkErrorUnsupportedFile; +} + +- (BOOL)isNotAllowed { + return _tag == DBFILESGetTemporaryLinkErrorNotAllowed; +} + +- (BOOL)isOther { + return _tag == DBFILESGetTemporaryLinkErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESGetTemporaryLinkErrorPath: + return @"DBFILESGetTemporaryLinkErrorPath"; + case DBFILESGetTemporaryLinkErrorEmailNotVerified: + return @"DBFILESGetTemporaryLinkErrorEmailNotVerified"; + case DBFILESGetTemporaryLinkErrorUnsupportedFile: + return @"DBFILESGetTemporaryLinkErrorUnsupportedFile"; + case DBFILESGetTemporaryLinkErrorNotAllowed: + return @"DBFILESGetTemporaryLinkErrorNotAllowed"; + case DBFILESGetTemporaryLinkErrorOther: + return @"DBFILESGetTemporaryLinkErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTemporaryLinkErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTemporaryLinkErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTemporaryLinkErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESGetTemporaryLinkErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESGetTemporaryLinkErrorEmailNotVerified: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESGetTemporaryLinkErrorUnsupportedFile: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESGetTemporaryLinkErrorNotAllowed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESGetTemporaryLinkErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTemporaryLinkError:other]; +} + +- (BOOL)isEqualToGetTemporaryLinkError:(DBFILESGetTemporaryLinkError *)aGetTemporaryLinkError { + if (self == aGetTemporaryLinkError) { + return YES; + } + if (self.tag != aGetTemporaryLinkError.tag) { + return NO; + } + switch (_tag) { + case DBFILESGetTemporaryLinkErrorPath: + return [self.path isEqual:aGetTemporaryLinkError.path]; + case DBFILESGetTemporaryLinkErrorEmailNotVerified: + return [[self tagName] isEqual:[aGetTemporaryLinkError tagName]]; + case DBFILESGetTemporaryLinkErrorUnsupportedFile: + return [[self tagName] isEqual:[aGetTemporaryLinkError tagName]]; + case DBFILESGetTemporaryLinkErrorNotAllowed: + return [[self tagName] isEqual:[aGetTemporaryLinkError tagName]]; + case DBFILESGetTemporaryLinkErrorOther: + return [[self tagName] isEqual:[aGetTemporaryLinkError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTemporaryLinkErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isEmailNotVerified]) { + jsonDict[@".tag"] = @"email_not_verified"; + } else if ([valueObj isUnsupportedFile]) { + jsonDict[@".tag"] = @"unsupported_file"; + } else if ([valueObj isNotAllowed]) { + jsonDict[@".tag"] = @"not_allowed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESGetTemporaryLinkError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"email_not_verified"]) { + return [[DBFILESGetTemporaryLinkError alloc] initWithEmailNotVerified]; + } else if ([tag isEqualToString:@"unsupported_file"]) { + return [[DBFILESGetTemporaryLinkError alloc] initWithUnsupportedFile]; + } else if ([tag isEqualToString:@"not_allowed"]) { + return [[DBFILESGetTemporaryLinkError alloc] initWithNotAllowed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESGetTemporaryLinkError alloc] initWithOther]; + } else { + return [[DBFILESGetTemporaryLinkError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESFileMetadata.h" +#import "DBFILESGetTemporaryLinkResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTemporaryLinkResult + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata link:(NSString *)link { + [DBStoneValidators nonnullValidator:nil](metadata); + [DBStoneValidators nonnullValidator:nil](link); + + self = [super init]; + if (self) { + _metadata = metadata; + _link = link; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTemporaryLinkResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTemporaryLinkResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTemporaryLinkResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + result = prime * result + [self.link hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTemporaryLinkResult:other]; +} + +- (BOOL)isEqualToGetTemporaryLinkResult:(DBFILESGetTemporaryLinkResult *)aGetTemporaryLinkResult { + if (self == aGetTemporaryLinkResult) { + return YES; + } + if (![self.metadata isEqual:aGetTemporaryLinkResult.metadata]) { + return NO; + } + if (![self.link isEqual:aGetTemporaryLinkResult.link]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTemporaryLinkResultSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"link"] = valueObj.link; + + return jsonDict; +} + ++ (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)valueDict { + DBFILESFileMetadata *metadata = [DBFILESFileMetadataSerializer deserialize:valueDict[@"metadata"]]; + NSString *link = valueDict[@"link"]; + + return [[DBFILESGetTemporaryLinkResult alloc] initWithMetadata:metadata link:link]; +} + +@end + +#import "DBFILESCommitInfo.h" +#import "DBFILESGetTemporaryUploadLinkArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTemporaryUploadLinkArg + +#pragma mark - Constructors + +- (instancetype)initWithCommitInfo:(DBFILESCommitInfo *)commitInfo duration:(NSNumber *)duration { + [DBStoneValidators nonnullValidator:nil](commitInfo); + + self = [super init]; + if (self) { + _commitInfo = commitInfo; + _duration = duration ?: @(14400.0); + } + return self; +} + +- (instancetype)initWithCommitInfo:(DBFILESCommitInfo *)commitInfo { + return [self initWithCommitInfo:commitInfo duration:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTemporaryUploadLinkArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTemporaryUploadLinkArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTemporaryUploadLinkArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.commitInfo hash]; + result = prime * result + [self.duration hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTemporaryUploadLinkArg:other]; +} + +- (BOOL)isEqualToGetTemporaryUploadLinkArg:(DBFILESGetTemporaryUploadLinkArg *)aGetTemporaryUploadLinkArg { + if (self == aGetTemporaryUploadLinkArg) { + return YES; + } + if (![self.commitInfo isEqual:aGetTemporaryUploadLinkArg.commitInfo]) { + return NO; + } + if (![self.duration isEqual:aGetTemporaryUploadLinkArg.duration]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTemporaryUploadLinkArgSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTemporaryUploadLinkArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"commit_info"] = [DBFILESCommitInfoSerializer serialize:valueObj.commitInfo]; + jsonDict[@"duration"] = valueObj.duration; + + return jsonDict; +} + ++ (DBFILESGetTemporaryUploadLinkArg *)deserialize:(NSDictionary *)valueDict { + DBFILESCommitInfo *commitInfo = [DBFILESCommitInfoSerializer deserialize:valueDict[@"commit_info"]]; + NSNumber *duration = valueDict[@"duration"] ?: @(14400.0); + + return [[DBFILESGetTemporaryUploadLinkArg alloc] initWithCommitInfo:commitInfo duration:duration]; +} + +@end + +#import "DBFILESGetTemporaryUploadLinkResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetTemporaryUploadLinkResult + +#pragma mark - Constructors + +- (instancetype)initWithLink:(NSString *)link { + [DBStoneValidators nonnullValidator:nil](link); + + self = [super init]; + if (self) { + _link = link; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetTemporaryUploadLinkResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetTemporaryUploadLinkResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetTemporaryUploadLinkResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.link hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTemporaryUploadLinkResult:other]; +} + +- (BOOL)isEqualToGetTemporaryUploadLinkResult:(DBFILESGetTemporaryUploadLinkResult *)aGetTemporaryUploadLinkResult { + if (self == aGetTemporaryUploadLinkResult) { + return YES; + } + if (![self.link isEqual:aGetTemporaryUploadLinkResult.link]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetTemporaryUploadLinkResultSerializer + ++ (NSDictionary *)serialize:(DBFILESGetTemporaryUploadLinkResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"link"] = valueObj.link; + + return jsonDict; +} + ++ (DBFILESGetTemporaryUploadLinkResult *)deserialize:(NSDictionary *)valueDict { + NSString *link = valueDict[@"link"]; + + return [[DBFILESGetTemporaryUploadLinkResult alloc] initWithLink:link]; +} + +@end + +#import "DBFILESGetThumbnailBatchArg.h" +#import "DBFILESThumbnailArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetThumbnailBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super init]; + if (self) { + _entries = entries; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetThumbnailBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetThumbnailBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetThumbnailBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetThumbnailBatchArg:other]; +} + +- (BOOL)isEqualToGetThumbnailBatchArg:(DBFILESGetThumbnailBatchArg *)aGetThumbnailBatchArg { + if (self == aGetThumbnailBatchArg) { + return YES; + } + if (![self.entries isEqual:aGetThumbnailBatchArg.entries]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetThumbnailBatchArgSerializer + ++ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESThumbnailArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESThumbnailArgSerializer deserialize:elem0]; + }]; + + return [[DBFILESGetThumbnailBatchArg alloc] initWithEntries:entries]; +} + +@end + +#import "DBFILESGetThumbnailBatchError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetThumbnailBatchError + +#pragma mark - Constructors + +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESGetThumbnailBatchErrorTooManyFiles; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESGetThumbnailBatchErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isTooManyFiles { + return _tag == DBFILESGetThumbnailBatchErrorTooManyFiles; +} + +- (BOOL)isOther { + return _tag == DBFILESGetThumbnailBatchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESGetThumbnailBatchErrorTooManyFiles: + return @"DBFILESGetThumbnailBatchErrorTooManyFiles"; + case DBFILESGetThumbnailBatchErrorOther: + return @"DBFILESGetThumbnailBatchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetThumbnailBatchErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetThumbnailBatchErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetThumbnailBatchErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESGetThumbnailBatchErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESGetThumbnailBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetThumbnailBatchError:other]; +} + +- (BOOL)isEqualToGetThumbnailBatchError:(DBFILESGetThumbnailBatchError *)aGetThumbnailBatchError { + if (self == aGetThumbnailBatchError) { + return YES; + } + if (self.tag != aGetThumbnailBatchError.tag) { + return NO; + } + switch (_tag) { + case DBFILESGetThumbnailBatchErrorTooManyFiles: + return [[self tagName] isEqual:[aGetThumbnailBatchError tagName]]; + case DBFILESGetThumbnailBatchErrorOther: + return [[self tagName] isEqual:[aGetThumbnailBatchError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetThumbnailBatchErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESGetThumbnailBatchError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESGetThumbnailBatchError alloc] initWithOther]; + } else { + return [[DBFILESGetThumbnailBatchError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESGetThumbnailBatchResult.h" +#import "DBFILESGetThumbnailBatchResultEntry.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetThumbnailBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super init]; + if (self) { + _entries = entries; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetThumbnailBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetThumbnailBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetThumbnailBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetThumbnailBatchResult:other]; +} + +- (BOOL)isEqualToGetThumbnailBatchResult:(DBFILESGetThumbnailBatchResult *)aGetThumbnailBatchResult { + if (self == aGetThumbnailBatchResult) { + return YES; + } + if (![self.entries isEqual:aGetThumbnailBatchResult.entries]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetThumbnailBatchResultSerializer + ++ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESGetThumbnailBatchResultEntrySerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESGetThumbnailBatchResultEntrySerializer deserialize:elem0]; + }]; + + return [[DBFILESGetThumbnailBatchResult alloc] initWithEntries:entries]; +} + +@end + +#import "DBFILESFileMetadata.h" +#import "DBFILESGetThumbnailBatchResultData.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetThumbnailBatchResultData + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata thumbnail:(NSString *)thumbnail { + [DBStoneValidators nonnullValidator:nil](metadata); + [DBStoneValidators nonnullValidator:nil](thumbnail); + + self = [super init]; + if (self) { + _metadata = metadata; + _thumbnail = thumbnail; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetThumbnailBatchResultDataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetThumbnailBatchResultDataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetThumbnailBatchResultDataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + result = prime * result + [self.thumbnail hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetThumbnailBatchResultData:other]; +} + +- (BOOL)isEqualToGetThumbnailBatchResultData:(DBFILESGetThumbnailBatchResultData *)aGetThumbnailBatchResultData { + if (self == aGetThumbnailBatchResultData) { + return YES; + } + if (![self.metadata isEqual:aGetThumbnailBatchResultData.metadata]) { + return NO; + } + if (![self.thumbnail isEqual:aGetThumbnailBatchResultData.thumbnail]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetThumbnailBatchResultDataSerializer + ++ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultData *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"thumbnail"] = valueObj.thumbnail; + + return jsonDict; +} + ++ (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)valueDict { + DBFILESFileMetadata *metadata = [DBFILESFileMetadataSerializer deserialize:valueDict[@"metadata"]]; + NSString *thumbnail = valueDict[@"thumbnail"]; + + return [[DBFILESGetThumbnailBatchResultData alloc] initWithMetadata:metadata thumbnail:thumbnail]; +} + +@end + +#import "DBFILESGetThumbnailBatchResultData.h" +#import "DBFILESGetThumbnailBatchResultEntry.h" +#import "DBFILESThumbnailError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGetThumbnailBatchResultEntry + +@synthesize success = _success; +@synthesize failure = _failure; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBFILESGetThumbnailBatchResultData *)success { + self = [super init]; + if (self) { + _tag = DBFILESGetThumbnailBatchResultEntrySuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithFailure:(DBFILESThumbnailError *)failure { + self = [super init]; + if (self) { + _tag = DBFILESGetThumbnailBatchResultEntryFailure; + _failure = failure; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESGetThumbnailBatchResultEntryOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESGetThumbnailBatchResultData *)success { + if (![self isSuccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESGetThumbnailBatchResultEntrySuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBFILESThumbnailError *)failure { + if (![self isFailure]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESGetThumbnailBatchResultEntryFailure, but was %@.", [self tagName]]; + } + return _failure; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBFILESGetThumbnailBatchResultEntrySuccess; +} + +- (BOOL)isFailure { + return _tag == DBFILESGetThumbnailBatchResultEntryFailure; +} + +- (BOOL)isOther { + return _tag == DBFILESGetThumbnailBatchResultEntryOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESGetThumbnailBatchResultEntrySuccess: + return @"DBFILESGetThumbnailBatchResultEntrySuccess"; + case DBFILESGetThumbnailBatchResultEntryFailure: + return @"DBFILESGetThumbnailBatchResultEntryFailure"; + case DBFILESGetThumbnailBatchResultEntryOther: + return @"DBFILESGetThumbnailBatchResultEntryOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGetThumbnailBatchResultEntrySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGetThumbnailBatchResultEntrySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGetThumbnailBatchResultEntrySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESGetThumbnailBatchResultEntrySuccess: + result = prime * result + [self.success hash]; + break; + case DBFILESGetThumbnailBatchResultEntryFailure: + result = prime * result + [self.failure hash]; + break; + case DBFILESGetThumbnailBatchResultEntryOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetThumbnailBatchResultEntry:other]; +} + +- (BOOL)isEqualToGetThumbnailBatchResultEntry:(DBFILESGetThumbnailBatchResultEntry *)aGetThumbnailBatchResultEntry { + if (self == aGetThumbnailBatchResultEntry) { + return YES; + } + if (self.tag != aGetThumbnailBatchResultEntry.tag) { + return NO; + } + switch (_tag) { + case DBFILESGetThumbnailBatchResultEntrySuccess: + return [self.success isEqual:aGetThumbnailBatchResultEntry.success]; + case DBFILESGetThumbnailBatchResultEntryFailure: + return [self.failure isEqual:aGetThumbnailBatchResultEntry.failure]; + case DBFILESGetThumbnailBatchResultEntryOther: + return [[self tagName] isEqual:[aGetThumbnailBatchResultEntry tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGetThumbnailBatchResultEntrySerializer + ++ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultEntry *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBFILESGetThumbnailBatchResultDataSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isFailure]) { + jsonDict[@"failure"] = [[DBFILESThumbnailErrorSerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@".tag"] = @"failure"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBFILESGetThumbnailBatchResultData *success = [DBFILESGetThumbnailBatchResultDataSerializer deserialize:valueDict]; + return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"failure"]) { + DBFILESThumbnailError *failure = [DBFILESThumbnailErrorSerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithFailure:failure]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithOther]; + } else { + return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithOther]; + } +} + +@end + +#import "DBFILESGpsCoordinates.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESGpsCoordinates + +#pragma mark - Constructors + +- (instancetype)initWithLatitude:(NSNumber *)latitude longitude:(NSNumber *)longitude { + [DBStoneValidators nonnullValidator:nil](latitude); + [DBStoneValidators nonnullValidator:nil](longitude); + + self = [super init]; + if (self) { + _latitude = latitude; + _longitude = longitude; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESGpsCoordinatesSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESGpsCoordinatesSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESGpsCoordinatesSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.latitude hash]; + result = prime * result + [self.longitude hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGpsCoordinates:other]; +} + +- (BOOL)isEqualToGpsCoordinates:(DBFILESGpsCoordinates *)aGpsCoordinates { + if (self == aGpsCoordinates) { + return YES; + } + if (![self.latitude isEqual:aGpsCoordinates.latitude]) { + return NO; + } + if (![self.longitude isEqual:aGpsCoordinates.longitude]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESGpsCoordinatesSerializer + ++ (NSDictionary *)serialize:(DBFILESGpsCoordinates *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"latitude"] = valueObj.latitude; + jsonDict[@"longitude"] = valueObj.longitude; + + return jsonDict; +} + ++ (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)valueDict { + NSNumber *latitude = valueDict[@"latitude"]; + NSNumber *longitude = valueDict[@"longitude"]; + + return [[DBFILESGpsCoordinates alloc] initWithLatitude:latitude longitude:longitude]; +} + +@end + +#import "DBFILESHighlightSpan.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESHighlightSpan + +#pragma mark - Constructors + +- (instancetype)initWithHighlightStr:(NSString *)highlightStr isHighlighted:(NSNumber *)isHighlighted { + [DBStoneValidators nonnullValidator:nil](highlightStr); + [DBStoneValidators nonnullValidator:nil](isHighlighted); + + self = [super init]; + if (self) { + _highlightStr = highlightStr; + _isHighlighted = isHighlighted; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESHighlightSpanSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESHighlightSpanSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESHighlightSpanSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.highlightStr hash]; + result = prime * result + [self.isHighlighted hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToHighlightSpan:other]; +} + +- (BOOL)isEqualToHighlightSpan:(DBFILESHighlightSpan *)aHighlightSpan { + if (self == aHighlightSpan) { + return YES; + } + if (![self.highlightStr isEqual:aHighlightSpan.highlightStr]) { + return NO; + } + if (![self.isHighlighted isEqual:aHighlightSpan.isHighlighted]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESHighlightSpanSerializer + ++ (NSDictionary *)serialize:(DBFILESHighlightSpan *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"highlight_str"] = valueObj.highlightStr; + jsonDict[@"is_highlighted"] = valueObj.isHighlighted; + + return jsonDict; +} + ++ (DBFILESHighlightSpan *)deserialize:(NSDictionary *)valueDict { + NSString *highlightStr = valueDict[@"highlight_str"]; + NSNumber *isHighlighted = valueDict[@"is_highlighted"]; + + return [[DBFILESHighlightSpan alloc] initWithHighlightStr:highlightStr isHighlighted:isHighlighted]; +} + +@end + +#import "DBFILESImportFormat.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESImportFormat + +#pragma mark - Constructors + +- (instancetype)initWithHtml { + self = [super init]; + if (self) { + _tag = DBFILESImportFormatHtml; + } + return self; +} + +- (instancetype)initWithMarkdown { + self = [super init]; + if (self) { + _tag = DBFILESImportFormatMarkdown; + } + return self; +} + +- (instancetype)initWithPlainText { + self = [super init]; + if (self) { + _tag = DBFILESImportFormatPlainText; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESImportFormatOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isHtml { + return _tag == DBFILESImportFormatHtml; +} + +- (BOOL)isMarkdown { + return _tag == DBFILESImportFormatMarkdown; +} + +- (BOOL)isPlainText { + return _tag == DBFILESImportFormatPlainText; +} + +- (BOOL)isOther { + return _tag == DBFILESImportFormatOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESImportFormatHtml: + return @"DBFILESImportFormatHtml"; + case DBFILESImportFormatMarkdown: + return @"DBFILESImportFormatMarkdown"; + case DBFILESImportFormatPlainText: + return @"DBFILESImportFormatPlainText"; + case DBFILESImportFormatOther: + return @"DBFILESImportFormatOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESImportFormatSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESImportFormatSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESImportFormatSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESImportFormatHtml: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESImportFormatMarkdown: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESImportFormatPlainText: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESImportFormatOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToImportFormat:other]; +} + +- (BOOL)isEqualToImportFormat:(DBFILESImportFormat *)anImportFormat { + if (self == anImportFormat) { + return YES; + } + if (self.tag != anImportFormat.tag) { + return NO; + } + switch (_tag) { + case DBFILESImportFormatHtml: + return [[self tagName] isEqual:[anImportFormat tagName]]; + case DBFILESImportFormatMarkdown: + return [[self tagName] isEqual:[anImportFormat tagName]]; + case DBFILESImportFormatPlainText: + return [[self tagName] isEqual:[anImportFormat tagName]]; + case DBFILESImportFormatOther: + return [[self tagName] isEqual:[anImportFormat tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESImportFormatSerializer + ++ (NSDictionary *)serialize:(DBFILESImportFormat *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isHtml]) { + jsonDict[@".tag"] = @"html"; + } else if ([valueObj isMarkdown]) { + jsonDict[@".tag"] = @"markdown"; + } else if ([valueObj isPlainText]) { + jsonDict[@".tag"] = @"plain_text"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESImportFormat *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"html"]) { + return [[DBFILESImportFormat alloc] initWithHtml]; + } else if ([tag isEqualToString:@"markdown"]) { + return [[DBFILESImportFormat alloc] initWithMarkdown]; + } else if ([tag isEqualToString:@"plain_text"]) { + return [[DBFILESImportFormat alloc] initWithPlainText]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESImportFormat alloc] initWithOther]; + } else { + return [[DBFILESImportFormat alloc] initWithOther]; + } +} + +@end + +#import "DBFILEPROPERTIESTemplateFilterBase.h" +#import "DBFILESListFolderArg.h" +#import "DBFILESSharedLink.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path + recursive:(NSNumber *)recursive + includeMediaInfo:(NSNumber *)includeMediaInfo + includeDeleted:(NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers + includeMountedFolders:(NSNumber *)includeMountedFolders + limit:(NSNumber *)limit + sharedLink:(DBFILESSharedLink *)sharedLink + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(NSNumber *)includeNonDownloadableFiles { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators nullableValidator:[DBStoneValidators numericValidator:@(1) maxValue:@(2000)]](limit); + + self = [super init]; + if (self) { + _path = path; + _recursive = recursive ?: @NO; + _includeMediaInfo = includeMediaInfo ?: @NO; + _includeDeleted = includeDeleted ?: @NO; + _includeHasExplicitSharedMembers = includeHasExplicitSharedMembers ?: @NO; + _includeMountedFolders = includeMountedFolders ?: @YES; + _limit = limit; + _sharedLink = sharedLink; + _includePropertyGroups = includePropertyGroups; + _includeNonDownloadableFiles = includeNonDownloadableFiles ?: @YES; + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path + recursive:nil + includeMediaInfo:nil + includeDeleted:nil + includeHasExplicitSharedMembers:nil + includeMountedFolders:nil + limit:nil + sharedLink:nil + includePropertyGroups:nil + includeNonDownloadableFiles:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + result = prime * result + [self.recursive hash]; + result = prime * result + [self.includeMediaInfo hash]; + result = prime * result + [self.includeDeleted hash]; + result = prime * result + [self.includeHasExplicitSharedMembers hash]; + result = prime * result + [self.includeMountedFolders hash]; + if (self.limit != nil) { + result = prime * result + [self.limit hash]; + } + if (self.sharedLink != nil) { + result = prime * result + [self.sharedLink hash]; + } + if (self.includePropertyGroups != nil) { + result = prime * result + [self.includePropertyGroups hash]; + } + result = prime * result + [self.includeNonDownloadableFiles hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderArg:other]; +} + +- (BOOL)isEqualToListFolderArg:(DBFILESListFolderArg *)aListFolderArg { + if (self == aListFolderArg) { + return YES; + } + if (![self.path isEqual:aListFolderArg.path]) { + return NO; + } + if (![self.recursive isEqual:aListFolderArg.recursive]) { + return NO; + } + if (![self.includeMediaInfo isEqual:aListFolderArg.includeMediaInfo]) { + return NO; + } + if (![self.includeDeleted isEqual:aListFolderArg.includeDeleted]) { + return NO; + } + if (![self.includeHasExplicitSharedMembers isEqual:aListFolderArg.includeHasExplicitSharedMembers]) { + return NO; + } + if (![self.includeMountedFolders isEqual:aListFolderArg.includeMountedFolders]) { + return NO; + } + if (self.limit) { + if (![self.limit isEqual:aListFolderArg.limit]) { + return NO; + } + } + if (self.sharedLink) { + if (![self.sharedLink isEqual:aListFolderArg.sharedLink]) { + return NO; + } + } + if (self.includePropertyGroups) { + if (![self.includePropertyGroups isEqual:aListFolderArg.includePropertyGroups]) { + return NO; + } + } + if (![self.includeNonDownloadableFiles isEqual:aListFolderArg.includeNonDownloadableFiles]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderArgSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"recursive"] = valueObj.recursive; + jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; + jsonDict[@"include_deleted"] = valueObj.includeDeleted; + jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; + jsonDict[@"include_mounted_folders"] = valueObj.includeMountedFolders; + if (valueObj.limit) { + jsonDict[@"limit"] = valueObj.limit; + } + if (valueObj.sharedLink) { + jsonDict[@"shared_link"] = [DBFILESSharedLinkSerializer serialize:valueObj.sharedLink]; + } + if (valueObj.includePropertyGroups) { + jsonDict[@"include_property_groups"] = + [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; + } + jsonDict[@"include_non_downloadable_files"] = valueObj.includeNonDownloadableFiles; + + return jsonDict; +} + ++ (DBFILESListFolderArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSNumber *recursive = valueDict[@"recursive"] ?: @NO; + NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; + NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; + NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; + NSNumber *includeMountedFolders = valueDict[@"include_mounted_folders"] ?: @YES; + NSNumber *limit = valueDict[@"limit"] ?: nil; + DBFILESSharedLink *sharedLink = + valueDict[@"shared_link"] ? [DBFILESSharedLinkSerializer deserialize:valueDict[@"shared_link"]] : nil; + DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = + valueDict[@"include_property_groups"] + ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] + : nil; + NSNumber *includeNonDownloadableFiles = valueDict[@"include_non_downloadable_files"] ?: @YES; + + return [[DBFILESListFolderArg alloc] initWithPath:path + recursive:recursive + includeMediaInfo:includeMediaInfo + includeDeleted:includeDeleted + includeHasExplicitSharedMembers:includeHasExplicitSharedMembers + includeMountedFolders:includeMountedFolders + limit:limit + sharedLink:sharedLink + includePropertyGroups:includePropertyGroups + includeNonDownloadableFiles:includeNonDownloadableFiles]; +} + +@end + +#import "DBFILESListFolderContinueArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderContinueArg + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderContinueArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderContinueArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderContinueArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderContinueArg:other]; +} + +- (BOOL)isEqualToListFolderContinueArg:(DBFILESListFolderContinueArg *)aListFolderContinueArg { + if (self == aListFolderContinueArg) { + return YES; + } + if (![self.cursor isEqual:aListFolderContinueArg.cursor]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderContinueArgSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderContinueArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; +} + ++ (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + + return [[DBFILESListFolderContinueArg alloc] initWithCursor:cursor]; +} + +@end + +#import "DBFILESListFolderContinueError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderContinueError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESListFolderContinueErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithReset { + self = [super init]; + if (self) { + _tag = DBFILESListFolderContinueErrorReset; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESListFolderContinueErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESListFolderContinueErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESListFolderContinueErrorPath; +} + +- (BOOL)isReset { + return _tag == DBFILESListFolderContinueErrorReset; +} + +- (BOOL)isOther { + return _tag == DBFILESListFolderContinueErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESListFolderContinueErrorPath: + return @"DBFILESListFolderContinueErrorPath"; + case DBFILESListFolderContinueErrorReset: + return @"DBFILESListFolderContinueErrorReset"; + case DBFILESListFolderContinueErrorOther: + return @"DBFILESListFolderContinueErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderContinueErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderContinueErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderContinueErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESListFolderContinueErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESListFolderContinueErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESListFolderContinueErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderContinueError:other]; +} + +- (BOOL)isEqualToListFolderContinueError:(DBFILESListFolderContinueError *)aListFolderContinueError { + if (self == aListFolderContinueError) { + return YES; + } + if (self.tag != aListFolderContinueError.tag) { + return NO; + } + switch (_tag) { + case DBFILESListFolderContinueErrorPath: + return [self.path isEqual:aListFolderContinueError.path]; + case DBFILESListFolderContinueErrorReset: + return [[self tagName] isEqual:[aListFolderContinueError tagName]]; + case DBFILESListFolderContinueErrorOther: + return [[self tagName] isEqual:[aListFolderContinueError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderContinueErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderContinueError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESListFolderContinueError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"reset"]) { + return [[DBFILESListFolderContinueError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESListFolderContinueError alloc] initWithOther]; + } else { + return [[DBFILESListFolderContinueError alloc] initWithOther]; + } +} + +@end + +#import "DBFILEPROPERTIESTemplateError.h" +#import "DBFILESListFolderError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderError + +@synthesize path = _path; +@synthesize templateError = _templateError; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESListFolderErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithTemplateError:(DBFILEPROPERTIESTemplateError *)templateError { + self = [super init]; + if (self) { + _tag = DBFILESListFolderErrorTemplateError; + _templateError = templateError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESListFolderErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESListFolderErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +- (DBFILEPROPERTIESTemplateError *)templateError { + if (![self isTemplateError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESListFolderErrorTemplateError, but was %@.", [self tagName]]; + } + return _templateError; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESListFolderErrorPath; +} + +- (BOOL)isTemplateError { + return _tag == DBFILESListFolderErrorTemplateError; +} + +- (BOOL)isOther { + return _tag == DBFILESListFolderErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESListFolderErrorPath: + return @"DBFILESListFolderErrorPath"; + case DBFILESListFolderErrorTemplateError: + return @"DBFILESListFolderErrorTemplateError"; + case DBFILESListFolderErrorOther: + return @"DBFILESListFolderErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESListFolderErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESListFolderErrorTemplateError: + result = prime * result + [self.templateError hash]; + break; + case DBFILESListFolderErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderError:other]; +} + +- (BOOL)isEqualToListFolderError:(DBFILESListFolderError *)aListFolderError { + if (self == aListFolderError) { + return YES; + } + if (self.tag != aListFolderError.tag) { + return NO; + } + switch (_tag) { + case DBFILESListFolderErrorPath: + return [self.path isEqual:aListFolderError.path]; + case DBFILESListFolderErrorTemplateError: + return [self.templateError isEqual:aListFolderError.templateError]; + case DBFILESListFolderErrorOther: + return [[self tagName] isEqual:[aListFolderError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isTemplateError]) { + jsonDict[@"template_error"] = + [[DBFILEPROPERTIESTemplateErrorSerializer serialize:valueObj.templateError] mutableCopy]; + jsonDict[@".tag"] = @"template_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESListFolderError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESListFolderError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"template_error"]) { + DBFILEPROPERTIESTemplateError *templateError = + [DBFILEPROPERTIESTemplateErrorSerializer deserialize:valueDict[@"template_error"]]; + return [[DBFILESListFolderError alloc] initWithTemplateError:templateError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESListFolderError alloc] initWithOther]; + } else { + return [[DBFILESListFolderError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESListFolderGetLatestCursorResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderGetLatestCursorResult + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderGetLatestCursorResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderGetLatestCursorResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderGetLatestCursorResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderGetLatestCursorResult:other]; +} + +- (BOOL)isEqualToListFolderGetLatestCursorResult: + (DBFILESListFolderGetLatestCursorResult *)aListFolderGetLatestCursorResult { + if (self == aListFolderGetLatestCursorResult) { + return YES; + } + if (![self.cursor isEqual:aListFolderGetLatestCursorResult.cursor]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderGetLatestCursorResultSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderGetLatestCursorResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; +} + ++ (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + + return [[DBFILESListFolderGetLatestCursorResult alloc] initWithCursor:cursor]; +} + +@end + +#import "DBFILESListFolderLongpollArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderLongpollArg + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor timeout:(NSNumber *)timeout { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + _timeout = timeout ?: @(30); + } + return self; +} + +- (instancetype)initWithCursor:(NSString *)cursor { + return [self initWithCursor:cursor timeout:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderLongpollArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderLongpollArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderLongpollArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + result = prime * result + [self.timeout hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderLongpollArg:other]; +} + +- (BOOL)isEqualToListFolderLongpollArg:(DBFILESListFolderLongpollArg *)aListFolderLongpollArg { + if (self == aListFolderLongpollArg) { + return YES; + } + if (![self.cursor isEqual:aListFolderLongpollArg.cursor]) { + return NO; + } + if (![self.timeout isEqual:aListFolderLongpollArg.timeout]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderLongpollArgSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderLongpollArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"timeout"] = valueObj.timeout; + + return jsonDict; +} + ++ (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + NSNumber *timeout = valueDict[@"timeout"] ?: @(30); + + return [[DBFILESListFolderLongpollArg alloc] initWithCursor:cursor timeout:timeout]; +} + +@end + +#import "DBFILESListFolderLongpollError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderLongpollError + +#pragma mark - Constructors + +- (instancetype)initWithReset { + self = [super init]; + if (self) { + _tag = DBFILESListFolderLongpollErrorReset; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESListFolderLongpollErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isReset { + return _tag == DBFILESListFolderLongpollErrorReset; +} + +- (BOOL)isOther { + return _tag == DBFILESListFolderLongpollErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESListFolderLongpollErrorReset: + return @"DBFILESListFolderLongpollErrorReset"; + case DBFILESListFolderLongpollErrorOther: + return @"DBFILESListFolderLongpollErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderLongpollErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderLongpollErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderLongpollErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESListFolderLongpollErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESListFolderLongpollErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderLongpollError:other]; +} + +- (BOOL)isEqualToListFolderLongpollError:(DBFILESListFolderLongpollError *)aListFolderLongpollError { + if (self == aListFolderLongpollError) { + return YES; + } + if (self.tag != aListFolderLongpollError.tag) { + return NO; + } + switch (_tag) { + case DBFILESListFolderLongpollErrorReset: + return [[self tagName] isEqual:[aListFolderLongpollError tagName]]; + case DBFILESListFolderLongpollErrorOther: + return [[self tagName] isEqual:[aListFolderLongpollError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderLongpollErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderLongpollError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"reset"]) { + return [[DBFILESListFolderLongpollError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESListFolderLongpollError alloc] initWithOther]; + } else { + return [[DBFILESListFolderLongpollError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESListFolderLongpollResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderLongpollResult + +#pragma mark - Constructors + +- (instancetype)initWithChanges:(NSNumber *)changes backoff:(NSNumber *)backoff { + [DBStoneValidators nonnullValidator:nil](changes); + + self = [super init]; + if (self) { + _changes = changes; + _backoff = backoff; + } + return self; +} + +- (instancetype)initWithChanges:(NSNumber *)changes { + return [self initWithChanges:changes backoff:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderLongpollResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderLongpollResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderLongpollResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.changes hash]; + if (self.backoff != nil) { + result = prime * result + [self.backoff hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderLongpollResult:other]; +} + +- (BOOL)isEqualToListFolderLongpollResult:(DBFILESListFolderLongpollResult *)aListFolderLongpollResult { + if (self == aListFolderLongpollResult) { + return YES; + } + if (![self.changes isEqual:aListFolderLongpollResult.changes]) { + return NO; + } + if (self.backoff) { + if (![self.backoff isEqual:aListFolderLongpollResult.backoff]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderLongpollResultSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderLongpollResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"changes"] = valueObj.changes; + if (valueObj.backoff) { + jsonDict[@"backoff"] = valueObj.backoff; + } + + return jsonDict; +} + ++ (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)valueDict { + NSNumber *changes = valueDict[@"changes"]; + NSNumber *backoff = valueDict[@"backoff"] ?: nil; + + return [[DBFILESListFolderLongpollResult alloc] initWithChanges:changes backoff:backoff]; +} + +@end + +#import "DBFILESListFolderResult.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListFolderResult + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); + + self = [super init]; + if (self) { + _entries = entries; + _cursor = cursor; + _hasMore = hasMore; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListFolderResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListFolderResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListFolderResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListFolderResult:other]; +} + +- (BOOL)isEqualToListFolderResult:(DBFILESListFolderResult *)aListFolderResult { + if (self == aListFolderResult) { + return YES; + } + if (![self.entries isEqual:aListFolderResult.entries]) { + return NO; + } + if (![self.cursor isEqual:aListFolderResult.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aListFolderResult.hasMore]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListFolderResultSerializer + ++ (NSDictionary *)serialize:(DBFILESListFolderResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESMetadataSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; + + return jsonDict; +} + ++ (DBFILESListFolderResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESMetadataSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; + + return [[DBFILESListFolderResult alloc] initWithEntries:entries cursor:cursor hasMore:hasMore]; +} + +@end + +#import "DBFILESListRevisionsArg.h" +#import "DBFILESListRevisionsMode.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListRevisionsArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path mode:(DBFILESListRevisionsMode *)mode limit:(NSNumber *)limit { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); + + self = [super init]; + if (self) { + _path = path; + _mode = mode ?: [[DBFILESListRevisionsMode alloc] initWithPath]; + _limit = limit ?: @(10); + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path mode:nil limit:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListRevisionsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListRevisionsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListRevisionsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + result = prime * result + [self.mode hash]; + result = prime * result + [self.limit hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListRevisionsArg:other]; +} + +- (BOOL)isEqualToListRevisionsArg:(DBFILESListRevisionsArg *)aListRevisionsArg { + if (self == aListRevisionsArg) { + return YES; + } + if (![self.path isEqual:aListRevisionsArg.path]) { + return NO; + } + if (![self.mode isEqual:aListRevisionsArg.mode]) { + return NO; + } + if (![self.limit isEqual:aListRevisionsArg.limit]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListRevisionsArgSerializer + ++ (NSDictionary *)serialize:(DBFILESListRevisionsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"mode"] = [DBFILESListRevisionsModeSerializer serialize:valueObj.mode]; + jsonDict[@"limit"] = valueObj.limit; + + return jsonDict; +} + ++ (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESListRevisionsMode *mode = valueDict[@"mode"] + ? [DBFILESListRevisionsModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESListRevisionsMode alloc] initWithPath]; + NSNumber *limit = valueDict[@"limit"] ?: @(10); + + return [[DBFILESListRevisionsArg alloc] initWithPath:path mode:mode limit:limit]; +} + +@end + +#import "DBFILESListRevisionsError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListRevisionsError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESListRevisionsErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESListRevisionsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESListRevisionsErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESListRevisionsErrorPath; +} + +- (BOOL)isOther { + return _tag == DBFILESListRevisionsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESListRevisionsErrorPath: + return @"DBFILESListRevisionsErrorPath"; + case DBFILESListRevisionsErrorOther: + return @"DBFILESListRevisionsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListRevisionsErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListRevisionsErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListRevisionsErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESListRevisionsErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESListRevisionsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListRevisionsError:other]; +} + +- (BOOL)isEqualToListRevisionsError:(DBFILESListRevisionsError *)aListRevisionsError { + if (self == aListRevisionsError) { + return YES; + } + if (self.tag != aListRevisionsError.tag) { + return NO; + } + switch (_tag) { + case DBFILESListRevisionsErrorPath: + return [self.path isEqual:aListRevisionsError.path]; + case DBFILESListRevisionsErrorOther: + return [[self tagName] isEqual:[aListRevisionsError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListRevisionsErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESListRevisionsError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESListRevisionsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESListRevisionsError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESListRevisionsError alloc] initWithOther]; + } else { + return [[DBFILESListRevisionsError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESListRevisionsMode.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListRevisionsMode + +#pragma mark - Constructors + +- (instancetype)initWithPath { + self = [super init]; + if (self) { + _tag = DBFILESListRevisionsModePath; + } + return self; +} + +- (instancetype)initWithId_ { + self = [super init]; + if (self) { + _tag = DBFILESListRevisionsModeId_; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESListRevisionsModeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESListRevisionsModePath; +} + +- (BOOL)isId_ { + return _tag == DBFILESListRevisionsModeId_; +} + +- (BOOL)isOther { + return _tag == DBFILESListRevisionsModeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESListRevisionsModePath: + return @"DBFILESListRevisionsModePath"; + case DBFILESListRevisionsModeId_: + return @"DBFILESListRevisionsModeId_"; + case DBFILESListRevisionsModeOther: + return @"DBFILESListRevisionsModeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListRevisionsModeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListRevisionsModeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListRevisionsModeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESListRevisionsModePath: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESListRevisionsModeId_: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESListRevisionsModeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListRevisionsMode:other]; +} + +- (BOOL)isEqualToListRevisionsMode:(DBFILESListRevisionsMode *)aListRevisionsMode { + if (self == aListRevisionsMode) { + return YES; + } + if (self.tag != aListRevisionsMode.tag) { + return NO; + } + switch (_tag) { + case DBFILESListRevisionsModePath: + return [[self tagName] isEqual:[aListRevisionsMode tagName]]; + case DBFILESListRevisionsModeId_: + return [[self tagName] isEqual:[aListRevisionsMode tagName]]; + case DBFILESListRevisionsModeOther: + return [[self tagName] isEqual:[aListRevisionsMode tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListRevisionsModeSerializer + ++ (NSDictionary *)serialize:(DBFILESListRevisionsMode *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isId_]) { + jsonDict[@".tag"] = @"id"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + return [[DBFILESListRevisionsMode alloc] initWithPath]; + } else if ([tag isEqualToString:@"id"]) { + return [[DBFILESListRevisionsMode alloc] initWithId_]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESListRevisionsMode alloc] initWithOther]; + } else { + return [[DBFILESListRevisionsMode alloc] initWithOther]; + } +} + +@end + +#import "DBFILESFileMetadata.h" +#import "DBFILESListRevisionsResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESListRevisionsResult + +#pragma mark - Constructors + +- (instancetype)initWithIsDeleted:(NSNumber *)isDeleted + entries:(NSArray *)entries + serverDeleted:(NSDate *)serverDeleted { + [DBStoneValidators nonnullValidator:nil](isDeleted); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super init]; + if (self) { + _isDeleted = isDeleted; + _serverDeleted = serverDeleted; + _entries = entries; + } + return self; +} + +- (instancetype)initWithIsDeleted:(NSNumber *)isDeleted entries:(NSArray *)entries { + return [self initWithIsDeleted:isDeleted entries:entries serverDeleted:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESListRevisionsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESListRevisionsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESListRevisionsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isDeleted hash]; + result = prime * result + [self.entries hash]; + if (self.serverDeleted != nil) { + result = prime * result + [self.serverDeleted hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToListRevisionsResult:other]; +} + +- (BOOL)isEqualToListRevisionsResult:(DBFILESListRevisionsResult *)aListRevisionsResult { + if (self == aListRevisionsResult) { + return YES; + } + if (![self.isDeleted isEqual:aListRevisionsResult.isDeleted]) { + return NO; + } + if (![self.entries isEqual:aListRevisionsResult.entries]) { + return NO; + } + if (self.serverDeleted) { + if (![self.serverDeleted isEqual:aListRevisionsResult.serverDeleted]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESListRevisionsResultSerializer + ++ (NSDictionary *)serialize:(DBFILESListRevisionsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_deleted"] = valueObj.isDeleted; + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESFileMetadataSerializer serialize:elem0]; + }]; + if (valueObj.serverDeleted) { + jsonDict[@"server_deleted"] = + [DBNSDateSerializer serialize:valueObj.serverDeleted dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)valueDict { + NSNumber *isDeleted = valueDict[@"is_deleted"]; + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESFileMetadataSerializer deserialize:elem0]; + }]; + NSDate *serverDeleted = valueDict[@"server_deleted"] ? [DBNSDateSerializer deserialize:valueDict[@"server_deleted"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBFILESListRevisionsResult alloc] initWithIsDeleted:isDeleted entries:entries serverDeleted:serverDeleted]; +} + +@end + +#import "DBFILESFileLock.h" +#import "DBFILESLockConflictError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockConflictError + +#pragma mark - Constructors + +- (instancetype)initWithLock:(DBFILESFileLock *)lock { + [DBStoneValidators nonnullValidator:nil](lock); + + self = [super init]; + if (self) { + _lock = lock; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockConflictErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockConflictErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockConflictErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.lock hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockConflictError:other]; +} + +- (BOOL)isEqualToLockConflictError:(DBFILESLockConflictError *)aLockConflictError { + if (self == aLockConflictError) { + return YES; + } + if (![self.lock isEqual:aLockConflictError.lock]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockConflictErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESLockConflictError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"lock"] = [DBFILESFileLockSerializer serialize:valueObj.lock]; + + return jsonDict; +} + ++ (DBFILESLockConflictError *)deserialize:(NSDictionary *)valueDict { + DBFILESFileLock *lock = [DBFILESFileLockSerializer deserialize:valueDict[@"lock"]]; + + return [[DBFILESLockConflictError alloc] initWithLock:lock]; +} + +@end + +#import "DBFILESLockFileArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + + self = [super init]; + if (self) { + _path = path; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileArg:other]; +} + +- (BOOL)isEqualToLockFileArg:(DBFILESLockFileArg *)aLockFileArg { + if (self == aLockFileArg) { + return YES; + } + if (![self.path isEqual:aLockFileArg.path]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileArgSerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + + return jsonDict; +} + ++ (DBFILESLockFileArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + + return [[DBFILESLockFileArg alloc] initWithPath:path]; +} + +@end + +#import "DBFILESLockFileArg.h" +#import "DBFILESLockFileBatchArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super init]; + if (self) { + _entries = entries; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileBatchArg:other]; +} + +- (BOOL)isEqualToLockFileBatchArg:(DBFILESLockFileBatchArg *)aLockFileBatchArg { + if (self == aLockFileBatchArg) { + return YES; + } + if (![self.entries isEqual:aLockFileBatchArg.entries]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileBatchArgSerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESLockFileArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESLockFileBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESLockFileArgSerializer deserialize:elem0]; + }]; + + return [[DBFILESLockFileBatchArg alloc] initWithEntries:entries]; +} + +@end + +#import "DBFILESFileOpsResult.h" +#import "DBFILESLockFileBatchResult.h" +#import "DBFILESLockFileResultEntry.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super initDefault]; + if (self) { + _entries = entries; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileBatchResult:other]; +} + +- (BOOL)isEqualToLockFileBatchResult:(DBFILESLockFileBatchResult *)aLockFileBatchResult { + if (self == aLockFileBatchResult) { + return YES; + } + if (![self.entries isEqual:aLockFileBatchResult.entries]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileBatchResultSerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESLockFileResultEntrySerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESLockFileBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESLockFileResultEntrySerializer deserialize:elem0]; + }]; + + return [[DBFILESLockFileBatchResult alloc] initWithEntries:entries]; +} + +@end + +#import "DBFILESLockConflictError.h" +#import "DBFILESLockFileError.h" +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileError + +@synthesize pathLookup = _pathLookup; +@synthesize lockConflict = _lockConflict; + +#pragma mark - Constructors + +- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorPathLookup; + _pathLookup = pathLookup; + } + return self; +} + +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorTooManyWriteOperations; + } + return self; +} + +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorTooManyFiles; + } + return self; +} + +- (instancetype)initWithNoWritePermission { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorNoWritePermission; + } + return self; +} + +- (instancetype)initWithCannotBeLocked { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorCannotBeLocked; + } + return self; +} + +- (instancetype)initWithFileNotShared { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorFileNotShared; + } + return self; +} + +- (instancetype)initWithLockConflict:(DBFILESLockConflictError *)lockConflict { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorLockConflict; + _lockConflict = lockConflict; + } + return self; +} + +- (instancetype)initWithInternalError { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorInternalError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESLockFileErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)pathLookup { + if (![self isPathLookup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESLockFileErrorPathLookup, but was %@.", [self tagName]]; + } + return _pathLookup; +} + +- (DBFILESLockConflictError *)lockConflict { + if (![self isLockConflict]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESLockFileErrorLockConflict, but was %@.", [self tagName]]; + } + return _lockConflict; +} + +#pragma mark - Tag state methods + +- (BOOL)isPathLookup { + return _tag == DBFILESLockFileErrorPathLookup; +} + +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESLockFileErrorTooManyWriteOperations; +} + +- (BOOL)isTooManyFiles { + return _tag == DBFILESLockFileErrorTooManyFiles; +} + +- (BOOL)isNoWritePermission { + return _tag == DBFILESLockFileErrorNoWritePermission; +} + +- (BOOL)isCannotBeLocked { + return _tag == DBFILESLockFileErrorCannotBeLocked; +} + +- (BOOL)isFileNotShared { + return _tag == DBFILESLockFileErrorFileNotShared; +} + +- (BOOL)isLockConflict { + return _tag == DBFILESLockFileErrorLockConflict; +} + +- (BOOL)isInternalError { + return _tag == DBFILESLockFileErrorInternalError; +} + +- (BOOL)isOther { + return _tag == DBFILESLockFileErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESLockFileErrorPathLookup: + return @"DBFILESLockFileErrorPathLookup"; + case DBFILESLockFileErrorTooManyWriteOperations: + return @"DBFILESLockFileErrorTooManyWriteOperations"; + case DBFILESLockFileErrorTooManyFiles: + return @"DBFILESLockFileErrorTooManyFiles"; + case DBFILESLockFileErrorNoWritePermission: + return @"DBFILESLockFileErrorNoWritePermission"; + case DBFILESLockFileErrorCannotBeLocked: + return @"DBFILESLockFileErrorCannotBeLocked"; + case DBFILESLockFileErrorFileNotShared: + return @"DBFILESLockFileErrorFileNotShared"; + case DBFILESLockFileErrorLockConflict: + return @"DBFILESLockFileErrorLockConflict"; + case DBFILESLockFileErrorInternalError: + return @"DBFILESLockFileErrorInternalError"; + case DBFILESLockFileErrorOther: + return @"DBFILESLockFileErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESLockFileErrorPathLookup: + result = prime * result + [self.pathLookup hash]; + break; + case DBFILESLockFileErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorNoWritePermission: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorCannotBeLocked: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorFileNotShared: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorLockConflict: + result = prime * result + [self.lockConflict hash]; + break; + case DBFILESLockFileErrorInternalError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLockFileErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileError:other]; +} + +- (BOOL)isEqualToLockFileError:(DBFILESLockFileError *)aLockFileError { + if (self == aLockFileError) { + return YES; + } + if (self.tag != aLockFileError.tag) { + return NO; + } + switch (_tag) { + case DBFILESLockFileErrorPathLookup: + return [self.pathLookup isEqual:aLockFileError.pathLookup]; + case DBFILESLockFileErrorTooManyWriteOperations: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorTooManyFiles: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorNoWritePermission: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorCannotBeLocked: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorFileNotShared: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorLockConflict: + return [self.lockConflict isEqual:aLockFileError.lockConflict]; + case DBFILESLockFileErrorInternalError: + return [[self tagName] isEqual:[aLockFileError tagName]]; + case DBFILESLockFileErrorOther: + return [[self tagName] isEqual:[aLockFileError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPathLookup]) { + jsonDict[@"path_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.pathLookup] mutableCopy]; + jsonDict[@".tag"] = @"path_lookup"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isNoWritePermission]) { + jsonDict[@".tag"] = @"no_write_permission"; + } else if ([valueObj isCannotBeLocked]) { + jsonDict[@".tag"] = @"cannot_be_locked"; + } else if ([valueObj isFileNotShared]) { + jsonDict[@".tag"] = @"file_not_shared"; + } else if ([valueObj isLockConflict]) { + [jsonDict addEntriesFromDictionary:[DBFILESLockConflictErrorSerializer serialize:valueObj.lockConflict]]; + jsonDict[@".tag"] = @"lock_conflict"; + } else if ([valueObj isInternalError]) { + jsonDict[@".tag"] = @"internal_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESLockFileError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path_lookup"]) { + DBFILESLookupError *pathLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path_lookup"]]; + return [[DBFILESLockFileError alloc] initWithPathLookup:pathLookup]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESLockFileError alloc] initWithTooManyWriteOperations]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESLockFileError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"no_write_permission"]) { + return [[DBFILESLockFileError alloc] initWithNoWritePermission]; + } else if ([tag isEqualToString:@"cannot_be_locked"]) { + return [[DBFILESLockFileError alloc] initWithCannotBeLocked]; + } else if ([tag isEqualToString:@"file_not_shared"]) { + return [[DBFILESLockFileError alloc] initWithFileNotShared]; + } else if ([tag isEqualToString:@"lock_conflict"]) { + DBFILESLockConflictError *lockConflict = [DBFILESLockConflictErrorSerializer deserialize:valueDict]; + return [[DBFILESLockFileError alloc] initWithLockConflict:lockConflict]; + } else if ([tag isEqualToString:@"internal_error"]) { + return [[DBFILESLockFileError alloc] initWithInternalError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESLockFileError alloc] initWithOther]; + } else { + return [[DBFILESLockFileError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESFileLock.h" +#import "DBFILESLockFileResult.h" +#import "DBFILESMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileResult + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata lock:(DBFILESFileLock *)lock { + [DBStoneValidators nonnullValidator:nil](metadata); + [DBStoneValidators nonnullValidator:nil](lock); + + self = [super init]; + if (self) { + _metadata = metadata; + _lock = lock; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.metadata hash]; + result = prime * result + [self.lock hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileResult:other]; +} + +- (BOOL)isEqualToLockFileResult:(DBFILESLockFileResult *)aLockFileResult { + if (self == aLockFileResult) { + return YES; + } + if (![self.metadata isEqual:aLockFileResult.metadata]) { + return NO; + } + if (![self.lock isEqual:aLockFileResult.lock]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileResultSerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"lock"] = [DBFILESFileLockSerializer serialize:valueObj.lock]; + + return jsonDict; +} + ++ (DBFILESLockFileResult *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; + DBFILESFileLock *lock = [DBFILESFileLockSerializer deserialize:valueDict[@"lock"]]; + + return [[DBFILESLockFileResult alloc] initWithMetadata:metadata lock:lock]; +} + +@end + +#import "DBFILESLockFileError.h" +#import "DBFILESLockFileResult.h" +#import "DBFILESLockFileResultEntry.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLockFileResultEntry + +@synthesize success = _success; +@synthesize failure = _failure; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBFILESLockFileResult *)success { + self = [super init]; + if (self) { + _tag = DBFILESLockFileResultEntrySuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithFailure:(DBFILESLockFileError *)failure { + self = [super init]; + if (self) { + _tag = DBFILESLockFileResultEntryFailure; + _failure = failure; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLockFileResult *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESLockFileResultEntrySuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBFILESLockFileError *)failure { + if (![self isFailure]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESLockFileResultEntryFailure, but was %@.", [self tagName]]; + } + return _failure; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBFILESLockFileResultEntrySuccess; +} + +- (BOOL)isFailure { + return _tag == DBFILESLockFileResultEntryFailure; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESLockFileResultEntrySuccess: + return @"DBFILESLockFileResultEntrySuccess"; + case DBFILESLockFileResultEntryFailure: + return @"DBFILESLockFileResultEntryFailure"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLockFileResultEntrySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLockFileResultEntrySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLockFileResultEntrySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESLockFileResultEntrySuccess: + result = prime * result + [self.success hash]; + break; + case DBFILESLockFileResultEntryFailure: + result = prime * result + [self.failure hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockFileResultEntry:other]; +} + +- (BOOL)isEqualToLockFileResultEntry:(DBFILESLockFileResultEntry *)aLockFileResultEntry { + if (self == aLockFileResultEntry) { + return YES; + } + if (self.tag != aLockFileResultEntry.tag) { + return NO; + } + switch (_tag) { + case DBFILESLockFileResultEntrySuccess: + return [self.success isEqual:aLockFileResultEntry.success]; + case DBFILESLockFileResultEntryFailure: + return [self.failure isEqual:aLockFileResultEntry.failure]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLockFileResultEntrySerializer + ++ (NSDictionary *)serialize:(DBFILESLockFileResultEntry *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBFILESLockFileResultSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isFailure]) { + jsonDict[@"failure"] = [[DBFILESLockFileErrorSerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@".tag"] = @"failure"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESLockFileResultEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBFILESLockFileResult *success = [DBFILESLockFileResultSerializer deserialize:valueDict]; + return [[DBFILESLockFileResultEntry alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"failure"]) { + DBFILESLockFileError *failure = [DBFILESLockFileErrorSerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESLockFileResultEntry alloc] initWithFailure:failure]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILESLookupError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESLookupError + +@synthesize malformedPath = _malformedPath; + +#pragma mark - Constructors + +- (instancetype)initWithMalformedPath:(NSString *)malformedPath { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorMalformedPath; + _malformedPath = malformedPath; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorNotFound; + } + return self; +} + +- (instancetype)initWithNotFile { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorNotFile; + } + return self; +} + +- (instancetype)initWithNotFolder { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorNotFolder; + } + return self; +} + +- (instancetype)initWithRestrictedContent { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorRestrictedContent; + } + return self; +} + +- (instancetype)initWithUnsupportedContentType { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorUnsupportedContentType; + } + return self; +} + +- (instancetype)initWithLocked { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorLocked; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESLookupErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)malformedPath { + if (![self isMalformedPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESLookupErrorMalformedPath, but was %@.", [self tagName]]; + } + return _malformedPath; +} + +#pragma mark - Tag state methods + +- (BOOL)isMalformedPath { + return _tag == DBFILESLookupErrorMalformedPath; +} + +- (BOOL)isNotFound { + return _tag == DBFILESLookupErrorNotFound; +} + +- (BOOL)isNotFile { + return _tag == DBFILESLookupErrorNotFile; +} + +- (BOOL)isNotFolder { + return _tag == DBFILESLookupErrorNotFolder; +} + +- (BOOL)isRestrictedContent { + return _tag == DBFILESLookupErrorRestrictedContent; +} + +- (BOOL)isUnsupportedContentType { + return _tag == DBFILESLookupErrorUnsupportedContentType; +} + +- (BOOL)isLocked { + return _tag == DBFILESLookupErrorLocked; +} + +- (BOOL)isOther { + return _tag == DBFILESLookupErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESLookupErrorMalformedPath: + return @"DBFILESLookupErrorMalformedPath"; + case DBFILESLookupErrorNotFound: + return @"DBFILESLookupErrorNotFound"; + case DBFILESLookupErrorNotFile: + return @"DBFILESLookupErrorNotFile"; + case DBFILESLookupErrorNotFolder: + return @"DBFILESLookupErrorNotFolder"; + case DBFILESLookupErrorRestrictedContent: + return @"DBFILESLookupErrorRestrictedContent"; + case DBFILESLookupErrorUnsupportedContentType: + return @"DBFILESLookupErrorUnsupportedContentType"; + case DBFILESLookupErrorLocked: + return @"DBFILESLookupErrorLocked"; + case DBFILESLookupErrorOther: + return @"DBFILESLookupErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESLookupErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESLookupErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESLookupErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESLookupErrorMalformedPath: + if (self.malformedPath != nil) { + result = prime * result + [self.malformedPath hash]; + } + break; + case DBFILESLookupErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorNotFile: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorNotFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorRestrictedContent: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorUnsupportedContentType: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorLocked: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESLookupErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLookupError:other]; +} + +- (BOOL)isEqualToLookupError:(DBFILESLookupError *)aLookupError { + if (self == aLookupError) { + return YES; + } + if (self.tag != aLookupError.tag) { + return NO; + } + switch (_tag) { + case DBFILESLookupErrorMalformedPath: + if (self.malformedPath) { + return [self.malformedPath isEqual:aLookupError.malformedPath]; + } + case DBFILESLookupErrorNotFound: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorNotFile: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorNotFolder: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorRestrictedContent: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorUnsupportedContentType: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorLocked: + return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESLookupErrorOther: + return [[self tagName] isEqual:[aLookupError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESLookupErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESLookupError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isMalformedPath]) { + if (valueObj.malformedPath) { + jsonDict[@"malformed_path"] = valueObj.malformedPath; + } + jsonDict[@".tag"] = @"malformed_path"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isNotFile]) { + jsonDict[@".tag"] = @"not_file"; + } else if ([valueObj isNotFolder]) { + jsonDict[@".tag"] = @"not_folder"; + } else if ([valueObj isRestrictedContent]) { + jsonDict[@".tag"] = @"restricted_content"; + } else if ([valueObj isUnsupportedContentType]) { + jsonDict[@".tag"] = @"unsupported_content_type"; + } else if ([valueObj isLocked]) { + jsonDict[@".tag"] = @"locked"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESLookupError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"malformed_path"]) { + NSString *malformedPath = valueDict[@"malformed_path"] ? valueDict[@"malformed_path"] : nil; + return [[DBFILESLookupError alloc] initWithMalformedPath:malformedPath]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESLookupError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"not_file"]) { + return [[DBFILESLookupError alloc] initWithNotFile]; + } else if ([tag isEqualToString:@"not_folder"]) { + return [[DBFILESLookupError alloc] initWithNotFolder]; + } else if ([tag isEqualToString:@"restricted_content"]) { + return [[DBFILESLookupError alloc] initWithRestrictedContent]; + } else if ([tag isEqualToString:@"unsupported_content_type"]) { + return [[DBFILESLookupError alloc] initWithUnsupportedContentType]; + } else if ([tag isEqualToString:@"locked"]) { + return [[DBFILESLookupError alloc] initWithLocked]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESLookupError alloc] initWithOther]; + } else { + return [[DBFILESLookupError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESMediaInfo.h" +#import "DBFILESMediaMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMediaInfo + +@synthesize metadata = _metadata; + +#pragma mark - Constructors + +- (instancetype)initWithPending { + self = [super init]; + if (self) { + _tag = DBFILESMediaInfoPending; + } + return self; +} + +- (instancetype)initWithMetadata:(DBFILESMediaMetadata *)metadata { + self = [super init]; + if (self) { + _tag = DBFILESMediaInfoMetadata; + _metadata = metadata; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESMediaMetadata *)metadata { + if (![self isMetadata]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESMediaInfoMetadata, but was %@.", [self tagName]]; + } + return _metadata; +} + +#pragma mark - Tag state methods + +- (BOOL)isPending { + return _tag == DBFILESMediaInfoPending; +} + +- (BOOL)isMetadata { + return _tag == DBFILESMediaInfoMetadata; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESMediaInfoPending: + return @"DBFILESMediaInfoPending"; + case DBFILESMediaInfoMetadata: + return @"DBFILESMediaInfoMetadata"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMediaInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMediaInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMediaInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESMediaInfoPending: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESMediaInfoMetadata: + result = prime * result + [self.metadata hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMediaInfo:other]; +} + +- (BOOL)isEqualToMediaInfo:(DBFILESMediaInfo *)aMediaInfo { + if (self == aMediaInfo) { + return YES; + } + if (self.tag != aMediaInfo.tag) { + return NO; + } + switch (_tag) { + case DBFILESMediaInfoPending: + return [[self tagName] isEqual:[aMediaInfo tagName]]; + case DBFILESMediaInfoMetadata: + return [self.metadata isEqual:aMediaInfo.metadata]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMediaInfoSerializer + ++ (NSDictionary *)serialize:(DBFILESMediaInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPending]) { + jsonDict[@".tag"] = @"pending"; + } else if ([valueObj isMetadata]) { + jsonDict[@"metadata"] = [[DBFILESMediaMetadataSerializer serialize:valueObj.metadata] mutableCopy]; + jsonDict[@".tag"] = @"metadata"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESMediaInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"pending"]) { + return [[DBFILESMediaInfo alloc] initWithPending]; + } else if ([tag isEqualToString:@"metadata"]) { + DBFILESMediaMetadata *metadata = [DBFILESMediaMetadataSerializer deserialize:valueDict[@"metadata"]]; + return [[DBFILESMediaInfo alloc] initWithMetadata:metadata]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILESDimensions.h" +#import "DBFILESGpsCoordinates.h" +#import "DBFILESMediaMetadata.h" +#import "DBFILESPhotoMetadata.h" +#import "DBFILESVideoMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMediaMetadata + +#pragma mark - Constructors + +- (instancetype)initWithDimensions:(DBFILESDimensions *)dimensions + location:(DBFILESGpsCoordinates *)location + timeTaken:(NSDate *)timeTaken { + + self = [super init]; + if (self) { + _dimensions = dimensions; + _location = location; + _timeTaken = timeTaken; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDimensions:nil location:nil timeTaken:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMediaMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMediaMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMediaMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dimensions != nil) { + result = prime * result + [self.dimensions hash]; + } + if (self.location != nil) { + result = prime * result + [self.location hash]; + } + if (self.timeTaken != nil) { + result = prime * result + [self.timeTaken hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMediaMetadata:other]; +} + +- (BOOL)isEqualToMediaMetadata:(DBFILESMediaMetadata *)aMediaMetadata { + if (self == aMediaMetadata) { + return YES; + } + if (self.dimensions) { + if (![self.dimensions isEqual:aMediaMetadata.dimensions]) { + return NO; + } + } + if (self.location) { + if (![self.location isEqual:aMediaMetadata.location]) { + return NO; + } + } + if (self.timeTaken) { + if (![self.timeTaken isEqual:aMediaMetadata.timeTaken]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMediaMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESMediaMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dimensions) { + jsonDict[@"dimensions"] = [DBFILESDimensionsSerializer serialize:valueObj.dimensions]; + } + if (valueObj.location) { + jsonDict[@"location"] = [DBFILESGpsCoordinatesSerializer serialize:valueObj.location]; + } + if (valueObj.timeTaken) { + jsonDict[@"time_taken"] = [DBNSDateSerializer serialize:valueObj.timeTaken dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + if ([valueObj isKindOfClass:[DBFILESPhotoMetadata class]]) { + NSDictionary *subTypeFields = [DBFILESPhotoMetadataSerializer serialize:(DBFILESPhotoMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"photo"; + } else if ([valueObj isKindOfClass:[DBFILESVideoMetadata class]]) { + NSDictionary *subTypeFields = [DBFILESVideoMetadataSerializer serialize:(DBFILESVideoMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"video"; + } + + return jsonDict; +} + ++ (DBFILESMediaMetadata *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"photo"]) { + return [DBFILESPhotoMetadataSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"video"]) { + return [DBFILESVideoMetadataSerializer deserialize:valueDict]; + } + + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); +} + +@end + +#import "DBFILESMetadata.h" +#import "DBFILESMetadataV2.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMetadataV2 + +@synthesize metadata = _metadata; + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + self = [super init]; + if (self) { + _tag = DBFILESMetadataV2Metadata; + _metadata = metadata; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESMetadataV2Other; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESMetadata *)metadata { + if (![self isMetadata]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESMetadataV2Metadata, but was %@.", [self tagName]]; + } + return _metadata; +} + +#pragma mark - Tag state methods + +- (BOOL)isMetadata { + return _tag == DBFILESMetadataV2Metadata; +} + +- (BOOL)isOther { + return _tag == DBFILESMetadataV2Other; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESMetadataV2Metadata: + return @"DBFILESMetadataV2Metadata"; + case DBFILESMetadataV2Other: + return @"DBFILESMetadataV2Other"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMetadataV2Serializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMetadataV2Serializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMetadataV2Serializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESMetadataV2Metadata: + result = prime * result + [self.metadata hash]; + break; + case DBFILESMetadataV2Other: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMetadataV2:other]; +} + +- (BOOL)isEqualToMetadataV2:(DBFILESMetadataV2 *)aMetadataV2 { + if (self == aMetadataV2) { + return YES; + } + if (self.tag != aMetadataV2.tag) { + return NO; + } + switch (_tag) { + case DBFILESMetadataV2Metadata: + return [self.metadata isEqual:aMetadataV2.metadata]; + case DBFILESMetadataV2Other: + return [[self tagName] isEqual:[aMetadataV2 tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMetadataV2Serializer + ++ (NSDictionary *)serialize:(DBFILESMetadataV2 *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isMetadata]) { + jsonDict[@"metadata"] = [[DBFILESMetadataSerializer serialize:valueObj.metadata] mutableCopy]; + jsonDict[@".tag"] = @"metadata"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESMetadataV2 *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"metadata"]) { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; + return [[DBFILESMetadataV2 alloc] initWithMetadata:metadata]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESMetadataV2 alloc] initWithOther]; + } else { + return [[DBFILESMetadataV2 alloc] initWithOther]; + } +} + +@end + +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMinimalFileLinkMetadata + +#pragma mark - Constructors + +- (instancetype)initWithUrl:(NSString *)url rev:(NSString *)rev id_:(NSString *)id_ path:(NSString *)path { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + + self = [super init]; + if (self) { + _url = url; + _id_ = id_; + _path = path; + _rev = rev; + } + return self; +} + +- (instancetype)initWithUrl:(NSString *)url rev:(NSString *)rev { + return [self initWithUrl:url rev:rev id_:nil path:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMinimalFileLinkMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMinimalFileLinkMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMinimalFileLinkMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.url hash]; + result = prime * result + [self.rev hash]; + if (self.id_ != nil) { + result = prime * result + [self.id_ hash]; + } + if (self.path != nil) { + result = prime * result + [self.path hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMinimalFileLinkMetadata:other]; +} + +- (BOOL)isEqualToMinimalFileLinkMetadata:(DBFILESMinimalFileLinkMetadata *)aMinimalFileLinkMetadata { + if (self == aMinimalFileLinkMetadata) { + return YES; + } + if (![self.url isEqual:aMinimalFileLinkMetadata.url]) { + return NO; + } + if (![self.rev isEqual:aMinimalFileLinkMetadata.rev]) { + return NO; + } + if (self.id_) { + if (![self.id_ isEqual:aMinimalFileLinkMetadata.id_]) { + return NO; + } + } + if (self.path) { + if (![self.path isEqual:aMinimalFileLinkMetadata.path]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMinimalFileLinkMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESMinimalFileLinkMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"url"] = valueObj.url; + jsonDict[@"rev"] = valueObj.rev; + if (valueObj.id_) { + jsonDict[@"id"] = valueObj.id_; + } + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; + } + + return jsonDict; +} + ++ (DBFILESMinimalFileLinkMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *rev = valueDict[@"rev"]; + NSString *id_ = valueDict[@"id"] ?: nil; + NSString *path = valueDict[@"path"] ?: nil; + + return [[DBFILESMinimalFileLinkMetadata alloc] initWithUrl:url rev:rev id_:id_ path:path]; +} + +@end + +#import "DBFILESRelocationBatchArgBase.h" +#import "DBFILESRelocationPath.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESRelocationBatchArgBase + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries autorename:(NSNumber *)autorename { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:@(1) + maxItems:@(1000) + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super init]; + if (self) { + _entries = entries; + _autorename = autorename ?: @NO; + } + return self; +} + +- (instancetype)initWithEntries:(NSArray *)entries { + return [self initWithEntries:entries autorename:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchArgBaseSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchArgBaseSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchArgBaseSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + result = prime * result + [self.autorename hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRelocationBatchArgBase:other]; +} + +- (BOOL)isEqualToRelocationBatchArgBase:(DBFILESRelocationBatchArgBase *)aRelocationBatchArgBase { + if (self == aRelocationBatchArgBase) { + return YES; + } + if (![self.entries isEqual:aRelocationBatchArgBase.entries]) { + return NO; + } + if (![self.autorename isEqual:aRelocationBatchArgBase.autorename]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESRelocationBatchArgBaseSerializer + ++ (NSDictionary *)serialize:(DBFILESRelocationBatchArgBase *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer serialize:elem0]; + }]; + jsonDict[@"autorename"] = valueObj.autorename; + + return jsonDict; +} + ++ (DBFILESRelocationBatchArgBase *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer deserialize:elem0]; + }]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + + return [[DBFILESRelocationBatchArgBase alloc] initWithEntries:entries autorename:autorename]; +} + +@end + +#import "DBFILESMoveBatchArg.h" +#import "DBFILESRelocationBatchArgBase.h" +#import "DBFILESRelocationPath.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMoveBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithEntries:(NSArray *)entries + autorename:(NSNumber *)autorename + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:@(1) + maxItems:@(1000) + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super initWithEntries:entries autorename:autorename]; + if (self) { + _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; + } + return self; +} + +- (instancetype)initWithEntries:(NSArray *)entries { + return [self initWithEntries:entries autorename:nil allowOwnershipTransfer:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMoveBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMoveBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMoveBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.entries hash]; + result = prime * result + [self.autorename hash]; + result = prime * result + [self.allowOwnershipTransfer hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMoveBatchArg:other]; +} + +- (BOOL)isEqualToMoveBatchArg:(DBFILESMoveBatchArg *)aMoveBatchArg { + if (self == aMoveBatchArg) { + return YES; + } + if (![self.entries isEqual:aMoveBatchArg.entries]) { + return NO; + } + if (![self.autorename isEqual:aMoveBatchArg.autorename]) { + return NO; + } + if (![self.allowOwnershipTransfer isEqual:aMoveBatchArg.allowOwnershipTransfer]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMoveBatchArgSerializer + ++ (NSDictionary *)serialize:(DBFILESMoveBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer serialize:elem0]; + }]; + jsonDict[@"autorename"] = valueObj.autorename; + jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; + + return jsonDict; +} + ++ (DBFILESMoveBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer deserialize:elem0]; + }]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSNumber *allowOwnershipTransfer = valueDict[@"allow_ownership_transfer"] ?: @NO; + + return [[DBFILESMoveBatchArg alloc] initWithEntries:entries + autorename:autorename + allowOwnershipTransfer:allowOwnershipTransfer]; +} + +@end + +#import "DBFILESMoveIntoFamilyError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMoveIntoFamilyError + +#pragma mark - Constructors + +- (instancetype)initWithIsSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESMoveIntoFamilyErrorIsSharedFolder; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESMoveIntoFamilyErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isIsSharedFolder { + return _tag == DBFILESMoveIntoFamilyErrorIsSharedFolder; +} + +- (BOOL)isOther { + return _tag == DBFILESMoveIntoFamilyErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESMoveIntoFamilyErrorIsSharedFolder: + return @"DBFILESMoveIntoFamilyErrorIsSharedFolder"; + case DBFILESMoveIntoFamilyErrorOther: + return @"DBFILESMoveIntoFamilyErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMoveIntoFamilyErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMoveIntoFamilyErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMoveIntoFamilyErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESMoveIntoFamilyErrorIsSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESMoveIntoFamilyErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMoveIntoFamilyError:other]; +} + +- (BOOL)isEqualToMoveIntoFamilyError:(DBFILESMoveIntoFamilyError *)aMoveIntoFamilyError { + if (self == aMoveIntoFamilyError) { + return YES; + } + if (self.tag != aMoveIntoFamilyError.tag) { + return NO; + } + switch (_tag) { + case DBFILESMoveIntoFamilyErrorIsSharedFolder: + return [[self tagName] isEqual:[aMoveIntoFamilyError tagName]]; + case DBFILESMoveIntoFamilyErrorOther: + return [[self tagName] isEqual:[aMoveIntoFamilyError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMoveIntoFamilyErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESMoveIntoFamilyError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIsSharedFolder]) { + jsonDict[@".tag"] = @"is_shared_folder"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESMoveIntoFamilyError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"is_shared_folder"]) { + return [[DBFILESMoveIntoFamilyError alloc] initWithIsSharedFolder]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESMoveIntoFamilyError alloc] initWithOther]; + } else { + return [[DBFILESMoveIntoFamilyError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESMoveIntoVaultError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESMoveIntoVaultError + +#pragma mark - Constructors + +- (instancetype)initWithIsSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESMoveIntoVaultErrorIsSharedFolder; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESMoveIntoVaultErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isIsSharedFolder { + return _tag == DBFILESMoveIntoVaultErrorIsSharedFolder; +} + +- (BOOL)isOther { + return _tag == DBFILESMoveIntoVaultErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESMoveIntoVaultErrorIsSharedFolder: + return @"DBFILESMoveIntoVaultErrorIsSharedFolder"; + case DBFILESMoveIntoVaultErrorOther: + return @"DBFILESMoveIntoVaultErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESMoveIntoVaultErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESMoveIntoVaultErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESMoveIntoVaultErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESMoveIntoVaultErrorIsSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESMoveIntoVaultErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMoveIntoVaultError:other]; +} + +- (BOOL)isEqualToMoveIntoVaultError:(DBFILESMoveIntoVaultError *)aMoveIntoVaultError { + if (self == aMoveIntoVaultError) { + return YES; + } + if (self.tag != aMoveIntoVaultError.tag) { + return NO; + } + switch (_tag) { + case DBFILESMoveIntoVaultErrorIsSharedFolder: + return [[self tagName] isEqual:[aMoveIntoVaultError tagName]]; + case DBFILESMoveIntoVaultErrorOther: + return [[self tagName] isEqual:[aMoveIntoVaultError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESMoveIntoVaultErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESMoveIntoVaultError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIsSharedFolder]) { + jsonDict[@".tag"] = @"is_shared_folder"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESMoveIntoVaultError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"is_shared_folder"]) { + return [[DBFILESMoveIntoVaultError alloc] initWithIsSharedFolder]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESMoveIntoVaultError alloc] initWithOther]; + } else { + return [[DBFILESMoveIntoVaultError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESPaperContentError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperContentError + +#pragma mark - Constructors + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBFILESPaperContentErrorInsufficientPermissions; + } + return self; +} + +- (instancetype)initWithContentMalformed { + self = [super init]; + if (self) { + _tag = DBFILESPaperContentErrorContentMalformed; + } + return self; +} + +- (instancetype)initWithDocLengthExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperContentErrorDocLengthExceeded; + } + return self; +} + +- (instancetype)initWithImageSizeExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperContentErrorImageSizeExceeded; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESPaperContentErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInsufficientPermissions { + return _tag == DBFILESPaperContentErrorInsufficientPermissions; +} + +- (BOOL)isContentMalformed { + return _tag == DBFILESPaperContentErrorContentMalformed; +} + +- (BOOL)isDocLengthExceeded { + return _tag == DBFILESPaperContentErrorDocLengthExceeded; +} + +- (BOOL)isImageSizeExceeded { + return _tag == DBFILESPaperContentErrorImageSizeExceeded; +} + +- (BOOL)isOther { + return _tag == DBFILESPaperContentErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPaperContentErrorInsufficientPermissions: + return @"DBFILESPaperContentErrorInsufficientPermissions"; + case DBFILESPaperContentErrorContentMalformed: + return @"DBFILESPaperContentErrorContentMalformed"; + case DBFILESPaperContentErrorDocLengthExceeded: + return @"DBFILESPaperContentErrorDocLengthExceeded"; + case DBFILESPaperContentErrorImageSizeExceeded: + return @"DBFILESPaperContentErrorImageSizeExceeded"; + case DBFILESPaperContentErrorOther: + return @"DBFILESPaperContentErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperContentErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperContentErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperContentErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPaperContentErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperContentErrorContentMalformed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperContentErrorDocLengthExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperContentErrorImageSizeExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperContentErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentError:other]; +} + +- (BOOL)isEqualToPaperContentError:(DBFILESPaperContentError *)aPaperContentError { + if (self == aPaperContentError) { + return YES; + } + if (self.tag != aPaperContentError.tag) { + return NO; + } + switch (_tag) { + case DBFILESPaperContentErrorInsufficientPermissions: + return [[self tagName] isEqual:[aPaperContentError tagName]]; + case DBFILESPaperContentErrorContentMalformed: + return [[self tagName] isEqual:[aPaperContentError tagName]]; + case DBFILESPaperContentErrorDocLengthExceeded: + return [[self tagName] isEqual:[aPaperContentError tagName]]; + case DBFILESPaperContentErrorImageSizeExceeded: + return [[self tagName] isEqual:[aPaperContentError tagName]]; + case DBFILESPaperContentErrorOther: + return [[self tagName] isEqual:[aPaperContentError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperContentErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperContentError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isContentMalformed]) { + jsonDict[@".tag"] = @"content_malformed"; + } else if ([valueObj isDocLengthExceeded]) { + jsonDict[@".tag"] = @"doc_length_exceeded"; + } else if ([valueObj isImageSizeExceeded]) { + jsonDict[@".tag"] = @"image_size_exceeded"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESPaperContentError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBFILESPaperContentError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"content_malformed"]) { + return [[DBFILESPaperContentError alloc] initWithContentMalformed]; + } else if ([tag isEqualToString:@"doc_length_exceeded"]) { + return [[DBFILESPaperContentError alloc] initWithDocLengthExceeded]; + } else if ([tag isEqualToString:@"image_size_exceeded"]) { + return [[DBFILESPaperContentError alloc] initWithImageSizeExceeded]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESPaperContentError alloc] initWithOther]; + } else { + return [[DBFILESPaperContentError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESImportFormat.h" +#import "DBFILESPaperCreateArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperCreateArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path importFormat:(DBFILESImportFormat *)importFormat { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); + [DBStoneValidators nonnullValidator:nil](importFormat); + + self = [super init]; + if (self) { + _path = path; + _importFormat = importFormat; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperCreateArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperCreateArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperCreateArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + result = prime * result + [self.importFormat hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperCreateArg:other]; +} + +- (BOOL)isEqualToPaperCreateArg:(DBFILESPaperCreateArg *)aPaperCreateArg { + if (self == aPaperCreateArg) { + return YES; + } + if (![self.path isEqual:aPaperCreateArg.path]) { + return NO; + } + if (![self.importFormat isEqual:aPaperCreateArg.importFormat]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperCreateArgSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperCreateArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"import_format"] = [DBFILESImportFormatSerializer serialize:valueObj.importFormat]; + + return jsonDict; +} + ++ (DBFILESPaperCreateArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESImportFormat *importFormat = [DBFILESImportFormatSerializer deserialize:valueDict[@"import_format"]]; + + return [[DBFILESPaperCreateArg alloc] initWithPath:path importFormat:importFormat]; +} + +@end + +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperCreateError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperCreateError + +#pragma mark - Constructors + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorInsufficientPermissions; + } + return self; +} + +- (instancetype)initWithContentMalformed { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorContentMalformed; + } + return self; +} + +- (instancetype)initWithDocLengthExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorDocLengthExceeded; + } + return self; +} + +- (instancetype)initWithImageSizeExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorImageSizeExceeded; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorOther; + } + return self; +} + +- (instancetype)initWithInvalidPath { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorInvalidPath; + } + return self; +} + +- (instancetype)initWithEmailUnverified { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorEmailUnverified; + } + return self; +} + +- (instancetype)initWithInvalidFileExtension { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorInvalidFileExtension; + } + return self; +} + +- (instancetype)initWithPaperDisabled { + self = [super init]; + if (self) { + _tag = DBFILESPaperCreateErrorPaperDisabled; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInsufficientPermissions { + return _tag == DBFILESPaperCreateErrorInsufficientPermissions; +} + +- (BOOL)isContentMalformed { + return _tag == DBFILESPaperCreateErrorContentMalformed; +} + +- (BOOL)isDocLengthExceeded { + return _tag == DBFILESPaperCreateErrorDocLengthExceeded; +} + +- (BOOL)isImageSizeExceeded { + return _tag == DBFILESPaperCreateErrorImageSizeExceeded; +} + +- (BOOL)isOther { + return _tag == DBFILESPaperCreateErrorOther; +} + +- (BOOL)isInvalidPath { + return _tag == DBFILESPaperCreateErrorInvalidPath; +} + +- (BOOL)isEmailUnverified { + return _tag == DBFILESPaperCreateErrorEmailUnverified; +} + +- (BOOL)isInvalidFileExtension { + return _tag == DBFILESPaperCreateErrorInvalidFileExtension; +} + +- (BOOL)isPaperDisabled { + return _tag == DBFILESPaperCreateErrorPaperDisabled; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPaperCreateErrorInsufficientPermissions: + return @"DBFILESPaperCreateErrorInsufficientPermissions"; + case DBFILESPaperCreateErrorContentMalformed: + return @"DBFILESPaperCreateErrorContentMalformed"; + case DBFILESPaperCreateErrorDocLengthExceeded: + return @"DBFILESPaperCreateErrorDocLengthExceeded"; + case DBFILESPaperCreateErrorImageSizeExceeded: + return @"DBFILESPaperCreateErrorImageSizeExceeded"; + case DBFILESPaperCreateErrorOther: + return @"DBFILESPaperCreateErrorOther"; + case DBFILESPaperCreateErrorInvalidPath: + return @"DBFILESPaperCreateErrorInvalidPath"; + case DBFILESPaperCreateErrorEmailUnverified: + return @"DBFILESPaperCreateErrorEmailUnverified"; + case DBFILESPaperCreateErrorInvalidFileExtension: + return @"DBFILESPaperCreateErrorInvalidFileExtension"; + case DBFILESPaperCreateErrorPaperDisabled: + return @"DBFILESPaperCreateErrorPaperDisabled"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperCreateErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperCreateErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperCreateErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPaperCreateErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorContentMalformed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorDocLengthExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorImageSizeExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorInvalidPath: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorEmailUnverified: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorInvalidFileExtension: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperCreateErrorPaperDisabled: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperCreateError:other]; +} + +- (BOOL)isEqualToPaperCreateError:(DBFILESPaperCreateError *)aPaperCreateError { + if (self == aPaperCreateError) { + return YES; + } + if (self.tag != aPaperCreateError.tag) { + return NO; + } + switch (_tag) { + case DBFILESPaperCreateErrorInsufficientPermissions: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorContentMalformed: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorDocLengthExceeded: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorImageSizeExceeded: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorOther: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorInvalidPath: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorEmailUnverified: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorInvalidFileExtension: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + case DBFILESPaperCreateErrorPaperDisabled: + return [[self tagName] isEqual:[aPaperCreateError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperCreateErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperCreateError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isContentMalformed]) { + jsonDict[@".tag"] = @"content_malformed"; + } else if ([valueObj isDocLengthExceeded]) { + jsonDict[@".tag"] = @"doc_length_exceeded"; + } else if ([valueObj isImageSizeExceeded]) { + jsonDict[@".tag"] = @"image_size_exceeded"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isInvalidPath]) { + jsonDict[@".tag"] = @"invalid_path"; + } else if ([valueObj isEmailUnverified]) { + jsonDict[@".tag"] = @"email_unverified"; + } else if ([valueObj isInvalidFileExtension]) { + jsonDict[@".tag"] = @"invalid_file_extension"; + } else if ([valueObj isPaperDisabled]) { + jsonDict[@".tag"] = @"paper_disabled"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESPaperCreateError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBFILESPaperCreateError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"content_malformed"]) { + return [[DBFILESPaperCreateError alloc] initWithContentMalformed]; + } else if ([tag isEqualToString:@"doc_length_exceeded"]) { + return [[DBFILESPaperCreateError alloc] initWithDocLengthExceeded]; + } else if ([tag isEqualToString:@"image_size_exceeded"]) { + return [[DBFILESPaperCreateError alloc] initWithImageSizeExceeded]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESPaperCreateError alloc] initWithOther]; + } else if ([tag isEqualToString:@"invalid_path"]) { + return [[DBFILESPaperCreateError alloc] initWithInvalidPath]; + } else if ([tag isEqualToString:@"email_unverified"]) { + return [[DBFILESPaperCreateError alloc] initWithEmailUnverified]; + } else if ([tag isEqualToString:@"invalid_file_extension"]) { + return [[DBFILESPaperCreateError alloc] initWithInvalidFileExtension]; + } else if ([tag isEqualToString:@"paper_disabled"]) { + return [[DBFILESPaperCreateError alloc] initWithPaperDisabled]; + } else { + return [[DBFILESPaperCreateError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESPaperCreateResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperCreateResult + +#pragma mark - Constructors + +- (instancetype)initWithUrl:(NSString *)url + resultPath:(NSString *)resultPath + fileId:(NSString *)fileId + paperRevision:(NSNumber *)paperRevision { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](resultPath); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](fileId); + [DBStoneValidators nonnullValidator:nil](paperRevision); + + self = [super init]; + if (self) { + _url = url; + _resultPath = resultPath; + _fileId = fileId; + _paperRevision = paperRevision; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperCreateResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperCreateResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperCreateResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.url hash]; + result = prime * result + [self.resultPath hash]; + result = prime * result + [self.fileId hash]; + result = prime * result + [self.paperRevision hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperCreateResult:other]; +} + +- (BOOL)isEqualToPaperCreateResult:(DBFILESPaperCreateResult *)aPaperCreateResult { + if (self == aPaperCreateResult) { + return YES; + } + if (![self.url isEqual:aPaperCreateResult.url]) { + return NO; + } + if (![self.resultPath isEqual:aPaperCreateResult.resultPath]) { + return NO; + } + if (![self.fileId isEqual:aPaperCreateResult.fileId]) { + return NO; + } + if (![self.paperRevision isEqual:aPaperCreateResult.paperRevision]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperCreateResultSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperCreateResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"url"] = valueObj.url; + jsonDict[@"result_path"] = valueObj.resultPath; + jsonDict[@"file_id"] = valueObj.fileId; + jsonDict[@"paper_revision"] = valueObj.paperRevision; + + return jsonDict; +} + ++ (DBFILESPaperCreateResult *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *resultPath = valueDict[@"result_path"]; + NSString *fileId = valueDict[@"file_id"]; + NSNumber *paperRevision = valueDict[@"paper_revision"]; + + return [[DBFILESPaperCreateResult alloc] initWithUrl:url + resultPath:resultPath + fileId:fileId + paperRevision:paperRevision]; +} + +@end + +#import "DBFILESPaperDocUpdatePolicy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperDocUpdatePolicy + +#pragma mark - Constructors + +- (instancetype)initWithUpdate { + self = [super init]; + if (self) { + _tag = DBFILESPaperDocUpdatePolicyUpdate; + } + return self; +} + +- (instancetype)initWithOverwrite { + self = [super init]; + if (self) { + _tag = DBFILESPaperDocUpdatePolicyOverwrite; + } + return self; +} + +- (instancetype)initWithPrepend { + self = [super init]; + if (self) { + _tag = DBFILESPaperDocUpdatePolicyPrepend; + } + return self; +} + +- (instancetype)initWithAppend { + self = [super init]; + if (self) { + _tag = DBFILESPaperDocUpdatePolicyAppend; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESPaperDocUpdatePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUpdate { + return _tag == DBFILESPaperDocUpdatePolicyUpdate; +} + +- (BOOL)isOverwrite { + return _tag == DBFILESPaperDocUpdatePolicyOverwrite; +} + +- (BOOL)isPrepend { + return _tag == DBFILESPaperDocUpdatePolicyPrepend; +} + +- (BOOL)isAppend { + return _tag == DBFILESPaperDocUpdatePolicyAppend; +} + +- (BOOL)isOther { + return _tag == DBFILESPaperDocUpdatePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPaperDocUpdatePolicyUpdate: + return @"DBFILESPaperDocUpdatePolicyUpdate"; + case DBFILESPaperDocUpdatePolicyOverwrite: + return @"DBFILESPaperDocUpdatePolicyOverwrite"; + case DBFILESPaperDocUpdatePolicyPrepend: + return @"DBFILESPaperDocUpdatePolicyPrepend"; + case DBFILESPaperDocUpdatePolicyAppend: + return @"DBFILESPaperDocUpdatePolicyAppend"; + case DBFILESPaperDocUpdatePolicyOther: + return @"DBFILESPaperDocUpdatePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperDocUpdatePolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperDocUpdatePolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperDocUpdatePolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPaperDocUpdatePolicyUpdate: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperDocUpdatePolicyOverwrite: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperDocUpdatePolicyPrepend: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperDocUpdatePolicyAppend: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperDocUpdatePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocUpdatePolicy:other]; +} + +- (BOOL)isEqualToPaperDocUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)aPaperDocUpdatePolicy { + if (self == aPaperDocUpdatePolicy) { + return YES; + } + if (self.tag != aPaperDocUpdatePolicy.tag) { + return NO; + } + switch (_tag) { + case DBFILESPaperDocUpdatePolicyUpdate: + return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; + case DBFILESPaperDocUpdatePolicyOverwrite: + return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; + case DBFILESPaperDocUpdatePolicyPrepend: + return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; + case DBFILESPaperDocUpdatePolicyAppend: + return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; + case DBFILESPaperDocUpdatePolicyOther: + return [[self tagName] isEqual:[aPaperDocUpdatePolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperDocUpdatePolicySerializer + ++ (NSDictionary *)serialize:(DBFILESPaperDocUpdatePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUpdate]) { + jsonDict[@".tag"] = @"update"; + } else if ([valueObj isOverwrite]) { + jsonDict[@".tag"] = @"overwrite"; + } else if ([valueObj isPrepend]) { + jsonDict[@".tag"] = @"prepend"; + } else if ([valueObj isAppend]) { + jsonDict[@".tag"] = @"append"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"update"]) { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithUpdate]; + } else if ([tag isEqualToString:@"overwrite"]) { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithOverwrite]; + } else if ([tag isEqualToString:@"prepend"]) { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithPrepend]; + } else if ([tag isEqualToString:@"append"]) { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithAppend]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithOther]; + } else { + return [[DBFILESPaperDocUpdatePolicy alloc] initWithOther]; + } +} + +@end + +#import "DBFILESImportFormat.h" +#import "DBFILESPaperDocUpdatePolicy.h" +#import "DBFILESPaperUpdateArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperUpdateArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(NSNumber *)paperRevision { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + [DBStoneValidators nonnullValidator:nil](importFormat); + [DBStoneValidators nonnullValidator:nil](docUpdatePolicy); + + self = [super init]; + if (self) { + _path = path; + _importFormat = importFormat; + _docUpdatePolicy = docUpdatePolicy; + _paperRevision = paperRevision; + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy { + return [self initWithPath:path importFormat:importFormat docUpdatePolicy:docUpdatePolicy paperRevision:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperUpdateArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperUpdateArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperUpdateArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + result = prime * result + [self.importFormat hash]; + result = prime * result + [self.docUpdatePolicy hash]; + if (self.paperRevision != nil) { + result = prime * result + [self.paperRevision hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperUpdateArg:other]; +} + +- (BOOL)isEqualToPaperUpdateArg:(DBFILESPaperUpdateArg *)aPaperUpdateArg { + if (self == aPaperUpdateArg) { + return YES; + } + if (![self.path isEqual:aPaperUpdateArg.path]) { + return NO; + } + if (![self.importFormat isEqual:aPaperUpdateArg.importFormat]) { + return NO; + } + if (![self.docUpdatePolicy isEqual:aPaperUpdateArg.docUpdatePolicy]) { + return NO; + } + if (self.paperRevision) { + if (![self.paperRevision isEqual:aPaperUpdateArg.paperRevision]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperUpdateArgSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperUpdateArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"import_format"] = [DBFILESImportFormatSerializer serialize:valueObj.importFormat]; + jsonDict[@"doc_update_policy"] = [DBFILESPaperDocUpdatePolicySerializer serialize:valueObj.docUpdatePolicy]; + if (valueObj.paperRevision) { + jsonDict[@"paper_revision"] = valueObj.paperRevision; + } + + return jsonDict; +} + ++ (DBFILESPaperUpdateArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESImportFormat *importFormat = [DBFILESImportFormatSerializer deserialize:valueDict[@"import_format"]]; + DBFILESPaperDocUpdatePolicy *docUpdatePolicy = + [DBFILESPaperDocUpdatePolicySerializer deserialize:valueDict[@"doc_update_policy"]]; + NSNumber *paperRevision = valueDict[@"paper_revision"] ?: nil; + + return [[DBFILESPaperUpdateArg alloc] initWithPath:path + importFormat:importFormat + docUpdatePolicy:docUpdatePolicy + paperRevision:paperRevision]; +} + +@end + +#import "DBFILESLookupError.h" +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperUpdateError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperUpdateError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorInsufficientPermissions; + } + return self; +} + +- (instancetype)initWithContentMalformed { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorContentMalformed; + } + return self; +} + +- (instancetype)initWithDocLengthExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorDocLengthExceeded; + } + return self; +} + +- (instancetype)initWithImageSizeExceeded { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorImageSizeExceeded; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorOther; + } + return self; +} + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithRevisionMismatch { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorRevisionMismatch; + } + return self; +} + +- (instancetype)initWithDocArchived { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorDocArchived; + } + return self; +} + +- (instancetype)initWithDocDeleted { + self = [super init]; + if (self) { + _tag = DBFILESPaperUpdateErrorDocDeleted; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESPaperUpdateErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isInsufficientPermissions { + return _tag == DBFILESPaperUpdateErrorInsufficientPermissions; +} + +- (BOOL)isContentMalformed { + return _tag == DBFILESPaperUpdateErrorContentMalformed; +} + +- (BOOL)isDocLengthExceeded { + return _tag == DBFILESPaperUpdateErrorDocLengthExceeded; +} + +- (BOOL)isImageSizeExceeded { + return _tag == DBFILESPaperUpdateErrorImageSizeExceeded; +} + +- (BOOL)isOther { + return _tag == DBFILESPaperUpdateErrorOther; +} + +- (BOOL)isPath { + return _tag == DBFILESPaperUpdateErrorPath; +} + +- (BOOL)isRevisionMismatch { + return _tag == DBFILESPaperUpdateErrorRevisionMismatch; +} + +- (BOOL)isDocArchived { + return _tag == DBFILESPaperUpdateErrorDocArchived; +} + +- (BOOL)isDocDeleted { + return _tag == DBFILESPaperUpdateErrorDocDeleted; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPaperUpdateErrorInsufficientPermissions: + return @"DBFILESPaperUpdateErrorInsufficientPermissions"; + case DBFILESPaperUpdateErrorContentMalformed: + return @"DBFILESPaperUpdateErrorContentMalformed"; + case DBFILESPaperUpdateErrorDocLengthExceeded: + return @"DBFILESPaperUpdateErrorDocLengthExceeded"; + case DBFILESPaperUpdateErrorImageSizeExceeded: + return @"DBFILESPaperUpdateErrorImageSizeExceeded"; + case DBFILESPaperUpdateErrorOther: + return @"DBFILESPaperUpdateErrorOther"; + case DBFILESPaperUpdateErrorPath: + return @"DBFILESPaperUpdateErrorPath"; + case DBFILESPaperUpdateErrorRevisionMismatch: + return @"DBFILESPaperUpdateErrorRevisionMismatch"; + case DBFILESPaperUpdateErrorDocArchived: + return @"DBFILESPaperUpdateErrorDocArchived"; + case DBFILESPaperUpdateErrorDocDeleted: + return @"DBFILESPaperUpdateErrorDocDeleted"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperUpdateErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperUpdateErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperUpdateErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPaperUpdateErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorContentMalformed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorDocLengthExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorImageSizeExceeded: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESPaperUpdateErrorRevisionMismatch: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorDocArchived: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPaperUpdateErrorDocDeleted: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperUpdateError:other]; +} + +- (BOOL)isEqualToPaperUpdateError:(DBFILESPaperUpdateError *)aPaperUpdateError { + if (self == aPaperUpdateError) { + return YES; + } + if (self.tag != aPaperUpdateError.tag) { + return NO; + } + switch (_tag) { + case DBFILESPaperUpdateErrorInsufficientPermissions: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorContentMalformed: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorDocLengthExceeded: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorImageSizeExceeded: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorOther: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorPath: + return [self.path isEqual:aPaperUpdateError.path]; + case DBFILESPaperUpdateErrorRevisionMismatch: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorDocArchived: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + case DBFILESPaperUpdateErrorDocDeleted: + return [[self tagName] isEqual:[aPaperUpdateError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperUpdateErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperUpdateError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isContentMalformed]) { + jsonDict[@".tag"] = @"content_malformed"; + } else if ([valueObj isDocLengthExceeded]) { + jsonDict[@".tag"] = @"doc_length_exceeded"; + } else if ([valueObj isImageSizeExceeded]) { + jsonDict[@".tag"] = @"image_size_exceeded"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isRevisionMismatch]) { + jsonDict[@".tag"] = @"revision_mismatch"; + } else if ([valueObj isDocArchived]) { + jsonDict[@".tag"] = @"doc_archived"; + } else if ([valueObj isDocDeleted]) { + jsonDict[@".tag"] = @"doc_deleted"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESPaperUpdateError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBFILESPaperUpdateError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"content_malformed"]) { + return [[DBFILESPaperUpdateError alloc] initWithContentMalformed]; + } else if ([tag isEqualToString:@"doc_length_exceeded"]) { + return [[DBFILESPaperUpdateError alloc] initWithDocLengthExceeded]; + } else if ([tag isEqualToString:@"image_size_exceeded"]) { + return [[DBFILESPaperUpdateError alloc] initWithImageSizeExceeded]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESPaperUpdateError alloc] initWithOther]; + } else if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESPaperUpdateError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"revision_mismatch"]) { + return [[DBFILESPaperUpdateError alloc] initWithRevisionMismatch]; + } else if ([tag isEqualToString:@"doc_archived"]) { + return [[DBFILESPaperUpdateError alloc] initWithDocArchived]; + } else if ([tag isEqualToString:@"doc_deleted"]) { + return [[DBFILESPaperUpdateError alloc] initWithDocDeleted]; + } else { + return [[DBFILESPaperUpdateError alloc] initWithOther]; + } +} + +@end + +#import "DBFILESPaperUpdateResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPaperUpdateResult + +#pragma mark - Constructors + +- (instancetype)initWithPaperRevision:(NSNumber *)paperRevision { + [DBStoneValidators nonnullValidator:nil](paperRevision); + + self = [super init]; + if (self) { + _paperRevision = paperRevision; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPaperUpdateResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPaperUpdateResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPaperUpdateResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.paperRevision hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperUpdateResult:other]; +} + +- (BOOL)isEqualToPaperUpdateResult:(DBFILESPaperUpdateResult *)aPaperUpdateResult { + if (self == aPaperUpdateResult) { + return YES; + } + if (![self.paperRevision isEqual:aPaperUpdateResult.paperRevision]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPaperUpdateResultSerializer + ++ (NSDictionary *)serialize:(DBFILESPaperUpdateResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"paper_revision"] = valueObj.paperRevision; + + return jsonDict; +} + ++ (DBFILESPaperUpdateResult *)deserialize:(NSDictionary *)valueDict { + NSNumber *paperRevision = valueDict[@"paper_revision"]; + + return [[DBFILESPaperUpdateResult alloc] initWithPaperRevision:paperRevision]; +} + +@end + +#import "DBFILESPathOrLink.h" +#import "DBFILESSharedLinkFileInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPathOrLink + +@synthesize path = _path; +@synthesize link = _link; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path { + self = [super init]; + if (self) { + _tag = DBFILESPathOrLinkPath; + _path = path; + } + return self; +} + +- (instancetype)initWithLink:(DBFILESSharedLinkFileInfo *)link { + self = [super init]; + if (self) { + _tag = DBFILESPathOrLinkLink; + _link = link; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESPathOrLinkOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESPathOrLinkPath, but was %@.", [self tagName]]; + } + return _path; +} + +- (DBFILESSharedLinkFileInfo *)link { + if (![self isLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESPathOrLinkLink, but was %@.", [self tagName]]; + } + return _link; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESPathOrLinkPath; +} + +- (BOOL)isLink { + return _tag == DBFILESPathOrLinkLink; +} + +- (BOOL)isOther { + return _tag == DBFILESPathOrLinkOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPathOrLinkPath: + return @"DBFILESPathOrLinkPath"; + case DBFILESPathOrLinkLink: + return @"DBFILESPathOrLinkLink"; + case DBFILESPathOrLinkOther: + return @"DBFILESPathOrLinkOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPathOrLinkSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPathOrLinkSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPathOrLinkSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPathOrLinkPath: + result = prime * result + [self.path hash]; + break; + case DBFILESPathOrLinkLink: + result = prime * result + [self.link hash]; + break; + case DBFILESPathOrLinkOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPathOrLink:other]; +} + +- (BOOL)isEqualToPathOrLink:(DBFILESPathOrLink *)aPathOrLink { + if (self == aPathOrLink) { + return YES; + } + if (self.tag != aPathOrLink.tag) { + return NO; + } + switch (_tag) { + case DBFILESPathOrLinkPath: + return [self.path isEqual:aPathOrLink.path]; + case DBFILESPathOrLinkLink: + return [self.link isEqual:aPathOrLink.link]; + case DBFILESPathOrLinkOther: + return [[self tagName] isEqual:[aPathOrLink tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPathOrLinkSerializer + ++ (NSDictionary *)serialize:(DBFILESPathOrLink *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = valueObj.path; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isLink]) { + [jsonDict addEntriesFromDictionary:[DBFILESSharedLinkFileInfoSerializer serialize:valueObj.link]]; + jsonDict[@".tag"] = @"link"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBFILESPathOrLink *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + NSString *path = valueDict[@"path"]; + return [[DBFILESPathOrLink alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"link"]) { + DBFILESSharedLinkFileInfo *link = [DBFILESSharedLinkFileInfoSerializer deserialize:valueDict]; + return [[DBFILESPathOrLink alloc] initWithLink:link]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESPathOrLink alloc] initWithOther]; + } else { + return [[DBFILESPathOrLink alloc] initWithOther]; + } +} + +@end + +#import "DBFILESPathToTags.h" +#import "DBFILESTag.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPathToTags + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path tags:(NSArray *)tags { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](tags); + + self = [super init]; + if (self) { + _path = path; + _tags = tags; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPathToTagsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPathToTagsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPathToTagsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + result = prime * result + [self.tags hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPathToTags:other]; +} + +- (BOOL)isEqualToPathToTags:(DBFILESPathToTags *)aPathToTags { + if (self == aPathToTags) { + return YES; + } + if (![self.path isEqual:aPathToTags.path]) { + return NO; + } + if (![self.tags isEqual:aPathToTags.tags]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPathToTagsSerializer + ++ (NSDictionary *)serialize:(DBFILESPathToTags *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"tags"] = [DBArraySerializer serialize:valueObj.tags + withBlock:^id(id elem0) { + return [DBFILESTagSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBFILESPathToTags *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSArray *tags = [DBArraySerializer deserialize:valueDict[@"tags"] + withBlock:^id(id elem0) { + return [DBFILESTagSerializer deserialize:elem0]; + }]; + + return [[DBFILESPathToTags alloc] initWithPath:path tags:tags]; +} + +@end + +#import "DBFILESDimensions.h" +#import "DBFILESGpsCoordinates.h" +#import "DBFILESMediaMetadata.h" +#import "DBFILESPhotoMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPhotoMetadata + +#pragma mark - Constructors + +- (instancetype)initWithDimensions:(DBFILESDimensions *)dimensions + location:(DBFILESGpsCoordinates *)location + timeTaken:(NSDate *)timeTaken { + + self = [super initWithDimensions:dimensions location:location timeTaken:timeTaken]; + if (self) { + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDimensions:nil location:nil timeTaken:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPhotoMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPhotoMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPhotoMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dimensions != nil) { + result = prime * result + [self.dimensions hash]; + } + if (self.location != nil) { + result = prime * result + [self.location hash]; + } + if (self.timeTaken != nil) { + result = prime * result + [self.timeTaken hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPhotoMetadata:other]; +} + +- (BOOL)isEqualToPhotoMetadata:(DBFILESPhotoMetadata *)aPhotoMetadata { + if (self == aPhotoMetadata) { + return YES; + } + if (self.dimensions) { + if (![self.dimensions isEqual:aPhotoMetadata.dimensions]) { + return NO; + } + } + if (self.location) { + if (![self.location isEqual:aPhotoMetadata.location]) { + return NO; + } + } + if (self.timeTaken) { + if (![self.timeTaken isEqual:aPhotoMetadata.timeTaken]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPhotoMetadataSerializer + ++ (NSDictionary *)serialize:(DBFILESPhotoMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dimensions) { + jsonDict[@"dimensions"] = [DBFILESDimensionsSerializer serialize:valueObj.dimensions]; + } + if (valueObj.location) { + jsonDict[@"location"] = [DBFILESGpsCoordinatesSerializer serialize:valueObj.location]; + } + if (valueObj.timeTaken) { + jsonDict[@"time_taken"] = [DBNSDateSerializer serialize:valueObj.timeTaken dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)valueDict { + DBFILESDimensions *dimensions = + valueDict[@"dimensions"] ? [DBFILESDimensionsSerializer deserialize:valueDict[@"dimensions"]] : nil; + DBFILESGpsCoordinates *location = + valueDict[@"location"] ? [DBFILESGpsCoordinatesSerializer deserialize:valueDict[@"location"]] : nil; + NSDate *timeTaken = valueDict[@"time_taken"] + ? [DBNSDateSerializer deserialize:valueDict[@"time_taken"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBFILESPhotoMetadata alloc] initWithDimensions:dimensions location:location timeTaken:timeTaken]; +} + +@end + +#import "DBFILESPreviewArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPreviewArg + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + + self = [super init]; + if (self) { + _path = path; + _rev = rev; + } + return self; +} + +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path rev:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPreviewArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPreviewArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPreviewArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.rev != nil) { + result = prime * result + [self.rev hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPreviewArg:other]; +} + +- (BOOL)isEqualToPreviewArg:(DBFILESPreviewArg *)aPreviewArg { + if (self == aPreviewArg) { + return YES; + } + if (![self.path isEqual:aPreviewArg.path]) { + return NO; + } + if (self.rev) { + if (![self.rev isEqual:aPreviewArg.rev]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPreviewArgSerializer + ++ (NSDictionary *)serialize:(DBFILESPreviewArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + if (valueObj.rev) { + jsonDict[@"rev"] = valueObj.rev; + } + + return jsonDict; +} + ++ (DBFILESPreviewArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *rev = valueDict[@"rev"] ?: nil; + + return [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; +} + +@end + +#import "DBFILESLookupError.h" +#import "DBFILESPreviewError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPreviewError + +@synthesize path = _path; + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESPreviewErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBFILESPreviewErrorInProgress; + } + return self; +} + +- (instancetype)initWithUnsupportedExtension { + self = [super init]; + if (self) { + _tag = DBFILESPreviewErrorUnsupportedExtension; + } + return self; +} + +- (instancetype)initWithUnsupportedContent { + self = [super init]; + if (self) { + _tag = DBFILESPreviewErrorUnsupportedContent; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESPreviewErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESPreviewErrorPath; +} + +- (BOOL)isInProgress { + return _tag == DBFILESPreviewErrorInProgress; +} + +- (BOOL)isUnsupportedExtension { + return _tag == DBFILESPreviewErrorUnsupportedExtension; +} + +- (BOOL)isUnsupportedContent { + return _tag == DBFILESPreviewErrorUnsupportedContent; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESPreviewErrorPath: + return @"DBFILESPreviewErrorPath"; + case DBFILESPreviewErrorInProgress: + return @"DBFILESPreviewErrorInProgress"; + case DBFILESPreviewErrorUnsupportedExtension: + return @"DBFILESPreviewErrorUnsupportedExtension"; + case DBFILESPreviewErrorUnsupportedContent: + return @"DBFILESPreviewErrorUnsupportedContent"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPreviewErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPreviewErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPreviewErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESPreviewErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESPreviewErrorInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPreviewErrorUnsupportedExtension: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESPreviewErrorUnsupportedContent: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPreviewError:other]; +} + +- (BOOL)isEqualToPreviewError:(DBFILESPreviewError *)aPreviewError { + if (self == aPreviewError) { + return YES; + } + if (self.tag != aPreviewError.tag) { + return NO; + } + switch (_tag) { + case DBFILESPreviewErrorPath: + return [self.path isEqual:aPreviewError.path]; + case DBFILESPreviewErrorInProgress: + return [[self tagName] isEqual:[aPreviewError tagName]]; + case DBFILESPreviewErrorUnsupportedExtension: + return [[self tagName] isEqual:[aPreviewError tagName]]; + case DBFILESPreviewErrorUnsupportedContent: + return [[self tagName] isEqual:[aPreviewError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPreviewErrorSerializer + ++ (NSDictionary *)serialize:(DBFILESPreviewError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isUnsupportedExtension]) { + jsonDict[@".tag"] = @"unsupported_extension"; + } else if ([valueObj isUnsupportedContent]) { + jsonDict[@".tag"] = @"unsupported_content"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESPreviewError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESPreviewError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESPreviewError alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"unsupported_extension"]) { + return [[DBFILESPreviewError alloc] initWithUnsupportedExtension]; + } else if ([tag isEqualToString:@"unsupported_content"]) { + return [[DBFILESPreviewError alloc] initWithUnsupportedContent]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILESFileMetadata.h" +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBFILESPreviewResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESPreviewResult + +#pragma mark - Constructors + +- (instancetype)initWithFileMetadata:(DBFILESFileMetadata *)fileMetadata + linkMetadata:(DBFILESMinimalFileLinkMetadata *)linkMetadata { + + self = [super init]; + if (self) { + _fileMetadata = fileMetadata; + _linkMetadata = linkMetadata; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithFileMetadata:nil linkMetadata:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESPreviewResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESPreviewResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESPreviewResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.fileMetadata != nil) { + result = prime * result + [self.fileMetadata hash]; + } + if (self.linkMetadata != nil) { + result = prime * result + [self.linkMetadata hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPreviewResult:other]; +} + +- (BOOL)isEqualToPreviewResult:(DBFILESPreviewResult *)aPreviewResult { + if (self == aPreviewResult) { + return YES; + } + if (self.fileMetadata) { + if (![self.fileMetadata isEqual:aPreviewResult.fileMetadata]) { + return NO; + } + } + if (self.linkMetadata) { + if (![self.linkMetadata isEqual:aPreviewResult.linkMetadata]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBFILESPreviewResultSerializer + ++ (NSDictionary *)serialize:(DBFILESPreviewResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.fileMetadata) { + jsonDict[@"file_metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.fileMetadata]; + } + if (valueObj.linkMetadata) { + jsonDict[@"link_metadata"] = [DBFILESMinimalFileLinkMetadataSerializer serialize:valueObj.linkMetadata]; + } + + return jsonDict; +} + ++ (DBFILESPreviewResult *)deserialize:(NSDictionary *)valueDict { + DBFILESFileMetadata *fileMetadata = + valueDict[@"file_metadata"] ? [DBFILESFileMetadataSerializer deserialize:valueDict[@"file_metadata"]] : nil; + DBFILESMinimalFileLinkMetadata *linkMetadata = + valueDict[@"link_metadata"] ? [DBFILESMinimalFileLinkMetadataSerializer deserialize:valueDict[@"link_metadata"]] + : nil; + + return [[DBFILESPreviewResult alloc] initWithFileMetadata:fileMetadata linkMetadata:linkMetadata]; +} + +@end + +#import "DBFILESRelocationPath.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESRelocationPath + +#pragma mark - Constructors + +- (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](fromPath); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](toPath); + + self = [super init]; + if (self) { + _fromPath = fromPath; + _toPath = toPath; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationPathSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationPathSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESRelocationPathSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fromPath hash]; + result = prime * result + [self.toPath hash]; return prime * result; } @@ -3910,71 +18249,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMetadata:other]; + return [self isEqualToRelocationPath:other]; } -- (BOOL)isEqualToFileMetadata:(DBFILESFileMetadata *)aFileMetadata { - if (self == aFileMetadata) { +- (BOOL)isEqualToRelocationPath:(DBFILESRelocationPath *)aRelocationPath { + if (self == aRelocationPath) { return YES; } - if (![self.name isEqual:aFileMetadata.name]) { - return NO; - } - if (![self.id_ isEqual:aFileMetadata.id_]) { - return NO; - } - if (![self.clientModified isEqual:aFileMetadata.clientModified]) { - return NO; - } - if (![self.serverModified isEqual:aFileMetadata.serverModified]) { - return NO; - } - if (![self.rev isEqual:aFileMetadata.rev]) { + if (![self.fromPath isEqual:aRelocationPath.fromPath]) { return NO; } - if (![self.size isEqual:aFileMetadata.size]) { + if (![self.toPath isEqual:aRelocationPath.toPath]) { return NO; } - if (self.pathLower) { - if (![self.pathLower isEqual:aFileMetadata.pathLower]) { - return NO; - } - } - if (self.pathDisplay) { - if (![self.pathDisplay isEqual:aFileMetadata.pathDisplay]) { - return NO; - } - } - if (self.parentSharedFolderId) { - if (![self.parentSharedFolderId isEqual:aFileMetadata.parentSharedFolderId]) { - return NO; - } - } - if (self.mediaInfo) { - if (![self.mediaInfo isEqual:aFileMetadata.mediaInfo]) { - return NO; - } - } - if (self.sharingInfo) { - if (![self.sharingInfo isEqual:aFileMetadata.sharingInfo]) { - return NO; - } - } - if (self.propertyGroups) { - if (![self.propertyGroups isEqual:aFileMetadata.propertyGroups]) { - return NO; - } - } - if (self.hasExplicitSharedMembers) { - if (![self.hasExplicitSharedMembers isEqual:aFileMetadata.hasExplicitSharedMembers]) { - return NO; - } - } - if (self.contentHash) { - if (![self.contentHash isEqual:aFileMetadata.contentHash]) { - return NO; - } - } return YES; } @@ -3982,129 +18269,78 @@ - (BOOL)isEqualToFileMetadata:(DBFILESFileMetadata *)aFileMetadata { #pragma mark - Serializer Object -@implementation DBFILESFileMetadataSerializer +@implementation DBFILESRelocationPathSerializer -+ (NSDictionary *)serialize:(DBFILESFileMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationPath *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"id"] = valueObj.id_; - jsonDict[@"client_modified"] = - [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"server_modified"] = - [DBNSDateSerializer serialize:valueObj.serverModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"rev"] = valueObj.rev; - jsonDict[@"size"] = valueObj.size; - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.pathDisplay) { - jsonDict[@"path_display"] = valueObj.pathDisplay; - } - if (valueObj.parentSharedFolderId) { - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - } - if (valueObj.mediaInfo) { - jsonDict[@"media_info"] = [DBFILESMediaInfoSerializer serialize:valueObj.mediaInfo]; - } - if (valueObj.sharingInfo) { - jsonDict[@"sharing_info"] = [DBFILESFileSharingInfoSerializer serialize:valueObj.sharingInfo]; - } - if (valueObj.propertyGroups) { - jsonDict[@"property_groups"] = - [DBArraySerializer serialize:valueObj.propertyGroups - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; - }]; - } - if (valueObj.hasExplicitSharedMembers) { - jsonDict[@"has_explicit_shared_members"] = valueObj.hasExplicitSharedMembers; - } - if (valueObj.contentHash) { - jsonDict[@"content_hash"] = valueObj.contentHash; - } + jsonDict[@"from_path"] = valueObj.fromPath; + jsonDict[@"to_path"] = valueObj.toPath; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESFileMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - NSString *id_ = valueDict[@"id"]; - NSDate *clientModified = - [DBNSDateSerializer deserialize:valueDict[@"client_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSDate *serverModified = - [DBNSDateSerializer deserialize:valueDict[@"server_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSString *rev = valueDict[@"rev"]; - NSNumber *size = valueDict[@"size"]; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - NSString *pathDisplay = valueDict[@"path_display"] ?: nil; - NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; - DBFILESMediaInfo *mediaInfo = - valueDict[@"media_info"] ? [DBFILESMediaInfoSerializer deserialize:valueDict[@"media_info"]] : nil; - DBFILESFileSharingInfo *sharingInfo = - valueDict[@"sharing_info"] ? [DBFILESFileSharingInfoSerializer deserialize:valueDict[@"sharing_info"]] : nil; - NSArray *propertyGroups = - valueDict[@"property_groups"] - ? [DBArraySerializer deserialize:valueDict[@"property_groups"] - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; - }] - : nil; - NSNumber *hasExplicitSharedMembers = valueDict[@"has_explicit_shared_members"] ?: nil; - NSString *contentHash = valueDict[@"content_hash"] ?: nil; ++ (DBFILESRelocationPath *)deserialize:(NSDictionary *)valueDict { + NSString *fromPath = valueDict[@"from_path"]; + NSString *toPath = valueDict[@"to_path"]; - return [[DBFILESFileMetadata alloc] initWithName:name - id_:id_ - clientModified:clientModified - serverModified:serverModified - rev:rev - size:size - pathLower:pathLower - pathDisplay:pathDisplay - parentSharedFolderId:parentSharedFolderId - mediaInfo:mediaInfo - sharingInfo:sharingInfo - propertyGroups:propertyGroups - hasExplicitSharedMembers:hasExplicitSharedMembers - contentHash:contentHash]; + return [[DBFILESRelocationPath alloc] initWithFromPath:fromPath toPath:toPath]; } @end -#import "DBFILESSharingInfo.h" +#import "DBFILESRelocationArg.h" +#import "DBFILESRelocationPath.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSharingInfo +@implementation DBFILESRelocationArg #pragma mark - Constructors -- (instancetype)initWithReadOnly:(NSNumber *)readOnly { - [DBStoneValidators nonnullValidator:nil](readOnly); +- (instancetype)initWithFromPath:(NSString *)fromPath + toPath:(NSString *)toPath + allowSharedFolder:(NSNumber *)allowSharedFolder + autorename:(NSNumber *)autorename + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](fromPath); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](toPath); - self = [super init]; + self = [super initWithFromPath:fromPath toPath:toPath]; if (self) { - _readOnly = readOnly; + _allowSharedFolder = allowSharedFolder ?: @NO; + _autorename = autorename ?: @NO; + _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; } return self; } +- (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath { + return [self initWithFromPath:fromPath toPath:toPath allowSharedFolder:nil autorename:nil allowOwnershipTransfer:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSharingInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSharingInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSharingInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4121,7 +18357,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.readOnly hash]; + result = prime * result + [self.fromPath hash]; + result = prime * result + [self.toPath hash]; + result = prime * result + [self.allowSharedFolder hash]; + result = prime * result + [self.autorename hash]; + result = prime * result + [self.allowOwnershipTransfer hash]; return prime * result; } @@ -4135,14 +18375,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingInfo:other]; -} - -- (BOOL)isEqualToSharingInfo:(DBFILESSharingInfo *)aSharingInfo { - if (self == aSharingInfo) { - return YES; - } - if (![self.readOnly isEqual:aSharingInfo.readOnly]) { + return [self isEqualToRelocationArg:other]; +} + +- (BOOL)isEqualToRelocationArg:(DBFILESRelocationArg *)aRelocationArg { + if (self == aRelocationArg) { + return YES; + } + if (![self.fromPath isEqual:aRelocationArg.fromPath]) { + return NO; + } + if (![self.toPath isEqual:aRelocationArg.toPath]) { + return NO; + } + if (![self.allowSharedFolder isEqual:aRelocationArg.allowSharedFolder]) { + return NO; + } + if (![self.autorename isEqual:aRelocationArg.autorename]) { + return NO; + } + if (![self.allowOwnershipTransfer isEqual:aRelocationArg.allowOwnershipTransfer]) { return NO; } return YES; @@ -4152,70 +18404,83 @@ - (BOOL)isEqualToSharingInfo:(DBFILESSharingInfo *)aSharingInfo { #pragma mark - Serializer Object -@implementation DBFILESSharingInfoSerializer +@implementation DBFILESRelocationArgSerializer -+ (NSDictionary *)serialize:(DBFILESSharingInfo *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"read_only"] = valueObj.readOnly; + jsonDict[@"from_path"] = valueObj.fromPath; + jsonDict[@"to_path"] = valueObj.toPath; + jsonDict[@"allow_shared_folder"] = valueObj.allowSharedFolder; + jsonDict[@"autorename"] = valueObj.autorename; + jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSharingInfo *)deserialize:(NSDictionary *)valueDict { - NSNumber *readOnly = valueDict[@"read_only"]; ++ (DBFILESRelocationArg *)deserialize:(NSDictionary *)valueDict { + NSString *fromPath = valueDict[@"from_path"]; + NSString *toPath = valueDict[@"to_path"]; + NSNumber *allowSharedFolder = valueDict[@"allow_shared_folder"] ?: @NO; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSNumber *allowOwnershipTransfer = valueDict[@"allow_ownership_transfer"] ?: @NO; - return [[DBFILESSharingInfo alloc] initWithReadOnly:readOnly]; + return [[DBFILESRelocationArg alloc] initWithFromPath:fromPath + toPath:toPath + allowSharedFolder:allowSharedFolder + autorename:autorename + allowOwnershipTransfer:allowOwnershipTransfer]; } @end -#import "DBFILESFileSharingInfo.h" -#import "DBFILESSharingInfo.h" +#import "DBFILESRelocationBatchArg.h" +#import "DBFILESRelocationBatchArgBase.h" +#import "DBFILESRelocationPath.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESFileSharingInfo +@implementation DBFILESRelocationBatchArg #pragma mark - Constructors -- (instancetype)initWithReadOnly:(NSNumber *)readOnly - parentSharedFolderId:(NSString *)parentSharedFolderId - modifiedBy:(NSString *)modifiedBy { - [DBStoneValidators nonnullValidator:nil](readOnly); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); +- (instancetype)initWithEntries:(NSArray *)entries + autorename:(NSNumber *)autorename + allowSharedFolder:(NSNumber *)allowSharedFolder + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](modifiedBy); + nonnullValidator:[DBStoneValidators arrayValidator:@(1) + maxItems:@(1000) + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); - self = [super initWithReadOnly:readOnly]; + self = [super initWithEntries:entries autorename:autorename]; if (self) { - _parentSharedFolderId = parentSharedFolderId; - _modifiedBy = modifiedBy; + _allowSharedFolder = allowSharedFolder ?: @NO; + _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; } return self; } -- (instancetype)initWithReadOnly:(NSNumber *)readOnly parentSharedFolderId:(NSString *)parentSharedFolderId { - return [self initWithReadOnly:readOnly parentSharedFolderId:parentSharedFolderId modifiedBy:nil]; +- (instancetype)initWithEntries:(NSArray *)entries { + return [self initWithEntries:entries autorename:nil allowSharedFolder:nil allowOwnershipTransfer:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESFileSharingInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESFileSharingInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESFileSharingInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4232,11 +18497,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.readOnly hash]; - result = prime * result + [self.parentSharedFolderId hash]; - if (self.modifiedBy != nil) { - result = prime * result + [self.modifiedBy hash]; - } + result = prime * result + [self.entries hash]; + result = prime * result + [self.autorename hash]; + result = prime * result + [self.allowSharedFolder hash]; + result = prime * result + [self.allowOwnershipTransfer hash]; return prime * result; } @@ -4250,23 +18514,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileSharingInfo:other]; + return [self isEqualToRelocationBatchArg:other]; } -- (BOOL)isEqualToFileSharingInfo:(DBFILESFileSharingInfo *)aFileSharingInfo { - if (self == aFileSharingInfo) { +- (BOOL)isEqualToRelocationBatchArg:(DBFILESRelocationBatchArg *)aRelocationBatchArg { + if (self == aRelocationBatchArg) { return YES; } - if (![self.readOnly isEqual:aFileSharingInfo.readOnly]) { + if (![self.entries isEqual:aRelocationBatchArg.entries]) { return NO; } - if (![self.parentSharedFolderId isEqual:aFileSharingInfo.parentSharedFolderId]) { + if (![self.autorename isEqual:aRelocationBatchArg.autorename]) { return NO; } - if (self.modifiedBy) { - if (![self.modifiedBy isEqual:aFileSharingInfo.modifiedBy]) { - return NO; - } + if (![self.allowSharedFolder isEqual:aRelocationBatchArg.allowSharedFolder]) { + return NO; + } + if (![self.allowOwnershipTransfer isEqual:aRelocationBatchArg.allowOwnershipTransfer]) { + return NO; } return YES; } @@ -4275,313 +18540,340 @@ - (BOOL)isEqualToFileSharingInfo:(DBFILESFileSharingInfo *)aFileSharingInfo { #pragma mark - Serializer Object -@implementation DBFILESFileSharingInfoSerializer +@implementation DBFILESRelocationBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESFileSharingInfo *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"read_only"] = valueObj.readOnly; - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - if (valueObj.modifiedBy) { - jsonDict[@"modified_by"] = valueObj.modifiedBy; - } + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer serialize:elem0]; + }]; + jsonDict[@"autorename"] = valueObj.autorename; + jsonDict[@"allow_shared_folder"] = valueObj.allowSharedFolder; + jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)valueDict { - NSNumber *readOnly = valueDict[@"read_only"]; - NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"]; - NSString *modifiedBy = valueDict[@"modified_by"] ?: nil; ++ (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESRelocationPathSerializer deserialize:elem0]; + }]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSNumber *allowSharedFolder = valueDict[@"allow_shared_folder"] ?: @NO; + NSNumber *allowOwnershipTransfer = valueDict[@"allow_ownership_transfer"] ?: @NO; - return [[DBFILESFileSharingInfo alloc] initWithReadOnly:readOnly - parentSharedFolderId:parentSharedFolderId - modifiedBy:modifiedBy]; + return [[DBFILESRelocationBatchArg alloc] initWithEntries:entries + autorename:autorename + allowSharedFolder:allowSharedFolder + allowOwnershipTransfer:allowOwnershipTransfer]; } @end -#import "DBFILEPROPERTIESPropertyGroup.h" -#import "DBFILESFolderMetadata.h" -#import "DBFILESFolderSharingInfo.h" -#import "DBFILESMetadata.h" +#import "DBFILESLookupError.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESRelocationError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESFolderMetadata +@implementation DBFILESRelocationError -#pragma mark - Constructors +@synthesize fromLookup = _fromLookup; +@synthesize fromWrite = _fromWrite; +@synthesize to = _to; +@synthesize cantMoveIntoVault = _cantMoveIntoVault; +@synthesize cantMoveIntoFamily = _cantMoveIntoFamily; -- (instancetype)initWithName:(NSString *)name - id_:(NSString *)id_ - pathLower:(NSString *)pathLower - pathDisplay:(NSString *)pathDisplay - parentSharedFolderId:(NSString *)parentSharedFolderId - sharedFolderId:(NSString *)sharedFolderId - sharingInfo:(DBFILESFolderSharingInfo *)sharingInfo - propertyGroups:(NSArray *)propertyGroups { - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); +#pragma mark - Constructors - self = - [super initWithName:name pathLower:pathLower pathDisplay:pathDisplay parentSharedFolderId:parentSharedFolderId]; +- (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup { + self = [super init]; if (self) { - _id_ = id_; - _sharedFolderId = sharedFolderId; - _sharingInfo = sharingInfo; - _propertyGroups = propertyGroups; + _tag = DBFILESRelocationErrorFromLookup; + _fromLookup = fromLookup; } return self; } -- (instancetype)initWithName:(NSString *)name id_:(NSString *)id_ { - return [self initWithName:name - id_:id_ - pathLower:nil - pathDisplay:nil - parentSharedFolderId:nil - sharedFolderId:nil - sharingInfo:nil - propertyGroups:nil]; +- (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorFromWrite; + _fromWrite = fromWrite; + } + return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESFolderMetadataSerializer serialize:instance]; +- (instancetype)initWithTo:(DBFILESWriteError *)to { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorTo; + _to = to; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESFolderMetadataSerializer deserialize:dict]; +- (instancetype)initWithCantCopySharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantCopySharedFolder; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESFolderMetadataSerializer serialize:self] description]; +- (instancetype)initWithCantNestSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantNestSharedFolder; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithCantMoveFolderIntoItself { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantMoveFolderIntoItself; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.name hash]; - result = prime * result + [self.id_ hash]; - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.pathDisplay != nil) { - result = prime * result + [self.pathDisplay hash]; - } - if (self.parentSharedFolderId != nil) { - result = prime * result + [self.parentSharedFolderId hash]; - } - if (self.sharedFolderId != nil) { - result = prime * result + [self.sharedFolderId hash]; - } - if (self.sharingInfo != nil) { - result = prime * result + [self.sharingInfo hash]; +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorTooManyFiles; } - if (self.propertyGroups != nil) { - result = prime * result + [self.propertyGroups hash]; + return self; +} + +- (instancetype)initWithDuplicatedOrNestedPaths { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorDuplicatedOrNestedPaths; } + return self; +} - return prime * result; +- (instancetype)initWithCantTransferOwnership { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantTransferOwnership; + } + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; +- (instancetype)initWithInsufficientQuota { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorInsufficientQuota; } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; + return self; +} + +- (instancetype)initWithInternalError { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorInternalError; } - return [self isEqualToFolderMetadata:other]; + return self; } -- (BOOL)isEqualToFolderMetadata:(DBFILESFolderMetadata *)aFolderMetadata { - if (self == aFolderMetadata) { - return YES; +- (instancetype)initWithCantMoveSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantMoveSharedFolder; } - if (![self.name isEqual:aFolderMetadata.name]) { - return NO; + return self; +} + +- (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantMoveIntoVault; + _cantMoveIntoVault = cantMoveIntoVault; } - if (![self.id_ isEqual:aFolderMetadata.id_]) { - return NO; + return self; +} + +- (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorCantMoveIntoFamily; + _cantMoveIntoFamily = cantMoveIntoFamily; } - if (self.pathLower) { - if (![self.pathLower isEqual:aFolderMetadata.pathLower]) { - return NO; - } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESRelocationErrorOther; } - if (self.pathDisplay) { - if (![self.pathDisplay isEqual:aFolderMetadata.pathDisplay]) { - return NO; - } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)fromLookup { + if (![self isFromLookup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationErrorFromLookup, but was %@.", [self tagName]]; } - if (self.parentSharedFolderId) { - if (![self.parentSharedFolderId isEqual:aFolderMetadata.parentSharedFolderId]) { - return NO; - } + return _fromLookup; +} + +- (DBFILESWriteError *)fromWrite { + if (![self isFromWrite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationErrorFromWrite, but was %@.", [self tagName]]; } - if (self.sharedFolderId) { - if (![self.sharedFolderId isEqual:aFolderMetadata.sharedFolderId]) { - return NO; - } + return _fromWrite; +} + +- (DBFILESWriteError *)to { + if (![self isTo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationErrorTo, but was %@.", [self tagName]]; } - if (self.sharingInfo) { - if (![self.sharingInfo isEqual:aFolderMetadata.sharingInfo]) { - return NO; - } + return _to; +} + +- (DBFILESMoveIntoVaultError *)cantMoveIntoVault { + if (![self isCantMoveIntoVault]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationErrorCantMoveIntoVault, but was %@.", [self tagName]]; } - if (self.propertyGroups) { - if (![self.propertyGroups isEqual:aFolderMetadata.propertyGroups]) { - return NO; - } + return _cantMoveIntoVault; +} + +- (DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { + if (![self isCantMoveIntoFamily]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationErrorCantMoveIntoFamily, but was %@.", [self tagName]]; } - return YES; + return _cantMoveIntoFamily; } -@end +#pragma mark - Tag state methods -#pragma mark - Serializer Object +- (BOOL)isFromLookup { + return _tag == DBFILESRelocationErrorFromLookup; +} -@implementation DBFILESFolderMetadataSerializer +- (BOOL)isFromWrite { + return _tag == DBFILESRelocationErrorFromWrite; +} -+ (NSDictionary *)serialize:(DBFILESFolderMetadata *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +- (BOOL)isTo { + return _tag == DBFILESRelocationErrorTo; +} - jsonDict[@"name"] = valueObj.name; - jsonDict[@"id"] = valueObj.id_; - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.pathDisplay) { - jsonDict[@"path_display"] = valueObj.pathDisplay; - } - if (valueObj.parentSharedFolderId) { - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - } - if (valueObj.sharedFolderId) { - jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - } - if (valueObj.sharingInfo) { - jsonDict[@"sharing_info"] = [DBFILESFolderSharingInfoSerializer serialize:valueObj.sharingInfo]; - } - if (valueObj.propertyGroups) { - jsonDict[@"property_groups"] = - [DBArraySerializer serialize:valueObj.propertyGroups - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; - }]; - } +- (BOOL)isCantCopySharedFolder { + return _tag == DBFILESRelocationErrorCantCopySharedFolder; +} - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isCantNestSharedFolder { + return _tag == DBFILESRelocationErrorCantNestSharedFolder; } -+ (DBFILESFolderMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - NSString *id_ = valueDict[@"id"]; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - NSString *pathDisplay = valueDict[@"path_display"] ?: nil; - NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; - NSString *sharedFolderId = valueDict[@"shared_folder_id"] ?: nil; - DBFILESFolderSharingInfo *sharingInfo = - valueDict[@"sharing_info"] ? [DBFILESFolderSharingInfoSerializer deserialize:valueDict[@"sharing_info"]] : nil; - NSArray *propertyGroups = - valueDict[@"property_groups"] - ? [DBArraySerializer deserialize:valueDict[@"property_groups"] - withBlock:^id(id elem0) { - return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; - }] - : nil; +- (BOOL)isCantMoveFolderIntoItself { + return _tag == DBFILESRelocationErrorCantMoveFolderIntoItself; +} - return [[DBFILESFolderMetadata alloc] initWithName:name - id_:id_ - pathLower:pathLower - pathDisplay:pathDisplay - parentSharedFolderId:parentSharedFolderId - sharedFolderId:sharedFolderId - sharingInfo:sharingInfo - propertyGroups:propertyGroups]; +- (BOOL)isTooManyFiles { + return _tag == DBFILESRelocationErrorTooManyFiles; } -@end +- (BOOL)isDuplicatedOrNestedPaths { + return _tag == DBFILESRelocationErrorDuplicatedOrNestedPaths; +} -#import "DBFILESFolderSharingInfo.h" -#import "DBFILESSharingInfo.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (BOOL)isCantTransferOwnership { + return _tag == DBFILESRelocationErrorCantTransferOwnership; +} -#pragma mark - API Object +- (BOOL)isInsufficientQuota { + return _tag == DBFILESRelocationErrorInsufficientQuota; +} -@implementation DBFILESFolderSharingInfo +- (BOOL)isInternalError { + return _tag == DBFILESRelocationErrorInternalError; +} -#pragma mark - Constructors +- (BOOL)isCantMoveSharedFolder { + return _tag == DBFILESRelocationErrorCantMoveSharedFolder; +} -- (instancetype)initWithReadOnly:(NSNumber *)readOnly - parentSharedFolderId:(NSString *)parentSharedFolderId - sharedFolderId:(NSString *)sharedFolderId - traverseOnly:(NSNumber *)traverseOnly - noAccess:(NSNumber *)noAccess { - [DBStoneValidators nonnullValidator:nil](readOnly); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]]( - parentSharedFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); +- (BOOL)isCantMoveIntoVault { + return _tag == DBFILESRelocationErrorCantMoveIntoVault; +} - self = [super initWithReadOnly:readOnly]; - if (self) { - _parentSharedFolderId = parentSharedFolderId; - _sharedFolderId = sharedFolderId; - _traverseOnly = traverseOnly ?: @NO; - _noAccess = noAccess ?: @NO; - } - return self; +- (BOOL)isCantMoveIntoFamily { + return _tag == DBFILESRelocationErrorCantMoveIntoFamily; } -- (instancetype)initWithReadOnly:(NSNumber *)readOnly { - return [self initWithReadOnly:readOnly parentSharedFolderId:nil sharedFolderId:nil traverseOnly:nil noAccess:nil]; +- (BOOL)isOther { + return _tag == DBFILESRelocationErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationErrorFromLookup: + return @"DBFILESRelocationErrorFromLookup"; + case DBFILESRelocationErrorFromWrite: + return @"DBFILESRelocationErrorFromWrite"; + case DBFILESRelocationErrorTo: + return @"DBFILESRelocationErrorTo"; + case DBFILESRelocationErrorCantCopySharedFolder: + return @"DBFILESRelocationErrorCantCopySharedFolder"; + case DBFILESRelocationErrorCantNestSharedFolder: + return @"DBFILESRelocationErrorCantNestSharedFolder"; + case DBFILESRelocationErrorCantMoveFolderIntoItself: + return @"DBFILESRelocationErrorCantMoveFolderIntoItself"; + case DBFILESRelocationErrorTooManyFiles: + return @"DBFILESRelocationErrorTooManyFiles"; + case DBFILESRelocationErrorDuplicatedOrNestedPaths: + return @"DBFILESRelocationErrorDuplicatedOrNestedPaths"; + case DBFILESRelocationErrorCantTransferOwnership: + return @"DBFILESRelocationErrorCantTransferOwnership"; + case DBFILESRelocationErrorInsufficientQuota: + return @"DBFILESRelocationErrorInsufficientQuota"; + case DBFILESRelocationErrorInternalError: + return @"DBFILESRelocationErrorInternalError"; + case DBFILESRelocationErrorCantMoveSharedFolder: + return @"DBFILESRelocationErrorCantMoveSharedFolder"; + case DBFILESRelocationErrorCantMoveIntoVault: + return @"DBFILESRelocationErrorCantMoveIntoVault"; + case DBFILESRelocationErrorCantMoveIntoFamily: + return @"DBFILESRelocationErrorCantMoveIntoFamily"; + case DBFILESRelocationErrorOther: + return @"DBFILESRelocationErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESFolderSharingInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESFolderSharingInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESFolderSharingInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4598,15 +18890,53 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.readOnly hash]; - if (self.parentSharedFolderId != nil) { - result = prime * result + [self.parentSharedFolderId hash]; - } - if (self.sharedFolderId != nil) { - result = prime * result + [self.sharedFolderId hash]; + switch (_tag) { + case DBFILESRelocationErrorFromLookup: + result = prime * result + [self.fromLookup hash]; + break; + case DBFILESRelocationErrorFromWrite: + result = prime * result + [self.fromWrite hash]; + break; + case DBFILESRelocationErrorTo: + result = prime * result + [self.to hash]; + break; + case DBFILESRelocationErrorCantCopySharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorCantNestSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorCantMoveFolderIntoItself: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorDuplicatedOrNestedPaths: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorCantTransferOwnership: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorInsufficientQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorInternalError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorCantMoveSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationErrorCantMoveIntoVault: + result = prime * result + [self.cantMoveIntoVault hash]; + break; + case DBFILESRelocationErrorCantMoveIntoFamily: + result = prime * result + [self.cantMoveIntoFamily hash]; + break; + case DBFILESRelocationErrorOther: + result = prime * result + [[self tagName] hash]; + break; } - result = prime * result + [self.traverseOnly hash]; - result = prime * result + [self.noAccess hash]; return prime * result; } @@ -4620,31 +18950,47 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderSharingInfo:other]; + return [self isEqualToRelocationError:other]; } -- (BOOL)isEqualToFolderSharingInfo:(DBFILESFolderSharingInfo *)aFolderSharingInfo { - if (self == aFolderSharingInfo) { +- (BOOL)isEqualToRelocationError:(DBFILESRelocationError *)aRelocationError { + if (self == aRelocationError) { return YES; } - if (![self.readOnly isEqual:aFolderSharingInfo.readOnly]) { - return NO; - } - if (self.parentSharedFolderId) { - if (![self.parentSharedFolderId isEqual:aFolderSharingInfo.parentSharedFolderId]) { - return NO; - } - } - if (self.sharedFolderId) { - if (![self.sharedFolderId isEqual:aFolderSharingInfo.sharedFolderId]) { - return NO; - } - } - if (![self.traverseOnly isEqual:aFolderSharingInfo.traverseOnly]) { + if (self.tag != aRelocationError.tag) { return NO; } - if (![self.noAccess isEqual:aFolderSharingInfo.noAccess]) { - return NO; + switch (_tag) { + case DBFILESRelocationErrorFromLookup: + return [self.fromLookup isEqual:aRelocationError.fromLookup]; + case DBFILESRelocationErrorFromWrite: + return [self.fromWrite isEqual:aRelocationError.fromWrite]; + case DBFILESRelocationErrorTo: + return [self.to isEqual:aRelocationError.to]; + case DBFILESRelocationErrorCantCopySharedFolder: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorCantNestSharedFolder: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorCantMoveFolderIntoItself: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorTooManyFiles: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorDuplicatedOrNestedPaths: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorCantTransferOwnership: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorInsufficientQuota: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorInternalError: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorCantMoveSharedFolder: + return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESRelocationErrorCantMoveIntoVault: + return [self.cantMoveIntoVault isEqual:aRelocationError.cantMoveIntoVault]; + case DBFILESRelocationErrorCantMoveIntoFamily: + return [self.cantMoveIntoFamily isEqual:aRelocationError.cantMoveIntoFamily]; + case DBFILESRelocationErrorOther: + return [[self tagName] isEqual:[aRelocationError tagName]]; } return YES; } @@ -4653,161 +18999,236 @@ - (BOOL)isEqualToFolderSharingInfo:(DBFILESFolderSharingInfo *)aFolderSharingInf #pragma mark - Serializer Object -@implementation DBFILESFolderSharingInfoSerializer +@implementation DBFILESRelocationErrorSerializer -+ (NSDictionary *)serialize:(DBFILESFolderSharingInfo *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"read_only"] = valueObj.readOnly; - if (valueObj.parentSharedFolderId) { - jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; - } - if (valueObj.sharedFolderId) { - jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; + if ([valueObj isFromLookup]) { + jsonDict[@"from_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.fromLookup] mutableCopy]; + jsonDict[@".tag"] = @"from_lookup"; + } else if ([valueObj isFromWrite]) { + jsonDict[@"from_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.fromWrite] mutableCopy]; + jsonDict[@".tag"] = @"from_write"; + } else if ([valueObj isTo]) { + jsonDict[@"to"] = [[DBFILESWriteErrorSerializer serialize:valueObj.to] mutableCopy]; + jsonDict[@".tag"] = @"to"; + } else if ([valueObj isCantCopySharedFolder]) { + jsonDict[@".tag"] = @"cant_copy_shared_folder"; + } else if ([valueObj isCantNestSharedFolder]) { + jsonDict[@".tag"] = @"cant_nest_shared_folder"; + } else if ([valueObj isCantMoveFolderIntoItself]) { + jsonDict[@".tag"] = @"cant_move_folder_into_itself"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isDuplicatedOrNestedPaths]) { + jsonDict[@".tag"] = @"duplicated_or_nested_paths"; + } else if ([valueObj isCantTransferOwnership]) { + jsonDict[@".tag"] = @"cant_transfer_ownership"; + } else if ([valueObj isInsufficientQuota]) { + jsonDict[@".tag"] = @"insufficient_quota"; + } else if ([valueObj isInternalError]) { + jsonDict[@".tag"] = @"internal_error"; + } else if ([valueObj isCantMoveSharedFolder]) { + jsonDict[@".tag"] = @"cant_move_shared_folder"; + } else if ([valueObj isCantMoveIntoVault]) { + jsonDict[@"cant_move_into_vault"] = + [[DBFILESMoveIntoVaultErrorSerializer serialize:valueObj.cantMoveIntoVault] mutableCopy]; + jsonDict[@".tag"] = @"cant_move_into_vault"; + } else if ([valueObj isCantMoveIntoFamily]) { + jsonDict[@"cant_move_into_family"] = + [[DBFILESMoveIntoFamilyErrorSerializer serialize:valueObj.cantMoveIntoFamily] mutableCopy]; + jsonDict[@".tag"] = @"cant_move_into_family"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - jsonDict[@"traverse_only"] = valueObj.traverseOnly; - jsonDict[@"no_access"] = valueObj.noAccess; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)valueDict { - NSNumber *readOnly = valueDict[@"read_only"]; - NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; - NSString *sharedFolderId = valueDict[@"shared_folder_id"] ?: nil; - NSNumber *traverseOnly = valueDict[@"traverse_only"] ?: @NO; - NSNumber *noAccess = valueDict[@"no_access"] ?: @NO; ++ (DBFILESRelocationError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESFolderSharingInfo alloc] initWithReadOnly:readOnly - parentSharedFolderId:parentSharedFolderId - sharedFolderId:sharedFolderId - traverseOnly:traverseOnly - noAccess:noAccess]; + if ([tag isEqualToString:@"from_lookup"]) { + DBFILESLookupError *fromLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"from_lookup"]]; + return [[DBFILESRelocationError alloc] initWithFromLookup:fromLookup]; + } else if ([tag isEqualToString:@"from_write"]) { + DBFILESWriteError *fromWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"from_write"]]; + return [[DBFILESRelocationError alloc] initWithFromWrite:fromWrite]; + } else if ([tag isEqualToString:@"to"]) { + DBFILESWriteError *to = [DBFILESWriteErrorSerializer deserialize:valueDict[@"to"]]; + return [[DBFILESRelocationError alloc] initWithTo:to]; + } else if ([tag isEqualToString:@"cant_copy_shared_folder"]) { + return [[DBFILESRelocationError alloc] initWithCantCopySharedFolder]; + } else if ([tag isEqualToString:@"cant_nest_shared_folder"]) { + return [[DBFILESRelocationError alloc] initWithCantNestSharedFolder]; + } else if ([tag isEqualToString:@"cant_move_folder_into_itself"]) { + return [[DBFILESRelocationError alloc] initWithCantMoveFolderIntoItself]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESRelocationError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"duplicated_or_nested_paths"]) { + return [[DBFILESRelocationError alloc] initWithDuplicatedOrNestedPaths]; + } else if ([tag isEqualToString:@"cant_transfer_ownership"]) { + return [[DBFILESRelocationError alloc] initWithCantTransferOwnership]; + } else if ([tag isEqualToString:@"insufficient_quota"]) { + return [[DBFILESRelocationError alloc] initWithInsufficientQuota]; + } else if ([tag isEqualToString:@"internal_error"]) { + return [[DBFILESRelocationError alloc] initWithInternalError]; + } else if ([tag isEqualToString:@"cant_move_shared_folder"]) { + return [[DBFILESRelocationError alloc] initWithCantMoveSharedFolder]; + } else if ([tag isEqualToString:@"cant_move_into_vault"]) { + DBFILESMoveIntoVaultError *cantMoveIntoVault = + [DBFILESMoveIntoVaultErrorSerializer deserialize:valueDict[@"cant_move_into_vault"]]; + return [[DBFILESRelocationError alloc] initWithCantMoveIntoVault:cantMoveIntoVault]; + } else if ([tag isEqualToString:@"cant_move_into_family"]) { + DBFILESMoveIntoFamilyError *cantMoveIntoFamily = + [DBFILESMoveIntoFamilyErrorSerializer deserialize:valueDict[@"cant_move_into_family"]]; + return [[DBFILESRelocationError alloc] initWithCantMoveIntoFamily:cantMoveIntoFamily]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESRelocationError alloc] initWithOther]; + } else { + return [[DBFILESRelocationError alloc] initWithOther]; + } } @end -#import "DBFILESGetCopyReferenceArg.h" +#import "DBFILESLookupError.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESRelocationBatchError.h" +#import "DBFILESRelocationError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetCopyReferenceArg +@implementation DBFILESRelocationBatchError -#pragma mark - Constructors +@synthesize fromLookup = _fromLookup; +@synthesize fromWrite = _fromWrite; +@synthesize to = _to; +@synthesize cantMoveIntoVault = _cantMoveIntoVault; +@synthesize cantMoveIntoFamily = _cantMoveIntoFamily; -- (instancetype)initWithPath:(NSString *)path { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); +#pragma mark - Constructors +- (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup { self = [super init]; if (self) { - _path = path; + _tag = DBFILESRelocationBatchErrorFromLookup; + _fromLookup = fromLookup; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetCopyReferenceArgSerializer serialize:instance]; +- (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorFromWrite; + _fromWrite = fromWrite; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetCopyReferenceArgSerializer deserialize:dict]; +- (instancetype)initWithTo:(DBFILESWriteError *)to { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorTo; + _to = to; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESGetCopyReferenceArgSerializer serialize:self] description]; +- (instancetype)initWithCantCopySharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantCopySharedFolder; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithCantNestSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantNestSharedFolder; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.path hash]; +- (instancetype)initWithCantMoveFolderIntoItself { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantMoveFolderIntoItself; + } + return self; +} - return prime * result; +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorTooManyFiles; + } + return self; } -#pragma mark - Equality method +- (instancetype)initWithDuplicatedOrNestedPaths { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; + } + return self; +} -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; +- (instancetype)initWithCantTransferOwnership { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantTransferOwnership; } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; + return self; +} + +- (instancetype)initWithInsufficientQuota { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorInsufficientQuota; } - return [self isEqualToGetCopyReferenceArg:other]; + return self; } -- (BOOL)isEqualToGetCopyReferenceArg:(DBFILESGetCopyReferenceArg *)aGetCopyReferenceArg { - if (self == aGetCopyReferenceArg) { - return YES; - } - if (![self.path isEqual:aGetCopyReferenceArg.path]) { - return NO; +- (instancetype)initWithInternalError { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorInternalError; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBFILESGetCopyReferenceArgSerializer - -+ (NSDictionary *)serialize:(DBFILESGetCopyReferenceArg *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"path"] = valueObj.path; - - return [jsonDict count] > 0 ? jsonDict : nil; +- (instancetype)initWithCantMoveSharedFolder { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantMoveSharedFolder; + } + return self; } -+ (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - - return [[DBFILESGetCopyReferenceArg alloc] initWithPath:path]; +- (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorCantMoveIntoVault; + _cantMoveIntoVault = cantMoveIntoVault; + } + return self; } -@end - -#import "DBFILESGetCopyReferenceError.h" -#import "DBFILESLookupError.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESGetCopyReferenceError - -@synthesize path = _path; - -#pragma mark - Constructors - -- (instancetype)initWithPath:(DBFILESLookupError *)path { +- (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { self = [super init]; if (self) { - _tag = DBFILESGetCopyReferenceErrorPath; - _path = path; + _tag = DBFILESRelocationBatchErrorCantMoveIntoFamily; + _cantMoveIntoFamily = cantMoveIntoFamily; } return self; } @@ -4815,187 +19236,182 @@ - (instancetype)initWithPath:(DBFILESLookupError *)path { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESGetCopyReferenceErrorOther; + _tag = DBFILESRelocationBatchErrorOther; + } + return self; +} + +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorTooManyWriteOperations; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)path { - if (![self isPath]) { +- (DBFILESLookupError *)fromLookup { + if (![self isFromLookup]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESGetCopyReferenceErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESRelocationBatchErrorFromLookup, but was %@.", [self tagName]]; } - return _path; + return _fromLookup; } -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESGetCopyReferenceErrorPath; +- (DBFILESWriteError *)fromWrite { + if (![self isFromWrite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchErrorFromWrite, but was %@.", [self tagName]]; + } + return _fromWrite; } -- (BOOL)isOther { - return _tag == DBFILESGetCopyReferenceErrorOther; +- (DBFILESWriteError *)to { + if (![self isTo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchErrorTo, but was %@.", [self tagName]]; + } + return _to; } -- (NSString *)tagName { - switch (_tag) { - case DBFILESGetCopyReferenceErrorPath: - return @"DBFILESGetCopyReferenceErrorPath"; - case DBFILESGetCopyReferenceErrorOther: - return @"DBFILESGetCopyReferenceErrorOther"; +- (DBFILESMoveIntoVaultError *)cantMoveIntoVault { + if (![self isCantMoveIntoVault]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchErrorCantMoveIntoVault, but was %@.", [self tagName]]; } + return _cantMoveIntoVault; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (DBFILESMoveIntoFamilyError *)cantMoveIntoFamily { + if (![self isCantMoveIntoFamily]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchErrorCantMoveIntoFamily, but was %@.", [self tagName]]; + } + return _cantMoveIntoFamily; } -#pragma mark - Serialization methods +#pragma mark - Tag state methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetCopyReferenceErrorSerializer serialize:instance]; +- (BOOL)isFromLookup { + return _tag == DBFILESRelocationBatchErrorFromLookup; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetCopyReferenceErrorSerializer deserialize:dict]; +- (BOOL)isFromWrite { + return _tag == DBFILESRelocationBatchErrorFromWrite; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESGetCopyReferenceErrorSerializer serialize:self] description]; +- (BOOL)isTo { + return _tag == DBFILESRelocationBatchErrorTo; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; +- (BOOL)isCantCopySharedFolder { + return _tag == DBFILESRelocationBatchErrorCantCopySharedFolder; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - switch (_tag) { - case DBFILESGetCopyReferenceErrorPath: - result = prime * result + [self.path hash]; - case DBFILESGetCopyReferenceErrorOther: - result = prime * result + [[self tagName] hash]; - } - - return prime * result; +- (BOOL)isCantNestSharedFolder { + return _tag == DBFILESRelocationBatchErrorCantNestSharedFolder; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToGetCopyReferenceError:other]; +- (BOOL)isCantMoveFolderIntoItself { + return _tag == DBFILESRelocationBatchErrorCantMoveFolderIntoItself; } -- (BOOL)isEqualToGetCopyReferenceError:(DBFILESGetCopyReferenceError *)aGetCopyReferenceError { - if (self == aGetCopyReferenceError) { - return YES; - } - if (self.tag != aGetCopyReferenceError.tag) { - return NO; - } - switch (_tag) { - case DBFILESGetCopyReferenceErrorPath: - return [self.path isEqual:aGetCopyReferenceError.path]; - case DBFILESGetCopyReferenceErrorOther: - return [[self tagName] isEqual:[aGetCopyReferenceError tagName]]; - } - return YES; +- (BOOL)isTooManyFiles { + return _tag == DBFILESRelocationBatchErrorTooManyFiles; } -@end - -#pragma mark - Serializer Object - -@implementation DBFILESGetCopyReferenceErrorSerializer - -+ (NSDictionary *)serialize:(DBFILESGetCopyReferenceError *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isDuplicatedOrNestedPaths { + return _tag == DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; } -+ (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; +- (BOOL)isCantTransferOwnership { + return _tag == DBFILESRelocationBatchErrorCantTransferOwnership; +} - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESGetCopyReferenceError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESGetCopyReferenceError alloc] initWithOther]; - } else { - return [[DBFILESGetCopyReferenceError alloc] initWithOther]; - } +- (BOOL)isInsufficientQuota { + return _tag == DBFILESRelocationBatchErrorInsufficientQuota; } -@end +- (BOOL)isInternalError { + return _tag == DBFILESRelocationBatchErrorInternalError; +} -#import "DBFILESGetCopyReferenceResult.h" -#import "DBFILESMetadata.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (BOOL)isCantMoveSharedFolder { + return _tag == DBFILESRelocationBatchErrorCantMoveSharedFolder; +} -#pragma mark - API Object +- (BOOL)isCantMoveIntoVault { + return _tag == DBFILESRelocationBatchErrorCantMoveIntoVault; +} -@implementation DBFILESGetCopyReferenceResult +- (BOOL)isCantMoveIntoFamily { + return _tag == DBFILESRelocationBatchErrorCantMoveIntoFamily; +} -#pragma mark - Constructors +- (BOOL)isOther { + return _tag == DBFILESRelocationBatchErrorOther; +} -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata - dCopyReference:(NSString *)dCopyReference - expires:(NSDate *)expires { - [DBStoneValidators nonnullValidator:nil](metadata); - [DBStoneValidators nonnullValidator:nil](dCopyReference); - [DBStoneValidators nonnullValidator:nil](expires); +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESRelocationBatchErrorTooManyWriteOperations; +} - self = [super init]; - if (self) { - _metadata = metadata; - _dCopyReference = dCopyReference; - _expires = expires; +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationBatchErrorFromLookup: + return @"DBFILESRelocationBatchErrorFromLookup"; + case DBFILESRelocationBatchErrorFromWrite: + return @"DBFILESRelocationBatchErrorFromWrite"; + case DBFILESRelocationBatchErrorTo: + return @"DBFILESRelocationBatchErrorTo"; + case DBFILESRelocationBatchErrorCantCopySharedFolder: + return @"DBFILESRelocationBatchErrorCantCopySharedFolder"; + case DBFILESRelocationBatchErrorCantNestSharedFolder: + return @"DBFILESRelocationBatchErrorCantNestSharedFolder"; + case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: + return @"DBFILESRelocationBatchErrorCantMoveFolderIntoItself"; + case DBFILESRelocationBatchErrorTooManyFiles: + return @"DBFILESRelocationBatchErrorTooManyFiles"; + case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: + return @"DBFILESRelocationBatchErrorDuplicatedOrNestedPaths"; + case DBFILESRelocationBatchErrorCantTransferOwnership: + return @"DBFILESRelocationBatchErrorCantTransferOwnership"; + case DBFILESRelocationBatchErrorInsufficientQuota: + return @"DBFILESRelocationBatchErrorInsufficientQuota"; + case DBFILESRelocationBatchErrorInternalError: + return @"DBFILESRelocationBatchErrorInternalError"; + case DBFILESRelocationBatchErrorCantMoveSharedFolder: + return @"DBFILESRelocationBatchErrorCantMoveSharedFolder"; + case DBFILESRelocationBatchErrorCantMoveIntoVault: + return @"DBFILESRelocationBatchErrorCantMoveIntoVault"; + case DBFILESRelocationBatchErrorCantMoveIntoFamily: + return @"DBFILESRelocationBatchErrorCantMoveIntoFamily"; + case DBFILESRelocationBatchErrorOther: + return @"DBFILESRelocationBatchErrorOther"; + case DBFILESRelocationBatchErrorTooManyWriteOperations: + return @"DBFILESRelocationBatchErrorTooManyWriteOperations"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetCopyReferenceResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetCopyReferenceResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetCopyReferenceResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5012,9 +19428,56 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; - result = prime * result + [self.dCopyReference hash]; - result = prime * result + [self.expires hash]; + switch (_tag) { + case DBFILESRelocationBatchErrorFromLookup: + result = prime * result + [self.fromLookup hash]; + break; + case DBFILESRelocationBatchErrorFromWrite: + result = prime * result + [self.fromWrite hash]; + break; + case DBFILESRelocationBatchErrorTo: + result = prime * result + [self.to hash]; + break; + case DBFILESRelocationBatchErrorCantCopySharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorCantNestSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorCantTransferOwnership: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorInsufficientQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorInternalError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorCantMoveSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorCantMoveIntoVault: + result = prime * result + [self.cantMoveIntoVault hash]; + break; + case DBFILESRelocationBatchErrorCantMoveIntoFamily: + result = prime * result + [self.cantMoveIntoFamily hash]; + break; + case DBFILESRelocationBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -5028,21 +19491,49 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetCopyReferenceResult:other]; + return [self isEqualToRelocationBatchError:other]; } -- (BOOL)isEqualToGetCopyReferenceResult:(DBFILESGetCopyReferenceResult *)aGetCopyReferenceResult { - if (self == aGetCopyReferenceResult) { +- (BOOL)isEqualToRelocationBatchError:(DBFILESRelocationBatchError *)aRelocationBatchError { + if (self == aRelocationBatchError) { return YES; } - if (![self.metadata isEqual:aGetCopyReferenceResult.metadata]) { - return NO; - } - if (![self.dCopyReference isEqual:aGetCopyReferenceResult.dCopyReference]) { + if (self.tag != aRelocationBatchError.tag) { return NO; } - if (![self.expires isEqual:aGetCopyReferenceResult.expires]) { - return NO; + switch (_tag) { + case DBFILESRelocationBatchErrorFromLookup: + return [self.fromLookup isEqual:aRelocationBatchError.fromLookup]; + case DBFILESRelocationBatchErrorFromWrite: + return [self.fromWrite isEqual:aRelocationBatchError.fromWrite]; + case DBFILESRelocationBatchErrorTo: + return [self.to isEqual:aRelocationBatchError.to]; + case DBFILESRelocationBatchErrorCantCopySharedFolder: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorCantNestSharedFolder: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorTooManyFiles: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorCantTransferOwnership: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorInsufficientQuota: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorInternalError: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorCantMoveSharedFolder: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorCantMoveIntoVault: + return [self.cantMoveIntoVault isEqual:aRelocationBatchError.cantMoveIntoVault]; + case DBFILESRelocationBatchErrorCantMoveIntoFamily: + return [self.cantMoveIntoFamily isEqual:aRelocationBatchError.cantMoveIntoFamily]; + case DBFILESRelocationBatchErrorOther: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + case DBFILESRelocationBatchErrorTooManyWriteOperations: + return [[self tagName] isEqual:[aRelocationBatchError tagName]]; } return YES; } @@ -5051,67 +19542,210 @@ - (BOOL)isEqualToGetCopyReferenceResult:(DBFILESGetCopyReferenceResult *)aGetCop #pragma mark - Serializer Object -@implementation DBFILESGetCopyReferenceResultSerializer +@implementation DBFILESRelocationBatchErrorSerializer -+ (NSDictionary *)serialize:(DBFILESGetCopyReferenceResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - jsonDict[@"copy_reference"] = valueObj.dCopyReference; - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if ([valueObj isFromLookup]) { + jsonDict[@"from_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.fromLookup] mutableCopy]; + jsonDict[@".tag"] = @"from_lookup"; + } else if ([valueObj isFromWrite]) { + jsonDict[@"from_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.fromWrite] mutableCopy]; + jsonDict[@".tag"] = @"from_write"; + } else if ([valueObj isTo]) { + jsonDict[@"to"] = [[DBFILESWriteErrorSerializer serialize:valueObj.to] mutableCopy]; + jsonDict[@".tag"] = @"to"; + } else if ([valueObj isCantCopySharedFolder]) { + jsonDict[@".tag"] = @"cant_copy_shared_folder"; + } else if ([valueObj isCantNestSharedFolder]) { + jsonDict[@".tag"] = @"cant_nest_shared_folder"; + } else if ([valueObj isCantMoveFolderIntoItself]) { + jsonDict[@".tag"] = @"cant_move_folder_into_itself"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isDuplicatedOrNestedPaths]) { + jsonDict[@".tag"] = @"duplicated_or_nested_paths"; + } else if ([valueObj isCantTransferOwnership]) { + jsonDict[@".tag"] = @"cant_transfer_ownership"; + } else if ([valueObj isInsufficientQuota]) { + jsonDict[@".tag"] = @"insufficient_quota"; + } else if ([valueObj isInternalError]) { + jsonDict[@".tag"] = @"internal_error"; + } else if ([valueObj isCantMoveSharedFolder]) { + jsonDict[@".tag"] = @"cant_move_shared_folder"; + } else if ([valueObj isCantMoveIntoVault]) { + jsonDict[@"cant_move_into_vault"] = + [[DBFILESMoveIntoVaultErrorSerializer serialize:valueObj.cantMoveIntoVault] mutableCopy]; + jsonDict[@".tag"] = @"cant_move_into_vault"; + } else if ([valueObj isCantMoveIntoFamily]) { + jsonDict[@"cant_move_into_family"] = + [[DBFILESMoveIntoFamilyErrorSerializer serialize:valueObj.cantMoveIntoFamily] mutableCopy]; + jsonDict[@".tag"] = @"cant_move_into_family"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - NSString *dCopyReference = valueDict[@"copy_reference"]; - NSDate *expires = [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; ++ (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return - [[DBFILESGetCopyReferenceResult alloc] initWithMetadata:metadata dCopyReference:dCopyReference expires:expires]; + if ([tag isEqualToString:@"from_lookup"]) { + DBFILESLookupError *fromLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"from_lookup"]]; + return [[DBFILESRelocationBatchError alloc] initWithFromLookup:fromLookup]; + } else if ([tag isEqualToString:@"from_write"]) { + DBFILESWriteError *fromWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"from_write"]]; + return [[DBFILESRelocationBatchError alloc] initWithFromWrite:fromWrite]; + } else if ([tag isEqualToString:@"to"]) { + DBFILESWriteError *to = [DBFILESWriteErrorSerializer deserialize:valueDict[@"to"]]; + return [[DBFILESRelocationBatchError alloc] initWithTo:to]; + } else if ([tag isEqualToString:@"cant_copy_shared_folder"]) { + return [[DBFILESRelocationBatchError alloc] initWithCantCopySharedFolder]; + } else if ([tag isEqualToString:@"cant_nest_shared_folder"]) { + return [[DBFILESRelocationBatchError alloc] initWithCantNestSharedFolder]; + } else if ([tag isEqualToString:@"cant_move_folder_into_itself"]) { + return [[DBFILESRelocationBatchError alloc] initWithCantMoveFolderIntoItself]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESRelocationBatchError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"duplicated_or_nested_paths"]) { + return [[DBFILESRelocationBatchError alloc] initWithDuplicatedOrNestedPaths]; + } else if ([tag isEqualToString:@"cant_transfer_ownership"]) { + return [[DBFILESRelocationBatchError alloc] initWithCantTransferOwnership]; + } else if ([tag isEqualToString:@"insufficient_quota"]) { + return [[DBFILESRelocationBatchError alloc] initWithInsufficientQuota]; + } else if ([tag isEqualToString:@"internal_error"]) { + return [[DBFILESRelocationBatchError alloc] initWithInternalError]; + } else if ([tag isEqualToString:@"cant_move_shared_folder"]) { + return [[DBFILESRelocationBatchError alloc] initWithCantMoveSharedFolder]; + } else if ([tag isEqualToString:@"cant_move_into_vault"]) { + DBFILESMoveIntoVaultError *cantMoveIntoVault = + [DBFILESMoveIntoVaultErrorSerializer deserialize:valueDict[@"cant_move_into_vault"]]; + return [[DBFILESRelocationBatchError alloc] initWithCantMoveIntoVault:cantMoveIntoVault]; + } else if ([tag isEqualToString:@"cant_move_into_family"]) { + DBFILESMoveIntoFamilyError *cantMoveIntoFamily = + [DBFILESMoveIntoFamilyErrorSerializer deserialize:valueDict[@"cant_move_into_family"]]; + return [[DBFILESRelocationBatchError alloc] initWithCantMoveIntoFamily:cantMoveIntoFamily]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESRelocationBatchError alloc] initWithOther]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESRelocationBatchError alloc] initWithTooManyWriteOperations]; + } else { + return [[DBFILESRelocationBatchError alloc] initWithOther]; + } } @end -#import "DBFILESGetTemporaryLinkArg.h" +#import "DBFILESRelocationBatchErrorEntry.h" +#import "DBFILESRelocationError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetTemporaryLinkArg +@implementation DBFILESRelocationBatchErrorEntry + +@synthesize relocationError = _relocationError; #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); +- (instancetype)initWithRelocationError:(DBFILESRelocationError *)relocationError { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorEntryRelocationError; + _relocationError = relocationError; + } + return self; +} +- (instancetype)initWithInternalError { self = [super init]; if (self) { - _path = path; + _tag = DBFILESRelocationBatchErrorEntryInternalError; + } + return self; +} + +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorEntryTooManyWriteOperations; } return self; } +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchErrorEntryOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESRelocationError *)relocationError { + if (![self isRelocationError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchErrorEntryRelocationError, but was %@.", [self tagName]]; + } + return _relocationError; +} + +#pragma mark - Tag state methods + +- (BOOL)isRelocationError { + return _tag == DBFILESRelocationBatchErrorEntryRelocationError; +} + +- (BOOL)isInternalError { + return _tag == DBFILESRelocationBatchErrorEntryInternalError; +} + +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESRelocationBatchErrorEntryTooManyWriteOperations; +} + +- (BOOL)isOther { + return _tag == DBFILESRelocationBatchErrorEntryOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationBatchErrorEntryRelocationError: + return @"DBFILESRelocationBatchErrorEntryRelocationError"; + case DBFILESRelocationBatchErrorEntryInternalError: + return @"DBFILESRelocationBatchErrorEntryInternalError"; + case DBFILESRelocationBatchErrorEntryTooManyWriteOperations: + return @"DBFILESRelocationBatchErrorEntryTooManyWriteOperations"; + case DBFILESRelocationBatchErrorEntryOther: + return @"DBFILESRelocationBatchErrorEntryOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetTemporaryLinkArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchErrorEntrySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetTemporaryLinkArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchErrorEntrySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetTemporaryLinkArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchErrorEntrySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5128,7 +19762,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; + switch (_tag) { + case DBFILESRelocationBatchErrorEntryRelocationError: + result = prime * result + [self.relocationError hash]; + break; + case DBFILESRelocationBatchErrorEntryInternalError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorEntryTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchErrorEntryOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -5142,16 +19789,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTemporaryLinkArg:other]; + return [self isEqualToRelocationBatchErrorEntry:other]; } -- (BOOL)isEqualToGetTemporaryLinkArg:(DBFILESGetTemporaryLinkArg *)aGetTemporaryLinkArg { - if (self == aGetTemporaryLinkArg) { +- (BOOL)isEqualToRelocationBatchErrorEntry:(DBFILESRelocationBatchErrorEntry *)aRelocationBatchErrorEntry { + if (self == aRelocationBatchErrorEntry) { return YES; } - if (![self.path isEqual:aGetTemporaryLinkArg.path]) { + if (self.tag != aRelocationBatchErrorEntry.tag) { return NO; } + switch (_tag) { + case DBFILESRelocationBatchErrorEntryRelocationError: + return [self.relocationError isEqual:aRelocationBatchErrorEntry.relocationError]; + case DBFILESRelocationBatchErrorEntryInternalError: + return [[self tagName] isEqual:[aRelocationBatchErrorEntry tagName]]; + case DBFILESRelocationBatchErrorEntryTooManyWriteOperations: + return [[self tagName] isEqual:[aRelocationBatchErrorEntry tagName]]; + case DBFILESRelocationBatchErrorEntryOther: + return [[self tagName] isEqual:[aRelocationBatchErrorEntry tagName]]; + } return YES; } @@ -5159,80 +19816,129 @@ - (BOOL)isEqualToGetTemporaryLinkArg:(DBFILESGetTemporaryLinkArg *)aGetTemporary #pragma mark - Serializer Object -@implementation DBFILESGetTemporaryLinkArgSerializer +@implementation DBFILESRelocationBatchErrorEntrySerializer -+ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchErrorEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; + if ([valueObj isRelocationError]) { + jsonDict[@"relocation_error"] = [[DBFILESRelocationErrorSerializer serialize:valueObj.relocationError] mutableCopy]; + jsonDict[@".tag"] = @"relocation_error"; + } else if ([valueObj isInternalError]) { + jsonDict[@".tag"] = @"internal_error"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; ++ (DBFILESRelocationBatchErrorEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESGetTemporaryLinkArg alloc] initWithPath:path]; + if ([tag isEqualToString:@"relocation_error"]) { + DBFILESRelocationError *relocationError = + [DBFILESRelocationErrorSerializer deserialize:valueDict[@"relocation_error"]]; + return [[DBFILESRelocationBatchErrorEntry alloc] initWithRelocationError:relocationError]; + } else if ([tag isEqualToString:@"internal_error"]) { + return [[DBFILESRelocationBatchErrorEntry alloc] initWithInternalError]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESRelocationBatchErrorEntry alloc] initWithTooManyWriteOperations]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESRelocationBatchErrorEntry alloc] initWithOther]; + } else { + return [[DBFILESRelocationBatchErrorEntry alloc] initWithOther]; + } } @end -#import "DBFILESGetTemporaryLinkError.h" -#import "DBFILESLookupError.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILESRelocationBatchError.h" +#import "DBFILESRelocationBatchJobStatus.h" +#import "DBFILESRelocationBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetTemporaryLinkError +@implementation DBFILESRelocationBatchJobStatus -@synthesize path = _path; +@synthesize complete = _complete; +@synthesize failed = _failed; #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { +- (instancetype)initWithInProgress { self = [super init]; if (self) { - _tag = DBFILESGetTemporaryLinkErrorPath; - _path = path; + _tag = DBFILESRelocationBatchJobStatusInProgress; + } + return self; +} + +- (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchJobStatusComplete; + _complete = complete; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithFailed:(DBFILESRelocationBatchError *)failed { self = [super init]; if (self) { - _tag = DBFILESGetTemporaryLinkErrorOther; + _tag = DBFILESRelocationBatchJobStatusFailed; + _failed = failed; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)path { - if (![self isPath]) { +- (DBFILESRelocationBatchResult *)complete { + if (![self isComplete]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESGetTemporaryLinkErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESRelocationBatchJobStatusComplete, but was %@.", [self tagName]]; } - return _path; + return _complete; +} + +- (DBFILESRelocationBatchError *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; } #pragma mark - Tag state methods -- (BOOL)isPath { - return _tag == DBFILESGetTemporaryLinkErrorPath; +- (BOOL)isInProgress { + return _tag == DBFILESRelocationBatchJobStatusInProgress; } -- (BOOL)isOther { - return _tag == DBFILESGetTemporaryLinkErrorOther; +- (BOOL)isComplete { + return _tag == DBFILESRelocationBatchJobStatusComplete; +} + +- (BOOL)isFailed { + return _tag == DBFILESRelocationBatchJobStatusFailed; } - (NSString *)tagName { switch (_tag) { - case DBFILESGetTemporaryLinkErrorPath: - return @"DBFILESGetTemporaryLinkErrorPath"; - case DBFILESGetTemporaryLinkErrorOther: - return @"DBFILESGetTemporaryLinkErrorOther"; + case DBFILESRelocationBatchJobStatusInProgress: + return @"DBFILESRelocationBatchJobStatusInProgress"; + case DBFILESRelocationBatchJobStatusComplete: + return @"DBFILESRelocationBatchJobStatusComplete"; + case DBFILESRelocationBatchJobStatusFailed: + return @"DBFILESRelocationBatchJobStatusFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -5240,18 +19946,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetTemporaryLinkErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetTemporaryLinkErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetTemporaryLinkErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5269,10 +19975,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESGetTemporaryLinkErrorPath: - result = prime * result + [self.path hash]; - case DBFILESGetTemporaryLinkErrorOther: + case DBFILESRelocationBatchJobStatusInProgress: result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESRelocationBatchJobStatusFailed: + result = prime * result + [self.failed hash]; + break; } return prime * result; @@ -5287,21 +19998,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTemporaryLinkError:other]; + return [self isEqualToRelocationBatchJobStatus:other]; } -- (BOOL)isEqualToGetTemporaryLinkError:(DBFILESGetTemporaryLinkError *)aGetTemporaryLinkError { - if (self == aGetTemporaryLinkError) { +- (BOOL)isEqualToRelocationBatchJobStatus:(DBFILESRelocationBatchJobStatus *)aRelocationBatchJobStatus { + if (self == aRelocationBatchJobStatus) { return YES; } - if (self.tag != aGetTemporaryLinkError.tag) { + if (self.tag != aRelocationBatchJobStatus.tag) { return NO; } switch (_tag) { - case DBFILESGetTemporaryLinkErrorPath: - return [self.path isEqual:aGetTemporaryLinkError.path]; - case DBFILESGetTemporaryLinkErrorOther: - return [[self tagName] isEqual:[aGetTemporaryLinkError tagName]]; + case DBFILESRelocationBatchJobStatusInProgress: + return [[self tagName] isEqual:[aRelocationBatchJobStatus tagName]]; + case DBFILESRelocationBatchJobStatusComplete: + return [self.complete isEqual:aRelocationBatchJobStatus.complete]; + case DBFILESRelocationBatchJobStatusFailed: + return [self.failed isEqual:aRelocationBatchJobStatus.failed]; } return YES; } @@ -5310,75 +20023,149 @@ - (BOOL)isEqualToGetTemporaryLinkError:(DBFILESGetTemporaryLinkError *)aGetTempo #pragma mark - Serializer Object -@implementation DBFILESGetTemporaryLinkErrorSerializer +@implementation DBFILESRelocationBatchJobStatusSerializer -+ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESRelocationBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBFILESRelocationBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESGetTemporaryLinkError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESGetTemporaryLinkError alloc] initWithOther]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESRelocationBatchJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESRelocationBatchResult *complete = [DBFILESRelocationBatchResultSerializer deserialize:valueDict]; + return [[DBFILESRelocationBatchJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + DBFILESRelocationBatchError *failed = [DBFILESRelocationBatchErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBFILESRelocationBatchJobStatus alloc] initWithFailed:failed]; } else { - return [[DBFILESGetTemporaryLinkError alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end -#import "DBFILESFileMetadata.h" -#import "DBFILESGetTemporaryLinkResult.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBFILESRelocationBatchLaunch.h" +#import "DBFILESRelocationBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetTemporaryLinkResult +@implementation DBFILESRelocationBatchLaunch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata link:(NSString *)link { - [DBStoneValidators nonnullValidator:nil](metadata); - [DBStoneValidators nonnullValidator:nil](link); +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchLaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} +- (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { self = [super init]; if (self) { - _metadata = metadata; - _link = link; + _tag = DBFILESRelocationBatchLaunchComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchLaunchOther; } return self; } +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchLaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (DBFILESRelocationBatchResult *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchLaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBFILESRelocationBatchLaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBFILESRelocationBatchLaunchComplete; +} + +- (BOOL)isOther { + return _tag == DBFILESRelocationBatchLaunchOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationBatchLaunchAsyncJobId: + return @"DBFILESRelocationBatchLaunchAsyncJobId"; + case DBFILESRelocationBatchLaunchComplete: + return @"DBFILESRelocationBatchLaunchComplete"; + case DBFILESRelocationBatchLaunchOther: + return @"DBFILESRelocationBatchLaunchOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetTemporaryLinkResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchLaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetTemporaryLinkResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchLaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetTemporaryLinkResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5395,8 +20182,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; - result = prime * result + [self.link hash]; + switch (_tag) { + case DBFILESRelocationBatchLaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBFILESRelocationBatchLaunchComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESRelocationBatchLaunchOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -5410,18 +20206,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTemporaryLinkResult:other]; + return [self isEqualToRelocationBatchLaunch:other]; } -- (BOOL)isEqualToGetTemporaryLinkResult:(DBFILESGetTemporaryLinkResult *)aGetTemporaryLinkResult { - if (self == aGetTemporaryLinkResult) { +- (BOOL)isEqualToRelocationBatchLaunch:(DBFILESRelocationBatchLaunch *)aRelocationBatchLaunch { + if (self == aRelocationBatchLaunch) { return YES; } - if (![self.metadata isEqual:aGetTemporaryLinkResult.metadata]) { + if (self.tag != aRelocationBatchLaunch.tag) { return NO; } - if (![self.link isEqual:aGetTemporaryLinkResult.link]) { - return NO; + switch (_tag) { + case DBFILESRelocationBatchLaunchAsyncJobId: + return [self.asyncJobId isEqual:aRelocationBatchLaunch.asyncJobId]; + case DBFILESRelocationBatchLaunchComplete: + return [self.complete isEqual:aRelocationBatchLaunch.complete]; + case DBFILESRelocationBatchLaunchOther: + return [[self tagName] isEqual:[aRelocationBatchLaunch tagName]]; } return YES; } @@ -5430,44 +20231,63 @@ - (BOOL)isEqualToGetTemporaryLinkResult:(DBFILESGetTemporaryLinkResult *)aGetTem #pragma mark - Serializer Object -@implementation DBFILESGetTemporaryLinkResultSerializer +@implementation DBFILESRelocationBatchLaunchSerializer -+ (NSDictionary *)serialize:(DBFILESGetTemporaryLinkResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; - jsonDict[@"link"] = valueObj.link; + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESRelocationBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)valueDict { - DBFILESFileMetadata *metadata = [DBFILESFileMetadataSerializer deserialize:valueDict[@"metadata"]]; - NSString *link = valueDict[@"link"]; ++ (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESGetTemporaryLinkResult alloc] initWithMetadata:metadata link:link]; + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBFILESRelocationBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESRelocationBatchResult *complete = [DBFILESRelocationBatchResultSerializer deserialize:valueDict]; + return [[DBFILESRelocationBatchLaunch alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESRelocationBatchLaunch alloc] initWithOther]; + } else { + return [[DBFILESRelocationBatchLaunch alloc] initWithOther]; + } } @end - -#import "DBFILESGetThumbnailBatchArg.h" -#import "DBFILESThumbnailArg.h" + +#import "DBFILESFileOpsResult.h" +#import "DBFILESRelocationBatchResult.h" +#import "DBFILESRelocationBatchResultData.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetThumbnailBatchArg +@implementation DBFILESRelocationBatchResult #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { +- (instancetype)initWithEntries:(NSArray *)entries { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); - self = [super init]; + self = [super initDefault]; if (self) { _entries = entries; } @@ -5476,18 +20296,18 @@ - (instancetype)initWithEntries:(NSArray *)entries { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetThumbnailBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetThumbnailBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetThumbnailBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5518,14 +20338,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetThumbnailBatchArg:other]; + return [self isEqualToRelocationBatchResult:other]; } -- (BOOL)isEqualToGetThumbnailBatchArg:(DBFILESGetThumbnailBatchArg *)aGetThumbnailBatchArg { - if (self == aGetThumbnailBatchArg) { +- (BOOL)isEqualToRelocationBatchResult:(DBFILESRelocationBatchResult *)aRelocationBatchResult { + if (self == aRelocationBatchResult) { return YES; } - if (![self.entries isEqual:aGetThumbnailBatchArg.entries]) { + if (![self.entries isEqual:aRelocationBatchResult.entries]) { return NO; } return YES; @@ -5535,94 +20355,66 @@ - (BOOL)isEqualToGetThumbnailBatchArg:(DBFILESGetThumbnailBatchArg *)aGetThumbna #pragma mark - Serializer Object -@implementation DBFILESGetThumbnailBatchArgSerializer +@implementation DBFILESRelocationBatchResultSerializer -+ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries withBlock:^id(id elem0) { - return [DBFILESThumbnailArgSerializer serialize:elem0]; + return [DBFILESRelocationBatchResultDataSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = ++ (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { - return [DBFILESThumbnailArgSerializer deserialize:elem0]; + return [DBFILESRelocationBatchResultDataSerializer deserialize:elem0]; }]; - return [[DBFILESGetThumbnailBatchArg alloc] initWithEntries:entries]; + return [[DBFILESRelocationBatchResult alloc] initWithEntries:entries]; } @end -#import "DBFILESGetThumbnailBatchError.h" +#import "DBFILESMetadata.h" +#import "DBFILESRelocationBatchResultData.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetThumbnailBatchError +@implementation DBFILESRelocationBatchResultData #pragma mark - Constructors -- (instancetype)initWithTooManyFiles { - self = [super init]; - if (self) { - _tag = DBFILESGetThumbnailBatchErrorTooManyFiles; - } - return self; -} +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESGetThumbnailBatchErrorOther; + _metadata = metadata; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isTooManyFiles { - return _tag == DBFILESGetThumbnailBatchErrorTooManyFiles; -} - -- (BOOL)isOther { - return _tag == DBFILESGetThumbnailBatchErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESGetThumbnailBatchErrorTooManyFiles: - return @"DBFILESGetThumbnailBatchErrorTooManyFiles"; - case DBFILESGetThumbnailBatchErrorOther: - return @"DBFILESGetThumbnailBatchErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetThumbnailBatchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchResultDataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetThumbnailBatchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchResultDataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetThumbnailBatchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchResultDataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5639,12 +20431,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESGetThumbnailBatchErrorTooManyFiles: - result = prime * result + [[self tagName] hash]; - case DBFILESGetThumbnailBatchErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.metadata hash]; return prime * result; } @@ -5658,22 +20445,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetThumbnailBatchError:other]; + return [self isEqualToRelocationBatchResultData:other]; } -- (BOOL)isEqualToGetThumbnailBatchError:(DBFILESGetThumbnailBatchError *)aGetThumbnailBatchError { - if (self == aGetThumbnailBatchError) { +- (BOOL)isEqualToRelocationBatchResultData:(DBFILESRelocationBatchResultData *)aRelocationBatchResultData { + if (self == aRelocationBatchResultData) { return YES; } - if (self.tag != aGetThumbnailBatchError.tag) { + if (![self.metadata isEqual:aRelocationBatchResultData.metadata]) { return NO; } - switch (_tag) { - case DBFILESGetThumbnailBatchErrorTooManyFiles: - return [[self tagName] isEqual:[aGetThumbnailBatchError tagName]]; - case DBFILESGetThumbnailBatchErrorOther: - return [[self tagName] isEqual:[aGetThumbnailBatchError tagName]]; - } return YES; } @@ -5681,183 +20462,124 @@ - (BOOL)isEqualToGetThumbnailBatchError:(DBFILESGetThumbnailBatchError *)aGetThu #pragma mark - Serializer Object -@implementation DBFILESGetThumbnailBatchErrorSerializer +@implementation DBFILESRelocationBatchResultDataSerializer -+ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTooManyFiles]) { - jsonDict[@".tag"] = @"too_many_files"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - if ([tag isEqualToString:@"too_many_files"]) { - return [[DBFILESGetThumbnailBatchError alloc] initWithTooManyFiles]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESGetThumbnailBatchError alloc] initWithOther]; - } else { - return [[DBFILESGetThumbnailBatchError alloc] initWithOther]; - } + return [[DBFILESRelocationBatchResultData alloc] initWithMetadata:metadata]; } @end -#import "DBFILESGetThumbnailBatchResult.h" -#import "DBFILESGetThumbnailBatchResultEntry.h" +#import "DBFILESMetadata.h" +#import "DBFILESRelocationBatchErrorEntry.h" +#import "DBFILESRelocationBatchResultEntry.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetThumbnailBatchResult +@implementation DBFILESRelocationBatchResultEntry -#pragma mark - Constructors +@synthesize success = _success; +@synthesize failure = _failure; -- (instancetype)initWithEntries:(NSArray *)entries { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +#pragma mark - Constructors +- (instancetype)initWithSuccess:(DBFILESMetadata *)success { self = [super init]; if (self) { - _entries = entries; + _tag = DBFILESRelocationBatchResultEntrySuccess; + _success = success; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetThumbnailBatchResultSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetThumbnailBatchResultSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESGetThumbnailBatchResultSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithFailure:(DBFILESRelocationBatchErrorEntry *)failure { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchResultEntryFailure; + _failure = failure; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.entries hash]; - - return prime * result; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchResultEntryOther; + } + return self; } -#pragma mark - Equality method +#pragma mark - Instance field accessors -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (DBFILESMetadata *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchResultEntrySuccess, but was %@.", [self tagName]]; } - return [self isEqualToGetThumbnailBatchResult:other]; + return _success; } -- (BOOL)isEqualToGetThumbnailBatchResult:(DBFILESGetThumbnailBatchResult *)aGetThumbnailBatchResult { - if (self == aGetThumbnailBatchResult) { - return YES; - } - if (![self.entries isEqual:aGetThumbnailBatchResult.entries]) { - return NO; +- (DBFILESRelocationBatchErrorEntry *)failure { + if (![self isFailure]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchResultEntryFailure, but was %@.", [self tagName]]; } - return YES; + return _failure; } -@end - -#pragma mark - Serializer Object - -@implementation DBFILESGetThumbnailBatchResultSerializer - -+ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResult *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESGetThumbnailBatchResultEntrySerializer serialize:elem0]; - }]; +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isSuccess { + return _tag == DBFILESRelocationBatchResultEntrySuccess; } -+ (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESGetThumbnailBatchResultEntrySerializer deserialize:elem0]; - }]; - - return [[DBFILESGetThumbnailBatchResult alloc] initWithEntries:entries]; +- (BOOL)isFailure { + return _tag == DBFILESRelocationBatchResultEntryFailure; } -@end - -#import "DBFILESFileMetadata.h" -#import "DBFILESGetThumbnailBatchResultData.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESGetThumbnailBatchResultData - -#pragma mark - Constructors - -- (instancetype)initWithMetadata:(DBFILESFileMetadata *)metadata thumbnail:(NSString *)thumbnail { - [DBStoneValidators nonnullValidator:nil](metadata); - [DBStoneValidators nonnullValidator:nil](thumbnail); +- (BOOL)isOther { + return _tag == DBFILESRelocationBatchResultEntryOther; +} - self = [super init]; - if (self) { - _metadata = metadata; - _thumbnail = thumbnail; +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationBatchResultEntrySuccess: + return @"DBFILESRelocationBatchResultEntrySuccess"; + case DBFILESRelocationBatchResultEntryFailure: + return @"DBFILESRelocationBatchResultEntryFailure"; + case DBFILESRelocationBatchResultEntryOther: + return @"DBFILESRelocationBatchResultEntryOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetThumbnailBatchResultDataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchResultEntrySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetThumbnailBatchResultDataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchResultEntrySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetThumbnailBatchResultDataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5874,8 +20596,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; - result = prime * result + [self.thumbnail hash]; + switch (_tag) { + case DBFILESRelocationBatchResultEntrySuccess: + result = prime * result + [self.success hash]; + break; + case DBFILESRelocationBatchResultEntryFailure: + result = prime * result + [self.failure hash]; + break; + case DBFILESRelocationBatchResultEntryOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -5889,18 +20620,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetThumbnailBatchResultData:other]; + return [self isEqualToRelocationBatchResultEntry:other]; } - -- (BOOL)isEqualToGetThumbnailBatchResultData:(DBFILESGetThumbnailBatchResultData *)aGetThumbnailBatchResultData { - if (self == aGetThumbnailBatchResultData) { + +- (BOOL)isEqualToRelocationBatchResultEntry:(DBFILESRelocationBatchResultEntry *)aRelocationBatchResultEntry { + if (self == aRelocationBatchResultEntry) { return YES; } - if (![self.metadata isEqual:aGetThumbnailBatchResultData.metadata]) { + if (self.tag != aRelocationBatchResultEntry.tag) { return NO; } - if (![self.thumbnail isEqual:aGetThumbnailBatchResultData.thumbnail]) { - return NO; + switch (_tag) { + case DBFILESRelocationBatchResultEntrySuccess: + return [self.success isEqual:aRelocationBatchResultEntry.success]; + case DBFILESRelocationBatchResultEntryFailure: + return [self.failure isEqual:aRelocationBatchResultEntry.failure]; + case DBFILESRelocationBatchResultEntryOther: + return [[self tagName] isEqual:[aRelocationBatchResultEntry tagName]]; } return YES; } @@ -5909,109 +20645,102 @@ - (BOOL)isEqualToGetThumbnailBatchResultData:(DBFILESGetThumbnailBatchResultData #pragma mark - Serializer Object -@implementation DBFILESGetThumbnailBatchResultDataSerializer +@implementation DBFILESRelocationBatchResultEntrySerializer -+ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultData *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESFileMetadataSerializer serialize:valueObj.metadata]; - jsonDict[@"thumbnail"] = valueObj.thumbnail; + if ([valueObj isSuccess]) { + jsonDict[@"success"] = [[DBFILESMetadataSerializer serialize:valueObj.success] mutableCopy]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isFailure]) { + jsonDict[@"failure"] = [[DBFILESRelocationBatchErrorEntrySerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@".tag"] = @"failure"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)valueDict { - DBFILESFileMetadata *metadata = [DBFILESFileMetadataSerializer deserialize:valueDict[@"metadata"]]; - NSString *thumbnail = valueDict[@"thumbnail"]; ++ (DBFILESRelocationBatchResultEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESGetThumbnailBatchResultData alloc] initWithMetadata:metadata thumbnail:thumbnail]; + if ([tag isEqualToString:@"success"]) { + DBFILESMetadata *success = [DBFILESMetadataSerializer deserialize:valueDict[@"success"]]; + return [[DBFILESRelocationBatchResultEntry alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"failure"]) { + DBFILESRelocationBatchErrorEntry *failure = + [DBFILESRelocationBatchErrorEntrySerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESRelocationBatchResultEntry alloc] initWithFailure:failure]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESRelocationBatchResultEntry alloc] initWithOther]; + } else { + return [[DBFILESRelocationBatchResultEntry alloc] initWithOther]; + } } @end -#import "DBFILESGetThumbnailBatchResultData.h" -#import "DBFILESGetThumbnailBatchResultEntry.h" -#import "DBFILESThumbnailError.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILESRelocationBatchV2JobStatus.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGetThumbnailBatchResultEntry +@implementation DBFILESRelocationBatchV2JobStatus -@synthesize success = _success; -@synthesize failure = _failure; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithSuccess:(DBFILESGetThumbnailBatchResultData *)success { - self = [super init]; - if (self) { - _tag = DBFILESGetThumbnailBatchResultEntrySuccess; - _success = success; - } - return self; -} - -- (instancetype)initWithFailure:(DBFILESThumbnailError *)failure { +- (instancetype)initWithInProgress { self = [super init]; if (self) { - _tag = DBFILESGetThumbnailBatchResultEntryFailure; - _failure = failure; + _tag = DBFILESRelocationBatchV2JobStatusInProgress; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete { self = [super init]; if (self) { - _tag = DBFILESGetThumbnailBatchResultEntryOther; + _tag = DBFILESRelocationBatchV2JobStatusComplete; + _complete = complete; } return self; } #pragma mark - Instance field accessors -- (DBFILESGetThumbnailBatchResultData *)success { - if (![self isSuccess]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESGetThumbnailBatchResultEntrySuccess, but was %@.", [self tagName]]; - } - return _success; -} - -- (DBFILESThumbnailError *)failure { - if (![self isFailure]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESGetThumbnailBatchResultEntryFailure, but was %@.", [self tagName]]; +- (DBFILESRelocationBatchV2Result *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchV2JobStatusComplete, but was %@.", [self tagName]]; } - return _failure; + return _complete; } #pragma mark - Tag state methods -- (BOOL)isSuccess { - return _tag == DBFILESGetThumbnailBatchResultEntrySuccess; -} - -- (BOOL)isFailure { - return _tag == DBFILESGetThumbnailBatchResultEntryFailure; +- (BOOL)isInProgress { + return _tag == DBFILESRelocationBatchV2JobStatusInProgress; } -- (BOOL)isOther { - return _tag == DBFILESGetThumbnailBatchResultEntryOther; +- (BOOL)isComplete { + return _tag == DBFILESRelocationBatchV2JobStatusComplete; } - (NSString *)tagName { switch (_tag) { - case DBFILESGetThumbnailBatchResultEntrySuccess: - return @"DBFILESGetThumbnailBatchResultEntrySuccess"; - case DBFILESGetThumbnailBatchResultEntryFailure: - return @"DBFILESGetThumbnailBatchResultEntryFailure"; - case DBFILESGetThumbnailBatchResultEntryOther: - return @"DBFILESGetThumbnailBatchResultEntryOther"; + case DBFILESRelocationBatchV2JobStatusInProgress: + return @"DBFILESRelocationBatchV2JobStatusInProgress"; + case DBFILESRelocationBatchV2JobStatusComplete: + return @"DBFILESRelocationBatchV2JobStatusComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -6019,18 +20748,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGetThumbnailBatchResultEntrySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchV2JobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGetThumbnailBatchResultEntrySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchV2JobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGetThumbnailBatchResultEntrySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchV2JobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6048,12 +20777,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESGetThumbnailBatchResultEntrySuccess: - result = prime * result + [self.success hash]; - case DBFILESGetThumbnailBatchResultEntryFailure: - result = prime * result + [self.failure hash]; - case DBFILESGetThumbnailBatchResultEntryOther: + case DBFILESRelocationBatchV2JobStatusInProgress: result = prime * result + [[self tagName] hash]; + break; + case DBFILESRelocationBatchV2JobStatusComplete: + result = prime * result + [self.complete hash]; + break; } return prime * result; @@ -6068,23 +20797,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetThumbnailBatchResultEntry:other]; + return [self isEqualToRelocationBatchV2JobStatus:other]; } -- (BOOL)isEqualToGetThumbnailBatchResultEntry:(DBFILESGetThumbnailBatchResultEntry *)aGetThumbnailBatchResultEntry { - if (self == aGetThumbnailBatchResultEntry) { +- (BOOL)isEqualToRelocationBatchV2JobStatus:(DBFILESRelocationBatchV2JobStatus *)aRelocationBatchV2JobStatus { + if (self == aRelocationBatchV2JobStatus) { return YES; } - if (self.tag != aGetThumbnailBatchResultEntry.tag) { + if (self.tag != aRelocationBatchV2JobStatus.tag) { return NO; } switch (_tag) { - case DBFILESGetThumbnailBatchResultEntrySuccess: - return [self.success isEqual:aGetThumbnailBatchResultEntry.success]; - case DBFILESGetThumbnailBatchResultEntryFailure: - return [self.failure isEqual:aGetThumbnailBatchResultEntry.failure]; - case DBFILESGetThumbnailBatchResultEntryOther: - return [[self tagName] isEqual:[aGetThumbnailBatchResultEntry tagName]]; + case DBFILESRelocationBatchV2JobStatusInProgress: + return [[self tagName] isEqual:[aRelocationBatchV2JobStatus tagName]]; + case DBFILESRelocationBatchV2JobStatusComplete: + return [self.complete isEqual:aRelocationBatchV2JobStatus.complete]; } return YES; } @@ -6093,80 +20820,129 @@ - (BOOL)isEqualToGetThumbnailBatchResultEntry:(DBFILESGetThumbnailBatchResultEnt #pragma mark - Serializer Object -@implementation DBFILESGetThumbnailBatchResultEntrySerializer +@implementation DBFILESRelocationBatchV2JobStatusSerializer -+ (NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultEntry *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchV2JobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBFILESGetThumbnailBatchResultDataSerializer serialize:valueObj.success] mutableCopy]; - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isFailure]) { - jsonDict[@"failure"] = [[DBFILESThumbnailErrorSerializer serialize:valueObj.failure] mutableCopy]; - jsonDict[@".tag"] = @"failure"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESRelocationBatchV2ResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESRelocationBatchV2JobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"success"]) { - DBFILESGetThumbnailBatchResultData *success = [DBFILESGetThumbnailBatchResultDataSerializer deserialize:valueDict]; - return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"failure"]) { - DBFILESThumbnailError *failure = [DBFILESThumbnailErrorSerializer deserialize:valueDict[@"failure"]]; - return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithFailure:failure]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithOther]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESRelocationBatchV2JobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESRelocationBatchV2Result *complete = [DBFILESRelocationBatchV2ResultSerializer deserialize:valueDict]; + return [[DBFILESRelocationBatchV2JobStatus alloc] initWithComplete:complete]; } else { - return [[DBFILESGetThumbnailBatchResultEntry alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end -#import "DBFILESGpsCoordinates.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBFILESRelocationBatchV2Launch.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESGpsCoordinates +@implementation DBFILESRelocationBatchV2Launch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithLatitude:(NSNumber *)latitude longitude:(NSNumber *)longitude { - [DBStoneValidators nonnullValidator:nil](latitude); - [DBStoneValidators nonnullValidator:nil](longitude); +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBFILESRelocationBatchV2LaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} +- (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete { self = [super init]; if (self) { - _latitude = latitude; - _longitude = longitude; + _tag = DBFILESRelocationBatchV2LaunchComplete; + _complete = complete; } return self; } +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchV2LaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (DBFILESRelocationBatchV2Result *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRelocationBatchV2LaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBFILESRelocationBatchV2LaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBFILESRelocationBatchV2LaunchComplete; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESRelocationBatchV2LaunchAsyncJobId: + return @"DBFILESRelocationBatchV2LaunchAsyncJobId"; + case DBFILESRelocationBatchV2LaunchComplete: + return @"DBFILESRelocationBatchV2LaunchComplete"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESGpsCoordinatesSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchV2LaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESGpsCoordinatesSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchV2LaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESGpsCoordinatesSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchV2LaunchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6183,8 +20959,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.latitude hash]; - result = prime * result + [self.longitude hash]; + switch (_tag) { + case DBFILESRelocationBatchV2LaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBFILESRelocationBatchV2LaunchComplete: + result = prime * result + [self.complete hash]; + break; + } return prime * result; } @@ -6198,18 +20980,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGpsCoordinates:other]; + return [self isEqualToRelocationBatchV2Launch:other]; } -- (BOOL)isEqualToGpsCoordinates:(DBFILESGpsCoordinates *)aGpsCoordinates { - if (self == aGpsCoordinates) { +- (BOOL)isEqualToRelocationBatchV2Launch:(DBFILESRelocationBatchV2Launch *)aRelocationBatchV2Launch { + if (self == aRelocationBatchV2Launch) { return YES; } - if (![self.latitude isEqual:aGpsCoordinates.latitude]) { + if (self.tag != aRelocationBatchV2Launch.tag) { return NO; } - if (![self.longitude isEqual:aGpsCoordinates.longitude]) { - return NO; + switch (_tag) { + case DBFILESRelocationBatchV2LaunchAsyncJobId: + return [self.asyncJobId isEqual:aRelocationBatchV2Launch.asyncJobId]; + case DBFILESRelocationBatchV2LaunchComplete: + return [self.complete isEqual:aRelocationBatchV2Launch.complete]; } return YES; } @@ -6218,94 +21003,84 @@ - (BOOL)isEqualToGpsCoordinates:(DBFILESGpsCoordinates *)aGpsCoordinates { #pragma mark - Serializer Object -@implementation DBFILESGpsCoordinatesSerializer +@implementation DBFILESRelocationBatchV2LaunchSerializer -+ (NSDictionary *)serialize:(DBFILESGpsCoordinates *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchV2Launch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"latitude"] = valueObj.latitude; - jsonDict[@"longitude"] = valueObj.longitude; + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESRelocationBatchV2ResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)valueDict { - NSNumber *latitude = valueDict[@"latitude"]; - NSNumber *longitude = valueDict[@"longitude"]; ++ (DBFILESRelocationBatchV2Launch *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESGpsCoordinates alloc] initWithLatitude:latitude longitude:longitude]; + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBFILESRelocationBatchV2Launch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESRelocationBatchV2Result *complete = [DBFILESRelocationBatchV2ResultSerializer deserialize:valueDict]; + return [[DBFILESRelocationBatchV2Launch alloc] initWithComplete:complete]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILEPROPERTIESTemplateFilterBase.h" -#import "DBFILESListFolderArg.h" -#import "DBFILESSharedLink.h" +#import "DBFILESFileOpsResult.h" +#import "DBFILESRelocationBatchResultEntry.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderArg +@implementation DBFILESRelocationBatchV2Result #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - recursive:(NSNumber *)recursive - includeMediaInfo:(NSNumber *)includeMediaInfo - includeDeleted:(NSNumber *)includeDeleted - includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers - includeMountedFolders:(NSNumber *)includeMountedFolders - limit:(NSNumber *)limit - sharedLink:(DBFILESSharedLink *)sharedLink - includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)"]](path); - [DBStoneValidators nullableValidator:[DBStoneValidators numericValidator:@(1) maxValue:@(2000)]](limit); - - self = [super init]; - if (self) { - _path = path; - _recursive = recursive ?: @NO; - _includeMediaInfo = includeMediaInfo ?: @NO; - _includeDeleted = includeDeleted ?: @NO; - _includeHasExplicitSharedMembers = includeHasExplicitSharedMembers ?: @NO; - _includeMountedFolders = includeMountedFolders ?: @YES; - _limit = limit; - _sharedLink = sharedLink; - _includePropertyGroups = includePropertyGroups; +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + + self = [super initDefault]; + if (self) { + _entries = entries; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path - recursive:nil - includeMediaInfo:nil - includeDeleted:nil - includeHasExplicitSharedMembers:nil - includeMountedFolders:nil - limit:nil - sharedLink:nil - includePropertyGroups:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationBatchV2ResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationBatchV2ResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationBatchV2ResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6322,21 +21097,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.recursive hash]; - result = prime * result + [self.includeMediaInfo hash]; - result = prime * result + [self.includeDeleted hash]; - result = prime * result + [self.includeHasExplicitSharedMembers hash]; - result = prime * result + [self.includeMountedFolders hash]; - if (self.limit != nil) { - result = prime * result + [self.limit hash]; - } - if (self.sharedLink != nil) { - result = prime * result + [self.sharedLink hash]; - } - if (self.includePropertyGroups != nil) { - result = prime * result + [self.includePropertyGroups hash]; - } + result = prime * result + [self.entries hash]; return prime * result; } @@ -6350,46 +21111,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderArg:other]; + return [self isEqualToRelocationBatchV2Result:other]; } -- (BOOL)isEqualToListFolderArg:(DBFILESListFolderArg *)aListFolderArg { - if (self == aListFolderArg) { +- (BOOL)isEqualToRelocationBatchV2Result:(DBFILESRelocationBatchV2Result *)aRelocationBatchV2Result { + if (self == aRelocationBatchV2Result) { return YES; } - if (![self.path isEqual:aListFolderArg.path]) { - return NO; - } - if (![self.recursive isEqual:aListFolderArg.recursive]) { - return NO; - } - if (![self.includeMediaInfo isEqual:aListFolderArg.includeMediaInfo]) { - return NO; - } - if (![self.includeDeleted isEqual:aListFolderArg.includeDeleted]) { - return NO; - } - if (![self.includeHasExplicitSharedMembers isEqual:aListFolderArg.includeHasExplicitSharedMembers]) { - return NO; - } - if (![self.includeMountedFolders isEqual:aListFolderArg.includeMountedFolders]) { + if (![self.entries isEqual:aRelocationBatchV2Result.entries]) { return NO; } - if (self.limit) { - if (![self.limit isEqual:aListFolderArg.limit]) { - return NO; - } - } - if (self.sharedLink) { - if (![self.sharedLink isEqual:aListFolderArg.sharedLink]) { - return NO; - } - } - if (self.includePropertyGroups) { - if (![self.includePropertyGroups isEqual:aListFolderArg.includePropertyGroups]) { - return NO; - } - } return YES; } @@ -6397,93 +21128,67 @@ - (BOOL)isEqualToListFolderArg:(DBFILESListFolderArg *)aListFolderArg { #pragma mark - Serializer Object -@implementation DBFILESListFolderArgSerializer +@implementation DBFILESRelocationBatchV2ResultSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationBatchV2Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"recursive"] = valueObj.recursive; - jsonDict[@"include_media_info"] = valueObj.includeMediaInfo; - jsonDict[@"include_deleted"] = valueObj.includeDeleted; - jsonDict[@"include_has_explicit_shared_members"] = valueObj.includeHasExplicitSharedMembers; - jsonDict[@"include_mounted_folders"] = valueObj.includeMountedFolders; - if (valueObj.limit) { - jsonDict[@"limit"] = valueObj.limit; - } - if (valueObj.sharedLink) { - jsonDict[@"shared_link"] = [DBFILESSharedLinkSerializer serialize:valueObj.sharedLink]; - } - if (valueObj.includePropertyGroups) { - jsonDict[@"include_property_groups"] = - [DBFILEPROPERTIESTemplateFilterBaseSerializer serialize:valueObj.includePropertyGroups]; - } + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESRelocationBatchResultEntrySerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSNumber *recursive = valueDict[@"recursive"] ?: @NO; - NSNumber *includeMediaInfo = valueDict[@"include_media_info"] ?: @NO; - NSNumber *includeDeleted = valueDict[@"include_deleted"] ?: @NO; - NSNumber *includeHasExplicitSharedMembers = valueDict[@"include_has_explicit_shared_members"] ?: @NO; - NSNumber *includeMountedFolders = valueDict[@"include_mounted_folders"] ?: @YES; - NSNumber *limit = valueDict[@"limit"] ?: nil; - DBFILESSharedLink *sharedLink = - valueDict[@"shared_link"] ? [DBFILESSharedLinkSerializer deserialize:valueDict[@"shared_link"]] : nil; - DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups = - valueDict[@"include_property_groups"] - ? [DBFILEPROPERTIESTemplateFilterBaseSerializer deserialize:valueDict[@"include_property_groups"]] - : nil; ++ (DBFILESRelocationBatchV2Result *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESRelocationBatchResultEntrySerializer deserialize:elem0]; + }]; - return [[DBFILESListFolderArg alloc] initWithPath:path - recursive:recursive - includeMediaInfo:includeMediaInfo - includeDeleted:includeDeleted - includeHasExplicitSharedMembers:includeHasExplicitSharedMembers - includeMountedFolders:includeMountedFolders - limit:limit - sharedLink:sharedLink - includePropertyGroups:includePropertyGroups]; + return [[DBFILESRelocationBatchV2Result alloc] initWithEntries:entries]; } @end -#import "DBFILESListFolderContinueArg.h" +#import "DBFILESFileOpsResult.h" +#import "DBFILESMetadata.h" +#import "DBFILESRelocationResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderContinueArg +@implementation DBFILESRelocationResult #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); - self = [super init]; + self = [super initDefault]; if (self) { - _cursor = cursor; + _metadata = metadata; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderContinueArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRelocationResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderContinueArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRelocationResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderContinueArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRelocationResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6500,7 +21205,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.metadata hash]; return prime * result; } @@ -6514,14 +21219,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderContinueArg:other]; + return [self isEqualToRelocationResult:other]; } -- (BOOL)isEqualToListFolderContinueArg:(DBFILESListFolderContinueArg *)aListFolderContinueArg { - if (self == aListFolderContinueArg) { +- (BOOL)isEqualToRelocationResult:(DBFILESRelocationResult *)aRelocationResult { + if (self == aRelocationResult) { return YES; } - if (![self.cursor isEqual:aListFolderContinueArg.cursor]) { + if (![self.metadata isEqual:aRelocationResult.metadata]) { return NO; } return YES; @@ -6531,113 +21236,62 @@ - (BOOL)isEqualToListFolderContinueArg:(DBFILESListFolderContinueArg *)aListFold #pragma mark - Serializer Object -@implementation DBFILESListFolderContinueArgSerializer +@implementation DBFILESRelocationResultSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRelocationResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBFILESRelocationResult *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESListFolderContinueArg alloc] initWithCursor:cursor]; + return [[DBFILESRelocationResult alloc] initWithMetadata:metadata]; } @end -#import "DBFILESListFolderContinueError.h" -#import "DBFILESLookupError.h" +#import "DBFILESRemoveTagArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderContinueError - -@synthesize path = _path; +@implementation DBFILESRemoveTagArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBFILESListFolderContinueErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithReset { - self = [super init]; - if (self) { - _tag = DBFILESListFolderContinueErrorReset; - } - return self; -} +- (instancetype)initWithPath:(NSString *)path tagText:(NSString *)tagText { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:@(32) pattern:@"[\\w]+"]](tagText); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESListFolderContinueErrorOther; + _path = path; + _tagText = tagText; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESListFolderContinueErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESListFolderContinueErrorPath; -} - -- (BOOL)isReset { - return _tag == DBFILESListFolderContinueErrorReset; -} - -- (BOOL)isOther { - return _tag == DBFILESListFolderContinueErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESListFolderContinueErrorPath: - return @"DBFILESListFolderContinueErrorPath"; - case DBFILESListFolderContinueErrorReset: - return @"DBFILESListFolderContinueErrorReset"; - case DBFILESListFolderContinueErrorOther: - return @"DBFILESListFolderContinueErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderContinueErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRemoveTagArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderContinueErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRemoveTagArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderContinueErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRemoveTagArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6654,14 +21308,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESListFolderContinueErrorPath: - result = prime * result + [self.path hash]; - case DBFILESListFolderContinueErrorReset: - result = prime * result + [[self tagName] hash]; - case DBFILESListFolderContinueErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.path hash]; + result = prime * result + [self.tagText hash]; return prime * result; } @@ -6675,23 +21323,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderContinueError:other]; + return [self isEqualToRemoveTagArg:other]; } -- (BOOL)isEqualToListFolderContinueError:(DBFILESListFolderContinueError *)aListFolderContinueError { - if (self == aListFolderContinueError) { +- (BOOL)isEqualToRemoveTagArg:(DBFILESRemoveTagArg *)aRemoveTagArg { + if (self == aRemoveTagArg) { return YES; } - if (self.tag != aListFolderContinueError.tag) { + if (![self.path isEqual:aRemoveTagArg.path]) { return NO; } - switch (_tag) { - case DBFILESListFolderContinueErrorPath: - return [self.path isEqual:aListFolderContinueError.path]; - case DBFILESListFolderContinueErrorReset: - return [[self tagName] isEqual:[aListFolderContinueError tagName]]; - case DBFILESListFolderContinueErrorOther: - return [[self tagName] isEqual:[aListFolderContinueError tagName]]; + if (![self.tagText isEqual:aRemoveTagArg.tagText]) { + return NO; } return YES; } @@ -6700,50 +21343,35 @@ - (BOOL)isEqualToListFolderContinueError:(DBFILESListFolderContinueError *)aList #pragma mark - Serializer Object -@implementation DBFILESListFolderContinueErrorSerializer - -+ (NSDictionary *)serialize:(DBFILESListFolderContinueError *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +@implementation DBFILESRemoveTagArgSerializer - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isReset]) { - jsonDict[@".tag"] = @"reset"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } ++ (NSDictionary *)serialize:(DBFILESRemoveTagArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = valueObj.path; + jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESRemoveTagArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *tagText = valueDict[@"tag_text"]; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESListFolderContinueError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"reset"]) { - return [[DBFILESListFolderContinueError alloc] initWithReset]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESListFolderContinueError alloc] initWithOther]; - } else { - return [[DBFILESListFolderContinueError alloc] initWithOther]; - } + return [[DBFILESRemoveTagArg alloc] initWithPath:path tagText:tagText]; } @end -#import "DBFILESListFolderError.h" +#import "DBFILESBaseTagError.h" #import "DBFILESLookupError.h" +#import "DBFILESRemoveTagError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderError +@implementation DBFILESRemoveTagError @synthesize path = _path; @@ -6752,7 +21380,7 @@ @implementation DBFILESListFolderError - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { - _tag = DBFILESListFolderErrorPath; + _tag = DBFILESRemoveTagErrorPath; _path = path; } return self; @@ -6761,7 +21389,15 @@ - (instancetype)initWithPath:(DBFILESLookupError *)path { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESListFolderErrorOther; + _tag = DBFILESRemoveTagErrorOther; + } + return self; +} + +- (instancetype)initWithTagNotPresent { + self = [super init]; + if (self) { + _tag = DBFILESRemoveTagErrorTagNotPresent; } return self; } @@ -6771,7 +21407,7 @@ - (instancetype)initWithOther { - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESListFolderErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESRemoveTagErrorPath, but was %@.", [self tagName]]; } return _path; } @@ -6779,19 +21415,25 @@ - (DBFILESLookupError *)path { #pragma mark - Tag state methods - (BOOL)isPath { - return _tag == DBFILESListFolderErrorPath; + return _tag == DBFILESRemoveTagErrorPath; } - (BOOL)isOther { - return _tag == DBFILESListFolderErrorOther; + return _tag == DBFILESRemoveTagErrorOther; +} + +- (BOOL)isTagNotPresent { + return _tag == DBFILESRemoveTagErrorTagNotPresent; } - (NSString *)tagName { switch (_tag) { - case DBFILESListFolderErrorPath: - return @"DBFILESListFolderErrorPath"; - case DBFILESListFolderErrorOther: - return @"DBFILESListFolderErrorOther"; + case DBFILESRemoveTagErrorPath: + return @"DBFILESRemoveTagErrorPath"; + case DBFILESRemoveTagErrorOther: + return @"DBFILESRemoveTagErrorOther"; + case DBFILESRemoveTagErrorTagNotPresent: + return @"DBFILESRemoveTagErrorTagNotPresent"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -6799,18 +21441,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRemoveTagErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRemoveTagErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRemoveTagErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6828,10 +21470,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESListFolderErrorPath: + case DBFILESRemoveTagErrorPath: result = prime * result + [self.path hash]; - case DBFILESListFolderErrorOther: + break; + case DBFILESRemoveTagErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESRemoveTagErrorTagNotPresent: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6846,21 +21493,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderError:other]; + return [self isEqualToRemoveTagError:other]; } -- (BOOL)isEqualToListFolderError:(DBFILESListFolderError *)aListFolderError { - if (self == aListFolderError) { +- (BOOL)isEqualToRemoveTagError:(DBFILESRemoveTagError *)aRemoveTagError { + if (self == aRemoveTagError) { return YES; } - if (self.tag != aListFolderError.tag) { + if (self.tag != aRemoveTagError.tag) { return NO; } switch (_tag) { - case DBFILESListFolderErrorPath: - return [self.path isEqual:aListFolderError.path]; - case DBFILESListFolderErrorOther: - return [[self tagName] isEqual:[aListFolderError tagName]]; + case DBFILESRemoveTagErrorPath: + return [self.path isEqual:aRemoveTagError.path]; + case DBFILESRemoveTagErrorOther: + return [[self tagName] isEqual:[aRemoveTagError tagName]]; + case DBFILESRemoveTagErrorTagNotPresent: + return [[self tagName] isEqual:[aRemoveTagError tagName]]; } return YES; } @@ -6869,9 +21518,9 @@ - (BOOL)isEqualToListFolderError:(DBFILESListFolderError *)aListFolderError { #pragma mark - Serializer Object -@implementation DBFILESListFolderErrorSerializer +@implementation DBFILESRemoveTagErrorSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRemoveTagError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { @@ -6879,62 +21528,70 @@ + (NSDictionary *)serialize:(DBFILESListFolderError *)valueObj { jsonDict[@".tag"] = @"path"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTagNotPresent]) { + jsonDict[@".tag"] = @"tag_not_present"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESRemoveTagError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESListFolderError alloc] initWithPath:path]; + return [[DBFILESRemoveTagError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESListFolderError alloc] initWithOther]; + return [[DBFILESRemoveTagError alloc] initWithOther]; + } else if ([tag isEqualToString:@"tag_not_present"]) { + return [[DBFILESRemoveTagError alloc] initWithTagNotPresent]; } else { - return [[DBFILESListFolderError alloc] initWithOther]; + return [[DBFILESRemoveTagError alloc] initWithOther]; } } @end -#import "DBFILESListFolderGetLatestCursorResult.h" +#import "DBFILESRestoreArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderGetLatestCursorResult +@implementation DBFILESRestoreArg #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); +- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); self = [super init]; if (self) { - _cursor = cursor; + _path = path; + _rev = rev; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderGetLatestCursorResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRestoreArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderGetLatestCursorResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRestoreArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderGetLatestCursorResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRestoreArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6951,7 +21608,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.path hash]; + result = prime * result + [self.rev hash]; return prime * result; } @@ -6965,15 +21623,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderGetLatestCursorResult:other]; + return [self isEqualToRestoreArg:other]; } -- (BOOL)isEqualToListFolderGetLatestCursorResult: - (DBFILESListFolderGetLatestCursorResult *)aListFolderGetLatestCursorResult { - if (self == aListFolderGetLatestCursorResult) { +- (BOOL)isEqualToRestoreArg:(DBFILESRestoreArg *)aRestoreArg { + if (self == aRestoreArg) { return YES; } - if (![self.cursor isEqual:aListFolderGetLatestCursorResult.cursor]) { + if (![self.path isEqual:aRestoreArg.path]) { + return NO; + } + if (![self.rev isEqual:aRestoreArg.rev]) { return NO; } return YES; @@ -6983,148 +21643,71 @@ - (BOOL)isEqualToListFolderGetLatestCursorResult: #pragma mark - Serializer Object -@implementation DBFILESListFolderGetLatestCursorResultSerializer +@implementation DBFILESRestoreArgSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderGetLatestCursorResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRestoreArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"path"] = valueObj.path; + jsonDict[@"rev"] = valueObj.rev; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBFILESRestoreArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *rev = valueDict[@"rev"]; - return [[DBFILESListFolderGetLatestCursorResult alloc] initWithCursor:cursor]; + return [[DBFILESRestoreArg alloc] initWithPath:path rev:rev]; } @end -#import "DBFILESListFolderLongpollArg.h" +#import "DBFILESLookupError.h" +#import "DBFILESRestoreError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderLongpollArg +@implementation DBFILESRestoreError -#pragma mark - Constructors +@synthesize pathLookup = _pathLookup; +@synthesize pathWrite = _pathWrite; -- (instancetype)initWithCursor:(NSString *)cursor timeout:(NSNumber *)timeout { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); +#pragma mark - Constructors +- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { self = [super init]; if (self) { - _cursor = cursor; - _timeout = timeout ?: @(30); + _tag = DBFILESRestoreErrorPathLookup; + _pathLookup = pathLookup; } return self; } -- (instancetype)initWithCursor:(NSString *)cursor { - return [self initWithCursor:cursor timeout:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderLongpollArgSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderLongpollArgSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESListFolderLongpollArgSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.cursor hash]; - result = prime * result + [self.timeout hash]; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite { + self = [super init]; + if (self) { + _tag = DBFILESRestoreErrorPathWrite; + _pathWrite = pathWrite; } - return [self isEqualToListFolderLongpollArg:other]; + return self; } -- (BOOL)isEqualToListFolderLongpollArg:(DBFILESListFolderLongpollArg *)aListFolderLongpollArg { - if (self == aListFolderLongpollArg) { - return YES; - } - if (![self.cursor isEqual:aListFolderLongpollArg.cursor]) { - return NO; - } - if (![self.timeout isEqual:aListFolderLongpollArg.timeout]) { - return NO; +- (instancetype)initWithInvalidRevision { + self = [super init]; + if (self) { + _tag = DBFILESRestoreErrorInvalidRevision; } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBFILESListFolderLongpollArgSerializer - -+ (NSDictionary *)serialize:(DBFILESListFolderLongpollArg *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"cursor"] = valueObj.cursor; - jsonDict[@"timeout"] = valueObj.timeout; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; - NSNumber *timeout = valueDict[@"timeout"] ?: @(30); - - return [[DBFILESListFolderLongpollArg alloc] initWithCursor:cursor timeout:timeout]; + return self; } -@end - -#import "DBFILESListFolderLongpollError.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESListFolderLongpollError - -#pragma mark - Constructors - -- (instancetype)initWithReset { +- (instancetype)initWithInProgress { self = [super init]; if (self) { - _tag = DBFILESListFolderLongpollErrorReset; + _tag = DBFILESRestoreErrorInProgress; } return self; } @@ -7132,29 +21715,63 @@ - (instancetype)initWithReset { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESListFolderLongpollErrorOther; + _tag = DBFILESRestoreErrorOther; } return self; } #pragma mark - Instance field accessors +- (DBFILESLookupError *)pathLookup { + if (![self isPathLookup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRestoreErrorPathLookup, but was %@.", [self tagName]]; + } + return _pathLookup; +} + +- (DBFILESWriteError *)pathWrite { + if (![self isPathWrite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESRestoreErrorPathWrite, but was %@.", [self tagName]]; + } + return _pathWrite; +} + #pragma mark - Tag state methods -- (BOOL)isReset { - return _tag == DBFILESListFolderLongpollErrorReset; +- (BOOL)isPathLookup { + return _tag == DBFILESRestoreErrorPathLookup; } -- (BOOL)isOther { - return _tag == DBFILESListFolderLongpollErrorOther; +- (BOOL)isPathWrite { + return _tag == DBFILESRestoreErrorPathWrite; } -- (NSString *)tagName { - switch (_tag) { - case DBFILESListFolderLongpollErrorReset: - return @"DBFILESListFolderLongpollErrorReset"; - case DBFILESListFolderLongpollErrorOther: - return @"DBFILESListFolderLongpollErrorOther"; +- (BOOL)isInvalidRevision { + return _tag == DBFILESRestoreErrorInvalidRevision; +} + +- (BOOL)isInProgress { + return _tag == DBFILESRestoreErrorInProgress; +} + +- (BOOL)isOther { + return _tag == DBFILESRestoreErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESRestoreErrorPathLookup: + return @"DBFILESRestoreErrorPathLookup"; + case DBFILESRestoreErrorPathWrite: + return @"DBFILESRestoreErrorPathWrite"; + case DBFILESRestoreErrorInvalidRevision: + return @"DBFILESRestoreErrorInvalidRevision"; + case DBFILESRestoreErrorInProgress: + return @"DBFILESRestoreErrorInProgress"; + case DBFILESRestoreErrorOther: + return @"DBFILESRestoreErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -7162,18 +21779,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderLongpollErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESRestoreErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderLongpollErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESRestoreErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderLongpollErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESRestoreErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7191,10 +21808,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESListFolderLongpollErrorReset: + case DBFILESRestoreErrorPathLookup: + result = prime * result + [self.pathLookup hash]; + break; + case DBFILESRestoreErrorPathWrite: + result = prime * result + [self.pathWrite hash]; + break; + case DBFILESRestoreErrorInvalidRevision: result = prime * result + [[self tagName] hash]; - case DBFILESListFolderLongpollErrorOther: + break; + case DBFILESRestoreErrorInProgress: result = prime * result + [[self tagName] hash]; + break; + case DBFILESRestoreErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7209,21 +21837,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderLongpollError:other]; + return [self isEqualToRestoreError:other]; } -- (BOOL)isEqualToListFolderLongpollError:(DBFILESListFolderLongpollError *)aListFolderLongpollError { - if (self == aListFolderLongpollError) { +- (BOOL)isEqualToRestoreError:(DBFILESRestoreError *)aRestoreError { + if (self == aRestoreError) { return YES; } - if (self.tag != aListFolderLongpollError.tag) { + if (self.tag != aRestoreError.tag) { return NO; } switch (_tag) { - case DBFILESListFolderLongpollErrorReset: - return [[self tagName] isEqual:[aListFolderLongpollError tagName]]; - case DBFILESListFolderLongpollErrorOther: - return [[self tagName] isEqual:[aListFolderLongpollError tagName]]; + case DBFILESRestoreErrorPathLookup: + return [self.pathLookup isEqual:aRestoreError.pathLookup]; + case DBFILESRestoreErrorPathWrite: + return [self.pathWrite isEqual:aRestoreError.pathWrite]; + case DBFILESRestoreErrorInvalidRevision: + return [[self tagName] isEqual:[aRestoreError tagName]]; + case DBFILESRestoreErrorInProgress: + return [[self tagName] isEqual:[aRestoreError tagName]]; + case DBFILESRestoreErrorOther: + return [[self tagName] isEqual:[aRestoreError tagName]]; } return YES; } @@ -7232,75 +21866,89 @@ - (BOOL)isEqualToListFolderLongpollError:(DBFILESListFolderLongpollError *)aList #pragma mark - Serializer Object -@implementation DBFILESListFolderLongpollErrorSerializer +@implementation DBFILESRestoreErrorSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderLongpollError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESRestoreError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isReset]) { - jsonDict[@".tag"] = @"reset"; + if ([valueObj isPathLookup]) { + jsonDict[@"path_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.pathLookup] mutableCopy]; + jsonDict[@".tag"] = @"path_lookup"; + } else if ([valueObj isPathWrite]) { + jsonDict[@"path_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.pathWrite] mutableCopy]; + jsonDict[@".tag"] = @"path_write"; + } else if ([valueObj isInvalidRevision]) { + jsonDict[@".tag"] = @"invalid_revision"; + } else if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESRestoreError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"reset"]) { - return [[DBFILESListFolderLongpollError alloc] initWithReset]; + if ([tag isEqualToString:@"path_lookup"]) { + DBFILESLookupError *pathLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path_lookup"]]; + return [[DBFILESRestoreError alloc] initWithPathLookup:pathLookup]; + } else if ([tag isEqualToString:@"path_write"]) { + DBFILESWriteError *pathWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path_write"]]; + return [[DBFILESRestoreError alloc] initWithPathWrite:pathWrite]; + } else if ([tag isEqualToString:@"invalid_revision"]) { + return [[DBFILESRestoreError alloc] initWithInvalidRevision]; + } else if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESRestoreError alloc] initWithInProgress]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESListFolderLongpollError alloc] initWithOther]; + return [[DBFILESRestoreError alloc] initWithOther]; } else { - return [[DBFILESListFolderLongpollError alloc] initWithOther]; + return [[DBFILESRestoreError alloc] initWithOther]; } } @end -#import "DBFILESListFolderLongpollResult.h" +#import "DBFILESSaveCopyReferenceArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderLongpollResult +@implementation DBFILESSaveCopyReferenceArg #pragma mark - Constructors -- (instancetype)initWithChanges:(NSNumber *)changes backoff:(NSNumber *)backoff { - [DBStoneValidators nonnullValidator:nil](changes); +- (instancetype)initWithDCopyReference:(NSString *)dCopyReference path:(NSString *)path { + [DBStoneValidators nonnullValidator:nil](dCopyReference); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); self = [super init]; if (self) { - _changes = changes; - _backoff = backoff; + _dCopyReference = dCopyReference; + _path = path; } return self; } -- (instancetype)initWithChanges:(NSNumber *)changes { - return [self initWithChanges:changes backoff:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderLongpollResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveCopyReferenceArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderLongpollResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveCopyReferenceArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderLongpollResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveCopyReferenceArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7317,10 +21965,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.changes hash]; - if (self.backoff != nil) { - result = prime * result + [self.backoff hash]; - } + result = prime * result + [self.dCopyReference hash]; + result = prime * result + [self.path hash]; return prime * result; } @@ -7334,20 +21980,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderLongpollResult:other]; + return [self isEqualToSaveCopyReferenceArg:other]; } -- (BOOL)isEqualToListFolderLongpollResult:(DBFILESListFolderLongpollResult *)aListFolderLongpollResult { - if (self == aListFolderLongpollResult) { +- (BOOL)isEqualToSaveCopyReferenceArg:(DBFILESSaveCopyReferenceArg *)aSaveCopyReferenceArg { + if (self == aSaveCopyReferenceArg) { return YES; } - if (![self.changes isEqual:aListFolderLongpollResult.changes]) { + if (![self.dCopyReference isEqual:aSaveCopyReferenceArg.dCopyReference]) { return NO; } - if (self.backoff) { - if (![self.backoff isEqual:aListFolderLongpollResult.backoff]) { - return NO; - } + if (![self.path isEqual:aSaveCopyReferenceArg.path]) { + return NO; } return YES; } @@ -7356,72 +22000,157 @@ - (BOOL)isEqualToListFolderLongpollResult:(DBFILESListFolderLongpollResult *)aLi #pragma mark - Serializer Object -@implementation DBFILESListFolderLongpollResultSerializer +@implementation DBFILESSaveCopyReferenceArgSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderLongpollResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"changes"] = valueObj.changes; - if (valueObj.backoff) { - jsonDict[@"backoff"] = valueObj.backoff; - } + jsonDict[@"copy_reference"] = valueObj.dCopyReference; + jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)valueDict { - NSNumber *changes = valueDict[@"changes"]; - NSNumber *backoff = valueDict[@"backoff"] ?: nil; ++ (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { + NSString *dCopyReference = valueDict[@"copy_reference"]; + NSString *path = valueDict[@"path"]; - return [[DBFILESListFolderLongpollResult alloc] initWithChanges:changes backoff:backoff]; + return [[DBFILESSaveCopyReferenceArg alloc] initWithDCopyReference:dCopyReference path:path]; } @end -#import "DBFILESListFolderResult.h" -#import "DBFILESMetadata.h" +#import "DBFILESSaveCopyReferenceError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListFolderResult +@implementation DBFILESSaveCopyReferenceError + +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries - cursor:(NSString *)cursor - hasMore:(NSNumber *)hasMore { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); - [DBStoneValidators nonnullValidator:nil](hasMore); +- (instancetype)initWithPath:(DBFILESWriteError *)path { + self = [super init]; + if (self) { + _tag = DBFILESSaveCopyReferenceErrorPath; + _path = path; + } + return self; +} + +- (instancetype)initWithInvalidCopyReference { + self = [super init]; + if (self) { + _tag = DBFILESSaveCopyReferenceErrorInvalidCopyReference; + } + return self; +} +- (instancetype)initWithNoPermission { self = [super init]; if (self) { - _entries = entries; - _cursor = cursor; - _hasMore = hasMore; + _tag = DBFILESSaveCopyReferenceErrorNoPermission; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILESSaveCopyReferenceErrorNotFound; + } + return self; +} + +- (instancetype)initWithTooManyFiles { + self = [super init]; + if (self) { + _tag = DBFILESSaveCopyReferenceErrorTooManyFiles; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESSaveCopyReferenceErrorOther; } return self; } +#pragma mark - Instance field accessors + +- (DBFILESWriteError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSaveCopyReferenceErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESSaveCopyReferenceErrorPath; +} + +- (BOOL)isInvalidCopyReference { + return _tag == DBFILESSaveCopyReferenceErrorInvalidCopyReference; +} + +- (BOOL)isNoPermission { + return _tag == DBFILESSaveCopyReferenceErrorNoPermission; +} + +- (BOOL)isNotFound { + return _tag == DBFILESSaveCopyReferenceErrorNotFound; +} + +- (BOOL)isTooManyFiles { + return _tag == DBFILESSaveCopyReferenceErrorTooManyFiles; +} + +- (BOOL)isOther { + return _tag == DBFILESSaveCopyReferenceErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESSaveCopyReferenceErrorPath: + return @"DBFILESSaveCopyReferenceErrorPath"; + case DBFILESSaveCopyReferenceErrorInvalidCopyReference: + return @"DBFILESSaveCopyReferenceErrorInvalidCopyReference"; + case DBFILESSaveCopyReferenceErrorNoPermission: + return @"DBFILESSaveCopyReferenceErrorNoPermission"; + case DBFILESSaveCopyReferenceErrorNotFound: + return @"DBFILESSaveCopyReferenceErrorNotFound"; + case DBFILESSaveCopyReferenceErrorTooManyFiles: + return @"DBFILESSaveCopyReferenceErrorTooManyFiles"; + case DBFILESSaveCopyReferenceErrorOther: + return @"DBFILESSaveCopyReferenceErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListFolderResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveCopyReferenceErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListFolderResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveCopyReferenceErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListFolderResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveCopyReferenceErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7438,9 +22167,26 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.hasMore hash]; + switch (_tag) { + case DBFILESSaveCopyReferenceErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESSaveCopyReferenceErrorInvalidCopyReference: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveCopyReferenceErrorNoPermission: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveCopyReferenceErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveCopyReferenceErrorTooManyFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveCopyReferenceErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -7454,21 +22200,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListFolderResult:other]; + return [self isEqualToSaveCopyReferenceError:other]; } -- (BOOL)isEqualToListFolderResult:(DBFILESListFolderResult *)aListFolderResult { - if (self == aListFolderResult) { +- (BOOL)isEqualToSaveCopyReferenceError:(DBFILESSaveCopyReferenceError *)aSaveCopyReferenceError { + if (self == aSaveCopyReferenceError) { return YES; } - if (![self.entries isEqual:aListFolderResult.entries]) { - return NO; - } - if (![self.cursor isEqual:aListFolderResult.cursor]) { + if (self.tag != aSaveCopyReferenceError.tag) { return NO; } - if (![self.hasMore isEqual:aListFolderResult.hasMore]) { - return NO; + switch (_tag) { + case DBFILESSaveCopyReferenceErrorPath: + return [self.path isEqual:aSaveCopyReferenceError.path]; + case DBFILESSaveCopyReferenceErrorInvalidCopyReference: + return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; + case DBFILESSaveCopyReferenceErrorNoPermission: + return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; + case DBFILESSaveCopyReferenceErrorNotFound: + return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; + case DBFILESSaveCopyReferenceErrorTooManyFiles: + return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; + case DBFILESSaveCopyReferenceErrorOther: + return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; } return YES; } @@ -7477,78 +22231,89 @@ - (BOOL)isEqualToListFolderResult:(DBFILESListFolderResult *)aListFolderResult { #pragma mark - Serializer Object -@implementation DBFILESListFolderResultSerializer +@implementation DBFILESSaveCopyReferenceErrorSerializer -+ (NSDictionary *)serialize:(DBFILESListFolderResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESMetadataSerializer serialize:elem0]; - }]; - jsonDict[@"cursor"] = valueObj.cursor; - jsonDict[@"has_more"] = valueObj.hasMore; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isInvalidCopyReference]) { + jsonDict[@".tag"] = @"invalid_copy_reference"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isTooManyFiles]) { + jsonDict[@".tag"] = @"too_many_files"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListFolderResult *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESMetadataSerializer deserialize:elem0]; - }]; - NSString *cursor = valueDict[@"cursor"]; - NSNumber *hasMore = valueDict[@"has_more"]; ++ (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESListFolderResult alloc] initWithEntries:entries cursor:cursor hasMore:hasMore]; + if ([tag isEqualToString:@"path"]) { + DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESSaveCopyReferenceError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"invalid_copy_reference"]) { + return [[DBFILESSaveCopyReferenceError alloc] initWithInvalidCopyReference]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBFILESSaveCopyReferenceError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESSaveCopyReferenceError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"too_many_files"]) { + return [[DBFILESSaveCopyReferenceError alloc] initWithTooManyFiles]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; + } else { + return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; + } } @end -#import "DBFILESListRevisionsArg.h" -#import "DBFILESListRevisionsMode.h" +#import "DBFILESMetadata.h" +#import "DBFILESSaveCopyReferenceResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListRevisionsArg +@implementation DBFILESSaveCopyReferenceResult #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path mode:(DBFILESListRevisionsMode *)mode limit:(NSNumber *)limit { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)"]](path); +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](metadata); self = [super init]; if (self) { - _path = path; - _mode = mode ?: [[DBFILESListRevisionsMode alloc] initWithPath]; - _limit = limit ?: @(10); + _metadata = metadata; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path mode:nil limit:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListRevisionsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveCopyReferenceResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListRevisionsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveCopyReferenceResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListRevisionsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveCopyReferenceResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7565,9 +22330,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.mode hash]; - result = prime * result + [self.limit hash]; + result = prime * result + [self.metadata hash]; return prime * result; } @@ -7581,20 +22344,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListRevisionsArg:other]; + return [self isEqualToSaveCopyReferenceResult:other]; } -- (BOOL)isEqualToListRevisionsArg:(DBFILESListRevisionsArg *)aListRevisionsArg { - if (self == aListRevisionsArg) { +- (BOOL)isEqualToSaveCopyReferenceResult:(DBFILESSaveCopyReferenceResult *)aSaveCopyReferenceResult { + if (self == aSaveCopyReferenceResult) { return YES; } - if (![self.path isEqual:aListRevisionsArg.path]) { - return NO; - } - if (![self.mode isEqual:aListRevisionsArg.mode]) { - return NO; - } - if (![self.limit isEqual:aListRevisionsArg.limit]) { + if (![self.metadata isEqual:aSaveCopyReferenceResult.metadata]) { return NO; } return YES; @@ -7604,105 +22361,61 @@ - (BOOL)isEqualToListRevisionsArg:(DBFILESListRevisionsArg *)aListRevisionsArg { #pragma mark - Serializer Object -@implementation DBFILESListRevisionsArgSerializer +@implementation DBFILESSaveCopyReferenceResultSerializer -+ (NSDictionary *)serialize:(DBFILESListRevisionsArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"mode"] = [DBFILESListRevisionsModeSerializer serialize:valueObj.mode]; - jsonDict[@"limit"] = valueObj.limit; + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - DBFILESListRevisionsMode *mode = valueDict[@"mode"] - ? [DBFILESListRevisionsModeSerializer deserialize:valueDict[@"mode"]] - : [[DBFILESListRevisionsMode alloc] initWithPath]; - NSNumber *limit = valueDict[@"limit"] ?: @(10); ++ (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESListRevisionsArg alloc] initWithPath:path mode:mode limit:limit]; + return [[DBFILESSaveCopyReferenceResult alloc] initWithMetadata:metadata]; } @end -#import "DBFILESListRevisionsError.h" -#import "DBFILESLookupError.h" +#import "DBFILESSaveUrlArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListRevisionsError - -@synthesize path = _path; +@implementation DBFILESSaveUrlArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBFILESListRevisionsErrorPath; - _path = path; - } - return self; -} +- (instancetype)initWithPath:(NSString *)path url:(NSString *)url { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); + [DBStoneValidators nonnullValidator:nil](url); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESListRevisionsErrorOther; + _path = path; + _url = url; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESListRevisionsErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESListRevisionsErrorPath; -} - -- (BOOL)isOther { - return _tag == DBFILESListRevisionsErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESListRevisionsErrorPath: - return @"DBFILESListRevisionsErrorPath"; - case DBFILESListRevisionsErrorOther: - return @"DBFILESListRevisionsErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListRevisionsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveUrlArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListRevisionsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveUrlArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListRevisionsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveUrlArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7719,12 +22432,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESListRevisionsErrorPath: - result = prime * result + [self.path hash]; - case DBFILESListRevisionsErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.path hash]; + result = prime * result + [self.url hash]; return prime * result; } @@ -7738,21 +22447,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListRevisionsError:other]; + return [self isEqualToSaveUrlArg:other]; } -- (BOOL)isEqualToListRevisionsError:(DBFILESListRevisionsError *)aListRevisionsError { - if (self == aListRevisionsError) { +- (BOOL)isEqualToSaveUrlArg:(DBFILESSaveUrlArg *)aSaveUrlArg { + if (self == aSaveUrlArg) { return YES; } - if (self.tag != aListRevisionsError.tag) { + if (![self.path isEqual:aSaveUrlArg.path]) { return NO; } - switch (_tag) { - case DBFILESListRevisionsErrorPath: - return [self.path isEqual:aListRevisionsError.path]; - case DBFILESListRevisionsErrorOther: - return [[self tagName] isEqual:[aListRevisionsError tagName]]; + if (![self.url isEqual:aSaveUrlArg.url]) { + return NO; } return YES; } @@ -7761,60 +22467,68 @@ - (BOOL)isEqualToListRevisionsError:(DBFILESListRevisionsError *)aListRevisionsE #pragma mark - Serializer Object -@implementation DBFILESListRevisionsErrorSerializer +@implementation DBFILESSaveUrlArgSerializer -+ (NSDictionary *)serialize:(DBFILESListRevisionsError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveUrlArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"path"] = valueObj.path; + jsonDict[@"url"] = valueObj.url; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListRevisionsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESListRevisionsError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESListRevisionsError alloc] initWithOther]; - } else { - return [[DBFILESListRevisionsError alloc] initWithOther]; - } ++ (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *url = valueDict[@"url"]; + + return [[DBFILESSaveUrlArg alloc] initWithPath:path url:url]; } @end -#import "DBFILESListRevisionsMode.h" +#import "DBFILESSaveUrlError.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListRevisionsMode +@implementation DBFILESSaveUrlError + +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithPath { +- (instancetype)initWithPath:(DBFILESWriteError *)path { self = [super init]; if (self) { - _tag = DBFILESListRevisionsModePath; + _tag = DBFILESSaveUrlErrorPath; + _path = path; } return self; } -- (instancetype)initWithId_ { +- (instancetype)initWithDownloadFailed { self = [super init]; if (self) { - _tag = DBFILESListRevisionsModeId_; + _tag = DBFILESSaveUrlErrorDownloadFailed; + } + return self; +} + +- (instancetype)initWithInvalidUrl { + self = [super init]; + if (self) { + _tag = DBFILESSaveUrlErrorInvalidUrl; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILESSaveUrlErrorNotFound; } return self; } @@ -7822,35 +22536,55 @@ - (instancetype)initWithId_ { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESListRevisionsModeOther; + _tag = DBFILESSaveUrlErrorOther; } return self; } #pragma mark - Instance field accessors +- (DBFILESWriteError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSaveUrlErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + #pragma mark - Tag state methods - (BOOL)isPath { - return _tag == DBFILESListRevisionsModePath; + return _tag == DBFILESSaveUrlErrorPath; } -- (BOOL)isId_ { - return _tag == DBFILESListRevisionsModeId_; +- (BOOL)isDownloadFailed { + return _tag == DBFILESSaveUrlErrorDownloadFailed; +} + +- (BOOL)isInvalidUrl { + return _tag == DBFILESSaveUrlErrorInvalidUrl; +} + +- (BOOL)isNotFound { + return _tag == DBFILESSaveUrlErrorNotFound; } - (BOOL)isOther { - return _tag == DBFILESListRevisionsModeOther; + return _tag == DBFILESSaveUrlErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESListRevisionsModePath: - return @"DBFILESListRevisionsModePath"; - case DBFILESListRevisionsModeId_: - return @"DBFILESListRevisionsModeId_"; - case DBFILESListRevisionsModeOther: - return @"DBFILESListRevisionsModeOther"; + case DBFILESSaveUrlErrorPath: + return @"DBFILESSaveUrlErrorPath"; + case DBFILESSaveUrlErrorDownloadFailed: + return @"DBFILESSaveUrlErrorDownloadFailed"; + case DBFILESSaveUrlErrorInvalidUrl: + return @"DBFILESSaveUrlErrorInvalidUrl"; + case DBFILESSaveUrlErrorNotFound: + return @"DBFILESSaveUrlErrorNotFound"; + case DBFILESSaveUrlErrorOther: + return @"DBFILESSaveUrlErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -7858,18 +22592,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListRevisionsModeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveUrlErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListRevisionsModeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveUrlErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListRevisionsModeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveUrlErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7887,12 +22621,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESListRevisionsModePath: + case DBFILESSaveUrlErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESSaveUrlErrorDownloadFailed: result = prime * result + [[self tagName] hash]; - case DBFILESListRevisionsModeId_: + break; + case DBFILESSaveUrlErrorInvalidUrl: result = prime * result + [[self tagName] hash]; - case DBFILESListRevisionsModeOther: + break; + case DBFILESSaveUrlErrorNotFound: result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveUrlErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7907,23 +22650,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListRevisionsMode:other]; + return [self isEqualToSaveUrlError:other]; } -- (BOOL)isEqualToListRevisionsMode:(DBFILESListRevisionsMode *)aListRevisionsMode { - if (self == aListRevisionsMode) { +- (BOOL)isEqualToSaveUrlError:(DBFILESSaveUrlError *)aSaveUrlError { + if (self == aSaveUrlError) { return YES; } - if (self.tag != aListRevisionsMode.tag) { + if (self.tag != aSaveUrlError.tag) { return NO; } switch (_tag) { - case DBFILESListRevisionsModePath: - return [[self tagName] isEqual:[aListRevisionsMode tagName]]; - case DBFILESListRevisionsModeId_: - return [[self tagName] isEqual:[aListRevisionsMode tagName]]; - case DBFILESListRevisionsModeOther: - return [[self tagName] isEqual:[aListRevisionsMode tagName]]; + case DBFILESSaveUrlErrorPath: + return [self.path isEqual:aSaveUrlError.path]; + case DBFILESSaveUrlErrorDownloadFailed: + return [[self tagName] isEqual:[aSaveUrlError tagName]]; + case DBFILESSaveUrlErrorInvalidUrl: + return [[self tagName] isEqual:[aSaveUrlError tagName]]; + case DBFILESSaveUrlErrorNotFound: + return [[self tagName] isEqual:[aSaveUrlError tagName]]; + case DBFILESSaveUrlErrorOther: + return [[self tagName] isEqual:[aSaveUrlError tagName]]; } return YES; } @@ -7932,87 +22679,151 @@ - (BOOL)isEqualToListRevisionsMode:(DBFILESListRevisionsMode *)aListRevisionsMod #pragma mark - Serializer Object -@implementation DBFILESListRevisionsModeSerializer +@implementation DBFILESSaveUrlErrorSerializer -+ (NSDictionary *)serialize:(DBFILESListRevisionsMode *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveUrlError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; - } else if ([valueObj isId_]) { - jsonDict[@".tag"] = @"id"; + } else if ([valueObj isDownloadFailed]) { + jsonDict[@".tag"] = @"download_failed"; + } else if ([valueObj isInvalidUrl]) { + jsonDict[@".tag"] = @"invalid_url"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESSaveUrlError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { - return [[DBFILESListRevisionsMode alloc] initWithPath]; - } else if ([tag isEqualToString:@"id"]) { - return [[DBFILESListRevisionsMode alloc] initWithId_]; + DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESSaveUrlError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"download_failed"]) { + return [[DBFILESSaveUrlError alloc] initWithDownloadFailed]; + } else if ([tag isEqualToString:@"invalid_url"]) { + return [[DBFILESSaveUrlError alloc] initWithInvalidUrl]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESSaveUrlError alloc] initWithNotFound]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESListRevisionsMode alloc] initWithOther]; + return [[DBFILESSaveUrlError alloc] initWithOther]; } else { - return [[DBFILESListRevisionsMode alloc] initWithOther]; + return [[DBFILESSaveUrlError alloc] initWithOther]; } } @end +#import "DBASYNCPollResultBase.h" #import "DBFILESFileMetadata.h" -#import "DBFILESListRevisionsResult.h" +#import "DBFILESSaveUrlError.h" +#import "DBFILESSaveUrlJobStatus.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESListRevisionsResult +@implementation DBFILESSaveUrlJobStatus + +@synthesize complete = _complete; +@synthesize failed = _failed; #pragma mark - Constructors -- (instancetype)initWithIsDeleted:(NSNumber *)isDeleted - entries:(NSArray *)entries - serverDeleted:(NSDate *)serverDeleted { - [DBStoneValidators nonnullValidator:nil](isDeleted); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBFILESSaveUrlJobStatusInProgress; + } + return self; +} +- (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { self = [super init]; if (self) { - _isDeleted = isDeleted; - _serverDeleted = serverDeleted; - _entries = entries; + _tag = DBFILESSaveUrlJobStatusComplete; + _complete = complete; } return self; } -- (instancetype)initWithIsDeleted:(NSNumber *)isDeleted entries:(NSArray *)entries { - return [self initWithIsDeleted:isDeleted entries:entries serverDeleted:nil]; +- (instancetype)initWithFailed:(DBFILESSaveUrlError *)failed { + self = [super init]; + if (self) { + _tag = DBFILESSaveUrlJobStatusFailed; + _failed = failed; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESFileMetadata *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSaveUrlJobStatusComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +- (DBFILESSaveUrlError *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSaveUrlJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBFILESSaveUrlJobStatusInProgress; +} + +- (BOOL)isComplete { + return _tag == DBFILESSaveUrlJobStatusComplete; +} + +- (BOOL)isFailed { + return _tag == DBFILESSaveUrlJobStatusFailed; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESSaveUrlJobStatusInProgress: + return @"DBFILESSaveUrlJobStatusInProgress"; + case DBFILESSaveUrlJobStatusComplete: + return @"DBFILESSaveUrlJobStatusComplete"; + case DBFILESSaveUrlJobStatusFailed: + return @"DBFILESSaveUrlJobStatusFailed"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESListRevisionsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveUrlJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESListRevisionsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveUrlJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESListRevisionsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveUrlJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8029,10 +22840,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.isDeleted hash]; - result = prime * result + [self.entries hash]; - if (self.serverDeleted != nil) { - result = prime * result + [self.serverDeleted hash]; + switch (_tag) { + case DBFILESSaveUrlJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSaveUrlJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESSaveUrlJobStatusFailed: + result = prime * result + [self.failed hash]; + break; } return prime * result; @@ -8047,23 +22864,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListRevisionsResult:other]; + return [self isEqualToSaveUrlJobStatus:other]; } -- (BOOL)isEqualToListRevisionsResult:(DBFILESListRevisionsResult *)aListRevisionsResult { - if (self == aListRevisionsResult) { +- (BOOL)isEqualToSaveUrlJobStatus:(DBFILESSaveUrlJobStatus *)aSaveUrlJobStatus { + if (self == aSaveUrlJobStatus) { return YES; } - if (![self.isDeleted isEqual:aListRevisionsResult.isDeleted]) { - return NO; - } - if (![self.entries isEqual:aListRevisionsResult.entries]) { + if (self.tag != aSaveUrlJobStatus.tag) { return NO; } - if (self.serverDeleted) { - if (![self.serverDeleted isEqual:aListRevisionsResult.serverDeleted]) { - return NO; - } + switch (_tag) { + case DBFILESSaveUrlJobStatusInProgress: + return [[self tagName] isEqual:[aSaveUrlJobStatus tagName]]; + case DBFILESSaveUrlJobStatusComplete: + return [self.complete isEqual:aSaveUrlJobStatus.complete]; + case DBFILESSaveUrlJobStatusFailed: + return [self.failed isEqual:aSaveUrlJobStatus.failed]; } return YES; } @@ -8072,151 +22889,116 @@ - (BOOL)isEqualToListRevisionsResult:(DBFILESListRevisionsResult *)aListRevision #pragma mark - Serializer Object -@implementation DBFILESListRevisionsResultSerializer +@implementation DBFILESSaveUrlJobStatusSerializer -+ (NSDictionary *)serialize:(DBFILESListRevisionsResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"is_deleted"] = valueObj.isDeleted; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESFileMetadataSerializer serialize:elem0]; - }]; - if (valueObj.serverDeleted) { - jsonDict[@"server_deleted"] = - [DBNSDateSerializer serialize:valueObj.serverDeleted dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESFileMetadataSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBFILESSaveUrlErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)valueDict { - NSNumber *isDeleted = valueDict[@"is_deleted"]; - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESFileMetadataSerializer deserialize:elem0]; - }]; - NSDate *serverDeleted = valueDict[@"server_deleted"] ? [DBNSDateSerializer deserialize:valueDict[@"server_deleted"] - dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESListRevisionsResult alloc] initWithIsDeleted:isDeleted entries:entries serverDeleted:serverDeleted]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESSaveUrlJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESFileMetadata *complete = [DBFILESFileMetadataSerializer deserialize:valueDict]; + return [[DBFILESSaveUrlJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + DBFILESSaveUrlError *failed = [DBFILESSaveUrlErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBFILESSaveUrlJobStatus alloc] initWithFailed:failed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILESLookupError.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBFILESFileMetadata.h" +#import "DBFILESSaveUrlResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESLookupError +@implementation DBFILESSaveUrlResult -@synthesize malformedPath = _malformedPath; +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithMalformedPath:(NSString *)malformedPath { - self = [super init]; - if (self) { - _tag = DBFILESLookupErrorMalformedPath; - _malformedPath = malformedPath; - } - return self; -} - -- (instancetype)initWithNotFound { - self = [super init]; - if (self) { - _tag = DBFILESLookupErrorNotFound; - } - return self; -} - -- (instancetype)initWithNotFile { +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { - _tag = DBFILESLookupErrorNotFile; + _tag = DBFILESSaveUrlResultAsyncJobId; + _asyncJobId = asyncJobId; } return self; } -- (instancetype)initWithNotFolder { +- (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { self = [super init]; if (self) { - _tag = DBFILESLookupErrorNotFolder; + _tag = DBFILESSaveUrlResultComplete; + _complete = complete; } return self; } -- (instancetype)initWithRestrictedContent { - self = [super init]; - if (self) { - _tag = DBFILESLookupErrorRestrictedContent; - } - return self; -} +#pragma mark - Instance field accessors -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILESLookupErrorOther; +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSaveUrlResultAsyncJobId, but was %@.", [self tagName]]; } - return self; + return _asyncJobId; } -#pragma mark - Instance field accessors - -- (NSString *)malformedPath { - if (![self isMalformedPath]) { +- (DBFILESFileMetadata *)complete { + if (![self isComplete]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESLookupErrorMalformedPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESSaveUrlResultComplete, but was %@.", [self tagName]]; } - return _malformedPath; + return _complete; } #pragma mark - Tag state methods -- (BOOL)isMalformedPath { - return _tag == DBFILESLookupErrorMalformedPath; -} - -- (BOOL)isNotFound { - return _tag == DBFILESLookupErrorNotFound; -} - -- (BOOL)isNotFile { - return _tag == DBFILESLookupErrorNotFile; -} - -- (BOOL)isNotFolder { - return _tag == DBFILESLookupErrorNotFolder; -} - -- (BOOL)isRestrictedContent { - return _tag == DBFILESLookupErrorRestrictedContent; +- (BOOL)isAsyncJobId { + return _tag == DBFILESSaveUrlResultAsyncJobId; } -- (BOOL)isOther { - return _tag == DBFILESLookupErrorOther; +- (BOOL)isComplete { + return _tag == DBFILESSaveUrlResultComplete; } - (NSString *)tagName { switch (_tag) { - case DBFILESLookupErrorMalformedPath: - return @"DBFILESLookupErrorMalformedPath"; - case DBFILESLookupErrorNotFound: - return @"DBFILESLookupErrorNotFound"; - case DBFILESLookupErrorNotFile: - return @"DBFILESLookupErrorNotFile"; - case DBFILESLookupErrorNotFolder: - return @"DBFILESLookupErrorNotFolder"; - case DBFILESLookupErrorRestrictedContent: - return @"DBFILESLookupErrorRestrictedContent"; - case DBFILESLookupErrorOther: - return @"DBFILESLookupErrorOther"; + case DBFILESSaveUrlResultAsyncJobId: + return @"DBFILESSaveUrlResultAsyncJobId"; + case DBFILESSaveUrlResultComplete: + return @"DBFILESSaveUrlResultComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -8224,18 +23006,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESLookupErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSaveUrlResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESLookupErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSaveUrlResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESLookupErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSaveUrlResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8253,20 +23035,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESLookupErrorMalformedPath: - if (self.malformedPath != nil) { - result = prime * result + [self.malformedPath hash]; - } - case DBFILESLookupErrorNotFound: - result = prime * result + [[self tagName] hash]; - case DBFILESLookupErrorNotFile: - result = prime * result + [[self tagName] hash]; - case DBFILESLookupErrorNotFolder: - result = prime * result + [[self tagName] hash]; - case DBFILESLookupErrorRestrictedContent: - result = prime * result + [[self tagName] hash]; - case DBFILESLookupErrorOther: - result = prime * result + [[self tagName] hash]; + case DBFILESSaveUrlResultAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBFILESSaveUrlResultComplete: + result = prime * result + [self.complete hash]; + break; } return prime * result; @@ -8281,31 +23055,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLookupError:other]; + return [self isEqualToSaveUrlResult:other]; } -- (BOOL)isEqualToLookupError:(DBFILESLookupError *)aLookupError { - if (self == aLookupError) { +- (BOOL)isEqualToSaveUrlResult:(DBFILESSaveUrlResult *)aSaveUrlResult { + if (self == aSaveUrlResult) { return YES; } - if (self.tag != aLookupError.tag) { + if (self.tag != aSaveUrlResult.tag) { return NO; } switch (_tag) { - case DBFILESLookupErrorMalformedPath: - if (self.malformedPath) { - return [self.malformedPath isEqual:aLookupError.malformedPath]; - } - case DBFILESLookupErrorNotFound: - return [[self tagName] isEqual:[aLookupError tagName]]; - case DBFILESLookupErrorNotFile: - return [[self tagName] isEqual:[aLookupError tagName]]; - case DBFILESLookupErrorNotFolder: - return [[self tagName] isEqual:[aLookupError tagName]]; - case DBFILESLookupErrorRestrictedContent: - return [[self tagName] isEqual:[aLookupError tagName]]; - case DBFILESLookupErrorOther: - return [[self tagName] isEqual:[aLookupError tagName]]; + case DBFILESSaveUrlResultAsyncJobId: + return [self.asyncJobId isEqual:aSaveUrlResult.asyncJobId]; + case DBFILESSaveUrlResultComplete: + return [self.complete isEqual:aSaveUrlResult.complete]; } return YES; } @@ -8314,131 +23078,96 @@ - (BOOL)isEqualToLookupError:(DBFILESLookupError *)aLookupError { #pragma mark - Serializer Object -@implementation DBFILESLookupErrorSerializer +@implementation DBFILESSaveUrlResultSerializer -+ (NSDictionary *)serialize:(DBFILESLookupError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSaveUrlResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMalformedPath]) { - if (valueObj.malformedPath) { - jsonDict[@"malformed_path"] = valueObj.malformedPath; - } - jsonDict[@".tag"] = @"malformed_path"; - } else if ([valueObj isNotFound]) { - jsonDict[@".tag"] = @"not_found"; - } else if ([valueObj isNotFile]) { - jsonDict[@".tag"] = @"not_file"; - } else if ([valueObj isNotFolder]) { - jsonDict[@".tag"] = @"not_folder"; - } else if ([valueObj isRestrictedContent]) { - jsonDict[@".tag"] = @"restricted_content"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESFileMetadataSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBFILESLookupError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"malformed_path"]) { - NSString *malformedPath = valueDict[@"malformed_path"] ? valueDict[@"malformed_path"] : nil; - return [[DBFILESLookupError alloc] initWithMalformedPath:malformedPath]; - } else if ([tag isEqualToString:@"not_found"]) { - return [[DBFILESLookupError alloc] initWithNotFound]; - } else if ([tag isEqualToString:@"not_file"]) { - return [[DBFILESLookupError alloc] initWithNotFile]; - } else if ([tag isEqualToString:@"not_folder"]) { - return [[DBFILESLookupError alloc] initWithNotFolder]; - } else if ([tag isEqualToString:@"restricted_content"]) { - return [[DBFILESLookupError alloc] initWithRestrictedContent]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESLookupError alloc] initWithOther]; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBFILESSaveUrlResult alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESFileMetadata *complete = [DBFILESFileMetadataSerializer deserialize:valueDict]; + return [[DBFILESSaveUrlResult alloc] initWithComplete:complete]; } else { - return [[DBFILESLookupError alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end -#import "DBFILESMediaInfo.h" -#import "DBFILESMediaMetadata.h" +#import "DBFILESSearchArg.h" +#import "DBFILESSearchMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESMediaInfo - -@synthesize metadata = _metadata; +@implementation DBFILESSearchArg #pragma mark - Constructors -- (instancetype)initWithPending { - self = [super init]; - if (self) { - _tag = DBFILESMediaInfoPending; - } - return self; -} +- (instancetype)initWithPath:(NSString *)path + query:(NSString *)query + start:(NSNumber *)start + maxResults:(NSNumber *)maxResults + mode:(DBFILESSearchMode *)mode { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(1000) pattern:nil]](query); -- (instancetype)initWithMetadata:(DBFILESMediaMetadata *)metadata { self = [super init]; if (self) { - _tag = DBFILESMediaInfoMetadata; - _metadata = metadata; + _path = path; + _query = query; + _start = start ?: @(0); + _maxResults = maxResults ?: @(100); + _mode = mode ?: [[DBFILESSearchMode alloc] initWithFilename]; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESMediaMetadata *)metadata { - if (![self isMetadata]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESMediaInfoMetadata, but was %@.", [self tagName]]; - } - return _metadata; -} - -#pragma mark - Tag state methods - -- (BOOL)isPending { - return _tag == DBFILESMediaInfoPending; -} - -- (BOOL)isMetadata { - return _tag == DBFILESMediaInfoMetadata; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESMediaInfoPending: - return @"DBFILESMediaInfoPending"; - case DBFILESMediaInfoMetadata: - return @"DBFILESMediaInfoMetadata"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithPath:(NSString *)path query:(NSString *)query { + return [self initWithPath:path query:query start:nil maxResults:nil mode:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESMediaInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESMediaInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESMediaInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8455,12 +23184,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESMediaInfoPending: - result = prime * result + [[self tagName] hash]; - case DBFILESMediaInfoMetadata: - result = prime * result + [self.metadata hash]; - } + result = prime * result + [self.path hash]; + result = prime * result + [self.query hash]; + result = prime * result + [self.start hash]; + result = prime * result + [self.maxResults hash]; + result = prime * result + [self.mode hash]; return prime * result; } @@ -8474,21 +23202,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMediaInfo:other]; + return [self isEqualToSearchArg:other]; } -- (BOOL)isEqualToMediaInfo:(DBFILESMediaInfo *)aMediaInfo { - if (self == aMediaInfo) { +- (BOOL)isEqualToSearchArg:(DBFILESSearchArg *)aSearchArg { + if (self == aSearchArg) { return YES; } - if (self.tag != aMediaInfo.tag) { + if (![self.path isEqual:aSearchArg.path]) { return NO; } - switch (_tag) { - case DBFILESMediaInfoPending: - return [[self tagName] isEqual:[aMediaInfo tagName]]; - case DBFILESMediaInfoMetadata: - return [self.metadata isEqual:aMediaInfo.metadata]; + if (![self.query isEqual:aSearchArg.query]) { + return NO; + } + if (![self.start isEqual:aSearchArg.start]) { + return NO; + } + if (![self.maxResults isEqual:aSearchArg.maxResults]) { + return NO; + } + if (![self.mode isEqual:aSearchArg.mode]) { + return NO; } return YES; } @@ -8497,88 +23231,146 @@ - (BOOL)isEqualToMediaInfo:(DBFILESMediaInfo *)aMediaInfo { #pragma mark - Serializer Object -@implementation DBFILESMediaInfoSerializer +@implementation DBFILESSearchArgSerializer -+ (NSDictionary *)serialize:(DBFILESMediaInfo *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPending]) { - jsonDict[@".tag"] = @"pending"; - } else if ([valueObj isMetadata]) { - jsonDict[@"metadata"] = [[DBFILESMediaMetadataSerializer serialize:valueObj.metadata] mutableCopy]; - jsonDict[@".tag"] = @"metadata"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"path"] = valueObj.path; + jsonDict[@"query"] = valueObj.query; + jsonDict[@"start"] = valueObj.start; + jsonDict[@"max_results"] = valueObj.maxResults; + jsonDict[@"mode"] = [DBFILESSearchModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESMediaInfo *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESSearchArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSString *query = valueDict[@"query"]; + NSNumber *start = valueDict[@"start"] ?: @(0); + NSNumber *maxResults = valueDict[@"max_results"] ?: @(100); + DBFILESSearchMode *mode = valueDict[@"mode"] ? [DBFILESSearchModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESSearchMode alloc] initWithFilename]; - if ([tag isEqualToString:@"pending"]) { - return [[DBFILESMediaInfo alloc] initWithPending]; - } else if ([tag isEqualToString:@"metadata"]) { - DBFILESMediaMetadata *metadata = [DBFILESMediaMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESMediaInfo alloc] initWithMetadata:metadata]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESSearchArg alloc] initWithPath:path query:query start:start maxResults:maxResults mode:mode]; } @end -#import "DBFILESDimensions.h" -#import "DBFILESGpsCoordinates.h" -#import "DBFILESMediaMetadata.h" -#import "DBFILESPhotoMetadata.h" -#import "DBFILESVideoMetadata.h" +#import "DBFILESLookupError.h" +#import "DBFILESSearchError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESMediaMetadata +@implementation DBFILESSearchError + +@synthesize path = _path; +@synthesize invalidArgument = _invalidArgument; #pragma mark - Constructors -- (instancetype)initWithDimensions:(DBFILESDimensions *)dimensions - location:(DBFILESGpsCoordinates *)location - timeTaken:(NSDate *)timeTaken { +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBFILESSearchErrorPath; + _path = path; + } + return self; +} +- (instancetype)initWithInvalidArgument:(NSString *)invalidArgument { self = [super init]; if (self) { - _dimensions = dimensions; - _location = location; - _timeTaken = timeTaken; + _tag = DBFILESSearchErrorInvalidArgument; + _invalidArgument = invalidArgument; } return self; } -- (instancetype)initDefault { - return [self initWithDimensions:nil location:nil timeTaken:nil]; +- (instancetype)initWithInternalError { + self = [super init]; + if (self) { + _tag = DBFILESSearchErrorInternalError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESSearchErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSearchErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +- (NSString *)invalidArgument { + if (![self isInvalidArgument]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSearchErrorInvalidArgument, but was %@.", [self tagName]]; + } + return _invalidArgument; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESSearchErrorPath; +} + +- (BOOL)isInvalidArgument { + return _tag == DBFILESSearchErrorInvalidArgument; +} + +- (BOOL)isInternalError { + return _tag == DBFILESSearchErrorInternalError; +} + +- (BOOL)isOther { + return _tag == DBFILESSearchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESSearchErrorPath: + return @"DBFILESSearchErrorPath"; + case DBFILESSearchErrorInvalidArgument: + return @"DBFILESSearchErrorInvalidArgument"; + case DBFILESSearchErrorInternalError: + return @"DBFILESSearchErrorInternalError"; + case DBFILESSearchErrorOther: + return @"DBFILESSearchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESMediaMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESMediaMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESMediaMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8588,21 +23380,28 @@ - (instancetype)copyWithZone:(NSZone *)zone { /// object is immutable return self; } - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - if (self.dimensions != nil) { - result = prime * result + [self.dimensions hash]; - } - if (self.location != nil) { - result = prime * result + [self.location hash]; - } - if (self.timeTaken != nil) { - result = prime * result + [self.timeTaken hash]; + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBFILESSearchErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESSearchErrorInvalidArgument: + if (self.invalidArgument != nil) { + result = prime * result + [self.invalidArgument hash]; + } + break; + case DBFILESSearchErrorInternalError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -8617,27 +23416,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMediaMetadata:other]; + return [self isEqualToSearchError:other]; } -- (BOOL)isEqualToMediaMetadata:(DBFILESMediaMetadata *)aMediaMetadata { - if (self == aMediaMetadata) { +- (BOOL)isEqualToSearchError:(DBFILESSearchError *)aSearchError { + if (self == aSearchError) { return YES; } - if (self.dimensions) { - if (![self.dimensions isEqual:aMediaMetadata.dimensions]) { - return NO; - } - } - if (self.location) { - if (![self.location isEqual:aMediaMetadata.location]) { - return NO; - } + if (self.tag != aSearchError.tag) { + return NO; } - if (self.timeTaken) { - if (![self.timeTaken isEqual:aMediaMetadata.timeTaken]) { - return NO; + switch (_tag) { + case DBFILESSearchErrorPath: + return [self.path isEqual:aSearchError.path]; + case DBFILESSearchErrorInvalidArgument: + if (self.invalidArgument) { + return [self.invalidArgument isEqual:aSearchError.invalidArgument]; } + case DBFILESSearchErrorInternalError: + return [[self tagName] isEqual:[aSearchError tagName]]; + case DBFILESSearchErrorOther: + return [[self tagName] isEqual:[aSearchError tagName]]; } return YES; } @@ -8646,95 +23445,88 @@ - (BOOL)isEqualToMediaMetadata:(DBFILESMediaMetadata *)aMediaMetadata { #pragma mark - Serializer Object -@implementation DBFILESMediaMetadataSerializer +@implementation DBFILESSearchErrorSerializer -+ (NSDictionary *)serialize:(DBFILESMediaMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dimensions) { - jsonDict[@"dimensions"] = [DBFILESDimensionsSerializer serialize:valueObj.dimensions]; - } - if (valueObj.location) { - jsonDict[@"location"] = [DBFILESGpsCoordinatesSerializer serialize:valueObj.location]; - } - if (valueObj.timeTaken) { - jsonDict[@"time_taken"] = [DBNSDateSerializer serialize:valueObj.timeTaken dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - - if ([valueObj isKindOfClass:[DBFILESPhotoMetadata class]]) { - NSDictionary *subTypeFields = [DBFILESPhotoMetadataSerializer serialize:(DBFILESPhotoMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"photo"; - } else if ([valueObj isKindOfClass:[DBFILESVideoMetadata class]]) { - NSDictionary *subTypeFields = [DBFILESVideoMetadataSerializer serialize:(DBFILESVideoMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isInvalidArgument]) { + if (valueObj.invalidArgument) { + jsonDict[@"invalid_argument"] = valueObj.invalidArgument; } - jsonDict[@".tag"] = @"video"; + jsonDict[@".tag"] = @"invalid_argument"; + } else if ([valueObj isInternalError]) { + jsonDict[@".tag"] = @"internal_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESMediaMetadata *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"photo"]) { - return [DBFILESPhotoMetadataSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"video"]) { - return [DBFILESVideoMetadataSerializer deserialize:valueDict]; - } ++ (DBFILESSearchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESSearchError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"invalid_argument"]) { + NSString *invalidArgument = valueDict[@"invalid_argument"] ? valueDict[@"invalid_argument"] : nil; + return [[DBFILESSearchError alloc] initWithInvalidArgument:invalidArgument]; + } else if ([tag isEqualToString:@"internal_error"]) { + return [[DBFILESSearchError alloc] initWithInternalError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSearchError alloc] initWithOther]; + } else { + return [[DBFILESSearchError alloc] initWithOther]; + } } @end -#import "DBFILESDimensions.h" -#import "DBFILESGpsCoordinates.h" -#import "DBFILESMediaMetadata.h" -#import "DBFILESPhotoMetadata.h" +#import "DBFILESMetadata.h" +#import "DBFILESSearchMatch.h" +#import "DBFILESSearchMatchType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESPhotoMetadata +@implementation DBFILESSearchMatch #pragma mark - Constructors -- (instancetype)initWithDimensions:(DBFILESDimensions *)dimensions - location:(DBFILESGpsCoordinates *)location - timeTaken:(NSDate *)timeTaken { +- (instancetype)initWithMatchType:(DBFILESSearchMatchType *)matchType metadata:(DBFILESMetadata *)metadata { + [DBStoneValidators nonnullValidator:nil](matchType); + [DBStoneValidators nonnullValidator:nil](metadata); - self = [super initWithDimensions:dimensions location:location timeTaken:timeTaken]; + self = [super init]; if (self) { + _matchType = matchType; + _metadata = metadata; } return self; } -- (instancetype)initDefault { - return [self initWithDimensions:nil location:nil timeTaken:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESPhotoMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchMatchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESPhotoMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchMatchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESPhotoMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchMatchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8751,15 +23543,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dimensions != nil) { - result = prime * result + [self.dimensions hash]; - } - if (self.location != nil) { - result = prime * result + [self.location hash]; - } - if (self.timeTaken != nil) { - result = prime * result + [self.timeTaken hash]; - } + result = prime * result + [self.matchType hash]; + result = prime * result + [self.metadata hash]; return prime * result; } @@ -8773,27 +23558,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPhotoMetadata:other]; + return [self isEqualToSearchMatch:other]; } -- (BOOL)isEqualToPhotoMetadata:(DBFILESPhotoMetadata *)aPhotoMetadata { - if (self == aPhotoMetadata) { +- (BOOL)isEqualToSearchMatch:(DBFILESSearchMatch *)aSearchMatch { + if (self == aSearchMatch) { return YES; } - if (self.dimensions) { - if (![self.dimensions isEqual:aPhotoMetadata.dimensions]) { - return NO; - } - } - if (self.location) { - if (![self.location isEqual:aPhotoMetadata.location]) { - return NO; - } + if (![self.matchType isEqual:aSearchMatch.matchType]) { + return NO; } - if (self.timeTaken) { - if (![self.timeTaken isEqual:aPhotoMetadata.timeTaken]) { - return NO; - } + if (![self.metadata isEqual:aSearchMatch.metadata]) { + return NO; } return YES; } @@ -8802,83 +23578,63 @@ - (BOOL)isEqualToPhotoMetadata:(DBFILESPhotoMetadata *)aPhotoMetadata { #pragma mark - Serializer Object -@implementation DBFILESPhotoMetadataSerializer +@implementation DBFILESSearchMatchSerializer -+ (NSDictionary *)serialize:(DBFILESPhotoMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMatch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dimensions) { - jsonDict[@"dimensions"] = [DBFILESDimensionsSerializer serialize:valueObj.dimensions]; - } - if (valueObj.location) { - jsonDict[@"location"] = [DBFILESGpsCoordinatesSerializer serialize:valueObj.location]; - } - if (valueObj.timeTaken) { - jsonDict[@"time_taken"] = [DBNSDateSerializer serialize:valueObj.timeTaken dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } + jsonDict[@"match_type"] = [DBFILESSearchMatchTypeSerializer serialize:valueObj.matchType]; + jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)valueDict { - DBFILESDimensions *dimensions = - valueDict[@"dimensions"] ? [DBFILESDimensionsSerializer deserialize:valueDict[@"dimensions"]] : nil; - DBFILESGpsCoordinates *location = - valueDict[@"location"] ? [DBFILESGpsCoordinatesSerializer deserialize:valueDict[@"location"]] : nil; - NSDate *timeTaken = valueDict[@"time_taken"] - ? [DBNSDateSerializer deserialize:valueDict[@"time_taken"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBFILESSearchMatch *)deserialize:(NSDictionary *)valueDict { + DBFILESSearchMatchType *matchType = [DBFILESSearchMatchTypeSerializer deserialize:valueDict[@"match_type"]]; + DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - return [[DBFILESPhotoMetadata alloc] initWithDimensions:dimensions location:location timeTaken:timeTaken]; + return [[DBFILESSearchMatch alloc] initWithMatchType:matchType metadata:metadata]; } @end -#import "DBFILESPreviewArg.h" +#import "DBFILESSearchMatchFieldOptions.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESPreviewArg +@implementation DBFILESSearchMatchFieldOptions #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); +- (instancetype)initWithIncludeHighlights:(NSNumber *)includeHighlights { self = [super init]; if (self) { - _path = path; - _rev = rev; + _includeHighlights = includeHighlights ?: @NO; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path rev:nil]; +- (instancetype)initDefault { + return [self initWithIncludeHighlights:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESPreviewArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchMatchFieldOptionsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESPreviewArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchMatchFieldOptionsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESPreviewArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchMatchFieldOptionsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8895,10 +23651,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.rev != nil) { - result = prime * result + [self.rev hash]; - } + result = prime * result + [self.includeHighlights hash]; return prime * result; } @@ -8912,21 +23665,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPreviewArg:other]; + return [self isEqualToSearchMatchFieldOptions:other]; } -- (BOOL)isEqualToPreviewArg:(DBFILESPreviewArg *)aPreviewArg { - if (self == aPreviewArg) { +- (BOOL)isEqualToSearchMatchFieldOptions:(DBFILESSearchMatchFieldOptions *)aSearchMatchFieldOptions { + if (self == aSearchMatchFieldOptions) { return YES; } - if (![self.path isEqual:aPreviewArg.path]) { + if (![self.includeHighlights isEqual:aSearchMatchFieldOptions.includeHighlights]) { return NO; } - if (self.rev) { - if (![self.rev isEqual:aPreviewArg.rev]) { - return NO; - } - } return YES; } @@ -8934,112 +23682,82 @@ - (BOOL)isEqualToPreviewArg:(DBFILESPreviewArg *)aPreviewArg { #pragma mark - Serializer Object -@implementation DBFILESPreviewArgSerializer +@implementation DBFILESSearchMatchFieldOptionsSerializer -+ (NSDictionary *)serialize:(DBFILESPreviewArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMatchFieldOptions *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - if (valueObj.rev) { - jsonDict[@"rev"] = valueObj.rev; - } + jsonDict[@"include_highlights"] = valueObj.includeHighlights; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESPreviewArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSString *rev = valueDict[@"rev"] ?: nil; ++ (DBFILESSearchMatchFieldOptions *)deserialize:(NSDictionary *)valueDict { + NSNumber *includeHighlights = valueDict[@"include_highlights"] ?: @NO; - return [[DBFILESPreviewArg alloc] initWithPath:path rev:rev]; + return [[DBFILESSearchMatchFieldOptions alloc] initWithIncludeHighlights:includeHighlights]; } @end -#import "DBFILESLookupError.h" -#import "DBFILESPreviewError.h" +#import "DBFILESSearchMatchType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESPreviewError - -@synthesize path = _path; +@implementation DBFILESSearchMatchType #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBFILESPreviewErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithInProgress { +- (instancetype)initWithFilename { self = [super init]; if (self) { - _tag = DBFILESPreviewErrorInProgress; + _tag = DBFILESSearchMatchTypeFilename; } return self; } -- (instancetype)initWithUnsupportedExtension { +- (instancetype)initWithContent { self = [super init]; if (self) { - _tag = DBFILESPreviewErrorUnsupportedExtension; + _tag = DBFILESSearchMatchTypeContent; } return self; } -- (instancetype)initWithUnsupportedContent { +- (instancetype)initWithBoth { self = [super init]; if (self) { - _tag = DBFILESPreviewErrorUnsupportedContent; + _tag = DBFILESSearchMatchTypeBoth; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESPreviewErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESPreviewErrorPath; -} +#pragma mark - Tag state methods -- (BOOL)isInProgress { - return _tag == DBFILESPreviewErrorInProgress; +- (BOOL)isFilename { + return _tag == DBFILESSearchMatchTypeFilename; } -- (BOOL)isUnsupportedExtension { - return _tag == DBFILESPreviewErrorUnsupportedExtension; +- (BOOL)isContent { + return _tag == DBFILESSearchMatchTypeContent; } -- (BOOL)isUnsupportedContent { - return _tag == DBFILESPreviewErrorUnsupportedContent; +- (BOOL)isBoth { + return _tag == DBFILESSearchMatchTypeBoth; } - (NSString *)tagName { switch (_tag) { - case DBFILESPreviewErrorPath: - return @"DBFILESPreviewErrorPath"; - case DBFILESPreviewErrorInProgress: - return @"DBFILESPreviewErrorInProgress"; - case DBFILESPreviewErrorUnsupportedExtension: - return @"DBFILESPreviewErrorUnsupportedExtension"; - case DBFILESPreviewErrorUnsupportedContent: - return @"DBFILESPreviewErrorUnsupportedContent"; + case DBFILESSearchMatchTypeFilename: + return @"DBFILESSearchMatchTypeFilename"; + case DBFILESSearchMatchTypeContent: + return @"DBFILESSearchMatchTypeContent"; + case DBFILESSearchMatchTypeBoth: + return @"DBFILESSearchMatchTypeBoth"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -9047,18 +23765,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESPreviewErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchMatchTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESPreviewErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchMatchTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESPreviewErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchMatchTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9076,14 +23794,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESPreviewErrorPath: - result = prime * result + [self.path hash]; - case DBFILESPreviewErrorInProgress: + case DBFILESSearchMatchTypeFilename: result = prime * result + [[self tagName] hash]; - case DBFILESPreviewErrorUnsupportedExtension: + break; + case DBFILESSearchMatchTypeContent: result = prime * result + [[self tagName] hash]; - case DBFILESPreviewErrorUnsupportedContent: + break; + case DBFILESSearchMatchTypeBoth: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9098,25 +23817,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPreviewError:other]; + return [self isEqualToSearchMatchType:other]; } -- (BOOL)isEqualToPreviewError:(DBFILESPreviewError *)aPreviewError { - if (self == aPreviewError) { +- (BOOL)isEqualToSearchMatchType:(DBFILESSearchMatchType *)aSearchMatchType { + if (self == aSearchMatchType) { return YES; } - if (self.tag != aPreviewError.tag) { + if (self.tag != aSearchMatchType.tag) { return NO; } switch (_tag) { - case DBFILESPreviewErrorPath: - return [self.path isEqual:aPreviewError.path]; - case DBFILESPreviewErrorInProgress: - return [[self tagName] isEqual:[aPreviewError tagName]]; - case DBFILESPreviewErrorUnsupportedExtension: - return [[self tagName] isEqual:[aPreviewError tagName]]; - case DBFILESPreviewErrorUnsupportedContent: - return [[self tagName] isEqual:[aPreviewError tagName]]; + case DBFILESSearchMatchTypeFilename: + return [[self tagName] isEqual:[aSearchMatchType tagName]]; + case DBFILESSearchMatchTypeContent: + return [[self tagName] isEqual:[aSearchMatchType tagName]]; + case DBFILESSearchMatchTypeBoth: + return [[self tagName] isEqual:[aSearchMatchType tagName]]; } return YES; } @@ -9125,41 +23842,35 @@ - (BOOL)isEqualToPreviewError:(DBFILESPreviewError *)aPreviewError { #pragma mark - Serializer Object -@implementation DBFILESPreviewErrorSerializer +@implementation DBFILESSearchMatchTypeSerializer -+ (NSDictionary *)serialize:(DBFILESPreviewError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMatchType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isUnsupportedExtension]) { - jsonDict[@".tag"] = @"unsupported_extension"; - } else if ([valueObj isUnsupportedContent]) { - jsonDict[@".tag"] = @"unsupported_content"; + if ([valueObj isFilename]) { + jsonDict[@".tag"] = @"filename"; + } else if ([valueObj isContent]) { + jsonDict[@".tag"] = @"content"; + } else if ([valueObj isBoth]) { + jsonDict[@".tag"] = @"both"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESPreviewError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESSearchMatchType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESPreviewError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"in_progress"]) { - return [[DBFILESPreviewError alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"unsupported_extension"]) { - return [[DBFILESPreviewError alloc] initWithUnsupportedExtension]; - } else if ([tag isEqualToString:@"unsupported_content"]) { - return [[DBFILESPreviewError alloc] initWithUnsupportedContent]; + if ([tag isEqualToString:@"filename"]) { + return [[DBFILESSearchMatchType alloc] initWithFilename]; + } else if ([tag isEqualToString:@"content"]) { + return [[DBFILESSearchMatchType alloc] initWithContent]; + } else if ([tag isEqualToString:@"both"]) { + return [[DBFILESSearchMatchType alloc] initWithBoth]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -9170,171 +23881,111 @@ + (DBFILESPreviewError *)deserialize:(NSDictionary *)valueDict { @end -#import "DBFILESRelocationPath.h" +#import "DBFILESSearchMatchTypeV2.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationPath +@implementation DBFILESSearchMatchTypeV2 #pragma mark - Constructors -- (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](fromPath); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](toPath); - +- (instancetype)initWithFilename { self = [super init]; if (self) { - _fromPath = fromPath; - _toPath = toPath; + _tag = DBFILESSearchMatchTypeV2Filename; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationPathSerializer serialize:instance]; +- (instancetype)initWithFileContent { + self = [super init]; + if (self) { + _tag = DBFILESSearchMatchTypeV2FileContent; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationPathSerializer deserialize:dict]; +- (instancetype)initWithFilenameAndContent { + self = [super init]; + if (self) { + _tag = DBFILESSearchMatchTypeV2FilenameAndContent; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESRelocationPathSerializer serialize:self] description]; +- (instancetype)initWithImageContent { + self = [super init]; + if (self) { + _tag = DBFILESSearchMatchTypeV2ImageContent; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESSearchMatchTypeV2Other; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; +#pragma mark - Instance field accessors - result = prime * result + [self.fromPath hash]; - result = prime * result + [self.toPath hash]; +#pragma mark - Tag state methods - return prime * result; +- (BOOL)isFilename { + return _tag == DBFILESSearchMatchTypeV2Filename; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToRelocationPath:other]; +- (BOOL)isFileContent { + return _tag == DBFILESSearchMatchTypeV2FileContent; } -- (BOOL)isEqualToRelocationPath:(DBFILESRelocationPath *)aRelocationPath { - if (self == aRelocationPath) { - return YES; - } - if (![self.fromPath isEqual:aRelocationPath.fromPath]) { - return NO; - } - if (![self.toPath isEqual:aRelocationPath.toPath]) { - return NO; - } - return YES; +- (BOOL)isFilenameAndContent { + return _tag == DBFILESSearchMatchTypeV2FilenameAndContent; } -@end - -#pragma mark - Serializer Object - -@implementation DBFILESRelocationPathSerializer - -+ (NSDictionary *)serialize:(DBFILESRelocationPath *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"from_path"] = valueObj.fromPath; - jsonDict[@"to_path"] = valueObj.toPath; - - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isImageContent { + return _tag == DBFILESSearchMatchTypeV2ImageContent; } -+ (DBFILESRelocationPath *)deserialize:(NSDictionary *)valueDict { - NSString *fromPath = valueDict[@"from_path"]; - NSString *toPath = valueDict[@"to_path"]; - - return [[DBFILESRelocationPath alloc] initWithFromPath:fromPath toPath:toPath]; +- (BOOL)isOther { + return _tag == DBFILESSearchMatchTypeV2Other; } -@end - -#import "DBFILESRelocationArg.h" -#import "DBFILESRelocationPath.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESRelocationArg - -#pragma mark - Constructors - -- (instancetype)initWithFromPath:(NSString *)fromPath - toPath:(NSString *)toPath - allowSharedFolder:(NSNumber *)allowSharedFolder - autorename:(NSNumber *)autorename - allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](fromPath); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](toPath); - - self = [super initWithFromPath:fromPath toPath:toPath]; - if (self) { - _allowSharedFolder = allowSharedFolder ?: @NO; - _autorename = autorename ?: @NO; - _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; +- (NSString *)tagName { + switch (_tag) { + case DBFILESSearchMatchTypeV2Filename: + return @"DBFILESSearchMatchTypeV2Filename"; + case DBFILESSearchMatchTypeV2FileContent: + return @"DBFILESSearchMatchTypeV2FileContent"; + case DBFILESSearchMatchTypeV2FilenameAndContent: + return @"DBFILESSearchMatchTypeV2FilenameAndContent"; + case DBFILESSearchMatchTypeV2ImageContent: + return @"DBFILESSearchMatchTypeV2ImageContent"; + case DBFILESSearchMatchTypeV2Other: + return @"DBFILESSearchMatchTypeV2Other"; } - return self; -} -- (instancetype)initWithFromPath:(NSString *)fromPath toPath:(NSString *)toPath { - return [self initWithFromPath:fromPath toPath:toPath allowSharedFolder:nil autorename:nil allowOwnershipTransfer:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchMatchTypeV2Serializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchMatchTypeV2Serializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchMatchTypeV2Serializer serialize:self] description]; } #pragma mark - Copyable method @@ -9351,11 +24002,23 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.fromPath hash]; - result = prime * result + [self.toPath hash]; - result = prime * result + [self.allowSharedFolder hash]; - result = prime * result + [self.autorename hash]; - result = prime * result + [self.allowOwnershipTransfer hash]; + switch (_tag) { + case DBFILESSearchMatchTypeV2Filename: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchMatchTypeV2FileContent: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchMatchTypeV2FilenameAndContent: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchMatchTypeV2ImageContent: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchMatchTypeV2Other: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -9363,33 +24026,33 @@ - (NSUInteger)hash { #pragma mark - Equality method - (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToRelocationArg:other]; -} - -- (BOOL)isEqualToRelocationArg:(DBFILESRelocationArg *)aRelocationArg { - if (self == aRelocationArg) { - return YES; - } - if (![self.fromPath isEqual:aRelocationArg.fromPath]) { - return NO; + if (other == self) { + return YES; } - if (![self.toPath isEqual:aRelocationArg.toPath]) { + if (!other || ![other isKindOfClass:[self class]]) { return NO; } - if (![self.allowSharedFolder isEqual:aRelocationArg.allowSharedFolder]) { - return NO; + return [self isEqualToSearchMatchTypeV2:other]; +} + +- (BOOL)isEqualToSearchMatchTypeV2:(DBFILESSearchMatchTypeV2 *)aSearchMatchTypeV2 { + if (self == aSearchMatchTypeV2) { + return YES; } - if (![self.autorename isEqual:aRelocationArg.autorename]) { + if (self.tag != aSearchMatchTypeV2.tag) { return NO; } - if (![self.allowOwnershipTransfer isEqual:aRelocationArg.allowOwnershipTransfer]) { - return NO; + switch (_tag) { + case DBFILESSearchMatchTypeV2Filename: + return [[self tagName] isEqual:[aSearchMatchTypeV2 tagName]]; + case DBFILESSearchMatchTypeV2FileContent: + return [[self tagName] isEqual:[aSearchMatchTypeV2 tagName]]; + case DBFILESSearchMatchTypeV2FilenameAndContent: + return [[self tagName] isEqual:[aSearchMatchTypeV2 tagName]]; + case DBFILESSearchMatchTypeV2ImageContent: + return [[self tagName] isEqual:[aSearchMatchTypeV2 tagName]]; + case DBFILESSearchMatchTypeV2Other: + return [[self tagName] isEqual:[aSearchMatchTypeV2 tagName]]; } return YES; } @@ -9398,84 +24061,97 @@ - (BOOL)isEqualToRelocationArg:(DBFILESRelocationArg *)aRelocationArg { #pragma mark - Serializer Object -@implementation DBFILESRelocationArgSerializer +@implementation DBFILESSearchMatchTypeV2Serializer -+ (NSDictionary *)serialize:(DBFILESRelocationArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMatchTypeV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"from_path"] = valueObj.fromPath; - jsonDict[@"to_path"] = valueObj.toPath; - jsonDict[@"allow_shared_folder"] = valueObj.allowSharedFolder; - jsonDict[@"autorename"] = valueObj.autorename; - jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; + if ([valueObj isFilename]) { + jsonDict[@".tag"] = @"filename"; + } else if ([valueObj isFileContent]) { + jsonDict[@".tag"] = @"file_content"; + } else if ([valueObj isFilenameAndContent]) { + jsonDict[@".tag"] = @"filename_and_content"; + } else if ([valueObj isImageContent]) { + jsonDict[@".tag"] = @"image_content"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationArg *)deserialize:(NSDictionary *)valueDict { - NSString *fromPath = valueDict[@"from_path"]; - NSString *toPath = valueDict[@"to_path"]; - NSNumber *allowSharedFolder = valueDict[@"allow_shared_folder"] ?: @NO; - NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - NSNumber *allowOwnershipTransfer = valueDict[@"allow_ownership_transfer"] ?: @NO; ++ (DBFILESSearchMatchTypeV2 *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESRelocationArg alloc] initWithFromPath:fromPath - toPath:toPath - allowSharedFolder:allowSharedFolder - autorename:autorename - allowOwnershipTransfer:allowOwnershipTransfer]; + if ([tag isEqualToString:@"filename"]) { + return [[DBFILESSearchMatchTypeV2 alloc] initWithFilename]; + } else if ([tag isEqualToString:@"file_content"]) { + return [[DBFILESSearchMatchTypeV2 alloc] initWithFileContent]; + } else if ([tag isEqualToString:@"filename_and_content"]) { + return [[DBFILESSearchMatchTypeV2 alloc] initWithFilenameAndContent]; + } else if ([tag isEqualToString:@"image_content"]) { + return [[DBFILESSearchMatchTypeV2 alloc] initWithImageContent]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSearchMatchTypeV2 alloc] initWithOther]; + } else { + return [[DBFILESSearchMatchTypeV2 alloc] initWithOther]; + } } @end -#import "DBFILESRelocationBatchArg.h" -#import "DBFILESRelocationPath.h" +#import "DBFILESHighlightSpan.h" +#import "DBFILESMetadataV2.h" +#import "DBFILESSearchMatchTypeV2.h" +#import "DBFILESSearchMatchV2.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchArg +@implementation DBFILESSearchMatchV2 #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries - allowSharedFolder:(NSNumber *)allowSharedFolder - autorename:(NSNumber *)autorename - allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { +- (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata + matchType:(DBFILESSearchMatchTypeV2 *)matchType + highlightSpans:(NSArray *)highlightSpans { + [DBStoneValidators nonnullValidator:nil](metadata); [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](highlightSpans); self = [super init]; if (self) { - _entries = entries; - _allowSharedFolder = allowSharedFolder ?: @NO; - _autorename = autorename ?: @NO; - _allowOwnershipTransfer = allowOwnershipTransfer ?: @NO; + _metadata = metadata; + _matchType = matchType; + _highlightSpans = highlightSpans; } return self; } -- (instancetype)initWithEntries:(NSArray *)entries { - return [self initWithEntries:entries allowSharedFolder:nil autorename:nil allowOwnershipTransfer:nil]; +- (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata { + return [self initWithMetadata:metadata matchType:nil highlightSpans:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchMatchV2Serializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchMatchV2Serializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchMatchV2Serializer serialize:self] description]; } #pragma mark - Copyable method @@ -9492,10 +24168,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; - result = prime * result + [self.allowSharedFolder hash]; - result = prime * result + [self.autorename hash]; - result = prime * result + [self.allowOwnershipTransfer hash]; + result = prime * result + [self.metadata hash]; + if (self.matchType != nil) { + result = prime * result + [self.matchType hash]; + } + if (self.highlightSpans != nil) { + result = prime * result + [self.highlightSpans hash]; + } return prime * result; } @@ -9509,24 +24188,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchArg:other]; + return [self isEqualToSearchMatchV2:other]; } -- (BOOL)isEqualToRelocationBatchArg:(DBFILESRelocationBatchArg *)aRelocationBatchArg { - if (self == aRelocationBatchArg) { +- (BOOL)isEqualToSearchMatchV2:(DBFILESSearchMatchV2 *)aSearchMatchV2 { + if (self == aSearchMatchV2) { return YES; } - if (![self.entries isEqual:aRelocationBatchArg.entries]) { - return NO; - } - if (![self.allowSharedFolder isEqual:aRelocationBatchArg.allowSharedFolder]) { + if (![self.metadata isEqual:aSearchMatchV2.metadata]) { return NO; } - if (![self.autorename isEqual:aRelocationBatchArg.autorename]) { - return NO; + if (self.matchType) { + if (![self.matchType isEqual:aSearchMatchV2.matchType]) { + return NO; + } } - if (![self.allowOwnershipTransfer isEqual:aRelocationBatchArg.allowOwnershipTransfer]) { - return NO; + if (self.highlightSpans) { + if (![self.highlightSpans isEqual:aSearchMatchV2.highlightSpans]) { + return NO; + } } return YES; } @@ -9535,243 +24215,99 @@ - (BOOL)isEqualToRelocationBatchArg:(DBFILESRelocationBatchArg *)aRelocationBatc #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchArgSerializer +@implementation DBFILESSearchMatchV2Serializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMatchV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESRelocationPathSerializer serialize:elem0]; - }]; - jsonDict[@"allow_shared_folder"] = valueObj.allowSharedFolder; - jsonDict[@"autorename"] = valueObj.autorename; - jsonDict[@"allow_ownership_transfer"] = valueObj.allowOwnershipTransfer; + jsonDict[@"metadata"] = [DBFILESMetadataV2Serializer serialize:valueObj.metadata]; + if (valueObj.matchType) { + jsonDict[@"match_type"] = [DBFILESSearchMatchTypeV2Serializer serialize:valueObj.matchType]; + } + if (valueObj.highlightSpans) { + jsonDict[@"highlight_spans"] = [DBArraySerializer serialize:valueObj.highlightSpans + withBlock:^id(id elem0) { + return [DBFILESHighlightSpanSerializer serialize:elem0]; + }]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESRelocationPathSerializer deserialize:elem0]; - }]; - NSNumber *allowSharedFolder = valueDict[@"allow_shared_folder"] ?: @NO; - NSNumber *autorename = valueDict[@"autorename"] ?: @NO; - NSNumber *allowOwnershipTransfer = valueDict[@"allow_ownership_transfer"] ?: @NO; ++ (DBFILESSearchMatchV2 *)deserialize:(NSDictionary *)valueDict { + DBFILESMetadataV2 *metadata = [DBFILESMetadataV2Serializer deserialize:valueDict[@"metadata"]]; + DBFILESSearchMatchTypeV2 *matchType = + valueDict[@"match_type"] ? [DBFILESSearchMatchTypeV2Serializer deserialize:valueDict[@"match_type"]] : nil; + NSArray *highlightSpans = + valueDict[@"highlight_spans"] ? [DBArraySerializer deserialize:valueDict[@"highlight_spans"] + withBlock:^id(id elem0) { + return [DBFILESHighlightSpanSerializer deserialize:elem0]; + }] + : nil; - return [[DBFILESRelocationBatchArg alloc] initWithEntries:entries - allowSharedFolder:allowSharedFolder - autorename:autorename - allowOwnershipTransfer:allowOwnershipTransfer]; + return [[DBFILESSearchMatchV2 alloc] initWithMetadata:metadata matchType:matchType highlightSpans:highlightSpans]; } @end -#import "DBFILESLookupError.h" -#import "DBFILESRelocationError.h" -#import "DBFILESWriteError.h" +#import "DBFILESSearchMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationError - -@synthesize fromLookup = _fromLookup; -@synthesize fromWrite = _fromWrite; -@synthesize to = _to; +@implementation DBFILESSearchMode #pragma mark - Constructors -- (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorFromLookup; - _fromLookup = fromLookup; - } - return self; -} - -- (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorFromWrite; - _fromWrite = fromWrite; - } - return self; -} - -- (instancetype)initWithTo:(DBFILESWriteError *)to { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorTo; - _to = to; - } - return self; -} - -- (instancetype)initWithCantCopySharedFolder { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorCantCopySharedFolder; - } - return self; -} - -- (instancetype)initWithCantNestSharedFolder { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorCantNestSharedFolder; - } - return self; -} - -- (instancetype)initWithCantMoveFolderIntoItself { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorCantMoveFolderIntoItself; - } - return self; -} - -- (instancetype)initWithTooManyFiles { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorTooManyFiles; - } - return self; -} - -- (instancetype)initWithDuplicatedOrNestedPaths { - self = [super init]; - if (self) { - _tag = DBFILESRelocationErrorDuplicatedOrNestedPaths; - } - return self; -} - -- (instancetype)initWithCantTransferOwnership { +- (instancetype)initWithFilename { self = [super init]; if (self) { - _tag = DBFILESRelocationErrorCantTransferOwnership; + _tag = DBFILESSearchModeFilename; } return self; } -- (instancetype)initWithInsufficientQuota { +- (instancetype)initWithFilenameAndContent { self = [super init]; if (self) { - _tag = DBFILESRelocationErrorInsufficientQuota; + _tag = DBFILESSearchModeFilenameAndContent; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithDeletedFilename { self = [super init]; if (self) { - _tag = DBFILESRelocationErrorOther; + _tag = DBFILESSearchModeDeletedFilename; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)fromLookup { - if (![self isFromLookup]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationErrorFromLookup, but was %@.", [self tagName]]; - } - return _fromLookup; -} - -- (DBFILESWriteError *)fromWrite { - if (![self isFromWrite]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationErrorFromWrite, but was %@.", [self tagName]]; - } - return _fromWrite; -} - -- (DBFILESWriteError *)to { - if (![self isTo]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationErrorTo, but was %@.", [self tagName]]; - } - return _to; -} - -#pragma mark - Tag state methods - -- (BOOL)isFromLookup { - return _tag == DBFILESRelocationErrorFromLookup; -} - -- (BOOL)isFromWrite { - return _tag == DBFILESRelocationErrorFromWrite; -} - -- (BOOL)isTo { - return _tag == DBFILESRelocationErrorTo; -} - -- (BOOL)isCantCopySharedFolder { - return _tag == DBFILESRelocationErrorCantCopySharedFolder; -} - -- (BOOL)isCantNestSharedFolder { - return _tag == DBFILESRelocationErrorCantNestSharedFolder; -} - -- (BOOL)isCantMoveFolderIntoItself { - return _tag == DBFILESRelocationErrorCantMoveFolderIntoItself; -} - -- (BOOL)isTooManyFiles { - return _tag == DBFILESRelocationErrorTooManyFiles; -} - -- (BOOL)isDuplicatedOrNestedPaths { - return _tag == DBFILESRelocationErrorDuplicatedOrNestedPaths; -} +#pragma mark - Instance field accessors -- (BOOL)isCantTransferOwnership { - return _tag == DBFILESRelocationErrorCantTransferOwnership; +#pragma mark - Tag state methods + +- (BOOL)isFilename { + return _tag == DBFILESSearchModeFilename; } -- (BOOL)isInsufficientQuota { - return _tag == DBFILESRelocationErrorInsufficientQuota; +- (BOOL)isFilenameAndContent { + return _tag == DBFILESSearchModeFilenameAndContent; } -- (BOOL)isOther { - return _tag == DBFILESRelocationErrorOther; +- (BOOL)isDeletedFilename { + return _tag == DBFILESSearchModeDeletedFilename; } - (NSString *)tagName { switch (_tag) { - case DBFILESRelocationErrorFromLookup: - return @"DBFILESRelocationErrorFromLookup"; - case DBFILESRelocationErrorFromWrite: - return @"DBFILESRelocationErrorFromWrite"; - case DBFILESRelocationErrorTo: - return @"DBFILESRelocationErrorTo"; - case DBFILESRelocationErrorCantCopySharedFolder: - return @"DBFILESRelocationErrorCantCopySharedFolder"; - case DBFILESRelocationErrorCantNestSharedFolder: - return @"DBFILESRelocationErrorCantNestSharedFolder"; - case DBFILESRelocationErrorCantMoveFolderIntoItself: - return @"DBFILESRelocationErrorCantMoveFolderIntoItself"; - case DBFILESRelocationErrorTooManyFiles: - return @"DBFILESRelocationErrorTooManyFiles"; - case DBFILESRelocationErrorDuplicatedOrNestedPaths: - return @"DBFILESRelocationErrorDuplicatedOrNestedPaths"; - case DBFILESRelocationErrorCantTransferOwnership: - return @"DBFILESRelocationErrorCantTransferOwnership"; - case DBFILESRelocationErrorInsufficientQuota: - return @"DBFILESRelocationErrorInsufficientQuota"; - case DBFILESRelocationErrorOther: - return @"DBFILESRelocationErrorOther"; + case DBFILESSearchModeFilename: + return @"DBFILESSearchModeFilename"; + case DBFILESSearchModeFilenameAndContent: + return @"DBFILESSearchModeFilenameAndContent"; + case DBFILESSearchModeDeletedFilename: + return @"DBFILESSearchModeDeletedFilename"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -9779,18 +24315,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchModeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchModeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchModeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9808,28 +24344,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESRelocationErrorFromLookup: - result = prime * result + [self.fromLookup hash]; - case DBFILESRelocationErrorFromWrite: - result = prime * result + [self.fromWrite hash]; - case DBFILESRelocationErrorTo: - result = prime * result + [self.to hash]; - case DBFILESRelocationErrorCantCopySharedFolder: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorCantNestSharedFolder: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorCantMoveFolderIntoItself: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorTooManyFiles: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorDuplicatedOrNestedPaths: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorCantTransferOwnership: + case DBFILESSearchModeFilename: result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorInsufficientQuota: + break; + case DBFILESSearchModeFilenameAndContent: result = prime * result + [[self tagName] hash]; - case DBFILESRelocationErrorOther: + break; + case DBFILESSearchModeDeletedFilename: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9844,39 +24367,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationError:other]; + return [self isEqualToSearchMode:other]; } -- (BOOL)isEqualToRelocationError:(DBFILESRelocationError *)aRelocationError { - if (self == aRelocationError) { +- (BOOL)isEqualToSearchMode:(DBFILESSearchMode *)aSearchMode { + if (self == aSearchMode) { return YES; } - if (self.tag != aRelocationError.tag) { + if (self.tag != aSearchMode.tag) { return NO; } switch (_tag) { - case DBFILESRelocationErrorFromLookup: - return [self.fromLookup isEqual:aRelocationError.fromLookup]; - case DBFILESRelocationErrorFromWrite: - return [self.fromWrite isEqual:aRelocationError.fromWrite]; - case DBFILESRelocationErrorTo: - return [self.to isEqual:aRelocationError.to]; - case DBFILESRelocationErrorCantCopySharedFolder: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorCantNestSharedFolder: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorCantMoveFolderIntoItself: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorTooManyFiles: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorDuplicatedOrNestedPaths: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorCantTransferOwnership: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorInsufficientQuota: - return [[self tagName] isEqual:[aRelocationError tagName]]; - case DBFILESRelocationErrorOther: - return [[self tagName] isEqual:[aRelocationError tagName]]; + case DBFILESSearchModeFilename: + return [[self tagName] isEqual:[aSearchMode tagName]]; + case DBFILESSearchModeFilenameAndContent: + return [[self tagName] isEqual:[aSearchMode tagName]]; + case DBFILESSearchModeDeletedFilename: + return [[self tagName] isEqual:[aSearchMode tagName]]; } return YES; } @@ -9885,315 +24392,501 @@ - (BOOL)isEqualToRelocationError:(DBFILESRelocationError *)aRelocationError { #pragma mark - Serializer Object -@implementation DBFILESRelocationErrorSerializer +@implementation DBFILESSearchModeSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFromLookup]) { - jsonDict[@"from_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.fromLookup] mutableCopy]; - jsonDict[@".tag"] = @"from_lookup"; - } else if ([valueObj isFromWrite]) { - jsonDict[@"from_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.fromWrite] mutableCopy]; - jsonDict[@".tag"] = @"from_write"; - } else if ([valueObj isTo]) { - jsonDict[@"to"] = [[DBFILESWriteErrorSerializer serialize:valueObj.to] mutableCopy]; - jsonDict[@".tag"] = @"to"; - } else if ([valueObj isCantCopySharedFolder]) { - jsonDict[@".tag"] = @"cant_copy_shared_folder"; - } else if ([valueObj isCantNestSharedFolder]) { - jsonDict[@".tag"] = @"cant_nest_shared_folder"; - } else if ([valueObj isCantMoveFolderIntoItself]) { - jsonDict[@".tag"] = @"cant_move_folder_into_itself"; - } else if ([valueObj isTooManyFiles]) { - jsonDict[@".tag"] = @"too_many_files"; - } else if ([valueObj isDuplicatedOrNestedPaths]) { - jsonDict[@".tag"] = @"duplicated_or_nested_paths"; - } else if ([valueObj isCantTransferOwnership]) { - jsonDict[@".tag"] = @"cant_transfer_ownership"; - } else if ([valueObj isInsufficientQuota]) { - jsonDict[@".tag"] = @"insufficient_quota"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isFilename]) { + jsonDict[@".tag"] = @"filename"; + } else if ([valueObj isFilenameAndContent]) { + jsonDict[@".tag"] = @"filename_and_content"; + } else if ([valueObj isDeletedFilename]) { + jsonDict[@".tag"] = @"deleted_filename"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESSearchMode *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"filename"]) { + return [[DBFILESSearchMode alloc] initWithFilename]; + } else if ([tag isEqualToString:@"filename_and_content"]) { + return [[DBFILESSearchMode alloc] initWithFilenameAndContent]; + } else if ([tag isEqualToString:@"deleted_filename"]) { + return [[DBFILESSearchMode alloc] initWithDeletedFilename]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILESFileCategory.h" +#import "DBFILESFileStatus.h" +#import "DBFILESSearchOptions.h" +#import "DBFILESSearchOrderBy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESSearchOptions + +#pragma mark - Constructors + +- (instancetype)initWithPath:(NSString *)path + maxResults:(NSNumber *)maxResults + orderBy:(DBFILESSearchOrderBy *)orderBy + fileStatus:(DBFILESFileStatus *)fileStatus + filenameOnly:(NSNumber *)filenameOnly + fileExtensions:(NSArray *)fileExtensions + fileCategories:(NSArray *)fileCategories + accountId:(NSString *)accountId { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](fileExtensions); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](fileCategories); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + + self = [super init]; + if (self) { + _path = path; + _maxResults = maxResults ?: @(100); + _orderBy = orderBy; + _fileStatus = fileStatus ?: [[DBFILESFileStatus alloc] initWithActive]; + _filenameOnly = filenameOnly ?: @NO; + _fileExtensions = fileExtensions; + _fileCategories = fileCategories; + _accountId = accountId; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithPath:nil + maxResults:nil + orderBy:nil + fileStatus:nil + filenameOnly:nil + fileExtensions:nil + fileCategories:nil + accountId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchOptionsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchOptionsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESSearchOptionsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.path != nil) { + result = prime * result + [self.path hash]; + } + result = prime * result + [self.maxResults hash]; + if (self.orderBy != nil) { + result = prime * result + [self.orderBy hash]; + } + result = prime * result + [self.fileStatus hash]; + result = prime * result + [self.filenameOnly hash]; + if (self.fileExtensions != nil) { + result = prime * result + [self.fileExtensions hash]; + } + if (self.fileCategories != nil) { + result = prime * result + [self.fileCategories hash]; + } + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSearchOptions:other]; +} + +- (BOOL)isEqualToSearchOptions:(DBFILESSearchOptions *)aSearchOptions { + if (self == aSearchOptions) { + return YES; + } + if (self.path) { + if (![self.path isEqual:aSearchOptions.path]) { + return NO; + } + } + if (![self.maxResults isEqual:aSearchOptions.maxResults]) { + return NO; + } + if (self.orderBy) { + if (![self.orderBy isEqual:aSearchOptions.orderBy]) { + return NO; + } + } + if (![self.fileStatus isEqual:aSearchOptions.fileStatus]) { + return NO; + } + if (![self.filenameOnly isEqual:aSearchOptions.filenameOnly]) { + return NO; } - - return [jsonDict count] > 0 ? jsonDict : nil; + if (self.fileExtensions) { + if (![self.fileExtensions isEqual:aSearchOptions.fileExtensions]) { + return NO; + } + } + if (self.fileCategories) { + if (![self.fileCategories isEqual:aSearchOptions.fileCategories]) { + return NO; + } + } + if (self.accountId) { + if (![self.accountId isEqual:aSearchOptions.accountId]) { + return NO; + } + } + return YES; } -+ (DBFILESRelocationError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; +@end - if ([tag isEqualToString:@"from_lookup"]) { - DBFILESLookupError *fromLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"from_lookup"]]; - return [[DBFILESRelocationError alloc] initWithFromLookup:fromLookup]; - } else if ([tag isEqualToString:@"from_write"]) { - DBFILESWriteError *fromWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"from_write"]]; - return [[DBFILESRelocationError alloc] initWithFromWrite:fromWrite]; - } else if ([tag isEqualToString:@"to"]) { - DBFILESWriteError *to = [DBFILESWriteErrorSerializer deserialize:valueDict[@"to"]]; - return [[DBFILESRelocationError alloc] initWithTo:to]; - } else if ([tag isEqualToString:@"cant_copy_shared_folder"]) { - return [[DBFILESRelocationError alloc] initWithCantCopySharedFolder]; - } else if ([tag isEqualToString:@"cant_nest_shared_folder"]) { - return [[DBFILESRelocationError alloc] initWithCantNestSharedFolder]; - } else if ([tag isEqualToString:@"cant_move_folder_into_itself"]) { - return [[DBFILESRelocationError alloc] initWithCantMoveFolderIntoItself]; - } else if ([tag isEqualToString:@"too_many_files"]) { - return [[DBFILESRelocationError alloc] initWithTooManyFiles]; - } else if ([tag isEqualToString:@"duplicated_or_nested_paths"]) { - return [[DBFILESRelocationError alloc] initWithDuplicatedOrNestedPaths]; - } else if ([tag isEqualToString:@"cant_transfer_ownership"]) { - return [[DBFILESRelocationError alloc] initWithCantTransferOwnership]; - } else if ([tag isEqualToString:@"insufficient_quota"]) { - return [[DBFILESRelocationError alloc] initWithInsufficientQuota]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESRelocationError alloc] initWithOther]; - } else { - return [[DBFILESRelocationError alloc] initWithOther]; +#pragma mark - Serializer Object + +@implementation DBFILESSearchOptionsSerializer + ++ (NSDictionary *)serialize:(DBFILESSearchOptions *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; + } + jsonDict[@"max_results"] = valueObj.maxResults; + if (valueObj.orderBy) { + jsonDict[@"order_by"] = [DBFILESSearchOrderBySerializer serialize:valueObj.orderBy]; } + jsonDict[@"file_status"] = [DBFILESFileStatusSerializer serialize:valueObj.fileStatus]; + jsonDict[@"filename_only"] = valueObj.filenameOnly; + if (valueObj.fileExtensions) { + jsonDict[@"file_extensions"] = [DBArraySerializer serialize:valueObj.fileExtensions + withBlock:^id(id elem0) { + return elem0; + }]; + } + if (valueObj.fileCategories) { + jsonDict[@"file_categories"] = [DBArraySerializer serialize:valueObj.fileCategories + withBlock:^id(id elem0) { + return [DBFILESFileCategorySerializer serialize:elem0]; + }]; + } + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + + return jsonDict; +} + ++ (DBFILESSearchOptions *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"] ?: nil; + NSNumber *maxResults = valueDict[@"max_results"] ?: @(100); + DBFILESSearchOrderBy *orderBy = + valueDict[@"order_by"] ? [DBFILESSearchOrderBySerializer deserialize:valueDict[@"order_by"]] : nil; + DBFILESFileStatus *fileStatus = valueDict[@"file_status"] + ? [DBFILESFileStatusSerializer deserialize:valueDict[@"file_status"]] + : [[DBFILESFileStatus alloc] initWithActive]; + NSNumber *filenameOnly = valueDict[@"filename_only"] ?: @NO; + NSArray *fileExtensions = valueDict[@"file_extensions"] + ? [DBArraySerializer deserialize:valueDict[@"file_extensions"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + NSArray *fileCategories = + valueDict[@"file_categories"] ? [DBArraySerializer deserialize:valueDict[@"file_categories"] + withBlock:^id(id elem0) { + return [DBFILESFileCategorySerializer deserialize:elem0]; + }] + : nil; + NSString *accountId = valueDict[@"account_id"] ?: nil; + + return [[DBFILESSearchOptions alloc] initWithPath:path + maxResults:maxResults + orderBy:orderBy + fileStatus:fileStatus + filenameOnly:filenameOnly + fileExtensions:fileExtensions + fileCategories:fileCategories + accountId:accountId]; } @end -#import "DBFILESLookupError.h" -#import "DBFILESRelocationBatchError.h" -#import "DBFILESRelocationError.h" -#import "DBFILESWriteError.h" +#import "DBFILESSearchOrderBy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchError - -@synthesize fromLookup = _fromLookup; -@synthesize fromWrite = _fromWrite; -@synthesize to = _to; +@implementation DBFILESSearchOrderBy #pragma mark - Constructors -- (instancetype)initWithFromLookup:(DBFILESLookupError *)fromLookup { +- (instancetype)initWithRelevance { self = [super init]; if (self) { - _tag = DBFILESRelocationBatchErrorFromLookup; - _fromLookup = fromLookup; + _tag = DBFILESSearchOrderByRelevance; } return self; } -- (instancetype)initWithFromWrite:(DBFILESWriteError *)fromWrite { +- (instancetype)initWithLastModifiedTime { self = [super init]; if (self) { - _tag = DBFILESRelocationBatchErrorFromWrite; - _fromWrite = fromWrite; + _tag = DBFILESSearchOrderByLastModifiedTime; } return self; } -- (instancetype)initWithTo:(DBFILESWriteError *)to { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESRelocationBatchErrorTo; - _to = to; + _tag = DBFILESSearchOrderByOther; } return self; } -- (instancetype)initWithCantCopySharedFolder { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorCantCopySharedFolder; - } - return self; -} +#pragma mark - Instance field accessors -- (instancetype)initWithCantNestSharedFolder { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorCantNestSharedFolder; - } - return self; -} +#pragma mark - Tag state methods -- (instancetype)initWithCantMoveFolderIntoItself { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorCantMoveFolderIntoItself; - } - return self; +- (BOOL)isRelevance { + return _tag == DBFILESSearchOrderByRelevance; } -- (instancetype)initWithTooManyFiles { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorTooManyFiles; - } - return self; +- (BOOL)isLastModifiedTime { + return _tag == DBFILESSearchOrderByLastModifiedTime; } -- (instancetype)initWithDuplicatedOrNestedPaths { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; - } - return self; +- (BOOL)isOther { + return _tag == DBFILESSearchOrderByOther; } -- (instancetype)initWithCantTransferOwnership { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorCantTransferOwnership; +- (NSString *)tagName { + switch (_tag) { + case DBFILESSearchOrderByRelevance: + return @"DBFILESSearchOrderByRelevance"; + case DBFILESSearchOrderByLastModifiedTime: + return @"DBFILESSearchOrderByLastModifiedTime"; + case DBFILESSearchOrderByOther: + return @"DBFILESSearchOrderByOther"; } - return self; -} -- (instancetype)initWithInsufficientQuota { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorInsufficientQuota; - } - return self; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorOther; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchOrderBySerializer serialize:instance]; } -- (instancetype)initWithTooManyWriteOperations { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchErrorTooManyWriteOperations; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchOrderBySerializer deserialize:dict]; } -#pragma mark - Instance field accessors +#pragma mark - Debug Description method -- (DBFILESLookupError *)fromLookup { - if (![self isFromLookup]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchErrorFromLookup, but was %@.", [self tagName]]; - } - return _fromLookup; +- (NSString *)debugDescription { + return [[DBFILESSearchOrderBySerializer serialize:self] description]; } -- (DBFILESWriteError *)fromWrite { - if (![self isFromWrite]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchErrorFromWrite, but was %@.", [self tagName]]; - } - return _fromWrite; -} +#pragma mark - Copyable method -- (DBFILESWriteError *)to { - if (![self isTo]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchErrorTo, but was %@.", [self tagName]]; - } - return _to; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -#pragma mark - Tag state methods +#pragma mark - Hash method -- (BOOL)isFromLookup { - return _tag == DBFILESRelocationBatchErrorFromLookup; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isFromWrite { - return _tag == DBFILESRelocationBatchErrorFromWrite; -} + switch (_tag) { + case DBFILESSearchOrderByRelevance: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchOrderByLastModifiedTime: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSearchOrderByOther: + result = prime * result + [[self tagName] hash]; + break; + } -- (BOOL)isTo { - return _tag == DBFILESRelocationBatchErrorTo; + return prime * result; } -- (BOOL)isCantCopySharedFolder { - return _tag == DBFILESRelocationBatchErrorCantCopySharedFolder; -} +#pragma mark - Equality method -- (BOOL)isCantNestSharedFolder { - return _tag == DBFILESRelocationBatchErrorCantNestSharedFolder; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSearchOrderBy:other]; } -- (BOOL)isCantMoveFolderIntoItself { - return _tag == DBFILESRelocationBatchErrorCantMoveFolderIntoItself; +- (BOOL)isEqualToSearchOrderBy:(DBFILESSearchOrderBy *)aSearchOrderBy { + if (self == aSearchOrderBy) { + return YES; + } + if (self.tag != aSearchOrderBy.tag) { + return NO; + } + switch (_tag) { + case DBFILESSearchOrderByRelevance: + return [[self tagName] isEqual:[aSearchOrderBy tagName]]; + case DBFILESSearchOrderByLastModifiedTime: + return [[self tagName] isEqual:[aSearchOrderBy tagName]]; + case DBFILESSearchOrderByOther: + return [[self tagName] isEqual:[aSearchOrderBy tagName]]; + } + return YES; } -- (BOOL)isTooManyFiles { - return _tag == DBFILESRelocationBatchErrorTooManyFiles; -} +@end -- (BOOL)isDuplicatedOrNestedPaths { - return _tag == DBFILESRelocationBatchErrorDuplicatedOrNestedPaths; -} +#pragma mark - Serializer Object -- (BOOL)isCantTransferOwnership { - return _tag == DBFILESRelocationBatchErrorCantTransferOwnership; -} +@implementation DBFILESSearchOrderBySerializer -- (BOOL)isInsufficientQuota { - return _tag == DBFILESRelocationBatchErrorInsufficientQuota; -} ++ (NSDictionary *)serialize:(DBFILESSearchOrderBy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isOther { - return _tag == DBFILESRelocationBatchErrorOther; -} + if ([valueObj isRelevance]) { + jsonDict[@".tag"] = @"relevance"; + } else if ([valueObj isLastModifiedTime]) { + jsonDict[@".tag"] = @"last_modified_time"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } -- (BOOL)isTooManyWriteOperations { - return _tag == DBFILESRelocationBatchErrorTooManyWriteOperations; + return jsonDict; } - -- (NSString *)tagName { - switch (_tag) { - case DBFILESRelocationBatchErrorFromLookup: - return @"DBFILESRelocationBatchErrorFromLookup"; - case DBFILESRelocationBatchErrorFromWrite: - return @"DBFILESRelocationBatchErrorFromWrite"; - case DBFILESRelocationBatchErrorTo: - return @"DBFILESRelocationBatchErrorTo"; - case DBFILESRelocationBatchErrorCantCopySharedFolder: - return @"DBFILESRelocationBatchErrorCantCopySharedFolder"; - case DBFILESRelocationBatchErrorCantNestSharedFolder: - return @"DBFILESRelocationBatchErrorCantNestSharedFolder"; - case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: - return @"DBFILESRelocationBatchErrorCantMoveFolderIntoItself"; - case DBFILESRelocationBatchErrorTooManyFiles: - return @"DBFILESRelocationBatchErrorTooManyFiles"; - case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: - return @"DBFILESRelocationBatchErrorDuplicatedOrNestedPaths"; - case DBFILESRelocationBatchErrorCantTransferOwnership: - return @"DBFILESRelocationBatchErrorCantTransferOwnership"; - case DBFILESRelocationBatchErrorInsufficientQuota: - return @"DBFILESRelocationBatchErrorInsufficientQuota"; - case DBFILESRelocationBatchErrorOther: - return @"DBFILESRelocationBatchErrorOther"; - case DBFILESRelocationBatchErrorTooManyWriteOperations: - return @"DBFILESRelocationBatchErrorTooManyWriteOperations"; + ++ (DBFILESSearchOrderBy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"relevance"]) { + return [[DBFILESSearchOrderBy alloc] initWithRelevance]; + } else if ([tag isEqualToString:@"last_modified_time"]) { + return [[DBFILESSearchOrderBy alloc] initWithLastModifiedTime]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSearchOrderBy alloc] initWithOther]; + } else { + return [[DBFILESSearchOrderBy alloc] initWithOther]; } +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +@end + +#import "DBFILESSearchMatch.h" +#import "DBFILESSearchResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESSearchResult + +#pragma mark - Constructors + +- (instancetype)initWithMatches:(NSArray *)matches more:(NSNumber *)more start:(NSNumber *)start { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](matches); + [DBStoneValidators nonnullValidator:nil](more); + [DBStoneValidators nonnullValidator:nil](start); + + self = [super init]; + if (self) { + _matches = matches; + _more = more; + _start = start; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10210,32 +24903,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESRelocationBatchErrorFromLookup: - result = prime * result + [self.fromLookup hash]; - case DBFILESRelocationBatchErrorFromWrite: - result = prime * result + [self.fromWrite hash]; - case DBFILESRelocationBatchErrorTo: - result = prime * result + [self.to hash]; - case DBFILESRelocationBatchErrorCantCopySharedFolder: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorCantNestSharedFolder: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorTooManyFiles: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorCantTransferOwnership: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorInsufficientQuota: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorOther: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchErrorTooManyWriteOperations: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.matches hash]; + result = prime * result + [self.more hash]; + result = prime * result + [self.start hash]; return prime * result; } @@ -10249,41 +24919,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchError:other]; + return [self isEqualToSearchResult:other]; } -- (BOOL)isEqualToRelocationBatchError:(DBFILESRelocationBatchError *)aRelocationBatchError { - if (self == aRelocationBatchError) { +- (BOOL)isEqualToSearchResult:(DBFILESSearchResult *)aSearchResult { + if (self == aSearchResult) { return YES; } - if (self.tag != aRelocationBatchError.tag) { + if (![self.matches isEqual:aSearchResult.matches]) { return NO; } - switch (_tag) { - case DBFILESRelocationBatchErrorFromLookup: - return [self.fromLookup isEqual:aRelocationBatchError.fromLookup]; - case DBFILESRelocationBatchErrorFromWrite: - return [self.fromWrite isEqual:aRelocationBatchError.fromWrite]; - case DBFILESRelocationBatchErrorTo: - return [self.to isEqual:aRelocationBatchError.to]; - case DBFILESRelocationBatchErrorCantCopySharedFolder: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorCantNestSharedFolder: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorCantMoveFolderIntoItself: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorTooManyFiles: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorDuplicatedOrNestedPaths: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorCantTransferOwnership: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorInsufficientQuota: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorOther: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; - case DBFILESRelocationBatchErrorTooManyWriteOperations: - return [[self tagName] isEqual:[aRelocationBatchError tagName]]; + if (![self.more isEqual:aSearchResult.more]) { + return NO; + } + if (![self.start isEqual:aSearchResult.start]) { + return NO; } return YES; } @@ -10292,183 +24942,223 @@ - (BOOL)isEqualToRelocationBatchError:(DBFILESRelocationBatchError *)aRelocation #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchErrorSerializer +@implementation DBFILESSearchResultSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFromLookup]) { - jsonDict[@"from_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.fromLookup] mutableCopy]; - jsonDict[@".tag"] = @"from_lookup"; - } else if ([valueObj isFromWrite]) { - jsonDict[@"from_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.fromWrite] mutableCopy]; - jsonDict[@".tag"] = @"from_write"; - } else if ([valueObj isTo]) { - jsonDict[@"to"] = [[DBFILESWriteErrorSerializer serialize:valueObj.to] mutableCopy]; - jsonDict[@".tag"] = @"to"; - } else if ([valueObj isCantCopySharedFolder]) { - jsonDict[@".tag"] = @"cant_copy_shared_folder"; - } else if ([valueObj isCantNestSharedFolder]) { - jsonDict[@".tag"] = @"cant_nest_shared_folder"; - } else if ([valueObj isCantMoveFolderIntoItself]) { - jsonDict[@".tag"] = @"cant_move_folder_into_itself"; - } else if ([valueObj isTooManyFiles]) { - jsonDict[@".tag"] = @"too_many_files"; - } else if ([valueObj isDuplicatedOrNestedPaths]) { - jsonDict[@".tag"] = @"duplicated_or_nested_paths"; - } else if ([valueObj isCantTransferOwnership]) { - jsonDict[@".tag"] = @"cant_transfer_ownership"; - } else if ([valueObj isInsufficientQuota]) { - jsonDict[@".tag"] = @"insufficient_quota"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isTooManyWriteOperations]) { - jsonDict[@".tag"] = @"too_many_write_operations"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"matches"] = [DBArraySerializer serialize:valueObj.matches + withBlock:^id(id elem0) { + return [DBFILESSearchMatchSerializer serialize:elem0]; + }]; + jsonDict[@"more"] = valueObj.more; + jsonDict[@"start"] = valueObj.start; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESSearchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *matches = + [DBArraySerializer deserialize:valueDict[@"matches"] + withBlock:^id(id elem0) { + return [DBFILESSearchMatchSerializer deserialize:elem0]; + }]; + NSNumber *more = valueDict[@"more"]; + NSNumber *start = valueDict[@"start"]; - if ([tag isEqualToString:@"from_lookup"]) { - DBFILESLookupError *fromLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"from_lookup"]]; - return [[DBFILESRelocationBatchError alloc] initWithFromLookup:fromLookup]; - } else if ([tag isEqualToString:@"from_write"]) { - DBFILESWriteError *fromWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"from_write"]]; - return [[DBFILESRelocationBatchError alloc] initWithFromWrite:fromWrite]; - } else if ([tag isEqualToString:@"to"]) { - DBFILESWriteError *to = [DBFILESWriteErrorSerializer deserialize:valueDict[@"to"]]; - return [[DBFILESRelocationBatchError alloc] initWithTo:to]; - } else if ([tag isEqualToString:@"cant_copy_shared_folder"]) { - return [[DBFILESRelocationBatchError alloc] initWithCantCopySharedFolder]; - } else if ([tag isEqualToString:@"cant_nest_shared_folder"]) { - return [[DBFILESRelocationBatchError alloc] initWithCantNestSharedFolder]; - } else if ([tag isEqualToString:@"cant_move_folder_into_itself"]) { - return [[DBFILESRelocationBatchError alloc] initWithCantMoveFolderIntoItself]; - } else if ([tag isEqualToString:@"too_many_files"]) { - return [[DBFILESRelocationBatchError alloc] initWithTooManyFiles]; - } else if ([tag isEqualToString:@"duplicated_or_nested_paths"]) { - return [[DBFILESRelocationBatchError alloc] initWithDuplicatedOrNestedPaths]; - } else if ([tag isEqualToString:@"cant_transfer_ownership"]) { - return [[DBFILESRelocationBatchError alloc] initWithCantTransferOwnership]; - } else if ([tag isEqualToString:@"insufficient_quota"]) { - return [[DBFILESRelocationBatchError alloc] initWithInsufficientQuota]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESRelocationBatchError alloc] initWithOther]; - } else if ([tag isEqualToString:@"too_many_write_operations"]) { - return [[DBFILESRelocationBatchError alloc] initWithTooManyWriteOperations]; - } else { - return [[DBFILESRelocationBatchError alloc] initWithOther]; - } + return [[DBFILESSearchResult alloc] initWithMatches:matches more:more start:start]; } @end -#import "DBASYNCPollResultBase.h" -#import "DBFILESRelocationBatchError.h" -#import "DBFILESRelocationBatchJobStatus.h" -#import "DBFILESRelocationBatchResult.h" +#import "DBFILESSearchMatchFieldOptions.h" +#import "DBFILESSearchOptions.h" +#import "DBFILESSearchV2Arg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchJobStatus - -@synthesize complete = _complete; -@synthesize failed = _failed; +@implementation DBFILESSearchV2Arg #pragma mark - Constructors -- (instancetype)initWithInProgress { +- (instancetype)initWithQuery:(NSString *)query + options:(DBFILESSearchOptions *)options + matchFieldOptions:(DBFILESSearchMatchFieldOptions *)matchFieldOptions + includeHighlights:(NSNumber *)includeHighlights { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(1000) pattern:nil]](query); + self = [super init]; if (self) { - _tag = DBFILESRelocationBatchJobStatusInProgress; + _query = query; + _options = options; + _matchFieldOptions = matchFieldOptions; + _includeHighlights = includeHighlights; } return self; } -- (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchJobStatusComplete; - _complete = complete; +- (instancetype)initWithQuery:(NSString *)query { + return [self initWithQuery:query options:nil matchFieldOptions:nil includeHighlights:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchV2ArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchV2ArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESSearchV2ArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.query hash]; + if (self.options != nil) { + result = prime * result + [self.options hash]; + } + if (self.matchFieldOptions != nil) { + result = prime * result + [self.matchFieldOptions hash]; + } + if (self.includeHighlights != nil) { + result = prime * result + [self.includeHighlights hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSearchV2Arg:other]; +} + +- (BOOL)isEqualToSearchV2Arg:(DBFILESSearchV2Arg *)aSearchV2Arg { + if (self == aSearchV2Arg) { + return YES; + } + if (![self.query isEqual:aSearchV2Arg.query]) { + return NO; + } + if (self.options) { + if (![self.options isEqual:aSearchV2Arg.options]) { + return NO; + } + } + if (self.matchFieldOptions) { + if (![self.matchFieldOptions isEqual:aSearchV2Arg.matchFieldOptions]) { + return NO; + } + } + if (self.includeHighlights) { + if (![self.includeHighlights isEqual:aSearchV2Arg.includeHighlights]) { + return NO; + } } - return self; + return YES; } -- (instancetype)initWithFailed:(DBFILESRelocationBatchError *)failed { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchJobStatusFailed; - _failed = failed; - } - return self; -} +@end -#pragma mark - Instance field accessors +#pragma mark - Serializer Object -- (DBFILESRelocationBatchResult *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchJobStatusComplete, but was %@.", [self tagName]]; - } - return _complete; -} +@implementation DBFILESSearchV2ArgSerializer -- (DBFILESRelocationBatchError *)failed { - if (![self isFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchJobStatusFailed, but was %@.", [self tagName]]; ++ (NSDictionary *)serialize:(DBFILESSearchV2Arg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"query"] = valueObj.query; + if (valueObj.options) { + jsonDict[@"options"] = [DBFILESSearchOptionsSerializer serialize:valueObj.options]; } - return _failed; + if (valueObj.matchFieldOptions) { + jsonDict[@"match_field_options"] = [DBFILESSearchMatchFieldOptionsSerializer serialize:valueObj.matchFieldOptions]; + } + if (valueObj.includeHighlights) { + jsonDict[@"include_highlights"] = valueObj.includeHighlights; + } + + return jsonDict; } -#pragma mark - Tag state methods ++ (DBFILESSearchV2Arg *)deserialize:(NSDictionary *)valueDict { + NSString *query = valueDict[@"query"]; + DBFILESSearchOptions *options = + valueDict[@"options"] ? [DBFILESSearchOptionsSerializer deserialize:valueDict[@"options"]] : nil; + DBFILESSearchMatchFieldOptions *matchFieldOptions = + valueDict[@"match_field_options"] + ? [DBFILESSearchMatchFieldOptionsSerializer deserialize:valueDict[@"match_field_options"]] + : nil; + NSNumber *includeHighlights = valueDict[@"include_highlights"] ?: nil; -- (BOOL)isInProgress { - return _tag == DBFILESRelocationBatchJobStatusInProgress; + return [[DBFILESSearchV2Arg alloc] initWithQuery:query + options:options + matchFieldOptions:matchFieldOptions + includeHighlights:includeHighlights]; } -- (BOOL)isComplete { - return _tag == DBFILESRelocationBatchJobStatusComplete; -} +@end -- (BOOL)isFailed { - return _tag == DBFILESRelocationBatchJobStatusFailed; -} +#import "DBFILESSearchV2ContinueArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" -- (NSString *)tagName { - switch (_tag) { - case DBFILESRelocationBatchJobStatusInProgress: - return @"DBFILESRelocationBatchJobStatusInProgress"; - case DBFILESRelocationBatchJobStatusComplete: - return @"DBFILESRelocationBatchJobStatusComplete"; - case DBFILESRelocationBatchJobStatusFailed: - return @"DBFILESRelocationBatchJobStatusFailed"; - } +#pragma mark - API Object - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +@implementation DBFILESSearchV2ContinueArg + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchV2ContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchV2ContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSearchV2ContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10485,14 +25175,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESRelocationBatchJobStatusInProgress: - result = prime * result + [[self tagName] hash]; - case DBFILESRelocationBatchJobStatusComplete: - result = prime * result + [self.complete hash]; - case DBFILESRelocationBatchJobStatusFailed: - result = prime * result + [self.failed hash]; - } + result = prime * result + [self.cursor hash]; return prime * result; } @@ -10506,24 +25189,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchJobStatus:other]; + return [self isEqualToSearchV2ContinueArg:other]; } -- (BOOL)isEqualToRelocationBatchJobStatus:(DBFILESRelocationBatchJobStatus *)aRelocationBatchJobStatus { - if (self == aRelocationBatchJobStatus) { +- (BOOL)isEqualToSearchV2ContinueArg:(DBFILESSearchV2ContinueArg *)aSearchV2ContinueArg { + if (self == aSearchV2ContinueArg) { return YES; } - if (self.tag != aRelocationBatchJobStatus.tag) { + if (![self.cursor isEqual:aSearchV2ContinueArg.cursor]) { return NO; } - switch (_tag) { - case DBFILESRelocationBatchJobStatusInProgress: - return [[self tagName] isEqual:[aRelocationBatchJobStatus tagName]]; - case DBFILESRelocationBatchJobStatusComplete: - return [self.complete isEqual:aRelocationBatchJobStatus.complete]; - case DBFILESRelocationBatchJobStatusFailed: - return [self.failed isEqual:aRelocationBatchJobStatus.failed]; - } return YES; } @@ -10531,149 +25206,201 @@ - (BOOL)isEqualToRelocationBatchJobStatus:(DBFILESRelocationBatchJobStatus *)aRe #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchJobStatusSerializer +@implementation DBFILESSearchV2ContinueArgSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSearchV2ContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESRelocationBatchResultSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBFILESRelocationBatchErrorSerializer serialize:valueObj.failed] mutableCopy]; - jsonDict[@".tag"] = @"failed"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESSearchV2ContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBFILESRelocationBatchJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESRelocationBatchResult *complete = [DBFILESRelocationBatchResultSerializer deserialize:valueDict]; - return [[DBFILESRelocationBatchJobStatus alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"failed"]) { - DBFILESRelocationBatchError *failed = [DBFILESRelocationBatchErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBFILESRelocationBatchJobStatus alloc] initWithFailed:failed]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESSearchV2ContinueArg alloc] initWithCursor:cursor]; } @end -#import "DBASYNCLaunchResultBase.h" -#import "DBFILESRelocationBatchLaunch.h" -#import "DBFILESRelocationBatchResult.h" +#import "DBFILESSearchMatchV2.h" +#import "DBFILESSearchV2Result.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchLaunch - -@synthesize asyncJobId = _asyncJobId; -@synthesize complete = _complete; +@implementation DBFILESSearchV2Result #pragma mark - Constructors -- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { +- (instancetype)initWithMatches:(NSArray *)matches + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](matches); + [DBStoneValidators nonnullValidator:nil](hasMore); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); + self = [super init]; if (self) { - _tag = DBFILESRelocationBatchLaunchAsyncJobId; - _asyncJobId = asyncJobId; + _matches = matches; + _hasMore = hasMore; + _cursor = cursor; } return self; } -- (instancetype)initWithComplete:(DBFILESRelocationBatchResult *)complete { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchLaunchComplete; - _complete = complete; - } +- (instancetype)initWithMatches:(NSArray *)matches hasMore:(NSNumber *)hasMore { + return [self initWithMatches:matches hasMore:hasMore cursor:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSearchV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSearchV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBFILESSearchV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILESRelocationBatchLaunchOther; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.matches hash]; + result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } - return self; + + return prime * result; } -#pragma mark - Instance field accessors +#pragma mark - Equality method -- (NSString *)asyncJobId { - if (![self isAsyncJobId]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchLaunchAsyncJobId, but was %@.", [self tagName]]; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _asyncJobId; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSearchV2Result:other]; } -- (DBFILESRelocationBatchResult *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRelocationBatchLaunchComplete, but was %@.", [self tagName]]; +- (BOOL)isEqualToSearchV2Result:(DBFILESSearchV2Result *)aSearchV2Result { + if (self == aSearchV2Result) { + return YES; } - return _complete; + if (![self.matches isEqual:aSearchV2Result.matches]) { + return NO; + } + if (![self.hasMore isEqual:aSearchV2Result.hasMore]) { + return NO; + } + if (self.cursor) { + if (![self.cursor isEqual:aSearchV2Result.cursor]) { + return NO; + } + } + return YES; } -#pragma mark - Tag state methods +@end -- (BOOL)isAsyncJobId { - return _tag == DBFILESRelocationBatchLaunchAsyncJobId; -} +#pragma mark - Serializer Object -- (BOOL)isComplete { - return _tag == DBFILESRelocationBatchLaunchComplete; +@implementation DBFILESSearchV2ResultSerializer + ++ (NSDictionary *)serialize:(DBFILESSearchV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"matches"] = [DBArraySerializer serialize:valueObj.matches + withBlock:^id(id elem0) { + return [DBFILESSearchMatchV2Serializer serialize:elem0]; + }]; + jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; + } + + return jsonDict; } -- (BOOL)isOther { - return _tag == DBFILESRelocationBatchLaunchOther; ++ (DBFILESSearchV2Result *)deserialize:(NSDictionary *)valueDict { + NSArray *matches = + [DBArraySerializer deserialize:valueDict[@"matches"] + withBlock:^id(id elem0) { + return [DBFILESSearchMatchV2Serializer deserialize:elem0]; + }]; + NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; + + return [[DBFILESSearchV2Result alloc] initWithMatches:matches hasMore:hasMore cursor:cursor]; } -- (NSString *)tagName { - switch (_tag) { - case DBFILESRelocationBatchLaunchAsyncJobId: - return @"DBFILESRelocationBatchLaunchAsyncJobId"; - case DBFILESRelocationBatchLaunchComplete: - return @"DBFILESRelocationBatchLaunchComplete"; - case DBFILESRelocationBatchLaunchOther: - return @"DBFILESRelocationBatchLaunchOther"; +@end + +#import "DBFILESSharedLink.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESSharedLink + +#pragma mark - Constructors + +- (instancetype)initWithUrl:(NSString *)url password:(NSString *)password { + [DBStoneValidators nonnullValidator:nil](url); + + self = [super init]; + if (self) { + _url = url; + _password = password; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithUrl:(NSString *)url { + return [self initWithUrl:url password:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchLaunchSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSharedLinkSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchLaunchSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSharedLinkSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchLaunchSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSharedLinkSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10690,13 +25417,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESRelocationBatchLaunchAsyncJobId: - result = prime * result + [self.asyncJobId hash]; - case DBFILESRelocationBatchLaunchComplete: - result = prime * result + [self.complete hash]; - case DBFILESRelocationBatchLaunchOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.url hash]; + if (self.password != nil) { + result = prime * result + [self.password hash]; } return prime * result; @@ -10711,23 +25434,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchLaunch:other]; + return [self isEqualToSharedLink:other]; } -- (BOOL)isEqualToRelocationBatchLaunch:(DBFILESRelocationBatchLaunch *)aRelocationBatchLaunch { - if (self == aRelocationBatchLaunch) { +- (BOOL)isEqualToSharedLink:(DBFILESSharedLink *)aSharedLink { + if (self == aSharedLink) { return YES; } - if (self.tag != aRelocationBatchLaunch.tag) { + if (![self.url isEqual:aSharedLink.url]) { return NO; } - switch (_tag) { - case DBFILESRelocationBatchLaunchAsyncJobId: - return [self.asyncJobId isEqual:aRelocationBatchLaunch.asyncJobId]; - case DBFILESRelocationBatchLaunchComplete: - return [self.complete isEqual:aRelocationBatchLaunch.complete]; - case DBFILESRelocationBatchLaunchOther: - return [[self tagName] isEqual:[aRelocationBatchLaunch tagName]]; + if (self.password) { + if (![self.password isEqual:aSharedLink.password]) { + return NO; + } } return YES; } @@ -10736,83 +25456,68 @@ - (BOOL)isEqualToRelocationBatchLaunch:(DBFILESRelocationBatchLaunch *)aRelocati #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchLaunchSerializer +@implementation DBFILESSharedLinkSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSharedLink *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAsyncJobId]) { - jsonDict[@"async_job_id"] = valueObj.asyncJobId; - jsonDict[@".tag"] = @"async_job_id"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESRelocationBatchResultSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"url"] = valueObj.url; + if (valueObj.password) { + jsonDict[@"password"] = valueObj.password; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESSharedLink *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *password = valueDict[@"password"] ?: nil; - if ([tag isEqualToString:@"async_job_id"]) { - NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBFILESRelocationBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESRelocationBatchResult *complete = [DBFILESRelocationBatchResultSerializer deserialize:valueDict]; - return [[DBFILESRelocationBatchLaunch alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESRelocationBatchLaunch alloc] initWithOther]; - } else { - return [[DBFILESRelocationBatchLaunch alloc] initWithOther]; - } + return [[DBFILESSharedLink alloc] initWithUrl:url password:password]; } @end -#import "DBFILESFileOpsResult.h" -#import "DBFILESRelocationBatchResult.h" -#import "DBFILESRelocationBatchResultData.h" +#import "DBFILESSharedLinkFileInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchResult +@implementation DBFILESSharedLinkFileInfo #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +- (instancetype)initWithUrl:(NSString *)url path:(NSString *)path password:(NSString *)password { + [DBStoneValidators nonnullValidator:nil](url); - self = [super initDefault]; + self = [super init]; if (self) { - _entries = entries; + _url = url; + _path = path; + _password = password; } return self; } +- (instancetype)initWithUrl:(NSString *)url { + return [self initWithUrl:url path:nil password:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSharedLinkFileInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSharedLinkFileInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSharedLinkFileInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10829,7 +25534,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; + result = prime * result + [self.url hash]; + if (self.path != nil) { + result = prime * result + [self.path hash]; + } + if (self.password != nil) { + result = prime * result + [self.password hash]; + } return prime * result; } @@ -10843,16 +25554,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchResult:other]; + return [self isEqualToSharedLinkFileInfo:other]; } -- (BOOL)isEqualToRelocationBatchResult:(DBFILESRelocationBatchResult *)aRelocationBatchResult { - if (self == aRelocationBatchResult) { +- (BOOL)isEqualToSharedLinkFileInfo:(DBFILESSharedLinkFileInfo *)aSharedLinkFileInfo { + if (self == aSharedLinkFileInfo) { return YES; } - if (![self.entries isEqual:aRelocationBatchResult.entries]) { + if (![self.url isEqual:aSharedLinkFileInfo.url]) { return NO; } + if (self.path) { + if (![self.path isEqual:aSharedLinkFileInfo.path]) { + return NO; + } + } + if (self.password) { + if (![self.password isEqual:aSharedLinkFileInfo.password]) { + return NO; + } + } return YES; } @@ -10860,66 +25581,76 @@ - (BOOL)isEqualToRelocationBatchResult:(DBFILESRelocationBatchResult *)aRelocati #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchResultSerializer +@implementation DBFILESSharedLinkFileInfoSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSharedLinkFileInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESRelocationBatchResultDataSerializer serialize:elem0]; - }]; + jsonDict[@"url"] = valueObj.url; + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; + } + if (valueObj.password) { + jsonDict[@"password"] = valueObj.password; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESRelocationBatchResultDataSerializer deserialize:elem0]; - }]; ++ (DBFILESSharedLinkFileInfo *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *path = valueDict[@"path"] ?: nil; + NSString *password = valueDict[@"password"] ?: nil; - return [[DBFILESRelocationBatchResult alloc] initWithEntries:entries]; + return [[DBFILESSharedLinkFileInfo alloc] initWithUrl:url path:path password:password]; } @end -#import "DBFILESMetadata.h" -#import "DBFILESRelocationBatchResultData.h" +#import "DBFILESSingleUserLock.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationBatchResultData +@implementation DBFILESSingleUserLock #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](metadata); +- (instancetype)initWithCreated:(NSDate *)created + lockHolderAccountId:(NSString *)lockHolderAccountId + lockHolderTeamId:(NSString *)lockHolderTeamId { + [DBStoneValidators nonnullValidator:nil](created); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](lockHolderAccountId); self = [super init]; if (self) { - _metadata = metadata; + _created = created; + _lockHolderAccountId = lockHolderAccountId; + _lockHolderTeamId = lockHolderTeamId; } return self; } +- (instancetype)initWithCreated:(NSDate *)created lockHolderAccountId:(NSString *)lockHolderAccountId { + return [self initWithCreated:created lockHolderAccountId:lockHolderAccountId lockHolderTeamId:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationBatchResultDataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSingleUserLockSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationBatchResultDataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSingleUserLockSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationBatchResultDataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSingleUserLockSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10936,7 +25667,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; + result = prime * result + [self.created hash]; + result = prime * result + [self.lockHolderAccountId hash]; + if (self.lockHolderTeamId != nil) { + result = prime * result + [self.lockHolderTeamId hash]; + } return prime * result; } @@ -10950,16 +25685,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationBatchResultData:other]; + return [self isEqualToSingleUserLock:other]; } -- (BOOL)isEqualToRelocationBatchResultData:(DBFILESRelocationBatchResultData *)aRelocationBatchResultData { - if (self == aRelocationBatchResultData) { +- (BOOL)isEqualToSingleUserLock:(DBFILESSingleUserLock *)aSingleUserLock { + if (self == aSingleUserLock) { return YES; } - if (![self.metadata isEqual:aRelocationBatchResultData.metadata]) { + if (![self.created isEqual:aSingleUserLock.created]) { + return NO; + } + if (![self.lockHolderAccountId isEqual:aSingleUserLock.lockHolderAccountId]) { return NO; } + if (self.lockHolderTeamId) { + if (![self.lockHolderTeamId isEqual:aSingleUserLock.lockHolderTeamId]) { + return NO; + } + } return YES; } @@ -10967,60 +25710,66 @@ - (BOOL)isEqualToRelocationBatchResultData:(DBFILESRelocationBatchResultData *)a #pragma mark - Serializer Object -@implementation DBFILESRelocationBatchResultDataSerializer +@implementation DBFILESSingleUserLockSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSingleUserLock *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"lock_holder_account_id"] = valueObj.lockHolderAccountId; + if (valueObj.lockHolderTeamId) { + jsonDict[@"lock_holder_team_id"] = valueObj.lockHolderTeamId; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESSingleUserLock *)deserialize:(NSDictionary *)valueDict { + NSDate *created = [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSString *lockHolderAccountId = valueDict[@"lock_holder_account_id"]; + NSString *lockHolderTeamId = valueDict[@"lock_holder_team_id"] ?: nil; - return [[DBFILESRelocationBatchResultData alloc] initWithMetadata:metadata]; + return [[DBFILESSingleUserLock alloc] initWithCreated:created + lockHolderAccountId:lockHolderAccountId + lockHolderTeamId:lockHolderTeamId]; } @end -#import "DBFILESFileOpsResult.h" -#import "DBFILESMetadata.h" -#import "DBFILESRelocationResult.h" +#import "DBFILESSymlinkInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRelocationResult +@implementation DBFILESSymlinkInfo #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](metadata); +- (instancetype)initWithTarget:(NSString *)target { + [DBStoneValidators nonnullValidator:nil](target); - self = [super initDefault]; + self = [super init]; if (self) { - _metadata = metadata; + _target = target; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRelocationResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSymlinkInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRelocationResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSymlinkInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRelocationResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSymlinkInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11037,7 +25786,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; + result = prime * result + [self.target hash]; return prime * result; } @@ -11051,14 +25800,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocationResult:other]; + return [self isEqualToSymlinkInfo:other]; } -- (BOOL)isEqualToRelocationResult:(DBFILESRelocationResult *)aRelocationResult { - if (self == aRelocationResult) { +- (BOOL)isEqualToSymlinkInfo:(DBFILESSymlinkInfo *)aSymlinkInfo { + if (self == aSymlinkInfo) { return YES; } - if (![self.metadata isEqual:aRelocationResult.metadata]) { + if (![self.target isEqual:aSymlinkInfo.target]) { return NO; } return YES; @@ -11068,62 +25817,115 @@ - (BOOL)isEqualToRelocationResult:(DBFILESRelocationResult *)aRelocationResult { #pragma mark - Serializer Object -@implementation DBFILESRelocationResultSerializer +@implementation DBFILESSymlinkInfoSerializer -+ (NSDictionary *)serialize:(DBFILESRelocationResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSymlinkInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"target"] = valueObj.target; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRelocationResult *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESSymlinkInfo *)deserialize:(NSDictionary *)valueDict { + NSString *target = valueDict[@"target"]; - return [[DBFILESRelocationResult alloc] initWithMetadata:metadata]; + return [[DBFILESSymlinkInfo alloc] initWithTarget:target]; } @end -#import "DBFILESRestoreArg.h" +#import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRestoreArg +@implementation DBFILESSyncSetting #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path rev:(NSString *)rev { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingDefault_; + } + return self; +} +- (instancetype)initWithNotSynced { self = [super init]; if (self) { - _path = path; - _rev = rev; + _tag = DBFILESSyncSettingNotSynced; + } + return self; +} + +- (instancetype)initWithNotSyncedInactive { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingNotSyncedInactive; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBFILESSyncSettingDefault_; +} + +- (BOOL)isNotSynced { + return _tag == DBFILESSyncSettingNotSynced; +} + +- (BOOL)isNotSyncedInactive { + return _tag == DBFILESSyncSettingNotSyncedInactive; +} + +- (BOOL)isOther { + return _tag == DBFILESSyncSettingOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESSyncSettingDefault_: + return @"DBFILESSyncSettingDefault_"; + case DBFILESSyncSettingNotSynced: + return @"DBFILESSyncSettingNotSynced"; + case DBFILESSyncSettingNotSyncedInactive: + return @"DBFILESSyncSettingNotSyncedInactive"; + case DBFILESSyncSettingOther: + return @"DBFILESSyncSettingOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRestoreArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSyncSettingSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRestoreArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSyncSettingSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRestoreArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSyncSettingSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11140,8 +25942,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.rev hash]; + switch (_tag) { + case DBFILESSyncSettingDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingNotSynced: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingNotSyncedInactive: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -11155,18 +25969,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRestoreArg:other]; + return [self isEqualToSyncSetting:other]; } -- (BOOL)isEqualToRestoreArg:(DBFILESRestoreArg *)aRestoreArg { - if (self == aRestoreArg) { +- (BOOL)isEqualToSyncSetting:(DBFILESSyncSetting *)aSyncSetting { + if (self == aSyncSetting) { return YES; } - if (![self.path isEqual:aRestoreArg.path]) { + if (self.tag != aSyncSetting.tag) { return NO; } - if (![self.rev isEqual:aRestoreArg.rev]) { - return NO; + switch (_tag) { + case DBFILESSyncSettingDefault_: + return [[self tagName] isEqual:[aSyncSetting tagName]]; + case DBFILESSyncSettingNotSynced: + return [[self tagName] isEqual:[aSyncSetting tagName]]; + case DBFILESSyncSettingNotSyncedInactive: + return [[self tagName] isEqual:[aSyncSetting tagName]]; + case DBFILESSyncSettingOther: + return [[self tagName] isEqual:[aSyncSetting tagName]]; } return YES; } @@ -11175,63 +25996,66 @@ - (BOOL)isEqualToRestoreArg:(DBFILESRestoreArg *)aRestoreArg { #pragma mark - Serializer Object -@implementation DBFILESRestoreArgSerializer +@implementation DBFILESSyncSettingSerializer -+ (NSDictionary *)serialize:(DBFILESRestoreArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSyncSetting *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"rev"] = valueObj.rev; + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isNotSynced]) { + jsonDict[@".tag"] = @"not_synced"; + } else if ([valueObj isNotSyncedInactive]) { + jsonDict[@".tag"] = @"not_synced_inactive"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRestoreArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSString *rev = valueDict[@"rev"]; ++ (DBFILESSyncSetting *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESRestoreArg alloc] initWithPath:path rev:rev]; + if ([tag isEqualToString:@"default"]) { + return [[DBFILESSyncSetting alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"not_synced"]) { + return [[DBFILESSyncSetting alloc] initWithNotSynced]; + } else if ([tag isEqualToString:@"not_synced_inactive"]) { + return [[DBFILESSyncSetting alloc] initWithNotSyncedInactive]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSyncSetting alloc] initWithOther]; + } else { + return [[DBFILESSyncSetting alloc] initWithOther]; + } } @end -#import "DBFILESLookupError.h" -#import "DBFILESRestoreError.h" -#import "DBFILESWriteError.h" +#import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESRestoreError - -@synthesize pathLookup = _pathLookup; -@synthesize pathWrite = _pathWrite; +@implementation DBFILESSyncSettingArg #pragma mark - Constructors -- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup { - self = [super init]; - if (self) { - _tag = DBFILESRestoreErrorPathLookup; - _pathLookup = pathLookup; - } - return self; -} - -- (instancetype)initWithPathWrite:(DBFILESWriteError *)pathWrite { +- (instancetype)initWithDefault_ { self = [super init]; if (self) { - _tag = DBFILESRestoreErrorPathWrite; - _pathWrite = pathWrite; + _tag = DBFILESSyncSettingArgDefault_; } return self; } -- (instancetype)initWithInvalidRevision { +- (instancetype)initWithNotSynced { self = [super init]; if (self) { - _tag = DBFILESRestoreErrorInvalidRevision; + _tag = DBFILESSyncSettingArgNotSynced; } return self; } @@ -11239,57 +26063,35 @@ - (instancetype)initWithInvalidRevision { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESRestoreErrorOther; + _tag = DBFILESSyncSettingArgOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)pathLookup { - if (![self isPathLookup]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRestoreErrorPathLookup, but was %@.", [self tagName]]; - } - return _pathLookup; -} - -- (DBFILESWriteError *)pathWrite { - if (![self isPathWrite]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESRestoreErrorPathWrite, but was %@.", [self tagName]]; - } - return _pathWrite; -} - #pragma mark - Tag state methods -- (BOOL)isPathLookup { - return _tag == DBFILESRestoreErrorPathLookup; -} - -- (BOOL)isPathWrite { - return _tag == DBFILESRestoreErrorPathWrite; +- (BOOL)isDefault_ { + return _tag == DBFILESSyncSettingArgDefault_; } -- (BOOL)isInvalidRevision { - return _tag == DBFILESRestoreErrorInvalidRevision; +- (BOOL)isNotSynced { + return _tag == DBFILESSyncSettingArgNotSynced; } - (BOOL)isOther { - return _tag == DBFILESRestoreErrorOther; + return _tag == DBFILESSyncSettingArgOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESRestoreErrorPathLookup: - return @"DBFILESRestoreErrorPathLookup"; - case DBFILESRestoreErrorPathWrite: - return @"DBFILESRestoreErrorPathWrite"; - case DBFILESRestoreErrorInvalidRevision: - return @"DBFILESRestoreErrorInvalidRevision"; - case DBFILESRestoreErrorOther: - return @"DBFILESRestoreErrorOther"; + case DBFILESSyncSettingArgDefault_: + return @"DBFILESSyncSettingArgDefault_"; + case DBFILESSyncSettingArgNotSynced: + return @"DBFILESSyncSettingArgNotSynced"; + case DBFILESSyncSettingArgOther: + return @"DBFILESSyncSettingArgOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -11297,18 +26099,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESRestoreErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSyncSettingArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESRestoreErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSyncSettingArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESRestoreErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSyncSettingArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11326,14 +26128,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESRestoreErrorPathLookup: - result = prime * result + [self.pathLookup hash]; - case DBFILESRestoreErrorPathWrite: - result = prime * result + [self.pathWrite hash]; - case DBFILESRestoreErrorInvalidRevision: + case DBFILESSyncSettingArgDefault_: result = prime * result + [[self tagName] hash]; - case DBFILESRestoreErrorOther: + break; + case DBFILESSyncSettingArgNotSynced: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingArgOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -11348,25 +26151,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRestoreError:other]; + return [self isEqualToSyncSettingArg:other]; } -- (BOOL)isEqualToRestoreError:(DBFILESRestoreError *)aRestoreError { - if (self == aRestoreError) { +- (BOOL)isEqualToSyncSettingArg:(DBFILESSyncSettingArg *)aSyncSettingArg { + if (self == aSyncSettingArg) { return YES; } - if (self.tag != aRestoreError.tag) { + if (self.tag != aSyncSettingArg.tag) { return NO; } switch (_tag) { - case DBFILESRestoreErrorPathLookup: - return [self.pathLookup isEqual:aRestoreError.pathLookup]; - case DBFILESRestoreErrorPathWrite: - return [self.pathWrite isEqual:aRestoreError.pathWrite]; - case DBFILESRestoreErrorInvalidRevision: - return [[self tagName] isEqual:[aRestoreError tagName]]; - case DBFILESRestoreErrorOther: - return [[self tagName] isEqual:[aRestoreError tagName]]; + case DBFILESSyncSettingArgDefault_: + return [[self tagName] isEqual:[aSyncSettingArg tagName]]; + case DBFILESSyncSettingArgNotSynced: + return [[self tagName] isEqual:[aSyncSettingArg tagName]]; + case DBFILESSyncSettingArgOther: + return [[self tagName] isEqual:[aSyncSettingArg tagName]]; } return YES; } @@ -11375,85 +26176,143 @@ - (BOOL)isEqualToRestoreError:(DBFILESRestoreError *)aRestoreError { #pragma mark - Serializer Object -@implementation DBFILESRestoreErrorSerializer +@implementation DBFILESSyncSettingArgSerializer -+ (NSDictionary *)serialize:(DBFILESRestoreError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSyncSettingArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPathLookup]) { - jsonDict[@"path_lookup"] = [[DBFILESLookupErrorSerializer serialize:valueObj.pathLookup] mutableCopy]; - jsonDict[@".tag"] = @"path_lookup"; - } else if ([valueObj isPathWrite]) { - jsonDict[@"path_write"] = [[DBFILESWriteErrorSerializer serialize:valueObj.pathWrite] mutableCopy]; - jsonDict[@".tag"] = @"path_write"; - } else if ([valueObj isInvalidRevision]) { - jsonDict[@".tag"] = @"invalid_revision"; + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isNotSynced]) { + jsonDict[@".tag"] = @"not_synced"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESRestoreError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESSyncSettingArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path_lookup"]) { - DBFILESLookupError *pathLookup = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path_lookup"]]; - return [[DBFILESRestoreError alloc] initWithPathLookup:pathLookup]; - } else if ([tag isEqualToString:@"path_write"]) { - DBFILESWriteError *pathWrite = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path_write"]]; - return [[DBFILESRestoreError alloc] initWithPathWrite:pathWrite]; - } else if ([tag isEqualToString:@"invalid_revision"]) { - return [[DBFILESRestoreError alloc] initWithInvalidRevision]; + if ([tag isEqualToString:@"default"]) { + return [[DBFILESSyncSettingArg alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"not_synced"]) { + return [[DBFILESSyncSettingArg alloc] initWithNotSynced]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESRestoreError alloc] initWithOther]; + return [[DBFILESSyncSettingArg alloc] initWithOther]; } else { - return [[DBFILESRestoreError alloc] initWithOther]; + return [[DBFILESSyncSettingArg alloc] initWithOther]; } } @end -#import "DBFILESSaveCopyReferenceArg.h" +#import "DBFILESLookupError.h" +#import "DBFILESSyncSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveCopyReferenceArg +@implementation DBFILESSyncSettingsError -#pragma mark - Constructors +@synthesize path = _path; -- (instancetype)initWithDCopyReference:(NSString *)dCopyReference path:(NSString *)path { - [DBStoneValidators nonnullValidator:nil](dCopyReference); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); +#pragma mark - Constructors +- (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { - _dCopyReference = dCopyReference; + _tag = DBFILESSyncSettingsErrorPath; _path = path; } return self; } +- (instancetype)initWithUnsupportedCombination { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingsErrorUnsupportedCombination; + } + return self; +} + +- (instancetype)initWithUnsupportedConfiguration { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingsErrorUnsupportedConfiguration; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESSyncSettingsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESSyncSettingsErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESSyncSettingsErrorPath; +} + +- (BOOL)isUnsupportedCombination { + return _tag == DBFILESSyncSettingsErrorUnsupportedCombination; +} + +- (BOOL)isUnsupportedConfiguration { + return _tag == DBFILESSyncSettingsErrorUnsupportedConfiguration; +} + +- (BOOL)isOther { + return _tag == DBFILESSyncSettingsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESSyncSettingsErrorPath: + return @"DBFILESSyncSettingsErrorPath"; + case DBFILESSyncSettingsErrorUnsupportedCombination: + return @"DBFILESSyncSettingsErrorUnsupportedCombination"; + case DBFILESSyncSettingsErrorUnsupportedConfiguration: + return @"DBFILESSyncSettingsErrorUnsupportedConfiguration"; + case DBFILESSyncSettingsErrorOther: + return @"DBFILESSyncSettingsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveCopyReferenceArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESSyncSettingsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveCopyReferenceArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESSyncSettingsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveCopyReferenceArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESSyncSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11470,8 +26329,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dCopyReference hash]; - result = prime * result + [self.path hash]; + switch (_tag) { + case DBFILESSyncSettingsErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESSyncSettingsErrorUnsupportedCombination: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingsErrorUnsupportedConfiguration: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESSyncSettingsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -11485,18 +26356,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveCopyReferenceArg:other]; + return [self isEqualToSyncSettingsError:other]; } -- (BOOL)isEqualToSaveCopyReferenceArg:(DBFILESSaveCopyReferenceArg *)aSaveCopyReferenceArg { - if (self == aSaveCopyReferenceArg) { +- (BOOL)isEqualToSyncSettingsError:(DBFILESSyncSettingsError *)aSyncSettingsError { + if (self == aSyncSettingsError) { return YES; } - if (![self.dCopyReference isEqual:aSaveCopyReferenceArg.dCopyReference]) { + if (self.tag != aSyncSettingsError.tag) { return NO; } - if (![self.path isEqual:aSaveCopyReferenceArg.path]) { - return NO; + switch (_tag) { + case DBFILESSyncSettingsErrorPath: + return [self.path isEqual:aSyncSettingsError.path]; + case DBFILESSyncSettingsErrorUnsupportedCombination: + return [[self tagName] isEqual:[aSyncSettingsError tagName]]; + case DBFILESSyncSettingsErrorUnsupportedConfiguration: + return [[self tagName] isEqual:[aSyncSettingsError tagName]]; + case DBFILESSyncSettingsErrorOther: + return [[self tagName] isEqual:[aSyncSettingsError tagName]]; } return YES; } @@ -11505,76 +26383,64 @@ - (BOOL)isEqualToSaveCopyReferenceArg:(DBFILESSaveCopyReferenceArg *)aSaveCopyRe #pragma mark - Serializer Object -@implementation DBFILESSaveCopyReferenceArgSerializer +@implementation DBFILESSyncSettingsErrorSerializer -+ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESSyncSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"copy_reference"] = valueObj.dCopyReference; - jsonDict[@"path"] = valueObj.path; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isUnsupportedCombination]) { + jsonDict[@".tag"] = @"unsupported_combination"; + } else if ([valueObj isUnsupportedConfiguration]) { + jsonDict[@".tag"] = @"unsupported_configuration"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)valueDict { - NSString *dCopyReference = valueDict[@"copy_reference"]; - NSString *path = valueDict[@"path"]; ++ (DBFILESSyncSettingsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESSaveCopyReferenceArg alloc] initWithDCopyReference:dCopyReference path:path]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESSyncSettingsError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"unsupported_combination"]) { + return [[DBFILESSyncSettingsError alloc] initWithUnsupportedCombination]; + } else if ([tag isEqualToString:@"unsupported_configuration"]) { + return [[DBFILESSyncSettingsError alloc] initWithUnsupportedConfiguration]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESSyncSettingsError alloc] initWithOther]; + } else { + return [[DBFILESSyncSettingsError alloc] initWithOther]; + } } @end -#import "DBFILESSaveCopyReferenceError.h" -#import "DBFILESWriteError.h" +#import "DBFILESTag.h" +#import "DBFILESUserGeneratedTag.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveCopyReferenceError +@implementation DBFILESTag -@synthesize path = _path; +@synthesize userGeneratedTag = _userGeneratedTag; #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESWriteError *)path { - self = [super init]; - if (self) { - _tag = DBFILESSaveCopyReferenceErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithInvalidCopyReference { - self = [super init]; - if (self) { - _tag = DBFILESSaveCopyReferenceErrorInvalidCopyReference; - } - return self; -} - -- (instancetype)initWithNoPermission { - self = [super init]; - if (self) { - _tag = DBFILESSaveCopyReferenceErrorNoPermission; - } - return self; -} - -- (instancetype)initWithNotFound { - self = [super init]; - if (self) { - _tag = DBFILESSaveCopyReferenceErrorNotFound; - } - return self; -} - -- (instancetype)initWithTooManyFiles { +- (instancetype)initWithUserGeneratedTag:(DBFILESUserGeneratedTag *)userGeneratedTag { self = [super init]; if (self) { - _tag = DBFILESSaveCopyReferenceErrorTooManyFiles; + _tag = DBFILESTagUserGeneratedTag; + _userGeneratedTag = userGeneratedTag; } return self; } @@ -11582,61 +26448,37 @@ - (instancetype)initWithTooManyFiles { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESSaveCopyReferenceErrorOther; + _tag = DBFILESTagOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESWriteError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveCopyReferenceErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESSaveCopyReferenceErrorPath; -} - -- (BOOL)isInvalidCopyReference { - return _tag == DBFILESSaveCopyReferenceErrorInvalidCopyReference; -} - -- (BOOL)isNoPermission { - return _tag == DBFILESSaveCopyReferenceErrorNoPermission; -} - -- (BOOL)isNotFound { - return _tag == DBFILESSaveCopyReferenceErrorNotFound; +- (DBFILESUserGeneratedTag *)userGeneratedTag { + if (![self isUserGeneratedTag]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESTagUserGeneratedTag, but was %@.", [self tagName]]; + } + return _userGeneratedTag; } -- (BOOL)isTooManyFiles { - return _tag == DBFILESSaveCopyReferenceErrorTooManyFiles; +#pragma mark - Tag state methods + +- (BOOL)isUserGeneratedTag { + return _tag == DBFILESTagUserGeneratedTag; } - (BOOL)isOther { - return _tag == DBFILESSaveCopyReferenceErrorOther; + return _tag == DBFILESTagOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESSaveCopyReferenceErrorPath: - return @"DBFILESSaveCopyReferenceErrorPath"; - case DBFILESSaveCopyReferenceErrorInvalidCopyReference: - return @"DBFILESSaveCopyReferenceErrorInvalidCopyReference"; - case DBFILESSaveCopyReferenceErrorNoPermission: - return @"DBFILESSaveCopyReferenceErrorNoPermission"; - case DBFILESSaveCopyReferenceErrorNotFound: - return @"DBFILESSaveCopyReferenceErrorNotFound"; - case DBFILESSaveCopyReferenceErrorTooManyFiles: - return @"DBFILESSaveCopyReferenceErrorTooManyFiles"; - case DBFILESSaveCopyReferenceErrorOther: - return @"DBFILESSaveCopyReferenceErrorOther"; + case DBFILESTagUserGeneratedTag: + return @"DBFILESTagUserGeneratedTag"; + case DBFILESTagOther: + return @"DBFILESTagOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -11644,18 +26486,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveCopyReferenceErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESTagSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveCopyReferenceErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESTagSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveCopyReferenceErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESTagSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11673,18 +26515,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESSaveCopyReferenceErrorPath: - result = prime * result + [self.path hash]; - case DBFILESSaveCopyReferenceErrorInvalidCopyReference: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveCopyReferenceErrorNoPermission: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveCopyReferenceErrorNotFound: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveCopyReferenceErrorTooManyFiles: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveCopyReferenceErrorOther: + case DBFILESTagUserGeneratedTag: + result = prime * result + [self.userGeneratedTag hash]; + break; + case DBFILESTagOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -11699,29 +26535,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveCopyReferenceError:other]; + return [self isEqualToTag:other]; } -- (BOOL)isEqualToSaveCopyReferenceError:(DBFILESSaveCopyReferenceError *)aSaveCopyReferenceError { - if (self == aSaveCopyReferenceError) { +- (BOOL)isEqualToTag:(DBFILESTag *)aTag { + if (self == aTag) { return YES; } - if (self.tag != aSaveCopyReferenceError.tag) { + if (self.tag != aTag.tag) { return NO; } switch (_tag) { - case DBFILESSaveCopyReferenceErrorPath: - return [self.path isEqual:aSaveCopyReferenceError.path]; - case DBFILESSaveCopyReferenceErrorInvalidCopyReference: - return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; - case DBFILESSaveCopyReferenceErrorNoPermission: - return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; - case DBFILESSaveCopyReferenceErrorNotFound: - return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; - case DBFILESSaveCopyReferenceErrorTooManyFiles: - return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; - case DBFILESSaveCopyReferenceErrorOther: - return [[self tagName] isEqual:[aSaveCopyReferenceError tagName]]; + case DBFILESTagUserGeneratedTag: + return [self.userGeneratedTag isEqual:aTag.userGeneratedTag]; + case DBFILESTagOther: + return [[self tagName] isEqual:[aTag tagName]]; } return YES; } @@ -11730,89 +26558,89 @@ - (BOOL)isEqualToSaveCopyReferenceError:(DBFILESSaveCopyReferenceError *)aSaveCo #pragma mark - Serializer Object -@implementation DBFILESSaveCopyReferenceErrorSerializer +@implementation DBFILESTagSerializer -+ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESTag *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isInvalidCopyReference]) { - jsonDict[@".tag"] = @"invalid_copy_reference"; - } else if ([valueObj isNoPermission]) { - jsonDict[@".tag"] = @"no_permission"; - } else if ([valueObj isNotFound]) { - jsonDict[@".tag"] = @"not_found"; - } else if ([valueObj isTooManyFiles]) { - jsonDict[@".tag"] = @"too_many_files"; + if ([valueObj isUserGeneratedTag]) { + [jsonDict addEntriesFromDictionary:[DBFILESUserGeneratedTagSerializer serialize:valueObj.userGeneratedTag]]; + jsonDict[@".tag"] = @"user_generated_tag"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESTag *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESSaveCopyReferenceError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"invalid_copy_reference"]) { - return [[DBFILESSaveCopyReferenceError alloc] initWithInvalidCopyReference]; - } else if ([tag isEqualToString:@"no_permission"]) { - return [[DBFILESSaveCopyReferenceError alloc] initWithNoPermission]; - } else if ([tag isEqualToString:@"not_found"]) { - return [[DBFILESSaveCopyReferenceError alloc] initWithNotFound]; - } else if ([tag isEqualToString:@"too_many_files"]) { - return [[DBFILESSaveCopyReferenceError alloc] initWithTooManyFiles]; + if ([tag isEqualToString:@"user_generated_tag"]) { + DBFILESUserGeneratedTag *userGeneratedTag = [DBFILESUserGeneratedTagSerializer deserialize:valueDict]; + return [[DBFILESTag alloc] initWithUserGeneratedTag:userGeneratedTag]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; + return [[DBFILESTag alloc] initWithOther]; } else { - return [[DBFILESSaveCopyReferenceError alloc] initWithOther]; + return [[DBFILESTag alloc] initWithOther]; } } @end -#import "DBFILESMetadata.h" -#import "DBFILESSaveCopyReferenceResult.h" +#import "DBFILESThumbnailArg.h" +#import "DBFILESThumbnailFormat.h" +#import "DBFILESThumbnailMode.h" +#import "DBFILESThumbnailSize.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveCopyReferenceResult +@implementation DBFILESThumbnailArg #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](metadata); +- (instancetype)initWithPath:(NSString *)path + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); self = [super init]; if (self) { - _metadata = metadata; + _path = path; + _format = format ?: [[DBFILESThumbnailFormat alloc] initWithJpeg]; + _size = size ?: [[DBFILESThumbnailSize alloc] initWithW64h64]; + _mode = mode ?: [[DBFILESThumbnailMode alloc] initWithStrict]; } return self; } +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path format:nil size:nil mode:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveCopyReferenceResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveCopyReferenceResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveCopyReferenceResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11829,7 +26657,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.metadata hash]; + result = prime * result + [self.path hash]; + result = prime * result + [self.format hash]; + result = prime * result + [self.size hash]; + result = prime * result + [self.mode hash]; return prime * result; } @@ -11843,14 +26674,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveCopyReferenceResult:other]; + return [self isEqualToThumbnailArg:other]; } -- (BOOL)isEqualToSaveCopyReferenceResult:(DBFILESSaveCopyReferenceResult *)aSaveCopyReferenceResult { - if (self == aSaveCopyReferenceResult) { +- (BOOL)isEqualToThumbnailArg:(DBFILESThumbnailArg *)aThumbnailArg { + if (self == aThumbnailArg) { return YES; } - if (![self.metadata isEqual:aSaveCopyReferenceResult.metadata]) { + if (![self.path isEqual:aThumbnailArg.path]) { + return NO; + } + if (![self.format isEqual:aThumbnailArg.format]) { + return NO; + } + if (![self.size isEqual:aThumbnailArg.size]) { + return NO; + } + if (![self.mode isEqual:aThumbnailArg.mode]) { return NO; } return YES; @@ -11860,61 +26700,137 @@ - (BOOL)isEqualToSaveCopyReferenceResult:(DBFILESSaveCopyReferenceResult *)aSave #pragma mark - Serializer Object -@implementation DBFILESSaveCopyReferenceResultSerializer +@implementation DBFILESThumbnailArgSerializer -+ (NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; + jsonDict[@"path"] = valueObj.path; + jsonDict[@"format"] = [DBFILESThumbnailFormatSerializer serialize:valueObj.format]; + jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; + jsonDict[@"mode"] = [DBFILESThumbnailModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)valueDict { - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; ++ (DBFILESThumbnailArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESThumbnailFormat *format = valueDict[@"format"] + ? [DBFILESThumbnailFormatSerializer deserialize:valueDict[@"format"]] + : [[DBFILESThumbnailFormat alloc] initWithJpeg]; + DBFILESThumbnailSize *size = valueDict[@"size"] ? [DBFILESThumbnailSizeSerializer deserialize:valueDict[@"size"]] + : [[DBFILESThumbnailSize alloc] initWithW64h64]; + DBFILESThumbnailMode *mode = valueDict[@"mode"] ? [DBFILESThumbnailModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESThumbnailMode alloc] initWithStrict]; - return [[DBFILESSaveCopyReferenceResult alloc] initWithMetadata:metadata]; + return [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; } @end -#import "DBFILESSaveUrlArg.h" +#import "DBFILESLookupError.h" +#import "DBFILESThumbnailError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveUrlArg +@implementation DBFILESThumbnailError -#pragma mark - Constructors +@synthesize path = _path; -- (instancetype)initWithPath:(NSString *)path url:(NSString *)url { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); - [DBStoneValidators nonnullValidator:nil](url); +#pragma mark - Constructors +- (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { + _tag = DBFILESThumbnailErrorPath; _path = path; - _url = url; } return self; } +- (instancetype)initWithUnsupportedExtension { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailErrorUnsupportedExtension; + } + return self; +} + +- (instancetype)initWithUnsupportedImage { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailErrorUnsupportedImage; + } + return self; +} + +- (instancetype)initWithConversionError { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailErrorConversionError; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESThumbnailErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESThumbnailErrorPath; +} + +- (BOOL)isUnsupportedExtension { + return _tag == DBFILESThumbnailErrorUnsupportedExtension; +} + +- (BOOL)isUnsupportedImage { + return _tag == DBFILESThumbnailErrorUnsupportedImage; +} + +- (BOOL)isConversionError { + return _tag == DBFILESThumbnailErrorConversionError; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESThumbnailErrorPath: + return @"DBFILESThumbnailErrorPath"; + case DBFILESThumbnailErrorUnsupportedExtension: + return @"DBFILESThumbnailErrorUnsupportedExtension"; + case DBFILESThumbnailErrorUnsupportedImage: + return @"DBFILESThumbnailErrorUnsupportedImage"; + case DBFILESThumbnailErrorConversionError: + return @"DBFILESThumbnailErrorConversionError"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveUrlArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveUrlArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveUrlArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11931,8 +26847,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.url hash]; + switch (_tag) { + case DBFILESThumbnailErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESThumbnailErrorUnsupportedExtension: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailErrorUnsupportedImage: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailErrorConversionError: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -11946,18 +26874,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveUrlArg:other]; + return [self isEqualToThumbnailError:other]; } -- (BOOL)isEqualToSaveUrlArg:(DBFILESSaveUrlArg *)aSaveUrlArg { - if (self == aSaveUrlArg) { +- (BOOL)isEqualToThumbnailError:(DBFILESThumbnailError *)aThumbnailError { + if (self == aThumbnailError) { return YES; } - if (![self.path isEqual:aSaveUrlArg.path]) { + if (self.tag != aThumbnailError.tag) { return NO; } - if (![self.url isEqual:aSaveUrlArg.url]) { - return NO; + switch (_tag) { + case DBFILESThumbnailErrorPath: + return [self.path isEqual:aThumbnailError.path]; + case DBFILESThumbnailErrorUnsupportedExtension: + return [[self tagName] isEqual:[aThumbnailError tagName]]; + case DBFILESThumbnailErrorUnsupportedImage: + return [[self tagName] isEqual:[aThumbnailError tagName]]; + case DBFILESThumbnailErrorConversionError: + return [[self tagName] isEqual:[aThumbnailError tagName]]; } return YES; } @@ -11966,124 +26901,95 @@ - (BOOL)isEqualToSaveUrlArg:(DBFILESSaveUrlArg *)aSaveUrlArg { #pragma mark - Serializer Object -@implementation DBFILESSaveUrlArgSerializer +@implementation DBFILESThumbnailErrorSerializer -+ (NSDictionary *)serialize:(DBFILESSaveUrlArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"url"] = valueObj.url; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isUnsupportedExtension]) { + jsonDict[@".tag"] = @"unsupported_extension"; + } else if ([valueObj isUnsupportedImage]) { + jsonDict[@".tag"] = @"unsupported_image"; + } else if ([valueObj isConversionError]) { + jsonDict[@".tag"] = @"conversion_error"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSString *url = valueDict[@"url"]; ++ (DBFILESThumbnailError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESSaveUrlArg alloc] initWithPath:path url:url]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESThumbnailError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"unsupported_extension"]) { + return [[DBFILESThumbnailError alloc] initWithUnsupportedExtension]; + } else if ([tag isEqualToString:@"unsupported_image"]) { + return [[DBFILESThumbnailError alloc] initWithUnsupportedImage]; + } else if ([tag isEqualToString:@"conversion_error"]) { + return [[DBFILESThumbnailError alloc] initWithConversionError]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILESSaveUrlError.h" -#import "DBFILESWriteError.h" +#import "DBFILESThumbnailFormat.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveUrlError - -@synthesize path = _path; +@implementation DBFILESThumbnailFormat #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESWriteError *)path { - self = [super init]; - if (self) { - _tag = DBFILESSaveUrlErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithDownloadFailed { - self = [super init]; - if (self) { - _tag = DBFILESSaveUrlErrorDownloadFailed; - } - return self; -} - -- (instancetype)initWithInvalidUrl { - self = [super init]; - if (self) { - _tag = DBFILESSaveUrlErrorInvalidUrl; - } - return self; -} - -- (instancetype)initWithNotFound { +- (instancetype)initWithJpeg { self = [super init]; if (self) { - _tag = DBFILESSaveUrlErrorNotFound; + _tag = DBFILESThumbnailFormatJpeg; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithPng { self = [super init]; if (self) { - _tag = DBFILESSaveUrlErrorOther; + _tag = DBFILESThumbnailFormatPng; } return self; } #pragma mark - Instance field accessors -- (DBFILESWriteError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveUrlErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - #pragma mark - Tag state methods -- (BOOL)isPath { - return _tag == DBFILESSaveUrlErrorPath; -} - -- (BOOL)isDownloadFailed { - return _tag == DBFILESSaveUrlErrorDownloadFailed; -} - -- (BOOL)isInvalidUrl { - return _tag == DBFILESSaveUrlErrorInvalidUrl; -} - -- (BOOL)isNotFound { - return _tag == DBFILESSaveUrlErrorNotFound; +- (BOOL)isJpeg { + return _tag == DBFILESThumbnailFormatJpeg; } -- (BOOL)isOther { - return _tag == DBFILESSaveUrlErrorOther; +- (BOOL)isPng { + return _tag == DBFILESThumbnailFormatPng; } - (NSString *)tagName { switch (_tag) { - case DBFILESSaveUrlErrorPath: - return @"DBFILESSaveUrlErrorPath"; - case DBFILESSaveUrlErrorDownloadFailed: - return @"DBFILESSaveUrlErrorDownloadFailed"; - case DBFILESSaveUrlErrorInvalidUrl: - return @"DBFILESSaveUrlErrorInvalidUrl"; - case DBFILESSaveUrlErrorNotFound: - return @"DBFILESSaveUrlErrorNotFound"; - case DBFILESSaveUrlErrorOther: - return @"DBFILESSaveUrlErrorOther"; + case DBFILESThumbnailFormatJpeg: + return @"DBFILESThumbnailFormatJpeg"; + case DBFILESThumbnailFormatPng: + return @"DBFILESThumbnailFormatPng"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12091,18 +26997,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveUrlErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailFormatSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveUrlErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailFormatSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveUrlErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailFormatSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12120,16 +27026,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESSaveUrlErrorPath: - result = prime * result + [self.path hash]; - case DBFILESSaveUrlErrorDownloadFailed: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveUrlErrorInvalidUrl: - result = prime * result + [[self tagName] hash]; - case DBFILESSaveUrlErrorNotFound: + case DBFILESThumbnailFormatJpeg: result = prime * result + [[self tagName] hash]; - case DBFILESSaveUrlErrorOther: + break; + case DBFILESThumbnailFormatPng: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12144,27 +27046,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveUrlError:other]; + return [self isEqualToThumbnailFormat:other]; } -- (BOOL)isEqualToSaveUrlError:(DBFILESSaveUrlError *)aSaveUrlError { - if (self == aSaveUrlError) { +- (BOOL)isEqualToThumbnailFormat:(DBFILESThumbnailFormat *)aThumbnailFormat { + if (self == aThumbnailFormat) { return YES; } - if (self.tag != aSaveUrlError.tag) { + if (self.tag != aThumbnailFormat.tag) { return NO; } switch (_tag) { - case DBFILESSaveUrlErrorPath: - return [self.path isEqual:aSaveUrlError.path]; - case DBFILESSaveUrlErrorDownloadFailed: - return [[self tagName] isEqual:[aSaveUrlError tagName]]; - case DBFILESSaveUrlErrorInvalidUrl: - return [[self tagName] isEqual:[aSaveUrlError tagName]]; - case DBFILESSaveUrlErrorNotFound: - return [[self tagName] isEqual:[aSaveUrlError tagName]]; - case DBFILESSaveUrlErrorOther: - return [[self tagName] isEqual:[aSaveUrlError tagName]]; + case DBFILESThumbnailFormatJpeg: + return [[self tagName] isEqual:[aThumbnailFormat tagName]]; + case DBFILESThumbnailFormatPng: + return [[self tagName] isEqual:[aThumbnailFormat tagName]]; } return YES; } @@ -12173,132 +27069,99 @@ - (BOOL)isEqualToSaveUrlError:(DBFILESSaveUrlError *)aSaveUrlError { #pragma mark - Serializer Object -@implementation DBFILESSaveUrlErrorSerializer +@implementation DBFILESThumbnailFormatSerializer -+ (NSDictionary *)serialize:(DBFILESSaveUrlError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailFormat *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isDownloadFailed]) { - jsonDict[@".tag"] = @"download_failed"; - } else if ([valueObj isInvalidUrl]) { - jsonDict[@".tag"] = @"invalid_url"; - } else if ([valueObj isNotFound]) { - jsonDict[@".tag"] = @"not_found"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isJpeg]) { + jsonDict[@".tag"] = @"jpeg"; + } else if ([valueObj isPng]) { + jsonDict[@".tag"] = @"png"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveUrlError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESSaveUrlError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"download_failed"]) { - return [[DBFILESSaveUrlError alloc] initWithDownloadFailed]; - } else if ([tag isEqualToString:@"invalid_url"]) { - return [[DBFILESSaveUrlError alloc] initWithInvalidUrl]; - } else if ([tag isEqualToString:@"not_found"]) { - return [[DBFILESSaveUrlError alloc] initWithNotFound]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESSaveUrlError alloc] initWithOther]; + if ([tag isEqualToString:@"jpeg"]) { + return [[DBFILESThumbnailFormat alloc] initWithJpeg]; + } else if ([tag isEqualToString:@"png"]) { + return [[DBFILESThumbnailFormat alloc] initWithPng]; } else { - return [[DBFILESSaveUrlError alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end -#import "DBASYNCPollResultBase.h" -#import "DBFILESFileMetadata.h" -#import "DBFILESSaveUrlError.h" -#import "DBFILESSaveUrlJobStatus.h" +#import "DBFILESThumbnailMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveUrlJobStatus - -@synthesize complete = _complete; -@synthesize failed = _failed; +@implementation DBFILESThumbnailMode #pragma mark - Constructors -- (instancetype)initWithInProgress { +- (instancetype)initWithStrict { self = [super init]; if (self) { - _tag = DBFILESSaveUrlJobStatusInProgress; + _tag = DBFILESThumbnailModeStrict; } return self; } -- (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { +- (instancetype)initWithBestfit { self = [super init]; if (self) { - _tag = DBFILESSaveUrlJobStatusComplete; - _complete = complete; + _tag = DBFILESThumbnailModeBestfit; } return self; } -- (instancetype)initWithFailed:(DBFILESSaveUrlError *)failed { +- (instancetype)initWithFitoneBestfit { self = [super init]; if (self) { - _tag = DBFILESSaveUrlJobStatusFailed; - _failed = failed; + _tag = DBFILESThumbnailModeFitoneBestfit; } return self; } #pragma mark - Instance field accessors -- (DBFILESFileMetadata *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveUrlJobStatusComplete, but was %@.", [self tagName]]; - } - return _complete; -} - -- (DBFILESSaveUrlError *)failed { - if (![self isFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveUrlJobStatusFailed, but was %@.", [self tagName]]; - } - return _failed; -} - #pragma mark - Tag state methods -- (BOOL)isInProgress { - return _tag == DBFILESSaveUrlJobStatusInProgress; +- (BOOL)isStrict { + return _tag == DBFILESThumbnailModeStrict; } -- (BOOL)isComplete { - return _tag == DBFILESSaveUrlJobStatusComplete; +- (BOOL)isBestfit { + return _tag == DBFILESThumbnailModeBestfit; } -- (BOOL)isFailed { - return _tag == DBFILESSaveUrlJobStatusFailed; +- (BOOL)isFitoneBestfit { + return _tag == DBFILESThumbnailModeFitoneBestfit; } - (NSString *)tagName { switch (_tag) { - case DBFILESSaveUrlJobStatusInProgress: - return @"DBFILESSaveUrlJobStatusInProgress"; - case DBFILESSaveUrlJobStatusComplete: - return @"DBFILESSaveUrlJobStatusComplete"; - case DBFILESSaveUrlJobStatusFailed: - return @"DBFILESSaveUrlJobStatusFailed"; + case DBFILESThumbnailModeStrict: + return @"DBFILESThumbnailModeStrict"; + case DBFILESThumbnailModeBestfit: + return @"DBFILESThumbnailModeBestfit"; + case DBFILESThumbnailModeFitoneBestfit: + return @"DBFILESThumbnailModeFitoneBestfit"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12306,18 +27169,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveUrlJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailModeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveUrlJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailModeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveUrlJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailModeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12335,12 +27198,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESSaveUrlJobStatusInProgress: + case DBFILESThumbnailModeStrict: result = prime * result + [[self tagName] hash]; - case DBFILESSaveUrlJobStatusComplete: - result = prime * result + [self.complete hash]; - case DBFILESSaveUrlJobStatusFailed: - result = prime * result + [self.failed hash]; + break; + case DBFILESThumbnailModeBestfit: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailModeFitoneBestfit: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12355,23 +27221,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveUrlJobStatus:other]; + return [self isEqualToThumbnailMode:other]; } -- (BOOL)isEqualToSaveUrlJobStatus:(DBFILESSaveUrlJobStatus *)aSaveUrlJobStatus { - if (self == aSaveUrlJobStatus) { +- (BOOL)isEqualToThumbnailMode:(DBFILESThumbnailMode *)aThumbnailMode { + if (self == aThumbnailMode) { return YES; } - if (self.tag != aSaveUrlJobStatus.tag) { + if (self.tag != aThumbnailMode.tag) { return NO; } switch (_tag) { - case DBFILESSaveUrlJobStatusInProgress: - return [[self tagName] isEqual:[aSaveUrlJobStatus tagName]]; - case DBFILESSaveUrlJobStatusComplete: - return [self.complete isEqual:aSaveUrlJobStatus.complete]; - case DBFILESSaveUrlJobStatusFailed: - return [self.failed isEqual:aSaveUrlJobStatus.failed]; + case DBFILESThumbnailModeStrict: + return [[self tagName] isEqual:[aThumbnailMode tagName]]; + case DBFILESThumbnailModeBestfit: + return [[self tagName] isEqual:[aThumbnailMode tagName]]; + case DBFILESThumbnailModeFitoneBestfit: + return [[self tagName] isEqual:[aThumbnailMode tagName]]; } return YES; } @@ -12380,39 +27246,35 @@ - (BOOL)isEqualToSaveUrlJobStatus:(DBFILESSaveUrlJobStatus *)aSaveUrlJobStatus { #pragma mark - Serializer Object -@implementation DBFILESSaveUrlJobStatusSerializer +@implementation DBFILESThumbnailModeSerializer -+ (NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESFileMetadataSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBFILESSaveUrlErrorSerializer serialize:valueObj.failed] mutableCopy]; - jsonDict[@".tag"] = @"failed"; + if ([valueObj isStrict]) { + jsonDict[@".tag"] = @"strict"; + } else if ([valueObj isBestfit]) { + jsonDict[@".tag"] = @"bestfit"; + } else if ([valueObj isFitoneBestfit]) { + jsonDict[@".tag"] = @"fitone_bestfit"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESThumbnailMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBFILESSaveUrlJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESFileMetadata *complete = [DBFILESFileMetadataSerializer deserialize:valueDict]; - return [[DBFILESSaveUrlJobStatus alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"failed"]) { - DBFILESSaveUrlError *failed = [DBFILESSaveUrlErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBFILESSaveUrlJobStatus alloc] initWithFailed:failed]; + if ([tag isEqualToString:@"strict"]) { + return [[DBFILESThumbnailMode alloc] initWithStrict]; + } else if ([tag isEqualToString:@"bestfit"]) { + return [[DBFILESThumbnailMode alloc] initWithBestfit]; + } else if ([tag isEqualToString:@"fitone_bestfit"]) { + return [[DBFILESThumbnailMode alloc] initWithFitoneBestfit]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -12423,73 +27285,148 @@ + (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)valueDict { @end -#import "DBASYNCLaunchResultBase.h" -#import "DBFILESFileMetadata.h" -#import "DBFILESSaveUrlResult.h" +#import "DBFILESThumbnailSize.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSaveUrlResult - -@synthesize asyncJobId = _asyncJobId; -@synthesize complete = _complete; +@implementation DBFILESThumbnailSize #pragma mark - Constructors -- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { +- (instancetype)initWithW32h32 { self = [super init]; if (self) { - _tag = DBFILESSaveUrlResultAsyncJobId; - _asyncJobId = asyncJobId; + _tag = DBFILESThumbnailSizeW32h32; } return self; } -- (instancetype)initWithComplete:(DBFILESFileMetadata *)complete { +- (instancetype)initWithW64h64 { self = [super init]; if (self) { - _tag = DBFILESSaveUrlResultComplete; - _complete = complete; + _tag = DBFILESThumbnailSizeW64h64; } return self; } -#pragma mark - Instance field accessors +- (instancetype)initWithW128h128 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW128h128; + } + return self; +} -- (NSString *)asyncJobId { - if (![self isAsyncJobId]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveUrlResultAsyncJobId, but was %@.", [self tagName]]; +- (instancetype)initWithW256h256 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW256h256; } - return _asyncJobId; + return self; } -- (DBFILESFileMetadata *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSaveUrlResultComplete, but was %@.", [self tagName]]; +- (instancetype)initWithW480h320 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW480h320; } - return _complete; + return self; +} + +- (instancetype)initWithW640h480 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW640h480; + } + return self; +} + +- (instancetype)initWithW960h640 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW960h640; + } + return self; +} + +- (instancetype)initWithW1024h768 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW1024h768; + } + return self; +} + +- (instancetype)initWithW2048h1536 { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailSizeW2048h1536; + } + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isAsyncJobId { - return _tag == DBFILESSaveUrlResultAsyncJobId; +- (BOOL)isW32h32 { + return _tag == DBFILESThumbnailSizeW32h32; } -- (BOOL)isComplete { - return _tag == DBFILESSaveUrlResultComplete; +- (BOOL)isW64h64 { + return _tag == DBFILESThumbnailSizeW64h64; +} + +- (BOOL)isW128h128 { + return _tag == DBFILESThumbnailSizeW128h128; +} + +- (BOOL)isW256h256 { + return _tag == DBFILESThumbnailSizeW256h256; +} + +- (BOOL)isW480h320 { + return _tag == DBFILESThumbnailSizeW480h320; +} + +- (BOOL)isW640h480 { + return _tag == DBFILESThumbnailSizeW640h480; +} + +- (BOOL)isW960h640 { + return _tag == DBFILESThumbnailSizeW960h640; +} + +- (BOOL)isW1024h768 { + return _tag == DBFILESThumbnailSizeW1024h768; +} + +- (BOOL)isW2048h1536 { + return _tag == DBFILESThumbnailSizeW2048h1536; } - (NSString *)tagName { switch (_tag) { - case DBFILESSaveUrlResultAsyncJobId: - return @"DBFILESSaveUrlResultAsyncJobId"; - case DBFILESSaveUrlResultComplete: - return @"DBFILESSaveUrlResultComplete"; + case DBFILESThumbnailSizeW32h32: + return @"DBFILESThumbnailSizeW32h32"; + case DBFILESThumbnailSizeW64h64: + return @"DBFILESThumbnailSizeW64h64"; + case DBFILESThumbnailSizeW128h128: + return @"DBFILESThumbnailSizeW128h128"; + case DBFILESThumbnailSizeW256h256: + return @"DBFILESThumbnailSizeW256h256"; + case DBFILESThumbnailSizeW480h320: + return @"DBFILESThumbnailSizeW480h320"; + case DBFILESThumbnailSizeW640h480: + return @"DBFILESThumbnailSizeW640h480"; + case DBFILESThumbnailSizeW960h640: + return @"DBFILESThumbnailSizeW960h640"; + case DBFILESThumbnailSizeW1024h768: + return @"DBFILESThumbnailSizeW1024h768"; + case DBFILESThumbnailSizeW2048h1536: + return @"DBFILESThumbnailSizeW2048h1536"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12497,18 +27434,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSaveUrlResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailSizeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSaveUrlResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailSizeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSaveUrlResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailSizeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12526,10 +27463,33 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESSaveUrlResultAsyncJobId: - result = prime * result + [self.asyncJobId hash]; - case DBFILESSaveUrlResultComplete: - result = prime * result + [self.complete hash]; + case DBFILESThumbnailSizeW32h32: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW64h64: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW128h128: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW256h256: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW480h320: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW640h480: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW960h640: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW1024h768: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailSizeW2048h1536: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12544,21 +27504,35 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSaveUrlResult:other]; + return [self isEqualToThumbnailSize:other]; } -- (BOOL)isEqualToSaveUrlResult:(DBFILESSaveUrlResult *)aSaveUrlResult { - if (self == aSaveUrlResult) { +- (BOOL)isEqualToThumbnailSize:(DBFILESThumbnailSize *)aThumbnailSize { + if (self == aThumbnailSize) { return YES; } - if (self.tag != aSaveUrlResult.tag) { + if (self.tag != aThumbnailSize.tag) { return NO; } switch (_tag) { - case DBFILESSaveUrlResultAsyncJobId: - return [self.asyncJobId isEqual:aSaveUrlResult.asyncJobId]; - case DBFILESSaveUrlResultComplete: - return [self.complete isEqual:aSaveUrlResult.complete]; + case DBFILESThumbnailSizeW32h32: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW64h64: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW128h128: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW256h256: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW480h320: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW640h480: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW960h640: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW1024h768: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; + case DBFILESThumbnailSizeW2048h1536: + return [[self tagName] isEqual:[aThumbnailSize tagName]]; } return YES; } @@ -12567,35 +27541,59 @@ - (BOOL)isEqualToSaveUrlResult:(DBFILESSaveUrlResult *)aSaveUrlResult { #pragma mark - Serializer Object -@implementation DBFILESSaveUrlResultSerializer +@implementation DBFILESThumbnailSizeSerializer -+ (NSDictionary *)serialize:(DBFILESSaveUrlResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailSize *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAsyncJobId]) { - jsonDict[@"async_job_id"] = valueObj.asyncJobId; - jsonDict[@".tag"] = @"async_job_id"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESFileMetadataSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; + if ([valueObj isW32h32]) { + jsonDict[@".tag"] = @"w32h32"; + } else if ([valueObj isW64h64]) { + jsonDict[@".tag"] = @"w64h64"; + } else if ([valueObj isW128h128]) { + jsonDict[@".tag"] = @"w128h128"; + } else if ([valueObj isW256h256]) { + jsonDict[@".tag"] = @"w256h256"; + } else if ([valueObj isW480h320]) { + jsonDict[@".tag"] = @"w480h320"; + } else if ([valueObj isW640h480]) { + jsonDict[@".tag"] = @"w640h480"; + } else if ([valueObj isW960h640]) { + jsonDict[@".tag"] = @"w960h640"; + } else if ([valueObj isW1024h768]) { + jsonDict[@".tag"] = @"w1024h768"; + } else if ([valueObj isW2048h1536]) { + jsonDict[@".tag"] = @"w2048h1536"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESThumbnailSize *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"async_job_id"]) { - NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBFILESSaveUrlResult alloc] initWithAsyncJobId:asyncJobId]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESFileMetadata *complete = [DBFILESFileMetadataSerializer deserialize:valueDict]; - return [[DBFILESSaveUrlResult alloc] initWithComplete:complete]; + if ([tag isEqualToString:@"w32h32"]) { + return [[DBFILESThumbnailSize alloc] initWithW32h32]; + } else if ([tag isEqualToString:@"w64h64"]) { + return [[DBFILESThumbnailSize alloc] initWithW64h64]; + } else if ([tag isEqualToString:@"w128h128"]) { + return [[DBFILESThumbnailSize alloc] initWithW128h128]; + } else if ([tag isEqualToString:@"w256h256"]) { + return [[DBFILESThumbnailSize alloc] initWithW256h256]; + } else if ([tag isEqualToString:@"w480h320"]) { + return [[DBFILESThumbnailSize alloc] initWithW480h320]; + } else if ([tag isEqualToString:@"w640h480"]) { + return [[DBFILESThumbnailSize alloc] initWithW640h480]; + } else if ([tag isEqualToString:@"w960h640"]) { + return [[DBFILESThumbnailSize alloc] initWithW960h640]; + } else if ([tag isEqualToString:@"w1024h768"]) { + return [[DBFILESThumbnailSize alloc] initWithW1024h768]; + } else if ([tag isEqualToString:@"w2048h1536"]) { + return [[DBFILESThumbnailSize alloc] initWithW2048h1536]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -12606,57 +27604,54 @@ + (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)valueDict { @end -#import "DBFILESSearchArg.h" -#import "DBFILESSearchMode.h" +#import "DBFILESPathOrLink.h" +#import "DBFILESThumbnailFormat.h" +#import "DBFILESThumbnailMode.h" +#import "DBFILESThumbnailSize.h" +#import "DBFILESThumbnailV2Arg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSearchArg +@implementation DBFILESThumbnailV2Arg #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - query:(NSString *)query - start:(NSNumber *)start - maxResults:(NSNumber *)maxResults - mode:(DBFILESSearchMode *)mode { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)"]](path); - [DBStoneValidators nonnullValidator:nil](query); +- (instancetype)initWithResource:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode { + [DBStoneValidators nonnullValidator:nil](resource); self = [super init]; if (self) { - _path = path; - _query = query; - _start = start ?: @(0); - _maxResults = maxResults ?: @(100); - _mode = mode ?: [[DBFILESSearchMode alloc] initWithFilename]; + _resource = resource; + _format = format ?: [[DBFILESThumbnailFormat alloc] initWithJpeg]; + _size = size ?: [[DBFILESThumbnailSize alloc] initWithW64h64]; + _mode = mode ?: [[DBFILESThumbnailMode alloc] initWithStrict]; } return self; } -- (instancetype)initWithPath:(NSString *)path query:(NSString *)query { - return [self initWithPath:path query:query start:nil maxResults:nil mode:nil]; +- (instancetype)initWithResource:(DBFILESPathOrLink *)resource { + return [self initWithResource:resource format:nil size:nil mode:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailV2ArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailV2ArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSearchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailV2ArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12670,13 +27665,12 @@ - (instancetype)copyWithZone:(NSZone *)zone { #pragma mark - Hash method - (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.path hash]; - result = prime * result + [self.query hash]; - result = prime * result + [self.start hash]; - result = prime * result + [self.maxResults hash]; + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.resource hash]; + result = prime * result + [self.format hash]; + result = prime * result + [self.size hash]; result = prime * result + [self.mode hash]; return prime * result; @@ -12691,26 +27685,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSearchArg:other]; + return [self isEqualToThumbnailV2Arg:other]; } -- (BOOL)isEqualToSearchArg:(DBFILESSearchArg *)aSearchArg { - if (self == aSearchArg) { +- (BOOL)isEqualToThumbnailV2Arg:(DBFILESThumbnailV2Arg *)aThumbnailV2Arg { + if (self == aThumbnailV2Arg) { return YES; } - if (![self.path isEqual:aSearchArg.path]) { - return NO; - } - if (![self.query isEqual:aSearchArg.query]) { + if (![self.resource isEqual:aThumbnailV2Arg.resource]) { return NO; } - if (![self.start isEqual:aSearchArg.start]) { + if (![self.format isEqual:aThumbnailV2Arg.format]) { return NO; } - if (![self.maxResults isEqual:aSearchArg.maxResults]) { + if (![self.size isEqual:aThumbnailV2Arg.size]) { return NO; } - if (![self.mode isEqual:aSearchArg.mode]) { + if (![self.mode isEqual:aThumbnailV2Arg.mode]) { return NO; } return YES; @@ -12720,41 +27711,42 @@ - (BOOL)isEqualToSearchArg:(DBFILESSearchArg *)aSearchArg { #pragma mark - Serializer Object -@implementation DBFILESSearchArgSerializer +@implementation DBFILESThumbnailV2ArgSerializer -+ (NSDictionary *)serialize:(DBFILESSearchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailV2Arg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"query"] = valueObj.query; - jsonDict[@"start"] = valueObj.start; - jsonDict[@"max_results"] = valueObj.maxResults; - jsonDict[@"mode"] = [DBFILESSearchModeSerializer serialize:valueObj.mode]; + jsonDict[@"resource"] = [DBFILESPathOrLinkSerializer serialize:valueObj.resource]; + jsonDict[@"format"] = [DBFILESThumbnailFormatSerializer serialize:valueObj.format]; + jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; + jsonDict[@"mode"] = [DBFILESThumbnailModeSerializer serialize:valueObj.mode]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSearchArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSString *query = valueDict[@"query"]; - NSNumber *start = valueDict[@"start"] ?: @(0); - NSNumber *maxResults = valueDict[@"max_results"] ?: @(100); - DBFILESSearchMode *mode = valueDict[@"mode"] ? [DBFILESSearchModeSerializer deserialize:valueDict[@"mode"]] - : [[DBFILESSearchMode alloc] initWithFilename]; ++ (DBFILESThumbnailV2Arg *)deserialize:(NSDictionary *)valueDict { + DBFILESPathOrLink *resource = [DBFILESPathOrLinkSerializer deserialize:valueDict[@"resource"]]; + DBFILESThumbnailFormat *format = valueDict[@"format"] + ? [DBFILESThumbnailFormatSerializer deserialize:valueDict[@"format"]] + : [[DBFILESThumbnailFormat alloc] initWithJpeg]; + DBFILESThumbnailSize *size = valueDict[@"size"] ? [DBFILESThumbnailSizeSerializer deserialize:valueDict[@"size"]] + : [[DBFILESThumbnailSize alloc] initWithW64h64]; + DBFILESThumbnailMode *mode = valueDict[@"mode"] ? [DBFILESThumbnailModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESThumbnailMode alloc] initWithStrict]; - return [[DBFILESSearchArg alloc] initWithPath:path query:query start:start maxResults:maxResults mode:mode]; + return [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; } @end #import "DBFILESLookupError.h" -#import "DBFILESSearchError.h" +#import "DBFILESThumbnailV2Error.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSearchError +@implementation DBFILESThumbnailV2Error @synthesize path = _path; @@ -12763,16 +27755,56 @@ @implementation DBFILESSearchError - (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { - _tag = DBFILESSearchErrorPath; + _tag = DBFILESThumbnailV2ErrorPath; _path = path; } return self; } +- (instancetype)initWithUnsupportedExtension { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailV2ErrorUnsupportedExtension; + } + return self; +} + +- (instancetype)initWithUnsupportedImage { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailV2ErrorUnsupportedImage; + } + return self; +} + +- (instancetype)initWithConversionError { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailV2ErrorConversionError; + } + return self; +} + +- (instancetype)initWithAccessDenied { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailV2ErrorAccessDenied; + } + return self; +} + +- (instancetype)initWithNotFound { + self = [super init]; + if (self) { + _tag = DBFILESThumbnailV2ErrorNotFound; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESSearchErrorOther; + _tag = DBFILESThumbnailV2ErrorOther; } return self; } @@ -12782,7 +27814,7 @@ - (instancetype)initWithOther { - (DBFILESLookupError *)path { if (![self isPath]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESSearchErrorPath, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESThumbnailV2ErrorPath, but was %@.", [self tagName]]; } return _path; } @@ -12790,19 +27822,49 @@ - (DBFILESLookupError *)path { #pragma mark - Tag state methods - (BOOL)isPath { - return _tag == DBFILESSearchErrorPath; + return _tag == DBFILESThumbnailV2ErrorPath; +} + +- (BOOL)isUnsupportedExtension { + return _tag == DBFILESThumbnailV2ErrorUnsupportedExtension; +} + +- (BOOL)isUnsupportedImage { + return _tag == DBFILESThumbnailV2ErrorUnsupportedImage; +} + +- (BOOL)isConversionError { + return _tag == DBFILESThumbnailV2ErrorConversionError; +} + +- (BOOL)isAccessDenied { + return _tag == DBFILESThumbnailV2ErrorAccessDenied; +} + +- (BOOL)isNotFound { + return _tag == DBFILESThumbnailV2ErrorNotFound; } - (BOOL)isOther { - return _tag == DBFILESSearchErrorOther; + return _tag == DBFILESThumbnailV2ErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESSearchErrorPath: - return @"DBFILESSearchErrorPath"; - case DBFILESSearchErrorOther: - return @"DBFILESSearchErrorOther"; + case DBFILESThumbnailV2ErrorPath: + return @"DBFILESThumbnailV2ErrorPath"; + case DBFILESThumbnailV2ErrorUnsupportedExtension: + return @"DBFILESThumbnailV2ErrorUnsupportedExtension"; + case DBFILESThumbnailV2ErrorUnsupportedImage: + return @"DBFILESThumbnailV2ErrorUnsupportedImage"; + case DBFILESThumbnailV2ErrorConversionError: + return @"DBFILESThumbnailV2ErrorConversionError"; + case DBFILESThumbnailV2ErrorAccessDenied: + return @"DBFILESThumbnailV2ErrorAccessDenied"; + case DBFILESThumbnailV2ErrorNotFound: + return @"DBFILESThumbnailV2ErrorNotFound"; + case DBFILESThumbnailV2ErrorOther: + return @"DBFILESThumbnailV2ErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12810,18 +27872,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESThumbnailV2ErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESThumbnailV2ErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSearchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESThumbnailV2ErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12839,10 +27901,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESSearchErrorPath: + case DBFILESThumbnailV2ErrorPath: result = prime * result + [self.path hash]; - case DBFILESSearchErrorOther: + break; + case DBFILESThumbnailV2ErrorUnsupportedExtension: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailV2ErrorUnsupportedImage: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailV2ErrorConversionError: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailV2ErrorAccessDenied: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailV2ErrorNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESThumbnailV2ErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12857,21 +27936,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSearchError:other]; + return [self isEqualToThumbnailV2Error:other]; } -- (BOOL)isEqualToSearchError:(DBFILESSearchError *)aSearchError { - if (self == aSearchError) { +- (BOOL)isEqualToThumbnailV2Error:(DBFILESThumbnailV2Error *)aThumbnailV2Error { + if (self == aThumbnailV2Error) { return YES; } - if (self.tag != aSearchError.tag) { + if (self.tag != aThumbnailV2Error.tag) { return NO; } switch (_tag) { - case DBFILESSearchErrorPath: - return [self.path isEqual:aSearchError.path]; - case DBFILESSearchErrorOther: - return [[self tagName] isEqual:[aSearchError tagName]]; + case DBFILESThumbnailV2ErrorPath: + return [self.path isEqual:aThumbnailV2Error.path]; + case DBFILESThumbnailV2ErrorUnsupportedExtension: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; + case DBFILESThumbnailV2ErrorUnsupportedImage: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; + case DBFILESThumbnailV2ErrorConversionError: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; + case DBFILESThumbnailV2ErrorAccessDenied: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; + case DBFILESThumbnailV2ErrorNotFound: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; + case DBFILESThumbnailV2ErrorOther: + return [[self tagName] isEqual:[aThumbnailV2Error tagName]]; } return YES; } @@ -12880,224 +27969,95 @@ - (BOOL)isEqualToSearchError:(DBFILESSearchError *)aSearchError { #pragma mark - Serializer Object -@implementation DBFILESSearchErrorSerializer +@implementation DBFILESThumbnailV2ErrorSerializer -+ (NSDictionary *)serialize:(DBFILESSearchError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESThumbnailV2Error *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; jsonDict[@".tag"] = @"path"; + } else if ([valueObj isUnsupportedExtension]) { + jsonDict[@".tag"] = @"unsupported_extension"; + } else if ([valueObj isUnsupportedImage]) { + jsonDict[@".tag"] = @"unsupported_image"; + } else if ([valueObj isConversionError]) { + jsonDict[@".tag"] = @"conversion_error"; + } else if ([valueObj isAccessDenied]) { + jsonDict[@".tag"] = @"access_denied"; + } else if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSearchError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESThumbnailV2Error *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESSearchError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESSearchError alloc] initWithOther]; - } else { - return [[DBFILESSearchError alloc] initWithOther]; - } -} - -@end - -#import "DBFILESMetadata.h" -#import "DBFILESSearchMatch.h" -#import "DBFILESSearchMatchType.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESSearchMatch - -#pragma mark - Constructors - -- (instancetype)initWithMatchType:(DBFILESSearchMatchType *)matchType metadata:(DBFILESMetadata *)metadata { - [DBStoneValidators nonnullValidator:nil](matchType); - [DBStoneValidators nonnullValidator:nil](metadata); - - self = [super init]; - if (self) { - _matchType = matchType; - _metadata = metadata; - } - return self; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchMatchSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchMatchSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBFILESSearchMatchSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.matchType hash]; - result = prime * result + [self.metadata hash]; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToSearchMatch:other]; -} - -- (BOOL)isEqualToSearchMatch:(DBFILESSearchMatch *)aSearchMatch { - if (self == aSearchMatch) { - return YES; - } - if (![self.matchType isEqual:aSearchMatch.matchType]) { - return NO; - } - if (![self.metadata isEqual:aSearchMatch.metadata]) { - return NO; - } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBFILESSearchMatchSerializer - -+ (NSDictionary *)serialize:(DBFILESSearchMatch *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"match_type"] = [DBFILESSearchMatchTypeSerializer serialize:valueObj.matchType]; - jsonDict[@"metadata"] = [DBFILESMetadataSerializer serialize:valueObj.metadata]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBFILESSearchMatch *)deserialize:(NSDictionary *)valueDict { - DBFILESSearchMatchType *matchType = [DBFILESSearchMatchTypeSerializer deserialize:valueDict[@"match_type"]]; - DBFILESMetadata *metadata = [DBFILESMetadataSerializer deserialize:valueDict[@"metadata"]]; - - return [[DBFILESSearchMatch alloc] initWithMatchType:matchType metadata:metadata]; -} - -@end - -#import "DBFILESSearchMatchType.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBFILESSearchMatchType - -#pragma mark - Constructors - -- (instancetype)initWithFilename { - self = [super init]; - if (self) { - _tag = DBFILESSearchMatchTypeFilename; - } - return self; -} - -- (instancetype)initWithContent { - self = [super init]; - if (self) { - _tag = DBFILESSearchMatchTypeContent; + return [[DBFILESThumbnailV2Error alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"unsupported_extension"]) { + return [[DBFILESThumbnailV2Error alloc] initWithUnsupportedExtension]; + } else if ([tag isEqualToString:@"unsupported_image"]) { + return [[DBFILESThumbnailV2Error alloc] initWithUnsupportedImage]; + } else if ([tag isEqualToString:@"conversion_error"]) { + return [[DBFILESThumbnailV2Error alloc] initWithConversionError]; + } else if ([tag isEqualToString:@"access_denied"]) { + return [[DBFILESThumbnailV2Error alloc] initWithAccessDenied]; + } else if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESThumbnailV2Error alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESThumbnailV2Error alloc] initWithOther]; + } else { + return [[DBFILESThumbnailV2Error alloc] initWithOther]; } - return self; } -- (instancetype)initWithBoth { - self = [super init]; - if (self) { - _tag = DBFILESSearchMatchTypeBoth; - } - return self; -} +@end -#pragma mark - Instance field accessors +#import "DBFILESUnlockFileArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" -#pragma mark - Tag state methods +#pragma mark - API Object -- (BOOL)isFilename { - return _tag == DBFILESSearchMatchTypeFilename; -} +@implementation DBFILESUnlockFileArg -- (BOOL)isContent { - return _tag == DBFILESSearchMatchTypeContent; -} +#pragma mark - Constructors -- (BOOL)isBoth { - return _tag == DBFILESSearchMatchTypeBoth; -} +- (instancetype)initWithPath:(NSString *)path { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); -- (NSString *)tagName { - switch (_tag) { - case DBFILESSearchMatchTypeFilename: - return @"DBFILESSearchMatchTypeFilename"; - case DBFILESSearchMatchTypeContent: - return @"DBFILESSearchMatchTypeContent"; - case DBFILESSearchMatchTypeBoth: - return @"DBFILESSearchMatchTypeBoth"; + self = [super init]; + if (self) { + _path = path; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchMatchTypeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUnlockFileArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchMatchTypeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUnlockFileArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSearchMatchTypeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUnlockFileArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13114,14 +28074,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESSearchMatchTypeFilename: - result = prime * result + [[self tagName] hash]; - case DBFILESSearchMatchTypeContent: - result = prime * result + [[self tagName] hash]; - case DBFILESSearchMatchTypeBoth: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.path hash]; return prime * result; } @@ -13135,24 +28088,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSearchMatchType:other]; + return [self isEqualToUnlockFileArg:other]; } -- (BOOL)isEqualToSearchMatchType:(DBFILESSearchMatchType *)aSearchMatchType { - if (self == aSearchMatchType) { +- (BOOL)isEqualToUnlockFileArg:(DBFILESUnlockFileArg *)anUnlockFileArg { + if (self == anUnlockFileArg) { return YES; } - if (self.tag != aSearchMatchType.tag) { + if (![self.path isEqual:anUnlockFileArg.path]) { return NO; } - switch (_tag) { - case DBFILESSearchMatchTypeFilename: - return [[self tagName] isEqual:[aSearchMatchType tagName]]; - case DBFILESSearchMatchTypeContent: - return [[self tagName] isEqual:[aSearchMatchType tagName]]; - case DBFILESSearchMatchTypeBoth: - return [[self tagName] isEqual:[aSearchMatchType tagName]]; - } return YES; } @@ -13160,122 +28105,62 @@ - (BOOL)isEqualToSearchMatchType:(DBFILESSearchMatchType *)aSearchMatchType { #pragma mark - Serializer Object -@implementation DBFILESSearchMatchTypeSerializer +@implementation DBFILESUnlockFileArgSerializer -+ (NSDictionary *)serialize:(DBFILESSearchMatchType *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUnlockFileArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFilename]) { - jsonDict[@".tag"] = @"filename"; - } else if ([valueObj isContent]) { - jsonDict[@".tag"] = @"content"; - } else if ([valueObj isBoth]) { - jsonDict[@".tag"] = @"both"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSearchMatchType *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUnlockFileArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; - if ([tag isEqualToString:@"filename"]) { - return [[DBFILESSearchMatchType alloc] initWithFilename]; - } else if ([tag isEqualToString:@"content"]) { - return [[DBFILESSearchMatchType alloc] initWithContent]; - } else if ([tag isEqualToString:@"both"]) { - return [[DBFILESSearchMatchType alloc] initWithBoth]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESUnlockFileArg alloc] initWithPath:path]; } @end -#import "DBFILESSearchMode.h" +#import "DBFILESUnlockFileArg.h" +#import "DBFILESUnlockFileBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSearchMode +@implementation DBFILESUnlockFileBatchArg #pragma mark - Constructors -- (instancetype)initWithFilename { - self = [super init]; - if (self) { - _tag = DBFILESSearchModeFilename; - } - return self; -} - -- (instancetype)initWithFilenameAndContent { - self = [super init]; - if (self) { - _tag = DBFILESSearchModeFilenameAndContent; - } - return self; -} +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); -- (instancetype)initWithDeletedFilename { self = [super init]; if (self) { - _tag = DBFILESSearchModeDeletedFilename; + _entries = entries; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isFilename { - return _tag == DBFILESSearchModeFilename; -} - -- (BOOL)isFilenameAndContent { - return _tag == DBFILESSearchModeFilenameAndContent; -} - -- (BOOL)isDeletedFilename { - return _tag == DBFILESSearchModeDeletedFilename; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESSearchModeFilename: - return @"DBFILESSearchModeFilename"; - case DBFILESSearchModeFilenameAndContent: - return @"DBFILESSearchModeFilenameAndContent"; - case DBFILESSearchModeDeletedFilename: - return @"DBFILESSearchModeDeletedFilename"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchModeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUnlockFileBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchModeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUnlockFileBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSearchModeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUnlockFileBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13292,14 +28177,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESSearchModeFilename: - result = prime * result + [[self tagName] hash]; - case DBFILESSearchModeFilenameAndContent: - result = prime * result + [[self tagName] hash]; - case DBFILESSearchModeDeletedFilename: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.entries hash]; return prime * result; } @@ -13313,24 +28191,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSearchMode:other]; + return [self isEqualToUnlockFileBatchArg:other]; } -- (BOOL)isEqualToSearchMode:(DBFILESSearchMode *)aSearchMode { - if (self == aSearchMode) { +- (BOOL)isEqualToUnlockFileBatchArg:(DBFILESUnlockFileBatchArg *)anUnlockFileBatchArg { + if (self == anUnlockFileBatchArg) { return YES; } - if (self.tag != aSearchMode.tag) { + if (![self.entries isEqual:anUnlockFileBatchArg.entries]) { return NO; } - switch (_tag) { - case DBFILESSearchModeFilename: - return [[self tagName] isEqual:[aSearchMode tagName]]; - case DBFILESSearchModeFilenameAndContent: - return [[self tagName] isEqual:[aSearchMode tagName]]; - case DBFILESSearchModeDeletedFilename: - return [[self tagName] isEqual:[aSearchMode tagName]]; - } return YES; } @@ -13338,87 +28208,101 @@ - (BOOL)isEqualToSearchMode:(DBFILESSearchMode *)aSearchMode { #pragma mark - Serializer Object -@implementation DBFILESSearchModeSerializer +@implementation DBFILESUnlockFileBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESSearchMode *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUnlockFileBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFilename]) { - jsonDict[@".tag"] = @"filename"; - } else if ([valueObj isFilenameAndContent]) { - jsonDict[@".tag"] = @"filename_and_content"; - } else if ([valueObj isDeletedFilename]) { - jsonDict[@".tag"] = @"deleted_filename"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESUnlockFileArgSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSearchMode *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUnlockFileBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESUnlockFileArgSerializer deserialize:elem0]; + }]; - if ([tag isEqualToString:@"filename"]) { - return [[DBFILESSearchMode alloc] initWithFilename]; - } else if ([tag isEqualToString:@"filename_and_content"]) { - return [[DBFILESSearchMode alloc] initWithFilenameAndContent]; - } else if ([tag isEqualToString:@"deleted_filename"]) { - return [[DBFILESSearchMode alloc] initWithDeletedFilename]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESUnlockFileBatchArg alloc] initWithEntries:entries]; } @end -#import "DBFILESSearchMatch.h" -#import "DBFILESSearchResult.h" +#import "DBFILEPROPERTIESPropertyGroup.h" +#import "DBFILESCommitInfo.h" +#import "DBFILESUploadArg.h" +#import "DBFILESWriteMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSearchResult +@implementation DBFILESUploadArg #pragma mark - Constructors -- (instancetype)initWithMatches:(NSArray *)matches more:(NSNumber *)more start:(NSNumber *)start { +- (instancetype)initWithPath:(NSString *)path + mode:(DBFILESWriteMode *)mode + autorename:(NSNumber *)autorename + clientModified:(NSDate *)clientModified + mute:(NSNumber *)mute + propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](matches); - [DBStoneValidators nonnullValidator:nil](more); - [DBStoneValidators nonnullValidator:nil](start); + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](propertyGroups); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); - self = [super init]; + self = [super initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict]; if (self) { - _matches = matches; - _more = more; - _start = start; + _contentHash = contentHash; } return self; } +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path + mode:nil + autorename:nil + clientModified:nil + mute:nil + propertyGroups:nil + strictConflict:nil + contentHash:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSearchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSearchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSearchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13435,9 +28319,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.matches hash]; - result = prime * result + [self.more hash]; - result = prime * result + [self.start hash]; + result = prime * result + [self.path hash]; + result = prime * result + [self.mode hash]; + result = prime * result + [self.autorename hash]; + if (self.clientModified != nil) { + result = prime * result + [self.clientModified hash]; + } + result = prime * result + [self.mute hash]; + if (self.propertyGroups != nil) { + result = prime * result + [self.propertyGroups hash]; + } + result = prime * result + [self.strictConflict hash]; + if (self.contentHash != nil) { + result = prime * result + [self.contentHash hash]; + } return prime * result; } @@ -13451,22 +28346,43 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSearchResult:other]; + return [self isEqualToUploadArg:other]; } -- (BOOL)isEqualToSearchResult:(DBFILESSearchResult *)aSearchResult { - if (self == aSearchResult) { +- (BOOL)isEqualToUploadArg:(DBFILESUploadArg *)anUploadArg { + if (self == anUploadArg) { return YES; } - if (![self.matches isEqual:aSearchResult.matches]) { + if (![self.path isEqual:anUploadArg.path]) { return NO; } - if (![self.more isEqual:aSearchResult.more]) { + if (![self.mode isEqual:anUploadArg.mode]) { return NO; } - if (![self.start isEqual:aSearchResult.start]) { + if (![self.autorename isEqual:anUploadArg.autorename]) { + return NO; + } + if (self.clientModified) { + if (![self.clientModified isEqual:anUploadArg.clientModified]) { + return NO; + } + } + if (![self.mute isEqual:anUploadArg.mute]) { return NO; } + if (self.propertyGroups) { + if (![self.propertyGroups isEqual:anUploadArg.propertyGroups]) { + return NO; + } + } + if (![self.strictConflict isEqual:anUploadArg.strictConflict]) { + return NO; + } + if (self.contentHash) { + if (![self.contentHash isEqual:anUploadArg.contentHash]) { + return NO; + } + } return YES; } @@ -13474,74 +28390,193 @@ - (BOOL)isEqualToSearchResult:(DBFILESSearchResult *)aSearchResult { #pragma mark - Serializer Object -@implementation DBFILESSearchResultSerializer +@implementation DBFILESUploadArgSerializer -+ (NSDictionary *)serialize:(DBFILESSearchResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"matches"] = [DBArraySerializer serialize:valueObj.matches - withBlock:^id(id elem0) { - return [DBFILESSearchMatchSerializer serialize:elem0]; - }]; - jsonDict[@"more"] = valueObj.more; - jsonDict[@"start"] = valueObj.start; + jsonDict[@"path"] = valueObj.path; + jsonDict[@"mode"] = [DBFILESWriteModeSerializer serialize:valueObj.mode]; + jsonDict[@"autorename"] = valueObj.autorename; + if (valueObj.clientModified) { + jsonDict[@"client_modified"] = + [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + jsonDict[@"mute"] = valueObj.mute; + if (valueObj.propertyGroups) { + jsonDict[@"property_groups"] = + [DBArraySerializer serialize:valueObj.propertyGroups + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer serialize:elem0]; + }]; + } + jsonDict[@"strict_conflict"] = valueObj.strictConflict; + if (valueObj.contentHash) { + jsonDict[@"content_hash"] = valueObj.contentHash; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSearchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *matches = - [DBArraySerializer deserialize:valueDict[@"matches"] - withBlock:^id(id elem0) { - return [DBFILESSearchMatchSerializer deserialize:elem0]; - }]; - NSNumber *more = valueDict[@"more"]; - NSNumber *start = valueDict[@"start"]; ++ (DBFILESUploadArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBFILESWriteMode *mode = valueDict[@"mode"] ? [DBFILESWriteModeSerializer deserialize:valueDict[@"mode"]] + : [[DBFILESWriteMode alloc] initWithAdd]; + NSNumber *autorename = valueDict[@"autorename"] ?: @NO; + NSDate *clientModified = valueDict[@"client_modified"] ? [DBNSDateSerializer deserialize:valueDict[@"client_modified"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSNumber *mute = valueDict[@"mute"] ?: @NO; + NSArray *propertyGroups = + valueDict[@"property_groups"] + ? [DBArraySerializer deserialize:valueDict[@"property_groups"] + withBlock:^id(id elem0) { + return [DBFILEPROPERTIESPropertyGroupSerializer deserialize:elem0]; + }] + : nil; + NSNumber *strictConflict = valueDict[@"strict_conflict"] ?: @NO; + NSString *contentHash = valueDict[@"content_hash"] ?: nil; - return [[DBFILESSearchResult alloc] initWithMatches:matches more:more start:start]; + return [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; } @end -#import "DBFILESSharedLink.h" +#import "DBFILEPROPERTIESInvalidPropertyGroupError.h" +#import "DBFILESUploadError.h" +#import "DBFILESUploadWriteFailed.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESSharedLink +@implementation DBFILESUploadError + +@synthesize path = _path; +@synthesize propertiesError = _propertiesError; #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url password:(NSString *)password { - [DBStoneValidators nonnullValidator:nil](url); +- (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path { + self = [super init]; + if (self) { + _tag = DBFILESUploadErrorPath; + _path = path; + } + return self; +} +- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { self = [super init]; if (self) { - _url = url; - _password = password; + _tag = DBFILESUploadErrorPropertiesError; + _propertiesError = propertiesError; } return self; } -- (instancetype)initWithUrl:(NSString *)url { - return [self initWithUrl:url password:nil]; +- (instancetype)initWithPayloadTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadErrorPayloadTooLarge; + } + return self; +} + +- (instancetype)initWithContentHashMismatch { + self = [super init]; + if (self) { + _tag = DBFILESUploadErrorContentHashMismatch; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESUploadErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBFILESUploadWriteFailed *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +- (DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { + if (![self isPropertiesError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadErrorPropertiesError, but was %@.", [self tagName]]; + } + return _propertiesError; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBFILESUploadErrorPath; +} + +- (BOOL)isPropertiesError { + return _tag == DBFILESUploadErrorPropertiesError; +} + +- (BOOL)isPayloadTooLarge { + return _tag == DBFILESUploadErrorPayloadTooLarge; +} + +- (BOOL)isContentHashMismatch { + return _tag == DBFILESUploadErrorContentHashMismatch; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESUploadErrorPath: + return @"DBFILESUploadErrorPath"; + case DBFILESUploadErrorPropertiesError: + return @"DBFILESUploadErrorPropertiesError"; + case DBFILESUploadErrorPayloadTooLarge: + return @"DBFILESUploadErrorPayloadTooLarge"; + case DBFILESUploadErrorContentHashMismatch: + return @"DBFILESUploadErrorContentHashMismatch"; + case DBFILESUploadErrorOther: + return @"DBFILESUploadErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESSharedLinkSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESSharedLinkSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESSharedLinkSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13558,9 +28593,22 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - if (self.password != nil) { - result = prime * result + [self.password hash]; + switch (_tag) { + case DBFILESUploadErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESUploadErrorPropertiesError: + result = prime * result + [self.propertiesError hash]; + break; + case DBFILESUploadErrorPayloadTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadErrorContentHashMismatch: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13575,20 +28623,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedLink:other]; + return [self isEqualToUploadError:other]; } -- (BOOL)isEqualToSharedLink:(DBFILESSharedLink *)aSharedLink { - if (self == aSharedLink) { +- (BOOL)isEqualToUploadError:(DBFILESUploadError *)anUploadError { + if (self == anUploadError) { return YES; } - if (![self.url isEqual:aSharedLink.url]) { + if (self.tag != anUploadError.tag) { return NO; } - if (self.password) { - if (![self.password isEqual:aSharedLink.password]) { - return NO; - } + switch (_tag) { + case DBFILESUploadErrorPath: + return [self.path isEqual:anUploadError.path]; + case DBFILESUploadErrorPropertiesError: + return [self.propertiesError isEqual:anUploadError.propertiesError]; + case DBFILESUploadErrorPayloadTooLarge: + return [[self tagName] isEqual:[anUploadError tagName]]; + case DBFILESUploadErrorContentHashMismatch: + return [[self tagName] isEqual:[anUploadError tagName]]; + case DBFILESUploadErrorOther: + return [[self tagName] isEqual:[anUploadError tagName]]; } return YES; } @@ -13597,76 +28652,99 @@ - (BOOL)isEqualToSharedLink:(DBFILESSharedLink *)aSharedLink { #pragma mark - Serializer Object -@implementation DBFILESSharedLinkSerializer +@implementation DBFILESUploadErrorSerializer -+ (NSDictionary *)serialize:(DBFILESSharedLink *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - if (valueObj.password) { - jsonDict[@"password"] = valueObj.password; + if ([valueObj isPath]) { + [jsonDict addEntriesFromDictionary:[DBFILESUploadWriteFailedSerializer serialize:valueObj.path]]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isPropertiesError]) { + jsonDict[@"properties_error"] = + [[DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:valueObj.propertiesError] mutableCopy]; + jsonDict[@".tag"] = @"properties_error"; + } else if ([valueObj isPayloadTooLarge]) { + jsonDict[@".tag"] = @"payload_too_large"; + } else if ([valueObj isContentHashMismatch]) { + jsonDict[@".tag"] = @"content_hash_mismatch"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESSharedLink *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; - NSString *password = valueDict[@"password"] ?: nil; ++ (DBFILESUploadError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESSharedLink alloc] initWithUrl:url password:password]; + if ([tag isEqualToString:@"path"]) { + DBFILESUploadWriteFailed *path = [DBFILESUploadWriteFailedSerializer deserialize:valueDict]; + return [[DBFILESUploadError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"properties_error"]) { + DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError = + [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer deserialize:valueDict[@"properties_error"]]; + return [[DBFILESUploadError alloc] initWithPropertiesError:propertiesError]; + } else if ([tag isEqualToString:@"payload_too_large"]) { + return [[DBFILESUploadError alloc] initWithPayloadTooLarge]; + } else if ([tag isEqualToString:@"content_hash_mismatch"]) { + return [[DBFILESUploadError alloc] initWithContentHashMismatch]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadError alloc] initWithOther]; + } else { + return [[DBFILESUploadError alloc] initWithOther]; + } } @end -#import "DBFILESThumbnailArg.h" -#import "DBFILESThumbnailFormat.h" -#import "DBFILESThumbnailSize.h" +#import "DBFILESUploadSessionAppendArg.h" +#import "DBFILESUploadSessionCursor.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESThumbnailArg +@implementation DBFILESUploadSessionAppendArg #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - format:(DBFILESThumbnailFormat *)format - size:(DBFILESThumbnailSize *)size { +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor + close:(NSNumber *)close + contentHash:(NSString *)contentHash { + [DBStoneValidators nonnullValidator:nil](cursor); [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); self = [super init]; - if (self) { - _path = path; - _format = format ?: [[DBFILESThumbnailFormat alloc] initWithJpeg]; - _size = size ?: [[DBFILESThumbnailSize alloc] initWithW64h64]; + if (self) { + _cursor = cursor; + _close = close ?: @NO; + _contentHash = contentHash; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path format:nil size:nil]; +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor { + return [self initWithCursor:cursor close:nil contentHash:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESThumbnailArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionAppendArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESThumbnailArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionAppendArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESThumbnailArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionAppendArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13683,9 +28761,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.format hash]; - result = prime * result + [self.size hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.close hash]; + if (self.contentHash != nil) { + result = prime * result + [self.contentHash hash]; + } return prime * result; } @@ -13699,21 +28779,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToThumbnailArg:other]; + return [self isEqualToUploadSessionAppendArg:other]; } -- (BOOL)isEqualToThumbnailArg:(DBFILESThumbnailArg *)aThumbnailArg { - if (self == aThumbnailArg) { +- (BOOL)isEqualToUploadSessionAppendArg:(DBFILESUploadSessionAppendArg *)anUploadSessionAppendArg { + if (self == anUploadSessionAppendArg) { return YES; } - if (![self.path isEqual:aThumbnailArg.path]) { + if (![self.cursor isEqual:anUploadSessionAppendArg.cursor]) { return NO; } - if (![self.format isEqual:aThumbnailArg.format]) { + if (![self.close isEqual:anUploadSessionAppendArg.close]) { return NO; } - if (![self.size isEqual:aThumbnailArg.size]) { - return NO; + if (self.contentHash) { + if (![self.contentHash isEqual:anUploadSessionAppendArg.contentHash]) { + return NO; + } } return YES; } @@ -13722,115 +28804,185 @@ - (BOOL)isEqualToThumbnailArg:(DBFILESThumbnailArg *)aThumbnailArg { #pragma mark - Serializer Object -@implementation DBFILESThumbnailArgSerializer +@implementation DBFILESUploadSessionAppendArgSerializer -+ (NSDictionary *)serialize:(DBFILESThumbnailArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"format"] = [DBFILESThumbnailFormatSerializer serialize:valueObj.format]; - jsonDict[@"size"] = [DBFILESThumbnailSizeSerializer serialize:valueObj.size]; + jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; + jsonDict[@"close"] = valueObj.close; + if (valueObj.contentHash) { + jsonDict[@"content_hash"] = valueObj.contentHash; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESThumbnailArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - DBFILESThumbnailFormat *format = valueDict[@"format"] - ? [DBFILESThumbnailFormatSerializer deserialize:valueDict[@"format"]] - : [[DBFILESThumbnailFormat alloc] initWithJpeg]; - DBFILESThumbnailSize *size = valueDict[@"size"] ? [DBFILESThumbnailSizeSerializer deserialize:valueDict[@"size"]] - : [[DBFILESThumbnailSize alloc] initWithW64h64]; ++ (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)valueDict { + DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; + NSNumber *close = valueDict[@"close"] ?: @NO; + NSString *contentHash = valueDict[@"content_hash"] ?: nil; - return [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size]; + return [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close contentHash:contentHash]; } @end -#import "DBFILESLookupError.h" -#import "DBFILESThumbnailError.h" +#import "DBFILESUploadSessionLookupError.h" +#import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESThumbnailError +@implementation DBFILESUploadSessionLookupError -@synthesize path = _path; +@synthesize incorrectOffset = _incorrectOffset; #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { +- (instancetype)initWithNotFound { self = [super init]; if (self) { - _tag = DBFILESThumbnailErrorPath; - _path = path; + _tag = DBFILESUploadSessionLookupErrorNotFound; } return self; } -- (instancetype)initWithUnsupportedExtension { +- (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset { self = [super init]; if (self) { - _tag = DBFILESThumbnailErrorUnsupportedExtension; + _tag = DBFILESUploadSessionLookupErrorIncorrectOffset; + _incorrectOffset = incorrectOffset; } return self; } -- (instancetype)initWithUnsupportedImage { +- (instancetype)initWithClosed { self = [super init]; if (self) { - _tag = DBFILESThumbnailErrorUnsupportedImage; + _tag = DBFILESUploadSessionLookupErrorClosed; } return self; } -- (instancetype)initWithConversionError { +- (instancetype)initWithNotClosed { self = [super init]; if (self) { - _tag = DBFILESThumbnailErrorConversionError; + _tag = DBFILESUploadSessionLookupErrorNotClosed; + } + return self; +} + +- (instancetype)initWithTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionLookupErrorTooLarge; + } + return self; +} + +- (instancetype)initWithConcurrentSessionInvalidOffset { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset; + } + return self; +} + +- (instancetype)initWithConcurrentSessionInvalidDataSize { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize; + } + return self; +} + +- (instancetype)initWithPayloadTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionLookupErrorPayloadTooLarge; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionLookupErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESThumbnailErrorPath, but was %@.", [self tagName]]; +- (DBFILESUploadSessionOffsetError *)incorrectOffset { + if (![self isIncorrectOffset]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionLookupErrorIncorrectOffset, but was %@.", [self tagName]]; } - return _path; + return _incorrectOffset; } #pragma mark - Tag state methods -- (BOOL)isPath { - return _tag == DBFILESThumbnailErrorPath; +- (BOOL)isNotFound { + return _tag == DBFILESUploadSessionLookupErrorNotFound; } -- (BOOL)isUnsupportedExtension { - return _tag == DBFILESThumbnailErrorUnsupportedExtension; +- (BOOL)isIncorrectOffset { + return _tag == DBFILESUploadSessionLookupErrorIncorrectOffset; } -- (BOOL)isUnsupportedImage { - return _tag == DBFILESThumbnailErrorUnsupportedImage; +- (BOOL)isClosed { + return _tag == DBFILESUploadSessionLookupErrorClosed; } -- (BOOL)isConversionError { - return _tag == DBFILESThumbnailErrorConversionError; +- (BOOL)isNotClosed { + return _tag == DBFILESUploadSessionLookupErrorNotClosed; +} + +- (BOOL)isTooLarge { + return _tag == DBFILESUploadSessionLookupErrorTooLarge; +} + +- (BOOL)isConcurrentSessionInvalidOffset { + return _tag == DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset; +} + +- (BOOL)isConcurrentSessionInvalidDataSize { + return _tag == DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize; +} + +- (BOOL)isPayloadTooLarge { + return _tag == DBFILESUploadSessionLookupErrorPayloadTooLarge; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadSessionLookupErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESThumbnailErrorPath: - return @"DBFILESThumbnailErrorPath"; - case DBFILESThumbnailErrorUnsupportedExtension: - return @"DBFILESThumbnailErrorUnsupportedExtension"; - case DBFILESThumbnailErrorUnsupportedImage: - return @"DBFILESThumbnailErrorUnsupportedImage"; - case DBFILESThumbnailErrorConversionError: - return @"DBFILESThumbnailErrorConversionError"; + case DBFILESUploadSessionLookupErrorNotFound: + return @"DBFILESUploadSessionLookupErrorNotFound"; + case DBFILESUploadSessionLookupErrorIncorrectOffset: + return @"DBFILESUploadSessionLookupErrorIncorrectOffset"; + case DBFILESUploadSessionLookupErrorClosed: + return @"DBFILESUploadSessionLookupErrorClosed"; + case DBFILESUploadSessionLookupErrorNotClosed: + return @"DBFILESUploadSessionLookupErrorNotClosed"; + case DBFILESUploadSessionLookupErrorTooLarge: + return @"DBFILESUploadSessionLookupErrorTooLarge"; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset: + return @"DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset"; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize: + return @"DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize"; + case DBFILESUploadSessionLookupErrorPayloadTooLarge: + return @"DBFILESUploadSessionLookupErrorPayloadTooLarge"; + case DBFILESUploadSessionLookupErrorOther: + return @"DBFILESUploadSessionLookupErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -13838,18 +28990,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESThumbnailErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionLookupErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESThumbnailErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionLookupErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESThumbnailErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionLookupErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13867,14 +29019,33 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESThumbnailErrorPath: - result = prime * result + [self.path hash]; - case DBFILESThumbnailErrorUnsupportedExtension: + case DBFILESUploadSessionLookupErrorNotFound: result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailErrorUnsupportedImage: + break; + case DBFILESUploadSessionLookupErrorIncorrectOffset: + result = prime * result + [self.incorrectOffset hash]; + break; + case DBFILESUploadSessionLookupErrorClosed: result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailErrorConversionError: + break; + case DBFILESUploadSessionLookupErrorNotClosed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionLookupErrorTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize: result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionLookupErrorPayloadTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionLookupErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13889,25 +29060,35 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToThumbnailError:other]; + return [self isEqualToUploadSessionLookupError:other]; } -- (BOOL)isEqualToThumbnailError:(DBFILESThumbnailError *)aThumbnailError { - if (self == aThumbnailError) { +- (BOOL)isEqualToUploadSessionLookupError:(DBFILESUploadSessionLookupError *)anUploadSessionLookupError { + if (self == anUploadSessionLookupError) { return YES; } - if (self.tag != aThumbnailError.tag) { + if (self.tag != anUploadSessionLookupError.tag) { return NO; } switch (_tag) { - case DBFILESThumbnailErrorPath: - return [self.path isEqual:aThumbnailError.path]; - case DBFILESThumbnailErrorUnsupportedExtension: - return [[self tagName] isEqual:[aThumbnailError tagName]]; - case DBFILESThumbnailErrorUnsupportedImage: - return [[self tagName] isEqual:[aThumbnailError tagName]]; - case DBFILESThumbnailErrorConversionError: - return [[self tagName] isEqual:[aThumbnailError tagName]]; + case DBFILESUploadSessionLookupErrorNotFound: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorIncorrectOffset: + return [self.incorrectOffset isEqual:anUploadSessionLookupError.incorrectOffset]; + case DBFILESUploadSessionLookupErrorClosed: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorNotClosed: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorTooLarge: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorPayloadTooLarge: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionLookupErrorOther: + return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; } return YES; } @@ -13916,95 +29097,237 @@ - (BOOL)isEqualToThumbnailError:(DBFILESThumbnailError *)aThumbnailError { #pragma mark - Serializer Object -@implementation DBFILESThumbnailErrorSerializer +@implementation DBFILESUploadSessionLookupErrorSerializer -+ (NSDictionary *)serialize:(DBFILESThumbnailError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isUnsupportedExtension]) { - jsonDict[@".tag"] = @"unsupported_extension"; - } else if ([valueObj isUnsupportedImage]) { - jsonDict[@".tag"] = @"unsupported_image"; - } else if ([valueObj isConversionError]) { - jsonDict[@".tag"] = @"conversion_error"; + if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isIncorrectOffset]) { + [jsonDict addEntriesFromDictionary:[DBFILESUploadSessionOffsetErrorSerializer serialize:valueObj.incorrectOffset]]; + jsonDict[@".tag"] = @"incorrect_offset"; + } else if ([valueObj isClosed]) { + jsonDict[@".tag"] = @"closed"; + } else if ([valueObj isNotClosed]) { + jsonDict[@".tag"] = @"not_closed"; + } else if ([valueObj isTooLarge]) { + jsonDict[@".tag"] = @"too_large"; + } else if ([valueObj isConcurrentSessionInvalidOffset]) { + jsonDict[@".tag"] = @"concurrent_session_invalid_offset"; + } else if ([valueObj isConcurrentSessionInvalidDataSize]) { + jsonDict[@".tag"] = @"concurrent_session_invalid_data_size"; + } else if ([valueObj isPayloadTooLarge]) { + jsonDict[@".tag"] = @"payload_too_large"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESThumbnailError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESThumbnailError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"unsupported_extension"]) { - return [[DBFILESThumbnailError alloc] initWithUnsupportedExtension]; - } else if ([tag isEqualToString:@"unsupported_image"]) { - return [[DBFILESThumbnailError alloc] initWithUnsupportedImage]; - } else if ([tag isEqualToString:@"conversion_error"]) { - return [[DBFILESThumbnailError alloc] initWithConversionError]; + if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"incorrect_offset"]) { + DBFILESUploadSessionOffsetError *incorrectOffset = + [DBFILESUploadSessionOffsetErrorSerializer deserialize:valueDict]; + return [[DBFILESUploadSessionLookupError alloc] initWithIncorrectOffset:incorrectOffset]; + } else if ([tag isEqualToString:@"closed"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithClosed]; + } else if ([tag isEqualToString:@"not_closed"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithNotClosed]; + } else if ([tag isEqualToString:@"too_large"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithTooLarge]; + } else if ([tag isEqualToString:@"concurrent_session_invalid_offset"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithConcurrentSessionInvalidOffset]; + } else if ([tag isEqualToString:@"concurrent_session_invalid_data_size"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithConcurrentSessionInvalidDataSize]; + } else if ([tag isEqualToString:@"payload_too_large"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithPayloadTooLarge]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadSessionLookupError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBFILESUploadSessionLookupError alloc] initWithOther]; } } @end -#import "DBFILESThumbnailFormat.h" +#import "DBFILESUploadSessionAppendError.h" +#import "DBFILESUploadSessionLookupError.h" +#import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESThumbnailFormat +@implementation DBFILESUploadSessionAppendError + +@synthesize incorrectOffset = _incorrectOffset; #pragma mark - Constructors -- (instancetype)initWithJpeg { +- (instancetype)initWithNotFound { self = [super init]; if (self) { - _tag = DBFILESThumbnailFormatJpeg; + _tag = DBFILESUploadSessionAppendErrorNotFound; } return self; } -- (instancetype)initWithPng { +- (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset { self = [super init]; if (self) { - _tag = DBFILESThumbnailFormatPng; + _tag = DBFILESUploadSessionAppendErrorIncorrectOffset; + _incorrectOffset = incorrectOffset; + } + return self; +} + +- (instancetype)initWithClosed { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorClosed; + } + return self; +} + +- (instancetype)initWithNotClosed { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorNotClosed; + } + return self; +} + +- (instancetype)initWithTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorTooLarge; + } + return self; +} + +- (instancetype)initWithConcurrentSessionInvalidOffset { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset; + } + return self; +} + +- (instancetype)initWithConcurrentSessionInvalidDataSize { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize; + } + return self; +} + +- (instancetype)initWithPayloadTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorPayloadTooLarge; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorOther; + } + return self; +} + +- (instancetype)initWithContentHashMismatch { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionAppendErrorContentHashMismatch; } return self; } #pragma mark - Instance field accessors +- (DBFILESUploadSessionOffsetError *)incorrectOffset { + if (![self isIncorrectOffset]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionAppendErrorIncorrectOffset, but was %@.", [self tagName]]; + } + return _incorrectOffset; +} + #pragma mark - Tag state methods -- (BOOL)isJpeg { - return _tag == DBFILESThumbnailFormatJpeg; +- (BOOL)isNotFound { + return _tag == DBFILESUploadSessionAppendErrorNotFound; } -- (BOOL)isPng { - return _tag == DBFILESThumbnailFormatPng; +- (BOOL)isIncorrectOffset { + return _tag == DBFILESUploadSessionAppendErrorIncorrectOffset; +} + +- (BOOL)isClosed { + return _tag == DBFILESUploadSessionAppendErrorClosed; +} + +- (BOOL)isNotClosed { + return _tag == DBFILESUploadSessionAppendErrorNotClosed; +} + +- (BOOL)isTooLarge { + return _tag == DBFILESUploadSessionAppendErrorTooLarge; +} + +- (BOOL)isConcurrentSessionInvalidOffset { + return _tag == DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset; +} + +- (BOOL)isConcurrentSessionInvalidDataSize { + return _tag == DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize; +} + +- (BOOL)isPayloadTooLarge { + return _tag == DBFILESUploadSessionAppendErrorPayloadTooLarge; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadSessionAppendErrorOther; +} + +- (BOOL)isContentHashMismatch { + return _tag == DBFILESUploadSessionAppendErrorContentHashMismatch; } - (NSString *)tagName { switch (_tag) { - case DBFILESThumbnailFormatJpeg: - return @"DBFILESThumbnailFormatJpeg"; - case DBFILESThumbnailFormatPng: - return @"DBFILESThumbnailFormatPng"; + case DBFILESUploadSessionAppendErrorNotFound: + return @"DBFILESUploadSessionAppendErrorNotFound"; + case DBFILESUploadSessionAppendErrorIncorrectOffset: + return @"DBFILESUploadSessionAppendErrorIncorrectOffset"; + case DBFILESUploadSessionAppendErrorClosed: + return @"DBFILESUploadSessionAppendErrorClosed"; + case DBFILESUploadSessionAppendErrorNotClosed: + return @"DBFILESUploadSessionAppendErrorNotClosed"; + case DBFILESUploadSessionAppendErrorTooLarge: + return @"DBFILESUploadSessionAppendErrorTooLarge"; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset: + return @"DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset"; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize: + return @"DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize"; + case DBFILESUploadSessionAppendErrorPayloadTooLarge: + return @"DBFILESUploadSessionAppendErrorPayloadTooLarge"; + case DBFILESUploadSessionAppendErrorOther: + return @"DBFILESUploadSessionAppendErrorOther"; + case DBFILESUploadSessionAppendErrorContentHashMismatch: + return @"DBFILESUploadSessionAppendErrorContentHashMismatch"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -14012,18 +29335,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESThumbnailFormatSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionAppendErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESThumbnailFormatSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionAppendErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESThumbnailFormatSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionAppendErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14041,10 +29364,36 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESThumbnailFormatJpeg: + case DBFILESUploadSessionAppendErrorNotFound: result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailFormatPng: + break; + case DBFILESUploadSessionAppendErrorIncorrectOffset: + result = prime * result + [self.incorrectOffset hash]; + break; + case DBFILESUploadSessionAppendErrorClosed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorNotClosed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorPayloadTooLarge: result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionAppendErrorContentHashMismatch: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -14059,21 +29408,37 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToThumbnailFormat:other]; + return [self isEqualToUploadSessionAppendError:other]; } -- (BOOL)isEqualToThumbnailFormat:(DBFILESThumbnailFormat *)aThumbnailFormat { - if (self == aThumbnailFormat) { +- (BOOL)isEqualToUploadSessionAppendError:(DBFILESUploadSessionAppendError *)anUploadSessionAppendError { + if (self == anUploadSessionAppendError) { return YES; } - if (self.tag != aThumbnailFormat.tag) { + if (self.tag != anUploadSessionAppendError.tag) { return NO; } switch (_tag) { - case DBFILESThumbnailFormatJpeg: - return [[self tagName] isEqual:[aThumbnailFormat tagName]]; - case DBFILESThumbnailFormatPng: - return [[self tagName] isEqual:[aThumbnailFormat tagName]]; + case DBFILESUploadSessionAppendErrorNotFound: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorIncorrectOffset: + return [self.incorrectOffset isEqual:anUploadSessionAppendError.incorrectOffset]; + case DBFILESUploadSessionAppendErrorClosed: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorNotClosed: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorTooLarge: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorPayloadTooLarge: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorOther: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; + case DBFILESUploadSessionAppendErrorContentHashMismatch: + return [[self tagName] isEqual:[anUploadSessionAppendError tagName]]; } return YES; } @@ -14082,146 +29447,107 @@ - (BOOL)isEqualToThumbnailFormat:(DBFILESThumbnailFormat *)aThumbnailFormat { #pragma mark - Serializer Object -@implementation DBFILESThumbnailFormatSerializer +@implementation DBFILESUploadSessionAppendErrorSerializer -+ (NSDictionary *)serialize:(DBFILESThumbnailFormat *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionAppendError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isJpeg]) { - jsonDict[@".tag"] = @"jpeg"; - } else if ([valueObj isPng]) { - jsonDict[@".tag"] = @"png"; + if ([valueObj isNotFound]) { + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isIncorrectOffset]) { + [jsonDict addEntriesFromDictionary:[DBFILESUploadSessionOffsetErrorSerializer serialize:valueObj.incorrectOffset]]; + jsonDict[@".tag"] = @"incorrect_offset"; + } else if ([valueObj isClosed]) { + jsonDict[@".tag"] = @"closed"; + } else if ([valueObj isNotClosed]) { + jsonDict[@".tag"] = @"not_closed"; + } else if ([valueObj isTooLarge]) { + jsonDict[@".tag"] = @"too_large"; + } else if ([valueObj isConcurrentSessionInvalidOffset]) { + jsonDict[@".tag"] = @"concurrent_session_invalid_offset"; + } else if ([valueObj isConcurrentSessionInvalidDataSize]) { + jsonDict[@".tag"] = @"concurrent_session_invalid_data_size"; + } else if ([valueObj isPayloadTooLarge]) { + jsonDict[@".tag"] = @"payload_too_large"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isContentHashMismatch]) { + jsonDict[@".tag"] = @"content_hash_mismatch"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESUploadSessionAppendError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"jpeg"]) { - return [[DBFILESThumbnailFormat alloc] initWithJpeg]; - } else if ([tag isEqualToString:@"png"]) { - return [[DBFILESThumbnailFormat alloc] initWithPng]; + if ([tag isEqualToString:@"not_found"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithNotFound]; + } else if ([tag isEqualToString:@"incorrect_offset"]) { + DBFILESUploadSessionOffsetError *incorrectOffset = + [DBFILESUploadSessionOffsetErrorSerializer deserialize:valueDict]; + return [[DBFILESUploadSessionAppendError alloc] initWithIncorrectOffset:incorrectOffset]; + } else if ([tag isEqualToString:@"closed"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithClosed]; + } else if ([tag isEqualToString:@"not_closed"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithNotClosed]; + } else if ([tag isEqualToString:@"too_large"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithTooLarge]; + } else if ([tag isEqualToString:@"concurrent_session_invalid_offset"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithConcurrentSessionInvalidOffset]; + } else if ([tag isEqualToString:@"concurrent_session_invalid_data_size"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithConcurrentSessionInvalidDataSize]; + } else if ([tag isEqualToString:@"payload_too_large"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithPayloadTooLarge]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithOther]; + } else if ([tag isEqualToString:@"content_hash_mismatch"]) { + return [[DBFILESUploadSessionAppendError alloc] initWithContentHashMismatch]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBFILESUploadSessionAppendError alloc] initWithOther]; } } @end -#import "DBFILESThumbnailSize.h" +#import "DBFILESUploadSessionCursor.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESThumbnailSize +@implementation DBFILESUploadSessionCursor #pragma mark - Constructors -- (instancetype)initWithW32h32 { - self = [super init]; - if (self) { - _tag = DBFILESThumbnailSizeW32h32; - } - return self; -} - -- (instancetype)initWithW64h64 { - self = [super init]; - if (self) { - _tag = DBFILESThumbnailSizeW64h64; - } - return self; -} - -- (instancetype)initWithW128h128 { - self = [super init]; - if (self) { - _tag = DBFILESThumbnailSizeW128h128; - } - return self; -} - -- (instancetype)initWithW640h480 { - self = [super init]; - if (self) { - _tag = DBFILESThumbnailSizeW640h480; - } - return self; -} +- (instancetype)initWithSessionId:(NSString *)sessionId offset:(NSNumber *)offset { + [DBStoneValidators nonnullValidator:nil](sessionId); + [DBStoneValidators nonnullValidator:nil](offset); -- (instancetype)initWithW1024h768 { self = [super init]; if (self) { - _tag = DBFILESThumbnailSizeW1024h768; - } - return self; -} - -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isW32h32 { - return _tag == DBFILESThumbnailSizeW32h32; -} - -- (BOOL)isW64h64 { - return _tag == DBFILESThumbnailSizeW64h64; -} - -- (BOOL)isW128h128 { - return _tag == DBFILESThumbnailSizeW128h128; -} - -- (BOOL)isW640h480 { - return _tag == DBFILESThumbnailSizeW640h480; -} - -- (BOOL)isW1024h768 { - return _tag == DBFILESThumbnailSizeW1024h768; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESThumbnailSizeW32h32: - return @"DBFILESThumbnailSizeW32h32"; - case DBFILESThumbnailSizeW64h64: - return @"DBFILESThumbnailSizeW64h64"; - case DBFILESThumbnailSizeW128h128: - return @"DBFILESThumbnailSizeW128h128"; - case DBFILESThumbnailSizeW640h480: - return @"DBFILESThumbnailSizeW640h480"; - case DBFILESThumbnailSizeW1024h768: - return @"DBFILESThumbnailSizeW1024h768"; + _sessionId = sessionId; + _offset = offset; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESThumbnailSizeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionCursorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESThumbnailSizeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionCursorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESThumbnailSizeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionCursorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14238,18 +29564,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESThumbnailSizeW32h32: - result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailSizeW64h64: - result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailSizeW128h128: - result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailSizeW640h480: - result = prime * result + [[self tagName] hash]; - case DBFILESThumbnailSizeW1024h768: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.sessionId hash]; + result = prime * result + [self.offset hash]; return prime * result; } @@ -14263,27 +29579,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToThumbnailSize:other]; + return [self isEqualToUploadSessionCursor:other]; } -- (BOOL)isEqualToThumbnailSize:(DBFILESThumbnailSize *)aThumbnailSize { - if (self == aThumbnailSize) { +- (BOOL)isEqualToUploadSessionCursor:(DBFILESUploadSessionCursor *)anUploadSessionCursor { + if (self == anUploadSessionCursor) { return YES; } - if (self.tag != aThumbnailSize.tag) { + if (![self.sessionId isEqual:anUploadSessionCursor.sessionId]) { return NO; } - switch (_tag) { - case DBFILESThumbnailSizeW32h32: - return [[self tagName] isEqual:[aThumbnailSize tagName]]; - case DBFILESThumbnailSizeW64h64: - return [[self tagName] isEqual:[aThumbnailSize tagName]]; - case DBFILESThumbnailSizeW128h128: - return [[self tagName] isEqual:[aThumbnailSize tagName]]; - case DBFILESThumbnailSizeW640h480: - return [[self tagName] isEqual:[aThumbnailSize tagName]]; - case DBFILESThumbnailSizeW1024h768: - return [[self tagName] isEqual:[aThumbnailSize tagName]]; + if (![self.offset isEqual:anUploadSessionCursor.offset]) { + return NO; } return YES; } @@ -14292,128 +29599,73 @@ - (BOOL)isEqualToThumbnailSize:(DBFILESThumbnailSize *)aThumbnailSize { #pragma mark - Serializer Object -@implementation DBFILESThumbnailSizeSerializer +@implementation DBFILESUploadSessionCursorSerializer -+ (NSDictionary *)serialize:(DBFILESThumbnailSize *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionCursor *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isW32h32]) { - jsonDict[@".tag"] = @"w32h32"; - } else if ([valueObj isW64h64]) { - jsonDict[@".tag"] = @"w64h64"; - } else if ([valueObj isW128h128]) { - jsonDict[@".tag"] = @"w128h128"; - } else if ([valueObj isW640h480]) { - jsonDict[@".tag"] = @"w640h480"; - } else if ([valueObj isW1024h768]) { - jsonDict[@".tag"] = @"w1024h768"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"session_id"] = valueObj.sessionId; + jsonDict[@"offset"] = valueObj.offset; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESThumbnailSize *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"]; + NSNumber *offset = valueDict[@"offset"]; - if ([tag isEqualToString:@"w32h32"]) { - return [[DBFILESThumbnailSize alloc] initWithW32h32]; - } else if ([tag isEqualToString:@"w64h64"]) { - return [[DBFILESThumbnailSize alloc] initWithW64h64]; - } else if ([tag isEqualToString:@"w128h128"]) { - return [[DBFILESThumbnailSize alloc] initWithW128h128]; - } else if ([tag isEqualToString:@"w640h480"]) { - return [[DBFILESThumbnailSize alloc] initWithW640h480]; - } else if ([tag isEqualToString:@"w1024h768"]) { - return [[DBFILESThumbnailSize alloc] initWithW1024h768]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; } @end -#import "DBFILESUploadError.h" -#import "DBFILESUploadWriteFailed.h" +#import "DBFILESCommitInfo.h" +#import "DBFILESUploadSessionCursor.h" +#import "DBFILESUploadSessionFinishArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadError - -@synthesize path = _path; +@implementation DBFILESUploadSessionFinishArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path { - self = [super init]; - if (self) { - _tag = DBFILESUploadErrorPath; - _path = path; - } - return self; -} +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(NSString *)contentHash { + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](commit); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESUploadErrorOther; + _cursor = cursor; + _commit = commit; + _contentHash = contentHash; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESUploadWriteFailed *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESUploadErrorPath; -} - -- (BOOL)isOther { - return _tag == DBFILESUploadErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESUploadErrorPath: - return @"DBFILESUploadErrorPath"; - case DBFILESUploadErrorOther: - return @"DBFILESUploadErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit { + return [self initWithCursor:cursor commit:commit contentHash:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14430,11 +29682,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESUploadErrorPath: - result = prime * result + [self.path hash]; - case DBFILESUploadErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.commit hash]; + if (self.contentHash != nil) { + result = prime * result + [self.contentHash hash]; } return prime * result; @@ -14449,21 +29700,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadError:other]; + return [self isEqualToUploadSessionFinishArg:other]; } -- (BOOL)isEqualToUploadError:(DBFILESUploadError *)anUploadError { - if (self == anUploadError) { +- (BOOL)isEqualToUploadSessionFinishArg:(DBFILESUploadSessionFinishArg *)anUploadSessionFinishArg { + if (self == anUploadSessionFinishArg) { return YES; } - if (self.tag != anUploadError.tag) { + if (![self.cursor isEqual:anUploadSessionFinishArg.cursor]) { return NO; } - switch (_tag) { - case DBFILESUploadErrorPath: - return [self.path isEqual:anUploadError.path]; - case DBFILESUploadErrorOther: - return [[self tagName] isEqual:[anUploadError tagName]]; + if (![self.commit isEqual:anUploadSessionFinishArg.commit]) { + return NO; + } + if (self.contentHash) { + if (![self.contentHash isEqual:anUploadSessionFinishArg.contentHash]) { + return NO; + } } return YES; } @@ -14472,140 +29725,68 @@ - (BOOL)isEqualToUploadError:(DBFILESUploadError *)anUploadError { #pragma mark - Serializer Object -@implementation DBFILESUploadErrorSerializer +@implementation DBFILESUploadSessionFinishArgSerializer -+ (NSDictionary *)serialize:(DBFILESUploadError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESUploadWriteFailedSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; + jsonDict[@"commit"] = [DBFILESCommitInfoSerializer serialize:valueObj.commit]; + if (valueObj.contentHash) { + jsonDict[@"content_hash"] = valueObj.contentHash; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)valueDict { + DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; + DBFILESCommitInfo *commit = [DBFILESCommitInfoSerializer deserialize:valueDict[@"commit"]]; + NSString *contentHash = valueDict[@"content_hash"] ?: nil; - if ([tag isEqualToString:@"path"]) { - DBFILESUploadWriteFailed *path = [DBFILESUploadWriteFailedSerializer deserialize:valueDict]; - return [[DBFILESUploadError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESUploadError alloc] initWithOther]; - } else { - return [[DBFILESUploadError alloc] initWithOther]; - } + return [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit contentHash:contentHash]; } @end -#import "DBFILEPROPERTIESInvalidPropertyGroupError.h" -#import "DBFILESUploadError.h" -#import "DBFILESUploadErrorWithProperties.h" -#import "DBFILESUploadWriteFailed.h" +#import "DBFILESUploadSessionFinishArg.h" +#import "DBFILESUploadSessionFinishBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadErrorWithProperties - -@synthesize path = _path; -@synthesize propertiesError = _propertiesError; +@implementation DBFILESUploadSessionFinishBatchArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path { - self = [super init]; - if (self) { - _tag = DBFILESUploadErrorWithPropertiesPath; - _path = path; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBFILESUploadErrorWithPropertiesOther; - } - return self; -} - -- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { - self = [super init]; - if (self) { - _tag = DBFILESUploadErrorWithPropertiesPropertiesError; - _propertiesError = propertiesError; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBFILESUploadWriteFailed *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadErrorWithPropertiesPath, but was %@.", [self tagName]]; - } - return _path; -} - -- (DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { - if (![self isPropertiesError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadErrorWithPropertiesPropertiesError, but was %@.", [self tagName]]; - } - return _propertiesError; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBFILESUploadErrorWithPropertiesPath; -} - -- (BOOL)isOther { - return _tag == DBFILESUploadErrorWithPropertiesOther; -} - -- (BOOL)isPropertiesError { - return _tag == DBFILESUploadErrorWithPropertiesPropertiesError; -} +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:@(1000) + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); -- (NSString *)tagName { - switch (_tag) { - case DBFILESUploadErrorWithPropertiesPath: - return @"DBFILESUploadErrorWithPropertiesPath"; - case DBFILESUploadErrorWithPropertiesOther: - return @"DBFILESUploadErrorWithPropertiesOther"; - case DBFILESUploadErrorWithPropertiesPropertiesError: - return @"DBFILESUploadErrorWithPropertiesPropertiesError"; + self = [super init]; + if (self) { + _entries = entries; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadErrorWithPropertiesSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadErrorWithPropertiesSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadErrorWithPropertiesSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14622,14 +29803,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESUploadErrorWithPropertiesPath: - result = prime * result + [self.path hash]; - case DBFILESUploadErrorWithPropertiesOther: - result = prime * result + [[self tagName] hash]; - case DBFILESUploadErrorWithPropertiesPropertiesError: - result = prime * result + [self.propertiesError hash]; - } + result = prime * result + [self.entries hash]; return prime * result; } @@ -14643,24 +29817,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadErrorWithProperties:other]; + return [self isEqualToUploadSessionFinishBatchArg:other]; } -- (BOOL)isEqualToUploadErrorWithProperties:(DBFILESUploadErrorWithProperties *)anUploadErrorWithProperties { - if (self == anUploadErrorWithProperties) { +- (BOOL)isEqualToUploadSessionFinishBatchArg:(DBFILESUploadSessionFinishBatchArg *)anUploadSessionFinishBatchArg { + if (self == anUploadSessionFinishBatchArg) { return YES; } - if (self.tag != anUploadErrorWithProperties.tag) { + if (![self.entries isEqual:anUploadSessionFinishBatchArg.entries]) { return NO; } - switch (_tag) { - case DBFILESUploadErrorWithPropertiesPath: - return [self.path isEqual:anUploadErrorWithProperties.path]; - case DBFILESUploadErrorWithPropertiesOther: - return [[self tagName] isEqual:[anUploadErrorWithProperties tagName]]; - case DBFILESUploadErrorWithPropertiesPropertiesError: - return [self.propertiesError isEqual:anUploadErrorWithProperties.propertiesError]; - } return YES; } @@ -14668,86 +29834,108 @@ - (BOOL)isEqualToUploadErrorWithProperties:(DBFILESUploadErrorWithProperties *)a #pragma mark - Serializer Object -@implementation DBFILESUploadErrorWithPropertiesSerializer +@implementation DBFILESUploadSessionFinishBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESUploadErrorWithProperties *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESUploadWriteFailedSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isPropertiesError]) { - jsonDict[@"properties_error"] = - [[DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:valueObj.propertiesError] mutableCopy]; - jsonDict[@".tag"] = @"properties_error"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESUploadSessionFinishArgSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadErrorWithProperties *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESUploadSessionFinishArgSerializer deserialize:elem0]; + }]; - if ([tag isEqualToString:@"path"]) { - DBFILESUploadWriteFailed *path = [DBFILESUploadWriteFailedSerializer deserialize:valueDict]; - return [[DBFILESUploadErrorWithProperties alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESUploadErrorWithProperties alloc] initWithOther]; - } else if ([tag isEqualToString:@"properties_error"]) { - DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError = - [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer deserialize:valueDict[@"properties_error"]]; - return [[DBFILESUploadErrorWithProperties alloc] initWithPropertiesError:propertiesError]; - } else { - return [[DBFILESUploadErrorWithProperties alloc] initWithOther]; - } + return [[DBFILESUploadSessionFinishBatchArg alloc] initWithEntries:entries]; } @end -#import "DBFILESUploadSessionAppendArg.h" -#import "DBFILESUploadSessionCursor.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILESUploadSessionFinishBatchJobStatus.h" +#import "DBFILESUploadSessionFinishBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionAppendArg +@implementation DBFILESUploadSessionFinishBatchJobStatus + +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor close:(NSNumber *)close { - [DBStoneValidators nonnullValidator:nil](cursor); +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishBatchJobStatusInProgress; + } + return self; +} +- (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)complete { self = [super init]; if (self) { - _cursor = cursor; - _close = close ?: @NO; + _tag = DBFILESUploadSessionFinishBatchJobStatusComplete; + _complete = complete; } return self; } -- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor { - return [self initWithCursor:cursor close:nil]; +#pragma mark - Instance field accessors + +- (DBFILESUploadSessionFinishBatchResult *)complete { + if (![self isComplete]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishBatchJobStatusComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBFILESUploadSessionFinishBatchJobStatusInProgress; +} + +- (BOOL)isComplete { + return _tag == DBFILESUploadSessionFinishBatchJobStatusComplete; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESUploadSessionFinishBatchJobStatusInProgress: + return @"DBFILESUploadSessionFinishBatchJobStatusInProgress"; + case DBFILESUploadSessionFinishBatchJobStatusComplete: + return @"DBFILESUploadSessionFinishBatchJobStatusComplete"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionAppendArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionAppendArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishBatchJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionAppendArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14764,8 +29952,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.close hash]; + switch (_tag) { + case DBFILESUploadSessionFinishBatchJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishBatchJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + } return prime * result; } @@ -14779,18 +29973,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionAppendArg:other]; + return [self isEqualToUploadSessionFinishBatchJobStatus:other]; } -- (BOOL)isEqualToUploadSessionAppendArg:(DBFILESUploadSessionAppendArg *)anUploadSessionAppendArg { - if (self == anUploadSessionAppendArg) { +- (BOOL)isEqualToUploadSessionFinishBatchJobStatus: + (DBFILESUploadSessionFinishBatchJobStatus *)anUploadSessionFinishBatchJobStatus { + if (self == anUploadSessionFinishBatchJobStatus) { return YES; } - if (![self.cursor isEqual:anUploadSessionAppendArg.cursor]) { + if (self.tag != anUploadSessionFinishBatchJobStatus.tag) { return NO; } - if (![self.close isEqual:anUploadSessionAppendArg.close]) { - return NO; + switch (_tag) { + case DBFILESUploadSessionFinishBatchJobStatusInProgress: + return [[self tagName] isEqual:[anUploadSessionFinishBatchJobStatus tagName]]; + case DBFILESUploadSessionFinishBatchJobStatusComplete: + return [self.complete isEqual:anUploadSessionFinishBatchJobStatus.complete]; } return YES; } @@ -14799,62 +29997,146 @@ - (BOOL)isEqualToUploadSessionAppendArg:(DBFILESUploadSessionAppendArg *)anUploa #pragma mark - Serializer Object -@implementation DBFILESUploadSessionAppendArgSerializer +@implementation DBFILESUploadSessionFinishBatchJobStatusSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; - jsonDict[@"close"] = valueObj.close; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESUploadSessionFinishBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)valueDict { - DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; - NSNumber *close = valueDict[@"close"] ?: @NO; ++ (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBFILESUploadSessionFinishBatchJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESUploadSessionFinishBatchResult *complete = + [DBFILESUploadSessionFinishBatchResultSerializer deserialize:valueDict]; + return [[DBFILESUploadSessionFinishBatchJobStatus alloc] initWithComplete:complete]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBFILESUploadSessionCursor.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBFILESUploadSessionFinishBatchLaunch.h" +#import "DBFILESUploadSessionFinishBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionCursor +@implementation DBFILESUploadSessionFinishBatchLaunch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId offset:(NSNumber *)offset { - [DBStoneValidators nonnullValidator:nil](sessionId); - [DBStoneValidators nonnullValidator:nil](offset); +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishBatchLaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} +- (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)complete { self = [super init]; if (self) { - _sessionId = sessionId; - _offset = offset; + _tag = DBFILESUploadSessionFinishBatchLaunchComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishBatchLaunchOther; } return self; } +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishBatchLaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (DBFILESUploadSessionFinishBatchResult *)complete { + if (![self isComplete]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishBatchLaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBFILESUploadSessionFinishBatchLaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBFILESUploadSessionFinishBatchLaunchComplete; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadSessionFinishBatchLaunchOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: + return @"DBFILESUploadSessionFinishBatchLaunchAsyncJobId"; + case DBFILESUploadSessionFinishBatchLaunchComplete: + return @"DBFILESUploadSessionFinishBatchLaunchComplete"; + case DBFILESUploadSessionFinishBatchLaunchOther: + return @"DBFILESUploadSessionFinishBatchLaunchOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionCursorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishBatchLaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionCursorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishBatchLaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionCursorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishBatchLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14871,8 +30153,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sessionId hash]; - result = prime * result + [self.offset hash]; + switch (_tag) { + case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBFILESUploadSessionFinishBatchLaunchComplete: + result = prime * result + [self.complete hash]; + break; + case DBFILESUploadSessionFinishBatchLaunchOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -14886,18 +30177,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionCursor:other]; + return [self isEqualToUploadSessionFinishBatchLaunch:other]; } -- (BOOL)isEqualToUploadSessionCursor:(DBFILESUploadSessionCursor *)anUploadSessionCursor { - if (self == anUploadSessionCursor) { +- (BOOL)isEqualToUploadSessionFinishBatchLaunch: + (DBFILESUploadSessionFinishBatchLaunch *)anUploadSessionFinishBatchLaunch { + if (self == anUploadSessionFinishBatchLaunch) { return YES; } - if (![self.sessionId isEqual:anUploadSessionCursor.sessionId]) { + if (self.tag != anUploadSessionFinishBatchLaunch.tag) { return NO; } - if (![self.offset isEqual:anUploadSessionCursor.offset]) { - return NO; + switch (_tag) { + case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: + return [self.asyncJobId isEqual:anUploadSessionFinishBatchLaunch.asyncJobId]; + case DBFILESUploadSessionFinishBatchLaunchComplete: + return [self.complete isEqual:anUploadSessionFinishBatchLaunch.complete]; + case DBFILESUploadSessionFinishBatchLaunchOther: + return [[self tagName] isEqual:[anUploadSessionFinishBatchLaunch tagName]]; } return YES; } @@ -14906,64 +30203,83 @@ - (BOOL)isEqualToUploadSessionCursor:(DBFILESUploadSessionCursor *)anUploadSessi #pragma mark - Serializer Object -@implementation DBFILESUploadSessionCursorSerializer +@implementation DBFILESUploadSessionFinishBatchLaunchSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionCursor *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"session_id"] = valueObj.sessionId; - jsonDict[@"offset"] = valueObj.offset; + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBFILESUploadSessionFinishBatchResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"]; - NSNumber *offset = valueDict[@"offset"]; ++ (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESUploadSessionCursor alloc] initWithSessionId:sessionId offset:offset]; + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBFILESUploadSessionFinishBatchResult *complete = + [DBFILESUploadSessionFinishBatchResultSerializer deserialize:valueDict]; + return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithOther]; + } else { + return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithOther]; + } } @end -#import "DBFILESCommitInfo.h" -#import "DBFILESUploadSessionCursor.h" -#import "DBFILESUploadSessionFinishArg.h" +#import "DBFILESUploadSessionFinishBatchResult.h" +#import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishArg +@implementation DBFILESUploadSessionFinishBatchResult #pragma mark - Constructors -- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit { - [DBStoneValidators nonnullValidator:nil](cursor); - [DBStoneValidators nonnullValidator:nil](commit); +- (instancetype)initWithEntries:(NSArray *)entries { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); self = [super init]; if (self) { - _cursor = cursor; - _commit = commit; + _entries = entries; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14980,8 +30296,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.commit hash]; + result = prime * result + [self.entries hash]; return prime * result; } @@ -14995,17 +30310,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishArg:other]; + return [self isEqualToUploadSessionFinishBatchResult:other]; } -- (BOOL)isEqualToUploadSessionFinishArg:(DBFILESUploadSessionFinishArg *)anUploadSessionFinishArg { - if (self == anUploadSessionFinishArg) { +- (BOOL)isEqualToUploadSessionFinishBatchResult: + (DBFILESUploadSessionFinishBatchResult *)anUploadSessionFinishBatchResult { + if (self == anUploadSessionFinishBatchResult) { return YES; } - if (![self.cursor isEqual:anUploadSessionFinishArg.cursor]) { - return NO; - } - if (![self.commit isEqual:anUploadSessionFinishArg.commit]) { + if (![self.entries isEqual:anUploadSessionFinishBatchResult.entries]) { return NO; } return YES; @@ -15015,64 +30328,120 @@ - (BOOL)isEqualToUploadSessionFinishArg:(DBFILESUploadSessionFinishArg *)anUploa #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishArgSerializer +@implementation DBFILESUploadSessionFinishBatchResultSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = [DBFILESUploadSessionCursorSerializer serialize:valueObj.cursor]; - jsonDict[@"commit"] = [DBFILESCommitInfoSerializer serialize:valueObj.commit]; + jsonDict[@"entries"] = + [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)valueDict { - DBFILESUploadSessionCursor *cursor = [DBFILESUploadSessionCursorSerializer deserialize:valueDict[@"cursor"]]; - DBFILESCommitInfo *commit = [DBFILESCommitInfoSerializer deserialize:valueDict[@"commit"]]; ++ (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:elem0]; + }]; - return [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit]; + return [[DBFILESUploadSessionFinishBatchResult alloc] initWithEntries:entries]; } @end -#import "DBFILESUploadSessionFinishArg.h" -#import "DBFILESUploadSessionFinishBatchArg.h" +#import "DBFILESFileMetadata.h" +#import "DBFILESUploadSessionFinishBatchResultEntry.h" +#import "DBFILESUploadSessionFinishError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishBatchArg +@implementation DBFILESUploadSessionFinishBatchResultEntry + +@synthesize success = _success; +@synthesize failure = _failure; #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:@(1000) - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); +- (instancetype)initWithSuccess:(DBFILESFileMetadata *)success { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishBatchResultEntrySuccess; + _success = success; + } + return self; +} +- (instancetype)initWithFailure:(DBFILESUploadSessionFinishError *)failure { self = [super init]; if (self) { - _entries = entries; + _tag = DBFILESUploadSessionFinishBatchResultEntryFailure; + _failure = failure; } return self; } +#pragma mark - Instance field accessors + +- (DBFILESFileMetadata *)success { + if (![self isSuccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishBatchResultEntrySuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBFILESUploadSessionFinishError *)failure { + if (![self isFailure]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishBatchResultEntryFailure, but was %@.", [self tagName]]; + } + return _failure; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBFILESUploadSessionFinishBatchResultEntrySuccess; +} + +- (BOOL)isFailure { + return _tag == DBFILESUploadSessionFinishBatchResultEntryFailure; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESUploadSessionFinishBatchResultEntrySuccess: + return @"DBFILESUploadSessionFinishBatchResultEntrySuccess"; + case DBFILESUploadSessionFinishBatchResultEntryFailure: + return @"DBFILESUploadSessionFinishBatchResultEntryFailure"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15089,7 +30458,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; + switch (_tag) { + case DBFILESUploadSessionFinishBatchResultEntrySuccess: + result = prime * result + [self.success hash]; + break; + case DBFILESUploadSessionFinishBatchResultEntryFailure: + result = prime * result + [self.failure hash]; + break; + } return prime * result; } @@ -15103,16 +30479,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishBatchArg:other]; + return [self isEqualToUploadSessionFinishBatchResultEntry:other]; } -- (BOOL)isEqualToUploadSessionFinishBatchArg:(DBFILESUploadSessionFinishBatchArg *)anUploadSessionFinishBatchArg { - if (self == anUploadSessionFinishBatchArg) { +- (BOOL)isEqualToUploadSessionFinishBatchResultEntry: + (DBFILESUploadSessionFinishBatchResultEntry *)anUploadSessionFinishBatchResultEntry { + if (self == anUploadSessionFinishBatchResultEntry) { return YES; } - if (![self.entries isEqual:anUploadSessionFinishBatchArg.entries]) { + if (self.tag != anUploadSessionFinishBatchResultEntry.tag) { return NO; } + switch (_tag) { + case DBFILESUploadSessionFinishBatchResultEntrySuccess: + return [self.success isEqual:anUploadSessionFinishBatchResultEntry.success]; + case DBFILESUploadSessionFinishBatchResultEntryFailure: + return [self.failure isEqual:anUploadSessionFinishBatchResultEntry.failure]; + } return YES; } @@ -15120,89 +30503,252 @@ - (BOOL)isEqualToUploadSessionFinishBatchArg:(DBFILESUploadSessionFinishBatchArg #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishBatchArgSerializer +@implementation DBFILESUploadSessionFinishBatchResultEntrySerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESUploadSessionFinishArgSerializer serialize:elem0]; - }]; + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBFILESFileMetadataSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isFailure]) { + jsonDict[@"failure"] = [[DBFILESUploadSessionFinishErrorSerializer serialize:valueObj.failure] mutableCopy]; + jsonDict[@".tag"] = @"failure"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBFILESFileMetadata *success = [DBFILESFileMetadataSerializer deserialize:valueDict]; + return [[DBFILESUploadSessionFinishBatchResultEntry alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"failure"]) { + DBFILESUploadSessionFinishError *failure = + [DBFILESUploadSessionFinishErrorSerializer deserialize:valueDict[@"failure"]]; + return [[DBFILESUploadSessionFinishBatchResultEntry alloc] initWithFailure:failure]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBFILEPROPERTIESInvalidPropertyGroupError.h" +#import "DBFILESUploadSessionFinishError.h" +#import "DBFILESUploadSessionLookupError.h" +#import "DBFILESWriteError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBFILESUploadSessionFinishError + +@synthesize lookupFailed = _lookupFailed; +@synthesize path = _path; +@synthesize propertiesError = _propertiesError; + +#pragma mark - Constructors - return [jsonDict count] > 0 ? jsonDict : nil; +- (instancetype)initWithLookupFailed:(DBFILESUploadSessionLookupError *)lookupFailed { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorLookupFailed; + _lookupFailed = lookupFailed; + } + return self; } -+ (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESUploadSessionFinishArgSerializer deserialize:elem0]; - }]; +- (instancetype)initWithPath:(DBFILESWriteError *)path { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorPath; + _path = path; + } + return self; +} - return [[DBFILESUploadSessionFinishBatchArg alloc] initWithEntries:entries]; +- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorPropertiesError; + _propertiesError = propertiesError; + } + return self; } -@end +- (instancetype)initWithTooManySharedFolderTargets { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorTooManySharedFolderTargets; + } + return self; +} -#import "DBASYNCPollResultBase.h" -#import "DBFILESUploadSessionFinishBatchJobStatus.h" -#import "DBFILESUploadSessionFinishBatchResult.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorTooManyWriteOperations; + } + return self; +} -#pragma mark - API Object +- (instancetype)initWithConcurrentSessionDataNotAllowed { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed; + } + return self; +} -@implementation DBFILESUploadSessionFinishBatchJobStatus +- (instancetype)initWithConcurrentSessionNotClosed { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed; + } + return self; +} -@synthesize complete = _complete; +- (instancetype)initWithConcurrentSessionMissingData { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorConcurrentSessionMissingData; + } + return self; +} -#pragma mark - Constructors +- (instancetype)initWithPayloadTooLarge { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionFinishErrorPayloadTooLarge; + } + return self; +} -- (instancetype)initWithInProgress { +- (instancetype)initWithContentHashMismatch { self = [super init]; if (self) { - _tag = DBFILESUploadSessionFinishBatchJobStatusInProgress; + _tag = DBFILESUploadSessionFinishErrorContentHashMismatch; } return self; } -- (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)complete { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESUploadSessionFinishBatchJobStatusComplete; - _complete = complete; + _tag = DBFILESUploadSessionFinishErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBFILESUploadSessionFinishBatchResult *)complete { - if (![self isComplete]) { +- (DBFILESUploadSessionLookupError *)lookupFailed { + if (![self isLookupFailed]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishBatchJobStatusComplete, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBFILESUploadSessionFinishErrorLookupFailed, but was %@.", [self tagName]]; } - return _complete; + return _lookupFailed; +} + +- (DBFILESWriteError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +- (DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError { + if (![self isPropertiesError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBFILESUploadSessionFinishErrorPropertiesError, but was %@.", [self tagName]]; + } + return _propertiesError; } #pragma mark - Tag state methods -- (BOOL)isInProgress { - return _tag == DBFILESUploadSessionFinishBatchJobStatusInProgress; +- (BOOL)isLookupFailed { + return _tag == DBFILESUploadSessionFinishErrorLookupFailed; } -- (BOOL)isComplete { - return _tag == DBFILESUploadSessionFinishBatchJobStatusComplete; +- (BOOL)isPath { + return _tag == DBFILESUploadSessionFinishErrorPath; +} + +- (BOOL)isPropertiesError { + return _tag == DBFILESUploadSessionFinishErrorPropertiesError; +} + +- (BOOL)isTooManySharedFolderTargets { + return _tag == DBFILESUploadSessionFinishErrorTooManySharedFolderTargets; +} + +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESUploadSessionFinishErrorTooManyWriteOperations; +} + +- (BOOL)isConcurrentSessionDataNotAllowed { + return _tag == DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed; +} + +- (BOOL)isConcurrentSessionNotClosed { + return _tag == DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed; +} + +- (BOOL)isConcurrentSessionMissingData { + return _tag == DBFILESUploadSessionFinishErrorConcurrentSessionMissingData; +} + +- (BOOL)isPayloadTooLarge { + return _tag == DBFILESUploadSessionFinishErrorPayloadTooLarge; +} + +- (BOOL)isContentHashMismatch { + return _tag == DBFILESUploadSessionFinishErrorContentHashMismatch; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadSessionFinishErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESUploadSessionFinishBatchJobStatusInProgress: - return @"DBFILESUploadSessionFinishBatchJobStatusInProgress"; - case DBFILESUploadSessionFinishBatchJobStatusComplete: - return @"DBFILESUploadSessionFinishBatchJobStatusComplete"; + case DBFILESUploadSessionFinishErrorLookupFailed: + return @"DBFILESUploadSessionFinishErrorLookupFailed"; + case DBFILESUploadSessionFinishErrorPath: + return @"DBFILESUploadSessionFinishErrorPath"; + case DBFILESUploadSessionFinishErrorPropertiesError: + return @"DBFILESUploadSessionFinishErrorPropertiesError"; + case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: + return @"DBFILESUploadSessionFinishErrorTooManySharedFolderTargets"; + case DBFILESUploadSessionFinishErrorTooManyWriteOperations: + return @"DBFILESUploadSessionFinishErrorTooManyWriteOperations"; + case DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed: + return @"DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed"; + case DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed: + return @"DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed"; + case DBFILESUploadSessionFinishErrorConcurrentSessionMissingData: + return @"DBFILESUploadSessionFinishErrorConcurrentSessionMissingData"; + case DBFILESUploadSessionFinishErrorPayloadTooLarge: + return @"DBFILESUploadSessionFinishErrorPayloadTooLarge"; + case DBFILESUploadSessionFinishErrorContentHashMismatch: + return @"DBFILESUploadSessionFinishErrorContentHashMismatch"; + case DBFILESUploadSessionFinishErrorOther: + return @"DBFILESUploadSessionFinishErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -15210,18 +30756,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionFinishErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishBatchJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionFinishErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishBatchJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionFinishErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15239,10 +30785,39 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESUploadSessionFinishBatchJobStatusInProgress: + case DBFILESUploadSessionFinishErrorLookupFailed: + result = prime * result + [self.lookupFailed hash]; + break; + case DBFILESUploadSessionFinishErrorPath: + result = prime * result + [self.path hash]; + break; + case DBFILESUploadSessionFinishErrorPropertiesError: + result = prime * result + [self.propertiesError hash]; + break; + case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionFinishBatchJobStatusComplete: - result = prime * result + [self.complete hash]; + break; + case DBFILESUploadSessionFinishErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorConcurrentSessionMissingData: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorPayloadTooLarge: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorContentHashMismatch: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionFinishErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -15257,22 +30832,39 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishBatchJobStatus:other]; + return [self isEqualToUploadSessionFinishError:other]; } -- (BOOL)isEqualToUploadSessionFinishBatchJobStatus: - (DBFILESUploadSessionFinishBatchJobStatus *)anUploadSessionFinishBatchJobStatus { - if (self == anUploadSessionFinishBatchJobStatus) { +- (BOOL)isEqualToUploadSessionFinishError:(DBFILESUploadSessionFinishError *)anUploadSessionFinishError { + if (self == anUploadSessionFinishError) { return YES; } - if (self.tag != anUploadSessionFinishBatchJobStatus.tag) { + if (self.tag != anUploadSessionFinishError.tag) { return NO; } switch (_tag) { - case DBFILESUploadSessionFinishBatchJobStatusInProgress: - return [[self tagName] isEqual:[anUploadSessionFinishBatchJobStatus tagName]]; - case DBFILESUploadSessionFinishBatchJobStatusComplete: - return [self.complete isEqual:anUploadSessionFinishBatchJobStatus.complete]; + case DBFILESUploadSessionFinishErrorLookupFailed: + return [self.lookupFailed isEqual:anUploadSessionFinishError.lookupFailed]; + case DBFILESUploadSessionFinishErrorPath: + return [self.path isEqual:anUploadSessionFinishError.path]; + case DBFILESUploadSessionFinishErrorPropertiesError: + return [self.propertiesError isEqual:anUploadSessionFinishError.propertiesError]; + case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorTooManyWriteOperations: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorConcurrentSessionMissingData: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorPayloadTooLarge: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorContentHashMismatch: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; + case DBFILESUploadSessionFinishErrorOther: + return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; } return YES; } @@ -15281,146 +30873,116 @@ - (BOOL)isEqualToUploadSessionFinishBatchJobStatus: #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishBatchJobStatusSerializer +@implementation DBFILESUploadSessionFinishErrorSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESUploadSessionFinishBatchResultSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; + if ([valueObj isLookupFailed]) { + jsonDict[@"lookup_failed"] = + [[DBFILESUploadSessionLookupErrorSerializer serialize:valueObj.lookupFailed] mutableCopy]; + jsonDict[@".tag"] = @"lookup_failed"; + } else if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isPropertiesError]) { + jsonDict[@"properties_error"] = + [[DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer serialize:valueObj.propertiesError] mutableCopy]; + jsonDict[@".tag"] = @"properties_error"; + } else if ([valueObj isTooManySharedFolderTargets]) { + jsonDict[@".tag"] = @"too_many_shared_folder_targets"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; + } else if ([valueObj isConcurrentSessionDataNotAllowed]) { + jsonDict[@".tag"] = @"concurrent_session_data_not_allowed"; + } else if ([valueObj isConcurrentSessionNotClosed]) { + jsonDict[@".tag"] = @"concurrent_session_not_closed"; + } else if ([valueObj isConcurrentSessionMissingData]) { + jsonDict[@".tag"] = @"concurrent_session_missing_data"; + } else if ([valueObj isPayloadTooLarge]) { + jsonDict[@".tag"] = @"payload_too_large"; + } else if ([valueObj isContentHashMismatch]) { + jsonDict[@".tag"] = @"content_hash_mismatch"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBFILESUploadSessionFinishBatchJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESUploadSessionFinishBatchResult *complete = - [DBFILESUploadSessionFinishBatchResultSerializer deserialize:valueDict]; - return [[DBFILESUploadSessionFinishBatchJobStatus alloc] initWithComplete:complete]; + if ([tag isEqualToString:@"lookup_failed"]) { + DBFILESUploadSessionLookupError *lookupFailed = + [DBFILESUploadSessionLookupErrorSerializer deserialize:valueDict[@"lookup_failed"]]; + return [[DBFILESUploadSessionFinishError alloc] initWithLookupFailed:lookupFailed]; + } else if ([tag isEqualToString:@"path"]) { + DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBFILESUploadSessionFinishError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"properties_error"]) { + DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError = + [DBFILEPROPERTIESInvalidPropertyGroupErrorSerializer deserialize:valueDict[@"properties_error"]]; + return [[DBFILESUploadSessionFinishError alloc] initWithPropertiesError:propertiesError]; + } else if ([tag isEqualToString:@"too_many_shared_folder_targets"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithTooManySharedFolderTargets]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithTooManyWriteOperations]; + } else if ([tag isEqualToString:@"concurrent_session_data_not_allowed"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithConcurrentSessionDataNotAllowed]; + } else if ([tag isEqualToString:@"concurrent_session_not_closed"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithConcurrentSessionNotClosed]; + } else if ([tag isEqualToString:@"concurrent_session_missing_data"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithConcurrentSessionMissingData]; + } else if ([tag isEqualToString:@"payload_too_large"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithPayloadTooLarge]; + } else if ([tag isEqualToString:@"content_hash_mismatch"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithContentHashMismatch]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadSessionFinishError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBFILESUploadSessionFinishError alloc] initWithOther]; } } @end -#import "DBASYNCLaunchResultBase.h" -#import "DBFILESUploadSessionFinishBatchLaunch.h" -#import "DBFILESUploadSessionFinishBatchResult.h" +#import "DBFILESUploadSessionOffsetError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishBatchLaunch - -@synthesize asyncJobId = _asyncJobId; -@synthesize complete = _complete; +@implementation DBFILESUploadSessionOffsetError #pragma mark - Constructors -- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishBatchLaunchAsyncJobId; - _asyncJobId = asyncJobId; - } - return self; -} - -- (instancetype)initWithComplete:(DBFILESUploadSessionFinishBatchResult *)complete { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishBatchLaunchComplete; - _complete = complete; - } - return self; -} +- (instancetype)initWithCorrectOffset:(NSNumber *)correctOffset { + [DBStoneValidators nonnullValidator:nil](correctOffset); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESUploadSessionFinishBatchLaunchOther; + _correctOffset = correctOffset; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)asyncJobId { - if (![self isAsyncJobId]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishBatchLaunchAsyncJobId, but was %@.", [self tagName]]; - } - return _asyncJobId; -} - -- (DBFILESUploadSessionFinishBatchResult *)complete { - if (![self isComplete]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishBatchLaunchComplete, but was %@.", [self tagName]]; - } - return _complete; -} - -#pragma mark - Tag state methods - -- (BOOL)isAsyncJobId { - return _tag == DBFILESUploadSessionFinishBatchLaunchAsyncJobId; -} - -- (BOOL)isComplete { - return _tag == DBFILESUploadSessionFinishBatchLaunchComplete; -} - -- (BOOL)isOther { - return _tag == DBFILESUploadSessionFinishBatchLaunchOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: - return @"DBFILESUploadSessionFinishBatchLaunchAsyncJobId"; - case DBFILESUploadSessionFinishBatchLaunchComplete: - return @"DBFILESUploadSessionFinishBatchLaunchComplete"; - case DBFILESUploadSessionFinishBatchLaunchOther: - return @"DBFILESUploadSessionFinishBatchLaunchOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishBatchLaunchSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionOffsetErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishBatchLaunchSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionOffsetErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishBatchLaunchSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionOffsetErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15437,14 +30999,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: - result = prime * result + [self.asyncJobId hash]; - case DBFILESUploadSessionFinishBatchLaunchComplete: - result = prime * result + [self.complete hash]; - case DBFILESUploadSessionFinishBatchLaunchOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.correctOffset hash]; return prime * result; } @@ -15458,25 +31013,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishBatchLaunch:other]; + return [self isEqualToUploadSessionOffsetError:other]; } -- (BOOL)isEqualToUploadSessionFinishBatchLaunch: - (DBFILESUploadSessionFinishBatchLaunch *)anUploadSessionFinishBatchLaunch { - if (self == anUploadSessionFinishBatchLaunch) { +- (BOOL)isEqualToUploadSessionOffsetError:(DBFILESUploadSessionOffsetError *)anUploadSessionOffsetError { + if (self == anUploadSessionOffsetError) { return YES; } - if (self.tag != anUploadSessionFinishBatchLaunch.tag) { + if (![self.correctOffset isEqual:anUploadSessionOffsetError.correctOffset]) { return NO; } - switch (_tag) { - case DBFILESUploadSessionFinishBatchLaunchAsyncJobId: - return [self.asyncJobId isEqual:anUploadSessionFinishBatchLaunch.asyncJobId]; - case DBFILESUploadSessionFinishBatchLaunchComplete: - return [self.complete isEqual:anUploadSessionFinishBatchLaunch.complete]; - case DBFILESUploadSessionFinishBatchLaunchOther: - return [[self tagName] isEqual:[anUploadSessionFinishBatchLaunch tagName]]; - } return YES; } @@ -15484,83 +31030,68 @@ - (BOOL)isEqualToUploadSessionFinishBatchLaunch: #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishBatchLaunchSerializer +@implementation DBFILESUploadSessionOffsetErrorSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAsyncJobId]) { - jsonDict[@"async_job_id"] = valueObj.asyncJobId; - jsonDict[@".tag"] = @"async_job_id"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBFILESUploadSessionFinishBatchResultSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"correct_offset"] = valueObj.correctOffset; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)valueDict { + NSNumber *correctOffset = valueDict[@"correct_offset"]; - if ([tag isEqualToString:@"async_job_id"]) { - NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithAsyncJobId:asyncJobId]; - } else if ([tag isEqualToString:@"complete"]) { - DBFILESUploadSessionFinishBatchResult *complete = - [DBFILESUploadSessionFinishBatchResultSerializer deserialize:valueDict]; - return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithOther]; - } else { - return [[DBFILESUploadSessionFinishBatchLaunch alloc] initWithOther]; - } + return [[DBFILESUploadSessionOffsetError alloc] initWithCorrectOffset:correctOffset]; } @end -#import "DBFILESUploadSessionFinishBatchResult.h" -#import "DBFILESUploadSessionFinishBatchResultEntry.h" +#import "DBFILESUploadSessionStartArg.h" +#import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishBatchResult +@implementation DBFILESUploadSessionStartArg #pragma mark - Constructors -- (instancetype)initWithEntries:(NSArray *)entries { +- (instancetype)initWithClose:(NSNumber *)close + sessionType:(DBFILESUploadSessionType *)sessionType + contentHash:(NSString *)contentHash { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + nullableValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); self = [super init]; if (self) { - _entries = entries; + _close = close ?: @NO; + _sessionType = sessionType; + _contentHash = contentHash; } return self; } +- (instancetype)initDefault { + return [self initWithClose:nil sessionType:nil contentHash:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionStartArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionStartArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionStartArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15577,7 +31108,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.entries hash]; + result = prime * result + [self.close hash]; + if (self.sessionType != nil) { + result = prime * result + [self.sessionType hash]; + } + if (self.contentHash != nil) { + result = prime * result + [self.contentHash hash]; + } return prime * result; } @@ -15591,17 +31128,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishBatchResult:other]; + return [self isEqualToUploadSessionStartArg:other]; } -- (BOOL)isEqualToUploadSessionFinishBatchResult: - (DBFILESUploadSessionFinishBatchResult *)anUploadSessionFinishBatchResult { - if (self == anUploadSessionFinishBatchResult) { +- (BOOL)isEqualToUploadSessionStartArg:(DBFILESUploadSessionStartArg *)anUploadSessionStartArg { + if (self == anUploadSessionStartArg) { return YES; } - if (![self.entries isEqual:anUploadSessionFinishBatchResult.entries]) { + if (![self.close isEqual:anUploadSessionStartArg.close]) { return NO; } + if (self.sessionType) { + if (![self.sessionType isEqual:anUploadSessionStartArg.sessionType]) { + return NO; + } + } + if (self.contentHash) { + if (![self.contentHash isEqual:anUploadSessionStartArg.contentHash]) { + return NO; + } + } return YES; } @@ -15609,120 +31155,73 @@ - (BOOL)isEqualToUploadSessionFinishBatchResult: #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishBatchResultSerializer +@implementation DBFILESUploadSessionStartArgSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"entries"] = - [DBArraySerializer serialize:valueObj.entries - withBlock:^id(id elem0) { - return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:elem0]; - }]; + jsonDict[@"close"] = valueObj.close; + if (valueObj.sessionType) { + jsonDict[@"session_type"] = [DBFILESUploadSessionTypeSerializer serialize:valueObj.sessionType]; + } + if (valueObj.contentHash) { + jsonDict[@"content_hash"] = valueObj.contentHash; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *entries = - [DBArraySerializer deserialize:valueDict[@"entries"] - withBlock:^id(id elem0) { - return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:elem0]; - }]; ++ (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *close = valueDict[@"close"] ?: @NO; + DBFILESUploadSessionType *sessionType = + valueDict[@"session_type"] ? [DBFILESUploadSessionTypeSerializer deserialize:valueDict[@"session_type"]] : nil; + NSString *contentHash = valueDict[@"content_hash"] ?: nil; - return [[DBFILESUploadSessionFinishBatchResult alloc] initWithEntries:entries]; + return [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; } @end -#import "DBFILESFileMetadata.h" -#import "DBFILESUploadSessionFinishBatchResultEntry.h" -#import "DBFILESUploadSessionFinishError.h" +#import "DBFILESUploadSessionStartBatchArg.h" +#import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishBatchResultEntry - -@synthesize success = _success; -@synthesize failure = _failure; - -#pragma mark - Constructors - -- (instancetype)initWithSuccess:(DBFILESFileMetadata *)success { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishBatchResultEntrySuccess; - _success = success; - } - return self; -} - -- (instancetype)initWithFailure:(DBFILESUploadSessionFinishError *)failure { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishBatchResultEntryFailure; - _failure = failure; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBFILESFileMetadata *)success { - if (![self isSuccess]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishBatchResultEntrySuccess, but was %@.", [self tagName]]; - } - return _success; -} - -- (DBFILESUploadSessionFinishError *)failure { - if (![self isFailure]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishBatchResultEntryFailure, but was %@.", [self tagName]]; - } - return _failure; -} - -#pragma mark - Tag state methods +@implementation DBFILESUploadSessionStartBatchArg -- (BOOL)isSuccess { - return _tag == DBFILESUploadSessionFinishBatchResultEntrySuccess; -} +#pragma mark - Constructors -- (BOOL)isFailure { - return _tag == DBFILESUploadSessionFinishBatchResultEntryFailure; -} +- (instancetype)initWithNumSessions:(NSNumber *)numSessions sessionType:(DBFILESUploadSessionType *)sessionType { + [DBStoneValidators nonnullValidator:[DBStoneValidators numericValidator:@(1) maxValue:@(1000)]](numSessions); -- (NSString *)tagName { - switch (_tag) { - case DBFILESUploadSessionFinishBatchResultEntrySuccess: - return @"DBFILESUploadSessionFinishBatchResultEntrySuccess"; - case DBFILESUploadSessionFinishBatchResultEntryFailure: - return @"DBFILESUploadSessionFinishBatchResultEntryFailure"; + self = [super init]; + if (self) { + _sessionType = sessionType; + _numSessions = numSessions; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithNumSessions:(NSNumber *)numSessions { + return [self initWithNumSessions:numSessions sessionType:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionStartBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishBatchResultEntrySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionStartBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishBatchResultEntrySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionStartBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15739,11 +31238,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESUploadSessionFinishBatchResultEntrySuccess: - result = prime * result + [self.success hash]; - case DBFILESUploadSessionFinishBatchResultEntryFailure: - result = prime * result + [self.failure hash]; + result = prime * result + [self.numSessions hash]; + if (self.sessionType != nil) { + result = prime * result + [self.sessionType hash]; } return prime * result; @@ -15758,22 +31255,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishBatchResultEntry:other]; + return [self isEqualToUploadSessionStartBatchArg:other]; } -- (BOOL)isEqualToUploadSessionFinishBatchResultEntry: - (DBFILESUploadSessionFinishBatchResultEntry *)anUploadSessionFinishBatchResultEntry { - if (self == anUploadSessionFinishBatchResultEntry) { +- (BOOL)isEqualToUploadSessionStartBatchArg:(DBFILESUploadSessionStartBatchArg *)anUploadSessionStartBatchArg { + if (self == anUploadSessionStartBatchArg) { return YES; } - if (self.tag != anUploadSessionFinishBatchResultEntry.tag) { + if (![self.numSessions isEqual:anUploadSessionStartBatchArg.numSessions]) { return NO; } - switch (_tag) { - case DBFILESUploadSessionFinishBatchResultEntrySuccess: - return [self.success isEqual:anUploadSessionFinishBatchResultEntry.success]; - case DBFILESUploadSessionFinishBatchResultEntryFailure: - return [self.failure isEqual:anUploadSessionFinishBatchResultEntry.failure]; + if (self.sessionType) { + if (![self.sessionType isEqual:anUploadSessionStartBatchArg.sessionType]) { + return NO; + } } return YES; } @@ -15782,175 +31277,66 @@ - (BOOL)isEqualToUploadSessionFinishBatchResultEntry: #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishBatchResultEntrySerializer +@implementation DBFILESUploadSessionStartBatchArgSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionStartBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBFILESFileMetadataSerializer serialize:valueObj.success] mutableCopy]; - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isFailure]) { - jsonDict[@"failure"] = [[DBFILESUploadSessionFinishErrorSerializer serialize:valueObj.failure] mutableCopy]; - jsonDict[@".tag"] = @"failure"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@"num_sessions"] = valueObj.numSessions; + if (valueObj.sessionType) { + jsonDict[@"session_type"] = [DBFILESUploadSessionTypeSerializer serialize:valueObj.sessionType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionStartBatchArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *numSessions = valueDict[@"num_sessions"]; + DBFILESUploadSessionType *sessionType = + valueDict[@"session_type"] ? [DBFILESUploadSessionTypeSerializer deserialize:valueDict[@"session_type"]] : nil; - if ([tag isEqualToString:@"success"]) { - DBFILESFileMetadata *success = [DBFILESFileMetadataSerializer deserialize:valueDict]; - return [[DBFILESUploadSessionFinishBatchResultEntry alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"failure"]) { - DBFILESUploadSessionFinishError *failure = - [DBFILESUploadSessionFinishErrorSerializer deserialize:valueDict[@"failure"]]; - return [[DBFILESUploadSessionFinishBatchResultEntry alloc] initWithFailure:failure]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBFILESUploadSessionStartBatchArg alloc] initWithNumSessions:numSessions sessionType:sessionType]; } @end -#import "DBFILESUploadSessionFinishError.h" -#import "DBFILESUploadSessionLookupError.h" -#import "DBFILESWriteError.h" +#import "DBFILESUploadSessionStartBatchResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionFinishError - -@synthesize lookupFailed = _lookupFailed; -@synthesize path = _path; +@implementation DBFILESUploadSessionStartBatchResult #pragma mark - Constructors -- (instancetype)initWithLookupFailed:(DBFILESUploadSessionLookupError *)lookupFailed { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishErrorLookupFailed; - _lookupFailed = lookupFailed; - } - return self; -} - -- (instancetype)initWithPath:(DBFILESWriteError *)path { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithTooManySharedFolderTargets { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishErrorTooManySharedFolderTargets; - } - return self; -} - -- (instancetype)initWithTooManyWriteOperations { - self = [super init]; - if (self) { - _tag = DBFILESUploadSessionFinishErrorTooManyWriteOperations; - } - return self; -} +- (instancetype)initWithSessionIds:(NSArray *)sessionIds { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](sessionIds); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESUploadSessionFinishErrorOther; + _sessionIds = sessionIds; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESUploadSessionLookupError *)lookupFailed { - if (![self isLookupFailed]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishErrorLookupFailed, but was %@.", [self tagName]]; - } - return _lookupFailed; -} - -- (DBFILESWriteError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionFinishErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isLookupFailed { - return _tag == DBFILESUploadSessionFinishErrorLookupFailed; -} - -- (BOOL)isPath { - return _tag == DBFILESUploadSessionFinishErrorPath; -} - -- (BOOL)isTooManySharedFolderTargets { - return _tag == DBFILESUploadSessionFinishErrorTooManySharedFolderTargets; -} - -- (BOOL)isTooManyWriteOperations { - return _tag == DBFILESUploadSessionFinishErrorTooManyWriteOperations; -} - -- (BOOL)isOther { - return _tag == DBFILESUploadSessionFinishErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBFILESUploadSessionFinishErrorLookupFailed: - return @"DBFILESUploadSessionFinishErrorLookupFailed"; - case DBFILESUploadSessionFinishErrorPath: - return @"DBFILESUploadSessionFinishErrorPath"; - case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: - return @"DBFILESUploadSessionFinishErrorTooManySharedFolderTargets"; - case DBFILESUploadSessionFinishErrorTooManyWriteOperations: - return @"DBFILESUploadSessionFinishErrorTooManyWriteOperations"; - case DBFILESUploadSessionFinishErrorOther: - return @"DBFILESUploadSessionFinishErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionFinishErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionStartBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionFinishErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionStartBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionFinishErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionStartBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15967,18 +31353,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBFILESUploadSessionFinishErrorLookupFailed: - result = prime * result + [self.lookupFailed hash]; - case DBFILESUploadSessionFinishErrorPath: - result = prime * result + [self.path hash]; - case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: - result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionFinishErrorTooManyWriteOperations: - result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionFinishErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.sessionIds hash]; return prime * result; } @@ -15992,28 +31367,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionFinishError:other]; + return [self isEqualToUploadSessionStartBatchResult:other]; } -- (BOOL)isEqualToUploadSessionFinishError:(DBFILESUploadSessionFinishError *)anUploadSessionFinishError { - if (self == anUploadSessionFinishError) { +- (BOOL)isEqualToUploadSessionStartBatchResult:(DBFILESUploadSessionStartBatchResult *)anUploadSessionStartBatchResult { + if (self == anUploadSessionStartBatchResult) { return YES; } - if (self.tag != anUploadSessionFinishError.tag) { + if (![self.sessionIds isEqual:anUploadSessionStartBatchResult.sessionIds]) { return NO; } - switch (_tag) { - case DBFILESUploadSessionFinishErrorLookupFailed: - return [self.lookupFailed isEqual:anUploadSessionFinishError.lookupFailed]; - case DBFILESUploadSessionFinishErrorPath: - return [self.path isEqual:anUploadSessionFinishError.path]; - case DBFILESUploadSessionFinishErrorTooManySharedFolderTargets: - return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; - case DBFILESUploadSessionFinishErrorTooManyWriteOperations: - return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; - case DBFILESUploadSessionFinishErrorOther: - return [[self tagName] isEqual:[anUploadSessionFinishError tagName]]; - } return YES; } @@ -16021,96 +31384,68 @@ - (BOOL)isEqualToUploadSessionFinishError:(DBFILESUploadSessionFinishError *)anU #pragma mark - Serializer Object -@implementation DBFILESUploadSessionFinishErrorSerializer +@implementation DBFILESUploadSessionStartBatchResultSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionStartBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isLookupFailed]) { - jsonDict[@"lookup_failed"] = - [[DBFILESUploadSessionLookupErrorSerializer serialize:valueObj.lookupFailed] mutableCopy]; - jsonDict[@".tag"] = @"lookup_failed"; - } else if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESWriteErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isTooManySharedFolderTargets]) { - jsonDict[@".tag"] = @"too_many_shared_folder_targets"; - } else if ([valueObj isTooManyWriteOperations]) { - jsonDict[@".tag"] = @"too_many_write_operations"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"session_ids"] = [DBArraySerializer serialize:valueObj.sessionIds + withBlock:^id(id elem0) { + return elem0; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBFILESUploadSessionStartBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *sessionIds = [DBArraySerializer deserialize:valueDict[@"session_ids"] + withBlock:^id(id elem0) { + return elem0; + }]; - if ([tag isEqualToString:@"lookup_failed"]) { - DBFILESUploadSessionLookupError *lookupFailed = - [DBFILESUploadSessionLookupErrorSerializer deserialize:valueDict[@"lookup_failed"]]; - return [[DBFILESUploadSessionFinishError alloc] initWithLookupFailed:lookupFailed]; - } else if ([tag isEqualToString:@"path"]) { - DBFILESWriteError *path = [DBFILESWriteErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBFILESUploadSessionFinishError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"too_many_shared_folder_targets"]) { - return [[DBFILESUploadSessionFinishError alloc] initWithTooManySharedFolderTargets]; - } else if ([tag isEqualToString:@"too_many_write_operations"]) { - return [[DBFILESUploadSessionFinishError alloc] initWithTooManyWriteOperations]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESUploadSessionFinishError alloc] initWithOther]; - } else { - return [[DBFILESUploadSessionFinishError alloc] initWithOther]; - } + return [[DBFILESUploadSessionStartBatchResult alloc] initWithSessionIds:sessionIds]; } @end -#import "DBFILESUploadSessionLookupError.h" -#import "DBFILESUploadSessionOffsetError.h" +#import "DBFILESUploadSessionStartError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionLookupError - -@synthesize incorrectOffset = _incorrectOffset; +@implementation DBFILESUploadSessionStartError #pragma mark - Constructors -- (instancetype)initWithNotFound { +- (instancetype)initWithConcurrentSessionDataNotAllowed { self = [super init]; if (self) { - _tag = DBFILESUploadSessionLookupErrorNotFound; + _tag = DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed; } return self; } -- (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset { +- (instancetype)initWithConcurrentSessionCloseNotAllowed { self = [super init]; if (self) { - _tag = DBFILESUploadSessionLookupErrorIncorrectOffset; - _incorrectOffset = incorrectOffset; + _tag = DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed; } return self; } -- (instancetype)initWithClosed { +- (instancetype)initWithPayloadTooLarge { self = [super init]; if (self) { - _tag = DBFILESUploadSessionLookupErrorClosed; + _tag = DBFILESUploadSessionStartErrorPayloadTooLarge; } return self; } -- (instancetype)initWithNotClosed { +- (instancetype)initWithContentHashMismatch { self = [super init]; if (self) { - _tag = DBFILESUploadSessionLookupErrorNotClosed; + _tag = DBFILESUploadSessionStartErrorContentHashMismatch; } return self; } @@ -16118,56 +31453,47 @@ - (instancetype)initWithNotClosed { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBFILESUploadSessionLookupErrorOther; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBFILESUploadSessionOffsetError *)incorrectOffset { - if (![self isIncorrectOffset]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBFILESUploadSessionLookupErrorIncorrectOffset, but was %@.", [self tagName]]; + _tag = DBFILESUploadSessionStartErrorOther; } - return _incorrectOffset; + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isNotFound { - return _tag == DBFILESUploadSessionLookupErrorNotFound; +- (BOOL)isConcurrentSessionDataNotAllowed { + return _tag == DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed; } -- (BOOL)isIncorrectOffset { - return _tag == DBFILESUploadSessionLookupErrorIncorrectOffset; +- (BOOL)isConcurrentSessionCloseNotAllowed { + return _tag == DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed; } -- (BOOL)isClosed { - return _tag == DBFILESUploadSessionLookupErrorClosed; +- (BOOL)isPayloadTooLarge { + return _tag == DBFILESUploadSessionStartErrorPayloadTooLarge; } -- (BOOL)isNotClosed { - return _tag == DBFILESUploadSessionLookupErrorNotClosed; +- (BOOL)isContentHashMismatch { + return _tag == DBFILESUploadSessionStartErrorContentHashMismatch; } - (BOOL)isOther { - return _tag == DBFILESUploadSessionLookupErrorOther; + return _tag == DBFILESUploadSessionStartErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBFILESUploadSessionLookupErrorNotFound: - return @"DBFILESUploadSessionLookupErrorNotFound"; - case DBFILESUploadSessionLookupErrorIncorrectOffset: - return @"DBFILESUploadSessionLookupErrorIncorrectOffset"; - case DBFILESUploadSessionLookupErrorClosed: - return @"DBFILESUploadSessionLookupErrorClosed"; - case DBFILESUploadSessionLookupErrorNotClosed: - return @"DBFILESUploadSessionLookupErrorNotClosed"; - case DBFILESUploadSessionLookupErrorOther: - return @"DBFILESUploadSessionLookupErrorOther"; + case DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed: + return @"DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed"; + case DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed: + return @"DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed"; + case DBFILESUploadSessionStartErrorPayloadTooLarge: + return @"DBFILESUploadSessionStartErrorPayloadTooLarge"; + case DBFILESUploadSessionStartErrorContentHashMismatch: + return @"DBFILESUploadSessionStartErrorContentHashMismatch"; + case DBFILESUploadSessionStartErrorOther: + return @"DBFILESUploadSessionStartErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -16175,18 +31501,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionLookupErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionStartErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionLookupErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionStartErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionLookupErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionStartErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16204,16 +31530,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBFILESUploadSessionLookupErrorNotFound: + case DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed: result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionLookupErrorIncorrectOffset: - result = prime * result + [self.incorrectOffset hash]; - case DBFILESUploadSessionLookupErrorClosed: + break; + case DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed: result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionLookupErrorNotClosed: + break; + case DBFILESUploadSessionStartErrorPayloadTooLarge: result = prime * result + [[self tagName] hash]; - case DBFILESUploadSessionLookupErrorOther: + break; + case DBFILESUploadSessionStartErrorContentHashMismatch: result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionStartErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -16228,27 +31559,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionLookupError:other]; + return [self isEqualToUploadSessionStartError:other]; } -- (BOOL)isEqualToUploadSessionLookupError:(DBFILESUploadSessionLookupError *)anUploadSessionLookupError { - if (self == anUploadSessionLookupError) { +- (BOOL)isEqualToUploadSessionStartError:(DBFILESUploadSessionStartError *)anUploadSessionStartError { + if (self == anUploadSessionStartError) { return YES; } - if (self.tag != anUploadSessionLookupError.tag) { + if (self.tag != anUploadSessionStartError.tag) { return NO; } switch (_tag) { - case DBFILESUploadSessionLookupErrorNotFound: - return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; - case DBFILESUploadSessionLookupErrorIncorrectOffset: - return [self.incorrectOffset isEqual:anUploadSessionLookupError.incorrectOffset]; - case DBFILESUploadSessionLookupErrorClosed: - return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; - case DBFILESUploadSessionLookupErrorNotClosed: - return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; - case DBFILESUploadSessionLookupErrorOther: - return [[self tagName] isEqual:[anUploadSessionLookupError tagName]]; + case DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed: + return [[self tagName] isEqual:[anUploadSessionStartError tagName]]; + case DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed: + return [[self tagName] isEqual:[anUploadSessionStartError tagName]]; + case DBFILESUploadSessionStartErrorPayloadTooLarge: + return [[self tagName] isEqual:[anUploadSessionStartError tagName]]; + case DBFILESUploadSessionStartErrorContentHashMismatch: + return [[self tagName] isEqual:[anUploadSessionStartError tagName]]; + case DBFILESUploadSessionStartErrorOther: + return [[self tagName] isEqual:[anUploadSessionStartError tagName]]; } return YES; } @@ -16257,86 +31588,82 @@ - (BOOL)isEqualToUploadSessionLookupError:(DBFILESUploadSessionLookupError *)anU #pragma mark - Serializer Object -@implementation DBFILESUploadSessionLookupErrorSerializer +@implementation DBFILESUploadSessionStartErrorSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionStartError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isNotFound]) { - jsonDict[@".tag"] = @"not_found"; - } else if ([valueObj isIncorrectOffset]) { - jsonDict[@"incorrect_offset"] = - [[DBFILESUploadSessionOffsetErrorSerializer serialize:valueObj.incorrectOffset] mutableCopy]; - jsonDict[@".tag"] = @"incorrect_offset"; - } else if ([valueObj isClosed]) { - jsonDict[@".tag"] = @"closed"; - } else if ([valueObj isNotClosed]) { - jsonDict[@".tag"] = @"not_closed"; + if ([valueObj isConcurrentSessionDataNotAllowed]) { + jsonDict[@".tag"] = @"concurrent_session_data_not_allowed"; + } else if ([valueObj isConcurrentSessionCloseNotAllowed]) { + jsonDict[@".tag"] = @"concurrent_session_close_not_allowed"; + } else if ([valueObj isPayloadTooLarge]) { + jsonDict[@".tag"] = @"payload_too_large"; + } else if ([valueObj isContentHashMismatch]) { + jsonDict[@".tag"] = @"content_hash_mismatch"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESUploadSessionStartError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"not_found"]) { - return [[DBFILESUploadSessionLookupError alloc] initWithNotFound]; - } else if ([tag isEqualToString:@"incorrect_offset"]) { - DBFILESUploadSessionOffsetError *incorrectOffset = - [DBFILESUploadSessionOffsetErrorSerializer deserialize:valueDict]; - return [[DBFILESUploadSessionLookupError alloc] initWithIncorrectOffset:incorrectOffset]; - } else if ([tag isEqualToString:@"closed"]) { - return [[DBFILESUploadSessionLookupError alloc] initWithClosed]; - } else if ([tag isEqualToString:@"not_closed"]) { - return [[DBFILESUploadSessionLookupError alloc] initWithNotClosed]; + if ([tag isEqualToString:@"concurrent_session_data_not_allowed"]) { + return [[DBFILESUploadSessionStartError alloc] initWithConcurrentSessionDataNotAllowed]; + } else if ([tag isEqualToString:@"concurrent_session_close_not_allowed"]) { + return [[DBFILESUploadSessionStartError alloc] initWithConcurrentSessionCloseNotAllowed]; + } else if ([tag isEqualToString:@"payload_too_large"]) { + return [[DBFILESUploadSessionStartError alloc] initWithPayloadTooLarge]; + } else if ([tag isEqualToString:@"content_hash_mismatch"]) { + return [[DBFILESUploadSessionStartError alloc] initWithContentHashMismatch]; } else if ([tag isEqualToString:@"other"]) { - return [[DBFILESUploadSessionLookupError alloc] initWithOther]; + return [[DBFILESUploadSessionStartError alloc] initWithOther]; } else { - return [[DBFILESUploadSessionLookupError alloc] initWithOther]; + return [[DBFILESUploadSessionStartError alloc] initWithOther]; } } @end -#import "DBFILESUploadSessionOffsetError.h" +#import "DBFILESUploadSessionStartResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionOffsetError +@implementation DBFILESUploadSessionStartResult #pragma mark - Constructors -- (instancetype)initWithCorrectOffset:(NSNumber *)correctOffset { - [DBStoneValidators nonnullValidator:nil](correctOffset); +- (instancetype)initWithSessionId:(NSString *)sessionId { + [DBStoneValidators nonnullValidator:nil](sessionId); self = [super init]; if (self) { - _correctOffset = correctOffset; + _sessionId = sessionId; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionOffsetErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionStartResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionOffsetErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionStartResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionOffsetErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionStartResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16353,7 +31680,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.correctOffset hash]; + result = prime * result + [self.sessionId hash]; return prime * result; } @@ -16367,14 +31694,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionOffsetError:other]; + return [self isEqualToUploadSessionStartResult:other]; } -- (BOOL)isEqualToUploadSessionOffsetError:(DBFILESUploadSessionOffsetError *)anUploadSessionOffsetError { - if (self == anUploadSessionOffsetError) { +- (BOOL)isEqualToUploadSessionStartResult:(DBFILESUploadSessionStartResult *)anUploadSessionStartResult { + if (self == anUploadSessionStartResult) { return YES; } - if (![self.correctOffset isEqual:anUploadSessionOffsetError.correctOffset]) { + if (![self.sessionId isEqual:anUploadSessionStartResult.sessionId]) { return NO; } return YES; @@ -16384,61 +31711,101 @@ - (BOOL)isEqualToUploadSessionOffsetError:(DBFILESUploadSessionOffsetError *)anU #pragma mark - Serializer Object -@implementation DBFILESUploadSessionOffsetErrorSerializer +@implementation DBFILESUploadSessionStartResultSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"correct_offset"] = valueObj.correctOffset; + jsonDict[@"session_id"] = valueObj.sessionId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)valueDict { - NSNumber *correctOffset = valueDict[@"correct_offset"]; ++ (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"]; - return [[DBFILESUploadSessionOffsetError alloc] initWithCorrectOffset:correctOffset]; + return [[DBFILESUploadSessionStartResult alloc] initWithSessionId:sessionId]; } @end -#import "DBFILESUploadSessionStartArg.h" +#import "DBFILESUploadSessionType.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionStartArg +@implementation DBFILESUploadSessionType #pragma mark - Constructors -- (instancetype)initWithClose:(NSNumber *)close { +- (instancetype)initWithSequential { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionTypeSequential; + } + return self; +} +- (instancetype)initWithConcurrent { self = [super init]; if (self) { - _close = close ?: @NO; + _tag = DBFILESUploadSessionTypeConcurrent; } return self; } -- (instancetype)initDefault { - return [self initWithClose:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBFILESUploadSessionTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isSequential { + return _tag == DBFILESUploadSessionTypeSequential; +} + +- (BOOL)isConcurrent { + return _tag == DBFILESUploadSessionTypeConcurrent; +} + +- (BOOL)isOther { + return _tag == DBFILESUploadSessionTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBFILESUploadSessionTypeSequential: + return @"DBFILESUploadSessionTypeSequential"; + case DBFILESUploadSessionTypeConcurrent: + return @"DBFILESUploadSessionTypeConcurrent"; + case DBFILESUploadSessionTypeOther: + return @"DBFILESUploadSessionTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionStartArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadSessionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionStartArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadSessionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionStartArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadSessionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16455,7 +31822,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.close hash]; + switch (_tag) { + case DBFILESUploadSessionTypeSequential: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionTypeConcurrent: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESUploadSessionTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -16469,16 +31846,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionStartArg:other]; + return [self isEqualToUploadSessionType:other]; } -- (BOOL)isEqualToUploadSessionStartArg:(DBFILESUploadSessionStartArg *)anUploadSessionStartArg { - if (self == anUploadSessionStartArg) { +- (BOOL)isEqualToUploadSessionType:(DBFILESUploadSessionType *)anUploadSessionType { + if (self == anUploadSessionType) { return YES; } - if (![self.close isEqual:anUploadSessionStartArg.close]) { + if (self.tag != anUploadSessionType.tag) { return NO; } + switch (_tag) { + case DBFILESUploadSessionTypeSequential: + return [[self tagName] isEqual:[anUploadSessionType tagName]]; + case DBFILESUploadSessionTypeConcurrent: + return [[self tagName] isEqual:[anUploadSessionType tagName]]; + case DBFILESUploadSessionTypeOther: + return [[self tagName] isEqual:[anUploadSessionType tagName]]; + } return YES; } @@ -16486,58 +31871,77 @@ - (BOOL)isEqualToUploadSessionStartArg:(DBFILESUploadSessionStartArg *)anUploadS #pragma mark - Serializer Object -@implementation DBFILESUploadSessionStartArgSerializer +@implementation DBFILESUploadSessionTypeSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadSessionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"close"] = valueObj.close; + if ([valueObj isSequential]) { + jsonDict[@".tag"] = @"sequential"; + } else if ([valueObj isConcurrent]) { + jsonDict[@".tag"] = @"concurrent"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)valueDict { - NSNumber *close = valueDict[@"close"] ?: @NO; ++ (DBFILESUploadSessionType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBFILESUploadSessionStartArg alloc] initWithClose:close]; + if ([tag isEqualToString:@"sequential"]) { + return [[DBFILESUploadSessionType alloc] initWithSequential]; + } else if ([tag isEqualToString:@"concurrent"]) { + return [[DBFILESUploadSessionType alloc] initWithConcurrent]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBFILESUploadSessionType alloc] initWithOther]; + } else { + return [[DBFILESUploadSessionType alloc] initWithOther]; + } } @end -#import "DBFILESUploadSessionStartResult.h" +#import "DBFILESUploadWriteFailed.h" +#import "DBFILESWriteError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadSessionStartResult +@implementation DBFILESUploadWriteFailed #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId { - [DBStoneValidators nonnullValidator:nil](sessionId); +- (instancetype)initWithReason:(DBFILESWriteError *)reason uploadSessionId:(NSString *)uploadSessionId { + [DBStoneValidators nonnullValidator:nil](reason); + [DBStoneValidators nonnullValidator:nil](uploadSessionId); self = [super init]; if (self) { - _sessionId = sessionId; + _reason = reason; + _uploadSessionId = uploadSessionId; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadSessionStartResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUploadWriteFailedSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadSessionStartResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUploadWriteFailedSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadSessionStartResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUploadWriteFailedSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16554,7 +31958,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sessionId hash]; + result = prime * result + [self.reason hash]; + result = prime * result + [self.uploadSessionId hash]; return prime * result; } @@ -16568,14 +31973,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadSessionStartResult:other]; + return [self isEqualToUploadWriteFailed:other]; } -- (BOOL)isEqualToUploadSessionStartResult:(DBFILESUploadSessionStartResult *)anUploadSessionStartResult { - if (self == anUploadSessionStartResult) { +- (BOOL)isEqualToUploadWriteFailed:(DBFILESUploadWriteFailed *)anUploadWriteFailed { + if (self == anUploadWriteFailed) { return YES; } - if (![self.sessionId isEqual:anUploadSessionStartResult.sessionId]) { + if (![self.reason isEqual:anUploadWriteFailed.reason]) { + return NO; + } + if (![self.uploadSessionId isEqual:anUploadWriteFailed.uploadSessionId]) { return NO; } return YES; @@ -16585,61 +31993,61 @@ - (BOOL)isEqualToUploadSessionStartResult:(DBFILESUploadSessionStartResult *)anU #pragma mark - Serializer Object -@implementation DBFILESUploadSessionStartResultSerializer +@implementation DBFILESUploadWriteFailedSerializer -+ (NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUploadWriteFailed *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"session_id"] = valueObj.sessionId; + jsonDict[@"reason"] = [DBFILESWriteErrorSerializer serialize:valueObj.reason]; + jsonDict[@"upload_session_id"] = valueObj.uploadSessionId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"]; ++ (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)valueDict { + DBFILESWriteError *reason = [DBFILESWriteErrorSerializer deserialize:valueDict[@"reason"]]; + NSString *uploadSessionId = valueDict[@"upload_session_id"]; - return [[DBFILESUploadSessionStartResult alloc] initWithSessionId:sessionId]; + return [[DBFILESUploadWriteFailed alloc] initWithReason:reason uploadSessionId:uploadSessionId]; } @end -#import "DBFILESUploadWriteFailed.h" -#import "DBFILESWriteError.h" +#import "DBFILESUserGeneratedTag.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBFILESUploadWriteFailed +@implementation DBFILESUserGeneratedTag #pragma mark - Constructors -- (instancetype)initWithReason:(DBFILESWriteError *)reason uploadSessionId:(NSString *)uploadSessionId { - [DBStoneValidators nonnullValidator:nil](reason); - [DBStoneValidators nonnullValidator:nil](uploadSessionId); +- (instancetype)initWithTagText:(NSString *)tagText { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:@(32) pattern:@"[\\w]+"]](tagText); self = [super init]; if (self) { - _reason = reason; - _uploadSessionId = uploadSessionId; + _tagText = tagText; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBFILESUploadWriteFailedSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBFILESUserGeneratedTagSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBFILESUploadWriteFailedSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBFILESUserGeneratedTagSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBFILESUploadWriteFailedSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBFILESUserGeneratedTagSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16656,8 +32064,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.reason hash]; - result = prime * result + [self.uploadSessionId hash]; + result = prime * result + [self.tagText hash]; return prime * result; } @@ -16671,17 +32078,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadWriteFailed:other]; + return [self isEqualToUserGeneratedTag:other]; } -- (BOOL)isEqualToUploadWriteFailed:(DBFILESUploadWriteFailed *)anUploadWriteFailed { - if (self == anUploadWriteFailed) { +- (BOOL)isEqualToUserGeneratedTag:(DBFILESUserGeneratedTag *)anUserGeneratedTag { + if (self == anUserGeneratedTag) { return YES; } - if (![self.reason isEqual:anUploadWriteFailed.reason]) { - return NO; - } - if (![self.uploadSessionId isEqual:anUploadWriteFailed.uploadSessionId]) { + if (![self.tagText isEqual:anUserGeneratedTag.tagText]) { return NO; } return YES; @@ -16691,22 +32095,20 @@ - (BOOL)isEqualToUploadWriteFailed:(DBFILESUploadWriteFailed *)anUploadWriteFail #pragma mark - Serializer Object -@implementation DBFILESUploadWriteFailedSerializer +@implementation DBFILESUserGeneratedTagSerializer -+ (NSDictionary *)serialize:(DBFILESUploadWriteFailed *)valueObj { ++ (NSDictionary *)serialize:(DBFILESUserGeneratedTag *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"reason"] = [DBFILESWriteErrorSerializer serialize:valueObj.reason]; - jsonDict[@"upload_session_id"] = valueObj.uploadSessionId; + jsonDict[@"tag_text"] = valueObj.tagText; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)valueDict { - DBFILESWriteError *reason = [DBFILESWriteErrorSerializer deserialize:valueDict[@"reason"]]; - NSString *uploadSessionId = valueDict[@"upload_session_id"]; ++ (DBFILESUserGeneratedTag *)deserialize:(NSDictionary *)valueDict { + NSString *tagText = valueDict[@"tag_text"]; - return [[DBFILESUploadWriteFailed alloc] initWithReason:reason uploadSessionId:uploadSessionId]; + return [[DBFILESUserGeneratedTag alloc] initWithTagText:tagText]; } @end @@ -16742,17 +32144,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILESVideoMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILESVideoMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILESVideoMetadataSerializer serialize:self] description]; } @@ -16831,7 +32233,7 @@ - (BOOL)isEqualToVideoMetadata:(DBFILESVideoMetadata *)aVideoMetadata { @implementation DBFILESVideoMetadataSerializer -+ (NSDictionary *)serialize:(DBFILESVideoMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBFILESVideoMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dimensions) { @@ -16847,10 +32249,10 @@ + (NSDictionary *)serialize:(DBFILESVideoMetadata *)valueObj { jsonDict[@"duration"] = valueObj.duration; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESVideoMetadata *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESVideoMetadata *)deserialize:(NSDictionary *)valueDict { DBFILESDimensions *dimensions = valueDict[@"dimensions"] ? [DBFILESDimensionsSerializer deserialize:valueDict[@"dimensions"]] : nil; DBFILESGpsCoordinates *location = @@ -16947,17 +32349,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteConflictErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteConflictErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILESWriteConflictErrorSerializer serialize:self] description]; } @@ -16978,12 +32380,16 @@ - (NSUInteger)hash { switch (_tag) { case DBFILESWriteConflictErrorFile: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteConflictErrorFolder: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteConflictErrorFileAncestor: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteConflictErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17027,7 +32433,7 @@ - (BOOL)isEqualToWriteConflictError:(DBFILESWriteConflictError *)aWriteConflictE @implementation DBFILESWriteConflictErrorSerializer -+ (NSDictionary *)serialize:(DBFILESWriteConflictError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESWriteConflictError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFile]) { @@ -17042,10 +32448,10 @@ + (NSDictionary *)serialize:(DBFILESWriteConflictError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESWriteConflictError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESWriteConflictError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"file"]) { @@ -17127,6 +32533,22 @@ - (instancetype)initWithTeamFolder { return self; } +- (instancetype)initWithOperationSuppressed { + self = [super init]; + if (self) { + _tag = DBFILESWriteErrorOperationSuppressed; + } + return self; +} + +- (instancetype)initWithTooManyWriteOperations { + self = [super init]; + if (self) { + _tag = DBFILESWriteErrorTooManyWriteOperations; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -17179,6 +32601,14 @@ - (BOOL)isTeamFolder { return _tag == DBFILESWriteErrorTeamFolder; } +- (BOOL)isOperationSuppressed { + return _tag == DBFILESWriteErrorOperationSuppressed; +} + +- (BOOL)isTooManyWriteOperations { + return _tag == DBFILESWriteErrorTooManyWriteOperations; +} + - (BOOL)isOther { return _tag == DBFILESWriteErrorOther; } @@ -17197,6 +32627,10 @@ - (NSString *)tagName { return @"DBFILESWriteErrorDisallowedName"; case DBFILESWriteErrorTeamFolder: return @"DBFILESWriteErrorTeamFolder"; + case DBFILESWriteErrorOperationSuppressed: + return @"DBFILESWriteErrorOperationSuppressed"; + case DBFILESWriteErrorTooManyWriteOperations: + return @"DBFILESWriteErrorTooManyWriteOperations"; case DBFILESWriteErrorOther: return @"DBFILESWriteErrorOther"; } @@ -17206,17 +32640,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILESWriteErrorSerializer serialize:self] description]; } @@ -17239,18 +32673,31 @@ - (NSUInteger)hash { if (self.malformedPath != nil) { result = prime * result + [self.malformedPath hash]; } + break; case DBFILESWriteErrorConflict: result = prime * result + [self.conflict hash]; + break; case DBFILESWriteErrorNoWritePermission: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteErrorInsufficientSpace: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteErrorDisallowedName: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; + case DBFILESWriteErrorOperationSuppressed: + result = prime * result + [[self tagName] hash]; + break; + case DBFILESWriteErrorTooManyWriteOperations: + result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17290,6 +32737,10 @@ - (BOOL)isEqualToWriteError:(DBFILESWriteError *)aWriteError { return [[self tagName] isEqual:[aWriteError tagName]]; case DBFILESWriteErrorTeamFolder: return [[self tagName] isEqual:[aWriteError tagName]]; + case DBFILESWriteErrorOperationSuppressed: + return [[self tagName] isEqual:[aWriteError tagName]]; + case DBFILESWriteErrorTooManyWriteOperations: + return [[self tagName] isEqual:[aWriteError tagName]]; case DBFILESWriteErrorOther: return [[self tagName] isEqual:[aWriteError tagName]]; } @@ -17302,7 +32753,7 @@ - (BOOL)isEqualToWriteError:(DBFILESWriteError *)aWriteError { @implementation DBFILESWriteErrorSerializer -+ (NSDictionary *)serialize:(DBFILESWriteError *)valueObj { ++ (NSDictionary *)serialize:(DBFILESWriteError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMalformedPath]) { @@ -17321,16 +32772,20 @@ + (NSDictionary *)serialize:(DBFILESWriteError *)valueObj { jsonDict[@".tag"] = @"disallowed_name"; } else if ([valueObj isTeamFolder]) { jsonDict[@".tag"] = @"team_folder"; + } else if ([valueObj isOperationSuppressed]) { + jsonDict[@".tag"] = @"operation_suppressed"; + } else if ([valueObj isTooManyWriteOperations]) { + jsonDict[@".tag"] = @"too_many_write_operations"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESWriteError *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESWriteError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"malformed_path"]) { @@ -17347,6 +32802,10 @@ + (DBFILESWriteError *)deserialize:(NSDictionary *)valueDict { return [[DBFILESWriteError alloc] initWithDisallowedName]; } else if ([tag isEqualToString:@"team_folder"]) { return [[DBFILESWriteError alloc] initWithTeamFolder]; + } else if ([tag isEqualToString:@"operation_suppressed"]) { + return [[DBFILESWriteError alloc] initWithOperationSuppressed]; + } else if ([tag isEqualToString:@"too_many_write_operations"]) { + return [[DBFILESWriteError alloc] initWithTooManyWriteOperations]; } else if ([tag isEqualToString:@"other"]) { return [[DBFILESWriteError alloc] initWithOther]; } else { @@ -17432,17 +32891,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBFILESWriteModeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBFILESWriteModeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBFILESWriteModeSerializer serialize:self] description]; } @@ -17463,10 +32922,13 @@ - (NSUInteger)hash { switch (_tag) { case DBFILESWriteModeAdd: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteModeOverwrite: result = prime * result + [[self tagName] hash]; + break; case DBFILESWriteModeUpdate: result = prime * result + [self.update hash]; + break; } return prime * result; @@ -17508,7 +32970,7 @@ - (BOOL)isEqualToWriteMode:(DBFILESWriteMode *)aWriteMode { @implementation DBFILESWriteModeSerializer -+ (NSDictionary *)serialize:(DBFILESWriteMode *)valueObj { ++ (NSDictionary *)serialize:(DBFILESWriteMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAdd]) { @@ -17524,10 +32986,10 @@ + (NSDictionary *)serialize:(DBFILESWriteMode *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBFILESWriteMode *)deserialize:(NSDictionary *)valueDict { ++ (DBFILESWriteMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"add"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagArg.h new file mode 100644 index 000000000..998acd2ef --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagArg.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESAddTagArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddTagArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESAddTagArg : NSObject + +#pragma mark - Instance fields + +/// Path to the item to be tagged. +@property (nonatomic, readonly, copy) NSString *path; + +/// The value of the tag to add. Will be automatically converted to lowercase +/// letters. +@property (nonatomic, readonly, copy) NSString *tagText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path to the item to be tagged. +/// @param tagText The value of the tag to add. Will be automatically converted +/// to lowercase letters. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path tagText:(NSString *)tagText; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AddTagArg` struct. +/// +@interface DBFILESAddTagArgSerializer : NSObject + +/// +/// Serializes `DBFILESAddTagArg` instances. +/// +/// @param instance An instance of the `DBFILESAddTagArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESAddTagArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESAddTagArg *)instance; + +/// +/// Deserializes `DBFILESAddTagArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESAddTagArg` API object. +/// +/// @return An instantiation of the `DBFILESAddTagArg` object. +/// ++ (DBFILESAddTagArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagError.h new file mode 100644 index 000000000..629d4ee41 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAddTagError.h @@ -0,0 +1,144 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESAddTagError; +@class DBFILESLookupError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddTagError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESAddTagError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESAddTagErrorTag` enum type represents the possible tag states +/// with which the `DBFILESAddTagError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESAddTagErrorTag){ + /// (no description). + DBFILESAddTagErrorPath, + + /// (no description). + DBFILESAddTagErrorOther, + + /// The item already has the maximum supported number of tags. + DBFILESAddTagErrorTooManyTags, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESAddTagErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "too_many_tags". +/// +/// Description of the "too_many_tags" tag state: The item already has the +/// maximum supported number of tags. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyTags; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "too_many_tags". +/// +/// @return Whether the union's current tag state has value "too_many_tags". +/// +- (BOOL)isTooManyTags; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESAddTagError` union. +/// +@interface DBFILESAddTagErrorSerializer : NSObject + +/// +/// Serializes `DBFILESAddTagError` instances. +/// +/// @param instance An instance of the `DBFILESAddTagError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESAddTagError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESAddTagError *)instance; + +/// +/// Deserializes `DBFILESAddTagError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESAddTagError` API object. +/// +/// @return An instantiation of the `DBFILESAddTagError` object. +/// ++ (DBFILESAddTagError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataArg.h index 78e03ffc1..eb0d46ce7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataArg.h @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataArg *)instance; /// /// Deserializes `DBFILESAlphaGetMetadataArg` instances. @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESAlphaGetMetadataArg` object. /// -+ (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESAlphaGetMetadataArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataError.h index 2c44d80c8..5e2d55e27 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESAlphaGetMetadataError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESAlphaGetMetadataErrorTag` enum type represents the possible tag /// states with which the `DBFILESAlphaGetMetadataError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESAlphaGetMetadataErrorTag) { - /// (no description). - DBFILESAlphaGetMetadataErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESAlphaGetMetadataErrorTag){ + /// (no description). + DBFILESAlphaGetMetadataErrorPath, - /// (no description). - DBFILESAlphaGetMetadataErrorPropertiesError, + /// (no description). + DBFILESAlphaGetMetadataErrorPropertiesError, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBFILESAlphaGetMetadataErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESAlphaGetMetadataError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESAlphaGetMetadataError *)instance; /// /// Deserializes `DBFILESAlphaGetMetadataError` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBFILESAlphaGetMetadataErrorTag) { /// /// @return An instantiation of the `DBFILESAlphaGetMetadataError` object. /// -+ (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)dict; ++ (DBFILESAlphaGetMetadataError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESBaseTagError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESBaseTagError.h new file mode 100644 index 000000000..d6ae3dfdf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESBaseTagError.h @@ -0,0 +1,124 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESBaseTagError; +@class DBFILESLookupError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BaseTagError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESBaseTagError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESBaseTagErrorTag` enum type represents the possible tag states +/// with which the `DBFILESBaseTagError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESBaseTagErrorTag){ + /// (no description). + DBFILESBaseTagErrorPath, + + /// (no description). + DBFILESBaseTagErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESBaseTagErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESBaseTagError` union. +/// +@interface DBFILESBaseTagErrorSerializer : NSObject + +/// +/// Serializes `DBFILESBaseTagError` instances. +/// +/// @param instance An instance of the `DBFILESBaseTagError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESBaseTagError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESBaseTagError *)instance; + +/// +/// Deserializes `DBFILESBaseTagError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESBaseTagError` API object. +/// +/// @return An instantiation of the `DBFILESBaseTagError` object. +/// ++ (DBFILESBaseTagError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfo.h index ef2a7251e..e03288ddb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfo.h @@ -52,6 +52,13 @@ NS_ASSUME_NONNULL_BEGIN /// List of custom properties to add to file. @property (nonatomic, readonly, nullable) NSArray *propertyGroups; +/// Be more strict about how each WriteMode detects conflict. For example, +/// always return a conflict error when mode = `update` in `DBFILESWriteMode` +/// and the given "rev" doesn't match the existing file's "rev", even if the +/// existing file has been deleted. This also forces a conflict even when the +/// target path refers to a file with identical contents. +@property (nonatomic, readonly) NSNumber *strictConflict; + #pragma mark - Constructors /// @@ -71,6 +78,11 @@ NS_ASSUME_NONNULL_BEGIN /// this tells the clients that this modification shouldn't result in a user /// notification. /// @param propertyGroups List of custom properties to add to file. +/// @param strictConflict Be more strict about how each WriteMode detects +/// conflict. For example, always return a conflict error when mode = `update` +/// in `DBFILESWriteMode` and the given "rev" doesn't match the existing file's +/// "rev", even if the existing file has been deleted. This also forces a +/// conflict even when the target path refers to a file with identical contents. /// /// @return An initialized instance. /// @@ -79,7 +91,8 @@ NS_ASSUME_NONNULL_BEGIN autorename:(nullable NSNumber *)autorename clientModified:(nullable NSDate *)clientModified mute:(nullable NSNumber *)mute - propertyGroups:(nullable NSArray *)propertyGroups; + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -110,7 +123,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESCommitInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESCommitInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESCommitInfo *)instance; /// /// Deserializes `DBFILESCommitInfo` instances. @@ -120,7 +133,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESCommitInfo` object. /// -+ (DBFILESCommitInfo *)deserialize:(NSDictionary *)dict; ++ (DBFILESCommitInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSetting.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSetting.h new file mode 100644 index 000000000..f6721ed56 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSetting.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESContentSyncSetting; +@class DBFILESSyncSetting; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ContentSyncSetting` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESContentSyncSetting : NSObject + +#pragma mark - Instance fields + +/// Id of the item this setting is applied to. +@property (nonatomic, readonly, copy) NSString *id_; + +/// Setting for this item. +@property (nonatomic, readonly) DBFILESSyncSetting *syncSetting; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ Id of the item this setting is applied to. +/// @param syncSetting Setting for this item. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ syncSetting:(DBFILESSyncSetting *)syncSetting; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ContentSyncSetting` struct. +/// +@interface DBFILESContentSyncSettingSerializer : NSObject + +/// +/// Serializes `DBFILESContentSyncSetting` instances. +/// +/// @param instance An instance of the `DBFILESContentSyncSetting` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESContentSyncSetting` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESContentSyncSetting *)instance; + +/// +/// Deserializes `DBFILESContentSyncSetting` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESContentSyncSetting` API object. +/// +/// @return An instantiation of the `DBFILESContentSyncSetting` object. +/// ++ (DBFILESContentSyncSetting *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSettingArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSettingArg.h new file mode 100644 index 000000000..a23eb7bce --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESContentSyncSettingArg.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESContentSyncSettingArg; +@class DBFILESSyncSettingArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ContentSyncSettingArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESContentSyncSettingArg : NSObject + +#pragma mark - Instance fields + +/// Id of the item this setting is applied to. +@property (nonatomic, readonly, copy) NSString *id_; + +/// Setting for this item. +@property (nonatomic, readonly) DBFILESSyncSettingArg *syncSetting; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ Id of the item this setting is applied to. +/// @param syncSetting Setting for this item. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ syncSetting:(DBFILESSyncSettingArg *)syncSetting; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ContentSyncSettingArg` struct. +/// +@interface DBFILESContentSyncSettingArgSerializer : NSObject + +/// +/// Serializes `DBFILESContentSyncSettingArg` instances. +/// +/// @param instance An instance of the `DBFILESContentSyncSettingArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESContentSyncSettingArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESContentSyncSettingArg *)instance; + +/// +/// Deserializes `DBFILESContentSyncSettingArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESContentSyncSettingArg` API object. +/// +/// @return An instantiation of the `DBFILESContentSyncSettingArg` object. +/// ++ (DBFILESContentSyncSettingArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderArg.h index 674073388..7ae9a8648 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderArg.h @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESCreateFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderArg *)instance; /// /// Deserializes `DBFILESCreateFolderArg` instances. @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESCreateFolderArg` object. /// -+ (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESCreateFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchArg.h new file mode 100644 index 000000000..f005736ba --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchArg.h @@ -0,0 +1,100 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchArg : NSObject + +#pragma mark - Instance fields + +/// List of paths to be created in the user's Dropbox. Duplicate path arguments +/// in the batch are considered only once. +@property (nonatomic, readonly) NSArray *paths; + +/// If there's a conflict, have the Dropbox server try to autorename the folder +/// to avoid the conflict. +@property (nonatomic, readonly) NSNumber *autorename; + +/// Whether to force the create to happen asynchronously. +@property (nonatomic, readonly) NSNumber *forceAsync; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param paths List of paths to be created in the user's Dropbox. Duplicate +/// path arguments in the batch are considered only once. +/// @param autorename If there's a conflict, have the Dropbox server try to +/// autorename the folder to avoid the conflict. +/// @param forceAsync Whether to force the create to happen asynchronously. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaths:(NSArray *)paths + autorename:(nullable NSNumber *)autorename + forceAsync:(nullable NSNumber *)forceAsync; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param paths List of paths to be created in the user's Dropbox. Duplicate +/// path arguments in the batch are considered only once. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaths:(NSArray *)paths; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateFolderBatchArg` struct. +/// +@interface DBFILESCreateFolderBatchArgSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchArg` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchArg *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchArg` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchArg` object. +/// ++ (DBFILESCreateFolderBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchError.h new file mode 100644 index 000000000..34c15ca27 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchError.h @@ -0,0 +1,118 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESCreateFolderBatchErrorTag` enum type represents the possible tag +/// states with which the `DBFILESCreateFolderBatchError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderBatchErrorTag){ + /// The operation would involve too many files or folders. + DBFILESCreateFolderBatchErrorTooManyFiles, + + /// (no description). + DBFILESCreateFolderBatchErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESCreateFolderBatchErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "too_many_files". +/// +/// Description of the "too_many_files" tag state: The operation would involve +/// too many files or folders. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyFiles; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "too_many_files". +/// +/// @return Whether the union's current tag state has value "too_many_files". +/// +- (BOOL)isTooManyFiles; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESCreateFolderBatchError` union. +/// +@interface DBFILESCreateFolderBatchErrorSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchError` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchError *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchError` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchError` object. +/// ++ (DBFILESCreateFolderBatchError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchJobStatus.h new file mode 100644 index 000000000..d1486e90e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchJobStatus.h @@ -0,0 +1,178 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchError; +@class DBFILESCreateFolderBatchJobStatus; +@class DBFILESCreateFolderBatchResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchJobStatus` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchJobStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESCreateFolderBatchJobStatusTag` enum type represents the possible +/// tag states with which the `DBFILESCreateFolderBatchJobStatus` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderBatchJobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESCreateFolderBatchJobStatusInProgress, + + /// The batch create folder has finished. + DBFILESCreateFolderBatchJobStatusComplete, + + /// The batch create folder has failed. + DBFILESCreateFolderBatchJobStatusFailed, + + /// (no description). + DBFILESCreateFolderBatchJobStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESCreateFolderBatchJobStatusTag tag; + +/// The batch create folder has finished. @note Ensure the `isComplete` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESCreateFolderBatchResult *complete; + +/// The batch create folder has failed. @note Ensure the `isFailed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESCreateFolderBatchError *failed; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "in_progress". +/// +/// Description of the "in_progress" tag state: The asynchronous job is still in +/// progress. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInProgress; + +/// +/// Initializes union class with tag state of "complete". +/// +/// Description of the "complete" tag state: The batch create folder has +/// finished. +/// +/// @param complete The batch create folder has finished. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(DBFILESCreateFolderBatchResult *)complete; + +/// +/// Initializes union class with tag state of "failed". +/// +/// Description of the "failed" tag state: The batch create folder has failed. +/// +/// @param failed The batch create folder has failed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailed:(DBFILESCreateFolderBatchError *)failed; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "in_progress". +/// +/// @return Whether the union's current tag state has value "in_progress". +/// +- (BOOL)isInProgress; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves whether the union's current tag state has value "failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `failed` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "failed". +/// +- (BOOL)isFailed; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESCreateFolderBatchJobStatus` union. +/// +@interface DBFILESCreateFolderBatchJobStatusSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchJobStatus` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchJobStatus` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchJobStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchJobStatus *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchJobStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchJobStatus` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchJobStatus` object. +/// ++ (DBFILESCreateFolderBatchJobStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchLaunch.h new file mode 100644 index 000000000..7e94ca79a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchLaunch.h @@ -0,0 +1,163 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchLaunch; +@class DBFILESCreateFolderBatchResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchLaunch` union. +/// +/// Result returned by `createFolderBatch` that may either launch an +/// asynchronous job or complete synchronously. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchLaunch : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESCreateFolderBatchLaunchTag` enum type represents the possible +/// tag states with which the `DBFILESCreateFolderBatchLaunch` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderBatchLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESCreateFolderBatchLaunchAsyncJobId, + + /// (no description). + DBFILESCreateFolderBatchLaunchComplete, + + /// (no description). + DBFILESCreateFolderBatchLaunchOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESCreateFolderBatchLaunchTag tag; + +/// This response indicates that the processing is asynchronous. The string is +/// an id that can be used to obtain the status of the asynchronous job. @note +/// Ensure the `isAsyncJobId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *asyncJobId; + +/// (no description). @note Ensure the `isComplete` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESCreateFolderBatchResult *complete; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "async_job_id". +/// +/// Description of the "async_job_id" tag state: This response indicates that +/// the processing is asynchronous. The string is an id that can be used to +/// obtain the status of the asynchronous job. +/// +/// @param asyncJobId This response indicates that the processing is +/// asynchronous. The string is an id that can be used to obtain the status of +/// the asynchronous job. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId; + +/// +/// Initializes union class with tag state of "complete". +/// +/// @param complete (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(DBFILESCreateFolderBatchResult *)complete; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "async_job_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `asyncJobId` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "async_job_id". +/// +- (BOOL)isAsyncJobId; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESCreateFolderBatchLaunch` union. +/// +@interface DBFILESCreateFolderBatchLaunchSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchLaunch` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchLaunch` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchLaunch` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchLaunch *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchLaunch` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchLaunch` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchLaunch` object. +/// ++ (DBFILESCreateFolderBatchLaunch *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResult.h new file mode 100644 index 000000000..b05d68be4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResult.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBFILESFileOpsResult.h" +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchResult; +@class DBFILESCreateFolderBatchResultEntry; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchResult : DBFILESFileOpsResult + +#pragma mark - Instance fields + +/// Each entry in `paths` in `DBFILESCreateFolderBatchArg` will appear at the +/// same position inside `entries` in `DBFILESCreateFolderBatchResult`. +@property (nonatomic, readonly) NSArray *entries; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries Each entry in `paths` in `DBFILESCreateFolderBatchArg` will +/// appear at the same position inside `entries` in +/// `DBFILESCreateFolderBatchResult`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateFolderBatchResult` struct. +/// +@interface DBFILESCreateFolderBatchResultSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchResult` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchResult *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchResult` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchResult` object. +/// ++ (DBFILESCreateFolderBatchResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResultEntry.h new file mode 100644 index 000000000..b78e504ca --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderBatchResultEntry.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderBatchResultEntry; +@class DBFILESCreateFolderEntryError; +@class DBFILESCreateFolderEntryResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderBatchResultEntry` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderBatchResultEntry : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESCreateFolderBatchResultEntryTag` enum type represents the +/// possible tag states with which the `DBFILESCreateFolderBatchResultEntry` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderBatchResultEntryTag){ + /// (no description). + DBFILESCreateFolderBatchResultEntrySuccess, + + /// (no description). + DBFILESCreateFolderBatchResultEntryFailure, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESCreateFolderBatchResultEntryTag tag; + +/// (no description). @note Ensure the `isSuccess` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESCreateFolderEntryResult *success; + +/// (no description). @note Ensure the `isFailure` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESCreateFolderEntryError *failure; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// @param success (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBFILESCreateFolderEntryResult *)success; + +/// +/// Initializes union class with tag state of "failure". +/// +/// @param failure (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailure:(DBFILESCreateFolderEntryError *)failure; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "failure". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `failure` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "failure". +/// +- (BOOL)isFailure; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESCreateFolderBatchResultEntry` union. +/// +@interface DBFILESCreateFolderBatchResultEntrySerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderBatchResultEntry` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderBatchResultEntry` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchResultEntry` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderBatchResultEntry *)instance; + +/// +/// Deserializes `DBFILESCreateFolderBatchResultEntry` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderBatchResultEntry` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderBatchResultEntry` +/// object. +/// ++ (DBFILESCreateFolderBatchResultEntry *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryError.h new file mode 100644 index 000000000..bd657566a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryError.h @@ -0,0 +1,125 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderEntryError; +@class DBFILESWriteError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderEntryError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderEntryError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESCreateFolderEntryErrorTag` enum type represents the possible tag +/// states with which the `DBFILESCreateFolderEntryError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderEntryErrorTag){ + /// (no description). + DBFILESCreateFolderEntryErrorPath, + + /// (no description). + DBFILESCreateFolderEntryErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESCreateFolderEntryErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESWriteError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESWriteError *)path; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESCreateFolderEntryError` union. +/// +@interface DBFILESCreateFolderEntryErrorSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderEntryError` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderEntryError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderEntryError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderEntryError *)instance; + +/// +/// Deserializes `DBFILESCreateFolderEntryError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderEntryError` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderEntryError` object. +/// ++ (DBFILESCreateFolderEntryError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryResult.h new file mode 100644 index 000000000..0dfc6e321 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderEntryResult.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCreateFolderEntryResult; +@class DBFILESFolderMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderEntryResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESCreateFolderEntryResult : NSObject + +#pragma mark - Instance fields + +/// Metadata of the created folder. +@property (nonatomic, readonly) DBFILESFolderMetadata *metadata; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param metadata Metadata of the created folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateFolderEntryResult` struct. +/// +@interface DBFILESCreateFolderEntryResultSerializer : NSObject + +/// +/// Serializes `DBFILESCreateFolderEntryResult` instances. +/// +/// @param instance An instance of the `DBFILESCreateFolderEntryResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESCreateFolderEntryResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderEntryResult *)instance; + +/// +/// Deserializes `DBFILESCreateFolderEntryResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESCreateFolderEntryResult` API object. +/// +/// @return An instantiation of the `DBFILESCreateFolderEntryResult` object. +/// ++ (DBFILESCreateFolderEntryResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderError.h index 02b900b39..79e11f813 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderError.h @@ -28,9 +28,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESCreateFolderErrorTag` enum type represents the possible tag /// states with which the `DBFILESCreateFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESCreateFolderErrorTag) { - /// (no description). - DBFILESCreateFolderErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESCreateFolderErrorTag){ + /// (no description). + DBFILESCreateFolderErrorPath, }; @@ -90,7 +90,7 @@ typedef NS_ENUM(NSInteger, DBFILESCreateFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESCreateFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderError *)instance; /// /// Deserializes `DBFILESCreateFolderError` instances. @@ -100,7 +100,7 @@ typedef NS_ENUM(NSInteger, DBFILESCreateFolderErrorTag) { /// /// @return An instantiation of the `DBFILESCreateFolderError` object. /// -+ (DBFILESCreateFolderError *)deserialize:(NSDictionary *)dict; ++ (DBFILESCreateFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderResult.h index f4ec95055..f828e8ec9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCreateFolderResult.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESCreateFolderResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESCreateFolderResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESCreateFolderResult *)instance; /// /// Deserializes `DBFILESCreateFolderResult` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESCreateFolderResult` object. /// -+ (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESCreateFolderResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteArg.h index dc64faa6d..b9b16a466 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteArg.h @@ -28,12 +28,28 @@ NS_ASSUME_NONNULL_BEGIN /// Path in the user's Dropbox to delete. @property (nonatomic, readonly, copy) NSString *path; +/// Perform delete if given "rev" matches the existing file's latest "rev". This +/// field does not support deleting a folder. +@property (nonatomic, readonly, copy, nullable) NSString *parentRev; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path in the user's Dropbox to delete. +/// @param parentRev Perform delete if given "rev" matches the existing file's +/// latest "rev". This field does not support deleting a folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path parentRev:(nullable NSString *)parentRev; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param path Path in the user's Dropbox to delete. /// /// @return An initialized instance. /// @@ -58,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteArg *)instance; /// /// Deserializes `DBFILESDeleteArg` instances. @@ -68,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeleteArg` object. /// -+ (DBFILESDeleteArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchArg.h index 946de0705..cda516a70 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchArg *)instance; /// /// Deserializes `DBFILESDeleteBatchArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeleteBatchArg` object. /// -+ (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchError.h index ff9beb81f..143a8577d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchError.h @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDeleteBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDeleteBatchErrorTag) { - /// Use `tooManyWriteOperations` in `DBFILESDeleteError`. `deleteBatch` now - /// provides smaller granularity about which entry has failed because of - /// this. - DBFILESDeleteBatchErrorTooManyWriteOperations, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchErrorTag){ + /// Use `tooManyWriteOperations` in `DBFILESDeleteError`. `deleteBatch` now + /// provides smaller granularity about which entry has failed because of + /// this. + DBFILESDeleteBatchErrorTooManyWriteOperations, - /// (no description). - DBFILESDeleteBatchErrorOther, + /// (no description). + DBFILESDeleteBatchErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchError *)instance; /// /// Deserializes `DBFILESDeleteBatchError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchErrorTag) { /// /// @return An instantiation of the `DBFILESDeleteBatchError` object. /// -+ (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchJobStatus.h index 722ce7765..672591678 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchJobStatus.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDeleteBatchJobStatusTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDeleteBatchJobStatusTag) { - /// The asynchronous job is still in progress. - DBFILESDeleteBatchJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchJobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESDeleteBatchJobStatusInProgress, - /// The batch delete has finished. - DBFILESDeleteBatchJobStatusComplete, + /// The batch delete has finished. + DBFILESDeleteBatchJobStatusComplete, - /// The batch delete has failed. - DBFILESDeleteBatchJobStatusFailed, + /// The batch delete has failed. + DBFILESDeleteBatchJobStatusFailed, - /// (no description). - DBFILESDeleteBatchJobStatusOther, + /// (no description). + DBFILESDeleteBatchJobStatusOther, }; @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchJobStatus *)instance; /// /// Deserializes `DBFILESDeleteBatchJobStatus` instances. @@ -168,7 +168,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchJobStatusTag) { /// /// @return An instantiation of the `DBFILESDeleteBatchJobStatus` object. /// -+ (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchLaunch.h index 6aed87452..8d77bc2ea 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchLaunch.h @@ -31,16 +31,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDeleteBatchLaunchTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchLaunch` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDeleteBatchLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBFILESDeleteBatchLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESDeleteBatchLaunchAsyncJobId, - /// (no description). - DBFILESDeleteBatchLaunchComplete, + /// (no description). + DBFILESDeleteBatchLaunchComplete, - /// (no description). - DBFILESDeleteBatchLaunchOther, + /// (no description). + DBFILESDeleteBatchLaunchOther, }; @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchLaunch *)instance; /// /// Deserializes `DBFILESDeleteBatchLaunch` instances. @@ -155,7 +155,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchLaunchTag) { /// /// @return An instantiation of the `DBFILESDeleteBatchLaunch` object. /// -+ (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResult.h index 111a32215..8464350f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResult.h @@ -27,7 +27,8 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// (no description). +/// Each entry in `entries` in `DBFILESDeleteBatchArg` will appear at the same +/// position inside `entries` in `DBFILESDeleteBatchResult`. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors @@ -35,7 +36,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param entries (no description). +/// @param entries Each entry in `entries` in `DBFILESDeleteBatchArg` will +/// appear at the same position inside `entries` in `DBFILESDeleteBatchResult`. /// /// @return An initialized instance. /// @@ -58,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResult *)instance; /// /// Deserializes `DBFILESDeleteBatchResult` instances. @@ -68,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeleteBatchResult` object. /// -+ (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultData.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultData.h index 3e1d26572..ab36ef2f6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultData.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultData.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultData` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultData *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultData *)instance; /// /// Deserializes `DBFILESDeleteBatchResultData` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeleteBatchResultData` object. /// -+ (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchResultData *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultEntry.h index fa3e74e5f..0a26ba086 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultEntry.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteBatchResultEntry.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDeleteBatchResultEntryTag` enum type represents the possible tag /// states with which the `DBFILESDeleteBatchResultEntry` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDeleteBatchResultEntryTag) { - /// (no description). - DBFILESDeleteBatchResultEntrySuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteBatchResultEntryTag){ + /// (no description). + DBFILESDeleteBatchResultEntrySuccess, - /// (no description). - DBFILESDeleteBatchResultEntryFailure, + /// (no description). + DBFILESDeleteBatchResultEntryFailure, }; @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchResultEntryTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteBatchResultEntry` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteBatchResultEntry *)instance; /// /// Deserializes `DBFILESDeleteBatchResultEntry` instances. @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteBatchResultEntryTag) { /// /// @return An instantiation of the `DBFILESDeleteBatchResultEntry` object. /// -+ (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteBatchResultEntry *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteError.h index 9cfe9b5dc..e4dc9eadc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteError.h @@ -29,22 +29,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDeleteErrorTag` enum type represents the possible tag states /// with which the `DBFILESDeleteError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDeleteErrorTag) { - /// (no description). - DBFILESDeleteErrorPathLookup, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDeleteErrorTag){ + /// (no description). + DBFILESDeleteErrorPathLookup, - /// (no description). - DBFILESDeleteErrorPathWrite, + /// (no description). + DBFILESDeleteErrorPathWrite, - /// There are too many write operations in user's Dropbox. Please retry this - /// request. - DBFILESDeleteErrorTooManyWriteOperations, + /// There are too many write operations in user's Dropbox. Please retry this + /// request. + DBFILESDeleteErrorTooManyWriteOperations, - /// There are too many files in one request. Please retry with fewer files. - DBFILESDeleteErrorTooManyFiles, + /// There are too many files in one request. Please retry with fewer files. + DBFILESDeleteErrorTooManyFiles, - /// (no description). - DBFILESDeleteErrorOther, + /// (no description). + DBFILESDeleteErrorOther, }; @@ -177,7 +177,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteError *)instance; /// /// Deserializes `DBFILESDeleteError` instances. @@ -187,7 +187,7 @@ typedef NS_ENUM(NSInteger, DBFILESDeleteErrorTag) { /// /// @return An instantiation of the `DBFILESDeleteError` object. /// -+ (DBFILESDeleteError *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteResult.h index 103464136..d9bf05be8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeleteResult.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeleteResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeleteResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeleteResult *)instance; /// /// Deserializes `DBFILESDeleteResult` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeleteResult` object. /// -+ (DBFILESDeleteResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeleteResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeletedMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeletedMetadata.h index 4c27aa32f..565061693 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeletedMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDeletedMetadata.h @@ -48,13 +48,15 @@ NS_ASSUME_NONNULL_BEGIN /// @param parentSharedFolderId Please use `parentSharedFolderId` in /// `DBFILESFileSharingInfo` or `parentSharedFolderId` in /// `DBFILESFolderSharingInfo` instead. +/// @param previewUrl The preview URL of the file. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name pathLower:(nullable NSString *)pathLower pathDisplay:(nullable NSString *)pathDisplay - parentSharedFolderId:(nullable NSString *)parentSharedFolderId; + parentSharedFolderId:(nullable NSString *)parentSharedFolderId + previewUrl:(nullable NSString *)previewUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -84,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDeletedMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDeletedMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDeletedMetadata *)instance; /// /// Deserializes `DBFILESDeletedMetadata` instances. @@ -94,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDeletedMetadata` object. /// -+ (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESDeletedMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDimensions.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDimensions.h index 438d7b454..cfe0f366c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDimensions.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDimensions.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDimensions` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDimensions *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDimensions *)instance; /// /// Deserializes `DBFILESDimensions` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDimensions` object. /// -+ (DBFILESDimensions *)deserialize:(NSDictionary *)dict; ++ (DBFILESDimensions *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadArg.h index 5cf7b84de..1c8c5bd7a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadArg.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESDownloadArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDownloadArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDownloadArg *)instance; /// /// Deserializes `DBFILESDownloadArg` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESDownloadArg` object. /// -+ (DBFILESDownloadArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESDownloadArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadError.h index 1eb47a496..b5c093899 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadError.h @@ -28,12 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESDownloadErrorTag` enum type represents the possible tag states /// with which the `DBFILESDownloadError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESDownloadErrorTag) { - /// (no description). - DBFILESDownloadErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDownloadErrorTag){ + /// (no description). + DBFILESDownloadErrorPath, - /// (no description). - DBFILESDownloadErrorOther, + /// This file type cannot be downloaded directly; use `export` instead. + DBFILESDownloadErrorUnsupportedFile, + + /// (no description). + DBFILESDownloadErrorOther, }; @@ -55,6 +58,16 @@ typedef NS_ENUM(NSInteger, DBFILESDownloadErrorTag) { /// - (instancetype)initWithPath:(DBFILESLookupError *)path; +/// +/// Initializes union class with tag state of "unsupported_file". +/// +/// Description of the "unsupported_file" tag state: This file type cannot be +/// downloaded directly; use `export` instead. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedFile; + /// /// Initializes union class with tag state of "other". /// @@ -76,6 +89,14 @@ typedef NS_ENUM(NSInteger, DBFILESDownloadErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_file". +/// +/// @return Whether the union's current tag state has value "unsupported_file". +/// +- (BOOL)isUnsupportedFile; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -107,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBFILESDownloadErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESDownloadError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESDownloadError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESDownloadError *)instance; /// /// Deserializes `DBFILESDownloadError` instances. @@ -117,7 +138,7 @@ typedef NS_ENUM(NSInteger, DBFILESDownloadErrorTag) { /// /// @return An instantiation of the `DBFILESDownloadError` object. /// -+ (DBFILESDownloadError *)deserialize:(NSDictionary *)dict; ++ (DBFILESDownloadError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipArg.h new file mode 100644 index 000000000..4d23f0634 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipArg.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESDownloadZipArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DownloadZipArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESDownloadZipArg : NSObject + +#pragma mark - Instance fields + +/// The path of the folder to download. +@property (nonatomic, readonly, copy) NSString *path; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path The path of the folder to download. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DownloadZipArg` struct. +/// +@interface DBFILESDownloadZipArgSerializer : NSObject + +/// +/// Serializes `DBFILESDownloadZipArg` instances. +/// +/// @param instance An instance of the `DBFILESDownloadZipArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESDownloadZipArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESDownloadZipArg *)instance; + +/// +/// Deserializes `DBFILESDownloadZipArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESDownloadZipArg` API object. +/// +/// @return An instantiation of the `DBFILESDownloadZipArg` object. +/// ++ (DBFILESDownloadZipArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipError.h new file mode 100644 index 000000000..0e983a9cd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipError.h @@ -0,0 +1,164 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESDownloadZipError; +@class DBFILESLookupError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DownloadZipError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESDownloadZipError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESDownloadZipErrorTag` enum type represents the possible tag +/// states with which the `DBFILESDownloadZipError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESDownloadZipErrorTag){ + /// (no description). + DBFILESDownloadZipErrorPath, + + /// The folder or a file is too large to download. + DBFILESDownloadZipErrorTooLarge, + + /// The folder has too many files to download. + DBFILESDownloadZipErrorTooManyFiles, + + /// (no description). + DBFILESDownloadZipErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESDownloadZipErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "too_large". +/// +/// Description of the "too_large" tag state: The folder or a file is too large +/// to download. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooLarge; + +/// +/// Initializes union class with tag state of "too_many_files". +/// +/// Description of the "too_many_files" tag state: The folder has too many files +/// to download. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyFiles; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "too_large". +/// +/// @return Whether the union's current tag state has value "too_large". +/// +- (BOOL)isTooLarge; + +/// +/// Retrieves whether the union's current tag state has value "too_many_files". +/// +/// @return Whether the union's current tag state has value "too_many_files". +/// +- (BOOL)isTooManyFiles; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESDownloadZipError` union. +/// +@interface DBFILESDownloadZipErrorSerializer : NSObject + +/// +/// Serializes `DBFILESDownloadZipError` instances. +/// +/// @param instance An instance of the `DBFILESDownloadZipError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESDownloadZipError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESDownloadZipError *)instance; + +/// +/// Deserializes `DBFILESDownloadZipError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESDownloadZipError` API object. +/// +/// @return An instantiation of the `DBFILESDownloadZipError` object. +/// ++ (DBFILESDownloadZipError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipResult.h new file mode 100644 index 000000000..333d6469c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESDownloadZipResult.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESDownloadZipResult; +@class DBFILESFolderMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DownloadZipResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESDownloadZipResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) DBFILESFolderMetadata *metadata; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param metadata (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESFolderMetadata *)metadata; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DownloadZipResult` struct. +/// +@interface DBFILESDownloadZipResultSerializer : NSObject + +/// +/// Serializes `DBFILESDownloadZipResult` instances. +/// +/// @param instance An instance of the `DBFILESDownloadZipResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESDownloadZipResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESDownloadZipResult *)instance; + +/// +/// Deserializes `DBFILESDownloadZipResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESDownloadZipResult` API object. +/// +/// @return An instantiation of the `DBFILESDownloadZipResult` object. +/// ++ (DBFILESDownloadZipResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportArg.h new file mode 100644 index 000000000..d1176bca9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportArg.h @@ -0,0 +1,95 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESExportArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESExportArg : NSObject + +#pragma mark - Instance fields + +/// The path of the file to be exported. +@property (nonatomic, readonly, copy) NSString *path; + +/// The file format to which the file should be exported. This must be one of +/// the formats listed in the file's export_options returned by `getMetadata`. +/// If none is specified, the default format (specified in export_as in file +/// metadata) will be used. +@property (nonatomic, readonly, copy, nullable) NSString *exportFormat; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path The path of the file to be exported. +/// @param exportFormat The file format to which the file should be exported. +/// This must be one of the formats listed in the file's export_options returned +/// by `getMetadata`. If none is specified, the default format (specified in +/// export_as in file metadata) will be used. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path exportFormat:(nullable NSString *)exportFormat; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param path The path of the file to be exported. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportArg` struct. +/// +@interface DBFILESExportArgSerializer : NSObject + +/// +/// Serializes `DBFILESExportArg` instances. +/// +/// @param instance An instance of the `DBFILESExportArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESExportArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESExportArg *)instance; + +/// +/// Deserializes `DBFILESExportArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESExportArg` API object. +/// +/// @return An instantiation of the `DBFILESExportArg` object. +/// ++ (DBFILESExportArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportError.h new file mode 100644 index 000000000..d0f3949ca --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportError.h @@ -0,0 +1,186 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESExportError; +@class DBFILESLookupError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESExportError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESExportErrorTag` enum type represents the possible tag states +/// with which the `DBFILESExportError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESExportErrorTag){ + /// (no description). + DBFILESExportErrorPath, + + /// This file type cannot be exported. Use `download` instead. + DBFILESExportErrorNonExportable, + + /// The specified export format is not a valid option for this file type. + DBFILESExportErrorInvalidExportFormat, + + /// The exportable content is not yet available. Please retry later. + DBFILESExportErrorRetryError, + + /// (no description). + DBFILESExportErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESExportErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "non_exportable". +/// +/// Description of the "non_exportable" tag state: This file type cannot be +/// exported. Use `download` instead. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNonExportable; + +/// +/// Initializes union class with tag state of "invalid_export_format". +/// +/// Description of the "invalid_export_format" tag state: The specified export +/// format is not a valid option for this file type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidExportFormat; + +/// +/// Initializes union class with tag state of "retry_error". +/// +/// Description of the "retry_error" tag state: The exportable content is not +/// yet available. Please retry later. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRetryError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "non_exportable". +/// +/// @return Whether the union's current tag state has value "non_exportable". +/// +- (BOOL)isNonExportable; + +/// +/// Retrieves whether the union's current tag state has value +/// "invalid_export_format". +/// +/// @return Whether the union's current tag state has value +/// "invalid_export_format". +/// +- (BOOL)isInvalidExportFormat; + +/// +/// Retrieves whether the union's current tag state has value "retry_error". +/// +/// @return Whether the union's current tag state has value "retry_error". +/// +- (BOOL)isRetryError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESExportError` union. +/// +@interface DBFILESExportErrorSerializer : NSObject + +/// +/// Serializes `DBFILESExportError` instances. +/// +/// @param instance An instance of the `DBFILESExportError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESExportError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESExportError *)instance; + +/// +/// Deserializes `DBFILESExportError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESExportError` API object. +/// +/// @return An instantiation of the `DBFILESExportError` object. +/// ++ (DBFILESExportError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportInfo.h new file mode 100644 index 000000000..82442d131 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportInfo.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESExportInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportInfo` struct. +/// +/// Export information for a file. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESExportInfo : NSObject + +#pragma mark - Instance fields + +/// Format to which the file can be exported to. +@property (nonatomic, readonly, copy, nullable) NSString *exportAs; + +/// Additional formats to which the file can be exported. These values can be +/// specified as the export_format in /files/export. +@property (nonatomic, readonly, nullable) NSArray *exportOptions; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param exportAs Format to which the file can be exported to. +/// @param exportOptions Additional formats to which the file can be exported. +/// These values can be specified as the export_format in /files/export. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportAs:(nullable NSString *)exportAs + exportOptions:(nullable NSArray *)exportOptions; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportInfo` struct. +/// +@interface DBFILESExportInfoSerializer : NSObject + +/// +/// Serializes `DBFILESExportInfo` instances. +/// +/// @param instance An instance of the `DBFILESExportInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESExportInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESExportInfo *)instance; + +/// +/// Deserializes `DBFILESExportInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESExportInfo` API object. +/// +/// @return An instantiation of the `DBFILESExportInfo` object. +/// ++ (DBFILESExportInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportMetadata.h new file mode 100644 index 000000000..52d6d437c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportMetadata.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESExportMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportMetadata` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESExportMetadata : NSObject + +#pragma mark - Instance fields + +/// The last component of the path (including extension). This never contains a +/// slash. +@property (nonatomic, readonly, copy) NSString *name; + +/// The file size in bytes. +@property (nonatomic, readonly) NSNumber *size; + +/// A hash based on the exported file content. This field can be used to verify +/// data integrity. Similar to content hash. For more information see our +/// Content hash https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy, nullable) NSString *exportHash; + +/// If the file is a Paper doc, this gives the latest doc revision which can be +/// used in `paperUpdate`. +@property (nonatomic, readonly, nullable) NSNumber *paperRevision; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param name The last component of the path (including extension). This never +/// contains a slash. +/// @param size The file size in bytes. +/// @param exportHash A hash based on the exported file content. This field can +/// be used to verify data integrity. Similar to content hash. For more +/// information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +/// @param paperRevision If the file is a Paper doc, this gives the latest doc +/// revision which can be used in `paperUpdate`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name + size:(NSNumber *)size + exportHash:(nullable NSString *)exportHash + paperRevision:(nullable NSNumber *)paperRevision; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param name The last component of the path (including extension). This never +/// contains a slash. +/// @param size The file size in bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name size:(NSNumber *)size; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportMetadata` struct. +/// +@interface DBFILESExportMetadataSerializer : NSObject + +/// +/// Serializes `DBFILESExportMetadata` instances. +/// +/// @param instance An instance of the `DBFILESExportMetadata` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESExportMetadata` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESExportMetadata *)instance; + +/// +/// Deserializes `DBFILESExportMetadata` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESExportMetadata` API object. +/// +/// @return An instantiation of the `DBFILESExportMetadata` object. +/// ++ (DBFILESExportMetadata *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportResult.h new file mode 100644 index 000000000..76bf5afed --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESExportResult.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESExportMetadata; +@class DBFILESExportResult; +@class DBFILESFileMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESExportResult : NSObject + +#pragma mark - Instance fields + +/// Metadata for the exported version of the file. +@property (nonatomic, readonly) DBFILESExportMetadata *exportMetadata; + +/// Metadata for the original file. +@property (nonatomic, readonly) DBFILESFileMetadata *fileMetadata; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param exportMetadata Metadata for the exported version of the file. +/// @param fileMetadata Metadata for the original file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMetadata:(DBFILESExportMetadata *)exportMetadata + fileMetadata:(DBFILESFileMetadata *)fileMetadata; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportResult` struct. +/// +@interface DBFILESExportResultSerializer : NSObject + +/// +/// Serializes `DBFILESExportResult` instances. +/// +/// @param instance An instance of the `DBFILESExportResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESExportResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESExportResult *)instance; + +/// +/// Deserializes `DBFILESExportResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESExportResult` API object. +/// +/// @return An instantiation of the `DBFILESExportResult` object. +/// ++ (DBFILESExportResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileCategory.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileCategory.h new file mode 100644 index 000000000..7296e6326 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileCategory.h @@ -0,0 +1,288 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileCategory; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileCategory` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESFileCategory : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESFileCategoryTag` enum type represents the possible tag states +/// with which the `DBFILESFileCategory` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESFileCategoryTag){ + /// jpg, png, gif, and more. + DBFILESFileCategoryImage, + + /// doc, docx, txt, and more. + DBFILESFileCategoryDocument, + + /// pdf. + DBFILESFileCategoryPdf, + + /// xlsx, xls, csv, and more. + DBFILESFileCategorySpreadsheet, + + /// ppt, pptx, key, and more. + DBFILESFileCategoryPresentation, + + /// mp3, wav, mid, and more. + DBFILESFileCategoryAudio, + + /// mov, wmv, mp4, and more. + DBFILESFileCategoryVideo, + + /// dropbox folder. + DBFILESFileCategoryFolder, + + /// dropbox paper doc. + DBFILESFileCategoryPaper, + + /// any file not in one of the categories above. + DBFILESFileCategoryOthers, + + /// (no description). + DBFILESFileCategoryOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESFileCategoryTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "image". +/// +/// Description of the "image" tag state: jpg, png, gif, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImage; + +/// +/// Initializes union class with tag state of "document". +/// +/// Description of the "document" tag state: doc, docx, txt, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocument; + +/// +/// Initializes union class with tag state of "pdf". +/// +/// Description of the "pdf" tag state: pdf. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPdf; + +/// +/// Initializes union class with tag state of "spreadsheet". +/// +/// Description of the "spreadsheet" tag state: xlsx, xls, csv, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSpreadsheet; + +/// +/// Initializes union class with tag state of "presentation". +/// +/// Description of the "presentation" tag state: ppt, pptx, key, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPresentation; + +/// +/// Initializes union class with tag state of "audio". +/// +/// Description of the "audio" tag state: mp3, wav, mid, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAudio; + +/// +/// Initializes union class with tag state of "video". +/// +/// Description of the "video" tag state: mov, wmv, mp4, and more. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithVideo; + +/// +/// Initializes union class with tag state of "folder". +/// +/// Description of the "folder" tag state: dropbox folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolder; + +/// +/// Initializes union class with tag state of "paper". +/// +/// Description of the "paper" tag state: dropbox paper doc. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaper; + +/// +/// Initializes union class with tag state of "others". +/// +/// Description of the "others" tag state: any file not in one of the categories +/// above. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOthers; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "image". +/// +/// @return Whether the union's current tag state has value "image". +/// +- (BOOL)isImage; + +/// +/// Retrieves whether the union's current tag state has value "document". +/// +/// @return Whether the union's current tag state has value "document". +/// +- (BOOL)isDocument; + +/// +/// Retrieves whether the union's current tag state has value "pdf". +/// +/// @return Whether the union's current tag state has value "pdf". +/// +- (BOOL)isPdf; + +/// +/// Retrieves whether the union's current tag state has value "spreadsheet". +/// +/// @return Whether the union's current tag state has value "spreadsheet". +/// +- (BOOL)isSpreadsheet; + +/// +/// Retrieves whether the union's current tag state has value "presentation". +/// +/// @return Whether the union's current tag state has value "presentation". +/// +- (BOOL)isPresentation; + +/// +/// Retrieves whether the union's current tag state has value "audio". +/// +/// @return Whether the union's current tag state has value "audio". +/// +- (BOOL)isAudio; + +/// +/// Retrieves whether the union's current tag state has value "video". +/// +/// @return Whether the union's current tag state has value "video". +/// +- (BOOL)isVideo; + +/// +/// Retrieves whether the union's current tag state has value "folder". +/// +/// @return Whether the union's current tag state has value "folder". +/// +- (BOOL)isFolder; + +/// +/// Retrieves whether the union's current tag state has value "paper". +/// +/// @return Whether the union's current tag state has value "paper". +/// +- (BOOL)isPaper; + +/// +/// Retrieves whether the union's current tag state has value "others". +/// +/// @return Whether the union's current tag state has value "others". +/// +- (BOOL)isOthers; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESFileCategory` union. +/// +@interface DBFILESFileCategorySerializer : NSObject + +/// +/// Serializes `DBFILESFileCategory` instances. +/// +/// @param instance An instance of the `DBFILESFileCategory` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESFileCategory` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESFileCategory *)instance; + +/// +/// Deserializes `DBFILESFileCategory` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESFileCategory` API object. +/// +/// @return An instantiation of the `DBFILESFileCategory` object. +/// ++ (DBFILESFileCategory *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLock.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLock.h new file mode 100644 index 000000000..11fbd356a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLock.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileLock; +@class DBFILESFileLockContent; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLock` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESFileLock : NSObject + +#pragma mark - Instance fields + +/// The lock description. +@property (nonatomic, readonly) DBFILESFileLockContent *content; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param content The lock description. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContent:(DBFILESFileLockContent *)content; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLock` struct. +/// +@interface DBFILESFileLockSerializer : NSObject + +/// +/// Serializes `DBFILESFileLock` instances. +/// +/// @param instance An instance of the `DBFILESFileLock` API object. +/// +/// @return A json-compatible dictionary representation of the `DBFILESFileLock` +/// API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESFileLock *)instance; + +/// +/// Deserializes `DBFILESFileLock` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESFileLock` API object. +/// +/// @return An instantiation of the `DBFILESFileLock` object. +/// ++ (DBFILESFileLock *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockContent.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockContent.h new file mode 100644 index 000000000..7df428da1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockContent.h @@ -0,0 +1,145 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileLockContent; +@class DBFILESSingleUserLock; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockContent` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESFileLockContent : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESFileLockContentTag` enum type represents the possible tag states +/// with which the `DBFILESFileLockContent` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESFileLockContentTag){ + /// Empty type to indicate no lock. + DBFILESFileLockContentUnlocked, + + /// A lock held by a single user. + DBFILESFileLockContentSingleUser, + + /// (no description). + DBFILESFileLockContentOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESFileLockContentTag tag; + +/// A lock held by a single user. @note Ensure the `isSingleUser` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESSingleUserLock *singleUser; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unlocked". +/// +/// Description of the "unlocked" tag state: Empty type to indicate no lock. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlocked; + +/// +/// Initializes union class with tag state of "single_user". +/// +/// Description of the "single_user" tag state: A lock held by a single user. +/// +/// @param singleUser A lock held by a single user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSingleUser:(DBFILESSingleUserLock *)singleUser; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "unlocked". +/// +/// @return Whether the union's current tag state has value "unlocked". +/// +- (BOOL)isUnlocked; + +/// +/// Retrieves whether the union's current tag state has value "single_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `singleUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "single_user". +/// +- (BOOL)isSingleUser; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESFileLockContent` union. +/// +@interface DBFILESFileLockContentSerializer : NSObject + +/// +/// Serializes `DBFILESFileLockContent` instances. +/// +/// @param instance An instance of the `DBFILESFileLockContent` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESFileLockContent` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESFileLockContent *)instance; + +/// +/// Deserializes `DBFILESFileLockContent` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESFileLockContent` API object. +/// +/// @return An instantiation of the `DBFILESFileLockContent` object. +/// ++ (DBFILESFileLockContent *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockMetadata.h new file mode 100644 index 000000000..ec4128f4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileLockMetadata.h @@ -0,0 +1,99 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileLockMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockMetadata` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESFileLockMetadata : NSObject + +#pragma mark - Instance fields + +/// True if caller holds the file lock. +@property (nonatomic, readonly, nullable) NSNumber *isLockholder; + +/// The display name of the lock holder. +@property (nonatomic, readonly, copy, nullable) NSString *lockholderName; + +/// The account ID of the lock holder if known. +@property (nonatomic, readonly, copy, nullable) NSString *lockholderAccountId; + +/// The timestamp of the lock was created. +@property (nonatomic, readonly, nullable) NSDate *created; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param isLockholder True if caller holds the file lock. +/// @param lockholderName The display name of the lock holder. +/// @param lockholderAccountId The account ID of the lock holder if known. +/// @param created The timestamp of the lock was created. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsLockholder:(nullable NSNumber *)isLockholder + lockholderName:(nullable NSString *)lockholderName + lockholderAccountId:(nullable NSString *)lockholderAccountId + created:(nullable NSDate *)created; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLockMetadata` struct. +/// +@interface DBFILESFileLockMetadataSerializer : NSObject + +/// +/// Serializes `DBFILESFileLockMetadata` instances. +/// +/// @param instance An instance of the `DBFILESFileLockMetadata` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESFileLockMetadata` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESFileLockMetadata *)instance; + +/// +/// Deserializes `DBFILESFileLockMetadata` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESFileLockMetadata` API object. +/// +/// @return An instantiation of the `DBFILESFileLockMetadata` object. +/// ++ (DBFILESFileLockMetadata *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileMetadata.h index 338e4d8ce..764689353 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileMetadata.h @@ -10,9 +10,12 @@ #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; +@class DBFILESExportInfo; +@class DBFILESFileLockMetadata; @class DBFILESFileMetadata; @class DBFILESFileSharingInfo; @class DBFILESMediaInfo; +@class DBFILESSymlinkInfo; NS_ASSUME_NONNULL_BEGIN @@ -50,12 +53,24 @@ NS_ASSUME_NONNULL_BEGIN /// The file size in bytes. @property (nonatomic, readonly) NSNumber *size; -/// Additional information if the file is a photo or video. +/// Additional information if the file is a photo or video. This field will not +/// be set on entries returned by `listFolder`, `listFolderContinue`, or +/// `getThumbnailBatch`, starting December 2, 2019. @property (nonatomic, readonly, nullable) DBFILESMediaInfo *mediaInfo; +/// Set if this file is a symlink. +@property (nonatomic, readonly, nullable) DBFILESSymlinkInfo *symlinkInfo; + /// Set if this file is contained in a shared folder. @property (nonatomic, readonly, nullable) DBFILESFileSharingInfo *sharingInfo; +/// If true, file can be downloaded directly; else the file must be exported. +@property (nonatomic, readonly) NSNumber *isDownloadable; + +/// Information about format this file can be exported to. This filed must be +/// set if isDownloadable is set to false. +@property (nonatomic, readonly, nullable) DBFILESExportInfo *exportInfo; + /// Additional information if the file has custom properties with the property /// template specified. @property (nonatomic, readonly, nullable) NSArray *propertyGroups; @@ -68,10 +83,13 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, nullable) NSNumber *hasExplicitSharedMembers; /// A hash of the file content. This field can be used to verify data integrity. -/// For more information see our Content hash /developers/reference/content-hash -/// page. +/// For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. @property (nonatomic, readonly, copy, nullable) NSString *contentHash; +/// If present, the metadata associated with the file's current lock. +@property (nonatomic, readonly, nullable) DBFILESFileLockMetadata *fileLockInfo; + #pragma mark - Constructors /// @@ -102,8 +120,16 @@ NS_ASSUME_NONNULL_BEGIN /// @param parentSharedFolderId Please use `parentSharedFolderId` in /// `DBFILESFileSharingInfo` or `parentSharedFolderId` in /// `DBFILESFolderSharingInfo` instead. +/// @param previewUrl The preview URL of the file. /// @param mediaInfo Additional information if the file is a photo or video. +/// This field will not be set on entries returned by `listFolder`, +/// `listFolderContinue`, or `getThumbnailBatch`, starting December 2, 2019. +/// @param symlinkInfo Set if this file is a symlink. /// @param sharingInfo Set if this file is contained in a shared folder. +/// @param isDownloadable If true, file can be downloaded directly; else the +/// file must be exported. +/// @param exportInfo Information about format this file can be exported to. +/// This filed must be set if isDownloadable is set to false. /// @param propertyGroups Additional information if the file has custom /// properties with the property template specified. /// @param hasExplicitSharedMembers This flag will only be present if @@ -114,7 +140,9 @@ NS_ASSUME_NONNULL_BEGIN /// contained within a shared folder. /// @param contentHash A hash of the file content. This field can be used to /// verify data integrity. For more information see our Content hash -/// /developers/reference/content-hash page. +/// https://www.dropbox.com/developers/reference/content-hash page. +/// @param fileLockInfo If present, the metadata associated with the file's +/// current lock. /// /// @return An initialized instance. /// @@ -127,11 +155,16 @@ NS_ASSUME_NONNULL_BEGIN pathLower:(nullable NSString *)pathLower pathDisplay:(nullable NSString *)pathDisplay parentSharedFolderId:(nullable NSString *)parentSharedFolderId + previewUrl:(nullable NSString *)previewUrl mediaInfo:(nullable DBFILESMediaInfo *)mediaInfo + symlinkInfo:(nullable DBFILESSymlinkInfo *)symlinkInfo sharingInfo:(nullable DBFILESFileSharingInfo *)sharingInfo + isDownloadable:(nullable NSNumber *)isDownloadable + exportInfo:(nullable DBFILESExportInfo *)exportInfo propertyGroups:(nullable NSArray *)propertyGroups hasExplicitSharedMembers:(nullable NSNumber *)hasExplicitSharedMembers - contentHash:(nullable NSString *)contentHash; + contentHash:(nullable NSString *)contentHash + fileLockInfo:(nullable DBFILESFileLockMetadata *)fileLockInfo; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -177,7 +210,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESFileMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESFileMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESFileMetadata *)instance; /// /// Deserializes `DBFILESFileMetadata` instances. @@ -187,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESFileMetadata` object. /// -+ (DBFILESFileMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESFileMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileOpsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileOpsResult.h index 480efefbb..958542c68 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileOpsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileOpsResult.h @@ -53,7 +53,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESFileOpsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESFileOpsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESFileOpsResult *)instance; /// /// Deserializes `DBFILESFileOpsResult` instances. @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESFileOpsResult` object. /// -+ (DBFILESFileOpsResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESFileOpsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileSharingInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileSharingInfo.h index 5c36028bf..4fa67851e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileSharingInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileSharingInfo.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESFileSharingInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESFileSharingInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESFileSharingInfo *)instance; /// /// Deserializes `DBFILESFileSharingInfo` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESFileSharingInfo` object. /// -+ (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)dict; ++ (DBFILESFileSharingInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileStatus.h new file mode 100644 index 000000000..b4b59c4a5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFileStatus.h @@ -0,0 +1,131 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileStatus` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESFileStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESFileStatusTag` enum type represents the possible tag states with +/// which the `DBFILESFileStatus` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESFileStatusTag){ + /// (no description). + DBFILESFileStatusActive, + + /// (no description). + DBFILESFileStatusDeleted, + + /// (no description). + DBFILESFileStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESFileStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "active". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithActive; + +/// +/// Initializes union class with tag state of "deleted". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleted; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "active". +/// +/// @return Whether the union's current tag state has value "active". +/// +- (BOOL)isActive; + +/// +/// Retrieves whether the union's current tag state has value "deleted". +/// +/// @return Whether the union's current tag state has value "deleted". +/// +- (BOOL)isDeleted; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESFileStatus` union. +/// +@interface DBFILESFileStatusSerializer : NSObject + +/// +/// Serializes `DBFILESFileStatus` instances. +/// +/// @param instance An instance of the `DBFILESFileStatus` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESFileStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESFileStatus *)instance; + +/// +/// Deserializes `DBFILESFileStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESFileStatus` API object. +/// +/// @return An instantiation of the `DBFILESFileStatus` object. +/// ++ (DBFILESFileStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderMetadata.h index f4417a68d..aaf31b73c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderMetadata.h @@ -63,6 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param parentSharedFolderId Please use `parentSharedFolderId` in /// `DBFILESFileSharingInfo` or `parentSharedFolderId` in /// `DBFILESFolderSharingInfo` instead. +/// @param previewUrl The preview URL of the file. /// @param sharedFolderId Please use sharingInfo instead. /// @param sharingInfo Set if the folder is contained in a shared folder or is a /// shared folder mount point. @@ -78,6 +79,7 @@ NS_ASSUME_NONNULL_BEGIN pathLower:(nullable NSString *)pathLower pathDisplay:(nullable NSString *)pathDisplay parentSharedFolderId:(nullable NSString *)parentSharedFolderId + previewUrl:(nullable NSString *)previewUrl sharedFolderId:(nullable NSString *)sharedFolderId sharingInfo:(nullable DBFILESFolderSharingInfo *)sharingInfo propertyGroups:(nullable NSArray *)propertyGroups; @@ -111,7 +113,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESFolderMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESFolderMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESFolderMetadata *)instance; /// /// Deserializes `DBFILESFolderMetadata` instances. @@ -121,7 +123,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESFolderMetadata` object. /// -+ (DBFILESFolderMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESFolderMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderSharingInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderSharingInfo.h index 82892d125..f6b94c3d4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderSharingInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESFolderSharingInfo.h @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESFolderSharingInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESFolderSharingInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESFolderSharingInfo *)instance; /// /// Deserializes `DBFILESFolderSharingInfo` instances. @@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESFolderSharingInfo` object. /// -+ (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)dict; ++ (DBFILESFolderSharingInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceArg.h index 8f437984b..4331aa877 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceArg *)instance; /// /// Deserializes `DBFILESGetCopyReferenceArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetCopyReferenceArg` object. /// -+ (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetCopyReferenceArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceError.h index fef33d648..18afba528 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESGetCopyReferenceErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetCopyReferenceError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESGetCopyReferenceErrorTag) { - /// (no description). - DBFILESGetCopyReferenceErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetCopyReferenceErrorTag){ + /// (no description). + DBFILESGetCopyReferenceErrorPath, - /// (no description). - DBFILESGetCopyReferenceErrorOther, + /// (no description). + DBFILESGetCopyReferenceErrorOther, }; @@ -108,7 +108,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetCopyReferenceErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceError *)instance; /// /// Deserializes `DBFILESGetCopyReferenceError` instances. @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetCopyReferenceErrorTag) { /// /// @return An instantiation of the `DBFILESGetCopyReferenceError` object. /// -+ (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetCopyReferenceError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceResult.h index 80f8b8d5e..852ca1086 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetCopyReferenceResult.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetCopyReferenceResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetCopyReferenceResult *)instance; /// /// Deserializes `DBFILESGetCopyReferenceResult` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetCopyReferenceResult` object. /// -+ (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetCopyReferenceResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataArg.h index 1311a5a40..af496fafb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataArg.h @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetMetadataArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetMetadataArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetMetadataArg *)instance; /// /// Deserializes `DBFILESGetMetadataArg` instances. @@ -110,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetMetadataArg` object. /// -+ (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetMetadataArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataError.h index cb3c65429..45f17b09f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetMetadataError.h @@ -28,9 +28,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESGetMetadataErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetMetadataError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESGetMetadataErrorTag) { - /// (no description). - DBFILESGetMetadataErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetMetadataErrorTag){ + /// (no description). + DBFILESGetMetadataErrorPath, }; @@ -90,7 +90,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetMetadataErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESGetMetadataError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetMetadataError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetMetadataError *)instance; /// /// Deserializes `DBFILESGetMetadataError` instances. @@ -100,7 +100,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetMetadataErrorTag) { /// /// @return An instantiation of the `DBFILESGetMetadataError` object. /// -+ (DBFILESGetMetadataError *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetMetadataError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsArg.h new file mode 100644 index 000000000..510bffc99 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsArg.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESGetTagsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GetTagsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESGetTagsArg : NSObject + +#pragma mark - Instance fields + +/// Path to the items. +@property (nonatomic, readonly) NSArray *paths; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param paths Path to the items. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaths:(NSArray *)paths; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GetTagsArg` struct. +/// +@interface DBFILESGetTagsArgSerializer : NSObject + +/// +/// Serializes `DBFILESGetTagsArg` instances. +/// +/// @param instance An instance of the `DBFILESGetTagsArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESGetTagsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESGetTagsArg *)instance; + +/// +/// Deserializes `DBFILESGetTagsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESGetTagsArg` API object. +/// +/// @return An instantiation of the `DBFILESGetTagsArg` object. +/// ++ (DBFILESGetTagsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsResult.h new file mode 100644 index 000000000..9cafb7620 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTagsResult.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESGetTagsResult; +@class DBFILESPathToTags; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GetTagsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESGetTagsResult : NSObject + +#pragma mark - Instance fields + +/// List of paths and their corresponding tags. +@property (nonatomic, readonly) NSArray *pathsToTags; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param pathsToTags List of paths and their corresponding tags. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPathsToTags:(NSArray *)pathsToTags; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GetTagsResult` struct. +/// +@interface DBFILESGetTagsResultSerializer : NSObject + +/// +/// Serializes `DBFILESGetTagsResult` instances. +/// +/// @param instance An instance of the `DBFILESGetTagsResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESGetTagsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESGetTagsResult *)instance; + +/// +/// Deserializes `DBFILESGetTagsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESGetTagsResult` API object. +/// +/// @return An instantiation of the `DBFILESGetTagsResult` object. +/// ++ (DBFILESGetTagsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkArg.h index f29118169..2c0ab61be 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkArg *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetTemporaryLinkArg` object. /// -+ (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetTemporaryLinkArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkError.h index 76a5a5f12..8bd5de7e1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkError.h @@ -28,12 +28,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESGetTemporaryLinkErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetTemporaryLinkError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag) { - /// (no description). - DBFILESGetTemporaryLinkErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag){ + /// (no description). + DBFILESGetTemporaryLinkErrorPath, - /// (no description). - DBFILESGetTemporaryLinkErrorOther, + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBFILESGetTemporaryLinkErrorEmailNotVerified, + + /// Cannot get temporary link to this file type; use `export` instead. + DBFILESGetTemporaryLinkErrorUnsupportedFile, + + /// The user is not allowed to request a temporary link to the specified + /// file. For example, this can occur if the file is restricted or if the + /// user's links are banned + /// https://help.dropbox.com/files-folders/share/banned-links. + DBFILESGetTemporaryLinkErrorNotAllowed, + + /// (no description). + DBFILESGetTemporaryLinkErrorOther, }; @@ -55,6 +69,40 @@ typedef NS_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag) { /// - (instancetype)initWithPath:(DBFILESLookupError *)path; +/// +/// Initializes union class with tag state of "email_not_verified". +/// +/// Description of the "email_not_verified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailNotVerified; + +/// +/// Initializes union class with tag state of "unsupported_file". +/// +/// Description of the "unsupported_file" tag state: Cannot get temporary link +/// to this file type; use `export` instead. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedFile; + +/// +/// Initializes union class with tag state of "not_allowed". +/// +/// Description of the "not_allowed" tag state: The user is not allowed to +/// request a temporary link to the specified file. For example, this can occur +/// if the file is restricted or if the user's links are banned +/// https://help.dropbox.com/files-folders/share/banned-links. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotAllowed; + /// /// Initializes union class with tag state of "other". /// @@ -76,6 +124,30 @@ typedef NS_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value +/// "email_not_verified". +/// +/// @return Whether the union's current tag state has value +/// "email_not_verified". +/// +- (BOOL)isEmailNotVerified; + +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_file". +/// +/// @return Whether the union's current tag state has value "unsupported_file". +/// +- (BOOL)isUnsupportedFile; + +/// +/// Retrieves whether the union's current tag state has value "not_allowed". +/// +/// @return Whether the union's current tag state has value "not_allowed". +/// +- (BOOL)isNotAllowed; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -108,7 +180,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkError *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkError` instances. @@ -118,7 +190,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetTemporaryLinkErrorTag) { /// /// @return An instantiation of the `DBFILESGetTemporaryLinkError` object. /// -+ (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetTemporaryLinkError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkResult.h index 364940768..987a42c80 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryLinkResult.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetTemporaryLinkResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryLinkResult *)instance; /// /// Deserializes `DBFILESGetTemporaryLinkResult` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetTemporaryLinkResult` object. /// -+ (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetTemporaryLinkResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkArg.h new file mode 100644 index 000000000..b2af59c33 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkArg.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESCommitInfo; +@class DBFILESGetTemporaryUploadLinkArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GetTemporaryUploadLinkArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESGetTemporaryUploadLinkArg : NSObject + +#pragma mark - Instance fields + +/// Contains the path and other optional modifiers for the future upload commit. +/// Equivalent to the parameters provided to `upload`. +@property (nonatomic, readonly) DBFILESCommitInfo *commitInfo; + +/// How long before this link expires, in seconds. Attempting to start an +/// upload with this link longer than this period of time after link creation +/// will result in an error. +@property (nonatomic, readonly) NSNumber *duration; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param commitInfo Contains the path and other optional modifiers for the +/// future upload commit. Equivalent to the parameters provided to `upload`. +/// @param duration How long before this link expires, in seconds. Attempting +/// to start an upload with this link longer than this period of time after +/// link creation will result in an error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCommitInfo:(DBFILESCommitInfo *)commitInfo duration:(nullable NSNumber *)duration; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param commitInfo Contains the path and other optional modifiers for the +/// future upload commit. Equivalent to the parameters provided to `upload`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCommitInfo:(DBFILESCommitInfo *)commitInfo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GetTemporaryUploadLinkArg` struct. +/// +@interface DBFILESGetTemporaryUploadLinkArgSerializer : NSObject + +/// +/// Serializes `DBFILESGetTemporaryUploadLinkArg` instances. +/// +/// @param instance An instance of the `DBFILESGetTemporaryUploadLinkArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESGetTemporaryUploadLinkArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryUploadLinkArg *)instance; + +/// +/// Deserializes `DBFILESGetTemporaryUploadLinkArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESGetTemporaryUploadLinkArg` API object. +/// +/// @return An instantiation of the `DBFILESGetTemporaryUploadLinkArg` object. +/// ++ (DBFILESGetTemporaryUploadLinkArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkResult.h new file mode 100644 index 000000000..a454c8a63 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetTemporaryUploadLinkResult.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESGetTemporaryUploadLinkResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GetTemporaryUploadLinkResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESGetTemporaryUploadLinkResult : NSObject + +#pragma mark - Instance fields + +/// The temporary link which can be used to stream a file to a Dropbox location. +@property (nonatomic, readonly, copy) NSString *link; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param link The temporary link which can be used to stream a file to a +/// Dropbox location. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLink:(NSString *)link; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GetTemporaryUploadLinkResult` struct. +/// +@interface DBFILESGetTemporaryUploadLinkResultSerializer : NSObject + +/// +/// Serializes `DBFILESGetTemporaryUploadLinkResult` instances. +/// +/// @param instance An instance of the `DBFILESGetTemporaryUploadLinkResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESGetTemporaryUploadLinkResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESGetTemporaryUploadLinkResult *)instance; + +/// +/// Deserializes `DBFILESGetTemporaryUploadLinkResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESGetTemporaryUploadLinkResult` API object. +/// +/// @return An instantiation of the `DBFILESGetTemporaryUploadLinkResult` +/// object. +/// ++ (DBFILESGetTemporaryUploadLinkResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchArg.h index 19020082e..e8ff7535b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchArg *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetThumbnailBatchArg` object. /// -+ (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetThumbnailBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchError.h index 7bf3f4cb4..85694c3b1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESGetThumbnailBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESGetThumbnailBatchError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchErrorTag) { - /// The operation involves more than 25 files. - DBFILESGetThumbnailBatchErrorTooManyFiles, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetThumbnailBatchErrorTag){ + /// The operation involves more than 25 files. + DBFILESGetThumbnailBatchErrorTooManyFiles, - /// (no description). - DBFILESGetThumbnailBatchErrorOther, + /// (no description). + DBFILESGetThumbnailBatchErrorOther, }; @@ -101,7 +101,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchError *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchError` instances. @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchErrorTag) { /// /// @return An instantiation of the `DBFILESGetThumbnailBatchError` object. /// -+ (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetThumbnailBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResult.h index 7ee02ae8f..cfc3ce637 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResult *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResult` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetThumbnailBatchResult` object. /// -+ (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetThumbnailBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultData.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultData.h index a8715322a..5dd519b7a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultData.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultData.h @@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN /// (no description). @property (nonatomic, readonly) DBFILESFileMetadata *metadata; -/// (no description). +/// A string containing the base64-encoded thumbnail data for this file. @property (nonatomic, readonly, copy) NSString *thumbnail; #pragma mark - Constructors @@ -38,7 +38,8 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param metadata (no description). -/// @param thumbnail (no description). +/// @param thumbnail A string containing the base64-encoded thumbnail data for +/// this file. /// /// @return An initialized instance. /// @@ -64,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultData` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultData *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultData *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResultData` instances. @@ -74,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGetThumbnailBatchResultData` object. /// -+ (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetThumbnailBatchResultData *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultEntry.h index d66fdf92e..4507b6219 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultEntry.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGetThumbnailBatchResultEntry.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESGetThumbnailBatchResultEntryTag` enum type represents the /// possible tag states with which the `DBFILESGetThumbnailBatchResultEntry` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchResultEntryTag) { - /// (no description). - DBFILESGetThumbnailBatchResultEntrySuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESGetThumbnailBatchResultEntryTag){ + /// (no description). + DBFILESGetThumbnailBatchResultEntrySuccess, - /// The result for this file if it was an error. - DBFILESGetThumbnailBatchResultEntryFailure, + /// The result for this file if it was an error. + DBFILESGetThumbnailBatchResultEntryFailure, - /// (no description). - DBFILESGetThumbnailBatchResultEntryOther, + /// (no description). + DBFILESGetThumbnailBatchResultEntryOther, }; @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchResultEntryTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESGetThumbnailBatchResultEntry` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultEntry *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGetThumbnailBatchResultEntry *)instance; /// /// Deserializes `DBFILESGetThumbnailBatchResultEntry` instances. @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBFILESGetThumbnailBatchResultEntryTag) { /// @return An instantiation of the `DBFILESGetThumbnailBatchResultEntry` /// object. /// -+ (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)dict; ++ (DBFILESGetThumbnailBatchResultEntry *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGpsCoordinates.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGpsCoordinates.h index 5848bd14c..81bb9fe1c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGpsCoordinates.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESGpsCoordinates.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESGpsCoordinates` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESGpsCoordinates *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESGpsCoordinates *)instance; /// /// Deserializes `DBFILESGpsCoordinates` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESGpsCoordinates` object. /// -+ (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)dict; ++ (DBFILESGpsCoordinates *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESHighlightSpan.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESHighlightSpan.h new file mode 100644 index 000000000..f0e4ec5ab --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESHighlightSpan.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESHighlightSpan; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `HighlightSpan` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESHighlightSpan : NSObject + +#pragma mark - Instance fields + +/// String to be determined whether it should be highlighted or not. +@property (nonatomic, readonly, copy) NSString *highlightStr; + +/// The string should be highlighted or not. +@property (nonatomic, readonly) NSNumber *isHighlighted; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param highlightStr String to be determined whether it should be highlighted +/// or not. +/// @param isHighlighted The string should be highlighted or not. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHighlightStr:(NSString *)highlightStr isHighlighted:(NSNumber *)isHighlighted; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `HighlightSpan` struct. +/// +@interface DBFILESHighlightSpanSerializer : NSObject + +/// +/// Serializes `DBFILESHighlightSpan` instances. +/// +/// @param instance An instance of the `DBFILESHighlightSpan` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESHighlightSpan` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESHighlightSpan *)instance; + +/// +/// Deserializes `DBFILESHighlightSpan` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESHighlightSpan` API object. +/// +/// @return An instantiation of the `DBFILESHighlightSpan` object. +/// ++ (DBFILESHighlightSpan *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESImportFormat.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESImportFormat.h new file mode 100644 index 000000000..f79ea63a7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESImportFormat.h @@ -0,0 +1,159 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESImportFormat; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ImportFormat` union. +/// +/// The import format of the incoming Paper doc content. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESImportFormat : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESImportFormatTag` enum type represents the possible tag states +/// with which the `DBFILESImportFormat` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESImportFormatTag){ + /// The provided data is interpreted as standard HTML. + DBFILESImportFormatHtml, + + /// The provided data is interpreted as markdown. + DBFILESImportFormatMarkdown, + + /// The provided data is interpreted as plain text. + DBFILESImportFormatPlainText, + + /// (no description). + DBFILESImportFormatOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESImportFormatTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "html". +/// +/// Description of the "html" tag state: The provided data is interpreted as +/// standard HTML. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHtml; + +/// +/// Initializes union class with tag state of "markdown". +/// +/// Description of the "markdown" tag state: The provided data is interpreted as +/// markdown. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMarkdown; + +/// +/// Initializes union class with tag state of "plain_text". +/// +/// Description of the "plain_text" tag state: The provided data is interpreted +/// as plain text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPlainText; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "html". +/// +/// @return Whether the union's current tag state has value "html". +/// +- (BOOL)isHtml; + +/// +/// Retrieves whether the union's current tag state has value "markdown". +/// +/// @return Whether the union's current tag state has value "markdown". +/// +- (BOOL)isMarkdown; + +/// +/// Retrieves whether the union's current tag state has value "plain_text". +/// +/// @return Whether the union's current tag state has value "plain_text". +/// +- (BOOL)isPlainText; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESImportFormat` union. +/// +@interface DBFILESImportFormatSerializer : NSObject + +/// +/// Serializes `DBFILESImportFormat` instances. +/// +/// @param instance An instance of the `DBFILESImportFormat` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESImportFormat` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESImportFormat *)instance; + +/// +/// Deserializes `DBFILESImportFormat` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESImportFormat` API object. +/// +/// @return An instantiation of the `DBFILESImportFormat` object. +/// ++ (DBFILESImportFormat *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderArg.h index d80d34eb6..3c260b375 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderArg.h @@ -35,6 +35,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSNumber *recursive; /// If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. +/// This parameter will no longer have an effect starting December 2, 2019. @property (nonatomic, readonly) NSNumber *includeMediaInfo; /// If true, the results will include entries for files and folders that used to @@ -65,6 +66,9 @@ NS_ASSUME_NONNULL_BEGIN /// the file and each of the listed templates. @property (nonatomic, readonly, nullable) DBFILEPROPERTIESTemplateFilterBase *includePropertyGroups; +/// If true, include files that are not downloadable, i.e. Google Docs. +@property (nonatomic, readonly) NSNumber *includeNonDownloadableFiles; + #pragma mark - Constructors /// @@ -75,7 +79,8 @@ NS_ASSUME_NONNULL_BEGIN /// recursively to all subfolders and the response will contain contents of all /// subfolders. /// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set -/// for photo and video. +/// for photo and video. This parameter will no longer have an effect starting +/// December 2, 2019. /// @param includeDeleted If true, the results will include entries for files /// and folders that used to exist but were deleted. /// @param includeHasExplicitSharedMembers If true, the results will include a @@ -93,6 +98,8 @@ NS_ASSUME_NONNULL_BEGIN /// @param includePropertyGroups If set to a valid list of template IDs, /// `propertyGroups` in `DBFILESFileMetadata` is set if there exists property /// data associated with the file and each of the listed templates. +/// @param includeNonDownloadableFiles If true, include files that are not +/// downloadable, i.e. Google Docs. /// /// @return An initialized instance. /// @@ -104,7 +111,8 @@ NS_ASSUME_NONNULL_BEGIN includeMountedFolders:(nullable NSNumber *)includeMountedFolders limit:(nullable NSNumber *)limit sharedLink:(nullable DBFILESSharedLink *)sharedLink - includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(nullable NSNumber *)includeNonDownloadableFiles; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -135,7 +143,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderArg *)instance; /// /// Deserializes `DBFILESListFolderArg` instances. @@ -145,7 +153,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListFolderArg` object. /// -+ (DBFILESListFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueArg.h index 0da82188f..d2cc44e03 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderContinueArg *)instance; /// /// Deserializes `DBFILESListFolderContinueArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListFolderContinueArg` object. /// -+ (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueError.h index 333265161..ede9f4e9c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderContinueError.h @@ -28,16 +28,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESListFolderContinueErrorTag` enum type represents the possible /// tag states with which the `DBFILESListFolderContinueError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESListFolderContinueErrorTag) { - /// (no description). - DBFILESListFolderContinueErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderContinueErrorTag){ + /// (no description). + DBFILESListFolderContinueErrorPath, - /// Indicates that the cursor has been invalidated. Call `listFolder` to - /// obtain a new cursor. - DBFILESListFolderContinueErrorReset, + /// Indicates that the cursor has been invalidated. Call `listFolder` to + /// obtain a new cursor. + DBFILESListFolderContinueErrorReset, - /// (no description). - DBFILESListFolderContinueErrorOther, + /// (no description). + DBFILESListFolderContinueErrorOther, }; @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderContinueError *)instance; /// /// Deserializes `DBFILESListFolderContinueError` instances. @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderContinueErrorTag) { /// /// @return An instantiation of the `DBFILESListFolderContinueError` object. /// -+ (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderError.h index 9634ee1d3..35698655f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderError.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBFILEPROPERTIESTemplateError; @class DBFILESListFolderError; @class DBFILESLookupError; @@ -28,12 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESListFolderErrorTag` enum type represents the possible tag states /// with which the `DBFILESListFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { - /// (no description). - DBFILESListFolderErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderErrorTag){ + /// (no description). + DBFILESListFolderErrorPath, - /// (no description). - DBFILESListFolderErrorOther, + /// (no description). + DBFILESListFolderErrorTemplateError, + + /// (no description). + DBFILESListFolderErrorOther, }; @@ -44,6 +48,10 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *path; +/// (no description). @note Ensure the `isTemplateError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILEPROPERTIESTemplateError *templateError; + #pragma mark - Constructors /// @@ -55,6 +63,15 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { /// - (instancetype)initWithPath:(DBFILESLookupError *)path; +/// +/// Initializes union class with tag state of "template_error". +/// +/// @param templateError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTemplateError:(DBFILEPROPERTIESTemplateError *)templateError; + /// /// Initializes union class with tag state of "other". /// @@ -76,6 +93,16 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value "template_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `templateError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "template_error". +/// +- (BOOL)isTemplateError; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -107,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderError *)instance; /// /// Deserializes `DBFILESListFolderError` instances. @@ -117,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderErrorTag) { /// /// @return An instantiation of the `DBFILESListFolderError` object. /// -+ (DBFILESListFolderError *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderGetLatestCursorResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderGetLatestCursorResult.h index 997dcf1f5..2b049cd00 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderGetLatestCursorResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderGetLatestCursorResult.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderGetLatestCursorResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderGetLatestCursorResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderGetLatestCursorResult *)instance; /// /// Deserializes `DBFILESListFolderGetLatestCursorResult` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILESListFolderGetLatestCursorResult` /// object. /// -+ (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderGetLatestCursorResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollArg.h index ccbb6deb2..229321580 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollArg.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollArg *)instance; /// /// Deserializes `DBFILESListFolderLongpollArg` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListFolderLongpollArg` object. /// -+ (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderLongpollArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollError.h index 6b4d00143..493375b10 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollError.h @@ -27,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESListFolderLongpollErrorTag` enum type represents the possible /// tag states with which the `DBFILESListFolderLongpollError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESListFolderLongpollErrorTag) { - /// Indicates that the cursor has been invalidated. Call `listFolder` to - /// obtain a new cursor. - DBFILESListFolderLongpollErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESListFolderLongpollErrorTag){ + /// Indicates that the cursor has been invalidated. Call `listFolder` to + /// obtain a new cursor. + DBFILESListFolderLongpollErrorReset, - /// (no description). - DBFILESListFolderLongpollErrorOther, + /// (no description). + DBFILESListFolderLongpollErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderLongpollErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollError *)instance; /// /// Deserializes `DBFILESListFolderLongpollError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBFILESListFolderLongpollErrorTag) { /// /// @return An instantiation of the `DBFILESListFolderLongpollError` object. /// -+ (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderLongpollError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollResult.h index a972e8e18..fe578ceae 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderLongpollResult.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderLongpollResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderLongpollResult *)instance; /// /// Deserializes `DBFILESListFolderLongpollResult` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListFolderLongpollResult` object. /// -+ (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderLongpollResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderResult.h index 482e2cf46..1cdb223bb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListFolderResult.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListFolderResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListFolderResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListFolderResult *)instance; /// /// Deserializes `DBFILESListFolderResult` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListFolderResult` object. /// -+ (DBFILESListFolderResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESListFolderResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsArg.h index 930df1068..32334bea7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsArg.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListRevisionsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListRevisionsArg *)instance; /// /// Deserializes `DBFILESListRevisionsArg` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListRevisionsArg` object. /// -+ (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESListRevisionsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsError.h index c83b8939f..57d3eedf6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESListRevisionsErrorTag` enum type represents the possible tag /// states with which the `DBFILESListRevisionsError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESListRevisionsErrorTag) { - /// (no description). - DBFILESListRevisionsErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESListRevisionsErrorTag){ + /// (no description). + DBFILESListRevisionsErrorPath, - /// (no description). - DBFILESListRevisionsErrorOther, + /// (no description). + DBFILESListRevisionsErrorOther, }; @@ -107,7 +107,7 @@ typedef NS_ENUM(NSInteger, DBFILESListRevisionsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListRevisionsError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListRevisionsError *)instance; /// /// Deserializes `DBFILESListRevisionsError` instances. @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBFILESListRevisionsErrorTag) { /// /// @return An instantiation of the `DBFILESListRevisionsError` object. /// -+ (DBFILESListRevisionsError *)deserialize:(NSDictionary *)dict; ++ (DBFILESListRevisionsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsMode.h index f299244c4..0c0b415ad 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsMode.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsMode.h @@ -27,17 +27,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESListRevisionsModeTag` enum type represents the possible tag /// states with which the `DBFILESListRevisionsMode` union can exist. -typedef NS_ENUM(NSInteger, DBFILESListRevisionsModeTag) { - /// Returns revisions with the same file path as identified by the latest - /// file entry at the given file path or id. - DBFILESListRevisionsModePath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESListRevisionsModeTag){ + /// Returns revisions with the same file path as identified by the latest + /// file entry at the given file path or id. + DBFILESListRevisionsModePath, - /// Returns revisions with the same file id as identified by the latest file - /// entry at the given file path or id. - DBFILESListRevisionsModeId_, + /// Returns revisions with the same file id as identified by the latest file + /// entry at the given file path or id. + DBFILESListRevisionsModeId_, - /// (no description). - DBFILESListRevisionsModeOther, + /// (no description). + DBFILESListRevisionsModeOther, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBFILESListRevisionsModeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsMode` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListRevisionsMode *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListRevisionsMode *)instance; /// /// Deserializes `DBFILESListRevisionsMode` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBFILESListRevisionsModeTag) { /// /// @return An instantiation of the `DBFILESListRevisionsMode` object. /// -+ (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)dict; ++ (DBFILESListRevisionsMode *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsResult.h index 733848dda..4763b9726 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESListRevisionsResult.h @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESListRevisionsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESListRevisionsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESListRevisionsResult *)instance; /// /// Deserializes `DBFILESListRevisionsResult` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESListRevisionsResult` object. /// -+ (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESListRevisionsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockConflictError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockConflictError.h new file mode 100644 index 000000000..da6251375 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockConflictError.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileLock; +@class DBFILESLockConflictError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockConflictError` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockConflictError : NSObject + +#pragma mark - Instance fields + +/// The lock that caused the conflict. +@property (nonatomic, readonly) DBFILESFileLock *lock; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param lock The lock that caused the conflict. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLock:(DBFILESFileLock *)lock; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LockConflictError` struct. +/// +@interface DBFILESLockConflictErrorSerializer : NSObject + +/// +/// Serializes `DBFILESLockConflictError` instances. +/// +/// @param instance An instance of the `DBFILESLockConflictError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockConflictError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockConflictError *)instance; + +/// +/// Deserializes `DBFILESLockConflictError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockConflictError` API object. +/// +/// @return An instantiation of the `DBFILESLockConflictError` object. +/// ++ (DBFILESLockConflictError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileArg.h new file mode 100644 index 000000000..e5a11e520 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileArg.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLockFileArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileArg : NSObject + +#pragma mark - Instance fields + +/// Path in the user's Dropbox to a file. +@property (nonatomic, readonly, copy) NSString *path; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path in the user's Dropbox to a file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LockFileArg` struct. +/// +@interface DBFILESLockFileArgSerializer : NSObject + +/// +/// Serializes `DBFILESLockFileArg` instances. +/// +/// @param instance An instance of the `DBFILESLockFileArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileArg *)instance; + +/// +/// Deserializes `DBFILESLockFileArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileArg` API object. +/// +/// @return An instantiation of the `DBFILESLockFileArg` object. +/// ++ (DBFILESLockFileArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchArg.h new file mode 100644 index 000000000..c5bf79ddd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchArg.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLockFileArg; +@class DBFILESLockFileBatchArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileBatchArg : NSObject + +#pragma mark - Instance fields + +/// List of 'entries'. Each 'entry' contains a path of the file which will be +/// locked or queried. Duplicate path arguments in the batch are considered only +/// once. +@property (nonatomic, readonly) NSArray *entries; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries List of 'entries'. Each 'entry' contains a path of the file +/// which will be locked or queried. Duplicate path arguments in the batch are +/// considered only once. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LockFileBatchArg` struct. +/// +@interface DBFILESLockFileBatchArgSerializer : NSObject + +/// +/// Serializes `DBFILESLockFileBatchArg` instances. +/// +/// @param instance An instance of the `DBFILESLockFileBatchArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileBatchArg *)instance; + +/// +/// Deserializes `DBFILESLockFileBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileBatchArg` API object. +/// +/// @return An instantiation of the `DBFILESLockFileBatchArg` object. +/// ++ (DBFILESLockFileBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchResult.h new file mode 100644 index 000000000..bdbbf4bc3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileBatchResult.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBFILESFileOpsResult.h" +#import "DBSerializableProtocol.h" + +@class DBFILESLockFileBatchResult; +@class DBFILESLockFileResultEntry; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileBatchResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileBatchResult : DBFILESFileOpsResult + +#pragma mark - Instance fields + +/// Each Entry in the 'entries' will have '.tag' with the operation status (e.g. +/// success), the metadata for the file and the lock state after the operation. +@property (nonatomic, readonly) NSArray *entries; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries Each Entry in the 'entries' will have '.tag' with the +/// operation status (e.g. success), the metadata for the file and the lock +/// state after the operation. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LockFileBatchResult` struct. +/// +@interface DBFILESLockFileBatchResultSerializer : NSObject + +/// +/// Serializes `DBFILESLockFileBatchResult` instances. +/// +/// @param instance An instance of the `DBFILESLockFileBatchResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileBatchResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileBatchResult *)instance; + +/// +/// Deserializes `DBFILESLockFileBatchResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileBatchResult` API object. +/// +/// @return An instantiation of the `DBFILESLockFileBatchResult` object. +/// ++ (DBFILESLockFileBatchResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileError.h new file mode 100644 index 000000000..3c195bf4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileError.h @@ -0,0 +1,290 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLockConflictError; +@class DBFILESLockFileError; +@class DBFILESLookupError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESLockFileErrorTag` enum type represents the possible tag states +/// with which the `DBFILESLockFileError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESLockFileErrorTag){ + /// Could not find the specified resource. + DBFILESLockFileErrorPathLookup, + + /// There are too many write operations in user's Dropbox. Please retry this + /// request. + DBFILESLockFileErrorTooManyWriteOperations, + + /// There are too many files in one request. Please retry with fewer files. + DBFILESLockFileErrorTooManyFiles, + + /// The user does not have permissions to change the lock state or access + /// the file. + DBFILESLockFileErrorNoWritePermission, + + /// Item is a type that cannot be locked. + DBFILESLockFileErrorCannotBeLocked, + + /// Requested file is not currently shared. + DBFILESLockFileErrorFileNotShared, + + /// The user action conflicts with an existing lock on the file. + DBFILESLockFileErrorLockConflict, + + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBFILESLockFileErrorInternalError, + + /// (no description). + DBFILESLockFileErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESLockFileErrorTag tag; + +/// Could not find the specified resource. @note Ensure the `isPathLookup` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBFILESLookupError *pathLookup; + +/// The user action conflicts with an existing lock on the file. @note Ensure +/// the `isLockConflict` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLockConflictError *lockConflict; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path_lookup". +/// +/// Description of the "path_lookup" tag state: Could not find the specified +/// resource. +/// +/// @param pathLookup Could not find the specified resource. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPathLookup:(DBFILESLookupError *)pathLookup; + +/// +/// Initializes union class with tag state of "too_many_write_operations". +/// +/// Description of the "too_many_write_operations" tag state: There are too many +/// write operations in user's Dropbox. Please retry this request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyWriteOperations; + +/// +/// Initializes union class with tag state of "too_many_files". +/// +/// Description of the "too_many_files" tag state: There are too many files in +/// one request. Please retry with fewer files. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyFiles; + +/// +/// Initializes union class with tag state of "no_write_permission". +/// +/// Description of the "no_write_permission" tag state: The user does not have +/// permissions to change the lock state or access the file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoWritePermission; + +/// +/// Initializes union class with tag state of "cannot_be_locked". +/// +/// Description of the "cannot_be_locked" tag state: Item is a type that cannot +/// be locked. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotBeLocked; + +/// +/// Initializes union class with tag state of "file_not_shared". +/// +/// Description of the "file_not_shared" tag state: Requested file is not +/// currently shared. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileNotShared; + +/// +/// Initializes union class with tag state of "lock_conflict". +/// +/// Description of the "lock_conflict" tag state: The user action conflicts with +/// an existing lock on the file. +/// +/// @param lockConflict The user action conflicts with an existing lock on the +/// file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLockConflict:(DBFILESLockConflictError *)lockConflict; + +/// +/// Initializes union class with tag state of "internal_error". +/// +/// Description of the "internal_error" tag state: Something went wrong with the +/// job on Dropbox's end. You'll need to verify that the action you were taking +/// succeeded, and if not, try again. This should happen very rarely. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInternalError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path_lookup". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `pathLookup` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path_lookup". +/// +- (BOOL)isPathLookup; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_write_operations". +/// +/// @return Whether the union's current tag state has value +/// "too_many_write_operations". +/// +- (BOOL)isTooManyWriteOperations; + +/// +/// Retrieves whether the union's current tag state has value "too_many_files". +/// +/// @return Whether the union's current tag state has value "too_many_files". +/// +- (BOOL)isTooManyFiles; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_write_permission". +/// +/// @return Whether the union's current tag state has value +/// "no_write_permission". +/// +- (BOOL)isNoWritePermission; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_be_locked". +/// +/// @return Whether the union's current tag state has value "cannot_be_locked". +/// +- (BOOL)isCannotBeLocked; + +/// +/// Retrieves whether the union's current tag state has value "file_not_shared". +/// +/// @return Whether the union's current tag state has value "file_not_shared". +/// +- (BOOL)isFileNotShared; + +/// +/// Retrieves whether the union's current tag state has value "lock_conflict". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `lockConflict` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "lock_conflict". +/// +- (BOOL)isLockConflict; + +/// +/// Retrieves whether the union's current tag state has value "internal_error". +/// +/// @return Whether the union's current tag state has value "internal_error". +/// +- (BOOL)isInternalError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESLockFileError` union. +/// +@interface DBFILESLockFileErrorSerializer : NSObject + +/// +/// Serializes `DBFILESLockFileError` instances. +/// +/// @param instance An instance of the `DBFILESLockFileError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileError *)instance; + +/// +/// Deserializes `DBFILESLockFileError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileError` API object. +/// +/// @return An instantiation of the `DBFILESLockFileError` object. +/// ++ (DBFILESLockFileError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResult.h new file mode 100644 index 000000000..3e8351372 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResult.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileLock; +@class DBFILESLockFileResult; +@class DBFILESMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileResult : NSObject + +#pragma mark - Instance fields + +/// Metadata of the file. +@property (nonatomic, readonly) DBFILESMetadata *metadata; + +/// The file lock state after the operation. +@property (nonatomic, readonly) DBFILESFileLock *lock; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param metadata Metadata of the file. +/// @param lock The file lock state after the operation. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata lock:(DBFILESFileLock *)lock; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LockFileResult` struct. +/// +@interface DBFILESLockFileResultSerializer : NSObject + +/// +/// Serializes `DBFILESLockFileResult` instances. +/// +/// @param instance An instance of the `DBFILESLockFileResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileResult *)instance; + +/// +/// Deserializes `DBFILESLockFileResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileResult` API object. +/// +/// @return An instantiation of the `DBFILESLockFileResult` object. +/// ++ (DBFILESLockFileResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResultEntry.h new file mode 100644 index 000000000..f5283deb7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLockFileResultEntry.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLockFileError; +@class DBFILESLockFileResult; +@class DBFILESLockFileResultEntry; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockFileResultEntry` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESLockFileResultEntry : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESLockFileResultEntryTag` enum type represents the possible tag +/// states with which the `DBFILESLockFileResultEntry` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESLockFileResultEntryTag){ + /// (no description). + DBFILESLockFileResultEntrySuccess, + + /// (no description). + DBFILESLockFileResultEntryFailure, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESLockFileResultEntryTag tag; + +/// (no description). @note Ensure the `isSuccess` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLockFileResult *success; + +/// (no description). @note Ensure the `isFailure` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLockFileError *failure; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// @param success (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBFILESLockFileResult *)success; + +/// +/// Initializes union class with tag state of "failure". +/// +/// @param failure (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailure:(DBFILESLockFileError *)failure; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "failure". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `failure` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "failure". +/// +- (BOOL)isFailure; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESLockFileResultEntry` union. +/// +@interface DBFILESLockFileResultEntrySerializer : NSObject + +/// +/// Serializes `DBFILESLockFileResultEntry` instances. +/// +/// @param instance An instance of the `DBFILESLockFileResultEntry` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESLockFileResultEntry` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESLockFileResultEntry *)instance; + +/// +/// Deserializes `DBFILESLockFileResultEntry` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESLockFileResultEntry` API object. +/// +/// @return An instantiation of the `DBFILESLockFileResultEntry` object. +/// ++ (DBFILESLockFileResultEntry *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLookupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLookupError.h index cb55afaac..75ee9435a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLookupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESLookupError.h @@ -27,34 +27,46 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESLookupErrorTag` enum type represents the possible tag states /// with which the `DBFILESLookupError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { - /// (no description). - DBFILESLookupErrorMalformedPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESLookupErrorTag){ + /// The given path does not satisfy the required path format. Please refer + /// to the Path formats documentation + /// https://www.dropbox.com/developers/documentation/http/documentation#path-formats + /// for more information. + DBFILESLookupErrorMalformedPath, - /// There is nothing at the given path. - DBFILESLookupErrorNotFound, + /// There is nothing at the given path. + DBFILESLookupErrorNotFound, - /// We were expecting a file, but the given path refers to something that - /// isn't a file. - DBFILESLookupErrorNotFile, + /// We were expecting a file, but the given path refers to something that + /// isn't a file. + DBFILESLookupErrorNotFile, - /// We were expecting a folder, but the given path refers to something that - /// isn't a folder. - DBFILESLookupErrorNotFolder, + /// We were expecting a folder, but the given path refers to something that + /// isn't a folder. + DBFILESLookupErrorNotFolder, - /// The file cannot be transferred because the content is restricted. For - /// example, sometimes there are legal restrictions due to copyright claims. - DBFILESLookupErrorRestrictedContent, + /// The file cannot be transferred because the content is restricted. For + /// example, we might restrict a file due to legal requirements. + DBFILESLookupErrorRestrictedContent, - /// (no description). - DBFILESLookupErrorOther, + /// This operation is not supported for this content type. + DBFILESLookupErrorUnsupportedContentType, + + /// The given path is locked. + DBFILESLookupErrorLocked, + + /// (no description). + DBFILESLookupErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESLookupErrorTag tag; -/// (no description). @note Ensure the `isMalformedPath` method returns true +/// The given path does not satisfy the required path format. Please refer to +/// the Path formats documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. @note Ensure the `isMalformedPath` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy, nullable) NSString *malformedPath; @@ -63,7 +75,16 @@ typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { /// /// Initializes union class with tag state of "malformed_path". /// -/// @param malformedPath (no description). +/// Description of the "malformed_path" tag state: The given path does not +/// satisfy the required path format. Please refer to the Path formats +/// documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. +/// +/// @param malformedPath The given path does not satisfy the required path +/// format. Please refer to the Path formats documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. /// /// @return An initialized instance. /// @@ -103,13 +124,32 @@ typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { /// Initializes union class with tag state of "restricted_content". /// /// Description of the "restricted_content" tag state: The file cannot be -/// transferred because the content is restricted. For example, sometimes there -/// are legal restrictions due to copyright claims. +/// transferred because the content is restricted. For example, we might +/// restrict a file due to legal requirements. /// /// @return An initialized instance. /// - (instancetype)initWithRestrictedContent; +/// +/// Initializes union class with tag state of "unsupported_content_type". +/// +/// Description of the "unsupported_content_type" tag state: This operation is +/// not supported for this content type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedContentType; + +/// +/// Initializes union class with tag state of "locked". +/// +/// Description of the "locked" tag state: The given path is locked. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLocked; + /// /// Initializes union class with tag state of "other". /// @@ -161,6 +201,22 @@ typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { /// - (BOOL)isRestrictedContent; +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_content_type". +/// +/// @return Whether the union's current tag state has value +/// "unsupported_content_type". +/// +- (BOOL)isUnsupportedContentType; + +/// +/// Retrieves whether the union's current tag state has value "locked". +/// +/// @return Whether the union's current tag state has value "locked". +/// +- (BOOL)isLocked; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -192,7 +248,7 @@ typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESLookupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESLookupError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESLookupError *)instance; /// /// Deserializes `DBFILESLookupError` instances. @@ -202,7 +258,7 @@ typedef NS_ENUM(NSInteger, DBFILESLookupErrorTag) { /// /// @return An instantiation of the `DBFILESLookupError` object. /// -+ (DBFILESLookupError *)deserialize:(NSDictionary *)dict; ++ (DBFILESLookupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaInfo.h index 24b701d11..0d0de4ddb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaInfo.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESMediaInfoTag` enum type represents the possible tag states with /// which the `DBFILESMediaInfo` union can exist. -typedef NS_ENUM(NSInteger, DBFILESMediaInfoTag) { - /// Indicate the photo/video is still under processing and metadata is not - /// available yet. - DBFILESMediaInfoPending, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESMediaInfoTag){ + /// Indicate the photo/video is still under processing and metadata is not + /// available yet. + DBFILESMediaInfoPending, - /// The metadata for the photo/video. - DBFILESMediaInfoMetadata, + /// The metadata for the photo/video. + DBFILESMediaInfoMetadata, }; @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBFILESMediaInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESMediaInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESMediaInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESMediaInfo *)instance; /// /// Deserializes `DBFILESMediaInfo` instances. @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBFILESMediaInfoTag) { /// /// @return An instantiation of the `DBFILESMediaInfo` object. /// -+ (DBFILESMediaInfo *)deserialize:(NSDictionary *)dict; ++ (DBFILESMediaInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaMetadata.h index 454a21728..14474efd9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMediaMetadata.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESMediaMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESMediaMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESMediaMetadata *)instance; /// /// Deserializes `DBFILESMediaMetadata` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESMediaMetadata` object. /// -+ (DBFILESMediaMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESMediaMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadata.h index 83073a53a..4cfe2ef0b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadata.h @@ -47,6 +47,9 @@ NS_ASSUME_NONNULL_BEGIN /// `parentSharedFolderId` in `DBFILESFolderSharingInfo` instead. @property (nonatomic, readonly, copy, nullable) NSString *parentSharedFolderId; +/// The preview URL of the file. +@property (nonatomic, readonly, copy, nullable) NSString *previewUrl; + #pragma mark - Constructors /// @@ -66,13 +69,15 @@ NS_ASSUME_NONNULL_BEGIN /// @param parentSharedFolderId Please use `parentSharedFolderId` in /// `DBFILESFileSharingInfo` or `parentSharedFolderId` in /// `DBFILESFolderSharingInfo` instead. +/// @param previewUrl The preview URL of the file. /// /// @return An initialized instance. /// - (instancetype)initWithName:(NSString *)name pathLower:(nullable NSString *)pathLower pathDisplay:(nullable NSString *)pathDisplay - parentSharedFolderId:(nullable NSString *)parentSharedFolderId; + parentSharedFolderId:(nullable NSString *)parentSharedFolderId + previewUrl:(nullable NSString *)previewUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -104,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBFILESMetadata` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESMetadata *)instance; /// /// Deserializes `DBFILESMetadata` instances. @@ -114,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESMetadata` object. /// -+ (DBFILESMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadataV2.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadataV2.h new file mode 100644 index 000000000..68915046a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMetadataV2.h @@ -0,0 +1,126 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESMetadata; +@class DBFILESMetadataV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MetadataV2` union. +/// +/// Metadata for a file, folder or other resource types. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESMetadataV2 : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESMetadataV2Tag` enum type represents the possible tag states with +/// which the `DBFILESMetadataV2` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESMetadataV2Tag){ + /// (no description). + DBFILESMetadataV2Metadata, + + /// (no description). + DBFILESMetadataV2Other, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESMetadataV2Tag tag; + +/// (no description). @note Ensure the `isMetadata` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESMetadata *metadata; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "metadata". +/// +/// @param metadata (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESMetadata *)metadata; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "metadata". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `metadata` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "metadata". +/// +- (BOOL)isMetadata; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESMetadataV2` union. +/// +@interface DBFILESMetadataV2Serializer : NSObject + +/// +/// Serializes `DBFILESMetadataV2` instances. +/// +/// @param instance An instance of the `DBFILESMetadataV2` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESMetadataV2` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESMetadataV2 *)instance; + +/// +/// Deserializes `DBFILESMetadataV2` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESMetadataV2` API object. +/// +/// @return An instantiation of the `DBFILESMetadataV2` object. +/// ++ (DBFILESMetadataV2 *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMinimalFileLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMinimalFileLinkMetadata.h new file mode 100644 index 000000000..c48552fe3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMinimalFileLinkMetadata.h @@ -0,0 +1,112 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESMinimalFileLinkMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MinimalFileLinkMetadata` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESMinimalFileLinkMetadata : NSObject + +#pragma mark - Instance fields + +/// URL of the shared link. +@property (nonatomic, readonly, copy) NSString *url; + +/// Unique identifier for the linked file. +@property (nonatomic, readonly, copy, nullable) NSString *id_; + +/// Full path in the user's Dropbox. This always starts with a slash. This field +/// will only be present only if the linked file is in the authenticated user's +/// Dropbox. +@property (nonatomic, readonly, copy, nullable) NSString *path; + +/// A unique identifier for the current revision of a file. This field is the +/// same rev as elsewhere in the API and can be used to detect changes and avoid +/// conflicts. +@property (nonatomic, readonly, copy) NSString *rev; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param url URL of the shared link. +/// @param rev A unique identifier for the current revision of a file. This +/// field is the same rev as elsewhere in the API and can be used to detect +/// changes and avoid conflicts. +/// @param id_ Unique identifier for the linked file. +/// @param path Full path in the user's Dropbox. This always starts with a +/// slash. This field will only be present only if the linked file is in the +/// authenticated user's Dropbox. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUrl:(NSString *)url + rev:(NSString *)rev + id_:(nullable NSString *)id_ + path:(nullable NSString *)path; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param url URL of the shared link. +/// @param rev A unique identifier for the current revision of a file. This +/// field is the same rev as elsewhere in the API and can be used to detect +/// changes and avoid conflicts. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUrl:(NSString *)url rev:(NSString *)rev; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MinimalFileLinkMetadata` struct. +/// +@interface DBFILESMinimalFileLinkMetadataSerializer : NSObject + +/// +/// Serializes `DBFILESMinimalFileLinkMetadata` instances. +/// +/// @param instance An instance of the `DBFILESMinimalFileLinkMetadata` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESMinimalFileLinkMetadata` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESMinimalFileLinkMetadata *)instance; + +/// +/// Deserializes `DBFILESMinimalFileLinkMetadata` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESMinimalFileLinkMetadata` API object. +/// +/// @return An instantiation of the `DBFILESMinimalFileLinkMetadata` object. +/// ++ (DBFILESMinimalFileLinkMetadata *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveBatchArg.h new file mode 100644 index 000000000..232846e26 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveBatchArg.h @@ -0,0 +1,95 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBFILESRelocationBatchArgBase.h" +#import "DBSerializableProtocol.h" + +@class DBFILESMoveBatchArg; +@class DBFILESRelocationPath; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MoveBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESMoveBatchArg : DBFILESRelocationBatchArgBase + +#pragma mark - Instance fields + +/// Allow moves by owner even if it would result in an ownership transfer for +/// the content being moved. This does not apply to copies. +@property (nonatomic, readonly) NSNumber *allowOwnershipTransfer; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries List of entries to be moved or copied. Each entry is +/// RelocationPath. +/// @param autorename If there's a conflict with any file, have the Dropbox +/// server try to autorename that file to avoid the conflict. +/// @param allowOwnershipTransfer Allow moves by owner even if it would result +/// in an ownership transfer for the content being moved. This does not apply to +/// copies. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries + autorename:(nullable NSNumber *)autorename + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param entries List of entries to be moved or copied. Each entry is +/// RelocationPath. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MoveBatchArg` struct. +/// +@interface DBFILESMoveBatchArgSerializer : NSObject + +/// +/// Serializes `DBFILESMoveBatchArg` instances. +/// +/// @param instance An instance of the `DBFILESMoveBatchArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESMoveBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESMoveBatchArg *)instance; + +/// +/// Deserializes `DBFILESMoveBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESMoveBatchArg` API object. +/// +/// @return An instantiation of the `DBFILESMoveBatchArg` object. +/// ++ (DBFILESMoveBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoFamilyError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoFamilyError.h new file mode 100644 index 000000000..200a6c410 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoFamilyError.h @@ -0,0 +1,118 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESMoveIntoFamilyError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MoveIntoFamilyError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESMoveIntoFamilyError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESMoveIntoFamilyErrorTag` enum type represents the possible tag +/// states with which the `DBFILESMoveIntoFamilyError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESMoveIntoFamilyErrorTag){ + /// Moving shared folder into Family Room folder is not allowed. + DBFILESMoveIntoFamilyErrorIsSharedFolder, + + /// (no description). + DBFILESMoveIntoFamilyErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESMoveIntoFamilyErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "is_shared_folder". +/// +/// Description of the "is_shared_folder" tag state: Moving shared folder into +/// Family Room folder is not allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsSharedFolder; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "is_shared_folder". +/// +/// @return Whether the union's current tag state has value "is_shared_folder". +/// +- (BOOL)isIsSharedFolder; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESMoveIntoFamilyError` union. +/// +@interface DBFILESMoveIntoFamilyErrorSerializer : NSObject + +/// +/// Serializes `DBFILESMoveIntoFamilyError` instances. +/// +/// @param instance An instance of the `DBFILESMoveIntoFamilyError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESMoveIntoFamilyError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESMoveIntoFamilyError *)instance; + +/// +/// Deserializes `DBFILESMoveIntoFamilyError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESMoveIntoFamilyError` API object. +/// +/// @return An instantiation of the `DBFILESMoveIntoFamilyError` object. +/// ++ (DBFILESMoveIntoFamilyError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoVaultError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoVaultError.h new file mode 100644 index 000000000..65f92a10c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESMoveIntoVaultError.h @@ -0,0 +1,118 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESMoveIntoVaultError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MoveIntoVaultError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESMoveIntoVaultError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESMoveIntoVaultErrorTag` enum type represents the possible tag +/// states with which the `DBFILESMoveIntoVaultError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESMoveIntoVaultErrorTag){ + /// Moving shared folder into Vault is not allowed. + DBFILESMoveIntoVaultErrorIsSharedFolder, + + /// (no description). + DBFILESMoveIntoVaultErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESMoveIntoVaultErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "is_shared_folder". +/// +/// Description of the "is_shared_folder" tag state: Moving shared folder into +/// Vault is not allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsSharedFolder; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "is_shared_folder". +/// +/// @return Whether the union's current tag state has value "is_shared_folder". +/// +- (BOOL)isIsSharedFolder; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESMoveIntoVaultError` union. +/// +@interface DBFILESMoveIntoVaultErrorSerializer : NSObject + +/// +/// Serializes `DBFILESMoveIntoVaultError` instances. +/// +/// @param instance An instance of the `DBFILESMoveIntoVaultError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESMoveIntoVaultError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESMoveIntoVaultError *)instance; + +/// +/// Deserializes `DBFILESMoveIntoVaultError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESMoveIntoVaultError` API object. +/// +/// @return An instantiation of the `DBFILESMoveIntoVaultError` object. +/// ++ (DBFILESMoveIntoVaultError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperContentError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperContentError.h new file mode 100644 index 000000000..e091c42ca --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperContentError.h @@ -0,0 +1,186 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPaperContentError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperContentError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESPaperContentErrorTag` enum type represents the possible tag +/// states with which the `DBFILESPaperContentError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPaperContentErrorTag){ + /// Your account does not have permissions to edit Paper docs. + DBFILESPaperContentErrorInsufficientPermissions, + + /// The provided content was malformed and cannot be imported to Paper. + DBFILESPaperContentErrorContentMalformed, + + /// The Paper doc would be too large, split the content into multiple docs. + DBFILESPaperContentErrorDocLengthExceeded, + + /// The imported document contains an image that is too large. The current + /// limit is 1MB. This only applies to HTML with data URI. + DBFILESPaperContentErrorImageSizeExceeded, + + /// (no description). + DBFILESPaperContentErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESPaperContentErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: Your account does +/// not have permissions to edit Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "content_malformed". +/// +/// Description of the "content_malformed" tag state: The provided content was +/// malformed and cannot be imported to Paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentMalformed; + +/// +/// Initializes union class with tag state of "doc_length_exceeded". +/// +/// Description of the "doc_length_exceeded" tag state: The Paper doc would be +/// too large, split the content into multiple docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocLengthExceeded; + +/// +/// Initializes union class with tag state of "image_size_exceeded". +/// +/// Description of the "image_size_exceeded" tag state: The imported document +/// contains an image that is too large. The current limit is 1MB. This only +/// applies to HTML with data URI. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImageSizeExceeded; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_malformed". +/// +/// @return Whether the union's current tag state has value "content_malformed". +/// +- (BOOL)isContentMalformed; + +/// +/// Retrieves whether the union's current tag state has value +/// "doc_length_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "doc_length_exceeded". +/// +- (BOOL)isDocLengthExceeded; + +/// +/// Retrieves whether the union's current tag state has value +/// "image_size_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "image_size_exceeded". +/// +- (BOOL)isImageSizeExceeded; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESPaperContentError` union. +/// +@interface DBFILESPaperContentErrorSerializer : NSObject + +/// +/// Serializes `DBFILESPaperContentError` instances. +/// +/// @param instance An instance of the `DBFILESPaperContentError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperContentError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperContentError *)instance; + +/// +/// Deserializes `DBFILESPaperContentError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperContentError` API object. +/// +/// @return An instantiation of the `DBFILESPaperContentError` object. +/// ++ (DBFILESPaperContentError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateArg.h new file mode 100644 index 000000000..4d71ee988 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateArg.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESImportFormat; +@class DBFILESPaperCreateArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperCreateArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperCreateArg : NSObject + +#pragma mark - Instance fields + +/// The fully qualified path to the location in the user's Dropbox where the +/// Paper Doc should be created. This should include the document's title and +/// end with .paper. +@property (nonatomic, readonly, copy) NSString *path; + +/// The format of the provided data. +@property (nonatomic, readonly) DBFILESImportFormat *importFormat; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path The fully qualified path to the location in the user's Dropbox +/// where the Paper Doc should be created. This should include the document's +/// title and end with .paper. +/// @param importFormat The format of the provided data. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path importFormat:(DBFILESImportFormat *)importFormat; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperCreateArg` struct. +/// +@interface DBFILESPaperCreateArgSerializer : NSObject + +/// +/// Serializes `DBFILESPaperCreateArg` instances. +/// +/// @param instance An instance of the `DBFILESPaperCreateArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperCreateArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperCreateArg *)instance; + +/// +/// Deserializes `DBFILESPaperCreateArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperCreateArg` API object. +/// +/// @return An instantiation of the `DBFILESPaperCreateArg` object. +/// ++ (DBFILESPaperCreateArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateError.h new file mode 100644 index 000000000..89ed21276 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateError.h @@ -0,0 +1,269 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPaperCreateError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperCreateError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperCreateError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESPaperCreateErrorTag` enum type represents the possible tag +/// states with which the `DBFILESPaperCreateError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPaperCreateErrorTag){ + /// Your account does not have permissions to edit Paper docs. + DBFILESPaperCreateErrorInsufficientPermissions, + + /// The provided content was malformed and cannot be imported to Paper. + DBFILESPaperCreateErrorContentMalformed, + + /// The Paper doc would be too large, split the content into multiple docs. + DBFILESPaperCreateErrorDocLengthExceeded, + + /// The imported document contains an image that is too large. The current + /// limit is 1MB. This only applies to HTML with data URI. + DBFILESPaperCreateErrorImageSizeExceeded, + + /// (no description). + DBFILESPaperCreateErrorOther, + + /// The file could not be saved to the specified location. + DBFILESPaperCreateErrorInvalidPath, + + /// The user's email must be verified to create Paper docs. + DBFILESPaperCreateErrorEmailUnverified, + + /// The file path must end in .paper. + DBFILESPaperCreateErrorInvalidFileExtension, + + /// Paper is disabled for your team. + DBFILESPaperCreateErrorPaperDisabled, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESPaperCreateErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: Your account does +/// not have permissions to edit Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "content_malformed". +/// +/// Description of the "content_malformed" tag state: The provided content was +/// malformed and cannot be imported to Paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentMalformed; + +/// +/// Initializes union class with tag state of "doc_length_exceeded". +/// +/// Description of the "doc_length_exceeded" tag state: The Paper doc would be +/// too large, split the content into multiple docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocLengthExceeded; + +/// +/// Initializes union class with tag state of "image_size_exceeded". +/// +/// Description of the "image_size_exceeded" tag state: The imported document +/// contains an image that is too large. The current limit is 1MB. This only +/// applies to HTML with data URI. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImageSizeExceeded; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "invalid_path". +/// +/// Description of the "invalid_path" tag state: The file could not be saved to +/// the specified location. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidPath; + +/// +/// Initializes union class with tag state of "email_unverified". +/// +/// Description of the "email_unverified" tag state: The user's email must be +/// verified to create Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailUnverified; + +/// +/// Initializes union class with tag state of "invalid_file_extension". +/// +/// Description of the "invalid_file_extension" tag state: The file path must +/// end in .paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidFileExtension; + +/// +/// Initializes union class with tag state of "paper_disabled". +/// +/// Description of the "paper_disabled" tag state: Paper is disabled for your +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDisabled; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_malformed". +/// +/// @return Whether the union's current tag state has value "content_malformed". +/// +- (BOOL)isContentMalformed; + +/// +/// Retrieves whether the union's current tag state has value +/// "doc_length_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "doc_length_exceeded". +/// +- (BOOL)isDocLengthExceeded; + +/// +/// Retrieves whether the union's current tag state has value +/// "image_size_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "image_size_exceeded". +/// +- (BOOL)isImageSizeExceeded; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "invalid_path". +/// +/// @return Whether the union's current tag state has value "invalid_path". +/// +- (BOOL)isInvalidPath; + +/// +/// Retrieves whether the union's current tag state has value +/// "email_unverified". +/// +/// @return Whether the union's current tag state has value "email_unverified". +/// +- (BOOL)isEmailUnverified; + +/// +/// Retrieves whether the union's current tag state has value +/// "invalid_file_extension". +/// +/// @return Whether the union's current tag state has value +/// "invalid_file_extension". +/// +- (BOOL)isInvalidFileExtension; + +/// +/// Retrieves whether the union's current tag state has value "paper_disabled". +/// +/// @return Whether the union's current tag state has value "paper_disabled". +/// +- (BOOL)isPaperDisabled; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESPaperCreateError` union. +/// +@interface DBFILESPaperCreateErrorSerializer : NSObject + +/// +/// Serializes `DBFILESPaperCreateError` instances. +/// +/// @param instance An instance of the `DBFILESPaperCreateError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperCreateError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperCreateError *)instance; + +/// +/// Deserializes `DBFILESPaperCreateError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperCreateError` API object. +/// +/// @return An instantiation of the `DBFILESPaperCreateError` object. +/// ++ (DBFILESPaperCreateError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateResult.h new file mode 100644 index 000000000..3b584ab3e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperCreateResult.h @@ -0,0 +1,91 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPaperCreateResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperCreateResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperCreateResult : NSObject + +#pragma mark - Instance fields + +/// URL to open the Paper Doc. +@property (nonatomic, readonly, copy) NSString *url; + +/// The fully qualified path the Paper Doc was actually created at. +@property (nonatomic, readonly, copy) NSString *resultPath; + +/// The id to use in Dropbox APIs when referencing the Paper Doc. +@property (nonatomic, readonly, copy) NSString *fileId; + +/// The current doc revision. +@property (nonatomic, readonly) NSNumber *paperRevision; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param url URL to open the Paper Doc. +/// @param resultPath The fully qualified path the Paper Doc was actually +/// created at. +/// @param fileId The id to use in Dropbox APIs when referencing the Paper Doc. +/// @param paperRevision The current doc revision. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUrl:(NSString *)url + resultPath:(NSString *)resultPath + fileId:(NSString *)fileId + paperRevision:(NSNumber *)paperRevision; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperCreateResult` struct. +/// +@interface DBFILESPaperCreateResultSerializer : NSObject + +/// +/// Serializes `DBFILESPaperCreateResult` instances. +/// +/// @param instance An instance of the `DBFILESPaperCreateResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperCreateResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperCreateResult *)instance; + +/// +/// Deserializes `DBFILESPaperCreateResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperCreateResult` API object. +/// +/// @return An instantiation of the `DBFILESPaperCreateResult` object. +/// ++ (DBFILESPaperCreateResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperDocUpdatePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperDocUpdatePolicy.h new file mode 100644 index 000000000..99546a406 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperDocUpdatePolicy.h @@ -0,0 +1,183 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPaperDocUpdatePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocUpdatePolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperDocUpdatePolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESPaperDocUpdatePolicyTag` enum type represents the possible tag +/// states with which the `DBFILESPaperDocUpdatePolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPaperDocUpdatePolicyTag){ + /// Sets the doc content to the provided content if the provided + /// paper_revision matches the latest doc revision. Otherwise, returns an + /// error. + DBFILESPaperDocUpdatePolicyUpdate, + + /// Sets the doc content to the provided content without checking + /// paper_revision. + DBFILESPaperDocUpdatePolicyOverwrite, + + /// Adds the provided content to the beginning of the doc without checking + /// paper_revision. + DBFILESPaperDocUpdatePolicyPrepend, + + /// Adds the provided content to the end of the doc without checking + /// paper_revision. + DBFILESPaperDocUpdatePolicyAppend, + + /// (no description). + DBFILESPaperDocUpdatePolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESPaperDocUpdatePolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "update". +/// +/// Description of the "update" tag state: Sets the doc content to the provided +/// content if the provided paper_revision matches the latest doc revision. +/// Otherwise, returns an error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUpdate; + +/// +/// Initializes union class with tag state of "overwrite". +/// +/// Description of the "overwrite" tag state: Sets the doc content to the +/// provided content without checking paper_revision. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOverwrite; + +/// +/// Initializes union class with tag state of "prepend". +/// +/// Description of the "prepend" tag state: Adds the provided content to the +/// beginning of the doc without checking paper_revision. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrepend; + +/// +/// Initializes union class with tag state of "append". +/// +/// Description of the "append" tag state: Adds the provided content to the end +/// of the doc without checking paper_revision. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppend; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "update". +/// +/// @return Whether the union's current tag state has value "update". +/// +- (BOOL)isUpdate; + +/// +/// Retrieves whether the union's current tag state has value "overwrite". +/// +/// @return Whether the union's current tag state has value "overwrite". +/// +- (BOOL)isOverwrite; + +/// +/// Retrieves whether the union's current tag state has value "prepend". +/// +/// @return Whether the union's current tag state has value "prepend". +/// +- (BOOL)isPrepend; + +/// +/// Retrieves whether the union's current tag state has value "append". +/// +/// @return Whether the union's current tag state has value "append". +/// +- (BOOL)isAppend; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESPaperDocUpdatePolicy` union. +/// +@interface DBFILESPaperDocUpdatePolicySerializer : NSObject + +/// +/// Serializes `DBFILESPaperDocUpdatePolicy` instances. +/// +/// @param instance An instance of the `DBFILESPaperDocUpdatePolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperDocUpdatePolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperDocUpdatePolicy *)instance; + +/// +/// Deserializes `DBFILESPaperDocUpdatePolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperDocUpdatePolicy` API object. +/// +/// @return An instantiation of the `DBFILESPaperDocUpdatePolicy` object. +/// ++ (DBFILESPaperDocUpdatePolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateArg.h new file mode 100644 index 000000000..ae2c2ef09 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateArg.h @@ -0,0 +1,115 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESImportFormat; +@class DBFILESPaperDocUpdatePolicy; +@class DBFILESPaperUpdateArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperUpdateArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperUpdateArg : NSObject + +#pragma mark - Instance fields + +/// Path in the user's Dropbox to update. The path must correspond to a Paper +/// doc or an error will be returned. +@property (nonatomic, readonly, copy) NSString *path; + +/// The format of the provided data. +@property (nonatomic, readonly) DBFILESImportFormat *importFormat; + +/// How the provided content should be applied to the doc. +@property (nonatomic, readonly) DBFILESPaperDocUpdatePolicy *docUpdatePolicy; + +/// The latest doc revision. Required when doc_update_policy is update. This +/// value must match the current revision of the doc or error revision_mismatch +/// will be returned. +@property (nonatomic, readonly, nullable) NSNumber *paperRevision; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path in the user's Dropbox to update. The path must correspond +/// to a Paper doc or an error will be returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the +/// doc. +/// @param paperRevision The latest doc revision. Required when +/// doc_update_policy is update. This value must match the current revision of +/// the doc or error revision_mismatch will be returned. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(nullable NSNumber *)paperRevision; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param path Path in the user's Dropbox to update. The path must correspond +/// to a Paper doc or an error will be returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the +/// doc. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperUpdateArg` struct. +/// +@interface DBFILESPaperUpdateArgSerializer : NSObject + +/// +/// Serializes `DBFILESPaperUpdateArg` instances. +/// +/// @param instance An instance of the `DBFILESPaperUpdateArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperUpdateArg *)instance; + +/// +/// Deserializes `DBFILESPaperUpdateArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateArg` API object. +/// +/// @return An instantiation of the `DBFILESPaperUpdateArg` object. +/// ++ (DBFILESPaperUpdateArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateError.h new file mode 100644 index 000000000..a277bf9ea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateError.h @@ -0,0 +1,274 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLookupError; +@class DBFILESPaperUpdateError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperUpdateError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperUpdateError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESPaperUpdateErrorTag` enum type represents the possible tag +/// states with which the `DBFILESPaperUpdateError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPaperUpdateErrorTag){ + /// Your account does not have permissions to edit Paper docs. + DBFILESPaperUpdateErrorInsufficientPermissions, + + /// The provided content was malformed and cannot be imported to Paper. + DBFILESPaperUpdateErrorContentMalformed, + + /// The Paper doc would be too large, split the content into multiple docs. + DBFILESPaperUpdateErrorDocLengthExceeded, + + /// The imported document contains an image that is too large. The current + /// limit is 1MB. This only applies to HTML with data URI. + DBFILESPaperUpdateErrorImageSizeExceeded, + + /// (no description). + DBFILESPaperUpdateErrorOther, + + /// (no description). + DBFILESPaperUpdateErrorPath, + + /// The provided revision does not match the document head. + DBFILESPaperUpdateErrorRevisionMismatch, + + /// This operation is not allowed on archived Paper docs. + DBFILESPaperUpdateErrorDocArchived, + + /// This operation is not allowed on deleted Paper docs. + DBFILESPaperUpdateErrorDocDeleted, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESPaperUpdateErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: Your account does +/// not have permissions to edit Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "content_malformed". +/// +/// Description of the "content_malformed" tag state: The provided content was +/// malformed and cannot be imported to Paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentMalformed; + +/// +/// Initializes union class with tag state of "doc_length_exceeded". +/// +/// Description of the "doc_length_exceeded" tag state: The Paper doc would be +/// too large, split the content into multiple docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocLengthExceeded; + +/// +/// Initializes union class with tag state of "image_size_exceeded". +/// +/// Description of the "image_size_exceeded" tag state: The imported document +/// contains an image that is too large. The current limit is 1MB. This only +/// applies to HTML with data URI. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImageSizeExceeded; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "revision_mismatch". +/// +/// Description of the "revision_mismatch" tag state: The provided revision does +/// not match the document head. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRevisionMismatch; + +/// +/// Initializes union class with tag state of "doc_archived". +/// +/// Description of the "doc_archived" tag state: This operation is not allowed +/// on archived Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocArchived; + +/// +/// Initializes union class with tag state of "doc_deleted". +/// +/// Description of the "doc_deleted" tag state: This operation is not allowed on +/// deleted Paper docs. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDocDeleted; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_malformed". +/// +/// @return Whether the union's current tag state has value "content_malformed". +/// +- (BOOL)isContentMalformed; + +/// +/// Retrieves whether the union's current tag state has value +/// "doc_length_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "doc_length_exceeded". +/// +- (BOOL)isDocLengthExceeded; + +/// +/// Retrieves whether the union's current tag state has value +/// "image_size_exceeded". +/// +/// @return Whether the union's current tag state has value +/// "image_size_exceeded". +/// +- (BOOL)isImageSizeExceeded; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value +/// "revision_mismatch". +/// +/// @return Whether the union's current tag state has value "revision_mismatch". +/// +- (BOOL)isRevisionMismatch; + +/// +/// Retrieves whether the union's current tag state has value "doc_archived". +/// +/// @return Whether the union's current tag state has value "doc_archived". +/// +- (BOOL)isDocArchived; + +/// +/// Retrieves whether the union's current tag state has value "doc_deleted". +/// +/// @return Whether the union's current tag state has value "doc_deleted". +/// +- (BOOL)isDocDeleted; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESPaperUpdateError` union. +/// +@interface DBFILESPaperUpdateErrorSerializer : NSObject + +/// +/// Serializes `DBFILESPaperUpdateError` instances. +/// +/// @param instance An instance of the `DBFILESPaperUpdateError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperUpdateError *)instance; + +/// +/// Deserializes `DBFILESPaperUpdateError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateError` API object. +/// +/// @return An instantiation of the `DBFILESPaperUpdateError` object. +/// ++ (DBFILESPaperUpdateError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateResult.h new file mode 100644 index 000000000..2b13136b3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPaperUpdateResult.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPaperUpdateResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperUpdateResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPaperUpdateResult : NSObject + +#pragma mark - Instance fields + +/// The current doc revision. +@property (nonatomic, readonly) NSNumber *paperRevision; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param paperRevision The current doc revision. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperRevision:(NSNumber *)paperRevision; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperUpdateResult` struct. +/// +@interface DBFILESPaperUpdateResultSerializer : NSObject + +/// +/// Serializes `DBFILESPaperUpdateResult` instances. +/// +/// @param instance An instance of the `DBFILESPaperUpdateResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPaperUpdateResult *)instance; + +/// +/// Deserializes `DBFILESPaperUpdateResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPaperUpdateResult` API object. +/// +/// @return An instantiation of the `DBFILESPaperUpdateResult` object. +/// ++ (DBFILESPaperUpdateResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathOrLink.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathOrLink.h new file mode 100644 index 000000000..187ec4815 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathOrLink.h @@ -0,0 +1,150 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPathOrLink; +@class DBFILESSharedLinkFileInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PathOrLink` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPathOrLink : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESPathOrLinkTag` enum type represents the possible tag states with +/// which the `DBFILESPathOrLink` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPathOrLinkTag){ + /// (no description). + DBFILESPathOrLinkPath, + + /// (no description). + DBFILESPathOrLinkLink, + + /// (no description). + DBFILESPathOrLinkOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESPathOrLinkTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *path; + +/// (no description). @note Ensure the `isLink` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESSharedLinkFileInfo *link; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path; + +/// +/// Initializes union class with tag state of "link". +/// +/// @param link (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLink:(DBFILESSharedLinkFileInfo *)link; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "link". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `link` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "link". +/// +- (BOOL)isLink; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESPathOrLink` union. +/// +@interface DBFILESPathOrLinkSerializer : NSObject + +/// +/// Serializes `DBFILESPathOrLink` instances. +/// +/// @param instance An instance of the `DBFILESPathOrLink` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPathOrLink` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPathOrLink *)instance; + +/// +/// Deserializes `DBFILESPathOrLink` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPathOrLink` API object. +/// +/// @return An instantiation of the `DBFILESPathOrLink` object. +/// ++ (DBFILESPathOrLink *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathToTags.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathToTags.h new file mode 100644 index 000000000..5e43347cc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPathToTags.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPathToTags; +@class DBFILESTag; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PathToTags` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPathToTags : NSObject + +#pragma mark - Instance fields + +/// Path of the item. +@property (nonatomic, readonly, copy) NSString *path; + +/// Tags assigned to this item. +@property (nonatomic, readonly) NSArray *tags; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path of the item. +/// @param tags Tags assigned to this item. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path tags:(NSArray *)tags; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PathToTags` struct. +/// +@interface DBFILESPathToTagsSerializer : NSObject + +/// +/// Serializes `DBFILESPathToTags` instances. +/// +/// @param instance An instance of the `DBFILESPathToTags` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPathToTags` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPathToTags *)instance; + +/// +/// Deserializes `DBFILESPathToTags` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPathToTags` API object. +/// +/// @return An instantiation of the `DBFILESPathToTags` object. +/// ++ (DBFILESPathToTags *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPhotoMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPhotoMetadata.h index 4b3d17f45..61fe5495e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPhotoMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPhotoMetadata.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESPhotoMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESPhotoMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESPhotoMetadata *)instance; /// /// Deserializes `DBFILESPhotoMetadata` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESPhotoMetadata` object. /// -+ (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESPhotoMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewArg.h index 7cbbac1c0..974cd3bef 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewArg.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESPreviewArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESPreviewArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESPreviewArg *)instance; /// /// Deserializes `DBFILESPreviewArg` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESPreviewArg` object. /// -+ (DBFILESPreviewArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESPreviewArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewError.h index 2863763ad..ab2c536a4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewError.h @@ -28,19 +28,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESPreviewErrorTag` enum type represents the possible tag states /// with which the `DBFILESPreviewError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESPreviewErrorTag) { - /// An error occurs when downloading metadata for the file. - DBFILESPreviewErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESPreviewErrorTag){ + /// An error occurs when downloading metadata for the file. + DBFILESPreviewErrorPath, - /// This preview generation is still in progress and the file is not ready - /// for preview yet. - DBFILESPreviewErrorInProgress, + /// This preview generation is still in progress and the file is not ready + /// for preview yet. + DBFILESPreviewErrorInProgress, - /// The file extension is not supported preview generation. - DBFILESPreviewErrorUnsupportedExtension, + /// The file extension is not supported preview generation. + DBFILESPreviewErrorUnsupportedExtension, - /// The file content is not supported for preview generation. - DBFILESPreviewErrorUnsupportedContent, + /// The file content is not supported for preview generation. + DBFILESPreviewErrorUnsupportedContent, }; @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBFILESPreviewErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESPreviewError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESPreviewError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESPreviewError *)instance; /// /// Deserializes `DBFILESPreviewError` instances. @@ -169,7 +169,7 @@ typedef NS_ENUM(NSInteger, DBFILESPreviewErrorTag) { /// /// @return An instantiation of the `DBFILESPreviewError` object. /// -+ (DBFILESPreviewError *)deserialize:(NSDictionary *)dict; ++ (DBFILESPreviewError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewResult.h new file mode 100644 index 000000000..320b4e984 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESPreviewResult.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileMetadata; +@class DBFILESMinimalFileLinkMetadata; +@class DBFILESPreviewResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PreviewResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESPreviewResult : NSObject + +#pragma mark - Instance fields + +/// Metadata corresponding to the file received as an argument. Will be +/// populated if the endpoint is called with a path (ReadPath). +@property (nonatomic, readonly, nullable) DBFILESFileMetadata *fileMetadata; + +/// Minimal metadata corresponding to the file received as an argument. Will be +/// populated if the endpoint is called using a shared link +/// (SharedLinkFileInfo). +@property (nonatomic, readonly, nullable) DBFILESMinimalFileLinkMetadata *linkMetadata; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileMetadata Metadata corresponding to the file received as an +/// argument. Will be populated if the endpoint is called with a path +/// (ReadPath). +/// @param linkMetadata Minimal metadata corresponding to the file received as +/// an argument. Will be populated if the endpoint is called using a shared link +/// (SharedLinkFileInfo). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileMetadata:(nullable DBFILESFileMetadata *)fileMetadata + linkMetadata:(nullable DBFILESMinimalFileLinkMetadata *)linkMetadata; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PreviewResult` struct. +/// +@interface DBFILESPreviewResultSerializer : NSObject + +/// +/// Serializes `DBFILESPreviewResult` instances. +/// +/// @param instance An instance of the `DBFILESPreviewResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESPreviewResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESPreviewResult *)instance; + +/// +/// Deserializes `DBFILESPreviewResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESPreviewResult` API object. +/// +/// @return An instantiation of the `DBFILESPreviewResult` object. +/// ++ (DBFILESPreviewResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationArg.h index 20dc0fb0a..4daf85d07 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationArg.h @@ -26,9 +26,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// If true, `dCopy` will copy contents in shared folder, otherwise -/// `cantCopySharedFolder` in `DBFILESRelocationError` will be returned if -/// fromPath contains shared folder. This field is always true for `move`. +/// This flag has no effect. @property (nonatomic, readonly) NSNumber *allowSharedFolder; /// If there's a conflict, have the Dropbox server try to autorename the file to @@ -46,10 +44,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param fromPath Path in the user's Dropbox to be copied or moved. /// @param toPath Path in the user's Dropbox that is the destination. -/// @param allowSharedFolder If true, `dCopy` will copy contents in shared -/// folder, otherwise `cantCopySharedFolder` in `DBFILESRelocationError` will be -/// returned if fromPath contains shared folder. This field is always true for -/// `move`. +/// @param allowSharedFolder This flag has no effect. /// @param autorename If there's a conflict, have the Dropbox server try to /// autorename the file to avoid the conflict. /// @param allowOwnershipTransfer Allow moves by owner even if it would result @@ -92,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationArg *)instance; /// /// Deserializes `DBFILESRelocationArg` instances. @@ -102,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationArg` object. /// -+ (DBFILESRelocationArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArg.h index 354d7dfb8..64c588396 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArg.h @@ -6,6 +6,7 @@ #import +#import "DBFILESRelocationBatchArgBase.h" #import "DBSerializableProtocol.h" @class DBFILESRelocationBatchArg; @@ -22,23 +23,13 @@ NS_ASSUME_NONNULL_BEGIN /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBFILESRelocationBatchArg : NSObject +@interface DBFILESRelocationBatchArg : DBFILESRelocationBatchArgBase #pragma mark - Instance fields -/// List of entries to be moved or copied. Each entry is RelocationPath. -@property (nonatomic, readonly) NSArray *entries; - -/// If true, `dCopyBatch` will copy contents in shared folder, otherwise -/// `cantCopySharedFolder` in `DBFILESRelocationError` will be returned if -/// `fromPath` in `DBFILESRelocationPath` contains shared folder. This field is -/// always true for `moveBatch`. +/// This flag has no effect. @property (nonatomic, readonly) NSNumber *allowSharedFolder; -/// If there's a conflict with any file, have the Dropbox server try to -/// autorename that file to avoid the conflict. -@property (nonatomic, readonly) NSNumber *autorename; - /// Allow moves by owner even if it would result in an ownership transfer for /// the content being moved. This does not apply to copies. @property (nonatomic, readonly) NSNumber *allowOwnershipTransfer; @@ -50,12 +41,9 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param entries List of entries to be moved or copied. Each entry is /// RelocationPath. -/// @param allowSharedFolder If true, `dCopyBatch` will copy contents in shared -/// folder, otherwise `cantCopySharedFolder` in `DBFILESRelocationError` will be -/// returned if `fromPath` in `DBFILESRelocationPath` contains shared folder. -/// This field is always true for `moveBatch`. /// @param autorename If there's a conflict with any file, have the Dropbox /// server try to autorename that file to avoid the conflict. +/// @param allowSharedFolder This flag has no effect. /// @param allowOwnershipTransfer Allow moves by owner even if it would result /// in an ownership transfer for the content being moved. This does not apply to /// copies. @@ -63,8 +51,8 @@ NS_ASSUME_NONNULL_BEGIN /// @return An initialized instance. /// - (instancetype)initWithEntries:(NSArray *)entries - allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename + allowSharedFolder:(nullable NSNumber *)allowSharedFolder allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; /// @@ -78,8 +66,6 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithEntries:(NSArray *)entries; -- (instancetype)init NS_UNAVAILABLE; - @end #pragma mark - Serializer Object @@ -97,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchArg *)instance; /// /// Deserializes `DBFILESRelocationBatchArg` instances. @@ -107,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationBatchArg` object. /// -+ (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArgBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArgBase.h new file mode 100644 index 000000000..efaa4c19a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchArgBase.h @@ -0,0 +1,95 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESRelocationBatchArgBase; +@class DBFILESRelocationPath; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchArgBase` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchArgBase : NSObject + +#pragma mark - Instance fields + +/// List of entries to be moved or copied. Each entry is RelocationPath. +@property (nonatomic, readonly) NSArray *entries; + +/// If there's a conflict with any file, have the Dropbox server try to +/// autorename that file to avoid the conflict. +@property (nonatomic, readonly) NSNumber *autorename; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries List of entries to be moved or copied. Each entry is +/// RelocationPath. +/// @param autorename If there's a conflict with any file, have the Dropbox +/// server try to autorename that file to avoid the conflict. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries autorename:(nullable NSNumber *)autorename; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param entries List of entries to be moved or copied. Each entry is +/// RelocationPath. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RelocationBatchArgBase` struct. +/// +@interface DBFILESRelocationBatchArgBaseSerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchArgBase` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchArgBase` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchArgBase` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchArgBase *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchArgBase` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchArgBase` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchArgBase` object. +/// ++ (DBFILESRelocationBatchArgBase *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchError.h index 8ff2d6b54..a1774b9df 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchError.h @@ -9,6 +9,8 @@ #import "DBSerializableProtocol.h" @class DBFILESLookupError; +@class DBFILESMoveIntoFamilyError; +@class DBFILESMoveIntoVaultError; @class DBFILESRelocationBatchError; @class DBFILESWriteError; @@ -29,47 +31,63 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESRelocationBatchErrorTag` enum type represents the possible tag /// states with which the `DBFILESRelocationBatchError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { - /// (no description). - DBFILESRelocationBatchErrorFromLookup, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchErrorTag){ + /// (no description). + DBFILESRelocationBatchErrorFromLookup, - /// (no description). - DBFILESRelocationBatchErrorFromWrite, + /// (no description). + DBFILESRelocationBatchErrorFromWrite, - /// (no description). - DBFILESRelocationBatchErrorTo, + /// (no description). + DBFILESRelocationBatchErrorTo, - /// Shared folders can't be copied. - DBFILESRelocationBatchErrorCantCopySharedFolder, + /// Shared folders can't be copied. + DBFILESRelocationBatchErrorCantCopySharedFolder, - /// Your move operation would result in nested shared folders. This is not - /// allowed. - DBFILESRelocationBatchErrorCantNestSharedFolder, + /// Your move operation would result in nested shared folders. This is not + /// allowed. + DBFILESRelocationBatchErrorCantNestSharedFolder, - /// You cannot move a folder into itself. - DBFILESRelocationBatchErrorCantMoveFolderIntoItself, + /// You cannot move a folder into itself. + DBFILESRelocationBatchErrorCantMoveFolderIntoItself, - /// The operation would involve more than 10,000 files and folders. - DBFILESRelocationBatchErrorTooManyFiles, + /// The operation would involve more than 10,000 files and folders. + DBFILESRelocationBatchErrorTooManyFiles, - /// There are duplicated/nested paths among `fromPath` in - /// `DBFILESRelocationArg` and `toPath` in `DBFILESRelocationArg`. - DBFILESRelocationBatchErrorDuplicatedOrNestedPaths, + /// There are duplicated/nested paths among `fromPath` in + /// `DBFILESRelocationArg` and `toPath` in `DBFILESRelocationArg`. + DBFILESRelocationBatchErrorDuplicatedOrNestedPaths, - /// Your move operation would result in an ownership transfer. You may - /// reissue the request with the field `allowOwnershipTransfer` in - /// `DBFILESRelocationArg` to true. - DBFILESRelocationBatchErrorCantTransferOwnership, + /// Your move operation would result in an ownership transfer. You may + /// reissue the request with the field `allowOwnershipTransfer` in + /// `DBFILESRelocationArg` to true. + DBFILESRelocationBatchErrorCantTransferOwnership, - /// The current user does not have enough space to move or copy the files. - DBFILESRelocationBatchErrorInsufficientQuota, + /// The current user does not have enough space to move or copy the files. + DBFILESRelocationBatchErrorInsufficientQuota, - /// (no description). - DBFILESRelocationBatchErrorOther, + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBFILESRelocationBatchErrorInternalError, - /// There are too many write operations in user's Dropbox. Please retry this - /// request. - DBFILESRelocationBatchErrorTooManyWriteOperations, + /// Can't move the shared folder to the given destination. + DBFILESRelocationBatchErrorCantMoveSharedFolder, + + /// Some content cannot be moved into Vault under certain circumstances, see + /// detailed error. + DBFILESRelocationBatchErrorCantMoveIntoVault, + + /// Some content cannot be moved into the Family Room folder under certain + /// circumstances, see detailed error. + DBFILESRelocationBatchErrorCantMoveIntoFamily, + + /// (no description). + DBFILESRelocationBatchErrorOther, + + /// There are too many write operations in user's Dropbox. Please retry this + /// request. + DBFILESRelocationBatchErrorTooManyWriteOperations, }; @@ -88,6 +106,17 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *to; +/// Some content cannot be moved into Vault under certain circumstances, see +/// detailed error. @note Ensure the `isCantMoveIntoVault` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESMoveIntoVaultError *cantMoveIntoVault; + +/// Some content cannot be moved into the Family Room folder under certain +/// circumstances, see detailed error. @note Ensure the `isCantMoveIntoFamily` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBFILESMoveIntoFamilyError *cantMoveIntoFamily; + #pragma mark - Constructors /// @@ -189,6 +218,54 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { /// - (instancetype)initWithInsufficientQuota; +/// +/// Initializes union class with tag state of "internal_error". +/// +/// Description of the "internal_error" tag state: Something went wrong with the +/// job on Dropbox's end. You'll need to verify that the action you were taking +/// succeeded, and if not, try again. This should happen very rarely. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInternalError; + +/// +/// Initializes union class with tag state of "cant_move_shared_folder". +/// +/// Description of the "cant_move_shared_folder" tag state: Can't move the +/// shared folder to the given destination. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveSharedFolder; + +/// +/// Initializes union class with tag state of "cant_move_into_vault". +/// +/// Description of the "cant_move_into_vault" tag state: Some content cannot be +/// moved into Vault under certain circumstances, see detailed error. +/// +/// @param cantMoveIntoVault Some content cannot be moved into Vault under +/// certain circumstances, see detailed error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault; + +/// +/// Initializes union class with tag state of "cant_move_into_family". +/// +/// Description of the "cant_move_into_family" tag state: Some content cannot be +/// moved into the Family Room folder under certain circumstances, see detailed +/// error. +/// +/// @param cantMoveIntoFamily Some content cannot be moved into the Family Room +/// folder under certain circumstances, see detailed error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily; + /// /// Initializes union class with tag state of "other". /// @@ -301,6 +378,46 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { /// - (BOOL)isInsufficientQuota; +/// +/// Retrieves whether the union's current tag state has value "internal_error". +/// +/// @return Whether the union's current tag state has value "internal_error". +/// +- (BOOL)isInternalError; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_shared_folder". +/// +/// @return Whether the union's current tag state has value +/// "cant_move_shared_folder". +/// +- (BOOL)isCantMoveSharedFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_into_vault". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cantMoveIntoVault` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "cant_move_into_vault". +/// +- (BOOL)isCantMoveIntoVault; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_into_family". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cantMoveIntoFamily` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "cant_move_into_family". +/// +- (BOOL)isCantMoveIntoFamily; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -341,7 +458,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchError *)instance; /// /// Deserializes `DBFILESRelocationBatchError` instances. @@ -351,7 +468,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchErrorTag) { /// /// @return An instantiation of the `DBFILESRelocationBatchError` object. /// -+ (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchErrorEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchErrorEntry.h new file mode 100644 index 000000000..e8dae0448 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchErrorEntry.h @@ -0,0 +1,177 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESRelocationBatchErrorEntry; +@class DBFILESRelocationError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchErrorEntry` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchErrorEntry : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESRelocationBatchErrorEntryTag` enum type represents the possible +/// tag states with which the `DBFILESRelocationBatchErrorEntry` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchErrorEntryTag){ + /// User errors that retry won't help. + DBFILESRelocationBatchErrorEntryRelocationError, + + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBFILESRelocationBatchErrorEntryInternalError, + + /// There are too many write operations in user's Dropbox. Please retry this + /// request. + DBFILESRelocationBatchErrorEntryTooManyWriteOperations, + + /// (no description). + DBFILESRelocationBatchErrorEntryOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESRelocationBatchErrorEntryTag tag; + +/// User errors that retry won't help. @note Ensure the `isRelocationError` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBFILESRelocationError *relocationError; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "relocation_error". +/// +/// Description of the "relocation_error" tag state: User errors that retry +/// won't help. +/// +/// @param relocationError User errors that retry won't help. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRelocationError:(DBFILESRelocationError *)relocationError; + +/// +/// Initializes union class with tag state of "internal_error". +/// +/// Description of the "internal_error" tag state: Something went wrong with the +/// job on Dropbox's end. You'll need to verify that the action you were taking +/// succeeded, and if not, try again. This should happen very rarely. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInternalError; + +/// +/// Initializes union class with tag state of "too_many_write_operations". +/// +/// Description of the "too_many_write_operations" tag state: There are too many +/// write operations in user's Dropbox. Please retry this request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyWriteOperations; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "relocation_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `relocationError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "relocation_error". +/// +- (BOOL)isRelocationError; + +/// +/// Retrieves whether the union's current tag state has value "internal_error". +/// +/// @return Whether the union's current tag state has value "internal_error". +/// +- (BOOL)isInternalError; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_write_operations". +/// +/// @return Whether the union's current tag state has value +/// "too_many_write_operations". +/// +- (BOOL)isTooManyWriteOperations; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESRelocationBatchErrorEntry` union. +/// +@interface DBFILESRelocationBatchErrorEntrySerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchErrorEntry` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchErrorEntry` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchErrorEntry` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchErrorEntry *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchErrorEntry` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchErrorEntry` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchErrorEntry` object. +/// ++ (DBFILESRelocationBatchErrorEntry *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchJobStatus.h index 9dd9c969f..cb1e7ad9b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchJobStatus.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESRelocationBatchJobStatusTag` enum type represents the possible /// tag states with which the `DBFILESRelocationBatchJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBFILESRelocationBatchJobStatusTag) { - /// The asynchronous job is still in progress. - DBFILESRelocationBatchJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchJobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESRelocationBatchJobStatusInProgress, - /// The copy or move batch job has finished. - DBFILESRelocationBatchJobStatusComplete, + /// The copy or move batch job has finished. + DBFILESRelocationBatchJobStatusComplete, - /// The copy or move batch job has failed with exception. - DBFILESRelocationBatchJobStatusFailed, + /// The copy or move batch job has failed with exception. + DBFILESRelocationBatchJobStatusFailed, }; @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchJobStatus *)instance; /// /// Deserializes `DBFILESRelocationBatchJobStatus` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchJobStatusTag) { /// /// @return An instantiation of the `DBFILESRelocationBatchJobStatus` object. /// -+ (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchLaunch.h index c32e99cc9..cc34882d9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchLaunch.h @@ -31,16 +31,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESRelocationBatchLaunchTag` enum type represents the possible tag /// states with which the `DBFILESRelocationBatchLaunch` union can exist. -typedef NS_ENUM(NSInteger, DBFILESRelocationBatchLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBFILESRelocationBatchLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESRelocationBatchLaunchAsyncJobId, - /// (no description). - DBFILESRelocationBatchLaunchComplete, + /// (no description). + DBFILESRelocationBatchLaunchComplete, - /// (no description). - DBFILESRelocationBatchLaunchOther, + /// (no description). + DBFILESRelocationBatchLaunchOther, }; @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchLaunch *)instance; /// /// Deserializes `DBFILESRelocationBatchLaunch` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationBatchLaunchTag) { /// /// @return An instantiation of the `DBFILESRelocationBatchLaunch` object. /// -+ (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResult.h index 65952b6b5..6e2a0ba26 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResult.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResult *)instance; /// /// Deserializes `DBFILESRelocationBatchResult` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationBatchResult` object. /// -+ (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultData.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultData.h index d7af536df..212c85f50 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultData.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultData.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationBatchResultData` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResultData *)instance; /// /// Deserializes `DBFILESRelocationBatchResultData` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationBatchResultData` object. /// -+ (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationBatchResultData *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultEntry.h new file mode 100644 index 000000000..c7c5bebb9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchResultEntry.h @@ -0,0 +1,153 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESMetadata; +@class DBFILESRelocationBatchErrorEntry; +@class DBFILESRelocationBatchResultEntry; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchResultEntry` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchResultEntry : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESRelocationBatchResultEntryTag` enum type represents the possible +/// tag states with which the `DBFILESRelocationBatchResultEntry` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchResultEntryTag){ + /// (no description). + DBFILESRelocationBatchResultEntrySuccess, + + /// (no description). + DBFILESRelocationBatchResultEntryFailure, + + /// (no description). + DBFILESRelocationBatchResultEntryOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESRelocationBatchResultEntryTag tag; + +/// (no description). @note Ensure the `isSuccess` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESMetadata *success; + +/// (no description). @note Ensure the `isFailure` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESRelocationBatchErrorEntry *failure; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// @param success (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBFILESMetadata *)success; + +/// +/// Initializes union class with tag state of "failure". +/// +/// @param failure (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailure:(DBFILESRelocationBatchErrorEntry *)failure; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "failure". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `failure` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "failure". +/// +- (BOOL)isFailure; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESRelocationBatchResultEntry` union. +/// +@interface DBFILESRelocationBatchResultEntrySerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchResultEntry` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchResultEntry` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchResultEntry` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchResultEntry *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchResultEntry` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchResultEntry` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchResultEntry` object. +/// ++ (DBFILESRelocationBatchResultEntry *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2JobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2JobStatus.h new file mode 100644 index 000000000..cc0e23c07 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2JobStatus.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESRelocationBatchV2JobStatus; +@class DBFILESRelocationBatchV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchV2JobStatus` union. +/// +/// Result returned by `dCopyBatchCheck` or `moveBatchCheck` that may either be +/// in progress or completed with result for each entry. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchV2JobStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESRelocationBatchV2JobStatusTag` enum type represents the possible +/// tag states with which the `DBFILESRelocationBatchV2JobStatus` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchV2JobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESRelocationBatchV2JobStatusInProgress, + + /// The copy or move batch job has finished. + DBFILESRelocationBatchV2JobStatusComplete, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESRelocationBatchV2JobStatusTag tag; + +/// The copy or move batch job has finished. @note Ensure the `isComplete` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBFILESRelocationBatchV2Result *complete; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "in_progress". +/// +/// Description of the "in_progress" tag state: The asynchronous job is still in +/// progress. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInProgress; + +/// +/// Initializes union class with tag state of "complete". +/// +/// Description of the "complete" tag state: The copy or move batch job has +/// finished. +/// +/// @param complete The copy or move batch job has finished. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "in_progress". +/// +/// @return Whether the union's current tag state has value "in_progress". +/// +- (BOOL)isInProgress; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESRelocationBatchV2JobStatus` union. +/// +@interface DBFILESRelocationBatchV2JobStatusSerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchV2JobStatus` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchV2JobStatus` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2JobStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchV2JobStatus *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchV2JobStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2JobStatus` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchV2JobStatus` object. +/// ++ (DBFILESRelocationBatchV2JobStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Launch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Launch.h new file mode 100644 index 000000000..d679829e9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Launch.h @@ -0,0 +1,146 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESRelocationBatchV2Launch; +@class DBFILESRelocationBatchV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchV2Launch` union. +/// +/// Result returned by `dCopyBatch` or `moveBatch` that may either launch an +/// asynchronous job or complete synchronously. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchV2Launch : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESRelocationBatchV2LaunchTag` enum type represents the possible +/// tag states with which the `DBFILESRelocationBatchV2Launch` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationBatchV2LaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESRelocationBatchV2LaunchAsyncJobId, + + /// (no description). + DBFILESRelocationBatchV2LaunchComplete, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESRelocationBatchV2LaunchTag tag; + +/// This response indicates that the processing is asynchronous. The string is +/// an id that can be used to obtain the status of the asynchronous job. @note +/// Ensure the `isAsyncJobId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *asyncJobId; + +/// (no description). @note Ensure the `isComplete` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESRelocationBatchV2Result *complete; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "async_job_id". +/// +/// Description of the "async_job_id" tag state: This response indicates that +/// the processing is asynchronous. The string is an id that can be used to +/// obtain the status of the asynchronous job. +/// +/// @param asyncJobId This response indicates that the processing is +/// asynchronous. The string is an id that can be used to obtain the status of +/// the asynchronous job. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId; + +/// +/// Initializes union class with tag state of "complete". +/// +/// @param complete (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(DBFILESRelocationBatchV2Result *)complete; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "async_job_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `asyncJobId` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "async_job_id". +/// +- (BOOL)isAsyncJobId; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESRelocationBatchV2Launch` union. +/// +@interface DBFILESRelocationBatchV2LaunchSerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchV2Launch` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchV2Launch` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2Launch` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchV2Launch *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchV2Launch` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2Launch` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchV2Launch` object. +/// ++ (DBFILESRelocationBatchV2Launch *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Result.h new file mode 100644 index 000000000..e155c0b66 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationBatchV2Result.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBFILESFileOpsResult.h" +#import "DBSerializableProtocol.h" + +@class DBFILESRelocationBatchResultEntry; +@class DBFILESRelocationBatchV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RelocationBatchV2Result` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRelocationBatchV2Result : DBFILESFileOpsResult + +#pragma mark - Instance fields + +/// Each entry in CopyBatchArg.entries or `entries` in `DBFILESMoveBatchArg` +/// will appear at the same position inside `entries` in +/// `DBFILESRelocationBatchV2Result`. +@property (nonatomic, readonly) NSArray *entries; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries Each entry in CopyBatchArg.entries or `entries` in +/// `DBFILESMoveBatchArg` will appear at the same position inside `entries` in +/// `DBFILESRelocationBatchV2Result`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RelocationBatchV2Result` struct. +/// +@interface DBFILESRelocationBatchV2ResultSerializer : NSObject + +/// +/// Serializes `DBFILESRelocationBatchV2Result` instances. +/// +/// @param instance An instance of the `DBFILESRelocationBatchV2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRelocationBatchV2Result *)instance; + +/// +/// Deserializes `DBFILESRelocationBatchV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRelocationBatchV2Result` API object. +/// +/// @return An instantiation of the `DBFILESRelocationBatchV2Result` object. +/// ++ (DBFILESRelocationBatchV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationError.h index a54d16f55..7441fdcbb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationError.h @@ -9,6 +9,8 @@ #import "DBSerializableProtocol.h" @class DBFILESLookupError; +@class DBFILESMoveIntoFamilyError; +@class DBFILESMoveIntoVaultError; @class DBFILESRelocationError; @class DBFILESWriteError; @@ -29,43 +31,59 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESRelocationErrorTag` enum type represents the possible tag states /// with which the `DBFILESRelocationError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { - /// (no description). - DBFILESRelocationErrorFromLookup, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRelocationErrorTag){ + /// (no description). + DBFILESRelocationErrorFromLookup, - /// (no description). - DBFILESRelocationErrorFromWrite, + /// (no description). + DBFILESRelocationErrorFromWrite, - /// (no description). - DBFILESRelocationErrorTo, + /// (no description). + DBFILESRelocationErrorTo, - /// Shared folders can't be copied. - DBFILESRelocationErrorCantCopySharedFolder, + /// Shared folders can't be copied. + DBFILESRelocationErrorCantCopySharedFolder, - /// Your move operation would result in nested shared folders. This is not - /// allowed. - DBFILESRelocationErrorCantNestSharedFolder, + /// Your move operation would result in nested shared folders. This is not + /// allowed. + DBFILESRelocationErrorCantNestSharedFolder, - /// You cannot move a folder into itself. - DBFILESRelocationErrorCantMoveFolderIntoItself, + /// You cannot move a folder into itself. + DBFILESRelocationErrorCantMoveFolderIntoItself, - /// The operation would involve more than 10,000 files and folders. - DBFILESRelocationErrorTooManyFiles, + /// The operation would involve more than 10,000 files and folders. + DBFILESRelocationErrorTooManyFiles, - /// There are duplicated/nested paths among `fromPath` in - /// `DBFILESRelocationArg` and `toPath` in `DBFILESRelocationArg`. - DBFILESRelocationErrorDuplicatedOrNestedPaths, + /// There are duplicated/nested paths among `fromPath` in + /// `DBFILESRelocationArg` and `toPath` in `DBFILESRelocationArg`. + DBFILESRelocationErrorDuplicatedOrNestedPaths, - /// Your move operation would result in an ownership transfer. You may - /// reissue the request with the field `allowOwnershipTransfer` in - /// `DBFILESRelocationArg` to true. - DBFILESRelocationErrorCantTransferOwnership, + /// Your move operation would result in an ownership transfer. You may + /// reissue the request with the field `allowOwnershipTransfer` in + /// `DBFILESRelocationArg` to true. + DBFILESRelocationErrorCantTransferOwnership, - /// The current user does not have enough space to move or copy the files. - DBFILESRelocationErrorInsufficientQuota, + /// The current user does not have enough space to move or copy the files. + DBFILESRelocationErrorInsufficientQuota, - /// (no description). - DBFILESRelocationErrorOther, + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBFILESRelocationErrorInternalError, + + /// Can't move the shared folder to the given destination. + DBFILESRelocationErrorCantMoveSharedFolder, + + /// Some content cannot be moved into Vault under certain circumstances, see + /// detailed error. + DBFILESRelocationErrorCantMoveIntoVault, + + /// Some content cannot be moved into the Family Room folder under certain + /// circumstances, see detailed error. + DBFILESRelocationErrorCantMoveIntoFamily, + + /// (no description). + DBFILESRelocationErrorOther, }; @@ -84,6 +102,17 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *to; +/// Some content cannot be moved into Vault under certain circumstances, see +/// detailed error. @note Ensure the `isCantMoveIntoVault` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESMoveIntoVaultError *cantMoveIntoVault; + +/// Some content cannot be moved into the Family Room folder under certain +/// circumstances, see detailed error. @note Ensure the `isCantMoveIntoFamily` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBFILESMoveIntoFamilyError *cantMoveIntoFamily; + #pragma mark - Constructors /// @@ -185,6 +214,54 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { /// - (instancetype)initWithInsufficientQuota; +/// +/// Initializes union class with tag state of "internal_error". +/// +/// Description of the "internal_error" tag state: Something went wrong with the +/// job on Dropbox's end. You'll need to verify that the action you were taking +/// succeeded, and if not, try again. This should happen very rarely. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInternalError; + +/// +/// Initializes union class with tag state of "cant_move_shared_folder". +/// +/// Description of the "cant_move_shared_folder" tag state: Can't move the +/// shared folder to the given destination. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveSharedFolder; + +/// +/// Initializes union class with tag state of "cant_move_into_vault". +/// +/// Description of the "cant_move_into_vault" tag state: Some content cannot be +/// moved into Vault under certain circumstances, see detailed error. +/// +/// @param cantMoveIntoVault Some content cannot be moved into Vault under +/// certain circumstances, see detailed error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveIntoVault:(DBFILESMoveIntoVaultError *)cantMoveIntoVault; + +/// +/// Initializes union class with tag state of "cant_move_into_family". +/// +/// Description of the "cant_move_into_family" tag state: Some content cannot be +/// moved into the Family Room folder under certain circumstances, see detailed +/// error. +/// +/// @param cantMoveIntoFamily Some content cannot be moved into the Family Room +/// folder under certain circumstances, see detailed error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCantMoveIntoFamily:(DBFILESMoveIntoFamilyError *)cantMoveIntoFamily; + /// /// Initializes union class with tag state of "other". /// @@ -287,6 +364,46 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { /// - (BOOL)isInsufficientQuota; +/// +/// Retrieves whether the union's current tag state has value "internal_error". +/// +/// @return Whether the union's current tag state has value "internal_error". +/// +- (BOOL)isInternalError; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_shared_folder". +/// +/// @return Whether the union's current tag state has value +/// "cant_move_shared_folder". +/// +- (BOOL)isCantMoveSharedFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_into_vault". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cantMoveIntoVault` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "cant_move_into_vault". +/// +- (BOOL)isCantMoveIntoVault; + +/// +/// Retrieves whether the union's current tag state has value +/// "cant_move_into_family". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cantMoveIntoFamily` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "cant_move_into_family". +/// +- (BOOL)isCantMoveIntoFamily; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -318,7 +435,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationError *)instance; /// /// Deserializes `DBFILESRelocationError` instances. @@ -328,7 +445,7 @@ typedef NS_ENUM(NSInteger, DBFILESRelocationErrorTag) { /// /// @return An instantiation of the `DBFILESRelocationError` object. /// -+ (DBFILESRelocationError *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationPath.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationPath.h index f695dd2cf..23632d944 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationPath.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationPath.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationPath` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationPath *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationPath *)instance; /// /// Deserializes `DBFILESRelocationPath` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationPath` object. /// -+ (DBFILESRelocationPath *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationPath *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationResult.h index e997d1716..a4387b56e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRelocationResult.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRelocationResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRelocationResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRelocationResult *)instance; /// /// Deserializes `DBFILESRelocationResult` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRelocationResult` object. /// -+ (DBFILESRelocationResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESRelocationResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagArg.h new file mode 100644 index 000000000..c28376267 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagArg.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESRemoveTagArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RemoveTagArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRemoveTagArg : NSObject + +#pragma mark - Instance fields + +/// Path to the item to tag. +@property (nonatomic, readonly, copy) NSString *path; + +/// The tag to remove. Will be automatically converted to lowercase letters. +@property (nonatomic, readonly, copy) NSString *tagText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path to the item to tag. +/// @param tagText The tag to remove. Will be automatically converted to +/// lowercase letters. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path tagText:(NSString *)tagText; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RemoveTagArg` struct. +/// +@interface DBFILESRemoveTagArgSerializer : NSObject + +/// +/// Serializes `DBFILESRemoveTagArg` instances. +/// +/// @param instance An instance of the `DBFILESRemoveTagArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRemoveTagArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRemoveTagArg *)instance; + +/// +/// Deserializes `DBFILESRemoveTagArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRemoveTagArg` API object. +/// +/// @return An instantiation of the `DBFILESRemoveTagArg` object. +/// ++ (DBFILESRemoveTagArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagError.h new file mode 100644 index 000000000..a6053b80d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRemoveTagError.h @@ -0,0 +1,144 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLookupError; +@class DBFILESRemoveTagError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RemoveTagError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESRemoveTagError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESRemoveTagErrorTag` enum type represents the possible tag states +/// with which the `DBFILESRemoveTagError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRemoveTagErrorTag){ + /// (no description). + DBFILESRemoveTagErrorPath, + + /// (no description). + DBFILESRemoveTagErrorOther, + + /// That tag doesn't exist at this path. + DBFILESRemoveTagErrorTagNotPresent, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESRemoveTagErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "tag_not_present". +/// +/// Description of the "tag_not_present" tag state: That tag doesn't exist at +/// this path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTagNotPresent; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "tag_not_present". +/// +/// @return Whether the union's current tag state has value "tag_not_present". +/// +- (BOOL)isTagNotPresent; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESRemoveTagError` union. +/// +@interface DBFILESRemoveTagErrorSerializer : NSObject + +/// +/// Serializes `DBFILESRemoveTagError` instances. +/// +/// @param instance An instance of the `DBFILESRemoveTagError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESRemoveTagError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESRemoveTagError *)instance; + +/// +/// Deserializes `DBFILESRemoveTagError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESRemoveTagError` API object. +/// +/// @return An instantiation of the `DBFILESRemoveTagError` object. +/// ++ (DBFILESRemoveTagError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreArg.h index ee4c31f9f..c5b40ba83 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreArg.h @@ -25,10 +25,10 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The path to the file you want to restore. +/// The path to save the restored file. @property (nonatomic, readonly, copy) NSString *path; -/// The revision to restore for the file. +/// The revision to restore. @property (nonatomic, readonly, copy) NSString *rev; #pragma mark - Constructors @@ -36,8 +36,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param path The path to the file you want to restore. -/// @param rev The revision to restore for the file. +/// @param path The path to save the restored file. +/// @param rev The revision to restore. /// /// @return An initialized instance. /// @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESRestoreArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRestoreArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRestoreArg *)instance; /// /// Deserializes `DBFILESRestoreArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESRestoreArg` object. /// -+ (DBFILESRestoreArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESRestoreArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreError.h index bc8ce769d..023a9a938 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESRestoreError.h @@ -29,18 +29,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESRestoreErrorTag` enum type represents the possible tag states /// with which the `DBFILESRestoreError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESRestoreErrorTag) { - /// An error occurs when downloading metadata for the file. - DBFILESRestoreErrorPathLookup, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESRestoreErrorTag){ + /// An error occurs when downloading metadata for the file. + DBFILESRestoreErrorPathLookup, - /// An error occurs when trying to restore the file to that path. - DBFILESRestoreErrorPathWrite, + /// An error occurs when trying to restore the file to that path. + DBFILESRestoreErrorPathWrite, - /// The revision is invalid. It may point to a different file. - DBFILESRestoreErrorInvalidRevision, + /// The revision is invalid. It may not exist or may point to a deleted + /// file. + DBFILESRestoreErrorInvalidRevision, - /// (no description). - DBFILESRestoreErrorOther, + /// The restore is currently executing, but has not yet completed. + DBFILESRestoreErrorInProgress, + + /// (no description). + DBFILESRestoreErrorOther, }; @@ -88,12 +92,22 @@ typedef NS_ENUM(NSInteger, DBFILESRestoreErrorTag) { /// Initializes union class with tag state of "invalid_revision". /// /// Description of the "invalid_revision" tag state: The revision is invalid. It -/// may point to a different file. +/// may not exist or may point to a deleted file. /// /// @return An initialized instance. /// - (instancetype)initWithInvalidRevision; +/// +/// Initializes union class with tag state of "in_progress". +/// +/// Description of the "in_progress" tag state: The restore is currently +/// executing, but has not yet completed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInProgress; + /// /// Initializes union class with tag state of "other". /// @@ -133,6 +147,13 @@ typedef NS_ENUM(NSInteger, DBFILESRestoreErrorTag) { /// - (BOOL)isInvalidRevision; +/// +/// Retrieves whether the union's current tag state has value "in_progress". +/// +/// @return Whether the union's current tag state has value "in_progress". +/// +- (BOOL)isInProgress; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -164,7 +185,7 @@ typedef NS_ENUM(NSInteger, DBFILESRestoreErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESRestoreError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESRestoreError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESRestoreError *)instance; /// /// Deserializes `DBFILESRestoreError` instances. @@ -174,7 +195,7 @@ typedef NS_ENUM(NSInteger, DBFILESRestoreErrorTag) { /// /// @return An instantiation of the `DBFILESRestoreError` object. /// -+ (DBFILESRestoreError *)deserialize:(NSDictionary *)dict; ++ (DBFILESRestoreError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceArg.h index 419896670..b2240bcc4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceArg *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSaveCopyReferenceArg` object. /// -+ (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveCopyReferenceArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceError.h index 1ddf26c14..70c6f0aa7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceError.h @@ -28,26 +28,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSaveCopyReferenceErrorTag` enum type represents the possible tag /// states with which the `DBFILESSaveCopyReferenceError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSaveCopyReferenceErrorTag) { - /// (no description). - DBFILESSaveCopyReferenceErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveCopyReferenceErrorTag){ + /// (no description). + DBFILESSaveCopyReferenceErrorPath, - /// The copy reference is invalid. - DBFILESSaveCopyReferenceErrorInvalidCopyReference, + /// The copy reference is invalid. + DBFILESSaveCopyReferenceErrorInvalidCopyReference, - /// You don't have permission to save the given copy reference. Please make - /// sure this app is same app which created the copy reference and the - /// source user is still linked to the app. - DBFILESSaveCopyReferenceErrorNoPermission, + /// You don't have permission to save the given copy reference. Please make + /// sure this app is same app which created the copy reference and the + /// source user is still linked to the app. + DBFILESSaveCopyReferenceErrorNoPermission, - /// The file referenced by the copy reference cannot be found. - DBFILESSaveCopyReferenceErrorNotFound, + /// The file referenced by the copy reference cannot be found. + DBFILESSaveCopyReferenceErrorNotFound, - /// The operation would involve more than 10,000 files and folders. - DBFILESSaveCopyReferenceErrorTooManyFiles, + /// The operation would involve more than 10,000 files and folders. + DBFILESSaveCopyReferenceErrorTooManyFiles, - /// (no description). - DBFILESSaveCopyReferenceErrorOther, + /// (no description). + DBFILESSaveCopyReferenceErrorOther, }; @@ -193,7 +193,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveCopyReferenceErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceError *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceError` instances. @@ -203,7 +203,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveCopyReferenceErrorTag) { /// /// @return An instantiation of the `DBFILESSaveCopyReferenceError` object. /// -+ (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveCopyReferenceError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceResult.h index ada868766..33c1fd482 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveCopyReferenceResult.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSaveCopyReferenceResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveCopyReferenceResult *)instance; /// /// Deserializes `DBFILESSaveCopyReferenceResult` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSaveCopyReferenceResult` object. /// -+ (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveCopyReferenceResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlArg.h index bebc08850..4e2a4a844 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveUrlArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveUrlArg *)instance; /// /// Deserializes `DBFILESSaveUrlArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSaveUrlArg` object. /// -+ (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveUrlArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlError.h index ebc17eb63..e284e55b9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlError.h @@ -28,21 +28,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSaveUrlErrorTag` enum type represents the possible tag states /// with which the `DBFILESSaveUrlError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSaveUrlErrorTag) { - /// (no description). - DBFILESSaveUrlErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveUrlErrorTag){ + /// (no description). + DBFILESSaveUrlErrorPath, - /// Failed downloading the given URL. - DBFILESSaveUrlErrorDownloadFailed, + /// Failed downloading the given URL. The URL may be password-protected and + /// the password provided was incorrect, or the link may be disabled. + DBFILESSaveUrlErrorDownloadFailed, - /// The given URL is invalid. - DBFILESSaveUrlErrorInvalidUrl, + /// The given URL is invalid. + DBFILESSaveUrlErrorInvalidUrl, - /// The file where the URL is saved to no longer exists. - DBFILESSaveUrlErrorNotFound, + /// The file where the URL is saved to no longer exists. + DBFILESSaveUrlErrorNotFound, - /// (no description). - DBFILESSaveUrlErrorOther, + /// (no description). + DBFILESSaveUrlErrorOther, }; @@ -68,7 +69,8 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlErrorTag) { /// Initializes union class with tag state of "download_failed". /// /// Description of the "download_failed" tag state: Failed downloading the given -/// URL. +/// URL. The URL may be password-protected and the password provided was +/// incorrect, or the link may be disabled. /// /// @return An initialized instance. /// @@ -166,7 +168,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveUrlError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveUrlError *)instance; /// /// Deserializes `DBFILESSaveUrlError` instances. @@ -176,7 +178,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlErrorTag) { /// /// @return An instantiation of the `DBFILESSaveUrlError` object. /// -+ (DBFILESSaveUrlError *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveUrlError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlJobStatus.h index f70792d91..d0a189e1e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlJobStatus.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSaveUrlJobStatusTag` enum type represents the possible tag /// states with which the `DBFILESSaveUrlJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSaveUrlJobStatusTag) { - /// The asynchronous job is still in progress. - DBFILESSaveUrlJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveUrlJobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESSaveUrlJobStatusInProgress, - /// Metadata of the file where the URL is saved to. - DBFILESSaveUrlJobStatusComplete, + /// Metadata of the file where the URL is saved to. + DBFILESSaveUrlJobStatusComplete, - /// (no description). - DBFILESSaveUrlJobStatusFailed, + /// (no description). + DBFILESSaveUrlJobStatusFailed, }; @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveUrlJobStatus *)instance; /// /// Deserializes `DBFILESSaveUrlJobStatus` instances. @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlJobStatusTag) { /// /// @return An instantiation of the `DBFILESSaveUrlJobStatus` object. /// -+ (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveUrlJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlResult.h index 843d2688f..b3ead4c22 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSaveUrlResult.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSaveUrlResultTag` enum type represents the possible tag states /// with which the `DBFILESSaveUrlResult` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSaveUrlResultTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBFILESSaveUrlResultAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSaveUrlResultTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESSaveUrlResultAsyncJobId, - /// Metadata of the file where the URL is saved to. - DBFILESSaveUrlResultComplete, + /// Metadata of the file where the URL is saved to. + DBFILESSaveUrlResultComplete, }; @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlResultTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSaveUrlResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSaveUrlResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSaveUrlResult *)instance; /// /// Deserializes `DBFILESSaveUrlResult` instances. @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBFILESSaveUrlResultTag) { /// /// @return An instantiation of the `DBFILESSaveUrlResult` object. /// -+ (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESSaveUrlResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchArg.h index f7590b7ce..609b252e7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchArg.h @@ -29,9 +29,10 @@ NS_ASSUME_NONNULL_BEGIN /// The path in the user's Dropbox to search. Should probably be a folder. @property (nonatomic, readonly, copy) NSString *path; -/// The string to search for. The search string is split on spaces into multiple -/// tokens. For file name searching, the last token is used for prefix matching -/// (i.e. "bat c" matches "bat cave" but not "batman car"). +/// The string to search for. Query string may be rewritten to improve relevance +/// of results. The string is split on spaces into multiple tokens. For file +/// name searching, the last token is used for prefix matching (i.e. "bat c" +/// matches "bat cave" but not "batman car"). @property (nonatomic, readonly, copy) NSString *query; /// The starting index within the search results (used for paging). @@ -51,9 +52,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param path The path in the user's Dropbox to search. Should probably be a /// folder. -/// @param query The string to search for. The search string is split on spaces -/// into multiple tokens. For file name searching, the last token is used for -/// prefix matching (i.e. "bat c" matches "bat cave" but not "batman car"). +/// @param query The string to search for. Query string may be rewritten to +/// improve relevance of results. The string is split on spaces into multiple +/// tokens. For file name searching, the last token is used for prefix matching +/// (i.e. "bat c" matches "bat cave" but not "batman car"). /// @param start The starting index within the search results (used for paging). /// @param maxResults The maximum number of search results to return. /// @param mode The search mode (filename, filename_and_content, or @@ -74,9 +76,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param path The path in the user's Dropbox to search. Should probably be a /// folder. -/// @param query The string to search for. The search string is split on spaces -/// into multiple tokens. For file name searching, the last token is used for -/// prefix matching (i.e. "bat c" matches "bat cave" but not "batman car"). +/// @param query The string to search for. Query string may be rewritten to +/// improve relevance of results. The string is split on spaces into multiple +/// tokens. For file name searching, the last token is used for prefix matching +/// (i.e. "bat c" matches "bat cave" but not "batman car"). /// /// @return An initialized instance. /// @@ -101,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSearchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchArg *)instance; /// /// Deserializes `DBFILESSearchArg` instances. @@ -111,7 +114,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSearchArg` object. /// -+ (DBFILESSearchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchError.h index 0f1ae027c..3a10cfa36 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchError.h @@ -28,12 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSearchErrorTag` enum type represents the possible tag states /// with which the `DBFILESSearchError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { - /// (no description). - DBFILESSearchErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchErrorTag){ + /// (no description). + DBFILESSearchErrorPath, - /// (no description). - DBFILESSearchErrorOther, + /// (no description). + DBFILESSearchErrorInvalidArgument, + + /// Something went wrong, please try again. + DBFILESSearchErrorInternalError, + + /// (no description). + DBFILESSearchErrorOther, }; @@ -44,6 +50,10 @@ typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *path; +/// (no description). @note Ensure the `isInvalidArgument` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy, nullable) NSString *invalidArgument; + #pragma mark - Constructors /// @@ -55,6 +65,25 @@ typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { /// - (instancetype)initWithPath:(DBFILESLookupError *)path; +/// +/// Initializes union class with tag state of "invalid_argument". +/// +/// @param invalidArgument (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidArgument:(nullable NSString *)invalidArgument; + +/// +/// Initializes union class with tag state of "internal_error". +/// +/// Description of the "internal_error" tag state: Something went wrong, please +/// try again. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInternalError; + /// /// Initializes union class with tag state of "other". /// @@ -76,6 +105,24 @@ typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value +/// "invalid_argument". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `invalidArgument` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "invalid_argument". +/// +- (BOOL)isInvalidArgument; + +/// +/// Retrieves whether the union's current tag state has value "internal_error". +/// +/// @return Whether the union's current tag state has value "internal_error". +/// +- (BOOL)isInternalError; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -107,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSearchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchError *)instance; /// /// Deserializes `DBFILESSearchError` instances. @@ -117,7 +164,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchErrorTag) { /// /// @return An instantiation of the `DBFILESSearchError` object. /// -+ (DBFILESSearchError *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatch.h index 0899691c7..a55d4b494 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatch.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMatch` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchMatch *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchMatch *)instance; /// /// Deserializes `DBFILESSearchMatch` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSearchMatch` object. /// -+ (DBFILESSearchMatch *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchMatch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchFieldOptions.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchFieldOptions.h new file mode 100644 index 000000000..e9d38693e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchFieldOptions.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchMatchFieldOptions; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchMatchFieldOptions` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchMatchFieldOptions : NSObject + +#pragma mark - Instance fields + +/// Whether to include highlight span from file title. +@property (nonatomic, readonly) NSNumber *includeHighlights; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param includeHighlights Whether to include highlight span from file title. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIncludeHighlights:(nullable NSNumber *)includeHighlights; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchMatchFieldOptions` struct. +/// +@interface DBFILESSearchMatchFieldOptionsSerializer : NSObject + +/// +/// Serializes `DBFILESSearchMatchFieldOptions` instances. +/// +/// @param instance An instance of the `DBFILESSearchMatchFieldOptions` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchMatchFieldOptions` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchMatchFieldOptions *)instance; + +/// +/// Deserializes `DBFILESSearchMatchFieldOptions` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchMatchFieldOptions` API object. +/// +/// @return An instantiation of the `DBFILESSearchMatchFieldOptions` object. +/// ++ (DBFILESSearchMatchFieldOptions *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchType.h index 5518e943f..7a9b7c21a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchType.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSearchMatchTypeTag` enum type represents the possible tag states /// with which the `DBFILESSearchMatchType` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSearchMatchTypeTag) { - /// This item was matched on its file or folder name. - DBFILESSearchMatchTypeFilename, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchMatchTypeTag){ + /// This item was matched on its file or folder name. + DBFILESSearchMatchTypeFilename, - /// This item was matched based on its file contents. - DBFILESSearchMatchTypeContent, + /// This item was matched based on its file contents. + DBFILESSearchMatchTypeContent, - /// This item was matched based on both its contents and its file name. - DBFILESSearchMatchTypeBoth, + /// This item was matched based on both its contents and its file name. + DBFILESSearchMatchTypeBoth, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchMatchTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMatchType` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchMatchType *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchMatchType *)instance; /// /// Deserializes `DBFILESSearchMatchType` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchMatchTypeTag) { /// /// @return An instantiation of the `DBFILESSearchMatchType` object. /// -+ (DBFILESSearchMatchType *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchMatchType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchTypeV2.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchTypeV2.h new file mode 100644 index 000000000..9cc08cc71 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchTypeV2.h @@ -0,0 +1,181 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchMatchTypeV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchMatchTypeV2` union. +/// +/// Indicates what type of match was found for a given item. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchMatchTypeV2 : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESSearchMatchTypeV2Tag` enum type represents the possible tag +/// states with which the `DBFILESSearchMatchTypeV2` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchMatchTypeV2Tag){ + /// This item was matched on its file or folder name. + DBFILESSearchMatchTypeV2Filename, + + /// This item was matched based on its file contents. + DBFILESSearchMatchTypeV2FileContent, + + /// This item was matched based on both its contents and its file name. + DBFILESSearchMatchTypeV2FilenameAndContent, + + /// This item was matched on image content. + DBFILESSearchMatchTypeV2ImageContent, + + /// (no description). + DBFILESSearchMatchTypeV2Other, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESSearchMatchTypeV2Tag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "filename". +/// +/// Description of the "filename" tag state: This item was matched on its file +/// or folder name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilename; + +/// +/// Initializes union class with tag state of "file_content". +/// +/// Description of the "file_content" tag state: This item was matched based on +/// its file contents. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileContent; + +/// +/// Initializes union class with tag state of "filename_and_content". +/// +/// Description of the "filename_and_content" tag state: This item was matched +/// based on both its contents and its file name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilenameAndContent; + +/// +/// Initializes union class with tag state of "image_content". +/// +/// Description of the "image_content" tag state: This item was matched on image +/// content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImageContent; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "filename". +/// +/// @return Whether the union's current tag state has value "filename". +/// +- (BOOL)isFilename; + +/// +/// Retrieves whether the union's current tag state has value "file_content". +/// +/// @return Whether the union's current tag state has value "file_content". +/// +- (BOOL)isFileContent; + +/// +/// Retrieves whether the union's current tag state has value +/// "filename_and_content". +/// +/// @return Whether the union's current tag state has value +/// "filename_and_content". +/// +- (BOOL)isFilenameAndContent; + +/// +/// Retrieves whether the union's current tag state has value "image_content". +/// +/// @return Whether the union's current tag state has value "image_content". +/// +- (BOOL)isImageContent; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESSearchMatchTypeV2` union. +/// +@interface DBFILESSearchMatchTypeV2Serializer : NSObject + +/// +/// Serializes `DBFILESSearchMatchTypeV2` instances. +/// +/// @param instance An instance of the `DBFILESSearchMatchTypeV2` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchMatchTypeV2` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchMatchTypeV2 *)instance; + +/// +/// Deserializes `DBFILESSearchMatchTypeV2` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchMatchTypeV2` API object. +/// +/// @return An instantiation of the `DBFILESSearchMatchTypeV2` object. +/// ++ (DBFILESSearchMatchTypeV2 *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchV2.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchV2.h new file mode 100644 index 000000000..9abd21c34 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMatchV2.h @@ -0,0 +1,100 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESHighlightSpan; +@class DBFILESMetadataV2; +@class DBFILESSearchMatchTypeV2; +@class DBFILESSearchMatchV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchMatchV2` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchMatchV2 : NSObject + +#pragma mark - Instance fields + +/// The metadata for the matched file or folder. +@property (nonatomic, readonly) DBFILESMetadataV2 *metadata; + +/// The type of the match. +@property (nonatomic, readonly, nullable) DBFILESSearchMatchTypeV2 *matchType; + +/// The list of HighlightSpan determines which parts of the file title should be +/// highlighted. +@property (nonatomic, readonly, nullable) NSArray *highlightSpans; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param metadata The metadata for the matched file or folder. +/// @param matchType The type of the match. +/// @param highlightSpans The list of HighlightSpan determines which parts of +/// the file title should be highlighted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata + matchType:(nullable DBFILESSearchMatchTypeV2 *)matchType + highlightSpans:(nullable NSArray *)highlightSpans; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param metadata The metadata for the matched file or folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBFILESMetadataV2 *)metadata; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchMatchV2` struct. +/// +@interface DBFILESSearchMatchV2Serializer : NSObject + +/// +/// Serializes `DBFILESSearchMatchV2` instances. +/// +/// @param instance An instance of the `DBFILESSearchMatchV2` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchMatchV2` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchMatchV2 *)instance; + +/// +/// Deserializes `DBFILESSearchMatchV2` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchMatchV2` API object. +/// +/// @return An instantiation of the `DBFILESSearchMatchV2` object. +/// ++ (DBFILESSearchMatchV2 *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMode.h index afee56654..e6b0010fb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMode.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchMode.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESSearchModeTag` enum type represents the possible tag states with /// which the `DBFILESSearchMode` union can exist. -typedef NS_ENUM(NSInteger, DBFILESSearchModeTag) { - /// Search file and folder names. - DBFILESSearchModeFilename, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchModeTag){ + /// Search file and folder names. + DBFILESSearchModeFilename, - /// Search file and folder names as well as file contents. - DBFILESSearchModeFilenameAndContent, + /// Search file and folder names as well as file contents. + DBFILESSearchModeFilenameAndContent, - /// Search for deleted file and folder names. - DBFILESSearchModeDeletedFilename, + /// Search for deleted file and folder names. + DBFILESSearchModeDeletedFilename, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchModeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESSearchMode` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchMode *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchMode *)instance; /// /// Deserializes `DBFILESSearchMode` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBFILESSearchModeTag) { /// /// @return An instantiation of the `DBFILESSearchMode` object. /// -+ (DBFILESSearchMode *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchMode *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOptions.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOptions.h new file mode 100644 index 000000000..b687015fd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOptions.h @@ -0,0 +1,130 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESFileCategory; +@class DBFILESFileStatus; +@class DBFILESSearchOptions; +@class DBFILESSearchOrderBy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchOptions` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchOptions : NSObject + +#pragma mark - Instance fields + +/// Scopes the search to a path in the user's Dropbox. Searches the entire +/// Dropbox if not specified. +@property (nonatomic, readonly, copy, nullable) NSString *path; + +/// The maximum number of search results to return. +@property (nonatomic, readonly) NSNumber *maxResults; + +/// Specified property of the order of search results. By default, results are +/// sorted by relevance. +@property (nonatomic, readonly, nullable) DBFILESSearchOrderBy *orderBy; + +/// Restricts search to the given file status. +@property (nonatomic, readonly) DBFILESFileStatus *fileStatus; + +/// Restricts search to only match on filenames. +@property (nonatomic, readonly) NSNumber *filenameOnly; + +/// Restricts search to only the extensions specified. Only supported for active +/// file search. +@property (nonatomic, readonly, nullable) NSArray *fileExtensions; + +/// Restricts search to only the file categories specified. Only supported for +/// active file search. +@property (nonatomic, readonly, nullable) NSArray *fileCategories; + +/// Restricts results to the given account id. +@property (nonatomic, readonly, copy, nullable) NSString *accountId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Scopes the search to a path in the user's Dropbox. Searches the +/// entire Dropbox if not specified. +/// @param maxResults The maximum number of search results to return. +/// @param orderBy Specified property of the order of search results. By +/// default, results are sorted by relevance. +/// @param fileStatus Restricts search to the given file status. +/// @param filenameOnly Restricts search to only match on filenames. +/// @param fileExtensions Restricts search to only the extensions specified. +/// Only supported for active file search. +/// @param fileCategories Restricts search to only the file categories +/// specified. Only supported for active file search. +/// @param accountId Restricts results to the given account id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(nullable NSString *)path + maxResults:(nullable NSNumber *)maxResults + orderBy:(nullable DBFILESSearchOrderBy *)orderBy + fileStatus:(nullable DBFILESFileStatus *)fileStatus + filenameOnly:(nullable NSNumber *)filenameOnly + fileExtensions:(nullable NSArray *)fileExtensions + fileCategories:(nullable NSArray *)fileCategories + accountId:(nullable NSString *)accountId; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchOptions` struct. +/// +@interface DBFILESSearchOptionsSerializer : NSObject + +/// +/// Serializes `DBFILESSearchOptions` instances. +/// +/// @param instance An instance of the `DBFILESSearchOptions` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchOptions` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchOptions *)instance; + +/// +/// Deserializes `DBFILESSearchOptions` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchOptions` API object. +/// +/// @return An instantiation of the `DBFILESSearchOptions` object. +/// ++ (DBFILESSearchOptions *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOrderBy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOrderBy.h new file mode 100644 index 000000000..cff5bba63 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchOrderBy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchOrderBy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchOrderBy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchOrderBy : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESSearchOrderByTag` enum type represents the possible tag states +/// with which the `DBFILESSearchOrderBy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSearchOrderByTag){ + /// (no description). + DBFILESSearchOrderByRelevance, + + /// (no description). + DBFILESSearchOrderByLastModifiedTime, + + /// (no description). + DBFILESSearchOrderByOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESSearchOrderByTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "relevance". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRelevance; + +/// +/// Initializes union class with tag state of "last_modified_time". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLastModifiedTime; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "relevance". +/// +/// @return Whether the union's current tag state has value "relevance". +/// +- (BOOL)isRelevance; + +/// +/// Retrieves whether the union's current tag state has value +/// "last_modified_time". +/// +/// @return Whether the union's current tag state has value +/// "last_modified_time". +/// +- (BOOL)isLastModifiedTime; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESSearchOrderBy` union. +/// +@interface DBFILESSearchOrderBySerializer : NSObject + +/// +/// Serializes `DBFILESSearchOrderBy` instances. +/// +/// @param instance An instance of the `DBFILESSearchOrderBy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchOrderBy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchOrderBy *)instance; + +/// +/// Deserializes `DBFILESSearchOrderBy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchOrderBy` API object. +/// +/// @return An instantiation of the `DBFILESSearchOrderBy` object. +/// ++ (DBFILESSearchOrderBy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchResult.h index 4d80fe25d..3fbdd3de0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchResult.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSearchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSearchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSearchResult *)instance; /// /// Deserializes `DBFILESSearchResult` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSearchResult` object. /// -+ (DBFILESSearchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESSearchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Arg.h new file mode 100644 index 000000000..f23a0f1fe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Arg.h @@ -0,0 +1,106 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchMatchFieldOptions; +@class DBFILESSearchOptions; +@class DBFILESSearchV2Arg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchV2Arg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchV2Arg : NSObject + +#pragma mark - Instance fields + +/// The string to search for. May match across multiple fields based on the +/// request arguments. +@property (nonatomic, readonly, copy) NSString *query; + +/// Options for more targeted search results. +@property (nonatomic, readonly, nullable) DBFILESSearchOptions *options; + +/// Options for search results match fields. +@property (nonatomic, readonly, nullable) DBFILESSearchMatchFieldOptions *matchFieldOptions; + +/// Deprecated and moved this option to SearchMatchFieldOptions. +@property (nonatomic, readonly, nullable) NSNumber *includeHighlights; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param query The string to search for. May match across multiple fields +/// based on the request arguments. +/// @param options Options for more targeted search results. +/// @param matchFieldOptions Options for search results match fields. +/// @param includeHighlights Deprecated and moved this option to +/// SearchMatchFieldOptions. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithQuery:(NSString *)query + options:(nullable DBFILESSearchOptions *)options + matchFieldOptions:(nullable DBFILESSearchMatchFieldOptions *)matchFieldOptions + includeHighlights:(nullable NSNumber *)includeHighlights; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param query The string to search for. May match across multiple fields +/// based on the request arguments. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithQuery:(NSString *)query; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchV2Arg` struct. +/// +@interface DBFILESSearchV2ArgSerializer : NSObject + +/// +/// Serializes `DBFILESSearchV2Arg` instances. +/// +/// @param instance An instance of the `DBFILESSearchV2Arg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchV2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchV2Arg *)instance; + +/// +/// Deserializes `DBFILESSearchV2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchV2Arg` API object. +/// +/// @return An instantiation of the `DBFILESSearchV2Arg` object. +/// ++ (DBFILESSearchV2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2ContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2ContinueArg.h new file mode 100644 index 000000000..50c9992bf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2ContinueArg.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchV2ContinueArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchV2ContinueArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchV2ContinueArg : NSObject + +#pragma mark - Instance fields + +/// The cursor returned by your last call to `search`. Used to fetch the next +/// page of results. +@property (nonatomic, readonly, copy) NSString *cursor; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param cursor The cursor returned by your last call to `search`. Used to +/// fetch the next page of results. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCursor:(NSString *)cursor; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchV2ContinueArg` struct. +/// +@interface DBFILESSearchV2ContinueArgSerializer : NSObject + +/// +/// Serializes `DBFILESSearchV2ContinueArg` instances. +/// +/// @param instance An instance of the `DBFILESSearchV2ContinueArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchV2ContinueArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchV2ContinueArg *)instance; + +/// +/// Deserializes `DBFILESSearchV2ContinueArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchV2ContinueArg` API object. +/// +/// @return An instantiation of the `DBFILESSearchV2ContinueArg` object. +/// ++ (DBFILESSearchV2ContinueArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Result.h new file mode 100644 index 000000000..6e18daebc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSearchV2Result.h @@ -0,0 +1,103 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSearchMatchV2; +@class DBFILESSearchV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SearchV2Result` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSearchV2Result : NSObject + +#pragma mark - Instance fields + +/// A list (possibly empty) of matches for the query. +@property (nonatomic, readonly) NSArray *matches; + +/// Used for paging. If true, indicates there is another page of results +/// available that can be fetched by calling `searchContinue` with the cursor. +@property (nonatomic, readonly) NSNumber *hasMore; + +/// Pass the cursor into `searchContinue` to fetch the next page of results. +@property (nonatomic, readonly, copy, nullable) NSString *cursor; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param matches A list (possibly empty) of matches for the query. +/// @param hasMore Used for paging. If true, indicates there is another page of +/// results available that can be fetched by calling `searchContinue` with the +/// cursor. +/// @param cursor Pass the cursor into `searchContinue` to fetch the next page +/// of results. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMatches:(NSArray *)matches + hasMore:(NSNumber *)hasMore + cursor:(nullable NSString *)cursor; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param matches A list (possibly empty) of matches for the query. +/// @param hasMore Used for paging. If true, indicates there is another page of +/// results available that can be fetched by calling `searchContinue` with the +/// cursor. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMatches:(NSArray *)matches hasMore:(NSNumber *)hasMore; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SearchV2Result` struct. +/// +@interface DBFILESSearchV2ResultSerializer : NSObject + +/// +/// Serializes `DBFILESSearchV2Result` instances. +/// +/// @param instance An instance of the `DBFILESSearchV2Result` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSearchV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSearchV2Result *)instance; + +/// +/// Deserializes `DBFILESSearchV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSearchV2Result` API object. +/// +/// @return An instantiation of the `DBFILESSearchV2Result` object. +/// ++ (DBFILESSearchV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLink.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLink.h index 3a769f8cb..c4fc1b0a7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLink.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLink.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSharedLink` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSharedLink *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSharedLink *)instance; /// /// Deserializes `DBFILESSharedLink` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSharedLink` object. /// -+ (DBFILESSharedLink *)deserialize:(NSDictionary *)dict; ++ (DBFILESSharedLink *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLinkFileInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLinkFileInfo.h new file mode 100644 index 000000000..bdcf75f7e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharedLinkFileInfo.h @@ -0,0 +1,104 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSharedLinkFileInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkFileInfo` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSharedLinkFileInfo : NSObject + +#pragma mark - Instance fields + +/// The shared link corresponding to either a file or shared link to a folder. +/// If it is for a folder shared link, we use the path param to determine for +/// which file in the folder the view is for. +@property (nonatomic, readonly, copy) NSString *url; + +/// The path corresponding to a file in a shared link to a folder. Required for +/// shared links to folders. +@property (nonatomic, readonly, copy, nullable) NSString *path; + +/// Password for the shared link. Required for password-protected shared links +/// to files unless it can be read from a cookie. +@property (nonatomic, readonly, copy, nullable) NSString *password; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param url The shared link corresponding to either a file or shared link to +/// a folder. If it is for a folder shared link, we use the path param to +/// determine for which file in the folder the view is for. +/// @param path The path corresponding to a file in a shared link to a folder. +/// Required for shared links to folders. +/// @param password Password for the shared link. Required for +/// password-protected shared links to files unless it can be read from a +/// cookie. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUrl:(NSString *)url path:(nullable NSString *)path password:(nullable NSString *)password; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param url The shared link corresponding to either a file or shared link to +/// a folder. If it is for a folder shared link, we use the path param to +/// determine for which file in the folder the view is for. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUrl:(NSString *)url; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkFileInfo` struct. +/// +@interface DBFILESSharedLinkFileInfoSerializer : NSObject + +/// +/// Serializes `DBFILESSharedLinkFileInfo` instances. +/// +/// @param instance An instance of the `DBFILESSharedLinkFileInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSharedLinkFileInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSharedLinkFileInfo *)instance; + +/// +/// Deserializes `DBFILESSharedLinkFileInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSharedLinkFileInfo` API object. +/// +/// @return An instantiation of the `DBFILESSharedLinkFileInfo` object. +/// ++ (DBFILESSharedLinkFileInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharingInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharingInfo.h index d4946ec85..dd648aa5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharingInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSharingInfo.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESSharingInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESSharingInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESSharingInfo *)instance; /// /// Deserializes `DBFILESSharingInfo` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESSharingInfo` object. /// -+ (DBFILESSharingInfo *)deserialize:(NSDictionary *)dict; ++ (DBFILESSharingInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSingleUserLock.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSingleUserLock.h new file mode 100644 index 000000000..b7f743907 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSingleUserLock.h @@ -0,0 +1,97 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSingleUserLock; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SingleUserLock` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSingleUserLock : NSObject + +#pragma mark - Instance fields + +/// The time the lock was created. +@property (nonatomic, readonly) NSDate *created; + +/// The account ID of the lock holder if known. +@property (nonatomic, readonly, copy) NSString *lockHolderAccountId; + +/// The id of the team of the account holder if it exists. +@property (nonatomic, readonly, copy, nullable) NSString *lockHolderTeamId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param created The time the lock was created. +/// @param lockHolderAccountId The account ID of the lock holder if known. +/// @param lockHolderTeamId The id of the team of the account holder if it +/// exists. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreated:(NSDate *)created + lockHolderAccountId:(NSString *)lockHolderAccountId + lockHolderTeamId:(nullable NSString *)lockHolderTeamId; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param created The time the lock was created. +/// @param lockHolderAccountId The account ID of the lock holder if known. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreated:(NSDate *)created lockHolderAccountId:(NSString *)lockHolderAccountId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SingleUserLock` struct. +/// +@interface DBFILESSingleUserLockSerializer : NSObject + +/// +/// Serializes `DBFILESSingleUserLock` instances. +/// +/// @param instance An instance of the `DBFILESSingleUserLock` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSingleUserLock` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSingleUserLock *)instance; + +/// +/// Deserializes `DBFILESSingleUserLock` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSingleUserLock` API object. +/// +/// @return An instantiation of the `DBFILESSingleUserLock` object. +/// ++ (DBFILESSingleUserLock *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSymlinkInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSymlinkInfo.h new file mode 100644 index 000000000..e69cecd53 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSymlinkInfo.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSymlinkInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SymlinkInfo` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSymlinkInfo : NSObject + +#pragma mark - Instance fields + +/// The target this symlink points to. +@property (nonatomic, readonly, copy) NSString *target; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param target The target this symlink points to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTarget:(NSString *)target; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SymlinkInfo` struct. +/// +@interface DBFILESSymlinkInfoSerializer : NSObject + +/// +/// Serializes `DBFILESSymlinkInfo` instances. +/// +/// @param instance An instance of the `DBFILESSymlinkInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSymlinkInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSymlinkInfo *)instance; + +/// +/// Deserializes `DBFILESSymlinkInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSymlinkInfo` API object. +/// +/// @return An instantiation of the `DBFILESSymlinkInfo` object. +/// ++ (DBFILESSymlinkInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSetting.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSetting.h new file mode 100644 index 000000000..857dcbd43 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSetting.h @@ -0,0 +1,165 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSyncSetting; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SyncSetting` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSyncSetting : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESSyncSettingTag` enum type represents the possible tag states +/// with which the `DBFILESSyncSetting` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSyncSettingTag){ + /// On first sync to members' computers, the specified folder will follow + /// its parent folder's setting or otherwise follow default sync behavior. + DBFILESSyncSettingDefault_, + + /// On first sync to members' computers, the specified folder will be set to + /// not sync with selective sync. + DBFILESSyncSettingNotSynced, + + /// The specified folder's not_synced setting is inactive due to its + /// location or other configuration changes. It will follow its parent + /// folder's setting. + DBFILESSyncSettingNotSyncedInactive, + + /// (no description). + DBFILESSyncSettingOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESSyncSettingTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: On first sync to members' computers, +/// the specified folder will follow its parent folder's setting or otherwise +/// follow default sync behavior. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "not_synced". +/// +/// Description of the "not_synced" tag state: On first sync to members' +/// computers, the specified folder will be set to not sync with selective sync. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotSynced; + +/// +/// Initializes union class with tag state of "not_synced_inactive". +/// +/// Description of the "not_synced_inactive" tag state: The specified folder's +/// not_synced setting is inactive due to its location or other configuration +/// changes. It will follow its parent folder's setting. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotSyncedInactive; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "not_synced". +/// +/// @return Whether the union's current tag state has value "not_synced". +/// +- (BOOL)isNotSynced; + +/// +/// Retrieves whether the union's current tag state has value +/// "not_synced_inactive". +/// +/// @return Whether the union's current tag state has value +/// "not_synced_inactive". +/// +- (BOOL)isNotSyncedInactive; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESSyncSetting` union. +/// +@interface DBFILESSyncSettingSerializer : NSObject + +/// +/// Serializes `DBFILESSyncSetting` instances. +/// +/// @param instance An instance of the `DBFILESSyncSetting` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSyncSetting` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSyncSetting *)instance; + +/// +/// Deserializes `DBFILESSyncSetting` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSyncSetting` API object. +/// +/// @return An instantiation of the `DBFILESSyncSetting` object. +/// ++ (DBFILESSyncSetting *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingArg.h new file mode 100644 index 000000000..822088540 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingArg.h @@ -0,0 +1,140 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSyncSettingArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SyncSettingArg` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSyncSettingArg : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESSyncSettingArgTag` enum type represents the possible tag states +/// with which the `DBFILESSyncSettingArg` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSyncSettingArgTag){ + /// On first sync to members' computers, the specified folder will follow + /// its parent folder's setting or otherwise follow default sync behavior. + DBFILESSyncSettingArgDefault_, + + /// On first sync to members' computers, the specified folder will be set to + /// not sync with selective sync. + DBFILESSyncSettingArgNotSynced, + + /// (no description). + DBFILESSyncSettingArgOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESSyncSettingArgTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: On first sync to members' computers, +/// the specified folder will follow its parent folder's setting or otherwise +/// follow default sync behavior. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "not_synced". +/// +/// Description of the "not_synced" tag state: On first sync to members' +/// computers, the specified folder will be set to not sync with selective sync. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotSynced; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "not_synced". +/// +/// @return Whether the union's current tag state has value "not_synced". +/// +- (BOOL)isNotSynced; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESSyncSettingArg` union. +/// +@interface DBFILESSyncSettingArgSerializer : NSObject + +/// +/// Serializes `DBFILESSyncSettingArg` instances. +/// +/// @param instance An instance of the `DBFILESSyncSettingArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSyncSettingArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSyncSettingArg *)instance; + +/// +/// Deserializes `DBFILESSyncSettingArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSyncSettingArg` API object. +/// +/// @return An instantiation of the `DBFILESSyncSettingArg` object. +/// ++ (DBFILESSyncSettingArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingsError.h new file mode 100644 index 000000000..15be7de06 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESSyncSettingsError.h @@ -0,0 +1,169 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLookupError; +@class DBFILESSyncSettingsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SyncSettingsError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESSyncSettingsError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESSyncSettingsErrorTag` enum type represents the possible tag +/// states with which the `DBFILESSyncSettingsError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESSyncSettingsErrorTag){ + /// (no description). + DBFILESSyncSettingsErrorPath, + + /// Setting this combination of sync settings simultaneously is not + /// supported. + DBFILESSyncSettingsErrorUnsupportedCombination, + + /// The specified configuration is not supported. + DBFILESSyncSettingsErrorUnsupportedConfiguration, + + /// (no description). + DBFILESSyncSettingsErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESSyncSettingsErrorTag tag; + +/// (no description). @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// @param path (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "unsupported_combination". +/// +/// Description of the "unsupported_combination" tag state: Setting this +/// combination of sync settings simultaneously is not supported. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedCombination; + +/// +/// Initializes union class with tag state of "unsupported_configuration". +/// +/// Description of the "unsupported_configuration" tag state: The specified +/// configuration is not supported. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedConfiguration; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_combination". +/// +/// @return Whether the union's current tag state has value +/// "unsupported_combination". +/// +- (BOOL)isUnsupportedCombination; + +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_configuration". +/// +/// @return Whether the union's current tag state has value +/// "unsupported_configuration". +/// +- (BOOL)isUnsupportedConfiguration; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESSyncSettingsError` union. +/// +@interface DBFILESSyncSettingsErrorSerializer : NSObject + +/// +/// Serializes `DBFILESSyncSettingsError` instances. +/// +/// @param instance An instance of the `DBFILESSyncSettingsError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESSyncSettingsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESSyncSettingsError *)instance; + +/// +/// Deserializes `DBFILESSyncSettingsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESSyncSettingsError` API object. +/// +/// @return An instantiation of the `DBFILESSyncSettingsError` object. +/// ++ (DBFILESSyncSettingsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESTag.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESTag.h new file mode 100644 index 000000000..4c31f5946 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESTag.h @@ -0,0 +1,131 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESTag; +@class DBFILESUserGeneratedTag; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `Tag` union. +/// +/// Tag that can be added in multiple ways. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESTag : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESTagTag` enum type represents the possible tag states with which +/// the `DBFILESTag` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESTagTag){ + /// Tag generated by the user. + DBFILESTagUserGeneratedTag, + + /// (no description). + DBFILESTagOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESTagTag tag; + +/// Tag generated by the user. @note Ensure the `isUserGeneratedTag` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESUserGeneratedTag *userGeneratedTag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_generated_tag". +/// +/// Description of the "user_generated_tag" tag state: Tag generated by the +/// user. +/// +/// @param userGeneratedTag Tag generated by the user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserGeneratedTag:(DBFILESUserGeneratedTag *)userGeneratedTag; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "user_generated_tag". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userGeneratedTag` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_generated_tag". +/// +- (BOOL)isUserGeneratedTag; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESTag` union. +/// +@interface DBFILESTagSerializer : NSObject + +/// +/// Serializes `DBFILESTag` instances. +/// +/// @param instance An instance of the `DBFILESTag` API object. +/// +/// @return A json-compatible dictionary representation of the `DBFILESTag` API +/// object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESTag *)instance; + +/// +/// Deserializes `DBFILESTag` instances. +/// +/// @param dict A json-compatible dictionary representation of the `DBFILESTag` +/// API object. +/// +/// @return An instantiation of the `DBFILESTag` object. +/// ++ (DBFILESTag *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailArg.h index 65e146d3b..eb0a22c89 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailArg.h @@ -10,6 +10,7 @@ @class DBFILESThumbnailArg; @class DBFILESThumbnailFormat; +@class DBFILESThumbnailMode; @class DBFILESThumbnailSize; NS_ASSUME_NONNULL_BEGIN @@ -38,6 +39,9 @@ NS_ASSUME_NONNULL_BEGIN /// The size for the thumbnail image. @property (nonatomic, readonly) DBFILESThumbnailSize *size; +/// How to resize and crop the image to achieve the desired size. +@property (nonatomic, readonly) DBFILESThumbnailMode *mode; + #pragma mark - Constructors /// @@ -48,12 +52,14 @@ NS_ASSUME_NONNULL_BEGIN /// images that are photos, jpeg should be preferred, while png is better for /// screenshots and digital arts. /// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(NSString *)path format:(nullable DBFILESThumbnailFormat *)format - size:(nullable DBFILESThumbnailSize *)size; + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -84,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESThumbnailArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailArg *)instance; /// /// Deserializes `DBFILESThumbnailArg` instances. @@ -94,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESThumbnailArg` object. /// -+ (DBFILESThumbnailArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESThumbnailArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailError.h index 0ed08b8d4..fdfff08c6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailError.h @@ -28,18 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESThumbnailErrorTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESThumbnailErrorTag) { - /// An error occurs when downloading metadata for the image. - DBFILESThumbnailErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailErrorTag){ + /// An error occurs when downloading metadata for the image. + DBFILESThumbnailErrorPath, - /// The file extension doesn't allow conversion to a thumbnail. - DBFILESThumbnailErrorUnsupportedExtension, + /// The file extension doesn't allow conversion to a thumbnail. + DBFILESThumbnailErrorUnsupportedExtension, - /// The image cannot be converted to a thumbnail. - DBFILESThumbnailErrorUnsupportedImage, + /// The image cannot be converted to a thumbnail. + DBFILESThumbnailErrorUnsupportedImage, - /// An error occurs during thumbnail conversion. - DBFILESThumbnailErrorConversionError, + /// An error occurs during thumbnail conversion. + DBFILESThumbnailErrorConversionError, }; @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESThumbnailError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailError *)instance; /// /// Deserializes `DBFILESThumbnailError` instances. @@ -168,7 +168,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailErrorTag) { /// /// @return An instantiation of the `DBFILESThumbnailError` object. /// -+ (DBFILESThumbnailError *)deserialize:(NSDictionary *)dict; ++ (DBFILESThumbnailError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailFormat.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailFormat.h index 7b132567c..93d9bb736 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailFormat.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailFormat.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESThumbnailFormatTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailFormat` union can exist. -typedef NS_ENUM(NSInteger, DBFILESThumbnailFormatTag) { - /// (no description). - DBFILESThumbnailFormatJpeg, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailFormatTag){ + /// (no description). + DBFILESThumbnailFormatJpeg, - /// (no description). - DBFILESThumbnailFormatPng, + /// (no description). + DBFILESThumbnailFormatPng, }; @@ -97,7 +97,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailFormatTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailFormat` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESThumbnailFormat *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailFormat *)instance; /// /// Deserializes `DBFILESThumbnailFormat` instances. @@ -107,7 +107,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailFormatTag) { /// /// @return An instantiation of the `DBFILESThumbnailFormat` object. /// -+ (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)dict; ++ (DBFILESThumbnailFormat *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailMode.h new file mode 100644 index 000000000..702418907 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailMode.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESThumbnailMode; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ThumbnailMode` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESThumbnailMode : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESThumbnailModeTag` enum type represents the possible tag states +/// with which the `DBFILESThumbnailMode` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailModeTag){ + /// Scale down the image to fit within the given size. + DBFILESThumbnailModeStrict, + + /// Scale down the image to fit within the given size or its transpose. + DBFILESThumbnailModeBestfit, + + /// Scale down the image to completely cover the given size or its + /// transpose. + DBFILESThumbnailModeFitoneBestfit, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESThumbnailModeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "strict". +/// +/// Description of the "strict" tag state: Scale down the image to fit within +/// the given size. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStrict; + +/// +/// Initializes union class with tag state of "bestfit". +/// +/// Description of the "bestfit" tag state: Scale down the image to fit within +/// the given size or its transpose. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBestfit; + +/// +/// Initializes union class with tag state of "fitone_bestfit". +/// +/// Description of the "fitone_bestfit" tag state: Scale down the image to +/// completely cover the given size or its transpose. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFitoneBestfit; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "strict". +/// +/// @return Whether the union's current tag state has value "strict". +/// +- (BOOL)isStrict; + +/// +/// Retrieves whether the union's current tag state has value "bestfit". +/// +/// @return Whether the union's current tag state has value "bestfit". +/// +- (BOOL)isBestfit; + +/// +/// Retrieves whether the union's current tag state has value "fitone_bestfit". +/// +/// @return Whether the union's current tag state has value "fitone_bestfit". +/// +- (BOOL)isFitoneBestfit; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESThumbnailMode` union. +/// +@interface DBFILESThumbnailModeSerializer : NSObject + +/// +/// Serializes `DBFILESThumbnailMode` instances. +/// +/// @param instance An instance of the `DBFILESThumbnailMode` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESThumbnailMode` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailMode *)instance; + +/// +/// Deserializes `DBFILESThumbnailMode` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESThumbnailMode` API object. +/// +/// @return An instantiation of the `DBFILESThumbnailMode` object. +/// ++ (DBFILESThumbnailMode *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailSize.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailSize.h index 708420c49..234d7deba 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailSize.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailSize.h @@ -27,21 +27,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESThumbnailSizeTag` enum type represents the possible tag states /// with which the `DBFILESThumbnailSize` union can exist. -typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { - /// 32 by 32 px. - DBFILESThumbnailSizeW32h32, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailSizeTag){ + /// 32 by 32 px. + DBFILESThumbnailSizeW32h32, - /// 64 by 64 px. - DBFILESThumbnailSizeW64h64, + /// 64 by 64 px. + DBFILESThumbnailSizeW64h64, - /// 128 by 128 px. - DBFILESThumbnailSizeW128h128, + /// 128 by 128 px. + DBFILESThumbnailSizeW128h128, - /// 640 by 480 px. - DBFILESThumbnailSizeW640h480, + /// 256 by 256 px. + DBFILESThumbnailSizeW256h256, - /// 1024 by 768. - DBFILESThumbnailSizeW1024h768, + /// 480 by 320 px. + DBFILESThumbnailSizeW480h320, + + /// 640 by 480 px. + DBFILESThumbnailSizeW640h480, + + /// 960 by 640 px. + DBFILESThumbnailSizeW960h640, + + /// 1024 by 768 px. + DBFILESThumbnailSizeW1024h768, + + /// 2048 by 1536 px. + DBFILESThumbnailSizeW2048h1536, }; @@ -77,6 +89,24 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// - (instancetype)initWithW128h128; +/// +/// Initializes union class with tag state of "w256h256". +/// +/// Description of the "w256h256" tag state: 256 by 256 px. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithW256h256; + +/// +/// Initializes union class with tag state of "w480h320". +/// +/// Description of the "w480h320" tag state: 480 by 320 px. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithW480h320; + /// /// Initializes union class with tag state of "w640h480". /// @@ -86,15 +116,33 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// - (instancetype)initWithW640h480; +/// +/// Initializes union class with tag state of "w960h640". +/// +/// Description of the "w960h640" tag state: 960 by 640 px. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithW960h640; + /// /// Initializes union class with tag state of "w1024h768". /// -/// Description of the "w1024h768" tag state: 1024 by 768. +/// Description of the "w1024h768" tag state: 1024 by 768 px. /// /// @return An initialized instance. /// - (instancetype)initWithW1024h768; +/// +/// Initializes union class with tag state of "w2048h1536". +/// +/// Description of the "w2048h1536" tag state: 2048 by 1536 px. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithW2048h1536; + - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods @@ -120,6 +168,20 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// - (BOOL)isW128h128; +/// +/// Retrieves whether the union's current tag state has value "w256h256". +/// +/// @return Whether the union's current tag state has value "w256h256". +/// +- (BOOL)isW256h256; + +/// +/// Retrieves whether the union's current tag state has value "w480h320". +/// +/// @return Whether the union's current tag state has value "w480h320". +/// +- (BOOL)isW480h320; + /// /// Retrieves whether the union's current tag state has value "w640h480". /// @@ -127,6 +189,13 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// - (BOOL)isW640h480; +/// +/// Retrieves whether the union's current tag state has value "w960h640". +/// +/// @return Whether the union's current tag state has value "w960h640". +/// +- (BOOL)isW960h640; + /// /// Retrieves whether the union's current tag state has value "w1024h768". /// @@ -134,6 +203,13 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// - (BOOL)isW1024h768; +/// +/// Retrieves whether the union's current tag state has value "w2048h1536". +/// +/// @return Whether the union's current tag state has value "w2048h1536". +/// +- (BOOL)isW2048h1536; + /// /// Retrieves string value of union's current tag state. /// @@ -158,7 +234,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESThumbnailSize` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESThumbnailSize *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailSize *)instance; /// /// Deserializes `DBFILESThumbnailSize` instances. @@ -168,7 +244,7 @@ typedef NS_ENUM(NSInteger, DBFILESThumbnailSizeTag) { /// /// @return An instantiation of the `DBFILESThumbnailSize` object. /// -+ (DBFILESThumbnailSize *)deserialize:(NSDictionary *)dict; ++ (DBFILESThumbnailSize *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Arg.h new file mode 100644 index 000000000..f8ff9a295 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Arg.h @@ -0,0 +1,114 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESPathOrLink; +@class DBFILESThumbnailFormat; +@class DBFILESThumbnailMode; +@class DBFILESThumbnailSize; +@class DBFILESThumbnailV2Arg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ThumbnailV2Arg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESThumbnailV2Arg : NSObject + +#pragma mark - Instance fields + +/// Information specifying which file to preview. This could be a path to a +/// file, a shared link pointing to a file, or a shared link pointing to a +/// folder, with a relative path. +@property (nonatomic, readonly) DBFILESPathOrLink *resource; + +/// The format for the thumbnail image, jpeg (default) or png. For images that +/// are photos, jpeg should be preferred, while png is better for screenshots +/// and digital arts. +@property (nonatomic, readonly) DBFILESThumbnailFormat *format; + +/// The size for the thumbnail image. +@property (nonatomic, readonly) DBFILESThumbnailSize *size; + +/// How to resize and crop the image to achieve the desired size. +@property (nonatomic, readonly) DBFILESThumbnailMode *mode; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param resource Information specifying which file to preview. This could be +/// a path to a file, a shared link pointing to a file, or a shared link +/// pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For +/// images that are photos, jpeg should be preferred, while png is better for +/// screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResource:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param resource Information specifying which file to preview. This could be +/// a path to a file, a shared link pointing to a file, or a shared link +/// pointing to a folder, with a relative path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResource:(DBFILESPathOrLink *)resource; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ThumbnailV2Arg` struct. +/// +@interface DBFILESThumbnailV2ArgSerializer : NSObject + +/// +/// Serializes `DBFILESThumbnailV2Arg` instances. +/// +/// @param instance An instance of the `DBFILESThumbnailV2Arg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESThumbnailV2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailV2Arg *)instance; + +/// +/// Deserializes `DBFILESThumbnailV2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESThumbnailV2Arg` API object. +/// +/// @return An instantiation of the `DBFILESThumbnailV2Arg` object. +/// ++ (DBFILESThumbnailV2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Error.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Error.h new file mode 100644 index 000000000..d9da40a6d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESThumbnailV2Error.h @@ -0,0 +1,231 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESLookupError; +@class DBFILESThumbnailV2Error; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ThumbnailV2Error` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESThumbnailV2Error : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESThumbnailV2ErrorTag` enum type represents the possible tag +/// states with which the `DBFILESThumbnailV2Error` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESThumbnailV2ErrorTag){ + /// An error occurred when downloading metadata for the image. + DBFILESThumbnailV2ErrorPath, + + /// The file extension doesn't allow conversion to a thumbnail. + DBFILESThumbnailV2ErrorUnsupportedExtension, + + /// The image cannot be converted to a thumbnail. + DBFILESThumbnailV2ErrorUnsupportedImage, + + /// An error occurred during thumbnail conversion. + DBFILESThumbnailV2ErrorConversionError, + + /// Access to this shared link is forbidden. + DBFILESThumbnailV2ErrorAccessDenied, + + /// The shared link does not exist. + DBFILESThumbnailV2ErrorNotFound, + + /// (no description). + DBFILESThumbnailV2ErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESThumbnailV2ErrorTag tag; + +/// An error occurred when downloading metadata for the image. @note Ensure the +/// `isPath` method returns true before accessing, otherwise a runtime exception +/// will be raised. +@property (nonatomic, readonly) DBFILESLookupError *path; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "path". +/// +/// Description of the "path" tag state: An error occurred when downloading +/// metadata for the image. +/// +/// @param path An error occurred when downloading metadata for the image. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(DBFILESLookupError *)path; + +/// +/// Initializes union class with tag state of "unsupported_extension". +/// +/// Description of the "unsupported_extension" tag state: The file extension +/// doesn't allow conversion to a thumbnail. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedExtension; + +/// +/// Initializes union class with tag state of "unsupported_image". +/// +/// Description of the "unsupported_image" tag state: The image cannot be +/// converted to a thumbnail. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnsupportedImage; + +/// +/// Initializes union class with tag state of "conversion_error". +/// +/// Description of the "conversion_error" tag state: An error occurred during +/// thumbnail conversion. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConversionError; + +/// +/// Initializes union class with tag state of "access_denied". +/// +/// Description of the "access_denied" tag state: Access to this shared link is +/// forbidden. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessDenied; + +/// +/// Initializes union class with tag state of "not_found". +/// +/// Description of the "not_found" tag state: The shared link does not exist. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotFound; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "path". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `path` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "path". +/// +- (BOOL)isPath; + +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_extension". +/// +/// @return Whether the union's current tag state has value +/// "unsupported_extension". +/// +- (BOOL)isUnsupportedExtension; + +/// +/// Retrieves whether the union's current tag state has value +/// "unsupported_image". +/// +/// @return Whether the union's current tag state has value "unsupported_image". +/// +- (BOOL)isUnsupportedImage; + +/// +/// Retrieves whether the union's current tag state has value +/// "conversion_error". +/// +/// @return Whether the union's current tag state has value "conversion_error". +/// +- (BOOL)isConversionError; + +/// +/// Retrieves whether the union's current tag state has value "access_denied". +/// +/// @return Whether the union's current tag state has value "access_denied". +/// +- (BOOL)isAccessDenied; + +/// +/// Retrieves whether the union's current tag state has value "not_found". +/// +/// @return Whether the union's current tag state has value "not_found". +/// +- (BOOL)isNotFound; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESThumbnailV2Error` union. +/// +@interface DBFILESThumbnailV2ErrorSerializer : NSObject + +/// +/// Serializes `DBFILESThumbnailV2Error` instances. +/// +/// @param instance An instance of the `DBFILESThumbnailV2Error` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESThumbnailV2Error` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESThumbnailV2Error *)instance; + +/// +/// Deserializes `DBFILESThumbnailV2Error` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESThumbnailV2Error` API object. +/// +/// @return An instantiation of the `DBFILESThumbnailV2Error` object. +/// ++ (DBFILESThumbnailV2Error *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileArg.h new file mode 100644 index 000000000..a469d41c4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileArg.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUnlockFileArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UnlockFileArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUnlockFileArg : NSObject + +#pragma mark - Instance fields + +/// Path in the user's Dropbox to a file. +@property (nonatomic, readonly, copy) NSString *path; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param path Path in the user's Dropbox to a file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPath:(NSString *)path; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UnlockFileArg` struct. +/// +@interface DBFILESUnlockFileArgSerializer : NSObject + +/// +/// Serializes `DBFILESUnlockFileArg` instances. +/// +/// @param instance An instance of the `DBFILESUnlockFileArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUnlockFileArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUnlockFileArg *)instance; + +/// +/// Deserializes `DBFILESUnlockFileArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUnlockFileArg` API object. +/// +/// @return An instantiation of the `DBFILESUnlockFileArg` object. +/// ++ (DBFILESUnlockFileArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileBatchArg.h new file mode 100644 index 000000000..655f85f0a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUnlockFileBatchArg.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUnlockFileArg; +@class DBFILESUnlockFileBatchArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UnlockFileBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUnlockFileBatchArg : NSObject + +#pragma mark - Instance fields + +/// List of 'entries'. Each 'entry' contains a path of the file which will be +/// unlocked. Duplicate path arguments in the batch are considered only once. +@property (nonatomic, readonly) NSArray *entries; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries List of 'entries'. Each 'entry' contains a path of the file +/// which will be unlocked. Duplicate path arguments in the batch are considered +/// only once. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UnlockFileBatchArg` struct. +/// +@interface DBFILESUnlockFileBatchArgSerializer : NSObject + +/// +/// Serializes `DBFILESUnlockFileBatchArg` instances. +/// +/// @param instance An instance of the `DBFILESUnlockFileBatchArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUnlockFileBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUnlockFileBatchArg *)instance; + +/// +/// Deserializes `DBFILESUnlockFileBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUnlockFileBatchArg` API object. +/// +/// @return An instantiation of the `DBFILESUnlockFileBatchArg` object. +/// ++ (DBFILESUnlockFileBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfoWithProperties.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadArg.h similarity index 57% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfoWithProperties.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadArg.h index 773fbbd99..7d4ff38a0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESCommitInfoWithProperties.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadArg.h @@ -10,7 +10,7 @@ #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; -@class DBFILESCommitInfoWithProperties; +@class DBFILESUploadArg; @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN @@ -18,16 +18,22 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `CommitInfoWithProperties` struct. +/// The `UploadArg` struct. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBFILESCommitInfoWithProperties : DBFILESCommitInfo +@interface DBFILESUploadArg : DBFILESCommitInfo #pragma mark - Instance fields +/// A hash of the file content uploaded in this call. If provided and the +/// uploaded content does not match this hash, an error will be returned. For +/// more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy, nullable) NSString *contentHash; + #pragma mark - Constructors /// @@ -47,6 +53,15 @@ NS_ASSUME_NONNULL_BEGIN /// this tells the clients that this modification shouldn't result in a user /// notification. /// @param propertyGroups List of custom properties to add to file. +/// @param strictConflict Be more strict about how each WriteMode detects +/// conflict. For example, always return a conflict error when mode = `update` +/// in `DBFILESWriteMode` and the given "rev" doesn't match the existing file's +/// "rev", even if the existing file has been deleted. This also forces a +/// conflict even when the target path refers to a file with identical contents. +/// @param contentHash A hash of the file content uploaded in this call. If +/// provided and the uploaded content does not match this hash, an error will be +/// returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// /// @return An initialized instance. /// @@ -55,7 +70,9 @@ NS_ASSUME_NONNULL_BEGIN autorename:(nullable NSNumber *)autorename clientModified:(nullable NSDate *)clientModified mute:(nullable NSNumber *)mute - propertyGroups:(nullable NSArray *)propertyGroups; + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -72,30 +89,29 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `CommitInfoWithProperties` struct. +/// The serialization class for the `UploadArg` struct. /// -@interface DBFILESCommitInfoWithPropertiesSerializer : NSObject +@interface DBFILESUploadArgSerializer : NSObject /// -/// Serializes `DBFILESCommitInfoWithProperties` instances. +/// Serializes `DBFILESUploadArg` instances. /// -/// @param instance An instance of the `DBFILESCommitInfoWithProperties` API -/// object. +/// @param instance An instance of the `DBFILESUploadArg` API object. /// /// @return A json-compatible dictionary representation of the -/// `DBFILESCommitInfoWithProperties` API object. +/// `DBFILESUploadArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESCommitInfoWithProperties *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadArg *)instance; /// -/// Deserializes `DBFILESCommitInfoWithProperties` instances. +/// Deserializes `DBFILESUploadArg` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBFILESCommitInfoWithProperties` API object. +/// `DBFILESUploadArg` API object. /// -/// @return An instantiation of the `DBFILESCommitInfoWithProperties` object. +/// @return An instantiation of the `DBFILESUploadArg` object. /// -+ (DBFILESCommitInfoWithProperties *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadError.h index 7b13bb9a0..20c97ec8c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadError.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILESUploadError; @class DBFILESUploadWriteFailed; @@ -28,12 +29,23 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadErrorTag` enum type represents the possible tag states /// with which the `DBFILESUploadError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { - /// Unable to save the uploaded contents to a file. - DBFILESUploadErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadErrorTag){ + /// Unable to save the uploaded contents to a file. + DBFILESUploadErrorPath, - /// (no description). - DBFILESUploadErrorOther, + /// The supplied property group is invalid. The file has uploaded without + /// property groups. + DBFILESUploadErrorPropertiesError, + + /// The request payload must be at most 150 MB. + DBFILESUploadErrorPayloadTooLarge, + + /// The content received by the Dropbox server in this call does not match + /// the provided content hash. + DBFILESUploadErrorContentHashMismatch, + + /// (no description). + DBFILESUploadErrorOther, }; @@ -45,6 +57,11 @@ typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { /// raised. @property (nonatomic, readonly) DBFILESUploadWriteFailed *path; +/// The supplied property group is invalid. The file has uploaded without +/// property groups. @note Ensure the `isPropertiesError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError; + #pragma mark - Constructors /// @@ -59,6 +76,39 @@ typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { /// - (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path; +/// +/// Initializes union class with tag state of "properties_error". +/// +/// Description of the "properties_error" tag state: The supplied property group +/// is invalid. The file has uploaded without property groups. +/// +/// @param propertiesError The supplied property group is invalid. The file has +/// uploaded without property groups. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError; + +/// +/// Initializes union class with tag state of "payload_too_large". +/// +/// Description of the "payload_too_large" tag state: The request payload must +/// be at most 150 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPayloadTooLarge; + +/// +/// Initializes union class with tag state of "content_hash_mismatch". +/// +/// Description of the "content_hash_mismatch" tag state: The content received +/// by the Dropbox server in this call does not match the provided content hash. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentHashMismatch; + /// /// Initializes union class with tag state of "other". /// @@ -80,6 +130,34 @@ typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value +/// "properties_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `propertiesError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "properties_error". +/// +- (BOOL)isPropertiesError; + +/// +/// Retrieves whether the union's current tag state has value +/// "payload_too_large". +/// +/// @return Whether the union's current tag state has value "payload_too_large". +/// +- (BOOL)isPayloadTooLarge; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_hash_mismatch". +/// +/// @return Whether the union's current tag state has value +/// "content_hash_mismatch". +/// +- (BOOL)isContentHashMismatch; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -111,7 +189,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadError *)instance; /// /// Deserializes `DBFILESUploadError` instances. @@ -121,7 +199,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadErrorTag) { /// /// @return An instantiation of the `DBFILESUploadError` object. /// -+ (DBFILESUploadError *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadErrorWithProperties.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadErrorWithProperties.h deleted file mode 100644 index c061ee0d4..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadErrorWithProperties.h +++ /dev/null @@ -1,158 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBFILEPROPERTIESInvalidPropertyGroupError; -@class DBFILESUploadErrorWithProperties; -@class DBFILESUploadWriteFailed; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `UploadErrorWithProperties` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBFILESUploadErrorWithProperties : NSObject - -#pragma mark - Instance fields - -/// The `DBFILESUploadErrorWithPropertiesTag` enum type represents the possible -/// tag states with which the `DBFILESUploadErrorWithProperties` union can -/// exist. -typedef NS_ENUM(NSInteger, DBFILESUploadErrorWithPropertiesTag) { - /// Unable to save the uploaded contents to a file. - DBFILESUploadErrorWithPropertiesPath, - - /// (no description). - DBFILESUploadErrorWithPropertiesOther, - - /// (no description). - DBFILESUploadErrorWithPropertiesPropertiesError, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBFILESUploadErrorWithPropertiesTag tag; - -/// Unable to save the uploaded contents to a file. @note Ensure the `isPath` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBFILESUploadWriteFailed *path; - -/// (no description). @note Ensure the `isPropertiesError` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "path". -/// -/// Description of the "path" tag state: Unable to save the uploaded contents to -/// a file. -/// -/// @param path Unable to save the uploaded contents to a file. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithPath:(DBFILESUploadWriteFailed *)path; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -/// -/// Initializes union class with tag state of "properties_error". -/// -/// @param propertiesError (no description). -/// -/// @return An initialized instance. -/// -- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "path". -/// -/// @note Call this method and ensure it returns true before accessing the -/// `path` property, otherwise a runtime exception will be thrown. -/// -/// @return Whether the union's current tag state has value "path". -/// -- (BOOL)isPath; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves whether the union's current tag state has value -/// "properties_error". -/// -/// @note Call this method and ensure it returns true before accessing the -/// `propertiesError` property, otherwise a runtime exception will be thrown. -/// -/// @return Whether the union's current tag state has value "properties_error". -/// -- (BOOL)isPropertiesError; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBFILESUploadErrorWithProperties` union. -/// -@interface DBFILESUploadErrorWithPropertiesSerializer : NSObject - -/// -/// Serializes `DBFILESUploadErrorWithProperties` instances. -/// -/// @param instance An instance of the `DBFILESUploadErrorWithProperties` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBFILESUploadErrorWithProperties` API object. -/// -+ (nullable NSDictionary *)serialize:(DBFILESUploadErrorWithProperties *)instance; - -/// -/// Deserializes `DBFILESUploadErrorWithProperties` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBFILESUploadErrorWithProperties` API object. -/// -/// @return An instantiation of the `DBFILESUploadErrorWithProperties` object. -/// -+ (DBFILESUploadErrorWithProperties *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendArg.h index b4b8ce7d5..9defd0afd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendArg.h @@ -30,9 +30,15 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) DBFILESUploadSessionCursor *cursor; /// If true, the current session will be closed, at which point you won't be -/// able to call `uploadSessionAppendV2` anymore with the current session. +/// able to call `uploadSessionAppend` anymore with the current session. @property (nonatomic, readonly) NSNumber *close; +/// A hash of the file content uploaded in this call. If provided and the +/// uploaded content does not match this hash, an error will be returned. For +/// more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy, nullable) NSString *contentHash; + #pragma mark - Constructors /// @@ -40,12 +46,18 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param cursor Contains the upload session ID and the offset. /// @param close If true, the current session will be closed, at which point you -/// won't be able to call `uploadSessionAppendV2` anymore with the current +/// won't be able to call `uploadSessionAppend` anymore with the current /// session. +/// @param contentHash A hash of the file content uploaded in this call. If +/// provided and the uploaded content does not match this hash, an error will be +/// returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// /// @return An initialized instance. /// -- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor close:(nullable NSNumber *)close; +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor + close:(nullable NSNumber *)close + contentHash:(nullable NSString *)contentHash; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -77,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionAppendArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionAppendArg *)instance; /// /// Deserializes `DBFILESUploadSessionAppendArg` instances. @@ -87,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionAppendArg` object. /// -+ (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionAppendArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendError.h new file mode 100644 index 000000000..0829fc218 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionAppendError.h @@ -0,0 +1,317 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUploadSessionAppendError; +@class DBFILESUploadSessionOffsetError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UploadSessionAppendError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUploadSessionAppendError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESUploadSessionAppendErrorTag` enum type represents the possible +/// tag states with which the `DBFILESUploadSessionAppendError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionAppendErrorTag){ + /// The upload session ID was not found or has expired. Upload sessions are + /// valid for 7 days. + DBFILESUploadSessionAppendErrorNotFound, + + /// The specified offset was incorrect. See the value for the correct + /// offset. This error may occur when a previous request was received and + /// processed successfully but the client did not receive the response, e.g. + /// due to a network error. + DBFILESUploadSessionAppendErrorIncorrectOffset, + + /// You are attempting to append data to an upload session that has already + /// been closed (i.e. committed). + DBFILESUploadSessionAppendErrorClosed, + + /// The session must be closed before calling upload_session/finish_batch. + DBFILESUploadSessionAppendErrorNotClosed, + + /// You can not append to the upload session because the size of a file + /// should not reach the max file size limit (i.e. 350GB). + DBFILESUploadSessionAppendErrorTooLarge, + + /// For concurrent upload sessions, offset needs to be multiple of 4194304 + /// bytes. + DBFILESUploadSessionAppendErrorConcurrentSessionInvalidOffset, + + /// For concurrent upload sessions, only chunks with size multiple of + /// 4194304 bytes can be uploaded. + DBFILESUploadSessionAppendErrorConcurrentSessionInvalidDataSize, + + /// The request payload must be at most 150 MB. + DBFILESUploadSessionAppendErrorPayloadTooLarge, + + /// (no description). + DBFILESUploadSessionAppendErrorOther, + + /// The content received by the Dropbox server in this call does not match + /// the provided content hash. + DBFILESUploadSessionAppendErrorContentHashMismatch, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESUploadSessionAppendErrorTag tag; + +/// The specified offset was incorrect. See the value for the correct offset. +/// This error may occur when a previous request was received and processed +/// successfully but the client did not receive the response, e.g. due to a +/// network error. @note Ensure the `isIncorrectOffset` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILESUploadSessionOffsetError *incorrectOffset; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "not_found". +/// +/// Description of the "not_found" tag state: The upload session ID was not +/// found or has expired. Upload sessions are valid for 7 days. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotFound; + +/// +/// Initializes union class with tag state of "incorrect_offset". +/// +/// Description of the "incorrect_offset" tag state: The specified offset was +/// incorrect. See the value for the correct offset. This error may occur when a +/// previous request was received and processed successfully but the client did +/// not receive the response, e.g. due to a network error. +/// +/// @param incorrectOffset The specified offset was incorrect. See the value for +/// the correct offset. This error may occur when a previous request was +/// received and processed successfully but the client did not receive the +/// response, e.g. due to a network error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIncorrectOffset:(DBFILESUploadSessionOffsetError *)incorrectOffset; + +/// +/// Initializes union class with tag state of "closed". +/// +/// Description of the "closed" tag state: You are attempting to append data to +/// an upload session that has already been closed (i.e. committed). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClosed; + +/// +/// Initializes union class with tag state of "not_closed". +/// +/// Description of the "not_closed" tag state: The session must be closed before +/// calling upload_session/finish_batch. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotClosed; + +/// +/// Initializes union class with tag state of "too_large". +/// +/// Description of the "too_large" tag state: You can not append to the upload +/// session because the size of a file should not reach the max file size limit +/// (i.e. 350GB). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooLarge; + +/// +/// Initializes union class with tag state of +/// "concurrent_session_invalid_offset". +/// +/// Description of the "concurrent_session_invalid_offset" tag state: For +/// concurrent upload sessions, offset needs to be multiple of 4194304 bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionInvalidOffset; + +/// +/// Initializes union class with tag state of +/// "concurrent_session_invalid_data_size". +/// +/// Description of the "concurrent_session_invalid_data_size" tag state: For +/// concurrent upload sessions, only chunks with size multiple of 4194304 bytes +/// can be uploaded. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionInvalidDataSize; + +/// +/// Initializes union class with tag state of "payload_too_large". +/// +/// Description of the "payload_too_large" tag state: The request payload must +/// be at most 150 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPayloadTooLarge; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "content_hash_mismatch". +/// +/// Description of the "content_hash_mismatch" tag state: The content received +/// by the Dropbox server in this call does not match the provided content hash. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentHashMismatch; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "not_found". +/// +/// @return Whether the union's current tag state has value "not_found". +/// +- (BOOL)isNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "incorrect_offset". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `incorrectOffset` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "incorrect_offset". +/// +- (BOOL)isIncorrectOffset; + +/// +/// Retrieves whether the union's current tag state has value "closed". +/// +/// @return Whether the union's current tag state has value "closed". +/// +- (BOOL)isClosed; + +/// +/// Retrieves whether the union's current tag state has value "not_closed". +/// +/// @return Whether the union's current tag state has value "not_closed". +/// +- (BOOL)isNotClosed; + +/// +/// Retrieves whether the union's current tag state has value "too_large". +/// +/// @return Whether the union's current tag state has value "too_large". +/// +- (BOOL)isTooLarge; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_invalid_offset". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_invalid_offset". +/// +- (BOOL)isConcurrentSessionInvalidOffset; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_invalid_data_size". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_invalid_data_size". +/// +- (BOOL)isConcurrentSessionInvalidDataSize; + +/// +/// Retrieves whether the union's current tag state has value +/// "payload_too_large". +/// +/// @return Whether the union's current tag state has value "payload_too_large". +/// +- (BOOL)isPayloadTooLarge; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_hash_mismatch". +/// +/// @return Whether the union's current tag state has value +/// "content_hash_mismatch". +/// +- (BOOL)isContentHashMismatch; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESUploadSessionAppendError` union. +/// +@interface DBFILESUploadSessionAppendErrorSerializer : NSObject + +/// +/// Serializes `DBFILESUploadSessionAppendError` instances. +/// +/// @param instance An instance of the `DBFILESUploadSessionAppendError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUploadSessionAppendError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionAppendError *)instance; + +/// +/// Deserializes `DBFILESUploadSessionAppendError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUploadSessionAppendError` API object. +/// +/// @return An instantiation of the `DBFILESUploadSessionAppendError` object. +/// ++ (DBFILESUploadSessionAppendError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionCursor.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionCursor.h index 329c5ca98..94a9bdc0d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionCursor.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionCursor.h @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN /// The upload session ID (returned by `uploadSessionStart`). @property (nonatomic, readonly, copy) NSString *sessionId; -/// The amount of data that has been uploaded so far. We use this to make sure +/// Offset in bytes at which data should be appended. We use this to make sure /// upload data isn't lost or duplicated in the event of a network error. @property (nonatomic, readonly) NSNumber *offset; @@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId The upload session ID (returned by `uploadSessionStart`). -/// @param offset The amount of data that has been uploaded so far. We use this +/// @param offset Offset in bytes at which data should be appended. We use this /// to make sure upload data isn't lost or duplicated in the event of a network /// error. /// @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionCursor` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionCursor *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionCursor *)instance; /// /// Deserializes `DBFILESUploadSessionCursor` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionCursor` object. /// -+ (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionCursor *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishArg.h index eba61768c..8dc967124 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishArg.h @@ -33,6 +33,12 @@ NS_ASSUME_NONNULL_BEGIN /// Contains the path and other optional modifiers for the commit. @property (nonatomic, readonly) DBFILESCommitInfo *commit; +/// A hash of the file content uploaded in this call. If provided and the +/// uploaded content does not match this hash, an error will be returned. For +/// more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy, nullable) NSString *contentHash; + #pragma mark - Constructors /// @@ -40,6 +46,23 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param cursor Contains the upload session ID and the offset. /// @param commit Contains the path and other optional modifiers for the commit. +/// @param contentHash A hash of the file content uploaded in this call. If +/// provided and the uploaded content does not match this hash, an error will be +/// returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCursor:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(nullable NSString *)contentHash; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param cursor Contains the upload session ID and the offset. +/// @param commit Contains the path and other optional modifiers for the commit. /// /// @return An initialized instance. /// @@ -65,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishArg *)instance; /// /// Deserializes `DBFILESUploadSessionFinishArg` instances. @@ -75,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionFinishArg` object. /// -+ (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchArg.h index cbd520767..a6d3853bb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchArg *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionFinishBatchArg` object. /// -+ (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchJobStatus.h index 18c6fcb82..1fc5ea9b9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchJobStatus.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadSessionFinishBatchJobStatusTag` enum type represents the /// possible tag states with which the /// `DBFILESUploadSessionFinishBatchJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchJobStatusTag) { - /// The asynchronous job is still in progress. - DBFILESUploadSessionFinishBatchJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishBatchJobStatusTag){ + /// The asynchronous job is still in progress. + DBFILESUploadSessionFinishBatchJobStatusInProgress, - /// The `uploadSessionFinishBatch` has finished. - DBFILESUploadSessionFinishBatchJobStatusComplete, + /// The `uploadSessionFinishBatch` has finished. + DBFILESUploadSessionFinishBatchJobStatusComplete, }; @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchJobStatus *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchJobStatus` instances. @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchJobStatusTag) { /// @return An instantiation of the `DBFILESUploadSessionFinishBatchJobStatus` /// object. /// -+ (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishBatchJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchLaunch.h index 841aa195d..75a1b4759 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchLaunch.h @@ -32,16 +32,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadSessionFinishBatchLaunchTag` enum type represents the /// possible tag states with which the `DBFILESUploadSessionFinishBatchLaunch` /// union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBFILESUploadSessionFinishBatchLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishBatchLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBFILESUploadSessionFinishBatchLaunchAsyncJobId, - /// (no description). - DBFILESUploadSessionFinishBatchLaunchComplete, + /// (no description). + DBFILESUploadSessionFinishBatchLaunchComplete, - /// (no description). - DBFILESUploadSessionFinishBatchLaunchOther, + /// (no description). + DBFILESUploadSessionFinishBatchLaunchOther, }; @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchLaunch *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchLaunch` instances. @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchLaunchTag) { /// @return An instantiation of the `DBFILESUploadSessionFinishBatchLaunch` /// object. /// -+ (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishBatchLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResult.h index 3d19a801c..ab585ec89 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResult.h @@ -26,7 +26,9 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Commit result for each file in the batch. +/// Each entry in `entries` in `DBFILESUploadSessionFinishBatchArg` will appear +/// at the same position inside `entries` in +/// `DBFILESUploadSessionFinishBatchResult`. @property (nonatomic, readonly) NSArray *entries; #pragma mark - Constructors @@ -34,7 +36,9 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param entries Commit result for each file in the batch. +/// @param entries Each entry in `entries` in +/// `DBFILESUploadSessionFinishBatchArg` will appear at the same position inside +/// `entries` in `DBFILESUploadSessionFinishBatchResult`. /// /// @return An initialized instance. /// @@ -60,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResult *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchResult` instances. @@ -71,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBFILESUploadSessionFinishBatchResult` /// object. /// -+ (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResultEntry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResultEntry.h index 00a07155a..a83b64140 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResultEntry.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishBatchResultEntry.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadSessionFinishBatchResultEntryTag` enum type represents the /// possible tag states with which the /// `DBFILESUploadSessionFinishBatchResultEntry` union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchResultEntryTag) { - /// (no description). - DBFILESUploadSessionFinishBatchResultEntrySuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishBatchResultEntryTag){ + /// (no description). + DBFILESUploadSessionFinishBatchResultEntrySuccess, - /// (no description). - DBFILESUploadSessionFinishBatchResultEntryFailure, + /// (no description). + DBFILESUploadSessionFinishBatchResultEntryFailure, }; @@ -120,7 +120,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchResultEntryTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishBatchResultEntry` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishBatchResultEntry *)instance; /// /// Deserializes `DBFILESUploadSessionFinishBatchResultEntry` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishBatchResultEntryTag) { /// @return An instantiation of the `DBFILESUploadSessionFinishBatchResultEntry` /// object. /// -+ (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishBatchResultEntry *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishError.h index 57a907b2e..3c57c6a97 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionFinishError.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBFILEPROPERTIESInvalidPropertyGroupError; @class DBFILESUploadSessionFinishError; @class DBFILESUploadSessionLookupError; @class DBFILESWriteError; @@ -29,24 +30,47 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadSessionFinishErrorTag` enum type represents the possible /// tag states with which the `DBFILESUploadSessionFinishError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { - /// The session arguments are incorrect; the value explains the reason. - DBFILESUploadSessionFinishErrorLookupFailed, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag){ + /// The session arguments are incorrect; the value explains the reason. + DBFILESUploadSessionFinishErrorLookupFailed, - /// Unable to save the uploaded contents to a file. - DBFILESUploadSessionFinishErrorPath, + /// Unable to save the uploaded contents to a file. Data has already been + /// appended to the upload session. Please retry with empty data body and + /// updated offset. + DBFILESUploadSessionFinishErrorPath, - /// The batch request commits files into too many different shared folders. - /// Please limit your batch request to files contained in a single shared - /// folder. - DBFILESUploadSessionFinishErrorTooManySharedFolderTargets, + /// The supplied property group is invalid. The file has uploaded without + /// property groups. + DBFILESUploadSessionFinishErrorPropertiesError, - /// There are too many write operations happening in the user's Dropbox. You - /// should retry uploading this file. - DBFILESUploadSessionFinishErrorTooManyWriteOperations, + /// The batch request commits files into too many different shared folders. + /// Please limit your batch request to files contained in a single shared + /// folder. + DBFILESUploadSessionFinishErrorTooManySharedFolderTargets, - /// (no description). - DBFILESUploadSessionFinishErrorOther, + /// There are too many write operations happening in the user's Dropbox. You + /// should retry uploading this file. + DBFILESUploadSessionFinishErrorTooManyWriteOperations, + + /// Uploading data not allowed when finishing concurrent upload session. + DBFILESUploadSessionFinishErrorConcurrentSessionDataNotAllowed, + + /// Concurrent upload sessions need to be closed before finishing. + DBFILESUploadSessionFinishErrorConcurrentSessionNotClosed, + + /// Not all pieces of data were uploaded before trying to finish the + /// session. + DBFILESUploadSessionFinishErrorConcurrentSessionMissingData, + + /// The request payload must be at most 150 MB. + DBFILESUploadSessionFinishErrorPayloadTooLarge, + + /// The content received by the Dropbox server in this call does not match + /// the provided content hash. + DBFILESUploadSessionFinishErrorContentHashMismatch, + + /// (no description). + DBFILESUploadSessionFinishErrorOther, }; @@ -58,11 +82,17 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// a runtime exception will be raised. @property (nonatomic, readonly) DBFILESUploadSessionLookupError *lookupFailed; -/// Unable to save the uploaded contents to a file. @note Ensure the `isPath` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. +/// Unable to save the uploaded contents to a file. Data has already been +/// appended to the upload session. Please retry with empty data body and +/// updated offset. @note Ensure the `isPath` method returns true before +/// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESWriteError *path; +/// The supplied property group is invalid. The file has uploaded without +/// property groups. @note Ensure the `isPropertiesError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBFILEPROPERTIESInvalidPropertyGroupError *propertiesError; + #pragma mark - Constructors /// @@ -82,14 +112,30 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// Initializes union class with tag state of "path". /// /// Description of the "path" tag state: Unable to save the uploaded contents to -/// a file. +/// a file. Data has already been appended to the upload session. Please retry +/// with empty data body and updated offset. /// -/// @param path Unable to save the uploaded contents to a file. +/// @param path Unable to save the uploaded contents to a file. Data has already +/// been appended to the upload session. Please retry with empty data body and +/// updated offset. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBFILESWriteError *)path; +/// +/// Initializes union class with tag state of "properties_error". +/// +/// Description of the "properties_error" tag state: The supplied property group +/// is invalid. The file has uploaded without property groups. +/// +/// @param propertiesError The supplied property group is invalid. The file has +/// uploaded without property groups. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPropertiesError:(DBFILEPROPERTIESInvalidPropertyGroupError *)propertiesError; + /// /// Initializes union class with tag state of "too_many_shared_folder_targets". /// @@ -112,6 +158,57 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// - (instancetype)initWithTooManyWriteOperations; +/// +/// Initializes union class with tag state of +/// "concurrent_session_data_not_allowed". +/// +/// Description of the "concurrent_session_data_not_allowed" tag state: +/// Uploading data not allowed when finishing concurrent upload session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionDataNotAllowed; + +/// +/// Initializes union class with tag state of "concurrent_session_not_closed". +/// +/// Description of the "concurrent_session_not_closed" tag state: Concurrent +/// upload sessions need to be closed before finishing. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionNotClosed; + +/// +/// Initializes union class with tag state of "concurrent_session_missing_data". +/// +/// Description of the "concurrent_session_missing_data" tag state: Not all +/// pieces of data were uploaded before trying to finish the session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionMissingData; + +/// +/// Initializes union class with tag state of "payload_too_large". +/// +/// Description of the "payload_too_large" tag state: The request payload must +/// be at most 150 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPayloadTooLarge; + +/// +/// Initializes union class with tag state of "content_hash_mismatch". +/// +/// Description of the "content_hash_mismatch" tag state: The content received +/// by the Dropbox server in this call does not match the provided content hash. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentHashMismatch; + /// /// Initializes union class with tag state of "other". /// @@ -143,6 +240,17 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// - (BOOL)isPath; +/// +/// Retrieves whether the union's current tag state has value +/// "properties_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `propertiesError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "properties_error". +/// +- (BOOL)isPropertiesError; + /// /// Retrieves whether the union's current tag state has value /// "too_many_shared_folder_targets". @@ -161,6 +269,50 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// - (BOOL)isTooManyWriteOperations; +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_data_not_allowed". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_data_not_allowed". +/// +- (BOOL)isConcurrentSessionDataNotAllowed; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_not_closed". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_not_closed". +/// +- (BOOL)isConcurrentSessionNotClosed; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_missing_data". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_missing_data". +/// +- (BOOL)isConcurrentSessionMissingData; + +/// +/// Retrieves whether the union's current tag state has value +/// "payload_too_large". +/// +/// @return Whether the union's current tag state has value "payload_too_large". +/// +- (BOOL)isPayloadTooLarge; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_hash_mismatch". +/// +/// @return Whether the union's current tag state has value +/// "content_hash_mismatch". +/// +- (BOOL)isContentHashMismatch; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -193,7 +345,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionFinishError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionFinishError *)instance; /// /// Deserializes `DBFILESUploadSessionFinishError` instances. @@ -203,7 +355,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionFinishErrorTag) { /// /// @return An instantiation of the `DBFILESUploadSessionFinishError` object. /// -+ (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionFinishError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionLookupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionLookupError.h index 78d8488ea..65b617b6b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionLookupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionLookupError.h @@ -28,26 +28,41 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESUploadSessionLookupErrorTag` enum type represents the possible /// tag states with which the `DBFILESUploadSessionLookupError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { - /// The upload session ID was not found or has expired. Upload sessions are - /// valid for 48 hours. - DBFILESUploadSessionLookupErrorNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag){ + /// The upload session ID was not found or has expired. Upload sessions are + /// valid for 7 days. + DBFILESUploadSessionLookupErrorNotFound, - /// The specified offset was incorrect. See the value for the correct - /// offset. This error may occur when a previous request was received and - /// processed successfully but the client did not receive the response, e.g. - /// due to a network error. - DBFILESUploadSessionLookupErrorIncorrectOffset, + /// The specified offset was incorrect. See the value for the correct + /// offset. This error may occur when a previous request was received and + /// processed successfully but the client did not receive the response, e.g. + /// due to a network error. + DBFILESUploadSessionLookupErrorIncorrectOffset, - /// You are attempting to append data to an upload session that has alread - /// been closed (i.e. committed). - DBFILESUploadSessionLookupErrorClosed, + /// You are attempting to append data to an upload session that has already + /// been closed (i.e. committed). + DBFILESUploadSessionLookupErrorClosed, - /// The session must be closed before calling upload_session/finish_batch. - DBFILESUploadSessionLookupErrorNotClosed, + /// The session must be closed before calling upload_session/finish_batch. + DBFILESUploadSessionLookupErrorNotClosed, - /// (no description). - DBFILESUploadSessionLookupErrorOther, + /// You can not append to the upload session because the size of a file + /// should not reach the max file size limit (i.e. 350GB). + DBFILESUploadSessionLookupErrorTooLarge, + + /// For concurrent upload sessions, offset needs to be multiple of 4194304 + /// bytes. + DBFILESUploadSessionLookupErrorConcurrentSessionInvalidOffset, + + /// For concurrent upload sessions, only chunks with size multiple of + /// 4194304 bytes can be uploaded. + DBFILESUploadSessionLookupErrorConcurrentSessionInvalidDataSize, + + /// The request payload must be at most 150 MB. + DBFILESUploadSessionLookupErrorPayloadTooLarge, + + /// (no description). + DBFILESUploadSessionLookupErrorOther, }; @@ -67,7 +82,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// Initializes union class with tag state of "not_found". /// /// Description of the "not_found" tag state: The upload session ID was not -/// found or has expired. Upload sessions are valid for 48 hours. +/// found or has expired. Upload sessions are valid for 7 days. /// /// @return An initialized instance. /// @@ -94,7 +109,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// Initializes union class with tag state of "closed". /// /// Description of the "closed" tag state: You are attempting to append data to -/// an upload session that has alread been closed (i.e. committed). +/// an upload session that has already been closed (i.e. committed). /// /// @return An initialized instance. /// @@ -110,6 +125,50 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// - (instancetype)initWithNotClosed; +/// +/// Initializes union class with tag state of "too_large". +/// +/// Description of the "too_large" tag state: You can not append to the upload +/// session because the size of a file should not reach the max file size limit +/// (i.e. 350GB). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooLarge; + +/// +/// Initializes union class with tag state of +/// "concurrent_session_invalid_offset". +/// +/// Description of the "concurrent_session_invalid_offset" tag state: For +/// concurrent upload sessions, offset needs to be multiple of 4194304 bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionInvalidOffset; + +/// +/// Initializes union class with tag state of +/// "concurrent_session_invalid_data_size". +/// +/// Description of the "concurrent_session_invalid_data_size" tag state: For +/// concurrent upload sessions, only chunks with size multiple of 4194304 bytes +/// can be uploaded. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionInvalidDataSize; + +/// +/// Initializes union class with tag state of "payload_too_large". +/// +/// Description of the "payload_too_large" tag state: The request payload must +/// be at most 150 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPayloadTooLarge; + /// /// Initializes union class with tag state of "other". /// @@ -153,6 +212,39 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// - (BOOL)isNotClosed; +/// +/// Retrieves whether the union's current tag state has value "too_large". +/// +/// @return Whether the union's current tag state has value "too_large". +/// +- (BOOL)isTooLarge; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_invalid_offset". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_invalid_offset". +/// +- (BOOL)isConcurrentSessionInvalidOffset; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_invalid_data_size". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_invalid_data_size". +/// +- (BOOL)isConcurrentSessionInvalidDataSize; + +/// +/// Retrieves whether the union's current tag state has value +/// "payload_too_large". +/// +/// @return Whether the union's current tag state has value "payload_too_large". +/// +- (BOOL)isPayloadTooLarge; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -185,7 +277,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionLookupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionLookupError *)instance; /// /// Deserializes `DBFILESUploadSessionLookupError` instances. @@ -195,7 +287,7 @@ typedef NS_ENUM(NSInteger, DBFILESUploadSessionLookupErrorTag) { /// /// @return An instantiation of the `DBFILESUploadSessionLookupError` object. /// -+ (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionLookupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionOffsetError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionOffsetError.h index bc54c735f..610842c3b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionOffsetError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionOffsetError.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionOffsetError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionOffsetError *)instance; /// /// Deserializes `DBFILESUploadSessionOffsetError` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionOffsetError` object. /// -+ (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionOffsetError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartArg.h index 34cf5d99b..c859d2c6a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartArg.h @@ -9,6 +9,7 @@ #import "DBSerializableProtocol.h" @class DBFILESUploadSessionStartArg; +@class DBFILESUploadSessionType; NS_ASSUME_NONNULL_BEGIN @@ -26,21 +27,39 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields /// If true, the current session will be closed, at which point you won't be -/// able to call `uploadSessionAppendV2` anymore with the current session. +/// able to call `uploadSessionAppend` anymore with the current session. @property (nonatomic, readonly) NSNumber *close; +/// Type of upload session you want to start. If not specified, default is +/// `sequential` in `DBFILESUploadSessionType`. +@property (nonatomic, readonly, nullable) DBFILESUploadSessionType *sessionType; + +/// A hash of the file content uploaded in this call. If provided and the +/// uploaded content does not match this hash, an error will be returned. For +/// more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy, nullable) NSString *contentHash; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param close If true, the current session will be closed, at which point you -/// won't be able to call `uploadSessionAppendV2` anymore with the current +/// won't be able to call `uploadSessionAppend` anymore with the current /// session. +/// @param sessionType Type of upload session you want to start. If not +/// specified, default is `sequential` in `DBFILESUploadSessionType`. +/// @param contentHash A hash of the file content uploaded in this call. If +/// provided and the uploaded content does not match this hash, an error will be +/// returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// /// @return An initialized instance. /// -- (instancetype)initWithClose:(nullable NSNumber *)close; +- (instancetype)initWithClose:(nullable NSNumber *)close + sessionType:(nullable DBFILESUploadSessionType *)sessionType + contentHash:(nullable NSString *)contentHash; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -71,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartArg *)instance; /// /// Deserializes `DBFILESUploadSessionStartArg` instances. @@ -81,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionStartArg` object. /// -+ (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionStartArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchArg.h new file mode 100644 index 000000000..6568ea3bb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchArg.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUploadSessionStartBatchArg; +@class DBFILESUploadSessionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UploadSessionStartBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUploadSessionStartBatchArg : NSObject + +#pragma mark - Instance fields + +/// Type of upload session you want to start. If not specified, default is +/// `sequential` in `DBFILESUploadSessionType`. +@property (nonatomic, readonly, nullable) DBFILESUploadSessionType *sessionType; + +/// The number of upload sessions to start. +@property (nonatomic, readonly) NSNumber *numSessions; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param numSessions The number of upload sessions to start. +/// @param sessionType Type of upload session you want to start. If not +/// specified, default is `sequential` in `DBFILESUploadSessionType`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNumSessions:(NSNumber *)numSessions + sessionType:(nullable DBFILESUploadSessionType *)sessionType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param numSessions The number of upload sessions to start. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNumSessions:(NSNumber *)numSessions; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UploadSessionStartBatchArg` struct. +/// +@interface DBFILESUploadSessionStartBatchArgSerializer : NSObject + +/// +/// Serializes `DBFILESUploadSessionStartBatchArg` instances. +/// +/// @param instance An instance of the `DBFILESUploadSessionStartBatchArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartBatchArg *)instance; + +/// +/// Deserializes `DBFILESUploadSessionStartBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartBatchArg` API object. +/// +/// @return An instantiation of the `DBFILESUploadSessionStartBatchArg` object. +/// ++ (DBFILESUploadSessionStartBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchResult.h new file mode 100644 index 000000000..455c2d4b6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartBatchResult.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUploadSessionStartBatchResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UploadSessionStartBatchResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUploadSessionStartBatchResult : NSObject + +#pragma mark - Instance fields + +/// A List of unique identifiers for the upload session. Pass each session_id to +/// `uploadSessionAppend` and `uploadSessionFinish`. +@property (nonatomic, readonly) NSArray *sessionIds; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sessionIds A List of unique identifiers for the upload session. Pass +/// each session_id to `uploadSessionAppend` and `uploadSessionFinish`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSessionIds:(NSArray *)sessionIds; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UploadSessionStartBatchResult` struct. +/// +@interface DBFILESUploadSessionStartBatchResultSerializer : NSObject + +/// +/// Serializes `DBFILESUploadSessionStartBatchResult` instances. +/// +/// @param instance An instance of the `DBFILESUploadSessionStartBatchResult` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartBatchResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartBatchResult *)instance; + +/// +/// Deserializes `DBFILESUploadSessionStartBatchResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartBatchResult` API object. +/// +/// @return An instantiation of the `DBFILESUploadSessionStartBatchResult` +/// object. +/// ++ (DBFILESUploadSessionStartBatchResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartError.h new file mode 100644 index 000000000..8fc4a917d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartError.h @@ -0,0 +1,188 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUploadSessionStartError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UploadSessionStartError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUploadSessionStartError : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESUploadSessionStartErrorTag` enum type represents the possible +/// tag states with which the `DBFILESUploadSessionStartError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionStartErrorTag){ + /// Uploading data not allowed when starting concurrent upload session. + DBFILESUploadSessionStartErrorConcurrentSessionDataNotAllowed, + + /// Can not start a closed concurrent upload session. + DBFILESUploadSessionStartErrorConcurrentSessionCloseNotAllowed, + + /// The request payload must be at most 150 MB. + DBFILESUploadSessionStartErrorPayloadTooLarge, + + /// The content received by the Dropbox server in this call does not match + /// the provided content hash. + DBFILESUploadSessionStartErrorContentHashMismatch, + + /// (no description). + DBFILESUploadSessionStartErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESUploadSessionStartErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of +/// "concurrent_session_data_not_allowed". +/// +/// Description of the "concurrent_session_data_not_allowed" tag state: +/// Uploading data not allowed when starting concurrent upload session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionDataNotAllowed; + +/// +/// Initializes union class with tag state of +/// "concurrent_session_close_not_allowed". +/// +/// Description of the "concurrent_session_close_not_allowed" tag state: Can not +/// start a closed concurrent upload session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrentSessionCloseNotAllowed; + +/// +/// Initializes union class with tag state of "payload_too_large". +/// +/// Description of the "payload_too_large" tag state: The request payload must +/// be at most 150 MB. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPayloadTooLarge; + +/// +/// Initializes union class with tag state of "content_hash_mismatch". +/// +/// Description of the "content_hash_mismatch" tag state: The content received +/// by the Dropbox server in this call does not match the provided content hash. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentHashMismatch; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_data_not_allowed". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_data_not_allowed". +/// +- (BOOL)isConcurrentSessionDataNotAllowed; + +/// +/// Retrieves whether the union's current tag state has value +/// "concurrent_session_close_not_allowed". +/// +/// @return Whether the union's current tag state has value +/// "concurrent_session_close_not_allowed". +/// +- (BOOL)isConcurrentSessionCloseNotAllowed; + +/// +/// Retrieves whether the union's current tag state has value +/// "payload_too_large". +/// +/// @return Whether the union's current tag state has value "payload_too_large". +/// +- (BOOL)isPayloadTooLarge; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_hash_mismatch". +/// +/// @return Whether the union's current tag state has value +/// "content_hash_mismatch". +/// +- (BOOL)isContentHashMismatch; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESUploadSessionStartError` union. +/// +@interface DBFILESUploadSessionStartErrorSerializer : NSObject + +/// +/// Serializes `DBFILESUploadSessionStartError` instances. +/// +/// @param instance An instance of the `DBFILESUploadSessionStartError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartError *)instance; + +/// +/// Deserializes `DBFILESUploadSessionStartError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUploadSessionStartError` API object. +/// +/// @return An instantiation of the `DBFILESUploadSessionStartError` object. +/// ++ (DBFILESUploadSessionStartError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartResult.h index eeedc2214..f3c6a9443 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionStartResult.h @@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields /// A unique identifier for the upload session. Pass this to -/// `uploadSessionAppendV2` and `uploadSessionFinish`. +/// `uploadSessionAppend` and `uploadSessionFinish`. @property (nonatomic, readonly, copy) NSString *sessionId; #pragma mark - Constructors @@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param sessionId A unique identifier for the upload session. Pass this to -/// `uploadSessionAppendV2` and `uploadSessionFinish`. +/// `uploadSessionAppend` and `uploadSessionFinish`. /// /// @return An initialized instance. /// @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadSessionStartResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionStartResult *)instance; /// /// Deserializes `DBFILESUploadSessionStartResult` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadSessionStartResult` object. /// -+ (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadSessionStartResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionType.h new file mode 100644 index 000000000..900147e59 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadSessionType.h @@ -0,0 +1,138 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUploadSessionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UploadSessionType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUploadSessionType : NSObject + +#pragma mark - Instance fields + +/// The `DBFILESUploadSessionTypeTag` enum type represents the possible tag +/// states with which the `DBFILESUploadSessionType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBFILESUploadSessionTypeTag){ + /// Pieces of data are uploaded sequentially one after another. This is the + /// default behavior. + DBFILESUploadSessionTypeSequential, + + /// Pieces of data can be uploaded in concurrent RPCs in any order. + DBFILESUploadSessionTypeConcurrent, + + /// (no description). + DBFILESUploadSessionTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBFILESUploadSessionTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "sequential". +/// +/// Description of the "sequential" tag state: Pieces of data are uploaded +/// sequentially one after another. This is the default behavior. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSequential; + +/// +/// Initializes union class with tag state of "concurrent". +/// +/// Description of the "concurrent" tag state: Pieces of data can be uploaded in +/// concurrent RPCs in any order. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConcurrent; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "sequential". +/// +/// @return Whether the union's current tag state has value "sequential". +/// +- (BOOL)isSequential; + +/// +/// Retrieves whether the union's current tag state has value "concurrent". +/// +/// @return Whether the union's current tag state has value "concurrent". +/// +- (BOOL)isConcurrent; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBFILESUploadSessionType` union. +/// +@interface DBFILESUploadSessionTypeSerializer : NSObject + +/// +/// Serializes `DBFILESUploadSessionType` instances. +/// +/// @param instance An instance of the `DBFILESUploadSessionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUploadSessionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUploadSessionType *)instance; + +/// +/// Deserializes `DBFILESUploadSessionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUploadSessionType` API object. +/// +/// @return An instantiation of the `DBFILESUploadSessionType` object. +/// ++ (DBFILESUploadSessionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadWriteFailed.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadWriteFailed.h index fbfef4e6a..0b6f4ae7e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadWriteFailed.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUploadWriteFailed.h @@ -29,7 +29,9 @@ NS_ASSUME_NONNULL_BEGIN /// The reason why the file couldn't be saved. @property (nonatomic, readonly) DBFILESWriteError *reason; -/// The upload session ID; this may be used to retry the commit. +/// The upload session ID; data has already been uploaded to the corresponding +/// upload session and this ID may be used to retry the commit with +/// `uploadSessionFinish`. @property (nonatomic, readonly, copy) NSString *uploadSessionId; #pragma mark - Constructors @@ -38,8 +40,9 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param reason The reason why the file couldn't be saved. -/// @param uploadSessionId The upload session ID; this may be used to retry the -/// commit. +/// @param uploadSessionId The upload session ID; data has already been uploaded +/// to the corresponding upload session and this ID may be used to retry the +/// commit with `uploadSessionFinish`. /// /// @return An initialized instance. /// @@ -64,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESUploadWriteFailed` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESUploadWriteFailed *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESUploadWriteFailed *)instance; /// /// Deserializes `DBFILESUploadWriteFailed` instances. @@ -74,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESUploadWriteFailed` object. /// -+ (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)dict; ++ (DBFILESUploadWriteFailed *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUserGeneratedTag.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUserGeneratedTag.h new file mode 100644 index 000000000..1c3ec9980 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESUserGeneratedTag.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESUserGeneratedTag; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserGeneratedTag` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBFILESUserGeneratedTag : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *tagText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param tagText (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTagText:(NSString *)tagText; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserGeneratedTag` struct. +/// +@interface DBFILESUserGeneratedTagSerializer : NSObject + +/// +/// Serializes `DBFILESUserGeneratedTag` instances. +/// +/// @param instance An instance of the `DBFILESUserGeneratedTag` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBFILESUserGeneratedTag` API object. +/// ++ (nullable NSDictionary *)serialize:(DBFILESUserGeneratedTag *)instance; + +/// +/// Deserializes `DBFILESUserGeneratedTag` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBFILESUserGeneratedTag` API object. +/// +/// @return An instantiation of the `DBFILESUserGeneratedTag` object. +/// ++ (DBFILESUserGeneratedTag *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESVideoMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESVideoMetadata.h index 2f48b524c..b56e3a3c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESVideoMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESVideoMetadata.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBFILESVideoMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESVideoMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESVideoMetadata *)instance; /// /// Deserializes `DBFILESVideoMetadata` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBFILESVideoMetadata` object. /// -+ (DBFILESVideoMetadata *)deserialize:(NSDictionary *)dict; ++ (DBFILESVideoMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteConflictError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteConflictError.h index 7da8ca614..d1a0c943b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteConflictError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteConflictError.h @@ -27,19 +27,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESWriteConflictErrorTag` enum type represents the possible tag /// states with which the `DBFILESWriteConflictError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESWriteConflictErrorTag) { - /// There's a file in the way. - DBFILESWriteConflictErrorFile, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESWriteConflictErrorTag){ + /// There's a file in the way. + DBFILESWriteConflictErrorFile, - /// There's a folder in the way. - DBFILESWriteConflictErrorFolder, + /// There's a folder in the way. + DBFILESWriteConflictErrorFolder, - /// There's a file at an ancestor path, so we couldn't create the required - /// parent folders. - DBFILESWriteConflictErrorFileAncestor, + /// There's a file at an ancestor path, so we couldn't create the required + /// parent folders. + DBFILESWriteConflictErrorFileAncestor, - /// (no description). - DBFILESWriteConflictErrorOther, + /// (no description). + DBFILESWriteConflictErrorOther, }; @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteConflictErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESWriteConflictError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESWriteConflictError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESWriteConflictError *)instance; /// /// Deserializes `DBFILESWriteConflictError` instances. @@ -149,7 +149,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteConflictErrorTag) { /// /// @return An instantiation of the `DBFILESWriteConflictError` object. /// -+ (DBFILESWriteConflictError *)deserialize:(NSDictionary *)dict; ++ (DBFILESWriteConflictError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteError.h index d9badf6d1..f089cf363 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteError.h @@ -28,35 +28,48 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESWriteErrorTag` enum type represents the possible tag states with /// which the `DBFILESWriteError` union can exist. -typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { - /// (no description). - DBFILESWriteErrorMalformedPath, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESWriteErrorTag){ + /// The given path does not satisfy the required path format. Please refer + /// to the Path formats documentation + /// https://www.dropbox.com/developers/documentation/http/documentation#path-formats + /// for more information. + DBFILESWriteErrorMalformedPath, - /// Couldn't write to the target path because there was something in the - /// way. - DBFILESWriteErrorConflict, + /// Couldn't write to the target path because there was something in the + /// way. + DBFILESWriteErrorConflict, - /// The user doesn't have permissions to write to the target location. - DBFILESWriteErrorNoWritePermission, + /// The user doesn't have permissions to write to the target location. + DBFILESWriteErrorNoWritePermission, - /// The user doesn't have enough available space (bytes) to write more data. - DBFILESWriteErrorInsufficientSpace, + /// The user doesn't have enough available space (bytes) to write more data. + DBFILESWriteErrorInsufficientSpace, - /// Dropbox will not save the file or folder because of its name. - DBFILESWriteErrorDisallowedName, + /// Dropbox will not save the file or folder because of its name. + DBFILESWriteErrorDisallowedName, - /// This endpoint cannot move or delete team folders. - DBFILESWriteErrorTeamFolder, + /// This endpoint cannot move or delete team folders. + DBFILESWriteErrorTeamFolder, - /// (no description). - DBFILESWriteErrorOther, + /// This file operation is not allowed at this path. + DBFILESWriteErrorOperationSuppressed, + + /// There are too many write operations in user's Dropbox. Please retry this + /// request. + DBFILESWriteErrorTooManyWriteOperations, + + /// (no description). + DBFILESWriteErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESWriteErrorTag tag; -/// (no description). @note Ensure the `isMalformedPath` method returns true +/// The given path does not satisfy the required path format. Please refer to +/// the Path formats documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. @note Ensure the `isMalformedPath` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy, nullable) NSString *malformedPath; @@ -70,7 +83,16 @@ typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { /// /// Initializes union class with tag state of "malformed_path". /// -/// @param malformedPath (no description). +/// Description of the "malformed_path" tag state: The given path does not +/// satisfy the required path format. Please refer to the Path formats +/// documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. +/// +/// @param malformedPath The given path does not satisfy the required path +/// format. Please refer to the Path formats documentation +/// https://www.dropbox.com/developers/documentation/http/documentation#path-formats +/// for more information. /// /// @return An initialized instance. /// @@ -129,6 +151,26 @@ typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { /// - (instancetype)initWithTeamFolder; +/// +/// Initializes union class with tag state of "operation_suppressed". +/// +/// Description of the "operation_suppressed" tag state: This file operation is +/// not allowed at this path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOperationSuppressed; + +/// +/// Initializes union class with tag state of "too_many_write_operations". +/// +/// Description of the "too_many_write_operations" tag state: There are too many +/// write operations in user's Dropbox. Please retry this request. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyWriteOperations; + /// /// Initializes union class with tag state of "other". /// @@ -192,6 +234,24 @@ typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { /// - (BOOL)isTeamFolder; +/// +/// Retrieves whether the union's current tag state has value +/// "operation_suppressed". +/// +/// @return Whether the union's current tag state has value +/// "operation_suppressed". +/// +- (BOOL)isOperationSuppressed; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_write_operations". +/// +/// @return Whether the union's current tag state has value +/// "too_many_write_operations". +/// +- (BOOL)isTooManyWriteOperations; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -223,7 +283,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESWriteError` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESWriteError *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESWriteError *)instance; /// /// Deserializes `DBFILESWriteError` instances. @@ -233,7 +293,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteErrorTag) { /// /// @return An instantiation of the `DBFILESWriteError` object. /// -+ (DBFILESWriteError *)deserialize:(NSDictionary *)dict; ++ (DBFILESWriteError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteMode.h index 9aefa87a4..ae1ddd267 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteMode.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Files/Headers/DBFILESWriteMode.h @@ -37,28 +37,37 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBFILESWriteModeTag` enum type represents the possible tag states with /// which the `DBFILESWriteMode` union can exist. -typedef NS_ENUM(NSInteger, DBFILESWriteModeTag) { - /// Do not overwrite an existing file if there is a conflict. The autorename - /// strategy is to append a number to the file name. For example, - /// "document.txt" might become "document (2).txt". - DBFILESWriteModeAdd, - - /// Always overwrite the existing file. The autorename strategy is the same - /// as it is for add. - DBFILESWriteModeOverwrite, - - /// Overwrite if the given "rev" matches the existing file's "rev". The - /// autorename strategy is to append the string "conflicted copy" to the - /// file name. For example, "document.txt" might become "document - /// (conflicted copy).txt" or "document (Panda's conflicted copy).txt". - DBFILESWriteModeUpdate, +typedef NS_CLOSED_ENUM(NSInteger, DBFILESWriteModeTag){ + /// Do not overwrite an existing file if there is a conflict. The autorename + /// strategy is to append a number to the file name. For example, + /// "document.txt" might become "document (2).txt". + DBFILESWriteModeAdd, + + /// Always overwrite the existing file. The autorename strategy is the same + /// as it is for add. + DBFILESWriteModeOverwrite, + + /// Overwrite if the given "rev" matches the existing file's "rev". The + /// supplied value should be the latest known "rev" of the file, for + /// example, from FileMetadata, from when the file was last downloaded by + /// the app. This will cause the file on the Dropbox servers to be + /// overwritten if the given "rev" matches the existing file's current "rev" + /// on the Dropbox servers. The autorename strategy is to append the string + /// "conflicted copy" to the file name. For example, "document.txt" might + /// become "document (conflicted copy).txt" or "document (Panda's conflicted + /// copy).txt". + DBFILESWriteModeUpdate, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBFILESWriteModeTag tag; -/// Overwrite if the given "rev" matches the existing file's "rev". The +/// Overwrite if the given "rev" matches the existing file's "rev". The supplied +/// value should be the latest known "rev" of the file, for example, from +/// FileMetadata, from when the file was last downloaded by the app. This will +/// cause the file on the Dropbox servers to be overwritten if the given "rev" +/// matches the existing file's current "rev" on the Dropbox servers. The /// autorename strategy is to append the string "conflicted copy" to the file /// name. For example, "document.txt" might become "document (conflicted /// copy).txt" or "document (Panda's conflicted copy).txt". @note Ensure the @@ -93,14 +102,22 @@ typedef NS_ENUM(NSInteger, DBFILESWriteModeTag) { /// Initializes union class with tag state of "update". /// /// Description of the "update" tag state: Overwrite if the given "rev" matches -/// the existing file's "rev". The autorename strategy is to append the string -/// "conflicted copy" to the file name. For example, "document.txt" might become -/// "document (conflicted copy).txt" or "document (Panda's conflicted +/// the existing file's "rev". The supplied value should be the latest known +/// "rev" of the file, for example, from FileMetadata, from when the file was +/// last downloaded by the app. This will cause the file on the Dropbox servers +/// to be overwritten if the given "rev" matches the existing file's current +/// "rev" on the Dropbox servers. The autorename strategy is to append the +/// string "conflicted copy" to the file name. For example, "document.txt" might +/// become "document (conflicted copy).txt" or "document (Panda's conflicted /// copy).txt". /// /// @param update Overwrite if the given "rev" matches the existing file's -/// "rev". The autorename strategy is to append the string "conflicted copy" to -/// the file name. For example, "document.txt" might become "document +/// "rev". The supplied value should be the latest known "rev" of the file, for +/// example, from FileMetadata, from when the file was last downloaded by the +/// app. This will cause the file on the Dropbox servers to be overwritten if +/// the given "rev" matches the existing file's current "rev" on the Dropbox +/// servers. The autorename strategy is to append the string "conflicted copy" +/// to the file name. For example, "document.txt" might become "document /// (conflicted copy).txt" or "document (Panda's conflicted copy).txt". /// /// @return An initialized instance. @@ -159,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteModeTag) { /// @return A json-compatible dictionary representation of the /// `DBFILESWriteMode` API object. /// -+ (nullable NSDictionary *)serialize:(DBFILESWriteMode *)instance; ++ (nullable NSDictionary *)serialize:(DBFILESWriteMode *)instance; /// /// Deserializes `DBFILESWriteMode` instances. @@ -169,7 +186,7 @@ typedef NS_ENUM(NSInteger, DBFILESWriteModeTag) { /// /// @return An instantiation of the `DBFILESWriteMode` object. /// -+ (DBFILESWriteMode *)deserialize:(NSDictionary *)dict; ++ (DBFILESWriteMode *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m new file mode 100644 index 000000000..143997d97 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/DBOpenidObjects.m @@ -0,0 +1,589 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `Openid` namespace. + +#import "DBOPENIDOpenIdError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBOPENIDOpenIdError + +#pragma mark - Constructors + +- (instancetype)initWithIncorrectOpenidScopes { + self = [super init]; + if (self) { + _tag = DBOPENIDOpenIdErrorIncorrectOpenidScopes; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBOPENIDOpenIdErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isIncorrectOpenidScopes { + return _tag == DBOPENIDOpenIdErrorIncorrectOpenidScopes; +} + +- (BOOL)isOther { + return _tag == DBOPENIDOpenIdErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBOPENIDOpenIdErrorIncorrectOpenidScopes: + return @"DBOPENIDOpenIdErrorIncorrectOpenidScopes"; + case DBOPENIDOpenIdErrorOther: + return @"DBOPENIDOpenIdErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBOPENIDOpenIdErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBOPENIDOpenIdErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBOPENIDOpenIdErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBOPENIDOpenIdErrorIncorrectOpenidScopes: + result = prime * result + [[self tagName] hash]; + break; + case DBOPENIDOpenIdErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOpenIdError:other]; +} + +- (BOOL)isEqualToOpenIdError:(DBOPENIDOpenIdError *)anOpenIdError { + if (self == anOpenIdError) { + return YES; + } + if (self.tag != anOpenIdError.tag) { + return NO; + } + switch (_tag) { + case DBOPENIDOpenIdErrorIncorrectOpenidScopes: + return [[self tagName] isEqual:[anOpenIdError tagName]]; + case DBOPENIDOpenIdErrorOther: + return [[self tagName] isEqual:[anOpenIdError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBOPENIDOpenIdErrorSerializer + ++ (NSDictionary *)serialize:(DBOPENIDOpenIdError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIncorrectOpenidScopes]) { + jsonDict[@".tag"] = @"incorrect_openid_scopes"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBOPENIDOpenIdError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"incorrect_openid_scopes"]) { + return [[DBOPENIDOpenIdError alloc] initWithIncorrectOpenidScopes]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBOPENIDOpenIdError alloc] initWithOther]; + } else { + return [[DBOPENIDOpenIdError alloc] initWithOther]; + } +} + +@end + +#import "DBOPENIDUserInfoArgs.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBOPENIDUserInfoArgs + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBOPENIDUserInfoArgsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBOPENIDUserInfoArgsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBOPENIDUserInfoArgsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserInfoArgs:other]; +} + +- (BOOL)isEqualToUserInfoArgs:(DBOPENIDUserInfoArgs *)anUserInfoArgs { + if (self == anUserInfoArgs) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBOPENIDUserInfoArgsSerializer + ++ (NSDictionary *)serialize:(DBOPENIDUserInfoArgs *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBOPENIDUserInfoArgs *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBOPENIDUserInfoArgs alloc] initDefault]; +} + +@end + +#import "DBOPENIDOpenIdError.h" +#import "DBOPENIDUserInfoError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBOPENIDUserInfoError + +@synthesize openidError = _openidError; + +#pragma mark - Constructors + +- (instancetype)initWithOpenidError:(DBOPENIDOpenIdError *)openidError { + self = [super init]; + if (self) { + _tag = DBOPENIDUserInfoErrorOpenidError; + _openidError = openidError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBOPENIDUserInfoErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBOPENIDOpenIdError *)openidError { + if (![self isOpenidError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBOPENIDUserInfoErrorOpenidError, but was %@.", [self tagName]]; + } + return _openidError; +} + +#pragma mark - Tag state methods + +- (BOOL)isOpenidError { + return _tag == DBOPENIDUserInfoErrorOpenidError; +} + +- (BOOL)isOther { + return _tag == DBOPENIDUserInfoErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBOPENIDUserInfoErrorOpenidError: + return @"DBOPENIDUserInfoErrorOpenidError"; + case DBOPENIDUserInfoErrorOther: + return @"DBOPENIDUserInfoErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBOPENIDUserInfoErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBOPENIDUserInfoErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBOPENIDUserInfoErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBOPENIDUserInfoErrorOpenidError: + result = prime * result + [self.openidError hash]; + break; + case DBOPENIDUserInfoErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserInfoError:other]; +} + +- (BOOL)isEqualToUserInfoError:(DBOPENIDUserInfoError *)anUserInfoError { + if (self == anUserInfoError) { + return YES; + } + if (self.tag != anUserInfoError.tag) { + return NO; + } + switch (_tag) { + case DBOPENIDUserInfoErrorOpenidError: + return [self.openidError isEqual:anUserInfoError.openidError]; + case DBOPENIDUserInfoErrorOther: + return [[self tagName] isEqual:[anUserInfoError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBOPENIDUserInfoErrorSerializer + ++ (NSDictionary *)serialize:(DBOPENIDUserInfoError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOpenidError]) { + jsonDict[@"openid_error"] = [[DBOPENIDOpenIdErrorSerializer serialize:valueObj.openidError] mutableCopy]; + jsonDict[@".tag"] = @"openid_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBOPENIDUserInfoError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"openid_error"]) { + DBOPENIDOpenIdError *openidError = [DBOPENIDOpenIdErrorSerializer deserialize:valueDict[@"openid_error"]]; + return [[DBOPENIDUserInfoError alloc] initWithOpenidError:openidError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBOPENIDUserInfoError alloc] initWithOther]; + } else { + return [[DBOPENIDUserInfoError alloc] initWithOther]; + } +} + +@end + +#import "DBOPENIDUserInfoResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBOPENIDUserInfoResult + +#pragma mark - Constructors + +- (instancetype)initWithFamilyName:(NSString *)familyName + givenName:(NSString *)givenName + email:(NSString *)email + emailVerified:(NSNumber *)emailVerified + iss:(NSString *)iss + sub:(NSString *)sub { + + self = [super init]; + if (self) { + _familyName = familyName; + _givenName = givenName; + _email = email; + _emailVerified = emailVerified; + _iss = iss ?: @""; + _sub = sub ?: @""; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithFamilyName:nil givenName:nil email:nil emailVerified:nil iss:nil sub:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBOPENIDUserInfoResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBOPENIDUserInfoResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBOPENIDUserInfoResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.familyName != nil) { + result = prime * result + [self.familyName hash]; + } + if (self.givenName != nil) { + result = prime * result + [self.givenName hash]; + } + if (self.email != nil) { + result = prime * result + [self.email hash]; + } + if (self.emailVerified != nil) { + result = prime * result + [self.emailVerified hash]; + } + result = prime * result + [self.iss hash]; + result = prime * result + [self.sub hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserInfoResult:other]; +} + +- (BOOL)isEqualToUserInfoResult:(DBOPENIDUserInfoResult *)anUserInfoResult { + if (self == anUserInfoResult) { + return YES; + } + if (self.familyName) { + if (![self.familyName isEqual:anUserInfoResult.familyName]) { + return NO; + } + } + if (self.givenName) { + if (![self.givenName isEqual:anUserInfoResult.givenName]) { + return NO; + } + } + if (self.email) { + if (![self.email isEqual:anUserInfoResult.email]) { + return NO; + } + } + if (self.emailVerified) { + if (![self.emailVerified isEqual:anUserInfoResult.emailVerified]) { + return NO; + } + } + if (![self.iss isEqual:anUserInfoResult.iss]) { + return NO; + } + if (![self.sub isEqual:anUserInfoResult.sub]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBOPENIDUserInfoResultSerializer + ++ (NSDictionary *)serialize:(DBOPENIDUserInfoResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.familyName) { + jsonDict[@"family_name"] = valueObj.familyName; + } + if (valueObj.givenName) { + jsonDict[@"given_name"] = valueObj.givenName; + } + if (valueObj.email) { + jsonDict[@"email"] = valueObj.email; + } + if (valueObj.emailVerified) { + jsonDict[@"email_verified"] = valueObj.emailVerified; + } + jsonDict[@"iss"] = valueObj.iss; + jsonDict[@"sub"] = valueObj.sub; + + return jsonDict; +} + ++ (DBOPENIDUserInfoResult *)deserialize:(NSDictionary *)valueDict { + NSString *familyName = valueDict[@"family_name"] ?: nil; + NSString *givenName = valueDict[@"given_name"] ?: nil; + NSString *email = valueDict[@"email"] ?: nil; + NSNumber *emailVerified = valueDict[@"email_verified"] ?: nil; + NSString *iss = valueDict[@"iss"] ?: @""; + NSString *sub = valueDict[@"sub"] ?: @""; + + return [[DBOPENIDUserInfoResult alloc] initWithFamilyName:familyName + givenName:givenName + email:email + emailVerified:emailVerified + iss:iss + sub:sub]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDOpenIdError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDOpenIdError.h new file mode 100644 index 000000000..4996a8589 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDOpenIdError.h @@ -0,0 +1,119 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBOPENIDOpenIdError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OpenIdError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBOPENIDOpenIdError : NSObject + +#pragma mark - Instance fields + +/// The `DBOPENIDOpenIdErrorTag` enum type represents the possible tag states +/// with which the `DBOPENIDOpenIdError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBOPENIDOpenIdErrorTag){ + /// Missing openid claims for the associated access token. + DBOPENIDOpenIdErrorIncorrectOpenidScopes, + + /// (no description). + DBOPENIDOpenIdErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBOPENIDOpenIdErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "incorrect_openid_scopes". +/// +/// Description of the "incorrect_openid_scopes" tag state: Missing openid +/// claims for the associated access token. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIncorrectOpenidScopes; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "incorrect_openid_scopes". +/// +/// @return Whether the union's current tag state has value +/// "incorrect_openid_scopes". +/// +- (BOOL)isIncorrectOpenidScopes; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBOPENIDOpenIdError` union. +/// +@interface DBOPENIDOpenIdErrorSerializer : NSObject + +/// +/// Serializes `DBOPENIDOpenIdError` instances. +/// +/// @param instance An instance of the `DBOPENIDOpenIdError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBOPENIDOpenIdError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBOPENIDOpenIdError *)instance; + +/// +/// Deserializes `DBOPENIDOpenIdError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBOPENIDOpenIdError` API object. +/// +/// @return An instantiation of the `DBOPENIDOpenIdError` object. +/// ++ (DBOPENIDOpenIdError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamCopyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoArgs.h similarity index 50% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamCopyDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoArgs.h index c913243eb..4a6817440 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamCopyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoArgs.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelTeamCopyDetails; +@class DBOPENIDUserInfoArgs; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelTeamCopyDetails` struct. +/// The `UserInfoArgs` struct. /// -/// Added a team member's file/folder to their Dropbox from a link. +/// No Parameters /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelTeamCopyDetails : NSObject +@interface DBOPENIDUserInfoArgs : NSObject #pragma mark - Instance fields @@ -43,30 +43,29 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelTeamCopyDetails` struct. +/// The serialization class for the `UserInfoArgs` struct. /// -@interface DBTEAMLOGShmodelTeamCopyDetailsSerializer : NSObject +@interface DBOPENIDUserInfoArgsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelTeamCopyDetails` instances. +/// Serializes `DBOPENIDUserInfoArgs` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelTeamCopyDetails` API -/// object. +/// @param instance An instance of the `DBOPENIDUserInfoArgs` API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamCopyDetails` API object. +/// `DBOPENIDUserInfoArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelTeamCopyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBOPENIDUserInfoArgs *)instance; /// -/// Deserializes `DBTEAMLOGShmodelTeamCopyDetails` instances. +/// Deserializes `DBOPENIDUserInfoArgs` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamCopyDetails` API object. +/// `DBOPENIDUserInfoArgs` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelTeamCopyDetails` object. +/// @return An instantiation of the `DBOPENIDUserInfoArgs` object. /// -+ (DBTEAMLOGShmodelTeamCopyDetails *)deserialize:(NSDictionary *)dict; ++ (DBOPENIDUserInfoArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoError.h new file mode 100644 index 000000000..878f75de8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoError.h @@ -0,0 +1,124 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBOPENIDOpenIdError; +@class DBOPENIDUserInfoError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserInfoError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBOPENIDUserInfoError : NSObject + +#pragma mark - Instance fields + +/// The `DBOPENIDUserInfoErrorTag` enum type represents the possible tag states +/// with which the `DBOPENIDUserInfoError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBOPENIDUserInfoErrorTag){ + /// (no description). + DBOPENIDUserInfoErrorOpenidError, + + /// (no description). + DBOPENIDUserInfoErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBOPENIDUserInfoErrorTag tag; + +/// (no description). @note Ensure the `isOpenidError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBOPENIDOpenIdError *openidError; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "openid_error". +/// +/// @param openidError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOpenidError:(DBOPENIDOpenIdError *)openidError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "openid_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `openidError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "openid_error". +/// +- (BOOL)isOpenidError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBOPENIDUserInfoError` union. +/// +@interface DBOPENIDUserInfoErrorSerializer : NSObject + +/// +/// Serializes `DBOPENIDUserInfoError` instances. +/// +/// @param instance An instance of the `DBOPENIDUserInfoError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBOPENIDUserInfoError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBOPENIDUserInfoError *)instance; + +/// +/// Deserializes `DBOPENIDUserInfoError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBOPENIDUserInfoError` API object. +/// +/// @return An instantiation of the `DBOPENIDUserInfoError` object. +/// ++ (DBOPENIDUserInfoError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoResult.h new file mode 100644 index 000000000..59de922ea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Openid/Headers/DBOPENIDUserInfoResult.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBOPENIDUserInfoResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserInfoResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBOPENIDUserInfoResult : NSObject + +#pragma mark - Instance fields + +/// Last name of user. +@property (nonatomic, readonly, copy, nullable) NSString *familyName; + +/// First name of user. +@property (nonatomic, readonly, copy, nullable) NSString *givenName; + +/// Email address of user. +@property (nonatomic, readonly, copy, nullable) NSString *email; + +/// If user is email verified. +@property (nonatomic, readonly, nullable) NSNumber *emailVerified; + +/// Issuer of token (in this case Dropbox). +@property (nonatomic, readonly, copy) NSString *iss; + +/// An identifier for the user. This is the Dropbox account_id, a string value +/// such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc. +@property (nonatomic, readonly, copy) NSString *sub; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param familyName Last name of user. +/// @param givenName First name of user. +/// @param email Email address of user. +/// @param emailVerified If user is email verified. +/// @param iss Issuer of token (in this case Dropbox). +/// @param sub An identifier for the user. This is the Dropbox account_id, a +/// string value such as dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFamilyName:(nullable NSString *)familyName + givenName:(nullable NSString *)givenName + email:(nullable NSString *)email + emailVerified:(nullable NSNumber *)emailVerified + iss:(nullable NSString *)iss + sub:(nullable NSString *)sub; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserInfoResult` struct. +/// +@interface DBOPENIDUserInfoResultSerializer : NSObject + +/// +/// Serializes `DBOPENIDUserInfoResult` instances. +/// +/// @param instance An instance of the `DBOPENIDUserInfoResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBOPENIDUserInfoResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBOPENIDUserInfoResult *)instance; + +/// +/// Deserializes `DBOPENIDUserInfoResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBOPENIDUserInfoResult` API object. +/// +/// @return An instantiation of the `DBOPENIDUserInfoResult` object. +/// ++ (DBOPENIDUserInfoResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m index cd37e85ad..065013e29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/DBPaperObjects.m @@ -36,17 +36,17 @@ - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddMemberSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddMemberSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERAddMemberSerializer serialize:self] description]; } @@ -101,16 +101,16 @@ - (BOOL)isEqualToAddMember:(DBPAPERAddMember *)anAddMember { @implementation DBPAPERAddMemberSerializer -+ (NSDictionary *)serialize:(DBPAPERAddMember *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERAddMember *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERAddMember *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERAddMember *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = valueDict[@"permission_level"] @@ -144,17 +144,17 @@ - (instancetype)initWithDocId:(NSString *)docId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERRefPaperDocSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERRefPaperDocSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERRefPaperDocSerializer serialize:self] description]; } @@ -205,15 +205,15 @@ - (BOOL)isEqualToRefPaperDoc:(DBPAPERRefPaperDoc *)aRefPaperDoc { @implementation DBPAPERRefPaperDocSerializer -+ (NSDictionary *)serialize:(DBPAPERRefPaperDoc *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERRefPaperDoc *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; return [[DBPAPERRefPaperDoc alloc] initWithDocId:docId]; @@ -258,17 +258,17 @@ - (instancetype)initWithDocId:(NSString *)docId members:(NSArray *)serialize:(id)instance { return [DBPAPERAddPaperDocUserSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserSerializer serialize:self] description]; } @@ -335,7 +335,7 @@ - (BOOL)isEqualToAddPaperDocUser:(DBPAPERAddPaperDocUser *)anAddPaperDocUser { @implementation DBPAPERAddPaperDocUserSerializer -+ (NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; @@ -348,10 +348,10 @@ + (NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)valueObj { } jsonDict[@"quiet"] = valueObj.quiet; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { @@ -391,17 +391,17 @@ - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member result:(DBPAPER #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddPaperDocUserMemberResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserMemberResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserMemberResultSerializer serialize:self] description]; } @@ -456,16 +456,16 @@ - (BOOL)isEqualToAddPaperDocUserMemberResult:(DBPAPERAddPaperDocUserMemberResult @implementation DBPAPERAddPaperDocUserMemberResultSerializer -+ (NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"result"] = [DBPAPERAddPaperDocUserResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBPAPERAddPaperDocUserResult *result = [DBPAPERAddPaperDocUserResultSerializer deserialize:valueDict[@"result"]]; @@ -609,17 +609,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERAddPaperDocUserResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERAddPaperDocUserResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERAddPaperDocUserResultSerializer serialize:self] description]; } @@ -640,20 +640,28 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERAddPaperDocUserResultSuccess: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultUnknownError: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultDailyLimitReached: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultUserIsOwner: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultFailedUserDataRetrieval: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultPermissionAlreadyGranted: result = prime * result + [[self tagName] hash]; + break; case DBPAPERAddPaperDocUserResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -705,7 +713,7 @@ - (BOOL)isEqualToAddPaperDocUserResult:(DBPAPERAddPaperDocUserResult *)anAddPape @implementation DBPAPERAddPaperDocUserResultSerializer -+ (NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { @@ -728,10 +736,10 @@ + (NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { @@ -784,17 +792,17 @@ - (instancetype)initWithValue:(NSString *)value { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERCursorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERCursorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERCursorSerializer serialize:self] description]; } @@ -853,7 +861,7 @@ - (BOOL)isEqualToCursor:(DBPAPERCursor *)aCursor { @implementation DBPAPERCursorSerializer -+ (NSDictionary *)serialize:(DBPAPERCursor *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERCursor *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"value"] = valueObj.value; @@ -861,10 +869,10 @@ + (NSDictionary *)serialize:(DBPAPERCursor *)valueObj { jsonDict[@"expiration"] = [DBNSDateSerializer serialize:valueObj.expiration dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERCursor *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERCursor *)deserialize:(NSDictionary *)valueDict { NSString *value = valueDict[@"value"]; NSDate *expiration = valueDict[@"expiration"] ? [DBNSDateSerializer deserialize:valueDict[@"expiration"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] @@ -926,17 +934,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperApiBaseErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperApiBaseErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperApiBaseErrorSerializer serialize:self] description]; } @@ -957,8 +965,10 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperApiBaseErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperApiBaseErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -998,7 +1008,7 @@ - (BOOL)isEqualToPaperApiBaseError:(DBPAPERPaperApiBaseError *)aPaperApiBaseErro @implementation DBPAPERPaperApiBaseErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { @@ -1009,10 +1019,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { @@ -1092,17 +1102,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERDocLookupErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERDocLookupErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERDocLookupErrorSerializer serialize:self] description]; } @@ -1123,10 +1133,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERDocLookupErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; + break; case DBPAPERDocLookupErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBPAPERDocLookupErrorDocNotFound: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1168,7 +1181,7 @@ - (BOOL)isEqualToDocLookupError:(DBPAPERDocLookupError *)aDocLookupError { @implementation DBPAPERDocLookupErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERDocLookupError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERDocLookupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { @@ -1181,10 +1194,10 @@ + (NSDictionary *)serialize:(DBPAPERDocLookupError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERDocLookupError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERDocLookupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { @@ -1279,17 +1292,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERDocSubscriptionLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERDocSubscriptionLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERDocSubscriptionLevelSerializer serialize:self] description]; } @@ -1310,12 +1323,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERDocSubscriptionLevelDefault_: result = prime * result + [[self tagName] hash]; + break; case DBPAPERDocSubscriptionLevelIgnore: result = prime * result + [[self tagName] hash]; + break; case DBPAPERDocSubscriptionLevelEvery: result = prime * result + [[self tagName] hash]; + break; case DBPAPERDocSubscriptionLevelNoEmail: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1359,7 +1376,7 @@ - (BOOL)isEqualToDocSubscriptionLevel:(DBPAPERDocSubscriptionLevel *)aDocSubscri @implementation DBPAPERDocSubscriptionLevelSerializer -+ (NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefault_]) { @@ -1376,10 +1393,10 @@ + (NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"default"]) { @@ -1465,17 +1482,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERExportFormatSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERExportFormatSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERExportFormatSerializer serialize:self] description]; } @@ -1496,10 +1513,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERExportFormatHtml: result = prime * result + [[self tagName] hash]; + break; case DBPAPERExportFormatMarkdown: result = prime * result + [[self tagName] hash]; + break; case DBPAPERExportFormatOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1541,7 +1561,7 @@ - (BOOL)isEqualToExportFormat:(DBPAPERExportFormat *)anExportFormat { @implementation DBPAPERExportFormatSerializer -+ (NSDictionary *)serialize:(DBPAPERExportFormat *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERExportFormat *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isHtml]) { @@ -1554,10 +1574,10 @@ + (NSDictionary *)serialize:(DBPAPERExportFormat *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERExportFormat *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERExportFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"html"]) { @@ -1597,17 +1617,17 @@ - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERFolderSerializer serialize:self] description]; } @@ -1662,16 +1682,16 @@ - (BOOL)isEqualToFolder:(DBPAPERFolder *)aFolder { @implementation DBPAPERFolderSerializer -+ (NSDictionary *)serialize:(DBPAPERFolder *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERFolder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERFolder *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERFolder *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; @@ -1731,17 +1751,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSharingPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSharingPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERFolderSharingPolicyTypeSerializer serialize:self] description]; } @@ -1762,8 +1782,10 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERFolderSharingPolicyTypeTeam: result = prime * result + [[self tagName] hash]; + break; case DBPAPERFolderSharingPolicyTypeInviteOnly: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1803,7 +1825,7 @@ - (BOOL)isEqualToFolderSharingPolicyType:(DBPAPERFolderSharingPolicyType *)aFold @implementation DBPAPERFolderSharingPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeam]) { @@ -1816,10 +1838,10 @@ + (NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { @@ -1915,17 +1937,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFolderSubscriptionLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERFolderSubscriptionLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERFolderSubscriptionLevelSerializer serialize:self] description]; } @@ -1946,12 +1968,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERFolderSubscriptionLevelNone: result = prime * result + [[self tagName] hash]; + break; case DBPAPERFolderSubscriptionLevelActivityOnly: result = prime * result + [[self tagName] hash]; + break; case DBPAPERFolderSubscriptionLevelDailyEmails: result = prime * result + [[self tagName] hash]; + break; case DBPAPERFolderSubscriptionLevelWeeklyEmails: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1995,7 +2021,7 @@ - (BOOL)isEqualToFolderSubscriptionLevel:(DBPAPERFolderSubscriptionLevel *)aFold @implementation DBPAPERFolderSubscriptionLevelSerializer -+ (NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNone]) { @@ -2012,10 +2038,10 @@ + (NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"none"]) { @@ -2069,17 +2095,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERFoldersContainingPaperDocSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERFoldersContainingPaperDocSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERFoldersContainingPaperDocSerializer serialize:self] description]; } @@ -2142,7 +2168,7 @@ - (BOOL)isEqualToFoldersContainingPaperDoc:(DBPAPERFoldersContainingPaperDoc *)a @implementation DBPAPERFoldersContainingPaperDocSerializer -+ (NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.folderSharingPolicyType) { @@ -2156,10 +2182,10 @@ + (NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)valueDict { DBPAPERFolderSharingPolicyType *folderSharingPolicyType = valueDict[@"folder_sharing_policy_type"] ? [DBPAPERFolderSharingPolicyTypeSerializer deserialize:valueDict[@"folder_sharing_policy_type"]] @@ -2256,17 +2282,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERImportFormatSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERImportFormatSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERImportFormatSerializer serialize:self] description]; } @@ -2287,12 +2313,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERImportFormatHtml: result = prime * result + [[self tagName] hash]; + break; case DBPAPERImportFormatMarkdown: result = prime * result + [[self tagName] hash]; + break; case DBPAPERImportFormatPlainText: result = prime * result + [[self tagName] hash]; + break; case DBPAPERImportFormatOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2336,7 +2366,7 @@ - (BOOL)isEqualToImportFormat:(DBPAPERImportFormat *)anImportFormat { @implementation DBPAPERImportFormatSerializer -+ (NSDictionary *)serialize:(DBPAPERImportFormat *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERImportFormat *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isHtml]) { @@ -2351,10 +2381,10 @@ + (NSDictionary *)serialize:(DBPAPERImportFormat *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERImportFormat *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERImportFormat *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"html"]) { @@ -2399,17 +2429,17 @@ - (instancetype)initWithInvitee:(DBSHARINGInviteeInfo *)invitee #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERInviteeInfoWithPermissionLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERInviteeInfoWithPermissionLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERInviteeInfoWithPermissionLevelSerializer serialize:self] description]; } @@ -2465,16 +2495,16 @@ - (BOOL)isEqualToInviteeInfoWithPermissionLevel: @implementation DBPAPERInviteeInfoWithPermissionLevelSerializer -+ (NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitee"] = [DBSHARINGInviteeInfoSerializer serialize:valueObj.invitee]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { DBSHARINGInviteeInfo *invitee = [DBSHARINGInviteeInfoSerializer deserialize:valueDict[@"invitee"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = [DBPAPERPaperDocPermissionLevelSerializer deserialize:valueDict[@"permission_level"]]; @@ -2547,17 +2577,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListDocsCursorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListDocsCursorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListDocsCursorErrorSerializer serialize:self] description]; } @@ -2578,8 +2608,10 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERListDocsCursorErrorCursorError: result = prime * result + [self.cursorError hash]; + break; case DBPAPERListDocsCursorErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2619,7 +2651,7 @@ - (BOOL)isEqualToListDocsCursorError:(DBPAPERListDocsCursorError *)aListDocsCurs @implementation DBPAPERListDocsCursorErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERListDocsCursorError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListDocsCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isCursorError]) { @@ -2631,10 +2663,10 @@ + (NSDictionary *)serialize:(DBPAPERListDocsCursorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"cursor_error"]) { @@ -2684,17 +2716,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsArgsSerializer serialize:self] description]; } @@ -2757,7 +2789,7 @@ - (BOOL)isEqualToListPaperDocsArgs:(DBPAPERListPaperDocsArgs *)aListPaperDocsArg @implementation DBPAPERListPaperDocsArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"filter_by"] = [DBPAPERListPaperDocsFilterBySerializer serialize:valueObj.filterBy]; @@ -2765,10 +2797,10 @@ + (NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)valueObj { jsonDict[@"sort_order"] = [DBPAPERListPaperDocsSortOrderSerializer serialize:valueObj.sortOrder]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)valueDict { DBPAPERListPaperDocsFilterBy *filterBy = valueDict[@"filter_by"] ? [DBPAPERListPaperDocsFilterBySerializer deserialize:valueDict[@"filter_by"]] : [[DBPAPERListPaperDocsFilterBy alloc] initWithDocsAccessed]; @@ -2807,17 +2839,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsContinueArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsContinueArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsContinueArgsSerializer serialize:self] description]; } @@ -2868,15 +2900,15 @@ - (BOOL)isEqualToListPaperDocsContinueArgs:(DBPAPERListPaperDocsContinueArgs *)a @implementation DBPAPERListPaperDocsContinueArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBPAPERListPaperDocsContinueArgs alloc] initWithCursor:cursor]; @@ -2949,17 +2981,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsFilterBySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsFilterBySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsFilterBySerializer serialize:self] description]; } @@ -2980,10 +3012,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERListPaperDocsFilterByDocsAccessed: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsFilterByDocsCreated: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsFilterByOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3025,7 +3060,7 @@ - (BOOL)isEqualToListPaperDocsFilterBy:(DBPAPERListPaperDocsFilterBy *)aListPape @implementation DBPAPERListPaperDocsFilterBySerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDocsAccessed]) { @@ -3038,10 +3073,10 @@ + (NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"docs_accessed"]) { @@ -3089,17 +3124,17 @@ - (instancetype)initWithDocIds:(NSArray *)docIds #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsResponseSerializer serialize:self] description]; } @@ -3158,7 +3193,7 @@ - (BOOL)isEqualToListPaperDocsResponse:(DBPAPERListPaperDocsResponse *)aListPape @implementation DBPAPERListPaperDocsResponseSerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_ids"] = [DBArraySerializer serialize:valueObj.docIds @@ -3168,10 +3203,10 @@ + (NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)valueObj { jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)valueDict { NSArray *docIds = [DBArraySerializer deserialize:valueDict[@"doc_ids"] withBlock:^id(id elem0) { return elem0; @@ -3263,17 +3298,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsSortBySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsSortBySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsSortBySerializer serialize:self] description]; } @@ -3294,12 +3329,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERListPaperDocsSortByAccessed: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsSortByModified: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsSortByCreated: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsSortByOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3343,7 +3382,7 @@ - (BOOL)isEqualToListPaperDocsSortBy:(DBPAPERListPaperDocsSortBy *)aListPaperDoc @implementation DBPAPERListPaperDocsSortBySerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessed]) { @@ -3358,10 +3397,10 @@ + (NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"accessed"]) { @@ -3444,17 +3483,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListPaperDocsSortOrderSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListPaperDocsSortOrderSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListPaperDocsSortOrderSerializer serialize:self] description]; } @@ -3475,10 +3514,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERListPaperDocsSortOrderAscending: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsSortOrderDescending: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListPaperDocsSortOrderOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3520,7 +3562,7 @@ - (BOOL)isEqualToListPaperDocsSortOrder:(DBPAPERListPaperDocsSortOrder *)aListPa @implementation DBPAPERListPaperDocsSortOrderSerializer -+ (NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAscending]) { @@ -3533,10 +3575,10 @@ + (NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"ascending"]) { @@ -3644,17 +3686,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersCursorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersCursorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersCursorErrorSerializer serialize:self] description]; } @@ -3675,12 +3717,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERListUsersCursorErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListUsersCursorErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListUsersCursorErrorDocNotFound: result = prime * result + [[self tagName] hash]; + break; case DBPAPERListUsersCursorErrorCursorError: result = prime * result + [self.cursorError hash]; + break; } return prime * result; @@ -3724,7 +3770,7 @@ - (BOOL)isEqualToListUsersCursorError:(DBPAPERListUsersCursorError *)aListUsersC @implementation DBPAPERListUsersCursorErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersCursorError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { @@ -3740,10 +3786,10 @@ + (NSDictionary *)serialize:(DBPAPERListUsersCursorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { @@ -3790,17 +3836,17 @@ - (instancetype)initWithDocId:(NSString *)docId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderArgsSerializer serialize:self] description]; } @@ -3855,16 +3901,16 @@ - (BOOL)isEqualToListUsersOnFolderArgs:(DBPAPERListUsersOnFolderArgs *)aListUser @implementation DBPAPERListUsersOnFolderArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); @@ -3897,17 +3943,17 @@ - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderContinueArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderContinueArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderContinueArgsSerializer serialize:self] description]; } @@ -3962,16 +4008,16 @@ - (BOOL)isEqualToListUsersOnFolderContinueArgs:(DBPAPERListUsersOnFolderContinue @implementation DBPAPERListUsersOnFolderContinueArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSString *cursor = valueDict[@"cursor"]; @@ -4020,17 +4066,17 @@ - (instancetype)initWithInvitees:(NSArray *)invitees #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnFolderResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnFolderResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnFolderResponseSerializer serialize:self] description]; } @@ -4093,7 +4139,7 @@ - (BOOL)isEqualToListUsersOnFolderResponse:(DBPAPERListUsersOnFolderResponse *)a @implementation DBPAPERListUsersOnFolderResponseSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees @@ -4107,10 +4153,10 @@ + (NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)valueObj { jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)valueDict { NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { @@ -4159,17 +4205,17 @@ - (instancetype)initWithDocId:(NSString *)docId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocArgsSerializer serialize:self] description]; } @@ -4228,17 +4274,17 @@ - (BOOL)isEqualToListUsersOnPaperDocArgs:(DBPAPERListUsersOnPaperDocArgs *)aList @implementation DBPAPERListUsersOnPaperDocArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"limit"] = valueObj.limit; jsonDict[@"filter_by"] = [DBPAPERUserOnPaperDocFilterSerializer serialize:valueObj.filterBy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); DBPAPERUserOnPaperDocFilter *filterBy = @@ -4274,17 +4320,17 @@ - (instancetype)initWithDocId:(NSString *)docId cursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocContinueArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocContinueArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocContinueArgsSerializer serialize:self] description]; } @@ -4340,16 +4386,16 @@ - (BOOL)isEqualToListUsersOnPaperDocContinueArgs: @implementation DBPAPERListUsersOnPaperDocContinueArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSString *cursor = valueDict[@"cursor"]; @@ -4402,17 +4448,17 @@ - (instancetype)initWithInvitees:(NSArray *)serialize:(id)instance { return [DBPAPERListUsersOnPaperDocResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERListUsersOnPaperDocResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERListUsersOnPaperDocResponseSerializer serialize:self] description]; } @@ -4479,7 +4525,7 @@ - (BOOL)isEqualToListUsersOnPaperDocResponse:(DBPAPERListUsersOnPaperDocResponse @implementation DBPAPERListUsersOnPaperDocResponseSerializer -+ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees @@ -4494,10 +4540,10 @@ + (NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)valueObj { jsonDict[@"cursor"] = [DBPAPERCursorSerializer serialize:valueObj.cursor]; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)valueDict { NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] withBlock:^id(id elem0) { @@ -4614,17 +4660,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperApiCursorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperApiCursorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperApiCursorErrorSerializer serialize:self] description]; } @@ -4645,14 +4691,19 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperApiCursorErrorExpiredCursor: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperApiCursorErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperApiCursorErrorWrongUserInCursor: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperApiCursorErrorReset: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperApiCursorErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4698,7 +4749,7 @@ - (BOOL)isEqualToPaperApiCursorError:(DBPAPERPaperApiCursorError *)aPaperApiCurs @implementation DBPAPERPaperApiCursorErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isExpiredCursor]) { @@ -4715,10 +4766,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"expired_cursor"]) { @@ -4766,17 +4817,17 @@ - (instancetype)initWithImportFormat:(DBPAPERImportFormat *)importFormat { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocCreateArgsSerializer serialize:self] description]; } @@ -4835,7 +4886,7 @@ - (BOOL)isEqualToPaperDocCreateArgs:(DBPAPERPaperDocCreateArgs *)aPaperDocCreate @implementation DBPAPERPaperDocCreateArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"import_format"] = [DBPAPERImportFormatSerializer serialize:valueObj.importFormat]; @@ -4843,10 +4894,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)valueObj { jsonDict[@"parent_folder_id"] = valueObj.parentFolderId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)valueDict { DBPAPERImportFormat *importFormat = [DBPAPERImportFormatSerializer deserialize:valueDict[@"import_format"]]; NSString *parentFolderId = valueDict[@"parent_folder_id"] ?: nil; @@ -4963,17 +5014,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocCreateErrorSerializer serialize:self] description]; } @@ -4994,16 +5045,22 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperDocCreateErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocCreateErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocCreateErrorContentMalformed: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocCreateErrorFolderNotFound: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocCreateErrorDocLengthExceeded: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocCreateErrorImageSizeExceeded: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5051,7 +5108,7 @@ - (BOOL)isEqualToPaperDocCreateError:(DBPAPERPaperDocCreateError *)aPaperDocCrea @implementation DBPAPERPaperDocCreateErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { @@ -5070,10 +5127,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { @@ -5121,17 +5178,17 @@ - (instancetype)initWithDocId:(NSString *)docId revision:(NSNumber *)revision ti #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocCreateUpdateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocCreateUpdateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocCreateUpdateResultSerializer serialize:self] description]; } @@ -5190,17 +5247,17 @@ - (BOOL)isEqualToPaperDocCreateUpdateResult:(DBPAPERPaperDocCreateUpdateResult * @implementation DBPAPERPaperDocCreateUpdateResultSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"revision"] = valueObj.revision; jsonDict[@"title"] = valueObj.title; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; NSNumber *revision = valueDict[@"revision"]; NSString *title = valueDict[@"title"]; @@ -5235,17 +5292,17 @@ - (instancetype)initWithDocId:(NSString *)docId exportFormat:(DBPAPERExportForma #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocExportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocExportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocExportSerializer serialize:self] description]; } @@ -5300,16 +5357,16 @@ - (BOOL)isEqualToPaperDocExport:(DBPAPERPaperDocExport *)aPaperDocExport { @implementation DBPAPERPaperDocExportSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocExport *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocExport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"export_format"] = [DBPAPERExportFormatSerializer serialize:valueObj.exportFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERExportFormat *exportFormat = [DBPAPERExportFormatSerializer deserialize:valueDict[@"export_format"]]; @@ -5349,17 +5406,17 @@ - (instancetype)initWithOwner:(NSString *)owner #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocExportResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocExportResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocExportResultSerializer serialize:self] description]; } @@ -5422,7 +5479,7 @@ - (BOOL)isEqualToPaperDocExportResult:(DBPAPERPaperDocExportResult *)aPaperDocEx @implementation DBPAPERPaperDocExportResultSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"owner"] = valueObj.owner; @@ -5430,10 +5487,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)valueObj { jsonDict[@"revision"] = valueObj.revision; jsonDict[@"mime_type"] = valueObj.mimeType; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)valueDict { NSString *owner = valueDict[@"owner"]; NSString *title = valueDict[@"title"]; NSNumber *revision = valueDict[@"revision"]; @@ -5509,17 +5566,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocPermissionLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocPermissionLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocPermissionLevelSerializer serialize:self] description]; } @@ -5540,10 +5597,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperDocPermissionLevelEdit: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocPermissionLevelViewAndComment: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocPermissionLevelOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5585,7 +5645,7 @@ - (BOOL)isEqualToPaperDocPermissionLevel:(DBPAPERPaperDocPermissionLevel *)aPape @implementation DBPAPERPaperDocPermissionLevelSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEdit]) { @@ -5598,10 +5658,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"edit"]) { @@ -5642,17 +5702,17 @@ - (instancetype)initWithDocId:(NSString *)docId sharingPolicy:(DBPAPERSharingPol #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocSharingPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocSharingPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocSharingPolicySerializer serialize:self] description]; } @@ -5707,16 +5767,16 @@ - (BOOL)isEqualToPaperDocSharingPolicy:(DBPAPERPaperDocSharingPolicy *)aPaperDoc @implementation DBPAPERPaperDocSharingPolicySerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"sharing_policy"] = [DBPAPERSharingPolicySerializer serialize:valueObj.sharingPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERSharingPolicy *sharingPolicy = [DBPAPERSharingPolicySerializer deserialize:valueDict[@"sharing_policy"]]; @@ -5758,17 +5818,17 @@ - (instancetype)initWithDocId:(NSString *)docId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdateArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdateArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocUpdateArgsSerializer serialize:self] description]; } @@ -5831,7 +5891,7 @@ - (BOOL)isEqualToPaperDocUpdateArgs:(DBPAPERPaperDocUpdateArgs *)aPaperDocUpdate @implementation DBPAPERPaperDocUpdateArgsSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; @@ -5839,10 +5899,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)valueObj { jsonDict[@"revision"] = valueObj.revision; jsonDict[@"import_format"] = [DBPAPERImportFormatSerializer serialize:valueObj.importFormat]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBPAPERPaperDocUpdatePolicy *docUpdatePolicy = [DBPAPERPaperDocUpdatePolicySerializer deserialize:valueDict[@"doc_update_policy"]]; @@ -6007,17 +6067,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocUpdateErrorSerializer serialize:self] description]; } @@ -6038,22 +6098,31 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperDocUpdateErrorInsufficientPermissions: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorDocNotFound: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorContentMalformed: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorRevisionMismatch: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorDocLengthExceeded: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorImageSizeExceeded: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorDocArchived: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdateErrorDocDeleted: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6107,7 +6176,7 @@ - (BOOL)isEqualToPaperDocUpdateError:(DBPAPERPaperDocUpdateError *)aPaperDocUpda @implementation DBPAPERPaperDocUpdateErrorSerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInsufficientPermissions]) { @@ -6132,10 +6201,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"insufficient_permissions"]) { @@ -6242,17 +6311,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERPaperDocUpdatePolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERPaperDocUpdatePolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERPaperDocUpdatePolicySerializer serialize:self] description]; } @@ -6273,12 +6342,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERPaperDocUpdatePolicyAppend: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdatePolicyPrepend: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdatePolicyOverwriteAll: result = prime * result + [[self tagName] hash]; + break; case DBPAPERPaperDocUpdatePolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6322,7 +6395,7 @@ - (BOOL)isEqualToPaperDocUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)aPaperDocUp @implementation DBPAPERPaperDocUpdatePolicySerializer -+ (NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAppend]) { @@ -6337,10 +6410,10 @@ + (NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"append"]) { @@ -6358,6 +6431,437 @@ + (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)valueDict { @end +#import "DBPAPERPaperFolderCreateArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBPAPERPaperFolderCreateArg + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + parentFolderId:(NSString *)parentFolderId + isTeamFolder:(NSNumber *)isTeamFolder { + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _name = name; + _parentFolderId = parentFolderId; + _isTeamFolder = isTeamFolder; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name { + return [self initWithName:name parentFolderId:nil isTeamFolder:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBPAPERPaperFolderCreateArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBPAPERPaperFolderCreateArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBPAPERPaperFolderCreateArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + if (self.parentFolderId != nil) { + result = prime * result + [self.parentFolderId hash]; + } + if (self.isTeamFolder != nil) { + result = prime * result + [self.isTeamFolder hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderCreateArg:other]; +} + +- (BOOL)isEqualToPaperFolderCreateArg:(DBPAPERPaperFolderCreateArg *)aPaperFolderCreateArg { + if (self == aPaperFolderCreateArg) { + return YES; + } + if (![self.name isEqual:aPaperFolderCreateArg.name]) { + return NO; + } + if (self.parentFolderId) { + if (![self.parentFolderId isEqual:aPaperFolderCreateArg.parentFolderId]) { + return NO; + } + } + if (self.isTeamFolder) { + if (![self.isTeamFolder isEqual:aPaperFolderCreateArg.isTeamFolder]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBPAPERPaperFolderCreateArgSerializer + ++ (NSDictionary *)serialize:(DBPAPERPaperFolderCreateArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + if (valueObj.parentFolderId) { + jsonDict[@"parent_folder_id"] = valueObj.parentFolderId; + } + if (valueObj.isTeamFolder) { + jsonDict[@"is_team_folder"] = valueObj.isTeamFolder; + } + + return jsonDict; +} + ++ (DBPAPERPaperFolderCreateArg *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *parentFolderId = valueDict[@"parent_folder_id"] ?: nil; + NSNumber *isTeamFolder = valueDict[@"is_team_folder"] ?: nil; + + return + [[DBPAPERPaperFolderCreateArg alloc] initWithName:name parentFolderId:parentFolderId isTeamFolder:isTeamFolder]; +} + +@end + +#import "DBPAPERPaperApiBaseError.h" +#import "DBPAPERPaperFolderCreateError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBPAPERPaperFolderCreateError + +#pragma mark - Constructors + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBPAPERPaperFolderCreateErrorInsufficientPermissions; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBPAPERPaperFolderCreateErrorOther; + } + return self; +} + +- (instancetype)initWithFolderNotFound { + self = [super init]; + if (self) { + _tag = DBPAPERPaperFolderCreateErrorFolderNotFound; + } + return self; +} + +- (instancetype)initWithInvalidFolderId { + self = [super init]; + if (self) { + _tag = DBPAPERPaperFolderCreateErrorInvalidFolderId; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInsufficientPermissions { + return _tag == DBPAPERPaperFolderCreateErrorInsufficientPermissions; +} + +- (BOOL)isOther { + return _tag == DBPAPERPaperFolderCreateErrorOther; +} + +- (BOOL)isFolderNotFound { + return _tag == DBPAPERPaperFolderCreateErrorFolderNotFound; +} + +- (BOOL)isInvalidFolderId { + return _tag == DBPAPERPaperFolderCreateErrorInvalidFolderId; +} + +- (NSString *)tagName { + switch (_tag) { + case DBPAPERPaperFolderCreateErrorInsufficientPermissions: + return @"DBPAPERPaperFolderCreateErrorInsufficientPermissions"; + case DBPAPERPaperFolderCreateErrorOther: + return @"DBPAPERPaperFolderCreateErrorOther"; + case DBPAPERPaperFolderCreateErrorFolderNotFound: + return @"DBPAPERPaperFolderCreateErrorFolderNotFound"; + case DBPAPERPaperFolderCreateErrorInvalidFolderId: + return @"DBPAPERPaperFolderCreateErrorInvalidFolderId"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBPAPERPaperFolderCreateErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBPAPERPaperFolderCreateErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBPAPERPaperFolderCreateErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBPAPERPaperFolderCreateErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBPAPERPaperFolderCreateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBPAPERPaperFolderCreateErrorFolderNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBPAPERPaperFolderCreateErrorInvalidFolderId: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderCreateError:other]; +} + +- (BOOL)isEqualToPaperFolderCreateError:(DBPAPERPaperFolderCreateError *)aPaperFolderCreateError { + if (self == aPaperFolderCreateError) { + return YES; + } + if (self.tag != aPaperFolderCreateError.tag) { + return NO; + } + switch (_tag) { + case DBPAPERPaperFolderCreateErrorInsufficientPermissions: + return [[self tagName] isEqual:[aPaperFolderCreateError tagName]]; + case DBPAPERPaperFolderCreateErrorOther: + return [[self tagName] isEqual:[aPaperFolderCreateError tagName]]; + case DBPAPERPaperFolderCreateErrorFolderNotFound: + return [[self tagName] isEqual:[aPaperFolderCreateError tagName]]; + case DBPAPERPaperFolderCreateErrorInvalidFolderId: + return [[self tagName] isEqual:[aPaperFolderCreateError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBPAPERPaperFolderCreateErrorSerializer + ++ (NSDictionary *)serialize:(DBPAPERPaperFolderCreateError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isFolderNotFound]) { + jsonDict[@".tag"] = @"folder_not_found"; + } else if ([valueObj isInvalidFolderId]) { + jsonDict[@".tag"] = @"invalid_folder_id"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBPAPERPaperFolderCreateError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBPAPERPaperFolderCreateError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBPAPERPaperFolderCreateError alloc] initWithOther]; + } else if ([tag isEqualToString:@"folder_not_found"]) { + return [[DBPAPERPaperFolderCreateError alloc] initWithFolderNotFound]; + } else if ([tag isEqualToString:@"invalid_folder_id"]) { + return [[DBPAPERPaperFolderCreateError alloc] initWithInvalidFolderId]; + } else { + return [[DBPAPERPaperFolderCreateError alloc] initWithOther]; + } +} + +@end + +#import "DBPAPERPaperFolderCreateResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBPAPERPaperFolderCreateResult + +#pragma mark - Constructors + +- (instancetype)initWithFolderId:(NSString *)folderId { + [DBStoneValidators nonnullValidator:nil](folderId); + + self = [super init]; + if (self) { + _folderId = folderId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBPAPERPaperFolderCreateResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBPAPERPaperFolderCreateResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBPAPERPaperFolderCreateResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.folderId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderCreateResult:other]; +} + +- (BOOL)isEqualToPaperFolderCreateResult:(DBPAPERPaperFolderCreateResult *)aPaperFolderCreateResult { + if (self == aPaperFolderCreateResult) { + return YES; + } + if (![self.folderId isEqual:aPaperFolderCreateResult.folderId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBPAPERPaperFolderCreateResultSerializer + ++ (NSDictionary *)serialize:(DBPAPERPaperFolderCreateResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"folder_id"] = valueObj.folderId; + + return jsonDict; +} + ++ (DBPAPERPaperFolderCreateResult *)deserialize:(NSDictionary *)valueDict { + NSString *folderId = valueDict[@"folder_id"]; + + return [[DBPAPERPaperFolderCreateResult alloc] initWithFolderId:folderId]; +} + +@end + #import "DBPAPERRefPaperDoc.h" #import "DBPAPERRemovePaperDocUser.h" #import "DBSHARINGMemberSelector.h" @@ -6383,17 +6887,17 @@ - (instancetype)initWithDocId:(NSString *)docId member:(DBSHARINGMemberSelector #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERRemovePaperDocUserSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERRemovePaperDocUserSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERRemovePaperDocUserSerializer serialize:self] description]; } @@ -6448,16 +6952,16 @@ - (BOOL)isEqualToRemovePaperDocUser:(DBPAPERRemovePaperDocUser *)aRemovePaperDoc @implementation DBPAPERRemovePaperDocUserSerializer -+ (NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"doc_id"] = valueObj.docId; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)valueDict { NSString *docId = valueDict[@"doc_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; @@ -6495,17 +6999,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERSharingPolicySerializer serialize:self] description]; } @@ -6568,7 +7072,7 @@ - (BOOL)isEqualToSharingPolicy:(DBPAPERSharingPolicy *)aSharingPolicy { @implementation DBPAPERSharingPolicySerializer -+ (NSDictionary *)serialize:(DBPAPERSharingPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERSharingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.publicSharingPolicy) { @@ -6579,10 +7083,10 @@ + (NSDictionary *)serialize:(DBPAPERSharingPolicy *)valueObj { jsonDict[@"team_sharing_policy"] = [DBPAPERSharingTeamPolicyTypeSerializer serialize:valueObj.teamSharingPolicy]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)valueDict { DBPAPERSharingPublicPolicyType *publicSharingPolicy = valueDict[@"public_sharing_policy"] ? [DBPAPERSharingPublicPolicyTypeSerializer deserialize:valueDict[@"public_sharing_policy"]] @@ -6663,17 +7167,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingTeamPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingTeamPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERSharingTeamPolicyTypeSerializer serialize:self] description]; } @@ -6694,10 +7198,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit: result = prime * result + [[self tagName] hash]; + break; case DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment: result = prime * result + [[self tagName] hash]; + break; case DBPAPERSharingTeamPolicyTypeInviteOnly: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6739,7 +7246,7 @@ - (BOOL)isEqualToSharingTeamPolicyType:(DBPAPERSharingTeamPolicyType *)aSharingT @implementation DBPAPERSharingTeamPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPeopleWithLinkCanEdit]) { @@ -6754,10 +7261,10 @@ + (NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"people_with_link_can_edit"]) { @@ -6856,17 +7363,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERSharingPublicPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERSharingPublicPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERSharingPublicPolicyTypeSerializer serialize:self] description]; } @@ -6887,12 +7394,16 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit: result = prime * result + [[self tagName] hash]; + break; case DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment: result = prime * result + [[self tagName] hash]; + break; case DBPAPERSharingPublicPolicyTypeInviteOnly: result = prime * result + [[self tagName] hash]; + break; case DBPAPERSharingPublicPolicyTypeDisabled: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6936,7 +7447,7 @@ - (BOOL)isEqualToSharingPublicPolicyType:(DBPAPERSharingPublicPolicyType *)aShar @implementation DBPAPERSharingPublicPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPeopleWithLinkCanEdit]) { @@ -6953,10 +7464,10 @@ + (NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"people_with_link_can_edit"]) { @@ -7004,17 +7515,17 @@ - (instancetype)initWithUser:(DBSHARINGUserInfo *)user #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERUserInfoWithPermissionLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERUserInfoWithPermissionLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERUserInfoWithPermissionLevelSerializer serialize:self] description]; } @@ -7069,16 +7580,16 @@ - (BOOL)isEqualToUserInfoWithPermissionLevel:(DBPAPERUserInfoWithPermissionLevel @implementation DBPAPERUserInfoWithPermissionLevelSerializer -+ (NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; jsonDict[@"permission_level"] = [DBPAPERPaperDocPermissionLevelSerializer serialize:valueObj.permissionLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)valueDict { DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; DBPAPERPaperDocPermissionLevel *permissionLevel = [DBPAPERPaperDocPermissionLevelSerializer deserialize:valueDict[@"permission_level"]]; @@ -7153,17 +7664,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBPAPERUserOnPaperDocFilterSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBPAPERUserOnPaperDocFilterSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBPAPERUserOnPaperDocFilterSerializer serialize:self] description]; } @@ -7184,10 +7695,13 @@ - (NSUInteger)hash { switch (_tag) { case DBPAPERUserOnPaperDocFilterVisited: result = prime * result + [[self tagName] hash]; + break; case DBPAPERUserOnPaperDocFilterShared: result = prime * result + [[self tagName] hash]; + break; case DBPAPERUserOnPaperDocFilterOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7229,7 +7743,7 @@ - (BOOL)isEqualToUserOnPaperDocFilter:(DBPAPERUserOnPaperDocFilter *)anUserOnPap @implementation DBPAPERUserOnPaperDocFilterSerializer -+ (NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)valueObj { ++ (NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isVisited]) { @@ -7242,10 +7756,10 @@ + (NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)valueDict { ++ (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"visited"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddMember.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddMember.h index 6fd891e8c..c4d6c1ccc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddMember.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddMember.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERAddMember` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERAddMember *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERAddMember *)instance; /// /// Deserializes `DBPAPERAddMember` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERAddMember` object. /// -+ (DBPAPERAddMember *)deserialize:(NSDictionary *)dict; ++ (DBPAPERAddMember *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUser.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUser.h index ef1fcac95..32d94ec4d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUser.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUser.h @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUser` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUser *)instance; /// /// Deserializes `DBPAPERAddPaperDocUser` instances. @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERAddPaperDocUser` object. /// -+ (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)dict; ++ (DBPAPERAddPaperDocUser *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserMemberResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserMemberResult.h index 12de46554..f2a863da7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserMemberResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserMemberResult.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserMemberResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserMemberResult *)instance; /// /// Deserializes `DBPAPERAddPaperDocUserMemberResult` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERAddPaperDocUserMemberResult` object. /// -+ (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)dict; ++ (DBPAPERAddPaperDocUserMemberResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserResult.h index 8ed3a0b85..82fb2fc79 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERAddPaperDocUserResult.h @@ -27,32 +27,32 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERAddPaperDocUserResultTag` enum type represents the possible tag /// states with which the `DBPAPERAddPaperDocUserResult` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERAddPaperDocUserResultTag) { - /// User was successfully added to the Paper doc. - DBPAPERAddPaperDocUserResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERAddPaperDocUserResultTag){ + /// User was successfully added to the Paper doc. + DBPAPERAddPaperDocUserResultSuccess, - /// Something unexpected happened when trying to add the user to the Paper - /// doc. - DBPAPERAddPaperDocUserResultUnknownError, + /// Something unexpected happened when trying to add the user to the Paper + /// doc. + DBPAPERAddPaperDocUserResultUnknownError, - /// The Paper doc can be shared only with team members. - DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled, + /// The Paper doc can be shared only with team members. + DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled, - /// The daily limit of how many users can be added to the Paper doc was - /// reached. - DBPAPERAddPaperDocUserResultDailyLimitReached, + /// The daily limit of how many users can be added to the Paper doc was + /// reached. + DBPAPERAddPaperDocUserResultDailyLimitReached, - /// Owner's permissions cannot be changed. - DBPAPERAddPaperDocUserResultUserIsOwner, + /// Owner's permissions cannot be changed. + DBPAPERAddPaperDocUserResultUserIsOwner, - /// User data could not be retrieved. Clients should retry. - DBPAPERAddPaperDocUserResultFailedUserDataRetrieval, + /// User data could not be retrieved. Clients should retry. + DBPAPERAddPaperDocUserResultFailedUserDataRetrieval, - /// This user already has the correct permission to the Paper doc. - DBPAPERAddPaperDocUserResultPermissionAlreadyGranted, + /// This user already has the correct permission to the Paper doc. + DBPAPERAddPaperDocUserResultPermissionAlreadyGranted, - /// (no description). - DBPAPERAddPaperDocUserResultOther, + /// (no description). + DBPAPERAddPaperDocUserResultOther, }; @@ -231,7 +231,7 @@ typedef NS_ENUM(NSInteger, DBPAPERAddPaperDocUserResultTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERAddPaperDocUserResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERAddPaperDocUserResult *)instance; /// /// Deserializes `DBPAPERAddPaperDocUserResult` instances. @@ -241,7 +241,7 @@ typedef NS_ENUM(NSInteger, DBPAPERAddPaperDocUserResultTag) { /// /// @return An instantiation of the `DBPAPERAddPaperDocUserResult` object. /// -+ (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)dict; ++ (DBPAPERAddPaperDocUserResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERCursor.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERCursor.h index f018cc08e..8c2bcee30 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERCursor.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERCursor.h @@ -94,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBPAPERCursor` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERCursor *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERCursor *)instance; /// /// Deserializes `DBPAPERCursor` instances. @@ -104,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERCursor` object. /// -+ (DBPAPERCursor *)deserialize:(NSDictionary *)dict; ++ (DBPAPERCursor *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocLookupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocLookupError.h index 555bb2336..7a631a05b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocLookupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocLookupError.h @@ -27,15 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERDocLookupErrorTag` enum type represents the possible tag states /// with which the `DBPAPERDocLookupError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERDocLookupErrorTag) { - /// Your account does not have permissions to perform this action. - DBPAPERDocLookupErrorInsufficientPermissions, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERDocLookupErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERDocLookupErrorInsufficientPermissions, - /// (no description). - DBPAPERDocLookupErrorOther, + /// (no description). + DBPAPERDocLookupErrorOther, - /// The required doc was not found. - DBPAPERDocLookupErrorDocNotFound, + /// The required doc was not found. + DBPAPERDocLookupErrorDocNotFound, }; @@ -48,7 +51,10 @@ typedef NS_ENUM(NSInteger, DBPAPERDocLookupErrorTag) { /// Initializes union class with tag state of "insufficient_permissions". /// /// Description of the "insufficient_permissions" tag state: Your account does -/// not have permissions to perform this action. +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. /// /// @return An initialized instance. /// @@ -122,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBPAPERDocLookupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERDocLookupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERDocLookupError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERDocLookupError *)instance; /// /// Deserializes `DBPAPERDocLookupError` instances. @@ -132,7 +138,7 @@ typedef NS_ENUM(NSInteger, DBPAPERDocLookupErrorTag) { /// /// @return An instantiation of the `DBPAPERDocLookupError` object. /// -+ (DBPAPERDocLookupError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERDocLookupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocSubscriptionLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocSubscriptionLevel.h index 684f8c51f..46ebbd82a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocSubscriptionLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERDocSubscriptionLevel.h @@ -29,21 +29,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERDocSubscriptionLevelTag` enum type represents the possible tag /// states with which the `DBPAPERDocSubscriptionLevel` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERDocSubscriptionLevelTag) { - /// No change email messages unless you're the creator. - DBPAPERDocSubscriptionLevelDefault_, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERDocSubscriptionLevelTag){ + /// No change email messages unless you're the creator. + DBPAPERDocSubscriptionLevelDefault_, - /// Ignored: Not shown in pad lists or activity and no email message is - /// sent. - DBPAPERDocSubscriptionLevelIgnore, + /// Ignored: Not shown in pad lists or activity and no email message is + /// sent. + DBPAPERDocSubscriptionLevelIgnore, - /// Subscribed: Shown in pad lists and activity and change email messages - /// are sent. - DBPAPERDocSubscriptionLevelEvery, + /// Subscribed: Shown in pad lists and activity and change email messages + /// are sent. + DBPAPERDocSubscriptionLevelEvery, - /// Unsubscribed: Shown in pad lists, but not in activity and no change - /// email messages are sent. - DBPAPERDocSubscriptionLevelNoEmail, + /// Unsubscribed: Shown in pad lists, but not in activity and no change + /// email messages are sent. + DBPAPERDocSubscriptionLevelNoEmail, }; @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, DBPAPERDocSubscriptionLevelTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERDocSubscriptionLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERDocSubscriptionLevel *)instance; /// /// Deserializes `DBPAPERDocSubscriptionLevel` instances. @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBPAPERDocSubscriptionLevelTag) { /// /// @return An instantiation of the `DBPAPERDocSubscriptionLevel` object. /// -+ (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)dict; ++ (DBPAPERDocSubscriptionLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERExportFormat.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERExportFormat.h index e155249b7..f20b107fc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERExportFormat.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERExportFormat.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERExportFormatTag` enum type represents the possible tag states /// with which the `DBPAPERExportFormat` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERExportFormatTag) { - /// The HTML export format. - DBPAPERExportFormatHtml, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERExportFormatTag){ + /// The HTML export format. + DBPAPERExportFormatHtml, - /// The markdown export format. - DBPAPERExportFormatMarkdown, + /// The markdown export format. + DBPAPERExportFormatMarkdown, - /// (no description). - DBPAPERExportFormatOther, + /// (no description). + DBPAPERExportFormatOther, }; @@ -120,7 +120,7 @@ typedef NS_ENUM(NSInteger, DBPAPERExportFormatTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERExportFormat` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERExportFormat *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERExportFormat *)instance; /// /// Deserializes `DBPAPERExportFormat` instances. @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBPAPERExportFormatTag) { /// /// @return An instantiation of the `DBPAPERExportFormat` object. /// -+ (DBPAPERExportFormat *)deserialize:(NSDictionary *)dict; ++ (DBPAPERExportFormat *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolder.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolder.h index 94bea3657..0f024e109 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolder.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolder.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBPAPERFolder` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERFolder *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERFolder *)instance; /// /// Deserializes `DBPAPERFolder` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERFolder` object. /// -+ (DBPAPERFolder *)deserialize:(NSDictionary *)dict; ++ (DBPAPERFolder *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSharingPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSharingPolicyType.h index 8327de711..d4f0cb234 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSharingPolicyType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSharingPolicyType.h @@ -17,8 +17,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FolderSharingPolicyType` union. /// -/// The sharing policy of a Paper folder. Note: The sharing policy of -/// subfolders is inherited from the root folder. +/// The sharing policy of a Paper folder. The sharing policy of subfolders is +/// inherited from the root folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,13 +30,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERFolderSharingPolicyTypeTag` enum type represents the possible /// tag states with which the `DBPAPERFolderSharingPolicyType` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERFolderSharingPolicyTypeTag) { - /// Everyone in your team and anyone directly invited can access this - /// folder. - DBPAPERFolderSharingPolicyTypeTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERFolderSharingPolicyTypeTag){ + /// Everyone in your team and anyone directly invited can access this + /// folder. + DBPAPERFolderSharingPolicyTypeTeam, - /// Only people directly invited can access this folder. - DBPAPERFolderSharingPolicyTypeInviteOnly, + /// Only people directly invited can access this folder. + DBPAPERFolderSharingPolicyTypeInviteOnly, }; @@ -108,7 +108,7 @@ typedef NS_ENUM(NSInteger, DBPAPERFolderSharingPolicyTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERFolderSharingPolicyType` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERFolderSharingPolicyType *)instance; /// /// Deserializes `DBPAPERFolderSharingPolicyType` instances. @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBPAPERFolderSharingPolicyTypeTag) { /// /// @return An instantiation of the `DBPAPERFolderSharingPolicyType` object. /// -+ (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)dict; ++ (DBPAPERFolderSharingPolicyType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSubscriptionLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSubscriptionLevel.h index cec1bf423..58b271cf9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSubscriptionLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFolderSubscriptionLevel.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERFolderSubscriptionLevelTag` enum type represents the possible /// tag states with which the `DBPAPERFolderSubscriptionLevel` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERFolderSubscriptionLevelTag) { - /// Not shown in activity, no email messages. - DBPAPERFolderSubscriptionLevelNone, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERFolderSubscriptionLevelTag){ + /// Not shown in activity, no email messages. + DBPAPERFolderSubscriptionLevelNone, - /// Shown in activity, no email messages. - DBPAPERFolderSubscriptionLevelActivityOnly, + /// Shown in activity, no email messages. + DBPAPERFolderSubscriptionLevelActivityOnly, - /// Shown in activity, daily email messages. - DBPAPERFolderSubscriptionLevelDailyEmails, + /// Shown in activity, daily email messages. + DBPAPERFolderSubscriptionLevelDailyEmails, - /// Shown in activity, weekly email messages. - DBPAPERFolderSubscriptionLevelWeeklyEmails, + /// Shown in activity, weekly email messages. + DBPAPERFolderSubscriptionLevelWeeklyEmails, }; @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBPAPERFolderSubscriptionLevelTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERFolderSubscriptionLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERFolderSubscriptionLevel *)instance; /// /// Deserializes `DBPAPERFolderSubscriptionLevel` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBPAPERFolderSubscriptionLevelTag) { /// /// @return An instantiation of the `DBPAPERFolderSubscriptionLevel` object. /// -+ (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)dict; ++ (DBPAPERFolderSubscriptionLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFoldersContainingPaperDoc.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFoldersContainingPaperDoc.h index b9297a788..8090596d7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFoldersContainingPaperDoc.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERFoldersContainingPaperDoc.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERFoldersContainingPaperDoc` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERFoldersContainingPaperDoc *)instance; /// /// Deserializes `DBPAPERFoldersContainingPaperDoc` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERFoldersContainingPaperDoc` object. /// -+ (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)dict; ++ (DBPAPERFoldersContainingPaperDoc *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERImportFormat.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERImportFormat.h index 3a3ad0b93..6b575cb95 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERImportFormat.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERImportFormat.h @@ -29,20 +29,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERImportFormatTag` enum type represents the possible tag states /// with which the `DBPAPERImportFormat` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERImportFormatTag) { - /// The provided data is interpreted as standard HTML. - DBPAPERImportFormatHtml, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERImportFormatTag){ + /// The provided data is interpreted as standard HTML. + DBPAPERImportFormatHtml, - /// The provided data is interpreted as markdown. Note: The first line of - /// the provided document will be used as the doc title. - DBPAPERImportFormatMarkdown, + /// The provided data is interpreted as markdown. The first line of the + /// provided document will be used as the doc title. + DBPAPERImportFormatMarkdown, - /// The provided data is interpreted as plain text. Note: The first line of - /// the provided document will be used as the doc title. - DBPAPERImportFormatPlainText, + /// The provided data is interpreted as plain text. The first line of the + /// provided document will be used as the doc title. + DBPAPERImportFormatPlainText, - /// (no description). - DBPAPERImportFormatOther, + /// (no description). + DBPAPERImportFormatOther, }; @@ -65,8 +65,8 @@ typedef NS_ENUM(NSInteger, DBPAPERImportFormatTag) { /// Initializes union class with tag state of "markdown". /// /// Description of the "markdown" tag state: The provided data is interpreted as -/// markdown. Note: The first line of the provided document will be used as the -/// doc title. +/// markdown. The first line of the provided document will be used as the doc +/// title. /// /// @return An initialized instance. /// @@ -76,8 +76,8 @@ typedef NS_ENUM(NSInteger, DBPAPERImportFormatTag) { /// Initializes union class with tag state of "plain_text". /// /// Description of the "plain_text" tag state: The provided data is interpreted -/// as plain text. Note: The first line of the provided document will be used as -/// the doc title. +/// as plain text. The first line of the provided document will be used as the +/// doc title. /// /// @return An initialized instance. /// @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBPAPERImportFormatTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERImportFormat` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERImportFormat *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERImportFormat *)instance; /// /// Deserializes `DBPAPERImportFormat` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBPAPERImportFormatTag) { /// /// @return An instantiation of the `DBPAPERImportFormat` object. /// -+ (DBPAPERImportFormat *)deserialize:(NSDictionary *)dict; ++ (DBPAPERImportFormat *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERInviteeInfoWithPermissionLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERInviteeInfoWithPermissionLevel.h index e09b1d3a1..199767b77 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERInviteeInfoWithPermissionLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERInviteeInfoWithPermissionLevel.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERInviteeInfoWithPermissionLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERInviteeInfoWithPermissionLevel *)instance; /// /// Deserializes `DBPAPERInviteeInfoWithPermissionLevel` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBPAPERInviteeInfoWithPermissionLevel` /// object. /// -+ (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; ++ (DBPAPERInviteeInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListDocsCursorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListDocsCursorError.h index 58178bef5..bb22a129b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListDocsCursorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListDocsCursorError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERListDocsCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERListDocsCursorError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERListDocsCursorErrorTag) { - /// (no description). - DBPAPERListDocsCursorErrorCursorError, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListDocsCursorErrorTag){ + /// (no description). + DBPAPERListDocsCursorErrorCursorError, - /// (no description). - DBPAPERListDocsCursorErrorOther, + /// (no description). + DBPAPERListDocsCursorErrorOther, }; @@ -107,7 +107,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListDocsCursorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERListDocsCursorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListDocsCursorError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListDocsCursorError *)instance; /// /// Deserializes `DBPAPERListDocsCursorError` instances. @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListDocsCursorErrorTag) { /// /// @return An instantiation of the `DBPAPERListDocsCursorError` object. /// -+ (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListDocsCursorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsArgs.h index e43332c87..da817dde6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsArgs.h @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsArgs *)instance; /// /// Deserializes `DBPAPERListPaperDocsArgs` instances. @@ -99,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListPaperDocsArgs` object. /// -+ (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsContinueArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsContinueArgs.h index 0f02a510c..5d06ef5cd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsContinueArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsContinueArgs.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsContinueArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsContinueArgs *)instance; /// /// Deserializes `DBPAPERListPaperDocsContinueArgs` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListPaperDocsContinueArgs` object. /// -+ (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsContinueArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsFilterBy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsFilterBy.h index d8c5f5a14..d8bf0fc49 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsFilterBy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsFilterBy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERListPaperDocsFilterByTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsFilterBy` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsFilterByTag) { - /// Fetches all Paper doc IDs that the user has ever accessed. - DBPAPERListPaperDocsFilterByDocsAccessed, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListPaperDocsFilterByTag){ + /// Fetches all Paper doc IDs that the user has ever accessed. + DBPAPERListPaperDocsFilterByDocsAccessed, - /// Fetches only the Paper doc IDs that the user has created. - DBPAPERListPaperDocsFilterByDocsCreated, + /// Fetches only the Paper doc IDs that the user has created. + DBPAPERListPaperDocsFilterByDocsCreated, - /// (no description). - DBPAPERListPaperDocsFilterByOther, + /// (no description). + DBPAPERListPaperDocsFilterByOther, }; @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsFilterByTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsFilterBy` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsFilterBy *)instance; /// /// Deserializes `DBPAPERListPaperDocsFilterBy` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsFilterByTag) { /// /// @return An instantiation of the `DBPAPERListPaperDocsFilterBy` object. /// -+ (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsFilterBy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsResponse.h index 634253cea..d39439e4c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsResponse.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsResponse.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsResponse` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsResponse *)instance; /// /// Deserializes `DBPAPERListPaperDocsResponse` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListPaperDocsResponse` object. /// -+ (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsResponse *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortBy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortBy.h index deef83f9b..b6d1a1364 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortBy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortBy.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERListPaperDocsSortByTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsSortBy` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortByTag) { - /// Sorts the Paper docs by the time they were last accessed. - DBPAPERListPaperDocsSortByAccessed, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListPaperDocsSortByTag){ + /// Sorts the Paper docs by the time they were last accessed. + DBPAPERListPaperDocsSortByAccessed, - /// Sorts the Paper docs by the time they were last modified. - DBPAPERListPaperDocsSortByModified, + /// Sorts the Paper docs by the time they were last modified. + DBPAPERListPaperDocsSortByModified, - /// Sorts the Paper docs by the creation time. - DBPAPERListPaperDocsSortByCreated, + /// Sorts the Paper docs by the creation time. + DBPAPERListPaperDocsSortByCreated, - /// (no description). - DBPAPERListPaperDocsSortByOther, + /// (no description). + DBPAPERListPaperDocsSortByOther, }; @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortByTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortBy` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortBy *)instance; /// /// Deserializes `DBPAPERListPaperDocsSortBy` instances. @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortByTag) { /// /// @return An instantiation of the `DBPAPERListPaperDocsSortBy` object. /// -+ (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsSortBy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortOrder.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortOrder.h index b736b7b0f..9f19b0f84 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortOrder.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListPaperDocsSortOrder.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERListPaperDocsSortOrderTag` enum type represents the possible tag /// states with which the `DBPAPERListPaperDocsSortOrder` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortOrderTag) { - /// Sorts the search result in ascending order. - DBPAPERListPaperDocsSortOrderAscending, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListPaperDocsSortOrderTag){ + /// Sorts the search result in ascending order. + DBPAPERListPaperDocsSortOrderAscending, - /// Sorts the search result in descending order. - DBPAPERListPaperDocsSortOrderDescending, + /// Sorts the search result in descending order. + DBPAPERListPaperDocsSortOrderDescending, - /// (no description). - DBPAPERListPaperDocsSortOrderOther, + /// (no description). + DBPAPERListPaperDocsSortOrderOther, }; @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortOrderTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERListPaperDocsSortOrder` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListPaperDocsSortOrder *)instance; /// /// Deserializes `DBPAPERListPaperDocsSortOrder` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListPaperDocsSortOrderTag) { /// /// @return An instantiation of the `DBPAPERListPaperDocsSortOrder` object. /// -+ (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListPaperDocsSortOrder *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersCursorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersCursorError.h index 66cea6c68..c6c49df0b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersCursorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersCursorError.h @@ -28,18 +28,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERListUsersCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERListUsersCursorError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERListUsersCursorErrorTag) { - /// Your account does not have permissions to perform this action. - DBPAPERListUsersCursorErrorInsufficientPermissions, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERListUsersCursorErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERListUsersCursorErrorInsufficientPermissions, - /// (no description). - DBPAPERListUsersCursorErrorOther, + /// (no description). + DBPAPERListUsersCursorErrorOther, - /// The required doc was not found. - DBPAPERListUsersCursorErrorDocNotFound, + /// The required doc was not found. + DBPAPERListUsersCursorErrorDocNotFound, - /// (no description). - DBPAPERListUsersCursorErrorCursorError, + /// (no description). + DBPAPERListUsersCursorErrorCursorError, }; @@ -56,7 +59,10 @@ typedef NS_ENUM(NSInteger, DBPAPERListUsersCursorErrorTag) { /// Initializes union class with tag state of "insufficient_permissions". /// /// Description of the "insufficient_permissions" tag state: Your account does -/// not have permissions to perform this action. +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. /// /// @return An initialized instance. /// @@ -149,7 +155,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListUsersCursorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersCursorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersCursorError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersCursorError *)instance; /// /// Deserializes `DBPAPERListUsersCursorError` instances. @@ -159,7 +165,7 @@ typedef NS_ENUM(NSInteger, DBPAPERListUsersCursorErrorTag) { /// /// @return An instantiation of the `DBPAPERListUsersCursorError` object. /// -+ (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersCursorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderArgs.h index 9f6fe5f47..5b344a8a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderArgs.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderArgs` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListUsersOnFolderArgs` object. /// -+ (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnFolderArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderContinueArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderContinueArgs.h index c2da110b9..82f2b5722 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderContinueArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderContinueArgs.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderContinueArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderContinueArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderContinueArgs` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBPAPERListUsersOnFolderContinueArgs` /// object. /// -+ (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnFolderContinueArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderResponse.h index fa5ffb67d..3cd4e118d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderResponse.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnFolderResponse.h @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnFolderResponse` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnFolderResponse *)instance; /// /// Deserializes `DBPAPERListUsersOnFolderResponse` instances. @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListUsersOnFolderResponse` object. /// -+ (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnFolderResponse *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocArgs.h index f87718b5d..0aaebcda5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocArgs.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocArgs` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListUsersOnPaperDocArgs` object. /// -+ (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnPaperDocArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocContinueArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocContinueArgs.h index a05f01dad..722065b41 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocContinueArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocContinueArgs.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocContinueArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocContinueArgs *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocContinueArgs` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBPAPERListUsersOnPaperDocContinueArgs` /// object. /// -+ (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnPaperDocContinueArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocResponse.h index 056b038d3..ff8d3db4a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocResponse.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERListUsersOnPaperDocResponse.h @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERListUsersOnPaperDocResponse` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERListUsersOnPaperDocResponse *)instance; /// /// Deserializes `DBPAPERListUsersOnPaperDocResponse` instances. @@ -108,7 +108,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERListUsersOnPaperDocResponse` object. /// -+ (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)dict; ++ (DBPAPERListUsersOnPaperDocResponse *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiBaseError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiBaseError.h index 9e0d6c261..a189b42d0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiBaseError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiBaseError.h @@ -27,12 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperApiBaseErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperApiBaseError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperApiBaseErrorTag) { - /// Your account does not have permissions to perform this action. - DBPAPERPaperApiBaseErrorInsufficientPermissions, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperApiBaseErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERPaperApiBaseErrorInsufficientPermissions, - /// (no description). - DBPAPERPaperApiBaseErrorOther, + /// (no description). + DBPAPERPaperApiBaseErrorOther, }; @@ -45,7 +48,10 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperApiBaseErrorTag) { /// Initializes union class with tag state of "insufficient_permissions". /// /// Description of the "insufficient_permissions" tag state: Your account does -/// not have permissions to perform this action. +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. /// /// @return An initialized instance. /// @@ -102,7 +108,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperApiBaseErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperApiBaseError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperApiBaseError *)instance; /// /// Deserializes `DBPAPERPaperApiBaseError` instances. @@ -112,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperApiBaseErrorTag) { /// /// @return An instantiation of the `DBPAPERPaperApiBaseError` object. /// -+ (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperApiBaseError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiCursorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiCursorError.h index 973d29575..d857c2495 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiCursorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperApiCursorError.h @@ -27,22 +27,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperApiCursorErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperApiCursorError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperApiCursorErrorTag) { - /// The provided cursor is expired. - DBPAPERPaperApiCursorErrorExpiredCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperApiCursorErrorTag){ + /// The provided cursor is expired. + DBPAPERPaperApiCursorErrorExpiredCursor, - /// The provided cursor is invalid. - DBPAPERPaperApiCursorErrorInvalidCursor, + /// The provided cursor is invalid. + DBPAPERPaperApiCursorErrorInvalidCursor, - /// The provided cursor contains invalid user. - DBPAPERPaperApiCursorErrorWrongUserInCursor, + /// The provided cursor contains invalid user. + DBPAPERPaperApiCursorErrorWrongUserInCursor, - /// Indicates that the cursor has been invalidated. Call the corresponding - /// non-continue endpoint to obtain a new cursor. - DBPAPERPaperApiCursorErrorReset, + /// Indicates that the cursor has been invalidated. Call the corresponding + /// non-continue endpoint to obtain a new cursor. + DBPAPERPaperApiCursorErrorReset, - /// (no description). - DBPAPERPaperApiCursorErrorOther, + /// (no description). + DBPAPERPaperApiCursorErrorOther, }; @@ -164,7 +164,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperApiCursorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperApiCursorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperApiCursorError *)instance; /// /// Deserializes `DBPAPERPaperApiCursorError` instances. @@ -174,7 +174,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperApiCursorErrorTag) { /// /// @return An instantiation of the `DBPAPERPaperApiCursorError` object. /// -+ (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperApiCursorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h index 47df40c96..1cc9e6817 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateArgs.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateArgs *)instance; /// /// Deserializes `DBPAPERPaperDocCreateArgs` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocCreateArgs` object. /// -+ (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocCreateArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateError.h index f662d48b8..fbfe2b05f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateError.h @@ -27,26 +27,29 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperDocCreateErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocCreateError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag) { - /// Your account does not have permissions to perform this action. - DBPAPERPaperDocCreateErrorInsufficientPermissions, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERPaperDocCreateErrorInsufficientPermissions, - /// (no description). - DBPAPERPaperDocCreateErrorOther, + /// (no description). + DBPAPERPaperDocCreateErrorOther, - /// The provided content was malformed and cannot be imported to Paper. - DBPAPERPaperDocCreateErrorContentMalformed, + /// The provided content was malformed and cannot be imported to Paper. + DBPAPERPaperDocCreateErrorContentMalformed, - /// The specified Paper folder is cannot be found. - DBPAPERPaperDocCreateErrorFolderNotFound, + /// The specified Paper folder is cannot be found. + DBPAPERPaperDocCreateErrorFolderNotFound, - /// The newly created Paper doc would be too large. Please split the content - /// into multiple docs. - DBPAPERPaperDocCreateErrorDocLengthExceeded, + /// The newly created Paper doc would be too large. Please split the content + /// into multiple docs. + DBPAPERPaperDocCreateErrorDocLengthExceeded, - /// The imported document contains an image that is too large. The current - /// limit is 1MB. Note: This only applies to HTML with data uri. - DBPAPERPaperDocCreateErrorImageSizeExceeded, + /// The imported document contains an image that is too large. The current + /// limit is 1MB. This only applies to HTML with data URI. + DBPAPERPaperDocCreateErrorImageSizeExceeded, }; @@ -59,7 +62,10 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag) { /// Initializes union class with tag state of "insufficient_permissions". /// /// Description of the "insufficient_permissions" tag state: Your account does -/// not have permissions to perform this action. +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. /// /// @return An initialized instance. /// @@ -106,8 +112,8 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag) { /// Initializes union class with tag state of "image_size_exceeded". /// /// Description of the "image_size_exceeded" tag state: The imported document -/// contains an image that is too large. The current limit is 1MB. Note: This -/// only applies to HTML with data uri. +/// contains an image that is too large. The current limit is 1MB. This only +/// applies to HTML with data URI. /// /// @return An initialized instance. /// @@ -191,7 +197,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateError *)instance; /// /// Deserializes `DBPAPERPaperDocCreateError` instances. @@ -201,7 +207,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocCreateErrorTag) { /// /// @return An instantiation of the `DBPAPERPaperDocCreateError` object. /// -+ (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocCreateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateUpdateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateUpdateResult.h index 1c38b6251..d9c06d09a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateUpdateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocCreateUpdateResult.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocCreateUpdateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocCreateUpdateResult *)instance; /// /// Deserializes `DBPAPERPaperDocCreateUpdateResult` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocCreateUpdateResult` object. /// -+ (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocCreateUpdateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExport.h index fe368283b..3c5d42797 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExport.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocExport` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocExport *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocExport *)instance; /// /// Deserializes `DBPAPERPaperDocExport` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocExport` object. /// -+ (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocExport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExportResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExportResult.h index 0fa2492d7..8a21313de 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExportResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocExportResult.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocExportResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocExportResult *)instance; /// /// Deserializes `DBPAPERPaperDocExportResult` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocExportResult` object. /// -+ (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocExportResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocPermissionLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocPermissionLevel.h index dac6f1b83..54d0aa5a0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocPermissionLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocPermissionLevel.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperDocPermissionLevelTag` enum type represents the possible /// tag states with which the `DBPAPERPaperDocPermissionLevel` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperDocPermissionLevelTag) { - /// User will be granted edit permissions. - DBPAPERPaperDocPermissionLevelEdit, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocPermissionLevelTag){ + /// User will be granted edit permissions. + DBPAPERPaperDocPermissionLevelEdit, - /// User will be granted view and comment permissions. - DBPAPERPaperDocPermissionLevelViewAndComment, + /// User will be granted view and comment permissions. + DBPAPERPaperDocPermissionLevelViewAndComment, - /// (no description). - DBPAPERPaperDocPermissionLevelOther, + /// (no description). + DBPAPERPaperDocPermissionLevelOther, }; @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocPermissionLevelTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocPermissionLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocPermissionLevel *)instance; /// /// Deserializes `DBPAPERPaperDocPermissionLevel` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocPermissionLevelTag) { /// /// @return An instantiation of the `DBPAPERPaperDocPermissionLevel` object. /// -+ (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocPermissionLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocSharingPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocSharingPolicy.h index d0bbf658a..e0753c6cf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocSharingPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocSharingPolicy.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocSharingPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocSharingPolicy *)instance; /// /// Deserializes `DBPAPERPaperDocSharingPolicy` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocSharingPolicy` object. /// -+ (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocSharingPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateArgs.h index 6e17e5a68..e53b1d9f3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateArgs.h @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateArgs *)instance; /// /// Deserializes `DBPAPERPaperDocUpdateArgs` instances. @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERPaperDocUpdateArgs` object. /// -+ (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocUpdateArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateError.h index c50f2c240..90dd643e6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdateError.h @@ -27,35 +27,38 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperDocUpdateErrorTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocUpdateError` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag) { - /// Your account does not have permissions to perform this action. - DBPAPERPaperDocUpdateErrorInsufficientPermissions, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERPaperDocUpdateErrorInsufficientPermissions, - /// (no description). - DBPAPERPaperDocUpdateErrorOther, + /// (no description). + DBPAPERPaperDocUpdateErrorOther, - /// The required doc was not found. - DBPAPERPaperDocUpdateErrorDocNotFound, + /// The required doc was not found. + DBPAPERPaperDocUpdateErrorDocNotFound, - /// The provided content was malformed and cannot be imported to Paper. - DBPAPERPaperDocUpdateErrorContentMalformed, + /// The provided content was malformed and cannot be imported to Paper. + DBPAPERPaperDocUpdateErrorContentMalformed, - /// The provided revision does not match the document head. - DBPAPERPaperDocUpdateErrorRevisionMismatch, + /// The provided revision does not match the document head. + DBPAPERPaperDocUpdateErrorRevisionMismatch, - /// The newly created Paper doc would be too large, split the content into - /// multiple docs. - DBPAPERPaperDocUpdateErrorDocLengthExceeded, + /// The newly created Paper doc would be too large, split the content into + /// multiple docs. + DBPAPERPaperDocUpdateErrorDocLengthExceeded, - /// The imported document contains an image that is too large. The current - /// limit is 1MB. Note: This only applies to HTML with data uri. - DBPAPERPaperDocUpdateErrorImageSizeExceeded, + /// The imported document contains an image that is too large. The current + /// limit is 1MB. This only applies to HTML with data URI. + DBPAPERPaperDocUpdateErrorImageSizeExceeded, - /// This operation is not allowed on archived Paper docs. - DBPAPERPaperDocUpdateErrorDocArchived, + /// This operation is not allowed on archived Paper docs. + DBPAPERPaperDocUpdateErrorDocArchived, - /// This operation is not allowed on deleted Paper docs. - DBPAPERPaperDocUpdateErrorDocDeleted, + /// This operation is not allowed on deleted Paper docs. + DBPAPERPaperDocUpdateErrorDocDeleted, }; @@ -68,7 +71,10 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag) { /// Initializes union class with tag state of "insufficient_permissions". /// /// Description of the "insufficient_permissions" tag state: Your account does -/// not have permissions to perform this action. +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. /// /// @return An initialized instance. /// @@ -125,8 +131,8 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag) { /// Initializes union class with tag state of "image_size_exceeded". /// /// Description of the "image_size_exceeded" tag state: The imported document -/// contains an image that is too large. The current limit is 1MB. Note: This -/// only applies to HTML with data uri. +/// contains an image that is too large. The current limit is 1MB. This only +/// applies to HTML with data URI. /// /// @return An initialized instance. /// @@ -251,7 +257,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdateError *)instance; /// /// Deserializes `DBPAPERPaperDocUpdateError` instances. @@ -261,7 +267,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdateErrorTag) { /// /// @return An instantiation of the `DBPAPERPaperDocUpdateError` object. /// -+ (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocUpdateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdatePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdatePolicy.h index 2b03e59bb..30ee6a212 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdatePolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperDocUpdatePolicy.h @@ -27,19 +27,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERPaperDocUpdatePolicyTag` enum type represents the possible tag /// states with which the `DBPAPERPaperDocUpdatePolicy` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag) { - /// The content will be appended to the doc. - DBPAPERPaperDocUpdatePolicyAppend, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag){ + /// The content will be appended to the doc. + DBPAPERPaperDocUpdatePolicyAppend, - /// The content will be prepended to the doc. Note: the doc title will not - /// be affected. - DBPAPERPaperDocUpdatePolicyPrepend, + /// The content will be prepended to the doc. The doc title will not be + /// affected. + DBPAPERPaperDocUpdatePolicyPrepend, - /// The document will be overwitten at the head with the provided content. - DBPAPERPaperDocUpdatePolicyOverwriteAll, + /// The document will be overwitten at the head with the provided content. + DBPAPERPaperDocUpdatePolicyOverwriteAll, - /// (no description). - DBPAPERPaperDocUpdatePolicyOther, + /// (no description). + DBPAPERPaperDocUpdatePolicyOther, }; @@ -62,7 +62,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag) { /// Initializes union class with tag state of "prepend". /// /// Description of the "prepend" tag state: The content will be prepended to the -/// doc. Note: the doc title will not be affected. +/// doc. The doc title will not be affected. /// /// @return An initialized instance. /// @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERPaperDocUpdatePolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERPaperDocUpdatePolicy *)instance; /// /// Deserializes `DBPAPERPaperDocUpdatePolicy` instances. @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBPAPERPaperDocUpdatePolicyTag) { /// /// @return An instantiation of the `DBPAPERPaperDocUpdatePolicy` object. /// -+ (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)dict; ++ (DBPAPERPaperDocUpdatePolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateArg.h new file mode 100644 index 000000000..b31e74707 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateArg.h @@ -0,0 +1,108 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBPAPERPaperFolderCreateArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderCreateArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBPAPERPaperFolderCreateArg : NSObject + +#pragma mark - Instance fields + +/// The name of the new Paper folder. +@property (nonatomic, readonly, copy) NSString *name; + +/// The encrypted Paper folder Id where the new Paper folder should be created. +/// The API user has to have write access to this folder or error is thrown. If +/// not supplied, the new folder will be created at top level. +@property (nonatomic, readonly, copy, nullable) NSString *parentFolderId; + +/// Whether the folder to be created should be a team folder. This value will be +/// ignored if parent_folder_id is supplied, as the new folder will inherit the +/// type (private or team folder) from its parent. We will by default create a +/// top-level private folder if both parent_folder_id and is_team_folder are not +/// supplied. +@property (nonatomic, readonly, nullable) NSNumber *isTeamFolder; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param name The name of the new Paper folder. +/// @param parentFolderId The encrypted Paper folder Id where the new Paper +/// folder should be created. The API user has to have write access to this +/// folder or error is thrown. If not supplied, the new folder will be created +/// at top level. +/// @param isTeamFolder Whether the folder to be created should be a team +/// folder. This value will be ignored if parent_folder_id is supplied, as the +/// new folder will inherit the type (private or team folder) from its parent. +/// We will by default create a top-level private folder if both +/// parent_folder_id and is_team_folder are not supplied. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name + parentFolderId:(nullable NSString *)parentFolderId + isTeamFolder:(nullable NSNumber *)isTeamFolder; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param name The name of the new Paper folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderCreateArg` struct. +/// +@interface DBPAPERPaperFolderCreateArgSerializer : NSObject + +/// +/// Serializes `DBPAPERPaperFolderCreateArg` instances. +/// +/// @param instance An instance of the `DBPAPERPaperFolderCreateArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBPAPERPaperFolderCreateArg *)instance; + +/// +/// Deserializes `DBPAPERPaperFolderCreateArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateArg` API object. +/// +/// @return An instantiation of the `DBPAPERPaperFolderCreateArg` object. +/// ++ (DBPAPERPaperFolderCreateArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateError.h new file mode 100644 index 000000000..7d863c5c2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateError.h @@ -0,0 +1,168 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBPAPERPaperFolderCreateError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderCreateError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBPAPERPaperFolderCreateError : NSObject + +#pragma mark - Instance fields + +/// The `DBPAPERPaperFolderCreateErrorTag` enum type represents the possible tag +/// states with which the `DBPAPERPaperFolderCreateError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERPaperFolderCreateErrorTag){ + /// Your account does not have permissions to perform this action. This may + /// be due to it only having access to Paper as files in the Dropbox + /// filesystem. For more information, refer to the Paper Migration Guide + /// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. + DBPAPERPaperFolderCreateErrorInsufficientPermissions, + + /// (no description). + DBPAPERPaperFolderCreateErrorOther, + + /// The specified parent Paper folder cannot be found. + DBPAPERPaperFolderCreateErrorFolderNotFound, + + /// The folder id cannot be decrypted to valid folder id. + DBPAPERPaperFolderCreateErrorInvalidFolderId, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBPAPERPaperFolderCreateErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: Your account does +/// not have permissions to perform this action. This may be due to it only +/// having access to Paper as files in the Dropbox filesystem. For more +/// information, refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "folder_not_found". +/// +/// Description of the "folder_not_found" tag state: The specified parent Paper +/// folder cannot be found. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderNotFound; + +/// +/// Initializes union class with tag state of "invalid_folder_id". +/// +/// Description of the "invalid_folder_id" tag state: The folder id cannot be +/// decrypted to valid folder id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidFolderId; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "folder_not_found". +/// +/// @return Whether the union's current tag state has value "folder_not_found". +/// +- (BOOL)isFolderNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "invalid_folder_id". +/// +/// @return Whether the union's current tag state has value "invalid_folder_id". +/// +- (BOOL)isInvalidFolderId; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBPAPERPaperFolderCreateError` union. +/// +@interface DBPAPERPaperFolderCreateErrorSerializer : NSObject + +/// +/// Serializes `DBPAPERPaperFolderCreateError` instances. +/// +/// @param instance An instance of the `DBPAPERPaperFolderCreateError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBPAPERPaperFolderCreateError *)instance; + +/// +/// Deserializes `DBPAPERPaperFolderCreateError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateError` API object. +/// +/// @return An instantiation of the `DBPAPERPaperFolderCreateError` object. +/// ++ (DBPAPERPaperFolderCreateError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateResult.h new file mode 100644 index 000000000..bf15c7f4e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERPaperFolderCreateResult.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBPAPERPaperFolderCreateResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderCreateResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBPAPERPaperFolderCreateResult : NSObject + +#pragma mark - Instance fields + +/// Folder ID of the newly created folder. +@property (nonatomic, readonly, copy) NSString *folderId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param folderId Folder ID of the newly created folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderId:(NSString *)folderId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderCreateResult` struct. +/// +@interface DBPAPERPaperFolderCreateResultSerializer : NSObject + +/// +/// Serializes `DBPAPERPaperFolderCreateResult` instances. +/// +/// @param instance An instance of the `DBPAPERPaperFolderCreateResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBPAPERPaperFolderCreateResult *)instance; + +/// +/// Deserializes `DBPAPERPaperFolderCreateResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBPAPERPaperFolderCreateResult` API object. +/// +/// @return An instantiation of the `DBPAPERPaperFolderCreateResult` object. +/// ++ (DBPAPERPaperFolderCreateResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRefPaperDoc.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRefPaperDoc.h index c150a8d79..837d73e09 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRefPaperDoc.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRefPaperDoc.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERRefPaperDoc` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERRefPaperDoc *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERRefPaperDoc *)instance; /// /// Deserializes `DBPAPERRefPaperDoc` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERRefPaperDoc` object. /// -+ (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)dict; ++ (DBPAPERRefPaperDoc *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRemovePaperDocUser.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRemovePaperDocUser.h index db7aeefbc..33f72aad5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRemovePaperDocUser.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERRemovePaperDocUser.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERRemovePaperDocUser` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERRemovePaperDocUser *)instance; /// /// Deserializes `DBPAPERRemovePaperDocUser` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERRemovePaperDocUser` object. /// -+ (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)dict; ++ (DBPAPERRemovePaperDocUser *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPolicy.h index 4dc05c330..13086e0cc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPolicy.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERSharingPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERSharingPolicy *)instance; /// /// Deserializes `DBPAPERSharingPolicy` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERSharingPolicy` object. /// -+ (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)dict; ++ (DBPAPERSharingPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPublicPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPublicPolicyType.h index 10e148240..ee7f0f3bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPublicPolicyType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingPublicPolicyType.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERSharingPublicPolicyTypeTag` enum type represents the possible /// tag states with which the `DBPAPERSharingPublicPolicyType` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERSharingPublicPolicyTypeTag) { - /// Users who have a link to this doc can edit it. - DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERSharingPublicPolicyTypeTag){ + /// Users who have a link to this doc can edit it. + DBPAPERSharingPublicPolicyTypePeopleWithLinkCanEdit, - /// Users who have a link to this doc can view and comment on it. - DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment, + /// Users who have a link to this doc can view and comment on it. + DBPAPERSharingPublicPolicyTypePeopleWithLinkCanViewAndComment, - /// Users must be explicitly invited to this doc. - DBPAPERSharingPublicPolicyTypeInviteOnly, + /// Users must be explicitly invited to this doc. + DBPAPERSharingPublicPolicyTypeInviteOnly, - /// Value used to indicate that doc sharing is enabled only within team. - DBPAPERSharingPublicPolicyTypeDisabled, + /// Value used to indicate that doc sharing is enabled only within team. + DBPAPERSharingPublicPolicyTypeDisabled, }; @@ -149,7 +149,7 @@ typedef NS_ENUM(NSInteger, DBPAPERSharingPublicPolicyTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingPublicPolicyType` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERSharingPublicPolicyType *)instance; /// /// Deserializes `DBPAPERSharingPublicPolicyType` instances. @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBPAPERSharingPublicPolicyTypeTag) { /// /// @return An instantiation of the `DBPAPERSharingPublicPolicyType` object. /// -+ (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)dict; ++ (DBPAPERSharingPublicPolicyType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingTeamPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingTeamPolicyType.h index 46b09f938..15840438c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingTeamPolicyType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERSharingTeamPolicyType.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERSharingTeamPolicyTypeTag` enum type represents the possible tag /// states with which the `DBPAPERSharingTeamPolicyType` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERSharingTeamPolicyTypeTag) { - /// Users who have a link to this doc can edit it. - DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERSharingTeamPolicyTypeTag){ + /// Users who have a link to this doc can edit it. + DBPAPERSharingTeamPolicyTypePeopleWithLinkCanEdit, - /// Users who have a link to this doc can view and comment on it. - DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment, + /// Users who have a link to this doc can view and comment on it. + DBPAPERSharingTeamPolicyTypePeopleWithLinkCanViewAndComment, - /// Users must be explicitly invited to this doc. - DBPAPERSharingTeamPolicyTypeInviteOnly, + /// Users must be explicitly invited to this doc. + DBPAPERSharingTeamPolicyTypeInviteOnly, }; @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBPAPERSharingTeamPolicyTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERSharingTeamPolicyType` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERSharingTeamPolicyType *)instance; /// /// Deserializes `DBPAPERSharingTeamPolicyType` instances. @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBPAPERSharingTeamPolicyTypeTag) { /// /// @return An instantiation of the `DBPAPERSharingTeamPolicyType` object. /// -+ (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)dict; ++ (DBPAPERSharingTeamPolicyType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserInfoWithPermissionLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserInfoWithPermissionLevel.h index 083ea0f2e..131bac1ab 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserInfoWithPermissionLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserInfoWithPermissionLevel.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBPAPERUserInfoWithPermissionLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERUserInfoWithPermissionLevel *)instance; /// /// Deserializes `DBPAPERUserInfoWithPermissionLevel` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBPAPERUserInfoWithPermissionLevel` object. /// -+ (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; ++ (DBPAPERUserInfoWithPermissionLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserOnPaperDocFilter.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserOnPaperDocFilter.h index 3020fef8b..92deca088 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserOnPaperDocFilter.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Paper/Headers/DBPAPERUserOnPaperDocFilter.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBPAPERUserOnPaperDocFilterTag` enum type represents the possible tag /// states with which the `DBPAPERUserOnPaperDocFilter` union can exist. -typedef NS_ENUM(NSInteger, DBPAPERUserOnPaperDocFilterTag) { - /// all users who have visited the Paper doc. - DBPAPERUserOnPaperDocFilterVisited, +typedef NS_CLOSED_ENUM(NSInteger, DBPAPERUserOnPaperDocFilterTag){ + /// all users who have visited the Paper doc. + DBPAPERUserOnPaperDocFilterVisited, - /// All uses who are shared on the Paper doc. This includes all users who - /// have visited the Paper doc as well as those who have not. - DBPAPERUserOnPaperDocFilterShared, + /// All uses who are shared on the Paper doc. This includes all users who + /// have visited the Paper doc as well as those who have not. + DBPAPERUserOnPaperDocFilterShared, - /// (no description). - DBPAPERUserOnPaperDocFilterOther, + /// (no description). + DBPAPERUserOnPaperDocFilterOther, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBPAPERUserOnPaperDocFilterTag) { /// @return A json-compatible dictionary representation of the /// `DBPAPERUserOnPaperDocFilter` API object. /// -+ (nullable NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)instance; ++ (nullable NSDictionary *)serialize:(DBPAPERUserOnPaperDocFilter *)instance; /// /// Deserializes `DBPAPERUserOnPaperDocFilter` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBPAPERUserOnPaperDocFilterTag) { /// /// @return An instantiation of the `DBPAPERUserOnPaperDocFilter` object. /// -+ (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)dict; ++ (DBPAPERUserOnPaperDocFilter *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m new file mode 100644 index 000000000..a666e3b61 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/DBSecondaryEmailsObjects.m @@ -0,0 +1,118 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `SecondaryEmails` namespace. + +#import "DBSECONDARYEMAILSSecondaryEmail.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSECONDARYEMAILSSecondaryEmail + +#pragma mark - Constructors + +- (instancetype)initWithEmail:(NSString *)email isVerified:(NSNumber *)isVerified { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\\.[A-Za-z]{2,15}$"]](email); + [DBStoneValidators nonnullValidator:nil](isVerified); + + self = [super init]; + if (self) { + _email = email; + _isVerified = isVerified; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSECONDARYEMAILSSecondaryEmailSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSECONDARYEMAILSSecondaryEmailSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSECONDARYEMAILSSecondaryEmailSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.email hash]; + result = prime * result + [self.isVerified hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryEmail:other]; +} + +- (BOOL)isEqualToSecondaryEmail:(DBSECONDARYEMAILSSecondaryEmail *)aSecondaryEmail { + if (self == aSecondaryEmail) { + return YES; + } + if (![self.email isEqual:aSecondaryEmail.email]) { + return NO; + } + if (![self.isVerified isEqual:aSecondaryEmail.isVerified]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSECONDARYEMAILSSecondaryEmailSerializer + ++ (NSDictionary *)serialize:(DBSECONDARYEMAILSSecondaryEmail *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"email"] = valueObj.email; + jsonDict[@"is_verified"] = valueObj.isVerified; + + return jsonDict; +} + ++ (DBSECONDARYEMAILSSecondaryEmail *)deserialize:(NSDictionary *)valueDict { + NSString *email = valueDict[@"email"]; + NSNumber *isVerified = valueDict[@"is_verified"]; + + return [[DBSECONDARYEMAILSSecondaryEmail alloc] initWithEmail:email isVerified:isVerified]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/Headers/DBSECONDARYEMAILSSecondaryEmail.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/Headers/DBSECONDARYEMAILSSecondaryEmail.h new file mode 100644 index 000000000..07b514298 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SecondaryEmails/Headers/DBSECONDARYEMAILSSecondaryEmail.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSECONDARYEMAILSSecondaryEmail; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryEmail` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSECONDARYEMAILSSecondaryEmail : NSObject + +#pragma mark - Instance fields + +/// Secondary email address. +@property (nonatomic, readonly, copy) NSString *email; + +/// Whether or not the secondary email address is verified to be owned by a +/// user. +@property (nonatomic, readonly) NSNumber *isVerified; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param email Secondary email address. +/// @param isVerified Whether or not the secondary email address is verified to +/// be owned by a user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmail:(NSString *)email isVerified:(NSNumber *)isVerified; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryEmail` struct. +/// +@interface DBSECONDARYEMAILSSecondaryEmailSerializer : NSObject + +/// +/// Serializes `DBSECONDARYEMAILSSecondaryEmail` instances. +/// +/// @param instance An instance of the `DBSECONDARYEMAILSSecondaryEmail` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSECONDARYEMAILSSecondaryEmail` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSECONDARYEMAILSSecondaryEmail *)instance; + +/// +/// Deserializes `DBSECONDARYEMAILSSecondaryEmail` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSECONDARYEMAILSSecondaryEmail` API object. +/// +/// @return An instantiation of the `DBSECONDARYEMAILSSecondaryEmail` object. +/// ++ (DBSECONDARYEMAILSSecondaryEmail *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m new file mode 100644 index 000000000..0c067db5b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/DBSeenStateObjects.m @@ -0,0 +1,298 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +/// Arguments, results, and errors for the `SeenState` namespace. + +#import "DBSEENSTATEPlatformType.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSEENSTATEPlatformType + +#pragma mark - Constructors + +- (instancetype)initWithWeb { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeWeb; + } + return self; +} + +- (instancetype)initWithDesktop { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeDesktop; + } + return self; +} + +- (instancetype)initWithMobileIos { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeMobileIos; + } + return self; +} + +- (instancetype)initWithMobileAndroid { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeMobileAndroid; + } + return self; +} + +- (instancetype)initWithApi { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeApi; + } + return self; +} + +- (instancetype)initWithUnknown { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeUnknown; + } + return self; +} + +- (instancetype)initWithMobile { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeMobile; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSEENSTATEPlatformTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isWeb { + return _tag == DBSEENSTATEPlatformTypeWeb; +} + +- (BOOL)isDesktop { + return _tag == DBSEENSTATEPlatformTypeDesktop; +} + +- (BOOL)isMobileIos { + return _tag == DBSEENSTATEPlatformTypeMobileIos; +} + +- (BOOL)isMobileAndroid { + return _tag == DBSEENSTATEPlatformTypeMobileAndroid; +} + +- (BOOL)isApi { + return _tag == DBSEENSTATEPlatformTypeApi; +} + +- (BOOL)isUnknown { + return _tag == DBSEENSTATEPlatformTypeUnknown; +} + +- (BOOL)isMobile { + return _tag == DBSEENSTATEPlatformTypeMobile; +} + +- (BOOL)isOther { + return _tag == DBSEENSTATEPlatformTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSEENSTATEPlatformTypeWeb: + return @"DBSEENSTATEPlatformTypeWeb"; + case DBSEENSTATEPlatformTypeDesktop: + return @"DBSEENSTATEPlatformTypeDesktop"; + case DBSEENSTATEPlatformTypeMobileIos: + return @"DBSEENSTATEPlatformTypeMobileIos"; + case DBSEENSTATEPlatformTypeMobileAndroid: + return @"DBSEENSTATEPlatformTypeMobileAndroid"; + case DBSEENSTATEPlatformTypeApi: + return @"DBSEENSTATEPlatformTypeApi"; + case DBSEENSTATEPlatformTypeUnknown: + return @"DBSEENSTATEPlatformTypeUnknown"; + case DBSEENSTATEPlatformTypeMobile: + return @"DBSEENSTATEPlatformTypeMobile"; + case DBSEENSTATEPlatformTypeOther: + return @"DBSEENSTATEPlatformTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSEENSTATEPlatformTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSEENSTATEPlatformTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSEENSTATEPlatformTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSEENSTATEPlatformTypeWeb: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeDesktop: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeMobileIos: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeMobileAndroid: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeApi: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeUnknown: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeMobile: + result = prime * result + [[self tagName] hash]; + break; + case DBSEENSTATEPlatformTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPlatformType:other]; +} + +- (BOOL)isEqualToPlatformType:(DBSEENSTATEPlatformType *)aPlatformType { + if (self == aPlatformType) { + return YES; + } + if (self.tag != aPlatformType.tag) { + return NO; + } + switch (_tag) { + case DBSEENSTATEPlatformTypeWeb: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeDesktop: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeMobileIos: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeMobileAndroid: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeApi: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeUnknown: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeMobile: + return [[self tagName] isEqual:[aPlatformType tagName]]; + case DBSEENSTATEPlatformTypeOther: + return [[self tagName] isEqual:[aPlatformType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSEENSTATEPlatformTypeSerializer + ++ (NSDictionary *)serialize:(DBSEENSTATEPlatformType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isWeb]) { + jsonDict[@".tag"] = @"web"; + } else if ([valueObj isDesktop]) { + jsonDict[@".tag"] = @"desktop"; + } else if ([valueObj isMobileIos]) { + jsonDict[@".tag"] = @"mobile_ios"; + } else if ([valueObj isMobileAndroid]) { + jsonDict[@".tag"] = @"mobile_android"; + } else if ([valueObj isApi]) { + jsonDict[@".tag"] = @"api"; + } else if ([valueObj isUnknown]) { + jsonDict[@".tag"] = @"unknown"; + } else if ([valueObj isMobile]) { + jsonDict[@".tag"] = @"mobile"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSEENSTATEPlatformType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"web"]) { + return [[DBSEENSTATEPlatformType alloc] initWithWeb]; + } else if ([tag isEqualToString:@"desktop"]) { + return [[DBSEENSTATEPlatformType alloc] initWithDesktop]; + } else if ([tag isEqualToString:@"mobile_ios"]) { + return [[DBSEENSTATEPlatformType alloc] initWithMobileIos]; + } else if ([tag isEqualToString:@"mobile_android"]) { + return [[DBSEENSTATEPlatformType alloc] initWithMobileAndroid]; + } else if ([tag isEqualToString:@"api"]) { + return [[DBSEENSTATEPlatformType alloc] initWithApi]; + } else if ([tag isEqualToString:@"unknown"]) { + return [[DBSEENSTATEPlatformType alloc] initWithUnknown]; + } else if ([tag isEqualToString:@"mobile"]) { + return [[DBSEENSTATEPlatformType alloc] initWithMobile]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSEENSTATEPlatformType alloc] initWithOther]; + } else { + return [[DBSEENSTATEPlatformType alloc] initWithOther]; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/Headers/DBSEENSTATEPlatformType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/Headers/DBSEENSTATEPlatformType.h new file mode 100644 index 000000000..f7a79465a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/SeenState/Headers/DBSEENSTATEPlatformType.h @@ -0,0 +1,239 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSEENSTATEPlatformType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PlatformType` union. +/// +/// Possible platforms on which a user may view content. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSEENSTATEPlatformType : NSObject + +#pragma mark - Instance fields + +/// The `DBSEENSTATEPlatformTypeTag` enum type represents the possible tag +/// states with which the `DBSEENSTATEPlatformType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSEENSTATEPlatformTypeTag){ + /// The content was viewed on the web. + DBSEENSTATEPlatformTypeWeb, + + /// The content was viewed on a desktop client. + DBSEENSTATEPlatformTypeDesktop, + + /// The content was viewed on a mobile iOS client. + DBSEENSTATEPlatformTypeMobileIos, + + /// The content was viewed on a mobile android client. + DBSEENSTATEPlatformTypeMobileAndroid, + + /// The content was viewed from an API client. + DBSEENSTATEPlatformTypeApi, + + /// The content was viewed on an unknown platform. + DBSEENSTATEPlatformTypeUnknown, + + /// The content was viewed on a mobile client. DEPRECATED: Use mobile_ios or + /// mobile_android instead. + DBSEENSTATEPlatformTypeMobile, + + /// (no description). + DBSEENSTATEPlatformTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSEENSTATEPlatformTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "web". +/// +/// Description of the "web" tag state: The content was viewed on the web. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWeb; + +/// +/// Initializes union class with tag state of "desktop". +/// +/// Description of the "desktop" tag state: The content was viewed on a desktop +/// client. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDesktop; + +/// +/// Initializes union class with tag state of "mobile_ios". +/// +/// Description of the "mobile_ios" tag state: The content was viewed on a +/// mobile iOS client. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMobileIos; + +/// +/// Initializes union class with tag state of "mobile_android". +/// +/// Description of the "mobile_android" tag state: The content was viewed on a +/// mobile android client. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMobileAndroid; + +/// +/// Initializes union class with tag state of "api". +/// +/// Description of the "api" tag state: The content was viewed from an API +/// client. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithApi; + +/// +/// Initializes union class with tag state of "unknown". +/// +/// Description of the "unknown" tag state: The content was viewed on an unknown +/// platform. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknown; + +/// +/// Initializes union class with tag state of "mobile". +/// +/// Description of the "mobile" tag state: The content was viewed on a mobile +/// client. DEPRECATED: Use mobile_ios or mobile_android instead. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMobile; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "web". +/// +/// @return Whether the union's current tag state has value "web". +/// +- (BOOL)isWeb; + +/// +/// Retrieves whether the union's current tag state has value "desktop". +/// +/// @return Whether the union's current tag state has value "desktop". +/// +- (BOOL)isDesktop; + +/// +/// Retrieves whether the union's current tag state has value "mobile_ios". +/// +/// @return Whether the union's current tag state has value "mobile_ios". +/// +- (BOOL)isMobileIos; + +/// +/// Retrieves whether the union's current tag state has value "mobile_android". +/// +/// @return Whether the union's current tag state has value "mobile_android". +/// +- (BOOL)isMobileAndroid; + +/// +/// Retrieves whether the union's current tag state has value "api". +/// +/// @return Whether the union's current tag state has value "api". +/// +- (BOOL)isApi; + +/// +/// Retrieves whether the union's current tag state has value "unknown". +/// +/// @return Whether the union's current tag state has value "unknown". +/// +- (BOOL)isUnknown; + +/// +/// Retrieves whether the union's current tag state has value "mobile". +/// +/// @return Whether the union's current tag state has value "mobile". +/// +- (BOOL)isMobile; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSEENSTATEPlatformType` union. +/// +@interface DBSEENSTATEPlatformTypeSerializer : NSObject + +/// +/// Serializes `DBSEENSTATEPlatformType` instances. +/// +/// @param instance An instance of the `DBSEENSTATEPlatformType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSEENSTATEPlatformType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSEENSTATEPlatformType *)instance; + +/// +/// Deserializes `DBSEENSTATEPlatformType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSEENSTATEPlatformType` API object. +/// +/// @return An instantiation of the `DBSEENSTATEPlatformType` object. +/// ++ (DBSEENSTATEPlatformType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m index c918bf8e3..70c41f13c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/DBSharingObjects.m @@ -6,6 +6,182 @@ /// Arguments, results, and errors for the `Sharing` namespace. +#import "DBSHARINGAccessInheritance.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGAccessInheritance + +#pragma mark - Constructors + +- (instancetype)initWithInherit { + self = [super init]; + if (self) { + _tag = DBSHARINGAccessInheritanceInherit; + } + return self; +} + +- (instancetype)initWithNoInherit { + self = [super init]; + if (self) { + _tag = DBSHARINGAccessInheritanceNoInherit; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGAccessInheritanceOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInherit { + return _tag == DBSHARINGAccessInheritanceInherit; +} + +- (BOOL)isNoInherit { + return _tag == DBSHARINGAccessInheritanceNoInherit; +} + +- (BOOL)isOther { + return _tag == DBSHARINGAccessInheritanceOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGAccessInheritanceInherit: + return @"DBSHARINGAccessInheritanceInherit"; + case DBSHARINGAccessInheritanceNoInherit: + return @"DBSHARINGAccessInheritanceNoInherit"; + case DBSHARINGAccessInheritanceOther: + return @"DBSHARINGAccessInheritanceOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGAccessInheritanceSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGAccessInheritanceSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGAccessInheritanceSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGAccessInheritanceInherit: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAccessInheritanceNoInherit: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAccessInheritanceOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAccessInheritance:other]; +} + +- (BOOL)isEqualToAccessInheritance:(DBSHARINGAccessInheritance *)anAccessInheritance { + if (self == anAccessInheritance) { + return YES; + } + if (self.tag != anAccessInheritance.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGAccessInheritanceInherit: + return [[self tagName] isEqual:[anAccessInheritance tagName]]; + case DBSHARINGAccessInheritanceNoInherit: + return [[self tagName] isEqual:[anAccessInheritance tagName]]; + case DBSHARINGAccessInheritanceOther: + return [[self tagName] isEqual:[anAccessInheritance tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGAccessInheritanceSerializer + ++ (NSDictionary *)serialize:(DBSHARINGAccessInheritance *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInherit]) { + jsonDict[@".tag"] = @"inherit"; + } else if ([valueObj isNoInherit]) { + jsonDict[@".tag"] = @"no_inherit"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSHARINGAccessInheritance *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"inherit"]) { + return [[DBSHARINGAccessInheritance alloc] initWithInherit]; + } else if ([tag isEqualToString:@"no_inherit"]) { + return [[DBSHARINGAccessInheritance alloc] initWithNoInherit]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGAccessInheritance alloc] initWithOther]; + } else { + return [[DBSHARINGAccessInheritance alloc] initWithOther]; + } +} + +@end + #import "DBSHARINGAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" @@ -48,6 +224,22 @@ - (instancetype)initWithViewerNoComment { return self; } +- (instancetype)initWithTraverse { + self = [super init]; + if (self) { + _tag = DBSHARINGAccessLevelTraverse; + } + return self; +} + +- (instancetype)initWithNoAccess { + self = [super init]; + if (self) { + _tag = DBSHARINGAccessLevelNoAccess; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -76,6 +268,14 @@ - (BOOL)isViewerNoComment { return _tag == DBSHARINGAccessLevelViewerNoComment; } +- (BOOL)isTraverse { + return _tag == DBSHARINGAccessLevelTraverse; +} + +- (BOOL)isNoAccess { + return _tag == DBSHARINGAccessLevelNoAccess; +} + - (BOOL)isOther { return _tag == DBSHARINGAccessLevelOther; } @@ -90,6 +290,10 @@ - (NSString *)tagName { return @"DBSHARINGAccessLevelViewer"; case DBSHARINGAccessLevelViewerNoComment: return @"DBSHARINGAccessLevelViewerNoComment"; + case DBSHARINGAccessLevelTraverse: + return @"DBSHARINGAccessLevelTraverse"; + case DBSHARINGAccessLevelNoAccess: + return @"DBSHARINGAccessLevelNoAccess"; case DBSHARINGAccessLevelOther: return @"DBSHARINGAccessLevelOther"; } @@ -99,17 +303,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAccessLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAccessLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAccessLevelSerializer serialize:self] description]; } @@ -130,14 +334,25 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGAccessLevelOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAccessLevelEditor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAccessLevelViewer: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAccessLevelViewerNoComment: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAccessLevelTraverse: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAccessLevelNoAccess: + result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAccessLevelOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -171,6 +386,10 @@ - (BOOL)isEqualToAccessLevel:(DBSHARINGAccessLevel *)anAccessLevel { return [[self tagName] isEqual:[anAccessLevel tagName]]; case DBSHARINGAccessLevelViewerNoComment: return [[self tagName] isEqual:[anAccessLevel tagName]]; + case DBSHARINGAccessLevelTraverse: + return [[self tagName] isEqual:[anAccessLevel tagName]]; + case DBSHARINGAccessLevelNoAccess: + return [[self tagName] isEqual:[anAccessLevel tagName]]; case DBSHARINGAccessLevelOther: return [[self tagName] isEqual:[anAccessLevel tagName]]; } @@ -183,7 +402,7 @@ - (BOOL)isEqualToAccessLevel:(DBSHARINGAccessLevel *)anAccessLevel { @implementation DBSHARINGAccessLevelSerializer -+ (NSDictionary *)serialize:(DBSHARINGAccessLevel *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOwner]) { @@ -194,16 +413,20 @@ + (NSDictionary *)serialize:(DBSHARINGAccessLevel *)valueObj { jsonDict[@".tag"] = @"viewer"; } else if ([valueObj isViewerNoComment]) { jsonDict[@".tag"] = @"viewer_no_comment"; + } else if ([valueObj isTraverse]) { + jsonDict[@".tag"] = @"traverse"; + } else if ([valueObj isNoAccess]) { + jsonDict[@".tag"] = @"no_access"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"owner"]) { @@ -214,6 +437,10 @@ + (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)valueDict { return [[DBSHARINGAccessLevel alloc] initWithViewer]; } else if ([tag isEqualToString:@"viewer_no_comment"]) { return [[DBSHARINGAccessLevel alloc] initWithViewerNoComment]; + } else if ([tag isEqualToString:@"traverse"]) { + return [[DBSHARINGAccessLevel alloc] initWithTraverse]; + } else if ([tag isEqualToString:@"no_access"]) { + return [[DBSHARINGAccessLevel alloc] initWithNoAccess]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGAccessLevel alloc] initWithOther]; } else { @@ -288,17 +515,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAclUpdatePolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAclUpdatePolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAclUpdatePolicySerializer serialize:self] description]; } @@ -319,10 +546,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGAclUpdatePolicyOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAclUpdatePolicyEditors: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAclUpdatePolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -364,7 +594,7 @@ - (BOOL)isEqualToAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)anAclUpdatePolicy { @implementation DBSHARINGAclUpdatePolicySerializer -+ (NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOwner]) { @@ -377,10 +607,10 @@ + (NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"owner"]) { @@ -441,17 +671,17 @@ - (instancetype)initWithFile:(NSString *)file members:(NSArray *)serialize:(id)instance { return [DBSHARINGAddFileMemberArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFileMemberArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddFileMemberArgsSerializer serialize:self] description]; } @@ -526,7 +756,7 @@ - (BOOL)isEqualToAddFileMemberArgs:(DBSHARINGAddFileMemberArgs *)anAddFileMember @implementation DBSHARINGAddFileMemberArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; @@ -541,10 +771,10 @@ + (NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)valueObj { jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; jsonDict[@"add_message_as_comment"] = valueObj.addMessageAsComment; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] @@ -684,17 +914,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFileMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFileMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddFileMemberErrorSerializer serialize:self] description]; } @@ -715,14 +945,19 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGAddFileMemberErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGAddFileMemberErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGAddFileMemberErrorRateLimit: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFileMemberErrorInvalidComment: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFileMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -768,7 +1003,7 @@ - (BOOL)isEqualToAddFileMemberError:(DBSHARINGAddFileMemberError *)anAddFileMemb @implementation DBSHARINGAddFileMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -788,10 +1023,10 @@ + (NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -854,17 +1089,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId members:(NSArr #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFolderMemberArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFolderMemberArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddFolderMemberArgSerializer serialize:self] description]; } @@ -931,7 +1166,7 @@ - (BOOL)isEqualToAddFolderMemberArg:(DBSHARINGAddFolderMemberArg *)anAddFolderMe @implementation DBSHARINGAddFolderMemberArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; @@ -944,10 +1179,10 @@ + (NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)valueObj { jsonDict[@"custom_message"] = valueObj.customMessage; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] @@ -999,6 +1234,14 @@ - (instancetype)initWithEmailUnverified { return self; } +- (instancetype)initWithBannedMember { + self = [super init]; + if (self) { + _tag = DBSHARINGAddFolderMemberErrorBannedMember; + } + return self; +} + - (instancetype)initWithBadMember:(DBSHARINGAddMemberSelectorError *)badMember { self = [super init]; if (self) { @@ -1074,6 +1317,14 @@ - (instancetype)initWithNoPermission { return self; } +- (instancetype)initWithInvalidSharedFolder { + self = [super init]; + if (self) { + _tag = DBSHARINGAddFolderMemberErrorInvalidSharedFolder; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -1128,6 +1379,10 @@ - (BOOL)isEmailUnverified { return _tag == DBSHARINGAddFolderMemberErrorEmailUnverified; } +- (BOOL)isBannedMember { + return _tag == DBSHARINGAddFolderMemberErrorBannedMember; +} + - (BOOL)isBadMember { return _tag == DBSHARINGAddFolderMemberErrorBadMember; } @@ -1164,6 +1419,10 @@ - (BOOL)isNoPermission { return _tag == DBSHARINGAddFolderMemberErrorNoPermission; } +- (BOOL)isInvalidSharedFolder { + return _tag == DBSHARINGAddFolderMemberErrorInvalidSharedFolder; +} + - (BOOL)isOther { return _tag == DBSHARINGAddFolderMemberErrorOther; } @@ -1174,6 +1433,8 @@ - (NSString *)tagName { return @"DBSHARINGAddFolderMemberErrorAccessError"; case DBSHARINGAddFolderMemberErrorEmailUnverified: return @"DBSHARINGAddFolderMemberErrorEmailUnverified"; + case DBSHARINGAddFolderMemberErrorBannedMember: + return @"DBSHARINGAddFolderMemberErrorBannedMember"; case DBSHARINGAddFolderMemberErrorBadMember: return @"DBSHARINGAddFolderMemberErrorBadMember"; case DBSHARINGAddFolderMemberErrorCantShareOutsideTeam: @@ -1192,6 +1453,8 @@ - (NSString *)tagName { return @"DBSHARINGAddFolderMemberErrorTeamFolder"; case DBSHARINGAddFolderMemberErrorNoPermission: return @"DBSHARINGAddFolderMemberErrorNoPermission"; + case DBSHARINGAddFolderMemberErrorInvalidSharedFolder: + return @"DBSHARINGAddFolderMemberErrorInvalidSharedFolder"; case DBSHARINGAddFolderMemberErrorOther: return @"DBSHARINGAddFolderMemberErrorOther"; } @@ -1201,17 +1464,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddFolderMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddFolderMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddFolderMemberErrorSerializer serialize:self] description]; } @@ -1232,28 +1495,46 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGAddFolderMemberErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGAddFolderMemberErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAddFolderMemberErrorBannedMember: + result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorBadMember: result = prime * result + [self.badMember hash]; + break; case DBSHARINGAddFolderMemberErrorCantShareOutsideTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorTooManyMembers: result = prime * result + [self.tooManyMembers hash]; + break; case DBSHARINGAddFolderMemberErrorTooManyPendingInvites: result = prime * result + [self.tooManyPendingInvites hash]; + break; case DBSHARINGAddFolderMemberErrorRateLimit: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorTooManyInvitees: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorInsufficientPlan: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAddFolderMemberErrorInvalidSharedFolder: + result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddFolderMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1283,6 +1564,8 @@ - (BOOL)isEqualToAddFolderMemberError:(DBSHARINGAddFolderMemberError *)anAddFold return [self.accessError isEqual:anAddFolderMemberError.accessError]; case DBSHARINGAddFolderMemberErrorEmailUnverified: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; + case DBSHARINGAddFolderMemberErrorBannedMember: + return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorBadMember: return [self.badMember isEqual:anAddFolderMemberError.badMember]; case DBSHARINGAddFolderMemberErrorCantShareOutsideTeam: @@ -1301,6 +1584,8 @@ - (BOOL)isEqualToAddFolderMemberError:(DBSHARINGAddFolderMemberError *)anAddFold return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorNoPermission: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; + case DBSHARINGAddFolderMemberErrorInvalidSharedFolder: + return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; case DBSHARINGAddFolderMemberErrorOther: return [[self tagName] isEqual:[anAddFolderMemberError tagName]]; } @@ -1313,7 +1598,7 @@ - (BOOL)isEqualToAddFolderMemberError:(DBSHARINGAddFolderMemberError *)anAddFold @implementation DBSHARINGAddFolderMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -1322,6 +1607,8 @@ + (NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)valueObj { jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isEmailUnverified]) { jsonDict[@".tag"] = @"email_unverified"; + } else if ([valueObj isBannedMember]) { + jsonDict[@".tag"] = @"banned_member"; } else if ([valueObj isBadMember]) { jsonDict[@"bad_member"] = [[DBSHARINGAddMemberSelectorErrorSerializer serialize:valueObj.badMember] mutableCopy]; jsonDict[@".tag"] = @"bad_member"; @@ -1343,16 +1630,18 @@ + (NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)valueObj { jsonDict[@".tag"] = @"team_folder"; } else if ([valueObj isNoPermission]) { jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isInvalidSharedFolder]) { + jsonDict[@".tag"] = @"invalid_shared_folder"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -1361,6 +1650,8 @@ + (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { return [[DBSHARINGAddFolderMemberError alloc] initWithAccessError:accessError]; } else if ([tag isEqualToString:@"email_unverified"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithEmailUnverified]; + } else if ([tag isEqualToString:@"banned_member"]) { + return [[DBSHARINGAddFolderMemberError alloc] initWithBannedMember]; } else if ([tag isEqualToString:@"bad_member"]) { DBSHARINGAddMemberSelectorError *badMember = [DBSHARINGAddMemberSelectorErrorSerializer deserialize:valueDict[@"bad_member"]]; @@ -1383,6 +1674,8 @@ + (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)valueDict { return [[DBSHARINGAddFolderMemberError alloc] initWithTeamFolder]; } else if ([tag isEqualToString:@"no_permission"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"invalid_shared_folder"]) { + return [[DBSHARINGAddFolderMemberError alloc] initWithInvalidSharedFolder]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGAddFolderMemberError alloc] initWithOther]; } else { @@ -1421,17 +1714,17 @@ - (instancetype)initWithMember:(DBSHARINGMemberSelector *)member { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddMemberSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddMemberSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddMemberSerializer serialize:self] description]; } @@ -1486,16 +1779,16 @@ - (BOOL)isEqualToAddMember:(DBSHARINGAddMember *)anAddMember { @implementation DBSHARINGAddMemberSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddMember *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddMember *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddMember *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddMember *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] @@ -1661,17 +1954,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGAddMemberSelectorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGAddMemberSelectorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGAddMemberSelectorErrorSerializer serialize:self] description]; } @@ -1692,18 +1985,25 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGAddMemberSelectorErrorAutomaticGroup: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddMemberSelectorErrorInvalidDropboxId: result = prime * result + [self.invalidDropboxId hash]; + break; case DBSHARINGAddMemberSelectorErrorInvalidEmail: result = prime * result + [self.invalidEmail hash]; + break; case DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId: result = prime * result + [self.unverifiedDropboxId hash]; + break; case DBSHARINGAddMemberSelectorErrorGroupDeleted: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddMemberSelectorErrorGroupNotOnTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGAddMemberSelectorErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1753,7 +2053,7 @@ - (BOOL)isEqualToAddMemberSelectorError:(DBSHARINGAddMemberSelectorError *)anAdd @implementation DBSHARINGAddMemberSelectorErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAutomaticGroup]) { @@ -1777,10 +2077,10 @@ + (NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"automatic_group"]) { @@ -1807,40 +2107,83 @@ + (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)valueDict { @end -#import "DBSHARINGAudienceExceptionContentInfo.h" +#import "DBSHARINGRequestedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGAudienceExceptionContentInfo +@implementation DBSHARINGRequestedVisibility #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name { - [DBStoneValidators nonnullValidator:nil](name); +- (instancetype)initWithPublic { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedVisibilityPublic; + } + return self; +} +- (instancetype)initWithTeamOnly { self = [super init]; if (self) { - _name = name; + _tag = DBSHARINGRequestedVisibilityTeamOnly; + } + return self; +} + +- (instancetype)initWithPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedVisibilityPassword; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPublic { + return _tag == DBSHARINGRequestedVisibilityPublic; +} + +- (BOOL)isTeamOnly { + return _tag == DBSHARINGRequestedVisibilityTeamOnly; +} + +- (BOOL)isPassword { + return _tag == DBSHARINGRequestedVisibilityPassword; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGRequestedVisibilityPublic: + return @"DBSHARINGRequestedVisibilityPublic"; + case DBSHARINGRequestedVisibilityTeamOnly: + return @"DBSHARINGRequestedVisibilityTeamOnly"; + case DBSHARINGRequestedVisibilityPassword: + return @"DBSHARINGRequestedVisibilityPassword"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGRequestedVisibilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGAudienceExceptionContentInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGRequestedVisibilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGAudienceExceptionContentInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGRequestedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1857,7 +2200,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; + switch (_tag) { + case DBSHARINGRequestedVisibilityPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedVisibilityTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedVisibilityPassword: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -1871,16 +2224,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAudienceExceptionContentInfo:other]; + return [self isEqualToRequestedVisibility:other]; } -- (BOOL)isEqualToAudienceExceptionContentInfo:(DBSHARINGAudienceExceptionContentInfo *)anAudienceExceptionContentInfo { - if (self == anAudienceExceptionContentInfo) { +- (BOOL)isEqualToRequestedVisibility:(DBSHARINGRequestedVisibility *)aRequestedVisibility { + if (self == aRequestedVisibility) { return YES; } - if (![self.name isEqual:anAudienceExceptionContentInfo.name]) { + if (self.tag != aRequestedVisibility.tag) { return NO; } + switch (_tag) { + case DBSHARINGRequestedVisibilityPublic: + return [[self tagName] isEqual:[aRequestedVisibility tagName]]; + case DBSHARINGRequestedVisibilityTeamOnly: + return [[self tagName] isEqual:[aRequestedVisibility tagName]]; + case DBSHARINGRequestedVisibilityPassword: + return [[self tagName] isEqual:[aRequestedVisibility tagName]]; + } return YES; } @@ -1888,186 +2249,193 @@ - (BOOL)isEqualToAudienceExceptionContentInfo:(DBSHARINGAudienceExceptionContent #pragma mark - Serializer Object -@implementation DBSHARINGAudienceExceptionContentInfoSerializer +@implementation DBSHARINGRequestedVisibilitySerializer -+ (NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - - return [[DBSHARINGAudienceExceptionContentInfo alloc] initWithName:name]; -} - + if ([valueObj isPublic]) { + jsonDict[@".tag"] = @"public"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"public"]) { + return [[DBSHARINGRequestedVisibility alloc] initWithPublic]; + } else if ([tag isEqualToString:@"team_only"]) { + return [[DBSHARINGRequestedVisibility alloc] initWithTeamOnly]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBSHARINGRequestedVisibility alloc] initWithPassword]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + @end -#import "DBSHARINGAudienceExceptionContentInfo.h" -#import "DBSHARINGAudienceExceptions.h" +#import "DBSHARINGRequestedVisibility.h" +#import "DBSHARINGResolvedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGAudienceExceptions +@implementation DBSHARINGResolvedVisibility #pragma mark - Constructors -- (instancetype)initWithCount:(NSNumber *)count - exceptions:(NSArray *)exceptions { - [DBStoneValidators nonnullValidator:nil](count); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](exceptions); - +- (instancetype)initWithPublic { self = [super init]; if (self) { - _count = count; - _exceptions = exceptions; + _tag = DBSHARINGResolvedVisibilityPublic; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGAudienceExceptionsSerializer serialize:instance]; +- (instancetype)initWithTeamOnly { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityTeamOnly; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGAudienceExceptionsSerializer deserialize:dict]; +- (instancetype)initWithPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityPassword; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBSHARINGAudienceExceptionsSerializer serialize:self] description]; +- (instancetype)initWithTeamAndPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityTeamAndPassword; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithSharedFolderOnly { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilitySharedFolderOnly; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.count hash]; - result = prime * result + [self.exceptions hash]; - - return prime * result; +- (instancetype)initWithNoOne { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityNoOne; + } + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithOnlyYou { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityOnlyYou; } - return [self isEqualToAudienceExceptions:other]; + return self; } -- (BOOL)isEqualToAudienceExceptions:(DBSHARINGAudienceExceptions *)anAudienceExceptions { - if (self == anAudienceExceptions) { - return YES; - } - if (![self.count isEqual:anAudienceExceptions.count]) { - return NO; - } - if (![self.exceptions isEqual:anAudienceExceptions.exceptions]) { - return NO; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGResolvedVisibilityOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBSHARINGAudienceExceptionsSerializer - -+ (NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +#pragma mark - Instance field accessors - jsonDict[@"count"] = valueObj.count; - jsonDict[@"exceptions"] = - [DBArraySerializer serialize:valueObj.exceptions - withBlock:^id(id elem0) { - return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:elem0]; - }]; +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isPublic { + return _tag == DBSHARINGResolvedVisibilityPublic; } -+ (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)valueDict { - NSNumber *count = valueDict[@"count"]; - NSArray *exceptions = - [DBArraySerializer deserialize:valueDict[@"exceptions"] - withBlock:^id(id elem0) { - return [DBSHARINGAudienceExceptionContentInfoSerializer deserialize:elem0]; - }]; - - return [[DBSHARINGAudienceExceptions alloc] initWithCount:count exceptions:exceptions]; +- (BOOL)isTeamOnly { + return _tag == DBSHARINGResolvedVisibilityTeamOnly; } -@end +- (BOOL)isPassword { + return _tag == DBSHARINGResolvedVisibilityPassword; +} -#import "DBSHARINGAudienceRestrictingSharedFolder.h" -#import "DBSHARINGLinkAudience.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (BOOL)isTeamAndPassword { + return _tag == DBSHARINGResolvedVisibilityTeamAndPassword; +} -#pragma mark - API Object +- (BOOL)isSharedFolderOnly { + return _tag == DBSHARINGResolvedVisibilitySharedFolderOnly; +} -@implementation DBSHARINGAudienceRestrictingSharedFolder +- (BOOL)isNoOne { + return _tag == DBSHARINGResolvedVisibilityNoOne; +} -#pragma mark - Constructors +- (BOOL)isOnlyYou { + return _tag == DBSHARINGResolvedVisibilityOnlyYou; +} -- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId - name:(NSString *)name - audience:(DBSHARINGLinkAudience *)audience { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](audience); +- (BOOL)isOther { + return _tag == DBSHARINGResolvedVisibilityOther; +} - self = [super init]; - if (self) { - _sharedFolderId = sharedFolderId; - _name = name; - _audience = audience; +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGResolvedVisibilityPublic: + return @"DBSHARINGResolvedVisibilityPublic"; + case DBSHARINGResolvedVisibilityTeamOnly: + return @"DBSHARINGResolvedVisibilityTeamOnly"; + case DBSHARINGResolvedVisibilityPassword: + return @"DBSHARINGResolvedVisibilityPassword"; + case DBSHARINGResolvedVisibilityTeamAndPassword: + return @"DBSHARINGResolvedVisibilityTeamAndPassword"; + case DBSHARINGResolvedVisibilitySharedFolderOnly: + return @"DBSHARINGResolvedVisibilitySharedFolderOnly"; + case DBSHARINGResolvedVisibilityNoOne: + return @"DBSHARINGResolvedVisibilityNoOne"; + case DBSHARINGResolvedVisibilityOnlyYou: + return @"DBSHARINGResolvedVisibilityOnlyYou"; + case DBSHARINGResolvedVisibilityOther: + return @"DBSHARINGResolvedVisibilityOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGResolvedVisibilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGAudienceRestrictingSharedFolderSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGResolvedVisibilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGResolvedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2084,9 +2452,32 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharedFolderId hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.audience hash]; + switch (_tag) { + case DBSHARINGResolvedVisibilityPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityTeamAndPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilitySharedFolderOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityNoOne: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityOnlyYou: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGResolvedVisibilityOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -2100,22 +2491,33 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAudienceRestrictingSharedFolder:other]; + return [self isEqualToResolvedVisibility:other]; } -- (BOOL)isEqualToAudienceRestrictingSharedFolder: - (DBSHARINGAudienceRestrictingSharedFolder *)anAudienceRestrictingSharedFolder { - if (self == anAudienceRestrictingSharedFolder) { +- (BOOL)isEqualToResolvedVisibility:(DBSHARINGResolvedVisibility *)aResolvedVisibility { + if (self == aResolvedVisibility) { return YES; } - if (![self.sharedFolderId isEqual:anAudienceRestrictingSharedFolder.sharedFolderId]) { - return NO; - } - if (![self.name isEqual:anAudienceRestrictingSharedFolder.name]) { + if (self.tag != aResolvedVisibility.tag) { return NO; } - if (![self.audience isEqual:anAudienceRestrictingSharedFolder.audience]) { - return NO; + switch (_tag) { + case DBSHARINGResolvedVisibilityPublic: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityTeamOnly: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityPassword: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityTeamAndPassword: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilitySharedFolderOnly: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityNoOne: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityOnlyYou: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGResolvedVisibilityOther: + return [[self tagName] isEqual:[aResolvedVisibility tagName]]; } return YES; } @@ -2124,75 +2526,208 @@ - (BOOL)isEqualToAudienceRestrictingSharedFolder: #pragma mark - Serializer Object -@implementation DBSHARINGAudienceRestrictingSharedFolderSerializer +@implementation DBSHARINGResolvedVisibilitySerializer -+ (NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; + if ([valueObj isPublic]) { + jsonDict[@".tag"] = @"public"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else if ([valueObj isTeamAndPassword]) { + jsonDict[@".tag"] = @"team_and_password"; + } else if ([valueObj isSharedFolderOnly]) { + jsonDict[@".tag"] = @"shared_folder_only"; + } else if ([valueObj isNoOne]) { + jsonDict[@".tag"] = @"no_one"; + } else if ([valueObj isOnlyYou]) { + jsonDict[@".tag"] = @"only_you"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)valueDict { - NSString *sharedFolderId = valueDict[@"shared_folder_id"]; - NSString *name = valueDict[@"name"]; - DBSHARINGLinkAudience *audience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]]; ++ (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGAudienceRestrictingSharedFolder alloc] initWithSharedFolderId:sharedFolderId - name:name - audience:audience]; + if ([tag isEqualToString:@"public"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithPublic]; + } else if ([tag isEqualToString:@"team_only"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithTeamOnly]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithPassword]; + } else if ([tag isEqualToString:@"team_and_password"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithTeamAndPassword]; + } else if ([tag isEqualToString:@"shared_folder_only"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithSharedFolderOnly]; + } else if ([tag isEqualToString:@"no_one"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithNoOne]; + } else if ([tag isEqualToString:@"only_you"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithOnlyYou]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGResolvedVisibility alloc] initWithOther]; + } else { + return [[DBSHARINGResolvedVisibility alloc] initWithOther]; + } } @end -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGChangeFileMemberAccessArgs.h" -#import "DBSHARINGMemberSelector.h" +#import "DBSHARINGAlphaResolvedVisibility.h" +#import "DBSHARINGResolvedVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGChangeFileMemberAccessArgs +@implementation DBSHARINGAlphaResolvedVisibility #pragma mark - Constructors -- (instancetype)initWithFile:(NSString *)file - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) - maxLength:nil - pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); - [DBStoneValidators nonnullValidator:nil](member); - [DBStoneValidators nonnullValidator:nil](accessLevel); +- (instancetype)initWithPublic { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityPublic; + } + return self; +} +- (instancetype)initWithTeamOnly { self = [super init]; if (self) { - _file = file; - _member = member; - _accessLevel = accessLevel; + _tag = DBSHARINGAlphaResolvedVisibilityTeamOnly; + } + return self; +} + +- (instancetype)initWithPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityPassword; + } + return self; +} + +- (instancetype)initWithTeamAndPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityTeamAndPassword; + } + return self; +} + +- (instancetype)initWithSharedFolderOnly { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilitySharedFolderOnly; + } + return self; +} + +- (instancetype)initWithNoOne { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityNoOne; + } + return self; +} + +- (instancetype)initWithOnlyYou { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityOnlyYou; } return self; } +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGAlphaResolvedVisibilityOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPublic { + return _tag == DBSHARINGAlphaResolvedVisibilityPublic; +} + +- (BOOL)isTeamOnly { + return _tag == DBSHARINGAlphaResolvedVisibilityTeamOnly; +} + +- (BOOL)isPassword { + return _tag == DBSHARINGAlphaResolvedVisibilityPassword; +} + +- (BOOL)isTeamAndPassword { + return _tag == DBSHARINGAlphaResolvedVisibilityTeamAndPassword; +} + +- (BOOL)isSharedFolderOnly { + return _tag == DBSHARINGAlphaResolvedVisibilitySharedFolderOnly; +} + +- (BOOL)isNoOne { + return _tag == DBSHARINGAlphaResolvedVisibilityNoOne; +} + +- (BOOL)isOnlyYou { + return _tag == DBSHARINGAlphaResolvedVisibilityOnlyYou; +} + +- (BOOL)isOther { + return _tag == DBSHARINGAlphaResolvedVisibilityOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGAlphaResolvedVisibilityPublic: + return @"DBSHARINGAlphaResolvedVisibilityPublic"; + case DBSHARINGAlphaResolvedVisibilityTeamOnly: + return @"DBSHARINGAlphaResolvedVisibilityTeamOnly"; + case DBSHARINGAlphaResolvedVisibilityPassword: + return @"DBSHARINGAlphaResolvedVisibilityPassword"; + case DBSHARINGAlphaResolvedVisibilityTeamAndPassword: + return @"DBSHARINGAlphaResolvedVisibilityTeamAndPassword"; + case DBSHARINGAlphaResolvedVisibilitySharedFolderOnly: + return @"DBSHARINGAlphaResolvedVisibilitySharedFolderOnly"; + case DBSHARINGAlphaResolvedVisibilityNoOne: + return @"DBSHARINGAlphaResolvedVisibilityNoOne"; + case DBSHARINGAlphaResolvedVisibilityOnlyYou: + return @"DBSHARINGAlphaResolvedVisibilityOnlyYou"; + case DBSHARINGAlphaResolvedVisibilityOther: + return @"DBSHARINGAlphaResolvedVisibilityOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGChangeFileMemberAccessArgsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGAlphaResolvedVisibilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGChangeFileMemberAccessArgsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGAlphaResolvedVisibilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGChangeFileMemberAccessArgsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGAlphaResolvedVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2209,9 +2744,32 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.file hash]; - result = prime * result + [self.member hash]; - result = prime * result + [self.accessLevel hash]; + switch (_tag) { + case DBSHARINGAlphaResolvedVisibilityPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityTeamAndPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilitySharedFolderOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityNoOne: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityOnlyYou: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGAlphaResolvedVisibilityOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -2225,21 +2783,33 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToChangeFileMemberAccessArgs:other]; + return [self isEqualToAlphaResolvedVisibility:other]; } -- (BOOL)isEqualToChangeFileMemberAccessArgs:(DBSHARINGChangeFileMemberAccessArgs *)aChangeFileMemberAccessArgs { - if (self == aChangeFileMemberAccessArgs) { +- (BOOL)isEqualToAlphaResolvedVisibility:(DBSHARINGAlphaResolvedVisibility *)anAlphaResolvedVisibility { + if (self == anAlphaResolvedVisibility) { return YES; } - if (![self.file isEqual:aChangeFileMemberAccessArgs.file]) { - return NO; - } - if (![self.member isEqual:aChangeFileMemberAccessArgs.member]) { + if (self.tag != anAlphaResolvedVisibility.tag) { return NO; } - if (![self.accessLevel isEqual:aChangeFileMemberAccessArgs.accessLevel]) { - return NO; + switch (_tag) { + case DBSHARINGAlphaResolvedVisibilityPublic: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityTeamOnly: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityPassword: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityTeamAndPassword: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilitySharedFolderOnly: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityNoOne: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityOnlyYou: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; + case DBSHARINGAlphaResolvedVisibilityOther: + return [[self tagName] isEqual:[anAlphaResolvedVisibility tagName]]; } return YES; } @@ -2248,72 +2818,94 @@ - (BOOL)isEqualToChangeFileMemberAccessArgs:(DBSHARINGChangeFileMemberAccessArgs #pragma mark - Serializer Object -@implementation DBSHARINGChangeFileMemberAccessArgsSerializer +@implementation DBSHARINGAlphaResolvedVisibilitySerializer -+ (NSDictionary *)serialize:(DBSHARINGChangeFileMemberAccessArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAlphaResolvedVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"file"] = valueObj.file; - jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; + if ([valueObj isPublic]) { + jsonDict[@".tag"] = @"public"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else if ([valueObj isTeamAndPassword]) { + jsonDict[@".tag"] = @"team_and_password"; + } else if ([valueObj isSharedFolderOnly]) { + jsonDict[@".tag"] = @"shared_folder_only"; + } else if ([valueObj isNoOne]) { + jsonDict[@".tag"] = @"no_one"; + } else if ([valueObj isOnlyYou]) { + jsonDict[@".tag"] = @"only_you"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGChangeFileMemberAccessArgs *)deserialize:(NSDictionary *)valueDict { - NSString *file = valueDict[@"file"]; - DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; - DBSHARINGAccessLevel *accessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]]; ++ (DBSHARINGAlphaResolvedVisibility *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGChangeFileMemberAccessArgs alloc] initWithFile:file member:member accessLevel:accessLevel]; + if ([tag isEqualToString:@"public"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithPublic]; + } else if ([tag isEqualToString:@"team_only"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithTeamOnly]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithPassword]; + } else if ([tag isEqualToString:@"team_and_password"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithTeamAndPassword]; + } else if ([tag isEqualToString:@"shared_folder_only"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithSharedFolderOnly]; + } else if ([tag isEqualToString:@"no_one"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithNoOne]; + } else if ([tag isEqualToString:@"only_you"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithOnlyYou]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithOther]; + } else { + return [[DBSHARINGAlphaResolvedVisibility alloc] initWithOther]; + } } @end -#import "DBSHARINGCollectionLinkMetadata.h" -#import "DBSHARINGLinkMetadata.h" -#import "DBSHARINGPathLinkMetadata.h" -#import "DBSHARINGVisibility.h" +#import "DBSHARINGAudienceExceptionContentInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGLinkMetadata +@implementation DBSHARINGAudienceExceptionContentInfo #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators nonnullValidator:nil](visibility); +- (instancetype)initWithName:(NSString *)name { + [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { - _url = url; - _visibility = visibility; - _expires = expires; + _name = name; } return self; } -- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility { - return [self initWithUrl:url visibility:visibility expires:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGAudienceExceptionContentInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGAudienceExceptionContentInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2330,11 +2922,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - result = prime * result + [self.visibility hash]; - if (self.expires != nil) { - result = prime * result + [self.expires hash]; - } + result = prime * result + [self.name hash]; return prime * result; } @@ -2348,24 +2936,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLinkMetadata:other]; + return [self isEqualToAudienceExceptionContentInfo:other]; } -- (BOOL)isEqualToLinkMetadata:(DBSHARINGLinkMetadata *)aLinkMetadata { - if (self == aLinkMetadata) { +- (BOOL)isEqualToAudienceExceptionContentInfo:(DBSHARINGAudienceExceptionContentInfo *)anAudienceExceptionContentInfo { + if (self == anAudienceExceptionContentInfo) { return YES; } - if (![self.url isEqual:aLinkMetadata.url]) { - return NO; - } - if (![self.visibility isEqual:aLinkMetadata.visibility]) { + if (![self.name isEqual:anAudienceExceptionContentInfo.name]) { return NO; } - if (self.expires) { - if (![self.expires isEqual:aLinkMetadata.expires]) { - return NO; - } - } return YES; } @@ -2373,94 +2953,65 @@ - (BOOL)isEqualToLinkMetadata:(DBSHARINGLinkMetadata *)aLinkMetadata { #pragma mark - Serializer Object -@implementation DBSHARINGLinkMetadataSerializer +@implementation DBSHARINGAudienceExceptionContentInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"visibility"] = [DBSHARINGVisibilitySerializer serialize:valueObj.visibility]; - if (valueObj.expires) { - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - - if ([valueObj isKindOfClass:[DBSHARINGPathLinkMetadata class]]) { - NSDictionary *subTypeFields = [DBSHARINGPathLinkMetadataSerializer serialize:(DBSHARINGPathLinkMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isKindOfClass:[DBSHARINGCollectionLinkMetadata class]]) { - NSDictionary *subTypeFields = - [DBSHARINGCollectionLinkMetadataSerializer serialize:(DBSHARINGCollectionLinkMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"collection"; - } + jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"path"]) { - return [DBSHARINGPathLinkMetadataSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"collection"]) { - return [DBSHARINGCollectionLinkMetadataSerializer deserialize:valueDict]; - } - - NSString *url = valueDict[@"url"]; - DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; - NSDate *expires = valueDict[@"expires"] - ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; - return [[DBSHARINGLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; + return [[DBSHARINGAudienceExceptionContentInfo alloc] initWithName:name]; } @end -#import "DBSHARINGCollectionLinkMetadata.h" -#import "DBSHARINGLinkMetadata.h" -#import "DBSHARINGVisibility.h" +#import "DBSHARINGAudienceExceptionContentInfo.h" +#import "DBSHARINGAudienceExceptions.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGCollectionLinkMetadata +@implementation DBSHARINGAudienceExceptions #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators nonnullValidator:nil](visibility); +- (instancetype)initWithCount:(NSNumber *)count + exceptions:(NSArray *)exceptions { + [DBStoneValidators nonnullValidator:nil](count); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](exceptions); - self = [super initWithUrl:url visibility:visibility expires:expires]; + self = [super init]; if (self) { + _count = count; + _exceptions = exceptions; } return self; } -- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility { - return [self initWithUrl:url visibility:visibility expires:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGCollectionLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGAudienceExceptionsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGCollectionLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGAudienceExceptionsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGCollectionLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGAudienceExceptionsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2477,11 +3028,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - result = prime * result + [self.visibility hash]; - if (self.expires != nil) { - result = prime * result + [self.expires hash]; - } + result = prime * result + [self.count hash]; + result = prime * result + [self.exceptions hash]; return prime * result; } @@ -2495,24 +3043,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCollectionLinkMetadata:other]; + return [self isEqualToAudienceExceptions:other]; } -- (BOOL)isEqualToCollectionLinkMetadata:(DBSHARINGCollectionLinkMetadata *)aCollectionLinkMetadata { - if (self == aCollectionLinkMetadata) { +- (BOOL)isEqualToAudienceExceptions:(DBSHARINGAudienceExceptions *)anAudienceExceptions { + if (self == anAudienceExceptions) { return YES; } - if (![self.url isEqual:aCollectionLinkMetadata.url]) { + if (![self.count isEqual:anAudienceExceptions.count]) { return NO; } - if (![self.visibility isEqual:aCollectionLinkMetadata.visibility]) { + if (![self.exceptions isEqual:anAudienceExceptions.exceptions]) { return NO; } - if (self.expires) { - if (![self.expires isEqual:aCollectionLinkMetadata.expires]) { - return NO; - } - } return YES; } @@ -2520,75 +3063,76 @@ - (BOOL)isEqualToCollectionLinkMetadata:(DBSHARINGCollectionLinkMetadata *)aColl #pragma mark - Serializer Object -@implementation DBSHARINGCollectionLinkMetadataSerializer +@implementation DBSHARINGAudienceExceptionsSerializer -+ (NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"visibility"] = [DBSHARINGVisibilitySerializer serialize:valueObj.visibility]; - if (valueObj.expires) { - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } + jsonDict[@"count"] = valueObj.count; + jsonDict[@"exceptions"] = + [DBArraySerializer serialize:valueObj.exceptions + withBlock:^id(id elem0) { + return [DBSHARINGAudienceExceptionContentInfoSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; - DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; - NSDate *expires = valueDict[@"expires"] - ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)valueDict { + NSNumber *count = valueDict[@"count"]; + NSArray *exceptions = + [DBArraySerializer deserialize:valueDict[@"exceptions"] + withBlock:^id(id elem0) { + return [DBSHARINGAudienceExceptionContentInfoSerializer deserialize:elem0]; + }]; - return [[DBSHARINGCollectionLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; + return [[DBSHARINGAudienceExceptions alloc] initWithCount:count exceptions:exceptions]; } @end -#import "DBSHARINGCreateSharedLinkArg.h" -#import "DBSHARINGPendingUploadMode.h" +#import "DBSHARINGAudienceRestrictingSharedFolder.h" +#import "DBSHARINGLinkAudience.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGCreateSharedLinkArg +@implementation DBSHARINGAudienceRestrictingSharedFolder #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path - shortUrl:(NSNumber *)shortUrl - pendingUpload:(DBSHARINGPendingUploadMode *)pendingUpload { - [DBStoneValidators nonnullValidator:nil](path); +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId + name:(NSString *)name + audience:(DBSHARINGLinkAudience *)audience { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](audience); self = [super init]; if (self) { - _path = path; - _shortUrl = shortUrl ?: @NO; - _pendingUpload = pendingUpload; + _sharedFolderId = sharedFolderId; + _name = name; + _audience = audience; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path shortUrl:nil pendingUpload:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGCreateSharedLinkArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGCreateSharedLinkArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGAudienceRestrictingSharedFolderSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGCreateSharedLinkArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2605,11 +3149,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - result = prime * result + [self.shortUrl hash]; - if (self.pendingUpload != nil) { - result = prime * result + [self.pendingUpload hash]; - } + result = prime * result + [self.sharedFolderId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.audience hash]; return prime * result; } @@ -2623,23 +3165,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateSharedLinkArg:other]; + return [self isEqualToAudienceRestrictingSharedFolder:other]; } -- (BOOL)isEqualToCreateSharedLinkArg:(DBSHARINGCreateSharedLinkArg *)aCreateSharedLinkArg { - if (self == aCreateSharedLinkArg) { +- (BOOL)isEqualToAudienceRestrictingSharedFolder: + (DBSHARINGAudienceRestrictingSharedFolder *)anAudienceRestrictingSharedFolder { + if (self == anAudienceRestrictingSharedFolder) { return YES; } - if (![self.path isEqual:aCreateSharedLinkArg.path]) { + if (![self.sharedFolderId isEqual:anAudienceRestrictingSharedFolder.sharedFolderId]) { return NO; } - if (![self.shortUrl isEqual:aCreateSharedLinkArg.shortUrl]) { + if (![self.name isEqual:anAudienceRestrictingSharedFolder.name]) { return NO; } - if (self.pendingUpload) { - if (![self.pendingUpload isEqual:aCreateSharedLinkArg.pendingUpload]) { - return NO; - } + if (![self.audience isEqual:anAudienceRestrictingSharedFolder.audience]) { + return NO; } return YES; } @@ -2648,107 +3189,74 @@ - (BOOL)isEqualToCreateSharedLinkArg:(DBSHARINGCreateSharedLinkArg *)aCreateShar #pragma mark - Serializer Object -@implementation DBSHARINGCreateSharedLinkArgSerializer +@implementation DBSHARINGAudienceRestrictingSharedFolderSerializer -+ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - jsonDict[@"short_url"] = valueObj.shortUrl; - if (valueObj.pendingUpload) { - jsonDict[@"pending_upload"] = [DBSHARINGPendingUploadModeSerializer serialize:valueObj.pendingUpload]; - } + jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - NSNumber *shortUrl = valueDict[@"short_url"] ?: @NO; - DBSHARINGPendingUploadMode *pendingUpload = - valueDict[@"pending_upload"] ? [DBSHARINGPendingUploadModeSerializer deserialize:valueDict[@"pending_upload"]] - : nil; ++ (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)valueDict { + NSString *sharedFolderId = valueDict[@"shared_folder_id"]; + NSString *name = valueDict[@"name"]; + DBSHARINGLinkAudience *audience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]]; - return [[DBSHARINGCreateSharedLinkArg alloc] initWithPath:path shortUrl:shortUrl pendingUpload:pendingUpload]; + return [[DBSHARINGAudienceRestrictingSharedFolder alloc] initWithSharedFolderId:sharedFolderId + name:name + audience:audience]; } @end -#import "DBFILESLookupError.h" -#import "DBSHARINGCreateSharedLinkError.h" +#import "DBSHARINGCollectionLinkMetadata.h" +#import "DBSHARINGLinkMetadata.h" +#import "DBSHARINGPathLinkMetadata.h" +#import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGCreateSharedLinkError - -@synthesize path = _path; +@implementation DBSHARINGLinkMetadata #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBSHARINGCreateSharedLinkErrorPath; - _path = path; - } - return self; -} +- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](visibility); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGCreateSharedLinkErrorOther; + _url = url; + _visibility = visibility; + _expires = expires; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGCreateSharedLinkErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBSHARINGCreateSharedLinkErrorPath; -} - -- (BOOL)isOther { - return _tag == DBSHARINGCreateSharedLinkErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGCreateSharedLinkErrorPath: - return @"DBSHARINGCreateSharedLinkErrorPath"; - case DBSHARINGCreateSharedLinkErrorOther: - return @"DBSHARINGCreateSharedLinkErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility { + return [self initWithUrl:url visibility:visibility expires:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGCreateSharedLinkErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGCreateSharedLinkErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGCreateSharedLinkErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2765,11 +3273,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGCreateSharedLinkErrorPath: - result = prime * result + [self.path hash]; - case DBSHARINGCreateSharedLinkErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.url hash]; + result = prime * result + [self.visibility hash]; + if (self.expires != nil) { + result = prime * result + [self.expires hash]; } return prime * result; @@ -2784,21 +3291,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateSharedLinkError:other]; + return [self isEqualToLinkMetadata:other]; } -- (BOOL)isEqualToCreateSharedLinkError:(DBSHARINGCreateSharedLinkError *)aCreateSharedLinkError { - if (self == aCreateSharedLinkError) { +- (BOOL)isEqualToLinkMetadata:(DBSHARINGLinkMetadata *)aLinkMetadata { + if (self == aLinkMetadata) { return YES; } - if (self.tag != aCreateSharedLinkError.tag) { + if (![self.url isEqual:aLinkMetadata.url]) { return NO; } - switch (_tag) { - case DBSHARINGCreateSharedLinkErrorPath: - return [self.path isEqual:aCreateSharedLinkError.path]; - case DBSHARINGCreateSharedLinkErrorOther: - return [[self tagName] isEqual:[aCreateSharedLinkError tagName]]; + if (![self.visibility isEqual:aLinkMetadata.visibility]) { + return NO; + } + if (self.expires) { + if (![self.expires isEqual:aLinkMetadata.expires]) { + return NO; + } } return YES; } @@ -2807,82 +3316,94 @@ - (BOOL)isEqualToCreateSharedLinkError:(DBSHARINGCreateSharedLinkError *)aCreate #pragma mark - Serializer Object -@implementation DBSHARINGCreateSharedLinkErrorSerializer +@implementation DBSHARINGLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@"url"] = valueObj.url; + jsonDict[@"visibility"] = [DBSHARINGVisibilitySerializer serialize:valueObj.visibility]; + if (valueObj.expires) { + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + if ([valueObj isKindOfClass:[DBSHARINGPathLinkMetadata class]]) { + NSDictionary *subTypeFields = [DBSHARINGPathLinkMetadataSerializer serialize:(DBSHARINGPathLinkMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + } else if ([valueObj isKindOfClass:[DBSHARINGCollectionLinkMetadata class]]) { + NSDictionary *subTypeFields = + [DBSHARINGCollectionLinkMetadataSerializer serialize:(DBSHARINGCollectionLinkMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"collection"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBSHARINGCreateSharedLinkError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGCreateSharedLinkError alloc] initWithOther]; - } else { - return [[DBSHARINGCreateSharedLinkError alloc] initWithOther]; ++ (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"path"]) { + return [DBSHARINGPathLinkMetadataSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"collection"]) { + return [DBSHARINGCollectionLinkMetadataSerializer deserialize:valueDict]; } + + NSString *url = valueDict[@"url"]; + DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; + NSDate *expires = valueDict[@"expires"] + ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBSHARINGLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; } @end -#import "DBSHARINGCreateSharedLinkWithSettingsArg.h" -#import "DBSHARINGSharedLinkSettings.h" +#import "DBSHARINGCollectionLinkMetadata.h" +#import "DBSHARINGLinkMetadata.h" +#import "DBSHARINGVisibility.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGCreateSharedLinkWithSettingsArg +@implementation DBSHARINGCollectionLinkMetadata #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path settings:(DBSHARINGSharedLinkSettings *)settings { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); +- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility expires:(NSDate *)expires { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](visibility); - self = [super init]; + self = [super initWithUrl:url visibility:visibility expires:expires]; if (self) { - _path = path; - _settings = settings; } return self; } -- (instancetype)initWithPath:(NSString *)path { - return [self initWithPath:path settings:nil]; +- (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)visibility { + return [self initWithUrl:url visibility:visibility expires:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGCollectionLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGCollectionLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGCollectionLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2899,9 +3420,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.settings != nil) { - result = prime * result + [self.settings hash]; + result = prime * result + [self.url hash]; + result = prime * result + [self.visibility hash]; + if (self.expires != nil) { + result = prime * result + [self.expires hash]; } return prime * result; @@ -2916,19 +3438,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateSharedLinkWithSettingsArg:other]; + return [self isEqualToCollectionLinkMetadata:other]; } -- (BOOL)isEqualToCreateSharedLinkWithSettingsArg: - (DBSHARINGCreateSharedLinkWithSettingsArg *)aCreateSharedLinkWithSettingsArg { - if (self == aCreateSharedLinkWithSettingsArg) { +- (BOOL)isEqualToCollectionLinkMetadata:(DBSHARINGCollectionLinkMetadata *)aCollectionLinkMetadata { + if (self == aCollectionLinkMetadata) { return YES; } - if (![self.path isEqual:aCreateSharedLinkWithSettingsArg.path]) { + if (![self.url isEqual:aCollectionLinkMetadata.url]) { return NO; } - if (self.settings) { - if (![self.settings isEqual:aCreateSharedLinkWithSettingsArg.settings]) { + if (![self.visibility isEqual:aCollectionLinkMetadata.visibility]) { + return NO; + } + if (self.expires) { + if (![self.expires isEqual:aCollectionLinkMetadata.expires]) { return NO; } } @@ -2939,159 +3463,75 @@ - (BOOL)isEqualToCreateSharedLinkWithSettingsArg: #pragma mark - Serializer Object -@implementation DBSHARINGCreateSharedLinkWithSettingsArgSerializer +@implementation DBSHARINGCollectionLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = valueObj.path; - if (valueObj.settings) { - jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; + jsonDict[@"url"] = valueObj.url; + jsonDict[@"visibility"] = [DBSHARINGVisibilitySerializer serialize:valueObj.visibility]; + if (valueObj.expires) { + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"]; - DBSHARINGSharedLinkSettings *settings = - valueDict[@"settings"] ? [DBSHARINGSharedLinkSettingsSerializer deserialize:valueDict[@"settings"]] : nil; ++ (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; + NSDate *expires = valueDict[@"expires"] + ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - return [[DBSHARINGCreateSharedLinkWithSettingsArg alloc] initWithPath:path settings:settings]; + return [[DBSHARINGCollectionLinkMetadata alloc] initWithUrl:url visibility:visibility expires:expires]; } @end -#import "DBFILESLookupError.h" -#import "DBSHARINGCreateSharedLinkWithSettingsError.h" -#import "DBSHARINGSharedLinkSettingsError.h" +#import "DBSHARINGCreateSharedLinkArg.h" +#import "DBSHARINGPendingUploadMode.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGCreateSharedLinkWithSettingsError - -@synthesize path = _path; -@synthesize settingsError = _settingsError; +@implementation DBSHARINGCreateSharedLinkArg #pragma mark - Constructors -- (instancetype)initWithPath:(DBFILESLookupError *)path { - self = [super init]; - if (self) { - _tag = DBSHARINGCreateSharedLinkWithSettingsErrorPath; - _path = path; - } - return self; -} - -- (instancetype)initWithEmailNotVerified { - self = [super init]; - if (self) { - _tag = DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified; - } - return self; -} - -- (instancetype)initWithSharedLinkAlreadyExists { - self = [super init]; - if (self) { - _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists; - } - return self; -} - -- (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError { - self = [super init]; - if (self) { - _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError; - _settingsError = settingsError; - } - return self; -} +- (instancetype)initWithPath:(NSString *)path + shortUrl:(NSNumber *)shortUrl + pendingUpload:(DBSHARINGPendingUploadMode *)pendingUpload { + [DBStoneValidators nonnullValidator:nil](path); -- (instancetype)initWithAccessDenied { self = [super init]; if (self) { - _tag = DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied; + _path = path; + _shortUrl = shortUrl ?: @NO; + _pendingUpload = pendingUpload; } return self; } -#pragma mark - Instance field accessors - -- (DBFILESLookupError *)path { - if (![self isPath]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -- (DBSHARINGSharedLinkSettingsError *)settingsError { - if (![self isSettingsError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError, but was %@.", - [self tagName]]; - } - return _settingsError; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorPath; -} - -- (BOOL)isEmailNotVerified { - return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified; -} - -- (BOOL)isSharedLinkAlreadyExists { - return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists; -} - -- (BOOL)isSettingsError { - return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError; -} - -- (BOOL)isAccessDenied { - return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGCreateSharedLinkWithSettingsErrorPath: - return @"DBSHARINGCreateSharedLinkWithSettingsErrorPath"; - case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: - return @"DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified"; - case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: - return @"DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists"; - case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: - return @"DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError"; - case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: - return @"DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path shortUrl:nil pendingUpload:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGCreateSharedLinkArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGCreateSharedLinkArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGCreateSharedLinkArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3108,18 +3548,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGCreateSharedLinkWithSettingsErrorPath: - result = prime * result + [self.path hash]; - case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: - result = prime * result + [[self tagName] hash]; - case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: - result = prime * result + [[self tagName] hash]; - case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: - result = prime * result + [self.settingsError hash]; - case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.path hash]; + result = prime * result + [self.shortUrl hash]; + if (self.pendingUpload != nil) { + result = prime * result + [self.pendingUpload hash]; + } return prime * result; } @@ -3133,28 +3566,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateSharedLinkWithSettingsError:other]; + return [self isEqualToCreateSharedLinkArg:other]; } -- (BOOL)isEqualToCreateSharedLinkWithSettingsError: - (DBSHARINGCreateSharedLinkWithSettingsError *)aCreateSharedLinkWithSettingsError { - if (self == aCreateSharedLinkWithSettingsError) { +- (BOOL)isEqualToCreateSharedLinkArg:(DBSHARINGCreateSharedLinkArg *)aCreateSharedLinkArg { + if (self == aCreateSharedLinkArg) { return YES; } - if (self.tag != aCreateSharedLinkWithSettingsError.tag) { + if (![self.path isEqual:aCreateSharedLinkArg.path]) { return NO; } - switch (_tag) { - case DBSHARINGCreateSharedLinkWithSettingsErrorPath: - return [self.path isEqual:aCreateSharedLinkWithSettingsError.path]; - case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: - return [[self tagName] isEqual:[aCreateSharedLinkWithSettingsError tagName]]; - case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: - return [[self tagName] isEqual:[aCreateSharedLinkWithSettingsError tagName]]; - case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: - return [self.settingsError isEqual:aCreateSharedLinkWithSettingsError.settingsError]; - case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: - return [[self tagName] isEqual:[aCreateSharedLinkWithSettingsError tagName]]; + if (![self.shortUrl isEqual:aCreateSharedLinkArg.shortUrl]) { + return NO; + } + if (self.pendingUpload) { + if (![self.pendingUpload isEqual:aCreateSharedLinkArg.pendingUpload]) { + return NO; + } } return YES; } @@ -3163,131 +3591,107 @@ - (BOOL)isEqualToCreateSharedLinkWithSettingsError: #pragma mark - Serializer Object -@implementation DBSHARINGCreateSharedLinkWithSettingsErrorSerializer +@implementation DBSHARINGCreateSharedLinkArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isEmailNotVerified]) { - jsonDict[@".tag"] = @"email_not_verified"; - } else if ([valueObj isSharedLinkAlreadyExists]) { - jsonDict[@".tag"] = @"shared_link_already_exists"; - } else if ([valueObj isSettingsError]) { - jsonDict[@"settings_error"] = - [[DBSHARINGSharedLinkSettingsErrorSerializer serialize:valueObj.settingsError] mutableCopy]; - jsonDict[@".tag"] = @"settings_error"; - } else if ([valueObj isAccessDenied]) { - jsonDict[@".tag"] = @"access_denied"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@"path"] = valueObj.path; + jsonDict[@"short_url"] = valueObj.shortUrl; + if (valueObj.pendingUpload) { + jsonDict[@"pending_upload"] = [DBSHARINGPendingUploadModeSerializer serialize:valueObj.pendingUpload]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + NSNumber *shortUrl = valueDict[@"short_url"] ?: @NO; + DBSHARINGPendingUploadMode *pendingUpload = + valueDict[@"pending_upload"] ? [DBSHARINGPendingUploadModeSerializer deserialize:valueDict[@"pending_upload"]] + : nil; - if ([tag isEqualToString:@"path"]) { - DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; - return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"email_not_verified"]) { - return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithEmailNotVerified]; - } else if ([tag isEqualToString:@"shared_link_already_exists"]) { - return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithSharedLinkAlreadyExists]; - } else if ([tag isEqualToString:@"settings_error"]) { - DBSHARINGSharedLinkSettingsError *settingsError = - [DBSHARINGSharedLinkSettingsErrorSerializer deserialize:valueDict[@"settings_error"]]; - return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithSettingsError:settingsError]; - } else if ([tag isEqualToString:@"access_denied"]) { - return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithAccessDenied]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBSHARINGCreateSharedLinkArg alloc] initWithPath:path shortUrl:shortUrl pendingUpload:pendingUpload]; } @end -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGAudienceRestrictingSharedFolder.h" -#import "DBSHARINGLinkAudience.h" -#import "DBSHARINGLinkPermission.h" -#import "DBSHARINGSharedContentLinkMetadataBase.h" +#import "DBFILESLookupError.h" +#import "DBSHARINGCreateSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGSharedContentLinkMetadataBase +@implementation DBSHARINGCreateSharedLinkError + +@synthesize path = _path; #pragma mark - Constructors -- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions - currentAudience:(DBSHARINGLinkAudience *)currentAudience - linkPermissions:(NSArray *)linkPermissions - passwordProtected:(NSNumber *)passwordProtected - accessLevel:(DBSHARINGAccessLevel *)accessLevel - audienceRestrictingSharedFolder:(DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder - expiry:(NSDate *)expiry { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](audienceOptions); - [DBStoneValidators nonnullValidator:nil](currentAudience); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkPermissions); - [DBStoneValidators nonnullValidator:nil](passwordProtected); +- (instancetype)initWithPath:(DBFILESLookupError *)path { + self = [super init]; + if (self) { + _tag = DBSHARINGCreateSharedLinkErrorPath; + _path = path; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _accessLevel = accessLevel; - _audienceOptions = audienceOptions; - _audienceRestrictingSharedFolder = audienceRestrictingSharedFolder; - _currentAudience = currentAudience; - _expiry = expiry; - _linkPermissions = linkPermissions; - _passwordProtected = passwordProtected; + _tag = DBSHARINGCreateSharedLinkErrorOther; } return self; } -- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions - currentAudience:(DBSHARINGLinkAudience *)currentAudience - linkPermissions:(NSArray *)linkPermissions - passwordProtected:(NSNumber *)passwordProtected { - return [self initWithAudienceOptions:audienceOptions - currentAudience:currentAudience - linkPermissions:linkPermissions - passwordProtected:passwordProtected - accessLevel:nil - audienceRestrictingSharedFolder:nil - expiry:nil]; +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGCreateSharedLinkErrorPath, but was %@.", [self tagName]]; + } + return _path; +} + +#pragma mark - Tag state methods + +- (BOOL)isPath { + return _tag == DBSHARINGCreateSharedLinkErrorPath; +} + +- (BOOL)isOther { + return _tag == DBSHARINGCreateSharedLinkErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGCreateSharedLinkErrorPath: + return @"DBSHARINGCreateSharedLinkErrorPath"; + case DBSHARINGCreateSharedLinkErrorOther: + return @"DBSHARINGCreateSharedLinkErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGCreateSharedLinkErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGSharedContentLinkMetadataBaseSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGCreateSharedLinkErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGCreateSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3304,18 +3708,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.audienceOptions hash]; - result = prime * result + [self.currentAudience hash]; - result = prime * result + [self.linkPermissions hash]; - result = prime * result + [self.passwordProtected hash]; - if (self.accessLevel != nil) { - result = prime * result + [self.accessLevel hash]; - } - if (self.audienceRestrictingSharedFolder != nil) { - result = prime * result + [self.audienceRestrictingSharedFolder hash]; - } - if (self.expiry != nil) { - result = prime * result + [self.expiry hash]; + switch (_tag) { + case DBSHARINGCreateSharedLinkErrorPath: + result = prime * result + [self.path hash]; + break; + case DBSHARINGCreateSharedLinkErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3330,41 +3729,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentLinkMetadataBase:other]; + return [self isEqualToCreateSharedLinkError:other]; } -- (BOOL)isEqualToSharedContentLinkMetadataBase: - (DBSHARINGSharedContentLinkMetadataBase *)aSharedContentLinkMetadataBase { - if (self == aSharedContentLinkMetadataBase) { +- (BOOL)isEqualToCreateSharedLinkError:(DBSHARINGCreateSharedLinkError *)aCreateSharedLinkError { + if (self == aCreateSharedLinkError) { return YES; } - if (![self.audienceOptions isEqual:aSharedContentLinkMetadataBase.audienceOptions]) { - return NO; - } - if (![self.currentAudience isEqual:aSharedContentLinkMetadataBase.currentAudience]) { - return NO; - } - if (![self.linkPermissions isEqual:aSharedContentLinkMetadataBase.linkPermissions]) { - return NO; - } - if (![self.passwordProtected isEqual:aSharedContentLinkMetadataBase.passwordProtected]) { + if (self.tag != aCreateSharedLinkError.tag) { return NO; } - if (self.accessLevel) { - if (![self.accessLevel isEqual:aSharedContentLinkMetadataBase.accessLevel]) { - return NO; - } - } - if (self.audienceRestrictingSharedFolder) { - if (![self.audienceRestrictingSharedFolder - isEqual:aSharedContentLinkMetadataBase.audienceRestrictingSharedFolder]) { - return NO; - } - } - if (self.expiry) { - if (![self.expiry isEqual:aSharedContentLinkMetadataBase.expiry]) { - return NO; - } + switch (_tag) { + case DBSHARINGCreateSharedLinkErrorPath: + return [self.path isEqual:aCreateSharedLinkError.path]; + case DBSHARINGCreateSharedLinkErrorOther: + return [[self tagName] isEqual:[aCreateSharedLinkError tagName]]; } return YES; } @@ -3373,142 +3752,82 @@ - (BOOL)isEqualToSharedContentLinkMetadataBase: #pragma mark - Serializer Object -@implementation DBSHARINGSharedContentLinkMetadataBaseSerializer +@implementation DBSHARINGCreateSharedLinkErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions - withBlock:^id(id elem0) { - return [DBSHARINGLinkAudienceSerializer serialize:elem0]; - }]; - jsonDict[@"current_audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.currentAudience]; - jsonDict[@"link_permissions"] = [DBArraySerializer serialize:valueObj.linkPermissions - withBlock:^id(id elem0) { - return [DBSHARINGLinkPermissionSerializer serialize:elem0]; - }]; - jsonDict[@"password_protected"] = valueObj.passwordProtected; - if (valueObj.accessLevel) { - jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - } - if (valueObj.audienceRestrictingSharedFolder) { - jsonDict[@"audience_restricting_shared_folder"] = - [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:valueObj.audienceRestrictingSharedFolder]; - } - if (valueObj.expiry) { - jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)valueDict { - NSArray *audienceOptions = - [DBArraySerializer deserialize:valueDict[@"audience_options"] - withBlock:^id(id elem0) { - return [DBSHARINGLinkAudienceSerializer deserialize:elem0]; - }]; - DBSHARINGLinkAudience *currentAudience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"current_audience"]]; - NSArray *linkPermissions = - [DBArraySerializer deserialize:valueDict[@"link_permissions"] - withBlock:^id(id elem0) { - return [DBSHARINGLinkPermissionSerializer deserialize:elem0]; - }]; - NSNumber *passwordProtected = valueDict[@"password_protected"]; - DBSHARINGAccessLevel *accessLevel = - valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; - DBSHARINGAudienceRestrictingSharedFolder *audienceRestrictingSharedFolder = - valueDict[@"audience_restricting_shared_folder"] - ? [DBSHARINGAudienceRestrictingSharedFolderSerializer - deserialize:valueDict[@"audience_restricting_shared_folder"]] - : nil; - NSDate *expiry = valueDict[@"expiry"] - ? [DBNSDateSerializer deserialize:valueDict[@"expiry"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGSharedContentLinkMetadataBase alloc] initWithAudienceOptions:audienceOptions - currentAudience:currentAudience - linkPermissions:linkPermissions - passwordProtected:passwordProtected - accessLevel:accessLevel - audienceRestrictingSharedFolder:audienceRestrictingSharedFolder - expiry:expiry]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBSHARINGCreateSharedLinkError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGCreateSharedLinkError alloc] initWithOther]; + } else { + return [[DBSHARINGCreateSharedLinkError alloc] initWithOther]; + } } @end -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGAudienceRestrictingSharedFolder.h" -#import "DBSHARINGExpectedSharedContentLinkMetadata.h" -#import "DBSHARINGLinkAudience.h" -#import "DBSHARINGLinkPermission.h" -#import "DBSHARINGSharedContentLinkMetadataBase.h" +#import "DBSHARINGCreateSharedLinkWithSettingsArg.h" +#import "DBSHARINGSharedLinkSettings.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGExpectedSharedContentLinkMetadata +@implementation DBSHARINGCreateSharedLinkWithSettingsArg #pragma mark - Constructors -- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions - currentAudience:(DBSHARINGLinkAudience *)currentAudience - linkPermissions:(NSArray *)linkPermissions - passwordProtected:(NSNumber *)passwordProtected - accessLevel:(DBSHARINGAccessLevel *)accessLevel - audienceRestrictingSharedFolder:(DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder - expiry:(NSDate *)expiry { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](audienceOptions); - [DBStoneValidators nonnullValidator:nil](currentAudience); +- (instancetype)initWithPath:(NSString *)path settings:(DBSHARINGSharedLinkSettings *)settings { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkPermissions); - [DBStoneValidators nonnullValidator:nil](passwordProtected); + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"]](path); - self = [super initWithAudienceOptions:audienceOptions - currentAudience:currentAudience - linkPermissions:linkPermissions - passwordProtected:passwordProtected - accessLevel:accessLevel - audienceRestrictingSharedFolder:audienceRestrictingSharedFolder - expiry:expiry]; + self = [super init]; if (self) { + _path = path; + _settings = settings; } return self; } -- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions - currentAudience:(DBSHARINGLinkAudience *)currentAudience - linkPermissions:(NSArray *)linkPermissions - passwordProtected:(NSNumber *)passwordProtected { - return [self initWithAudienceOptions:audienceOptions - currentAudience:currentAudience - linkPermissions:linkPermissions - passwordProtected:passwordProtected - accessLevel:nil - audienceRestrictingSharedFolder:nil - expiry:nil]; +- (instancetype)initWithPath:(NSString *)path { + return [self initWithPath:path settings:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGExpectedSharedContentLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGCreateSharedLinkWithSettingsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGCreateSharedLinkWithSettingsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3525,18 +3844,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.audienceOptions hash]; - result = prime * result + [self.currentAudience hash]; - result = prime * result + [self.linkPermissions hash]; - result = prime * result + [self.passwordProtected hash]; - if (self.accessLevel != nil) { - result = prime * result + [self.accessLevel hash]; - } - if (self.audienceRestrictingSharedFolder != nil) { - result = prime * result + [self.audienceRestrictingSharedFolder hash]; - } - if (self.expiry != nil) { - result = prime * result + [self.expiry hash]; + result = prime * result + [self.path hash]; + if (self.settings != nil) { + result = prime * result + [self.settings hash]; } return prime * result; @@ -3551,39 +3861,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToExpectedSharedContentLinkMetadata:other]; + return [self isEqualToCreateSharedLinkWithSettingsArg:other]; } -- (BOOL)isEqualToExpectedSharedContentLinkMetadata: - (DBSHARINGExpectedSharedContentLinkMetadata *)anExpectedSharedContentLinkMetadata { - if (self == anExpectedSharedContentLinkMetadata) { +- (BOOL)isEqualToCreateSharedLinkWithSettingsArg: + (DBSHARINGCreateSharedLinkWithSettingsArg *)aCreateSharedLinkWithSettingsArg { + if (self == aCreateSharedLinkWithSettingsArg) { return YES; } - if (![self.audienceOptions isEqual:anExpectedSharedContentLinkMetadata.audienceOptions]) { - return NO; - } - if (![self.currentAudience isEqual:anExpectedSharedContentLinkMetadata.currentAudience]) { - return NO; - } - if (![self.linkPermissions isEqual:anExpectedSharedContentLinkMetadata.linkPermissions]) { - return NO; - } - if (![self.passwordProtected isEqual:anExpectedSharedContentLinkMetadata.passwordProtected]) { + if (![self.path isEqual:aCreateSharedLinkWithSettingsArg.path]) { return NO; } - if (self.accessLevel) { - if (![self.accessLevel isEqual:anExpectedSharedContentLinkMetadata.accessLevel]) { - return NO; - } - } - if (self.audienceRestrictingSharedFolder) { - if (![self.audienceRestrictingSharedFolder - isEqual:anExpectedSharedContentLinkMetadata.audienceRestrictingSharedFolder]) { - return NO; - } - } - if (self.expiry) { - if (![self.expiry isEqual:anExpectedSharedContentLinkMetadata.expiry]) { + if (self.settings) { + if (![self.settings isEqual:aCreateSharedLinkWithSettingsArg.settings]) { return NO; } } @@ -3594,226 +3884,153 @@ - (BOOL)isEqualToExpectedSharedContentLinkMetadata: #pragma mark - Serializer Object -@implementation DBSHARINGExpectedSharedContentLinkMetadataSerializer +@implementation DBSHARINGCreateSharedLinkWithSettingsArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions - withBlock:^id(id elem0) { - return [DBSHARINGLinkAudienceSerializer serialize:elem0]; - }]; - jsonDict[@"current_audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.currentAudience]; - jsonDict[@"link_permissions"] = [DBArraySerializer serialize:valueObj.linkPermissions - withBlock:^id(id elem0) { - return [DBSHARINGLinkPermissionSerializer serialize:elem0]; - }]; - jsonDict[@"password_protected"] = valueObj.passwordProtected; - if (valueObj.accessLevel) { - jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - } - if (valueObj.audienceRestrictingSharedFolder) { - jsonDict[@"audience_restricting_shared_folder"] = - [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:valueObj.audienceRestrictingSharedFolder]; - } - if (valueObj.expiry) { - jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"path"] = valueObj.path; + if (valueObj.settings) { + jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { - NSArray *audienceOptions = - [DBArraySerializer deserialize:valueDict[@"audience_options"] - withBlock:^id(id elem0) { - return [DBSHARINGLinkAudienceSerializer deserialize:elem0]; - }]; - DBSHARINGLinkAudience *currentAudience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"current_audience"]]; - NSArray *linkPermissions = - [DBArraySerializer deserialize:valueDict[@"link_permissions"] - withBlock:^id(id elem0) { - return [DBSHARINGLinkPermissionSerializer deserialize:elem0]; - }]; - NSNumber *passwordProtected = valueDict[@"password_protected"]; - DBSHARINGAccessLevel *accessLevel = - valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; - DBSHARINGAudienceRestrictingSharedFolder *audienceRestrictingSharedFolder = - valueDict[@"audience_restricting_shared_folder"] - ? [DBSHARINGAudienceRestrictingSharedFolderSerializer - deserialize:valueDict[@"audience_restricting_shared_folder"]] - : nil; - NSDate *expiry = valueDict[@"expiry"] - ? [DBNSDateSerializer deserialize:valueDict[@"expiry"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"]; + DBSHARINGSharedLinkSettings *settings = + valueDict[@"settings"] ? [DBSHARINGSharedLinkSettingsSerializer deserialize:valueDict[@"settings"]] : nil; - return [[DBSHARINGExpectedSharedContentLinkMetadata alloc] initWithAudienceOptions:audienceOptions - currentAudience:currentAudience - linkPermissions:linkPermissions - passwordProtected:passwordProtected - accessLevel:accessLevel - audienceRestrictingSharedFolder:audienceRestrictingSharedFolder - expiry:expiry]; + return [[DBSHARINGCreateSharedLinkWithSettingsArg alloc] initWithPath:path settings:settings]; } @end -#import "DBSHARINGFileAction.h" +#import "DBFILESLookupError.h" +#import "DBSHARINGCreateSharedLinkWithSettingsError.h" +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" +#import "DBSHARINGSharedLinkSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFileAction +@implementation DBSHARINGCreateSharedLinkWithSettingsError + +@synthesize path = _path; +@synthesize sharedLinkAlreadyExists = _sharedLinkAlreadyExists; +@synthesize settingsError = _settingsError; #pragma mark - Constructors -- (instancetype)initWithDisableViewerInfo { +- (instancetype)initWithPath:(DBFILESLookupError *)path { self = [super init]; if (self) { - _tag = DBSHARINGFileActionDisableViewerInfo; + _tag = DBSHARINGCreateSharedLinkWithSettingsErrorPath; + _path = path; } return self; } -- (instancetype)initWithEditContents { +- (instancetype)initWithEmailNotVerified { self = [super init]; if (self) { - _tag = DBSHARINGFileActionEditContents; + _tag = DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified; } return self; } -- (instancetype)initWithEnableViewerInfo { +- (instancetype)initWithSharedLinkAlreadyExists:(DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists { self = [super init]; if (self) { - _tag = DBSHARINGFileActionEnableViewerInfo; + _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists; + _sharedLinkAlreadyExists = sharedLinkAlreadyExists; } return self; } -- (instancetype)initWithInviteViewer { +- (instancetype)initWithSettingsError:(DBSHARINGSharedLinkSettingsError *)settingsError { self = [super init]; if (self) { - _tag = DBSHARINGFileActionInviteViewer; + _tag = DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError; + _settingsError = settingsError; } return self; } -- (instancetype)initWithInviteViewerNoComment { +- (instancetype)initWithAccessDenied { self = [super init]; if (self) { - _tag = DBSHARINGFileActionInviteViewerNoComment; + _tag = DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied; } return self; } -- (instancetype)initWithUnshare { - self = [super init]; - if (self) { - _tag = DBSHARINGFileActionUnshare; +#pragma mark - Instance field accessors + +- (DBFILESLookupError *)path { + if (![self isPath]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorPath, but was %@.", [self tagName]]; } - return self; + return _path; } -- (instancetype)initWithRelinquishMembership { - self = [super init]; - if (self) { - _tag = DBSHARINGFileActionRelinquishMembership; +- (DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists { + if (![self isSharedLinkAlreadyExists]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkAlreadyExists; } -- (instancetype)initWithShareLink { - self = [super init]; - if (self) { - _tag = DBSHARINGFileActionShareLink; - } - return self; -} - -- (instancetype)initWithCreateLink { - self = [super init]; - if (self) { - _tag = DBSHARINGFileActionCreateLink; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBSHARINGFileActionOther; +- (DBSHARINGSharedLinkSettingsError *)settingsError { + if (![self isSettingsError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError, but was %@.", + [self tagName]]; } - return self; + return _settingsError; } -#pragma mark - Instance field accessors - #pragma mark - Tag state methods -- (BOOL)isDisableViewerInfo { - return _tag == DBSHARINGFileActionDisableViewerInfo; -} - -- (BOOL)isEditContents { - return _tag == DBSHARINGFileActionEditContents; -} - -- (BOOL)isEnableViewerInfo { - return _tag == DBSHARINGFileActionEnableViewerInfo; -} - -- (BOOL)isInviteViewer { - return _tag == DBSHARINGFileActionInviteViewer; -} - -- (BOOL)isInviteViewerNoComment { - return _tag == DBSHARINGFileActionInviteViewerNoComment; -} - -- (BOOL)isUnshare { - return _tag == DBSHARINGFileActionUnshare; +- (BOOL)isPath { + return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorPath; } -- (BOOL)isRelinquishMembership { - return _tag == DBSHARINGFileActionRelinquishMembership; +- (BOOL)isEmailNotVerified { + return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified; } -- (BOOL)isShareLink { - return _tag == DBSHARINGFileActionShareLink; +- (BOOL)isSharedLinkAlreadyExists { + return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists; } -- (BOOL)isCreateLink { - return _tag == DBSHARINGFileActionCreateLink; +- (BOOL)isSettingsError { + return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError; } -- (BOOL)isOther { - return _tag == DBSHARINGFileActionOther; +- (BOOL)isAccessDenied { + return _tag == DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGFileActionDisableViewerInfo: - return @"DBSHARINGFileActionDisableViewerInfo"; - case DBSHARINGFileActionEditContents: - return @"DBSHARINGFileActionEditContents"; - case DBSHARINGFileActionEnableViewerInfo: - return @"DBSHARINGFileActionEnableViewerInfo"; - case DBSHARINGFileActionInviteViewer: - return @"DBSHARINGFileActionInviteViewer"; - case DBSHARINGFileActionInviteViewerNoComment: - return @"DBSHARINGFileActionInviteViewerNoComment"; - case DBSHARINGFileActionUnshare: - return @"DBSHARINGFileActionUnshare"; - case DBSHARINGFileActionRelinquishMembership: - return @"DBSHARINGFileActionRelinquishMembership"; - case DBSHARINGFileActionShareLink: - return @"DBSHARINGFileActionShareLink"; - case DBSHARINGFileActionCreateLink: - return @"DBSHARINGFileActionCreateLink"; - case DBSHARINGFileActionOther: - return @"DBSHARINGFileActionOther"; + case DBSHARINGCreateSharedLinkWithSettingsErrorPath: + return @"DBSHARINGCreateSharedLinkWithSettingsErrorPath"; + case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: + return @"DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified"; + case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: + return @"DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists"; + case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: + return @"DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError"; + case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: + return @"DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -3821,18 +4038,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileActionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileActionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGCreateSharedLinkWithSettingsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileActionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGCreateSharedLinkWithSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3850,26 +4067,23 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGFileActionDisableViewerInfo: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionEditContents: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionEnableViewerInfo: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionInviteViewer: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionInviteViewerNoComment: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionUnshare: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionRelinquishMembership: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionShareLink: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionCreateLink: + case DBSHARINGCreateSharedLinkWithSettingsErrorPath: + result = prime * result + [self.path hash]; + break; + case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: result = prime * result + [[self tagName] hash]; - case DBSHARINGFileActionOther: + break; + case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: + if (self.sharedLinkAlreadyExists != nil) { + result = prime * result + [self.sharedLinkAlreadyExists hash]; + } + break; + case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: + result = prime * result + [self.settingsError hash]; + break; + case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3884,37 +4098,30 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileAction:other]; + return [self isEqualToCreateSharedLinkWithSettingsError:other]; } -- (BOOL)isEqualToFileAction:(DBSHARINGFileAction *)aFileAction { - if (self == aFileAction) { +- (BOOL)isEqualToCreateSharedLinkWithSettingsError: + (DBSHARINGCreateSharedLinkWithSettingsError *)aCreateSharedLinkWithSettingsError { + if (self == aCreateSharedLinkWithSettingsError) { return YES; } - if (self.tag != aFileAction.tag) { + if (self.tag != aCreateSharedLinkWithSettingsError.tag) { return NO; } switch (_tag) { - case DBSHARINGFileActionDisableViewerInfo: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionEditContents: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionEnableViewerInfo: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionInviteViewer: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionInviteViewerNoComment: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionUnshare: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionRelinquishMembership: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionShareLink: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionCreateLink: - return [[self tagName] isEqual:[aFileAction tagName]]; - case DBSHARINGFileActionOther: - return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGCreateSharedLinkWithSettingsErrorPath: + return [self.path isEqual:aCreateSharedLinkWithSettingsError.path]; + case DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified: + return [[self tagName] isEqual:[aCreateSharedLinkWithSettingsError tagName]]; + case DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists: + if (self.sharedLinkAlreadyExists) { + return [self.sharedLinkAlreadyExists isEqual:aCreateSharedLinkWithSettingsError.sharedLinkAlreadyExists]; + } + case DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError: + return [self.settingsError isEqual:aCreateSharedLinkWithSettingsError.settingsError]; + case DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied: + return [[self tagName] isEqual:[aCreateSharedLinkWithSettingsError tagName]]; } return YES; } @@ -3923,192 +4130,139 @@ - (BOOL)isEqualToFileAction:(DBSHARINGFileAction *)aFileAction { #pragma mark - Serializer Object -@implementation DBSHARINGFileActionSerializer +@implementation DBSHARINGCreateSharedLinkWithSettingsErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileAction *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisableViewerInfo]) { - jsonDict[@".tag"] = @"disable_viewer_info"; - } else if ([valueObj isEditContents]) { - jsonDict[@".tag"] = @"edit_contents"; - } else if ([valueObj isEnableViewerInfo]) { - jsonDict[@".tag"] = @"enable_viewer_info"; - } else if ([valueObj isInviteViewer]) { - jsonDict[@".tag"] = @"invite_viewer"; - } else if ([valueObj isInviteViewerNoComment]) { - jsonDict[@".tag"] = @"invite_viewer_no_comment"; - } else if ([valueObj isUnshare]) { - jsonDict[@".tag"] = @"unshare"; - } else if ([valueObj isRelinquishMembership]) { - jsonDict[@".tag"] = @"relinquish_membership"; - } else if ([valueObj isShareLink]) { - jsonDict[@".tag"] = @"share_link"; - } else if ([valueObj isCreateLink]) { - jsonDict[@".tag"] = @"create_link"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isPath]) { + jsonDict[@"path"] = [[DBFILESLookupErrorSerializer serialize:valueObj.path] mutableCopy]; + jsonDict[@".tag"] = @"path"; + } else if ([valueObj isEmailNotVerified]) { + jsonDict[@".tag"] = @"email_not_verified"; + } else if ([valueObj isSharedLinkAlreadyExists]) { + if (valueObj.sharedLinkAlreadyExists) { + jsonDict[@"shared_link_already_exists"] = + [[DBSHARINGSharedLinkAlreadyExistsMetadataSerializer serialize:valueObj.sharedLinkAlreadyExists] mutableCopy]; + } + jsonDict[@".tag"] = @"shared_link_already_exists"; + } else if ([valueObj isSettingsError]) { + jsonDict[@"settings_error"] = + [[DBSHARINGSharedLinkSettingsErrorSerializer serialize:valueObj.settingsError] mutableCopy]; + jsonDict[@".tag"] = @"settings_error"; + } else if ([valueObj isAccessDenied]) { + jsonDict[@".tag"] = @"access_denied"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFileAction *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"disable_viewer_info"]) { - return [[DBSHARINGFileAction alloc] initWithDisableViewerInfo]; - } else if ([tag isEqualToString:@"edit_contents"]) { - return [[DBSHARINGFileAction alloc] initWithEditContents]; - } else if ([tag isEqualToString:@"enable_viewer_info"]) { - return [[DBSHARINGFileAction alloc] initWithEnableViewerInfo]; - } else if ([tag isEqualToString:@"invite_viewer"]) { - return [[DBSHARINGFileAction alloc] initWithInviteViewer]; - } else if ([tag isEqualToString:@"invite_viewer_no_comment"]) { - return [[DBSHARINGFileAction alloc] initWithInviteViewerNoComment]; - } else if ([tag isEqualToString:@"unshare"]) { - return [[DBSHARINGFileAction alloc] initWithUnshare]; - } else if ([tag isEqualToString:@"relinquish_membership"]) { - return [[DBSHARINGFileAction alloc] initWithRelinquishMembership]; - } else if ([tag isEqualToString:@"share_link"]) { - return [[DBSHARINGFileAction alloc] initWithShareLink]; - } else if ([tag isEqualToString:@"create_link"]) { - return [[DBSHARINGFileAction alloc] initWithCreateLink]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGFileAction alloc] initWithOther]; + if ([tag isEqualToString:@"path"]) { + DBFILESLookupError *path = [DBFILESLookupErrorSerializer deserialize:valueDict[@"path"]]; + return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithPath:path]; + } else if ([tag isEqualToString:@"email_not_verified"]) { + return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithEmailNotVerified]; + } else if ([tag isEqualToString:@"shared_link_already_exists"]) { + DBSHARINGSharedLinkAlreadyExistsMetadata *sharedLinkAlreadyExists = + valueDict[@"shared_link_already_exists"] + ? [DBSHARINGSharedLinkAlreadyExistsMetadataSerializer deserialize:valueDict[@"shared_link_already_exists"]] + : nil; + return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithSharedLinkAlreadyExists:sharedLinkAlreadyExists]; + } else if ([tag isEqualToString:@"settings_error"]) { + DBSHARINGSharedLinkSettingsError *settingsError = + [DBSHARINGSharedLinkSettingsErrorSerializer deserialize:valueDict[@"settings_error"]]; + return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithSettingsError:settingsError]; + } else if ([tag isEqualToString:@"access_denied"]) { + return [[DBSHARINGCreateSharedLinkWithSettingsError alloc] initWithAccessDenied]; } else { - return [[DBSHARINGFileAction alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end -#import "DBSHARINGFileErrorResult.h" +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGAudienceRestrictingSharedFolder.h" +#import "DBSHARINGLinkAudience.h" +#import "DBSHARINGLinkPermission.h" +#import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFileErrorResult - -@synthesize fileNotFoundError = _fileNotFoundError; -@synthesize invalidFileActionError = _invalidFileActionError; -@synthesize permissionDeniedError = _permissionDeniedError; +@implementation DBSHARINGSharedContentLinkMetadataBase #pragma mark - Constructors -- (instancetype)initWithFileNotFoundError:(NSString *)fileNotFoundError { - self = [super init]; - if (self) { - _tag = DBSHARINGFileErrorResultFileNotFoundError; - _fileNotFoundError = fileNotFoundError; - } - return self; -} - -- (instancetype)initWithInvalidFileActionError:(NSString *)invalidFileActionError { - self = [super init]; - if (self) { - _tag = DBSHARINGFileErrorResultInvalidFileActionError; - _invalidFileActionError = invalidFileActionError; - } - return self; -} - -- (instancetype)initWithPermissionDeniedError:(NSString *)permissionDeniedError { - self = [super init]; - if (self) { - _tag = DBSHARINGFileErrorResultPermissionDeniedError; - _permissionDeniedError = permissionDeniedError; - } - return self; -} +- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions + currentAudience:(DBSHARINGLinkAudience *)currentAudience + linkPermissions:(NSArray *)linkPermissions + passwordProtected:(NSNumber *)passwordProtected + accessLevel:(DBSHARINGAccessLevel *)accessLevel + audienceRestrictingSharedFolder:(DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder + expiry:(NSDate *)expiry { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](audienceOptions); + [DBStoneValidators nonnullValidator:nil](currentAudience); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkPermissions); + [DBStoneValidators nonnullValidator:nil](passwordProtected); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGFileErrorResultOther; + _accessLevel = accessLevel; + _audienceOptions = audienceOptions; + _audienceRestrictingSharedFolder = audienceRestrictingSharedFolder; + _currentAudience = currentAudience; + _expiry = expiry; + _linkPermissions = linkPermissions; + _passwordProtected = passwordProtected; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)fileNotFoundError { - if (![self isFileNotFoundError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileErrorResultFileNotFoundError, but was %@.", [self tagName]]; - } - return _fileNotFoundError; -} - -- (NSString *)invalidFileActionError { - if (![self isInvalidFileActionError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileErrorResultInvalidFileActionError, but was %@.", [self tagName]]; - } - return _invalidFileActionError; -} - -- (NSString *)permissionDeniedError { - if (![self isPermissionDeniedError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileErrorResultPermissionDeniedError, but was %@.", [self tagName]]; - } - return _permissionDeniedError; -} - -#pragma mark - Tag state methods - -- (BOOL)isFileNotFoundError { - return _tag == DBSHARINGFileErrorResultFileNotFoundError; -} - -- (BOOL)isInvalidFileActionError { - return _tag == DBSHARINGFileErrorResultInvalidFileActionError; -} - -- (BOOL)isPermissionDeniedError { - return _tag == DBSHARINGFileErrorResultPermissionDeniedError; -} - -- (BOOL)isOther { - return _tag == DBSHARINGFileErrorResultOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGFileErrorResultFileNotFoundError: - return @"DBSHARINGFileErrorResultFileNotFoundError"; - case DBSHARINGFileErrorResultInvalidFileActionError: - return @"DBSHARINGFileErrorResultInvalidFileActionError"; - case DBSHARINGFileErrorResultPermissionDeniedError: - return @"DBSHARINGFileErrorResultPermissionDeniedError"; - case DBSHARINGFileErrorResultOther: - return @"DBSHARINGFileErrorResultOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions + currentAudience:(DBSHARINGLinkAudience *)currentAudience + linkPermissions:(NSArray *)linkPermissions + passwordProtected:(NSNumber *)passwordProtected { + return [self initWithAudienceOptions:audienceOptions + currentAudience:currentAudience + linkPermissions:linkPermissions + passwordProtected:passwordProtected + accessLevel:nil + audienceRestrictingSharedFolder:nil + expiry:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileErrorResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileErrorResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSharedContentLinkMetadataBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileErrorResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGSharedContentLinkMetadataBaseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4125,15 +4279,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGFileErrorResultFileNotFoundError: - result = prime * result + [self.fileNotFoundError hash]; - case DBSHARINGFileErrorResultInvalidFileActionError: - result = prime * result + [self.invalidFileActionError hash]; - case DBSHARINGFileErrorResultPermissionDeniedError: - result = prime * result + [self.permissionDeniedError hash]; - case DBSHARINGFileErrorResultOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.audienceOptions hash]; + result = prime * result + [self.currentAudience hash]; + result = prime * result + [self.linkPermissions hash]; + result = prime * result + [self.passwordProtected hash]; + if (self.accessLevel != nil) { + result = prime * result + [self.accessLevel hash]; + } + if (self.audienceRestrictingSharedFolder != nil) { + result = prime * result + [self.audienceRestrictingSharedFolder hash]; + } + if (self.expiry != nil) { + result = prime * result + [self.expiry hash]; } return prime * result; @@ -4148,25 +4305,41 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileErrorResult:other]; + return [self isEqualToSharedContentLinkMetadataBase:other]; } -- (BOOL)isEqualToFileErrorResult:(DBSHARINGFileErrorResult *)aFileErrorResult { - if (self == aFileErrorResult) { +- (BOOL)isEqualToSharedContentLinkMetadataBase: + (DBSHARINGSharedContentLinkMetadataBase *)aSharedContentLinkMetadataBase { + if (self == aSharedContentLinkMetadataBase) { return YES; } - if (self.tag != aFileErrorResult.tag) { + if (![self.audienceOptions isEqual:aSharedContentLinkMetadataBase.audienceOptions]) { return NO; } - switch (_tag) { - case DBSHARINGFileErrorResultFileNotFoundError: - return [self.fileNotFoundError isEqual:aFileErrorResult.fileNotFoundError]; - case DBSHARINGFileErrorResultInvalidFileActionError: - return [self.invalidFileActionError isEqual:aFileErrorResult.invalidFileActionError]; - case DBSHARINGFileErrorResultPermissionDeniedError: - return [self.permissionDeniedError isEqual:aFileErrorResult.permissionDeniedError]; - case DBSHARINGFileErrorResultOther: - return [[self tagName] isEqual:[aFileErrorResult tagName]]; + if (![self.currentAudience isEqual:aSharedContentLinkMetadataBase.currentAudience]) { + return NO; + } + if (![self.linkPermissions isEqual:aSharedContentLinkMetadataBase.linkPermissions]) { + return NO; + } + if (![self.passwordProtected isEqual:aSharedContentLinkMetadataBase.passwordProtected]) { + return NO; + } + if (self.accessLevel) { + if (![self.accessLevel isEqual:aSharedContentLinkMetadataBase.accessLevel]) { + return NO; + } + } + if (self.audienceRestrictingSharedFolder) { + if (! + [self.audienceRestrictingSharedFolder isEqual:aSharedContentLinkMetadataBase.audienceRestrictingSharedFolder]) { + return NO; + } + } + if (self.expiry) { + if (![self.expiry isEqual:aSharedContentLinkMetadataBase.expiry]) { + return NO; + } } return YES; } @@ -4175,119 +4348,142 @@ - (BOOL)isEqualToFileErrorResult:(DBSHARINGFileErrorResult *)aFileErrorResult { #pragma mark - Serializer Object -@implementation DBSHARINGFileErrorResultSerializer +@implementation DBSHARINGSharedContentLinkMetadataBaseSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileErrorResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFileNotFoundError]) { - jsonDict[@"file_not_found_error"] = valueObj.fileNotFoundError; - jsonDict[@".tag"] = @"file_not_found_error"; - } else if ([valueObj isInvalidFileActionError]) { - jsonDict[@"invalid_file_action_error"] = valueObj.invalidFileActionError; - jsonDict[@".tag"] = @"invalid_file_action_error"; - } else if ([valueObj isPermissionDeniedError]) { - jsonDict[@"permission_denied_error"] = valueObj.permissionDeniedError; - jsonDict[@".tag"] = @"permission_denied_error"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceSerializer serialize:elem0]; + }]; + jsonDict[@"current_audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.currentAudience]; + jsonDict[@"link_permissions"] = [DBArraySerializer serialize:valueObj.linkPermissions + withBlock:^id(id elem0) { + return [DBSHARINGLinkPermissionSerializer serialize:elem0]; + }]; + jsonDict[@"password_protected"] = valueObj.passwordProtected; + if (valueObj.accessLevel) { + jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; + } + if (valueObj.audienceRestrictingSharedFolder) { + jsonDict[@"audience_restricting_shared_folder"] = + [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:valueObj.audienceRestrictingSharedFolder]; + } + if (valueObj.expiry) { + jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)valueDict { + NSArray *audienceOptions = + [DBArraySerializer deserialize:valueDict[@"audience_options"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceSerializer deserialize:elem0]; + }]; + DBSHARINGLinkAudience *currentAudience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"current_audience"]]; + NSArray *linkPermissions = + [DBArraySerializer deserialize:valueDict[@"link_permissions"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkPermissionSerializer deserialize:elem0]; + }]; + NSNumber *passwordProtected = valueDict[@"password_protected"]; + DBSHARINGAccessLevel *accessLevel = + valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; + DBSHARINGAudienceRestrictingSharedFolder *audienceRestrictingSharedFolder = + valueDict[@"audience_restricting_shared_folder"] + ? [DBSHARINGAudienceRestrictingSharedFolderSerializer + deserialize:valueDict[@"audience_restricting_shared_folder"]] + : nil; + NSDate *expiry = valueDict[@"expiry"] + ? [DBNSDateSerializer deserialize:valueDict[@"expiry"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - if ([tag isEqualToString:@"file_not_found_error"]) { - NSString *fileNotFoundError = valueDict[@"file_not_found_error"]; - return [[DBSHARINGFileErrorResult alloc] initWithFileNotFoundError:fileNotFoundError]; - } else if ([tag isEqualToString:@"invalid_file_action_error"]) { - NSString *invalidFileActionError = valueDict[@"invalid_file_action_error"]; - return [[DBSHARINGFileErrorResult alloc] initWithInvalidFileActionError:invalidFileActionError]; - } else if ([tag isEqualToString:@"permission_denied_error"]) { - NSString *permissionDeniedError = valueDict[@"permission_denied_error"]; - return [[DBSHARINGFileErrorResult alloc] initWithPermissionDeniedError:permissionDeniedError]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGFileErrorResult alloc] initWithOther]; - } else { - return [[DBSHARINGFileErrorResult alloc] initWithOther]; - } + return [[DBSHARINGSharedContentLinkMetadataBase alloc] initWithAudienceOptions:audienceOptions + currentAudience:currentAudience + linkPermissions:linkPermissions + passwordProtected:passwordProtected + accessLevel:accessLevel + audienceRestrictingSharedFolder:audienceRestrictingSharedFolder + expiry:expiry]; } @end -#import "DBSHARINGFileLinkMetadata.h" -#import "DBSHARINGFolderLinkMetadata.h" -#import "DBSHARINGLinkPermissions.h" -#import "DBSHARINGSharedLinkMetadata.h" -#import "DBSHARINGTeamMemberInfo.h" +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGAudienceRestrictingSharedFolder.h" +#import "DBSHARINGExpectedSharedContentLinkMetadata.h" +#import "DBSHARINGLinkAudience.h" +#import "DBSHARINGLinkPermission.h" +#import "DBSHARINGSharedContentLinkMetadataBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBUSERSTeam.h" #pragma mark - API Object -@implementation DBSHARINGSharedLinkMetadata +@implementation DBSHARINGExpectedSharedContentLinkMetadata #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions - id_:(NSString *)id_ - expires:(NSDate *)expires - pathLower:(NSString *)pathLower - teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo - contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](linkPermissions); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); +- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions + currentAudience:(DBSHARINGLinkAudience *)currentAudience + linkPermissions:(NSArray *)linkPermissions + passwordProtected:(NSNumber *)passwordProtected + accessLevel:(DBSHARINGAccessLevel *)accessLevel + audienceRestrictingSharedFolder:(DBSHARINGAudienceRestrictingSharedFolder *)audienceRestrictingSharedFolder + expiry:(NSDate *)expiry { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](audienceOptions); + [DBStoneValidators nonnullValidator:nil](currentAudience); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkPermissions); + [DBStoneValidators nonnullValidator:nil](passwordProtected); - self = [super init]; + self = [super initWithAudienceOptions:audienceOptions + currentAudience:currentAudience + linkPermissions:linkPermissions + passwordProtected:passwordProtected + accessLevel:accessLevel + audienceRestrictingSharedFolder:audienceRestrictingSharedFolder + expiry:expiry]; if (self) { - _url = url; - _id_ = id_; - _name = name; - _expires = expires; - _pathLower = pathLower; - _linkPermissions = linkPermissions; - _teamMemberInfo = teamMemberInfo; - _contentOwnerTeamInfo = contentOwnerTeamInfo; } return self; } -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions { - return [self initWithUrl:url - name:name - linkPermissions:linkPermissions - id_:nil - expires:nil - pathLower:nil - teamMemberInfo:nil - contentOwnerTeamInfo:nil]; +- (instancetype)initWithAudienceOptions:(NSArray *)audienceOptions + currentAudience:(DBSHARINGLinkAudience *)currentAudience + linkPermissions:(NSArray *)linkPermissions + passwordProtected:(NSNumber *)passwordProtected { + return [self initWithAudienceOptions:audienceOptions + currentAudience:currentAudience + linkPermissions:linkPermissions + passwordProtected:passwordProtected + accessLevel:nil + audienceRestrictingSharedFolder:nil + expiry:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGSharedLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGSharedLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGExpectedSharedContentLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGSharedLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGExpectedSharedContentLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4304,23 +4500,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - result = prime * result + [self.name hash]; + result = prime * result + [self.audienceOptions hash]; + result = prime * result + [self.currentAudience hash]; result = prime * result + [self.linkPermissions hash]; - if (self.id_ != nil) { - result = prime * result + [self.id_ hash]; - } - if (self.expires != nil) { - result = prime * result + [self.expires hash]; - } - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; + result = prime * result + [self.passwordProtected hash]; + if (self.accessLevel != nil) { + result = prime * result + [self.accessLevel hash]; } - if (self.teamMemberInfo != nil) { - result = prime * result + [self.teamMemberInfo hash]; + if (self.audienceRestrictingSharedFolder != nil) { + result = prime * result + [self.audienceRestrictingSharedFolder hash]; } - if (self.contentOwnerTeamInfo != nil) { - result = prime * result + [self.contentOwnerTeamInfo hash]; + if (self.expiry != nil) { + result = prime * result + [self.expiry hash]; } return prime * result; @@ -4335,44 +4526,39 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedLinkMetadata:other]; + return [self isEqualToExpectedSharedContentLinkMetadata:other]; } -- (BOOL)isEqualToSharedLinkMetadata:(DBSHARINGSharedLinkMetadata *)aSharedLinkMetadata { - if (self == aSharedLinkMetadata) { +- (BOOL)isEqualToExpectedSharedContentLinkMetadata: + (DBSHARINGExpectedSharedContentLinkMetadata *)anExpectedSharedContentLinkMetadata { + if (self == anExpectedSharedContentLinkMetadata) { return YES; } - if (![self.url isEqual:aSharedLinkMetadata.url]) { + if (![self.audienceOptions isEqual:anExpectedSharedContentLinkMetadata.audienceOptions]) { return NO; } - if (![self.name isEqual:aSharedLinkMetadata.name]) { + if (![self.currentAudience isEqual:anExpectedSharedContentLinkMetadata.currentAudience]) { return NO; } - if (![self.linkPermissions isEqual:aSharedLinkMetadata.linkPermissions]) { + if (![self.linkPermissions isEqual:anExpectedSharedContentLinkMetadata.linkPermissions]) { return NO; } - if (self.id_) { - if (![self.id_ isEqual:aSharedLinkMetadata.id_]) { - return NO; - } - } - if (self.expires) { - if (![self.expires isEqual:aSharedLinkMetadata.expires]) { - return NO; - } + if (![self.passwordProtected isEqual:anExpectedSharedContentLinkMetadata.passwordProtected]) { + return NO; } - if (self.pathLower) { - if (![self.pathLower isEqual:aSharedLinkMetadata.pathLower]) { + if (self.accessLevel) { + if (![self.accessLevel isEqual:anExpectedSharedContentLinkMetadata.accessLevel]) { return NO; } } - if (self.teamMemberInfo) { - if (![self.teamMemberInfo isEqual:aSharedLinkMetadata.teamMemberInfo]) { + if (self.audienceRestrictingSharedFolder) { + if (![self.audienceRestrictingSharedFolder + isEqual:anExpectedSharedContentLinkMetadata.audienceRestrictingSharedFolder]) { return NO; } } - if (self.contentOwnerTeamInfo) { - if (![self.contentOwnerTeamInfo isEqual:aSharedLinkMetadata.contentOwnerTeamInfo]) { + if (self.expiry) { + if (![self.expiry isEqual:anExpectedSharedContentLinkMetadata.expiry]) { return NO; } } @@ -4383,71 +4569,943 @@ - (BOOL)isEqualToSharedLinkMetadata:(DBSHARINGSharedLinkMetadata *)aSharedLinkMe #pragma mark - Serializer Object -@implementation DBSHARINGSharedLinkMetadataSerializer +@implementation DBSHARINGExpectedSharedContentLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; - if (valueObj.id_) { - jsonDict[@"id"] = valueObj.id_; - } - if (valueObj.expires) { - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.teamMemberInfo) { - jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; + jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceSerializer serialize:elem0]; + }]; + jsonDict[@"current_audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.currentAudience]; + jsonDict[@"link_permissions"] = [DBArraySerializer serialize:valueObj.linkPermissions + withBlock:^id(id elem0) { + return [DBSHARINGLinkPermissionSerializer serialize:elem0]; + }]; + jsonDict[@"password_protected"] = valueObj.passwordProtected; + if (valueObj.accessLevel) { + jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; } - if (valueObj.contentOwnerTeamInfo) { - jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; + if (valueObj.audienceRestrictingSharedFolder) { + jsonDict[@"audience_restricting_shared_folder"] = + [DBSHARINGAudienceRestrictingSharedFolderSerializer serialize:valueObj.audienceRestrictingSharedFolder]; } - - if ([valueObj isKindOfClass:[DBSHARINGFileLinkMetadata class]]) { - NSDictionary *subTypeFields = [DBSHARINGFileLinkMetadataSerializer serialize:(DBSHARINGFileLinkMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"file"; - } else if ([valueObj isKindOfClass:[DBSHARINGFolderLinkMetadata class]]) { - NSDictionary *subTypeFields = - [DBSHARINGFolderLinkMetadataSerializer serialize:(DBSHARINGFolderLinkMetadata *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"folder"; + if (valueObj.expiry) { + jsonDict[@"expiry"] = [DBNSDateSerializer serialize:valueObj.expiry dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"file"]) { - return [DBSHARINGFileLinkMetadataSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"folder"]) { - return [DBSHARINGFolderLinkMetadataSerializer deserialize:valueDict]; - } ++ (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { + NSArray *audienceOptions = + [DBArraySerializer deserialize:valueDict[@"audience_options"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceSerializer deserialize:elem0]; + }]; + DBSHARINGLinkAudience *currentAudience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"current_audience"]]; + NSArray *linkPermissions = + [DBArraySerializer deserialize:valueDict[@"link_permissions"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkPermissionSerializer deserialize:elem0]; + }]; + NSNumber *passwordProtected = valueDict[@"password_protected"]; + DBSHARINGAccessLevel *accessLevel = + valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; + DBSHARINGAudienceRestrictingSharedFolder *audienceRestrictingSharedFolder = + valueDict[@"audience_restricting_shared_folder"] + ? [DBSHARINGAudienceRestrictingSharedFolderSerializer + deserialize:valueDict[@"audience_restricting_shared_folder"]] + : nil; + NSDate *expiry = valueDict[@"expiry"] + ? [DBNSDateSerializer deserialize:valueDict[@"expiry"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - NSString *url = valueDict[@"url"]; - NSString *name = valueDict[@"name"]; - DBSHARINGLinkPermissions *linkPermissions = - [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; - NSString *id_ = valueDict[@"id"] ?: nil; - NSDate *expires = valueDict[@"expires"] - ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - DBSHARINGTeamMemberInfo *teamMemberInfo = - valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] - : nil; - DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] - ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] - : nil; + return [[DBSHARINGExpectedSharedContentLinkMetadata alloc] initWithAudienceOptions:audienceOptions + currentAudience:currentAudience + linkPermissions:linkPermissions + passwordProtected:passwordProtected + accessLevel:accessLevel + audienceRestrictingSharedFolder:audienceRestrictingSharedFolder + expiry:expiry]; +} + +@end + +#import "DBSHARINGFileAction.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGFileAction + +#pragma mark - Constructors + +- (instancetype)initWithDisableViewerInfo { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionDisableViewerInfo; + } + return self; +} + +- (instancetype)initWithEditContents { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionEditContents; + } + return self; +} + +- (instancetype)initWithEnableViewerInfo { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionEnableViewerInfo; + } + return self; +} + +- (instancetype)initWithInviteViewer { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionInviteViewer; + } + return self; +} + +- (instancetype)initWithInviteViewerNoComment { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionInviteViewerNoComment; + } + return self; +} + +- (instancetype)initWithInviteEditor { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionInviteEditor; + } + return self; +} + +- (instancetype)initWithUnshare { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionUnshare; + } + return self; +} + +- (instancetype)initWithRelinquishMembership { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionRelinquishMembership; + } + return self; +} + +- (instancetype)initWithShareLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionShareLink; + } + return self; +} + +- (instancetype)initWithCreateLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionCreateLink; + } + return self; +} + +- (instancetype)initWithCreateViewLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionCreateViewLink; + } + return self; +} + +- (instancetype)initWithCreateEditLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionCreateEditLink; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGFileActionOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisableViewerInfo { + return _tag == DBSHARINGFileActionDisableViewerInfo; +} + +- (BOOL)isEditContents { + return _tag == DBSHARINGFileActionEditContents; +} + +- (BOOL)isEnableViewerInfo { + return _tag == DBSHARINGFileActionEnableViewerInfo; +} + +- (BOOL)isInviteViewer { + return _tag == DBSHARINGFileActionInviteViewer; +} + +- (BOOL)isInviteViewerNoComment { + return _tag == DBSHARINGFileActionInviteViewerNoComment; +} + +- (BOOL)isInviteEditor { + return _tag == DBSHARINGFileActionInviteEditor; +} + +- (BOOL)isUnshare { + return _tag == DBSHARINGFileActionUnshare; +} + +- (BOOL)isRelinquishMembership { + return _tag == DBSHARINGFileActionRelinquishMembership; +} + +- (BOOL)isShareLink { + return _tag == DBSHARINGFileActionShareLink; +} + +- (BOOL)isCreateLink { + return _tag == DBSHARINGFileActionCreateLink; +} + +- (BOOL)isCreateViewLink { + return _tag == DBSHARINGFileActionCreateViewLink; +} + +- (BOOL)isCreateEditLink { + return _tag == DBSHARINGFileActionCreateEditLink; +} + +- (BOOL)isOther { + return _tag == DBSHARINGFileActionOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGFileActionDisableViewerInfo: + return @"DBSHARINGFileActionDisableViewerInfo"; + case DBSHARINGFileActionEditContents: + return @"DBSHARINGFileActionEditContents"; + case DBSHARINGFileActionEnableViewerInfo: + return @"DBSHARINGFileActionEnableViewerInfo"; + case DBSHARINGFileActionInviteViewer: + return @"DBSHARINGFileActionInviteViewer"; + case DBSHARINGFileActionInviteViewerNoComment: + return @"DBSHARINGFileActionInviteViewerNoComment"; + case DBSHARINGFileActionInviteEditor: + return @"DBSHARINGFileActionInviteEditor"; + case DBSHARINGFileActionUnshare: + return @"DBSHARINGFileActionUnshare"; + case DBSHARINGFileActionRelinquishMembership: + return @"DBSHARINGFileActionRelinquishMembership"; + case DBSHARINGFileActionShareLink: + return @"DBSHARINGFileActionShareLink"; + case DBSHARINGFileActionCreateLink: + return @"DBSHARINGFileActionCreateLink"; + case DBSHARINGFileActionCreateViewLink: + return @"DBSHARINGFileActionCreateViewLink"; + case DBSHARINGFileActionCreateEditLink: + return @"DBSHARINGFileActionCreateEditLink"; + case DBSHARINGFileActionOther: + return @"DBSHARINGFileActionOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileActionSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileActionSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGFileActionSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGFileActionDisableViewerInfo: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionEditContents: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionEnableViewerInfo: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionInviteViewer: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionInviteViewerNoComment: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionInviteEditor: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionUnshare: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionRelinquishMembership: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionShareLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionCreateLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionCreateViewLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionCreateEditLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileActionOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAction:other]; +} + +- (BOOL)isEqualToFileAction:(DBSHARINGFileAction *)aFileAction { + if (self == aFileAction) { + return YES; + } + if (self.tag != aFileAction.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGFileActionDisableViewerInfo: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionEditContents: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionEnableViewerInfo: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionInviteViewer: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionInviteViewerNoComment: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionInviteEditor: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionUnshare: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionRelinquishMembership: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionShareLink: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionCreateLink: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionCreateViewLink: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionCreateEditLink: + return [[self tagName] isEqual:[aFileAction tagName]]; + case DBSHARINGFileActionOther: + return [[self tagName] isEqual:[aFileAction tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGFileActionSerializer + ++ (NSDictionary *)serialize:(DBSHARINGFileAction *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisableViewerInfo]) { + jsonDict[@".tag"] = @"disable_viewer_info"; + } else if ([valueObj isEditContents]) { + jsonDict[@".tag"] = @"edit_contents"; + } else if ([valueObj isEnableViewerInfo]) { + jsonDict[@".tag"] = @"enable_viewer_info"; + } else if ([valueObj isInviteViewer]) { + jsonDict[@".tag"] = @"invite_viewer"; + } else if ([valueObj isInviteViewerNoComment]) { + jsonDict[@".tag"] = @"invite_viewer_no_comment"; + } else if ([valueObj isInviteEditor]) { + jsonDict[@".tag"] = @"invite_editor"; + } else if ([valueObj isUnshare]) { + jsonDict[@".tag"] = @"unshare"; + } else if ([valueObj isRelinquishMembership]) { + jsonDict[@".tag"] = @"relinquish_membership"; + } else if ([valueObj isShareLink]) { + jsonDict[@".tag"] = @"share_link"; + } else if ([valueObj isCreateLink]) { + jsonDict[@".tag"] = @"create_link"; + } else if ([valueObj isCreateViewLink]) { + jsonDict[@".tag"] = @"create_view_link"; + } else if ([valueObj isCreateEditLink]) { + jsonDict[@".tag"] = @"create_edit_link"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSHARINGFileAction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disable_viewer_info"]) { + return [[DBSHARINGFileAction alloc] initWithDisableViewerInfo]; + } else if ([tag isEqualToString:@"edit_contents"]) { + return [[DBSHARINGFileAction alloc] initWithEditContents]; + } else if ([tag isEqualToString:@"enable_viewer_info"]) { + return [[DBSHARINGFileAction alloc] initWithEnableViewerInfo]; + } else if ([tag isEqualToString:@"invite_viewer"]) { + return [[DBSHARINGFileAction alloc] initWithInviteViewer]; + } else if ([tag isEqualToString:@"invite_viewer_no_comment"]) { + return [[DBSHARINGFileAction alloc] initWithInviteViewerNoComment]; + } else if ([tag isEqualToString:@"invite_editor"]) { + return [[DBSHARINGFileAction alloc] initWithInviteEditor]; + } else if ([tag isEqualToString:@"unshare"]) { + return [[DBSHARINGFileAction alloc] initWithUnshare]; + } else if ([tag isEqualToString:@"relinquish_membership"]) { + return [[DBSHARINGFileAction alloc] initWithRelinquishMembership]; + } else if ([tag isEqualToString:@"share_link"]) { + return [[DBSHARINGFileAction alloc] initWithShareLink]; + } else if ([tag isEqualToString:@"create_link"]) { + return [[DBSHARINGFileAction alloc] initWithCreateLink]; + } else if ([tag isEqualToString:@"create_view_link"]) { + return [[DBSHARINGFileAction alloc] initWithCreateViewLink]; + } else if ([tag isEqualToString:@"create_edit_link"]) { + return [[DBSHARINGFileAction alloc] initWithCreateEditLink]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGFileAction alloc] initWithOther]; + } else { + return [[DBSHARINGFileAction alloc] initWithOther]; + } +} + +@end + +#import "DBSHARINGFileErrorResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGFileErrorResult + +@synthesize fileNotFoundError = _fileNotFoundError; +@synthesize invalidFileActionError = _invalidFileActionError; +@synthesize permissionDeniedError = _permissionDeniedError; + +#pragma mark - Constructors + +- (instancetype)initWithFileNotFoundError:(NSString *)fileNotFoundError { + self = [super init]; + if (self) { + _tag = DBSHARINGFileErrorResultFileNotFoundError; + _fileNotFoundError = fileNotFoundError; + } + return self; +} + +- (instancetype)initWithInvalidFileActionError:(NSString *)invalidFileActionError { + self = [super init]; + if (self) { + _tag = DBSHARINGFileErrorResultInvalidFileActionError; + _invalidFileActionError = invalidFileActionError; + } + return self; +} + +- (instancetype)initWithPermissionDeniedError:(NSString *)permissionDeniedError { + self = [super init]; + if (self) { + _tag = DBSHARINGFileErrorResultPermissionDeniedError; + _permissionDeniedError = permissionDeniedError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGFileErrorResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)fileNotFoundError { + if (![self isFileNotFoundError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileErrorResultFileNotFoundError, but was %@.", [self tagName]]; + } + return _fileNotFoundError; +} + +- (NSString *)invalidFileActionError { + if (![self isInvalidFileActionError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileErrorResultInvalidFileActionError, but was %@.", [self tagName]]; + } + return _invalidFileActionError; +} + +- (NSString *)permissionDeniedError { + if (![self isPermissionDeniedError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileErrorResultPermissionDeniedError, but was %@.", [self tagName]]; + } + return _permissionDeniedError; +} + +#pragma mark - Tag state methods + +- (BOOL)isFileNotFoundError { + return _tag == DBSHARINGFileErrorResultFileNotFoundError; +} + +- (BOOL)isInvalidFileActionError { + return _tag == DBSHARINGFileErrorResultInvalidFileActionError; +} + +- (BOOL)isPermissionDeniedError { + return _tag == DBSHARINGFileErrorResultPermissionDeniedError; +} + +- (BOOL)isOther { + return _tag == DBSHARINGFileErrorResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGFileErrorResultFileNotFoundError: + return @"DBSHARINGFileErrorResultFileNotFoundError"; + case DBSHARINGFileErrorResultInvalidFileActionError: + return @"DBSHARINGFileErrorResultInvalidFileActionError"; + case DBSHARINGFileErrorResultPermissionDeniedError: + return @"DBSHARINGFileErrorResultPermissionDeniedError"; + case DBSHARINGFileErrorResultOther: + return @"DBSHARINGFileErrorResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileErrorResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileErrorResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGFileErrorResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGFileErrorResultFileNotFoundError: + result = prime * result + [self.fileNotFoundError hash]; + break; + case DBSHARINGFileErrorResultInvalidFileActionError: + result = prime * result + [self.invalidFileActionError hash]; + break; + case DBSHARINGFileErrorResultPermissionDeniedError: + result = prime * result + [self.permissionDeniedError hash]; + break; + case DBSHARINGFileErrorResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileErrorResult:other]; +} + +- (BOOL)isEqualToFileErrorResult:(DBSHARINGFileErrorResult *)aFileErrorResult { + if (self == aFileErrorResult) { + return YES; + } + if (self.tag != aFileErrorResult.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGFileErrorResultFileNotFoundError: + return [self.fileNotFoundError isEqual:aFileErrorResult.fileNotFoundError]; + case DBSHARINGFileErrorResultInvalidFileActionError: + return [self.invalidFileActionError isEqual:aFileErrorResult.invalidFileActionError]; + case DBSHARINGFileErrorResultPermissionDeniedError: + return [self.permissionDeniedError isEqual:aFileErrorResult.permissionDeniedError]; + case DBSHARINGFileErrorResultOther: + return [[self tagName] isEqual:[aFileErrorResult tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGFileErrorResultSerializer + ++ (NSDictionary *)serialize:(DBSHARINGFileErrorResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isFileNotFoundError]) { + jsonDict[@"file_not_found_error"] = valueObj.fileNotFoundError; + jsonDict[@".tag"] = @"file_not_found_error"; + } else if ([valueObj isInvalidFileActionError]) { + jsonDict[@"invalid_file_action_error"] = valueObj.invalidFileActionError; + jsonDict[@".tag"] = @"invalid_file_action_error"; + } else if ([valueObj isPermissionDeniedError]) { + jsonDict[@"permission_denied_error"] = valueObj.permissionDeniedError; + jsonDict[@".tag"] = @"permission_denied_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"file_not_found_error"]) { + NSString *fileNotFoundError = valueDict[@"file_not_found_error"]; + return [[DBSHARINGFileErrorResult alloc] initWithFileNotFoundError:fileNotFoundError]; + } else if ([tag isEqualToString:@"invalid_file_action_error"]) { + NSString *invalidFileActionError = valueDict[@"invalid_file_action_error"]; + return [[DBSHARINGFileErrorResult alloc] initWithInvalidFileActionError:invalidFileActionError]; + } else if ([tag isEqualToString:@"permission_denied_error"]) { + NSString *permissionDeniedError = valueDict[@"permission_denied_error"]; + return [[DBSHARINGFileErrorResult alloc] initWithPermissionDeniedError:permissionDeniedError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGFileErrorResult alloc] initWithOther]; + } else { + return [[DBSHARINGFileErrorResult alloc] initWithOther]; + } +} + +@end + +#import "DBSHARINGFileLinkMetadata.h" +#import "DBSHARINGFolderLinkMetadata.h" +#import "DBSHARINGLinkPermissions.h" +#import "DBSHARINGSharedLinkMetadata.h" +#import "DBSHARINGTeamMemberInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSTeam.h" + +#pragma mark - API Object + +@implementation DBSHARINGSharedLinkMetadata + +#pragma mark - Constructors + +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions + id_:(NSString *)id_ + expires:(NSDate *)expires + pathLower:(NSString *)pathLower + teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo + contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](linkPermissions); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + + self = [super init]; + if (self) { + _url = url; + _id_ = id_; + _name = name; + _expires = expires; + _pathLower = pathLower; + _linkPermissions = linkPermissions; + _teamMemberInfo = teamMemberInfo; + _contentOwnerTeamInfo = contentOwnerTeamInfo; + } + return self; +} + +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions { + return [self initWithUrl:url + name:name + linkPermissions:linkPermissions + id_:nil + expires:nil + pathLower:nil + teamMemberInfo:nil + contentOwnerTeamInfo:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSharedLinkMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSharedLinkMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGSharedLinkMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.url hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.linkPermissions hash]; + if (self.id_ != nil) { + result = prime * result + [self.id_ hash]; + } + if (self.expires != nil) { + result = prime * result + [self.expires hash]; + } + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.teamMemberInfo != nil) { + result = prime * result + [self.teamMemberInfo hash]; + } + if (self.contentOwnerTeamInfo != nil) { + result = prime * result + [self.contentOwnerTeamInfo hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkMetadata:other]; +} + +- (BOOL)isEqualToSharedLinkMetadata:(DBSHARINGSharedLinkMetadata *)aSharedLinkMetadata { + if (self == aSharedLinkMetadata) { + return YES; + } + if (![self.url isEqual:aSharedLinkMetadata.url]) { + return NO; + } + if (![self.name isEqual:aSharedLinkMetadata.name]) { + return NO; + } + if (![self.linkPermissions isEqual:aSharedLinkMetadata.linkPermissions]) { + return NO; + } + if (self.id_) { + if (![self.id_ isEqual:aSharedLinkMetadata.id_]) { + return NO; + } + } + if (self.expires) { + if (![self.expires isEqual:aSharedLinkMetadata.expires]) { + return NO; + } + } + if (self.pathLower) { + if (![self.pathLower isEqual:aSharedLinkMetadata.pathLower]) { + return NO; + } + } + if (self.teamMemberInfo) { + if (![self.teamMemberInfo isEqual:aSharedLinkMetadata.teamMemberInfo]) { + return NO; + } + } + if (self.contentOwnerTeamInfo) { + if (![self.contentOwnerTeamInfo isEqual:aSharedLinkMetadata.contentOwnerTeamInfo]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGSharedLinkMetadataSerializer + ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"url"] = valueObj.url; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; + if (valueObj.id_) { + jsonDict[@"id"] = valueObj.id_; + } + if (valueObj.expires) { + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.teamMemberInfo) { + jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; + } + if (valueObj.contentOwnerTeamInfo) { + jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; + } + + if ([valueObj isKindOfClass:[DBSHARINGFileLinkMetadata class]]) { + NSDictionary *subTypeFields = [DBSHARINGFileLinkMetadataSerializer serialize:(DBSHARINGFileLinkMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"file"; + } else if ([valueObj isKindOfClass:[DBSHARINGFolderLinkMetadata class]]) { + NSDictionary *subTypeFields = + [DBSHARINGFolderLinkMetadataSerializer serialize:(DBSHARINGFolderLinkMetadata *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"folder"; + } + + return jsonDict; +} + ++ (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"file"]) { + return [DBSHARINGFileLinkMetadataSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"folder"]) { + return [DBSHARINGFolderLinkMetadataSerializer deserialize:valueDict]; + } + + NSString *url = valueDict[@"url"]; + NSString *name = valueDict[@"name"]; + DBSHARINGLinkPermissions *linkPermissions = + [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; + NSString *id_ = valueDict[@"id"] ?: nil; + NSDate *expires = valueDict[@"expires"] + ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + DBSHARINGTeamMemberInfo *teamMemberInfo = + valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] + : nil; + DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] + ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] + : nil; return [[DBSHARINGSharedLinkMetadata alloc] initWithUrl:url name:name @@ -4461,93 +5519,778 @@ + (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)valueDict { @end -#import "DBSHARINGFileLinkMetadata.h" -#import "DBSHARINGLinkPermissions.h" -#import "DBSHARINGSharedLinkMetadata.h" -#import "DBSHARINGTeamMemberInfo.h" +#import "DBSHARINGFileLinkMetadata.h" +#import "DBSHARINGLinkPermissions.h" +#import "DBSHARINGSharedLinkMetadata.h" +#import "DBSHARINGTeamMemberInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSTeam.h" + +#pragma mark - API Object + +@implementation DBSHARINGFileLinkMetadata + +#pragma mark - Constructors + +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions + clientModified:(NSDate *)clientModified + serverModified:(NSDate *)serverModified + rev:(NSString *)rev + size:(NSNumber *)size + id_:(NSString *)id_ + expires:(NSDate *)expires + pathLower:(NSString *)pathLower + teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo + contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](linkPermissions); + [DBStoneValidators nonnullValidator:nil](clientModified); + [DBStoneValidators nonnullValidator:nil](serverModified); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); + [DBStoneValidators nonnullValidator:nil](size); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + + self = [super initWithUrl:url + name:name + linkPermissions:linkPermissions + id_:id_ + expires:expires + pathLower:pathLower + teamMemberInfo:teamMemberInfo + contentOwnerTeamInfo:contentOwnerTeamInfo]; + if (self) { + _clientModified = clientModified; + _serverModified = serverModified; + _rev = rev; + _size = size; + } + return self; +} + +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions + clientModified:(NSDate *)clientModified + serverModified:(NSDate *)serverModified + rev:(NSString *)rev + size:(NSNumber *)size { + return [self initWithUrl:url + name:name + linkPermissions:linkPermissions + clientModified:clientModified + serverModified:serverModified + rev:rev + size:size + id_:nil + expires:nil + pathLower:nil + teamMemberInfo:nil + contentOwnerTeamInfo:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileLinkMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileLinkMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGFileLinkMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.url hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.linkPermissions hash]; + result = prime * result + [self.clientModified hash]; + result = prime * result + [self.serverModified hash]; + result = prime * result + [self.rev hash]; + result = prime * result + [self.size hash]; + if (self.id_ != nil) { + result = prime * result + [self.id_ hash]; + } + if (self.expires != nil) { + result = prime * result + [self.expires hash]; + } + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.teamMemberInfo != nil) { + result = prime * result + [self.teamMemberInfo hash]; + } + if (self.contentOwnerTeamInfo != nil) { + result = prime * result + [self.contentOwnerTeamInfo hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLinkMetadata:other]; +} + +- (BOOL)isEqualToFileLinkMetadata:(DBSHARINGFileLinkMetadata *)aFileLinkMetadata { + if (self == aFileLinkMetadata) { + return YES; + } + if (![self.url isEqual:aFileLinkMetadata.url]) { + return NO; + } + if (![self.name isEqual:aFileLinkMetadata.name]) { + return NO; + } + if (![self.linkPermissions isEqual:aFileLinkMetadata.linkPermissions]) { + return NO; + } + if (![self.clientModified isEqual:aFileLinkMetadata.clientModified]) { + return NO; + } + if (![self.serverModified isEqual:aFileLinkMetadata.serverModified]) { + return NO; + } + if (![self.rev isEqual:aFileLinkMetadata.rev]) { + return NO; + } + if (![self.size isEqual:aFileLinkMetadata.size]) { + return NO; + } + if (self.id_) { + if (![self.id_ isEqual:aFileLinkMetadata.id_]) { + return NO; + } + } + if (self.expires) { + if (![self.expires isEqual:aFileLinkMetadata.expires]) { + return NO; + } + } + if (self.pathLower) { + if (![self.pathLower isEqual:aFileLinkMetadata.pathLower]) { + return NO; + } + } + if (self.teamMemberInfo) { + if (![self.teamMemberInfo isEqual:aFileLinkMetadata.teamMemberInfo]) { + return NO; + } + } + if (self.contentOwnerTeamInfo) { + if (![self.contentOwnerTeamInfo isEqual:aFileLinkMetadata.contentOwnerTeamInfo]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGFileLinkMetadataSerializer + ++ (NSDictionary *)serialize:(DBSHARINGFileLinkMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"url"] = valueObj.url; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; + jsonDict[@"client_modified"] = + [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"server_modified"] = + [DBNSDateSerializer serialize:valueObj.serverModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"rev"] = valueObj.rev; + jsonDict[@"size"] = valueObj.size; + if (valueObj.id_) { + jsonDict[@"id"] = valueObj.id_; + } + if (valueObj.expires) { + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.teamMemberInfo) { + jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; + } + if (valueObj.contentOwnerTeamInfo) { + jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; + } + + return jsonDict; +} + ++ (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *name = valueDict[@"name"]; + DBSHARINGLinkPermissions *linkPermissions = + [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; + NSDate *clientModified = + [DBNSDateSerializer deserialize:valueDict[@"client_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *serverModified = + [DBNSDateSerializer deserialize:valueDict[@"server_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSString *rev = valueDict[@"rev"]; + NSNumber *size = valueDict[@"size"]; + NSString *id_ = valueDict[@"id"] ?: nil; + NSDate *expires = valueDict[@"expires"] + ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + DBSHARINGTeamMemberInfo *teamMemberInfo = + valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] + : nil; + DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] + ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] + : nil; + + return [[DBSHARINGFileLinkMetadata alloc] initWithUrl:url + name:name + linkPermissions:linkPermissions + clientModified:clientModified + serverModified:serverModified + rev:rev + size:size + id_:id_ + expires:expires + pathLower:pathLower + teamMemberInfo:teamMemberInfo + contentOwnerTeamInfo:contentOwnerTeamInfo]; +} + +@end + +#import "DBSHARINGFileMemberActionError.h" +#import "DBSHARINGMemberAccessLevelResult.h" +#import "DBSHARINGSharingFileAccessError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGFileMemberActionError + +@synthesize accessError = _accessError; +@synthesize noExplicitAccess = _noExplicitAccess; + +#pragma mark - Constructors + +- (instancetype)initWithInvalidMember { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionErrorInvalidMember; + } + return self; +} + +- (instancetype)initWithNoPermission { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionErrorNoPermission; + } + return self; +} + +- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionErrorAccessError; + _accessError = accessError; + } + return self; +} + +- (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionErrorNoExplicitAccess; + _noExplicitAccess = noExplicitAccess; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSHARINGSharingFileAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileMemberActionErrorAccessError, but was %@.", [self tagName]]; + } + return _accessError; +} + +- (DBSHARINGMemberAccessLevelResult *)noExplicitAccess { + if (![self isNoExplicitAccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileMemberActionErrorNoExplicitAccess, but was %@.", [self tagName]]; + } + return _noExplicitAccess; +} + +#pragma mark - Tag state methods + +- (BOOL)isInvalidMember { + return _tag == DBSHARINGFileMemberActionErrorInvalidMember; +} + +- (BOOL)isNoPermission { + return _tag == DBSHARINGFileMemberActionErrorNoPermission; +} + +- (BOOL)isAccessError { + return _tag == DBSHARINGFileMemberActionErrorAccessError; +} + +- (BOOL)isNoExplicitAccess { + return _tag == DBSHARINGFileMemberActionErrorNoExplicitAccess; +} + +- (BOOL)isOther { + return _tag == DBSHARINGFileMemberActionErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGFileMemberActionErrorInvalidMember: + return @"DBSHARINGFileMemberActionErrorInvalidMember"; + case DBSHARINGFileMemberActionErrorNoPermission: + return @"DBSHARINGFileMemberActionErrorNoPermission"; + case DBSHARINGFileMemberActionErrorAccessError: + return @"DBSHARINGFileMemberActionErrorAccessError"; + case DBSHARINGFileMemberActionErrorNoExplicitAccess: + return @"DBSHARINGFileMemberActionErrorNoExplicitAccess"; + case DBSHARINGFileMemberActionErrorOther: + return @"DBSHARINGFileMemberActionErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileMemberActionErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileMemberActionErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGFileMemberActionErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGFileMemberActionErrorInvalidMember: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileMemberActionErrorNoPermission: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFileMemberActionErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBSHARINGFileMemberActionErrorNoExplicitAccess: + result = prime * result + [self.noExplicitAccess hash]; + break; + case DBSHARINGFileMemberActionErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileMemberActionError:other]; +} + +- (BOOL)isEqualToFileMemberActionError:(DBSHARINGFileMemberActionError *)aFileMemberActionError { + if (self == aFileMemberActionError) { + return YES; + } + if (self.tag != aFileMemberActionError.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGFileMemberActionErrorInvalidMember: + return [[self tagName] isEqual:[aFileMemberActionError tagName]]; + case DBSHARINGFileMemberActionErrorNoPermission: + return [[self tagName] isEqual:[aFileMemberActionError tagName]]; + case DBSHARINGFileMemberActionErrorAccessError: + return [self.accessError isEqual:aFileMemberActionError.accessError]; + case DBSHARINGFileMemberActionErrorNoExplicitAccess: + return [self.noExplicitAccess isEqual:aFileMemberActionError.noExplicitAccess]; + case DBSHARINGFileMemberActionErrorOther: + return [[self tagName] isEqual:[aFileMemberActionError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGFileMemberActionErrorSerializer + ++ (NSDictionary *)serialize:(DBSHARINGFileMemberActionError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInvalidMember]) { + jsonDict[@".tag"] = @"invalid_member"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; + } else if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = + [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isNoExplicitAccess]) { + [jsonDict + addEntriesFromDictionary:[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess]]; + jsonDict[@".tag"] = @"no_explicit_access"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"invalid_member"]) { + return [[DBSHARINGFileMemberActionError alloc] initWithInvalidMember]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBSHARINGFileMemberActionError alloc] initWithNoPermission]; + } else if ([tag isEqualToString:@"access_error"]) { + DBSHARINGSharingFileAccessError *accessError = + [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBSHARINGFileMemberActionError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"no_explicit_access"]) { + DBSHARINGMemberAccessLevelResult *noExplicitAccess = + [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; + return [[DBSHARINGFileMemberActionError alloc] initWithNoExplicitAccess:noExplicitAccess]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGFileMemberActionError alloc] initWithOther]; + } else { + return [[DBSHARINGFileMemberActionError alloc] initWithOther]; + } +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGFileMemberActionError.h" +#import "DBSHARINGFileMemberActionIndividualResult.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGFileMemberActionIndividualResult + +@synthesize success = _success; +@synthesize memberError = _memberError; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBSHARINGAccessLevel *)success { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionIndividualResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError { + self = [super init]; + if (self) { + _tag = DBSHARINGFileMemberActionIndividualResultMemberError; + _memberError = memberError; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSHARINGAccessLevel *)success { + if (![self isSuccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileMemberActionIndividualResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBSHARINGFileMemberActionError *)memberError { + if (![self isMemberError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileMemberActionIndividualResultMemberError, but was %@.", + [self tagName]]; + } + return _memberError; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBSHARINGFileMemberActionIndividualResultSuccess; +} + +- (BOOL)isMemberError { + return _tag == DBSHARINGFileMemberActionIndividualResultMemberError; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGFileMemberActionIndividualResultSuccess: + return @"DBSHARINGFileMemberActionIndividualResultSuccess"; + case DBSHARINGFileMemberActionIndividualResultMemberError: + return @"DBSHARINGFileMemberActionIndividualResultMemberError"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileMemberActionIndividualResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileMemberActionIndividualResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGFileMemberActionIndividualResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGFileMemberActionIndividualResultSuccess: + if (self.success != nil) { + result = prime * result + [self.success hash]; + } + break; + case DBSHARINGFileMemberActionIndividualResultMemberError: + result = prime * result + [self.memberError hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileMemberActionIndividualResult:other]; +} + +- (BOOL)isEqualToFileMemberActionIndividualResult: + (DBSHARINGFileMemberActionIndividualResult *)aFileMemberActionIndividualResult { + if (self == aFileMemberActionIndividualResult) { + return YES; + } + if (self.tag != aFileMemberActionIndividualResult.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGFileMemberActionIndividualResultSuccess: + if (self.success) { + return [self.success isEqual:aFileMemberActionIndividualResult.success]; + } + case DBSHARINGFileMemberActionIndividualResultMemberError: + return [self.memberError isEqual:aFileMemberActionIndividualResult.memberError]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGFileMemberActionIndividualResultSerializer + ++ (NSDictionary *)serialize:(DBSHARINGFileMemberActionIndividualResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + if (valueObj.success) { + jsonDict[@"success"] = [[DBSHARINGAccessLevelSerializer serialize:valueObj.success] mutableCopy]; + } + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isMemberError]) { + jsonDict[@"member_error"] = [[DBSHARINGFileMemberActionErrorSerializer serialize:valueObj.memberError] mutableCopy]; + jsonDict[@".tag"] = @"member_error"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBSHARINGAccessLevel *success = + valueDict[@"success"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"success"]] : nil; + return [[DBSHARINGFileMemberActionIndividualResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"member_error"]) { + DBSHARINGFileMemberActionError *memberError = + [DBSHARINGFileMemberActionErrorSerializer deserialize:valueDict[@"member_error"]]; + return [[DBSHARINGFileMemberActionIndividualResult alloc] initWithMemberError:memberError]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBSHARINGFileMemberActionIndividualResult.h" +#import "DBSHARINGFileMemberActionResult.h" +#import "DBSHARINGMemberSelector.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBUSERSTeam.h" #pragma mark - API Object -@implementation DBSHARINGFileLinkMetadata +@implementation DBSHARINGFileMemberActionResult #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions - clientModified:(NSDate *)clientModified - serverModified:(NSDate *)serverModified - rev:(NSString *)rev - size:(NSNumber *)size - id_:(NSString *)id_ - expires:(NSDate *)expires - pathLower:(NSString *)pathLower - teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo - contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](linkPermissions); - [DBStoneValidators nonnullValidator:nil](clientModified); - [DBStoneValidators nonnullValidator:nil](serverModified); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](rev); - [DBStoneValidators nonnullValidator:nil](size); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); +- (instancetype)initWithMember:(DBSHARINGMemberSelector *)member + result:(DBSHARINGFileMemberActionIndividualResult *)result + sckeySha1:(NSString *)sckeySha1 + invitationSignature:(NSArray *)invitationSignature { + [DBStoneValidators nonnullValidator:nil](member); + [DBStoneValidators nonnullValidator:nil](result); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](invitationSignature); - self = [super initWithUrl:url - name:name - linkPermissions:linkPermissions - id_:id_ - expires:expires - pathLower:pathLower - teamMemberInfo:teamMemberInfo - contentOwnerTeamInfo:contentOwnerTeamInfo]; + self = [super init]; if (self) { - _clientModified = clientModified; - _serverModified = serverModified; - _rev = rev; - _size = size; + _member = member; + _result = result; + _sckeySha1 = sckeySha1; + _invitationSignature = invitationSignature; } return self; } -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions - clientModified:(NSDate *)clientModified - serverModified:(NSDate *)serverModified - rev:(NSString *)rev - size:(NSNumber *)size { - return [self initWithUrl:url - name:name - linkPermissions:linkPermissions - clientModified:clientModified - serverModified:serverModified - rev:rev - size:size - id_:nil - expires:nil - pathLower:nil - teamMemberInfo:nil - contentOwnerTeamInfo:nil]; +- (instancetype)initWithMember:(DBSHARINGMemberSelector *)member + result:(DBSHARINGFileMemberActionIndividualResult *)result { + return [self initWithMember:member result:result sckeySha1:nil invitationSignature:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileMemberActionResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileMemberActionResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFileMemberActionResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4564,27 +6307,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.linkPermissions hash]; - result = prime * result + [self.clientModified hash]; - result = prime * result + [self.serverModified hash]; - result = prime * result + [self.rev hash]; - result = prime * result + [self.size hash]; - if (self.id_ != nil) { - result = prime * result + [self.id_ hash]; - } - if (self.expires != nil) { - result = prime * result + [self.expires hash]; - } - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.teamMemberInfo != nil) { - result = prime * result + [self.teamMemberInfo hash]; + result = prime * result + [self.member hash]; + result = prime * result + [self.result hash]; + if (self.sckeySha1 != nil) { + result = prime * result + [self.sckeySha1 hash]; } - if (self.contentOwnerTeamInfo != nil) { - result = prime * result + [self.contentOwnerTeamInfo hash]; + if (self.invitationSignature != nil) { + result = prime * result + [self.invitationSignature hash]; } return prime * result; @@ -4599,56 +6328,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileLinkMetadata:other]; + return [self isEqualToFileMemberActionResult:other]; } -- (BOOL)isEqualToFileLinkMetadata:(DBSHARINGFileLinkMetadata *)aFileLinkMetadata { - if (self == aFileLinkMetadata) { +- (BOOL)isEqualToFileMemberActionResult:(DBSHARINGFileMemberActionResult *)aFileMemberActionResult { + if (self == aFileMemberActionResult) { return YES; } - if (![self.url isEqual:aFileLinkMetadata.url]) { - return NO; - } - if (![self.name isEqual:aFileLinkMetadata.name]) { - return NO; - } - if (![self.linkPermissions isEqual:aFileLinkMetadata.linkPermissions]) { - return NO; - } - if (![self.clientModified isEqual:aFileLinkMetadata.clientModified]) { - return NO; - } - if (![self.serverModified isEqual:aFileLinkMetadata.serverModified]) { - return NO; - } - if (![self.rev isEqual:aFileLinkMetadata.rev]) { + if (![self.member isEqual:aFileMemberActionResult.member]) { return NO; } - if (![self.size isEqual:aFileLinkMetadata.size]) { + if (![self.result isEqual:aFileMemberActionResult.result]) { return NO; } - if (self.id_) { - if (![self.id_ isEqual:aFileLinkMetadata.id_]) { - return NO; - } - } - if (self.expires) { - if (![self.expires isEqual:aFileLinkMetadata.expires]) { - return NO; - } - } - if (self.pathLower) { - if (![self.pathLower isEqual:aFileLinkMetadata.pathLower]) { - return NO; - } - } - if (self.teamMemberInfo) { - if (![self.teamMemberInfo isEqual:aFileLinkMetadata.teamMemberInfo]) { + if (self.sckeySha1) { + if (![self.sckeySha1 isEqual:aFileMemberActionResult.sckeySha1]) { return NO; } } - if (self.contentOwnerTeamInfo) { - if (![self.contentOwnerTeamInfo isEqual:aFileLinkMetadata.contentOwnerTeamInfo]) { + if (self.invitationSignature) { + if (![self.invitationSignature isEqual:aFileMemberActionResult.invitationSignature]) { return NO; } } @@ -4659,123 +6358,75 @@ - (BOOL)isEqualToFileLinkMetadata:(DBSHARINGFileLinkMetadata *)aFileLinkMetadata #pragma mark - Serializer Object -@implementation DBSHARINGFileLinkMetadataSerializer +@implementation DBSHARINGFileMemberActionResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; - jsonDict[@"client_modified"] = - [DBNSDateSerializer serialize:valueObj.clientModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"server_modified"] = - [DBNSDateSerializer serialize:valueObj.serverModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"rev"] = valueObj.rev; - jsonDict[@"size"] = valueObj.size; - if (valueObj.id_) { - jsonDict[@"id"] = valueObj.id_; - } - if (valueObj.expires) { - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.teamMemberInfo) { - jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; - } - if (valueObj.contentOwnerTeamInfo) { - jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; - } - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; - NSString *name = valueDict[@"name"]; - DBSHARINGLinkPermissions *linkPermissions = - [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; - NSDate *clientModified = - [DBNSDateSerializer deserialize:valueDict[@"client_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSDate *serverModified = - [DBNSDateSerializer deserialize:valueDict[@"server_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSString *rev = valueDict[@"rev"]; - NSNumber *size = valueDict[@"size"]; - NSString *id_ = valueDict[@"id"] ?: nil; - NSDate *expires = valueDict[@"expires"] - ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - DBSHARINGTeamMemberInfo *teamMemberInfo = - valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] - : nil; - DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] - ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] - : nil; - - return [[DBSHARINGFileLinkMetadata alloc] initWithUrl:url - name:name - linkPermissions:linkPermissions - clientModified:clientModified - serverModified:serverModified - rev:rev - size:size - id_:id_ - expires:expires - pathLower:pathLower - teamMemberInfo:teamMemberInfo - contentOwnerTeamInfo:contentOwnerTeamInfo]; + jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; + jsonDict[@"result"] = [DBSHARINGFileMemberActionIndividualResultSerializer serialize:valueObj.result]; + if (valueObj.sckeySha1) { + jsonDict[@"sckey_sha1"] = valueObj.sckeySha1; + } + if (valueObj.invitationSignature) { + jsonDict[@"invitation_signature"] = [DBArraySerializer serialize:valueObj.invitationSignature + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)valueDict { + DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; + DBSHARINGFileMemberActionIndividualResult *result = + [DBSHARINGFileMemberActionIndividualResultSerializer deserialize:valueDict[@"result"]]; + NSString *sckeySha1 = valueDict[@"sckey_sha1"] ?: nil; + NSArray *invitationSignature = valueDict[@"invitation_signature"] + ? [DBArraySerializer deserialize:valueDict[@"invitation_signature"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBSHARINGFileMemberActionResult alloc] initWithMember:member + result:result + sckeySha1:sckeySha1 + invitationSignature:invitationSignature]; } @end #import "DBSHARINGFileMemberActionError.h" +#import "DBSHARINGFileMemberRemoveActionResult.h" #import "DBSHARINGMemberAccessLevelResult.h" -#import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFileMemberActionError +@implementation DBSHARINGFileMemberRemoveActionResult -@synthesize accessError = _accessError; -@synthesize noExplicitAccess = _noExplicitAccess; +@synthesize success = _success; +@synthesize memberError = _memberError; #pragma mark - Constructors -- (instancetype)initWithInvalidMember { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberActionErrorInvalidMember; - } - return self; -} - -- (instancetype)initWithNoPermission { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberActionErrorNoPermission; - } - return self; -} - -- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { +- (instancetype)initWithSuccess:(DBSHARINGMemberAccessLevelResult *)success { self = [super init]; if (self) { - _tag = DBSHARINGFileMemberActionErrorAccessError; - _accessError = accessError; + _tag = DBSHARINGFileMemberRemoveActionResultSuccess; + _success = success; } return self; } -- (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noExplicitAccess { +- (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError { self = [super init]; if (self) { - _tag = DBSHARINGFileMemberActionErrorNoExplicitAccess; - _noExplicitAccess = noExplicitAccess; + _tag = DBSHARINGFileMemberRemoveActionResultMemberError; + _memberError = memberError; } return self; } @@ -4783,64 +6434,53 @@ - (instancetype)initWithNoExplicitAccess:(DBSHARINGMemberAccessLevelResult *)noE - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGFileMemberActionErrorOther; + _tag = DBSHARINGFileMemberRemoveActionResultOther; } return self; } #pragma mark - Instance field accessors -- (DBSHARINGSharingFileAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberActionErrorAccessError, but was %@.", [self tagName]]; +- (DBSHARINGMemberAccessLevelResult *)success { + if (![self isSuccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultSuccess, but was %@.", [self tagName]]; } - return _accessError; + return _success; } -- (DBSHARINGMemberAccessLevelResult *)noExplicitAccess { - if (![self isNoExplicitAccess]) { +- (DBSHARINGFileMemberActionError *)memberError { + if (![self isMemberError]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberActionErrorNoExplicitAccess, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultMemberError, but was %@.", [self tagName]]; } - return _noExplicitAccess; + return _memberError; } #pragma mark - Tag state methods -- (BOOL)isInvalidMember { - return _tag == DBSHARINGFileMemberActionErrorInvalidMember; -} - -- (BOOL)isNoPermission { - return _tag == DBSHARINGFileMemberActionErrorNoPermission; -} - -- (BOOL)isAccessError { - return _tag == DBSHARINGFileMemberActionErrorAccessError; +- (BOOL)isSuccess { + return _tag == DBSHARINGFileMemberRemoveActionResultSuccess; } -- (BOOL)isNoExplicitAccess { - return _tag == DBSHARINGFileMemberActionErrorNoExplicitAccess; +- (BOOL)isMemberError { + return _tag == DBSHARINGFileMemberRemoveActionResultMemberError; } - (BOOL)isOther { - return _tag == DBSHARINGFileMemberActionErrorOther; + return _tag == DBSHARINGFileMemberRemoveActionResultOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGFileMemberActionErrorInvalidMember: - return @"DBSHARINGFileMemberActionErrorInvalidMember"; - case DBSHARINGFileMemberActionErrorNoPermission: - return @"DBSHARINGFileMemberActionErrorNoPermission"; - case DBSHARINGFileMemberActionErrorAccessError: - return @"DBSHARINGFileMemberActionErrorAccessError"; - case DBSHARINGFileMemberActionErrorNoExplicitAccess: - return @"DBSHARINGFileMemberActionErrorNoExplicitAccess"; - case DBSHARINGFileMemberActionErrorOther: - return @"DBSHARINGFileMemberActionErrorOther"; + case DBSHARINGFileMemberRemoveActionResultSuccess: + return @"DBSHARINGFileMemberRemoveActionResultSuccess"; + case DBSHARINGFileMemberRemoveActionResultMemberError: + return @"DBSHARINGFileMemberRemoveActionResultMemberError"; + case DBSHARINGFileMemberRemoveActionResultOther: + return @"DBSHARINGFileMemberRemoveActionResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -4848,18 +6488,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileMemberActionErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFileMemberRemoveActionResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileMemberActionErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFileMemberRemoveActionResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileMemberActionErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFileMemberRemoveActionResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4877,16 +6517,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGFileMemberActionErrorInvalidMember: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileMemberActionErrorNoPermission: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFileMemberActionErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBSHARINGFileMemberActionErrorNoExplicitAccess: - result = prime * result + [self.noExplicitAccess hash]; - case DBSHARINGFileMemberActionErrorOther: + case DBSHARINGFileMemberRemoveActionResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBSHARINGFileMemberRemoveActionResultMemberError: + result = prime * result + [self.memberError hash]; + break; + case DBSHARINGFileMemberRemoveActionResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4901,27 +6540,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMemberActionError:other]; + return [self isEqualToFileMemberRemoveActionResult:other]; } -- (BOOL)isEqualToFileMemberActionError:(DBSHARINGFileMemberActionError *)aFileMemberActionError { - if (self == aFileMemberActionError) { +- (BOOL)isEqualToFileMemberRemoveActionResult:(DBSHARINGFileMemberRemoveActionResult *)aFileMemberRemoveActionResult { + if (self == aFileMemberRemoveActionResult) { return YES; } - if (self.tag != aFileMemberActionError.tag) { + if (self.tag != aFileMemberRemoveActionResult.tag) { return NO; } switch (_tag) { - case DBSHARINGFileMemberActionErrorInvalidMember: - return [[self tagName] isEqual:[aFileMemberActionError tagName]]; - case DBSHARINGFileMemberActionErrorNoPermission: - return [[self tagName] isEqual:[aFileMemberActionError tagName]]; - case DBSHARINGFileMemberActionErrorAccessError: - return [self.accessError isEqual:aFileMemberActionError.accessError]; - case DBSHARINGFileMemberActionErrorNoExplicitAccess: - return [self.noExplicitAccess isEqual:aFileMemberActionError.noExplicitAccess]; - case DBSHARINGFileMemberActionErrorOther: - return [[self tagName] isEqual:[aFileMemberActionError tagName]]; + case DBSHARINGFileMemberRemoveActionResultSuccess: + return [self.success isEqual:aFileMemberRemoveActionResult.success]; + case DBSHARINGFileMemberRemoveActionResultMemberError: + return [self.memberError isEqual:aFileMemberRemoveActionResult.memberError]; + case DBSHARINGFileMemberRemoveActionResultOther: + return [[self tagName] isEqual:[aFileMemberRemoveActionResult tagName]]; } return YES; } @@ -4930,144 +6565,90 @@ - (BOOL)isEqualToFileMemberActionError:(DBSHARINGFileMemberActionError *)aFileMe #pragma mark - Serializer Object -@implementation DBSHARINGFileMemberActionErrorSerializer +@implementation DBSHARINGFileMemberRemoveActionResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileMemberActionError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidMember]) { - jsonDict[@".tag"] = @"invalid_member"; - } else if ([valueObj isNoPermission]) { - jsonDict[@".tag"] = @"no_permission"; - } else if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = - [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isNoExplicitAccess]) { - jsonDict[@"no_explicit_access"] = - [[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess] mutableCopy]; - jsonDict[@".tag"] = @"no_explicit_access"; + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isMemberError]) { + jsonDict[@"member_error"] = [[DBSHARINGFileMemberActionErrorSerializer serialize:valueObj.memberError] mutableCopy]; + jsonDict[@".tag"] = @"member_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"invalid_member"]) { - return [[DBSHARINGFileMemberActionError alloc] initWithInvalidMember]; - } else if ([tag isEqualToString:@"no_permission"]) { - return [[DBSHARINGFileMemberActionError alloc] initWithNoPermission]; - } else if ([tag isEqualToString:@"access_error"]) { - DBSHARINGSharingFileAccessError *accessError = - [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBSHARINGFileMemberActionError alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"no_explicit_access"]) { - DBSHARINGMemberAccessLevelResult *noExplicitAccess = - [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; - return [[DBSHARINGFileMemberActionError alloc] initWithNoExplicitAccess:noExplicitAccess]; + if ([tag isEqualToString:@"success"]) { + DBSHARINGMemberAccessLevelResult *success = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; + return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"member_error"]) { + DBSHARINGFileMemberActionError *memberError = + [DBSHARINGFileMemberActionErrorSerializer deserialize:valueDict[@"member_error"]]; + return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithMemberError:memberError]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGFileMemberActionError alloc] initWithOther]; + return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithOther]; } else { - return [[DBSHARINGFileMemberActionError alloc] initWithOther]; + return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithOther]; } } @end -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGFileMemberActionError.h" -#import "DBSHARINGFileMemberActionIndividualResult.h" +#import "DBSHARINGFileAction.h" +#import "DBSHARINGFilePermission.h" +#import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFileMemberActionIndividualResult - -@synthesize success = _success; -@synthesize memberError = _memberError; +@implementation DBSHARINGFilePermission #pragma mark - Constructors -- (instancetype)initWithSuccess:(DBSHARINGAccessLevel *)success { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberActionIndividualResultSuccess; - _success = success; - } - return self; -} - -- (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberActionIndividualResultMemberError; - _memberError = memberError; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBSHARINGAccessLevel *)success { - if (![self isSuccess]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberActionIndividualResultSuccess, but was %@.", [self tagName]]; - } - return _success; -} - -- (DBSHARINGFileMemberActionError *)memberError { - if (![self isMemberError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberActionIndividualResultMemberError, but was %@.", - [self tagName]]; - } - return _memberError; -} - -#pragma mark - Tag state methods - -- (BOOL)isSuccess { - return _tag == DBSHARINGFileMemberActionIndividualResultSuccess; -} - -- (BOOL)isMemberError { - return _tag == DBSHARINGFileMemberActionIndividualResultMemberError; -} +- (instancetype)initWithAction:(DBSHARINGFileAction *)action + allow:(NSNumber *)allow + reason:(DBSHARINGPermissionDeniedReason *)reason { + [DBStoneValidators nonnullValidator:nil](action); + [DBStoneValidators nonnullValidator:nil](allow); -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGFileMemberActionIndividualResultSuccess: - return @"DBSHARINGFileMemberActionIndividualResultSuccess"; - case DBSHARINGFileMemberActionIndividualResultMemberError: - return @"DBSHARINGFileMemberActionIndividualResultMemberError"; + self = [super init]; + if (self) { + _action = action; + _allow = allow; + _reason = reason; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithAction:(DBSHARINGFileAction *)action allow:(NSNumber *)allow { + return [self initWithAction:action allow:allow reason:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileMemberActionIndividualResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFilePermissionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileMemberActionIndividualResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFilePermissionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileMemberActionIndividualResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFilePermissionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5084,13 +6665,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGFileMemberActionIndividualResultSuccess: - if (self.success != nil) { - result = prime * result + [self.success hash]; - } - case DBSHARINGFileMemberActionIndividualResultMemberError: - result = prime * result + [self.memberError hash]; + result = prime * result + [self.action hash]; + result = prime * result + [self.allow hash]; + if (self.reason != nil) { + result = prime * result + [self.reason hash]; } return prime * result; @@ -5105,24 +6683,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMemberActionIndividualResult:other]; + return [self isEqualToFilePermission:other]; } -- (BOOL)isEqualToFileMemberActionIndividualResult: - (DBSHARINGFileMemberActionIndividualResult *)aFileMemberActionIndividualResult { - if (self == aFileMemberActionIndividualResult) { +- (BOOL)isEqualToFilePermission:(DBSHARINGFilePermission *)aFilePermission { + if (self == aFilePermission) { return YES; } - if (self.tag != aFileMemberActionIndividualResult.tag) { + if (![self.action isEqual:aFilePermission.action]) { return NO; } - switch (_tag) { - case DBSHARINGFileMemberActionIndividualResultSuccess: - if (self.success) { - return [self.success isEqual:aFileMemberActionIndividualResult.success]; + if (![self.allow isEqual:aFilePermission.allow]) { + return NO; + } + if (self.reason) { + if (![self.reason isEqual:aFilePermission.reason]) { + return NO; } - case DBSHARINGFileMemberActionIndividualResultMemberError: - return [self.memberError isEqual:aFileMemberActionIndividualResult.memberError]; } return YES; } @@ -5131,88 +6708,276 @@ - (BOOL)isEqualToFileMemberActionIndividualResult: #pragma mark - Serializer Object -@implementation DBSHARINGFileMemberActionIndividualResultSerializer +@implementation DBSHARINGFilePermissionSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileMemberActionIndividualResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFilePermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - if (valueObj.success) { - jsonDict = [[DBSHARINGAccessLevelSerializer serialize:valueObj.success] mutableCopy]; - } - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isMemberError]) { - jsonDict[@"member_error"] = [[DBSHARINGFileMemberActionErrorSerializer serialize:valueObj.memberError] mutableCopy]; - jsonDict[@".tag"] = @"member_error"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@"action"] = [DBSHARINGFileActionSerializer serialize:valueObj.action]; + jsonDict[@"allow"] = valueObj.allow; + if (valueObj.reason) { + jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGFilePermission *)deserialize:(NSDictionary *)valueDict { + DBSHARINGFileAction *action = [DBSHARINGFileActionSerializer deserialize:valueDict[@"action"]]; + NSNumber *allow = valueDict[@"allow"]; + DBSHARINGPermissionDeniedReason *reason = + valueDict[@"reason"] ? [DBSHARINGPermissionDeniedReasonSerializer deserialize:valueDict[@"reason"]] : nil; - if ([tag isEqualToString:@"success"]) { - DBSHARINGAccessLevel *success = - valueDict[@"success"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"success"]] : nil; - return [[DBSHARINGFileMemberActionIndividualResult alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"member_error"]) { - DBSHARINGFileMemberActionError *memberError = - [DBSHARINGFileMemberActionErrorSerializer deserialize:valueDict[@"member_error"]]; - return [[DBSHARINGFileMemberActionIndividualResult alloc] initWithMemberError:memberError]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBSHARINGFilePermission alloc] initWithAction:action allow:allow reason:reason]; } @end -#import "DBSHARINGFileMemberActionIndividualResult.h" -#import "DBSHARINGFileMemberActionResult.h" -#import "DBSHARINGMemberSelector.h" +#import "DBSHARINGFolderAction.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#pragma mark - API Object +#pragma mark - API Object + +@implementation DBSHARINGFolderAction + +#pragma mark - Constructors + +- (instancetype)initWithChangeOptions { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionChangeOptions; + } + return self; +} + +- (instancetype)initWithDisableViewerInfo { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionDisableViewerInfo; + } + return self; +} + +- (instancetype)initWithEditContents { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionEditContents; + } + return self; +} + +- (instancetype)initWithEnableViewerInfo { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionEnableViewerInfo; + } + return self; +} + +- (instancetype)initWithInviteEditor { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionInviteEditor; + } + return self; +} + +- (instancetype)initWithInviteViewer { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionInviteViewer; + } + return self; +} + +- (instancetype)initWithInviteViewerNoComment { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionInviteViewerNoComment; + } + return self; +} + +- (instancetype)initWithRelinquishMembership { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionRelinquishMembership; + } + return self; +} + +- (instancetype)initWithUnmount { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionUnmount; + } + return self; +} + +- (instancetype)initWithUnshare { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionUnshare; + } + return self; +} + +- (instancetype)initWithLeaveACopy { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionLeaveACopy; + } + return self; +} + +- (instancetype)initWithShareLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionShareLink; + } + return self; +} + +- (instancetype)initWithCreateLink { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionCreateLink; + } + return self; +} + +- (instancetype)initWithSetAccessInheritance { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionSetAccessInheritance; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGFolderActionOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isChangeOptions { + return _tag == DBSHARINGFolderActionChangeOptions; +} + +- (BOOL)isDisableViewerInfo { + return _tag == DBSHARINGFolderActionDisableViewerInfo; +} + +- (BOOL)isEditContents { + return _tag == DBSHARINGFolderActionEditContents; +} + +- (BOOL)isEnableViewerInfo { + return _tag == DBSHARINGFolderActionEnableViewerInfo; +} + +- (BOOL)isInviteEditor { + return _tag == DBSHARINGFolderActionInviteEditor; +} + +- (BOOL)isInviteViewer { + return _tag == DBSHARINGFolderActionInviteViewer; +} + +- (BOOL)isInviteViewerNoComment { + return _tag == DBSHARINGFolderActionInviteViewerNoComment; +} + +- (BOOL)isRelinquishMembership { + return _tag == DBSHARINGFolderActionRelinquishMembership; +} + +- (BOOL)isUnmount { + return _tag == DBSHARINGFolderActionUnmount; +} + +- (BOOL)isUnshare { + return _tag == DBSHARINGFolderActionUnshare; +} + +- (BOOL)isLeaveACopy { + return _tag == DBSHARINGFolderActionLeaveACopy; +} -@implementation DBSHARINGFileMemberActionResult +- (BOOL)isShareLink { + return _tag == DBSHARINGFolderActionShareLink; +} -#pragma mark - Constructors +- (BOOL)isCreateLink { + return _tag == DBSHARINGFolderActionCreateLink; +} -- (instancetype)initWithMember:(DBSHARINGMemberSelector *)member - result:(DBSHARINGFileMemberActionIndividualResult *)result { - [DBStoneValidators nonnullValidator:nil](member); - [DBStoneValidators nonnullValidator:nil](result); +- (BOOL)isSetAccessInheritance { + return _tag == DBSHARINGFolderActionSetAccessInheritance; +} - self = [super init]; - if (self) { - _member = member; - _result = result; +- (BOOL)isOther { + return _tag == DBSHARINGFolderActionOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGFolderActionChangeOptions: + return @"DBSHARINGFolderActionChangeOptions"; + case DBSHARINGFolderActionDisableViewerInfo: + return @"DBSHARINGFolderActionDisableViewerInfo"; + case DBSHARINGFolderActionEditContents: + return @"DBSHARINGFolderActionEditContents"; + case DBSHARINGFolderActionEnableViewerInfo: + return @"DBSHARINGFolderActionEnableViewerInfo"; + case DBSHARINGFolderActionInviteEditor: + return @"DBSHARINGFolderActionInviteEditor"; + case DBSHARINGFolderActionInviteViewer: + return @"DBSHARINGFolderActionInviteViewer"; + case DBSHARINGFolderActionInviteViewerNoComment: + return @"DBSHARINGFolderActionInviteViewerNoComment"; + case DBSHARINGFolderActionRelinquishMembership: + return @"DBSHARINGFolderActionRelinquishMembership"; + case DBSHARINGFolderActionUnmount: + return @"DBSHARINGFolderActionUnmount"; + case DBSHARINGFolderActionUnshare: + return @"DBSHARINGFolderActionUnshare"; + case DBSHARINGFolderActionLeaveACopy: + return @"DBSHARINGFolderActionLeaveACopy"; + case DBSHARINGFolderActionShareLink: + return @"DBSHARINGFolderActionShareLink"; + case DBSHARINGFolderActionCreateLink: + return @"DBSHARINGFolderActionCreateLink"; + case DBSHARINGFolderActionSetAccessInheritance: + return @"DBSHARINGFolderActionSetAccessInheritance"; + case DBSHARINGFolderActionOther: + return @"DBSHARINGFolderActionOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileMemberActionResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFolderActionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileMemberActionResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFolderActionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileMemberActionResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFolderActionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5229,8 +6994,53 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.member hash]; - result = prime * result + [self.result hash]; + switch (_tag) { + case DBSHARINGFolderActionChangeOptions: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionDisableViewerInfo: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionEditContents: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionEnableViewerInfo: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionInviteEditor: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionInviteViewer: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionInviteViewerNoComment: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionRelinquishMembership: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionUnmount: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionUnshare: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionLeaveACopy: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionShareLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionCreateLink: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionSetAccessInheritance: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGFolderActionOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -5244,18 +7054,47 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMemberActionResult:other]; + return [self isEqualToFolderAction:other]; } -- (BOOL)isEqualToFileMemberActionResult:(DBSHARINGFileMemberActionResult *)aFileMemberActionResult { - if (self == aFileMemberActionResult) { +- (BOOL)isEqualToFolderAction:(DBSHARINGFolderAction *)aFolderAction { + if (self == aFolderAction) { return YES; } - if (![self.member isEqual:aFileMemberActionResult.member]) { + if (self.tag != aFolderAction.tag) { return NO; } - if (![self.result isEqual:aFileMemberActionResult.result]) { - return NO; + switch (_tag) { + case DBSHARINGFolderActionChangeOptions: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionDisableViewerInfo: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionEditContents: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionEnableViewerInfo: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionInviteEditor: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionInviteViewer: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionInviteViewerNoComment: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionRelinquishMembership: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionUnmount: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionUnshare: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionLeaveACopy: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionShareLink: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionCreateLink: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionSetAccessInheritance: + return [[self tagName] isEqual:[aFolderAction tagName]]; + case DBSHARINGFolderActionOther: + return [[self tagName] isEqual:[aFolderAction tagName]]; } return YES; } @@ -5264,129 +7103,155 @@ - (BOOL)isEqualToFileMemberActionResult:(DBSHARINGFileMemberActionResult *)aFile #pragma mark - Serializer Object -@implementation DBSHARINGFileMemberActionResultSerializer +@implementation DBSHARINGFolderActionSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFolderAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - jsonDict[@"result"] = [DBSHARINGFileMemberActionIndividualResultSerializer serialize:valueObj.result]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)valueDict { - DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; - DBSHARINGFileMemberActionIndividualResult *result = - [DBSHARINGFileMemberActionIndividualResultSerializer deserialize:valueDict[@"result"]]; - - return [[DBSHARINGFileMemberActionResult alloc] initWithMember:member result:result]; -} - -@end - -#import "DBSHARINGFileMemberActionError.h" -#import "DBSHARINGFileMemberRemoveActionResult.h" -#import "DBSHARINGMemberAccessLevelResult.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" - -#pragma mark - API Object - -@implementation DBSHARINGFileMemberRemoveActionResult - -@synthesize success = _success; -@synthesize memberError = _memberError; - -#pragma mark - Constructors - -- (instancetype)initWithSuccess:(DBSHARINGMemberAccessLevelResult *)success { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberRemoveActionResultSuccess; - _success = success; - } - return self; -} - -- (instancetype)initWithMemberError:(DBSHARINGFileMemberActionError *)memberError { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberRemoveActionResultMemberError; - _memberError = memberError; + if ([valueObj isChangeOptions]) { + jsonDict[@".tag"] = @"change_options"; + } else if ([valueObj isDisableViewerInfo]) { + jsonDict[@".tag"] = @"disable_viewer_info"; + } else if ([valueObj isEditContents]) { + jsonDict[@".tag"] = @"edit_contents"; + } else if ([valueObj isEnableViewerInfo]) { + jsonDict[@".tag"] = @"enable_viewer_info"; + } else if ([valueObj isInviteEditor]) { + jsonDict[@".tag"] = @"invite_editor"; + } else if ([valueObj isInviteViewer]) { + jsonDict[@".tag"] = @"invite_viewer"; + } else if ([valueObj isInviteViewerNoComment]) { + jsonDict[@".tag"] = @"invite_viewer_no_comment"; + } else if ([valueObj isRelinquishMembership]) { + jsonDict[@".tag"] = @"relinquish_membership"; + } else if ([valueObj isUnmount]) { + jsonDict[@".tag"] = @"unmount"; + } else if ([valueObj isUnshare]) { + jsonDict[@".tag"] = @"unshare"; + } else if ([valueObj isLeaveACopy]) { + jsonDict[@".tag"] = @"leave_a_copy"; + } else if ([valueObj isShareLink]) { + jsonDict[@".tag"] = @"share_link"; + } else if ([valueObj isCreateLink]) { + jsonDict[@".tag"] = @"create_link"; + } else if ([valueObj isSetAccessInheritance]) { + jsonDict[@".tag"] = @"set_access_inheritance"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return self; -} -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBSHARINGFileMemberRemoveActionResultOther; - } - return self; + return jsonDict; } -#pragma mark - Instance field accessors ++ (DBSHARINGFolderAction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; -- (DBSHARINGMemberAccessLevelResult *)success { - if (![self isSuccess]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultSuccess, but was %@.", [self tagName]]; + if ([tag isEqualToString:@"change_options"]) { + return [[DBSHARINGFolderAction alloc] initWithChangeOptions]; + } else if ([tag isEqualToString:@"disable_viewer_info"]) { + return [[DBSHARINGFolderAction alloc] initWithDisableViewerInfo]; + } else if ([tag isEqualToString:@"edit_contents"]) { + return [[DBSHARINGFolderAction alloc] initWithEditContents]; + } else if ([tag isEqualToString:@"enable_viewer_info"]) { + return [[DBSHARINGFolderAction alloc] initWithEnableViewerInfo]; + } else if ([tag isEqualToString:@"invite_editor"]) { + return [[DBSHARINGFolderAction alloc] initWithInviteEditor]; + } else if ([tag isEqualToString:@"invite_viewer"]) { + return [[DBSHARINGFolderAction alloc] initWithInviteViewer]; + } else if ([tag isEqualToString:@"invite_viewer_no_comment"]) { + return [[DBSHARINGFolderAction alloc] initWithInviteViewerNoComment]; + } else if ([tag isEqualToString:@"relinquish_membership"]) { + return [[DBSHARINGFolderAction alloc] initWithRelinquishMembership]; + } else if ([tag isEqualToString:@"unmount"]) { + return [[DBSHARINGFolderAction alloc] initWithUnmount]; + } else if ([tag isEqualToString:@"unshare"]) { + return [[DBSHARINGFolderAction alloc] initWithUnshare]; + } else if ([tag isEqualToString:@"leave_a_copy"]) { + return [[DBSHARINGFolderAction alloc] initWithLeaveACopy]; + } else if ([tag isEqualToString:@"share_link"]) { + return [[DBSHARINGFolderAction alloc] initWithShareLink]; + } else if ([tag isEqualToString:@"create_link"]) { + return [[DBSHARINGFolderAction alloc] initWithCreateLink]; + } else if ([tag isEqualToString:@"set_access_inheritance"]) { + return [[DBSHARINGFolderAction alloc] initWithSetAccessInheritance]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGFolderAction alloc] initWithOther]; + } else { + return [[DBSHARINGFolderAction alloc] initWithOther]; } - return _success; } -- (DBSHARINGFileMemberActionError *)memberError { - if (![self isMemberError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGFileMemberRemoveActionResultMemberError, but was %@.", [self tagName]]; - } - return _memberError; -} +@end -#pragma mark - Tag state methods +#import "DBSHARINGFolderLinkMetadata.h" +#import "DBSHARINGLinkPermissions.h" +#import "DBSHARINGSharedLinkMetadata.h" +#import "DBSHARINGTeamMemberInfo.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSTeam.h" -- (BOOL)isSuccess { - return _tag == DBSHARINGFileMemberRemoveActionResultSuccess; -} +#pragma mark - API Object -- (BOOL)isMemberError { - return _tag == DBSHARINGFileMemberRemoveActionResultMemberError; -} +@implementation DBSHARINGFolderLinkMetadata -- (BOOL)isOther { - return _tag == DBSHARINGFileMemberRemoveActionResultOther; -} +#pragma mark - Constructors -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGFileMemberRemoveActionResultSuccess: - return @"DBSHARINGFileMemberRemoveActionResultSuccess"; - case DBSHARINGFileMemberRemoveActionResultMemberError: - return @"DBSHARINGFileMemberRemoveActionResultMemberError"; - case DBSHARINGFileMemberRemoveActionResultOther: - return @"DBSHARINGFileMemberRemoveActionResultOther"; +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions + id_:(NSString *)id_ + expires:(NSDate *)expires + pathLower:(NSString *)pathLower + teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo + contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](linkPermissions); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); + + self = [super initWithUrl:url + name:name + linkPermissions:linkPermissions + id_:id_ + expires:expires + pathLower:pathLower + teamMemberInfo:teamMemberInfo + contentOwnerTeamInfo:contentOwnerTeamInfo]; + if (self) { } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithUrl:(NSString *)url + name:(NSString *)name + linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions { + return [self initWithUrl:url + name:name + linkPermissions:linkPermissions + id_:nil + expires:nil + pathLower:nil + teamMemberInfo:nil + contentOwnerTeamInfo:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFileMemberRemoveActionResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFolderLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFileMemberRemoveActionResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFolderLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFileMemberRemoveActionResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFolderLinkMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5403,13 +7268,23 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGFileMemberRemoveActionResultSuccess: - result = prime * result + [self.success hash]; - case DBSHARINGFileMemberRemoveActionResultMemberError: - result = prime * result + [self.memberError hash]; - case DBSHARINGFileMemberRemoveActionResultOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.url hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.linkPermissions hash]; + if (self.id_ != nil) { + result = prime * result + [self.id_ hash]; + } + if (self.expires != nil) { + result = prime * result + [self.expires hash]; + } + if (self.pathLower != nil) { + result = prime * result + [self.pathLower hash]; + } + if (self.teamMemberInfo != nil) { + result = prime * result + [self.teamMemberInfo hash]; + } + if (self.contentOwnerTeamInfo != nil) { + result = prime * result + [self.contentOwnerTeamInfo hash]; } return prime * result; @@ -5424,23 +7299,46 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMemberRemoveActionResult:other]; + return [self isEqualToFolderLinkMetadata:other]; } -- (BOOL)isEqualToFileMemberRemoveActionResult:(DBSHARINGFileMemberRemoveActionResult *)aFileMemberRemoveActionResult { - if (self == aFileMemberRemoveActionResult) { +- (BOOL)isEqualToFolderLinkMetadata:(DBSHARINGFolderLinkMetadata *)aFolderLinkMetadata { + if (self == aFolderLinkMetadata) { return YES; } - if (self.tag != aFileMemberRemoveActionResult.tag) { + if (![self.url isEqual:aFolderLinkMetadata.url]) { return NO; } - switch (_tag) { - case DBSHARINGFileMemberRemoveActionResultSuccess: - return [self.success isEqual:aFileMemberRemoveActionResult.success]; - case DBSHARINGFileMemberRemoveActionResultMemberError: - return [self.memberError isEqual:aFileMemberRemoveActionResult.memberError]; - case DBSHARINGFileMemberRemoveActionResultOther: - return [[self tagName] isEqual:[aFileMemberRemoveActionResult tagName]]; + if (![self.name isEqual:aFolderLinkMetadata.name]) { + return NO; + } + if (![self.linkPermissions isEqual:aFolderLinkMetadata.linkPermissions]) { + return NO; + } + if (self.id_) { + if (![self.id_ isEqual:aFolderLinkMetadata.id_]) { + return NO; + } + } + if (self.expires) { + if (![self.expires isEqual:aFolderLinkMetadata.expires]) { + return NO; + } + } + if (self.pathLower) { + if (![self.pathLower isEqual:aFolderLinkMetadata.pathLower]) { + return NO; + } + } + if (self.teamMemberInfo) { + if (![self.teamMemberInfo isEqual:aFolderLinkMetadata.teamMemberInfo]) { + return NO; + } + } + if (self.contentOwnerTeamInfo) { + if (![self.contentOwnerTeamInfo isEqual:aFolderLinkMetadata.contentOwnerTeamInfo]) { + return NO; + } } return YES; } @@ -5449,58 +7347,75 @@ - (BOOL)isEqualToFileMemberRemoveActionResult:(DBSHARINGFileMemberRemoveActionRe #pragma mark - Serializer Object -@implementation DBSHARINGFileMemberRemoveActionResultSerializer +@implementation DBSHARINGFolderLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.success] mutableCopy]; - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isMemberError]) { - jsonDict[@"member_error"] = [[DBSHARINGFileMemberActionErrorSerializer serialize:valueObj.memberError] mutableCopy]; - jsonDict[@".tag"] = @"member_error"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"url"] = valueObj.url; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; + if (valueObj.id_) { + jsonDict[@"id"] = valueObj.id_; + } + if (valueObj.expires) { + jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.pathLower) { + jsonDict[@"path_lower"] = valueObj.pathLower; + } + if (valueObj.teamMemberInfo) { + jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; + } + if (valueObj.contentOwnerTeamInfo) { + jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *name = valueDict[@"name"]; + DBSHARINGLinkPermissions *linkPermissions = + [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; + NSString *id_ = valueDict[@"id"] ?: nil; + NSDate *expires = valueDict[@"expires"] + ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *pathLower = valueDict[@"path_lower"] ?: nil; + DBSHARINGTeamMemberInfo *teamMemberInfo = + valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] + : nil; + DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] + ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] + : nil; - if ([tag isEqualToString:@"success"]) { - DBSHARINGMemberAccessLevelResult *success = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; - return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"member_error"]) { - DBSHARINGFileMemberActionError *memberError = - [DBSHARINGFileMemberActionErrorSerializer deserialize:valueDict[@"member_error"]]; - return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithMemberError:memberError]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithOther]; - } else { - return [[DBSHARINGFileMemberRemoveActionResult alloc] initWithOther]; - } + return [[DBSHARINGFolderLinkMetadata alloc] initWithUrl:url + name:name + linkPermissions:linkPermissions + id_:id_ + expires:expires + pathLower:pathLower + teamMemberInfo:teamMemberInfo + contentOwnerTeamInfo:contentOwnerTeamInfo]; } @end -#import "DBSHARINGFileAction.h" -#import "DBSHARINGFilePermission.h" +#import "DBSHARINGFolderAction.h" +#import "DBSHARINGFolderPermission.h" #import "DBSHARINGPermissionDeniedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFilePermission +@implementation DBSHARINGFolderPermission #pragma mark - Constructors -- (instancetype)initWithAction:(DBSHARINGFileAction *)action +- (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow reason:(DBSHARINGPermissionDeniedReason *)reason { [DBStoneValidators nonnullValidator:nil](action); @@ -5515,24 +7430,24 @@ - (instancetype)initWithAction:(DBSHARINGFileAction *)action return self; } -- (instancetype)initWithAction:(DBSHARINGFileAction *)action allow:(NSNumber *)allow { +- (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow { return [self initWithAction:action allow:allow reason:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFilePermissionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFolderPermissionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFilePermissionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFolderPermissionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFilePermissionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGFolderPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5567,21 +7482,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFilePermission:other]; + return [self isEqualToFolderPermission:other]; } -- (BOOL)isEqualToFilePermission:(DBSHARINGFilePermission *)aFilePermission { - if (self == aFilePermission) { +- (BOOL)isEqualToFolderPermission:(DBSHARINGFolderPermission *)aFolderPermission { + if (self == aFolderPermission) { return YES; } - if (![self.action isEqual:aFilePermission.action]) { + if (![self.action isEqual:aFolderPermission.action]) { return NO; } - if (![self.allow isEqual:aFilePermission.allow]) { + if (![self.allow isEqual:aFolderPermission.allow]) { return NO; } if (self.reason) { - if (![self.reason isEqual:aFilePermission.reason]) { + if (![self.reason isEqual:aFolderPermission.reason]) { return NO; } } @@ -5592,262 +7507,254 @@ - (BOOL)isEqualToFilePermission:(DBSHARINGFilePermission *)aFilePermission { #pragma mark - Serializer Object -@implementation DBSHARINGFilePermissionSerializer +@implementation DBSHARINGFolderPermissionSerializer -+ (NSDictionary *)serialize:(DBSHARINGFilePermission *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGFolderPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"action"] = [DBSHARINGFileActionSerializer serialize:valueObj.action]; + jsonDict[@"action"] = [DBSHARINGFolderActionSerializer serialize:valueObj.action]; jsonDict[@"allow"] = valueObj.allow; if (valueObj.reason) { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFilePermission *)deserialize:(NSDictionary *)valueDict { - DBSHARINGFileAction *action = [DBSHARINGFileActionSerializer deserialize:valueDict[@"action"]]; ++ (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)valueDict { + DBSHARINGFolderAction *action = [DBSHARINGFolderActionSerializer deserialize:valueDict[@"action"]]; NSNumber *allow = valueDict[@"allow"]; DBSHARINGPermissionDeniedReason *reason = valueDict[@"reason"] ? [DBSHARINGPermissionDeniedReasonSerializer deserialize:valueDict[@"reason"]] : nil; - return [[DBSHARINGFilePermission alloc] initWithAction:action allow:allow reason:reason]; + return [[DBSHARINGFolderPermission alloc] initWithAction:action allow:allow reason:reason]; } @end -#import "DBSHARINGFolderAction.h" +#import "DBSHARINGAclUpdatePolicy.h" +#import "DBSHARINGFolderPolicy.h" +#import "DBSHARINGMemberPolicy.h" +#import "DBSHARINGSharedLinkPolicy.h" +#import "DBSHARINGViewerInfoPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFolderAction +@implementation DBSHARINGFolderPolicy #pragma mark - Constructors -- (instancetype)initWithChangeOptions { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionChangeOptions; - } - return self; -} +- (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy + sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy + memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy + resolvedMemberPolicy:(DBSHARINGMemberPolicy *)resolvedMemberPolicy + viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy { + [DBStoneValidators nonnullValidator:nil](aclUpdatePolicy); + [DBStoneValidators nonnullValidator:nil](sharedLinkPolicy); -- (instancetype)initWithDisableViewerInfo { self = [super init]; if (self) { - _tag = DBSHARINGFolderActionDisableViewerInfo; + _memberPolicy = memberPolicy; + _resolvedMemberPolicy = resolvedMemberPolicy; + _aclUpdatePolicy = aclUpdatePolicy; + _sharedLinkPolicy = sharedLinkPolicy; + _viewerInfoPolicy = viewerInfoPolicy; } return self; } -- (instancetype)initWithEditContents { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionEditContents; - } - return self; +- (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy + sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy { + return [self initWithAclUpdatePolicy:aclUpdatePolicy + sharedLinkPolicy:sharedLinkPolicy + memberPolicy:nil + resolvedMemberPolicy:nil + viewerInfoPolicy:nil]; } -- (instancetype)initWithEnableViewerInfo { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionEnableViewerInfo; - } - return self; -} +#pragma mark - Serialization methods -- (instancetype)initWithInviteEditor { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionInviteEditor; - } - return self; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGFolderPolicySerializer serialize:instance]; } -- (instancetype)initWithInviteViewer { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionInviteViewer; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGFolderPolicySerializer deserialize:dict]; } -- (instancetype)initWithInviteViewerNoComment { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionInviteViewerNoComment; - } - return self; -} +#pragma mark - Debug Description method -- (instancetype)initWithRelinquishMembership { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionRelinquishMembership; - } - return self; +- (NSString *)debugDescription { + return [[DBSHARINGFolderPolicySerializer serialize:self] description]; } -- (instancetype)initWithUnmount { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionUnmount; - } - return self; -} +#pragma mark - Copyable method -- (instancetype)initWithUnshare { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionUnshare; - } +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithLeaveACopy { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionLeaveACopy; - } - return self; -} +#pragma mark - Hash method -- (instancetype)initWithShareLink { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionShareLink; +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.aclUpdatePolicy hash]; + result = prime * result + [self.sharedLinkPolicy hash]; + if (self.memberPolicy != nil) { + result = prime * result + [self.memberPolicy hash]; } - return self; + if (self.resolvedMemberPolicy != nil) { + result = prime * result + [self.resolvedMemberPolicy hash]; + } + if (self.viewerInfoPolicy != nil) { + result = prime * result + [self.viewerInfoPolicy hash]; + } + + return prime * result; } -- (instancetype)initWithCreateLink { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionCreateLink; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderPolicy:other]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBSHARINGFolderActionOther; +- (BOOL)isEqualToFolderPolicy:(DBSHARINGFolderPolicy *)aFolderPolicy { + if (self == aFolderPolicy) { + return YES; } - return self; + if (![self.aclUpdatePolicy isEqual:aFolderPolicy.aclUpdatePolicy]) { + return NO; + } + if (![self.sharedLinkPolicy isEqual:aFolderPolicy.sharedLinkPolicy]) { + return NO; + } + if (self.memberPolicy) { + if (![self.memberPolicy isEqual:aFolderPolicy.memberPolicy]) { + return NO; + } + } + if (self.resolvedMemberPolicy) { + if (![self.resolvedMemberPolicy isEqual:aFolderPolicy.resolvedMemberPolicy]) { + return NO; + } + } + if (self.viewerInfoPolicy) { + if (![self.viewerInfoPolicy isEqual:aFolderPolicy.viewerInfoPolicy]) { + return NO; + } + } + return YES; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isChangeOptions { - return _tag == DBSHARINGFolderActionChangeOptions; -} +@end -- (BOOL)isDisableViewerInfo { - return _tag == DBSHARINGFolderActionDisableViewerInfo; -} +#pragma mark - Serializer Object -- (BOOL)isEditContents { - return _tag == DBSHARINGFolderActionEditContents; -} +@implementation DBSHARINGFolderPolicySerializer -- (BOOL)isEnableViewerInfo { - return _tag == DBSHARINGFolderActionEnableViewerInfo; -} ++ (NSDictionary *)serialize:(DBSHARINGFolderPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isInviteEditor { - return _tag == DBSHARINGFolderActionInviteEditor; -} + jsonDict[@"acl_update_policy"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.aclUpdatePolicy]; + jsonDict[@"shared_link_policy"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.sharedLinkPolicy]; + if (valueObj.memberPolicy) { + jsonDict[@"member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.memberPolicy]; + } + if (valueObj.resolvedMemberPolicy) { + jsonDict[@"resolved_member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.resolvedMemberPolicy]; + } + if (valueObj.viewerInfoPolicy) { + jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; + } -- (BOOL)isInviteViewer { - return _tag == DBSHARINGFolderActionInviteViewer; + return jsonDict; } -- (BOOL)isInviteViewerNoComment { - return _tag == DBSHARINGFolderActionInviteViewerNoComment; -} ++ (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAclUpdatePolicy *aclUpdatePolicy = + [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]]; + DBSHARINGSharedLinkPolicy *sharedLinkPolicy = + [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"shared_link_policy"]]; + DBSHARINGMemberPolicy *memberPolicy = + valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; + DBSHARINGMemberPolicy *resolvedMemberPolicy = + valueDict[@"resolved_member_policy"] + ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"resolved_member_policy"]] + : nil; + DBSHARINGViewerInfoPolicy *viewerInfoPolicy = + valueDict[@"viewer_info_policy"] + ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"viewer_info_policy"]] + : nil; -- (BOOL)isRelinquishMembership { - return _tag == DBSHARINGFolderActionRelinquishMembership; + return [[DBSHARINGFolderPolicy alloc] initWithAclUpdatePolicy:aclUpdatePolicy + sharedLinkPolicy:sharedLinkPolicy + memberPolicy:memberPolicy + resolvedMemberPolicy:resolvedMemberPolicy + viewerInfoPolicy:viewerInfoPolicy]; } -- (BOOL)isUnmount { - return _tag == DBSHARINGFolderActionUnmount; -} +@end -- (BOOL)isUnshare { - return _tag == DBSHARINGFolderActionUnshare; -} +#import "DBSHARINGFileAction.h" +#import "DBSHARINGGetFileMetadataArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" -- (BOOL)isLeaveACopy { - return _tag == DBSHARINGFolderActionLeaveACopy; -} +#pragma mark - API Object -- (BOOL)isShareLink { - return _tag == DBSHARINGFolderActionShareLink; -} +@implementation DBSHARINGGetFileMetadataArg -- (BOOL)isCreateLink { - return _tag == DBSHARINGFolderActionCreateLink; -} +#pragma mark - Constructors -- (BOOL)isOther { - return _tag == DBSHARINGFolderActionOther; -} +- (instancetype)initWithFile:(NSString *)file actions:(NSArray *)actions { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) + maxLength:nil + pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGFolderActionChangeOptions: - return @"DBSHARINGFolderActionChangeOptions"; - case DBSHARINGFolderActionDisableViewerInfo: - return @"DBSHARINGFolderActionDisableViewerInfo"; - case DBSHARINGFolderActionEditContents: - return @"DBSHARINGFolderActionEditContents"; - case DBSHARINGFolderActionEnableViewerInfo: - return @"DBSHARINGFolderActionEnableViewerInfo"; - case DBSHARINGFolderActionInviteEditor: - return @"DBSHARINGFolderActionInviteEditor"; - case DBSHARINGFolderActionInviteViewer: - return @"DBSHARINGFolderActionInviteViewer"; - case DBSHARINGFolderActionInviteViewerNoComment: - return @"DBSHARINGFolderActionInviteViewerNoComment"; - case DBSHARINGFolderActionRelinquishMembership: - return @"DBSHARINGFolderActionRelinquishMembership"; - case DBSHARINGFolderActionUnmount: - return @"DBSHARINGFolderActionUnmount"; - case DBSHARINGFolderActionUnshare: - return @"DBSHARINGFolderActionUnshare"; - case DBSHARINGFolderActionLeaveACopy: - return @"DBSHARINGFolderActionLeaveACopy"; - case DBSHARINGFolderActionShareLink: - return @"DBSHARINGFolderActionShareLink"; - case DBSHARINGFolderActionCreateLink: - return @"DBSHARINGFolderActionCreateLink"; - case DBSHARINGFolderActionOther: - return @"DBSHARINGFolderActionOther"; + self = [super init]; + if (self) { + _file = file; + _actions = actions; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithFile:(NSString *)file { + return [self initWithFile:file actions:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFolderActionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetFileMetadataArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFolderActionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetFileMetadataArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFolderActionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetFileMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5864,35 +7771,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGFolderActionChangeOptions: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionDisableViewerInfo: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionEditContents: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionEnableViewerInfo: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionInviteEditor: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionInviteViewer: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionInviteViewerNoComment: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionRelinquishMembership: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionUnmount: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionUnshare: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionLeaveACopy: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionShareLink: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionCreateLink: - result = prime * result + [[self tagName] hash]; - case DBSHARINGFolderActionOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.file hash]; + if (self.actions != nil) { + result = prime * result + [self.actions hash]; } return prime * result; @@ -5907,45 +7788,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderAction:other]; + return [self isEqualToGetFileMetadataArg:other]; } -- (BOOL)isEqualToFolderAction:(DBSHARINGFolderAction *)aFolderAction { - if (self == aFolderAction) { +- (BOOL)isEqualToGetFileMetadataArg:(DBSHARINGGetFileMetadataArg *)aGetFileMetadataArg { + if (self == aGetFileMetadataArg) { return YES; } - if (self.tag != aFolderAction.tag) { + if (![self.file isEqual:aGetFileMetadataArg.file]) { return NO; } - switch (_tag) { - case DBSHARINGFolderActionChangeOptions: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionDisableViewerInfo: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionEditContents: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionEnableViewerInfo: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionInviteEditor: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionInviteViewer: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionInviteViewerNoComment: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionRelinquishMembership: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionUnmount: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionUnshare: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionLeaveACopy: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionShareLink: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionCreateLink: - return [[self tagName] isEqual:[aFolderAction tagName]]; - case DBSHARINGFolderActionOther: - return [[self tagName] isEqual:[aFolderAction tagName]]; + if (self.actions) { + if (![self.actions isEqual:aGetFileMetadataArg.actions]) { + return NO; + } } return YES; } @@ -5954,151 +7810,90 @@ - (BOOL)isEqualToFolderAction:(DBSHARINGFolderAction *)aFolderAction { #pragma mark - Serializer Object -@implementation DBSHARINGFolderActionSerializer +@implementation DBSHARINGGetFileMetadataArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGFolderAction *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isChangeOptions]) { - jsonDict[@".tag"] = @"change_options"; - } else if ([valueObj isDisableViewerInfo]) { - jsonDict[@".tag"] = @"disable_viewer_info"; - } else if ([valueObj isEditContents]) { - jsonDict[@".tag"] = @"edit_contents"; - } else if ([valueObj isEnableViewerInfo]) { - jsonDict[@".tag"] = @"enable_viewer_info"; - } else if ([valueObj isInviteEditor]) { - jsonDict[@".tag"] = @"invite_editor"; - } else if ([valueObj isInviteViewer]) { - jsonDict[@".tag"] = @"invite_viewer"; - } else if ([valueObj isInviteViewerNoComment]) { - jsonDict[@".tag"] = @"invite_viewer_no_comment"; - } else if ([valueObj isRelinquishMembership]) { - jsonDict[@".tag"] = @"relinquish_membership"; - } else if ([valueObj isUnmount]) { - jsonDict[@".tag"] = @"unmount"; - } else if ([valueObj isUnshare]) { - jsonDict[@".tag"] = @"unshare"; - } else if ([valueObj isLeaveACopy]) { - jsonDict[@".tag"] = @"leave_a_copy"; - } else if ([valueObj isShareLink]) { - jsonDict[@".tag"] = @"share_link"; - } else if ([valueObj isCreateLink]) { - jsonDict[@".tag"] = @"create_link"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"file"] = valueObj.file; + if (valueObj.actions) { + jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions + withBlock:^id(id elem0) { + return [DBSHARINGFileActionSerializer serialize:elem0]; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFolderAction *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)valueDict { + NSString *file = valueDict[@"file"]; + NSArray *actions = + valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] + withBlock:^id(id elem0) { + return [DBSHARINGFileActionSerializer deserialize:elem0]; + }] + : nil; - if ([tag isEqualToString:@"change_options"]) { - return [[DBSHARINGFolderAction alloc] initWithChangeOptions]; - } else if ([tag isEqualToString:@"disable_viewer_info"]) { - return [[DBSHARINGFolderAction alloc] initWithDisableViewerInfo]; - } else if ([tag isEqualToString:@"edit_contents"]) { - return [[DBSHARINGFolderAction alloc] initWithEditContents]; - } else if ([tag isEqualToString:@"enable_viewer_info"]) { - return [[DBSHARINGFolderAction alloc] initWithEnableViewerInfo]; - } else if ([tag isEqualToString:@"invite_editor"]) { - return [[DBSHARINGFolderAction alloc] initWithInviteEditor]; - } else if ([tag isEqualToString:@"invite_viewer"]) { - return [[DBSHARINGFolderAction alloc] initWithInviteViewer]; - } else if ([tag isEqualToString:@"invite_viewer_no_comment"]) { - return [[DBSHARINGFolderAction alloc] initWithInviteViewerNoComment]; - } else if ([tag isEqualToString:@"relinquish_membership"]) { - return [[DBSHARINGFolderAction alloc] initWithRelinquishMembership]; - } else if ([tag isEqualToString:@"unmount"]) { - return [[DBSHARINGFolderAction alloc] initWithUnmount]; - } else if ([tag isEqualToString:@"unshare"]) { - return [[DBSHARINGFolderAction alloc] initWithUnshare]; - } else if ([tag isEqualToString:@"leave_a_copy"]) { - return [[DBSHARINGFolderAction alloc] initWithLeaveACopy]; - } else if ([tag isEqualToString:@"share_link"]) { - return [[DBSHARINGFolderAction alloc] initWithShareLink]; - } else if ([tag isEqualToString:@"create_link"]) { - return [[DBSHARINGFolderAction alloc] initWithCreateLink]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGFolderAction alloc] initWithOther]; - } else { - return [[DBSHARINGFolderAction alloc] initWithOther]; - } + return [[DBSHARINGGetFileMetadataArg alloc] initWithFile:file actions:actions]; } @end -#import "DBSHARINGFolderLinkMetadata.h" -#import "DBSHARINGLinkPermissions.h" -#import "DBSHARINGSharedLinkMetadata.h" -#import "DBSHARINGTeamMemberInfo.h" +#import "DBSHARINGFileAction.h" +#import "DBSHARINGGetFileMetadataBatchArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBUSERSTeam.h" #pragma mark - API Object -@implementation DBSHARINGFolderLinkMetadata +@implementation DBSHARINGGetFileMetadataBatchArg #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions - id_:(NSString *)id_ - expires:(NSDate *)expires - pathLower:(NSString *)pathLower - teamMemberInfo:(DBSHARINGTeamMemberInfo *)teamMemberInfo - contentOwnerTeamInfo:(DBUSERSTeam *)contentOwnerTeamInfo { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](linkPermissions); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](id_); +- (instancetype)initWithFiles:(NSArray *)files actions:(NSArray *)actions { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:@(100) + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:@(1) + maxLength:nil + pattern:@"((/" + @"|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/" + @".*)?"]]]](files); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); - self = [super initWithUrl:url - name:name - linkPermissions:linkPermissions - id_:id_ - expires:expires - pathLower:pathLower - teamMemberInfo:teamMemberInfo - contentOwnerTeamInfo:contentOwnerTeamInfo]; + self = [super init]; if (self) { - } - return self; -} - -- (instancetype)initWithUrl:(NSString *)url - name:(NSString *)name - linkPermissions:(DBSHARINGLinkPermissions *)linkPermissions { - return [self initWithUrl:url - name:name - linkPermissions:linkPermissions - id_:nil - expires:nil - pathLower:nil - teamMemberInfo:nil - contentOwnerTeamInfo:nil]; + _files = files; + _actions = actions; + } + return self; +} + +- (instancetype)initWithFiles:(NSArray *)files { + return [self initWithFiles:files actions:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFolderLinkMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetFileMetadataBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFolderLinkMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetFileMetadataBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFolderLinkMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetFileMetadataBatchArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6115,23 +7910,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.linkPermissions hash]; - if (self.id_ != nil) { - result = prime * result + [self.id_ hash]; - } - if (self.expires != nil) { - result = prime * result + [self.expires hash]; - } - if (self.pathLower != nil) { - result = prime * result + [self.pathLower hash]; - } - if (self.teamMemberInfo != nil) { - result = prime * result + [self.teamMemberInfo hash]; - } - if (self.contentOwnerTeamInfo != nil) { - result = prime * result + [self.contentOwnerTeamInfo hash]; + result = prime * result + [self.files hash]; + if (self.actions != nil) { + result = prime * result + [self.actions hash]; } return prime * result; @@ -6146,44 +7927,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderLinkMetadata:other]; + return [self isEqualToGetFileMetadataBatchArg:other]; } -- (BOOL)isEqualToFolderLinkMetadata:(DBSHARINGFolderLinkMetadata *)aFolderLinkMetadata { - if (self == aFolderLinkMetadata) { +- (BOOL)isEqualToGetFileMetadataBatchArg:(DBSHARINGGetFileMetadataBatchArg *)aGetFileMetadataBatchArg { + if (self == aGetFileMetadataBatchArg) { return YES; } - if (![self.url isEqual:aFolderLinkMetadata.url]) { - return NO; - } - if (![self.name isEqual:aFolderLinkMetadata.name]) { - return NO; - } - if (![self.linkPermissions isEqual:aFolderLinkMetadata.linkPermissions]) { + if (![self.files isEqual:aGetFileMetadataBatchArg.files]) { return NO; } - if (self.id_) { - if (![self.id_ isEqual:aFolderLinkMetadata.id_]) { - return NO; - } - } - if (self.expires) { - if (![self.expires isEqual:aFolderLinkMetadata.expires]) { - return NO; - } - } - if (self.pathLower) { - if (![self.pathLower isEqual:aFolderLinkMetadata.pathLower]) { - return NO; - } - } - if (self.teamMemberInfo) { - if (![self.teamMemberInfo isEqual:aFolderLinkMetadata.teamMemberInfo]) { - return NO; - } - } - if (self.contentOwnerTeamInfo) { - if (![self.contentOwnerTeamInfo isEqual:aFolderLinkMetadata.contentOwnerTeamInfo]) { + if (self.actions) { + if (![self.actions isEqual:aGetFileMetadataBatchArg.actions]) { return NO; } } @@ -6194,107 +7949,82 @@ - (BOOL)isEqualToFolderLinkMetadata:(DBSHARINGFolderLinkMetadata *)aFolderLinkMe #pragma mark - Serializer Object -@implementation DBSHARINGFolderLinkMetadataSerializer +@implementation DBSHARINGGetFileMetadataBatchArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"link_permissions"] = [DBSHARINGLinkPermissionsSerializer serialize:valueObj.linkPermissions]; - if (valueObj.id_) { - jsonDict[@"id"] = valueObj.id_; - } - if (valueObj.expires) { - jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.pathLower) { - jsonDict[@"path_lower"] = valueObj.pathLower; - } - if (valueObj.teamMemberInfo) { - jsonDict[@"team_member_info"] = [DBSHARINGTeamMemberInfoSerializer serialize:valueObj.teamMemberInfo]; - } - if (valueObj.contentOwnerTeamInfo) { - jsonDict[@"content_owner_team_info"] = [DBUSERSTeamSerializer serialize:valueObj.contentOwnerTeamInfo]; + jsonDict[@"files"] = [DBArraySerializer serialize:valueObj.files + withBlock:^id(id elem0) { + return elem0; + }]; + if (valueObj.actions) { + jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions + withBlock:^id(id elem0) { + return [DBSHARINGFileActionSerializer serialize:elem0]; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; - NSString *name = valueDict[@"name"]; - DBSHARINGLinkPermissions *linkPermissions = - [DBSHARINGLinkPermissionsSerializer deserialize:valueDict[@"link_permissions"]]; - NSString *id_ = valueDict[@"id"] ?: nil; - NSDate *expires = valueDict[@"expires"] - ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *pathLower = valueDict[@"path_lower"] ?: nil; - DBSHARINGTeamMemberInfo *teamMemberInfo = - valueDict[@"team_member_info"] ? [DBSHARINGTeamMemberInfoSerializer deserialize:valueDict[@"team_member_info"]] - : nil; - DBUSERSTeam *contentOwnerTeamInfo = valueDict[@"content_owner_team_info"] - ? [DBUSERSTeamSerializer deserialize:valueDict[@"content_owner_team_info"]] - : nil; ++ (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *files = [DBArraySerializer deserialize:valueDict[@"files"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSArray *actions = + valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] + withBlock:^id(id elem0) { + return [DBSHARINGFileActionSerializer deserialize:elem0]; + }] + : nil; - return [[DBSHARINGFolderLinkMetadata alloc] initWithUrl:url - name:name - linkPermissions:linkPermissions - id_:id_ - expires:expires - pathLower:pathLower - teamMemberInfo:teamMemberInfo - contentOwnerTeamInfo:contentOwnerTeamInfo]; + return [[DBSHARINGGetFileMetadataBatchArg alloc] initWithFiles:files actions:actions]; } @end -#import "DBSHARINGFolderAction.h" -#import "DBSHARINGFolderPermission.h" -#import "DBSHARINGPermissionDeniedReason.h" +#import "DBSHARINGGetFileMetadataBatchResult.h" +#import "DBSHARINGGetFileMetadataIndividualResult.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGFolderPermission +@implementation DBSHARINGGetFileMetadataBatchResult #pragma mark - Constructors -- (instancetype)initWithAction:(DBSHARINGFolderAction *)action - allow:(NSNumber *)allow - reason:(DBSHARINGPermissionDeniedReason *)reason { - [DBStoneValidators nonnullValidator:nil](action); - [DBStoneValidators nonnullValidator:nil](allow); +- (instancetype)initWithFile:(NSString *)file result:(DBSHARINGGetFileMetadataIndividualResult *)result { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(1) + maxLength:nil + pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); + [DBStoneValidators nonnullValidator:nil](result); self = [super init]; if (self) { - _action = action; - _allow = allow; - _reason = reason; + _file = file; + _result = result; } return self; } -- (instancetype)initWithAction:(DBSHARINGFolderAction *)action allow:(NSNumber *)allow { - return [self initWithAction:action allow:allow reason:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFolderPermissionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetFileMetadataBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFolderPermissionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetFileMetadataBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFolderPermissionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetFileMetadataBatchResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6311,11 +8041,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.action hash]; - result = prime * result + [self.allow hash]; - if (self.reason != nil) { - result = prime * result + [self.reason hash]; - } + result = prime * result + [self.file hash]; + result = prime * result + [self.result hash]; return prime * result; } @@ -6329,24 +8056,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderPermission:other]; + return [self isEqualToGetFileMetadataBatchResult:other]; } -- (BOOL)isEqualToFolderPermission:(DBSHARINGFolderPermission *)aFolderPermission { - if (self == aFolderPermission) { +- (BOOL)isEqualToGetFileMetadataBatchResult:(DBSHARINGGetFileMetadataBatchResult *)aGetFileMetadataBatchResult { + if (self == aGetFileMetadataBatchResult) { return YES; } - if (![self.action isEqual:aFolderPermission.action]) { + if (![self.file isEqual:aGetFileMetadataBatchResult.file]) { return NO; } - if (![self.allow isEqual:aFolderPermission.allow]) { + if (![self.result isEqual:aGetFileMetadataBatchResult.result]) { return NO; } - if (self.reason) { - if (![self.reason isEqual:aFolderPermission.reason]) { - return NO; - } - } return YES; } @@ -6354,87 +8076,127 @@ - (BOOL)isEqualToFolderPermission:(DBSHARINGFolderPermission *)aFolderPermission #pragma mark - Serializer Object -@implementation DBSHARINGFolderPermissionSerializer +@implementation DBSHARINGGetFileMetadataBatchResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGFolderPermission *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"action"] = [DBSHARINGFolderActionSerializer serialize:valueObj.action]; - jsonDict[@"allow"] = valueObj.allow; - if (valueObj.reason) { - jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; - } + jsonDict[@"file"] = valueObj.file; + jsonDict[@"result"] = [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)valueDict { - DBSHARINGFolderAction *action = [DBSHARINGFolderActionSerializer deserialize:valueDict[@"action"]]; - NSNumber *allow = valueDict[@"allow"]; - DBSHARINGPermissionDeniedReason *reason = - valueDict[@"reason"] ? [DBSHARINGPermissionDeniedReasonSerializer deserialize:valueDict[@"reason"]] : nil; ++ (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)valueDict { + NSString *file = valueDict[@"file"]; + DBSHARINGGetFileMetadataIndividualResult *result = + [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:valueDict[@"result"]]; - return [[DBSHARINGFolderPermission alloc] initWithAction:action allow:allow reason:reason]; + return [[DBSHARINGGetFileMetadataBatchResult alloc] initWithFile:file result:result]; } @end -#import "DBSHARINGAclUpdatePolicy.h" -#import "DBSHARINGFolderPolicy.h" -#import "DBSHARINGMemberPolicy.h" -#import "DBSHARINGSharedLinkPolicy.h" -#import "DBSHARINGViewerInfoPolicy.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +#import "DBSHARINGGetFileMetadataError.h" +#import "DBSHARINGSharingFileAccessError.h" +#import "DBSHARINGSharingUserError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGGetFileMetadataError + +@synthesize userError = _userError; +@synthesize accessError = _accessError; + +#pragma mark - Constructors + +- (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { + self = [super init]; + if (self) { + _tag = DBSHARINGGetFileMetadataErrorUserError; + _userError = userError; + } + return self; +} + +- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { + self = [super init]; + if (self) { + _tag = DBSHARINGGetFileMetadataErrorAccessError; + _accessError = accessError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGGetFileMetadataErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSHARINGSharingUserError *)userError { + if (![self isUserError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGGetFileMetadataErrorUserError, but was %@.", [self tagName]]; + } + return _userError; +} + +- (DBSHARINGSharingFileAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGGetFileMetadataErrorAccessError, but was %@.", [self tagName]]; + } + return _accessError; +} -#pragma mark - API Object +#pragma mark - Tag state methods -@implementation DBSHARINGFolderPolicy +- (BOOL)isUserError { + return _tag == DBSHARINGGetFileMetadataErrorUserError; +} -#pragma mark - Constructors +- (BOOL)isAccessError { + return _tag == DBSHARINGGetFileMetadataErrorAccessError; +} -- (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy - sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy - memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy - resolvedMemberPolicy:(DBSHARINGMemberPolicy *)resolvedMemberPolicy - viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy { - [DBStoneValidators nonnullValidator:nil](aclUpdatePolicy); - [DBStoneValidators nonnullValidator:nil](sharedLinkPolicy); +- (BOOL)isOther { + return _tag == DBSHARINGGetFileMetadataErrorOther; +} - self = [super init]; - if (self) { - _memberPolicy = memberPolicy; - _resolvedMemberPolicy = resolvedMemberPolicy; - _aclUpdatePolicy = aclUpdatePolicy; - _sharedLinkPolicy = sharedLinkPolicy; - _viewerInfoPolicy = viewerInfoPolicy; +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGGetFileMetadataErrorUserError: + return @"DBSHARINGGetFileMetadataErrorUserError"; + case DBSHARINGGetFileMetadataErrorAccessError: + return @"DBSHARINGGetFileMetadataErrorAccessError"; + case DBSHARINGGetFileMetadataErrorOther: + return @"DBSHARINGGetFileMetadataErrorOther"; } - return self; -} -- (instancetype)initWithAclUpdatePolicy:(DBSHARINGAclUpdatePolicy *)aclUpdatePolicy - sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy { - return [self initWithAclUpdatePolicy:aclUpdatePolicy - sharedLinkPolicy:sharedLinkPolicy - memberPolicy:nil - resolvedMemberPolicy:nil - viewerInfoPolicy:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGFolderPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetFileMetadataErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGFolderPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetFileMetadataErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGFolderPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetFileMetadataErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6451,16 +8213,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.aclUpdatePolicy hash]; - result = prime * result + [self.sharedLinkPolicy hash]; - if (self.memberPolicy != nil) { - result = prime * result + [self.memberPolicy hash]; - } - if (self.resolvedMemberPolicy != nil) { - result = prime * result + [self.resolvedMemberPolicy hash]; - } - if (self.viewerInfoPolicy != nil) { - result = prime * result + [self.viewerInfoPolicy hash]; + switch (_tag) { + case DBSHARINGGetFileMetadataErrorUserError: + result = prime * result + [self.userError hash]; + break; + case DBSHARINGGetFileMetadataErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBSHARINGGetFileMetadataErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6475,33 +8237,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderPolicy:other]; + return [self isEqualToGetFileMetadataError:other]; } -- (BOOL)isEqualToFolderPolicy:(DBSHARINGFolderPolicy *)aFolderPolicy { - if (self == aFolderPolicy) { +- (BOOL)isEqualToGetFileMetadataError:(DBSHARINGGetFileMetadataError *)aGetFileMetadataError { + if (self == aGetFileMetadataError) { return YES; } - if (![self.aclUpdatePolicy isEqual:aFolderPolicy.aclUpdatePolicy]) { - return NO; - } - if (![self.sharedLinkPolicy isEqual:aFolderPolicy.sharedLinkPolicy]) { + if (self.tag != aGetFileMetadataError.tag) { return NO; } - if (self.memberPolicy) { - if (![self.memberPolicy isEqual:aFolderPolicy.memberPolicy]) { - return NO; - } - } - if (self.resolvedMemberPolicy) { - if (![self.resolvedMemberPolicy isEqual:aFolderPolicy.resolvedMemberPolicy]) { - return NO; - } - } - if (self.viewerInfoPolicy) { - if (![self.viewerInfoPolicy isEqual:aFolderPolicy.viewerInfoPolicy]) { - return NO; - } + switch (_tag) { + case DBSHARINGGetFileMetadataErrorUserError: + return [self.userError isEqual:aGetFileMetadataError.userError]; + case DBSHARINGGetFileMetadataErrorAccessError: + return [self.accessError isEqual:aGetFileMetadataError.accessError]; + case DBSHARINGGetFileMetadataErrorOther: + return [[self tagName] isEqual:[aGetFileMetadataError tagName]]; } return YES; } @@ -6510,98 +8262,148 @@ - (BOOL)isEqualToFolderPolicy:(DBSHARINGFolderPolicy *)aFolderPolicy { #pragma mark - Serializer Object -@implementation DBSHARINGFolderPolicySerializer +@implementation DBSHARINGGetFileMetadataErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGFolderPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"acl_update_policy"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.aclUpdatePolicy]; - jsonDict[@"shared_link_policy"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.sharedLinkPolicy]; - if (valueObj.memberPolicy) { - jsonDict[@"member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.memberPolicy]; - } - if (valueObj.resolvedMemberPolicy) { - jsonDict[@"resolved_member_policy"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.resolvedMemberPolicy]; - } - if (valueObj.viewerInfoPolicy) { - jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; + if ([valueObj isUserError]) { + jsonDict[@"user_error"] = [[DBSHARINGSharingUserErrorSerializer serialize:valueObj.userError] mutableCopy]; + jsonDict[@".tag"] = @"user_error"; + } else if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = + [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)valueDict { - DBSHARINGAclUpdatePolicy *aclUpdatePolicy = - [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]]; - DBSHARINGSharedLinkPolicy *sharedLinkPolicy = - [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"shared_link_policy"]]; - DBSHARINGMemberPolicy *memberPolicy = - valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; - DBSHARINGMemberPolicy *resolvedMemberPolicy = - valueDict[@"resolved_member_policy"] - ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"resolved_member_policy"]] - : nil; - DBSHARINGViewerInfoPolicy *viewerInfoPolicy = - valueDict[@"viewer_info_policy"] - ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"viewer_info_policy"]] - : nil; ++ (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGFolderPolicy alloc] initWithAclUpdatePolicy:aclUpdatePolicy - sharedLinkPolicy:sharedLinkPolicy - memberPolicy:memberPolicy - resolvedMemberPolicy:resolvedMemberPolicy - viewerInfoPolicy:viewerInfoPolicy]; + if ([tag isEqualToString:@"user_error"]) { + DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; + return [[DBSHARINGGetFileMetadataError alloc] initWithUserError:userError]; + } else if ([tag isEqualToString:@"access_error"]) { + DBSHARINGSharingFileAccessError *accessError = + [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBSHARINGGetFileMetadataError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; + } else { + return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; + } } @end -#import "DBSHARINGFileAction.h" -#import "DBSHARINGGetFileMetadataArg.h" +#import "DBSHARINGGetFileMetadataIndividualResult.h" +#import "DBSHARINGSharedFileMetadata.h" +#import "DBSHARINGSharingFileAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetFileMetadataArg +@implementation DBSHARINGGetFileMetadataIndividualResult + +@synthesize metadata = _metadata; +@synthesize accessError = _accessError; #pragma mark - Constructors -- (instancetype)initWithFile:(NSString *)file actions:(NSArray *)actions { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) - maxLength:nil - pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); +- (instancetype)initWithMetadata:(DBSHARINGSharedFileMetadata *)metadata { + self = [super init]; + if (self) { + _tag = DBSHARINGGetFileMetadataIndividualResultMetadata; + _metadata = metadata; + } + return self; +} +- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { self = [super init]; if (self) { - _file = file; - _actions = actions; + _tag = DBSHARINGGetFileMetadataIndividualResultAccessError; + _accessError = accessError; } return self; } -- (instancetype)initWithFile:(NSString *)file { - return [self initWithFile:file actions:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGGetFileMetadataIndividualResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSHARINGSharedFileMetadata *)metadata { + if (![self isMetadata]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGGetFileMetadataIndividualResultMetadata, but was %@.", [self tagName]]; + } + return _metadata; +} + +- (DBSHARINGSharingFileAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGGetFileMetadataIndividualResultAccessError, but was %@.", + [self tagName]]; + } + return _accessError; +} + +#pragma mark - Tag state methods + +- (BOOL)isMetadata { + return _tag == DBSHARINGGetFileMetadataIndividualResultMetadata; +} + +- (BOOL)isAccessError { + return _tag == DBSHARINGGetFileMetadataIndividualResultAccessError; +} + +- (BOOL)isOther { + return _tag == DBSHARINGGetFileMetadataIndividualResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGGetFileMetadataIndividualResultMetadata: + return @"DBSHARINGGetFileMetadataIndividualResultMetadata"; + case DBSHARINGGetFileMetadataIndividualResultAccessError: + return @"DBSHARINGGetFileMetadataIndividualResultAccessError"; + case DBSHARINGGetFileMetadataIndividualResultOther: + return @"DBSHARINGGetFileMetadataIndividualResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetFileMetadataArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetFileMetadataArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetFileMetadataArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetFileMetadataIndividualResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6618,9 +8420,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.file hash]; - if (self.actions != nil) { - result = prime * result + [self.actions hash]; + switch (_tag) { + case DBSHARINGGetFileMetadataIndividualResultMetadata: + result = prime * result + [self.metadata hash]; + break; + case DBSHARINGGetFileMetadataIndividualResultAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBSHARINGGetFileMetadataIndividualResultOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6635,20 +8444,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileMetadataArg:other]; + return [self isEqualToGetFileMetadataIndividualResult:other]; } -- (BOOL)isEqualToGetFileMetadataArg:(DBSHARINGGetFileMetadataArg *)aGetFileMetadataArg { - if (self == aGetFileMetadataArg) { +- (BOOL)isEqualToGetFileMetadataIndividualResult: + (DBSHARINGGetFileMetadataIndividualResult *)aGetFileMetadataIndividualResult { + if (self == aGetFileMetadataIndividualResult) { return YES; } - if (![self.file isEqual:aGetFileMetadataArg.file]) { + if (self.tag != aGetFileMetadataIndividualResult.tag) { return NO; } - if (self.actions) { - if (![self.actions isEqual:aGetFileMetadataArg.actions]) { - return NO; - } + switch (_tag) { + case DBSHARINGGetFileMetadataIndividualResultMetadata: + return [self.metadata isEqual:aGetFileMetadataIndividualResult.metadata]; + case DBSHARINGGetFileMetadataIndividualResultAccessError: + return [self.accessError isEqual:aGetFileMetadataIndividualResult.accessError]; + case DBSHARINGGetFileMetadataIndividualResultOther: + return [[self tagName] isEqual:[aGetFileMetadataIndividualResult tagName]]; } return YES; } @@ -6657,59 +8470,60 @@ - (BOOL)isEqualToGetFileMetadataArg:(DBSHARINGGetFileMetadataArg *)aGetFileMetad #pragma mark - Serializer Object -@implementation DBSHARINGGetFileMetadataArgSerializer +@implementation DBSHARINGGetFileMetadataIndividualResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"file"] = valueObj.file; - if (valueObj.actions) { - jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions - withBlock:^id(id elem0) { - return [DBSHARINGFileActionSerializer serialize:elem0]; - }]; + if ([valueObj isMetadata]) { + [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFileMetadataSerializer serialize:valueObj.metadata]]; + jsonDict[@".tag"] = @"metadata"; + } else if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = + [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)valueDict { - NSString *file = valueDict[@"file"]; - NSArray *actions = - valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] - withBlock:^id(id elem0) { - return [DBSHARINGFileActionSerializer deserialize:elem0]; - }] - : nil; ++ (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGGetFileMetadataArg alloc] initWithFile:file actions:actions]; + if ([tag isEqualToString:@"metadata"]) { + DBSHARINGSharedFileMetadata *metadata = [DBSHARINGSharedFileMetadataSerializer deserialize:valueDict]; + return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithMetadata:metadata]; + } else if ([tag isEqualToString:@"access_error"]) { + DBSHARINGSharingFileAccessError *accessError = + [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithOther]; + } else { + return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithOther]; + } } @end -#import "DBSHARINGFileAction.h" -#import "DBSHARINGGetFileMetadataBatchArg.h" +#import "DBSHARINGFolderAction.h" +#import "DBSHARINGGetMetadataArgs.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetFileMetadataBatchArg +@implementation DBSHARINGGetMetadataArgs #pragma mark - Constructors -- (instancetype)initWithFiles:(NSArray *)files actions:(NSArray *)actions { +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId actions:(NSArray *)actions { [DBStoneValidators - nonnullValidator:[DBStoneValidators - arrayValidator:nil - maxItems:@(100) - itemValidator:[DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:@(1) - maxLength:nil - pattern:@"((/" - @"|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(" - @"/.*)?"]]]](files); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil @@ -6717,30 +8531,30 @@ - (instancetype)initWithFiles:(NSArray *)files actions:(NSArray *)files { - return [self initWithFiles:files actions:nil]; +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { + return [self initWithSharedFolderId:sharedFolderId actions:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetFileMetadataBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetMetadataArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetFileMetadataBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetMetadataArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetFileMetadataBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetMetadataArgsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6757,7 +8571,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.files hash]; + result = prime * result + [self.sharedFolderId hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } @@ -6774,18 +8588,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileMetadataBatchArg:other]; + return [self isEqualToGetMetadataArgs:other]; } -- (BOOL)isEqualToGetFileMetadataBatchArg:(DBSHARINGGetFileMetadataBatchArg *)aGetFileMetadataBatchArg { - if (self == aGetFileMetadataBatchArg) { +- (BOOL)isEqualToGetMetadataArgs:(DBSHARINGGetMetadataArgs *)aGetMetadataArgs { + if (self == aGetMetadataArgs) { return YES; } - if (![self.files isEqual:aGetFileMetadataBatchArg.files]) { + if (![self.sharedFolderId isEqual:aGetMetadataArgs.sharedFolderId]) { return NO; } if (self.actions) { - if (![self.actions isEqual:aGetFileMetadataBatchArg.actions]) { + if (![self.actions isEqual:aGetMetadataArgs.actions]) { return NO; } } @@ -6796,82 +8610,127 @@ - (BOOL)isEqualToGetFileMetadataBatchArg:(DBSHARINGGetFileMetadataBatchArg *)aGe #pragma mark - Serializer Object -@implementation DBSHARINGGetFileMetadataBatchArgSerializer +@implementation DBSHARINGGetMetadataArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"files"] = [DBArraySerializer serialize:valueObj.files - withBlock:^id(id elem0) { - return elem0; - }]; + jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { - return [DBSHARINGFileActionSerializer serialize:elem0]; + return [DBSHARINGFolderActionSerializer serialize:elem0]; }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *files = [DBArraySerializer deserialize:valueDict[@"files"] - withBlock:^id(id elem0) { - return elem0; - }]; - NSArray *actions = ++ (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)valueDict { + NSString *sharedFolderId = valueDict[@"shared_folder_id"]; + NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { - return [DBSHARINGFileActionSerializer deserialize:elem0]; + return [DBSHARINGFolderActionSerializer deserialize:elem0]; }] : nil; - return [[DBSHARINGGetFileMetadataBatchArg alloc] initWithFiles:files actions:actions]; + return [[DBSHARINGGetMetadataArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions]; } @end -#import "DBSHARINGGetFileMetadataBatchResult.h" -#import "DBSHARINGGetFileMetadataIndividualResult.h" +#import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetFileMetadataBatchResult +@implementation DBSHARINGSharedLinkError #pragma mark - Constructors -- (instancetype)initWithFile:(NSString *)file result:(DBSHARINGGetFileMetadataIndividualResult *)result { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(1) - maxLength:nil - pattern:@"((/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?"]](file); - [DBStoneValidators nonnullValidator:nil](result); +- (instancetype)initWithSharedLinkNotFound { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedLinkErrorSharedLinkNotFound; + } + return self; +} +- (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { - _file = file; - _result = result; + _tag = DBSHARINGSharedLinkErrorSharedLinkAccessDenied; + } + return self; +} + +- (instancetype)initWithUnsupportedLinkType { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedLinkErrorUnsupportedLinkType; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedLinkErrorOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isSharedLinkNotFound { + return _tag == DBSHARINGSharedLinkErrorSharedLinkNotFound; +} + +- (BOOL)isSharedLinkAccessDenied { + return _tag == DBSHARINGSharedLinkErrorSharedLinkAccessDenied; +} + +- (BOOL)isUnsupportedLinkType { + return _tag == DBSHARINGSharedLinkErrorUnsupportedLinkType; +} + +- (BOOL)isOther { + return _tag == DBSHARINGSharedLinkErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGSharedLinkErrorSharedLinkNotFound: + return @"DBSHARINGSharedLinkErrorSharedLinkNotFound"; + case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: + return @"DBSHARINGSharedLinkErrorSharedLinkAccessDenied"; + case DBSHARINGSharedLinkErrorUnsupportedLinkType: + return @"DBSHARINGSharedLinkErrorUnsupportedLinkType"; + case DBSHARINGSharedLinkErrorOther: + return @"DBSHARINGSharedLinkErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetFileMetadataBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSharedLinkErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetFileMetadataBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSharedLinkErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetFileMetadataBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6888,8 +8747,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.file hash]; - result = prime * result + [self.result hash]; + switch (_tag) { + case DBSHARINGSharedLinkErrorSharedLinkNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkErrorUnsupportedLinkType: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -6903,18 +8774,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileMetadataBatchResult:other]; + return [self isEqualToSharedLinkError:other]; } -- (BOOL)isEqualToGetFileMetadataBatchResult:(DBSHARINGGetFileMetadataBatchResult *)aGetFileMetadataBatchResult { - if (self == aGetFileMetadataBatchResult) { +- (BOOL)isEqualToSharedLinkError:(DBSHARINGSharedLinkError *)aSharedLinkError { + if (self == aSharedLinkError) { return YES; } - if (![self.file isEqual:aGetFileMetadataBatchResult.file]) { + if (self.tag != aSharedLinkError.tag) { return NO; } - if (![self.result isEqual:aGetFileMetadataBatchResult.result]) { - return NO; + switch (_tag) { + case DBSHARINGSharedLinkErrorSharedLinkNotFound: + return [[self tagName] isEqual:[aSharedLinkError tagName]]; + case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: + return [[self tagName] isEqual:[aSharedLinkError tagName]]; + case DBSHARINGSharedLinkErrorUnsupportedLinkType: + return [[self tagName] isEqual:[aSharedLinkError tagName]]; + case DBSHARINGSharedLinkErrorOther: + return [[self tagName] isEqual:[aSharedLinkError tagName]]; } return YES; } @@ -6923,108 +8801,131 @@ - (BOOL)isEqualToGetFileMetadataBatchResult:(DBSHARINGGetFileMetadataBatchResult #pragma mark - Serializer Object -@implementation DBSHARINGGetFileMetadataBatchResultSerializer +@implementation DBSHARINGSharedLinkErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"file"] = valueObj.file; - jsonDict[@"result"] = [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:valueObj.result]; + if ([valueObj isSharedLinkNotFound]) { + jsonDict[@".tag"] = @"shared_link_not_found"; + } else if ([valueObj isSharedLinkAccessDenied]) { + jsonDict[@".tag"] = @"shared_link_access_denied"; + } else if ([valueObj isUnsupportedLinkType]) { + jsonDict[@".tag"] = @"unsupported_link_type"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)valueDict { - NSString *file = valueDict[@"file"]; - DBSHARINGGetFileMetadataIndividualResult *result = - [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:valueDict[@"result"]]; ++ (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGGetFileMetadataBatchResult alloc] initWithFile:file result:result]; + if ([tag isEqualToString:@"shared_link_not_found"]) { + return [[DBSHARINGSharedLinkError alloc] initWithSharedLinkNotFound]; + } else if ([tag isEqualToString:@"shared_link_access_denied"]) { + return [[DBSHARINGSharedLinkError alloc] initWithSharedLinkAccessDenied]; + } else if ([tag isEqualToString:@"unsupported_link_type"]) { + return [[DBSHARINGSharedLinkError alloc] initWithUnsupportedLinkType]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGSharedLinkError alloc] initWithOther]; + } else { + return [[DBSHARINGSharedLinkError alloc] initWithOther]; + } } @end -#import "DBSHARINGGetFileMetadataError.h" -#import "DBSHARINGSharingFileAccessError.h" -#import "DBSHARINGSharingUserError.h" +#import "DBSHARINGGetSharedLinkFileError.h" +#import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetFileMetadataError - -@synthesize userError = _userError; -@synthesize accessError = _accessError; +@implementation DBSHARINGGetSharedLinkFileError #pragma mark - Constructors -- (instancetype)initWithUserError:(DBSHARINGSharingUserError *)userError { +- (instancetype)initWithSharedLinkNotFound { self = [super init]; if (self) { - _tag = DBSHARINGGetFileMetadataErrorUserError; - _userError = userError; + _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound; } return self; } -- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { +- (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { - _tag = DBSHARINGGetFileMetadataErrorAccessError; - _accessError = accessError; + _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithUnsupportedLinkType { self = [super init]; if (self) { - _tag = DBSHARINGGetFileMetadataErrorOther; + _tag = DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType; } return self; } -#pragma mark - Instance field accessors - -- (DBSHARINGSharingUserError *)userError { - if (![self isUserError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGGetFileMetadataErrorUserError, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGGetSharedLinkFileErrorOther; } - return _userError; + return self; } -- (DBSHARINGSharingFileAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGGetFileMetadataErrorAccessError, but was %@.", [self tagName]]; +- (instancetype)initWithSharedLinkIsDirectory { + self = [super init]; + if (self) { + _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory; } - return _accessError; + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isUserError { - return _tag == DBSHARINGGetFileMetadataErrorUserError; +- (BOOL)isSharedLinkNotFound { + return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound; } -- (BOOL)isAccessError { - return _tag == DBSHARINGGetFileMetadataErrorAccessError; +- (BOOL)isSharedLinkAccessDenied { + return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied; +} + +- (BOOL)isUnsupportedLinkType { + return _tag == DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType; } - (BOOL)isOther { - return _tag == DBSHARINGGetFileMetadataErrorOther; + return _tag == DBSHARINGGetSharedLinkFileErrorOther; +} + +- (BOOL)isSharedLinkIsDirectory { + return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGGetFileMetadataErrorUserError: - return @"DBSHARINGGetFileMetadataErrorUserError"; - case DBSHARINGGetFileMetadataErrorAccessError: - return @"DBSHARINGGetFileMetadataErrorAccessError"; - case DBSHARINGGetFileMetadataErrorOther: - return @"DBSHARINGGetFileMetadataErrorOther"; + case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: + return @"DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound"; + case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: + return @"DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied"; + case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: + return @"DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType"; + case DBSHARINGGetSharedLinkFileErrorOther: + return @"DBSHARINGGetSharedLinkFileErrorOther"; + case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: + return @"DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -7032,18 +8933,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetFileMetadataErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetSharedLinkFileErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetFileMetadataErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetSharedLinkFileErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetFileMetadataErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetSharedLinkFileErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7061,12 +8962,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGGetFileMetadataErrorUserError: - result = prime * result + [self.userError hash]; - case DBSHARINGGetFileMetadataErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBSHARINGGetFileMetadataErrorOther: + case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGGetSharedLinkFileErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7081,23 +8991,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileMetadataError:other]; + return [self isEqualToGetSharedLinkFileError:other]; } -- (BOOL)isEqualToGetFileMetadataError:(DBSHARINGGetFileMetadataError *)aGetFileMetadataError { - if (self == aGetFileMetadataError) { +- (BOOL)isEqualToGetSharedLinkFileError:(DBSHARINGGetSharedLinkFileError *)aGetSharedLinkFileError { + if (self == aGetSharedLinkFileError) { return YES; } - if (self.tag != aGetFileMetadataError.tag) { + if (self.tag != aGetSharedLinkFileError.tag) { return NO; } switch (_tag) { - case DBSHARINGGetFileMetadataErrorUserError: - return [self.userError isEqual:aGetFileMetadataError.userError]; - case DBSHARINGGetFileMetadataErrorAccessError: - return [self.accessError isEqual:aGetFileMetadataError.accessError]; - case DBSHARINGGetFileMetadataErrorOther: - return [[self tagName] isEqual:[aGetFileMetadataError tagName]]; + case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: + return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; + case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: + return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; + case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: + return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; + case DBSHARINGGetSharedLinkFileErrorOther: + return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; + case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: + return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; } return YES; } @@ -7106,148 +9020,90 @@ - (BOOL)isEqualToGetFileMetadataError:(DBSHARINGGetFileMetadataError *)aGetFileM #pragma mark - Serializer Object -@implementation DBSHARINGGetFileMetadataErrorSerializer +@implementation DBSHARINGGetSharedLinkFileErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserError]) { - jsonDict[@"user_error"] = [[DBSHARINGSharingUserErrorSerializer serialize:valueObj.userError] mutableCopy]; - jsonDict[@".tag"] = @"user_error"; - } else if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = - [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; + if ([valueObj isSharedLinkNotFound]) { + jsonDict[@".tag"] = @"shared_link_not_found"; + } else if ([valueObj isSharedLinkAccessDenied]) { + jsonDict[@".tag"] = @"shared_link_access_denied"; + } else if ([valueObj isUnsupportedLinkType]) { + jsonDict[@".tag"] = @"unsupported_link_type"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isSharedLinkIsDirectory]) { + jsonDict[@".tag"] = @"shared_link_is_directory"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user_error"]) { - DBSHARINGSharingUserError *userError = [DBSHARINGSharingUserErrorSerializer deserialize:valueDict[@"user_error"]]; - return [[DBSHARINGGetFileMetadataError alloc] initWithUserError:userError]; - } else if ([tag isEqualToString:@"access_error"]) { - DBSHARINGSharingFileAccessError *accessError = - [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBSHARINGGetFileMetadataError alloc] initWithAccessError:accessError]; + if ([tag isEqualToString:@"shared_link_not_found"]) { + return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkNotFound]; + } else if ([tag isEqualToString:@"shared_link_access_denied"]) { + return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkAccessDenied]; + } else if ([tag isEqualToString:@"unsupported_link_type"]) { + return [[DBSHARINGGetSharedLinkFileError alloc] initWithUnsupportedLinkType]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; + return [[DBSHARINGGetSharedLinkFileError alloc] initWithOther]; + } else if ([tag isEqualToString:@"shared_link_is_directory"]) { + return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkIsDirectory]; } else { - return [[DBSHARINGGetFileMetadataError alloc] initWithOther]; + return [[DBSHARINGGetSharedLinkFileError alloc] initWithOther]; } } @end -#import "DBSHARINGGetFileMetadataIndividualResult.h" -#import "DBSHARINGSharedFileMetadata.h" -#import "DBSHARINGSharingFileAccessError.h" +#import "DBSHARINGGetSharedLinkMetadataArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetFileMetadataIndividualResult - -@synthesize metadata = _metadata; -@synthesize accessError = _accessError; +@implementation DBSHARINGGetSharedLinkMetadataArg #pragma mark - Constructors -- (instancetype)initWithMetadata:(DBSHARINGSharedFileMetadata *)metadata { - self = [super init]; - if (self) { - _tag = DBSHARINGGetFileMetadataIndividualResultMetadata; - _metadata = metadata; - } - return self; -} - -- (instancetype)initWithAccessError:(DBSHARINGSharingFileAccessError *)accessError { - self = [super init]; - if (self) { - _tag = DBSHARINGGetFileMetadataIndividualResultAccessError; - _accessError = accessError; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBSHARINGGetFileMetadataIndividualResultOther; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBSHARINGSharedFileMetadata *)metadata { - if (![self isMetadata]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGGetFileMetadataIndividualResultMetadata, but was %@.", [self tagName]]; - } - return _metadata; -} - -- (DBSHARINGSharingFileAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGGetFileMetadataIndividualResultAccessError, but was %@.", - [self tagName]]; - } - return _accessError; -} - -#pragma mark - Tag state methods - -- (BOOL)isMetadata { - return _tag == DBSHARINGGetFileMetadataIndividualResultMetadata; -} - -- (BOOL)isAccessError { - return _tag == DBSHARINGGetFileMetadataIndividualResultAccessError; -} - -- (BOOL)isOther { - return _tag == DBSHARINGGetFileMetadataIndividualResultOther; -} +- (instancetype)initWithUrl:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword { + [DBStoneValidators nonnullValidator:nil](url); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGGetFileMetadataIndividualResultMetadata: - return @"DBSHARINGGetFileMetadataIndividualResultMetadata"; - case DBSHARINGGetFileMetadataIndividualResultAccessError: - return @"DBSHARINGGetFileMetadataIndividualResultAccessError"; - case DBSHARINGGetFileMetadataIndividualResultOther: - return @"DBSHARINGGetFileMetadataIndividualResultOther"; + self = [super init]; + if (self) { + _url = url; + _path = path; + _linkPassword = linkPassword; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithUrl:(NSString *)url { + return [self initWithUrl:url path:nil linkPassword:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetFileMetadataIndividualResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetSharedLinkMetadataArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetFileMetadataIndividualResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetSharedLinkMetadataArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetFileMetadataIndividualResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetSharedLinkMetadataArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7264,13 +9120,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGGetFileMetadataIndividualResultMetadata: - result = prime * result + [self.metadata hash]; - case DBSHARINGGetFileMetadataIndividualResultAccessError: - result = prime * result + [self.accessError hash]; - case DBSHARINGGetFileMetadataIndividualResultOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.url hash]; + if (self.path != nil) { + result = prime * result + [self.path hash]; + } + if (self.linkPassword != nil) { + result = prime * result + [self.linkPassword hash]; } return prime * result; @@ -7285,24 +9140,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetFileMetadataIndividualResult:other]; + return [self isEqualToGetSharedLinkMetadataArg:other]; } -- (BOOL)isEqualToGetFileMetadataIndividualResult: - (DBSHARINGGetFileMetadataIndividualResult *)aGetFileMetadataIndividualResult { - if (self == aGetFileMetadataIndividualResult) { +- (BOOL)isEqualToGetSharedLinkMetadataArg:(DBSHARINGGetSharedLinkMetadataArg *)aGetSharedLinkMetadataArg { + if (self == aGetSharedLinkMetadataArg) { return YES; } - if (self.tag != aGetFileMetadataIndividualResult.tag) { + if (![self.url isEqual:aGetSharedLinkMetadataArg.url]) { return NO; } - switch (_tag) { - case DBSHARINGGetFileMetadataIndividualResultMetadata: - return [self.metadata isEqual:aGetFileMetadataIndividualResult.metadata]; - case DBSHARINGGetFileMetadataIndividualResultAccessError: - return [self.accessError isEqual:aGetFileMetadataIndividualResult.accessError]; - case DBSHARINGGetFileMetadataIndividualResultOther: - return [[self tagName] isEqual:[aGetFileMetadataIndividualResult tagName]]; + if (self.path) { + if (![self.path isEqual:aGetSharedLinkMetadataArg.path]) { + return NO; + } + } + if (self.linkPassword) { + if (![self.linkPassword isEqual:aGetSharedLinkMetadataArg.linkPassword]) { + return NO; + } } return YES; } @@ -7311,91 +9167,69 @@ - (BOOL)isEqualToGetFileMetadataIndividualResult: #pragma mark - Serializer Object -@implementation DBSHARINGGetFileMetadataIndividualResultSerializer +@implementation DBSHARINGGetSharedLinkMetadataArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMetadata]) { - jsonDict[@"metadata"] = [[DBSHARINGSharedFileMetadataSerializer serialize:valueObj.metadata] mutableCopy]; - jsonDict[@".tag"] = @"metadata"; - } else if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = - [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"url"] = valueObj.url; + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; + } + if (valueObj.linkPassword) { + jsonDict[@"link_password"] = valueObj.linkPassword; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; + NSString *path = valueDict[@"path"] ?: nil; + NSString *linkPassword = valueDict[@"link_password"] ?: nil; - if ([tag isEqualToString:@"metadata"]) { - DBSHARINGSharedFileMetadata *metadata = [DBSHARINGSharedFileMetadataSerializer deserialize:valueDict]; - return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithMetadata:metadata]; - } else if ([tag isEqualToString:@"access_error"]) { - DBSHARINGSharingFileAccessError *accessError = - [DBSHARINGSharingFileAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithOther]; - } else { - return [[DBSHARINGGetFileMetadataIndividualResult alloc] initWithOther]; - } + return [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; } @end -#import "DBSHARINGFolderAction.h" -#import "DBSHARINGGetMetadataArgs.h" +#import "DBSHARINGGetSharedLinksArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetMetadataArgs +@implementation DBSHARINGGetSharedLinksArg #pragma mark - Constructors -- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId actions:(NSArray *)actions { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](actions); +- (instancetype)initWithPath:(NSString *)path { self = [super init]; if (self) { - _sharedFolderId = sharedFolderId; - _actions = actions; + _path = path; } return self; } -- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { - return [self initWithSharedFolderId:sharedFolderId actions:nil]; +- (instancetype)initDefault { + return [self initWithPath:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetMetadataArgsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetSharedLinksArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetMetadataArgsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetSharedLinksArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetMetadataArgsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetSharedLinksArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7412,9 +9246,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharedFolderId hash]; - if (self.actions != nil) { - result = prime * result + [self.actions hash]; + if (self.path != nil) { + result = prime * result + [self.path hash]; } return prime * result; @@ -7429,18 +9262,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetMetadataArgs:other]; + return [self isEqualToGetSharedLinksArg:other]; } -- (BOOL)isEqualToGetMetadataArgs:(DBSHARINGGetMetadataArgs *)aGetMetadataArgs { - if (self == aGetMetadataArgs) { +- (BOOL)isEqualToGetSharedLinksArg:(DBSHARINGGetSharedLinksArg *)aGetSharedLinksArg { + if (self == aGetSharedLinksArg) { return YES; } - if (![self.sharedFolderId isEqual:aGetMetadataArgs.sharedFolderId]) { - return NO; - } - if (self.actions) { - if (![self.actions isEqual:aGetMetadataArgs.actions]) { + if (self.path) { + if (![self.path isEqual:aGetSharedLinksArg.path]) { return NO; } } @@ -7451,66 +9281,43 @@ - (BOOL)isEqualToGetMetadataArgs:(DBSHARINGGetMetadataArgs *)aGetMetadataArgs { #pragma mark - Serializer Object -@implementation DBSHARINGGetMetadataArgsSerializer +@implementation DBSHARINGGetSharedLinksArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - if (valueObj.actions) { - jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions - withBlock:^id(id elem0) { - return [DBSHARINGFolderActionSerializer serialize:elem0]; - }]; + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)valueDict { - NSString *sharedFolderId = valueDict[@"shared_folder_id"]; - NSArray *actions = - valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] - withBlock:^id(id elem0) { - return [DBSHARINGFolderActionSerializer deserialize:elem0]; - }] - : nil; ++ (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)valueDict { + NSString *path = valueDict[@"path"] ?: nil; - return [[DBSHARINGGetMetadataArgs alloc] initWithSharedFolderId:sharedFolderId actions:actions]; + return [[DBSHARINGGetSharedLinksArg alloc] initWithPath:path]; } @end -#import "DBSHARINGSharedLinkError.h" +#import "DBSHARINGGetSharedLinksError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGSharedLinkError - -#pragma mark - Constructors +@implementation DBSHARINGGetSharedLinksError -- (instancetype)initWithSharedLinkNotFound { - self = [super init]; - if (self) { - _tag = DBSHARINGSharedLinkErrorSharedLinkNotFound; - } - return self; -} +@synthesize path = _path; -- (instancetype)initWithSharedLinkAccessDenied { - self = [super init]; - if (self) { - _tag = DBSHARINGSharedLinkErrorSharedLinkAccessDenied; - } - return self; -} +#pragma mark - Constructors -- (instancetype)initWithUnsupportedLinkType { +- (instancetype)initWithPath:(NSString *)path { self = [super init]; if (self) { - _tag = DBSHARINGSharedLinkErrorUnsupportedLinkType; + _tag = DBSHARINGGetSharedLinksErrorPath; + _path = path; } return self; } @@ -7518,41 +9325,37 @@ - (instancetype)initWithUnsupportedLinkType { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGSharedLinkErrorOther; + _tag = DBSHARINGGetSharedLinksErrorOther; } return self; } #pragma mark - Instance field accessors -#pragma mark - Tag state methods - -- (BOOL)isSharedLinkNotFound { - return _tag == DBSHARINGSharedLinkErrorSharedLinkNotFound; +- (NSString *)path { + if (![self isPath]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGGetSharedLinksErrorPath, but was %@.", [self tagName]]; + } + return _path; } -- (BOOL)isSharedLinkAccessDenied { - return _tag == DBSHARINGSharedLinkErrorSharedLinkAccessDenied; -} +#pragma mark - Tag state methods -- (BOOL)isUnsupportedLinkType { - return _tag == DBSHARINGSharedLinkErrorUnsupportedLinkType; +- (BOOL)isPath { + return _tag == DBSHARINGGetSharedLinksErrorPath; } - (BOOL)isOther { - return _tag == DBSHARINGSharedLinkErrorOther; + return _tag == DBSHARINGGetSharedLinksErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGSharedLinkErrorSharedLinkNotFound: - return @"DBSHARINGSharedLinkErrorSharedLinkNotFound"; - case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: - return @"DBSHARINGSharedLinkErrorSharedLinkAccessDenied"; - case DBSHARINGSharedLinkErrorUnsupportedLinkType: - return @"DBSHARINGSharedLinkErrorUnsupportedLinkType"; - case DBSHARINGSharedLinkErrorOther: - return @"DBSHARINGSharedLinkErrorOther"; + case DBSHARINGGetSharedLinksErrorPath: + return @"DBSHARINGGetSharedLinksErrorPath"; + case DBSHARINGGetSharedLinksErrorOther: + return @"DBSHARINGGetSharedLinksErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -7560,18 +9363,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGSharedLinkErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetSharedLinksErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGSharedLinkErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetSharedLinksErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGSharedLinkErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetSharedLinksErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7589,14 +9392,14 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGSharedLinkErrorSharedLinkNotFound: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkErrorUnsupportedLinkType: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkErrorOther: + case DBSHARINGGetSharedLinksErrorPath: + if (self.path != nil) { + result = prime * result + [self.path hash]; + } + break; + case DBSHARINGGetSharedLinksErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7611,25 +9414,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedLinkError:other]; + return [self isEqualToGetSharedLinksError:other]; } -- (BOOL)isEqualToSharedLinkError:(DBSHARINGSharedLinkError *)aSharedLinkError { - if (self == aSharedLinkError) { +- (BOOL)isEqualToGetSharedLinksError:(DBSHARINGGetSharedLinksError *)aGetSharedLinksError { + if (self == aGetSharedLinksError) { return YES; } - if (self.tag != aSharedLinkError.tag) { + if (self.tag != aGetSharedLinksError.tag) { return NO; } switch (_tag) { - case DBSHARINGSharedLinkErrorSharedLinkNotFound: - return [[self tagName] isEqual:[aSharedLinkError tagName]]; - case DBSHARINGSharedLinkErrorSharedLinkAccessDenied: - return [[self tagName] isEqual:[aSharedLinkError tagName]]; - case DBSHARINGSharedLinkErrorUnsupportedLinkType: - return [[self tagName] isEqual:[aSharedLinkError tagName]]; - case DBSHARINGSharedLinkErrorOther: - return [[self tagName] isEqual:[aSharedLinkError tagName]]; + case DBSHARINGGetSharedLinksErrorPath: + if (self.path) { + return [self.path isEqual:aGetSharedLinksError.path]; + } + case DBSHARINGGetSharedLinksErrorOther: + return [[self tagName] isEqual:[aGetSharedLinksError tagName]]; } return YES; } @@ -7638,150 +9439,78 @@ - (BOOL)isEqualToSharedLinkError:(DBSHARINGSharedLinkError *)aSharedLinkError { #pragma mark - Serializer Object -@implementation DBSHARINGSharedLinkErrorSerializer +@implementation DBSHARINGGetSharedLinksErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSharedLinkNotFound]) { - jsonDict[@".tag"] = @"shared_link_not_found"; - } else if ([valueObj isSharedLinkAccessDenied]) { - jsonDict[@".tag"] = @"shared_link_access_denied"; - } else if ([valueObj isUnsupportedLinkType]) { - jsonDict[@".tag"] = @"unsupported_link_type"; + if ([valueObj isPath]) { + if (valueObj.path) { + jsonDict[@"path"] = valueObj.path; + } + jsonDict[@".tag"] = @"path"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"shared_link_not_found"]) { - return [[DBSHARINGSharedLinkError alloc] initWithSharedLinkNotFound]; - } else if ([tag isEqualToString:@"shared_link_access_denied"]) { - return [[DBSHARINGSharedLinkError alloc] initWithSharedLinkAccessDenied]; - } else if ([tag isEqualToString:@"unsupported_link_type"]) { - return [[DBSHARINGSharedLinkError alloc] initWithUnsupportedLinkType]; + if ([tag isEqualToString:@"path"]) { + NSString *path = valueDict[@"path"] ? valueDict[@"path"] : nil; + return [[DBSHARINGGetSharedLinksError alloc] initWithPath:path]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGSharedLinkError alloc] initWithOther]; + return [[DBSHARINGGetSharedLinksError alloc] initWithOther]; } else { - return [[DBSHARINGSharedLinkError alloc] initWithOther]; + return [[DBSHARINGGetSharedLinksError alloc] initWithOther]; } } @end -#import "DBSHARINGGetSharedLinkFileError.h" -#import "DBSHARINGSharedLinkError.h" +#import "DBSHARINGGetSharedLinksResult.h" +#import "DBSHARINGLinkMetadata.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetSharedLinkFileError +@implementation DBSHARINGGetSharedLinksResult #pragma mark - Constructors -- (instancetype)initWithSharedLinkNotFound { - self = [super init]; - if (self) { - _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound; - } - return self; -} - -- (instancetype)initWithSharedLinkAccessDenied { - self = [super init]; - if (self) { - _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied; - } - return self; -} - -- (instancetype)initWithUnsupportedLinkType { - self = [super init]; - if (self) { - _tag = DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBSHARINGGetSharedLinkFileErrorOther; - } - return self; -} +- (instancetype)initWithLinks:(NSArray *)links { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](links); -- (instancetype)initWithSharedLinkIsDirectory { self = [super init]; if (self) { - _tag = DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory; + _links = links; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isSharedLinkNotFound { - return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound; -} - -- (BOOL)isSharedLinkAccessDenied { - return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied; -} - -- (BOOL)isUnsupportedLinkType { - return _tag == DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType; -} - -- (BOOL)isOther { - return _tag == DBSHARINGGetSharedLinkFileErrorOther; -} - -- (BOOL)isSharedLinkIsDirectory { - return _tag == DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: - return @"DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound"; - case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: - return @"DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied"; - case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: - return @"DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType"; - case DBSHARINGGetSharedLinkFileErrorOther: - return @"DBSHARINGGetSharedLinkFileErrorOther"; - case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: - return @"DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetSharedLinkFileErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGetSharedLinksResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetSharedLinkFileErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGetSharedLinksResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetSharedLinkFileErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGetSharedLinksResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7798,18 +9527,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: - result = prime * result + [[self tagName] hash]; - case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: - result = prime * result + [[self tagName] hash]; - case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: - result = prime * result + [[self tagName] hash]; - case DBSHARINGGetSharedLinkFileErrorOther: - result = prime * result + [[self tagName] hash]; - case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.links hash]; return prime * result; } @@ -7823,28 +9541,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetSharedLinkFileError:other]; + return [self isEqualToGetSharedLinksResult:other]; } -- (BOOL)isEqualToGetSharedLinkFileError:(DBSHARINGGetSharedLinkFileError *)aGetSharedLinkFileError { - if (self == aGetSharedLinkFileError) { +- (BOOL)isEqualToGetSharedLinksResult:(DBSHARINGGetSharedLinksResult *)aGetSharedLinksResult { + if (self == aGetSharedLinksResult) { return YES; } - if (self.tag != aGetSharedLinkFileError.tag) { + if (![self.links isEqual:aGetSharedLinksResult.links]) { return NO; } - switch (_tag) { - case DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound: - return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; - case DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied: - return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; - case DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType: - return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; - case DBSHARINGGetSharedLinkFileErrorOther: - return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; - case DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory: - return [[self tagName] isEqual:[aGetSharedLinkFileError tagName]]; - } return YES; } @@ -7852,90 +9558,107 @@ - (BOOL)isEqualToGetSharedLinkFileError:(DBSHARINGGetSharedLinkFileError *)aGetS #pragma mark - Serializer Object -@implementation DBSHARINGGetSharedLinkFileErrorSerializer +@implementation DBSHARINGGetSharedLinksResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSharedLinkNotFound]) { - jsonDict[@".tag"] = @"shared_link_not_found"; - } else if ([valueObj isSharedLinkAccessDenied]) { - jsonDict[@".tag"] = @"shared_link_access_denied"; - } else if ([valueObj isUnsupportedLinkType]) { - jsonDict[@".tag"] = @"unsupported_link_type"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isSharedLinkIsDirectory]) { - jsonDict[@".tag"] = @"shared_link_is_directory"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"links"] = [DBArraySerializer serialize:valueObj.links + withBlock:^id(id elem0) { + return [DBSHARINGLinkMetadataSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)valueDict { + NSArray *links = + [DBArraySerializer deserialize:valueDict[@"links"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkMetadataSerializer deserialize:elem0]; + }]; - if ([tag isEqualToString:@"shared_link_not_found"]) { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkNotFound]; - } else if ([tag isEqualToString:@"shared_link_access_denied"]) { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkAccessDenied]; - } else if ([tag isEqualToString:@"unsupported_link_type"]) { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithUnsupportedLinkType]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithOther]; - } else if ([tag isEqualToString:@"shared_link_is_directory"]) { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithSharedLinkIsDirectory]; - } else { - return [[DBSHARINGGetSharedLinkFileError alloc] initWithOther]; - } + return [[DBSHARINGGetSharedLinksResult alloc] initWithLinks:links]; } @end -#import "DBSHARINGGetSharedLinkMetadataArg.h" +#import "DBSHARINGGroupInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" +#import "DBTEAMCOMMONGroupManagementType.h" +#import "DBTEAMCOMMONGroupSummary.h" +#import "DBTEAMCOMMONGroupType.h" #pragma mark - API Object -@implementation DBSHARINGGetSharedLinkMetadataArg +@implementation DBSHARINGGroupInfo #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword { - [DBStoneValidators nonnullValidator:nil](url); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"/(.|[\\r\\n])*"]](path); +- (instancetype)initWithGroupName:(NSString *)groupName + groupId:(NSString *)groupId + groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType + groupType:(DBTEAMCOMMONGroupType *)groupType + isMember:(NSNumber *)isMember + isOwner:(NSNumber *)isOwner + sameTeam:(NSNumber *)sameTeam + groupExternalId:(NSString *)groupExternalId + memberCount:(NSNumber *)memberCount { + [DBStoneValidators nonnullValidator:nil](groupName); + [DBStoneValidators nonnullValidator:nil](groupId); + [DBStoneValidators nonnullValidator:nil](groupManagementType); + [DBStoneValidators nonnullValidator:nil](groupType); + [DBStoneValidators nonnullValidator:nil](isMember); + [DBStoneValidators nonnullValidator:nil](isOwner); + [DBStoneValidators nonnullValidator:nil](sameTeam); - self = [super init]; + self = [super initWithGroupName:groupName + groupId:groupId + groupManagementType:groupManagementType + groupExternalId:groupExternalId + memberCount:memberCount]; if (self) { - _url = url; - _path = path; - _linkPassword = linkPassword; + _groupType = groupType; + _isMember = isMember; + _isOwner = isOwner; + _sameTeam = sameTeam; } return self; } -- (instancetype)initWithUrl:(NSString *)url { - return [self initWithUrl:url path:nil linkPassword:nil]; +- (instancetype)initWithGroupName:(NSString *)groupName + groupId:(NSString *)groupId + groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType + groupType:(DBTEAMCOMMONGroupType *)groupType + isMember:(NSNumber *)isMember + isOwner:(NSNumber *)isOwner + sameTeam:(NSNumber *)sameTeam { + return [self initWithGroupName:groupName + groupId:groupId + groupManagementType:groupManagementType + groupType:groupType + isMember:isMember + isOwner:isOwner + sameTeam:sameTeam + groupExternalId:nil + memberCount:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetSharedLinkMetadataArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGroupInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetSharedLinkMetadataArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGroupInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetSharedLinkMetadataArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGroupInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7952,12 +9675,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; - if (self.path != nil) { - result = prime * result + [self.path hash]; + result = prime * result + [self.groupName hash]; + result = prime * result + [self.groupId hash]; + result = prime * result + [self.groupManagementType hash]; + result = prime * result + [self.groupType hash]; + result = prime * result + [self.isMember hash]; + result = prime * result + [self.isOwner hash]; + result = prime * result + [self.sameTeam hash]; + if (self.groupExternalId != nil) { + result = prime * result + [self.groupExternalId hash]; } - if (self.linkPassword != nil) { - result = prime * result + [self.linkPassword hash]; + if (self.memberCount != nil) { + result = prime * result + [self.memberCount hash]; } return prime * result; @@ -7972,23 +9701,41 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetSharedLinkMetadataArg:other]; + return [self isEqualToGroupInfo:other]; } -- (BOOL)isEqualToGetSharedLinkMetadataArg:(DBSHARINGGetSharedLinkMetadataArg *)aGetSharedLinkMetadataArg { - if (self == aGetSharedLinkMetadataArg) { +- (BOOL)isEqualToGroupInfo:(DBSHARINGGroupInfo *)aGroupInfo { + if (self == aGroupInfo) { return YES; } - if (![self.url isEqual:aGetSharedLinkMetadataArg.url]) { + if (![self.groupName isEqual:aGroupInfo.groupName]) { return NO; } - if (self.path) { - if (![self.path isEqual:aGetSharedLinkMetadataArg.path]) { + if (![self.groupId isEqual:aGroupInfo.groupId]) { + return NO; + } + if (![self.groupManagementType isEqual:aGroupInfo.groupManagementType]) { + return NO; + } + if (![self.groupType isEqual:aGroupInfo.groupType]) { + return NO; + } + if (![self.isMember isEqual:aGroupInfo.isMember]) { + return NO; + } + if (![self.isOwner isEqual:aGroupInfo.isOwner]) { + return NO; + } + if (![self.sameTeam isEqual:aGroupInfo.sameTeam]) { + return NO; + } + if (self.groupExternalId) { + if (![self.groupExternalId isEqual:aGroupInfo.groupExternalId]) { return NO; } } - if (self.linkPassword) { - if (![self.linkPassword isEqual:aGetSharedLinkMetadataArg.linkPassword]) { + if (self.memberCount) { + if (![self.memberCount isEqual:aGroupInfo.memberCount]) { return NO; } } @@ -7999,69 +9746,104 @@ - (BOOL)isEqualToGetSharedLinkMetadataArg:(DBSHARINGGetSharedLinkMetadataArg *)a #pragma mark - Serializer Object -@implementation DBSHARINGGetSharedLinkMetadataArgSerializer +@implementation DBSHARINGGroupInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGroupInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; - if (valueObj.path) { - jsonDict[@"path"] = valueObj.path; + jsonDict[@"group_name"] = valueObj.groupName; + jsonDict[@"group_id"] = valueObj.groupId; + jsonDict[@"group_management_type"] = + [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; + jsonDict[@"group_type"] = [DBTEAMCOMMONGroupTypeSerializer serialize:valueObj.groupType]; + jsonDict[@"is_member"] = valueObj.isMember; + jsonDict[@"is_owner"] = valueObj.isOwner; + jsonDict[@"same_team"] = valueObj.sameTeam; + if (valueObj.groupExternalId) { + jsonDict[@"group_external_id"] = valueObj.groupExternalId; } - if (valueObj.linkPassword) { - jsonDict[@"link_password"] = valueObj.linkPassword; + if (valueObj.memberCount) { + jsonDict[@"member_count"] = valueObj.memberCount; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; - NSString *path = valueDict[@"path"] ?: nil; - NSString *linkPassword = valueDict[@"link_password"] ?: nil; ++ (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)valueDict { + NSString *groupName = valueDict[@"group_name"]; + NSString *groupId = valueDict[@"group_id"]; + DBTEAMCOMMONGroupManagementType *groupManagementType = + [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"group_management_type"]]; + DBTEAMCOMMONGroupType *groupType = [DBTEAMCOMMONGroupTypeSerializer deserialize:valueDict[@"group_type"]]; + NSNumber *isMember = valueDict[@"is_member"]; + NSNumber *isOwner = valueDict[@"is_owner"]; + NSNumber *sameTeam = valueDict[@"same_team"]; + NSString *groupExternalId = valueDict[@"group_external_id"] ?: nil; + NSNumber *memberCount = valueDict[@"member_count"] ?: nil; - return [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; + return [[DBSHARINGGroupInfo alloc] initWithGroupName:groupName + groupId:groupId + groupManagementType:groupManagementType + groupType:groupType + isMember:isMember + isOwner:isOwner + sameTeam:sameTeam + groupExternalId:groupExternalId + memberCount:memberCount]; } @end -#import "DBSHARINGGetSharedLinksArg.h" +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGMemberPermission.h" +#import "DBSHARINGMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetSharedLinksArg +@implementation DBSHARINGMembershipInfo #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path { +- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType + permissions:(NSArray *)permissions + initials:(NSString *)initials + isInherited:(NSNumber *)isInherited { + [DBStoneValidators nonnullValidator:nil](accessType); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); self = [super init]; if (self) { - _path = path; + _accessType = accessType; + _permissions = permissions; + _initials = initials; + _isInherited = isInherited ?: @NO; } return self; } -- (instancetype)initDefault { - return [self initWithPath:nil]; +- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType { + return [self initWithAccessType:accessType permissions:nil initials:nil isInherited:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetSharedLinksArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGMembershipInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetSharedLinksArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGMembershipInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetSharedLinksArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8078,9 +9860,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.path != nil) { - result = prime * result + [self.path hash]; + result = prime * result + [self.accessType hash]; + if (self.permissions != nil) { + result = prime * result + [self.permissions hash]; } + if (self.initials != nil) { + result = prime * result + [self.initials hash]; + } + result = prime * result + [self.isInherited hash]; return prime * result; } @@ -8094,18 +9881,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetSharedLinksArg:other]; + return [self isEqualToMembershipInfo:other]; } -- (BOOL)isEqualToGetSharedLinksArg:(DBSHARINGGetSharedLinksArg *)aGetSharedLinksArg { - if (self == aGetSharedLinksArg) { +- (BOOL)isEqualToMembershipInfo:(DBSHARINGMembershipInfo *)aMembershipInfo { + if (self == aMembershipInfo) { return YES; } - if (self.path) { - if (![self.path isEqual:aGetSharedLinksArg.path]) { + if (![self.accessType isEqual:aMembershipInfo.accessType]) { + return NO; + } + if (self.permissions) { + if (![self.permissions isEqual:aMembershipInfo.permissions]) { + return NO; + } + } + if (self.initials) { + if (![self.initials isEqual:aMembershipInfo.initials]) { return NO; } } + if (![self.isInherited isEqual:aMembershipInfo.isInherited]) { + return NO; + } return YES; } @@ -8113,100 +9911,96 @@ - (BOOL)isEqualToGetSharedLinksArg:(DBSHARINGGetSharedLinksArg *)aGetSharedLinks #pragma mark - Serializer Object -@implementation DBSHARINGGetSharedLinksArgSerializer +@implementation DBSHARINGMembershipInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.path) { - jsonDict[@"path"] = valueObj.path; + jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; + if (valueObj.permissions) { + jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions + withBlock:^id(id elem0) { + return [DBSHARINGMemberPermissionSerializer serialize:elem0]; + }]; + } + if (valueObj.initials) { + jsonDict[@"initials"] = valueObj.initials; } + jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)valueDict { - NSString *path = valueDict[@"path"] ?: nil; ++ (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; + NSArray *permissions = + valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] + withBlock:^id(id elem0) { + return [DBSHARINGMemberPermissionSerializer deserialize:elem0]; + }] + : nil; + NSString *initials = valueDict[@"initials"] ?: nil; + NSNumber *isInherited = valueDict[@"is_inherited"] ?: @NO; - return [[DBSHARINGGetSharedLinksArg alloc] initWithPath:path]; + return [[DBSHARINGMembershipInfo alloc] initWithAccessType:accessType + permissions:permissions + initials:initials + isInherited:isInherited]; } @end -#import "DBSHARINGGetSharedLinksError.h" +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGGroupInfo.h" +#import "DBSHARINGGroupMembershipInfo.h" +#import "DBSHARINGMemberPermission.h" +#import "DBSHARINGMembershipInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetSharedLinksError - -@synthesize path = _path; +@implementation DBSHARINGGroupMembershipInfo #pragma mark - Constructors -- (instancetype)initWithPath:(NSString *)path { - self = [super init]; - if (self) { - _tag = DBSHARINGGetSharedLinksErrorPath; - _path = path; - } - return self; -} +- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType + group:(DBSHARINGGroupInfo *)group + permissions:(NSArray *)permissions + initials:(NSString *)initials + isInherited:(NSNumber *)isInherited { + [DBStoneValidators nonnullValidator:nil](accessType); + [DBStoneValidators nonnullValidator:nil](group); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); -- (instancetype)initWithOther { - self = [super init]; + self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; if (self) { - _tag = DBSHARINGGetSharedLinksErrorOther; + _group = group; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)path { - if (![self isPath]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGGetSharedLinksErrorPath, but was %@.", [self tagName]]; - } - return _path; -} - -#pragma mark - Tag state methods - -- (BOOL)isPath { - return _tag == DBSHARINGGetSharedLinksErrorPath; -} - -- (BOOL)isOther { - return _tag == DBSHARINGGetSharedLinksErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGGetSharedLinksErrorPath: - return @"DBSHARINGGetSharedLinksErrorPath"; - case DBSHARINGGetSharedLinksErrorOther: - return @"DBSHARINGGetSharedLinksErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType group:(DBSHARINGGroupInfo *)group { + return [self initWithAccessType:accessType group:group permissions:nil initials:nil isInherited:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetSharedLinksErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGGroupMembershipInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetSharedLinksErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGGroupMembershipInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetSharedLinksErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGGroupMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8223,14 +10017,15 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGGetSharedLinksErrorPath: - if (self.path != nil) { - result = prime * result + [self.path hash]; - } - case DBSHARINGGetSharedLinksErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.accessType hash]; + result = prime * result + [self.group hash]; + if (self.permissions != nil) { + result = prime * result + [self.permissions hash]; } + if (self.initials != nil) { + result = prime * result + [self.initials hash]; + } + result = prime * result + [self.isInherited hash]; return prime * result; } @@ -8244,23 +10039,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetSharedLinksError:other]; + return [self isEqualToGroupMembershipInfo:other]; } -- (BOOL)isEqualToGetSharedLinksError:(DBSHARINGGetSharedLinksError *)aGetSharedLinksError { - if (self == aGetSharedLinksError) { +- (BOOL)isEqualToGroupMembershipInfo:(DBSHARINGGroupMembershipInfo *)aGroupMembershipInfo { + if (self == aGroupMembershipInfo) { return YES; } - if (self.tag != aGetSharedLinksError.tag) { + if (![self.accessType isEqual:aGroupMembershipInfo.accessType]) { return NO; } - switch (_tag) { - case DBSHARINGGetSharedLinksErrorPath: - if (self.path) { - return [self.path isEqual:aGetSharedLinksError.path]; + if (![self.group isEqual:aGroupMembershipInfo.group]) { + return NO; + } + if (self.permissions) { + if (![self.permissions isEqual:aGroupMembershipInfo.permissions]) { + return NO; } - case DBSHARINGGetSharedLinksErrorOther: - return [[self tagName] isEqual:[aGetSharedLinksError tagName]]; + } + if (self.initials) { + if (![self.initials isEqual:aGroupMembershipInfo.initials]) { + return NO; + } + } + if (![self.isInherited isEqual:aGroupMembershipInfo.isInherited]) { + return NO; } return YES; } @@ -8269,78 +10072,87 @@ - (BOOL)isEqualToGetSharedLinksError:(DBSHARINGGetSharedLinksError *)aGetSharedL #pragma mark - Serializer Object -@implementation DBSHARINGGetSharedLinksErrorSerializer +@implementation DBSHARINGGroupMembershipInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPath]) { - if (valueObj.path) { - jsonDict[@"path"] = valueObj.path; - } - jsonDict[@".tag"] = @"path"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; + jsonDict[@"group"] = [DBSHARINGGroupInfoSerializer serialize:valueObj.group]; + if (valueObj.permissions) { + jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions + withBlock:^id(id elem0) { + return [DBSHARINGMemberPermissionSerializer serialize:elem0]; + }]; + } + if (valueObj.initials) { + jsonDict[@"initials"] = valueObj.initials; } + jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; + DBSHARINGGroupInfo *group = [DBSHARINGGroupInfoSerializer deserialize:valueDict[@"group"]]; + NSArray *permissions = + valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] + withBlock:^id(id elem0) { + return [DBSHARINGMemberPermissionSerializer deserialize:elem0]; + }] + : nil; + NSString *initials = valueDict[@"initials"] ?: nil; + NSNumber *isInherited = valueDict[@"is_inherited"] ?: @NO; - if ([tag isEqualToString:@"path"]) { - NSString *path = valueDict[@"path"] ? valueDict[@"path"] : nil; - return [[DBSHARINGGetSharedLinksError alloc] initWithPath:path]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGGetSharedLinksError alloc] initWithOther]; - } else { - return [[DBSHARINGGetSharedLinksError alloc] initWithOther]; - } + return [[DBSHARINGGroupMembershipInfo alloc] initWithAccessType:accessType + group:group + permissions:permissions + initials:initials + isInherited:isInherited]; } @end -#import "DBSHARINGGetSharedLinksResult.h" -#import "DBSHARINGLinkMetadata.h" +#import "DBSHARINGInsufficientPlan.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGetSharedLinksResult +@implementation DBSHARINGInsufficientPlan #pragma mark - Constructors -- (instancetype)initWithLinks:(NSArray *)links { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](links); +- (instancetype)initWithMessage:(NSString *)message upsellUrl:(NSString *)upsellUrl { + [DBStoneValidators nonnullValidator:nil](message); self = [super init]; if (self) { - _links = links; + _message = message; + _upsellUrl = upsellUrl; } return self; } +- (instancetype)initWithMessage:(NSString *)message { + return [self initWithMessage:message upsellUrl:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGetSharedLinksResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGInsufficientPlanSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGetSharedLinksResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGInsufficientPlanSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGetSharedLinksResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGInsufficientPlanSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8357,7 +10169,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.links hash]; + result = prime * result + [self.message hash]; + if (self.upsellUrl != nil) { + result = prime * result + [self.upsellUrl hash]; + } return prime * result; } @@ -8371,16 +10186,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetSharedLinksResult:other]; + return [self isEqualToInsufficientPlan:other]; } -- (BOOL)isEqualToGetSharedLinksResult:(DBSHARINGGetSharedLinksResult *)aGetSharedLinksResult { - if (self == aGetSharedLinksResult) { +- (BOOL)isEqualToInsufficientPlan:(DBSHARINGInsufficientPlan *)anInsufficientPlan { + if (self == anInsufficientPlan) { return YES; } - if (![self.links isEqual:aGetSharedLinksResult.links]) { + if (![self.message isEqual:anInsufficientPlan.message]) { return NO; } + if (self.upsellUrl) { + if (![self.upsellUrl isEqual:anInsufficientPlan.upsellUrl]) { + return NO; + } + } return YES; } @@ -8388,107 +10208,68 @@ - (BOOL)isEqualToGetSharedLinksResult:(DBSHARINGGetSharedLinksResult *)aGetShare #pragma mark - Serializer Object -@implementation DBSHARINGGetSharedLinksResultSerializer +@implementation DBSHARINGInsufficientPlanSerializer -+ (NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"links"] = [DBArraySerializer serialize:valueObj.links - withBlock:^id(id elem0) { - return [DBSHARINGLinkMetadataSerializer serialize:elem0]; - }]; + jsonDict[@"message"] = valueObj.message; + if (valueObj.upsellUrl) { + jsonDict[@"upsell_url"] = valueObj.upsellUrl; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)valueDict { - NSArray *links = - [DBArraySerializer deserialize:valueDict[@"links"] - withBlock:^id(id elem0) { - return [DBSHARINGLinkMetadataSerializer deserialize:elem0]; - }]; ++ (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)valueDict { + NSString *message = valueDict[@"message"]; + NSString *upsellUrl = valueDict[@"upsell_url"] ?: nil; - return [[DBSHARINGGetSharedLinksResult alloc] initWithLinks:links]; + return [[DBSHARINGInsufficientPlan alloc] initWithMessage:message upsellUrl:upsellUrl]; } @end -#import "DBSHARINGGroupInfo.h" +#import "DBSHARINGInsufficientQuotaAmounts.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMCOMMONGroupManagementType.h" -#import "DBTEAMCOMMONGroupSummary.h" -#import "DBTEAMCOMMONGroupType.h" #pragma mark - API Object -@implementation DBSHARINGGroupInfo +@implementation DBSHARINGInsufficientQuotaAmounts #pragma mark - Constructors -- (instancetype)initWithGroupName:(NSString *)groupName - groupId:(NSString *)groupId - groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType - groupType:(DBTEAMCOMMONGroupType *)groupType - isMember:(NSNumber *)isMember - isOwner:(NSNumber *)isOwner - sameTeam:(NSNumber *)sameTeam - groupExternalId:(NSString *)groupExternalId - memberCount:(NSNumber *)memberCount { - [DBStoneValidators nonnullValidator:nil](groupName); - [DBStoneValidators nonnullValidator:nil](groupId); - [DBStoneValidators nonnullValidator:nil](groupManagementType); - [DBStoneValidators nonnullValidator:nil](groupType); - [DBStoneValidators nonnullValidator:nil](isMember); - [DBStoneValidators nonnullValidator:nil](isOwner); - [DBStoneValidators nonnullValidator:nil](sameTeam); +- (instancetype)initWithSpaceNeeded:(NSNumber *)spaceNeeded + spaceShortage:(NSNumber *)spaceShortage + spaceLeft:(NSNumber *)spaceLeft { + [DBStoneValidators nonnullValidator:nil](spaceNeeded); + [DBStoneValidators nonnullValidator:nil](spaceShortage); + [DBStoneValidators nonnullValidator:nil](spaceLeft); - self = [super initWithGroupName:groupName - groupId:groupId - groupManagementType:groupManagementType - groupExternalId:groupExternalId - memberCount:memberCount]; + self = [super init]; if (self) { - _groupType = groupType; - _isMember = isMember; - _isOwner = isOwner; - _sameTeam = sameTeam; + _spaceNeeded = spaceNeeded; + _spaceShortage = spaceShortage; + _spaceLeft = spaceLeft; } return self; } -- (instancetype)initWithGroupName:(NSString *)groupName - groupId:(NSString *)groupId - groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType - groupType:(DBTEAMCOMMONGroupType *)groupType - isMember:(NSNumber *)isMember - isOwner:(NSNumber *)isOwner - sameTeam:(NSNumber *)sameTeam { - return [self initWithGroupName:groupName - groupId:groupId - groupManagementType:groupManagementType - groupType:groupType - isMember:isMember - isOwner:isOwner - sameTeam:sameTeam - groupExternalId:nil - memberCount:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGroupInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGInsufficientQuotaAmountsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGroupInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGInsufficientQuotaAmountsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGroupInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGInsufficientQuotaAmountsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8505,19 +10286,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.groupName hash]; - result = prime * result + [self.groupId hash]; - result = prime * result + [self.groupManagementType hash]; - result = prime * result + [self.groupType hash]; - result = prime * result + [self.isMember hash]; - result = prime * result + [self.isOwner hash]; - result = prime * result + [self.sameTeam hash]; - if (self.groupExternalId != nil) { - result = prime * result + [self.groupExternalId hash]; - } - if (self.memberCount != nil) { - result = prime * result + [self.memberCount hash]; - } + result = prime * result + [self.spaceNeeded hash]; + result = prime * result + [self.spaceShortage hash]; + result = prime * result + [self.spaceLeft hash]; return prime * result; } @@ -8531,43 +10302,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupInfo:other]; -} - -- (BOOL)isEqualToGroupInfo:(DBSHARINGGroupInfo *)aGroupInfo { - if (self == aGroupInfo) { - return YES; - } - if (![self.groupName isEqual:aGroupInfo.groupName]) { - return NO; - } - if (![self.groupId isEqual:aGroupInfo.groupId]) { - return NO; - } - if (![self.groupManagementType isEqual:aGroupInfo.groupManagementType]) { - return NO; - } - if (![self.groupType isEqual:aGroupInfo.groupType]) { - return NO; - } - if (![self.isMember isEqual:aGroupInfo.isMember]) { - return NO; - } - if (![self.isOwner isEqual:aGroupInfo.isOwner]) { - return NO; + return [self isEqualToInsufficientQuotaAmounts:other]; +} + +- (BOOL)isEqualToInsufficientQuotaAmounts:(DBSHARINGInsufficientQuotaAmounts *)anInsufficientQuotaAmounts { + if (self == anInsufficientQuotaAmounts) { + return YES; } - if (![self.sameTeam isEqual:aGroupInfo.sameTeam]) { + if (![self.spaceNeeded isEqual:anInsufficientQuotaAmounts.spaceNeeded]) { return NO; } - if (self.groupExternalId) { - if (![self.groupExternalId isEqual:aGroupInfo.groupExternalId]) { - return NO; - } + if (![self.spaceShortage isEqual:anInsufficientQuotaAmounts.spaceShortage]) { + return NO; } - if (self.memberCount) { - if (![self.memberCount isEqual:aGroupInfo.memberCount]) { - return NO; - } + if (![self.spaceLeft isEqual:anInsufficientQuotaAmounts.spaceLeft]) { + return NO; } return YES; } @@ -8576,104 +10325,104 @@ - (BOOL)isEqualToGroupInfo:(DBSHARINGGroupInfo *)aGroupInfo { #pragma mark - Serializer Object -@implementation DBSHARINGGroupInfoSerializer +@implementation DBSHARINGInsufficientQuotaAmountsSerializer -+ (NSDictionary *)serialize:(DBSHARINGGroupInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"group_name"] = valueObj.groupName; - jsonDict[@"group_id"] = valueObj.groupId; - jsonDict[@"group_management_type"] = - [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; - jsonDict[@"group_type"] = [DBTEAMCOMMONGroupTypeSerializer serialize:valueObj.groupType]; - jsonDict[@"is_member"] = valueObj.isMember; - jsonDict[@"is_owner"] = valueObj.isOwner; - jsonDict[@"same_team"] = valueObj.sameTeam; - if (valueObj.groupExternalId) { - jsonDict[@"group_external_id"] = valueObj.groupExternalId; - } - if (valueObj.memberCount) { - jsonDict[@"member_count"] = valueObj.memberCount; - } + jsonDict[@"space_needed"] = valueObj.spaceNeeded; + jsonDict[@"space_shortage"] = valueObj.spaceShortage; + jsonDict[@"space_left"] = valueObj.spaceLeft; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)valueDict { - NSString *groupName = valueDict[@"group_name"]; - NSString *groupId = valueDict[@"group_id"]; - DBTEAMCOMMONGroupManagementType *groupManagementType = - [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"group_management_type"]]; - DBTEAMCOMMONGroupType *groupType = [DBTEAMCOMMONGroupTypeSerializer deserialize:valueDict[@"group_type"]]; - NSNumber *isMember = valueDict[@"is_member"]; - NSNumber *isOwner = valueDict[@"is_owner"]; - NSNumber *sameTeam = valueDict[@"same_team"]; - NSString *groupExternalId = valueDict[@"group_external_id"] ?: nil; - NSNumber *memberCount = valueDict[@"member_count"] ?: nil; ++ (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)valueDict { + NSNumber *spaceNeeded = valueDict[@"space_needed"]; + NSNumber *spaceShortage = valueDict[@"space_shortage"]; + NSNumber *spaceLeft = valueDict[@"space_left"]; - return [[DBSHARINGGroupInfo alloc] initWithGroupName:groupName - groupId:groupId - groupManagementType:groupManagementType - groupType:groupType - isMember:isMember - isOwner:isOwner - sameTeam:sameTeam - groupExternalId:groupExternalId - memberCount:memberCount]; + return [[DBSHARINGInsufficientQuotaAmounts alloc] initWithSpaceNeeded:spaceNeeded + spaceShortage:spaceShortage + spaceLeft:spaceLeft]; } @end -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGMemberPermission.h" -#import "DBSHARINGMembershipInfo.h" +#import "DBSHARINGInviteeInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGMembershipInfo +@implementation DBSHARINGInviteeInfo + +@synthesize email = _email; #pragma mark - Constructors -- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType - permissions:(NSArray *)permissions - initials:(NSString *)initials - isInherited:(NSNumber *)isInherited { - [DBStoneValidators nonnullValidator:nil](accessType); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); +- (instancetype)initWithEmail:(NSString *)email { + self = [super init]; + if (self) { + _tag = DBSHARINGInviteeInfoEmail; + _email = email; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _accessType = accessType; - _permissions = permissions; - _initials = initials; - _isInherited = isInherited ?: @NO; + _tag = DBSHARINGInviteeInfoOther; } return self; } -- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType { - return [self initWithAccessType:accessType permissions:nil initials:nil isInherited:nil]; +#pragma mark - Instance field accessors + +- (NSString *)email { + if (![self isEmail]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGInviteeInfoEmail, but was %@.", [self tagName]]; + } + return _email; +} + +#pragma mark - Tag state methods + +- (BOOL)isEmail { + return _tag == DBSHARINGInviteeInfoEmail; +} + +- (BOOL)isOther { + return _tag == DBSHARINGInviteeInfoOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGInviteeInfoEmail: + return @"DBSHARINGInviteeInfoEmail"; + case DBSHARINGInviteeInfoOther: + return @"DBSHARINGInviteeInfoOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGMembershipInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGInviteeInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGMembershipInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGInviteeInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGMembershipInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGInviteeInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8690,14 +10439,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.accessType hash]; - if (self.permissions != nil) { - result = prime * result + [self.permissions hash]; - } - if (self.initials != nil) { - result = prime * result + [self.initials hash]; + switch (_tag) { + case DBSHARINGInviteeInfoEmail: + result = prime * result + [self.email hash]; + break; + case DBSHARINGInviteeInfoOther: + result = prime * result + [[self tagName] hash]; + break; } - result = prime * result + [self.isInherited hash]; return prime * result; } @@ -8711,28 +10460,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembershipInfo:other]; + return [self isEqualToInviteeInfo:other]; } -- (BOOL)isEqualToMembershipInfo:(DBSHARINGMembershipInfo *)aMembershipInfo { - if (self == aMembershipInfo) { +- (BOOL)isEqualToInviteeInfo:(DBSHARINGInviteeInfo *)anInviteeInfo { + if (self == anInviteeInfo) { return YES; } - if (![self.accessType isEqual:aMembershipInfo.accessType]) { + if (self.tag != anInviteeInfo.tag) { return NO; } - if (self.permissions) { - if (![self.permissions isEqual:aMembershipInfo.permissions]) { - return NO; - } - } - if (self.initials) { - if (![self.initials isEqual:aMembershipInfo.initials]) { - return NO; - } - } - if (![self.isInherited isEqual:aMembershipInfo.isInherited]) { - return NO; + switch (_tag) { + case DBSHARINGInviteeInfoEmail: + return [self.email isEqual:anInviteeInfo.email]; + case DBSHARINGInviteeInfoOther: + return [[self tagName] isEqual:[anInviteeInfo tagName]]; } return YES; } @@ -8741,66 +10483,61 @@ - (BOOL)isEqualToMembershipInfo:(DBSHARINGMembershipInfo *)aMembershipInfo { #pragma mark - Serializer Object -@implementation DBSHARINGMembershipInfoSerializer +@implementation DBSHARINGInviteeInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGMembershipInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGInviteeInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; - if (valueObj.permissions) { - jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions - withBlock:^id(id elem0) { - return [DBSHARINGMemberPermissionSerializer serialize:elem0]; - }]; - } - if (valueObj.initials) { - jsonDict[@"initials"] = valueObj.initials; + if ([valueObj isEmail]) { + jsonDict[@"email"] = valueObj.email; + jsonDict[@".tag"] = @"email"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)valueDict { - DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; - NSArray *permissions = - valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] - withBlock:^id(id elem0) { - return [DBSHARINGMemberPermissionSerializer deserialize:elem0]; - }] - : nil; - NSString *initials = valueDict[@"initials"] ?: nil; - NSNumber *isInherited = valueDict[@"is_inherited"] ?: @NO; ++ (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGMembershipInfo alloc] initWithAccessType:accessType - permissions:permissions - initials:initials - isInherited:isInherited]; + if ([tag isEqualToString:@"email"]) { + NSString *email = valueDict[@"email"]; + return [[DBSHARINGInviteeInfo alloc] initWithEmail:email]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGInviteeInfo alloc] initWithOther]; + } else { + return [[DBSHARINGInviteeInfo alloc] initWithOther]; + } } @end #import "DBSHARINGAccessLevel.h" -#import "DBSHARINGGroupInfo.h" -#import "DBSHARINGGroupMembershipInfo.h" +#import "DBSHARINGInviteeInfo.h" +#import "DBSHARINGInviteeMembershipInfo.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGMembershipInfo.h" +#import "DBSHARINGUserInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGGroupMembershipInfo +@implementation DBSHARINGInviteeMembershipInfo #pragma mark - Constructors - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType - group:(DBSHARINGGroupInfo *)group + invitee:(DBSHARINGInviteeInfo *)invitee permissions:(NSArray *)permissions initials:(NSString *)initials - isInherited:(NSNumber *)isInherited { + isInherited:(NSNumber *)isInherited + user:(DBSHARINGUserInfo *)user { [DBStoneValidators nonnullValidator:nil](accessType); - [DBStoneValidators nonnullValidator:nil](group); + [DBStoneValidators nonnullValidator:nil](invitee); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil @@ -8808,29 +10545,30 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; if (self) { - _group = group; + _invitee = invitee; + _user = user; } return self; } -- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType group:(DBSHARINGGroupInfo *)group { - return [self initWithAccessType:accessType group:group permissions:nil initials:nil isInherited:nil]; +- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType invitee:(DBSHARINGInviteeInfo *)invitee { + return [self initWithAccessType:accessType invitee:invitee permissions:nil initials:nil isInherited:nil user:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGGroupMembershipInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGInviteeMembershipInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGGroupMembershipInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGInviteeMembershipInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGGroupMembershipInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGInviteeMembershipInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8848,7 +10586,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.accessType hash]; - result = prime * result + [self.group hash]; + result = prime * result + [self.invitee hash]; if (self.permissions != nil) { result = prime * result + [self.permissions hash]; } @@ -8856,6 +10594,9 @@ - (NSUInteger)hash { result = prime * result + [self.initials hash]; } result = prime * result + [self.isInherited hash]; + if (self.user != nil) { + result = prime * result + [self.user hash]; + } return prime * result; } @@ -8869,32 +10610,37 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupMembershipInfo:other]; + return [self isEqualToInviteeMembershipInfo:other]; } -- (BOOL)isEqualToGroupMembershipInfo:(DBSHARINGGroupMembershipInfo *)aGroupMembershipInfo { - if (self == aGroupMembershipInfo) { +- (BOOL)isEqualToInviteeMembershipInfo:(DBSHARINGInviteeMembershipInfo *)anInviteeMembershipInfo { + if (self == anInviteeMembershipInfo) { return YES; } - if (![self.accessType isEqual:aGroupMembershipInfo.accessType]) { + if (![self.accessType isEqual:anInviteeMembershipInfo.accessType]) { return NO; } - if (![self.group isEqual:aGroupMembershipInfo.group]) { + if (![self.invitee isEqual:anInviteeMembershipInfo.invitee]) { return NO; } if (self.permissions) { - if (![self.permissions isEqual:aGroupMembershipInfo.permissions]) { + if (![self.permissions isEqual:anInviteeMembershipInfo.permissions]) { return NO; } } if (self.initials) { - if (![self.initials isEqual:aGroupMembershipInfo.initials]) { + if (![self.initials isEqual:anInviteeMembershipInfo.initials]) { return NO; } } - if (![self.isInherited isEqual:aGroupMembershipInfo.isInherited]) { + if (![self.isInherited isEqual:anInviteeMembershipInfo.isInherited]) { return NO; } + if (self.user) { + if (![self.user isEqual:anInviteeMembershipInfo.user]) { + return NO; + } + } return YES; } @@ -8902,13 +10648,13 @@ - (BOOL)isEqualToGroupMembershipInfo:(DBSHARINGGroupMembershipInfo *)aGroupMembe #pragma mark - Serializer Object -@implementation DBSHARINGGroupMembershipInfoSerializer +@implementation DBSHARINGInviteeMembershipInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; - jsonDict[@"group"] = [DBSHARINGGroupInfoSerializer serialize:valueObj.group]; + jsonDict[@"invitee"] = [DBSHARINGInviteeInfoSerializer serialize:valueObj.invitee]; if (valueObj.permissions) { jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions withBlock:^id(id elem0) { @@ -8919,13 +10665,16 @@ + (NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)valueObj { jsonDict[@"initials"] = valueObj.initials; } jsonDict[@"is_inherited"] = valueObj.isInherited; + if (valueObj.user) { + jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; - DBSHARINGGroupInfo *group = [DBSHARINGGroupInfoSerializer deserialize:valueDict[@"group"]]; + DBSHARINGInviteeInfo *invitee = [DBSHARINGInviteeInfoSerializer deserialize:valueDict[@"invitee"]]; NSArray *permissions = valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] withBlock:^id(id elem0) { @@ -8934,55 +10683,145 @@ + (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)valueDict { : nil; NSString *initials = valueDict[@"initials"] ?: nil; NSNumber *isInherited = valueDict[@"is_inherited"] ?: @NO; + DBSHARINGUserInfo *user = valueDict[@"user"] ? [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]] : nil; - return [[DBSHARINGGroupMembershipInfo alloc] initWithAccessType:accessType - group:group - permissions:permissions - initials:initials - isInherited:isInherited]; + return [[DBSHARINGInviteeMembershipInfo alloc] initWithAccessType:accessType + invitee:invitee + permissions:permissions + initials:initials + isInherited:isInherited + user:user]; } @end -#import "DBSHARINGInsufficientPlan.h" +#import "DBSHARINGJobError.h" +#import "DBSHARINGRelinquishFolderMembershipError.h" +#import "DBSHARINGRemoveFolderMemberError.h" +#import "DBSHARINGUnshareFolderError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGInsufficientPlan +@implementation DBSHARINGJobError + +@synthesize unshareFolderError = _unshareFolderError; +@synthesize removeFolderMemberError = _removeFolderMemberError; +@synthesize relinquishFolderMembershipError = _relinquishFolderMembershipError; #pragma mark - Constructors -- (instancetype)initWithMessage:(NSString *)message upsellUrl:(NSString *)upsellUrl { - [DBStoneValidators nonnullValidator:nil](message); +- (instancetype)initWithUnshareFolderError:(DBSHARINGUnshareFolderError *)unshareFolderError { + self = [super init]; + if (self) { + _tag = DBSHARINGJobErrorUnshareFolderError; + _unshareFolderError = unshareFolderError; + } + return self; +} +- (instancetype)initWithRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)removeFolderMemberError { self = [super init]; if (self) { - _message = message; - _upsellUrl = upsellUrl; + _tag = DBSHARINGJobErrorRemoveFolderMemberError; + _removeFolderMemberError = removeFolderMemberError; } return self; } -- (instancetype)initWithMessage:(NSString *)message { - return [self initWithMessage:message upsellUrl:nil]; +- (instancetype)initWithRelinquishFolderMembershipError: + (DBSHARINGRelinquishFolderMembershipError *)relinquishFolderMembershipError { + self = [super init]; + if (self) { + _tag = DBSHARINGJobErrorRelinquishFolderMembershipError; + _relinquishFolderMembershipError = relinquishFolderMembershipError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGJobErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSHARINGUnshareFolderError *)unshareFolderError { + if (![self isUnshareFolderError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGJobErrorUnshareFolderError, but was %@.", [self tagName]]; + } + return _unshareFolderError; +} + +- (DBSHARINGRemoveFolderMemberError *)removeFolderMemberError { + if (![self isRemoveFolderMemberError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGJobErrorRemoveFolderMemberError, but was %@.", [self tagName]]; + } + return _removeFolderMemberError; +} + +- (DBSHARINGRelinquishFolderMembershipError *)relinquishFolderMembershipError { + if (![self isRelinquishFolderMembershipError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGJobErrorRelinquishFolderMembershipError, but was %@.", [self tagName]]; + } + return _relinquishFolderMembershipError; +} + +#pragma mark - Tag state methods + +- (BOOL)isUnshareFolderError { + return _tag == DBSHARINGJobErrorUnshareFolderError; +} + +- (BOOL)isRemoveFolderMemberError { + return _tag == DBSHARINGJobErrorRemoveFolderMemberError; +} + +- (BOOL)isRelinquishFolderMembershipError { + return _tag == DBSHARINGJobErrorRelinquishFolderMembershipError; +} + +- (BOOL)isOther { + return _tag == DBSHARINGJobErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGJobErrorUnshareFolderError: + return @"DBSHARINGJobErrorUnshareFolderError"; + case DBSHARINGJobErrorRemoveFolderMemberError: + return @"DBSHARINGJobErrorRemoveFolderMemberError"; + case DBSHARINGJobErrorRelinquishFolderMembershipError: + return @"DBSHARINGJobErrorRelinquishFolderMembershipError"; + case DBSHARINGJobErrorOther: + return @"DBSHARINGJobErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGInsufficientPlanSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGJobErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGInsufficientPlanSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGJobErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGInsufficientPlanSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGJobErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8999,9 +10838,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.message hash]; - if (self.upsellUrl != nil) { - result = prime * result + [self.upsellUrl hash]; + switch (_tag) { + case DBSHARINGJobErrorUnshareFolderError: + result = prime * result + [self.unshareFolderError hash]; + break; + case DBSHARINGJobErrorRemoveFolderMemberError: + result = prime * result + [self.removeFolderMemberError hash]; + break; + case DBSHARINGJobErrorRelinquishFolderMembershipError: + result = prime * result + [self.relinquishFolderMembershipError hash]; + break; + case DBSHARINGJobErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9016,20 +10865,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToInsufficientPlan:other]; + return [self isEqualToJobError:other]; } -- (BOOL)isEqualToInsufficientPlan:(DBSHARINGInsufficientPlan *)anInsufficientPlan { - if (self == anInsufficientPlan) { +- (BOOL)isEqualToJobError:(DBSHARINGJobError *)aJobError { + if (self == aJobError) { return YES; } - if (![self.message isEqual:anInsufficientPlan.message]) { + if (self.tag != aJobError.tag) { return NO; } - if (self.upsellUrl) { - if (![self.upsellUrl isEqual:anInsufficientPlan.upsellUrl]) { - return NO; - } + switch (_tag) { + case DBSHARINGJobErrorUnshareFolderError: + return [self.unshareFolderError isEqual:aJobError.unshareFolderError]; + case DBSHARINGJobErrorRemoveFolderMemberError: + return [self.removeFolderMemberError isEqual:aJobError.removeFolderMemberError]; + case DBSHARINGJobErrorRelinquishFolderMembershipError: + return [self.relinquishFolderMembershipError isEqual:aJobError.relinquishFolderMembershipError]; + case DBSHARINGJobErrorOther: + return [[self tagName] isEqual:[aJobError tagName]]; } return YES; } @@ -9038,68 +10892,147 @@ - (BOOL)isEqualToInsufficientPlan:(DBSHARINGInsufficientPlan *)anInsufficientPla #pragma mark - Serializer Object -@implementation DBSHARINGInsufficientPlanSerializer +@implementation DBSHARINGJobErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGJobError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"message"] = valueObj.message; - if (valueObj.upsellUrl) { - jsonDict[@"upsell_url"] = valueObj.upsellUrl; + if ([valueObj isUnshareFolderError]) { + jsonDict[@"unshare_folder_error"] = + [[DBSHARINGUnshareFolderErrorSerializer serialize:valueObj.unshareFolderError] mutableCopy]; + jsonDict[@".tag"] = @"unshare_folder_error"; + } else if ([valueObj isRemoveFolderMemberError]) { + jsonDict[@"remove_folder_member_error"] = + [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:valueObj.removeFolderMemberError] mutableCopy]; + jsonDict[@".tag"] = @"remove_folder_member_error"; + } else if ([valueObj isRelinquishFolderMembershipError]) { + jsonDict[@"relinquish_folder_membership_error"] = [[DBSHARINGRelinquishFolderMembershipErrorSerializer + serialize:valueObj.relinquishFolderMembershipError] mutableCopy]; + jsonDict[@".tag"] = @"relinquish_folder_membership_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)valueDict { - NSString *message = valueDict[@"message"]; - NSString *upsellUrl = valueDict[@"upsell_url"] ?: nil; ++ (DBSHARINGJobError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGInsufficientPlan alloc] initWithMessage:message upsellUrl:upsellUrl]; + if ([tag isEqualToString:@"unshare_folder_error"]) { + DBSHARINGUnshareFolderError *unshareFolderError = + [DBSHARINGUnshareFolderErrorSerializer deserialize:valueDict[@"unshare_folder_error"]]; + return [[DBSHARINGJobError alloc] initWithUnshareFolderError:unshareFolderError]; + } else if ([tag isEqualToString:@"remove_folder_member_error"]) { + DBSHARINGRemoveFolderMemberError *removeFolderMemberError = + [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:valueDict[@"remove_folder_member_error"]]; + return [[DBSHARINGJobError alloc] initWithRemoveFolderMemberError:removeFolderMemberError]; + } else if ([tag isEqualToString:@"relinquish_folder_membership_error"]) { + DBSHARINGRelinquishFolderMembershipError *relinquishFolderMembershipError = + [DBSHARINGRelinquishFolderMembershipErrorSerializer + deserialize:valueDict[@"relinquish_folder_membership_error"]]; + return [[DBSHARINGJobError alloc] initWithRelinquishFolderMembershipError:relinquishFolderMembershipError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGJobError alloc] initWithOther]; + } else { + return [[DBSHARINGJobError alloc] initWithOther]; + } +} + +@end + +#import "DBASYNCPollResultBase.h" +#import "DBSHARINGJobError.h" +#import "DBSHARINGJobStatus.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGJobStatus + +@synthesize failed = _failed; + +#pragma mark - Constructors + +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBSHARINGJobStatusInProgress; + } + return self; +} + +- (instancetype)initWithComplete { + self = [super init]; + if (self) { + _tag = DBSHARINGJobStatusComplete; + } + return self; +} + +- (instancetype)initWithFailed:(DBSHARINGJobError *)failed { + self = [super init]; + if (self) { + _tag = DBSHARINGJobStatusFailed; + _failed = failed; + } + return self; } -@end +#pragma mark - Instance field accessors -#import "DBSHARINGInsufficientQuotaAmounts.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (DBSHARINGJobError *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; +} -#pragma mark - API Object +#pragma mark - Tag state methods -@implementation DBSHARINGInsufficientQuotaAmounts +- (BOOL)isInProgress { + return _tag == DBSHARINGJobStatusInProgress; +} -#pragma mark - Constructors +- (BOOL)isComplete { + return _tag == DBSHARINGJobStatusComplete; +} -- (instancetype)initWithSpaceNeeded:(NSNumber *)spaceNeeded - spaceShortage:(NSNumber *)spaceShortage - spaceLeft:(NSNumber *)spaceLeft { - [DBStoneValidators nonnullValidator:nil](spaceNeeded); - [DBStoneValidators nonnullValidator:nil](spaceShortage); - [DBStoneValidators nonnullValidator:nil](spaceLeft); +- (BOOL)isFailed { + return _tag == DBSHARINGJobStatusFailed; +} - self = [super init]; - if (self) { - _spaceNeeded = spaceNeeded; - _spaceShortage = spaceShortage; - _spaceLeft = spaceLeft; +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGJobStatusInProgress: + return @"DBSHARINGJobStatusInProgress"; + case DBSHARINGJobStatusComplete: + return @"DBSHARINGJobStatusComplete"; + case DBSHARINGJobStatusFailed: + return @"DBSHARINGJobStatusFailed"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGInsufficientQuotaAmountsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGInsufficientQuotaAmountsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGInsufficientQuotaAmountsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9116,9 +11049,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.spaceNeeded hash]; - result = prime * result + [self.spaceShortage hash]; - result = prime * result + [self.spaceLeft hash]; + switch (_tag) { + case DBSHARINGJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGJobStatusComplete: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGJobStatusFailed: + result = prime * result + [self.failed hash]; + break; + } return prime * result; } @@ -9132,21 +11073,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToInsufficientQuotaAmounts:other]; + return [self isEqualToJobStatus:other]; } -- (BOOL)isEqualToInsufficientQuotaAmounts:(DBSHARINGInsufficientQuotaAmounts *)anInsufficientQuotaAmounts { - if (self == anInsufficientQuotaAmounts) { +- (BOOL)isEqualToJobStatus:(DBSHARINGJobStatus *)aJobStatus { + if (self == aJobStatus) { return YES; } - if (![self.spaceNeeded isEqual:anInsufficientQuotaAmounts.spaceNeeded]) { - return NO; - } - if (![self.spaceShortage isEqual:anInsufficientQuotaAmounts.spaceShortage]) { + if (self.tag != aJobStatus.tag) { return NO; } - if (![self.spaceLeft isEqual:anInsufficientQuotaAmounts.spaceLeft]) { - return NO; + switch (_tag) { + case DBSHARINGJobStatusInProgress: + return [[self tagName] isEqual:[aJobStatus tagName]]; + case DBSHARINGJobStatusComplete: + return [[self tagName] isEqual:[aJobStatus tagName]]; + case DBSHARINGJobStatusFailed: + return [self.failed isEqual:aJobStatus.failed]; } return YES; } @@ -9155,85 +11098,105 @@ - (BOOL)isEqualToInsufficientQuotaAmounts:(DBSHARINGInsufficientQuotaAmounts *)a #pragma mark - Serializer Object -@implementation DBSHARINGInsufficientQuotaAmountsSerializer +@implementation DBSHARINGJobStatusSerializer -+ (NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"space_needed"] = valueObj.spaceNeeded; - jsonDict[@"space_shortage"] = valueObj.spaceShortage; - jsonDict[@"space_left"] = valueObj.spaceLeft; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBSHARINGJobErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)valueDict { - NSNumber *spaceNeeded = valueDict[@"space_needed"]; - NSNumber *spaceShortage = valueDict[@"space_shortage"]; - NSNumber *spaceLeft = valueDict[@"space_left"]; ++ (DBSHARINGJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGInsufficientQuotaAmounts alloc] initWithSpaceNeeded:spaceNeeded - spaceShortage:spaceShortage - spaceLeft:spaceLeft]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBSHARINGJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + return [[DBSHARINGJobStatus alloc] initWithComplete]; + } else if ([tag isEqualToString:@"failed"]) { + DBSHARINGJobError *failed = [DBSHARINGJobErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBSHARINGJobStatus alloc] initWithFailed:failed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end -#import "DBSHARINGInviteeInfo.h" +#import "DBSHARINGLinkAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGInviteeInfo - -@synthesize email = _email; +@implementation DBSHARINGLinkAccessLevel #pragma mark - Constructors -- (instancetype)initWithEmail:(NSString *)email { +- (instancetype)initWithViewer { self = [super init]; if (self) { - _tag = DBSHARINGInviteeInfoEmail; - _email = email; + _tag = DBSHARINGLinkAccessLevelViewer; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithEditor { self = [super init]; if (self) { - _tag = DBSHARINGInviteeInfoOther; + _tag = DBSHARINGLinkAccessLevelEditor; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)email { - if (![self isEmail]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGInviteeInfoEmail, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkAccessLevelOther; } - return _email; + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isEmail { - return _tag == DBSHARINGInviteeInfoEmail; +- (BOOL)isViewer { + return _tag == DBSHARINGLinkAccessLevelViewer; +} + +- (BOOL)isEditor { + return _tag == DBSHARINGLinkAccessLevelEditor; } - (BOOL)isOther { - return _tag == DBSHARINGInviteeInfoOther; + return _tag == DBSHARINGLinkAccessLevelOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGInviteeInfoEmail: - return @"DBSHARINGInviteeInfoEmail"; - case DBSHARINGInviteeInfoOther: - return @"DBSHARINGInviteeInfoOther"; + case DBSHARINGLinkAccessLevelViewer: + return @"DBSHARINGLinkAccessLevelViewer"; + case DBSHARINGLinkAccessLevelEditor: + return @"DBSHARINGLinkAccessLevelEditor"; + case DBSHARINGLinkAccessLevelOther: + return @"DBSHARINGLinkAccessLevelOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -9241,18 +11204,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGInviteeInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkAccessLevelSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGInviteeInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkAccessLevelSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGInviteeInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkAccessLevelSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9270,10 +11233,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGInviteeInfoEmail: - result = prime * result + [self.email hash]; - case DBSHARINGInviteeInfoOther: + case DBSHARINGLinkAccessLevelViewer: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAccessLevelEditor: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAccessLevelOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9288,21 +11256,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToInviteeInfo:other]; + return [self isEqualToLinkAccessLevel:other]; } -- (BOOL)isEqualToInviteeInfo:(DBSHARINGInviteeInfo *)anInviteeInfo { - if (self == anInviteeInfo) { +- (BOOL)isEqualToLinkAccessLevel:(DBSHARINGLinkAccessLevel *)aLinkAccessLevel { + if (self == aLinkAccessLevel) { return YES; } - if (self.tag != anInviteeInfo.tag) { + if (self.tag != aLinkAccessLevel.tag) { return NO; } switch (_tag) { - case DBSHARINGInviteeInfoEmail: - return [self.email isEqual:anInviteeInfo.email]; - case DBSHARINGInviteeInfoOther: - return [[self tagName] isEqual:[anInviteeInfo tagName]]; + case DBSHARINGLinkAccessLevelViewer: + return [[self tagName] isEqual:[aLinkAccessLevel tagName]]; + case DBSHARINGLinkAccessLevelEditor: + return [[self tagName] isEqual:[aLinkAccessLevel tagName]]; + case DBSHARINGLinkAccessLevelOther: + return [[self tagName] isEqual:[aLinkAccessLevel tagName]]; } return YES; } @@ -9311,92 +11281,173 @@ - (BOOL)isEqualToInviteeInfo:(DBSHARINGInviteeInfo *)anInviteeInfo { #pragma mark - Serializer Object -@implementation DBSHARINGInviteeInfoSerializer +@implementation DBSHARINGLinkAccessLevelSerializer -+ (NSDictionary *)serialize:(DBSHARINGInviteeInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isEmail]) { - jsonDict[@"email"] = valueObj.email; - jsonDict[@".tag"] = @"email"; + if ([valueObj isViewer]) { + jsonDict[@".tag"] = @"viewer"; + } else if ([valueObj isEditor]) { + jsonDict[@".tag"] = @"editor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"email"]) { - NSString *email = valueDict[@"email"]; - return [[DBSHARINGInviteeInfo alloc] initWithEmail:email]; + if ([tag isEqualToString:@"viewer"]) { + return [[DBSHARINGLinkAccessLevel alloc] initWithViewer]; + } else if ([tag isEqualToString:@"editor"]) { + return [[DBSHARINGLinkAccessLevel alloc] initWithEditor]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGInviteeInfo alloc] initWithOther]; + return [[DBSHARINGLinkAccessLevel alloc] initWithOther]; } else { - return [[DBSHARINGInviteeInfo alloc] initWithOther]; + return [[DBSHARINGLinkAccessLevel alloc] initWithOther]; + } +} + +@end + +#import "DBSHARINGLinkAction.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGLinkAction + +#pragma mark - Constructors + +- (instancetype)initWithChangeAccessLevel { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionChangeAccessLevel; + } + return self; +} + +- (instancetype)initWithChangeAudience { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionChangeAudience; + } + return self; +} + +- (instancetype)initWithRemoveExpiry { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionRemoveExpiry; + } + return self; +} + +- (instancetype)initWithRemovePassword { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionRemovePassword; + } + return self; +} + +- (instancetype)initWithSetExpiry { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionSetExpiry; + } + return self; +} + +- (instancetype)initWithSetPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionSetPassword; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkActionOther; } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isChangeAccessLevel { + return _tag == DBSHARINGLinkActionChangeAccessLevel; } -@end +- (BOOL)isChangeAudience { + return _tag == DBSHARINGLinkActionChangeAudience; +} -#import "DBSHARINGAccessLevel.h" -#import "DBSHARINGInviteeInfo.h" -#import "DBSHARINGInviteeMembershipInfo.h" -#import "DBSHARINGMemberPermission.h" -#import "DBSHARINGMembershipInfo.h" -#import "DBSHARINGUserInfo.h" -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" +- (BOOL)isRemoveExpiry { + return _tag == DBSHARINGLinkActionRemoveExpiry; +} -#pragma mark - API Object +- (BOOL)isRemovePassword { + return _tag == DBSHARINGLinkActionRemovePassword; +} -@implementation DBSHARINGInviteeMembershipInfo +- (BOOL)isSetExpiry { + return _tag == DBSHARINGLinkActionSetExpiry; +} -#pragma mark - Constructors +- (BOOL)isSetPassword { + return _tag == DBSHARINGLinkActionSetPassword; +} -- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType - invitee:(DBSHARINGInviteeInfo *)invitee - permissions:(NSArray *)permissions - initials:(NSString *)initials - isInherited:(NSNumber *)isInherited - user:(DBSHARINGUserInfo *)user { - [DBStoneValidators nonnullValidator:nil](accessType); - [DBStoneValidators nonnullValidator:nil](invitee); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](permissions); +- (BOOL)isOther { + return _tag == DBSHARINGLinkActionOther; +} - self = [super initWithAccessType:accessType permissions:permissions initials:initials isInherited:isInherited]; - if (self) { - _invitee = invitee; - _user = user; +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGLinkActionChangeAccessLevel: + return @"DBSHARINGLinkActionChangeAccessLevel"; + case DBSHARINGLinkActionChangeAudience: + return @"DBSHARINGLinkActionChangeAudience"; + case DBSHARINGLinkActionRemoveExpiry: + return @"DBSHARINGLinkActionRemoveExpiry"; + case DBSHARINGLinkActionRemovePassword: + return @"DBSHARINGLinkActionRemovePassword"; + case DBSHARINGLinkActionSetExpiry: + return @"DBSHARINGLinkActionSetExpiry"; + case DBSHARINGLinkActionSetPassword: + return @"DBSHARINGLinkActionSetPassword"; + case DBSHARINGLinkActionOther: + return @"DBSHARINGLinkActionOther"; } - return self; -} -- (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType invitee:(DBSHARINGInviteeInfo *)invitee { - return [self initWithAccessType:accessType invitee:invitee permissions:nil initials:nil isInherited:nil user:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGInviteeMembershipInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkActionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGInviteeMembershipInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkActionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGInviteeMembershipInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkActionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9413,17 +11464,28 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.accessType hash]; - result = prime * result + [self.invitee hash]; - if (self.permissions != nil) { - result = prime * result + [self.permissions hash]; - } - if (self.initials != nil) { - result = prime * result + [self.initials hash]; - } - result = prime * result + [self.isInherited hash]; - if (self.user != nil) { - result = prime * result + [self.user hash]; + switch (_tag) { + case DBSHARINGLinkActionChangeAccessLevel: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionChangeAudience: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionRemoveExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionRemovePassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionSetExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionSetPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkActionOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9438,36 +11500,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToInviteeMembershipInfo:other]; + return [self isEqualToLinkAction:other]; } -- (BOOL)isEqualToInviteeMembershipInfo:(DBSHARINGInviteeMembershipInfo *)anInviteeMembershipInfo { - if (self == anInviteeMembershipInfo) { +- (BOOL)isEqualToLinkAction:(DBSHARINGLinkAction *)aLinkAction { + if (self == aLinkAction) { return YES; } - if (![self.accessType isEqual:anInviteeMembershipInfo.accessType]) { - return NO; - } - if (![self.invitee isEqual:anInviteeMembershipInfo.invitee]) { - return NO; - } - if (self.permissions) { - if (![self.permissions isEqual:anInviteeMembershipInfo.permissions]) { - return NO; - } - } - if (self.initials) { - if (![self.initials isEqual:anInviteeMembershipInfo.initials]) { - return NO; - } - } - if (![self.isInherited isEqual:anInviteeMembershipInfo.isInherited]) { + if (self.tag != aLinkAction.tag) { return NO; } - if (self.user) { - if (![self.user isEqual:anInviteeMembershipInfo.user]) { - return NO; - } + switch (_tag) { + case DBSHARINGLinkActionChangeAccessLevel: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionChangeAudience: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionRemoveExpiry: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionRemovePassword: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionSetExpiry: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionSetPassword: + return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkActionOther: + return [[self tagName] isEqual:[aLinkAction tagName]]; } return YES; } @@ -9476,94 +11533,102 @@ - (BOOL)isEqualToInviteeMembershipInfo:(DBSHARINGInviteeMembershipInfo *)anInvit #pragma mark - Serializer Object -@implementation DBSHARINGInviteeMembershipInfoSerializer +@implementation DBSHARINGLinkActionSerializer -+ (NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; - jsonDict[@"invitee"] = [DBSHARINGInviteeInfoSerializer serialize:valueObj.invitee]; - if (valueObj.permissions) { - jsonDict[@"permissions"] = [DBArraySerializer serialize:valueObj.permissions - withBlock:^id(id elem0) { - return [DBSHARINGMemberPermissionSerializer serialize:elem0]; - }]; - } - if (valueObj.initials) { - jsonDict[@"initials"] = valueObj.initials; - } - jsonDict[@"is_inherited"] = valueObj.isInherited; - if (valueObj.user) { - jsonDict[@"user"] = [DBSHARINGUserInfoSerializer serialize:valueObj.user]; + if ([valueObj isChangeAccessLevel]) { + jsonDict[@".tag"] = @"change_access_level"; + } else if ([valueObj isChangeAudience]) { + jsonDict[@".tag"] = @"change_audience"; + } else if ([valueObj isRemoveExpiry]) { + jsonDict[@".tag"] = @"remove_expiry"; + } else if ([valueObj isRemovePassword]) { + jsonDict[@".tag"] = @"remove_password"; + } else if ([valueObj isSetExpiry]) { + jsonDict[@".tag"] = @"set_expiry"; + } else if ([valueObj isSetPassword]) { + jsonDict[@".tag"] = @"set_password"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)valueDict { - DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; - DBSHARINGInviteeInfo *invitee = [DBSHARINGInviteeInfoSerializer deserialize:valueDict[@"invitee"]]; - NSArray *permissions = - valueDict[@"permissions"] ? [DBArraySerializer deserialize:valueDict[@"permissions"] - withBlock:^id(id elem0) { - return [DBSHARINGMemberPermissionSerializer deserialize:elem0]; - }] - : nil; - NSString *initials = valueDict[@"initials"] ?: nil; - NSNumber *isInherited = valueDict[@"is_inherited"] ?: @NO; - DBSHARINGUserInfo *user = valueDict[@"user"] ? [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]] : nil; ++ (DBSHARINGLinkAction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBSHARINGInviteeMembershipInfo alloc] initWithAccessType:accessType - invitee:invitee - permissions:permissions - initials:initials - isInherited:isInherited - user:user]; + if ([tag isEqualToString:@"change_access_level"]) { + return [[DBSHARINGLinkAction alloc] initWithChangeAccessLevel]; + } else if ([tag isEqualToString:@"change_audience"]) { + return [[DBSHARINGLinkAction alloc] initWithChangeAudience]; + } else if ([tag isEqualToString:@"remove_expiry"]) { + return [[DBSHARINGLinkAction alloc] initWithRemoveExpiry]; + } else if ([tag isEqualToString:@"remove_password"]) { + return [[DBSHARINGLinkAction alloc] initWithRemovePassword]; + } else if ([tag isEqualToString:@"set_expiry"]) { + return [[DBSHARINGLinkAction alloc] initWithSetExpiry]; + } else if ([tag isEqualToString:@"set_password"]) { + return [[DBSHARINGLinkAction alloc] initWithSetPassword]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGLinkAction alloc] initWithOther]; + } else { + return [[DBSHARINGLinkAction alloc] initWithOther]; + } } @end -#import "DBSHARINGJobError.h" -#import "DBSHARINGRelinquishFolderMembershipError.h" -#import "DBSHARINGRemoveFolderMemberError.h" -#import "DBSHARINGUnshareFolderError.h" +#import "DBSHARINGLinkAudience.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGJobError - -@synthesize unshareFolderError = _unshareFolderError; -@synthesize removeFolderMemberError = _removeFolderMemberError; -@synthesize relinquishFolderMembershipError = _relinquishFolderMembershipError; +@implementation DBSHARINGLinkAudience #pragma mark - Constructors -- (instancetype)initWithUnshareFolderError:(DBSHARINGUnshareFolderError *)unshareFolderError { +- (instancetype)initWithPublic { self = [super init]; if (self) { - _tag = DBSHARINGJobErrorUnshareFolderError; - _unshareFolderError = unshareFolderError; + _tag = DBSHARINGLinkAudiencePublic; } return self; } -- (instancetype)initWithRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)removeFolderMemberError { +- (instancetype)initWithTeam { self = [super init]; if (self) { - _tag = DBSHARINGJobErrorRemoveFolderMemberError; - _removeFolderMemberError = removeFolderMemberError; + _tag = DBSHARINGLinkAudienceTeam; } return self; } -- (instancetype)initWithRelinquishFolderMembershipError: - (DBSHARINGRelinquishFolderMembershipError *)relinquishFolderMembershipError { +- (instancetype)initWithNoOne { self = [super init]; if (self) { - _tag = DBSHARINGJobErrorRelinquishFolderMembershipError; - _relinquishFolderMembershipError = relinquishFolderMembershipError; + _tag = DBSHARINGLinkAudienceNoOne; + } + return self; +} + +- (instancetype)initWithPassword { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkAudiencePassword; + } + return self; +} + +- (instancetype)initWithMembers { + self = [super init]; + if (self) { + _tag = DBSHARINGLinkAudienceMembers; } return self; } @@ -9571,66 +11636,53 @@ - (instancetype)initWithRelinquishFolderMembershipError: - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGJobErrorOther; + _tag = DBSHARINGLinkAudienceOther; } return self; } #pragma mark - Instance field accessors -- (DBSHARINGUnshareFolderError *)unshareFolderError { - if (![self isUnshareFolderError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGJobErrorUnshareFolderError, but was %@.", [self tagName]]; - } - return _unshareFolderError; -} +#pragma mark - Tag state methods -- (DBSHARINGRemoveFolderMemberError *)removeFolderMemberError { - if (![self isRemoveFolderMemberError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGJobErrorRemoveFolderMemberError, but was %@.", [self tagName]]; - } - return _removeFolderMemberError; +- (BOOL)isPublic { + return _tag == DBSHARINGLinkAudiencePublic; } -- (DBSHARINGRelinquishFolderMembershipError *)relinquishFolderMembershipError { - if (![self isRelinquishFolderMembershipError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGJobErrorRelinquishFolderMembershipError, but was %@.", [self tagName]]; - } - return _relinquishFolderMembershipError; +- (BOOL)isTeam { + return _tag == DBSHARINGLinkAudienceTeam; } -#pragma mark - Tag state methods - -- (BOOL)isUnshareFolderError { - return _tag == DBSHARINGJobErrorUnshareFolderError; +- (BOOL)isNoOne { + return _tag == DBSHARINGLinkAudienceNoOne; } -- (BOOL)isRemoveFolderMemberError { - return _tag == DBSHARINGJobErrorRemoveFolderMemberError; +- (BOOL)isPassword { + return _tag == DBSHARINGLinkAudiencePassword; } -- (BOOL)isRelinquishFolderMembershipError { - return _tag == DBSHARINGJobErrorRelinquishFolderMembershipError; +- (BOOL)isMembers { + return _tag == DBSHARINGLinkAudienceMembers; } - (BOOL)isOther { - return _tag == DBSHARINGJobErrorOther; + return _tag == DBSHARINGLinkAudienceOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGJobErrorUnshareFolderError: - return @"DBSHARINGJobErrorUnshareFolderError"; - case DBSHARINGJobErrorRemoveFolderMemberError: - return @"DBSHARINGJobErrorRemoveFolderMemberError"; - case DBSHARINGJobErrorRelinquishFolderMembershipError: - return @"DBSHARINGJobErrorRelinquishFolderMembershipError"; - case DBSHARINGJobErrorOther: - return @"DBSHARINGJobErrorOther"; + case DBSHARINGLinkAudiencePublic: + return @"DBSHARINGLinkAudiencePublic"; + case DBSHARINGLinkAudienceTeam: + return @"DBSHARINGLinkAudienceTeam"; + case DBSHARINGLinkAudienceNoOne: + return @"DBSHARINGLinkAudienceNoOne"; + case DBSHARINGLinkAudiencePassword: + return @"DBSHARINGLinkAudiencePassword"; + case DBSHARINGLinkAudienceMembers: + return @"DBSHARINGLinkAudienceMembers"; + case DBSHARINGLinkAudienceOther: + return @"DBSHARINGLinkAudienceOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -9638,18 +11690,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGJobErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkAudienceSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGJobErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkAudienceSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGJobErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkAudienceSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9667,14 +11719,24 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGJobErrorUnshareFolderError: - result = prime * result + [self.unshareFolderError hash]; - case DBSHARINGJobErrorRemoveFolderMemberError: - result = prime * result + [self.removeFolderMemberError hash]; - case DBSHARINGJobErrorRelinquishFolderMembershipError: - result = prime * result + [self.relinquishFolderMembershipError hash]; - case DBSHARINGJobErrorOther: + case DBSHARINGLinkAudiencePublic: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAudienceTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAudienceNoOne: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAudiencePassword: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAudienceMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGLinkAudienceOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9689,25 +11751,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToJobError:other]; + return [self isEqualToLinkAudience:other]; } -- (BOOL)isEqualToJobError:(DBSHARINGJobError *)aJobError { - if (self == aJobError) { +- (BOOL)isEqualToLinkAudience:(DBSHARINGLinkAudience *)aLinkAudience { + if (self == aLinkAudience) { return YES; } - if (self.tag != aJobError.tag) { + if (self.tag != aLinkAudience.tag) { return NO; } switch (_tag) { - case DBSHARINGJobErrorUnshareFolderError: - return [self.unshareFolderError isEqual:aJobError.unshareFolderError]; - case DBSHARINGJobErrorRemoveFolderMemberError: - return [self.removeFolderMemberError isEqual:aJobError.removeFolderMemberError]; - case DBSHARINGJobErrorRelinquishFolderMembershipError: - return [self.relinquishFolderMembershipError isEqual:aJobError.relinquishFolderMembershipError]; - case DBSHARINGJobErrorOther: - return [[self tagName] isEqual:[aJobError tagName]]; + case DBSHARINGLinkAudiencePublic: + return [[self tagName] isEqual:[aLinkAudience tagName]]; + case DBSHARINGLinkAudienceTeam: + return [[self tagName] isEqual:[aLinkAudience tagName]]; + case DBSHARINGLinkAudienceNoOne: + return [[self tagName] isEqual:[aLinkAudience tagName]]; + case DBSHARINGLinkAudiencePassword: + return [[self tagName] isEqual:[aLinkAudience tagName]]; + case DBSHARINGLinkAudienceMembers: + return [[self tagName] isEqual:[aLinkAudience tagName]]; + case DBSHARINGLinkAudienceOther: + return [[self tagName] isEqual:[aLinkAudience tagName]]; } return YES; } @@ -9716,128 +11782,166 @@ - (BOOL)isEqualToJobError:(DBSHARINGJobError *)aJobError { #pragma mark - Serializer Object -@implementation DBSHARINGJobErrorSerializer +@implementation DBSHARINGLinkAudienceSerializer -+ (NSDictionary *)serialize:(DBSHARINGJobError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkAudience *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUnshareFolderError]) { - jsonDict[@"unshare_folder_error"] = - [[DBSHARINGUnshareFolderErrorSerializer serialize:valueObj.unshareFolderError] mutableCopy]; - jsonDict[@".tag"] = @"unshare_folder_error"; - } else if ([valueObj isRemoveFolderMemberError]) { - jsonDict[@"remove_folder_member_error"] = - [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:valueObj.removeFolderMemberError] mutableCopy]; - jsonDict[@".tag"] = @"remove_folder_member_error"; - } else if ([valueObj isRelinquishFolderMembershipError]) { - jsonDict[@"relinquish_folder_membership_error"] = [[DBSHARINGRelinquishFolderMembershipErrorSerializer - serialize:valueObj.relinquishFolderMembershipError] mutableCopy]; - jsonDict[@".tag"] = @"relinquish_folder_membership_error"; + if ([valueObj isPublic]) { + jsonDict[@".tag"] = @"public"; + } else if ([valueObj isTeam]) { + jsonDict[@".tag"] = @"team"; + } else if ([valueObj isNoOne]) { + jsonDict[@".tag"] = @"no_one"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else if ([valueObj isMembers]) { + jsonDict[@".tag"] = @"members"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGJobError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"unshare_folder_error"]) { - DBSHARINGUnshareFolderError *unshareFolderError = - [DBSHARINGUnshareFolderErrorSerializer deserialize:valueDict[@"unshare_folder_error"]]; - return [[DBSHARINGJobError alloc] initWithUnshareFolderError:unshareFolderError]; - } else if ([tag isEqualToString:@"remove_folder_member_error"]) { - DBSHARINGRemoveFolderMemberError *removeFolderMemberError = - [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:valueDict[@"remove_folder_member_error"]]; - return [[DBSHARINGJobError alloc] initWithRemoveFolderMemberError:removeFolderMemberError]; - } else if ([tag isEqualToString:@"relinquish_folder_membership_error"]) { - DBSHARINGRelinquishFolderMembershipError *relinquishFolderMembershipError = - [DBSHARINGRelinquishFolderMembershipErrorSerializer - deserialize:valueDict[@"relinquish_folder_membership_error"]]; - return [[DBSHARINGJobError alloc] initWithRelinquishFolderMembershipError:relinquishFolderMembershipError]; + if ([tag isEqualToString:@"public"]) { + return [[DBSHARINGLinkAudience alloc] initWithPublic]; + } else if ([tag isEqualToString:@"team"]) { + return [[DBSHARINGLinkAudience alloc] initWithTeam]; + } else if ([tag isEqualToString:@"no_one"]) { + return [[DBSHARINGLinkAudience alloc] initWithNoOne]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBSHARINGLinkAudience alloc] initWithPassword]; + } else if ([tag isEqualToString:@"members"]) { + return [[DBSHARINGLinkAudience alloc] initWithMembers]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGJobError alloc] initWithOther]; + return [[DBSHARINGLinkAudience alloc] initWithOther]; } else { - return [[DBSHARINGJobError alloc] initWithOther]; + return [[DBSHARINGLinkAudience alloc] initWithOther]; } } @end -#import "DBASYNCPollResultBase.h" -#import "DBSHARINGJobError.h" -#import "DBSHARINGJobStatus.h" +#import "DBSHARINGVisibilityPolicyDisallowedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGJobStatus - -@synthesize failed = _failed; +@implementation DBSHARINGVisibilityPolicyDisallowedReason #pragma mark - Constructors -- (instancetype)initWithInProgress { +- (instancetype)initWithDeleteAndRecreate { self = [super init]; if (self) { - _tag = DBSHARINGJobStatusInProgress; + _tag = DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate; } return self; } -- (instancetype)initWithComplete { +- (instancetype)initWithRestrictedBySharedFolder { self = [super init]; if (self) { - _tag = DBSHARINGJobStatusComplete; + _tag = DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder; } return self; } -- (instancetype)initWithFailed:(DBSHARINGJobError *)failed { +- (instancetype)initWithRestrictedByTeam { self = [super init]; if (self) { - _tag = DBSHARINGJobStatusFailed; - _failed = failed; + _tag = DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam; } return self; } -#pragma mark - Instance field accessors +- (instancetype)initWithUserNotOnTeam { + self = [super init]; + if (self) { + _tag = DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam; + } + return self; +} -- (DBSHARINGJobError *)failed { - if (![self isFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBSHARINGJobStatusFailed, but was %@.", [self tagName]]; +- (instancetype)initWithUserAccountType { + self = [super init]; + if (self) { + _tag = DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType; } - return _failed; + return self; +} + +- (instancetype)initWithPermissionDenied { + self = [super init]; + if (self) { + _tag = DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGVisibilityPolicyDisallowedReasonOther; + } + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isInProgress { - return _tag == DBSHARINGJobStatusInProgress; +- (BOOL)isDeleteAndRecreate { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate; } -- (BOOL)isComplete { - return _tag == DBSHARINGJobStatusComplete; +- (BOOL)isRestrictedBySharedFolder { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder; } -- (BOOL)isFailed { - return _tag == DBSHARINGJobStatusFailed; +- (BOOL)isRestrictedByTeam { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam; +} + +- (BOOL)isUserNotOnTeam { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam; +} + +- (BOOL)isUserAccountType { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType; +} + +- (BOOL)isPermissionDenied { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied; +} + +- (BOOL)isOther { + return _tag == DBSHARINGVisibilityPolicyDisallowedReasonOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGJobStatusInProgress: - return @"DBSHARINGJobStatusInProgress"; - case DBSHARINGJobStatusComplete: - return @"DBSHARINGJobStatusComplete"; - case DBSHARINGJobStatusFailed: - return @"DBSHARINGJobStatusFailed"; + case DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate: + return @"DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate"; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder: + return @"DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder"; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam: + return @"DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam"; + case DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam: + return @"DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam"; + case DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType: + return @"DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType"; + case DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied: + return @"DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied"; + case DBSHARINGVisibilityPolicyDisallowedReasonOther: + return @"DBSHARINGVisibilityPolicyDisallowedReasonOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -9845,18 +11949,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGVisibilityPolicyDisallowedReasonSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -9874,12 +11978,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGJobStatusInProgress: + case DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate: result = prime * result + [[self tagName] hash]; - case DBSHARINGJobStatusComplete: + break; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder: result = prime * result + [[self tagName] hash]; - case DBSHARINGJobStatusFailed: - result = prime * result + [self.failed hash]; + break; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGVisibilityPolicyDisallowedReasonOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9894,126 +12013,145 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToJobStatus:other]; + return [self isEqualToVisibilityPolicyDisallowedReason:other]; } -- (BOOL)isEqualToJobStatus:(DBSHARINGJobStatus *)aJobStatus { - if (self == aJobStatus) { +- (BOOL)isEqualToVisibilityPolicyDisallowedReason: + (DBSHARINGVisibilityPolicyDisallowedReason *)aVisibilityPolicyDisallowedReason { + if (self == aVisibilityPolicyDisallowedReason) { return YES; } - if (self.tag != aJobStatus.tag) { + if (self.tag != aVisibilityPolicyDisallowedReason.tag) { return NO; } switch (_tag) { - case DBSHARINGJobStatusInProgress: - return [[self tagName] isEqual:[aJobStatus tagName]]; - case DBSHARINGJobStatusComplete: - return [[self tagName] isEqual:[aJobStatus tagName]]; - case DBSHARINGJobStatusFailed: - return [self.failed isEqual:aJobStatus.failed]; + case DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; + case DBSHARINGVisibilityPolicyDisallowedReasonOther: + return [[self tagName] isEqual:[aVisibilityPolicyDisallowedReason tagName]]; } return YES; } @end - -#pragma mark - Serializer Object - -@implementation DBSHARINGJobStatusSerializer - -+ (NSDictionary *)serialize:(DBSHARINGJobStatus *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBSHARINGJobErrorSerializer serialize:valueObj.failed] mutableCopy]; - jsonDict[@".tag"] = @"failed"; + +#pragma mark - Serializer Object + +@implementation DBSHARINGVisibilityPolicyDisallowedReasonSerializer + ++ (NSDictionary *)serialize:(DBSHARINGVisibilityPolicyDisallowedReason *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDeleteAndRecreate]) { + jsonDict[@".tag"] = @"delete_and_recreate"; + } else if ([valueObj isRestrictedBySharedFolder]) { + jsonDict[@".tag"] = @"restricted_by_shared_folder"; + } else if ([valueObj isRestrictedByTeam]) { + jsonDict[@".tag"] = @"restricted_by_team"; + } else if ([valueObj isUserNotOnTeam]) { + jsonDict[@".tag"] = @"user_not_on_team"; + } else if ([valueObj isUserAccountType]) { + jsonDict[@".tag"] = @"user_account_type"; + } else if ([valueObj isPermissionDenied]) { + jsonDict[@".tag"] = @"permission_denied"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGVisibilityPolicyDisallowedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBSHARINGJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - return [[DBSHARINGJobStatus alloc] initWithComplete]; - } else if ([tag isEqualToString:@"failed"]) { - DBSHARINGJobError *failed = [DBSHARINGJobErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBSHARINGJobStatus alloc] initWithFailed:failed]; + if ([tag isEqualToString:@"delete_and_recreate"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithDeleteAndRecreate]; + } else if ([tag isEqualToString:@"restricted_by_shared_folder"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithRestrictedBySharedFolder]; + } else if ([tag isEqualToString:@"restricted_by_team"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithRestrictedByTeam]; + } else if ([tag isEqualToString:@"user_not_on_team"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithUserNotOnTeam]; + } else if ([tag isEqualToString:@"user_account_type"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithUserAccountType]; + } else if ([tag isEqualToString:@"permission_denied"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithPermissionDenied]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBSHARINGVisibilityPolicyDisallowedReason alloc] initWithOther]; } } @end -#import "DBSHARINGLinkAction.h" +#import "DBSHARINGLinkAudienceDisallowedReason.h" +#import "DBSHARINGVisibilityPolicyDisallowedReason.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGLinkAction +@implementation DBSHARINGLinkAudienceDisallowedReason #pragma mark - Constructors -- (instancetype)initWithChangeAccessLevel { +- (instancetype)initWithDeleteAndRecreate { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionChangeAccessLevel; + _tag = DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate; } return self; } -- (instancetype)initWithChangeAudience { +- (instancetype)initWithRestrictedBySharedFolder { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionChangeAudience; + _tag = DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder; } return self; } -- (instancetype)initWithRemoveExpiry { +- (instancetype)initWithRestrictedByTeam { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionRemoveExpiry; + _tag = DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam; } return self; } -- (instancetype)initWithRemovePassword { +- (instancetype)initWithUserNotOnTeam { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionRemovePassword; + _tag = DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam; } return self; } -- (instancetype)initWithSetExpiry { +- (instancetype)initWithUserAccountType { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionSetExpiry; + _tag = DBSHARINGLinkAudienceDisallowedReasonUserAccountType; } return self; } -- (instancetype)initWithSetPassword { +- (instancetype)initWithPermissionDenied { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionSetPassword; + _tag = DBSHARINGLinkAudienceDisallowedReasonPermissionDenied; } return self; } @@ -10021,7 +12159,7 @@ - (instancetype)initWithSetPassword { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGLinkActionOther; + _tag = DBSHARINGLinkAudienceDisallowedReasonOther; } return self; } @@ -10030,50 +12168,50 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isChangeAccessLevel { - return _tag == DBSHARINGLinkActionChangeAccessLevel; +- (BOOL)isDeleteAndRecreate { + return _tag == DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate; } -- (BOOL)isChangeAudience { - return _tag == DBSHARINGLinkActionChangeAudience; +- (BOOL)isRestrictedBySharedFolder { + return _tag == DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder; } -- (BOOL)isRemoveExpiry { - return _tag == DBSHARINGLinkActionRemoveExpiry; +- (BOOL)isRestrictedByTeam { + return _tag == DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam; } -- (BOOL)isRemovePassword { - return _tag == DBSHARINGLinkActionRemovePassword; +- (BOOL)isUserNotOnTeam { + return _tag == DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam; } -- (BOOL)isSetExpiry { - return _tag == DBSHARINGLinkActionSetExpiry; +- (BOOL)isUserAccountType { + return _tag == DBSHARINGLinkAudienceDisallowedReasonUserAccountType; } -- (BOOL)isSetPassword { - return _tag == DBSHARINGLinkActionSetPassword; +- (BOOL)isPermissionDenied { + return _tag == DBSHARINGLinkAudienceDisallowedReasonPermissionDenied; } - (BOOL)isOther { - return _tag == DBSHARINGLinkActionOther; + return _tag == DBSHARINGLinkAudienceDisallowedReasonOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGLinkActionChangeAccessLevel: - return @"DBSHARINGLinkActionChangeAccessLevel"; - case DBSHARINGLinkActionChangeAudience: - return @"DBSHARINGLinkActionChangeAudience"; - case DBSHARINGLinkActionRemoveExpiry: - return @"DBSHARINGLinkActionRemoveExpiry"; - case DBSHARINGLinkActionRemovePassword: - return @"DBSHARINGLinkActionRemovePassword"; - case DBSHARINGLinkActionSetExpiry: - return @"DBSHARINGLinkActionSetExpiry"; - case DBSHARINGLinkActionSetPassword: - return @"DBSHARINGLinkActionSetPassword"; - case DBSHARINGLinkActionOther: - return @"DBSHARINGLinkActionOther"; + case DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate: + return @"DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate"; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder: + return @"DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder"; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam: + return @"DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam"; + case DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam: + return @"DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam"; + case DBSHARINGLinkAudienceDisallowedReasonUserAccountType: + return @"DBSHARINGLinkAudienceDisallowedReasonUserAccountType"; + case DBSHARINGLinkAudienceDisallowedReasonPermissionDenied: + return @"DBSHARINGLinkAudienceDisallowedReasonPermissionDenied"; + case DBSHARINGLinkAudienceDisallowedReasonOther: + return @"DBSHARINGLinkAudienceDisallowedReasonOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -10081,18 +12219,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGLinkActionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGLinkActionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkAudienceDisallowedReasonSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGLinkActionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10110,20 +12248,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGLinkActionChangeAccessLevel: + case DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionChangeAudience: + break; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionRemoveExpiry: + break; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionRemovePassword: + break; + case DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionSetExpiry: + break; + case DBSHARINGLinkAudienceDisallowedReasonUserAccountType: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionSetPassword: + break; + case DBSHARINGLinkAudienceDisallowedReasonPermissionDenied: result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkActionOther: + break; + case DBSHARINGLinkAudienceDisallowedReasonOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10138,31 +12283,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLinkAction:other]; + return [self isEqualToLinkAudienceDisallowedReason:other]; } -- (BOOL)isEqualToLinkAction:(DBSHARINGLinkAction *)aLinkAction { - if (self == aLinkAction) { +- (BOOL)isEqualToLinkAudienceDisallowedReason:(DBSHARINGLinkAudienceDisallowedReason *)aLinkAudienceDisallowedReason { + if (self == aLinkAudienceDisallowedReason) { return YES; } - if (self.tag != aLinkAction.tag) { + if (self.tag != aLinkAudienceDisallowedReason.tag) { return NO; } switch (_tag) { - case DBSHARINGLinkActionChangeAccessLevel: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionChangeAudience: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionRemoveExpiry: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionRemovePassword: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionSetExpiry: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionSetPassword: - return [[self tagName] isEqual:[aLinkAction tagName]]; - case DBSHARINGLinkActionOther: - return [[self tagName] isEqual:[aLinkAction tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonUserAccountType: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonPermissionDenied: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; + case DBSHARINGLinkAudienceDisallowedReasonOther: + return [[self tagName] isEqual:[aLinkAudienceDisallowedReason tagName]]; } return YES; } @@ -10171,147 +12316,101 @@ - (BOOL)isEqualToLinkAction:(DBSHARINGLinkAction *)aLinkAction { #pragma mark - Serializer Object -@implementation DBSHARINGLinkActionSerializer +@implementation DBSHARINGLinkAudienceDisallowedReasonSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkAction *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkAudienceDisallowedReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isChangeAccessLevel]) { - jsonDict[@".tag"] = @"change_access_level"; - } else if ([valueObj isChangeAudience]) { - jsonDict[@".tag"] = @"change_audience"; - } else if ([valueObj isRemoveExpiry]) { - jsonDict[@".tag"] = @"remove_expiry"; - } else if ([valueObj isRemovePassword]) { - jsonDict[@".tag"] = @"remove_password"; - } else if ([valueObj isSetExpiry]) { - jsonDict[@".tag"] = @"set_expiry"; - } else if ([valueObj isSetPassword]) { - jsonDict[@".tag"] = @"set_password"; + if ([valueObj isDeleteAndRecreate]) { + jsonDict[@".tag"] = @"delete_and_recreate"; + } else if ([valueObj isRestrictedBySharedFolder]) { + jsonDict[@".tag"] = @"restricted_by_shared_folder"; + } else if ([valueObj isRestrictedByTeam]) { + jsonDict[@".tag"] = @"restricted_by_team"; + } else if ([valueObj isUserNotOnTeam]) { + jsonDict[@".tag"] = @"user_not_on_team"; + } else if ([valueObj isUserAccountType]) { + jsonDict[@".tag"] = @"user_account_type"; + } else if ([valueObj isPermissionDenied]) { + jsonDict[@".tag"] = @"permission_denied"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkAction *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkAudienceDisallowedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"change_access_level"]) { - return [[DBSHARINGLinkAction alloc] initWithChangeAccessLevel]; - } else if ([tag isEqualToString:@"change_audience"]) { - return [[DBSHARINGLinkAction alloc] initWithChangeAudience]; - } else if ([tag isEqualToString:@"remove_expiry"]) { - return [[DBSHARINGLinkAction alloc] initWithRemoveExpiry]; - } else if ([tag isEqualToString:@"remove_password"]) { - return [[DBSHARINGLinkAction alloc] initWithRemovePassword]; - } else if ([tag isEqualToString:@"set_expiry"]) { - return [[DBSHARINGLinkAction alloc] initWithSetExpiry]; - } else if ([tag isEqualToString:@"set_password"]) { - return [[DBSHARINGLinkAction alloc] initWithSetPassword]; + if ([tag isEqualToString:@"delete_and_recreate"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithDeleteAndRecreate]; + } else if ([tag isEqualToString:@"restricted_by_shared_folder"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithRestrictedBySharedFolder]; + } else if ([tag isEqualToString:@"restricted_by_team"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithRestrictedByTeam]; + } else if ([tag isEqualToString:@"user_not_on_team"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithUserNotOnTeam]; + } else if ([tag isEqualToString:@"user_account_type"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithUserAccountType]; + } else if ([tag isEqualToString:@"permission_denied"]) { + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithPermissionDenied]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGLinkAction alloc] initWithOther]; + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithOther]; } else { - return [[DBSHARINGLinkAction alloc] initWithOther]; + return [[DBSHARINGLinkAudienceDisallowedReason alloc] initWithOther]; } } @end #import "DBSHARINGLinkAudience.h" +#import "DBSHARINGLinkAudienceDisallowedReason.h" +#import "DBSHARINGLinkAudienceOption.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGLinkAudience +@implementation DBSHARINGLinkAudienceOption #pragma mark - Constructors -- (instancetype)initWithPublic { - self = [super init]; - if (self) { - _tag = DBSHARINGLinkAudiencePublic; - } - return self; -} - -- (instancetype)initWithTeam { - self = [super init]; - if (self) { - _tag = DBSHARINGLinkAudienceTeam; - } - return self; -} - -- (instancetype)initWithMembers { - self = [super init]; - if (self) { - _tag = DBSHARINGLinkAudienceMembers; - } - return self; -} +- (instancetype)initWithAudience:(DBSHARINGLinkAudience *)audience + allowed:(NSNumber *)allowed + disallowedReason:(DBSHARINGLinkAudienceDisallowedReason *)disallowedReason { + [DBStoneValidators nonnullValidator:nil](audience); + [DBStoneValidators nonnullValidator:nil](allowed); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGLinkAudienceOther; + _audience = audience; + _allowed = allowed; + _disallowedReason = disallowedReason; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isPublic { - return _tag == DBSHARINGLinkAudiencePublic; -} - -- (BOOL)isTeam { - return _tag == DBSHARINGLinkAudienceTeam; -} - -- (BOOL)isMembers { - return _tag == DBSHARINGLinkAudienceMembers; -} - -- (BOOL)isOther { - return _tag == DBSHARINGLinkAudienceOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGLinkAudiencePublic: - return @"DBSHARINGLinkAudiencePublic"; - case DBSHARINGLinkAudienceTeam: - return @"DBSHARINGLinkAudienceTeam"; - case DBSHARINGLinkAudienceMembers: - return @"DBSHARINGLinkAudienceMembers"; - case DBSHARINGLinkAudienceOther: - return @"DBSHARINGLinkAudienceOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithAudience:(DBSHARINGLinkAudience *)audience allowed:(NSNumber *)allowed { + return [self initWithAudience:audience allowed:allowed disallowedReason:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGLinkAudienceSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGLinkAudienceOptionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGLinkAudienceSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGLinkAudienceOptionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGLinkAudienceSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGLinkAudienceOptionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -10328,15 +12427,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGLinkAudiencePublic: - result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkAudienceTeam: - result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkAudienceMembers: - result = prime * result + [[self tagName] hash]; - case DBSHARINGLinkAudienceOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.audience hash]; + result = prime * result + [self.allowed hash]; + if (self.disallowedReason != nil) { + result = prime * result + [self.disallowedReason hash]; } return prime * result; @@ -10351,25 +12445,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLinkAudience:other]; + return [self isEqualToLinkAudienceOption:other]; } -- (BOOL)isEqualToLinkAudience:(DBSHARINGLinkAudience *)aLinkAudience { - if (self == aLinkAudience) { +- (BOOL)isEqualToLinkAudienceOption:(DBSHARINGLinkAudienceOption *)aLinkAudienceOption { + if (self == aLinkAudienceOption) { return YES; } - if (self.tag != aLinkAudience.tag) { + if (![self.audience isEqual:aLinkAudienceOption.audience]) { return NO; } - switch (_tag) { - case DBSHARINGLinkAudiencePublic: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBSHARINGLinkAudienceTeam: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBSHARINGLinkAudienceMembers: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBSHARINGLinkAudienceOther: - return [[self tagName] isEqual:[aLinkAudience tagName]]; + if (![self.allowed isEqual:aLinkAudienceOption.allowed]) { + return NO; + } + if (self.disallowedReason) { + if (![self.disallowedReason isEqual:aLinkAudienceOption.disallowedReason]) { + return NO; + } } return YES; } @@ -10378,40 +12470,31 @@ - (BOOL)isEqualToLinkAudience:(DBSHARINGLinkAudience *)aLinkAudience { #pragma mark - Serializer Object -@implementation DBSHARINGLinkAudienceSerializer +@implementation DBSHARINGLinkAudienceOptionSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkAudience *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkAudienceOption *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPublic]) { - jsonDict[@".tag"] = @"public"; - } else if ([valueObj isTeam]) { - jsonDict[@".tag"] = @"team"; - } else if ([valueObj isMembers]) { - jsonDict[@".tag"] = @"members"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; + jsonDict[@"allowed"] = valueObj.allowed; + if (valueObj.disallowedReason) { + jsonDict[@"disallowed_reason"] = + [DBSHARINGLinkAudienceDisallowedReasonSerializer serialize:valueObj.disallowedReason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGLinkAudienceOption *)deserialize:(NSDictionary *)valueDict { + DBSHARINGLinkAudience *audience = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]]; + NSNumber *allowed = valueDict[@"allowed"]; + DBSHARINGLinkAudienceDisallowedReason *disallowedReason = + valueDict[@"disallowed_reason"] + ? [DBSHARINGLinkAudienceDisallowedReasonSerializer deserialize:valueDict[@"disallowed_reason"]] + : nil; - if ([tag isEqualToString:@"public"]) { - return [[DBSHARINGLinkAudience alloc] initWithPublic]; - } else if ([tag isEqualToString:@"team"]) { - return [[DBSHARINGLinkAudience alloc] initWithTeam]; - } else if ([tag isEqualToString:@"members"]) { - return [[DBSHARINGLinkAudience alloc] initWithMembers]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGLinkAudience alloc] initWithOther]; - } else { - return [[DBSHARINGLinkAudience alloc] initWithOther]; - } + return + [[DBSHARINGLinkAudienceOption alloc] initWithAudience:audience allowed:allowed disallowedReason:disallowedReason]; } @end @@ -10492,17 +12575,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkExpirySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkExpirySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGLinkExpirySerializer serialize:self] description]; } @@ -10523,10 +12606,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGLinkExpiryRemoveExpiry: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGLinkExpirySetExpiry: result = prime * result + [self.setExpiry hash]; + break; case DBSHARINGLinkExpiryOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10568,7 +12654,7 @@ - (BOOL)isEqualToLinkExpiry:(DBSHARINGLinkExpiry *)aLinkExpiry { @implementation DBSHARINGLinkExpirySerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkExpiry *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkExpiry *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRemoveExpiry]) { @@ -10582,10 +12668,10 @@ + (NSDictionary *)serialize:(DBSHARINGLinkExpiry *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"remove_expiry"]) { @@ -10678,17 +12764,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkPasswordSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPasswordSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGLinkPasswordSerializer serialize:self] description]; } @@ -10709,10 +12795,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGLinkPasswordRemovePassword: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGLinkPasswordSetPassword: result = prime * result + [self.setPassword hash]; + break; case DBSHARINGLinkPasswordOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10754,7 +12843,7 @@ - (BOOL)isEqualToLinkPassword:(DBSHARINGLinkPassword *)aLinkPassword { @implementation DBSHARINGLinkPasswordSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkPassword *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkPassword *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRemovePassword]) { @@ -10768,10 +12857,10 @@ + (NSDictionary *)serialize:(DBSHARINGLinkPassword *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"remove_password"]) { @@ -10821,17 +12910,17 @@ - (instancetype)initWithAction:(DBSHARINGLinkAction *)action allow:(NSNumber *)a #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkPermissionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPermissionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGLinkPermissionSerializer serialize:self] description]; } @@ -10894,7 +12983,7 @@ - (BOOL)isEqualToLinkPermission:(DBSHARINGLinkPermission *)aLinkPermission { @implementation DBSHARINGLinkPermissionSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkPermission *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"action"] = [DBSHARINGLinkActionSerializer serialize:valueObj.action]; @@ -10903,10 +12992,10 @@ + (NSDictionary *)serialize:(DBSHARINGLinkPermission *)valueObj { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)valueDict { DBSHARINGLinkAction *action = [DBSHARINGLinkActionSerializer deserialize:valueDict[@"action"]]; NSNumber *allow = valueDict[@"allow"]; DBSHARINGPermissionDeniedReason *reason = @@ -10917,10 +13006,14 @@ + (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)valueDict { @end +#import "DBSHARINGLinkAccessLevel.h" +#import "DBSHARINGLinkAudience.h" +#import "DBSHARINGLinkAudienceOption.h" #import "DBSHARINGLinkPermissions.h" #import "DBSHARINGRequestedVisibility.h" #import "DBSHARINGResolvedVisibility.h" #import "DBSHARINGSharedLinkAccessFailureReason.h" +#import "DBSHARINGVisibilityPolicy.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" @@ -10931,10 +13024,40 @@ @implementation DBSHARINGLinkPermissions #pragma mark - Constructors - (instancetype)initWithCanRevoke:(NSNumber *)canRevoke + visibilityPolicies:(NSArray *)visibilityPolicies + canSetExpiry:(NSNumber *)canSetExpiry + canRemoveExpiry:(NSNumber *)canRemoveExpiry + allowDownload:(NSNumber *)allowDownload + canAllowDownload:(NSNumber *)canAllowDownload + canDisallowDownload:(NSNumber *)canDisallowDownload + allowComments:(NSNumber *)allowComments + teamRestrictsComments:(NSNumber *)teamRestrictsComments resolvedVisibility:(DBSHARINGResolvedVisibility *)resolvedVisibility requestedVisibility:(DBSHARINGRequestedVisibility *)requestedVisibility - revokeFailureReason:(DBSHARINGSharedLinkAccessFailureReason *)revokeFailureReason { + revokeFailureReason:(DBSHARINGSharedLinkAccessFailureReason *)revokeFailureReason + effectiveAudience:(DBSHARINGLinkAudience *)effectiveAudience + linkAccessLevel:(DBSHARINGLinkAccessLevel *)linkAccessLevel + audienceOptions:(NSArray *)audienceOptions + canSetPassword:(NSNumber *)canSetPassword + canRemovePassword:(NSNumber *)canRemovePassword + requirePassword:(NSNumber *)requirePassword + canUseExtendedSharingControls:(NSNumber *)canUseExtendedSharingControls { [DBStoneValidators nonnullValidator:nil](canRevoke); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](visibilityPolicies); + [DBStoneValidators nonnullValidator:nil](canSetExpiry); + [DBStoneValidators nonnullValidator:nil](canRemoveExpiry); + [DBStoneValidators nonnullValidator:nil](allowDownload); + [DBStoneValidators nonnullValidator:nil](canAllowDownload); + [DBStoneValidators nonnullValidator:nil](canDisallowDownload); + [DBStoneValidators nonnullValidator:nil](allowComments); + [DBStoneValidators nonnullValidator:nil](teamRestrictsComments); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](audienceOptions); self = [super init]; if (self) { @@ -10942,27 +13065,68 @@ - (instancetype)initWithCanRevoke:(NSNumber *)canRevoke _requestedVisibility = requestedVisibility; _canRevoke = canRevoke; _revokeFailureReason = revokeFailureReason; + _effectiveAudience = effectiveAudience; + _linkAccessLevel = linkAccessLevel; + _visibilityPolicies = visibilityPolicies; + _canSetExpiry = canSetExpiry; + _canRemoveExpiry = canRemoveExpiry; + _allowDownload = allowDownload; + _canAllowDownload = canAllowDownload; + _canDisallowDownload = canDisallowDownload; + _allowComments = allowComments; + _teamRestrictsComments = teamRestrictsComments; + _audienceOptions = audienceOptions; + _canSetPassword = canSetPassword; + _canRemovePassword = canRemovePassword; + _requirePassword = requirePassword; + _canUseExtendedSharingControls = canUseExtendedSharingControls; } return self; } -- (instancetype)initWithCanRevoke:(NSNumber *)canRevoke { - return [self initWithCanRevoke:canRevoke resolvedVisibility:nil requestedVisibility:nil revokeFailureReason:nil]; +- (instancetype)initWithCanRevoke:(NSNumber *)canRevoke + visibilityPolicies:(NSArray *)visibilityPolicies + canSetExpiry:(NSNumber *)canSetExpiry + canRemoveExpiry:(NSNumber *)canRemoveExpiry + allowDownload:(NSNumber *)allowDownload + canAllowDownload:(NSNumber *)canAllowDownload + canDisallowDownload:(NSNumber *)canDisallowDownload + allowComments:(NSNumber *)allowComments + teamRestrictsComments:(NSNumber *)teamRestrictsComments { + return [self initWithCanRevoke:canRevoke + visibilityPolicies:visibilityPolicies + canSetExpiry:canSetExpiry + canRemoveExpiry:canRemoveExpiry + allowDownload:allowDownload + canAllowDownload:canAllowDownload + canDisallowDownload:canDisallowDownload + allowComments:allowComments + teamRestrictsComments:teamRestrictsComments + resolvedVisibility:nil + requestedVisibility:nil + revokeFailureReason:nil + effectiveAudience:nil + linkAccessLevel:nil + audienceOptions:nil + canSetPassword:nil + canRemovePassword:nil + requirePassword:nil + canUseExtendedSharingControls:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkPermissionsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkPermissionsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGLinkPermissionsSerializer serialize:self] description]; } @@ -10981,6 +13145,14 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.canRevoke hash]; + result = prime * result + [self.visibilityPolicies hash]; + result = prime * result + [self.canSetExpiry hash]; + result = prime * result + [self.canRemoveExpiry hash]; + result = prime * result + [self.allowDownload hash]; + result = prime * result + [self.canAllowDownload hash]; + result = prime * result + [self.canDisallowDownload hash]; + result = prime * result + [self.allowComments hash]; + result = prime * result + [self.teamRestrictsComments hash]; if (self.resolvedVisibility != nil) { result = prime * result + [self.resolvedVisibility hash]; } @@ -10990,6 +13162,27 @@ - (NSUInteger)hash { if (self.revokeFailureReason != nil) { result = prime * result + [self.revokeFailureReason hash]; } + if (self.effectiveAudience != nil) { + result = prime * result + [self.effectiveAudience hash]; + } + if (self.linkAccessLevel != nil) { + result = prime * result + [self.linkAccessLevel hash]; + } + if (self.audienceOptions != nil) { + result = prime * result + [self.audienceOptions hash]; + } + if (self.canSetPassword != nil) { + result = prime * result + [self.canSetPassword hash]; + } + if (self.canRemovePassword != nil) { + result = prime * result + [self.canRemovePassword hash]; + } + if (self.requirePassword != nil) { + result = prime * result + [self.requirePassword hash]; + } + if (self.canUseExtendedSharingControls != nil) { + result = prime * result + [self.canUseExtendedSharingControls hash]; + } return prime * result; } @@ -11013,6 +13206,30 @@ - (BOOL)isEqualToLinkPermissions:(DBSHARINGLinkPermissions *)aLinkPermissions { if (![self.canRevoke isEqual:aLinkPermissions.canRevoke]) { return NO; } + if (![self.visibilityPolicies isEqual:aLinkPermissions.visibilityPolicies]) { + return NO; + } + if (![self.canSetExpiry isEqual:aLinkPermissions.canSetExpiry]) { + return NO; + } + if (![self.canRemoveExpiry isEqual:aLinkPermissions.canRemoveExpiry]) { + return NO; + } + if (![self.allowDownload isEqual:aLinkPermissions.allowDownload]) { + return NO; + } + if (![self.canAllowDownload isEqual:aLinkPermissions.canAllowDownload]) { + return NO; + } + if (![self.canDisallowDownload isEqual:aLinkPermissions.canDisallowDownload]) { + return NO; + } + if (![self.allowComments isEqual:aLinkPermissions.allowComments]) { + return NO; + } + if (![self.teamRestrictsComments isEqual:aLinkPermissions.teamRestrictsComments]) { + return NO; + } if (self.resolvedVisibility) { if (![self.resolvedVisibility isEqual:aLinkPermissions.resolvedVisibility]) { return NO; @@ -11028,6 +13245,41 @@ - (BOOL)isEqualToLinkPermissions:(DBSHARINGLinkPermissions *)aLinkPermissions { return NO; } } + if (self.effectiveAudience) { + if (![self.effectiveAudience isEqual:aLinkPermissions.effectiveAudience]) { + return NO; + } + } + if (self.linkAccessLevel) { + if (![self.linkAccessLevel isEqual:aLinkPermissions.linkAccessLevel]) { + return NO; + } + } + if (self.audienceOptions) { + if (![self.audienceOptions isEqual:aLinkPermissions.audienceOptions]) { + return NO; + } + } + if (self.canSetPassword) { + if (![self.canSetPassword isEqual:aLinkPermissions.canSetPassword]) { + return NO; + } + } + if (self.canRemovePassword) { + if (![self.canRemovePassword isEqual:aLinkPermissions.canRemovePassword]) { + return NO; + } + } + if (self.requirePassword) { + if (![self.requirePassword isEqual:aLinkPermissions.requirePassword]) { + return NO; + } + } + if (self.canUseExtendedSharingControls) { + if (![self.canUseExtendedSharingControls isEqual:aLinkPermissions.canUseExtendedSharingControls]) { + return NO; + } + } return YES; } @@ -11037,10 +13289,21 @@ - (BOOL)isEqualToLinkPermissions:(DBSHARINGLinkPermissions *)aLinkPermissions { @implementation DBSHARINGLinkPermissionsSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkPermissions *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkPermissions *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"can_revoke"] = valueObj.canRevoke; + jsonDict[@"visibility_policies"] = [DBArraySerializer serialize:valueObj.visibilityPolicies + withBlock:^id(id elem0) { + return [DBSHARINGVisibilityPolicySerializer serialize:elem0]; + }]; + jsonDict[@"can_set_expiry"] = valueObj.canSetExpiry; + jsonDict[@"can_remove_expiry"] = valueObj.canRemoveExpiry; + jsonDict[@"allow_download"] = valueObj.allowDownload; + jsonDict[@"can_allow_download"] = valueObj.canAllowDownload; + jsonDict[@"can_disallow_download"] = valueObj.canDisallowDownload; + jsonDict[@"allow_comments"] = valueObj.allowComments; + jsonDict[@"team_restricts_comments"] = valueObj.teamRestrictsComments; if (valueObj.resolvedVisibility) { jsonDict[@"resolved_visibility"] = [DBSHARINGResolvedVisibilitySerializer serialize:valueObj.resolvedVisibility]; } @@ -11051,12 +13314,48 @@ + (NSDictionary *)serialize:(DBSHARINGLinkPermissions *)valueObj { jsonDict[@"revoke_failure_reason"] = [DBSHARINGSharedLinkAccessFailureReasonSerializer serialize:valueObj.revokeFailureReason]; } + if (valueObj.effectiveAudience) { + jsonDict[@"effective_audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.effectiveAudience]; + } + if (valueObj.linkAccessLevel) { + jsonDict[@"link_access_level"] = [DBSHARINGLinkAccessLevelSerializer serialize:valueObj.linkAccessLevel]; + } + if (valueObj.audienceOptions) { + jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceOptionSerializer serialize:elem0]; + }]; + } + if (valueObj.canSetPassword) { + jsonDict[@"can_set_password"] = valueObj.canSetPassword; + } + if (valueObj.canRemovePassword) { + jsonDict[@"can_remove_password"] = valueObj.canRemovePassword; + } + if (valueObj.requirePassword) { + jsonDict[@"require_password"] = valueObj.requirePassword; + } + if (valueObj.canUseExtendedSharingControls) { + jsonDict[@"can_use_extended_sharing_controls"] = valueObj.canUseExtendedSharingControls; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)valueDict { NSNumber *canRevoke = valueDict[@"can_revoke"]; + NSArray *visibilityPolicies = + [DBArraySerializer deserialize:valueDict[@"visibility_policies"] + withBlock:^id(id elem0) { + return [DBSHARINGVisibilityPolicySerializer deserialize:elem0]; + }]; + NSNumber *canSetExpiry = valueDict[@"can_set_expiry"]; + NSNumber *canRemoveExpiry = valueDict[@"can_remove_expiry"]; + NSNumber *allowDownload = valueDict[@"allow_download"]; + NSNumber *canAllowDownload = valueDict[@"can_allow_download"]; + NSNumber *canDisallowDownload = valueDict[@"can_disallow_download"]; + NSNumber *allowComments = valueDict[@"allow_comments"]; + NSNumber *teamRestrictsComments = valueDict[@"team_restricts_comments"]; DBSHARINGResolvedVisibility *resolvedVisibility = valueDict[@"resolved_visibility"] ? [DBSHARINGResolvedVisibilitySerializer deserialize:valueDict[@"resolved_visibility"]] @@ -11069,11 +13368,43 @@ + (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)valueDict { valueDict[@"revoke_failure_reason"] ? [DBSHARINGSharedLinkAccessFailureReasonSerializer deserialize:valueDict[@"revoke_failure_reason"]] : nil; + DBSHARINGLinkAudience *effectiveAudience = + valueDict[@"effective_audience"] ? [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"effective_audience"]] + : nil; + DBSHARINGLinkAccessLevel *linkAccessLevel = + valueDict[@"link_access_level"] ? [DBSHARINGLinkAccessLevelSerializer deserialize:valueDict[@"link_access_level"]] + : nil; + NSArray *audienceOptions = + valueDict[@"audience_options"] + ? [DBArraySerializer deserialize:valueDict[@"audience_options"] + withBlock:^id(id elem0) { + return [DBSHARINGLinkAudienceOptionSerializer deserialize:elem0]; + }] + : nil; + NSNumber *canSetPassword = valueDict[@"can_set_password"] ?: nil; + NSNumber *canRemovePassword = valueDict[@"can_remove_password"] ?: nil; + NSNumber *requirePassword = valueDict[@"require_password"] ?: nil; + NSNumber *canUseExtendedSharingControls = valueDict[@"can_use_extended_sharing_controls"] ?: nil; return [[DBSHARINGLinkPermissions alloc] initWithCanRevoke:canRevoke + visibilityPolicies:visibilityPolicies + canSetExpiry:canSetExpiry + canRemoveExpiry:canRemoveExpiry + allowDownload:allowDownload + canAllowDownload:canAllowDownload + canDisallowDownload:canDisallowDownload + allowComments:allowComments + teamRestrictsComments:teamRestrictsComments resolvedVisibility:resolvedVisibility requestedVisibility:requestedVisibility - revokeFailureReason:revokeFailureReason]; + revokeFailureReason:revokeFailureReason + effectiveAudience:effectiveAudience + linkAccessLevel:linkAccessLevel + audienceOptions:audienceOptions + canSetPassword:canSetPassword + canRemovePassword:canRemovePassword + requirePassword:requirePassword + canUseExtendedSharingControls:canUseExtendedSharingControls]; } @end @@ -11113,17 +13444,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGLinkSettingsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGLinkSettingsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGLinkSettingsSerializer serialize:self] description]; } @@ -11202,7 +13533,7 @@ - (BOOL)isEqualToLinkSettings:(DBSHARINGLinkSettings *)aLinkSettings { @implementation DBSHARINGLinkSettingsSerializer -+ (NSDictionary *)serialize:(DBSHARINGLinkSettings *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGLinkSettings *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.accessLevel) { @@ -11218,10 +13549,10 @@ + (NSDictionary *)serialize:(DBSHARINGLinkSettings *)valueObj { jsonDict[@"password"] = [DBSHARINGLinkPasswordSerializer serialize:valueObj.password]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; DBSHARINGLinkAudience *audience = @@ -11277,17 +13608,17 @@ - (instancetype)initWithFile:(NSString *)file { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersArgSerializer serialize:self] description]; } @@ -11354,7 +13685,7 @@ - (BOOL)isEqualToListFileMembersArg:(DBSHARINGListFileMembersArg *)aListFileMemb @implementation DBSHARINGListFileMembersArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; @@ -11367,10 +13698,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)valueObj { jsonDict[@"include_inherited"] = valueObj.includeInherited; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] @@ -11409,8 +13740,8 @@ - (instancetype)initWithFiles:(NSArray *)files limit:(NSNumber *)lim stringValidator:@(1) maxLength:nil pattern:@"((/" - @"|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(" - @"/.*)?"]]]](files); + @"|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/" + @".*)?"]]]](files); self = [super init]; if (self) { @@ -11426,17 +13757,17 @@ - (instancetype)initWithFiles:(NSArray *)files { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersBatchArgSerializer serialize:self] description]; } @@ -11491,7 +13822,7 @@ - (BOOL)isEqualToListFileMembersBatchArg:(DBSHARINGListFileMembersBatchArg *)aLi @implementation DBSHARINGListFileMembersBatchArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"files"] = [DBArraySerializer serialize:valueObj.files @@ -11500,10 +13831,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)valueObj { }]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *files = [DBArraySerializer deserialize:valueDict[@"files"] withBlock:^id(id elem0) { return elem0; @@ -11543,17 +13874,17 @@ - (instancetype)initWithFile:(NSString *)file result:(DBSHARINGListFileMembersIn #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersBatchResultSerializer serialize:self] description]; } @@ -11608,16 +13939,16 @@ - (BOOL)isEqualToListFileMembersBatchResult:(DBSHARINGListFileMembersBatchResult @implementation DBSHARINGListFileMembersBatchResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"result"] = [DBSHARINGListFileMembersIndividualResultSerializer serialize:valueObj.result]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGListFileMembersIndividualResult *result = [DBSHARINGListFileMembersIndividualResultSerializer deserialize:valueDict[@"result"]]; @@ -11649,17 +13980,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersContinueArgSerializer serialize:self] description]; } @@ -11710,15 +14041,15 @@ - (BOOL)isEqualToListFileMembersContinueArg:(DBSHARINGListFileMembersContinueArg @implementation DBSHARINGListFileMembersContinueArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFileMembersContinueArg alloc] initWithCursor:cursor]; @@ -11830,17 +14161,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersContinueErrorSerializer serialize:self] description]; } @@ -11861,12 +14192,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFileMembersContinueErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGListFileMembersContinueErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGListFileMembersContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGListFileMembersContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -11910,7 +14245,7 @@ - (BOOL)isEqualToListFileMembersContinueError:(DBSHARINGListFileMembersContinueE @implementation DBSHARINGListFileMembersContinueErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -11928,10 +14263,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -11977,17 +14312,17 @@ - (instancetype)initWithMembers:(DBSHARINGSharedFileMembers *)members memberCoun #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersCountResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersCountResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersCountResultSerializer serialize:self] description]; } @@ -12042,16 +14377,16 @@ - (BOOL)isEqualToListFileMembersCountResult:(DBSHARINGListFileMembersCountResult @implementation DBSHARINGListFileMembersCountResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"members"] = [DBSHARINGSharedFileMembersSerializer serialize:valueObj.members]; jsonDict[@"member_count"] = valueObj.memberCount; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGSharedFileMembers *members = [DBSHARINGSharedFileMembersSerializer deserialize:valueDict[@"members"]]; NSNumber *memberCount = valueDict[@"member_count"]; @@ -12148,17 +14483,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersErrorSerializer serialize:self] description]; } @@ -12179,10 +14514,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFileMembersErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGListFileMembersErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGListFileMembersErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12224,7 +14562,7 @@ - (BOOL)isEqualToListFileMembersError:(DBSHARINGListFileMembersError *)aListFile @implementation DBSHARINGListFileMembersErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -12240,10 +14578,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFileMembersError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -12352,17 +14690,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFileMembersIndividualResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFileMembersIndividualResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFileMembersIndividualResultSerializer serialize:self] description]; } @@ -12383,10 +14721,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFileMembersIndividualResultResult: result = prime * result + [self.result hash]; + break; case DBSHARINGListFileMembersIndividualResultAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGListFileMembersIndividualResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12429,11 +14770,11 @@ - (BOOL)isEqualToListFileMembersIndividualResult: @implementation DBSHARINGListFileMembersIndividualResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isResult]) { - jsonDict[@"result"] = [[DBSHARINGListFileMembersCountResultSerializer serialize:valueObj.result] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBSHARINGListFileMembersCountResultSerializer serialize:valueObj.result]]; jsonDict[@".tag"] = @"result"; } else if ([valueObj isAccessError]) { jsonDict[@"access_error"] = @@ -12445,10 +14786,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)valueObj jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"result"]) { @@ -12498,17 +14839,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFilesArgSerializer serialize:self] description]; } @@ -12567,7 +14908,7 @@ - (BOOL)isEqualToListFilesArg:(DBSHARINGListFilesArg *)aListFilesArg { @implementation DBSHARINGListFilesArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFilesArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFilesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; @@ -12578,10 +14919,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFilesArg *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(100); NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] @@ -12617,17 +14958,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFilesContinueArgSerializer serialize:self] description]; } @@ -12678,15 +15019,15 @@ - (BOOL)isEqualToListFilesContinueArg:(DBSHARINGListFilesContinueArg *)aListFile @implementation DBSHARINGListFilesContinueArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFilesContinueArg alloc] initWithCursor:cursor]; @@ -12771,17 +15112,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFilesContinueErrorSerializer serialize:self] description]; } @@ -12802,10 +15143,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFilesContinueErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGListFilesContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGListFilesContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12847,7 +15191,7 @@ - (BOOL)isEqualToListFilesContinueError:(DBSHARINGListFilesContinueError *)aList @implementation DBSHARINGListFilesContinueErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -12861,10 +15205,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -12912,17 +15256,17 @@ - (instancetype)initWithEntries:(NSArray *)entrie #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFilesResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFilesResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFilesResultSerializer serialize:self] description]; } @@ -12981,7 +15325,7 @@ - (BOOL)isEqualToListFilesResult:(DBSHARINGListFilesResult *)aListFilesResult { @implementation DBSHARINGListFilesResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFilesResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFilesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries @@ -12992,10 +15336,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFilesResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { @@ -13039,17 +15383,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersCursorArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersCursorArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFolderMembersCursorArgSerializer serialize:self] description]; } @@ -13108,7 +15452,7 @@ - (BOOL)isEqualToListFolderMembersCursorArg:(DBSHARINGListFolderMembersCursorArg @implementation DBSHARINGListFolderMembersCursorArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.actions) { @@ -13119,10 +15463,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)valueObj { } jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)valueDict { NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { @@ -13171,17 +15515,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFolderMembersArgsSerializer serialize:self] description]; } @@ -13244,7 +15588,7 @@ - (BOOL)isEqualToListFolderMembersArgs:(DBSHARINGListFolderMembersArgs *)aListFo @implementation DBSHARINGListFolderMembersArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; @@ -13256,10 +15600,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)valueObj { } jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] @@ -13296,17 +15640,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFolderMembersContinueArgSerializer serialize:self] description]; } @@ -13357,15 +15701,15 @@ - (BOOL)isEqualToListFolderMembersContinueArg:(DBSHARINGListFolderMembersContinu @implementation DBSHARINGListFolderMembersContinueArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFolderMembersContinueArg alloc] initWithCursor:cursor]; @@ -13451,17 +15795,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFolderMembersContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFolderMembersContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFolderMembersContinueErrorSerializer serialize:self] description]; } @@ -13482,10 +15826,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFolderMembersContinueErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGListFolderMembersContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGListFolderMembersContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13528,7 +15875,7 @@ - (BOOL)isEqualToListFolderMembersContinueError: @implementation DBSHARINGListFolderMembersContinueErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -13543,10 +15890,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)valueObj jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -13595,17 +15942,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFoldersArgsSerializer serialize:self] description]; } @@ -13664,7 +16011,7 @@ - (BOOL)isEqualToListFoldersArgs:(DBSHARINGListFoldersArgs *)aListFoldersArgs { @implementation DBSHARINGListFoldersArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; @@ -13675,10 +16022,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] @@ -13714,17 +16061,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFoldersContinueArgSerializer serialize:self] description]; } @@ -13775,15 +16122,15 @@ - (BOOL)isEqualToListFoldersContinueArg:(DBSHARINGListFoldersContinueArg *)aList @implementation DBSHARINGListFoldersContinueArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBSHARINGListFoldersContinueArg alloc] initWithCursor:cursor]; @@ -13842,17 +16189,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFoldersContinueErrorSerializer serialize:self] description]; } @@ -13873,8 +16220,10 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListFoldersContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGListFoldersContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13914,7 +16263,7 @@ - (BOOL)isEqualToListFoldersContinueError:(DBSHARINGListFoldersContinueError *)a @implementation DBSHARINGListFoldersContinueErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidCursor]) { @@ -13925,10 +16274,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { @@ -13973,17 +16322,17 @@ - (instancetype)initWithEntries:(NSArray *)entr #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListFoldersResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListFoldersResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListFoldersResultSerializer serialize:self] description]; } @@ -14042,7 +16391,7 @@ - (BOOL)isEqualToListFoldersResult:(DBSHARINGListFoldersResult *)aListFoldersRes @implementation DBSHARINGListFoldersResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListFoldersResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListFoldersResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries @@ -14053,10 +16402,10 @@ + (NSDictionary *)serialize:(DBSHARINGListFoldersResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)valueDict { NSArray *entries = [DBArraySerializer deserialize:valueDict[@"entries"] withBlock:^id(id elem0) { @@ -14101,17 +16450,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListSharedLinksArgSerializer serialize:self] description]; } @@ -14182,7 +16531,7 @@ - (BOOL)isEqualToListSharedLinksArg:(DBSHARINGListSharedLinksArg *)aListSharedLi @implementation DBSHARINGListSharedLinksArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.path) { @@ -14195,10 +16544,10 @@ + (NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)valueObj { jsonDict[@"direct_only"] = valueObj.directOnly; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"] ?: nil; NSString *cursor = valueDict[@"cursor"] ?: nil; NSNumber *directOnly = valueDict[@"direct_only"] ?: nil; @@ -14285,17 +16634,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListSharedLinksErrorSerializer serialize:self] description]; } @@ -14316,10 +16665,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGListSharedLinksErrorPath: result = prime * result + [self.path hash]; + break; case DBSHARINGListSharedLinksErrorReset: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGListSharedLinksErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -14361,7 +16713,7 @@ - (BOOL)isEqualToListSharedLinksError:(DBSHARINGListSharedLinksError *)aListShar @implementation DBSHARINGListSharedLinksErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPath]) { @@ -14375,10 +16727,10 @@ + (NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"path"]) { @@ -14430,17 +16782,17 @@ - (instancetype)initWithLinks:(NSArray *)links ha #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGListSharedLinksResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGListSharedLinksResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGListSharedLinksResultSerializer serialize:self] description]; } @@ -14503,7 +16855,7 @@ - (BOOL)isEqualToListSharedLinksResult:(DBSHARINGListSharedLinksResult *)aListSh @implementation DBSHARINGListSharedLinksResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"links"] = [DBArraySerializer serialize:valueObj.links @@ -14515,10 +16867,10 @@ + (NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)valueDict { NSArray *links = [DBArraySerializer deserialize:valueDict[@"links"] withBlock:^id(id elem0) { @@ -14567,17 +16919,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberAccessLevelResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberAccessLevelResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMemberAccessLevelResultSerializer serialize:self] description]; } @@ -14648,7 +17000,7 @@ - (BOOL)isEqualToMemberAccessLevelResult:(DBSHARINGMemberAccessLevelResult *)aMe @implementation DBSHARINGMemberAccessLevelResultSerializer -+ (NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.accessLevel) { @@ -14665,10 +17017,10 @@ + (NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessLevel = valueDict[@"access_level"] ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]] : nil; NSString *warning = valueDict[@"warning"] ?: nil; @@ -14808,17 +17160,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberActionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberActionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMemberActionSerializer serialize:self] description]; } @@ -14839,18 +17191,25 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGMemberActionLeaveACopy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionMakeEditor: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionMakeOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionMakeViewer: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionMakeViewerNoComment: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionRemove: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberActionOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -14900,7 +17259,7 @@ - (BOOL)isEqualToMemberAction:(DBSHARINGMemberAction *)aMemberAction { @implementation DBSHARINGMemberActionSerializer -+ (NSDictionary *)serialize:(DBSHARINGMemberAction *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMemberAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isLeaveACopy]) { @@ -14921,10 +17280,10 @@ + (NSDictionary *)serialize:(DBSHARINGMemberAction *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMemberAction *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMemberAction *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"leave_a_copy"]) { @@ -14981,17 +17340,17 @@ - (instancetype)initWithAction:(DBSHARINGMemberAction *)action allow:(NSNumber * #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberPermissionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberPermissionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMemberPermissionSerializer serialize:self] description]; } @@ -15054,7 +17413,7 @@ - (BOOL)isEqualToMemberPermission:(DBSHARINGMemberPermission *)aMemberPermission @implementation DBSHARINGMemberPermissionSerializer -+ (NSDictionary *)serialize:(DBSHARINGMemberPermission *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMemberPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"action"] = [DBSHARINGMemberActionSerializer serialize:valueObj.action]; @@ -15063,10 +17422,10 @@ + (NSDictionary *)serialize:(DBSHARINGMemberPermission *)valueObj { jsonDict[@"reason"] = [DBSHARINGPermissionDeniedReasonSerializer serialize:valueObj.reason]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)valueDict { DBSHARINGMemberAction *action = [DBSHARINGMemberActionSerializer deserialize:valueDict[@"action"]]; NSNumber *allow = valueDict[@"allow"]; DBSHARINGPermissionDeniedReason *reason = @@ -15142,17 +17501,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMemberPolicySerializer serialize:self] description]; } @@ -15173,10 +17532,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGMemberPolicyTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberPolicyAnyone: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMemberPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -15218,7 +17580,7 @@ - (BOOL)isEqualToMemberPolicy:(DBSHARINGMemberPolicy *)aMemberPolicy { @implementation DBSHARINGMemberPolicySerializer -+ (NSDictionary *)serialize:(DBSHARINGMemberPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMemberPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeam]) { @@ -15231,10 +17593,10 @@ + (NSDictionary *)serialize:(DBSHARINGMemberPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { @@ -15336,17 +17698,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMemberSelectorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMemberSelectorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMemberSelectorSerializer serialize:self] description]; } @@ -15367,10 +17729,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGMemberSelectorDropboxId: result = prime * result + [self.dropboxId hash]; + break; case DBSHARINGMemberSelectorEmail: result = prime * result + [self.email hash]; + break; case DBSHARINGMemberSelectorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -15412,7 +17777,7 @@ - (BOOL)isEqualToMemberSelector:(DBSHARINGMemberSelector *)aMemberSelector { @implementation DBSHARINGMemberSelectorSerializer -+ (NSDictionary *)serialize:(DBSHARINGMemberSelector *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMemberSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDropboxId]) { @@ -15427,10 +17792,10 @@ + (NSDictionary *)serialize:(DBSHARINGMemberSelector *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"dropbox_id"]) { @@ -15480,17 +17845,17 @@ - (instancetype)initWithUrl:(NSString *)url settings:(DBSHARINGSharedLinkSetting #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGModifySharedLinkSettingsArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGModifySharedLinkSettingsArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGModifySharedLinkSettingsArgsSerializer serialize:self] description]; } @@ -15549,17 +17914,17 @@ - (BOOL)isEqualToModifySharedLinkSettingsArgs:(DBSHARINGModifySharedLinkSettings @implementation DBSHARINGModifySharedLinkSettingsArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; jsonDict[@"settings"] = [DBSHARINGSharedLinkSettingsSerializer serialize:valueObj.settings]; jsonDict[@"remove_expiration"] = valueObj.removeExpiration; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; DBSHARINGSharedLinkSettings *settings = [DBSHARINGSharedLinkSettingsSerializer deserialize:valueDict[@"settings"]]; NSNumber *removeExpiration = valueDict[@"remove_expiration"] ?: @NO; @@ -15692,17 +18057,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGModifySharedLinkSettingsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGModifySharedLinkSettingsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGModifySharedLinkSettingsErrorSerializer serialize:self] description]; } @@ -15723,16 +18088,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGModifySharedLinkSettingsErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGModifySharedLinkSettingsErrorSettingsError: result = prime * result + [self.settingsError hash]; + break; case DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -15781,7 +18152,7 @@ - (BOOL)isEqualToModifySharedLinkSettingsError: @implementation DBSHARINGModifySharedLinkSettingsErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSharedLinkNotFound]) { @@ -15802,10 +18173,10 @@ + (NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"shared_link_not_found"]) { @@ -15852,17 +18223,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMountFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMountFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMountFolderArgSerializer serialize:self] description]; } @@ -15913,15 +18284,15 @@ - (BOOL)isEqualToMountFolderArg:(DBSHARINGMountFolderArg *)aMountFolderArg { @implementation DBSHARINGMountFolderArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGMountFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMountFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; return [[DBSHARINGMountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; @@ -16074,17 +18445,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGMountFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGMountFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGMountFolderErrorSerializer serialize:self] description]; } @@ -16105,18 +18476,25 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGMountFolderErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGMountFolderErrorInsideSharedFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMountFolderErrorInsufficientQuota: result = prime * result + [self.insufficientQuota hash]; + break; case DBSHARINGMountFolderErrorAlreadyMounted: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMountFolderErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMountFolderErrorNotMountable: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGMountFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -16166,7 +18544,7 @@ - (BOOL)isEqualToMountFolderError:(DBSHARINGMountFolderError *)aMountFolderError @implementation DBSHARINGMountFolderErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGMountFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGMountFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -16176,8 +18554,8 @@ + (NSDictionary *)serialize:(DBSHARINGMountFolderError *)valueObj { } else if ([valueObj isInsideSharedFolder]) { jsonDict[@".tag"] = @"inside_shared_folder"; } else if ([valueObj isInsufficientQuota]) { - jsonDict[@"insufficient_quota"] = - [[DBSHARINGInsufficientQuotaAmountsSerializer serialize:valueObj.insufficientQuota] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBSHARINGInsufficientQuotaAmountsSerializer serialize:valueObj.insufficientQuota]]; jsonDict[@".tag"] = @"insufficient_quota"; } else if ([valueObj isAlreadyMounted]) { jsonDict[@".tag"] = @"already_mounted"; @@ -16191,10 +18569,10 @@ + (NSDictionary *)serialize:(DBSHARINGMountFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -16258,17 +18636,17 @@ - (instancetype)initWithFolderName:(NSString *)folderName #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGParentFolderAccessInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGParentFolderAccessInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGParentFolderAccessInfoSerializer serialize:self] description]; } @@ -16331,7 +18709,7 @@ - (BOOL)isEqualToParentFolderAccessInfo:(DBSHARINGParentFolderAccessInfo *)aPare @implementation DBSHARINGParentFolderAccessInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"folder_name"] = valueObj.folderName; @@ -16342,10 +18720,10 @@ + (NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)valueObj { }]; jsonDict[@"path"] = valueObj.path; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)valueDict { NSString *folderName = valueDict[@"folder_name"]; NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSArray *permissions = @@ -16396,17 +18774,17 @@ - (instancetype)initWithUrl:(NSString *)url visibility:(DBSHARINGVisibility *)vi #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPathLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPathLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGPathLinkMetadataSerializer serialize:self] description]; } @@ -16473,7 +18851,7 @@ - (BOOL)isEqualToPathLinkMetadata:(DBSHARINGPathLinkMetadata *)aPathLinkMetadata @implementation DBSHARINGPathLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"url"] = valueObj.url; @@ -16483,10 +18861,10 @@ + (NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)valueObj { jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)valueDict { NSString *url = valueDict[@"url"]; DBSHARINGVisibility *visibility = [DBSHARINGVisibilitySerializer deserialize:valueDict[@"visibility"]]; NSString *path = valueDict[@"path"]; @@ -16550,17 +18928,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPendingUploadModeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPendingUploadModeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGPendingUploadModeSerializer serialize:self] description]; } @@ -16581,8 +18959,10 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGPendingUploadModeFile: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPendingUploadModeFolder: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -16622,7 +19002,7 @@ - (BOOL)isEqualToPendingUploadMode:(DBSHARINGPendingUploadMode *)aPendingUploadM @implementation DBSHARINGPendingUploadModeSerializer -+ (NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isFile]) { @@ -16635,10 +19015,10 @@ + (NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"file"]) { @@ -16915,17 +19295,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGPermissionDeniedReasonSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGPermissionDeniedReasonSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGPermissionDeniedReasonSerializer serialize:self] description]; } @@ -16946,36 +19326,52 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonTargetIsIndirectMember: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonTargetIsOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonTargetIsSelf: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonTargetNotActive: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonOwnerNotOnTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonPermissionDenied: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonRestrictedByTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonUserAccountType: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonUserNotOnTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonRestrictedByParentFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGPermissionDeniedReasonInsufficientPlan: result = prime * result + [self.insufficientPlan hash]; + break; case DBSHARINGPermissionDeniedReasonOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17043,7 +19439,7 @@ - (BOOL)isEqualToPermissionDeniedReason:(DBSHARINGPermissionDeniedReason *)aPerm @implementation DBSHARINGPermissionDeniedReasonSerializer -+ (NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserNotSameTeamAsOwner]) { @@ -17075,8 +19471,7 @@ + (NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)valueObj { } else if ([valueObj isRestrictedByParentFolder]) { jsonDict[@".tag"] = @"restricted_by_parent_folder"; } else if ([valueObj isInsufficientPlan]) { - jsonDict[@"insufficient_plan"] = - [[DBSHARINGInsufficientPlanSerializer serialize:valueObj.insufficientPlan] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBSHARINGInsufficientPlanSerializer serialize:valueObj.insufficientPlan]]; jsonDict[@".tag"] = @"insufficient_plan"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -17084,10 +19479,10 @@ + (NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_not_same_team_as_owner"]) { @@ -17155,17 +19550,17 @@ - (instancetype)initWithFile:(NSString *)file { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFileMembershipArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFileMembershipArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRelinquishFileMembershipArgSerializer serialize:self] description]; } @@ -17216,15 +19611,15 @@ - (BOOL)isEqualToRelinquishFileMembershipArg:(DBSHARINGRelinquishFileMembershipA @implementation DBSHARINGRelinquishFileMembershipArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; return [[DBSHARINGRelinquishFileMembershipArg alloc] initWithFile:file]; @@ -17324,17 +19719,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFileMembershipErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFileMembershipErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRelinquishFileMembershipErrorSerializer serialize:self] description]; } @@ -17355,12 +19750,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGRelinquishFileMembershipErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGRelinquishFileMembershipErrorGroupAccess: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFileMembershipErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFileMembershipErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17405,7 +19804,7 @@ - (BOOL)isEqualToRelinquishFileMembershipError: @implementation DBSHARINGRelinquishFileMembershipErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -17422,10 +19821,10 @@ + (NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -17473,17 +19872,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFolderMembershipArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFolderMembershipArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRelinquishFolderMembershipArgSerializer serialize:self] description]; } @@ -17539,16 +19938,16 @@ - (BOOL)isEqualToRelinquishFolderMembershipArg: @implementation DBSHARINGRelinquishFolderMembershipArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"] ?: @NO; @@ -17705,17 +20104,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRelinquishFolderMembershipErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRelinquishFolderMembershipErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRelinquishFolderMembershipErrorSerializer serialize:self] description]; } @@ -17736,20 +20135,28 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGRelinquishFolderMembershipErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorFolderOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorMounted: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorGroupAccess: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRelinquishFolderMembershipErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17802,7 +20209,7 @@ - (BOOL)isEqualToRelinquishFolderMembershipError: @implementation DBSHARINGRelinquishFolderMembershipErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -17827,10 +20234,10 @@ + (NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)valueObj jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -17886,17 +20293,17 @@ - (instancetype)initWithFile:(NSString *)file member:(DBSHARINGMemberSelector *) #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFileMemberArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFileMemberArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRemoveFileMemberArgSerializer serialize:self] description]; } @@ -17951,16 +20358,16 @@ - (BOOL)isEqualToRemoveFileMemberArg:(DBSHARINGRemoveFileMemberArg *)aRemoveFile @implementation DBSHARINGRemoveFileMemberArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; @@ -18083,17 +20490,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFileMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFileMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRemoveFileMemberErrorSerializer serialize:self] description]; } @@ -18114,12 +20521,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGRemoveFileMemberErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGRemoveFileMemberErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGRemoveFileMemberErrorNoExplicitAccess: result = prime * result + [self.noExplicitAccess hash]; + break; case DBSHARINGRemoveFileMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -18163,7 +20574,7 @@ - (BOOL)isEqualToRemoveFileMemberError:(DBSHARINGRemoveFileMemberError *)aRemove @implementation DBSHARINGRemoveFileMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -18174,8 +20585,8 @@ + (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)valueObj { [[DBSHARINGSharingFileAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; jsonDict[@".tag"] = @"access_error"; } else if ([valueObj isNoExplicitAccess]) { - jsonDict[@"no_explicit_access"] = - [[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess]]; jsonDict[@".tag"] = @"no_explicit_access"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -18183,10 +20594,10 @@ + (NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -18239,17 +20650,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFolderMemberArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFolderMemberArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRemoveFolderMemberArgSerializer serialize:self] description]; } @@ -18308,17 +20719,17 @@ - (BOOL)isEqualToRemoveFolderMemberArg:(DBSHARINGRemoveFolderMemberArg *)aRemove @implementation DBSHARINGRemoveFolderMemberArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"]; @@ -18490,17 +20901,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveFolderMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:self] description]; } @@ -18521,20 +20932,28 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGRemoveFolderMemberErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGRemoveFolderMemberErrorMemberError: result = prime * result + [self.memberError hash]; + break; case DBSHARINGRemoveFolderMemberErrorFolderOwner: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRemoveFolderMemberErrorGroupAccess: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRemoveFolderMemberErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRemoveFolderMemberErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRemoveFolderMemberErrorTooManyFiles: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGRemoveFolderMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -18586,7 +21005,7 @@ - (BOOL)isEqualToRemoveFolderMemberError:(DBSHARINGRemoveFolderMemberError *)aRe @implementation DBSHARINGRemoveFolderMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -18613,10 +21032,10 @@ + (NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -18735,17 +21154,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGRemoveMemberJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGRemoveMemberJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGRemoveMemberJobStatusSerializer serialize:self] description]; } @@ -18766,10 +21185,233 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGRemoveMemberJobStatusInProgress: result = prime * result + [[self tagName] hash]; - case DBSHARINGRemoveMemberJobStatusComplete: - result = prime * result + [self.complete hash]; - case DBSHARINGRemoveMemberJobStatusFailed: - result = prime * result + [self.failed hash]; + break; + case DBSHARINGRemoveMemberJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBSHARINGRemoveMemberJobStatusFailed: + result = prime * result + [self.failed hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRemoveMemberJobStatus:other]; +} + +- (BOOL)isEqualToRemoveMemberJobStatus:(DBSHARINGRemoveMemberJobStatus *)aRemoveMemberJobStatus { + if (self == aRemoveMemberJobStatus) { + return YES; + } + if (self.tag != aRemoveMemberJobStatus.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGRemoveMemberJobStatusInProgress: + return [[self tagName] isEqual:[aRemoveMemberJobStatus tagName]]; + case DBSHARINGRemoveMemberJobStatusComplete: + return [self.complete isEqual:aRemoveMemberJobStatus.complete]; + case DBSHARINGRemoveMemberJobStatusFailed: + return [self.failed isEqual:aRemoveMemberJobStatus.failed]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGRemoveMemberJobStatusSerializer + ++ (NSDictionary *)serialize:(DBSHARINGRemoveMemberJobStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"in_progress"]) { + return [[DBSHARINGRemoveMemberJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBSHARINGMemberAccessLevelResult *complete = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; + return [[DBSHARINGRemoveMemberJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + DBSHARINGRemoveFolderMemberError *failed = + [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBSHARINGRemoveMemberJobStatus alloc] initWithFailed:failed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBSHARINGRequestedLinkAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGRequestedLinkAccessLevel + +#pragma mark - Constructors + +- (instancetype)initWithViewer { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedLinkAccessLevelViewer; + } + return self; +} + +- (instancetype)initWithEditor { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedLinkAccessLevelEditor; + } + return self; +} + +- (instancetype)initWithMax { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedLinkAccessLevelMax; + } + return self; +} + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedLinkAccessLevelDefault_; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGRequestedLinkAccessLevelOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isViewer { + return _tag == DBSHARINGRequestedLinkAccessLevelViewer; +} + +- (BOOL)isEditor { + return _tag == DBSHARINGRequestedLinkAccessLevelEditor; +} + +- (BOOL)isMax { + return _tag == DBSHARINGRequestedLinkAccessLevelMax; +} + +- (BOOL)isDefault_ { + return _tag == DBSHARINGRequestedLinkAccessLevelDefault_; +} + +- (BOOL)isOther { + return _tag == DBSHARINGRequestedLinkAccessLevelOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGRequestedLinkAccessLevelViewer: + return @"DBSHARINGRequestedLinkAccessLevelViewer"; + case DBSHARINGRequestedLinkAccessLevelEditor: + return @"DBSHARINGRequestedLinkAccessLevelEditor"; + case DBSHARINGRequestedLinkAccessLevelMax: + return @"DBSHARINGRequestedLinkAccessLevelMax"; + case DBSHARINGRequestedLinkAccessLevelDefault_: + return @"DBSHARINGRequestedLinkAccessLevelDefault_"; + case DBSHARINGRequestedLinkAccessLevelOther: + return @"DBSHARINGRequestedLinkAccessLevelOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGRequestedLinkAccessLevelSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGRequestedLinkAccessLevelSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGRequestedLinkAccessLevelSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGRequestedLinkAccessLevelViewer: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedLinkAccessLevelEditor: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedLinkAccessLevelMax: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedLinkAccessLevelDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGRequestedLinkAccessLevelOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -18784,23 +21426,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRemoveMemberJobStatus:other]; + return [self isEqualToRequestedLinkAccessLevel:other]; } -- (BOOL)isEqualToRemoveMemberJobStatus:(DBSHARINGRemoveMemberJobStatus *)aRemoveMemberJobStatus { - if (self == aRemoveMemberJobStatus) { +- (BOOL)isEqualToRequestedLinkAccessLevel:(DBSHARINGRequestedLinkAccessLevel *)aRequestedLinkAccessLevel { + if (self == aRequestedLinkAccessLevel) { return YES; } - if (self.tag != aRemoveMemberJobStatus.tag) { + if (self.tag != aRequestedLinkAccessLevel.tag) { return NO; } switch (_tag) { - case DBSHARINGRemoveMemberJobStatusInProgress: - return [[self tagName] isEqual:[aRemoveMemberJobStatus tagName]]; - case DBSHARINGRemoveMemberJobStatusComplete: - return [self.complete isEqual:aRemoveMemberJobStatus.complete]; - case DBSHARINGRemoveMemberJobStatusFailed: - return [self.failed isEqual:aRemoveMemberJobStatus.failed]; + case DBSHARINGRequestedLinkAccessLevelViewer: + return [[self tagName] isEqual:[aRequestedLinkAccessLevel tagName]]; + case DBSHARINGRequestedLinkAccessLevelEditor: + return [[self tagName] isEqual:[aRequestedLinkAccessLevel tagName]]; + case DBSHARINGRequestedLinkAccessLevelMax: + return [[self tagName] isEqual:[aRequestedLinkAccessLevel tagName]]; + case DBSHARINGRequestedLinkAccessLevelDefault_: + return [[self tagName] isEqual:[aRequestedLinkAccessLevel tagName]]; + case DBSHARINGRequestedLinkAccessLevelOther: + return [[self tagName] isEqual:[aRequestedLinkAccessLevel tagName]]; } return YES; } @@ -18809,127 +21455,82 @@ - (BOOL)isEqualToRemoveMemberJobStatus:(DBSHARINGRemoveMemberJobStatus *)aRemove #pragma mark - Serializer Object -@implementation DBSHARINGRemoveMemberJobStatusSerializer +@implementation DBSHARINGRequestedLinkAccessLevelSerializer -+ (NSDictionary *)serialize:(DBSHARINGRemoveMemberJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRequestedLinkAccessLevel *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBSHARINGRemoveFolderMemberErrorSerializer serialize:valueObj.failed] mutableCopy]; - jsonDict[@".tag"] = @"failed"; + if ([valueObj isViewer]) { + jsonDict[@".tag"] = @"viewer"; + } else if ([valueObj isEditor]) { + jsonDict[@".tag"] = @"editor"; + } else if ([valueObj isMax]) { + jsonDict[@".tag"] = @"max"; + } else if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRequestedLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBSHARINGRemoveMemberJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - DBSHARINGMemberAccessLevelResult *complete = [DBSHARINGMemberAccessLevelResultSerializer deserialize:valueDict]; - return [[DBSHARINGRemoveMemberJobStatus alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"failed"]) { - DBSHARINGRemoveFolderMemberError *failed = - [DBSHARINGRemoveFolderMemberErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBSHARINGRemoveMemberJobStatus alloc] initWithFailed:failed]; + if ([tag isEqualToString:@"viewer"]) { + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithViewer]; + } else if ([tag isEqualToString:@"editor"]) { + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithEditor]; + } else if ([tag isEqualToString:@"max"]) { + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithMax]; + } else if ([tag isEqualToString:@"default"]) { + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBSHARINGRequestedLinkAccessLevel alloc] initWithOther]; } } @end -#import "DBSHARINGRequestedVisibility.h" +#import "DBSHARINGRevokeSharedLinkArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGRequestedVisibility +@implementation DBSHARINGRevokeSharedLinkArg #pragma mark - Constructors -- (instancetype)initWithPublic { - self = [super init]; - if (self) { - _tag = DBSHARINGRequestedVisibilityPublic; - } - return self; -} - -- (instancetype)initWithTeamOnly { - self = [super init]; - if (self) { - _tag = DBSHARINGRequestedVisibilityTeamOnly; - } - return self; -} +- (instancetype)initWithUrl:(NSString *)url { + [DBStoneValidators nonnullValidator:nil](url); -- (instancetype)initWithPassword { self = [super init]; if (self) { - _tag = DBSHARINGRequestedVisibilityPassword; + _url = url; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isPublic { - return _tag == DBSHARINGRequestedVisibilityPublic; -} - -- (BOOL)isTeamOnly { - return _tag == DBSHARINGRequestedVisibilityTeamOnly; -} - -- (BOOL)isPassword { - return _tag == DBSHARINGRequestedVisibilityPassword; -} - -- (NSString *)tagName { - switch (_tag) { - case DBSHARINGRequestedVisibilityPublic: - return @"DBSHARINGRequestedVisibilityPublic"; - case DBSHARINGRequestedVisibilityTeamOnly: - return @"DBSHARINGRequestedVisibilityTeamOnly"; - case DBSHARINGRequestedVisibilityPassword: - return @"DBSHARINGRequestedVisibilityPassword"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGRequestedVisibilitySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGRevokeSharedLinkArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGRequestedVisibilitySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGRevokeSharedLinkArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGRequestedVisibilitySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGRevokeSharedLinkArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18946,14 +21547,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBSHARINGRequestedVisibilityPublic: - result = prime * result + [[self tagName] hash]; - case DBSHARINGRequestedVisibilityTeamOnly: - result = prime * result + [[self tagName] hash]; - case DBSHARINGRequestedVisibilityPassword: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.url hash]; return prime * result; } @@ -18967,24 +21561,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRequestedVisibility:other]; + return [self isEqualToRevokeSharedLinkArg:other]; } -- (BOOL)isEqualToRequestedVisibility:(DBSHARINGRequestedVisibility *)aRequestedVisibility { - if (self == aRequestedVisibility) { +- (BOOL)isEqualToRevokeSharedLinkArg:(DBSHARINGRevokeSharedLinkArg *)aRevokeSharedLinkArg { + if (self == aRevokeSharedLinkArg) { return YES; } - if (self.tag != aRequestedVisibility.tag) { + if (![self.url isEqual:aRevokeSharedLinkArg.url]) { return NO; } - switch (_tag) { - case DBSHARINGRequestedVisibilityPublic: - return [[self tagName] isEqual:[aRequestedVisibility tagName]]; - case DBSHARINGRequestedVisibilityTeamOnly: - return [[self tagName] isEqual:[aRequestedVisibility tagName]]; - case DBSHARINGRequestedVisibilityPassword: - return [[self tagName] isEqual:[aRequestedVisibility tagName]]; - } return YES; } @@ -18992,100 +21578,71 @@ - (BOOL)isEqualToRequestedVisibility:(DBSHARINGRequestedVisibility *)aRequestedV #pragma mark - Serializer Object -@implementation DBSHARINGRequestedVisibilitySerializer +@implementation DBSHARINGRevokeSharedLinkArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPublic]) { - jsonDict[@".tag"] = @"public"; - } else if ([valueObj isTeamOnly]) { - jsonDict[@".tag"] = @"team_only"; - } else if ([valueObj isPassword]) { - jsonDict[@".tag"] = @"password"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"url"] = valueObj.url; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)valueDict { + NSString *url = valueDict[@"url"]; - if ([tag isEqualToString:@"public"]) { - return [[DBSHARINGRequestedVisibility alloc] initWithPublic]; - } else if ([tag isEqualToString:@"team_only"]) { - return [[DBSHARINGRequestedVisibility alloc] initWithTeamOnly]; - } else if ([tag isEqualToString:@"password"]) { - return [[DBSHARINGRequestedVisibility alloc] initWithPassword]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBSHARINGRevokeSharedLinkArg alloc] initWithUrl:url]; } @end -#import "DBSHARINGRequestedVisibility.h" -#import "DBSHARINGResolvedVisibility.h" +#import "DBSHARINGRevokeSharedLinkError.h" +#import "DBSHARINGSharedLinkError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGResolvedVisibility +@implementation DBSHARINGRevokeSharedLinkError #pragma mark - Constructors -- (instancetype)initWithPublic { - self = [super init]; - if (self) { - _tag = DBSHARINGResolvedVisibilityPublic; - } - return self; -} - -- (instancetype)initWithTeamOnly { +- (instancetype)initWithSharedLinkNotFound { self = [super init]; if (self) { - _tag = DBSHARINGResolvedVisibilityTeamOnly; + _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; } return self; } -- (instancetype)initWithPassword { +- (instancetype)initWithSharedLinkAccessDenied { self = [super init]; if (self) { - _tag = DBSHARINGResolvedVisibilityPassword; + _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; } return self; } -- (instancetype)initWithTeamAndPassword { +- (instancetype)initWithUnsupportedLinkType { self = [super init]; if (self) { - _tag = DBSHARINGResolvedVisibilityTeamAndPassword; + _tag = DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; } return self; } -- (instancetype)initWithSharedFolderOnly { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGResolvedVisibilitySharedFolderOnly; + _tag = DBSHARINGRevokeSharedLinkErrorOther; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithSharedLinkMalformed { self = [super init]; if (self) { - _tag = DBSHARINGResolvedVisibilityOther; + _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; } return self; } @@ -19094,44 +21651,38 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isPublic { - return _tag == DBSHARINGResolvedVisibilityPublic; -} - -- (BOOL)isTeamOnly { - return _tag == DBSHARINGResolvedVisibilityTeamOnly; +- (BOOL)isSharedLinkNotFound { + return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; } -- (BOOL)isPassword { - return _tag == DBSHARINGResolvedVisibilityPassword; +- (BOOL)isSharedLinkAccessDenied { + return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; } -- (BOOL)isTeamAndPassword { - return _tag == DBSHARINGResolvedVisibilityTeamAndPassword; +- (BOOL)isUnsupportedLinkType { + return _tag == DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; } -- (BOOL)isSharedFolderOnly { - return _tag == DBSHARINGResolvedVisibilitySharedFolderOnly; +- (BOOL)isOther { + return _tag == DBSHARINGRevokeSharedLinkErrorOther; } -- (BOOL)isOther { - return _tag == DBSHARINGResolvedVisibilityOther; +- (BOOL)isSharedLinkMalformed { + return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGResolvedVisibilityPublic: - return @"DBSHARINGResolvedVisibilityPublic"; - case DBSHARINGResolvedVisibilityTeamOnly: - return @"DBSHARINGResolvedVisibilityTeamOnly"; - case DBSHARINGResolvedVisibilityPassword: - return @"DBSHARINGResolvedVisibilityPassword"; - case DBSHARINGResolvedVisibilityTeamAndPassword: - return @"DBSHARINGResolvedVisibilityTeamAndPassword"; - case DBSHARINGResolvedVisibilitySharedFolderOnly: - return @"DBSHARINGResolvedVisibilitySharedFolderOnly"; - case DBSHARINGResolvedVisibilityOther: - return @"DBSHARINGResolvedVisibilityOther"; + case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: + return @"DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound"; + case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: + return @"DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied"; + case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: + return @"DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType"; + case DBSHARINGRevokeSharedLinkErrorOther: + return @"DBSHARINGRevokeSharedLinkErrorOther"; + case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: + return @"DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -19139,18 +21690,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGResolvedVisibilitySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGRevokeSharedLinkErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGResolvedVisibilitySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGRevokeSharedLinkErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGResolvedVisibilitySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGRevokeSharedLinkErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19168,18 +21719,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGResolvedVisibilityPublic: - result = prime * result + [[self tagName] hash]; - case DBSHARINGResolvedVisibilityTeamOnly: + case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: result = prime * result + [[self tagName] hash]; - case DBSHARINGResolvedVisibilityPassword: + break; + case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: result = prime * result + [[self tagName] hash]; - case DBSHARINGResolvedVisibilityTeamAndPassword: + break; + case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: result = prime * result + [[self tagName] hash]; - case DBSHARINGResolvedVisibilitySharedFolderOnly: + break; + case DBSHARINGRevokeSharedLinkErrorOther: result = prime * result + [[self tagName] hash]; - case DBSHARINGResolvedVisibilityOther: + break; + case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -19194,29 +21748,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToResolvedVisibility:other]; + return [self isEqualToRevokeSharedLinkError:other]; } -- (BOOL)isEqualToResolvedVisibility:(DBSHARINGResolvedVisibility *)aResolvedVisibility { - if (self == aResolvedVisibility) { +- (BOOL)isEqualToRevokeSharedLinkError:(DBSHARINGRevokeSharedLinkError *)aRevokeSharedLinkError { + if (self == aRevokeSharedLinkError) { return YES; } - if (self.tag != aResolvedVisibility.tag) { + if (self.tag != aRevokeSharedLinkError.tag) { return NO; } switch (_tag) { - case DBSHARINGResolvedVisibilityPublic: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; - case DBSHARINGResolvedVisibilityTeamOnly: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; - case DBSHARINGResolvedVisibilityPassword: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; - case DBSHARINGResolvedVisibilityTeamAndPassword: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; - case DBSHARINGResolvedVisibilitySharedFolderOnly: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; - case DBSHARINGResolvedVisibilityOther: - return [[self tagName] isEqual:[aResolvedVisibility tagName]]; + case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: + return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; + case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: + return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; + case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: + return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; + case DBSHARINGRevokeSharedLinkErrorOther: + return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; + case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: + return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; } return YES; } @@ -19225,86 +21777,90 @@ - (BOOL)isEqualToResolvedVisibility:(DBSHARINGResolvedVisibility *)aResolvedVisi #pragma mark - Serializer Object -@implementation DBSHARINGResolvedVisibilitySerializer +@implementation DBSHARINGRevokeSharedLinkErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPublic]) { - jsonDict[@".tag"] = @"public"; - } else if ([valueObj isTeamOnly]) { - jsonDict[@".tag"] = @"team_only"; - } else if ([valueObj isPassword]) { - jsonDict[@".tag"] = @"password"; - } else if ([valueObj isTeamAndPassword]) { - jsonDict[@".tag"] = @"team_and_password"; - } else if ([valueObj isSharedFolderOnly]) { - jsonDict[@".tag"] = @"shared_folder_only"; + if ([valueObj isSharedLinkNotFound]) { + jsonDict[@".tag"] = @"shared_link_not_found"; + } else if ([valueObj isSharedLinkAccessDenied]) { + jsonDict[@".tag"] = @"shared_link_access_denied"; + } else if ([valueObj isUnsupportedLinkType]) { + jsonDict[@".tag"] = @"unsupported_link_type"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isSharedLinkMalformed]) { + jsonDict[@".tag"] = @"shared_link_malformed"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"public"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithPublic]; - } else if ([tag isEqualToString:@"team_only"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithTeamOnly]; - } else if ([tag isEqualToString:@"password"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithPassword]; - } else if ([tag isEqualToString:@"team_and_password"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithTeamAndPassword]; - } else if ([tag isEqualToString:@"shared_folder_only"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithSharedFolderOnly]; + if ([tag isEqualToString:@"shared_link_not_found"]) { + return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkNotFound]; + } else if ([tag isEqualToString:@"shared_link_access_denied"]) { + return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkAccessDenied]; + } else if ([tag isEqualToString:@"unsupported_link_type"]) { + return [[DBSHARINGRevokeSharedLinkError alloc] initWithUnsupportedLinkType]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGResolvedVisibility alloc] initWithOther]; + return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; + } else if ([tag isEqualToString:@"shared_link_malformed"]) { + return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkMalformed]; } else { - return [[DBSHARINGResolvedVisibility alloc] initWithOther]; + return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; } } @end -#import "DBSHARINGRevokeSharedLinkArg.h" +#import "DBSHARINGAccessInheritance.h" +#import "DBSHARINGSetAccessInheritanceArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGRevokeSharedLinkArg +@implementation DBSHARINGSetAccessInheritanceArg #pragma mark - Constructors -- (instancetype)initWithUrl:(NSString *)url { - [DBStoneValidators nonnullValidator:nil](url); +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](sharedFolderId); self = [super init]; if (self) { - _url = url; + _accessInheritance = accessInheritance ?: [[DBSHARINGAccessInheritance alloc] initWithInherit]; + _sharedFolderId = sharedFolderId; } return self; } +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { + return [self initWithSharedFolderId:sharedFolderId accessInheritance:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGRevokeSharedLinkArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSetAccessInheritanceArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGRevokeSharedLinkArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSetAccessInheritanceArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGRevokeSharedLinkArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGSetAccessInheritanceArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19321,7 +21877,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.url hash]; + result = prime * result + [self.sharedFolderId hash]; + result = prime * result + [self.accessInheritance hash]; return prime * result; } @@ -19335,14 +21892,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeSharedLinkArg:other]; + return [self isEqualToSetAccessInheritanceArg:other]; } -- (BOOL)isEqualToRevokeSharedLinkArg:(DBSHARINGRevokeSharedLinkArg *)aRevokeSharedLinkArg { - if (self == aRevokeSharedLinkArg) { +- (BOOL)isEqualToSetAccessInheritanceArg:(DBSHARINGSetAccessInheritanceArg *)aSetAccessInheritanceArg { + if (self == aSetAccessInheritanceArg) { return YES; } - if (![self.url isEqual:aRevokeSharedLinkArg.url]) { + if (![self.sharedFolderId isEqual:aSetAccessInheritanceArg.sharedFolderId]) { + return NO; + } + if (![self.accessInheritance isEqual:aSetAccessInheritanceArg.accessInheritance]) { return NO; } return YES; @@ -19352,55 +21912,56 @@ - (BOOL)isEqualToRevokeSharedLinkArg:(DBSHARINGRevokeSharedLinkArg *)aRevokeShar #pragma mark - Serializer Object -@implementation DBSHARINGRevokeSharedLinkArgSerializer +@implementation DBSHARINGSetAccessInheritanceArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"url"] = valueObj.url; + jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; + jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)valueDict { - NSString *url = valueDict[@"url"]; ++ (DBSHARINGSetAccessInheritanceArg *)deserialize:(NSDictionary *)valueDict { + NSString *sharedFolderId = valueDict[@"shared_folder_id"]; + DBSHARINGAccessInheritance *accessInheritance = + valueDict[@"access_inheritance"] + ? [DBSHARINGAccessInheritanceSerializer deserialize:valueDict[@"access_inheritance"]] + : [[DBSHARINGAccessInheritance alloc] initWithInherit]; - return [[DBSHARINGRevokeSharedLinkArg alloc] initWithUrl:url]; + return [[DBSHARINGSetAccessInheritanceArg alloc] initWithSharedFolderId:sharedFolderId + accessInheritance:accessInheritance]; } @end -#import "DBSHARINGRevokeSharedLinkError.h" -#import "DBSHARINGSharedLinkError.h" +#import "DBSHARINGSetAccessInheritanceError.h" +#import "DBSHARINGSharedFolderAccessError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #pragma mark - API Object -@implementation DBSHARINGRevokeSharedLinkError +@implementation DBSHARINGSetAccessInheritanceError -#pragma mark - Constructors +@synthesize accessError = _accessError; -- (instancetype)initWithSharedLinkNotFound { - self = [super init]; - if (self) { - _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; - } - return self; -} +#pragma mark - Constructors -- (instancetype)initWithSharedLinkAccessDenied { +- (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError { self = [super init]; if (self) { - _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; + _tag = DBSHARINGSetAccessInheritanceErrorAccessError; + _accessError = accessError; } return self; } -- (instancetype)initWithUnsupportedLinkType { +- (instancetype)initWithNoPermission { self = [super init]; if (self) { - _tag = DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; + _tag = DBSHARINGSetAccessInheritanceErrorNoPermission; } return self; } @@ -19408,55 +21969,44 @@ - (instancetype)initWithUnsupportedLinkType { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBSHARINGRevokeSharedLinkErrorOther; + _tag = DBSHARINGSetAccessInheritanceErrorOther; } return self; } -- (instancetype)initWithSharedLinkMalformed { - self = [super init]; - if (self) { - _tag = DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; +#pragma mark - Instance field accessors + +- (DBSHARINGSharedFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGSetAccessInheritanceErrorAccessError, but was %@.", [self tagName]]; } - return self; + return _accessError; } -#pragma mark - Instance field accessors - #pragma mark - Tag state methods -- (BOOL)isSharedLinkNotFound { - return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound; -} - -- (BOOL)isSharedLinkAccessDenied { - return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied; +- (BOOL)isAccessError { + return _tag == DBSHARINGSetAccessInheritanceErrorAccessError; } -- (BOOL)isUnsupportedLinkType { - return _tag == DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType; +- (BOOL)isNoPermission { + return _tag == DBSHARINGSetAccessInheritanceErrorNoPermission; } - (BOOL)isOther { - return _tag == DBSHARINGRevokeSharedLinkErrorOther; -} - -- (BOOL)isSharedLinkMalformed { - return _tag == DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed; + return _tag == DBSHARINGSetAccessInheritanceErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: - return @"DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound"; - case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: - return @"DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied"; - case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: - return @"DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType"; - case DBSHARINGRevokeSharedLinkErrorOther: - return @"DBSHARINGRevokeSharedLinkErrorOther"; - case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: - return @"DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed"; + case DBSHARINGSetAccessInheritanceErrorAccessError: + return @"DBSHARINGSetAccessInheritanceErrorAccessError"; + case DBSHARINGSetAccessInheritanceErrorNoPermission: + return @"DBSHARINGSetAccessInheritanceErrorNoPermission"; + case DBSHARINGSetAccessInheritanceErrorOther: + return @"DBSHARINGSetAccessInheritanceErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -19464,18 +22014,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGRevokeSharedLinkErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSetAccessInheritanceErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGRevokeSharedLinkErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSetAccessInheritanceErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGRevokeSharedLinkErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGSetAccessInheritanceErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19493,16 +22043,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: - result = prime * result + [[self tagName] hash]; - case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: - result = prime * result + [[self tagName] hash]; - case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: - result = prime * result + [[self tagName] hash]; - case DBSHARINGRevokeSharedLinkErrorOther: + case DBSHARINGSetAccessInheritanceErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBSHARINGSetAccessInheritanceErrorNoPermission: result = prime * result + [[self tagName] hash]; - case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: + break; + case DBSHARINGSetAccessInheritanceErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -19517,27 +22066,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeSharedLinkError:other]; + return [self isEqualToSetAccessInheritanceError:other]; } -- (BOOL)isEqualToRevokeSharedLinkError:(DBSHARINGRevokeSharedLinkError *)aRevokeSharedLinkError { - if (self == aRevokeSharedLinkError) { +- (BOOL)isEqualToSetAccessInheritanceError:(DBSHARINGSetAccessInheritanceError *)aSetAccessInheritanceError { + if (self == aSetAccessInheritanceError) { return YES; } - if (self.tag != aRevokeSharedLinkError.tag) { + if (self.tag != aSetAccessInheritanceError.tag) { return NO; } switch (_tag) { - case DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound: - return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; - case DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied: - return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; - case DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType: - return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; - case DBSHARINGRevokeSharedLinkErrorOther: - return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; - case DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed: - return [[self tagName] isEqual:[aRevokeSharedLinkError tagName]]; + case DBSHARINGSetAccessInheritanceErrorAccessError: + return [self.accessError isEqual:aSetAccessInheritanceError.accessError]; + case DBSHARINGSetAccessInheritanceErrorNoPermission: + return [[self tagName] isEqual:[aSetAccessInheritanceError tagName]]; + case DBSHARINGSetAccessInheritanceErrorOther: + return [[self tagName] isEqual:[aSetAccessInheritanceError tagName]]; } return YES; } @@ -19546,48 +22091,45 @@ - (BOOL)isEqualToRevokeSharedLinkError:(DBSHARINGRevokeSharedLinkError *)aRevoke #pragma mark - Serializer Object -@implementation DBSHARINGRevokeSharedLinkErrorSerializer +@implementation DBSHARINGSetAccessInheritanceErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSharedLinkNotFound]) { - jsonDict[@".tag"] = @"shared_link_not_found"; - } else if ([valueObj isSharedLinkAccessDenied]) { - jsonDict[@".tag"] = @"shared_link_access_denied"; - } else if ([valueObj isUnsupportedLinkType]) { - jsonDict[@".tag"] = @"unsupported_link_type"; + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = + [[DBSHARINGSharedFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isNoPermission]) { + jsonDict[@".tag"] = @"no_permission"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; - } else if ([valueObj isSharedLinkMalformed]) { - jsonDict[@".tag"] = @"shared_link_malformed"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSetAccessInheritanceError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"shared_link_not_found"]) { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkNotFound]; - } else if ([tag isEqualToString:@"shared_link_access_denied"]) { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkAccessDenied]; - } else if ([tag isEqualToString:@"unsupported_link_type"]) { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithUnsupportedLinkType]; + if ([tag isEqualToString:@"access_error"]) { + DBSHARINGSharedFolderAccessError *accessError = + [DBSHARINGSharedFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBSHARINGSetAccessInheritanceError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"no_permission"]) { + return [[DBSHARINGSetAccessInheritanceError alloc] initWithNoPermission]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; - } else if ([tag isEqualToString:@"shared_link_malformed"]) { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithSharedLinkMalformed]; + return [[DBSHARINGSetAccessInheritanceError alloc] initWithOther]; } else { - return [[DBSHARINGRevokeSharedLinkError alloc] initWithOther]; + return [[DBSHARINGSetAccessInheritanceError alloc] initWithOther]; } } @end +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGMemberPolicy.h" #import "DBSHARINGShareFolderArgBase.h" @@ -19607,10 +22149,12 @@ - (instancetype)initWithPath:(NSString *)path forceAsync:(NSNumber *)forceAsync memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy - viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); + viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); self = [super init]; if (self) { @@ -19620,6 +22164,7 @@ - (instancetype)initWithPath:(NSString *)path _path = path; _sharedLinkPolicy = sharedLinkPolicy; _viewerInfoPolicy = viewerInfoPolicy; + _accessInheritance = accessInheritance ?: [[DBSHARINGAccessInheritance alloc] initWithInherit]; } return self; } @@ -19630,22 +22175,23 @@ - (instancetype)initWithPath:(NSString *)path { forceAsync:nil memberPolicy:nil sharedLinkPolicy:nil - viewerInfoPolicy:nil]; + viewerInfoPolicy:nil + accessInheritance:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderArgBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderArgBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderArgBaseSerializer serialize:self] description]; } @@ -19677,6 +22223,7 @@ - (NSUInteger)hash { if (self.viewerInfoPolicy != nil) { result = prime * result + [self.viewerInfoPolicy hash]; } + result = prime * result + [self.accessInheritance hash]; return prime * result; } @@ -19723,6 +22270,9 @@ - (BOOL)isEqualToShareFolderArgBase:(DBSHARINGShareFolderArgBase *)aShareFolderA return NO; } } + if (![self.accessInheritance isEqual:aShareFolderArgBase.accessInheritance]) { + return NO; + } return YES; } @@ -19732,7 +22282,7 @@ - (BOOL)isEqualToShareFolderArgBase:(DBSHARINGShareFolderArgBase *)aShareFolderA @implementation DBSHARINGShareFolderArgBaseSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -19749,11 +22299,12 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)valueObj { if (valueObj.viewerInfoPolicy) { jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; } + jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; DBSHARINGAclUpdatePolicy *aclUpdatePolicy = valueDict[@"acl_update_policy"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]] @@ -19769,17 +22320,23 @@ + (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)valueDict { valueDict[@"viewer_info_policy"] ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"viewer_info_policy"]] : nil; + DBSHARINGAccessInheritance *accessInheritance = + valueDict[@"access_inheritance"] + ? [DBSHARINGAccessInheritanceSerializer deserialize:valueDict[@"access_inheritance"]] + : [[DBSHARINGAccessInheritance alloc] initWithInherit]; return [[DBSHARINGShareFolderArgBase alloc] initWithPath:path aclUpdatePolicy:aclUpdatePolicy forceAsync:forceAsync memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy - viewerInfoPolicy:viewerInfoPolicy]; + viewerInfoPolicy:viewerInfoPolicy + accessInheritance:accessInheritance]; } @end +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGFolderAction.h" #import "DBSHARINGLinkSettings.h" @@ -19803,11 +22360,13 @@ - (instancetype)initWithPath:(NSString *)path memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance actions:(NSArray *)actions linkSettings:(DBSHARINGLinkSettings *)linkSettings { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)"]](path); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"]](path); [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil maxItems:nil @@ -19818,7 +22377,8 @@ - (instancetype)initWithPath:(NSString *)path forceAsync:forceAsync memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy - viewerInfoPolicy:viewerInfoPolicy]; + viewerInfoPolicy:viewerInfoPolicy + accessInheritance:accessInheritance]; if (self) { _actions = actions; _linkSettings = linkSettings; @@ -19833,23 +22393,24 @@ - (instancetype)initWithPath:(NSString *)path { memberPolicy:nil sharedLinkPolicy:nil viewerInfoPolicy:nil + accessInheritance:nil actions:nil linkSettings:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderArgSerializer serialize:self] description]; } @@ -19881,6 +22442,7 @@ - (NSUInteger)hash { if (self.viewerInfoPolicy != nil) { result = prime * result + [self.viewerInfoPolicy hash]; } + result = prime * result + [self.accessInheritance hash]; if (self.actions != nil) { result = prime * result + [self.actions hash]; } @@ -19933,6 +22495,9 @@ - (BOOL)isEqualToShareFolderArg:(DBSHARINGShareFolderArg *)aShareFolderArg { return NO; } } + if (![self.accessInheritance isEqual:aShareFolderArg.accessInheritance]) { + return NO; + } if (self.actions) { if (![self.actions isEqual:aShareFolderArg.actions]) { return NO; @@ -19952,7 +22517,7 @@ - (BOOL)isEqualToShareFolderArg:(DBSHARINGShareFolderArg *)aShareFolderArg { @implementation DBSHARINGShareFolderArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"path"] = valueObj.path; @@ -19969,6 +22534,7 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderArg *)valueObj { if (valueObj.viewerInfoPolicy) { jsonDict[@"viewer_info_policy"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.viewerInfoPolicy]; } + jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; if (valueObj.actions) { jsonDict[@"actions"] = [DBArraySerializer serialize:valueObj.actions withBlock:^id(id elem0) { @@ -19979,10 +22545,10 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderArg *)valueObj { jsonDict[@"link_settings"] = [DBSHARINGLinkSettingsSerializer serialize:valueObj.linkSettings]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *path = valueDict[@"path"]; DBSHARINGAclUpdatePolicy *aclUpdatePolicy = valueDict[@"acl_update_policy"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"acl_update_policy"]] @@ -19998,6 +22564,10 @@ + (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { valueDict[@"viewer_info_policy"] ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"viewer_info_policy"]] : nil; + DBSHARINGAccessInheritance *accessInheritance = + valueDict[@"access_inheritance"] + ? [DBSHARINGAccessInheritanceSerializer deserialize:valueDict[@"access_inheritance"]] + : [[DBSHARINGAccessInheritance alloc] initWithInherit]; NSArray *actions = valueDict[@"actions"] ? [DBArraySerializer deserialize:valueDict[@"actions"] withBlock:^id(id elem0) { @@ -20013,6 +22583,7 @@ + (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)valueDict { memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy viewerInfoPolicy:viewerInfoPolicy + accessInheritance:accessInheritance actions:actions linkSettings:linkSettings]; } @@ -20124,17 +22695,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderErrorBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderErrorBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderErrorBaseSerializer serialize:self] description]; } @@ -20155,14 +22726,19 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGShareFolderErrorBaseEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorBaseBadPath: result = prime * result + [self.badPath hash]; + break; case DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorBaseOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -20208,7 +22784,7 @@ - (BOOL)isEqualToShareFolderErrorBase:(DBSHARINGShareFolderErrorBase *)aShareFol @implementation DBSHARINGShareFolderErrorBaseSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { @@ -20226,10 +22802,10 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { @@ -20370,17 +22946,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderErrorSerializer serialize:self] description]; } @@ -20401,16 +22977,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGShareFolderErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorBadPath: result = prime * result + [self.badPath hash]; + break; case DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -20458,7 +23040,7 @@ - (BOOL)isEqualToShareFolderError:(DBSHARINGShareFolderError *)aShareFolderError @implementation DBSHARINGShareFolderErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { @@ -20478,10 +23060,10 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { @@ -20593,17 +23175,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderJobStatusSerializer serialize:self] description]; } @@ -20624,10 +23206,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGShareFolderJobStatusInProgress: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGShareFolderJobStatusComplete: result = prime * result + [self.complete hash]; + break; case DBSHARINGShareFolderJobStatusFailed: result = prime * result + [self.failed hash]; + break; } return prime * result; @@ -20669,13 +23254,13 @@ - (BOOL)isEqualToShareFolderJobStatus:(DBSHARINGShareFolderJobStatus *)aShareFol @implementation DBSHARINGShareFolderJobStatusSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInProgress]) { jsonDict[@".tag"] = @"in_progress"; } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.complete] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else if ([valueObj isFailed]) { jsonDict[@"failed"] = [[DBSHARINGShareFolderErrorSerializer serialize:valueObj.failed] mutableCopy]; @@ -20686,10 +23271,10 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"in_progress"]) { @@ -20784,17 +23369,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGShareFolderLaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGShareFolderLaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGShareFolderLaunchSerializer serialize:self] description]; } @@ -20815,8 +23400,10 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGShareFolderLaunchAsyncJobId: result = prime * result + [self.asyncJobId hash]; + break; case DBSHARINGShareFolderLaunchComplete: result = prime * result + [self.complete hash]; + break; } return prime * result; @@ -20856,14 +23443,14 @@ - (BOOL)isEqualToShareFolderLaunch:(DBSHARINGShareFolderLaunch *)aShareFolderLau @implementation DBSHARINGShareFolderLaunchSerializer -+ (NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAsyncJobId]) { jsonDict[@"async_job_id"] = valueObj.asyncJobId; jsonDict[@".tag"] = @"async_job_id"; } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.complete] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.complete]]; jsonDict[@".tag"] = @"complete"; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -20871,10 +23458,10 @@ + (NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"async_job_id"]) { @@ -20978,35 +23565,59 @@ - (instancetype)initWithInsidePublicFolder { return self; } -- (instancetype)initWithAlreadyShared:(DBSHARINGSharedFolderMetadata *)alreadyShared { +- (instancetype)initWithAlreadyShared:(DBSHARINGSharedFolderMetadata *)alreadyShared { + self = [super init]; + if (self) { + _tag = DBSHARINGSharePathErrorAlreadyShared; + _alreadyShared = alreadyShared; + } + return self; +} + +- (instancetype)initWithInvalidPath { + self = [super init]; + if (self) { + _tag = DBSHARINGSharePathErrorInvalidPath; + } + return self; +} + +- (instancetype)initWithIsOsxPackage { + self = [super init]; + if (self) { + _tag = DBSHARINGSharePathErrorIsOsxPackage; + } + return self; +} + +- (instancetype)initWithInsideOsxPackage { self = [super init]; if (self) { - _tag = DBSHARINGSharePathErrorAlreadyShared; - _alreadyShared = alreadyShared; + _tag = DBSHARINGSharePathErrorInsideOsxPackage; } return self; } -- (instancetype)initWithInvalidPath { +- (instancetype)initWithIsVault { self = [super init]; if (self) { - _tag = DBSHARINGSharePathErrorInvalidPath; + _tag = DBSHARINGSharePathErrorIsVault; } return self; } -- (instancetype)initWithIsOsxPackage { +- (instancetype)initWithIsVaultLocked { self = [super init]; if (self) { - _tag = DBSHARINGSharePathErrorIsOsxPackage; + _tag = DBSHARINGSharePathErrorIsVaultLocked; } return self; } -- (instancetype)initWithInsideOsxPackage { +- (instancetype)initWithIsFamily { self = [super init]; if (self) { - _tag = DBSHARINGSharePathErrorInsideOsxPackage; + _tag = DBSHARINGSharePathErrorIsFamily; } return self; } @@ -21083,6 +23694,18 @@ - (BOOL)isInsideOsxPackage { return _tag == DBSHARINGSharePathErrorInsideOsxPackage; } +- (BOOL)isIsVault { + return _tag == DBSHARINGSharePathErrorIsVault; +} + +- (BOOL)isIsVaultLocked { + return _tag == DBSHARINGSharePathErrorIsVaultLocked; +} + +- (BOOL)isIsFamily { + return _tag == DBSHARINGSharePathErrorIsFamily; +} + - (BOOL)isOther { return _tag == DBSHARINGSharePathErrorOther; } @@ -21115,6 +23738,12 @@ - (NSString *)tagName { return @"DBSHARINGSharePathErrorIsOsxPackage"; case DBSHARINGSharePathErrorInsideOsxPackage: return @"DBSHARINGSharePathErrorInsideOsxPackage"; + case DBSHARINGSharePathErrorIsVault: + return @"DBSHARINGSharePathErrorIsVault"; + case DBSHARINGSharePathErrorIsVaultLocked: + return @"DBSHARINGSharePathErrorIsVaultLocked"; + case DBSHARINGSharePathErrorIsFamily: + return @"DBSHARINGSharePathErrorIsFamily"; case DBSHARINGSharePathErrorOther: return @"DBSHARINGSharePathErrorOther"; } @@ -21124,17 +23753,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharePathErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharePathErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharePathErrorSerializer serialize:self] description]; } @@ -21155,32 +23784,55 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharePathErrorIsFile: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorInsideSharedFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorContainsSharedFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorContainsAppFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorContainsTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorIsAppFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorInsideAppFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorIsPublicFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorInsidePublicFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorAlreadyShared: result = prime * result + [self.alreadyShared hash]; + break; case DBSHARINGSharePathErrorInvalidPath: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorIsOsxPackage: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorInsideOsxPackage: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharePathErrorIsVault: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharePathErrorIsVaultLocked: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharePathErrorIsFamily: + result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharePathErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -21232,6 +23884,12 @@ - (BOOL)isEqualToSharePathError:(DBSHARINGSharePathError *)aSharePathError { return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorInsideOsxPackage: return [[self tagName] isEqual:[aSharePathError tagName]]; + case DBSHARINGSharePathErrorIsVault: + return [[self tagName] isEqual:[aSharePathError tagName]]; + case DBSHARINGSharePathErrorIsVaultLocked: + return [[self tagName] isEqual:[aSharePathError tagName]]; + case DBSHARINGSharePathErrorIsFamily: + return [[self tagName] isEqual:[aSharePathError tagName]]; case DBSHARINGSharePathErrorOther: return [[self tagName] isEqual:[aSharePathError tagName]]; } @@ -21244,7 +23902,7 @@ - (BOOL)isEqualToSharePathError:(DBSHARINGSharePathError *)aSharePathError { @implementation DBSHARINGSharePathErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharePathError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharePathError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isIsFile]) { @@ -21266,8 +23924,7 @@ + (NSDictionary *)serialize:(DBSHARINGSharePathError *)valueObj { } else if ([valueObj isInsidePublicFolder]) { jsonDict[@".tag"] = @"inside_public_folder"; } else if ([valueObj isAlreadyShared]) { - jsonDict[@"already_shared"] = - [[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.alreadyShared] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBSHARINGSharedFolderMetadataSerializer serialize:valueObj.alreadyShared]]; jsonDict[@".tag"] = @"already_shared"; } else if ([valueObj isInvalidPath]) { jsonDict[@".tag"] = @"invalid_path"; @@ -21275,16 +23932,22 @@ + (NSDictionary *)serialize:(DBSHARINGSharePathError *)valueObj { jsonDict[@".tag"] = @"is_osx_package"; } else if ([valueObj isInsideOsxPackage]) { jsonDict[@".tag"] = @"inside_osx_package"; + } else if ([valueObj isIsVault]) { + jsonDict[@".tag"] = @"is_vault"; + } else if ([valueObj isIsVaultLocked]) { + jsonDict[@".tag"] = @"is_vault_locked"; + } else if ([valueObj isIsFamily]) { + jsonDict[@".tag"] = @"is_family"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharePathError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharePathError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"is_file"]) { @@ -21314,6 +23977,12 @@ + (DBSHARINGSharePathError *)deserialize:(NSDictionary *)valueDict { return [[DBSHARINGSharePathError alloc] initWithIsOsxPackage]; } else if ([tag isEqualToString:@"inside_osx_package"]) { return [[DBSHARINGSharePathError alloc] initWithInsideOsxPackage]; + } else if ([tag isEqualToString:@"is_vault"]) { + return [[DBSHARINGSharePathError alloc] initWithIsVault]; + } else if ([tag isEqualToString:@"is_vault_locked"]) { + return [[DBSHARINGSharePathError alloc] initWithIsVaultLocked]; + } else if ([tag isEqualToString:@"is_family"]) { + return [[DBSHARINGSharePathError alloc] initWithIsFamily]; } else if ([tag isEqualToString:@"other"]) { return [[DBSHARINGSharePathError alloc] initWithOther]; } else { @@ -21392,17 +24061,17 @@ - (instancetype)initWithAudienceOptions:(NSArray *)audi #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedContentLinkMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedContentLinkMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedContentLinkMetadataSerializer serialize:self] description]; } @@ -21501,7 +24170,7 @@ - (BOOL)isEqualToSharedContentLinkMetadata:(DBSHARINGSharedContentLinkMetadata * @implementation DBSHARINGSharedContentLinkMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"audience_options"] = [DBArraySerializer serialize:valueObj.audienceOptions @@ -21529,10 +24198,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)valueObj { jsonDict[@"audience_exceptions"] = [DBSHARINGAudienceExceptionsSerializer serialize:valueObj.audienceExceptions]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)valueDict { NSArray *audienceOptions = [DBArraySerializer deserialize:valueDict[@"audience_options"] withBlock:^id(id elem0) { @@ -21622,17 +24291,17 @@ - (instancetype)initWithUsers:(NSArray *)user #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFileMembersSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFileMembersSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFileMembersSerializer serialize:self] description]; } @@ -21699,7 +24368,7 @@ - (BOOL)isEqualToSharedFileMembers:(DBSHARINGSharedFileMembers *)aSharedFileMemb @implementation DBSHARINGSharedFileMembersSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users @@ -21718,10 +24387,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { @@ -21774,7 +24443,7 @@ - (instancetype)initWithId_:(NSString *)id_ pathLower:(NSString *)pathLower permissions:(NSArray *)permissions timeInvited:(NSDate *)timeInvited { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"id:.*"]](id_); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(4) maxLength:nil pattern:@"id:.+"]](id_); [DBStoneValidators nonnullValidator:nil](name); [DBStoneValidators nonnullValidator:nil](policy); [DBStoneValidators nonnullValidator:nil](previewUrl); @@ -21832,17 +24501,17 @@ - (instancetype)initWithId_:(NSString *)id_ #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFileMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFileMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFileMetadataSerializer serialize:self] description]; } @@ -21985,7 +24654,7 @@ - (BOOL)isEqualToSharedFileMetadata:(DBSHARINGSharedFileMetadata *)aSharedFileMe @implementation DBSHARINGSharedFileMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; @@ -22030,10 +24699,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)valueObj { jsonDict[@"time_invited"] = [DBNSDateSerializer serialize:valueObj.timeInvited dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; DBSHARINGFolderPolicy *policy = [DBSHARINGFolderPolicySerializer deserialize:valueDict[@"policy"]]; @@ -22113,6 +24782,14 @@ - (instancetype)initWithNotAMember { return self; } +- (instancetype)initWithInvalidMember { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedFolderAccessErrorInvalidMember; + } + return self; +} + - (instancetype)initWithEmailUnverified { self = [super init]; if (self) { @@ -22149,6 +24826,10 @@ - (BOOL)isNotAMember { return _tag == DBSHARINGSharedFolderAccessErrorNotAMember; } +- (BOOL)isInvalidMember { + return _tag == DBSHARINGSharedFolderAccessErrorInvalidMember; +} + - (BOOL)isEmailUnverified { return _tag == DBSHARINGSharedFolderAccessErrorEmailUnverified; } @@ -22167,6 +24848,8 @@ - (NSString *)tagName { return @"DBSHARINGSharedFolderAccessErrorInvalidId"; case DBSHARINGSharedFolderAccessErrorNotAMember: return @"DBSHARINGSharedFolderAccessErrorNotAMember"; + case DBSHARINGSharedFolderAccessErrorInvalidMember: + return @"DBSHARINGSharedFolderAccessErrorInvalidMember"; case DBSHARINGSharedFolderAccessErrorEmailUnverified: return @"DBSHARINGSharedFolderAccessErrorEmailUnverified"; case DBSHARINGSharedFolderAccessErrorUnmounted: @@ -22180,17 +24863,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderAccessErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderAccessErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFolderAccessErrorSerializer serialize:self] description]; } @@ -22211,14 +24894,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharedFolderAccessErrorInvalidId: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderAccessErrorNotAMember: result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedFolderAccessErrorInvalidMember: + result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderAccessErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderAccessErrorUnmounted: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderAccessErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -22248,6 +24939,8 @@ - (BOOL)isEqualToSharedFolderAccessError:(DBSHARINGSharedFolderAccessError *)aSh return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; case DBSHARINGSharedFolderAccessErrorNotAMember: return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; + case DBSHARINGSharedFolderAccessErrorInvalidMember: + return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; case DBSHARINGSharedFolderAccessErrorEmailUnverified: return [[self tagName] isEqual:[aSharedFolderAccessError tagName]]; case DBSHARINGSharedFolderAccessErrorUnmounted: @@ -22264,13 +24957,15 @@ - (BOOL)isEqualToSharedFolderAccessError:(DBSHARINGSharedFolderAccessError *)aSh @implementation DBSHARINGSharedFolderAccessErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidId]) { jsonDict[@".tag"] = @"invalid_id"; } else if ([valueObj isNotAMember]) { jsonDict[@".tag"] = @"not_a_member"; + } else if ([valueObj isInvalidMember]) { + jsonDict[@".tag"] = @"invalid_member"; } else if ([valueObj isEmailUnverified]) { jsonDict[@".tag"] = @"email_unverified"; } else if ([valueObj isUnmounted]) { @@ -22281,16 +24976,18 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_id"]) { return [[DBSHARINGSharedFolderAccessError alloc] initWithInvalidId]; } else if ([tag isEqualToString:@"not_a_member"]) { return [[DBSHARINGSharedFolderAccessError alloc] initWithNotAMember]; + } else if ([tag isEqualToString:@"invalid_member"]) { + return [[DBSHARINGSharedFolderAccessError alloc] initWithInvalidMember]; } else if ([tag isEqualToString:@"email_unverified"]) { return [[DBSHARINGSharedFolderAccessError alloc] initWithEmailUnverified]; } else if ([tag isEqualToString:@"unmounted"]) { @@ -22396,17 +25093,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFolderMemberErrorSerializer serialize:self] description]; } @@ -22427,12 +25124,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharedFolderMemberErrorInvalidDropboxId: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderMemberErrorNotAMember: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedFolderMemberErrorNoExplicitAccess: result = prime * result + [self.noExplicitAccess hash]; + break; case DBSHARINGSharedFolderMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -22476,7 +25177,7 @@ - (BOOL)isEqualToSharedFolderMemberError:(DBSHARINGSharedFolderMemberError *)aSh @implementation DBSHARINGSharedFolderMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidDropboxId]) { @@ -22484,8 +25185,8 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)valueObj { } else if ([valueObj isNotAMember]) { jsonDict[@".tag"] = @"not_a_member"; } else if ([valueObj isNoExplicitAccess]) { - jsonDict[@"no_explicit_access"] = - [[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBSHARINGMemberAccessLevelResultSerializer serialize:valueObj.noExplicitAccess]]; jsonDict[@".tag"] = @"no_explicit_access"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -22493,10 +25194,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_dropbox_id"]) { @@ -22564,17 +25265,17 @@ - (instancetype)initWithUsers:(NSArray *)users #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMembersSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMembersSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFolderMembersSerializer serialize:self] description]; } @@ -22641,7 +25342,7 @@ - (BOOL)isEqualToSharedFolderMembers:(DBSHARINGSharedFolderMembers *)aSharedFold @implementation DBSHARINGSharedFolderMembersSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users @@ -22660,10 +25361,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { @@ -22704,7 +25405,9 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType ownerDisplayNames:(NSArray *)ownerDisplayNames ownerTeam:(DBUSERSTeam *)ownerTeam parentSharedFolderId:(NSString *)parentSharedFolderId - pathLower:(NSString *)pathLower { + pathDisplay:(NSString *)pathDisplay + pathLower:(NSString *)pathLower + parentFolderName:(NSString *)parentFolderName { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](isInsideTeamFolder); [DBStoneValidators nonnullValidator:nil](isTeamFolder); @@ -22724,7 +25427,9 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType _ownerDisplayNames = ownerDisplayNames; _ownerTeam = ownerTeam; _parentSharedFolderId = parentSharedFolderId; + _pathDisplay = pathDisplay; _pathLower = pathLower; + _parentFolderName = parentFolderName; } return self; } @@ -22738,22 +25443,24 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType ownerDisplayNames:nil ownerTeam:nil parentSharedFolderId:nil - pathLower:nil]; + pathDisplay:nil + pathLower:nil + parentFolderName:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMetadataBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMetadataBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFolderMetadataBaseSerializer serialize:self] description]; } @@ -22783,9 +25490,15 @@ - (NSUInteger)hash { if (self.parentSharedFolderId != nil) { result = prime * result + [self.parentSharedFolderId hash]; } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } if (self.pathLower != nil) { result = prime * result + [self.pathLower hash]; } + if (self.parentFolderName != nil) { + result = prime * result + [self.parentFolderName hash]; + } return prime * result; } @@ -22830,11 +25543,21 @@ - (BOOL)isEqualToSharedFolderMetadataBase:(DBSHARINGSharedFolderMetadataBase *)a return NO; } } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aSharedFolderMetadataBase.pathDisplay]) { + return NO; + } + } if (self.pathLower) { if (![self.pathLower isEqual:aSharedFolderMetadataBase.pathLower]) { return NO; } } + if (self.parentFolderName) { + if (![self.parentFolderName isEqual:aSharedFolderMetadataBase.parentFolderName]) { + return NO; + } + } return YES; } @@ -22844,7 +25567,7 @@ - (BOOL)isEqualToSharedFolderMetadataBase:(DBSHARINGSharedFolderMetadataBase *)a @implementation DBSHARINGSharedFolderMetadataBaseSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; @@ -22862,14 +25585,20 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)valueObj { if (valueObj.parentSharedFolderId) { jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } if (valueObj.pathLower) { jsonDict[@"path_lower"] = valueObj.pathLower; } + if (valueObj.parentFolderName) { + jsonDict[@"parent_folder_name"] = valueObj.parentFolderName; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; NSNumber *isInsideTeamFolder = valueDict[@"is_inside_team_folder"]; NSNumber *isTeamFolder = valueDict[@"is_team_folder"]; @@ -22882,7 +25611,9 @@ + (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { DBUSERSTeam *ownerTeam = valueDict[@"owner_team"] ? [DBUSERSTeamSerializer deserialize:valueDict[@"owner_team"]] : nil; NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *pathDisplay = valueDict[@"path_display"] ?: nil; NSString *pathLower = valueDict[@"path_lower"] ?: nil; + NSString *parentFolderName = valueDict[@"parent_folder_name"] ?: nil; return [[DBSHARINGSharedFolderMetadataBase alloc] initWithAccessType:accessType isInsideTeamFolder:isInsideTeamFolder @@ -22890,11 +25621,14 @@ + (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)valueDict { ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId - pathLower:pathLower]; + pathDisplay:pathDisplay + pathLower:pathLower + parentFolderName:parentFolderName]; } @end +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGFolderPermission.h" #import "DBSHARINGFolderPolicy.h" @@ -22922,9 +25656,12 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType ownerDisplayNames:(NSArray *)ownerDisplayNames ownerTeam:(DBUSERSTeam *)ownerTeam parentSharedFolderId:(NSString *)parentSharedFolderId + pathDisplay:(NSString *)pathDisplay pathLower:(NSString *)pathLower + parentFolderName:(NSString *)parentFolderName linkMetadata:(DBSHARINGSharedContentLinkMetadata *)linkMetadata - permissions:(NSArray *)permissions { + permissions:(NSArray *)permissions + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](isInsideTeamFolder); [DBStoneValidators nonnullValidator:nil](isTeamFolder); @@ -22952,7 +25689,9 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId - pathLower:pathLower]; + pathDisplay:pathDisplay + pathLower:pathLower + parentFolderName:parentFolderName]; if (self) { _linkMetadata = linkMetadata; _name = name; @@ -22961,6 +25700,7 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType _previewUrl = previewUrl; _sharedFolderId = sharedFolderId; _timeInvited = timeInvited; + _accessInheritance = accessInheritance ?: [[DBSHARINGAccessInheritance alloc] initWithInherit]; } return self; } @@ -22984,24 +25724,27 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType ownerDisplayNames:nil ownerTeam:nil parentSharedFolderId:nil + pathDisplay:nil pathLower:nil + parentFolderName:nil linkMetadata:nil - permissions:nil]; + permissions:nil + accessInheritance:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedFolderMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedFolderMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedFolderMetadataSerializer serialize:self] description]; } @@ -23036,15 +25779,22 @@ - (NSUInteger)hash { if (self.parentSharedFolderId != nil) { result = prime * result + [self.parentSharedFolderId hash]; } + if (self.pathDisplay != nil) { + result = prime * result + [self.pathDisplay hash]; + } if (self.pathLower != nil) { result = prime * result + [self.pathLower hash]; } + if (self.parentFolderName != nil) { + result = prime * result + [self.parentFolderName hash]; + } if (self.linkMetadata != nil) { result = prime * result + [self.linkMetadata hash]; } if (self.permissions != nil) { result = prime * result + [self.permissions hash]; } + result = prime * result + [self.accessInheritance hash]; return prime * result; } @@ -23104,11 +25854,21 @@ - (BOOL)isEqualToSharedFolderMetadata:(DBSHARINGSharedFolderMetadata *)aSharedFo return NO; } } + if (self.pathDisplay) { + if (![self.pathDisplay isEqual:aSharedFolderMetadata.pathDisplay]) { + return NO; + } + } if (self.pathLower) { if (![self.pathLower isEqual:aSharedFolderMetadata.pathLower]) { return NO; } } + if (self.parentFolderName) { + if (![self.parentFolderName isEqual:aSharedFolderMetadata.parentFolderName]) { + return NO; + } + } if (self.linkMetadata) { if (![self.linkMetadata isEqual:aSharedFolderMetadata.linkMetadata]) { return NO; @@ -23119,6 +25879,9 @@ - (BOOL)isEqualToSharedFolderMetadata:(DBSHARINGSharedFolderMetadata *)aSharedFo return NO; } } + if (![self.accessInheritance isEqual:aSharedFolderMetadata.accessInheritance]) { + return NO; + } return YES; } @@ -23128,7 +25891,7 @@ - (BOOL)isEqualToSharedFolderMetadata:(DBSHARINGSharedFolderMetadata *)aSharedFo @implementation DBSHARINGSharedFolderMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; @@ -23151,9 +25914,15 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)valueObj { if (valueObj.parentSharedFolderId) { jsonDict[@"parent_shared_folder_id"] = valueObj.parentSharedFolderId; } + if (valueObj.pathDisplay) { + jsonDict[@"path_display"] = valueObj.pathDisplay; + } if (valueObj.pathLower) { jsonDict[@"path_lower"] = valueObj.pathLower; } + if (valueObj.parentFolderName) { + jsonDict[@"parent_folder_name"] = valueObj.parentFolderName; + } if (valueObj.linkMetadata) { jsonDict[@"link_metadata"] = [DBSHARINGSharedContentLinkMetadataSerializer serialize:valueObj.linkMetadata]; } @@ -23163,11 +25932,12 @@ + (NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)valueObj { return [DBSHARINGFolderPermissionSerializer serialize:elem0]; }]; } + jsonDict[@"access_inheritance"] = [DBSHARINGAccessInheritanceSerializer serialize:valueObj.accessInheritance]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; NSNumber *isInsideTeamFolder = valueDict[@"is_inside_team_folder"]; NSNumber *isTeamFolder = valueDict[@"is_team_folder"]; @@ -23185,7 +25955,9 @@ + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { DBUSERSTeam *ownerTeam = valueDict[@"owner_team"] ? [DBUSERSTeamSerializer deserialize:valueDict[@"owner_team"]] : nil; NSString *parentSharedFolderId = valueDict[@"parent_shared_folder_id"] ?: nil; + NSString *pathDisplay = valueDict[@"path_display"] ?: nil; NSString *pathLower = valueDict[@"path_lower"] ?: nil; + NSString *parentFolderName = valueDict[@"parent_folder_name"] ?: nil; DBSHARINGSharedContentLinkMetadata *linkMetadata = valueDict[@"link_metadata"] ? [DBSHARINGSharedContentLinkMetadataSerializer deserialize:valueDict[@"link_metadata"]] @@ -23196,6 +25968,10 @@ + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { return [DBSHARINGFolderPermissionSerializer deserialize:elem0]; }] : nil; + DBSHARINGAccessInheritance *accessInheritance = + valueDict[@"access_inheritance"] + ? [DBSHARINGAccessInheritanceSerializer deserialize:valueDict[@"access_inheritance"]] + : [[DBSHARINGAccessInheritance alloc] initWithInherit]; return [[DBSHARINGSharedFolderMetadata alloc] initWithAccessType:accessType isInsideTeamFolder:isInsideTeamFolder @@ -23208,9 +25984,12 @@ + (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)valueDict { ownerDisplayNames:ownerDisplayNames ownerTeam:ownerTeam parentSharedFolderId:parentSharedFolderId + pathDisplay:pathDisplay pathLower:pathLower + parentFolderName:parentFolderName linkMetadata:linkMetadata - permissions:permissions]; + permissions:permissions + accessInheritance:accessInheritance]; } @end @@ -23285,36 +26064,239 @@ - (BOOL)isEmailVerifyRequired { return _tag == DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired; } -- (BOOL)isPasswordRequired { - return _tag == DBSHARINGSharedLinkAccessFailureReasonPasswordRequired; +- (BOOL)isPasswordRequired { + return _tag == DBSHARINGSharedLinkAccessFailureReasonPasswordRequired; +} + +- (BOOL)isTeamOnly { + return _tag == DBSHARINGSharedLinkAccessFailureReasonTeamOnly; +} + +- (BOOL)isOwnerOnly { + return _tag == DBSHARINGSharedLinkAccessFailureReasonOwnerOnly; +} + +- (BOOL)isOther { + return _tag == DBSHARINGSharedLinkAccessFailureReasonOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: + return @"DBSHARINGSharedLinkAccessFailureReasonLoginRequired"; + case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: + return @"DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired"; + case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: + return @"DBSHARINGSharedLinkAccessFailureReasonPasswordRequired"; + case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: + return @"DBSHARINGSharedLinkAccessFailureReasonTeamOnly"; + case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: + return @"DBSHARINGSharedLinkAccessFailureReasonOwnerOnly"; + case DBSHARINGSharedLinkAccessFailureReasonOther: + return @"DBSHARINGSharedLinkAccessFailureReasonOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSharedLinkAccessFailureReasonSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSharedLinkAccessFailureReasonSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGSharedLinkAccessFailureReasonSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBSHARINGSharedLinkAccessFailureReasonOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkAccessFailureReason:other]; +} + +- (BOOL)isEqualToSharedLinkAccessFailureReason: + (DBSHARINGSharedLinkAccessFailureReason *)aSharedLinkAccessFailureReason { + if (self == aSharedLinkAccessFailureReason) { + return YES; + } + if (self.tag != aSharedLinkAccessFailureReason.tag) { + return NO; + } + switch (_tag) { + case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAccessFailureReasonOther: + return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGSharedLinkAccessFailureReasonSerializer + ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkAccessFailureReason *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isLoginRequired]) { + jsonDict[@".tag"] = @"login_required"; + } else if ([valueObj isEmailVerifyRequired]) { + jsonDict[@".tag"] = @"email_verify_required"; + } else if ([valueObj isPasswordRequired]) { + jsonDict[@".tag"] = @"password_required"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; + } else if ([valueObj isOwnerOnly]) { + jsonDict[@".tag"] = @"owner_only"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"login_required"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithLoginRequired]; + } else if ([tag isEqualToString:@"email_verify_required"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithEmailVerifyRequired]; + } else if ([tag isEqualToString:@"password_required"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithPasswordRequired]; + } else if ([tag isEqualToString:@"team_only"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithTeamOnly]; + } else if ([tag isEqualToString:@"owner_only"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOwnerOnly]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOther]; + } else { + return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOther]; + } +} + +@end + +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" +#import "DBSHARINGSharedLinkMetadata.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGSharedLinkAlreadyExistsMetadata + +@synthesize metadata = _metadata; + +#pragma mark - Constructors + +- (instancetype)initWithMetadata:(DBSHARINGSharedLinkMetadata *)metadata { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedLinkAlreadyExistsMetadataMetadata; + _metadata = metadata; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBSHARINGSharedLinkAlreadyExistsMetadataOther; + } + return self; } -- (BOOL)isTeamOnly { - return _tag == DBSHARINGSharedLinkAccessFailureReasonTeamOnly; +#pragma mark - Instance field accessors + +- (DBSHARINGSharedLinkMetadata *)metadata { + if (![self isMetadata]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBSHARINGSharedLinkAlreadyExistsMetadataMetadata, but was %@.", [self tagName]]; + } + return _metadata; } -- (BOOL)isOwnerOnly { - return _tag == DBSHARINGSharedLinkAccessFailureReasonOwnerOnly; +#pragma mark - Tag state methods + +- (BOOL)isMetadata { + return _tag == DBSHARINGSharedLinkAlreadyExistsMetadataMetadata; } - (BOOL)isOther { - return _tag == DBSHARINGSharedLinkAccessFailureReasonOther; + return _tag == DBSHARINGSharedLinkAlreadyExistsMetadataOther; } - (NSString *)tagName { switch (_tag) { - case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: - return @"DBSHARINGSharedLinkAccessFailureReasonLoginRequired"; - case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: - return @"DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired"; - case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: - return @"DBSHARINGSharedLinkAccessFailureReasonPasswordRequired"; - case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: - return @"DBSHARINGSharedLinkAccessFailureReasonTeamOnly"; - case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: - return @"DBSHARINGSharedLinkAccessFailureReasonOwnerOnly"; - case DBSHARINGSharedLinkAccessFailureReasonOther: - return @"DBSHARINGSharedLinkAccessFailureReasonOther"; + case DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: + return @"DBSHARINGSharedLinkAlreadyExistsMetadataMetadata"; + case DBSHARINGSharedLinkAlreadyExistsMetadataOther: + return @"DBSHARINGSharedLinkAlreadyExistsMetadataOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -23322,18 +26304,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBSHARINGSharedLinkAccessFailureReasonSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGSharedLinkAlreadyExistsMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBSHARINGSharedLinkAccessFailureReasonSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGSharedLinkAlreadyExistsMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBSHARINGSharedLinkAccessFailureReasonSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBSHARINGSharedLinkAlreadyExistsMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23351,18 +26333,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: - result = prime * result + [[self tagName] hash]; - case DBSHARINGSharedLinkAccessFailureReasonOther: + case DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: + result = prime * result + [self.metadata hash]; + break; + case DBSHARINGSharedLinkAlreadyExistsMetadataOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -23377,30 +26353,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedLinkAccessFailureReason:other]; + return [self isEqualToSharedLinkAlreadyExistsMetadata:other]; } -- (BOOL)isEqualToSharedLinkAccessFailureReason: - (DBSHARINGSharedLinkAccessFailureReason *)aSharedLinkAccessFailureReason { - if (self == aSharedLinkAccessFailureReason) { +- (BOOL)isEqualToSharedLinkAlreadyExistsMetadata: + (DBSHARINGSharedLinkAlreadyExistsMetadata *)aSharedLinkAlreadyExistsMetadata { + if (self == aSharedLinkAlreadyExistsMetadata) { return YES; } - if (self.tag != aSharedLinkAccessFailureReason.tag) { + if (self.tag != aSharedLinkAlreadyExistsMetadata.tag) { return NO; } switch (_tag) { - case DBSHARINGSharedLinkAccessFailureReasonLoginRequired: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; - case DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; - case DBSHARINGSharedLinkAccessFailureReasonPasswordRequired: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; - case DBSHARINGSharedLinkAccessFailureReasonTeamOnly: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; - case DBSHARINGSharedLinkAccessFailureReasonOwnerOnly: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; - case DBSHARINGSharedLinkAccessFailureReasonOther: - return [[self tagName] isEqual:[aSharedLinkAccessFailureReason tagName]]; + case DBSHARINGSharedLinkAlreadyExistsMetadataMetadata: + return [self.metadata isEqual:aSharedLinkAlreadyExistsMetadata.metadata]; + case DBSHARINGSharedLinkAlreadyExistsMetadataOther: + return [[self tagName] isEqual:[aSharedLinkAlreadyExistsMetadata tagName]]; } return YES; } @@ -23409,47 +26377,33 @@ - (BOOL)isEqualToSharedLinkAccessFailureReason: #pragma mark - Serializer Object -@implementation DBSHARINGSharedLinkAccessFailureReasonSerializer +@implementation DBSHARINGSharedLinkAlreadyExistsMetadataSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkAccessFailureReason *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkAlreadyExistsMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isLoginRequired]) { - jsonDict[@".tag"] = @"login_required"; - } else if ([valueObj isEmailVerifyRequired]) { - jsonDict[@".tag"] = @"email_verify_required"; - } else if ([valueObj isPasswordRequired]) { - jsonDict[@".tag"] = @"password_required"; - } else if ([valueObj isTeamOnly]) { - jsonDict[@".tag"] = @"team_only"; - } else if ([valueObj isOwnerOnly]) { - jsonDict[@".tag"] = @"owner_only"; + if ([valueObj isMetadata]) { + jsonDict[@"metadata"] = [[DBSHARINGSharedLinkMetadataSerializer serialize:valueObj.metadata] mutableCopy]; + jsonDict[@".tag"] = @"metadata"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedLinkAlreadyExistsMetadata *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"login_required"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithLoginRequired]; - } else if ([tag isEqualToString:@"email_verify_required"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithEmailVerifyRequired]; - } else if ([tag isEqualToString:@"password_required"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithPasswordRequired]; - } else if ([tag isEqualToString:@"team_only"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithTeamOnly]; - } else if ([tag isEqualToString:@"owner_only"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOwnerOnly]; + if ([tag isEqualToString:@"metadata"]) { + DBSHARINGSharedLinkMetadata *metadata = [DBSHARINGSharedLinkMetadataSerializer deserialize:valueDict[@"metadata"]]; + return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithMetadata:metadata]; } else if ([tag isEqualToString:@"other"]) { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOther]; + return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithOther]; } else { - return [[DBSHARINGSharedLinkAccessFailureReason alloc] initWithOther]; + return [[DBSHARINGSharedLinkAlreadyExistsMetadata alloc] initWithOther]; } } @@ -23534,17 +26488,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedLinkPolicySerializer serialize:self] description]; } @@ -23565,12 +26519,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharedLinkPolicyAnyone: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedLinkPolicyTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedLinkPolicyMembers: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedLinkPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -23614,7 +26572,7 @@ - (BOOL)isEqualToSharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)aSharedLinkPolicy @implementation DBSHARINGSharedLinkPolicySerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAnyone]) { @@ -23629,10 +26587,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"anyone"]) { @@ -23650,6 +26608,8 @@ + (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)valueDict { @end +#import "DBSHARINGLinkAudience.h" +#import "DBSHARINGRequestedLinkAccessLevel.h" #import "DBSHARINGRequestedVisibility.h" #import "DBSHARINGSharedLinkSettings.h" #import "DBStoneSerializers.h" @@ -23661,36 +26621,50 @@ @implementation DBSHARINGSharedLinkSettings #pragma mark - Constructors -- (instancetype)initWithRequestedVisibility:(DBSHARINGRequestedVisibility *)requestedVisibility - linkPassword:(NSString *)linkPassword - expires:(NSDate *)expires { +- (instancetype)initWithRequirePassword:(NSNumber *)requirePassword + linkPassword:(NSString *)linkPassword + expires:(NSDate *)expires + audience:(DBSHARINGLinkAudience *)audience + access:(DBSHARINGRequestedLinkAccessLevel *)access + requestedVisibility:(DBSHARINGRequestedVisibility *)requestedVisibility + allowDownload:(NSNumber *)allowDownload { self = [super init]; if (self) { - _requestedVisibility = requestedVisibility; + _requirePassword = requirePassword; _linkPassword = linkPassword; _expires = expires; + _audience = audience; + _access = access; + _requestedVisibility = requestedVisibility; + _allowDownload = allowDownload; } return self; } - (instancetype)initDefault { - return [self initWithRequestedVisibility:nil linkPassword:nil expires:nil]; + return [self initWithRequirePassword:nil + linkPassword:nil + expires:nil + audience:nil + access:nil + requestedVisibility:nil + allowDownload:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkSettingsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkSettingsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedLinkSettingsSerializer serialize:self] description]; } @@ -23708,8 +26682,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.requestedVisibility != nil) { - result = prime * result + [self.requestedVisibility hash]; + if (self.requirePassword != nil) { + result = prime * result + [self.requirePassword hash]; } if (self.linkPassword != nil) { result = prime * result + [self.linkPassword hash]; @@ -23717,6 +26691,18 @@ - (NSUInteger)hash { if (self.expires != nil) { result = prime * result + [self.expires hash]; } + if (self.audience != nil) { + result = prime * result + [self.audience hash]; + } + if (self.access != nil) { + result = prime * result + [self.access hash]; + } + if (self.requestedVisibility != nil) { + result = prime * result + [self.requestedVisibility hash]; + } + if (self.allowDownload != nil) { + result = prime * result + [self.allowDownload hash]; + } return prime * result; } @@ -23737,8 +26723,8 @@ - (BOOL)isEqualToSharedLinkSettings:(DBSHARINGSharedLinkSettings *)aSharedLinkSe if (self == aSharedLinkSettings) { return YES; } - if (self.requestedVisibility) { - if (![self.requestedVisibility isEqual:aSharedLinkSettings.requestedVisibility]) { + if (self.requirePassword) { + if (![self.requirePassword isEqual:aSharedLinkSettings.requirePassword]) { return NO; } } @@ -23752,6 +26738,26 @@ - (BOOL)isEqualToSharedLinkSettings:(DBSHARINGSharedLinkSettings *)aSharedLinkSe return NO; } } + if (self.audience) { + if (![self.audience isEqual:aSharedLinkSettings.audience]) { + return NO; + } + } + if (self.access) { + if (![self.access isEqual:aSharedLinkSettings.access]) { + return NO; + } + } + if (self.requestedVisibility) { + if (![self.requestedVisibility isEqual:aSharedLinkSettings.requestedVisibility]) { + return NO; + } + } + if (self.allowDownload) { + if (![self.allowDownload isEqual:aSharedLinkSettings.allowDownload]) { + return NO; + } + } return YES; } @@ -23761,11 +26767,11 @@ - (BOOL)isEqualToSharedLinkSettings:(DBSHARINGSharedLinkSettings *)aSharedLinkSe @implementation DBSHARINGSharedLinkSettingsSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.requestedVisibility) { - jsonDict[@"requested_visibility"] = [DBSHARINGRequestedVisibilitySerializer serialize:valueObj.requestedVisibility]; + if (valueObj.requirePassword) { + jsonDict[@"require_password"] = valueObj.requirePassword; } if (valueObj.linkPassword) { jsonDict[@"link_password"] = valueObj.linkPassword; @@ -23773,23 +26779,45 @@ + (NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)valueObj { if (valueObj.expires) { jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } + if (valueObj.audience) { + jsonDict[@"audience"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.audience]; + } + if (valueObj.access) { + jsonDict[@"access"] = [DBSHARINGRequestedLinkAccessLevelSerializer serialize:valueObj.access]; + } + if (valueObj.requestedVisibility) { + jsonDict[@"requested_visibility"] = [DBSHARINGRequestedVisibilitySerializer serialize:valueObj.requestedVisibility]; + } + if (valueObj.allowDownload) { + jsonDict[@"allow_download"] = valueObj.allowDownload; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)valueDict { - DBSHARINGRequestedVisibility *requestedVisibility = - valueDict[@"requested_visibility"] - ? [DBSHARINGRequestedVisibilitySerializer deserialize:valueDict[@"requested_visibility"]] - : nil; ++ (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)valueDict { + NSNumber *requirePassword = valueDict[@"require_password"] ?: nil; NSString *linkPassword = valueDict[@"link_password"] ?: nil; NSDate *expires = valueDict[@"expires"] ? [DBNSDateSerializer deserialize:valueDict[@"expires"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; + DBSHARINGLinkAudience *audience = + valueDict[@"audience"] ? [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"audience"]] : nil; + DBSHARINGRequestedLinkAccessLevel *access = + valueDict[@"access"] ? [DBSHARINGRequestedLinkAccessLevelSerializer deserialize:valueDict[@"access"]] : nil; + DBSHARINGRequestedVisibility *requestedVisibility = + valueDict[@"requested_visibility"] + ? [DBSHARINGRequestedVisibilitySerializer deserialize:valueDict[@"requested_visibility"]] + : nil; + NSNumber *allowDownload = valueDict[@"allow_download"] ?: nil; - return [[DBSHARINGSharedLinkSettings alloc] initWithRequestedVisibility:requestedVisibility - linkPassword:linkPassword - expires:expires]; + return [[DBSHARINGSharedLinkSettings alloc] initWithRequirePassword:requirePassword + linkPassword:linkPassword + expires:expires + audience:audience + access:access + requestedVisibility:requestedVisibility + allowDownload:allowDownload]; } @end @@ -23845,17 +26873,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharedLinkSettingsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharedLinkSettingsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharedLinkSettingsErrorSerializer serialize:self] description]; } @@ -23876,8 +26904,10 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharedLinkSettingsErrorInvalidSettings: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharedLinkSettingsErrorNotAuthorized: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -23917,7 +26947,7 @@ - (BOOL)isEqualToSharedLinkSettingsError:(DBSHARINGSharedLinkSettingsError *)aSh @implementation DBSHARINGSharedLinkSettingsErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidSettings]) { @@ -23930,10 +26960,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_settings"]) { @@ -24057,17 +27087,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharingFileAccessErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharingFileAccessErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharingFileAccessErrorSerializer serialize:self] description]; } @@ -24088,16 +27118,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharingFileAccessErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingFileAccessErrorInvalidFile: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingFileAccessErrorIsFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingFileAccessErrorInsidePublicFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingFileAccessErrorInsideOsxPackage: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingFileAccessErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24145,7 +27181,7 @@ - (BOOL)isEqualToSharingFileAccessError:(DBSHARINGSharingFileAccessError *)aShar @implementation DBSHARINGSharingFileAccessErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoPermission]) { @@ -24164,10 +27200,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_permission"]) { @@ -24240,17 +27276,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGSharingUserErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGSharingUserErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGSharingUserErrorSerializer serialize:self] description]; } @@ -24271,8 +27307,10 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGSharingUserErrorEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGSharingUserErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24312,7 +27350,7 @@ - (BOOL)isEqualToSharingUserError:(DBSHARINGSharingUserError *)aSharingUserError @implementation DBSHARINGSharingUserErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGSharingUserError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGSharingUserError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmailUnverified]) { @@ -24323,10 +27361,10 @@ + (NSDictionary *)serialize:(DBSHARINGSharingUserError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"email_unverified"]) { @@ -24372,17 +27410,17 @@ - (instancetype)initWithTeamInfo:(DBUSERSTeam *)teamInfo displayName:(NSString * #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTeamMemberInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTeamMemberInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGTeamMemberInfoSerializer serialize:self] description]; } @@ -24445,7 +27483,7 @@ - (BOOL)isEqualToTeamMemberInfo:(DBSHARINGTeamMemberInfo *)aTeamMemberInfo { @implementation DBSHARINGTeamMemberInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_info"] = [DBUSERSTeamSerializer serialize:valueObj.teamInfo]; @@ -24454,10 +27492,10 @@ + (NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)valueObj { jsonDict[@"member_id"] = valueObj.memberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { DBUSERSTeam *teamInfo = [DBUSERSTeamSerializer deserialize:valueDict[@"team_info"]]; NSString *displayName = valueDict[@"display_name"]; NSString *memberId = valueDict[@"member_id"] ?: nil; @@ -24492,17 +27530,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId toDropboxId:(N #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTransferFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTransferFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGTransferFolderArgSerializer serialize:self] description]; } @@ -24557,16 +27595,16 @@ - (BOOL)isEqualToTransferFolderArg:(DBSHARINGTransferFolderArg *)aTransferFolder @implementation DBSHARINGTransferFolderArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"to_dropbox_id"] = valueObj.toDropboxId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSString *toDropboxId = valueDict[@"to_dropbox_id"]; @@ -24722,17 +27760,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGTransferFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGTransferFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGTransferFolderErrorSerializer serialize:self] description]; } @@ -24753,20 +27791,28 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGTransferFolderErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGTransferFolderErrorInvalidDropboxId: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorDNewOwnerNotAMember: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorDNewOwnerUnmounted: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGTransferFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24818,7 +27864,7 @@ - (BOOL)isEqualToTransferFolderError:(DBSHARINGTransferFolderError *)aTransferFo @implementation DBSHARINGTransferFolderErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGTransferFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGTransferFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -24843,10 +27889,10 @@ + (NSDictionary *)serialize:(DBSHARINGTransferFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -24897,17 +27943,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnmountFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnmountFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnmountFolderArgSerializer serialize:self] description]; } @@ -24958,15 +28004,15 @@ - (BOOL)isEqualToUnmountFolderArg:(DBSHARINGUnmountFolderArg *)anUnmountFolderAr @implementation DBSHARINGUnmountFolderArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; return [[DBSHARINGUnmountFolderArg alloc] initWithSharedFolderId:sharedFolderId]; @@ -25065,17 +28111,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnmountFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnmountFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnmountFolderErrorSerializer serialize:self] description]; } @@ -25096,12 +28142,16 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGUnmountFolderErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGUnmountFolderErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUnmountFolderErrorNotUnmountable: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUnmountFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -25145,7 +28195,7 @@ - (BOOL)isEqualToUnmountFolderError:(DBSHARINGUnmountFolderError *)anUnmountFold @implementation DBSHARINGUnmountFolderErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -25162,10 +28212,10 @@ + (NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -25210,17 +28260,17 @@ - (instancetype)initWithFile:(NSString *)file { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFileArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFileArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnshareFileArgSerializer serialize:self] description]; } @@ -25271,15 +28321,15 @@ - (BOOL)isEqualToUnshareFileArg:(DBSHARINGUnshareFileArg *)anUnshareFileArg { @implementation DBSHARINGUnshareFileArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; return [[DBSHARINGUnshareFileArg alloc] initWithFile:file]; @@ -25375,17 +28425,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFileErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFileErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnshareFileErrorSerializer serialize:self] description]; } @@ -25406,10 +28456,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGUnshareFileErrorUserError: result = prime * result + [self.userError hash]; + break; case DBSHARINGUnshareFileErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGUnshareFileErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -25451,7 +28504,7 @@ - (BOOL)isEqualToUnshareFileError:(DBSHARINGUnshareFileError *)anUnshareFileErro @implementation DBSHARINGUnshareFileErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnshareFileError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnshareFileError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserError]) { @@ -25467,10 +28520,10 @@ + (NSDictionary *)serialize:(DBSHARINGUnshareFileError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_error"]) { @@ -25517,17 +28570,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFolderArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFolderArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnshareFolderArgSerializer serialize:self] description]; } @@ -25582,16 +28635,16 @@ - (BOOL)isEqualToUnshareFolderArg:(DBSHARINGUnshareFolderArg *)anUnshareFolderAr @implementation DBSHARINGUnshareFolderArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"leave_a_copy"] = valueObj.leaveACopy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; NSNumber *leaveACopy = valueDict[@"leave_a_copy"] ?: @NO; @@ -25705,17 +28758,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUnshareFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUnshareFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUnshareFolderErrorSerializer serialize:self] description]; } @@ -25736,14 +28789,19 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGUnshareFolderErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGUnshareFolderErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUnshareFolderErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUnshareFolderErrorTooManyFiles: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUnshareFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -25789,7 +28847,7 @@ - (BOOL)isEqualToUnshareFolderError:(DBSHARINGUnshareFolderError *)anUnshareFold @implementation DBSHARINGUnshareFolderErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -25808,10 +28866,10 @@ + (NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -25834,7 +28892,6 @@ + (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)valueDict { @end #import "DBSHARINGAccessLevel.h" -#import "DBSHARINGChangeFileMemberAccessArgs.h" #import "DBSHARINGMemberSelector.h" #import "DBSHARINGUpdateFileMemberArgs.h" #import "DBStoneSerializers.h" @@ -25856,25 +28913,28 @@ - (instancetype)initWithFile:(NSString *)file [DBStoneValidators nonnullValidator:nil](member); [DBStoneValidators nonnullValidator:nil](accessLevel); - self = [super initWithFile:file member:member accessLevel:accessLevel]; + self = [super init]; if (self) { + _file = file; + _member = member; + _accessLevel = accessLevel; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFileMemberArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFileMemberArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUpdateFileMemberArgsSerializer serialize:self] description]; } @@ -25933,17 +28993,17 @@ - (BOOL)isEqualToUpdateFileMemberArgs:(DBSHARINGUpdateFileMemberArgs *)anUpdateF @implementation DBSHARINGUpdateFileMemberArgsSerializer -+ (NSDictionary *)serialize:(DBSHARINGUpdateFileMemberArgs *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUpdateFileMemberArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"file"] = valueObj.file; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)valueDict { NSString *file = valueDict[@"file"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]]; @@ -25984,17 +29044,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderMemberArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderMemberArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUpdateFolderMemberArgSerializer serialize:self] description]; } @@ -26053,17 +29113,17 @@ - (BOOL)isEqualToUpdateFolderMemberArg:(DBSHARINGUpdateFolderMemberArg *)anUpdat @implementation DBSHARINGUpdateFolderMemberArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; jsonDict[@"member"] = [DBSHARINGMemberSelectorSerializer serialize:valueObj.member]; jsonDict[@"access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessLevel]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberSelector *member = [DBSHARINGMemberSelectorSerializer deserialize:valueDict[@"member"]]; DBSHARINGAccessLevel *accessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_level"]]; @@ -26219,17 +29279,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderMemberErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderMemberErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUpdateFolderMemberErrorSerializer serialize:self] description]; } @@ -26250,16 +29310,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGUpdateFolderMemberErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGUpdateFolderMemberErrorMemberError: result = prime * result + [self.memberError hash]; + break; case DBSHARINGUpdateFolderMemberErrorNoExplicitAccess: result = prime * result + [self.noExplicitAccess hash]; + break; case DBSHARINGUpdateFolderMemberErrorInsufficientPlan: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderMemberErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderMemberErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -26307,7 +29373,7 @@ - (BOOL)isEqualToUpdateFolderMemberError:(DBSHARINGUpdateFolderMemberError *)anU @implementation DBSHARINGUpdateFolderMemberErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -26332,10 +29398,10 @@ + (NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -26418,17 +29484,17 @@ - (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderPolicyArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderPolicyArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUpdateFolderPolicyArgSerializer serialize:self] description]; } @@ -26527,7 +29593,7 @@ - (BOOL)isEqualToUpdateFolderPolicyArg:(DBSHARINGUpdateFolderPolicyArg *)anUpdat @implementation DBSHARINGUpdateFolderPolicyArgSerializer -+ (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_id"] = valueObj.sharedFolderId; @@ -26553,10 +29619,10 @@ + (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)valueDict { NSString *sharedFolderId = valueDict[@"shared_folder_id"]; DBSHARINGMemberPolicy *memberPolicy = valueDict[@"member_policy"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"member_policy"]] : nil; @@ -26725,17 +29791,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUpdateFolderPolicyErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUpdateFolderPolicyErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUpdateFolderPolicyErrorSerializer serialize:self] description]; } @@ -26756,18 +29822,25 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGUpdateFolderPolicyErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBSHARINGUpdateFolderPolicyErrorNotOnTeam: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderPolicyErrorNoPermission: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderPolicyErrorTeamFolder: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGUpdateFolderPolicyErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -26817,7 +29890,7 @@ - (BOOL)isEqualToUpdateFolderPolicyError:(DBSHARINGUpdateFolderPolicyError *)anU @implementation DBSHARINGUpdateFolderPolicyErrorSerializer -+ (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -26840,10 +29913,10 @@ + (NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -26908,17 +29981,17 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSH #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUserMembershipInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserMembershipInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUserMembershipInfoSerializer serialize:self] description]; } @@ -26993,7 +30066,7 @@ - (BOOL)isEqualToUserMembershipInfo:(DBSHARINGUserMembershipInfo *)anUserMembers @implementation DBSHARINGUserMembershipInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; @@ -27009,10 +30082,10 @@ + (NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)valueObj { } jsonDict[@"is_inherited"] = valueObj.isInherited; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; NSArray *permissions = @@ -27033,6 +30106,7 @@ + (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)valueDict { @end +#import "DBSEENSTATEPlatformType.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGMemberPermission.h" #import "DBSHARINGUserFileMembershipInfo.h" @@ -27052,7 +30126,8 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType permissions:(NSArray *)permissions initials:(NSString *)initials isInherited:(NSNumber *)isInherited - timeLastSeen:(NSDate *)timeLastSeen { + timeLastSeen:(NSDate *)timeLastSeen + platformType:(DBSEENSTATEPlatformType *)platformType { [DBStoneValidators nonnullValidator:nil](accessType); [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators @@ -27064,27 +30139,34 @@ - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType [super initWithAccessType:accessType user:user permissions:permissions initials:initials isInherited:isInherited]; if (self) { _timeLastSeen = timeLastSeen; + _platformType = platformType; } return self; } - (instancetype)initWithAccessType:(DBSHARINGAccessLevel *)accessType user:(DBSHARINGUserInfo *)user { - return [self initWithAccessType:accessType user:user permissions:nil initials:nil isInherited:nil timeLastSeen:nil]; + return [self initWithAccessType:accessType + user:user + permissions:nil + initials:nil + isInherited:nil + timeLastSeen:nil + platformType:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUserFileMembershipInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserFileMembershipInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUserFileMembershipInfoSerializer serialize:self] description]; } @@ -27114,6 +30196,9 @@ - (NSUInteger)hash { if (self.timeLastSeen != nil) { result = prime * result + [self.timeLastSeen hash]; } + if (self.platformType != nil) { + result = prime * result + [self.platformType hash]; + } return prime * result; } @@ -27158,6 +30243,11 @@ - (BOOL)isEqualToUserFileMembershipInfo:(DBSHARINGUserFileMembershipInfo *)anUse return NO; } } + if (self.platformType) { + if (![self.platformType isEqual:anUserFileMembershipInfo.platformType]) { + return NO; + } + } return YES; } @@ -27167,7 +30257,7 @@ - (BOOL)isEqualToUserFileMembershipInfo:(DBSHARINGUserFileMembershipInfo *)anUse @implementation DBSHARINGUserFileMembershipInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"access_type"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.accessType]; @@ -27185,11 +30275,14 @@ + (NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)valueObj { if (valueObj.timeLastSeen) { jsonDict[@"time_last_seen"] = [DBNSDateSerializer serialize:valueObj.timeLastSeen dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } + if (valueObj.platformType) { + jsonDict[@"platform_type"] = [DBSEENSTATEPlatformTypeSerializer serialize:valueObj.platformType]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)valueDict { DBSHARINGAccessLevel *accessType = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"access_type"]]; DBSHARINGUserInfo *user = [DBSHARINGUserInfoSerializer deserialize:valueDict[@"user"]]; NSArray *permissions = @@ -27203,13 +30296,16 @@ + (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)valueDict { NSDate *timeLastSeen = valueDict[@"time_last_seen"] ? [DBNSDateSerializer deserialize:valueDict[@"time_last_seen"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; + DBSEENSTATEPlatformType *platformType = + valueDict[@"platform_type"] ? [DBSEENSTATEPlatformTypeSerializer deserialize:valueDict[@"platform_type"]] : nil; return [[DBSHARINGUserFileMembershipInfo alloc] initWithAccessType:accessType user:user permissions:permissions initials:initials isInherited:isInherited - timeLastSeen:timeLastSeen]; + timeLastSeen:timeLastSeen + platformType:platformType]; } @end @@ -27225,37 +30321,46 @@ @implementation DBSHARINGUserInfo #pragma mark - Constructors - (instancetype)initWithAccountId:(NSString *)accountId + email:(NSString *)email + displayName:(NSString *)displayName sameTeam:(NSNumber *)sameTeam teamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators nonnullValidator:nil](email); + [DBStoneValidators nonnullValidator:nil](displayName); [DBStoneValidators nonnullValidator:nil](sameTeam); self = [super init]; if (self) { _accountId = accountId; + _email = email; + _displayName = displayName; _sameTeam = sameTeam; _teamMemberId = teamMemberId; } return self; } -- (instancetype)initWithAccountId:(NSString *)accountId sameTeam:(NSNumber *)sameTeam { - return [self initWithAccountId:accountId sameTeam:sameTeam teamMemberId:nil]; +- (instancetype)initWithAccountId:(NSString *)accountId + email:(NSString *)email + displayName:(NSString *)displayName + sameTeam:(NSNumber *)sameTeam { + return [self initWithAccountId:accountId email:email displayName:displayName sameTeam:sameTeam teamMemberId:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGUserInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGUserInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGUserInfoSerializer serialize:self] description]; } @@ -27274,6 +30379,8 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.accountId hash]; + result = prime * result + [self.email hash]; + result = prime * result + [self.displayName hash]; result = prime * result + [self.sameTeam hash]; if (self.teamMemberId != nil) { result = prime * result + [self.teamMemberId hash]; @@ -27301,6 +30408,12 @@ - (BOOL)isEqualToUserInfo:(DBSHARINGUserInfo *)anUserInfo { if (![self.accountId isEqual:anUserInfo.accountId]) { return NO; } + if (![self.email isEqual:anUserInfo.email]) { + return NO; + } + if (![self.displayName isEqual:anUserInfo.displayName]) { + return NO; + } if (![self.sameTeam isEqual:anUserInfo.sameTeam]) { return NO; } @@ -27318,24 +30431,32 @@ - (BOOL)isEqualToUserInfo:(DBSHARINGUserInfo *)anUserInfo { @implementation DBSHARINGUserInfoSerializer -+ (NSDictionary *)serialize:(DBSHARINGUserInfo *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGUserInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; + jsonDict[@"email"] = valueObj.email; + jsonDict[@"display_name"] = valueObj.displayName; jsonDict[@"same_team"] = valueObj.sameTeam; if (valueObj.teamMemberId) { jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGUserInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGUserInfo *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; + NSString *email = valueDict[@"email"]; + NSString *displayName = valueDict[@"display_name"]; NSNumber *sameTeam = valueDict[@"same_team"]; NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; - return [[DBSHARINGUserInfo alloc] initWithAccountId:accountId sameTeam:sameTeam teamMemberId:teamMemberId]; + return [[DBSHARINGUserInfo alloc] initWithAccountId:accountId + email:email + displayName:displayName + sameTeam:sameTeam + teamMemberId:teamMemberId]; } @end @@ -27405,17 +30526,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGViewerInfoPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGViewerInfoPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGViewerInfoPolicySerializer serialize:self] description]; } @@ -27436,10 +30557,13 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGViewerInfoPolicyEnabled: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGViewerInfoPolicyDisabled: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGViewerInfoPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -27481,7 +30605,7 @@ - (BOOL)isEqualToViewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)aViewerInfoPolicy @implementation DBSHARINGViewerInfoPolicySerializer -+ (NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEnabled]) { @@ -27494,10 +30618,10 @@ + (NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"enabled"]) { @@ -27620,17 +30744,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBSHARINGVisibilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBSHARINGVisibilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBSHARINGVisibilitySerializer serialize:self] description]; } @@ -27651,16 +30775,22 @@ - (NSUInteger)hash { switch (_tag) { case DBSHARINGVisibilityPublic: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGVisibilityTeamOnly: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGVisibilityPassword: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGVisibilityTeamAndPassword: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGVisibilitySharedFolderOnly: result = prime * result + [[self tagName] hash]; + break; case DBSHARINGVisibilityOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -27708,7 +30838,7 @@ - (BOOL)isEqualToVisibility:(DBSHARINGVisibility *)aVisibility { @implementation DBSHARINGVisibilitySerializer -+ (NSDictionary *)serialize:(DBSHARINGVisibility *)valueObj { ++ (NSDictionary *)serialize:(DBSHARINGVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isPublic]) { @@ -27727,10 +30857,10 @@ + (NSDictionary *)serialize:(DBSHARINGVisibility *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBSHARINGVisibility *)deserialize:(NSDictionary *)valueDict { ++ (DBSHARINGVisibility *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"public"]) { @@ -27751,3 +30881,151 @@ + (DBSHARINGVisibility *)deserialize:(NSDictionary *)valueDict { } @end + +#import "DBSHARINGAlphaResolvedVisibility.h" +#import "DBSHARINGRequestedVisibility.h" +#import "DBSHARINGVisibilityPolicy.h" +#import "DBSHARINGVisibilityPolicyDisallowedReason.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" + +#pragma mark - API Object + +@implementation DBSHARINGVisibilityPolicy + +#pragma mark - Constructors + +- (instancetype)initWithPolicy:(DBSHARINGRequestedVisibility *)policy + resolvedPolicy:(DBSHARINGAlphaResolvedVisibility *)resolvedPolicy + allowed:(NSNumber *)allowed + disallowedReason:(DBSHARINGVisibilityPolicyDisallowedReason *)disallowedReason { + [DBStoneValidators nonnullValidator:nil](policy); + [DBStoneValidators nonnullValidator:nil](resolvedPolicy); + [DBStoneValidators nonnullValidator:nil](allowed); + + self = [super init]; + if (self) { + _policy = policy; + _resolvedPolicy = resolvedPolicy; + _allowed = allowed; + _disallowedReason = disallowedReason; + } + return self; +} + +- (instancetype)initWithPolicy:(DBSHARINGRequestedVisibility *)policy + resolvedPolicy:(DBSHARINGAlphaResolvedVisibility *)resolvedPolicy + allowed:(NSNumber *)allowed { + return [self initWithPolicy:policy resolvedPolicy:resolvedPolicy allowed:allowed disallowedReason:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBSHARINGVisibilityPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBSHARINGVisibilityPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBSHARINGVisibilityPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.policy hash]; + result = prime * result + [self.resolvedPolicy hash]; + result = prime * result + [self.allowed hash]; + if (self.disallowedReason != nil) { + result = prime * result + [self.disallowedReason hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToVisibilityPolicy:other]; +} + +- (BOOL)isEqualToVisibilityPolicy:(DBSHARINGVisibilityPolicy *)aVisibilityPolicy { + if (self == aVisibilityPolicy) { + return YES; + } + if (![self.policy isEqual:aVisibilityPolicy.policy]) { + return NO; + } + if (![self.resolvedPolicy isEqual:aVisibilityPolicy.resolvedPolicy]) { + return NO; + } + if (![self.allowed isEqual:aVisibilityPolicy.allowed]) { + return NO; + } + if (self.disallowedReason) { + if (![self.disallowedReason isEqual:aVisibilityPolicy.disallowedReason]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBSHARINGVisibilityPolicySerializer + ++ (NSDictionary *)serialize:(DBSHARINGVisibilityPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"policy"] = [DBSHARINGRequestedVisibilitySerializer serialize:valueObj.policy]; + jsonDict[@"resolved_policy"] = [DBSHARINGAlphaResolvedVisibilitySerializer serialize:valueObj.resolvedPolicy]; + jsonDict[@"allowed"] = valueObj.allowed; + if (valueObj.disallowedReason) { + jsonDict[@"disallowed_reason"] = + [DBSHARINGVisibilityPolicyDisallowedReasonSerializer serialize:valueObj.disallowedReason]; + } + + return jsonDict; +} + ++ (DBSHARINGVisibilityPolicy *)deserialize:(NSDictionary *)valueDict { + DBSHARINGRequestedVisibility *policy = [DBSHARINGRequestedVisibilitySerializer deserialize:valueDict[@"policy"]]; + DBSHARINGAlphaResolvedVisibility *resolvedPolicy = + [DBSHARINGAlphaResolvedVisibilitySerializer deserialize:valueDict[@"resolved_policy"]]; + NSNumber *allowed = valueDict[@"allowed"]; + DBSHARINGVisibilityPolicyDisallowedReason *disallowedReason = + valueDict[@"disallowed_reason"] + ? [DBSHARINGVisibilityPolicyDisallowedReasonSerializer deserialize:valueDict[@"disallowed_reason"]] + : nil; + + return [[DBSHARINGVisibilityPolicy alloc] initWithPolicy:policy + resolvedPolicy:resolvedPolicy + allowed:allowed + disallowedReason:disallowedReason]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessInheritance.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessInheritance.h new file mode 100644 index 000000000..e1bf4f5a3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessInheritance.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessInheritance; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccessInheritance` union. +/// +/// Information about the inheritance policy of a shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGAccessInheritance : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGAccessInheritanceTag` enum type represents the possible tag +/// states with which the `DBSHARINGAccessInheritance` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAccessInheritanceTag){ + /// The shared folder inherits its members from the parent folder. + DBSHARINGAccessInheritanceInherit, + + /// The shared folder does not inherit its members from the parent folder. + DBSHARINGAccessInheritanceNoInherit, + + /// (no description). + DBSHARINGAccessInheritanceOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGAccessInheritanceTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "inherit". +/// +/// Description of the "inherit" tag state: The shared folder inherits its +/// members from the parent folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInherit; + +/// +/// Initializes union class with tag state of "no_inherit". +/// +/// Description of the "no_inherit" tag state: The shared folder does not +/// inherit its members from the parent folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoInherit; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "inherit". +/// +/// @return Whether the union's current tag state has value "inherit". +/// +- (BOOL)isInherit; + +/// +/// Retrieves whether the union's current tag state has value "no_inherit". +/// +/// @return Whether the union's current tag state has value "no_inherit". +/// +- (BOOL)isNoInherit; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGAccessInheritance` union. +/// +@interface DBSHARINGAccessInheritanceSerializer : NSObject + +/// +/// Serializes `DBSHARINGAccessInheritance` instances. +/// +/// @param instance An instance of the `DBSHARINGAccessInheritance` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGAccessInheritance` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGAccessInheritance *)instance; + +/// +/// Deserializes `DBSHARINGAccessInheritance` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGAccessInheritance` API object. +/// +/// @return An instantiation of the `DBSHARINGAccessInheritance` object. +/// ++ (DBSHARINGAccessInheritance *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessLevel.h index 7cb0a365f..50352e271 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessLevel.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAccessLevel.h @@ -29,24 +29,34 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGAccessLevelTag` enum type represents the possible tag states /// with which the `DBSHARINGAccessLevel` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGAccessLevelTag) { - /// The collaborator is the owner of the shared folder. Owners can view and - /// edit the shared folder as well as set the folder's policies using - /// `updateFolderPolicy`. - DBSHARINGAccessLevelOwner, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAccessLevelTag){ + /// The collaborator is the owner of the shared folder. Owners can view and + /// edit the shared folder as well as set the folder's policies using + /// `updateFolderPolicy`. + DBSHARINGAccessLevelOwner, - /// The collaborator can both view and edit the shared folder. - DBSHARINGAccessLevelEditor, + /// The collaborator can both view and edit the shared folder. + DBSHARINGAccessLevelEditor, - /// The collaborator can only view the shared folder. - DBSHARINGAccessLevelViewer, + /// The collaborator can only view the shared folder. + DBSHARINGAccessLevelViewer, - /// The collaborator can only view the shared folder and does not have any - /// access to comments. - DBSHARINGAccessLevelViewerNoComment, + /// The collaborator can only view the shared folder and does not have any + /// access to comments. + DBSHARINGAccessLevelViewerNoComment, - /// (no description). - DBSHARINGAccessLevelOther, + /// The collaborator can only view the shared folder that they have access + /// to. + DBSHARINGAccessLevelTraverse, + + /// If there is a Righteous Link on the folder which grants access and the + /// user has visited such link, they are allowed to perform certain action + /// (i.e. add themselves to the folder) via the link access even though the + /// user themselves are not a member on the shared folder yet. + DBSHARINGAccessLevelNoAccess, + + /// (no description). + DBSHARINGAccessLevelOther, }; @@ -96,6 +106,29 @@ typedef NS_ENUM(NSInteger, DBSHARINGAccessLevelTag) { /// - (instancetype)initWithViewerNoComment; +/// +/// Initializes union class with tag state of "traverse". +/// +/// Description of the "traverse" tag state: The collaborator can only view the +/// shared folder that they have access to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTraverse; + +/// +/// Initializes union class with tag state of "no_access". +/// +/// Description of the "no_access" tag state: If there is a Righteous Link on +/// the folder which grants access and the user has visited such link, they are +/// allowed to perform certain action (i.e. add themselves to the folder) via +/// the link access even though the user themselves are not a member on the +/// shared folder yet. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoAccess; + /// /// Initializes union class with tag state of "other". /// @@ -136,6 +169,20 @@ typedef NS_ENUM(NSInteger, DBSHARINGAccessLevelTag) { /// - (BOOL)isViewerNoComment; +/// +/// Retrieves whether the union's current tag state has value "traverse". +/// +/// @return Whether the union's current tag state has value "traverse". +/// +- (BOOL)isTraverse; + +/// +/// Retrieves whether the union's current tag state has value "no_access". +/// +/// @return Whether the union's current tag state has value "no_access". +/// +- (BOOL)isNoAccess; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -167,7 +214,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAccessLevelTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGAccessLevel` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAccessLevel *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAccessLevel *)instance; /// /// Deserializes `DBSHARINGAccessLevel` instances. @@ -177,7 +224,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAccessLevelTag) { /// /// @return An instantiation of the `DBSHARINGAccessLevel` object. /// -+ (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAccessLevel *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAclUpdatePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAclUpdatePolicy.h index ca9b2e8dc..4fa19edf9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAclUpdatePolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAclUpdatePolicy.h @@ -30,16 +30,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGAclUpdatePolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGAclUpdatePolicy` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGAclUpdatePolicyTag) { - /// Only the owner can update the ACL. - DBSHARINGAclUpdatePolicyOwner, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAclUpdatePolicyTag){ + /// Only the owner can update the ACL. + DBSHARINGAclUpdatePolicyOwner, - /// Any editor can update the ACL. This may be further restricted to editors - /// on the same team. - DBSHARINGAclUpdatePolicyEditors, + /// Any editor can update the ACL. This may be further restricted to editors + /// on the same team. + DBSHARINGAclUpdatePolicyEditors, - /// (no description). - DBSHARINGAclUpdatePolicyOther, + /// (no description). + DBSHARINGAclUpdatePolicyOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAclUpdatePolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGAclUpdatePolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAclUpdatePolicy *)instance; /// /// Deserializes `DBSHARINGAclUpdatePolicy` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAclUpdatePolicyTag) { /// /// @return An instantiation of the `DBSHARINGAclUpdatePolicy` object. /// -+ (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAclUpdatePolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberArgs.h index e5d609d7d..2798d6ea8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberArgs.h @@ -33,15 +33,15 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, copy) NSString *file; /// Members to add. Note that even an email address is given, this may result in -/// a user being directy added to the membership if that email is the user's +/// a user being directly added to the membership if that email is the user's /// main account email. @property (nonatomic, readonly) NSArray *members; /// Message to send to added members in their invitation. @property (nonatomic, readonly, copy, nullable) NSString *customMessage; -/// Whether added members should be notified via device notifications of their -/// invitation. +/// Whether added members should be notified via email and device notifications +/// of their invitation. @property (nonatomic, readonly) NSNumber *quiet; /// AccessLevel union object, describing what access level we want to give new @@ -58,10 +58,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param file File to which to add members. /// @param members Members to add. Note that even an email address is given, -/// this may result in a user being directy added to the membership if that +/// this may result in a user being directly added to the membership if that /// email is the user's main account email. /// @param customMessage Message to send to added members in their invitation. -/// @param quiet Whether added members should be notified via device +/// @param quiet Whether added members should be notified via email and device /// notifications of their invitation. /// @param accessLevel AccessLevel union object, describing what access level we /// want to give new members. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param file File to which to add members. /// @param members Members to add. Note that even an email address is given, -/// this may result in a user being directy added to the membership if that +/// this may result in a user being directly added to the membership if that /// email is the user's main account email. /// /// @return An initialized instance. @@ -109,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberArgs *)instance; /// /// Deserializes `DBSHARINGAddFileMemberArgs` instances. @@ -119,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGAddFileMemberArgs` object. /// -+ (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddFileMemberArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberError.h index 3824350e8..1bcc88365 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFileMemberError.h @@ -31,21 +31,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGAddFileMemberErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGAddFileMemberError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGAddFileMemberErrorTag) { - /// (no description). - DBSHARINGAddFileMemberErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAddFileMemberErrorTag){ + /// (no description). + DBSHARINGAddFileMemberErrorUserError, - /// (no description). - DBSHARINGAddFileMemberErrorAccessError, + /// (no description). + DBSHARINGAddFileMemberErrorAccessError, - /// The user has reached the rate limit for invitations. - DBSHARINGAddFileMemberErrorRateLimit, + /// The user has reached the rate limit for invitations. + DBSHARINGAddFileMemberErrorRateLimit, - /// The custom message did not pass comment permissions checks. - DBSHARINGAddFileMemberErrorInvalidComment, + /// The custom message did not pass comment permissions checks. + DBSHARINGAddFileMemberErrorInvalidComment, - /// (no description). - DBSHARINGAddFileMemberErrorOther, + /// (no description). + DBSHARINGAddFileMemberErrorOther, }; @@ -176,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFileMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFileMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddFileMemberError *)instance; /// /// Deserializes `DBSHARINGAddFileMemberError` instances. @@ -186,7 +186,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFileMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGAddFileMemberError` object. /// -+ (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddFileMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberArg.h index cd44c493b..d5fe401f8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberArg.h @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGAddFolderMemberArg` instances. @@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGAddFolderMemberArg` object. /// -+ (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddFolderMemberArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberError.h index 32e095e24..0e9bee192 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddFolderMemberError.h @@ -29,46 +29,54 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGAddFolderMemberErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGAddFolderMemberError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { - /// Unable to access shared folder. - DBSHARINGAddFolderMemberErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag){ + /// Unable to access shared folder. + DBSHARINGAddFolderMemberErrorAccessError, - /// The current user's e-mail address is unverified. - DBSHARINGAddFolderMemberErrorEmailUnverified, + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGAddFolderMemberErrorEmailUnverified, - /// `members` in `DBSHARINGAddFolderMemberArg` contains a bad invitation - /// recipient. - DBSHARINGAddFolderMemberErrorBadMember, + /// The current user has been banned. + DBSHARINGAddFolderMemberErrorBannedMember, - /// Your team policy does not allow sharing outside of the team. - DBSHARINGAddFolderMemberErrorCantShareOutsideTeam, + /// `members` in `DBSHARINGAddFolderMemberArg` contains a bad invitation + /// recipient. + DBSHARINGAddFolderMemberErrorBadMember, - /// The value is the member limit that was reached. - DBSHARINGAddFolderMemberErrorTooManyMembers, + /// Your team policy does not allow sharing outside of the team. + DBSHARINGAddFolderMemberErrorCantShareOutsideTeam, - /// The value is the pending invite limit that was reached. - DBSHARINGAddFolderMemberErrorTooManyPendingInvites, + /// The value is the member limit that was reached. + DBSHARINGAddFolderMemberErrorTooManyMembers, - /// The current user has hit the limit of invites they can send per day. Try - /// again in 24 hours. - DBSHARINGAddFolderMemberErrorRateLimit, + /// The value is the pending invite limit that was reached. + DBSHARINGAddFolderMemberErrorTooManyPendingInvites, - /// The current user is trying to share with too many people at once. - DBSHARINGAddFolderMemberErrorTooManyInvitees, + /// The current user has hit the limit of invites they can send per day. Try + /// again in 24 hours. + DBSHARINGAddFolderMemberErrorRateLimit, - /// The current user's account doesn't support this action. An example of - /// this is when adding a read-only member. This action can only be - /// performed by users that have upgraded to a Pro or Business plan. - DBSHARINGAddFolderMemberErrorInsufficientPlan, + /// The current user is trying to share with too many people at once. + DBSHARINGAddFolderMemberErrorTooManyInvitees, - /// This action cannot be performed on a team shared folder. - DBSHARINGAddFolderMemberErrorTeamFolder, + /// The current user's account doesn't support this action. An example of + /// this is when adding a read-only member. This action can only be + /// performed by users that have upgraded to a Pro or Business plan. + DBSHARINGAddFolderMemberErrorInsufficientPlan, - /// The current user does not have permission to perform this action. - DBSHARINGAddFolderMemberErrorNoPermission, + /// This action cannot be performed on a team shared folder. + DBSHARINGAddFolderMemberErrorTeamFolder, - /// (no description). - DBSHARINGAddFolderMemberErrorOther, + /// The current user does not have permission to perform this action. + DBSHARINGAddFolderMemberErrorNoPermission, + + /// Invalid shared folder error will be returned as an access_error. + DBSHARINGAddFolderMemberErrorInvalidSharedFolder, + + /// (no description). + DBSHARINGAddFolderMemberErrorOther, }; @@ -110,13 +118,25 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// /// Initializes union class with tag state of "email_unverified". /// -/// Description of the "email_unverified" tag state: The current user's e-mail -/// address is unverified. +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// - (instancetype)initWithEmailUnverified; +/// +/// Initializes union class with tag state of "banned_member". +/// +/// Description of the "banned_member" tag state: The current user has been +/// banned. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBannedMember; + /// /// Initializes union class with tag state of "bad_member". /// @@ -217,6 +237,16 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// - (instancetype)initWithNoPermission; +/// +/// Initializes union class with tag state of "invalid_shared_folder". +/// +/// Description of the "invalid_shared_folder" tag state: Invalid shared folder +/// error will be returned as an access_error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidSharedFolder; + /// /// Initializes union class with tag state of "other". /// @@ -246,6 +276,13 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// - (BOOL)isEmailUnverified; +/// +/// Retrieves whether the union's current tag state has value "banned_member". +/// +/// @return Whether the union's current tag state has value "banned_member". +/// +- (BOOL)isBannedMember; + /// /// Retrieves whether the union's current tag state has value "bad_member". /// @@ -326,6 +363,15 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// - (BOOL)isNoPermission; +/// +/// Retrieves whether the union's current tag state has value +/// "invalid_shared_folder". +/// +/// @return Whether the union's current tag state has value +/// "invalid_shared_folder". +/// +- (BOOL)isInvalidSharedFolder; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -358,7 +404,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddFolderMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddFolderMemberError *)instance; /// /// Deserializes `DBSHARINGAddFolderMemberError` instances. @@ -368,7 +414,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddFolderMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGAddFolderMemberError` object. /// -+ (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddFolderMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMember.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMember.h index 4f5d5bb3f..05f6d23c8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMember.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMember.h @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddMember` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddMember *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddMember *)instance; /// /// Deserializes `DBSHARINGAddMember` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGAddMember` object. /// -+ (DBSHARINGAddMember *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddMember *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMemberSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMemberSelectorError.h index aedf027bf..9c21ede9d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMemberSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAddMemberSelectorError.h @@ -27,30 +27,30 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGAddMemberSelectorErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGAddMemberSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag) { - /// Automatically created groups can only be added to team folders. - DBSHARINGAddMemberSelectorErrorAutomaticGroup, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag){ + /// Automatically created groups can only be added to team folders. + DBSHARINGAddMemberSelectorErrorAutomaticGroup, - /// The value is the ID that could not be identified. - DBSHARINGAddMemberSelectorErrorInvalidDropboxId, + /// The value is the ID that could not be identified. + DBSHARINGAddMemberSelectorErrorInvalidDropboxId, - /// The value is the e-email address that is malformed. - DBSHARINGAddMemberSelectorErrorInvalidEmail, + /// The value is the e-email address that is malformed. + DBSHARINGAddMemberSelectorErrorInvalidEmail, - /// The value is the ID of the Dropbox user with an unverified e-mail - /// address. Invite unverified users by e-mail address instead of by their - /// Dropbox ID. - DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId, + /// The value is the ID of the Dropbox user with an unverified email + /// address. Invite unverified users by email address instead of by their + /// Dropbox ID. + DBSHARINGAddMemberSelectorErrorUnverifiedDropboxId, - /// At least one of the specified groups in `members` in - /// `DBSHARINGAddFolderMemberArg` is deleted. - DBSHARINGAddMemberSelectorErrorGroupDeleted, + /// At least one of the specified groups in `members` in + /// `DBSHARINGAddFolderMemberArg` is deleted. + DBSHARINGAddMemberSelectorErrorGroupDeleted, - /// Sharing to a group that is not on the current user's team. - DBSHARINGAddMemberSelectorErrorGroupNotOnTeam, + /// Sharing to a group that is not on the current user's team. + DBSHARINGAddMemberSelectorErrorGroupNotOnTeam, - /// (no description). - DBSHARINGAddMemberSelectorErrorOther, + /// (no description). + DBSHARINGAddMemberSelectorErrorOther, }; @@ -67,8 +67,8 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag) { /// exception will be raised. @property (nonatomic, readonly, copy) NSString *invalidEmail; -/// The value is the ID of the Dropbox user with an unverified e-mail address. -/// Invite unverified users by e-mail address instead of by their Dropbox ID. +/// The value is the ID of the Dropbox user with an unverified email address. +/// Invite unverified users by email address instead of by their Dropbox ID. /// @note Ensure the `isUnverifiedDropboxId` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *unverifiedDropboxId; @@ -113,12 +113,12 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag) { /// Initializes union class with tag state of "unverified_dropbox_id". /// /// Description of the "unverified_dropbox_id" tag state: The value is the ID of -/// the Dropbox user with an unverified e-mail address. Invite unverified users -/// by e-mail address instead of by their Dropbox ID. +/// the Dropbox user with an unverified email address. Invite unverified users +/// by email address instead of by their Dropbox ID. /// /// @param unverifiedDropboxId The value is the ID of the Dropbox user with an -/// unverified e-mail address. Invite unverified users by e-mail address -/// instead of by their Dropbox ID. +/// unverified email address. Invite unverified users by email address instead +/// of by their Dropbox ID. /// /// @return An initialized instance. /// @@ -244,7 +244,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGAddMemberSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAddMemberSelectorError *)instance; /// /// Deserializes `DBSHARINGAddMemberSelectorError` instances. @@ -254,7 +254,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGAddMemberSelectorErrorTag) { /// /// @return An instantiation of the `DBSHARINGAddMemberSelectorError` object. /// -+ (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAddMemberSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAlphaResolvedVisibility.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAlphaResolvedVisibility.h new file mode 100644 index 000000000..b437d3bb8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAlphaResolvedVisibility.h @@ -0,0 +1,255 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAlphaResolvedVisibility; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AlphaResolvedVisibility` union. +/// +/// check documentation for ResolvedVisibility. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGAlphaResolvedVisibility : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGAlphaResolvedVisibilityTag` enum type represents the possible +/// tag states with which the `DBSHARINGAlphaResolvedVisibility` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGAlphaResolvedVisibilityTag){ + /// Anyone who has received the link can access it. No login required. + DBSHARINGAlphaResolvedVisibilityPublic, + + /// Only members of the same team can access the link. Login is required. + DBSHARINGAlphaResolvedVisibilityTeamOnly, + + /// A link-specific password is required to access the link. Login is not + /// required. + DBSHARINGAlphaResolvedVisibilityPassword, + + /// Only members of the same team who have the link-specific password can + /// access the link. Login is required. + DBSHARINGAlphaResolvedVisibilityTeamAndPassword, + + /// Only members of the shared folder containing the linked file can access + /// the link. Login is required. + DBSHARINGAlphaResolvedVisibilitySharedFolderOnly, + + /// The link merely points the user to the content, and does not grant any + /// additional rights. Existing members of the content who use this link can + /// only access the content with their pre-existing access rights. Either on + /// the file directly, or inherited from a parent folder. + DBSHARINGAlphaResolvedVisibilityNoOne, + + /// Only the current user can view this link. + DBSHARINGAlphaResolvedVisibilityOnlyYou, + + /// (no description). + DBSHARINGAlphaResolvedVisibilityOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGAlphaResolvedVisibilityTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "public". +/// +/// Description of the "public" tag state: Anyone who has received the link can +/// access it. No login required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPublic; + +/// +/// Initializes union class with tag state of "team_only". +/// +/// Description of the "team_only" tag state: Only members of the same team can +/// access the link. Login is required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamOnly; + +/// +/// Initializes union class with tag state of "password". +/// +/// Description of the "password" tag state: A link-specific password is +/// required to access the link. Login is not required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPassword; + +/// +/// Initializes union class with tag state of "team_and_password". +/// +/// Description of the "team_and_password" tag state: Only members of the same +/// team who have the link-specific password can access the link. Login is +/// required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamAndPassword; + +/// +/// Initializes union class with tag state of "shared_folder_only". +/// +/// Description of the "shared_folder_only" tag state: Only members of the +/// shared folder containing the linked file can access the link. Login is +/// required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderOnly; + +/// +/// Initializes union class with tag state of "no_one". +/// +/// Description of the "no_one" tag state: The link merely points the user to +/// the content, and does not grant any additional rights. Existing members of +/// the content who use this link can only access the content with their +/// pre-existing access rights. Either on the file directly, or inherited from a +/// parent folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoOne; + +/// +/// Initializes union class with tag state of "only_you". +/// +/// Description of the "only_you" tag state: Only the current user can view this +/// link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOnlyYou; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "public". +/// +/// @return Whether the union's current tag state has value "public". +/// +- (BOOL)isPublic; + +/// +/// Retrieves whether the union's current tag state has value "team_only". +/// +/// @return Whether the union's current tag state has value "team_only". +/// +- (BOOL)isTeamOnly; + +/// +/// Retrieves whether the union's current tag state has value "password". +/// +/// @return Whether the union's current tag state has value "password". +/// +- (BOOL)isPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_and_password". +/// +/// @return Whether the union's current tag state has value "team_and_password". +/// +- (BOOL)isTeamAndPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_only". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_only". +/// +- (BOOL)isSharedFolderOnly; + +/// +/// Retrieves whether the union's current tag state has value "no_one". +/// +/// @return Whether the union's current tag state has value "no_one". +/// +- (BOOL)isNoOne; + +/// +/// Retrieves whether the union's current tag state has value "only_you". +/// +/// @return Whether the union's current tag state has value "only_you". +/// +- (BOOL)isOnlyYou; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGAlphaResolvedVisibility` union. +/// +@interface DBSHARINGAlphaResolvedVisibilitySerializer : NSObject + +/// +/// Serializes `DBSHARINGAlphaResolvedVisibility` instances. +/// +/// @param instance An instance of the `DBSHARINGAlphaResolvedVisibility` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGAlphaResolvedVisibility` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGAlphaResolvedVisibility *)instance; + +/// +/// Deserializes `DBSHARINGAlphaResolvedVisibility` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGAlphaResolvedVisibility` API object. +/// +/// @return An instantiation of the `DBSHARINGAlphaResolvedVisibility` object. +/// ++ (DBSHARINGAlphaResolvedVisibility *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptionContentInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptionContentInfo.h index a8dcac9d6..d53cbd422 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptionContentInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptionContentInfo.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptionContentInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptionContentInfo *)instance; /// /// Deserializes `DBSHARINGAudienceExceptionContentInfo` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGAudienceExceptionContentInfo` /// object. /// -+ (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAudienceExceptionContentInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h index a73f04e51..38a395991 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceExceptions` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAudienceExceptions *)instance; /// /// Deserializes `DBSHARINGAudienceExceptions` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGAudienceExceptions` object. /// -+ (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAudienceExceptions *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceRestrictingSharedFolder.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceRestrictingSharedFolder.h index 040e9c856..98e6f5bd0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceRestrictingSharedFolder.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceRestrictingSharedFolder.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGAudienceRestrictingSharedFolder` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGAudienceRestrictingSharedFolder *)instance; /// /// Deserializes `DBSHARINGAudienceRestrictingSharedFolder` instances. @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGAudienceRestrictingSharedFolder` /// object. /// -+ (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGAudienceRestrictingSharedFolder *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGChangeFileMemberAccessArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGChangeFileMemberAccessArgs.h deleted file mode 100644 index 411c07d3c..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGChangeFileMemberAccessArgs.h +++ /dev/null @@ -1,91 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBSHARINGAccessLevel; -@class DBSHARINGChangeFileMemberAccessArgs; -@class DBSHARINGMemberSelector; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ChangeFileMemberAccessArgs` struct. -/// -/// Arguments for `changeFileMemberAccess`. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBSHARINGChangeFileMemberAccessArgs : NSObject - -#pragma mark - Instance fields - -/// File for which we are changing a member's access. -@property (nonatomic, readonly, copy) NSString *file; - -/// The member whose access we are changing. -@property (nonatomic, readonly) DBSHARINGMemberSelector *member; - -/// The new access level for the member. -@property (nonatomic, readonly) DBSHARINGAccessLevel *accessLevel; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param file File for which we are changing a member's access. -/// @param member The member whose access we are changing. -/// @param accessLevel The new access level for the member. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithFile:(NSString *)file - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ChangeFileMemberAccessArgs` struct. -/// -@interface DBSHARINGChangeFileMemberAccessArgsSerializer : NSObject - -/// -/// Serializes `DBSHARINGChangeFileMemberAccessArgs` instances. -/// -/// @param instance An instance of the `DBSHARINGChangeFileMemberAccessArgs` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBSHARINGChangeFileMemberAccessArgs` API object. -/// -+ (nullable NSDictionary *)serialize:(DBSHARINGChangeFileMemberAccessArgs *)instance; - -/// -/// Deserializes `DBSHARINGChangeFileMemberAccessArgs` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBSHARINGChangeFileMemberAccessArgs` API object. -/// -/// @return An instantiation of the `DBSHARINGChangeFileMemberAccessArgs` -/// object. -/// -+ (DBSHARINGChangeFileMemberAccessArgs *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCollectionLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCollectionLinkMetadata.h index 5d9ea6d15..b0ac963d5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCollectionLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCollectionLinkMetadata.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGCollectionLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGCollectionLinkMetadata *)instance; /// /// Deserializes `DBSHARINGCollectionLinkMetadata` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGCollectionLinkMetadata` object. /// -+ (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGCollectionLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkArg.h index e34ba7871..965a8908c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkArg.h @@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN /// The path to share. @property (nonatomic, readonly, copy) NSString *path; -/// Whether to return a shortened URL. +/// (no description). @property (nonatomic, readonly) NSNumber *shortUrl; /// If it's okay to share a path that does not yet exist, set this to either @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param path The path to share. -/// @param shortUrl Whether to return a shortened URL. +/// @param shortUrl (no description). /// @param pendingUpload If it's okay to share a path that does not yet exist, /// set this to either `file` in `DBSHARINGPendingUploadMode` or `folder` in /// `DBSHARINGPendingUploadMode` to indicate whether to assume it's a file or @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkArg *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkArg` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkArg` object. /// -+ (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGCreateSharedLinkArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkError.h index 930d99b35..f1ebc1ad2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGCreateSharedLinkErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGCreateSharedLinkError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkErrorTag) { - /// (no description). - DBSHARINGCreateSharedLinkErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGCreateSharedLinkErrorTag){ + /// (no description). + DBSHARINGCreateSharedLinkErrorPath, - /// (no description). - DBSHARINGCreateSharedLinkErrorOther, + /// (no description). + DBSHARINGCreateSharedLinkErrorOther, }; @@ -108,7 +108,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkError *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkError` instances. @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkErrorTag) { /// /// @return An instantiation of the `DBSHARINGCreateSharedLinkError` object. /// -+ (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGCreateSharedLinkError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsArg.h index 53fa1451a..16e7468f4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsArg.h @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsArg *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkWithSettingsArg` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGCreateSharedLinkWithSettingsArg` /// object. /// -+ (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGCreateSharedLinkWithSettingsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsError.h index 0b9e3fa71..ef2d134cf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGCreateSharedLinkWithSettingsError.h @@ -10,6 +10,7 @@ @class DBFILESLookupError; @class DBSHARINGCreateSharedLinkWithSettingsError; +@class DBSHARINGSharedLinkAlreadyExistsMetadata; @class DBSHARINGSharedLinkSettingsError; NS_ASSUME_NONNULL_BEGIN @@ -30,22 +31,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGCreateSharedLinkWithSettingsErrorTag` enum type represents the /// possible tag states with which the /// `DBSHARINGCreateSharedLinkWithSettingsError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { - /// (no description). - DBSHARINGCreateSharedLinkWithSettingsErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag){ + /// (no description). + DBSHARINGCreateSharedLinkWithSettingsErrorPath, - /// User's email should be verified. - DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified, + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGCreateSharedLinkWithSettingsErrorEmailNotVerified, - /// The shared link already exists. You can call `listSharedLinks` to get - /// the existing link. - DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists, + /// The shared link already exists. You can call `listSharedLinks` to get + /// the existing link, or use the provided metadata if it is returned. + DBSHARINGCreateSharedLinkWithSettingsErrorSharedLinkAlreadyExists, - /// There is an error with the given settings. - DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError, + /// There is an error with the given settings. + DBSHARINGCreateSharedLinkWithSettingsErrorSettingsError, - /// Access to the requested path is forbidden. - DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied, + /// The user is not allowed to create a shared link to the specified file. + /// For example, this can occur if the file is restricted or if the user's + /// links are banned + /// https://help.dropbox.com/files-folders/share/banned-links. + DBSHARINGCreateSharedLinkWithSettingsErrorAccessDenied, }; @@ -56,6 +62,12 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBFILESLookupError *path; +/// The shared link already exists. You can call `listSharedLinks` to get the +/// existing link, or use the provided metadata if it is returned. @note Ensure +/// the `isSharedLinkAlreadyExists` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, nullable) DBSHARINGSharedLinkAlreadyExistsMetadata *sharedLinkAlreadyExists; + /// There is an error with the given settings. @note Ensure the /// `isSettingsError` method returns true before accessing, otherwise a runtime /// exception will be raised. @@ -75,8 +87,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// /// Initializes union class with tag state of "email_not_verified". /// -/// Description of the "email_not_verified" tag state: User's email should be -/// verified. +/// Description of the "email_not_verified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -86,11 +100,17 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// Initializes union class with tag state of "shared_link_already_exists". /// /// Description of the "shared_link_already_exists" tag state: The shared link -/// already exists. You can call `listSharedLinks` to get the existing link. +/// already exists. You can call `listSharedLinks` to get the existing link, or +/// use the provided metadata if it is returned. +/// +/// @param sharedLinkAlreadyExists The shared link already exists. You can call +/// `listSharedLinks` to get the existing link, or use the provided metadata if +/// it is returned. /// /// @return An initialized instance. /// -- (instancetype)initWithSharedLinkAlreadyExists; +- (instancetype)initWithSharedLinkAlreadyExists: + (nullable DBSHARINGSharedLinkAlreadyExistsMetadata *)sharedLinkAlreadyExists; /// /// Initializes union class with tag state of "settings_error". @@ -107,8 +127,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// /// Initializes union class with tag state of "access_denied". /// -/// Description of the "access_denied" tag state: Access to the requested path -/// is forbidden. +/// Description of the "access_denied" tag state: The user is not allowed to +/// create a shared link to the specified file. For example, this can occur if +/// the file is restricted or if the user's links are banned +/// https://help.dropbox.com/files-folders/share/banned-links. /// /// @return An initialized instance. /// @@ -141,6 +163,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// Retrieves whether the union's current tag state has value /// "shared_link_already_exists". /// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkAlreadyExists` property, otherwise a runtime exception will be +/// thrown. +/// /// @return Whether the union's current tag state has value /// "shared_link_already_exists". /// @@ -189,7 +215,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGCreateSharedLinkWithSettingsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGCreateSharedLinkWithSettingsError *)instance; /// /// Deserializes `DBSHARINGCreateSharedLinkWithSettingsError` instances. @@ -200,7 +226,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGCreateSharedLinkWithSettingsErrorTag) { /// @return An instantiation of the `DBSHARINGCreateSharedLinkWithSettingsError` /// object. /// -+ (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGCreateSharedLinkWithSettingsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGExpectedSharedContentLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGExpectedSharedContentLinkMetadata.h index febf87060..79428ef00 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGExpectedSharedContentLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGExpectedSharedContentLinkMetadata.h @@ -105,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGExpectedSharedContentLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGExpectedSharedContentLinkMetadata *)instance; /// /// Deserializes `DBSHARINGExpectedSharedContentLinkMetadata` instances. @@ -116,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGExpectedSharedContentLinkMetadata` /// object. /// -+ (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGExpectedSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileAction.h index 1b6b6de13..5ed77647d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileAction.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileAction.h @@ -29,36 +29,46 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFileActionTag` enum type represents the possible tag states /// with which the `DBSHARINGFileAction` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { - /// Disable viewer information on the file. - DBSHARINGFileActionDisableViewerInfo, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileActionTag){ + /// Disable viewer information on the file. + DBSHARINGFileActionDisableViewerInfo, - /// Change or edit contents of the file. - DBSHARINGFileActionEditContents, + /// Change or edit contents of the file. + DBSHARINGFileActionEditContents, - /// Enable viewer information on the file. - DBSHARINGFileActionEnableViewerInfo, + /// Enable viewer information on the file. + DBSHARINGFileActionEnableViewerInfo, - /// Add a member with view permissions. - DBSHARINGFileActionInviteViewer, + /// Add a member with view permissions. + DBSHARINGFileActionInviteViewer, - /// Add a member with view permissions but no comment permissions. - DBSHARINGFileActionInviteViewerNoComment, + /// Add a member with view permissions but no comment permissions. + DBSHARINGFileActionInviteViewerNoComment, - /// Stop sharing this file. - DBSHARINGFileActionUnshare, + /// Add a member with edit permissions. + DBSHARINGFileActionInviteEditor, - /// Relinquish one's own membership to the file. - DBSHARINGFileActionRelinquishMembership, + /// Stop sharing this file. + DBSHARINGFileActionUnshare, - /// Use create_link instead. - DBSHARINGFileActionShareLink, + /// Relinquish one's own membership to the file. + DBSHARINGFileActionRelinquishMembership, - /// Create a shared link to the file. - DBSHARINGFileActionCreateLink, + /// Use create_view_link and create_edit_link instead. + DBSHARINGFileActionShareLink, - /// (no description). - DBSHARINGFileActionOther, + /// Use create_view_link and create_edit_link instead. + DBSHARINGFileActionCreateLink, + + /// Create a shared link to a file that only allows users to view the + /// content. + DBSHARINGFileActionCreateViewLink, + + /// Create a shared link to a file that allows users to edit the content. + DBSHARINGFileActionCreateEditLink, + + /// (no description). + DBSHARINGFileActionOther, }; @@ -117,6 +127,16 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// - (instancetype)initWithInviteViewerNoComment; +/// +/// Initializes union class with tag state of "invite_editor". +/// +/// Description of the "invite_editor" tag state: Add a member with edit +/// permissions. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteEditor; + /// /// Initializes union class with tag state of "unshare". /// @@ -139,7 +159,8 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// /// Initializes union class with tag state of "share_link". /// -/// Description of the "share_link" tag state: Use create_link instead. +/// Description of the "share_link" tag state: Use create_view_link and +/// create_edit_link instead. /// /// @return An initialized instance. /// @@ -148,13 +169,33 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// /// Initializes union class with tag state of "create_link". /// -/// Description of the "create_link" tag state: Create a shared link to the -/// file. +/// Description of the "create_link" tag state: Use create_view_link and +/// create_edit_link instead. /// /// @return An initialized instance. /// - (instancetype)initWithCreateLink; +/// +/// Initializes union class with tag state of "create_view_link". +/// +/// Description of the "create_view_link" tag state: Create a shared link to a +/// file that only allows users to view the content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateViewLink; + +/// +/// Initializes union class with tag state of "create_edit_link". +/// +/// Description of the "create_edit_link" tag state: Create a shared link to a +/// file that allows users to edit the content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateEditLink; + /// /// Initializes union class with tag state of "other". /// @@ -207,6 +248,13 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// - (BOOL)isInviteViewerNoComment; +/// +/// Retrieves whether the union's current tag state has value "invite_editor". +/// +/// @return Whether the union's current tag state has value "invite_editor". +/// +- (BOOL)isInviteEditor; + /// /// Retrieves whether the union's current tag state has value "unshare". /// @@ -237,6 +285,22 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// - (BOOL)isCreateLink; +/// +/// Retrieves whether the union's current tag state has value +/// "create_view_link". +/// +/// @return Whether the union's current tag state has value "create_view_link". +/// +- (BOOL)isCreateViewLink; + +/// +/// Retrieves whether the union's current tag state has value +/// "create_edit_link". +/// +/// @return Whether the union's current tag state has value "create_edit_link". +/// +- (BOOL)isCreateEditLink; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -268,7 +332,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileAction` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileAction *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileAction *)instance; /// /// Deserializes `DBSHARINGFileAction` instances. @@ -278,7 +342,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileActionTag) { /// /// @return An instantiation of the `DBSHARINGFileAction` object. /// -+ (DBSHARINGFileAction *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileAction *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileErrorResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileErrorResult.h index 8fd5c0ca3..a307bad41 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileErrorResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileErrorResult.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFileErrorResultTag` enum type represents the possible tag /// states with which the `DBSHARINGFileErrorResult` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFileErrorResultTag) { - /// File specified by id was not found. - DBSHARINGFileErrorResultFileNotFoundError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileErrorResultTag){ + /// File specified by id was not found. + DBSHARINGFileErrorResultFileNotFoundError, - /// User does not have permission to take the specified action on the file. - DBSHARINGFileErrorResultInvalidFileActionError, + /// User does not have permission to take the specified action on the file. + DBSHARINGFileErrorResultInvalidFileActionError, - /// User does not have permission to access file specified by file.Id. - DBSHARINGFileErrorResultPermissionDeniedError, + /// User does not have permission to access file specified by file.Id. + DBSHARINGFileErrorResultPermissionDeniedError, - /// (no description). - DBSHARINGFileErrorResultOther, + /// (no description). + DBSHARINGFileErrorResultOther, }; @@ -180,7 +180,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileErrorResultTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileErrorResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileErrorResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileErrorResult *)instance; /// /// Deserializes `DBSHARINGFileErrorResult` instances. @@ -190,7 +190,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileErrorResultTag) { /// /// @return An instantiation of the `DBSHARINGFileErrorResult` object. /// -+ (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileErrorResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileLinkMetadata.h index dafead58e..cb0eaa01b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileLinkMetadata.h @@ -140,7 +140,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileLinkMetadata *)instance; /// /// Deserializes `DBSHARINGFileLinkMetadata` instances. @@ -150,7 +150,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFileLinkMetadata` object. /// -+ (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionError.h index 93383473e..061074feb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionError.h @@ -29,23 +29,23 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFileMemberActionErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGFileMemberActionError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionErrorTag) { - /// Specified member was not found. - DBSHARINGFileMemberActionErrorInvalidMember, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileMemberActionErrorTag){ + /// Specified member was not found. + DBSHARINGFileMemberActionErrorInvalidMember, - /// User does not have permission to perform this action on this member. - DBSHARINGFileMemberActionErrorNoPermission, + /// User does not have permission to perform this action on this member. + DBSHARINGFileMemberActionErrorNoPermission, - /// Specified file was invalid or user does not have access. - DBSHARINGFileMemberActionErrorAccessError, + /// Specified file was invalid or user does not have access. + DBSHARINGFileMemberActionErrorAccessError, - /// The action cannot be completed because the target member does not have - /// explicit access to the file. The return value is the access that the - /// member has to the file from a parent folder. - DBSHARINGFileMemberActionErrorNoExplicitAccess, + /// The action cannot be completed because the target member does not have + /// explicit access to the file. The return value is the access that the + /// member has to the file from a parent folder. + DBSHARINGFileMemberActionErrorNoExplicitAccess, - /// (no description). - DBSHARINGFileMemberActionErrorOther, + /// (no description). + DBSHARINGFileMemberActionErrorOther, }; @@ -193,7 +193,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionError *)instance; /// /// Deserializes `DBSHARINGFileMemberActionError` instances. @@ -203,7 +203,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionErrorTag) { /// /// @return An instantiation of the `DBSHARINGFileMemberActionError` object. /// -+ (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileMemberActionError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionIndividualResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionIndividualResult.h index ece41ae70..59b870c90 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionIndividualResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionIndividualResult.h @@ -30,23 +30,29 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFileMemberActionIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGFileMemberActionIndividualResult` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionIndividualResultTag) { - /// Member was successfully removed from this file. If AccessLevel is given, - /// the member still has access via a parent shared folder. - DBSHARINGFileMemberActionIndividualResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileMemberActionIndividualResultTag){ + /// Part of the response for both add_file_member and remove_file_member_v1 + /// (deprecated). For add_file_member, indicates giving access was + /// successful and at what AccessLevel. For remove_file_member_v1, indicates + /// member was successfully removed from the file. If AccessLevel is given, + /// the member still has access via a parent shared folder. + DBSHARINGFileMemberActionIndividualResultSuccess, - /// User was not able to perform this action. - DBSHARINGFileMemberActionIndividualResultMemberError, + /// User was not able to perform this action. + DBSHARINGFileMemberActionIndividualResultMemberError, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGFileMemberActionIndividualResultTag tag; -/// Member was successfully removed from this file. If AccessLevel is given, the -/// member still has access via a parent shared folder. @note Ensure the -/// `isSuccess` method returns true before accessing, otherwise a runtime -/// exception will be raised. +/// Part of the response for both add_file_member and remove_file_member_v1 +/// (deprecated). For add_file_member, indicates giving access was successful +/// and at what AccessLevel. For remove_file_member_v1, indicates member was +/// successfully removed from the file. If AccessLevel is given, the member +/// still has access via a parent shared folder. @note Ensure the `isSuccess` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. @property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *success; /// User was not able to perform this action. @note Ensure the `isMemberError` @@ -59,13 +65,18 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionIndividualResultTag) { /// /// Initializes union class with tag state of "success". /// -/// Description of the "success" tag state: Member was successfully removed from -/// this file. If AccessLevel is given, the member still has access via a parent +/// Description of the "success" tag state: Part of the response for both +/// add_file_member and remove_file_member_v1 (deprecated). For add_file_member, +/// indicates giving access was successful and at what AccessLevel. For +/// remove_file_member_v1, indicates member was successfully removed from the +/// file. If AccessLevel is given, the member still has access via a parent /// shared folder. /// -/// @param success Member was successfully removed from this file. If -/// AccessLevel is given, the member still has access via a parent shared -/// folder. +/// @param success Part of the response for both add_file_member and +/// remove_file_member_v1 (deprecated). For add_file_member, indicates giving +/// access was successful and at what AccessLevel. For remove_file_member_v1, +/// indicates member was successfully removed from the file. If AccessLevel is +/// given, the member still has access via a parent shared folder. /// /// @return An initialized instance. /// @@ -133,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionIndividualResultTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionIndividualResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionIndividualResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionIndividualResult *)instance; /// /// Deserializes `DBSHARINGFileMemberActionIndividualResult` instances. @@ -144,7 +155,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberActionIndividualResultTag) { /// @return An instantiation of the `DBSHARINGFileMemberActionIndividualResult` /// object. /// -+ (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileMemberActionIndividualResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionResult.h index fe8af1d8a..578d30f98 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberActionResult.h @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileMemberActionResult` struct. /// -/// Per-member result for `addFileMember` or `changeFileMemberAccess`. +/// Per-member result for `addFileMember`. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -35,6 +35,14 @@ NS_ASSUME_NONNULL_BEGIN /// The outcome of the action on this member. @property (nonatomic, readonly) DBSHARINGFileMemberActionIndividualResult *result; +/// The SHA-1 encrypted shared content key. +@property (nonatomic, readonly, copy, nullable) NSString *sckeySha1; + +/// The sharing sender-recipient invitation signatures for the input member_id. +/// A member_id can be a group and thus have multiple users and multiple +/// invitation signatures. +@property (nonatomic, readonly, nullable) NSArray *invitationSignature; + #pragma mark - Constructors /// @@ -42,6 +50,24 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param member One of specified input members. /// @param result The outcome of the action on this member. +/// @param sckeySha1 The SHA-1 encrypted shared content key. +/// @param invitationSignature The sharing sender-recipient invitation +/// signatures for the input member_id. A member_id can be a group and thus have +/// multiple users and multiple invitation signatures. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMember:(DBSHARINGMemberSelector *)member + result:(DBSHARINGFileMemberActionIndividualResult *)result + sckeySha1:(nullable NSString *)sckeySha1 + invitationSignature:(nullable NSArray *)invitationSignature; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param member One of specified input members. +/// @param result The outcome of the action on this member. /// /// @return An initialized instance. /// @@ -68,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberActionResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberActionResult *)instance; /// /// Deserializes `DBSHARINGFileMemberActionResult` instances. @@ -78,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFileMemberActionResult` object. /// -+ (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileMemberActionResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberRemoveActionResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberRemoveActionResult.h index c41a94750..e3bc001bc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberRemoveActionResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFileMemberRemoveActionResult.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFileMemberRemoveActionResultTag` enum type represents the /// possible tag states with which the `DBSHARINGFileMemberRemoveActionResult` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFileMemberRemoveActionResultTag) { - /// Member was successfully removed from this file. - DBSHARINGFileMemberRemoveActionResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFileMemberRemoveActionResultTag){ + /// Member was successfully removed from this file. + DBSHARINGFileMemberRemoveActionResultSuccess, - /// User was not able to remove this member. - DBSHARINGFileMemberRemoveActionResultMemberError, + /// User was not able to remove this member. + DBSHARINGFileMemberRemoveActionResultMemberError, - /// (no description). - DBSHARINGFileMemberRemoveActionResultOther, + /// (no description). + DBSHARINGFileMemberRemoveActionResultOther, }; @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberRemoveActionResultTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFileMemberRemoveActionResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFileMemberRemoveActionResult *)instance; /// /// Deserializes `DBSHARINGFileMemberRemoveActionResult` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFileMemberRemoveActionResultTag) { /// @return An instantiation of the `DBSHARINGFileMemberRemoveActionResult` /// object. /// -+ (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFileMemberRemoveActionResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFilePermission.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFilePermission.h index 56c8a8a64..4eec58dd8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFilePermission.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFilePermission.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFilePermission` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFilePermission *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFilePermission *)instance; /// /// Deserializes `DBSHARINGFilePermission` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFilePermission` object. /// -+ (DBSHARINGFilePermission *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFilePermission *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderAction.h index 88a82d5ce..583cb2a83 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderAction.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderAction.h @@ -29,51 +29,54 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGFolderActionTag` enum type represents the possible tag states /// with which the `DBSHARINGFolderAction` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGFolderActionTag) { - /// Change folder options, such as who can be invited to join the folder. - DBSHARINGFolderActionChangeOptions, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGFolderActionTag){ + /// Change folder options, such as who can be invited to join the folder. + DBSHARINGFolderActionChangeOptions, - /// Disable viewer information for this folder. - DBSHARINGFolderActionDisableViewerInfo, + /// Disable viewer information for this folder. + DBSHARINGFolderActionDisableViewerInfo, - /// Change or edit contents of the folder. - DBSHARINGFolderActionEditContents, + /// Change or edit contents of the folder. + DBSHARINGFolderActionEditContents, - /// Enable viewer information on the folder. - DBSHARINGFolderActionEnableViewerInfo, + /// Enable viewer information on the folder. + DBSHARINGFolderActionEnableViewerInfo, - /// Invite a user or group to join the folder with read and write - /// permission. - DBSHARINGFolderActionInviteEditor, + /// Invite a user or group to join the folder with read and write + /// permission. + DBSHARINGFolderActionInviteEditor, - /// Invite a user or group to join the folder with read permission. - DBSHARINGFolderActionInviteViewer, + /// Invite a user or group to join the folder with read permission. + DBSHARINGFolderActionInviteViewer, - /// Invite a user or group to join the folder with read permission but no - /// comment permissions. - DBSHARINGFolderActionInviteViewerNoComment, + /// Invite a user or group to join the folder with read permission but no + /// comment permissions. + DBSHARINGFolderActionInviteViewerNoComment, - /// Relinquish one's own membership in the folder. - DBSHARINGFolderActionRelinquishMembership, + /// Relinquish one's own membership in the folder. + DBSHARINGFolderActionRelinquishMembership, - /// Unmount the folder. - DBSHARINGFolderActionUnmount, + /// Unmount the folder. + DBSHARINGFolderActionUnmount, - /// Stop sharing this folder. - DBSHARINGFolderActionUnshare, + /// Stop sharing this folder. + DBSHARINGFolderActionUnshare, - /// Keep a copy of the contents upon leaving or being kicked from the - /// folder. - DBSHARINGFolderActionLeaveACopy, + /// Keep a copy of the contents upon leaving or being kicked from the + /// folder. + DBSHARINGFolderActionLeaveACopy, - /// Use create_link instead. - DBSHARINGFolderActionShareLink, + /// Use create_link instead. + DBSHARINGFolderActionShareLink, - /// Create a shared link for folder. - DBSHARINGFolderActionCreateLink, + /// Create a shared link for folder. + DBSHARINGFolderActionCreateLink, - /// (no description). - DBSHARINGFolderActionOther, + /// Set whether the folder inherits permissions from its parent. + DBSHARINGFolderActionSetAccessInheritance, + + /// (no description). + DBSHARINGFolderActionOther, }; @@ -208,6 +211,16 @@ typedef NS_ENUM(NSInteger, DBSHARINGFolderActionTag) { /// - (instancetype)initWithCreateLink; +/// +/// Initializes union class with tag state of "set_access_inheritance". +/// +/// Description of the "set_access_inheritance" tag state: Set whether the +/// folder inherits permissions from its parent. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSetAccessInheritance; + /// /// Initializes union class with tag state of "other". /// @@ -318,6 +331,15 @@ typedef NS_ENUM(NSInteger, DBSHARINGFolderActionTag) { /// - (BOOL)isCreateLink; +/// +/// Retrieves whether the union's current tag state has value +/// "set_access_inheritance". +/// +/// @return Whether the union's current tag state has value +/// "set_access_inheritance". +/// +- (BOOL)isSetAccessInheritance; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -349,7 +371,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFolderActionTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderAction` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFolderAction *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFolderAction *)instance; /// /// Deserializes `DBSHARINGFolderAction` instances. @@ -359,7 +381,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGFolderActionTag) { /// /// @return An instantiation of the `DBSHARINGFolderAction` object. /// -+ (DBSHARINGFolderAction *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFolderAction *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderLinkMetadata.h index 1b7f9c4b9..063e48dc5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderLinkMetadata.h @@ -94,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFolderLinkMetadata *)instance; /// /// Deserializes `DBSHARINGFolderLinkMetadata` instances. @@ -104,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFolderLinkMetadata` object. /// -+ (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFolderLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPermission.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPermission.h index 9e471ab3e..d4e831829 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPermission.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPermission.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderPermission` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFolderPermission *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFolderPermission *)instance; /// /// Deserializes `DBSHARINGFolderPermission` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFolderPermission` object. /// -+ (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFolderPermission *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPolicy.h index ea2fc6c6e..6a82ff1a1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGFolderPolicy.h @@ -111,7 +111,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGFolderPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGFolderPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGFolderPolicy *)instance; /// /// Deserializes `DBSHARINGFolderPolicy` instances. @@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGFolderPolicy` object. /// -+ (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGFolderPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataArg.h index 1e2349757..3f841b949 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataArg.h @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataArg *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataArg` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetFileMetadataArg` object. /// -+ (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetFileMetadataArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchArg.h index 98456735b..179c68dcb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchArg.h @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchArg *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataBatchArg` instances. @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetFileMetadataBatchArg` object. /// -+ (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetFileMetadataBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchResult.h index ba4057274..4792ce474 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataBatchResult.h @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataBatchResult *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataBatchResult` instances. @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGGetFileMetadataBatchResult` /// object. /// -+ (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetFileMetadataBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataError.h index 7042a4502..778da4fd7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataError.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGGetFileMetadataErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGGetFileMetadataError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataErrorTag) { - /// (no description). - DBSHARINGGetFileMetadataErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetFileMetadataErrorTag){ + /// (no description). + DBSHARINGGetFileMetadataErrorUserError, - /// (no description). - DBSHARINGGetFileMetadataErrorAccessError, + /// (no description). + DBSHARINGGetFileMetadataErrorAccessError, - /// (no description). - DBSHARINGGetFileMetadataErrorOther, + /// (no description). + DBSHARINGGetFileMetadataErrorOther, }; @@ -137,7 +137,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataError *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataError` instances. @@ -147,7 +147,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataErrorTag) { /// /// @return An instantiation of the `DBSHARINGGetFileMetadataError` object. /// -+ (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetFileMetadataError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataIndividualResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataIndividualResult.h index 262bd7f4a..bee031621 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataIndividualResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetFileMetadataIndividualResult.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGGetFileMetadataIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGGetFileMetadataIndividualResult` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataIndividualResultTag) { - /// The result for this file if it was successful. - DBSHARINGGetFileMetadataIndividualResultMetadata, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetFileMetadataIndividualResultTag){ + /// The result for this file if it was successful. + DBSHARINGGetFileMetadataIndividualResultMetadata, - /// The result for this file if it was an error. - DBSHARINGGetFileMetadataIndividualResultAccessError, + /// The result for this file if it was an error. + DBSHARINGGetFileMetadataIndividualResultAccessError, - /// (no description). - DBSHARINGGetFileMetadataIndividualResultOther, + /// (no description). + DBSHARINGGetFileMetadataIndividualResultOther, }; @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataIndividualResultTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetFileMetadataIndividualResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetFileMetadataIndividualResult *)instance; /// /// Deserializes `DBSHARINGGetFileMetadataIndividualResult` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetFileMetadataIndividualResultTag) { /// @return An instantiation of the `DBSHARINGGetFileMetadataIndividualResult` /// object. /// -+ (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetFileMetadataIndividualResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetMetadataArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetMetadataArgs.h index 81001144b..88ba1e387 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetMetadataArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetMetadataArgs.h @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetMetadataArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetMetadataArgs *)instance; /// /// Deserializes `DBSHARINGGetMetadataArgs` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetMetadataArgs` object. /// -+ (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetMetadataArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkFileError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkFileError.h index 701d6b2f6..838a2c223 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkFileError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkFileError.h @@ -27,21 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGGetSharedLinkFileErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGGetSharedLinkFileError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag) { - /// The shared link wasn't found. - DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag){ + /// The shared link wasn't found. + DBSHARINGGetSharedLinkFileErrorSharedLinkNotFound, - /// The caller is not allowed to access this shared link. - DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied, + /// The caller is not allowed to access this shared link. + DBSHARINGGetSharedLinkFileErrorSharedLinkAccessDenied, - /// This type of link is not supported. - DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType, + /// This type of link is not supported; use `files` instead. + DBSHARINGGetSharedLinkFileErrorUnsupportedLinkType, - /// (no description). - DBSHARINGGetSharedLinkFileErrorOther, + /// (no description). + DBSHARINGGetSharedLinkFileErrorOther, - /// Directories cannot be retrieved by this endpoint. - DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory, + /// Directories cannot be retrieved by this endpoint. + DBSHARINGGetSharedLinkFileErrorSharedLinkIsDirectory, }; @@ -74,7 +74,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag) { /// Initializes union class with tag state of "unsupported_link_type". /// /// Description of the "unsupported_link_type" tag state: This type of link is -/// not supported. +/// not supported; use `files` instead. /// /// @return An initialized instance. /// @@ -169,7 +169,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkFileError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkFileError *)instance; /// /// Deserializes `DBSHARINGGetSharedLinkFileError` instances. @@ -179,7 +179,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinkFileErrorTag) { /// /// @return An instantiation of the `DBSHARINGGetSharedLinkFileError` object. /// -+ (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetSharedLinkFileError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkMetadataArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkMetadataArg.h index 2ddb8943d..3a762dc84 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkMetadataArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinkMetadataArg.h @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinkMetadataArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinkMetadataArg *)instance; /// /// Deserializes `DBSHARINGGetSharedLinkMetadataArg` instances. @@ -94,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetSharedLinkMetadataArg` object. /// -+ (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetSharedLinkMetadataArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksArg.h index 3f7190e56..651112f12 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksArg.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksArg *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksArg` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetSharedLinksArg` object. /// -+ (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetSharedLinksArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksError.h index 042ee7b32..995d295cb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGGetSharedLinksErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGGetSharedLinksError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinksErrorTag) { - /// (no description). - DBSHARINGGetSharedLinksErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGGetSharedLinksErrorTag){ + /// (no description). + DBSHARINGGetSharedLinksErrorPath, - /// (no description). - DBSHARINGGetSharedLinksErrorOther, + /// (no description). + DBSHARINGGetSharedLinksErrorOther, }; @@ -107,7 +107,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinksErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksError *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksError` instances. @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGGetSharedLinksErrorTag) { /// /// @return An instantiation of the `DBSHARINGGetSharedLinksError` object. /// -+ (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetSharedLinksError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksResult.h index 5f954dd19..01bec8432 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGetSharedLinksResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGetSharedLinksResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGetSharedLinksResult *)instance; /// /// Deserializes `DBSHARINGGetSharedLinksResult` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGetSharedLinksResult` object. /// -+ (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGetSharedLinksResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupInfo.h index 890ff02b9..a439d0a5e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupInfo.h @@ -110,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGroupInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGroupInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGroupInfo *)instance; /// /// Deserializes `DBSHARINGGroupInfo` instances. @@ -120,7 +120,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGroupInfo` object. /// -+ (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGroupInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupMembershipInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupMembershipInfo.h index 3580c6bc1..c9ff72ef3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupMembershipInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGGroupMembershipInfo.h @@ -39,11 +39,12 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param group The information about the membership group. /// @param permissions The permissions that requesting user has on this member. /// The set of permissions corresponds to the MemberActions in the request. -/// @param initials Suggested name initials for a member. +/// @param initials Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. @@ -58,7 +59,8 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param group The information about the membership group. /// /// @return An initialized instance. @@ -83,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGGroupMembershipInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGGroupMembershipInfo *)instance; /// /// Deserializes `DBSHARINGGroupMembershipInfo` instances. @@ -93,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGGroupMembershipInfo` object. /// -+ (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGGroupMembershipInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientPlan.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientPlan.h index 169d4159b..b2b03eec0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientPlan.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientPlan.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGInsufficientPlan` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGInsufficientPlan *)instance; /// /// Deserializes `DBSHARINGInsufficientPlan` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGInsufficientPlan` object. /// -+ (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGInsufficientPlan *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientQuotaAmounts.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientQuotaAmounts.h index b7e0944e6..73e390d54 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientQuotaAmounts.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInsufficientQuotaAmounts.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGInsufficientQuotaAmounts` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGInsufficientQuotaAmounts *)instance; /// /// Deserializes `DBSHARINGInsufficientQuotaAmounts` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGInsufficientQuotaAmounts` object. /// -+ (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGInsufficientQuotaAmounts *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeInfo.h index 9ed3b5f6c..e956374d5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeInfo.h @@ -29,19 +29,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGInviteeInfoTag` enum type represents the possible tag states /// with which the `DBSHARINGInviteeInfo` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGInviteeInfoTag) { - /// E-mail address of invited user. - DBSHARINGInviteeInfoEmail, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGInviteeInfoTag){ + /// Email address of invited user. + DBSHARINGInviteeInfoEmail, - /// (no description). - DBSHARINGInviteeInfoOther, + /// (no description). + DBSHARINGInviteeInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBSHARINGInviteeInfoTag tag; -/// E-mail address of invited user. @note Ensure the `isEmail` method returns +/// Email address of invited user. @note Ensure the `isEmail` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *email; @@ -50,9 +50,9 @@ typedef NS_ENUM(NSInteger, DBSHARINGInviteeInfoTag) { /// /// Initializes union class with tag state of "email". /// -/// Description of the "email" tag state: E-mail address of invited user. +/// Description of the "email" tag state: Email address of invited user. /// -/// @param email E-mail address of invited user. +/// @param email Email address of invited user. /// /// @return An initialized instance. /// @@ -110,7 +110,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGInviteeInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGInviteeInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGInviteeInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGInviteeInfo *)instance; /// /// Deserializes `DBSHARINGInviteeInfo` instances. @@ -120,7 +120,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGInviteeInfoTag) { /// /// @return An instantiation of the `DBSHARINGInviteeInfo` object. /// -+ (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGInviteeInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeMembershipInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeMembershipInfo.h index 00430d87f..9735a916c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeMembershipInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGInviteeMembershipInfo.h @@ -43,11 +43,12 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param invitee Recipient of the invitation. /// @param permissions The permissions that requesting user has on this member. /// The set of permissions corresponds to the MemberActions in the request. -/// @param initials Suggested name initials for a member. +/// @param initials Never set. /// @param isInherited True if the member has access from a parent folder. /// @param user The user this invitation is tied to, if available. /// @@ -64,7 +65,8 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param invitee Recipient of the invitation. /// /// @return An initialized instance. @@ -89,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGInviteeMembershipInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGInviteeMembershipInfo *)instance; /// /// Deserializes `DBSHARINGInviteeMembershipInfo` instances. @@ -99,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGInviteeMembershipInfo` object. /// -+ (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGInviteeMembershipInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobError.h index 70c9d4907..f8fa92182 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobError.h @@ -33,18 +33,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGJobErrorTag` enum type represents the possible tag states with /// which the `DBSHARINGJobError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGJobErrorTag) { - /// Error occurred while performing `unshareFolder` action. - DBSHARINGJobErrorUnshareFolderError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGJobErrorTag){ + /// Error occurred while performing `unshareFolder` action. + DBSHARINGJobErrorUnshareFolderError, - /// Error occurred while performing `removeFolderMember` action. - DBSHARINGJobErrorRemoveFolderMemberError, + /// Error occurred while performing `removeFolderMember` action. + DBSHARINGJobErrorRemoveFolderMemberError, - /// Error occurred while performing `relinquishFolderMembership` action. - DBSHARINGJobErrorRelinquishFolderMembershipError, + /// Error occurred while performing `relinquishFolderMembership` action. + DBSHARINGJobErrorRelinquishFolderMembershipError, - /// (no description). - DBSHARINGJobErrorOther, + /// (no description). + DBSHARINGJobErrorOther, }; @@ -189,7 +189,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGJobErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGJobError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGJobError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGJobError *)instance; /// /// Deserializes `DBSHARINGJobError` instances. @@ -199,7 +199,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGJobErrorTag) { /// /// @return An instantiation of the `DBSHARINGJobError` object. /// -+ (DBSHARINGJobError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGJobError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobStatus.h index 8dc44f9f9..7da237843 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGJobStatus.h @@ -28,15 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGJobStatusTag` enum type represents the possible tag states /// with which the `DBSHARINGJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGJobStatusTag) { - /// The asynchronous job is still in progress. - DBSHARINGJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGJobStatusTag){ + /// The asynchronous job is still in progress. + DBSHARINGJobStatusInProgress, - /// The asynchronous job has finished. - DBSHARINGJobStatusComplete, + /// The asynchronous job has finished. + DBSHARINGJobStatusComplete, - /// The asynchronous job returned an error. - DBSHARINGJobStatusFailed, + /// The asynchronous job returned an error. + DBSHARINGJobStatusFailed, }; @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGJobStatus *)instance; /// /// Deserializes `DBSHARINGJobStatus` instances. @@ -142,7 +142,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGJobStatusTag) { /// /// @return An instantiation of the `DBSHARINGJobStatus` object. /// -+ (DBSHARINGJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAccessLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAccessLevel.h new file mode 100644 index 000000000..c21194196 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAccessLevel.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGLinkAccessLevel; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LinkAccessLevel` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGLinkAccessLevel : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGLinkAccessLevelTag` enum type represents the possible tag +/// states with which the `DBSHARINGLinkAccessLevel` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkAccessLevelTag){ + /// Users who use the link can view and comment on the content. + DBSHARINGLinkAccessLevelViewer, + + /// Users who use the link can edit, view and comment on the content. + DBSHARINGLinkAccessLevelEditor, + + /// (no description). + DBSHARINGLinkAccessLevelOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGLinkAccessLevelTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "viewer". +/// +/// Description of the "viewer" tag state: Users who use the link can view and +/// comment on the content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithViewer; + +/// +/// Initializes union class with tag state of "editor". +/// +/// Description of the "editor" tag state: Users who use the link can edit, view +/// and comment on the content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEditor; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "viewer". +/// +/// @return Whether the union's current tag state has value "viewer". +/// +- (BOOL)isViewer; + +/// +/// Retrieves whether the union's current tag state has value "editor". +/// +/// @return Whether the union's current tag state has value "editor". +/// +- (BOOL)isEditor; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGLinkAccessLevel` union. +/// +@interface DBSHARINGLinkAccessLevelSerializer : NSObject + +/// +/// Serializes `DBSHARINGLinkAccessLevel` instances. +/// +/// @param instance An instance of the `DBSHARINGLinkAccessLevel` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGLinkAccessLevel` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkAccessLevel *)instance; + +/// +/// Deserializes `DBSHARINGLinkAccessLevel` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGLinkAccessLevel` API object. +/// +/// @return An instantiation of the `DBSHARINGLinkAccessLevel` object. +/// ++ (DBSHARINGLinkAccessLevel *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAction.h index 1304969b6..0d45506b7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAction.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAction.h @@ -29,27 +29,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGLinkActionTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkAction` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGLinkActionTag) { - /// Change the access level of the link. - DBSHARINGLinkActionChangeAccessLevel, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkActionTag){ + /// Change the access level of the link. + DBSHARINGLinkActionChangeAccessLevel, - /// Change the audience of the link. - DBSHARINGLinkActionChangeAudience, + /// Change the audience of the link. + DBSHARINGLinkActionChangeAudience, - /// Remove the expiry date of the link. - DBSHARINGLinkActionRemoveExpiry, + /// Remove the expiry date of the link. + DBSHARINGLinkActionRemoveExpiry, - /// Remove the password of the link. - DBSHARINGLinkActionRemovePassword, + /// Remove the password of the link. + DBSHARINGLinkActionRemovePassword, - /// Create or modify the expiry date of the link. - DBSHARINGLinkActionSetExpiry, + /// Create or modify the expiry date of the link. + DBSHARINGLinkActionSetExpiry, - /// Create or modify the password of the link. - DBSHARINGLinkActionSetPassword, + /// Create or modify the password of the link. + DBSHARINGLinkActionSetPassword, - /// (no description). - DBSHARINGLinkActionOther, + /// (no description). + DBSHARINGLinkActionOther, }; @@ -204,7 +204,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkActionTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkAction` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkAction *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkAction *)instance; /// /// Deserializes `DBSHARINGLinkAction` instances. @@ -214,7 +214,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkActionTag) { /// /// @return An instantiation of the `DBSHARINGLinkAction` object. /// -+ (DBSHARINGLinkAction *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkAction *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudience.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudience.h index afdd28307..eb5274020 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudience.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudience.h @@ -27,18 +27,28 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGLinkAudienceTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkAudience` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGLinkAudienceTag) { - /// Link is accessible by anyone. - DBSHARINGLinkAudiencePublic, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkAudienceTag){ + /// Link is accessible by anyone. + DBSHARINGLinkAudiencePublic, - /// Link is accessible only by team members. - DBSHARINGLinkAudienceTeam, + /// Link is accessible only by team members. + DBSHARINGLinkAudienceTeam, - /// Link is accessible only by members of the content. - DBSHARINGLinkAudienceMembers, + /// The link can be used by no one. The link merely points the user to the + /// content, and does not grant additional rights to the user. Members of + /// the content who use this link can only access the content with their + /// pre-existing access rights. + DBSHARINGLinkAudienceNoOne, - /// (no description). - DBSHARINGLinkAudienceOther, + /// Use `require_password` instead. A link-specific password is required to + /// access the link. Login is not required. + DBSHARINGLinkAudiencePassword, + + /// Link is accessible only by members of the content. + DBSHARINGLinkAudienceMembers, + + /// (no description). + DBSHARINGLinkAudienceOther, }; @@ -66,6 +76,29 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkAudienceTag) { /// - (instancetype)initWithTeam; +/// +/// Initializes union class with tag state of "no_one". +/// +/// Description of the "no_one" tag state: The link can be used by no one. The +/// link merely points the user to the content, and does not grant additional +/// rights to the user. Members of the content who use this link can only access +/// the content with their pre-existing access rights. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoOne; + +/// +/// Initializes union class with tag state of "password". +/// +/// Description of the "password" tag state: Use `require_password` instead. A +/// link-specific password is required to access the link. Login is not +/// required. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPassword; + /// /// Initializes union class with tag state of "members". /// @@ -101,6 +134,20 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkAudienceTag) { /// - (BOOL)isTeam; +/// +/// Retrieves whether the union's current tag state has value "no_one". +/// +/// @return Whether the union's current tag state has value "no_one". +/// +- (BOOL)isNoOne; + +/// +/// Retrieves whether the union's current tag state has value "password". +/// +/// @return Whether the union's current tag state has value "password". +/// +- (BOOL)isPassword; + /// /// Retrieves whether the union's current tag state has value "members". /// @@ -139,7 +186,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkAudienceTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkAudience` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkAudience *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkAudience *)instance; /// /// Deserializes `DBSHARINGLinkAudience` instances. @@ -149,7 +196,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkAudienceTag) { /// /// @return An instantiation of the `DBSHARINGLinkAudience` object. /// -+ (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkAudience *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceDisallowedReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceDisallowedReason.h new file mode 100644 index 000000000..85d82d7e2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceDisallowedReason.h @@ -0,0 +1,237 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGLinkAudienceDisallowedReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LinkAudienceDisallowedReason` union. +/// +/// check documentation for VisibilityPolicyDisallowedReason. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGLinkAudienceDisallowedReason : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGLinkAudienceDisallowedReasonTag` enum type represents the +/// possible tag states with which the `DBSHARINGLinkAudienceDisallowedReason` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkAudienceDisallowedReasonTag){ + /// The user needs to delete and recreate the link to change the visibility + /// policy. + DBSHARINGLinkAudienceDisallowedReasonDeleteAndRecreate, + + /// The parent shared folder restricts sharing of links outside the shared + /// folder. To change the visibility policy, remove the restriction from the + /// parent shared folder. + DBSHARINGLinkAudienceDisallowedReasonRestrictedBySharedFolder, + + /// The team policy prevents links being shared outside the team. + DBSHARINGLinkAudienceDisallowedReasonRestrictedByTeam, + + /// The user needs to be on a team to set this policy. + DBSHARINGLinkAudienceDisallowedReasonUserNotOnTeam, + + /// The user is a basic user or is on a limited team. + DBSHARINGLinkAudienceDisallowedReasonUserAccountType, + + /// The user does not have permission. + DBSHARINGLinkAudienceDisallowedReasonPermissionDenied, + + /// (no description). + DBSHARINGLinkAudienceDisallowedReasonOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGLinkAudienceDisallowedReasonTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "delete_and_recreate". +/// +/// Description of the "delete_and_recreate" tag state: The user needs to delete +/// and recreate the link to change the visibility policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteAndRecreate; + +/// +/// Initializes union class with tag state of "restricted_by_shared_folder". +/// +/// Description of the "restricted_by_shared_folder" tag state: The parent +/// shared folder restricts sharing of links outside the shared folder. To +/// change the visibility policy, remove the restriction from the parent shared +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRestrictedBySharedFolder; + +/// +/// Initializes union class with tag state of "restricted_by_team". +/// +/// Description of the "restricted_by_team" tag state: The team policy prevents +/// links being shared outside the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRestrictedByTeam; + +/// +/// Initializes union class with tag state of "user_not_on_team". +/// +/// Description of the "user_not_on_team" tag state: The user needs to be on a +/// team to set this policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotOnTeam; + +/// +/// Initializes union class with tag state of "user_account_type". +/// +/// Description of the "user_account_type" tag state: The user is a basic user +/// or is on a limited team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAccountType; + +/// +/// Initializes union class with tag state of "permission_denied". +/// +/// Description of the "permission_denied" tag state: The user does not have +/// permission. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPermissionDenied; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "delete_and_recreate". +/// +/// @return Whether the union's current tag state has value +/// "delete_and_recreate". +/// +- (BOOL)isDeleteAndRecreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "restricted_by_shared_folder". +/// +/// @return Whether the union's current tag state has value +/// "restricted_by_shared_folder". +/// +- (BOOL)isRestrictedBySharedFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "restricted_by_team". +/// +/// @return Whether the union's current tag state has value +/// "restricted_by_team". +/// +- (BOOL)isRestrictedByTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_on_team". +/// +/// @return Whether the union's current tag state has value "user_not_on_team". +/// +- (BOOL)isUserNotOnTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_account_type". +/// +/// @return Whether the union's current tag state has value "user_account_type". +/// +- (BOOL)isUserAccountType; + +/// +/// Retrieves whether the union's current tag state has value +/// "permission_denied". +/// +/// @return Whether the union's current tag state has value "permission_denied". +/// +- (BOOL)isPermissionDenied; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGLinkAudienceDisallowedReason` +/// union. +/// +@interface DBSHARINGLinkAudienceDisallowedReasonSerializer : NSObject + +/// +/// Serializes `DBSHARINGLinkAudienceDisallowedReason` instances. +/// +/// @param instance An instance of the `DBSHARINGLinkAudienceDisallowedReason` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGLinkAudienceDisallowedReason` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkAudienceDisallowedReason *)instance; + +/// +/// Deserializes `DBSHARINGLinkAudienceDisallowedReason` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGLinkAudienceDisallowedReason` API object. +/// +/// @return An instantiation of the `DBSHARINGLinkAudienceDisallowedReason` +/// object. +/// ++ (DBSHARINGLinkAudienceDisallowedReason *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceOption.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceOption.h new file mode 100644 index 000000000..ca06ae070 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkAudienceOption.h @@ -0,0 +1,102 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGLinkAudience; +@class DBSHARINGLinkAudienceDisallowedReason; +@class DBSHARINGLinkAudienceOption; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LinkAudienceOption` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGLinkAudienceOption : NSObject + +#pragma mark - Instance fields + +/// Specifies who can access the link. +@property (nonatomic, readonly) DBSHARINGLinkAudience *audience; + +/// Whether the user calling this API can select this audience option. +@property (nonatomic, readonly) NSNumber *allowed; + +/// If allowed is false, this will provide the reason that the user is not +/// permitted to set the visibility to this policy. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAudienceDisallowedReason *disallowedReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param audience Specifies who can access the link. +/// @param allowed Whether the user calling this API can select this audience +/// option. +/// @param disallowedReason If allowed is false, this will provide the reason +/// that the user is not permitted to set the visibility to this policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAudience:(DBSHARINGLinkAudience *)audience + allowed:(NSNumber *)allowed + disallowedReason:(nullable DBSHARINGLinkAudienceDisallowedReason *)disallowedReason; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param audience Specifies who can access the link. +/// @param allowed Whether the user calling this API can select this audience +/// option. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAudience:(DBSHARINGLinkAudience *)audience allowed:(NSNumber *)allowed; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LinkAudienceOption` struct. +/// +@interface DBSHARINGLinkAudienceOptionSerializer : NSObject + +/// +/// Serializes `DBSHARINGLinkAudienceOption` instances. +/// +/// @param instance An instance of the `DBSHARINGLinkAudienceOption` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGLinkAudienceOption` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkAudienceOption *)instance; + +/// +/// Deserializes `DBSHARINGLinkAudienceOption` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGLinkAudienceOption` API object. +/// +/// @return An instantiation of the `DBSHARINGLinkAudienceOption` object. +/// ++ (DBSHARINGLinkAudienceOption *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkExpiry.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkExpiry.h index 6911fe2ad..e94cc4b54 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkExpiry.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkExpiry.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGLinkExpiryTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkExpiry` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGLinkExpiryTag) { - /// Remove the currently set expiry for the link. - DBSHARINGLinkExpiryRemoveExpiry, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkExpiryTag){ + /// Remove the currently set expiry for the link. + DBSHARINGLinkExpiryRemoveExpiry, - /// Set a new expiry or change an existing expiry. - DBSHARINGLinkExpirySetExpiry, + /// Set a new expiry or change an existing expiry. + DBSHARINGLinkExpirySetExpiry, - /// (no description). - DBSHARINGLinkExpiryOther, + /// (no description). + DBSHARINGLinkExpiryOther, }; @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkExpiryTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkExpiry` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkExpiry *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkExpiry *)instance; /// /// Deserializes `DBSHARINGLinkExpiry` instances. @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkExpiryTag) { /// /// @return An instantiation of the `DBSHARINGLinkExpiry` object. /// -+ (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkExpiry *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkMetadata.h index 1452cab5b..035774fa1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkMetadata.h @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkMetadata *)instance; /// /// Deserializes `DBSHARINGLinkMetadata` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGLinkMetadata` object. /// -+ (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPassword.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPassword.h index 0d69f6098..12b0cc433 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPassword.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPassword.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGLinkPasswordTag` enum type represents the possible tag states /// with which the `DBSHARINGLinkPassword` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGLinkPasswordTag) { - /// Remove the currently set password for the link. - DBSHARINGLinkPasswordRemovePassword, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGLinkPasswordTag){ + /// Remove the currently set password for the link. + DBSHARINGLinkPasswordRemovePassword, - /// Set a new password or change an existing password. - DBSHARINGLinkPasswordSetPassword, + /// Set a new password or change an existing password. + DBSHARINGLinkPasswordSetPassword, - /// (no description). - DBSHARINGLinkPasswordOther, + /// (no description). + DBSHARINGLinkPasswordOther, }; @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkPasswordTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPassword` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkPassword *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkPassword *)instance; /// /// Deserializes `DBSHARINGLinkPassword` instances. @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGLinkPasswordTag) { /// /// @return An instantiation of the `DBSHARINGLinkPassword` object. /// -+ (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkPassword *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermission.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermission.h index 195535595..b42539670 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermission.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermission.h @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPermission` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkPermission *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkPermission *)instance; /// /// Deserializes `DBSHARINGLinkPermission` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGLinkPermission` object. /// -+ (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkPermission *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermissions.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermissions.h index 764d55cde..b1f1a7a41 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermissions.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkPermissions.h @@ -8,10 +8,14 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGLinkAccessLevel; +@class DBSHARINGLinkAudience; +@class DBSHARINGLinkAudienceOption; @class DBSHARINGLinkPermissions; @class DBSHARINGRequestedVisibility; @class DBSHARINGResolvedVisibility; @class DBSHARINGSharedLinkAccessFailureReason; +@class DBSHARINGVisibilityPolicy; NS_ASSUME_NONNULL_BEGIN @@ -32,13 +36,15 @@ NS_ASSUME_NONNULL_BEGIN /// policies of the the team (in case the link's owner is part of a team) and /// the shared folder (in case the linked file is part of a shared folder). This /// field is shown only if the caller has access to this info (the link's owner -/// always has access to this data). +/// always has access to this data). For some links, an effective_audience value +/// is returned instead. @property (nonatomic, readonly, nullable) DBSHARINGResolvedVisibility *resolvedVisibility; /// The shared link's requested visibility. This can be overridden by the team /// and shared folder policies. The final visibility, after considering these /// policies, can be found in resolvedVisibility. This is shown only if the -/// caller is the link's owner. +/// caller is the link's owner and resolved_visibility is returned instead of +/// effective_audience. @property (nonatomic, readonly, nullable) DBSHARINGRequestedVisibility *requestedVisibility; /// Whether the caller can revoke the shared link. @@ -48,40 +54,174 @@ NS_ASSUME_NONNULL_BEGIN /// the canRevoke is false. @property (nonatomic, readonly, nullable) DBSHARINGSharedLinkAccessFailureReason *revokeFailureReason; +/// The type of audience who can benefit from the access level specified by the +/// `link_access_level` field. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAudience *effectiveAudience; + +/// The access level that the link will grant to its users. A link can grant +/// additional rights to a user beyond their current access level. For example, +/// if a user was invited as a viewer to a file, and then opens a link with +/// `link_access_level` set to `editor`, then they will gain editor privileges. +/// The `link_access_level` is a property of the link, and does not depend on +/// who is calling this API. In particular, `link_access_level` does not take +/// into account the API caller's current permissions to the content. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAccessLevel *linkAccessLevel; + +/// A list of policies that the user might be able to set for the visibility. +@property (nonatomic, readonly) NSArray *visibilityPolicies; + +/// Whether the user can set the expiry settings of the link. This refers to the +/// ability to create a new expiry and modify an existing expiry. +@property (nonatomic, readonly) NSNumber *canSetExpiry; + +/// Whether the user can remove the expiry of the link. +@property (nonatomic, readonly) NSNumber *canRemoveExpiry; + +/// Whether the link can be downloaded or not. +@property (nonatomic, readonly) NSNumber *allowDownload; + +/// Whether the user can allow downloads via the link. This refers to the +/// ability to remove a no-download restriction on the link. +@property (nonatomic, readonly) NSNumber *canAllowDownload; + +/// Whether the user can disallow downloads via the link. This refers to the +/// ability to impose a no-download restriction on the link. +@property (nonatomic, readonly) NSNumber *canDisallowDownload; + +/// Whether comments are enabled for the linked file. This takes the team +/// commenting policy into account. +@property (nonatomic, readonly) NSNumber *allowComments; + +/// Whether the team has disabled commenting globally. +@property (nonatomic, readonly) NSNumber *teamRestrictsComments; + +/// A list of link audience options the user might be able to set as the new +/// audience. +@property (nonatomic, readonly, nullable) NSArray *audienceOptions; + +/// Whether the user can set a password for the link. +@property (nonatomic, readonly, nullable) NSNumber *canSetPassword; + +/// Whether the user can remove the password of the link. +@property (nonatomic, readonly, nullable) NSNumber *canRemovePassword; + +/// Whether the user is required to provide a password to view the link. +@property (nonatomic, readonly, nullable) NSNumber *requirePassword; + +/// Whether the user can use extended sharing controls, based on their account +/// type. +@property (nonatomic, readonly, nullable) NSNumber *canUseExtendedSharingControls; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param canRevoke Whether the caller can revoke the shared link. +/// @param visibilityPolicies A list of policies that the user might be able to +/// set for the visibility. +/// @param canSetExpiry Whether the user can set the expiry settings of the +/// link. This refers to the ability to create a new expiry and modify an +/// existing expiry. +/// @param canRemoveExpiry Whether the user can remove the expiry of the link. +/// @param allowDownload Whether the link can be downloaded or not. +/// @param canAllowDownload Whether the user can allow downloads via the link. +/// This refers to the ability to remove a no-download restriction on the link. +/// @param canDisallowDownload Whether the user can disallow downloads via the +/// link. This refers to the ability to impose a no-download restriction on the +/// link. +/// @param allowComments Whether comments are enabled for the linked file. This +/// takes the team commenting policy into account. +/// @param teamRestrictsComments Whether the team has disabled commenting +/// globally. /// @param resolvedVisibility The current visibility of the link after /// considering the shared links policies of the the team (in case the link's /// owner is part of a team) and the shared folder (in case the linked file is /// part of a shared folder). This field is shown only if the caller has access -/// to this info (the link's owner always has access to this data). +/// to this info (the link's owner always has access to this data). For some +/// links, an effective_audience value is returned instead. /// @param requestedVisibility The shared link's requested visibility. This can /// be overridden by the team and shared folder policies. The final visibility, /// after considering these policies, can be found in resolvedVisibility. This -/// is shown only if the caller is the link's owner. +/// is shown only if the caller is the link's owner and resolved_visibility is +/// returned instead of effective_audience. /// @param revokeFailureReason The failure reason for revoking the link. This /// field will only be present if the canRevoke is false. +/// @param effectiveAudience The type of audience who can benefit from the +/// access level specified by the `link_access_level` field. +/// @param linkAccessLevel The access level that the link will grant to its +/// users. A link can grant additional rights to a user beyond their current +/// access level. For example, if a user was invited as a viewer to a file, and +/// then opens a link with `link_access_level` set to `editor`, then they will +/// gain editor privileges. The `link_access_level` is a property of the link, +/// and does not depend on who is calling this API. In particular, +/// `link_access_level` does not take into account the API caller's current +/// permissions to the content. +/// @param audienceOptions A list of link audience options the user might be +/// able to set as the new audience. +/// @param canSetPassword Whether the user can set a password for the link. +/// @param canRemovePassword Whether the user can remove the password of the +/// link. +/// @param requirePassword Whether the user is required to provide a password to +/// view the link. +/// @param canUseExtendedSharingControls Whether the user can use extended +/// sharing controls, based on their account type. /// /// @return An initialized instance. /// - (instancetype)initWithCanRevoke:(NSNumber *)canRevoke + visibilityPolicies:(NSArray *)visibilityPolicies + canSetExpiry:(NSNumber *)canSetExpiry + canRemoveExpiry:(NSNumber *)canRemoveExpiry + allowDownload:(NSNumber *)allowDownload + canAllowDownload:(NSNumber *)canAllowDownload + canDisallowDownload:(NSNumber *)canDisallowDownload + allowComments:(NSNumber *)allowComments + teamRestrictsComments:(NSNumber *)teamRestrictsComments resolvedVisibility:(nullable DBSHARINGResolvedVisibility *)resolvedVisibility requestedVisibility:(nullable DBSHARINGRequestedVisibility *)requestedVisibility - revokeFailureReason:(nullable DBSHARINGSharedLinkAccessFailureReason *)revokeFailureReason; + revokeFailureReason:(nullable DBSHARINGSharedLinkAccessFailureReason *)revokeFailureReason + effectiveAudience:(nullable DBSHARINGLinkAudience *)effectiveAudience + linkAccessLevel:(nullable DBSHARINGLinkAccessLevel *)linkAccessLevel + audienceOptions:(nullable NSArray *)audienceOptions + canSetPassword:(nullable NSNumber *)canSetPassword + canRemovePassword:(nullable NSNumber *)canRemovePassword + requirePassword:(nullable NSNumber *)requirePassword + canUseExtendedSharingControls:(nullable NSNumber *)canUseExtendedSharingControls; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param canRevoke Whether the caller can revoke the shared link. +/// @param visibilityPolicies A list of policies that the user might be able to +/// set for the visibility. +/// @param canSetExpiry Whether the user can set the expiry settings of the +/// link. This refers to the ability to create a new expiry and modify an +/// existing expiry. +/// @param canRemoveExpiry Whether the user can remove the expiry of the link. +/// @param allowDownload Whether the link can be downloaded or not. +/// @param canAllowDownload Whether the user can allow downloads via the link. +/// This refers to the ability to remove a no-download restriction on the link. +/// @param canDisallowDownload Whether the user can disallow downloads via the +/// link. This refers to the ability to impose a no-download restriction on the +/// link. +/// @param allowComments Whether comments are enabled for the linked file. This +/// takes the team commenting policy into account. +/// @param teamRestrictsComments Whether the team has disabled commenting +/// globally. /// /// @return An initialized instance. /// -- (instancetype)initWithCanRevoke:(NSNumber *)canRevoke; +- (instancetype)initWithCanRevoke:(NSNumber *)canRevoke + visibilityPolicies:(NSArray *)visibilityPolicies + canSetExpiry:(NSNumber *)canSetExpiry + canRemoveExpiry:(NSNumber *)canRemoveExpiry + allowDownload:(NSNumber *)allowDownload + canAllowDownload:(NSNumber *)canAllowDownload + canDisallowDownload:(NSNumber *)canDisallowDownload + allowComments:(NSNumber *)allowComments + teamRestrictsComments:(NSNumber *)teamRestrictsComments; - (instancetype)init NS_UNAVAILABLE; @@ -102,7 +242,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkPermissions` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkPermissions *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkPermissions *)instance; /// /// Deserializes `DBSHARINGLinkPermissions` instances. @@ -112,7 +252,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGLinkPermissions` object. /// -+ (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkPermissions *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkSettings.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkSettings.h index 9dc1cef5c..d5ffbb141 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkSettings.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGLinkSettings.h @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGLinkSettings` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGLinkSettings *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGLinkSettings *)instance; /// /// Deserializes `DBSHARINGLinkSettings` instances. @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGLinkSettings` object. /// -+ (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGLinkSettings *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersArg.h index ccc3b4d66..9df4a86d4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersArg.h @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersArg` instances. @@ -99,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFileMembersArg` object. /// -+ (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchArg.h index 3b4292f08..d6aaffd73 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchArg.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersBatchArg` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFileMembersBatchArg` object. /// -+ (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchResult.h index e3c431482..f8469c557 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersBatchResult.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersBatchResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersBatchResult` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGListFileMembersBatchResult` /// object. /// -+ (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueArg.h index 2fe294e73..dc260afd8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueArg.h @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFileMembersContinueArg` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGListFileMembersContinueArg` /// object. /// -+ (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueError.h index d4fe6d35d..65f85750c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersContinueError.h @@ -32,18 +32,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFileMembersContinueErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGListFileMembersContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersContinueErrorTag) { - /// (no description). - DBSHARINGListFileMembersContinueErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFileMembersContinueErrorTag){ + /// (no description). + DBSHARINGListFileMembersContinueErrorUserError, - /// (no description). - DBSHARINGListFileMembersContinueErrorAccessError, + /// (no description). + DBSHARINGListFileMembersContinueErrorAccessError, - /// `cursor` in `DBSHARINGListFileMembersContinueArg` is invalid. - DBSHARINGListFileMembersContinueErrorInvalidCursor, + /// `cursor` in `DBSHARINGListFileMembersContinueArg` is invalid. + DBSHARINGListFileMembersContinueErrorInvalidCursor, - /// (no description). - DBSHARINGListFileMembersContinueErrorOther, + /// (no description). + DBSHARINGListFileMembersContinueErrorOther, }; @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersContinueError *)instance; /// /// Deserializes `DBSHARINGListFileMembersContinueError` instances. @@ -170,7 +170,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersContinueErrorTag) { /// @return An instantiation of the `DBSHARINGListFileMembersContinueError` /// object. /// -+ (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersCountResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersCountResult.h index 4e10d1a3c..dddf5183d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersCountResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersCountResult.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersCountResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersCountResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersCountResult` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGListFileMembersCountResult` /// object. /// -+ (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersCountResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersError.h index 0c40cad1c..f9eb45a2e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersError.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFileMembersErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGListFileMembersError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersErrorTag) { - /// (no description). - DBSHARINGListFileMembersErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFileMembersErrorTag){ + /// (no description). + DBSHARINGListFileMembersErrorUserError, - /// (no description). - DBSHARINGListFileMembersErrorAccessError, + /// (no description). + DBSHARINGListFileMembersErrorAccessError, - /// (no description). - DBSHARINGListFileMembersErrorOther, + /// (no description). + DBSHARINGListFileMembersErrorOther, }; @@ -137,7 +137,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersError *)instance; /// /// Deserializes `DBSHARINGListFileMembersError` instances. @@ -147,7 +147,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersErrorTag) { /// /// @return An instantiation of the `DBSHARINGListFileMembersError` object. /// -+ (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersIndividualResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersIndividualResult.h index b9ca8c772..e66051092 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersIndividualResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFileMembersIndividualResult.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFileMembersIndividualResultTag` enum type represents the /// possible tag states with which the /// `DBSHARINGListFileMembersIndividualResult` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersIndividualResultTag) { - /// The results of the query for this file if it was successful. - DBSHARINGListFileMembersIndividualResultResult, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFileMembersIndividualResultTag){ + /// The results of the query for this file if it was successful. + DBSHARINGListFileMembersIndividualResultResult, - /// The result of the query for this file if it was an error. - DBSHARINGListFileMembersIndividualResultAccessError, + /// The result of the query for this file if it was an error. + DBSHARINGListFileMembersIndividualResultAccessError, - /// (no description). - DBSHARINGListFileMembersIndividualResultOther, + /// (no description). + DBSHARINGListFileMembersIndividualResultOther, }; @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersIndividualResultTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFileMembersIndividualResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFileMembersIndividualResult *)instance; /// /// Deserializes `DBSHARINGListFileMembersIndividualResult` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFileMembersIndividualResultTag) { /// @return An instantiation of the `DBSHARINGListFileMembersIndividualResult` /// object. /// -+ (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFileMembersIndividualResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesArg.h index 18bb4384e..9ecb75328 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesArg.h @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFilesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFilesArg *)instance; /// /// Deserializes `DBSHARINGListFilesArg` instances. @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFilesArg` object. /// -+ (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFilesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueArg.h index 960c30cac..c379b6c72 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueArg *)instance; /// /// Deserializes `DBSHARINGListFilesContinueArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFilesContinueArg` object. /// -+ (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFilesContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueError.h index 88571ffee..41de56dfb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesContinueError.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFilesContinueErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGListFilesContinueError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFilesContinueErrorTag) { - /// User account had a problem. - DBSHARINGListFilesContinueErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFilesContinueErrorTag){ + /// User account had a problem. + DBSHARINGListFilesContinueErrorUserError, - /// `cursor` in `DBSHARINGListFilesContinueArg` is invalid. - DBSHARINGListFilesContinueErrorInvalidCursor, + /// `cursor` in `DBSHARINGListFilesContinueArg` is invalid. + DBSHARINGListFilesContinueErrorInvalidCursor, - /// (no description). - DBSHARINGListFilesContinueErrorOther, + /// (no description). + DBSHARINGListFilesContinueErrorOther, }; @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFilesContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFilesContinueError *)instance; /// /// Deserializes `DBSHARINGListFilesContinueError` instances. @@ -142,7 +142,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFilesContinueErrorTag) { /// /// @return An instantiation of the `DBSHARINGListFilesContinueError` object. /// -+ (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFilesContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesResult.h index 94e1115b9..c1ed574b2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFilesResult.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFilesResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFilesResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFilesResult *)instance; /// /// Deserializes `DBSHARINGListFilesResult` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFilesResult` object. /// -+ (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFilesResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersArgs.h index b02ca85f7..4941c31f0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersArgs.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersArgs *)instance; /// /// Deserializes `DBSHARINGListFolderMembersArgs` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFolderMembersArgs` object. /// -+ (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFolderMembersArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueArg.h index 7f345bc15..295057ebf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFolderMembersContinueArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGListFolderMembersContinueArg` /// object. /// -+ (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFolderMembersContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueError.h index f1b4f77e0..0cb1cf881 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersContinueError.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFolderMembersContinueErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGListFolderMembersContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFolderMembersContinueErrorTag) { - /// (no description). - DBSHARINGListFolderMembersContinueErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFolderMembersContinueErrorTag){ + /// (no description). + DBSHARINGListFolderMembersContinueErrorAccessError, - /// `cursor` in `DBSHARINGListFolderMembersContinueArg` is invalid. - DBSHARINGListFolderMembersContinueErrorInvalidCursor, + /// `cursor` in `DBSHARINGListFolderMembersContinueArg` is invalid. + DBSHARINGListFolderMembersContinueErrorInvalidCursor, - /// (no description). - DBSHARINGListFolderMembersContinueErrorOther, + /// (no description). + DBSHARINGListFolderMembersContinueErrorOther, }; @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFolderMembersContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersContinueError *)instance; /// /// Deserializes `DBSHARINGListFolderMembersContinueError` instances. @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFolderMembersContinueErrorTag) { /// @return An instantiation of the `DBSHARINGListFolderMembersContinueError` /// object. /// -+ (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFolderMembersContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersCursorArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersCursorArg.h index a35643b76..4fa3ce71b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersCursorArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFolderMembersCursorArg.h @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFolderMembersCursorArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFolderMembersCursorArg *)instance; /// /// Deserializes `DBSHARINGListFolderMembersCursorArg` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGListFolderMembersCursorArg` /// object. /// -+ (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFolderMembersCursorArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersArgs.h index 666033c58..5c6ba24fb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersArgs.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersArgs *)instance; /// /// Deserializes `DBSHARINGListFoldersArgs` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFoldersArgs` object. /// -+ (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFoldersArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueArg.h index 0e9eb8272..f4e2e109b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueArg *)instance; /// /// Deserializes `DBSHARINGListFoldersContinueArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFoldersContinueArg` object. /// -+ (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFoldersContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueError.h index 817e68dc7..0d425db57 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersContinueError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListFoldersContinueErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGListFoldersContinueError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGListFoldersContinueErrorTag) { - /// `cursor` in `DBSHARINGListFoldersContinueArg` is invalid. - DBSHARINGListFoldersContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListFoldersContinueErrorTag){ + /// `cursor` in `DBSHARINGListFoldersContinueArg` is invalid. + DBSHARINGListFoldersContinueErrorInvalidCursor, - /// (no description). - DBSHARINGListFoldersContinueErrorOther, + /// (no description). + DBSHARINGListFoldersContinueErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFoldersContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersContinueError *)instance; /// /// Deserializes `DBSHARINGListFoldersContinueError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListFoldersContinueErrorTag) { /// /// @return An instantiation of the `DBSHARINGListFoldersContinueError` object. /// -+ (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFoldersContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersResult.h index e2b8bf607..1acef614e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListFoldersResult.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListFoldersResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListFoldersResult *)instance; /// /// Deserializes `DBSHARINGListFoldersResult` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListFoldersResult` object. /// -+ (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListFoldersResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksArg.h index 2debf2287..bd6eaf724 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksArg.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksArg *)instance; /// /// Deserializes `DBSHARINGListSharedLinksArg` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListSharedLinksArg` object. /// -+ (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListSharedLinksArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksError.h index a19b794eb..e62c1843f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksError.h @@ -28,16 +28,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGListSharedLinksErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGListSharedLinksError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGListSharedLinksErrorTag) { - /// (no description). - DBSHARINGListSharedLinksErrorPath, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGListSharedLinksErrorTag){ + /// (no description). + DBSHARINGListSharedLinksErrorPath, - /// Indicates that the cursor has been invalidated. Call `listSharedLinks` - /// to obtain a new cursor. - DBSHARINGListSharedLinksErrorReset, + /// Indicates that the cursor has been invalidated. Call `listSharedLinks` + /// to obtain a new cursor. + DBSHARINGListSharedLinksErrorReset, - /// (no description). - DBSHARINGListSharedLinksErrorOther, + /// (no description). + DBSHARINGListSharedLinksErrorOther, }; @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListSharedLinksErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksError *)instance; /// /// Deserializes `DBSHARINGListSharedLinksError` instances. @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGListSharedLinksErrorTag) { /// /// @return An instantiation of the `DBSHARINGListSharedLinksError` object. /// -+ (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListSharedLinksError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksResult.h index 36ef7812c..1b14d4a6c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGListSharedLinksResult.h @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGListSharedLinksResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGListSharedLinksResult *)instance; /// /// Deserializes `DBSHARINGListSharedLinksResult` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGListSharedLinksResult` object. /// -+ (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGListSharedLinksResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAccessLevelResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAccessLevelResult.h index d52e54085..321f8ab82 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAccessLevelResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAccessLevelResult.h @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberAccessLevelResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMemberAccessLevelResult *)instance; /// /// Deserializes `DBSHARINGMemberAccessLevelResult` instances. @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGMemberAccessLevelResult` object. /// -+ (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMemberAccessLevelResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAction.h index 3b8105804..46d2a5789 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAction.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberAction.h @@ -29,27 +29,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGMemberActionTag` enum type represents the possible tag states /// with which the `DBSHARINGMemberAction` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGMemberActionTag) { - /// Allow the member to keep a copy of the folder when removing. - DBSHARINGMemberActionLeaveACopy, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMemberActionTag){ + /// Allow the member to keep a copy of the folder when removing. + DBSHARINGMemberActionLeaveACopy, - /// Make the member an editor of the folder. - DBSHARINGMemberActionMakeEditor, + /// Make the member an editor of the folder. + DBSHARINGMemberActionMakeEditor, - /// Make the member an owner of the folder. - DBSHARINGMemberActionMakeOwner, + /// Make the member an owner of the folder. + DBSHARINGMemberActionMakeOwner, - /// Make the member a viewer of the folder. - DBSHARINGMemberActionMakeViewer, + /// Make the member a viewer of the folder. + DBSHARINGMemberActionMakeViewer, - /// Make the member a viewer of the folder without commenting permissions. - DBSHARINGMemberActionMakeViewerNoComment, + /// Make the member a viewer of the folder without commenting permissions. + DBSHARINGMemberActionMakeViewerNoComment, - /// Remove the member from the folder. - DBSHARINGMemberActionRemove, + /// Remove the member from the folder. + DBSHARINGMemberActionRemove, - /// (no description). - DBSHARINGMemberActionOther, + /// (no description). + DBSHARINGMemberActionOther, }; @@ -203,7 +203,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberActionTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberAction` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMemberAction *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMemberAction *)instance; /// /// Deserializes `DBSHARINGMemberAction` instances. @@ -213,7 +213,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberActionTag) { /// /// @return An instantiation of the `DBSHARINGMemberAction` object. /// -+ (DBSHARINGMemberAction *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMemberAction *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPermission.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPermission.h index e81a5af85..6f95cd6d2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPermission.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPermission.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberPermission` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMemberPermission *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMemberPermission *)instance; /// /// Deserializes `DBSHARINGMemberPermission` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGMemberPermission` object. /// -+ (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMemberPermission *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPolicy.h index c847aca11..1b82ff68f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberPolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGMemberPolicyTag` enum type represents the possible tag states /// with which the `DBSHARINGMemberPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGMemberPolicyTag) { - /// Only a teammate can become a member. - DBSHARINGMemberPolicyTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMemberPolicyTag){ + /// Only a teammate can become a member. + DBSHARINGMemberPolicyTeam, - /// Anyone can become a member. - DBSHARINGMemberPolicyAnyone, + /// Anyone can become a member. + DBSHARINGMemberPolicyAnyone, - /// (no description). - DBSHARINGMemberPolicyOther, + /// (no description). + DBSHARINGMemberPolicyOther, }; @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMemberPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMemberPolicy *)instance; /// /// Deserializes `DBSHARINGMemberPolicy` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberPolicyTag) { /// /// @return An instantiation of the `DBSHARINGMemberPolicy` object. /// -+ (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMemberPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberSelector.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberSelector.h index 06d028c1c..56bb03e81 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberSelector.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMemberSelector.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGMemberSelectorTag` enum type represents the possible tag /// states with which the `DBSHARINGMemberSelector` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGMemberSelectorTag) { - /// Dropbox account, team member, or group ID of member. - DBSHARINGMemberSelectorDropboxId, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMemberSelectorTag){ + /// Dropbox account, team member, or group ID of member. + DBSHARINGMemberSelectorDropboxId, - /// E-mail address of member. - DBSHARINGMemberSelectorEmail, + /// Email address of member. + DBSHARINGMemberSelectorEmail, - /// (no description). - DBSHARINGMemberSelectorOther, + /// (no description). + DBSHARINGMemberSelectorOther, }; @@ -49,7 +49,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberSelectorTag) { /// exception will be raised. @property (nonatomic, readonly, copy) NSString *dropboxId; -/// E-mail address of member. @note Ensure the `isEmail` method returns true +/// Email address of member. @note Ensure the `isEmail` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *email; @@ -70,9 +70,9 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberSelectorTag) { /// /// Initializes union class with tag state of "email". /// -/// Description of the "email" tag state: E-mail address of member. +/// Description of the "email" tag state: Email address of member. /// -/// @param email E-mail address of member. +/// @param email Email address of member. /// /// @return An initialized instance. /// @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberSelectorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGMemberSelector` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMemberSelector *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMemberSelector *)instance; /// /// Deserializes `DBSHARINGMemberSelector` instances. @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMemberSelectorTag) { /// /// @return An instantiation of the `DBSHARINGMemberSelector` object. /// -+ (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMemberSelector *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMembershipInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMembershipInfo.h index ec88fa41c..292a14b4a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMembershipInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMembershipInfo.h @@ -29,14 +29,15 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The access type for this member. +/// The access type for this member. It contains inherited access type from +/// parent folder, and acquired access type from this folder. @property (nonatomic, readonly) DBSHARINGAccessLevel *accessType; /// The permissions that requesting user has on this member. The set of /// permissions corresponds to the MemberActions in the request. @property (nonatomic, readonly, nullable) NSArray *permissions; -/// Suggested name initials for a member. +/// Never set. @property (nonatomic, readonly, copy, nullable) NSString *initials; /// True if the member has access from a parent folder. @@ -47,10 +48,11 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param permissions The permissions that requesting user has on this member. /// The set of permissions corresponds to the MemberActions in the request. -/// @param initials Suggested name initials for a member. +/// @param initials Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. @@ -64,7 +66,8 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// /// @return An initialized instance. /// @@ -89,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGMembershipInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMembershipInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMembershipInfo *)instance; /// /// Deserializes `DBSHARINGMembershipInfo` instances. @@ -99,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGMembershipInfo` object. /// -+ (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMembershipInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsArgs.h index ec9de831d..a382392bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsArgs.h @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsArgs *)instance; /// /// Deserializes `DBSHARINGModifySharedLinkSettingsArgs` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGModifySharedLinkSettingsArgs` /// object. /// -+ (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGModifySharedLinkSettingsArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsError.h index 7fa8eb4c3..2ce8a99e7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGModifySharedLinkSettingsError.h @@ -29,24 +29,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGModifySharedLinkSettingsErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGModifySharedLinkSettingsError` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag) { - /// The shared link wasn't found. - DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag){ + /// The shared link wasn't found. + DBSHARINGModifySharedLinkSettingsErrorSharedLinkNotFound, - /// The caller is not allowed to access this shared link. - DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied, + /// The caller is not allowed to access this shared link. + DBSHARINGModifySharedLinkSettingsErrorSharedLinkAccessDenied, - /// This type of link is not supported. - DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType, + /// This type of link is not supported; use `files` instead. + DBSHARINGModifySharedLinkSettingsErrorUnsupportedLinkType, - /// (no description). - DBSHARINGModifySharedLinkSettingsErrorOther, + /// (no description). + DBSHARINGModifySharedLinkSettingsErrorOther, - /// There is an error with the given settings. - DBSHARINGModifySharedLinkSettingsErrorSettingsError, + /// There is an error with the given settings. + DBSHARINGModifySharedLinkSettingsErrorSettingsError, - /// The caller's email should be verified. - DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified, + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGModifySharedLinkSettingsErrorEmailNotVerified, }; @@ -84,7 +86,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag) { /// Initializes union class with tag state of "unsupported_link_type". /// /// Description of the "unsupported_link_type" tag state: This type of link is -/// not supported. +/// not supported; use `files` instead. /// /// @return An initialized instance. /// @@ -112,8 +114,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag) { /// /// Initializes union class with tag state of "email_not_verified". /// -/// Description of the "email_not_verified" tag state: The caller's email should -/// be verified. +/// Description of the "email_not_verified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -202,7 +206,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGModifySharedLinkSettingsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGModifySharedLinkSettingsError *)instance; /// /// Deserializes `DBSHARINGModifySharedLinkSettingsError` instances. @@ -213,7 +217,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGModifySharedLinkSettingsErrorTag) { /// @return An instantiation of the `DBSHARINGModifySharedLinkSettingsError` /// object. /// -+ (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGModifySharedLinkSettingsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderArg.h index 47b1fabef..97fa2e472 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGMountFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMountFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMountFolderArg *)instance; /// /// Deserializes `DBSHARINGMountFolderArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGMountFolderArg` object. /// -+ (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMountFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderError.h index 634d55b6d..ccff00510 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGMountFolderError.h @@ -29,30 +29,30 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGMountFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGMountFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGMountFolderErrorTag) { - /// (no description). - DBSHARINGMountFolderErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGMountFolderErrorTag){ + /// (no description). + DBSHARINGMountFolderErrorAccessError, - /// Mounting would cause a shared folder to be inside another, which is - /// disallowed. - DBSHARINGMountFolderErrorInsideSharedFolder, + /// Mounting would cause a shared folder to be inside another, which is + /// disallowed. + DBSHARINGMountFolderErrorInsideSharedFolder, - /// The current user does not have enough space to mount the shared folder. - DBSHARINGMountFolderErrorInsufficientQuota, + /// The current user does not have enough space to mount the shared folder. + DBSHARINGMountFolderErrorInsufficientQuota, - /// The shared folder is already mounted. - DBSHARINGMountFolderErrorAlreadyMounted, + /// The shared folder is already mounted. + DBSHARINGMountFolderErrorAlreadyMounted, - /// The current user does not have permission to perform this action. - DBSHARINGMountFolderErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGMountFolderErrorNoPermission, - /// The shared folder is not mountable. One example where this can occur is - /// when the shared folder belongs within a team folder in the user's - /// Dropbox. - DBSHARINGMountFolderErrorNotMountable, + /// The shared folder is not mountable. One example where this can occur is + /// when the shared folder belongs within a team folder in the user's + /// Dropbox. + DBSHARINGMountFolderErrorNotMountable, - /// (no description). - DBSHARINGMountFolderErrorOther, + /// (no description). + DBSHARINGMountFolderErrorOther, }; @@ -227,7 +227,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMountFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGMountFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGMountFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGMountFolderError *)instance; /// /// Deserializes `DBSHARINGMountFolderError` instances. @@ -237,7 +237,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGMountFolderErrorTag) { /// /// @return An instantiation of the `DBSHARINGMountFolderError` object. /// -+ (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGMountFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGParentFolderAccessInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGParentFolderAccessInfo.h index af1e65a94..92a63b9a3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGParentFolderAccessInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGParentFolderAccessInfo.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGParentFolderAccessInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGParentFolderAccessInfo *)instance; /// /// Deserializes `DBSHARINGParentFolderAccessInfo` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGParentFolderAccessInfo` object. /// -+ (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGParentFolderAccessInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPathLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPathLinkMetadata.h index 15db96bab..b559dc014 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPathLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPathLinkMetadata.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGPathLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGPathLinkMetadata *)instance; /// /// Deserializes `DBSHARINGPathLinkMetadata` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGPathLinkMetadata` object. /// -+ (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGPathLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPendingUploadMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPendingUploadMode.h index 66d9670fd..90b01eacf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPendingUploadMode.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPendingUploadMode.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGPendingUploadModeTag` enum type represents the possible tag /// states with which the `DBSHARINGPendingUploadMode` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGPendingUploadModeTag) { - /// Assume pending uploads are files. - DBSHARINGPendingUploadModeFile, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGPendingUploadModeTag){ + /// Assume pending uploads are files. + DBSHARINGPendingUploadModeFile, - /// Assume pending uploads are folders. - DBSHARINGPendingUploadModeFolder, + /// Assume pending uploads are folders. + DBSHARINGPendingUploadModeFolder, }; @@ -104,7 +104,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGPendingUploadModeTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGPendingUploadMode` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGPendingUploadMode *)instance; /// /// Deserializes `DBSHARINGPendingUploadMode` instances. @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGPendingUploadModeTag) { /// /// @return An instantiation of the `DBSHARINGPendingUploadMode` object. /// -+ (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGPendingUploadMode *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPermissionDeniedReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPermissionDeniedReason.h index 87b10c49f..8c0623db9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPermissionDeniedReason.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGPermissionDeniedReason.h @@ -30,55 +30,55 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGPermissionDeniedReasonTag` enum type represents the possible /// tag states with which the `DBSHARINGPermissionDeniedReason` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGPermissionDeniedReasonTag) { - /// User is not on the same team as the folder owner. - DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGPermissionDeniedReasonTag){ + /// User is not on the same team as the folder owner. + DBSHARINGPermissionDeniedReasonUserNotSameTeamAsOwner, - /// User is prohibited by the owner from taking the action. - DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner, + /// User is prohibited by the owner from taking the action. + DBSHARINGPermissionDeniedReasonUserNotAllowedByOwner, - /// Target is indirectly a member of the folder, for example by being part - /// of a group. - DBSHARINGPermissionDeniedReasonTargetIsIndirectMember, + /// Target is indirectly a member of the folder, for example by being part + /// of a group. + DBSHARINGPermissionDeniedReasonTargetIsIndirectMember, - /// Target is the owner of the folder. - DBSHARINGPermissionDeniedReasonTargetIsOwner, + /// Target is the owner of the folder. + DBSHARINGPermissionDeniedReasonTargetIsOwner, - /// Target is the user itself. - DBSHARINGPermissionDeniedReasonTargetIsSelf, + /// Target is the user itself. + DBSHARINGPermissionDeniedReasonTargetIsSelf, - /// Target is not an active member of the team. - DBSHARINGPermissionDeniedReasonTargetNotActive, + /// Target is not an active member of the team. + DBSHARINGPermissionDeniedReasonTargetNotActive, - /// Folder is team folder for a limited team. - DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder, + /// Folder is team folder for a limited team. + DBSHARINGPermissionDeniedReasonFolderIsLimitedTeamFolder, - /// The content owner needs to be on a Dropbox team to perform this action. - DBSHARINGPermissionDeniedReasonOwnerNotOnTeam, + /// The content owner needs to be on a Dropbox team to perform this action. + DBSHARINGPermissionDeniedReasonOwnerNotOnTeam, - /// The user does not have permission to perform this action on the link. - DBSHARINGPermissionDeniedReasonPermissionDenied, + /// The user does not have permission to perform this action on the link. + DBSHARINGPermissionDeniedReasonPermissionDenied, - /// The user's team policy prevents performing this action on the link. - DBSHARINGPermissionDeniedReasonRestrictedByTeam, + /// The user's team policy prevents performing this action on the link. + DBSHARINGPermissionDeniedReasonRestrictedByTeam, - /// The user's account type does not support this action. - DBSHARINGPermissionDeniedReasonUserAccountType, + /// The user's account type does not support this action. + DBSHARINGPermissionDeniedReasonUserAccountType, - /// The user needs to be on a Dropbox team to perform this action. - DBSHARINGPermissionDeniedReasonUserNotOnTeam, + /// The user needs to be on a Dropbox team to perform this action. + DBSHARINGPermissionDeniedReasonUserNotOnTeam, - /// Folder is inside of another shared folder. - DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder, + /// Folder is inside of another shared folder. + DBSHARINGPermissionDeniedReasonFolderIsInsideSharedFolder, - /// Policy cannot be changed due to restrictions from parent folder. - DBSHARINGPermissionDeniedReasonRestrictedByParentFolder, + /// Policy cannot be changed due to restrictions from parent folder. + DBSHARINGPermissionDeniedReasonRestrictedByParentFolder, - /// (no description). - DBSHARINGPermissionDeniedReasonInsufficientPlan, + /// (no description). + DBSHARINGPermissionDeniedReasonInsufficientPlan, - /// (no description). - DBSHARINGPermissionDeniedReasonOther, + /// (no description). + DBSHARINGPermissionDeniedReasonOther, }; @@ -410,7 +410,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGPermissionDeniedReasonTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGPermissionDeniedReason` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGPermissionDeniedReason *)instance; /// /// Deserializes `DBSHARINGPermissionDeniedReason` instances. @@ -420,7 +420,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGPermissionDeniedReasonTag) { /// /// @return An instantiation of the `DBSHARINGPermissionDeniedReason` object. /// -+ (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGPermissionDeniedReason *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipArg.h index d2074dfa9..b75c81935 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipArg *)instance; /// /// Deserializes `DBSHARINGRelinquishFileMembershipArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGRelinquishFileMembershipArg` /// object. /// -+ (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRelinquishFileMembershipArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipError.h index aa5db1d9a..538cf63d3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFileMembershipError.h @@ -29,19 +29,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRelinquishFileMembershipErrorTag` enum type represents the /// possible tag states with which the `DBSHARINGRelinquishFileMembershipError` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFileMembershipErrorTag) { - /// (no description). - DBSHARINGRelinquishFileMembershipErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRelinquishFileMembershipErrorTag){ + /// (no description). + DBSHARINGRelinquishFileMembershipErrorAccessError, - /// The current user has access to the shared file via a group. You can't - /// relinquish membership to a file shared via groups. - DBSHARINGRelinquishFileMembershipErrorGroupAccess, + /// The current user has access to the shared file via a group. You can't + /// relinquish membership to a file shared via groups. + DBSHARINGRelinquishFileMembershipErrorGroupAccess, - /// The current user does not have permission to perform this action. - DBSHARINGRelinquishFileMembershipErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGRelinquishFileMembershipErrorNoPermission, - /// (no description). - DBSHARINGRelinquishFileMembershipErrorOther, + /// (no description). + DBSHARINGRelinquishFileMembershipErrorOther, }; @@ -152,7 +152,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFileMembershipErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFileMembershipError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFileMembershipError *)instance; /// /// Deserializes `DBSHARINGRelinquishFileMembershipError` instances. @@ -163,7 +163,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFileMembershipErrorTag) { /// @return An instantiation of the `DBSHARINGRelinquishFileMembershipError` /// object. /// -+ (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRelinquishFileMembershipError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipArg.h index 760ddae25..f8c62b1bc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipArg.h @@ -28,7 +28,9 @@ NS_ASSUME_NONNULL_BEGIN /// The ID for the shared folder. @property (nonatomic, readonly, copy) NSString *sharedFolderId; -/// Keep a copy of the folder's contents upon relinquishing membership. +/// Keep a copy of the folder's contents upon relinquishing membership. This +/// must be set to false when the folder is within a team folder or another +/// shared folder. @property (nonatomic, readonly) NSNumber *leaveACopy; #pragma mark - Constructors @@ -38,7 +40,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param sharedFolderId The ID for the shared folder. /// @param leaveACopy Keep a copy of the folder's contents upon relinquishing -/// membership. +/// membership. This must be set to false when the folder is within a team +/// folder or another shared folder. /// /// @return An initialized instance. /// @@ -74,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipArg *)instance; /// /// Deserializes `DBSHARINGRelinquishFolderMembershipArg` instances. @@ -85,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGRelinquishFolderMembershipArg` /// object. /// -+ (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRelinquishFolderMembershipArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipError.h index 317c6c95d..ed20b841e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRelinquishFolderMembershipError.h @@ -29,35 +29,35 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRelinquishFolderMembershipErrorTag` enum type represents the /// possible tag states with which the /// `DBSHARINGRelinquishFolderMembershipError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFolderMembershipErrorTag) { - /// (no description). - DBSHARINGRelinquishFolderMembershipErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRelinquishFolderMembershipErrorTag){ + /// (no description). + DBSHARINGRelinquishFolderMembershipErrorAccessError, - /// The current user is the owner of the shared folder. Owners cannot - /// relinquish membership to their own folders. Try unsharing or - /// transferring ownership first. - DBSHARINGRelinquishFolderMembershipErrorFolderOwner, + /// The current user is the owner of the shared folder. Owners cannot + /// relinquish membership to their own folders. Try unsharing or + /// transferring ownership first. + DBSHARINGRelinquishFolderMembershipErrorFolderOwner, - /// The shared folder is currently mounted. Unmount the shared folder - /// before relinquishing membership. - DBSHARINGRelinquishFolderMembershipErrorMounted, + /// The shared folder is currently mounted. Unmount the shared folder + /// before relinquishing membership. + DBSHARINGRelinquishFolderMembershipErrorMounted, - /// The current user has access to the shared folder via a group. You can't - /// relinquish membership to folders shared via groups. - DBSHARINGRelinquishFolderMembershipErrorGroupAccess, + /// The current user has access to the shared folder via a group. You can't + /// relinquish membership to folders shared via groups. + DBSHARINGRelinquishFolderMembershipErrorGroupAccess, - /// This action cannot be performed on a team shared folder. - DBSHARINGRelinquishFolderMembershipErrorTeamFolder, + /// This action cannot be performed on a team shared folder. + DBSHARINGRelinquishFolderMembershipErrorTeamFolder, - /// The current user does not have permission to perform this action. - DBSHARINGRelinquishFolderMembershipErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGRelinquishFolderMembershipErrorNoPermission, - /// The current user only has inherited access to the shared folder. You - /// can't relinquish inherited membership to folders. - DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess, + /// The current user only has inherited access to the shared folder. You + /// can't relinquish inherited membership to folders. + DBSHARINGRelinquishFolderMembershipErrorNoExplicitAccess, - /// (no description). - DBSHARINGRelinquishFolderMembershipErrorOther, + /// (no description). + DBSHARINGRelinquishFolderMembershipErrorOther, }; @@ -240,7 +240,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFolderMembershipErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRelinquishFolderMembershipError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRelinquishFolderMembershipError *)instance; /// /// Deserializes `DBSHARINGRelinquishFolderMembershipError` instances. @@ -251,7 +251,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRelinquishFolderMembershipErrorTag) { /// @return An instantiation of the `DBSHARINGRelinquishFolderMembershipError` /// object. /// -+ (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRelinquishFolderMembershipError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberArg.h index bf6ca0ebd..9e3adcc66 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberArg.h @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberArg *)instance; /// /// Deserializes `DBSHARINGRemoveFileMemberArg` instances. @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGRemoveFileMemberArg` object. /// -+ (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRemoveFileMemberArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberError.h index 256cb0623..e3f6c74e7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFileMemberError.h @@ -32,20 +32,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRemoveFileMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveFileMemberError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRemoveFileMemberErrorTag) { - /// (no description). - DBSHARINGRemoveFileMemberErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRemoveFileMemberErrorTag){ + /// (no description). + DBSHARINGRemoveFileMemberErrorUserError, - /// (no description). - DBSHARINGRemoveFileMemberErrorAccessError, + /// (no description). + DBSHARINGRemoveFileMemberErrorAccessError, - /// This member does not have explicit access to the file and therefore - /// cannot be removed. The return value is the access that a user might have - /// to the file from a parent folder. - DBSHARINGRemoveFileMemberErrorNoExplicitAccess, + /// This member does not have explicit access to the file and therefore + /// cannot be removed. The return value is the access that a user might have + /// to the file from a parent folder. + DBSHARINGRemoveFileMemberErrorNoExplicitAccess, - /// (no description). - DBSHARINGRemoveFileMemberErrorOther, + /// (no description). + DBSHARINGRemoveFileMemberErrorOther, }; @@ -176,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveFileMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFileMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFileMemberError *)instance; /// /// Deserializes `DBSHARINGRemoveFileMemberError` instances. @@ -186,7 +186,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveFileMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGRemoveFileMemberError` object. /// -+ (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRemoveFileMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberArg.h index 91c8d3947..9ffa58574 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberArg.h @@ -34,7 +34,8 @@ NS_ASSUME_NONNULL_BEGIN /// If true, the removed user will keep their copy of the folder after it's /// unshared, assuming it was mounted. Otherwise, it will be removed from their -/// Dropbox. Also, this must be set to false when kicking a group. +/// Dropbox. This must be set to false when removing a group, or when the folder +/// is within a team folder or another shared folder. @property (nonatomic, readonly) NSNumber *leaveACopy; #pragma mark - Constructors @@ -46,8 +47,8 @@ NS_ASSUME_NONNULL_BEGIN /// @param member The member to remove from the folder. /// @param leaveACopy If true, the removed user will keep their copy of the /// folder after it's unshared, assuming it was mounted. Otherwise, it will be -/// removed from their Dropbox. Also, this must be set to false when kicking a -/// group. +/// removed from their Dropbox. This must be set to false when removing a group, +/// or when the folder is within a team folder or another shared folder. /// /// @return An initialized instance. /// @@ -75,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGRemoveFolderMemberArg` instances. @@ -85,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGRemoveFolderMemberArg` object. /// -+ (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRemoveFolderMemberArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberError.h index a1ed38e75..cf1d057f2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveFolderMemberError.h @@ -30,32 +30,32 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRemoveFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveFolderMemberError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGRemoveFolderMemberErrorTag) { - /// (no description). - DBSHARINGRemoveFolderMemberErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRemoveFolderMemberErrorTag){ + /// (no description). + DBSHARINGRemoveFolderMemberErrorAccessError, - /// (no description). - DBSHARINGRemoveFolderMemberErrorMemberError, + /// (no description). + DBSHARINGRemoveFolderMemberErrorMemberError, - /// The target user is the owner of the shared folder. You can't remove this - /// user until ownership has been transferred to another member. - DBSHARINGRemoveFolderMemberErrorFolderOwner, + /// The target user is the owner of the shared folder. You can't remove this + /// user until ownership has been transferred to another member. + DBSHARINGRemoveFolderMemberErrorFolderOwner, - /// The target user has access to the shared folder via a group. - DBSHARINGRemoveFolderMemberErrorGroupAccess, + /// The target user has access to the shared folder via a group. + DBSHARINGRemoveFolderMemberErrorGroupAccess, - /// This action cannot be performed on a team shared folder. - DBSHARINGRemoveFolderMemberErrorTeamFolder, + /// This action cannot be performed on a team shared folder. + DBSHARINGRemoveFolderMemberErrorTeamFolder, - /// The current user does not have permission to perform this action. - DBSHARINGRemoveFolderMemberErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGRemoveFolderMemberErrorNoPermission, - /// This shared folder has too many files for leaving a copy. You can still - /// remove this user without leaving a copy. - DBSHARINGRemoveFolderMemberErrorTooManyFiles, + /// This shared folder has too many files for leaving a copy. You can still + /// remove this user without leaving a copy. + DBSHARINGRemoveFolderMemberErrorTooManyFiles, - /// (no description). - DBSHARINGRemoveFolderMemberErrorOther, + /// (no description). + DBSHARINGRemoveFolderMemberErrorOther, }; @@ -240,7 +240,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveFolderMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveFolderMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRemoveFolderMemberError *)instance; /// /// Deserializes `DBSHARINGRemoveFolderMemberError` instances. @@ -250,7 +250,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveFolderMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGRemoveFolderMemberError` object. /// -+ (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRemoveFolderMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveMemberJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveMemberJobStatus.h index 9b81735eb..bb910a49c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveMemberJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRemoveMemberJobStatus.h @@ -29,16 +29,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRemoveMemberJobStatusTag` enum type represents the possible /// tag states with which the `DBSHARINGRemoveMemberJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRemoveMemberJobStatusTag) { - /// The asynchronous job is still in progress. - DBSHARINGRemoveMemberJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRemoveMemberJobStatusTag){ + /// The asynchronous job is still in progress. + DBSHARINGRemoveMemberJobStatusInProgress, - /// Removing the folder member has finished. The value is information about - /// whether the member has another form of access. - DBSHARINGRemoveMemberJobStatusComplete, + /// Removing the folder member has finished. The value is information about + /// whether the member has another form of access. + DBSHARINGRemoveMemberJobStatusComplete, - /// (no description). - DBSHARINGRemoveMemberJobStatusFailed, + /// (no description). + DBSHARINGRemoveMemberJobStatusFailed, }; @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveMemberJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRemoveMemberJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRemoveMemberJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRemoveMemberJobStatus *)instance; /// /// Deserializes `DBSHARINGRemoveMemberJobStatus` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRemoveMemberJobStatusTag) { /// /// @return An instantiation of the `DBSHARINGRemoveMemberJobStatus` object. /// -+ (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRemoveMemberJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedLinkAccessLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedLinkAccessLevel.h new file mode 100644 index 000000000..8139c6554 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedLinkAccessLevel.h @@ -0,0 +1,180 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGRequestedLinkAccessLevel; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RequestedLinkAccessLevel` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGRequestedLinkAccessLevel : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGRequestedLinkAccessLevelTag` enum type represents the possible +/// tag states with which the `DBSHARINGRequestedLinkAccessLevel` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRequestedLinkAccessLevelTag){ + /// Users who use the link can view and comment on the content. + DBSHARINGRequestedLinkAccessLevelViewer, + + /// Users who use the link can edit, view and comment on the content. Note + /// not all file types support edit links yet. + DBSHARINGRequestedLinkAccessLevelEditor, + + /// Request for the maximum access level you can set the link to. + DBSHARINGRequestedLinkAccessLevelMax, + + /// Request for the default access level the user has set. + DBSHARINGRequestedLinkAccessLevelDefault_, + + /// (no description). + DBSHARINGRequestedLinkAccessLevelOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGRequestedLinkAccessLevelTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "viewer". +/// +/// Description of the "viewer" tag state: Users who use the link can view and +/// comment on the content. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithViewer; + +/// +/// Initializes union class with tag state of "editor". +/// +/// Description of the "editor" tag state: Users who use the link can edit, view +/// and comment on the content. Note not all file types support edit links yet. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEditor; + +/// +/// Initializes union class with tag state of "max". +/// +/// Description of the "max" tag state: Request for the maximum access level you +/// can set the link to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMax; + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: Request for the default access level +/// the user has set. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "viewer". +/// +/// @return Whether the union's current tag state has value "viewer". +/// +- (BOOL)isViewer; + +/// +/// Retrieves whether the union's current tag state has value "editor". +/// +/// @return Whether the union's current tag state has value "editor". +/// +- (BOOL)isEditor; + +/// +/// Retrieves whether the union's current tag state has value "max". +/// +/// @return Whether the union's current tag state has value "max". +/// +- (BOOL)isMax; + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGRequestedLinkAccessLevel` union. +/// +@interface DBSHARINGRequestedLinkAccessLevelSerializer : NSObject + +/// +/// Serializes `DBSHARINGRequestedLinkAccessLevel` instances. +/// +/// @param instance An instance of the `DBSHARINGRequestedLinkAccessLevel` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGRequestedLinkAccessLevel` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGRequestedLinkAccessLevel *)instance; + +/// +/// Deserializes `DBSHARINGRequestedLinkAccessLevel` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGRequestedLinkAccessLevel` API object. +/// +/// @return An instantiation of the `DBSHARINGRequestedLinkAccessLevel` object. +/// ++ (DBSHARINGRequestedLinkAccessLevel *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedVisibility.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedVisibility.h index febd0ec78..f16fb313f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedVisibility.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRequestedVisibility.h @@ -33,16 +33,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRequestedVisibilityTag` enum type represents the possible tag /// states with which the `DBSHARINGRequestedVisibility` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRequestedVisibilityTag) { - /// Anyone who has received the link can access it. No login required. - DBSHARINGRequestedVisibilityPublic, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRequestedVisibilityTag){ + /// Anyone who has received the link can access it. No login required. + DBSHARINGRequestedVisibilityPublic, - /// Only members of the same team can access the link. Login is required. - DBSHARINGRequestedVisibilityTeamOnly, + /// Only members of the same team can access the link. Login is required. + DBSHARINGRequestedVisibilityTeamOnly, - /// A link-specific password is required to access the link. Login is not - /// required. - DBSHARINGRequestedVisibilityPassword, + /// A link-specific password is required to access the link. Login is not + /// required. + DBSHARINGRequestedVisibilityPassword, }; @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRequestedVisibilityTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRequestedVisibility` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRequestedVisibility *)instance; /// /// Deserializes `DBSHARINGRequestedVisibility` instances. @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRequestedVisibilityTag) { /// /// @return An instantiation of the `DBSHARINGRequestedVisibility` object. /// -+ (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRequestedVisibility *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGResolvedVisibility.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGResolvedVisibility.h index c4fc05d3c..99ebf250e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGResolvedVisibility.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGResolvedVisibility.h @@ -32,27 +32,36 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGResolvedVisibilityTag` enum type represents the possible tag /// states with which the `DBSHARINGResolvedVisibility` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag) { - /// Anyone who has received the link can access it. No login required. - DBSHARINGResolvedVisibilityPublic, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag){ + /// Anyone who has received the link can access it. No login required. + DBSHARINGResolvedVisibilityPublic, - /// Only members of the same team can access the link. Login is required. - DBSHARINGResolvedVisibilityTeamOnly, + /// Only members of the same team can access the link. Login is required. + DBSHARINGResolvedVisibilityTeamOnly, - /// A link-specific password is required to access the link. Login is not - /// required. - DBSHARINGResolvedVisibilityPassword, + /// A link-specific password is required to access the link. Login is not + /// required. + DBSHARINGResolvedVisibilityPassword, - /// Only members of the same team who have the link-specific password can - /// access the link. Login is required. - DBSHARINGResolvedVisibilityTeamAndPassword, + /// Only members of the same team who have the link-specific password can + /// access the link. Login is required. + DBSHARINGResolvedVisibilityTeamAndPassword, - /// Only members of the shared folder containing the linked file can access - /// the link. Login is required. - DBSHARINGResolvedVisibilitySharedFolderOnly, + /// Only members of the shared folder containing the linked file can access + /// the link. Login is required. + DBSHARINGResolvedVisibilitySharedFolderOnly, - /// (no description). - DBSHARINGResolvedVisibilityOther, + /// The link merely points the user to the content, and does not grant any + /// additional rights. Existing members of the content who use this link can + /// only access the content with their pre-existing access rights. Either on + /// the file directly, or inherited from a parent folder. + DBSHARINGResolvedVisibilityNoOne, + + /// Only the current user can view this link. + DBSHARINGResolvedVisibilityOnlyYou, + + /// (no description). + DBSHARINGResolvedVisibilityOther, }; @@ -113,6 +122,29 @@ typedef NS_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag) { /// - (instancetype)initWithSharedFolderOnly; +/// +/// Initializes union class with tag state of "no_one". +/// +/// Description of the "no_one" tag state: The link merely points the user to +/// the content, and does not grant any additional rights. Existing members of +/// the content who use this link can only access the content with their +/// pre-existing access rights. Either on the file directly, or inherited from a +/// parent folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoOne; + +/// +/// Initializes union class with tag state of "only_you". +/// +/// Description of the "only_you" tag state: Only the current user can view this +/// link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOnlyYou; + /// /// Initializes union class with tag state of "other". /// @@ -162,6 +194,20 @@ typedef NS_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag) { /// - (BOOL)isSharedFolderOnly; +/// +/// Retrieves whether the union's current tag state has value "no_one". +/// +/// @return Whether the union's current tag state has value "no_one". +/// +- (BOOL)isNoOne; + +/// +/// Retrieves whether the union's current tag state has value "only_you". +/// +/// @return Whether the union's current tag state has value "only_you". +/// +- (BOOL)isOnlyYou; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -193,7 +239,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGResolvedVisibility` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGResolvedVisibility *)instance; /// /// Deserializes `DBSHARINGResolvedVisibility` instances. @@ -203,7 +249,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGResolvedVisibilityTag) { /// /// @return An instantiation of the `DBSHARINGResolvedVisibility` object. /// -+ (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGResolvedVisibility *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkArg.h index 8d2d95a84..2e52c9369 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkArg *)instance; /// /// Deserializes `DBSHARINGRevokeSharedLinkArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGRevokeSharedLinkArg` object. /// -+ (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRevokeSharedLinkArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkError.h index e7a7d4829..de9953c84 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGRevokeSharedLinkError.h @@ -27,21 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGRevokeSharedLinkErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGRevokeSharedLinkError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag) { - /// The shared link wasn't found. - DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag){ + /// The shared link wasn't found. + DBSHARINGRevokeSharedLinkErrorSharedLinkNotFound, - /// The caller is not allowed to access this shared link. - DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied, + /// The caller is not allowed to access this shared link. + DBSHARINGRevokeSharedLinkErrorSharedLinkAccessDenied, - /// This type of link is not supported. - DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType, + /// This type of link is not supported; use `files` instead. + DBSHARINGRevokeSharedLinkErrorUnsupportedLinkType, - /// (no description). - DBSHARINGRevokeSharedLinkErrorOther, + /// (no description). + DBSHARINGRevokeSharedLinkErrorOther, - /// Shared link is malformed. - DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed, + /// Shared link is malformed. + DBSHARINGRevokeSharedLinkErrorSharedLinkMalformed, }; @@ -74,7 +74,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag) { /// Initializes union class with tag state of "unsupported_link_type". /// /// Description of the "unsupported_link_type" tag state: This type of link is -/// not supported. +/// not supported; use `files` instead. /// /// @return An initialized instance. /// @@ -169,7 +169,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGRevokeSharedLinkError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGRevokeSharedLinkError *)instance; /// /// Deserializes `DBSHARINGRevokeSharedLinkError` instances. @@ -179,7 +179,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGRevokeSharedLinkErrorTag) { /// /// @return An instantiation of the `DBSHARINGRevokeSharedLinkError` object. /// -+ (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGRevokeSharedLinkError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceArg.h new file mode 100644 index 000000000..6f127b373 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceArg.h @@ -0,0 +1,92 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessInheritance; +@class DBSHARINGSetAccessInheritanceArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SetAccessInheritanceArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGSetAccessInheritanceArg : NSObject + +#pragma mark - Instance fields + +/// The access inheritance settings for the folder. +@property (nonatomic, readonly) DBSHARINGAccessInheritance *accessInheritance; + +/// The ID for the shared folder. +@property (nonatomic, readonly, copy) NSString *sharedFolderId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedFolderId The ID for the shared folder. +/// @param accessInheritance The access inheritance settings for the folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedFolderId The ID for the shared folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderId:(NSString *)sharedFolderId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SetAccessInheritanceArg` struct. +/// +@interface DBSHARINGSetAccessInheritanceArgSerializer : NSObject + +/// +/// Serializes `DBSHARINGSetAccessInheritanceArg` instances. +/// +/// @param instance An instance of the `DBSHARINGSetAccessInheritanceArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGSetAccessInheritanceArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceArg *)instance; + +/// +/// Deserializes `DBSHARINGSetAccessInheritanceArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGSetAccessInheritanceArg` API object. +/// +/// @return An instantiation of the `DBSHARINGSetAccessInheritanceArg` object. +/// ++ (DBSHARINGSetAccessInheritanceArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceError.h new file mode 100644 index 000000000..32f564e2e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSetAccessInheritanceError.h @@ -0,0 +1,148 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGSetAccessInheritanceError; +@class DBSHARINGSharedFolderAccessError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SetAccessInheritanceError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGSetAccessInheritanceError : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGSetAccessInheritanceErrorTag` enum type represents the +/// possible tag states with which the `DBSHARINGSetAccessInheritanceError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSetAccessInheritanceErrorTag){ + /// Unable to access shared folder. + DBSHARINGSetAccessInheritanceErrorAccessError, + + /// The current user does not have permission to perform this action. + DBSHARINGSetAccessInheritanceErrorNoPermission, + + /// (no description). + DBSHARINGSetAccessInheritanceErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGSetAccessInheritanceErrorTag tag; + +/// Unable to access shared folder. @note Ensure the `isAccessError` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBSHARINGSharedFolderAccessError *accessError; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "access_error". +/// +/// Description of the "access_error" tag state: Unable to access shared folder. +/// +/// @param accessError Unable to access shared folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessError:(DBSHARINGSharedFolderAccessError *)accessError; + +/// +/// Initializes union class with tag state of "no_permission". +/// +/// Description of the "no_permission" tag state: The current user does not have +/// permission to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPermission; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "access_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `accessError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "access_error". +/// +- (BOOL)isAccessError; + +/// +/// Retrieves whether the union's current tag state has value "no_permission". +/// +/// @return Whether the union's current tag state has value "no_permission". +/// +- (BOOL)isNoPermission; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGSetAccessInheritanceError` union. +/// +@interface DBSHARINGSetAccessInheritanceErrorSerializer : NSObject + +/// +/// Serializes `DBSHARINGSetAccessInheritanceError` instances. +/// +/// @param instance An instance of the `DBSHARINGSetAccessInheritanceError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGSetAccessInheritanceError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGSetAccessInheritanceError *)instance; + +/// +/// Deserializes `DBSHARINGSetAccessInheritanceError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGSetAccessInheritanceError` API object. +/// +/// @return An instantiation of the `DBSHARINGSetAccessInheritanceError` object. +/// ++ (DBSHARINGSetAccessInheritanceError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArg.h index 1df0a8ac0..588e084b8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArg.h @@ -9,6 +9,7 @@ #import "DBSHARINGShareFolderArgBase.h" #import "DBSerializableProtocol.h" +@class DBSHARINGAccessInheritance; @class DBSHARINGAclUpdatePolicy; @class DBSHARINGFolderAction; @class DBSHARINGLinkSettings; @@ -46,8 +47,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param path The path to the folder to share. If it does not exist, then a -/// new one is created. +/// @param path The path or the file id to the folder to share. If it does not +/// exist, then a new one is created. /// @param aclUpdatePolicy Who can add and remove members of this shared folder. /// @param forceAsync Whether to force the share to happen asynchronously. /// @param memberPolicy Who can be a member of this shared folder. Only @@ -57,6 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// set this policy to `members` in `DBSHARINGSharedLinkPolicy`. /// @param viewerInfoPolicy Who can enable/disable viewer info for this shared /// folder. +/// @param accessInheritance The access inheritance settings for the folder. /// @param actions A list of `FolderAction`s corresponding to /// `FolderPermission`s that should appear in the response's `permissions` in /// `DBSHARINGSharedFolderMetadata` field describing the actions the @@ -71,6 +73,7 @@ NS_ASSUME_NONNULL_BEGIN memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance actions:(nullable NSArray *)actions linkSettings:(nullable DBSHARINGLinkSettings *)linkSettings; @@ -78,8 +81,8 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param path The path to the folder to share. If it does not exist, then a -/// new one is created. +/// @param path The path or the file id to the folder to share. If it does not +/// exist, then a new one is created. /// /// @return An initialized instance. /// @@ -102,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArg *)instance; /// /// Deserializes `DBSHARINGShareFolderArg` instances. @@ -112,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGShareFolderArg` object. /// -+ (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArgBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArgBase.h index 17761505e..3fd73e82b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArgBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderArgBase.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessInheritance; @class DBSHARINGAclUpdatePolicy; @class DBSHARINGMemberPolicy; @class DBSHARINGShareFolderArgBase; @@ -39,8 +40,8 @@ NS_ASSUME_NONNULL_BEGIN /// user is on a team. @property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *memberPolicy; -/// The path to the folder to share. If it does not exist, then a new one is -/// created. +/// The path or the file id to the folder to share. If it does not exist, then a +/// new one is created. @property (nonatomic, readonly, copy) NSString *path; /// The policy to apply to shared links created for content inside this shared @@ -51,13 +52,16 @@ NS_ASSUME_NONNULL_BEGIN /// Who can enable/disable viewer info for this shared folder. @property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *viewerInfoPolicy; +/// The access inheritance settings for the folder. +@property (nonatomic, readonly) DBSHARINGAccessInheritance *accessInheritance; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param path The path to the folder to share. If it does not exist, then a -/// new one is created. +/// @param path The path or the file id to the folder to share. If it does not +/// exist, then a new one is created. /// @param aclUpdatePolicy Who can add and remove members of this shared folder. /// @param forceAsync Whether to force the share to happen asynchronously. /// @param memberPolicy Who can be a member of this shared folder. Only @@ -67,6 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// set this policy to `members` in `DBSHARINGSharedLinkPolicy`. /// @param viewerInfoPolicy Who can enable/disable viewer info for this shared /// folder. +/// @param accessInheritance The access inheritance settings for the folder. /// /// @return An initialized instance. /// @@ -75,14 +80,15 @@ NS_ASSUME_NONNULL_BEGIN forceAsync:(nullable NSNumber *)forceAsync memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy - viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy; + viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param path The path to the folder to share. If it does not exist, then a -/// new one is created. +/// @param path The path or the file id to the folder to share. If it does not +/// exist, then a new one is created. /// /// @return An initialized instance. /// @@ -107,7 +113,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderArgBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderArgBase *)instance; /// /// Deserializes `DBSHARINGShareFolderArgBase` instances. @@ -117,7 +123,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGShareFolderArgBase` object. /// -+ (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderArgBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderError.h index d1496502b..def3da0cb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderError.h @@ -28,26 +28,28 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGShareFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorTag) { - /// The current user's e-mail address is unverified. - DBSHARINGShareFolderErrorEmailUnverified, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGShareFolderErrorTag){ + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGShareFolderErrorEmailUnverified, - /// `path` in `DBSHARINGShareFolderArg` is invalid. - DBSHARINGShareFolderErrorBadPath, + /// `path` in `DBSHARINGShareFolderArg` is invalid. + DBSHARINGShareFolderErrorBadPath, - /// Team policy is more restrictive than `memberPolicy` in - /// `DBSHARINGShareFolderArg`. - DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy, + /// Team policy is more restrictive than `memberPolicy` in + /// `DBSHARINGShareFolderArg`. + DBSHARINGShareFolderErrorTeamPolicyDisallowsMemberPolicy, - /// The current user's account is not allowed to select the specified - /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. - DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy, + /// The current user's account is not allowed to select the specified + /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. + DBSHARINGShareFolderErrorDisallowedSharedLinkPolicy, - /// (no description). - DBSHARINGShareFolderErrorOther, + /// (no description). + DBSHARINGShareFolderErrorOther, - /// The current user does not have permission to perform this action. - DBSHARINGShareFolderErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGShareFolderErrorNoPermission, }; @@ -64,8 +66,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorTag) { /// /// Initializes union class with tag state of "email_unverified". /// -/// Description of the "email_unverified" tag state: The current user's e-mail -/// address is unverified. +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -200,7 +204,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderError *)instance; /// /// Deserializes `DBSHARINGShareFolderError` instances. @@ -210,7 +214,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorTag) { /// /// @return An instantiation of the `DBSHARINGShareFolderError` object. /// -+ (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderErrorBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderErrorBase.h index d0816f822..885b87e1c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderErrorBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderErrorBase.h @@ -28,23 +28,25 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGShareFolderErrorBaseTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderErrorBase` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorBaseTag) { - /// The current user's e-mail address is unverified. - DBSHARINGShareFolderErrorBaseEmailUnverified, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGShareFolderErrorBaseTag){ + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGShareFolderErrorBaseEmailUnverified, - /// `path` in `DBSHARINGShareFolderArg` is invalid. - DBSHARINGShareFolderErrorBaseBadPath, + /// `path` in `DBSHARINGShareFolderArg` is invalid. + DBSHARINGShareFolderErrorBaseBadPath, - /// Team policy is more restrictive than `memberPolicy` in - /// `DBSHARINGShareFolderArg`. - DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy, + /// Team policy is more restrictive than `memberPolicy` in + /// `DBSHARINGShareFolderArg`. + DBSHARINGShareFolderErrorBaseTeamPolicyDisallowsMemberPolicy, - /// The current user's account is not allowed to select the specified - /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. - DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy, + /// The current user's account is not allowed to select the specified + /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. + DBSHARINGShareFolderErrorBaseDisallowedSharedLinkPolicy, - /// (no description). - DBSHARINGShareFolderErrorBaseOther, + /// (no description). + DBSHARINGShareFolderErrorBaseOther, }; @@ -61,8 +63,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorBaseTag) { /// /// Initializes union class with tag state of "email_unverified". /// -/// Description of the "email_unverified" tag state: The current user's e-mail -/// address is unverified. +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -181,7 +185,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorBaseTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderErrorBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderErrorBase *)instance; /// /// Deserializes `DBSHARINGShareFolderErrorBase` instances. @@ -191,7 +195,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderErrorBaseTag) { /// /// @return An instantiation of the `DBSHARINGShareFolderErrorBase` object. /// -+ (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderErrorBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderJobStatus.h index c17ff6c80..85c30bfc3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderJobStatus.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGShareFolderJobStatusTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGShareFolderJobStatusTag) { - /// The asynchronous job is still in progress. - DBSHARINGShareFolderJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGShareFolderJobStatusTag){ + /// The asynchronous job is still in progress. + DBSHARINGShareFolderJobStatusInProgress, - /// The share job has finished. The value is the metadata for the folder. - DBSHARINGShareFolderJobStatusComplete, + /// The share job has finished. The value is the metadata for the folder. + DBSHARINGShareFolderJobStatusComplete, - /// (no description). - DBSHARINGShareFolderJobStatusFailed, + /// (no description). + DBSHARINGShareFolderJobStatusFailed, }; @@ -143,7 +143,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderJobStatus *)instance; /// /// Deserializes `DBSHARINGShareFolderJobStatus` instances. @@ -153,7 +153,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderJobStatusTag) { /// /// @return An instantiation of the `DBSHARINGShareFolderJobStatus` object. /// -+ (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderLaunch.h index 6b4dc5509..8181cbd7a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGShareFolderLaunch.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGShareFolderLaunchTag` enum type represents the possible tag /// states with which the `DBSHARINGShareFolderLaunch` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGShareFolderLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBSHARINGShareFolderLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGShareFolderLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBSHARINGShareFolderLaunchAsyncJobId, - /// (no description). - DBSHARINGShareFolderLaunchComplete, + /// (no description). + DBSHARINGShareFolderLaunchComplete, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGShareFolderLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGShareFolderLaunch *)instance; /// /// Deserializes `DBSHARINGShareFolderLaunch` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGShareFolderLaunchTag) { /// /// @return An instantiation of the `DBSHARINGShareFolderLaunch` object. /// -+ (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGShareFolderLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharePathError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharePathError.h index d9b7827d2..79b16e74a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharePathError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharePathError.h @@ -28,50 +28,59 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharePathErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharePathError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharePathErrorTag) { - /// A file is at the specified path. - DBSHARINGSharePathErrorIsFile, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharePathErrorTag){ + /// A file is at the specified path. + DBSHARINGSharePathErrorIsFile, - /// We do not support sharing a folder inside a shared folder. - DBSHARINGSharePathErrorInsideSharedFolder, + /// We do not support sharing a folder inside a shared folder. + DBSHARINGSharePathErrorInsideSharedFolder, - /// We do not support shared folders that contain shared folders. - DBSHARINGSharePathErrorContainsSharedFolder, + /// We do not support shared folders that contain shared folders. + DBSHARINGSharePathErrorContainsSharedFolder, - /// We do not support shared folders that contain app folders. - DBSHARINGSharePathErrorContainsAppFolder, + /// We do not support shared folders that contain app folders. + DBSHARINGSharePathErrorContainsAppFolder, - /// We do not support shared folders that contain team folders. - DBSHARINGSharePathErrorContainsTeamFolder, + /// We do not support shared folders that contain team folders. + DBSHARINGSharePathErrorContainsTeamFolder, - /// We do not support sharing an app folder. - DBSHARINGSharePathErrorIsAppFolder, + /// We do not support sharing an app folder. + DBSHARINGSharePathErrorIsAppFolder, - /// We do not support sharing a folder inside an app folder. - DBSHARINGSharePathErrorInsideAppFolder, + /// We do not support sharing a folder inside an app folder. + DBSHARINGSharePathErrorInsideAppFolder, - /// A public folder can't be shared this way. Use a public link instead. - DBSHARINGSharePathErrorIsPublicFolder, + /// A public folder can't be shared this way. Use a public link instead. + DBSHARINGSharePathErrorIsPublicFolder, - /// A folder inside a public folder can't be shared this way. Use a public - /// link instead. - DBSHARINGSharePathErrorInsidePublicFolder, + /// A folder inside a public folder can't be shared this way. Use a public + /// link instead. + DBSHARINGSharePathErrorInsidePublicFolder, - /// Folder is already shared. Contains metadata about the existing shared - /// folder. - DBSHARINGSharePathErrorAlreadyShared, + /// Folder is already shared. Contains metadata about the existing shared + /// folder. + DBSHARINGSharePathErrorAlreadyShared, - /// Path is not valid. - DBSHARINGSharePathErrorInvalidPath, + /// Path is not valid. + DBSHARINGSharePathErrorInvalidPath, - /// We do not support sharing a Mac OS X package. - DBSHARINGSharePathErrorIsOsxPackage, + /// We do not support sharing a Mac OS X package. + DBSHARINGSharePathErrorIsOsxPackage, - /// We do not support sharing a folder inside a Mac OS X package. - DBSHARINGSharePathErrorInsideOsxPackage, + /// We do not support sharing a folder inside a Mac OS X package. + DBSHARINGSharePathErrorInsideOsxPackage, - /// (no description). - DBSHARINGSharePathErrorOther, + /// We do not support sharing the Vault folder. + DBSHARINGSharePathErrorIsVault, + + /// We do not support sharing a folder inside a locked Vault. + DBSHARINGSharePathErrorIsVaultLocked, + + /// We do not support sharing the Family folder. + DBSHARINGSharePathErrorIsFamily, + + /// (no description). + DBSHARINGSharePathErrorOther, }; @@ -216,6 +225,36 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharePathErrorTag) { /// - (instancetype)initWithInsideOsxPackage; +/// +/// Initializes union class with tag state of "is_vault". +/// +/// Description of the "is_vault" tag state: We do not support sharing the Vault +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsVault; + +/// +/// Initializes union class with tag state of "is_vault_locked". +/// +/// Description of the "is_vault_locked" tag state: We do not support sharing a +/// folder inside a locked Vault. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsVaultLocked; + +/// +/// Initializes union class with tag state of "is_family". +/// +/// Description of the "is_family" tag state: We do not support sharing the +/// Family folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsFamily; + /// /// Initializes union class with tag state of "other". /// @@ -335,6 +374,27 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharePathErrorTag) { /// - (BOOL)isInsideOsxPackage; +/// +/// Retrieves whether the union's current tag state has value "is_vault". +/// +/// @return Whether the union's current tag state has value "is_vault". +/// +- (BOOL)isIsVault; + +/// +/// Retrieves whether the union's current tag state has value "is_vault_locked". +/// +/// @return Whether the union's current tag state has value "is_vault_locked". +/// +- (BOOL)isIsVaultLocked; + +/// +/// Retrieves whether the union's current tag state has value "is_family". +/// +/// @return Whether the union's current tag state has value "is_family". +/// +- (BOOL)isIsFamily; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -366,7 +426,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharePathErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharePathError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharePathError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharePathError *)instance; /// /// Deserializes `DBSHARINGSharePathError` instances. @@ -376,7 +436,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharePathErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharePathError` object. /// -+ (DBSHARINGSharePathError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharePathError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadata.h index c7d191759..b07bd1e3d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadata.h @@ -121,7 +121,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadata *)instance; /// /// Deserializes `DBSHARINGSharedContentLinkMetadata` instances. @@ -131,7 +131,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedContentLinkMetadata` object. /// -+ (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedContentLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadataBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadataBase.h index f8727f41d..9c479efc5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadataBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedContentLinkMetadataBase.h @@ -128,7 +128,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedContentLinkMetadataBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedContentLinkMetadataBase *)instance; /// /// Deserializes `DBSHARINGSharedContentLinkMetadataBase` instances. @@ -139,7 +139,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBSHARINGSharedContentLinkMetadataBase` /// object. /// -+ (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedContentLinkMetadataBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMembers.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMembers.h index 6cc70d178..e967185bf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMembers.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMembers.h @@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMembers` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMembers *)instance; /// /// Deserializes `DBSHARINGSharedFileMembers` instances. @@ -111,7 +111,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedFileMembers` object. /// -+ (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFileMembers *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMetadata.h index 7afe57978..ce8f6b07e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFileMetadata.h @@ -179,7 +179,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFileMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFileMetadata *)instance; /// /// Deserializes `DBSHARINGSharedFileMetadata` instances. @@ -189,7 +189,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedFileMetadata` object. /// -+ (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFileMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderAccessError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderAccessError.h index d991497aa..d5f565ad2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderAccessError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderAccessError.h @@ -30,21 +30,24 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedFolderAccessErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedFolderAccessError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag) { - /// This shared folder ID is invalid. - DBSHARINGSharedFolderAccessErrorInvalidId, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag){ + /// This shared folder ID is invalid. + DBSHARINGSharedFolderAccessErrorInvalidId, - /// The user is not a member of the shared folder thus cannot access it. - DBSHARINGSharedFolderAccessErrorNotAMember, + /// The user is not a member of the shared folder thus cannot access it. + DBSHARINGSharedFolderAccessErrorNotAMember, - /// The current user's e-mail address is unverified. - DBSHARINGSharedFolderAccessErrorEmailUnverified, + /// The user does not exist or their account is disabled. + DBSHARINGSharedFolderAccessErrorInvalidMember, - /// The shared folder is unmounted. - DBSHARINGSharedFolderAccessErrorUnmounted, + /// Never set. + DBSHARINGSharedFolderAccessErrorEmailUnverified, - /// (no description). - DBSHARINGSharedFolderAccessErrorOther, + /// The shared folder is unmounted. + DBSHARINGSharedFolderAccessErrorUnmounted, + + /// (no description). + DBSHARINGSharedFolderAccessErrorOther, }; @@ -72,11 +75,20 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag) { /// - (instancetype)initWithNotAMember; +/// +/// Initializes union class with tag state of "invalid_member". +/// +/// Description of the "invalid_member" tag state: The user does not exist or +/// their account is disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidMember; + /// /// Initializes union class with tag state of "email_unverified". /// -/// Description of the "email_unverified" tag state: The current user's e-mail -/// address is unverified. +/// Description of the "email_unverified" tag state: Never set. /// /// @return An initialized instance. /// @@ -116,6 +128,13 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag) { /// - (BOOL)isNotAMember; +/// +/// Retrieves whether the union's current tag state has value "invalid_member". +/// +/// @return Whether the union's current tag state has value "invalid_member". +/// +- (BOOL)isInvalidMember; + /// /// Retrieves whether the union's current tag state has value /// "email_unverified". @@ -163,7 +182,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderAccessError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderAccessError *)instance; /// /// Deserializes `DBSHARINGSharedFolderAccessError` instances. @@ -173,7 +192,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderAccessErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharedFolderAccessError` object. /// -+ (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFolderAccessError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMemberError.h index 2cb0082ee..f10742bd4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMemberError.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedFolderMemberError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderMemberErrorTag) { - /// The target dropbox_id is invalid. - DBSHARINGSharedFolderMemberErrorInvalidDropboxId, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedFolderMemberErrorTag){ + /// The target dropbox_id is invalid. + DBSHARINGSharedFolderMemberErrorInvalidDropboxId, - /// The target dropbox_id is not a member of the shared folder. - DBSHARINGSharedFolderMemberErrorNotAMember, + /// The target dropbox_id is not a member of the shared folder. + DBSHARINGSharedFolderMemberErrorNotAMember, - /// The target member only has inherited access to the shared folder. - DBSHARINGSharedFolderMemberErrorNoExplicitAccess, + /// The target member only has inherited access to the shared folder. + DBSHARINGSharedFolderMemberErrorNoExplicitAccess, - /// (no description). - DBSHARINGSharedFolderMemberErrorOther, + /// (no description). + DBSHARINGSharedFolderMemberErrorOther, }; @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMemberError *)instance; /// /// Deserializes `DBSHARINGSharedFolderMemberError` instances. @@ -168,7 +168,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedFolderMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharedFolderMemberError` object. /// -+ (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFolderMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMembers.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMembers.h index 18322a3c6..33758f860 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMembers.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMembers.h @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMembers` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMembers *)instance; /// /// Deserializes `DBSHARINGSharedFolderMembers` instances. @@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedFolderMembers` object. /// -+ (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFolderMembers *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadata.h index 65db6676d..354b6a1c8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadata.h @@ -9,6 +9,7 @@ #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBSerializableProtocol.h" +@class DBSHARINGAccessInheritance; @class DBSHARINGAccessLevel; @class DBSHARINGFolderPermission; @class DBSHARINGFolderPolicy; @@ -58,6 +59,9 @@ NS_ASSUME_NONNULL_BEGIN /// folder. @property (nonatomic, readonly) NSDate *timeInvited; +/// Whether the folder inherits its members from its parent. +@property (nonatomic, readonly) DBSHARINGAccessInheritance *accessInheritance; + #pragma mark - Constructors /// @@ -80,14 +84,19 @@ NS_ASSUME_NONNULL_BEGIN /// the folder is not owned by a team. /// @param parentSharedFolderId The ID of the parent shared folder. This field /// is present only if the folder is contained within another shared folder. +/// @param pathDisplay The full path of this shared folder. Absent for unmounted +/// folders. /// @param pathLower The lower-cased full path of this shared folder. Absent for /// unmounted folders. +/// @param parentFolderName Display name for the parent folder. /// @param linkMetadata The metadata of the shared content link to this shared /// folder. Absent if there is no link on the folder. This is for an unreleased /// feature so it may not be returned yet. /// @param permissions Actions the current user may perform on the folder and /// its contents. The set of permissions corresponds to the FolderActions in the /// request. +/// @param accessInheritance Whether the folder inherits its members from its +/// parent. /// /// @return An initialized instance. /// @@ -102,9 +111,12 @@ NS_ASSUME_NONNULL_BEGIN ownerDisplayNames:(nullable NSArray *)ownerDisplayNames ownerTeam:(nullable DBUSERSTeam *)ownerTeam parentSharedFolderId:(nullable NSString *)parentSharedFolderId + pathDisplay:(nullable NSString *)pathDisplay pathLower:(nullable NSString *)pathLower + parentFolderName:(nullable NSString *)parentFolderName linkMetadata:(nullable DBSHARINGSharedContentLinkMetadata *)linkMetadata - permissions:(nullable NSArray *)permissions; + permissions:(nullable NSArray *)permissions + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -150,7 +162,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadata *)instance; /// /// Deserializes `DBSHARINGSharedFolderMetadata` instances. @@ -160,7 +172,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedFolderMetadata` object. /// -+ (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFolderMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadataBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadataBase.h index 49b41ab37..809077853 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadataBase.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedFolderMetadataBase.h @@ -51,10 +51,16 @@ NS_ASSUME_NONNULL_BEGIN /// is contained within another shared folder. @property (nonatomic, readonly, copy, nullable) NSString *parentSharedFolderId; +/// The full path of this shared folder. Absent for unmounted folders. +@property (nonatomic, readonly, copy, nullable) NSString *pathDisplay; + /// The lower-cased full path of this shared folder. Absent for unmounted /// folders. @property (nonatomic, readonly, copy, nullable) NSString *pathLower; +/// Display name for the parent folder. +@property (nonatomic, readonly, copy, nullable) NSString *parentFolderName; + #pragma mark - Constructors /// @@ -71,8 +77,11 @@ NS_ASSUME_NONNULL_BEGIN /// the folder is not owned by a team. /// @param parentSharedFolderId The ID of the parent shared folder. This field /// is present only if the folder is contained within another shared folder. +/// @param pathDisplay The full path of this shared folder. Absent for unmounted +/// folders. /// @param pathLower The lower-cased full path of this shared folder. Absent for /// unmounted folders. +/// @param parentFolderName Display name for the parent folder. /// /// @return An initialized instance. /// @@ -82,7 +91,9 @@ NS_ASSUME_NONNULL_BEGIN ownerDisplayNames:(nullable NSArray *)ownerDisplayNames ownerTeam:(nullable DBUSERSTeam *)ownerTeam parentSharedFolderId:(nullable NSString *)parentSharedFolderId - pathLower:(nullable NSString *)pathLower; + pathDisplay:(nullable NSString *)pathDisplay + pathLower:(nullable NSString *)pathLower + parentFolderName:(nullable NSString *)parentFolderName; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -119,7 +130,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedFolderMetadataBase` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedFolderMetadataBase *)instance; /// /// Deserializes `DBSHARINGSharedFolderMetadataBase` instances. @@ -129,7 +140,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedFolderMetadataBase` object. /// -+ (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedFolderMetadataBase *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAccessFailureReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAccessFailureReason.h index 4db56f575..0316ad4b4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAccessFailureReason.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAccessFailureReason.h @@ -28,24 +28,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedLinkAccessFailureReasonTag` enum type represents the /// possible tag states with which the `DBSHARINGSharedLinkAccessFailureReason` /// union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag) { - /// User is not logged in. - DBSHARINGSharedLinkAccessFailureReasonLoginRequired, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag){ + /// User is not logged in. + DBSHARINGSharedLinkAccessFailureReasonLoginRequired, - /// User's email is not verified. - DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired, + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGSharedLinkAccessFailureReasonEmailVerifyRequired, - /// The link is password protected. - DBSHARINGSharedLinkAccessFailureReasonPasswordRequired, + /// The link is password protected. + DBSHARINGSharedLinkAccessFailureReasonPasswordRequired, - /// Access is allowed for team members only. - DBSHARINGSharedLinkAccessFailureReasonTeamOnly, + /// Access is allowed for team members only. + DBSHARINGSharedLinkAccessFailureReasonTeamOnly, - /// Access is allowed for the shared link's owner only. - DBSHARINGSharedLinkAccessFailureReasonOwnerOnly, + /// Access is allowed for the shared link's owner only. + DBSHARINGSharedLinkAccessFailureReasonOwnerOnly, - /// (no description). - DBSHARINGSharedLinkAccessFailureReasonOther, + /// (no description). + DBSHARINGSharedLinkAccessFailureReasonOther, }; @@ -66,8 +68,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag) { /// /// Initializes union class with tag state of "email_verify_required". /// -/// Description of the "email_verify_required" tag state: User's email is not -/// verified. +/// Description of the "email_verify_required" tag state: This user's email +/// address is not verified. This functionality is only available on accounts +/// with a verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -185,7 +189,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkAccessFailureReason` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkAccessFailureReason *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkAccessFailureReason *)instance; /// /// Deserializes `DBSHARINGSharedLinkAccessFailureReason` instances. @@ -196,7 +200,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkAccessFailureReasonTag) { /// @return An instantiation of the `DBSHARINGSharedLinkAccessFailureReason` /// object. /// -+ (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkAccessFailureReason *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAlreadyExistsMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAlreadyExistsMetadata.h new file mode 100644 index 000000000..2474470de --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkAlreadyExistsMetadata.h @@ -0,0 +1,132 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGSharedLinkAlreadyExistsMetadata; +@class DBSHARINGSharedLinkMetadata; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkAlreadyExistsMetadata` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGSharedLinkAlreadyExistsMetadata : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGSharedLinkAlreadyExistsMetadataTag` enum type represents the +/// possible tag states with which the +/// `DBSHARINGSharedLinkAlreadyExistsMetadata` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkAlreadyExistsMetadataTag){ + /// Metadata of the shared link that already exists. + DBSHARINGSharedLinkAlreadyExistsMetadataMetadata, + + /// (no description). + DBSHARINGSharedLinkAlreadyExistsMetadataOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGSharedLinkAlreadyExistsMetadataTag tag; + +/// Metadata of the shared link that already exists. @note Ensure the +/// `isMetadata` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBSHARINGSharedLinkMetadata *metadata; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "metadata". +/// +/// Description of the "metadata" tag state: Metadata of the shared link that +/// already exists. +/// +/// @param metadata Metadata of the shared link that already exists. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMetadata:(DBSHARINGSharedLinkMetadata *)metadata; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "metadata". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `metadata` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "metadata". +/// +- (BOOL)isMetadata; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGSharedLinkAlreadyExistsMetadata` +/// union. +/// +@interface DBSHARINGSharedLinkAlreadyExistsMetadataSerializer : NSObject + +/// +/// Serializes `DBSHARINGSharedLinkAlreadyExistsMetadata` instances. +/// +/// @param instance An instance of the +/// `DBSHARINGSharedLinkAlreadyExistsMetadata` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGSharedLinkAlreadyExistsMetadata` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkAlreadyExistsMetadata *)instance; + +/// +/// Deserializes `DBSHARINGSharedLinkAlreadyExistsMetadata` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGSharedLinkAlreadyExistsMetadata` API object. +/// +/// @return An instantiation of the `DBSHARINGSharedLinkAlreadyExistsMetadata` +/// object. +/// ++ (DBSHARINGSharedLinkAlreadyExistsMetadata *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkError.h index 8329f68ca..3988004a2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkError.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedLinkErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharedLinkError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag) { - /// The shared link wasn't found. - DBSHARINGSharedLinkErrorSharedLinkNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag){ + /// The shared link wasn't found. + DBSHARINGSharedLinkErrorSharedLinkNotFound, - /// The caller is not allowed to access this shared link. - DBSHARINGSharedLinkErrorSharedLinkAccessDenied, + /// The caller is not allowed to access this shared link. + DBSHARINGSharedLinkErrorSharedLinkAccessDenied, - /// This type of link is not supported. - DBSHARINGSharedLinkErrorUnsupportedLinkType, + /// This type of link is not supported; use `files` instead. + DBSHARINGSharedLinkErrorUnsupportedLinkType, - /// (no description). - DBSHARINGSharedLinkErrorOther, + /// (no description). + DBSHARINGSharedLinkErrorOther, }; @@ -71,7 +71,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag) { /// Initializes union class with tag state of "unsupported_link_type". /// /// Description of the "unsupported_link_type" tag state: This type of link is -/// not supported. +/// not supported; use `files` instead. /// /// @return An initialized instance. /// @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkError *)instance; /// /// Deserializes `DBSHARINGSharedLinkError` instances. @@ -156,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharedLinkError` object. /// -+ (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkMetadata.h index fb9c996b5..851065228 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkMetadata.h @@ -124,7 +124,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkMetadata *)instance; /// /// Deserializes `DBSHARINGSharedLinkMetadata` instances. @@ -134,7 +134,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedLinkMetadata` object. /// -+ (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkPolicy.h index a94628bfa..b102d8de9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkPolicy.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedLinkPolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGSharedLinkPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkPolicyTag) { - /// Links can be shared with anyone. - DBSHARINGSharedLinkPolicyAnyone, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkPolicyTag){ + /// Links can be shared with anyone. + DBSHARINGSharedLinkPolicyAnyone, - /// Links can be shared with anyone on the same team as the owner. - DBSHARINGSharedLinkPolicyTeam, + /// Links can be shared with anyone on the same team as the owner. + DBSHARINGSharedLinkPolicyTeam, - /// Links can only be shared among members of the shared folder. - DBSHARINGSharedLinkPolicyMembers, + /// Links can only be shared among members of the shared folder. + DBSHARINGSharedLinkPolicyMembers, - /// (no description). - DBSHARINGSharedLinkPolicyOther, + /// (no description). + DBSHARINGSharedLinkPolicyOther, }; @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkPolicy *)instance; /// /// Deserializes `DBSHARINGSharedLinkPolicy` instances. @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkPolicyTag) { /// /// @return An instantiation of the `DBSHARINGSharedLinkPolicy` object. /// -+ (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettings.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettings.h index 406d0e0d6..2e1e2a469 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettings.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettings.h @@ -8,6 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGLinkAudience; +@class DBSHARINGRequestedLinkAccessLevel; @class DBSHARINGRequestedVisibility; @class DBSHARINGSharedLinkSettings; @@ -26,33 +28,65 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The requested access for this shared link. -@property (nonatomic, readonly, nullable) DBSHARINGRequestedVisibility *requestedVisibility; +/// Boolean flag to enable or disable password protection. +@property (nonatomic, readonly, nullable) NSNumber *requirePassword; -/// If requestedVisibility is `password` in `DBSHARINGRequestedVisibility` this -/// is needed to specify the password to access the link. +/// If requirePassword is true, this is needed to specify the password to access +/// the link. @property (nonatomic, readonly, copy, nullable) NSString *linkPassword; /// Expiration time of the shared link. By default the link won't expire. @property (nonatomic, readonly, nullable) NSDate *expires; +/// The new audience who can benefit from the access level specified by the +/// link's access level specified in the `link_access_level` field of +/// `LinkPermissions`. This is used in conjunction with team policies and shared +/// folder policies to determine the final effective audience type in the +/// `effective_audience` field of `LinkPermissions. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAudience *audience; + +/// Requested access level you want the audience to gain from this link. Note, +/// modifying access level for an existing link is not supported. +@property (nonatomic, readonly, nullable) DBSHARINGRequestedLinkAccessLevel *access; + +/// Use audience instead. The requested access for this shared link. +@property (nonatomic, readonly, nullable) DBSHARINGRequestedVisibility *requestedVisibility; + +/// Boolean flag to allow or not download capabilities for shared links. +@property (nonatomic, readonly, nullable) NSNumber *allowDownload; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param requestedVisibility The requested access for this shared link. -/// @param linkPassword If requestedVisibility is `password` in -/// `DBSHARINGRequestedVisibility` this is needed to specify the password to -/// access the link. +/// @param requirePassword Boolean flag to enable or disable password +/// protection. +/// @param linkPassword If requirePassword is true, this is needed to specify +/// the password to access the link. /// @param expires Expiration time of the shared link. By default the link won't /// expire. +/// @param audience The new audience who can benefit from the access level +/// specified by the link's access level specified in the `link_access_level` +/// field of `LinkPermissions`. This is used in conjunction with team policies +/// and shared folder policies to determine the final effective audience type in +/// the `effective_audience` field of `LinkPermissions. +/// @param access Requested access level you want the audience to gain from this +/// link. Note, modifying access level for an existing link is not supported. +/// @param requestedVisibility Use audience instead. The requested access for +/// this shared link. +/// @param allowDownload Boolean flag to allow or not download capabilities for +/// shared links. /// /// @return An initialized instance. /// -- (instancetype)initWithRequestedVisibility:(nullable DBSHARINGRequestedVisibility *)requestedVisibility - linkPassword:(nullable NSString *)linkPassword - expires:(nullable NSDate *)expires; +- (instancetype)initWithRequirePassword:(nullable NSNumber *)requirePassword + linkPassword:(nullable NSString *)linkPassword + expires:(nullable NSDate *)expires + audience:(nullable DBSHARINGLinkAudience *)audience + access:(nullable DBSHARINGRequestedLinkAccessLevel *)access + requestedVisibility:(nullable DBSHARINGRequestedVisibility *)requestedVisibility + allowDownload:(nullable NSNumber *)allowDownload; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -82,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettings` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettings *)instance; /// /// Deserializes `DBSHARINGSharedLinkSettings` instances. @@ -92,7 +126,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGSharedLinkSettings` object. /// -+ (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkSettings *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettingsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettingsError.h index a3c6fd611..d6475e46c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettingsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharedLinkSettingsError.h @@ -28,19 +28,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharedLinkSettingsErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharedLinkSettingsError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkSettingsErrorTag) { - /// The given settings are invalid (for example, all attributes of the - /// SharedLinkSettings are empty, the requested visibility is `password` in - /// `DBSHARINGRequestedVisibility` but the `linkPassword` in - /// `DBSHARINGSharedLinkSettings` is missing, `expires` in - /// `DBSHARINGSharedLinkSettings` is set to the past, etc.). - DBSHARINGSharedLinkSettingsErrorInvalidSettings, - - /// User is not allowed to modify the settings of this link. Note that basic - /// users can only set `public` in `DBSHARINGRequestedVisibility` as the - /// `requestedVisibility` in `DBSHARINGSharedLinkSettings` and cannot set - /// `expires` in `DBSHARINGSharedLinkSettings`. - DBSHARINGSharedLinkSettingsErrorNotAuthorized, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharedLinkSettingsErrorTag){ + /// The given settings are invalid (for example, all attributes of the + /// SharedLinkSettings are empty, the requested visibility is `password` in + /// `DBSHARINGRequestedVisibility` but the `linkPassword` in + /// `DBSHARINGSharedLinkSettings` is missing, `expires` in + /// `DBSHARINGSharedLinkSettings` is set to the past, etc.). + DBSHARINGSharedLinkSettingsErrorInvalidSettings, + + /// User is not allowed to modify the settings of this link. Note that basic + /// users can only set `public` in `DBSHARINGRequestedVisibility` as the + /// `requestedVisibility` in `DBSHARINGSharedLinkSettings` and cannot set + /// `expires` in `DBSHARINGSharedLinkSettings`. + DBSHARINGSharedLinkSettingsErrorNotAuthorized, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkSettingsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharedLinkSettingsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharedLinkSettingsError *)instance; /// /// Deserializes `DBSHARINGSharedLinkSettingsError` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharedLinkSettingsErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharedLinkSettingsError` object. /// -+ (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharedLinkSettingsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingFileAccessError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingFileAccessError.h index de7fca219..a70365160 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingFileAccessError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingFileAccessError.h @@ -29,27 +29,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharingFileAccessErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGSharingFileAccessError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharingFileAccessErrorTag) { - /// Current user does not have sufficient privileges to perform the desired - /// action. - DBSHARINGSharingFileAccessErrorNoPermission, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharingFileAccessErrorTag){ + /// Current user does not have sufficient privileges to perform the desired + /// action. + DBSHARINGSharingFileAccessErrorNoPermission, - /// File specified was not found. - DBSHARINGSharingFileAccessErrorInvalidFile, + /// File specified was not found. + DBSHARINGSharingFileAccessErrorInvalidFile, - /// A folder can't be shared this way. Use folder sharing or a shared link - /// instead. - DBSHARINGSharingFileAccessErrorIsFolder, + /// A folder can't be shared this way. Use folder sharing or a shared link + /// instead. + DBSHARINGSharingFileAccessErrorIsFolder, - /// A file inside a public folder can't be shared this way. Use a public - /// link instead. - DBSHARINGSharingFileAccessErrorInsidePublicFolder, + /// A file inside a public folder can't be shared this way. Use a public + /// link instead. + DBSHARINGSharingFileAccessErrorInsidePublicFolder, - /// A Mac OS X package can't be shared this way. Use a shared link instead. - DBSHARINGSharingFileAccessErrorInsideOsxPackage, + /// A Mac OS X package can't be shared this way. Use a shared link instead. + DBSHARINGSharingFileAccessErrorInsideOsxPackage, - /// (no description). - DBSHARINGSharingFileAccessErrorOther, + /// (no description). + DBSHARINGSharingFileAccessErrorOther, }; @@ -189,7 +189,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharingFileAccessErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharingFileAccessError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharingFileAccessError *)instance; /// /// Deserializes `DBSHARINGSharingFileAccessError` instances. @@ -199,7 +199,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharingFileAccessErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharingFileAccessError` object. /// -+ (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharingFileAccessError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingUserError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingUserError.h index 1dc917f21..1e1176184 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingUserError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGSharingUserError.h @@ -29,13 +29,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGSharingUserErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGSharingUserError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGSharingUserErrorTag) { - /// The current user must verify the account e-mail address before - /// performing this action. - DBSHARINGSharingUserErrorEmailUnverified, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGSharingUserErrorTag){ + /// This user's email address is not verified. This functionality is only + /// available on accounts with a verified email address. Users can verify + /// their email address here https://www.dropbox.com/help/317. + DBSHARINGSharingUserErrorEmailUnverified, - /// (no description). - DBSHARINGSharingUserErrorOther, + /// (no description). + DBSHARINGSharingUserErrorOther, }; @@ -47,8 +48,10 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharingUserErrorTag) { /// /// Initializes union class with tag state of "email_unverified". /// -/// Description of the "email_unverified" tag state: The current user must -/// verify the account e-mail address before performing this action. +/// Description of the "email_unverified" tag state: This user's email address +/// is not verified. This functionality is only available on accounts with a +/// verified email address. Users can verify their email address here +/// https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -104,7 +107,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharingUserErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGSharingUserError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGSharingUserError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGSharingUserError *)instance; /// /// Deserializes `DBSHARINGSharingUserError` instances. @@ -114,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGSharingUserErrorTag) { /// /// @return An instantiation of the `DBSHARINGSharingUserError` object. /// -+ (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGSharingUserError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTeamMemberInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTeamMemberInfo.h index a7a70534f..04b22cf41 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTeamMemberInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTeamMemberInfo.h @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGTeamMemberInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGTeamMemberInfo *)instance; /// /// Deserializes `DBSHARINGTeamMemberInfo` instances. @@ -94,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGTeamMemberInfo` object. /// -+ (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGTeamMemberInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderArg.h index 08081e19f..8c909c42e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderArg *)instance; /// /// Deserializes `DBSHARINGTransferFolderArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGTransferFolderArg` object. /// -+ (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGTransferFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderError.h index 921716732..2ea14e4dd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGTransferFolderError.h @@ -28,30 +28,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGTransferFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGTransferFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag) { - /// (no description). - DBSHARINGTransferFolderErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag){ + /// (no description). + DBSHARINGTransferFolderErrorAccessError, - /// `toDropboxId` in `DBSHARINGTransferFolderArg` is invalid. - DBSHARINGTransferFolderErrorInvalidDropboxId, + /// `toDropboxId` in `DBSHARINGTransferFolderArg` is invalid. + DBSHARINGTransferFolderErrorInvalidDropboxId, - /// The new designated owner is not currently a member of the shared folder. - DBSHARINGTransferFolderErrorDNewOwnerNotAMember, + /// The new designated owner is not currently a member of the shared folder. + DBSHARINGTransferFolderErrorDNewOwnerNotAMember, - /// The new designated owner has not added the folder to their Dropbox. - DBSHARINGTransferFolderErrorDNewOwnerUnmounted, + /// The new designated owner has not added the folder to their Dropbox. + DBSHARINGTransferFolderErrorDNewOwnerUnmounted, - /// The new designated owner's e-mail address is unverified. - DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified, + /// The new designated owner's email address is not verified. This + /// functionality is only available on accounts with a verified email + /// address. Users can verify their email address here + /// https://www.dropbox.com/help/317. + DBSHARINGTransferFolderErrorDNewOwnerEmailUnverified, - /// This action cannot be performed on a team shared folder. - DBSHARINGTransferFolderErrorTeamFolder, + /// This action cannot be performed on a team shared folder. + DBSHARINGTransferFolderErrorTeamFolder, - /// The current user does not have permission to perform this action. - DBSHARINGTransferFolderErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGTransferFolderErrorNoPermission, - /// (no description). - DBSHARINGTransferFolderErrorOther, + /// (no description). + DBSHARINGTransferFolderErrorOther, }; @@ -107,7 +110,9 @@ typedef NS_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag) { /// Initializes union class with tag state of "new_owner_email_unverified". /// /// Description of the "new_owner_email_unverified" tag state: The new -/// designated owner's e-mail address is unverified. +/// designated owner's email address is not verified. This functionality is only +/// available on accounts with a verified email address. Users can verify their +/// email address here https://www.dropbox.com/help/317. /// /// @return An initialized instance. /// @@ -236,7 +241,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGTransferFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGTransferFolderError *)instance; /// /// Deserializes `DBSHARINGTransferFolderError` instances. @@ -246,7 +251,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGTransferFolderErrorTag) { /// /// @return An instantiation of the `DBSHARINGTransferFolderError` object. /// -+ (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGTransferFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderArg.h index 65e19e811..aacafed10 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderArg *)instance; /// /// Deserializes `DBSHARINGUnmountFolderArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUnmountFolderArg` object. /// -+ (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnmountFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderError.h index ad6243c66..ab4973376 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnmountFolderError.h @@ -28,20 +28,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGUnmountFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnmountFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGUnmountFolderErrorTag) { - /// (no description). - DBSHARINGUnmountFolderErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnmountFolderErrorTag){ + /// (no description). + DBSHARINGUnmountFolderErrorAccessError, - /// The current user does not have permission to perform this action. - DBSHARINGUnmountFolderErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGUnmountFolderErrorNoPermission, - /// The shared folder can't be unmounted. One example where this can occur - /// is when the shared folder's parent folder is also a shared folder that - /// resides in the current user's Dropbox. - DBSHARINGUnmountFolderErrorNotUnmountable, + /// The shared folder can't be unmounted. One example where this can occur + /// is when the shared folder's parent folder is also a shared folder that + /// resides in the current user's Dropbox. + DBSHARINGUnmountFolderErrorNotUnmountable, - /// (no description). - DBSHARINGUnmountFolderErrorOther, + /// (no description). + DBSHARINGUnmountFolderErrorOther, }; @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnmountFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnmountFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnmountFolderError *)instance; /// /// Deserializes `DBSHARINGUnmountFolderError` instances. @@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnmountFolderErrorTag) { /// /// @return An instantiation of the `DBSHARINGUnmountFolderError` object. /// -+ (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnmountFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileArg.h index 93b5df333..52e6c47e9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileArg *)instance; /// /// Deserializes `DBSHARINGUnshareFileArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUnshareFileArg` object. /// -+ (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnshareFileArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileError.h index bea3ede00..c0b7627ad 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFileError.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGUnshareFileErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnshareFileError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGUnshareFileErrorTag) { - /// (no description). - DBSHARINGUnshareFileErrorUserError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnshareFileErrorTag){ + /// (no description). + DBSHARINGUnshareFileErrorUserError, - /// (no description). - DBSHARINGUnshareFileErrorAccessError, + /// (no description). + DBSHARINGUnshareFileErrorAccessError, - /// (no description). - DBSHARINGUnshareFileErrorOther, + /// (no description). + DBSHARINGUnshareFileErrorOther, }; @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnshareFileErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFileError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFileError *)instance; /// /// Deserializes `DBSHARINGUnshareFileError` instances. @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnshareFileErrorTag) { /// /// @return An instantiation of the `DBSHARINGUnshareFileError` object. /// -+ (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnshareFileError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderArg.h index b105d759b..2da07735a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderArg.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderArg *)instance; /// /// Deserializes `DBSHARINGUnshareFolderArg` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUnshareFolderArg` object. /// -+ (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnshareFolderArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderError.h index 0eafe539e..6392350a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUnshareFolderError.h @@ -28,21 +28,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGUnshareFolderErrorTag` enum type represents the possible tag /// states with which the `DBSHARINGUnshareFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGUnshareFolderErrorTag) { - /// (no description). - DBSHARINGUnshareFolderErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUnshareFolderErrorTag){ + /// (no description). + DBSHARINGUnshareFolderErrorAccessError, - /// This action cannot be performed on a team shared folder. - DBSHARINGUnshareFolderErrorTeamFolder, + /// This action cannot be performed on a team shared folder. + DBSHARINGUnshareFolderErrorTeamFolder, - /// The current user does not have permission to perform this action. - DBSHARINGUnshareFolderErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGUnshareFolderErrorNoPermission, - /// This shared folder has too many files to be unshared. - DBSHARINGUnshareFolderErrorTooManyFiles, + /// This shared folder has too many files to be unshared. + DBSHARINGUnshareFolderErrorTooManyFiles, - /// (no description). - DBSHARINGUnshareFolderErrorOther, + /// (no description). + DBSHARINGUnshareFolderErrorOther, }; @@ -167,7 +167,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnshareFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGUnshareFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUnshareFolderError *)instance; /// /// Deserializes `DBSHARINGUnshareFolderError` instances. @@ -177,7 +177,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUnshareFolderErrorTag) { /// /// @return An instantiation of the `DBSHARINGUnshareFolderError` object. /// -+ (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUnshareFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFileMemberArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFileMemberArgs.h index 6f3eba21f..f451f6eb5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFileMemberArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFileMemberArgs.h @@ -6,7 +6,6 @@ #import -#import "DBSHARINGChangeFileMemberAccessArgs.h" #import "DBSerializableProtocol.h" @class DBSHARINGAccessLevel; @@ -26,10 +25,19 @@ NS_ASSUME_NONNULL_BEGIN /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBSHARINGUpdateFileMemberArgs : DBSHARINGChangeFileMemberAccessArgs +@interface DBSHARINGUpdateFileMemberArgs : NSObject #pragma mark - Instance fields +/// File for which we are changing a member's access. +@property (nonatomic, readonly, copy) NSString *file; + +/// The member whose access we are changing. +@property (nonatomic, readonly) DBSHARINGMemberSelector *member; + +/// The new access level for the member. +@property (nonatomic, readonly) DBSHARINGAccessLevel *accessLevel; + #pragma mark - Constructors /// @@ -45,6 +53,8 @@ NS_ASSUME_NONNULL_BEGIN member:(DBSHARINGMemberSelector *)member accessLevel:(DBSHARINGAccessLevel *)accessLevel; +- (instancetype)init NS_UNAVAILABLE; + @end #pragma mark - Serializer Object @@ -63,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFileMemberArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFileMemberArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFileMemberArgs *)instance; /// /// Deserializes `DBSHARINGUpdateFileMemberArgs` instances. @@ -73,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUpdateFileMemberArgs` object. /// -+ (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUpdateFileMemberArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberArg.h index 766535cd8..b09d38980 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberArg.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberArg *)instance; /// /// Deserializes `DBSHARINGUpdateFolderMemberArg` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUpdateFolderMemberArg` object. /// -+ (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUpdateFolderMemberArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberError.h index 0e7847342..e1d37eee8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderMemberError.h @@ -31,27 +31,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGUpdateFolderMemberErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGUpdateFolderMemberError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderMemberErrorTag) { - /// (no description). - DBSHARINGUpdateFolderMemberErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUpdateFolderMemberErrorTag){ + /// (no description). + DBSHARINGUpdateFolderMemberErrorAccessError, - /// (no description). - DBSHARINGUpdateFolderMemberErrorMemberError, + /// (no description). + DBSHARINGUpdateFolderMemberErrorMemberError, - /// If updating the access type required the member to be added to the - /// shared folder and there was an error when adding the member. - DBSHARINGUpdateFolderMemberErrorNoExplicitAccess, + /// If updating the access type required the member to be added to the + /// shared folder and there was an error when adding the member. + DBSHARINGUpdateFolderMemberErrorNoExplicitAccess, - /// The current user's account doesn't support this action. An example of - /// this is when downgrading a member from editor to viewer. This action can - /// only be performed by users that have upgraded to a Pro or Business plan. - DBSHARINGUpdateFolderMemberErrorInsufficientPlan, + /// The current user's account doesn't support this action. An example of + /// this is when downgrading a member from editor to viewer. This action can + /// only be performed by users that have upgraded to a Pro or Business plan. + DBSHARINGUpdateFolderMemberErrorInsufficientPlan, - /// The current user does not have permission to perform this action. - DBSHARINGUpdateFolderMemberErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGUpdateFolderMemberErrorNoPermission, - /// (no description). - DBSHARINGUpdateFolderMemberErrorOther, + /// (no description). + DBSHARINGUpdateFolderMemberErrorOther, }; @@ -218,7 +218,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderMemberErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderMemberError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderMemberError *)instance; /// /// Deserializes `DBSHARINGUpdateFolderMemberError` instances. @@ -228,7 +228,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderMemberErrorTag) { /// /// @return An instantiation of the `DBSHARINGUpdateFolderMemberError` object. /// -+ (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUpdateFolderMemberError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyArg.h index 0b7912afa..1cee7c097 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyArg.h @@ -120,7 +120,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyArg *)instance; /// /// Deserializes `DBSHARINGUpdateFolderPolicyArg` instances. @@ -130,7 +130,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUpdateFolderPolicyArg` object. /// -+ (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUpdateFolderPolicyArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyError.h index b78df7ba4..e9568553a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUpdateFolderPolicyError.h @@ -29,30 +29,30 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGUpdateFolderPolicyErrorTag` enum type represents the possible /// tag states with which the `DBSHARINGUpdateFolderPolicyError` union can /// exist. -typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderPolicyErrorTag) { - /// (no description). - DBSHARINGUpdateFolderPolicyErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGUpdateFolderPolicyErrorTag){ + /// (no description). + DBSHARINGUpdateFolderPolicyErrorAccessError, - /// `memberPolicy` in `DBSHARINGUpdateFolderPolicyArg` was set even though - /// user is not on a team. - DBSHARINGUpdateFolderPolicyErrorNotOnTeam, + /// `memberPolicy` in `DBSHARINGUpdateFolderPolicyArg` was set even though + /// user is not on a team. + DBSHARINGUpdateFolderPolicyErrorNotOnTeam, - /// Team policy is more restrictive than `memberPolicy` in - /// `DBSHARINGShareFolderArg`. - DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy, + /// Team policy is more restrictive than `memberPolicy` in + /// `DBSHARINGShareFolderArg`. + DBSHARINGUpdateFolderPolicyErrorTeamPolicyDisallowsMemberPolicy, - /// The current account is not allowed to select the specified - /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. - DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy, + /// The current account is not allowed to select the specified + /// `sharedLinkPolicy` in `DBSHARINGShareFolderArg`. + DBSHARINGUpdateFolderPolicyErrorDisallowedSharedLinkPolicy, - /// The current user does not have permission to perform this action. - DBSHARINGUpdateFolderPolicyErrorNoPermission, + /// The current user does not have permission to perform this action. + DBSHARINGUpdateFolderPolicyErrorNoPermission, - /// This action cannot be performed on a team shared folder. - DBSHARINGUpdateFolderPolicyErrorTeamFolder, + /// This action cannot be performed on a team shared folder. + DBSHARINGUpdateFolderPolicyErrorTeamFolder, - /// (no description). - DBSHARINGUpdateFolderPolicyErrorOther, + /// (no description). + DBSHARINGUpdateFolderPolicyErrorOther, }; @@ -218,7 +218,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderPolicyErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGUpdateFolderPolicyError` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUpdateFolderPolicyError *)instance; /// /// Deserializes `DBSHARINGUpdateFolderPolicyError` instances. @@ -228,7 +228,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGUpdateFolderPolicyErrorTag) { /// /// @return An instantiation of the `DBSHARINGUpdateFolderPolicyError` object. /// -+ (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUpdateFolderPolicyError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserFileMembershipInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserFileMembershipInfo.h index 8043a9c35..0f61b3491 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserFileMembershipInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserFileMembershipInfo.h @@ -9,6 +9,7 @@ #import "DBSHARINGUserMembershipInfo.h" #import "DBSerializableProtocol.h" +@class DBSEENSTATEPlatformType; @class DBSHARINGAccessLevel; @class DBSHARINGMemberPermission; @class DBSHARINGUserFileMembershipInfo; @@ -32,22 +33,31 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The UTC timestamp of when the user has last seen the content, if they have. +/// The UTC timestamp of when the user has last seen the content. Only populated +/// if the user has seen the content and the caller has a plan that includes +/// viewer history. @property (nonatomic, readonly, nullable) NSDate *timeLastSeen; +/// The platform on which the user has last seen the content, or unknown. +@property (nonatomic, readonly, nullable) DBSEENSTATEPlatformType *platformType; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param user The account information for the membership user. /// @param permissions The permissions that requesting user has on this member. /// The set of permissions corresponds to the MemberActions in the request. -/// @param initials Suggested name initials for a member. +/// @param initials Never set. /// @param isInherited True if the member has access from a parent folder. /// @param timeLastSeen The UTC timestamp of when the user has last seen the -/// content, if they have. +/// content. Only populated if the user has seen the content and the caller has +/// a plan that includes viewer history. +/// @param platformType The platform on which the user has last seen the +/// content, or unknown. /// /// @return An initialized instance. /// @@ -56,13 +66,15 @@ NS_ASSUME_NONNULL_BEGIN permissions:(nullable NSArray *)permissions initials:(nullable NSString *)initials isInherited:(nullable NSNumber *)isInherited - timeLastSeen:(nullable NSDate *)timeLastSeen; + timeLastSeen:(nullable NSDate *)timeLastSeen + platformType:(nullable DBSEENSTATEPlatformType *)platformType; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param user The account information for the membership user. /// /// @return An initialized instance. @@ -87,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserFileMembershipInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUserFileMembershipInfo *)instance; /// /// Deserializes `DBSHARINGUserFileMembershipInfo` instances. @@ -97,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUserFileMembershipInfo` object. /// -+ (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUserFileMembershipInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserInfo.h index ae7f4d289..798a22f7b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserInfo.h @@ -31,6 +31,12 @@ NS_ASSUME_NONNULL_BEGIN /// The account ID of the user. @property (nonatomic, readonly, copy) NSString *accountId; +/// Email address of user. +@property (nonatomic, readonly, copy) NSString *email; + +/// The display name of the user. +@property (nonatomic, readonly, copy) NSString *displayName; + /// If the user is in the same team as current user. @property (nonatomic, readonly) NSNumber *sameTeam; @@ -44,6 +50,8 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param accountId The account ID of the user. +/// @param email Email address of user. +/// @param displayName The display name of the user. /// @param sameTeam If the user is in the same team as current user. /// @param teamMemberId The team member ID of the shared folder member. Only /// present if sameTeam is true. @@ -51,6 +59,8 @@ NS_ASSUME_NONNULL_BEGIN /// @return An initialized instance. /// - (instancetype)initWithAccountId:(NSString *)accountId + email:(NSString *)email + displayName:(NSString *)displayName sameTeam:(NSNumber *)sameTeam teamMemberId:(nullable NSString *)teamMemberId; @@ -59,11 +69,16 @@ NS_ASSUME_NONNULL_BEGIN /// no default value). /// /// @param accountId The account ID of the user. +/// @param email Email address of user. +/// @param displayName The display name of the user. /// @param sameTeam If the user is in the same team as current user. /// /// @return An initialized instance. /// -- (instancetype)initWithAccountId:(NSString *)accountId sameTeam:(NSNumber *)sameTeam; +- (instancetype)initWithAccountId:(NSString *)accountId + email:(NSString *)email + displayName:(NSString *)displayName + sameTeam:(NSNumber *)sameTeam; - (instancetype)init NS_UNAVAILABLE; @@ -84,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUserInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUserInfo *)instance; /// /// Deserializes `DBSHARINGUserInfo` instances. @@ -94,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUserInfo` object. /// -+ (DBSHARINGUserInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUserInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserMembershipInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserMembershipInfo.h index a7c2d1ffc..8521c654d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserMembershipInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGUserMembershipInfo.h @@ -39,11 +39,12 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param user The account information for the membership user. /// @param permissions The permissions that requesting user has on this member. /// The set of permissions corresponds to the MemberActions in the request. -/// @param initials Suggested name initials for a member. +/// @param initials Never set. /// @param isInherited True if the member has access from a parent folder. /// /// @return An initialized instance. @@ -58,7 +59,8 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param accessType The access type for this member. +/// @param accessType The access type for this member. It contains inherited +/// access type from parent folder, and acquired access type from this folder. /// @param user The account information for the membership user. /// /// @return An initialized instance. @@ -82,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBSHARINGUserMembershipInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGUserMembershipInfo *)instance; /// /// Deserializes `DBSHARINGUserMembershipInfo` instances. @@ -92,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBSHARINGUserMembershipInfo` object. /// -+ (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGUserMembershipInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGViewerInfoPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGViewerInfoPolicy.h index 6ac181573..3078af115 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGViewerInfoPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGViewerInfoPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGViewerInfoPolicyTag` enum type represents the possible tag /// states with which the `DBSHARINGViewerInfoPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGViewerInfoPolicyTag) { - /// Viewer information is available on this file. - DBSHARINGViewerInfoPolicyEnabled, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGViewerInfoPolicyTag){ + /// Viewer information is available on this file. + DBSHARINGViewerInfoPolicyEnabled, - /// Viewer information is disabled on this file. - DBSHARINGViewerInfoPolicyDisabled, + /// Viewer information is disabled on this file. + DBSHARINGViewerInfoPolicyDisabled, - /// (no description). - DBSHARINGViewerInfoPolicyOther, + /// (no description). + DBSHARINGViewerInfoPolicyOther, }; @@ -120,7 +120,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGViewerInfoPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGViewerInfoPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGViewerInfoPolicy *)instance; /// /// Deserializes `DBSHARINGViewerInfoPolicy` instances. @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGViewerInfoPolicyTag) { /// /// @return An instantiation of the `DBSHARINGViewerInfoPolicy` object. /// -+ (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGViewerInfoPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibility.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibility.h index 5d7511c91..c7a86fb97 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibility.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibility.h @@ -31,27 +31,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBSHARINGVisibilityTag` enum type represents the possible tag states /// with which the `DBSHARINGVisibility` union can exist. -typedef NS_ENUM(NSInteger, DBSHARINGVisibilityTag) { - /// Anyone who has received the link can access it. No login required. - DBSHARINGVisibilityPublic, +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGVisibilityTag){ + /// Anyone who has received the link can access it. No login required. + DBSHARINGVisibilityPublic, - /// Only members of the same team can access the link. Login is required. - DBSHARINGVisibilityTeamOnly, + /// Only members of the same team can access the link. Login is required. + DBSHARINGVisibilityTeamOnly, - /// A link-specific password is required to access the link. Login is not - /// required. - DBSHARINGVisibilityPassword, + /// A link-specific password is required to access the link. Login is not + /// required. + DBSHARINGVisibilityPassword, - /// Only members of the same team who have the link-specific password can - /// access the link. - DBSHARINGVisibilityTeamAndPassword, + /// Only members of the same team who have the link-specific password can + /// access the link. + DBSHARINGVisibilityTeamAndPassword, - /// Only members of the shared folder containing the linked file can access - /// the link. Login is required. - DBSHARINGVisibilitySharedFolderOnly, + /// Only members of the shared folder containing the linked file can access + /// the link. Login is required. + DBSHARINGVisibilitySharedFolderOnly, - /// (no description). - DBSHARINGVisibilityOther, + /// (no description). + DBSHARINGVisibilityOther, }; @@ -191,7 +191,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGVisibilityTag) { /// @return A json-compatible dictionary representation of the /// `DBSHARINGVisibility` API object. /// -+ (nullable NSDictionary *)serialize:(DBSHARINGVisibility *)instance; ++ (nullable NSDictionary *)serialize:(DBSHARINGVisibility *)instance; /// /// Deserializes `DBSHARINGVisibility` instances. @@ -201,7 +201,7 @@ typedef NS_ENUM(NSInteger, DBSHARINGVisibilityTag) { /// /// @return An instantiation of the `DBSHARINGVisibility` object. /// -+ (DBSHARINGVisibility *)deserialize:(NSDictionary *)dict; ++ (DBSHARINGVisibility *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicy.h new file mode 100644 index 000000000..87d01cd8e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicy.h @@ -0,0 +1,122 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAlphaResolvedVisibility; +@class DBSHARINGRequestedVisibility; +@class DBSHARINGVisibilityPolicy; +@class DBSHARINGVisibilityPolicyDisallowedReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `VisibilityPolicy` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGVisibilityPolicy : NSObject + +#pragma mark - Instance fields + +/// This is the value to submit when saving the visibility setting. +@property (nonatomic, readonly) DBSHARINGRequestedVisibility *policy; + +/// This is what the effective policy would be, if you selected this option. The +/// resolved policy is obtained after considering external effects such as +/// shared folder settings and team policy. This value is guaranteed to be +/// provided. +@property (nonatomic, readonly) DBSHARINGAlphaResolvedVisibility *resolvedPolicy; + +/// Whether the user is permitted to set the visibility to this policy. +@property (nonatomic, readonly) NSNumber *allowed; + +/// If allowed is false, this will provide the reason that the user is not +/// permitted to set the visibility to this policy. +@property (nonatomic, readonly, nullable) DBSHARINGVisibilityPolicyDisallowedReason *disallowedReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param policy This is the value to submit when saving the visibility +/// setting. +/// @param resolvedPolicy This is what the effective policy would be, if you +/// selected this option. The resolved policy is obtained after considering +/// external effects such as shared folder settings and team policy. This value +/// is guaranteed to be provided. +/// @param allowed Whether the user is permitted to set the visibility to this +/// policy. +/// @param disallowedReason If allowed is false, this will provide the reason +/// that the user is not permitted to set the visibility to this policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPolicy:(DBSHARINGRequestedVisibility *)policy + resolvedPolicy:(DBSHARINGAlphaResolvedVisibility *)resolvedPolicy + allowed:(NSNumber *)allowed + disallowedReason:(nullable DBSHARINGVisibilityPolicyDisallowedReason *)disallowedReason; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param policy This is the value to submit when saving the visibility +/// setting. +/// @param resolvedPolicy This is what the effective policy would be, if you +/// selected this option. The resolved policy is obtained after considering +/// external effects such as shared folder settings and team policy. This value +/// is guaranteed to be provided. +/// @param allowed Whether the user is permitted to set the visibility to this +/// policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPolicy:(DBSHARINGRequestedVisibility *)policy + resolvedPolicy:(DBSHARINGAlphaResolvedVisibility *)resolvedPolicy + allowed:(NSNumber *)allowed; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `VisibilityPolicy` struct. +/// +@interface DBSHARINGVisibilityPolicySerializer : NSObject + +/// +/// Serializes `DBSHARINGVisibilityPolicy` instances. +/// +/// @param instance An instance of the `DBSHARINGVisibilityPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGVisibilityPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGVisibilityPolicy *)instance; + +/// +/// Deserializes `DBSHARINGVisibilityPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGVisibilityPolicy` API object. +/// +/// @return An instantiation of the `DBSHARINGVisibilityPolicy` object. +/// ++ (DBSHARINGVisibilityPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicyDisallowedReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicyDisallowedReason.h new file mode 100644 index 000000000..42d79d196 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGVisibilityPolicyDisallowedReason.h @@ -0,0 +1,235 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGVisibilityPolicyDisallowedReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `VisibilityPolicyDisallowedReason` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBSHARINGVisibilityPolicyDisallowedReason : NSObject + +#pragma mark - Instance fields + +/// The `DBSHARINGVisibilityPolicyDisallowedReasonTag` enum type represents the +/// possible tag states with which the +/// `DBSHARINGVisibilityPolicyDisallowedReason` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBSHARINGVisibilityPolicyDisallowedReasonTag){ + /// The user needs to delete and recreate the link to change the visibility + /// policy. + DBSHARINGVisibilityPolicyDisallowedReasonDeleteAndRecreate, + + /// The parent shared folder restricts sharing of links outside the shared + /// folder. To change the visibility policy, remove the restriction from the + /// parent shared folder. + DBSHARINGVisibilityPolicyDisallowedReasonRestrictedBySharedFolder, + + /// The team policy prevents links being shared outside the team. + DBSHARINGVisibilityPolicyDisallowedReasonRestrictedByTeam, + + /// The user needs to be on a team to set this policy. + DBSHARINGVisibilityPolicyDisallowedReasonUserNotOnTeam, + + /// The user is a basic user or is on a limited team. + DBSHARINGVisibilityPolicyDisallowedReasonUserAccountType, + + /// The user does not have permission. + DBSHARINGVisibilityPolicyDisallowedReasonPermissionDenied, + + /// (no description). + DBSHARINGVisibilityPolicyDisallowedReasonOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBSHARINGVisibilityPolicyDisallowedReasonTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "delete_and_recreate". +/// +/// Description of the "delete_and_recreate" tag state: The user needs to delete +/// and recreate the link to change the visibility policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteAndRecreate; + +/// +/// Initializes union class with tag state of "restricted_by_shared_folder". +/// +/// Description of the "restricted_by_shared_folder" tag state: The parent +/// shared folder restricts sharing of links outside the shared folder. To +/// change the visibility policy, remove the restriction from the parent shared +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRestrictedBySharedFolder; + +/// +/// Initializes union class with tag state of "restricted_by_team". +/// +/// Description of the "restricted_by_team" tag state: The team policy prevents +/// links being shared outside the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRestrictedByTeam; + +/// +/// Initializes union class with tag state of "user_not_on_team". +/// +/// Description of the "user_not_on_team" tag state: The user needs to be on a +/// team to set this policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotOnTeam; + +/// +/// Initializes union class with tag state of "user_account_type". +/// +/// Description of the "user_account_type" tag state: The user is a basic user +/// or is on a limited team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAccountType; + +/// +/// Initializes union class with tag state of "permission_denied". +/// +/// Description of the "permission_denied" tag state: The user does not have +/// permission. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPermissionDenied; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "delete_and_recreate". +/// +/// @return Whether the union's current tag state has value +/// "delete_and_recreate". +/// +- (BOOL)isDeleteAndRecreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "restricted_by_shared_folder". +/// +/// @return Whether the union's current tag state has value +/// "restricted_by_shared_folder". +/// +- (BOOL)isRestrictedBySharedFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "restricted_by_team". +/// +/// @return Whether the union's current tag state has value +/// "restricted_by_team". +/// +- (BOOL)isRestrictedByTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_on_team". +/// +/// @return Whether the union's current tag state has value "user_not_on_team". +/// +- (BOOL)isUserNotOnTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_account_type". +/// +/// @return Whether the union's current tag state has value "user_account_type". +/// +- (BOOL)isUserAccountType; + +/// +/// Retrieves whether the union's current tag state has value +/// "permission_denied". +/// +/// @return Whether the union's current tag state has value "permission_denied". +/// +- (BOOL)isPermissionDenied; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBSHARINGVisibilityPolicyDisallowedReason` +/// union. +/// +@interface DBSHARINGVisibilityPolicyDisallowedReasonSerializer : NSObject + +/// +/// Serializes `DBSHARINGVisibilityPolicyDisallowedReason` instances. +/// +/// @param instance An instance of the +/// `DBSHARINGVisibilityPolicyDisallowedReason` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBSHARINGVisibilityPolicyDisallowedReason` API object. +/// ++ (nullable NSDictionary *)serialize:(DBSHARINGVisibilityPolicyDisallowedReason *)instance; + +/// +/// Deserializes `DBSHARINGVisibilityPolicyDisallowedReason` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBSHARINGVisibilityPolicyDisallowedReason` API object. +/// +/// @return An instantiation of the `DBSHARINGVisibilityPolicyDisallowedReason` +/// object. +/// ++ (DBSHARINGVisibilityPolicyDisallowedReason *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m index 19b54880b..bddd9fa29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/DBTeamObjects.m @@ -40,17 +40,17 @@ - (instancetype)initWithSessionId:(NSString *)sessionId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDeviceSessionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDeviceSessionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDeviceSessionSerializer serialize:self] description]; } @@ -133,7 +133,7 @@ - (BOOL)isEqualToDeviceSession:(DBTEAMDeviceSession *)aDeviceSession { @implementation DBTEAMDeviceSessionSerializer -+ (NSDictionary *)serialize:(DBTEAMDeviceSession *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDeviceSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; @@ -150,10 +150,10 @@ + (NSDictionary *)serialize:(DBTEAMDeviceSession *)valueObj { jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDeviceSession *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDeviceSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *ipAddress = valueDict[@"ip_address"] ?: nil; NSString *country = valueDict[@"country"] ?: nil; @@ -225,17 +225,17 @@ - (instancetype)initWithSessionId:(NSString *)sessionId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMActiveWebSessionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMActiveWebSessionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMActiveWebSessionSerializer serialize:self] description]; } @@ -338,7 +338,7 @@ - (BOOL)isEqualToActiveWebSession:(DBTEAMActiveWebSession *)anActiveWebSession { @implementation DBTEAMActiveWebSessionSerializer -+ (NSDictionary *)serialize:(DBTEAMActiveWebSession *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMActiveWebSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; @@ -361,10 +361,10 @@ + (NSDictionary *)serialize:(DBTEAMActiveWebSession *)valueObj { jsonDict[@"expires"] = [DBNSDateSerializer serialize:valueObj.expires dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *userAgent = valueDict[@"user_agent"]; NSString *os = valueDict[@"os"]; @@ -394,6 +394,854 @@ + (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)valueDict { @end +#import "DBSECONDARYEMAILSSecondaryEmail.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAddSecondaryEmailResult.h" + +#pragma mark - API Object + +@implementation DBTEAMAddSecondaryEmailResult + +@synthesize success = _success; +@synthesize unavailable = _unavailable; +@synthesize alreadyPending = _alreadyPending; +@synthesize alreadyOwnedByUser = _alreadyOwnedByUser; +@synthesize reachedLimit = _reachedLimit; +@synthesize transientError = _transientError; +@synthesize tooManyUpdates = _tooManyUpdates; +@synthesize unknownError = _unknownError; +@synthesize rateLimited = _rateLimited; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBSECONDARYEMAILSSecondaryEmail *)success { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithUnavailable:(NSString *)unavailable { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultUnavailable; + _unavailable = unavailable; + } + return self; +} + +- (instancetype)initWithAlreadyPending:(NSString *)alreadyPending { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultAlreadyPending; + _alreadyPending = alreadyPending; + } + return self; +} + +- (instancetype)initWithAlreadyOwnedByUser:(NSString *)alreadyOwnedByUser { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser; + _alreadyOwnedByUser = alreadyOwnedByUser; + } + return self; +} + +- (instancetype)initWithReachedLimit:(NSString *)reachedLimit { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultReachedLimit; + _reachedLimit = reachedLimit; + } + return self; +} + +- (instancetype)initWithTransientError:(NSString *)transientError { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultTransientError; + _transientError = transientError; + } + return self; +} + +- (instancetype)initWithTooManyUpdates:(NSString *)tooManyUpdates { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultTooManyUpdates; + _tooManyUpdates = tooManyUpdates; + } + return self; +} + +- (instancetype)initWithUnknownError:(NSString *)unknownError { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultUnknownError; + _unknownError = unknownError; + } + return self; +} + +- (instancetype)initWithRateLimited:(NSString *)rateLimited { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultRateLimited; + _rateLimited = rateLimited; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBSECONDARYEMAILSSecondaryEmail *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (NSString *)unavailable { + if (![self isUnavailable]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultUnavailable, but was %@.", [self tagName]]; + } + return _unavailable; +} + +- (NSString *)alreadyPending { + if (![self isAlreadyPending]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultAlreadyPending, but was %@.", [self tagName]]; + } + return _alreadyPending; +} + +- (NSString *)alreadyOwnedByUser { + if (![self isAlreadyOwnedByUser]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser, but was %@.", [self tagName]]; + } + return _alreadyOwnedByUser; +} + +- (NSString *)reachedLimit { + if (![self isReachedLimit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultReachedLimit, but was %@.", [self tagName]]; + } + return _reachedLimit; +} + +- (NSString *)transientError { + if (![self isTransientError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultTransientError, but was %@.", [self tagName]]; + } + return _transientError; +} + +- (NSString *)tooManyUpdates { + if (![self isTooManyUpdates]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultTooManyUpdates, but was %@.", [self tagName]]; + } + return _tooManyUpdates; +} + +- (NSString *)unknownError { + if (![self isUnknownError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultUnknownError, but was %@.", [self tagName]]; + } + return _unknownError; +} + +- (NSString *)rateLimited { + if (![self isRateLimited]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMAddSecondaryEmailResultRateLimited, but was %@.", [self tagName]]; + } + return _rateLimited; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBTEAMAddSecondaryEmailResultSuccess; +} + +- (BOOL)isUnavailable { + return _tag == DBTEAMAddSecondaryEmailResultUnavailable; +} + +- (BOOL)isAlreadyPending { + return _tag == DBTEAMAddSecondaryEmailResultAlreadyPending; +} + +- (BOOL)isAlreadyOwnedByUser { + return _tag == DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser; +} + +- (BOOL)isReachedLimit { + return _tag == DBTEAMAddSecondaryEmailResultReachedLimit; +} + +- (BOOL)isTransientError { + return _tag == DBTEAMAddSecondaryEmailResultTransientError; +} + +- (BOOL)isTooManyUpdates { + return _tag == DBTEAMAddSecondaryEmailResultTooManyUpdates; +} + +- (BOOL)isUnknownError { + return _tag == DBTEAMAddSecondaryEmailResultUnknownError; +} + +- (BOOL)isRateLimited { + return _tag == DBTEAMAddSecondaryEmailResultRateLimited; +} + +- (BOOL)isOther { + return _tag == DBTEAMAddSecondaryEmailResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMAddSecondaryEmailResultSuccess: + return @"DBTEAMAddSecondaryEmailResultSuccess"; + case DBTEAMAddSecondaryEmailResultUnavailable: + return @"DBTEAMAddSecondaryEmailResultUnavailable"; + case DBTEAMAddSecondaryEmailResultAlreadyPending: + return @"DBTEAMAddSecondaryEmailResultAlreadyPending"; + case DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser: + return @"DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser"; + case DBTEAMAddSecondaryEmailResultReachedLimit: + return @"DBTEAMAddSecondaryEmailResultReachedLimit"; + case DBTEAMAddSecondaryEmailResultTransientError: + return @"DBTEAMAddSecondaryEmailResultTransientError"; + case DBTEAMAddSecondaryEmailResultTooManyUpdates: + return @"DBTEAMAddSecondaryEmailResultTooManyUpdates"; + case DBTEAMAddSecondaryEmailResultUnknownError: + return @"DBTEAMAddSecondaryEmailResultUnknownError"; + case DBTEAMAddSecondaryEmailResultRateLimited: + return @"DBTEAMAddSecondaryEmailResultRateLimited"; + case DBTEAMAddSecondaryEmailResultOther: + return @"DBTEAMAddSecondaryEmailResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMAddSecondaryEmailResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMAddSecondaryEmailResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMAddSecondaryEmailResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMAddSecondaryEmailResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMAddSecondaryEmailResultUnavailable: + result = prime * result + [self.unavailable hash]; + break; + case DBTEAMAddSecondaryEmailResultAlreadyPending: + result = prime * result + [self.alreadyPending hash]; + break; + case DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser: + result = prime * result + [self.alreadyOwnedByUser hash]; + break; + case DBTEAMAddSecondaryEmailResultReachedLimit: + result = prime * result + [self.reachedLimit hash]; + break; + case DBTEAMAddSecondaryEmailResultTransientError: + result = prime * result + [self.transientError hash]; + break; + case DBTEAMAddSecondaryEmailResultTooManyUpdates: + result = prime * result + [self.tooManyUpdates hash]; + break; + case DBTEAMAddSecondaryEmailResultUnknownError: + result = prime * result + [self.unknownError hash]; + break; + case DBTEAMAddSecondaryEmailResultRateLimited: + result = prime * result + [self.rateLimited hash]; + break; + case DBTEAMAddSecondaryEmailResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAddSecondaryEmailResult:other]; +} + +- (BOOL)isEqualToAddSecondaryEmailResult:(DBTEAMAddSecondaryEmailResult *)anAddSecondaryEmailResult { + if (self == anAddSecondaryEmailResult) { + return YES; + } + if (self.tag != anAddSecondaryEmailResult.tag) { + return NO; + } + switch (_tag) { + case DBTEAMAddSecondaryEmailResultSuccess: + return [self.success isEqual:anAddSecondaryEmailResult.success]; + case DBTEAMAddSecondaryEmailResultUnavailable: + return [self.unavailable isEqual:anAddSecondaryEmailResult.unavailable]; + case DBTEAMAddSecondaryEmailResultAlreadyPending: + return [self.alreadyPending isEqual:anAddSecondaryEmailResult.alreadyPending]; + case DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser: + return [self.alreadyOwnedByUser isEqual:anAddSecondaryEmailResult.alreadyOwnedByUser]; + case DBTEAMAddSecondaryEmailResultReachedLimit: + return [self.reachedLimit isEqual:anAddSecondaryEmailResult.reachedLimit]; + case DBTEAMAddSecondaryEmailResultTransientError: + return [self.transientError isEqual:anAddSecondaryEmailResult.transientError]; + case DBTEAMAddSecondaryEmailResultTooManyUpdates: + return [self.tooManyUpdates isEqual:anAddSecondaryEmailResult.tooManyUpdates]; + case DBTEAMAddSecondaryEmailResultUnknownError: + return [self.unknownError isEqual:anAddSecondaryEmailResult.unknownError]; + case DBTEAMAddSecondaryEmailResultRateLimited: + return [self.rateLimited isEqual:anAddSecondaryEmailResult.rateLimited]; + case DBTEAMAddSecondaryEmailResultOther: + return [[self tagName] isEqual:[anAddSecondaryEmailResult tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMAddSecondaryEmailResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMAddSecondaryEmailResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBSECONDARYEMAILSSecondaryEmailSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isUnavailable]) { + jsonDict[@"unavailable"] = valueObj.unavailable; + jsonDict[@".tag"] = @"unavailable"; + } else if ([valueObj isAlreadyPending]) { + jsonDict[@"already_pending"] = valueObj.alreadyPending; + jsonDict[@".tag"] = @"already_pending"; + } else if ([valueObj isAlreadyOwnedByUser]) { + jsonDict[@"already_owned_by_user"] = valueObj.alreadyOwnedByUser; + jsonDict[@".tag"] = @"already_owned_by_user"; + } else if ([valueObj isReachedLimit]) { + jsonDict[@"reached_limit"] = valueObj.reachedLimit; + jsonDict[@".tag"] = @"reached_limit"; + } else if ([valueObj isTransientError]) { + jsonDict[@"transient_error"] = valueObj.transientError; + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isTooManyUpdates]) { + jsonDict[@"too_many_updates"] = valueObj.tooManyUpdates; + jsonDict[@".tag"] = @"too_many_updates"; + } else if ([valueObj isUnknownError]) { + jsonDict[@"unknown_error"] = valueObj.unknownError; + jsonDict[@".tag"] = @"unknown_error"; + } else if ([valueObj isRateLimited]) { + jsonDict[@"rate_limited"] = valueObj.rateLimited; + jsonDict[@".tag"] = @"rate_limited"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMAddSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBSECONDARYEMAILSSecondaryEmail *success = [DBSECONDARYEMAILSSecondaryEmailSerializer deserialize:valueDict]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"unavailable"]) { + NSString *unavailable = valueDict[@"unavailable"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithUnavailable:unavailable]; + } else if ([tag isEqualToString:@"already_pending"]) { + NSString *alreadyPending = valueDict[@"already_pending"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithAlreadyPending:alreadyPending]; + } else if ([tag isEqualToString:@"already_owned_by_user"]) { + NSString *alreadyOwnedByUser = valueDict[@"already_owned_by_user"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithAlreadyOwnedByUser:alreadyOwnedByUser]; + } else if ([tag isEqualToString:@"reached_limit"]) { + NSString *reachedLimit = valueDict[@"reached_limit"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithReachedLimit:reachedLimit]; + } else if ([tag isEqualToString:@"transient_error"]) { + NSString *transientError = valueDict[@"transient_error"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithTransientError:transientError]; + } else if ([tag isEqualToString:@"too_many_updates"]) { + NSString *tooManyUpdates = valueDict[@"too_many_updates"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithTooManyUpdates:tooManyUpdates]; + } else if ([tag isEqualToString:@"unknown_error"]) { + NSString *unknownError = valueDict[@"unknown_error"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithUnknownError:unknownError]; + } else if ([tag isEqualToString:@"rate_limited"]) { + NSString *rateLimited = valueDict[@"rate_limited"]; + return [[DBTEAMAddSecondaryEmailResult alloc] initWithRateLimited:rateLimited]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMAddSecondaryEmailResult alloc] initWithOther]; + } else { + return [[DBTEAMAddSecondaryEmailResult alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAddSecondaryEmailsArg.h" +#import "DBTEAMUserSecondaryEmailsArg.h" + +#pragma mark - API Object + +@implementation DBTEAMAddSecondaryEmailsArg + +#pragma mark - Constructors + +- (instancetype)initWithDNewSecondaryEmails:(NSArray *)dNewSecondaryEmails { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](dNewSecondaryEmails); + + self = [super init]; + if (self) { + _dNewSecondaryEmails = dNewSecondaryEmails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMAddSecondaryEmailsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMAddSecondaryEmailsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMAddSecondaryEmailsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewSecondaryEmails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAddSecondaryEmailsArg:other]; +} + +- (BOOL)isEqualToAddSecondaryEmailsArg:(DBTEAMAddSecondaryEmailsArg *)anAddSecondaryEmailsArg { + if (self == anAddSecondaryEmailsArg) { + return YES; + } + if (![self.dNewSecondaryEmails isEqual:anAddSecondaryEmailsArg.dNewSecondaryEmails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMAddSecondaryEmailsArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_secondary_emails"] = + [DBArraySerializer serialize:valueObj.dNewSecondaryEmails + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMAddSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { + NSArray *dNewSecondaryEmails = + [DBArraySerializer deserialize:valueDict[@"new_secondary_emails"] + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMAddSecondaryEmailsArg alloc] initWithDNewSecondaryEmails:dNewSecondaryEmails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAddSecondaryEmailsError.h" + +#pragma mark - API Object + +@implementation DBTEAMAddSecondaryEmailsError + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryEmailsDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled; + } + return self; +} + +- (instancetype)initWithTooManyEmails { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailsErrorTooManyEmails; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMAddSecondaryEmailsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isSecondaryEmailsDisabled { + return _tag == DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled; +} + +- (BOOL)isTooManyEmails { + return _tag == DBTEAMAddSecondaryEmailsErrorTooManyEmails; +} + +- (BOOL)isOther { + return _tag == DBTEAMAddSecondaryEmailsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled: + return @"DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled"; + case DBTEAMAddSecondaryEmailsErrorTooManyEmails: + return @"DBTEAMAddSecondaryEmailsErrorTooManyEmails"; + case DBTEAMAddSecondaryEmailsErrorOther: + return @"DBTEAMAddSecondaryEmailsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMAddSecondaryEmailsErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMAddSecondaryEmailsErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMAddSecondaryEmailsErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMAddSecondaryEmailsErrorTooManyEmails: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMAddSecondaryEmailsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAddSecondaryEmailsError:other]; +} + +- (BOOL)isEqualToAddSecondaryEmailsError:(DBTEAMAddSecondaryEmailsError *)anAddSecondaryEmailsError { + if (self == anAddSecondaryEmailsError) { + return YES; + } + if (self.tag != anAddSecondaryEmailsError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled: + return [[self tagName] isEqual:[anAddSecondaryEmailsError tagName]]; + case DBTEAMAddSecondaryEmailsErrorTooManyEmails: + return [[self tagName] isEqual:[anAddSecondaryEmailsError tagName]]; + case DBTEAMAddSecondaryEmailsErrorOther: + return [[self tagName] isEqual:[anAddSecondaryEmailsError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMAddSecondaryEmailsErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSecondaryEmailsDisabled]) { + jsonDict[@".tag"] = @"secondary_emails_disabled"; + } else if ([valueObj isTooManyEmails]) { + jsonDict[@".tag"] = @"too_many_emails"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMAddSecondaryEmailsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"secondary_emails_disabled"]) { + return [[DBTEAMAddSecondaryEmailsError alloc] initWithSecondaryEmailsDisabled]; + } else if ([tag isEqualToString:@"too_many_emails"]) { + return [[DBTEAMAddSecondaryEmailsError alloc] initWithTooManyEmails]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMAddSecondaryEmailsError alloc] initWithOther]; + } else { + return [[DBTEAMAddSecondaryEmailsError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAddSecondaryEmailsResult.h" +#import "DBTEAMUserAddResult.h" + +#pragma mark - API Object + +@implementation DBTEAMAddSecondaryEmailsResult + +#pragma mark - Constructors + +- (instancetype)initWithResults:(NSArray *)results { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); + + self = [super init]; + if (self) { + _results = results; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMAddSecondaryEmailsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMAddSecondaryEmailsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMAddSecondaryEmailsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.results hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAddSecondaryEmailsResult:other]; +} + +- (BOOL)isEqualToAddSecondaryEmailsResult:(DBTEAMAddSecondaryEmailsResult *)anAddSecondaryEmailsResult { + if (self == anAddSecondaryEmailsResult) { + return YES; + } + if (![self.results isEqual:anAddSecondaryEmailsResult.results]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMAddSecondaryEmailsResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMUserAddResultSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMAddSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] + withBlock:^id(id elem0) { + return [DBTEAMUserAddResultSerializer deserialize:elem0]; + }]; + + return [[DBTEAMAddSecondaryEmailsResult alloc] initWithResults:results]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMAdminTier.h" @@ -473,17 +1321,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMAdminTierSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMAdminTierSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMAdminTierSerializer serialize:self] description]; } @@ -504,12 +1352,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMAdminTierTeamAdmin: result = prime * result + [[self tagName] hash]; + break; case DBTEAMAdminTierUserManagementAdmin: result = prime * result + [[self tagName] hash]; + break; case DBTEAMAdminTierSupportAdmin: result = prime * result + [[self tagName] hash]; + break; case DBTEAMAdminTierMemberOnly: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -553,7 +1405,7 @@ - (BOOL)isEqualToAdminTier:(DBTEAMAdminTier *)anAdminTier { @implementation DBTEAMAdminTierSerializer -+ (NSDictionary *)serialize:(DBTEAMAdminTier *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMAdminTier *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamAdmin]) { @@ -570,10 +1422,10 @@ + (NSDictionary *)serialize:(DBTEAMAdminTier *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMAdminTier *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMAdminTier *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_admin"]) { @@ -632,17 +1484,17 @@ - (instancetype)initWithAppId:(NSString *)appId appName:(NSString *)appName isAp #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMApiAppSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMApiAppSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMApiAppSerializer serialize:self] description]; } @@ -725,7 +1577,7 @@ - (BOOL)isEqualToApiApp:(DBTEAMApiApp *)anApiApp { @implementation DBTEAMApiAppSerializer -+ (NSDictionary *)serialize:(DBTEAMApiApp *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMApiApp *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"app_id"] = valueObj.appId; @@ -741,10 +1593,10 @@ + (NSDictionary *)serialize:(DBTEAMApiApp *)valueObj { jsonDict[@"linked"] = [DBNSDateSerializer serialize:valueObj.linked dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMApiApp *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMApiApp *)deserialize:(NSDictionary *)valueDict { NSString *appId = valueDict[@"app_id"]; NSString *appName = valueDict[@"app_name"]; NSNumber *isAppFolder = valueDict[@"is_app_folder"]; @@ -786,17 +1638,17 @@ - (instancetype)initWithStartDate:(NSString *)startDate { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMBaseDfbReportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMBaseDfbReportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMBaseDfbReportSerializer serialize:self] description]; } @@ -847,15 +1699,15 @@ - (BOOL)isEqualToBaseDfbReport:(DBTEAMBaseDfbReport *)aBaseDfbReport { @implementation DBTEAMBaseDfbReportSerializer -+ (NSDictionary *)serialize:(DBTEAMBaseDfbReport *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMBaseDfbReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; return [[DBTEAMBaseDfbReport alloc] initWithStartDate:startDate]; @@ -977,17 +1829,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMBaseTeamFolderErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMBaseTeamFolderErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMBaseTeamFolderErrorSerializer serialize:self] description]; } @@ -1008,12 +1860,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMBaseTeamFolderErrorAccessError: result = prime * result + [self.accessError hash]; + break; case DBTEAMBaseTeamFolderErrorStatusError: result = prime * result + [self.statusError hash]; + break; case DBTEAMBaseTeamFolderErrorTeamSharedDropboxError: result = prime * result + [self.teamSharedDropboxError hash]; + break; case DBTEAMBaseTeamFolderErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1057,7 +1913,7 @@ - (BOOL)isEqualToBaseTeamFolderError:(DBTEAMBaseTeamFolderError *)aBaseTeamFolde @implementation DBTEAMBaseTeamFolderErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isAccessError]) { @@ -1077,10 +1933,10 @@ + (NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"access_error"]) { @@ -1155,17 +2011,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCustomQuotaErrorSerializer serialize:self] description]; } @@ -1186,8 +2042,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMCustomQuotaErrorTooManyUsers: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCustomQuotaErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1227,7 +2085,7 @@ - (BOOL)isEqualToCustomQuotaError:(DBTEAMCustomQuotaError *)aCustomQuotaError { @implementation DBTEAMCustomQuotaErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMCustomQuotaError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCustomQuotaError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTooManyUsers]) { @@ -1238,10 +2096,10 @@ + (NSDictionary *)serialize:(DBTEAMCustomQuotaError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"too_many_users"]) { @@ -1343,17 +2201,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCustomQuotaResultSerializer serialize:self] description]; } @@ -1374,10 +2232,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMCustomQuotaResultSuccess: result = prime * result + [self.success hash]; + break; case DBTEAMCustomQuotaResultInvalidUser: result = prime * result + [self.invalidUser hash]; + break; case DBTEAMCustomQuotaResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1419,11 +2280,11 @@ - (BOOL)isEqualToCustomQuotaResult:(DBTEAMCustomQuotaResult *)aCustomQuotaResult @implementation DBTEAMCustomQuotaResultSerializer -+ (NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBTEAMUserCustomQuotaResultSerializer serialize:valueObj.success] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMUserCustomQuotaResultSerializer serialize:valueObj.success]]; jsonDict[@".tag"] = @"success"; } else if ([valueObj isInvalidUser]) { jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; @@ -1434,10 +2295,10 @@ + (NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { @@ -1481,17 +2342,17 @@ - (instancetype)initWithUsers:(NSArray *)users { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCustomQuotaUsersArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCustomQuotaUsersArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCustomQuotaUsersArgSerializer serialize:self] description]; } @@ -1542,7 +2403,7 @@ - (BOOL)isEqualToCustomQuotaUsersArg:(DBTEAMCustomQuotaUsersArg *)aCustomQuotaUs @implementation DBTEAMCustomQuotaUsersArgSerializer -+ (NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users @@ -1550,10 +2411,10 @@ + (NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)valueObj { return [DBTEAMUserSelectorArgSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { @@ -1591,17 +2452,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDateRangeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDateRangeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDateRangeSerializer serialize:self] description]; } @@ -1664,7 +2525,7 @@ - (BOOL)isEqualToDateRange:(DBTEAMDateRange *)aDateRange { @implementation DBTEAMDateRangeSerializer -+ (NSDictionary *)serialize:(DBTEAMDateRange *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDateRange *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.startDate) { @@ -1674,10 +2535,10 @@ + (NSDictionary *)serialize:(DBTEAMDateRange *)valueObj { jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%d"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDateRange *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDateRange *)deserialize:(NSDictionary *)valueDict { NSDate *startDate = valueDict[@"start_date"] ? [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%d"] : nil; NSDate *endDate = @@ -1725,17 +2586,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDateRangeErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDateRangeErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDateRangeErrorSerializer serialize:self] description]; } @@ -1756,6 +2617,7 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMDateRangeErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1793,7 +2655,7 @@ - (BOOL)isEqualToDateRangeError:(DBTEAMDateRangeError *)aDateRangeError { @implementation DBTEAMDateRangeErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMDateRangeError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDateRangeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isOther]) { @@ -1802,10 +2664,10 @@ + (NSDictionary *)serialize:(DBTEAMDateRangeError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDateRangeError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDateRangeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"other"]) { @@ -1817,6 +2679,463 @@ + (DBTEAMDateRangeError *)deserialize:(NSDictionary *)valueDict { @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeleteSecondaryEmailResult.h" + +#pragma mark - API Object + +@implementation DBTEAMDeleteSecondaryEmailResult + +@synthesize success = _success; +@synthesize notFound = _notFound; +@synthesize cannotRemovePrimary = _cannotRemovePrimary; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(NSString *)success { + self = [super init]; + if (self) { + _tag = DBTEAMDeleteSecondaryEmailResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithNotFound:(NSString *)notFound { + self = [super init]; + if (self) { + _tag = DBTEAMDeleteSecondaryEmailResultNotFound; + _notFound = notFound; + } + return self; +} + +- (instancetype)initWithCannotRemovePrimary:(NSString *)cannotRemovePrimary { + self = [super init]; + if (self) { + _tag = DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary; + _cannotRemovePrimary = cannotRemovePrimary; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMDeleteSecondaryEmailResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMDeleteSecondaryEmailResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (NSString *)notFound { + if (![self isNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMDeleteSecondaryEmailResultNotFound, but was %@.", [self tagName]]; + } + return _notFound; +} + +- (NSString *)cannotRemovePrimary { + if (![self isCannotRemovePrimary]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary, but was %@.", + [self tagName]]; + } + return _cannotRemovePrimary; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBTEAMDeleteSecondaryEmailResultSuccess; +} + +- (BOOL)isNotFound { + return _tag == DBTEAMDeleteSecondaryEmailResultNotFound; +} + +- (BOOL)isCannotRemovePrimary { + return _tag == DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary; +} + +- (BOOL)isOther { + return _tag == DBTEAMDeleteSecondaryEmailResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMDeleteSecondaryEmailResultSuccess: + return @"DBTEAMDeleteSecondaryEmailResultSuccess"; + case DBTEAMDeleteSecondaryEmailResultNotFound: + return @"DBTEAMDeleteSecondaryEmailResultNotFound"; + case DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary: + return @"DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary"; + case DBTEAMDeleteSecondaryEmailResultOther: + return @"DBTEAMDeleteSecondaryEmailResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMDeleteSecondaryEmailResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMDeleteSecondaryEmailResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMDeleteSecondaryEmailResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMDeleteSecondaryEmailResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMDeleteSecondaryEmailResultNotFound: + result = prime * result + [self.notFound hash]; + break; + case DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary: + result = prime * result + [self.cannotRemovePrimary hash]; + break; + case DBTEAMDeleteSecondaryEmailResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteSecondaryEmailResult:other]; +} + +- (BOOL)isEqualToDeleteSecondaryEmailResult:(DBTEAMDeleteSecondaryEmailResult *)aDeleteSecondaryEmailResult { + if (self == aDeleteSecondaryEmailResult) { + return YES; + } + if (self.tag != aDeleteSecondaryEmailResult.tag) { + return NO; + } + switch (_tag) { + case DBTEAMDeleteSecondaryEmailResultSuccess: + return [self.success isEqual:aDeleteSecondaryEmailResult.success]; + case DBTEAMDeleteSecondaryEmailResultNotFound: + return [self.notFound isEqual:aDeleteSecondaryEmailResult.notFound]; + case DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary: + return [self.cannotRemovePrimary isEqual:aDeleteSecondaryEmailResult.cannotRemovePrimary]; + case DBTEAMDeleteSecondaryEmailResultOther: + return [[self tagName] isEqual:[aDeleteSecondaryEmailResult tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMDeleteSecondaryEmailResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + jsonDict[@"success"] = valueObj.success; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isNotFound]) { + jsonDict[@"not_found"] = valueObj.notFound; + jsonDict[@".tag"] = @"not_found"; + } else if ([valueObj isCannotRemovePrimary]) { + jsonDict[@"cannot_remove_primary"] = valueObj.cannotRemovePrimary; + jsonDict[@".tag"] = @"cannot_remove_primary"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMDeleteSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + NSString *success = valueDict[@"success"]; + return [[DBTEAMDeleteSecondaryEmailResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"not_found"]) { + NSString *notFound = valueDict[@"not_found"]; + return [[DBTEAMDeleteSecondaryEmailResult alloc] initWithNotFound:notFound]; + } else if ([tag isEqualToString:@"cannot_remove_primary"]) { + NSString *cannotRemovePrimary = valueDict[@"cannot_remove_primary"]; + return [[DBTEAMDeleteSecondaryEmailResult alloc] initWithCannotRemovePrimary:cannotRemovePrimary]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMDeleteSecondaryEmailResult alloc] initWithOther]; + } else { + return [[DBTEAMDeleteSecondaryEmailResult alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeleteSecondaryEmailsArg.h" +#import "DBTEAMUserSecondaryEmailsArg.h" + +#pragma mark - API Object + +@implementation DBTEAMDeleteSecondaryEmailsArg + +#pragma mark - Constructors + +- (instancetype)initWithEmailsToDelete:(NSArray *)emailsToDelete { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](emailsToDelete); + + self = [super init]; + if (self) { + _emailsToDelete = emailsToDelete; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMDeleteSecondaryEmailsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMDeleteSecondaryEmailsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMDeleteSecondaryEmailsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.emailsToDelete hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteSecondaryEmailsArg:other]; +} + +- (BOOL)isEqualToDeleteSecondaryEmailsArg:(DBTEAMDeleteSecondaryEmailsArg *)aDeleteSecondaryEmailsArg { + if (self == aDeleteSecondaryEmailsArg) { + return YES; + } + if (![self.emailsToDelete isEqual:aDeleteSecondaryEmailsArg.emailsToDelete]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMDeleteSecondaryEmailsArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"emails_to_delete"] = [DBArraySerializer serialize:valueObj.emailsToDelete + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMDeleteSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { + NSArray *emailsToDelete = + [DBArraySerializer deserialize:valueDict[@"emails_to_delete"] + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMDeleteSecondaryEmailsArg alloc] initWithEmailsToDelete:emailsToDelete]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeleteSecondaryEmailsResult.h" +#import "DBTEAMUserDeleteResult.h" + +#pragma mark - API Object + +@implementation DBTEAMDeleteSecondaryEmailsResult + +#pragma mark - Constructors + +- (instancetype)initWithResults:(NSArray *)results { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); + + self = [super init]; + if (self) { + _results = results; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMDeleteSecondaryEmailsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMDeleteSecondaryEmailsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMDeleteSecondaryEmailsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.results hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteSecondaryEmailsResult:other]; +} + +- (BOOL)isEqualToDeleteSecondaryEmailsResult:(DBTEAMDeleteSecondaryEmailsResult *)aDeleteSecondaryEmailsResult { + if (self == aDeleteSecondaryEmailsResult) { + return YES; + } + if (![self.results isEqual:aDeleteSecondaryEmailsResult.results]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMDeleteSecondaryEmailsResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMUserDeleteResultSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMDeleteSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] + withBlock:^id(id elem0) { + return [DBTEAMUserDeleteResultSerializer deserialize:elem0]; + }]; + + return [[DBTEAMDeleteSecondaryEmailsResult alloc] initWithResults:results]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMDesktopClientSession.h" @@ -1877,17 +3196,17 @@ - (instancetype)initWithSessionId:(NSString *)sessionId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDesktopClientSessionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDesktopClientSessionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDesktopClientSessionSerializer serialize:self] description]; } @@ -1990,7 +3309,7 @@ - (BOOL)isEqualToDesktopClientSession:(DBTEAMDesktopClientSession *)aDesktopClie @implementation DBTEAMDesktopClientSessionSerializer -+ (NSDictionary *)serialize:(DBTEAMDesktopClientSession *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDesktopClientSession *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; @@ -2012,10 +3331,10 @@ + (NSDictionary *)serialize:(DBTEAMDesktopClientSession *)valueObj { jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *hostName = valueDict[@"host_name"]; DBTEAMDesktopPlatform *clientType = [DBTEAMDesktopPlatformSerializer deserialize:valueDict[@"client_type"]]; @@ -2124,17 +3443,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDesktopPlatformSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDesktopPlatformSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDesktopPlatformSerializer serialize:self] description]; } @@ -2155,12 +3474,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMDesktopPlatformWindows: result = prime * result + [[self tagName] hash]; + break; case DBTEAMDesktopPlatformMac: result = prime * result + [[self tagName] hash]; + break; case DBTEAMDesktopPlatformLinux: result = prime * result + [[self tagName] hash]; + break; case DBTEAMDesktopPlatformOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2204,7 +3527,7 @@ - (BOOL)isEqualToDesktopPlatform:(DBTEAMDesktopPlatform *)aDesktopPlatform { @implementation DBTEAMDesktopPlatformSerializer -+ (NSDictionary *)serialize:(DBTEAMDesktopPlatform *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDesktopPlatform *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isWindows]) { @@ -2219,10 +3542,10 @@ + (NSDictionary *)serialize:(DBTEAMDesktopPlatform *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"windows"]) { @@ -2264,17 +3587,17 @@ - (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString * #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDeviceSessionArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDeviceSessionArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDeviceSessionArgSerializer serialize:self] description]; } @@ -2329,16 +3652,16 @@ - (BOOL)isEqualToDeviceSessionArg:(DBTEAMDeviceSessionArg *)aDeviceSessionArg { @implementation DBTEAMDeviceSessionArgSerializer -+ (NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"session_id"] = valueObj.sessionId; jsonDict[@"team_member_id"] = valueObj.teamMemberId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"]; NSString *teamMemberId = valueDict[@"team_member_id"]; @@ -2387,17 +3710,17 @@ - (instancetype)initWithWindows:(NSArray *)windows #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMDevicesActiveSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMDevicesActiveSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMDevicesActiveSerializer serialize:self] description]; } @@ -2472,7 +3795,7 @@ - (BOOL)isEqualToDevicesActive:(DBTEAMDevicesActive *)aDevicesActive { @implementation DBTEAMDevicesActiveSerializer -+ (NSDictionary *)serialize:(DBTEAMDevicesActive *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMDevicesActive *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"windows"] = [DBArraySerializer serialize:valueObj.windows @@ -2504,10 +3827,10 @@ + (NSDictionary *)serialize:(DBTEAMDevicesActive *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMDevicesActive *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMDevicesActive *)deserialize:(NSDictionary *)valueDict { NSArray *windows = [DBArraySerializer deserialize:valueDict[@"windows"] withBlock:^id(id elem0) { return elem0; @@ -2573,17 +3896,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersListArgSerializer serialize:self] description]; } @@ -2634,15 +3957,15 @@ - (BOOL)isEqualToExcludedUsersListArg:(DBTEAMExcludedUsersListArg *)anExcludedUs @implementation DBTEAMExcludedUsersListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMExcludedUsersListArg alloc] initWithLimit:limit]; @@ -2672,17 +3995,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersListContinueArgSerializer serialize:self] description]; } @@ -2733,15 +4056,15 @@ - (BOOL)isEqualToExcludedUsersListContinueArg:(DBTEAMExcludedUsersListContinueAr @implementation DBTEAMExcludedUsersListContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMExcludedUsersListContinueArg alloc] initWithCursor:cursor]; @@ -2800,17 +4123,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersListContinueErrorSerializer serialize:self] description]; } @@ -2831,8 +4154,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMExcludedUsersListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBTEAMExcludedUsersListContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2873,7 +4198,7 @@ - (BOOL)isEqualToExcludedUsersListContinueError: @implementation DBTEAMExcludedUsersListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidCursor]) { @@ -2884,10 +4209,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { @@ -2952,17 +4277,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersListErrorSerializer serialize:self] description]; } @@ -2983,8 +4308,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMExcludedUsersListErrorListError: result = prime * result + [[self tagName] hash]; + break; case DBTEAMExcludedUsersListErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3024,7 +4351,7 @@ - (BOOL)isEqualToExcludedUsersListError:(DBTEAMExcludedUsersListError *)anExclud @implementation DBTEAMExcludedUsersListErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isListError]) { @@ -3035,10 +4362,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"list_error"]) { @@ -3087,17 +4414,17 @@ - (instancetype)initWithUsers:(NSArray *)users hasMore:(N #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersListResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersListResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersListResultSerializer serialize:self] description]; } @@ -3160,7 +4487,7 @@ - (BOOL)isEqualToExcludedUsersListResult:(DBTEAMExcludedUsersListResult *)anExcl @implementation DBTEAMExcludedUsersListResultSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"users"] = [DBArraySerializer serialize:valueObj.users @@ -3172,10 +4499,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)valueDict { NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { @@ -3219,17 +4546,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateArgSerializer serialize:self] description]; } @@ -3284,7 +4611,7 @@ - (BOOL)isEqualToExcludedUsersUpdateArg:(DBTEAMExcludedUsersUpdateArg *)anExclud @implementation DBTEAMExcludedUsersUpdateArgSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.users) { @@ -3294,10 +4621,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)valueDict { NSArray *users = valueDict[@"users"] ? [DBArraySerializer deserialize:valueDict[@"users"] withBlock:^id(id elem0) { @@ -3375,17 +4702,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateErrorSerializer serialize:self] description]; } @@ -3406,10 +4733,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMExcludedUsersUpdateErrorUsersNotInTeam: result = prime * result + [[self tagName] hash]; + break; case DBTEAMExcludedUsersUpdateErrorTooManyUsers: result = prime * result + [[self tagName] hash]; + break; case DBTEAMExcludedUsersUpdateErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3451,7 +4781,7 @@ - (BOOL)isEqualToExcludedUsersUpdateError:(DBTEAMExcludedUsersUpdateError *)anEx @implementation DBTEAMExcludedUsersUpdateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUsersNotInTeam]) { @@ -3464,10 +4794,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"users_not_in_team"]) { @@ -3506,17 +4836,17 @@ - (instancetype)initWithStatus:(DBTEAMExcludedUsersUpdateStatus *)status { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateResultSerializer serialize:self] description]; } @@ -3567,15 +4897,15 @@ - (BOOL)isEqualToExcludedUsersUpdateResult:(DBTEAMExcludedUsersUpdateResult *)an @implementation DBTEAMExcludedUsersUpdateResultSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"status"] = [DBTEAMExcludedUsersUpdateStatusSerializer serialize:valueObj.status]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)valueDict { DBTEAMExcludedUsersUpdateStatus *status = [DBTEAMExcludedUsersUpdateStatusSerializer deserialize:valueDict[@"status"]]; @@ -3635,17 +4965,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMExcludedUsersUpdateStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMExcludedUsersUpdateStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMExcludedUsersUpdateStatusSerializer serialize:self] description]; } @@ -3666,8 +4996,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMExcludedUsersUpdateStatusSuccess: result = prime * result + [[self tagName] hash]; + break; case DBTEAMExcludedUsersUpdateStatusOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3707,7 +5039,7 @@ - (BOOL)isEqualToExcludedUsersUpdateStatus:(DBTEAMExcludedUsersUpdateStatus *)an @implementation DBTEAMExcludedUsersUpdateStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isSuccess]) { @@ -3718,10 +5050,10 @@ + (NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"success"]) { @@ -3769,6 +5101,14 @@ - (instancetype)initWithHasTeamFileEvents { return self; } +- (instancetype)initWithHasTeamSelectiveSync { + self = [super init]; + if (self) { + _tag = DBTEAMFeatureHasTeamSelectiveSync; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -3793,6 +5133,10 @@ - (BOOL)isHasTeamFileEvents { return _tag == DBTEAMFeatureHasTeamFileEvents; } +- (BOOL)isHasTeamSelectiveSync { + return _tag == DBTEAMFeatureHasTeamSelectiveSync; +} + - (BOOL)isOther { return _tag == DBTEAMFeatureOther; } @@ -3805,6 +5149,8 @@ - (NSString *)tagName { return @"DBTEAMFeatureHasTeamSharedDropbox"; case DBTEAMFeatureHasTeamFileEvents: return @"DBTEAMFeatureHasTeamFileEvents"; + case DBTEAMFeatureHasTeamSelectiveSync: + return @"DBTEAMFeatureHasTeamSelectiveSync"; case DBTEAMFeatureOther: return @"DBTEAMFeatureOther"; } @@ -3814,17 +5160,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeatureSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeatureSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMFeatureSerializer serialize:self] description]; } @@ -3845,12 +5191,19 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMFeatureUploadApiRateLimit: result = prime * result + [[self tagName] hash]; + break; case DBTEAMFeatureHasTeamSharedDropbox: result = prime * result + [[self tagName] hash]; + break; case DBTEAMFeatureHasTeamFileEvents: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMFeatureHasTeamSelectiveSync: + result = prime * result + [[self tagName] hash]; + break; case DBTEAMFeatureOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3882,6 +5235,8 @@ - (BOOL)isEqualToFeature:(DBTEAMFeature *)aFeature { return [[self tagName] isEqual:[aFeature tagName]]; case DBTEAMFeatureHasTeamFileEvents: return [[self tagName] isEqual:[aFeature tagName]]; + case DBTEAMFeatureHasTeamSelectiveSync: + return [[self tagName] isEqual:[aFeature tagName]]; case DBTEAMFeatureOther: return [[self tagName] isEqual:[aFeature tagName]]; } @@ -3894,7 +5249,7 @@ - (BOOL)isEqualToFeature:(DBTEAMFeature *)aFeature { @implementation DBTEAMFeatureSerializer -+ (NSDictionary *)serialize:(DBTEAMFeature *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMFeature *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUploadApiRateLimit]) { @@ -3903,16 +5258,18 @@ + (NSDictionary *)serialize:(DBTEAMFeature *)valueObj { jsonDict[@".tag"] = @"has_team_shared_dropbox"; } else if ([valueObj isHasTeamFileEvents]) { jsonDict[@".tag"] = @"has_team_file_events"; + } else if ([valueObj isHasTeamSelectiveSync]) { + jsonDict[@".tag"] = @"has_team_selective_sync"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"upload_api_rate_limit"]) { @@ -3921,6 +5278,8 @@ + (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { return [[DBTEAMFeature alloc] initWithHasTeamSharedDropbox]; } else if ([tag isEqualToString:@"has_team_file_events"]) { return [[DBTEAMFeature alloc] initWithHasTeamFileEvents]; + } else if ([tag isEqualToString:@"has_team_selective_sync"]) { + return [[DBTEAMFeature alloc] initWithHasTeamSelectiveSync]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMFeature alloc] initWithOther]; } else { @@ -3934,6 +5293,7 @@ + (DBTEAMFeature *)deserialize:(NSDictionary *)valueDict { #import "DBStoneValidators.h" #import "DBTEAMFeatureValue.h" #import "DBTEAMHasTeamFileEventsValue.h" +#import "DBTEAMHasTeamSelectiveSyncValue.h" #import "DBTEAMHasTeamSharedDropboxValue.h" #import "DBTEAMUploadApiRateLimitValue.h" @@ -3944,6 +5304,7 @@ @implementation DBTEAMFeatureValue @synthesize uploadApiRateLimit = _uploadApiRateLimit; @synthesize hasTeamSharedDropbox = _hasTeamSharedDropbox; @synthesize hasTeamFileEvents = _hasTeamFileEvents; +@synthesize hasTeamSelectiveSync = _hasTeamSelectiveSync; #pragma mark - Constructors @@ -3974,6 +5335,15 @@ - (instancetype)initWithHasTeamFileEvents:(DBTEAMHasTeamFileEventsValue *)hasTea return self; } +- (instancetype)initWithHasTeamSelectiveSync:(DBTEAMHasTeamSelectiveSyncValue *)hasTeamSelectiveSync { + self = [super init]; + if (self) { + _tag = DBTEAMFeatureValueHasTeamSelectiveSync; + _hasTeamSelectiveSync = hasTeamSelectiveSync; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { @@ -4008,6 +5378,14 @@ - (DBTEAMHasTeamFileEventsValue *)hasTeamFileEvents { return _hasTeamFileEvents; } +- (DBTEAMHasTeamSelectiveSyncValue *)hasTeamSelectiveSync { + if (![self isHasTeamSelectiveSync]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMFeatureValueHasTeamSelectiveSync, but was %@.", [self tagName]]; + } + return _hasTeamSelectiveSync; +} + #pragma mark - Tag state methods - (BOOL)isUploadApiRateLimit { @@ -4022,6 +5400,10 @@ - (BOOL)isHasTeamFileEvents { return _tag == DBTEAMFeatureValueHasTeamFileEvents; } +- (BOOL)isHasTeamSelectiveSync { + return _tag == DBTEAMFeatureValueHasTeamSelectiveSync; +} + - (BOOL)isOther { return _tag == DBTEAMFeatureValueOther; } @@ -4034,6 +5416,8 @@ - (NSString *)tagName { return @"DBTEAMFeatureValueHasTeamSharedDropbox"; case DBTEAMFeatureValueHasTeamFileEvents: return @"DBTEAMFeatureValueHasTeamFileEvents"; + case DBTEAMFeatureValueHasTeamSelectiveSync: + return @"DBTEAMFeatureValueHasTeamSelectiveSync"; case DBTEAMFeatureValueOther: return @"DBTEAMFeatureValueOther"; } @@ -4043,17 +5427,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeatureValueSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeatureValueSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMFeatureValueSerializer serialize:self] description]; } @@ -4074,12 +5458,19 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMFeatureValueUploadApiRateLimit: result = prime * result + [self.uploadApiRateLimit hash]; + break; case DBTEAMFeatureValueHasTeamSharedDropbox: result = prime * result + [self.hasTeamSharedDropbox hash]; + break; case DBTEAMFeatureValueHasTeamFileEvents: result = prime * result + [self.hasTeamFileEvents hash]; + break; + case DBTEAMFeatureValueHasTeamSelectiveSync: + result = prime * result + [self.hasTeamSelectiveSync hash]; + break; case DBTEAMFeatureValueOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4111,6 +5502,8 @@ - (BOOL)isEqualToFeatureValue:(DBTEAMFeatureValue *)aFeatureValue { return [self.hasTeamSharedDropbox isEqual:aFeatureValue.hasTeamSharedDropbox]; case DBTEAMFeatureValueHasTeamFileEvents: return [self.hasTeamFileEvents isEqual:aFeatureValue.hasTeamFileEvents]; + case DBTEAMFeatureValueHasTeamSelectiveSync: + return [self.hasTeamSelectiveSync isEqual:aFeatureValue.hasTeamSelectiveSync]; case DBTEAMFeatureValueOther: return [[self tagName] isEqual:[aFeatureValue tagName]]; } @@ -4123,7 +5516,7 @@ - (BOOL)isEqualToFeatureValue:(DBTEAMFeatureValue *)aFeatureValue { @implementation DBTEAMFeatureValueSerializer -+ (NSDictionary *)serialize:(DBTEAMFeatureValue *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMFeatureValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUploadApiRateLimit]) { @@ -4138,16 +5531,20 @@ + (NSDictionary *)serialize:(DBTEAMFeatureValue *)valueObj { jsonDict[@"has_team_file_events"] = [[DBTEAMHasTeamFileEventsValueSerializer serialize:valueObj.hasTeamFileEvents] mutableCopy]; jsonDict[@".tag"] = @"has_team_file_events"; + } else if ([valueObj isHasTeamSelectiveSync]) { + jsonDict[@"has_team_selective_sync"] = + [[DBTEAMHasTeamSelectiveSyncValueSerializer serialize:valueObj.hasTeamSelectiveSync] mutableCopy]; + jsonDict[@".tag"] = @"has_team_selective_sync"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMFeatureValue *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMFeatureValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"upload_api_rate_limit"]) { @@ -4162,6 +5559,10 @@ + (DBTEAMFeatureValue *)deserialize:(NSDictionary *)valueDict { DBTEAMHasTeamFileEventsValue *hasTeamFileEvents = [DBTEAMHasTeamFileEventsValueSerializer deserialize:valueDict[@"has_team_file_events"]]; return [[DBTEAMFeatureValue alloc] initWithHasTeamFileEvents:hasTeamFileEvents]; + } else if ([tag isEqualToString:@"has_team_selective_sync"]) { + DBTEAMHasTeamSelectiveSyncValue *hasTeamSelectiveSync = + [DBTEAMHasTeamSelectiveSyncValueSerializer deserialize:valueDict[@"has_team_selective_sync"]]; + return [[DBTEAMFeatureValue alloc] initWithHasTeamSelectiveSync:hasTeamSelectiveSync]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMFeatureValue alloc] initWithOther]; } else { @@ -4197,17 +5598,17 @@ - (instancetype)initWithFeatures:(NSArray *)features { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeaturesGetValuesBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchArgSerializer serialize:self] description]; } @@ -4258,7 +5659,7 @@ - (BOOL)isEqualToFeaturesGetValuesBatchArg:(DBTEAMFeaturesGetValuesBatchArg *)aF @implementation DBTEAMFeaturesGetValuesBatchArgSerializer -+ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"features"] = [DBArraySerializer serialize:valueObj.features @@ -4266,10 +5667,10 @@ + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)valueObj { return [DBTEAMFeatureSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *features = [DBArraySerializer deserialize:valueDict[@"features"] withBlock:^id(id elem0) { return [DBTEAMFeatureSerializer deserialize:elem0]; @@ -4331,17 +5732,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeaturesGetValuesBatchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchErrorSerializer serialize:self] description]; } @@ -4362,8 +5763,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList: result = prime * result + [[self tagName] hash]; + break; case DBTEAMFeaturesGetValuesBatchErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4403,7 +5806,7 @@ - (BOOL)isEqualToFeaturesGetValuesBatchError:(DBTEAMFeaturesGetValuesBatchError @implementation DBTEAMFeaturesGetValuesBatchErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEmptyFeaturesList]) { @@ -4414,10 +5817,10 @@ + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"empty_features_list"]) { @@ -4457,17 +5860,17 @@ - (instancetype)initWithValues:(NSArray *)values { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMFeaturesGetValuesBatchResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMFeaturesGetValuesBatchResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMFeaturesGetValuesBatchResultSerializer serialize:self] description]; } @@ -4518,7 +5921,7 @@ - (BOOL)isEqualToFeaturesGetValuesBatchResult:(DBTEAMFeaturesGetValuesBatchResul @implementation DBTEAMFeaturesGetValuesBatchResultSerializer -+ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values @@ -4526,10 +5929,10 @@ + (NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)valueObj { return [DBTEAMFeatureValueSerializer serialize:elem0]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] withBlock:^id(id elem0) { @@ -4616,17 +6019,17 @@ - (instancetype)initWithStartDate:(NSString *)startDate #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetActivityReportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetActivityReportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGetActivityReportSerializer serialize:self] description]; } @@ -4733,7 +6136,7 @@ - (BOOL)isEqualToGetActivityReport:(DBTEAMGetActivityReport *)aGetActivityReport @implementation DBTEAMGetActivityReportSerializer -+ (NSDictionary *)serialize:(DBTEAMGetActivityReport *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGetActivityReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; @@ -4796,10 +6199,10 @@ + (NSDictionary *)serialize:(DBTEAMGetActivityReport *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *adds = [DBArraySerializer deserialize:valueDict[@"adds"] withBlock:^id(id elem0) { @@ -4915,17 +6318,17 @@ - (instancetype)initWithStartDate:(NSString *)startDate #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetDevicesReportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetDevicesReportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGetDevicesReportSerializer serialize:self] description]; } @@ -4988,7 +6391,7 @@ - (BOOL)isEqualToGetDevicesReport:(DBTEAMGetDevicesReport *)aGetDevicesReport { @implementation DBTEAMGetDevicesReportSerializer -+ (NSDictionary *)serialize:(DBTEAMGetDevicesReport *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGetDevicesReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; @@ -4996,10 +6399,10 @@ + (NSDictionary *)serialize:(DBTEAMGetDevicesReport *)valueObj { jsonDict[@"active_7_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active7Day]; jsonDict[@"active_28_day"] = [DBTEAMDevicesActiveSerializer serialize:valueObj.active28Day]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; DBTEAMDevicesActive *active1Day = [DBTEAMDevicesActiveSerializer deserialize:valueDict[@"active_1_day"]]; DBTEAMDevicesActive *active7Day = [DBTEAMDevicesActiveSerializer deserialize:valueDict[@"active_7_day"]]; @@ -5053,17 +6456,17 @@ - (instancetype)initWithStartDate:(NSString *)startDate #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetMembershipReportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetMembershipReportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGetMembershipReportSerializer serialize:self] description]; } @@ -5134,7 +6537,7 @@ - (BOOL)isEqualToGetMembershipReport:(DBTEAMGetMembershipReport *)aGetMembership @implementation DBTEAMGetMembershipReportSerializer -+ (NSDictionary *)serialize:(DBTEAMGetMembershipReport *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGetMembershipReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; @@ -5159,10 +6562,10 @@ + (NSDictionary *)serialize:(DBTEAMGetMembershipReport *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *teamSize = [DBArraySerializer deserialize:valueDict[@"team_size"] withBlock:^id(id elem0) { @@ -5247,17 +6650,17 @@ - (instancetype)initWithStartDate:(NSString *)startDate #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGetStorageReportSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGetStorageReportSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGetStorageReportSerializer serialize:self] description]; } @@ -5328,7 +6731,7 @@ - (BOOL)isEqualToGetStorageReport:(DBTEAMGetStorageReport *)aGetStorageReport { @implementation DBTEAMGetStorageReportSerializer -+ (NSDictionary *)serialize:(DBTEAMGetStorageReport *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGetStorageReport *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"start_date"] = valueObj.startDate; @@ -5357,10 +6760,10 @@ + (NSDictionary *)serialize:(DBTEAMGetStorageReport *)valueObj { }]; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)valueDict { NSString *startDate = valueDict[@"start_date"]; NSArray *totalUsage = [DBArraySerializer deserialize:valueDict[@"total_usage"] withBlock:^id(id elem0) { @@ -5448,17 +6851,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupAccessTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupAccessTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupAccessTypeSerializer serialize:self] description]; } @@ -5479,8 +6882,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupAccessTypeMember: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupAccessTypeOwner: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5520,7 +6925,7 @@ - (BOOL)isEqualToGroupAccessType:(DBTEAMGroupAccessType *)aGroupAccessType { @implementation DBTEAMGroupAccessTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupAccessType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupAccessType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isMember]) { @@ -5533,10 +6938,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupAccessType *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"member"]) { @@ -5565,6 +6970,7 @@ @implementation DBTEAMGroupCreateArg #pragma mark - Constructors - (instancetype)initWithGroupName:(NSString *)groupName + addCreatorAsOwner:(NSNumber *)addCreatorAsOwner groupExternalId:(NSString *)groupExternalId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType { [DBStoneValidators nonnullValidator:nil](groupName); @@ -5572,6 +6978,7 @@ - (instancetype)initWithGroupName:(NSString *)groupName self = [super init]; if (self) { _groupName = groupName; + _addCreatorAsOwner = addCreatorAsOwner ?: @NO; _groupExternalId = groupExternalId; _groupManagementType = groupManagementType; } @@ -5579,22 +6986,22 @@ - (instancetype)initWithGroupName:(NSString *)groupName } - (instancetype)initWithGroupName:(NSString *)groupName { - return [self initWithGroupName:groupName groupExternalId:nil groupManagementType:nil]; + return [self initWithGroupName:groupName addCreatorAsOwner:nil groupExternalId:nil groupManagementType:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupCreateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupCreateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupCreateArgSerializer serialize:self] description]; } @@ -5613,6 +7020,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.groupName hash]; + result = prime * result + [self.addCreatorAsOwner hash]; if (self.groupExternalId != nil) { result = prime * result + [self.groupExternalId hash]; } @@ -5642,6 +7050,9 @@ - (BOOL)isEqualToGroupCreateArg:(DBTEAMGroupCreateArg *)aGroupCreateArg { if (![self.groupName isEqual:aGroupCreateArg.groupName]) { return NO; } + if (![self.addCreatorAsOwner isEqual:aGroupCreateArg.addCreatorAsOwner]) { + return NO; + } if (self.groupExternalId) { if (![self.groupExternalId isEqual:aGroupCreateArg.groupExternalId]) { return NO; @@ -5661,10 +7072,11 @@ - (BOOL)isEqualToGroupCreateArg:(DBTEAMGroupCreateArg *)aGroupCreateArg { @implementation DBTEAMGroupCreateArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupCreateArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupCreateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_name"] = valueObj.groupName; + jsonDict[@"add_creator_as_owner"] = valueObj.addCreatorAsOwner; if (valueObj.groupExternalId) { jsonDict[@"group_external_id"] = valueObj.groupExternalId; } @@ -5673,11 +7085,12 @@ + (NSDictionary *)serialize:(DBTEAMGroupCreateArg *)valueObj { [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.groupManagementType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)valueDict { NSString *groupName = valueDict[@"group_name"]; + NSNumber *addCreatorAsOwner = valueDict[@"add_creator_as_owner"] ?: @NO; NSString *groupExternalId = valueDict[@"group_external_id"] ?: nil; DBTEAMCOMMONGroupManagementType *groupManagementType = valueDict[@"group_management_type"] @@ -5685,6 +7098,7 @@ + (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)valueDict { : nil; return [[DBTEAMGroupCreateArg alloc] initWithGroupName:groupName + addCreatorAsOwner:addCreatorAsOwner groupExternalId:groupExternalId groupManagementType:groupManagementType]; } @@ -5784,17 +7198,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupCreateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupCreateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupCreateErrorSerializer serialize:self] description]; } @@ -5815,14 +7229,19 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupCreateErrorGroupNameAlreadyUsed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupCreateErrorGroupNameInvalid: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupCreateErrorExternalIdAlreadyInUse: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupCreateErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupCreateErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5868,7 +7287,7 @@ - (BOOL)isEqualToGroupCreateError:(DBTEAMGroupCreateError *)aGroupCreateError { @implementation DBTEAMGroupCreateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupCreateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNameAlreadyUsed]) { @@ -5885,10 +7304,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupCreateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_name_already_used"]) { @@ -5959,17 +7378,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupSelectorErrorSerializer serialize:self] description]; } @@ -5990,8 +7409,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupSelectorErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupSelectorErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6031,7 +7452,7 @@ - (BOOL)isEqualToGroupSelectorError:(DBTEAMGroupSelectorError *)aGroupSelectorEr @implementation DBTEAMGroupSelectorErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -6042,10 +7463,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupSelectorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -6125,17 +7546,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorWithTeamGroupErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorWithTeamGroupErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupSelectorWithTeamGroupErrorSerializer serialize:self] description]; } @@ -6156,10 +7577,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupSelectorWithTeamGroupErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6202,7 +7626,7 @@ - (BOOL)isEqualToGroupSelectorWithTeamGroupError: @implementation DBTEAMGroupSelectorWithTeamGroupErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -6215,10 +7639,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -6314,17 +7738,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupDeleteErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupDeleteErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupDeleteErrorSerializer serialize:self] description]; } @@ -6345,12 +7769,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupDeleteErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupDeleteErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupDeleteErrorGroupAlreadyDeleted: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -6394,7 +7822,7 @@ - (BOOL)isEqualToGroupDeleteError:(DBTEAMGroupDeleteError *)aGroupDeleteError { @implementation DBTEAMGroupDeleteErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupDeleteError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupDeleteError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -6409,10 +7837,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupDeleteError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -6486,17 +7914,17 @@ - (instancetype)initWithGroupName:(NSString *)groupName #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupFullInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupFullInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupFullInfoSerializer serialize:self] description]; } @@ -6583,7 +8011,7 @@ - (BOOL)isEqualToGroupFullInfo:(DBTEAMGroupFullInfo *)aGroupFullInfo { @implementation DBTEAMGroupFullInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupFullInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupFullInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_name"] = valueObj.groupName; @@ -6604,10 +8032,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupFullInfo *)valueObj { }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)valueDict { NSString *groupName = valueDict[@"group_name"]; NSString *groupId = valueDict[@"group_id"]; DBTEAMCOMMONGroupManagementType *groupManagementType = @@ -6659,17 +8087,17 @@ - (instancetype)initWithProfile:(DBTEAMMemberProfile *)profile accessType:(DBTEA #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMemberInfoSerializer serialize:self] description]; } @@ -6724,16 +8152,16 @@ - (BOOL)isEqualToGroupMemberInfo:(DBTEAMGroupMemberInfo *)aGroupMemberInfo { @implementation DBTEAMGroupMemberInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"profile"] = [DBTEAMMemberProfileSerializer serialize:valueObj.profile]; jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)valueDict { DBTEAMMemberProfile *profile = [DBTEAMMemberProfileSerializer deserialize:valueDict[@"profile"]]; DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; @@ -6768,17 +8196,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group user:(DBTEAMUserSelec #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSelectorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSelectorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMemberSelectorSerializer serialize:self] description]; } @@ -6833,16 +8261,16 @@ - (BOOL)isEqualToGroupMemberSelector:(DBTEAMGroupMemberSelector *)aGroupMemberSe @implementation DBTEAMGroupMemberSelectorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; @@ -6931,17 +8359,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSelectorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSelectorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMemberSelectorErrorSerializer serialize:self] description]; } @@ -6962,12 +8390,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupMemberSelectorErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSelectorErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSelectorErrorMemberNotInGroup: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7011,7 +8443,7 @@ - (BOOL)isEqualToGroupMemberSelectorError:(DBTEAMGroupMemberSelectorError *)aGro @implementation DBTEAMGroupMemberSelectorErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -7026,10 +8458,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -7141,17 +8573,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMemberSetAccessTypeErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMemberSetAccessTypeErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMemberSetAccessTypeErrorSerializer serialize:self] description]; } @@ -7172,14 +8604,19 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSetAccessTypeErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -7225,7 +8662,7 @@ - (BOOL)isEqualToGroupMemberSetAccessTypeError:(DBTEAMGroupMemberSetAccessTypeEr @implementation DBTEAMGroupMemberSetAccessTypeErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -7242,10 +8679,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -7290,17 +8727,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMIncludeMembersArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMIncludeMembersArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMIncludeMembersArgSerializer serialize:self] description]; } @@ -7351,15 +8788,15 @@ - (BOOL)isEqualToIncludeMembersArg:(DBTEAMIncludeMembersArg *)anIncludeMembersAr @implementation DBTEAMIncludeMembersArgSerializer -+ (NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)valueDict { NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; return [[DBTEAMIncludeMembersArg alloc] initWithReturnMembers:returnMembers]; @@ -7403,17 +8840,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group members:(NSArray *)serialize:(id)instance { return [DBTEAMGroupMembersAddArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersAddArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersAddArgSerializer serialize:self] description]; } @@ -7472,7 +8909,7 @@ - (BOOL)isEqualToGroupMembersAddArg:(DBTEAMGroupMembersAddArg *)aGroupMembersAdd @implementation DBTEAMGroupMembersAddArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; @@ -7482,10 +8919,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)valueObj { }]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] @@ -7684,17 +9121,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersAddErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersAddErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersAddErrorSerializer serialize:self] description]; } @@ -7715,22 +9152,31 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupMembersAddErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorDuplicateUser: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorGroupNotInTeam: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorMembersNotInTeam: result = prime * result + [self.membersNotInTeam hash]; + break; case DBTEAMGroupMembersAddErrorUsersNotFound: result = prime * result + [self.usersNotFound hash]; + break; case DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup: result = prime * result + [self.userCannotBeManagerOfCompanyManagedGroup hash]; + break; } return prime * result; @@ -7785,7 +9231,7 @@ - (BOOL)isEqualToGroupMembersAddError:(DBTEAMGroupMembersAddError *)aGroupMember @implementation DBTEAMGroupMembersAddErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -7823,10 +9269,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -7893,17 +9339,17 @@ - (instancetype)initWithGroupInfo:(DBTEAMGroupFullInfo *)groupInfo asyncJobId:(N #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersChangeResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersChangeResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersChangeResultSerializer serialize:self] description]; } @@ -7958,16 +9404,16 @@ - (BOOL)isEqualToGroupMembersChangeResult:(DBTEAMGroupMembersChangeResult *)aGro @implementation DBTEAMGroupMembersChangeResultSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_info"] = [DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo]; jsonDict[@"async_job_id"] = valueObj.asyncJobId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupFullInfo *groupInfo = [DBTEAMGroupFullInfoSerializer deserialize:valueDict[@"group_info"]]; NSString *asyncJobId = valueDict[@"async_job_id"]; @@ -8012,17 +9458,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(NSArray *)serialize:(id)instance { return [DBTEAMGroupMembersRemoveArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersRemoveArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersRemoveArgSerializer serialize:self] description]; } @@ -8081,7 +9527,7 @@ - (BOOL)isEqualToGroupMembersRemoveArg:(DBTEAMGroupMembersRemoveArg *)aGroupMemb @implementation DBTEAMGroupMembersRemoveArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; @@ -8091,10 +9537,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)valueObj { }]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSArray *users = [DBArraySerializer deserialize:valueDict[@"users"] @@ -8188,17 +9634,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSelectorErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSelectorErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersSelectorErrorSerializer serialize:self] description]; } @@ -8219,12 +9665,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupMembersSelectorErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersSelectorErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersSelectorErrorMemberNotInGroup: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -8268,7 +9718,7 @@ - (BOOL)isEqualToGroupMembersSelectorError:(DBTEAMGroupMembersSelectorError *)aG @implementation DBTEAMGroupMembersSelectorErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -8283,10 +9733,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -8449,17 +9899,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersRemoveErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersRemoveErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersRemoveErrorSerializer serialize:self] description]; } @@ -8480,18 +9930,25 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupMembersRemoveErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersRemoveErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersRemoveErrorMemberNotInGroup: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersRemoveErrorGroupNotInTeam: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupMembersRemoveErrorMembersNotInTeam: result = prime * result + [self.membersNotInTeam hash]; + break; case DBTEAMGroupMembersRemoveErrorUsersNotFound: result = prime * result + [self.usersNotFound hash]; + break; } return prime * result; @@ -8541,7 +9998,7 @@ - (BOOL)isEqualToGroupMembersRemoveError:(DBTEAMGroupMembersRemoveError *)aGroup @implementation DBTEAMGroupMembersRemoveErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -8570,10 +10027,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -8631,17 +10088,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group users:(DBTEAMUsersSel #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSelectorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSelectorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersSelectorSerializer serialize:self] description]; } @@ -8696,16 +10153,16 @@ - (BOOL)isEqualToGroupMembersSelector:(DBTEAMGroupMembersSelector *)aGroupMember @implementation DBTEAMGroupMembersSelectorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"users"] = [DBTEAMUsersSelectorArgSerializer serialize:valueObj.users]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUsersSelectorArg *users = [DBTEAMUsersSelectorArgSerializer deserialize:valueDict[@"users"]]; @@ -8752,17 +10209,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupMembersSetAccessTypeArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupMembersSetAccessTypeArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupMembersSetAccessTypeArgSerializer serialize:self] description]; } @@ -8825,7 +10282,7 @@ - (BOOL)isEqualToGroupMembersSetAccessTypeArg:(DBTEAMGroupMembersSetAccessTypeAr @implementation DBTEAMGroupMembersSetAccessTypeArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; @@ -8833,10 +10290,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)valueObj { jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; jsonDict[@"return_members"] = valueObj.returnMembers; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; @@ -8922,17 +10379,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupSelectorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupSelectorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupSelectorSerializer serialize:self] description]; } @@ -8953,8 +10410,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupSelectorGroupId: result = prime * result + [self.groupId hash]; + break; case DBTEAMGroupSelectorGroupExternalId: result = prime * result + [self.groupExternalId hash]; + break; } return prime * result; @@ -8994,7 +10453,7 @@ - (BOOL)isEqualToGroupSelector:(DBTEAMGroupSelector *)aGroupSelector { @implementation DBTEAMGroupSelectorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupSelector *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupId]) { @@ -9009,10 +10468,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupSelector *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupSelector *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_id"]) { @@ -9071,17 +10530,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupUpdateArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupUpdateArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupUpdateArgsSerializer serialize:self] description]; } @@ -9160,7 +10619,7 @@ - (BOOL)isEqualToGroupUpdateArgs:(DBTEAMGroupUpdateArgs *)aGroupUpdateArgs { @implementation DBTEAMGroupUpdateArgsSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; @@ -9176,10 +10635,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)valueObj { [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.dNewGroupManagementType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSNumber *returnMembers = valueDict[@"return_members"] ?: @YES; NSString *dNewGroupName = valueDict[@"new_group_name"] ?: nil; @@ -9306,17 +10765,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupUpdateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupUpdateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupUpdateErrorSerializer serialize:self] description]; } @@ -9337,16 +10796,22 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupUpdateErrorGroupNotFound: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupUpdateErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupUpdateErrorGroupNameAlreadyUsed: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupUpdateErrorGroupNameInvalid: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupUpdateErrorExternalIdAlreadyInUse: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9394,7 +10859,7 @@ - (BOOL)isEqualToGroupUpdateError:(DBTEAMGroupUpdateError *)aGroupUpdateError { @implementation DBTEAMGroupUpdateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupUpdateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotFound]) { @@ -9413,10 +10878,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupUpdateError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_found"]) { @@ -9489,17 +10954,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsGetInfoErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsGetInfoErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsGetInfoErrorSerializer serialize:self] description]; } @@ -9520,8 +10985,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsGetInfoErrorGroupNotOnTeam: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsGetInfoErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -9561,7 +11028,7 @@ - (BOOL)isEqualToGroupsGetInfoError:(DBTEAMGroupsGetInfoError *)aGroupsGetInfoEr @implementation DBTEAMGroupsGetInfoErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupNotOnTeam]) { @@ -9572,10 +11039,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_not_on_team"]) { @@ -9662,17 +11129,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsGetInfoItemSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsGetInfoItemSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsGetInfoItemSerializer serialize:self] description]; } @@ -9693,8 +11160,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsGetInfoItemIdNotFound: result = prime * result + [self.idNotFound hash]; + break; case DBTEAMGroupsGetInfoItemGroupInfo: result = prime * result + [self.groupInfo hash]; + break; } return prime * result; @@ -9734,14 +11203,14 @@ - (BOOL)isEqualToGroupsGetInfoItem:(DBTEAMGroupsGetInfoItem *)aGroupsGetInfoItem @implementation DBTEAMGroupsGetInfoItemSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isIdNotFound]) { jsonDict[@"id_not_found"] = valueObj.idNotFound; jsonDict[@".tag"] = @"id_not_found"; } else if ([valueObj isGroupInfo]) { - jsonDict[@"group_info"] = [[DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMGroupFullInfoSerializer serialize:valueObj.groupInfo]]; jsonDict[@".tag"] = @"group_info"; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -9749,10 +11218,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"id_not_found"]) { @@ -9796,17 +11265,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsListArgSerializer serialize:self] description]; } @@ -9857,15 +11326,15 @@ - (BOOL)isEqualToGroupsListArg:(DBTEAMGroupsListArg *)aGroupsListArg { @implementation DBTEAMGroupsListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)valueDict { NSNumber *limit = valueDict[@"limit"] ?: @(1000); return [[DBTEAMGroupsListArg alloc] initWithLimit:limit]; @@ -9895,17 +11364,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsListContinueArgSerializer serialize:self] description]; } @@ -9956,15 +11425,15 @@ - (BOOL)isEqualToGroupsListContinueArg:(DBTEAMGroupsListContinueArg *)aGroupsLis @implementation DBTEAMGroupsListContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMGroupsListContinueArg alloc] initWithCursor:cursor]; @@ -10023,17 +11492,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsListContinueErrorSerializer serialize:self] description]; } @@ -10054,8 +11523,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsListContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10095,7 +11566,7 @@ - (BOOL)isEqualToGroupsListContinueError:(DBTEAMGroupsListContinueError *)aGroup @implementation DBTEAMGroupsListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidCursor]) { @@ -10106,10 +11577,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { @@ -10155,17 +11626,17 @@ - (instancetype)initWithGroups:(NSArray *)groups #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsListResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsListResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsListResultSerializer serialize:self] description]; } @@ -10224,7 +11695,7 @@ - (BOOL)isEqualToGroupsListResult:(DBTEAMGroupsListResult *)aGroupsListResult { @implementation DBTEAMGroupsListResultSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups @@ -10234,10 +11705,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsListResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)valueDict { NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] withBlock:^id(id elem0) { @@ -10279,17 +11750,17 @@ - (instancetype)initWithGroup:(DBTEAMGroupSelector *)group { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsMembersListArgSerializer serialize:self] description]; } @@ -10344,16 +11815,16 @@ - (BOOL)isEqualToGroupsMembersListArg:(DBTEAMGroupsMembersListArg *)aGroupsMembe @implementation DBTEAMGroupsMembersListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group"] = [DBTEAMGroupSelectorSerializer serialize:valueObj.group]; jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)valueDict { DBTEAMGroupSelector *group = [DBTEAMGroupSelectorSerializer deserialize:valueDict[@"group"]]; NSNumber *limit = valueDict[@"limit"] ?: @(1000); @@ -10384,17 +11855,17 @@ - (instancetype)initWithCursor:(NSString *)cursor { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsMembersListContinueArgSerializer serialize:self] description]; } @@ -10445,15 +11916,15 @@ - (BOOL)isEqualToGroupsMembersListContinueArg:(DBTEAMGroupsMembersListContinueAr @implementation DBTEAMGroupsMembersListContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { NSString *cursor = valueDict[@"cursor"]; return [[DBTEAMGroupsMembersListContinueArg alloc] initWithCursor:cursor]; @@ -10512,17 +11983,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsMembersListContinueErrorSerializer serialize:self] description]; } @@ -10543,8 +12014,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsMembersListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsMembersListContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10585,7 +12058,7 @@ - (BOOL)isEqualToGroupsMembersListContinueError: @implementation DBTEAMGroupsMembersListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidCursor]) { @@ -10596,10 +12069,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_cursor"]) { @@ -10645,17 +12118,17 @@ - (instancetype)initWithMembers:(NSArray *)members #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsMembersListResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsMembersListResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsMembersListResultSerializer serialize:self] description]; } @@ -10714,7 +12187,7 @@ - (BOOL)isEqualToGroupsMembersListResult:(DBTEAMGroupsMembersListResult *)aGroup @implementation DBTEAMGroupsMembersListResultSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members @@ -10724,10 +12197,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)valueObj { jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)valueDict { NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] withBlock:^id(id elem0) { @@ -10821,17 +12294,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsPollErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsPollErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsPollErrorSerializer serialize:self] description]; } @@ -10852,12 +12325,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsPollErrorInvalidAsyncJobId: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsPollErrorInternalError: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsPollErrorOther: result = prime * result + [[self tagName] hash]; + break; case DBTEAMGroupsPollErrorAccessDenied: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -10901,7 +12378,7 @@ - (BOOL)isEqualToGroupsPollError:(DBTEAMGroupsPollError *)aGroupsPollError { @implementation DBTEAMGroupsPollErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsPollError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsPollError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isInvalidAsyncJobId]) { @@ -10916,10 +12393,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsPollError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"invalid_async_job_id"]) { @@ -11009,17 +12486,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMGroupsSelectorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMGroupsSelectorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMGroupsSelectorSerializer serialize:self] description]; } @@ -11040,8 +12517,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMGroupsSelectorGroupIds: result = prime * result + [self.groupIds hash]; + break; case DBTEAMGroupsSelectorGroupExternalIds: result = prime * result + [self.groupExternalIds hash]; + break; } return prime * result; @@ -11081,7 +12560,7 @@ - (BOOL)isEqualToGroupsSelector:(DBTEAMGroupsSelector *)aGroupsSelector { @implementation DBTEAMGroupsSelectorSerializer -+ (NSDictionary *)serialize:(DBTEAMGroupsSelector *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMGroupsSelector *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isGroupIds]) { @@ -11102,10 +12581,10 @@ + (NSDictionary *)serialize:(DBTEAMGroupsSelector *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"group_ids"]) { @@ -11192,17 +12671,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMHasTeamFileEventsValueSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMHasTeamFileEventsValueSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMHasTeamFileEventsValueSerializer serialize:self] description]; } @@ -11223,8 +12702,10 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMHasTeamFileEventsValueEnabled: result = prime * result + [self.enabled hash]; + break; case DBTEAMHasTeamFileEventsValueOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -11264,7 +12745,7 @@ - (BOOL)isEqualToHasTeamFileEventsValue:(DBTEAMHasTeamFileEventsValue *)aHasTeam @implementation DBTEAMHasTeamFileEventsValueSerializer -+ (NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isEnabled]) { @@ -11276,10 +12757,10 @@ + (NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"enabled"]) { @@ -11296,21 +12777,21 @@ + (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMHasTeamSharedDropboxValue.h" +#import "DBTEAMHasTeamSelectiveSyncValue.h" #pragma mark - API Object -@implementation DBTEAMHasTeamSharedDropboxValue +@implementation DBTEAMHasTeamSelectiveSyncValue -@synthesize hasTeamSharedDropbox = _hasTeamSharedDropbox; +@synthesize hasTeamSelectiveSync = _hasTeamSelectiveSync; #pragma mark - Constructors -- (instancetype)initWithHasTeamSharedDropbox:(NSNumber *)hasTeamSharedDropbox { +- (instancetype)initWithHasTeamSelectiveSync:(NSNumber *)hasTeamSelectiveSync { self = [super init]; if (self) { - _tag = DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox; - _hasTeamSharedDropbox = hasTeamSharedDropbox; + _tag = DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync; + _hasTeamSelectiveSync = hasTeamSelectiveSync; } return self; } @@ -11318,38 +12799,38 @@ - (instancetype)initWithHasTeamSharedDropbox:(NSNumber *)hasTeamSharedDropbox { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMHasTeamSharedDropboxValueOther; + _tag = DBTEAMHasTeamSelectiveSyncValueOther; } return self; } #pragma mark - Instance field accessors -- (NSNumber *)hasTeamSharedDropbox { - if (![self isHasTeamSharedDropbox]) { +- (NSNumber *)hasTeamSelectiveSync { + if (![self isHasTeamSelectiveSync]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox, but was %@.", + format:@"Invalid tag: required DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync, but was %@.", [self tagName]]; } - return _hasTeamSharedDropbox; + return _hasTeamSelectiveSync; } #pragma mark - Tag state methods -- (BOOL)isHasTeamSharedDropbox { - return _tag == DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox; +- (BOOL)isHasTeamSelectiveSync { + return _tag == DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync; } - (BOOL)isOther { - return _tag == DBTEAMHasTeamSharedDropboxValueOther; + return _tag == DBTEAMHasTeamSelectiveSyncValueOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: - return @"DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox"; - case DBTEAMHasTeamSharedDropboxValueOther: - return @"DBTEAMHasTeamSharedDropboxValueOther"; + case DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: + return @"DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync"; + case DBTEAMHasTeamSelectiveSyncValueOther: + return @"DBTEAMHasTeamSelectiveSyncValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -11357,18 +12838,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMHasTeamSharedDropboxValueSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMHasTeamSelectiveSyncValueSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMHasTeamSharedDropboxValueSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMHasTeamSelectiveSyncValueSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMHasTeamSharedDropboxValueSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMHasTeamSelectiveSyncValueSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11386,10 +12867,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: - result = prime * result + [self.hasTeamSharedDropbox hash]; - case DBTEAMHasTeamSharedDropboxValueOther: + case DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: + result = prime * result + [self.hasTeamSelectiveSync hash]; + break; + case DBTEAMHasTeamSelectiveSyncValueOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -11404,21 +12887,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToHasTeamSharedDropboxValue:other]; + return [self isEqualToHasTeamSelectiveSyncValue:other]; } -- (BOOL)isEqualToHasTeamSharedDropboxValue:(DBTEAMHasTeamSharedDropboxValue *)aHasTeamSharedDropboxValue { - if (self == aHasTeamSharedDropboxValue) { +- (BOOL)isEqualToHasTeamSelectiveSyncValue:(DBTEAMHasTeamSelectiveSyncValue *)aHasTeamSelectiveSyncValue { + if (self == aHasTeamSelectiveSyncValue) { return YES; } - if (self.tag != aHasTeamSharedDropboxValue.tag) { + if (self.tag != aHasTeamSelectiveSyncValue.tag) { return NO; } switch (_tag) { - case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: - return [self.hasTeamSharedDropbox isEqual:aHasTeamSharedDropboxValue.hasTeamSharedDropbox]; - case DBTEAMHasTeamSharedDropboxValueOther: - return [[self tagName] isEqual:[aHasTeamSharedDropboxValue tagName]]; + case DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync: + return [self.hasTeamSelectiveSync isEqual:aHasTeamSelectiveSyncValue.hasTeamSelectiveSync]; + case DBTEAMHasTeamSelectiveSyncValueOther: + return [[self tagName] isEqual:[aHasTeamSelectiveSyncValue tagName]]; } return YES; } @@ -11427,33 +12910,33 @@ - (BOOL)isEqualToHasTeamSharedDropboxValue:(DBTEAMHasTeamSharedDropboxValue *)aH #pragma mark - Serializer Object -@implementation DBTEAMHasTeamSharedDropboxValueSerializer +@implementation DBTEAMHasTeamSelectiveSyncValueSerializer -+ (NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMHasTeamSelectiveSyncValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isHasTeamSharedDropbox]) { - jsonDict[@"has_team_shared_dropbox"] = valueObj.hasTeamSharedDropbox; - jsonDict[@".tag"] = @"has_team_shared_dropbox"; + if ([valueObj isHasTeamSelectiveSync]) { + jsonDict[@"has_team_selective_sync"] = valueObj.hasTeamSelectiveSync; + jsonDict[@".tag"] = @"has_team_selective_sync"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMHasTeamSelectiveSyncValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"has_team_shared_dropbox"]) { - NSNumber *hasTeamSharedDropbox = valueDict[@"has_team_shared_dropbox"]; - return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithHasTeamSharedDropbox:hasTeamSharedDropbox]; + if ([tag isEqualToString:@"has_team_selective_sync"]) { + NSNumber *hasTeamSelectiveSync = valueDict[@"has_team_selective_sync"]; + return [[DBTEAMHasTeamSelectiveSyncValue alloc] initWithHasTeamSelectiveSync:hasTeamSelectiveSync]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; + return [[DBTEAMHasTeamSelectiveSyncValue alloc] initWithOther]; } else { - return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; + return [[DBTEAMHasTeamSelectiveSyncValue alloc] initWithOther]; } } @@ -11461,38 +12944,79 @@ + (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMemberAppsArg.h" +#import "DBTEAMHasTeamSharedDropboxValue.h" #pragma mark - API Object -@implementation DBTEAMListMemberAppsArg +@implementation DBTEAMHasTeamSharedDropboxValue + +@synthesize hasTeamSharedDropbox = _hasTeamSharedDropbox; #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { - [DBStoneValidators nonnullValidator:nil](teamMemberId); +- (instancetype)initWithHasTeamSharedDropbox:(NSNumber *)hasTeamSharedDropbox { + self = [super init]; + if (self) { + _tag = DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox; + _hasTeamSharedDropbox = hasTeamSharedDropbox; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _teamMemberId = teamMemberId; + _tag = DBTEAMHasTeamSharedDropboxValueOther; } return self; } +#pragma mark - Instance field accessors + +- (NSNumber *)hasTeamSharedDropbox { + if (![self isHasTeamSharedDropbox]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox, but was %@.", + [self tagName]]; + } + return _hasTeamSharedDropbox; +} + +#pragma mark - Tag state methods + +- (BOOL)isHasTeamSharedDropbox { + return _tag == DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox; +} + +- (BOOL)isOther { + return _tag == DBTEAMHasTeamSharedDropboxValueOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: + return @"DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox"; + case DBTEAMHasTeamSharedDropboxValueOther: + return @"DBTEAMHasTeamSharedDropboxValueOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberAppsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMHasTeamSharedDropboxValueSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberAppsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMHasTeamSharedDropboxValueSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberAppsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMHasTeamSharedDropboxValueSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11509,7 +13033,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; + switch (_tag) { + case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: + result = prime * result + [self.hasTeamSharedDropbox hash]; + break; + case DBTEAMHasTeamSharedDropboxValueOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -11523,16 +13054,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberAppsArg:other]; + return [self isEqualToHasTeamSharedDropboxValue:other]; } -- (BOOL)isEqualToListMemberAppsArg:(DBTEAMListMemberAppsArg *)aListMemberAppsArg { - if (self == aListMemberAppsArg) { +- (BOOL)isEqualToHasTeamSharedDropboxValue:(DBTEAMHasTeamSharedDropboxValue *)aHasTeamSharedDropboxValue { + if (self == aHasTeamSharedDropboxValue) { return YES; } - if (![self.teamMemberId isEqual:aListMemberAppsArg.teamMemberId]) { + if (self.tag != aHasTeamSharedDropboxValue.tag) { return NO; } + switch (_tag) { + case DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox: + return [self.hasTeamSharedDropbox isEqual:aHasTeamSharedDropboxValue.hasTeamSharedDropbox]; + case DBTEAMHasTeamSharedDropboxValueOther: + return [[self tagName] isEqual:[aHasTeamSharedDropboxValue tagName]]; + } return YES; } @@ -11540,87 +13077,107 @@ - (BOOL)isEqualToListMemberAppsArg:(DBTEAMListMemberAppsArg *)aListMemberAppsArg #pragma mark - Serializer Object -@implementation DBTEAMListMemberAppsArgSerializer +@implementation DBTEAMHasTeamSharedDropboxValueSerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; + if ([valueObj isHasTeamSharedDropbox]) { + jsonDict[@"has_team_shared_dropbox"] = valueObj.hasTeamSharedDropbox; + jsonDict[@".tag"] = @"has_team_shared_dropbox"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; ++ (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMListMemberAppsArg alloc] initWithTeamMemberId:teamMemberId]; + if ([tag isEqualToString:@"has_team_shared_dropbox"]) { + NSNumber *hasTeamSharedDropbox = valueDict[@"has_team_shared_dropbox"]; + return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithHasTeamSharedDropbox:hasTeamSharedDropbox]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; + } else { + return [[DBTEAMHasTeamSharedDropboxValue alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMemberAppsError.h" +#import "DBTEAMLegalHoldHeldRevisionMetadata.h" +#import "DBTEAMTeamMemberStatus.h" #pragma mark - API Object -@implementation DBTEAMListMemberAppsError +@implementation DBTEAMLegalHoldHeldRevisionMetadata #pragma mark - Constructors -- (instancetype)initWithMemberNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMListMemberAppsErrorMemberNotFound; - } - return self; -} +- (instancetype)initWithDNewFilename:(NSString *)dNewFilename + originalRevisionId:(NSString *)originalRevisionId + originalFilePath:(NSString *)originalFilePath + serverModified:(NSDate *)serverModified + authorMemberId:(NSString *)authorMemberId + authorMemberStatus:(DBTEAMTeamMemberStatus *)authorMemberStatus + authorEmail:(NSString *)authorEmail + fileType:(NSString *)fileType + size:(NSNumber *)size + contentHash:(NSString *)contentHash { + [DBStoneValidators nonnullValidator:nil](dNewFilename); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(9) maxLength:nil pattern:@"[0-9a-f]+"]](originalRevisionId); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"(/(.|[\\r\\n])*)?"]]( + originalFilePath); + [DBStoneValidators nonnullValidator:nil](serverModified); + [DBStoneValidators nonnullValidator:nil](authorMemberId); + [DBStoneValidators nonnullValidator:nil](authorMemberStatus); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" + @"9.-]*\\.[A-Za-z]{2,15}$"]](authorEmail); + [DBStoneValidators nonnullValidator:nil](fileType); + [DBStoneValidators nonnullValidator:nil](size); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(64) maxLength:@(64) pattern:nil]](contentHash); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListMemberAppsErrorOther; + _dNewFilename = dNewFilename; + _originalRevisionId = originalRevisionId; + _originalFilePath = originalFilePath; + _serverModified = serverModified; + _authorMemberId = authorMemberId; + _authorMemberStatus = authorMemberStatus; + _authorEmail = authorEmail; + _fileType = fileType; + _size = size; + _contentHash = contentHash; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isMemberNotFound { - return _tag == DBTEAMListMemberAppsErrorMemberNotFound; -} - -- (BOOL)isOther { - return _tag == DBTEAMListMemberAppsErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMListMemberAppsErrorMemberNotFound: - return @"DBTEAMListMemberAppsErrorMemberNotFound"; - case DBTEAMListMemberAppsErrorOther: - return @"DBTEAMListMemberAppsErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberAppsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldHeldRevisionMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberAppsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldHeldRevisionMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberAppsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldHeldRevisionMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11637,12 +13194,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMListMemberAppsErrorMemberNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMListMemberAppsErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.dNewFilename hash]; + result = prime * result + [self.originalRevisionId hash]; + result = prime * result + [self.originalFilePath hash]; + result = prime * result + [self.serverModified hash]; + result = prime * result + [self.authorMemberId hash]; + result = prime * result + [self.authorMemberStatus hash]; + result = prime * result + [self.authorEmail hash]; + result = prime * result + [self.fileType hash]; + result = prime * result + [self.size hash]; + result = prime * result + [self.contentHash hash]; return prime * result; } @@ -11656,21 +13217,42 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberAppsError:other]; + return [self isEqualToLegalHoldHeldRevisionMetadata:other]; } -- (BOOL)isEqualToListMemberAppsError:(DBTEAMListMemberAppsError *)aListMemberAppsError { - if (self == aListMemberAppsError) { +- (BOOL)isEqualToLegalHoldHeldRevisionMetadata:(DBTEAMLegalHoldHeldRevisionMetadata *)aLegalHoldHeldRevisionMetadata { + if (self == aLegalHoldHeldRevisionMetadata) { return YES; } - if (self.tag != aListMemberAppsError.tag) { + if (![self.dNewFilename isEqual:aLegalHoldHeldRevisionMetadata.dNewFilename]) { return NO; } - switch (_tag) { - case DBTEAMListMemberAppsErrorMemberNotFound: - return [[self tagName] isEqual:[aListMemberAppsError tagName]]; - case DBTEAMListMemberAppsErrorOther: - return [[self tagName] isEqual:[aListMemberAppsError tagName]]; + if (![self.originalRevisionId isEqual:aLegalHoldHeldRevisionMetadata.originalRevisionId]) { + return NO; + } + if (![self.originalFilePath isEqual:aLegalHoldHeldRevisionMetadata.originalFilePath]) { + return NO; + } + if (![self.serverModified isEqual:aLegalHoldHeldRevisionMetadata.serverModified]) { + return NO; + } + if (![self.authorMemberId isEqual:aLegalHoldHeldRevisionMetadata.authorMemberId]) { + return NO; + } + if (![self.authorMemberStatus isEqual:aLegalHoldHeldRevisionMetadata.authorMemberStatus]) { + return NO; + } + if (![self.authorEmail isEqual:aLegalHoldHeldRevisionMetadata.authorEmail]) { + return NO; + } + if (![self.fileType isEqual:aLegalHoldHeldRevisionMetadata.fileType]) { + return NO; + } + if (![self.size isEqual:aLegalHoldHeldRevisionMetadata.size]) { + return NO; + } + if (![self.contentHash isEqual:aLegalHoldHeldRevisionMetadata.contentHash]) { + return NO; } return YES; } @@ -11679,74 +13261,126 @@ - (BOOL)isEqualToListMemberAppsError:(DBTEAMListMemberAppsError *)aListMemberApp #pragma mark - Serializer Object -@implementation DBTEAMListMemberAppsErrorSerializer +@implementation DBTEAMLegalHoldHeldRevisionMetadataSerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberAppsError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldHeldRevisionMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMemberNotFound]) { - jsonDict[@".tag"] = @"member_not_found"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"member_not_found"]) { - return [[DBTEAMListMemberAppsError alloc] initWithMemberNotFound]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListMemberAppsError alloc] initWithOther]; - } else { - return [[DBTEAMListMemberAppsError alloc] initWithOther]; - } + jsonDict[@"new_filename"] = valueObj.dNewFilename; + jsonDict[@"original_revision_id"] = valueObj.originalRevisionId; + jsonDict[@"original_file_path"] = valueObj.originalFilePath; + jsonDict[@"server_modified"] = + [DBNSDateSerializer serialize:valueObj.serverModified dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"author_member_id"] = valueObj.authorMemberId; + jsonDict[@"author_member_status"] = [DBTEAMTeamMemberStatusSerializer serialize:valueObj.authorMemberStatus]; + jsonDict[@"author_email"] = valueObj.authorEmail; + jsonDict[@"file_type"] = valueObj.fileType; + jsonDict[@"size"] = valueObj.size; + jsonDict[@"content_hash"] = valueObj.contentHash; + + return jsonDict; +} + ++ (DBTEAMLegalHoldHeldRevisionMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *dNewFilename = valueDict[@"new_filename"]; + NSString *originalRevisionId = valueDict[@"original_revision_id"]; + NSString *originalFilePath = valueDict[@"original_file_path"]; + NSDate *serverModified = + [DBNSDateSerializer deserialize:valueDict[@"server_modified"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSString *authorMemberId = valueDict[@"author_member_id"]; + DBTEAMTeamMemberStatus *authorMemberStatus = + [DBTEAMTeamMemberStatusSerializer deserialize:valueDict[@"author_member_status"]]; + NSString *authorEmail = valueDict[@"author_email"]; + NSString *fileType = valueDict[@"file_type"]; + NSNumber *size = valueDict[@"size"]; + NSString *contentHash = valueDict[@"content_hash"]; + + return [[DBTEAMLegalHoldHeldRevisionMetadata alloc] initWithDNewFilename:dNewFilename + originalRevisionId:originalRevisionId + originalFilePath:originalFilePath + serverModified:serverModified + authorMemberId:authorMemberId + authorMemberStatus:authorMemberStatus + authorEmail:authorEmail + fileType:fileType + size:size + contentHash:contentHash]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMApiApp.h" -#import "DBTEAMListMemberAppsResult.h" +#import "DBTEAMLegalHoldPolicy.h" +#import "DBTEAMLegalHoldStatus.h" +#import "DBTEAMMembersInfo.h" #pragma mark - API Object -@implementation DBTEAMListMemberAppsResult +@implementation DBTEAMLegalHoldPolicy #pragma mark - Constructors -- (instancetype)initWithLinkedApiApps:(NSArray *)linkedApiApps { +- (instancetype)initWithId_:(NSString *)id_ + name:(NSString *)name + members:(DBTEAMMembersInfo *)members + status:(DBTEAMLegalHoldStatus *)status + startDate:(NSDate *)startDate + description_:(NSString *)description_ + activationTime:(NSDate *)activationTime + endDate:(NSDate *)endDate { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApiApps); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(140) pattern:nil]](name); + [DBStoneValidators nonnullValidator:nil](members); + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(501) pattern:nil]](description_); self = [super init]; if (self) { - _linkedApiApps = linkedApiApps; + _id_ = id_; + _name = name; + _description_ = description_; + _activationTime = activationTime; + _members = members; + _status = status; + _startDate = startDate; + _endDate = endDate; } return self; } +- (instancetype)initWithId_:(NSString *)id_ + name:(NSString *)name + members:(DBTEAMMembersInfo *)members + status:(DBTEAMLegalHoldStatus *)status + startDate:(NSDate *)startDate { + return [self initWithId_:id_ + name:name + members:members + status:status + startDate:startDate + description_:nil + activationTime:nil + endDate:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberAppsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberAppsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberAppsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11763,7 +13397,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.linkedApiApps hash]; + result = prime * result + [self.id_ hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.members hash]; + result = prime * result + [self.status hash]; + result = prime * result + [self.startDate hash]; + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; + } + if (self.activationTime != nil) { + result = prime * result + [self.activationTime hash]; + } + if (self.endDate != nil) { + result = prime * result + [self.endDate hash]; + } return prime * result; } @@ -11777,16 +13424,43 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberAppsResult:other]; + return [self isEqualToLegalHoldPolicy:other]; } -- (BOOL)isEqualToListMemberAppsResult:(DBTEAMListMemberAppsResult *)aListMemberAppsResult { - if (self == aListMemberAppsResult) { +- (BOOL)isEqualToLegalHoldPolicy:(DBTEAMLegalHoldPolicy *)aLegalHoldPolicy { + if (self == aLegalHoldPolicy) { return YES; } - if (![self.linkedApiApps isEqual:aListMemberAppsResult.linkedApiApps]) { + if (![self.id_ isEqual:aLegalHoldPolicy.id_]) { + return NO; + } + if (![self.name isEqual:aLegalHoldPolicy.name]) { + return NO; + } + if (![self.members isEqual:aLegalHoldPolicy.members]) { + return NO; + } + if (![self.status isEqual:aLegalHoldPolicy.status]) { + return NO; + } + if (![self.startDate isEqual:aLegalHoldPolicy.startDate]) { return NO; } + if (self.description_) { + if (![self.description_ isEqual:aLegalHoldPolicy.description_]) { + return NO; + } + } + if (self.activationTime) { + if (![self.activationTime isEqual:aLegalHoldPolicy.activationTime]) { + return NO; + } + } + if (self.endDate) { + if (![self.endDate isEqual:aLegalHoldPolicy.endDate]) { + return NO; + } + } return YES; } @@ -11794,77 +13468,189 @@ - (BOOL)isEqualToListMemberAppsResult:(DBTEAMListMemberAppsResult *)aListMemberA #pragma mark - Serializer Object -@implementation DBTEAMListMemberAppsResultSerializer +@implementation DBTEAMLegalHoldPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"linked_api_apps"] = [DBArraySerializer serialize:valueObj.linkedApiApps - withBlock:^id(id elem0) { - return [DBTEAMApiAppSerializer serialize:elem0]; - }]; + jsonDict[@"id"] = valueObj.id_; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"members"] = [DBTEAMMembersInfoSerializer serialize:valueObj.members]; + jsonDict[@"status"] = [DBTEAMLegalHoldStatusSerializer serialize:valueObj.status]; + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; + } + if (valueObj.activationTime) { + jsonDict[@"activation_time"] = + [DBNSDateSerializer serialize:valueObj.activationTime dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.endDate) { + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)valueDict { - NSArray *linkedApiApps = [DBArraySerializer deserialize:valueDict[@"linked_api_apps"] - withBlock:^id(id elem0) { - return [DBTEAMApiAppSerializer deserialize:elem0]; - }]; ++ (DBTEAMLegalHoldPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + NSString *name = valueDict[@"name"]; + DBTEAMMembersInfo *members = [DBTEAMMembersInfoSerializer deserialize:valueDict[@"members"]]; + DBTEAMLegalHoldStatus *status = [DBTEAMLegalHoldStatusSerializer deserialize:valueDict[@"status"]]; + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSString *description_ = valueDict[@"description"] ?: nil; + NSDate *activationTime = valueDict[@"activation_time"] ? [DBNSDateSerializer deserialize:valueDict[@"activation_time"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *endDate = valueDict[@"end_date"] + ? [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - return [[DBTEAMListMemberAppsResult alloc] initWithLinkedApiApps:linkedApiApps]; + return [[DBTEAMLegalHoldPolicy alloc] initWithId_:id_ + name:name + members:members + status:status + startDate:startDate + description_:description_ + activationTime:activationTime + endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMemberDevicesArg.h" +#import "DBTEAMLegalHoldStatus.h" #pragma mark - API Object -@implementation DBTEAMListMemberDevicesArg +@implementation DBTEAMLegalHoldStatus #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - includeWebSessions:(NSNumber *)includeWebSessions - includeDesktopClients:(NSNumber *)includeDesktopClients - includeMobileClients:(NSNumber *)includeMobileClients { - [DBStoneValidators nonnullValidator:nil](teamMemberId); +- (instancetype)initWithActive { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusActive; + } + return self; +} +- (instancetype)initWithReleased { self = [super init]; if (self) { - _teamMemberId = teamMemberId; - _includeWebSessions = includeWebSessions ?: @YES; - _includeDesktopClients = includeDesktopClients ?: @YES; - _includeMobileClients = includeMobileClients ?: @YES; + _tag = DBTEAMLegalHoldStatusReleased; } return self; } -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { - return [self initWithTeamMemberId:teamMemberId - includeWebSessions:nil - includeDesktopClients:nil - includeMobileClients:nil]; +- (instancetype)initWithActivating { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusActivating; + } + return self; +} + +- (instancetype)initWithUpdating { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusUpdating; + } + return self; +} + +- (instancetype)initWithExporting { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusExporting; + } + return self; +} + +- (instancetype)initWithReleasing { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusReleasing; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isActive { + return _tag == DBTEAMLegalHoldStatusActive; +} + +- (BOOL)isReleased { + return _tag == DBTEAMLegalHoldStatusReleased; +} + +- (BOOL)isActivating { + return _tag == DBTEAMLegalHoldStatusActivating; +} + +- (BOOL)isUpdating { + return _tag == DBTEAMLegalHoldStatusUpdating; +} + +- (BOOL)isExporting { + return _tag == DBTEAMLegalHoldStatusExporting; +} + +- (BOOL)isReleasing { + return _tag == DBTEAMLegalHoldStatusReleasing; +} + +- (BOOL)isOther { + return _tag == DBTEAMLegalHoldStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLegalHoldStatusActive: + return @"DBTEAMLegalHoldStatusActive"; + case DBTEAMLegalHoldStatusReleased: + return @"DBTEAMLegalHoldStatusReleased"; + case DBTEAMLegalHoldStatusActivating: + return @"DBTEAMLegalHoldStatusActivating"; + case DBTEAMLegalHoldStatusUpdating: + return @"DBTEAMLegalHoldStatusUpdating"; + case DBTEAMLegalHoldStatusExporting: + return @"DBTEAMLegalHoldStatusExporting"; + case DBTEAMLegalHoldStatusReleasing: + return @"DBTEAMLegalHoldStatusReleasing"; + case DBTEAMLegalHoldStatusOther: + return @"DBTEAMLegalHoldStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberDevicesArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberDevicesArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberDevicesArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -11881,10 +13667,29 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.includeWebSessions hash]; - result = prime * result + [self.includeDesktopClients hash]; - result = prime * result + [self.includeMobileClients hash]; + switch (_tag) { + case DBTEAMLegalHoldStatusActive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusReleased: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusActivating: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusUpdating: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusExporting: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusReleasing: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -11898,24 +13703,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberDevicesArg:other]; + return [self isEqualToLegalHoldStatus:other]; } -- (BOOL)isEqualToListMemberDevicesArg:(DBTEAMListMemberDevicesArg *)aListMemberDevicesArg { - if (self == aListMemberDevicesArg) { +- (BOOL)isEqualToLegalHoldStatus:(DBTEAMLegalHoldStatus *)aLegalHoldStatus { + if (self == aLegalHoldStatus) { return YES; } - if (![self.teamMemberId isEqual:aListMemberDevicesArg.teamMemberId]) { - return NO; - } - if (![self.includeWebSessions isEqual:aListMemberDevicesArg.includeWebSessions]) { - return NO; - } - if (![self.includeDesktopClients isEqual:aListMemberDevicesArg.includeDesktopClients]) { + if (self.tag != aLegalHoldStatus.tag) { return NO; } - if (![self.includeMobileClients isEqual:aListMemberDevicesArg.includeMobileClients]) { - return NO; + switch (_tag) { + case DBTEAMLegalHoldStatusActive: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusReleased: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusActivating: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusUpdating: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusExporting: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusReleasing: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; + case DBTEAMLegalHoldStatusOther: + return [[self tagName] isEqual:[aLegalHoldStatus tagName]]; } return YES; } @@ -11924,47 +13736,78 @@ - (BOOL)isEqualToListMemberDevicesArg:(DBTEAMListMemberDevicesArg *)aListMemberD #pragma mark - Serializer Object -@implementation DBTEAMListMemberDevicesArgSerializer +@implementation DBTEAMLegalHoldStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; - jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; - jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isReleased]) { + jsonDict[@".tag"] = @"released"; + } else if ([valueObj isActivating]) { + jsonDict[@".tag"] = @"activating"; + } else if ([valueObj isUpdating]) { + jsonDict[@".tag"] = @"updating"; + } else if ([valueObj isExporting]) { + jsonDict[@".tag"] = @"exporting"; + } else if ([valueObj isReleasing]) { + jsonDict[@".tag"] = @"releasing"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; - NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; - NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; ++ (DBTEAMLegalHoldStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMListMemberDevicesArg alloc] initWithTeamMemberId:teamMemberId - includeWebSessions:includeWebSessions - includeDesktopClients:includeDesktopClients - includeMobileClients:includeMobileClients]; + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithActive]; + } else if ([tag isEqualToString:@"released"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithReleased]; + } else if ([tag isEqualToString:@"activating"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithActivating]; + } else if ([tag isEqualToString:@"updating"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithUpdating]; + } else if ([tag isEqualToString:@"exporting"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithExporting]; + } else if ([tag isEqualToString:@"releasing"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithReleasing]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLegalHoldStatus alloc] initWithOther]; + } else { + return [[DBTEAMLegalHoldStatus alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMemberDevicesError.h" +#import "DBTEAMLegalHoldsError.h" #pragma mark - API Object -@implementation DBTEAMListMemberDevicesError +@implementation DBTEAMLegalHoldsError #pragma mark - Constructors -- (instancetype)initWithMemberNotFound { +- (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { - _tag = DBTEAMListMemberDevicesErrorMemberNotFound; + _tag = DBTEAMLegalHoldsErrorUnknownLegalHoldError; + } + return self; +} + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsErrorInsufficientPermissions; } return self; } @@ -11972,7 +13815,7 @@ - (instancetype)initWithMemberNotFound { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListMemberDevicesErrorOther; + _tag = DBTEAMLegalHoldsErrorOther; } return self; } @@ -11981,20 +13824,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isMemberNotFound { - return _tag == DBTEAMListMemberDevicesErrorMemberNotFound; +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsErrorInsufficientPermissions; } - (BOOL)isOther { - return _tag == DBTEAMListMemberDevicesErrorOther; + return _tag == DBTEAMLegalHoldsErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMListMemberDevicesErrorMemberNotFound: - return @"DBTEAMListMemberDevicesErrorMemberNotFound"; - case DBTEAMListMemberDevicesErrorOther: - return @"DBTEAMListMemberDevicesErrorOther"; + case DBTEAMLegalHoldsErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsErrorInsufficientPermissions"; + case DBTEAMLegalHoldsErrorOther: + return @"DBTEAMLegalHoldsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12002,18 +13851,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberDevicesErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberDevicesErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberDevicesErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12031,10 +13880,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMListMemberDevicesErrorMemberNotFound: + case DBTEAMLegalHoldsErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; - case DBTEAMListMemberDevicesErrorOther: + break; + case DBTEAMLegalHoldsErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12049,21 +13903,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberDevicesError:other]; + return [self isEqualToLegalHoldsError:other]; } -- (BOOL)isEqualToListMemberDevicesError:(DBTEAMListMemberDevicesError *)aListMemberDevicesError { - if (self == aListMemberDevicesError) { +- (BOOL)isEqualToLegalHoldsError:(DBTEAMLegalHoldsError *)aLegalHoldsError { + if (self == aLegalHoldsError) { return YES; } - if (self.tag != aListMemberDevicesError.tag) { + if (self.tag != aLegalHoldsError.tag) { return NO; } switch (_tag) { - case DBTEAMListMemberDevicesErrorMemberNotFound: - return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; - case DBTEAMListMemberDevicesErrorOther: - return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; + case DBTEAMLegalHoldsErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsError tagName]]; + case DBTEAMLegalHoldsErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsError tagName]]; + case DBTEAMLegalHoldsErrorOther: + return [[self tagName] isEqual:[aLegalHoldsError tagName]]; } return YES; } @@ -12072,31 +13928,35 @@ - (BOOL)isEqualToListMemberDevicesError:(DBTEAMListMemberDevicesError *)aListMem #pragma mark - Serializer Object -@implementation DBTEAMListMemberDevicesErrorSerializer +@implementation DBTEAMLegalHoldsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMemberNotFound]) { - jsonDict[@".tag"] = @"member_not_found"; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"member_not_found"]) { - return [[DBTEAMListMemberDevicesError alloc] initWithMemberNotFound]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListMemberDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsError alloc] initWithOther]; } else { - return [[DBTEAMListMemberDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsError alloc] initWithOther]; } } @@ -12104,60 +13964,39 @@ + (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMActiveWebSession.h" -#import "DBTEAMDesktopClientSession.h" -#import "DBTEAMListMemberDevicesResult.h" -#import "DBTEAMMobileClientSession.h" +#import "DBTEAMLegalHoldsGetPolicyArg.h" #pragma mark - API Object -@implementation DBTEAMListMemberDevicesResult +@implementation DBTEAMLegalHoldsGetPolicyArg #pragma mark - Constructors -- (instancetype)initWithActiveWebSessions:(NSArray *)activeWebSessions - desktopClientSessions:(NSArray *)desktopClientSessions - mobileClientSessions:(NSArray *)mobileClientSessions { +- (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](activeWebSessions); - [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]]( - desktopClientSessions); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](mobileClientSessions); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { - _activeWebSessions = activeWebSessions; - _desktopClientSessions = desktopClientSessions; - _mobileClientSessions = mobileClientSessions; + _id_ = id_; } return self; } -- (instancetype)initDefault { - return [self initWithActiveWebSessions:nil desktopClientSessions:nil mobileClientSessions:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMemberDevicesResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsGetPolicyArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMemberDevicesResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsGetPolicyArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMemberDevicesResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsGetPolicyArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12174,15 +14013,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.activeWebSessions != nil) { - result = prime * result + [self.activeWebSessions hash]; - } - if (self.desktopClientSessions != nil) { - result = prime * result + [self.desktopClientSessions hash]; - } - if (self.mobileClientSessions != nil) { - result = prime * result + [self.mobileClientSessions hash]; - } + result = prime * result + [self.id_ hash]; return prime * result; } @@ -12196,27 +14027,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMemberDevicesResult:other]; + return [self isEqualToLegalHoldsGetPolicyArg:other]; } -- (BOOL)isEqualToListMemberDevicesResult:(DBTEAMListMemberDevicesResult *)aListMemberDevicesResult { - if (self == aListMemberDevicesResult) { +- (BOOL)isEqualToLegalHoldsGetPolicyArg:(DBTEAMLegalHoldsGetPolicyArg *)aLegalHoldsGetPolicyArg { + if (self == aLegalHoldsGetPolicyArg) { return YES; } - if (self.activeWebSessions) { - if (![self.activeWebSessions isEqual:aListMemberDevicesResult.activeWebSessions]) { - return NO; - } - } - if (self.desktopClientSessions) { - if (![self.desktopClientSessions isEqual:aListMemberDevicesResult.desktopClientSessions]) { - return NO; - } - } - if (self.mobileClientSessions) { - if (![self.mobileClientSessions isEqual:aListMemberDevicesResult.mobileClientSessions]) { - return NO; - } + if (![self.id_ isEqual:aLegalHoldsGetPolicyArg.id_]) { + return NO; } return YES; } @@ -12225,102 +14044,116 @@ - (BOOL)isEqualToListMemberDevicesResult:(DBTEAMListMemberDevicesResult *)aListM #pragma mark - Serializer Object -@implementation DBTEAMListMemberDevicesResultSerializer +@implementation DBTEAMLegalHoldsGetPolicyArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.activeWebSessions) { - jsonDict[@"active_web_sessions"] = [DBArraySerializer serialize:valueObj.activeWebSessions - withBlock:^id(id elem0) { - return [DBTEAMActiveWebSessionSerializer serialize:elem0]; - }]; - } - if (valueObj.desktopClientSessions) { - jsonDict[@"desktop_client_sessions"] = - [DBArraySerializer serialize:valueObj.desktopClientSessions - withBlock:^id(id elem0) { - return [DBTEAMDesktopClientSessionSerializer serialize:elem0]; - }]; - } - if (valueObj.mobileClientSessions) { - jsonDict[@"mobile_client_sessions"] = - [DBArraySerializer serialize:valueObj.mobileClientSessions - withBlock:^id(id elem0) { - return [DBTEAMMobileClientSessionSerializer serialize:elem0]; - }]; - } + jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)valueDict { - NSArray *activeWebSessions = - valueDict[@"active_web_sessions"] - ? [DBArraySerializer deserialize:valueDict[@"active_web_sessions"] - withBlock:^id(id elem0) { - return [DBTEAMActiveWebSessionSerializer deserialize:elem0]; - }] - : nil; - NSArray *desktopClientSessions = - valueDict[@"desktop_client_sessions"] - ? [DBArraySerializer deserialize:valueDict[@"desktop_client_sessions"] - withBlock:^id(id elem0) { - return [DBTEAMDesktopClientSessionSerializer deserialize:elem0]; - }] - : nil; - NSArray *mobileClientSessions = - valueDict[@"mobile_client_sessions"] - ? [DBArraySerializer deserialize:valueDict[@"mobile_client_sessions"] - withBlock:^id(id elem0) { - return [DBTEAMMobileClientSessionSerializer deserialize:elem0]; - }] - : nil; ++ (DBTEAMLegalHoldsGetPolicyArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; - return [[DBTEAMListMemberDevicesResult alloc] initWithActiveWebSessions:activeWebSessions - desktopClientSessions:desktopClientSessions - mobileClientSessions:mobileClientSessions]; + return [[DBTEAMLegalHoldsGetPolicyArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersAppsArg.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsGetPolicyError.h" #pragma mark - API Object -@implementation DBTEAMListMembersAppsArg +@implementation DBTEAMLegalHoldsGetPolicyError #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { +- (instancetype)initWithUnknownLegalHoldError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError; + } + return self; +} +- (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { - _cursor = cursor; + _tag = DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions; } return self; } -- (instancetype)initDefault { - return [self initWithCursor:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsGetPolicyErrorOther; + } + return self; +} + +- (instancetype)initWithLegalHoldPolicyNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions; +} + +- (BOOL)isOther { + return _tag == DBTEAMLegalHoldsGetPolicyErrorOther; +} + +- (BOOL)isLegalHoldPolicyNotFound { + return _tag == DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions"; + case DBTEAMLegalHoldsGetPolicyErrorOther: + return @"DBTEAMLegalHoldsGetPolicyErrorOther"; + case DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound: + return @"DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersAppsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsGetPolicyErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersAppsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsGetPolicyErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersAppsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsGetPolicyErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12337,8 +14170,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; + switch (_tag) { + case DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsGetPolicyErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12353,17 +14197,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersAppsArg:other]; + return [self isEqualToLegalHoldsGetPolicyError:other]; } -- (BOOL)isEqualToListMembersAppsArg:(DBTEAMListMembersAppsArg *)aListMembersAppsArg { - if (self == aListMembersAppsArg) { +- (BOOL)isEqualToLegalHoldsGetPolicyError:(DBTEAMLegalHoldsGetPolicyError *)aLegalHoldsGetPolicyError { + if (self == aLegalHoldsGetPolicyError) { return YES; } - if (self.cursor) { - if (![self.cursor isEqual:aListMembersAppsArg.cursor]) { - return NO; - } + if (self.tag != aLegalHoldsGetPolicyError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsGetPolicyError tagName]]; + case DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsGetPolicyError tagName]]; + case DBTEAMLegalHoldsGetPolicyErrorOther: + return [[self tagName] isEqual:[aLegalHoldsGetPolicyError tagName]]; + case DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound: + return [[self tagName] isEqual:[aLegalHoldsGetPolicyError tagName]]; } return YES; } @@ -12372,89 +14224,92 @@ - (BOOL)isEqualToListMembersAppsArg:(DBTEAMListMembersAppsArg *)aListMembersApps #pragma mark - Serializer Object -@implementation DBTEAMListMembersAppsArgSerializer +@implementation DBTEAMLegalHoldsGetPolicyErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isLegalHoldPolicyNotFound]) { + jsonDict[@".tag"] = @"legal_hold_policy_not_found"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"] ?: nil; ++ (DBTEAMLegalHoldsGetPolicyError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMListMembersAppsArg alloc] initWithCursor:cursor]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsGetPolicyError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsGetPolicyError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLegalHoldsGetPolicyError alloc] initWithOther]; + } else if ([tag isEqualToString:@"legal_hold_policy_not_found"]) { + return [[DBTEAMLegalHoldsGetPolicyError alloc] initWithLegalHoldPolicyNotFound]; + } else { + return [[DBTEAMLegalHoldsGetPolicyError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersAppsError.h" +#import "DBTEAMLegalHoldHeldRevisionMetadata.h" +#import "DBTEAMLegalHoldsListHeldRevisionResult.h" #pragma mark - API Object -@implementation DBTEAMListMembersAppsError +@implementation DBTEAMLegalHoldsListHeldRevisionResult #pragma mark - Constructors -- (instancetype)initWithReset { - self = [super init]; - if (self) { - _tag = DBTEAMListMembersAppsErrorReset; - } - return self; -} +- (instancetype)initWithEntries:(NSArray *)entries + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](entries); + [DBStoneValidators nonnullValidator:nil](hasMore); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListMembersAppsErrorOther; + _entries = entries; + _cursor = cursor; + _hasMore = hasMore; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isReset { - return _tag == DBTEAMListMembersAppsErrorReset; -} - -- (BOOL)isOther { - return _tag == DBTEAMListMembersAppsErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMListMembersAppsErrorReset: - return @"DBTEAMListMembersAppsErrorReset"; - case DBTEAMListMembersAppsErrorOther: - return @"DBTEAMListMembersAppsErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithEntries:(NSArray *)entries hasMore:(NSNumber *)hasMore { + return [self initWithEntries:entries hasMore:hasMore cursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersAppsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListHeldRevisionResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersAppsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListHeldRevisionResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersAppsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListHeldRevisionResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12471,11 +14326,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMListMembersAppsErrorReset: - result = prime * result + [[self tagName] hash]; - case DBTEAMListMembersAppsErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.entries hash]; + result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } return prime * result; @@ -12490,21 +14344,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersAppsError:other]; + return [self isEqualToLegalHoldsListHeldRevisionResult:other]; } -- (BOOL)isEqualToListMembersAppsError:(DBTEAMListMembersAppsError *)aListMembersAppsError { - if (self == aListMembersAppsError) { +- (BOOL)isEqualToLegalHoldsListHeldRevisionResult: + (DBTEAMLegalHoldsListHeldRevisionResult *)aLegalHoldsListHeldRevisionResult { + if (self == aLegalHoldsListHeldRevisionResult) { return YES; } - if (self.tag != aListMembersAppsError.tag) { + if (![self.entries isEqual:aLegalHoldsListHeldRevisionResult.entries]) { return NO; } - switch (_tag) { - case DBTEAMListMembersAppsErrorReset: - return [[self tagName] isEqual:[aListMembersAppsError tagName]]; - case DBTEAMListMembersAppsErrorOther: - return [[self tagName] isEqual:[aListMembersAppsError tagName]]; + if (![self.hasMore isEqual:aLegalHoldsListHeldRevisionResult.hasMore]) { + return NO; + } + if (self.cursor) { + if (![self.cursor isEqual:aLegalHoldsListHeldRevisionResult.cursor]) { + return NO; + } } return YES; } @@ -12513,83 +14370,72 @@ - (BOOL)isEqualToListMembersAppsError:(DBTEAMListMembersAppsError *)aListMembers #pragma mark - Serializer Object -@implementation DBTEAMListMembersAppsErrorSerializer +@implementation DBTEAMLegalHoldsListHeldRevisionResultSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersAppsError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isReset]) { - jsonDict[@".tag"] = @"reset"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"entries"] = [DBArraySerializer serialize:valueObj.entries + withBlock:^id(id elem0) { + return [DBTEAMLegalHoldHeldRevisionMetadataSerializer serialize:elem0]; + }]; + jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLegalHoldsListHeldRevisionResult *)deserialize:(NSDictionary *)valueDict { + NSArray *entries = + [DBArraySerializer deserialize:valueDict[@"entries"] + withBlock:^id(id elem0) { + return [DBTEAMLegalHoldHeldRevisionMetadataSerializer deserialize:elem0]; + }]; + NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; - if ([tag isEqualToString:@"reset"]) { - return [[DBTEAMListMembersAppsError alloc] initWithReset]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListMembersAppsError alloc] initWithOther]; - } else { - return [[DBTEAMListMembersAppsError alloc] initWithOther]; - } + return [[DBTEAMLegalHoldsListHeldRevisionResult alloc] initWithEntries:entries hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersAppsResult.h" -#import "DBTEAMMemberLinkedApps.h" +#import "DBTEAMLegalHoldsListHeldRevisionsArg.h" #pragma mark - API Object -@implementation DBTEAMListMembersAppsResult +@implementation DBTEAMLegalHoldsListHeldRevisionsArg #pragma mark - Constructors -- (instancetype)initWithApps:(NSArray *)apps - hasMore:(NSNumber *)hasMore - cursor:(NSString *)cursor { +- (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](apps); - [DBStoneValidators nonnullValidator:nil](hasMore); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { - _apps = apps; - _hasMore = hasMore; - _cursor = cursor; + _id_ = id_; } return self; } -- (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore { - return [self initWithApps:apps hasMore:hasMore cursor:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersAppsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListHeldRevisionsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersAppsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListHeldRevisionsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersAppsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListHeldRevisionsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12606,11 +14452,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.apps hash]; - result = prime * result + [self.hasMore hash]; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; - } + result = prime * result + [self.id_ hash]; return prime * result; } @@ -12624,24 +14466,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersAppsResult:other]; + return [self isEqualToLegalHoldsListHeldRevisionsArg:other]; } -- (BOOL)isEqualToListMembersAppsResult:(DBTEAMListMembersAppsResult *)aListMembersAppsResult { - if (self == aListMembersAppsResult) { +- (BOOL)isEqualToLegalHoldsListHeldRevisionsArg: + (DBTEAMLegalHoldsListHeldRevisionsArg *)aLegalHoldsListHeldRevisionsArg { + if (self == aLegalHoldsListHeldRevisionsArg) { return YES; } - if (![self.apps isEqual:aListMembersAppsResult.apps]) { - return NO; - } - if (![self.hasMore isEqual:aListMembersAppsResult.hasMore]) { + if (![self.id_ isEqual:aLegalHoldsListHeldRevisionsArg.id_]) { return NO; } - if (self.cursor) { - if (![self.cursor isEqual:aListMembersAppsResult.cursor]) { - return NO; - } - } return YES; } @@ -12649,80 +14484,65 @@ - (BOOL)isEqualToListMembersAppsResult:(DBTEAMListMembersAppsResult *)aListMembe #pragma mark - Serializer Object -@implementation DBTEAMListMembersAppsResultSerializer +@implementation DBTEAMLegalHoldsListHeldRevisionsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"apps"] = [DBArraySerializer serialize:valueObj.apps - withBlock:^id(id elem0) { - return [DBTEAMMemberLinkedAppsSerializer serialize:elem0]; - }]; - jsonDict[@"has_more"] = valueObj.hasMore; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; - } + jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)valueDict { - NSArray *apps = - [DBArraySerializer deserialize:valueDict[@"apps"] - withBlock:^id(id elem0) { - return [DBTEAMMemberLinkedAppsSerializer deserialize:elem0]; - }]; - NSNumber *hasMore = valueDict[@"has_more"]; - NSString *cursor = valueDict[@"cursor"] ?: nil; ++ (DBTEAMLegalHoldsListHeldRevisionsArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; - return [[DBTEAMListMembersAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; + return [[DBTEAMLegalHoldsListHeldRevisionsArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersDevicesArg.h" +#import "DBTEAMLegalHoldsListHeldRevisionsContinueArg.h" #pragma mark - API Object -@implementation DBTEAMListMembersDevicesArg +@implementation DBTEAMLegalHoldsListHeldRevisionsContinueArg #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor - includeWebSessions:(NSNumber *)includeWebSessions - includeDesktopClients:(NSNumber *)includeDesktopClients - includeMobileClients:(NSNumber *)includeMobileClients { +- (instancetype)initWithId_:(NSString *)id_ cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](cursor); self = [super init]; if (self) { + _id_ = id_; _cursor = cursor; - _includeWebSessions = includeWebSessions ?: @YES; - _includeDesktopClients = includeDesktopClients ?: @YES; - _includeMobileClients = includeMobileClients ?: @YES; } return self; } -- (instancetype)initDefault { - return [self initWithCursor:nil includeWebSessions:nil includeDesktopClients:nil includeMobileClients:nil]; +- (instancetype)initWithId_:(NSString *)id_ { + return [self initWithId_:id_ cursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersDevicesArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersDevicesArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersDevicesArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12739,12 +14559,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.id_ hash]; if (self.cursor != nil) { result = prime * result + [self.cursor hash]; } - result = prime * result + [self.includeWebSessions hash]; - result = prime * result + [self.includeDesktopClients hash]; - result = prime * result + [self.includeMobileClients hash]; return prime * result; } @@ -12758,27 +14576,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersDevicesArg:other]; + return [self isEqualToLegalHoldsListHeldRevisionsContinueArg:other]; } -- (BOOL)isEqualToListMembersDevicesArg:(DBTEAMListMembersDevicesArg *)aListMembersDevicesArg { - if (self == aListMembersDevicesArg) { +- (BOOL)isEqualToLegalHoldsListHeldRevisionsContinueArg: + (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)aLegalHoldsListHeldRevisionsContinueArg { + if (self == aLegalHoldsListHeldRevisionsContinueArg) { return YES; } + if (![self.id_ isEqual:aLegalHoldsListHeldRevisionsContinueArg.id_]) { + return NO; + } if (self.cursor) { - if (![self.cursor isEqual:aListMembersDevicesArg.cursor]) { + if (![self.cursor isEqual:aLegalHoldsListHeldRevisionsContinueArg.cursor]) { return NO; } } - if (![self.includeWebSessions isEqual:aListMembersDevicesArg.includeWebSessions]) { - return NO; - } - if (![self.includeDesktopClients isEqual:aListMembersDevicesArg.includeDesktopClients]) { - return NO; - } - if (![self.includeMobileClients isEqual:aListMembersDevicesArg.includeMobileClients]) { - return NO; - } return YES; } @@ -12786,49 +14599,58 @@ - (BOOL)isEqualToListMembersDevicesArg:(DBTEAMListMembersDevicesArg *)aListMembe #pragma mark - Serializer Object -@implementation DBTEAMListMembersDevicesArgSerializer +@implementation DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + jsonDict[@"id"] = valueObj.id_; if (valueObj.cursor) { jsonDict[@"cursor"] = valueObj.cursor; } - jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; - jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; - jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; NSString *cursor = valueDict[@"cursor"] ?: nil; - NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; - NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; - NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; - return [[DBTEAMListMembersDevicesArg alloc] initWithCursor:cursor - includeWebSessions:includeWebSessions - includeDesktopClients:includeDesktopClients - includeMobileClients:includeMobileClients]; + return [[DBTEAMLegalHoldsListHeldRevisionsContinueArg alloc] initWithId_:id_ cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersDevicesError.h" +#import "DBTEAMLegalHoldsListHeldRevisionsContinueError.h" #pragma mark - API Object -@implementation DBTEAMListMembersDevicesError +@implementation DBTEAMLegalHoldsListHeldRevisionsContinueError #pragma mark - Constructors +- (instancetype)initWithUnknownLegalHoldError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError; + } + return self; +} + +- (instancetype)initWithTransientError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError; + } + return self; +} + - (instancetype)initWithReset { self = [super init]; if (self) { - _tag = DBTEAMListMembersDevicesErrorReset; + _tag = DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset; } return self; } @@ -12836,7 +14658,7 @@ - (instancetype)initWithReset { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListMembersDevicesErrorOther; + _tag = DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther; } return self; } @@ -12845,20 +14667,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError; +} + +- (BOOL)isTransientError { + return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError; +} + - (BOOL)isReset { - return _tag == DBTEAMListMembersDevicesErrorReset; + return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset; } - (BOOL)isOther { - return _tag == DBTEAMListMembersDevicesErrorOther; + return _tag == DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMListMembersDevicesErrorReset: - return @"DBTEAMListMembersDevicesErrorReset"; - case DBTEAMListMembersDevicesErrorOther: - return @"DBTEAMListMembersDevicesErrorOther"; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError: + return @"DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError"; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset: + return @"DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset"; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther: + return @"DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -12866,18 +14700,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersDevicesErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersDevicesErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersDevicesErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -12895,10 +14729,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMListMembersDevicesErrorReset: + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; - case DBTEAMListMembersDevicesErrorOther: + break; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -12913,21 +14755,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersDevicesError:other]; + return [self isEqualToLegalHoldsListHeldRevisionsContinueError:other]; } -- (BOOL)isEqualToListMembersDevicesError:(DBTEAMListMembersDevicesError *)aListMembersDevicesError { - if (self == aListMembersDevicesError) { +- (BOOL)isEqualToLegalHoldsListHeldRevisionsContinueError: + (DBTEAMLegalHoldsListHeldRevisionsContinueError *)aLegalHoldsListHeldRevisionsContinueError { + if (self == aLegalHoldsListHeldRevisionsContinueError) { return YES; } - if (self.tag != aListMembersDevicesError.tag) { + if (self.tag != aLegalHoldsListHeldRevisionsContinueError.tag) { return NO; } switch (_tag) { - case DBTEAMListMembersDevicesErrorReset: - return [[self tagName] isEqual:[aListMembersDevicesError tagName]]; - case DBTEAMListMembersDevicesErrorOther: - return [[self tagName] isEqual:[aListMembersDevicesError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsContinueError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsContinueError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsContinueError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsContinueError tagName]]; } return YES; } @@ -12936,12 +14783,16 @@ - (BOOL)isEqualToListMembersDevicesError:(DBTEAMListMembersDevicesError *)aListM #pragma mark - Serializer Object -@implementation DBTEAMListMembersDevicesErrorSerializer +@implementation DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isReset]) { + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isReset]) { jsonDict[@".tag"] = @"reset"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -12949,18 +14800,22 @@ + (NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsListHeldRevisionsContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"reset"]) { - return [[DBTEAMListMembersDevicesError alloc] initWithReset]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithTransientError]; + } else if ([tag isEqualToString:@"reset"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithReset]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListMembersDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithOther]; } else { - return [[DBTEAMListMembersDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsListHeldRevisionsContinueError alloc] initWithOther]; } } @@ -12968,51 +14823,124 @@ + (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListMembersDevicesResult.h" -#import "DBTEAMMemberDevices.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsListHeldRevisionsError.h" #pragma mark - API Object -@implementation DBTEAMListMembersDevicesResult +@implementation DBTEAMLegalHoldsListHeldRevisionsError #pragma mark - Constructors -- (instancetype)initWithDevices:(NSArray *)devices - hasMore:(NSNumber *)hasMore - cursor:(NSString *)cursor { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](devices); - [DBStoneValidators nonnullValidator:nil](hasMore); +- (instancetype)initWithUnknownLegalHoldError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError; + } + return self; +} +- (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { - _devices = devices; - _hasMore = hasMore; - _cursor = cursor; + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions; } return self; } -- (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore { - return [self initWithDevices:devices hasMore:hasMore cursor:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorOther; + } + return self; +} + +- (instancetype)initWithTransientError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorTransientError; + } + return self; +} + +- (instancetype)initWithLegalHoldStillEmpty { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty; + } + return self; +} + +- (instancetype)initWithInactiveLegalHold { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions; +} + +- (BOOL)isOther { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorOther; +} + +- (BOOL)isTransientError { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorTransientError; +} + +- (BOOL)isLegalHoldStillEmpty { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty; +} + +- (BOOL)isInactiveLegalHold { + return _tag == DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions"; + case DBTEAMLegalHoldsListHeldRevisionsErrorOther: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorOther"; + case DBTEAMLegalHoldsListHeldRevisionsErrorTransientError: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorTransientError"; + case DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty"; + case DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold: + return @"DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListMembersDevicesResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListHeldRevisionsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListMembersDevicesResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListHeldRevisionsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListMembersDevicesResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListHeldRevisionsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13029,10 +14957,25 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.devices hash]; - result = prime * result + [self.hasMore hash]; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; + switch (_tag) { + case DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsErrorTransientError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13047,23 +14990,30 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListMembersDevicesResult:other]; + return [self isEqualToLegalHoldsListHeldRevisionsError:other]; } -- (BOOL)isEqualToListMembersDevicesResult:(DBTEAMListMembersDevicesResult *)aListMembersDevicesResult { - if (self == aListMembersDevicesResult) { +- (BOOL)isEqualToLegalHoldsListHeldRevisionsError: + (DBTEAMLegalHoldsListHeldRevisionsError *)aLegalHoldsListHeldRevisionsError { + if (self == aLegalHoldsListHeldRevisionsError) { return YES; } - if (![self.devices isEqual:aListMembersDevicesResult.devices]) { - return NO; - } - if (![self.hasMore isEqual:aListMembersDevicesResult.hasMore]) { + if (self.tag != aLegalHoldsListHeldRevisionsError.tag) { return NO; } - if (self.cursor) { - if (![self.cursor isEqual:aListMembersDevicesResult.cursor]) { - return NO; - } + switch (_tag) { + case DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsErrorOther: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsErrorTransientError: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; + case DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold: + return [[self tagName] isEqual:[aLegalHoldsListHeldRevisionsError tagName]]; } return YES; } @@ -13072,74 +15022,89 @@ - (BOOL)isEqualToListMembersDevicesResult:(DBTEAMListMembersDevicesResult *)aLis #pragma mark - Serializer Object -@implementation DBTEAMListMembersDevicesResultSerializer +@implementation DBTEAMLegalHoldsListHeldRevisionsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"devices"] = [DBArraySerializer serialize:valueObj.devices - withBlock:^id(id elem0) { - return [DBTEAMMemberDevicesSerializer serialize:elem0]; - }]; - jsonDict[@"has_more"] = valueObj.hasMore; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isLegalHoldStillEmpty]) { + jsonDict[@".tag"] = @"legal_hold_still_empty"; + } else if ([valueObj isInactiveLegalHold]) { + jsonDict[@".tag"] = @"inactive_legal_hold"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)valueDict { - NSArray *devices = - [DBArraySerializer deserialize:valueDict[@"devices"] - withBlock:^id(id elem0) { - return [DBTEAMMemberDevicesSerializer deserialize:elem0]; - }]; - NSNumber *hasMore = valueDict[@"has_more"]; - NSString *cursor = valueDict[@"cursor"] ?: nil; ++ (DBTEAMLegalHoldsListHeldRevisionsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMListMembersDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithOther]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithTransientError]; + } else if ([tag isEqualToString:@"legal_hold_still_empty"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithLegalHoldStillEmpty]; + } else if ([tag isEqualToString:@"inactive_legal_hold"]) { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithInactiveLegalHold]; + } else { + return [[DBTEAMLegalHoldsListHeldRevisionsError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamAppsArg.h" +#import "DBTEAMLegalHoldsListPoliciesArg.h" #pragma mark - API Object -@implementation DBTEAMListTeamAppsArg +@implementation DBTEAMLegalHoldsListPoliciesArg #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { +- (instancetype)initWithIncludeReleased:(NSNumber *)includeReleased { self = [super init]; if (self) { - _cursor = cursor; + _includeReleased = includeReleased ?: @NO; } return self; } - (instancetype)initDefault { - return [self initWithCursor:nil]; + return [self initWithIncludeReleased:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamAppsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListPoliciesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamAppsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListPoliciesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamAppsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListPoliciesArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13156,9 +15121,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; - } + result = prime * result + [self.includeReleased hash]; return prime * result; } @@ -13172,17 +15135,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamAppsArg:other]; + return [self isEqualToLegalHoldsListPoliciesArg:other]; } -- (BOOL)isEqualToListTeamAppsArg:(DBTEAMListTeamAppsArg *)aListTeamAppsArg { - if (self == aListTeamAppsArg) { +- (BOOL)isEqualToLegalHoldsListPoliciesArg:(DBTEAMLegalHoldsListPoliciesArg *)aLegalHoldsListPoliciesArg { + if (self == aLegalHoldsListPoliciesArg) { return YES; } - if (self.cursor) { - if (![self.cursor isEqual:aListTeamAppsArg.cursor]) { - return NO; - } + if (![self.includeReleased isEqual:aLegalHoldsListPoliciesArg.includeReleased]) { + return NO; } return YES; } @@ -13191,40 +15152,47 @@ - (BOOL)isEqualToListTeamAppsArg:(DBTEAMListTeamAppsArg *)aListTeamAppsArg { #pragma mark - Serializer Object -@implementation DBTEAMListTeamAppsArgSerializer +@implementation DBTEAMLegalHoldsListPoliciesArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; - } + jsonDict[@"include_released"] = valueObj.includeReleased; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"] ?: nil; ++ (DBTEAMLegalHoldsListPoliciesArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *includeReleased = valueDict[@"include_released"] ?: @NO; - return [[DBTEAMListTeamAppsArg alloc] initWithCursor:cursor]; + return [[DBTEAMLegalHoldsListPoliciesArg alloc] initWithIncludeReleased:includeReleased]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamAppsError.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsListPoliciesError.h" #pragma mark - API Object -@implementation DBTEAMListTeamAppsError +@implementation DBTEAMLegalHoldsListPoliciesError #pragma mark - Constructors -- (instancetype)initWithReset { +- (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { - _tag = DBTEAMListTeamAppsErrorReset; + _tag = DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError; + } + return self; +} + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions; } return self; } @@ -13232,7 +15200,15 @@ - (instancetype)initWithReset { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListTeamAppsErrorOther; + _tag = DBTEAMLegalHoldsListPoliciesErrorOther; + } + return self; +} + +- (instancetype)initWithTransientError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsListPoliciesErrorTransientError; } return self; } @@ -13241,20 +15217,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isReset { - return _tag == DBTEAMListTeamAppsErrorReset; +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions; } - (BOOL)isOther { - return _tag == DBTEAMListTeamAppsErrorOther; + return _tag == DBTEAMLegalHoldsListPoliciesErrorOther; +} + +- (BOOL)isTransientError { + return _tag == DBTEAMLegalHoldsListPoliciesErrorTransientError; } - (NSString *)tagName { switch (_tag) { - case DBTEAMListTeamAppsErrorReset: - return @"DBTEAMListTeamAppsErrorReset"; - case DBTEAMListTeamAppsErrorOther: - return @"DBTEAMListTeamAppsErrorOther"; + case DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions"; + case DBTEAMLegalHoldsListPoliciesErrorOther: + return @"DBTEAMLegalHoldsListPoliciesErrorOther"; + case DBTEAMLegalHoldsListPoliciesErrorTransientError: + return @"DBTEAMLegalHoldsListPoliciesErrorTransientError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -13262,18 +15250,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamAppsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListPoliciesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamAppsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListPoliciesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamAppsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListPoliciesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13291,10 +15279,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMListTeamAppsErrorReset: + case DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; - case DBTEAMListTeamAppsErrorOther: + break; + case DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListPoliciesErrorOther: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsListPoliciesErrorTransientError: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13309,21 +15305,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamAppsError:other]; + return [self isEqualToLegalHoldsListPoliciesError:other]; } -- (BOOL)isEqualToListTeamAppsError:(DBTEAMListTeamAppsError *)aListTeamAppsError { - if (self == aListTeamAppsError) { +- (BOOL)isEqualToLegalHoldsListPoliciesError:(DBTEAMLegalHoldsListPoliciesError *)aLegalHoldsListPoliciesError { + if (self == aLegalHoldsListPoliciesError) { return YES; } - if (self.tag != aListTeamAppsError.tag) { + if (self.tag != aLegalHoldsListPoliciesError.tag) { return NO; } switch (_tag) { - case DBTEAMListTeamAppsErrorReset: - return [[self tagName] isEqual:[aListTeamAppsError tagName]]; - case DBTEAMListTeamAppsErrorOther: - return [[self tagName] isEqual:[aListTeamAppsError tagName]]; + case DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsListPoliciesError tagName]]; + case DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsListPoliciesError tagName]]; + case DBTEAMLegalHoldsListPoliciesErrorOther: + return [[self tagName] isEqual:[aLegalHoldsListPoliciesError tagName]]; + case DBTEAMLegalHoldsListPoliciesErrorTransientError: + return [[self tagName] isEqual:[aLegalHoldsListPoliciesError tagName]]; } return YES; } @@ -13332,31 +15332,39 @@ - (BOOL)isEqualToListTeamAppsError:(DBTEAMListTeamAppsError *)aListTeamAppsError #pragma mark - Serializer Object -@implementation DBTEAMListTeamAppsErrorSerializer +@implementation DBTEAMLegalHoldsListPoliciesErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamAppsError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isReset]) { - jsonDict[@".tag"] = @"reset"; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsListPoliciesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"reset"]) { - return [[DBTEAMListTeamAppsError alloc] initWithReset]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListTeamAppsError alloc] initWithOther]; + return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithOther]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithTransientError]; } else { - return [[DBTEAMListTeamAppsError alloc] initWithOther]; + return [[DBTEAMLegalHoldsListPoliciesError alloc] initWithOther]; } } @@ -13364,51 +15372,42 @@ + (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamAppsResult.h" -#import "DBTEAMMemberLinkedApps.h" +#import "DBTEAMLegalHoldPolicy.h" +#import "DBTEAMLegalHoldsListPoliciesResult.h" #pragma mark - API Object -@implementation DBTEAMListTeamAppsResult +@implementation DBTEAMLegalHoldsListPoliciesResult #pragma mark - Constructors -- (instancetype)initWithApps:(NSArray *)apps - hasMore:(NSNumber *)hasMore - cursor:(NSString *)cursor { +- (instancetype)initWithPolicies:(NSArray *)policies { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](apps); - [DBStoneValidators nonnullValidator:nil](hasMore); + itemValidator:[DBStoneValidators nonnullValidator:nil]]](policies); self = [super init]; if (self) { - _apps = apps; - _hasMore = hasMore; - _cursor = cursor; + _policies = policies; } return self; } -- (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore { - return [self initWithApps:apps hasMore:hasMore cursor:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamAppsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsListPoliciesResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamAppsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsListPoliciesResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamAppsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsListPoliciesResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13425,11 +15424,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.apps hash]; - result = prime * result + [self.hasMore hash]; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; - } + result = prime * result + [self.policies hash]; return prime * result; } @@ -13443,24 +15438,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamAppsResult:other]; + return [self isEqualToLegalHoldsListPoliciesResult:other]; } -- (BOOL)isEqualToListTeamAppsResult:(DBTEAMListTeamAppsResult *)aListTeamAppsResult { - if (self == aListTeamAppsResult) { +- (BOOL)isEqualToLegalHoldsListPoliciesResult:(DBTEAMLegalHoldsListPoliciesResult *)aLegalHoldsListPoliciesResult { + if (self == aLegalHoldsListPoliciesResult) { return YES; } - if (![self.apps isEqual:aListTeamAppsResult.apps]) { - return NO; - } - if (![self.hasMore isEqual:aListTeamAppsResult.hasMore]) { + if (![self.policies isEqual:aLegalHoldsListPoliciesResult.policies]) { return NO; } - if (self.cursor) { - if (![self.cursor isEqual:aListTeamAppsResult.cursor]) { - return NO; - } - } return YES; } @@ -13468,80 +15455,83 @@ - (BOOL)isEqualToListTeamAppsResult:(DBTEAMListTeamAppsResult *)aListTeamAppsRes #pragma mark - Serializer Object -@implementation DBTEAMListTeamAppsResultSerializer +@implementation DBTEAMLegalHoldsListPoliciesResultSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"apps"] = [DBArraySerializer serialize:valueObj.apps - withBlock:^id(id elem0) { - return [DBTEAMMemberLinkedAppsSerializer serialize:elem0]; - }]; - jsonDict[@"has_more"] = valueObj.hasMore; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; - } + jsonDict[@"policies"] = [DBArraySerializer serialize:valueObj.policies + withBlock:^id(id elem0) { + return [DBTEAMLegalHoldPolicySerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)valueDict { - NSArray *apps = - [DBArraySerializer deserialize:valueDict[@"apps"] ++ (DBTEAMLegalHoldsListPoliciesResult *)deserialize:(NSDictionary *)valueDict { + NSArray *policies = + [DBArraySerializer deserialize:valueDict[@"policies"] withBlock:^id(id elem0) { - return [DBTEAMMemberLinkedAppsSerializer deserialize:elem0]; + return [DBTEAMLegalHoldPolicySerializer deserialize:elem0]; }]; - NSNumber *hasMore = valueDict[@"has_more"]; - NSString *cursor = valueDict[@"cursor"] ?: nil; - return [[DBTEAMListTeamAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; + return [[DBTEAMLegalHoldsListPoliciesResult alloc] initWithPolicies:policies]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamDevicesArg.h" +#import "DBTEAMLegalHoldsPolicyCreateArg.h" #pragma mark - API Object -@implementation DBTEAMListTeamDevicesArg +@implementation DBTEAMLegalHoldsPolicyCreateArg #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor - includeWebSessions:(NSNumber *)includeWebSessions - includeDesktopClients:(NSNumber *)includeDesktopClients - includeMobileClients:(NSNumber *)includeMobileClients { +- (instancetype)initWithName:(NSString *)name + members:(NSArray *)members + description_:(NSString *)description_ + startDate:(NSDate *)startDate + endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(140) pattern:nil]](name); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(501) pattern:nil]](description_); self = [super init]; if (self) { - _cursor = cursor; - _includeWebSessions = includeWebSessions ?: @YES; - _includeDesktopClients = includeDesktopClients ?: @YES; - _includeMobileClients = includeMobileClients ?: @YES; + _name = name; + _description_ = description_; + _members = members; + _startDate = startDate; + _endDate = endDate; } return self; } -- (instancetype)initDefault { - return [self initWithCursor:nil includeWebSessions:nil includeDesktopClients:nil includeMobileClients:nil]; +- (instancetype)initWithName:(NSString *)name members:(NSArray *)members { + return [self initWithName:name members:members description_:nil startDate:nil endDate:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamDevicesArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyCreateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamDevicesArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyCreateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamDevicesArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyCreateArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13558,12 +15548,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.members hash]; + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; + } + if (self.startDate != nil) { + result = prime * result + [self.startDate hash]; + } + if (self.endDate != nil) { + result = prime * result + [self.endDate hash]; } - result = prime * result + [self.includeWebSessions hash]; - result = prime * result + [self.includeDesktopClients hash]; - result = prime * result + [self.includeMobileClients hash]; return prime * result; } @@ -13577,26 +15572,33 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamDevicesArg:other]; + return [self isEqualToLegalHoldsPolicyCreateArg:other]; } -- (BOOL)isEqualToListTeamDevicesArg:(DBTEAMListTeamDevicesArg *)aListTeamDevicesArg { - if (self == aListTeamDevicesArg) { +- (BOOL)isEqualToLegalHoldsPolicyCreateArg:(DBTEAMLegalHoldsPolicyCreateArg *)aLegalHoldsPolicyCreateArg { + if (self == aLegalHoldsPolicyCreateArg) { return YES; } - if (self.cursor) { - if (![self.cursor isEqual:aListTeamDevicesArg.cursor]) { - return NO; - } - } - if (![self.includeWebSessions isEqual:aListTeamDevicesArg.includeWebSessions]) { + if (![self.name isEqual:aLegalHoldsPolicyCreateArg.name]) { return NO; } - if (![self.includeDesktopClients isEqual:aListTeamDevicesArg.includeDesktopClients]) { + if (![self.members isEqual:aLegalHoldsPolicyCreateArg.members]) { return NO; } - if (![self.includeMobileClients isEqual:aListTeamDevicesArg.includeMobileClients]) { - return NO; + if (self.description_) { + if (![self.description_ isEqual:aLegalHoldsPolicyCreateArg.description_]) { + return NO; + } + } + if (self.startDate) { + if (![self.startDate isEqual:aLegalHoldsPolicyCreateArg.startDate]) { + return NO; + } + } + if (self.endDate) { + if (![self.endDate isEqual:aLegalHoldsPolicyCreateArg.endDate]) { + return NO; + } } return YES; } @@ -13605,49 +15607,75 @@ - (BOOL)isEqualToListTeamDevicesArg:(DBTEAMListTeamDevicesArg *)aListTeamDevices #pragma mark - Serializer Object -@implementation DBTEAMListTeamDevicesArgSerializer +@implementation DBTEAMLegalHoldsPolicyCreateArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return elem0; + }]; + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; + } + if (valueObj.startDate) { + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.endDate) { + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; - jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; - jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"] ?: nil; - NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; - NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; - NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; ++ (DBTEAMLegalHoldsPolicyCreateArg *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSArray *members = [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *description_ = valueDict[@"description"] ?: nil; + NSDate *startDate = valueDict[@"start_date"] + ? [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *endDate = valueDict[@"end_date"] + ? [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - return [[DBTEAMListTeamDevicesArg alloc] initWithCursor:cursor - includeWebSessions:includeWebSessions - includeDesktopClients:includeDesktopClients - includeMobileClients:includeMobileClients]; + return [[DBTEAMLegalHoldsPolicyCreateArg alloc] initWithName:name + members:members + description_:description_ + startDate:startDate + endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamDevicesError.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsPolicyCreateError.h" #pragma mark - API Object -@implementation DBTEAMListTeamDevicesError +@implementation DBTEAMLegalHoldsPolicyCreateError #pragma mark - Constructors -- (instancetype)initWithReset { +- (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { - _tag = DBTEAMListTeamDevicesErrorReset; + _tag = DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError; + } + return self; +} + +- (instancetype)initWithInsufficientPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions; } return self; } @@ -13655,7 +15683,71 @@ - (instancetype)initWithReset { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMListTeamDevicesErrorOther; + _tag = DBTEAMLegalHoldsPolicyCreateErrorOther; + } + return self; +} + +- (instancetype)initWithStartDateIsLaterThanEndDate { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate; + } + return self; +} + +- (instancetype)initWithEmptyMembersList { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList; + } + return self; +} + +- (instancetype)initWithInvalidMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers; + } + return self; +} + +- (instancetype)initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; + } + return self; +} + +- (instancetype)initWithTransientError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorTransientError; + } + return self; +} + +- (instancetype)initWithNameMustBeUnique { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique; + } + return self; +} + +- (instancetype)initWithTeamExceededLegalHoldQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota; + } + return self; +} + +- (instancetype)initWithInvalidDate { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyCreateErrorInvalidDate; } return self; } @@ -13664,20 +15756,74 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isReset { - return _tag == DBTEAMListTeamDevicesErrorReset; +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions; } - (BOOL)isOther { - return _tag == DBTEAMListTeamDevicesErrorOther; + return _tag == DBTEAMLegalHoldsPolicyCreateErrorOther; +} + +- (BOOL)isStartDateIsLaterThanEndDate { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate; +} + +- (BOOL)isEmptyMembersList { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList; +} + +- (BOOL)isInvalidMembers { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers; +} + +- (BOOL)isNumberOfUsersOnHoldIsGreaterThanHoldLimitation { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; +} + +- (BOOL)isTransientError { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorTransientError; +} + +- (BOOL)isNameMustBeUnique { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique; +} + +- (BOOL)isTeamExceededLegalHoldQuota { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota; +} + +- (BOOL)isInvalidDate { + return _tag == DBTEAMLegalHoldsPolicyCreateErrorInvalidDate; } - (NSString *)tagName { switch (_tag) { - case DBTEAMListTeamDevicesErrorReset: - return @"DBTEAMListTeamDevicesErrorReset"; - case DBTEAMListTeamDevicesErrorOther: - return @"DBTEAMListTeamDevicesErrorOther"; + case DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions"; + case DBTEAMLegalHoldsPolicyCreateErrorOther: + return @"DBTEAMLegalHoldsPolicyCreateErrorOther"; + case DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate: + return @"DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate"; + case DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList: + return @"DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList"; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers: + return @"DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers"; + case DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + return @"DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation"; + case DBTEAMLegalHoldsPolicyCreateErrorTransientError: + return @"DBTEAMLegalHoldsPolicyCreateErrorTransientError"; + case DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique: + return @"DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique"; + case DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota: + return @"DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota"; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidDate: + return @"DBTEAMLegalHoldsPolicyCreateErrorInvalidDate"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -13685,18 +15831,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamDevicesErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyCreateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamDevicesErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyCreateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamDevicesErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13714,10 +15860,39 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMListTeamDevicesErrorReset: + case DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError: result = prime * result + [[self tagName] hash]; - case DBTEAMListTeamDevicesErrorOther: + break; + case DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorTransientError: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidDate: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -13732,21 +15907,39 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamDevicesError:other]; + return [self isEqualToLegalHoldsPolicyCreateError:other]; } -- (BOOL)isEqualToListTeamDevicesError:(DBTEAMListTeamDevicesError *)aListTeamDevicesError { - if (self == aListTeamDevicesError) { +- (BOOL)isEqualToLegalHoldsPolicyCreateError:(DBTEAMLegalHoldsPolicyCreateError *)aLegalHoldsPolicyCreateError { + if (self == aLegalHoldsPolicyCreateError) { return YES; } - if (self.tag != aListTeamDevicesError.tag) { + if (self.tag != aLegalHoldsPolicyCreateError.tag) { return NO; } switch (_tag) { - case DBTEAMListTeamDevicesErrorReset: - return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; - case DBTEAMListTeamDevicesErrorOther: - return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorOther: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorTransientError: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; + case DBTEAMLegalHoldsPolicyCreateErrorInvalidDate: + return [[self tagName] isEqual:[aLegalHoldsPolicyCreateError tagName]]; } return YES; } @@ -13755,31 +15948,67 @@ - (BOOL)isEqualToListTeamDevicesError:(DBTEAMListTeamDevicesError *)aListTeamDev #pragma mark - Serializer Object -@implementation DBTEAMListTeamDevicesErrorSerializer +@implementation DBTEAMLegalHoldsPolicyCreateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isReset]) { - jsonDict[@".tag"] = @"reset"; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isStartDateIsLaterThanEndDate]) { + jsonDict[@".tag"] = @"start_date_is_later_than_end_date"; + } else if ([valueObj isEmptyMembersList]) { + jsonDict[@".tag"] = @"empty_members_list"; + } else if ([valueObj isInvalidMembers]) { + jsonDict[@".tag"] = @"invalid_members"; + } else if ([valueObj isNumberOfUsersOnHoldIsGreaterThanHoldLimitation]) { + jsonDict[@".tag"] = @"number_of_users_on_hold_is_greater_than_hold_limitation"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isNameMustBeUnique]) { + jsonDict[@".tag"] = @"name_must_be_unique"; + } else if ([valueObj isTeamExceededLegalHoldQuota]) { + jsonDict[@".tag"] = @"team_exceeded_legal_hold_quota"; + } else if ([valueObj isInvalidDate]) { + jsonDict[@".tag"] = @"invalid_date"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsPolicyCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"reset"]) { - return [[DBTEAMListTeamDevicesError alloc] initWithReset]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithInsufficientPermissions]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMListTeamDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithOther]; + } else if ([tag isEqualToString:@"start_date_is_later_than_end_date"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithStartDateIsLaterThanEndDate]; + } else if ([tag isEqualToString:@"empty_members_list"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithEmptyMembersList]; + } else if ([tag isEqualToString:@"invalid_members"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithInvalidMembers]; + } else if ([tag isEqualToString:@"number_of_users_on_hold_is_greater_than_hold_limitation"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithTransientError]; + } else if ([tag isEqualToString:@"name_must_be_unique"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithNameMustBeUnique]; + } else if ([tag isEqualToString:@"team_exceeded_legal_hold_quota"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithTeamExceededLegalHoldQuota]; + } else if ([tag isEqualToString:@"invalid_date"]) { + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithInvalidDate]; } else { - return [[DBTEAMListTeamDevicesError alloc] initWithOther]; + return [[DBTEAMLegalHoldsPolicyCreateError alloc] initWithOther]; } } @@ -13787,51 +16016,39 @@ + (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMListTeamDevicesResult.h" -#import "DBTEAMMemberDevices.h" +#import "DBTEAMLegalHoldsPolicyReleaseArg.h" #pragma mark - API Object -@implementation DBTEAMListTeamDevicesResult +@implementation DBTEAMLegalHoldsPolicyReleaseArg #pragma mark - Constructors -- (instancetype)initWithDevices:(NSArray *)devices - hasMore:(NSNumber *)hasMore - cursor:(NSString *)cursor { +- (instancetype)initWithId_:(NSString *)id_ { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](devices); - [DBStoneValidators nonnullValidator:nil](hasMore); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); self = [super init]; if (self) { - _devices = devices; - _hasMore = hasMore; - _cursor = cursor; + _id_ = id_; } return self; } -- (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore { - return [self initWithDevices:devices hasMore:hasMore cursor:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMListTeamDevicesResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyReleaseArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMListTeamDevicesResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyReleaseArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMListTeamDevicesResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyReleaseArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13848,11 +16065,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.devices hash]; - result = prime * result + [self.hasMore hash]; - if (self.cursor != nil) { - result = prime * result + [self.cursor hash]; - } + result = prime * result + [self.id_ hash]; return prime * result; } @@ -13866,24 +16079,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToListTeamDevicesResult:other]; + return [self isEqualToLegalHoldsPolicyReleaseArg:other]; } -- (BOOL)isEqualToListTeamDevicesResult:(DBTEAMListTeamDevicesResult *)aListTeamDevicesResult { - if (self == aListTeamDevicesResult) { +- (BOOL)isEqualToLegalHoldsPolicyReleaseArg:(DBTEAMLegalHoldsPolicyReleaseArg *)aLegalHoldsPolicyReleaseArg { + if (self == aLegalHoldsPolicyReleaseArg) { return YES; } - if (![self.devices isEqual:aListTeamDevicesResult.devices]) { - return NO; - } - if (![self.hasMore isEqual:aListTeamDevicesResult.hasMore]) { + if (![self.id_ isEqual:aLegalHoldsPolicyReleaseArg.id_]) { return NO; } - if (self.cursor) { - if (![self.cursor isEqual:aListTeamDevicesResult.cursor]) { - return NO; - } - } return YES; } @@ -13891,75 +16096,144 @@ - (BOOL)isEqualToListTeamDevicesResult:(DBTEAMListTeamDevicesResult *)aListTeamD #pragma mark - Serializer Object -@implementation DBTEAMListTeamDevicesResultSerializer +@implementation DBTEAMLegalHoldsPolicyReleaseArgSerializer -+ (NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"devices"] = [DBArraySerializer serialize:valueObj.devices - withBlock:^id(id elem0) { - return [DBTEAMMemberDevicesSerializer serialize:elem0]; - }]; - jsonDict[@"has_more"] = valueObj.hasMore; - if (valueObj.cursor) { - jsonDict[@"cursor"] = valueObj.cursor; - } + jsonDict[@"id"] = valueObj.id_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)valueDict { - NSArray *devices = - [DBArraySerializer deserialize:valueDict[@"devices"] - withBlock:^id(id elem0) { - return [DBTEAMMemberDevicesSerializer deserialize:elem0]; - }]; - NSNumber *hasMore = valueDict[@"has_more"]; - NSString *cursor = valueDict[@"cursor"] ?: nil; ++ (DBTEAMLegalHoldsPolicyReleaseArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; - return [[DBTEAMListTeamDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; + return [[DBTEAMLegalHoldsPolicyReleaseArg alloc] initWithId_:id_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMGroupAccessType.h" -#import "DBTEAMMemberAccess.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsPolicyReleaseError.h" #pragma mark - API Object -@implementation DBTEAMMemberAccess +@implementation DBTEAMLegalHoldsPolicyReleaseError #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType { - [DBStoneValidators nonnullValidator:nil](user); - [DBStoneValidators nonnullValidator:nil](accessType); +- (instancetype)initWithUnknownLegalHoldError { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError; + } + return self; +} +- (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { - _user = user; - _accessType = accessType; + _tag = DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyReleaseErrorOther; + } + return self; +} + +- (instancetype)initWithLegalHoldPerformingAnotherOperation { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation; + } + return self; +} + +- (instancetype)initWithLegalHoldAlreadyReleasing { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing; + } + return self; +} + +- (instancetype)initWithLegalHoldPolicyNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError; +} + +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions; +} + +- (BOOL)isOther { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorOther; +} + +- (BOOL)isLegalHoldPerformingAnotherOperation { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation; +} + +- (BOOL)isLegalHoldAlreadyReleasing { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing; +} + +- (BOOL)isLegalHoldPolicyNotFound { + return _tag == DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions"; + case DBTEAMLegalHoldsPolicyReleaseErrorOther: + return @"DBTEAMLegalHoldsPolicyReleaseErrorOther"; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation: + return @"DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation"; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing: + return @"DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing"; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound: + return @"DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberAccessSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyReleaseErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberAccessSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyReleaseErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberAccessSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyReleaseErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -13976,8 +16250,26 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; - result = prime * result + [self.accessType hash]; + switch (_tag) { + case DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyReleaseErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -13991,18 +16283,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberAccess:other]; + return [self isEqualToLegalHoldsPolicyReleaseError:other]; } -- (BOOL)isEqualToMemberAccess:(DBTEAMMemberAccess *)aMemberAccess { - if (self == aMemberAccess) { +- (BOOL)isEqualToLegalHoldsPolicyReleaseError:(DBTEAMLegalHoldsPolicyReleaseError *)aLegalHoldsPolicyReleaseError { + if (self == aLegalHoldsPolicyReleaseError) { return YES; } - if (![self.user isEqual:aMemberAccess.user]) { + if (self.tag != aLegalHoldsPolicyReleaseError.tag) { return NO; } - if (![self.accessType isEqual:aMemberAccess.accessType]) { - return NO; + switch (_tag) { + case DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; + case DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; + case DBTEAMLegalHoldsPolicyReleaseErrorOther: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; + case DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound: + return [[self tagName] isEqual:[aLegalHoldsPolicyReleaseError tagName]]; } return YES; } @@ -14011,93 +16314,104 @@ - (BOOL)isEqualToMemberAccess:(DBTEAMMemberAccess *)aMemberAccess { #pragma mark - Serializer Object -@implementation DBTEAMMemberAccessSerializer +@implementation DBTEAMLegalHoldsPolicyReleaseErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberAccess *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isLegalHoldPerformingAnotherOperation]) { + jsonDict[@".tag"] = @"legal_hold_performing_another_operation"; + } else if ([valueObj isLegalHoldAlreadyReleasing]) { + jsonDict[@".tag"] = @"legal_hold_already_releasing"; + } else if ([valueObj isLegalHoldPolicyNotFound]) { + jsonDict[@".tag"] = @"legal_hold_policy_not_found"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberAccess *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; ++ (DBTEAMLegalHoldsPolicyReleaseError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMMemberAccess alloc] initWithUser:user accessType:accessType]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithOther]; + } else if ([tag isEqualToString:@"legal_hold_performing_another_operation"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithLegalHoldPerformingAnotherOperation]; + } else if ([tag isEqualToString:@"legal_hold_already_releasing"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithLegalHoldAlreadyReleasing]; + } else if ([tag isEqualToString:@"legal_hold_policy_not_found"]) { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithLegalHoldPolicyNotFound]; + } else { + return [[DBTEAMLegalHoldsPolicyReleaseError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMAdminTier.h" -#import "DBTEAMMemberAddArg.h" +#import "DBTEAMLegalHoldsPolicyUpdateArg.h" #pragma mark - API Object -@implementation DBTEAMMemberAddArg +@implementation DBTEAMLegalHoldsPolicyUpdateArg #pragma mark - Constructors -- (instancetype)initWithMemberEmail:(NSString *)memberEmail - memberGivenName:(NSString *)memberGivenName - memberSurname:(NSString *)memberSurname - memberExternalId:(NSString *)memberExternalId - memberPersistentId:(NSString *)memberPersistentId - sendWelcomeEmail:(NSNumber *)sendWelcomeEmail - role:(DBTEAMAdminTier *)role { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9." - @"-]*.[A-Za-z]{2,15}$"]](memberEmail); +- (instancetype)initWithId_:(NSString *)id_ + name:(NSString *)name + description_:(NSString *)description_ + members:(NSArray *)members { [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]]( - memberGivenName); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"^pid_dbhid:.+"]](id_); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(140) pattern:nil]](name); [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](memberSurname); + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(501) pattern:nil]](description_); [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); self = [super init]; if (self) { - _memberEmail = memberEmail; - _memberGivenName = memberGivenName; - _memberSurname = memberSurname; - _memberExternalId = memberExternalId; - _memberPersistentId = memberPersistentId; - _sendWelcomeEmail = sendWelcomeEmail ?: @YES; - _role = role ?: [[DBTEAMAdminTier alloc] initWithMemberOnly]; + _id_ = id_; + _name = name; + _description_ = description_; + _members = members; } return self; } -- (instancetype)initWithMemberEmail:(NSString *)memberEmail { - return [self initWithMemberEmail:memberEmail - memberGivenName:nil - memberSurname:nil - memberExternalId:nil - memberPersistentId:nil - sendWelcomeEmail:nil - role:nil]; +- (instancetype)initWithId_:(NSString *)id_ { + return [self initWithId_:id_ name:nil description_:nil members:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberAddArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyUpdateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberAddArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyUpdateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberAddArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyUpdateArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14114,21 +16428,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.memberEmail hash]; - if (self.memberGivenName != nil) { - result = prime * result + [self.memberGivenName hash]; + result = prime * result + [self.id_ hash]; + if (self.name != nil) { + result = prime * result + [self.name hash]; } - if (self.memberSurname != nil) { - result = prime * result + [self.memberSurname hash]; - } - if (self.memberExternalId != nil) { - result = prime * result + [self.memberExternalId hash]; + if (self.description_ != nil) { + result = prime * result + [self.description_ hash]; } - if (self.memberPersistentId != nil) { - result = prime * result + [self.memberPersistentId hash]; + if (self.members != nil) { + result = prime * result + [self.members hash]; } - result = prime * result + [self.sendWelcomeEmail hash]; - result = prime * result + [self.role hash]; return prime * result; } @@ -14142,42 +16451,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberAddArg:other]; + return [self isEqualToLegalHoldsPolicyUpdateArg:other]; } -- (BOOL)isEqualToMemberAddArg:(DBTEAMMemberAddArg *)aMemberAddArg { - if (self == aMemberAddArg) { +- (BOOL)isEqualToLegalHoldsPolicyUpdateArg:(DBTEAMLegalHoldsPolicyUpdateArg *)aLegalHoldsPolicyUpdateArg { + if (self == aLegalHoldsPolicyUpdateArg) { return YES; } - if (![self.memberEmail isEqual:aMemberAddArg.memberEmail]) { + if (![self.id_ isEqual:aLegalHoldsPolicyUpdateArg.id_]) { return NO; } - if (self.memberGivenName) { - if (![self.memberGivenName isEqual:aMemberAddArg.memberGivenName]) { - return NO; - } - } - if (self.memberSurname) { - if (![self.memberSurname isEqual:aMemberAddArg.memberSurname]) { + if (self.name) { + if (![self.name isEqual:aLegalHoldsPolicyUpdateArg.name]) { return NO; } } - if (self.memberExternalId) { - if (![self.memberExternalId isEqual:aMemberAddArg.memberExternalId]) { + if (self.description_) { + if (![self.description_ isEqual:aLegalHoldsPolicyUpdateArg.description_]) { return NO; } } - if (self.memberPersistentId) { - if (![self.memberPersistentId isEqual:aMemberAddArg.memberPersistentId]) { + if (self.members) { + if (![self.members isEqual:aLegalHoldsPolicyUpdateArg.members]) { return NO; } } - if (![self.sendWelcomeEmail isEqual:aMemberAddArg.sendWelcomeEmail]) { - return NO; - } - if (![self.role isEqual:aMemberAddArg.role]) { - return NO; - } return YES; } @@ -14185,336 +16483,214 @@ - (BOOL)isEqualToMemberAddArg:(DBTEAMMemberAddArg *)aMemberAddArg { #pragma mark - Serializer Object -@implementation DBTEAMMemberAddArgSerializer +@implementation DBTEAMLegalHoldsPolicyUpdateArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberAddArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"member_email"] = valueObj.memberEmail; - if (valueObj.memberGivenName) { - jsonDict[@"member_given_name"] = valueObj.memberGivenName; - } - if (valueObj.memberSurname) { - jsonDict[@"member_surname"] = valueObj.memberSurname; + jsonDict[@"id"] = valueObj.id_; + if (valueObj.name) { + jsonDict[@"name"] = valueObj.name; } - if (valueObj.memberExternalId) { - jsonDict[@"member_external_id"] = valueObj.memberExternalId; + if (valueObj.description_) { + jsonDict[@"description"] = valueObj.description_; } - if (valueObj.memberPersistentId) { - jsonDict[@"member_persistent_id"] = valueObj.memberPersistentId; + if (valueObj.members) { + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return elem0; + }]; } - jsonDict[@"send_welcome_email"] = valueObj.sendWelcomeEmail; - jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)valueDict { - NSString *memberEmail = valueDict[@"member_email"]; - NSString *memberGivenName = valueDict[@"member_given_name"] ?: nil; - NSString *memberSurname = valueDict[@"member_surname"] ?: nil; - NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; - NSString *memberPersistentId = valueDict[@"member_persistent_id"] ?: nil; - NSNumber *sendWelcomeEmail = valueDict[@"send_welcome_email"] ?: @YES; - DBTEAMAdminTier *role = valueDict[@"role"] ? [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]] - : [[DBTEAMAdminTier alloc] initWithMemberOnly]; ++ (DBTEAMLegalHoldsPolicyUpdateArg *)deserialize:(NSDictionary *)valueDict { + NSString *id_ = valueDict[@"id"]; + NSString *name = valueDict[@"name"] ?: nil; + NSString *description_ = valueDict[@"description"] ?: nil; + NSArray *members = valueDict[@"members"] ? [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; - return [[DBTEAMMemberAddArg alloc] initWithMemberEmail:memberEmail - memberGivenName:memberGivenName - memberSurname:memberSurname - memberExternalId:memberExternalId - memberPersistentId:memberPersistentId - sendWelcomeEmail:sendWelcomeEmail - role:role]; + return [[DBTEAMLegalHoldsPolicyUpdateArg alloc] initWithId_:id_ name:name description_:description_ members:members]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberAddResult.h" -#import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsPolicyUpdateError.h" #pragma mark - API Object -@implementation DBTEAMMemberAddResult - -@synthesize success = _success; -@synthesize teamLicenseLimit = _teamLicenseLimit; -@synthesize freeTeamMemberLimitReached = _freeTeamMemberLimitReached; -@synthesize userAlreadyOnTeam = _userAlreadyOnTeam; -@synthesize userOnAnotherTeam = _userOnAnotherTeam; -@synthesize userAlreadyPaired = _userAlreadyPaired; -@synthesize userMigrationFailed = _userMigrationFailed; -@synthesize duplicateExternalMemberId = _duplicateExternalMemberId; -@synthesize duplicateMemberPersistentId = _duplicateMemberPersistentId; -@synthesize persistentIdDisabled = _persistentIdDisabled; -@synthesize userCreationFailed = _userCreationFailed; +@implementation DBTEAMLegalHoldsPolicyUpdateError #pragma mark - Constructors -- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfo *)success { +- (instancetype)initWithUnknownLegalHoldError { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultSuccess; - _success = success; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError; } return self; } -- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit { +- (instancetype)initWithInsufficientPermissions { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultTeamLicenseLimit; - _teamLicenseLimit = teamLicenseLimit; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions; } return self; } -- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultFreeTeamMemberLimitReached; - _freeTeamMemberLimitReached = freeTeamMemberLimitReached; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorOther; } return self; } -- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam { +- (instancetype)initWithTransientError { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultUserAlreadyOnTeam; - _userAlreadyOnTeam = userAlreadyOnTeam; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorTransientError; } return self; } -- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam { +- (instancetype)initWithInactiveLegalHold { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultUserOnAnotherTeam; - _userOnAnotherTeam = userOnAnotherTeam; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold; } return self; } -- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired { +- (instancetype)initWithLegalHoldPerformingAnotherOperation { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultUserAlreadyPaired; - _userAlreadyPaired = userAlreadyPaired; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation; } return self; } -- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed { +- (instancetype)initWithInvalidMembers { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultUserMigrationFailed; - _userMigrationFailed = userMigrationFailed; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers; } return self; } -- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId { +- (instancetype)initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultDuplicateExternalMemberId; - _duplicateExternalMemberId = duplicateExternalMemberId; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; } return self; } -- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId { +- (instancetype)initWithEmptyMembersList { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultDuplicateMemberPersistentId; - _duplicateMemberPersistentId = duplicateMemberPersistentId; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList; } return self; } -- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled { +- (instancetype)initWithNameMustBeUnique { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultPersistentIdDisabled; - _persistentIdDisabled = persistentIdDisabled; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique; } return self; } -- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed { +- (instancetype)initWithLegalHoldPolicyNotFound { self = [super init]; if (self) { - _tag = DBTEAMMemberAddResultUserCreationFailed; - _userCreationFailed = userCreationFailed; + _tag = DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound; } return self; } #pragma mark - Instance field accessors -- (DBTEAMTeamMemberInfo *)success { - if (![self isSuccess]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultSuccess, but was %@.", [self tagName]]; - } - return _success; -} - -- (NSString *)teamLicenseLimit { - if (![self isTeamLicenseLimit]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultTeamLicenseLimit, but was %@.", [self tagName]]; - } - return _teamLicenseLimit; -} - -- (NSString *)freeTeamMemberLimitReached { - if (![self isFreeTeamMemberLimitReached]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultFreeTeamMemberLimitReached, but was %@.", [self tagName]]; - } - return _freeTeamMemberLimitReached; -} - -- (NSString *)userAlreadyOnTeam { - if (![self isUserAlreadyOnTeam]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultUserAlreadyOnTeam, but was %@.", [self tagName]]; - } - return _userAlreadyOnTeam; -} - -- (NSString *)userOnAnotherTeam { - if (![self isUserOnAnotherTeam]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultUserOnAnotherTeam, but was %@.", [self tagName]]; - } - return _userOnAnotherTeam; -} - -- (NSString *)userAlreadyPaired { - if (![self isUserAlreadyPaired]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultUserAlreadyPaired, but was %@.", [self tagName]]; - } - return _userAlreadyPaired; -} - -- (NSString *)userMigrationFailed { - if (![self isUserMigrationFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultUserMigrationFailed, but was %@.", [self tagName]]; - } - return _userMigrationFailed; -} - -- (NSString *)duplicateExternalMemberId { - if (![self isDuplicateExternalMemberId]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultDuplicateExternalMemberId, but was %@.", [self tagName]]; - } - return _duplicateExternalMemberId; -} - -- (NSString *)duplicateMemberPersistentId { - if (![self isDuplicateMemberPersistentId]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultDuplicateMemberPersistentId, but was %@.", [self tagName]]; - } - return _duplicateMemberPersistentId; -} - -- (NSString *)persistentIdDisabled { - if (![self isPersistentIdDisabled]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultPersistentIdDisabled, but was %@.", [self tagName]]; - } - return _persistentIdDisabled; -} - -- (NSString *)userCreationFailed { - if (![self isUserCreationFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMemberAddResultUserCreationFailed, but was %@.", [self tagName]]; - } - return _userCreationFailed; -} - #pragma mark - Tag state methods -- (BOOL)isSuccess { - return _tag == DBTEAMMemberAddResultSuccess; +- (BOOL)isUnknownLegalHoldError { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError; } -- (BOOL)isTeamLicenseLimit { - return _tag == DBTEAMMemberAddResultTeamLicenseLimit; +- (BOOL)isInsufficientPermissions { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions; } -- (BOOL)isFreeTeamMemberLimitReached { - return _tag == DBTEAMMemberAddResultFreeTeamMemberLimitReached; +- (BOOL)isOther { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorOther; } -- (BOOL)isUserAlreadyOnTeam { - return _tag == DBTEAMMemberAddResultUserAlreadyOnTeam; +- (BOOL)isTransientError { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorTransientError; } -- (BOOL)isUserOnAnotherTeam { - return _tag == DBTEAMMemberAddResultUserOnAnotherTeam; +- (BOOL)isInactiveLegalHold { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold; } -- (BOOL)isUserAlreadyPaired { - return _tag == DBTEAMMemberAddResultUserAlreadyPaired; +- (BOOL)isLegalHoldPerformingAnotherOperation { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation; } -- (BOOL)isUserMigrationFailed { - return _tag == DBTEAMMemberAddResultUserMigrationFailed; +- (BOOL)isInvalidMembers { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers; } -- (BOOL)isDuplicateExternalMemberId { - return _tag == DBTEAMMemberAddResultDuplicateExternalMemberId; +- (BOOL)isNumberOfUsersOnHoldIsGreaterThanHoldLimitation { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation; } -- (BOOL)isDuplicateMemberPersistentId { - return _tag == DBTEAMMemberAddResultDuplicateMemberPersistentId; +- (BOOL)isEmptyMembersList { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList; } -- (BOOL)isPersistentIdDisabled { - return _tag == DBTEAMMemberAddResultPersistentIdDisabled; +- (BOOL)isNameMustBeUnique { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique; } -- (BOOL)isUserCreationFailed { - return _tag == DBTEAMMemberAddResultUserCreationFailed; +- (BOOL)isLegalHoldPolicyNotFound { + return _tag == DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMemberAddResultSuccess: - return @"DBTEAMMemberAddResultSuccess"; - case DBTEAMMemberAddResultTeamLicenseLimit: - return @"DBTEAMMemberAddResultTeamLicenseLimit"; - case DBTEAMMemberAddResultFreeTeamMemberLimitReached: - return @"DBTEAMMemberAddResultFreeTeamMemberLimitReached"; - case DBTEAMMemberAddResultUserAlreadyOnTeam: - return @"DBTEAMMemberAddResultUserAlreadyOnTeam"; - case DBTEAMMemberAddResultUserOnAnotherTeam: - return @"DBTEAMMemberAddResultUserOnAnotherTeam"; - case DBTEAMMemberAddResultUserAlreadyPaired: - return @"DBTEAMMemberAddResultUserAlreadyPaired"; - case DBTEAMMemberAddResultUserMigrationFailed: - return @"DBTEAMMemberAddResultUserMigrationFailed"; - case DBTEAMMemberAddResultDuplicateExternalMemberId: - return @"DBTEAMMemberAddResultDuplicateExternalMemberId"; - case DBTEAMMemberAddResultDuplicateMemberPersistentId: - return @"DBTEAMMemberAddResultDuplicateMemberPersistentId"; - case DBTEAMMemberAddResultPersistentIdDisabled: - return @"DBTEAMMemberAddResultPersistentIdDisabled"; - case DBTEAMMemberAddResultUserCreationFailed: - return @"DBTEAMMemberAddResultUserCreationFailed"; + case DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError: + return @"DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError"; + case DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions: + return @"DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions"; + case DBTEAMLegalHoldsPolicyUpdateErrorOther: + return @"DBTEAMLegalHoldsPolicyUpdateErrorOther"; + case DBTEAMLegalHoldsPolicyUpdateErrorTransientError: + return @"DBTEAMLegalHoldsPolicyUpdateErrorTransientError"; + case DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold: + return @"DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold"; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation: + return @"DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation"; + case DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers: + return @"DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers"; + case DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + return @"DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation"; + case DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList: + return @"DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList"; + case DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique: + return @"DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique"; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound: + return @"DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -14522,18 +16698,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberAddResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLegalHoldsPolicyUpdateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberAddResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLegalHoldsPolicyUpdateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberAddResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLegalHoldsPolicyUpdateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14551,28 +16727,39 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMemberAddResultSuccess: - result = prime * result + [self.success hash]; - case DBTEAMMemberAddResultTeamLicenseLimit: - result = prime * result + [self.teamLicenseLimit hash]; - case DBTEAMMemberAddResultFreeTeamMemberLimitReached: - result = prime * result + [self.freeTeamMemberLimitReached hash]; - case DBTEAMMemberAddResultUserAlreadyOnTeam: - result = prime * result + [self.userAlreadyOnTeam hash]; - case DBTEAMMemberAddResultUserOnAnotherTeam: - result = prime * result + [self.userOnAnotherTeam hash]; - case DBTEAMMemberAddResultUserAlreadyPaired: - result = prime * result + [self.userAlreadyPaired hash]; - case DBTEAMMemberAddResultUserMigrationFailed: - result = prime * result + [self.userMigrationFailed hash]; - case DBTEAMMemberAddResultDuplicateExternalMemberId: - result = prime * result + [self.duplicateExternalMemberId hash]; - case DBTEAMMemberAddResultDuplicateMemberPersistentId: - result = prime * result + [self.duplicateMemberPersistentId hash]; - case DBTEAMMemberAddResultPersistentIdDisabled: - result = prime * result + [self.persistentIdDisabled hash]; - case DBTEAMMemberAddResultUserCreationFailed: - result = prime * result + [self.userCreationFailed hash]; + case DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorTransientError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -14587,39 +16774,39 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberAddResult:other]; + return [self isEqualToLegalHoldsPolicyUpdateError:other]; } -- (BOOL)isEqualToMemberAddResult:(DBTEAMMemberAddResult *)aMemberAddResult { - if (self == aMemberAddResult) { +- (BOOL)isEqualToLegalHoldsPolicyUpdateError:(DBTEAMLegalHoldsPolicyUpdateError *)aLegalHoldsPolicyUpdateError { + if (self == aLegalHoldsPolicyUpdateError) { return YES; } - if (self.tag != aMemberAddResult.tag) { + if (self.tag != aLegalHoldsPolicyUpdateError.tag) { return NO; } switch (_tag) { - case DBTEAMMemberAddResultSuccess: - return [self.success isEqual:aMemberAddResult.success]; - case DBTEAMMemberAddResultTeamLicenseLimit: - return [self.teamLicenseLimit isEqual:aMemberAddResult.teamLicenseLimit]; - case DBTEAMMemberAddResultFreeTeamMemberLimitReached: - return [self.freeTeamMemberLimitReached isEqual:aMemberAddResult.freeTeamMemberLimitReached]; - case DBTEAMMemberAddResultUserAlreadyOnTeam: - return [self.userAlreadyOnTeam isEqual:aMemberAddResult.userAlreadyOnTeam]; - case DBTEAMMemberAddResultUserOnAnotherTeam: - return [self.userOnAnotherTeam isEqual:aMemberAddResult.userOnAnotherTeam]; - case DBTEAMMemberAddResultUserAlreadyPaired: - return [self.userAlreadyPaired isEqual:aMemberAddResult.userAlreadyPaired]; - case DBTEAMMemberAddResultUserMigrationFailed: - return [self.userMigrationFailed isEqual:aMemberAddResult.userMigrationFailed]; - case DBTEAMMemberAddResultDuplicateExternalMemberId: - return [self.duplicateExternalMemberId isEqual:aMemberAddResult.duplicateExternalMemberId]; - case DBTEAMMemberAddResultDuplicateMemberPersistentId: - return [self.duplicateMemberPersistentId isEqual:aMemberAddResult.duplicateMemberPersistentId]; - case DBTEAMMemberAddResultPersistentIdDisabled: - return [self.persistentIdDisabled isEqual:aMemberAddResult.persistentIdDisabled]; - case DBTEAMMemberAddResultUserCreationFailed: - return [self.userCreationFailed isEqual:aMemberAddResult.userCreationFailed]; + case DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorOther: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorTransientError: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; + case DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound: + return [[self tagName] isEqual:[aLegalHoldsPolicyUpdateError tagName]]; } return YES; } @@ -14628,94 +16815,67 @@ - (BOOL)isEqualToMemberAddResult:(DBTEAMMemberAddResult *)aMemberAddResult { #pragma mark - Serializer Object -@implementation DBTEAMMemberAddResultSerializer +@implementation DBTEAMLegalHoldsPolicyUpdateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberAddResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBTEAMTeamMemberInfoSerializer serialize:valueObj.success] mutableCopy]; - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isTeamLicenseLimit]) { - jsonDict[@"team_license_limit"] = valueObj.teamLicenseLimit; - jsonDict[@".tag"] = @"team_license_limit"; - } else if ([valueObj isFreeTeamMemberLimitReached]) { - jsonDict[@"free_team_member_limit_reached"] = valueObj.freeTeamMemberLimitReached; - jsonDict[@".tag"] = @"free_team_member_limit_reached"; - } else if ([valueObj isUserAlreadyOnTeam]) { - jsonDict[@"user_already_on_team"] = valueObj.userAlreadyOnTeam; - jsonDict[@".tag"] = @"user_already_on_team"; - } else if ([valueObj isUserOnAnotherTeam]) { - jsonDict[@"user_on_another_team"] = valueObj.userOnAnotherTeam; - jsonDict[@".tag"] = @"user_on_another_team"; - } else if ([valueObj isUserAlreadyPaired]) { - jsonDict[@"user_already_paired"] = valueObj.userAlreadyPaired; - jsonDict[@".tag"] = @"user_already_paired"; - } else if ([valueObj isUserMigrationFailed]) { - jsonDict[@"user_migration_failed"] = valueObj.userMigrationFailed; - jsonDict[@".tag"] = @"user_migration_failed"; - } else if ([valueObj isDuplicateExternalMemberId]) { - jsonDict[@"duplicate_external_member_id"] = valueObj.duplicateExternalMemberId; - jsonDict[@".tag"] = @"duplicate_external_member_id"; - } else if ([valueObj isDuplicateMemberPersistentId]) { - jsonDict[@"duplicate_member_persistent_id"] = valueObj.duplicateMemberPersistentId; - jsonDict[@".tag"] = @"duplicate_member_persistent_id"; - } else if ([valueObj isPersistentIdDisabled]) { - jsonDict[@"persistent_id_disabled"] = valueObj.persistentIdDisabled; - jsonDict[@".tag"] = @"persistent_id_disabled"; - } else if ([valueObj isUserCreationFailed]) { - jsonDict[@"user_creation_failed"] = valueObj.userCreationFailed; - jsonDict[@".tag"] = @"user_creation_failed"; + if ([valueObj isUnknownLegalHoldError]) { + jsonDict[@".tag"] = @"unknown_legal_hold_error"; + } else if ([valueObj isInsufficientPermissions]) { + jsonDict[@".tag"] = @"insufficient_permissions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isTransientError]) { + jsonDict[@".tag"] = @"transient_error"; + } else if ([valueObj isInactiveLegalHold]) { + jsonDict[@".tag"] = @"inactive_legal_hold"; + } else if ([valueObj isLegalHoldPerformingAnotherOperation]) { + jsonDict[@".tag"] = @"legal_hold_performing_another_operation"; + } else if ([valueObj isInvalidMembers]) { + jsonDict[@".tag"] = @"invalid_members"; + } else if ([valueObj isNumberOfUsersOnHoldIsGreaterThanHoldLimitation]) { + jsonDict[@".tag"] = @"number_of_users_on_hold_is_greater_than_hold_limitation"; + } else if ([valueObj isEmptyMembersList]) { + jsonDict[@".tag"] = @"empty_members_list"; + } else if ([valueObj isNameMustBeUnique]) { + jsonDict[@".tag"] = @"name_must_be_unique"; + } else if ([valueObj isLegalHoldPolicyNotFound]) { + jsonDict[@".tag"] = @"legal_hold_policy_not_found"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLegalHoldsPolicyUpdateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"success"]) { - DBTEAMTeamMemberInfo *success = [DBTEAMTeamMemberInfoSerializer deserialize:valueDict]; - return [[DBTEAMMemberAddResult alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"team_license_limit"]) { - NSString *teamLicenseLimit = valueDict[@"team_license_limit"]; - return [[DBTEAMMemberAddResult alloc] initWithTeamLicenseLimit:teamLicenseLimit]; - } else if ([tag isEqualToString:@"free_team_member_limit_reached"]) { - NSString *freeTeamMemberLimitReached = valueDict[@"free_team_member_limit_reached"]; - return [[DBTEAMMemberAddResult alloc] initWithFreeTeamMemberLimitReached:freeTeamMemberLimitReached]; - } else if ([tag isEqualToString:@"user_already_on_team"]) { - NSString *userAlreadyOnTeam = valueDict[@"user_already_on_team"]; - return [[DBTEAMMemberAddResult alloc] initWithUserAlreadyOnTeam:userAlreadyOnTeam]; - } else if ([tag isEqualToString:@"user_on_another_team"]) { - NSString *userOnAnotherTeam = valueDict[@"user_on_another_team"]; - return [[DBTEAMMemberAddResult alloc] initWithUserOnAnotherTeam:userOnAnotherTeam]; - } else if ([tag isEqualToString:@"user_already_paired"]) { - NSString *userAlreadyPaired = valueDict[@"user_already_paired"]; - return [[DBTEAMMemberAddResult alloc] initWithUserAlreadyPaired:userAlreadyPaired]; - } else if ([tag isEqualToString:@"user_migration_failed"]) { - NSString *userMigrationFailed = valueDict[@"user_migration_failed"]; - return [[DBTEAMMemberAddResult alloc] initWithUserMigrationFailed:userMigrationFailed]; - } else if ([tag isEqualToString:@"duplicate_external_member_id"]) { - NSString *duplicateExternalMemberId = valueDict[@"duplicate_external_member_id"]; - return [[DBTEAMMemberAddResult alloc] initWithDuplicateExternalMemberId:duplicateExternalMemberId]; - } else if ([tag isEqualToString:@"duplicate_member_persistent_id"]) { - NSString *duplicateMemberPersistentId = valueDict[@"duplicate_member_persistent_id"]; - return [[DBTEAMMemberAddResult alloc] initWithDuplicateMemberPersistentId:duplicateMemberPersistentId]; - } else if ([tag isEqualToString:@"persistent_id_disabled"]) { - NSString *persistentIdDisabled = valueDict[@"persistent_id_disabled"]; - return [[DBTEAMMemberAddResult alloc] initWithPersistentIdDisabled:persistentIdDisabled]; - } else if ([tag isEqualToString:@"user_creation_failed"]) { - NSString *userCreationFailed = valueDict[@"user_creation_failed"]; - return [[DBTEAMMemberAddResult alloc] initWithUserCreationFailed:userCreationFailed]; + if ([tag isEqualToString:@"unknown_legal_hold_error"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithUnknownLegalHoldError]; + } else if ([tag isEqualToString:@"insufficient_permissions"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithInsufficientPermissions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithOther]; + } else if ([tag isEqualToString:@"transient_error"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithTransientError]; + } else if ([tag isEqualToString:@"inactive_legal_hold"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithInactiveLegalHold]; + } else if ([tag isEqualToString:@"legal_hold_performing_another_operation"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithLegalHoldPerformingAnotherOperation]; + } else if ([tag isEqualToString:@"invalid_members"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithInvalidMembers]; + } else if ([tag isEqualToString:@"number_of_users_on_hold_is_greater_than_hold_limitation"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation]; + } else if ([tag isEqualToString:@"empty_members_list"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithEmptyMembersList]; + } else if ([tag isEqualToString:@"name_must_be_unique"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithNameMustBeUnique]; + } else if ([tag isEqualToString:@"legal_hold_policy_not_found"]) { + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithLegalHoldPolicyNotFound]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMLegalHoldsPolicyUpdateError alloc] initWithOther]; } } @@ -14723,63 +16883,38 @@ + (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMActiveWebSession.h" -#import "DBTEAMDesktopClientSession.h" -#import "DBTEAMMemberDevices.h" -#import "DBTEAMMobileClientSession.h" +#import "DBTEAMListMemberAppsArg.h" #pragma mark - API Object -@implementation DBTEAMMemberDevices +@implementation DBTEAMListMemberAppsArg #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - webSessions:(NSArray *)webSessions - desktopClients:(NSArray *)desktopClients - mobileClients:(NSArray *)mobileClients { +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { [DBStoneValidators nonnullValidator:nil](teamMemberId); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](webSessions); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](desktopClients); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](mobileClients); self = [super init]; if (self) { _teamMemberId = teamMemberId; - _webSessions = webSessions; - _desktopClients = desktopClients; - _mobileClients = mobileClients; } return self; } -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { - return [self initWithTeamMemberId:teamMemberId webSessions:nil desktopClients:nil mobileClients:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberDevicesSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberAppsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberDevicesSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberAppsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberDevicesSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14797,15 +16932,6 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.teamMemberId hash]; - if (self.webSessions != nil) { - result = prime * result + [self.webSessions hash]; - } - if (self.desktopClients != nil) { - result = prime * result + [self.desktopClients hash]; - } - if (self.mobileClients != nil) { - result = prime * result + [self.mobileClients hash]; - } return prime * result; } @@ -14819,31 +16945,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberDevices:other]; + return [self isEqualToListMemberAppsArg:other]; } -- (BOOL)isEqualToMemberDevices:(DBTEAMMemberDevices *)aMemberDevices { - if (self == aMemberDevices) { +- (BOOL)isEqualToListMemberAppsArg:(DBTEAMListMemberAppsArg *)aListMemberAppsArg { + if (self == aListMemberAppsArg) { return YES; } - if (![self.teamMemberId isEqual:aMemberDevices.teamMemberId]) { + if (![self.teamMemberId isEqual:aListMemberAppsArg.teamMemberId]) { return NO; } - if (self.webSessions) { - if (![self.webSessions isEqual:aMemberDevices.webSessions]) { - return NO; - } - } - if (self.desktopClients) { - if (![self.desktopClients isEqual:aMemberDevices.desktopClients]) { - return NO; - } - } - if (self.mobileClients) { - if (![self.mobileClients isEqual:aMemberDevices.mobileClients]) { - return NO; - } - } return YES; } @@ -14851,105 +16962,87 @@ - (BOOL)isEqualToMemberDevices:(DBTEAMMemberDevices *)aMemberDevices { #pragma mark - Serializer Object -@implementation DBTEAMMemberDevicesSerializer +@implementation DBTEAMListMemberAppsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberDevices *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"team_member_id"] = valueObj.teamMemberId; - if (valueObj.webSessions) { - jsonDict[@"web_sessions"] = [DBArraySerializer serialize:valueObj.webSessions - withBlock:^id(id elem0) { - return [DBTEAMActiveWebSessionSerializer serialize:elem0]; - }]; - } - if (valueObj.desktopClients) { - jsonDict[@"desktop_clients"] = [DBArraySerializer serialize:valueObj.desktopClients - withBlock:^id(id elem0) { - return [DBTEAMDesktopClientSessionSerializer serialize:elem0]; - }]; - } - if (valueObj.mobileClients) { - jsonDict[@"mobile_clients"] = [DBArraySerializer serialize:valueObj.mobileClients - withBlock:^id(id elem0) { - return [DBTEAMMobileClientSessionSerializer serialize:elem0]; - }]; - } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberDevices *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)valueDict { NSString *teamMemberId = valueDict[@"team_member_id"]; - NSArray *webSessions = - valueDict[@"web_sessions"] ? [DBArraySerializer deserialize:valueDict[@"web_sessions"] - withBlock:^id(id elem0) { - return [DBTEAMActiveWebSessionSerializer deserialize:elem0]; - }] - : nil; - NSArray *desktopClients = - valueDict[@"desktop_clients"] - ? [DBArraySerializer deserialize:valueDict[@"desktop_clients"] - withBlock:^id(id elem0) { - return [DBTEAMDesktopClientSessionSerializer deserialize:elem0]; - }] - : nil; - NSArray *mobileClients = - valueDict[@"mobile_clients"] - ? [DBArraySerializer deserialize:valueDict[@"mobile_clients"] - withBlock:^id(id elem0) { - return [DBTEAMMobileClientSessionSerializer deserialize:elem0]; - }] - : nil; - return [[DBTEAMMemberDevices alloc] initWithTeamMemberId:teamMemberId - webSessions:webSessions - desktopClients:desktopClients - mobileClients:mobileClients]; + return [[DBTEAMListMemberAppsArg alloc] initWithTeamMemberId:teamMemberId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMApiApp.h" -#import "DBTEAMMemberLinkedApps.h" +#import "DBTEAMListMemberAppsError.h" #pragma mark - API Object -@implementation DBTEAMMemberLinkedApps +@implementation DBTEAMListMemberAppsError #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId linkedApiApps:(NSArray *)linkedApiApps { - [DBStoneValidators nonnullValidator:nil](teamMemberId); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApiApps); +- (instancetype)initWithMemberNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMListMemberAppsErrorMemberNotFound; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _teamMemberId = teamMemberId; - _linkedApiApps = linkedApiApps; + _tag = DBTEAMListMemberAppsErrorOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isMemberNotFound { + return _tag == DBTEAMListMemberAppsErrorMemberNotFound; +} + +- (BOOL)isOther { + return _tag == DBTEAMListMemberAppsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMListMemberAppsErrorMemberNotFound: + return @"DBTEAMListMemberAppsErrorMemberNotFound"; + case DBTEAMListMemberAppsErrorOther: + return @"DBTEAMListMemberAppsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberLinkedAppsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberAppsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberLinkedAppsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberAppsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberLinkedAppsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -14966,8 +17059,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.linkedApiApps hash]; + switch (_tag) { + case DBTEAMListMemberAppsErrorMemberNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMListMemberAppsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -14981,18 +17080,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberLinkedApps:other]; + return [self isEqualToListMemberAppsError:other]; } -- (BOOL)isEqualToMemberLinkedApps:(DBTEAMMemberLinkedApps *)aMemberLinkedApps { - if (self == aMemberLinkedApps) { +- (BOOL)isEqualToListMemberAppsError:(DBTEAMListMemberAppsError *)aListMemberAppsError { + if (self == aListMemberAppsError) { return YES; } - if (![self.teamMemberId isEqual:aMemberLinkedApps.teamMemberId]) { + if (self.tag != aListMemberAppsError.tag) { return NO; } - if (![self.linkedApiApps isEqual:aMemberLinkedApps.linkedApiApps]) { - return NO; + switch (_tag) { + case DBTEAMListMemberAppsErrorMemberNotFound: + return [[self tagName] isEqual:[aListMemberAppsError tagName]]; + case DBTEAMListMemberAppsErrorOther: + return [[self tagName] isEqual:[aListMemberAppsError tagName]]; } return YES; } @@ -15001,112 +17103,74 @@ - (BOOL)isEqualToMemberLinkedApps:(DBTEAMMemberLinkedApps *)aMemberLinkedApps { #pragma mark - Serializer Object -@implementation DBTEAMMemberLinkedAppsSerializer +@implementation DBTEAMListMemberAppsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberLinkedApps *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberAppsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"linked_api_apps"] = [DBArraySerializer serialize:valueObj.linkedApiApps - withBlock:^id(id elem0) { - return [DBTEAMApiAppSerializer serialize:elem0]; - }]; + if ([valueObj isMemberNotFound]) { + jsonDict[@".tag"] = @"member_not_found"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSArray *linkedApiApps = [DBArraySerializer deserialize:valueDict[@"linked_api_apps"] - withBlock:^id(id elem0) { - return [DBTEAMApiAppSerializer deserialize:elem0]; - }]; ++ (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMMemberLinkedApps alloc] initWithTeamMemberId:teamMemberId linkedApiApps:linkedApiApps]; + if ([tag isEqualToString:@"member_not_found"]) { + return [[DBTEAMListMemberAppsError alloc] initWithMemberNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListMemberAppsError alloc] initWithOther]; + } else { + return [[DBTEAMListMemberAppsError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberProfile.h" -#import "DBTEAMTeamMemberStatus.h" -#import "DBTEAMTeamMembershipType.h" -#import "DBUSERSName.h" +#import "DBTEAMApiApp.h" +#import "DBTEAMListMemberAppsResult.h" #pragma mark - API Object -@implementation DBTEAMMemberProfile +@implementation DBTEAMListMemberAppsResult #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - email:(NSString *)email - emailVerified:(NSNumber *)emailVerified - status:(DBTEAMTeamMemberStatus *)status - name:(DBUSERSName *)name - membershipType:(DBTEAMTeamMembershipType *)membershipType - externalId:(NSString *)externalId - accountId:(NSString *)accountId - joinedOn:(NSDate *)joinedOn - persistentId:(NSString *)persistentId { - [DBStoneValidators nonnullValidator:nil](teamMemberId); - [DBStoneValidators nonnullValidator:nil](email); - [DBStoneValidators nonnullValidator:nil](emailVerified); - [DBStoneValidators nonnullValidator:nil](status); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](membershipType); +- (instancetype)initWithLinkedApiApps:(NSArray *)linkedApiApps { [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApiApps); self = [super init]; if (self) { - _teamMemberId = teamMemberId; - _externalId = externalId; - _accountId = accountId; - _email = email; - _emailVerified = emailVerified; - _status = status; - _name = name; - _membershipType = membershipType; - _joinedOn = joinedOn; - _persistentId = persistentId; + _linkedApiApps = linkedApiApps; } return self; } -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - email:(NSString *)email - emailVerified:(NSNumber *)emailVerified - status:(DBTEAMTeamMemberStatus *)status - name:(DBUSERSName *)name - membershipType:(DBTEAMTeamMembershipType *)membershipType { - return [self initWithTeamMemberId:teamMemberId - email:email - emailVerified:emailVerified - status:status - name:name - membershipType:membershipType - externalId:nil - accountId:nil - joinedOn:nil - persistentId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberProfileSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberAppsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberProfileSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberAppsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberProfileSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15123,24 +17187,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.email hash]; - result = prime * result + [self.emailVerified hash]; - result = prime * result + [self.status hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.membershipType hash]; - if (self.externalId != nil) { - result = prime * result + [self.externalId hash]; - } - if (self.accountId != nil) { - result = prime * result + [self.accountId hash]; - } - if (self.joinedOn != nil) { - result = prime * result + [self.joinedOn hash]; - } - if (self.persistentId != nil) { - result = prime * result + [self.persistentId hash]; - } + result = prime * result + [self.linkedApiApps hash]; return prime * result; } @@ -15154,51 +17201,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberProfile:other]; + return [self isEqualToListMemberAppsResult:other]; } -- (BOOL)isEqualToMemberProfile:(DBTEAMMemberProfile *)aMemberProfile { - if (self == aMemberProfile) { +- (BOOL)isEqualToListMemberAppsResult:(DBTEAMListMemberAppsResult *)aListMemberAppsResult { + if (self == aListMemberAppsResult) { return YES; } - if (![self.teamMemberId isEqual:aMemberProfile.teamMemberId]) { - return NO; - } - if (![self.email isEqual:aMemberProfile.email]) { - return NO; - } - if (![self.emailVerified isEqual:aMemberProfile.emailVerified]) { - return NO; - } - if (![self.status isEqual:aMemberProfile.status]) { - return NO; - } - if (![self.name isEqual:aMemberProfile.name]) { - return NO; - } - if (![self.membershipType isEqual:aMemberProfile.membershipType]) { + if (![self.linkedApiApps isEqual:aListMemberAppsResult.linkedApiApps]) { return NO; } - if (self.externalId) { - if (![self.externalId isEqual:aMemberProfile.externalId]) { - return NO; - } - } - if (self.accountId) { - if (![self.accountId isEqual:aMemberProfile.accountId]) { - return NO; - } - } - if (self.joinedOn) { - if (![self.joinedOn isEqual:aMemberProfile.joinedOn]) { - return NO; - } - } - if (self.persistentId) { - if (![self.persistentId isEqual:aMemberProfile.persistentId]) { - return NO; - } - } return YES; } @@ -15206,111 +17218,77 @@ - (BOOL)isEqualToMemberProfile:(DBTEAMMemberProfile *)aMemberProfile { #pragma mark - Serializer Object -@implementation DBTEAMMemberProfileSerializer +@implementation DBTEAMListMemberAppsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberProfile *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"email"] = valueObj.email; - jsonDict[@"email_verified"] = valueObj.emailVerified; - jsonDict[@"status"] = [DBTEAMTeamMemberStatusSerializer serialize:valueObj.status]; - jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; - jsonDict[@"membership_type"] = [DBTEAMTeamMembershipTypeSerializer serialize:valueObj.membershipType]; - if (valueObj.externalId) { - jsonDict[@"external_id"] = valueObj.externalId; - } - if (valueObj.accountId) { - jsonDict[@"account_id"] = valueObj.accountId; - } - if (valueObj.joinedOn) { - jsonDict[@"joined_on"] = [DBNSDateSerializer serialize:valueObj.joinedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.persistentId) { - jsonDict[@"persistent_id"] = valueObj.persistentId; - } + jsonDict[@"linked_api_apps"] = [DBArraySerializer serialize:valueObj.linkedApiApps + withBlock:^id(id elem0) { + return [DBTEAMApiAppSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberProfile *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSString *email = valueDict[@"email"]; - NSNumber *emailVerified = valueDict[@"email_verified"]; - DBTEAMTeamMemberStatus *status = [DBTEAMTeamMemberStatusSerializer deserialize:valueDict[@"status"]]; - DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; - DBTEAMTeamMembershipType *membershipType = - [DBTEAMTeamMembershipTypeSerializer deserialize:valueDict[@"membership_type"]]; - NSString *externalId = valueDict[@"external_id"] ?: nil; - NSString *accountId = valueDict[@"account_id"] ?: nil; - NSDate *joinedOn = valueDict[@"joined_on"] - ? [DBNSDateSerializer deserialize:valueDict[@"joined_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *persistentId = valueDict[@"persistent_id"] ?: nil; ++ (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *linkedApiApps = [DBArraySerializer deserialize:valueDict[@"linked_api_apps"] + withBlock:^id(id elem0) { + return [DBTEAMApiAppSerializer deserialize:elem0]; + }]; - return [[DBTEAMMemberProfile alloc] initWithTeamMemberId:teamMemberId - email:email - emailVerified:emailVerified - status:status - name:name - membershipType:membershipType - externalId:externalId - accountId:accountId - joinedOn:joinedOn - persistentId:persistentId]; + return [[DBTEAMListMemberAppsResult alloc] initWithLinkedApiApps:linkedApiApps]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMUserSelectorError.h" +#import "DBTEAMListMemberDevicesArg.h" #pragma mark - API Object -@implementation DBTEAMUserSelectorError +@implementation DBTEAMListMemberDevicesArg #pragma mark - Constructors -- (instancetype)initWithUserNotFound { +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + includeWebSessions:(NSNumber *)includeWebSessions + includeDesktopClients:(NSNumber *)includeDesktopClients + includeMobileClients:(NSNumber *)includeMobileClients { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + self = [super init]; if (self) { - _tag = DBTEAMUserSelectorErrorUserNotFound; + _teamMemberId = teamMemberId; + _includeWebSessions = includeWebSessions ?: @YES; + _includeDesktopClients = includeDesktopClients ?: @YES; + _includeMobileClients = includeMobileClients ?: @YES; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMUserSelectorErrorUserNotFound; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMUserSelectorErrorUserNotFound: - return @"DBTEAMUserSelectorErrorUserNotFound"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { + return [self initWithTeamMemberId:teamMemberId + includeWebSessions:nil + includeDesktopClients:nil + includeMobileClients:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMUserSelectorErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberDevicesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMUserSelectorErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberDevicesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMUserSelectorErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15327,10 +17305,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMUserSelectorErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.includeWebSessions hash]; + result = prime * result + [self.includeDesktopClients hash]; + result = prime * result + [self.includeMobileClients hash]; return prime * result; } @@ -15344,19 +17322,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserSelectorError:other]; + return [self isEqualToListMemberDevicesArg:other]; } -- (BOOL)isEqualToUserSelectorError:(DBTEAMUserSelectorError *)anUserSelectorError { - if (self == anUserSelectorError) { +- (BOOL)isEqualToListMemberDevicesArg:(DBTEAMListMemberDevicesArg *)aListMemberDevicesArg { + if (self == aListMemberDevicesArg) { return YES; } - if (self.tag != anUserSelectorError.tag) { + if (![self.teamMemberId isEqual:aListMemberDevicesArg.teamMemberId]) { return NO; } - switch (_tag) { - case DBTEAMUserSelectorErrorUserNotFound: - return [[self tagName] isEqual:[anUserSelectorError tagName]]; + if (![self.includeWebSessions isEqual:aListMemberDevicesArg.includeWebSessions]) { + return NO; + } + if (![self.includeDesktopClients isEqual:aListMemberDevicesArg.includeDesktopClients]) { + return NO; + } + if (![self.includeMobileClients isEqual:aListMemberDevicesArg.includeMobileClients]) { + return NO; } return YES; } @@ -15365,60 +17348,55 @@ - (BOOL)isEqualToUserSelectorError:(DBTEAMUserSelectorError *)anUserSelectorErro #pragma mark - Serializer Object -@implementation DBTEAMUserSelectorErrorSerializer +@implementation DBTEAMListMemberDevicesArgSerializer -+ (NSDictionary *)serialize:(DBTEAMUserSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; + jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; + jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; + NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; + NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMUserSelectorError alloc] initWithUserNotFound]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBTEAMListMemberDevicesArg alloc] initWithTeamMemberId:teamMemberId + includeWebSessions:includeWebSessions + includeDesktopClients:includeDesktopClients + includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberSelectorError.h" -#import "DBTEAMUserSelectorError.h" +#import "DBTEAMListMemberDevicesError.h" #pragma mark - API Object -@implementation DBTEAMMemberSelectorError +@implementation DBTEAMListMemberDevicesError #pragma mark - Constructors -- (instancetype)initWithUserNotFound { +- (instancetype)initWithMemberNotFound { self = [super init]; if (self) { - _tag = DBTEAMMemberSelectorErrorUserNotFound; + _tag = DBTEAMListMemberDevicesErrorMemberNotFound; } return self; } -- (instancetype)initWithUserNotInTeam { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMemberSelectorErrorUserNotInTeam; + _tag = DBTEAMListMemberDevicesErrorOther; } return self; } @@ -15427,20 +17405,20 @@ - (instancetype)initWithUserNotInTeam { #pragma mark - Tag state methods -- (BOOL)isUserNotFound { - return _tag == DBTEAMMemberSelectorErrorUserNotFound; +- (BOOL)isMemberNotFound { + return _tag == DBTEAMListMemberDevicesErrorMemberNotFound; } -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMemberSelectorErrorUserNotInTeam; +- (BOOL)isOther { + return _tag == DBTEAMListMemberDevicesErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMemberSelectorErrorUserNotFound: - return @"DBTEAMMemberSelectorErrorUserNotFound"; - case DBTEAMMemberSelectorErrorUserNotInTeam: - return @"DBTEAMMemberSelectorErrorUserNotInTeam"; + case DBTEAMListMemberDevicesErrorMemberNotFound: + return @"DBTEAMListMemberDevicesErrorMemberNotFound"; + case DBTEAMListMemberDevicesErrorOther: + return @"DBTEAMListMemberDevicesErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -15448,18 +17426,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMemberSelectorErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberDevicesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMemberSelectorErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberDevicesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMemberSelectorErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15477,10 +17455,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMemberSelectorErrorUserNotFound: + case DBTEAMListMemberDevicesErrorMemberNotFound: result = prime * result + [[self tagName] hash]; - case DBTEAMMemberSelectorErrorUserNotInTeam: + break; + case DBTEAMListMemberDevicesErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -15495,21 +17475,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSelectorError:other]; + return [self isEqualToListMemberDevicesError:other]; } -- (BOOL)isEqualToMemberSelectorError:(DBTEAMMemberSelectorError *)aMemberSelectorError { - if (self == aMemberSelectorError) { +- (BOOL)isEqualToListMemberDevicesError:(DBTEAMListMemberDevicesError *)aListMemberDevicesError { + if (self == aListMemberDevicesError) { return YES; } - if (self.tag != aMemberSelectorError.tag) { + if (self.tag != aListMemberDevicesError.tag) { return NO; } switch (_tag) { - case DBTEAMMemberSelectorErrorUserNotFound: - return [[self tagName] isEqual:[aMemberSelectorError tagName]]; - case DBTEAMMemberSelectorErrorUserNotInTeam: - return [[self tagName] isEqual:[aMemberSelectorError tagName]]; + case DBTEAMListMemberDevicesErrorMemberNotFound: + return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; + case DBTEAMListMemberDevicesErrorOther: + return [[self tagName] isEqual:[aListMemberDevicesError tagName]]; } return YES; } @@ -15518,36 +17498,31 @@ - (BOOL)isEqualToMemberSelectorError:(DBTEAMMemberSelectorError *)aMemberSelecto #pragma mark - Serializer Object -@implementation DBTEAMMemberSelectorErrorSerializer +@implementation DBTEAMListMemberDevicesErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMemberSelectorError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; + if ([valueObj isMemberNotFound]) { + jsonDict[@".tag"] = @"member_not_found"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMemberSelectorError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMemberSelectorError alloc] initWithUserNotInTeam]; + if ([tag isEqualToString:@"member_not_found"]) { + return [[DBTEAMListMemberDevicesError alloc] initWithMemberNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListMemberDevicesError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMListMemberDevicesError alloc] initWithOther]; } } @@ -15555,47 +17530,60 @@ + (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberAddArg.h" -#import "DBTEAMMembersAddArg.h" +#import "DBTEAMActiveWebSession.h" +#import "DBTEAMDesktopClientSession.h" +#import "DBTEAMListMemberDevicesResult.h" +#import "DBTEAMMobileClientSession.h" #pragma mark - API Object -@implementation DBTEAMMembersAddArg +@implementation DBTEAMListMemberDevicesResult #pragma mark - Constructors -- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers forceAsync:(NSNumber *)forceAsync { +- (instancetype)initWithActiveWebSessions:(NSArray *)activeWebSessions + desktopClientSessions:(NSArray *)desktopClientSessions + mobileClientSessions:(NSArray *)mobileClientSessions { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](dNewMembers); + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](activeWebSessions); + [DBStoneValidators nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]]( + desktopClientSessions); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](mobileClientSessions); self = [super init]; if (self) { - _dNewMembers = dNewMembers; - _forceAsync = forceAsync ?: @NO; + _activeWebSessions = activeWebSessions; + _desktopClientSessions = desktopClientSessions; + _mobileClientSessions = mobileClientSessions; } return self; } -- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers { - return [self initWithDNewMembers:dNewMembers forceAsync:nil]; +- (instancetype)initDefault { + return [self initWithActiveWebSessions:nil desktopClientSessions:nil mobileClientSessions:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersAddArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMemberDevicesResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersAddArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMemberDevicesResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersAddArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMemberDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15612,8 +17600,15 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewMembers hash]; - result = prime * result + [self.forceAsync hash]; + if (self.activeWebSessions != nil) { + result = prime * result + [self.activeWebSessions hash]; + } + if (self.desktopClientSessions != nil) { + result = prime * result + [self.desktopClientSessions hash]; + } + if (self.mobileClientSessions != nil) { + result = prime * result + [self.mobileClientSessions hash]; + } return prime * result; } @@ -15627,18 +17622,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersAddArg:other]; + return [self isEqualToListMemberDevicesResult:other]; } -- (BOOL)isEqualToMembersAddArg:(DBTEAMMembersAddArg *)aMembersAddArg { - if (self == aMembersAddArg) { +- (BOOL)isEqualToListMemberDevicesResult:(DBTEAMListMemberDevicesResult *)aListMemberDevicesResult { + if (self == aListMemberDevicesResult) { return YES; } - if (![self.dNewMembers isEqual:aMembersAddArg.dNewMembers]) { - return NO; + if (self.activeWebSessions) { + if (![self.activeWebSessions isEqual:aListMemberDevicesResult.activeWebSessions]) { + return NO; + } } - if (![self.forceAsync isEqual:aMembersAddArg.forceAsync]) { - return NO; + if (self.desktopClientSessions) { + if (![self.desktopClientSessions isEqual:aListMemberDevicesResult.desktopClientSessions]) { + return NO; + } + } + if (self.mobileClientSessions) { + if (![self.mobileClientSessions isEqual:aListMemberDevicesResult.mobileClientSessions]) { + return NO; + } } return YES; } @@ -15647,133 +17651,102 @@ - (BOOL)isEqualToMembersAddArg:(DBTEAMMembersAddArg *)aMembersAddArg { #pragma mark - Serializer Object -@implementation DBTEAMMembersAddArgSerializer +@implementation DBTEAMListMemberDevicesResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersAddArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_members"] = [DBArraySerializer serialize:valueObj.dNewMembers - withBlock:^id(id elem0) { - return [DBTEAMMemberAddArgSerializer serialize:elem0]; - }]; - jsonDict[@"force_async"] = valueObj.forceAsync; + if (valueObj.activeWebSessions) { + jsonDict[@"active_web_sessions"] = [DBArraySerializer serialize:valueObj.activeWebSessions + withBlock:^id(id elem0) { + return [DBTEAMActiveWebSessionSerializer serialize:elem0]; + }]; + } + if (valueObj.desktopClientSessions) { + jsonDict[@"desktop_client_sessions"] = + [DBArraySerializer serialize:valueObj.desktopClientSessions + withBlock:^id(id elem0) { + return [DBTEAMDesktopClientSessionSerializer serialize:elem0]; + }]; + } + if (valueObj.mobileClientSessions) { + jsonDict[@"mobile_client_sessions"] = + [DBArraySerializer serialize:valueObj.mobileClientSessions + withBlock:^id(id elem0) { + return [DBTEAMMobileClientSessionSerializer serialize:elem0]; + }]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)valueDict { - NSArray *dNewMembers = - [DBArraySerializer deserialize:valueDict[@"new_members"] - withBlock:^id(id elem0) { - return [DBTEAMMemberAddArgSerializer deserialize:elem0]; - }]; - NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; ++ (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)valueDict { + NSArray *activeWebSessions = + valueDict[@"active_web_sessions"] + ? [DBArraySerializer deserialize:valueDict[@"active_web_sessions"] + withBlock:^id(id elem0) { + return [DBTEAMActiveWebSessionSerializer deserialize:elem0]; + }] + : nil; + NSArray *desktopClientSessions = + valueDict[@"desktop_client_sessions"] + ? [DBArraySerializer deserialize:valueDict[@"desktop_client_sessions"] + withBlock:^id(id elem0) { + return [DBTEAMDesktopClientSessionSerializer deserialize:elem0]; + }] + : nil; + NSArray *mobileClientSessions = + valueDict[@"mobile_client_sessions"] + ? [DBArraySerializer deserialize:valueDict[@"mobile_client_sessions"] + withBlock:^id(id elem0) { + return [DBTEAMMobileClientSessionSerializer deserialize:elem0]; + }] + : nil; - return [[DBTEAMMembersAddArg alloc] initWithDNewMembers:dNewMembers forceAsync:forceAsync]; + return [[DBTEAMListMemberDevicesResult alloc] initWithActiveWebSessions:activeWebSessions + desktopClientSessions:desktopClientSessions + mobileClientSessions:mobileClientSessions]; } @end -#import "DBASYNCPollResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberAddResult.h" -#import "DBTEAMMembersAddJobStatus.h" +#import "DBTEAMListMembersAppsArg.h" #pragma mark - API Object -@implementation DBTEAMMembersAddJobStatus - -@synthesize complete = _complete; -@synthesize failed = _failed; +@implementation DBTEAMListMembersAppsArg #pragma mark - Constructors -- (instancetype)initWithInProgress { - self = [super init]; - if (self) { - _tag = DBTEAMMembersAddJobStatusInProgress; - } - return self; -} - -- (instancetype)initWithComplete:(NSArray *)complete { - self = [super init]; - if (self) { - _tag = DBTEAMMembersAddJobStatusComplete; - _complete = complete; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { -- (instancetype)initWithFailed:(NSString *)failed { self = [super init]; if (self) { - _tag = DBTEAMMembersAddJobStatusFailed; - _failed = failed; + _cursor = cursor; } return self; } -#pragma mark - Instance field accessors - -- (NSArray *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersAddJobStatusComplete, but was %@.", [self tagName]]; - } - return _complete; -} - -- (NSString *)failed { - if (![self isFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersAddJobStatusFailed, but was %@.", [self tagName]]; - } - return _failed; -} - -#pragma mark - Tag state methods - -- (BOOL)isInProgress { - return _tag == DBTEAMMembersAddJobStatusInProgress; -} - -- (BOOL)isComplete { - return _tag == DBTEAMMembersAddJobStatusComplete; -} - -- (BOOL)isFailed { - return _tag == DBTEAMMembersAddJobStatusFailed; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersAddJobStatusInProgress: - return @"DBTEAMMembersAddJobStatusInProgress"; - case DBTEAMMembersAddJobStatusComplete: - return @"DBTEAMMembersAddJobStatusComplete"; - case DBTEAMMembersAddJobStatusFailed: - return @"DBTEAMMembersAddJobStatusFailed"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithCursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersAddJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersAppsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersAddJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersAppsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersAddJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15790,13 +17763,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersAddJobStatusInProgress: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersAddJobStatusComplete: - result = prime * result + [self.complete hash]; - case DBTEAMMembersAddJobStatusFailed: - result = prime * result + [self.failed hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } return prime * result; @@ -15811,23 +17779,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersAddJobStatus:other]; + return [self isEqualToListMembersAppsArg:other]; } -- (BOOL)isEqualToMembersAddJobStatus:(DBTEAMMembersAddJobStatus *)aMembersAddJobStatus { - if (self == aMembersAddJobStatus) { +- (BOOL)isEqualToListMembersAppsArg:(DBTEAMListMembersAppsArg *)aListMembersAppsArg { + if (self == aListMembersAppsArg) { return YES; } - if (self.tag != aMembersAddJobStatus.tag) { - return NO; - } - switch (_tag) { - case DBTEAMMembersAddJobStatusInProgress: - return [[self tagName] isEqual:[aMembersAddJobStatus tagName]]; - case DBTEAMMembersAddJobStatusComplete: - return [self.complete isEqual:aMembersAddJobStatus.complete]; - case DBTEAMMembersAddJobStatusFailed: - return [self.failed isEqual:aMembersAddJobStatus.failed]; + if (self.cursor) { + if (![self.cursor isEqual:aListMembersAppsArg.cursor]) { + return NO; + } } return YES; } @@ -15836,123 +17798,70 @@ - (BOOL)isEqualToMembersAddJobStatus:(DBTEAMMembersAddJobStatus *)aMembersAddJob #pragma mark - Serializer Object -@implementation DBTEAMMembersAddJobStatusSerializer +@implementation DBTEAMListMembersAppsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersAddJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete - withBlock:^id(id elem0) { - return [DBTEAMMemberAddResultSerializer serialize:elem0]; - }]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = valueObj.failed; - jsonDict[@".tag"] = @"failed"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"] ?: nil; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBTEAMMembersAddJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - NSArray *complete = - [DBArraySerializer deserialize:valueDict[@"complete"] - withBlock:^id(id elem0) { - return [DBTEAMMemberAddResultSerializer deserialize:elem0]; - }]; - return [[DBTEAMMembersAddJobStatus alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"failed"]) { - NSString *failed = valueDict[@"failed"]; - return [[DBTEAMMembersAddJobStatus alloc] initWithFailed:failed]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBTEAMListMembersAppsArg alloc] initWithCursor:cursor]; } @end -#import "DBASYNCLaunchResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberAddResult.h" -#import "DBTEAMMembersAddLaunch.h" +#import "DBTEAMListMembersAppsError.h" #pragma mark - API Object -@implementation DBTEAMMembersAddLaunch - -@synthesize asyncJobId = _asyncJobId; -@synthesize complete = _complete; +@implementation DBTEAMListMembersAppsError #pragma mark - Constructors -- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { +- (instancetype)initWithReset { self = [super init]; if (self) { - _tag = DBTEAMMembersAddLaunchAsyncJobId; - _asyncJobId = asyncJobId; + _tag = DBTEAMListMembersAppsErrorReset; } return self; } -- (instancetype)initWithComplete:(NSArray *)complete { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersAddLaunchComplete; - _complete = complete; + _tag = DBTEAMListMembersAppsErrorOther; } return self; } #pragma mark - Instance field accessors -- (NSString *)asyncJobId { - if (![self isAsyncJobId]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersAddLaunchAsyncJobId, but was %@.", [self tagName]]; - } - return _asyncJobId; -} - -- (NSArray *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersAddLaunchComplete, but was %@.", [self tagName]]; - } - return _complete; -} - #pragma mark - Tag state methods -- (BOOL)isAsyncJobId { - return _tag == DBTEAMMembersAddLaunchAsyncJobId; +- (BOOL)isReset { + return _tag == DBTEAMListMembersAppsErrorReset; } -- (BOOL)isComplete { - return _tag == DBTEAMMembersAddLaunchComplete; +- (BOOL)isOther { + return _tag == DBTEAMListMembersAppsErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMembersAddLaunchAsyncJobId: - return @"DBTEAMMembersAddLaunchAsyncJobId"; - case DBTEAMMembersAddLaunchComplete: - return @"DBTEAMMembersAddLaunchComplete"; + case DBTEAMListMembersAppsErrorReset: + return @"DBTEAMListMembersAppsErrorReset"; + case DBTEAMListMembersAppsErrorOther: + return @"DBTEAMListMembersAppsErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -15960,18 +17869,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersAddLaunchSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersAppsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersAddLaunchSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersAppsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersAddLaunchSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -15989,10 +17898,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMembersAddLaunchAsyncJobId: - result = prime * result + [self.asyncJobId hash]; - case DBTEAMMembersAddLaunchComplete: - result = prime * result + [self.complete hash]; + case DBTEAMListMembersAppsErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMListMembersAppsErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -16007,21 +17918,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersAddLaunch:other]; + return [self isEqualToListMembersAppsError:other]; } -- (BOOL)isEqualToMembersAddLaunch:(DBTEAMMembersAddLaunch *)aMembersAddLaunch { - if (self == aMembersAddLaunch) { +- (BOOL)isEqualToListMembersAppsError:(DBTEAMListMembersAppsError *)aListMembersAppsError { + if (self == aListMembersAppsError) { return YES; } - if (self.tag != aMembersAddLaunch.tag) { + if (self.tag != aListMembersAppsError.tag) { return NO; } switch (_tag) { - case DBTEAMMembersAddLaunchAsyncJobId: - return [self.asyncJobId isEqual:aMembersAddLaunch.asyncJobId]; - case DBTEAMMembersAddLaunchComplete: - return [self.complete isEqual:aMembersAddLaunch.complete]; + case DBTEAMListMembersAppsErrorReset: + return [[self tagName] isEqual:[aListMembersAppsError tagName]]; + case DBTEAMListMembersAppsErrorOther: + return [[self tagName] isEqual:[aListMembersAppsError tagName]]; } return YES; } @@ -16030,47 +17941,31 @@ - (BOOL)isEqualToMembersAddLaunch:(DBTEAMMembersAddLaunch *)aMembersAddLaunch { #pragma mark - Serializer Object -@implementation DBTEAMMembersAddLaunchSerializer +@implementation DBTEAMListMembersAppsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersAddLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersAppsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAsyncJobId]) { - jsonDict[@"async_job_id"] = valueObj.asyncJobId; - jsonDict[@".tag"] = @"async_job_id"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete - withBlock:^id(id elem0) { - return [DBTEAMMemberAddResultSerializer serialize:elem0]; - }]; - jsonDict[@".tag"] = @"complete"; + if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"async_job_id"]) { - NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBTEAMMembersAddLaunch alloc] initWithAsyncJobId:asyncJobId]; - } else if ([tag isEqualToString:@"complete"]) { - NSArray *complete = - [DBArraySerializer deserialize:valueDict[@"complete"] - withBlock:^id(id elem0) { - return [DBTEAMMemberAddResultSerializer deserialize:elem0]; - }]; - return [[DBTEAMMembersAddLaunch alloc] initWithComplete:complete]; + if ([tag isEqualToString:@"reset"]) { + return [[DBTEAMListMembersAppsError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListMembersAppsError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMListMembersAppsError alloc] initWithOther]; } } @@ -16078,44 +17973,51 @@ + (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateArg.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMListMembersAppsResult.h" +#import "DBTEAMMemberLinkedApps.h" #pragma mark - API Object -@implementation DBTEAMMembersDeactivateArg +@implementation DBTEAMListMembersAppsResult #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user wipeData:(NSNumber *)wipeData { - [DBStoneValidators nonnullValidator:nil](user); +- (instancetype)initWithApps:(NSArray *)apps + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](apps); + [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { - _user = user; - _wipeData = wipeData ?: @YES; + _apps = apps; + _hasMore = hasMore; + _cursor = cursor; } return self; } -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { - return [self initWithUser:user wipeData:nil]; +- (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore { + return [self initWithApps:apps hasMore:hasMore cursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersDeactivateArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersAppsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersDeactivateArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersAppsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersDeactivateArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16132,8 +18034,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; - result = prime * result + [self.wipeData hash]; + result = prime * result + [self.apps hash]; + result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; + } return prime * result; } @@ -16147,19 +18052,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersDeactivateArg:other]; + return [self isEqualToListMembersAppsResult:other]; } -- (BOOL)isEqualToMembersDeactivateArg:(DBTEAMMembersDeactivateArg *)aMembersDeactivateArg { - if (self == aMembersDeactivateArg) { +- (BOOL)isEqualToListMembersAppsResult:(DBTEAMListMembersAppsResult *)aListMembersAppsResult { + if (self == aListMembersAppsResult) { return YES; } - if (![self.user isEqual:aMembersDeactivateArg.user]) { + if (![self.apps isEqual:aListMembersAppsResult.apps]) { return NO; } - if (![self.wipeData isEqual:aMembersDeactivateArg.wipeData]) { + if (![self.hasMore isEqual:aListMembersAppsResult.hasMore]) { return NO; } + if (self.cursor) { + if (![self.cursor isEqual:aListMembersAppsResult.cursor]) { + return NO; + } + } return YES; } @@ -16167,104 +18077,80 @@ - (BOOL)isEqualToMembersDeactivateArg:(DBTEAMMembersDeactivateArg *)aMembersDeac #pragma mark - Serializer Object -@implementation DBTEAMMembersDeactivateArgSerializer +@implementation DBTEAMListMembersAppsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersDeactivateArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - jsonDict[@"wipe_data"] = valueObj.wipeData; + jsonDict[@"apps"] = [DBArraySerializer serialize:valueObj.apps + withBlock:^id(id elem0) { + return [DBTEAMMemberLinkedAppsSerializer serialize:elem0]; + }]; + jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - NSNumber *wipeData = valueDict[@"wipe_data"] ?: @YES; ++ (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *apps = + [DBArraySerializer deserialize:valueDict[@"apps"] + withBlock:^id(id elem0) { + return [DBTEAMMemberLinkedAppsSerializer deserialize:elem0]; + }]; + NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; - return [[DBTEAMMembersDeactivateArg alloc] initWithUser:user wipeData:wipeData]; + return [[DBTEAMListMembersAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateError.h" -#import "DBTEAMUserSelectorError.h" +#import "DBTEAMListMembersDevicesArg.h" #pragma mark - API Object -@implementation DBTEAMMembersDeactivateError +@implementation DBTEAMListMembersDevicesArg #pragma mark - Constructors -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersDeactivateErrorUserNotFound; - } - return self; -} - -- (instancetype)initWithUserNotInTeam { - self = [super init]; - if (self) { - _tag = DBTEAMMembersDeactivateErrorUserNotInTeam; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor + includeWebSessions:(NSNumber *)includeWebSessions + includeDesktopClients:(NSNumber *)includeDesktopClients + includeMobileClients:(NSNumber *)includeMobileClients { -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersDeactivateErrorOther; + _cursor = cursor; + _includeWebSessions = includeWebSessions ?: @YES; + _includeDesktopClients = includeDesktopClients ?: @YES; + _includeMobileClients = includeMobileClients ?: @YES; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersDeactivateErrorUserNotFound; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersDeactivateErrorUserNotInTeam; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersDeactivateErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersDeactivateErrorUserNotFound: - return @"DBTEAMMembersDeactivateErrorUserNotFound"; - case DBTEAMMembersDeactivateErrorUserNotInTeam: - return @"DBTEAMMembersDeactivateErrorUserNotInTeam"; - case DBTEAMMembersDeactivateErrorOther: - return @"DBTEAMMembersDeactivateErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithCursor:nil includeWebSessions:nil includeDesktopClients:nil includeMobileClients:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersDeactivateErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersDevicesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersDeactivateErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersDevicesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersDeactivateErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16281,16 +18167,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersDeactivateErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersDeactivateErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersDeactivateErrorOther: - result = prime * result + [[self tagName] hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } - - return prime * result; + result = prime * result + [self.includeWebSessions hash]; + result = prime * result + [self.includeDesktopClients hash]; + result = prime * result + [self.includeMobileClients hash]; + + return prime * result; } #pragma mark - Equality method @@ -16302,23 +18186,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersDeactivateError:other]; + return [self isEqualToListMembersDevicesArg:other]; } -- (BOOL)isEqualToMembersDeactivateError:(DBTEAMMembersDeactivateError *)aMembersDeactivateError { - if (self == aMembersDeactivateError) { +- (BOOL)isEqualToListMembersDevicesArg:(DBTEAMListMembersDevicesArg *)aListMembersDevicesArg { + if (self == aListMembersDevicesArg) { return YES; } - if (self.tag != aMembersDeactivateError.tag) { + if (self.cursor) { + if (![self.cursor isEqual:aListMembersDevicesArg.cursor]) { + return NO; + } + } + if (![self.includeWebSessions isEqual:aListMembersDevicesArg.includeWebSessions]) { return NO; } - switch (_tag) { - case DBTEAMMembersDeactivateErrorUserNotFound: - return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; - case DBTEAMMembersDeactivateErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; - case DBTEAMMembersDeactivateErrorOther: - return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; + if (![self.includeDesktopClients isEqual:aListMembersDevicesArg.includeDesktopClients]) { + return NO; + } + if (![self.includeMobileClients isEqual:aListMembersDevicesArg.includeMobileClients]) { + return NO; } return YES; } @@ -16327,78 +18214,98 @@ - (BOOL)isEqualToMembersDeactivateError:(DBTEAMMembersDeactivateError *)aMembers #pragma mark - Serializer Object -@implementation DBTEAMMembersDeactivateErrorSerializer +@implementation DBTEAMListMembersDevicesArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersDeactivateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } + jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; + jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; + jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"] ?: nil; + NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; + NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; + NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersDeactivateError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersDeactivateError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersDeactivateError alloc] initWithOther]; - } else { - return [[DBTEAMMembersDeactivateError alloc] initWithOther]; - } + return [[DBTEAMListMembersDevicesArg alloc] initWithCursor:cursor + includeWebSessions:includeWebSessions + includeDesktopClients:includeDesktopClients + includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersGetInfoArgs.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMListMembersDevicesError.h" #pragma mark - API Object -@implementation DBTEAMMembersGetInfoArgs +@implementation DBTEAMListMembersDevicesError #pragma mark - Constructors -- (instancetype)initWithMembers:(NSArray *)members { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); +- (instancetype)initWithReset { + self = [super init]; + if (self) { + _tag = DBTEAMListMembersDevicesErrorReset; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _members = members; + _tag = DBTEAMListMembersDevicesErrorOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isReset { + return _tag == DBTEAMListMembersDevicesErrorReset; +} + +- (BOOL)isOther { + return _tag == DBTEAMListMembersDevicesErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMListMembersDevicesErrorReset: + return @"DBTEAMListMembersDevicesErrorReset"; + case DBTEAMListMembersDevicesErrorOther: + return @"DBTEAMListMembersDevicesErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersGetInfoArgsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersDevicesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersGetInfoArgsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersDevicesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersGetInfoArgsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16415,7 +18322,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.members hash]; + switch (_tag) { + case DBTEAMListMembersDevicesErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMListMembersDevicesErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -16429,16 +18343,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersGetInfoArgs:other]; + return [self isEqualToListMembersDevicesError:other]; } -- (BOOL)isEqualToMembersGetInfoArgs:(DBTEAMMembersGetInfoArgs *)aMembersGetInfoArgs { - if (self == aMembersGetInfoArgs) { +- (BOOL)isEqualToListMembersDevicesError:(DBTEAMListMembersDevicesError *)aListMembersDevicesError { + if (self == aListMembersDevicesError) { return YES; } - if (![self.members isEqual:aMembersGetInfoArgs.members]) { + if (self.tag != aListMembersDevicesError.tag) { return NO; } + switch (_tag) { + case DBTEAMListMembersDevicesErrorReset: + return [[self tagName] isEqual:[aListMembersDevicesError tagName]]; + case DBTEAMListMembersDevicesErrorOther: + return [[self tagName] isEqual:[aListMembersDevicesError tagName]]; + } return YES; } @@ -16446,80 +18366,83 @@ - (BOOL)isEqualToMembersGetInfoArgs:(DBTEAMMembersGetInfoArgs *)aMembersGetInfoA #pragma mark - Serializer Object -@implementation DBTEAMMembersGetInfoArgsSerializer +@implementation DBTEAMListMembersDevicesErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersGetInfoArgs *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members - withBlock:^id(id elem0) { - return [DBTEAMUserSelectorArgSerializer serialize:elem0]; - }]; + if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)valueDict { - NSArray *members = - [DBArraySerializer deserialize:valueDict[@"members"] - withBlock:^id(id elem0) { - return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; - }]; ++ (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMMembersGetInfoArgs alloc] initWithMembers:members]; + if ([tag isEqualToString:@"reset"]) { + return [[DBTEAMListMembersDevicesError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListMembersDevicesError alloc] initWithOther]; + } else { + return [[DBTEAMListMembersDevicesError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersGetInfoError.h" +#import "DBTEAMListMembersDevicesResult.h" +#import "DBTEAMMemberDevices.h" #pragma mark - API Object -@implementation DBTEAMMembersGetInfoError +@implementation DBTEAMListMembersDevicesResult #pragma mark - Constructors -- (instancetype)initWithOther { +- (instancetype)initWithDevices:(NSArray *)devices + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](devices); + [DBStoneValidators nonnullValidator:nil](hasMore); + self = [super init]; if (self) { - _tag = DBTEAMMembersGetInfoErrorOther; + _devices = devices; + _hasMore = hasMore; + _cursor = cursor; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isOther { - return _tag == DBTEAMMembersGetInfoErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersGetInfoErrorOther: - return @"DBTEAMMembersGetInfoErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore { + return [self initWithDevices:devices hasMore:hasMore cursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersGetInfoErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListMembersDevicesResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersGetInfoErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListMembersDevicesResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersGetInfoErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListMembersDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16536,9 +18459,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersGetInfoErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.devices hash]; + result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } return prime * result; @@ -16553,19 +18477,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersGetInfoError:other]; + return [self isEqualToListMembersDevicesResult:other]; } -- (BOOL)isEqualToMembersGetInfoError:(DBTEAMMembersGetInfoError *)aMembersGetInfoError { - if (self == aMembersGetInfoError) { +- (BOOL)isEqualToListMembersDevicesResult:(DBTEAMListMembersDevicesResult *)aListMembersDevicesResult { + if (self == aListMembersDevicesResult) { return YES; } - if (self.tag != aMembersGetInfoError.tag) { + if (![self.devices isEqual:aListMembersDevicesResult.devices]) { return NO; } - switch (_tag) { - case DBTEAMMembersGetInfoErrorOther: - return [[self tagName] isEqual:[aMembersGetInfoError tagName]]; + if (![self.hasMore isEqual:aListMembersDevicesResult.hasMore]) { + return NO; + } + if (self.cursor) { + if (![self.cursor isEqual:aListMembersDevicesResult.cursor]) { + return NO; + } } return YES; } @@ -16574,117 +18502,74 @@ - (BOOL)isEqualToMembersGetInfoError:(DBTEAMMembersGetInfoError *)aMembersGetInf #pragma mark - Serializer Object -@implementation DBTEAMMembersGetInfoErrorSerializer +@implementation DBTEAMListMembersDevicesResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersGetInfoError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"devices"] = [DBArraySerializer serialize:valueObj.devices + withBlock:^id(id elem0) { + return [DBTEAMMemberDevicesSerializer serialize:elem0]; + }]; + jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)valueDict { + NSArray *devices = + [DBArraySerializer deserialize:valueDict[@"devices"] + withBlock:^id(id elem0) { + return [DBTEAMMemberDevicesSerializer deserialize:elem0]; + }]; + NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; - if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersGetInfoError alloc] initWithOther]; - } else { - return [[DBTEAMMembersGetInfoError alloc] initWithOther]; - } + return [[DBTEAMListMembersDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersGetInfoItem.h" -#import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMListTeamAppsArg.h" #pragma mark - API Object -@implementation DBTEAMMembersGetInfoItem - -@synthesize idNotFound = _idNotFound; -@synthesize memberInfo = _memberInfo; +@implementation DBTEAMListTeamAppsArg #pragma mark - Constructors -- (instancetype)initWithIdNotFound:(NSString *)idNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersGetInfoItemIdNotFound; - _idNotFound = idNotFound; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { -- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfo *)memberInfo { self = [super init]; if (self) { - _tag = DBTEAMMembersGetInfoItemMemberInfo; - _memberInfo = memberInfo; + _cursor = cursor; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)idNotFound { - if (![self isIdNotFound]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersGetInfoItemIdNotFound, but was %@.", [self tagName]]; - } - return _idNotFound; -} - -- (DBTEAMTeamMemberInfo *)memberInfo { - if (![self isMemberInfo]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMMembersGetInfoItemMemberInfo, but was %@.", [self tagName]]; - } - return _memberInfo; -} - -#pragma mark - Tag state methods - -- (BOOL)isIdNotFound { - return _tag == DBTEAMMembersGetInfoItemIdNotFound; -} - -- (BOOL)isMemberInfo { - return _tag == DBTEAMMembersGetInfoItemMemberInfo; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersGetInfoItemIdNotFound: - return @"DBTEAMMembersGetInfoItemIdNotFound"; - case DBTEAMMembersGetInfoItemMemberInfo: - return @"DBTEAMMembersGetInfoItemMemberInfo"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithCursor:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersGetInfoItemSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamAppsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersGetInfoItemSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamAppsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersGetInfoItemSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamAppsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16701,11 +18586,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersGetInfoItemIdNotFound: - result = prime * result + [self.idNotFound hash]; - case DBTEAMMembersGetInfoItemMemberInfo: - result = prime * result + [self.memberInfo hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } return prime * result; @@ -16720,21 +18602,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersGetInfoItem:other]; + return [self isEqualToListTeamAppsArg:other]; } -- (BOOL)isEqualToMembersGetInfoItem:(DBTEAMMembersGetInfoItem *)aMembersGetInfoItem { - if (self == aMembersGetInfoItem) { +- (BOOL)isEqualToListTeamAppsArg:(DBTEAMListTeamAppsArg *)aListTeamAppsArg { + if (self == aListTeamAppsArg) { return YES; } - if (self.tag != aMembersGetInfoItem.tag) { - return NO; - } - switch (_tag) { - case DBTEAMMembersGetInfoItemIdNotFound: - return [self.idNotFound isEqual:aMembersGetInfoItem.idNotFound]; - case DBTEAMMembersGetInfoItemMemberInfo: - return [self.memberInfo isEqual:aMembersGetInfoItem.memberInfo]; + if (self.cursor) { + if (![self.cursor isEqual:aListTeamAppsArg.cursor]) { + return NO; + } } return YES; } @@ -16743,83 +18621,89 @@ - (BOOL)isEqualToMembersGetInfoItem:(DBTEAMMembersGetInfoItem *)aMembersGetInfoI #pragma mark - Serializer Object -@implementation DBTEAMMembersGetInfoItemSerializer +@implementation DBTEAMListTeamAppsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersGetInfoItem *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isIdNotFound]) { - jsonDict[@"id_not_found"] = valueObj.idNotFound; - jsonDict[@".tag"] = @"id_not_found"; - } else if ([valueObj isMemberInfo]) { - jsonDict[@"member_info"] = [[DBTEAMTeamMemberInfoSerializer serialize:valueObj.memberInfo] mutableCopy]; - jsonDict[@".tag"] = @"member_info"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"] ?: nil; - if ([tag isEqualToString:@"id_not_found"]) { - NSString *idNotFound = valueDict[@"id_not_found"]; - return [[DBTEAMMembersGetInfoItem alloc] initWithIdNotFound:idNotFound]; - } else if ([tag isEqualToString:@"member_info"]) { - DBTEAMTeamMemberInfo *memberInfo = [DBTEAMTeamMemberInfoSerializer deserialize:valueDict]; - return [[DBTEAMMembersGetInfoItem alloc] initWithMemberInfo:memberInfo]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBTEAMListTeamAppsArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersListArg.h" +#import "DBTEAMListTeamAppsError.h" #pragma mark - API Object -@implementation DBTEAMMembersListArg +@implementation DBTEAMListTeamAppsError #pragma mark - Constructors -- (instancetype)initWithLimit:(NSNumber *)limit includeRemoved:(NSNumber *)includeRemoved { +- (instancetype)initWithReset { + self = [super init]; + if (self) { + _tag = DBTEAMListTeamAppsErrorReset; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _limit = limit ?: @(1000); - _includeRemoved = includeRemoved ?: @NO; + _tag = DBTEAMListTeamAppsErrorOther; } return self; } -- (instancetype)initDefault { - return [self initWithLimit:nil includeRemoved:nil]; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isReset { + return _tag == DBTEAMListTeamAppsErrorReset; +} + +- (BOOL)isOther { + return _tag == DBTEAMListTeamAppsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMListTeamAppsErrorReset: + return @"DBTEAMListTeamAppsErrorReset"; + case DBTEAMListTeamAppsErrorOther: + return @"DBTEAMListTeamAppsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersListArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamAppsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersListArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamAppsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersListArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamAppsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16836,8 +18720,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.limit hash]; - result = prime * result + [self.includeRemoved hash]; + switch (_tag) { + case DBTEAMListTeamAppsErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMListTeamAppsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -16851,18 +18741,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersListArg:other]; + return [self isEqualToListTeamAppsError:other]; } -- (BOOL)isEqualToMembersListArg:(DBTEAMMembersListArg *)aMembersListArg { - if (self == aMembersListArg) { +- (BOOL)isEqualToListTeamAppsError:(DBTEAMListTeamAppsError *)aListTeamAppsError { + if (self == aListTeamAppsError) { return YES; } - if (![self.limit isEqual:aMembersListArg.limit]) { + if (self.tag != aListTeamAppsError.tag) { return NO; } - if (![self.includeRemoved isEqual:aMembersListArg.includeRemoved]) { - return NO; + switch (_tag) { + case DBTEAMListTeamAppsErrorReset: + return [[self tagName] isEqual:[aListTeamAppsError tagName]]; + case DBTEAMListTeamAppsErrorOther: + return [[self tagName] isEqual:[aListTeamAppsError tagName]]; } return YES; } @@ -16871,60 +18764,83 @@ - (BOOL)isEqualToMembersListArg:(DBTEAMMembersListArg *)aMembersListArg { #pragma mark - Serializer Object -@implementation DBTEAMMembersListArgSerializer +@implementation DBTEAMListTeamAppsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamAppsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"limit"] = valueObj.limit; - jsonDict[@"include_removed"] = valueObj.includeRemoved; + if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersListArg *)deserialize:(NSDictionary *)valueDict { - NSNumber *limit = valueDict[@"limit"] ?: @(1000); - NSNumber *includeRemoved = valueDict[@"include_removed"] ?: @NO; ++ (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMMembersListArg alloc] initWithLimit:limit includeRemoved:includeRemoved]; + if ([tag isEqualToString:@"reset"]) { + return [[DBTEAMListTeamAppsError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListTeamAppsError alloc] initWithOther]; + } else { + return [[DBTEAMListTeamAppsError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersListContinueArg.h" +#import "DBTEAMListTeamAppsResult.h" +#import "DBTEAMMemberLinkedApps.h" #pragma mark - API Object -@implementation DBTEAMMembersListContinueArg +@implementation DBTEAMListTeamAppsResult #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:nil](cursor); +- (instancetype)initWithApps:(NSArray *)apps + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](apps); + [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { + _apps = apps; + _hasMore = hasMore; _cursor = cursor; } return self; } +- (instancetype)initWithApps:(NSArray *)apps hasMore:(NSNumber *)hasMore { + return [self initWithApps:apps hasMore:hasMore cursor:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersListContinueArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamAppsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersListContinueArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamAppsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersListContinueArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamAppsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16941,7 +18857,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.apps hash]; + result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; + } return prime * result; } @@ -16955,16 +18875,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersListContinueArg:other]; + return [self isEqualToListTeamAppsResult:other]; } -- (BOOL)isEqualToMembersListContinueArg:(DBTEAMMembersListContinueArg *)aMembersListContinueArg { - if (self == aMembersListContinueArg) { +- (BOOL)isEqualToListTeamAppsResult:(DBTEAMListTeamAppsResult *)aListTeamAppsResult { + if (self == aListTeamAppsResult) { return YES; } - if (![self.cursor isEqual:aMembersListContinueArg.cursor]) { + if (![self.apps isEqual:aListTeamAppsResult.apps]) { return NO; } + if (![self.hasMore isEqual:aListTeamAppsResult.hasMore]) { + return NO; + } + if (self.cursor) { + if (![self.cursor isEqual:aListTeamAppsResult.cursor]) { + return NO; + } + } return YES; } @@ -16972,87 +18900,80 @@ - (BOOL)isEqualToMembersListContinueArg:(DBTEAMMembersListContinueArg *)aMembers #pragma mark - Serializer Object -@implementation DBTEAMMembersListContinueArgSerializer +@implementation DBTEAMListTeamAppsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"apps"] = [DBArraySerializer serialize:valueObj.apps + withBlock:^id(id elem0) { + return [DBTEAMMemberLinkedAppsSerializer serialize:elem0]; + }]; + jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *apps = + [DBArraySerializer deserialize:valueDict[@"apps"] + withBlock:^id(id elem0) { + return [DBTEAMMemberLinkedAppsSerializer deserialize:elem0]; + }]; + NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; - return [[DBTEAMMembersListContinueArg alloc] initWithCursor:cursor]; + return [[DBTEAMListTeamAppsResult alloc] initWithApps:apps hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersListContinueError.h" +#import "DBTEAMListTeamDevicesArg.h" #pragma mark - API Object -@implementation DBTEAMMembersListContinueError +@implementation DBTEAMListTeamDevicesArg #pragma mark - Constructors -- (instancetype)initWithInvalidCursor { - self = [super init]; - if (self) { - _tag = DBTEAMMembersListContinueErrorInvalidCursor; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor + includeWebSessions:(NSNumber *)includeWebSessions + includeDesktopClients:(NSNumber *)includeDesktopClients + includeMobileClients:(NSNumber *)includeMobileClients { -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersListContinueErrorOther; + _cursor = cursor; + _includeWebSessions = includeWebSessions ?: @YES; + _includeDesktopClients = includeDesktopClients ?: @YES; + _includeMobileClients = includeMobileClients ?: @YES; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isInvalidCursor { - return _tag == DBTEAMMembersListContinueErrorInvalidCursor; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersListContinueErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersListContinueErrorInvalidCursor: - return @"DBTEAMMembersListContinueErrorInvalidCursor"; - case DBTEAMMembersListContinueErrorOther: - return @"DBTEAMMembersListContinueErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithCursor:nil includeWebSessions:nil includeDesktopClients:nil includeMobileClients:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersListContinueErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamDevicesArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersListContinueErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamDevicesArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersListContinueErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamDevicesArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17069,12 +18990,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersListContinueErrorInvalidCursor: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersListContinueErrorOther: - result = prime * result + [[self tagName] hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; } + result = prime * result + [self.includeWebSessions hash]; + result = prime * result + [self.includeDesktopClients hash]; + result = prime * result + [self.includeMobileClients hash]; return prime * result; } @@ -17088,21 +19009,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersListContinueError:other]; + return [self isEqualToListTeamDevicesArg:other]; } -- (BOOL)isEqualToMembersListContinueError:(DBTEAMMembersListContinueError *)aMembersListContinueError { - if (self == aMembersListContinueError) { +- (BOOL)isEqualToListTeamDevicesArg:(DBTEAMListTeamDevicesArg *)aListTeamDevicesArg { + if (self == aListTeamDevicesArg) { return YES; } - if (self.tag != aMembersListContinueError.tag) { + if (self.cursor) { + if (![self.cursor isEqual:aListTeamDevicesArg.cursor]) { + return NO; + } + } + if (![self.includeWebSessions isEqual:aListTeamDevicesArg.includeWebSessions]) { return NO; } - switch (_tag) { - case DBTEAMMembersListContinueErrorInvalidCursor: - return [[self tagName] isEqual:[aMembersListContinueError tagName]]; - case DBTEAMMembersListContinueErrorOther: - return [[self tagName] isEqual:[aMembersListContinueError tagName]]; + if (![self.includeDesktopClients isEqual:aListTeamDevicesArg.includeDesktopClients]) { + return NO; + } + if (![self.includeMobileClients isEqual:aListTeamDevicesArg.includeMobileClients]) { + return NO; } return YES; } @@ -17111,50 +19037,57 @@ - (BOOL)isEqualToMembersListContinueError:(DBTEAMMembersListContinueError *)aMem #pragma mark - Serializer Object -@implementation DBTEAMMembersListContinueErrorSerializer +@implementation DBTEAMListTeamDevicesArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidCursor]) { - jsonDict[@".tag"] = @"invalid_cursor"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; } + jsonDict[@"include_web_sessions"] = valueObj.includeWebSessions; + jsonDict[@"include_desktop_clients"] = valueObj.includeDesktopClients; + jsonDict[@"include_mobile_clients"] = valueObj.includeMobileClients; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"] ?: nil; + NSNumber *includeWebSessions = valueDict[@"include_web_sessions"] ?: @YES; + NSNumber *includeDesktopClients = valueDict[@"include_desktop_clients"] ?: @YES; + NSNumber *includeMobileClients = valueDict[@"include_mobile_clients"] ?: @YES; - if ([tag isEqualToString:@"invalid_cursor"]) { - return [[DBTEAMMembersListContinueError alloc] initWithInvalidCursor]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersListContinueError alloc] initWithOther]; - } else { - return [[DBTEAMMembersListContinueError alloc] initWithOther]; - } + return [[DBTEAMListTeamDevicesArg alloc] initWithCursor:cursor + includeWebSessions:includeWebSessions + includeDesktopClients:includeDesktopClients + includeMobileClients:includeMobileClients]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersListError.h" +#import "DBTEAMListTeamDevicesError.h" #pragma mark - API Object -@implementation DBTEAMMembersListError +@implementation DBTEAMListTeamDevicesError #pragma mark - Constructors +- (instancetype)initWithReset { + self = [super init]; + if (self) { + _tag = DBTEAMListTeamDevicesErrorReset; + } + return self; +} + - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersListErrorOther; + _tag = DBTEAMListTeamDevicesErrorOther; } return self; } @@ -17163,14 +19096,20 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods +- (BOOL)isReset { + return _tag == DBTEAMListTeamDevicesErrorReset; +} + - (BOOL)isOther { - return _tag == DBTEAMMembersListErrorOther; + return _tag == DBTEAMListTeamDevicesErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMembersListErrorOther: - return @"DBTEAMMembersListErrorOther"; + case DBTEAMListTeamDevicesErrorReset: + return @"DBTEAMListTeamDevicesErrorReset"; + case DBTEAMListTeamDevicesErrorOther: + return @"DBTEAMListTeamDevicesErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -17178,18 +19117,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersListErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamDevicesErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersListErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamDevicesErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersListErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamDevicesErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17207,8 +19146,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMembersListErrorOther: + case DBTEAMListTeamDevicesErrorReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMListTeamDevicesErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -17223,19 +19166,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersListError:other]; + return [self isEqualToListTeamDevicesError:other]; } -- (BOOL)isEqualToMembersListError:(DBTEAMMembersListError *)aMembersListError { - if (self == aMembersListError) { +- (BOOL)isEqualToListTeamDevicesError:(DBTEAMListTeamDevicesError *)aListTeamDevicesError { + if (self == aListTeamDevicesError) { return YES; } - if (self.tag != aMembersListError.tag) { + if (self.tag != aListTeamDevicesError.tag) { return NO; } switch (_tag) { - case DBTEAMMembersListErrorOther: - return [[self tagName] isEqual:[aMembersListError tagName]]; + case DBTEAMListTeamDevicesErrorReset: + return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; + case DBTEAMListTeamDevicesErrorOther: + return [[self tagName] isEqual:[aListTeamDevicesError tagName]]; } return YES; } @@ -17244,27 +19189,31 @@ - (BOOL)isEqualToMembersListError:(DBTEAMMembersListError *)aMembersListError { #pragma mark - Serializer Object -@implementation DBTEAMMembersListErrorSerializer +@implementation DBTEAMListTeamDevicesErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersListError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOther]) { + if ([valueObj isReset]) { + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersListError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersListError alloc] initWithOther]; + if ([tag isEqualToString:@"reset"]) { + return [[DBTEAMListTeamDevicesError alloc] initWithReset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMListTeamDevicesError alloc] initWithOther]; } else { - return [[DBTEAMMembersListError alloc] initWithOther]; + return [[DBTEAMListTeamDevicesError alloc] initWithOther]; } } @@ -17272,48 +19221,51 @@ + (DBTEAMMembersListError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersListResult.h" -#import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMListTeamDevicesResult.h" +#import "DBTEAMMemberDevices.h" #pragma mark - API Object -@implementation DBTEAMMembersListResult +@implementation DBTEAMListTeamDevicesResult #pragma mark - Constructors -- (instancetype)initWithMembers:(NSArray *)members - cursor:(NSString *)cursor - hasMore:(NSNumber *)hasMore { +- (instancetype)initWithDevices:(NSArray *)devices + hasMore:(NSNumber *)hasMore + cursor:(NSString *)cursor { [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); - [DBStoneValidators nonnullValidator:nil](cursor); + itemValidator:[DBStoneValidators nonnullValidator:nil]]](devices); [DBStoneValidators nonnullValidator:nil](hasMore); self = [super init]; if (self) { - _members = members; - _cursor = cursor; + _devices = devices; _hasMore = hasMore; + _cursor = cursor; } return self; } +- (instancetype)initWithDevices:(NSArray *)devices hasMore:(NSNumber *)hasMore { + return [self initWithDevices:devices hasMore:hasMore cursor:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersListResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMListTeamDevicesResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersListResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMListTeamDevicesResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersListResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMListTeamDevicesResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17330,9 +19282,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.members hash]; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.devices hash]; result = prime * result + [self.hasMore hash]; + if (self.cursor != nil) { + result = prime * result + [self.cursor hash]; + } return prime * result; } @@ -17346,21 +19300,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersListResult:other]; + return [self isEqualToListTeamDevicesResult:other]; } -- (BOOL)isEqualToMembersListResult:(DBTEAMMembersListResult *)aMembersListResult { - if (self == aMembersListResult) { +- (BOOL)isEqualToListTeamDevicesResult:(DBTEAMListTeamDevicesResult *)aListTeamDevicesResult { + if (self == aListTeamDevicesResult) { return YES; } - if (![self.members isEqual:aMembersListResult.members]) { + if (![self.devices isEqual:aListTeamDevicesResult.devices]) { return NO; } - if (![self.cursor isEqual:aMembersListResult.cursor]) { + if (![self.hasMore isEqual:aListTeamDevicesResult.hasMore]) { return NO; } - if (![self.hasMore isEqual:aMembersListResult.hasMore]) { - return NO; + if (self.cursor) { + if (![self.cursor isEqual:aListTeamDevicesResult.cursor]) { + return NO; + } } return YES; } @@ -17369,70 +19325,75 @@ - (BOOL)isEqualToMembersListResult:(DBTEAMMembersListResult *)aMembersListResult #pragma mark - Serializer Object -@implementation DBTEAMMembersListResultSerializer +@implementation DBTEAMListTeamDevicesResultSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + jsonDict[@"devices"] = [DBArraySerializer serialize:valueObj.devices withBlock:^id(id elem0) { - return [DBTEAMTeamMemberInfoSerializer serialize:elem0]; + return [DBTEAMMemberDevicesSerializer serialize:elem0]; }]; - jsonDict[@"cursor"] = valueObj.cursor; jsonDict[@"has_more"] = valueObj.hasMore; + if (valueObj.cursor) { + jsonDict[@"cursor"] = valueObj.cursor; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersListResult *)deserialize:(NSDictionary *)valueDict { - NSArray *members = - [DBArraySerializer deserialize:valueDict[@"members"] ++ (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)valueDict { + NSArray *devices = + [DBArraySerializer deserialize:valueDict[@"devices"] withBlock:^id(id elem0) { - return [DBTEAMTeamMemberInfoSerializer deserialize:elem0]; + return [DBTEAMMemberDevicesSerializer deserialize:elem0]; }]; - NSString *cursor = valueDict[@"cursor"]; NSNumber *hasMore = valueDict[@"has_more"]; + NSString *cursor = valueDict[@"cursor"] ?: nil; - return [[DBTEAMMembersListResult alloc] initWithMembers:members cursor:cursor hasMore:hasMore]; + return [[DBTEAMListTeamDevicesResult alloc] initWithDevices:devices hasMore:hasMore cursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersRecoverArg.h" +#import "DBTEAMGroupAccessType.h" +#import "DBTEAMMemberAccess.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMMembersRecoverArg +@implementation DBTEAMMemberAccess #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user accessType:(DBTEAMGroupAccessType *)accessType { [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nonnullValidator:nil](accessType); self = [super init]; if (self) { _user = user; + _accessType = accessType; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersRecoverArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAccessSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersRecoverArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAccessSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersRecoverArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMMemberAccessSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17450,6 +19411,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.user hash]; + result = prime * result + [self.accessType hash]; return prime * result; } @@ -17463,14 +19425,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersRecoverArg:other]; + return [self isEqualToMemberAccess:other]; } -- (BOOL)isEqualToMembersRecoverArg:(DBTEAMMembersRecoverArg *)aMembersRecoverArg { - if (self == aMembersRecoverArg) { +- (BOOL)isEqualToMemberAccess:(DBTEAMMemberAccess *)aMemberAccess { + if (self == aMemberAccess) { return YES; } - if (![self.user isEqual:aMembersRecoverArg.user]) { + if (![self.user isEqual:aMemberAccess.user]) { + return NO; + } + if (![self.accessType isEqual:aMemberAccess.accessType]) { return NO; } return YES; @@ -17480,130 +19445,92 @@ - (BOOL)isEqualToMembersRecoverArg:(DBTEAMMembersRecoverArg *)aMembersRecoverArg #pragma mark - Serializer Object -@implementation DBTEAMMembersRecoverArgSerializer +@implementation DBTEAMMemberAccessSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersRecoverArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMMemberAccess *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"access_type"] = [DBTEAMGroupAccessTypeSerializer serialize:valueObj.accessType]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMMemberAccess *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + DBTEAMGroupAccessType *accessType = [DBTEAMGroupAccessTypeSerializer deserialize:valueDict[@"access_type"]]; - return [[DBTEAMMembersRecoverArg alloc] initWithUser:user]; + return [[DBTEAMMemberAccess alloc] initWithUser:user accessType:accessType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersRecoverError.h" -#import "DBTEAMUserSelectorError.h" +#import "DBTEAMMemberAddArgBase.h" #pragma mark - API Object -@implementation DBTEAMMembersRecoverError +@implementation DBTEAMMemberAddArgBase #pragma mark - Constructors -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRecoverErrorUserNotFound; - } - return self; -} - -- (instancetype)initWithUserUnrecoverable { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRecoverErrorUserUnrecoverable; - } - return self; -} - -- (instancetype)initWithUserNotInTeam { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRecoverErrorUserNotInTeam; - } - return self; -} - -- (instancetype)initWithTeamLicenseLimit { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRecoverErrorTeamLicenseLimit; - } - return self; -} +- (instancetype)initWithMemberEmail:(NSString *)memberEmail + memberGivenName:(NSString *)memberGivenName + memberSurname:(NSString *)memberSurname + memberExternalId:(NSString *)memberExternalId + memberPersistentId:(NSString *)memberPersistentId + sendWelcomeEmail:(NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(NSNumber *)isDirectoryRestricted { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" + @"9.-]*\\.[A-Za-z]{2,15}$"]](memberEmail); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]]( + memberGivenName); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](memberSurname); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersRecoverErrorOther; + _memberEmail = memberEmail; + _memberGivenName = memberGivenName; + _memberSurname = memberSurname; + _memberExternalId = memberExternalId; + _memberPersistentId = memberPersistentId; + _sendWelcomeEmail = sendWelcomeEmail ?: @YES; + _isDirectoryRestricted = isDirectoryRestricted; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersRecoverErrorUserNotFound; -} - -- (BOOL)isUserUnrecoverable { - return _tag == DBTEAMMembersRecoverErrorUserUnrecoverable; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersRecoverErrorUserNotInTeam; -} - -- (BOOL)isTeamLicenseLimit { - return _tag == DBTEAMMembersRecoverErrorTeamLicenseLimit; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersRecoverErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersRecoverErrorUserNotFound: - return @"DBTEAMMembersRecoverErrorUserNotFound"; - case DBTEAMMembersRecoverErrorUserUnrecoverable: - return @"DBTEAMMembersRecoverErrorUserUnrecoverable"; - case DBTEAMMembersRecoverErrorUserNotInTeam: - return @"DBTEAMMembersRecoverErrorUserNotInTeam"; - case DBTEAMMembersRecoverErrorTeamLicenseLimit: - return @"DBTEAMMembersRecoverErrorTeamLicenseLimit"; - case DBTEAMMembersRecoverErrorOther: - return @"DBTEAMMembersRecoverErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithMemberEmail:(NSString *)memberEmail { + return [self initWithMemberEmail:memberEmail + memberGivenName:nil + memberSurname:nil + memberExternalId:nil + memberPersistentId:nil + sendWelcomeEmail:nil + isDirectoryRestricted:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersRecoverErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddArgBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersRecoverErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddArgBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersRecoverErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMMemberAddArgBaseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17620,17 +19547,22 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersRecoverErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRecoverErrorUserUnrecoverable: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRecoverErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRecoverErrorTeamLicenseLimit: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRecoverErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberEmail hash]; + if (self.memberGivenName != nil) { + result = prime * result + [self.memberGivenName hash]; + } + if (self.memberSurname != nil) { + result = prime * result + [self.memberSurname hash]; + } + if (self.memberExternalId != nil) { + result = prime * result + [self.memberExternalId hash]; + } + if (self.memberPersistentId != nil) { + result = prime * result + [self.memberPersistentId hash]; + } + result = prime * result + [self.sendWelcomeEmail hash]; + if (self.isDirectoryRestricted != nil) { + result = prime * result + [self.isDirectoryRestricted hash]; } return prime * result; @@ -17645,27 +19577,43 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersRecoverError:other]; + return [self isEqualToMemberAddArgBase:other]; } -- (BOOL)isEqualToMembersRecoverError:(DBTEAMMembersRecoverError *)aMembersRecoverError { - if (self == aMembersRecoverError) { +- (BOOL)isEqualToMemberAddArgBase:(DBTEAMMemberAddArgBase *)aMemberAddArgBase { + if (self == aMemberAddArgBase) { return YES; } - if (self.tag != aMembersRecoverError.tag) { + if (![self.memberEmail isEqual:aMemberAddArgBase.memberEmail]) { return NO; } - switch (_tag) { - case DBTEAMMembersRecoverErrorUserNotFound: - return [[self tagName] isEqual:[aMembersRecoverError tagName]]; - case DBTEAMMembersRecoverErrorUserUnrecoverable: - return [[self tagName] isEqual:[aMembersRecoverError tagName]]; - case DBTEAMMembersRecoverErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersRecoverError tagName]]; - case DBTEAMMembersRecoverErrorTeamLicenseLimit: - return [[self tagName] isEqual:[aMembersRecoverError tagName]]; - case DBTEAMMembersRecoverErrorOther: - return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + if (self.memberGivenName) { + if (![self.memberGivenName isEqual:aMemberAddArgBase.memberGivenName]) { + return NO; + } + } + if (self.memberSurname) { + if (![self.memberSurname isEqual:aMemberAddArgBase.memberSurname]) { + return NO; + } + } + if (self.memberExternalId) { + if (![self.memberExternalId isEqual:aMemberAddArgBase.memberExternalId]) { + return NO; + } + } + if (self.memberPersistentId) { + if (![self.memberPersistentId isEqual:aMemberAddArgBase.memberPersistentId]) { + return NO; + } + } + if (![self.sendWelcomeEmail isEqual:aMemberAddArgBase.sendWelcomeEmail]) { + return NO; + } + if (self.isDirectoryRestricted) { + if (![self.isDirectoryRestricted isEqual:aMemberAddArgBase.isDirectoryRestricted]) { + return NO; + } } return YES; } @@ -17674,94 +19622,122 @@ - (BOOL)isEqualToMembersRecoverError:(DBTEAMMembersRecoverError *)aMembersRecove #pragma mark - Serializer Object -@implementation DBTEAMMembersRecoverErrorSerializer +@implementation DBTEAMMemberAddArgBaseSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersRecoverError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMMemberAddArgBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserUnrecoverable]) { - jsonDict[@".tag"] = @"user_unrecoverable"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isTeamLicenseLimit]) { - jsonDict[@".tag"] = @"team_license_limit"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"member_email"] = valueObj.memberEmail; + if (valueObj.memberGivenName) { + jsonDict[@"member_given_name"] = valueObj.memberGivenName; + } + if (valueObj.memberSurname) { + jsonDict[@"member_surname"] = valueObj.memberSurname; + } + if (valueObj.memberExternalId) { + jsonDict[@"member_external_id"] = valueObj.memberExternalId; + } + if (valueObj.memberPersistentId) { + jsonDict[@"member_persistent_id"] = valueObj.memberPersistentId; + } + jsonDict[@"send_welcome_email"] = valueObj.sendWelcomeEmail; + if (valueObj.isDirectoryRestricted) { + jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMMemberAddArgBase *)deserialize:(NSDictionary *)valueDict { + NSString *memberEmail = valueDict[@"member_email"]; + NSString *memberGivenName = valueDict[@"member_given_name"] ?: nil; + NSString *memberSurname = valueDict[@"member_surname"] ?: nil; + NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; + NSString *memberPersistentId = valueDict[@"member_persistent_id"] ?: nil; + NSNumber *sendWelcomeEmail = valueDict[@"send_welcome_email"] ?: @YES; + NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersRecoverError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_unrecoverable"]) { - return [[DBTEAMMembersRecoverError alloc] initWithUserUnrecoverable]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersRecoverError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"team_license_limit"]) { - return [[DBTEAMMembersRecoverError alloc] initWithTeamLicenseLimit]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersRecoverError alloc] initWithOther]; - } else { - return [[DBTEAMMembersRecoverError alloc] initWithOther]; - } + return [[DBTEAMMemberAddArgBase alloc] initWithMemberEmail:memberEmail + memberGivenName:memberGivenName + memberSurname:memberSurname + memberExternalId:memberExternalId + memberPersistentId:memberPersistentId + sendWelcomeEmail:sendWelcomeEmail + isDirectoryRestricted:isDirectoryRestricted]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateArg.h" -#import "DBTEAMMembersRemoveArg.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMAdminTier.h" +#import "DBTEAMMemberAddArg.h" +#import "DBTEAMMemberAddArgBase.h" #pragma mark - API Object -@implementation DBTEAMMembersRemoveArg +@implementation DBTEAMMemberAddArg #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user - wipeData:(NSNumber *)wipeData - transferDestId:(DBTEAMUserSelectorArg *)transferDestId - transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId - keepAccount:(NSNumber *)keepAccount { - [DBStoneValidators nonnullValidator:nil](user); +- (instancetype)initWithMemberEmail:(NSString *)memberEmail + memberGivenName:(NSString *)memberGivenName + memberSurname:(NSString *)memberSurname + memberExternalId:(NSString *)memberExternalId + memberPersistentId:(NSString *)memberPersistentId + sendWelcomeEmail:(NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(NSNumber *)isDirectoryRestricted + role:(DBTEAMAdminTier *)role { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" + @"9.-]*\\.[A-Za-z]{2,15}$"]](memberEmail); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]]( + memberGivenName); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](memberSurname); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); - self = [super initWithUser:user wipeData:wipeData]; + self = [super initWithMemberEmail:memberEmail + memberGivenName:memberGivenName + memberSurname:memberSurname + memberExternalId:memberExternalId + memberPersistentId:memberPersistentId + sendWelcomeEmail:sendWelcomeEmail + isDirectoryRestricted:isDirectoryRestricted]; if (self) { - _transferDestId = transferDestId; - _transferAdminId = transferAdminId; - _keepAccount = keepAccount ?: @NO; + _role = role ?: [[DBTEAMAdminTier alloc] initWithMemberOnly]; } return self; } -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { - return [self initWithUser:user wipeData:nil transferDestId:nil transferAdminId:nil keepAccount:nil]; +- (instancetype)initWithMemberEmail:(NSString *)memberEmail { + return [self initWithMemberEmail:memberEmail + memberGivenName:nil + memberSurname:nil + memberExternalId:nil + memberPersistentId:nil + sendWelcomeEmail:nil + isDirectoryRestricted:nil + role:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersRemoveArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersRemoveArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersRemoveArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMMemberAddArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -17778,15 +19754,24 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; - result = prime * result + [self.wipeData hash]; - if (self.transferDestId != nil) { - result = prime * result + [self.transferDestId hash]; + result = prime * result + [self.memberEmail hash]; + if (self.memberGivenName != nil) { + result = prime * result + [self.memberGivenName hash]; } - if (self.transferAdminId != nil) { - result = prime * result + [self.transferAdminId hash]; + if (self.memberSurname != nil) { + result = prime * result + [self.memberSurname hash]; } - result = prime * result + [self.keepAccount hash]; + if (self.memberExternalId != nil) { + result = prime * result + [self.memberExternalId hash]; + } + if (self.memberPersistentId != nil) { + result = prime * result + [self.memberPersistentId hash]; + } + result = prime * result + [self.sendWelcomeEmail hash]; + if (self.isDirectoryRestricted != nil) { + result = prime * result + [self.isDirectoryRestricted hash]; + } + result = prime * result + [self.role hash]; return prime * result; } @@ -17800,30 +19785,45 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersRemoveArg:other]; + return [self isEqualToMemberAddArg:other]; } -- (BOOL)isEqualToMembersRemoveArg:(DBTEAMMembersRemoveArg *)aMembersRemoveArg { - if (self == aMembersRemoveArg) { +- (BOOL)isEqualToMemberAddArg:(DBTEAMMemberAddArg *)aMemberAddArg { + if (self == aMemberAddArg) { return YES; } - if (![self.user isEqual:aMembersRemoveArg.user]) { + if (![self.memberEmail isEqual:aMemberAddArg.memberEmail]) { return NO; } - if (![self.wipeData isEqual:aMembersRemoveArg.wipeData]) { - return NO; + if (self.memberGivenName) { + if (![self.memberGivenName isEqual:aMemberAddArg.memberGivenName]) { + return NO; + } } - if (self.transferDestId) { - if (![self.transferDestId isEqual:aMembersRemoveArg.transferDestId]) { + if (self.memberSurname) { + if (![self.memberSurname isEqual:aMemberAddArg.memberSurname]) { return NO; } } - if (self.transferAdminId) { - if (![self.transferAdminId isEqual:aMembersRemoveArg.transferAdminId]) { + if (self.memberExternalId) { + if (![self.memberExternalId isEqual:aMemberAddArg.memberExternalId]) { return NO; } } - if (![self.keepAccount isEqual:aMembersRemoveArg.keepAccount]) { + if (self.memberPersistentId) { + if (![self.memberPersistentId isEqual:aMemberAddArg.memberPersistentId]) { + return NO; + } + } + if (![self.sendWelcomeEmail isEqual:aMemberAddArg.sendWelcomeEmail]) { + return NO; + } + if (self.isDirectoryRestricted) { + if (![self.isDirectoryRestricted isEqual:aMemberAddArg.isDirectoryRestricted]) { + return NO; + } + } + if (![self.role isEqual:aMemberAddArg.role]) { return NO; } return YES; @@ -17833,271 +19833,322 @@ - (BOOL)isEqualToMembersRemoveArg:(DBTEAMMembersRemoveArg *)aMembersRemoveArg { #pragma mark - Serializer Object -@implementation DBTEAMMembersRemoveArgSerializer +@implementation DBTEAMMemberAddArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersRemoveArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMMemberAddArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - jsonDict[@"wipe_data"] = valueObj.wipeData; - if (valueObj.transferDestId) { - jsonDict[@"transfer_dest_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferDestId]; + jsonDict[@"member_email"] = valueObj.memberEmail; + if (valueObj.memberGivenName) { + jsonDict[@"member_given_name"] = valueObj.memberGivenName; } - if (valueObj.transferAdminId) { - jsonDict[@"transfer_admin_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferAdminId]; + if (valueObj.memberSurname) { + jsonDict[@"member_surname"] = valueObj.memberSurname; } - jsonDict[@"keep_account"] = valueObj.keepAccount; + if (valueObj.memberExternalId) { + jsonDict[@"member_external_id"] = valueObj.memberExternalId; + } + if (valueObj.memberPersistentId) { + jsonDict[@"member_persistent_id"] = valueObj.memberPersistentId; + } + jsonDict[@"send_welcome_email"] = valueObj.sendWelcomeEmail; + if (valueObj.isDirectoryRestricted) { + jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; + } + jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - NSNumber *wipeData = valueDict[@"wipe_data"] ?: @YES; - DBTEAMUserSelectorArg *transferDestId = - valueDict[@"transfer_dest_id"] ? [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_dest_id"]] - : nil; - DBTEAMUserSelectorArg *transferAdminId = - valueDict[@"transfer_admin_id"] ? [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_admin_id"]] - : nil; - NSNumber *keepAccount = valueDict[@"keep_account"] ?: @NO; ++ (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)valueDict { + NSString *memberEmail = valueDict[@"member_email"]; + NSString *memberGivenName = valueDict[@"member_given_name"] ?: nil; + NSString *memberSurname = valueDict[@"member_surname"] ?: nil; + NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; + NSString *memberPersistentId = valueDict[@"member_persistent_id"] ?: nil; + NSNumber *sendWelcomeEmail = valueDict[@"send_welcome_email"] ?: @YES; + NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; + DBTEAMAdminTier *role = valueDict[@"role"] ? [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]] + : [[DBTEAMAdminTier alloc] initWithMemberOnly]; - return [[DBTEAMMembersRemoveArg alloc] initWithUser:user - wipeData:wipeData - transferDestId:transferDestId - transferAdminId:transferAdminId - keepAccount:keepAccount]; + return [[DBTEAMMemberAddArg alloc] initWithMemberEmail:memberEmail + memberGivenName:memberGivenName + memberSurname:memberSurname + memberExternalId:memberExternalId + memberPersistentId:memberPersistentId + sendWelcomeEmail:sendWelcomeEmail + isDirectoryRestricted:isDirectoryRestricted + role:role]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateError.h" -#import "DBTEAMMembersRemoveError.h" +#import "DBTEAMMemberAddResultBase.h" #pragma mark - API Object -@implementation DBTEAMMembersRemoveError +@implementation DBTEAMMemberAddResultBase + +@synthesize teamLicenseLimit = _teamLicenseLimit; +@synthesize freeTeamMemberLimitReached = _freeTeamMemberLimitReached; +@synthesize userAlreadyOnTeam = _userAlreadyOnTeam; +@synthesize userOnAnotherTeam = _userOnAnotherTeam; +@synthesize userAlreadyPaired = _userAlreadyPaired; +@synthesize userMigrationFailed = _userMigrationFailed; +@synthesize duplicateExternalMemberId = _duplicateExternalMemberId; +@synthesize duplicateMemberPersistentId = _duplicateMemberPersistentId; +@synthesize persistentIdDisabled = _persistentIdDisabled; +@synthesize userCreationFailed = _userCreationFailed; #pragma mark - Constructors -- (instancetype)initWithUserNotFound { +- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorUserNotFound; + _tag = DBTEAMMemberAddResultBaseTeamLicenseLimit; + _teamLicenseLimit = teamLicenseLimit; } return self; } -- (instancetype)initWithUserNotInTeam { +- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorUserNotInTeam; + _tag = DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached; + _freeTeamMemberLimitReached = freeTeamMemberLimitReached; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorOther; + _tag = DBTEAMMemberAddResultBaseUserAlreadyOnTeam; + _userAlreadyOnTeam = userAlreadyOnTeam; } return self; } -- (instancetype)initWithRemoveLastAdmin { +- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorRemoveLastAdmin; + _tag = DBTEAMMemberAddResultBaseUserOnAnotherTeam; + _userOnAnotherTeam = userOnAnotherTeam; } return self; } -- (instancetype)initWithRemovedAndTransferDestShouldDiffer { +- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer; + _tag = DBTEAMMemberAddResultBaseUserAlreadyPaired; + _userAlreadyPaired = userAlreadyPaired; } return self; } -- (instancetype)initWithRemovedAndTransferAdminShouldDiffer { +- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer; + _tag = DBTEAMMemberAddResultBaseUserMigrationFailed; + _userMigrationFailed = userMigrationFailed; } return self; } -- (instancetype)initWithTransferDestUserNotFound { +- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorTransferDestUserNotFound; + _tag = DBTEAMMemberAddResultBaseDuplicateExternalMemberId; + _duplicateExternalMemberId = duplicateExternalMemberId; } return self; } -- (instancetype)initWithTransferDestUserNotInTeam { +- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorTransferDestUserNotInTeam; + _tag = DBTEAMMemberAddResultBaseDuplicateMemberPersistentId; + _duplicateMemberPersistentId = duplicateMemberPersistentId; } return self; } -- (instancetype)initWithTransferAdminUserNotFound { +- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorTransferAdminUserNotFound; + _tag = DBTEAMMemberAddResultBasePersistentIdDisabled; + _persistentIdDisabled = persistentIdDisabled; } return self; } -- (instancetype)initWithTransferAdminUserNotInTeam { +- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed { self = [super init]; if (self) { - _tag = DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam; + _tag = DBTEAMMemberAddResultBaseUserCreationFailed; + _userCreationFailed = userCreationFailed; } return self; } -- (instancetype)initWithUnspecifiedTransferAdminId { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId; +#pragma mark - Instance field accessors + +- (NSString *)teamLicenseLimit { + if (![self isTeamLicenseLimit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseTeamLicenseLimit, but was %@.", [self tagName]]; } - return self; + return _teamLicenseLimit; } -- (instancetype)initWithTransferAdminIsNotAdmin { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin; +- (NSString *)freeTeamMemberLimitReached { + if (![self isFreeTeamMemberLimitReached]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached, but was %@.", + [self tagName]]; } - return self; + return _freeTeamMemberLimitReached; } -- (instancetype)initWithCannotKeepAccountAndTransfer { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer; +- (NSString *)userAlreadyOnTeam { + if (![self isUserAlreadyOnTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserAlreadyOnTeam, but was %@.", [self tagName]]; } - return self; + return _userAlreadyOnTeam; } -- (instancetype)initWithCannotKeepAccountAndDeleteData { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData; +- (NSString *)userOnAnotherTeam { + if (![self isUserOnAnotherTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserOnAnotherTeam, but was %@.", [self tagName]]; } - return self; + return _userOnAnotherTeam; } -- (instancetype)initWithEmailAddressTooLongToBeDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled; +- (NSString *)userAlreadyPaired { + if (![self isUserAlreadyPaired]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserAlreadyPaired, but was %@.", [self tagName]]; } - return self; + return _userAlreadyPaired; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersRemoveErrorUserNotFound; +- (NSString *)userMigrationFailed { + if (![self isUserMigrationFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserMigrationFailed, but was %@.", [self tagName]]; + } + return _userMigrationFailed; } -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersRemoveErrorUserNotInTeam; +- (NSString *)duplicateExternalMemberId { + if (![self isDuplicateExternalMemberId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseDuplicateExternalMemberId, but was %@.", + [self tagName]]; + } + return _duplicateExternalMemberId; } -- (BOOL)isOther { - return _tag == DBTEAMMembersRemoveErrorOther; +- (NSString *)duplicateMemberPersistentId { + if (![self isDuplicateMemberPersistentId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseDuplicateMemberPersistentId, but was %@.", + [self tagName]]; + } + return _duplicateMemberPersistentId; } -- (BOOL)isRemoveLastAdmin { - return _tag == DBTEAMMembersRemoveErrorRemoveLastAdmin; +- (NSString *)persistentIdDisabled { + if (![self isPersistentIdDisabled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBasePersistentIdDisabled, but was %@.", [self tagName]]; + } + return _persistentIdDisabled; } -- (BOOL)isRemovedAndTransferDestShouldDiffer { - return _tag == DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer; +- (NSString *)userCreationFailed { + if (![self isUserCreationFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultBaseUserCreationFailed, but was %@.", [self tagName]]; + } + return _userCreationFailed; } -- (BOOL)isRemovedAndTransferAdminShouldDiffer { - return _tag == DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer; +#pragma mark - Tag state methods + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMemberAddResultBaseTeamLicenseLimit; } -- (BOOL)isTransferDestUserNotFound { - return _tag == DBTEAMMembersRemoveErrorTransferDestUserNotFound; +- (BOOL)isFreeTeamMemberLimitReached { + return _tag == DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached; } -- (BOOL)isTransferDestUserNotInTeam { - return _tag == DBTEAMMembersRemoveErrorTransferDestUserNotInTeam; +- (BOOL)isUserAlreadyOnTeam { + return _tag == DBTEAMMemberAddResultBaseUserAlreadyOnTeam; } -- (BOOL)isTransferAdminUserNotFound { - return _tag == DBTEAMMembersRemoveErrorTransferAdminUserNotFound; +- (BOOL)isUserOnAnotherTeam { + return _tag == DBTEAMMemberAddResultBaseUserOnAnotherTeam; } -- (BOOL)isTransferAdminUserNotInTeam { - return _tag == DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam; +- (BOOL)isUserAlreadyPaired { + return _tag == DBTEAMMemberAddResultBaseUserAlreadyPaired; } -- (BOOL)isUnspecifiedTransferAdminId { - return _tag == DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId; +- (BOOL)isUserMigrationFailed { + return _tag == DBTEAMMemberAddResultBaseUserMigrationFailed; } -- (BOOL)isTransferAdminIsNotAdmin { - return _tag == DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin; +- (BOOL)isDuplicateExternalMemberId { + return _tag == DBTEAMMemberAddResultBaseDuplicateExternalMemberId; } -- (BOOL)isCannotKeepAccountAndTransfer { - return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer; +- (BOOL)isDuplicateMemberPersistentId { + return _tag == DBTEAMMemberAddResultBaseDuplicateMemberPersistentId; } -- (BOOL)isCannotKeepAccountAndDeleteData { - return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData; +- (BOOL)isPersistentIdDisabled { + return _tag == DBTEAMMemberAddResultBasePersistentIdDisabled; } -- (BOOL)isEmailAddressTooLongToBeDisabled { - return _tag == DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled; +- (BOOL)isUserCreationFailed { + return _tag == DBTEAMMemberAddResultBaseUserCreationFailed; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMembersRemoveErrorUserNotFound: - return @"DBTEAMMembersRemoveErrorUserNotFound"; - case DBTEAMMembersRemoveErrorUserNotInTeam: - return @"DBTEAMMembersRemoveErrorUserNotInTeam"; - case DBTEAMMembersRemoveErrorOther: - return @"DBTEAMMembersRemoveErrorOther"; - case DBTEAMMembersRemoveErrorRemoveLastAdmin: - return @"DBTEAMMembersRemoveErrorRemoveLastAdmin"; - case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: - return @"DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer"; - case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: - return @"DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer"; - case DBTEAMMembersRemoveErrorTransferDestUserNotFound: - return @"DBTEAMMembersRemoveErrorTransferDestUserNotFound"; - case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: - return @"DBTEAMMembersRemoveErrorTransferDestUserNotInTeam"; - case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: - return @"DBTEAMMembersRemoveErrorTransferAdminUserNotFound"; - case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: - return @"DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam"; - case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: - return @"DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId"; - case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: - return @"DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin"; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: - return @"DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer"; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: - return @"DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData"; - case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: - return @"DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled"; + case DBTEAMMemberAddResultBaseTeamLicenseLimit: + return @"DBTEAMMemberAddResultBaseTeamLicenseLimit"; + case DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached: + return @"DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached"; + case DBTEAMMemberAddResultBaseUserAlreadyOnTeam: + return @"DBTEAMMemberAddResultBaseUserAlreadyOnTeam"; + case DBTEAMMemberAddResultBaseUserOnAnotherTeam: + return @"DBTEAMMemberAddResultBaseUserOnAnotherTeam"; + case DBTEAMMemberAddResultBaseUserAlreadyPaired: + return @"DBTEAMMemberAddResultBaseUserAlreadyPaired"; + case DBTEAMMemberAddResultBaseUserMigrationFailed: + return @"DBTEAMMemberAddResultBaseUserMigrationFailed"; + case DBTEAMMemberAddResultBaseDuplicateExternalMemberId: + return @"DBTEAMMemberAddResultBaseDuplicateExternalMemberId"; + case DBTEAMMemberAddResultBaseDuplicateMemberPersistentId: + return @"DBTEAMMemberAddResultBaseDuplicateMemberPersistentId"; + case DBTEAMMemberAddResultBasePersistentIdDisabled: + return @"DBTEAMMemberAddResultBasePersistentIdDisabled"; + case DBTEAMMemberAddResultBaseUserCreationFailed: + return @"DBTEAMMemberAddResultBaseUserCreationFailed"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -18105,18 +20156,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersRemoveErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddResultBaseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersRemoveErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddResultBaseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersRemoveErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMMemberAddResultBaseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18134,36 +20185,36 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMembersRemoveErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorOther: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorRemoveLastAdmin: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorTransferDestUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: - result = prime * result + [[self tagName] hash]; + case DBTEAMMemberAddResultBaseTeamLicenseLimit: + result = prime * result + [self.teamLicenseLimit hash]; + break; + case DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached: + result = prime * result + [self.freeTeamMemberLimitReached hash]; + break; + case DBTEAMMemberAddResultBaseUserAlreadyOnTeam: + result = prime * result + [self.userAlreadyOnTeam hash]; + break; + case DBTEAMMemberAddResultBaseUserOnAnotherTeam: + result = prime * result + [self.userOnAnotherTeam hash]; + break; + case DBTEAMMemberAddResultBaseUserAlreadyPaired: + result = prime * result + [self.userAlreadyPaired hash]; + break; + case DBTEAMMemberAddResultBaseUserMigrationFailed: + result = prime * result + [self.userMigrationFailed hash]; + break; + case DBTEAMMemberAddResultBaseDuplicateExternalMemberId: + result = prime * result + [self.duplicateExternalMemberId hash]; + break; + case DBTEAMMemberAddResultBaseDuplicateMemberPersistentId: + result = prime * result + [self.duplicateMemberPersistentId hash]; + break; + case DBTEAMMemberAddResultBasePersistentIdDisabled: + result = prime * result + [self.persistentIdDisabled hash]; + break; + case DBTEAMMemberAddResultBaseUserCreationFailed: + result = prime * result + [self.userCreationFailed hash]; + break; } return prime * result; @@ -18178,47 +20229,37 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersRemoveError:other]; + return [self isEqualToMemberAddResultBase:other]; } -- (BOOL)isEqualToMembersRemoveError:(DBTEAMMembersRemoveError *)aMembersRemoveError { - if (self == aMembersRemoveError) { +- (BOOL)isEqualToMemberAddResultBase:(DBTEAMMemberAddResultBase *)aMemberAddResultBase { + if (self == aMemberAddResultBase) { return YES; } - if (self.tag != aMembersRemoveError.tag) { + if (self.tag != aMemberAddResultBase.tag) { return NO; } switch (_tag) { - case DBTEAMMembersRemoveErrorUserNotFound: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorOther: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorRemoveLastAdmin: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorTransferDestUserNotFound: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; - case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: - return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMemberAddResultBaseTeamLicenseLimit: + return [self.teamLicenseLimit isEqual:aMemberAddResultBase.teamLicenseLimit]; + case DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached: + return [self.freeTeamMemberLimitReached isEqual:aMemberAddResultBase.freeTeamMemberLimitReached]; + case DBTEAMMemberAddResultBaseUserAlreadyOnTeam: + return [self.userAlreadyOnTeam isEqual:aMemberAddResultBase.userAlreadyOnTeam]; + case DBTEAMMemberAddResultBaseUserOnAnotherTeam: + return [self.userOnAnotherTeam isEqual:aMemberAddResultBase.userOnAnotherTeam]; + case DBTEAMMemberAddResultBaseUserAlreadyPaired: + return [self.userAlreadyPaired isEqual:aMemberAddResultBase.userAlreadyPaired]; + case DBTEAMMemberAddResultBaseUserMigrationFailed: + return [self.userMigrationFailed isEqual:aMemberAddResultBase.userMigrationFailed]; + case DBTEAMMemberAddResultBaseDuplicateExternalMemberId: + return [self.duplicateExternalMemberId isEqual:aMemberAddResultBase.duplicateExternalMemberId]; + case DBTEAMMemberAddResultBaseDuplicateMemberPersistentId: + return [self.duplicateMemberPersistentId isEqual:aMemberAddResultBase.duplicateMemberPersistentId]; + case DBTEAMMemberAddResultBasePersistentIdDisabled: + return [self.persistentIdDisabled isEqual:aMemberAddResultBase.persistentIdDisabled]; + case DBTEAMMemberAddResultBaseUserCreationFailed: + return [self.userCreationFailed isEqual:aMemberAddResultBase.userCreationFailed]; } return YES; } @@ -18227,83 +20268,13868 @@ - (BOOL)isEqualToMembersRemoveError:(DBTEAMMembersRemoveError *)aMembersRemoveEr #pragma mark - Serializer Object -@implementation DBTEAMMembersRemoveErrorSerializer +@implementation DBTEAMMemberAddResultBaseSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersRemoveError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMMemberAddResultBase *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isRemoveLastAdmin]) { - jsonDict[@".tag"] = @"remove_last_admin"; - } else if ([valueObj isRemovedAndTransferDestShouldDiffer]) { - jsonDict[@".tag"] = @"removed_and_transfer_dest_should_differ"; - } else if ([valueObj isRemovedAndTransferAdminShouldDiffer]) { - jsonDict[@".tag"] = @"removed_and_transfer_admin_should_differ"; - } else if ([valueObj isTransferDestUserNotFound]) { - jsonDict[@".tag"] = @"transfer_dest_user_not_found"; - } else if ([valueObj isTransferDestUserNotInTeam]) { - jsonDict[@".tag"] = @"transfer_dest_user_not_in_team"; - } else if ([valueObj isTransferAdminUserNotFound]) { - jsonDict[@".tag"] = @"transfer_admin_user_not_found"; - } else if ([valueObj isTransferAdminUserNotInTeam]) { - jsonDict[@".tag"] = @"transfer_admin_user_not_in_team"; - } else if ([valueObj isUnspecifiedTransferAdminId]) { - jsonDict[@".tag"] = @"unspecified_transfer_admin_id"; - } else if ([valueObj isTransferAdminIsNotAdmin]) { - jsonDict[@".tag"] = @"transfer_admin_is_not_admin"; - } else if ([valueObj isCannotKeepAccountAndTransfer]) { - jsonDict[@".tag"] = @"cannot_keep_account_and_transfer"; - } else if ([valueObj isCannotKeepAccountAndDeleteData]) { - jsonDict[@".tag"] = @"cannot_keep_account_and_delete_data"; - } else if ([valueObj isEmailAddressTooLongToBeDisabled]) { - jsonDict[@".tag"] = @"email_address_too_long_to_be_disabled"; + if ([valueObj isTeamLicenseLimit]) { + jsonDict[@"team_license_limit"] = valueObj.teamLicenseLimit; + jsonDict[@".tag"] = @"team_license_limit"; + } else if ([valueObj isFreeTeamMemberLimitReached]) { + jsonDict[@"free_team_member_limit_reached"] = valueObj.freeTeamMemberLimitReached; + jsonDict[@".tag"] = @"free_team_member_limit_reached"; + } else if ([valueObj isUserAlreadyOnTeam]) { + jsonDict[@"user_already_on_team"] = valueObj.userAlreadyOnTeam; + jsonDict[@".tag"] = @"user_already_on_team"; + } else if ([valueObj isUserOnAnotherTeam]) { + jsonDict[@"user_on_another_team"] = valueObj.userOnAnotherTeam; + jsonDict[@".tag"] = @"user_on_another_team"; + } else if ([valueObj isUserAlreadyPaired]) { + jsonDict[@"user_already_paired"] = valueObj.userAlreadyPaired; + jsonDict[@".tag"] = @"user_already_paired"; + } else if ([valueObj isUserMigrationFailed]) { + jsonDict[@"user_migration_failed"] = valueObj.userMigrationFailed; + jsonDict[@".tag"] = @"user_migration_failed"; + } else if ([valueObj isDuplicateExternalMemberId]) { + jsonDict[@"duplicate_external_member_id"] = valueObj.duplicateExternalMemberId; + jsonDict[@".tag"] = @"duplicate_external_member_id"; + } else if ([valueObj isDuplicateMemberPersistentId]) { + jsonDict[@"duplicate_member_persistent_id"] = valueObj.duplicateMemberPersistentId; + jsonDict[@".tag"] = @"duplicate_member_persistent_id"; + } else if ([valueObj isPersistentIdDisabled]) { + jsonDict[@"persistent_id_disabled"] = valueObj.persistentIdDisabled; + jsonDict[@".tag"] = @"persistent_id_disabled"; + } else if ([valueObj isUserCreationFailed]) { + jsonDict[@"user_creation_failed"] = valueObj.userCreationFailed; + jsonDict[@".tag"] = @"user_creation_failed"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMMemberAddResultBase *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersRemoveError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { + if ([tag isEqualToString:@"team_license_limit"]) { + NSString *teamLicenseLimit = valueDict[@"team_license_limit"]; + return [[DBTEAMMemberAddResultBase alloc] initWithTeamLicenseLimit:teamLicenseLimit]; + } else if ([tag isEqualToString:@"free_team_member_limit_reached"]) { + NSString *freeTeamMemberLimitReached = valueDict[@"free_team_member_limit_reached"]; + return [[DBTEAMMemberAddResultBase alloc] initWithFreeTeamMemberLimitReached:freeTeamMemberLimitReached]; + } else if ([tag isEqualToString:@"user_already_on_team"]) { + NSString *userAlreadyOnTeam = valueDict[@"user_already_on_team"]; + return [[DBTEAMMemberAddResultBase alloc] initWithUserAlreadyOnTeam:userAlreadyOnTeam]; + } else if ([tag isEqualToString:@"user_on_another_team"]) { + NSString *userOnAnotherTeam = valueDict[@"user_on_another_team"]; + return [[DBTEAMMemberAddResultBase alloc] initWithUserOnAnotherTeam:userOnAnotherTeam]; + } else if ([tag isEqualToString:@"user_already_paired"]) { + NSString *userAlreadyPaired = valueDict[@"user_already_paired"]; + return [[DBTEAMMemberAddResultBase alloc] initWithUserAlreadyPaired:userAlreadyPaired]; + } else if ([tag isEqualToString:@"user_migration_failed"]) { + NSString *userMigrationFailed = valueDict[@"user_migration_failed"]; + return [[DBTEAMMemberAddResultBase alloc] initWithUserMigrationFailed:userMigrationFailed]; + } else if ([tag isEqualToString:@"duplicate_external_member_id"]) { + NSString *duplicateExternalMemberId = valueDict[@"duplicate_external_member_id"]; + return [[DBTEAMMemberAddResultBase alloc] initWithDuplicateExternalMemberId:duplicateExternalMemberId]; + } else if ([tag isEqualToString:@"duplicate_member_persistent_id"]) { + NSString *duplicateMemberPersistentId = valueDict[@"duplicate_member_persistent_id"]; + return [[DBTEAMMemberAddResultBase alloc] initWithDuplicateMemberPersistentId:duplicateMemberPersistentId]; + } else if ([tag isEqualToString:@"persistent_id_disabled"]) { + NSString *persistentIdDisabled = valueDict[@"persistent_id_disabled"]; + return [[DBTEAMMemberAddResultBase alloc] initWithPersistentIdDisabled:persistentIdDisabled]; + } else if ([tag isEqualToString:@"user_creation_failed"]) { + NSString *userCreationFailed = valueDict[@"user_creation_failed"]; + return [[DBTEAMMemberAddResultBase alloc] initWithUserCreationFailed:userCreationFailed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddResult.h" +#import "DBTEAMMemberAddResultBase.h" +#import "DBTEAMTeamMemberInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberAddResult + +@synthesize teamLicenseLimit = _teamLicenseLimit; +@synthesize freeTeamMemberLimitReached = _freeTeamMemberLimitReached; +@synthesize userAlreadyOnTeam = _userAlreadyOnTeam; +@synthesize userOnAnotherTeam = _userOnAnotherTeam; +@synthesize userAlreadyPaired = _userAlreadyPaired; +@synthesize userMigrationFailed = _userMigrationFailed; +@synthesize duplicateExternalMemberId = _duplicateExternalMemberId; +@synthesize duplicateMemberPersistentId = _duplicateMemberPersistentId; +@synthesize persistentIdDisabled = _persistentIdDisabled; +@synthesize userCreationFailed = _userCreationFailed; +@synthesize success = _success; + +#pragma mark - Constructors + +- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultTeamLicenseLimit; + _teamLicenseLimit = teamLicenseLimit; + } + return self; +} + +- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultFreeTeamMemberLimitReached; + _freeTeamMemberLimitReached = freeTeamMemberLimitReached; + } + return self; +} + +- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultUserAlreadyOnTeam; + _userAlreadyOnTeam = userAlreadyOnTeam; + } + return self; +} + +- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultUserOnAnotherTeam; + _userOnAnotherTeam = userOnAnotherTeam; + } + return self; +} + +- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultUserAlreadyPaired; + _userAlreadyPaired = userAlreadyPaired; + } + return self; +} + +- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultUserMigrationFailed; + _userMigrationFailed = userMigrationFailed; + } + return self; +} + +- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultDuplicateExternalMemberId; + _duplicateExternalMemberId = duplicateExternalMemberId; + } + return self; +} + +- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultDuplicateMemberPersistentId; + _duplicateMemberPersistentId = duplicateMemberPersistentId; + } + return self; +} + +- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultPersistentIdDisabled; + _persistentIdDisabled = persistentIdDisabled; + } + return self; +} + +- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultUserCreationFailed; + _userCreationFailed = userCreationFailed; + } + return self; +} + +- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfo *)success { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddResultSuccess; + _success = success; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)teamLicenseLimit { + if (![self isTeamLicenseLimit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultTeamLicenseLimit, but was %@.", [self tagName]]; + } + return _teamLicenseLimit; +} + +- (NSString *)freeTeamMemberLimitReached { + if (![self isFreeTeamMemberLimitReached]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultFreeTeamMemberLimitReached, but was %@.", [self tagName]]; + } + return _freeTeamMemberLimitReached; +} + +- (NSString *)userAlreadyOnTeam { + if (![self isUserAlreadyOnTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultUserAlreadyOnTeam, but was %@.", [self tagName]]; + } + return _userAlreadyOnTeam; +} + +- (NSString *)userOnAnotherTeam { + if (![self isUserOnAnotherTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultUserOnAnotherTeam, but was %@.", [self tagName]]; + } + return _userOnAnotherTeam; +} + +- (NSString *)userAlreadyPaired { + if (![self isUserAlreadyPaired]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultUserAlreadyPaired, but was %@.", [self tagName]]; + } + return _userAlreadyPaired; +} + +- (NSString *)userMigrationFailed { + if (![self isUserMigrationFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultUserMigrationFailed, but was %@.", [self tagName]]; + } + return _userMigrationFailed; +} + +- (NSString *)duplicateExternalMemberId { + if (![self isDuplicateExternalMemberId]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultDuplicateExternalMemberId, but was %@.", [self tagName]]; + } + return _duplicateExternalMemberId; +} + +- (NSString *)duplicateMemberPersistentId { + if (![self isDuplicateMemberPersistentId]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultDuplicateMemberPersistentId, but was %@.", [self tagName]]; + } + return _duplicateMemberPersistentId; +} + +- (NSString *)persistentIdDisabled { + if (![self isPersistentIdDisabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultPersistentIdDisabled, but was %@.", [self tagName]]; + } + return _persistentIdDisabled; +} + +- (NSString *)userCreationFailed { + if (![self isUserCreationFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultUserCreationFailed, but was %@.", [self tagName]]; + } + return _userCreationFailed; +} + +- (DBTEAMTeamMemberInfo *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +#pragma mark - Tag state methods + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMemberAddResultTeamLicenseLimit; +} + +- (BOOL)isFreeTeamMemberLimitReached { + return _tag == DBTEAMMemberAddResultFreeTeamMemberLimitReached; +} + +- (BOOL)isUserAlreadyOnTeam { + return _tag == DBTEAMMemberAddResultUserAlreadyOnTeam; +} + +- (BOOL)isUserOnAnotherTeam { + return _tag == DBTEAMMemberAddResultUserOnAnotherTeam; +} + +- (BOOL)isUserAlreadyPaired { + return _tag == DBTEAMMemberAddResultUserAlreadyPaired; +} + +- (BOOL)isUserMigrationFailed { + return _tag == DBTEAMMemberAddResultUserMigrationFailed; +} + +- (BOOL)isDuplicateExternalMemberId { + return _tag == DBTEAMMemberAddResultDuplicateExternalMemberId; +} + +- (BOOL)isDuplicateMemberPersistentId { + return _tag == DBTEAMMemberAddResultDuplicateMemberPersistentId; +} + +- (BOOL)isPersistentIdDisabled { + return _tag == DBTEAMMemberAddResultPersistentIdDisabled; +} + +- (BOOL)isUserCreationFailed { + return _tag == DBTEAMMemberAddResultUserCreationFailed; +} + +- (BOOL)isSuccess { + return _tag == DBTEAMMemberAddResultSuccess; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMemberAddResultTeamLicenseLimit: + return @"DBTEAMMemberAddResultTeamLicenseLimit"; + case DBTEAMMemberAddResultFreeTeamMemberLimitReached: + return @"DBTEAMMemberAddResultFreeTeamMemberLimitReached"; + case DBTEAMMemberAddResultUserAlreadyOnTeam: + return @"DBTEAMMemberAddResultUserAlreadyOnTeam"; + case DBTEAMMemberAddResultUserOnAnotherTeam: + return @"DBTEAMMemberAddResultUserOnAnotherTeam"; + case DBTEAMMemberAddResultUserAlreadyPaired: + return @"DBTEAMMemberAddResultUserAlreadyPaired"; + case DBTEAMMemberAddResultUserMigrationFailed: + return @"DBTEAMMemberAddResultUserMigrationFailed"; + case DBTEAMMemberAddResultDuplicateExternalMemberId: + return @"DBTEAMMemberAddResultDuplicateExternalMemberId"; + case DBTEAMMemberAddResultDuplicateMemberPersistentId: + return @"DBTEAMMemberAddResultDuplicateMemberPersistentId"; + case DBTEAMMemberAddResultPersistentIdDisabled: + return @"DBTEAMMemberAddResultPersistentIdDisabled"; + case DBTEAMMemberAddResultUserCreationFailed: + return @"DBTEAMMemberAddResultUserCreationFailed"; + case DBTEAMMemberAddResultSuccess: + return @"DBTEAMMemberAddResultSuccess"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberAddResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMemberAddResultTeamLicenseLimit: + result = prime * result + [self.teamLicenseLimit hash]; + break; + case DBTEAMMemberAddResultFreeTeamMemberLimitReached: + result = prime * result + [self.freeTeamMemberLimitReached hash]; + break; + case DBTEAMMemberAddResultUserAlreadyOnTeam: + result = prime * result + [self.userAlreadyOnTeam hash]; + break; + case DBTEAMMemberAddResultUserOnAnotherTeam: + result = prime * result + [self.userOnAnotherTeam hash]; + break; + case DBTEAMMemberAddResultUserAlreadyPaired: + result = prime * result + [self.userAlreadyPaired hash]; + break; + case DBTEAMMemberAddResultUserMigrationFailed: + result = prime * result + [self.userMigrationFailed hash]; + break; + case DBTEAMMemberAddResultDuplicateExternalMemberId: + result = prime * result + [self.duplicateExternalMemberId hash]; + break; + case DBTEAMMemberAddResultDuplicateMemberPersistentId: + result = prime * result + [self.duplicateMemberPersistentId hash]; + break; + case DBTEAMMemberAddResultPersistentIdDisabled: + result = prime * result + [self.persistentIdDisabled hash]; + break; + case DBTEAMMemberAddResultUserCreationFailed: + result = prime * result + [self.userCreationFailed hash]; + break; + case DBTEAMMemberAddResultSuccess: + result = prime * result + [self.success hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddResult:other]; +} + +- (BOOL)isEqualToMemberAddResult:(DBTEAMMemberAddResult *)aMemberAddResult { + if (self == aMemberAddResult) { + return YES; + } + if (self.tag != aMemberAddResult.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMemberAddResultTeamLicenseLimit: + return [self.teamLicenseLimit isEqual:aMemberAddResult.teamLicenseLimit]; + case DBTEAMMemberAddResultFreeTeamMemberLimitReached: + return [self.freeTeamMemberLimitReached isEqual:aMemberAddResult.freeTeamMemberLimitReached]; + case DBTEAMMemberAddResultUserAlreadyOnTeam: + return [self.userAlreadyOnTeam isEqual:aMemberAddResult.userAlreadyOnTeam]; + case DBTEAMMemberAddResultUserOnAnotherTeam: + return [self.userOnAnotherTeam isEqual:aMemberAddResult.userOnAnotherTeam]; + case DBTEAMMemberAddResultUserAlreadyPaired: + return [self.userAlreadyPaired isEqual:aMemberAddResult.userAlreadyPaired]; + case DBTEAMMemberAddResultUserMigrationFailed: + return [self.userMigrationFailed isEqual:aMemberAddResult.userMigrationFailed]; + case DBTEAMMemberAddResultDuplicateExternalMemberId: + return [self.duplicateExternalMemberId isEqual:aMemberAddResult.duplicateExternalMemberId]; + case DBTEAMMemberAddResultDuplicateMemberPersistentId: + return [self.duplicateMemberPersistentId isEqual:aMemberAddResult.duplicateMemberPersistentId]; + case DBTEAMMemberAddResultPersistentIdDisabled: + return [self.persistentIdDisabled isEqual:aMemberAddResult.persistentIdDisabled]; + case DBTEAMMemberAddResultUserCreationFailed: + return [self.userCreationFailed isEqual:aMemberAddResult.userCreationFailed]; + case DBTEAMMemberAddResultSuccess: + return [self.success isEqual:aMemberAddResult.success]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberAddResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberAddResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isTeamLicenseLimit]) { + jsonDict[@"team_license_limit"] = valueObj.teamLicenseLimit; + jsonDict[@".tag"] = @"team_license_limit"; + } else if ([valueObj isFreeTeamMemberLimitReached]) { + jsonDict[@"free_team_member_limit_reached"] = valueObj.freeTeamMemberLimitReached; + jsonDict[@".tag"] = @"free_team_member_limit_reached"; + } else if ([valueObj isUserAlreadyOnTeam]) { + jsonDict[@"user_already_on_team"] = valueObj.userAlreadyOnTeam; + jsonDict[@".tag"] = @"user_already_on_team"; + } else if ([valueObj isUserOnAnotherTeam]) { + jsonDict[@"user_on_another_team"] = valueObj.userOnAnotherTeam; + jsonDict[@".tag"] = @"user_on_another_team"; + } else if ([valueObj isUserAlreadyPaired]) { + jsonDict[@"user_already_paired"] = valueObj.userAlreadyPaired; + jsonDict[@".tag"] = @"user_already_paired"; + } else if ([valueObj isUserMigrationFailed]) { + jsonDict[@"user_migration_failed"] = valueObj.userMigrationFailed; + jsonDict[@".tag"] = @"user_migration_failed"; + } else if ([valueObj isDuplicateExternalMemberId]) { + jsonDict[@"duplicate_external_member_id"] = valueObj.duplicateExternalMemberId; + jsonDict[@".tag"] = @"duplicate_external_member_id"; + } else if ([valueObj isDuplicateMemberPersistentId]) { + jsonDict[@"duplicate_member_persistent_id"] = valueObj.duplicateMemberPersistentId; + jsonDict[@".tag"] = @"duplicate_member_persistent_id"; + } else if ([valueObj isPersistentIdDisabled]) { + jsonDict[@"persistent_id_disabled"] = valueObj.persistentIdDisabled; + jsonDict[@".tag"] = @"persistent_id_disabled"; + } else if ([valueObj isUserCreationFailed]) { + jsonDict[@"user_creation_failed"] = valueObj.userCreationFailed; + jsonDict[@".tag"] = @"user_creation_failed"; + } else if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamMemberInfoSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"team_license_limit"]) { + NSString *teamLicenseLimit = valueDict[@"team_license_limit"]; + return [[DBTEAMMemberAddResult alloc] initWithTeamLicenseLimit:teamLicenseLimit]; + } else if ([tag isEqualToString:@"free_team_member_limit_reached"]) { + NSString *freeTeamMemberLimitReached = valueDict[@"free_team_member_limit_reached"]; + return [[DBTEAMMemberAddResult alloc] initWithFreeTeamMemberLimitReached:freeTeamMemberLimitReached]; + } else if ([tag isEqualToString:@"user_already_on_team"]) { + NSString *userAlreadyOnTeam = valueDict[@"user_already_on_team"]; + return [[DBTEAMMemberAddResult alloc] initWithUserAlreadyOnTeam:userAlreadyOnTeam]; + } else if ([tag isEqualToString:@"user_on_another_team"]) { + NSString *userOnAnotherTeam = valueDict[@"user_on_another_team"]; + return [[DBTEAMMemberAddResult alloc] initWithUserOnAnotherTeam:userOnAnotherTeam]; + } else if ([tag isEqualToString:@"user_already_paired"]) { + NSString *userAlreadyPaired = valueDict[@"user_already_paired"]; + return [[DBTEAMMemberAddResult alloc] initWithUserAlreadyPaired:userAlreadyPaired]; + } else if ([tag isEqualToString:@"user_migration_failed"]) { + NSString *userMigrationFailed = valueDict[@"user_migration_failed"]; + return [[DBTEAMMemberAddResult alloc] initWithUserMigrationFailed:userMigrationFailed]; + } else if ([tag isEqualToString:@"duplicate_external_member_id"]) { + NSString *duplicateExternalMemberId = valueDict[@"duplicate_external_member_id"]; + return [[DBTEAMMemberAddResult alloc] initWithDuplicateExternalMemberId:duplicateExternalMemberId]; + } else if ([tag isEqualToString:@"duplicate_member_persistent_id"]) { + NSString *duplicateMemberPersistentId = valueDict[@"duplicate_member_persistent_id"]; + return [[DBTEAMMemberAddResult alloc] initWithDuplicateMemberPersistentId:duplicateMemberPersistentId]; + } else if ([tag isEqualToString:@"persistent_id_disabled"]) { + NSString *persistentIdDisabled = valueDict[@"persistent_id_disabled"]; + return [[DBTEAMMemberAddResult alloc] initWithPersistentIdDisabled:persistentIdDisabled]; + } else if ([tag isEqualToString:@"user_creation_failed"]) { + NSString *userCreationFailed = valueDict[@"user_creation_failed"]; + return [[DBTEAMMemberAddResult alloc] initWithUserCreationFailed:userCreationFailed]; + } else if ([tag isEqualToString:@"success"]) { + DBTEAMTeamMemberInfo *success = [DBTEAMTeamMemberInfoSerializer deserialize:valueDict]; + return [[DBTEAMMemberAddResult alloc] initWithSuccess:success]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddArgBase.h" +#import "DBTEAMMemberAddV2Arg.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberAddV2Arg + +#pragma mark - Constructors + +- (instancetype)initWithMemberEmail:(NSString *)memberEmail + memberGivenName:(NSString *)memberGivenName + memberSurname:(NSString *)memberSurname + memberExternalId:(NSString *)memberExternalId + memberPersistentId:(NSString *)memberPersistentId + sendWelcomeEmail:(NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(NSNumber *)isDirectoryRestricted + roleIds:(NSArray *)roleIds { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" + @"9.-]*\\.[A-Za-z]{2,15}$"]](memberEmail); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]]( + memberGivenName); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](memberSurname); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); + [DBStoneValidators + nullableValidator:[DBStoneValidators + arrayValidator:nil + maxItems:@(1) + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(128) + pattern:@"pid_dbtmr:.*"]]]]( + roleIds); + + self = [super initWithMemberEmail:memberEmail + memberGivenName:memberGivenName + memberSurname:memberSurname + memberExternalId:memberExternalId + memberPersistentId:memberPersistentId + sendWelcomeEmail:sendWelcomeEmail + isDirectoryRestricted:isDirectoryRestricted]; + if (self) { + _roleIds = roleIds; + } + return self; +} + +- (instancetype)initWithMemberEmail:(NSString *)memberEmail { + return [self initWithMemberEmail:memberEmail + memberGivenName:nil + memberSurname:nil + memberExternalId:nil + memberPersistentId:nil + sendWelcomeEmail:nil + isDirectoryRestricted:nil + roleIds:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddV2ArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddV2ArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberAddV2ArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.memberEmail hash]; + if (self.memberGivenName != nil) { + result = prime * result + [self.memberGivenName hash]; + } + if (self.memberSurname != nil) { + result = prime * result + [self.memberSurname hash]; + } + if (self.memberExternalId != nil) { + result = prime * result + [self.memberExternalId hash]; + } + if (self.memberPersistentId != nil) { + result = prime * result + [self.memberPersistentId hash]; + } + result = prime * result + [self.sendWelcomeEmail hash]; + if (self.isDirectoryRestricted != nil) { + result = prime * result + [self.isDirectoryRestricted hash]; + } + if (self.roleIds != nil) { + result = prime * result + [self.roleIds hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddV2Arg:other]; +} + +- (BOOL)isEqualToMemberAddV2Arg:(DBTEAMMemberAddV2Arg *)aMemberAddV2Arg { + if (self == aMemberAddV2Arg) { + return YES; + } + if (![self.memberEmail isEqual:aMemberAddV2Arg.memberEmail]) { + return NO; + } + if (self.memberGivenName) { + if (![self.memberGivenName isEqual:aMemberAddV2Arg.memberGivenName]) { + return NO; + } + } + if (self.memberSurname) { + if (![self.memberSurname isEqual:aMemberAddV2Arg.memberSurname]) { + return NO; + } + } + if (self.memberExternalId) { + if (![self.memberExternalId isEqual:aMemberAddV2Arg.memberExternalId]) { + return NO; + } + } + if (self.memberPersistentId) { + if (![self.memberPersistentId isEqual:aMemberAddV2Arg.memberPersistentId]) { + return NO; + } + } + if (![self.sendWelcomeEmail isEqual:aMemberAddV2Arg.sendWelcomeEmail]) { + return NO; + } + if (self.isDirectoryRestricted) { + if (![self.isDirectoryRestricted isEqual:aMemberAddV2Arg.isDirectoryRestricted]) { + return NO; + } + } + if (self.roleIds) { + if (![self.roleIds isEqual:aMemberAddV2Arg.roleIds]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberAddV2ArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberAddV2Arg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"member_email"] = valueObj.memberEmail; + if (valueObj.memberGivenName) { + jsonDict[@"member_given_name"] = valueObj.memberGivenName; + } + if (valueObj.memberSurname) { + jsonDict[@"member_surname"] = valueObj.memberSurname; + } + if (valueObj.memberExternalId) { + jsonDict[@"member_external_id"] = valueObj.memberExternalId; + } + if (valueObj.memberPersistentId) { + jsonDict[@"member_persistent_id"] = valueObj.memberPersistentId; + } + jsonDict[@"send_welcome_email"] = valueObj.sendWelcomeEmail; + if (valueObj.isDirectoryRestricted) { + jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; + } + if (valueObj.roleIds) { + jsonDict[@"role_ids"] = [DBArraySerializer serialize:valueObj.roleIds + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBTEAMMemberAddV2Arg *)deserialize:(NSDictionary *)valueDict { + NSString *memberEmail = valueDict[@"member_email"]; + NSString *memberGivenName = valueDict[@"member_given_name"] ?: nil; + NSString *memberSurname = valueDict[@"member_surname"] ?: nil; + NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; + NSString *memberPersistentId = valueDict[@"member_persistent_id"] ?: nil; + NSNumber *sendWelcomeEmail = valueDict[@"send_welcome_email"] ?: @YES; + NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; + NSArray *roleIds = valueDict[@"role_ids"] ? [DBArraySerializer deserialize:valueDict[@"role_ids"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBTEAMMemberAddV2Arg alloc] initWithMemberEmail:memberEmail + memberGivenName:memberGivenName + memberSurname:memberSurname + memberExternalId:memberExternalId + memberPersistentId:memberPersistentId + sendWelcomeEmail:sendWelcomeEmail + isDirectoryRestricted:isDirectoryRestricted + roleIds:roleIds]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddResultBase.h" +#import "DBTEAMMemberAddV2Result.h" +#import "DBTEAMTeamMemberInfoV2.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberAddV2Result + +@synthesize teamLicenseLimit = _teamLicenseLimit; +@synthesize freeTeamMemberLimitReached = _freeTeamMemberLimitReached; +@synthesize userAlreadyOnTeam = _userAlreadyOnTeam; +@synthesize userOnAnotherTeam = _userOnAnotherTeam; +@synthesize userAlreadyPaired = _userAlreadyPaired; +@synthesize userMigrationFailed = _userMigrationFailed; +@synthesize duplicateExternalMemberId = _duplicateExternalMemberId; +@synthesize duplicateMemberPersistentId = _duplicateMemberPersistentId; +@synthesize persistentIdDisabled = _persistentIdDisabled; +@synthesize userCreationFailed = _userCreationFailed; +@synthesize success = _success; + +#pragma mark - Constructors + +- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultTeamLicenseLimit; + _teamLicenseLimit = teamLicenseLimit; + } + return self; +} + +- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached; + _freeTeamMemberLimitReached = freeTeamMemberLimitReached; + } + return self; +} + +- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultUserAlreadyOnTeam; + _userAlreadyOnTeam = userAlreadyOnTeam; + } + return self; +} + +- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultUserOnAnotherTeam; + _userOnAnotherTeam = userOnAnotherTeam; + } + return self; +} + +- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultUserAlreadyPaired; + _userAlreadyPaired = userAlreadyPaired; + } + return self; +} + +- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultUserMigrationFailed; + _userMigrationFailed = userMigrationFailed; + } + return self; +} + +- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultDuplicateExternalMemberId; + _duplicateExternalMemberId = duplicateExternalMemberId; + } + return self; +} + +- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultDuplicateMemberPersistentId; + _duplicateMemberPersistentId = duplicateMemberPersistentId; + } + return self; +} + +- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultPersistentIdDisabled; + _persistentIdDisabled = persistentIdDisabled; + } + return self; +} + +- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultUserCreationFailed; + _userCreationFailed = userCreationFailed; + } + return self; +} + +- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfoV2 *)success { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMemberAddV2ResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)teamLicenseLimit { + if (![self isTeamLicenseLimit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultTeamLicenseLimit, but was %@.", [self tagName]]; + } + return _teamLicenseLimit; +} + +- (NSString *)freeTeamMemberLimitReached { + if (![self isFreeTeamMemberLimitReached]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached, but was %@.", [self tagName]]; + } + return _freeTeamMemberLimitReached; +} + +- (NSString *)userAlreadyOnTeam { + if (![self isUserAlreadyOnTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultUserAlreadyOnTeam, but was %@.", [self tagName]]; + } + return _userAlreadyOnTeam; +} + +- (NSString *)userOnAnotherTeam { + if (![self isUserOnAnotherTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultUserOnAnotherTeam, but was %@.", [self tagName]]; + } + return _userOnAnotherTeam; +} + +- (NSString *)userAlreadyPaired { + if (![self isUserAlreadyPaired]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultUserAlreadyPaired, but was %@.", [self tagName]]; + } + return _userAlreadyPaired; +} + +- (NSString *)userMigrationFailed { + if (![self isUserMigrationFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultUserMigrationFailed, but was %@.", [self tagName]]; + } + return _userMigrationFailed; +} + +- (NSString *)duplicateExternalMemberId { + if (![self isDuplicateExternalMemberId]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultDuplicateExternalMemberId, but was %@.", [self tagName]]; + } + return _duplicateExternalMemberId; +} + +- (NSString *)duplicateMemberPersistentId { + if (![self isDuplicateMemberPersistentId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultDuplicateMemberPersistentId, but was %@.", + [self tagName]]; + } + return _duplicateMemberPersistentId; +} + +- (NSString *)persistentIdDisabled { + if (![self isPersistentIdDisabled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultPersistentIdDisabled, but was %@.", [self tagName]]; + } + return _persistentIdDisabled; +} + +- (NSString *)userCreationFailed { + if (![self isUserCreationFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultUserCreationFailed, but was %@.", [self tagName]]; + } + return _userCreationFailed; +} + +- (DBTEAMTeamMemberInfoV2 *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMemberAddV2ResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +#pragma mark - Tag state methods + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMemberAddV2ResultTeamLicenseLimit; +} + +- (BOOL)isFreeTeamMemberLimitReached { + return _tag == DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached; +} + +- (BOOL)isUserAlreadyOnTeam { + return _tag == DBTEAMMemberAddV2ResultUserAlreadyOnTeam; +} + +- (BOOL)isUserOnAnotherTeam { + return _tag == DBTEAMMemberAddV2ResultUserOnAnotherTeam; +} + +- (BOOL)isUserAlreadyPaired { + return _tag == DBTEAMMemberAddV2ResultUserAlreadyPaired; +} + +- (BOOL)isUserMigrationFailed { + return _tag == DBTEAMMemberAddV2ResultUserMigrationFailed; +} + +- (BOOL)isDuplicateExternalMemberId { + return _tag == DBTEAMMemberAddV2ResultDuplicateExternalMemberId; +} + +- (BOOL)isDuplicateMemberPersistentId { + return _tag == DBTEAMMemberAddV2ResultDuplicateMemberPersistentId; +} + +- (BOOL)isPersistentIdDisabled { + return _tag == DBTEAMMemberAddV2ResultPersistentIdDisabled; +} + +- (BOOL)isUserCreationFailed { + return _tag == DBTEAMMemberAddV2ResultUserCreationFailed; +} + +- (BOOL)isSuccess { + return _tag == DBTEAMMemberAddV2ResultSuccess; +} + +- (BOOL)isOther { + return _tag == DBTEAMMemberAddV2ResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMemberAddV2ResultTeamLicenseLimit: + return @"DBTEAMMemberAddV2ResultTeamLicenseLimit"; + case DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached: + return @"DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached"; + case DBTEAMMemberAddV2ResultUserAlreadyOnTeam: + return @"DBTEAMMemberAddV2ResultUserAlreadyOnTeam"; + case DBTEAMMemberAddV2ResultUserOnAnotherTeam: + return @"DBTEAMMemberAddV2ResultUserOnAnotherTeam"; + case DBTEAMMemberAddV2ResultUserAlreadyPaired: + return @"DBTEAMMemberAddV2ResultUserAlreadyPaired"; + case DBTEAMMemberAddV2ResultUserMigrationFailed: + return @"DBTEAMMemberAddV2ResultUserMigrationFailed"; + case DBTEAMMemberAddV2ResultDuplicateExternalMemberId: + return @"DBTEAMMemberAddV2ResultDuplicateExternalMemberId"; + case DBTEAMMemberAddV2ResultDuplicateMemberPersistentId: + return @"DBTEAMMemberAddV2ResultDuplicateMemberPersistentId"; + case DBTEAMMemberAddV2ResultPersistentIdDisabled: + return @"DBTEAMMemberAddV2ResultPersistentIdDisabled"; + case DBTEAMMemberAddV2ResultUserCreationFailed: + return @"DBTEAMMemberAddV2ResultUserCreationFailed"; + case DBTEAMMemberAddV2ResultSuccess: + return @"DBTEAMMemberAddV2ResultSuccess"; + case DBTEAMMemberAddV2ResultOther: + return @"DBTEAMMemberAddV2ResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberAddV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberAddV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberAddV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMemberAddV2ResultTeamLicenseLimit: + result = prime * result + [self.teamLicenseLimit hash]; + break; + case DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached: + result = prime * result + [self.freeTeamMemberLimitReached hash]; + break; + case DBTEAMMemberAddV2ResultUserAlreadyOnTeam: + result = prime * result + [self.userAlreadyOnTeam hash]; + break; + case DBTEAMMemberAddV2ResultUserOnAnotherTeam: + result = prime * result + [self.userOnAnotherTeam hash]; + break; + case DBTEAMMemberAddV2ResultUserAlreadyPaired: + result = prime * result + [self.userAlreadyPaired hash]; + break; + case DBTEAMMemberAddV2ResultUserMigrationFailed: + result = prime * result + [self.userMigrationFailed hash]; + break; + case DBTEAMMemberAddV2ResultDuplicateExternalMemberId: + result = prime * result + [self.duplicateExternalMemberId hash]; + break; + case DBTEAMMemberAddV2ResultDuplicateMemberPersistentId: + result = prime * result + [self.duplicateMemberPersistentId hash]; + break; + case DBTEAMMemberAddV2ResultPersistentIdDisabled: + result = prime * result + [self.persistentIdDisabled hash]; + break; + case DBTEAMMemberAddV2ResultUserCreationFailed: + result = prime * result + [self.userCreationFailed hash]; + break; + case DBTEAMMemberAddV2ResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMMemberAddV2ResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddV2Result:other]; +} + +- (BOOL)isEqualToMemberAddV2Result:(DBTEAMMemberAddV2Result *)aMemberAddV2Result { + if (self == aMemberAddV2Result) { + return YES; + } + if (self.tag != aMemberAddV2Result.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMemberAddV2ResultTeamLicenseLimit: + return [self.teamLicenseLimit isEqual:aMemberAddV2Result.teamLicenseLimit]; + case DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached: + return [self.freeTeamMemberLimitReached isEqual:aMemberAddV2Result.freeTeamMemberLimitReached]; + case DBTEAMMemberAddV2ResultUserAlreadyOnTeam: + return [self.userAlreadyOnTeam isEqual:aMemberAddV2Result.userAlreadyOnTeam]; + case DBTEAMMemberAddV2ResultUserOnAnotherTeam: + return [self.userOnAnotherTeam isEqual:aMemberAddV2Result.userOnAnotherTeam]; + case DBTEAMMemberAddV2ResultUserAlreadyPaired: + return [self.userAlreadyPaired isEqual:aMemberAddV2Result.userAlreadyPaired]; + case DBTEAMMemberAddV2ResultUserMigrationFailed: + return [self.userMigrationFailed isEqual:aMemberAddV2Result.userMigrationFailed]; + case DBTEAMMemberAddV2ResultDuplicateExternalMemberId: + return [self.duplicateExternalMemberId isEqual:aMemberAddV2Result.duplicateExternalMemberId]; + case DBTEAMMemberAddV2ResultDuplicateMemberPersistentId: + return [self.duplicateMemberPersistentId isEqual:aMemberAddV2Result.duplicateMemberPersistentId]; + case DBTEAMMemberAddV2ResultPersistentIdDisabled: + return [self.persistentIdDisabled isEqual:aMemberAddV2Result.persistentIdDisabled]; + case DBTEAMMemberAddV2ResultUserCreationFailed: + return [self.userCreationFailed isEqual:aMemberAddV2Result.userCreationFailed]; + case DBTEAMMemberAddV2ResultSuccess: + return [self.success isEqual:aMemberAddV2Result.success]; + case DBTEAMMemberAddV2ResultOther: + return [[self tagName] isEqual:[aMemberAddV2Result tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberAddV2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberAddV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isTeamLicenseLimit]) { + jsonDict[@"team_license_limit"] = valueObj.teamLicenseLimit; + jsonDict[@".tag"] = @"team_license_limit"; + } else if ([valueObj isFreeTeamMemberLimitReached]) { + jsonDict[@"free_team_member_limit_reached"] = valueObj.freeTeamMemberLimitReached; + jsonDict[@".tag"] = @"free_team_member_limit_reached"; + } else if ([valueObj isUserAlreadyOnTeam]) { + jsonDict[@"user_already_on_team"] = valueObj.userAlreadyOnTeam; + jsonDict[@".tag"] = @"user_already_on_team"; + } else if ([valueObj isUserOnAnotherTeam]) { + jsonDict[@"user_on_another_team"] = valueObj.userOnAnotherTeam; + jsonDict[@".tag"] = @"user_on_another_team"; + } else if ([valueObj isUserAlreadyPaired]) { + jsonDict[@"user_already_paired"] = valueObj.userAlreadyPaired; + jsonDict[@".tag"] = @"user_already_paired"; + } else if ([valueObj isUserMigrationFailed]) { + jsonDict[@"user_migration_failed"] = valueObj.userMigrationFailed; + jsonDict[@".tag"] = @"user_migration_failed"; + } else if ([valueObj isDuplicateExternalMemberId]) { + jsonDict[@"duplicate_external_member_id"] = valueObj.duplicateExternalMemberId; + jsonDict[@".tag"] = @"duplicate_external_member_id"; + } else if ([valueObj isDuplicateMemberPersistentId]) { + jsonDict[@"duplicate_member_persistent_id"] = valueObj.duplicateMemberPersistentId; + jsonDict[@".tag"] = @"duplicate_member_persistent_id"; + } else if ([valueObj isPersistentIdDisabled]) { + jsonDict[@"persistent_id_disabled"] = valueObj.persistentIdDisabled; + jsonDict[@".tag"] = @"persistent_id_disabled"; + } else if ([valueObj isUserCreationFailed]) { + jsonDict[@"user_creation_failed"] = valueObj.userCreationFailed; + jsonDict[@".tag"] = @"user_creation_failed"; + } else if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamMemberInfoV2Serializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMemberAddV2Result *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"team_license_limit"]) { + NSString *teamLicenseLimit = valueDict[@"team_license_limit"]; + return [[DBTEAMMemberAddV2Result alloc] initWithTeamLicenseLimit:teamLicenseLimit]; + } else if ([tag isEqualToString:@"free_team_member_limit_reached"]) { + NSString *freeTeamMemberLimitReached = valueDict[@"free_team_member_limit_reached"]; + return [[DBTEAMMemberAddV2Result alloc] initWithFreeTeamMemberLimitReached:freeTeamMemberLimitReached]; + } else if ([tag isEqualToString:@"user_already_on_team"]) { + NSString *userAlreadyOnTeam = valueDict[@"user_already_on_team"]; + return [[DBTEAMMemberAddV2Result alloc] initWithUserAlreadyOnTeam:userAlreadyOnTeam]; + } else if ([tag isEqualToString:@"user_on_another_team"]) { + NSString *userOnAnotherTeam = valueDict[@"user_on_another_team"]; + return [[DBTEAMMemberAddV2Result alloc] initWithUserOnAnotherTeam:userOnAnotherTeam]; + } else if ([tag isEqualToString:@"user_already_paired"]) { + NSString *userAlreadyPaired = valueDict[@"user_already_paired"]; + return [[DBTEAMMemberAddV2Result alloc] initWithUserAlreadyPaired:userAlreadyPaired]; + } else if ([tag isEqualToString:@"user_migration_failed"]) { + NSString *userMigrationFailed = valueDict[@"user_migration_failed"]; + return [[DBTEAMMemberAddV2Result alloc] initWithUserMigrationFailed:userMigrationFailed]; + } else if ([tag isEqualToString:@"duplicate_external_member_id"]) { + NSString *duplicateExternalMemberId = valueDict[@"duplicate_external_member_id"]; + return [[DBTEAMMemberAddV2Result alloc] initWithDuplicateExternalMemberId:duplicateExternalMemberId]; + } else if ([tag isEqualToString:@"duplicate_member_persistent_id"]) { + NSString *duplicateMemberPersistentId = valueDict[@"duplicate_member_persistent_id"]; + return [[DBTEAMMemberAddV2Result alloc] initWithDuplicateMemberPersistentId:duplicateMemberPersistentId]; + } else if ([tag isEqualToString:@"persistent_id_disabled"]) { + NSString *persistentIdDisabled = valueDict[@"persistent_id_disabled"]; + return [[DBTEAMMemberAddV2Result alloc] initWithPersistentIdDisabled:persistentIdDisabled]; + } else if ([tag isEqualToString:@"user_creation_failed"]) { + NSString *userCreationFailed = valueDict[@"user_creation_failed"]; + return [[DBTEAMMemberAddV2Result alloc] initWithUserCreationFailed:userCreationFailed]; + } else if ([tag isEqualToString:@"success"]) { + DBTEAMTeamMemberInfoV2 *success = [DBTEAMTeamMemberInfoV2Serializer deserialize:valueDict]; + return [[DBTEAMMemberAddV2Result alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMemberAddV2Result alloc] initWithOther]; + } else { + return [[DBTEAMMemberAddV2Result alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMActiveWebSession.h" +#import "DBTEAMDesktopClientSession.h" +#import "DBTEAMMemberDevices.h" +#import "DBTEAMMobileClientSession.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberDevices + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + webSessions:(NSArray *)webSessions + desktopClients:(NSArray *)desktopClients + mobileClients:(NSArray *)mobileClients { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](webSessions); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](desktopClients); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](mobileClients); + + self = [super init]; + if (self) { + _teamMemberId = teamMemberId; + _webSessions = webSessions; + _desktopClients = desktopClients; + _mobileClients = mobileClients; + } + return self; +} + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { + return [self initWithTeamMemberId:teamMemberId webSessions:nil desktopClients:nil mobileClients:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberDevicesSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberDevicesSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberDevicesSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberId hash]; + if (self.webSessions != nil) { + result = prime * result + [self.webSessions hash]; + } + if (self.desktopClients != nil) { + result = prime * result + [self.desktopClients hash]; + } + if (self.mobileClients != nil) { + result = prime * result + [self.mobileClients hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberDevices:other]; +} + +- (BOOL)isEqualToMemberDevices:(DBTEAMMemberDevices *)aMemberDevices { + if (self == aMemberDevices) { + return YES; + } + if (![self.teamMemberId isEqual:aMemberDevices.teamMemberId]) { + return NO; + } + if (self.webSessions) { + if (![self.webSessions isEqual:aMemberDevices.webSessions]) { + return NO; + } + } + if (self.desktopClients) { + if (![self.desktopClients isEqual:aMemberDevices.desktopClients]) { + return NO; + } + } + if (self.mobileClients) { + if (![self.mobileClients isEqual:aMemberDevices.mobileClients]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberDevicesSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberDevices *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + if (valueObj.webSessions) { + jsonDict[@"web_sessions"] = [DBArraySerializer serialize:valueObj.webSessions + withBlock:^id(id elem0) { + return [DBTEAMActiveWebSessionSerializer serialize:elem0]; + }]; + } + if (valueObj.desktopClients) { + jsonDict[@"desktop_clients"] = [DBArraySerializer serialize:valueObj.desktopClients + withBlock:^id(id elem0) { + return [DBTEAMDesktopClientSessionSerializer serialize:elem0]; + }]; + } + if (valueObj.mobileClients) { + jsonDict[@"mobile_clients"] = [DBArraySerializer serialize:valueObj.mobileClients + withBlock:^id(id elem0) { + return [DBTEAMMobileClientSessionSerializer serialize:elem0]; + }]; + } + + return jsonDict; +} + ++ (DBTEAMMemberDevices *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSArray *webSessions = + valueDict[@"web_sessions"] ? [DBArraySerializer deserialize:valueDict[@"web_sessions"] + withBlock:^id(id elem0) { + return [DBTEAMActiveWebSessionSerializer deserialize:elem0]; + }] + : nil; + NSArray *desktopClients = + valueDict[@"desktop_clients"] + ? [DBArraySerializer deserialize:valueDict[@"desktop_clients"] + withBlock:^id(id elem0) { + return [DBTEAMDesktopClientSessionSerializer deserialize:elem0]; + }] + : nil; + NSArray *mobileClients = + valueDict[@"mobile_clients"] + ? [DBArraySerializer deserialize:valueDict[@"mobile_clients"] + withBlock:^id(id elem0) { + return [DBTEAMMobileClientSessionSerializer deserialize:elem0]; + }] + : nil; + + return [[DBTEAMMemberDevices alloc] initWithTeamMemberId:teamMemberId + webSessions:webSessions + desktopClients:desktopClients + mobileClients:mobileClients]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMApiApp.h" +#import "DBTEAMMemberLinkedApps.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberLinkedApps + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId linkedApiApps:(NSArray *)linkedApiApps { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApiApps); + + self = [super init]; + if (self) { + _teamMemberId = teamMemberId; + _linkedApiApps = linkedApiApps; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberLinkedAppsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberLinkedAppsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberLinkedAppsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.linkedApiApps hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberLinkedApps:other]; +} + +- (BOOL)isEqualToMemberLinkedApps:(DBTEAMMemberLinkedApps *)aMemberLinkedApps { + if (self == aMemberLinkedApps) { + return YES; + } + if (![self.teamMemberId isEqual:aMemberLinkedApps.teamMemberId]) { + return NO; + } + if (![self.linkedApiApps isEqual:aMemberLinkedApps.linkedApiApps]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberLinkedAppsSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberLinkedApps *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"linked_api_apps"] = [DBArraySerializer serialize:valueObj.linkedApiApps + withBlock:^id(id elem0) { + return [DBTEAMApiAppSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSArray *linkedApiApps = [DBArraySerializer deserialize:valueDict[@"linked_api_apps"] + withBlock:^id(id elem0) { + return [DBTEAMApiAppSerializer deserialize:elem0]; + }]; + + return [[DBTEAMMemberLinkedApps alloc] initWithTeamMemberId:teamMemberId linkedApiApps:linkedApiApps]; +} + +@end + +#import "DBSECONDARYEMAILSSecondaryEmail.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberProfile.h" +#import "DBTEAMTeamMemberStatus.h" +#import "DBTEAMTeamMembershipType.h" +#import "DBUSERSName.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberProfile + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + email:(NSString *)email + emailVerified:(NSNumber *)emailVerified + status:(DBTEAMTeamMemberStatus *)status + name:(DBUSERSName *)name + membershipType:(DBTEAMTeamMembershipType *)membershipType + externalId:(NSString *)externalId + accountId:(NSString *)accountId + secondaryEmails:(NSArray *)secondaryEmails + invitedOn:(NSDate *)invitedOn + joinedOn:(NSDate *)joinedOn + suspendedOn:(NSDate *)suspendedOn + persistentId:(NSString *)persistentId + isDirectoryRestricted:(NSNumber *)isDirectoryRestricted + profilePhotoUrl:(NSString *)profilePhotoUrl { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators nonnullValidator:nil](email); + [DBStoneValidators nonnullValidator:nil](emailVerified); + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](membershipType); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](secondaryEmails); + + self = [super init]; + if (self) { + _teamMemberId = teamMemberId; + _externalId = externalId; + _accountId = accountId; + _email = email; + _emailVerified = emailVerified; + _secondaryEmails = secondaryEmails; + _status = status; + _name = name; + _membershipType = membershipType; + _invitedOn = invitedOn; + _joinedOn = joinedOn; + _suspendedOn = suspendedOn; + _persistentId = persistentId; + _isDirectoryRestricted = isDirectoryRestricted; + _profilePhotoUrl = profilePhotoUrl; + } + return self; +} + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + email:(NSString *)email + emailVerified:(NSNumber *)emailVerified + status:(DBTEAMTeamMemberStatus *)status + name:(DBUSERSName *)name + membershipType:(DBTEAMTeamMembershipType *)membershipType { + return [self initWithTeamMemberId:teamMemberId + email:email + emailVerified:emailVerified + status:status + name:name + membershipType:membershipType + externalId:nil + accountId:nil + secondaryEmails:nil + invitedOn:nil + joinedOn:nil + suspendedOn:nil + persistentId:nil + isDirectoryRestricted:nil + profilePhotoUrl:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberProfileSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberProfileSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberProfileSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.email hash]; + result = prime * result + [self.emailVerified hash]; + result = prime * result + [self.status hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.membershipType hash]; + if (self.externalId != nil) { + result = prime * result + [self.externalId hash]; + } + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.secondaryEmails != nil) { + result = prime * result + [self.secondaryEmails hash]; + } + if (self.invitedOn != nil) { + result = prime * result + [self.invitedOn hash]; + } + if (self.joinedOn != nil) { + result = prime * result + [self.joinedOn hash]; + } + if (self.suspendedOn != nil) { + result = prime * result + [self.suspendedOn hash]; + } + if (self.persistentId != nil) { + result = prime * result + [self.persistentId hash]; + } + if (self.isDirectoryRestricted != nil) { + result = prime * result + [self.isDirectoryRestricted hash]; + } + if (self.profilePhotoUrl != nil) { + result = prime * result + [self.profilePhotoUrl hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberProfile:other]; +} + +- (BOOL)isEqualToMemberProfile:(DBTEAMMemberProfile *)aMemberProfile { + if (self == aMemberProfile) { + return YES; + } + if (![self.teamMemberId isEqual:aMemberProfile.teamMemberId]) { + return NO; + } + if (![self.email isEqual:aMemberProfile.email]) { + return NO; + } + if (![self.emailVerified isEqual:aMemberProfile.emailVerified]) { + return NO; + } + if (![self.status isEqual:aMemberProfile.status]) { + return NO; + } + if (![self.name isEqual:aMemberProfile.name]) { + return NO; + } + if (![self.membershipType isEqual:aMemberProfile.membershipType]) { + return NO; + } + if (self.externalId) { + if (![self.externalId isEqual:aMemberProfile.externalId]) { + return NO; + } + } + if (self.accountId) { + if (![self.accountId isEqual:aMemberProfile.accountId]) { + return NO; + } + } + if (self.secondaryEmails) { + if (![self.secondaryEmails isEqual:aMemberProfile.secondaryEmails]) { + return NO; + } + } + if (self.invitedOn) { + if (![self.invitedOn isEqual:aMemberProfile.invitedOn]) { + return NO; + } + } + if (self.joinedOn) { + if (![self.joinedOn isEqual:aMemberProfile.joinedOn]) { + return NO; + } + } + if (self.suspendedOn) { + if (![self.suspendedOn isEqual:aMemberProfile.suspendedOn]) { + return NO; + } + } + if (self.persistentId) { + if (![self.persistentId isEqual:aMemberProfile.persistentId]) { + return NO; + } + } + if (self.isDirectoryRestricted) { + if (![self.isDirectoryRestricted isEqual:aMemberProfile.isDirectoryRestricted]) { + return NO; + } + } + if (self.profilePhotoUrl) { + if (![self.profilePhotoUrl isEqual:aMemberProfile.profilePhotoUrl]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberProfileSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberProfile *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"email"] = valueObj.email; + jsonDict[@"email_verified"] = valueObj.emailVerified; + jsonDict[@"status"] = [DBTEAMTeamMemberStatusSerializer serialize:valueObj.status]; + jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; + jsonDict[@"membership_type"] = [DBTEAMTeamMembershipTypeSerializer serialize:valueObj.membershipType]; + if (valueObj.externalId) { + jsonDict[@"external_id"] = valueObj.externalId; + } + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.secondaryEmails) { + jsonDict[@"secondary_emails"] = + [DBArraySerializer serialize:valueObj.secondaryEmails + withBlock:^id(id elem0) { + return [DBSECONDARYEMAILSSecondaryEmailSerializer serialize:elem0]; + }]; + } + if (valueObj.invitedOn) { + jsonDict[@"invited_on"] = [DBNSDateSerializer serialize:valueObj.invitedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.joinedOn) { + jsonDict[@"joined_on"] = [DBNSDateSerializer serialize:valueObj.joinedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.suspendedOn) { + jsonDict[@"suspended_on"] = [DBNSDateSerializer serialize:valueObj.suspendedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.persistentId) { + jsonDict[@"persistent_id"] = valueObj.persistentId; + } + if (valueObj.isDirectoryRestricted) { + jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; + } + if (valueObj.profilePhotoUrl) { + jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; + } + + return jsonDict; +} + ++ (DBTEAMMemberProfile *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSString *email = valueDict[@"email"]; + NSNumber *emailVerified = valueDict[@"email_verified"]; + DBTEAMTeamMemberStatus *status = [DBTEAMTeamMemberStatusSerializer deserialize:valueDict[@"status"]]; + DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; + DBTEAMTeamMembershipType *membershipType = + [DBTEAMTeamMembershipTypeSerializer deserialize:valueDict[@"membership_type"]]; + NSString *externalId = valueDict[@"external_id"] ?: nil; + NSString *accountId = valueDict[@"account_id"] ?: nil; + NSArray *secondaryEmails = + valueDict[@"secondary_emails"] + ? [DBArraySerializer deserialize:valueDict[@"secondary_emails"] + withBlock:^id(id elem0) { + return [DBSECONDARYEMAILSSecondaryEmailSerializer deserialize:elem0]; + }] + : nil; + NSDate *invitedOn = valueDict[@"invited_on"] + ? [DBNSDateSerializer deserialize:valueDict[@"invited_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *joinedOn = valueDict[@"joined_on"] + ? [DBNSDateSerializer deserialize:valueDict[@"joined_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *suspendedOn = valueDict[@"suspended_on"] ? [DBNSDateSerializer deserialize:valueDict[@"suspended_on"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *persistentId = valueDict[@"persistent_id"] ?: nil; + NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; + NSString *profilePhotoUrl = valueDict[@"profile_photo_url"] ?: nil; + + return [[DBTEAMMemberProfile alloc] initWithTeamMemberId:teamMemberId + email:email + emailVerified:emailVerified + status:status + name:name + membershipType:membershipType + externalId:externalId + accountId:accountId + secondaryEmails:secondaryEmails + invitedOn:invitedOn + joinedOn:joinedOn + suspendedOn:suspendedOn + persistentId:persistentId + isDirectoryRestricted:isDirectoryRestricted + profilePhotoUrl:profilePhotoUrl]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMUserSelectorError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMUserSelectorErrorUserNotFound; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMUserSelectorErrorUserNotFound; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMUserSelectorErrorUserNotFound: + return @"DBTEAMUserSelectorErrorUserNotFound"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserSelectorErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserSelectorErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMUserSelectorErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMUserSelectorErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserSelectorError:other]; +} + +- (BOOL)isEqualToUserSelectorError:(DBTEAMUserSelectorError *)anUserSelectorError { + if (self == anUserSelectorError) { + return YES; + } + if (self.tag != anUserSelectorError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMUserSelectorErrorUserNotFound: + return [[self tagName] isEqual:[anUserSelectorError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMUserSelectorErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMUserSelectorError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMUserSelectorError alloc] initWithUserNotFound]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberSelectorError.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMMemberSelectorError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMemberSelectorErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMemberSelectorErrorUserNotInTeam; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMemberSelectorErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMemberSelectorErrorUserNotInTeam; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMemberSelectorErrorUserNotFound: + return @"DBTEAMMemberSelectorErrorUserNotFound"; + case DBTEAMMemberSelectorErrorUserNotInTeam: + return @"DBTEAMMemberSelectorErrorUserNotInTeam"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMemberSelectorErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMemberSelectorErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMemberSelectorErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMemberSelectorErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMemberSelectorErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSelectorError:other]; +} + +- (BOOL)isEqualToMemberSelectorError:(DBTEAMMemberSelectorError *)aMemberSelectorError { + if (self == aMemberSelectorError) { + return YES; + } + if (self.tag != aMemberSelectorError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMemberSelectorErrorUserNotFound: + return [[self tagName] isEqual:[aMemberSelectorError tagName]]; + case DBTEAMMemberSelectorErrorUserNotInTeam: + return [[self tagName] isEqual:[aMemberSelectorError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMemberSelectorErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMemberSelectorError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMemberSelectorError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMemberSelectorError alloc] initWithUserNotInTeam]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersAddArgBase.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddArgBase + +#pragma mark - Constructors + +- (instancetype)initWithForceAsync:(NSNumber *)forceAsync { + + self = [super init]; + if (self) { + _forceAsync = forceAsync ?: @NO; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithForceAsync:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddArgBaseSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddArgBaseSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddArgBaseSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.forceAsync hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddArgBase:other]; +} + +- (BOOL)isEqualToMembersAddArgBase:(DBTEAMMembersAddArgBase *)aMembersAddArgBase { + if (self == aMembersAddArgBase) { + return YES; + } + if (![self.forceAsync isEqual:aMembersAddArgBase.forceAsync]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddArgBaseSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddArgBase *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"force_async"] = valueObj.forceAsync; + + return jsonDict; +} + ++ (DBTEAMMembersAddArgBase *)deserialize:(NSDictionary *)valueDict { + NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; + + return [[DBTEAMMembersAddArgBase alloc] initWithForceAsync:forceAsync]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddArg.h" +#import "DBTEAMMembersAddArg.h" +#import "DBTEAMMembersAddArgBase.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddArg + +#pragma mark - Constructors + +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers forceAsync:(NSNumber *)forceAsync { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](dNewMembers); + + self = [super initWithForceAsync:forceAsync]; + if (self) { + _dNewMembers = dNewMembers; + } + return self; +} + +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers { + return [self initWithDNewMembers:dNewMembers forceAsync:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewMembers hash]; + result = prime * result + [self.forceAsync hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddArg:other]; +} + +- (BOOL)isEqualToMembersAddArg:(DBTEAMMembersAddArg *)aMembersAddArg { + if (self == aMembersAddArg) { + return YES; + } + if (![self.dNewMembers isEqual:aMembersAddArg.dNewMembers]) { + return NO; + } + if (![self.forceAsync isEqual:aMembersAddArg.forceAsync]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_members"] = [DBArraySerializer serialize:valueObj.dNewMembers + withBlock:^id(id elem0) { + return [DBTEAMMemberAddArgSerializer serialize:elem0]; + }]; + jsonDict[@"force_async"] = valueObj.forceAsync; + + return jsonDict; +} + ++ (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)valueDict { + NSArray *dNewMembers = + [DBArraySerializer deserialize:valueDict[@"new_members"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddArgSerializer deserialize:elem0]; + }]; + NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; + + return [[DBTEAMMembersAddArg alloc] initWithDNewMembers:dNewMembers forceAsync:forceAsync]; +} + +@end + +#import "DBASYNCPollResultBase.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddResult.h" +#import "DBTEAMMembersAddJobStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddJobStatus + +@synthesize complete = _complete; +@synthesize failed = _failed; + +#pragma mark - Constructors + +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusInProgress; + } + return self; +} + +- (instancetype)initWithComplete:(NSArray *)complete { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithFailed:(NSString *)failed { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusFailed; + _failed = failed; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSArray *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddJobStatusComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +- (NSString *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBTEAMMembersAddJobStatusInProgress; +} + +- (BOOL)isComplete { + return _tag == DBTEAMMembersAddJobStatusComplete; +} + +- (BOOL)isFailed { + return _tag == DBTEAMMembersAddJobStatusFailed; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersAddJobStatusInProgress: + return @"DBTEAMMembersAddJobStatusInProgress"; + case DBTEAMMembersAddJobStatusComplete: + return @"DBTEAMMembersAddJobStatusComplete"; + case DBTEAMMembersAddJobStatusFailed: + return @"DBTEAMMembersAddJobStatusFailed"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddJobStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddJobStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddJobStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersAddJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersAddJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBTEAMMembersAddJobStatusFailed: + result = prime * result + [self.failed hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddJobStatus:other]; +} + +- (BOOL)isEqualToMembersAddJobStatus:(DBTEAMMembersAddJobStatus *)aMembersAddJobStatus { + if (self == aMembersAddJobStatus) { + return YES; + } + if (self.tag != aMembersAddJobStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersAddJobStatusInProgress: + return [[self tagName] isEqual:[aMembersAddJobStatus tagName]]; + case DBTEAMMembersAddJobStatusComplete: + return [self.complete isEqual:aMembersAddJobStatus.complete]; + case DBTEAMMembersAddJobStatusFailed: + return [self.failed isEqual:aMembersAddJobStatus.failed]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddJobStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddJobStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete + withBlock:^id(id elem0) { + return [DBTEAMMemberAddResultSerializer serialize:elem0]; + }]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = valueObj.failed; + jsonDict[@".tag"] = @"failed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"in_progress"]) { + return [[DBTEAMMembersAddJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + NSArray *complete = + [DBArraySerializer deserialize:valueDict[@"complete"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddResultSerializer deserialize:elem0]; + }]; + return [[DBTEAMMembersAddJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + NSString *failed = valueDict[@"failed"]; + return [[DBTEAMMembersAddJobStatus alloc] initWithFailed:failed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBASYNCPollResultBase.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddV2Result.h" +#import "DBTEAMMembersAddJobStatusV2Result.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddJobStatusV2Result + +@synthesize complete = _complete; +@synthesize failed = _failed; + +#pragma mark - Constructors + +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusV2ResultInProgress; + } + return self; +} + +- (instancetype)initWithComplete:(NSArray *)complete { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusV2ResultComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithFailed:(NSString *)failed { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusV2ResultFailed; + _failed = failed; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddJobStatusV2ResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSArray *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddJobStatusV2ResultComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +- (NSString *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddJobStatusV2ResultFailed, but was %@.", [self tagName]]; + } + return _failed; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBTEAMMembersAddJobStatusV2ResultInProgress; +} + +- (BOOL)isComplete { + return _tag == DBTEAMMembersAddJobStatusV2ResultComplete; +} + +- (BOOL)isFailed { + return _tag == DBTEAMMembersAddJobStatusV2ResultFailed; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersAddJobStatusV2ResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersAddJobStatusV2ResultInProgress: + return @"DBTEAMMembersAddJobStatusV2ResultInProgress"; + case DBTEAMMembersAddJobStatusV2ResultComplete: + return @"DBTEAMMembersAddJobStatusV2ResultComplete"; + case DBTEAMMembersAddJobStatusV2ResultFailed: + return @"DBTEAMMembersAddJobStatusV2ResultFailed"; + case DBTEAMMembersAddJobStatusV2ResultOther: + return @"DBTEAMMembersAddJobStatusV2ResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddJobStatusV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddJobStatusV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddJobStatusV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersAddJobStatusV2ResultInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersAddJobStatusV2ResultComplete: + result = prime * result + [self.complete hash]; + break; + case DBTEAMMembersAddJobStatusV2ResultFailed: + result = prime * result + [self.failed hash]; + break; + case DBTEAMMembersAddJobStatusV2ResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddJobStatusV2Result:other]; +} + +- (BOOL)isEqualToMembersAddJobStatusV2Result:(DBTEAMMembersAddJobStatusV2Result *)aMembersAddJobStatusV2Result { + if (self == aMembersAddJobStatusV2Result) { + return YES; + } + if (self.tag != aMembersAddJobStatusV2Result.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersAddJobStatusV2ResultInProgress: + return [[self tagName] isEqual:[aMembersAddJobStatusV2Result tagName]]; + case DBTEAMMembersAddJobStatusV2ResultComplete: + return [self.complete isEqual:aMembersAddJobStatusV2Result.complete]; + case DBTEAMMembersAddJobStatusV2ResultFailed: + return [self.failed isEqual:aMembersAddJobStatusV2Result.failed]; + case DBTEAMMembersAddJobStatusV2ResultOther: + return [[self tagName] isEqual:[aMembersAddJobStatusV2Result tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddJobStatusV2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddJobStatusV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ResultSerializer serialize:elem0]; + }]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = valueObj.failed; + jsonDict[@".tag"] = @"failed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersAddJobStatusV2Result *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"in_progress"]) { + return [[DBTEAMMembersAddJobStatusV2Result alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + NSArray *complete = + [DBArraySerializer deserialize:valueDict[@"complete"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ResultSerializer deserialize:elem0]; + }]; + return [[DBTEAMMembersAddJobStatusV2Result alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + NSString *failed = valueDict[@"failed"]; + return [[DBTEAMMembersAddJobStatusV2Result alloc] initWithFailed:failed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersAddJobStatusV2Result alloc] initWithOther]; + } else { + return [[DBTEAMMembersAddJobStatusV2Result alloc] initWithOther]; + } +} + +@end + +#import "DBASYNCLaunchResultBase.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddResult.h" +#import "DBTEAMMembersAddLaunch.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddLaunch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; + +#pragma mark - Constructors + +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddLaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} + +- (instancetype)initWithComplete:(NSArray *)complete { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddLaunchComplete; + _complete = complete; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddLaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (NSArray *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddLaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBTEAMMembersAddLaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBTEAMMembersAddLaunchComplete; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersAddLaunchAsyncJobId: + return @"DBTEAMMembersAddLaunchAsyncJobId"; + case DBTEAMMembersAddLaunchComplete: + return @"DBTEAMMembersAddLaunchComplete"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddLaunchSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddLaunchSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddLaunchSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersAddLaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBTEAMMembersAddLaunchComplete: + result = prime * result + [self.complete hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddLaunch:other]; +} + +- (BOOL)isEqualToMembersAddLaunch:(DBTEAMMembersAddLaunch *)aMembersAddLaunch { + if (self == aMembersAddLaunch) { + return YES; + } + if (self.tag != aMembersAddLaunch.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersAddLaunchAsyncJobId: + return [self.asyncJobId isEqual:aMembersAddLaunch.asyncJobId]; + case DBTEAMMembersAddLaunchComplete: + return [self.complete isEqual:aMembersAddLaunch.complete]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddLaunchSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddLaunch *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete + withBlock:^id(id elem0) { + return [DBTEAMMemberAddResultSerializer serialize:elem0]; + }]; + jsonDict[@".tag"] = @"complete"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBTEAMMembersAddLaunch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + NSArray *complete = + [DBArraySerializer deserialize:valueDict[@"complete"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddResultSerializer deserialize:elem0]; + }]; + return [[DBTEAMMembersAddLaunch alloc] initWithComplete:complete]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBASYNCLaunchResultBase.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddV2Result.h" +#import "DBTEAMMembersAddLaunchV2Result.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddLaunchV2Result + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; + +#pragma mark - Constructors + +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddLaunchV2ResultAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} + +- (instancetype)initWithComplete:(NSArray *)complete { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddLaunchV2ResultComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersAddLaunchV2ResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddLaunchV2ResultAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (NSArray *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersAddLaunchV2ResultComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +#pragma mark - Tag state methods + +- (BOOL)isAsyncJobId { + return _tag == DBTEAMMembersAddLaunchV2ResultAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBTEAMMembersAddLaunchV2ResultComplete; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersAddLaunchV2ResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersAddLaunchV2ResultAsyncJobId: + return @"DBTEAMMembersAddLaunchV2ResultAsyncJobId"; + case DBTEAMMembersAddLaunchV2ResultComplete: + return @"DBTEAMMembersAddLaunchV2ResultComplete"; + case DBTEAMMembersAddLaunchV2ResultOther: + return @"DBTEAMMembersAddLaunchV2ResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddLaunchV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddLaunchV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddLaunchV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersAddLaunchV2ResultAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBTEAMMembersAddLaunchV2ResultComplete: + result = prime * result + [self.complete hash]; + break; + case DBTEAMMembersAddLaunchV2ResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddLaunchV2Result:other]; +} + +- (BOOL)isEqualToMembersAddLaunchV2Result:(DBTEAMMembersAddLaunchV2Result *)aMembersAddLaunchV2Result { + if (self == aMembersAddLaunchV2Result) { + return YES; + } + if (self.tag != aMembersAddLaunchV2Result.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersAddLaunchV2ResultAsyncJobId: + return [self.asyncJobId isEqual:aMembersAddLaunchV2Result.asyncJobId]; + case DBTEAMMembersAddLaunchV2ResultComplete: + return [self.complete isEqual:aMembersAddLaunchV2Result.complete]; + case DBTEAMMembersAddLaunchV2ResultOther: + return [[self tagName] isEqual:[aMembersAddLaunchV2Result tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddLaunchV2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddLaunchV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + jsonDict[@"complete"] = [DBArraySerializer serialize:valueObj.complete + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ResultSerializer serialize:elem0]; + }]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersAddLaunchV2Result *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBTEAMMembersAddLaunchV2Result alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + NSArray *complete = + [DBArraySerializer deserialize:valueDict[@"complete"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ResultSerializer deserialize:elem0]; + }]; + return [[DBTEAMMembersAddLaunchV2Result alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersAddLaunchV2Result alloc] initWithOther]; + } else { + return [[DBTEAMMembersAddLaunchV2Result alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberAddV2Arg.h" +#import "DBTEAMMembersAddArgBase.h" +#import "DBTEAMMembersAddV2Arg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersAddV2Arg + +#pragma mark - Constructors + +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers forceAsync:(NSNumber *)forceAsync { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](dNewMembers); + + self = [super initWithForceAsync:forceAsync]; + if (self) { + _dNewMembers = dNewMembers; + } + return self; +} + +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers { + return [self initWithDNewMembers:dNewMembers forceAsync:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersAddV2ArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersAddV2ArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersAddV2ArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewMembers hash]; + result = prime * result + [self.forceAsync hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersAddV2Arg:other]; +} + +- (BOOL)isEqualToMembersAddV2Arg:(DBTEAMMembersAddV2Arg *)aMembersAddV2Arg { + if (self == aMembersAddV2Arg) { + return YES; + } + if (![self.dNewMembers isEqual:aMembersAddV2Arg.dNewMembers]) { + return NO; + } + if (![self.forceAsync isEqual:aMembersAddV2Arg.forceAsync]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersAddV2ArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersAddV2Arg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_members"] = [DBArraySerializer serialize:valueObj.dNewMembers + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ArgSerializer serialize:elem0]; + }]; + jsonDict[@"force_async"] = valueObj.forceAsync; + + return jsonDict; +} + ++ (DBTEAMMembersAddV2Arg *)deserialize:(NSDictionary *)valueDict { + NSArray *dNewMembers = + [DBArraySerializer deserialize:valueDict[@"new_members"] + withBlock:^id(id elem0) { + return [DBTEAMMemberAddV2ArgSerializer deserialize:elem0]; + }]; + NSNumber *forceAsync = valueDict[@"force_async"] ?: @NO; + + return [[DBTEAMMembersAddV2Arg alloc] initWithDNewMembers:dNewMembers forceAsync:forceAsync]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateBaseArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDeactivateBaseArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super init]; + if (self) { + _user = user; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDeactivateBaseArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDeactivateBaseArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDeactivateBaseArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDeactivateBaseArg:other]; +} + +- (BOOL)isEqualToMembersDeactivateBaseArg:(DBTEAMMembersDeactivateBaseArg *)aMembersDeactivateBaseArg { + if (self == aMembersDeactivateBaseArg) { + return YES; + } + if (![self.user isEqual:aMembersDeactivateBaseArg.user]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDeactivateBaseArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDeactivateBaseArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + + return jsonDict; +} + ++ (DBTEAMMembersDeactivateBaseArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + + return [[DBTEAMMembersDeactivateBaseArg alloc] initWithUser:user]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDataTransferArg.h" +#import "DBTEAMMembersDeactivateBaseArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDataTransferArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + transferDestId:(DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nonnullValidator:nil](transferDestId); + [DBStoneValidators nonnullValidator:nil](transferAdminId); + + self = [super initWithUser:user]; + if (self) { + _transferDestId = transferDestId; + _transferAdminId = transferAdminId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDataTransferArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDataTransferArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDataTransferArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + result = prime * result + [self.transferDestId hash]; + result = prime * result + [self.transferAdminId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDataTransferArg:other]; +} + +- (BOOL)isEqualToMembersDataTransferArg:(DBTEAMMembersDataTransferArg *)aMembersDataTransferArg { + if (self == aMembersDataTransferArg) { + return YES; + } + if (![self.user isEqual:aMembersDataTransferArg.user]) { + return NO; + } + if (![self.transferDestId isEqual:aMembersDataTransferArg.transferDestId]) { + return NO; + } + if (![self.transferAdminId isEqual:aMembersDataTransferArg.transferAdminId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDataTransferArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDataTransferArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"transfer_dest_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferDestId]; + jsonDict[@"transfer_admin_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferAdminId]; + + return jsonDict; +} + ++ (DBTEAMMembersDataTransferArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + DBTEAMUserSelectorArg *transferDestId = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_dest_id"]]; + DBTEAMUserSelectorArg *transferAdminId = + [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_admin_id"]]; + + return [[DBTEAMMembersDataTransferArg alloc] initWithUser:user + transferDestId:transferDestId + transferAdminId:transferAdminId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateArg.h" +#import "DBTEAMMembersDeactivateBaseArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDeactivateArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user wipeData:(NSNumber *)wipeData { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super initWithUser:user]; + if (self) { + _wipeData = wipeData ?: @YES; + } + return self; +} + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + return [self initWithUser:user wipeData:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDeactivateArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDeactivateArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDeactivateArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + result = prime * result + [self.wipeData hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDeactivateArg:other]; +} + +- (BOOL)isEqualToMembersDeactivateArg:(DBTEAMMembersDeactivateArg *)aMembersDeactivateArg { + if (self == aMembersDeactivateArg) { + return YES; + } + if (![self.user isEqual:aMembersDeactivateArg.user]) { + return NO; + } + if (![self.wipeData isEqual:aMembersDeactivateArg.wipeData]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDeactivateArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDeactivateArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"wipe_data"] = valueObj.wipeData; + + return jsonDict; +} + ++ (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSNumber *wipeData = valueDict[@"wipe_data"] ?: @YES; + + return [[DBTEAMMembersDeactivateArg alloc] initWithUser:user wipeData:wipeData]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDeactivateError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeactivateErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeactivateErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeactivateErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersDeactivateErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersDeactivateErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersDeactivateErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersDeactivateErrorUserNotFound: + return @"DBTEAMMembersDeactivateErrorUserNotFound"; + case DBTEAMMembersDeactivateErrorUserNotInTeam: + return @"DBTEAMMembersDeactivateErrorUserNotInTeam"; + case DBTEAMMembersDeactivateErrorOther: + return @"DBTEAMMembersDeactivateErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDeactivateErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDeactivateErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDeactivateErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersDeactivateErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersDeactivateErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersDeactivateErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDeactivateError:other]; +} + +- (BOOL)isEqualToMembersDeactivateError:(DBTEAMMembersDeactivateError *)aMembersDeactivateError { + if (self == aMembersDeactivateError) { + return YES; + } + if (self.tag != aMembersDeactivateError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersDeactivateErrorUserNotFound: + return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; + case DBTEAMMembersDeactivateErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; + case DBTEAMMembersDeactivateErrorOther: + return [[self tagName] isEqual:[aMembersDeactivateError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDeactivateErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDeactivateError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersDeactivateError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersDeactivateError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersDeactivateError alloc] initWithOther]; + } else { + return [[DBTEAMMembersDeactivateError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeleteProfilePhotoArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDeleteProfilePhotoArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super init]; + if (self) { + _user = user; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDeleteProfilePhotoArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDeleteProfilePhotoArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDeleteProfilePhotoArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDeleteProfilePhotoArg:other]; +} + +- (BOOL)isEqualToMembersDeleteProfilePhotoArg:(DBTEAMMembersDeleteProfilePhotoArg *)aMembersDeleteProfilePhotoArg { + if (self == aMembersDeleteProfilePhotoArg) { + return YES; + } + if (![self.user isEqual:aMembersDeleteProfilePhotoArg.user]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDeleteProfilePhotoArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDeleteProfilePhotoArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + + return jsonDict; +} + ++ (DBTEAMMembersDeleteProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + + return [[DBTEAMMembersDeleteProfilePhotoArg alloc] initWithUser:user]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberSelectorError.h" +#import "DBTEAMMembersDeleteProfilePhotoError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersDeleteProfilePhotoError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeleteProfilePhotoErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithSetProfileDisallowed { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersDeleteProfilePhotoErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersDeleteProfilePhotoErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam; +} + +- (BOOL)isSetProfileDisallowed { + return _tag == DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersDeleteProfilePhotoErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersDeleteProfilePhotoErrorUserNotFound: + return @"DBTEAMMembersDeleteProfilePhotoErrorUserNotFound"; + case DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam: + return @"DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam"; + case DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed: + return @"DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed"; + case DBTEAMMembersDeleteProfilePhotoErrorOther: + return @"DBTEAMMembersDeleteProfilePhotoErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersDeleteProfilePhotoErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersDeleteProfilePhotoErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersDeleteProfilePhotoErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersDeleteProfilePhotoErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersDeleteProfilePhotoErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersDeleteProfilePhotoError:other]; +} + +- (BOOL)isEqualToMembersDeleteProfilePhotoError: + (DBTEAMMembersDeleteProfilePhotoError *)aMembersDeleteProfilePhotoError { + if (self == aMembersDeleteProfilePhotoError) { + return YES; + } + if (self.tag != aMembersDeleteProfilePhotoError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersDeleteProfilePhotoErrorUserNotFound: + return [[self tagName] isEqual:[aMembersDeleteProfilePhotoError tagName]]; + case DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersDeleteProfilePhotoError tagName]]; + case DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed: + return [[self tagName] isEqual:[aMembersDeleteProfilePhotoError tagName]]; + case DBTEAMMembersDeleteProfilePhotoErrorOther: + return [[self tagName] isEqual:[aMembersDeleteProfilePhotoError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersDeleteProfilePhotoErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersDeleteProfilePhotoError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isSetProfileDisallowed]) { + jsonDict[@".tag"] = @"set_profile_disallowed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersDeleteProfilePhotoError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersDeleteProfilePhotoError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersDeleteProfilePhotoError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"set_profile_disallowed"]) { + return [[DBTEAMMembersDeleteProfilePhotoError alloc] initWithSetProfileDisallowed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersDeleteProfilePhotoError alloc] initWithOther]; + } else { + return [[DBTEAMMembersDeleteProfilePhotoError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetAvailableTeamMemberRolesResult.h" +#import "DBTEAMTeamMemberRole.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetAvailableTeamMemberRolesResult + +#pragma mark - Constructors + +- (instancetype)initWithRoles:(NSArray *)roles { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](roles); + + self = [super init]; + if (self) { + _roles = roles; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.roles hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetAvailableTeamMemberRolesResult:other]; +} + +- (BOOL)isEqualToMembersGetAvailableTeamMemberRolesResult: + (DBTEAMMembersGetAvailableTeamMemberRolesResult *)aMembersGetAvailableTeamMemberRolesResult { + if (self == aMembersGetAvailableTeamMemberRolesResult) { + return YES; + } + if (![self.roles isEqual:aMembersGetAvailableTeamMemberRolesResult.roles]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetAvailableTeamMemberRolesResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"roles"] = [DBArraySerializer serialize:valueObj.roles + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMMembersGetAvailableTeamMemberRolesResult *)deserialize:(NSDictionary *)valueDict { + NSArray *roles = + [DBArraySerializer deserialize:valueDict[@"roles"] + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer deserialize:elem0]; + }]; + + return [[DBTEAMMembersGetAvailableTeamMemberRolesResult alloc] initWithRoles:roles]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoArgs.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoArgs + +#pragma mark - Constructors + +- (instancetype)initWithMembers:(NSArray *)members { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); + + self = [super init]; + if (self) { + _members = members; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoArgsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoArgsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoArgsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.members hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoArgs:other]; +} + +- (BOOL)isEqualToMembersGetInfoArgs:(DBTEAMMembersGetInfoArgs *)aMembersGetInfoArgs { + if (self == aMembersGetInfoArgs) { + return YES; + } + if (![self.members isEqual:aMembersGetInfoArgs.members]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoArgsSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoArgs *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return [DBTEAMUserSelectorArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)valueDict { + NSArray *members = + [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMMembersGetInfoArgs alloc] initWithMembers:members]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoError + +#pragma mark - Constructors + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOther { + return _tag == DBTEAMMembersGetInfoErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersGetInfoErrorOther: + return @"DBTEAMMembersGetInfoErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersGetInfoErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoError:other]; +} + +- (BOOL)isEqualToMembersGetInfoError:(DBTEAMMembersGetInfoError *)aMembersGetInfoError { + if (self == aMembersGetInfoError) { + return YES; + } + if (self.tag != aMembersGetInfoError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersGetInfoErrorOther: + return [[self tagName] isEqual:[aMembersGetInfoError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersGetInfoError alloc] initWithOther]; + } else { + return [[DBTEAMMembersGetInfoError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoItemBase.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoItemBase + +@synthesize idNotFound = _idNotFound; + +#pragma mark - Constructors + +- (instancetype)initWithIdNotFound:(NSString *)idNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemBaseIdNotFound; + _idNotFound = idNotFound; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)idNotFound { + if (![self isIdNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersGetInfoItemBaseIdNotFound, but was %@.", [self tagName]]; + } + return _idNotFound; +} + +#pragma mark - Tag state methods + +- (BOOL)isIdNotFound { + return _tag == DBTEAMMembersGetInfoItemBaseIdNotFound; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersGetInfoItemBaseIdNotFound: + return @"DBTEAMMembersGetInfoItemBaseIdNotFound"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoItemBaseSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoItemBaseSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoItemBaseSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersGetInfoItemBaseIdNotFound: + result = prime * result + [self.idNotFound hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoItemBase:other]; +} + +- (BOOL)isEqualToMembersGetInfoItemBase:(DBTEAMMembersGetInfoItemBase *)aMembersGetInfoItemBase { + if (self == aMembersGetInfoItemBase) { + return YES; + } + if (self.tag != aMembersGetInfoItemBase.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersGetInfoItemBaseIdNotFound: + return [self.idNotFound isEqual:aMembersGetInfoItemBase.idNotFound]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoItemBaseSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoItemBase *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIdNotFound]) { + jsonDict[@"id_not_found"] = valueObj.idNotFound; + jsonDict[@".tag"] = @"id_not_found"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoItemBase *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"id_not_found"]) { + NSString *idNotFound = valueDict[@"id_not_found"]; + return [[DBTEAMMembersGetInfoItemBase alloc] initWithIdNotFound:idNotFound]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoItem.h" +#import "DBTEAMMembersGetInfoItemBase.h" +#import "DBTEAMTeamMemberInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoItem + +@synthesize idNotFound = _idNotFound; +@synthesize memberInfo = _memberInfo; + +#pragma mark - Constructors + +- (instancetype)initWithIdNotFound:(NSString *)idNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemIdNotFound; + _idNotFound = idNotFound; + } + return self; +} + +- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfo *)memberInfo { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemMemberInfo; + _memberInfo = memberInfo; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)idNotFound { + if (![self isIdNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersGetInfoItemIdNotFound, but was %@.", [self tagName]]; + } + return _idNotFound; +} + +- (DBTEAMTeamMemberInfo *)memberInfo { + if (![self isMemberInfo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersGetInfoItemMemberInfo, but was %@.", [self tagName]]; + } + return _memberInfo; +} + +#pragma mark - Tag state methods + +- (BOOL)isIdNotFound { + return _tag == DBTEAMMembersGetInfoItemIdNotFound; +} + +- (BOOL)isMemberInfo { + return _tag == DBTEAMMembersGetInfoItemMemberInfo; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersGetInfoItemIdNotFound: + return @"DBTEAMMembersGetInfoItemIdNotFound"; + case DBTEAMMembersGetInfoItemMemberInfo: + return @"DBTEAMMembersGetInfoItemMemberInfo"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoItemSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoItemSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoItemSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersGetInfoItemIdNotFound: + result = prime * result + [self.idNotFound hash]; + break; + case DBTEAMMembersGetInfoItemMemberInfo: + result = prime * result + [self.memberInfo hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoItem:other]; +} + +- (BOOL)isEqualToMembersGetInfoItem:(DBTEAMMembersGetInfoItem *)aMembersGetInfoItem { + if (self == aMembersGetInfoItem) { + return YES; + } + if (self.tag != aMembersGetInfoItem.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersGetInfoItemIdNotFound: + return [self.idNotFound isEqual:aMembersGetInfoItem.idNotFound]; + case DBTEAMMembersGetInfoItemMemberInfo: + return [self.memberInfo isEqual:aMembersGetInfoItem.memberInfo]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoItemSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoItem *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIdNotFound]) { + jsonDict[@"id_not_found"] = valueObj.idNotFound; + jsonDict[@".tag"] = @"id_not_found"; + } else if ([valueObj isMemberInfo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamMemberInfoSerializer serialize:valueObj.memberInfo]]; + jsonDict[@".tag"] = @"member_info"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"id_not_found"]) { + NSString *idNotFound = valueDict[@"id_not_found"]; + return [[DBTEAMMembersGetInfoItem alloc] initWithIdNotFound:idNotFound]; + } else if ([tag isEqualToString:@"member_info"]) { + DBTEAMTeamMemberInfo *memberInfo = [DBTEAMTeamMemberInfoSerializer deserialize:valueDict]; + return [[DBTEAMMembersGetInfoItem alloc] initWithMemberInfo:memberInfo]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoItemBase.h" +#import "DBTEAMMembersGetInfoItemV2.h" +#import "DBTEAMTeamMemberInfoV2.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoItemV2 + +@synthesize idNotFound = _idNotFound; +@synthesize memberInfo = _memberInfo; + +#pragma mark - Constructors + +- (instancetype)initWithIdNotFound:(NSString *)idNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemV2IdNotFound; + _idNotFound = idNotFound; + } + return self; +} + +- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfoV2 *)memberInfo { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemV2MemberInfo; + _memberInfo = memberInfo; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersGetInfoItemV2Other; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)idNotFound { + if (![self isIdNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersGetInfoItemV2IdNotFound, but was %@.", [self tagName]]; + } + return _idNotFound; +} + +- (DBTEAMTeamMemberInfoV2 *)memberInfo { + if (![self isMemberInfo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersGetInfoItemV2MemberInfo, but was %@.", [self tagName]]; + } + return _memberInfo; +} + +#pragma mark - Tag state methods + +- (BOOL)isIdNotFound { + return _tag == DBTEAMMembersGetInfoItemV2IdNotFound; +} + +- (BOOL)isMemberInfo { + return _tag == DBTEAMMembersGetInfoItemV2MemberInfo; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersGetInfoItemV2Other; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersGetInfoItemV2IdNotFound: + return @"DBTEAMMembersGetInfoItemV2IdNotFound"; + case DBTEAMMembersGetInfoItemV2MemberInfo: + return @"DBTEAMMembersGetInfoItemV2MemberInfo"; + case DBTEAMMembersGetInfoItemV2Other: + return @"DBTEAMMembersGetInfoItemV2Other"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoItemV2Serializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoItemV2Serializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoItemV2Serializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersGetInfoItemV2IdNotFound: + result = prime * result + [self.idNotFound hash]; + break; + case DBTEAMMembersGetInfoItemV2MemberInfo: + result = prime * result + [self.memberInfo hash]; + break; + case DBTEAMMembersGetInfoItemV2Other: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoItemV2:other]; +} + +- (BOOL)isEqualToMembersGetInfoItemV2:(DBTEAMMembersGetInfoItemV2 *)aMembersGetInfoItemV2 { + if (self == aMembersGetInfoItemV2) { + return YES; + } + if (self.tag != aMembersGetInfoItemV2.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersGetInfoItemV2IdNotFound: + return [self.idNotFound isEqual:aMembersGetInfoItemV2.idNotFound]; + case DBTEAMMembersGetInfoItemV2MemberInfo: + return [self.memberInfo isEqual:aMembersGetInfoItemV2.memberInfo]; + case DBTEAMMembersGetInfoItemV2Other: + return [[self tagName] isEqual:[aMembersGetInfoItemV2 tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoItemV2Serializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoItemV2 *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIdNotFound]) { + jsonDict[@"id_not_found"] = valueObj.idNotFound; + jsonDict[@".tag"] = @"id_not_found"; + } else if ([valueObj isMemberInfo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamMemberInfoV2Serializer serialize:valueObj.memberInfo]]; + jsonDict[@".tag"] = @"member_info"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoItemV2 *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"id_not_found"]) { + NSString *idNotFound = valueDict[@"id_not_found"]; + return [[DBTEAMMembersGetInfoItemV2 alloc] initWithIdNotFound:idNotFound]; + } else if ([tag isEqualToString:@"member_info"]) { + DBTEAMTeamMemberInfoV2 *memberInfo = [DBTEAMTeamMemberInfoV2Serializer deserialize:valueDict]; + return [[DBTEAMMembersGetInfoItemV2 alloc] initWithMemberInfo:memberInfo]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersGetInfoItemV2 alloc] initWithOther]; + } else { + return [[DBTEAMMembersGetInfoItemV2 alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoV2Arg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoV2Arg + +#pragma mark - Constructors + +- (instancetype)initWithMembers:(NSArray *)members { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); + + self = [super init]; + if (self) { + _members = members; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoV2ArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoV2ArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoV2ArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.members hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoV2Arg:other]; +} + +- (BOOL)isEqualToMembersGetInfoV2Arg:(DBTEAMMembersGetInfoV2Arg *)aMembersGetInfoV2Arg { + if (self == aMembersGetInfoV2Arg) { + return YES; + } + if (![self.members isEqual:aMembersGetInfoV2Arg.members]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoV2ArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoV2Arg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return [DBTEAMUserSelectorArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoV2Arg *)deserialize:(NSDictionary *)valueDict { + NSArray *members = + [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return [DBTEAMUserSelectorArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMMembersGetInfoV2Arg alloc] initWithMembers:members]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersGetInfoItemV2.h" +#import "DBTEAMMembersGetInfoV2Result.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersGetInfoV2Result + +#pragma mark - Constructors + +- (instancetype)initWithMembersInfo:(NSArray *)membersInfo { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](membersInfo); + + self = [super init]; + if (self) { + _membersInfo = membersInfo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersGetInfoV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersGetInfoV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersGetInfoV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.membersInfo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersGetInfoV2Result:other]; +} + +- (BOOL)isEqualToMembersGetInfoV2Result:(DBTEAMMembersGetInfoV2Result *)aMembersGetInfoV2Result { + if (self == aMembersGetInfoV2Result) { + return YES; + } + if (![self.membersInfo isEqual:aMembersGetInfoV2Result.membersInfo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersGetInfoV2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersGetInfoV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"members_info"] = [DBArraySerializer serialize:valueObj.membersInfo + withBlock:^id(id elem0) { + return [DBTEAMMembersGetInfoItemV2Serializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMMembersGetInfoV2Result *)deserialize:(NSDictionary *)valueDict { + NSArray *membersInfo = + [DBArraySerializer deserialize:valueDict[@"members_info"] + withBlock:^id(id elem0) { + return [DBTEAMMembersGetInfoItemV2Serializer deserialize:elem0]; + }]; + + return [[DBTEAMMembersGetInfoV2Result alloc] initWithMembersInfo:membersInfo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersInfo + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberIds:(NSArray *)teamMemberIds + permanentlyDeletedUsers:(NSNumber *)permanentlyDeletedUsers { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](teamMemberIds); + [DBStoneValidators nonnullValidator:nil](permanentlyDeletedUsers); + + self = [super init]; + if (self) { + _teamMemberIds = teamMemberIds; + _permanentlyDeletedUsers = permanentlyDeletedUsers; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberIds hash]; + result = prime * result + [self.permanentlyDeletedUsers hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersInfo:other]; +} + +- (BOOL)isEqualToMembersInfo:(DBTEAMMembersInfo *)aMembersInfo { + if (self == aMembersInfo) { + return YES; + } + if (![self.teamMemberIds isEqual:aMembersInfo.teamMemberIds]) { + return NO; + } + if (![self.permanentlyDeletedUsers isEqual:aMembersInfo.permanentlyDeletedUsers]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_ids"] = [DBArraySerializer serialize:valueObj.teamMemberIds + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"permanently_deleted_users"] = valueObj.permanentlyDeletedUsers; + + return jsonDict; +} + ++ (DBTEAMMembersInfo *)deserialize:(NSDictionary *)valueDict { + NSArray *teamMemberIds = [DBArraySerializer deserialize:valueDict[@"team_member_ids"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSNumber *permanentlyDeletedUsers = valueDict[@"permanently_deleted_users"]; + + return + [[DBTEAMMembersInfo alloc] initWithTeamMemberIds:teamMemberIds permanentlyDeletedUsers:permanentlyDeletedUsers]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListArg + +#pragma mark - Constructors + +- (instancetype)initWithLimit:(NSNumber *)limit includeRemoved:(NSNumber *)includeRemoved { + + self = [super init]; + if (self) { + _limit = limit ?: @(1000); + _includeRemoved = includeRemoved ?: @NO; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithLimit:nil includeRemoved:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.limit hash]; + result = prime * result + [self.includeRemoved hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListArg:other]; +} + +- (BOOL)isEqualToMembersListArg:(DBTEAMMembersListArg *)aMembersListArg { + if (self == aMembersListArg) { + return YES; + } + if (![self.limit isEqual:aMembersListArg.limit]) { + return NO; + } + if (![self.includeRemoved isEqual:aMembersListArg.includeRemoved]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"limit"] = valueObj.limit; + jsonDict[@"include_removed"] = valueObj.includeRemoved; + + return jsonDict; +} + ++ (DBTEAMMembersListArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); + NSNumber *includeRemoved = valueDict[@"include_removed"] ?: @NO; + + return [[DBTEAMMembersListArg alloc] initWithLimit:limit includeRemoved:includeRemoved]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListContinueArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListContinueArg + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListContinueArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListContinueArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListContinueArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListContinueArg:other]; +} + +- (BOOL)isEqualToMembersListContinueArg:(DBTEAMMembersListContinueArg *)aMembersListContinueArg { + if (self == aMembersListContinueArg) { + return YES; + } + if (![self.cursor isEqual:aMembersListContinueArg.cursor]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListContinueArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListContinueArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; +} + ++ (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + + return [[DBTEAMMembersListContinueArg alloc] initWithCursor:cursor]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListContinueError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListContinueError + +#pragma mark - Constructors + +- (instancetype)initWithInvalidCursor { + self = [super init]; + if (self) { + _tag = DBTEAMMembersListContinueErrorInvalidCursor; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersListContinueErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInvalidCursor { + return _tag == DBTEAMMembersListContinueErrorInvalidCursor; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersListContinueErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersListContinueErrorInvalidCursor: + return @"DBTEAMMembersListContinueErrorInvalidCursor"; + case DBTEAMMembersListContinueErrorOther: + return @"DBTEAMMembersListContinueErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListContinueErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListContinueErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListContinueErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersListContinueErrorInvalidCursor: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersListContinueErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListContinueError:other]; +} + +- (BOOL)isEqualToMembersListContinueError:(DBTEAMMembersListContinueError *)aMembersListContinueError { + if (self == aMembersListContinueError) { + return YES; + } + if (self.tag != aMembersListContinueError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersListContinueErrorInvalidCursor: + return [[self tagName] isEqual:[aMembersListContinueError tagName]]; + case DBTEAMMembersListContinueErrorOther: + return [[self tagName] isEqual:[aMembersListContinueError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListContinueErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListContinueError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isInvalidCursor]) { + jsonDict[@".tag"] = @"invalid_cursor"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"invalid_cursor"]) { + return [[DBTEAMMembersListContinueError alloc] initWithInvalidCursor]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersListContinueError alloc] initWithOther]; + } else { + return [[DBTEAMMembersListContinueError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListError + +#pragma mark - Constructors + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersListErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOther { + return _tag == DBTEAMMembersListErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersListErrorOther: + return @"DBTEAMMembersListErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersListErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListError:other]; +} + +- (BOOL)isEqualToMembersListError:(DBTEAMMembersListError *)aMembersListError { + if (self == aMembersListError) { + return YES; + } + if (self.tag != aMembersListError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersListErrorOther: + return [[self tagName] isEqual:[aMembersListError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersListError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersListError alloc] initWithOther]; + } else { + return [[DBTEAMMembersListError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListResult.h" +#import "DBTEAMTeamMemberInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListResult + +#pragma mark - Constructors + +- (instancetype)initWithMembers:(NSArray *)members + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); + + self = [super init]; + if (self) { + _members = members; + _cursor = cursor; + _hasMore = hasMore; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.members hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListResult:other]; +} + +- (BOOL)isEqualToMembersListResult:(DBTEAMMembersListResult *)aMembersListResult { + if (self == aMembersListResult) { + return YES; + } + if (![self.members isEqual:aMembersListResult.members]) { + return NO; + } + if (![self.cursor isEqual:aMembersListResult.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aMembersListResult.hasMore]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberInfoSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; + + return jsonDict; +} + ++ (DBTEAMMembersListResult *)deserialize:(NSDictionary *)valueDict { + NSArray *members = + [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberInfoSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; + + return [[DBTEAMMembersListResult alloc] initWithMembers:members cursor:cursor hasMore:hasMore]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersListV2Result.h" +#import "DBTEAMTeamMemberInfoV2.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersListV2Result + +#pragma mark - Constructors + +- (instancetype)initWithMembers:(NSArray *)members + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](members); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); + + self = [super init]; + if (self) { + _members = members; + _cursor = cursor; + _hasMore = hasMore; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersListV2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersListV2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersListV2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.members hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersListV2Result:other]; +} + +- (BOOL)isEqualToMembersListV2Result:(DBTEAMMembersListV2Result *)aMembersListV2Result { + if (self == aMembersListV2Result) { + return YES; + } + if (![self.members isEqual:aMembersListV2Result.members]) { + return NO; + } + if (![self.cursor isEqual:aMembersListV2Result.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aMembersListV2Result.hasMore]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersListV2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersListV2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"members"] = [DBArraySerializer serialize:valueObj.members + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberInfoV2Serializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; + + return jsonDict; +} + ++ (DBTEAMMembersListV2Result *)deserialize:(NSDictionary *)valueDict { + NSArray *members = + [DBArraySerializer deserialize:valueDict[@"members"] + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberInfoV2Serializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; + + return [[DBTEAMMembersListV2Result alloc] initWithMembers:members cursor:cursor hasMore:hasMore]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersRecoverArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersRecoverArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super init]; + if (self) { + _user = user; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersRecoverArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersRecoverArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersRecoverArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersRecoverArg:other]; +} + +- (BOOL)isEqualToMembersRecoverArg:(DBTEAMMembersRecoverArg *)aMembersRecoverArg { + if (self == aMembersRecoverArg) { + return YES; + } + if (![self.user isEqual:aMembersRecoverArg.user]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersRecoverArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersRecoverArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + + return jsonDict; +} + ++ (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + + return [[DBTEAMMembersRecoverArg alloc] initWithUser:user]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersRecoverError.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersRecoverError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRecoverErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserUnrecoverable { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRecoverErrorUserUnrecoverable; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRecoverErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTeamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRecoverErrorTeamLicenseLimit; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRecoverErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersRecoverErrorUserNotFound; +} + +- (BOOL)isUserUnrecoverable { + return _tag == DBTEAMMembersRecoverErrorUserUnrecoverable; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersRecoverErrorUserNotInTeam; +} + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMembersRecoverErrorTeamLicenseLimit; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersRecoverErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersRecoverErrorUserNotFound: + return @"DBTEAMMembersRecoverErrorUserNotFound"; + case DBTEAMMembersRecoverErrorUserUnrecoverable: + return @"DBTEAMMembersRecoverErrorUserUnrecoverable"; + case DBTEAMMembersRecoverErrorUserNotInTeam: + return @"DBTEAMMembersRecoverErrorUserNotInTeam"; + case DBTEAMMembersRecoverErrorTeamLicenseLimit: + return @"DBTEAMMembersRecoverErrorTeamLicenseLimit"; + case DBTEAMMembersRecoverErrorOther: + return @"DBTEAMMembersRecoverErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersRecoverErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersRecoverErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersRecoverErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersRecoverErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRecoverErrorUserUnrecoverable: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRecoverErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRecoverErrorTeamLicenseLimit: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRecoverErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersRecoverError:other]; +} + +- (BOOL)isEqualToMembersRecoverError:(DBTEAMMembersRecoverError *)aMembersRecoverError { + if (self == aMembersRecoverError) { + return YES; + } + if (self.tag != aMembersRecoverError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersRecoverErrorUserNotFound: + return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + case DBTEAMMembersRecoverErrorUserUnrecoverable: + return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + case DBTEAMMembersRecoverErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + case DBTEAMMembersRecoverErrorTeamLicenseLimit: + return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + case DBTEAMMembersRecoverErrorOther: + return [[self tagName] isEqual:[aMembersRecoverError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersRecoverErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersRecoverError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserUnrecoverable]) { + jsonDict[@".tag"] = @"user_unrecoverable"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isTeamLicenseLimit]) { + jsonDict[@".tag"] = @"team_license_limit"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersRecoverError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_unrecoverable"]) { + return [[DBTEAMMembersRecoverError alloc] initWithUserUnrecoverable]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersRecoverError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"team_license_limit"]) { + return [[DBTEAMMembersRecoverError alloc] initWithTeamLicenseLimit]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersRecoverError alloc] initWithOther]; + } else { + return [[DBTEAMMembersRecoverError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateArg.h" +#import "DBTEAMMembersRemoveArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersRemoveArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + wipeData:(NSNumber *)wipeData + transferDestId:(DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId + keepAccount:(NSNumber *)keepAccount + retainTeamShares:(NSNumber *)retainTeamShares { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super initWithUser:user wipeData:wipeData]; + if (self) { + _transferDestId = transferDestId; + _transferAdminId = transferAdminId; + _keepAccount = keepAccount ?: @NO; + _retainTeamShares = retainTeamShares ?: @NO; + } + return self; +} + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + return + [self initWithUser:user wipeData:nil transferDestId:nil transferAdminId:nil keepAccount:nil retainTeamShares:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersRemoveArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersRemoveArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersRemoveArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + result = prime * result + [self.wipeData hash]; + if (self.transferDestId != nil) { + result = prime * result + [self.transferDestId hash]; + } + if (self.transferAdminId != nil) { + result = prime * result + [self.transferAdminId hash]; + } + result = prime * result + [self.keepAccount hash]; + result = prime * result + [self.retainTeamShares hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersRemoveArg:other]; +} + +- (BOOL)isEqualToMembersRemoveArg:(DBTEAMMembersRemoveArg *)aMembersRemoveArg { + if (self == aMembersRemoveArg) { + return YES; + } + if (![self.user isEqual:aMembersRemoveArg.user]) { + return NO; + } + if (![self.wipeData isEqual:aMembersRemoveArg.wipeData]) { + return NO; + } + if (self.transferDestId) { + if (![self.transferDestId isEqual:aMembersRemoveArg.transferDestId]) { + return NO; + } + } + if (self.transferAdminId) { + if (![self.transferAdminId isEqual:aMembersRemoveArg.transferAdminId]) { + return NO; + } + } + if (![self.keepAccount isEqual:aMembersRemoveArg.keepAccount]) { + return NO; + } + if (![self.retainTeamShares isEqual:aMembersRemoveArg.retainTeamShares]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersRemoveArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersRemoveArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"wipe_data"] = valueObj.wipeData; + if (valueObj.transferDestId) { + jsonDict[@"transfer_dest_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferDestId]; + } + if (valueObj.transferAdminId) { + jsonDict[@"transfer_admin_id"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.transferAdminId]; + } + jsonDict[@"keep_account"] = valueObj.keepAccount; + jsonDict[@"retain_team_shares"] = valueObj.retainTeamShares; + + return jsonDict; +} + ++ (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSNumber *wipeData = valueDict[@"wipe_data"] ?: @YES; + DBTEAMUserSelectorArg *transferDestId = + valueDict[@"transfer_dest_id"] ? [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_dest_id"]] + : nil; + DBTEAMUserSelectorArg *transferAdminId = + valueDict[@"transfer_admin_id"] ? [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"transfer_admin_id"]] + : nil; + NSNumber *keepAccount = valueDict[@"keep_account"] ?: @NO; + NSNumber *retainTeamShares = valueDict[@"retain_team_shares"] ?: @NO; + + return [[DBTEAMMembersRemoveArg alloc] initWithUser:user + wipeData:wipeData + transferDestId:transferDestId + transferAdminId:transferAdminId + keepAccount:keepAccount + retainTeamShares:retainTeamShares]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersTransferFilesError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersTransferFilesError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorOther; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferDestShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferAdminShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorTransferDestUserNotFound; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound; + } + return self; +} + +- (instancetype)initWithUnspecifiedTransferAdminId { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId; + } + return self; +} + +- (instancetype)initWithTransferAdminIsNotAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin; + } + return self; +} + +- (instancetype)initWithRecipientNotVerified { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFilesErrorRecipientNotVerified; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersTransferFilesErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersTransferFilesErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersTransferFilesErrorOther; +} + +- (BOOL)isRemovedAndTransferDestShouldDiffer { + return _tag == DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer; +} + +- (BOOL)isRemovedAndTransferAdminShouldDiffer { + return _tag == DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer; +} + +- (BOOL)isTransferDestUserNotFound { + return _tag == DBTEAMMembersTransferFilesErrorTransferDestUserNotFound; +} + +- (BOOL)isTransferDestUserNotInTeam { + return _tag == DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotInTeam { + return _tag == DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotFound { + return _tag == DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound; +} + +- (BOOL)isUnspecifiedTransferAdminId { + return _tag == DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId; +} + +- (BOOL)isTransferAdminIsNotAdmin { + return _tag == DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin; +} + +- (BOOL)isRecipientNotVerified { + return _tag == DBTEAMMembersTransferFilesErrorRecipientNotVerified; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersTransferFilesErrorUserNotFound: + return @"DBTEAMMembersTransferFilesErrorUserNotFound"; + case DBTEAMMembersTransferFilesErrorUserNotInTeam: + return @"DBTEAMMembersTransferFilesErrorUserNotInTeam"; + case DBTEAMMembersTransferFilesErrorOther: + return @"DBTEAMMembersTransferFilesErrorOther"; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer: + return @"DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer"; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer: + return @"DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer"; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotFound: + return @"DBTEAMMembersTransferFilesErrorTransferDestUserNotFound"; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam: + return @"DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam"; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam: + return @"DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam"; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound: + return @"DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound"; + case DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId: + return @"DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId"; + case DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin: + return @"DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin"; + case DBTEAMMembersTransferFilesErrorRecipientNotVerified: + return @"DBTEAMMembersTransferFilesErrorRecipientNotVerified"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersTransferFilesErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersTransferFilesErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersTransferFilesErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersTransferFilesErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFilesErrorRecipientNotVerified: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersTransferFilesError:other]; +} + +- (BOOL)isEqualToMembersTransferFilesError:(DBTEAMMembersTransferFilesError *)aMembersTransferFilesError { + if (self == aMembersTransferFilesError) { + return YES; + } + if (self.tag != aMembersTransferFilesError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersTransferFilesErrorUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorOther: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + case DBTEAMMembersTransferFilesErrorRecipientNotVerified: + return [[self tagName] isEqual:[aMembersTransferFilesError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersTransferFilesErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersTransferFilesError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isRemovedAndTransferDestShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_dest_should_differ"; + } else if ([valueObj isRemovedAndTransferAdminShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_admin_should_differ"; + } else if ([valueObj isTransferDestUserNotFound]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_found"; + } else if ([valueObj isTransferDestUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotFound]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_found"; + } else if ([valueObj isUnspecifiedTransferAdminId]) { + jsonDict[@".tag"] = @"unspecified_transfer_admin_id"; + } else if ([valueObj isTransferAdminIsNotAdmin]) { + jsonDict[@".tag"] = @"transfer_admin_is_not_admin"; + } else if ([valueObj isRecipientNotVerified]) { + jsonDict[@".tag"] = @"recipient_not_verified"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersTransferFilesError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithOther]; + } else if ([tag isEqualToString:@"removed_and_transfer_dest_should_differ"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithRemovedAndTransferDestShouldDiffer]; + } else if ([tag isEqualToString:@"removed_and_transfer_admin_should_differ"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithRemovedAndTransferAdminShouldDiffer]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_found"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithTransferDestUserNotFound]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_in_team"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithTransferDestUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_in_team"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithTransferAdminUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_found"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithTransferAdminUserNotFound]; + } else if ([tag isEqualToString:@"unspecified_transfer_admin_id"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithUnspecifiedTransferAdminId]; + } else if ([tag isEqualToString:@"transfer_admin_is_not_admin"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithTransferAdminIsNotAdmin]; + } else if ([tag isEqualToString:@"recipient_not_verified"]) { + return [[DBTEAMMembersTransferFilesError alloc] initWithRecipientNotVerified]; + } else { + return [[DBTEAMMembersTransferFilesError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersRemoveError.h" +#import "DBTEAMMembersTransferFilesError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersRemoveError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorOther; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferDestShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferAdminShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorTransferDestUserNotFound; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorTransferDestUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorTransferAdminUserNotFound; + } + return self; +} + +- (instancetype)initWithUnspecifiedTransferAdminId { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId; + } + return self; +} + +- (instancetype)initWithTransferAdminIsNotAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin; + } + return self; +} + +- (instancetype)initWithRecipientNotVerified { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorRecipientNotVerified; + } + return self; +} + +- (instancetype)initWithRemoveLastAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorRemoveLastAdmin; + } + return self; +} + +- (instancetype)initWithCannotKeepAccountAndTransfer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer; + } + return self; +} + +- (instancetype)initWithCannotKeepAccountAndDeleteData { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData; + } + return self; +} + +- (instancetype)initWithEmailAddressTooLongToBeDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled; + } + return self; +} + +- (instancetype)initWithCannotKeepInvitedUserAccount { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount; + } + return self; +} + +- (instancetype)initWithCannotRetainSharesWhenDataWiped { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped; + } + return self; +} + +- (instancetype)initWithCannotRetainSharesWhenNoAccountKept { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept; + } + return self; +} + +- (instancetype)initWithCannotRetainSharesWhenTeamExternalSharingOff { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff; + } + return self; +} + +- (instancetype)initWithCannotKeepAccount { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepAccount; + } + return self; +} + +- (instancetype)initWithCannotKeepAccountUnderLegalHold { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold; + } + return self; +} + +- (instancetype)initWithCannotKeepAccountRequiredToSignTos { + self = [super init]; + if (self) { + _tag = DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersRemoveErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersRemoveErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersRemoveErrorOther; +} + +- (BOOL)isRemovedAndTransferDestShouldDiffer { + return _tag == DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer; +} + +- (BOOL)isRemovedAndTransferAdminShouldDiffer { + return _tag == DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer; +} + +- (BOOL)isTransferDestUserNotFound { + return _tag == DBTEAMMembersRemoveErrorTransferDestUserNotFound; +} + +- (BOOL)isTransferDestUserNotInTeam { + return _tag == DBTEAMMembersRemoveErrorTransferDestUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotInTeam { + return _tag == DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotFound { + return _tag == DBTEAMMembersRemoveErrorTransferAdminUserNotFound; +} + +- (BOOL)isUnspecifiedTransferAdminId { + return _tag == DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId; +} + +- (BOOL)isTransferAdminIsNotAdmin { + return _tag == DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin; +} + +- (BOOL)isRecipientNotVerified { + return _tag == DBTEAMMembersRemoveErrorRecipientNotVerified; +} + +- (BOOL)isRemoveLastAdmin { + return _tag == DBTEAMMembersRemoveErrorRemoveLastAdmin; +} + +- (BOOL)isCannotKeepAccountAndTransfer { + return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer; +} + +- (BOOL)isCannotKeepAccountAndDeleteData { + return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData; +} + +- (BOOL)isEmailAddressTooLongToBeDisabled { + return _tag == DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled; +} + +- (BOOL)isCannotKeepInvitedUserAccount { + return _tag == DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount; +} + +- (BOOL)isCannotRetainSharesWhenDataWiped { + return _tag == DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped; +} + +- (BOOL)isCannotRetainSharesWhenNoAccountKept { + return _tag == DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept; +} + +- (BOOL)isCannotRetainSharesWhenTeamExternalSharingOff { + return _tag == DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff; +} + +- (BOOL)isCannotKeepAccount { + return _tag == DBTEAMMembersRemoveErrorCannotKeepAccount; +} + +- (BOOL)isCannotKeepAccountUnderLegalHold { + return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold; +} + +- (BOOL)isCannotKeepAccountRequiredToSignTos { + return _tag == DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersRemoveErrorUserNotFound: + return @"DBTEAMMembersRemoveErrorUserNotFound"; + case DBTEAMMembersRemoveErrorUserNotInTeam: + return @"DBTEAMMembersRemoveErrorUserNotInTeam"; + case DBTEAMMembersRemoveErrorOther: + return @"DBTEAMMembersRemoveErrorOther"; + case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: + return @"DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer"; + case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: + return @"DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer"; + case DBTEAMMembersRemoveErrorTransferDestUserNotFound: + return @"DBTEAMMembersRemoveErrorTransferDestUserNotFound"; + case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: + return @"DBTEAMMembersRemoveErrorTransferDestUserNotInTeam"; + case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: + return @"DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam"; + case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: + return @"DBTEAMMembersRemoveErrorTransferAdminUserNotFound"; + case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: + return @"DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId"; + case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: + return @"DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin"; + case DBTEAMMembersRemoveErrorRecipientNotVerified: + return @"DBTEAMMembersRemoveErrorRecipientNotVerified"; + case DBTEAMMembersRemoveErrorRemoveLastAdmin: + return @"DBTEAMMembersRemoveErrorRemoveLastAdmin"; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: + return @"DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer"; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: + return @"DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData"; + case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: + return @"DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled"; + case DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount: + return @"DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount"; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped: + return @"DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped"; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept: + return @"DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept"; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff: + return @"DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff"; + case DBTEAMMembersRemoveErrorCannotKeepAccount: + return @"DBTEAMMembersRemoveErrorCannotKeepAccount"; + case DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold: + return @"DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold"; + case DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos: + return @"DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersRemoveErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersRemoveErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersRemoveErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersRemoveErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorTransferDestUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorRecipientNotVerified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorRemoveLastAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepAccount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersRemoveError:other]; +} + +- (BOOL)isEqualToMembersRemoveError:(DBTEAMMembersRemoveError *)aMembersRemoveError { + if (self == aMembersRemoveError) { + return YES; + } + if (self.tag != aMembersRemoveError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersRemoveErrorUserNotFound: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorOther: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorTransferDestUserNotFound: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorTransferDestUserNotInTeam: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorTransferAdminUserNotFound: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorRecipientNotVerified: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorRemoveLastAdmin: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepAccount: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + case DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos: + return [[self tagName] isEqual:[aMembersRemoveError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersRemoveErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersRemoveError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isRemovedAndTransferDestShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_dest_should_differ"; + } else if ([valueObj isRemovedAndTransferAdminShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_admin_should_differ"; + } else if ([valueObj isTransferDestUserNotFound]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_found"; + } else if ([valueObj isTransferDestUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotFound]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_found"; + } else if ([valueObj isUnspecifiedTransferAdminId]) { + jsonDict[@".tag"] = @"unspecified_transfer_admin_id"; + } else if ([valueObj isTransferAdminIsNotAdmin]) { + jsonDict[@".tag"] = @"transfer_admin_is_not_admin"; + } else if ([valueObj isRecipientNotVerified]) { + jsonDict[@".tag"] = @"recipient_not_verified"; + } else if ([valueObj isRemoveLastAdmin]) { + jsonDict[@".tag"] = @"remove_last_admin"; + } else if ([valueObj isCannotKeepAccountAndTransfer]) { + jsonDict[@".tag"] = @"cannot_keep_account_and_transfer"; + } else if ([valueObj isCannotKeepAccountAndDeleteData]) { + jsonDict[@".tag"] = @"cannot_keep_account_and_delete_data"; + } else if ([valueObj isEmailAddressTooLongToBeDisabled]) { + jsonDict[@".tag"] = @"email_address_too_long_to_be_disabled"; + } else if ([valueObj isCannotKeepInvitedUserAccount]) { + jsonDict[@".tag"] = @"cannot_keep_invited_user_account"; + } else if ([valueObj isCannotRetainSharesWhenDataWiped]) { + jsonDict[@".tag"] = @"cannot_retain_shares_when_data_wiped"; + } else if ([valueObj isCannotRetainSharesWhenNoAccountKept]) { + jsonDict[@".tag"] = @"cannot_retain_shares_when_no_account_kept"; + } else if ([valueObj isCannotRetainSharesWhenTeamExternalSharingOff]) { + jsonDict[@".tag"] = @"cannot_retain_shares_when_team_external_sharing_off"; + } else if ([valueObj isCannotKeepAccount]) { + jsonDict[@".tag"] = @"cannot_keep_account"; + } else if ([valueObj isCannotKeepAccountUnderLegalHold]) { + jsonDict[@".tag"] = @"cannot_keep_account_under_legal_hold"; + } else if ([valueObj isCannotKeepAccountRequiredToSignTos]) { + jsonDict[@".tag"] = @"cannot_keep_account_required_to_sign_tos"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersRemoveError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { return [[DBTEAMMembersRemoveError alloc] initWithUserNotInTeam]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersRemoveError alloc] initWithOther]; - } else if ([tag isEqualToString:@"remove_last_admin"]) { - return [[DBTEAMMembersRemoveError alloc] initWithRemoveLastAdmin]; - } else if ([tag isEqualToString:@"removed_and_transfer_dest_should_differ"]) { - return [[DBTEAMMembersRemoveError alloc] initWithRemovedAndTransferDestShouldDiffer]; - } else if ([tag isEqualToString:@"removed_and_transfer_admin_should_differ"]) { - return [[DBTEAMMembersRemoveError alloc] initWithRemovedAndTransferAdminShouldDiffer]; - } else if ([tag isEqualToString:@"transfer_dest_user_not_found"]) { - return [[DBTEAMMembersRemoveError alloc] initWithTransferDestUserNotFound]; - } else if ([tag isEqualToString:@"transfer_dest_user_not_in_team"]) { - return [[DBTEAMMembersRemoveError alloc] initWithTransferDestUserNotInTeam]; - } else if ([tag isEqualToString:@"transfer_admin_user_not_found"]) { - return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminUserNotFound]; - } else if ([tag isEqualToString:@"transfer_admin_user_not_in_team"]) { - return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminUserNotInTeam]; - } else if ([tag isEqualToString:@"unspecified_transfer_admin_id"]) { - return [[DBTEAMMembersRemoveError alloc] initWithUnspecifiedTransferAdminId]; - } else if ([tag isEqualToString:@"transfer_admin_is_not_admin"]) { - return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminIsNotAdmin]; - } else if ([tag isEqualToString:@"cannot_keep_account_and_transfer"]) { - return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountAndTransfer]; - } else if ([tag isEqualToString:@"cannot_keep_account_and_delete_data"]) { - return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountAndDeleteData]; - } else if ([tag isEqualToString:@"email_address_too_long_to_be_disabled"]) { - return [[DBTEAMMembersRemoveError alloc] initWithEmailAddressTooLongToBeDisabled]; + return [[DBTEAMMembersRemoveError alloc] initWithOther]; + } else if ([tag isEqualToString:@"removed_and_transfer_dest_should_differ"]) { + return [[DBTEAMMembersRemoveError alloc] initWithRemovedAndTransferDestShouldDiffer]; + } else if ([tag isEqualToString:@"removed_and_transfer_admin_should_differ"]) { + return [[DBTEAMMembersRemoveError alloc] initWithRemovedAndTransferAdminShouldDiffer]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_found"]) { + return [[DBTEAMMembersRemoveError alloc] initWithTransferDestUserNotFound]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_in_team"]) { + return [[DBTEAMMembersRemoveError alloc] initWithTransferDestUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_in_team"]) { + return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_found"]) { + return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminUserNotFound]; + } else if ([tag isEqualToString:@"unspecified_transfer_admin_id"]) { + return [[DBTEAMMembersRemoveError alloc] initWithUnspecifiedTransferAdminId]; + } else if ([tag isEqualToString:@"transfer_admin_is_not_admin"]) { + return [[DBTEAMMembersRemoveError alloc] initWithTransferAdminIsNotAdmin]; + } else if ([tag isEqualToString:@"recipient_not_verified"]) { + return [[DBTEAMMembersRemoveError alloc] initWithRecipientNotVerified]; + } else if ([tag isEqualToString:@"remove_last_admin"]) { + return [[DBTEAMMembersRemoveError alloc] initWithRemoveLastAdmin]; + } else if ([tag isEqualToString:@"cannot_keep_account_and_transfer"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountAndTransfer]; + } else if ([tag isEqualToString:@"cannot_keep_account_and_delete_data"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountAndDeleteData]; + } else if ([tag isEqualToString:@"email_address_too_long_to_be_disabled"]) { + return [[DBTEAMMembersRemoveError alloc] initWithEmailAddressTooLongToBeDisabled]; + } else if ([tag isEqualToString:@"cannot_keep_invited_user_account"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepInvitedUserAccount]; + } else if ([tag isEqualToString:@"cannot_retain_shares_when_data_wiped"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotRetainSharesWhenDataWiped]; + } else if ([tag isEqualToString:@"cannot_retain_shares_when_no_account_kept"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotRetainSharesWhenNoAccountKept]; + } else if ([tag isEqualToString:@"cannot_retain_shares_when_team_external_sharing_off"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotRetainSharesWhenTeamExternalSharingOff]; + } else if ([tag isEqualToString:@"cannot_keep_account"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccount]; + } else if ([tag isEqualToString:@"cannot_keep_account_under_legal_hold"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountUnderLegalHold]; + } else if ([tag isEqualToString:@"cannot_keep_account_required_to_sign_tos"]) { + return [[DBTEAMMembersRemoveError alloc] initWithCannotKeepAccountRequiredToSignTos]; + } else { + return [[DBTEAMMembersRemoveError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberSelectorError.h" +#import "DBTEAMMembersSendWelcomeError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSendWelcomeError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSendWelcomeErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSendWelcomeErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSendWelcomeErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSendWelcomeErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSendWelcomeErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSendWelcomeErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSendWelcomeErrorUserNotFound: + return @"DBTEAMMembersSendWelcomeErrorUserNotFound"; + case DBTEAMMembersSendWelcomeErrorUserNotInTeam: + return @"DBTEAMMembersSendWelcomeErrorUserNotInTeam"; + case DBTEAMMembersSendWelcomeErrorOther: + return @"DBTEAMMembersSendWelcomeErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSendWelcomeErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSendWelcomeErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSendWelcomeErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSendWelcomeErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSendWelcomeErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSendWelcomeErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSendWelcomeError:other]; +} + +- (BOOL)isEqualToMembersSendWelcomeError:(DBTEAMMembersSendWelcomeError *)aMembersSendWelcomeError { + if (self == aMembersSendWelcomeError) { + return YES; + } + if (self.tag != aMembersSendWelcomeError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSendWelcomeErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; + case DBTEAMMembersSendWelcomeErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; + case DBTEAMMembersSendWelcomeErrorOther: + return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSendWelcomeErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSendWelcomeError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSendWelcomeError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSendWelcomeError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSendWelcomeError alloc] initWithOther]; + } else { + return [[DBTEAMMembersSendWelcomeError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetPermissions2Arg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissions2Arg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user dNewRoles:(NSArray *)dNewRoles { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators + nullableValidator:[DBStoneValidators + arrayValidator:nil + maxItems:@(1) + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(128) + pattern:@"pid_dbtmr:.*"]]]]( + dNewRoles); + + self = [super init]; + if (self) { + _user = user; + _dNewRoles = dNewRoles; + } + return self; +} + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + return [self initWithUser:user dNewRoles:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissions2ArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissions2ArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissions2ArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + if (self.dNewRoles != nil) { + result = prime * result + [self.dNewRoles hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissions2Arg:other]; +} + +- (BOOL)isEqualToMembersSetPermissions2Arg:(DBTEAMMembersSetPermissions2Arg *)aMembersSetPermissions2Arg { + if (self == aMembersSetPermissions2Arg) { + return YES; + } + if (![self.user isEqual:aMembersSetPermissions2Arg.user]) { + return NO; + } + if (self.dNewRoles) { + if (![self.dNewRoles isEqual:aMembersSetPermissions2Arg.dNewRoles]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissions2ArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Arg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + if (valueObj.dNewRoles) { + jsonDict[@"new_roles"] = [DBArraySerializer serialize:valueObj.dNewRoles + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissions2Arg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSArray *dNewRoles = valueDict[@"new_roles"] ? [DBArraySerializer deserialize:valueDict[@"new_roles"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBTEAMMembersSetPermissions2Arg alloc] initWithUser:user dNewRoles:dNewRoles]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetPermissions2Error.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissions2Error + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithLastAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorLastAdmin; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithCannotSetPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorCannotSetPermissions; + } + return self; +} + +- (instancetype)initWithRoleNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorRoleNotFound; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissions2ErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSetPermissions2ErrorUserNotFound; +} + +- (BOOL)isLastAdmin { + return _tag == DBTEAMMembersSetPermissions2ErrorLastAdmin; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSetPermissions2ErrorUserNotInTeam; +} + +- (BOOL)isCannotSetPermissions { + return _tag == DBTEAMMembersSetPermissions2ErrorCannotSetPermissions; +} + +- (BOOL)isRoleNotFound { + return _tag == DBTEAMMembersSetPermissions2ErrorRoleNotFound; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSetPermissions2ErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSetPermissions2ErrorUserNotFound: + return @"DBTEAMMembersSetPermissions2ErrorUserNotFound"; + case DBTEAMMembersSetPermissions2ErrorLastAdmin: + return @"DBTEAMMembersSetPermissions2ErrorLastAdmin"; + case DBTEAMMembersSetPermissions2ErrorUserNotInTeam: + return @"DBTEAMMembersSetPermissions2ErrorUserNotInTeam"; + case DBTEAMMembersSetPermissions2ErrorCannotSetPermissions: + return @"DBTEAMMembersSetPermissions2ErrorCannotSetPermissions"; + case DBTEAMMembersSetPermissions2ErrorRoleNotFound: + return @"DBTEAMMembersSetPermissions2ErrorRoleNotFound"; + case DBTEAMMembersSetPermissions2ErrorOther: + return @"DBTEAMMembersSetPermissions2ErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissions2ErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissions2ErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissions2ErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSetPermissions2ErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissions2ErrorLastAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissions2ErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissions2ErrorCannotSetPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissions2ErrorRoleNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissions2ErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissions2Error:other]; +} + +- (BOOL)isEqualToMembersSetPermissions2Error:(DBTEAMMembersSetPermissions2Error *)aMembersSetPermissions2Error { + if (self == aMembersSetPermissions2Error) { + return YES; + } + if (self.tag != aMembersSetPermissions2Error.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSetPermissions2ErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + case DBTEAMMembersSetPermissions2ErrorLastAdmin: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + case DBTEAMMembersSetPermissions2ErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + case DBTEAMMembersSetPermissions2ErrorCannotSetPermissions: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + case DBTEAMMembersSetPermissions2ErrorRoleNotFound: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + case DBTEAMMembersSetPermissions2ErrorOther: + return [[self tagName] isEqual:[aMembersSetPermissions2Error tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissions2ErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Error *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isLastAdmin]) { + jsonDict[@".tag"] = @"last_admin"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isCannotSetPermissions]) { + jsonDict[@".tag"] = @"cannot_set_permissions"; + } else if ([valueObj isRoleNotFound]) { + jsonDict[@".tag"] = @"role_not_found"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissions2Error *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"last_admin"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithLastAdmin]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"cannot_set_permissions"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithCannotSetPermissions]; + } else if ([tag isEqualToString:@"role_not_found"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithRoleNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithOther]; + } else { + return [[DBTEAMMembersSetPermissions2Error alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetPermissions2Result.h" +#import "DBTEAMTeamMemberRole.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissions2Result + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId roles:(NSArray *)roles { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](roles); + + self = [super init]; + if (self) { + _teamMemberId = teamMemberId; + _roles = roles; + } + return self; +} + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId { + return [self initWithTeamMemberId:teamMemberId roles:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissions2ResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissions2ResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissions2ResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberId hash]; + if (self.roles != nil) { + result = prime * result + [self.roles hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissions2Result:other]; +} + +- (BOOL)isEqualToMembersSetPermissions2Result:(DBTEAMMembersSetPermissions2Result *)aMembersSetPermissions2Result { + if (self == aMembersSetPermissions2Result) { + return YES; + } + if (![self.teamMemberId isEqual:aMembersSetPermissions2Result.teamMemberId]) { + return NO; + } + if (self.roles) { + if (![self.roles isEqual:aMembersSetPermissions2Result.roles]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissions2ResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Result *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + if (valueObj.roles) { + jsonDict[@"roles"] = [DBArraySerializer serialize:valueObj.roles + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer serialize:elem0]; + }]; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissions2Result *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSArray *roles = + valueDict[@"roles"] ? [DBArraySerializer deserialize:valueDict[@"roles"] + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer deserialize:elem0]; + }] + : nil; + + return [[DBTEAMMembersSetPermissions2Result alloc] initWithTeamMemberId:teamMemberId roles:roles]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAdminTier.h" +#import "DBTEAMMembersSetPermissionsArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissionsArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user dNewRole:(DBTEAMAdminTier *)dNewRole { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nonnullValidator:nil](dNewRole); + + self = [super init]; + if (self) { + _user = user; + _dNewRole = dNewRole; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissionsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissionsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissionsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + result = prime * result + [self.dNewRole hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissionsArg:other]; +} + +- (BOOL)isEqualToMembersSetPermissionsArg:(DBTEAMMembersSetPermissionsArg *)aMembersSetPermissionsArg { + if (self == aMembersSetPermissionsArg) { + return YES; + } + if (![self.user isEqual:aMembersSetPermissionsArg.user]) { + return NO; + } + if (![self.dNewRole isEqual:aMembersSetPermissionsArg.dNewRole]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissionsArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"new_role"] = [DBTEAMAdminTierSerializer serialize:valueObj.dNewRole]; + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + DBTEAMAdminTier *dNewRole = [DBTEAMAdminTierSerializer deserialize:valueDict[@"new_role"]]; + + return [[DBTEAMMembersSetPermissionsArg alloc] initWithUser:user dNewRole:dNewRole]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetPermissionsError.h" +#import "DBTEAMUserSelectorError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissionsError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithLastAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorLastAdmin; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithCannotSetPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorCannotSetPermissions; + } + return self; +} + +- (instancetype)initWithTeamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorTeamLicenseLimit; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetPermissionsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSetPermissionsErrorUserNotFound; +} + +- (BOOL)isLastAdmin { + return _tag == DBTEAMMembersSetPermissionsErrorLastAdmin; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSetPermissionsErrorUserNotInTeam; +} + +- (BOOL)isCannotSetPermissions { + return _tag == DBTEAMMembersSetPermissionsErrorCannotSetPermissions; +} + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMembersSetPermissionsErrorTeamLicenseLimit; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSetPermissionsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSetPermissionsErrorUserNotFound: + return @"DBTEAMMembersSetPermissionsErrorUserNotFound"; + case DBTEAMMembersSetPermissionsErrorLastAdmin: + return @"DBTEAMMembersSetPermissionsErrorLastAdmin"; + case DBTEAMMembersSetPermissionsErrorUserNotInTeam: + return @"DBTEAMMembersSetPermissionsErrorUserNotInTeam"; + case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: + return @"DBTEAMMembersSetPermissionsErrorCannotSetPermissions"; + case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: + return @"DBTEAMMembersSetPermissionsErrorTeamLicenseLimit"; + case DBTEAMMembersSetPermissionsErrorOther: + return @"DBTEAMMembersSetPermissionsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissionsErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissionsErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissionsErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSetPermissionsErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissionsErrorLastAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissionsErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetPermissionsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissionsError:other]; +} + +- (BOOL)isEqualToMembersSetPermissionsError:(DBTEAMMembersSetPermissionsError *)aMembersSetPermissionsError { + if (self == aMembersSetPermissionsError) { + return YES; + } + if (self.tag != aMembersSetPermissionsError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSetPermissionsErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + case DBTEAMMembersSetPermissionsErrorLastAdmin: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + case DBTEAMMembersSetPermissionsErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + case DBTEAMMembersSetPermissionsErrorOther: + return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissionsErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isLastAdmin]) { + jsonDict[@".tag"] = @"last_admin"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isCannotSetPermissions]) { + jsonDict[@".tag"] = @"cannot_set_permissions"; + } else if ([valueObj isTeamLicenseLimit]) { + jsonDict[@".tag"] = @"team_license_limit"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"last_admin"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithLastAdmin]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"cannot_set_permissions"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithCannotSetPermissions]; + } else if ([tag isEqualToString:@"team_license_limit"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithTeamLicenseLimit]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSetPermissionsError alloc] initWithOther]; + } else { + return [[DBTEAMMembersSetPermissionsError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMAdminTier.h" +#import "DBTEAMMembersSetPermissionsResult.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetPermissionsResult + +#pragma mark - Constructors + +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId role:(DBTEAMAdminTier *)role { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators nonnullValidator:nil](role); + + self = [super init]; + if (self) { + _teamMemberId = teamMemberId; + _role = role; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetPermissionsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetPermissionsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetPermissionsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.role hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetPermissionsResult:other]; +} + +- (BOOL)isEqualToMembersSetPermissionsResult:(DBTEAMMembersSetPermissionsResult *)aMembersSetPermissionsResult { + if (self == aMembersSetPermissionsResult) { + return YES; + } + if (![self.teamMemberId isEqual:aMembersSetPermissionsResult.teamMemberId]) { + return NO; + } + if (![self.role isEqual:aMembersSetPermissionsResult.role]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetPermissionsResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; + + return jsonDict; +} + ++ (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + DBTEAMAdminTier *role = [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]]; + + return [[DBTEAMMembersSetPermissionsResult alloc] initWithTeamMemberId:teamMemberId role:role]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetProfileArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetProfileArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + dNewEmail:(NSString *)dNewEmail + dNewExternalId:(NSString *)dNewExternalId + dNewGivenName:(NSString *)dNewGivenName + dNewSurname:(NSString *)dNewSurname + dNewPersistentId:(NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(NSNumber *)dNewIsDirectoryRestricted { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" + @"9.-]*\\.[A-Za-z]{2,15}$"]](dNewEmail); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](dNewExternalId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](dNewGivenName); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](dNewSurname); + + self = [super init]; + if (self) { + _user = user; + _dNewEmail = dNewEmail; + _dNewExternalId = dNewExternalId; + _dNewGivenName = dNewGivenName; + _dNewSurname = dNewSurname; + _dNewPersistentId = dNewPersistentId; + _dNewIsDirectoryRestricted = dNewIsDirectoryRestricted; + } + return self; +} + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + return [self initWithUser:user + dNewEmail:nil + dNewExternalId:nil + dNewGivenName:nil + dNewSurname:nil + dNewPersistentId:nil + dNewIsDirectoryRestricted:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetProfileArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetProfileArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetProfileArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + if (self.dNewEmail != nil) { + result = prime * result + [self.dNewEmail hash]; + } + if (self.dNewExternalId != nil) { + result = prime * result + [self.dNewExternalId hash]; + } + if (self.dNewGivenName != nil) { + result = prime * result + [self.dNewGivenName hash]; + } + if (self.dNewSurname != nil) { + result = prime * result + [self.dNewSurname hash]; + } + if (self.dNewPersistentId != nil) { + result = prime * result + [self.dNewPersistentId hash]; + } + if (self.dNewIsDirectoryRestricted != nil) { + result = prime * result + [self.dNewIsDirectoryRestricted hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetProfileArg:other]; +} + +- (BOOL)isEqualToMembersSetProfileArg:(DBTEAMMembersSetProfileArg *)aMembersSetProfileArg { + if (self == aMembersSetProfileArg) { + return YES; + } + if (![self.user isEqual:aMembersSetProfileArg.user]) { + return NO; + } + if (self.dNewEmail) { + if (![self.dNewEmail isEqual:aMembersSetProfileArg.dNewEmail]) { + return NO; + } + } + if (self.dNewExternalId) { + if (![self.dNewExternalId isEqual:aMembersSetProfileArg.dNewExternalId]) { + return NO; + } + } + if (self.dNewGivenName) { + if (![self.dNewGivenName isEqual:aMembersSetProfileArg.dNewGivenName]) { + return NO; + } + } + if (self.dNewSurname) { + if (![self.dNewSurname isEqual:aMembersSetProfileArg.dNewSurname]) { + return NO; + } + } + if (self.dNewPersistentId) { + if (![self.dNewPersistentId isEqual:aMembersSetProfileArg.dNewPersistentId]) { + return NO; + } + } + if (self.dNewIsDirectoryRestricted) { + if (![self.dNewIsDirectoryRestricted isEqual:aMembersSetProfileArg.dNewIsDirectoryRestricted]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetProfileArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetProfileArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + if (valueObj.dNewEmail) { + jsonDict[@"new_email"] = valueObj.dNewEmail; + } + if (valueObj.dNewExternalId) { + jsonDict[@"new_external_id"] = valueObj.dNewExternalId; + } + if (valueObj.dNewGivenName) { + jsonDict[@"new_given_name"] = valueObj.dNewGivenName; + } + if (valueObj.dNewSurname) { + jsonDict[@"new_surname"] = valueObj.dNewSurname; + } + if (valueObj.dNewPersistentId) { + jsonDict[@"new_persistent_id"] = valueObj.dNewPersistentId; + } + if (valueObj.dNewIsDirectoryRestricted) { + jsonDict[@"new_is_directory_restricted"] = valueObj.dNewIsDirectoryRestricted; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSString *dNewEmail = valueDict[@"new_email"] ?: nil; + NSString *dNewExternalId = valueDict[@"new_external_id"] ?: nil; + NSString *dNewGivenName = valueDict[@"new_given_name"] ?: nil; + NSString *dNewSurname = valueDict[@"new_surname"] ?: nil; + NSString *dNewPersistentId = valueDict[@"new_persistent_id"] ?: nil; + NSNumber *dNewIsDirectoryRestricted = valueDict[@"new_is_directory_restricted"] ?: nil; + + return [[DBTEAMMembersSetProfileArg alloc] initWithUser:user + dNewEmail:dNewEmail + dNewExternalId:dNewExternalId + dNewGivenName:dNewGivenName + dNewSurname:dNewSurname + dNewPersistentId:dNewPersistentId + dNewIsDirectoryRestricted:dNewIsDirectoryRestricted]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberSelectorError.h" +#import "DBTEAMMembersSetProfileError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetProfileError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithExternalIdAndNewExternalIdUnsafe { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe; + } + return self; +} + +- (instancetype)initWithNoNewDataSpecified { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorNoNewDataSpecified; + } + return self; +} + +- (instancetype)initWithEmailReservedForOtherUser { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorEmailReservedForOtherUser; + } + return self; +} + +- (instancetype)initWithExternalIdUsedByOtherUser { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser; + } + return self; +} + +- (instancetype)initWithSetProfileDisallowed { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorSetProfileDisallowed; + } + return self; +} + +- (instancetype)initWithParamCannotBeEmpty { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorParamCannotBeEmpty; + } + return self; +} + +- (instancetype)initWithPersistentIdDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorPersistentIdDisabled; + } + return self; +} + +- (instancetype)initWithPersistentIdUsedByOtherUser { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictedOff { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorDirectoryRestrictedOff; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfileErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSetProfileErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSetProfileErrorUserNotInTeam; +} + +- (BOOL)isExternalIdAndNewExternalIdUnsafe { + return _tag == DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe; +} + +- (BOOL)isNoNewDataSpecified { + return _tag == DBTEAMMembersSetProfileErrorNoNewDataSpecified; +} + +- (BOOL)isEmailReservedForOtherUser { + return _tag == DBTEAMMembersSetProfileErrorEmailReservedForOtherUser; +} + +- (BOOL)isExternalIdUsedByOtherUser { + return _tag == DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser; +} + +- (BOOL)isSetProfileDisallowed { + return _tag == DBTEAMMembersSetProfileErrorSetProfileDisallowed; +} + +- (BOOL)isParamCannotBeEmpty { + return _tag == DBTEAMMembersSetProfileErrorParamCannotBeEmpty; +} + +- (BOOL)isPersistentIdDisabled { + return _tag == DBTEAMMembersSetProfileErrorPersistentIdDisabled; +} + +- (BOOL)isPersistentIdUsedByOtherUser { + return _tag == DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser; +} + +- (BOOL)isDirectoryRestrictedOff { + return _tag == DBTEAMMembersSetProfileErrorDirectoryRestrictedOff; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSetProfileErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSetProfileErrorUserNotFound: + return @"DBTEAMMembersSetProfileErrorUserNotFound"; + case DBTEAMMembersSetProfileErrorUserNotInTeam: + return @"DBTEAMMembersSetProfileErrorUserNotInTeam"; + case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: + return @"DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe"; + case DBTEAMMembersSetProfileErrorNoNewDataSpecified: + return @"DBTEAMMembersSetProfileErrorNoNewDataSpecified"; + case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: + return @"DBTEAMMembersSetProfileErrorEmailReservedForOtherUser"; + case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: + return @"DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser"; + case DBTEAMMembersSetProfileErrorSetProfileDisallowed: + return @"DBTEAMMembersSetProfileErrorSetProfileDisallowed"; + case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: + return @"DBTEAMMembersSetProfileErrorParamCannotBeEmpty"; + case DBTEAMMembersSetProfileErrorPersistentIdDisabled: + return @"DBTEAMMembersSetProfileErrorPersistentIdDisabled"; + case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: + return @"DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser"; + case DBTEAMMembersSetProfileErrorDirectoryRestrictedOff: + return @"DBTEAMMembersSetProfileErrorDirectoryRestrictedOff"; + case DBTEAMMembersSetProfileErrorOther: + return @"DBTEAMMembersSetProfileErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetProfileErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetProfileErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetProfileErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSetProfileErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorNoNewDataSpecified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorSetProfileDisallowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorPersistentIdDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorDirectoryRestrictedOff: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfileErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetProfileError:other]; +} + +- (BOOL)isEqualToMembersSetProfileError:(DBTEAMMembersSetProfileError *)aMembersSetProfileError { + if (self == aMembersSetProfileError) { + return YES; + } + if (self.tag != aMembersSetProfileError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSetProfileErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorNoNewDataSpecified: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorSetProfileDisallowed: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorPersistentIdDisabled: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorDirectoryRestrictedOff: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMMembersSetProfileErrorOther: + return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetProfileErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetProfileError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isExternalIdAndNewExternalIdUnsafe]) { + jsonDict[@".tag"] = @"external_id_and_new_external_id_unsafe"; + } else if ([valueObj isNoNewDataSpecified]) { + jsonDict[@".tag"] = @"no_new_data_specified"; + } else if ([valueObj isEmailReservedForOtherUser]) { + jsonDict[@".tag"] = @"email_reserved_for_other_user"; + } else if ([valueObj isExternalIdUsedByOtherUser]) { + jsonDict[@".tag"] = @"external_id_used_by_other_user"; + } else if ([valueObj isSetProfileDisallowed]) { + jsonDict[@".tag"] = @"set_profile_disallowed"; + } else if ([valueObj isParamCannotBeEmpty]) { + jsonDict[@".tag"] = @"param_cannot_be_empty"; + } else if ([valueObj isPersistentIdDisabled]) { + jsonDict[@".tag"] = @"persistent_id_disabled"; + } else if ([valueObj isPersistentIdUsedByOtherUser]) { + jsonDict[@".tag"] = @"persistent_id_used_by_other_user"; + } else if ([valueObj isDirectoryRestrictedOff]) { + jsonDict[@".tag"] = @"directory_restricted_off"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"external_id_and_new_external_id_unsafe"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithExternalIdAndNewExternalIdUnsafe]; + } else if ([tag isEqualToString:@"no_new_data_specified"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithNoNewDataSpecified]; + } else if ([tag isEqualToString:@"email_reserved_for_other_user"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithEmailReservedForOtherUser]; + } else if ([tag isEqualToString:@"external_id_used_by_other_user"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithExternalIdUsedByOtherUser]; + } else if ([tag isEqualToString:@"set_profile_disallowed"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithSetProfileDisallowed]; + } else if ([tag isEqualToString:@"param_cannot_be_empty"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithParamCannotBeEmpty]; + } else if ([tag isEqualToString:@"persistent_id_disabled"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithPersistentIdDisabled]; + } else if ([tag isEqualToString:@"persistent_id_used_by_other_user"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithPersistentIdUsedByOtherUser]; + } else if ([tag isEqualToString:@"directory_restricted_off"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithDirectoryRestrictedOff]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSetProfileError alloc] initWithOther]; + } else { + return [[DBTEAMMembersSetProfileError alloc] initWithOther]; + } +} + +@end + +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersSetProfilePhotoArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetProfilePhotoArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user photo:(DBACCOUNTPhotoSourceArg *)photo { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nonnullValidator:nil](photo); + + self = [super init]; + if (self) { + _user = user; + _photo = photo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetProfilePhotoArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetProfilePhotoArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetProfilePhotoArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + result = prime * result + [self.photo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetProfilePhotoArg:other]; +} + +- (BOOL)isEqualToMembersSetProfilePhotoArg:(DBTEAMMembersSetProfilePhotoArg *)aMembersSetProfilePhotoArg { + if (self == aMembersSetProfilePhotoArg) { + return YES; + } + if (![self.user isEqual:aMembersSetProfilePhotoArg.user]) { + return NO; + } + if (![self.photo isEqual:aMembersSetProfilePhotoArg.photo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetProfilePhotoArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetProfilePhotoArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"photo"] = [DBACCOUNTPhotoSourceArgSerializer serialize:valueObj.photo]; + + return jsonDict; +} + ++ (DBTEAMMembersSetProfilePhotoArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + DBACCOUNTPhotoSourceArg *photo = [DBACCOUNTPhotoSourceArgSerializer deserialize:valueDict[@"photo"]]; + + return [[DBTEAMMembersSetProfilePhotoArg alloc] initWithUser:user photo:photo]; +} + +@end + +#import "DBACCOUNTSetProfilePhotoError.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMemberSelectorError.h" +#import "DBTEAMMembersSetProfilePhotoError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSetProfilePhotoError + +@synthesize photoError = _photoError; + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfilePhotoErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfilePhotoErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithSetProfileDisallowed { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed; + } + return self; +} + +- (instancetype)initWithPhotoError:(DBACCOUNTSetProfilePhotoError *)photoError { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfilePhotoErrorPhotoError; + _photoError = photoError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSetProfilePhotoErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBACCOUNTSetProfilePhotoError *)photoError { + if (![self isPhotoError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMMembersSetProfilePhotoErrorPhotoError, but was %@.", [self tagName]]; + } + return _photoError; +} + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSetProfilePhotoErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSetProfilePhotoErrorUserNotInTeam; +} + +- (BOOL)isSetProfileDisallowed { + return _tag == DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed; +} + +- (BOOL)isPhotoError { + return _tag == DBTEAMMembersSetProfilePhotoErrorPhotoError; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSetProfilePhotoErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSetProfilePhotoErrorUserNotFound: + return @"DBTEAMMembersSetProfilePhotoErrorUserNotFound"; + case DBTEAMMembersSetProfilePhotoErrorUserNotInTeam: + return @"DBTEAMMembersSetProfilePhotoErrorUserNotInTeam"; + case DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed: + return @"DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed"; + case DBTEAMMembersSetProfilePhotoErrorPhotoError: + return @"DBTEAMMembersSetProfilePhotoErrorPhotoError"; + case DBTEAMMembersSetProfilePhotoErrorOther: + return @"DBTEAMMembersSetProfilePhotoErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSetProfilePhotoErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSetProfilePhotoErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSetProfilePhotoErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSetProfilePhotoErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfilePhotoErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSetProfilePhotoErrorPhotoError: + result = prime * result + [self.photoError hash]; + break; + case DBTEAMMembersSetProfilePhotoErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSetProfilePhotoError:other]; +} + +- (BOOL)isEqualToMembersSetProfilePhotoError:(DBTEAMMembersSetProfilePhotoError *)aMembersSetProfilePhotoError { + if (self == aMembersSetProfilePhotoError) { + return YES; + } + if (self.tag != aMembersSetProfilePhotoError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSetProfilePhotoErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSetProfilePhotoError tagName]]; + case DBTEAMMembersSetProfilePhotoErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSetProfilePhotoError tagName]]; + case DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed: + return [[self tagName] isEqual:[aMembersSetProfilePhotoError tagName]]; + case DBTEAMMembersSetProfilePhotoErrorPhotoError: + return [self.photoError isEqual:aMembersSetProfilePhotoError.photoError]; + case DBTEAMMembersSetProfilePhotoErrorOther: + return [[self tagName] isEqual:[aMembersSetProfilePhotoError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSetProfilePhotoErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSetProfilePhotoError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isSetProfileDisallowed]) { + jsonDict[@".tag"] = @"set_profile_disallowed"; + } else if ([valueObj isPhotoError]) { + jsonDict[@"photo_error"] = [[DBACCOUNTSetProfilePhotoErrorSerializer serialize:valueObj.photoError] mutableCopy]; + jsonDict[@".tag"] = @"photo_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSetProfilePhotoError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"set_profile_disallowed"]) { + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithSetProfileDisallowed]; + } else if ([tag isEqualToString:@"photo_error"]) { + DBACCOUNTSetProfilePhotoError *photoError = + [DBACCOUNTSetProfilePhotoErrorSerializer deserialize:valueDict[@"photo_error"]]; + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithPhotoError:photoError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithOther]; + } else { + return [[DBTEAMMembersSetProfilePhotoError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersSuspendError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersSuspendError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorOther; + } + return self; +} + +- (instancetype)initWithSuspendInactiveUser { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorSuspendInactiveUser; + } + return self; +} + +- (instancetype)initWithSuspendLastAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorSuspendLastAdmin; + } + return self; +} + +- (instancetype)initWithTeamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMembersSuspendErrorTeamLicenseLimit; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersSuspendErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersSuspendErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersSuspendErrorOther; +} + +- (BOOL)isSuspendInactiveUser { + return _tag == DBTEAMMembersSuspendErrorSuspendInactiveUser; +} + +- (BOOL)isSuspendLastAdmin { + return _tag == DBTEAMMembersSuspendErrorSuspendLastAdmin; +} + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMembersSuspendErrorTeamLicenseLimit; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersSuspendErrorUserNotFound: + return @"DBTEAMMembersSuspendErrorUserNotFound"; + case DBTEAMMembersSuspendErrorUserNotInTeam: + return @"DBTEAMMembersSuspendErrorUserNotInTeam"; + case DBTEAMMembersSuspendErrorOther: + return @"DBTEAMMembersSuspendErrorOther"; + case DBTEAMMembersSuspendErrorSuspendInactiveUser: + return @"DBTEAMMembersSuspendErrorSuspendInactiveUser"; + case DBTEAMMembersSuspendErrorSuspendLastAdmin: + return @"DBTEAMMembersSuspendErrorSuspendLastAdmin"; + case DBTEAMMembersSuspendErrorTeamLicenseLimit: + return @"DBTEAMMembersSuspendErrorTeamLicenseLimit"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersSuspendErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersSuspendErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersSuspendErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersSuspendErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSuspendErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSuspendErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSuspendErrorSuspendInactiveUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSuspendErrorSuspendLastAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersSuspendErrorTeamLicenseLimit: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersSuspendError:other]; +} + +- (BOOL)isEqualToMembersSuspendError:(DBTEAMMembersSuspendError *)aMembersSuspendError { + if (self == aMembersSuspendError) { + return YES; + } + if (self.tag != aMembersSuspendError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersSuspendErrorUserNotFound: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + case DBTEAMMembersSuspendErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + case DBTEAMMembersSuspendErrorOther: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + case DBTEAMMembersSuspendErrorSuspendInactiveUser: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + case DBTEAMMembersSuspendErrorSuspendLastAdmin: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + case DBTEAMMembersSuspendErrorTeamLicenseLimit: + return [[self tagName] isEqual:[aMembersSuspendError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersSuspendErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersSuspendError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isSuspendInactiveUser]) { + jsonDict[@".tag"] = @"suspend_inactive_user"; + } else if ([valueObj isSuspendLastAdmin]) { + jsonDict[@".tag"] = @"suspend_last_admin"; + } else if ([valueObj isTeamLicenseLimit]) { + jsonDict[@".tag"] = @"team_license_limit"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersSuspendError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersSuspendError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersSuspendError alloc] initWithOther]; + } else if ([tag isEqualToString:@"suspend_inactive_user"]) { + return [[DBTEAMMembersSuspendError alloc] initWithSuspendInactiveUser]; + } else if ([tag isEqualToString:@"suspend_last_admin"]) { + return [[DBTEAMMembersSuspendError alloc] initWithSuspendLastAdmin]; + } else if ([tag isEqualToString:@"team_license_limit"]) { + return [[DBTEAMMembersSuspendError alloc] initWithTeamLicenseLimit]; + } else { + return [[DBTEAMMembersSuspendError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersTransferFilesError.h" +#import "DBTEAMMembersTransferFormerMembersFilesError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersTransferFormerMembersFilesError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorOther; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferDestShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer; + } + return self; +} + +- (instancetype)initWithRemovedAndTransferAdminShouldDiffer { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound; + } + return self; +} + +- (instancetype)initWithTransferDestUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam; + } + return self; +} + +- (instancetype)initWithTransferAdminUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound; + } + return self; +} + +- (instancetype)initWithUnspecifiedTransferAdminId { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId; + } + return self; +} + +- (instancetype)initWithTransferAdminIsNotAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin; + } + return self; +} + +- (instancetype)initWithRecipientNotVerified { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified; + } + return self; +} + +- (instancetype)initWithUserDataIsBeingTransferred { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred; + } + return self; +} + +- (instancetype)initWithUserNotRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved; + } + return self; +} + +- (instancetype)initWithUserDataCannotBeTransferred { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred; + } + return self; +} + +- (instancetype)initWithUserDataAlreadyTransferred { + self = [super init]; + if (self) { + _tag = DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorOther; +} + +- (BOOL)isRemovedAndTransferDestShouldDiffer { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer; +} + +- (BOOL)isRemovedAndTransferAdminShouldDiffer { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer; +} + +- (BOOL)isTransferDestUserNotFound { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound; +} + +- (BOOL)isTransferDestUserNotInTeam { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotInTeam { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam; +} + +- (BOOL)isTransferAdminUserNotFound { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound; +} + +- (BOOL)isUnspecifiedTransferAdminId { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId; +} + +- (BOOL)isTransferAdminIsNotAdmin { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin; +} + +- (BOOL)isRecipientNotVerified { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified; +} + +- (BOOL)isUserDataIsBeingTransferred { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred; +} + +- (BOOL)isUserNotRemoved { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved; +} + +- (BOOL)isUserDataCannotBeTransferred { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred; +} + +- (BOOL)isUserDataAlreadyTransferred { + return _tag == DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound"; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam"; + case DBTEAMMembersTransferFormerMembersFilesErrorOther: + return @"DBTEAMMembersTransferFormerMembersFilesErrorOther"; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer: + return @"DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer"; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer: + return @"DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer"; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound: + return @"DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound"; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam: + return @"DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam"; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam: + return @"DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam"; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound: + return @"DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound"; + case DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId"; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin: + return @"DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin"; + case DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified: + return @"DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified"; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred"; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved"; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred"; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred: + return @"DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersTransferFormerMembersFilesErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersTransferFormerMembersFilesErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersTransferFormerMembersFilesErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersTransferFormerMembersFilesError:other]; +} + +- (BOOL)isEqualToMembersTransferFormerMembersFilesError: + (DBTEAMMembersTransferFormerMembersFilesError *)aMembersTransferFormerMembersFilesError { + if (self == aMembersTransferFormerMembersFilesError) { + return YES; + } + if (self.tag != aMembersTransferFormerMembersFilesError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorOther: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + case DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred: + return [[self tagName] isEqual:[aMembersTransferFormerMembersFilesError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersTransferFormerMembersFilesErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersTransferFormerMembersFilesError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isRemovedAndTransferDestShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_dest_should_differ"; + } else if ([valueObj isRemovedAndTransferAdminShouldDiffer]) { + jsonDict[@".tag"] = @"removed_and_transfer_admin_should_differ"; + } else if ([valueObj isTransferDestUserNotFound]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_found"; + } else if ([valueObj isTransferDestUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_dest_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotInTeam]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_in_team"; + } else if ([valueObj isTransferAdminUserNotFound]) { + jsonDict[@".tag"] = @"transfer_admin_user_not_found"; + } else if ([valueObj isUnspecifiedTransferAdminId]) { + jsonDict[@".tag"] = @"unspecified_transfer_admin_id"; + } else if ([valueObj isTransferAdminIsNotAdmin]) { + jsonDict[@".tag"] = @"transfer_admin_is_not_admin"; + } else if ([valueObj isRecipientNotVerified]) { + jsonDict[@".tag"] = @"recipient_not_verified"; + } else if ([valueObj isUserDataIsBeingTransferred]) { + jsonDict[@".tag"] = @"user_data_is_being_transferred"; + } else if ([valueObj isUserNotRemoved]) { + jsonDict[@".tag"] = @"user_not_removed"; + } else if ([valueObj isUserDataCannotBeTransferred]) { + jsonDict[@".tag"] = @"user_data_cannot_be_transferred"; + } else if ([valueObj isUserDataAlreadyTransferred]) { + jsonDict[@".tag"] = @"user_data_already_transferred"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersTransferFormerMembersFilesError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithOther]; + } else if ([tag isEqualToString:@"removed_and_transfer_dest_should_differ"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithRemovedAndTransferDestShouldDiffer]; + } else if ([tag isEqualToString:@"removed_and_transfer_admin_should_differ"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithRemovedAndTransferAdminShouldDiffer]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_found"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithTransferDestUserNotFound]; + } else if ([tag isEqualToString:@"transfer_dest_user_not_in_team"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithTransferDestUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_in_team"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithTransferAdminUserNotInTeam]; + } else if ([tag isEqualToString:@"transfer_admin_user_not_found"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithTransferAdminUserNotFound]; + } else if ([tag isEqualToString:@"unspecified_transfer_admin_id"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUnspecifiedTransferAdminId]; + } else if ([tag isEqualToString:@"transfer_admin_is_not_admin"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithTransferAdminIsNotAdmin]; + } else if ([tag isEqualToString:@"recipient_not_verified"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithRecipientNotVerified]; + } else if ([tag isEqualToString:@"user_data_is_being_transferred"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserDataIsBeingTransferred]; + } else if ([tag isEqualToString:@"user_not_removed"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserNotRemoved]; + } else if ([tag isEqualToString:@"user_data_cannot_be_transferred"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserDataCannotBeTransferred]; + } else if ([tag isEqualToString:@"user_data_already_transferred"]) { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithUserDataAlreadyTransferred]; + } else { + return [[DBTEAMMembersTransferFormerMembersFilesError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersUnsuspendArg.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersUnsuspendArg + +#pragma mark - Constructors + +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + [DBStoneValidators nonnullValidator:nil](user); + + self = [super init]; + if (self) { + _user = user; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersUnsuspendArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersUnsuspendArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersUnsuspendArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.user hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersUnsuspendArg:other]; +} + +- (BOOL)isEqualToMembersUnsuspendArg:(DBTEAMMembersUnsuspendArg *)aMembersUnsuspendArg { + if (self == aMembersUnsuspendArg) { + return YES; + } + if (![self.user isEqual:aMembersUnsuspendArg.user]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersUnsuspendArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersUnsuspendArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + + return jsonDict; +} + ++ (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + + return [[DBTEAMMembersUnsuspendArg alloc] initWithUser:user]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersUnsuspendError.h" + +#pragma mark - API Object + +@implementation DBTEAMMembersUnsuspendError + +#pragma mark - Constructors + +- (instancetype)initWithUserNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMMembersUnsuspendErrorUserNotFound; + } + return self; +} + +- (instancetype)initWithUserNotInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMMembersUnsuspendErrorUserNotInTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMembersUnsuspendErrorOther; + } + return self; +} + +- (instancetype)initWithUnsuspendNonSuspendedMember { + self = [super init]; + if (self) { + _tag = DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember; + } + return self; +} + +- (instancetype)initWithTeamLicenseLimit { + self = [super init]; + if (self) { + _tag = DBTEAMMembersUnsuspendErrorTeamLicenseLimit; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUserNotFound { + return _tag == DBTEAMMembersUnsuspendErrorUserNotFound; +} + +- (BOOL)isUserNotInTeam { + return _tag == DBTEAMMembersUnsuspendErrorUserNotInTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMMembersUnsuspendErrorOther; +} + +- (BOOL)isUnsuspendNonSuspendedMember { + return _tag == DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember; +} + +- (BOOL)isTeamLicenseLimit { + return _tag == DBTEAMMembersUnsuspendErrorTeamLicenseLimit; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMembersUnsuspendErrorUserNotFound: + return @"DBTEAMMembersUnsuspendErrorUserNotFound"; + case DBTEAMMembersUnsuspendErrorUserNotInTeam: + return @"DBTEAMMembersUnsuspendErrorUserNotInTeam"; + case DBTEAMMembersUnsuspendErrorOther: + return @"DBTEAMMembersUnsuspendErrorOther"; + case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: + return @"DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember"; + case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: + return @"DBTEAMMembersUnsuspendErrorTeamLicenseLimit"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMembersUnsuspendErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMembersUnsuspendErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMembersUnsuspendErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMembersUnsuspendErrorUserNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersUnsuspendErrorUserNotInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersUnsuspendErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMembersUnsuspendError:other]; +} + +- (BOOL)isEqualToMembersUnsuspendError:(DBTEAMMembersUnsuspendError *)aMembersUnsuspendError { + if (self == aMembersUnsuspendError) { + return YES; + } + if (self.tag != aMembersUnsuspendError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMembersUnsuspendErrorUserNotFound: + return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; + case DBTEAMMembersUnsuspendErrorUserNotInTeam: + return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; + case DBTEAMMembersUnsuspendErrorOther: + return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; + case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: + return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; + case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: + return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMembersUnsuspendErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMMembersUnsuspendError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUserNotFound]) { + jsonDict[@".tag"] = @"user_not_found"; + } else if ([valueObj isUserNotInTeam]) { + jsonDict[@".tag"] = @"user_not_in_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isUnsuspendNonSuspendedMember]) { + jsonDict[@".tag"] = @"unsuspend_non_suspended_member"; + } else if ([valueObj isTeamLicenseLimit]) { + jsonDict[@".tag"] = @"team_license_limit"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"user_not_found"]) { + return [[DBTEAMMembersUnsuspendError alloc] initWithUserNotFound]; + } else if ([tag isEqualToString:@"user_not_in_team"]) { + return [[DBTEAMMembersUnsuspendError alloc] initWithUserNotInTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMembersUnsuspendError alloc] initWithOther]; + } else if ([tag isEqualToString:@"unsuspend_non_suspended_member"]) { + return [[DBTEAMMembersUnsuspendError alloc] initWithUnsuspendNonSuspendedMember]; + } else if ([tag isEqualToString:@"team_license_limit"]) { + return [[DBTEAMMembersUnsuspendError alloc] initWithTeamLicenseLimit]; + } else { + return [[DBTEAMMembersUnsuspendError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMMobileClientPlatform.h" + +#pragma mark - API Object + +@implementation DBTEAMMobileClientPlatform + +#pragma mark - Constructors + +- (instancetype)initWithIphone { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformIphone; + } + return self; +} + +- (instancetype)initWithIpad { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformIpad; + } + return self; +} + +- (instancetype)initWithAndroid { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformAndroid; + } + return self; +} + +- (instancetype)initWithWindowsPhone { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformWindowsPhone; + } + return self; +} + +- (instancetype)initWithBlackberry { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformBlackberry; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMMobileClientPlatformOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isIphone { + return _tag == DBTEAMMobileClientPlatformIphone; +} + +- (BOOL)isIpad { + return _tag == DBTEAMMobileClientPlatformIpad; +} + +- (BOOL)isAndroid { + return _tag == DBTEAMMobileClientPlatformAndroid; +} + +- (BOOL)isWindowsPhone { + return _tag == DBTEAMMobileClientPlatformWindowsPhone; +} + +- (BOOL)isBlackberry { + return _tag == DBTEAMMobileClientPlatformBlackberry; +} + +- (BOOL)isOther { + return _tag == DBTEAMMobileClientPlatformOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMMobileClientPlatformIphone: + return @"DBTEAMMobileClientPlatformIphone"; + case DBTEAMMobileClientPlatformIpad: + return @"DBTEAMMobileClientPlatformIpad"; + case DBTEAMMobileClientPlatformAndroid: + return @"DBTEAMMobileClientPlatformAndroid"; + case DBTEAMMobileClientPlatformWindowsPhone: + return @"DBTEAMMobileClientPlatformWindowsPhone"; + case DBTEAMMobileClientPlatformBlackberry: + return @"DBTEAMMobileClientPlatformBlackberry"; + case DBTEAMMobileClientPlatformOther: + return @"DBTEAMMobileClientPlatformOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMobileClientPlatformSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMobileClientPlatformSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMobileClientPlatformSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMMobileClientPlatformIphone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMobileClientPlatformIpad: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMobileClientPlatformAndroid: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMobileClientPlatformWindowsPhone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMobileClientPlatformBlackberry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMMobileClientPlatformOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMobileClientPlatform:other]; +} + +- (BOOL)isEqualToMobileClientPlatform:(DBTEAMMobileClientPlatform *)aMobileClientPlatform { + if (self == aMobileClientPlatform) { + return YES; + } + if (self.tag != aMobileClientPlatform.tag) { + return NO; + } + switch (_tag) { + case DBTEAMMobileClientPlatformIphone: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMMobileClientPlatformIpad: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMMobileClientPlatformAndroid: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMMobileClientPlatformWindowsPhone: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMMobileClientPlatformBlackberry: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMMobileClientPlatformOther: + return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMobileClientPlatformSerializer + ++ (NSDictionary *)serialize:(DBTEAMMobileClientPlatform *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isIphone]) { + jsonDict[@".tag"] = @"iphone"; + } else if ([valueObj isIpad]) { + jsonDict[@".tag"] = @"ipad"; + } else if ([valueObj isAndroid]) { + jsonDict[@".tag"] = @"android"; + } else if ([valueObj isWindowsPhone]) { + jsonDict[@".tag"] = @"windows_phone"; + } else if ([valueObj isBlackberry]) { + jsonDict[@".tag"] = @"blackberry"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"iphone"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithIphone]; + } else if ([tag isEqualToString:@"ipad"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithIpad]; + } else if ([tag isEqualToString:@"android"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithAndroid]; + } else if ([tag isEqualToString:@"windows_phone"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithWindowsPhone]; + } else if ([tag isEqualToString:@"blackberry"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithBlackberry]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMMobileClientPlatform alloc] initWithOther]; + } else { + return [[DBTEAMMobileClientPlatform alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeviceSession.h" +#import "DBTEAMMobileClientPlatform.h" +#import "DBTEAMMobileClientSession.h" + +#pragma mark - API Object + +@implementation DBTEAMMobileClientSession + +#pragma mark - Constructors + +- (instancetype)initWithSessionId:(NSString *)sessionId + deviceName:(NSString *)deviceName + clientType:(DBTEAMMobileClientPlatform *)clientType + ipAddress:(NSString *)ipAddress + country:(NSString *)country + created:(NSDate *)created + updated:(NSDate *)updated + clientVersion:(NSString *)clientVersion + osVersion:(NSString *)osVersion + lastCarrier:(NSString *)lastCarrier { + [DBStoneValidators nonnullValidator:nil](sessionId); + [DBStoneValidators nonnullValidator:nil](deviceName); + [DBStoneValidators nonnullValidator:nil](clientType); + + self = [super initWithSessionId:sessionId ipAddress:ipAddress country:country created:created updated:updated]; + if (self) { + _deviceName = deviceName; + _clientType = clientType; + _clientVersion = clientVersion; + _osVersion = osVersion; + _lastCarrier = lastCarrier; + } + return self; +} + +- (instancetype)initWithSessionId:(NSString *)sessionId + deviceName:(NSString *)deviceName + clientType:(DBTEAMMobileClientPlatform *)clientType { + return [self initWithSessionId:sessionId + deviceName:deviceName + clientType:clientType + ipAddress:nil + country:nil + created:nil + updated:nil + clientVersion:nil + osVersion:nil + lastCarrier:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMMobileClientSessionSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMMobileClientSessionSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMMobileClientSessionSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sessionId hash]; + result = prime * result + [self.deviceName hash]; + result = prime * result + [self.clientType hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + if (self.country != nil) { + result = prime * result + [self.country hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; + } + if (self.clientVersion != nil) { + result = prime * result + [self.clientVersion hash]; + } + if (self.osVersion != nil) { + result = prime * result + [self.osVersion hash]; + } + if (self.lastCarrier != nil) { + result = prime * result + [self.lastCarrier hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMobileClientSession:other]; +} + +- (BOOL)isEqualToMobileClientSession:(DBTEAMMobileClientSession *)aMobileClientSession { + if (self == aMobileClientSession) { + return YES; + } + if (![self.sessionId isEqual:aMobileClientSession.sessionId]) { + return NO; + } + if (![self.deviceName isEqual:aMobileClientSession.deviceName]) { + return NO; + } + if (![self.clientType isEqual:aMobileClientSession.clientType]) { + return NO; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aMobileClientSession.ipAddress]) { + return NO; + } + } + if (self.country) { + if (![self.country isEqual:aMobileClientSession.country]) { + return NO; + } + } + if (self.created) { + if (![self.created isEqual:aMobileClientSession.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aMobileClientSession.updated]) { + return NO; + } + } + if (self.clientVersion) { + if (![self.clientVersion isEqual:aMobileClientSession.clientVersion]) { + return NO; + } + } + if (self.osVersion) { + if (![self.osVersion isEqual:aMobileClientSession.osVersion]) { + return NO; + } + } + if (self.lastCarrier) { + if (![self.lastCarrier isEqual:aMobileClientSession.lastCarrier]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMMobileClientSessionSerializer + ++ (NSDictionary *)serialize:(DBTEAMMobileClientSession *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"session_id"] = valueObj.sessionId; + jsonDict[@"device_name"] = valueObj.deviceName; + jsonDict[@"client_type"] = [DBTEAMMobileClientPlatformSerializer serialize:valueObj.clientType]; + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + if (valueObj.country) { + jsonDict[@"country"] = valueObj.country; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.clientVersion) { + jsonDict[@"client_version"] = valueObj.clientVersion; + } + if (valueObj.osVersion) { + jsonDict[@"os_version"] = valueObj.osVersion; + } + if (valueObj.lastCarrier) { + jsonDict[@"last_carrier"] = valueObj.lastCarrier; + } + + return jsonDict; +} + ++ (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"]; + NSString *deviceName = valueDict[@"device_name"]; + DBTEAMMobileClientPlatform *clientType = [DBTEAMMobileClientPlatformSerializer deserialize:valueDict[@"client_type"]]; + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSString *country = valueDict[@"country"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *clientVersion = valueDict[@"client_version"] ?: nil; + NSString *osVersion = valueDict[@"os_version"] ?: nil; + NSString *lastCarrier = valueDict[@"last_carrier"] ?: nil; + + return [[DBTEAMMobileClientSession alloc] initWithSessionId:sessionId + deviceName:deviceName + clientType:clientType + ipAddress:ipAddress + country:country + created:created + updated:updated + clientVersion:clientVersion + osVersion:osVersion + lastCarrier:lastCarrier]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMNamespaceMetadata.h" +#import "DBTEAMNamespaceType.h" + +#pragma mark - API Object + +@implementation DBTEAMNamespaceMetadata + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + namespaceId:(NSString *)namespaceId + namespaceType:(DBTEAMNamespaceType *)namespaceType + teamMemberId:(NSString *)teamMemberId { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](namespaceId); + [DBStoneValidators nonnullValidator:nil](namespaceType); + + self = [super init]; + if (self) { + _name = name; + _namespaceId = namespaceId; + _namespaceType = namespaceType; + _teamMemberId = teamMemberId; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name + namespaceId:(NSString *)namespaceId + namespaceType:(DBTEAMNamespaceType *)namespaceType { + return [self initWithName:name namespaceId:namespaceId namespaceType:namespaceType teamMemberId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMNamespaceMetadataSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMNamespaceMetadataSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMNamespaceMetadataSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + result = prime * result + [self.namespaceId hash]; + result = prime * result + [self.namespaceType hash]; + if (self.teamMemberId != nil) { + result = prime * result + [self.teamMemberId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNamespaceMetadata:other]; +} + +- (BOOL)isEqualToNamespaceMetadata:(DBTEAMNamespaceMetadata *)aNamespaceMetadata { + if (self == aNamespaceMetadata) { + return YES; + } + if (![self.name isEqual:aNamespaceMetadata.name]) { + return NO; + } + if (![self.namespaceId isEqual:aNamespaceMetadata.namespaceId]) { + return NO; + } + if (![self.namespaceType isEqual:aNamespaceMetadata.namespaceType]) { + return NO; + } + if (self.teamMemberId) { + if (![self.teamMemberId isEqual:aNamespaceMetadata.teamMemberId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMNamespaceMetadataSerializer + ++ (NSDictionary *)serialize:(DBTEAMNamespaceMetadata *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + jsonDict[@"namespace_id"] = valueObj.namespaceId; + jsonDict[@"namespace_type"] = [DBTEAMNamespaceTypeSerializer serialize:valueObj.namespaceType]; + if (valueObj.teamMemberId) { + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + } + + return jsonDict; +} + ++ (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *namespaceId = valueDict[@"namespace_id"]; + DBTEAMNamespaceType *namespaceType = [DBTEAMNamespaceTypeSerializer deserialize:valueDict[@"namespace_type"]]; + NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; + + return [[DBTEAMNamespaceMetadata alloc] initWithName:name + namespaceId:namespaceId + namespaceType:namespaceType + teamMemberId:teamMemberId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMNamespaceType.h" + +#pragma mark - API Object + +@implementation DBTEAMNamespaceType + +#pragma mark - Constructors + +- (instancetype)initWithAppFolder { + self = [super init]; + if (self) { + _tag = DBTEAMNamespaceTypeAppFolder; + } + return self; +} + +- (instancetype)initWithSharedFolder { + self = [super init]; + if (self) { + _tag = DBTEAMNamespaceTypeSharedFolder; + } + return self; +} + +- (instancetype)initWithTeamFolder { + self = [super init]; + if (self) { + _tag = DBTEAMNamespaceTypeTeamFolder; + } + return self; +} + +- (instancetype)initWithTeamMemberFolder { + self = [super init]; + if (self) { + _tag = DBTEAMNamespaceTypeTeamMemberFolder; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMNamespaceTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAppFolder { + return _tag == DBTEAMNamespaceTypeAppFolder; +} + +- (BOOL)isSharedFolder { + return _tag == DBTEAMNamespaceTypeSharedFolder; +} + +- (BOOL)isTeamFolder { + return _tag == DBTEAMNamespaceTypeTeamFolder; +} + +- (BOOL)isTeamMemberFolder { + return _tag == DBTEAMNamespaceTypeTeamMemberFolder; +} + +- (BOOL)isOther { + return _tag == DBTEAMNamespaceTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMNamespaceTypeAppFolder: + return @"DBTEAMNamespaceTypeAppFolder"; + case DBTEAMNamespaceTypeSharedFolder: + return @"DBTEAMNamespaceTypeSharedFolder"; + case DBTEAMNamespaceTypeTeamFolder: + return @"DBTEAMNamespaceTypeTeamFolder"; + case DBTEAMNamespaceTypeTeamMemberFolder: + return @"DBTEAMNamespaceTypeTeamMemberFolder"; + case DBTEAMNamespaceTypeOther: + return @"DBTEAMNamespaceTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMNamespaceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMNamespaceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMNamespaceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMNamespaceTypeAppFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMNamespaceTypeSharedFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMNamespaceTypeTeamFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMNamespaceTypeTeamMemberFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMNamespaceTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNamespaceType:other]; +} + +- (BOOL)isEqualToNamespaceType:(DBTEAMNamespaceType *)aNamespaceType { + if (self == aNamespaceType) { + return YES; + } + if (self.tag != aNamespaceType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMNamespaceTypeAppFolder: + return [[self tagName] isEqual:[aNamespaceType tagName]]; + case DBTEAMNamespaceTypeSharedFolder: + return [[self tagName] isEqual:[aNamespaceType tagName]]; + case DBTEAMNamespaceTypeTeamFolder: + return [[self tagName] isEqual:[aNamespaceType tagName]]; + case DBTEAMNamespaceTypeTeamMemberFolder: + return [[self tagName] isEqual:[aNamespaceType tagName]]; + case DBTEAMNamespaceTypeOther: + return [[self tagName] isEqual:[aNamespaceType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMNamespaceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMNamespaceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAppFolder]) { + jsonDict[@".tag"] = @"app_folder"; + } else if ([valueObj isSharedFolder]) { + jsonDict[@".tag"] = @"shared_folder"; + } else if ([valueObj isTeamFolder]) { + jsonDict[@".tag"] = @"team_folder"; + } else if ([valueObj isTeamMemberFolder]) { + jsonDict[@".tag"] = @"team_member_folder"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMNamespaceType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"app_folder"]) { + return [[DBTEAMNamespaceType alloc] initWithAppFolder]; + } else if ([tag isEqualToString:@"shared_folder"]) { + return [[DBTEAMNamespaceType alloc] initWithSharedFolder]; + } else if ([tag isEqualToString:@"team_folder"]) { + return [[DBTEAMNamespaceType alloc] initWithTeamFolder]; + } else if ([tag isEqualToString:@"team_member_folder"]) { + return [[DBTEAMNamespaceType alloc] initWithTeamMemberFolder]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMNamespaceType alloc] initWithOther]; + } else { + return [[DBTEAMNamespaceType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRemoveCustomQuotaResult.h" +#import "DBTEAMUserSelectorArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRemoveCustomQuotaResult + +@synthesize success = _success; +@synthesize invalidUser = _invalidUser; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(DBTEAMUserSelectorArg *)success { + self = [super init]; + if (self) { + _tag = DBTEAMRemoveCustomQuotaResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { + self = [super init]; + if (self) { + _tag = DBTEAMRemoveCustomQuotaResultInvalidUser; + _invalidUser = invalidUser; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMRemoveCustomQuotaResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMUserSelectorArg *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMRemoveCustomQuotaResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBTEAMUserSelectorArg *)invalidUser { + if (![self isInvalidUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMRemoveCustomQuotaResultInvalidUser, but was %@.", [self tagName]]; + } + return _invalidUser; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBTEAMRemoveCustomQuotaResultSuccess; +} + +- (BOOL)isInvalidUser { + return _tag == DBTEAMRemoveCustomQuotaResultInvalidUser; +} + +- (BOOL)isOther { + return _tag == DBTEAMRemoveCustomQuotaResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMRemoveCustomQuotaResultSuccess: + return @"DBTEAMRemoveCustomQuotaResultSuccess"; + case DBTEAMRemoveCustomQuotaResultInvalidUser: + return @"DBTEAMRemoveCustomQuotaResultInvalidUser"; + case DBTEAMRemoveCustomQuotaResultOther: + return @"DBTEAMRemoveCustomQuotaResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRemoveCustomQuotaResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRemoveCustomQuotaResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRemoveCustomQuotaResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMRemoveCustomQuotaResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMRemoveCustomQuotaResultInvalidUser: + result = prime * result + [self.invalidUser hash]; + break; + case DBTEAMRemoveCustomQuotaResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRemoveCustomQuotaResult:other]; +} + +- (BOOL)isEqualToRemoveCustomQuotaResult:(DBTEAMRemoveCustomQuotaResult *)aRemoveCustomQuotaResult { + if (self == aRemoveCustomQuotaResult) { + return YES; + } + if (self.tag != aRemoveCustomQuotaResult.tag) { + return NO; + } + switch (_tag) { + case DBTEAMRemoveCustomQuotaResultSuccess: + return [self.success isEqual:aRemoveCustomQuotaResult.success]; + case DBTEAMRemoveCustomQuotaResultInvalidUser: + return [self.invalidUser isEqual:aRemoveCustomQuotaResult.invalidUser]; + case DBTEAMRemoveCustomQuotaResultOther: + return [[self tagName] isEqual:[aRemoveCustomQuotaResult tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRemoveCustomQuotaResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMRemoveCustomQuotaResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + jsonDict[@"success"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.success] mutableCopy]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isInvalidUser]) { + jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; + jsonDict[@".tag"] = @"invalid_user"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + DBTEAMUserSelectorArg *success = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"success"]]; + return [[DBTEAMRemoveCustomQuotaResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"invalid_user"]) { + DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; + return [[DBTEAMRemoveCustomQuotaResult alloc] initWithInvalidUser:invalidUser]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMRemoveCustomQuotaResult alloc] initWithOther]; + } else { + return [[DBTEAMRemoveCustomQuotaResult alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRemovedStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMRemovedStatus + +#pragma mark - Constructors + +- (instancetype)initWithIsRecoverable:(NSNumber *)isRecoverable isDisconnected:(NSNumber *)isDisconnected { + [DBStoneValidators nonnullValidator:nil](isRecoverable); + [DBStoneValidators nonnullValidator:nil](isDisconnected); + + self = [super init]; + if (self) { + _isRecoverable = isRecoverable; + _isDisconnected = isDisconnected; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRemovedStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRemovedStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRemovedStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isRecoverable hash]; + result = prime * result + [self.isDisconnected hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRemovedStatus:other]; +} + +- (BOOL)isEqualToRemovedStatus:(DBTEAMRemovedStatus *)aRemovedStatus { + if (self == aRemovedStatus) { + return YES; + } + if (![self.isRecoverable isEqual:aRemovedStatus.isRecoverable]) { + return NO; + } + if (![self.isDisconnected isEqual:aRemovedStatus.isDisconnected]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRemovedStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMRemovedStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_recoverable"] = valueObj.isRecoverable; + jsonDict[@"is_disconnected"] = valueObj.isDisconnected; + + return jsonDict; +} + ++ (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)valueDict { + NSNumber *isRecoverable = valueDict[@"is_recoverable"]; + NSNumber *isDisconnected = valueDict[@"is_disconnected"]; + + return [[DBTEAMRemovedStatus alloc] initWithIsRecoverable:isRecoverable isDisconnected:isDisconnected]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMResendSecondaryEmailResult.h" + +#pragma mark - API Object + +@implementation DBTEAMResendSecondaryEmailResult + +@synthesize success = _success; +@synthesize notPending = _notPending; +@synthesize rateLimited = _rateLimited; + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(NSString *)success { + self = [super init]; + if (self) { + _tag = DBTEAMResendSecondaryEmailResultSuccess; + _success = success; + } + return self; +} + +- (instancetype)initWithNotPending:(NSString *)notPending { + self = [super init]; + if (self) { + _tag = DBTEAMResendSecondaryEmailResultNotPending; + _notPending = notPending; + } + return self; +} + +- (instancetype)initWithRateLimited:(NSString *)rateLimited { + self = [super init]; + if (self) { + _tag = DBTEAMResendSecondaryEmailResultRateLimited; + _rateLimited = rateLimited; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMResendSecondaryEmailResultOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSString *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMResendSecondaryEmailResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (NSString *)notPending { + if (![self isNotPending]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMResendSecondaryEmailResultNotPending, but was %@.", [self tagName]]; + } + return _notPending; +} + +- (NSString *)rateLimited { + if (![self isRateLimited]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMResendSecondaryEmailResultRateLimited, but was %@.", [self tagName]]; + } + return _rateLimited; +} + +#pragma mark - Tag state methods + +- (BOOL)isSuccess { + return _tag == DBTEAMResendSecondaryEmailResultSuccess; +} + +- (BOOL)isNotPending { + return _tag == DBTEAMResendSecondaryEmailResultNotPending; +} + +- (BOOL)isRateLimited { + return _tag == DBTEAMResendSecondaryEmailResultRateLimited; +} + +- (BOOL)isOther { + return _tag == DBTEAMResendSecondaryEmailResultOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMResendSecondaryEmailResultSuccess: + return @"DBTEAMResendSecondaryEmailResultSuccess"; + case DBTEAMResendSecondaryEmailResultNotPending: + return @"DBTEAMResendSecondaryEmailResultNotPending"; + case DBTEAMResendSecondaryEmailResultRateLimited: + return @"DBTEAMResendSecondaryEmailResultRateLimited"; + case DBTEAMResendSecondaryEmailResultOther: + return @"DBTEAMResendSecondaryEmailResultOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMResendSecondaryEmailResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMResendSecondaryEmailResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMResendSecondaryEmailResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMResendSecondaryEmailResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMResendSecondaryEmailResultNotPending: + result = prime * result + [self.notPending hash]; + break; + case DBTEAMResendSecondaryEmailResultRateLimited: + result = prime * result + [self.rateLimited hash]; + break; + case DBTEAMResendSecondaryEmailResultOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResendSecondaryEmailResult:other]; +} + +- (BOOL)isEqualToResendSecondaryEmailResult:(DBTEAMResendSecondaryEmailResult *)aResendSecondaryEmailResult { + if (self == aResendSecondaryEmailResult) { + return YES; + } + if (self.tag != aResendSecondaryEmailResult.tag) { + return NO; + } + switch (_tag) { + case DBTEAMResendSecondaryEmailResultSuccess: + return [self.success isEqual:aResendSecondaryEmailResult.success]; + case DBTEAMResendSecondaryEmailResultNotPending: + return [self.notPending isEqual:aResendSecondaryEmailResult.notPending]; + case DBTEAMResendSecondaryEmailResultRateLimited: + return [self.rateLimited isEqual:aResendSecondaryEmailResult.rateLimited]; + case DBTEAMResendSecondaryEmailResultOther: + return [[self tagName] isEqual:[aResendSecondaryEmailResult tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMResendSecondaryEmailResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMResendSecondaryEmailResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isSuccess]) { + jsonDict[@"success"] = valueObj.success; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isNotPending]) { + jsonDict[@"not_pending"] = valueObj.notPending; + jsonDict[@".tag"] = @"not_pending"; + } else if ([valueObj isRateLimited]) { + jsonDict[@"rate_limited"] = valueObj.rateLimited; + jsonDict[@".tag"] = @"rate_limited"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMResendSecondaryEmailResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"success"]) { + NSString *success = valueDict[@"success"]; + return [[DBTEAMResendSecondaryEmailResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"not_pending"]) { + NSString *notPending = valueDict[@"not_pending"]; + return [[DBTEAMResendSecondaryEmailResult alloc] initWithNotPending:notPending]; + } else if ([tag isEqualToString:@"rate_limited"]) { + NSString *rateLimited = valueDict[@"rate_limited"]; + return [[DBTEAMResendSecondaryEmailResult alloc] initWithRateLimited:rateLimited]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMResendSecondaryEmailResult alloc] initWithOther]; + } else { + return [[DBTEAMResendSecondaryEmailResult alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMResendVerificationEmailArg.h" +#import "DBTEAMUserSecondaryEmailsArg.h" + +#pragma mark - API Object + +@implementation DBTEAMResendVerificationEmailArg + +#pragma mark - Constructors + +- (instancetype)initWithEmailsToResend:(NSArray *)emailsToResend { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](emailsToResend); + + self = [super init]; + if (self) { + _emailsToResend = emailsToResend; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMResendVerificationEmailArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMResendVerificationEmailArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMResendVerificationEmailArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.emailsToResend hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResendVerificationEmailArg:other]; +} + +- (BOOL)isEqualToResendVerificationEmailArg:(DBTEAMResendVerificationEmailArg *)aResendVerificationEmailArg { + if (self == aResendVerificationEmailArg) { + return YES; + } + if (![self.emailsToResend isEqual:aResendVerificationEmailArg.emailsToResend]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMResendVerificationEmailArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMResendVerificationEmailArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"emails_to_resend"] = [DBArraySerializer serialize:valueObj.emailsToResend + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMResendVerificationEmailArg *)deserialize:(NSDictionary *)valueDict { + NSArray *emailsToResend = + [DBArraySerializer deserialize:valueDict[@"emails_to_resend"] + withBlock:^id(id elem0) { + return [DBTEAMUserSecondaryEmailsArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMResendVerificationEmailArg alloc] initWithEmailsToResend:emailsToResend]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMResendVerificationEmailResult.h" +#import "DBTEAMUserResendResult.h" + +#pragma mark - API Object + +@implementation DBTEAMResendVerificationEmailResult + +#pragma mark - Constructors + +- (instancetype)initWithResults:(NSArray *)results { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); + + self = [super init]; + if (self) { + _results = results; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMResendVerificationEmailResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMResendVerificationEmailResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMResendVerificationEmailResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.results hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResendVerificationEmailResult:other]; +} + +- (BOOL)isEqualToResendVerificationEmailResult:(DBTEAMResendVerificationEmailResult *)aResendVerificationEmailResult { + if (self == aResendVerificationEmailResult) { + return YES; + } + if (![self.results isEqual:aResendVerificationEmailResult.results]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMResendVerificationEmailResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMResendVerificationEmailResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMUserResendResultSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMResendVerificationEmailResult *)deserialize:(NSDictionary *)valueDict { + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] + withBlock:^id(id elem0) { + return [DBTEAMUserResendResultSerializer deserialize:elem0]; + }]; + + return [[DBTEAMResendVerificationEmailResult alloc] initWithResults:results]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeviceSessionArg.h" +#import "DBTEAMRevokeDesktopClientArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDesktopClientArg + +#pragma mark - Constructors + +- (instancetype)initWithSessionId:(NSString *)sessionId + teamMemberId:(NSString *)teamMemberId + deleteOnUnlink:(NSNumber *)deleteOnUnlink { + [DBStoneValidators nonnullValidator:nil](sessionId); + [DBStoneValidators nonnullValidator:nil](teamMemberId); + + self = [super initWithSessionId:sessionId teamMemberId:teamMemberId]; + if (self) { + _deleteOnUnlink = deleteOnUnlink ?: @NO; + } + return self; +} + +- (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId { + return [self initWithSessionId:sessionId teamMemberId:teamMemberId deleteOnUnlink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDesktopClientArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDesktopClientArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDesktopClientArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sessionId hash]; + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.deleteOnUnlink hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDesktopClientArg:other]; +} + +- (BOOL)isEqualToRevokeDesktopClientArg:(DBTEAMRevokeDesktopClientArg *)aRevokeDesktopClientArg { + if (self == aRevokeDesktopClientArg) { + return YES; + } + if (![self.sessionId isEqual:aRevokeDesktopClientArg.sessionId]) { + return NO; + } + if (![self.teamMemberId isEqual:aRevokeDesktopClientArg.teamMemberId]) { + return NO; + } + if (![self.deleteOnUnlink isEqual:aRevokeDesktopClientArg.deleteOnUnlink]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDesktopClientArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDesktopClientArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"session_id"] = valueObj.sessionId; + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"delete_on_unlink"] = valueObj.deleteOnUnlink; + + return jsonDict; +} + ++ (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"]; + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSNumber *deleteOnUnlink = valueDict[@"delete_on_unlink"] ?: @NO; + + return [[DBTEAMRevokeDesktopClientArg alloc] initWithSessionId:sessionId + teamMemberId:teamMemberId + deleteOnUnlink:deleteOnUnlink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDeviceSessionArg.h" +#import "DBTEAMRevokeDesktopClientArg.h" +#import "DBTEAMRevokeDeviceSessionArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionArg + +@synthesize webSession = _webSession; +@synthesize desktopClient = _desktopClient; +@synthesize mobileClient = _mobileClient; + +#pragma mark - Constructors + +- (instancetype)initWithWebSession:(DBTEAMDeviceSessionArg *)webSession { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionArgWebSession; + _webSession = webSession; + } + return self; +} + +- (instancetype)initWithDesktopClient:(DBTEAMRevokeDesktopClientArg *)desktopClient { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionArgDesktopClient; + _desktopClient = desktopClient; + } + return self; +} + +- (instancetype)initWithMobileClient:(DBTEAMDeviceSessionArg *)mobileClient { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionArgMobileClient; + _mobileClient = mobileClient; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMDeviceSessionArg *)webSession { + if (![self isWebSession]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgWebSession, but was %@.", [self tagName]]; + } + return _webSession; +} + +- (DBTEAMRevokeDesktopClientArg *)desktopClient { + if (![self isDesktopClient]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgDesktopClient, but was %@.", [self tagName]]; + } + return _desktopClient; +} + +- (DBTEAMDeviceSessionArg *)mobileClient { + if (![self isMobileClient]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgMobileClient, but was %@.", [self tagName]]; + } + return _mobileClient; +} + +#pragma mark - Tag state methods + +- (BOOL)isWebSession { + return _tag == DBTEAMRevokeDeviceSessionArgWebSession; +} + +- (BOOL)isDesktopClient { + return _tag == DBTEAMRevokeDeviceSessionArgDesktopClient; +} + +- (BOOL)isMobileClient { + return _tag == DBTEAMRevokeDeviceSessionArgMobileClient; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMRevokeDeviceSessionArgWebSession: + return @"DBTEAMRevokeDeviceSessionArgWebSession"; + case DBTEAMRevokeDeviceSessionArgDesktopClient: + return @"DBTEAMRevokeDeviceSessionArgDesktopClient"; + case DBTEAMRevokeDeviceSessionArgMobileClient: + return @"DBTEAMRevokeDeviceSessionArgMobileClient"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMRevokeDeviceSessionArgWebSession: + result = prime * result + [self.webSession hash]; + break; + case DBTEAMRevokeDeviceSessionArgDesktopClient: + result = prime * result + [self.desktopClient hash]; + break; + case DBTEAMRevokeDeviceSessionArgMobileClient: + result = prime * result + [self.mobileClient hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionArg:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionArg:(DBTEAMRevokeDeviceSessionArg *)aRevokeDeviceSessionArg { + if (self == aRevokeDeviceSessionArg) { + return YES; + } + if (self.tag != aRevokeDeviceSessionArg.tag) { + return NO; + } + switch (_tag) { + case DBTEAMRevokeDeviceSessionArgWebSession: + return [self.webSession isEqual:aRevokeDeviceSessionArg.webSession]; + case DBTEAMRevokeDeviceSessionArgDesktopClient: + return [self.desktopClient isEqual:aRevokeDeviceSessionArg.desktopClient]; + case DBTEAMRevokeDeviceSessionArgMobileClient: + return [self.mobileClient isEqual:aRevokeDeviceSessionArg.mobileClient]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isWebSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMDeviceSessionArgSerializer serialize:valueObj.webSession]]; + jsonDict[@".tag"] = @"web_session"; + } else if ([valueObj isDesktopClient]) { + [jsonDict addEntriesFromDictionary:[DBTEAMRevokeDesktopClientArgSerializer serialize:valueObj.desktopClient]]; + jsonDict[@".tag"] = @"desktop_client"; + } else if ([valueObj isMobileClient]) { + [jsonDict addEntriesFromDictionary:[DBTEAMDeviceSessionArgSerializer serialize:valueObj.mobileClient]]; + jsonDict[@".tag"] = @"mobile_client"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"web_session"]) { + DBTEAMDeviceSessionArg *webSession = [DBTEAMDeviceSessionArgSerializer deserialize:valueDict]; + return [[DBTEAMRevokeDeviceSessionArg alloc] initWithWebSession:webSession]; + } else if ([tag isEqualToString:@"desktop_client"]) { + DBTEAMRevokeDesktopClientArg *desktopClient = [DBTEAMRevokeDesktopClientArgSerializer deserialize:valueDict]; + return [[DBTEAMRevokeDeviceSessionArg alloc] initWithDesktopClient:desktopClient]; + } else if ([tag isEqualToString:@"mobile_client"]) { + DBTEAMDeviceSessionArg *mobileClient = [DBTEAMDeviceSessionArgSerializer deserialize:valueDict]; + return [[DBTEAMRevokeDeviceSessionArg alloc] initWithMobileClient:mobileClient]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeDeviceSessionArg.h" +#import "DBTEAMRevokeDeviceSessionBatchArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithRevokeDevices:(NSArray *)revokeDevices { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeDevices); + + self = [super init]; + if (self) { + _revokeDevices = revokeDevices; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.revokeDevices hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionBatchArg:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionBatchArg:(DBTEAMRevokeDeviceSessionBatchArg *)aRevokeDeviceSessionBatchArg { + if (self == aRevokeDeviceSessionBatchArg) { + return YES; + } + if (![self.revokeDevices isEqual:aRevokeDeviceSessionBatchArg.revokeDevices]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionBatchArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"revoke_devices"] = [DBArraySerializer serialize:valueObj.revokeDevices + withBlock:^id(id elem0) { + return [DBTEAMRevokeDeviceSessionArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *revokeDevices = + [DBArraySerializer deserialize:valueDict[@"revoke_devices"] + withBlock:^id(id elem0) { + return [DBTEAMRevokeDeviceSessionArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMRevokeDeviceSessionBatchArg alloc] initWithRevokeDevices:revokeDevices]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeDeviceSessionBatchError.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionBatchError + +#pragma mark - Constructors + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionBatchErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOther { + return _tag == DBTEAMRevokeDeviceSessionBatchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMRevokeDeviceSessionBatchErrorOther: + return @"DBTEAMRevokeDeviceSessionBatchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionBatchErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionBatchErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionBatchErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMRevokeDeviceSessionBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionBatchError:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionBatchError:(DBTEAMRevokeDeviceSessionBatchError *)aRevokeDeviceSessionBatchError { + if (self == aRevokeDeviceSessionBatchError) { + return YES; + } + if (self.tag != aRevokeDeviceSessionBatchError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMRevokeDeviceSessionBatchErrorOther: + return [[self tagName] isEqual:[aRevokeDeviceSessionBatchError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionBatchErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"other"]) { + return [[DBTEAMRevokeDeviceSessionBatchError alloc] initWithOther]; + } else { + return [[DBTEAMRevokeDeviceSessionBatchError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeDeviceSessionBatchResult.h" +#import "DBTEAMRevokeDeviceSessionStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithRevokeDevicesStatus:(NSArray *)revokeDevicesStatus { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeDevicesStatus); + + self = [super init]; + if (self) { + _revokeDevicesStatus = revokeDevicesStatus; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.revokeDevicesStatus hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionBatchResult:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionBatchResult: + (DBTEAMRevokeDeviceSessionBatchResult *)aRevokeDeviceSessionBatchResult { + if (self == aRevokeDeviceSessionBatchResult) { + return YES; + } + if (![self.revokeDevicesStatus isEqual:aRevokeDeviceSessionBatchResult.revokeDevicesStatus]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionBatchResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"revoke_devices_status"] = + [DBArraySerializer serialize:valueObj.revokeDevicesStatus + withBlock:^id(id elem0) { + return [DBTEAMRevokeDeviceSessionStatusSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *revokeDevicesStatus = + [DBArraySerializer deserialize:valueDict[@"revoke_devices_status"] + withBlock:^id(id elem0) { + return [DBTEAMRevokeDeviceSessionStatusSerializer deserialize:elem0]; + }]; + + return [[DBTEAMRevokeDeviceSessionBatchResult alloc] initWithRevokeDevicesStatus:revokeDevicesStatus]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeDeviceSessionError.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionError + +#pragma mark - Constructors + +- (instancetype)initWithDeviceSessionNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound; + } + return self; +} + +- (instancetype)initWithMemberNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionErrorMemberNotFound; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeDeviceSessionErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDeviceSessionNotFound { + return _tag == DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound; +} + +- (BOOL)isMemberNotFound { + return _tag == DBTEAMRevokeDeviceSessionErrorMemberNotFound; +} + +- (BOOL)isOther { + return _tag == DBTEAMRevokeDeviceSessionErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: + return @"DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound"; + case DBTEAMRevokeDeviceSessionErrorMemberNotFound: + return @"DBTEAMRevokeDeviceSessionErrorMemberNotFound"; + case DBTEAMRevokeDeviceSessionErrorOther: + return @"DBTEAMRevokeDeviceSessionErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMRevokeDeviceSessionErrorMemberNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMRevokeDeviceSessionErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionError:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionError:(DBTEAMRevokeDeviceSessionError *)aRevokeDeviceSessionError { + if (self == aRevokeDeviceSessionError) { + return YES; + } + if (self.tag != aRevokeDeviceSessionError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: + return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; + case DBTEAMRevokeDeviceSessionErrorMemberNotFound: + return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; + case DBTEAMRevokeDeviceSessionErrorOther: + return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDeviceSessionNotFound]) { + jsonDict[@".tag"] = @"device_session_not_found"; + } else if ([valueObj isMemberNotFound]) { + jsonDict[@".tag"] = @"member_not_found"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"device_session_not_found"]) { + return [[DBTEAMRevokeDeviceSessionError alloc] initWithDeviceSessionNotFound]; + } else if ([tag isEqualToString:@"member_not_found"]) { + return [[DBTEAMRevokeDeviceSessionError alloc] initWithMemberNotFound]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMRevokeDeviceSessionError alloc] initWithOther]; + } else { + return [[DBTEAMRevokeDeviceSessionError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeDeviceSessionError.h" +#import "DBTEAMRevokeDeviceSessionStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeDeviceSessionStatus + +#pragma mark - Constructors + +- (instancetype)initWithSuccess:(NSNumber *)success errorType:(DBTEAMRevokeDeviceSessionError *)errorType { + [DBStoneValidators nonnullValidator:nil](success); + + self = [super init]; + if (self) { + _success = success; + _errorType = errorType; + } + return self; +} + +- (instancetype)initWithSuccess:(NSNumber *)success { + return [self initWithSuccess:success errorType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeDeviceSessionStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeDeviceSessionStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeDeviceSessionStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.success hash]; + if (self.errorType != nil) { + result = prime * result + [self.errorType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeDeviceSessionStatus:other]; +} + +- (BOOL)isEqualToRevokeDeviceSessionStatus:(DBTEAMRevokeDeviceSessionStatus *)aRevokeDeviceSessionStatus { + if (self == aRevokeDeviceSessionStatus) { + return YES; + } + if (![self.success isEqual:aRevokeDeviceSessionStatus.success]) { + return NO; + } + if (self.errorType) { + if (![self.errorType isEqual:aRevokeDeviceSessionStatus.errorType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeDeviceSessionStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"success"] = valueObj.success; + if (valueObj.errorType) { + jsonDict[@"error_type"] = [DBTEAMRevokeDeviceSessionErrorSerializer serialize:valueObj.errorType]; + } + + return jsonDict; +} + ++ (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)valueDict { + NSNumber *success = valueDict[@"success"]; + DBTEAMRevokeDeviceSessionError *errorType = + valueDict[@"error_type"] ? [DBTEAMRevokeDeviceSessionErrorSerializer deserialize:valueDict[@"error_type"]] : nil; + + return [[DBTEAMRevokeDeviceSessionStatus alloc] initWithSuccess:success errorType:errorType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeLinkedApiAppArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeLinkedApiAppArg + +#pragma mark - Constructors + +- (instancetype)initWithAppId:(NSString *)appId + teamMemberId:(NSString *)teamMemberId + keepAppFolder:(NSNumber *)keepAppFolder { + [DBStoneValidators nonnullValidator:nil](appId); + [DBStoneValidators nonnullValidator:nil](teamMemberId); + + self = [super init]; + if (self) { + _appId = appId; + _teamMemberId = teamMemberId; + _keepAppFolder = keepAppFolder ?: @YES; + } + return self; +} + +- (instancetype)initWithAppId:(NSString *)appId teamMemberId:(NSString *)teamMemberId { + return [self initWithAppId:appId teamMemberId:teamMemberId keepAppFolder:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedApiAppArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedApiAppArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedApiAppArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.appId hash]; + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.keepAppFolder hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeLinkedApiAppArg:other]; +} + +- (BOOL)isEqualToRevokeLinkedApiAppArg:(DBTEAMRevokeLinkedApiAppArg *)aRevokeLinkedApiAppArg { + if (self == aRevokeLinkedApiAppArg) { + return YES; + } + if (![self.appId isEqual:aRevokeLinkedApiAppArg.appId]) { + return NO; + } + if (![self.teamMemberId isEqual:aRevokeLinkedApiAppArg.teamMemberId]) { + return NO; + } + if (![self.keepAppFolder isEqual:aRevokeLinkedApiAppArg.keepAppFolder]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeLinkedApiAppArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"app_id"] = valueObj.appId; + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"keep_app_folder"] = valueObj.keepAppFolder; + + return jsonDict; +} + ++ (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)valueDict { + NSString *appId = valueDict[@"app_id"]; + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSNumber *keepAppFolder = valueDict[@"keep_app_folder"] ?: @YES; + + return + [[DBTEAMRevokeLinkedApiAppArg alloc] initWithAppId:appId teamMemberId:teamMemberId keepAppFolder:keepAppFolder]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeLinkedApiAppArg.h" +#import "DBTEAMRevokeLinkedApiAppBatchArg.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeLinkedApiAppBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithRevokeLinkedApp:(NSArray *)revokeLinkedApp { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeLinkedApp); + + self = [super init]; + if (self) { + _revokeLinkedApp = revokeLinkedApp; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedApiAppBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedApiAppBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedApiAppBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.revokeLinkedApp hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeLinkedApiAppBatchArg:other]; +} + +- (BOOL)isEqualToRevokeLinkedApiAppBatchArg:(DBTEAMRevokeLinkedApiAppBatchArg *)aRevokeLinkedApiAppBatchArg { + if (self == aRevokeLinkedApiAppBatchArg) { + return YES; + } + if (![self.revokeLinkedApp isEqual:aRevokeLinkedApiAppBatchArg.revokeLinkedApp]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeLinkedApiAppBatchArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"revoke_linked_app"] = [DBArraySerializer serialize:valueObj.revokeLinkedApp + withBlock:^id(id elem0) { + return [DBTEAMRevokeLinkedApiAppArgSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *revokeLinkedApp = + [DBArraySerializer deserialize:valueDict[@"revoke_linked_app"] + withBlock:^id(id elem0) { + return [DBTEAMRevokeLinkedApiAppArgSerializer deserialize:elem0]; + }]; + + return [[DBTEAMRevokeLinkedApiAppBatchArg alloc] initWithRevokeLinkedApp:revokeLinkedApp]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeLinkedAppBatchError.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeLinkedAppBatchError + +#pragma mark - Constructors + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeLinkedAppBatchErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOther { + return _tag == DBTEAMRevokeLinkedAppBatchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMRevokeLinkedAppBatchErrorOther: + return @"DBTEAMRevokeLinkedAppBatchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedAppBatchErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedAppBatchErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedAppBatchErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMRevokeLinkedAppBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeLinkedAppBatchError:other]; +} + +- (BOOL)isEqualToRevokeLinkedAppBatchError:(DBTEAMRevokeLinkedAppBatchError *)aRevokeLinkedAppBatchError { + if (self == aRevokeLinkedAppBatchError) { + return YES; + } + if (self.tag != aRevokeLinkedAppBatchError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMRevokeLinkedAppBatchErrorOther: + return [[self tagName] isEqual:[aRevokeLinkedAppBatchError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeLinkedAppBatchErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - return [[DBTEAMMembersRemoveError alloc] initWithOther]; + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"other"]) { + return [[DBTEAMRevokeLinkedAppBatchError alloc] initWithOther]; + } else { + return [[DBTEAMRevokeLinkedAppBatchError alloc] initWithOther]; } } @@ -18311,27 +34137,145 @@ + (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberSelectorError.h" -#import "DBTEAMMembersSendWelcomeError.h" +#import "DBTEAMRevokeLinkedAppBatchResult.h" +#import "DBTEAMRevokeLinkedAppStatus.h" #pragma mark - API Object -@implementation DBTEAMMembersSendWelcomeError +@implementation DBTEAMRevokeLinkedAppBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithRevokeLinkedAppStatus:(NSArray *)revokeLinkedAppStatus { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeLinkedAppStatus); + + self = [super init]; + if (self) { + _revokeLinkedAppStatus = revokeLinkedAppStatus; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedAppBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedAppBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedAppBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.revokeLinkedAppStatus hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRevokeLinkedAppBatchResult:other]; +} + +- (BOOL)isEqualToRevokeLinkedAppBatchResult:(DBTEAMRevokeLinkedAppBatchResult *)aRevokeLinkedAppBatchResult { + if (self == aRevokeLinkedAppBatchResult) { + return YES; + } + if (![self.revokeLinkedAppStatus isEqual:aRevokeLinkedAppBatchResult.revokeLinkedAppStatus]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMRevokeLinkedAppBatchResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"revoke_linked_app_status"] = + [DBArraySerializer serialize:valueObj.revokeLinkedAppStatus + withBlock:^id(id elem0) { + return [DBTEAMRevokeLinkedAppStatusSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *revokeLinkedAppStatus = + [DBArraySerializer deserialize:valueDict[@"revoke_linked_app_status"] + withBlock:^id(id elem0) { + return [DBTEAMRevokeLinkedAppStatusSerializer deserialize:elem0]; + }]; + + return [[DBTEAMRevokeLinkedAppBatchResult alloc] initWithRevokeLinkedAppStatus:revokeLinkedAppStatus]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRevokeLinkedAppError.h" + +#pragma mark - API Object + +@implementation DBTEAMRevokeLinkedAppError #pragma mark - Constructors -- (instancetype)initWithUserNotFound { +- (instancetype)initWithAppNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMRevokeLinkedAppErrorAppNotFound; + } + return self; +} + +- (instancetype)initWithMemberNotFound { self = [super init]; if (self) { - _tag = DBTEAMMembersSendWelcomeErrorUserNotFound; + _tag = DBTEAMRevokeLinkedAppErrorMemberNotFound; } return self; } -- (instancetype)initWithUserNotInTeam { +- (instancetype)initWithAppFolderRemovalNotSupported { self = [super init]; if (self) { - _tag = DBTEAMMembersSendWelcomeErrorUserNotInTeam; + _tag = DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported; } return self; } @@ -18339,7 +34283,7 @@ - (instancetype)initWithUserNotInTeam { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersSendWelcomeErrorOther; + _tag = DBTEAMRevokeLinkedAppErrorOther; } return self; } @@ -18348,26 +34292,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersSendWelcomeErrorUserNotFound; +- (BOOL)isAppNotFound { + return _tag == DBTEAMRevokeLinkedAppErrorAppNotFound; } -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersSendWelcomeErrorUserNotInTeam; +- (BOOL)isMemberNotFound { + return _tag == DBTEAMRevokeLinkedAppErrorMemberNotFound; +} + +- (BOOL)isAppFolderRemovalNotSupported { + return _tag == DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported; } - (BOOL)isOther { - return _tag == DBTEAMMembersSendWelcomeErrorOther; + return _tag == DBTEAMRevokeLinkedAppErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMembersSendWelcomeErrorUserNotFound: - return @"DBTEAMMembersSendWelcomeErrorUserNotFound"; - case DBTEAMMembersSendWelcomeErrorUserNotInTeam: - return @"DBTEAMMembersSendWelcomeErrorUserNotInTeam"; - case DBTEAMMembersSendWelcomeErrorOther: - return @"DBTEAMMembersSendWelcomeErrorOther"; + case DBTEAMRevokeLinkedAppErrorAppNotFound: + return @"DBTEAMRevokeLinkedAppErrorAppNotFound"; + case DBTEAMRevokeLinkedAppErrorMemberNotFound: + return @"DBTEAMRevokeLinkedAppErrorMemberNotFound"; + case DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported: + return @"DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported"; + case DBTEAMRevokeLinkedAppErrorOther: + return @"DBTEAMRevokeLinkedAppErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -18375,18 +34325,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSendWelcomeErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedAppErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSendWelcomeErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedAppErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSendWelcomeErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedAppErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18404,12 +34354,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMembersSendWelcomeErrorUserNotFound: + case DBTEAMRevokeLinkedAppErrorAppNotFound: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSendWelcomeErrorUserNotInTeam: + break; + case DBTEAMRevokeLinkedAppErrorMemberNotFound: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSendWelcomeErrorOther: + break; + case DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMRevokeLinkedAppErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -18424,23 +34380,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSendWelcomeError:other]; + return [self isEqualToRevokeLinkedAppError:other]; } -- (BOOL)isEqualToMembersSendWelcomeError:(DBTEAMMembersSendWelcomeError *)aMembersSendWelcomeError { - if (self == aMembersSendWelcomeError) { +- (BOOL)isEqualToRevokeLinkedAppError:(DBTEAMRevokeLinkedAppError *)aRevokeLinkedAppError { + if (self == aRevokeLinkedAppError) { return YES; } - if (self.tag != aMembersSendWelcomeError.tag) { + if (self.tag != aRevokeLinkedAppError.tag) { return NO; } switch (_tag) { - case DBTEAMMembersSendWelcomeErrorUserNotFound: - return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; - case DBTEAMMembersSendWelcomeErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; - case DBTEAMMembersSendWelcomeErrorOther: - return [[self tagName] isEqual:[aMembersSendWelcomeError tagName]]; + case DBTEAMRevokeLinkedAppErrorAppNotFound: + return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; + case DBTEAMRevokeLinkedAppErrorMemberNotFound: + return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; + case DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported: + return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; + case DBTEAMRevokeLinkedAppErrorOther: + return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; } return YES; } @@ -18449,35 +34407,39 @@ - (BOOL)isEqualToMembersSendWelcomeError:(DBTEAMMembersSendWelcomeError *)aMembe #pragma mark - Serializer Object -@implementation DBTEAMMembersSendWelcomeErrorSerializer +@implementation DBTEAMRevokeLinkedAppErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSendWelcomeError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; + if ([valueObj isAppNotFound]) { + jsonDict[@".tag"] = @"app_not_found"; + } else if ([valueObj isMemberNotFound]) { + jsonDict[@".tag"] = @"member_not_found"; + } else if ([valueObj isAppFolderRemovalNotSupported]) { + jsonDict[@".tag"] = @"app_folder_removal_not_supported"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersSendWelcomeError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersSendWelcomeError alloc] initWithUserNotInTeam]; + if ([tag isEqualToString:@"app_not_found"]) { + return [[DBTEAMRevokeLinkedAppError alloc] initWithAppNotFound]; + } else if ([tag isEqualToString:@"member_not_found"]) { + return [[DBTEAMRevokeLinkedAppError alloc] initWithMemberNotFound]; + } else if ([tag isEqualToString:@"app_folder_removal_not_supported"]) { + return [[DBTEAMRevokeLinkedAppError alloc] initWithAppFolderRemovalNotSupported]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersSendWelcomeError alloc] initWithOther]; + return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; } else { - return [[DBTEAMMembersSendWelcomeError alloc] initWithOther]; + return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; } } @@ -18485,42 +34447,44 @@ + (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMAdminTier.h" -#import "DBTEAMMembersSetPermissionsArg.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMRevokeLinkedAppError.h" +#import "DBTEAMRevokeLinkedAppStatus.h" #pragma mark - API Object -@implementation DBTEAMMembersSetPermissionsArg +@implementation DBTEAMRevokeLinkedAppStatus #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user dNewRole:(DBTEAMAdminTier *)dNewRole { - [DBStoneValidators nonnullValidator:nil](user); - [DBStoneValidators nonnullValidator:nil](dNewRole); +- (instancetype)initWithSuccess:(NSNumber *)success errorType:(DBTEAMRevokeLinkedAppError *)errorType { + [DBStoneValidators nonnullValidator:nil](success); self = [super init]; if (self) { - _user = user; - _dNewRole = dNewRole; + _success = success; + _errorType = errorType; } return self; } +- (instancetype)initWithSuccess:(NSNumber *)success { + return [self initWithSuccess:success errorType:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSetPermissionsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMRevokeLinkedAppStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSetPermissionsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMRevokeLinkedAppStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSetPermissionsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMRevokeLinkedAppStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18537,8 +34501,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; - result = prime * result + [self.dNewRole hash]; + result = prime * result + [self.success hash]; + if (self.errorType != nil) { + result = prime * result + [self.errorType hash]; + } return prime * result; } @@ -18552,18 +34518,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSetPermissionsArg:other]; + return [self isEqualToRevokeLinkedAppStatus:other]; } -- (BOOL)isEqualToMembersSetPermissionsArg:(DBTEAMMembersSetPermissionsArg *)aMembersSetPermissionsArg { - if (self == aMembersSetPermissionsArg) { +- (BOOL)isEqualToRevokeLinkedAppStatus:(DBTEAMRevokeLinkedAppStatus *)aRevokeLinkedAppStatus { + if (self == aRevokeLinkedAppStatus) { return YES; } - if (![self.user isEqual:aMembersSetPermissionsArg.user]) { + if (![self.success isEqual:aRevokeLinkedAppStatus.success]) { return NO; } - if (![self.dNewRole isEqual:aMembersSetPermissionsArg.dNewRole]) { - return NO; + if (self.errorType) { + if (![self.errorType isEqual:aRevokeLinkedAppStatus.errorType]) { + return NO; + } } return YES; } @@ -18572,146 +34540,67 @@ - (BOOL)isEqualToMembersSetPermissionsArg:(DBTEAMMembersSetPermissionsArg *)aMem #pragma mark - Serializer Object -@implementation DBTEAMMembersSetPermissionsArgSerializer +@implementation DBTEAMRevokeLinkedAppStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - jsonDict[@"new_role"] = [DBTEAMAdminTierSerializer serialize:valueObj.dNewRole]; + jsonDict[@"success"] = valueObj.success; + if (valueObj.errorType) { + jsonDict[@"error_type"] = [DBTEAMRevokeLinkedAppErrorSerializer serialize:valueObj.errorType]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - DBTEAMAdminTier *dNewRole = [DBTEAMAdminTierSerializer deserialize:valueDict[@"new_role"]]; ++ (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)valueDict { + NSNumber *success = valueDict[@"success"]; + DBTEAMRevokeLinkedAppError *errorType = + valueDict[@"error_type"] ? [DBTEAMRevokeLinkedAppErrorSerializer deserialize:valueDict[@"error_type"]] : nil; - return [[DBTEAMMembersSetPermissionsArg alloc] initWithUser:user dNewRole:dNewRole]; + return [[DBTEAMRevokeLinkedAppStatus alloc] initWithSuccess:success errorType:errorType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersSetPermissionsError.h" -#import "DBTEAMUserSelectorError.h" +#import "DBTEAMSetCustomQuotaArg.h" +#import "DBTEAMUserCustomQuotaArg.h" #pragma mark - API Object -@implementation DBTEAMMembersSetPermissionsError +@implementation DBTEAMSetCustomQuotaArg #pragma mark - Constructors -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetPermissionsErrorUserNotFound; - } - return self; -} - -- (instancetype)initWithLastAdmin { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetPermissionsErrorLastAdmin; - } - return self; -} - -- (instancetype)initWithUserNotInTeam { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetPermissionsErrorUserNotInTeam; - } - return self; -} - -- (instancetype)initWithCannotSetPermissions { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetPermissionsErrorCannotSetPermissions; - } - return self; -} - -- (instancetype)initWithTeamLicenseLimit { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetPermissionsErrorTeamLicenseLimit; - } - return self; -} +- (instancetype)initWithUsersAndQuotas:(NSArray *)usersAndQuotas { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](usersAndQuotas); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersSetPermissionsErrorOther; + _usersAndQuotas = usersAndQuotas; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersSetPermissionsErrorUserNotFound; -} - -- (BOOL)isLastAdmin { - return _tag == DBTEAMMembersSetPermissionsErrorLastAdmin; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersSetPermissionsErrorUserNotInTeam; -} - -- (BOOL)isCannotSetPermissions { - return _tag == DBTEAMMembersSetPermissionsErrorCannotSetPermissions; -} - -- (BOOL)isTeamLicenseLimit { - return _tag == DBTEAMMembersSetPermissionsErrorTeamLicenseLimit; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersSetPermissionsErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersSetPermissionsErrorUserNotFound: - return @"DBTEAMMembersSetPermissionsErrorUserNotFound"; - case DBTEAMMembersSetPermissionsErrorLastAdmin: - return @"DBTEAMMembersSetPermissionsErrorLastAdmin"; - case DBTEAMMembersSetPermissionsErrorUserNotInTeam: - return @"DBTEAMMembersSetPermissionsErrorUserNotInTeam"; - case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: - return @"DBTEAMMembersSetPermissionsErrorCannotSetPermissions"; - case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: - return @"DBTEAMMembersSetPermissionsErrorTeamLicenseLimit"; - case DBTEAMMembersSetPermissionsErrorOther: - return @"DBTEAMMembersSetPermissionsErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSetPermissionsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSetCustomQuotaArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSetPermissionsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSetCustomQuotaArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSetPermissionsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSetCustomQuotaArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18728,20 +34617,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersSetPermissionsErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetPermissionsErrorLastAdmin: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetPermissionsErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetPermissionsErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.usersAndQuotas hash]; return prime * result; } @@ -18755,30 +34631,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSetPermissionsError:other]; + return [self isEqualToSetCustomQuotaArg:other]; } -- (BOOL)isEqualToMembersSetPermissionsError:(DBTEAMMembersSetPermissionsError *)aMembersSetPermissionsError { - if (self == aMembersSetPermissionsError) { +- (BOOL)isEqualToSetCustomQuotaArg:(DBTEAMSetCustomQuotaArg *)aSetCustomQuotaArg { + if (self == aSetCustomQuotaArg) { return YES; } - if (self.tag != aMembersSetPermissionsError.tag) { + if (![self.usersAndQuotas isEqual:aSetCustomQuotaArg.usersAndQuotas]) { return NO; } - switch (_tag) { - case DBTEAMMembersSetPermissionsErrorUserNotFound: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - case DBTEAMMembersSetPermissionsErrorLastAdmin: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - case DBTEAMMembersSetPermissionsErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - case DBTEAMMembersSetPermissionsErrorCannotSetPermissions: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - case DBTEAMMembersSetPermissionsErrorTeamLicenseLimit: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - case DBTEAMMembersSetPermissionsErrorOther: - return [[self tagName] isEqual:[aMembersSetPermissionsError tagName]]; - } return YES; } @@ -18786,89 +34648,109 @@ - (BOOL)isEqualToMembersSetPermissionsError:(DBTEAMMembersSetPermissionsError *) #pragma mark - Serializer Object -@implementation DBTEAMMembersSetPermissionsErrorSerializer +@implementation DBTEAMSetCustomQuotaArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isLastAdmin]) { - jsonDict[@".tag"] = @"last_admin"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isCannotSetPermissions]) { - jsonDict[@".tag"] = @"cannot_set_permissions"; - } else if ([valueObj isTeamLicenseLimit]) { - jsonDict[@".tag"] = @"team_license_limit"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"users_and_quotas"] = [DBArraySerializer serialize:valueObj.usersAndQuotas + withBlock:^id(id elem0) { + return [DBTEAMUserCustomQuotaArgSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { + NSArray *usersAndQuotas = + [DBArraySerializer deserialize:valueDict[@"users_and_quotas"] + withBlock:^id(id elem0) { + return [DBTEAMUserCustomQuotaArgSerializer deserialize:elem0]; + }]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"last_admin"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithLastAdmin]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"cannot_set_permissions"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithCannotSetPermissions]; - } else if ([tag isEqualToString:@"team_license_limit"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithTeamLicenseLimit]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersSetPermissionsError alloc] initWithOther]; - } else { - return [[DBTEAMMembersSetPermissionsError alloc] initWithOther]; - } + return [[DBTEAMSetCustomQuotaArg alloc] initWithUsersAndQuotas:usersAndQuotas]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMAdminTier.h" -#import "DBTEAMMembersSetPermissionsResult.h" +#import "DBTEAMCustomQuotaError.h" +#import "DBTEAMSetCustomQuotaError.h" #pragma mark - API Object -@implementation DBTEAMMembersSetPermissionsResult +@implementation DBTEAMSetCustomQuotaError #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId role:(DBTEAMAdminTier *)role { - [DBStoneValidators nonnullValidator:nil](teamMemberId); - [DBStoneValidators nonnullValidator:nil](role); +- (instancetype)initWithTooManyUsers { + self = [super init]; + if (self) { + _tag = DBTEAMSetCustomQuotaErrorTooManyUsers; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMSetCustomQuotaErrorOther; + } + return self; +} +- (instancetype)initWithSomeUsersAreExcluded { self = [super init]; if (self) { - _teamMemberId = teamMemberId; - _role = role; + _tag = DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isTooManyUsers { + return _tag == DBTEAMSetCustomQuotaErrorTooManyUsers; +} + +- (BOOL)isOther { + return _tag == DBTEAMSetCustomQuotaErrorOther; +} + +- (BOOL)isSomeUsersAreExcluded { + return _tag == DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMSetCustomQuotaErrorTooManyUsers: + return @"DBTEAMSetCustomQuotaErrorTooManyUsers"; + case DBTEAMSetCustomQuotaErrorOther: + return @"DBTEAMSetCustomQuotaErrorOther"; + case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: + return @"DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSetPermissionsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSetCustomQuotaErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSetPermissionsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSetCustomQuotaErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSetPermissionsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSetCustomQuotaErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -18885,8 +34767,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.role hash]; + switch (_tag) { + case DBTEAMSetCustomQuotaErrorTooManyUsers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMSetCustomQuotaErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -18900,18 +34791,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSetPermissionsResult:other]; + return [self isEqualToSetCustomQuotaError:other]; } -- (BOOL)isEqualToMembersSetPermissionsResult:(DBTEAMMembersSetPermissionsResult *)aMembersSetPermissionsResult { - if (self == aMembersSetPermissionsResult) { +- (BOOL)isEqualToSetCustomQuotaError:(DBTEAMSetCustomQuotaError *)aSetCustomQuotaError { + if (self == aSetCustomQuotaError) { return YES; } - if (![self.teamMemberId isEqual:aMembersSetPermissionsResult.teamMemberId]) { + if (self.tag != aSetCustomQuotaError.tag) { return NO; } - if (![self.role isEqual:aMembersSetPermissionsResult.role]) { - return NO; + switch (_tag) { + case DBTEAMSetCustomQuotaErrorTooManyUsers: + return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; + case DBTEAMSetCustomQuotaErrorOther: + return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; + case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: + return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; } return YES; } @@ -18920,86 +34816,86 @@ - (BOOL)isEqualToMembersSetPermissionsResult:(DBTEAMMembersSetPermissionsResult #pragma mark - Serializer Object -@implementation DBTEAMMembersSetPermissionsResultSerializer +@implementation DBTEAMSetCustomQuotaErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSetPermissionsResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; + if ([valueObj isTooManyUsers]) { + jsonDict[@".tag"] = @"too_many_users"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isSomeUsersAreExcluded]) { + jsonDict[@".tag"] = @"some_users_are_excluded"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; - DBTEAMAdminTier *role = [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]]; ++ (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMMembersSetPermissionsResult alloc] initWithTeamMemberId:teamMemberId role:role]; + if ([tag isEqualToString:@"too_many_users"]) { + return [[DBTEAMSetCustomQuotaError alloc] initWithTooManyUsers]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMSetCustomQuotaError alloc] initWithOther]; + } else if ([tag isEqualToString:@"some_users_are_excluded"]) { + return [[DBTEAMSetCustomQuotaError alloc] initWithSomeUsersAreExcluded]; + } else { + return [[DBTEAMSetCustomQuotaError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersSetProfileArg.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMSharingAllowlistAddArgs.h" #pragma mark - API Object -@implementation DBTEAMMembersSetProfileArg +@implementation DBTEAMSharingAllowlistAddArgs #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user - dNewEmail:(NSString *)dNewEmail - dNewExternalId:(NSString *)dNewExternalId - dNewGivenName:(NSString *)dNewGivenName - dNewSurname:(NSString *)dNewSurname - dNewPersistentId:(NSString *)dNewPersistentId { - [DBStoneValidators nonnullValidator:nil](user); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" - @"9.-]*.[A-Za-z]{2,15}$"]](dNewEmail); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](dNewExternalId); +- (instancetype)initWithDomains:(NSArray *)domains emails:(NSArray *)emails { [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](dNewGivenName); + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](domains); [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(100) pattern:@"[^/:?*<>\"|]*"]](dNewSurname); + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](emails); self = [super init]; if (self) { - _user = user; - _dNewEmail = dNewEmail; - _dNewExternalId = dNewExternalId; - _dNewGivenName = dNewGivenName; - _dNewSurname = dNewSurname; - _dNewPersistentId = dNewPersistentId; + _domains = domains; + _emails = emails; } return self; } -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { - return - [self initWithUser:user dNewEmail:nil dNewExternalId:nil dNewGivenName:nil dNewSurname:nil dNewPersistentId:nil]; +- (instancetype)initDefault { + return [self initWithDomains:nil emails:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSetProfileArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistAddArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSetProfileArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistAddArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSetProfileArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistAddArgsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19016,21 +34912,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; - if (self.dNewEmail != nil) { - result = prime * result + [self.dNewEmail hash]; - } - if (self.dNewExternalId != nil) { - result = prime * result + [self.dNewExternalId hash]; - } - if (self.dNewGivenName != nil) { - result = prime * result + [self.dNewGivenName hash]; + if (self.domains != nil) { + result = prime * result + [self.domains hash]; } - if (self.dNewSurname != nil) { - result = prime * result + [self.dNewSurname hash]; - } - if (self.dNewPersistentId != nil) { - result = prime * result + [self.dNewPersistentId hash]; + if (self.emails != nil) { + result = prime * result + [self.emails hash]; } return prime * result; @@ -19042,41 +34928,23 @@ - (BOOL)isEqual:(id)other { if (other == self) { return YES; } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToMembersSetProfileArg:other]; -} - -- (BOOL)isEqualToMembersSetProfileArg:(DBTEAMMembersSetProfileArg *)aMembersSetProfileArg { - if (self == aMembersSetProfileArg) { - return YES; - } - if (![self.user isEqual:aMembersSetProfileArg.user]) { - return NO; - } - if (self.dNewEmail) { - if (![self.dNewEmail isEqual:aMembersSetProfileArg.dNewEmail]) { - return NO; - } - } - if (self.dNewExternalId) { - if (![self.dNewExternalId isEqual:aMembersSetProfileArg.dNewExternalId]) { - return NO; - } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; } - if (self.dNewGivenName) { - if (![self.dNewGivenName isEqual:aMembersSetProfileArg.dNewGivenName]) { - return NO; - } + return [self isEqualToSharingAllowlistAddArgs:other]; +} + +- (BOOL)isEqualToSharingAllowlistAddArgs:(DBTEAMSharingAllowlistAddArgs *)aSharingAllowlistAddArgs { + if (self == aSharingAllowlistAddArgs) { + return YES; } - if (self.dNewSurname) { - if (![self.dNewSurname isEqual:aMembersSetProfileArg.dNewSurname]) { + if (self.domains) { + if (![self.domains isEqual:aSharingAllowlistAddArgs.domains]) { return NO; } } - if (self.dNewPersistentId) { - if (![self.dNewPersistentId isEqual:aMembersSetProfileArg.dNewPersistentId]) { + if (self.emails) { + if (![self.emails isEqual:aSharingAllowlistAddArgs.emails]) { return NO; } } @@ -19087,220 +34955,181 @@ - (BOOL)isEqualToMembersSetProfileArg:(DBTEAMMembersSetProfileArg *)aMembersSetP #pragma mark - Serializer Object -@implementation DBTEAMMembersSetProfileArgSerializer +@implementation DBTEAMSharingAllowlistAddArgsSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSetProfileArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - if (valueObj.dNewEmail) { - jsonDict[@"new_email"] = valueObj.dNewEmail; - } - if (valueObj.dNewExternalId) { - jsonDict[@"new_external_id"] = valueObj.dNewExternalId; - } - if (valueObj.dNewGivenName) { - jsonDict[@"new_given_name"] = valueObj.dNewGivenName; - } - if (valueObj.dNewSurname) { - jsonDict[@"new_surname"] = valueObj.dNewSurname; + if (valueObj.domains) { + jsonDict[@"domains"] = [DBArraySerializer serialize:valueObj.domains + withBlock:^id(id elem0) { + return elem0; + }]; } - if (valueObj.dNewPersistentId) { - jsonDict[@"new_persistent_id"] = valueObj.dNewPersistentId; + if (valueObj.emails) { + jsonDict[@"emails"] = [DBArraySerializer serialize:valueObj.emails + withBlock:^id(id elem0) { + return elem0; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - NSString *dNewEmail = valueDict[@"new_email"] ?: nil; - NSString *dNewExternalId = valueDict[@"new_external_id"] ?: nil; - NSString *dNewGivenName = valueDict[@"new_given_name"] ?: nil; - NSString *dNewSurname = valueDict[@"new_surname"] ?: nil; - NSString *dNewPersistentId = valueDict[@"new_persistent_id"] ?: nil; ++ (DBTEAMSharingAllowlistAddArgs *)deserialize:(NSDictionary *)valueDict { + NSArray *domains = valueDict[@"domains"] ? [DBArraySerializer deserialize:valueDict[@"domains"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + NSArray *emails = valueDict[@"emails"] ? [DBArraySerializer deserialize:valueDict[@"emails"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; - return [[DBTEAMMembersSetProfileArg alloc] initWithUser:user - dNewEmail:dNewEmail - dNewExternalId:dNewExternalId - dNewGivenName:dNewGivenName - dNewSurname:dNewSurname - dNewPersistentId:dNewPersistentId]; + return [[DBTEAMSharingAllowlistAddArgs alloc] initWithDomains:domains emails:emails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberSelectorError.h" -#import "DBTEAMMembersSetProfileError.h" +#import "DBTEAMSharingAllowlistAddError.h" #pragma mark - API Object -@implementation DBTEAMMembersSetProfileError +@implementation DBTEAMSharingAllowlistAddError -#pragma mark - Constructors +@synthesize malformedEntry = _malformedEntry; +@synthesize entriesAlreadyExist = _entriesAlreadyExist; -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetProfileErrorUserNotFound; - } - return self; -} +#pragma mark - Constructors -- (instancetype)initWithUserNotInTeam { +- (instancetype)initWithMalformedEntry:(NSString *)malformedEntry { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorUserNotInTeam; + _tag = DBTEAMSharingAllowlistAddErrorMalformedEntry; + _malformedEntry = malformedEntry; } return self; } -- (instancetype)initWithExternalIdAndNewExternalIdUnsafe { +- (instancetype)initWithNoEntriesProvided { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe; + _tag = DBTEAMSharingAllowlistAddErrorNoEntriesProvided; } return self; } -- (instancetype)initWithNoNewDataSpecified { +- (instancetype)initWithTooManyEntriesProvided { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorNoNewDataSpecified; + _tag = DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided; } return self; } -- (instancetype)initWithEmailReservedForOtherUser { +- (instancetype)initWithTeamLimitReached { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorEmailReservedForOtherUser; + _tag = DBTEAMSharingAllowlistAddErrorTeamLimitReached; } return self; } -- (instancetype)initWithExternalIdUsedByOtherUser { +- (instancetype)initWithUnknownError { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser; + _tag = DBTEAMSharingAllowlistAddErrorUnknownError; } return self; } -- (instancetype)initWithSetProfileDisallowed { +- (instancetype)initWithEntriesAlreadyExist:(NSString *)entriesAlreadyExist { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorSetProfileDisallowed; + _tag = DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist; + _entriesAlreadyExist = entriesAlreadyExist; } return self; } -- (instancetype)initWithParamCannotBeEmpty { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMembersSetProfileErrorParamCannotBeEmpty; + _tag = DBTEAMSharingAllowlistAddErrorOther; } return self; } -- (instancetype)initWithPersistentIdDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetProfileErrorPersistentIdDisabled; - } - return self; -} +#pragma mark - Instance field accessors -- (instancetype)initWithPersistentIdUsedByOtherUser { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser; +- (NSString *)malformedEntry { + if (![self isMalformedEntry]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMSharingAllowlistAddErrorMalformedEntry, but was %@.", [self tagName]]; } - return self; + return _malformedEntry; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSetProfileErrorOther; +- (NSString *)entriesAlreadyExist { + if (![self isEntriesAlreadyExist]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist, but was %@.", [self tagName]]; } - return self; + return _entriesAlreadyExist; } -#pragma mark - Instance field accessors - #pragma mark - Tag state methods -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersSetProfileErrorUserNotFound; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersSetProfileErrorUserNotInTeam; -} - -- (BOOL)isExternalIdAndNewExternalIdUnsafe { - return _tag == DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe; -} - -- (BOOL)isNoNewDataSpecified { - return _tag == DBTEAMMembersSetProfileErrorNoNewDataSpecified; -} - -- (BOOL)isEmailReservedForOtherUser { - return _tag == DBTEAMMembersSetProfileErrorEmailReservedForOtherUser; +- (BOOL)isMalformedEntry { + return _tag == DBTEAMSharingAllowlistAddErrorMalformedEntry; } -- (BOOL)isExternalIdUsedByOtherUser { - return _tag == DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser; +- (BOOL)isNoEntriesProvided { + return _tag == DBTEAMSharingAllowlistAddErrorNoEntriesProvided; } -- (BOOL)isSetProfileDisallowed { - return _tag == DBTEAMMembersSetProfileErrorSetProfileDisallowed; +- (BOOL)isTooManyEntriesProvided { + return _tag == DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided; } -- (BOOL)isParamCannotBeEmpty { - return _tag == DBTEAMMembersSetProfileErrorParamCannotBeEmpty; +- (BOOL)isTeamLimitReached { + return _tag == DBTEAMSharingAllowlistAddErrorTeamLimitReached; } -- (BOOL)isPersistentIdDisabled { - return _tag == DBTEAMMembersSetProfileErrorPersistentIdDisabled; +- (BOOL)isUnknownError { + return _tag == DBTEAMSharingAllowlistAddErrorUnknownError; } -- (BOOL)isPersistentIdUsedByOtherUser { - return _tag == DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser; +- (BOOL)isEntriesAlreadyExist { + return _tag == DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist; } - (BOOL)isOther { - return _tag == DBTEAMMembersSetProfileErrorOther; + return _tag == DBTEAMSharingAllowlistAddErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMembersSetProfileErrorUserNotFound: - return @"DBTEAMMembersSetProfileErrorUserNotFound"; - case DBTEAMMembersSetProfileErrorUserNotInTeam: - return @"DBTEAMMembersSetProfileErrorUserNotInTeam"; - case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: - return @"DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe"; - case DBTEAMMembersSetProfileErrorNoNewDataSpecified: - return @"DBTEAMMembersSetProfileErrorNoNewDataSpecified"; - case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: - return @"DBTEAMMembersSetProfileErrorEmailReservedForOtherUser"; - case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: - return @"DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser"; - case DBTEAMMembersSetProfileErrorSetProfileDisallowed: - return @"DBTEAMMembersSetProfileErrorSetProfileDisallowed"; - case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: - return @"DBTEAMMembersSetProfileErrorParamCannotBeEmpty"; - case DBTEAMMembersSetProfileErrorPersistentIdDisabled: - return @"DBTEAMMembersSetProfileErrorPersistentIdDisabled"; - case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: - return @"DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser"; - case DBTEAMMembersSetProfileErrorOther: - return @"DBTEAMMembersSetProfileErrorOther"; + case DBTEAMSharingAllowlistAddErrorMalformedEntry: + return @"DBTEAMSharingAllowlistAddErrorMalformedEntry"; + case DBTEAMSharingAllowlistAddErrorNoEntriesProvided: + return @"DBTEAMSharingAllowlistAddErrorNoEntriesProvided"; + case DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided: + return @"DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided"; + case DBTEAMSharingAllowlistAddErrorTeamLimitReached: + return @"DBTEAMSharingAllowlistAddErrorTeamLimitReached"; + case DBTEAMSharingAllowlistAddErrorUnknownError: + return @"DBTEAMSharingAllowlistAddErrorUnknownError"; + case DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist: + return @"DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist"; + case DBTEAMSharingAllowlistAddErrorOther: + return @"DBTEAMSharingAllowlistAddErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -19308,18 +35137,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSetProfileErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistAddErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSetProfileErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistAddErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSetProfileErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistAddErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19337,28 +35166,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMembersSetProfileErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: + case DBTEAMSharingAllowlistAddErrorMalformedEntry: + result = prime * result + [self.malformedEntry hash]; + break; + case DBTEAMSharingAllowlistAddErrorNoEntriesProvided: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorNoNewDataSpecified: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorSetProfileDisallowed: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: + break; + case DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorPersistentIdDisabled: + break; + case DBTEAMSharingAllowlistAddErrorTeamLimitReached: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: + break; + case DBTEAMSharingAllowlistAddErrorUnknownError: result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSetProfileErrorOther: + break; + case DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist: + result = prime * result + [self.entriesAlreadyExist hash]; + break; + case DBTEAMSharingAllowlistAddErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -19373,39 +35201,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSetProfileError:other]; + return [self isEqualToSharingAllowlistAddError:other]; } -- (BOOL)isEqualToMembersSetProfileError:(DBTEAMMembersSetProfileError *)aMembersSetProfileError { - if (self == aMembersSetProfileError) { +- (BOOL)isEqualToSharingAllowlistAddError:(DBTEAMSharingAllowlistAddError *)aSharingAllowlistAddError { + if (self == aSharingAllowlistAddError) { return YES; } - if (self.tag != aMembersSetProfileError.tag) { + if (self.tag != aSharingAllowlistAddError.tag) { return NO; } switch (_tag) { - case DBTEAMMembersSetProfileErrorUserNotFound: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorNoNewDataSpecified: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorEmailReservedForOtherUser: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorSetProfileDisallowed: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorParamCannotBeEmpty: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorPersistentIdDisabled: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; - case DBTEAMMembersSetProfileErrorOther: - return [[self tagName] isEqual:[aMembersSetProfileError tagName]]; + case DBTEAMSharingAllowlistAddErrorMalformedEntry: + return [self.malformedEntry isEqual:aSharingAllowlistAddError.malformedEntry]; + case DBTEAMSharingAllowlistAddErrorNoEntriesProvided: + return [[self tagName] isEqual:[aSharingAllowlistAddError tagName]]; + case DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided: + return [[self tagName] isEqual:[aSharingAllowlistAddError tagName]]; + case DBTEAMSharingAllowlistAddErrorTeamLimitReached: + return [[self tagName] isEqual:[aSharingAllowlistAddError tagName]]; + case DBTEAMSharingAllowlistAddErrorUnknownError: + return [[self tagName] isEqual:[aSharingAllowlistAddError tagName]]; + case DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist: + return [self.entriesAlreadyExist isEqual:aSharingAllowlistAddError.entriesAlreadyExist]; + case DBTEAMSharingAllowlistAddErrorOther: + return [[self tagName] isEqual:[aSharingAllowlistAddError tagName]]; } return YES; } @@ -19414,67 +35234,55 @@ - (BOOL)isEqualToMembersSetProfileError:(DBTEAMMembersSetProfileError *)aMembers #pragma mark - Serializer Object -@implementation DBTEAMMembersSetProfileErrorSerializer +@implementation DBTEAMSharingAllowlistAddErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSetProfileError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isExternalIdAndNewExternalIdUnsafe]) { - jsonDict[@".tag"] = @"external_id_and_new_external_id_unsafe"; - } else if ([valueObj isNoNewDataSpecified]) { - jsonDict[@".tag"] = @"no_new_data_specified"; - } else if ([valueObj isEmailReservedForOtherUser]) { - jsonDict[@".tag"] = @"email_reserved_for_other_user"; - } else if ([valueObj isExternalIdUsedByOtherUser]) { - jsonDict[@".tag"] = @"external_id_used_by_other_user"; - } else if ([valueObj isSetProfileDisallowed]) { - jsonDict[@".tag"] = @"set_profile_disallowed"; - } else if ([valueObj isParamCannotBeEmpty]) { - jsonDict[@".tag"] = @"param_cannot_be_empty"; - } else if ([valueObj isPersistentIdDisabled]) { - jsonDict[@".tag"] = @"persistent_id_disabled"; - } else if ([valueObj isPersistentIdUsedByOtherUser]) { - jsonDict[@".tag"] = @"persistent_id_used_by_other_user"; + if ([valueObj isMalformedEntry]) { + jsonDict[@"malformed_entry"] = valueObj.malformedEntry; + jsonDict[@".tag"] = @"malformed_entry"; + } else if ([valueObj isNoEntriesProvided]) { + jsonDict[@".tag"] = @"no_entries_provided"; + } else if ([valueObj isTooManyEntriesProvided]) { + jsonDict[@".tag"] = @"too_many_entries_provided"; + } else if ([valueObj isTeamLimitReached]) { + jsonDict[@".tag"] = @"team_limit_reached"; + } else if ([valueObj isUnknownError]) { + jsonDict[@".tag"] = @"unknown_error"; + } else if ([valueObj isEntriesAlreadyExist]) { + jsonDict[@"entries_already_exist"] = valueObj.entriesAlreadyExist; + jsonDict[@".tag"] = @"entries_already_exist"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMSharingAllowlistAddError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"external_id_and_new_external_id_unsafe"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithExternalIdAndNewExternalIdUnsafe]; - } else if ([tag isEqualToString:@"no_new_data_specified"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithNoNewDataSpecified]; - } else if ([tag isEqualToString:@"email_reserved_for_other_user"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithEmailReservedForOtherUser]; - } else if ([tag isEqualToString:@"external_id_used_by_other_user"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithExternalIdUsedByOtherUser]; - } else if ([tag isEqualToString:@"set_profile_disallowed"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithSetProfileDisallowed]; - } else if ([tag isEqualToString:@"param_cannot_be_empty"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithParamCannotBeEmpty]; - } else if ([tag isEqualToString:@"persistent_id_disabled"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithPersistentIdDisabled]; - } else if ([tag isEqualToString:@"persistent_id_used_by_other_user"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithPersistentIdUsedByOtherUser]; + if ([tag isEqualToString:@"malformed_entry"]) { + NSString *malformedEntry = valueDict[@"malformed_entry"]; + return [[DBTEAMSharingAllowlistAddError alloc] initWithMalformedEntry:malformedEntry]; + } else if ([tag isEqualToString:@"no_entries_provided"]) { + return [[DBTEAMSharingAllowlistAddError alloc] initWithNoEntriesProvided]; + } else if ([tag isEqualToString:@"too_many_entries_provided"]) { + return [[DBTEAMSharingAllowlistAddError alloc] initWithTooManyEntriesProvided]; + } else if ([tag isEqualToString:@"team_limit_reached"]) { + return [[DBTEAMSharingAllowlistAddError alloc] initWithTeamLimitReached]; + } else if ([tag isEqualToString:@"unknown_error"]) { + return [[DBTEAMSharingAllowlistAddError alloc] initWithUnknownError]; + } else if ([tag isEqualToString:@"entries_already_exist"]) { + NSString *entriesAlreadyExist = valueDict[@"entries_already_exist"]; + return [[DBTEAMSharingAllowlistAddError alloc] initWithEntriesAlreadyExist:entriesAlreadyExist]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersSetProfileError alloc] initWithOther]; + return [[DBTEAMSharingAllowlistAddError alloc] initWithOther]; } else { - return [[DBTEAMMembersSetProfileError alloc] initWithOther]; + return [[DBTEAMSharingAllowlistAddError alloc] initWithOther]; } } @@ -19482,124 +35290,36 @@ + (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateError.h" -#import "DBTEAMMembersSuspendError.h" +#import "DBTEAMSharingAllowlistAddResponse.h" #pragma mark - API Object -@implementation DBTEAMMembersSuspendError +@implementation DBTEAMSharingAllowlistAddResponse #pragma mark - Constructors -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSuspendErrorUserNotFound; - } - return self; -} - -- (instancetype)initWithUserNotInTeam { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSuspendErrorUserNotInTeam; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSuspendErrorOther; - } - return self; -} - -- (instancetype)initWithSuspendInactiveUser { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSuspendErrorSuspendInactiveUser; - } - return self; -} - -- (instancetype)initWithSuspendLastAdmin { - self = [super init]; - if (self) { - _tag = DBTEAMMembersSuspendErrorSuspendLastAdmin; - } - return self; -} +- (instancetype)initDefault { -- (instancetype)initWithTeamLicenseLimit { self = [super init]; if (self) { - _tag = DBTEAMMembersSuspendErrorTeamLicenseLimit; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersSuspendErrorUserNotFound; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersSuspendErrorUserNotInTeam; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersSuspendErrorOther; -} - -- (BOOL)isSuspendInactiveUser { - return _tag == DBTEAMMembersSuspendErrorSuspendInactiveUser; -} - -- (BOOL)isSuspendLastAdmin { - return _tag == DBTEAMMembersSuspendErrorSuspendLastAdmin; -} - -- (BOOL)isTeamLicenseLimit { - return _tag == DBTEAMMembersSuspendErrorTeamLicenseLimit; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersSuspendErrorUserNotFound: - return @"DBTEAMMembersSuspendErrorUserNotFound"; - case DBTEAMMembersSuspendErrorUserNotInTeam: - return @"DBTEAMMembersSuspendErrorUserNotInTeam"; - case DBTEAMMembersSuspendErrorOther: - return @"DBTEAMMembersSuspendErrorOther"; - case DBTEAMMembersSuspendErrorSuspendInactiveUser: - return @"DBTEAMMembersSuspendErrorSuspendInactiveUser"; - case DBTEAMMembersSuspendErrorSuspendLastAdmin: - return @"DBTEAMMembersSuspendErrorSuspendLastAdmin"; - case DBTEAMMembersSuspendErrorTeamLicenseLimit: - return @"DBTEAMMembersSuspendErrorTeamLicenseLimit"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersSuspendErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistAddResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersSuspendErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistAddResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersSuspendErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistAddResponseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19616,21 +35336,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersSuspendErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSuspendErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSuspendErrorOther: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSuspendErrorSuspendInactiveUser: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSuspendErrorSuspendLastAdmin: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersSuspendErrorTeamLicenseLimit: - result = prime * result + [[self tagName] hash]; - } - return prime * result; } @@ -19643,30 +35348,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersSuspendError:other]; + return [self isEqualToSharingAllowlistAddResponse:other]; } -- (BOOL)isEqualToMembersSuspendError:(DBTEAMMembersSuspendError *)aMembersSuspendError { - if (self == aMembersSuspendError) { +- (BOOL)isEqualToSharingAllowlistAddResponse:(DBTEAMSharingAllowlistAddResponse *)aSharingAllowlistAddResponse { + if (self == aSharingAllowlistAddResponse) { return YES; } - if (self.tag != aMembersSuspendError.tag) { - return NO; - } - switch (_tag) { - case DBTEAMMembersSuspendErrorUserNotFound: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - case DBTEAMMembersSuspendErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - case DBTEAMMembersSuspendErrorOther: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - case DBTEAMMembersSuspendErrorSuspendInactiveUser: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - case DBTEAMMembersSuspendErrorSuspendLastAdmin: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - case DBTEAMMembersSuspendErrorTeamLicenseLimit: - return [[self tagName] isEqual:[aMembersSuspendError tagName]]; - } return YES; } @@ -19674,87 +35362,60 @@ - (BOOL)isEqualToMembersSuspendError:(DBTEAMMembersSuspendError *)aMembersSuspen #pragma mark - Serializer Object -@implementation DBTEAMMembersSuspendErrorSerializer +@implementation DBTEAMSharingAllowlistAddResponseSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersSuspendError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistAddResponse *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isSuspendInactiveUser]) { - jsonDict[@".tag"] = @"suspend_inactive_user"; - } else if ([valueObj isSuspendLastAdmin]) { - jsonDict[@".tag"] = @"suspend_last_admin"; - } else if ([valueObj isTeamLicenseLimit]) { - jsonDict[@".tag"] = @"team_license_limit"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMSharingAllowlistAddResponse *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersSuspendError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersSuspendError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersSuspendError alloc] initWithOther]; - } else if ([tag isEqualToString:@"suspend_inactive_user"]) { - return [[DBTEAMMembersSuspendError alloc] initWithSuspendInactiveUser]; - } else if ([tag isEqualToString:@"suspend_last_admin"]) { - return [[DBTEAMMembersSuspendError alloc] initWithSuspendLastAdmin]; - } else if ([tag isEqualToString:@"team_license_limit"]) { - return [[DBTEAMMembersSuspendError alloc] initWithTeamLicenseLimit]; - } else { - return [[DBTEAMMembersSuspendError alloc] initWithOther]; - } + return [[DBTEAMSharingAllowlistAddResponse alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersUnsuspendArg.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMSharingAllowlistListArg.h" #pragma mark - API Object -@implementation DBTEAMMembersUnsuspendArg +@implementation DBTEAMSharingAllowlistListArg #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { - [DBStoneValidators nonnullValidator:nil](user); +- (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { - _user = user; + _limit = limit ?: @(1000); } return self; } +- (instancetype)initDefault { + return [self initWithLimit:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersUnsuspendArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersUnsuspendArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersUnsuspendArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistListArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19771,7 +35432,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.user hash]; + result = prime * result + [self.limit hash]; return prime * result; } @@ -19785,14 +35446,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersUnsuspendArg:other]; + return [self isEqualToSharingAllowlistListArg:other]; } -- (BOOL)isEqualToMembersUnsuspendArg:(DBTEAMMembersUnsuspendArg *)aMembersUnsuspendArg { - if (self == aMembersUnsuspendArg) { +- (BOOL)isEqualToSharingAllowlistListArg:(DBTEAMSharingAllowlistListArg *)aSharingAllowlistListArg { + if (self == aSharingAllowlistListArg) { return YES; } - if (![self.user isEqual:aMembersUnsuspendArg.user]) { + if (![self.limit isEqual:aSharingAllowlistListArg.limit]) { return NO; } return YES; @@ -19802,130 +35463,58 @@ - (BOOL)isEqualToMembersUnsuspendArg:(DBTEAMMembersUnsuspendArg *)aMembersUnsusp #pragma mark - Serializer Object -@implementation DBTEAMMembersUnsuspendArgSerializer +@implementation DBTEAMSharingAllowlistListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersUnsuspendArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)valueDict { - DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; ++ (DBTEAMSharingAllowlistListArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); - return [[DBTEAMMembersUnsuspendArg alloc] initWithUser:user]; + return [[DBTEAMSharingAllowlistListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMembersDeactivateError.h" -#import "DBTEAMMembersUnsuspendError.h" +#import "DBTEAMSharingAllowlistListContinueArg.h" #pragma mark - API Object -@implementation DBTEAMMembersUnsuspendError +@implementation DBTEAMSharingAllowlistListContinueArg #pragma mark - Constructors -- (instancetype)initWithUserNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMMembersUnsuspendErrorUserNotFound; - } - return self; -} - -- (instancetype)initWithUserNotInTeam { - self = [super init]; - if (self) { - _tag = DBTEAMMembersUnsuspendErrorUserNotInTeam; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMMembersUnsuspendErrorOther; - } - return self; -} - -- (instancetype)initWithUnsuspendNonSuspendedMember { - self = [super init]; - if (self) { - _tag = DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); -- (instancetype)initWithTeamLicenseLimit { self = [super init]; if (self) { - _tag = DBTEAMMembersUnsuspendErrorTeamLicenseLimit; - } - return self; -} - -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isUserNotFound { - return _tag == DBTEAMMembersUnsuspendErrorUserNotFound; -} - -- (BOOL)isUserNotInTeam { - return _tag == DBTEAMMembersUnsuspendErrorUserNotInTeam; -} - -- (BOOL)isOther { - return _tag == DBTEAMMembersUnsuspendErrorOther; -} - -- (BOOL)isUnsuspendNonSuspendedMember { - return _tag == DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember; -} - -- (BOOL)isTeamLicenseLimit { - return _tag == DBTEAMMembersUnsuspendErrorTeamLicenseLimit; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMMembersUnsuspendErrorUserNotFound: - return @"DBTEAMMembersUnsuspendErrorUserNotFound"; - case DBTEAMMembersUnsuspendErrorUserNotInTeam: - return @"DBTEAMMembersUnsuspendErrorUserNotInTeam"; - case DBTEAMMembersUnsuspendErrorOther: - return @"DBTEAMMembersUnsuspendErrorOther"; - case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: - return @"DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember"; - case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: - return @"DBTEAMMembersUnsuspendErrorTeamLicenseLimit"; + _cursor = cursor; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMembersUnsuspendErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistListContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMembersUnsuspendErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistListContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMembersUnsuspendErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -19942,18 +35531,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMMembersUnsuspendErrorUserNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersUnsuspendErrorUserNotInTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersUnsuspendErrorOther: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: - result = prime * result + [[self tagName] hash]; - case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.cursor hash]; return prime * result; } @@ -19967,28 +35545,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMembersUnsuspendError:other]; + return [self isEqualToSharingAllowlistListContinueArg:other]; } -- (BOOL)isEqualToMembersUnsuspendError:(DBTEAMMembersUnsuspendError *)aMembersUnsuspendError { - if (self == aMembersUnsuspendError) { +- (BOOL)isEqualToSharingAllowlistListContinueArg: + (DBTEAMSharingAllowlistListContinueArg *)aSharingAllowlistListContinueArg { + if (self == aSharingAllowlistListContinueArg) { return YES; } - if (self.tag != aMembersUnsuspendError.tag) { + if (![self.cursor isEqual:aSharingAllowlistListContinueArg.cursor]) { return NO; } - switch (_tag) { - case DBTEAMMembersUnsuspendErrorUserNotFound: - return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; - case DBTEAMMembersUnsuspendErrorUserNotInTeam: - return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; - case DBTEAMMembersUnsuspendErrorOther: - return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; - case DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember: - return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; - case DBTEAMMembersUnsuspendErrorTeamLicenseLimit: - return [[self tagName] isEqual:[aMembersUnsuspendError tagName]]; - } return YES; } @@ -19996,94 +35563,38 @@ - (BOOL)isEqualToMembersUnsuspendError:(DBTEAMMembersUnsuspendError *)aMembersUn #pragma mark - Serializer Object -@implementation DBTEAMMembersUnsuspendErrorSerializer +@implementation DBTEAMSharingAllowlistListContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMMembersUnsuspendError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUserNotFound]) { - jsonDict[@".tag"] = @"user_not_found"; - } else if ([valueObj isUserNotInTeam]) { - jsonDict[@".tag"] = @"user_not_in_team"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else if ([valueObj isUnsuspendNonSuspendedMember]) { - jsonDict[@".tag"] = @"unsuspend_non_suspended_member"; - } else if ([valueObj isTeamLicenseLimit]) { - jsonDict[@".tag"] = @"team_license_limit"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMSharingAllowlistListContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; - if ([tag isEqualToString:@"user_not_found"]) { - return [[DBTEAMMembersUnsuspendError alloc] initWithUserNotFound]; - } else if ([tag isEqualToString:@"user_not_in_team"]) { - return [[DBTEAMMembersUnsuspendError alloc] initWithUserNotInTeam]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMembersUnsuspendError alloc] initWithOther]; - } else if ([tag isEqualToString:@"unsuspend_non_suspended_member"]) { - return [[DBTEAMMembersUnsuspendError alloc] initWithUnsuspendNonSuspendedMember]; - } else if ([tag isEqualToString:@"team_license_limit"]) { - return [[DBTEAMMembersUnsuspendError alloc] initWithTeamLicenseLimit]; - } else { - return [[DBTEAMMembersUnsuspendError alloc] initWithOther]; - } + return [[DBTEAMSharingAllowlistListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMobileClientPlatform.h" +#import "DBTEAMSharingAllowlistListContinueError.h" #pragma mark - API Object -@implementation DBTEAMMobileClientPlatform +@implementation DBTEAMSharingAllowlistListContinueError #pragma mark - Constructors -- (instancetype)initWithIphone { - self = [super init]; - if (self) { - _tag = DBTEAMMobileClientPlatformIphone; - } - return self; -} - -- (instancetype)initWithIpad { - self = [super init]; - if (self) { - _tag = DBTEAMMobileClientPlatformIpad; - } - return self; -} - -- (instancetype)initWithAndroid { - self = [super init]; - if (self) { - _tag = DBTEAMMobileClientPlatformAndroid; - } - return self; -} - -- (instancetype)initWithWindowsPhone { - self = [super init]; - if (self) { - _tag = DBTEAMMobileClientPlatformWindowsPhone; - } - return self; -} - -- (instancetype)initWithBlackberry { +- (instancetype)initWithInvalidCursor { self = [super init]; if (self) { - _tag = DBTEAMMobileClientPlatformBlackberry; + _tag = DBTEAMSharingAllowlistListContinueErrorInvalidCursor; } return self; } @@ -20091,7 +35602,7 @@ - (instancetype)initWithBlackberry { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMMobileClientPlatformOther; + _tag = DBTEAMSharingAllowlistListContinueErrorOther; } return self; } @@ -20100,44 +35611,20 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isIphone { - return _tag == DBTEAMMobileClientPlatformIphone; -} - -- (BOOL)isIpad { - return _tag == DBTEAMMobileClientPlatformIpad; -} - -- (BOOL)isAndroid { - return _tag == DBTEAMMobileClientPlatformAndroid; -} - -- (BOOL)isWindowsPhone { - return _tag == DBTEAMMobileClientPlatformWindowsPhone; -} - -- (BOOL)isBlackberry { - return _tag == DBTEAMMobileClientPlatformBlackberry; +- (BOOL)isInvalidCursor { + return _tag == DBTEAMSharingAllowlistListContinueErrorInvalidCursor; } - (BOOL)isOther { - return _tag == DBTEAMMobileClientPlatformOther; + return _tag == DBTEAMSharingAllowlistListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMMobileClientPlatformIphone: - return @"DBTEAMMobileClientPlatformIphone"; - case DBTEAMMobileClientPlatformIpad: - return @"DBTEAMMobileClientPlatformIpad"; - case DBTEAMMobileClientPlatformAndroid: - return @"DBTEAMMobileClientPlatformAndroid"; - case DBTEAMMobileClientPlatformWindowsPhone: - return @"DBTEAMMobileClientPlatformWindowsPhone"; - case DBTEAMMobileClientPlatformBlackberry: - return @"DBTEAMMobileClientPlatformBlackberry"; - case DBTEAMMobileClientPlatformOther: - return @"DBTEAMMobileClientPlatformOther"; + case DBTEAMSharingAllowlistListContinueErrorInvalidCursor: + return @"DBTEAMSharingAllowlistListContinueErrorInvalidCursor"; + case DBTEAMSharingAllowlistListContinueErrorOther: + return @"DBTEAMSharingAllowlistListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -20145,18 +35632,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMobileClientPlatformSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMobileClientPlatformSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMobileClientPlatformSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -20174,18 +35661,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMMobileClientPlatformIphone: - result = prime * result + [[self tagName] hash]; - case DBTEAMMobileClientPlatformIpad: - result = prime * result + [[self tagName] hash]; - case DBTEAMMobileClientPlatformAndroid: - result = prime * result + [[self tagName] hash]; - case DBTEAMMobileClientPlatformWindowsPhone: - result = prime * result + [[self tagName] hash]; - case DBTEAMMobileClientPlatformBlackberry: + case DBTEAMSharingAllowlistListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; - case DBTEAMMobileClientPlatformOther: + break; + case DBTEAMSharingAllowlistListContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -20200,29 +35681,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMobileClientPlatform:other]; + return [self isEqualToSharingAllowlistListContinueError:other]; } -- (BOOL)isEqualToMobileClientPlatform:(DBTEAMMobileClientPlatform *)aMobileClientPlatform { - if (self == aMobileClientPlatform) { +- (BOOL)isEqualToSharingAllowlistListContinueError: + (DBTEAMSharingAllowlistListContinueError *)aSharingAllowlistListContinueError { + if (self == aSharingAllowlistListContinueError) { return YES; } - if (self.tag != aMobileClientPlatform.tag) { + if (self.tag != aSharingAllowlistListContinueError.tag) { return NO; } switch (_tag) { - case DBTEAMMobileClientPlatformIphone: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; - case DBTEAMMobileClientPlatformIpad: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; - case DBTEAMMobileClientPlatformAndroid: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; - case DBTEAMMobileClientPlatformWindowsPhone: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; - case DBTEAMMobileClientPlatformBlackberry: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; - case DBTEAMMobileClientPlatformOther: - return [[self tagName] isEqual:[aMobileClientPlatform tagName]]; + case DBTEAMSharingAllowlistListContinueErrorInvalidCursor: + return [[self tagName] isEqual:[aSharingAllowlistListContinueError tagName]]; + case DBTEAMSharingAllowlistListContinueErrorOther: + return [[self tagName] isEqual:[aSharingAllowlistListContinueError tagName]]; } return YES; } @@ -20231,47 +35705,31 @@ - (BOOL)isEqualToMobileClientPlatform:(DBTEAMMobileClientPlatform *)aMobileClien #pragma mark - Serializer Object -@implementation DBTEAMMobileClientPlatformSerializer +@implementation DBTEAMSharingAllowlistListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMobileClientPlatform *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isIphone]) { - jsonDict[@".tag"] = @"iphone"; - } else if ([valueObj isIpad]) { - jsonDict[@".tag"] = @"ipad"; - } else if ([valueObj isAndroid]) { - jsonDict[@".tag"] = @"android"; - } else if ([valueObj isWindowsPhone]) { - jsonDict[@".tag"] = @"windows_phone"; - } else if ([valueObj isBlackberry]) { - jsonDict[@".tag"] = @"blackberry"; + if ([valueObj isInvalidCursor]) { + jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMSharingAllowlistListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"iphone"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithIphone]; - } else if ([tag isEqualToString:@"ipad"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithIpad]; - } else if ([tag isEqualToString:@"android"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithAndroid]; - } else if ([tag isEqualToString:@"windows_phone"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithWindowsPhone]; - } else if ([tag isEqualToString:@"blackberry"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithBlackberry]; + if ([tag isEqualToString:@"invalid_cursor"]) { + return [[DBTEAMSharingAllowlistListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMMobileClientPlatform alloc] initWithOther]; + return [[DBTEAMSharingAllowlistListContinueError alloc] initWithOther]; } else { - return [[DBTEAMMobileClientPlatform alloc] initWithOther]; + return [[DBTEAMSharingAllowlistListContinueError alloc] initWithOther]; } } @@ -20279,70 +35737,36 @@ + (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMDeviceSession.h" -#import "DBTEAMMobileClientPlatform.h" -#import "DBTEAMMobileClientSession.h" +#import "DBTEAMSharingAllowlistListError.h" #pragma mark - API Object -@implementation DBTEAMMobileClientSession +@implementation DBTEAMSharingAllowlistListError #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId - deviceName:(NSString *)deviceName - clientType:(DBTEAMMobileClientPlatform *)clientType - ipAddress:(NSString *)ipAddress - country:(NSString *)country - created:(NSDate *)created - updated:(NSDate *)updated - clientVersion:(NSString *)clientVersion - osVersion:(NSString *)osVersion - lastCarrier:(NSString *)lastCarrier { - [DBStoneValidators nonnullValidator:nil](sessionId); - [DBStoneValidators nonnullValidator:nil](deviceName); - [DBStoneValidators nonnullValidator:nil](clientType); +- (instancetype)initDefault { - self = [super initWithSessionId:sessionId ipAddress:ipAddress country:country created:created updated:updated]; + self = [super init]; if (self) { - _deviceName = deviceName; - _clientType = clientType; - _clientVersion = clientVersion; - _osVersion = osVersion; - _lastCarrier = lastCarrier; } return self; } -- (instancetype)initWithSessionId:(NSString *)sessionId - deviceName:(NSString *)deviceName - clientType:(DBTEAMMobileClientPlatform *)clientType { - return [self initWithSessionId:sessionId - deviceName:deviceName - clientType:clientType - ipAddress:nil - country:nil - created:nil - updated:nil - clientVersion:nil - osVersion:nil - lastCarrier:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMMobileClientSessionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistListErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMMobileClientSessionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistListErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMMobileClientSessionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -20359,31 +35783,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sessionId hash]; - result = prime * result + [self.deviceName hash]; - result = prime * result + [self.clientType hash]; - if (self.ipAddress != nil) { - result = prime * result + [self.ipAddress hash]; - } - if (self.country != nil) { - result = prime * result + [self.country hash]; - } - if (self.created != nil) { - result = prime * result + [self.created hash]; - } - if (self.updated != nil) { - result = prime * result + [self.updated hash]; - } - if (self.clientVersion != nil) { - result = prime * result + [self.clientVersion hash]; - } - if (self.osVersion != nil) { - result = prime * result + [self.osVersion hash]; - } - if (self.lastCarrier != nil) { - result = prime * result + [self.lastCarrier hash]; - } - return prime * result; } @@ -20396,57 +35795,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMobileClientSession:other]; + return [self isEqualToSharingAllowlistListError:other]; } -- (BOOL)isEqualToMobileClientSession:(DBTEAMMobileClientSession *)aMobileClientSession { - if (self == aMobileClientSession) { +- (BOOL)isEqualToSharingAllowlistListError:(DBTEAMSharingAllowlistListError *)aSharingAllowlistListError { + if (self == aSharingAllowlistListError) { return YES; } - if (![self.sessionId isEqual:aMobileClientSession.sessionId]) { - return NO; - } - if (![self.deviceName isEqual:aMobileClientSession.deviceName]) { - return NO; - } - if (![self.clientType isEqual:aMobileClientSession.clientType]) { - return NO; - } - if (self.ipAddress) { - if (![self.ipAddress isEqual:aMobileClientSession.ipAddress]) { - return NO; - } - } - if (self.country) { - if (![self.country isEqual:aMobileClientSession.country]) { - return NO; - } - } - if (self.created) { - if (![self.created isEqual:aMobileClientSession.created]) { - return NO; - } - } - if (self.updated) { - if (![self.updated isEqual:aMobileClientSession.updated]) { - return NO; - } - } - if (self.clientVersion) { - if (![self.clientVersion isEqual:aMobileClientSession.clientVersion]) { - return NO; - } - } - if (self.osVersion) { - if (![self.osVersion isEqual:aMobileClientSession.osVersion]) { - return NO; - } - } - if (self.lastCarrier) { - if (![self.lastCarrier isEqual:aMobileClientSession.lastCarrier]) { - return NO; - } - } return YES; } @@ -20454,119 +35809,74 @@ - (BOOL)isEqualToMobileClientSession:(DBTEAMMobileClientSession *)aMobileClientS #pragma mark - Serializer Object -@implementation DBTEAMMobileClientSessionSerializer +@implementation DBTEAMSharingAllowlistListErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMMobileClientSession *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistListError *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"session_id"] = valueObj.sessionId; - jsonDict[@"device_name"] = valueObj.deviceName; - jsonDict[@"client_type"] = [DBTEAMMobileClientPlatformSerializer serialize:valueObj.clientType]; - if (valueObj.ipAddress) { - jsonDict[@"ip_address"] = valueObj.ipAddress; - } - if (valueObj.country) { - jsonDict[@"country"] = valueObj.country; - } - if (valueObj.created) { - jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.updated) { - jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.clientVersion) { - jsonDict[@"client_version"] = valueObj.clientVersion; - } - if (valueObj.osVersion) { - jsonDict[@"os_version"] = valueObj.osVersion; - } - if (valueObj.lastCarrier) { - jsonDict[@"last_carrier"] = valueObj.lastCarrier; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"]; - NSString *deviceName = valueDict[@"device_name"]; - DBTEAMMobileClientPlatform *clientType = [DBTEAMMobileClientPlatformSerializer deserialize:valueDict[@"client_type"]]; - NSString *ipAddress = valueDict[@"ip_address"] ?: nil; - NSString *country = valueDict[@"country"] ?: nil; - NSDate *created = valueDict[@"created"] - ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSDate *updated = valueDict[@"updated"] - ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *clientVersion = valueDict[@"client_version"] ?: nil; - NSString *osVersion = valueDict[@"os_version"] ?: nil; - NSString *lastCarrier = valueDict[@"last_carrier"] ?: nil; ++ (DBTEAMSharingAllowlistListError *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMMobileClientSession alloc] initWithSessionId:sessionId - deviceName:deviceName - clientType:clientType - ipAddress:ipAddress - country:country - created:created - updated:updated - clientVersion:clientVersion - osVersion:osVersion - lastCarrier:lastCarrier]; + return [[DBTEAMSharingAllowlistListError alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMNamespaceMetadata.h" -#import "DBTEAMNamespaceType.h" +#import "DBTEAMSharingAllowlistListResponse.h" #pragma mark - API Object -@implementation DBTEAMNamespaceMetadata +@implementation DBTEAMSharingAllowlistListResponse #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name - namespaceId:(NSString *)namespaceId - namespaceType:(DBTEAMNamespaceType *)namespaceType - teamMemberId:(NSString *)teamMemberId { - [DBStoneValidators nonnullValidator:nil](name); +- (instancetype)initWithDomains:(NSArray *)domains + emails:(NSArray *)emails + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](namespaceId); - [DBStoneValidators nonnullValidator:nil](namespaceType); + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](domains); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](emails); self = [super init]; if (self) { - _name = name; - _namespaceId = namespaceId; - _namespaceType = namespaceType; - _teamMemberId = teamMemberId; + _domains = domains; + _emails = emails; + _cursor = cursor ?: @""; + _hasMore = hasMore ?: @NO; } return self; } -- (instancetype)initWithName:(NSString *)name - namespaceId:(NSString *)namespaceId - namespaceType:(DBTEAMNamespaceType *)namespaceType { - return [self initWithName:name namespaceId:namespaceId namespaceType:namespaceType teamMemberId:nil]; +- (instancetype)initWithDomains:(NSArray *)domains emails:(NSArray *)emails { + return [self initWithDomains:domains emails:emails cursor:nil hasMore:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMNamespaceMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistListResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMNamespaceMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistListResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMNamespaceMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistListResponseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -20583,12 +35893,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; - result = prime * result + [self.namespaceId hash]; - result = prime * result + [self.namespaceType hash]; - if (self.teamMemberId != nil) { - result = prime * result + [self.teamMemberId hash]; - } + result = prime * result + [self.domains hash]; + result = prime * result + [self.emails hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; return prime * result; } @@ -20602,26 +35910,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNamespaceMetadata:other]; + return [self isEqualToSharingAllowlistListResponse:other]; } -- (BOOL)isEqualToNamespaceMetadata:(DBTEAMNamespaceMetadata *)aNamespaceMetadata { - if (self == aNamespaceMetadata) { +- (BOOL)isEqualToSharingAllowlistListResponse:(DBTEAMSharingAllowlistListResponse *)aSharingAllowlistListResponse { + if (self == aSharingAllowlistListResponse) { return YES; } - if (![self.name isEqual:aNamespaceMetadata.name]) { + if (![self.domains isEqual:aSharingAllowlistListResponse.domains]) { return NO; } - if (![self.namespaceId isEqual:aNamespaceMetadata.namespaceId]) { + if (![self.emails isEqual:aSharingAllowlistListResponse.emails]) { return NO; } - if (![self.namespaceType isEqual:aNamespaceMetadata.namespaceType]) { + if (![self.cursor isEqual:aSharingAllowlistListResponse.cursor]) { return NO; } - if (self.teamMemberId) { - if (![self.teamMemberId isEqual:aNamespaceMetadata.teamMemberId]) { - return NO; - } + if (![self.hasMore isEqual:aSharingAllowlistListResponse.hasMore]) { + return NO; } return YES; } @@ -20630,140 +35936,89 @@ - (BOOL)isEqualToNamespaceMetadata:(DBTEAMNamespaceMetadata *)aNamespaceMetadata #pragma mark - Serializer Object -@implementation DBTEAMNamespaceMetadataSerializer +@implementation DBTEAMSharingAllowlistListResponseSerializer -+ (NSDictionary *)serialize:(DBTEAMNamespaceMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistListResponse *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"namespace_id"] = valueObj.namespaceId; - jsonDict[@"namespace_type"] = [DBTEAMNamespaceTypeSerializer serialize:valueObj.namespaceType]; - if (valueObj.teamMemberId) { - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - } + jsonDict[@"domains"] = [DBArraySerializer serialize:valueObj.domains + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"emails"] = [DBArraySerializer serialize:valueObj.emails + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - NSString *namespaceId = valueDict[@"namespace_id"]; - DBTEAMNamespaceType *namespaceType = [DBTEAMNamespaceTypeSerializer deserialize:valueDict[@"namespace_type"]]; - NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; ++ (DBTEAMSharingAllowlistListResponse *)deserialize:(NSDictionary *)valueDict { + NSArray *domains = [DBArraySerializer deserialize:valueDict[@"domains"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSArray *emails = [DBArraySerializer deserialize:valueDict[@"emails"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *cursor = valueDict[@"cursor"] ?: @""; + NSNumber *hasMore = valueDict[@"has_more"] ?: @NO; - return [[DBTEAMNamespaceMetadata alloc] initWithName:name - namespaceId:namespaceId - namespaceType:namespaceType - teamMemberId:teamMemberId]; + return + [[DBTEAMSharingAllowlistListResponse alloc] initWithDomains:domains emails:emails cursor:cursor hasMore:hasMore]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMNamespaceType.h" +#import "DBTEAMSharingAllowlistRemoveArgs.h" #pragma mark - API Object -@implementation DBTEAMNamespaceType +@implementation DBTEAMSharingAllowlistRemoveArgs #pragma mark - Constructors -- (instancetype)initWithAppFolder { - self = [super init]; - if (self) { - _tag = DBTEAMNamespaceTypeAppFolder; - } - return self; -} - -- (instancetype)initWithSharedFolder { - self = [super init]; - if (self) { - _tag = DBTEAMNamespaceTypeSharedFolder; - } - return self; -} - -- (instancetype)initWithTeamFolder { - self = [super init]; - if (self) { - _tag = DBTEAMNamespaceTypeTeamFolder; - } - return self; -} - -- (instancetype)initWithTeamMemberFolder { - self = [super init]; - if (self) { - _tag = DBTEAMNamespaceTypeTeamMemberFolder; - } - return self; -} +- (instancetype)initWithDomains:(NSArray *)domains emails:(NSArray *)emails { + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](domains); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](emails); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMNamespaceTypeOther; - } - return self; -} - -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isAppFolder { - return _tag == DBTEAMNamespaceTypeAppFolder; -} - -- (BOOL)isSharedFolder { - return _tag == DBTEAMNamespaceTypeSharedFolder; -} - -- (BOOL)isTeamFolder { - return _tag == DBTEAMNamespaceTypeTeamFolder; -} - -- (BOOL)isTeamMemberFolder { - return _tag == DBTEAMNamespaceTypeTeamMemberFolder; -} - -- (BOOL)isOther { - return _tag == DBTEAMNamespaceTypeOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMNamespaceTypeAppFolder: - return @"DBTEAMNamespaceTypeAppFolder"; - case DBTEAMNamespaceTypeSharedFolder: - return @"DBTEAMNamespaceTypeSharedFolder"; - case DBTEAMNamespaceTypeTeamFolder: - return @"DBTEAMNamespaceTypeTeamFolder"; - case DBTEAMNamespaceTypeTeamMemberFolder: - return @"DBTEAMNamespaceTypeTeamMemberFolder"; - case DBTEAMNamespaceTypeOther: - return @"DBTEAMNamespaceTypeOther"; + _domains = domains; + _emails = emails; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithDomains:nil emails:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMNamespaceTypeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistRemoveArgsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMNamespaceTypeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistRemoveArgsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMNamespaceTypeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistRemoveArgsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -20780,17 +36035,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMNamespaceTypeAppFolder: - result = prime * result + [[self tagName] hash]; - case DBTEAMNamespaceTypeSharedFolder: - result = prime * result + [[self tagName] hash]; - case DBTEAMNamespaceTypeTeamFolder: - result = prime * result + [[self tagName] hash]; - case DBTEAMNamespaceTypeTeamMemberFolder: - result = prime * result + [[self tagName] hash]; - case DBTEAMNamespaceTypeOther: - result = prime * result + [[self tagName] hash]; + if (self.domains != nil) { + result = prime * result + [self.domains hash]; + } + if (self.emails != nil) { + result = prime * result + [self.emails hash]; } return prime * result; @@ -20805,27 +36054,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNamespaceType:other]; + return [self isEqualToSharingAllowlistRemoveArgs:other]; } -- (BOOL)isEqualToNamespaceType:(DBTEAMNamespaceType *)aNamespaceType { - if (self == aNamespaceType) { +- (BOOL)isEqualToSharingAllowlistRemoveArgs:(DBTEAMSharingAllowlistRemoveArgs *)aSharingAllowlistRemoveArgs { + if (self == aSharingAllowlistRemoveArgs) { return YES; } - if (self.tag != aNamespaceType.tag) { - return NO; + if (self.domains) { + if (![self.domains isEqual:aSharingAllowlistRemoveArgs.domains]) { + return NO; + } } - switch (_tag) { - case DBTEAMNamespaceTypeAppFolder: - return [[self tagName] isEqual:[aNamespaceType tagName]]; - case DBTEAMNamespaceTypeSharedFolder: - return [[self tagName] isEqual:[aNamespaceType tagName]]; - case DBTEAMNamespaceTypeTeamFolder: - return [[self tagName] isEqual:[aNamespaceType tagName]]; - case DBTEAMNamespaceTypeTeamMemberFolder: - return [[self tagName] isEqual:[aNamespaceType tagName]]; - case DBTEAMNamespaceTypeOther: - return [[self tagName] isEqual:[aNamespaceType tagName]]; + if (self.emails) { + if (![self.emails isEqual:aSharingAllowlistRemoveArgs.emails]) { + return NO; + } } return YES; } @@ -20834,76 +36078,95 @@ - (BOOL)isEqualToNamespaceType:(DBTEAMNamespaceType *)aNamespaceType { #pragma mark - Serializer Object -@implementation DBTEAMNamespaceTypeSerializer +@implementation DBTEAMSharingAllowlistRemoveArgsSerializer -+ (NSDictionary *)serialize:(DBTEAMNamespaceType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveArgs *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAppFolder]) { - jsonDict[@".tag"] = @"app_folder"; - } else if ([valueObj isSharedFolder]) { - jsonDict[@".tag"] = @"shared_folder"; - } else if ([valueObj isTeamFolder]) { - jsonDict[@".tag"] = @"team_folder"; - } else if ([valueObj isTeamMemberFolder]) { - jsonDict[@".tag"] = @"team_member_folder"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + if (valueObj.domains) { + jsonDict[@"domains"] = [DBArraySerializer serialize:valueObj.domains + withBlock:^id(id elem0) { + return elem0; + }]; + } + if (valueObj.emails) { + jsonDict[@"emails"] = [DBArraySerializer serialize:valueObj.emails + withBlock:^id(id elem0) { + return elem0; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMNamespaceType *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMSharingAllowlistRemoveArgs *)deserialize:(NSDictionary *)valueDict { + NSArray *domains = valueDict[@"domains"] ? [DBArraySerializer deserialize:valueDict[@"domains"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + NSArray *emails = valueDict[@"emails"] ? [DBArraySerializer deserialize:valueDict[@"emails"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; - if ([tag isEqualToString:@"app_folder"]) { - return [[DBTEAMNamespaceType alloc] initWithAppFolder]; - } else if ([tag isEqualToString:@"shared_folder"]) { - return [[DBTEAMNamespaceType alloc] initWithSharedFolder]; - } else if ([tag isEqualToString:@"team_folder"]) { - return [[DBTEAMNamespaceType alloc] initWithTeamFolder]; - } else if ([tag isEqualToString:@"team_member_folder"]) { - return [[DBTEAMNamespaceType alloc] initWithTeamMemberFolder]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMNamespaceType alloc] initWithOther]; - } else { - return [[DBTEAMNamespaceType alloc] initWithOther]; - } + return [[DBTEAMSharingAllowlistRemoveArgs alloc] initWithDomains:domains emails:emails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRemoveCustomQuotaResult.h" -#import "DBTEAMUserSelectorArg.h" +#import "DBTEAMSharingAllowlistRemoveError.h" #pragma mark - API Object -@implementation DBTEAMRemoveCustomQuotaResult +@implementation DBTEAMSharingAllowlistRemoveError -@synthesize success = _success; -@synthesize invalidUser = _invalidUser; +@synthesize malformedEntry = _malformedEntry; +@synthesize entriesDoNotExist = _entriesDoNotExist; #pragma mark - Constructors -- (instancetype)initWithSuccess:(DBTEAMUserSelectorArg *)success { +- (instancetype)initWithMalformedEntry:(NSString *)malformedEntry { self = [super init]; if (self) { - _tag = DBTEAMRemoveCustomQuotaResultSuccess; - _success = success; + _tag = DBTEAMSharingAllowlistRemoveErrorMalformedEntry; + _malformedEntry = malformedEntry; } return self; } -- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { +- (instancetype)initWithEntriesDoNotExist:(NSString *)entriesDoNotExist { self = [super init]; if (self) { - _tag = DBTEAMRemoveCustomQuotaResultInvalidUser; - _invalidUser = invalidUser; + _tag = DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist; + _entriesDoNotExist = entriesDoNotExist; + } + return self; +} + +- (instancetype)initWithNoEntriesProvided { + self = [super init]; + if (self) { + _tag = DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided; + } + return self; +} + +- (instancetype)initWithTooManyEntriesProvided { + self = [super init]; + if (self) { + _tag = DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided; + } + return self; +} + +- (instancetype)initWithUnknownError { + self = [super init]; + if (self) { + _tag = DBTEAMSharingAllowlistRemoveErrorUnknownError; } return self; } @@ -20911,51 +36174,71 @@ - (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMRemoveCustomQuotaResultOther; + _tag = DBTEAMSharingAllowlistRemoveErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMUserSelectorArg *)success { - if (![self isSuccess]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMRemoveCustomQuotaResultSuccess, but was %@.", [self tagName]]; +- (NSString *)malformedEntry { + if (![self isMalformedEntry]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMSharingAllowlistRemoveErrorMalformedEntry, but was %@.", [self tagName]]; } - return _success; + return _malformedEntry; } -- (DBTEAMUserSelectorArg *)invalidUser { - if (![self isInvalidUser]) { +- (NSString *)entriesDoNotExist { + if (![self isEntriesDoNotExist]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMRemoveCustomQuotaResultInvalidUser, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist, but was %@.", + [self tagName]]; } - return _invalidUser; + return _entriesDoNotExist; } #pragma mark - Tag state methods -- (BOOL)isSuccess { - return _tag == DBTEAMRemoveCustomQuotaResultSuccess; +- (BOOL)isMalformedEntry { + return _tag == DBTEAMSharingAllowlistRemoveErrorMalformedEntry; } -- (BOOL)isInvalidUser { - return _tag == DBTEAMRemoveCustomQuotaResultInvalidUser; +- (BOOL)isEntriesDoNotExist { + return _tag == DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist; +} + +- (BOOL)isNoEntriesProvided { + return _tag == DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided; +} + +- (BOOL)isTooManyEntriesProvided { + return _tag == DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided; +} + +- (BOOL)isUnknownError { + return _tag == DBTEAMSharingAllowlistRemoveErrorUnknownError; } - (BOOL)isOther { - return _tag == DBTEAMRemoveCustomQuotaResultOther; + return _tag == DBTEAMSharingAllowlistRemoveErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMRemoveCustomQuotaResultSuccess: - return @"DBTEAMRemoveCustomQuotaResultSuccess"; - case DBTEAMRemoveCustomQuotaResultInvalidUser: - return @"DBTEAMRemoveCustomQuotaResultInvalidUser"; - case DBTEAMRemoveCustomQuotaResultOther: - return @"DBTEAMRemoveCustomQuotaResultOther"; + case DBTEAMSharingAllowlistRemoveErrorMalformedEntry: + return @"DBTEAMSharingAllowlistRemoveErrorMalformedEntry"; + case DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist: + return @"DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist"; + case DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided: + return @"DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided"; + case DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided: + return @"DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided"; + case DBTEAMSharingAllowlistRemoveErrorUnknownError: + return @"DBTEAMSharingAllowlistRemoveErrorUnknownError"; + case DBTEAMSharingAllowlistRemoveErrorOther: + return @"DBTEAMSharingAllowlistRemoveErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -20963,18 +36246,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRemoveCustomQuotaResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistRemoveErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRemoveCustomQuotaResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistRemoveErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRemoveCustomQuotaResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistRemoveErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -20992,12 +36275,24 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMRemoveCustomQuotaResultSuccess: - result = prime * result + [self.success hash]; - case DBTEAMRemoveCustomQuotaResultInvalidUser: - result = prime * result + [self.invalidUser hash]; - case DBTEAMRemoveCustomQuotaResultOther: + case DBTEAMSharingAllowlistRemoveErrorMalformedEntry: + result = prime * result + [self.malformedEntry hash]; + break; + case DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist: + result = prime * result + [self.entriesDoNotExist hash]; + break; + case DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMSharingAllowlistRemoveErrorUnknownError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMSharingAllowlistRemoveErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -21012,23 +36307,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRemoveCustomQuotaResult:other]; + return [self isEqualToSharingAllowlistRemoveError:other]; } -- (BOOL)isEqualToRemoveCustomQuotaResult:(DBTEAMRemoveCustomQuotaResult *)aRemoveCustomQuotaResult { - if (self == aRemoveCustomQuotaResult) { +- (BOOL)isEqualToSharingAllowlistRemoveError:(DBTEAMSharingAllowlistRemoveError *)aSharingAllowlistRemoveError { + if (self == aSharingAllowlistRemoveError) { return YES; } - if (self.tag != aRemoveCustomQuotaResult.tag) { + if (self.tag != aSharingAllowlistRemoveError.tag) { return NO; } switch (_tag) { - case DBTEAMRemoveCustomQuotaResultSuccess: - return [self.success isEqual:aRemoveCustomQuotaResult.success]; - case DBTEAMRemoveCustomQuotaResultInvalidUser: - return [self.invalidUser isEqual:aRemoveCustomQuotaResult.invalidUser]; - case DBTEAMRemoveCustomQuotaResultOther: - return [[self tagName] isEqual:[aRemoveCustomQuotaResult tagName]]; + case DBTEAMSharingAllowlistRemoveErrorMalformedEntry: + return [self.malformedEntry isEqual:aSharingAllowlistRemoveError.malformedEntry]; + case DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist: + return [self.entriesDoNotExist isEqual:aSharingAllowlistRemoveError.entriesDoNotExist]; + case DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided: + return [[self tagName] isEqual:[aSharingAllowlistRemoveError tagName]]; + case DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided: + return [[self tagName] isEqual:[aSharingAllowlistRemoveError tagName]]; + case DBTEAMSharingAllowlistRemoveErrorUnknownError: + return [[self tagName] isEqual:[aSharingAllowlistRemoveError tagName]]; + case DBTEAMSharingAllowlistRemoveErrorOther: + return [[self tagName] isEqual:[aSharingAllowlistRemoveError tagName]]; } return YES; } @@ -21037,39 +36338,51 @@ - (BOOL)isEqualToRemoveCustomQuotaResult:(DBTEAMRemoveCustomQuotaResult *)aRemov #pragma mark - Serializer Object -@implementation DBTEAMRemoveCustomQuotaResultSerializer +@implementation DBTEAMSharingAllowlistRemoveErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMRemoveCustomQuotaResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isSuccess]) { - jsonDict[@"success"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.success] mutableCopy]; - jsonDict[@".tag"] = @"success"; - } else if ([valueObj isInvalidUser]) { - jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; - jsonDict[@".tag"] = @"invalid_user"; + if ([valueObj isMalformedEntry]) { + jsonDict[@"malformed_entry"] = valueObj.malformedEntry; + jsonDict[@".tag"] = @"malformed_entry"; + } else if ([valueObj isEntriesDoNotExist]) { + jsonDict[@"entries_do_not_exist"] = valueObj.entriesDoNotExist; + jsonDict[@".tag"] = @"entries_do_not_exist"; + } else if ([valueObj isNoEntriesProvided]) { + jsonDict[@".tag"] = @"no_entries_provided"; + } else if ([valueObj isTooManyEntriesProvided]) { + jsonDict[@".tag"] = @"too_many_entries_provided"; + } else if ([valueObj isUnknownError]) { + jsonDict[@".tag"] = @"unknown_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMSharingAllowlistRemoveError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"success"]) { - DBTEAMUserSelectorArg *success = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"success"]]; - return [[DBTEAMRemoveCustomQuotaResult alloc] initWithSuccess:success]; - } else if ([tag isEqualToString:@"invalid_user"]) { - DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; - return [[DBTEAMRemoveCustomQuotaResult alloc] initWithInvalidUser:invalidUser]; + if ([tag isEqualToString:@"malformed_entry"]) { + NSString *malformedEntry = valueDict[@"malformed_entry"]; + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithMalformedEntry:malformedEntry]; + } else if ([tag isEqualToString:@"entries_do_not_exist"]) { + NSString *entriesDoNotExist = valueDict[@"entries_do_not_exist"]; + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithEntriesDoNotExist:entriesDoNotExist]; + } else if ([tag isEqualToString:@"no_entries_provided"]) { + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithNoEntriesProvided]; + } else if ([tag isEqualToString:@"too_many_entries_provided"]) { + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithTooManyEntriesProvided]; + } else if ([tag isEqualToString:@"unknown_error"]) { + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithUnknownError]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMRemoveCustomQuotaResult alloc] initWithOther]; + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithOther]; } else { - return [[DBTEAMRemoveCustomQuotaResult alloc] initWithOther]; + return [[DBTEAMSharingAllowlistRemoveError alloc] initWithOther]; } } @@ -21077,38 +36390,36 @@ + (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRemovedStatus.h" +#import "DBTEAMSharingAllowlistRemoveResponse.h" #pragma mark - API Object -@implementation DBTEAMRemovedStatus +@implementation DBTEAMSharingAllowlistRemoveResponse #pragma mark - Constructors -- (instancetype)initWithIsRecoverable:(NSNumber *)isRecoverable { - [DBStoneValidators nonnullValidator:nil](isRecoverable); +- (instancetype)initDefault { self = [super init]; if (self) { - _isRecoverable = isRecoverable; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRemovedStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMSharingAllowlistRemoveResponseSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRemovedStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMSharingAllowlistRemoveResponseSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRemovedStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMSharingAllowlistRemoveResponseSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21125,8 +36436,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.isRecoverable hash]; - return prime * result; } @@ -21139,16 +36448,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRemovedStatus:other]; + return [self isEqualToSharingAllowlistRemoveResponse:other]; } -- (BOOL)isEqualToRemovedStatus:(DBTEAMRemovedStatus *)aRemovedStatus { - if (self == aRemovedStatus) { +- (BOOL)isEqualToSharingAllowlistRemoveResponse: + (DBTEAMSharingAllowlistRemoveResponse *)aSharingAllowlistRemoveResponse { + if (self == aSharingAllowlistRemoveResponse) { return YES; } - if (![self.isRecoverable isEqual:aRemovedStatus.isRecoverable]) { - return NO; - } return YES; } @@ -21156,66 +36463,59 @@ - (BOOL)isEqualToRemovedStatus:(DBTEAMRemovedStatus *)aRemovedStatus { #pragma mark - Serializer Object -@implementation DBTEAMRemovedStatusSerializer +@implementation DBTEAMSharingAllowlistRemoveResponseSerializer -+ (NSDictionary *)serialize:(DBTEAMRemovedStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveResponse *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"is_recoverable"] = valueObj.isRecoverable; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)valueDict { - NSNumber *isRecoverable = valueDict[@"is_recoverable"]; ++ (DBTEAMSharingAllowlistRemoveResponse *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMRemovedStatus alloc] initWithIsRecoverable:isRecoverable]; + return [[DBTEAMSharingAllowlistRemoveResponse alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMDeviceSessionArg.h" -#import "DBTEAMRevokeDesktopClientArg.h" +#import "DBTEAMStorageBucket.h" #pragma mark - API Object -@implementation DBTEAMRevokeDesktopClientArg +@implementation DBTEAMStorageBucket #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId - teamMemberId:(NSString *)teamMemberId - deleteOnUnlink:(NSNumber *)deleteOnUnlink { - [DBStoneValidators nonnullValidator:nil](sessionId); - [DBStoneValidators nonnullValidator:nil](teamMemberId); +- (instancetype)initWithBucket:(NSString *)bucket users:(NSNumber *)users { + [DBStoneValidators nonnullValidator:nil](bucket); + [DBStoneValidators nonnullValidator:nil](users); - self = [super initWithSessionId:sessionId teamMemberId:teamMemberId]; + self = [super init]; if (self) { - _deleteOnUnlink = deleteOnUnlink ?: @NO; + _bucket = bucket; + _users = users; } return self; } -- (instancetype)initWithSessionId:(NSString *)sessionId teamMemberId:(NSString *)teamMemberId { - return [self initWithSessionId:sessionId teamMemberId:teamMemberId deleteOnUnlink:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDesktopClientArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMStorageBucketSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDesktopClientArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMStorageBucketSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeDesktopClientArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMStorageBucketSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21232,9 +36532,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sessionId hash]; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.deleteOnUnlink hash]; + result = prime * result + [self.bucket hash]; + result = prime * result + [self.users hash]; return prime * result; } @@ -21248,20 +36547,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeDesktopClientArg:other]; + return [self isEqualToStorageBucket:other]; } -- (BOOL)isEqualToRevokeDesktopClientArg:(DBTEAMRevokeDesktopClientArg *)aRevokeDesktopClientArg { - if (self == aRevokeDesktopClientArg) { +- (BOOL)isEqualToStorageBucket:(DBTEAMStorageBucket *)aStorageBucket { + if (self == aStorageBucket) { return YES; } - if (![self.sessionId isEqual:aRevokeDesktopClientArg.sessionId]) { - return NO; - } - if (![self.teamMemberId isEqual:aRevokeDesktopClientArg.teamMemberId]) { + if (![self.bucket isEqual:aStorageBucket.bucket]) { return NO; } - if (![self.deleteOnUnlink isEqual:aRevokeDesktopClientArg.deleteOnUnlink]) { + if (![self.users isEqual:aStorageBucket.users]) { return NO; } return YES; @@ -21271,121 +36567,84 @@ - (BOOL)isEqualToRevokeDesktopClientArg:(DBTEAMRevokeDesktopClientArg *)aRevokeD #pragma mark - Serializer Object -@implementation DBTEAMRevokeDesktopClientArgSerializer +@implementation DBTEAMStorageBucketSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeDesktopClientArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMStorageBucket *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"session_id"] = valueObj.sessionId; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"delete_on_unlink"] = valueObj.deleteOnUnlink; + jsonDict[@"bucket"] = valueObj.bucket; + jsonDict[@"users"] = valueObj.users; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"]; - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSNumber *deleteOnUnlink = valueDict[@"delete_on_unlink"] ?: @NO; ++ (DBTEAMStorageBucket *)deserialize:(NSDictionary *)valueDict { + NSString *bucket = valueDict[@"bucket"]; + NSNumber *users = valueDict[@"users"]; - return [[DBTEAMRevokeDesktopClientArg alloc] initWithSessionId:sessionId - teamMemberId:teamMemberId - deleteOnUnlink:deleteOnUnlink]; + return [[DBTEAMStorageBucket alloc] initWithBucket:bucket users:users]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMDeviceSessionArg.h" -#import "DBTEAMRevokeDesktopClientArg.h" -#import "DBTEAMRevokeDeviceSessionArg.h" +#import "DBTEAMTeamFolderAccessError.h" #pragma mark - API Object -@implementation DBTEAMRevokeDeviceSessionArg - -@synthesize webSession = _webSession; -@synthesize desktopClient = _desktopClient; -@synthesize mobileClient = _mobileClient; +@implementation DBTEAMTeamFolderAccessError #pragma mark - Constructors -- (instancetype)initWithWebSession:(DBTEAMDeviceSessionArg *)webSession { +- (instancetype)initWithInvalidTeamFolderId { self = [super init]; if (self) { - _tag = DBTEAMRevokeDeviceSessionArgWebSession; - _webSession = webSession; + _tag = DBTEAMTeamFolderAccessErrorInvalidTeamFolderId; } return self; } -- (instancetype)initWithDesktopClient:(DBTEAMRevokeDesktopClientArg *)desktopClient { +- (instancetype)initWithNoAccess { self = [super init]; if (self) { - _tag = DBTEAMRevokeDeviceSessionArgDesktopClient; - _desktopClient = desktopClient; + _tag = DBTEAMTeamFolderAccessErrorNoAccess; } return self; } -- (instancetype)initWithMobileClient:(DBTEAMDeviceSessionArg *)mobileClient { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMRevokeDeviceSessionArgMobileClient; - _mobileClient = mobileClient; + _tag = DBTEAMTeamFolderAccessErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMDeviceSessionArg *)webSession { - if (![self isWebSession]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgWebSession, but was %@.", [self tagName]]; - } - return _webSession; -} - -- (DBTEAMRevokeDesktopClientArg *)desktopClient { - if (![self isDesktopClient]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgDesktopClient, but was %@.", [self tagName]]; - } - return _desktopClient; -} - -- (DBTEAMDeviceSessionArg *)mobileClient { - if (![self isMobileClient]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMRevokeDeviceSessionArgMobileClient, but was %@.", [self tagName]]; - } - return _mobileClient; -} - #pragma mark - Tag state methods -- (BOOL)isWebSession { - return _tag == DBTEAMRevokeDeviceSessionArgWebSession; +- (BOOL)isInvalidTeamFolderId { + return _tag == DBTEAMTeamFolderAccessErrorInvalidTeamFolderId; } -- (BOOL)isDesktopClient { - return _tag == DBTEAMRevokeDeviceSessionArgDesktopClient; +- (BOOL)isNoAccess { + return _tag == DBTEAMTeamFolderAccessErrorNoAccess; } -- (BOOL)isMobileClient { - return _tag == DBTEAMRevokeDeviceSessionArgMobileClient; +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderAccessErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMRevokeDeviceSessionArgWebSession: - return @"DBTEAMRevokeDeviceSessionArgWebSession"; - case DBTEAMRevokeDeviceSessionArgDesktopClient: - return @"DBTEAMRevokeDeviceSessionArgDesktopClient"; - case DBTEAMRevokeDeviceSessionArgMobileClient: - return @"DBTEAMRevokeDeviceSessionArgMobileClient"; + case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: + return @"DBTEAMTeamFolderAccessErrorInvalidTeamFolderId"; + case DBTEAMTeamFolderAccessErrorNoAccess: + return @"DBTEAMTeamFolderAccessErrorNoAccess"; + case DBTEAMTeamFolderAccessErrorOther: + return @"DBTEAMTeamFolderAccessErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -21393,18 +36652,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderAccessErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderAccessErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderAccessErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21422,12 +36681,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMRevokeDeviceSessionArgWebSession: - result = prime * result + [self.webSession hash]; - case DBTEAMRevokeDeviceSessionArgDesktopClient: - result = prime * result + [self.desktopClient hash]; - case DBTEAMRevokeDeviceSessionArgMobileClient: - result = prime * result + [self.mobileClient hash]; + case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderAccessErrorNoAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderAccessErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -21442,23 +36704,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeDeviceSessionArg:other]; + return [self isEqualToTeamFolderAccessError:other]; } -- (BOOL)isEqualToRevokeDeviceSessionArg:(DBTEAMRevokeDeviceSessionArg *)aRevokeDeviceSessionArg { - if (self == aRevokeDeviceSessionArg) { +- (BOOL)isEqualToTeamFolderAccessError:(DBTEAMTeamFolderAccessError *)aTeamFolderAccessError { + if (self == aTeamFolderAccessError) { return YES; } - if (self.tag != aRevokeDeviceSessionArg.tag) { + if (self.tag != aTeamFolderAccessError.tag) { return NO; } switch (_tag) { - case DBTEAMRevokeDeviceSessionArgWebSession: - return [self.webSession isEqual:aRevokeDeviceSessionArg.webSession]; - case DBTEAMRevokeDeviceSessionArgDesktopClient: - return [self.desktopClient isEqual:aRevokeDeviceSessionArg.desktopClient]; - case DBTEAMRevokeDeviceSessionArgMobileClient: - return [self.mobileClient isEqual:aRevokeDeviceSessionArg.mobileClient]; + case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: + return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; + case DBTEAMTeamFolderAccessErrorNoAccess: + return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; + case DBTEAMTeamFolderAccessErrorOther: + return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; } return YES; } @@ -21467,47 +36729,35 @@ - (BOOL)isEqualToRevokeDeviceSessionArg:(DBTEAMRevokeDeviceSessionArg *)aRevokeD #pragma mark - Serializer Object -@implementation DBTEAMRevokeDeviceSessionArgSerializer +@implementation DBTEAMTeamFolderAccessErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isWebSession]) { - jsonDict[@"web_session"] = [[DBTEAMDeviceSessionArgSerializer serialize:valueObj.webSession] mutableCopy]; - jsonDict[@".tag"] = @"web_session"; - } else if ([valueObj isDesktopClient]) { - jsonDict[@"desktop_client"] = - [[DBTEAMRevokeDesktopClientArgSerializer serialize:valueObj.desktopClient] mutableCopy]; - jsonDict[@".tag"] = @"desktop_client"; - } else if ([valueObj isMobileClient]) { - jsonDict[@"mobile_client"] = [[DBTEAMDeviceSessionArgSerializer serialize:valueObj.mobileClient] mutableCopy]; - jsonDict[@".tag"] = @"mobile_client"; + if ([valueObj isInvalidTeamFolderId]) { + jsonDict[@".tag"] = @"invalid_team_folder_id"; + } else if ([valueObj isNoAccess]) { + jsonDict[@".tag"] = @"no_access"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"web_session"]) { - DBTEAMDeviceSessionArg *webSession = [DBTEAMDeviceSessionArgSerializer deserialize:valueDict]; - return [[DBTEAMRevokeDeviceSessionArg alloc] initWithWebSession:webSession]; - } else if ([tag isEqualToString:@"desktop_client"]) { - DBTEAMRevokeDesktopClientArg *desktopClient = [DBTEAMRevokeDesktopClientArgSerializer deserialize:valueDict]; - return [[DBTEAMRevokeDeviceSessionArg alloc] initWithDesktopClient:desktopClient]; - } else if ([tag isEqualToString:@"mobile_client"]) { - DBTEAMDeviceSessionArg *mobileClient = [DBTEAMDeviceSessionArgSerializer deserialize:valueDict]; - return [[DBTEAMRevokeDeviceSessionArg alloc] initWithMobileClient:mobileClient]; + if ([tag isEqualToString:@"invalid_team_folder_id"]) { + return [[DBTEAMTeamFolderAccessError alloc] initWithInvalidTeamFolderId]; + } else if ([tag isEqualToString:@"no_access"]) { + return [[DBTEAMTeamFolderAccessError alloc] initWithNoAccess]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderAccessError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMTeamFolderAccessError alloc] initWithOther]; } } @@ -21515,144 +36765,112 @@ + (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeDeviceSessionArg.h" -#import "DBTEAMRevokeDeviceSessionBatchArg.h" +#import "DBTEAMBaseTeamFolderError.h" +#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderActivateError.h" +#import "DBTEAMTeamFolderInvalidStatusError.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object -@implementation DBTEAMRevokeDeviceSessionBatchArg +@implementation DBTEAMTeamFolderActivateError -#pragma mark - Constructors +@synthesize accessError = _accessError; +@synthesize statusError = _statusError; +@synthesize teamSharedDropboxError = _teamSharedDropboxError; -- (instancetype)initWithRevokeDevices:(NSArray *)revokeDevices { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeDevices); +#pragma mark - Constructors +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; - if (self) { - _revokeDevices = revokeDevices; - } - return self; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionBatchArgSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionBatchArgSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionBatchArgSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.revokeDevices hash]; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToRevokeDeviceSessionBatchArg:other]; -} - -- (BOOL)isEqualToRevokeDeviceSessionBatchArg:(DBTEAMRevokeDeviceSessionBatchArg *)aRevokeDeviceSessionBatchArg { - if (self == aRevokeDeviceSessionBatchArg) { - return YES; - } - if (![self.revokeDevices isEqual:aRevokeDeviceSessionBatchArg.revokeDevices]) { - return NO; - } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMRevokeDeviceSessionBatchArgSerializer - -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchArg *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"revoke_devices"] = [DBArraySerializer serialize:valueObj.revokeDevices - withBlock:^id(id elem0) { - return [DBTEAMRevokeDeviceSessionArgSerializer serialize:elem0]; - }]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *revokeDevices = - [DBArraySerializer deserialize:valueDict[@"revoke_devices"] - withBlock:^id(id elem0) { - return [DBTEAMRevokeDeviceSessionArgSerializer deserialize:elem0]; - }]; - - return [[DBTEAMRevokeDeviceSessionBatchArg alloc] initWithRevokeDevices:revokeDevices]; -} - -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMRevokeDeviceSessionBatchError.h" - -#pragma mark - API Object + if (self) { + _tag = DBTEAMTeamFolderActivateErrorAccessError; + _accessError = accessError; + } + return self; +} -@implementation DBTEAMRevokeDeviceSessionBatchError +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderActivateErrorStatusError; + _statusError = statusError; + } + return self; +} -#pragma mark - Constructors +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderActivateErrorTeamSharedDropboxError; + _teamSharedDropboxError = teamSharedDropboxError; + } + return self; +} - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMRevokeDeviceSessionBatchErrorOther; + _tag = DBTEAMTeamFolderActivateErrorOther; } return self; } #pragma mark - Instance field accessors +- (DBTEAMTeamFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorAccessError, but was %@.", [self tagName]]; + } + return _accessError; +} + +- (DBTEAMTeamFolderInvalidStatusError *)statusError { + if (![self isStatusError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorStatusError, but was %@.", [self tagName]]; + } + return _statusError; +} + +- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + if (![self isTeamSharedDropboxError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorTeamSharedDropboxError, but was %@.", + [self tagName]]; + } + return _teamSharedDropboxError; +} + #pragma mark - Tag state methods +- (BOOL)isAccessError { + return _tag == DBTEAMTeamFolderActivateErrorAccessError; +} + +- (BOOL)isStatusError { + return _tag == DBTEAMTeamFolderActivateErrorStatusError; +} + +- (BOOL)isTeamSharedDropboxError { + return _tag == DBTEAMTeamFolderActivateErrorTeamSharedDropboxError; +} + - (BOOL)isOther { - return _tag == DBTEAMRevokeDeviceSessionBatchErrorOther; + return _tag == DBTEAMTeamFolderActivateErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMRevokeDeviceSessionBatchErrorOther: - return @"DBTEAMRevokeDeviceSessionBatchErrorOther"; + case DBTEAMTeamFolderActivateErrorAccessError: + return @"DBTEAMTeamFolderActivateErrorAccessError"; + case DBTEAMTeamFolderActivateErrorStatusError: + return @"DBTEAMTeamFolderActivateErrorStatusError"; + case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: + return @"DBTEAMTeamFolderActivateErrorTeamSharedDropboxError"; + case DBTEAMTeamFolderActivateErrorOther: + return @"DBTEAMTeamFolderActivateErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -21660,18 +36878,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionBatchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderActivateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionBatchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderActivateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionBatchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderActivateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21689,8 +36907,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMRevokeDeviceSessionBatchErrorOther: + case DBTEAMTeamFolderActivateErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBTEAMTeamFolderActivateErrorStatusError: + result = prime * result + [self.statusError hash]; + break; + case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: + result = prime * result + [self.teamSharedDropboxError hash]; + break; + case DBTEAMTeamFolderActivateErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -21705,19 +36933,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeDeviceSessionBatchError:other]; + return [self isEqualToTeamFolderActivateError:other]; } -- (BOOL)isEqualToRevokeDeviceSessionBatchError:(DBTEAMRevokeDeviceSessionBatchError *)aRevokeDeviceSessionBatchError { - if (self == aRevokeDeviceSessionBatchError) { +- (BOOL)isEqualToTeamFolderActivateError:(DBTEAMTeamFolderActivateError *)aTeamFolderActivateError { + if (self == aTeamFolderActivateError) { return YES; } - if (self.tag != aRevokeDeviceSessionBatchError.tag) { + if (self.tag != aTeamFolderActivateError.tag) { return NO; } switch (_tag) { - case DBTEAMRevokeDeviceSessionBatchErrorOther: - return [[self tagName] isEqual:[aRevokeDeviceSessionBatchError tagName]]; + case DBTEAMTeamFolderActivateErrorAccessError: + return [self.accessError isEqual:aTeamFolderActivateError.accessError]; + case DBTEAMTeamFolderActivateErrorStatusError: + return [self.statusError isEqual:aTeamFolderActivateError.statusError]; + case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: + return [self.teamSharedDropboxError isEqual:aTeamFolderActivateError.teamSharedDropboxError]; + case DBTEAMTeamFolderActivateErrorOther: + return [[self tagName] isEqual:[aTeamFolderActivateError tagName]]; } return YES; } @@ -21726,27 +36960,50 @@ - (BOOL)isEqualToRevokeDeviceSessionBatchError:(DBTEAMRevokeDeviceSessionBatchEr #pragma mark - Serializer Object -@implementation DBTEAMRevokeDeviceSessionBatchErrorSerializer +@implementation DBTEAMTeamFolderActivateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOther]) { + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isStatusError]) { + jsonDict[@"status_error"] = + [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; + jsonDict[@".tag"] = @"status_error"; + } else if ([valueObj isTeamSharedDropboxError]) { + jsonDict[@"team_shared_dropbox_error"] = + [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; + jsonDict[@".tag"] = @"team_shared_dropbox_error"; + } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"other"]) { - return [[DBTEAMRevokeDeviceSessionBatchError alloc] initWithOther]; + if ([tag isEqualToString:@"access_error"]) { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBTEAMTeamFolderActivateError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"status_error"]) { + DBTEAMTeamFolderInvalidStatusError *statusError = + [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; + return [[DBTEAMTeamFolderActivateError alloc] initWithStatusError:statusError]; + } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { + DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = + [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; + return [[DBTEAMTeamFolderActivateError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; } else { - return [[DBTEAMRevokeDeviceSessionBatchError alloc] initWithOther]; + return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; } } @@ -21754,42 +37011,39 @@ + (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeDeviceSessionBatchResult.h" -#import "DBTEAMRevokeDeviceSessionStatus.h" +#import "DBTEAMTeamFolderIdArg.h" #pragma mark - API Object -@implementation DBTEAMRevokeDeviceSessionBatchResult +@implementation DBTEAMTeamFolderIdArg #pragma mark - Constructors -- (instancetype)initWithRevokeDevicesStatus:(NSArray *)revokeDevicesStatus { +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeDevicesStatus); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); self = [super init]; if (self) { - _revokeDevicesStatus = revokeDevicesStatus; + _teamFolderId = teamFolderId; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderIdArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderIdArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderIdArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21806,7 +37060,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.revokeDevicesStatus hash]; + result = prime * result + [self.teamFolderId hash]; return prime * result; } @@ -21820,15 +37074,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeDeviceSessionBatchResult:other]; + return [self isEqualToTeamFolderIdArg:other]; } -- (BOOL)isEqualToRevokeDeviceSessionBatchResult: - (DBTEAMRevokeDeviceSessionBatchResult *)aRevokeDeviceSessionBatchResult { - if (self == aRevokeDeviceSessionBatchResult) { +- (BOOL)isEqualToTeamFolderIdArg:(DBTEAMTeamFolderIdArg *)aTeamFolderIdArg { + if (self == aTeamFolderIdArg) { return YES; } - if (![self.revokeDevicesStatus isEqual:aRevokeDeviceSessionBatchResult.revokeDevicesStatus]) { + if (![self.teamFolderId isEqual:aTeamFolderIdArg.teamFolderId]) { return NO; } return YES; @@ -21838,109 +37091,64 @@ - (BOOL)isEqualToRevokeDeviceSessionBatchResult: #pragma mark - Serializer Object -@implementation DBTEAMRevokeDeviceSessionBatchResultSerializer +@implementation DBTEAMTeamFolderIdArgSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"revoke_devices_status"] = - [DBArraySerializer serialize:valueObj.revokeDevicesStatus - withBlock:^id(id elem0) { - return [DBTEAMRevokeDeviceSessionStatusSerializer serialize:elem0]; - }]; + jsonDict[@"team_folder_id"] = valueObj.teamFolderId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *revokeDevicesStatus = - [DBArraySerializer deserialize:valueDict[@"revoke_devices_status"] - withBlock:^id(id elem0) { - return [DBTEAMRevokeDeviceSessionStatusSerializer deserialize:elem0]; - }]; ++ (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)valueDict { + NSString *teamFolderId = valueDict[@"team_folder_id"]; - return [[DBTEAMRevokeDeviceSessionBatchResult alloc] initWithRevokeDevicesStatus:revokeDevicesStatus]; + return [[DBTEAMTeamFolderIdArg alloc] initWithTeamFolderId:teamFolderId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeDeviceSessionError.h" +#import "DBTEAMTeamFolderArchiveArg.h" +#import "DBTEAMTeamFolderIdArg.h" #pragma mark - API Object -@implementation DBTEAMRevokeDeviceSessionError +@implementation DBTEAMTeamFolderArchiveArg #pragma mark - Constructors -- (instancetype)initWithDeviceSessionNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound; - } - return self; -} - -- (instancetype)initWithMemberNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMRevokeDeviceSessionErrorMemberNotFound; - } - return self; -} +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId forceAsyncOff:(NSNumber *)forceAsyncOff { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); -- (instancetype)initWithOther { - self = [super init]; + self = [super initWithTeamFolderId:teamFolderId]; if (self) { - _tag = DBTEAMRevokeDeviceSessionErrorOther; + _forceAsyncOff = forceAsyncOff ?: @NO; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDeviceSessionNotFound { - return _tag == DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound; -} - -- (BOOL)isMemberNotFound { - return _tag == DBTEAMRevokeDeviceSessionErrorMemberNotFound; -} - -- (BOOL)isOther { - return _tag == DBTEAMRevokeDeviceSessionErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: - return @"DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound"; - case DBTEAMRevokeDeviceSessionErrorMemberNotFound: - return @"DBTEAMRevokeDeviceSessionErrorMemberNotFound"; - case DBTEAMRevokeDeviceSessionErrorOther: - return @"DBTEAMRevokeDeviceSessionErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { + return [self initWithTeamFolderId:teamFolderId forceAsyncOff:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderArchiveArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderArchiveArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderArchiveArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -21957,14 +37165,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMRevokeDeviceSessionErrorMemberNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMRevokeDeviceSessionErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.teamFolderId hash]; + result = prime * result + [self.forceAsyncOff hash]; return prime * result; } @@ -21978,23 +37180,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeDeviceSessionError:other]; + return [self isEqualToTeamFolderArchiveArg:other]; } -- (BOOL)isEqualToRevokeDeviceSessionError:(DBTEAMRevokeDeviceSessionError *)aRevokeDeviceSessionError { - if (self == aRevokeDeviceSessionError) { +- (BOOL)isEqualToTeamFolderArchiveArg:(DBTEAMTeamFolderArchiveArg *)aTeamFolderArchiveArg { + if (self == aTeamFolderArchiveArg) { return YES; } - if (self.tag != aRevokeDeviceSessionError.tag) { + if (![self.teamFolderId isEqual:aTeamFolderArchiveArg.teamFolderId]) { return NO; } - switch (_tag) { - case DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound: - return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; - case DBTEAMRevokeDeviceSessionErrorMemberNotFound: - return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; - case DBTEAMRevokeDeviceSessionErrorOther: - return [[self tagName] isEqual:[aRevokeDeviceSessionError tagName]]; + if (![self.forceAsyncOff isEqual:aTeamFolderArchiveArg.forceAsyncOff]) { + return NO; } return YES; } @@ -22003,201 +37200,153 @@ - (BOOL)isEqualToRevokeDeviceSessionError:(DBTEAMRevokeDeviceSessionError *)aRev #pragma mark - Serializer Object -@implementation DBTEAMRevokeDeviceSessionErrorSerializer +@implementation DBTEAMTeamFolderArchiveArgSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDeviceSessionNotFound]) { - jsonDict[@".tag"] = @"device_session_not_found"; - } else if ([valueObj isMemberNotFound]) { - jsonDict[@".tag"] = @"member_not_found"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"team_folder_id"] = valueObj.teamFolderId; + jsonDict[@"force_async_off"] = valueObj.forceAsyncOff; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)valueDict { + NSString *teamFolderId = valueDict[@"team_folder_id"]; + NSNumber *forceAsyncOff = valueDict[@"force_async_off"] ?: @NO; - if ([tag isEqualToString:@"device_session_not_found"]) { - return [[DBTEAMRevokeDeviceSessionError alloc] initWithDeviceSessionNotFound]; - } else if ([tag isEqualToString:@"member_not_found"]) { - return [[DBTEAMRevokeDeviceSessionError alloc] initWithMemberNotFound]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMRevokeDeviceSessionError alloc] initWithOther]; - } else { - return [[DBTEAMRevokeDeviceSessionError alloc] initWithOther]; - } + return [[DBTEAMTeamFolderArchiveArg alloc] initWithTeamFolderId:teamFolderId forceAsyncOff:forceAsyncOff]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeDeviceSessionError.h" -#import "DBTEAMRevokeDeviceSessionStatus.h" +#import "DBTEAMBaseTeamFolderError.h" +#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderArchiveError.h" +#import "DBTEAMTeamFolderInvalidStatusError.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object -@implementation DBTEAMRevokeDeviceSessionStatus +@implementation DBTEAMTeamFolderArchiveError -#pragma mark - Constructors +@synthesize accessError = _accessError; +@synthesize statusError = _statusError; +@synthesize teamSharedDropboxError = _teamSharedDropboxError; -- (instancetype)initWithSuccess:(NSNumber *)success errorType:(DBTEAMRevokeDeviceSessionError *)errorType { - [DBStoneValidators nonnullValidator:nil](success); +#pragma mark - Constructors +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { - _success = success; - _errorType = errorType; + _tag = DBTEAMTeamFolderArchiveErrorAccessError; + _accessError = accessError; } return self; } -- (instancetype)initWithSuccess:(NSNumber *)success { - return [self initWithSuccess:success errorType:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeDeviceSessionStatusSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeDeviceSessionStatusSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMRevokeDeviceSessionStatusSerializer serialize:self] description]; +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveErrorStatusError; + _statusError = statusError; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError; + _teamSharedDropboxError = teamSharedDropboxError; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.success hash]; - if (self.errorType != nil) { - result = prime * result + [self.errorType hash]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveErrorOther; } - - return prime * result; + return self; } -#pragma mark - Equality method +#pragma mark - Instance field accessors -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (DBTEAMTeamFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorAccessError, but was %@.", [self tagName]]; } - return [self isEqualToRevokeDeviceSessionStatus:other]; + return _accessError; } -- (BOOL)isEqualToRevokeDeviceSessionStatus:(DBTEAMRevokeDeviceSessionStatus *)aRevokeDeviceSessionStatus { - if (self == aRevokeDeviceSessionStatus) { - return YES; - } - if (![self.success isEqual:aRevokeDeviceSessionStatus.success]) { - return NO; - } - if (self.errorType) { - if (![self.errorType isEqual:aRevokeDeviceSessionStatus.errorType]) { - return NO; - } +- (DBTEAMTeamFolderInvalidStatusError *)statusError { + if (![self isStatusError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorStatusError, but was %@.", [self tagName]]; } - return YES; + return _statusError; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMRevokeDeviceSessionStatusSerializer - -+ (NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionStatus *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"success"] = valueObj.success; - if (valueObj.errorType) { - jsonDict[@"error_type"] = [DBTEAMRevokeDeviceSessionErrorSerializer serialize:valueObj.errorType]; +- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + if (![self isTeamSharedDropboxError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError, but was %@.", + [self tagName]]; } - - return [jsonDict count] > 0 ? jsonDict : nil; + return _teamSharedDropboxError; } -+ (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)valueDict { - NSNumber *success = valueDict[@"success"]; - DBTEAMRevokeDeviceSessionError *errorType = - valueDict[@"error_type"] ? [DBTEAMRevokeDeviceSessionErrorSerializer deserialize:valueDict[@"error_type"]] : nil; +#pragma mark - Tag state methods - return [[DBTEAMRevokeDeviceSessionStatus alloc] initWithSuccess:success errorType:errorType]; +- (BOOL)isAccessError { + return _tag == DBTEAMTeamFolderArchiveErrorAccessError; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedApiAppArg.h" - -#pragma mark - API Object - -@implementation DBTEAMRevokeLinkedApiAppArg +- (BOOL)isStatusError { + return _tag == DBTEAMTeamFolderArchiveErrorStatusError; +} -#pragma mark - Constructors +- (BOOL)isTeamSharedDropboxError { + return _tag == DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError; +} -- (instancetype)initWithAppId:(NSString *)appId - teamMemberId:(NSString *)teamMemberId - keepAppFolder:(NSNumber *)keepAppFolder { - [DBStoneValidators nonnullValidator:nil](appId); - [DBStoneValidators nonnullValidator:nil](teamMemberId); +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderArchiveErrorOther; +} - self = [super init]; - if (self) { - _appId = appId; - _teamMemberId = teamMemberId; - _keepAppFolder = keepAppFolder ?: @YES; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamFolderArchiveErrorAccessError: + return @"DBTEAMTeamFolderArchiveErrorAccessError"; + case DBTEAMTeamFolderArchiveErrorStatusError: + return @"DBTEAMTeamFolderArchiveErrorStatusError"; + case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: + return @"DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError"; + case DBTEAMTeamFolderArchiveErrorOther: + return @"DBTEAMTeamFolderArchiveErrorOther"; } - return self; -} -- (instancetype)initWithAppId:(NSString *)appId teamMemberId:(NSString *)teamMemberId { - return [self initWithAppId:appId teamMemberId:teamMemberId keepAppFolder:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedApiAppArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderArchiveErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedApiAppArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderArchiveErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedApiAppArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderArchiveErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22214,9 +37363,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.appId hash]; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.keepAppFolder hash]; + switch (_tag) { + case DBTEAMTeamFolderArchiveErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBTEAMTeamFolderArchiveErrorStatusError: + result = prime * result + [self.statusError hash]; + break; + case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: + result = prime * result + [self.teamSharedDropboxError hash]; + break; + case DBTEAMTeamFolderArchiveErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -22230,21 +37390,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedApiAppArg:other]; + return [self isEqualToTeamFolderArchiveError:other]; } -- (BOOL)isEqualToRevokeLinkedApiAppArg:(DBTEAMRevokeLinkedApiAppArg *)aRevokeLinkedApiAppArg { - if (self == aRevokeLinkedApiAppArg) { +- (BOOL)isEqualToTeamFolderArchiveError:(DBTEAMTeamFolderArchiveError *)aTeamFolderArchiveError { + if (self == aTeamFolderArchiveError) { return YES; } - if (![self.appId isEqual:aRevokeLinkedApiAppArg.appId]) { - return NO; - } - if (![self.teamMemberId isEqual:aRevokeLinkedApiAppArg.teamMemberId]) { + if (self.tag != aTeamFolderArchiveError.tag) { return NO; } - if (![self.keepAppFolder isEqual:aRevokeLinkedApiAppArg.keepAppFolder]) { - return NO; + switch (_tag) { + case DBTEAMTeamFolderArchiveErrorAccessError: + return [self.accessError isEqual:aTeamFolderArchiveError.accessError]; + case DBTEAMTeamFolderArchiveErrorStatusError: + return [self.statusError isEqual:aTeamFolderArchiveError.statusError]; + case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: + return [self.teamSharedDropboxError isEqual:aTeamFolderArchiveError.teamSharedDropboxError]; + case DBTEAMTeamFolderArchiveErrorOther: + return [[self tagName] isEqual:[aTeamFolderArchiveError tagName]]; } return YES; } @@ -22253,67 +37417,156 @@ - (BOOL)isEqualToRevokeLinkedApiAppArg:(DBTEAMRevokeLinkedApiAppArg *)aRevokeLin #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedApiAppArgSerializer +@implementation DBTEAMTeamFolderArchiveErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"app_id"] = valueObj.appId; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"keep_app_folder"] = valueObj.keepAppFolder; + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isStatusError]) { + jsonDict[@"status_error"] = + [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; + jsonDict[@".tag"] = @"status_error"; + } else if ([valueObj isTeamSharedDropboxError]) { + jsonDict[@"team_shared_dropbox_error"] = + [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; + jsonDict[@".tag"] = @"team_shared_dropbox_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)valueDict { - NSString *appId = valueDict[@"app_id"]; - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSNumber *keepAppFolder = valueDict[@"keep_app_folder"] ?: @YES; ++ (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return - [[DBTEAMRevokeLinkedApiAppArg alloc] initWithAppId:appId teamMemberId:teamMemberId keepAppFolder:keepAppFolder]; + if ([tag isEqualToString:@"access_error"]) { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBTEAMTeamFolderArchiveError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"status_error"]) { + DBTEAMTeamFolderInvalidStatusError *statusError = + [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; + return [[DBTEAMTeamFolderArchiveError alloc] initWithStatusError:statusError]; + } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { + DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = + [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; + return [[DBTEAMTeamFolderArchiveError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderArchiveError alloc] initWithOther]; + } else { + return [[DBTEAMTeamFolderArchiveError alloc] initWithOther]; + } } @end +#import "DBASYNCPollResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedApiAppArg.h" -#import "DBTEAMRevokeLinkedApiAppBatchArg.h" +#import "DBTEAMTeamFolderArchiveError.h" +#import "DBTEAMTeamFolderArchiveJobStatus.h" +#import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object -@implementation DBTEAMRevokeLinkedApiAppBatchArg +@implementation DBTEAMTeamFolderArchiveJobStatus + +@synthesize complete = _complete; +@synthesize failed = _failed; #pragma mark - Constructors -- (instancetype)initWithRevokeLinkedApp:(NSArray *)revokeLinkedApp { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeLinkedApp); +- (instancetype)initWithInProgress { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveJobStatusInProgress; + } + return self; +} +- (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete { self = [super init]; if (self) { - _revokeLinkedApp = revokeLinkedApp; + _tag = DBTEAMTeamFolderArchiveJobStatusComplete; + _complete = complete; + } + return self; +} + +- (instancetype)initWithFailed:(DBTEAMTeamFolderArchiveError *)failed { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveJobStatusFailed; + _failed = failed; } return self; } +#pragma mark - Instance field accessors + +- (DBTEAMTeamFolderMetadata *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveJobStatusComplete, but was %@.", [self tagName]]; + } + return _complete; +} + +- (DBTEAMTeamFolderArchiveError *)failed { + if (![self isFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveJobStatusFailed, but was %@.", [self tagName]]; + } + return _failed; +} + +#pragma mark - Tag state methods + +- (BOOL)isInProgress { + return _tag == DBTEAMTeamFolderArchiveJobStatusInProgress; +} + +- (BOOL)isComplete { + return _tag == DBTEAMTeamFolderArchiveJobStatusComplete; +} + +- (BOOL)isFailed { + return _tag == DBTEAMTeamFolderArchiveJobStatusFailed; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamFolderArchiveJobStatusInProgress: + return @"DBTEAMTeamFolderArchiveJobStatusInProgress"; + case DBTEAMTeamFolderArchiveJobStatusComplete: + return @"DBTEAMTeamFolderArchiveJobStatusComplete"; + case DBTEAMTeamFolderArchiveJobStatusFailed: + return @"DBTEAMTeamFolderArchiveJobStatusFailed"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedApiAppBatchArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderArchiveJobStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedApiAppBatchArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderArchiveJobStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedApiAppBatchArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderArchiveJobStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22330,7 +37583,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.revokeLinkedApp hash]; + switch (_tag) { + case DBTEAMTeamFolderArchiveJobStatusInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderArchiveJobStatusComplete: + result = prime * result + [self.complete hash]; + break; + case DBTEAMTeamFolderArchiveJobStatusFailed: + result = prime * result + [self.failed hash]; + break; + } return prime * result; } @@ -22344,16 +37607,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedApiAppBatchArg:other]; + return [self isEqualToTeamFolderArchiveJobStatus:other]; } -- (BOOL)isEqualToRevokeLinkedApiAppBatchArg:(DBTEAMRevokeLinkedApiAppBatchArg *)aRevokeLinkedApiAppBatchArg { - if (self == aRevokeLinkedApiAppBatchArg) { +- (BOOL)isEqualToTeamFolderArchiveJobStatus:(DBTEAMTeamFolderArchiveJobStatus *)aTeamFolderArchiveJobStatus { + if (self == aTeamFolderArchiveJobStatus) { return YES; } - if (![self.revokeLinkedApp isEqual:aRevokeLinkedApiAppBatchArg.revokeLinkedApp]) { + if (self.tag != aTeamFolderArchiveJobStatus.tag) { return NO; } + switch (_tag) { + case DBTEAMTeamFolderArchiveJobStatusInProgress: + return [[self tagName] isEqual:[aTeamFolderArchiveJobStatus tagName]]; + case DBTEAMTeamFolderArchiveJobStatusComplete: + return [self.complete isEqual:aTeamFolderArchiveJobStatus.complete]; + case DBTEAMTeamFolderArchiveJobStatusFailed: + return [self.failed isEqual:aTeamFolderArchiveJobStatus.failed]; + } return YES; } @@ -22361,61 +37632,116 @@ - (BOOL)isEqualToRevokeLinkedApiAppBatchArg:(DBTEAMRevokeLinkedApiAppBatchArg *) #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedApiAppBatchArgSerializer +@implementation DBTEAMTeamFolderArchiveJobStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"revoke_linked_app"] = [DBArraySerializer serialize:valueObj.revokeLinkedApp - withBlock:^id(id elem0) { - return [DBTEAMRevokeLinkedApiAppArgSerializer serialize:elem0]; - }]; + if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; + } else if ([valueObj isFailed]) { + jsonDict[@"failed"] = [[DBTEAMTeamFolderArchiveErrorSerializer serialize:valueObj.failed] mutableCopy]; + jsonDict[@".tag"] = @"failed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)valueDict { - NSArray *revokeLinkedApp = - [DBArraySerializer deserialize:valueDict[@"revoke_linked_app"] - withBlock:^id(id elem0) { - return [DBTEAMRevokeLinkedApiAppArgSerializer deserialize:elem0]; - }]; ++ (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMRevokeLinkedApiAppBatchArg alloc] initWithRevokeLinkedApp:revokeLinkedApp]; + if ([tag isEqualToString:@"in_progress"]) { + return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"complete"]) { + DBTEAMTeamFolderMetadata *complete = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; + return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithComplete:complete]; + } else if ([tag isEqualToString:@"failed"]) { + DBTEAMTeamFolderArchiveError *failed = [DBTEAMTeamFolderArchiveErrorSerializer deserialize:valueDict[@"failed"]]; + return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithFailed:failed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end +#import "DBASYNCLaunchResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedAppBatchError.h" +#import "DBTEAMTeamFolderArchiveLaunch.h" +#import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object -@implementation DBTEAMRevokeLinkedAppBatchError +@implementation DBTEAMTeamFolderArchiveLaunch + +@synthesize asyncJobId = _asyncJobId; +@synthesize complete = _complete; #pragma mark - Constructors -- (instancetype)initWithOther { +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { self = [super init]; if (self) { - _tag = DBTEAMRevokeLinkedAppBatchErrorOther; + _tag = DBTEAMTeamFolderArchiveLaunchAsyncJobId; + _asyncJobId = asyncJobId; + } + return self; +} + +- (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderArchiveLaunchComplete; + _complete = complete; } return self; } #pragma mark - Instance field accessors +- (NSString *)asyncJobId { + if (![self isAsyncJobId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveLaunchAsyncJobId, but was %@.", [self tagName]]; + } + return _asyncJobId; +} + +- (DBTEAMTeamFolderMetadata *)complete { + if (![self isComplete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderArchiveLaunchComplete, but was %@.", [self tagName]]; + } + return _complete; +} + #pragma mark - Tag state methods -- (BOOL)isOther { - return _tag == DBTEAMRevokeLinkedAppBatchErrorOther; +- (BOOL)isAsyncJobId { + return _tag == DBTEAMTeamFolderArchiveLaunchAsyncJobId; +} + +- (BOOL)isComplete { + return _tag == DBTEAMTeamFolderArchiveLaunchComplete; } - (NSString *)tagName { switch (_tag) { - case DBTEAMRevokeLinkedAppBatchErrorOther: - return @"DBTEAMRevokeLinkedAppBatchErrorOther"; + case DBTEAMTeamFolderArchiveLaunchAsyncJobId: + return @"DBTEAMTeamFolderArchiveLaunchAsyncJobId"; + case DBTEAMTeamFolderArchiveLaunchComplete: + return @"DBTEAMTeamFolderArchiveLaunchComplete"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -22423,18 +37749,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedAppBatchErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderArchiveLaunchSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedAppBatchErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderArchiveLaunchSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedAppBatchErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderArchiveLaunchSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22452,8 +37778,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMRevokeLinkedAppBatchErrorOther: - result = prime * result + [[self tagName] hash]; + case DBTEAMTeamFolderArchiveLaunchAsyncJobId: + result = prime * result + [self.asyncJobId hash]; + break; + case DBTEAMTeamFolderArchiveLaunchComplete: + result = prime * result + [self.complete hash]; + break; } return prime * result; @@ -22468,19 +37798,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedAppBatchError:other]; + return [self isEqualToTeamFolderArchiveLaunch:other]; } -- (BOOL)isEqualToRevokeLinkedAppBatchError:(DBTEAMRevokeLinkedAppBatchError *)aRevokeLinkedAppBatchError { - if (self == aRevokeLinkedAppBatchError) { +- (BOOL)isEqualToTeamFolderArchiveLaunch:(DBTEAMTeamFolderArchiveLaunch *)aTeamFolderArchiveLaunch { + if (self == aTeamFolderArchiveLaunch) { return YES; } - if (self.tag != aRevokeLinkedAppBatchError.tag) { + if (self.tag != aTeamFolderArchiveLaunch.tag) { return NO; } switch (_tag) { - case DBTEAMRevokeLinkedAppBatchErrorOther: - return [[self tagName] isEqual:[aRevokeLinkedAppBatchError tagName]]; + case DBTEAMTeamFolderArchiveLaunchAsyncJobId: + return [self.asyncJobId isEqual:aTeamFolderArchiveLaunch.asyncJobId]; + case DBTEAMTeamFolderArchiveLaunchComplete: + return [self.complete isEqual:aTeamFolderArchiveLaunch.complete]; } return YES; } @@ -22489,70 +37821,85 @@ - (BOOL)isEqualToRevokeLinkedAppBatchError:(DBTEAMRevokeLinkedAppBatchError *)aR #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedAppBatchErrorSerializer +@implementation DBTEAMTeamFolderArchiveLaunchSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isAsyncJobId]) { + jsonDict[@"async_job_id"] = valueObj.asyncJobId; + jsonDict[@".tag"] = @"async_job_id"; + } else if ([valueObj isComplete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.complete]]; + jsonDict[@".tag"] = @"complete"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"other"]) { - return [[DBTEAMRevokeLinkedAppBatchError alloc] initWithOther]; + if ([tag isEqualToString:@"async_job_id"]) { + NSString *asyncJobId = valueDict[@"async_job_id"]; + return [[DBTEAMTeamFolderArchiveLaunch alloc] initWithAsyncJobId:asyncJobId]; + } else if ([tag isEqualToString:@"complete"]) { + DBTEAMTeamFolderMetadata *complete = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; + return [[DBTEAMTeamFolderArchiveLaunch alloc] initWithComplete:complete]; } else { - return [[DBTEAMRevokeLinkedAppBatchError alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @end +#import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedAppBatchResult.h" -#import "DBTEAMRevokeLinkedAppStatus.h" +#import "DBTEAMTeamFolderCreateArg.h" #pragma mark - API Object -@implementation DBTEAMRevokeLinkedAppBatchResult +@implementation DBTEAMTeamFolderCreateArg #pragma mark - Constructors -- (instancetype)initWithRevokeLinkedAppStatus:(NSArray *)revokeLinkedAppStatus { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](revokeLinkedAppStatus); +- (instancetype)initWithName:(NSString *)name syncSetting:(DBFILESSyncSettingArg *)syncSetting { + [DBStoneValidators nonnullValidator:nil](name); self = [super init]; if (self) { - _revokeLinkedAppStatus = revokeLinkedAppStatus; + _name = name; + _syncSetting = syncSetting; } return self; } +- (instancetype)initWithName:(NSString *)name { + return [self initWithName:name syncSetting:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedAppBatchResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderCreateArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedAppBatchResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderCreateArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedAppBatchResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderCreateArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22569,7 +37916,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.revokeLinkedAppStatus hash]; + result = prime * result + [self.name hash]; + if (self.syncSetting != nil) { + result = prime * result + [self.syncSetting hash]; + } return prime * result; } @@ -22583,16 +37933,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedAppBatchResult:other]; + return [self isEqualToTeamFolderCreateArg:other]; } -- (BOOL)isEqualToRevokeLinkedAppBatchResult:(DBTEAMRevokeLinkedAppBatchResult *)aRevokeLinkedAppBatchResult { - if (self == aRevokeLinkedAppBatchResult) { +- (BOOL)isEqualToTeamFolderCreateArg:(DBTEAMTeamFolderCreateArg *)aTeamFolderCreateArg { + if (self == aTeamFolderCreateArg) { return YES; } - if (![self.revokeLinkedAppStatus isEqual:aRevokeLinkedAppBatchResult.revokeLinkedAppStatus]) { + if (![self.name isEqual:aTeamFolderCreateArg.name]) { return NO; } + if (self.syncSetting) { + if (![self.syncSetting isEqual:aTeamFolderCreateArg.syncSetting]) { + return NO; + } + } return YES; } @@ -22600,54 +37955,71 @@ - (BOOL)isEqualToRevokeLinkedAppBatchResult:(DBTEAMRevokeLinkedAppBatchResult *) #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedAppBatchResultSerializer +@implementation DBTEAMTeamFolderCreateArgSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"revoke_linked_app_status"] = - [DBArraySerializer serialize:valueObj.revokeLinkedAppStatus - withBlock:^id(id elem0) { - return [DBTEAMRevokeLinkedAppStatusSerializer serialize:elem0]; - }]; + jsonDict[@"name"] = valueObj.name; + if (valueObj.syncSetting) { + jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)valueDict { - NSArray *revokeLinkedAppStatus = - [DBArraySerializer deserialize:valueDict[@"revoke_linked_app_status"] - withBlock:^id(id elem0) { - return [DBTEAMRevokeLinkedAppStatusSerializer deserialize:elem0]; - }]; ++ (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + DBFILESSyncSettingArg *syncSetting = + valueDict[@"sync_setting"] ? [DBFILESSyncSettingArgSerializer deserialize:valueDict[@"sync_setting"]] : nil; - return [[DBTEAMRevokeLinkedAppBatchResult alloc] initWithRevokeLinkedAppStatus:revokeLinkedAppStatus]; + return [[DBTEAMTeamFolderCreateArg alloc] initWithName:name syncSetting:syncSetting]; } @end +#import "DBFILESSyncSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedAppError.h" +#import "DBTEAMTeamFolderCreateError.h" #pragma mark - API Object -@implementation DBTEAMRevokeLinkedAppError +@implementation DBTEAMTeamFolderCreateError + +@synthesize syncSettingsError = _syncSettingsError; #pragma mark - Constructors -- (instancetype)initWithAppNotFound { +- (instancetype)initWithInvalidFolderName { self = [super init]; if (self) { - _tag = DBTEAMRevokeLinkedAppErrorAppNotFound; + _tag = DBTEAMTeamFolderCreateErrorInvalidFolderName; } return self; } -- (instancetype)initWithMemberNotFound { +- (instancetype)initWithFolderNameAlreadyUsed { self = [super init]; if (self) { - _tag = DBTEAMRevokeLinkedAppErrorMemberNotFound; + _tag = DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed; + } + return self; +} + +- (instancetype)initWithFolderNameReserved { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderCreateErrorFolderNameReserved; + } + return self; +} + +- (instancetype)initWithSyncSettingsError:(DBFILESSyncSettingsError *)syncSettingsError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderCreateErrorSyncSettingsError; + _syncSettingsError = syncSettingsError; } return self; } @@ -22655,35 +38027,56 @@ - (instancetype)initWithMemberNotFound { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMRevokeLinkedAppErrorOther; + _tag = DBTEAMTeamFolderCreateErrorOther; } return self; } #pragma mark - Instance field accessors +- (DBFILESSyncSettingsError *)syncSettingsError { + if (![self isSyncSettingsError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderCreateErrorSyncSettingsError, but was %@.", [self tagName]]; + } + return _syncSettingsError; +} + #pragma mark - Tag state methods -- (BOOL)isAppNotFound { - return _tag == DBTEAMRevokeLinkedAppErrorAppNotFound; +- (BOOL)isInvalidFolderName { + return _tag == DBTEAMTeamFolderCreateErrorInvalidFolderName; } -- (BOOL)isMemberNotFound { - return _tag == DBTEAMRevokeLinkedAppErrorMemberNotFound; +- (BOOL)isFolderNameAlreadyUsed { + return _tag == DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed; +} + +- (BOOL)isFolderNameReserved { + return _tag == DBTEAMTeamFolderCreateErrorFolderNameReserved; +} + +- (BOOL)isSyncSettingsError { + return _tag == DBTEAMTeamFolderCreateErrorSyncSettingsError; } - (BOOL)isOther { - return _tag == DBTEAMRevokeLinkedAppErrorOther; + return _tag == DBTEAMTeamFolderCreateErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMRevokeLinkedAppErrorAppNotFound: - return @"DBTEAMRevokeLinkedAppErrorAppNotFound"; - case DBTEAMRevokeLinkedAppErrorMemberNotFound: - return @"DBTEAMRevokeLinkedAppErrorMemberNotFound"; - case DBTEAMRevokeLinkedAppErrorOther: - return @"DBTEAMRevokeLinkedAppErrorOther"; + case DBTEAMTeamFolderCreateErrorInvalidFolderName: + return @"DBTEAMTeamFolderCreateErrorInvalidFolderName"; + case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: + return @"DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed"; + case DBTEAMTeamFolderCreateErrorFolderNameReserved: + return @"DBTEAMTeamFolderCreateErrorFolderNameReserved"; + case DBTEAMTeamFolderCreateErrorSyncSettingsError: + return @"DBTEAMTeamFolderCreateErrorSyncSettingsError"; + case DBTEAMTeamFolderCreateErrorOther: + return @"DBTEAMTeamFolderCreateErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -22691,18 +38084,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedAppErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderCreateErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedAppErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderCreateErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedAppErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderCreateErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22720,12 +38113,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMRevokeLinkedAppErrorAppNotFound: + case DBTEAMTeamFolderCreateErrorInvalidFolderName: result = prime * result + [[self tagName] hash]; - case DBTEAMRevokeLinkedAppErrorMemberNotFound: + break; + case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: result = prime * result + [[self tagName] hash]; - case DBTEAMRevokeLinkedAppErrorOther: + break; + case DBTEAMTeamFolderCreateErrorFolderNameReserved: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderCreateErrorSyncSettingsError: + result = prime * result + [self.syncSettingsError hash]; + break; + case DBTEAMTeamFolderCreateErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -22740,23 +38142,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedAppError:other]; + return [self isEqualToTeamFolderCreateError:other]; } -- (BOOL)isEqualToRevokeLinkedAppError:(DBTEAMRevokeLinkedAppError *)aRevokeLinkedAppError { - if (self == aRevokeLinkedAppError) { +- (BOOL)isEqualToTeamFolderCreateError:(DBTEAMTeamFolderCreateError *)aTeamFolderCreateError { + if (self == aTeamFolderCreateError) { return YES; } - if (self.tag != aRevokeLinkedAppError.tag) { + if (self.tag != aTeamFolderCreateError.tag) { return NO; } switch (_tag) { - case DBTEAMRevokeLinkedAppErrorAppNotFound: - return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; - case DBTEAMRevokeLinkedAppErrorMemberNotFound: - return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; - case DBTEAMRevokeLinkedAppErrorOther: - return [[self tagName] isEqual:[aRevokeLinkedAppError tagName]]; + case DBTEAMTeamFolderCreateErrorInvalidFolderName: + return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; + case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: + return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; + case DBTEAMTeamFolderCreateErrorFolderNameReserved: + return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; + case DBTEAMTeamFolderCreateErrorSyncSettingsError: + return [self.syncSettingsError isEqual:aTeamFolderCreateError.syncSettingsError]; + case DBTEAMTeamFolderCreateErrorOther: + return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; } return YES; } @@ -22765,80 +38171,138 @@ - (BOOL)isEqualToRevokeLinkedAppError:(DBTEAMRevokeLinkedAppError *)aRevokeLinke #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedAppErrorSerializer +@implementation DBTEAMTeamFolderCreateErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAppNotFound]) { - jsonDict[@".tag"] = @"app_not_found"; - } else if ([valueObj isMemberNotFound]) { - jsonDict[@".tag"] = @"member_not_found"; + if ([valueObj isInvalidFolderName]) { + jsonDict[@".tag"] = @"invalid_folder_name"; + } else if ([valueObj isFolderNameAlreadyUsed]) { + jsonDict[@".tag"] = @"folder_name_already_used"; + } else if ([valueObj isFolderNameReserved]) { + jsonDict[@".tag"] = @"folder_name_reserved"; + } else if ([valueObj isSyncSettingsError]) { + jsonDict[@"sync_settings_error"] = + [[DBFILESSyncSettingsErrorSerializer serialize:valueObj.syncSettingsError] mutableCopy]; + jsonDict[@".tag"] = @"sync_settings_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"app_not_found"]) { - return [[DBTEAMRevokeLinkedAppError alloc] initWithAppNotFound]; - } else if ([tag isEqualToString:@"member_not_found"]) { - return [[DBTEAMRevokeLinkedAppError alloc] initWithMemberNotFound]; + if ([tag isEqualToString:@"invalid_folder_name"]) { + return [[DBTEAMTeamFolderCreateError alloc] initWithInvalidFolderName]; + } else if ([tag isEqualToString:@"folder_name_already_used"]) { + return [[DBTEAMTeamFolderCreateError alloc] initWithFolderNameAlreadyUsed]; + } else if ([tag isEqualToString:@"folder_name_reserved"]) { + return [[DBTEAMTeamFolderCreateError alloc] initWithFolderNameReserved]; + } else if ([tag isEqualToString:@"sync_settings_error"]) { + DBFILESSyncSettingsError *syncSettingsError = + [DBFILESSyncSettingsErrorSerializer deserialize:valueDict[@"sync_settings_error"]]; + return [[DBTEAMTeamFolderCreateError alloc] initWithSyncSettingsError:syncSettingsError]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; + return [[DBTEAMTeamFolderCreateError alloc] initWithOther]; } else { - return [[DBTEAMRevokeLinkedAppError alloc] initWithOther]; + return [[DBTEAMTeamFolderCreateError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMTeamFolderGetInfoItem.h" +#import "DBTEAMTeamFolderMetadata.h" + +#pragma mark - API Object + +@implementation DBTEAMTeamFolderGetInfoItem + +@synthesize idNotFound = _idNotFound; +@synthesize teamFolderMetadata = _teamFolderMetadata; + +#pragma mark - Constructors + +- (instancetype)initWithIdNotFound:(NSString *)idNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderGetInfoItemIdNotFound; + _idNotFound = idNotFound; + } + return self; +} + +- (instancetype)initWithTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)teamFolderMetadata { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderGetInfoItemTeamFolderMetadata; + _teamFolderMetadata = teamFolderMetadata; } + return self; } -@end +#pragma mark - Instance field accessors -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMRevokeLinkedAppError.h" -#import "DBTEAMRevokeLinkedAppStatus.h" +- (NSString *)idNotFound { + if (![self isIdNotFound]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderGetInfoItemIdNotFound, but was %@.", [self tagName]]; + } + return _idNotFound; +} -#pragma mark - API Object +- (DBTEAMTeamFolderMetadata *)teamFolderMetadata { + if (![self isTeamFolderMetadata]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderGetInfoItemTeamFolderMetadata, but was %@.", [self tagName]]; + } + return _teamFolderMetadata; +} -@implementation DBTEAMRevokeLinkedAppStatus +#pragma mark - Tag state methods -#pragma mark - Constructors +- (BOOL)isIdNotFound { + return _tag == DBTEAMTeamFolderGetInfoItemIdNotFound; +} -- (instancetype)initWithSuccess:(NSNumber *)success errorType:(DBTEAMRevokeLinkedAppError *)errorType { - [DBStoneValidators nonnullValidator:nil](success); +- (BOOL)isTeamFolderMetadata { + return _tag == DBTEAMTeamFolderGetInfoItemTeamFolderMetadata; +} - self = [super init]; - if (self) { - _success = success; - _errorType = errorType; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamFolderGetInfoItemIdNotFound: + return @"DBTEAMTeamFolderGetInfoItemIdNotFound"; + case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: + return @"DBTEAMTeamFolderGetInfoItemTeamFolderMetadata"; } - return self; -} -- (instancetype)initWithSuccess:(NSNumber *)success { - return [self initWithSuccess:success errorType:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMRevokeLinkedAppStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderGetInfoItemSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMRevokeLinkedAppStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderGetInfoItemSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMRevokeLinkedAppStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderGetInfoItemSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22855,9 +38319,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.success hash]; - if (self.errorType != nil) { - result = prime * result + [self.errorType hash]; + switch (_tag) { + case DBTEAMTeamFolderGetInfoItemIdNotFound: + result = prime * result + [self.idNotFound hash]; + break; + case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: + result = prime * result + [self.teamFolderMetadata hash]; + break; } return prime * result; @@ -22872,20 +38340,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRevokeLinkedAppStatus:other]; + return [self isEqualToTeamFolderGetInfoItem:other]; } -- (BOOL)isEqualToRevokeLinkedAppStatus:(DBTEAMRevokeLinkedAppStatus *)aRevokeLinkedAppStatus { - if (self == aRevokeLinkedAppStatus) { +- (BOOL)isEqualToTeamFolderGetInfoItem:(DBTEAMTeamFolderGetInfoItem *)aTeamFolderGetInfoItem { + if (self == aTeamFolderGetInfoItem) { return YES; } - if (![self.success isEqual:aRevokeLinkedAppStatus.success]) { + if (self.tag != aTeamFolderGetInfoItem.tag) { return NO; } - if (self.errorType) { - if (![self.errorType isEqual:aRevokeLinkedAppStatus.errorType]) { - return NO; - } + switch (_tag) { + case DBTEAMTeamFolderGetInfoItemIdNotFound: + return [self.idNotFound isEqual:aTeamFolderGetInfoItem.idNotFound]; + case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: + return [self.teamFolderMetadata isEqual:aTeamFolderGetInfoItem.teamFolderMetadata]; } return YES; } @@ -22894,67 +38363,87 @@ - (BOOL)isEqualToRevokeLinkedAppStatus:(DBTEAMRevokeLinkedAppStatus *)aRevokeLin #pragma mark - Serializer Object -@implementation DBTEAMRevokeLinkedAppStatusSerializer +@implementation DBTEAMTeamFolderGetInfoItemSerializer -+ (NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"success"] = valueObj.success; - if (valueObj.errorType) { - jsonDict[@"error_type"] = [DBTEAMRevokeLinkedAppErrorSerializer serialize:valueObj.errorType]; + if ([valueObj isIdNotFound]) { + jsonDict[@"id_not_found"] = valueObj.idNotFound; + jsonDict[@".tag"] = @"id_not_found"; + } else if ([valueObj isTeamFolderMetadata]) { + [jsonDict addEntriesFromDictionary:[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.teamFolderMetadata]]; + jsonDict[@".tag"] = @"team_folder_metadata"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)valueDict { - NSNumber *success = valueDict[@"success"]; - DBTEAMRevokeLinkedAppError *errorType = - valueDict[@"error_type"] ? [DBTEAMRevokeLinkedAppErrorSerializer deserialize:valueDict[@"error_type"]] : nil; ++ (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMRevokeLinkedAppStatus alloc] initWithSuccess:success errorType:errorType]; + if ([tag isEqualToString:@"id_not_found"]) { + NSString *idNotFound = valueDict[@"id_not_found"]; + return [[DBTEAMTeamFolderGetInfoItem alloc] initWithIdNotFound:idNotFound]; + } else if ([tag isEqualToString:@"team_folder_metadata"]) { + DBTEAMTeamFolderMetadata *teamFolderMetadata = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; + return [[DBTEAMTeamFolderGetInfoItem alloc] initWithTeamFolderMetadata:teamFolderMetadata]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMSetCustomQuotaArg.h" -#import "DBTEAMUserCustomQuotaArg.h" +#import "DBTEAMTeamFolderIdListArg.h" #pragma mark - API Object -@implementation DBTEAMSetCustomQuotaArg +@implementation DBTEAMTeamFolderIdListArg #pragma mark - Constructors -- (instancetype)initWithUsersAndQuotas:(NSArray *)usersAndQuotas { +- (instancetype)initWithTeamFolderIds:(NSArray *)teamFolderIds { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](usersAndQuotas); + nonnullValidator:[DBStoneValidators + arrayValidator:@(1) + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:nil + pattern:@"[-_0-9a-zA-Z:]+"]]]]( + teamFolderIds); self = [super init]; if (self) { - _usersAndQuotas = usersAndQuotas; + _teamFolderIds = teamFolderIds; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMSetCustomQuotaArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderIdListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMSetCustomQuotaArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderIdListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMSetCustomQuotaArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderIdListArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -22971,7 +38460,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.usersAndQuotas hash]; + result = prime * result + [self.teamFolderIds hash]; return prime * result; } @@ -22985,14 +38474,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSetCustomQuotaArg:other]; + return [self isEqualToTeamFolderIdListArg:other]; } -- (BOOL)isEqualToSetCustomQuotaArg:(DBTEAMSetCustomQuotaArg *)aSetCustomQuotaArg { - if (self == aSetCustomQuotaArg) { +- (BOOL)isEqualToTeamFolderIdListArg:(DBTEAMTeamFolderIdListArg *)aTeamFolderIdListArg { + if (self == aTeamFolderIdListArg) { return YES; } - if (![self.usersAndQuotas isEqual:aSetCustomQuotaArg.usersAndQuotas]) { + if (![self.teamFolderIds isEqual:aTeamFolderIdListArg.teamFolderIds]) { return NO; } return YES; @@ -23002,62 +38491,68 @@ - (BOOL)isEqualToSetCustomQuotaArg:(DBTEAMSetCustomQuotaArg *)aSetCustomQuotaArg #pragma mark - Serializer Object -@implementation DBTEAMSetCustomQuotaArgSerializer +@implementation DBTEAMTeamFolderIdListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"users_and_quotas"] = [DBArraySerializer serialize:valueObj.usersAndQuotas - withBlock:^id(id elem0) { - return [DBTEAMUserCustomQuotaArgSerializer serialize:elem0]; - }]; + jsonDict[@"team_folder_ids"] = [DBArraySerializer serialize:valueObj.teamFolderIds + withBlock:^id(id elem0) { + return elem0; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { - NSArray *usersAndQuotas = - [DBArraySerializer deserialize:valueDict[@"users_and_quotas"] - withBlock:^id(id elem0) { - return [DBTEAMUserCustomQuotaArgSerializer deserialize:elem0]; - }]; ++ (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)valueDict { + NSArray *teamFolderIds = [DBArraySerializer deserialize:valueDict[@"team_folder_ids"] + withBlock:^id(id elem0) { + return elem0; + }]; - return [[DBTEAMSetCustomQuotaArg alloc] initWithUsersAndQuotas:usersAndQuotas]; + return [[DBTEAMTeamFolderIdListArg alloc] initWithTeamFolderIds:teamFolderIds]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMCustomQuotaError.h" -#import "DBTEAMSetCustomQuotaError.h" +#import "DBTEAMTeamFolderInvalidStatusError.h" #pragma mark - API Object -@implementation DBTEAMSetCustomQuotaError +@implementation DBTEAMTeamFolderInvalidStatusError #pragma mark - Constructors -- (instancetype)initWithTooManyUsers { +- (instancetype)initWithActive { self = [super init]; if (self) { - _tag = DBTEAMSetCustomQuotaErrorTooManyUsers; + _tag = DBTEAMTeamFolderInvalidStatusErrorActive; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithArchived { self = [super init]; if (self) { - _tag = DBTEAMSetCustomQuotaErrorOther; + _tag = DBTEAMTeamFolderInvalidStatusErrorArchived; } return self; } -- (instancetype)initWithSomeUsersAreExcluded { +- (instancetype)initWithArchiveInProgress { self = [super init]; if (self) { - _tag = DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded; + _tag = DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderInvalidStatusErrorOther; } return self; } @@ -23066,26 +38561,32 @@ - (instancetype)initWithSomeUsersAreExcluded { #pragma mark - Tag state methods -- (BOOL)isTooManyUsers { - return _tag == DBTEAMSetCustomQuotaErrorTooManyUsers; +- (BOOL)isActive { + return _tag == DBTEAMTeamFolderInvalidStatusErrorActive; } -- (BOOL)isOther { - return _tag == DBTEAMSetCustomQuotaErrorOther; +- (BOOL)isArchived { + return _tag == DBTEAMTeamFolderInvalidStatusErrorArchived; } -- (BOOL)isSomeUsersAreExcluded { - return _tag == DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded; +- (BOOL)isArchiveInProgress { + return _tag == DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; +} + +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderInvalidStatusErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMSetCustomQuotaErrorTooManyUsers: - return @"DBTEAMSetCustomQuotaErrorTooManyUsers"; - case DBTEAMSetCustomQuotaErrorOther: - return @"DBTEAMSetCustomQuotaErrorOther"; - case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: - return @"DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded"; + case DBTEAMTeamFolderInvalidStatusErrorActive: + return @"DBTEAMTeamFolderInvalidStatusErrorActive"; + case DBTEAMTeamFolderInvalidStatusErrorArchived: + return @"DBTEAMTeamFolderInvalidStatusErrorArchived"; + case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: + return @"DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress"; + case DBTEAMTeamFolderInvalidStatusErrorOther: + return @"DBTEAMTeamFolderInvalidStatusErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -23093,18 +38594,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMSetCustomQuotaErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMSetCustomQuotaErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMSetCustomQuotaErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23122,12 +38623,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMSetCustomQuotaErrorTooManyUsers: + case DBTEAMTeamFolderInvalidStatusErrorActive: result = prime * result + [[self tagName] hash]; - case DBTEAMSetCustomQuotaErrorOther: + break; + case DBTEAMTeamFolderInvalidStatusErrorArchived: result = prime * result + [[self tagName] hash]; - case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: + break; + case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderInvalidStatusErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -23142,23 +38649,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSetCustomQuotaError:other]; + return [self isEqualToTeamFolderInvalidStatusError:other]; } -- (BOOL)isEqualToSetCustomQuotaError:(DBTEAMSetCustomQuotaError *)aSetCustomQuotaError { - if (self == aSetCustomQuotaError) { +- (BOOL)isEqualToTeamFolderInvalidStatusError:(DBTEAMTeamFolderInvalidStatusError *)aTeamFolderInvalidStatusError { + if (self == aTeamFolderInvalidStatusError) { return YES; } - if (self.tag != aSetCustomQuotaError.tag) { + if (self.tag != aTeamFolderInvalidStatusError.tag) { return NO; } switch (_tag) { - case DBTEAMSetCustomQuotaErrorTooManyUsers: - return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; - case DBTEAMSetCustomQuotaErrorOther: - return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; - case DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded: - return [[self tagName] isEqual:[aSetCustomQuotaError tagName]]; + case DBTEAMTeamFolderInvalidStatusErrorActive: + return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; + case DBTEAMTeamFolderInvalidStatusErrorArchived: + return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; + case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: + return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; + case DBTEAMTeamFolderInvalidStatusErrorOther: + return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; } return YES; } @@ -23167,35 +38676,39 @@ - (BOOL)isEqualToSetCustomQuotaError:(DBTEAMSetCustomQuotaError *)aSetCustomQuot #pragma mark - Serializer Object -@implementation DBTEAMSetCustomQuotaErrorSerializer +@implementation DBTEAMTeamFolderInvalidStatusErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTooManyUsers]) { - jsonDict[@".tag"] = @"too_many_users"; + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isArchived]) { + jsonDict[@".tag"] = @"archived"; + } else if ([valueObj isArchiveInProgress]) { + jsonDict[@".tag"] = @"archive_in_progress"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; - } else if ([valueObj isSomeUsersAreExcluded]) { - jsonDict[@".tag"] = @"some_users_are_excluded"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"too_many_users"]) { - return [[DBTEAMSetCustomQuotaError alloc] initWithTooManyUsers]; + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithActive]; + } else if ([tag isEqualToString:@"archived"]) { + return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithArchived]; + } else if ([tag isEqualToString:@"archive_in_progress"]) { + return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithArchiveInProgress]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMSetCustomQuotaError alloc] initWithOther]; - } else if ([tag isEqualToString:@"some_users_are_excluded"]) { - return [[DBTEAMSetCustomQuotaError alloc] initWithSomeUsersAreExcluded]; + return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithOther]; } else { - return [[DBTEAMSetCustomQuotaError alloc] initWithOther]; + return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithOther]; } } @@ -23203,40 +38716,41 @@ + (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMStorageBucket.h" +#import "DBTEAMTeamFolderListArg.h" #pragma mark - API Object -@implementation DBTEAMStorageBucket +@implementation DBTEAMTeamFolderListArg #pragma mark - Constructors -- (instancetype)initWithBucket:(NSString *)bucket users:(NSNumber *)users { - [DBStoneValidators nonnullValidator:nil](bucket); - [DBStoneValidators nonnullValidator:nil](users); +- (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { - _bucket = bucket; - _users = users; + _limit = limit ?: @(1000); } return self; } +- (instancetype)initDefault { + return [self initWithLimit:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMStorageBucketSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMStorageBucketSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMStorageBucketSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderListArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23253,8 +38767,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.bucket hash]; - result = prime * result + [self.users hash]; + result = prime * result + [self.limit hash]; return prime * result; } @@ -23268,17 +38781,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToStorageBucket:other]; + return [self isEqualToTeamFolderListArg:other]; } -- (BOOL)isEqualToStorageBucket:(DBTEAMStorageBucket *)aStorageBucket { - if (self == aStorageBucket) { +- (BOOL)isEqualToTeamFolderListArg:(DBTEAMTeamFolderListArg *)aTeamFolderListArg { + if (self == aTeamFolderListArg) { return YES; } - if (![self.bucket isEqual:aStorageBucket.bucket]) { - return NO; - } - if (![self.users isEqual:aStorageBucket.users]) { + if (![self.limit isEqual:aTeamFolderListArg.limit]) { return NO; } return YES; @@ -23288,103 +38798,58 @@ - (BOOL)isEqualToStorageBucket:(DBTEAMStorageBucket *)aStorageBucket { #pragma mark - Serializer Object -@implementation DBTEAMStorageBucketSerializer +@implementation DBTEAMTeamFolderListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMStorageBucket *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"bucket"] = valueObj.bucket; - jsonDict[@"users"] = valueObj.users; + jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMStorageBucket *)deserialize:(NSDictionary *)valueDict { - NSString *bucket = valueDict[@"bucket"]; - NSNumber *users = valueDict[@"users"]; ++ (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); - return [[DBTEAMStorageBucket alloc] initWithBucket:bucket users:users]; + return [[DBTEAMTeamFolderListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderListContinueArg.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderAccessError +@implementation DBTEAMTeamFolderListContinueArg #pragma mark - Constructors -- (instancetype)initWithInvalidTeamFolderId { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderAccessErrorInvalidTeamFolderId; - } - return self; -} - -- (instancetype)initWithNoAccess { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderAccessErrorNoAccess; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderAccessErrorOther; + _cursor = cursor; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isInvalidTeamFolderId { - return _tag == DBTEAMTeamFolderAccessErrorInvalidTeamFolderId; -} - -- (BOOL)isNoAccess { - return _tag == DBTEAMTeamFolderAccessErrorNoAccess; -} - -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderAccessErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: - return @"DBTEAMTeamFolderAccessErrorInvalidTeamFolderId"; - case DBTEAMTeamFolderAccessErrorNoAccess: - return @"DBTEAMTeamFolderAccessErrorNoAccess"; - case DBTEAMTeamFolderAccessErrorOther: - return @"DBTEAMTeamFolderAccessErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderAccessErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderListContinueArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderAccessErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderListContinueArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderAccessErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderListContinueArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23401,14 +38866,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderAccessErrorNoAccess: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderAccessErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.cursor hash]; return prime * result; } @@ -23422,24 +38880,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderAccessError:other]; + return [self isEqualToTeamFolderListContinueArg:other]; } -- (BOOL)isEqualToTeamFolderAccessError:(DBTEAMTeamFolderAccessError *)aTeamFolderAccessError { - if (self == aTeamFolderAccessError) { +- (BOOL)isEqualToTeamFolderListContinueArg:(DBTEAMTeamFolderListContinueArg *)aTeamFolderListContinueArg { + if (self == aTeamFolderListContinueArg) { return YES; } - if (self.tag != aTeamFolderAccessError.tag) { + if (![self.cursor isEqual:aTeamFolderListContinueArg.cursor]) { return NO; } - switch (_tag) { - case DBTEAMTeamFolderAccessErrorInvalidTeamFolderId: - return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; - case DBTEAMTeamFolderAccessErrorNoAccess: - return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; - case DBTEAMTeamFolderAccessErrorOther: - return [[self tagName] isEqual:[aTeamFolderAccessError tagName]]; - } return YES; } @@ -23447,81 +38897,38 @@ - (BOOL)isEqualToTeamFolderAccessError:(DBTEAMTeamFolderAccessError *)aTeamFolde #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderAccessErrorSerializer +@implementation DBTEAMTeamFolderListContinueArgSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidTeamFolderId]) { - jsonDict[@".tag"] = @"invalid_team_folder_id"; - } else if ([valueObj isNoAccess]) { - jsonDict[@".tag"] = @"no_access"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"cursor"] = valueObj.cursor; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; - if ([tag isEqualToString:@"invalid_team_folder_id"]) { - return [[DBTEAMTeamFolderAccessError alloc] initWithInvalidTeamFolderId]; - } else if ([tag isEqualToString:@"no_access"]) { - return [[DBTEAMTeamFolderAccessError alloc] initWithNoAccess]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderAccessError alloc] initWithOther]; - } else { - return [[DBTEAMTeamFolderAccessError alloc] initWithOther]; - } + return [[DBTEAMTeamFolderListContinueArg alloc] initWithCursor:cursor]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMBaseTeamFolderError.h" -#import "DBTEAMTeamFolderAccessError.h" -#import "DBTEAMTeamFolderActivateError.h" -#import "DBTEAMTeamFolderInvalidStatusError.h" -#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderListContinueError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderActivateError - -@synthesize accessError = _accessError; -@synthesize statusError = _statusError; -@synthesize teamSharedDropboxError = _teamSharedDropboxError; +@implementation DBTEAMTeamFolderListContinueError #pragma mark - Constructors -- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderActivateErrorAccessError; - _accessError = accessError; - } - return self; -} - -- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderActivateErrorStatusError; - _statusError = statusError; - } - return self; -} - -- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { +- (instancetype)initWithInvalidCursor { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderActivateErrorTeamSharedDropboxError; - _teamSharedDropboxError = teamSharedDropboxError; + _tag = DBTEAMTeamFolderListContinueErrorInvalidCursor; } return self; } @@ -23529,66 +38936,29 @@ - (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropbo - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderActivateErrorOther; - } - return self; -} - -#pragma mark - Instance field accessors - -- (DBTEAMTeamFolderAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorAccessError, but was %@.", [self tagName]]; - } - return _accessError; -} - -- (DBTEAMTeamFolderInvalidStatusError *)statusError { - if (![self isStatusError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorStatusError, but was %@.", [self tagName]]; - } - return _statusError; -} - -- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - if (![self isTeamSharedDropboxError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderActivateErrorTeamSharedDropboxError, but was %@.", - [self tagName]]; + _tag = DBTEAMTeamFolderListContinueErrorOther; } - return _teamSharedDropboxError; -} - -#pragma mark - Tag state methods - -- (BOOL)isAccessError { - return _tag == DBTEAMTeamFolderActivateErrorAccessError; -} - -- (BOOL)isStatusError { - return _tag == DBTEAMTeamFolderActivateErrorStatusError; + return self; } -- (BOOL)isTeamSharedDropboxError { - return _tag == DBTEAMTeamFolderActivateErrorTeamSharedDropboxError; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInvalidCursor { + return _tag == DBTEAMTeamFolderListContinueErrorInvalidCursor; } - (BOOL)isOther { - return _tag == DBTEAMTeamFolderActivateErrorOther; + return _tag == DBTEAMTeamFolderListContinueErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderActivateErrorAccessError: - return @"DBTEAMTeamFolderActivateErrorAccessError"; - case DBTEAMTeamFolderActivateErrorStatusError: - return @"DBTEAMTeamFolderActivateErrorStatusError"; - case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: - return @"DBTEAMTeamFolderActivateErrorTeamSharedDropboxError"; - case DBTEAMTeamFolderActivateErrorOther: - return @"DBTEAMTeamFolderActivateErrorOther"; + case DBTEAMTeamFolderListContinueErrorInvalidCursor: + return @"DBTEAMTeamFolderListContinueErrorInvalidCursor"; + case DBTEAMTeamFolderListContinueErrorOther: + return @"DBTEAMTeamFolderListContinueErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -23596,18 +38966,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderActivateErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderActivateErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderActivateErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23625,14 +38995,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderActivateErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBTEAMTeamFolderActivateErrorStatusError: - result = prime * result + [self.statusError hash]; - case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: - result = prime * result + [self.teamSharedDropboxError hash]; - case DBTEAMTeamFolderActivateErrorOther: + case DBTEAMTeamFolderListContinueErrorInvalidCursor: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderListContinueErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -23647,25 +39015,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderActivateError:other]; + return [self isEqualToTeamFolderListContinueError:other]; } -- (BOOL)isEqualToTeamFolderActivateError:(DBTEAMTeamFolderActivateError *)aTeamFolderActivateError { - if (self == aTeamFolderActivateError) { +- (BOOL)isEqualToTeamFolderListContinueError:(DBTEAMTeamFolderListContinueError *)aTeamFolderListContinueError { + if (self == aTeamFolderListContinueError) { return YES; } - if (self.tag != aTeamFolderActivateError.tag) { + if (self.tag != aTeamFolderListContinueError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderActivateErrorAccessError: - return [self.accessError isEqual:aTeamFolderActivateError.accessError]; - case DBTEAMTeamFolderActivateErrorStatusError: - return [self.statusError isEqual:aTeamFolderActivateError.statusError]; - case DBTEAMTeamFolderActivateErrorTeamSharedDropboxError: - return [self.teamSharedDropboxError isEqual:aTeamFolderActivateError.teamSharedDropboxError]; - case DBTEAMTeamFolderActivateErrorOther: - return [[self tagName] isEqual:[aTeamFolderActivateError tagName]]; + case DBTEAMTeamFolderListContinueErrorInvalidCursor: + return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; + case DBTEAMTeamFolderListContinueErrorOther: + return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; } return YES; } @@ -23674,50 +39038,31 @@ - (BOOL)isEqualToTeamFolderActivateError:(DBTEAMTeamFolderActivateError *)aTeamF #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderActivateErrorSerializer +@implementation DBTEAMTeamFolderListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isStatusError]) { - jsonDict[@"status_error"] = - [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; - jsonDict[@".tag"] = @"status_error"; - } else if ([valueObj isTeamSharedDropboxError]) { - jsonDict[@"team_shared_dropbox_error"] = - [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; - jsonDict[@".tag"] = @"team_shared_dropbox_error"; + if ([valueObj isInvalidCursor]) { + jsonDict[@".tag"] = @"invalid_cursor"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"access_error"]) { - DBTEAMTeamFolderAccessError *accessError = - [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBTEAMTeamFolderActivateError alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"status_error"]) { - DBTEAMTeamFolderInvalidStatusError *statusError = - [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; - return [[DBTEAMTeamFolderActivateError alloc] initWithStatusError:statusError]; - } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { - DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = - [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; - return [[DBTEAMTeamFolderActivateError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + if ([tag isEqualToString:@"invalid_cursor"]) { + return [[DBTEAMTeamFolderListContinueError alloc] initWithInvalidCursor]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; + return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; } else { - return [[DBTEAMTeamFolderActivateError alloc] initWithOther]; + return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; } } @@ -23725,39 +39070,39 @@ + (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderIdArg.h" +#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderListError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderIdArg +@implementation DBTEAMTeamFolderListError #pragma mark - Constructors -- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { + [DBStoneValidators nonnullValidator:nil](accessError); self = [super init]; if (self) { - _teamFolderId = teamFolderId; + _accessError = accessError; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderIdArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderListErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderIdArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderListErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderIdArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23774,7 +39119,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolderId hash]; + result = prime * result + [self.accessError hash]; return prime * result; } @@ -23788,14 +39133,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderIdArg:other]; + return [self isEqualToTeamFolderListError:other]; } -- (BOOL)isEqualToTeamFolderIdArg:(DBTEAMTeamFolderIdArg *)aTeamFolderIdArg { - if (self == aTeamFolderIdArg) { +- (BOOL)isEqualToTeamFolderListError:(DBTEAMTeamFolderListError *)aTeamFolderListError { + if (self == aTeamFolderListError) { return YES; } - if (![self.teamFolderId isEqual:aTeamFolderIdArg.teamFolderId]) { + if (![self.accessError isEqual:aTeamFolderListError.accessError]) { return NO; } return YES; @@ -23805,64 +39150,69 @@ - (BOOL)isEqualToTeamFolderIdArg:(DBTEAMTeamFolderIdArg *)aTeamFolderIdArg { #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderIdArgSerializer +@implementation DBTEAMTeamFolderListErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folder_id"] = valueObj.teamFolderId; + jsonDict[@"access_error"] = [DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)valueDict { - NSString *teamFolderId = valueDict[@"team_folder_id"]; ++ (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBTEAMTeamFolderIdArg alloc] initWithTeamFolderId:teamFolderId]; + return [[DBTEAMTeamFolderListError alloc] initWithAccessError:accessError]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderArchiveArg.h" -#import "DBTEAMTeamFolderIdArg.h" +#import "DBTEAMTeamFolderListResult.h" +#import "DBTEAMTeamFolderMetadata.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderArchiveArg +@implementation DBTEAMTeamFolderListResult #pragma mark - Constructors -- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId forceAsyncOff:(NSNumber *)forceAsyncOff { +- (instancetype)initWithTeamFolders:(NSArray *)teamFolders + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](teamFolders); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); - self = [super initWithTeamFolderId:teamFolderId]; + self = [super init]; if (self) { - _forceAsyncOff = forceAsyncOff ?: @NO; + _teamFolders = teamFolders; + _cursor = cursor; + _hasMore = hasMore; } return self; } -- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { - return [self initWithTeamFolderId:teamFolderId forceAsyncOff:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderArchiveArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderListResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderArchiveArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderListResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderArchiveArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderListResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -23879,8 +39229,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolderId hash]; - result = prime * result + [self.forceAsyncOff hash]; + result = prime * result + [self.teamFolders hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; return prime * result; } @@ -23894,17 +39245,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderArchiveArg:other]; + return [self isEqualToTeamFolderListResult:other]; } -- (BOOL)isEqualToTeamFolderArchiveArg:(DBTEAMTeamFolderArchiveArg *)aTeamFolderArchiveArg { - if (self == aTeamFolderArchiveArg) { +- (BOOL)isEqualToTeamFolderListResult:(DBTEAMTeamFolderListResult *)aTeamFolderListResult { + if (self == aTeamFolderListResult) { return YES; } - if (![self.teamFolderId isEqual:aTeamFolderArchiveArg.teamFolderId]) { + if (![self.teamFolders isEqual:aTeamFolderListResult.teamFolders]) { return NO; } - if (![self.forceAsyncOff isEqual:aTeamFolderArchiveArg.forceAsyncOff]) { + if (![self.cursor isEqual:aTeamFolderListResult.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aTeamFolderListResult.hasMore]) { return NO; } return YES; @@ -23914,153 +39268,91 @@ - (BOOL)isEqualToTeamFolderArchiveArg:(DBTEAMTeamFolderArchiveArg *)aTeamFolderA #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderArchiveArgSerializer +@implementation DBTEAMTeamFolderListResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folder_id"] = valueObj.teamFolderId; - jsonDict[@"force_async_off"] = valueObj.forceAsyncOff; + jsonDict[@"team_folders"] = [DBArraySerializer serialize:valueObj.teamFolders + withBlock:^id(id elem0) { + return [DBTEAMTeamFolderMetadataSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)valueDict { - NSString *teamFolderId = valueDict[@"team_folder_id"]; - NSNumber *forceAsyncOff = valueDict[@"force_async_off"] ?: @NO; ++ (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)valueDict { + NSArray *teamFolders = + [DBArraySerializer deserialize:valueDict[@"team_folders"] + withBlock:^id(id elem0) { + return [DBTEAMTeamFolderMetadataSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; - return [[DBTEAMTeamFolderArchiveArg alloc] initWithTeamFolderId:teamFolderId forceAsyncOff:forceAsyncOff]; + return [[DBTEAMTeamFolderListResult alloc] initWithTeamFolders:teamFolders cursor:cursor hasMore:hasMore]; } @end +#import "DBFILESContentSyncSetting.h" +#import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMBaseTeamFolderError.h" -#import "DBTEAMTeamFolderAccessError.h" -#import "DBTEAMTeamFolderArchiveError.h" -#import "DBTEAMTeamFolderInvalidStatusError.h" -#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderMetadata.h" +#import "DBTEAMTeamFolderStatus.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderArchiveError - -@synthesize accessError = _accessError; -@synthesize statusError = _statusError; -@synthesize teamSharedDropboxError = _teamSharedDropboxError; +@implementation DBTEAMTeamFolderMetadata #pragma mark - Constructors -- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderArchiveErrorAccessError; - _accessError = accessError; - } - return self; -} - -- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderArchiveErrorStatusError; - _statusError = statusError; - } - return self; -} - -- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError; - _teamSharedDropboxError = teamSharedDropboxError; - } - return self; -} +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId + name:(NSString *)name + status:(DBTEAMTeamFolderStatus *)status + isTeamSharedDropbox:(NSNumber *)isTeamSharedDropbox + syncSetting:(DBFILESSyncSetting *)syncSetting + contentSyncSettings:(NSArray *)contentSyncSettings { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](isTeamSharedDropbox); + [DBStoneValidators nonnullValidator:nil](syncSetting); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](contentSyncSettings); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderArchiveErrorOther; + _teamFolderId = teamFolderId; + _name = name; + _status = status; + _isTeamSharedDropbox = isTeamSharedDropbox; + _syncSetting = syncSetting; + _contentSyncSettings = contentSyncSettings; } return self; } -#pragma mark - Instance field accessors - -- (DBTEAMTeamFolderAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorAccessError, but was %@.", [self tagName]]; - } - return _accessError; -} - -- (DBTEAMTeamFolderInvalidStatusError *)statusError { - if (![self isStatusError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorStatusError, but was %@.", [self tagName]]; - } - return _statusError; -} - -- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - if (![self isTeamSharedDropboxError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError, but was %@.", - [self tagName]]; - } - return _teamSharedDropboxError; -} - -#pragma mark - Tag state methods - -- (BOOL)isAccessError { - return _tag == DBTEAMTeamFolderArchiveErrorAccessError; -} - -- (BOOL)isStatusError { - return _tag == DBTEAMTeamFolderArchiveErrorStatusError; -} - -- (BOOL)isTeamSharedDropboxError { - return _tag == DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError; -} - -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderArchiveErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamFolderArchiveErrorAccessError: - return @"DBTEAMTeamFolderArchiveErrorAccessError"; - case DBTEAMTeamFolderArchiveErrorStatusError: - return @"DBTEAMTeamFolderArchiveErrorStatusError"; - case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: - return @"DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError"; - case DBTEAMTeamFolderArchiveErrorOther: - return @"DBTEAMTeamFolderArchiveErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderArchiveErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderMetadataSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderArchiveErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderMetadataSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderArchiveErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderMetadataSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24077,16 +39369,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamFolderArchiveErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBTEAMTeamFolderArchiveErrorStatusError: - result = prime * result + [self.statusError hash]; - case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: - result = prime * result + [self.teamSharedDropboxError hash]; - case DBTEAMTeamFolderArchiveErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.teamFolderId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.status hash]; + result = prime * result + [self.isTeamSharedDropbox hash]; + result = prime * result + [self.syncSetting hash]; + result = prime * result + [self.contentSyncSettings hash]; return prime * result; } @@ -24100,25 +39388,30 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderArchiveError:other]; + return [self isEqualToTeamFolderMetadata:other]; } -- (BOOL)isEqualToTeamFolderArchiveError:(DBTEAMTeamFolderArchiveError *)aTeamFolderArchiveError { - if (self == aTeamFolderArchiveError) { +- (BOOL)isEqualToTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)aTeamFolderMetadata { + if (self == aTeamFolderMetadata) { return YES; } - if (self.tag != aTeamFolderArchiveError.tag) { + if (![self.teamFolderId isEqual:aTeamFolderMetadata.teamFolderId]) { return NO; } - switch (_tag) { - case DBTEAMTeamFolderArchiveErrorAccessError: - return [self.accessError isEqual:aTeamFolderArchiveError.accessError]; - case DBTEAMTeamFolderArchiveErrorStatusError: - return [self.statusError isEqual:aTeamFolderArchiveError.statusError]; - case DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError: - return [self.teamSharedDropboxError isEqual:aTeamFolderArchiveError.teamSharedDropboxError]; - case DBTEAMTeamFolderArchiveErrorOther: - return [[self tagName] isEqual:[aTeamFolderArchiveError tagName]]; + if (![self.name isEqual:aTeamFolderMetadata.name]) { + return NO; + } + if (![self.status isEqual:aTeamFolderMetadata.status]) { + return NO; + } + if (![self.isTeamSharedDropbox isEqual:aTeamFolderMetadata.isTeamSharedDropbox]) { + return NO; + } + if (![self.syncSetting isEqual:aTeamFolderMetadata.syncSetting]) { + return NO; + } + if (![self.contentSyncSettings isEqual:aTeamFolderMetadata.contentSyncSettings]) { + return NO; } return YES; } @@ -24127,137 +39420,158 @@ - (BOOL)isEqualToTeamFolderArchiveError:(DBTEAMTeamFolderArchiveError *)aTeamFol #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderArchiveErrorSerializer +@implementation DBTEAMTeamFolderMetadataSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isStatusError]) { - jsonDict[@"status_error"] = - [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; - jsonDict[@".tag"] = @"status_error"; - } else if ([valueObj isTeamSharedDropboxError]) { - jsonDict[@"team_shared_dropbox_error"] = - [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; - jsonDict[@".tag"] = @"team_shared_dropbox_error"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"team_folder_id"] = valueObj.teamFolderId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"status"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.status]; + jsonDict[@"is_team_shared_dropbox"] = valueObj.isTeamSharedDropbox; + jsonDict[@"sync_setting"] = [DBFILESSyncSettingSerializer serialize:valueObj.syncSetting]; + jsonDict[@"content_sync_settings"] = + [DBArraySerializer serialize:valueObj.contentSyncSettings + withBlock:^id(id elem0) { + return [DBFILESContentSyncSettingSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)valueDict { + NSString *teamFolderId = valueDict[@"team_folder_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMTeamFolderStatus *status = [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"status"]]; + NSNumber *isTeamSharedDropbox = valueDict[@"is_team_shared_dropbox"]; + DBFILESSyncSetting *syncSetting = [DBFILESSyncSettingSerializer deserialize:valueDict[@"sync_setting"]]; + NSArray *contentSyncSettings = + [DBArraySerializer deserialize:valueDict[@"content_sync_settings"] + withBlock:^id(id elem0) { + return [DBFILESContentSyncSettingSerializer deserialize:elem0]; + }]; - if ([tag isEqualToString:@"access_error"]) { - DBTEAMTeamFolderAccessError *accessError = - [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBTEAMTeamFolderArchiveError alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"status_error"]) { - DBTEAMTeamFolderInvalidStatusError *statusError = - [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; - return [[DBTEAMTeamFolderArchiveError alloc] initWithStatusError:statusError]; - } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { - DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = - [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; - return [[DBTEAMTeamFolderArchiveError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderArchiveError alloc] initWithOther]; - } else { - return [[DBTEAMTeamFolderArchiveError alloc] initWithOther]; - } + return [[DBTEAMTeamFolderMetadata alloc] initWithTeamFolderId:teamFolderId + name:name + status:status + isTeamSharedDropbox:isTeamSharedDropbox + syncSetting:syncSetting + contentSyncSettings:contentSyncSettings]; } @end -#import "DBASYNCPollResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderArchiveError.h" -#import "DBTEAMTeamFolderArchiveJobStatus.h" -#import "DBTEAMTeamFolderMetadata.h" +#import "DBTEAMBaseTeamFolderError.h" +#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderInvalidStatusError.h" +#import "DBTEAMTeamFolderPermanentlyDeleteError.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderArchiveJobStatus +@implementation DBTEAMTeamFolderPermanentlyDeleteError -@synthesize complete = _complete; -@synthesize failed = _failed; +@synthesize accessError = _accessError; +@synthesize statusError = _statusError; +@synthesize teamSharedDropboxError = _teamSharedDropboxError; #pragma mark - Constructors -- (instancetype)initWithInProgress { +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderArchiveJobStatusInProgress; + _tag = DBTEAMTeamFolderPermanentlyDeleteErrorAccessError; + _accessError = accessError; } return self; } -- (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete { +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderArchiveJobStatusComplete; - _complete = complete; + _tag = DBTEAMTeamFolderPermanentlyDeleteErrorStatusError; + _statusError = statusError; } return self; } -- (instancetype)initWithFailed:(DBTEAMTeamFolderArchiveError *)failed { +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderArchiveJobStatusFailed; - _failed = failed; + _tag = DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError; + _teamSharedDropboxError = teamSharedDropboxError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderPermanentlyDeleteErrorOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMTeamFolderMetadata *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveJobStatusComplete, but was %@.", [self tagName]]; +- (DBTEAMTeamFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorAccessError, but was %@.", [self tagName]]; } - return _complete; + return _accessError; } -- (DBTEAMTeamFolderArchiveError *)failed { - if (![self isFailed]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveJobStatusFailed, but was %@.", [self tagName]]; +- (DBTEAMTeamFolderInvalidStatusError *)statusError { + if (![self isStatusError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorStatusError, but was %@.", [self tagName]]; } - return _failed; + return _statusError; +} + +- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + if (![self isTeamSharedDropboxError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError, but was %@.", + [self tagName]]; + } + return _teamSharedDropboxError; } #pragma mark - Tag state methods -- (BOOL)isInProgress { - return _tag == DBTEAMTeamFolderArchiveJobStatusInProgress; +- (BOOL)isAccessError { + return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorAccessError; } -- (BOOL)isComplete { - return _tag == DBTEAMTeamFolderArchiveJobStatusComplete; +- (BOOL)isStatusError { + return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorStatusError; } -- (BOOL)isFailed { - return _tag == DBTEAMTeamFolderArchiveJobStatusFailed; +- (BOOL)isTeamSharedDropboxError { + return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError; +} + +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderArchiveJobStatusInProgress: - return @"DBTEAMTeamFolderArchiveJobStatusInProgress"; - case DBTEAMTeamFolderArchiveJobStatusComplete: - return @"DBTEAMTeamFolderArchiveJobStatusComplete"; - case DBTEAMTeamFolderArchiveJobStatusFailed: - return @"DBTEAMTeamFolderArchiveJobStatusFailed"; + case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: + return @"DBTEAMTeamFolderPermanentlyDeleteErrorAccessError"; + case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: + return @"DBTEAMTeamFolderPermanentlyDeleteErrorStatusError"; + case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: + return @"DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError"; + case DBTEAMTeamFolderPermanentlyDeleteErrorOther: + return @"DBTEAMTeamFolderPermanentlyDeleteErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -24265,18 +39579,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderArchiveJobStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderArchiveJobStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderArchiveJobStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24294,12 +39608,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderArchiveJobStatusInProgress: + case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: + result = prime * result + [self.statusError hash]; + break; + case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: + result = prime * result + [self.teamSharedDropboxError hash]; + break; + case DBTEAMTeamFolderPermanentlyDeleteErrorOther: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderArchiveJobStatusComplete: - result = prime * result + [self.complete hash]; - case DBTEAMTeamFolderArchiveJobStatusFailed: - result = prime * result + [self.failed hash]; + break; } return prime * result; @@ -24314,23 +39634,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderArchiveJobStatus:other]; + return [self isEqualToTeamFolderPermanentlyDeleteError:other]; } -- (BOOL)isEqualToTeamFolderArchiveJobStatus:(DBTEAMTeamFolderArchiveJobStatus *)aTeamFolderArchiveJobStatus { - if (self == aTeamFolderArchiveJobStatus) { +- (BOOL)isEqualToTeamFolderPermanentlyDeleteError: + (DBTEAMTeamFolderPermanentlyDeleteError *)aTeamFolderPermanentlyDeleteError { + if (self == aTeamFolderPermanentlyDeleteError) { return YES; } - if (self.tag != aTeamFolderArchiveJobStatus.tag) { + if (self.tag != aTeamFolderPermanentlyDeleteError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderArchiveJobStatusInProgress: - return [[self tagName] isEqual:[aTeamFolderArchiveJobStatus tagName]]; - case DBTEAMTeamFolderArchiveJobStatusComplete: - return [self.complete isEqual:aTeamFolderArchiveJobStatus.complete]; - case DBTEAMTeamFolderArchiveJobStatusFailed: - return [self.failed isEqual:aTeamFolderArchiveJobStatus.failed]; + case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: + return [self.accessError isEqual:aTeamFolderPermanentlyDeleteError.accessError]; + case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: + return [self.statusError isEqual:aTeamFolderPermanentlyDeleteError.statusError]; + case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: + return [self.teamSharedDropboxError isEqual:aTeamFolderPermanentlyDeleteError.teamSharedDropboxError]; + case DBTEAMTeamFolderPermanentlyDeleteErrorOther: + return [[self tagName] isEqual:[aTeamFolderPermanentlyDeleteError tagName]]; } return YES; } @@ -24339,135 +39662,92 @@ - (BOOL)isEqualToTeamFolderArchiveJobStatus:(DBTEAMTeamFolderArchiveJobStatus *) #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderArchiveJobStatusSerializer +@implementation DBTEAMTeamFolderPermanentlyDeleteErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInProgress]) { - jsonDict[@".tag"] = @"in_progress"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else if ([valueObj isFailed]) { - jsonDict[@"failed"] = [[DBTEAMTeamFolderArchiveErrorSerializer serialize:valueObj.failed] mutableCopy]; - jsonDict[@".tag"] = @"failed"; + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isStatusError]) { + jsonDict[@"status_error"] = + [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; + jsonDict[@".tag"] = @"status_error"; + } else if ([valueObj isTeamSharedDropboxError]) { + jsonDict[@"team_shared_dropbox_error"] = + [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; + jsonDict[@".tag"] = @"team_shared_dropbox_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"in_progress"]) { - return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithInProgress]; - } else if ([tag isEqualToString:@"complete"]) { - DBTEAMTeamFolderMetadata *complete = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; - return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithComplete:complete]; - } else if ([tag isEqualToString:@"failed"]) { - DBTEAMTeamFolderArchiveError *failed = [DBTEAMTeamFolderArchiveErrorSerializer deserialize:valueDict[@"failed"]]; - return [[DBTEAMTeamFolderArchiveJobStatus alloc] initWithFailed:failed]; + if ([tag isEqualToString:@"access_error"]) { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"status_error"]) { + DBTEAMTeamFolderInvalidStatusError *statusError = + [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; + return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithStatusError:statusError]; + } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { + DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = + [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; + return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithOther]; } } @end -#import "DBASYNCLaunchResultBase.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderArchiveLaunch.h" -#import "DBTEAMTeamFolderMetadata.h" +#import "DBTEAMTeamFolderIdArg.h" +#import "DBTEAMTeamFolderRenameArg.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderArchiveLaunch - -@synthesize asyncJobId = _asyncJobId; -@synthesize complete = _complete; +@implementation DBTEAMTeamFolderRenameArg #pragma mark - Constructors -- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderArchiveLaunchAsyncJobId; - _asyncJobId = asyncJobId; - } - return self; -} +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId name:(NSString *)name { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); + [DBStoneValidators nonnullValidator:nil](name); -- (instancetype)initWithComplete:(DBTEAMTeamFolderMetadata *)complete { - self = [super init]; + self = [super initWithTeamFolderId:teamFolderId]; if (self) { - _tag = DBTEAMTeamFolderArchiveLaunchComplete; - _complete = complete; + _name = name; } return self; } -#pragma mark - Instance field accessors - -- (NSString *)asyncJobId { - if (![self isAsyncJobId]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveLaunchAsyncJobId, but was %@.", [self tagName]]; - } - return _asyncJobId; -} - -- (DBTEAMTeamFolderMetadata *)complete { - if (![self isComplete]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderArchiveLaunchComplete, but was %@.", [self tagName]]; - } - return _complete; -} - -#pragma mark - Tag state methods - -- (BOOL)isAsyncJobId { - return _tag == DBTEAMTeamFolderArchiveLaunchAsyncJobId; -} - -- (BOOL)isComplete { - return _tag == DBTEAMTeamFolderArchiveLaunchComplete; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamFolderArchiveLaunchAsyncJobId: - return @"DBTEAMTeamFolderArchiveLaunchAsyncJobId"; - case DBTEAMTeamFolderArchiveLaunchComplete: - return @"DBTEAMTeamFolderArchiveLaunchComplete"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderArchiveLaunchSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderRenameArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderArchiveLaunchSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderRenameArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderArchiveLaunchSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderRenameArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24484,12 +39764,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamFolderArchiveLaunchAsyncJobId: - result = prime * result + [self.asyncJobId hash]; - case DBTEAMTeamFolderArchiveLaunchComplete: - result = prime * result + [self.complete hash]; - } + result = prime * result + [self.teamFolderId hash]; + result = prime * result + [self.name hash]; return prime * result; } @@ -24503,21 +39779,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderArchiveLaunch:other]; + return [self isEqualToTeamFolderRenameArg:other]; } -- (BOOL)isEqualToTeamFolderArchiveLaunch:(DBTEAMTeamFolderArchiveLaunch *)aTeamFolderArchiveLaunch { - if (self == aTeamFolderArchiveLaunch) { +- (BOOL)isEqualToTeamFolderRenameArg:(DBTEAMTeamFolderRenameArg *)aTeamFolderRenameArg { + if (self == aTeamFolderRenameArg) { return YES; } - if (self.tag != aTeamFolderArchiveLaunch.tag) { + if (![self.teamFolderId isEqual:aTeamFolderRenameArg.teamFolderId]) { return NO; } - switch (_tag) { - case DBTEAMTeamFolderArchiveLaunchAsyncJobId: - return [self.asyncJobId isEqual:aTeamFolderArchiveLaunch.asyncJobId]; - case DBTEAMTeamFolderArchiveLaunchComplete: - return [self.complete isEqual:aTeamFolderArchiveLaunch.complete]; + if (![self.name isEqual:aTeamFolderRenameArg.name]) { + return NO; } return YES; } @@ -24526,79 +39799,195 @@ - (BOOL)isEqualToTeamFolderArchiveLaunch:(DBTEAMTeamFolderArchiveLaunch *)aTeamF #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderArchiveLaunchSerializer +@implementation DBTEAMTeamFolderRenameArgSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAsyncJobId]) { - jsonDict[@"async_job_id"] = valueObj.asyncJobId; - jsonDict[@".tag"] = @"async_job_id"; - } else if ([valueObj isComplete]) { - jsonDict[@"complete"] = [[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.complete] mutableCopy]; - jsonDict[@".tag"] = @"complete"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); - } + jsonDict[@"team_folder_id"] = valueObj.teamFolderId; + jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)valueDict { + NSString *teamFolderId = valueDict[@"team_folder_id"]; + NSString *name = valueDict[@"name"]; - if ([tag isEqualToString:@"async_job_id"]) { - NSString *asyncJobId = valueDict[@"async_job_id"]; - return [[DBTEAMTeamFolderArchiveLaunch alloc] initWithAsyncJobId:asyncJobId]; - } else if ([tag isEqualToString:@"complete"]) { - DBTEAMTeamFolderMetadata *complete = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; - return [[DBTEAMTeamFolderArchiveLaunch alloc] initWithComplete:complete]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); - } + return [[DBTEAMTeamFolderRenameArg alloc] initWithTeamFolderId:teamFolderId name:name]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderCreateArg.h" +#import "DBTEAMBaseTeamFolderError.h" +#import "DBTEAMTeamFolderAccessError.h" +#import "DBTEAMTeamFolderInvalidStatusError.h" +#import "DBTEAMTeamFolderRenameError.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderCreateArg +@implementation DBTEAMTeamFolderRenameError + +@synthesize accessError = _accessError; +@synthesize statusError = _statusError; +@synthesize teamSharedDropboxError = _teamSharedDropboxError; #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name { - [DBStoneValidators nonnullValidator:nil](name); +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorAccessError; + _accessError = accessError; + } + return self; +} +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { - _name = name; + _tag = DBTEAMTeamFolderRenameErrorStatusError; + _statusError = statusError; + } + return self; +} + +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorTeamSharedDropboxError; + _teamSharedDropboxError = teamSharedDropboxError; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorOther; + } + return self; +} + +- (instancetype)initWithInvalidFolderName { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorInvalidFolderName; + } + return self; +} + +- (instancetype)initWithFolderNameAlreadyUsed { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed; + } + return self; +} + +- (instancetype)initWithFolderNameReserved { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderRenameErrorFolderNameReserved; } return self; } +#pragma mark - Instance field accessors + +- (DBTEAMTeamFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorAccessError, but was %@.", [self tagName]]; + } + return _accessError; +} + +- (DBTEAMTeamFolderInvalidStatusError *)statusError { + if (![self isStatusError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorStatusError, but was %@.", [self tagName]]; + } + return _statusError; +} + +- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + if (![self isTeamSharedDropboxError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorTeamSharedDropboxError, but was %@.", [self tagName]]; + } + return _teamSharedDropboxError; +} + +#pragma mark - Tag state methods + +- (BOOL)isAccessError { + return _tag == DBTEAMTeamFolderRenameErrorAccessError; +} + +- (BOOL)isStatusError { + return _tag == DBTEAMTeamFolderRenameErrorStatusError; +} + +- (BOOL)isTeamSharedDropboxError { + return _tag == DBTEAMTeamFolderRenameErrorTeamSharedDropboxError; +} + +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderRenameErrorOther; +} + +- (BOOL)isInvalidFolderName { + return _tag == DBTEAMTeamFolderRenameErrorInvalidFolderName; +} + +- (BOOL)isFolderNameAlreadyUsed { + return _tag == DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed; +} + +- (BOOL)isFolderNameReserved { + return _tag == DBTEAMTeamFolderRenameErrorFolderNameReserved; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamFolderRenameErrorAccessError: + return @"DBTEAMTeamFolderRenameErrorAccessError"; + case DBTEAMTeamFolderRenameErrorStatusError: + return @"DBTEAMTeamFolderRenameErrorStatusError"; + case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: + return @"DBTEAMTeamFolderRenameErrorTeamSharedDropboxError"; + case DBTEAMTeamFolderRenameErrorOther: + return @"DBTEAMTeamFolderRenameErrorOther"; + case DBTEAMTeamFolderRenameErrorInvalidFolderName: + return @"DBTEAMTeamFolderRenameErrorInvalidFolderName"; + case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: + return @"DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed"; + case DBTEAMTeamFolderRenameErrorFolderNameReserved: + return @"DBTEAMTeamFolderRenameErrorFolderNameReserved"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderCreateArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderRenameErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderCreateArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderRenameErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderCreateArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderRenameErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24615,7 +40004,29 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; + switch (_tag) { + case DBTEAMTeamFolderRenameErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBTEAMTeamFolderRenameErrorStatusError: + result = prime * result + [self.statusError hash]; + break; + case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: + result = prime * result + [self.teamSharedDropboxError hash]; + break; + case DBTEAMTeamFolderRenameErrorOther: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderRenameErrorInvalidFolderName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderRenameErrorFolderNameReserved: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -24629,16 +40040,32 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderCreateArg:other]; + return [self isEqualToTeamFolderRenameError:other]; } -- (BOOL)isEqualToTeamFolderCreateArg:(DBTEAMTeamFolderCreateArg *)aTeamFolderCreateArg { - if (self == aTeamFolderCreateArg) { +- (BOOL)isEqualToTeamFolderRenameError:(DBTEAMTeamFolderRenameError *)aTeamFolderRenameError { + if (self == aTeamFolderRenameError) { return YES; } - if (![self.name isEqual:aTeamFolderCreateArg.name]) { + if (self.tag != aTeamFolderRenameError.tag) { return NO; } + switch (_tag) { + case DBTEAMTeamFolderRenameErrorAccessError: + return [self.accessError isEqual:aTeamFolderRenameError.accessError]; + case DBTEAMTeamFolderRenameErrorStatusError: + return [self.statusError isEqual:aTeamFolderRenameError.statusError]; + case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: + return [self.teamSharedDropboxError isEqual:aTeamFolderRenameError.teamSharedDropboxError]; + case DBTEAMTeamFolderRenameErrorOther: + return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; + case DBTEAMTeamFolderRenameErrorInvalidFolderName: + return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; + case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: + return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; + case DBTEAMTeamFolderRenameErrorFolderNameReserved: + return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; + } return YES; } @@ -24646,54 +40073,97 @@ - (BOOL)isEqualToTeamFolderCreateArg:(DBTEAMTeamFolderCreateArg *)aTeamFolderCre #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderCreateArgSerializer +@implementation DBTEAMTeamFolderRenameErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isStatusError]) { + jsonDict[@"status_error"] = + [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; + jsonDict[@".tag"] = @"status_error"; + } else if ([valueObj isTeamSharedDropboxError]) { + jsonDict[@"team_shared_dropbox_error"] = + [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; + jsonDict[@".tag"] = @"team_shared_dropbox_error"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else if ([valueObj isInvalidFolderName]) { + jsonDict[@".tag"] = @"invalid_folder_name"; + } else if ([valueObj isFolderNameAlreadyUsed]) { + jsonDict[@".tag"] = @"folder_name_already_used"; + } else if ([valueObj isFolderNameReserved]) { + jsonDict[@".tag"] = @"folder_name_reserved"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; ++ (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMTeamFolderCreateArg alloc] initWithName:name]; + if ([tag isEqualToString:@"access_error"]) { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBTEAMTeamFolderRenameError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"status_error"]) { + DBTEAMTeamFolderInvalidStatusError *statusError = + [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; + return [[DBTEAMTeamFolderRenameError alloc] initWithStatusError:statusError]; + } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { + DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = + [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; + return [[DBTEAMTeamFolderRenameError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderRenameError alloc] initWithOther]; + } else if ([tag isEqualToString:@"invalid_folder_name"]) { + return [[DBTEAMTeamFolderRenameError alloc] initWithInvalidFolderName]; + } else if ([tag isEqualToString:@"folder_name_already_used"]) { + return [[DBTEAMTeamFolderRenameError alloc] initWithFolderNameAlreadyUsed]; + } else if ([tag isEqualToString:@"folder_name_reserved"]) { + return [[DBTEAMTeamFolderRenameError alloc] initWithFolderNameReserved]; + } else { + return [[DBTEAMTeamFolderRenameError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderCreateError.h" +#import "DBTEAMTeamFolderStatus.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderCreateError +@implementation DBTEAMTeamFolderStatus #pragma mark - Constructors -- (instancetype)initWithInvalidFolderName { +- (instancetype)initWithActive { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderCreateErrorInvalidFolderName; + _tag = DBTEAMTeamFolderStatusActive; } return self; } -- (instancetype)initWithFolderNameAlreadyUsed { +- (instancetype)initWithArchived { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed; + _tag = DBTEAMTeamFolderStatusArchived; } return self; } -- (instancetype)initWithFolderNameReserved { +- (instancetype)initWithArchiveInProgress { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderCreateErrorFolderNameReserved; + _tag = DBTEAMTeamFolderStatusArchiveInProgress; } return self; } @@ -24701,7 +40171,7 @@ - (instancetype)initWithFolderNameReserved { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderCreateErrorOther; + _tag = DBTEAMTeamFolderStatusOther; } return self; } @@ -24710,32 +40180,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isInvalidFolderName { - return _tag == DBTEAMTeamFolderCreateErrorInvalidFolderName; +- (BOOL)isActive { + return _tag == DBTEAMTeamFolderStatusActive; } -- (BOOL)isFolderNameAlreadyUsed { - return _tag == DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed; +- (BOOL)isArchived { + return _tag == DBTEAMTeamFolderStatusArchived; } -- (BOOL)isFolderNameReserved { - return _tag == DBTEAMTeamFolderCreateErrorFolderNameReserved; +- (BOOL)isArchiveInProgress { + return _tag == DBTEAMTeamFolderStatusArchiveInProgress; } - (BOOL)isOther { - return _tag == DBTEAMTeamFolderCreateErrorOther; + return _tag == DBTEAMTeamFolderStatusOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderCreateErrorInvalidFolderName: - return @"DBTEAMTeamFolderCreateErrorInvalidFolderName"; - case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: - return @"DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed"; - case DBTEAMTeamFolderCreateErrorFolderNameReserved: - return @"DBTEAMTeamFolderCreateErrorFolderNameReserved"; - case DBTEAMTeamFolderCreateErrorOther: - return @"DBTEAMTeamFolderCreateErrorOther"; + case DBTEAMTeamFolderStatusActive: + return @"DBTEAMTeamFolderStatusActive"; + case DBTEAMTeamFolderStatusArchived: + return @"DBTEAMTeamFolderStatusArchived"; + case DBTEAMTeamFolderStatusArchiveInProgress: + return @"DBTEAMTeamFolderStatusArchiveInProgress"; + case DBTEAMTeamFolderStatusOther: + return @"DBTEAMTeamFolderStatusOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -24743,18 +40213,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderCreateErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderCreateErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderCreateErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24772,14 +40242,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderCreateErrorInvalidFolderName: + case DBTEAMTeamFolderStatusActive: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: + break; + case DBTEAMTeamFolderStatusArchived: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderCreateErrorFolderNameReserved: + break; + case DBTEAMTeamFolderStatusArchiveInProgress: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderCreateErrorOther: + break; + case DBTEAMTeamFolderStatusOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24794,25 +40268,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderCreateError:other]; + return [self isEqualToTeamFolderStatus:other]; } -- (BOOL)isEqualToTeamFolderCreateError:(DBTEAMTeamFolderCreateError *)aTeamFolderCreateError { - if (self == aTeamFolderCreateError) { +- (BOOL)isEqualToTeamFolderStatus:(DBTEAMTeamFolderStatus *)aTeamFolderStatus { + if (self == aTeamFolderStatus) { return YES; } - if (self.tag != aTeamFolderCreateError.tag) { + if (self.tag != aTeamFolderStatus.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderCreateErrorInvalidFolderName: - return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; - case DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed: - return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; - case DBTEAMTeamFolderCreateErrorFolderNameReserved: - return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; - case DBTEAMTeamFolderCreateErrorOther: - return [[self tagName] isEqual:[aTeamFolderCreateError tagName]]; + case DBTEAMTeamFolderStatusActive: + return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; + case DBTEAMTeamFolderStatusArchived: + return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; + case DBTEAMTeamFolderStatusArchiveInProgress: + return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; + case DBTEAMTeamFolderStatusOther: + return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; } return YES; } @@ -24821,39 +40295,39 @@ - (BOOL)isEqualToTeamFolderCreateError:(DBTEAMTeamFolderCreateError *)aTeamFolde #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderCreateErrorSerializer +@implementation DBTEAMTeamFolderStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidFolderName]) { - jsonDict[@".tag"] = @"invalid_folder_name"; - } else if ([valueObj isFolderNameAlreadyUsed]) { - jsonDict[@".tag"] = @"folder_name_already_used"; - } else if ([valueObj isFolderNameReserved]) { - jsonDict[@".tag"] = @"folder_name_reserved"; + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isArchived]) { + jsonDict[@".tag"] = @"archived"; + } else if ([valueObj isArchiveInProgress]) { + jsonDict[@".tag"] = @"archive_in_progress"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"invalid_folder_name"]) { - return [[DBTEAMTeamFolderCreateError alloc] initWithInvalidFolderName]; - } else if ([tag isEqualToString:@"folder_name_already_used"]) { - return [[DBTEAMTeamFolderCreateError alloc] initWithFolderNameAlreadyUsed]; - } else if ([tag isEqualToString:@"folder_name_reserved"]) { - return [[DBTEAMTeamFolderCreateError alloc] initWithFolderNameReserved]; + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMTeamFolderStatus alloc] initWithActive]; + } else if ([tag isEqualToString:@"archived"]) { + return [[DBTEAMTeamFolderStatus alloc] initWithArchived]; + } else if ([tag isEqualToString:@"archive_in_progress"]) { + return [[DBTEAMTeamFolderStatus alloc] initWithArchiveInProgress]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderCreateError alloc] initWithOther]; + return [[DBTEAMTeamFolderStatus alloc] initWithOther]; } else { - return [[DBTEAMTeamFolderCreateError alloc] initWithOther]; + return [[DBTEAMTeamFolderStatus alloc] initWithOther]; } } @@ -24861,71 +40335,48 @@ + (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderGetInfoItem.h" -#import "DBTEAMTeamFolderMetadata.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderGetInfoItem - -@synthesize idNotFound = _idNotFound; -@synthesize teamFolderMetadata = _teamFolderMetadata; +@implementation DBTEAMTeamFolderTeamSharedDropboxError #pragma mark - Constructors -- (instancetype)initWithIdNotFound:(NSString *)idNotFound { +- (instancetype)initWithDisallowed { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderGetInfoItemIdNotFound; - _idNotFound = idNotFound; + _tag = DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed; } return self; } -- (instancetype)initWithTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)teamFolderMetadata { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderGetInfoItemTeamFolderMetadata; - _teamFolderMetadata = teamFolderMetadata; + _tag = DBTEAMTeamFolderTeamSharedDropboxErrorOther; } return self; } #pragma mark - Instance field accessors -- (NSString *)idNotFound { - if (![self isIdNotFound]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderGetInfoItemIdNotFound, but was %@.", [self tagName]]; - } - return _idNotFound; -} - -- (DBTEAMTeamFolderMetadata *)teamFolderMetadata { - if (![self isTeamFolderMetadata]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderGetInfoItemTeamFolderMetadata, but was %@.", [self tagName]]; - } - return _teamFolderMetadata; -} - #pragma mark - Tag state methods -- (BOOL)isIdNotFound { - return _tag == DBTEAMTeamFolderGetInfoItemIdNotFound; +- (BOOL)isDisallowed { + return _tag == DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed; } -- (BOOL)isTeamFolderMetadata { - return _tag == DBTEAMTeamFolderGetInfoItemTeamFolderMetadata; +- (BOOL)isOther { + return _tag == DBTEAMTeamFolderTeamSharedDropboxErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderGetInfoItemIdNotFound: - return @"DBTEAMTeamFolderGetInfoItemIdNotFound"; - case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: - return @"DBTEAMTeamFolderGetInfoItemTeamFolderMetadata"; + case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: + return @"DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed"; + case DBTEAMTeamFolderTeamSharedDropboxErrorOther: + return @"DBTEAMTeamFolderTeamSharedDropboxErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -24933,18 +40384,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderGetInfoItemSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderGetInfoItemSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderGetInfoItemSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -24962,10 +40413,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderGetInfoItemIdNotFound: - result = prime * result + [self.idNotFound hash]; - case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: - result = prime * result + [self.teamFolderMetadata hash]; + case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderTeamSharedDropboxErrorOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24980,21 +40433,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderGetInfoItem:other]; + return [self isEqualToTeamFolderTeamSharedDropboxError:other]; } -- (BOOL)isEqualToTeamFolderGetInfoItem:(DBTEAMTeamFolderGetInfoItem *)aTeamFolderGetInfoItem { - if (self == aTeamFolderGetInfoItem) { +- (BOOL)isEqualToTeamFolderTeamSharedDropboxError: + (DBTEAMTeamFolderTeamSharedDropboxError *)aTeamFolderTeamSharedDropboxError { + if (self == aTeamFolderTeamSharedDropboxError) { return YES; } - if (self.tag != aTeamFolderGetInfoItem.tag) { + if (self.tag != aTeamFolderTeamSharedDropboxError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderGetInfoItemIdNotFound: - return [self.idNotFound isEqual:aTeamFolderGetInfoItem.idNotFound]; - case DBTEAMTeamFolderGetInfoItemTeamFolderMetadata: - return [self.teamFolderMetadata isEqual:aTeamFolderGetInfoItem.teamFolderMetadata]; + case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: + return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; + case DBTEAMTeamFolderTeamSharedDropboxErrorOther: + return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; } return YES; } @@ -25003,88 +40457,85 @@ - (BOOL)isEqualToTeamFolderGetInfoItem:(DBTEAMTeamFolderGetInfoItem *)aTeamFolde #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderGetInfoItemSerializer +@implementation DBTEAMTeamFolderTeamSharedDropboxErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isIdNotFound]) { - jsonDict[@"id_not_found"] = valueObj.idNotFound; - jsonDict[@".tag"] = @"id_not_found"; - } else if ([valueObj isTeamFolderMetadata]) { - jsonDict[@"team_folder_metadata"] = - [[DBTEAMTeamFolderMetadataSerializer serialize:valueObj.teamFolderMetadata] mutableCopy]; - jsonDict[@".tag"] = @"team_folder_metadata"; + if ([valueObj isDisallowed]) { + jsonDict[@".tag"] = @"disallowed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"id_not_found"]) { - NSString *idNotFound = valueDict[@"id_not_found"]; - return [[DBTEAMTeamFolderGetInfoItem alloc] initWithIdNotFound:idNotFound]; - } else if ([tag isEqualToString:@"team_folder_metadata"]) { - DBTEAMTeamFolderMetadata *teamFolderMetadata = [DBTEAMTeamFolderMetadataSerializer deserialize:valueDict]; - return [[DBTEAMTeamFolderGetInfoItem alloc] initWithTeamFolderMetadata:teamFolderMetadata]; + if ([tag isEqualToString:@"disallowed"]) { + return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithDisallowed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; } } @end +#import "DBFILESContentSyncSettingArg.h" +#import "DBFILESSyncSettingArg.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderIdListArg.h" +#import "DBTEAMTeamFolderIdArg.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsArg.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderIdListArg +@implementation DBTEAMTeamFolderUpdateSyncSettingsArg #pragma mark - Constructors -- (instancetype)initWithTeamFolderIds:(NSArray *)teamFolderIds { +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId + syncSetting:(DBFILESSyncSettingArg *)syncSetting + contentSyncSettings:(NSArray *)contentSyncSettings { [DBStoneValidators - nonnullValidator:[DBStoneValidators - arrayValidator:@(1) - maxItems:nil - itemValidator:[DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:nil - pattern:@"[-_0-9a-zA-Z:]+"]]]]( - teamFolderIds); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](contentSyncSettings); - self = [super init]; + self = [super initWithTeamFolderId:teamFolderId]; if (self) { - _teamFolderIds = teamFolderIds; + _syncSetting = syncSetting; + _contentSyncSettings = contentSyncSettings; } return self; } +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId { + return [self initWithTeamFolderId:teamFolderId syncSetting:nil contentSyncSettings:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderIdListArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderUpdateSyncSettingsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderIdListArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderUpdateSyncSettingsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderIdListArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderUpdateSyncSettingsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25101,7 +40552,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolderIds hash]; + result = prime * result + [self.teamFolderId hash]; + if (self.syncSetting != nil) { + result = prime * result + [self.syncSetting hash]; + } + if (self.contentSyncSettings != nil) { + result = prime * result + [self.contentSyncSettings hash]; + } return prime * result; } @@ -25115,16 +40572,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderIdListArg:other]; + return [self isEqualToTeamFolderUpdateSyncSettingsArg:other]; } -- (BOOL)isEqualToTeamFolderIdListArg:(DBTEAMTeamFolderIdListArg *)aTeamFolderIdListArg { - if (self == aTeamFolderIdListArg) { +- (BOOL)isEqualToTeamFolderUpdateSyncSettingsArg: + (DBTEAMTeamFolderUpdateSyncSettingsArg *)aTeamFolderUpdateSyncSettingsArg { + if (self == aTeamFolderUpdateSyncSettingsArg) { return YES; } - if (![self.teamFolderIds isEqual:aTeamFolderIdListArg.teamFolderIds]) { + if (![self.teamFolderId isEqual:aTeamFolderUpdateSyncSettingsArg.teamFolderId]) { return NO; } + if (self.syncSetting) { + if (![self.syncSetting isEqual:aTeamFolderUpdateSyncSettingsArg.syncSetting]) { + return NO; + } + } + if (self.contentSyncSettings) { + if (![self.contentSyncSettings isEqual:aTeamFolderUpdateSyncSettingsArg.contentSyncSettings]) { + return NO; + } + } return YES; } @@ -25132,60 +40600,88 @@ - (BOOL)isEqualToTeamFolderIdListArg:(DBTEAMTeamFolderIdListArg *)aTeamFolderIdL #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderIdListArgSerializer +@implementation DBTEAMTeamFolderUpdateSyncSettingsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folder_ids"] = [DBArraySerializer serialize:valueObj.teamFolderIds - withBlock:^id(id elem0) { - return elem0; - }]; + jsonDict[@"team_folder_id"] = valueObj.teamFolderId; + if (valueObj.syncSetting) { + jsonDict[@"sync_setting"] = [DBFILESSyncSettingArgSerializer serialize:valueObj.syncSetting]; + } + if (valueObj.contentSyncSettings) { + jsonDict[@"content_sync_settings"] = + [DBArraySerializer serialize:valueObj.contentSyncSettings + withBlock:^id(id elem0) { + return [DBFILESContentSyncSettingArgSerializer serialize:elem0]; + }]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)valueDict { - NSArray *teamFolderIds = [DBArraySerializer deserialize:valueDict[@"team_folder_ids"] - withBlock:^id(id elem0) { - return elem0; - }]; ++ (DBTEAMTeamFolderUpdateSyncSettingsArg *)deserialize:(NSDictionary *)valueDict { + NSString *teamFolderId = valueDict[@"team_folder_id"]; + DBFILESSyncSettingArg *syncSetting = + valueDict[@"sync_setting"] ? [DBFILESSyncSettingArgSerializer deserialize:valueDict[@"sync_setting"]] : nil; + NSArray *contentSyncSettings = + valueDict[@"content_sync_settings"] + ? [DBArraySerializer deserialize:valueDict[@"content_sync_settings"] + withBlock:^id(id elem0) { + return [DBFILESContentSyncSettingArgSerializer deserialize:elem0]; + }] + : nil; - return [[DBTEAMTeamFolderIdListArg alloc] initWithTeamFolderIds:teamFolderIds]; + return [[DBTEAMTeamFolderUpdateSyncSettingsArg alloc] initWithTeamFolderId:teamFolderId + syncSetting:syncSetting + contentSyncSettings:contentSyncSettings]; } @end +#import "DBFILESSyncSettingsError.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" +#import "DBTEAMBaseTeamFolderError.h" +#import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderInvalidStatusError.h" +#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderInvalidStatusError +@implementation DBTEAMTeamFolderUpdateSyncSettingsError + +@synthesize accessError = _accessError; +@synthesize statusError = _statusError; +@synthesize teamSharedDropboxError = _teamSharedDropboxError; +@synthesize syncSettingsError = _syncSettingsError; #pragma mark - Constructors -- (instancetype)initWithActive { +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderInvalidStatusErrorActive; + _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError; + _accessError = accessError; } return self; } -- (instancetype)initWithArchived { +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderInvalidStatusErrorArchived; + _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError; + _statusError = statusError; } return self; } -- (instancetype)initWithArchiveInProgress { +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; + _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError; + _teamSharedDropboxError = teamSharedDropboxError; } return self; } @@ -25193,41 +40689,93 @@ - (instancetype)initWithArchiveInProgress { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderInvalidStatusErrorOther; + _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorOther; + } + return self; +} + +- (instancetype)initWithSyncSettingsError:(DBFILESSyncSettingsError *)syncSettingsError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError; + _syncSettingsError = syncSettingsError; } return self; } #pragma mark - Instance field accessors +- (DBTEAMTeamFolderAccessError *)accessError { + if (![self isAccessError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError, but was %@.", + [self tagName]]; + } + return _accessError; +} + +- (DBTEAMTeamFolderInvalidStatusError *)statusError { + if (![self isStatusError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError, but was %@.", + [self tagName]]; + } + return _statusError; +} + +- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { + if (![self isTeamSharedDropboxError]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError, but was %@.", + [self tagName]]; + } + return _teamSharedDropboxError; +} + +- (DBFILESSyncSettingsError *)syncSettingsError { + if (![self isSyncSettingsError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError, but was %@.", + [self tagName]]; + } + return _syncSettingsError; +} + #pragma mark - Tag state methods -- (BOOL)isActive { - return _tag == DBTEAMTeamFolderInvalidStatusErrorActive; +- (BOOL)isAccessError { + return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError; } -- (BOOL)isArchived { - return _tag == DBTEAMTeamFolderInvalidStatusErrorArchived; +- (BOOL)isStatusError { + return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError; } -- (BOOL)isArchiveInProgress { - return _tag == DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress; +- (BOOL)isTeamSharedDropboxError { + return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError; } - (BOOL)isOther { - return _tag == DBTEAMTeamFolderInvalidStatusErrorOther; + return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorOther; +} + +- (BOOL)isSyncSettingsError { + return _tag == DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderInvalidStatusErrorActive: - return @"DBTEAMTeamFolderInvalidStatusErrorActive"; - case DBTEAMTeamFolderInvalidStatusErrorArchived: - return @"DBTEAMTeamFolderInvalidStatusErrorArchived"; - case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: - return @"DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress"; - case DBTEAMTeamFolderInvalidStatusErrorOther: - return @"DBTEAMTeamFolderInvalidStatusErrorOther"; + case DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError: + return @"DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError"; + case DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError: + return @"DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError"; + case DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError: + return @"DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError"; + case DBTEAMTeamFolderUpdateSyncSettingsErrorOther: + return @"DBTEAMTeamFolderUpdateSyncSettingsErrorOther"; + case DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError: + return @"DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -25235,18 +40783,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25264,14 +40812,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderInvalidStatusErrorActive: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderInvalidStatusErrorArchived: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderInvalidStatusErrorOther: + case DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError: + result = prime * result + [self.accessError hash]; + break; + case DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError: + result = prime * result + [self.statusError hash]; + break; + case DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError: + result = prime * result + [self.teamSharedDropboxError hash]; + break; + case DBTEAMTeamFolderUpdateSyncSettingsErrorOther: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError: + result = prime * result + [self.syncSettingsError hash]; + break; } return prime * result; @@ -25286,25 +40841,28 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderInvalidStatusError:other]; + return [self isEqualToTeamFolderUpdateSyncSettingsError:other]; } -- (BOOL)isEqualToTeamFolderInvalidStatusError:(DBTEAMTeamFolderInvalidStatusError *)aTeamFolderInvalidStatusError { - if (self == aTeamFolderInvalidStatusError) { +- (BOOL)isEqualToTeamFolderUpdateSyncSettingsError: + (DBTEAMTeamFolderUpdateSyncSettingsError *)aTeamFolderUpdateSyncSettingsError { + if (self == aTeamFolderUpdateSyncSettingsError) { return YES; } - if (self.tag != aTeamFolderInvalidStatusError.tag) { + if (self.tag != aTeamFolderUpdateSyncSettingsError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderInvalidStatusErrorActive: - return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; - case DBTEAMTeamFolderInvalidStatusErrorArchived: - return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; - case DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress: - return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; - case DBTEAMTeamFolderInvalidStatusErrorOther: - return [[self tagName] isEqual:[aTeamFolderInvalidStatusError tagName]]; + case DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError: + return [self.accessError isEqual:aTeamFolderUpdateSyncSettingsError.accessError]; + case DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError: + return [self.statusError isEqual:aTeamFolderUpdateSyncSettingsError.statusError]; + case DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError: + return [self.teamSharedDropboxError isEqual:aTeamFolderUpdateSyncSettingsError.teamSharedDropboxError]; + case DBTEAMTeamFolderUpdateSyncSettingsErrorOther: + return [[self tagName] isEqual:[aTeamFolderUpdateSyncSettingsError tagName]]; + case DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError: + return [self.syncSettingsError isEqual:aTeamFolderUpdateSyncSettingsError.syncSettingsError]; } return YES; } @@ -25313,81 +40871,264 @@ - (BOOL)isEqualToTeamFolderInvalidStatusError:(DBTEAMTeamFolderInvalidStatusErro #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderInvalidStatusErrorSerializer +@implementation DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isActive]) { - jsonDict[@".tag"] = @"active"; - } else if ([valueObj isArchived]) { - jsonDict[@".tag"] = @"archived"; - } else if ([valueObj isArchiveInProgress]) { - jsonDict[@".tag"] = @"archive_in_progress"; + if ([valueObj isAccessError]) { + jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; + jsonDict[@".tag"] = @"access_error"; + } else if ([valueObj isStatusError]) { + jsonDict[@"status_error"] = + [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; + jsonDict[@".tag"] = @"status_error"; + } else if ([valueObj isTeamSharedDropboxError]) { + jsonDict[@"team_shared_dropbox_error"] = + [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; + jsonDict[@".tag"] = @"team_shared_dropbox_error"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isSyncSettingsError]) { + jsonDict[@"sync_settings_error"] = + [[DBFILESSyncSettingsErrorSerializer serialize:valueObj.syncSettingsError] mutableCopy]; + jsonDict[@".tag"] = @"sync_settings_error"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamFolderUpdateSyncSettingsError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"active"]) { - return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithActive]; - } else if ([tag isEqualToString:@"archived"]) { - return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithArchived]; - } else if ([tag isEqualToString:@"archive_in_progress"]) { - return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithArchiveInProgress]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithOther]; - } else { - return [[DBTEAMTeamFolderInvalidStatusError alloc] initWithOther]; - } + if ([tag isEqualToString:@"access_error"]) { + DBTEAMTeamFolderAccessError *accessError = + [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithAccessError:accessError]; + } else if ([tag isEqualToString:@"status_error"]) { + DBTEAMTeamFolderInvalidStatusError *statusError = + [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithStatusError:statusError]; + } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { + DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = + [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithOther]; + } else if ([tag isEqualToString:@"sync_settings_error"]) { + DBFILESSyncSettingsError *syncSettingsError = + [DBFILESSyncSettingsErrorSerializer deserialize:valueDict[@"sync_settings_error"]]; + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithSyncSettingsError:syncSettingsError]; + } else { + return [[DBTEAMTeamFolderUpdateSyncSettingsError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESTeamMemberPolicies.h" +#import "DBTEAMTeamGetInfoResult.h" + +#pragma mark - API Object + +@implementation DBTEAMTeamGetInfoResult + +#pragma mark - Constructors + +- (instancetype)initWithName:(NSString *)name + teamId:(NSString *)teamId + numLicensedUsers:(NSNumber *)numLicensedUsers + numProvisionedUsers:(NSNumber *)numProvisionedUsers + policies:(DBTEAMPOLICIESTeamMemberPolicies *)policies + numUsedLicenses:(NSNumber *)numUsedLicenses { + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](teamId); + [DBStoneValidators nonnullValidator:nil](numLicensedUsers); + [DBStoneValidators nonnullValidator:nil](numProvisionedUsers); + [DBStoneValidators nonnullValidator:nil](policies); + + self = [super init]; + if (self) { + _name = name; + _teamId = teamId; + _numLicensedUsers = numLicensedUsers; + _numProvisionedUsers = numProvisionedUsers; + _numUsedLicenses = numUsedLicenses ?: @(0); + _policies = policies; + } + return self; +} + +- (instancetype)initWithName:(NSString *)name + teamId:(NSString *)teamId + numLicensedUsers:(NSNumber *)numLicensedUsers + numProvisionedUsers:(NSNumber *)numProvisionedUsers + policies:(DBTEAMPOLICIESTeamMemberPolicies *)policies { + return [self initWithName:name + teamId:teamId + numLicensedUsers:numLicensedUsers + numProvisionedUsers:numProvisionedUsers + policies:policies + numUsedLicenses:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamGetInfoResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamGetInfoResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMTeamGetInfoResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.name hash]; + result = prime * result + [self.teamId hash]; + result = prime * result + [self.numLicensedUsers hash]; + result = prime * result + [self.numProvisionedUsers hash]; + result = prime * result + [self.policies hash]; + result = prime * result + [self.numUsedLicenses hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamGetInfoResult:other]; +} + +- (BOOL)isEqualToTeamGetInfoResult:(DBTEAMTeamGetInfoResult *)aTeamGetInfoResult { + if (self == aTeamGetInfoResult) { + return YES; + } + if (![self.name isEqual:aTeamGetInfoResult.name]) { + return NO; + } + if (![self.teamId isEqual:aTeamGetInfoResult.teamId]) { + return NO; + } + if (![self.numLicensedUsers isEqual:aTeamGetInfoResult.numLicensedUsers]) { + return NO; + } + if (![self.numProvisionedUsers isEqual:aTeamGetInfoResult.numProvisionedUsers]) { + return NO; + } + if (![self.policies isEqual:aTeamGetInfoResult.policies]) { + return NO; + } + if (![self.numUsedLicenses isEqual:aTeamGetInfoResult.numUsedLicenses]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMTeamGetInfoResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMTeamGetInfoResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"name"] = valueObj.name; + jsonDict[@"team_id"] = valueObj.teamId; + jsonDict[@"num_licensed_users"] = valueObj.numLicensedUsers; + jsonDict[@"num_provisioned_users"] = valueObj.numProvisionedUsers; + jsonDict[@"policies"] = [DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:valueObj.policies]; + jsonDict[@"num_used_licenses"] = valueObj.numUsedLicenses; + + return jsonDict; +} + ++ (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)valueDict { + NSString *name = valueDict[@"name"]; + NSString *teamId = valueDict[@"team_id"]; + NSNumber *numLicensedUsers = valueDict[@"num_licensed_users"]; + NSNumber *numProvisionedUsers = valueDict[@"num_provisioned_users"]; + DBTEAMPOLICIESTeamMemberPolicies *policies = + [DBTEAMPOLICIESTeamMemberPoliciesSerializer deserialize:valueDict[@"policies"]]; + NSNumber *numUsedLicenses = valueDict[@"num_used_licenses"] ?: @(0); + + return [[DBTEAMTeamGetInfoResult alloc] initWithName:name + teamId:teamId + numLicensedUsers:numLicensedUsers + numProvisionedUsers:numProvisionedUsers + policies:policies + numUsedLicenses:numUsedLicenses]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderListArg.h" +#import "DBTEAMAdminTier.h" +#import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMTeamMemberProfile.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderListArg +@implementation DBTEAMTeamMemberInfo #pragma mark - Constructors -- (instancetype)initWithLimit:(NSNumber *)limit { +- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile role:(DBTEAMAdminTier *)role { + [DBStoneValidators nonnullValidator:nil](profile); + [DBStoneValidators nonnullValidator:nil](role); self = [super init]; if (self) { - _limit = limit ?: @(1000); + _profile = profile; + _role = role; } return self; } -- (instancetype)initDefault { - return [self initWithLimit:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderListArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderListArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderListArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25404,7 +41145,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.limit hash]; + result = prime * result + [self.profile hash]; + result = prime * result + [self.role hash]; return prime * result; } @@ -25418,14 +41160,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderListArg:other]; + return [self isEqualToTeamMemberInfo:other]; } -- (BOOL)isEqualToTeamFolderListArg:(DBTEAMTeamFolderListArg *)aTeamFolderListArg { - if (self == aTeamFolderListArg) { +- (BOOL)isEqualToTeamMemberInfo:(DBTEAMTeamMemberInfo *)aTeamMemberInfo { + if (self == aTeamMemberInfo) { return YES; } - if (![self.limit isEqual:aTeamFolderListArg.limit]) { + if (![self.profile isEqual:aTeamMemberInfo.profile]) { + return NO; + } + if (![self.role isEqual:aTeamMemberInfo.role]) { return NO; } return YES; @@ -25435,58 +41180,71 @@ - (BOOL)isEqualToTeamFolderListArg:(DBTEAMTeamFolderListArg *)aTeamFolderListArg #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderListArgSerializer +@implementation DBTEAMTeamMemberInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"limit"] = valueObj.limit; + jsonDict[@"profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.profile]; + jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)valueDict { - NSNumber *limit = valueDict[@"limit"] ?: @(1000); ++ (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamMemberProfile *profile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"profile"]]; + DBTEAMAdminTier *role = [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]]; - return [[DBTEAMTeamFolderListArg alloc] initWithLimit:limit]; + return [[DBTEAMTeamMemberInfo alloc] initWithProfile:profile role:role]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderListContinueArg.h" +#import "DBTEAMTeamMemberInfoV2.h" +#import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTeamMemberRole.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderListContinueArg +@implementation DBTEAMTeamMemberInfoV2 #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:nil](cursor); +- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile roles:(NSArray *)roles { + [DBStoneValidators nonnullValidator:nil](profile); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](roles); self = [super init]; if (self) { - _cursor = cursor; + _profile = profile; + _roles = roles; } return self; } +- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile { + return [self initWithProfile:profile roles:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderListContinueArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberInfoV2Serializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderListContinueArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberInfoV2Serializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderListContinueArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberInfoV2Serializer serialize:self] description]; } #pragma mark - Copyable method @@ -25503,7 +41261,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.profile hash]; + if (self.roles != nil) { + result = prime * result + [self.roles hash]; + } return prime * result; } @@ -25517,16 +41278,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderListContinueArg:other]; + return [self isEqualToTeamMemberInfoV2:other]; } -- (BOOL)isEqualToTeamFolderListContinueArg:(DBTEAMTeamFolderListContinueArg *)aTeamFolderListContinueArg { - if (self == aTeamFolderListContinueArg) { +- (BOOL)isEqualToTeamMemberInfoV2:(DBTEAMTeamMemberInfoV2 *)aTeamMemberInfoV2 { + if (self == aTeamMemberInfoV2) { return YES; } - if (![self.cursor isEqual:aTeamFolderListContinueArg.cursor]) { + if (![self.profile isEqual:aTeamMemberInfoV2.profile]) { return NO; } + if (self.roles) { + if (![self.roles isEqual:aTeamMemberInfoV2.roles]) { + return NO; + } + } return YES; } @@ -25534,87 +41300,71 @@ - (BOOL)isEqualToTeamFolderListContinueArg:(DBTEAMTeamFolderListContinueArg *)aT #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderListContinueArgSerializer +@implementation DBTEAMTeamMemberInfoV2Serializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2 *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.profile]; + if (valueObj.roles) { + jsonDict[@"roles"] = [DBArraySerializer serialize:valueObj.roles + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer serialize:elem0]; + }]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBTEAMTeamMemberInfoV2 *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamMemberProfile *profile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"profile"]]; + NSArray *roles = + valueDict[@"roles"] ? [DBArraySerializer deserialize:valueDict[@"roles"] + withBlock:^id(id elem0) { + return [DBTEAMTeamMemberRoleSerializer deserialize:elem0]; + }] + : nil; - return [[DBTEAMTeamFolderListContinueArg alloc] initWithCursor:cursor]; + return [[DBTEAMTeamMemberInfoV2 alloc] initWithProfile:profile roles:roles]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderListContinueError.h" +#import "DBTEAMTeamMemberInfoV2.h" +#import "DBTEAMTeamMemberInfoV2Result.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderListContinueError +@implementation DBTEAMTeamMemberInfoV2Result #pragma mark - Constructors -- (instancetype)initWithInvalidCursor { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderListContinueErrorInvalidCursor; - } - return self; -} +- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfoV2 *)memberInfo { + [DBStoneValidators nonnullValidator:nil](memberInfo); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderListContinueErrorOther; + _memberInfo = memberInfo; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isInvalidCursor { - return _tag == DBTEAMTeamFolderListContinueErrorInvalidCursor; -} - -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderListContinueErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamFolderListContinueErrorInvalidCursor: - return @"DBTEAMTeamFolderListContinueErrorInvalidCursor"; - case DBTEAMTeamFolderListContinueErrorOther: - return @"DBTEAMTeamFolderListContinueErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderListContinueErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberInfoV2ResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderListContinueErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberInfoV2ResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderListContinueErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberInfoV2ResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25631,12 +41381,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamFolderListContinueErrorInvalidCursor: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderListContinueErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.memberInfo hash]; return prime * result; } @@ -25650,22 +41395,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderListContinueError:other]; + return [self isEqualToTeamMemberInfoV2Result:other]; } -- (BOOL)isEqualToTeamFolderListContinueError:(DBTEAMTeamFolderListContinueError *)aTeamFolderListContinueError { - if (self == aTeamFolderListContinueError) { +- (BOOL)isEqualToTeamMemberInfoV2Result:(DBTEAMTeamMemberInfoV2Result *)aTeamMemberInfoV2Result { + if (self == aTeamMemberInfoV2Result) { return YES; } - if (self.tag != aTeamFolderListContinueError.tag) { + if (![self.memberInfo isEqual:aTeamMemberInfoV2Result.memberInfo]) { return NO; } - switch (_tag) { - case DBTEAMTeamFolderListContinueErrorInvalidCursor: - return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; - case DBTEAMTeamFolderListContinueErrorOther: - return [[self tagName] isEqual:[aTeamFolderListContinueError tagName]]; - } return YES; } @@ -25673,71 +41412,138 @@ - (BOOL)isEqualToTeamFolderListContinueError:(DBTEAMTeamFolderListContinueError #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderListContinueErrorSerializer +@implementation DBTEAMTeamMemberInfoV2ResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2Result *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidCursor]) { - jsonDict[@".tag"] = @"invalid_cursor"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"member_info"] = [DBTEAMTeamMemberInfoV2Serializer serialize:valueObj.memberInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamMemberInfoV2Result *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamMemberInfoV2 *memberInfo = [DBTEAMTeamMemberInfoV2Serializer deserialize:valueDict[@"member_info"]]; - if ([tag isEqualToString:@"invalid_cursor"]) { - return [[DBTEAMTeamFolderListContinueError alloc] initWithInvalidCursor]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; - } else { - return [[DBTEAMTeamFolderListContinueError alloc] initWithOther]; - } + return [[DBTEAMTeamMemberInfoV2Result alloc] initWithMemberInfo:memberInfo]; } @end +#import "DBSECONDARYEMAILSSecondaryEmail.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderAccessError.h" -#import "DBTEAMTeamFolderListError.h" +#import "DBTEAMMemberProfile.h" +#import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTeamMemberStatus.h" +#import "DBTEAMTeamMembershipType.h" +#import "DBUSERSName.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderListError +@implementation DBTEAMTeamMemberProfile #pragma mark - Constructors -- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { - [DBStoneValidators nonnullValidator:nil](accessError); +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + email:(NSString *)email + emailVerified:(NSNumber *)emailVerified + status:(DBTEAMTeamMemberStatus *)status + name:(DBUSERSName *)name + membershipType:(DBTEAMTeamMembershipType *)membershipType + groups:(NSArray *)groups + memberFolderId:(NSString *)memberFolderId + externalId:(NSString *)externalId + accountId:(NSString *)accountId + secondaryEmails:(NSArray *)secondaryEmails + invitedOn:(NSDate *)invitedOn + joinedOn:(NSDate *)joinedOn + suspendedOn:(NSDate *)suspendedOn + persistentId:(NSString *)persistentId + isDirectoryRestricted:(NSNumber *)isDirectoryRestricted + profilePhotoUrl:(NSString *)profilePhotoUrl { + [DBStoneValidators nonnullValidator:nil](teamMemberId); + [DBStoneValidators nonnullValidator:nil](email); + [DBStoneValidators nonnullValidator:nil](emailVerified); + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](membershipType); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](memberFolderId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](secondaryEmails); - self = [super init]; + self = [super initWithTeamMemberId:teamMemberId + email:email + emailVerified:emailVerified + status:status + name:name + membershipType:membershipType + externalId:externalId + accountId:accountId + secondaryEmails:secondaryEmails + invitedOn:invitedOn + joinedOn:joinedOn + suspendedOn:suspendedOn + persistentId:persistentId + isDirectoryRestricted:isDirectoryRestricted + profilePhotoUrl:profilePhotoUrl]; if (self) { - _accessError = accessError; + _groups = groups; + _memberFolderId = memberFolderId; } return self; } +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId + email:(NSString *)email + emailVerified:(NSNumber *)emailVerified + status:(DBTEAMTeamMemberStatus *)status + name:(DBUSERSName *)name + membershipType:(DBTEAMTeamMembershipType *)membershipType + groups:(NSArray *)groups + memberFolderId:(NSString *)memberFolderId { + return [self initWithTeamMemberId:teamMemberId + email:email + emailVerified:emailVerified + status:status + name:name + membershipType:membershipType + groups:groups + memberFolderId:memberFolderId + externalId:nil + accountId:nil + secondaryEmails:nil + invitedOn:nil + joinedOn:nil + suspendedOn:nil + persistentId:nil + isDirectoryRestricted:nil + profilePhotoUrl:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderListErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberProfileSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderListErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberProfileSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderListErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberProfileSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25754,7 +41560,41 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.accessError hash]; + result = prime * result + [self.teamMemberId hash]; + result = prime * result + [self.email hash]; + result = prime * result + [self.emailVerified hash]; + result = prime * result + [self.status hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.membershipType hash]; + result = prime * result + [self.groups hash]; + result = prime * result + [self.memberFolderId hash]; + if (self.externalId != nil) { + result = prime * result + [self.externalId hash]; + } + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.secondaryEmails != nil) { + result = prime * result + [self.secondaryEmails hash]; + } + if (self.invitedOn != nil) { + result = prime * result + [self.invitedOn hash]; + } + if (self.joinedOn != nil) { + result = prime * result + [self.joinedOn hash]; + } + if (self.suspendedOn != nil) { + result = prime * result + [self.suspendedOn hash]; + } + if (self.persistentId != nil) { + result = prime * result + [self.persistentId hash]; + } + if (self.isDirectoryRestricted != nil) { + result = prime * result + [self.isDirectoryRestricted hash]; + } + if (self.profilePhotoUrl != nil) { + result = prime * result + [self.profilePhotoUrl hash]; + } return prime * result; } @@ -25768,16 +41608,82 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderListError:other]; + return [self isEqualToTeamMemberProfile:other]; } -- (BOOL)isEqualToTeamFolderListError:(DBTEAMTeamFolderListError *)aTeamFolderListError { - if (self == aTeamFolderListError) { +- (BOOL)isEqualToTeamMemberProfile:(DBTEAMTeamMemberProfile *)aTeamMemberProfile { + if (self == aTeamMemberProfile) { return YES; } - if (![self.accessError isEqual:aTeamFolderListError.accessError]) { + if (![self.teamMemberId isEqual:aTeamMemberProfile.teamMemberId]) { + return NO; + } + if (![self.email isEqual:aTeamMemberProfile.email]) { + return NO; + } + if (![self.emailVerified isEqual:aTeamMemberProfile.emailVerified]) { + return NO; + } + if (![self.status isEqual:aTeamMemberProfile.status]) { + return NO; + } + if (![self.name isEqual:aTeamMemberProfile.name]) { + return NO; + } + if (![self.membershipType isEqual:aTeamMemberProfile.membershipType]) { + return NO; + } + if (![self.groups isEqual:aTeamMemberProfile.groups]) { + return NO; + } + if (![self.memberFolderId isEqual:aTeamMemberProfile.memberFolderId]) { return NO; } + if (self.externalId) { + if (![self.externalId isEqual:aTeamMemberProfile.externalId]) { + return NO; + } + } + if (self.accountId) { + if (![self.accountId isEqual:aTeamMemberProfile.accountId]) { + return NO; + } + } + if (self.secondaryEmails) { + if (![self.secondaryEmails isEqual:aTeamMemberProfile.secondaryEmails]) { + return NO; + } + } + if (self.invitedOn) { + if (![self.invitedOn isEqual:aTeamMemberProfile.invitedOn]) { + return NO; + } + } + if (self.joinedOn) { + if (![self.joinedOn isEqual:aTeamMemberProfile.joinedOn]) { + return NO; + } + } + if (self.suspendedOn) { + if (![self.suspendedOn isEqual:aTeamMemberProfile.suspendedOn]) { + return NO; + } + } + if (self.persistentId) { + if (![self.persistentId isEqual:aTeamMemberProfile.persistentId]) { + return NO; + } + } + if (self.isDirectoryRestricted) { + if (![self.isDirectoryRestricted isEqual:aTeamMemberProfile.isDirectoryRestricted]) { + return NO; + } + } + if (self.profilePhotoUrl) { + if (![self.profilePhotoUrl isEqual:aTeamMemberProfile.profilePhotoUrl]) { + return NO; + } + } return YES; } @@ -25785,69 +41691,153 @@ - (BOOL)isEqualToTeamFolderListError:(DBTEAMTeamFolderListError *)aTeamFolderLis #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderListErrorSerializer +@implementation DBTEAMTeamMemberProfileSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderListError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"access_error"] = [DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError]; + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + jsonDict[@"email"] = valueObj.email; + jsonDict[@"email_verified"] = valueObj.emailVerified; + jsonDict[@"status"] = [DBTEAMTeamMemberStatusSerializer serialize:valueObj.status]; + jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; + jsonDict[@"membership_type"] = [DBTEAMTeamMembershipTypeSerializer serialize:valueObj.membershipType]; + jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"member_folder_id"] = valueObj.memberFolderId; + if (valueObj.externalId) { + jsonDict[@"external_id"] = valueObj.externalId; + } + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.secondaryEmails) { + jsonDict[@"secondary_emails"] = + [DBArraySerializer serialize:valueObj.secondaryEmails + withBlock:^id(id elem0) { + return [DBSECONDARYEMAILSSecondaryEmailSerializer serialize:elem0]; + }]; + } + if (valueObj.invitedOn) { + jsonDict[@"invited_on"] = [DBNSDateSerializer serialize:valueObj.invitedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.joinedOn) { + jsonDict[@"joined_on"] = [DBNSDateSerializer serialize:valueObj.joinedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.suspendedOn) { + jsonDict[@"suspended_on"] = [DBNSDateSerializer serialize:valueObj.suspendedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.persistentId) { + jsonDict[@"persistent_id"] = valueObj.persistentId; + } + if (valueObj.isDirectoryRestricted) { + jsonDict[@"is_directory_restricted"] = valueObj.isDirectoryRestricted; + } + if (valueObj.profilePhotoUrl) { + jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)valueDict { - DBTEAMTeamFolderAccessError *accessError = - [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; ++ (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)valueDict { + NSString *teamMemberId = valueDict[@"team_member_id"]; + NSString *email = valueDict[@"email"]; + NSNumber *emailVerified = valueDict[@"email_verified"]; + DBTEAMTeamMemberStatus *status = [DBTEAMTeamMemberStatusSerializer deserialize:valueDict[@"status"]]; + DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; + DBTEAMTeamMembershipType *membershipType = + [DBTEAMTeamMembershipTypeSerializer deserialize:valueDict[@"membership_type"]]; + NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *memberFolderId = valueDict[@"member_folder_id"]; + NSString *externalId = valueDict[@"external_id"] ?: nil; + NSString *accountId = valueDict[@"account_id"] ?: nil; + NSArray *secondaryEmails = + valueDict[@"secondary_emails"] + ? [DBArraySerializer deserialize:valueDict[@"secondary_emails"] + withBlock:^id(id elem0) { + return [DBSECONDARYEMAILSSecondaryEmailSerializer deserialize:elem0]; + }] + : nil; + NSDate *invitedOn = valueDict[@"invited_on"] + ? [DBNSDateSerializer deserialize:valueDict[@"invited_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *joinedOn = valueDict[@"joined_on"] + ? [DBNSDateSerializer deserialize:valueDict[@"joined_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *suspendedOn = valueDict[@"suspended_on"] ? [DBNSDateSerializer deserialize:valueDict[@"suspended_on"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *persistentId = valueDict[@"persistent_id"] ?: nil; + NSNumber *isDirectoryRestricted = valueDict[@"is_directory_restricted"] ?: nil; + NSString *profilePhotoUrl = valueDict[@"profile_photo_url"] ?: nil; - return [[DBTEAMTeamFolderListError alloc] initWithAccessError:accessError]; + return [[DBTEAMTeamMemberProfile alloc] initWithTeamMemberId:teamMemberId + email:email + emailVerified:emailVerified + status:status + name:name + membershipType:membershipType + groups:groups + memberFolderId:memberFolderId + externalId:externalId + accountId:accountId + secondaryEmails:secondaryEmails + invitedOn:invitedOn + joinedOn:joinedOn + suspendedOn:suspendedOn + persistentId:persistentId + isDirectoryRestricted:isDirectoryRestricted + profilePhotoUrl:profilePhotoUrl]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderListResult.h" -#import "DBTEAMTeamFolderMetadata.h" +#import "DBTEAMTeamMemberRole.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderListResult +@implementation DBTEAMTeamMemberRole #pragma mark - Constructors -- (instancetype)initWithTeamFolders:(NSArray *)teamFolders - cursor:(NSString *)cursor - hasMore:(NSNumber *)hasMore { +- (instancetype)initWithRoleId:(NSString *)roleId name:(NSString *)name description_:(NSString *)description_ { [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](teamFolders); - [DBStoneValidators nonnullValidator:nil](cursor); - [DBStoneValidators nonnullValidator:nil](hasMore); + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(128) pattern:@"pid_dbtmr:.*"]](roleId); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(32) pattern:nil]](name); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(256) pattern:nil]](description_); self = [super init]; if (self) { - _teamFolders = teamFolders; - _cursor = cursor; - _hasMore = hasMore; + _roleId = roleId; + _name = name; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderListResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberRoleSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderListResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberRoleSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderListResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberRoleSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25864,9 +41854,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolders hash]; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.hasMore hash]; + result = prime * result + [self.roleId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -25880,20 +41870,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderListResult:other]; + return [self isEqualToTeamMemberRole:other]; } -- (BOOL)isEqualToTeamFolderListResult:(DBTEAMTeamFolderListResult *)aTeamFolderListResult { - if (self == aTeamFolderListResult) { +- (BOOL)isEqualToTeamMemberRole:(DBTEAMTeamMemberRole *)aTeamMemberRole { + if (self == aTeamMemberRole) { return YES; } - if (![self.teamFolders isEqual:aTeamFolderListResult.teamFolders]) { + if (![self.roleId isEqual:aTeamMemberRole.roleId]) { return NO; } - if (![self.cursor isEqual:aTeamFolderListResult.cursor]) { + if (![self.name isEqual:aTeamMemberRole.name]) { return NO; } - if (![self.hasMore isEqual:aTeamFolderListResult.hasMore]) { + if (![self.description_ isEqual:aTeamMemberRole.description_]) { return NO; } return YES; @@ -25903,80 +41893,131 @@ - (BOOL)isEqualToTeamFolderListResult:(DBTEAMTeamFolderListResult *)aTeamFolderL #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderListResultSerializer +@implementation DBTEAMTeamMemberRoleSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberRole *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folders"] = [DBArraySerializer serialize:valueObj.teamFolders - withBlock:^id(id elem0) { - return [DBTEAMTeamFolderMetadataSerializer serialize:elem0]; - }]; - jsonDict[@"cursor"] = valueObj.cursor; - jsonDict[@"has_more"] = valueObj.hasMore; + jsonDict[@"role_id"] = valueObj.roleId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)valueDict { - NSArray *teamFolders = - [DBArraySerializer deserialize:valueDict[@"team_folders"] - withBlock:^id(id elem0) { - return [DBTEAMTeamFolderMetadataSerializer deserialize:elem0]; - }]; - NSString *cursor = valueDict[@"cursor"]; - NSNumber *hasMore = valueDict[@"has_more"]; ++ (DBTEAMTeamMemberRole *)deserialize:(NSDictionary *)valueDict { + NSString *roleId = valueDict[@"role_id"]; + NSString *name = valueDict[@"name"]; + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMTeamFolderListResult alloc] initWithTeamFolders:teamFolders cursor:cursor hasMore:hasMore]; + return [[DBTEAMTeamMemberRole alloc] initWithRoleId:roleId name:name description_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMRemovedStatus.h" +#import "DBTEAMTeamMemberStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMTeamMemberStatus + +@synthesize removed = _removed; + +#pragma mark - Constructors + +- (instancetype)initWithActive { + self = [super init]; + if (self) { + _tag = DBTEAMTeamMemberStatusActive; + } + return self; +} + +- (instancetype)initWithInvited { + self = [super init]; + if (self) { + _tag = DBTEAMTeamMemberStatusInvited; + } + return self; +} + +- (instancetype)initWithSuspended { + self = [super init]; + if (self) { + _tag = DBTEAMTeamMemberStatusSuspended; + } + return self; +} + +- (instancetype)initWithRemoved:(DBTEAMRemovedStatus *)removed { + self = [super init]; + if (self) { + _tag = DBTEAMTeamMemberStatusRemoved; + _removed = removed; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMRemovedStatus *)removed { + if (![self isRemoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMTeamMemberStatusRemoved, but was %@.", [self tagName]]; + } + return _removed; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMTeamFolderMetadata.h" -#import "DBTEAMTeamFolderStatus.h" +#pragma mark - Tag state methods -#pragma mark - API Object +- (BOOL)isActive { + return _tag == DBTEAMTeamMemberStatusActive; +} -@implementation DBTEAMTeamFolderMetadata +- (BOOL)isInvited { + return _tag == DBTEAMTeamMemberStatusInvited; +} -#pragma mark - Constructors +- (BOOL)isSuspended { + return _tag == DBTEAMTeamMemberStatusSuspended; +} -- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId - name:(NSString *)name - status:(DBTEAMTeamFolderStatus *)status - isTeamSharedDropbox:(NSNumber *)isTeamSharedDropbox { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](status); - [DBStoneValidators nonnullValidator:nil](isTeamSharedDropbox); +- (BOOL)isRemoved { + return _tag == DBTEAMTeamMemberStatusRemoved; +} - self = [super init]; - if (self) { - _teamFolderId = teamFolderId; - _name = name; - _status = status; - _isTeamSharedDropbox = isTeamSharedDropbox; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamMemberStatusActive: + return @"DBTEAMTeamMemberStatusActive"; + case DBTEAMTeamMemberStatusInvited: + return @"DBTEAMTeamMemberStatusInvited"; + case DBTEAMTeamMemberStatusSuspended: + return @"DBTEAMTeamMemberStatusSuspended"; + case DBTEAMTeamMemberStatusRemoved: + return @"DBTEAMTeamMemberStatusRemoved"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderMetadataSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMemberStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderMetadataSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMemberStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderMetadataSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMemberStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25993,10 +42034,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolderId hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.status hash]; - result = prime * result + [self.isTeamSharedDropbox hash]; + switch (_tag) { + case DBTEAMTeamMemberStatusActive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamMemberStatusInvited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamMemberStatusSuspended: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamMemberStatusRemoved: + result = prime * result + [self.removed hash]; + break; + } return prime * result; } @@ -26010,24 +42061,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderMetadata:other]; + return [self isEqualToTeamMemberStatus:other]; } -- (BOOL)isEqualToTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)aTeamFolderMetadata { - if (self == aTeamFolderMetadata) { +- (BOOL)isEqualToTeamMemberStatus:(DBTEAMTeamMemberStatus *)aTeamMemberStatus { + if (self == aTeamMemberStatus) { return YES; } - if (![self.teamFolderId isEqual:aTeamFolderMetadata.teamFolderId]) { - return NO; - } - if (![self.name isEqual:aTeamFolderMetadata.name]) { - return NO; - } - if (![self.status isEqual:aTeamFolderMetadata.status]) { + if (self.tag != aTeamMemberStatus.tag) { return NO; } - if (![self.isTeamSharedDropbox isEqual:aTeamFolderMetadata.isTeamSharedDropbox]) { - return NO; + switch (_tag) { + case DBTEAMTeamMemberStatusActive: + return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; + case DBTEAMTeamMemberStatusInvited: + return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; + case DBTEAMTeamMemberStatusSuspended: + return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; + case DBTEAMTeamMemberStatusRemoved: + return [self.removed isEqual:aTeamMemberStatus.removed]; } return YES; } @@ -26036,144 +42088,95 @@ - (BOOL)isEqualToTeamFolderMetadata:(DBTEAMTeamFolderMetadata *)aTeamFolderMetad #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderMetadataSerializer +@implementation DBTEAMTeamMemberStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folder_id"] = valueObj.teamFolderId; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"status"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.status]; - jsonDict[@"is_team_shared_dropbox"] = valueObj.isTeamSharedDropbox; + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isInvited]) { + jsonDict[@".tag"] = @"invited"; + } else if ([valueObj isSuspended]) { + jsonDict[@".tag"] = @"suspended"; + } else if ([valueObj isRemoved]) { + [jsonDict addEntriesFromDictionary:[DBTEAMRemovedStatusSerializer serialize:valueObj.removed]]; + jsonDict[@".tag"] = @"removed"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)valueDict { - NSString *teamFolderId = valueDict[@"team_folder_id"]; - NSString *name = valueDict[@"name"]; - DBTEAMTeamFolderStatus *status = [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"status"]]; - NSNumber *isTeamSharedDropbox = valueDict[@"is_team_shared_dropbox"]; ++ (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMTeamFolderMetadata alloc] initWithTeamFolderId:teamFolderId - name:name - status:status - isTeamSharedDropbox:isTeamSharedDropbox]; + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMTeamMemberStatus alloc] initWithActive]; + } else if ([tag isEqualToString:@"invited"]) { + return [[DBTEAMTeamMemberStatus alloc] initWithInvited]; + } else if ([tag isEqualToString:@"suspended"]) { + return [[DBTEAMTeamMemberStatus alloc] initWithSuspended]; + } else if ([tag isEqualToString:@"removed"]) { + DBTEAMRemovedStatus *removed = [DBTEAMRemovedStatusSerializer deserialize:valueDict]; + return [[DBTEAMTeamMemberStatus alloc] initWithRemoved:removed]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMBaseTeamFolderError.h" -#import "DBTEAMTeamFolderAccessError.h" -#import "DBTEAMTeamFolderInvalidStatusError.h" -#import "DBTEAMTeamFolderPermanentlyDeleteError.h" -#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamMembershipType.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderPermanentlyDeleteError - -@synthesize accessError = _accessError; -@synthesize statusError = _statusError; -@synthesize teamSharedDropboxError = _teamSharedDropboxError; +@implementation DBTEAMTeamMembershipType #pragma mark - Constructors -- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderPermanentlyDeleteErrorAccessError; - _accessError = accessError; - } - return self; -} - -- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderPermanentlyDeleteErrorStatusError; - _statusError = statusError; - } - return self; -} - -- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { +- (instancetype)initWithFull { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError; - _teamSharedDropboxError = teamSharedDropboxError; + _tag = DBTEAMTeamMembershipTypeFull; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithLimited { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderPermanentlyDeleteErrorOther; + _tag = DBTEAMTeamMembershipTypeLimited; } return self; } #pragma mark - Instance field accessors -- (DBTEAMTeamFolderAccessError *)accessError { - if (![self isAccessError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorAccessError, but was %@.", [self tagName]]; - } - return _accessError; -} - -- (DBTEAMTeamFolderInvalidStatusError *)statusError { - if (![self isStatusError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorStatusError, but was %@.", [self tagName]]; - } - return _statusError; -} - -- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - if (![self isTeamSharedDropboxError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError, but was %@.", - [self tagName]]; - } - return _teamSharedDropboxError; -} - #pragma mark - Tag state methods -- (BOOL)isAccessError { - return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorAccessError; -} - -- (BOOL)isStatusError { - return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorStatusError; -} - -- (BOOL)isTeamSharedDropboxError { - return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError; +- (BOOL)isFull { + return _tag == DBTEAMTeamMembershipTypeFull; } -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderPermanentlyDeleteErrorOther; +- (BOOL)isLimited { + return _tag == DBTEAMTeamMembershipTypeLimited; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: - return @"DBTEAMTeamFolderPermanentlyDeleteErrorAccessError"; - case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: - return @"DBTEAMTeamFolderPermanentlyDeleteErrorStatusError"; - case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: - return @"DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError"; - case DBTEAMTeamFolderPermanentlyDeleteErrorOther: - return @"DBTEAMTeamFolderPermanentlyDeleteErrorOther"; + case DBTEAMTeamMembershipTypeFull: + return @"DBTEAMTeamMembershipTypeFull"; + case DBTEAMTeamMembershipTypeLimited: + return @"DBTEAMTeamMembershipTypeLimited"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -26181,18 +42184,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamMembershipTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderPermanentlyDeleteErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamMembershipTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderPermanentlyDeleteErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamMembershipTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26210,14 +42213,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: - result = prime * result + [self.statusError hash]; - case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: - result = prime * result + [self.teamSharedDropboxError hash]; - case DBTEAMTeamFolderPermanentlyDeleteErrorOther: + case DBTEAMTeamMembershipTypeFull: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamMembershipTypeLimited: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -26232,26 +42233,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderPermanentlyDeleteError:other]; + return [self isEqualToTeamMembershipType:other]; } -- (BOOL)isEqualToTeamFolderPermanentlyDeleteError: - (DBTEAMTeamFolderPermanentlyDeleteError *)aTeamFolderPermanentlyDeleteError { - if (self == aTeamFolderPermanentlyDeleteError) { +- (BOOL)isEqualToTeamMembershipType:(DBTEAMTeamMembershipType *)aTeamMembershipType { + if (self == aTeamMembershipType) { return YES; } - if (self.tag != aTeamFolderPermanentlyDeleteError.tag) { + if (self.tag != aTeamMembershipType.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderPermanentlyDeleteErrorAccessError: - return [self.accessError isEqual:aTeamFolderPermanentlyDeleteError.accessError]; - case DBTEAMTeamFolderPermanentlyDeleteErrorStatusError: - return [self.statusError isEqual:aTeamFolderPermanentlyDeleteError.statusError]; - case DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError: - return [self.teamSharedDropboxError isEqual:aTeamFolderPermanentlyDeleteError.teamSharedDropboxError]; - case DBTEAMTeamFolderPermanentlyDeleteErrorOther: - return [[self tagName] isEqual:[aTeamFolderPermanentlyDeleteError tagName]]; + case DBTEAMTeamMembershipTypeFull: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; + case DBTEAMTeamMembershipTypeLimited: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; } return YES; } @@ -26260,50 +42256,36 @@ - (BOOL)isEqualToTeamFolderPermanentlyDeleteError: #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderPermanentlyDeleteErrorSerializer +@implementation DBTEAMTeamMembershipTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamMembershipType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isStatusError]) { - jsonDict[@"status_error"] = - [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; - jsonDict[@".tag"] = @"status_error"; - } else if ([valueObj isTeamSharedDropboxError]) { - jsonDict[@"team_shared_dropbox_error"] = - [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; - jsonDict[@".tag"] = @"team_shared_dropbox_error"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; + if ([valueObj isFull]) { + jsonDict[@".tag"] = @"full"; + } else if ([valueObj isLimited]) { + jsonDict[@".tag"] = @"limited"; } else { - jsonDict[@".tag"] = @"other"; + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"access_error"]) { - DBTEAMTeamFolderAccessError *accessError = - [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"status_error"]) { - DBTEAMTeamFolderInvalidStatusError *statusError = - [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; - return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithStatusError:statusError]; - } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { - DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = - [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; - return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithOther]; + if ([tag isEqualToString:@"full"]) { + return [[DBTEAMTeamMembershipType alloc] initWithFull]; + } else if ([tag isEqualToString:@"limited"]) { + return [[DBTEAMTeamMembershipType alloc] initWithLimited]; } else { - return [[DBTEAMTeamFolderPermanentlyDeleteError alloc] initWithOther]; + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); } } @@ -26311,41 +42293,41 @@ + (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)valueDic #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderIdArg.h" -#import "DBTEAMTeamFolderRenameArg.h" +#import "DBTEAMTeamNamespacesListArg.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderRenameArg +@implementation DBTEAMTeamNamespacesListArg #pragma mark - Constructors -- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId name:(NSString *)name { - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](teamFolderId); - [DBStoneValidators nonnullValidator:nil](name); +- (instancetype)initWithLimit:(NSNumber *)limit { - self = [super initWithTeamFolderId:teamFolderId]; + self = [super init]; if (self) { - _name = name; + _limit = limit ?: @(1000); } return self; } +- (instancetype)initDefault { + return [self initWithLimit:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderRenameArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamNamespacesListArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderRenameArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamNamespacesListArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderRenameArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamNamespacesListArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26362,8 +42344,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamFolderId hash]; - result = prime * result + [self.name hash]; + result = prime * result + [self.limit hash]; return prime * result; } @@ -26377,17 +42358,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderRenameArg:other]; + return [self isEqualToTeamNamespacesListArg:other]; } -- (BOOL)isEqualToTeamFolderRenameArg:(DBTEAMTeamFolderRenameArg *)aTeamFolderRenameArg { - if (self == aTeamFolderRenameArg) { +- (BOOL)isEqualToTeamNamespacesListArg:(DBTEAMTeamNamespacesListArg *)aTeamNamespacesListArg { + if (self == aTeamNamespacesListArg) { return YES; } - if (![self.teamFolderId isEqual:aTeamFolderRenameArg.teamFolderId]) { - return NO; - } - if (![self.name isEqual:aTeamFolderRenameArg.name]) { + if (![self.limit isEqual:aTeamNamespacesListArg.limit]) { return NO; } return YES; @@ -26397,176 +42375,167 @@ - (BOOL)isEqualToTeamFolderRenameArg:(DBTEAMTeamFolderRenameArg *)aTeamFolderRen #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderRenameArgSerializer +@implementation DBTEAMTeamNamespacesListArgSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_folder_id"] = valueObj.teamFolderId; - jsonDict[@"name"] = valueObj.name; + jsonDict[@"limit"] = valueObj.limit; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)valueDict { - NSString *teamFolderId = valueDict[@"team_folder_id"]; - NSString *name = valueDict[@"name"]; ++ (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); - return [[DBTEAMTeamFolderRenameArg alloc] initWithTeamFolderId:teamFolderId name:name]; + return [[DBTEAMTeamNamespacesListArg alloc] initWithLimit:limit]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMBaseTeamFolderError.h" -#import "DBTEAMTeamFolderAccessError.h" -#import "DBTEAMTeamFolderInvalidStatusError.h" -#import "DBTEAMTeamFolderRenameError.h" -#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamNamespacesListContinueArg.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderRenameError - -@synthesize accessError = _accessError; -@synthesize statusError = _statusError; -@synthesize teamSharedDropboxError = _teamSharedDropboxError; +@implementation DBTEAMTeamNamespacesListContinueArg #pragma mark - Constructors -- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorAccessError; - _accessError = accessError; - } - return self; -} +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); -- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderRenameErrorStatusError; - _statusError = statusError; + _cursor = cursor; } return self; } -- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorTeamSharedDropboxError; - _teamSharedDropboxError = teamSharedDropboxError; - } - return self; -} +#pragma mark - Serialization methods -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorOther; - } - return self; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamNamespacesListContinueArgSerializer serialize:instance]; } -- (instancetype)initWithInvalidFolderName { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorInvalidFolderName; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamNamespacesListContinueArgSerializer deserialize:dict]; } -- (instancetype)initWithFolderNameAlreadyUsed { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMTeamNamespacesListContinueArgSerializer serialize:self] description]; } -- (instancetype)initWithFolderNameReserved { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderRenameErrorFolderNameReserved; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -#pragma mark - Instance field accessors +#pragma mark - Hash method -- (DBTEAMTeamFolderAccessError *)accessError { - if (![self isAccessError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorAccessError, but was %@.", [self tagName]]; - } - return _accessError; +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + + return prime * result; } -- (DBTEAMTeamFolderInvalidStatusError *)statusError { - if (![self isStatusError]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorStatusError, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _statusError; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamNamespacesListContinueArg:other]; } -- (DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError { - if (![self isTeamSharedDropboxError]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamFolderRenameErrorTeamSharedDropboxError, but was %@.", [self tagName]]; +- (BOOL)isEqualToTeamNamespacesListContinueArg:(DBTEAMTeamNamespacesListContinueArg *)aTeamNamespacesListContinueArg { + if (self == aTeamNamespacesListContinueArg) { + return YES; } - return _teamSharedDropboxError; + if (![self.cursor isEqual:aTeamNamespacesListContinueArg.cursor]) { + return NO; + } + return YES; } -#pragma mark - Tag state methods +@end -- (BOOL)isAccessError { - return _tag == DBTEAMTeamFolderRenameErrorAccessError; +#pragma mark - Serializer Object + +@implementation DBTEAMTeamNamespacesListContinueArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; } -- (BOOL)isStatusError { - return _tag == DBTEAMTeamFolderRenameErrorStatusError; ++ (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + + return [[DBTEAMTeamNamespacesListContinueArg alloc] initWithCursor:cursor]; } -- (BOOL)isTeamSharedDropboxError { - return _tag == DBTEAMTeamFolderRenameErrorTeamSharedDropboxError; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMTeamNamespacesListError.h" + +#pragma mark - API Object + +@implementation DBTEAMTeamNamespacesListError + +#pragma mark - Constructors + +- (instancetype)initWithInvalidArg { + self = [super init]; + if (self) { + _tag = DBTEAMTeamNamespacesListErrorInvalidArg; + } + return self; } -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderRenameErrorOther; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamNamespacesListErrorOther; + } + return self; } -- (BOOL)isInvalidFolderName { - return _tag == DBTEAMTeamFolderRenameErrorInvalidFolderName; -} +#pragma mark - Instance field accessors -- (BOOL)isFolderNameAlreadyUsed { - return _tag == DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed; +#pragma mark - Tag state methods + +- (BOOL)isInvalidArg { + return _tag == DBTEAMTeamNamespacesListErrorInvalidArg; } -- (BOOL)isFolderNameReserved { - return _tag == DBTEAMTeamFolderRenameErrorFolderNameReserved; +- (BOOL)isOther { + return _tag == DBTEAMTeamNamespacesListErrorOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderRenameErrorAccessError: - return @"DBTEAMTeamFolderRenameErrorAccessError"; - case DBTEAMTeamFolderRenameErrorStatusError: - return @"DBTEAMTeamFolderRenameErrorStatusError"; - case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: - return @"DBTEAMTeamFolderRenameErrorTeamSharedDropboxError"; - case DBTEAMTeamFolderRenameErrorOther: - return @"DBTEAMTeamFolderRenameErrorOther"; - case DBTEAMTeamFolderRenameErrorInvalidFolderName: - return @"DBTEAMTeamFolderRenameErrorInvalidFolderName"; - case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: - return @"DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed"; - case DBTEAMTeamFolderRenameErrorFolderNameReserved: - return @"DBTEAMTeamFolderRenameErrorFolderNameReserved"; + case DBTEAMTeamNamespacesListErrorInvalidArg: + return @"DBTEAMTeamNamespacesListErrorInvalidArg"; + case DBTEAMTeamNamespacesListErrorOther: + return @"DBTEAMTeamNamespacesListErrorOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -26574,18 +42543,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderRenameErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamNamespacesListErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderRenameErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamNamespacesListErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderRenameErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamNamespacesListErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26603,20 +42572,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderRenameErrorAccessError: - result = prime * result + [self.accessError hash]; - case DBTEAMTeamFolderRenameErrorStatusError: - result = prime * result + [self.statusError hash]; - case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: - result = prime * result + [self.teamSharedDropboxError hash]; - case DBTEAMTeamFolderRenameErrorOther: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderRenameErrorInvalidFolderName: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: + case DBTEAMTeamNamespacesListErrorInvalidArg: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderRenameErrorFolderNameReserved: + break; + case DBTEAMTeamNamespacesListErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -26631,31 +42592,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderRenameError:other]; + return [self isEqualToTeamNamespacesListError:other]; } -- (BOOL)isEqualToTeamFolderRenameError:(DBTEAMTeamFolderRenameError *)aTeamFolderRenameError { - if (self == aTeamFolderRenameError) { +- (BOOL)isEqualToTeamNamespacesListError:(DBTEAMTeamNamespacesListError *)aTeamNamespacesListError { + if (self == aTeamNamespacesListError) { return YES; } - if (self.tag != aTeamFolderRenameError.tag) { + if (self.tag != aTeamNamespacesListError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderRenameErrorAccessError: - return [self.accessError isEqual:aTeamFolderRenameError.accessError]; - case DBTEAMTeamFolderRenameErrorStatusError: - return [self.statusError isEqual:aTeamFolderRenameError.statusError]; - case DBTEAMTeamFolderRenameErrorTeamSharedDropboxError: - return [self.teamSharedDropboxError isEqual:aTeamFolderRenameError.teamSharedDropboxError]; - case DBTEAMTeamFolderRenameErrorOther: - return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; - case DBTEAMTeamFolderRenameErrorInvalidFolderName: - return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; - case DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed: - return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; - case DBTEAMTeamFolderRenameErrorFolderNameReserved: - return [[self tagName] isEqual:[aTeamFolderRenameError tagName]]; + case DBTEAMTeamNamespacesListErrorInvalidArg: + return [[self tagName] isEqual:[aTeamNamespacesListError tagName]]; + case DBTEAMTeamNamespacesListErrorOther: + return [[self tagName] isEqual:[aTeamNamespacesListError tagName]]; } return YES; } @@ -26664,62 +42615,31 @@ - (BOOL)isEqualToTeamFolderRenameError:(DBTEAMTeamFolderRenameError *)aTeamFolde #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderRenameErrorSerializer +@implementation DBTEAMTeamNamespacesListErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccessError]) { - jsonDict[@"access_error"] = [[DBTEAMTeamFolderAccessErrorSerializer serialize:valueObj.accessError] mutableCopy]; - jsonDict[@".tag"] = @"access_error"; - } else if ([valueObj isStatusError]) { - jsonDict[@"status_error"] = - [[DBTEAMTeamFolderInvalidStatusErrorSerializer serialize:valueObj.statusError] mutableCopy]; - jsonDict[@".tag"] = @"status_error"; - } else if ([valueObj isTeamSharedDropboxError]) { - jsonDict[@"team_shared_dropbox_error"] = - [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:valueObj.teamSharedDropboxError] mutableCopy]; - jsonDict[@".tag"] = @"team_shared_dropbox_error"; + if ([valueObj isInvalidArg]) { + jsonDict[@".tag"] = @"invalid_arg"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; - } else if ([valueObj isInvalidFolderName]) { - jsonDict[@".tag"] = @"invalid_folder_name"; - } else if ([valueObj isFolderNameAlreadyUsed]) { - jsonDict[@".tag"] = @"folder_name_already_used"; - } else if ([valueObj isFolderNameReserved]) { - jsonDict[@".tag"] = @"folder_name_reserved"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamNamespacesListError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"access_error"]) { - DBTEAMTeamFolderAccessError *accessError = - [DBTEAMTeamFolderAccessErrorSerializer deserialize:valueDict[@"access_error"]]; - return [[DBTEAMTeamFolderRenameError alloc] initWithAccessError:accessError]; - } else if ([tag isEqualToString:@"status_error"]) { - DBTEAMTeamFolderInvalidStatusError *statusError = - [DBTEAMTeamFolderInvalidStatusErrorSerializer deserialize:valueDict[@"status_error"]]; - return [[DBTEAMTeamFolderRenameError alloc] initWithStatusError:statusError]; - } else if ([tag isEqualToString:@"team_shared_dropbox_error"]) { - DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError = - [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:valueDict[@"team_shared_dropbox_error"]]; - return [[DBTEAMTeamFolderRenameError alloc] initWithTeamSharedDropboxError:teamSharedDropboxError]; + if ([tag isEqualToString:@"invalid_arg"]) { + return [[DBTEAMTeamNamespacesListError alloc] initWithInvalidArg]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderRenameError alloc] initWithOther]; - } else if ([tag isEqualToString:@"invalid_folder_name"]) { - return [[DBTEAMTeamFolderRenameError alloc] initWithInvalidFolderName]; - } else if ([tag isEqualToString:@"folder_name_already_used"]) { - return [[DBTEAMTeamFolderRenameError alloc] initWithFolderNameAlreadyUsed]; - } else if ([tag isEqualToString:@"folder_name_reserved"]) { - return [[DBTEAMTeamFolderRenameError alloc] initWithFolderNameReserved]; + return [[DBTEAMTeamNamespacesListError alloc] initWithOther]; } else { - return [[DBTEAMTeamFolderRenameError alloc] initWithOther]; + return [[DBTEAMTeamNamespacesListError alloc] initWithOther]; } } @@ -26727,42 +42647,35 @@ + (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderStatus.h" +#import "DBTEAMTeamNamespacesListContinueError.h" +#import "DBTEAMTeamNamespacesListError.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderStatus +@implementation DBTEAMTeamNamespacesListContinueError #pragma mark - Constructors -- (instancetype)initWithActive { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderStatusActive; - } - return self; -} - -- (instancetype)initWithArchived { +- (instancetype)initWithInvalidArg { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderStatusArchived; + _tag = DBTEAMTeamNamespacesListContinueErrorInvalidArg; } return self; } -- (instancetype)initWithArchiveInProgress { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderStatusArchiveInProgress; + _tag = DBTEAMTeamNamespacesListContinueErrorOther; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithInvalidCursor { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderStatusOther; + _tag = DBTEAMTeamNamespacesListContinueErrorInvalidCursor; } return self; } @@ -26771,32 +42684,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isActive { - return _tag == DBTEAMTeamFolderStatusActive; -} - -- (BOOL)isArchived { - return _tag == DBTEAMTeamFolderStatusArchived; +- (BOOL)isInvalidArg { + return _tag == DBTEAMTeamNamespacesListContinueErrorInvalidArg; } -- (BOOL)isArchiveInProgress { - return _tag == DBTEAMTeamFolderStatusArchiveInProgress; +- (BOOL)isOther { + return _tag == DBTEAMTeamNamespacesListContinueErrorOther; } -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderStatusOther; +- (BOOL)isInvalidCursor { + return _tag == DBTEAMTeamNamespacesListContinueErrorInvalidCursor; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamFolderStatusActive: - return @"DBTEAMTeamFolderStatusActive"; - case DBTEAMTeamFolderStatusArchived: - return @"DBTEAMTeamFolderStatusArchived"; - case DBTEAMTeamFolderStatusArchiveInProgress: - return @"DBTEAMTeamFolderStatusArchiveInProgress"; - case DBTEAMTeamFolderStatusOther: - return @"DBTEAMTeamFolderStatusOther"; + case DBTEAMTeamNamespacesListContinueErrorInvalidArg: + return @"DBTEAMTeamNamespacesListContinueErrorInvalidArg"; + case DBTEAMTeamNamespacesListContinueErrorOther: + return @"DBTEAMTeamNamespacesListContinueErrorOther"; + case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: + return @"DBTEAMTeamNamespacesListContinueErrorInvalidCursor"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -26804,18 +42711,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamNamespacesListContinueErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamNamespacesListContinueErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamNamespacesListContinueErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26833,14 +42740,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamFolderStatusActive: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderStatusArchived: + case DBTEAMTeamNamespacesListContinueErrorInvalidArg: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderStatusArchiveInProgress: + break; + case DBTEAMTeamNamespacesListContinueErrorOther: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderStatusOther: + break; + case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -26855,25 +42763,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderStatus:other]; + return [self isEqualToTeamNamespacesListContinueError:other]; } -- (BOOL)isEqualToTeamFolderStatus:(DBTEAMTeamFolderStatus *)aTeamFolderStatus { - if (self == aTeamFolderStatus) { +- (BOOL)isEqualToTeamNamespacesListContinueError: + (DBTEAMTeamNamespacesListContinueError *)aTeamNamespacesListContinueError { + if (self == aTeamNamespacesListContinueError) { return YES; } - if (self.tag != aTeamFolderStatus.tag) { + if (self.tag != aTeamNamespacesListContinueError.tag) { return NO; } switch (_tag) { - case DBTEAMTeamFolderStatusActive: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; - case DBTEAMTeamFolderStatusArchived: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; - case DBTEAMTeamFolderStatusArchiveInProgress: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; - case DBTEAMTeamFolderStatusOther: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; + case DBTEAMTeamNamespacesListContinueErrorInvalidArg: + return [[self tagName] isEqual:[aTeamNamespacesListContinueError tagName]]; + case DBTEAMTeamNamespacesListContinueErrorOther: + return [[self tagName] isEqual:[aTeamNamespacesListContinueError tagName]]; + case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: + return [[self tagName] isEqual:[aTeamNamespacesListContinueError tagName]]; } return YES; } @@ -26882,39 +42789,35 @@ - (BOOL)isEqualToTeamFolderStatus:(DBTEAMTeamFolderStatus *)aTeamFolderStatus { #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderStatusSerializer +@implementation DBTEAMTeamNamespacesListContinueErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isActive]) { - jsonDict[@".tag"] = @"active"; - } else if ([valueObj isArchived]) { - jsonDict[@".tag"] = @"archived"; - } else if ([valueObj isArchiveInProgress]) { - jsonDict[@".tag"] = @"archive_in_progress"; + if ([valueObj isInvalidArg]) { + jsonDict[@".tag"] = @"invalid_arg"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; + } else if ([valueObj isInvalidCursor]) { + jsonDict[@".tag"] = @"invalid_cursor"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"active"]) { - return [[DBTEAMTeamFolderStatus alloc] initWithActive]; - } else if ([tag isEqualToString:@"archived"]) { - return [[DBTEAMTeamFolderStatus alloc] initWithArchived]; - } else if ([tag isEqualToString:@"archive_in_progress"]) { - return [[DBTEAMTeamFolderStatus alloc] initWithArchiveInProgress]; + if ([tag isEqualToString:@"invalid_arg"]) { + return [[DBTEAMTeamNamespacesListContinueError alloc] initWithInvalidArg]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderStatus alloc] initWithOther]; + return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; + } else if ([tag isEqualToString:@"invalid_cursor"]) { + return [[DBTEAMTeamNamespacesListContinueError alloc] initWithInvalidCursor]; } else { - return [[DBTEAMTeamFolderStatus alloc] initWithOther]; + return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; } } @@ -26922,67 +42825,48 @@ + (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMNamespaceMetadata.h" +#import "DBTEAMTeamNamespacesListResult.h" #pragma mark - API Object -@implementation DBTEAMTeamFolderTeamSharedDropboxError +@implementation DBTEAMTeamNamespacesListResult #pragma mark - Constructors -- (instancetype)initWithDisallowed { - self = [super init]; - if (self) { - _tag = DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed; - } - return self; -} +- (instancetype)initWithNamespaces:(NSArray *)namespaces + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](namespaces); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamFolderTeamSharedDropboxErrorOther; + _namespaces = namespaces; + _cursor = cursor; + _hasMore = hasMore; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisallowed { - return _tag == DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed; -} - -- (BOOL)isOther { - return _tag == DBTEAMTeamFolderTeamSharedDropboxErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: - return @"DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed"; - case DBTEAMTeamFolderTeamSharedDropboxErrorOther: - return @"DBTEAMTeamFolderTeamSharedDropboxErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamNamespacesListResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamFolderTeamSharedDropboxErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamNamespacesListResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamFolderTeamSharedDropboxErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamNamespacesListResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26999,12 +42883,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamFolderTeamSharedDropboxErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.namespaces hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; return prime * result; } @@ -27018,22 +42899,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderTeamSharedDropboxError:other]; + return [self isEqualToTeamNamespacesListResult:other]; } -- (BOOL)isEqualToTeamFolderTeamSharedDropboxError: - (DBTEAMTeamFolderTeamSharedDropboxError *)aTeamFolderTeamSharedDropboxError { - if (self == aTeamFolderTeamSharedDropboxError) { +- (BOOL)isEqualToTeamNamespacesListResult:(DBTEAMTeamNamespacesListResult *)aTeamNamespacesListResult { + if (self == aTeamNamespacesListResult) { return YES; } - if (self.tag != aTeamFolderTeamSharedDropboxError.tag) { + if (![self.namespaces isEqual:aTeamNamespacesListResult.namespaces]) { return NO; } - switch (_tag) { - case DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed: - return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; - case DBTEAMTeamFolderTeamSharedDropboxErrorOther: - return [[self tagName] isEqual:[aTeamFolderTeamSharedDropboxError tagName]]; + if (![self.cursor isEqual:aTeamNamespacesListResult.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aTeamNamespacesListResult.hasMore]) { + return NO; } return YES; } @@ -27042,83 +42922,126 @@ - (BOOL)isEqualToTeamFolderTeamSharedDropboxError: #pragma mark - Serializer Object -@implementation DBTEAMTeamFolderTeamSharedDropboxErrorSerializer +@implementation DBTEAMTeamNamespacesListResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisallowed]) { - jsonDict[@".tag"] = @"disallowed"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"namespaces"] = [DBArraySerializer serialize:valueObj.namespaces + withBlock:^id(id elem0) { + return [DBTEAMNamespaceMetadataSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)valueDict { + NSArray *namespaces = + [DBArraySerializer deserialize:valueDict[@"namespaces"] + withBlock:^id(id elem0) { + return [DBTEAMNamespaceMetadataSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; - if ([tag isEqualToString:@"disallowed"]) { - return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithDisallowed]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; - } else { - return [[DBTEAMTeamFolderTeamSharedDropboxError alloc] initWithOther]; - } + return [[DBTEAMTeamNamespacesListResult alloc] initWithNamespaces:namespaces cursor:cursor hasMore:hasMore]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESTeamMemberPolicies.h" -#import "DBTEAMTeamGetInfoResult.h" +#import "DBTEAMTeamReportFailureReason.h" #pragma mark - API Object -@implementation DBTEAMTeamGetInfoResult +@implementation DBTEAMTeamReportFailureReason #pragma mark - Constructors -- (instancetype)initWithName:(NSString *)name - teamId:(NSString *)teamId - numLicensedUsers:(NSNumber *)numLicensedUsers - numProvisionedUsers:(NSNumber *)numProvisionedUsers - policies:(DBTEAMPOLICIESTeamMemberPolicies *)policies { - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](teamId); - [DBStoneValidators nonnullValidator:nil](numLicensedUsers); - [DBStoneValidators nonnullValidator:nil](numProvisionedUsers); - [DBStoneValidators nonnullValidator:nil](policies); +- (instancetype)initWithTemporaryError { + self = [super init]; + if (self) { + _tag = DBTEAMTeamReportFailureReasonTemporaryError; + } + return self; +} +- (instancetype)initWithManyReportsAtOnce { self = [super init]; if (self) { - _name = name; - _teamId = teamId; - _numLicensedUsers = numLicensedUsers; - _numProvisionedUsers = numProvisionedUsers; - _policies = policies; + _tag = DBTEAMTeamReportFailureReasonManyReportsAtOnce; } return self; } +- (instancetype)initWithTooMuchData { + self = [super init]; + if (self) { + _tag = DBTEAMTeamReportFailureReasonTooMuchData; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTeamReportFailureReasonOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isTemporaryError { + return _tag == DBTEAMTeamReportFailureReasonTemporaryError; +} + +- (BOOL)isManyReportsAtOnce { + return _tag == DBTEAMTeamReportFailureReasonManyReportsAtOnce; +} + +- (BOOL)isTooMuchData { + return _tag == DBTEAMTeamReportFailureReasonTooMuchData; +} + +- (BOOL)isOther { + return _tag == DBTEAMTeamReportFailureReasonOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTeamReportFailureReasonTemporaryError: + return @"DBTEAMTeamReportFailureReasonTemporaryError"; + case DBTEAMTeamReportFailureReasonManyReportsAtOnce: + return @"DBTEAMTeamReportFailureReasonManyReportsAtOnce"; + case DBTEAMTeamReportFailureReasonTooMuchData: + return @"DBTEAMTeamReportFailureReasonTooMuchData"; + case DBTEAMTeamReportFailureReasonOther: + return @"DBTEAMTeamReportFailureReasonOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamGetInfoResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTeamReportFailureReasonSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamGetInfoResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTeamReportFailureReasonSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamGetInfoResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTeamReportFailureReasonSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27135,11 +43058,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.name hash]; - result = prime * result + [self.teamId hash]; - result = prime * result + [self.numLicensedUsers hash]; - result = prime * result + [self.numProvisionedUsers hash]; - result = prime * result + [self.policies hash]; + switch (_tag) { + case DBTEAMTeamReportFailureReasonTemporaryError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamReportFailureReasonManyReportsAtOnce: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamReportFailureReasonTooMuchData: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTeamReportFailureReasonOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -27153,27 +43085,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamGetInfoResult:other]; + return [self isEqualToTeamReportFailureReason:other]; } -- (BOOL)isEqualToTeamGetInfoResult:(DBTEAMTeamGetInfoResult *)aTeamGetInfoResult { - if (self == aTeamGetInfoResult) { +- (BOOL)isEqualToTeamReportFailureReason:(DBTEAMTeamReportFailureReason *)aTeamReportFailureReason { + if (self == aTeamReportFailureReason) { return YES; } - if (![self.name isEqual:aTeamGetInfoResult.name]) { - return NO; - } - if (![self.teamId isEqual:aTeamGetInfoResult.teamId]) { - return NO; - } - if (![self.numLicensedUsers isEqual:aTeamGetInfoResult.numLicensedUsers]) { - return NO; - } - if (![self.numProvisionedUsers isEqual:aTeamGetInfoResult.numProvisionedUsers]) { + if (self.tag != aTeamReportFailureReason.tag) { return NO; } - if (![self.policies isEqual:aTeamGetInfoResult.policies]) { - return NO; + switch (_tag) { + case DBTEAMTeamReportFailureReasonTemporaryError: + return [[self tagName] isEqual:[aTeamReportFailureReason tagName]]; + case DBTEAMTeamReportFailureReasonManyReportsAtOnce: + return [[self tagName] isEqual:[aTeamReportFailureReason tagName]]; + case DBTEAMTeamReportFailureReasonTooMuchData: + return [[self tagName] isEqual:[aTeamReportFailureReason tagName]]; + case DBTEAMTeamReportFailureReasonOther: + return [[self tagName] isEqual:[aTeamReportFailureReason tagName]]; } return YES; } @@ -27182,75 +43112,121 @@ - (BOOL)isEqualToTeamGetInfoResult:(DBTEAMTeamGetInfoResult *)aTeamGetInfoResult #pragma mark - Serializer Object -@implementation DBTEAMTeamGetInfoResultSerializer +@implementation DBTEAMTeamReportFailureReasonSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamGetInfoResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTeamReportFailureReason *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"name"] = valueObj.name; - jsonDict[@"team_id"] = valueObj.teamId; - jsonDict[@"num_licensed_users"] = valueObj.numLicensedUsers; - jsonDict[@"num_provisioned_users"] = valueObj.numProvisionedUsers; - jsonDict[@"policies"] = [DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:valueObj.policies]; + if ([valueObj isTemporaryError]) { + jsonDict[@".tag"] = @"temporary_error"; + } else if ([valueObj isManyReportsAtOnce]) { + jsonDict[@".tag"] = @"many_reports_at_once"; + } else if ([valueObj isTooMuchData]) { + jsonDict[@".tag"] = @"too_much_data"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)valueDict { - NSString *name = valueDict[@"name"]; - NSString *teamId = valueDict[@"team_id"]; - NSNumber *numLicensedUsers = valueDict[@"num_licensed_users"]; - NSNumber *numProvisionedUsers = valueDict[@"num_provisioned_users"]; - DBTEAMPOLICIESTeamMemberPolicies *policies = - [DBTEAMPOLICIESTeamMemberPoliciesSerializer deserialize:valueDict[@"policies"]]; ++ (DBTEAMTeamReportFailureReason *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMTeamGetInfoResult alloc] initWithName:name - teamId:teamId - numLicensedUsers:numLicensedUsers - numProvisionedUsers:numProvisionedUsers - policies:policies]; + if ([tag isEqualToString:@"temporary_error"]) { + return [[DBTEAMTeamReportFailureReason alloc] initWithTemporaryError]; + } else if ([tag isEqualToString:@"many_reports_at_once"]) { + return [[DBTEAMTeamReportFailureReason alloc] initWithManyReportsAtOnce]; + } else if ([tag isEqualToString:@"too_much_data"]) { + return [[DBTEAMTeamReportFailureReason alloc] initWithTooMuchData]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTeamReportFailureReason alloc] initWithOther]; + } else { + return [[DBTEAMTeamReportFailureReason alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMAdminTier.h" -#import "DBTEAMTeamMemberInfo.h" -#import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTokenGetAuthenticatedAdminError.h" #pragma mark - API Object -@implementation DBTEAMTeamMemberInfo +@implementation DBTEAMTokenGetAuthenticatedAdminError #pragma mark - Constructors -- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile role:(DBTEAMAdminTier *)role { - [DBStoneValidators nonnullValidator:nil](profile); - [DBStoneValidators nonnullValidator:nil](role); +- (instancetype)initWithMappingNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound; + } + return self; +} +- (instancetype)initWithAdminNotActive { self = [super init]; if (self) { - _profile = profile; - _role = role; + _tag = DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMTokenGetAuthenticatedAdminErrorOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isMappingNotFound { + return _tag == DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound; +} + +- (BOOL)isAdminNotActive { + return _tag == DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive; +} + +- (BOOL)isOther { + return _tag == DBTEAMTokenGetAuthenticatedAdminErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: + return @"DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound"; + case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: + return @"DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive"; + case DBTEAMTokenGetAuthenticatedAdminErrorOther: + return @"DBTEAMTokenGetAuthenticatedAdminErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamMemberInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamMemberInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTokenGetAuthenticatedAdminErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamMemberInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27267,8 +43243,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.profile hash]; - result = prime * result + [self.role hash]; + switch (_tag) { + case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMTokenGetAuthenticatedAdminErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -27282,18 +43267,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMemberInfo:other]; + return [self isEqualToTokenGetAuthenticatedAdminError:other]; } -- (BOOL)isEqualToTeamMemberInfo:(DBTEAMTeamMemberInfo *)aTeamMemberInfo { - if (self == aTeamMemberInfo) { +- (BOOL)isEqualToTokenGetAuthenticatedAdminError: + (DBTEAMTokenGetAuthenticatedAdminError *)aTokenGetAuthenticatedAdminError { + if (self == aTokenGetAuthenticatedAdminError) { return YES; } - if (![self.profile isEqual:aTeamMemberInfo.profile]) { + if (self.tag != aTokenGetAuthenticatedAdminError.tag) { return NO; } - if (![self.role isEqual:aTeamMemberInfo.role]) { - return NO; + switch (_tag) { + case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: + return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; + case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: + return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; + case DBTEAMTokenGetAuthenticatedAdminErrorOther: + return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; } return YES; } @@ -27302,120 +43293,75 @@ - (BOOL)isEqualToTeamMemberInfo:(DBTEAMTeamMemberInfo *)aTeamMemberInfo { #pragma mark - Serializer Object -@implementation DBTEAMTeamMemberInfoSerializer +@implementation DBTEAMTokenGetAuthenticatedAdminErrorSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.profile]; - jsonDict[@"role"] = [DBTEAMAdminTierSerializer serialize:valueObj.role]; + if ([valueObj isMappingNotFound]) { + jsonDict[@".tag"] = @"mapping_not_found"; + } else if ([valueObj isAdminNotActive]) { + jsonDict[@".tag"] = @"admin_not_active"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMTeamMemberProfile *profile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"profile"]]; - DBTEAMAdminTier *role = [DBTEAMAdminTierSerializer deserialize:valueDict[@"role"]]; ++ (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMTeamMemberInfo alloc] initWithProfile:profile role:role]; + if ([tag isEqualToString:@"mapping_not_found"]) { + return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithMappingNotFound]; + } else if ([tag isEqualToString:@"admin_not_active"]) { + return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithAdminNotActive]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; + } else { + return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMMemberProfile.h" #import "DBTEAMTeamMemberProfile.h" -#import "DBTEAMTeamMemberStatus.h" -#import "DBTEAMTeamMembershipType.h" -#import "DBUSERSName.h" +#import "DBTEAMTokenGetAuthenticatedAdminResult.h" #pragma mark - API Object -@implementation DBTEAMTeamMemberProfile +@implementation DBTEAMTokenGetAuthenticatedAdminResult #pragma mark - Constructors -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - email:(NSString *)email - emailVerified:(NSNumber *)emailVerified - status:(DBTEAMTeamMemberStatus *)status - name:(DBUSERSName *)name - membershipType:(DBTEAMTeamMembershipType *)membershipType - groups:(NSArray *)groups - memberFolderId:(NSString *)memberFolderId - externalId:(NSString *)externalId - accountId:(NSString *)accountId - joinedOn:(NSDate *)joinedOn - persistentId:(NSString *)persistentId { - [DBStoneValidators nonnullValidator:nil](teamMemberId); - [DBStoneValidators nonnullValidator:nil](email); - [DBStoneValidators nonnullValidator:nil](emailVerified); - [DBStoneValidators nonnullValidator:nil](status); - [DBStoneValidators nonnullValidator:nil](name); - [DBStoneValidators nonnullValidator:nil](membershipType); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](memberFolderId); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); +- (instancetype)initWithAdminProfile:(DBTEAMTeamMemberProfile *)adminProfile { + [DBStoneValidators nonnullValidator:nil](adminProfile); - self = [super initWithTeamMemberId:teamMemberId - email:email - emailVerified:emailVerified - status:status - name:name - membershipType:membershipType - externalId:externalId - accountId:accountId - joinedOn:joinedOn - persistentId:persistentId]; + self = [super init]; if (self) { - _groups = groups; - _memberFolderId = memberFolderId; + _adminProfile = adminProfile; } return self; } -- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId - email:(NSString *)email - emailVerified:(NSNumber *)emailVerified - status:(DBTEAMTeamMemberStatus *)status - name:(DBUSERSName *)name - membershipType:(DBTEAMTeamMembershipType *)membershipType - groups:(NSArray *)groups - memberFolderId:(NSString *)memberFolderId { - return [self initWithTeamMemberId:teamMemberId - email:email - emailVerified:emailVerified - status:status - name:name - membershipType:membershipType - groups:groups - memberFolderId:memberFolderId - externalId:nil - accountId:nil - joinedOn:nil - persistentId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamMemberProfileSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamMemberProfileSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMTokenGetAuthenticatedAdminResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamMemberProfileSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27432,26 +43378,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamMemberId hash]; - result = prime * result + [self.email hash]; - result = prime * result + [self.emailVerified hash]; - result = prime * result + [self.status hash]; - result = prime * result + [self.name hash]; - result = prime * result + [self.membershipType hash]; - result = prime * result + [self.groups hash]; - result = prime * result + [self.memberFolderId hash]; - if (self.externalId != nil) { - result = prime * result + [self.externalId hash]; - } - if (self.accountId != nil) { - result = prime * result + [self.accountId hash]; - } - if (self.joinedOn != nil) { - result = prime * result + [self.joinedOn hash]; - } - if (self.persistentId != nil) { - result = prime * result + [self.persistentId hash]; - } + result = prime * result + [self.adminProfile hash]; return prime * result; } @@ -27465,57 +43392,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMemberProfile:other]; + return [self isEqualToTokenGetAuthenticatedAdminResult:other]; } -- (BOOL)isEqualToTeamMemberProfile:(DBTEAMTeamMemberProfile *)aTeamMemberProfile { - if (self == aTeamMemberProfile) { +- (BOOL)isEqualToTokenGetAuthenticatedAdminResult: + (DBTEAMTokenGetAuthenticatedAdminResult *)aTokenGetAuthenticatedAdminResult { + if (self == aTokenGetAuthenticatedAdminResult) { return YES; } - if (![self.teamMemberId isEqual:aTeamMemberProfile.teamMemberId]) { - return NO; - } - if (![self.email isEqual:aTeamMemberProfile.email]) { - return NO; - } - if (![self.emailVerified isEqual:aTeamMemberProfile.emailVerified]) { - return NO; - } - if (![self.status isEqual:aTeamMemberProfile.status]) { - return NO; - } - if (![self.name isEqual:aTeamMemberProfile.name]) { - return NO; - } - if (![self.membershipType isEqual:aTeamMemberProfile.membershipType]) { - return NO; - } - if (![self.groups isEqual:aTeamMemberProfile.groups]) { - return NO; - } - if (![self.memberFolderId isEqual:aTeamMemberProfile.memberFolderId]) { + if (![self.adminProfile isEqual:aTokenGetAuthenticatedAdminResult.adminProfile]) { return NO; } - if (self.externalId) { - if (![self.externalId isEqual:aTeamMemberProfile.externalId]) { - return NO; - } - } - if (self.accountId) { - if (![self.accountId isEqual:aTeamMemberProfile.accountId]) { - return NO; - } - } - if (self.joinedOn) { - if (![self.joinedOn isEqual:aTeamMemberProfile.joinedOn]) { - return NO; - } - } - if (self.persistentId) { - if (![self.persistentId isEqual:aTeamMemberProfile.persistentId]) { - return NO; - } - } return YES; } @@ -27523,158 +43410,93 @@ - (BOOL)isEqualToTeamMemberProfile:(DBTEAMTeamMemberProfile *)aTeamMemberProfile #pragma mark - Serializer Object -@implementation DBTEAMTeamMemberProfileSerializer +@implementation DBTEAMTokenGetAuthenticatedAdminResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - jsonDict[@"email"] = valueObj.email; - jsonDict[@"email_verified"] = valueObj.emailVerified; - jsonDict[@"status"] = [DBTEAMTeamMemberStatusSerializer serialize:valueObj.status]; - jsonDict[@"name"] = [DBUSERSNameSerializer serialize:valueObj.name]; - jsonDict[@"membership_type"] = [DBTEAMTeamMembershipTypeSerializer serialize:valueObj.membershipType]; - jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups - withBlock:^id(id elem0) { - return elem0; - }]; - jsonDict[@"member_folder_id"] = valueObj.memberFolderId; - if (valueObj.externalId) { - jsonDict[@"external_id"] = valueObj.externalId; - } - if (valueObj.accountId) { - jsonDict[@"account_id"] = valueObj.accountId; - } - if (valueObj.joinedOn) { - jsonDict[@"joined_on"] = [DBNSDateSerializer serialize:valueObj.joinedOn dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - } - if (valueObj.persistentId) { - jsonDict[@"persistent_id"] = valueObj.persistentId; - } + jsonDict[@"admin_profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.adminProfile]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)valueDict { - NSString *teamMemberId = valueDict[@"team_member_id"]; - NSString *email = valueDict[@"email"]; - NSNumber *emailVerified = valueDict[@"email_verified"]; - DBTEAMTeamMemberStatus *status = [DBTEAMTeamMemberStatusSerializer deserialize:valueDict[@"status"]]; - DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; - DBTEAMTeamMembershipType *membershipType = - [DBTEAMTeamMembershipTypeSerializer deserialize:valueDict[@"membership_type"]]; - NSArray *groups = [DBArraySerializer deserialize:valueDict[@"groups"] - withBlock:^id(id elem0) { - return elem0; - }]; - NSString *memberFolderId = valueDict[@"member_folder_id"]; - NSString *externalId = valueDict[@"external_id"] ?: nil; - NSString *accountId = valueDict[@"account_id"] ?: nil; - NSDate *joinedOn = valueDict[@"joined_on"] - ? [DBNSDateSerializer deserialize:valueDict[@"joined_on"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; - NSString *persistentId = valueDict[@"persistent_id"] ?: nil; ++ (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamMemberProfile *adminProfile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"admin_profile"]]; - return [[DBTEAMTeamMemberProfile alloc] initWithTeamMemberId:teamMemberId - email:email - emailVerified:emailVerified - status:status - name:name - membershipType:membershipType - groups:groups - memberFolderId:memberFolderId - externalId:externalId - accountId:accountId - joinedOn:joinedOn - persistentId:persistentId]; + return [[DBTEAMTokenGetAuthenticatedAdminResult alloc] initWithAdminProfile:adminProfile]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMRemovedStatus.h" -#import "DBTEAMTeamMemberStatus.h" +#import "DBTEAMUploadApiRateLimitValue.h" #pragma mark - API Object -@implementation DBTEAMTeamMemberStatus +@implementation DBTEAMUploadApiRateLimitValue -@synthesize removed = _removed; +@synthesize limit = _limit; #pragma mark - Constructors -- (instancetype)initWithActive { - self = [super init]; - if (self) { - _tag = DBTEAMTeamMemberStatusActive; - } - return self; -} - -- (instancetype)initWithInvited { +- (instancetype)initWithUnlimited { self = [super init]; if (self) { - _tag = DBTEAMTeamMemberStatusInvited; + _tag = DBTEAMUploadApiRateLimitValueUnlimited; } return self; } -- (instancetype)initWithSuspended { +- (instancetype)initWithLimit:(NSNumber *)limit { self = [super init]; if (self) { - _tag = DBTEAMTeamMemberStatusSuspended; + _tag = DBTEAMUploadApiRateLimitValueLimit; + _limit = limit; } return self; } -- (instancetype)initWithRemoved:(DBTEAMRemovedStatus *)removed { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamMemberStatusRemoved; - _removed = removed; + _tag = DBTEAMUploadApiRateLimitValueOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMRemovedStatus *)removed { - if (![self isRemoved]) { +- (NSNumber *)limit { + if (![self isLimit]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMTeamMemberStatusRemoved, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMUploadApiRateLimitValueLimit, but was %@.", [self tagName]]; } - return _removed; + return _limit; } #pragma mark - Tag state methods -- (BOOL)isActive { - return _tag == DBTEAMTeamMemberStatusActive; -} - -- (BOOL)isInvited { - return _tag == DBTEAMTeamMemberStatusInvited; +- (BOOL)isUnlimited { + return _tag == DBTEAMUploadApiRateLimitValueUnlimited; } -- (BOOL)isSuspended { - return _tag == DBTEAMTeamMemberStatusSuspended; +- (BOOL)isLimit { + return _tag == DBTEAMUploadApiRateLimitValueLimit; } -- (BOOL)isRemoved { - return _tag == DBTEAMTeamMemberStatusRemoved; +- (BOOL)isOther { + return _tag == DBTEAMUploadApiRateLimitValueOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTeamMemberStatusActive: - return @"DBTEAMTeamMemberStatusActive"; - case DBTEAMTeamMemberStatusInvited: - return @"DBTEAMTeamMemberStatusInvited"; - case DBTEAMTeamMemberStatusSuspended: - return @"DBTEAMTeamMemberStatusSuspended"; - case DBTEAMTeamMemberStatusRemoved: - return @"DBTEAMTeamMemberStatusRemoved"; + case DBTEAMUploadApiRateLimitValueUnlimited: + return @"DBTEAMUploadApiRateLimitValueUnlimited"; + case DBTEAMUploadApiRateLimitValueLimit: + return @"DBTEAMUploadApiRateLimitValueLimit"; + case DBTEAMUploadApiRateLimitValueOther: + return @"DBTEAMUploadApiRateLimitValueOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -27682,18 +43504,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamMemberStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUploadApiRateLimitValueSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamMemberStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUploadApiRateLimitValueSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamMemberStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUploadApiRateLimitValueSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27711,14 +43533,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTeamMemberStatusActive: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamMemberStatusInvited: + case DBTEAMUploadApiRateLimitValueUnlimited: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamMemberStatusSuspended: + break; + case DBTEAMUploadApiRateLimitValueLimit: + result = prime * result + [self.limit hash]; + break; + case DBTEAMUploadApiRateLimitValueOther: result = prime * result + [[self tagName] hash]; - case DBTEAMTeamMemberStatusRemoved: - result = prime * result + [self.removed hash]; + break; } return prime * result; @@ -27733,25 +43556,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMemberStatus:other]; + return [self isEqualToUploadApiRateLimitValue:other]; } -- (BOOL)isEqualToTeamMemberStatus:(DBTEAMTeamMemberStatus *)aTeamMemberStatus { - if (self == aTeamMemberStatus) { +- (BOOL)isEqualToUploadApiRateLimitValue:(DBTEAMUploadApiRateLimitValue *)anUploadApiRateLimitValue { + if (self == anUploadApiRateLimitValue) { return YES; } - if (self.tag != aTeamMemberStatus.tag) { + if (self.tag != anUploadApiRateLimitValue.tag) { return NO; } switch (_tag) { - case DBTEAMTeamMemberStatusActive: - return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; - case DBTEAMTeamMemberStatusInvited: - return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; - case DBTEAMTeamMemberStatusSuspended: - return [[self tagName] isEqual:[aTeamMemberStatus tagName]]; - case DBTEAMTeamMemberStatusRemoved: - return [self.removed isEqual:aTeamMemberStatus.removed]; + case DBTEAMUploadApiRateLimitValueUnlimited: + return [[self tagName] isEqual:[anUploadApiRateLimitValue tagName]]; + case DBTEAMUploadApiRateLimitValueLimit: + return [self.limit isEqual:anUploadApiRateLimitValue.limit]; + case DBTEAMUploadApiRateLimitValueOther: + return [[self tagName] isEqual:[anUploadApiRateLimitValue tagName]]; } return YES; } @@ -27760,46 +43581,37 @@ - (BOOL)isEqualToTeamMemberStatus:(DBTEAMTeamMemberStatus *)aTeamMemberStatus { #pragma mark - Serializer Object -@implementation DBTEAMTeamMemberStatusSerializer +@implementation DBTEAMUploadApiRateLimitValueSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isActive]) { - jsonDict[@".tag"] = @"active"; - } else if ([valueObj isInvited]) { - jsonDict[@".tag"] = @"invited"; - } else if ([valueObj isSuspended]) { - jsonDict[@".tag"] = @"suspended"; - } else if ([valueObj isRemoved]) { - jsonDict[@"removed"] = [[DBTEAMRemovedStatusSerializer serialize:valueObj.removed] mutableCopy]; - jsonDict[@".tag"] = @"removed"; + if ([valueObj isUnlimited]) { + jsonDict[@".tag"] = @"unlimited"; + } else if ([valueObj isLimit]) { + jsonDict[@"limit"] = valueObj.limit; + jsonDict[@".tag"] = @"limit"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"active"]) { - return [[DBTEAMTeamMemberStatus alloc] initWithActive]; - } else if ([tag isEqualToString:@"invited"]) { - return [[DBTEAMTeamMemberStatus alloc] initWithInvited]; - } else if ([tag isEqualToString:@"suspended"]) { - return [[DBTEAMTeamMemberStatus alloc] initWithSuspended]; - } else if ([tag isEqualToString:@"removed"]) { - DBTEAMRemovedStatus *removed = [DBTEAMRemovedStatusSerializer deserialize:valueDict]; - return [[DBTEAMTeamMemberStatus alloc] initWithRemoved:removed]; + if ([tag isEqualToString:@"unlimited"]) { + return [[DBTEAMUploadApiRateLimitValue alloc] initWithUnlimited]; + } else if ([tag isEqualToString:@"limit"]) { + NSNumber *limit = valueDict[@"limit"]; + return [[DBTEAMUploadApiRateLimitValue alloc] initWithLimit:limit]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; } } @@ -27807,197 +43619,152 @@ + (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamMembershipType.h" +#import "DBTEAMUserAddResult.h" +#import "DBTEAMUserSecondaryEmailsResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTeamMembershipType +@implementation DBTEAMUserAddResult + +@synthesize success = _success; +@synthesize invalidUser = _invalidUser; +@synthesize unverified = _unverified; +@synthesize placeholderUser = _placeholderUser; #pragma mark - Constructors -- (instancetype)initWithFull { +- (instancetype)initWithSuccess:(DBTEAMUserSecondaryEmailsResult *)success { self = [super init]; if (self) { - _tag = DBTEAMTeamMembershipTypeFull; + _tag = DBTEAMUserAddResultSuccess; + _success = success; } return self; } -- (instancetype)initWithLimited { +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { - _tag = DBTEAMTeamMembershipTypeLimited; + _tag = DBTEAMUserAddResultInvalidUser; + _invalidUser = invalidUser; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isFull { - return _tag == DBTEAMTeamMembershipTypeFull; -} - -- (BOOL)isLimited { - return _tag == DBTEAMTeamMembershipTypeLimited; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamMembershipTypeFull: - return @"DBTEAMTeamMembershipTypeFull"; - case DBTEAMTeamMembershipTypeLimited: - return @"DBTEAMTeamMembershipTypeLimited"; +- (instancetype)initWithUnverified:(DBTEAMUserSelectorArg *)unverified { + self = [super init]; + if (self) { + _tag = DBTEAMUserAddResultUnverified; + _unverified = unverified; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamMembershipTypeSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamMembershipTypeSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMTeamMembershipTypeSerializer serialize:self] description]; + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithPlaceholderUser:(DBTEAMUserSelectorArg *)placeholderUser { + self = [super init]; + if (self) { + _tag = DBTEAMUserAddResultPlaceholderUser; + _placeholderUser = placeholderUser; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - switch (_tag) { - case DBTEAMTeamMembershipTypeFull: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamMembershipTypeLimited: - result = prime * result + [[self tagName] hash]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMUserAddResultOther; } - - return prime * result; + return self; } -#pragma mark - Equality method +#pragma mark - Instance field accessors -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (DBTEAMUserSecondaryEmailsResult *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserAddResultSuccess, but was %@.", [self tagName]]; } - return [self isEqualToTeamMembershipType:other]; + return _success; } -- (BOOL)isEqualToTeamMembershipType:(DBTEAMTeamMembershipType *)aTeamMembershipType { - if (self == aTeamMembershipType) { - return YES; - } - if (self.tag != aTeamMembershipType.tag) { - return NO; - } - switch (_tag) { - case DBTEAMTeamMembershipTypeFull: - return [[self tagName] isEqual:[aTeamMembershipType tagName]]; - case DBTEAMTeamMembershipTypeLimited: - return [[self tagName] isEqual:[aTeamMembershipType tagName]]; +- (DBTEAMUserSelectorArg *)invalidUser { + if (![self isInvalidUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserAddResultInvalidUser, but was %@.", [self tagName]]; } - return YES; + return _invalidUser; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMTeamMembershipTypeSerializer - -+ (NSDictionary *)serialize:(DBTEAMTeamMembershipType *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - if ([valueObj isFull]) { - jsonDict[@".tag"] = @"full"; - } else if ([valueObj isLimited]) { - jsonDict[@".tag"] = @"limited"; - } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); +- (DBTEAMUserSelectorArg *)unverified { + if (![self isUnverified]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserAddResultUnverified, but was %@.", [self tagName]]; } - - return [jsonDict count] > 0 ? jsonDict : nil; + return _unverified; } -+ (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"full"]) { - return [[DBTEAMTeamMembershipType alloc] initWithFull]; - } else if ([tag isEqualToString:@"limited"]) { - return [[DBTEAMTeamMembershipType alloc] initWithLimited]; - } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); +- (DBTEAMUserSelectorArg *)placeholderUser { + if (![self isPlaceholderUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserAddResultPlaceholderUser, but was %@.", [self tagName]]; } + return _placeholderUser; } -@end +#pragma mark - Tag state methods -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMTeamNamespacesListArg.h" +- (BOOL)isSuccess { + return _tag == DBTEAMUserAddResultSuccess; +} -#pragma mark - API Object +- (BOOL)isInvalidUser { + return _tag == DBTEAMUserAddResultInvalidUser; +} -@implementation DBTEAMTeamNamespacesListArg +- (BOOL)isUnverified { + return _tag == DBTEAMUserAddResultUnverified; +} -#pragma mark - Constructors +- (BOOL)isPlaceholderUser { + return _tag == DBTEAMUserAddResultPlaceholderUser; +} -- (instancetype)initWithLimit:(NSNumber *)limit { +- (BOOL)isOther { + return _tag == DBTEAMUserAddResultOther; +} - self = [super init]; - if (self) { - _limit = limit ?: @(1000); +- (NSString *)tagName { + switch (_tag) { + case DBTEAMUserAddResultSuccess: + return @"DBTEAMUserAddResultSuccess"; + case DBTEAMUserAddResultInvalidUser: + return @"DBTEAMUserAddResultInvalidUser"; + case DBTEAMUserAddResultUnverified: + return @"DBTEAMUserAddResultUnverified"; + case DBTEAMUserAddResultPlaceholderUser: + return @"DBTEAMUserAddResultPlaceholderUser"; + case DBTEAMUserAddResultOther: + return @"DBTEAMUserAddResultOther"; } - return self; -} -- (instancetype)initDefault { - return [self initWithLimit:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamNamespacesListArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserAddResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamNamespacesListArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserAddResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamNamespacesListArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserAddResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28014,7 +43781,23 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.limit hash]; + switch (_tag) { + case DBTEAMUserAddResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMUserAddResultInvalidUser: + result = prime * result + [self.invalidUser hash]; + break; + case DBTEAMUserAddResultUnverified: + result = prime * result + [self.unverified hash]; + break; + case DBTEAMUserAddResultPlaceholderUser: + result = prime * result + [self.placeholderUser hash]; + break; + case DBTEAMUserAddResultOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -28028,16 +43811,28 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamNamespacesListArg:other]; + return [self isEqualToUserAddResult:other]; } -- (BOOL)isEqualToTeamNamespacesListArg:(DBTEAMTeamNamespacesListArg *)aTeamNamespacesListArg { - if (self == aTeamNamespacesListArg) { +- (BOOL)isEqualToUserAddResult:(DBTEAMUserAddResult *)anUserAddResult { + if (self == anUserAddResult) { return YES; } - if (![self.limit isEqual:aTeamNamespacesListArg.limit]) { + if (self.tag != anUserAddResult.tag) { return NO; } + switch (_tag) { + case DBTEAMUserAddResultSuccess: + return [self.success isEqual:anUserAddResult.success]; + case DBTEAMUserAddResultInvalidUser: + return [self.invalidUser isEqual:anUserAddResult.invalidUser]; + case DBTEAMUserAddResultUnverified: + return [self.unverified isEqual:anUserAddResult.unverified]; + case DBTEAMUserAddResultPlaceholderUser: + return [self.placeholderUser isEqual:anUserAddResult.placeholderUser]; + case DBTEAMUserAddResultOther: + return [[self tagName] isEqual:[anUserAddResult tagName]]; + } return YES; } @@ -28045,58 +43840,94 @@ - (BOOL)isEqualToTeamNamespacesListArg:(DBTEAMTeamNamespacesListArg *)aTeamNames #pragma mark - Serializer Object -@implementation DBTEAMTeamNamespacesListArgSerializer +@implementation DBTEAMUserAddResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserAddResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"limit"] = valueObj.limit; + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMUserSecondaryEmailsResultSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isInvalidUser]) { + jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; + jsonDict[@".tag"] = @"invalid_user"; + } else if ([valueObj isUnverified]) { + jsonDict[@"unverified"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.unverified] mutableCopy]; + jsonDict[@".tag"] = @"unverified"; + } else if ([valueObj isPlaceholderUser]) { + jsonDict[@"placeholder_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.placeholderUser] mutableCopy]; + jsonDict[@".tag"] = @"placeholder_user"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)valueDict { - NSNumber *limit = valueDict[@"limit"] ?: @(1000); ++ (DBTEAMUserAddResult *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMTeamNamespacesListArg alloc] initWithLimit:limit]; + if ([tag isEqualToString:@"success"]) { + DBTEAMUserSecondaryEmailsResult *success = [DBTEAMUserSecondaryEmailsResultSerializer deserialize:valueDict]; + return [[DBTEAMUserAddResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"invalid_user"]) { + DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; + return [[DBTEAMUserAddResult alloc] initWithInvalidUser:invalidUser]; + } else if ([tag isEqualToString:@"unverified"]) { + DBTEAMUserSelectorArg *unverified = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"unverified"]]; + return [[DBTEAMUserAddResult alloc] initWithUnverified:unverified]; + } else if ([tag isEqualToString:@"placeholder_user"]) { + DBTEAMUserSelectorArg *placeholderUser = + [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"placeholder_user"]]; + return [[DBTEAMUserAddResult alloc] initWithPlaceholderUser:placeholderUser]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMUserAddResult alloc] initWithOther]; + } else { + return [[DBTEAMUserAddResult alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamNamespacesListContinueArg.h" +#import "DBTEAMUserCustomQuotaArg.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTeamNamespacesListContinueArg +@implementation DBTEAMUserCustomQuotaArg #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:nil](cursor); +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nonnullValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); self = [super init]; if (self) { - _cursor = cursor; + _user = user; + _quotaGb = quotaGb; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamNamespacesListContinueArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserCustomQuotaArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamNamespacesListContinueArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserCustomQuotaArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamNamespacesListContinueArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserCustomQuotaArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28113,7 +43944,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.user hash]; + result = prime * result + [self.quotaGb hash]; return prime * result; } @@ -28127,14 +43959,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamNamespacesListContinueArg:other]; + return [self isEqualToUserCustomQuotaArg:other]; } -- (BOOL)isEqualToTeamNamespacesListContinueArg:(DBTEAMTeamNamespacesListContinueArg *)aTeamNamespacesListContinueArg { - if (self == aTeamNamespacesListContinueArg) { +- (BOOL)isEqualToUserCustomQuotaArg:(DBTEAMUserCustomQuotaArg *)anUserCustomQuotaArg { + if (self == anUserCustomQuotaArg) { return YES; } - if (![self.cursor isEqual:aTeamNamespacesListContinueArg.cursor]) { + if (![self.user isEqual:anUserCustomQuotaArg.user]) { + return NO; + } + if (![self.quotaGb isEqual:anUserCustomQuotaArg.quotaGb]) { return NO; } return YES; @@ -28144,87 +43979,67 @@ - (BOOL)isEqualToTeamNamespacesListContinueArg:(DBTEAMTeamNamespacesListContinue #pragma mark - Serializer Object -@implementation DBTEAMTeamNamespacesListContinueArgSerializer +@implementation DBTEAMUserCustomQuotaArgSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"quota_gb"] = valueObj.quotaGb; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSNumber *quotaGb = valueDict[@"quota_gb"]; - return [[DBTEAMTeamNamespacesListContinueArg alloc] initWithCursor:cursor]; + return [[DBTEAMUserCustomQuotaArg alloc] initWithUser:user quotaGb:quotaGb]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamNamespacesListContinueError.h" +#import "DBTEAMUserCustomQuotaResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTeamNamespacesListContinueError +@implementation DBTEAMUserCustomQuotaResult #pragma mark - Constructors -- (instancetype)initWithInvalidCursor { - self = [super init]; - if (self) { - _tag = DBTEAMTeamNamespacesListContinueErrorInvalidCursor; - } - return self; -} +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators nullableValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTeamNamespacesListContinueErrorOther; + _user = user; + _quotaGb = quotaGb; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isInvalidCursor { - return _tag == DBTEAMTeamNamespacesListContinueErrorInvalidCursor; -} - -- (BOOL)isOther { - return _tag == DBTEAMTeamNamespacesListContinueErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: - return @"DBTEAMTeamNamespacesListContinueErrorInvalidCursor"; - case DBTEAMTeamNamespacesListContinueErrorOther: - return @"DBTEAMTeamNamespacesListContinueErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { + return [self initWithUser:user quotaGb:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamNamespacesListContinueErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserCustomQuotaResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamNamespacesListContinueErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserCustomQuotaResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamNamespacesListContinueErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserCustomQuotaResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28241,11 +44056,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: - result = prime * result + [[self tagName] hash]; - case DBTEAMTeamNamespacesListContinueErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.user hash]; + if (self.quotaGb != nil) { + result = prime * result + [self.quotaGb hash]; } return prime * result; @@ -28260,22 +44073,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamNamespacesListContinueError:other]; + return [self isEqualToUserCustomQuotaResult:other]; } -- (BOOL)isEqualToTeamNamespacesListContinueError: - (DBTEAMTeamNamespacesListContinueError *)aTeamNamespacesListContinueError { - if (self == aTeamNamespacesListContinueError) { +- (BOOL)isEqualToUserCustomQuotaResult:(DBTEAMUserCustomQuotaResult *)anUserCustomQuotaResult { + if (self == anUserCustomQuotaResult) { return YES; } - if (self.tag != aTeamNamespacesListContinueError.tag) { + if (![self.user isEqual:anUserCustomQuotaResult.user]) { return NO; } - switch (_tag) { - case DBTEAMTeamNamespacesListContinueErrorInvalidCursor: - return [[self tagName] isEqual:[aTeamNamespacesListContinueError tagName]]; - case DBTEAMTeamNamespacesListContinueErrorOther: - return [[self tagName] isEqual:[aTeamNamespacesListContinueError tagName]]; + if (self.quotaGb) { + if (![self.quotaGb isEqual:anUserCustomQuotaResult.quotaGb]) { + return NO; + } } return YES; } @@ -28284,80 +44095,70 @@ - (BOOL)isEqualToTeamNamespacesListContinueError: #pragma mark - Serializer Object -@implementation DBTEAMTeamNamespacesListContinueErrorSerializer +@implementation DBTEAMUserCustomQuotaResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isInvalidCursor]) { - jsonDict[@".tag"] = @"invalid_cursor"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + if (valueObj.quotaGb) { + jsonDict[@"quota_gb"] = valueObj.quotaGb; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSNumber *quotaGb = valueDict[@"quota_gb"] ?: nil; - if ([tag isEqualToString:@"invalid_cursor"]) { - return [[DBTEAMTeamNamespacesListContinueError alloc] initWithInvalidCursor]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; - } else { - return [[DBTEAMTeamNamespacesListContinueError alloc] initWithOther]; - } + return [[DBTEAMUserCustomQuotaResult alloc] initWithUser:user quotaGb:quotaGb]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMNamespaceMetadata.h" -#import "DBTEAMTeamNamespacesListResult.h" +#import "DBTEAMDeleteSecondaryEmailResult.h" +#import "DBTEAMUserDeleteEmailsResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTeamNamespacesListResult +@implementation DBTEAMUserDeleteEmailsResult #pragma mark - Constructors -- (instancetype)initWithNamespaces:(NSArray *)namespaces - cursor:(NSString *)cursor - hasMore:(NSNumber *)hasMore { +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + results:(NSArray *)results { + [DBStoneValidators nonnullValidator:nil](user); [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](namespaces); - [DBStoneValidators nonnullValidator:nil](cursor); - [DBStoneValidators nonnullValidator:nil](hasMore); + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); self = [super init]; if (self) { - _namespaces = namespaces; - _cursor = cursor; - _hasMore = hasMore; + _user = user; + _results = results; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTeamNamespacesListResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserDeleteEmailsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTeamNamespacesListResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserDeleteEmailsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTeamNamespacesListResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserDeleteEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28374,9 +44175,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.namespaces hash]; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.hasMore hash]; + result = prime * result + [self.user hash]; + result = prime * result + [self.results hash]; return prime * result; } @@ -28390,20 +44190,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamNamespacesListResult:other]; + return [self isEqualToUserDeleteEmailsResult:other]; } -- (BOOL)isEqualToTeamNamespacesListResult:(DBTEAMTeamNamespacesListResult *)aTeamNamespacesListResult { - if (self == aTeamNamespacesListResult) { +- (BOOL)isEqualToUserDeleteEmailsResult:(DBTEAMUserDeleteEmailsResult *)anUserDeleteEmailsResult { + if (self == anUserDeleteEmailsResult) { return YES; } - if (![self.namespaces isEqual:aTeamNamespacesListResult.namespaces]) { - return NO; - } - if (![self.cursor isEqual:aTeamNamespacesListResult.cursor]) { + if (![self.user isEqual:anUserDeleteEmailsResult.user]) { return NO; } - if (![self.hasMore isEqual:aTeamNamespacesListResult.hasMore]) { + if (![self.results isEqual:anUserDeleteEmailsResult.results]) { return NO; } return YES; @@ -28413,57 +44210,62 @@ - (BOOL)isEqualToTeamNamespacesListResult:(DBTEAMTeamNamespacesListResult *)aTea #pragma mark - Serializer Object -@implementation DBTEAMTeamNamespacesListResultSerializer +@implementation DBTEAMUserDeleteEmailsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserDeleteEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"namespaces"] = [DBArraySerializer serialize:valueObj.namespaces - withBlock:^id(id elem0) { - return [DBTEAMNamespaceMetadataSerializer serialize:elem0]; - }]; - jsonDict[@"cursor"] = valueObj.cursor; - jsonDict[@"has_more"] = valueObj.hasMore; + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMDeleteSecondaryEmailResultSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)valueDict { - NSArray *namespaces = - [DBArraySerializer deserialize:valueDict[@"namespaces"] ++ (DBTEAMUserDeleteEmailsResult *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] withBlock:^id(id elem0) { - return [DBTEAMNamespaceMetadataSerializer deserialize:elem0]; + return [DBTEAMDeleteSecondaryEmailResultSerializer deserialize:elem0]; }]; - NSString *cursor = valueDict[@"cursor"]; - NSNumber *hasMore = valueDict[@"has_more"]; - return [[DBTEAMTeamNamespacesListResult alloc] initWithNamespaces:namespaces cursor:cursor hasMore:hasMore]; + return [[DBTEAMUserDeleteEmailsResult alloc] initWithUser:user results:results]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTokenGetAuthenticatedAdminError.h" +#import "DBTEAMUserDeleteEmailsResult.h" +#import "DBTEAMUserDeleteResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTokenGetAuthenticatedAdminError +@implementation DBTEAMUserDeleteResult + +@synthesize success = _success; +@synthesize invalidUser = _invalidUser; #pragma mark - Constructors -- (instancetype)initWithMappingNotFound { +- (instancetype)initWithSuccess:(DBTEAMUserDeleteEmailsResult *)success { self = [super init]; if (self) { - _tag = DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound; + _tag = DBTEAMUserDeleteResultSuccess; + _success = success; } return self; } -- (instancetype)initWithAdminNotActive { +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { - _tag = DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive; + _tag = DBTEAMUserDeleteResultInvalidUser; + _invalidUser = invalidUser; } return self; } @@ -28471,35 +44273,51 @@ - (instancetype)initWithAdminNotActive { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMTokenGetAuthenticatedAdminErrorOther; + _tag = DBTEAMUserDeleteResultOther; } return self; } #pragma mark - Instance field accessors +- (DBTEAMUserDeleteEmailsResult *)success { + if (![self isSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserDeleteResultSuccess, but was %@.", [self tagName]]; + } + return _success; +} + +- (DBTEAMUserSelectorArg *)invalidUser { + if (![self isInvalidUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserDeleteResultInvalidUser, but was %@.", [self tagName]]; + } + return _invalidUser; +} + #pragma mark - Tag state methods -- (BOOL)isMappingNotFound { - return _tag == DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound; +- (BOOL)isSuccess { + return _tag == DBTEAMUserDeleteResultSuccess; } -- (BOOL)isAdminNotActive { - return _tag == DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive; +- (BOOL)isInvalidUser { + return _tag == DBTEAMUserDeleteResultInvalidUser; } - (BOOL)isOther { - return _tag == DBTEAMTokenGetAuthenticatedAdminErrorOther; + return _tag == DBTEAMUserDeleteResultOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: - return @"DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound"; - case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: - return @"DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive"; - case DBTEAMTokenGetAuthenticatedAdminErrorOther: - return @"DBTEAMTokenGetAuthenticatedAdminErrorOther"; + case DBTEAMUserDeleteResultSuccess: + return @"DBTEAMUserDeleteResultSuccess"; + case DBTEAMUserDeleteResultInvalidUser: + return @"DBTEAMUserDeleteResultInvalidUser"; + case DBTEAMUserDeleteResultOther: + return @"DBTEAMUserDeleteResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -28507,18 +44325,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserDeleteResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTokenGetAuthenticatedAdminErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserDeleteResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTokenGetAuthenticatedAdminErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserDeleteResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28536,12 +44354,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: - result = prime * result + [[self tagName] hash]; - case DBTEAMTokenGetAuthenticatedAdminErrorOther: + case DBTEAMUserDeleteResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMUserDeleteResultInvalidUser: + result = prime * result + [self.invalidUser hash]; + break; + case DBTEAMUserDeleteResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -28556,24 +44377,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTokenGetAuthenticatedAdminError:other]; + return [self isEqualToUserDeleteResult:other]; } -- (BOOL)isEqualToTokenGetAuthenticatedAdminError: - (DBTEAMTokenGetAuthenticatedAdminError *)aTokenGetAuthenticatedAdminError { - if (self == aTokenGetAuthenticatedAdminError) { +- (BOOL)isEqualToUserDeleteResult:(DBTEAMUserDeleteResult *)anUserDeleteResult { + if (self == anUserDeleteResult) { return YES; } - if (self.tag != aTokenGetAuthenticatedAdminError.tag) { + if (self.tag != anUserDeleteResult.tag) { return NO; } switch (_tag) { - case DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound: - return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; - case DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive: - return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; - case DBTEAMTokenGetAuthenticatedAdminErrorOther: - return [[self tagName] isEqual:[aTokenGetAuthenticatedAdminError tagName]]; + case DBTEAMUserDeleteResultSuccess: + return [self.success isEqual:anUserDeleteResult.success]; + case DBTEAMUserDeleteResultInvalidUser: + return [self.invalidUser isEqual:anUserDeleteResult.invalidUser]; + case DBTEAMUserDeleteResultOther: + return [[self tagName] isEqual:[anUserDeleteResult tagName]]; } return YES; } @@ -28582,35 +44402,39 @@ - (BOOL)isEqualToTokenGetAuthenticatedAdminError: #pragma mark - Serializer Object -@implementation DBTEAMTokenGetAuthenticatedAdminErrorSerializer +@implementation DBTEAMUserDeleteResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserDeleteResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMappingNotFound]) { - jsonDict[@".tag"] = @"mapping_not_found"; - } else if ([valueObj isAdminNotActive]) { - jsonDict[@".tag"] = @"admin_not_active"; + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMUserDeleteEmailsResultSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isInvalidUser]) { + jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; + jsonDict[@".tag"] = @"invalid_user"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUserDeleteResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"mapping_not_found"]) { - return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithMappingNotFound]; - } else if ([tag isEqualToString:@"admin_not_active"]) { - return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithAdminNotActive]; + if ([tag isEqualToString:@"success"]) { + DBTEAMUserDeleteEmailsResult *success = [DBTEAMUserDeleteEmailsResultSerializer deserialize:valueDict]; + return [[DBTEAMUserDeleteResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"invalid_user"]) { + DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; + return [[DBTEAMUserDeleteResult alloc] initWithInvalidUser:invalidUser]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; + return [[DBTEAMUserDeleteResult alloc] initWithOther]; } else { - return [[DBTEAMTokenGetAuthenticatedAdminError alloc] initWithOther]; + return [[DBTEAMUserDeleteResult alloc] initWithOther]; } } @@ -28618,39 +44442,46 @@ + (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)valueDict #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMTeamMemberProfile.h" -#import "DBTEAMTokenGetAuthenticatedAdminResult.h" +#import "DBTEAMResendSecondaryEmailResult.h" +#import "DBTEAMUserResendEmailsResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMTokenGetAuthenticatedAdminResult +@implementation DBTEAMUserResendEmailsResult #pragma mark - Constructors -- (instancetype)initWithAdminProfile:(DBTEAMTeamMemberProfile *)adminProfile { - [DBStoneValidators nonnullValidator:nil](adminProfile); +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + results:(NSArray *)results { + [DBStoneValidators nonnullValidator:nil](user); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); self = [super init]; if (self) { - _adminProfile = adminProfile; + _user = user; + _results = results; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserResendEmailsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMTokenGetAuthenticatedAdminResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserResendEmailsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMTokenGetAuthenticatedAdminResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserResendEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28667,7 +44498,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.adminProfile hash]; + result = prime * result + [self.user hash]; + result = prime * result + [self.results hash]; return prime * result; } @@ -28681,15 +44513,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTokenGetAuthenticatedAdminResult:other]; + return [self isEqualToUserResendEmailsResult:other]; } -- (BOOL)isEqualToTokenGetAuthenticatedAdminResult: - (DBTEAMTokenGetAuthenticatedAdminResult *)aTokenGetAuthenticatedAdminResult { - if (self == aTokenGetAuthenticatedAdminResult) { +- (BOOL)isEqualToUserResendEmailsResult:(DBTEAMUserResendEmailsResult *)anUserResendEmailsResult { + if (self == anUserResendEmailsResult) { return YES; } - if (![self.adminProfile isEqual:aTokenGetAuthenticatedAdminResult.adminProfile]) { + if (![self.user isEqual:anUserResendEmailsResult.user]) { + return NO; + } + if (![self.results isEqual:anUserResendEmailsResult.results]) { return NO; } return YES; @@ -28699,49 +44533,62 @@ - (BOOL)isEqualToTokenGetAuthenticatedAdminResult: #pragma mark - Serializer Object -@implementation DBTEAMTokenGetAuthenticatedAdminResultSerializer +@implementation DBTEAMUserResendEmailsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserResendEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"admin_profile"] = [DBTEAMTeamMemberProfileSerializer serialize:valueObj.adminProfile]; + jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMResendSecondaryEmailResultSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)valueDict { - DBTEAMTeamMemberProfile *adminProfile = [DBTEAMTeamMemberProfileSerializer deserialize:valueDict[@"admin_profile"]]; ++ (DBTEAMUserResendEmailsResult *)deserialize:(NSDictionary *)valueDict { + DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] + withBlock:^id(id elem0) { + return [DBTEAMResendSecondaryEmailResultSerializer deserialize:elem0]; + }]; - return [[DBTEAMTokenGetAuthenticatedAdminResult alloc] initWithAdminProfile:adminProfile]; + return [[DBTEAMUserResendEmailsResult alloc] initWithUser:user results:results]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMUploadApiRateLimitValue.h" +#import "DBTEAMUserResendEmailsResult.h" +#import "DBTEAMUserResendResult.h" +#import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMUploadApiRateLimitValue +@implementation DBTEAMUserResendResult -@synthesize limit = _limit; +@synthesize success = _success; +@synthesize invalidUser = _invalidUser; #pragma mark - Constructors -- (instancetype)initWithUnlimited { +- (instancetype)initWithSuccess:(DBTEAMUserResendEmailsResult *)success { self = [super init]; if (self) { - _tag = DBTEAMUploadApiRateLimitValueUnlimited; + _tag = DBTEAMUserResendResultSuccess; + _success = success; } return self; } -- (instancetype)initWithLimit:(NSNumber *)limit { +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser { self = [super init]; if (self) { - _tag = DBTEAMUploadApiRateLimitValueLimit; - _limit = limit; + _tag = DBTEAMUserResendResultInvalidUser; + _invalidUser = invalidUser; } return self; } @@ -28749,43 +44596,51 @@ - (instancetype)initWithLimit:(NSNumber *)limit { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMUploadApiRateLimitValueOther; + _tag = DBTEAMUserResendResultOther; } return self; } #pragma mark - Instance field accessors -- (NSNumber *)limit { - if (![self isLimit]) { +- (DBTEAMUserResendEmailsResult *)success { + if (![self isSuccess]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMUploadApiRateLimitValueLimit, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMUserResendResultSuccess, but was %@.", [self tagName]]; } - return _limit; + return _success; +} + +- (DBTEAMUserSelectorArg *)invalidUser { + if (![self isInvalidUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMUserResendResultInvalidUser, but was %@.", [self tagName]]; + } + return _invalidUser; } #pragma mark - Tag state methods -- (BOOL)isUnlimited { - return _tag == DBTEAMUploadApiRateLimitValueUnlimited; +- (BOOL)isSuccess { + return _tag == DBTEAMUserResendResultSuccess; } -- (BOOL)isLimit { - return _tag == DBTEAMUploadApiRateLimitValueLimit; +- (BOOL)isInvalidUser { + return _tag == DBTEAMUserResendResultInvalidUser; } - (BOOL)isOther { - return _tag == DBTEAMUploadApiRateLimitValueOther; + return _tag == DBTEAMUserResendResultOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMUploadApiRateLimitValueUnlimited: - return @"DBTEAMUploadApiRateLimitValueUnlimited"; - case DBTEAMUploadApiRateLimitValueLimit: - return @"DBTEAMUploadApiRateLimitValueLimit"; - case DBTEAMUploadApiRateLimitValueOther: - return @"DBTEAMUploadApiRateLimitValueOther"; + case DBTEAMUserResendResultSuccess: + return @"DBTEAMUserResendResultSuccess"; + case DBTEAMUserResendResultInvalidUser: + return @"DBTEAMUserResendResultInvalidUser"; + case DBTEAMUserResendResultOther: + return @"DBTEAMUserResendResultOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -28793,18 +44648,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMUploadApiRateLimitValueSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserResendResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMUploadApiRateLimitValueSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserResendResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMUploadApiRateLimitValueSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserResendResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28822,12 +44677,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMUploadApiRateLimitValueUnlimited: - result = prime * result + [[self tagName] hash]; - case DBTEAMUploadApiRateLimitValueLimit: - result = prime * result + [self.limit hash]; - case DBTEAMUploadApiRateLimitValueOther: + case DBTEAMUserResendResultSuccess: + result = prime * result + [self.success hash]; + break; + case DBTEAMUserResendResultInvalidUser: + result = prime * result + [self.invalidUser hash]; + break; + case DBTEAMUserResendResultOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -28842,23 +44700,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUploadApiRateLimitValue:other]; + return [self isEqualToUserResendResult:other]; } -- (BOOL)isEqualToUploadApiRateLimitValue:(DBTEAMUploadApiRateLimitValue *)anUploadApiRateLimitValue { - if (self == anUploadApiRateLimitValue) { +- (BOOL)isEqualToUserResendResult:(DBTEAMUserResendResult *)anUserResendResult { + if (self == anUserResendResult) { return YES; } - if (self.tag != anUploadApiRateLimitValue.tag) { + if (self.tag != anUserResendResult.tag) { return NO; } switch (_tag) { - case DBTEAMUploadApiRateLimitValueUnlimited: - return [[self tagName] isEqual:[anUploadApiRateLimitValue tagName]]; - case DBTEAMUploadApiRateLimitValueLimit: - return [self.limit isEqual:anUploadApiRateLimitValue.limit]; - case DBTEAMUploadApiRateLimitValueOther: - return [[self tagName] isEqual:[anUploadApiRateLimitValue tagName]]; + case DBTEAMUserResendResultSuccess: + return [self.success isEqual:anUserResendResult.success]; + case DBTEAMUserResendResultInvalidUser: + return [self.invalidUser isEqual:anUserResendResult.invalidUser]; + case DBTEAMUserResendResultOther: + return [[self tagName] isEqual:[anUserResendResult tagName]]; } return YES; } @@ -28867,37 +44725,39 @@ - (BOOL)isEqualToUploadApiRateLimitValue:(DBTEAMUploadApiRateLimitValue *)anUplo #pragma mark - Serializer Object -@implementation DBTEAMUploadApiRateLimitValueSerializer +@implementation DBTEAMUserResendResultSerializer -+ (NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserResendResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUnlimited]) { - jsonDict[@".tag"] = @"unlimited"; - } else if ([valueObj isLimit]) { - jsonDict[@"limit"] = valueObj.limit; - jsonDict[@".tag"] = @"limit"; + if ([valueObj isSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMUserResendEmailsResultSerializer serialize:valueObj.success]]; + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isInvalidUser]) { + jsonDict[@"invalid_user"] = [[DBTEAMUserSelectorArgSerializer serialize:valueObj.invalidUser] mutableCopy]; + jsonDict[@".tag"] = @"invalid_user"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUserResendResult *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"unlimited"]) { - return [[DBTEAMUploadApiRateLimitValue alloc] initWithUnlimited]; - } else if ([tag isEqualToString:@"limit"]) { - NSNumber *limit = valueDict[@"limit"]; - return [[DBTEAMUploadApiRateLimitValue alloc] initWithLimit:limit]; + if ([tag isEqualToString:@"success"]) { + DBTEAMUserResendEmailsResult *success = [DBTEAMUserResendEmailsResultSerializer deserialize:valueDict]; + return [[DBTEAMUserResendResult alloc] initWithSuccess:success]; + } else if ([tag isEqualToString:@"invalid_user"]) { + DBTEAMUserSelectorArg *invalidUser = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"invalid_user"]]; + return [[DBTEAMUserResendResult alloc] initWithInvalidUser:invalidUser]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; + return [[DBTEAMUserResendResult alloc] initWithOther]; } else { - return [[DBTEAMUploadApiRateLimitValue alloc] initWithOther]; + return [[DBTEAMUserResendResult alloc] initWithOther]; } } @@ -28905,41 +44765,51 @@ + (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMUserCustomQuotaArg.h" +#import "DBTEAMUserSecondaryEmailsArg.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMUserCustomQuotaArg +@implementation DBTEAMUserSecondaryEmailsArg #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user secondaryEmails:(NSArray *)secondaryEmails { [DBStoneValidators nonnullValidator:nil](user); - [DBStoneValidators nonnullValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators + nonnullValidator:[DBStoneValidators + stringValidator:nil + maxLength:@(255) + pattern:@"^['#&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-" + @"Za-z0-9.-]*\\.[A-Za-z]{2,15}$"]]]]( + secondaryEmails); self = [super init]; if (self) { _user = user; - _quotaGb = quotaGb; + _secondaryEmails = secondaryEmails; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMUserCustomQuotaArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserSecondaryEmailsArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMUserCustomQuotaArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserSecondaryEmailsArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMUserCustomQuotaArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserSecondaryEmailsArgSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28957,7 +44827,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.user hash]; - result = prime * result + [self.quotaGb hash]; + result = prime * result + [self.secondaryEmails hash]; return prime * result; } @@ -28971,17 +44841,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserCustomQuotaArg:other]; + return [self isEqualToUserSecondaryEmailsArg:other]; } -- (BOOL)isEqualToUserCustomQuotaArg:(DBTEAMUserCustomQuotaArg *)anUserCustomQuotaArg { - if (self == anUserCustomQuotaArg) { +- (BOOL)isEqualToUserSecondaryEmailsArg:(DBTEAMUserSecondaryEmailsArg *)anUserSecondaryEmailsArg { + if (self == anUserSecondaryEmailsArg) { return YES; } - if (![self.user isEqual:anUserCustomQuotaArg.user]) { + if (![self.user isEqual:anUserSecondaryEmailsArg.user]) { return NO; } - if (![self.quotaGb isEqual:anUserCustomQuotaArg.quotaGb]) { + if (![self.secondaryEmails isEqual:anUserSecondaryEmailsArg.secondaryEmails]) { return NO; } return YES; @@ -28991,67 +44861,73 @@ - (BOOL)isEqualToUserCustomQuotaArg:(DBTEAMUserCustomQuotaArg *)anUserCustomQuot #pragma mark - Serializer Object -@implementation DBTEAMUserCustomQuotaArgSerializer +@implementation DBTEAMUserSecondaryEmailsArgSerializer -+ (NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - jsonDict[@"quota_gb"] = valueObj.quotaGb; + jsonDict[@"secondary_emails"] = [DBArraySerializer serialize:valueObj.secondaryEmails + withBlock:^id(id elem0) { + return elem0; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUserSecondaryEmailsArg *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - NSNumber *quotaGb = valueDict[@"quota_gb"]; + NSArray *secondaryEmails = [DBArraySerializer deserialize:valueDict[@"secondary_emails"] + withBlock:^id(id elem0) { + return elem0; + }]; - return [[DBTEAMUserCustomQuotaArg alloc] initWithUser:user quotaGb:quotaGb]; + return [[DBTEAMUserSecondaryEmailsArg alloc] initWithUser:user secondaryEmails:secondaryEmails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMUserCustomQuotaResult.h" +#import "DBTEAMAddSecondaryEmailResult.h" +#import "DBTEAMUserSecondaryEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #pragma mark - API Object -@implementation DBTEAMUserCustomQuotaResult +@implementation DBTEAMUserSecondaryEmailsResult #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user quotaGb:(NSNumber *)quotaGb { +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user results:(NSArray *)results { [DBStoneValidators nonnullValidator:nil](user); - [DBStoneValidators nullableValidator:[DBStoneValidators numericValidator:@(15) maxValue:nil]](quotaGb); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](results); self = [super init]; if (self) { _user = user; - _quotaGb = quotaGb; + _results = results; } return self; } -- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user { - return [self initWithUser:user quotaGb:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMUserCustomQuotaResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMUserSecondaryEmailsResultSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMUserCustomQuotaResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMUserSecondaryEmailsResultSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMUserCustomQuotaResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMUserSecondaryEmailsResultSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29069,9 +44945,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.user hash]; - if (self.quotaGb != nil) { - result = prime * result + [self.quotaGb hash]; - } + result = prime * result + [self.results hash]; return prime * result; } @@ -29085,20 +44959,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserCustomQuotaResult:other]; + return [self isEqualToUserSecondaryEmailsResult:other]; } -- (BOOL)isEqualToUserCustomQuotaResult:(DBTEAMUserCustomQuotaResult *)anUserCustomQuotaResult { - if (self == anUserCustomQuotaResult) { +- (BOOL)isEqualToUserSecondaryEmailsResult:(DBTEAMUserSecondaryEmailsResult *)anUserSecondaryEmailsResult { + if (self == anUserSecondaryEmailsResult) { return YES; } - if (![self.user isEqual:anUserCustomQuotaResult.user]) { + if (![self.user isEqual:anUserSecondaryEmailsResult.user]) { return NO; } - if (self.quotaGb) { - if (![self.quotaGb isEqual:anUserCustomQuotaResult.quotaGb]) { - return NO; - } + if (![self.results isEqual:anUserSecondaryEmailsResult.results]) { + return NO; } return YES; } @@ -29107,24 +44979,29 @@ - (BOOL)isEqualToUserCustomQuotaResult:(DBTEAMUserCustomQuotaResult *)anUserCust #pragma mark - Serializer Object -@implementation DBTEAMUserCustomQuotaResultSerializer +@implementation DBTEAMUserSecondaryEmailsResultSerializer -+ (NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsResult *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"user"] = [DBTEAMUserSelectorArgSerializer serialize:valueObj.user]; - if (valueObj.quotaGb) { - jsonDict[@"quota_gb"] = valueObj.quotaGb; - } + jsonDict[@"results"] = [DBArraySerializer serialize:valueObj.results + withBlock:^id(id elem0) { + return [DBTEAMAddSecondaryEmailResultSerializer serialize:elem0]; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUserSecondaryEmailsResult *)deserialize:(NSDictionary *)valueDict { DBTEAMUserSelectorArg *user = [DBTEAMUserSelectorArgSerializer deserialize:valueDict[@"user"]]; - NSNumber *quotaGb = valueDict[@"quota_gb"] ?: nil; + NSArray *results = + [DBArraySerializer deserialize:valueDict[@"results"] + withBlock:^id(id elem0) { + return [DBTEAMAddSecondaryEmailResultSerializer deserialize:elem0]; + }]; - return [[DBTEAMUserCustomQuotaResult alloc] initWithUser:user quotaGb:quotaGb]; + return [[DBTEAMUserSecondaryEmailsResult alloc] initWithUser:user results:results]; } @end @@ -29225,17 +45102,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUserSelectorArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMUserSelectorArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMUserSelectorArgSerializer serialize:self] description]; } @@ -29256,10 +45133,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMUserSelectorArgTeamMemberId: result = prime * result + [self.teamMemberId hash]; + break; case DBTEAMUserSelectorArgExternalId: result = prime * result + [self.externalId hash]; + break; case DBTEAMUserSelectorArgEmail: result = prime * result + [self.email hash]; + break; } return prime * result; @@ -29301,7 +45181,7 @@ - (BOOL)isEqualToUserSelectorArg:(DBTEAMUserSelectorArg *)anUserSelectorArg { @implementation DBTEAMUserSelectorArgSerializer -+ (NSDictionary *)serialize:(DBTEAMUserSelectorArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUserSelectorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamMemberId]) { @@ -29319,10 +45199,10 @@ + (NSDictionary *)serialize:(DBTEAMUserSelectorArg *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_member_id"]) { @@ -29440,17 +45320,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMUsersSelectorArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMUsersSelectorArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMUsersSelectorArgSerializer serialize:self] description]; } @@ -29471,10 +45351,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMUsersSelectorArgTeamMemberIds: result = prime * result + [self.teamMemberIds hash]; + break; case DBTEAMUsersSelectorArgExternalIds: result = prime * result + [self.externalIds hash]; + break; case DBTEAMUsersSelectorArgEmails: result = prime * result + [self.emails hash]; + break; } return prime * result; @@ -29516,7 +45399,7 @@ - (BOOL)isEqualToUsersSelectorArg:(DBTEAMUsersSelectorArg *)anUsersSelectorArg { @implementation DBTEAMUsersSelectorArgSerializer -+ (NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeamMemberIds]) { @@ -29543,10 +45426,10 @@ + (NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team_member_ids"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMActiveWebSession.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMActiveWebSession.h index a669b3c94..368c23b82 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMActiveWebSession.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMActiveWebSession.h @@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMActiveWebSession` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMActiveWebSession *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMActiveWebSession *)instance; /// /// Deserializes `DBTEAMActiveWebSession` instances. @@ -111,7 +111,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMActiveWebSession` object. /// -+ (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)dict; ++ (DBTEAMActiveWebSession *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailResult.h new file mode 100644 index 000000000..6081b1492 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailResult.h @@ -0,0 +1,383 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSECONDARYEMAILSSecondaryEmail; +@class DBTEAMAddSecondaryEmailResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddSecondaryEmailResult` union. +/// +/// Result of trying to add a secondary email to a user. 'success' is the only +/// value indicating that a secondary email was successfully added to a user. +/// The other values explain the type of error that occurred, and include the +/// email for which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMAddSecondaryEmailResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMAddSecondaryEmailResultTag` enum type represents the possible tag +/// states with which the `DBTEAMAddSecondaryEmailResult` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMAddSecondaryEmailResultTag){ + /// Describes a secondary email that was successfully added to a user. + DBTEAMAddSecondaryEmailResultSuccess, + + /// Secondary email is not available to be claimed by the user. + DBTEAMAddSecondaryEmailResultUnavailable, + + /// Secondary email is already a pending email for the user. + DBTEAMAddSecondaryEmailResultAlreadyPending, + + /// Secondary email is already a verified email for the user. + DBTEAMAddSecondaryEmailResultAlreadyOwnedByUser, + + /// User already has the maximum number of secondary emails allowed. + DBTEAMAddSecondaryEmailResultReachedLimit, + + /// A transient error occurred. Please try again later. + DBTEAMAddSecondaryEmailResultTransientError, + + /// An error occurred due to conflicting updates. Please try again later. + DBTEAMAddSecondaryEmailResultTooManyUpdates, + + /// An unknown error occurred. + DBTEAMAddSecondaryEmailResultUnknownError, + + /// Too many emails are being sent to this email address. Please try again + /// later. + DBTEAMAddSecondaryEmailResultRateLimited, + + /// (no description). + DBTEAMAddSecondaryEmailResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMAddSecondaryEmailResultTag tag; + +/// Describes a secondary email that was successfully added to a user. @note +/// Ensure the `isSuccess` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBSECONDARYEMAILSSecondaryEmail *success; + +/// Secondary email is not available to be claimed by the user. @note Ensure the +/// `isUnavailable` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly, copy) NSString *unavailable; + +/// Secondary email is already a pending email for the user. @note Ensure the +/// `isAlreadyPending` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly, copy) NSString *alreadyPending; + +/// Secondary email is already a verified email for the user. @note Ensure the +/// `isAlreadyOwnedByUser` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *alreadyOwnedByUser; + +/// User already has the maximum number of secondary emails allowed. @note +/// Ensure the `isReachedLimit` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *reachedLimit; + +/// A transient error occurred. Please try again later. @note Ensure the +/// `isTransientError` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly, copy) NSString *transientError; + +/// An error occurred due to conflicting updates. Please try again later. @note +/// Ensure the `isTooManyUpdates` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *tooManyUpdates; + +/// An unknown error occurred. @note Ensure the `isUnknownError` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *unknownError; + +/// Too many emails are being sent to this email address. Please try again +/// later. @note Ensure the `isRateLimited` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *rateLimited; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: Describes a secondary email that was +/// successfully added to a user. +/// +/// @param success Describes a secondary email that was successfully added to a +/// user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBSECONDARYEMAILSSecondaryEmail *)success; + +/// +/// Initializes union class with tag state of "unavailable". +/// +/// Description of the "unavailable" tag state: Secondary email is not available +/// to be claimed by the user. +/// +/// @param unavailable Secondary email is not available to be claimed by the +/// user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnavailable:(NSString *)unavailable; + +/// +/// Initializes union class with tag state of "already_pending". +/// +/// Description of the "already_pending" tag state: Secondary email is already a +/// pending email for the user. +/// +/// @param alreadyPending Secondary email is already a pending email for the +/// user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlreadyPending:(NSString *)alreadyPending; + +/// +/// Initializes union class with tag state of "already_owned_by_user". +/// +/// Description of the "already_owned_by_user" tag state: Secondary email is +/// already a verified email for the user. +/// +/// @param alreadyOwnedByUser Secondary email is already a verified email for +/// the user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlreadyOwnedByUser:(NSString *)alreadyOwnedByUser; + +/// +/// Initializes union class with tag state of "reached_limit". +/// +/// Description of the "reached_limit" tag state: User already has the maximum +/// number of secondary emails allowed. +/// +/// @param reachedLimit User already has the maximum number of secondary emails +/// allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReachedLimit:(NSString *)reachedLimit; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: A transient error occurred. +/// Please try again later. +/// +/// @param transientError A transient error occurred. Please try again later. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError:(NSString *)transientError; + +/// +/// Initializes union class with tag state of "too_many_updates". +/// +/// Description of the "too_many_updates" tag state: An error occurred due to +/// conflicting updates. Please try again later. +/// +/// @param tooManyUpdates An error occurred due to conflicting updates. Please +/// try again later. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyUpdates:(NSString *)tooManyUpdates; + +/// +/// Initializes union class with tag state of "unknown_error". +/// +/// Description of the "unknown_error" tag state: An unknown error occurred. +/// +/// @param unknownError An unknown error occurred. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownError:(NSString *)unknownError; + +/// +/// Initializes union class with tag state of "rate_limited". +/// +/// Description of the "rate_limited" tag state: Too many emails are being sent +/// to this email address. Please try again later. +/// +/// @param rateLimited Too many emails are being sent to this email address. +/// Please try again later. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRateLimited:(NSString *)rateLimited; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "unavailable". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `unavailable` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "unavailable". +/// +- (BOOL)isUnavailable; + +/// +/// Retrieves whether the union's current tag state has value "already_pending". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `alreadyPending` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "already_pending". +/// +- (BOOL)isAlreadyPending; + +/// +/// Retrieves whether the union's current tag state has value +/// "already_owned_by_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `alreadyOwnedByUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "already_owned_by_user". +/// +- (BOOL)isAlreadyOwnedByUser; + +/// +/// Retrieves whether the union's current tag state has value "reached_limit". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `reachedLimit` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "reached_limit". +/// +- (BOOL)isReachedLimit; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `transientError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_updates". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tooManyUpdates` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "too_many_updates". +/// +- (BOOL)isTooManyUpdates; + +/// +/// Retrieves whether the union's current tag state has value "unknown_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `unknownError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "unknown_error". +/// +- (BOOL)isUnknownError; + +/// +/// Retrieves whether the union's current tag state has value "rate_limited". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `rateLimited` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "rate_limited". +/// +- (BOOL)isRateLimited; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMAddSecondaryEmailResult` union. +/// +@interface DBTEAMAddSecondaryEmailResultSerializer : NSObject + +/// +/// Serializes `DBTEAMAddSecondaryEmailResult` instances. +/// +/// @param instance An instance of the `DBTEAMAddSecondaryEmailResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMAddSecondaryEmailResult *)instance; + +/// +/// Deserializes `DBTEAMAddSecondaryEmailResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailResult` API object. +/// +/// @return An instantiation of the `DBTEAMAddSecondaryEmailResult` object. +/// ++ (DBTEAMAddSecondaryEmailResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsArg.h new file mode 100644 index 000000000..df9d66522 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsArg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMAddSecondaryEmailsArg; +@class DBTEAMUserSecondaryEmailsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddSecondaryEmailsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMAddSecondaryEmailsArg : NSObject + +#pragma mark - Instance fields + +/// List of users and secondary emails to add. +@property (nonatomic, readonly) NSArray *dNewSecondaryEmails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewSecondaryEmails List of users and secondary emails to add. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewSecondaryEmails:(NSArray *)dNewSecondaryEmails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AddSecondaryEmailsArg` struct. +/// +@interface DBTEAMAddSecondaryEmailsArgSerializer : NSObject + +/// +/// Serializes `DBTEAMAddSecondaryEmailsArg` instances. +/// +/// @param instance An instance of the `DBTEAMAddSecondaryEmailsArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsArg *)instance; + +/// +/// Deserializes `DBTEAMAddSecondaryEmailsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsArg` API object. +/// +/// @return An instantiation of the `DBTEAMAddSecondaryEmailsArg` object. +/// ++ (DBTEAMAddSecondaryEmailsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsError.h new file mode 100644 index 000000000..735592658 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsError.h @@ -0,0 +1,142 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMAddSecondaryEmailsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddSecondaryEmailsError` union. +/// +/// Error returned when adding secondary emails fails. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMAddSecondaryEmailsError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMAddSecondaryEmailsErrorTag` enum type represents the possible tag +/// states with which the `DBTEAMAddSecondaryEmailsError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMAddSecondaryEmailsErrorTag){ + /// Secondary emails are disabled for the team. + DBTEAMAddSecondaryEmailsErrorSecondaryEmailsDisabled, + + /// A maximum of 20 secondary emails can be added in a single call. + DBTEAMAddSecondaryEmailsErrorTooManyEmails, + + /// (no description). + DBTEAMAddSecondaryEmailsErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMAddSecondaryEmailsErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "secondary_emails_disabled". +/// +/// Description of the "secondary_emails_disabled" tag state: Secondary emails +/// are disabled for the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailsDisabled; + +/// +/// Initializes union class with tag state of "too_many_emails". +/// +/// Description of the "too_many_emails" tag state: A maximum of 20 secondary +/// emails can be added in a single call. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyEmails; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "secondary_emails_disabled". +/// +/// @return Whether the union's current tag state has value +/// "secondary_emails_disabled". +/// +- (BOOL)isSecondaryEmailsDisabled; + +/// +/// Retrieves whether the union's current tag state has value "too_many_emails". +/// +/// @return Whether the union's current tag state has value "too_many_emails". +/// +- (BOOL)isTooManyEmails; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMAddSecondaryEmailsError` union. +/// +@interface DBTEAMAddSecondaryEmailsErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMAddSecondaryEmailsError` instances. +/// +/// @param instance An instance of the `DBTEAMAddSecondaryEmailsError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsError *)instance; + +/// +/// Deserializes `DBTEAMAddSecondaryEmailsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsError` API object. +/// +/// @return An instantiation of the `DBTEAMAddSecondaryEmailsError` object. +/// ++ (DBTEAMAddSecondaryEmailsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsResult.h new file mode 100644 index 000000000..4f328a344 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAddSecondaryEmailsResult.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMAddSecondaryEmailsResult; +@class DBTEAMUserAddResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AddSecondaryEmailsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMAddSecondaryEmailsResult : NSObject + +#pragma mark - Instance fields + +/// List of users and secondary email results. +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param results List of users and secondary email results. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResults:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AddSecondaryEmailsResult` struct. +/// +@interface DBTEAMAddSecondaryEmailsResultSerializer : NSObject + +/// +/// Serializes `DBTEAMAddSecondaryEmailsResult` instances. +/// +/// @param instance An instance of the `DBTEAMAddSecondaryEmailsResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMAddSecondaryEmailsResult *)instance; + +/// +/// Deserializes `DBTEAMAddSecondaryEmailsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMAddSecondaryEmailsResult` API object. +/// +/// @return An instantiation of the `DBTEAMAddSecondaryEmailsResult` object. +/// ++ (DBTEAMAddSecondaryEmailsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAdminTier.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAdminTier.h index 6a859cc7c..e40bc0071 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAdminTier.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMAdminTier.h @@ -29,18 +29,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMAdminTierTag` enum type represents the possible tag states with /// which the `DBTEAMAdminTier` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMAdminTierTag) { - /// User is an administrator of the team - has all permissions. - DBTEAMAdminTierTeamAdmin, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMAdminTierTag){ + /// User is an administrator of the team - has all permissions. + DBTEAMAdminTierTeamAdmin, - /// User can do most user provisioning, de-provisioning and management. - DBTEAMAdminTierUserManagementAdmin, + /// User can do most user provisioning, de-provisioning and management. + DBTEAMAdminTierUserManagementAdmin, - /// User can do a limited set of common support tasks for existing users. - DBTEAMAdminTierSupportAdmin, + /// User can do a limited set of common support tasks for existing users. + /// Note: Dropbox is adding new types of admin roles; these may display as + /// support_admin. + DBTEAMAdminTierSupportAdmin, - /// User is not an admin of the team. - DBTEAMAdminTierMemberOnly, + /// User is not an admin of the team. + DBTEAMAdminTierMemberOnly, }; @@ -73,7 +75,8 @@ typedef NS_ENUM(NSInteger, DBTEAMAdminTierTag) { /// Initializes union class with tag state of "support_admin". /// /// Description of the "support_admin" tag state: User can do a limited set of -/// common support tasks for existing users. +/// common support tasks for existing users. Note: Dropbox is adding new types +/// of admin roles; these may display as support_admin. /// /// @return An initialized instance. /// @@ -147,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMAdminTierTag) { /// @return A json-compatible dictionary representation of the `DBTEAMAdminTier` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMAdminTier *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMAdminTier *)instance; /// /// Deserializes `DBTEAMAdminTier` instances. @@ -157,7 +160,7 @@ typedef NS_ENUM(NSInteger, DBTEAMAdminTierTag) { /// /// @return An instantiation of the `DBTEAMAdminTier` object. /// -+ (DBTEAMAdminTier *)deserialize:(NSDictionary *)dict; ++ (DBTEAMAdminTier *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMApiApp.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMApiApp.h index a4fd07490..e08f1c72c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMApiApp.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMApiApp.h @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBTEAMApiApp` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMApiApp *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMApiApp *)instance; /// /// Deserializes `DBTEAMApiApp` instances. @@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMApiApp` object. /// -+ (DBTEAMApiApp *)deserialize:(NSDictionary *)dict; ++ (DBTEAMApiApp *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseDfbReport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseDfbReport.h index 0a9cc4a2b..69cd23fb9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseDfbReport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseDfbReport.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMBaseDfbReport` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMBaseDfbReport *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMBaseDfbReport *)instance; /// /// Deserializes `DBTEAMBaseDfbReport` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMBaseDfbReport` object. /// -+ (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)dict; ++ (DBTEAMBaseDfbReport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseTeamFolderError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseTeamFolderError.h index 09621a40d..bc604ef67 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseTeamFolderError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMBaseTeamFolderError.h @@ -32,18 +32,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMBaseTeamFolderErrorTag` enum type represents the possible tag /// states with which the `DBTEAMBaseTeamFolderError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMBaseTeamFolderErrorTag) { - /// (no description). - DBTEAMBaseTeamFolderErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMBaseTeamFolderErrorTag){ + /// (no description). + DBTEAMBaseTeamFolderErrorAccessError, - /// (no description). - DBTEAMBaseTeamFolderErrorStatusError, + /// (no description). + DBTEAMBaseTeamFolderErrorStatusError, - /// (no description). - DBTEAMBaseTeamFolderErrorTeamSharedDropboxError, + /// (no description). + DBTEAMBaseTeamFolderErrorTeamSharedDropboxError, - /// (no description). - DBTEAMBaseTeamFolderErrorOther, + /// (no description). + DBTEAMBaseTeamFolderErrorOther, }; @@ -166,7 +166,7 @@ typedef NS_ENUM(NSInteger, DBTEAMBaseTeamFolderErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMBaseTeamFolderError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMBaseTeamFolderError *)instance; /// /// Deserializes `DBTEAMBaseTeamFolderError` instances. @@ -176,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBTEAMBaseTeamFolderErrorTag) { /// /// @return An instantiation of the `DBTEAMBaseTeamFolderError` object. /// -+ (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMBaseTeamFolderError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaError.h index 37ecdb42b..76906090a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMCustomQuotaErrorTag` enum type represents the possible tag states /// with which the `DBTEAMCustomQuotaError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaErrorTag) { - /// A maximum of 1000 users can be set for a single call. - DBTEAMCustomQuotaErrorTooManyUsers, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCustomQuotaErrorTag){ + /// A maximum of 1000 users can be set for a single call. + DBTEAMCustomQuotaErrorTooManyUsers, - /// (no description). - DBTEAMCustomQuotaErrorOther, + /// (no description). + DBTEAMCustomQuotaErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaError *)instance; /// /// Deserializes `DBTEAMCustomQuotaError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaErrorTag) { /// /// @return An instantiation of the `DBTEAMCustomQuotaError` object. /// -+ (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCustomQuotaError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaResult.h index f11e33d1e..71c472ef1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaResult.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMCustomQuotaResultTag` enum type represents the possible tag /// states with which the `DBTEAMCustomQuotaResult` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaResultTag) { - /// User's custom quota. - DBTEAMCustomQuotaResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCustomQuotaResultTag){ + /// User's custom quota. + DBTEAMCustomQuotaResultSuccess, - /// Invalid user (not in team). - DBTEAMCustomQuotaResultInvalidUser, + /// Invalid user (not in team). + DBTEAMCustomQuotaResultInvalidUser, - /// (no description). - DBTEAMCustomQuotaResultOther, + /// (no description). + DBTEAMCustomQuotaResultOther, }; @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaResultTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMCustomQuotaResult` instances. @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCustomQuotaResultTag) { /// /// @return An instantiation of the `DBTEAMCustomQuotaResult` object. /// -+ (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaUsersArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaUsersArg.h index 79b65c725..ecfccbf77 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaUsersArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMCustomQuotaUsersArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMCustomQuotaUsersArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCustomQuotaUsersArg *)instance; /// /// Deserializes `DBTEAMCustomQuotaUsersArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMCustomQuotaUsersArg` object. /// -+ (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCustomQuotaUsersArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRange.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRange.h index c812a6703..ef43e04de 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRange.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRange.h @@ -27,7 +27,8 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Optional starting date (inclusive). +/// Optional starting date (inclusive). If start_date is None or too long ago, +/// this field will be set to 6 months ago. @property (nonatomic, readonly, nullable) NSDate *startDate; /// Optional ending date (exclusive). @@ -38,7 +39,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param startDate Optional starting date (inclusive). +/// @param startDate Optional starting date (inclusive). If start_date is None +/// or too long ago, this field will be set to 6 months ago. /// @param endDate Optional ending date (exclusive). /// /// @return An initialized instance. @@ -73,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBTEAMDateRange` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDateRange *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDateRange *)instance; /// /// Deserializes `DBTEAMDateRange` instances. @@ -83,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMDateRange` object. /// -+ (DBTEAMDateRange *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDateRange *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRangeError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRangeError.h index a5261a626..d94a8bfce 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRangeError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDateRangeError.h @@ -29,9 +29,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMDateRangeErrorTag` enum type represents the possible tag states /// with which the `DBTEAMDateRangeError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMDateRangeErrorTag) { - /// (no description). - DBTEAMDateRangeErrorOther, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMDateRangeErrorTag){ + /// (no description). + DBTEAMDateRangeErrorOther, }; @@ -82,7 +82,7 @@ typedef NS_ENUM(NSInteger, DBTEAMDateRangeErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMDateRangeError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDateRangeError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDateRangeError *)instance; /// /// Deserializes `DBTEAMDateRangeError` instances. @@ -92,7 +92,7 @@ typedef NS_ENUM(NSInteger, DBTEAMDateRangeErrorTag) { /// /// @return An instantiation of the `DBTEAMDateRangeError` object. /// -+ (DBTEAMDateRangeError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDateRangeError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailResult.h new file mode 100644 index 000000000..275f125d7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailResult.h @@ -0,0 +1,199 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMDeleteSecondaryEmailResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteSecondaryEmailResult` union. +/// +/// Result of trying to delete a secondary email address. 'success' is the only +/// value indicating that a secondary email was successfully deleted. The other +/// values explain the type of error that occurred, and include the email for +/// which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMDeleteSecondaryEmailResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMDeleteSecondaryEmailResultTag` enum type represents the possible +/// tag states with which the `DBTEAMDeleteSecondaryEmailResult` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMDeleteSecondaryEmailResultTag){ + /// The secondary email was successfully deleted. + DBTEAMDeleteSecondaryEmailResultSuccess, + + /// The email address was not found for the user. + DBTEAMDeleteSecondaryEmailResultNotFound, + + /// The email address is the primary email address of the user, and cannot + /// be removed. + DBTEAMDeleteSecondaryEmailResultCannotRemovePrimary, + + /// (no description). + DBTEAMDeleteSecondaryEmailResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMDeleteSecondaryEmailResultTag tag; + +/// The secondary email was successfully deleted. @note Ensure the `isSuccess` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly, copy) NSString *success; + +/// The email address was not found for the user. @note Ensure the `isNotFound` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly, copy) NSString *notFound; + +/// The email address is the primary email address of the user, and cannot be +/// removed. @note Ensure the `isCannotRemovePrimary` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *cannotRemovePrimary; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: The secondary email was successfully +/// deleted. +/// +/// @param success The secondary email was successfully deleted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(NSString *)success; + +/// +/// Initializes union class with tag state of "not_found". +/// +/// Description of the "not_found" tag state: The email address was not found +/// for the user. +/// +/// @param notFound The email address was not found for the user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotFound:(NSString *)notFound; + +/// +/// Initializes union class with tag state of "cannot_remove_primary". +/// +/// Description of the "cannot_remove_primary" tag state: The email address is +/// the primary email address of the user, and cannot be removed. +/// +/// @param cannotRemovePrimary The email address is the primary email address of +/// the user, and cannot be removed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotRemovePrimary:(NSString *)cannotRemovePrimary; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "not_found". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `notFound` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "not_found". +/// +- (BOOL)isNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_remove_primary". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cannotRemovePrimary` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "cannot_remove_primary". +/// +- (BOOL)isCannotRemovePrimary; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMDeleteSecondaryEmailResult` union. +/// +@interface DBTEAMDeleteSecondaryEmailResultSerializer : NSObject + +/// +/// Serializes `DBTEAMDeleteSecondaryEmailResult` instances. +/// +/// @param instance An instance of the `DBTEAMDeleteSecondaryEmailResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailResult *)instance; + +/// +/// Deserializes `DBTEAMDeleteSecondaryEmailResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailResult` API object. +/// +/// @return An instantiation of the `DBTEAMDeleteSecondaryEmailResult` object. +/// ++ (DBTEAMDeleteSecondaryEmailResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsArg.h new file mode 100644 index 000000000..3ef9891bb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsArg.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMDeleteSecondaryEmailsArg; +@class DBTEAMUserSecondaryEmailsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteSecondaryEmailsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMDeleteSecondaryEmailsArg : NSObject + +#pragma mark - Instance fields + +/// List of users and their secondary emails to delete. +@property (nonatomic, readonly) NSArray *emailsToDelete; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param emailsToDelete List of users and their secondary emails to delete. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailsToDelete:(NSArray *)emailsToDelete; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteSecondaryEmailsArg` struct. +/// +@interface DBTEAMDeleteSecondaryEmailsArgSerializer : NSObject + +/// +/// Serializes `DBTEAMDeleteSecondaryEmailsArg` instances. +/// +/// @param instance An instance of the `DBTEAMDeleteSecondaryEmailsArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailsArg *)instance; + +/// +/// Deserializes `DBTEAMDeleteSecondaryEmailsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailsArg` API object. +/// +/// @return An instantiation of the `DBTEAMDeleteSecondaryEmailsArg` object. +/// ++ (DBTEAMDeleteSecondaryEmailsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsResult.h new file mode 100644 index 000000000..493293e3e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeleteSecondaryEmailsResult.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMDeleteSecondaryEmailsResult; +@class DBTEAMUserDeleteResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteSecondaryEmailsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMDeleteSecondaryEmailsResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param results (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResults:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteSecondaryEmailsResult` struct. +/// +@interface DBTEAMDeleteSecondaryEmailsResultSerializer : NSObject + +/// +/// Serializes `DBTEAMDeleteSecondaryEmailsResult` instances. +/// +/// @param instance An instance of the `DBTEAMDeleteSecondaryEmailsResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMDeleteSecondaryEmailsResult *)instance; + +/// +/// Deserializes `DBTEAMDeleteSecondaryEmailsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMDeleteSecondaryEmailsResult` API object. +/// +/// @return An instantiation of the `DBTEAMDeleteSecondaryEmailsResult` object. +/// ++ (DBTEAMDeleteSecondaryEmailsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopClientSession.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopClientSession.h index 334911a92..4ce236f40 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopClientSession.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopClientSession.h @@ -113,7 +113,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMDesktopClientSession` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDesktopClientSession *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDesktopClientSession *)instance; /// /// Deserializes `DBTEAMDesktopClientSession` instances. @@ -123,7 +123,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMDesktopClientSession` object. /// -+ (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDesktopClientSession *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopPlatform.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopPlatform.h index e4fa5eb1b..d739fa554 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopPlatform.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDesktopPlatform.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMDesktopPlatformTag` enum type represents the possible tag states /// with which the `DBTEAMDesktopPlatform` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMDesktopPlatformTag) { - /// Official Windows Dropbox desktop client. - DBTEAMDesktopPlatformWindows, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMDesktopPlatformTag){ + /// Official Windows Dropbox desktop client. + DBTEAMDesktopPlatformWindows, - /// Official Mac Dropbox desktop client. - DBTEAMDesktopPlatformMac, + /// Official Mac Dropbox desktop client. + DBTEAMDesktopPlatformMac, - /// Official Linux Dropbox desktop client. - DBTEAMDesktopPlatformLinux, + /// Official Linux Dropbox desktop client. + DBTEAMDesktopPlatformLinux, - /// (no description). - DBTEAMDesktopPlatformOther, + /// (no description). + DBTEAMDesktopPlatformOther, }; @@ -138,7 +138,7 @@ typedef NS_ENUM(NSInteger, DBTEAMDesktopPlatformTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMDesktopPlatform` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDesktopPlatform *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDesktopPlatform *)instance; /// /// Deserializes `DBTEAMDesktopPlatform` instances. @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, DBTEAMDesktopPlatformTag) { /// /// @return An instantiation of the `DBTEAMDesktopPlatform` object. /// -+ (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDesktopPlatform *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSession.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSession.h index 491a5afce..1d2195c37 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSession.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSession.h @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMDeviceSession` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDeviceSession *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDeviceSession *)instance; /// /// Deserializes `DBTEAMDeviceSession` instances. @@ -99,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMDeviceSession` object. /// -+ (DBTEAMDeviceSession *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDeviceSession *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSessionArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSessionArg.h index 31b3d5698..f87e5c084 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSessionArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDeviceSessionArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMDeviceSessionArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDeviceSessionArg *)instance; /// /// Deserializes `DBTEAMDeviceSessionArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMDeviceSessionArg` object. /// -+ (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDeviceSessionArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDevicesActive.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDevicesActive.h index f75fed7a1..7de719922 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDevicesActive.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMDevicesActive.h @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMDevicesActive` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMDevicesActive *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMDevicesActive *)instance; /// /// Deserializes `DBTEAMDevicesActive` instances. @@ -106,7 +106,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMDevicesActive` object. /// -+ (DBTEAMDevicesActive *)deserialize:(NSDictionary *)dict; ++ (DBTEAMDevicesActive *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListArg.h index b1f763fa8..5b596d7c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListArg.h @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersListArg` instances. @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMExcludedUsersListArg` object. /// -+ (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueArg.h index b198ed226..5fbbe9cf0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueArg.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersListContinueArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMExcludedUsersListContinueArg` object. /// -+ (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueError.h index ad9fddcfd..f2bb544df 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListContinueError.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMExcludedUsersListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMExcludedUsersListContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMExcludedUsersListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersListContinueErrorTag){ + /// The cursor is invalid. + DBTEAMExcludedUsersListContinueErrorInvalidCursor, - /// (no description). - DBTEAMExcludedUsersListContinueErrorOther, + /// (no description). + DBTEAMExcludedUsersListContinueErrorOther, }; @@ -104,7 +104,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListContinueError *)instance; /// /// Deserializes `DBTEAMExcludedUsersListContinueError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListContinueErrorTag) { /// @return An instantiation of the `DBTEAMExcludedUsersListContinueError` /// object. /// -+ (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListError.h index 26b6fba25..6301d35c4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMExcludedUsersListErrorTag` enum type represents the possible tag /// states with which the `DBTEAMExcludedUsersListError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListErrorTag) { - /// An error occurred. - DBTEAMExcludedUsersListErrorListError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersListErrorTag){ + /// An error occurred. + DBTEAMExcludedUsersListErrorListError, - /// (no description). - DBTEAMExcludedUsersListErrorOther, + /// (no description). + DBTEAMExcludedUsersListErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListError *)instance; /// /// Deserializes `DBTEAMExcludedUsersListError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersListErrorTag) { /// /// @return An instantiation of the `DBTEAMExcludedUsersListError` object. /// -+ (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersListError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListResult.h index ab7a7e00b..33330d066 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersListResult.h @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersListResult *)instance; /// /// Deserializes `DBTEAMExcludedUsersListResult` instances. @@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMExcludedUsersListResult` object. /// -+ (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateArg.h index a4126cc07..82ace085f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateArg.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateArg *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateArg` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateArg` object. /// -+ (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersUpdateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateError.h index 463a9279b..9df995e78 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateError.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMExcludedUsersUpdateErrorTag` enum type represents the possible /// tag states with which the `DBTEAMExcludedUsersUpdateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateErrorTag) { - /// At least one of the users is not part of your team. - DBTEAMExcludedUsersUpdateErrorUsersNotInTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersUpdateErrorTag){ + /// At least one of the users is not part of your team. + DBTEAMExcludedUsersUpdateErrorUsersNotInTeam, - /// A maximum of 1000 users for each of addition/removal can be supplied. - DBTEAMExcludedUsersUpdateErrorTooManyUsers, + /// A maximum of 1000 users for each of addition/removal can be supplied. + DBTEAMExcludedUsersUpdateErrorTooManyUsers, - /// (no description). - DBTEAMExcludedUsersUpdateErrorOther, + /// (no description). + DBTEAMExcludedUsersUpdateErrorOther, }; @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateError *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateError` instances. @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateErrorTag) { /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateError` object. /// -+ (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersUpdateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateResult.h index f32246e91..26fb9a999 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateResult.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateResult *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateResult` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateResult` object. /// -+ (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersUpdateResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateStatus.h index 598ca7ed7..c6c3f18d4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMExcludedUsersUpdateStatus.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMExcludedUsersUpdateStatusTag` enum type represents the possible /// tag states with which the `DBTEAMExcludedUsersUpdateStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateStatusTag) { - /// Update successful. - DBTEAMExcludedUsersUpdateStatusSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMExcludedUsersUpdateStatusTag){ + /// Update successful. + DBTEAMExcludedUsersUpdateStatusSuccess, - /// (no description). - DBTEAMExcludedUsersUpdateStatusOther, + /// (no description). + DBTEAMExcludedUsersUpdateStatusOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMExcludedUsersUpdateStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMExcludedUsersUpdateStatus *)instance; /// /// Deserializes `DBTEAMExcludedUsersUpdateStatus` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBTEAMExcludedUsersUpdateStatusTag) { /// /// @return An instantiation of the `DBTEAMExcludedUsersUpdateStatus` object. /// -+ (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMExcludedUsersUpdateStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeature.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeature.h index 59911e325..62f847c8f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeature.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeature.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `Feature` union. /// -/// A set of features that Dropbox for Business account support. +/// A set of features that a Dropbox Business account may support. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -29,18 +29,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMFeatureTag` enum type represents the possible tag states with /// which the `DBTEAMFeature` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { - /// The number of upload API calls allowed per month. - DBTEAMFeatureUploadApiRateLimit, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeatureTag){ + /// The number of upload API calls allowed per month. + DBTEAMFeatureUploadApiRateLimit, - /// Does this team have a have a company shared dropbox. - DBTEAMFeatureHasTeamSharedDropbox, + /// Does this team have a shared team root. + DBTEAMFeatureHasTeamSharedDropbox, - /// Does this team have file events. - DBTEAMFeatureHasTeamFileEvents, + /// Does this team have file events. + DBTEAMFeatureHasTeamFileEvents, - /// (no description). - DBTEAMFeatureOther, + /// Does this team have team selective sync enabled. + DBTEAMFeatureHasTeamSelectiveSync, + + /// (no description). + DBTEAMFeatureOther, }; @@ -63,7 +66,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { /// Initializes union class with tag state of "has_team_shared_dropbox". /// /// Description of the "has_team_shared_dropbox" tag state: Does this team have -/// a have a company shared dropbox. +/// a shared team root. /// /// @return An initialized instance. /// @@ -79,6 +82,16 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { /// - (instancetype)initWithHasTeamFileEvents; +/// +/// Initializes union class with tag state of "has_team_selective_sync". +/// +/// Description of the "has_team_selective_sync" tag state: Does this team have +/// team selective sync enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHasTeamSelectiveSync; + /// /// Initializes union class with tag state of "other". /// @@ -117,6 +130,15 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { /// - (BOOL)isHasTeamFileEvents; +/// +/// Retrieves whether the union's current tag state has value +/// "has_team_selective_sync". +/// +/// @return Whether the union's current tag state has value +/// "has_team_selective_sync". +/// +- (BOOL)isHasTeamSelectiveSync; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -148,7 +170,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { /// @return A json-compatible dictionary representation of the `DBTEAMFeature` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMFeature *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMFeature *)instance; /// /// Deserializes `DBTEAMFeature` instances. @@ -158,7 +180,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureTag) { /// /// @return An instantiation of the `DBTEAMFeature` object. /// -+ (DBTEAMFeature *)deserialize:(NSDictionary *)dict; ++ (DBTEAMFeature *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeatureValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeatureValue.h index 7fe5757ee..c5406f769 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeatureValue.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeatureValue.h @@ -10,6 +10,7 @@ @class DBTEAMFeatureValue; @class DBTEAMHasTeamFileEventsValue; +@class DBTEAMHasTeamSelectiveSyncValue; @class DBTEAMHasTeamSharedDropboxValue; @class DBTEAMUploadApiRateLimitValue; @@ -21,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN /// The `FeatureValue` union. /// /// The values correspond to entries in Feature. You may get different value -/// according to your Dropbox for Business plan. +/// according to your Dropbox Business plan. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,18 +34,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMFeatureValueTag` enum type represents the possible tag states /// with which the `DBTEAMFeatureValue` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { - /// (no description). - DBTEAMFeatureValueUploadApiRateLimit, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeatureValueTag){ + /// (no description). + DBTEAMFeatureValueUploadApiRateLimit, - /// (no description). - DBTEAMFeatureValueHasTeamSharedDropbox, + /// (no description). + DBTEAMFeatureValueHasTeamSharedDropbox, - /// (no description). - DBTEAMFeatureValueHasTeamFileEvents, + /// (no description). + DBTEAMFeatureValueHasTeamFileEvents, - /// (no description). - DBTEAMFeatureValueOther, + /// (no description). + DBTEAMFeatureValueHasTeamSelectiveSync, + + /// (no description). + DBTEAMFeatureValueOther, }; @@ -63,6 +67,10 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMHasTeamFileEventsValue *hasTeamFileEvents; +/// (no description). @note Ensure the `isHasTeamSelectiveSync` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMHasTeamSelectiveSyncValue *hasTeamSelectiveSync; + #pragma mark - Constructors /// @@ -92,6 +100,15 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { /// - (instancetype)initWithHasTeamFileEvents:(DBTEAMHasTeamFileEventsValue *)hasTeamFileEvents; +/// +/// Initializes union class with tag state of "has_team_selective_sync". +/// +/// @param hasTeamSelectiveSync (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHasTeamSelectiveSync:(DBTEAMHasTeamSelectiveSyncValue *)hasTeamSelectiveSync; + /// /// Initializes union class with tag state of "other". /// @@ -140,6 +157,19 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { /// - (BOOL)isHasTeamFileEvents; +/// +/// Retrieves whether the union's current tag state has value +/// "has_team_selective_sync". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `hasTeamSelectiveSync` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "has_team_selective_sync". +/// +- (BOOL)isHasTeamSelectiveSync; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -171,7 +201,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMFeatureValue` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMFeatureValue *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMFeatureValue *)instance; /// /// Deserializes `DBTEAMFeatureValue` instances. @@ -181,7 +211,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeatureValueTag) { /// /// @return An instantiation of the `DBTEAMFeatureValue` object. /// -+ (DBTEAMFeatureValue *)deserialize:(NSDictionary *)dict; ++ (DBTEAMFeatureValue *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchArg.h index bff2fa8f1..297b98f47 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchArg *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchArg` object. /// -+ (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchError.h index e7d6bd2bd..86d61bf2c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchError.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMFeaturesGetValuesBatchErrorTag` enum type represents the possible /// tag states with which the `DBTEAMFeaturesGetValuesBatchError` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMFeaturesGetValuesBatchErrorTag) { - /// At least one Feature must be included in the - /// FeaturesGetValuesBatchArg.features list. - DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMFeaturesGetValuesBatchErrorTag){ + /// At least one Feature must be included in the + /// FeaturesGetValuesBatchArg.features list. + DBTEAMFeaturesGetValuesBatchErrorEmptyFeaturesList, - /// (no description). - DBTEAMFeaturesGetValuesBatchErrorOther, + /// (no description). + DBTEAMFeaturesGetValuesBatchErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeaturesGetValuesBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchError *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMFeaturesGetValuesBatchErrorTag) { /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchError` object. /// -+ (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchResult.h index f59118c58..0b1a93493 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMFeaturesGetValuesBatchResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMFeaturesGetValuesBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMFeaturesGetValuesBatchResult *)instance; /// /// Deserializes `DBTEAMFeaturesGetValuesBatchResult` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMFeaturesGetValuesBatchResult` object. /// -+ (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetActivityReport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetActivityReport.h index 9eb81917b..2c919e7a0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetActivityReport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetActivityReport.h @@ -144,7 +144,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGetActivityReport` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGetActivityReport *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGetActivityReport *)instance; /// /// Deserializes `DBTEAMGetActivityReport` instances. @@ -154,7 +154,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGetActivityReport` object. /// -+ (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGetActivityReport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetDevicesReport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetDevicesReport.h index 9ef8945f8..4d2233d29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetDevicesReport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetDevicesReport.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGetDevicesReport` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGetDevicesReport *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGetDevicesReport *)instance; /// /// Deserializes `DBTEAMGetDevicesReport` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGetDevicesReport` object. /// -+ (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGetDevicesReport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetMembershipReport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetMembershipReport.h index 2c6a17e7c..d3ccbaa4c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetMembershipReport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetMembershipReport.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGetMembershipReport` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGetMembershipReport *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGetMembershipReport *)instance; /// /// Deserializes `DBTEAMGetMembershipReport` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGetMembershipReport` object. /// -+ (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGetMembershipReport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetStorageReport.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetStorageReport.h index 9f5b1aa37..8e93a7410 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetStorageReport.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGetStorageReport.h @@ -99,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGetStorageReport` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGetStorageReport *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGetStorageReport *)instance; /// /// Deserializes `DBTEAMGetStorageReport` instances. @@ -109,7 +109,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGetStorageReport` object. /// -+ (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGetStorageReport *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupAccessType.h index 5d74728f2..8de84a0a2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupAccessType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupAccessType.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupAccessTypeTag` enum type represents the possible tag states /// with which the `DBTEAMGroupAccessType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupAccessTypeTag) { - /// User is a member of the group, but has no special permissions. - DBTEAMGroupAccessTypeMember, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupAccessTypeTag){ + /// User is a member of the group, but has no special permissions. + DBTEAMGroupAccessTypeMember, - /// User can rename the group, and add/remove members. - DBTEAMGroupAccessTypeOwner, + /// User can rename the group, and add/remove members. + DBTEAMGroupAccessTypeOwner, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupAccessTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupAccessType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupAccessType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupAccessType *)instance; /// /// Deserializes `DBTEAMGroupAccessType` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupAccessTypeTag) { /// /// @return An instantiation of the `DBTEAMGroupAccessType` object. /// -+ (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupAccessType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateArg.h index be51e377c..23e6452bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateArg.h @@ -29,6 +29,9 @@ NS_ASSUME_NONNULL_BEGIN /// Group name. @property (nonatomic, readonly, copy) NSString *groupName; +/// Automatically add the creator of the group. +@property (nonatomic, readonly) NSNumber *addCreatorAsOwner; + /// The creator of a team can associate an arbitrary external ID to the group. @property (nonatomic, readonly, copy, nullable) NSString *groupExternalId; @@ -41,6 +44,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param groupName Group name. +/// @param addCreatorAsOwner Automatically add the creator of the group. /// @param groupExternalId The creator of a team can associate an arbitrary /// external ID to the group. /// @param groupManagementType Whether the team can be managed by selected @@ -49,6 +53,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An initialized instance. /// - (instancetype)initWithGroupName:(NSString *)groupName + addCreatorAsOwner:(nullable NSNumber *)addCreatorAsOwner groupExternalId:(nullable NSString *)groupExternalId groupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)groupManagementType; @@ -81,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupCreateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupCreateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupCreateArg *)instance; /// /// Deserializes `DBTEAMGroupCreateArg` instances. @@ -91,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupCreateArg` object. /// -+ (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupCreateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateError.h index 139da51e8..30d48ebcd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupCreateError.h @@ -27,21 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupCreateErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupCreateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupCreateErrorTag) { - /// The requested group name is already being used by another group. - DBTEAMGroupCreateErrorGroupNameAlreadyUsed, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupCreateErrorTag){ + /// The requested group name is already being used by another group. + DBTEAMGroupCreateErrorGroupNameAlreadyUsed, - /// Group name is empty or has invalid characters. - DBTEAMGroupCreateErrorGroupNameInvalid, + /// Group name is empty or has invalid characters. + DBTEAMGroupCreateErrorGroupNameInvalid, - /// The requested external ID is already being used by another group. - DBTEAMGroupCreateErrorExternalIdAlreadyInUse, + /// The requested external ID is already being used by another group. + DBTEAMGroupCreateErrorExternalIdAlreadyInUse, - /// System-managed group cannot be manually created. - DBTEAMGroupCreateErrorSystemManagedGroupDisallowed, + /// System-managed group cannot be manually created. + DBTEAMGroupCreateErrorSystemManagedGroupDisallowed, - /// (no description). - DBTEAMGroupCreateErrorOther, + /// (no description). + DBTEAMGroupCreateErrorOther, }; @@ -168,7 +168,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupCreateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupCreateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupCreateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupCreateError *)instance; /// /// Deserializes `DBTEAMGroupCreateError` instances. @@ -178,7 +178,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupCreateErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupCreateError` object. /// -+ (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupCreateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupDeleteError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupDeleteError.h index 4db69f6b0..c20d7d1ed 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupDeleteError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupDeleteError.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupDeleteErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupDeleteError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupDeleteErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupDeleteErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupDeleteErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupDeleteErrorGroupNotFound, - /// (no description). - DBTEAMGroupDeleteErrorOther, + /// (no description). + DBTEAMGroupDeleteErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupDeleteErrorSystemManagedGroupDisallowed, - /// This group has already been deleted. - DBTEAMGroupDeleteErrorGroupAlreadyDeleted, + /// This group has already been deleted. + DBTEAMGroupDeleteErrorGroupAlreadyDeleted, }; @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupDeleteErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupDeleteError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupDeleteError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupDeleteError *)instance; /// /// Deserializes `DBTEAMGroupDeleteError` instances. @@ -154,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupDeleteErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupDeleteError` object. /// -+ (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupDeleteError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupFullInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupFullInfo.h index d4f832d84..70b35790b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupFullInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupFullInfo.h @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupFullInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupFullInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupFullInfo *)instance; /// /// Deserializes `DBTEAMGroupFullInfo` instances. @@ -106,7 +106,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupFullInfo` object. /// -+ (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupFullInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberInfo.h index e11c76fb2..ea5470bb7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberInfo.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberInfo *)instance; /// /// Deserializes `DBTEAMGroupMemberInfo` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMemberInfo` object. /// -+ (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMemberInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelector.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelector.h index 9150de9df..1fc305107 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelector.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelector.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelector` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelector *)instance; /// /// Deserializes `DBTEAMGroupMemberSelector` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMemberSelector` object. /// -+ (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMemberSelector *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelectorError.h index 5d5dbde5e..7169e72bf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSelectorError.h @@ -30,18 +30,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupMemberSelectorErrorTag` enum type represents the possible /// tag states with which the `DBTEAMGroupMemberSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSelectorErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupMemberSelectorErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMemberSelectorErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupMemberSelectorErrorGroupNotFound, - /// (no description). - DBTEAMGroupMemberSelectorErrorOther, + /// (no description). + DBTEAMGroupMemberSelectorErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupMemberSelectorErrorSystemManagedGroupDisallowed, - /// The specified user is not a member of this group. - DBTEAMGroupMemberSelectorErrorMemberNotInGroup, + /// The specified user is not a member of this group. + DBTEAMGroupMemberSelectorErrorMemberNotInGroup, }; @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSelectorError *)instance; /// /// Deserializes `DBTEAMGroupMemberSelectorError` instances. @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSelectorErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupMemberSelectorError` object. /// -+ (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMemberSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSetAccessTypeError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSetAccessTypeError.h index 0ccd64120..eb231f0cd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSetAccessTypeError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMemberSetAccessTypeError.h @@ -28,21 +28,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupMemberSetAccessTypeErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupMemberSetAccessTypeError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSetAccessTypeErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMemberSetAccessTypeErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupMemberSetAccessTypeErrorGroupNotFound, - /// (no description). - DBTEAMGroupMemberSetAccessTypeErrorOther, + /// (no description). + DBTEAMGroupMemberSetAccessTypeErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupMemberSetAccessTypeErrorSystemManagedGroupDisallowed, - /// The specified user is not a member of this group. - DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup, + /// The specified user is not a member of this group. + DBTEAMGroupMemberSetAccessTypeErrorMemberNotInGroup, - /// A company managed group cannot be managed by a user. - DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup, + /// A company managed group cannot be managed by a user. + DBTEAMGroupMemberSetAccessTypeErrorUserCannotBeManagerOfCompanyManagedGroup, }; @@ -169,7 +169,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSetAccessTypeErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMemberSetAccessTypeError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMemberSetAccessTypeError *)instance; /// /// Deserializes `DBTEAMGroupMemberSetAccessTypeError` instances. @@ -180,7 +180,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMemberSetAccessTypeErrorTag) { /// @return An instantiation of the `DBTEAMGroupMemberSetAccessTypeError` /// object. /// -+ (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMemberSetAccessTypeError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddArg.h index 601862a16..286a211c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddArg.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddArg *)instance; /// /// Deserializes `DBTEAMGroupMembersAddArg` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMembersAddArg` object. /// -+ (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersAddArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddError.h index f7b3befb9..988ad7e10 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersAddError.h @@ -27,39 +27,39 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupMembersAddErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupMembersAddError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupMembersAddErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupMembersAddErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersAddErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupMembersAddErrorGroupNotFound, - /// (no description). - DBTEAMGroupMembersAddErrorOther, + /// (no description). + DBTEAMGroupMembersAddErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupMembersAddErrorSystemManagedGroupDisallowed, - /// You cannot add duplicate users. One or more of the members you are - /// trying to add is already a member of the group. - DBTEAMGroupMembersAddErrorDuplicateUser, + /// You cannot add duplicate users. One or more of the members you are + /// trying to add is already a member of the group. + DBTEAMGroupMembersAddErrorDuplicateUser, - /// Group is not in this team. You cannot add members to a group that is - /// outside of your team. - DBTEAMGroupMembersAddErrorGroupNotInTeam, + /// Group is not in this team. You cannot add members to a group that is + /// outside of your team. + DBTEAMGroupMembersAddErrorGroupNotInTeam, - /// These members are not part of your team. Currently, you cannot add - /// members to a group if they are not part of your team, though this may - /// change in a subsequent version. To add new members to your Dropbox - /// Business team, use the `membersAdd` endpoint. - DBTEAMGroupMembersAddErrorMembersNotInTeam, + /// These members are not part of your team. Currently, you cannot add + /// members to a group if they are not part of your team, though this may + /// change in a subsequent version. To add new members to your Dropbox + /// Business team, use the `membersAdd` endpoint. + DBTEAMGroupMembersAddErrorMembersNotInTeam, - /// These users were not found in Dropbox. - DBTEAMGroupMembersAddErrorUsersNotFound, + /// These users were not found in Dropbox. + DBTEAMGroupMembersAddErrorUsersNotFound, - /// A suspended user cannot be added to a group as `owner` in - /// `DBTEAMGroupAccessType`. - DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner, + /// A suspended user cannot be added to a group as `owner` in + /// `DBTEAMGroupAccessType`. + DBTEAMGroupMembersAddErrorUserMustBeActiveToBeOwner, - /// A company-managed group cannot be managed by a user. - DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup, + /// A company-managed group cannot be managed by a user. + DBTEAMGroupMembersAddErrorUserCannotBeManagerOfCompanyManagedGroup, }; @@ -298,7 +298,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersAddErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersAddError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersAddError *)instance; /// /// Deserializes `DBTEAMGroupMembersAddError` instances. @@ -308,7 +308,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersAddErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupMembersAddError` object. /// -+ (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersAddError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersChangeResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersChangeResult.h index ca821e49b..982eb7875 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersChangeResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersChangeResult.h @@ -31,8 +31,10 @@ NS_ASSUME_NONNULL_BEGIN /// The group info after member change operation has been performed. @property (nonatomic, readonly) DBTEAMGroupFullInfo *groupInfo; -/// An ID that can be used to obtain the status of granting/revoking group-owned -/// resources. +/// For legacy purposes async_job_id will always return one space ' '. Formerly, +/// it was an ID that was used to obtain the status of granting/revoking +/// group-owned resources. It's no longer necessary because the async processing +/// now happens automatically. @property (nonatomic, readonly, copy) NSString *asyncJobId; #pragma mark - Constructors @@ -42,8 +44,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param groupInfo The group info after member change operation has been /// performed. -/// @param asyncJobId An ID that can be used to obtain the status of -/// granting/revoking group-owned resources. +/// @param asyncJobId For legacy purposes async_job_id will always return one +/// space ' '. Formerly, it was an ID that was used to obtain the status of +/// granting/revoking group-owned resources. It's no longer necessary because +/// the async processing now happens automatically. /// /// @return An initialized instance. /// @@ -69,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersChangeResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersChangeResult *)instance; /// /// Deserializes `DBTEAMGroupMembersChangeResult` instances. @@ -79,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMembersChangeResult` object. /// -+ (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersChangeResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveArg.h index e2b6c9f7a..f725f51da 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveArg.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveArg *)instance; /// /// Deserializes `DBTEAMGroupMembersRemoveArg` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMembersRemoveArg` object. /// -+ (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersRemoveArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveError.h index 84de925a8..6db85e814 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersRemoveError.h @@ -27,28 +27,28 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupMembersRemoveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupMembersRemoveError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupMembersRemoveErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupMembersRemoveErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersRemoveErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupMembersRemoveErrorGroupNotFound, - /// (no description). - DBTEAMGroupMembersRemoveErrorOther, + /// (no description). + DBTEAMGroupMembersRemoveErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupMembersRemoveErrorSystemManagedGroupDisallowed, - /// At least one of the specified users is not a member of the group. - DBTEAMGroupMembersRemoveErrorMemberNotInGroup, + /// At least one of the specified users is not a member of the group. + DBTEAMGroupMembersRemoveErrorMemberNotInGroup, - /// Group is not in this team. You cannot remove members from a group that - /// is outside of your team. - DBTEAMGroupMembersRemoveErrorGroupNotInTeam, + /// Group is not in this team. You cannot remove members from a group that + /// is outside of your team. + DBTEAMGroupMembersRemoveErrorGroupNotInTeam, - /// These members are not part of your team. - DBTEAMGroupMembersRemoveErrorMembersNotInTeam, + /// These members are not part of your team. + DBTEAMGroupMembersRemoveErrorMembersNotInTeam, - /// These users were not found in Dropbox. - DBTEAMGroupMembersRemoveErrorUsersNotFound, + /// These users were not found in Dropbox. + DBTEAMGroupMembersRemoveErrorUsersNotFound, }; @@ -229,7 +229,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersRemoveErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersRemoveError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersRemoveError *)instance; /// /// Deserializes `DBTEAMGroupMembersRemoveError` instances. @@ -239,7 +239,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersRemoveErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupMembersRemoveError` object. /// -+ (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersRemoveError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelector.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelector.h index 0e917109c..4dca295f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelector.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelector.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelector` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelector *)instance; /// /// Deserializes `DBTEAMGroupMembersSelector` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMembersSelector` object. /// -+ (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersSelector *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelectorError.h index 94379c0f4..8e0d0195a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSelectorError.h @@ -30,18 +30,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupMembersSelectorErrorTag` enum type represents the possible /// tag states with which the `DBTEAMGroupMembersSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupMembersSelectorErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupMembersSelectorErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupMembersSelectorErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupMembersSelectorErrorGroupNotFound, - /// (no description). - DBTEAMGroupMembersSelectorErrorOther, + /// (no description). + DBTEAMGroupMembersSelectorErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupMembersSelectorErrorSystemManagedGroupDisallowed, - /// At least one of the specified users is not a member of the group. - DBTEAMGroupMembersSelectorErrorMemberNotInGroup, + /// At least one of the specified users is not a member of the group. + DBTEAMGroupMembersSelectorErrorMemberNotInGroup, }; @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSelectorError *)instance; /// /// Deserializes `DBTEAMGroupMembersSelectorError` instances. @@ -158,7 +158,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupMembersSelectorErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupMembersSelectorError` object. /// -+ (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSetAccessTypeArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSetAccessTypeArg.h index aaea77a1d..6e8a50bdd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSetAccessTypeArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupMembersSetAccessTypeArg.h @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupMembersSetAccessTypeArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupMembersSetAccessTypeArg *)instance; /// /// Deserializes `DBTEAMGroupMembersSetAccessTypeArg` instances. @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupMembersSetAccessTypeArg` object. /// -+ (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupMembersSetAccessTypeArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelector.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelector.h index 11b361b13..ae7b507f8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelector.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelector.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupSelectorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupSelector` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorTag) { - /// Group ID. - DBTEAMGroupSelectorGroupId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorTag){ + /// Group ID. + DBTEAMGroupSelectorGroupId, - /// External ID of the group. - DBTEAMGroupSelectorGroupExternalId, + /// External ID of the group. + DBTEAMGroupSelectorGroupExternalId, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelector` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupSelector *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupSelector *)instance; /// /// Deserializes `DBTEAMGroupSelector` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorTag) { /// /// @return An instantiation of the `DBTEAMGroupSelector` object. /// -+ (DBTEAMGroupSelector *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupSelector *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorError.h index efc12c8cd..4ca267a31 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupSelectorErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupSelectorErrorGroupNotFound, - /// (no description). - DBTEAMGroupSelectorErrorOther, + /// (no description). + DBTEAMGroupSelectorErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorError *)instance; /// /// Deserializes `DBTEAMGroupSelectorError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupSelectorError` object. /// -+ (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorWithTeamGroupError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorWithTeamGroupError.h index a83fc814c..609cdca25 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorWithTeamGroupError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupSelectorWithTeamGroupError.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupSelectorWithTeamGroupErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupSelectorWithTeamGroupError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorWithTeamGroupErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupSelectorWithTeamGroupErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupSelectorWithTeamGroupErrorGroupNotFound, - /// (no description). - DBTEAMGroupSelectorWithTeamGroupErrorOther, + /// (no description). + DBTEAMGroupSelectorWithTeamGroupErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupSelectorWithTeamGroupErrorSystemManagedGroupDisallowed, }; @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorWithTeamGroupErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupSelectorWithTeamGroupError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupSelectorWithTeamGroupError *)instance; /// /// Deserializes `DBTEAMGroupSelectorWithTeamGroupError` instances. @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupSelectorWithTeamGroupErrorTag) { /// @return An instantiation of the `DBTEAMGroupSelectorWithTeamGroupError` /// object. /// -+ (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupSelectorWithTeamGroupError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateArgs.h index 660528307..a5b628756 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateArgs.h @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateArgs *)instance; /// /// Deserializes `DBTEAMGroupUpdateArgs` instances. @@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupUpdateArgs` object. /// -+ (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupUpdateArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateError.h index 1c02126b4..7b00f2040 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupUpdateError.h @@ -27,24 +27,24 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupUpdateErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupUpdateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupUpdateErrorTag) { - /// No matching group found. No groups match the specified group ID. - DBTEAMGroupUpdateErrorGroupNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupUpdateErrorTag){ + /// No matching group found. No groups match the specified group ID. + DBTEAMGroupUpdateErrorGroupNotFound, - /// (no description). - DBTEAMGroupUpdateErrorOther, + /// (no description). + DBTEAMGroupUpdateErrorOther, - /// This operation is not supported on system-managed groups. - DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed, + /// This operation is not supported on system-managed groups. + DBTEAMGroupUpdateErrorSystemManagedGroupDisallowed, - /// The requested group name is already being used by another group. - DBTEAMGroupUpdateErrorGroupNameAlreadyUsed, + /// The requested group name is already being used by another group. + DBTEAMGroupUpdateErrorGroupNameAlreadyUsed, - /// Group name is empty or has invalid characters. - DBTEAMGroupUpdateErrorGroupNameInvalid, + /// Group name is empty or has invalid characters. + DBTEAMGroupUpdateErrorGroupNameInvalid, - /// The requested external ID is already being used by another group. - DBTEAMGroupUpdateErrorExternalIdAlreadyInUse, + /// The requested external ID is already being used by another group. + DBTEAMGroupUpdateErrorExternalIdAlreadyInUse, }; @@ -188,7 +188,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupUpdateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupUpdateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupUpdateError *)instance; /// /// Deserializes `DBTEAMGroupUpdateError` instances. @@ -198,7 +198,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupUpdateErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupUpdateError` object. /// -+ (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupUpdateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoError.h index e54823c05..4432b89f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsGetInfoErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsGetInfoError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoErrorTag) { - /// The group is not on your team. - DBTEAMGroupsGetInfoErrorGroupNotOnTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsGetInfoErrorTag){ + /// The group is not on your team. + DBTEAMGroupsGetInfoErrorGroupNotOnTeam, - /// (no description). - DBTEAMGroupsGetInfoErrorOther, + /// (no description). + DBTEAMGroupsGetInfoErrorOther, }; @@ -101,7 +101,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoError *)instance; /// /// Deserializes `DBTEAMGroupsGetInfoError` instances. @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupsGetInfoError` object. /// -+ (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsGetInfoError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoItem.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoItem.h index ebd328eb5..ef906f432 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoItem.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsGetInfoItem.h @@ -28,14 +28,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsGetInfoItem` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoItemTag) { - /// An ID that was provided as a parameter to `groupsGetInfo`, and did not - /// match a corresponding group. The ID can be a group ID, or an external - /// ID, depending on how the method was called. - DBTEAMGroupsGetInfoItemIdNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsGetInfoItemTag){ + /// An ID that was provided as a parameter to `groupsGetInfo`, and did not + /// match a corresponding group. The ID can be a group ID, or an external + /// ID, depending on how the method was called. + DBTEAMGroupsGetInfoItemIdNotFound, - /// Info about a group. - DBTEAMGroupsGetInfoItemGroupInfo, + /// Info about a group. + DBTEAMGroupsGetInfoItemGroupInfo, }; @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoItemTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsGetInfoItem` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsGetInfoItem *)instance; /// /// Deserializes `DBTEAMGroupsGetInfoItem` instances. @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsGetInfoItemTag) { /// /// @return An instantiation of the `DBTEAMGroupsGetInfoItem` object. /// -+ (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsGetInfoItem *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListArg.h index ee8e4f818..ca40c1660 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListArg.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsListArg *)instance; /// /// Deserializes `DBTEAMGroupsListArg` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsListArg` object. /// -+ (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueArg.h index c91cb1bd8..5b9419c0c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueArg *)instance; /// /// Deserializes `DBTEAMGroupsListContinueArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsListContinueArg` object. /// -+ (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueError.h index bd2f282d5..a49e2a175 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListContinueError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsListContinueErrorTag` enum type represents the possible tag /// states with which the `DBTEAMGroupsListContinueError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMGroupsListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsListContinueErrorTag){ + /// The cursor is invalid. + DBTEAMGroupsListContinueErrorInvalidCursor, - /// (no description). - DBTEAMGroupsListContinueErrorOther, + /// (no description). + DBTEAMGroupsListContinueErrorOther, }; @@ -100,7 +100,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsListContinueError *)instance; /// /// Deserializes `DBTEAMGroupsListContinueError` instances. @@ -110,7 +110,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsListContinueErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupsListContinueError` object. /// -+ (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListResult.h index 6f6bc0341..2bfb9441d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsListResult.h @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsListResult *)instance; /// /// Deserializes `DBTEAMGroupsListResult` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsListResult` object. /// -+ (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListArg.h index 65aee1bd9..2a880b8be 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListArg.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListArg *)instance; /// /// Deserializes `DBTEAMGroupsMembersListArg` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsMembersListArg` object. /// -+ (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsMembersListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueArg.h index 0c4813e22..4dc6ea994 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueArg *)instance; /// /// Deserializes `DBTEAMGroupsMembersListContinueArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsMembersListContinueArg` object. /// -+ (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsMembersListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueError.h index 86ed98d47..ce08ce9f5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListContinueError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsMembersListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMGroupsMembersListContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsMembersListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMGroupsMembersListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsMembersListContinueErrorTag){ + /// The cursor is invalid. + DBTEAMGroupsMembersListContinueErrorInvalidCursor, - /// (no description). - DBTEAMGroupsMembersListContinueErrorOther, + /// (no description). + DBTEAMGroupsMembersListContinueErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsMembersListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListContinueError *)instance; /// /// Deserializes `DBTEAMGroupsMembersListContinueError` instances. @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsMembersListContinueErrorTag) { /// @return An instantiation of the `DBTEAMGroupsMembersListContinueError` /// object. /// -+ (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsMembersListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListResult.h index 71e25235e..7ff0242af 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsMembersListResult.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsMembersListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsMembersListResult *)instance; /// /// Deserializes `DBTEAMGroupsMembersListResult` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMGroupsMembersListResult` object. /// -+ (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsMembersListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsPollError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsPollError.h index 0fcb2a563..fd78a76b0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsPollError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsPollError.h @@ -27,20 +27,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsPollErrorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupsPollError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsPollErrorTag) { - /// The job ID is invalid. - DBTEAMGroupsPollErrorInvalidAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsPollErrorTag){ + /// The job ID is invalid. + DBTEAMGroupsPollErrorInvalidAsyncJobId, - /// Something went wrong with the job on Dropbox's end. You'll need to - /// verify that the action you were taking succeeded, and if not, try again. - /// This should happen very rarely. - DBTEAMGroupsPollErrorInternalError, + /// Something went wrong with the job on Dropbox's end. You'll need to + /// verify that the action you were taking succeeded, and if not, try again. + /// This should happen very rarely. + DBTEAMGroupsPollErrorInternalError, - /// (no description). - DBTEAMGroupsPollErrorOther, + /// (no description). + DBTEAMGroupsPollErrorOther, - /// You are not allowed to poll this job. - DBTEAMGroupsPollErrorAccessDenied, + /// You are not allowed to poll this job. + DBTEAMGroupsPollErrorAccessDenied, }; @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsPollErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsPollError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsPollError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsPollError *)instance; /// /// Deserializes `DBTEAMGroupsPollError` instances. @@ -154,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsPollErrorTag) { /// /// @return An instantiation of the `DBTEAMGroupsPollError` object. /// -+ (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsPollError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsSelector.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsSelector.h index d85fd2707..7f656500d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsSelector.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMGroupsSelector.h @@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMGroupsSelectorTag` enum type represents the possible tag states /// with which the `DBTEAMGroupsSelector` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMGroupsSelectorTag) { - /// List of group IDs. - DBTEAMGroupsSelectorGroupIds, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMGroupsSelectorTag){ + /// List of group IDs. + DBTEAMGroupsSelectorGroupIds, - /// List of external IDs of groups. - DBTEAMGroupsSelectorGroupExternalIds, + /// List of external IDs of groups. + DBTEAMGroupsSelectorGroupExternalIds, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsSelectorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMGroupsSelector` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMGroupsSelector *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMGroupsSelector *)instance; /// /// Deserializes `DBTEAMGroupsSelector` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBTEAMGroupsSelectorTag) { /// /// @return An instantiation of the `DBTEAMGroupsSelector` object. /// -+ (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)dict; ++ (DBTEAMGroupsSelector *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamFileEventsValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamFileEventsValue.h index 9cbf8984a..b23c23fa6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamFileEventsValue.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamFileEventsValue.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMHasTeamFileEventsValueTag` enum type represents the possible tag /// states with which the `DBTEAMHasTeamFileEventsValue` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMHasTeamFileEventsValueTag) { - /// Does this team have file events. - DBTEAMHasTeamFileEventsValueEnabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMHasTeamFileEventsValueTag){ + /// Does this team have file events. + DBTEAMHasTeamFileEventsValueEnabled, - /// (no description). - DBTEAMHasTeamFileEventsValueOther, + /// (no description). + DBTEAMHasTeamFileEventsValueOther, }; @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, DBTEAMHasTeamFileEventsValueTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMHasTeamFileEventsValue` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMHasTeamFileEventsValue *)instance; /// /// Deserializes `DBTEAMHasTeamFileEventsValue` instances. @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBTEAMHasTeamFileEventsValueTag) { /// /// @return An instantiation of the `DBTEAMHasTeamFileEventsValue` object. /// -+ (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)dict; ++ (DBTEAMHasTeamFileEventsValue *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSelectiveSyncValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSelectiveSyncValue.h new file mode 100644 index 000000000..fbae0170d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSelectiveSyncValue.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMHasTeamSelectiveSyncValue; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `HasTeamSelectiveSyncValue` union. +/// +/// The value for `hasTeamSelectiveSync` in `DBTEAMFeature`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMHasTeamSelectiveSyncValue : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMHasTeamSelectiveSyncValueTag` enum type represents the possible +/// tag states with which the `DBTEAMHasTeamSelectiveSyncValue` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMHasTeamSelectiveSyncValueTag){ + /// Does this team have team selective sync enabled. + DBTEAMHasTeamSelectiveSyncValueHasTeamSelectiveSync, + + /// (no description). + DBTEAMHasTeamSelectiveSyncValueOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMHasTeamSelectiveSyncValueTag tag; + +/// Does this team have team selective sync enabled. @note Ensure the +/// `isHasTeamSelectiveSync` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) NSNumber *hasTeamSelectiveSync; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "has_team_selective_sync". +/// +/// Description of the "has_team_selective_sync" tag state: Does this team have +/// team selective sync enabled. +/// +/// @param hasTeamSelectiveSync Does this team have team selective sync enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHasTeamSelectiveSync:(NSNumber *)hasTeamSelectiveSync; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "has_team_selective_sync". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `hasTeamSelectiveSync` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "has_team_selective_sync". +/// +- (BOOL)isHasTeamSelectiveSync; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMHasTeamSelectiveSyncValue` union. +/// +@interface DBTEAMHasTeamSelectiveSyncValueSerializer : NSObject + +/// +/// Serializes `DBTEAMHasTeamSelectiveSyncValue` instances. +/// +/// @param instance An instance of the `DBTEAMHasTeamSelectiveSyncValue` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMHasTeamSelectiveSyncValue` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMHasTeamSelectiveSyncValue *)instance; + +/// +/// Deserializes `DBTEAMHasTeamSelectiveSyncValue` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMHasTeamSelectiveSyncValue` API object. +/// +/// @return An instantiation of the `DBTEAMHasTeamSelectiveSyncValue` object. +/// ++ (DBTEAMHasTeamSelectiveSyncValue *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSharedDropboxValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSharedDropboxValue.h index 2dc76ef77..698fc19e0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSharedDropboxValue.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMHasTeamSharedDropboxValue.h @@ -29,19 +29,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMHasTeamSharedDropboxValueTag` enum type represents the possible /// tag states with which the `DBTEAMHasTeamSharedDropboxValue` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag) { - /// Does this team have a team shared dropbox. - DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag){ + /// Does this team have a shared team root. + DBTEAMHasTeamSharedDropboxValueHasTeamSharedDropbox, - /// (no description). - DBTEAMHasTeamSharedDropboxValueOther, + /// (no description). + DBTEAMHasTeamSharedDropboxValueOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMHasTeamSharedDropboxValueTag tag; -/// Does this team have a team shared dropbox. @note Ensure the +/// Does this team have a shared team root. @note Ensure the /// `isHasTeamSharedDropbox` method returns true before accessing, otherwise a /// runtime exception will be raised. @property (nonatomic, readonly) NSNumber *hasTeamSharedDropbox; @@ -52,9 +52,9 @@ typedef NS_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag) { /// Initializes union class with tag state of "has_team_shared_dropbox". /// /// Description of the "has_team_shared_dropbox" tag state: Does this team have -/// a team shared dropbox. +/// a shared team root. /// -/// @param hasTeamSharedDropbox Does this team have a team shared dropbox. +/// @param hasTeamSharedDropbox Does this team have a shared team root. /// /// @return An initialized instance. /// @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMHasTeamSharedDropboxValue` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMHasTeamSharedDropboxValue *)instance; /// /// Deserializes `DBTEAMHasTeamSharedDropboxValue` instances. @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMHasTeamSharedDropboxValueTag) { /// /// @return An instantiation of the `DBTEAMHasTeamSharedDropboxValue` object. /// -+ (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)dict; ++ (DBTEAMHasTeamSharedDropboxValue *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMIncludeMembersArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMIncludeMembersArg.h index 462dfa8d8..21662edb9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMIncludeMembersArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMIncludeMembersArg.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMIncludeMembersArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMIncludeMembersArg *)instance; /// /// Deserializes `DBTEAMIncludeMembersArg` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMIncludeMembersArg` object. /// -+ (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMIncludeMembersArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldHeldRevisionMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldHeldRevisionMetadata.h new file mode 100644 index 000000000..920030a51 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldHeldRevisionMetadata.h @@ -0,0 +1,127 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldHeldRevisionMetadata; +@class DBTEAMTeamMemberStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldHeldRevisionMetadata` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldHeldRevisionMetadata : NSObject + +#pragma mark - Instance fields + +/// The held revision filename. +@property (nonatomic, readonly, copy) NSString *dNewFilename; + +/// The id of the held revision. +@property (nonatomic, readonly, copy) NSString *originalRevisionId; + +/// The original path of the held revision. +@property (nonatomic, readonly, copy) NSString *originalFilePath; + +/// The last time the file was modified on Dropbox. +@property (nonatomic, readonly) NSDate *serverModified; + +/// The member id of the revision's author. +@property (nonatomic, readonly, copy) NSString *authorMemberId; + +/// The member status of the revision's author. +@property (nonatomic, readonly) DBTEAMTeamMemberStatus *authorMemberStatus; + +/// The email address of the held revision author. +@property (nonatomic, readonly, copy) NSString *authorEmail; + +/// The type of the held revision's file. +@property (nonatomic, readonly, copy) NSString *fileType; + +/// The file size in bytes. +@property (nonatomic, readonly) NSNumber *size; + +/// A hash of the file content. This field can be used to verify data integrity. +/// For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +@property (nonatomic, readonly, copy) NSString *contentHash; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewFilename The held revision filename. +/// @param originalRevisionId The id of the held revision. +/// @param originalFilePath The original path of the held revision. +/// @param serverModified The last time the file was modified on Dropbox. +/// @param authorMemberId The member id of the revision's author. +/// @param authorMemberStatus The member status of the revision's author. +/// @param authorEmail The email address of the held revision author. +/// @param fileType The type of the held revision's file. +/// @param size The file size in bytes. +/// @param contentHash A hash of the file content. This field can be used to +/// verify data integrity. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewFilename:(NSString *)dNewFilename + originalRevisionId:(NSString *)originalRevisionId + originalFilePath:(NSString *)originalFilePath + serverModified:(NSDate *)serverModified + authorMemberId:(NSString *)authorMemberId + authorMemberStatus:(DBTEAMTeamMemberStatus *)authorMemberStatus + authorEmail:(NSString *)authorEmail + fileType:(NSString *)fileType + size:(NSNumber *)size + contentHash:(NSString *)contentHash; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldHeldRevisionMetadata` struct. +/// +@interface DBTEAMLegalHoldHeldRevisionMetadataSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldHeldRevisionMetadata` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldHeldRevisionMetadata` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldHeldRevisionMetadata` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldHeldRevisionMetadata *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldHeldRevisionMetadata` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldHeldRevisionMetadata` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldHeldRevisionMetadata` +/// object. +/// ++ (DBTEAMLegalHoldHeldRevisionMetadata *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldPolicy.h new file mode 100644 index 000000000..5c8cf4b9c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldPolicy.h @@ -0,0 +1,132 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldPolicy; +@class DBTEAMLegalHoldStatus; +@class DBTEAMMembersInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldPolicy` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldPolicy : NSObject + +#pragma mark - Instance fields + +/// The legal hold id. +@property (nonatomic, readonly, copy) NSString *id_; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// A description of the legal hold policy. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + +/// The time at which the legal hold was activated. +@property (nonatomic, readonly, nullable) NSDate *activationTime; + +/// Team members IDs and number of permanently deleted members under hold. +@property (nonatomic, readonly) DBTEAMMembersInfo *members; + +/// The current state of the hold. +@property (nonatomic, readonly) DBTEAMLegalHoldStatus *status; + +/// Start date of the legal hold policy. +@property (nonatomic, readonly) NSDate *startDate; + +/// End date of the legal hold policy. +@property (nonatomic, readonly, nullable) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold id. +/// @param name Policy name. +/// @param members Team members IDs and number of permanently deleted members +/// under hold. +/// @param status The current state of the hold. +/// @param startDate Start date of the legal hold policy. +/// @param description_ A description of the legal hold policy. +/// @param activationTime The time at which the legal hold was activated. +/// @param endDate End date of the legal hold policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ + name:(NSString *)name + members:(DBTEAMMembersInfo *)members + status:(DBTEAMLegalHoldStatus *)status + startDate:(NSDate *)startDate + description_:(nullable NSString *)description_ + activationTime:(nullable NSDate *)activationTime + endDate:(nullable NSDate *)endDate; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param id_ The legal hold id. +/// @param name Policy name. +/// @param members Team members IDs and number of permanently deleted members +/// under hold. +/// @param status The current state of the hold. +/// @param startDate Start date of the legal hold policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ + name:(NSString *)name + members:(DBTEAMMembersInfo *)members + status:(DBTEAMLegalHoldStatus *)status + startDate:(NSDate *)startDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldPolicy` struct. +/// +@interface DBTEAMLegalHoldPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldPolicy *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldPolicy` object. +/// ++ (DBTEAMLegalHoldPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldStatus.h new file mode 100644 index 000000000..87ee8c632 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldStatus.h @@ -0,0 +1,214 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldStatus` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldStatusTag` enum type represents the possible tag states +/// with which the `DBTEAMLegalHoldStatus` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldStatusTag){ + /// The legal hold policy is active. + DBTEAMLegalHoldStatusActive, + + /// The legal hold policy was released. + DBTEAMLegalHoldStatusReleased, + + /// The legal hold policy is activating. + DBTEAMLegalHoldStatusActivating, + + /// The legal hold policy is updating. + DBTEAMLegalHoldStatusUpdating, + + /// The legal hold policy is exporting. + DBTEAMLegalHoldStatusExporting, + + /// The legal hold policy is releasing. + DBTEAMLegalHoldStatusReleasing, + + /// (no description). + DBTEAMLegalHoldStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "active". +/// +/// Description of the "active" tag state: The legal hold policy is active. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithActive; + +/// +/// Initializes union class with tag state of "released". +/// +/// Description of the "released" tag state: The legal hold policy was released. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReleased; + +/// +/// Initializes union class with tag state of "activating". +/// +/// Description of the "activating" tag state: The legal hold policy is +/// activating. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithActivating; + +/// +/// Initializes union class with tag state of "updating". +/// +/// Description of the "updating" tag state: The legal hold policy is updating. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUpdating; + +/// +/// Initializes union class with tag state of "exporting". +/// +/// Description of the "exporting" tag state: The legal hold policy is +/// exporting. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExporting; + +/// +/// Initializes union class with tag state of "releasing". +/// +/// Description of the "releasing" tag state: The legal hold policy is +/// releasing. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReleasing; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "active". +/// +/// @return Whether the union's current tag state has value "active". +/// +- (BOOL)isActive; + +/// +/// Retrieves whether the union's current tag state has value "released". +/// +/// @return Whether the union's current tag state has value "released". +/// +- (BOOL)isReleased; + +/// +/// Retrieves whether the union's current tag state has value "activating". +/// +/// @return Whether the union's current tag state has value "activating". +/// +- (BOOL)isActivating; + +/// +/// Retrieves whether the union's current tag state has value "updating". +/// +/// @return Whether the union's current tag state has value "updating". +/// +- (BOOL)isUpdating; + +/// +/// Retrieves whether the union's current tag state has value "exporting". +/// +/// @return Whether the union's current tag state has value "exporting". +/// +- (BOOL)isExporting; + +/// +/// Retrieves whether the union's current tag state has value "releasing". +/// +/// @return Whether the union's current tag state has value "releasing". +/// +- (BOOL)isReleasing; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldStatus` union. +/// +@interface DBTEAMLegalHoldStatusSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldStatus` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldStatus` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldStatus *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldStatus` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldStatus` object. +/// ++ (DBTEAMLegalHoldStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsError.h new file mode 100644 index 000000000..7321a3662 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsError.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsErrorTag` enum type represents the possible tag states +/// with which the `DBTEAMLegalHoldsError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsError` union. +/// +@interface DBTEAMLegalHoldsErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsError` object. +/// ++ (DBTEAMLegalHoldsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyArg.h new file mode 100644 index 000000000..6d9791541 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyArg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsGetPolicyArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsGetPolicyArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsGetPolicyArg : NSObject + +#pragma mark - Instance fields + +/// The legal hold Id. +@property (nonatomic, readonly, copy) NSString *id_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold Id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsGetPolicyArg` struct. +/// +@interface DBTEAMLegalHoldsGetPolicyArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsGetPolicyArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsGetPolicyArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsGetPolicyArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsGetPolicyArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsGetPolicyArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsGetPolicyArg` object. +/// ++ (DBTEAMLegalHoldsGetPolicyArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyError.h new file mode 100644 index 000000000..83255f8e0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsGetPolicyError.h @@ -0,0 +1,165 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsGetPolicyError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsGetPolicyError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsGetPolicyError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsGetPolicyErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMLegalHoldsGetPolicyError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsGetPolicyErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsGetPolicyErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsGetPolicyErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsGetPolicyErrorOther, + + /// Legal hold policy does not exist for `id_` in + /// `DBTEAMLegalHoldsGetPolicyArg`. + DBTEAMLegalHoldsGetPolicyErrorLegalHoldPolicyNotFound, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsGetPolicyErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "legal_hold_policy_not_found". +/// +/// Description of the "legal_hold_policy_not_found" tag state: Legal hold +/// policy does not exist for `id_` in `DBTEAMLegalHoldsGetPolicyArg`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldPolicyNotFound; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +- (BOOL)isLegalHoldPolicyNotFound; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsGetPolicyError` union. +/// +@interface DBTEAMLegalHoldsGetPolicyErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsGetPolicyError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsGetPolicyError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsGetPolicyError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsGetPolicyError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsGetPolicyError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsGetPolicyError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsGetPolicyError` object. +/// ++ (DBTEAMLegalHoldsGetPolicyError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionResult.h new file mode 100644 index 000000000..5a2940550 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionResult.h @@ -0,0 +1,109 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldHeldRevisionMetadata; +@class DBTEAMLegalHoldsListHeldRevisionResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListHeldRevisionResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListHeldRevisionResult : NSObject + +#pragma mark - Instance fields + +/// List of file entries that under the hold. +@property (nonatomic, readonly) NSArray *entries; + +/// The cursor idicates where to continue reading file metadata entries for the +/// next API call. When there are no more entries, the cursor will return none. +/// Pass the cursor into /2/team/legal_holds/list_held_revisions/continue. +@property (nonatomic, readonly, copy, nullable) NSString *cursor; + +/// True if there are more file entries that haven't been returned. You can +/// retrieve them with a call to /legal_holds/list_held_revisions_continue. +@property (nonatomic, readonly) NSNumber *hasMore; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param entries List of file entries that under the hold. +/// @param hasMore True if there are more file entries that haven't been +/// returned. You can retrieve them with a call to +/// /legal_holds/list_held_revisions_continue. +/// @param cursor The cursor idicates where to continue reading file metadata +/// entries for the next API call. When there are no more entries, the cursor +/// will return none. Pass the cursor into +/// /2/team/legal_holds/list_held_revisions/continue. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries + hasMore:(NSNumber *)hasMore + cursor:(nullable NSString *)cursor; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param entries List of file entries that under the hold. +/// @param hasMore True if there are more file entries that haven't been +/// returned. You can retrieve them with a call to +/// /legal_holds/list_held_revisions_continue. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntries:(NSArray *)entries hasMore:(NSNumber *)hasMore; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsListHeldRevisionResult` struct. +/// +@interface DBTEAMLegalHoldsListHeldRevisionResultSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListHeldRevisionResult` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListHeldRevisionResult` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionResult *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListHeldRevisionResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionResult` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListHeldRevisionResult` +/// object. +/// ++ (DBTEAMLegalHoldsListHeldRevisionResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsArg.h new file mode 100644 index 000000000..0143fece0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsArg.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListHeldRevisionsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListHeldRevisionsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsArg : NSObject + +#pragma mark - Instance fields + +/// The legal hold Id. +@property (nonatomic, readonly, copy) NSString *id_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold Id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsListHeldRevisionsArg` struct. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListHeldRevisionsArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListHeldRevisionsArg` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListHeldRevisionsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListHeldRevisionsArg` +/// object. +/// ++ (DBTEAMLegalHoldsListHeldRevisionsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueArg.h new file mode 100644 index 000000000..5e91f526c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueArg.h @@ -0,0 +1,95 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListHeldRevisionsContinueArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListHeldRevisionsContinueArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsContinueArg : NSObject + +#pragma mark - Instance fields + +/// The legal hold Id. +@property (nonatomic, readonly, copy) NSString *id_; + +/// The cursor idicates where to continue reading file metadata entries for the +/// next API call. When there are no more entries, the cursor will return none. +@property (nonatomic, readonly, copy, nullable) NSString *cursor; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold Id. +/// @param cursor The cursor idicates where to continue reading file metadata +/// entries for the next API call. When there are no more entries, the cursor +/// will return none. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ cursor:(nullable NSString *)cursor; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param id_ The legal hold Id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsListHeldRevisionsContinueArg` +/// struct. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsContinueArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListHeldRevisionsContinueArg` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListHeldRevisionsContinueArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueArg` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueArg` object. +/// ++ (DBTEAMLegalHoldsListHeldRevisionsContinueArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueError.h new file mode 100644 index 000000000..b691f8e14 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsContinueError.h @@ -0,0 +1,166 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListHeldRevisionsContinueError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListHeldRevisionsContinueError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsContinueError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsListHeldRevisionsContinueErrorTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsListHeldRevisionsContinueErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsListHeldRevisionsContinueErrorUnknownLegalHoldError, + + /// Temporary infrastructure failure, please retry. + DBTEAMLegalHoldsListHeldRevisionsContinueErrorTransientError, + + /// Indicates that the cursor has been invalidated. Call + /// `legalHoldsListHeldRevisionsContinue` again with an empty cursor to + /// obtain a new cursor. + DBTEAMLegalHoldsListHeldRevisionsContinueErrorReset, + + /// (no description). + DBTEAMLegalHoldsListHeldRevisionsContinueErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsListHeldRevisionsContinueErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +/// +/// Initializes union class with tag state of "reset". +/// +/// Description of the "reset" tag state: Indicates that the cursor has been +/// invalidated. Call `legalHoldsListHeldRevisionsContinue` again with an empty +/// cursor to obtain a new cursor. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReset; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value "reset". +/// +/// @return Whether the union's current tag state has value "reset". +/// +- (BOOL)isReset; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` union. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsContinueErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListHeldRevisionsContinueError` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsContinueError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListHeldRevisionsContinueError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLegalHoldsListHeldRevisionsContinueError` object. +/// ++ (DBTEAMLegalHoldsListHeldRevisionsContinueError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsError.h new file mode 100644 index 000000000..be82eada7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListHeldRevisionsError.h @@ -0,0 +1,209 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListHeldRevisionsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListHeldRevisionsError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsListHeldRevisionsErrorTag` enum type represents the +/// possible tag states with which the `DBTEAMLegalHoldsListHeldRevisionsError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsListHeldRevisionsErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsListHeldRevisionsErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsListHeldRevisionsErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsListHeldRevisionsErrorOther, + + /// Temporary infrastructure failure, please retry. + DBTEAMLegalHoldsListHeldRevisionsErrorTransientError, + + /// The legal hold is not holding any revisions yet. + DBTEAMLegalHoldsListHeldRevisionsErrorLegalHoldStillEmpty, + + /// Trying to list revisions for an inactive legal hold. + DBTEAMLegalHoldsListHeldRevisionsErrorInactiveLegalHold, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsListHeldRevisionsErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +/// +/// Initializes union class with tag state of "legal_hold_still_empty". +/// +/// Description of the "legal_hold_still_empty" tag state: The legal hold is not +/// holding any revisions yet. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldStillEmpty; + +/// +/// Initializes union class with tag state of "inactive_legal_hold". +/// +/// Description of the "inactive_legal_hold" tag state: Trying to list revisions +/// for an inactive legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInactiveLegalHold; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_still_empty". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_still_empty". +/// +- (BOOL)isLegalHoldStillEmpty; + +/// +/// Retrieves whether the union's current tag state has value +/// "inactive_legal_hold". +/// +/// @return Whether the union's current tag state has value +/// "inactive_legal_hold". +/// +- (BOOL)isInactiveLegalHold; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsListHeldRevisionsError` +/// union. +/// +@interface DBTEAMLegalHoldsListHeldRevisionsErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListHeldRevisionsError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListHeldRevisionsError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListHeldRevisionsError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListHeldRevisionsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListHeldRevisionsError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListHeldRevisionsError` +/// object. +/// ++ (DBTEAMLegalHoldsListHeldRevisionsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesArg.h new file mode 100644 index 000000000..38865795d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesArg.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListPoliciesArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListPoliciesArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListPoliciesArg : NSObject + +#pragma mark - Instance fields + +/// Whether to return holds that were released. +@property (nonatomic, readonly) NSNumber *includeReleased; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param includeReleased Whether to return holds that were released. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIncludeReleased:(nullable NSNumber *)includeReleased; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsListPoliciesArg` struct. +/// +@interface DBTEAMLegalHoldsListPoliciesArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListPoliciesArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListPoliciesArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListPoliciesArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListPoliciesArg` object. +/// ++ (DBTEAMLegalHoldsListPoliciesArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesError.h new file mode 100644 index 000000000..bb9517513 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesError.h @@ -0,0 +1,163 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsListPoliciesError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListPoliciesError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListPoliciesError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsListPoliciesErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMLegalHoldsListPoliciesError` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsListPoliciesErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsListPoliciesErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsListPoliciesErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsListPoliciesErrorOther, + + /// Temporary infrastructure failure, please retry. + DBTEAMLegalHoldsListPoliciesErrorTransientError, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsListPoliciesErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsListPoliciesError` union. +/// +@interface DBTEAMLegalHoldsListPoliciesErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListPoliciesError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListPoliciesError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListPoliciesError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListPoliciesError` object. +/// ++ (DBTEAMLegalHoldsListPoliciesError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesResult.h new file mode 100644 index 000000000..fc54ba746 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsListPoliciesResult.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldPolicy; +@class DBTEAMLegalHoldsListPoliciesResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsListPoliciesResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsListPoliciesResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) NSArray *policies; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param policies (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPolicies:(NSArray *)policies; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsListPoliciesResult` struct. +/// +@interface DBTEAMLegalHoldsListPoliciesResultSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsListPoliciesResult` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsListPoliciesResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsListPoliciesResult *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsListPoliciesResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsListPoliciesResult` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsListPoliciesResult` object. +/// ++ (DBTEAMLegalHoldsListPoliciesResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateArg.h new file mode 100644 index 000000000..e10367d85 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateArg.h @@ -0,0 +1,107 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyCreateArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyCreateArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyCreateArg : NSObject + +#pragma mark - Instance fields + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// A description of the legal hold policy. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + +/// List of team member IDs added to the hold. +@property (nonatomic, readonly) NSArray *members; + +/// start date of the legal hold policy. +@property (nonatomic, readonly, nullable) NSDate *startDate; + +/// end date of the legal hold policy. +@property (nonatomic, readonly, nullable) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param name Policy name. +/// @param members List of team member IDs added to the hold. +/// @param description_ A description of the legal hold policy. +/// @param startDate start date of the legal hold policy. +/// @param endDate end date of the legal hold policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name + members:(NSArray *)members + description_:(nullable NSString *)description_ + startDate:(nullable NSDate *)startDate + endDate:(nullable NSDate *)endDate; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param name Policy name. +/// @param members List of team member IDs added to the hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name members:(NSArray *)members; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsPolicyCreateArg` struct. +/// +@interface DBTEAMLegalHoldsPolicyCreateArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyCreateArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyCreateArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyCreateArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyCreateArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyCreateArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyCreateArg` object. +/// ++ (DBTEAMLegalHoldsPolicyCreateArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateError.h new file mode 100644 index 000000000..2c45e4c8a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyCreateError.h @@ -0,0 +1,315 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyCreateError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyCreateError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyCreateError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsPolicyCreateErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMLegalHoldsPolicyCreateError` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsPolicyCreateErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsPolicyCreateErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsPolicyCreateErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsPolicyCreateErrorOther, + + /// Start date must be earlier than end date. + DBTEAMLegalHoldsPolicyCreateErrorStartDateIsLaterThanEndDate, + + /// The users list must have at least one user. + DBTEAMLegalHoldsPolicyCreateErrorEmptyMembersList, + + /// Some members in the members list are not valid to be placed under legal + /// hold. + DBTEAMLegalHoldsPolicyCreateErrorInvalidMembers, + + /// You cannot add more than 5 users in a legal hold. + DBTEAMLegalHoldsPolicyCreateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation, + + /// Temporary infrastructure failure, please retry. + DBTEAMLegalHoldsPolicyCreateErrorTransientError, + + /// The name provided is already in use by another legal hold. + DBTEAMLegalHoldsPolicyCreateErrorNameMustBeUnique, + + /// Team exceeded legal hold quota. + DBTEAMLegalHoldsPolicyCreateErrorTeamExceededLegalHoldQuota, + + /// The provided date is invalid. + DBTEAMLegalHoldsPolicyCreateErrorInvalidDate, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsPolicyCreateErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of +/// "start_date_is_later_than_end_date". +/// +/// Description of the "start_date_is_later_than_end_date" tag state: Start date +/// must be earlier than end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartDateIsLaterThanEndDate; + +/// +/// Initializes union class with tag state of "empty_members_list". +/// +/// Description of the "empty_members_list" tag state: The users list must have +/// at least one user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmptyMembersList; + +/// +/// Initializes union class with tag state of "invalid_members". +/// +/// Description of the "invalid_members" tag state: Some members in the members +/// list are not valid to be placed under legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidMembers; + +/// +/// Initializes union class with tag state of +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +/// Description of the "number_of_users_on_hold_is_greater_than_hold_limitation" +/// tag state: You cannot add more than 5 users in a legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +/// +/// Initializes union class with tag state of "name_must_be_unique". +/// +/// Description of the "name_must_be_unique" tag state: The name provided is +/// already in use by another legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNameMustBeUnique; + +/// +/// Initializes union class with tag state of "team_exceeded_legal_hold_quota". +/// +/// Description of the "team_exceeded_legal_hold_quota" tag state: Team exceeded +/// legal hold quota. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamExceededLegalHoldQuota; + +/// +/// Initializes union class with tag state of "invalid_date". +/// +/// Description of the "invalid_date" tag state: The provided date is invalid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidDate; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "start_date_is_later_than_end_date". +/// +/// @return Whether the union's current tag state has value +/// "start_date_is_later_than_end_date". +/// +- (BOOL)isStartDateIsLaterThanEndDate; + +/// +/// Retrieves whether the union's current tag state has value +/// "empty_members_list". +/// +/// @return Whether the union's current tag state has value +/// "empty_members_list". +/// +- (BOOL)isEmptyMembersList; + +/// +/// Retrieves whether the union's current tag state has value "invalid_members". +/// +/// @return Whether the union's current tag state has value "invalid_members". +/// +- (BOOL)isInvalidMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +/// @return Whether the union's current tag state has value +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +- (BOOL)isNumberOfUsersOnHoldIsGreaterThanHoldLimitation; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value +/// "name_must_be_unique". +/// +/// @return Whether the union's current tag state has value +/// "name_must_be_unique". +/// +- (BOOL)isNameMustBeUnique; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_exceeded_legal_hold_quota". +/// +/// @return Whether the union's current tag state has value +/// "team_exceeded_legal_hold_quota". +/// +- (BOOL)isTeamExceededLegalHoldQuota; + +/// +/// Retrieves whether the union's current tag state has value "invalid_date". +/// +/// @return Whether the union's current tag state has value "invalid_date". +/// +- (BOOL)isInvalidDate; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsPolicyCreateError` union. +/// +@interface DBTEAMLegalHoldsPolicyCreateErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyCreateError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyCreateError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyCreateError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyCreateError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyCreateError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyCreateError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyCreateError` object. +/// ++ (DBTEAMLegalHoldsPolicyCreateError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseArg.h new file mode 100644 index 000000000..5432636d8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseArg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyReleaseArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyReleaseArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyReleaseArg : NSObject + +#pragma mark - Instance fields + +/// The legal hold Id. +@property (nonatomic, readonly, copy) NSString *id_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold Id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsPolicyReleaseArg` struct. +/// +@interface DBTEAMLegalHoldsPolicyReleaseArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyReleaseArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyReleaseArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyReleaseArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyReleaseArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyReleaseArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyReleaseArg` object. +/// ++ (DBTEAMLegalHoldsPolicyReleaseArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseError.h new file mode 100644 index 000000000..3034dd3af --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyReleaseError.h @@ -0,0 +1,211 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyReleaseError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyReleaseError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyReleaseError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsPolicyReleaseErrorTag` enum type represents the +/// possible tag states with which the `DBTEAMLegalHoldsPolicyReleaseError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsPolicyReleaseErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsPolicyReleaseErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsPolicyReleaseErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsPolicyReleaseErrorOther, + + /// Legal hold is currently performing another operation. + DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPerformingAnotherOperation, + + /// Legal hold is currently performing a release or is already released. + DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldAlreadyReleasing, + + /// Legal hold policy does not exist for `id_` in + /// `DBTEAMLegalHoldsPolicyReleaseArg`. + DBTEAMLegalHoldsPolicyReleaseErrorLegalHoldPolicyNotFound, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsPolicyReleaseErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of +/// "legal_hold_performing_another_operation". +/// +/// Description of the "legal_hold_performing_another_operation" tag state: +/// Legal hold is currently performing another operation. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldPerformingAnotherOperation; + +/// +/// Initializes union class with tag state of "legal_hold_already_releasing". +/// +/// Description of the "legal_hold_already_releasing" tag state: Legal hold is +/// currently performing a release or is already released. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldAlreadyReleasing; + +/// +/// Initializes union class with tag state of "legal_hold_policy_not_found". +/// +/// Description of the "legal_hold_policy_not_found" tag state: Legal hold +/// policy does not exist for `id_` in `DBTEAMLegalHoldsPolicyReleaseArg`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldPolicyNotFound; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_performing_another_operation". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_performing_another_operation". +/// +- (BOOL)isLegalHoldPerformingAnotherOperation; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_already_releasing". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_already_releasing". +/// +- (BOOL)isLegalHoldAlreadyReleasing; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +- (BOOL)isLegalHoldPolicyNotFound; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsPolicyReleaseError` union. +/// +@interface DBTEAMLegalHoldsPolicyReleaseErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyReleaseError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyReleaseError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyReleaseError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyReleaseError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyReleaseError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyReleaseError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyReleaseError` object. +/// ++ (DBTEAMLegalHoldsPolicyReleaseError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateArg.h new file mode 100644 index 000000000..5f0bff016 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateArg.h @@ -0,0 +1,101 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyUpdateArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyUpdateArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyUpdateArg : NSObject + +#pragma mark - Instance fields + +/// The legal hold Id. +@property (nonatomic, readonly, copy) NSString *id_; + +/// Policy new name. +@property (nonatomic, readonly, copy, nullable) NSString *name; + +/// Policy new description. +@property (nonatomic, readonly, copy, nullable) NSString *description_; + +/// List of team member IDs to apply the policy on. +@property (nonatomic, readonly, nullable) NSArray *members; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param id_ The legal hold Id. +/// @param name Policy new name. +/// @param description_ Policy new description. +/// @param members List of team member IDs to apply the policy on. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_ + name:(nullable NSString *)name + description_:(nullable NSString *)description_ + members:(nullable NSArray *)members; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param id_ The legal hold Id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithId_:(NSString *)id_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsPolicyUpdateArg` struct. +/// +@interface DBTEAMLegalHoldsPolicyUpdateArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyUpdateArg` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyUpdateArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyUpdateArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateArg *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyUpdateArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyUpdateArg` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyUpdateArg` object. +/// ++ (DBTEAMLegalHoldsPolicyUpdateArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateError.h new file mode 100644 index 000000000..a9daf1e1e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMLegalHoldsPolicyUpdateError.h @@ -0,0 +1,319 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLegalHoldsPolicyUpdateError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsPolicyUpdateError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLegalHoldsPolicyUpdateError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLegalHoldsPolicyUpdateErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMLegalHoldsPolicyUpdateError` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLegalHoldsPolicyUpdateErrorTag){ + /// There has been an unknown legal hold error. + DBTEAMLegalHoldsPolicyUpdateErrorUnknownLegalHoldError, + + /// You don't have permissions to perform this action. + DBTEAMLegalHoldsPolicyUpdateErrorInsufficientPermissions, + + /// (no description). + DBTEAMLegalHoldsPolicyUpdateErrorOther, + + /// Temporary infrastructure failure, please retry. + DBTEAMLegalHoldsPolicyUpdateErrorTransientError, + + /// Trying to release an inactive legal hold. + DBTEAMLegalHoldsPolicyUpdateErrorInactiveLegalHold, + + /// Legal hold is currently performing another operation. + DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPerformingAnotherOperation, + + /// Some members in the members list are not valid to be placed under legal + /// hold. + DBTEAMLegalHoldsPolicyUpdateErrorInvalidMembers, + + /// You cannot add more than 5 users in a legal hold. + DBTEAMLegalHoldsPolicyUpdateErrorNumberOfUsersOnHoldIsGreaterThanHoldLimitation, + + /// The users list must have at least one user. + DBTEAMLegalHoldsPolicyUpdateErrorEmptyMembersList, + + /// The name provided is already in use by another legal hold. + DBTEAMLegalHoldsPolicyUpdateErrorNameMustBeUnique, + + /// Legal hold policy does not exist for `id_` in + /// `DBTEAMLegalHoldsPolicyUpdateArg`. + DBTEAMLegalHoldsPolicyUpdateErrorLegalHoldPolicyNotFound, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLegalHoldsPolicyUpdateErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "unknown_legal_hold_error". +/// +/// Description of the "unknown_legal_hold_error" tag state: There has been an +/// unknown legal hold error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownLegalHoldError; + +/// +/// Initializes union class with tag state of "insufficient_permissions". +/// +/// Description of the "insufficient_permissions" tag state: You don't have +/// permissions to perform this action. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInsufficientPermissions; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "transient_error". +/// +/// Description of the "transient_error" tag state: Temporary infrastructure +/// failure, please retry. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransientError; + +/// +/// Initializes union class with tag state of "inactive_legal_hold". +/// +/// Description of the "inactive_legal_hold" tag state: Trying to release an +/// inactive legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInactiveLegalHold; + +/// +/// Initializes union class with tag state of +/// "legal_hold_performing_another_operation". +/// +/// Description of the "legal_hold_performing_another_operation" tag state: +/// Legal hold is currently performing another operation. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldPerformingAnotherOperation; + +/// +/// Initializes union class with tag state of "invalid_members". +/// +/// Description of the "invalid_members" tag state: Some members in the members +/// list are not valid to be placed under legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidMembers; + +/// +/// Initializes union class with tag state of +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +/// Description of the "number_of_users_on_hold_is_greater_than_hold_limitation" +/// tag state: You cannot add more than 5 users in a legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNumberOfUsersOnHoldIsGreaterThanHoldLimitation; + +/// +/// Initializes union class with tag state of "empty_members_list". +/// +/// Description of the "empty_members_list" tag state: The users list must have +/// at least one user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmptyMembersList; + +/// +/// Initializes union class with tag state of "name_must_be_unique". +/// +/// Description of the "name_must_be_unique" tag state: The name provided is +/// already in use by another legal hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNameMustBeUnique; + +/// +/// Initializes union class with tag state of "legal_hold_policy_not_found". +/// +/// Description of the "legal_hold_policy_not_found" tag state: Legal hold +/// policy does not exist for `id_` in `DBTEAMLegalHoldsPolicyUpdateArg`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldPolicyNotFound; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +/// @return Whether the union's current tag state has value +/// "unknown_legal_hold_error". +/// +- (BOOL)isUnknownLegalHoldError; + +/// +/// Retrieves whether the union's current tag state has value +/// "insufficient_permissions". +/// +/// @return Whether the union's current tag state has value +/// "insufficient_permissions". +/// +- (BOOL)isInsufficientPermissions; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value "transient_error". +/// +/// @return Whether the union's current tag state has value "transient_error". +/// +- (BOOL)isTransientError; + +/// +/// Retrieves whether the union's current tag state has value +/// "inactive_legal_hold". +/// +/// @return Whether the union's current tag state has value +/// "inactive_legal_hold". +/// +- (BOOL)isInactiveLegalHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_performing_another_operation". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_performing_another_operation". +/// +- (BOOL)isLegalHoldPerformingAnotherOperation; + +/// +/// Retrieves whether the union's current tag state has value "invalid_members". +/// +/// @return Whether the union's current tag state has value "invalid_members". +/// +- (BOOL)isInvalidMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +/// @return Whether the union's current tag state has value +/// "number_of_users_on_hold_is_greater_than_hold_limitation". +/// +- (BOOL)isNumberOfUsersOnHoldIsGreaterThanHoldLimitation; + +/// +/// Retrieves whether the union's current tag state has value +/// "empty_members_list". +/// +/// @return Whether the union's current tag state has value +/// "empty_members_list". +/// +- (BOOL)isEmptyMembersList; + +/// +/// Retrieves whether the union's current tag state has value +/// "name_must_be_unique". +/// +/// @return Whether the union's current tag state has value +/// "name_must_be_unique". +/// +- (BOOL)isNameMustBeUnique; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +/// @return Whether the union's current tag state has value +/// "legal_hold_policy_not_found". +/// +- (BOOL)isLegalHoldPolicyNotFound; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLegalHoldsPolicyUpdateError` union. +/// +@interface DBTEAMLegalHoldsPolicyUpdateErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMLegalHoldsPolicyUpdateError` instances. +/// +/// @param instance An instance of the `DBTEAMLegalHoldsPolicyUpdateError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyUpdateError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLegalHoldsPolicyUpdateError *)instance; + +/// +/// Deserializes `DBTEAMLegalHoldsPolicyUpdateError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLegalHoldsPolicyUpdateError` API object. +/// +/// @return An instantiation of the `DBTEAMLegalHoldsPolicyUpdateError` object. +/// ++ (DBTEAMLegalHoldsPolicyUpdateError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsArg.h index 0010142c6..d4da08169 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsArg *)instance; /// /// Deserializes `DBTEAMListMemberAppsArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMemberAppsArg` object. /// -+ (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberAppsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsError.h index 4741e6022..8f85fba0b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsError.h @@ -29,12 +29,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListMemberAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMemberAppsError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListMemberAppsErrorTag) { - /// Member not found. - DBTEAMListMemberAppsErrorMemberNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMemberAppsErrorTag){ + /// Member not found. + DBTEAMListMemberAppsErrorMemberNotFound, - /// (no description). - DBTEAMListMemberAppsErrorOther, + /// (no description). + DBTEAMListMemberAppsErrorOther, }; @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMemberAppsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsError *)instance; /// /// Deserializes `DBTEAMListMemberAppsError` instances. @@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMemberAppsErrorTag) { /// /// @return An instantiation of the `DBTEAMListMemberAppsError` object. /// -+ (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberAppsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsResult.h index 8706a38b0..75421a51d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberAppsResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberAppsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberAppsResult *)instance; /// /// Deserializes `DBTEAMListMemberAppsResult` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMemberAppsResult` object. /// -+ (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberAppsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesArg.h index c955b61f7..43da33d27 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesArg.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesArg *)instance; /// /// Deserializes `DBTEAMListMemberDevicesArg` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMemberDevicesArg` object. /// -+ (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberDevicesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesError.h index d95ebbcf4..c58a9e10a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListMemberDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMemberDevicesError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListMemberDevicesErrorTag) { - /// Member not found. - DBTEAMListMemberDevicesErrorMemberNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMemberDevicesErrorTag){ + /// Member not found. + DBTEAMListMemberDevicesErrorMemberNotFound, - /// (no description). - DBTEAMListMemberDevicesErrorOther, + /// (no description). + DBTEAMListMemberDevicesErrorOther, }; @@ -101,7 +101,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMemberDevicesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesError *)instance; /// /// Deserializes `DBTEAMListMemberDevicesError` instances. @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMemberDevicesErrorTag) { /// /// @return An instantiation of the `DBTEAMListMemberDevicesError` object. /// -+ (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberDevicesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesResult.h index 3a3b15125..e7f617b69 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMemberDevicesResult.h @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMemberDevicesResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMemberDevicesResult *)instance; /// /// Deserializes `DBTEAMListMemberDevicesResult` instances. @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMemberDevicesResult` object. /// -+ (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMemberDevicesResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsArg.h index edbaf0594..3a31c0008 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsArg.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsArg *)instance; /// /// Deserializes `DBTEAMListMembersAppsArg` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMembersAppsArg` object. /// -+ (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersAppsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsError.h index dbe4c1d2f..f7e47332c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsError.h @@ -29,14 +29,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListMembersAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMembersAppsError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListMembersAppsErrorTag) { - /// Indicates that the cursor has been invalidated. Call - /// `linkedAppsListMembersLinkedApps` again with an empty cursor to obtain a - /// new cursor. - DBTEAMListMembersAppsErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMembersAppsErrorTag){ + /// Indicates that the cursor has been invalidated. Call + /// `linkedAppsListMembersLinkedApps` again with an empty cursor to obtain a + /// new cursor. + DBTEAMListMembersAppsErrorReset, - /// (no description). - DBTEAMListMembersAppsErrorOther, + /// (no description). + DBTEAMListMembersAppsErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMembersAppsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsError *)instance; /// /// Deserializes `DBTEAMListMembersAppsError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMembersAppsErrorTag) { /// /// @return An instantiation of the `DBTEAMListMembersAppsError` object. /// -+ (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersAppsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsResult.h index 416440d8f..c427945a6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersAppsResult.h @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersAppsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersAppsResult *)instance; /// /// Deserializes `DBTEAMListMembersAppsResult` instances. @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMembersAppsResult` object. /// -+ (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersAppsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesArg.h index 9310e087a..e9f9f40f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesArg.h @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesArg *)instance; /// /// Deserializes `DBTEAMListMembersDevicesArg` instances. @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMembersDevicesArg` object. /// -+ (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersDevicesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesError.h index 9cc899d49..563e90b5b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesError.h @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListMembersDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListMembersDevicesError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListMembersDevicesErrorTag) { - /// Indicates that the cursor has been invalidated. Call - /// `devicesListMembersDevices` again with an empty cursor to obtain a new - /// cursor. - DBTEAMListMembersDevicesErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListMembersDevicesErrorTag){ + /// Indicates that the cursor has been invalidated. Call + /// `devicesListMembersDevices` again with an empty cursor to obtain a new + /// cursor. + DBTEAMListMembersDevicesErrorReset, - /// (no description). - DBTEAMListMembersDevicesErrorOther, + /// (no description). + DBTEAMListMembersDevicesErrorOther, }; @@ -104,7 +104,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMembersDevicesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesError *)instance; /// /// Deserializes `DBTEAMListMembersDevicesError` instances. @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListMembersDevicesErrorTag) { /// /// @return An instantiation of the `DBTEAMListMembersDevicesError` object. /// -+ (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersDevicesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesResult.h index 6ef097359..5977b4070 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListMembersDevicesResult.h @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListMembersDevicesResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListMembersDevicesResult *)instance; /// /// Deserializes `DBTEAMListMembersDevicesResult` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListMembersDevicesResult` object. /// -+ (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListMembersDevicesResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsArg.h index 1bd986031..93182273b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsArg.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsArg *)instance; /// /// Deserializes `DBTEAMListTeamAppsArg` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListTeamAppsArg` object. /// -+ (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamAppsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsError.h index 4e91fc350..6fcba4ec5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsError.h @@ -29,14 +29,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListTeamAppsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListTeamAppsError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListTeamAppsErrorTag) { - /// Indicates that the cursor has been invalidated. Call - /// `linkedAppsListTeamLinkedApps` again with an empty cursor to obtain a - /// new cursor. - DBTEAMListTeamAppsErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListTeamAppsErrorTag){ + /// Indicates that the cursor has been invalidated. Call + /// `linkedAppsListTeamLinkedApps` again with an empty cursor to obtain a + /// new cursor. + DBTEAMListTeamAppsErrorReset, - /// (no description). - DBTEAMListTeamAppsErrorOther, + /// (no description). + DBTEAMListTeamAppsErrorOther, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListTeamAppsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsError *)instance; /// /// Deserializes `DBTEAMListTeamAppsError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListTeamAppsErrorTag) { /// /// @return An instantiation of the `DBTEAMListTeamAppsError` object. /// -+ (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamAppsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsResult.h index 5ab3e5c6b..1da84780a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamAppsResult.h @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamAppsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamAppsResult *)instance; /// /// Deserializes `DBTEAMListTeamAppsResult` instances. @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListTeamAppsResult` object. /// -+ (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamAppsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesArg.h index 78e5b4895..6bc5643e0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesArg.h @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesArg *)instance; /// /// Deserializes `DBTEAMListTeamDevicesArg` instances. @@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListTeamDevicesArg` object. /// -+ (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamDevicesArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesError.h index 724e5527f..3745d5b5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesError.h @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMListTeamDevicesErrorTag` enum type represents the possible tag /// states with which the `DBTEAMListTeamDevicesError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMListTeamDevicesErrorTag) { - /// Indicates that the cursor has been invalidated. Call - /// `devicesListTeamDevices` again with an empty cursor to obtain a new - /// cursor. - DBTEAMListTeamDevicesErrorReset, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMListTeamDevicesErrorTag){ + /// Indicates that the cursor has been invalidated. Call + /// `devicesListTeamDevices` again with an empty cursor to obtain a new + /// cursor. + DBTEAMListTeamDevicesErrorReset, - /// (no description). - DBTEAMListTeamDevicesErrorOther, + /// (no description). + DBTEAMListTeamDevicesErrorOther, }; @@ -103,7 +103,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListTeamDevicesErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesError *)instance; /// /// Deserializes `DBTEAMListTeamDevicesError` instances. @@ -113,7 +113,7 @@ typedef NS_ENUM(NSInteger, DBTEAMListTeamDevicesErrorTag) { /// /// @return An instantiation of the `DBTEAMListTeamDevicesError` object. /// -+ (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamDevicesError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesResult.h index 0749d32a5..6a2abd73d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMListTeamDevicesResult.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMListTeamDevicesResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMListTeamDevicesResult *)instance; /// /// Deserializes `DBTEAMListTeamDevicesResult` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMListTeamDevicesResult` object. /// -+ (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMListTeamDevicesResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAccess.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAccess.h index a2c89a24e..89a337bf3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAccess.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAccess.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAccess` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberAccess *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAccess *)instance; /// /// Deserializes `DBTEAMMemberAccess` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMemberAccess` object. /// -+ (DBTEAMMemberAccess *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberAccess *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArg.h index e5f1445a6..1f9c53952 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArg.h @@ -7,6 +7,7 @@ #import #import "DBSerializableProtocol.h" +#import "DBTEAMMemberAddArgBase.h" @class DBTEAMAdminTier; @class DBTEAMMemberAddArg; @@ -22,32 +23,10 @@ NS_ASSUME_NONNULL_BEGIN /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMMemberAddArg : NSObject +@interface DBTEAMMemberAddArg : DBTEAMMemberAddArgBase #pragma mark - Instance fields -/// (no description). -@property (nonatomic, readonly, copy) NSString *memberEmail; - -/// Member's first name. -@property (nonatomic, readonly, copy, nullable) NSString *memberGivenName; - -/// Member's last name. -@property (nonatomic, readonly, copy, nullable) NSString *memberSurname; - -/// External ID for member. -@property (nonatomic, readonly, copy, nullable) NSString *memberExternalId; - -/// Persistent ID for member. This field is only available to teams using -/// persistent ID SAML configuration. -@property (nonatomic, readonly, copy, nullable) NSString *memberPersistentId; - -/// Whether to send a welcome email to the member. If send_welcome_email is -/// false, no email invitation will be sent to the user. This may be useful for -/// apps using single sign-on (SSO) flows for onboarding that want to handle -/// announcements themselves. -@property (nonatomic, readonly) NSNumber *sendWelcomeEmail; - /// (no description). @property (nonatomic, readonly) DBTEAMAdminTier *role; @@ -66,6 +45,7 @@ NS_ASSUME_NONNULL_BEGIN /// send_welcome_email is false, no email invitation will be sent to the user. /// This may be useful for apps using single sign-on (SSO) flows for onboarding /// that want to handle announcements themselves. +/// @param isDirectoryRestricted Whether a user is directory restricted. /// @param role (no description). /// /// @return An initialized instance. @@ -76,6 +56,7 @@ NS_ASSUME_NONNULL_BEGIN memberExternalId:(nullable NSString *)memberExternalId memberPersistentId:(nullable NSString *)memberPersistentId sendWelcomeEmail:(nullable NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted role:(nullable DBTEAMAdminTier *)role; /// @@ -88,8 +69,6 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithMemberEmail:(NSString *)memberEmail; -- (instancetype)init NS_UNAVAILABLE; - @end #pragma mark - Serializer Object @@ -107,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAddArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberAddArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddArg *)instance; /// /// Deserializes `DBTEAMMemberAddArg` instances. @@ -117,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMemberAddArg` object. /// -+ (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberAddArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArgBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArgBase.h new file mode 100644 index 000000000..05f65c27c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddArgBase.h @@ -0,0 +1,123 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMemberAddArgBase; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddArgBase` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMemberAddArgBase : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *memberEmail; + +/// Member's first name. +@property (nonatomic, readonly, copy, nullable) NSString *memberGivenName; + +/// Member's last name. +@property (nonatomic, readonly, copy, nullable) NSString *memberSurname; + +/// External ID for member. +@property (nonatomic, readonly, copy, nullable) NSString *memberExternalId; + +/// Persistent ID for member. This field is only available to teams using +/// persistent ID SAML configuration. +@property (nonatomic, readonly, copy, nullable) NSString *memberPersistentId; + +/// Whether to send a welcome email to the member. If send_welcome_email is +/// false, no email invitation will be sent to the user. This may be useful for +/// apps using single sign-on (SSO) flows for onboarding that want to handle +/// announcements themselves. +@property (nonatomic, readonly) NSNumber *sendWelcomeEmail; + +/// Whether a user is directory restricted. +@property (nonatomic, readonly, nullable) NSNumber *isDirectoryRestricted; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param memberEmail (no description). +/// @param memberGivenName Member's first name. +/// @param memberSurname Member's last name. +/// @param memberExternalId External ID for member. +/// @param memberPersistentId Persistent ID for member. This field is only +/// available to teams using persistent ID SAML configuration. +/// @param sendWelcomeEmail Whether to send a welcome email to the member. If +/// send_welcome_email is false, no email invitation will be sent to the user. +/// This may be useful for apps using single sign-on (SSO) flows for onboarding +/// that want to handle announcements themselves. +/// @param isDirectoryRestricted Whether a user is directory restricted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberEmail:(NSString *)memberEmail + memberGivenName:(nullable NSString *)memberGivenName + memberSurname:(nullable NSString *)memberSurname + memberExternalId:(nullable NSString *)memberExternalId + memberPersistentId:(nullable NSString *)memberPersistentId + sendWelcomeEmail:(nullable NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param memberEmail (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberEmail:(NSString *)memberEmail; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberAddArgBase` struct. +/// +@interface DBTEAMMemberAddArgBaseSerializer : NSObject + +/// +/// Serializes `DBTEAMMemberAddArgBase` instances. +/// +/// @param instance An instance of the `DBTEAMMemberAddArgBase` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMemberAddArgBase` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddArgBase *)instance; + +/// +/// Deserializes `DBTEAMMemberAddArgBase` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMemberAddArgBase` API object. +/// +/// @return An instantiation of the `DBTEAMMemberAddArgBase` object. +/// ++ (DBTEAMMemberAddArgBase *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResult.h index 94c5dd7d1..e7503462f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResult.h @@ -33,57 +33,52 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMemberAddResultTag` enum type represents the possible tag states /// with which the `DBTEAMMemberAddResult` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { - /// Describes a user that was successfully added to the team. - DBTEAMMemberAddResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMemberAddResultTag){ + /// Team is already full. The organization has no available licenses. + DBTEAMMemberAddResultTeamLicenseLimit, - /// Team is already full. The organization has no available licenses. - DBTEAMMemberAddResultTeamLicenseLimit, + /// Team is already full. The free team member limit has been reached. + DBTEAMMemberAddResultFreeTeamMemberLimitReached, - /// Team is already full. The free team member limit has been reached. - DBTEAMMemberAddResultFreeTeamMemberLimitReached, + /// User is already on this team. The provided email address is associated + /// with a user who is already a member of (including in recoverable state) + /// or invited to the team. + DBTEAMMemberAddResultUserAlreadyOnTeam, - /// User is already on this team. The provided email address is associated - /// with a user who is already a member of (including in recoverable state) - /// or invited to the team. - DBTEAMMemberAddResultUserAlreadyOnTeam, + /// User is already on another team. The provided email address is + /// associated with a user that is already a member or invited to another + /// team. + DBTEAMMemberAddResultUserOnAnotherTeam, - /// User is already on another team. The provided email address is - /// associated with a user that is already a member or invited to another - /// team. - DBTEAMMemberAddResultUserOnAnotherTeam, + /// User is already paired. + DBTEAMMemberAddResultUserAlreadyPaired, - /// User is already paired. - DBTEAMMemberAddResultUserAlreadyPaired, + /// User migration has failed. + DBTEAMMemberAddResultUserMigrationFailed, - /// User migration has failed. - DBTEAMMemberAddResultUserMigrationFailed, + /// A user with the given external member ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddResultDuplicateExternalMemberId, - /// A user with the given external member ID already exists on the team - /// (including in recoverable state). - DBTEAMMemberAddResultDuplicateExternalMemberId, + /// A user with the given persistent ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddResultDuplicateMemberPersistentId, - /// A user with the given persistent ID already exists on the team - /// (including in recoverable state). - DBTEAMMemberAddResultDuplicateMemberPersistentId, + /// Persistent ID is only available to teams with persistent ID SAML + /// configuration. Please contact Dropbox for more information. + DBTEAMMemberAddResultPersistentIdDisabled, - /// Persistent ID is only available to teams with persistent ID SAML - /// configuration. Please contact Dropbox for more information. - DBTEAMMemberAddResultPersistentIdDisabled, + /// User creation has failed. + DBTEAMMemberAddResultUserCreationFailed, - /// User creation has failed. - DBTEAMMemberAddResultUserCreationFailed, + /// Describes a user that was successfully added to the team. + DBTEAMMemberAddResultSuccess, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMemberAddResultTag tag; -/// Describes a user that was successfully added to the team. @note Ensure the -/// `isSuccess` method returns true before accessing, otherwise a runtime -/// exception will be raised. -@property (nonatomic, readonly) DBTEAMTeamMemberInfo *success; - /// Team is already full. The organization has no available licenses. @note /// Ensure the `isTeamLicenseLimit` method returns true before accessing, /// otherwise a runtime exception will be raised. @@ -135,19 +130,12 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *userCreationFailed; -#pragma mark - Constructors +/// Describes a user that was successfully added to the team. @note Ensure the +/// `isSuccess` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamMemberInfo *success; -/// -/// Initializes union class with tag state of "success". -/// -/// Description of the "success" tag state: Describes a user that was -/// successfully added to the team. -/// -/// @param success Describes a user that was successfully added to the team. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfo *)success; +#pragma mark - Constructors /// /// Initializes union class with tag state of "team_license_limit". @@ -283,19 +271,21 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { /// - (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed; -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - /// -/// Retrieves whether the union's current tag state has value "success". +/// Initializes union class with tag state of "success". /// -/// @note Call this method and ensure it returns true before accessing the -/// `success` property, otherwise a runtime exception will be thrown. +/// Description of the "success" tag state: Describes a user that was +/// successfully added to the team. /// -/// @return Whether the union's current tag state has value "success". +/// @param success Describes a user that was successfully added to the team. /// -- (BOOL)isSuccess; +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfo *)success; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods /// /// Retrieves whether the union's current tag state has value @@ -422,6 +412,16 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { /// - (BOOL)isUserCreationFailed; +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + /// /// Retrieves string value of union's current tag state. /// @@ -446,7 +446,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberAddResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberAddResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddResult *)instance; /// /// Deserializes `DBTEAMMemberAddResult` instances. @@ -456,7 +456,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberAddResultTag) { /// /// @return An instantiation of the `DBTEAMMemberAddResult` object. /// -+ (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberAddResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResultBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResultBase.h new file mode 100644 index 000000000..13df3e3bd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddResultBase.h @@ -0,0 +1,427 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMemberAddResultBase; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddResultBase` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMemberAddResultBase : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMemberAddResultBaseTag` enum type represents the possible tag +/// states with which the `DBTEAMMemberAddResultBase` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMemberAddResultBaseTag){ + /// Team is already full. The organization has no available licenses. + DBTEAMMemberAddResultBaseTeamLicenseLimit, + + /// Team is already full. The free team member limit has been reached. + DBTEAMMemberAddResultBaseFreeTeamMemberLimitReached, + + /// User is already on this team. The provided email address is associated + /// with a user who is already a member of (including in recoverable state) + /// or invited to the team. + DBTEAMMemberAddResultBaseUserAlreadyOnTeam, + + /// User is already on another team. The provided email address is + /// associated with a user that is already a member or invited to another + /// team. + DBTEAMMemberAddResultBaseUserOnAnotherTeam, + + /// User is already paired. + DBTEAMMemberAddResultBaseUserAlreadyPaired, + + /// User migration has failed. + DBTEAMMemberAddResultBaseUserMigrationFailed, + + /// A user with the given external member ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddResultBaseDuplicateExternalMemberId, + + /// A user with the given persistent ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddResultBaseDuplicateMemberPersistentId, + + /// Persistent ID is only available to teams with persistent ID SAML + /// configuration. Please contact Dropbox for more information. + DBTEAMMemberAddResultBasePersistentIdDisabled, + + /// User creation has failed. + DBTEAMMemberAddResultBaseUserCreationFailed, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMemberAddResultBaseTag tag; + +/// Team is already full. The organization has no available licenses. @note +/// Ensure the `isTeamLicenseLimit` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *teamLicenseLimit; + +/// Team is already full. The free team member limit has been reached. @note +/// Ensure the `isFreeTeamMemberLimitReached` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *freeTeamMemberLimitReached; + +/// User is already on this team. The provided email address is associated with +/// a user who is already a member of (including in recoverable state) or +/// invited to the team. @note Ensure the `isUserAlreadyOnTeam` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userAlreadyOnTeam; + +/// User is already on another team. The provided email address is associated +/// with a user that is already a member or invited to another team. @note +/// Ensure the `isUserOnAnotherTeam` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userOnAnotherTeam; + +/// User is already paired. @note Ensure the `isUserAlreadyPaired` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userAlreadyPaired; + +/// User migration has failed. @note Ensure the `isUserMigrationFailed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userMigrationFailed; + +/// A user with the given external member ID already exists on the team +/// (including in recoverable state). @note Ensure the +/// `isDuplicateExternalMemberId` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *duplicateExternalMemberId; + +/// A user with the given persistent ID already exists on the team (including in +/// recoverable state). @note Ensure the `isDuplicateMemberPersistentId` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *duplicateMemberPersistentId; + +/// Persistent ID is only available to teams with persistent ID SAML +/// configuration. Please contact Dropbox for more information. @note Ensure the +/// `isPersistentIdDisabled` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *persistentIdDisabled; + +/// User creation has failed. @note Ensure the `isUserCreationFailed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userCreationFailed; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "team_license_limit". +/// +/// Description of the "team_license_limit" tag state: Team is already full. The +/// organization has no available licenses. +/// +/// @param teamLicenseLimit Team is already full. The organization has no +/// available licenses. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit; + +/// +/// Initializes union class with tag state of "free_team_member_limit_reached". +/// +/// Description of the "free_team_member_limit_reached" tag state: Team is +/// already full. The free team member limit has been reached. +/// +/// @param freeTeamMemberLimitReached Team is already full. The free team member +/// limit has been reached. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached; + +/// +/// Initializes union class with tag state of "user_already_on_team". +/// +/// Description of the "user_already_on_team" tag state: User is already on this +/// team. The provided email address is associated with a user who is already a +/// member of (including in recoverable state) or invited to the team. +/// +/// @param userAlreadyOnTeam User is already on this team. The provided email +/// address is associated with a user who is already a member of (including in +/// recoverable state) or invited to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam; + +/// +/// Initializes union class with tag state of "user_on_another_team". +/// +/// Description of the "user_on_another_team" tag state: User is already on +/// another team. The provided email address is associated with a user that is +/// already a member or invited to another team. +/// +/// @param userOnAnotherTeam User is already on another team. The provided email +/// address is associated with a user that is already a member or invited to +/// another team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam; + +/// +/// Initializes union class with tag state of "user_already_paired". +/// +/// Description of the "user_already_paired" tag state: User is already paired. +/// +/// @param userAlreadyPaired User is already paired. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired; + +/// +/// Initializes union class with tag state of "user_migration_failed". +/// +/// Description of the "user_migration_failed" tag state: User migration has +/// failed. +/// +/// @param userMigrationFailed User migration has failed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed; + +/// +/// Initializes union class with tag state of "duplicate_external_member_id". +/// +/// Description of the "duplicate_external_member_id" tag state: A user with the +/// given external member ID already exists on the team (including in +/// recoverable state). +/// +/// @param duplicateExternalMemberId A user with the given external member ID +/// already exists on the team (including in recoverable state). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId; + +/// +/// Initializes union class with tag state of "duplicate_member_persistent_id". +/// +/// Description of the "duplicate_member_persistent_id" tag state: A user with +/// the given persistent ID already exists on the team (including in recoverable +/// state). +/// +/// @param duplicateMemberPersistentId A user with the given persistent ID +/// already exists on the team (including in recoverable state). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId; + +/// +/// Initializes union class with tag state of "persistent_id_disabled". +/// +/// Description of the "persistent_id_disabled" tag state: Persistent ID is only +/// available to teams with persistent ID SAML configuration. Please contact +/// Dropbox for more information. +/// +/// @param persistentIdDisabled Persistent ID is only available to teams with +/// persistent ID SAML configuration. Please contact Dropbox for more +/// information. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled; + +/// +/// Initializes union class with tag state of "user_creation_failed". +/// +/// Description of the "user_creation_failed" tag state: User creation has +/// failed. +/// +/// @param userCreationFailed User creation has failed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "team_license_limit". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamLicenseLimit` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "team_license_limit". +/// +- (BOOL)isTeamLicenseLimit; + +/// +/// Retrieves whether the union's current tag state has value +/// "free_team_member_limit_reached". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `freeTeamMemberLimitReached` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "free_team_member_limit_reached". +/// +- (BOOL)isFreeTeamMemberLimitReached; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_already_on_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userAlreadyOnTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_already_on_team". +/// +- (BOOL)isUserAlreadyOnTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_on_another_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userOnAnotherTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_on_another_team". +/// +- (BOOL)isUserOnAnotherTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_already_paired". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userAlreadyPaired` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_already_paired". +/// +- (BOOL)isUserAlreadyPaired; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_migration_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userMigrationFailed` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_migration_failed". +/// +- (BOOL)isUserMigrationFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_external_member_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `duplicateExternalMemberId` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "duplicate_external_member_id". +/// +- (BOOL)isDuplicateExternalMemberId; + +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_member_persistent_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `duplicateMemberPersistentId` property, otherwise a runtime exception will +/// be thrown. +/// +/// @return Whether the union's current tag state has value +/// "duplicate_member_persistent_id". +/// +- (BOOL)isDuplicateMemberPersistentId; + +/// +/// Retrieves whether the union's current tag state has value +/// "persistent_id_disabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `persistentIdDisabled` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "persistent_id_disabled". +/// +- (BOOL)isPersistentIdDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_creation_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userCreationFailed` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_creation_failed". +/// +- (BOOL)isUserCreationFailed; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMemberAddResultBase` union. +/// +@interface DBTEAMMemberAddResultBaseSerializer : NSObject + +/// +/// Serializes `DBTEAMMemberAddResultBase` instances. +/// +/// @param instance An instance of the `DBTEAMMemberAddResultBase` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMemberAddResultBase` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddResultBase *)instance; + +/// +/// Deserializes `DBTEAMMemberAddResultBase` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMemberAddResultBase` API object. +/// +/// @return An instantiation of the `DBTEAMMemberAddResultBase` object. +/// ++ (DBTEAMMemberAddResultBase *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Arg.h new file mode 100644 index 000000000..69e32f17a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Arg.h @@ -0,0 +1,102 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMMemberAddArgBase.h" + +@class DBTEAMMemberAddV2Arg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddV2Arg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMemberAddV2Arg : DBTEAMMemberAddArgBase + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, nullable) NSArray *roleIds; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param memberEmail (no description). +/// @param memberGivenName Member's first name. +/// @param memberSurname Member's last name. +/// @param memberExternalId External ID for member. +/// @param memberPersistentId Persistent ID for member. This field is only +/// available to teams using persistent ID SAML configuration. +/// @param sendWelcomeEmail Whether to send a welcome email to the member. If +/// send_welcome_email is false, no email invitation will be sent to the user. +/// This may be useful for apps using single sign-on (SSO) flows for onboarding +/// that want to handle announcements themselves. +/// @param isDirectoryRestricted Whether a user is directory restricted. +/// @param roleIds (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberEmail:(NSString *)memberEmail + memberGivenName:(nullable NSString *)memberGivenName + memberSurname:(nullable NSString *)memberSurname + memberExternalId:(nullable NSString *)memberExternalId + memberPersistentId:(nullable NSString *)memberPersistentId + sendWelcomeEmail:(nullable NSNumber *)sendWelcomeEmail + isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted + roleIds:(nullable NSArray *)roleIds; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param memberEmail (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberEmail:(NSString *)memberEmail; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberAddV2Arg` struct. +/// +@interface DBTEAMMemberAddV2ArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMemberAddV2Arg` instances. +/// +/// @param instance An instance of the `DBTEAMMemberAddV2Arg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMemberAddV2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddV2Arg *)instance; + +/// +/// Deserializes `DBTEAMMemberAddV2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMemberAddV2Arg` API object. +/// +/// @return An instantiation of the `DBTEAMMemberAddV2Arg` object. +/// ++ (DBTEAMMemberAddV2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Result.h new file mode 100644 index 000000000..0ff1baf96 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberAddV2Result.h @@ -0,0 +1,480 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMemberAddV2Result; +@class DBTEAMTeamMemberInfoV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddV2Result` union. +/// +/// Describes the result of attempting to add a single user to the team. +/// 'success' is the only value indicating that a user was indeed added to the +/// team - the other values explain the type of failure that occurred, and +/// include the email of the user for which the operation has failed. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMemberAddV2Result : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMemberAddV2ResultTag` enum type represents the possible tag +/// states with which the `DBTEAMMemberAddV2Result` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMemberAddV2ResultTag){ + /// Team is already full. The organization has no available licenses. + DBTEAMMemberAddV2ResultTeamLicenseLimit, + + /// Team is already full. The free team member limit has been reached. + DBTEAMMemberAddV2ResultFreeTeamMemberLimitReached, + + /// User is already on this team. The provided email address is associated + /// with a user who is already a member of (including in recoverable state) + /// or invited to the team. + DBTEAMMemberAddV2ResultUserAlreadyOnTeam, + + /// User is already on another team. The provided email address is + /// associated with a user that is already a member or invited to another + /// team. + DBTEAMMemberAddV2ResultUserOnAnotherTeam, + + /// User is already paired. + DBTEAMMemberAddV2ResultUserAlreadyPaired, + + /// User migration has failed. + DBTEAMMemberAddV2ResultUserMigrationFailed, + + /// A user with the given external member ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddV2ResultDuplicateExternalMemberId, + + /// A user with the given persistent ID already exists on the team + /// (including in recoverable state). + DBTEAMMemberAddV2ResultDuplicateMemberPersistentId, + + /// Persistent ID is only available to teams with persistent ID SAML + /// configuration. Please contact Dropbox for more information. + DBTEAMMemberAddV2ResultPersistentIdDisabled, + + /// User creation has failed. + DBTEAMMemberAddV2ResultUserCreationFailed, + + /// Describes a user that was successfully added to the team. + DBTEAMMemberAddV2ResultSuccess, + + /// (no description). + DBTEAMMemberAddV2ResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMemberAddV2ResultTag tag; + +/// Team is already full. The organization has no available licenses. @note +/// Ensure the `isTeamLicenseLimit` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *teamLicenseLimit; + +/// Team is already full. The free team member limit has been reached. @note +/// Ensure the `isFreeTeamMemberLimitReached` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *freeTeamMemberLimitReached; + +/// User is already on this team. The provided email address is associated with +/// a user who is already a member of (including in recoverable state) or +/// invited to the team. @note Ensure the `isUserAlreadyOnTeam` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userAlreadyOnTeam; + +/// User is already on another team. The provided email address is associated +/// with a user that is already a member or invited to another team. @note +/// Ensure the `isUserOnAnotherTeam` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userOnAnotherTeam; + +/// User is already paired. @note Ensure the `isUserAlreadyPaired` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userAlreadyPaired; + +/// User migration has failed. @note Ensure the `isUserMigrationFailed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userMigrationFailed; + +/// A user with the given external member ID already exists on the team +/// (including in recoverable state). @note Ensure the +/// `isDuplicateExternalMemberId` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *duplicateExternalMemberId; + +/// A user with the given persistent ID already exists on the team (including in +/// recoverable state). @note Ensure the `isDuplicateMemberPersistentId` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *duplicateMemberPersistentId; + +/// Persistent ID is only available to teams with persistent ID SAML +/// configuration. Please contact Dropbox for more information. @note Ensure the +/// `isPersistentIdDisabled` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *persistentIdDisabled; + +/// User creation has failed. @note Ensure the `isUserCreationFailed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *userCreationFailed; + +/// Describes a user that was successfully added to the team. @note Ensure the +/// `isSuccess` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamMemberInfoV2 *success; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "team_license_limit". +/// +/// Description of the "team_license_limit" tag state: Team is already full. The +/// organization has no available licenses. +/// +/// @param teamLicenseLimit Team is already full. The organization has no +/// available licenses. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamLicenseLimit:(NSString *)teamLicenseLimit; + +/// +/// Initializes union class with tag state of "free_team_member_limit_reached". +/// +/// Description of the "free_team_member_limit_reached" tag state: Team is +/// already full. The free team member limit has been reached. +/// +/// @param freeTeamMemberLimitReached Team is already full. The free team member +/// limit has been reached. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFreeTeamMemberLimitReached:(NSString *)freeTeamMemberLimitReached; + +/// +/// Initializes union class with tag state of "user_already_on_team". +/// +/// Description of the "user_already_on_team" tag state: User is already on this +/// team. The provided email address is associated with a user who is already a +/// member of (including in recoverable state) or invited to the team. +/// +/// @param userAlreadyOnTeam User is already on this team. The provided email +/// address is associated with a user who is already a member of (including in +/// recoverable state) or invited to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAlreadyOnTeam:(NSString *)userAlreadyOnTeam; + +/// +/// Initializes union class with tag state of "user_on_another_team". +/// +/// Description of the "user_on_another_team" tag state: User is already on +/// another team. The provided email address is associated with a user that is +/// already a member or invited to another team. +/// +/// @param userOnAnotherTeam User is already on another team. The provided email +/// address is associated with a user that is already a member or invited to +/// another team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserOnAnotherTeam:(NSString *)userOnAnotherTeam; + +/// +/// Initializes union class with tag state of "user_already_paired". +/// +/// Description of the "user_already_paired" tag state: User is already paired. +/// +/// @param userAlreadyPaired User is already paired. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAlreadyPaired:(NSString *)userAlreadyPaired; + +/// +/// Initializes union class with tag state of "user_migration_failed". +/// +/// Description of the "user_migration_failed" tag state: User migration has +/// failed. +/// +/// @param userMigrationFailed User migration has failed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserMigrationFailed:(NSString *)userMigrationFailed; + +/// +/// Initializes union class with tag state of "duplicate_external_member_id". +/// +/// Description of the "duplicate_external_member_id" tag state: A user with the +/// given external member ID already exists on the team (including in +/// recoverable state). +/// +/// @param duplicateExternalMemberId A user with the given external member ID +/// already exists on the team (including in recoverable state). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicateExternalMemberId:(NSString *)duplicateExternalMemberId; + +/// +/// Initializes union class with tag state of "duplicate_member_persistent_id". +/// +/// Description of the "duplicate_member_persistent_id" tag state: A user with +/// the given persistent ID already exists on the team (including in recoverable +/// state). +/// +/// @param duplicateMemberPersistentId A user with the given persistent ID +/// already exists on the team (including in recoverable state). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDuplicateMemberPersistentId:(NSString *)duplicateMemberPersistentId; + +/// +/// Initializes union class with tag state of "persistent_id_disabled". +/// +/// Description of the "persistent_id_disabled" tag state: Persistent ID is only +/// available to teams with persistent ID SAML configuration. Please contact +/// Dropbox for more information. +/// +/// @param persistentIdDisabled Persistent ID is only available to teams with +/// persistent ID SAML configuration. Please contact Dropbox for more +/// information. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPersistentIdDisabled:(NSString *)persistentIdDisabled; + +/// +/// Initializes union class with tag state of "user_creation_failed". +/// +/// Description of the "user_creation_failed" tag state: User creation has +/// failed. +/// +/// @param userCreationFailed User creation has failed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserCreationFailed:(NSString *)userCreationFailed; + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: Describes a user that was +/// successfully added to the team. +/// +/// @param success Describes a user that was successfully added to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBTEAMTeamMemberInfoV2 *)success; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "team_license_limit". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamLicenseLimit` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "team_license_limit". +/// +- (BOOL)isTeamLicenseLimit; + +/// +/// Retrieves whether the union's current tag state has value +/// "free_team_member_limit_reached". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `freeTeamMemberLimitReached` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "free_team_member_limit_reached". +/// +- (BOOL)isFreeTeamMemberLimitReached; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_already_on_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userAlreadyOnTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_already_on_team". +/// +- (BOOL)isUserAlreadyOnTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_on_another_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userOnAnotherTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_on_another_team". +/// +- (BOOL)isUserOnAnotherTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_already_paired". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userAlreadyPaired` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_already_paired". +/// +- (BOOL)isUserAlreadyPaired; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_migration_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userMigrationFailed` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_migration_failed". +/// +- (BOOL)isUserMigrationFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_external_member_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `duplicateExternalMemberId` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "duplicate_external_member_id". +/// +- (BOOL)isDuplicateExternalMemberId; + +/// +/// Retrieves whether the union's current tag state has value +/// "duplicate_member_persistent_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `duplicateMemberPersistentId` property, otherwise a runtime exception will +/// be thrown. +/// +/// @return Whether the union's current tag state has value +/// "duplicate_member_persistent_id". +/// +- (BOOL)isDuplicateMemberPersistentId; + +/// +/// Retrieves whether the union's current tag state has value +/// "persistent_id_disabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `persistentIdDisabled` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "persistent_id_disabled". +/// +- (BOOL)isPersistentIdDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_creation_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `userCreationFailed` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "user_creation_failed". +/// +- (BOOL)isUserCreationFailed; + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMemberAddV2Result` union. +/// +@interface DBTEAMMemberAddV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMemberAddV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMemberAddV2Result` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMemberAddV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMemberAddV2Result *)instance; + +/// +/// Deserializes `DBTEAMMemberAddV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMemberAddV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMemberAddV2Result` object. +/// ++ (DBTEAMMemberAddV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberDevices.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberDevices.h index 6b603a590..e4a01fbd3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberDevices.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberDevices.h @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberDevices` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberDevices *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberDevices *)instance; /// /// Deserializes `DBTEAMMemberDevices` instances. @@ -98,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMemberDevices` object. /// -+ (DBTEAMMemberDevices *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberDevices *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberLinkedApps.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberLinkedApps.h index 85d707bce..964389318 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberLinkedApps.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberLinkedApps.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberLinkedApps` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberLinkedApps *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberLinkedApps *)instance; /// /// Deserializes `DBTEAMMemberLinkedApps` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMemberLinkedApps` object. /// -+ (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberLinkedApps *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberProfile.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberProfile.h index b277e7778..f034ef4d9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberProfile.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberProfile.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSECONDARYEMAILSSecondaryEmail; @class DBTEAMMemberProfile; @class DBTEAMTeamMemberStatus; @class DBTEAMTeamMembershipType; @@ -47,6 +48,9 @@ NS_ASSUME_NONNULL_BEGIN /// Is true if the user's email is verified to be owned by the user. @property (nonatomic, readonly) NSNumber *emailVerified; +/// Secondary emails of a user. +@property (nonatomic, readonly, nullable) NSArray *secondaryEmails; + /// The user's status as a member of a specific team. @property (nonatomic, readonly) DBTEAMTeamMemberStatus *status; @@ -57,13 +61,27 @@ NS_ASSUME_NONNULL_BEGIN /// use a license; no access to the team's shared quota). @property (nonatomic, readonly) DBTEAMTeamMembershipType *membershipType; +/// The date and time the user was invited to the team (contains value only when +/// the member's status matches `invited` in `DBTEAMTeamMemberStatus`). +@property (nonatomic, readonly, nullable) NSDate *invitedOn; + /// The date and time the user joined as a member of a specific team. @property (nonatomic, readonly, nullable) NSDate *joinedOn; +/// The date and time the user was suspended from the team (contains value only +/// when the member's status matches `suspended` in `DBTEAMTeamMemberStatus`). +@property (nonatomic, readonly, nullable) NSDate *suspendedOn; + /// Persistent ID that a team can attach to the user. The persistent ID is /// unique ID to be used for SAML authentication. @property (nonatomic, readonly, copy, nullable) NSString *persistentId; +/// Whether the user is a directory restricted user. +@property (nonatomic, readonly, nullable) NSNumber *isDirectoryRestricted; + +/// URL for the photo representing the user, if one is set. +@property (nonatomic, readonly, copy, nullable) NSString *profilePhotoUrl; + #pragma mark - Constructors /// @@ -81,10 +99,21 @@ NS_ASSUME_NONNULL_BEGIN /// application using the API may find it easier to use their own IDs instead of /// Dropbox IDs like account_id or team_member_id. /// @param accountId A user's account identifier. +/// @param secondaryEmails Secondary emails of a user. +/// @param invitedOn The date and time the user was invited to the team +/// (contains value only when the member's status matches `invited` in +/// `DBTEAMTeamMemberStatus`). /// @param joinedOn The date and time the user joined as a member of a specific /// team. +/// @param suspendedOn The date and time the user was suspended from the team +/// (contains value only when the member's status matches `suspended` in +/// `DBTEAMTeamMemberStatus`). /// @param persistentId Persistent ID that a team can attach to the user. The /// persistent ID is unique ID to be used for SAML authentication. +/// @param isDirectoryRestricted Whether the user is a directory restricted +/// user. +/// @param profilePhotoUrl URL for the photo representing the user, if one is +/// set. /// /// @return An initialized instance. /// @@ -96,8 +125,13 @@ NS_ASSUME_NONNULL_BEGIN membershipType:(DBTEAMTeamMembershipType *)membershipType externalId:(nullable NSString *)externalId accountId:(nullable NSString *)accountId + secondaryEmails:(nullable NSArray *)secondaryEmails + invitedOn:(nullable NSDate *)invitedOn joinedOn:(nullable NSDate *)joinedOn - persistentId:(nullable NSString *)persistentId; + suspendedOn:(nullable NSDate *)suspendedOn + persistentId:(nullable NSString *)persistentId + isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted + profilePhotoUrl:(nullable NSString *)profilePhotoUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -140,7 +174,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberProfile` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberProfile *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberProfile *)instance; /// /// Deserializes `DBTEAMMemberProfile` instances. @@ -150,7 +184,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMemberProfile` object. /// -+ (DBTEAMMemberProfile *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberProfile *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberSelectorError.h index 2c4ba61bd..515337d56 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMemberSelectorError.h @@ -27,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMemberSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMemberSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMemberSelectorErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMemberSelectorErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMemberSelectorErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMemberSelectorErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMemberSelectorErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMemberSelectorErrorUserNotInTeam, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMemberSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMemberSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMemberSelectorError *)instance; /// /// Deserializes `DBTEAMMemberSelectorError` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMemberSelectorErrorTag) { /// /// @return An instantiation of the `DBTEAMMemberSelectorError` object. /// -+ (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMemberSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArg.h index 191b313d8..1916a3f93 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArg.h @@ -7,6 +7,7 @@ #import #import "DBSerializableProtocol.h" +#import "DBTEAMMembersAddArgBase.h" @class DBTEAMMemberAddArg; @class DBTEAMMembersAddArg; @@ -22,16 +23,13 @@ NS_ASSUME_NONNULL_BEGIN /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMMembersAddArg : NSObject +@interface DBTEAMMembersAddArg : DBTEAMMembersAddArgBase #pragma mark - Instance fields /// Details of new members to be added to the team. @property (nonatomic, readonly) NSArray *dNewMembers; -/// Whether to force the add to happen asynchronously. -@property (nonatomic, readonly) NSNumber *forceAsync; - #pragma mark - Constructors /// @@ -55,8 +53,6 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithDNewMembers:(NSArray *)dNewMembers; -- (instancetype)init NS_UNAVAILABLE; - @end #pragma mark - Serializer Object @@ -74,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersAddArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddArg *)instance; /// /// Deserializes `DBTEAMMembersAddArg` instances. @@ -84,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersAddArg` object. /// -+ (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersAddArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArgBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArgBase.h new file mode 100644 index 000000000..76e7fe0f4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddArgBase.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersAddArgBase; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersAddArgBase` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersAddArgBase : NSObject + +#pragma mark - Instance fields + +/// Whether to force the add to happen asynchronously. +@property (nonatomic, readonly) NSNumber *forceAsync; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param forceAsync Whether to force the add to happen asynchronously. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithForceAsync:(nullable NSNumber *)forceAsync; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersAddArgBase` struct. +/// +@interface DBTEAMMembersAddArgBaseSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersAddArgBase` instances. +/// +/// @param instance An instance of the `DBTEAMMembersAddArgBase` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersAddArgBase` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddArgBase *)instance; + +/// +/// Deserializes `DBTEAMMembersAddArgBase` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersAddArgBase` API object. +/// +/// @return An instantiation of the `DBTEAMMembersAddArgBase` object. +/// ++ (DBTEAMMembersAddArgBase *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatus.h index 128aabc4c..692a5a8c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatus.h @@ -28,18 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersAddJobStatusTag` enum type represents the possible tag /// states with which the `DBTEAMMembersAddJobStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersAddJobStatusTag) { - /// The asynchronous job is still in progress. - DBTEAMMembersAddJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersAddJobStatusTag){ + /// The asynchronous job is still in progress. + DBTEAMMembersAddJobStatusInProgress, - /// The asynchronous job has finished. For each member that was specified in - /// the parameter MembersAddArg that was provided to `membersAdd`, a - /// corresponding item is returned in this list. - DBTEAMMembersAddJobStatusComplete, + /// The asynchronous job has finished. For each member that was specified in + /// the parameter MembersAddArg that was provided to `membersAdd`, a + /// corresponding item is returned in this list. + DBTEAMMembersAddJobStatusComplete, - /// The asynchronous job returned an error. The string contains an error - /// message. - DBTEAMMembersAddJobStatusFailed, + /// The asynchronous job returned an error. The string contains an error + /// message. + DBTEAMMembersAddJobStatusFailed, }; @@ -152,7 +152,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersAddJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersAddJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddJobStatus *)instance; /// /// Deserializes `DBTEAMMembersAddJobStatus` instances. @@ -162,7 +162,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersAddJobStatusTag) { /// /// @return An instantiation of the `DBTEAMMembersAddJobStatus` object. /// -+ (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersAddJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatusV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatusV2Result.h new file mode 100644 index 000000000..84592118d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddJobStatusV2Result.h @@ -0,0 +1,188 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMemberAddV2Result; +@class DBTEAMMembersAddJobStatusV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersAddJobStatusV2Result` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersAddJobStatusV2Result : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersAddJobStatusV2ResultTag` enum type represents the possible +/// tag states with which the `DBTEAMMembersAddJobStatusV2Result` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersAddJobStatusV2ResultTag){ + /// The asynchronous job is still in progress. + DBTEAMMembersAddJobStatusV2ResultInProgress, + + /// The asynchronous job has finished. For each member that was specified in + /// the parameter MembersAddArg that was provided to `membersAdd`, a + /// corresponding item is returned in this list. + DBTEAMMembersAddJobStatusV2ResultComplete, + + /// The asynchronous job returned an error. The string contains an error + /// message. + DBTEAMMembersAddJobStatusV2ResultFailed, + + /// (no description). + DBTEAMMembersAddJobStatusV2ResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersAddJobStatusV2ResultTag tag; + +/// The asynchronous job has finished. For each member that was specified in the +/// parameter MembersAddArg that was provided to `membersAdd`, a corresponding +/// item is returned in this list. @note Ensure the `isComplete` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) NSArray *complete; + +/// The asynchronous job returned an error. The string contains an error +/// message. @note Ensure the `isFailed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *failed; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "in_progress". +/// +/// Description of the "in_progress" tag state: The asynchronous job is still in +/// progress. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInProgress; + +/// +/// Initializes union class with tag state of "complete". +/// +/// Description of the "complete" tag state: The asynchronous job has finished. +/// For each member that was specified in the parameter MembersAddArg that was +/// provided to `membersAdd`, a corresponding item is returned in this list. +/// +/// @param complete The asynchronous job has finished. For each member that was +/// specified in the parameter MembersAddArg that was provided to `membersAdd`, +/// a corresponding item is returned in this list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(NSArray *)complete; + +/// +/// Initializes union class with tag state of "failed". +/// +/// Description of the "failed" tag state: The asynchronous job returned an +/// error. The string contains an error message. +/// +/// @param failed The asynchronous job returned an error. The string contains an +/// error message. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailed:(NSString *)failed; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "in_progress". +/// +/// @return Whether the union's current tag state has value "in_progress". +/// +- (BOOL)isInProgress; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves whether the union's current tag state has value "failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `failed` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "failed". +/// +- (BOOL)isFailed; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersAddJobStatusV2Result` union. +/// +@interface DBTEAMMembersAddJobStatusV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersAddJobStatusV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMembersAddJobStatusV2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersAddJobStatusV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddJobStatusV2Result *)instance; + +/// +/// Deserializes `DBTEAMMembersAddJobStatusV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersAddJobStatusV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMembersAddJobStatusV2Result` object. +/// ++ (DBTEAMMembersAddJobStatusV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunch.h index ffbfe0594..d77a1c50d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunch.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersAddLaunchTag` enum type represents the possible tag states /// with which the `DBTEAMMembersAddLaunch` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersAddLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBTEAMMembersAddLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersAddLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBTEAMMembersAddLaunchAsyncJobId, - /// (no description). - DBTEAMMembersAddLaunchComplete, + /// (no description). + DBTEAMMembersAddLaunchComplete, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersAddLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersAddLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersAddLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddLaunch *)instance; /// /// Deserializes `DBTEAMMembersAddLaunch` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersAddLaunchTag) { /// /// @return An instantiation of the `DBTEAMMembersAddLaunch` object. /// -+ (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersAddLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunchV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunchV2Result.h new file mode 100644 index 000000000..1daca1c54 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddLaunchV2Result.h @@ -0,0 +1,160 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMemberAddV2Result; +@class DBTEAMMembersAddLaunchV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersAddLaunchV2Result` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersAddLaunchV2Result : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersAddLaunchV2ResultTag` enum type represents the possible +/// tag states with which the `DBTEAMMembersAddLaunchV2Result` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersAddLaunchV2ResultTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBTEAMMembersAddLaunchV2ResultAsyncJobId, + + /// (no description). + DBTEAMMembersAddLaunchV2ResultComplete, + + /// (no description). + DBTEAMMembersAddLaunchV2ResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersAddLaunchV2ResultTag tag; + +/// This response indicates that the processing is asynchronous. The string is +/// an id that can be used to obtain the status of the asynchronous job. @note +/// Ensure the `isAsyncJobId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *asyncJobId; + +/// (no description). @note Ensure the `isComplete` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) NSArray *complete; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "async_job_id". +/// +/// Description of the "async_job_id" tag state: This response indicates that +/// the processing is asynchronous. The string is an id that can be used to +/// obtain the status of the asynchronous job. +/// +/// @param asyncJobId This response indicates that the processing is +/// asynchronous. The string is an id that can be used to obtain the status of +/// the asynchronous job. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAsyncJobId:(NSString *)asyncJobId; + +/// +/// Initializes union class with tag state of "complete". +/// +/// @param complete (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComplete:(NSArray *)complete; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "async_job_id". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `asyncJobId` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "async_job_id". +/// +- (BOOL)isAsyncJobId; + +/// +/// Retrieves whether the union's current tag state has value "complete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `complete` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "complete". +/// +- (BOOL)isComplete; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersAddLaunchV2Result` union. +/// +@interface DBTEAMMembersAddLaunchV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersAddLaunchV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMembersAddLaunchV2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersAddLaunchV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddLaunchV2Result *)instance; + +/// +/// Deserializes `DBTEAMMembersAddLaunchV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersAddLaunchV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMembersAddLaunchV2Result` object. +/// ++ (DBTEAMMembersAddLaunchV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddV2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddV2Arg.h new file mode 100644 index 000000000..02925d236 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersAddV2Arg.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMMembersAddArgBase.h" + +@class DBTEAMMemberAddV2Arg; +@class DBTEAMMembersAddV2Arg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersAddV2Arg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersAddV2Arg : DBTEAMMembersAddArgBase + +#pragma mark - Instance fields + +/// Details of new members to be added to the team. +@property (nonatomic, readonly) NSArray *dNewMembers; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewMembers Details of new members to be added to the team. +/// @param forceAsync Whether to force the add to happen asynchronously. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers + forceAsync:(nullable NSNumber *)forceAsync; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewMembers Details of new members to be added to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewMembers:(NSArray *)dNewMembers; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersAddV2Arg` struct. +/// +@interface DBTEAMMembersAddV2ArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersAddV2Arg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersAddV2Arg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersAddV2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersAddV2Arg *)instance; + +/// +/// Deserializes `DBTEAMMembersAddV2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersAddV2Arg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersAddV2Arg` object. +/// ++ (DBTEAMMembersAddV2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDataTransferArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDataTransferArg.h new file mode 100644 index 000000000..e2a6c8e59 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDataTransferArg.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMMembersDeactivateBaseArg.h" + +@class DBTEAMMembersDataTransferArg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersDataTransferArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersDataTransferArg : DBTEAMMembersDeactivateBaseArg + +#pragma mark - Instance fields + +/// Files from the deleted member account will be transferred to this user. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *transferDestId; + +/// Errors during the transfer process will be sent via email to this user. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *transferAdminId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user Identity of user to remove/suspend/have their files moved. +/// @param transferDestId Files from the deleted member account will be +/// transferred to this user. +/// @param transferAdminId Errors during the transfer process will be sent via +/// email to this user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + transferDestId:(DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersDataTransferArg` struct. +/// +@interface DBTEAMMembersDataTransferArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersDataTransferArg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersDataTransferArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersDataTransferArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDataTransferArg *)instance; + +/// +/// Deserializes `DBTEAMMembersDataTransferArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersDataTransferArg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersDataTransferArg` object. +/// ++ (DBTEAMMembersDataTransferArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateArg.h index f4cfc1232..5230241b9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateArg.h @@ -7,6 +7,7 @@ #import #import "DBSerializableProtocol.h" +#import "DBTEAMMembersDeactivateBaseArg.h" @class DBTEAMMembersDeactivateArg; @class DBTEAMUserSelectorArg; @@ -18,20 +19,14 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MembersDeactivateArg` struct. /// -/// Exactly one of team_member_id, email, or external_id must be provided to -/// identify the user account. -/// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMMembersDeactivateArg : NSObject +@interface DBTEAMMembersDeactivateArg : DBTEAMMembersDeactivateBaseArg #pragma mark - Instance fields -/// Identity of user to remove/suspend. -@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; - /// If provided, controls if the user's data will be deleted on their linked /// devices. @property (nonatomic, readonly) NSNumber *wipeData; @@ -41,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param user Identity of user to remove/suspend. +/// @param user Identity of user to remove/suspend/have their files moved. /// @param wipeData If provided, controls if the user's data will be deleted on /// their linked devices. /// @@ -53,14 +48,12 @@ NS_ASSUME_NONNULL_BEGIN /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param user Identity of user to remove/suspend. +/// @param user Identity of user to remove/suspend/have their files moved. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; -- (instancetype)init NS_UNAVAILABLE; - @end #pragma mark - Serializer Object @@ -78,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateArg *)instance; /// /// Deserializes `DBTEAMMembersDeactivateArg` instances. @@ -88,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersDeactivateArg` object. /// -+ (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersDeactivateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateBaseArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateBaseArg.h new file mode 100644 index 000000000..7b77762d3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateBaseArg.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersDeactivateBaseArg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersDeactivateBaseArg` struct. +/// +/// Exactly one of team_member_id, email, or external_id must be provided to +/// identify the user account. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersDeactivateBaseArg : NSObject + +#pragma mark - Instance fields + +/// Identity of user to remove/suspend/have their files moved. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user Identity of user to remove/suspend/have their files moved. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersDeactivateBaseArg` struct. +/// +@interface DBTEAMMembersDeactivateBaseArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersDeactivateBaseArg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersDeactivateBaseArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersDeactivateBaseArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateBaseArg *)instance; + +/// +/// Deserializes `DBTEAMMembersDeactivateBaseArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersDeactivateBaseArg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersDeactivateBaseArg` object. +/// ++ (DBTEAMMembersDeactivateBaseArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateError.h index a1b328c3c..7b8022be7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeactivateError.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersDeactivateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersDeactivateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersDeactivateErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersDeactivateErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersDeactivateErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersDeactivateErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersDeactivateErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersDeactivateErrorUserNotInTeam, - /// (no description). - DBTEAMMembersDeactivateErrorOther, + /// (no description). + DBTEAMMembersDeactivateErrorOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersDeactivateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersDeactivateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDeactivateError *)instance; /// /// Deserializes `DBTEAMMembersDeactivateError` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersDeactivateErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersDeactivateError` object. /// -+ (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersDeactivateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoArg.h new file mode 100644 index 000000000..7e507b172 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoArg.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersDeleteProfilePhotoArg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersDeleteProfilePhotoArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersDeleteProfilePhotoArg : NSObject + +#pragma mark - Instance fields + +/// Identity of the user whose profile photo will be deleted. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user Identity of the user whose profile photo will be deleted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersDeleteProfilePhotoArg` struct. +/// +@interface DBTEAMMembersDeleteProfilePhotoArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersDeleteProfilePhotoArg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersDeleteProfilePhotoArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersDeleteProfilePhotoArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDeleteProfilePhotoArg *)instance; + +/// +/// Deserializes `DBTEAMMembersDeleteProfilePhotoArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersDeleteProfilePhotoArg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersDeleteProfilePhotoArg` object. +/// ++ (DBTEAMMembersDeleteProfilePhotoArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoError.h new file mode 100644 index 000000000..d2c712b4e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersDeleteProfilePhotoError.h @@ -0,0 +1,165 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersDeleteProfilePhotoError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersDeleteProfilePhotoError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersDeleteProfilePhotoError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersDeleteProfilePhotoErrorTag` enum type represents the +/// possible tag states with which the `DBTEAMMembersDeleteProfilePhotoError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersDeleteProfilePhotoErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersDeleteProfilePhotoErrorUserNotFound, + + /// The user is not a member of the team. + DBTEAMMembersDeleteProfilePhotoErrorUserNotInTeam, + + /// Modifying deleted users is not allowed. + DBTEAMMembersDeleteProfilePhotoErrorSetProfileDisallowed, + + /// (no description). + DBTEAMMembersDeleteProfilePhotoErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersDeleteProfilePhotoErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_not_found". +/// +/// Description of the "user_not_found" tag state: No matching user found. The +/// provided team_member_id, email, or external_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotFound; + +/// +/// Initializes union class with tag state of "user_not_in_team". +/// +/// Description of the "user_not_in_team" tag state: The user is not a member of +/// the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotInTeam; + +/// +/// Initializes union class with tag state of "set_profile_disallowed". +/// +/// Description of the "set_profile_disallowed" tag state: Modifying deleted +/// users is not allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSetProfileDisallowed; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "user_not_found". +/// +/// @return Whether the union's current tag state has value "user_not_found". +/// +- (BOOL)isUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_in_team". +/// +/// @return Whether the union's current tag state has value "user_not_in_team". +/// +- (BOOL)isUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "set_profile_disallowed". +/// +/// @return Whether the union's current tag state has value +/// "set_profile_disallowed". +/// +- (BOOL)isSetProfileDisallowed; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersDeleteProfilePhotoError` +/// union. +/// +@interface DBTEAMMembersDeleteProfilePhotoErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersDeleteProfilePhotoError` instances. +/// +/// @param instance An instance of the `DBTEAMMembersDeleteProfilePhotoError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersDeleteProfilePhotoError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersDeleteProfilePhotoError *)instance; + +/// +/// Deserializes `DBTEAMMembersDeleteProfilePhotoError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersDeleteProfilePhotoError` API object. +/// +/// @return An instantiation of the `DBTEAMMembersDeleteProfilePhotoError` +/// object. +/// ++ (DBTEAMMembersDeleteProfilePhotoError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetAvailableTeamMemberRolesResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetAvailableTeamMemberRolesResult.h new file mode 100644 index 000000000..7754aeb60 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetAvailableTeamMemberRolesResult.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersGetAvailableTeamMemberRolesResult; +@class DBTEAMTeamMemberRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersGetAvailableTeamMemberRolesResult` struct. +/// +/// Available TeamMemberRole for the connected team. To be used with +/// `membersSetAdminPermissions`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersGetAvailableTeamMemberRolesResult : NSObject + +#pragma mark - Instance fields + +/// Available roles. +@property (nonatomic, readonly) NSArray *roles; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param roles Available roles. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRoles:(NSArray *)roles; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersGetAvailableTeamMemberRolesResult` +/// struct. +/// +@interface DBTEAMMembersGetAvailableTeamMemberRolesResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersGetAvailableTeamMemberRolesResult` instances. +/// +/// @param instance An instance of the +/// `DBTEAMMembersGetAvailableTeamMemberRolesResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersGetAvailableTeamMemberRolesResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetAvailableTeamMemberRolesResult *)instance; + +/// +/// Deserializes `DBTEAMMembersGetAvailableTeamMemberRolesResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersGetAvailableTeamMemberRolesResult` API object. +/// +/// @return An instantiation of the +/// `DBTEAMMembersGetAvailableTeamMemberRolesResult` object. +/// ++ (DBTEAMMembersGetAvailableTeamMemberRolesResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoArgs.h index 8137c2fc3..b72a30c73 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoArgs.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoArgs.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoArgs` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoArgs *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoArgs *)instance; /// /// Deserializes `DBTEAMMembersGetInfoArgs` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersGetInfoArgs` object. /// -+ (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersGetInfoArgs *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoError.h index f49ba336f..143e2e4d3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoError.h @@ -27,9 +27,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersGetInfoErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersGetInfoError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoErrorTag) { - /// (no description). - DBTEAMMembersGetInfoErrorOther, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersGetInfoErrorTag){ + /// (no description). + DBTEAMMembersGetInfoErrorOther, }; @@ -80,7 +80,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoError *)instance; /// /// Deserializes `DBTEAMMembersGetInfoError` instances. @@ -90,7 +90,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersGetInfoError` object. /// -+ (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersGetInfoError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItem.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItem.h index 2f8e6bda5..678a59586 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItem.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItem.h @@ -31,25 +31,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMMembersGetInfoItem` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoItemTag) { - /// An ID that was provided as a parameter to `membersGetInfo`, and did not - /// match a corresponding user. This might be a team_member_id, an email, or - /// an external ID, depending on how the method was called. - DBTEAMMembersGetInfoItemIdNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersGetInfoItemTag){ + /// An ID that was provided as a parameter to `membersGetInfo` or + /// `membersGetInfo`, and did not match a corresponding user. This might be + /// a team_member_id, an email, or an external ID, depending on how the + /// method was called. + DBTEAMMembersGetInfoItemIdNotFound, - /// Info about a team member. - DBTEAMMembersGetInfoItemMemberInfo, + /// Info about a team member. + DBTEAMMembersGetInfoItemMemberInfo, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMMembersGetInfoItemTag tag; -/// An ID that was provided as a parameter to `membersGetInfo`, and did not -/// match a corresponding user. This might be a team_member_id, an email, or an -/// external ID, depending on how the method was called. @note Ensure the -/// `isIdNotFound` method returns true before accessing, otherwise a runtime -/// exception will be raised. +/// An ID that was provided as a parameter to `membersGetInfo` or +/// `membersGetInfo`, and did not match a corresponding user. This might be a +/// team_member_id, an email, or an external ID, depending on how the method was +/// called. @note Ensure the `isIdNotFound` method returns true before +/// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *idNotFound; /// Info about a team member. @note Ensure the `isMemberInfo` method returns @@ -62,12 +63,12 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoItemTag) { /// Initializes union class with tag state of "id_not_found". /// /// Description of the "id_not_found" tag state: An ID that was provided as a -/// parameter to `membersGetInfo`, and did not match a corresponding user. This -/// might be a team_member_id, an email, or an external ID, depending on how the -/// method was called. +/// parameter to `membersGetInfo` or `membersGetInfo`, and did not match a +/// corresponding user. This might be a team_member_id, an email, or an external +/// ID, depending on how the method was called. /// -/// @param idNotFound An ID that was provided as a parameter to -/// `membersGetInfo`, and did not match a corresponding user. This might be a +/// @param idNotFound An ID that was provided as a parameter to `membersGetInfo` +/// or `membersGetInfo`, and did not match a corresponding user. This might be a /// team_member_id, an email, or an external ID, depending on how the method was /// called. /// @@ -134,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoItemTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersGetInfoItem` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoItem *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoItem *)instance; /// /// Deserializes `DBTEAMMembersGetInfoItem` instances. @@ -144,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersGetInfoItemTag) { /// /// @return An instantiation of the `DBTEAMMembersGetInfoItem` object. /// -+ (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersGetInfoItem *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemBase.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemBase.h new file mode 100644 index 000000000..b6bcd1384 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemBase.h @@ -0,0 +1,121 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersGetInfoItemBase; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersGetInfoItemBase` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersGetInfoItemBase : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersGetInfoItemBaseTag` enum type represents the possible tag +/// states with which the `DBTEAMMembersGetInfoItemBase` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersGetInfoItemBaseTag){ + /// An ID that was provided as a parameter to `membersGetInfo` or + /// `membersGetInfo`, and did not match a corresponding user. This might be + /// a team_member_id, an email, or an external ID, depending on how the + /// method was called. + DBTEAMMembersGetInfoItemBaseIdNotFound, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersGetInfoItemBaseTag tag; + +/// An ID that was provided as a parameter to `membersGetInfo` or +/// `membersGetInfo`, and did not match a corresponding user. This might be a +/// team_member_id, an email, or an external ID, depending on how the method was +/// called. @note Ensure the `isIdNotFound` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *idNotFound; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "id_not_found". +/// +/// Description of the "id_not_found" tag state: An ID that was provided as a +/// parameter to `membersGetInfo` or `membersGetInfo`, and did not match a +/// corresponding user. This might be a team_member_id, an email, or an external +/// ID, depending on how the method was called. +/// +/// @param idNotFound An ID that was provided as a parameter to `membersGetInfo` +/// or `membersGetInfo`, and did not match a corresponding user. This might be a +/// team_member_id, an email, or an external ID, depending on how the method was +/// called. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIdNotFound:(NSString *)idNotFound; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "id_not_found". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `idNotFound` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "id_not_found". +/// +- (BOOL)isIdNotFound; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersGetInfoItemBase` union. +/// +@interface DBTEAMMembersGetInfoItemBaseSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersGetInfoItemBase` instances. +/// +/// @param instance An instance of the `DBTEAMMembersGetInfoItemBase` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoItemBase` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoItemBase *)instance; + +/// +/// Deserializes `DBTEAMMembersGetInfoItemBase` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoItemBase` API object. +/// +/// @return An instantiation of the `DBTEAMMembersGetInfoItemBase` object. +/// ++ (DBTEAMMembersGetInfoItemBase *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemV2.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemV2.h new file mode 100644 index 000000000..19a23204f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoItemV2.h @@ -0,0 +1,169 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersGetInfoItemV2; +@class DBTEAMTeamMemberInfoV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersGetInfoItemV2` union. +/// +/// Describes a result obtained for a single user whose id was specified in the +/// parameter of `membersGetInfo`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersGetInfoItemV2 : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersGetInfoItemV2Tag` enum type represents the possible tag +/// states with which the `DBTEAMMembersGetInfoItemV2` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersGetInfoItemV2Tag){ + /// An ID that was provided as a parameter to `membersGetInfo` or + /// `membersGetInfo`, and did not match a corresponding user. This might be + /// a team_member_id, an email, or an external ID, depending on how the + /// method was called. + DBTEAMMembersGetInfoItemV2IdNotFound, + + /// Info about a team member. + DBTEAMMembersGetInfoItemV2MemberInfo, + + /// (no description). + DBTEAMMembersGetInfoItemV2Other, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersGetInfoItemV2Tag tag; + +/// An ID that was provided as a parameter to `membersGetInfo` or +/// `membersGetInfo`, and did not match a corresponding user. This might be a +/// team_member_id, an email, or an external ID, depending on how the method was +/// called. @note Ensure the `isIdNotFound` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *idNotFound; + +/// Info about a team member. @note Ensure the `isMemberInfo` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamMemberInfoV2 *memberInfo; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "id_not_found". +/// +/// Description of the "id_not_found" tag state: An ID that was provided as a +/// parameter to `membersGetInfo` or `membersGetInfo`, and did not match a +/// corresponding user. This might be a team_member_id, an email, or an external +/// ID, depending on how the method was called. +/// +/// @param idNotFound An ID that was provided as a parameter to `membersGetInfo` +/// or `membersGetInfo`, and did not match a corresponding user. This might be a +/// team_member_id, an email, or an external ID, depending on how the method was +/// called. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIdNotFound:(NSString *)idNotFound; + +/// +/// Initializes union class with tag state of "member_info". +/// +/// Description of the "member_info" tag state: Info about a team member. +/// +/// @param memberInfo Info about a team member. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfoV2 *)memberInfo; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "id_not_found". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `idNotFound` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "id_not_found". +/// +- (BOOL)isIdNotFound; + +/// +/// Retrieves whether the union's current tag state has value "member_info". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberInfo` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "member_info". +/// +- (BOOL)isMemberInfo; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersGetInfoItemV2` union. +/// +@interface DBTEAMMembersGetInfoItemV2Serializer : NSObject + +/// +/// Serializes `DBTEAMMembersGetInfoItemV2` instances. +/// +/// @param instance An instance of the `DBTEAMMembersGetInfoItemV2` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoItemV2` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoItemV2 *)instance; + +/// +/// Deserializes `DBTEAMMembersGetInfoItemV2` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoItemV2` API object. +/// +/// @return An instantiation of the `DBTEAMMembersGetInfoItemV2` object. +/// ++ (DBTEAMMembersGetInfoItemV2 *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Arg.h new file mode 100644 index 000000000..e9b8f8a79 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Arg.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersGetInfoV2Arg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersGetInfoV2Arg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersGetInfoV2Arg : NSObject + +#pragma mark - Instance fields + +/// List of team members. +@property (nonatomic, readonly) NSArray *members; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param members List of team members. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMembers:(NSArray *)members; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersGetInfoV2Arg` struct. +/// +@interface DBTEAMMembersGetInfoV2ArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersGetInfoV2Arg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersGetInfoV2Arg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoV2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoV2Arg *)instance; + +/// +/// Deserializes `DBTEAMMembersGetInfoV2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoV2Arg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersGetInfoV2Arg` object. +/// ++ (DBTEAMMembersGetInfoV2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Result.h new file mode 100644 index 000000000..b18562499 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersGetInfoV2Result.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersGetInfoItemV2; +@class DBTEAMMembersGetInfoV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersGetInfoV2Result` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersGetInfoV2Result : NSObject + +#pragma mark - Instance fields + +/// List of team members info. +@property (nonatomic, readonly) NSArray *membersInfo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param membersInfo List of team members info. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMembersInfo:(NSArray *)membersInfo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersGetInfoV2Result` struct. +/// +@interface DBTEAMMembersGetInfoV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersGetInfoV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMembersGetInfoV2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersGetInfoV2Result *)instance; + +/// +/// Deserializes `DBTEAMMembersGetInfoV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersGetInfoV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMembersGetInfoV2Result` object. +/// ++ (DBTEAMMembersGetInfoV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersInfo.h new file mode 100644 index 000000000..897a6c7c5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersInfo.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersInfo` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersInfo : NSObject + +#pragma mark - Instance fields + +/// Team member IDs of the users under this hold. +@property (nonatomic, readonly) NSArray *teamMemberIds; + +/// The number of permanently deleted users that were under this hold. +@property (nonatomic, readonly) NSNumber *permanentlyDeletedUsers; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamMemberIds Team member IDs of the users under this hold. +/// @param permanentlyDeletedUsers The number of permanently deleted users that +/// were under this hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMemberIds:(NSArray *)teamMemberIds + permanentlyDeletedUsers:(NSNumber *)permanentlyDeletedUsers; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersInfo` struct. +/// +@interface DBTEAMMembersInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersInfo` instances. +/// +/// @param instance An instance of the `DBTEAMMembersInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersInfo *)instance; + +/// +/// Deserializes `DBTEAMMembersInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersInfo` API object. +/// +/// @return An instantiation of the `DBTEAMMembersInfo` object. +/// ++ (DBTEAMMembersInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListArg.h index f6b282c04..e36da943f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListArg.h @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListArg *)instance; /// /// Deserializes `DBTEAMMembersListArg` instances. @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersListArg` object. /// -+ (DBTEAMMembersListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueArg.h index b04ff1dc3..8da14a435 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueArg *)instance; /// /// Deserializes `DBTEAMMembersListContinueArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersListContinueArg` object. /// -+ (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueError.h index 8940726be..b87ccebae 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListContinueError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersListContinueErrorTag` enum type represents the possible /// tag states with which the `DBTEAMMembersListContinueError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMMembersListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersListContinueErrorTag){ + /// The cursor is invalid. + DBTEAMMembersListContinueErrorInvalidCursor, - /// (no description). - DBTEAMMembersListContinueErrorOther, + /// (no description). + DBTEAMMembersListContinueErrorOther, }; @@ -100,7 +100,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListContinueError *)instance; /// /// Deserializes `DBTEAMMembersListContinueError` instances. @@ -110,7 +110,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersListContinueErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersListContinueError` object. /// -+ (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListError.h index 35afa1d7d..b183fd18f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListError.h @@ -27,9 +27,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersListErrorTag` enum type represents the possible tag states /// with which the `DBTEAMMembersListError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersListErrorTag) { - /// (no description). - DBTEAMMembersListErrorOther, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersListErrorTag){ + /// (no description). + DBTEAMMembersListErrorOther, }; @@ -80,7 +80,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersListErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersListError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListError *)instance; /// /// Deserializes `DBTEAMMembersListError` instances. @@ -90,7 +90,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersListErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersListError` object. /// -+ (DBTEAMMembersListError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersListError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListResult.h index b8124d885..8a8a7a0ca 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListResult.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListResult *)instance; /// /// Deserializes `DBTEAMMembersListResult` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersListResult` object. /// -+ (DBTEAMMembersListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListV2Result.h new file mode 100644 index 000000000..f5813a902 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersListV2Result.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersListV2Result; +@class DBTEAMTeamMemberInfoV2; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersListV2Result` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersListV2Result : NSObject + +#pragma mark - Instance fields + +/// List of team members. +@property (nonatomic, readonly) NSArray *members; + +/// Pass the cursor into `membersListContinue` to obtain the additional members. +@property (nonatomic, readonly, copy) NSString *cursor; + +/// Is true if there are additional team members that have not been returned +/// yet. An additional call to `membersListContinue` can retrieve them. +@property (nonatomic, readonly) NSNumber *hasMore; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param members List of team members. +/// @param cursor Pass the cursor into `membersListContinue` to obtain the +/// additional members. +/// @param hasMore Is true if there are additional team members that have not +/// been returned yet. An additional call to `membersListContinue` can retrieve +/// them. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMembers:(NSArray *)members + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersListV2Result` struct. +/// +@interface DBTEAMMembersListV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersListV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMembersListV2Result` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersListV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersListV2Result *)instance; + +/// +/// Deserializes `DBTEAMMembersListV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersListV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMembersListV2Result` object. +/// ++ (DBTEAMMembersListV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverArg.h index 67f76be69..97f595547 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverArg *)instance; /// /// Deserializes `DBTEAMMembersRecoverArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersRecoverArg` object. /// -+ (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersRecoverArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverError.h index 5e8315277..2f7ccc003 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRecoverError.h @@ -27,22 +27,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersRecoverErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersRecoverError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersRecoverErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersRecoverErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersRecoverErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersRecoverErrorUserNotFound, - /// The user is not recoverable. - DBTEAMMembersRecoverErrorUserUnrecoverable, + /// The user is not recoverable. + DBTEAMMembersRecoverErrorUserUnrecoverable, - /// The user is not a member of the team. - DBTEAMMembersRecoverErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersRecoverErrorUserNotInTeam, - /// Team is full. The organization has no available licenses. - DBTEAMMembersRecoverErrorTeamLicenseLimit, + /// Team is full. The organization has no available licenses. + DBTEAMMembersRecoverErrorTeamLicenseLimit, - /// (no description). - DBTEAMMembersRecoverErrorOther, + /// (no description). + DBTEAMMembersRecoverErrorOther, }; @@ -166,7 +166,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRecoverErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRecoverError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersRecoverError *)instance; /// /// Deserializes `DBTEAMMembersRecoverError` instances. @@ -176,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRecoverErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersRecoverError` object. /// -+ (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersRecoverError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h index 9211199d0..ec2a46fc6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveArg.h @@ -39,15 +39,23 @@ NS_ASSUME_NONNULL_BEGIN /// Downgrade the member to a Basic account. The user will retain the email /// address associated with their Dropbox account and data in their account /// that is not restricted to team members. In order to keep the account the -/// argument wipe_data should be set to False. +/// argument wipeData should be set to false. @property (nonatomic, readonly) NSNumber *keepAccount; +/// If provided, allows removed users to keep access to Dropbox folders (not +/// Dropbox Paper folders) already explicitly shared with them (not via a group) +/// when they are downgraded to a Basic account. Users will not retain access to +/// folders that do not allow external sharing. In order to keep the sharing +/// relationships, the arguments wipeData should be set to false and keepAccount +/// should be set to true. +@property (nonatomic, readonly) NSNumber *retainTeamShares; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param user Identity of user to remove/suspend. +/// @param user Identity of user to remove/suspend/have their files moved. /// @param wipeData If provided, controls if the user's data will be deleted on /// their linked devices. /// @param transferDestId If provided, files from the deleted member account @@ -58,7 +66,13 @@ NS_ASSUME_NONNULL_BEGIN /// @param keepAccount Downgrade the member to a Basic account. The user will /// retain the email address associated with their Dropbox account and data in /// their account that is not restricted to team members. In order to keep the -/// account the argument wipe_data should be set to False. +/// account the argument wipeData should be set to false. +/// @param retainTeamShares If provided, allows removed users to keep access to +/// Dropbox folders (not Dropbox Paper folders) already explicitly shared with +/// them (not via a group) when they are downgraded to a Basic account. Users +/// will not retain access to folders that do not allow external sharing. In +/// order to keep the sharing relationships, the arguments wipeData should be +/// set to false and keepAccount should be set to true. /// /// @return An initialized instance. /// @@ -66,13 +80,14 @@ NS_ASSUME_NONNULL_BEGIN wipeData:(nullable NSNumber *)wipeData transferDestId:(nullable DBTEAMUserSelectorArg *)transferDestId transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId - keepAccount:(nullable NSNumber *)keepAccount; + keepAccount:(nullable NSNumber *)keepAccount + retainTeamShares:(nullable NSNumber *)retainTeamShares; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param user Identity of user to remove/suspend. +/// @param user Identity of user to remove/suspend/have their files moved. /// /// @return An initialized instance. /// @@ -95,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveArg *)instance; /// /// Deserializes `DBTEAMMembersRemoveArg` instances. @@ -105,7 +120,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersRemoveArg` object. /// -+ (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersRemoveArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveError.h index c23f67c9a..35cd5edec 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersRemoveError.h @@ -27,55 +27,85 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersRemoveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersRemoveError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersRemoveErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersRemoveErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersRemoveErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersRemoveErrorUserNotInTeam, - /// (no description). - DBTEAMMembersRemoveErrorOther, + /// (no description). + DBTEAMMembersRemoveErrorOther, - /// The user is the last admin of the team, so it cannot be removed from it. - DBTEAMMembersRemoveErrorRemoveLastAdmin, + /// Expected removed user and transfer_dest user to be different. + DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer, - /// Expected removed user and transfer_dest user to be different. - DBTEAMMembersRemoveErrorRemovedAndTransferDestShouldDiffer, + /// Expected removed user and transfer_admin user to be different. + DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer, - /// Expected removed user and transfer_admin user to be different. - DBTEAMMembersRemoveErrorRemovedAndTransferAdminShouldDiffer, + /// No matching user found for the argument transfer_dest_id. + DBTEAMMembersRemoveErrorTransferDestUserNotFound, - /// No matching user found for the argument transfer_dest_id. - DBTEAMMembersRemoveErrorTransferDestUserNotFound, + /// The provided transfer_dest_id does not exist on this team. + DBTEAMMembersRemoveErrorTransferDestUserNotInTeam, - /// The provided transfer_dest_id does not exist on this team. - DBTEAMMembersRemoveErrorTransferDestUserNotInTeam, + /// The provided transfer_admin_id does not exist on this team. + DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam, - /// No matching user found for the argument transfer_admin_id. - DBTEAMMembersRemoveErrorTransferAdminUserNotFound, + /// No matching user found for the argument transfer_admin_id. + DBTEAMMembersRemoveErrorTransferAdminUserNotFound, - /// The provided transfer_admin_id does not exist on this team. - DBTEAMMembersRemoveErrorTransferAdminUserNotInTeam, + /// The transfer_admin_id argument must be provided when file transfer is + /// requested. + DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId, - /// The transfer_admin_id argument must be provided when file transfer is - /// requested. - DBTEAMMembersRemoveErrorUnspecifiedTransferAdminId, + /// Specified transfer_admin user is not a team admin. + DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin, - /// Specified transfer_admin user is not a team admin. - DBTEAMMembersRemoveErrorTransferAdminIsNotAdmin, + /// The recipient user's email is not verified. + DBTEAMMembersRemoveErrorRecipientNotVerified, - /// Cannot keep account and transfer the data to another user at the same - /// time. - DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer, + /// The user is the last admin of the team, so it cannot be removed from it. + DBTEAMMembersRemoveErrorRemoveLastAdmin, - /// Cannot keep account and delete the data at the same time. To keep the - /// account the argument wipe_data should be set to False. - DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData, + /// Cannot keep account and transfer the data to another user at the same + /// time. + DBTEAMMembersRemoveErrorCannotKeepAccountAndTransfer, - /// The email address of the user is too long to be disabled. - DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled, + /// Cannot keep account and delete the data at the same time. To keep the + /// account the argument wipe_data should be set to false. + DBTEAMMembersRemoveErrorCannotKeepAccountAndDeleteData, + + /// The email address of the user is too long to be disabled. + DBTEAMMembersRemoveErrorEmailAddressTooLongToBeDisabled, + + /// Cannot keep account of an invited user. + DBTEAMMembersRemoveErrorCannotKeepInvitedUserAccount, + + /// Cannot retain team shares when the user's data is marked for deletion on + /// their linked devices. The argument wipe_data should be set to false. + DBTEAMMembersRemoveErrorCannotRetainSharesWhenDataWiped, + + /// The user's account must be kept in order to retain team shares. The + /// argument keep_account should be set to true. + DBTEAMMembersRemoveErrorCannotRetainSharesWhenNoAccountKept, + + /// Externally sharing files, folders, and links must be enabled in team + /// settings in order to retain team shares for the user. + DBTEAMMembersRemoveErrorCannotRetainSharesWhenTeamExternalSharingOff, + + /// Only a team admin, can convert this account to a Basic account. + DBTEAMMembersRemoveErrorCannotKeepAccount, + + /// This user content is currently being held. To convert this member's + /// account to a Basic account, you'll first need to remove them from the + /// hold. + DBTEAMMembersRemoveErrorCannotKeepAccountUnderLegalHold, + + /// To convert this member to a Basic account, they'll first need to sign in + /// to Dropbox and agree to the terms of service. + DBTEAMMembersRemoveErrorCannotKeepAccountRequiredToSignTos, }; @@ -111,16 +141,6 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (instancetype)initWithOther; -/// -/// Initializes union class with tag state of "remove_last_admin". -/// -/// Description of the "remove_last_admin" tag state: The user is the last admin -/// of the team, so it cannot be removed from it. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithRemoveLastAdmin; - /// /// Initializes union class with tag state of /// "removed_and_transfer_dest_should_differ". @@ -164,24 +184,24 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { - (instancetype)initWithTransferDestUserNotInTeam; /// -/// Initializes union class with tag state of "transfer_admin_user_not_found". +/// Initializes union class with tag state of "transfer_admin_user_not_in_team". /// -/// Description of the "transfer_admin_user_not_found" tag state: No matching -/// user found for the argument transfer_admin_id. +/// Description of the "transfer_admin_user_not_in_team" tag state: The provided +/// transfer_admin_id does not exist on this team. /// /// @return An initialized instance. /// -- (instancetype)initWithTransferAdminUserNotFound; +- (instancetype)initWithTransferAdminUserNotInTeam; /// -/// Initializes union class with tag state of "transfer_admin_user_not_in_team". +/// Initializes union class with tag state of "transfer_admin_user_not_found". /// -/// Description of the "transfer_admin_user_not_in_team" tag state: The provided -/// transfer_admin_id does not exist on this team. +/// Description of the "transfer_admin_user_not_found" tag state: No matching +/// user found for the argument transfer_admin_id. /// /// @return An initialized instance. /// -- (instancetype)initWithTransferAdminUserNotInTeam; +- (instancetype)initWithTransferAdminUserNotFound; /// /// Initializes union class with tag state of "unspecified_transfer_admin_id". @@ -203,6 +223,26 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (instancetype)initWithTransferAdminIsNotAdmin; +/// +/// Initializes union class with tag state of "recipient_not_verified". +/// +/// Description of the "recipient_not_verified" tag state: The recipient user's +/// email is not verified. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRecipientNotVerified; + +/// +/// Initializes union class with tag state of "remove_last_admin". +/// +/// Description of the "remove_last_admin" tag state: The user is the last admin +/// of the team, so it cannot be removed from it. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemoveLastAdmin; + /// /// Initializes union class with tag state of /// "cannot_keep_account_and_transfer". @@ -220,7 +260,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// /// Description of the "cannot_keep_account_and_delete_data" tag state: Cannot /// keep account and delete the data at the same time. To keep the account the -/// argument wipe_data should be set to False. +/// argument wipe_data should be set to false. /// /// @return An initialized instance. /// @@ -237,6 +277,87 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (instancetype)initWithEmailAddressTooLongToBeDisabled; +/// +/// Initializes union class with tag state of +/// "cannot_keep_invited_user_account". +/// +/// Description of the "cannot_keep_invited_user_account" tag state: Cannot keep +/// account of an invited user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotKeepInvitedUserAccount; + +/// +/// Initializes union class with tag state of +/// "cannot_retain_shares_when_data_wiped". +/// +/// Description of the "cannot_retain_shares_when_data_wiped" tag state: Cannot +/// retain team shares when the user's data is marked for deletion on their +/// linked devices. The argument wipe_data should be set to false. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotRetainSharesWhenDataWiped; + +/// +/// Initializes union class with tag state of +/// "cannot_retain_shares_when_no_account_kept". +/// +/// Description of the "cannot_retain_shares_when_no_account_kept" tag state: +/// The user's account must be kept in order to retain team shares. The argument +/// keep_account should be set to true. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotRetainSharesWhenNoAccountKept; + +/// +/// Initializes union class with tag state of +/// "cannot_retain_shares_when_team_external_sharing_off". +/// +/// Description of the "cannot_retain_shares_when_team_external_sharing_off" tag +/// state: Externally sharing files, folders, and links must be enabled in team +/// settings in order to retain team shares for the user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotRetainSharesWhenTeamExternalSharingOff; + +/// +/// Initializes union class with tag state of "cannot_keep_account". +/// +/// Description of the "cannot_keep_account" tag state: Only a team admin, can +/// convert this account to a Basic account. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotKeepAccount; + +/// +/// Initializes union class with tag state of +/// "cannot_keep_account_under_legal_hold". +/// +/// Description of the "cannot_keep_account_under_legal_hold" tag state: This +/// user content is currently being held. To convert this member's account to a +/// Basic account, you'll first need to remove them from the hold. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotKeepAccountUnderLegalHold; + +/// +/// Initializes union class with tag state of +/// "cannot_keep_account_required_to_sign_tos". +/// +/// Description of the "cannot_keep_account_required_to_sign_tos" tag state: To +/// convert this member to a Basic account, they'll first need to sign in to +/// Dropbox and agree to the terms of service. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotKeepAccountRequiredToSignTos; + - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods @@ -263,14 +384,6 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (BOOL)isOther; -/// -/// Retrieves whether the union's current tag state has value -/// "remove_last_admin". -/// -/// @return Whether the union's current tag state has value "remove_last_admin". -/// -- (BOOL)isRemoveLastAdmin; - /// /// Retrieves whether the union's current tag state has value /// "removed_and_transfer_dest_should_differ". @@ -309,21 +422,21 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// /// Retrieves whether the union's current tag state has value -/// "transfer_admin_user_not_found". +/// "transfer_admin_user_not_in_team". /// /// @return Whether the union's current tag state has value -/// "transfer_admin_user_not_found". +/// "transfer_admin_user_not_in_team". /// -- (BOOL)isTransferAdminUserNotFound; +- (BOOL)isTransferAdminUserNotInTeam; /// /// Retrieves whether the union's current tag state has value -/// "transfer_admin_user_not_in_team". +/// "transfer_admin_user_not_found". /// /// @return Whether the union's current tag state has value -/// "transfer_admin_user_not_in_team". +/// "transfer_admin_user_not_found". /// -- (BOOL)isTransferAdminUserNotInTeam; +- (BOOL)isTransferAdminUserNotFound; /// /// Retrieves whether the union's current tag state has value @@ -343,6 +456,23 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (BOOL)isTransferAdminIsNotAdmin; +/// +/// Retrieves whether the union's current tag state has value +/// "recipient_not_verified". +/// +/// @return Whether the union's current tag state has value +/// "recipient_not_verified". +/// +- (BOOL)isRecipientNotVerified; + +/// +/// Retrieves whether the union's current tag state has value +/// "remove_last_admin". +/// +/// @return Whether the union's current tag state has value "remove_last_admin". +/// +- (BOOL)isRemoveLastAdmin; + /// /// Retrieves whether the union's current tag state has value /// "cannot_keep_account_and_transfer". @@ -370,6 +500,69 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// - (BOOL)isEmailAddressTooLongToBeDisabled; +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_keep_invited_user_account". +/// +/// @return Whether the union's current tag state has value +/// "cannot_keep_invited_user_account". +/// +- (BOOL)isCannotKeepInvitedUserAccount; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_retain_shares_when_data_wiped". +/// +/// @return Whether the union's current tag state has value +/// "cannot_retain_shares_when_data_wiped". +/// +- (BOOL)isCannotRetainSharesWhenDataWiped; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_retain_shares_when_no_account_kept". +/// +/// @return Whether the union's current tag state has value +/// "cannot_retain_shares_when_no_account_kept". +/// +- (BOOL)isCannotRetainSharesWhenNoAccountKept; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_retain_shares_when_team_external_sharing_off". +/// +/// @return Whether the union's current tag state has value +/// "cannot_retain_shares_when_team_external_sharing_off". +/// +- (BOOL)isCannotRetainSharesWhenTeamExternalSharingOff; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_keep_account". +/// +/// @return Whether the union's current tag state has value +/// "cannot_keep_account". +/// +- (BOOL)isCannotKeepAccount; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_keep_account_under_legal_hold". +/// +/// @return Whether the union's current tag state has value +/// "cannot_keep_account_under_legal_hold". +/// +- (BOOL)isCannotKeepAccountUnderLegalHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_keep_account_required_to_sign_tos". +/// +/// @return Whether the union's current tag state has value +/// "cannot_keep_account_required_to_sign_tos". +/// +- (BOOL)isCannotKeepAccountRequiredToSignTos; + /// /// Retrieves string value of union's current tag state. /// @@ -394,7 +587,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersRemoveError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersRemoveError *)instance; /// /// Deserializes `DBTEAMMembersRemoveError` instances. @@ -404,7 +597,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersRemoveErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersRemoveError` object. /// -+ (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersRemoveError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSendWelcomeError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSendWelcomeError.h index 8386d9a26..fc8a32c0d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSendWelcomeError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSendWelcomeError.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersSendWelcomeErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSendWelcomeError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersSendWelcomeErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersSendWelcomeErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSendWelcomeErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSendWelcomeErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersSendWelcomeErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersSendWelcomeErrorUserNotInTeam, - /// (no description). - DBTEAMMembersSendWelcomeErrorOther, + /// (no description). + DBTEAMMembersSendWelcomeErrorOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSendWelcomeErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSendWelcomeError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSendWelcomeError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSendWelcomeError *)instance; /// /// Deserializes `DBTEAMMembersSendWelcomeError` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSendWelcomeErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersSendWelcomeError` object. /// -+ (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSendWelcomeError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Arg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Arg.h new file mode 100644 index 000000000..4b6f97b3c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Arg.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersSetPermissions2Arg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersSetPermissions2Arg` struct. +/// +/// Exactly one of team_member_id, email, or external_id must be provided to +/// identify the user account. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersSetPermissions2Arg : NSObject + +#pragma mark - Instance fields + +/// Identity of user whose role will be set. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// The new roles for the member. Send empty list to make user member only. For +/// now, only up to one role is allowed. +@property (nonatomic, readonly, nullable) NSArray *dNewRoles; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user Identity of user whose role will be set. +/// @param dNewRoles The new roles for the member. Send empty list to make user +/// member only. For now, only up to one role is allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user dNewRoles:(nullable NSArray *)dNewRoles; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param user Identity of user whose role will be set. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersSetPermissions2Arg` struct. +/// +@interface DBTEAMMembersSetPermissions2ArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersSetPermissions2Arg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersSetPermissions2Arg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Arg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Arg *)instance; + +/// +/// Deserializes `DBTEAMMembersSetPermissions2Arg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Arg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersSetPermissions2Arg` object. +/// ++ (DBTEAMMembersSetPermissions2Arg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Error.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Error.h new file mode 100644 index 000000000..57b44ec1f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Error.h @@ -0,0 +1,205 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersSetPermissions2Error; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersSetPermissions2Error` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersSetPermissions2Error : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersSetPermissions2ErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMMembersSetPermissions2Error` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSetPermissions2ErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSetPermissions2ErrorUserNotFound, + + /// Cannot remove the admin setting of the last admin. + DBTEAMMembersSetPermissions2ErrorLastAdmin, + + /// The user is not a member of the team. + DBTEAMMembersSetPermissions2ErrorUserNotInTeam, + + /// Cannot remove/grant permissions. This can happen if the team member is + /// suspended. + DBTEAMMembersSetPermissions2ErrorCannotSetPermissions, + + /// No matching role found. At least one of the provided new_roles does not + /// exist on this team. + DBTEAMMembersSetPermissions2ErrorRoleNotFound, + + /// (no description). + DBTEAMMembersSetPermissions2ErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersSetPermissions2ErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_not_found". +/// +/// Description of the "user_not_found" tag state: No matching user found. The +/// provided team_member_id, email, or external_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotFound; + +/// +/// Initializes union class with tag state of "last_admin". +/// +/// Description of the "last_admin" tag state: Cannot remove the admin setting +/// of the last admin. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLastAdmin; + +/// +/// Initializes union class with tag state of "user_not_in_team". +/// +/// Description of the "user_not_in_team" tag state: The user is not a member of +/// the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotInTeam; + +/// +/// Initializes union class with tag state of "cannot_set_permissions". +/// +/// Description of the "cannot_set_permissions" tag state: Cannot remove/grant +/// permissions. This can happen if the team member is suspended. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCannotSetPermissions; + +/// +/// Initializes union class with tag state of "role_not_found". +/// +/// Description of the "role_not_found" tag state: No matching role found. At +/// least one of the provided new_roles does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRoleNotFound; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "user_not_found". +/// +/// @return Whether the union's current tag state has value "user_not_found". +/// +- (BOOL)isUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value "last_admin". +/// +/// @return Whether the union's current tag state has value "last_admin". +/// +- (BOOL)isLastAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_in_team". +/// +/// @return Whether the union's current tag state has value "user_not_in_team". +/// +- (BOOL)isUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "cannot_set_permissions". +/// +/// @return Whether the union's current tag state has value +/// "cannot_set_permissions". +/// +- (BOOL)isCannotSetPermissions; + +/// +/// Retrieves whether the union's current tag state has value "role_not_found". +/// +/// @return Whether the union's current tag state has value "role_not_found". +/// +- (BOOL)isRoleNotFound; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersSetPermissions2Error` union. +/// +@interface DBTEAMMembersSetPermissions2ErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersSetPermissions2Error` instances. +/// +/// @param instance An instance of the `DBTEAMMembersSetPermissions2Error` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Error` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Error *)instance; + +/// +/// Deserializes `DBTEAMMembersSetPermissions2Error` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Error` API object. +/// +/// @return An instantiation of the `DBTEAMMembersSetPermissions2Error` object. +/// ++ (DBTEAMMembersSetPermissions2Error *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Result.h new file mode 100644 index 000000000..3c3096759 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissions2Result.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersSetPermissions2Result; +@class DBTEAMTeamMemberRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersSetPermissions2Result` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersSetPermissions2Result : NSObject + +#pragma mark - Instance fields + +/// The member ID of the user to which the change was applied. +@property (nonatomic, readonly, copy) NSString *teamMemberId; + +/// The roles after the change. Empty in case the user become a non-admin. +@property (nonatomic, readonly, nullable) NSArray *roles; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamMemberId The member ID of the user to which the change was +/// applied. +/// @param roles The roles after the change. Empty in case the user become a +/// non-admin. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId roles:(nullable NSArray *)roles; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param teamMemberId The member ID of the user to which the change was +/// applied. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMemberId:(NSString *)teamMemberId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersSetPermissions2Result` struct. +/// +@interface DBTEAMMembersSetPermissions2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersSetPermissions2Result` instances. +/// +/// @param instance An instance of the `DBTEAMMembersSetPermissions2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissions2Result *)instance; + +/// +/// Deserializes `DBTEAMMembersSetPermissions2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersSetPermissions2Result` API object. +/// +/// @return An instantiation of the `DBTEAMMembersSetPermissions2Result` object. +/// ++ (DBTEAMMembersSetPermissions2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsArg.h index cfd441f01..704ff915c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsArg.h @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsArg *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsArg` instances. @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsArg` object. /// -+ (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSetPermissionsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsError.h index e2fddff6b..fbf9a909d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsError.h @@ -28,25 +28,25 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersSetPermissionsErrorTag` enum type represents the possible /// tag states with which the `DBTEAMMembersSetPermissionsError` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersSetPermissionsErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersSetPermissionsErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSetPermissionsErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSetPermissionsErrorUserNotFound, - /// Cannot remove the admin setting of the last admin. - DBTEAMMembersSetPermissionsErrorLastAdmin, + /// Cannot remove the admin setting of the last admin. + DBTEAMMembersSetPermissionsErrorLastAdmin, - /// The user is not a member of the team. - DBTEAMMembersSetPermissionsErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersSetPermissionsErrorUserNotInTeam, - /// Cannot remove/grant permissions. - DBTEAMMembersSetPermissionsErrorCannotSetPermissions, + /// Cannot remove/grant permissions. + DBTEAMMembersSetPermissionsErrorCannotSetPermissions, - /// Team is full. The organization has no available licenses. - DBTEAMMembersSetPermissionsErrorTeamLicenseLimit, + /// Team is full. The organization has no available licenses. + DBTEAMMembersSetPermissionsErrorTeamLicenseLimit, - /// (no description). - DBTEAMMembersSetPermissionsErrorOther, + /// (no description). + DBTEAMMembersSetPermissionsErrorOther, }; @@ -188,7 +188,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetPermissionsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsError *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsError` instances. @@ -198,7 +198,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetPermissionsErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsError` object. /// -+ (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSetPermissionsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsResult.h index 9683fedc4..ebbba37ba 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetPermissionsResult.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetPermissionsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetPermissionsResult *)instance; /// /// Deserializes `DBTEAMMembersSetPermissionsResult` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersSetPermissionsResult` object. /// -+ (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSetPermissionsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h index 2b2e80317..584934bb6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h @@ -49,6 +49,9 @@ NS_ASSUME_NONNULL_BEGIN /// SAML configuration. @property (nonatomic, readonly, copy, nullable) NSString *dNewPersistentId; +/// New value for whether the user is a directory restricted user. +@property (nonatomic, readonly, nullable) NSNumber *dNewIsDirectoryRestricted; + #pragma mark - Constructors /// @@ -61,15 +64,18 @@ NS_ASSUME_NONNULL_BEGIN /// @param dNewSurname New surname for member. /// @param dNewPersistentId New persistent ID. This field only available to /// teams using persistent ID SAML configuration. +/// @param dNewIsDirectoryRestricted New value for whether the user is a +/// directory restricted user. /// /// @return An initialized instance. /// - (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user - dNewEmail:(nullable NSString *)dNewEmail - dNewExternalId:(nullable NSString *)dNewExternalId - dNewGivenName:(nullable NSString *)dNewGivenName - dNewSurname:(nullable NSString *)dNewSurname - dNewPersistentId:(nullable NSString *)dNewPersistentId; + dNewEmail:(nullable NSString *)dNewEmail + dNewExternalId:(nullable NSString *)dNewExternalId + dNewGivenName:(nullable NSString *)dNewGivenName + dNewSurname:(nullable NSString *)dNewSurname + dNewPersistentId:(nullable NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(nullable NSNumber *)dNewIsDirectoryRestricted; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -100,7 +106,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileArg *)instance; /// /// Deserializes `DBTEAMMembersSetProfileArg` instances. @@ -110,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersSetProfileArg` object. /// -+ (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSetProfileArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileError.h index 46dd614aa..38d9342e7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileError.h @@ -27,42 +27,45 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersSetProfileErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSetProfileError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersSetProfileErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSetProfileErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersSetProfileErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersSetProfileErrorUserNotInTeam, - /// It is unsafe to use both external_id and new_external_id. - DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe, + /// It is unsafe to use both external_id and new_external_id. + DBTEAMMembersSetProfileErrorExternalIdAndNewExternalIdUnsafe, - /// None of new_email, new_given_name, new_surname, or new_external_id are - /// specified. - DBTEAMMembersSetProfileErrorNoNewDataSpecified, + /// None of new_email, new_given_name, new_surname, or new_external_id are + /// specified. + DBTEAMMembersSetProfileErrorNoNewDataSpecified, - /// Email is already reserved for another user. - DBTEAMMembersSetProfileErrorEmailReservedForOtherUser, + /// Email is already reserved for another user. + DBTEAMMembersSetProfileErrorEmailReservedForOtherUser, - /// The external ID is already in use by another team member. - DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser, + /// The external ID is already in use by another team member. + DBTEAMMembersSetProfileErrorExternalIdUsedByOtherUser, - /// Modifying deleted users is not allowed. - DBTEAMMembersSetProfileErrorSetProfileDisallowed, + /// Modifying deleted users is not allowed. + DBTEAMMembersSetProfileErrorSetProfileDisallowed, - /// Parameter new_email cannot be empty. - DBTEAMMembersSetProfileErrorParamCannotBeEmpty, + /// Parameter new_email cannot be empty. + DBTEAMMembersSetProfileErrorParamCannotBeEmpty, - /// Persistent ID is only available to teams with persistent ID SAML - /// configuration. Please contact Dropbox for more information. - DBTEAMMembersSetProfileErrorPersistentIdDisabled, + /// Persistent ID is only available to teams with persistent ID SAML + /// configuration. Please contact Dropbox for more information. + DBTEAMMembersSetProfileErrorPersistentIdDisabled, - /// The persistent ID is already in use by another team member. - DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser, + /// The persistent ID is already in use by another team member. + DBTEAMMembersSetProfileErrorPersistentIdUsedByOtherUser, - /// (no description). - DBTEAMMembersSetProfileErrorOther, + /// Directory Restrictions option is not available. + DBTEAMMembersSetProfileErrorDirectoryRestrictedOff, + + /// (no description). + DBTEAMMembersSetProfileErrorOther, }; @@ -174,6 +177,16 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag) { /// - (instancetype)initWithPersistentIdUsedByOtherUser; +/// +/// Initializes union class with tag state of "directory_restricted_off". +/// +/// Description of the "directory_restricted_off" tag state: Directory +/// Restrictions option is not available. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictedOff; + /// /// Initializes union class with tag state of "other". /// @@ -272,6 +285,15 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag) { /// - (BOOL)isPersistentIdUsedByOtherUser; +/// +/// Retrieves whether the union's current tag state has value +/// "directory_restricted_off". +/// +/// @return Whether the union's current tag state has value +/// "directory_restricted_off". +/// +- (BOOL)isDirectoryRestrictedOff; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -304,7 +326,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSetProfileError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfileError *)instance; /// /// Deserializes `DBTEAMMembersSetProfileError` instances. @@ -314,7 +336,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSetProfileErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersSetProfileError` object. /// -+ (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSetProfileError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoArg.h new file mode 100644 index 000000000..32ce652c6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoArg.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTPhotoSourceArg; +@class DBTEAMMembersSetProfilePhotoArg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersSetProfilePhotoArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersSetProfilePhotoArg : NSObject + +#pragma mark - Instance fields + +/// Identity of the user whose profile photo will be set. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// Image to set as the member's new profile photo. +@property (nonatomic, readonly) DBACCOUNTPhotoSourceArg *photo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user Identity of the user whose profile photo will be set. +/// @param photo Image to set as the member's new profile photo. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user photo:(DBACCOUNTPhotoSourceArg *)photo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MembersSetProfilePhotoArg` struct. +/// +@interface DBTEAMMembersSetProfilePhotoArgSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersSetProfilePhotoArg` instances. +/// +/// @param instance An instance of the `DBTEAMMembersSetProfilePhotoArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersSetProfilePhotoArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfilePhotoArg *)instance; + +/// +/// Deserializes `DBTEAMMembersSetProfilePhotoArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersSetProfilePhotoArg` API object. +/// +/// @return An instantiation of the `DBTEAMMembersSetProfilePhotoArg` object. +/// ++ (DBTEAMMembersSetProfilePhotoArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoError.h new file mode 100644 index 000000000..1e8338f47 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfilePhotoError.h @@ -0,0 +1,190 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBACCOUNTSetProfilePhotoError; +@class DBTEAMMembersSetProfilePhotoError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersSetProfilePhotoError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersSetProfilePhotoError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersSetProfilePhotoErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMMembersSetProfilePhotoError` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSetProfilePhotoErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSetProfilePhotoErrorUserNotFound, + + /// The user is not a member of the team. + DBTEAMMembersSetProfilePhotoErrorUserNotInTeam, + + /// Modifying deleted users is not allowed. + DBTEAMMembersSetProfilePhotoErrorSetProfileDisallowed, + + /// (no description). + DBTEAMMembersSetProfilePhotoErrorPhotoError, + + /// (no description). + DBTEAMMembersSetProfilePhotoErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersSetProfilePhotoErrorTag tag; + +/// (no description). @note Ensure the `isPhotoError` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBACCOUNTSetProfilePhotoError *photoError; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_not_found". +/// +/// Description of the "user_not_found" tag state: No matching user found. The +/// provided team_member_id, email, or external_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotFound; + +/// +/// Initializes union class with tag state of "user_not_in_team". +/// +/// Description of the "user_not_in_team" tag state: The user is not a member of +/// the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotInTeam; + +/// +/// Initializes union class with tag state of "set_profile_disallowed". +/// +/// Description of the "set_profile_disallowed" tag state: Modifying deleted +/// users is not allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSetProfileDisallowed; + +/// +/// Initializes union class with tag state of "photo_error". +/// +/// @param photoError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPhotoError:(DBACCOUNTSetProfilePhotoError *)photoError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "user_not_found". +/// +/// @return Whether the union's current tag state has value "user_not_found". +/// +- (BOOL)isUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_in_team". +/// +/// @return Whether the union's current tag state has value "user_not_in_team". +/// +- (BOOL)isUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "set_profile_disallowed". +/// +/// @return Whether the union's current tag state has value +/// "set_profile_disallowed". +/// +- (BOOL)isSetProfileDisallowed; + +/// +/// Retrieves whether the union's current tag state has value "photo_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `photoError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "photo_error". +/// +- (BOOL)isPhotoError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersSetProfilePhotoError` union. +/// +@interface DBTEAMMembersSetProfilePhotoErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersSetProfilePhotoError` instances. +/// +/// @param instance An instance of the `DBTEAMMembersSetProfilePhotoError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersSetProfilePhotoError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSetProfilePhotoError *)instance; + +/// +/// Deserializes `DBTEAMMembersSetProfilePhotoError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersSetProfilePhotoError` API object. +/// +/// @return An instantiation of the `DBTEAMMembersSetProfilePhotoError` object. +/// ++ (DBTEAMMembersSetProfilePhotoError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSuspendError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSuspendError.h index 68118a05d..cfeb639ef 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSuspendError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSuspendError.h @@ -27,25 +27,25 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersSuspendErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersSuspendError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersSuspendErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersSuspendErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersSuspendErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersSuspendErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersSuspendErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersSuspendErrorUserNotInTeam, - /// (no description). - DBTEAMMembersSuspendErrorOther, + /// (no description). + DBTEAMMembersSuspendErrorOther, - /// The user is not active, so it cannot be suspended. - DBTEAMMembersSuspendErrorSuspendInactiveUser, + /// The user is not active, so it cannot be suspended. + DBTEAMMembersSuspendErrorSuspendInactiveUser, - /// The user is the last admin of the team, so it cannot be suspended. - DBTEAMMembersSuspendErrorSuspendLastAdmin, + /// The user is the last admin of the team, so it cannot be suspended. + DBTEAMMembersSuspendErrorSuspendLastAdmin, - /// Team is full. The organization has no available licenses. - DBTEAMMembersSuspendErrorTeamLicenseLimit, + /// Team is full. The organization has no available licenses. + DBTEAMMembersSuspendErrorTeamLicenseLimit, }; @@ -188,7 +188,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSuspendErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersSuspendError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersSuspendError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersSuspendError *)instance; /// /// Deserializes `DBTEAMMembersSuspendError` instances. @@ -198,7 +198,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersSuspendErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersSuspendError` object. /// -+ (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersSuspendError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFilesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFilesError.h new file mode 100644 index 000000000..3955f92ce --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFilesError.h @@ -0,0 +1,341 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersTransferFilesError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersTransferFilesError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersTransferFilesError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersTransferFilesErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMMembersTransferFilesError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersTransferFilesErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersTransferFilesErrorUserNotFound, + + /// The user is not a member of the team. + DBTEAMMembersTransferFilesErrorUserNotInTeam, + + /// (no description). + DBTEAMMembersTransferFilesErrorOther, + + /// Expected removed user and transfer_dest user to be different. + DBTEAMMembersTransferFilesErrorRemovedAndTransferDestShouldDiffer, + + /// Expected removed user and transfer_admin user to be different. + DBTEAMMembersTransferFilesErrorRemovedAndTransferAdminShouldDiffer, + + /// No matching user found for the argument transfer_dest_id. + DBTEAMMembersTransferFilesErrorTransferDestUserNotFound, + + /// The provided transfer_dest_id does not exist on this team. + DBTEAMMembersTransferFilesErrorTransferDestUserNotInTeam, + + /// The provided transfer_admin_id does not exist on this team. + DBTEAMMembersTransferFilesErrorTransferAdminUserNotInTeam, + + /// No matching user found for the argument transfer_admin_id. + DBTEAMMembersTransferFilesErrorTransferAdminUserNotFound, + + /// The transfer_admin_id argument must be provided when file transfer is + /// requested. + DBTEAMMembersTransferFilesErrorUnspecifiedTransferAdminId, + + /// Specified transfer_admin user is not a team admin. + DBTEAMMembersTransferFilesErrorTransferAdminIsNotAdmin, + + /// The recipient user's email is not verified. + DBTEAMMembersTransferFilesErrorRecipientNotVerified, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersTransferFilesErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_not_found". +/// +/// Description of the "user_not_found" tag state: No matching user found. The +/// provided team_member_id, email, or external_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotFound; + +/// +/// Initializes union class with tag state of "user_not_in_team". +/// +/// Description of the "user_not_in_team" tag state: The user is not a member of +/// the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotInTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of +/// "removed_and_transfer_dest_should_differ". +/// +/// Description of the "removed_and_transfer_dest_should_differ" tag state: +/// Expected removed user and transfer_dest user to be different. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemovedAndTransferDestShouldDiffer; + +/// +/// Initializes union class with tag state of +/// "removed_and_transfer_admin_should_differ". +/// +/// Description of the "removed_and_transfer_admin_should_differ" tag state: +/// Expected removed user and transfer_admin user to be different. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemovedAndTransferAdminShouldDiffer; + +/// +/// Initializes union class with tag state of "transfer_dest_user_not_found". +/// +/// Description of the "transfer_dest_user_not_found" tag state: No matching +/// user found for the argument transfer_dest_id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferDestUserNotFound; + +/// +/// Initializes union class with tag state of "transfer_dest_user_not_in_team". +/// +/// Description of the "transfer_dest_user_not_in_team" tag state: The provided +/// transfer_dest_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferDestUserNotInTeam; + +/// +/// Initializes union class with tag state of "transfer_admin_user_not_in_team". +/// +/// Description of the "transfer_admin_user_not_in_team" tag state: The provided +/// transfer_admin_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminUserNotInTeam; + +/// +/// Initializes union class with tag state of "transfer_admin_user_not_found". +/// +/// Description of the "transfer_admin_user_not_found" tag state: No matching +/// user found for the argument transfer_admin_id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminUserNotFound; + +/// +/// Initializes union class with tag state of "unspecified_transfer_admin_id". +/// +/// Description of the "unspecified_transfer_admin_id" tag state: The +/// transfer_admin_id argument must be provided when file transfer is requested. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnspecifiedTransferAdminId; + +/// +/// Initializes union class with tag state of "transfer_admin_is_not_admin". +/// +/// Description of the "transfer_admin_is_not_admin" tag state: Specified +/// transfer_admin user is not a team admin. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminIsNotAdmin; + +/// +/// Initializes union class with tag state of "recipient_not_verified". +/// +/// Description of the "recipient_not_verified" tag state: The recipient user's +/// email is not verified. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRecipientNotVerified; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "user_not_found". +/// +/// @return Whether the union's current tag state has value "user_not_found". +/// +- (BOOL)isUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_in_team". +/// +/// @return Whether the union's current tag state has value "user_not_in_team". +/// +- (BOOL)isUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "removed_and_transfer_dest_should_differ". +/// +/// @return Whether the union's current tag state has value +/// "removed_and_transfer_dest_should_differ". +/// +- (BOOL)isRemovedAndTransferDestShouldDiffer; + +/// +/// Retrieves whether the union's current tag state has value +/// "removed_and_transfer_admin_should_differ". +/// +/// @return Whether the union's current tag state has value +/// "removed_and_transfer_admin_should_differ". +/// +- (BOOL)isRemovedAndTransferAdminShouldDiffer; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_dest_user_not_found". +/// +/// @return Whether the union's current tag state has value +/// "transfer_dest_user_not_found". +/// +- (BOOL)isTransferDestUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_dest_user_not_in_team". +/// +/// @return Whether the union's current tag state has value +/// "transfer_dest_user_not_in_team". +/// +- (BOOL)isTransferDestUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_user_not_in_team". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_user_not_in_team". +/// +- (BOOL)isTransferAdminUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_user_not_found". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_user_not_found". +/// +- (BOOL)isTransferAdminUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "unspecified_transfer_admin_id". +/// +/// @return Whether the union's current tag state has value +/// "unspecified_transfer_admin_id". +/// +- (BOOL)isUnspecifiedTransferAdminId; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_is_not_admin". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_is_not_admin". +/// +- (BOOL)isTransferAdminIsNotAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "recipient_not_verified". +/// +/// @return Whether the union's current tag state has value +/// "recipient_not_verified". +/// +- (BOOL)isRecipientNotVerified; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMMembersTransferFilesError` union. +/// +@interface DBTEAMMembersTransferFilesErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersTransferFilesError` instances. +/// +/// @param instance An instance of the `DBTEAMMembersTransferFilesError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersTransferFilesError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersTransferFilesError *)instance; + +/// +/// Deserializes `DBTEAMMembersTransferFilesError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersTransferFilesError` API object. +/// +/// @return An instantiation of the `DBTEAMMembersTransferFilesError` object. +/// ++ (DBTEAMMembersTransferFilesError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFormerMembersFilesError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFormerMembersFilesError.h new file mode 100644 index 000000000..8d2044a3d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersTransferFormerMembersFilesError.h @@ -0,0 +1,432 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMMembersTransferFormerMembersFilesError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MembersTransferFormerMembersFilesError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMMembersTransferFormerMembersFilesError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMMembersTransferFormerMembersFilesErrorTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMMembersTransferFormerMembersFilesError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersTransferFormerMembersFilesErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersTransferFormerMembersFilesErrorUserNotFound, + + /// The user is not a member of the team. + DBTEAMMembersTransferFormerMembersFilesErrorUserNotInTeam, + + /// (no description). + DBTEAMMembersTransferFormerMembersFilesErrorOther, + + /// Expected removed user and transfer_dest user to be different. + DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferDestShouldDiffer, + + /// Expected removed user and transfer_admin user to be different. + DBTEAMMembersTransferFormerMembersFilesErrorRemovedAndTransferAdminShouldDiffer, + + /// No matching user found for the argument transfer_dest_id. + DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotFound, + + /// The provided transfer_dest_id does not exist on this team. + DBTEAMMembersTransferFormerMembersFilesErrorTransferDestUserNotInTeam, + + /// The provided transfer_admin_id does not exist on this team. + DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotInTeam, + + /// No matching user found for the argument transfer_admin_id. + DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminUserNotFound, + + /// The transfer_admin_id argument must be provided when file transfer is + /// requested. + DBTEAMMembersTransferFormerMembersFilesErrorUnspecifiedTransferAdminId, + + /// Specified transfer_admin user is not a team admin. + DBTEAMMembersTransferFormerMembersFilesErrorTransferAdminIsNotAdmin, + + /// The recipient user's email is not verified. + DBTEAMMembersTransferFormerMembersFilesErrorRecipientNotVerified, + + /// The user's data is being transferred. Please wait some time before + /// retrying. + DBTEAMMembersTransferFormerMembersFilesErrorUserDataIsBeingTransferred, + + /// No matching removed user found for the argument user. + DBTEAMMembersTransferFormerMembersFilesErrorUserNotRemoved, + + /// User files aren't transferable anymore. + DBTEAMMembersTransferFormerMembersFilesErrorUserDataCannotBeTransferred, + + /// User's data has already been transferred to another user. + DBTEAMMembersTransferFormerMembersFilesErrorUserDataAlreadyTransferred, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMMembersTransferFormerMembersFilesErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "user_not_found". +/// +/// Description of the "user_not_found" tag state: No matching user found. The +/// provided team_member_id, email, or external_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotFound; + +/// +/// Initializes union class with tag state of "user_not_in_team". +/// +/// Description of the "user_not_in_team" tag state: The user is not a member of +/// the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotInTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of +/// "removed_and_transfer_dest_should_differ". +/// +/// Description of the "removed_and_transfer_dest_should_differ" tag state: +/// Expected removed user and transfer_dest user to be different. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemovedAndTransferDestShouldDiffer; + +/// +/// Initializes union class with tag state of +/// "removed_and_transfer_admin_should_differ". +/// +/// Description of the "removed_and_transfer_admin_should_differ" tag state: +/// Expected removed user and transfer_admin user to be different. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemovedAndTransferAdminShouldDiffer; + +/// +/// Initializes union class with tag state of "transfer_dest_user_not_found". +/// +/// Description of the "transfer_dest_user_not_found" tag state: No matching +/// user found for the argument transfer_dest_id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferDestUserNotFound; + +/// +/// Initializes union class with tag state of "transfer_dest_user_not_in_team". +/// +/// Description of the "transfer_dest_user_not_in_team" tag state: The provided +/// transfer_dest_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferDestUserNotInTeam; + +/// +/// Initializes union class with tag state of "transfer_admin_user_not_in_team". +/// +/// Description of the "transfer_admin_user_not_in_team" tag state: The provided +/// transfer_admin_id does not exist on this team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminUserNotInTeam; + +/// +/// Initializes union class with tag state of "transfer_admin_user_not_found". +/// +/// Description of the "transfer_admin_user_not_found" tag state: No matching +/// user found for the argument transfer_admin_id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminUserNotFound; + +/// +/// Initializes union class with tag state of "unspecified_transfer_admin_id". +/// +/// Description of the "unspecified_transfer_admin_id" tag state: The +/// transfer_admin_id argument must be provided when file transfer is requested. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnspecifiedTransferAdminId; + +/// +/// Initializes union class with tag state of "transfer_admin_is_not_admin". +/// +/// Description of the "transfer_admin_is_not_admin" tag state: Specified +/// transfer_admin user is not a team admin. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransferAdminIsNotAdmin; + +/// +/// Initializes union class with tag state of "recipient_not_verified". +/// +/// Description of the "recipient_not_verified" tag state: The recipient user's +/// email is not verified. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRecipientNotVerified; + +/// +/// Initializes union class with tag state of "user_data_is_being_transferred". +/// +/// Description of the "user_data_is_being_transferred" tag state: The user's +/// data is being transferred. Please wait some time before retrying. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserDataIsBeingTransferred; + +/// +/// Initializes union class with tag state of "user_not_removed". +/// +/// Description of the "user_not_removed" tag state: No matching removed user +/// found for the argument user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserNotRemoved; + +/// +/// Initializes union class with tag state of "user_data_cannot_be_transferred". +/// +/// Description of the "user_data_cannot_be_transferred" tag state: User files +/// aren't transferable anymore. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserDataCannotBeTransferred; + +/// +/// Initializes union class with tag state of "user_data_already_transferred". +/// +/// Description of the "user_data_already_transferred" tag state: User's data +/// has already been transferred to another user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserDataAlreadyTransferred; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "user_not_found". +/// +/// @return Whether the union's current tag state has value "user_not_found". +/// +- (BOOL)isUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_in_team". +/// +/// @return Whether the union's current tag state has value "user_not_in_team". +/// +- (BOOL)isUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "removed_and_transfer_dest_should_differ". +/// +/// @return Whether the union's current tag state has value +/// "removed_and_transfer_dest_should_differ". +/// +- (BOOL)isRemovedAndTransferDestShouldDiffer; + +/// +/// Retrieves whether the union's current tag state has value +/// "removed_and_transfer_admin_should_differ". +/// +/// @return Whether the union's current tag state has value +/// "removed_and_transfer_admin_should_differ". +/// +- (BOOL)isRemovedAndTransferAdminShouldDiffer; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_dest_user_not_found". +/// +/// @return Whether the union's current tag state has value +/// "transfer_dest_user_not_found". +/// +- (BOOL)isTransferDestUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_dest_user_not_in_team". +/// +/// @return Whether the union's current tag state has value +/// "transfer_dest_user_not_in_team". +/// +- (BOOL)isTransferDestUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_user_not_in_team". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_user_not_in_team". +/// +- (BOOL)isTransferAdminUserNotInTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_user_not_found". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_user_not_found". +/// +- (BOOL)isTransferAdminUserNotFound; + +/// +/// Retrieves whether the union's current tag state has value +/// "unspecified_transfer_admin_id". +/// +/// @return Whether the union's current tag state has value +/// "unspecified_transfer_admin_id". +/// +- (BOOL)isUnspecifiedTransferAdminId; + +/// +/// Retrieves whether the union's current tag state has value +/// "transfer_admin_is_not_admin". +/// +/// @return Whether the union's current tag state has value +/// "transfer_admin_is_not_admin". +/// +- (BOOL)isTransferAdminIsNotAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "recipient_not_verified". +/// +/// @return Whether the union's current tag state has value +/// "recipient_not_verified". +/// +- (BOOL)isRecipientNotVerified; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_data_is_being_transferred". +/// +/// @return Whether the union's current tag state has value +/// "user_data_is_being_transferred". +/// +- (BOOL)isUserDataIsBeingTransferred; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_not_removed". +/// +/// @return Whether the union's current tag state has value "user_not_removed". +/// +- (BOOL)isUserNotRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_data_cannot_be_transferred". +/// +/// @return Whether the union's current tag state has value +/// "user_data_cannot_be_transferred". +/// +- (BOOL)isUserDataCannotBeTransferred; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_data_already_transferred". +/// +/// @return Whether the union's current tag state has value +/// "user_data_already_transferred". +/// +- (BOOL)isUserDataAlreadyTransferred; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMMembersTransferFormerMembersFilesError` union. +/// +@interface DBTEAMMembersTransferFormerMembersFilesErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMMembersTransferFormerMembersFilesError` instances. +/// +/// @param instance An instance of the +/// `DBTEAMMembersTransferFormerMembersFilesError` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMMembersTransferFormerMembersFilesError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMMembersTransferFormerMembersFilesError *)instance; + +/// +/// Deserializes `DBTEAMMembersTransferFormerMembersFilesError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMMembersTransferFormerMembersFilesError` API object. +/// +/// @return An instantiation of the +/// `DBTEAMMembersTransferFormerMembersFilesError` object. +/// ++ (DBTEAMMembersTransferFormerMembersFilesError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendArg.h index 426c7cd8d..9dab5b8db 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendArg.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendArg *)instance; /// /// Deserializes `DBTEAMMembersUnsuspendArg` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMembersUnsuspendArg` object. /// -+ (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersUnsuspendArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendError.h index 332bd560c..b1fa93113 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersUnsuspendError.h @@ -27,22 +27,22 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMembersUnsuspendErrorTag` enum type represents the possible tag /// states with which the `DBTEAMMembersUnsuspendError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMembersUnsuspendErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMMembersUnsuspendErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMembersUnsuspendErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMMembersUnsuspendErrorUserNotFound, - /// The user is not a member of the team. - DBTEAMMembersUnsuspendErrorUserNotInTeam, + /// The user is not a member of the team. + DBTEAMMembersUnsuspendErrorUserNotInTeam, - /// (no description). - DBTEAMMembersUnsuspendErrorOther, + /// (no description). + DBTEAMMembersUnsuspendErrorOther, - /// The user is unsuspended, so it cannot be unsuspended again. - DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember, + /// The user is unsuspended, so it cannot be unsuspended again. + DBTEAMMembersUnsuspendErrorUnsuspendNonSuspendedMember, - /// Team is full. The organization has no available licenses. - DBTEAMMembersUnsuspendErrorTeamLicenseLimit, + /// Team is full. The organization has no available licenses. + DBTEAMMembersUnsuspendErrorTeamLicenseLimit, }; @@ -166,7 +166,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersUnsuspendErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMembersUnsuspendError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMembersUnsuspendError *)instance; /// /// Deserializes `DBTEAMMembersUnsuspendError` instances. @@ -176,7 +176,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMembersUnsuspendErrorTag) { /// /// @return An instantiation of the `DBTEAMMembersUnsuspendError` object. /// -+ (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMembersUnsuspendError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientPlatform.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientPlatform.h index 8252ced64..7dc653387 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientPlatform.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientPlatform.h @@ -27,24 +27,24 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMMobileClientPlatformTag` enum type represents the possible tag /// states with which the `DBTEAMMobileClientPlatform` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMMobileClientPlatformTag) { - /// Official Dropbox iPhone client. - DBTEAMMobileClientPlatformIphone, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMMobileClientPlatformTag){ + /// Official Dropbox iPhone client. + DBTEAMMobileClientPlatformIphone, - /// Official Dropbox iPad client. - DBTEAMMobileClientPlatformIpad, + /// Official Dropbox iPad client. + DBTEAMMobileClientPlatformIpad, - /// Official Dropbox Android client. - DBTEAMMobileClientPlatformAndroid, + /// Official Dropbox Android client. + DBTEAMMobileClientPlatformAndroid, - /// Official Dropbox Windows phone client. - DBTEAMMobileClientPlatformWindowsPhone, + /// Official Dropbox Windows phone client. + DBTEAMMobileClientPlatformWindowsPhone, - /// Official Dropbox Blackberry client. - DBTEAMMobileClientPlatformBlackberry, + /// Official Dropbox Blackberry client. + DBTEAMMobileClientPlatformBlackberry, - /// (no description). - DBTEAMMobileClientPlatformOther, + /// (no description). + DBTEAMMobileClientPlatformOther, }; @@ -177,7 +177,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMobileClientPlatformTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMMobileClientPlatform` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMobileClientPlatform *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMobileClientPlatform *)instance; /// /// Deserializes `DBTEAMMobileClientPlatform` instances. @@ -187,7 +187,7 @@ typedef NS_ENUM(NSInteger, DBTEAMMobileClientPlatformTag) { /// /// @return An instantiation of the `DBTEAMMobileClientPlatform` object. /// -+ (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMobileClientPlatform *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientSession.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientSession.h index 12a0a8e38..3be36045f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientSession.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMobileClientSession.h @@ -105,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMMobileClientSession` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMMobileClientSession *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMMobileClientSession *)instance; /// /// Deserializes `DBTEAMMobileClientSession` instances. @@ -115,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMMobileClientSession` object. /// -+ (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)dict; ++ (DBTEAMMobileClientSession *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceMetadata.h index 0fb1b4eb0..57656bc8b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceMetadata.h @@ -37,8 +37,8 @@ NS_ASSUME_NONNULL_BEGIN /// The type of this namespace. @property (nonatomic, readonly) DBTEAMNamespaceType *namespaceType; -/// If this is a team member folder, the ID of the team member. Otherwise, this -/// field is not present. +/// If this is a team member or app folder, the ID of the owning team member. +/// Otherwise, this field is not present. @property (nonatomic, readonly, copy, nullable) NSString *teamMemberId; #pragma mark - Constructors @@ -49,8 +49,8 @@ NS_ASSUME_NONNULL_BEGIN /// @param name The name of this namespace. /// @param namespaceId The ID of this namespace. /// @param namespaceType The type of this namespace. -/// @param teamMemberId If this is a team member folder, the ID of the team -/// member. Otherwise, this field is not present. +/// @param teamMemberId If this is a team member or app folder, the ID of the +/// owning team member. Otherwise, this field is not present. /// /// @return An initialized instance. /// @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMNamespaceMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMNamespaceMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMNamespaceMetadata *)instance; /// /// Deserializes `DBTEAMNamespaceMetadata` instances. @@ -102,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMNamespaceMetadata` object. /// -+ (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)dict; ++ (DBTEAMNamespaceMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceType.h index 56be8732d..45024e13c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMNamespaceType.h @@ -27,21 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMNamespaceTypeTag` enum type represents the possible tag states /// with which the `DBTEAMNamespaceType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMNamespaceTypeTag) { - /// App sandbox folder. - DBTEAMNamespaceTypeAppFolder, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMNamespaceTypeTag){ + /// App sandbox folder. + DBTEAMNamespaceTypeAppFolder, - /// Shared folder. - DBTEAMNamespaceTypeSharedFolder, + /// Shared folder. + DBTEAMNamespaceTypeSharedFolder, - /// Top-level team-owned folder. - DBTEAMNamespaceTypeTeamFolder, + /// Top-level team-owned folder. + DBTEAMNamespaceTypeTeamFolder, - /// Team member's home folder. - DBTEAMNamespaceTypeTeamMemberFolder, + /// Team member's home folder. + DBTEAMNamespaceTypeTeamMemberFolder, - /// (no description). - DBTEAMNamespaceTypeOther, + /// (no description). + DBTEAMNamespaceTypeOther, }; @@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBTEAMNamespaceTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMNamespaceType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMNamespaceType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMNamespaceType *)instance; /// /// Deserializes `DBTEAMNamespaceType` instances. @@ -169,7 +169,7 @@ typedef NS_ENUM(NSInteger, DBTEAMNamespaceTypeTag) { /// /// @return An instantiation of the `DBTEAMNamespaceType` object. /// -+ (DBTEAMNamespaceType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMNamespaceType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemoveCustomQuotaResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemoveCustomQuotaResult.h index 10f3946e4..312e0356e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemoveCustomQuotaResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemoveCustomQuotaResult.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRemoveCustomQuotaResultTag` enum type represents the possible tag /// states with which the `DBTEAMRemoveCustomQuotaResult` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRemoveCustomQuotaResultTag) { - /// Successfully removed user. - DBTEAMRemoveCustomQuotaResultSuccess, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRemoveCustomQuotaResultTag){ + /// Successfully removed user. + DBTEAMRemoveCustomQuotaResultSuccess, - /// Invalid user (not in team). - DBTEAMRemoveCustomQuotaResultInvalidUser, + /// Invalid user (not in team). + DBTEAMRemoveCustomQuotaResultInvalidUser, - /// (no description). - DBTEAMRemoveCustomQuotaResultOther, + /// (no description). + DBTEAMRemoveCustomQuotaResultOther, }; @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRemoveCustomQuotaResultTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRemoveCustomQuotaResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRemoveCustomQuotaResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRemoveCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMRemoveCustomQuotaResult` instances. @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRemoveCustomQuotaResultTag) { /// /// @return An instantiation of the `DBTEAMRemoveCustomQuotaResult` object. /// -+ (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRemoveCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemovedStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemovedStatus.h index e34132d02..964e63214 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemovedStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRemovedStatus.h @@ -28,16 +28,21 @@ NS_ASSUME_NONNULL_BEGIN /// True if the removed team member is recoverable. @property (nonatomic, readonly) NSNumber *isRecoverable; +/// True if the team member's account was converted to individual account. +@property (nonatomic, readonly) NSNumber *isDisconnected; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param isRecoverable True if the removed team member is recoverable. +/// @param isDisconnected True if the team member's account was converted to +/// individual account. /// /// @return An initialized instance. /// -- (instancetype)initWithIsRecoverable:(NSNumber *)isRecoverable; +- (instancetype)initWithIsRecoverable:(NSNumber *)isRecoverable isDisconnected:(NSNumber *)isDisconnected; - (instancetype)init NS_UNAVAILABLE; @@ -58,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRemovedStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRemovedStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRemovedStatus *)instance; /// /// Deserializes `DBTEAMRemovedStatus` instances. @@ -68,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRemovedStatus` object. /// -+ (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRemovedStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendSecondaryEmailResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendSecondaryEmailResult.h new file mode 100644 index 000000000..2d980cf4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendSecondaryEmailResult.h @@ -0,0 +1,198 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMResendSecondaryEmailResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResendSecondaryEmailResult` union. +/// +/// Result of trying to resend verification email to a secondary email address. +/// 'success' is the only value indicating that a verification email was +/// successfully sent. The other values explain the type of error that occurred, +/// and include the email for which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMResendSecondaryEmailResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMResendSecondaryEmailResultTag` enum type represents the possible +/// tag states with which the `DBTEAMResendSecondaryEmailResult` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMResendSecondaryEmailResultTag){ + /// A verification email was successfully sent to the secondary email + /// address. + DBTEAMResendSecondaryEmailResultSuccess, + + /// This secondary email address is not pending for the user. + DBTEAMResendSecondaryEmailResultNotPending, + + /// Too many emails are being sent to this email address. Please try again + /// later. + DBTEAMResendSecondaryEmailResultRateLimited, + + /// (no description). + DBTEAMResendSecondaryEmailResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMResendSecondaryEmailResultTag tag; + +/// A verification email was successfully sent to the secondary email address. +/// @note Ensure the `isSuccess` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *success; + +/// This secondary email address is not pending for the user. @note Ensure the +/// `isNotPending` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly, copy) NSString *notPending; + +/// Too many emails are being sent to this email address. Please try again +/// later. @note Ensure the `isRateLimited` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *rateLimited; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: A verification email was +/// successfully sent to the secondary email address. +/// +/// @param success A verification email was successfully sent to the secondary +/// email address. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(NSString *)success; + +/// +/// Initializes union class with tag state of "not_pending". +/// +/// Description of the "not_pending" tag state: This secondary email address is +/// not pending for the user. +/// +/// @param notPending This secondary email address is not pending for the user. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotPending:(NSString *)notPending; + +/// +/// Initializes union class with tag state of "rate_limited". +/// +/// Description of the "rate_limited" tag state: Too many emails are being sent +/// to this email address. Please try again later. +/// +/// @param rateLimited Too many emails are being sent to this email address. +/// Please try again later. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRateLimited:(NSString *)rateLimited; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "not_pending". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `notPending` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "not_pending". +/// +- (BOOL)isNotPending; + +/// +/// Retrieves whether the union's current tag state has value "rate_limited". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `rateLimited` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "rate_limited". +/// +- (BOOL)isRateLimited; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMResendSecondaryEmailResult` union. +/// +@interface DBTEAMResendSecondaryEmailResultSerializer : NSObject + +/// +/// Serializes `DBTEAMResendSecondaryEmailResult` instances. +/// +/// @param instance An instance of the `DBTEAMResendSecondaryEmailResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMResendSecondaryEmailResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMResendSecondaryEmailResult *)instance; + +/// +/// Deserializes `DBTEAMResendSecondaryEmailResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMResendSecondaryEmailResult` API object. +/// +/// @return An instantiation of the `DBTEAMResendSecondaryEmailResult` object. +/// ++ (DBTEAMResendSecondaryEmailResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailArg.h new file mode 100644 index 000000000..b7cb6c38e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailArg.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMResendVerificationEmailArg; +@class DBTEAMUserSecondaryEmailsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResendVerificationEmailArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMResendVerificationEmailArg : NSObject + +#pragma mark - Instance fields + +/// List of users and secondary emails to resend verification emails to. +@property (nonatomic, readonly) NSArray *emailsToResend; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param emailsToResend List of users and secondary emails to resend +/// verification emails to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailsToResend:(NSArray *)emailsToResend; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResendVerificationEmailArg` struct. +/// +@interface DBTEAMResendVerificationEmailArgSerializer : NSObject + +/// +/// Serializes `DBTEAMResendVerificationEmailArg` instances. +/// +/// @param instance An instance of the `DBTEAMResendVerificationEmailArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMResendVerificationEmailArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMResendVerificationEmailArg *)instance; + +/// +/// Deserializes `DBTEAMResendVerificationEmailArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMResendVerificationEmailArg` API object. +/// +/// @return An instantiation of the `DBTEAMResendVerificationEmailArg` object. +/// ++ (DBTEAMResendVerificationEmailArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailResult.h new file mode 100644 index 000000000..05431f030 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMResendVerificationEmailResult.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMResendVerificationEmailResult; +@class DBTEAMUserResendResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResendVerificationEmailResult` struct. +/// +/// List of users and resend results. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMResendVerificationEmailResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param results (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResults:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResendVerificationEmailResult` struct. +/// +@interface DBTEAMResendVerificationEmailResultSerializer : NSObject + +/// +/// Serializes `DBTEAMResendVerificationEmailResult` instances. +/// +/// @param instance An instance of the `DBTEAMResendVerificationEmailResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMResendVerificationEmailResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMResendVerificationEmailResult *)instance; + +/// +/// Deserializes `DBTEAMResendVerificationEmailResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMResendVerificationEmailResult` API object. +/// +/// @return An instantiation of the `DBTEAMResendVerificationEmailResult` +/// object. +/// ++ (DBTEAMResendVerificationEmailResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDesktopClientArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDesktopClientArg.h index 993422f59..9fc3a9dc8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDesktopClientArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDesktopClientArg.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDesktopClientArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDesktopClientArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDesktopClientArg *)instance; /// /// Deserializes `DBTEAMRevokeDesktopClientArg` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeDesktopClientArg` object. /// -+ (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDesktopClientArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionArg.h index 4a71f8423..63366d6cc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionArg.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRevokeDeviceSessionArgTag` enum type represents the possible tag /// states with which the `DBTEAMRevokeDeviceSessionArg` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionArgTag) { - /// End an active session. - DBTEAMRevokeDeviceSessionArgWebSession, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionArgTag){ + /// End an active session. + DBTEAMRevokeDeviceSessionArgWebSession, - /// Unlink a linked desktop device. - DBTEAMRevokeDeviceSessionArgDesktopClient, + /// Unlink a linked desktop device. + DBTEAMRevokeDeviceSessionArgDesktopClient, - /// Unlink a linked mobile device. - DBTEAMRevokeDeviceSessionArgMobileClient, + /// Unlink a linked mobile device. + DBTEAMRevokeDeviceSessionArgMobileClient, }; @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionArgTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionArg *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionArg` instances. @@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionArgTag) { /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionArg` object. /// -+ (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchArg.h index ace94eecb..d07713d60 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchArg *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchArg` object. /// -+ (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchError.h index aecfbfb14..de9fdc055 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchError.h @@ -28,9 +28,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRevokeDeviceSessionBatchErrorTag` enum type represents the /// possible tag states with which the `DBTEAMRevokeDeviceSessionBatchError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionBatchErrorTag) { - /// (no description). - DBTEAMRevokeDeviceSessionBatchErrorOther, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionBatchErrorTag){ + /// (no description). + DBTEAMRevokeDeviceSessionBatchErrorOther, }; @@ -82,7 +82,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchError *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchError` instances. @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionBatchErrorTag) { /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchError` /// object. /// -+ (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchResult.h index 8571593ab..c00aa68da 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionBatchResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionBatchResult *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionBatchResult` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMRevokeDeviceSessionBatchResult` /// object. /// -+ (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionError.h index 3eeda6510..1e5cd39d7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionError.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRevokeDeviceSessionErrorTag` enum type represents the possible /// tag states with which the `DBTEAMRevokeDeviceSessionError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionErrorTag) { - /// Device session not found. - DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeDeviceSessionErrorTag){ + /// Device session not found. + DBTEAMRevokeDeviceSessionErrorDeviceSessionNotFound, - /// Member not found. - DBTEAMRevokeDeviceSessionErrorMemberNotFound, + /// Member not found. + DBTEAMRevokeDeviceSessionErrorMemberNotFound, - /// (no description). - DBTEAMRevokeDeviceSessionErrorOther, + /// (no description). + DBTEAMRevokeDeviceSessionErrorOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionError *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionError` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeDeviceSessionErrorTag) { /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionError` object. /// -+ (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionStatus.h index ac63b9e0e..9a8362caa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeDeviceSessionStatus.h @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeDeviceSessionStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeDeviceSessionStatus *)instance; /// /// Deserializes `DBTEAMRevokeDeviceSessionStatus` instances. @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeDeviceSessionStatus` object. /// -+ (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeDeviceSessionStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppArg.h index 456d88ab3..ee941d5a0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppArg.h @@ -31,8 +31,8 @@ NS_ASSUME_NONNULL_BEGIN /// The unique id of the member owning the device. @property (nonatomic, readonly, copy) NSString *teamMemberId; -/// Whether to keep the application dedicated folder (in case the application -/// uses one). +/// This flag is not longer supported, the application dedicated folder (in case +/// the application uses one) will be kept. @property (nonatomic, readonly) NSNumber *keepAppFolder; #pragma mark - Constructors @@ -42,8 +42,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. -/// @param keepAppFolder Whether to keep the application dedicated folder (in -/// case the application uses one). +/// @param keepAppFolder This flag is not longer supported, the application +/// dedicated folder (in case the application uses one) will be kept. /// /// @return An initialized instance. /// @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppArg *)instance; /// /// Deserializes `DBTEAMRevokeLinkedApiAppArg` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeLinkedApiAppArg` object. /// -+ (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedApiAppArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppBatchArg.h index b8b70ca52..d3ffbd569 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedApiAppBatchArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedApiAppBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedApiAppBatchArg *)instance; /// /// Deserializes `DBTEAMRevokeLinkedApiAppBatchArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeLinkedApiAppBatchArg` object. /// -+ (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedApiAppBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchError.h index f306faf93..06bff1ec3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchError.h @@ -29,9 +29,9 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRevokeLinkedAppBatchErrorTag` enum type represents the possible /// tag states with which the `DBTEAMRevokeLinkedAppBatchError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppBatchErrorTag) { - /// (no description). - DBTEAMRevokeLinkedAppBatchErrorOther, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeLinkedAppBatchErrorTag){ + /// (no description). + DBTEAMRevokeLinkedAppBatchErrorOther, }; @@ -83,7 +83,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchError *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppBatchError` instances. @@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppBatchErrorTag) { /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppBatchError` object. /// -+ (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedAppBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchResult.h index 894244343..7da146976 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppBatchResult.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppBatchResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppBatchResult *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppBatchResult` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppBatchResult` object. /// -+ (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedAppBatchResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppError.h index ad998ac16..4b9c9200e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppError.h @@ -29,15 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMRevokeLinkedAppErrorTag` enum type represents the possible tag /// states with which the `DBTEAMRevokeLinkedAppError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag) { - /// Application not found. - DBTEAMRevokeLinkedAppErrorAppNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag){ + /// Application not found. + DBTEAMRevokeLinkedAppErrorAppNotFound, - /// Member not found. - DBTEAMRevokeLinkedAppErrorMemberNotFound, + /// Member not found. + DBTEAMRevokeLinkedAppErrorMemberNotFound, - /// (no description). - DBTEAMRevokeLinkedAppErrorOther, + /// App folder removal is not supported. + DBTEAMRevokeLinkedAppErrorAppFolderRemovalNotSupported, + + /// (no description). + DBTEAMRevokeLinkedAppErrorOther, }; @@ -64,6 +67,17 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag) { /// - (instancetype)initWithMemberNotFound; +/// +/// Initializes union class with tag state of +/// "app_folder_removal_not_supported". +/// +/// Description of the "app_folder_removal_not_supported" tag state: App folder +/// removal is not supported. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppFolderRemovalNotSupported; + /// /// Initializes union class with tag state of "other". /// @@ -90,6 +104,15 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag) { /// - (BOOL)isMemberNotFound; +/// +/// Retrieves whether the union's current tag state has value +/// "app_folder_removal_not_supported". +/// +/// @return Whether the union's current tag state has value +/// "app_folder_removal_not_supported". +/// +- (BOOL)isAppFolderRemovalNotSupported; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -121,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppError *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppError` instances. @@ -131,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBTEAMRevokeLinkedAppErrorTag) { /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppError` object. /// -+ (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedAppError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppStatus.h index fdbb4696b..4f68ca1da 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMRevokeLinkedAppStatus.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMRevokeLinkedAppStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMRevokeLinkedAppStatus *)instance; /// /// Deserializes `DBTEAMRevokeLinkedAppStatus` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMRevokeLinkedAppStatus` object. /// -+ (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMRevokeLinkedAppStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaArg.h index 01b3a8d6f..f9a68f453 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaArg *)instance; /// /// Deserializes `DBTEAMSetCustomQuotaArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMSetCustomQuotaArg` object. /// -+ (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMSetCustomQuotaArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaError.h index b4266ca9a..d0426c254 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSetCustomQuotaError.h @@ -29,16 +29,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMSetCustomQuotaErrorTag` enum type represents the possible tag /// states with which the `DBTEAMSetCustomQuotaError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMSetCustomQuotaErrorTag) { - /// A maximum of 1000 users can be set for a single call. - DBTEAMSetCustomQuotaErrorTooManyUsers, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMSetCustomQuotaErrorTag){ + /// A maximum of 1000 users can be set for a single call. + DBTEAMSetCustomQuotaErrorTooManyUsers, - /// (no description). - DBTEAMSetCustomQuotaErrorOther, + /// (no description). + DBTEAMSetCustomQuotaErrorOther, - /// Some of the users are on the excluded users list and can't have custom - /// quota set. - DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded, + /// Some of the users are on the excluded users list and can't have custom + /// quota set. + DBTEAMSetCustomQuotaErrorSomeUsersAreExcluded, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMSetCustomQuotaErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMSetCustomQuotaError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMSetCustomQuotaError *)instance; /// /// Deserializes `DBTEAMSetCustomQuotaError` instances. @@ -135,7 +135,7 @@ typedef NS_ENUM(NSInteger, DBTEAMSetCustomQuotaErrorTag) { /// /// @return An instantiation of the `DBTEAMSetCustomQuotaError` object. /// -+ (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMSetCustomQuotaError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddArgs.h new file mode 100644 index 000000000..ab15424b4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddArgs.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistAddArgs; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistAddArgs` struct. +/// +/// Structure representing Approve List entries. Domain and emails are +/// supported. At least one entry of any supported type is required. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistAddArgs : NSObject + +#pragma mark - Instance fields + +/// List of domains represented by valid string representation (RFC-1034/5). +@property (nonatomic, readonly, nullable) NSArray *domains; + +/// List of emails represented by valid string representation (RFC-5322/822). +@property (nonatomic, readonly, nullable) NSArray *emails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param domains List of domains represented by valid string representation +/// (RFC-1034/5). +/// @param emails List of emails represented by valid string representation +/// (RFC-5322/822). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomains:(nullable NSArray *)domains emails:(nullable NSArray *)emails; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistAddArgs` struct. +/// +@interface DBTEAMSharingAllowlistAddArgsSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistAddArgs` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistAddArgs` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddArgs` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistAddArgs *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistAddArgs` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddArgs` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistAddArgs` object. +/// ++ (DBTEAMSharingAllowlistAddArgs *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddError.h new file mode 100644 index 000000000..1c7f8a715 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddError.h @@ -0,0 +1,245 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistAddError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistAddError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistAddError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMSharingAllowlistAddErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMSharingAllowlistAddError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMSharingAllowlistAddErrorTag){ + /// One of provided values is not valid. + DBTEAMSharingAllowlistAddErrorMalformedEntry, + + /// Neither single domain nor email provided. + DBTEAMSharingAllowlistAddErrorNoEntriesProvided, + + /// Too many entries provided within one call. + DBTEAMSharingAllowlistAddErrorTooManyEntriesProvided, + + /// Team entries limit reached. + DBTEAMSharingAllowlistAddErrorTeamLimitReached, + + /// Unknown error. + DBTEAMSharingAllowlistAddErrorUnknownError, + + /// Entries already exists. + DBTEAMSharingAllowlistAddErrorEntriesAlreadyExist, + + /// (no description). + DBTEAMSharingAllowlistAddErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMSharingAllowlistAddErrorTag tag; + +/// One of provided values is not valid. @note Ensure the `isMalformedEntry` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly, copy) NSString *malformedEntry; + +/// Entries already exists. @note Ensure the `isEntriesAlreadyExist` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *entriesAlreadyExist; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "malformed_entry". +/// +/// Description of the "malformed_entry" tag state: One of provided values is +/// not valid. +/// +/// @param malformedEntry One of provided values is not valid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMalformedEntry:(NSString *)malformedEntry; + +/// +/// Initializes union class with tag state of "no_entries_provided". +/// +/// Description of the "no_entries_provided" tag state: Neither single domain +/// nor email provided. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoEntriesProvided; + +/// +/// Initializes union class with tag state of "too_many_entries_provided". +/// +/// Description of the "too_many_entries_provided" tag state: Too many entries +/// provided within one call. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyEntriesProvided; + +/// +/// Initializes union class with tag state of "team_limit_reached". +/// +/// Description of the "team_limit_reached" tag state: Team entries limit +/// reached. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamLimitReached; + +/// +/// Initializes union class with tag state of "unknown_error". +/// +/// Description of the "unknown_error" tag state: Unknown error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownError; + +/// +/// Initializes union class with tag state of "entries_already_exist". +/// +/// Description of the "entries_already_exist" tag state: Entries already +/// exists. +/// +/// @param entriesAlreadyExist Entries already exists. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntriesAlreadyExist:(NSString *)entriesAlreadyExist; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "malformed_entry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `malformedEntry` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "malformed_entry". +/// +- (BOOL)isMalformedEntry; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_entries_provided". +/// +/// @return Whether the union's current tag state has value +/// "no_entries_provided". +/// +- (BOOL)isNoEntriesProvided; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_entries_provided". +/// +/// @return Whether the union's current tag state has value +/// "too_many_entries_provided". +/// +- (BOOL)isTooManyEntriesProvided; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_limit_reached". +/// +/// @return Whether the union's current tag state has value +/// "team_limit_reached". +/// +- (BOOL)isTeamLimitReached; + +/// +/// Retrieves whether the union's current tag state has value "unknown_error". +/// +/// @return Whether the union's current tag state has value "unknown_error". +/// +- (BOOL)isUnknownError; + +/// +/// Retrieves whether the union's current tag state has value +/// "entries_already_exist". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `entriesAlreadyExist` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "entries_already_exist". +/// +- (BOOL)isEntriesAlreadyExist; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMSharingAllowlistAddError` union. +/// +@interface DBTEAMSharingAllowlistAddErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistAddError` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistAddError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistAddError *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistAddError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddError` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistAddError` object. +/// ++ (DBTEAMSharingAllowlistAddError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddResponse.h new file mode 100644 index 000000000..125826559 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistAddResponse.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistAddResponse; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistAddResponse` struct. +/// +/// This struct is empty. The comment here is intentionally emitted to avoid +/// indentation issues with Stone. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistAddResponse : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistAddResponse` struct. +/// +@interface DBTEAMSharingAllowlistAddResponseSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistAddResponse` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistAddResponse` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddResponse` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistAddResponse *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistAddResponse` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistAddResponse` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistAddResponse` object. +/// ++ (DBTEAMSharingAllowlistAddResponse *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListArg.h new file mode 100644 index 000000000..57dc74f98 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListArg.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistListArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistListArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistListArg : NSObject + +#pragma mark - Instance fields + +/// The number of entries to fetch at one time. +@property (nonatomic, readonly) NSNumber *limit; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param limit The number of entries to fetch at one time. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLimit:(nullable NSNumber *)limit; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistListArg` struct. +/// +@interface DBTEAMSharingAllowlistListArgSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistListArg` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistListArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistListArg *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistListArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListArg` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistListArg` object. +/// ++ (DBTEAMSharingAllowlistListArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueArg.h new file mode 100644 index 000000000..9ac5ba90f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueArg.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistListContinueArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistListContinueArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistListContinueArg : NSObject + +#pragma mark - Instance fields + +/// The cursor returned from a previous call to `sharingAllowlistList` or +/// `sharingAllowlistListContinue`. +@property (nonatomic, readonly, copy) NSString *cursor; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param cursor The cursor returned from a previous call to +/// `sharingAllowlistList` or `sharingAllowlistListContinue`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCursor:(NSString *)cursor; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistListContinueArg` struct. +/// +@interface DBTEAMSharingAllowlistListContinueArgSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistListContinueArg` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistListContinueArg` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListContinueArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueArg *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistListContinueArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListContinueArg` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistListContinueArg` +/// object. +/// ++ (DBTEAMSharingAllowlistListContinueArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueError.h new file mode 100644 index 000000000..57a80d7c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListContinueError.h @@ -0,0 +1,120 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistListContinueError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistListContinueError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistListContinueError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMSharingAllowlistListContinueErrorTag` enum type represents the +/// possible tag states with which the `DBTEAMSharingAllowlistListContinueError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMSharingAllowlistListContinueErrorTag){ + /// Provided cursor is not valid. + DBTEAMSharingAllowlistListContinueErrorInvalidCursor, + + /// (no description). + DBTEAMSharingAllowlistListContinueErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMSharingAllowlistListContinueErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "invalid_cursor". +/// +/// Description of the "invalid_cursor" tag state: Provided cursor is not valid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidCursor; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "invalid_cursor". +/// +/// @return Whether the union's current tag state has value "invalid_cursor". +/// +- (BOOL)isInvalidCursor; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMSharingAllowlistListContinueError` +/// union. +/// +@interface DBTEAMSharingAllowlistListContinueErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistListContinueError` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistListContinueError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListContinueError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistListContinueError *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistListContinueError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListContinueError` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistListContinueError` +/// object. +/// ++ (DBTEAMSharingAllowlistListContinueError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListError.h new file mode 100644 index 000000000..81dc647fd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListError.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistListError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistListError` struct. +/// +/// This struct is empty. The comment here is intentionally emitted to avoid +/// indentation issues with Stone. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistListError : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistListError` struct. +/// +@interface DBTEAMSharingAllowlistListErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistListError` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistListError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistListError *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistListError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListError` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistListError` object. +/// ++ (DBTEAMSharingAllowlistListError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListResponse.h new file mode 100644 index 000000000..4438da18c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistListResponse.h @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistListResponse; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistListResponse` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistListResponse : NSObject + +#pragma mark - Instance fields + +/// List of domains represented by valid string representation (RFC-1034/5). +@property (nonatomic, readonly) NSArray *domains; + +/// List of emails represented by valid string representation (RFC-5322/822). +@property (nonatomic, readonly) NSArray *emails; + +/// If this is nonempty, there are more entries that can be fetched with +/// `sharingAllowlistListContinue`. +@property (nonatomic, readonly, copy) NSString *cursor; + +/// if true indicates that more entries can be fetched with +/// `sharingAllowlistListContinue`. +@property (nonatomic, readonly) NSNumber *hasMore; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param domains List of domains represented by valid string representation +/// (RFC-1034/5). +/// @param emails List of emails represented by valid string representation +/// (RFC-5322/822). +/// @param cursor If this is nonempty, there are more entries that can be +/// fetched with `sharingAllowlistListContinue`. +/// @param hasMore if true indicates that more entries can be fetched with +/// `sharingAllowlistListContinue`. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomains:(NSArray *)domains + emails:(NSArray *)emails + cursor:(nullable NSString *)cursor + hasMore:(nullable NSNumber *)hasMore; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param domains List of domains represented by valid string representation +/// (RFC-1034/5). +/// @param emails List of emails represented by valid string representation +/// (RFC-5322/822). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomains:(NSArray *)domains emails:(NSArray *)emails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistListResponse` struct. +/// +@interface DBTEAMSharingAllowlistListResponseSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistListResponse` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistListResponse` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListResponse` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistListResponse *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistListResponse` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistListResponse` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistListResponse` object. +/// ++ (DBTEAMSharingAllowlistListResponse *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveArgs.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveArgs.h new file mode 100644 index 000000000..0c189adb9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveArgs.h @@ -0,0 +1,91 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistRemoveArgs; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistRemoveArgs` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistRemoveArgs : NSObject + +#pragma mark - Instance fields + +/// List of domains represented by valid string representation (RFC-1034/5). +@property (nonatomic, readonly, nullable) NSArray *domains; + +/// List of emails represented by valid string representation (RFC-5322/822). +@property (nonatomic, readonly, nullable) NSArray *emails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param domains List of domains represented by valid string representation +/// (RFC-1034/5). +/// @param emails List of emails represented by valid string representation +/// (RFC-5322/822). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomains:(nullable NSArray *)domains emails:(nullable NSArray *)emails; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistRemoveArgs` struct. +/// +@interface DBTEAMSharingAllowlistRemoveArgsSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistRemoveArgs` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistRemoveArgs` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveArgs` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveArgs *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistRemoveArgs` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveArgs` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistRemoveArgs` object. +/// ++ (DBTEAMSharingAllowlistRemoveArgs *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveError.h new file mode 100644 index 000000000..2bd329a3f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveError.h @@ -0,0 +1,224 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistRemoveError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistRemoveError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistRemoveError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMSharingAllowlistRemoveErrorTag` enum type represents the possible +/// tag states with which the `DBTEAMSharingAllowlistRemoveError` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMSharingAllowlistRemoveErrorTag){ + /// One of provided values is not valid. + DBTEAMSharingAllowlistRemoveErrorMalformedEntry, + + /// One or more provided values do not exist. + DBTEAMSharingAllowlistRemoveErrorEntriesDoNotExist, + + /// Neither single domain nor email provided. + DBTEAMSharingAllowlistRemoveErrorNoEntriesProvided, + + /// Too many entries provided within one call. + DBTEAMSharingAllowlistRemoveErrorTooManyEntriesProvided, + + /// Unknown error. + DBTEAMSharingAllowlistRemoveErrorUnknownError, + + /// (no description). + DBTEAMSharingAllowlistRemoveErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMSharingAllowlistRemoveErrorTag tag; + +/// One of provided values is not valid. @note Ensure the `isMalformedEntry` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly, copy) NSString *malformedEntry; + +/// One or more provided values do not exist. @note Ensure the +/// `isEntriesDoNotExist` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly, copy) NSString *entriesDoNotExist; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "malformed_entry". +/// +/// Description of the "malformed_entry" tag state: One of provided values is +/// not valid. +/// +/// @param malformedEntry One of provided values is not valid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMalformedEntry:(NSString *)malformedEntry; + +/// +/// Initializes union class with tag state of "entries_do_not_exist". +/// +/// Description of the "entries_do_not_exist" tag state: One or more provided +/// values do not exist. +/// +/// @param entriesDoNotExist One or more provided values do not exist. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEntriesDoNotExist:(NSString *)entriesDoNotExist; + +/// +/// Initializes union class with tag state of "no_entries_provided". +/// +/// Description of the "no_entries_provided" tag state: Neither single domain +/// nor email provided. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoEntriesProvided; + +/// +/// Initializes union class with tag state of "too_many_entries_provided". +/// +/// Description of the "too_many_entries_provided" tag state: Too many entries +/// provided within one call. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooManyEntriesProvided; + +/// +/// Initializes union class with tag state of "unknown_error". +/// +/// Description of the "unknown_error" tag state: Unknown error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknownError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "malformed_entry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `malformedEntry` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "malformed_entry". +/// +- (BOOL)isMalformedEntry; + +/// +/// Retrieves whether the union's current tag state has value +/// "entries_do_not_exist". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `entriesDoNotExist` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "entries_do_not_exist". +/// +- (BOOL)isEntriesDoNotExist; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_entries_provided". +/// +/// @return Whether the union's current tag state has value +/// "no_entries_provided". +/// +- (BOOL)isNoEntriesProvided; + +/// +/// Retrieves whether the union's current tag state has value +/// "too_many_entries_provided". +/// +/// @return Whether the union's current tag state has value +/// "too_many_entries_provided". +/// +- (BOOL)isTooManyEntriesProvided; + +/// +/// Retrieves whether the union's current tag state has value "unknown_error". +/// +/// @return Whether the union's current tag state has value "unknown_error". +/// +- (BOOL)isUnknownError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMSharingAllowlistRemoveError` union. +/// +@interface DBTEAMSharingAllowlistRemoveErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistRemoveError` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistRemoveError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveError *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistRemoveError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveError` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistRemoveError` object. +/// ++ (DBTEAMSharingAllowlistRemoveError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveResponse.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveResponse.h new file mode 100644 index 000000000..e2fb89b19 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMSharingAllowlistRemoveResponse.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMSharingAllowlistRemoveResponse; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingAllowlistRemoveResponse` struct. +/// +/// This struct is empty. The comment here is intentionally emitted to avoid +/// indentation issues with Stone. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMSharingAllowlistRemoveResponse : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingAllowlistRemoveResponse` struct. +/// +@interface DBTEAMSharingAllowlistRemoveResponseSerializer : NSObject + +/// +/// Serializes `DBTEAMSharingAllowlistRemoveResponse` instances. +/// +/// @param instance An instance of the `DBTEAMSharingAllowlistRemoveResponse` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveResponse` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMSharingAllowlistRemoveResponse *)instance; + +/// +/// Deserializes `DBTEAMSharingAllowlistRemoveResponse` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMSharingAllowlistRemoveResponse` API object. +/// +/// @return An instantiation of the `DBTEAMSharingAllowlistRemoveResponse` +/// object. +/// ++ (DBTEAMSharingAllowlistRemoveResponse *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMStorageBucket.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMStorageBucket.h index bc943f3c7..aa8cad89d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMStorageBucket.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMStorageBucket.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMStorageBucket` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMStorageBucket *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMStorageBucket *)instance; /// /// Deserializes `DBTEAMStorageBucket` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMStorageBucket` object. /// -+ (DBTEAMStorageBucket *)deserialize:(NSDictionary *)dict; ++ (DBTEAMStorageBucket *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderAccessError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderAccessError.h index 817aa307a..f000597f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderAccessError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderAccessError.h @@ -27,16 +27,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderAccessErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderAccessError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderAccessErrorTag) { - /// The team folder ID is invalid. - DBTEAMTeamFolderAccessErrorInvalidTeamFolderId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderAccessErrorTag){ + /// The team folder ID is invalid. + DBTEAMTeamFolderAccessErrorInvalidTeamFolderId, - /// The authenticated app does not have permission to manage that team - /// folder. - DBTEAMTeamFolderAccessErrorNoAccess, + /// The authenticated app does not have permission to manage that team + /// folder. + DBTEAMTeamFolderAccessErrorNoAccess, - /// (no description). - DBTEAMTeamFolderAccessErrorOther, + /// (no description). + DBTEAMTeamFolderAccessErrorOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderAccessErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderAccessError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderAccessError *)instance; /// /// Deserializes `DBTEAMTeamFolderAccessError` instances. @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderAccessErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderAccessError` object. /// -+ (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderAccessError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderActivateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderActivateError.h index cd54e8509..45faaea68 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderActivateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderActivateError.h @@ -30,18 +30,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderActivateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderActivateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderActivateErrorTag) { - /// (no description). - DBTEAMTeamFolderActivateErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderActivateErrorTag){ + /// (no description). + DBTEAMTeamFolderActivateErrorAccessError, - /// (no description). - DBTEAMTeamFolderActivateErrorStatusError, + /// (no description). + DBTEAMTeamFolderActivateErrorStatusError, - /// (no description). - DBTEAMTeamFolderActivateErrorTeamSharedDropboxError, + /// (no description). + DBTEAMTeamFolderActivateErrorTeamSharedDropboxError, - /// (no description). - DBTEAMTeamFolderActivateErrorOther, + /// (no description). + DBTEAMTeamFolderActivateErrorOther, }; @@ -165,7 +165,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderActivateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderActivateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderActivateError *)instance; /// /// Deserializes `DBTEAMTeamFolderActivateError` instances. @@ -175,7 +175,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderActivateErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderActivateError` object. /// -+ (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderActivateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveArg.h index f69556c84..2692e9a34 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveArg.h @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveArg *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveArg` instances. @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveArg` object. /// -+ (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderArchiveArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveError.h index 70d1154d9..18c41785f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveError.h @@ -30,18 +30,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderArchiveErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderArchiveError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveErrorTag) { - /// (no description). - DBTEAMTeamFolderArchiveErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderArchiveErrorTag){ + /// (no description). + DBTEAMTeamFolderArchiveErrorAccessError, - /// (no description). - DBTEAMTeamFolderArchiveErrorStatusError, + /// (no description). + DBTEAMTeamFolderArchiveErrorStatusError, - /// (no description). - DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError, + /// (no description). + DBTEAMTeamFolderArchiveErrorTeamSharedDropboxError, - /// (no description). - DBTEAMTeamFolderArchiveErrorOther, + /// (no description). + DBTEAMTeamFolderArchiveErrorOther, }; @@ -165,7 +165,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveError *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveError` instances. @@ -175,7 +175,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveError` object. /// -+ (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderArchiveError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveJobStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveJobStatus.h index bf65f1765..dd3f438c1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveJobStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveJobStatus.h @@ -30,17 +30,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderArchiveJobStatusTag` enum type represents the possible /// tag states with which the `DBTEAMTeamFolderArchiveJobStatus` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveJobStatusTag) { - /// The asynchronous job is still in progress. - DBTEAMTeamFolderArchiveJobStatusInProgress, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderArchiveJobStatusTag){ + /// The asynchronous job is still in progress. + DBTEAMTeamFolderArchiveJobStatusInProgress, - /// The archive job has finished. The value is the metadata for the - /// resulting team folder. - DBTEAMTeamFolderArchiveJobStatusComplete, + /// The archive job has finished. The value is the metadata for the + /// resulting team folder. + DBTEAMTeamFolderArchiveJobStatusComplete, - /// Error occurred while performing an asynchronous job from - /// `teamFolderArchive`. - DBTEAMTeamFolderArchiveJobStatusFailed, + /// Error occurred while performing an asynchronous job from + /// `teamFolderArchive`. + DBTEAMTeamFolderArchiveJobStatusFailed, }; @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveJobStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveJobStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveJobStatus *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveJobStatus` instances. @@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveJobStatusTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveJobStatus` object. /// -+ (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderArchiveJobStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveLaunch.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveLaunch.h index aafb497da..4ea866ca4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveLaunch.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderArchiveLaunch.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderArchiveLaunchTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderArchiveLaunch` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveLaunchTag) { - /// This response indicates that the processing is asynchronous. The string - /// is an id that can be used to obtain the status of the asynchronous job. - DBTEAMTeamFolderArchiveLaunchAsyncJobId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderArchiveLaunchTag){ + /// This response indicates that the processing is asynchronous. The string + /// is an id that can be used to obtain the status of the asynchronous job. + DBTEAMTeamFolderArchiveLaunchAsyncJobId, - /// (no description). - DBTEAMTeamFolderArchiveLaunchComplete, + /// (no description). + DBTEAMTeamFolderArchiveLaunchComplete, }; @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveLaunchTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderArchiveLaunch` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderArchiveLaunch *)instance; /// /// Deserializes `DBTEAMTeamFolderArchiveLaunch` instances. @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderArchiveLaunchTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderArchiveLaunch` object. /// -+ (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderArchiveLaunch *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateArg.h index c4398ef67..35939bb57 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateArg.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBFILESSyncSettingArg; @class DBTEAMTeamFolderCreateArg; NS_ASSUME_NONNULL_BEGIN @@ -28,12 +29,28 @@ NS_ASSUME_NONNULL_BEGIN /// Name for the new team folder. @property (nonatomic, readonly, copy) NSString *name; +/// The sync setting to apply to this team folder. Only permitted if the team +/// has team selective sync enabled. +@property (nonatomic, readonly, nullable) DBFILESSyncSettingArg *syncSetting; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param name Name for the new team folder. +/// @param syncSetting The sync setting to apply to this team folder. Only +/// permitted if the team has team selective sync enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name syncSetting:(nullable DBFILESSyncSettingArg *)syncSetting; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param name Name for the new team folder. /// /// @return An initialized instance. /// @@ -58,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateArg *)instance; /// /// Deserializes `DBTEAMTeamFolderCreateArg` instances. @@ -68,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderCreateArg` object. /// -+ (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderCreateArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateError.h index cbb0f9d12..bd4263f40 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderCreateError.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBFILESSyncSettingsError; @class DBTEAMTeamFolderCreateError; NS_ASSUME_NONNULL_BEGIN @@ -27,24 +28,32 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderCreateErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderCreateError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag) { - /// The provided name cannot be used. - DBTEAMTeamFolderCreateErrorInvalidFolderName, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag){ + /// The provided name cannot be used. + DBTEAMTeamFolderCreateErrorInvalidFolderName, - /// There is already a team folder with the provided name. - DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed, + /// There is already a team folder with the provided name. + DBTEAMTeamFolderCreateErrorFolderNameAlreadyUsed, - /// The provided name cannot be used because it is reserved. - DBTEAMTeamFolderCreateErrorFolderNameReserved, + /// The provided name cannot be used because it is reserved. + DBTEAMTeamFolderCreateErrorFolderNameReserved, - /// (no description). - DBTEAMTeamFolderCreateErrorOther, + /// An error occurred setting the sync settings. + DBTEAMTeamFolderCreateErrorSyncSettingsError, + + /// (no description). + DBTEAMTeamFolderCreateErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMTeamFolderCreateErrorTag tag; +/// An error occurred setting the sync settings. @note Ensure the +/// `isSyncSettingsError` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBFILESSyncSettingsError *syncSettingsError; + #pragma mark - Constructors /// @@ -77,6 +86,18 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag) { /// - (instancetype)initWithFolderNameReserved; +/// +/// Initializes union class with tag state of "sync_settings_error". +/// +/// Description of the "sync_settings_error" tag state: An error occurred +/// setting the sync settings. +/// +/// @param syncSettingsError An error occurred setting the sync settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSyncSettingsError:(DBFILESSyncSettingsError *)syncSettingsError; + /// /// Initializes union class with tag state of "other". /// @@ -115,6 +136,18 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag) { /// - (BOOL)isFolderNameReserved; +/// +/// Retrieves whether the union's current tag state has value +/// "sync_settings_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `syncSettingsError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "sync_settings_error". +/// +- (BOOL)isSyncSettingsError; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -146,7 +179,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderCreateError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderCreateError *)instance; /// /// Deserializes `DBTEAMTeamFolderCreateError` instances. @@ -156,7 +189,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderCreateErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderCreateError` object. /// -+ (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderCreateError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderGetInfoItem.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderGetInfoItem.h index 06cdaeadf..7a6db26fb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderGetInfoItem.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderGetInfoItem.h @@ -28,13 +28,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderGetInfoItemTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderGetInfoItem` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderGetInfoItemTag) { - /// An ID that was provided as a parameter to `teamFolderGetInfo` did not - /// match any of the team's team folders. - DBTEAMTeamFolderGetInfoItemIdNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderGetInfoItemTag){ + /// An ID that was provided as a parameter to `teamFolderGetInfo` did not + /// match any of the team's team folders. + DBTEAMTeamFolderGetInfoItemIdNotFound, - /// Properties of a team folder. - DBTEAMTeamFolderGetInfoItemTeamFolderMetadata, + /// Properties of a team folder. + DBTEAMTeamFolderGetInfoItemTeamFolderMetadata, }; @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderGetInfoItemTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderGetInfoItem` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderGetInfoItem *)instance; /// /// Deserializes `DBTEAMTeamFolderGetInfoItem` instances. @@ -138,7 +138,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderGetInfoItemTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderGetInfoItem` object. /// -+ (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderGetInfoItem *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdArg.h index fce17ba89..88db7bfbf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdArg *)instance; /// /// Deserializes `DBTEAMTeamFolderIdArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderIdArg` object. /// -+ (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderIdArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdListArg.h index e3203855c..f5b35dd2e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderIdListArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderIdListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderIdListArg *)instance; /// /// Deserializes `DBTEAMTeamFolderIdListArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderIdListArg` object. /// -+ (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderIdListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderInvalidStatusError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderInvalidStatusError.h index fc74e112a..c9af28cb6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderInvalidStatusError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderInvalidStatusError.h @@ -28,18 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderInvalidStatusErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderInvalidStatusError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderInvalidStatusErrorTag) { - /// The folder is active and the operation did not succeed. - DBTEAMTeamFolderInvalidStatusErrorActive, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderInvalidStatusErrorTag){ + /// The folder is active and the operation did not succeed. + DBTEAMTeamFolderInvalidStatusErrorActive, - /// The folder is archived and the operation did not succeed. - DBTEAMTeamFolderInvalidStatusErrorArchived, + /// The folder is archived and the operation did not succeed. + DBTEAMTeamFolderInvalidStatusErrorArchived, - /// The folder is being archived and the operation did not succeed. - DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress, + /// The folder is being archived and the operation did not succeed. + DBTEAMTeamFolderInvalidStatusErrorArchiveInProgress, - /// (no description). - DBTEAMTeamFolderInvalidStatusErrorOther, + /// (no description). + DBTEAMTeamFolderInvalidStatusErrorOther, }; @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderInvalidStatusErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderInvalidStatusError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderInvalidStatusError *)instance; /// /// Deserializes `DBTEAMTeamFolderInvalidStatusError` instances. @@ -154,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderInvalidStatusErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderInvalidStatusError` object. /// -+ (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderInvalidStatusError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListArg.h index 4f5258ad7..c03b16f25 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListArg.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListArg *)instance; /// /// Deserializes `DBTEAMTeamFolderListArg` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderListArg` object. /// -+ (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueArg.h index a6f97fedb..956503145 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueArg *)instance; /// /// Deserializes `DBTEAMTeamFolderListContinueArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderListContinueArg` object. /// -+ (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueError.h index aaf65522d..2dca9ed47 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListContinueError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderListContinueErrorTag` enum type represents the possible /// tag states with which the `DBTEAMTeamFolderListContinueError` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMTeamFolderListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderListContinueErrorTag){ + /// The cursor is invalid. + DBTEAMTeamFolderListContinueErrorInvalidCursor, - /// (no description). - DBTEAMTeamFolderListContinueErrorOther, + /// (no description). + DBTEAMTeamFolderListContinueErrorOther, }; @@ -101,7 +101,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListContinueError *)instance; /// /// Deserializes `DBTEAMTeamFolderListContinueError` instances. @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderListContinueErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderListContinueError` object. /// -+ (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListError.h index 845215398..6f868917b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListError.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListError *)instance; /// /// Deserializes `DBTEAMTeamFolderListError` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderListError` object. /// -+ (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderListError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListResult.h index a10a4d3b4..9cda7ff54 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderListResult.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderListResult *)instance; /// /// Deserializes `DBTEAMTeamFolderListResult` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderListResult` object. /// -+ (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderMetadata.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderMetadata.h index c8e3b7d96..4b7fca13e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderMetadata.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderMetadata.h @@ -8,6 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBFILESContentSyncSetting; +@class DBFILESSyncSetting; @class DBTEAMTeamFolderMetadata; @class DBTEAMTeamFolderStatus; @@ -37,9 +39,15 @@ NS_ASSUME_NONNULL_BEGIN /// The status of the team folder. @property (nonatomic, readonly) DBTEAMTeamFolderStatus *status; -/// True if this team folder is the team shared dropbox. +/// True if this team folder is a shared team root. @property (nonatomic, readonly) NSNumber *isTeamSharedDropbox; +/// The sync setting applied to this team folder. +@property (nonatomic, readonly) DBFILESSyncSetting *syncSetting; + +/// Sync settings applied to contents of this team folder. +@property (nonatomic, readonly) NSArray *contentSyncSettings; + #pragma mark - Constructors /// @@ -48,15 +56,19 @@ NS_ASSUME_NONNULL_BEGIN /// @param teamFolderId The ID of the team folder. /// @param name The name of the team folder. /// @param status The status of the team folder. -/// @param isTeamSharedDropbox True if this team folder is the team shared -/// dropbox. +/// @param isTeamSharedDropbox True if this team folder is a shared team root. +/// @param syncSetting The sync setting applied to this team folder. +/// @param contentSyncSettings Sync settings applied to contents of this team +/// folder. /// /// @return An initialized instance. /// - (instancetype)initWithTeamFolderId:(NSString *)teamFolderId name:(NSString *)name status:(DBTEAMTeamFolderStatus *)status - isTeamSharedDropbox:(NSNumber *)isTeamSharedDropbox; + isTeamSharedDropbox:(NSNumber *)isTeamSharedDropbox + syncSetting:(DBFILESSyncSetting *)syncSetting + contentSyncSettings:(NSArray *)contentSyncSettings; - (instancetype)init NS_UNAVAILABLE; @@ -77,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderMetadata` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderMetadata *)instance; /// /// Deserializes `DBTEAMTeamFolderMetadata` instances. @@ -87,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderMetadata` object. /// -+ (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderMetadata *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderPermanentlyDeleteError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderPermanentlyDeleteError.h index 3f0f99145..035e46951 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderPermanentlyDeleteError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderPermanentlyDeleteError.h @@ -31,18 +31,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderPermanentlyDeleteErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderPermanentlyDeleteError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderPermanentlyDeleteErrorTag) { - /// (no description). - DBTEAMTeamFolderPermanentlyDeleteErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderPermanentlyDeleteErrorTag){ + /// (no description). + DBTEAMTeamFolderPermanentlyDeleteErrorAccessError, - /// (no description). - DBTEAMTeamFolderPermanentlyDeleteErrorStatusError, + /// (no description). + DBTEAMTeamFolderPermanentlyDeleteErrorStatusError, - /// (no description). - DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError, + /// (no description). + DBTEAMTeamFolderPermanentlyDeleteErrorTeamSharedDropboxError, - /// (no description). - DBTEAMTeamFolderPermanentlyDeleteErrorOther, + /// (no description). + DBTEAMTeamFolderPermanentlyDeleteErrorOther, }; @@ -167,7 +167,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderPermanentlyDeleteErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderPermanentlyDeleteError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderPermanentlyDeleteError *)instance; /// /// Deserializes `DBTEAMTeamFolderPermanentlyDeleteError` instances. @@ -178,7 +178,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderPermanentlyDeleteErrorTag) { /// @return An instantiation of the `DBTEAMTeamFolderPermanentlyDeleteError` /// object. /// -+ (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderPermanentlyDeleteError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameArg.h index e0e68128a..6a782a316 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameArg *)instance; /// /// Deserializes `DBTEAMTeamFolderRenameArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamFolderRenameArg` object. /// -+ (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderRenameArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameError.h index 35db1ea2f..449b57160 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderRenameError.h @@ -30,27 +30,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderRenameErrorTag` enum type represents the possible tag /// states with which the `DBTEAMTeamFolderRenameError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderRenameErrorTag) { - /// (no description). - DBTEAMTeamFolderRenameErrorAccessError, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderRenameErrorTag){ + /// (no description). + DBTEAMTeamFolderRenameErrorAccessError, - /// (no description). - DBTEAMTeamFolderRenameErrorStatusError, + /// (no description). + DBTEAMTeamFolderRenameErrorStatusError, - /// (no description). - DBTEAMTeamFolderRenameErrorTeamSharedDropboxError, + /// (no description). + DBTEAMTeamFolderRenameErrorTeamSharedDropboxError, - /// (no description). - DBTEAMTeamFolderRenameErrorOther, + /// (no description). + DBTEAMTeamFolderRenameErrorOther, - /// The provided folder name cannot be used. - DBTEAMTeamFolderRenameErrorInvalidFolderName, + /// The provided folder name cannot be used. + DBTEAMTeamFolderRenameErrorInvalidFolderName, - /// There is already a team folder with the same name. - DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed, + /// There is already a team folder with the same name. + DBTEAMTeamFolderRenameErrorFolderNameAlreadyUsed, - /// The provided name cannot be used because it is reserved. - DBTEAMTeamFolderRenameErrorFolderNameReserved, + /// The provided name cannot be used because it is reserved. + DBTEAMTeamFolderRenameErrorFolderNameReserved, }; @@ -230,7 +230,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderRenameErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderRenameError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderRenameError *)instance; /// /// Deserializes `DBTEAMTeamFolderRenameError` instances. @@ -240,7 +240,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderRenameErrorTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderRenameError` object. /// -+ (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderRenameError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderStatus.h index e965f780c..2189b51bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderStatus.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderStatusTag` enum type represents the possible tag states /// with which the `DBTEAMTeamFolderStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderStatusTag) { - /// The team folder and sub-folders are available to all members. - DBTEAMTeamFolderStatusActive, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderStatusTag){ + /// The team folder and sub-folders are available to all members. + DBTEAMTeamFolderStatusActive, - /// The team folder is not accessible outside of the team folder manager. - DBTEAMTeamFolderStatusArchived, + /// The team folder is not accessible outside of the team folder manager. + DBTEAMTeamFolderStatusArchived, - /// The team folder is not accessible outside of the team folder manager. - DBTEAMTeamFolderStatusArchiveInProgress, + /// The team folder is not accessible outside of the team folder manager. + DBTEAMTeamFolderStatusArchiveInProgress, - /// (no description). - DBTEAMTeamFolderStatusOther, + /// (no description). + DBTEAMTeamFolderStatusOther, }; @@ -142,7 +142,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderStatus *)instance; /// /// Deserializes `DBTEAMTeamFolderStatus` instances. @@ -152,7 +152,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderStatusTag) { /// /// @return An instantiation of the `DBTEAMTeamFolderStatus` object. /// -+ (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderTeamSharedDropboxError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderTeamSharedDropboxError.h index dba785e0b..fb7d3f670 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderTeamSharedDropboxError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderTeamSharedDropboxError.h @@ -28,12 +28,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamFolderTeamSharedDropboxErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamFolderTeamSharedDropboxError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag) { - /// This action is not allowed for a team shared dropbox. - DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag){ + /// This action is not allowed for a shared team root. + DBTEAMTeamFolderTeamSharedDropboxErrorDisallowed, - /// (no description). - DBTEAMTeamFolderTeamSharedDropboxErrorOther, + /// (no description). + DBTEAMTeamFolderTeamSharedDropboxErrorOther, }; @@ -46,7 +46,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag) { /// Initializes union class with tag state of "disallowed". /// /// Description of the "disallowed" tag state: This action is not allowed for a -/// team shared dropbox. +/// shared team root. /// /// @return An initialized instance. /// @@ -103,7 +103,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamFolderTeamSharedDropboxError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderTeamSharedDropboxError *)instance; /// /// Deserializes `DBTEAMTeamFolderTeamSharedDropboxError` instances. @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamFolderTeamSharedDropboxErrorTag) { /// @return An instantiation of the `DBTEAMTeamFolderTeamSharedDropboxError` /// object. /// -+ (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamFolderTeamSharedDropboxError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsArg.h new file mode 100644 index 000000000..78ec6cd47 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsArg.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMTeamFolderIdArg.h" + +@class DBFILESContentSyncSettingArg; +@class DBFILESSyncSettingArg; +@class DBTEAMTeamFolderUpdateSyncSettingsArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderUpdateSyncSettingsArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamFolderUpdateSyncSettingsArg : DBTEAMTeamFolderIdArg + +#pragma mark - Instance fields + +/// Sync setting to apply to the team folder itself. Only meaningful if the team +/// folder is not a shared team root. +@property (nonatomic, readonly, nullable) DBFILESSyncSettingArg *syncSetting; + +/// Sync settings to apply to contents of this team folder. +@property (nonatomic, readonly, nullable) NSArray *contentSyncSettings; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamFolderId The ID of the team folder. +/// @param syncSetting Sync setting to apply to the team folder itself. Only +/// meaningful if the team folder is not a shared team root. +/// @param contentSyncSettings Sync settings to apply to contents of this team +/// folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId + syncSetting:(nullable DBFILESSyncSettingArg *)syncSetting + contentSyncSettings:(nullable NSArray *)contentSyncSettings; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param teamFolderId The ID of the team folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderId:(NSString *)teamFolderId; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderUpdateSyncSettingsArg` struct. +/// +@interface DBTEAMTeamFolderUpdateSyncSettingsArgSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamFolderUpdateSyncSettingsArg` instances. +/// +/// @param instance An instance of the `DBTEAMTeamFolderUpdateSyncSettingsArg` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamFolderUpdateSyncSettingsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsArg *)instance; + +/// +/// Deserializes `DBTEAMTeamFolderUpdateSyncSettingsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamFolderUpdateSyncSettingsArg` API object. +/// +/// @return An instantiation of the `DBTEAMTeamFolderUpdateSyncSettingsArg` +/// object. +/// ++ (DBTEAMTeamFolderUpdateSyncSettingsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsError.h new file mode 100644 index 000000000..72a315b33 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamFolderUpdateSyncSettingsError.h @@ -0,0 +1,218 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSyncSettingsError; +@class DBTEAMTeamFolderAccessError; +@class DBTEAMTeamFolderInvalidStatusError; +@class DBTEAMTeamFolderTeamSharedDropboxError; +@class DBTEAMTeamFolderUpdateSyncSettingsError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderUpdateSyncSettingsError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamFolderUpdateSyncSettingsError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMTeamFolderUpdateSyncSettingsErrorTag` enum type represents the +/// possible tag states with which the `DBTEAMTeamFolderUpdateSyncSettingsError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamFolderUpdateSyncSettingsErrorTag){ + /// (no description). + DBTEAMTeamFolderUpdateSyncSettingsErrorAccessError, + + /// (no description). + DBTEAMTeamFolderUpdateSyncSettingsErrorStatusError, + + /// (no description). + DBTEAMTeamFolderUpdateSyncSettingsErrorTeamSharedDropboxError, + + /// (no description). + DBTEAMTeamFolderUpdateSyncSettingsErrorOther, + + /// An error occurred setting the sync settings. + DBTEAMTeamFolderUpdateSyncSettingsErrorSyncSettingsError, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMTeamFolderUpdateSyncSettingsErrorTag tag; + +/// (no description). @note Ensure the `isAccessError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamFolderAccessError *accessError; + +/// (no description). @note Ensure the `isStatusError` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamFolderInvalidStatusError *statusError; + +/// (no description). @note Ensure the `isTeamSharedDropboxError` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMTeamFolderTeamSharedDropboxError *teamSharedDropboxError; + +/// An error occurred setting the sync settings. @note Ensure the +/// `isSyncSettingsError` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBFILESSyncSettingsError *syncSettingsError; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "access_error". +/// +/// @param accessError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessError:(DBTEAMTeamFolderAccessError *)accessError; + +/// +/// Initializes union class with tag state of "status_error". +/// +/// @param statusError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStatusError:(DBTEAMTeamFolderInvalidStatusError *)statusError; + +/// +/// Initializes union class with tag state of "team_shared_dropbox_error". +/// +/// @param teamSharedDropboxError (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSharedDropboxError:(DBTEAMTeamFolderTeamSharedDropboxError *)teamSharedDropboxError; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +/// +/// Initializes union class with tag state of "sync_settings_error". +/// +/// Description of the "sync_settings_error" tag state: An error occurred +/// setting the sync settings. +/// +/// @param syncSettingsError An error occurred setting the sync settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSyncSettingsError:(DBFILESSyncSettingsError *)syncSettingsError; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "access_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `accessError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "access_error". +/// +- (BOOL)isAccessError; + +/// +/// Retrieves whether the union's current tag state has value "status_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `statusError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "status_error". +/// +- (BOOL)isStatusError; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_shared_dropbox_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamSharedDropboxError` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "team_shared_dropbox_error". +/// +- (BOOL)isTeamSharedDropboxError; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves whether the union's current tag state has value +/// "sync_settings_error". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `syncSettingsError` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "sync_settings_error". +/// +- (BOOL)isSyncSettingsError; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMTeamFolderUpdateSyncSettingsError` +/// union. +/// +@interface DBTEAMTeamFolderUpdateSyncSettingsErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamFolderUpdateSyncSettingsError` instances. +/// +/// @param instance An instance of the `DBTEAMTeamFolderUpdateSyncSettingsError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamFolderUpdateSyncSettingsError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamFolderUpdateSyncSettingsError *)instance; + +/// +/// Deserializes `DBTEAMTeamFolderUpdateSyncSettingsError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamFolderUpdateSyncSettingsError` API object. +/// +/// @return An instantiation of the `DBTEAMTeamFolderUpdateSyncSettingsError` +/// object. +/// ++ (DBTEAMTeamFolderUpdateSyncSettingsError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamGetInfoResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamGetInfoResult.h index 3662e99d1..6416ae5a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamGetInfoResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamGetInfoResult.h @@ -39,6 +39,9 @@ NS_ASSUME_NONNULL_BEGIN /// of the team. @property (nonatomic, readonly) NSNumber *numProvisionedUsers; +/// The number of licenses used on the team. +@property (nonatomic, readonly) NSNumber *numUsedLicenses; + /// (no description). @property (nonatomic, readonly) DBTEAMPOLICIESTeamMemberPolicies *policies; @@ -53,6 +56,27 @@ NS_ASSUME_NONNULL_BEGIN /// @param numProvisionedUsers The number of accounts that have been invited or /// are already active members of the team. /// @param policies (no description). +/// @param numUsedLicenses The number of licenses used on the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithName:(NSString *)name + teamId:(NSString *)teamId + numLicensedUsers:(NSNumber *)numLicensedUsers + numProvisionedUsers:(NSNumber *)numProvisionedUsers + policies:(DBTEAMPOLICIESTeamMemberPolicies *)policies + numUsedLicenses:(nullable NSNumber *)numUsedLicenses; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param name The name of the team. +/// @param teamId The ID of the team. +/// @param numLicensedUsers The number of licenses available to the team. +/// @param numProvisionedUsers The number of accounts that have been invited or +/// are already active members of the team. +/// @param policies (no description). /// /// @return An initialized instance. /// @@ -81,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamGetInfoResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamGetInfoResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamGetInfoResult *)instance; /// /// Deserializes `DBTEAMTeamGetInfoResult` instances. @@ -91,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamGetInfoResult` object. /// -+ (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamGetInfoResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfo.h index 57e747a61..d6554d051 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfo.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberInfo *)instance; /// /// Deserializes `DBTEAMTeamMemberInfo` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamMemberInfo` object. /// -+ (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamMemberInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2.h new file mode 100644 index 000000000..ae202b5a5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMTeamMemberInfoV2; +@class DBTEAMTeamMemberProfile; +@class DBTEAMTeamMemberRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMemberInfoV2` struct. +/// +/// Information about a team member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamMemberInfoV2 : NSObject + +#pragma mark - Instance fields + +/// Profile of a user as a member of a team. +@property (nonatomic, readonly) DBTEAMTeamMemberProfile *profile; + +/// The user's roles in the team. +@property (nonatomic, readonly, nullable) NSArray *roles; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param profile Profile of a user as a member of a team. +/// @param roles The user's roles in the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile + roles:(nullable NSArray *)roles; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param profile Profile of a user as a member of a team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithProfile:(DBTEAMTeamMemberProfile *)profile; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMemberInfoV2` struct. +/// +@interface DBTEAMTeamMemberInfoV2Serializer : NSObject + +/// +/// Serializes `DBTEAMTeamMemberInfoV2` instances. +/// +/// @param instance An instance of the `DBTEAMTeamMemberInfoV2` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberInfoV2` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2 *)instance; + +/// +/// Deserializes `DBTEAMTeamMemberInfoV2` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberInfoV2` API object. +/// +/// @return An instantiation of the `DBTEAMTeamMemberInfoV2` object. +/// ++ (DBTEAMTeamMemberInfoV2 *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2Result.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2Result.h new file mode 100644 index 000000000..bfebce290 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberInfoV2Result.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMTeamMemberInfoV2; +@class DBTEAMTeamMemberInfoV2Result; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMemberInfoV2Result` struct. +/// +/// Information about a team member, after the change, like at +/// `membersSetProfile`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamMemberInfoV2Result : NSObject + +#pragma mark - Instance fields + +/// Member info, after the change. +@property (nonatomic, readonly) DBTEAMTeamMemberInfoV2 *memberInfo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param memberInfo Member info, after the change. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberInfo:(DBTEAMTeamMemberInfoV2 *)memberInfo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMemberInfoV2Result` struct. +/// +@interface DBTEAMTeamMemberInfoV2ResultSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamMemberInfoV2Result` instances. +/// +/// @param instance An instance of the `DBTEAMTeamMemberInfoV2Result` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberInfoV2Result` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberInfoV2Result *)instance; + +/// +/// Deserializes `DBTEAMTeamMemberInfoV2Result` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberInfoV2Result` API object. +/// +/// @return An instantiation of the `DBTEAMTeamMemberInfoV2Result` object. +/// ++ (DBTEAMTeamMemberInfoV2Result *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberProfile.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberProfile.h index e302e9f44..e522804a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberProfile.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberProfile.h @@ -9,6 +9,7 @@ #import "DBSerializableProtocol.h" #import "DBTEAMMemberProfile.h" +@class DBSECONDARYEMAILSSecondaryEmail; @class DBTEAMTeamMemberProfile; @class DBTEAMTeamMemberStatus; @class DBTEAMTeamMembershipType; @@ -56,10 +57,21 @@ NS_ASSUME_NONNULL_BEGIN /// application using the API may find it easier to use their own IDs instead of /// Dropbox IDs like account_id or team_member_id. /// @param accountId A user's account identifier. +/// @param secondaryEmails Secondary emails of a user. +/// @param invitedOn The date and time the user was invited to the team +/// (contains value only when the member's status matches `invited` in +/// `DBTEAMTeamMemberStatus`). /// @param joinedOn The date and time the user joined as a member of a specific /// team. +/// @param suspendedOn The date and time the user was suspended from the team +/// (contains value only when the member's status matches `suspended` in +/// `DBTEAMTeamMemberStatus`). /// @param persistentId Persistent ID that a team can attach to the user. The /// persistent ID is unique ID to be used for SAML authentication. +/// @param isDirectoryRestricted Whether the user is a directory restricted +/// user. +/// @param profilePhotoUrl URL for the photo representing the user, if one is +/// set. /// /// @return An initialized instance. /// @@ -73,8 +85,13 @@ NS_ASSUME_NONNULL_BEGIN memberFolderId:(NSString *)memberFolderId externalId:(nullable NSString *)externalId accountId:(nullable NSString *)accountId + secondaryEmails:(nullable NSArray *)secondaryEmails + invitedOn:(nullable NSDate *)invitedOn joinedOn:(nullable NSDate *)joinedOn - persistentId:(nullable NSString *)persistentId; + suspendedOn:(nullable NSDate *)suspendedOn + persistentId:(nullable NSString *)persistentId + isDirectoryRestricted:(nullable NSNumber *)isDirectoryRestricted + profilePhotoUrl:(nullable NSString *)profilePhotoUrl; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -119,7 +136,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberProfile` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberProfile *)instance; /// /// Deserializes `DBTEAMTeamMemberProfile` instances. @@ -129,7 +146,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamMemberProfile` object. /// -+ (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamMemberProfile *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberRole.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberRole.h new file mode 100644 index 000000000..54e4e2957 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberRole.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMTeamMemberRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMemberRole` struct. +/// +/// A role which can be attached to a team member. This replaces AdminTier; each +/// AdminTier corresponds to a new TeamMemberRole with a matching name. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamMemberRole : NSObject + +#pragma mark - Instance fields + +/// A string containing encoded role ID. For roles defined by Dropbox, this is +/// the same across all teams. +@property (nonatomic, readonly, copy) NSString *roleId; + +/// The role display name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Role description. Describes which permissions come with this role. +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param roleId A string containing encoded role ID. For roles defined by +/// Dropbox, this is the same across all teams. +/// @param name The role display name. +/// @param description_ Role description. Describes which permissions come with +/// this role. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRoleId:(NSString *)roleId name:(NSString *)name description_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMemberRole` struct. +/// +@interface DBTEAMTeamMemberRoleSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamMemberRole` instances. +/// +/// @param instance An instance of the `DBTEAMTeamMemberRole` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberRole` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberRole *)instance; + +/// +/// Deserializes `DBTEAMTeamMemberRole` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamMemberRole` API object. +/// +/// @return An instantiation of the `DBTEAMTeamMemberRole` object. +/// ++ (DBTEAMTeamMemberRole *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberStatus.h index 233c4b138..29940671c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMemberStatus.h @@ -30,20 +30,20 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamMemberStatusTag` enum type represents the possible tag states /// with which the `DBTEAMTeamMemberStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamMemberStatusTag) { - /// User has successfully joined the team. - DBTEAMTeamMemberStatusActive, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamMemberStatusTag){ + /// User has successfully joined the team. + DBTEAMTeamMemberStatusActive, - /// User has been invited to a team, but has not joined the team yet. - DBTEAMTeamMemberStatusInvited, + /// User has been invited to a team, but has not joined the team yet. + DBTEAMTeamMemberStatusInvited, - /// User is no longer a member of the team, but the account can be - /// un-suspended, re-establishing the user as a team member. - DBTEAMTeamMemberStatusSuspended, + /// User is no longer a member of the team, but the account can be + /// un-suspended, re-establishing the user as a team member. + DBTEAMTeamMemberStatusSuspended, - /// User is no longer a member of the team. Removed users are only listed - /// when include_removed is true in members/list. - DBTEAMTeamMemberStatusRemoved, + /// User is no longer a member of the team. Removed users are only listed + /// when include_removed is true in members/list. + DBTEAMTeamMemberStatusRemoved, }; @@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamMemberStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMemberStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMemberStatus *)instance; /// /// Deserializes `DBTEAMTeamMemberStatus` instances. @@ -171,7 +171,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamMemberStatusTag) { /// /// @return An instantiation of the `DBTEAMTeamMemberStatus` object. /// -+ (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamMemberStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMembershipType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMembershipType.h index a51ad082e..3c2ba18fa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMembershipType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamMembershipType.h @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamMembershipTypeTag` enum type represents the possible tag /// states with which the `DBTEAMTeamMembershipType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamMembershipTypeTag) { - /// User uses a license and has full access to team resources like the - /// shared quota. - DBTEAMTeamMembershipTypeFull, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamMembershipTypeTag){ + /// User uses a license and has full access to team resources like the + /// shared quota. + DBTEAMTeamMembershipTypeFull, - /// User does not have access to the shared quota and team admins have - /// restricted administrative control. - DBTEAMTeamMembershipTypeLimited, + /// User does not have access to the shared quota and team admins have + /// restricted administrative control. + DBTEAMTeamMembershipTypeLimited, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamMembershipTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamMembershipType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamMembershipType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamMembershipType *)instance; /// /// Deserializes `DBTEAMTeamMembershipType` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamMembershipTypeTag) { /// /// @return An instantiation of the `DBTEAMTeamMembershipType` object. /// -+ (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamMembershipType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListArg.h index 6aaac1102..c97e64c2c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListArg.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListArg *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListArg` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamNamespacesListArg` object. /// -+ (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamNamespacesListArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueArg.h index 7901a12e6..c983650c8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueArg *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListContinueArg` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMTeamNamespacesListContinueArg` /// object. /// -+ (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamNamespacesListContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueError.h index 24f58b912..423ae0f31 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListContinueError.h @@ -28,12 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTeamNamespacesListContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTeamNamespacesListContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { - /// The cursor is invalid. - DBTEAMTeamNamespacesListContinueErrorInvalidCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag){ + /// Argument passed in is invalid. + DBTEAMTeamNamespacesListContinueErrorInvalidArg, - /// (no description). - DBTEAMTeamNamespacesListContinueErrorOther, + /// (no description). + DBTEAMTeamNamespacesListContinueErrorOther, + + /// The cursor is invalid. + DBTEAMTeamNamespacesListContinueErrorInvalidCursor, }; @@ -43,13 +46,13 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "invalid_cursor". +/// Initializes union class with tag state of "invalid_arg". /// -/// Description of the "invalid_cursor" tag state: The cursor is invalid. +/// Description of the "invalid_arg" tag state: Argument passed in is invalid. /// /// @return An initialized instance. /// -- (instancetype)initWithInvalidCursor; +- (instancetype)initWithInvalidArg; /// /// Initializes union class with tag state of "other". @@ -58,16 +61,25 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { /// - (instancetype)initWithOther; +/// +/// Initializes union class with tag state of "invalid_cursor". +/// +/// Description of the "invalid_cursor" tag state: The cursor is invalid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidCursor; + - (instancetype)init NS_UNAVAILABLE; #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "invalid_cursor". +/// Retrieves whether the union's current tag state has value "invalid_arg". /// -/// @return Whether the union's current tag state has value "invalid_cursor". +/// @return Whether the union's current tag state has value "invalid_arg". /// -- (BOOL)isInvalidCursor; +- (BOOL)isInvalidArg; /// /// Retrieves whether the union's current tag state has value "other". @@ -76,6 +88,13 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { /// - (BOOL)isOther; +/// +/// Retrieves whether the union's current tag state has value "invalid_cursor". +/// +/// @return Whether the union's current tag state has value "invalid_cursor". +/// +- (BOOL)isInvalidCursor; + /// /// Retrieves string value of union's current tag state. /// @@ -102,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListContinueError *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListContinueError` instances. @@ -113,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTeamNamespacesListContinueErrorTag) { /// @return An instantiation of the `DBTEAMTeamNamespacesListContinueError` /// object. /// -+ (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamNamespacesListContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListError.h new file mode 100644 index 000000000..6be6a23c7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListError.h @@ -0,0 +1,117 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMTeamNamespacesListError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamNamespacesListError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamNamespacesListError : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMTeamNamespacesListErrorTag` enum type represents the possible tag +/// states with which the `DBTEAMTeamNamespacesListError` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamNamespacesListErrorTag){ + /// Argument passed in is invalid. + DBTEAMTeamNamespacesListErrorInvalidArg, + + /// (no description). + DBTEAMTeamNamespacesListErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMTeamNamespacesListErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "invalid_arg". +/// +/// Description of the "invalid_arg" tag state: Argument passed in is invalid. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidArg; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "invalid_arg". +/// +/// @return Whether the union's current tag state has value "invalid_arg". +/// +- (BOOL)isInvalidArg; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMTeamNamespacesListError` union. +/// +@interface DBTEAMTeamNamespacesListErrorSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamNamespacesListError` instances. +/// +/// @param instance An instance of the `DBTEAMTeamNamespacesListError` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamNamespacesListError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListError *)instance; + +/// +/// Deserializes `DBTEAMTeamNamespacesListError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamNamespacesListError` API object. +/// +/// @return An instantiation of the `DBTEAMTeamNamespacesListError` object. +/// ++ (DBTEAMTeamNamespacesListError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListResult.h index d2e4232a2..c1003e997 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamNamespacesListResult.h @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTeamNamespacesListResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTeamNamespacesListResult *)instance; /// /// Deserializes `DBTEAMTeamNamespacesListResult` instances. @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMTeamNamespacesListResult` object. /// -+ (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTeamNamespacesListResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamReportFailureReason.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamReportFailureReason.h new file mode 100644 index 000000000..d3bf98b3c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTeamReportFailureReason.h @@ -0,0 +1,165 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamReportFailureReason` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMTeamReportFailureReason : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMTeamReportFailureReasonTag` enum type represents the possible tag +/// states with which the `DBTEAMTeamReportFailureReason` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTeamReportFailureReasonTag){ + /// We couldn't create the report, but we think this was a fluke. Everything + /// should work if you try it again. + DBTEAMTeamReportFailureReasonTemporaryError, + + /// Too many other reports are being created right now. Try creating this + /// report again once the others finish. + DBTEAMTeamReportFailureReasonManyReportsAtOnce, + + /// We couldn't create the report. Try creating the report again with less + /// data. + DBTEAMTeamReportFailureReasonTooMuchData, + + /// (no description). + DBTEAMTeamReportFailureReasonOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReasonTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "temporary_error". +/// +/// Description of the "temporary_error" tag state: We couldn't create the +/// report, but we think this was a fluke. Everything should work if you try it +/// again. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTemporaryError; + +/// +/// Initializes union class with tag state of "many_reports_at_once". +/// +/// Description of the "many_reports_at_once" tag state: Too many other reports +/// are being created right now. Try creating this report again once the others +/// finish. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithManyReportsAtOnce; + +/// +/// Initializes union class with tag state of "too_much_data". +/// +/// Description of the "too_much_data" tag state: We couldn't create the report. +/// Try creating the report again with less data. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTooMuchData; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "temporary_error". +/// +/// @return Whether the union's current tag state has value "temporary_error". +/// +- (BOOL)isTemporaryError; + +/// +/// Retrieves whether the union's current tag state has value +/// "many_reports_at_once". +/// +/// @return Whether the union's current tag state has value +/// "many_reports_at_once". +/// +- (BOOL)isManyReportsAtOnce; + +/// +/// Retrieves whether the union's current tag state has value "too_much_data". +/// +/// @return Whether the union's current tag state has value "too_much_data". +/// +- (BOOL)isTooMuchData; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMTeamReportFailureReason` union. +/// +@interface DBTEAMTeamReportFailureReasonSerializer : NSObject + +/// +/// Serializes `DBTEAMTeamReportFailureReason` instances. +/// +/// @param instance An instance of the `DBTEAMTeamReportFailureReason` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMTeamReportFailureReason` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMTeamReportFailureReason *)instance; + +/// +/// Deserializes `DBTEAMTeamReportFailureReason` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMTeamReportFailureReason` API object. +/// +/// @return An instantiation of the `DBTEAMTeamReportFailureReason` object. +/// ++ (DBTEAMTeamReportFailureReason *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminError.h index 94bd19f18..841ca6380 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminError.h @@ -30,18 +30,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMTokenGetAuthenticatedAdminErrorTag` enum type represents the /// possible tag states with which the `DBTEAMTokenGetAuthenticatedAdminError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMTokenGetAuthenticatedAdminErrorTag) { - /// The current token is not associated with a team admin, because mappings - /// were not recorded when the token was created. Consider re-authorizing a - /// new access token to record its authenticating admin. - DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMTokenGetAuthenticatedAdminErrorTag){ + /// The current token is not associated with a team admin, because mappings + /// were not recorded when the token was created. Consider re-authorizing a + /// new access token to record its authenticating admin. + DBTEAMTokenGetAuthenticatedAdminErrorMappingNotFound, - /// Either the team admin that authorized this token is no longer an active - /// member of the team or no longer a team admin. - DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive, + /// Either the team admin that authorized this token is no longer an active + /// member of the team or no longer a team admin. + DBTEAMTokenGetAuthenticatedAdminErrorAdminNotActive, - /// (no description). - DBTEAMTokenGetAuthenticatedAdminErrorOther, + /// (no description). + DBTEAMTokenGetAuthenticatedAdminErrorOther, }; @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTokenGetAuthenticatedAdminErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminError *)instance; /// /// Deserializes `DBTEAMTokenGetAuthenticatedAdminError` instances. @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMTokenGetAuthenticatedAdminErrorTag) { /// @return An instantiation of the `DBTEAMTokenGetAuthenticatedAdminError` /// object. /// -+ (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTokenGetAuthenticatedAdminError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminResult.h index 36b4bcb6c..08aac7ae1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMTokenGetAuthenticatedAdminResult.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMTokenGetAuthenticatedAdminResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMTokenGetAuthenticatedAdminResult *)instance; /// /// Deserializes `DBTEAMTokenGetAuthenticatedAdminResult` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMTokenGetAuthenticatedAdminResult` /// object. /// -+ (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMTokenGetAuthenticatedAdminResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUploadApiRateLimitValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUploadApiRateLimitValue.h index b5cfe6298..9887ab2fa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUploadApiRateLimitValue.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUploadApiRateLimitValue.h @@ -29,17 +29,17 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMUploadApiRateLimitValueTag` enum type represents the possible tag /// states with which the `DBTEAMUploadApiRateLimitValue` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMUploadApiRateLimitValueTag) { - /// This team has unlimited upload API quota. So far both server version - /// account and legacy account type have unlimited monthly upload api - /// quota. - DBTEAMUploadApiRateLimitValueUnlimited, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUploadApiRateLimitValueTag){ + /// This team has unlimited upload API quota. So far both server version + /// account and legacy account type have unlimited monthly upload api + /// quota. + DBTEAMUploadApiRateLimitValueUnlimited, - /// The number of upload API calls allowed per month. - DBTEAMUploadApiRateLimitValueLimit, + /// The number of upload API calls allowed per month. + DBTEAMUploadApiRateLimitValueLimit, - /// (no description). - DBTEAMUploadApiRateLimitValueOther, + /// (no description). + DBTEAMUploadApiRateLimitValueOther, }; @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUploadApiRateLimitValueTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMUploadApiRateLimitValue` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUploadApiRateLimitValue *)instance; /// /// Deserializes `DBTEAMUploadApiRateLimitValue` instances. @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUploadApiRateLimitValueTag) { /// /// @return An instantiation of the `DBTEAMUploadApiRateLimitValue` object. /// -+ (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUploadApiRateLimitValue *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserAddResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserAddResult.h new file mode 100644 index 000000000..70ec17bc0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserAddResult.h @@ -0,0 +1,229 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMUserAddResult; +@class DBTEAMUserSecondaryEmailsResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserAddResult` union. +/// +/// Result of trying to add secondary emails to a user. 'success' is the only +/// value indicating that a user was successfully retrieved for adding secondary +/// emails. The other values explain the type of error that occurred, and +/// include the user for which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserAddResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMUserAddResultTag` enum type represents the possible tag states +/// with which the `DBTEAMUserAddResult` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserAddResultTag){ + /// Describes a user and the results for each attempt to add a secondary + /// email. + DBTEAMUserAddResultSuccess, + + /// Specified user is not a valid target for adding secondary emails. + DBTEAMUserAddResultInvalidUser, + + /// Secondary emails can only be added to verified users. + DBTEAMUserAddResultUnverified, + + /// Secondary emails cannot be added to placeholder users. + DBTEAMUserAddResultPlaceholderUser, + + /// (no description). + DBTEAMUserAddResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMUserAddResultTag tag; + +/// Describes a user and the results for each attempt to add a secondary email. +/// @note Ensure the `isSuccess` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSecondaryEmailsResult *success; + +/// Specified user is not a valid target for adding secondary emails. @note +/// Ensure the `isInvalidUser` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *invalidUser; + +/// Secondary emails can only be added to verified users. @note Ensure the +/// `isUnverified` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *unverified; + +/// Secondary emails cannot be added to placeholder users. @note Ensure the +/// `isPlaceholderUser` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *placeholderUser; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: Describes a user and the results for +/// each attempt to add a secondary email. +/// +/// @param success Describes a user and the results for each attempt to add a +/// secondary email. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBTEAMUserSecondaryEmailsResult *)success; + +/// +/// Initializes union class with tag state of "invalid_user". +/// +/// Description of the "invalid_user" tag state: Specified user is not a valid +/// target for adding secondary emails. +/// +/// @param invalidUser Specified user is not a valid target for adding secondary +/// emails. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser; + +/// +/// Initializes union class with tag state of "unverified". +/// +/// Description of the "unverified" tag state: Secondary emails can only be +/// added to verified users. +/// +/// @param unverified Secondary emails can only be added to verified users. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnverified:(DBTEAMUserSelectorArg *)unverified; + +/// +/// Initializes union class with tag state of "placeholder_user". +/// +/// Description of the "placeholder_user" tag state: Secondary emails cannot be +/// added to placeholder users. +/// +/// @param placeholderUser Secondary emails cannot be added to placeholder +/// users. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPlaceholderUser:(DBTEAMUserSelectorArg *)placeholderUser; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "invalid_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `invalidUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "invalid_user". +/// +- (BOOL)isInvalidUser; + +/// +/// Retrieves whether the union's current tag state has value "unverified". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `unverified` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "unverified". +/// +- (BOOL)isUnverified; + +/// +/// Retrieves whether the union's current tag state has value +/// "placeholder_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `placeholderUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "placeholder_user". +/// +- (BOOL)isPlaceholderUser; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMUserAddResult` union. +/// +@interface DBTEAMUserAddResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserAddResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserAddResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserAddResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserAddResult *)instance; + +/// +/// Deserializes `DBTEAMUserAddResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserAddResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserAddResult` object. +/// ++ (DBTEAMUserAddResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaArg.h index 1c8a29d93..6cbb7a0b3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaArg.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaArg *)instance; /// /// Deserializes `DBTEAMUserCustomQuotaArg` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMUserCustomQuotaArg` object. /// -+ (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUserCustomQuotaArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaResult.h index 104ef01aa..c0f938c4c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserCustomQuotaResult.h @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMUserCustomQuotaResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUserCustomQuotaResult *)instance; /// /// Deserializes `DBTEAMUserCustomQuotaResult` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMUserCustomQuotaResult` object. /// -+ (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUserCustomQuotaResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteEmailsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteEmailsResult.h new file mode 100644 index 000000000..0f76a9dc4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteEmailsResult.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMDeleteSecondaryEmailResult; +@class DBTEAMUserDeleteEmailsResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserDeleteEmailsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserDeleteEmailsResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// (no description). +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user (no description). +/// @param results (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + results:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserDeleteEmailsResult` struct. +/// +@interface DBTEAMUserDeleteEmailsResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserDeleteEmailsResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserDeleteEmailsResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserDeleteEmailsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserDeleteEmailsResult *)instance; + +/// +/// Deserializes `DBTEAMUserDeleteEmailsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserDeleteEmailsResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserDeleteEmailsResult` object. +/// ++ (DBTEAMUserDeleteEmailsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteResult.h new file mode 100644 index 000000000..f76fbf9c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserDeleteResult.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMUserDeleteEmailsResult; +@class DBTEAMUserDeleteResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserDeleteResult` union. +/// +/// Result of trying to delete a user's secondary emails. 'success' is the only +/// value indicating that a user was successfully retrieved for deleting +/// secondary emails. The other values explain the type of error that occurred, +/// and include the user for which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserDeleteResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMUserDeleteResultTag` enum type represents the possible tag states +/// with which the `DBTEAMUserDeleteResult` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserDeleteResultTag){ + /// Describes a user and the results for each attempt to delete a secondary + /// email. + DBTEAMUserDeleteResultSuccess, + + /// Specified user is not a valid target for deleting secondary emails. + DBTEAMUserDeleteResultInvalidUser, + + /// (no description). + DBTEAMUserDeleteResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMUserDeleteResultTag tag; + +/// Describes a user and the results for each attempt to delete a secondary +/// email. @note Ensure the `isSuccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserDeleteEmailsResult *success; + +/// Specified user is not a valid target for deleting secondary emails. @note +/// Ensure the `isInvalidUser` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *invalidUser; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: Describes a user and the results for +/// each attempt to delete a secondary email. +/// +/// @param success Describes a user and the results for each attempt to delete a +/// secondary email. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBTEAMUserDeleteEmailsResult *)success; + +/// +/// Initializes union class with tag state of "invalid_user". +/// +/// Description of the "invalid_user" tag state: Specified user is not a valid +/// target for deleting secondary emails. +/// +/// @param invalidUser Specified user is not a valid target for deleting +/// secondary emails. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "invalid_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `invalidUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "invalid_user". +/// +- (BOOL)isInvalidUser; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMUserDeleteResult` union. +/// +@interface DBTEAMUserDeleteResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserDeleteResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserDeleteResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserDeleteResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserDeleteResult *)instance; + +/// +/// Deserializes `DBTEAMUserDeleteResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserDeleteResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserDeleteResult` object. +/// ++ (DBTEAMUserDeleteResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendEmailsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendEmailsResult.h new file mode 100644 index 000000000..60f57ac7c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendEmailsResult.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMResendSecondaryEmailResult; +@class DBTEAMUserResendEmailsResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserResendEmailsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserResendEmailsResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// (no description). +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user (no description). +/// @param results (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user + results:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserResendEmailsResult` struct. +/// +@interface DBTEAMUserResendEmailsResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserResendEmailsResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserResendEmailsResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserResendEmailsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserResendEmailsResult *)instance; + +/// +/// Deserializes `DBTEAMUserResendEmailsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserResendEmailsResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserResendEmailsResult` object. +/// ++ (DBTEAMUserResendEmailsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendResult.h new file mode 100644 index 000000000..791051d9f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserResendResult.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMUserResendEmailsResult; +@class DBTEAMUserResendResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserResendResult` union. +/// +/// Result of trying to resend verification emails to a user. 'success' is the +/// only value indicating that a user was successfully retrieved for sending +/// verification emails. The other values explain the type of error that +/// occurred, and include the user for which the error occurred. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserResendResult : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMUserResendResultTag` enum type represents the possible tag states +/// with which the `DBTEAMUserResendResult` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserResendResultTag){ + /// Describes a user and the results for each attempt to resend verification + /// emails. + DBTEAMUserResendResultSuccess, + + /// Specified user is not a valid target for resending verification emails. + DBTEAMUserResendResultInvalidUser, + + /// (no description). + DBTEAMUserResendResultOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMUserResendResultTag tag; + +/// Describes a user and the results for each attempt to resend verification +/// emails. @note Ensure the `isSuccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserResendEmailsResult *success; + +/// Specified user is not a valid target for resending verification emails. +/// @note Ensure the `isInvalidUser` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMUserSelectorArg *invalidUser; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "success". +/// +/// Description of the "success" tag state: Describes a user and the results for +/// each attempt to resend verification emails. +/// +/// @param success Describes a user and the results for each attempt to resend +/// verification emails. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess:(DBTEAMUserResendEmailsResult *)success; + +/// +/// Initializes union class with tag state of "invalid_user". +/// +/// Description of the "invalid_user" tag state: Specified user is not a valid +/// target for resending verification emails. +/// +/// @param invalidUser Specified user is not a valid target for resending +/// verification emails. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidUser:(DBTEAMUserSelectorArg *)invalidUser; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `success` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "invalid_user". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `invalidUser` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "invalid_user". +/// +- (BOOL)isInvalidUser; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMUserResendResult` union. +/// +@interface DBTEAMUserResendResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserResendResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserResendResult` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserResendResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserResendResult *)instance; + +/// +/// Deserializes `DBTEAMUserResendResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserResendResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserResendResult` object. +/// ++ (DBTEAMUserResendResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsArg.h new file mode 100644 index 000000000..133bce42e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsArg.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMUserSecondaryEmailsArg; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserSecondaryEmailsArg` struct. +/// +/// User and a list of secondary emails. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserSecondaryEmailsArg : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// (no description). +@property (nonatomic, readonly) NSArray *secondaryEmails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user (no description). +/// @param secondaryEmails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user secondaryEmails:(NSArray *)secondaryEmails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserSecondaryEmailsArg` struct. +/// +@interface DBTEAMUserSecondaryEmailsArgSerializer : NSObject + +/// +/// Serializes `DBTEAMUserSecondaryEmailsArg` instances. +/// +/// @param instance An instance of the `DBTEAMUserSecondaryEmailsArg` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserSecondaryEmailsArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsArg *)instance; + +/// +/// Deserializes `DBTEAMUserSecondaryEmailsArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserSecondaryEmailsArg` API object. +/// +/// @return An instantiation of the `DBTEAMUserSecondaryEmailsArg` object. +/// ++ (DBTEAMUserSecondaryEmailsArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsResult.h new file mode 100644 index 000000000..752303114 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSecondaryEmailsResult.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMAddSecondaryEmailResult; +@class DBTEAMUserSecondaryEmailsResult; +@class DBTEAMUserSelectorArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserSecondaryEmailsResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMUserSecondaryEmailsResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) DBTEAMUserSelectorArg *user; + +/// (no description). +@property (nonatomic, readonly) NSArray *results; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param user (no description). +/// @param results (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUser:(DBTEAMUserSelectorArg *)user results:(NSArray *)results; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserSecondaryEmailsResult` struct. +/// +@interface DBTEAMUserSecondaryEmailsResultSerializer : NSObject + +/// +/// Serializes `DBTEAMUserSecondaryEmailsResult` instances. +/// +/// @param instance An instance of the `DBTEAMUserSecondaryEmailsResult` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMUserSecondaryEmailsResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMUserSecondaryEmailsResult *)instance; + +/// +/// Deserializes `DBTEAMUserSecondaryEmailsResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMUserSecondaryEmailsResult` API object. +/// +/// @return An instantiation of the `DBTEAMUserSecondaryEmailsResult` object. +/// ++ (DBTEAMUserSecondaryEmailsResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorArg.h index 84a73860b..5b7e47f93 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorArg.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMUserSelectorArgTag` enum type represents the possible tag states /// with which the `DBTEAMUserSelectorArg` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMUserSelectorArgTag) { - /// (no description). - DBTEAMUserSelectorArgTeamMemberId, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserSelectorArgTag){ + /// (no description). + DBTEAMUserSelectorArgTeamMemberId, - /// (no description). - DBTEAMUserSelectorArgExternalId, + /// (no description). + DBTEAMUserSelectorArgExternalId, - /// (no description). - DBTEAMUserSelectorArgEmail, + /// (no description). + DBTEAMUserSelectorArgEmail, }; @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUserSelectorArgTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMUserSelectorArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUserSelectorArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUserSelectorArg *)instance; /// /// Deserializes `DBTEAMUserSelectorArg` instances. @@ -154,7 +154,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUserSelectorArgTag) { /// /// @return An instantiation of the `DBTEAMUserSelectorArg` object. /// -+ (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUserSelectorArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorError.h index 2d493e898..7a7b1f02f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUserSelectorError.h @@ -30,10 +30,10 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMUserSelectorErrorTag` enum type represents the possible tag /// states with which the `DBTEAMUserSelectorError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMUserSelectorErrorTag) { - /// No matching user found. The provided team_member_id, email, or - /// external_id does not exist on this team. - DBTEAMUserSelectorErrorUserNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUserSelectorErrorTag){ + /// No matching user found. The provided team_member_id, email, or + /// external_id does not exist on this team. + DBTEAMUserSelectorErrorUserNotFound, }; @@ -87,7 +87,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUserSelectorErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMUserSelectorError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUserSelectorError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUserSelectorError *)instance; /// /// Deserializes `DBTEAMUserSelectorError` instances. @@ -97,7 +97,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUserSelectorErrorTag) { /// /// @return An instantiation of the `DBTEAMUserSelectorError` object. /// -+ (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUserSelectorError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUsersSelectorArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUsersSelectorArg.h index 2cf0627f3..b636e0be3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUsersSelectorArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMUsersSelectorArg.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMUsersSelectorArgTag` enum type represents the possible tag states /// with which the `DBTEAMUsersSelectorArg` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMUsersSelectorArgTag) { - /// List of member IDs. - DBTEAMUsersSelectorArgTeamMemberIds, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMUsersSelectorArgTag){ + /// List of member IDs. + DBTEAMUsersSelectorArgTeamMemberIds, - /// List of external user IDs. - DBTEAMUsersSelectorArgExternalIds, + /// List of external user IDs. + DBTEAMUsersSelectorArgExternalIds, - /// List of email addresses. - DBTEAMUsersSelectorArgEmails, + /// List of email addresses. + DBTEAMUsersSelectorArgEmails, }; @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUsersSelectorArgTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMUsersSelectorArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMUsersSelectorArg *)instance; /// /// Deserializes `DBTEAMUsersSelectorArg` instances. @@ -160,7 +160,7 @@ typedef NS_ENUM(NSInteger, DBTEAMUsersSelectorArgTag) { /// /// @return An instantiation of the `DBTEAMUsersSelectorArg` object. /// -+ (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMUsersSelectorArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m index 05434a22a..ad94fe0ed 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/DBTeamCommonObjects.m @@ -85,17 +85,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupManagementTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCOMMONGroupManagementTypeSerializer serialize:self] description]; } @@ -116,12 +116,16 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMCOMMONGroupManagementTypeUserManaged: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCOMMONGroupManagementTypeCompanyManaged: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCOMMONGroupManagementTypeSystemManaged: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCOMMONGroupManagementTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -165,7 +169,7 @@ - (BOOL)isEqualToGroupManagementType:(DBTEAMCOMMONGroupManagementType *)aGroupMa @implementation DBTEAMCOMMONGroupManagementTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isUserManaged]) { @@ -180,10 +184,10 @@ + (NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"user_managed"]) { @@ -244,17 +248,17 @@ - (instancetype)initWithGroupName:(NSString *)groupName #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupSummarySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupSummarySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCOMMONGroupSummarySerializer serialize:self] description]; } @@ -329,7 +333,7 @@ - (BOOL)isEqualToGroupSummary:(DBTEAMCOMMONGroupSummary *)aGroupSummary { @implementation DBTEAMCOMMONGroupSummarySerializer -+ (NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"group_name"] = valueObj.groupName; @@ -343,10 +347,10 @@ + (NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)valueObj { jsonDict[@"member_count"] = valueObj.memberCount; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)valueDict { NSString *groupName = valueDict[@"group_name"]; NSString *groupId = valueDict[@"group_id"]; DBTEAMCOMMONGroupManagementType *groupManagementType = @@ -428,17 +432,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONGroupTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONGroupTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCOMMONGroupTypeSerializer serialize:self] description]; } @@ -459,10 +463,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMCOMMONGroupTypeTeam: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCOMMONGroupTypeUserManaged: result = prime * result + [[self tagName] hash]; + break; case DBTEAMCOMMONGroupTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -504,7 +511,7 @@ - (BOOL)isEqualToGroupType:(DBTEAMCOMMONGroupType *)aGroupType { @implementation DBTEAMCOMMONGroupTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isTeam]) { @@ -517,10 +524,10 @@ + (NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"team"]) { @@ -536,6 +543,205 @@ + (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)valueDict { @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMCOMMONMemberSpaceLimitType.h" + +#pragma mark - API Object + +@implementation DBTEAMCOMMONMemberSpaceLimitType + +#pragma mark - Constructors + +- (instancetype)initWithOff { + self = [super init]; + if (self) { + _tag = DBTEAMCOMMONMemberSpaceLimitTypeOff; + } + return self; +} + +- (instancetype)initWithAlertOnly { + self = [super init]; + if (self) { + _tag = DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly; + } + return self; +} + +- (instancetype)initWithStopSync { + self = [super init]; + if (self) { + _tag = DBTEAMCOMMONMemberSpaceLimitTypeStopSync; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMCOMMONMemberSpaceLimitTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOff { + return _tag == DBTEAMCOMMONMemberSpaceLimitTypeOff; +} + +- (BOOL)isAlertOnly { + return _tag == DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly; +} + +- (BOOL)isStopSync { + return _tag == DBTEAMCOMMONMemberSpaceLimitTypeStopSync; +} + +- (BOOL)isOther { + return _tag == DBTEAMCOMMONMemberSpaceLimitTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMCOMMONMemberSpaceLimitTypeOff: + return @"DBTEAMCOMMONMemberSpaceLimitTypeOff"; + case DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly: + return @"DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly"; + case DBTEAMCOMMONMemberSpaceLimitTypeStopSync: + return @"DBTEAMCOMMONMemberSpaceLimitTypeStopSync"; + case DBTEAMCOMMONMemberSpaceLimitTypeOther: + return @"DBTEAMCOMMONMemberSpaceLimitTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMCOMMONMemberSpaceLimitTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMCOMMONMemberSpaceLimitTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMCOMMONMemberSpaceLimitTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMCOMMONMemberSpaceLimitTypeOff: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMCOMMONMemberSpaceLimitTypeStopSync: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMCOMMONMemberSpaceLimitTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitType:(DBTEAMCOMMONMemberSpaceLimitType *)aMemberSpaceLimitType { + if (self == aMemberSpaceLimitType) { + return YES; + } + if (self.tag != aMemberSpaceLimitType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMCOMMONMemberSpaceLimitTypeOff: + return [[self tagName] isEqual:[aMemberSpaceLimitType tagName]]; + case DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly: + return [[self tagName] isEqual:[aMemberSpaceLimitType tagName]]; + case DBTEAMCOMMONMemberSpaceLimitTypeStopSync: + return [[self tagName] isEqual:[aMemberSpaceLimitType tagName]]; + case DBTEAMCOMMONMemberSpaceLimitTypeOther: + return [[self tagName] isEqual:[aMemberSpaceLimitType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMCOMMONMemberSpaceLimitTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMCOMMONMemberSpaceLimitType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOff]) { + jsonDict[@".tag"] = @"off"; + } else if ([valueObj isAlertOnly]) { + jsonDict[@".tag"] = @"alert_only"; + } else if ([valueObj isStopSync]) { + jsonDict[@".tag"] = @"stop_sync"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMCOMMONMemberSpaceLimitType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"off"]) { + return [[DBTEAMCOMMONMemberSpaceLimitType alloc] initWithOff]; + } else if ([tag isEqualToString:@"alert_only"]) { + return [[DBTEAMCOMMONMemberSpaceLimitType alloc] initWithAlertOnly]; + } else if ([tag isEqualToString:@"stop_sync"]) { + return [[DBTEAMCOMMONMemberSpaceLimitType alloc] initWithStopSync]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMCOMMONMemberSpaceLimitType alloc] initWithOther]; + } else { + return [[DBTEAMCOMMONMemberSpaceLimitType alloc] initWithOther]; + } +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMCOMMONTimeRange.h" @@ -562,17 +768,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMCOMMONTimeRangeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMCOMMONTimeRangeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMCOMMONTimeRangeSerializer serialize:self] description]; } @@ -635,7 +841,7 @@ - (BOOL)isEqualToTimeRange:(DBTEAMCOMMONTimeRange *)aTimeRange { @implementation DBTEAMCOMMONTimeRangeSerializer -+ (NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.startTime) { @@ -645,10 +851,10 @@ + (NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)valueObj { jsonDict[@"end_time"] = [DBNSDateSerializer serialize:valueObj.endTime dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)valueDict { NSDate *startTime = valueDict[@"start_time"] ? [DBNSDateSerializer deserialize:valueDict[@"start_time"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] : nil; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupManagementType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupManagementType.h index 7b0ab139b..3ea4b40aa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupManagementType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupManagementType.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMCOMMONGroupManagementTypeTag` enum type represents the possible /// tag states with which the `DBTEAMCOMMONGroupManagementType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupManagementTypeTag) { - /// A group which is managed by selected users. - DBTEAMCOMMONGroupManagementTypeUserManaged, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCOMMONGroupManagementTypeTag){ + /// A group which is managed by selected users. + DBTEAMCOMMONGroupManagementTypeUserManaged, - /// A group which is managed by team admins only. - DBTEAMCOMMONGroupManagementTypeCompanyManaged, + /// A group which is managed by team admins only. + DBTEAMCOMMONGroupManagementTypeCompanyManaged, - /// A group which is managed automatically by Dropbox. - DBTEAMCOMMONGroupManagementTypeSystemManaged, + /// A group which is managed automatically by Dropbox. + DBTEAMCOMMONGroupManagementTypeSystemManaged, - /// (no description). - DBTEAMCOMMONGroupManagementTypeOther, + /// (no description). + DBTEAMCOMMONGroupManagementTypeOther, }; @@ -143,7 +143,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupManagementTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupManagementType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupManagementType *)instance; /// /// Deserializes `DBTEAMCOMMONGroupManagementType` instances. @@ -153,7 +153,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupManagementTypeTag) { /// /// @return An instantiation of the `DBTEAMCOMMONGroupManagementType` object. /// -+ (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCOMMONGroupManagementType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupSummary.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupSummary.h index c0a211713..4939b3897 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupSummary.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupSummary.h @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupSummary` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupSummary *)instance; /// /// Deserializes `DBTEAMCOMMONGroupSummary` instances. @@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMCOMMONGroupSummary` object. /// -+ (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCOMMONGroupSummary *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupType.h index 2fd7446a4..4f83f89e5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONGroupType.h @@ -29,16 +29,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMCOMMONGroupTypeTag` enum type represents the possible tag states /// with which the `DBTEAMCOMMONGroupType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupTypeTag) { - /// A group to which team members are automatically added. Applicable to - /// team folders https://www.dropbox.com/help/986 only. - DBTEAMCOMMONGroupTypeTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCOMMONGroupTypeTag){ + /// A group to which team members are automatically added. Applicable to + /// team folders https://www.dropbox.com/help/986 only. + DBTEAMCOMMONGroupTypeTeam, - /// A group is created and managed by a user. - DBTEAMCOMMONGroupTypeUserManaged, + /// A group is created and managed by a user. + DBTEAMCOMMONGroupTypeUserManaged, - /// (no description). - DBTEAMCOMMONGroupTypeOther, + /// (no description). + DBTEAMCOMMONGroupTypeOther, }; @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONGroupType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCOMMONGroupType *)instance; /// /// Deserializes `DBTEAMCOMMONGroupType` instances. @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBTEAMCOMMONGroupTypeTag) { /// /// @return An instantiation of the `DBTEAMCOMMONGroupType` object. /// -+ (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCOMMONGroupType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONMemberSpaceLimitType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONMemberSpaceLimitType.h new file mode 100644 index 000000000..e99211ddb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONMemberSpaceLimitType.h @@ -0,0 +1,163 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMCOMMONMemberSpaceLimitType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitType` union. +/// +/// The type of the space limit imposed on a team member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMCOMMONMemberSpaceLimitType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMCOMMONMemberSpaceLimitTypeTag` enum type represents the possible +/// tag states with which the `DBTEAMCOMMONMemberSpaceLimitType` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMCOMMONMemberSpaceLimitTypeTag){ + /// The team member does not have imposed space limit. + DBTEAMCOMMONMemberSpaceLimitTypeOff, + + /// The team member has soft imposed space limit - the limit is used for + /// display and for notifications. + DBTEAMCOMMONMemberSpaceLimitTypeAlertOnly, + + /// The team member has hard imposed space limit - Dropbox file sync will + /// stop after the limit is reached. + DBTEAMCOMMONMemberSpaceLimitTypeStopSync, + + /// (no description). + DBTEAMCOMMONMemberSpaceLimitTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMCOMMONMemberSpaceLimitTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "off". +/// +/// Description of the "off" tag state: The team member does not have imposed +/// space limit. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOff; + +/// +/// Initializes union class with tag state of "alert_only". +/// +/// Description of the "alert_only" tag state: The team member has soft imposed +/// space limit - the limit is used for display and for notifications. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlertOnly; + +/// +/// Initializes union class with tag state of "stop_sync". +/// +/// Description of the "stop_sync" tag state: The team member has hard imposed +/// space limit - Dropbox file sync will stop after the limit is reached. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStopSync; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "off". +/// +/// @return Whether the union's current tag state has value "off". +/// +- (BOOL)isOff; + +/// +/// Retrieves whether the union's current tag state has value "alert_only". +/// +/// @return Whether the union's current tag state has value "alert_only". +/// +- (BOOL)isAlertOnly; + +/// +/// Retrieves whether the union's current tag state has value "stop_sync". +/// +/// @return Whether the union's current tag state has value "stop_sync". +/// +- (BOOL)isStopSync; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMCOMMONMemberSpaceLimitType` union. +/// +@interface DBTEAMCOMMONMemberSpaceLimitTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMCOMMONMemberSpaceLimitType` instances. +/// +/// @param instance An instance of the `DBTEAMCOMMONMemberSpaceLimitType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMCOMMONMemberSpaceLimitType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMCOMMONMemberSpaceLimitType *)instance; + +/// +/// Deserializes `DBTEAMCOMMONMemberSpaceLimitType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMCOMMONMemberSpaceLimitType` API object. +/// +/// @return An instantiation of the `DBTEAMCOMMONMemberSpaceLimitType` object. +/// ++ (DBTEAMCOMMONMemberSpaceLimitType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONTimeRange.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONTimeRange.h index 079dfad05..8f8a074d6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONTimeRange.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamCommon/Headers/DBTEAMCOMMONTimeRange.h @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMCOMMONTimeRange` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMCOMMONTimeRange *)instance; /// /// Deserializes `DBTEAMCOMMONTimeRange` instances. @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMCOMMONTimeRange` object. /// -+ (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)dict; ++ (DBTEAMCOMMONTimeRange *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m index 32f973af4..4f38be3bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/DBTeamLogObjects.m @@ -17,28 +17,29 @@ @implementation DBTEAMLOGAccessMethodLogInfo -@synthesize endUser = _endUser; -@synthesize signInAs = _signInAs; -@synthesize contentManager = _contentManager; @synthesize adminConsole = _adminConsole; @synthesize api = _api; +@synthesize contentManager = _contentManager; +@synthesize endUser = _endUser; +@synthesize enterpriseConsole = _enterpriseConsole; +@synthesize signInAs = _signInAs; #pragma mark - Constructors -- (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser { +- (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole { self = [super init]; if (self) { - _tag = DBTEAMLOGAccessMethodLogInfoEndUser; - _endUser = endUser; + _tag = DBTEAMLOGAccessMethodLogInfoAdminConsole; + _adminConsole = adminConsole; } return self; } -- (instancetype)initWithSignInAs:(DBTEAMLOGWebSessionLogInfo *)signInAs { +- (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api { self = [super init]; if (self) { - _tag = DBTEAMLOGAccessMethodLogInfoSignInAs; - _signInAs = signInAs; + _tag = DBTEAMLOGAccessMethodLogInfoApi; + _api = api; } return self; } @@ -52,20 +53,29 @@ - (instancetype)initWithContentManager:(DBTEAMLOGWebSessionLogInfo *)contentMana return self; } -- (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole { +- (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser { self = [super init]; if (self) { - _tag = DBTEAMLOGAccessMethodLogInfoAdminConsole; - _adminConsole = adminConsole; + _tag = DBTEAMLOGAccessMethodLogInfoEndUser; + _endUser = endUser; } return self; } -- (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api { +- (instancetype)initWithEnterpriseConsole:(DBTEAMLOGWebSessionLogInfo *)enterpriseConsole { self = [super init]; if (self) { - _tag = DBTEAMLOGAccessMethodLogInfoApi; - _api = api; + _tag = DBTEAMLOGAccessMethodLogInfoEnterpriseConsole; + _enterpriseConsole = enterpriseConsole; + } + return self; +} + +- (instancetype)initWithSignInAs:(DBTEAMLOGWebSessionLogInfo *)signInAs { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAccessMethodLogInfoSignInAs; + _signInAs = signInAs; } return self; } @@ -80,20 +90,20 @@ - (instancetype)initWithOther { #pragma mark - Instance field accessors -- (DBTEAMLOGSessionLogInfo *)endUser { - if (![self isEndUser]) { +- (DBTEAMLOGWebSessionLogInfo *)adminConsole { + if (![self isAdminConsole]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoEndUser, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoAdminConsole, but was %@.", [self tagName]]; } - return _endUser; + return _adminConsole; } -- (DBTEAMLOGWebSessionLogInfo *)signInAs { - if (![self isSignInAs]) { +- (DBTEAMLOGApiSessionLogInfo *)api { + if (![self isApi]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoSignInAs, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoApi, but was %@.", [self tagName]]; } - return _signInAs; + return _api; } - (DBTEAMLOGWebSessionLogInfo *)contentManager { @@ -105,42 +115,55 @@ - (DBTEAMLOGWebSessionLogInfo *)contentManager { return _contentManager; } -- (DBTEAMLOGWebSessionLogInfo *)adminConsole { - if (![self isAdminConsole]) { +- (DBTEAMLOGSessionLogInfo *)endUser { + if (![self isEndUser]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoAdminConsole, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoEndUser, but was %@.", [self tagName]]; } - return _adminConsole; + return _endUser; } -- (DBTEAMLOGApiSessionLogInfo *)api { - if (![self isApi]) { +- (DBTEAMLOGWebSessionLogInfo *)enterpriseConsole { + if (![self isEnterpriseConsole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoEnterpriseConsole, but was %@.", [self tagName]]; + } + return _enterpriseConsole; +} + +- (DBTEAMLOGWebSessionLogInfo *)signInAs { + if (![self isSignInAs]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoApi, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGAccessMethodLogInfoSignInAs, but was %@.", [self tagName]]; } - return _api; + return _signInAs; } #pragma mark - Tag state methods -- (BOOL)isEndUser { - return _tag == DBTEAMLOGAccessMethodLogInfoEndUser; +- (BOOL)isAdminConsole { + return _tag == DBTEAMLOGAccessMethodLogInfoAdminConsole; } -- (BOOL)isSignInAs { - return _tag == DBTEAMLOGAccessMethodLogInfoSignInAs; +- (BOOL)isApi { + return _tag == DBTEAMLOGAccessMethodLogInfoApi; } - (BOOL)isContentManager { return _tag == DBTEAMLOGAccessMethodLogInfoContentManager; } -- (BOOL)isAdminConsole { - return _tag == DBTEAMLOGAccessMethodLogInfoAdminConsole; +- (BOOL)isEndUser { + return _tag == DBTEAMLOGAccessMethodLogInfoEndUser; } -- (BOOL)isApi { - return _tag == DBTEAMLOGAccessMethodLogInfoApi; +- (BOOL)isEnterpriseConsole { + return _tag == DBTEAMLOGAccessMethodLogInfoEnterpriseConsole; +} + +- (BOOL)isSignInAs { + return _tag == DBTEAMLOGAccessMethodLogInfoSignInAs; } - (BOOL)isOther { @@ -149,16 +172,18 @@ - (BOOL)isOther { - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGAccessMethodLogInfoEndUser: - return @"DBTEAMLOGAccessMethodLogInfoEndUser"; - case DBTEAMLOGAccessMethodLogInfoSignInAs: - return @"DBTEAMLOGAccessMethodLogInfoSignInAs"; - case DBTEAMLOGAccessMethodLogInfoContentManager: - return @"DBTEAMLOGAccessMethodLogInfoContentManager"; case DBTEAMLOGAccessMethodLogInfoAdminConsole: return @"DBTEAMLOGAccessMethodLogInfoAdminConsole"; case DBTEAMLOGAccessMethodLogInfoApi: return @"DBTEAMLOGAccessMethodLogInfoApi"; + case DBTEAMLOGAccessMethodLogInfoContentManager: + return @"DBTEAMLOGAccessMethodLogInfoContentManager"; + case DBTEAMLOGAccessMethodLogInfoEndUser: + return @"DBTEAMLOGAccessMethodLogInfoEndUser"; + case DBTEAMLOGAccessMethodLogInfoEnterpriseConsole: + return @"DBTEAMLOGAccessMethodLogInfoEnterpriseConsole"; + case DBTEAMLOGAccessMethodLogInfoSignInAs: + return @"DBTEAMLOGAccessMethodLogInfoSignInAs"; case DBTEAMLOGAccessMethodLogInfoOther: return @"DBTEAMLOGAccessMethodLogInfoOther"; } @@ -168,17 +193,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccessMethodLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccessMethodLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGAccessMethodLogInfoSerializer serialize:self] description]; } @@ -197,18 +222,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGAccessMethodLogInfoEndUser: - result = prime * result + [self.endUser hash]; - case DBTEAMLOGAccessMethodLogInfoSignInAs: - result = prime * result + [self.signInAs hash]; - case DBTEAMLOGAccessMethodLogInfoContentManager: - result = prime * result + [self.contentManager hash]; case DBTEAMLOGAccessMethodLogInfoAdminConsole: result = prime * result + [self.adminConsole hash]; + break; case DBTEAMLOGAccessMethodLogInfoApi: result = prime * result + [self.api hash]; + break; + case DBTEAMLOGAccessMethodLogInfoContentManager: + result = prime * result + [self.contentManager hash]; + break; + case DBTEAMLOGAccessMethodLogInfoEndUser: + result = prime * result + [self.endUser hash]; + break; + case DBTEAMLOGAccessMethodLogInfoEnterpriseConsole: + result = prime * result + [self.enterpriseConsole hash]; + break; + case DBTEAMLOGAccessMethodLogInfoSignInAs: + result = prime * result + [self.signInAs hash]; + break; case DBTEAMLOGAccessMethodLogInfoOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -234,16 +268,18 @@ - (BOOL)isEqualToAccessMethodLogInfo:(DBTEAMLOGAccessMethodLogInfo *)anAccessMet return NO; } switch (_tag) { - case DBTEAMLOGAccessMethodLogInfoEndUser: - return [self.endUser isEqual:anAccessMethodLogInfo.endUser]; - case DBTEAMLOGAccessMethodLogInfoSignInAs: - return [self.signInAs isEqual:anAccessMethodLogInfo.signInAs]; - case DBTEAMLOGAccessMethodLogInfoContentManager: - return [self.contentManager isEqual:anAccessMethodLogInfo.contentManager]; case DBTEAMLOGAccessMethodLogInfoAdminConsole: return [self.adminConsole isEqual:anAccessMethodLogInfo.adminConsole]; case DBTEAMLOGAccessMethodLogInfoApi: return [self.api isEqual:anAccessMethodLogInfo.api]; + case DBTEAMLOGAccessMethodLogInfoContentManager: + return [self.contentManager isEqual:anAccessMethodLogInfo.contentManager]; + case DBTEAMLOGAccessMethodLogInfoEndUser: + return [self.endUser isEqual:anAccessMethodLogInfo.endUser]; + case DBTEAMLOGAccessMethodLogInfoEnterpriseConsole: + return [self.enterpriseConsole isEqual:anAccessMethodLogInfo.enterpriseConsole]; + case DBTEAMLOGAccessMethodLogInfoSignInAs: + return [self.signInAs isEqual:anAccessMethodLogInfo.signInAs]; case DBTEAMLOGAccessMethodLogInfoOther: return [[self tagName] isEqual:[anAccessMethodLogInfo tagName]]; } @@ -256,52 +292,57 @@ - (BOOL)isEqualToAccessMethodLogInfo:(DBTEAMLOGAccessMethodLogInfo *)anAccessMet @implementation DBTEAMLOGAccessMethodLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isEndUser]) { + if ([valueObj isAdminConsole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.adminConsole]]; + jsonDict[@".tag"] = @"admin_console"; + } else if ([valueObj isApi]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGApiSessionLogInfoSerializer serialize:valueObj.api]]; + jsonDict[@".tag"] = @"api"; + } else if ([valueObj isContentManager]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.contentManager]]; + jsonDict[@".tag"] = @"content_manager"; + } else if ([valueObj isEndUser]) { jsonDict[@"end_user"] = [[DBTEAMLOGSessionLogInfoSerializer serialize:valueObj.endUser] mutableCopy]; jsonDict[@".tag"] = @"end_user"; + } else if ([valueObj isEnterpriseConsole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.enterpriseConsole]]; + jsonDict[@".tag"] = @"enterprise_console"; } else if ([valueObj isSignInAs]) { - jsonDict[@"sign_in_as"] = [[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.signInAs] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.signInAs]]; jsonDict[@".tag"] = @"sign_in_as"; - } else if ([valueObj isContentManager]) { - jsonDict[@"content_manager"] = - [[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.contentManager] mutableCopy]; - jsonDict[@".tag"] = @"content_manager"; - } else if ([valueObj isAdminConsole]) { - jsonDict[@"admin_console"] = [[DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.adminConsole] mutableCopy]; - jsonDict[@".tag"] = @"admin_console"; - } else if ([valueObj isApi]) { - jsonDict[@"api"] = [[DBTEAMLOGApiSessionLogInfoSerializer serialize:valueObj.api] mutableCopy]; - jsonDict[@".tag"] = @"api"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"end_user"]) { - DBTEAMLOGSessionLogInfo *endUser = [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"end_user"]]; - return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithEndUser:endUser]; - } else if ([tag isEqualToString:@"sign_in_as"]) { - DBTEAMLOGWebSessionLogInfo *signInAs = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithSignInAs:signInAs]; - } else if ([tag isEqualToString:@"content_manager"]) { - DBTEAMLOGWebSessionLogInfo *contentManager = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithContentManager:contentManager]; - } else if ([tag isEqualToString:@"admin_console"]) { + if ([tag isEqualToString:@"admin_console"]) { DBTEAMLOGWebSessionLogInfo *adminConsole = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithAdminConsole:adminConsole]; } else if ([tag isEqualToString:@"api"]) { DBTEAMLOGApiSessionLogInfo *api = [DBTEAMLOGApiSessionLogInfoSerializer deserialize:valueDict]; return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithApi:api]; + } else if ([tag isEqualToString:@"content_manager"]) { + DBTEAMLOGWebSessionLogInfo *contentManager = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithContentManager:contentManager]; + } else if ([tag isEqualToString:@"end_user"]) { + DBTEAMLOGSessionLogInfo *endUser = [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"end_user"]]; + return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithEndUser:endUser]; + } else if ([tag isEqualToString:@"enterprise_console"]) { + DBTEAMLOGWebSessionLogInfo *enterpriseConsole = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithEnterpriseConsole:enterpriseConsole]; + } else if ([tag isEqualToString:@"sign_in_as"]) { + DBTEAMLOGWebSessionLogInfo *signInAs = [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithSignInAs:signInAs]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGAccessMethodLogInfo alloc] initWithOther]; } else { @@ -321,18 +362,18 @@ @implementation DBTEAMLOGAccountCaptureAvailability #pragma mark - Constructors -- (instancetype)initWithUnavailable { +- (instancetype)initWithAvailable { self = [super init]; if (self) { - _tag = DBTEAMLOGAccountCaptureAvailabilityUnavailable; + _tag = DBTEAMLOGAccountCaptureAvailabilityAvailable; } return self; } -- (instancetype)initWithAvailable { +- (instancetype)initWithUnavailable { self = [super init]; if (self) { - _tag = DBTEAMLOGAccountCaptureAvailabilityAvailable; + _tag = DBTEAMLOGAccountCaptureAvailabilityUnavailable; } return self; } @@ -349,24 +390,24 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isUnavailable { - return _tag == DBTEAMLOGAccountCaptureAvailabilityUnavailable; -} - - (BOOL)isAvailable { return _tag == DBTEAMLOGAccountCaptureAvailabilityAvailable; } +- (BOOL)isUnavailable { + return _tag == DBTEAMLOGAccountCaptureAvailabilityUnavailable; +} + - (BOOL)isOther { return _tag == DBTEAMLOGAccountCaptureAvailabilityOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGAccountCaptureAvailabilityUnavailable: - return @"DBTEAMLOGAccountCaptureAvailabilityUnavailable"; case DBTEAMLOGAccountCaptureAvailabilityAvailable: return @"DBTEAMLOGAccountCaptureAvailabilityAvailable"; + case DBTEAMLOGAccountCaptureAvailabilityUnavailable: + return @"DBTEAMLOGAccountCaptureAvailabilityUnavailable"; case DBTEAMLOGAccountCaptureAvailabilityOther: return @"DBTEAMLOGAccountCaptureAvailabilityOther"; } @@ -376,17 +417,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureAvailabilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:self] description]; } @@ -405,12 +446,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGAccountCaptureAvailabilityUnavailable: - result = prime * result + [[self tagName] hash]; case DBTEAMLOGAccountCaptureAvailabilityAvailable: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAccountCaptureAvailabilityUnavailable: + result = prime * result + [[self tagName] hash]; + break; case DBTEAMLOGAccountCaptureAvailabilityOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -436,10 +480,10 @@ - (BOOL)isEqualToAccountCaptureAvailability:(DBTEAMLOGAccountCaptureAvailability return NO; } switch (_tag) { - case DBTEAMLOGAccountCaptureAvailabilityUnavailable: - return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; case DBTEAMLOGAccountCaptureAvailabilityAvailable: return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; + case DBTEAMLOGAccountCaptureAvailabilityUnavailable: + return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; case DBTEAMLOGAccountCaptureAvailabilityOther: return [[self tagName] isEqual:[anAccountCaptureAvailability tagName]]; } @@ -452,29 +496,29 @@ - (BOOL)isEqualToAccountCaptureAvailability:(DBTEAMLOGAccountCaptureAvailability @implementation DBTEAMLOGAccountCaptureAvailabilitySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUnavailable]) { - jsonDict[@".tag"] = @"unavailable"; - } else if ([valueObj isAvailable]) { + if ([valueObj isAvailable]) { jsonDict[@".tag"] = @"available"; + } else if ([valueObj isUnavailable]) { + jsonDict[@".tag"] = @"unavailable"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"unavailable"]) { - return [[DBTEAMLOGAccountCaptureAvailability alloc] initWithUnavailable]; - } else if ([tag isEqualToString:@"available"]) { + if ([tag isEqualToString:@"available"]) { return [[DBTEAMLOGAccountCaptureAvailability alloc] initWithAvailable]; + } else if ([tag isEqualToString:@"unavailable"]) { + return [[DBTEAMLOGAccountCaptureAvailability alloc] initWithUnavailable]; } else if ([tag isEqualToString:@"other"]) { return [[DBTEAMLOGAccountCaptureAvailability alloc] initWithOther]; } else { @@ -513,17 +557,17 @@ - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCaptureAvailability *)dNewVal #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer serialize:self] description]; } @@ -583,7 +627,7 @@ - (BOOL)isEqualToAccountCaptureChangeAvailabilityDetails: @implementation DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:valueObj.dNewValue]; @@ -591,10 +635,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *) jsonDict[@"previous_value"] = [DBTEAMLOGAccountCaptureAvailabilitySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAccountCaptureAvailability *dNewValue = [DBTEAMLOGAccountCaptureAvailabilitySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGAccountCaptureAvailability *previousValue = @@ -608,6 +652,106 @@ + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccountCaptureChangeAvailabilityType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGAccountCaptureChangeAvailabilityType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAccountCaptureChangeAvailabilityType:other]; +} + +- (BOOL)isEqualToAccountCaptureChangeAvailabilityType: + (DBTEAMLOGAccountCaptureChangeAvailabilityType *)anAccountCaptureChangeAvailabilityType { + if (self == anAccountCaptureChangeAvailabilityType) { + return YES; + } + if (![self.description_ isEqual:anAccountCaptureChangeAvailabilityType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGAccountCaptureChangeAvailabilityType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGAccountCaptureChangeAvailabilityType alloc] initWithDescription_:description_]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureChangePolicyDetails.h" @@ -637,17 +781,17 @@ - (instancetype)initWithDNewValue:(DBTEAMLOGAccountCapturePolicy *)dNewValue { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer serialize:self] description]; } @@ -707,7 +851,7 @@ - (BOOL)isEqualToAccountCaptureChangePolicyDetails: @implementation DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"new_value"] = [DBTEAMLOGAccountCapturePolicySerializer serialize:valueObj.dNewValue]; @@ -715,10 +859,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)valueO jsonDict[@"previous_value"] = [DBTEAMLOGAccountCapturePolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAccountCapturePolicy *dNewValue = [DBTEAMLOGAccountCapturePolicySerializer deserialize:valueDict[@"new_value"]]; DBTEAMLOGAccountCapturePolicy *previousValue = @@ -730,6 +874,106 @@ + (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)valu @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccountCaptureChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGAccountCaptureChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAccountCaptureChangePolicyType:other]; +} + +- (BOOL)isEqualToAccountCaptureChangePolicyType: + (DBTEAMLOGAccountCaptureChangePolicyType *)anAccountCaptureChangePolicyType { + if (self == anAccountCaptureChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:anAccountCaptureChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGAccountCaptureChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGAccountCaptureChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGAccountCaptureChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGAccountCaptureMigrateAccountDetails.h" @@ -752,17 +996,17 @@ - (instancetype)initWithDomainName:(NSString *)domainName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer serialize:self] description]; } @@ -814,15 +1058,15 @@ - (BOOL)isEqualToAccountCaptureMigrateAccountDetails: @implementation DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"domain_name"] = valueObj.domainName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)valueDict { NSString *domainName = valueDict[@"domain_name"]; return [[DBTEAMLOGAccountCaptureMigrateAccountDetails alloc] initWithDomainName:domainName]; @@ -832,95 +1076,145 @@ + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)va #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAccountCapturePolicy.h" +#import "DBTEAMLOGAccountCaptureMigrateAccountType.h" #pragma mark - API Object -@implementation DBTEAMLOGAccountCapturePolicy +@implementation DBTEAMLOGAccountCaptureMigrateAccountType #pragma mark - Constructors -- (instancetype)initWithDisabled { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGAccountCapturePolicyDisabled; + _description_ = description_; } return self; } -- (instancetype)initWithInvitedUsers { - self = [super init]; - if (self) { - _tag = DBTEAMLOGAccountCapturePolicyInvitedUsers; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer serialize:instance]; } -- (instancetype)initWithAllUsers { - self = [super init]; - if (self) { - _tag = DBTEAMLOGAccountCapturePolicyAllUsers; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer deserialize:dict]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGAccountCapturePolicyOther; - } +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -#pragma mark - Instance field accessors +#pragma mark - Hash method -#pragma mark - Tag state methods +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isDisabled { - return _tag == DBTEAMLOGAccountCapturePolicyDisabled; + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (BOOL)isInvitedUsers { - return _tag == DBTEAMLOGAccountCapturePolicyInvitedUsers; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAccountCaptureMigrateAccountType:other]; } -- (BOOL)isAllUsers { - return _tag == DBTEAMLOGAccountCapturePolicyAllUsers; +- (BOOL)isEqualToAccountCaptureMigrateAccountType: + (DBTEAMLOGAccountCaptureMigrateAccountType *)anAccountCaptureMigrateAccountType { + if (self == anAccountCaptureMigrateAccountType) { + return YES; + } + if (![self.description_ isEqual:anAccountCaptureMigrateAccountType.description_]) { + return NO; + } + return YES; } -- (BOOL)isOther { - return _tag == DBTEAMLOGAccountCapturePolicyOther; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGAccountCapturePolicyDisabled: - return @"DBTEAMLOGAccountCapturePolicyDisabled"; - case DBTEAMLOGAccountCapturePolicyInvitedUsers: - return @"DBTEAMLOGAccountCapturePolicyInvitedUsers"; - case DBTEAMLOGAccountCapturePolicyAllUsers: - return @"DBTEAMLOGAccountCapturePolicyAllUsers"; - case DBTEAMLOGAccountCapturePolicyOther: - return @"DBTEAMLOGAccountCapturePolicyOther"; ++ (DBTEAMLOGAccountCaptureMigrateAccountType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGAccountCaptureMigrateAccountType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h" +#import "DBTEAMLOGAccountCaptureNotificationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGAccountCaptureNotificationEmailsSentDetails + +#pragma mark - Constructors + +- (instancetype)initWithDomainName:(NSString *)domainName + notificationType:(DBTEAMLOGAccountCaptureNotificationType *)notificationType { + [DBStoneValidators nonnullValidator:nil](domainName); + + self = [super init]; + if (self) { + _domainName = domainName; + _notificationType = notificationType; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithDomainName:(NSString *)domainName { + return [self initWithDomainName:domainName notificationType:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAccountCapturePolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAccountCapturePolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAccountCapturePolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -937,15 +1231,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGAccountCapturePolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAccountCapturePolicyInvitedUsers: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAccountCapturePolicyAllUsers: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAccountCapturePolicyOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainName hash]; + if (self.notificationType != nil) { + result = prime * result + [self.notificationType hash]; } return prime * result; @@ -960,25 +1248,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAccountCapturePolicy:other]; + return [self isEqualToAccountCaptureNotificationEmailsSentDetails:other]; } -- (BOOL)isEqualToAccountCapturePolicy:(DBTEAMLOGAccountCapturePolicy *)anAccountCapturePolicy { - if (self == anAccountCapturePolicy) { +- (BOOL)isEqualToAccountCaptureNotificationEmailsSentDetails: + (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)anAccountCaptureNotificationEmailsSentDetails { + if (self == anAccountCaptureNotificationEmailsSentDetails) { return YES; } - if (self.tag != anAccountCapturePolicy.tag) { + if (![self.domainName isEqual:anAccountCaptureNotificationEmailsSentDetails.domainName]) { return NO; } - switch (_tag) { - case DBTEAMLOGAccountCapturePolicyDisabled: - return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; - case DBTEAMLOGAccountCapturePolicyInvitedUsers: - return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; - case DBTEAMLOGAccountCapturePolicyAllUsers: - return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; - case DBTEAMLOGAccountCapturePolicyOther: - return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + if (self.notificationType) { + if (![self.notificationType isEqual:anAccountCaptureNotificationEmailsSentDetails.notificationType]) { + return NO; + } } return YES; } @@ -987,78 +1271,67 @@ - (BOOL)isEqualToAccountCapturePolicy:(DBTEAMLOGAccountCapturePolicy *)anAccount #pragma mark - Serializer Object -@implementation DBTEAMLOGAccountCapturePolicySerializer +@implementation DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isInvitedUsers]) { - jsonDict[@".tag"] = @"invited_users"; - } else if ([valueObj isAllUsers]) { - jsonDict[@".tag"] = @"all_users"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"domain_name"] = valueObj.domainName; + if (valueObj.notificationType) { + jsonDict[@"notification_type"] = + [DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:valueObj.notificationType]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *domainName = valueDict[@"domain_name"]; + DBTEAMLOGAccountCaptureNotificationType *notificationType = + valueDict[@"notification_type"] + ? [DBTEAMLOGAccountCaptureNotificationTypeSerializer deserialize:valueDict[@"notification_type"]] + : nil; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGAccountCapturePolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"invited_users"]) { - return [[DBTEAMLOGAccountCapturePolicy alloc] initWithInvitedUsers]; - } else if ([tag isEqualToString:@"all_users"]) { - return [[DBTEAMLOGAccountCapturePolicy alloc] initWithAllUsers]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; - } + return [[DBTEAMLOGAccountCaptureNotificationEmailsSentDetails alloc] initWithDomainName:domainName + notificationType:notificationType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentType.h" #pragma mark - API Object -@implementation DBTEAMLOGAccountCaptureRelinquishAccountDetails +@implementation DBTEAMLOGAccountCaptureNotificationEmailsSentType #pragma mark - Constructors -- (instancetype)initWithDomainName:(NSString *)domainName { - [DBStoneValidators nonnullValidator:nil](domainName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _domainName = domainName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1075,7 +1348,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.domainName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -1089,15 +1362,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAccountCaptureRelinquishAccountDetails:other]; + return [self isEqualToAccountCaptureNotificationEmailsSentType:other]; } -- (BOOL)isEqualToAccountCaptureRelinquishAccountDetails: - (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)anAccountCaptureRelinquishAccountDetails { - if (self == anAccountCaptureRelinquishAccountDetails) { +- (BOOL)isEqualToAccountCaptureNotificationEmailsSentType: + (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)anAccountCaptureNotificationEmailsSentType { + if (self == anAccountCaptureNotificationEmailsSentType) { return YES; } - if (![self.domainName isEqual:anAccountCaptureRelinquishAccountDetails.domainName]) { + if (![self.description_ isEqual:anAccountCaptureNotificationEmailsSentType.description_]) { return NO; } return YES; @@ -1107,82 +1380,46 @@ - (BOOL)isEqualToAccountCaptureRelinquishAccountDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer +@implementation DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"domain_name"] = valueObj.domainName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)valueDict { - NSString *domainName = valueDict[@"domain_name"]; ++ (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGAccountCaptureRelinquishAccountDetails alloc] initWithDomainName:domainName]; + return [[DBTEAMLOGAccountCaptureNotificationEmailsSentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGActorLogInfo.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGResellerLogInfo.h" -#import "DBTEAMLOGUserLogInfo.h" +#import "DBTEAMLOGAccountCaptureNotificationType.h" #pragma mark - API Object -@implementation DBTEAMLOGActorLogInfo - -@synthesize user = _user; -@synthesize admin = _admin; -@synthesize app = _app; -@synthesize reseller = _reseller; +@implementation DBTEAMLOGAccountCaptureNotificationType #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user { - self = [super init]; - if (self) { - _tag = DBTEAMLOGActorLogInfoUser; - _user = user; - } - return self; -} - -- (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin { - self = [super init]; - if (self) { - _tag = DBTEAMLOGActorLogInfoAdmin; - _admin = admin; - } - return self; -} - -- (instancetype)initWithApp:(DBTEAMLOGAppLogInfo *)app { - self = [super init]; - if (self) { - _tag = DBTEAMLOGActorLogInfoApp; - _app = app; - } - return self; -} - -- (instancetype)initWithReseller:(DBTEAMLOGResellerLogInfo *)reseller { +- (instancetype)initWithActionableNotification { self = [super init]; if (self) { - _tag = DBTEAMLOGActorLogInfoReseller; - _reseller = reseller; + _tag = DBTEAMLOGAccountCaptureNotificationTypeActionableNotification; } return self; } -- (instancetype)initWithDropbox { +- (instancetype)initWithProactiveWarningNotification { self = [super init]; if (self) { - _tag = DBTEAMLOGActorLogInfoDropbox; + _tag = DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification; } return self; } @@ -1190,85 +1427,35 @@ - (instancetype)initWithDropbox { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGActorLogInfoOther; + _tag = DBTEAMLOGAccountCaptureNotificationTypeOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMLOGUserLogInfo *)user { - if (![self isUser]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGActorLogInfoUser, but was %@.", [self tagName]]; - } - return _user; -} - -- (DBTEAMLOGUserLogInfo *)admin { - if (![self isAdmin]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGActorLogInfoAdmin, but was %@.", [self tagName]]; - } - return _admin; -} - -- (DBTEAMLOGAppLogInfo *)app { - if (![self isApp]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGActorLogInfoApp, but was %@.", [self tagName]]; - } - return _app; -} - -- (DBTEAMLOGResellerLogInfo *)reseller { - if (![self isReseller]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGActorLogInfoReseller, but was %@.", [self tagName]]; - } - return _reseller; -} - #pragma mark - Tag state methods -- (BOOL)isUser { - return _tag == DBTEAMLOGActorLogInfoUser; -} - -- (BOOL)isAdmin { - return _tag == DBTEAMLOGActorLogInfoAdmin; -} - -- (BOOL)isApp { - return _tag == DBTEAMLOGActorLogInfoApp; -} - -- (BOOL)isReseller { - return _tag == DBTEAMLOGActorLogInfoReseller; +- (BOOL)isActionableNotification { + return _tag == DBTEAMLOGAccountCaptureNotificationTypeActionableNotification; } -- (BOOL)isDropbox { - return _tag == DBTEAMLOGActorLogInfoDropbox; +- (BOOL)isProactiveWarningNotification { + return _tag == DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification; } - (BOOL)isOther { - return _tag == DBTEAMLOGActorLogInfoOther; + return _tag == DBTEAMLOGAccountCaptureNotificationTypeOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGActorLogInfoUser: - return @"DBTEAMLOGActorLogInfoUser"; - case DBTEAMLOGActorLogInfoAdmin: - return @"DBTEAMLOGActorLogInfoAdmin"; - case DBTEAMLOGActorLogInfoApp: - return @"DBTEAMLOGActorLogInfoApp"; - case DBTEAMLOGActorLogInfoReseller: - return @"DBTEAMLOGActorLogInfoReseller"; - case DBTEAMLOGActorLogInfoDropbox: - return @"DBTEAMLOGActorLogInfoDropbox"; - case DBTEAMLOGActorLogInfoOther: - return @"DBTEAMLOGActorLogInfoOther"; + case DBTEAMLOGAccountCaptureNotificationTypeActionableNotification: + return @"DBTEAMLOGAccountCaptureNotificationTypeActionableNotification"; + case DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification: + return @"DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification"; + case DBTEAMLOGAccountCaptureNotificationTypeOther: + return @"DBTEAMLOGAccountCaptureNotificationTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1276,18 +1463,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGActorLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGActorLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureNotificationTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGActorLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureNotificationTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1305,18 +1492,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGActorLogInfoUser: - result = prime * result + [self.user hash]; - case DBTEAMLOGActorLogInfoAdmin: - result = prime * result + [self.admin hash]; - case DBTEAMLOGActorLogInfoApp: - result = prime * result + [self.app hash]; - case DBTEAMLOGActorLogInfoReseller: - result = prime * result + [self.reseller hash]; - case DBTEAMLOGActorLogInfoDropbox: + case DBTEAMLOGAccountCaptureNotificationTypeActionableNotification: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGActorLogInfoOther: + break; + case DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAccountCaptureNotificationTypeOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1331,29 +1515,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToActorLogInfo:other]; + return [self isEqualToAccountCaptureNotificationType:other]; } -- (BOOL)isEqualToActorLogInfo:(DBTEAMLOGActorLogInfo *)anActorLogInfo { - if (self == anActorLogInfo) { +- (BOOL)isEqualToAccountCaptureNotificationType: + (DBTEAMLOGAccountCaptureNotificationType *)anAccountCaptureNotificationType { + if (self == anAccountCaptureNotificationType) { return YES; } - if (self.tag != anActorLogInfo.tag) { + if (self.tag != anAccountCaptureNotificationType.tag) { return NO; } switch (_tag) { - case DBTEAMLOGActorLogInfoUser: - return [self.user isEqual:anActorLogInfo.user]; - case DBTEAMLOGActorLogInfoAdmin: - return [self.admin isEqual:anActorLogInfo.admin]; - case DBTEAMLOGActorLogInfoApp: - return [self.app isEqual:anActorLogInfo.app]; - case DBTEAMLOGActorLogInfoReseller: - return [self.reseller isEqual:anActorLogInfo.reseller]; - case DBTEAMLOGActorLogInfoDropbox: - return [[self tagName] isEqual:[anActorLogInfo tagName]]; - case DBTEAMLOGActorLogInfoOther: - return [[self tagName] isEqual:[anActorLogInfo tagName]]; + case DBTEAMLOGAccountCaptureNotificationTypeActionableNotification: + return [[self tagName] isEqual:[anAccountCaptureNotificationType tagName]]; + case DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification: + return [[self tagName] isEqual:[anAccountCaptureNotificationType tagName]]; + case DBTEAMLOGAccountCaptureNotificationTypeOther: + return [[self tagName] isEqual:[anAccountCaptureNotificationType tagName]]; } return YES; } @@ -1362,55 +1541,35 @@ - (BOOL)isEqualToActorLogInfo:(DBTEAMLOGActorLogInfo *)anActorLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGActorLogInfoSerializer +@implementation DBTEAMLOGAccountCaptureNotificationTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUser]) { - jsonDict[@"user"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.user] mutableCopy]; - jsonDict[@".tag"] = @"user"; - } else if ([valueObj isAdmin]) { - jsonDict[@"admin"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.admin] mutableCopy]; - jsonDict[@".tag"] = @"admin"; - } else if ([valueObj isApp]) { - jsonDict[@"app"] = [[DBTEAMLOGAppLogInfoSerializer serialize:valueObj.app] mutableCopy]; - jsonDict[@".tag"] = @"app"; - } else if ([valueObj isReseller]) { - jsonDict[@"reseller"] = [[DBTEAMLOGResellerLogInfoSerializer serialize:valueObj.reseller] mutableCopy]; - jsonDict[@".tag"] = @"reseller"; - } else if ([valueObj isDropbox]) { - jsonDict[@".tag"] = @"dropbox"; + if ([valueObj isActionableNotification]) { + jsonDict[@".tag"] = @"actionable_notification"; + } else if ([valueObj isProactiveWarningNotification]) { + jsonDict[@".tag"] = @"proactive_warning_notification"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCaptureNotificationType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user"]) { - DBTEAMLOGUserLogInfo *user = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"user"]]; - return [[DBTEAMLOGActorLogInfo alloc] initWithUser:user]; - } else if ([tag isEqualToString:@"admin"]) { - DBTEAMLOGUserLogInfo *admin = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"admin"]]; - return [[DBTEAMLOGActorLogInfo alloc] initWithAdmin:admin]; - } else if ([tag isEqualToString:@"app"]) { - DBTEAMLOGAppLogInfo *app = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app"]]; - return [[DBTEAMLOGActorLogInfo alloc] initWithApp:app]; - } else if ([tag isEqualToString:@"reseller"]) { - DBTEAMLOGResellerLogInfo *reseller = [DBTEAMLOGResellerLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGActorLogInfo alloc] initWithReseller:reseller]; - } else if ([tag isEqualToString:@"dropbox"]) { - return [[DBTEAMLOGActorLogInfo alloc] initWithDropbox]; + if ([tag isEqualToString:@"actionable_notification"]) { + return [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithActionableNotification]; + } else if ([tag isEqualToString:@"proactive_warning_notification"]) { + return [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithProactiveWarningNotification]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGActorLogInfo alloc] initWithOther]; + return [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithOther]; } else { - return [[DBTEAMLOGActorLogInfo alloc] initWithOther]; + return [[DBTEAMLOGAccountCaptureNotificationType alloc] initWithOther]; } } @@ -1418,50 +1577,42 @@ + (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAdminRole.h" +#import "DBTEAMLOGAccountCapturePolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGAdminRole +@implementation DBTEAMLOGAccountCapturePolicy #pragma mark - Constructors -- (instancetype)initWithUser { - self = [super init]; - if (self) { - _tag = DBTEAMLOGAdminRoleUser; - } - return self; -} - -- (instancetype)initWithLimitedAdmin { +- (instancetype)initWithAllUsers { self = [super init]; if (self) { - _tag = DBTEAMLOGAdminRoleLimitedAdmin; + _tag = DBTEAMLOGAccountCapturePolicyAllUsers; } return self; } -- (instancetype)initWithSupportAdmin { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGAdminRoleSupportAdmin; + _tag = DBTEAMLOGAccountCapturePolicyDisabled; } return self; } -- (instancetype)initWithUserManagementAdmin { +- (instancetype)initWithInvitedUsers { self = [super init]; if (self) { - _tag = DBTEAMLOGAdminRoleUserManagementAdmin; + _tag = DBTEAMLOGAccountCapturePolicyInvitedUsers; } return self; } -- (instancetype)initWithTeamAdmin { +- (instancetype)initWithPreventPersonalCreation { self = [super init]; if (self) { - _tag = DBTEAMLOGAdminRoleTeamAdmin; + _tag = DBTEAMLOGAccountCapturePolicyPreventPersonalCreation; } return self; } @@ -1469,7 +1620,7 @@ - (instancetype)initWithTeamAdmin { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGAdminRoleOther; + _tag = DBTEAMLOGAccountCapturePolicyOther; } return self; } @@ -1478,44 +1629,38 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isUser { - return _tag == DBTEAMLOGAdminRoleUser; -} - -- (BOOL)isLimitedAdmin { - return _tag == DBTEAMLOGAdminRoleLimitedAdmin; +- (BOOL)isAllUsers { + return _tag == DBTEAMLOGAccountCapturePolicyAllUsers; } -- (BOOL)isSupportAdmin { - return _tag == DBTEAMLOGAdminRoleSupportAdmin; +- (BOOL)isDisabled { + return _tag == DBTEAMLOGAccountCapturePolicyDisabled; } -- (BOOL)isUserManagementAdmin { - return _tag == DBTEAMLOGAdminRoleUserManagementAdmin; +- (BOOL)isInvitedUsers { + return _tag == DBTEAMLOGAccountCapturePolicyInvitedUsers; } -- (BOOL)isTeamAdmin { - return _tag == DBTEAMLOGAdminRoleTeamAdmin; +- (BOOL)isPreventPersonalCreation { + return _tag == DBTEAMLOGAccountCapturePolicyPreventPersonalCreation; } - (BOOL)isOther { - return _tag == DBTEAMLOGAdminRoleOther; + return _tag == DBTEAMLOGAccountCapturePolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGAdminRoleUser: - return @"DBTEAMLOGAdminRoleUser"; - case DBTEAMLOGAdminRoleLimitedAdmin: - return @"DBTEAMLOGAdminRoleLimitedAdmin"; - case DBTEAMLOGAdminRoleSupportAdmin: - return @"DBTEAMLOGAdminRoleSupportAdmin"; - case DBTEAMLOGAdminRoleUserManagementAdmin: - return @"DBTEAMLOGAdminRoleUserManagementAdmin"; - case DBTEAMLOGAdminRoleTeamAdmin: - return @"DBTEAMLOGAdminRoleTeamAdmin"; - case DBTEAMLOGAdminRoleOther: - return @"DBTEAMLOGAdminRoleOther"; + case DBTEAMLOGAccountCapturePolicyAllUsers: + return @"DBTEAMLOGAccountCapturePolicyAllUsers"; + case DBTEAMLOGAccountCapturePolicyDisabled: + return @"DBTEAMLOGAccountCapturePolicyDisabled"; + case DBTEAMLOGAccountCapturePolicyInvitedUsers: + return @"DBTEAMLOGAccountCapturePolicyInvitedUsers"; + case DBTEAMLOGAccountCapturePolicyPreventPersonalCreation: + return @"DBTEAMLOGAccountCapturePolicyPreventPersonalCreation"; + case DBTEAMLOGAccountCapturePolicyOther: + return @"DBTEAMLOGAccountCapturePolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1523,18 +1668,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAdminRoleSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCapturePolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAdminRoleSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCapturePolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAdminRoleSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCapturePolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1552,18 +1697,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGAdminRoleUser: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAdminRoleLimitedAdmin: + case DBTEAMLOGAccountCapturePolicyAllUsers: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAdminRoleSupportAdmin: + break; + case DBTEAMLOGAccountCapturePolicyDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAdminRoleUserManagementAdmin: + break; + case DBTEAMLOGAccountCapturePolicyInvitedUsers: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAdminRoleTeamAdmin: + break; + case DBTEAMLOGAccountCapturePolicyPreventPersonalCreation: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGAdminRoleOther: + break; + case DBTEAMLOGAccountCapturePolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1578,78 +1726,72 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAdminRole:other]; + return [self isEqualToAccountCapturePolicy:other]; } -- (BOOL)isEqualToAdminRole:(DBTEAMLOGAdminRole *)anAdminRole { - if (self == anAdminRole) { +- (BOOL)isEqualToAccountCapturePolicy:(DBTEAMLOGAccountCapturePolicy *)anAccountCapturePolicy { + if (self == anAccountCapturePolicy) { return YES; } - if (self.tag != anAdminRole.tag) { + if (self.tag != anAccountCapturePolicy.tag) { return NO; } switch (_tag) { - case DBTEAMLOGAdminRoleUser: - return [[self tagName] isEqual:[anAdminRole tagName]]; - case DBTEAMLOGAdminRoleLimitedAdmin: - return [[self tagName] isEqual:[anAdminRole tagName]]; - case DBTEAMLOGAdminRoleSupportAdmin: - return [[self tagName] isEqual:[anAdminRole tagName]]; - case DBTEAMLOGAdminRoleUserManagementAdmin: - return [[self tagName] isEqual:[anAdminRole tagName]]; - case DBTEAMLOGAdminRoleTeamAdmin: - return [[self tagName] isEqual:[anAdminRole tagName]]; - case DBTEAMLOGAdminRoleOther: - return [[self tagName] isEqual:[anAdminRole tagName]]; - } - return YES; -} - -@end - -#pragma mark - Serializer Object + case DBTEAMLOGAccountCapturePolicyAllUsers: + return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + case DBTEAMLOGAccountCapturePolicyDisabled: + return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + case DBTEAMLOGAccountCapturePolicyInvitedUsers: + return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + case DBTEAMLOGAccountCapturePolicyPreventPersonalCreation: + return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + case DBTEAMLOGAccountCapturePolicyOther: + return [[self tagName] isEqual:[anAccountCapturePolicy tagName]]; + } + return YES; +} -@implementation DBTEAMLOGAdminRoleSerializer +@end + +#pragma mark - Serializer Object -+ (NSDictionary *)serialize:(DBTEAMLOGAdminRole *)valueObj { +@implementation DBTEAMLOGAccountCapturePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUser]) { - jsonDict[@".tag"] = @"user"; - } else if ([valueObj isLimitedAdmin]) { - jsonDict[@".tag"] = @"limited_admin"; - } else if ([valueObj isSupportAdmin]) { - jsonDict[@".tag"] = @"support_admin"; - } else if ([valueObj isUserManagementAdmin]) { - jsonDict[@".tag"] = @"user_management_admin"; - } else if ([valueObj isTeamAdmin]) { - jsonDict[@".tag"] = @"team_admin"; + if ([valueObj isAllUsers]) { + jsonDict[@".tag"] = @"all_users"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isInvitedUsers]) { + jsonDict[@".tag"] = @"invited_users"; + } else if ([valueObj isPreventPersonalCreation]) { + jsonDict[@".tag"] = @"prevent_personal_creation"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"user"]) { - return [[DBTEAMLOGAdminRole alloc] initWithUser]; - } else if ([tag isEqualToString:@"limited_admin"]) { - return [[DBTEAMLOGAdminRole alloc] initWithLimitedAdmin]; - } else if ([tag isEqualToString:@"support_admin"]) { - return [[DBTEAMLOGAdminRole alloc] initWithSupportAdmin]; - } else if ([tag isEqualToString:@"user_management_admin"]) { - return [[DBTEAMLOGAdminRole alloc] initWithUserManagementAdmin]; - } else if ([tag isEqualToString:@"team_admin"]) { - return [[DBTEAMLOGAdminRole alloc] initWithTeamAdmin]; + if ([tag isEqualToString:@"all_users"]) { + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithAllUsers]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"invited_users"]) { + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithInvitedUsers]; + } else if ([tag isEqualToString:@"prevent_personal_creation"]) { + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithPreventPersonalCreation]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGAdminRole alloc] initWithOther]; + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; } else { - return [[DBTEAMLOGAdminRole alloc] initWithOther]; + return [[DBTEAMLOGAccountCapturePolicy alloc] initWithOther]; } } @@ -1657,36 +1799,38 @@ + (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAllowDownloadDisabledDetails.h" +#import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGAllowDownloadDisabledDetails +@implementation DBTEAMLOGAccountCaptureRelinquishAccountDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDomainName:(NSString *)domainName { + [DBStoneValidators nonnullValidator:nil](domainName); self = [super init]; if (self) { + _domainName = domainName; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1703,6 +1847,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.domainName hash]; + return prime * result; } @@ -1715,13 +1861,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAllowDownloadDisabledDetails:other]; + return [self isEqualToAccountCaptureRelinquishAccountDetails:other]; } -- (BOOL)isEqualToAllowDownloadDisabledDetails:(DBTEAMLOGAllowDownloadDisabledDetails *)anAllowDownloadDisabledDetails { - if (self == anAllowDownloadDisabledDetails) { +- (BOOL)isEqualToAccountCaptureRelinquishAccountDetails: + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)anAccountCaptureRelinquishAccountDetails { + if (self == anAccountCaptureRelinquishAccountDetails) { return YES; } + if (![self.domainName isEqual:anAccountCaptureRelinquishAccountDetails.domainName]) { + return NO; + } return YES; } @@ -1729,55 +1879,58 @@ - (BOOL)isEqualToAllowDownloadDisabledDetails:(DBTEAMLOGAllowDownloadDisabledDet #pragma mark - Serializer Object -@implementation DBTEAMLOGAllowDownloadDisabledDetailsSerializer +@implementation DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"domain_name"] = valueObj.domainName; + + return jsonDict; } -+ (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)valueDict { + NSString *domainName = valueDict[@"domain_name"]; - return [[DBTEAMLOGAllowDownloadDisabledDetails alloc] initDefault]; + return [[DBTEAMLOGAccountCaptureRelinquishAccountDetails alloc] initWithDomainName:domainName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAllowDownloadEnabledDetails.h" +#import "DBTEAMLOGAccountCaptureRelinquishAccountType.h" #pragma mark - API Object -@implementation DBTEAMLOGAllowDownloadEnabledDetails +@implementation DBTEAMLOGAccountCaptureRelinquishAccountType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1794,6 +1947,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -1806,13 +1961,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAllowDownloadEnabledDetails:other]; + return [self isEqualToAccountCaptureRelinquishAccountType:other]; } -- (BOOL)isEqualToAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetails *)anAllowDownloadEnabledDetails { - if (self == anAllowDownloadEnabledDetails) { +- (BOOL)isEqualToAccountCaptureRelinquishAccountType: + (DBTEAMLOGAccountCaptureRelinquishAccountType *)anAccountCaptureRelinquishAccountType { + if (self == anAccountCaptureRelinquishAccountType) { return YES; } + if (![self.description_ isEqual:anAccountCaptureRelinquishAccountType.description_]) { + return NO; + } return YES; } @@ -1820,57 +1979,62 @@ - (BOOL)isEqualToAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGAllowDownloadEnabledDetailsSerializer +@implementation DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAccountCaptureRelinquishAccountType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGAllowDownloadEnabledDetails alloc] initDefault]; + return [[DBTEAMLOGAccountCaptureRelinquishAccountType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGApiSessionLogInfo.h" +#import "DBTEAMLOGAccountLockOrUnlockedDetails.h" +#import "DBTEAMLOGAccountState.h" #pragma mark - API Object -@implementation DBTEAMLOGApiSessionLogInfo +@implementation DBTEAMLOGAccountLockOrUnlockedDetails #pragma mark - Constructors -- (instancetype)initWithRequestId:(NSString *)requestId { - [DBStoneValidators nonnullValidator:nil](requestId); +- (instancetype)initWithPreviousValue:(DBTEAMLOGAccountState *)previousValue + dNewValue:(DBTEAMLOGAccountState *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _requestId = requestId; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGApiSessionLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountLockOrUnlockedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGApiSessionLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountLockOrUnlockedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGApiSessionLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountLockOrUnlockedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1887,7 +2051,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.requestId hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; return prime * result; } @@ -1901,14 +2066,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToApiSessionLogInfo:other]; + return [self isEqualToAccountLockOrUnlockedDetails:other]; } -- (BOOL)isEqualToApiSessionLogInfo:(DBTEAMLOGApiSessionLogInfo *)anApiSessionLogInfo { - if (self == anApiSessionLogInfo) { +- (BOOL)isEqualToAccountLockOrUnlockedDetails:(DBTEAMLOGAccountLockOrUnlockedDetails *)anAccountLockOrUnlockedDetails { + if (self == anAccountLockOrUnlockedDetails) { return YES; } - if (![self.requestId isEqual:anApiSessionLogInfo.requestId]) { + if (![self.previousValue isEqual:anAccountLockOrUnlockedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:anAccountLockOrUnlockedDetails.dNewValue]) { return NO; } return YES; @@ -1918,59 +2086,60 @@ - (BOOL)isEqualToApiSessionLogInfo:(DBTEAMLOGApiSessionLogInfo *)anApiSessionLog #pragma mark - Serializer Object -@implementation DBTEAMLOGApiSessionLogInfoSerializer +@implementation DBTEAMLOGAccountLockOrUnlockedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"request_id"] = valueObj.requestId; + jsonDict[@"previous_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGAccountStateSerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *requestId = valueDict[@"request_id"]; ++ (DBTEAMLOGAccountLockOrUnlockedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAccountState *previousValue = [DBTEAMLOGAccountStateSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGAccountState *dNewValue = [DBTEAMLOGAccountStateSerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGApiSessionLogInfo alloc] initWithRequestId:requestId]; + return [[DBTEAMLOGAccountLockOrUnlockedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLinkTeamDetails.h" -#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGAccountLockOrUnlockedType.h" #pragma mark - API Object -@implementation DBTEAMLOGAppLinkTeamDetails +@implementation DBTEAMLOGAccountLockOrUnlockedType #pragma mark - Constructors -- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { - [DBStoneValidators nonnullValidator:nil](appInfo); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _appInfo = appInfo; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAppLinkTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountLockOrUnlockedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAppLinkTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountLockOrUnlockedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountLockOrUnlockedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1987,7 +2156,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.appInfo hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -2001,14 +2170,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAppLinkTeamDetails:other]; + return [self isEqualToAccountLockOrUnlockedType:other]; } -- (BOOL)isEqualToAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)anAppLinkTeamDetails { - if (self == anAppLinkTeamDetails) { +- (BOOL)isEqualToAccountLockOrUnlockedType:(DBTEAMLOGAccountLockOrUnlockedType *)anAccountLockOrUnlockedType { + if (self == anAccountLockOrUnlockedType) { return YES; } - if (![self.appInfo isEqual:anAppLinkTeamDetails.appInfo]) { + if (![self.description_ isEqual:anAccountLockOrUnlockedType.description_]) { return NO; } return YES; @@ -2018,165 +2187,101 @@ - (BOOL)isEqualToAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)anAppLinkTeam #pragma mark - Serializer Object -@implementation DBTEAMLOGAppLinkTeamDetailsSerializer +@implementation DBTEAMLOGAccountLockOrUnlockedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; ++ (DBTEAMLOGAccountLockOrUnlockedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGAppLinkTeamDetails alloc] initWithAppInfo:appInfo]; + return [[DBTEAMLOGAccountLockOrUnlockedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLinkUserDetails.h" -#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGAccountState.h" #pragma mark - API Object -@implementation DBTEAMLOGAppLinkUserDetails +@implementation DBTEAMLOGAccountState #pragma mark - Constructors -- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { - [DBStoneValidators nonnullValidator:nil](appInfo); - +- (instancetype)initWithLocked { self = [super init]; if (self) { - _appInfo = appInfo; + _tag = DBTEAMLOGAccountStateLocked; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAppLinkUserDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAppLinkUserDetailsSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGAppLinkUserDetailsSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.appInfo hash]; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithUnlocked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAccountStateUnlocked; } - return [self isEqualToAppLinkUserDetails:other]; + return self; } -- (BOOL)isEqualToAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)anAppLinkUserDetails { - if (self == anAppLinkUserDetails) { - return YES; - } - if (![self.appInfo isEqual:anAppLinkUserDetails.appInfo]) { - return NO; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAccountStateOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGAppLinkUserDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +#pragma mark - Instance field accessors - jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isLocked { + return _tag == DBTEAMLOGAccountStateLocked; } -+ (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - - return [[DBTEAMLOGAppLinkUserDetails alloc] initWithAppInfo:appInfo]; +- (BOOL)isUnlocked { + return _tag == DBTEAMLOGAccountStateUnlocked; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGTeamLinkedAppLogInfo.h" -#import "DBTEAMLOGUserLinkedAppLogInfo.h" -#import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGAppLogInfo - -#pragma mark - Constructors - -- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { +- (BOOL)isOther { + return _tag == DBTEAMLOGAccountStateOther; +} - self = [super init]; - if (self) { - _appId = appId; - _displayName = displayName; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAccountStateLocked: + return @"DBTEAMLOGAccountStateLocked"; + case DBTEAMLOGAccountStateUnlocked: + return @"DBTEAMLOGAccountStateUnlocked"; + case DBTEAMLOGAccountStateOther: + return @"DBTEAMLOGAccountStateOther"; } - return self; -} -- (instancetype)initDefault { - return [self initWithAppId:nil displayName:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAppLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAccountStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAppLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAccountStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAppLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAccountStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2193,11 +2298,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.appId != nil) { - result = prime * result + [self.appId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; + switch (_tag) { + case DBTEAMLOGAccountStateLocked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAccountStateUnlocked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAccountStateOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2212,22 +2322,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAppLogInfo:other]; + return [self isEqualToAccountState:other]; } -- (BOOL)isEqualToAppLogInfo:(DBTEAMLOGAppLogInfo *)anAppLogInfo { - if (self == anAppLogInfo) { +- (BOOL)isEqualToAccountState:(DBTEAMLOGAccountState *)anAccountState { + if (self == anAccountState) { return YES; } - if (self.appId) { - if (![self.appId isEqual:anAppLogInfo.appId]) { - return NO; - } + if (self.tag != anAccountState.tag) { + return NO; } - if (self.displayName) { - if (![self.displayName isEqual:anAppLogInfo.displayName]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGAccountStateLocked: + return [[self tagName] isEqual:[anAccountState tagName]]; + case DBTEAMLOGAccountStateUnlocked: + return [[self tagName] isEqual:[anAccountState tagName]]; + case DBTEAMLOGAccountStateOther: + return [[self tagName] isEqual:[anAccountState tagName]]; } return YES; } @@ -2236,198 +2347,165 @@ - (BOOL)isEqualToAppLogInfo:(DBTEAMLOGAppLogInfo *)anAppLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGAppLogInfoSerializer +@implementation DBTEAMLOGAccountStateSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAccountState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.appId) { - jsonDict[@"app_id"] = valueObj.appId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - - if ([valueObj isKindOfClass:[DBTEAMLOGUserOrTeamLinkedAppLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"userOrTeamLinkedApp"; - } else if ([valueObj isKindOfClass:[DBTEAMLOGUserLinkedAppLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:(DBTEAMLOGUserLinkedAppLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"userLinkedApp"; - } else if ([valueObj isKindOfClass:[DBTEAMLOGTeamLinkedAppLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"teamLinkedApp"; + if ([valueObj isLocked]) { + jsonDict[@".tag"] = @"locked"; + } else if ([valueObj isUnlocked]) { + jsonDict[@".tag"] = @"unlocked"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"user_or_team_linked_app"]) { - return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"user_linked_app"]) { - return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"team_linked_app"]) { - return [DBTEAMLOGTeamLinkedAppLogInfoSerializer deserialize:valueDict]; - } - - NSString *appId = valueDict[@"app_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; ++ (DBTEAMLOGAccountState *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGAppLogInfo alloc] initWithAppId:appId displayName:displayName]; + if ([tag isEqualToString:@"locked"]) { + return [[DBTEAMLOGAccountState alloc] initWithLocked]; + } else if ([tag isEqualToString:@"unlocked"]) { + return [[DBTEAMLOGAccountState alloc] initWithUnlocked]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAccountState alloc] initWithOther]; + } else { + return [[DBTEAMLOGAccountState alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGAppUnlinkTeamDetails.h" +#import "DBTEAMLOGActionDetails.h" +#import "DBTEAMLOGJoinTeamDetails.h" +#import "DBTEAMLOGMemberRemoveActionType.h" +#import "DBTEAMLOGTeamInviteDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGAppUnlinkTeamDetails +@implementation DBTEAMLOGActionDetails -#pragma mark - Constructors +@synthesize removeAction = _removeAction; +@synthesize teamInviteDetails = _teamInviteDetails; +@synthesize teamJoinDetails = _teamJoinDetails; -- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { - [DBStoneValidators nonnullValidator:nil](appInfo); +#pragma mark - Constructors +- (instancetype)initWithRemoveAction:(DBTEAMLOGMemberRemoveActionType *)removeAction { self = [super init]; if (self) { - _appInfo = appInfo; + _tag = DBTEAMLOGActionDetailsRemoveAction; + _removeAction = removeAction; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAppUnlinkTeamDetailsSerializer deserialize:dict]; +- (instancetype)initWithTeamInviteDetails:(DBTEAMLOGTeamInviteDetails *)teamInviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGActionDetailsTeamInviteDetails; + _teamInviteDetails = teamInviteDetails; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:self] description]; +- (instancetype)initWithTeamJoinDetails:(DBTEAMLOGJoinTeamDetails *)teamJoinDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGActionDetailsTeamJoinDetails; + _teamJoinDetails = teamJoinDetails; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGActionDetailsOther; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.appInfo hash]; +#pragma mark - Instance field accessors - return prime * result; +- (DBTEAMLOGMemberRemoveActionType *)removeAction { + if (![self isRemoveAction]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGActionDetailsRemoveAction, but was %@.", [self tagName]]; + } + return _removeAction; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (DBTEAMLOGTeamInviteDetails *)teamInviteDetails { + if (![self isTeamInviteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGActionDetailsTeamInviteDetails, but was %@.", [self tagName]]; } - return [self isEqualToAppUnlinkTeamDetails:other]; + return _teamInviteDetails; } -- (BOOL)isEqualToAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)anAppUnlinkTeamDetails { - if (self == anAppUnlinkTeamDetails) { - return YES; - } - if (![self.appInfo isEqual:anAppUnlinkTeamDetails.appInfo]) { - return NO; +- (DBTEAMLOGJoinTeamDetails *)teamJoinDetails { + if (![self isTeamJoinDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGActionDetailsTeamJoinDetails, but was %@.", [self tagName]]; } - return YES; + return _teamJoinDetails; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGAppUnlinkTeamDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isRemoveAction { + return _tag == DBTEAMLOGActionDetailsRemoveAction; } -+ (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - - return [[DBTEAMLOGAppUnlinkTeamDetails alloc] initWithAppInfo:appInfo]; +- (BOOL)isTeamInviteDetails { + return _tag == DBTEAMLOGActionDetailsTeamInviteDetails; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGAppUnlinkUserDetails.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGAppUnlinkUserDetails - -#pragma mark - Constructors +- (BOOL)isTeamJoinDetails { + return _tag == DBTEAMLOGActionDetailsTeamJoinDetails; +} -- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { - [DBStoneValidators nonnullValidator:nil](appInfo); +- (BOOL)isOther { + return _tag == DBTEAMLOGActionDetailsOther; +} - self = [super init]; - if (self) { - _appInfo = appInfo; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGActionDetailsRemoveAction: + return @"DBTEAMLOGActionDetailsRemoveAction"; + case DBTEAMLOGActionDetailsTeamInviteDetails: + return @"DBTEAMLOGActionDetailsTeamInviteDetails"; + case DBTEAMLOGActionDetailsTeamJoinDetails: + return @"DBTEAMLOGActionDetailsTeamJoinDetails"; + case DBTEAMLOGActionDetailsOther: + return @"DBTEAMLOGActionDetailsOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGActionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAppUnlinkUserDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGActionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGActionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2444,7 +2522,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.appInfo hash]; + switch (_tag) { + case DBTEAMLOGActionDetailsRemoveAction: + result = prime * result + [self.removeAction hash]; + break; + case DBTEAMLOGActionDetailsTeamInviteDetails: + result = prime * result + [self.teamInviteDetails hash]; + break; + case DBTEAMLOGActionDetailsTeamJoinDetails: + result = prime * result + [self.teamJoinDetails hash]; + break; + case DBTEAMLOGActionDetailsOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -2458,16 +2549,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAppUnlinkUserDetails:other]; + return [self isEqualToActionDetails:other]; } -- (BOOL)isEqualToAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)anAppUnlinkUserDetails { - if (self == anAppUnlinkUserDetails) { +- (BOOL)isEqualToActionDetails:(DBTEAMLOGActionDetails *)anActionDetails { + if (self == anActionDetails) { return YES; } - if (![self.appInfo isEqual:anAppUnlinkUserDetails.appInfo]) { + if (self.tag != anActionDetails.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGActionDetailsRemoveAction: + return [self.removeAction isEqual:anActionDetails.removeAction]; + case DBTEAMLOGActionDetailsTeamInviteDetails: + return [self.teamInviteDetails isEqual:anActionDetails.teamInviteDetails]; + case DBTEAMLOGActionDetailsTeamJoinDetails: + return [self.teamJoinDetails isEqual:anActionDetails.teamJoinDetails]; + case DBTEAMLOGActionDetailsOther: + return [[self tagName] isEqual:[anActionDetails tagName]]; + } return YES; } @@ -2475,155 +2576,210 @@ - (BOOL)isEqualToAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)anAppUnli #pragma mark - Serializer Object -@implementation DBTEAMLOGAppUnlinkUserDetailsSerializer +@implementation DBTEAMLOGActionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGActionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; + if ([valueObj isRemoveAction]) { + jsonDict[@"remove_action"] = + [[DBTEAMLOGMemberRemoveActionTypeSerializer serialize:valueObj.removeAction] mutableCopy]; + jsonDict[@".tag"] = @"remove_action"; + } else if ([valueObj isTeamInviteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamInviteDetailsSerializer serialize:valueObj.teamInviteDetails]]; + jsonDict[@".tag"] = @"team_invite_details"; + } else if ([valueObj isTeamJoinDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGJoinTeamDetailsSerializer serialize:valueObj.teamJoinDetails]]; + jsonDict[@".tag"] = @"team_join_details"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; ++ (DBTEAMLOGActionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGAppUnlinkUserDetails alloc] initWithAppInfo:appInfo]; + if ([tag isEqualToString:@"remove_action"]) { + DBTEAMLOGMemberRemoveActionType *removeAction = + [DBTEAMLOGMemberRemoveActionTypeSerializer deserialize:valueDict[@"remove_action"]]; + return [[DBTEAMLOGActionDetails alloc] initWithRemoveAction:removeAction]; + } else if ([tag isEqualToString:@"team_invite_details"]) { + DBTEAMLOGTeamInviteDetails *teamInviteDetails = [DBTEAMLOGTeamInviteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGActionDetails alloc] initWithTeamInviteDetails:teamInviteDetails]; + } else if ([tag isEqualToString:@"team_join_details"]) { + DBTEAMLOGJoinTeamDetails *teamJoinDetails = [DBTEAMLOGJoinTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGActionDetails alloc] initWithTeamJoinDetails:teamJoinDetails]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGActionDetails alloc] initWithOther]; + } else { + return [[DBTEAMLOGActionDetails alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAssetLogInfo.h" -#import "DBTEAMLOGFileLogInfo.h" -#import "DBTEAMLOGFolderLogInfo.h" -#import "DBTEAMLOGPaperDocumentLogInfo.h" -#import "DBTEAMLOGPaperFolderLogInfo.h" +#import "DBTEAMLOGActorLogInfo.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGResellerLogInfo.h" +#import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGAssetLogInfo +@implementation DBTEAMLOGActorLogInfo -@synthesize file = _file; -@synthesize folder = _folder; -@synthesize paperDocument = _paperDocument; -@synthesize paperFolder = _paperFolder; +@synthesize admin = _admin; +@synthesize app = _app; +@synthesize reseller = _reseller; +@synthesize user = _user; #pragma mark - Constructors -- (instancetype)initWithFile:(DBTEAMLOGFileLogInfo *)file { +- (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin { self = [super init]; if (self) { - _tag = DBTEAMLOGAssetLogInfoFile; - _file = file; + _tag = DBTEAMLOGActorLogInfoAdmin; + _admin = admin; } return self; } -- (instancetype)initWithFolder:(DBTEAMLOGFolderLogInfo *)folder { +- (instancetype)initWithAnonymous { self = [super init]; if (self) { - _tag = DBTEAMLOGAssetLogInfoFolder; - _folder = folder; + _tag = DBTEAMLOGActorLogInfoAnonymous; } return self; } -- (instancetype)initWithPaperDocument:(DBTEAMLOGPaperDocumentLogInfo *)paperDocument { +- (instancetype)initWithApp:(DBTEAMLOGAppLogInfo *)app { self = [super init]; if (self) { - _tag = DBTEAMLOGAssetLogInfoPaperDocument; - _paperDocument = paperDocument; + _tag = DBTEAMLOGActorLogInfoApp; + _app = app; } return self; } -- (instancetype)initWithPaperFolder:(DBTEAMLOGPaperFolderLogInfo *)paperFolder { +- (instancetype)initWithDropbox { self = [super init]; if (self) { - _tag = DBTEAMLOGAssetLogInfoPaperFolder; - _paperFolder = paperFolder; + _tag = DBTEAMLOGActorLogInfoDropbox; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithReseller:(DBTEAMLOGResellerLogInfo *)reseller { self = [super init]; if (self) { - _tag = DBTEAMLOGAssetLogInfoOther; + _tag = DBTEAMLOGActorLogInfoReseller; + _reseller = reseller; } return self; } -#pragma mark - Instance field accessors - -- (DBTEAMLOGFileLogInfo *)file { - if (![self isFile]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAssetLogInfoFile, but was %@.", [self tagName]]; +- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user { + self = [super init]; + if (self) { + _tag = DBTEAMLOGActorLogInfoUser; + _user = user; } - return _file; + return self; } -- (DBTEAMLOGFolderLogInfo *)folder { - if (![self isFolder]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAssetLogInfoFolder, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGActorLogInfoOther; } - return _folder; + return self; } -- (DBTEAMLOGPaperDocumentLogInfo *)paperDocument { - if (![self isPaperDocument]) { +#pragma mark - Instance field accessors + +- (DBTEAMLOGUserLogInfo *)admin { + if (![self isAdmin]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAssetLogInfoPaperDocument, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGActorLogInfoAdmin, but was %@.", [self tagName]]; } - return _paperDocument; + return _admin; } -- (DBTEAMLOGPaperFolderLogInfo *)paperFolder { - if (![self isPaperFolder]) { +- (DBTEAMLOGAppLogInfo *)app { + if (![self isApp]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGAssetLogInfoPaperFolder, but was %@.", [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGActorLogInfoApp, but was %@.", [self tagName]]; } - return _paperFolder; + return _app; +} + +- (DBTEAMLOGResellerLogInfo *)reseller { + if (![self isReseller]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGActorLogInfoReseller, but was %@.", [self tagName]]; + } + return _reseller; +} + +- (DBTEAMLOGUserLogInfo *)user { + if (![self isUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGActorLogInfoUser, but was %@.", [self tagName]]; + } + return _user; } #pragma mark - Tag state methods -- (BOOL)isFile { - return _tag == DBTEAMLOGAssetLogInfoFile; +- (BOOL)isAdmin { + return _tag == DBTEAMLOGActorLogInfoAdmin; } -- (BOOL)isFolder { - return _tag == DBTEAMLOGAssetLogInfoFolder; +- (BOOL)isAnonymous { + return _tag == DBTEAMLOGActorLogInfoAnonymous; } -- (BOOL)isPaperDocument { - return _tag == DBTEAMLOGAssetLogInfoPaperDocument; +- (BOOL)isApp { + return _tag == DBTEAMLOGActorLogInfoApp; } -- (BOOL)isPaperFolder { - return _tag == DBTEAMLOGAssetLogInfoPaperFolder; +- (BOOL)isDropbox { + return _tag == DBTEAMLOGActorLogInfoDropbox; +} + +- (BOOL)isReseller { + return _tag == DBTEAMLOGActorLogInfoReseller; +} + +- (BOOL)isUser { + return _tag == DBTEAMLOGActorLogInfoUser; } - (BOOL)isOther { - return _tag == DBTEAMLOGAssetLogInfoOther; + return _tag == DBTEAMLOGActorLogInfoOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGAssetLogInfoFile: - return @"DBTEAMLOGAssetLogInfoFile"; - case DBTEAMLOGAssetLogInfoFolder: - return @"DBTEAMLOGAssetLogInfoFolder"; - case DBTEAMLOGAssetLogInfoPaperDocument: - return @"DBTEAMLOGAssetLogInfoPaperDocument"; - case DBTEAMLOGAssetLogInfoPaperFolder: - return @"DBTEAMLOGAssetLogInfoPaperFolder"; - case DBTEAMLOGAssetLogInfoOther: - return @"DBTEAMLOGAssetLogInfoOther"; + case DBTEAMLOGActorLogInfoAdmin: + return @"DBTEAMLOGActorLogInfoAdmin"; + case DBTEAMLOGActorLogInfoAnonymous: + return @"DBTEAMLOGActorLogInfoAnonymous"; + case DBTEAMLOGActorLogInfoApp: + return @"DBTEAMLOGActorLogInfoApp"; + case DBTEAMLOGActorLogInfoDropbox: + return @"DBTEAMLOGActorLogInfoDropbox"; + case DBTEAMLOGActorLogInfoReseller: + return @"DBTEAMLOGActorLogInfoReseller"; + case DBTEAMLOGActorLogInfoUser: + return @"DBTEAMLOGActorLogInfoUser"; + case DBTEAMLOGActorLogInfoOther: + return @"DBTEAMLOGActorLogInfoOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -2631,18 +2787,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGAssetLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGActorLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGAssetLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGActorLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGAssetLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGActorLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2660,16 +2816,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGAssetLogInfoFile: - result = prime * result + [self.file hash]; - case DBTEAMLOGAssetLogInfoFolder: - result = prime * result + [self.folder hash]; - case DBTEAMLOGAssetLogInfoPaperDocument: - result = prime * result + [self.paperDocument hash]; - case DBTEAMLOGAssetLogInfoPaperFolder: - result = prime * result + [self.paperFolder hash]; - case DBTEAMLOGAssetLogInfoOther: + case DBTEAMLOGActorLogInfoAdmin: + result = prime * result + [self.admin hash]; + break; + case DBTEAMLOGActorLogInfoAnonymous: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGActorLogInfoApp: + result = prime * result + [self.app hash]; + break; + case DBTEAMLOGActorLogInfoDropbox: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGActorLogInfoReseller: + result = prime * result + [self.reseller hash]; + break; + case DBTEAMLOGActorLogInfoUser: + result = prime * result + [self.user hash]; + break; + case DBTEAMLOGActorLogInfoOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2684,27 +2851,31 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToAssetLogInfo:other]; + return [self isEqualToActorLogInfo:other]; } -- (BOOL)isEqualToAssetLogInfo:(DBTEAMLOGAssetLogInfo *)anAssetLogInfo { - if (self == anAssetLogInfo) { +- (BOOL)isEqualToActorLogInfo:(DBTEAMLOGActorLogInfo *)anActorLogInfo { + if (self == anActorLogInfo) { return YES; } - if (self.tag != anAssetLogInfo.tag) { + if (self.tag != anActorLogInfo.tag) { return NO; } switch (_tag) { - case DBTEAMLOGAssetLogInfoFile: - return [self.file isEqual:anAssetLogInfo.file]; - case DBTEAMLOGAssetLogInfoFolder: - return [self.folder isEqual:anAssetLogInfo.folder]; - case DBTEAMLOGAssetLogInfoPaperDocument: - return [self.paperDocument isEqual:anAssetLogInfo.paperDocument]; - case DBTEAMLOGAssetLogInfoPaperFolder: - return [self.paperFolder isEqual:anAssetLogInfo.paperFolder]; - case DBTEAMLOGAssetLogInfoOther: - return [[self tagName] isEqual:[anAssetLogInfo tagName]]; + case DBTEAMLOGActorLogInfoAdmin: + return [self.admin isEqual:anActorLogInfo.admin]; + case DBTEAMLOGActorLogInfoAnonymous: + return [[self tagName] isEqual:[anActorLogInfo tagName]]; + case DBTEAMLOGActorLogInfoApp: + return [self.app isEqual:anActorLogInfo.app]; + case DBTEAMLOGActorLogInfoDropbox: + return [[self tagName] isEqual:[anActorLogInfo tagName]]; + case DBTEAMLOGActorLogInfoReseller: + return [self.reseller isEqual:anActorLogInfo.reseller]; + case DBTEAMLOGActorLogInfoUser: + return [self.user isEqual:anActorLogInfo.user]; + case DBTEAMLOGActorLogInfoOther: + return [[self tagName] isEqual:[anActorLogInfo tagName]]; } return YES; } @@ -2713,52 +2884,59 @@ - (BOOL)isEqualToAssetLogInfo:(DBTEAMLOGAssetLogInfo *)anAssetLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGAssetLogInfoSerializer +@implementation DBTEAMLOGActorLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFile]) { - jsonDict[@"file"] = [[DBTEAMLOGFileLogInfoSerializer serialize:valueObj.file] mutableCopy]; - jsonDict[@".tag"] = @"file"; - } else if ([valueObj isFolder]) { - jsonDict[@"folder"] = [[DBTEAMLOGFolderLogInfoSerializer serialize:valueObj.folder] mutableCopy]; - jsonDict[@".tag"] = @"folder"; - } else if ([valueObj isPaperDocument]) { - jsonDict[@"paper_document"] = - [[DBTEAMLOGPaperDocumentLogInfoSerializer serialize:valueObj.paperDocument] mutableCopy]; - jsonDict[@".tag"] = @"paper_document"; - } else if ([valueObj isPaperFolder]) { - jsonDict[@"paper_folder"] = [[DBTEAMLOGPaperFolderLogInfoSerializer serialize:valueObj.paperFolder] mutableCopy]; - jsonDict[@".tag"] = @"paper_folder"; + if ([valueObj isAdmin]) { + jsonDict[@"admin"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.admin] mutableCopy]; + jsonDict[@".tag"] = @"admin"; + } else if ([valueObj isAnonymous]) { + jsonDict[@".tag"] = @"anonymous"; + } else if ([valueObj isApp]) { + jsonDict[@"app"] = [[DBTEAMLOGAppLogInfoSerializer serialize:valueObj.app] mutableCopy]; + jsonDict[@".tag"] = @"app"; + } else if ([valueObj isDropbox]) { + jsonDict[@".tag"] = @"dropbox"; + } else if ([valueObj isReseller]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerLogInfoSerializer serialize:valueObj.reseller]]; + jsonDict[@".tag"] = @"reseller"; + } else if ([valueObj isUser]) { + jsonDict[@"user"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.user] mutableCopy]; + jsonDict[@".tag"] = @"user"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"file"]) { - DBTEAMLOGFileLogInfo *file = [DBTEAMLOGFileLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAssetLogInfo alloc] initWithFile:file]; - } else if ([tag isEqualToString:@"folder"]) { - DBTEAMLOGFolderLogInfo *folder = [DBTEAMLOGFolderLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAssetLogInfo alloc] initWithFolder:folder]; - } else if ([tag isEqualToString:@"paper_document"]) { - DBTEAMLOGPaperDocumentLogInfo *paperDocument = [DBTEAMLOGPaperDocumentLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAssetLogInfo alloc] initWithPaperDocument:paperDocument]; - } else if ([tag isEqualToString:@"paper_folder"]) { - DBTEAMLOGPaperFolderLogInfo *paperFolder = [DBTEAMLOGPaperFolderLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGAssetLogInfo alloc] initWithPaperFolder:paperFolder]; + if ([tag isEqualToString:@"admin"]) { + DBTEAMLOGUserLogInfo *admin = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"admin"]]; + return [[DBTEAMLOGActorLogInfo alloc] initWithAdmin:admin]; + } else if ([tag isEqualToString:@"anonymous"]) { + return [[DBTEAMLOGActorLogInfo alloc] initWithAnonymous]; + } else if ([tag isEqualToString:@"app"]) { + DBTEAMLOGAppLogInfo *app = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app"]]; + return [[DBTEAMLOGActorLogInfo alloc] initWithApp:app]; + } else if ([tag isEqualToString:@"dropbox"]) { + return [[DBTEAMLOGActorLogInfo alloc] initWithDropbox]; + } else if ([tag isEqualToString:@"reseller"]) { + DBTEAMLOGResellerLogInfo *reseller = [DBTEAMLOGResellerLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGActorLogInfo alloc] initWithReseller:reseller]; + } else if ([tag isEqualToString:@"user"]) { + DBTEAMLOGUserLogInfo *user = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"user"]]; + return [[DBTEAMLOGActorLogInfo alloc] initWithUser:user]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGAssetLogInfo alloc] initWithOther]; + return [[DBTEAMLOGActorLogInfo alloc] initWithOther]; } else { - return [[DBTEAMLOGAssetLogInfo alloc] initWithOther]; + return [[DBTEAMLOGActorLogInfo alloc] initWithOther]; } } @@ -2766,217 +2944,151 @@ + (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGCertificate.h" +#import "DBTEAMLOGAdminAlertCategoryEnum.h" #pragma mark - API Object -@implementation DBTEAMLOGCertificate +@implementation DBTEAMLOGAdminAlertCategoryEnum #pragma mark - Constructors -- (instancetype)initWithSubject:(NSString *)subject - issuer:(NSString *)issuer - issueDate:(NSString *)issueDate - expirationDate:(NSString *)expirationDate - serialNumber:(NSString *)serialNumber - sha1Fingerprint:(NSString *)sha1Fingerprint - commonName:(NSString *)commonName { - [DBStoneValidators nonnullValidator:nil](subject); - [DBStoneValidators nonnullValidator:nil](issuer); - [DBStoneValidators nonnullValidator:nil](issueDate); - [DBStoneValidators nonnullValidator:nil](expirationDate); - [DBStoneValidators nonnullValidator:nil](serialNumber); - [DBStoneValidators nonnullValidator:nil](sha1Fingerprint); - +- (instancetype)initWithAccountTakeover { self = [super init]; if (self) { - _subject = subject; - _issuer = issuer; - _issueDate = issueDate; - _expirationDate = expirationDate; - _serialNumber = serialNumber; - _sha1Fingerprint = sha1Fingerprint; - _commonName = commonName; + _tag = DBTEAMLOGAdminAlertCategoryEnumAccountTakeover; } return self; } -- (instancetype)initWithSubject:(NSString *)subject - issuer:(NSString *)issuer - issueDate:(NSString *)issueDate - expirationDate:(NSString *)expirationDate - serialNumber:(NSString *)serialNumber - sha1Fingerprint:(NSString *)sha1Fingerprint { - return [self initWithSubject:subject - issuer:issuer - issueDate:issueDate - expirationDate:expirationDate - serialNumber:serialNumber - sha1Fingerprint:sha1Fingerprint - commonName:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGCertificateSerializer serialize:instance]; +- (instancetype)initWithDataLossProtection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumDataLossProtection; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGCertificateSerializer deserialize:dict]; +- (instancetype)initWithInformationGovernance { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumInformationGovernance; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGCertificateSerializer serialize:self] description]; +- (instancetype)initWithMalwareSharing { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumMalwareSharing; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithMassiveFileOperation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.subject hash]; - result = prime * result + [self.issuer hash]; - result = prime * result + [self.issueDate hash]; - result = prime * result + [self.expirationDate hash]; - result = prime * result + [self.serialNumber hash]; - result = prime * result + [self.sha1Fingerprint hash]; - if (self.commonName != nil) { - result = prime * result + [self.commonName hash]; +- (instancetype)initWithNa { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumNa; } - - return prime * result; + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithThreatManagement { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumThreatManagement; } - return [self isEqualToCertificate:other]; + return self; } -- (BOOL)isEqualToCertificate:(DBTEAMLOGCertificate *)aCertificate { - if (self == aCertificate) { - return YES; - } - if (![self.subject isEqual:aCertificate.subject]) { - return NO; - } - if (![self.issuer isEqual:aCertificate.issuer]) { - return NO; - } - if (![self.issueDate isEqual:aCertificate.issueDate]) { - return NO; - } - if (![self.expirationDate isEqual:aCertificate.expirationDate]) { - return NO; - } - if (![self.serialNumber isEqual:aCertificate.serialNumber]) { - return NO; - } - if (![self.sha1Fingerprint isEqual:aCertificate.sha1Fingerprint]) { - return NO; - } - if (self.commonName) { - if (![self.commonName isEqual:aCertificate.commonName]) { - return NO; - } +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertCategoryEnumOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGCertificateSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGCertificate *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +#pragma mark - Instance field accessors - jsonDict[@"subject"] = valueObj.subject; - jsonDict[@"issuer"] = valueObj.issuer; - jsonDict[@"issue_date"] = valueObj.issueDate; - jsonDict[@"expiration_date"] = valueObj.expirationDate; - jsonDict[@"serial_number"] = valueObj.serialNumber; - jsonDict[@"sha1_fingerprint"] = valueObj.sha1Fingerprint; - if (valueObj.commonName) { - jsonDict[@"common_name"] = valueObj.commonName; - } +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isAccountTakeover { + return _tag == DBTEAMLOGAdminAlertCategoryEnumAccountTakeover; } -+ (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)valueDict { - NSString *subject = valueDict[@"subject"]; - NSString *issuer = valueDict[@"issuer"]; - NSString *issueDate = valueDict[@"issue_date"]; - NSString *expirationDate = valueDict[@"expiration_date"]; - NSString *serialNumber = valueDict[@"serial_number"]; - NSString *sha1Fingerprint = valueDict[@"sha1_fingerprint"]; - NSString *commonName = valueDict[@"common_name"] ?: nil; - - return [[DBTEAMLOGCertificate alloc] initWithSubject:subject - issuer:issuer - issueDate:issueDate - expirationDate:expirationDate - serialNumber:serialNumber - sha1Fingerprint:sha1Fingerprint - commonName:commonName]; +- (BOOL)isDataLossProtection { + return _tag == DBTEAMLOGAdminAlertCategoryEnumDataLossProtection; } -@end +- (BOOL)isInformationGovernance { + return _tag == DBTEAMLOGAdminAlertCategoryEnumInformationGovernance; +} -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGCollectionShareDetails.h" +- (BOOL)isMalwareSharing { + return _tag == DBTEAMLOGAdminAlertCategoryEnumMalwareSharing; +} -#pragma mark - API Object +- (BOOL)isMassiveFileOperation { + return _tag == DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation; +} -@implementation DBTEAMLOGCollectionShareDetails +- (BOOL)isNa { + return _tag == DBTEAMLOGAdminAlertCategoryEnumNa; +} -#pragma mark - Constructors +- (BOOL)isThreatManagement { + return _tag == DBTEAMLOGAdminAlertCategoryEnumThreatManagement; +} -- (instancetype)initWithAlbumName:(NSString *)albumName { - [DBStoneValidators nonnullValidator:nil](albumName); +- (BOOL)isOther { + return _tag == DBTEAMLOGAdminAlertCategoryEnumOther; +} - self = [super init]; - if (self) { - _albumName = albumName; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAdminAlertCategoryEnumAccountTakeover: + return @"DBTEAMLOGAdminAlertCategoryEnumAccountTakeover"; + case DBTEAMLOGAdminAlertCategoryEnumDataLossProtection: + return @"DBTEAMLOGAdminAlertCategoryEnumDataLossProtection"; + case DBTEAMLOGAdminAlertCategoryEnumInformationGovernance: + return @"DBTEAMLOGAdminAlertCategoryEnumInformationGovernance"; + case DBTEAMLOGAdminAlertCategoryEnumMalwareSharing: + return @"DBTEAMLOGAdminAlertCategoryEnumMalwareSharing"; + case DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation: + return @"DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation"; + case DBTEAMLOGAdminAlertCategoryEnumNa: + return @"DBTEAMLOGAdminAlertCategoryEnumNa"; + case DBTEAMLOGAdminAlertCategoryEnumThreatManagement: + return @"DBTEAMLOGAdminAlertCategoryEnumThreatManagement"; + case DBTEAMLOGAdminAlertCategoryEnumOther: + return @"DBTEAMLOGAdminAlertCategoryEnumOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGCollectionShareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGCollectionShareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertCategoryEnumSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGCollectionShareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2993,7 +3105,32 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.albumName hash]; + switch (_tag) { + case DBTEAMLOGAdminAlertCategoryEnumAccountTakeover: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumDataLossProtection: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumInformationGovernance: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumMalwareSharing: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumNa: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumThreatManagement: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertCategoryEnumOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -3007,16 +3144,34 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCollectionShareDetails:other]; + return [self isEqualToAdminAlertCategoryEnum:other]; } -- (BOOL)isEqualToCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)aCollectionShareDetails { - if (self == aCollectionShareDetails) { +- (BOOL)isEqualToAdminAlertCategoryEnum:(DBTEAMLOGAdminAlertCategoryEnum *)anAdminAlertCategoryEnum { + if (self == anAdminAlertCategoryEnum) { return YES; } - if (![self.albumName isEqual:aCollectionShareDetails.albumName]) { + if (self.tag != anAdminAlertCategoryEnum.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGAdminAlertCategoryEnumAccountTakeover: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumDataLossProtection: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumInformationGovernance: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumMalwareSharing: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumNa: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumThreatManagement: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + case DBTEAMLOGAdminAlertCategoryEnumOther: + return [[self tagName] isEqual:[anAdminAlertCategoryEnum tagName]]; + } return YES; } @@ -3024,46 +3179,106 @@ - (BOOL)isEqualToCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)aColl #pragma mark - Serializer Object -@implementation DBTEAMLOGCollectionShareDetailsSerializer +@implementation DBTEAMLOGAdminAlertCategoryEnumSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertCategoryEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"album_name"] = valueObj.albumName; + if ([valueObj isAccountTakeover]) { + jsonDict[@".tag"] = @"account_takeover"; + } else if ([valueObj isDataLossProtection]) { + jsonDict[@".tag"] = @"data_loss_protection"; + } else if ([valueObj isInformationGovernance]) { + jsonDict[@".tag"] = @"information_governance"; + } else if ([valueObj isMalwareSharing]) { + jsonDict[@".tag"] = @"malware_sharing"; + } else if ([valueObj isMassiveFileOperation]) { + jsonDict[@".tag"] = @"massive_file_operation"; + } else if ([valueObj isNa]) { + jsonDict[@".tag"] = @"na"; + } else if ([valueObj isThreatManagement]) { + jsonDict[@".tag"] = @"threat_management"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)valueDict { - NSString *albumName = valueDict[@"album_name"]; ++ (DBTEAMLOGAdminAlertCategoryEnum *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGCollectionShareDetails alloc] initWithAlbumName:albumName]; + if ([tag isEqualToString:@"account_takeover"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithAccountTakeover]; + } else if ([tag isEqualToString:@"data_loss_protection"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithDataLossProtection]; + } else if ([tag isEqualToString:@"information_governance"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithInformationGovernance]; + } else if ([tag isEqualToString:@"malware_sharing"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithMalwareSharing]; + } else if ([tag isEqualToString:@"massive_file_operation"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithMassiveFileOperation]; + } else if ([tag isEqualToString:@"na"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithNa]; + } else if ([tag isEqualToString:@"threat_management"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithThreatManagement]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithOther]; + } else { + return [[DBTEAMLOGAdminAlertCategoryEnum alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGConfidentiality.h" +#import "DBTEAMLOGAdminAlertGeneralStateEnum.h" #pragma mark - API Object -@implementation DBTEAMLOGConfidentiality +@implementation DBTEAMLOGAdminAlertGeneralStateEnum #pragma mark - Constructors -- (instancetype)initWithConfidential { +- (instancetype)initWithActive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertGeneralStateEnumActive; + } + return self; +} + +- (instancetype)initWithDismissed { self = [super init]; if (self) { - _tag = DBTEAMLOGConfidentialityConfidential; + _tag = DBTEAMLOGAdminAlertGeneralStateEnumDismissed; } return self; } -- (instancetype)initWithNonConfidential { +- (instancetype)initWithInProgress { self = [super init]; if (self) { - _tag = DBTEAMLOGConfidentialityNonConfidential; + _tag = DBTEAMLOGAdminAlertGeneralStateEnumInProgress; + } + return self; +} + +- (instancetype)initWithNa { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertGeneralStateEnumNa; + } + return self; +} + +- (instancetype)initWithResolved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertGeneralStateEnumResolved; } return self; } @@ -3071,7 +3286,7 @@ - (instancetype)initWithNonConfidential { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGConfidentialityOther; + _tag = DBTEAMLOGAdminAlertGeneralStateEnumOther; } return self; } @@ -3080,26 +3295,44 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isConfidential { - return _tag == DBTEAMLOGConfidentialityConfidential; +- (BOOL)isActive { + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumActive; +} + +- (BOOL)isDismissed { + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumDismissed; +} + +- (BOOL)isInProgress { + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumInProgress; +} + +- (BOOL)isNa { + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumNa; } -- (BOOL)isNonConfidential { - return _tag == DBTEAMLOGConfidentialityNonConfidential; +- (BOOL)isResolved { + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumResolved; } - (BOOL)isOther { - return _tag == DBTEAMLOGConfidentialityOther; + return _tag == DBTEAMLOGAdminAlertGeneralStateEnumOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGConfidentialityConfidential: - return @"DBTEAMLOGConfidentialityConfidential"; - case DBTEAMLOGConfidentialityNonConfidential: - return @"DBTEAMLOGConfidentialityNonConfidential"; - case DBTEAMLOGConfidentialityOther: - return @"DBTEAMLOGConfidentialityOther"; + case DBTEAMLOGAdminAlertGeneralStateEnumActive: + return @"DBTEAMLOGAdminAlertGeneralStateEnumActive"; + case DBTEAMLOGAdminAlertGeneralStateEnumDismissed: + return @"DBTEAMLOGAdminAlertGeneralStateEnumDismissed"; + case DBTEAMLOGAdminAlertGeneralStateEnumInProgress: + return @"DBTEAMLOGAdminAlertGeneralStateEnumInProgress"; + case DBTEAMLOGAdminAlertGeneralStateEnumNa: + return @"DBTEAMLOGAdminAlertGeneralStateEnumNa"; + case DBTEAMLOGAdminAlertGeneralStateEnumResolved: + return @"DBTEAMLOGAdminAlertGeneralStateEnumResolved"; + case DBTEAMLOGAdminAlertGeneralStateEnumOther: + return @"DBTEAMLOGAdminAlertGeneralStateEnumOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -3107,18 +3340,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGConfidentialitySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGConfidentialitySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertGeneralStateEnumSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGConfidentialitySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3136,12 +3369,24 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGConfidentialityConfidential: + case DBTEAMLOGAdminAlertGeneralStateEnumActive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertGeneralStateEnumDismissed: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGConfidentialityNonConfidential: + break; + case DBTEAMLOGAdminAlertGeneralStateEnumInProgress: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGConfidentialityOther: + break; + case DBTEAMLOGAdminAlertGeneralStateEnumNa: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertGeneralStateEnumResolved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertGeneralStateEnumOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3156,23 +3401,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToConfidentiality:other]; + return [self isEqualToAdminAlertGeneralStateEnum:other]; } -- (BOOL)isEqualToConfidentiality:(DBTEAMLOGConfidentiality *)aConfidentiality { - if (self == aConfidentiality) { +- (BOOL)isEqualToAdminAlertGeneralStateEnum:(DBTEAMLOGAdminAlertGeneralStateEnum *)anAdminAlertGeneralStateEnum { + if (self == anAdminAlertGeneralStateEnum) { return YES; } - if (self.tag != aConfidentiality.tag) { + if (self.tag != anAdminAlertGeneralStateEnum.tag) { return NO; } switch (_tag) { - case DBTEAMLOGConfidentialityConfidential: - return [[self tagName] isEqual:[aConfidentiality tagName]]; - case DBTEAMLOGConfidentialityNonConfidential: - return [[self tagName] isEqual:[aConfidentiality tagName]]; - case DBTEAMLOGConfidentialityOther: - return [[self tagName] isEqual:[aConfidentiality tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumActive: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumDismissed: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumInProgress: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumNa: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumResolved: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; + case DBTEAMLOGAdminAlertGeneralStateEnumOther: + return [[self tagName] isEqual:[anAdminAlertGeneralStateEnum tagName]]; } return YES; } @@ -3181,35 +3432,47 @@ - (BOOL)isEqualToConfidentiality:(DBTEAMLOGConfidentiality *)aConfidentiality { #pragma mark - Serializer Object -@implementation DBTEAMLOGConfidentialitySerializer +@implementation DBTEAMLOGAdminAlertGeneralStateEnumSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGConfidentiality *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertGeneralStateEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isConfidential]) { - jsonDict[@".tag"] = @"confidential"; - } else if ([valueObj isNonConfidential]) { - jsonDict[@".tag"] = @"non_confidential"; + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isDismissed]) { + jsonDict[@".tag"] = @"dismissed"; + } else if ([valueObj isInProgress]) { + jsonDict[@".tag"] = @"in_progress"; + } else if ([valueObj isNa]) { + jsonDict[@".tag"] = @"na"; + } else if ([valueObj isResolved]) { + jsonDict[@".tag"] = @"resolved"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGConfidentiality *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAdminAlertGeneralStateEnum *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"confidential"]) { - return [[DBTEAMLOGConfidentiality alloc] initWithConfidential]; - } else if ([tag isEqualToString:@"non_confidential"]) { - return [[DBTEAMLOGConfidentiality alloc] initWithNonConfidential]; + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithActive]; + } else if ([tag isEqualToString:@"dismissed"]) { + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithDismissed]; + } else if ([tag isEqualToString:@"in_progress"]) { + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithInProgress]; + } else if ([tag isEqualToString:@"na"]) { + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithNa]; + } else if ([tag isEqualToString:@"resolved"]) { + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithResolved]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGConfidentiality alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithOther]; } else { - return [[DBTEAMLOGConfidentiality alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertGeneralStateEnum alloc] initWithOther]; } } @@ -3217,26 +3480,50 @@ + (DBTEAMLOGConfidentiality *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGContentPermanentDeletePolicy.h" +#import "DBTEAMLOGAdminAlertSeverityEnum.h" #pragma mark - API Object -@implementation DBTEAMLOGContentPermanentDeletePolicy +@implementation DBTEAMLOGAdminAlertSeverityEnum #pragma mark - Constructors -- (instancetype)initWithDisabled { +- (instancetype)initWithHigh { self = [super init]; if (self) { - _tag = DBTEAMLOGContentPermanentDeletePolicyDisabled; + _tag = DBTEAMLOGAdminAlertSeverityEnumHigh; } return self; } -- (instancetype)initWithEnabled { +- (instancetype)initWithInfo { self = [super init]; if (self) { - _tag = DBTEAMLOGContentPermanentDeletePolicyEnabled; + _tag = DBTEAMLOGAdminAlertSeverityEnumInfo; + } + return self; +} + +- (instancetype)initWithLow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertSeverityEnumLow; + } + return self; +} + +- (instancetype)initWithMedium { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertSeverityEnumMedium; + } + return self; +} + +- (instancetype)initWithNa { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertSeverityEnumNa; } return self; } @@ -3244,7 +3531,7 @@ - (instancetype)initWithEnabled { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGContentPermanentDeletePolicyOther; + _tag = DBTEAMLOGAdminAlertSeverityEnumOther; } return self; } @@ -3253,26 +3540,44 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isDisabled { - return _tag == DBTEAMLOGContentPermanentDeletePolicyDisabled; +- (BOOL)isHigh { + return _tag == DBTEAMLOGAdminAlertSeverityEnumHigh; } -- (BOOL)isEnabled { - return _tag == DBTEAMLOGContentPermanentDeletePolicyEnabled; +- (BOOL)isInfo { + return _tag == DBTEAMLOGAdminAlertSeverityEnumInfo; +} + +- (BOOL)isLow { + return _tag == DBTEAMLOGAdminAlertSeverityEnumLow; +} + +- (BOOL)isMedium { + return _tag == DBTEAMLOGAdminAlertSeverityEnumMedium; +} + +- (BOOL)isNa { + return _tag == DBTEAMLOGAdminAlertSeverityEnumNa; } - (BOOL)isOther { - return _tag == DBTEAMLOGContentPermanentDeletePolicyOther; + return _tag == DBTEAMLOGAdminAlertSeverityEnumOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGContentPermanentDeletePolicyDisabled: - return @"DBTEAMLOGContentPermanentDeletePolicyDisabled"; - case DBTEAMLOGContentPermanentDeletePolicyEnabled: - return @"DBTEAMLOGContentPermanentDeletePolicyEnabled"; - case DBTEAMLOGContentPermanentDeletePolicyOther: - return @"DBTEAMLOGContentPermanentDeletePolicyOther"; + case DBTEAMLOGAdminAlertSeverityEnumHigh: + return @"DBTEAMLOGAdminAlertSeverityEnumHigh"; + case DBTEAMLOGAdminAlertSeverityEnumInfo: + return @"DBTEAMLOGAdminAlertSeverityEnumInfo"; + case DBTEAMLOGAdminAlertSeverityEnumLow: + return @"DBTEAMLOGAdminAlertSeverityEnumLow"; + case DBTEAMLOGAdminAlertSeverityEnumMedium: + return @"DBTEAMLOGAdminAlertSeverityEnumMedium"; + case DBTEAMLOGAdminAlertSeverityEnumNa: + return @"DBTEAMLOGAdminAlertSeverityEnumNa"; + case DBTEAMLOGAdminAlertSeverityEnumOther: + return @"DBTEAMLOGAdminAlertSeverityEnumOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -3280,18 +3585,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertSeverityEnumSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGContentPermanentDeletePolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3309,12 +3614,24 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGContentPermanentDeletePolicyDisabled: + case DBTEAMLOGAdminAlertSeverityEnumHigh: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGContentPermanentDeletePolicyEnabled: + break; + case DBTEAMLOGAdminAlertSeverityEnumInfo: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGContentPermanentDeletePolicyOther: + break; + case DBTEAMLOGAdminAlertSeverityEnumLow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertSeverityEnumMedium: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertSeverityEnumNa: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertSeverityEnumOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3329,23 +3646,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToContentPermanentDeletePolicy:other]; + return [self isEqualToAdminAlertSeverityEnum:other]; } -- (BOOL)isEqualToContentPermanentDeletePolicy:(DBTEAMLOGContentPermanentDeletePolicy *)aContentPermanentDeletePolicy { - if (self == aContentPermanentDeletePolicy) { +- (BOOL)isEqualToAdminAlertSeverityEnum:(DBTEAMLOGAdminAlertSeverityEnum *)anAdminAlertSeverityEnum { + if (self == anAdminAlertSeverityEnum) { return YES; } - if (self.tag != aContentPermanentDeletePolicy.tag) { + if (self.tag != anAdminAlertSeverityEnum.tag) { return NO; } switch (_tag) { - case DBTEAMLOGContentPermanentDeletePolicyDisabled: - return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; - case DBTEAMLOGContentPermanentDeletePolicyEnabled: - return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; - case DBTEAMLOGContentPermanentDeletePolicyOther: - return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumHigh: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumInfo: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumLow: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumMedium: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumNa: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; + case DBTEAMLOGAdminAlertSeverityEnumOther: + return [[self tagName] isEqual:[anAdminAlertSeverityEnum tagName]]; } return YES; } @@ -3354,35 +3677,47 @@ - (BOOL)isEqualToContentPermanentDeletePolicy:(DBTEAMLOGContentPermanentDeletePo #pragma mark - Serializer Object -@implementation DBTEAMLOGContentPermanentDeletePolicySerializer +@implementation DBTEAMLOGAdminAlertSeverityEnumSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGContentPermanentDeletePolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertSeverityEnum *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; + if ([valueObj isHigh]) { + jsonDict[@".tag"] = @"high"; + } else if ([valueObj isInfo]) { + jsonDict[@".tag"] = @"info"; + } else if ([valueObj isLow]) { + jsonDict[@".tag"] = @"low"; + } else if ([valueObj isMedium]) { + jsonDict[@".tag"] = @"medium"; + } else if ([valueObj isNa]) { + jsonDict[@".tag"] = @"na"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAdminAlertSeverityEnum *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithEnabled]; + if ([tag isEqualToString:@"high"]) { + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithHigh]; + } else if ([tag isEqualToString:@"info"]) { + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithInfo]; + } else if ([tag isEqualToString:@"low"]) { + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithLow]; + } else if ([tag isEqualToString:@"medium"]) { + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithMedium]; + } else if ([tag isEqualToString:@"na"]) { + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithNa]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithOther]; } else { - return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertSeverityEnum alloc] initWithOther]; } } @@ -3390,99 +3725,301 @@ + (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)valueDict #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGContextLogInfo.h" -#import "DBTEAMLOGNonTeamMemberLogInfo.h" -#import "DBTEAMLOGTeamMemberLogInfo.h" +#import "DBTEAMLOGAdminAlertingAlertConfiguration.h" +#import "DBTEAMLOGAdminAlertingAlertSensitivity.h" +#import "DBTEAMLOGAdminAlertingAlertStatePolicy.h" +#import "DBTEAMLOGRecipientsConfiguration.h" #pragma mark - API Object -@implementation DBTEAMLOGContextLogInfo +@implementation DBTEAMLOGAdminAlertingAlertConfiguration -@synthesize teamMember = _teamMember; -@synthesize nonTeamMember = _nonTeamMember; +#pragma mark - Constructors + +- (instancetype)initWithAlertState:(DBTEAMLOGAdminAlertingAlertStatePolicy *)alertState + sensitivityLevel:(DBTEAMLOGAdminAlertingAlertSensitivity *)sensitivityLevel + recipientsSettings:(DBTEAMLOGRecipientsConfiguration *)recipientsSettings + text:(NSString *)text + excludedFileExtensions:(NSString *)excludedFileExtensions { + + self = [super init]; + if (self) { + _alertState = alertState; + _sensitivityLevel = sensitivityLevel; + _recipientsSettings = recipientsSettings; + _text = text; + _excludedFileExtensions = excludedFileExtensions; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithAlertState:nil sensitivityLevel:nil recipientsSettings:nil text:nil excludedFileExtensions:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingAlertConfigurationSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.alertState != nil) { + result = prime * result + [self.alertState hash]; + } + if (self.sensitivityLevel != nil) { + result = prime * result + [self.sensitivityLevel hash]; + } + if (self.recipientsSettings != nil) { + result = prime * result + [self.recipientsSettings hash]; + } + if (self.text != nil) { + result = prime * result + [self.text hash]; + } + if (self.excludedFileExtensions != nil) { + result = prime * result + [self.excludedFileExtensions hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToAdminAlertingAlertConfiguration:other]; +} + +- (BOOL)isEqualToAdminAlertingAlertConfiguration: + (DBTEAMLOGAdminAlertingAlertConfiguration *)anAdminAlertingAlertConfiguration { + if (self == anAdminAlertingAlertConfiguration) { + return YES; + } + if (self.alertState) { + if (![self.alertState isEqual:anAdminAlertingAlertConfiguration.alertState]) { + return NO; + } + } + if (self.sensitivityLevel) { + if (![self.sensitivityLevel isEqual:anAdminAlertingAlertConfiguration.sensitivityLevel]) { + return NO; + } + } + if (self.recipientsSettings) { + if (![self.recipientsSettings isEqual:anAdminAlertingAlertConfiguration.recipientsSettings]) { + return NO; + } + } + if (self.text) { + if (![self.text isEqual:anAdminAlertingAlertConfiguration.text]) { + return NO; + } + } + if (self.excludedFileExtensions) { + if (![self.excludedFileExtensions isEqual:anAdminAlertingAlertConfiguration.excludedFileExtensions]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGAdminAlertingAlertConfigurationSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertConfiguration *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.alertState) { + jsonDict[@"alert_state"] = [DBTEAMLOGAdminAlertingAlertStatePolicySerializer serialize:valueObj.alertState]; + } + if (valueObj.sensitivityLevel) { + jsonDict[@"sensitivity_level"] = + [DBTEAMLOGAdminAlertingAlertSensitivitySerializer serialize:valueObj.sensitivityLevel]; + } + if (valueObj.recipientsSettings) { + jsonDict[@"recipients_settings"] = + [DBTEAMLOGRecipientsConfigurationSerializer serialize:valueObj.recipientsSettings]; + } + if (valueObj.text) { + jsonDict[@"text"] = valueObj.text; + } + if (valueObj.excludedFileExtensions) { + jsonDict[@"excluded_file_extensions"] = valueObj.excludedFileExtensions; + } + + return jsonDict; +} + ++ (DBTEAMLOGAdminAlertingAlertConfiguration *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAdminAlertingAlertStatePolicy *alertState = + valueDict[@"alert_state"] + ? [DBTEAMLOGAdminAlertingAlertStatePolicySerializer deserialize:valueDict[@"alert_state"]] + : nil; + DBTEAMLOGAdminAlertingAlertSensitivity *sensitivityLevel = + valueDict[@"sensitivity_level"] + ? [DBTEAMLOGAdminAlertingAlertSensitivitySerializer deserialize:valueDict[@"sensitivity_level"]] + : nil; + DBTEAMLOGRecipientsConfiguration *recipientsSettings = + valueDict[@"recipients_settings"] + ? [DBTEAMLOGRecipientsConfigurationSerializer deserialize:valueDict[@"recipients_settings"]] + : nil; + NSString *text = valueDict[@"text"] ?: nil; + NSString *excludedFileExtensions = valueDict[@"excluded_file_extensions"] ?: nil; + + return [[DBTEAMLOGAdminAlertingAlertConfiguration alloc] initWithAlertState:alertState + sensitivityLevel:sensitivityLevel + recipientsSettings:recipientsSettings + text:text + excludedFileExtensions:excludedFileExtensions]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAdminAlertingAlertSensitivity.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGAdminAlertingAlertSensitivity #pragma mark - Constructors -- (instancetype)initWithTeamMember:(DBTEAMLOGTeamMemberLogInfo *)teamMember { +- (instancetype)initWithHigh { self = [super init]; if (self) { - _tag = DBTEAMLOGContextLogInfoTeamMember; - _teamMember = teamMember; + _tag = DBTEAMLOGAdminAlertingAlertSensitivityHigh; } return self; } -- (instancetype)initWithNonTeamMember:(DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { +- (instancetype)initWithHighest { self = [super init]; if (self) { - _tag = DBTEAMLOGContextLogInfoNonTeamMember; - _nonTeamMember = nonTeamMember; + _tag = DBTEAMLOGAdminAlertingAlertSensitivityHighest; } return self; } -- (instancetype)initWithTeam { +- (instancetype)initWithInvalid { self = [super init]; if (self) { - _tag = DBTEAMLOGContextLogInfoTeam; + _tag = DBTEAMLOGAdminAlertingAlertSensitivityInvalid; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithLow { self = [super init]; if (self) { - _tag = DBTEAMLOGContextLogInfoOther; + _tag = DBTEAMLOGAdminAlertingAlertSensitivityLow; } return self; } -#pragma mark - Instance field accessors +- (instancetype)initWithLowest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertingAlertSensitivityLowest; + } + return self; +} -- (DBTEAMLOGTeamMemberLogInfo *)teamMember { - if (![self isTeamMember]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGContextLogInfoTeamMember, but was %@.", [self tagName]]; +- (instancetype)initWithMedium { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertingAlertSensitivityMedium; } - return _teamMember; + return self; } -- (DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { - if (![self isNonTeamMember]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGContextLogInfoNonTeamMember, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertingAlertSensitivityOther; } - return _nonTeamMember; + return self; } +#pragma mark - Instance field accessors + #pragma mark - Tag state methods -- (BOOL)isTeamMember { - return _tag == DBTEAMLOGContextLogInfoTeamMember; +- (BOOL)isHigh { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityHigh; } -- (BOOL)isNonTeamMember { - return _tag == DBTEAMLOGContextLogInfoNonTeamMember; +- (BOOL)isHighest { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityHighest; } -- (BOOL)isTeam { - return _tag == DBTEAMLOGContextLogInfoTeam; +- (BOOL)isInvalid { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityInvalid; +} + +- (BOOL)isLow { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityLow; +} + +- (BOOL)isLowest { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityLowest; +} + +- (BOOL)isMedium { + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityMedium; } - (BOOL)isOther { - return _tag == DBTEAMLOGContextLogInfoOther; + return _tag == DBTEAMLOGAdminAlertingAlertSensitivityOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGContextLogInfoTeamMember: - return @"DBTEAMLOGContextLogInfoTeamMember"; - case DBTEAMLOGContextLogInfoNonTeamMember: - return @"DBTEAMLOGContextLogInfoNonTeamMember"; - case DBTEAMLOGContextLogInfoTeam: - return @"DBTEAMLOGContextLogInfoTeam"; - case DBTEAMLOGContextLogInfoOther: - return @"DBTEAMLOGContextLogInfoOther"; + case DBTEAMLOGAdminAlertingAlertSensitivityHigh: + return @"DBTEAMLOGAdminAlertingAlertSensitivityHigh"; + case DBTEAMLOGAdminAlertingAlertSensitivityHighest: + return @"DBTEAMLOGAdminAlertingAlertSensitivityHighest"; + case DBTEAMLOGAdminAlertingAlertSensitivityInvalid: + return @"DBTEAMLOGAdminAlertingAlertSensitivityInvalid"; + case DBTEAMLOGAdminAlertingAlertSensitivityLow: + return @"DBTEAMLOGAdminAlertingAlertSensitivityLow"; + case DBTEAMLOGAdminAlertingAlertSensitivityLowest: + return @"DBTEAMLOGAdminAlertingAlertSensitivityLowest"; + case DBTEAMLOGAdminAlertingAlertSensitivityMedium: + return @"DBTEAMLOGAdminAlertingAlertSensitivityMedium"; + case DBTEAMLOGAdminAlertingAlertSensitivityOther: + return @"DBTEAMLOGAdminAlertingAlertSensitivityOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -3490,18 +4027,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGContextLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingAlertSensitivitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGContextLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingAlertSensitivitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGContextLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingAlertSensitivitySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3519,14 +4056,27 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGContextLogInfoTeamMember: - result = prime * result + [self.teamMember hash]; - case DBTEAMLOGContextLogInfoNonTeamMember: - result = prime * result + [self.nonTeamMember hash]; - case DBTEAMLOGContextLogInfoTeam: + case DBTEAMLOGAdminAlertingAlertSensitivityHigh: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGContextLogInfoOther: + break; + case DBTEAMLOGAdminAlertingAlertSensitivityHighest: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertSensitivityInvalid: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertSensitivityLow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertSensitivityLowest: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertSensitivityMedium: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertSensitivityOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -3541,25 +4091,32 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToContextLogInfo:other]; + return [self isEqualToAdminAlertingAlertSensitivity:other]; } -- (BOOL)isEqualToContextLogInfo:(DBTEAMLOGContextLogInfo *)aContextLogInfo { - if (self == aContextLogInfo) { +- (BOOL)isEqualToAdminAlertingAlertSensitivity: + (DBTEAMLOGAdminAlertingAlertSensitivity *)anAdminAlertingAlertSensitivity { + if (self == anAdminAlertingAlertSensitivity) { return YES; } - if (self.tag != aContextLogInfo.tag) { + if (self.tag != anAdminAlertingAlertSensitivity.tag) { return NO; } switch (_tag) { - case DBTEAMLOGContextLogInfoTeamMember: - return [self.teamMember isEqual:aContextLogInfo.teamMember]; - case DBTEAMLOGContextLogInfoNonTeamMember: - return [self.nonTeamMember isEqual:aContextLogInfo.nonTeamMember]; - case DBTEAMLOGContextLogInfoTeam: - return [[self tagName] isEqual:[aContextLogInfo tagName]]; - case DBTEAMLOGContextLogInfoOther: - return [[self tagName] isEqual:[aContextLogInfo tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityHigh: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityHighest: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityInvalid: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityLow: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityLowest: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityMedium: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; + case DBTEAMLOGAdminAlertingAlertSensitivityOther: + return [[self tagName] isEqual:[anAdminAlertingAlertSensitivity tagName]]; } return YES; } @@ -3568,44 +4125,51 @@ - (BOOL)isEqualToContextLogInfo:(DBTEAMLOGContextLogInfo *)aContextLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGContextLogInfoSerializer +@implementation DBTEAMLOGAdminAlertingAlertSensitivitySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGContextLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertSensitivity *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTeamMember]) { - jsonDict[@"team_member"] = [[DBTEAMLOGTeamMemberLogInfoSerializer serialize:valueObj.teamMember] mutableCopy]; - jsonDict[@".tag"] = @"team_member"; - } else if ([valueObj isNonTeamMember]) { - jsonDict[@"non_team_member"] = - [[DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:valueObj.nonTeamMember] mutableCopy]; - jsonDict[@".tag"] = @"non_team_member"; - } else if ([valueObj isTeam]) { - jsonDict[@".tag"] = @"team"; + if ([valueObj isHigh]) { + jsonDict[@".tag"] = @"high"; + } else if ([valueObj isHighest]) { + jsonDict[@".tag"] = @"highest"; + } else if ([valueObj isInvalid]) { + jsonDict[@".tag"] = @"invalid"; + } else if ([valueObj isLow]) { + jsonDict[@".tag"] = @"low"; + } else if ([valueObj isLowest]) { + jsonDict[@".tag"] = @"lowest"; + } else if ([valueObj isMedium]) { + jsonDict[@".tag"] = @"medium"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAdminAlertingAlertSensitivity *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"team_member"]) { - DBTEAMLOGTeamMemberLogInfo *teamMember = [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGContextLogInfo alloc] initWithTeamMember:teamMember]; - } else if ([tag isEqualToString:@"non_team_member"]) { - DBTEAMLOGNonTeamMemberLogInfo *nonTeamMember = [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGContextLogInfo alloc] initWithNonTeamMember:nonTeamMember]; - } else if ([tag isEqualToString:@"team"]) { - return [[DBTEAMLOGContextLogInfo alloc] initWithTeam]; + if ([tag isEqualToString:@"high"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithHigh]; + } else if ([tag isEqualToString:@"highest"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithHighest]; + } else if ([tag isEqualToString:@"invalid"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithInvalid]; + } else if ([tag isEqualToString:@"low"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithLow]; + } else if ([tag isEqualToString:@"lowest"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithLowest]; + } else if ([tag isEqualToString:@"medium"]) { + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithMedium]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGContextLogInfo alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithOther]; } else { - return [[DBTEAMLOGContextLogInfo alloc] initWithOther]; + return [[DBTEAMLOGAdminAlertingAlertSensitivity alloc] initWithOther]; } } @@ -3613,36 +4177,56 @@ + (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGCreateFolderDetails.h" +#import "DBTEAMLOGAdminAlertCategoryEnum.h" +#import "DBTEAMLOGAdminAlertGeneralStateEnum.h" +#import "DBTEAMLOGAdminAlertSeverityEnum.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGCreateFolderDetails +@implementation DBTEAMLOGAdminAlertingAlertStateChangedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithAlertName:(NSString *)alertName + alertSeverity:(DBTEAMLOGAdminAlertSeverityEnum *)alertSeverity + alertCategory:(DBTEAMLOGAdminAlertCategoryEnum *)alertCategory + alertInstanceId:(NSString *)alertInstanceId + previousValue:(DBTEAMLOGAdminAlertGeneralStateEnum *)previousValue + dNewValue:(DBTEAMLOGAdminAlertGeneralStateEnum *)dNewValue { + [DBStoneValidators nonnullValidator:nil](alertName); + [DBStoneValidators nonnullValidator:nil](alertSeverity); + [DBStoneValidators nonnullValidator:nil](alertCategory); + [DBStoneValidators nonnullValidator:nil](alertInstanceId); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _alertName = alertName; + _alertSeverity = alertSeverity; + _alertCategory = alertCategory; + _alertInstanceId = alertInstanceId; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGCreateFolderDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGCreateFolderDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGCreateFolderDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3659,6 +4243,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.alertName hash]; + result = prime * result + [self.alertSeverity hash]; + result = prime * result + [self.alertCategory hash]; + result = prime * result + [self.alertInstanceId hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + return prime * result; } @@ -3671,13 +4262,32 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToCreateFolderDetails:other]; + return [self isEqualToAdminAlertingAlertStateChangedDetails:other]; } -- (BOOL)isEqualToCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)aCreateFolderDetails { - if (self == aCreateFolderDetails) { +- (BOOL)isEqualToAdminAlertingAlertStateChangedDetails: + (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)anAdminAlertingAlertStateChangedDetails { + if (self == anAdminAlertingAlertStateChangedDetails) { return YES; } + if (![self.alertName isEqual:anAdminAlertingAlertStateChangedDetails.alertName]) { + return NO; + } + if (![self.alertSeverity isEqual:anAdminAlertingAlertStateChangedDetails.alertSeverity]) { + return NO; + } + if (![self.alertCategory isEqual:anAdminAlertingAlertStateChangedDetails.alertCategory]) { + return NO; + } + if (![self.alertInstanceId isEqual:anAdminAlertingAlertStateChangedDetails.alertInstanceId]) { + return NO; + } + if (![self.previousValue isEqual:anAdminAlertingAlertStateChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:anAdminAlertingAlertStateChangedDetails.dNewValue]) { + return NO; + } return YES; } @@ -3685,61 +4295,77 @@ - (BOOL)isEqualToCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)aCreateFold #pragma mark - Serializer Object -@implementation DBTEAMLOGCreateFolderDetailsSerializer +@implementation DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"alert_name"] = valueObj.alertName; + jsonDict[@"alert_severity"] = [DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:valueObj.alertSeverity]; + jsonDict[@"alert_category"] = [DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:valueObj.alertCategory]; + jsonDict[@"alert_instance_id"] = valueObj.alertInstanceId; + jsonDict[@"previous_value"] = [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGAdminAlertGeneralStateEnumSerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -+ (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *alertName = valueDict[@"alert_name"]; + DBTEAMLOGAdminAlertSeverityEnum *alertSeverity = + [DBTEAMLOGAdminAlertSeverityEnumSerializer deserialize:valueDict[@"alert_severity"]]; + DBTEAMLOGAdminAlertCategoryEnum *alertCategory = + [DBTEAMLOGAdminAlertCategoryEnumSerializer deserialize:valueDict[@"alert_category"]]; + NSString *alertInstanceId = valueDict[@"alert_instance_id"]; + DBTEAMLOGAdminAlertGeneralStateEnum *previousValue = + [DBTEAMLOGAdminAlertGeneralStateEnumSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGAdminAlertGeneralStateEnum *dNewValue = + [DBTEAMLOGAdminAlertGeneralStateEnumSerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGCreateFolderDetails alloc] initDefault]; + return [[DBTEAMLOGAdminAlertingAlertStateChangedDetails alloc] initWithAlertName:alertName + alertSeverity:alertSeverity + alertCategory:alertCategory + alertInstanceId:alertInstanceId + previousValue:previousValue + dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" -#import "DBTEAMLOGPlacementRestriction.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetails +@implementation DBTEAMLOGAdminAlertingAlertStateChangedType #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(DBTEAMLOGPlacementRestriction *)previousValue - dNewValue:(DBTEAMLOGPlacementRestriction *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3756,8 +4382,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -3771,18 +4396,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDataPlacementRestrictionChangePolicyDetails:other]; + return [self isEqualToAdminAlertingAlertStateChangedType:other]; } -- (BOOL)isEqualToDataPlacementRestrictionChangePolicyDetails: - (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)aDataPlacementRestrictionChangePolicyDetails { - if (self == aDataPlacementRestrictionChangePolicyDetails) { +- (BOOL)isEqualToAdminAlertingAlertStateChangedType: + (DBTEAMLOGAdminAlertingAlertStateChangedType *)anAdminAlertingAlertStateChangedType { + if (self == anAdminAlertingAlertStateChangedType) { return YES; } - if (![self.previousValue isEqual:aDataPlacementRestrictionChangePolicyDetails.previousValue]) { - return NO; - } - if (![self.dNewValue isEqual:aDataPlacementRestrictionChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:anAdminAlertingAlertStateChangedType.description_]) { return NO; } return YES; @@ -3792,64 +4414,101 @@ - (BOOL)isEqualToDataPlacementRestrictionChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer +@implementation DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.previousValue]; - jsonDict[@"new_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.dNewValue]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPlacementRestriction *previousValue = - [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"previous_value"]]; - DBTEAMLOGPlacementRestriction *dNewValue = - [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"new_value"]]; ++ (DBTEAMLOGAdminAlertingAlertStateChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetails alloc] initWithPreviousValue:previousValue - dNewValue:dNewValue]; + return [[DBTEAMLOGAdminAlertingAlertStateChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" -#import "DBTEAMLOGPlacementRestriction.h" +#import "DBTEAMLOGAdminAlertingAlertStatePolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails +@implementation DBTEAMLOGAdminAlertingAlertStatePolicy #pragma mark - Constructors -- (instancetype)initWithPlacementRestriction:(DBTEAMLOGPlacementRestriction *)placementRestriction { - [DBStoneValidators nonnullValidator:nil](placementRestriction); +- (instancetype)initWithOff { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertingAlertStatePolicyOff; + } + return self; +} +- (instancetype)initWithOn { self = [super init]; if (self) { - _placementRestriction = placementRestriction; + _tag = DBTEAMLOGAdminAlertingAlertStatePolicyOn; } return self; } +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminAlertingAlertStatePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOff { + return _tag == DBTEAMLOGAdminAlertingAlertStatePolicyOff; +} + +- (BOOL)isOn { + return _tag == DBTEAMLOGAdminAlertingAlertStatePolicyOn; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGAdminAlertingAlertStatePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAdminAlertingAlertStatePolicyOff: + return @"DBTEAMLOGAdminAlertingAlertStatePolicyOff"; + case DBTEAMLOGAdminAlertingAlertStatePolicyOn: + return @"DBTEAMLOGAdminAlertingAlertStatePolicyOn"; + case DBTEAMLOGAdminAlertingAlertStatePolicyOther: + return @"DBTEAMLOGAdminAlertingAlertStatePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingAlertStatePolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingAlertStatePolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingAlertStatePolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3866,7 +4525,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.placementRestriction hash]; + switch (_tag) { + case DBTEAMLOGAdminAlertingAlertStatePolicyOff: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertStatePolicyOn: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminAlertingAlertStatePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -3880,17 +4549,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDataPlacementRestrictionSatisfyPolicyDetails:other]; + return [self isEqualToAdminAlertingAlertStatePolicy:other]; } -- (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyDetails: - (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)aDataPlacementRestrictionSatisfyPolicyDetails { - if (self == aDataPlacementRestrictionSatisfyPolicyDetails) { +- (BOOL)isEqualToAdminAlertingAlertStatePolicy: + (DBTEAMLOGAdminAlertingAlertStatePolicy *)anAdminAlertingAlertStatePolicy { + if (self == anAdminAlertingAlertStatePolicy) { return YES; } - if (![self.placementRestriction isEqual:aDataPlacementRestrictionSatisfyPolicyDetails.placementRestriction]) { + if (self.tag != anAdminAlertingAlertStatePolicy.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGAdminAlertingAlertStatePolicyOff: + return [[self tagName] isEqual:[anAdminAlertingAlertStatePolicy tagName]]; + case DBTEAMLOGAdminAlertingAlertStatePolicyOn: + return [[self tagName] isEqual:[anAdminAlertingAlertStatePolicy tagName]]; + case DBTEAMLOGAdminAlertingAlertStatePolicyOther: + return [[self tagName] isEqual:[anAdminAlertingAlertStatePolicy tagName]]; + } return YES; } @@ -3898,67 +4575,81 @@ - (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer +@implementation DBTEAMLOGAdminAlertingAlertStatePolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStatePolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"placement_restriction"] = - [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.placementRestriction]; + if ([valueObj isOff]) { + jsonDict[@".tag"] = @"off"; + } else if ([valueObj isOn]) { + jsonDict[@".tag"] = @"on"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPlacementRestriction *placementRestriction = - [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"placement_restriction"]]; ++ (DBTEAMLOGAdminAlertingAlertStatePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return - [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails alloc] initWithPlacementRestriction:placementRestriction]; + if ([tag isEqualToString:@"off"]) { + return [[DBTEAMLOGAdminAlertingAlertStatePolicy alloc] initWithOff]; + } else if ([tag isEqualToString:@"on"]) { + return [[DBTEAMLOGAdminAlertingAlertStatePolicy alloc] initWithOn]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAdminAlertingAlertStatePolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGAdminAlertingAlertStatePolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDesktopSessionLogInfo.h" -#import "DBTEAMLOGMobileSessionLogInfo.h" -#import "DBTEAMLOGSessionLogInfo.h" -#import "DBTEAMLOGWebSessionLogInfo.h" +#import "DBTEAMLOGAdminAlertingAlertConfiguration.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSessionLogInfo +@implementation DBTEAMLOGAdminAlertingChangedAlertConfigDetails #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId { +- (instancetype)initWithAlertName:(NSString *)alertName + previousAlertConfig:(DBTEAMLOGAdminAlertingAlertConfiguration *)previousAlertConfig + dNewAlertConfig:(DBTEAMLOGAdminAlertingAlertConfiguration *)dNewAlertConfig { + [DBStoneValidators nonnullValidator:nil](alertName); + [DBStoneValidators nonnullValidator:nil](previousAlertConfig); + [DBStoneValidators nonnullValidator:nil](dNewAlertConfig); self = [super init]; if (self) { - _sessionId = sessionId; + _alertName = alertName; + _previousAlertConfig = previousAlertConfig; + _dNewAlertConfig = dNewAlertConfig; } return self; } -- (instancetype)initDefault { - return [self initWithSessionId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSessionLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSessionLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSessionLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -3975,9 +4666,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sessionId != nil) { - result = prime * result + [self.sessionId hash]; - } + result = prime * result + [self.alertName hash]; + result = prime * result + [self.previousAlertConfig hash]; + result = prime * result + [self.dNewAlertConfig hash]; return prime * result; } @@ -3991,17 +4682,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSessionLogInfo:other]; + return [self isEqualToAdminAlertingChangedAlertConfigDetails:other]; } -- (BOOL)isEqualToSessionLogInfo:(DBTEAMLOGSessionLogInfo *)aSessionLogInfo { - if (self == aSessionLogInfo) { +- (BOOL)isEqualToAdminAlertingChangedAlertConfigDetails: + (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)anAdminAlertingChangedAlertConfigDetails { + if (self == anAdminAlertingChangedAlertConfigDetails) { return YES; } - if (self.sessionId) { - if (![self.sessionId isEqual:aSessionLogInfo.sessionId]) { - return NO; - } + if (![self.alertName isEqual:anAdminAlertingChangedAlertConfigDetails.alertName]) { + return NO; + } + if (![self.previousAlertConfig isEqual:anAdminAlertingChangedAlertConfigDetails.previousAlertConfig]) { + return NO; + } + if (![self.dNewAlertConfig isEqual:anAdminAlertingChangedAlertConfigDetails.dNewAlertConfig]) { + return NO; } return YES; } @@ -4010,96 +4706,68 @@ - (BOOL)isEqualToSessionLogInfo:(DBTEAMLOGSessionLogInfo *)aSessionLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGSessionLogInfoSerializer +@implementation DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSessionLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sessionId) { - jsonDict[@"session_id"] = valueObj.sessionId; - } - - if ([valueObj isKindOfClass:[DBTEAMLOGWebSessionLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGWebSessionLogInfoSerializer serialize:(DBTEAMLOGWebSessionLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"web"; - } else if ([valueObj isKindOfClass:[DBTEAMLOGDesktopSessionLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGDesktopSessionLogInfoSerializer serialize:(DBTEAMLOGDesktopSessionLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"desktop"; - } else if ([valueObj isKindOfClass:[DBTEAMLOGMobileSessionLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGMobileSessionLogInfoSerializer serialize:(DBTEAMLOGMobileSessionLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"mobile"; - } + jsonDict[@"alert_name"] = valueObj.alertName; + jsonDict[@"previous_alert_config"] = + [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:valueObj.previousAlertConfig]; + jsonDict[@"new_alert_config"] = + [DBTEAMLOGAdminAlertingAlertConfigurationSerializer serialize:valueObj.dNewAlertConfig]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"web"]) { - return [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"desktop"]) { - return [DBTEAMLOGDesktopSessionLogInfoSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"mobile"]) { - return [DBTEAMLOGMobileSessionLogInfoSerializer deserialize:valueDict]; - } - - NSString *sessionId = valueDict[@"session_id"] ?: nil; ++ (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)deserialize:(NSDictionary *)valueDict { + NSString *alertName = valueDict[@"alert_name"]; + DBTEAMLOGAdminAlertingAlertConfiguration *previousAlertConfig = + [DBTEAMLOGAdminAlertingAlertConfigurationSerializer deserialize:valueDict[@"previous_alert_config"]]; + DBTEAMLOGAdminAlertingAlertConfiguration *dNewAlertConfig = + [DBTEAMLOGAdminAlertingAlertConfigurationSerializer deserialize:valueDict[@"new_alert_config"]]; - return [[DBTEAMLOGSessionLogInfo alloc] initWithSessionId:sessionId]; + return [[DBTEAMLOGAdminAlertingChangedAlertConfigDetails alloc] initWithAlertName:alertName + previousAlertConfig:previousAlertConfig + dNewAlertConfig:dNewAlertConfig]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDesktopSessionLogInfo.h" -#import "DBTEAMLOGSessionLogInfo.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigType.h" #pragma mark - API Object -@implementation DBTEAMLOGDesktopSessionLogInfo +@implementation DBTEAMLOGAdminAlertingChangedAlertConfigType #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); - self = [super initWithSessionId:sessionId]; + self = [super init]; if (self) { + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithSessionId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDesktopSessionLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDesktopSessionLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDesktopSessionLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4116,9 +4784,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sessionId != nil) { - result = prime * result + [self.sessionId hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -4132,17 +4798,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDesktopSessionLogInfo:other]; + return [self isEqualToAdminAlertingChangedAlertConfigType:other]; } -- (BOOL)isEqualToDesktopSessionLogInfo:(DBTEAMLOGDesktopSessionLogInfo *)aDesktopSessionLogInfo { - if (self == aDesktopSessionLogInfo) { +- (BOOL)isEqualToAdminAlertingChangedAlertConfigType: + (DBTEAMLOGAdminAlertingChangedAlertConfigType *)anAdminAlertingChangedAlertConfigType { + if (self == anAdminAlertingChangedAlertConfigType) { return YES; } - if (self.sessionId) { - if (![self.sessionId isEqual:aDesktopSessionLogInfo.sessionId]) { - return NO; - } + if (![self.description_ isEqual:anAdminAlertingChangedAlertConfigType.description_]) { + return NO; } return YES; } @@ -4151,66 +4816,69 @@ - (BOOL)isEqualToDesktopSessionLogInfo:(DBTEAMLOGDesktopSessionLogInfo *)aDeskto #pragma mark - Serializer Object -@implementation DBTEAMLOGDesktopSessionLogInfoSerializer +@implementation DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDesktopSessionLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sessionId) { - jsonDict[@"session_id"] = valueObj.sessionId; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"] ?: nil; ++ (DBTEAMLOGAdminAlertingChangedAlertConfigType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDesktopSessionLogInfo alloc] initWithSessionId:sessionId]; + return [[DBTEAMLOGAdminAlertingChangedAlertConfigType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h" -#import "DBTEAMLOGDeviceApprovalsPolicy.h" +#import "DBTEAMLOGAdminAlertCategoryEnum.h" +#import "DBTEAMLOGAdminAlertSeverityEnum.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails +@implementation DBTEAMLOGAdminAlertingTriggeredAlertDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceApprovalsPolicy *)dNewValue - previousValue:(DBTEAMLOGDeviceApprovalsPolicy *)previousValue { +- (instancetype)initWithAlertName:(NSString *)alertName + alertSeverity:(DBTEAMLOGAdminAlertSeverityEnum *)alertSeverity + alertCategory:(DBTEAMLOGAdminAlertCategoryEnum *)alertCategory + alertInstanceId:(NSString *)alertInstanceId { + [DBStoneValidators nonnullValidator:nil](alertName); + [DBStoneValidators nonnullValidator:nil](alertSeverity); + [DBStoneValidators nonnullValidator:nil](alertCategory); + [DBStoneValidators nonnullValidator:nil](alertInstanceId); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _alertName = alertName; + _alertSeverity = alertSeverity; + _alertCategory = alertCategory; + _alertInstanceId = alertInstanceId; } return self; } -- (instancetype)initDefault { - return [self initWithDNewValue:nil previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4227,12 +4895,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.alertName hash]; + result = prime * result + [self.alertSeverity hash]; + result = prime * result + [self.alertCategory hash]; + result = prime * result + [self.alertInstanceId hash]; return prime * result; } @@ -4246,23 +4912,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceApprovalsChangeDesktopPolicyDetails:other]; + return [self isEqualToAdminAlertingTriggeredAlertDetails:other]; } -- (BOOL)isEqualToDeviceApprovalsChangeDesktopPolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)aDeviceApprovalsChangeDesktopPolicyDetails { - if (self == aDeviceApprovalsChangeDesktopPolicyDetails) { +- (BOOL)isEqualToAdminAlertingTriggeredAlertDetails: + (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)anAdminAlertingTriggeredAlertDetails { + if (self == anAdminAlertingTriggeredAlertDetails) { return YES; } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aDeviceApprovalsChangeDesktopPolicyDetails.dNewValue]) { - return NO; - } + if (![self.alertName isEqual:anAdminAlertingTriggeredAlertDetails.alertName]) { + return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aDeviceApprovalsChangeDesktopPolicyDetails.previousValue]) { - return NO; - } + if (![self.alertSeverity isEqual:anAdminAlertingTriggeredAlertDetails.alertSeverity]) { + return NO; + } + if (![self.alertCategory isEqual:anAdminAlertingTriggeredAlertDetails.alertCategory]) { + return NO; + } + if (![self.alertInstanceId isEqual:anAdminAlertingTriggeredAlertDetails.alertInstanceId]) { + return NO; } return YES; } @@ -4271,74 +4939,69 @@ - (BOOL)isEqualToDeviceApprovalsChangeDesktopPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer +@implementation DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.dNewValue]; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"alert_name"] = valueObj.alertName; + jsonDict[@"alert_severity"] = [DBTEAMLOGAdminAlertSeverityEnumSerializer serialize:valueObj.alertSeverity]; + jsonDict[@"alert_category"] = [DBTEAMLOGAdminAlertCategoryEnumSerializer serialize:valueObj.alertCategory]; + jsonDict[@"alert_instance_id"] = valueObj.alertInstanceId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceApprovalsPolicy *dNewValue = - valueDict[@"new_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"new_value"]] : nil; - DBTEAMLOGDeviceApprovalsPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)deserialize:(NSDictionary *)valueDict { + NSString *alertName = valueDict[@"alert_name"]; + DBTEAMLOGAdminAlertSeverityEnum *alertSeverity = + [DBTEAMLOGAdminAlertSeverityEnumSerializer deserialize:valueDict[@"alert_severity"]]; + DBTEAMLOGAdminAlertCategoryEnum *alertCategory = + [DBTEAMLOGAdminAlertCategoryEnumSerializer deserialize:valueDict[@"alert_category"]]; + NSString *alertInstanceId = valueDict[@"alert_instance_id"]; - return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGAdminAlertingTriggeredAlertDetails alloc] initWithAlertName:alertName + alertSeverity:alertSeverity + alertCategory:alertCategory + alertInstanceId:alertInstanceId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h" -#import "DBTEAMLOGDeviceApprovalsPolicy.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails +@implementation DBTEAMLOGAdminAlertingTriggeredAlertType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceApprovalsPolicy *)dNewValue - previousValue:(DBTEAMLOGDeviceApprovalsPolicy *)previousValue { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithDNewValue:nil previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4355,12 +5018,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -4374,23 +5032,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceApprovalsChangeMobilePolicyDetails:other]; + return [self isEqualToAdminAlertingTriggeredAlertType:other]; } -- (BOOL)isEqualToDeviceApprovalsChangeMobilePolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)aDeviceApprovalsChangeMobilePolicyDetails { - if (self == aDeviceApprovalsChangeMobilePolicyDetails) { +- (BOOL)isEqualToAdminAlertingTriggeredAlertType: + (DBTEAMLOGAdminAlertingTriggeredAlertType *)anAdminAlertingTriggeredAlertType { + if (self == anAdminAlertingTriggeredAlertType) { return YES; } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aDeviceApprovalsChangeMobilePolicyDetails.dNewValue]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aDeviceApprovalsChangeMobilePolicyDetails.previousValue]) { - return NO; - } + if (![self.description_ isEqual:anAdminAlertingTriggeredAlertType.description_]) { + return NO; } return YES; } @@ -4399,202 +5050,101 @@ - (BOOL)isEqualToDeviceApprovalsChangeMobilePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer +@implementation DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.dNewValue]; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceApprovalsPolicy *dNewValue = - valueDict[@"new_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"new_value"]] : nil; - DBTEAMLOGDeviceApprovalsPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGAdminAlertingTriggeredAlertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGAdminAlertingTriggeredAlertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h" -#import "DBTEAMPOLICIESRolloutMethod.h" +#import "DBTEAMLOGAdminConsoleAppPermission.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionDetails +@implementation DBTEAMLOGAdminConsoleAppPermission #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESRolloutMethod *)dNewValue - previousValue:(DBTEAMPOLICIESRolloutMethod *)previousValue { - +- (instancetype)initWithDefaultForListedApps { self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _tag = DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps; } return self; } -- (instancetype)initDefault { - return [self initWithDNewValue:nil previousValue:nil]; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithDefaultForUnlistedApps { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminConsoleAppPermissionOther; } - - return prime * result; + return self; } -#pragma mark - Equality method +#pragma mark - Instance field accessors -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; - } - return [self isEqualToDeviceApprovalsChangeOverageActionDetails:other]; -} +#pragma mark - Tag state methods -- (BOOL)isEqualToDeviceApprovalsChangeOverageActionDetails: - (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)aDeviceApprovalsChangeOverageActionDetails { - if (self == aDeviceApprovalsChangeOverageActionDetails) { - return YES; - } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aDeviceApprovalsChangeOverageActionDetails.dNewValue]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aDeviceApprovalsChangeOverageActionDetails.previousValue]) { - return NO; - } - } - return YES; +- (BOOL)isDefaultForListedApps { + return _tag == DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = [DBTEAMPOLICIESRolloutMethodSerializer serialize:valueObj.dNewValue]; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESRolloutMethodSerializer serialize:valueObj.previousValue]; - } - - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isDefaultForUnlistedApps { + return _tag == DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps; } -+ (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESRolloutMethod *dNewValue = - valueDict[@"new_value"] ? [DBTEAMPOLICIESRolloutMethodSerializer deserialize:valueDict[@"new_value"]] : nil; - DBTEAMPOLICIESRolloutMethod *previousValue = - valueDict[@"previous_value"] ? [DBTEAMPOLICIESRolloutMethodSerializer deserialize:valueDict[@"previous_value"]] - : nil; - - return [[DBTEAMLOGDeviceApprovalsChangeOverageActionDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; +- (BOOL)isOther { + return _tag == DBTEAMLOGAdminConsoleAppPermissionOther; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h" -#import "DBTEAMLOGDeviceUnlinkPolicy.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails - -#pragma mark - Constructors - -- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceUnlinkPolicy *)dNewValue - previousValue:(DBTEAMLOGDeviceUnlinkPolicy *)previousValue { - - self = [super init]; - if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps: + return @"DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps"; + case DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps: + return @"DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps"; + case DBTEAMLOGAdminConsoleAppPermissionOther: + return @"DBTEAMLOGAdminConsoleAppPermissionOther"; } - return self; -} -- (instancetype)initDefault { - return [self initWithDNewValue:nil previousValue:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminConsoleAppPermissionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4611,11 +5161,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + switch (_tag) { + case DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminConsoleAppPermissionOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4630,23 +5185,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceApprovalsChangeUnlinkActionDetails:other]; + return [self isEqualToAdminConsoleAppPermission:other]; } -- (BOOL)isEqualToDeviceApprovalsChangeUnlinkActionDetails: - (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)aDeviceApprovalsChangeUnlinkActionDetails { - if (self == aDeviceApprovalsChangeUnlinkActionDetails) { +- (BOOL)isEqualToAdminConsoleAppPermission:(DBTEAMLOGAdminConsoleAppPermission *)anAdminConsoleAppPermission { + if (self == anAdminConsoleAppPermission) { return YES; } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aDeviceApprovalsChangeUnlinkActionDetails.dNewValue]) { - return NO; - } + if (self.tag != anAdminConsoleAppPermission.tag) { + return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aDeviceApprovalsChangeUnlinkActionDetails.previousValue]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps: + return [[self tagName] isEqual:[anAdminConsoleAppPermission tagName]]; + case DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps: + return [[self tagName] isEqual:[anAdminConsoleAppPermission tagName]]; + case DBTEAMLOGAdminConsoleAppPermissionOther: + return [[self tagName] isEqual:[anAdminConsoleAppPermission tagName]]; } return YES; } @@ -4655,56 +5210,70 @@ - (BOOL)isEqualToDeviceApprovalsChangeUnlinkActionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer +@implementation DBTEAMLOGAdminConsoleAppPermissionSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPermission *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:valueObj.dNewValue]; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:valueObj.previousValue]; + if ([valueObj isDefaultForListedApps]) { + jsonDict[@".tag"] = @"default_for_listed_apps"; + } else if ([valueObj isDefaultForUnlistedApps]) { + jsonDict[@".tag"] = @"default_for_unlisted_apps"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceUnlinkPolicy *dNewValue = - valueDict[@"new_value"] ? [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:valueDict[@"new_value"]] : nil; - DBTEAMLOGDeviceUnlinkPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGAdminConsoleAppPermission *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + if ([tag isEqualToString:@"default_for_listed_apps"]) { + return [[DBTEAMLOGAdminConsoleAppPermission alloc] initWithDefaultForListedApps]; + } else if ([tag isEqualToString:@"default_for_unlisted_apps"]) { + return [[DBTEAMLOGAdminConsoleAppPermission alloc] initWithDefaultForUnlistedApps]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAdminConsoleAppPermission alloc] initWithOther]; + } else { + return [[DBTEAMLOGAdminConsoleAppPermission alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceApprovalsPolicy.h" +#import "DBTEAMLOGAdminConsoleAppPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceApprovalsPolicy +@implementation DBTEAMLOGAdminConsoleAppPolicy #pragma mark - Constructors -- (instancetype)initWithUnlimited { +- (instancetype)initWithAllow { self = [super init]; if (self) { - _tag = DBTEAMLOGDeviceApprovalsPolicyUnlimited; + _tag = DBTEAMLOGAdminConsoleAppPolicyAllow; } return self; } -- (instancetype)initWithLimited { +- (instancetype)initWithBlock { self = [super init]; if (self) { - _tag = DBTEAMLOGDeviceApprovalsPolicyLimited; + _tag = DBTEAMLOGAdminConsoleAppPolicyBlock; + } + return self; +} + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminConsoleAppPolicyDefault_; } return self; } @@ -4712,7 +5281,7 @@ - (instancetype)initWithLimited { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGDeviceApprovalsPolicyOther; + _tag = DBTEAMLOGAdminConsoleAppPolicyOther; } return self; } @@ -4721,26 +5290,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isUnlimited { - return _tag == DBTEAMLOGDeviceApprovalsPolicyUnlimited; +- (BOOL)isAllow { + return _tag == DBTEAMLOGAdminConsoleAppPolicyAllow; } -- (BOOL)isLimited { - return _tag == DBTEAMLOGDeviceApprovalsPolicyLimited; +- (BOOL)isBlock { + return _tag == DBTEAMLOGAdminConsoleAppPolicyBlock; +} + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGAdminConsoleAppPolicyDefault_; } - (BOOL)isOther { - return _tag == DBTEAMLOGDeviceApprovalsPolicyOther; + return _tag == DBTEAMLOGAdminConsoleAppPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGDeviceApprovalsPolicyUnlimited: - return @"DBTEAMLOGDeviceApprovalsPolicyUnlimited"; - case DBTEAMLOGDeviceApprovalsPolicyLimited: - return @"DBTEAMLOGDeviceApprovalsPolicyLimited"; - case DBTEAMLOGDeviceApprovalsPolicyOther: - return @"DBTEAMLOGDeviceApprovalsPolicyOther"; + case DBTEAMLOGAdminConsoleAppPolicyAllow: + return @"DBTEAMLOGAdminConsoleAppPolicyAllow"; + case DBTEAMLOGAdminConsoleAppPolicyBlock: + return @"DBTEAMLOGAdminConsoleAppPolicyBlock"; + case DBTEAMLOGAdminConsoleAppPolicyDefault_: + return @"DBTEAMLOGAdminConsoleAppPolicyDefault_"; + case DBTEAMLOGAdminConsoleAppPolicyOther: + return @"DBTEAMLOGAdminConsoleAppPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -4748,18 +5323,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminConsoleAppPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminConsoleAppPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceApprovalsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminConsoleAppPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4777,12 +5352,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGDeviceApprovalsPolicyUnlimited: + case DBTEAMLOGAdminConsoleAppPolicyAllow: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceApprovalsPolicyLimited: + break; + case DBTEAMLOGAdminConsoleAppPolicyBlock: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceApprovalsPolicyOther: + break; + case DBTEAMLOGAdminConsoleAppPolicyDefault_: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminConsoleAppPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -4797,23 +5378,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceApprovalsPolicy:other]; + return [self isEqualToAdminConsoleAppPolicy:other]; } -- (BOOL)isEqualToDeviceApprovalsPolicy:(DBTEAMLOGDeviceApprovalsPolicy *)aDeviceApprovalsPolicy { - if (self == aDeviceApprovalsPolicy) { +- (BOOL)isEqualToAdminConsoleAppPolicy:(DBTEAMLOGAdminConsoleAppPolicy *)anAdminConsoleAppPolicy { + if (self == anAdminConsoleAppPolicy) { return YES; } - if (self.tag != aDeviceApprovalsPolicy.tag) { + if (self.tag != anAdminConsoleAppPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMLOGDeviceApprovalsPolicyUnlimited: - return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; - case DBTEAMLOGDeviceApprovalsPolicyLimited: - return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; - case DBTEAMLOGDeviceApprovalsPolicyOther: - return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; + case DBTEAMLOGAdminConsoleAppPolicyAllow: + return [[self tagName] isEqual:[anAdminConsoleAppPolicy tagName]]; + case DBTEAMLOGAdminConsoleAppPolicyBlock: + return [[self tagName] isEqual:[anAdminConsoleAppPolicy tagName]]; + case DBTEAMLOGAdminConsoleAppPolicyDefault_: + return [[self tagName] isEqual:[anAdminConsoleAppPolicy tagName]]; + case DBTEAMLOGAdminConsoleAppPolicyOther: + return [[self tagName] isEqual:[anAdminConsoleAppPolicy tagName]]; } return YES; } @@ -4822,35 +5405,39 @@ - (BOOL)isEqualToDeviceApprovalsPolicy:(DBTEAMLOGDeviceApprovalsPolicy *)aDevice #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceApprovalsPolicySerializer +@implementation DBTEAMLOGAdminConsoleAppPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUnlimited]) { - jsonDict[@".tag"] = @"unlimited"; - } else if ([valueObj isLimited]) { - jsonDict[@".tag"] = @"limited"; + if ([valueObj isAllow]) { + jsonDict[@".tag"] = @"allow"; + } else if ([valueObj isBlock]) { + jsonDict[@".tag"] = @"block"; + } else if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAdminConsoleAppPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"unlimited"]) { - return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithUnlimited]; - } else if ([tag isEqualToString:@"limited"]) { - return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithLimited]; + if ([tag isEqualToString:@"allow"]) { + return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithAllow]; + } else if ([tag isEqualToString:@"block"]) { + return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithBlock]; + } else if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithDefault_]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithOther]; + return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithOther]; } else { - return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithOther]; + return [[DBTEAMLOGAdminConsoleAppPolicy alloc] initWithOther]; } } @@ -4858,39 +5445,42 @@ + (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceChangeIpDesktopDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAdminEmailRemindersChangedDetails.h" +#import "DBTEAMLOGAdminEmailRemindersPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceChangeIpDesktopDetails +@implementation DBTEAMLOGAdminEmailRemindersChangedDetails #pragma mark - Constructors -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](deviceInfo); +- (instancetype)initWithDNewValue:(DBTEAMLOGAdminEmailRemindersPolicy *)dNewValue + previousValue:(DBTEAMLOGAdminEmailRemindersPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _deviceInfo = deviceInfo; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -4907,7 +5497,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deviceInfo hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -4921,14 +5512,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceChangeIpDesktopDetails:other]; + return [self isEqualToAdminEmailRemindersChangedDetails:other]; } -- (BOOL)isEqualToDeviceChangeIpDesktopDetails:(DBTEAMLOGDeviceChangeIpDesktopDetails *)aDeviceChangeIpDesktopDetails { - if (self == aDeviceChangeIpDesktopDetails) { +- (BOOL)isEqualToAdminEmailRemindersChangedDetails: + (DBTEAMLOGAdminEmailRemindersChangedDetails *)anAdminEmailRemindersChangedDetails { + if (self == anAdminEmailRemindersChangedDetails) { return YES; } - if (![self.deviceInfo isEqual:aDeviceChangeIpDesktopDetails.deviceInfo]) { + if (![self.dNewValue isEqual:anAdminEmailRemindersChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:anAdminEmailRemindersChangedDetails.previousValue]) { return NO; } return YES; @@ -4938,59 +5533,62 @@ - (BOOL)isEqualToDeviceChangeIpDesktopDetails:(DBTEAMLOGDeviceChangeIpDesktopDet #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer +@implementation DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; + jsonDict[@"new_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; ++ (DBTEAMLOGAdminEmailRemindersChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAdminEmailRemindersPolicy *dNewValue = + [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGAdminEmailRemindersPolicy *previousValue = + [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGDeviceChangeIpDesktopDetails alloc] initWithDeviceInfo:deviceInfo]; + return [[DBTEAMLOGAdminEmailRemindersChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceChangeIpMobileDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAdminEmailRemindersChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceChangeIpMobileDetails +@implementation DBTEAMLOGAdminEmailRemindersChangedType #pragma mark - Constructors -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](deviceInfo); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _deviceInfo = deviceInfo; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminEmailRemindersChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceChangeIpMobileDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminEmailRemindersChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminEmailRemindersChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5007,7 +5605,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deviceInfo hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -5021,14 +5619,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceChangeIpMobileDetails:other]; + return [self isEqualToAdminEmailRemindersChangedType:other]; } -- (BOOL)isEqualToDeviceChangeIpMobileDetails:(DBTEAMLOGDeviceChangeIpMobileDetails *)aDeviceChangeIpMobileDetails { - if (self == aDeviceChangeIpMobileDetails) { +- (BOOL)isEqualToAdminEmailRemindersChangedType: + (DBTEAMLOGAdminEmailRemindersChangedType *)anAdminEmailRemindersChangedType { + if (self == anAdminEmailRemindersChangedType) { return YES; } - if (![self.deviceInfo isEqual:aDeviceChangeIpMobileDetails.deviceInfo]) { + if (![self.description_ isEqual:anAdminEmailRemindersChangedType.description_]) { return NO; } return YES; @@ -5038,64 +5637,115 @@ - (BOOL)isEqualToDeviceChangeIpMobileDetails:(DBTEAMLOGDeviceChangeIpMobileDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceChangeIpMobileDetailsSerializer +@implementation DBTEAMLOGAdminEmailRemindersChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; ++ (DBTEAMLOGAdminEmailRemindersChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDeviceChangeIpMobileDetails alloc] initWithDeviceInfo:deviceInfo]; + return [[DBTEAMLOGAdminEmailRemindersChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceChangeIpWebDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAdminEmailRemindersPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceChangeIpWebDetails +@implementation DBTEAMLOGAdminEmailRemindersPolicy #pragma mark - Constructors -- (instancetype)initWithUserAgent:(NSString *)userAgent deviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](userAgent); +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminEmailRemindersPolicyDefault_; + } + return self; +} +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _deviceInfo = deviceInfo; - _userAgent = userAgent; + _tag = DBTEAMLOGAdminEmailRemindersPolicyDisabled; } return self; } -- (instancetype)initWithUserAgent:(NSString *)userAgent { - return [self initWithUserAgent:userAgent deviceInfo:nil]; +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminEmailRemindersPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminEmailRemindersPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGAdminEmailRemindersPolicyDefault_; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGAdminEmailRemindersPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGAdminEmailRemindersPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGAdminEmailRemindersPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAdminEmailRemindersPolicyDefault_: + return @"DBTEAMLOGAdminEmailRemindersPolicyDefault_"; + case DBTEAMLOGAdminEmailRemindersPolicyDisabled: + return @"DBTEAMLOGAdminEmailRemindersPolicyDisabled"; + case DBTEAMLOGAdminEmailRemindersPolicyEnabled: + return @"DBTEAMLOGAdminEmailRemindersPolicyEnabled"; + case DBTEAMLOGAdminEmailRemindersPolicyOther: + return @"DBTEAMLOGAdminEmailRemindersPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceChangeIpWebDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminEmailRemindersPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminEmailRemindersPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5112,9 +5762,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.userAgent hash]; - if (self.deviceInfo != nil) { - result = prime * result + [self.deviceInfo hash]; + switch (_tag) { + case DBTEAMLOGAdminEmailRemindersPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminEmailRemindersPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminEmailRemindersPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminEmailRemindersPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5129,20 +5789,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceChangeIpWebDetails:other]; + return [self isEqualToAdminEmailRemindersPolicy:other]; } -- (BOOL)isEqualToDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)aDeviceChangeIpWebDetails { - if (self == aDeviceChangeIpWebDetails) { +- (BOOL)isEqualToAdminEmailRemindersPolicy:(DBTEAMLOGAdminEmailRemindersPolicy *)anAdminEmailRemindersPolicy { + if (self == anAdminEmailRemindersPolicy) { return YES; } - if (![self.userAgent isEqual:aDeviceChangeIpWebDetails.userAgent]) { + if (self.tag != anAdminEmailRemindersPolicy.tag) { return NO; } - if (self.deviceInfo) { - if (![self.deviceInfo isEqual:aDeviceChangeIpWebDetails.deviceInfo]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGAdminEmailRemindersPolicyDefault_: + return [[self tagName] isEqual:[anAdminEmailRemindersPolicy tagName]]; + case DBTEAMLOGAdminEmailRemindersPolicyDisabled: + return [[self tagName] isEqual:[anAdminEmailRemindersPolicy tagName]]; + case DBTEAMLOGAdminEmailRemindersPolicyEnabled: + return [[self tagName] isEqual:[anAdminEmailRemindersPolicy tagName]]; + case DBTEAMLOGAdminEmailRemindersPolicyOther: + return [[self tagName] isEqual:[anAdminEmailRemindersPolicy tagName]]; } return YES; } @@ -5151,214 +5816,331 @@ - (BOOL)isEqualToDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceChangeIpWebDetailsSerializer +@implementation DBTEAMLOGAdminEmailRemindersPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"user_agent"] = valueObj.userAgent; - if (valueObj.deviceInfo) { - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)valueDict { - NSString *userAgent = valueDict[@"user_agent"]; - DBTEAMLOGDeviceLogInfo *deviceInfo = - valueDict[@"device_info"] ? [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]] : nil; ++ (DBTEAMLOGAdminEmailRemindersPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGDeviceChangeIpWebDetails alloc] initWithUserAgent:userAgent deviceInfo:deviceInfo]; + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGAdminEmailRemindersPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGAdminEmailRemindersPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGAdminEmailRemindersPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAdminEmailRemindersPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGAdminEmailRemindersPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAdminRole.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailDetails +@implementation DBTEAMLOGAdminRole #pragma mark - Constructors -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo numFailures:(NSNumber *)numFailures { - [DBStoneValidators nonnullValidator:nil](deviceInfo); - [DBStoneValidators nonnullValidator:nil](numFailures); - +- (instancetype)initWithBillingAdmin { self = [super init]; if (self) { - _deviceInfo = deviceInfo; - _numFailures = numFailures; + _tag = DBTEAMLOGAdminRoleBillingAdmin; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer serialize:instance]; +- (instancetype)initWithComplianceAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleComplianceAdmin; + } + return self; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer deserialize:dict]; +- (instancetype)initWithContentAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleContentAdmin; + } + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer serialize:self] description]; +- (instancetype)initWithLimitedAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleLimitedAdmin; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithMemberOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleMemberOnly; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.deviceInfo hash]; - result = prime * result + [self.numFailures hash]; - - return prime * result; +- (instancetype)initWithReportingAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleReportingAdmin; + } + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithSecurityAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleSecurityAdmin; } - return [self isEqualToDeviceDeleteOnUnlinkFailDetails:other]; + return self; } -- (BOOL)isEqualToDeviceDeleteOnUnlinkFailDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)aDeviceDeleteOnUnlinkFailDetails { - if (self == aDeviceDeleteOnUnlinkFailDetails) { - return YES; - } - if (![self.deviceInfo isEqual:aDeviceDeleteOnUnlinkFailDetails.deviceInfo]) { - return NO; - } - if (![self.numFailures isEqual:aDeviceDeleteOnUnlinkFailDetails.numFailures]) { - return NO; +- (instancetype)initWithSupportAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleSupportAdmin; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; - jsonDict[@"num_failures"] = valueObj.numFailures; - - return [jsonDict count] > 0 ? jsonDict : nil; +- (instancetype)initWithTeamAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleTeamAdmin; + } + return self; } -+ (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; - NSNumber *numFailures = valueDict[@"num_failures"]; - - return [[DBTEAMLOGDeviceDeleteOnUnlinkFailDetails alloc] initWithDeviceInfo:deviceInfo numFailures:numFailures]; +- (instancetype)initWithUserManagementAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAdminRoleUserManagementAdmin; + } + return self; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails - -#pragma mark - Constructors - -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](deviceInfo); - +- (instancetype)initWithOther { self = [super init]; if (self) { - _deviceInfo = deviceInfo; + _tag = DBTEAMLOGAdminRoleOther; } return self; } -#pragma mark - Serialization methods +#pragma mark - Instance field accessors -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer serialize:instance]; -} +#pragma mark - Tag state methods -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer deserialize:dict]; +- (BOOL)isBillingAdmin { + return _tag == DBTEAMLOGAdminRoleBillingAdmin; } -#pragma mark - Description method +- (BOOL)isComplianceAdmin { + return _tag == DBTEAMLOGAdminRoleComplianceAdmin; +} -- (NSString *)description { - return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer serialize:self] description]; +- (BOOL)isContentAdmin { + return _tag == DBTEAMLOGAdminRoleContentAdmin; } -#pragma mark - Copyable method +- (BOOL)isLimitedAdmin { + return _tag == DBTEAMLOGAdminRoleLimitedAdmin; +} -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; +- (BOOL)isMemberOnly { + return _tag == DBTEAMLOGAdminRoleMemberOnly; } -#pragma mark - Hash method +- (BOOL)isReportingAdmin { + return _tag == DBTEAMLOGAdminRoleReportingAdmin; +} -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; +- (BOOL)isSecurityAdmin { + return _tag == DBTEAMLOGAdminRoleSecurityAdmin; +} - result = prime * result + [self.deviceInfo hash]; +- (BOOL)isSupportAdmin { + return _tag == DBTEAMLOGAdminRoleSupportAdmin; +} - return prime * result; +- (BOOL)isTeamAdmin { + return _tag == DBTEAMLOGAdminRoleTeamAdmin; } -#pragma mark - Equality method +- (BOOL)isUserManagementAdmin { + return _tag == DBTEAMLOGAdminRoleUserManagementAdmin; +} -- (BOOL)isEqual:(id)other { +- (BOOL)isOther { + return _tag == DBTEAMLOGAdminRoleOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAdminRoleBillingAdmin: + return @"DBTEAMLOGAdminRoleBillingAdmin"; + case DBTEAMLOGAdminRoleComplianceAdmin: + return @"DBTEAMLOGAdminRoleComplianceAdmin"; + case DBTEAMLOGAdminRoleContentAdmin: + return @"DBTEAMLOGAdminRoleContentAdmin"; + case DBTEAMLOGAdminRoleLimitedAdmin: + return @"DBTEAMLOGAdminRoleLimitedAdmin"; + case DBTEAMLOGAdminRoleMemberOnly: + return @"DBTEAMLOGAdminRoleMemberOnly"; + case DBTEAMLOGAdminRoleReportingAdmin: + return @"DBTEAMLOGAdminRoleReportingAdmin"; + case DBTEAMLOGAdminRoleSecurityAdmin: + return @"DBTEAMLOGAdminRoleSecurityAdmin"; + case DBTEAMLOGAdminRoleSupportAdmin: + return @"DBTEAMLOGAdminRoleSupportAdmin"; + case DBTEAMLOGAdminRoleTeamAdmin: + return @"DBTEAMLOGAdminRoleTeamAdmin"; + case DBTEAMLOGAdminRoleUserManagementAdmin: + return @"DBTEAMLOGAdminRoleUserManagementAdmin"; + case DBTEAMLOGAdminRoleOther: + return @"DBTEAMLOGAdminRoleOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAdminRoleSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAdminRoleSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGAdminRoleSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGAdminRoleBillingAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleComplianceAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleContentAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleLimitedAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleMemberOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleReportingAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleSecurityAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleSupportAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleTeamAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleUserManagementAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAdminRoleOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { if (other == self) { return YES; } if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceDeleteOnUnlinkSuccessDetails:other]; + return [self isEqualToAdminRole:other]; } -- (BOOL)isEqualToDeviceDeleteOnUnlinkSuccessDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)aDeviceDeleteOnUnlinkSuccessDetails { - if (self == aDeviceDeleteOnUnlinkSuccessDetails) { +- (BOOL)isEqualToAdminRole:(DBTEAMLOGAdminRole *)anAdminRole { + if (self == anAdminRole) { return YES; } - if (![self.deviceInfo isEqual:aDeviceDeleteOnUnlinkSuccessDetails.deviceInfo]) { + if (self.tag != anAdminRole.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGAdminRoleBillingAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleComplianceAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleContentAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleLimitedAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleMemberOnly: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleReportingAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleSecurityAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleSupportAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleTeamAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleUserManagementAdmin: + return [[self tagName] isEqual:[anAdminRole tagName]]; + case DBTEAMLOGAdminRoleOther: + return [[self tagName] isEqual:[anAdminRole tagName]]; + } return YES; } @@ -5366,65 +6148,177 @@ - (BOOL)isEqualToDeviceDeleteOnUnlinkSuccessDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer +@implementation DBTEAMLOGAdminRoleSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAdminRole *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; + if ([valueObj isBillingAdmin]) { + jsonDict[@".tag"] = @"billing_admin"; + } else if ([valueObj isComplianceAdmin]) { + jsonDict[@".tag"] = @"compliance_admin"; + } else if ([valueObj isContentAdmin]) { + jsonDict[@".tag"] = @"content_admin"; + } else if ([valueObj isLimitedAdmin]) { + jsonDict[@".tag"] = @"limited_admin"; + } else if ([valueObj isMemberOnly]) { + jsonDict[@".tag"] = @"member_only"; + } else if ([valueObj isReportingAdmin]) { + jsonDict[@".tag"] = @"reporting_admin"; + } else if ([valueObj isSecurityAdmin]) { + jsonDict[@".tag"] = @"security_admin"; + } else if ([valueObj isSupportAdmin]) { + jsonDict[@".tag"] = @"support_admin"; + } else if ([valueObj isTeamAdmin]) { + jsonDict[@".tag"] = @"team_admin"; + } else if ([valueObj isUserManagementAdmin]) { + jsonDict[@".tag"] = @"user_management_admin"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; ++ (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails alloc] initWithDeviceInfo:deviceInfo]; + if ([tag isEqualToString:@"billing_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithBillingAdmin]; + } else if ([tag isEqualToString:@"compliance_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithComplianceAdmin]; + } else if ([tag isEqualToString:@"content_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithContentAdmin]; + } else if ([tag isEqualToString:@"limited_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithLimitedAdmin]; + } else if ([tag isEqualToString:@"member_only"]) { + return [[DBTEAMLOGAdminRole alloc] initWithMemberOnly]; + } else if ([tag isEqualToString:@"reporting_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithReportingAdmin]; + } else if ([tag isEqualToString:@"security_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithSecurityAdmin]; + } else if ([tag isEqualToString:@"support_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithSupportAdmin]; + } else if ([tag isEqualToString:@"team_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithTeamAdmin]; + } else if ([tag isEqualToString:@"user_management_admin"]) { + return [[DBTEAMLOGAdminRole alloc] initWithUserManagementAdmin]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAdminRole alloc] initWithOther]; + } else { + return [[DBTEAMLOGAdminRole alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceLinkFailDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" -#import "DBTEAMLOGDeviceType.h" +#import "DBTEAMLOGAlertRecipientsSettingType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceLinkFailDetails +@implementation DBTEAMLOGAlertRecipientsSettingType #pragma mark - Constructors -- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType deviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](deviceType); +- (instancetype)initWithCustomList { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAlertRecipientsSettingTypeCustomList; + } + return self; +} +- (instancetype)initWithInvalid { self = [super init]; if (self) { - _deviceInfo = deviceInfo; - _deviceType = deviceType; + _tag = DBTEAMLOGAlertRecipientsSettingTypeInvalid; } return self; } -- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType { - return [self initWithDeviceType:deviceType deviceInfo:nil]; +- (instancetype)initWithNone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAlertRecipientsSettingTypeNone; + } + return self; +} + +- (instancetype)initWithTeamAdmins { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAlertRecipientsSettingTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isCustomList { + return _tag == DBTEAMLOGAlertRecipientsSettingTypeCustomList; +} + +- (BOOL)isInvalid { + return _tag == DBTEAMLOGAlertRecipientsSettingTypeInvalid; +} + +- (BOOL)isNone { + return _tag == DBTEAMLOGAlertRecipientsSettingTypeNone; +} + +- (BOOL)isTeamAdmins { + return _tag == DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGAlertRecipientsSettingTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAlertRecipientsSettingTypeCustomList: + return @"DBTEAMLOGAlertRecipientsSettingTypeCustomList"; + case DBTEAMLOGAlertRecipientsSettingTypeInvalid: + return @"DBTEAMLOGAlertRecipientsSettingTypeInvalid"; + case DBTEAMLOGAlertRecipientsSettingTypeNone: + return @"DBTEAMLOGAlertRecipientsSettingTypeNone"; + case DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins: + return @"DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins"; + case DBTEAMLOGAlertRecipientsSettingTypeOther: + return @"DBTEAMLOGAlertRecipientsSettingTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAlertRecipientsSettingTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceLinkFailDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAlertRecipientsSettingTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAlertRecipientsSettingTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5441,9 +6335,22 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deviceType hash]; - if (self.deviceInfo != nil) { - result = prime * result + [self.deviceInfo hash]; + switch (_tag) { + case DBTEAMLOGAlertRecipientsSettingTypeCustomList: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAlertRecipientsSettingTypeInvalid: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAlertRecipientsSettingTypeNone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGAlertRecipientsSettingTypeOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -5458,20 +6365,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceLinkFailDetails:other]; + return [self isEqualToAlertRecipientsSettingType:other]; } -- (BOOL)isEqualToDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)aDeviceLinkFailDetails { - if (self == aDeviceLinkFailDetails) { +- (BOOL)isEqualToAlertRecipientsSettingType:(DBTEAMLOGAlertRecipientsSettingType *)anAlertRecipientsSettingType { + if (self == anAlertRecipientsSettingType) { return YES; } - if (![self.deviceType isEqual:aDeviceLinkFailDetails.deviceType]) { + if (self.tag != anAlertRecipientsSettingType.tag) { return NO; } - if (self.deviceInfo) { - if (![self.deviceInfo isEqual:aDeviceLinkFailDetails.deviceInfo]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGAlertRecipientsSettingTypeCustomList: + return [[self tagName] isEqual:[anAlertRecipientsSettingType tagName]]; + case DBTEAMLOGAlertRecipientsSettingTypeInvalid: + return [[self tagName] isEqual:[anAlertRecipientsSettingType tagName]]; + case DBTEAMLOGAlertRecipientsSettingTypeNone: + return [[self tagName] isEqual:[anAlertRecipientsSettingType tagName]]; + case DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins: + return [[self tagName] isEqual:[anAlertRecipientsSettingType tagName]]; + case DBTEAMLOGAlertRecipientsSettingTypeOther: + return [[self tagName] isEqual:[anAlertRecipientsSettingType tagName]]; } return YES; } @@ -5480,64 +6394,80 @@ - (BOOL)isEqualToDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)aDevice #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceLinkFailDetailsSerializer +@implementation DBTEAMLOGAlertRecipientsSettingTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAlertRecipientsSettingType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_type"] = [DBTEAMLOGDeviceTypeSerializer serialize:valueObj.deviceType]; - if (valueObj.deviceInfo) { - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; + if ([valueObj isCustomList]) { + jsonDict[@".tag"] = @"custom_list"; + } else if ([valueObj isInvalid]) { + jsonDict[@".tag"] = @"invalid"; + } else if ([valueObj isNone]) { + jsonDict[@".tag"] = @"none"; + } else if ([valueObj isTeamAdmins]) { + jsonDict[@".tag"] = @"team_admins"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceType *deviceType = [DBTEAMLOGDeviceTypeSerializer deserialize:valueDict[@"device_type"]]; - DBTEAMLOGDeviceLogInfo *deviceInfo = - valueDict[@"device_info"] ? [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]] : nil; ++ (DBTEAMLOGAlertRecipientsSettingType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGDeviceLinkFailDetails alloc] initWithDeviceType:deviceType deviceInfo:deviceInfo]; + if ([tag isEqualToString:@"custom_list"]) { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithCustomList]; + } else if ([tag isEqualToString:@"invalid"]) { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithInvalid]; + } else if ([tag isEqualToString:@"none"]) { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithNone]; + } else if ([tag isEqualToString:@"team_admins"]) { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithTeamAdmins]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithOther]; + } else { + return [[DBTEAMLOGAlertRecipientsSettingType alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceLinkSuccessDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAllowDownloadDisabledDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceLinkSuccessDetails +@implementation DBTEAMLOGAllowDownloadDisabledDetails #pragma mark - Constructors -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo { - [DBStoneValidators nonnullValidator:nil](deviceInfo); +- (instancetype)initDefault { self = [super init]; if (self) { - _deviceInfo = deviceInfo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceLinkSuccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAllowDownloadDisabledDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5554,8 +6484,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deviceInfo hash]; - return prime * result; } @@ -5568,16 +6496,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceLinkSuccessDetails:other]; + return [self isEqualToAllowDownloadDisabledDetails:other]; } -- (BOOL)isEqualToDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)aDeviceLinkSuccessDetails { - if (self == aDeviceLinkSuccessDetails) { +- (BOOL)isEqualToAllowDownloadDisabledDetails:(DBTEAMLOGAllowDownloadDisabledDetails *)anAllowDownloadDisabledDetails { + if (self == anAllowDownloadDisabledDetails) { return YES; } - if (![self.deviceInfo isEqual:aDeviceLinkSuccessDetails.deviceInfo]) { - return NO; - } return YES; } @@ -5585,88 +6510,57 @@ - (BOOL)isEqualToDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceLinkSuccessDetailsSerializer +@implementation DBTEAMLOGAllowDownloadDisabledDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; ++ (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGDeviceLinkSuccessDetails alloc] initWithDeviceInfo:deviceInfo]; + return [[DBTEAMLOGAllowDownloadDisabledDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGAllowDownloadDisabledType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceLogInfo +@implementation DBTEAMLOGAllowDownloadDisabledType #pragma mark - Constructors -- (instancetype)initWithDeviceId:(NSString *)deviceId - displayName:(NSString *)displayName - isEmmManaged:(NSNumber *)isEmmManaged - platform:(NSString *)platform - macAddress:(NSString *)macAddress - osVersion:(NSString *)osVersion - deviceType:(NSString *)deviceType - ipAddress:(NSString *)ipAddress - lastActivity:(NSString *)lastActivity - appVersion:(NSString *)appVersion { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _deviceId = deviceId; - _displayName = displayName; - _isEmmManaged = isEmmManaged; - _platform = platform; - _macAddress = macAddress; - _osVersion = osVersion; - _deviceType = deviceType; - _ipAddress = ipAddress; - _lastActivity = lastActivity; - _appVersion = appVersion; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithDeviceId:nil - displayName:nil - isEmmManaged:nil - platform:nil - macAddress:nil - osVersion:nil - deviceType:nil - ipAddress:nil - lastActivity:nil - appVersion:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAllowDownloadDisabledTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAllowDownloadDisabledTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAllowDownloadDisabledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5683,36 +6577,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.deviceId != nil) { - result = prime * result + [self.deviceId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.isEmmManaged != nil) { - result = prime * result + [self.isEmmManaged hash]; - } - if (self.platform != nil) { - result = prime * result + [self.platform hash]; - } - if (self.macAddress != nil) { - result = prime * result + [self.macAddress hash]; - } - if (self.osVersion != nil) { - result = prime * result + [self.osVersion hash]; - } - if (self.deviceType != nil) { - result = prime * result + [self.deviceType hash]; - } - if (self.ipAddress != nil) { - result = prime * result + [self.ipAddress hash]; - } - if (self.lastActivity != nil) { - result = prime * result + [self.lastActivity hash]; - } - if (self.appVersion != nil) { - result = prime * result + [self.appVersion hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -5726,62 +6591,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceLogInfo:other]; + return [self isEqualToAllowDownloadDisabledType:other]; } -- (BOOL)isEqualToDeviceLogInfo:(DBTEAMLOGDeviceLogInfo *)aDeviceLogInfo { - if (self == aDeviceLogInfo) { +- (BOOL)isEqualToAllowDownloadDisabledType:(DBTEAMLOGAllowDownloadDisabledType *)anAllowDownloadDisabledType { + if (self == anAllowDownloadDisabledType) { return YES; } - if (self.deviceId) { - if (![self.deviceId isEqual:aDeviceLogInfo.deviceId]) { - return NO; - } - } - if (self.displayName) { - if (![self.displayName isEqual:aDeviceLogInfo.displayName]) { - return NO; - } - } - if (self.isEmmManaged) { - if (![self.isEmmManaged isEqual:aDeviceLogInfo.isEmmManaged]) { - return NO; - } - } - if (self.platform) { - if (![self.platform isEqual:aDeviceLogInfo.platform]) { - return NO; - } - } - if (self.macAddress) { - if (![self.macAddress isEqual:aDeviceLogInfo.macAddress]) { - return NO; - } - } - if (self.osVersion) { - if (![self.osVersion isEqual:aDeviceLogInfo.osVersion]) { - return NO; - } - } - if (self.deviceType) { - if (![self.deviceType isEqual:aDeviceLogInfo.deviceType]) { - return NO; - } - } - if (self.ipAddress) { - if (![self.ipAddress isEqual:aDeviceLogInfo.ipAddress]) { - return NO; - } - } - if (self.lastActivity) { - if (![self.lastActivity isEqual:aDeviceLogInfo.lastActivity]) { - return NO; - } - } - if (self.appVersion) { - if (![self.appVersion isEqual:aDeviceLogInfo.appVersion]) { - return NO; - } + if (![self.description_ isEqual:anAllowDownloadDisabledType.description_]) { + return NO; } return YES; } @@ -5790,78 +6608,31 @@ - (BOOL)isEqualToDeviceLogInfo:(DBTEAMLOGDeviceLogInfo *)aDeviceLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceLogInfoSerializer +@implementation DBTEAMLOGAllowDownloadDisabledTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.deviceId) { - jsonDict[@"device_id"] = valueObj.deviceId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.isEmmManaged) { - jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; - } - if (valueObj.platform) { - jsonDict[@"platform"] = valueObj.platform; - } - if (valueObj.macAddress) { - jsonDict[@"mac_address"] = valueObj.macAddress; - } - if (valueObj.osVersion) { - jsonDict[@"os_version"] = valueObj.osVersion; - } - if (valueObj.deviceType) { - jsonDict[@"device_type"] = valueObj.deviceType; - } - if (valueObj.ipAddress) { - jsonDict[@"ip_address"] = valueObj.ipAddress; - } - if (valueObj.lastActivity) { - jsonDict[@"last_activity"] = valueObj.lastActivity; - } - if (valueObj.appVersion) { - jsonDict[@"app_version"] = valueObj.appVersion; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *deviceId = valueDict[@"device_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; - NSString *platform = valueDict[@"platform"] ?: nil; - NSString *macAddress = valueDict[@"mac_address"] ?: nil; - NSString *osVersion = valueDict[@"os_version"] ?: nil; - NSString *deviceType = valueDict[@"device_type"] ?: nil; - NSString *ipAddress = valueDict[@"ip_address"] ?: nil; - NSString *lastActivity = valueDict[@"last_activity"] ?: nil; - NSString *appVersion = valueDict[@"app_version"] ?: nil; ++ (DBTEAMLOGAllowDownloadDisabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDeviceLogInfo alloc] initWithDeviceId:deviceId - displayName:displayName - isEmmManaged:isEmmManaged - platform:platform - macAddress:macAddress - osVersion:osVersion - deviceType:deviceType - ipAddress:ipAddress - lastActivity:lastActivity - appVersion:appVersion]; + return [[DBTEAMLOGAllowDownloadDisabledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceManagementDisabledDetails.h" +#import "DBTEAMLOGAllowDownloadEnabledDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceManagementDisabledDetails +@implementation DBTEAMLOGAllowDownloadEnabledDetails #pragma mark - Constructors @@ -5875,18 +6646,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceManagementDisabledDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceManagementDisabledDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAllowDownloadEnabledDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceManagementDisabledDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5915,12 +6686,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceManagementDisabledDetails:other]; + return [self isEqualToAllowDownloadEnabledDetails:other]; } -- (BOOL)isEqualToDeviceManagementDisabledDetails: - (DBTEAMLOGDeviceManagementDisabledDetails *)aDeviceManagementDisabledDetails { - if (self == aDeviceManagementDisabledDetails) { +- (BOOL)isEqualToAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetails *)anAllowDownloadEnabledDetails { + if (self == anAllowDownloadEnabledDetails) { return YES; } return YES; @@ -5930,55 +6700,57 @@ - (BOOL)isEqualToDeviceManagementDisabledDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceManagementDisabledDetailsSerializer +@implementation DBTEAMLOGAllowDownloadEnabledDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGDeviceManagementDisabledDetails alloc] initDefault]; + return [[DBTEAMLOGAllowDownloadEnabledDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceManagementEnabledDetails.h" +#import "DBTEAMLOGAllowDownloadEnabledType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceManagementEnabledDetails +@implementation DBTEAMLOGAllowDownloadEnabledType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceManagementEnabledDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAllowDownloadEnabledTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceManagementEnabledDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAllowDownloadEnabledTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceManagementEnabledDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAllowDownloadEnabledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -5995,6 +6767,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -6007,14 +6781,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceManagementEnabledDetails:other]; + return [self isEqualToAllowDownloadEnabledType:other]; } -- (BOOL)isEqualToDeviceManagementEnabledDetails: - (DBTEAMLOGDeviceManagementEnabledDetails *)aDeviceManagementEnabledDetails { - if (self == aDeviceManagementEnabledDetails) { +- (BOOL)isEqualToAllowDownloadEnabledType:(DBTEAMLOGAllowDownloadEnabledType *)anAllowDownloadEnabledType { + if (self == anAllowDownloadEnabledType) { return YES; } + if (![self.description_ isEqual:anAllowDownloadEnabledType.description_]) { + return NO; + } return YES; } @@ -6022,100 +6798,58 @@ - (BOOL)isEqualToDeviceManagementEnabledDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceManagementEnabledDetailsSerializer +@implementation DBTEAMLOGAllowDownloadEnabledTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAllowDownloadEnabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDeviceManagementEnabledDetails alloc] initDefault]; + return [[DBTEAMLOGAllowDownloadEnabledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceType.h" +#import "DBTEAMLOGApiSessionLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceType +@implementation DBTEAMLOGApiSessionLogInfo #pragma mark - Constructors -- (instancetype)initWithDesktop { - self = [super init]; - if (self) { - _tag = DBTEAMLOGDeviceTypeDesktop; - } - return self; -} - -- (instancetype)initWithMobile { - self = [super init]; - if (self) { - _tag = DBTEAMLOGDeviceTypeMobile; - } - return self; -} +- (instancetype)initWithRequestId:(NSString *)requestId { + [DBStoneValidators nonnullValidator:nil](requestId); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGDeviceTypeOther; + _requestId = requestId; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDesktop { - return _tag == DBTEAMLOGDeviceTypeDesktop; -} - -- (BOOL)isMobile { - return _tag == DBTEAMLOGDeviceTypeMobile; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGDeviceTypeOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGDeviceTypeDesktop: - return @"DBTEAMLOGDeviceTypeDesktop"; - case DBTEAMLOGDeviceTypeMobile: - return @"DBTEAMLOGDeviceTypeMobile"; - case DBTEAMLOGDeviceTypeOther: - return @"DBTEAMLOGDeviceTypeOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceTypeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGApiSessionLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceTypeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGApiSessionLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceTypeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGApiSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6132,14 +6866,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGDeviceTypeDesktop: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceTypeMobile: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceTypeOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.requestId hash]; return prime * result; } @@ -6153,24 +6880,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceType:other]; + return [self isEqualToApiSessionLogInfo:other]; } -- (BOOL)isEqualToDeviceType:(DBTEAMLOGDeviceType *)aDeviceType { - if (self == aDeviceType) { +- (BOOL)isEqualToApiSessionLogInfo:(DBTEAMLOGApiSessionLogInfo *)anApiSessionLogInfo { + if (self == anApiSessionLogInfo) { return YES; } - if (self.tag != aDeviceType.tag) { + if (![self.requestId isEqual:anApiSessionLogInfo.requestId]) { return NO; } - switch (_tag) { - case DBTEAMLOGDeviceTypeDesktop: - return [[self tagName] isEqual:[aDeviceType tagName]]; - case DBTEAMLOGDeviceTypeMobile: - return [[self tagName] isEqual:[aDeviceType tagName]]; - case DBTEAMLOGDeviceTypeOther: - return [[self tagName] isEqual:[aDeviceType tagName]]; - } return YES; } @@ -6178,77 +6897,59 @@ - (BOOL)isEqualToDeviceType:(DBTEAMLOGDeviceType *)aDeviceType { #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceTypeSerializer +@implementation DBTEAMLOGApiSessionLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDesktop]) { - jsonDict[@".tag"] = @"desktop"; - } else if ([valueObj isMobile]) { - jsonDict[@".tag"] = @"mobile"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"request_id"] = valueObj.requestId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *requestId = valueDict[@"request_id"]; - if ([tag isEqualToString:@"desktop"]) { - return [[DBTEAMLOGDeviceType alloc] initWithDesktop]; - } else if ([tag isEqualToString:@"mobile"]) { - return [[DBTEAMLOGDeviceType alloc] initWithMobile]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGDeviceType alloc] initWithOther]; - } else { - return [[DBTEAMLOGDeviceType alloc] initWithOther]; - } + return [[DBTEAMLOGApiSessionLogInfo alloc] initWithRequestId:requestId]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceLogInfo.h" -#import "DBTEAMLOGDeviceUnlinkDetails.h" +#import "DBTEAMLOGAppBlockedByPermissionsDetails.h" +#import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceUnlinkDetails +@implementation DBTEAMLOGAppBlockedByPermissionsDetails #pragma mark - Constructors -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo deleteData:(NSNumber *)deleteData { - [DBStoneValidators nonnullValidator:nil](deviceInfo); - [DBStoneValidators nonnullValidator:nil](deleteData); +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { + [DBStoneValidators nonnullValidator:nil](appInfo); self = [super init]; if (self) { - _deviceInfo = deviceInfo; - _deleteData = deleteData; + _appInfo = appInfo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppBlockedByPermissionsDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceUnlinkDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppBlockedByPermissionsDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppBlockedByPermissionsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6265,8 +6966,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.deviceInfo hash]; - result = prime * result + [self.deleteData hash]; + result = prime * result + [self.appInfo hash]; return prime * result; } @@ -6280,17 +6980,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceUnlinkDetails:other]; + return [self isEqualToAppBlockedByPermissionsDetails:other]; } -- (BOOL)isEqualToDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)aDeviceUnlinkDetails { - if (self == aDeviceUnlinkDetails) { +- (BOOL)isEqualToAppBlockedByPermissionsDetails: + (DBTEAMLOGAppBlockedByPermissionsDetails *)anAppBlockedByPermissionsDetails { + if (self == anAppBlockedByPermissionsDetails) { return YES; } - if (![self.deviceInfo isEqual:aDeviceUnlinkDetails.deviceInfo]) { - return NO; - } - if (![self.deleteData isEqual:aDeviceUnlinkDetails.deleteData]) { + if (![self.appInfo isEqual:anAppBlockedByPermissionsDetails.appInfo]) { return NO; } return YES; @@ -6300,103 +6998,58 @@ - (BOOL)isEqualToDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)aDeviceUnli #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceUnlinkDetailsSerializer +@implementation DBTEAMLOGAppBlockedByPermissionsDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"device_info"] = [DBTEAMLOGDeviceLogInfoSerializer serialize:valueObj.deviceInfo]; - jsonDict[@"delete_data"] = valueObj.deleteData; + jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGDeviceLogInfo *deviceInfo = [DBTEAMLOGDeviceLogInfoSerializer deserialize:valueDict[@"device_info"]]; - NSNumber *deleteData = valueDict[@"delete_data"]; ++ (DBTEAMLOGAppBlockedByPermissionsDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - return [[DBTEAMLOGDeviceUnlinkDetails alloc] initWithDeviceInfo:deviceInfo deleteData:deleteData]; + return [[DBTEAMLOGAppBlockedByPermissionsDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDeviceUnlinkPolicy.h" +#import "DBTEAMLOGAppBlockedByPermissionsType.h" #pragma mark - API Object -@implementation DBTEAMLOGDeviceUnlinkPolicy +@implementation DBTEAMLOGAppBlockedByPermissionsType #pragma mark - Constructors -- (instancetype)initWithRemove { - self = [super init]; - if (self) { - _tag = DBTEAMLOGDeviceUnlinkPolicyRemove; - } - return self; -} - -- (instancetype)initWithKeep { - self = [super init]; - if (self) { - _tag = DBTEAMLOGDeviceUnlinkPolicyKeep; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGDeviceUnlinkPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isRemove { - return _tag == DBTEAMLOGDeviceUnlinkPolicyRemove; -} - -- (BOOL)isKeep { - return _tag == DBTEAMLOGDeviceUnlinkPolicyKeep; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGDeviceUnlinkPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGDeviceUnlinkPolicyRemove: - return @"DBTEAMLOGDeviceUnlinkPolicyRemove"; - case DBTEAMLOGDeviceUnlinkPolicyKeep: - return @"DBTEAMLOGDeviceUnlinkPolicyKeep"; - case DBTEAMLOGDeviceUnlinkPolicyOther: - return @"DBTEAMLOGDeviceUnlinkPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppBlockedByPermissionsTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppBlockedByPermissionsTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDeviceUnlinkPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppBlockedByPermissionsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6413,14 +7066,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGDeviceUnlinkPolicyRemove: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceUnlinkPolicyKeep: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGDeviceUnlinkPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -6434,24 +7080,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDeviceUnlinkPolicy:other]; + return [self isEqualToAppBlockedByPermissionsType:other]; } -- (BOOL)isEqualToDeviceUnlinkPolicy:(DBTEAMLOGDeviceUnlinkPolicy *)aDeviceUnlinkPolicy { - if (self == aDeviceUnlinkPolicy) { +- (BOOL)isEqualToAppBlockedByPermissionsType:(DBTEAMLOGAppBlockedByPermissionsType *)anAppBlockedByPermissionsType { + if (self == anAppBlockedByPermissionsType) { return YES; } - if (self.tag != aDeviceUnlinkPolicy.tag) { + if (![self.description_ isEqual:anAppBlockedByPermissionsType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGDeviceUnlinkPolicyRemove: - return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; - case DBTEAMLOGDeviceUnlinkPolicyKeep: - return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; - case DBTEAMLOGDeviceUnlinkPolicyOther: - return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; - } return YES; } @@ -6459,72 +7097,59 @@ - (BOOL)isEqualToDeviceUnlinkPolicy:(DBTEAMLOGDeviceUnlinkPolicy *)aDeviceUnlink #pragma mark - Serializer Object -@implementation DBTEAMLOGDeviceUnlinkPolicySerializer +@implementation DBTEAMLOGAppBlockedByPermissionsTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isRemove]) { - jsonDict[@".tag"] = @"remove"; - } else if ([valueObj isKeep]) { - jsonDict[@".tag"] = @"keep"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGAppBlockedByPermissionsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"remove"]) { - return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithRemove]; - } else if ([tag isEqualToString:@"keep"]) { - return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithKeep]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGAppBlockedByPermissionsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDisabledDomainInvitesDetails.h" +#import "DBTEAMLOGAppLinkTeamDetails.h" +#import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGDisabledDomainInvitesDetails +@implementation DBTEAMLOGAppLinkTeamDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { + [DBStoneValidators nonnullValidator:nil](appInfo); self = [super init]; if (self) { + _appInfo = appInfo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppLinkTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDisabledDomainInvitesDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppLinkTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6541,6 +7166,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.appInfo hash]; + return prime * result; } @@ -6553,13 +7180,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDisabledDomainInvitesDetails:other]; + return [self isEqualToAppLinkTeamDetails:other]; } -- (BOOL)isEqualToDisabledDomainInvitesDetails:(DBTEAMLOGDisabledDomainInvitesDetails *)aDisabledDomainInvitesDetails { - if (self == aDisabledDomainInvitesDetails) { +- (BOOL)isEqualToAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)anAppLinkTeamDetails { + if (self == anAppLinkTeamDetails) { return YES; } + if (![self.appInfo isEqual:anAppLinkTeamDetails.appInfo]) { + return NO; + } return YES; } @@ -6567,55 +7197,58 @@ - (BOOL)isEqualToDisabledDomainInvitesDetails:(DBTEAMLOGDisabledDomainInvitesDet #pragma mark - Serializer Object -@implementation DBTEAMLOGDisabledDomainInvitesDetailsSerializer +@implementation DBTEAMLOGAppLinkTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; + + return jsonDict; } -+ (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - return [[DBTEAMLOGDisabledDomainInvitesDetails alloc] initDefault]; + return [[DBTEAMLOGAppLinkTeamDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h" +#import "DBTEAMLOGAppLinkTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails +@implementation DBTEAMLOGAppLinkTeamType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppLinkTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppLinkTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppLinkTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6632,6 +7265,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -6644,14 +7279,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesApproveRequestToJoinTeamDetails:other]; + return [self isEqualToAppLinkTeamType:other]; } -- (BOOL)isEqualToDomainInvitesApproveRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)aDomainInvitesApproveRequestToJoinTeamDetails { - if (self == aDomainInvitesApproveRequestToJoinTeamDetails) { +- (BOOL)isEqualToAppLinkTeamType:(DBTEAMLOGAppLinkTeamType *)anAppLinkTeamType { + if (self == anAppLinkTeamType) { return YES; } + if (![self.description_ isEqual:anAppLinkTeamType.description_]) { + return NO; + } return YES; } @@ -6659,55 +7296,59 @@ - (BOOL)isEqualToDomainInvitesApproveRequestToJoinTeamDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer +@implementation DBTEAMLOGAppLinkTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppLinkTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails alloc] initDefault]; + return [[DBTEAMLOGAppLinkTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h" +#import "DBTEAMLOGAppLinkUserDetails.h" +#import "DBTEAMLOGAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails +@implementation DBTEAMLOGAppLinkUserDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { + [DBStoneValidators nonnullValidator:nil](appInfo); self = [super init]; if (self) { + _appInfo = appInfo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppLinkUserDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppLinkUserDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppLinkUserDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6724,6 +7365,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.appInfo hash]; + return prime * result; } @@ -6736,14 +7379,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesDeclineRequestToJoinTeamDetails:other]; + return [self isEqualToAppLinkUserDetails:other]; } -- (BOOL)isEqualToDomainInvitesDeclineRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)aDomainInvitesDeclineRequestToJoinTeamDetails { - if (self == aDomainInvitesDeclineRequestToJoinTeamDetails) { +- (BOOL)isEqualToAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)anAppLinkUserDetails { + if (self == anAppLinkUserDetails) { return YES; } + if (![self.appInfo isEqual:anAppLinkUserDetails.appInfo]) { + return NO; + } return YES; } @@ -6751,62 +7396,58 @@ - (BOOL)isEqualToDomainInvitesDeclineRequestToJoinTeamDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer +@implementation DBTEAMLOGAppLinkUserDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; + + return jsonDict; } -+ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails alloc] initDefault]; + return [[DBTEAMLOGAppLinkUserDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h" +#import "DBTEAMLOGAppLinkUserType.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesEmailExistingUsersDetails +@implementation DBTEAMLOGAppLinkUserType #pragma mark - Constructors -- (instancetype)initWithDomainName:(NSArray *)domainName numRecipients:(NSNumber *)numRecipients { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](domainName); - [DBStoneValidators nonnullValidator:nil](numRecipients); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _domainName = domainName; - _numRecipients = numRecipients; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppLinkUserTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppLinkUserTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppLinkUserTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6823,8 +7464,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.domainName hash]; - result = prime * result + [self.numRecipients hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -6838,18 +7478,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesEmailExistingUsersDetails:other]; + return [self isEqualToAppLinkUserType:other]; } -- (BOOL)isEqualToDomainInvitesEmailExistingUsersDetails: - (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)aDomainInvitesEmailExistingUsersDetails { - if (self == aDomainInvitesEmailExistingUsersDetails) { +- (BOOL)isEqualToAppLinkUserType:(DBTEAMLOGAppLinkUserType *)anAppLinkUserType { + if (self == anAppLinkUserType) { return YES; } - if (![self.domainName isEqual:aDomainInvitesEmailExistingUsersDetails.domainName]) { - return NO; - } - if (![self.numRecipients isEqual:aDomainInvitesEmailExistingUsersDetails.numRecipients]) { + if (![self.description_ isEqual:anAppLinkUserType.description_]) { return NO; } return YES; @@ -6859,65 +7495,65 @@ - (BOOL)isEqualToDomainInvitesEmailExistingUsersDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer +@implementation DBTEAMLOGAppLinkUserTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppLinkUserType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"domain_name"] = [DBArraySerializer serialize:valueObj.domainName - withBlock:^id(id elem0) { - return elem0; - }]; - jsonDict[@"num_recipients"] = valueObj.numRecipients; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *domainName = [DBArraySerializer deserialize:valueDict[@"domain_name"] - withBlock:^id(id elem0) { - return elem0; - }]; - NSNumber *numRecipients = valueDict[@"num_recipients"]; ++ (DBTEAMLOGAppLinkUserType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDomainInvitesEmailExistingUsersDetails alloc] initWithDomainName:domainName - numRecipients:numRecipients]; + return [[DBTEAMLOGAppLinkUserType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGTeamLinkedAppLogInfo.h" +#import "DBTEAMLOGUserLinkedAppLogInfo.h" +#import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamDetails +@implementation DBTEAMLOGAppLogInfo #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { self = [super init]; if (self) { + _appId = appId; + _displayName = displayName; } return self; } +- (instancetype)initDefault { + return [self initWithAppId:nil displayName:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -6934,6 +7570,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + if (self.appId != nil) { + result = prime * result + [self.appId hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + return prime * result; } @@ -6946,14 +7589,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesRequestToJoinTeamDetails:other]; + return [self isEqualToAppLogInfo:other]; } -- (BOOL)isEqualToDomainInvitesRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)aDomainInvitesRequestToJoinTeamDetails { - if (self == aDomainInvitesRequestToJoinTeamDetails) { +- (BOOL)isEqualToAppLogInfo:(DBTEAMLOGAppLogInfo *)anAppLogInfo { + if (self == anAppLogInfo) { return YES; } + if (self.appId) { + if (![self.appId isEqual:anAppLogInfo.appId]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:anAppLogInfo.displayName]) { + return NO; + } + } return YES; } @@ -6961,55 +7613,111 @@ - (BOOL)isEqualToDomainInvitesRequestToJoinTeamDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer +@implementation DBTEAMLOGAppLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if (valueObj.appId) { + jsonDict[@"app_id"] = valueObj.appId; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + + if ([valueObj isKindOfClass:[DBTEAMLOGUserOrTeamLinkedAppLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"userOrTeamLinkedApp"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGUserLinkedAppLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:(DBTEAMLOGUserLinkedAppLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"userLinkedApp"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGTeamLinkedAppLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"teamLinkedApp"; + } + + return jsonDict; } -+ (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"user_or_team_linked_app"]) { + return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"user_linked_app"]) { + return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"team_linked_app"]) { + return [DBTEAMLOGTeamLinkedAppLogInfoSerializer deserialize:valueDict]; + } - return [[DBTEAMLOGDomainInvitesRequestToJoinTeamDetails alloc] initDefault]; + NSString *appId = valueDict[@"app_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + + return [[DBTEAMLOGAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h" +#import "DBTEAMLOGAdminConsoleAppPermission.h" +#import "DBTEAMLOGAdminConsoleAppPolicy.h" +#import "DBTEAMLOGAppPermissionsChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails +@implementation DBTEAMLOGAppPermissionsChangedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPreviousValue:(DBTEAMLOGAdminConsoleAppPolicy *)previousValue + dNewValue:(DBTEAMLOGAdminConsoleAppPolicy *)dNewValue + appName:(NSString *)appName + permission:(DBTEAMLOGAdminConsoleAppPermission *)permission { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _appName = appName; + _permission = permission; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } +- (instancetype)initWithPreviousValue:(DBTEAMLOGAdminConsoleAppPolicy *)previousValue + dNewValue:(DBTEAMLOGAdminConsoleAppPolicy *)dNewValue { + return [self initWithPreviousValue:previousValue dNewValue:dNewValue appName:nil permission:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppPermissionsChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppPermissionsChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppPermissionsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7026,6 +7734,15 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + if (self.appName != nil) { + result = prime * result + [self.appName hash]; + } + if (self.permission != nil) { + result = prime * result + [self.permission hash]; + } + return prime * result; } @@ -7038,14 +7755,29 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesSetInviteNewUserPrefToNoDetails:other]; + return [self isEqualToAppPermissionsChangedDetails:other]; } -- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToNoDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)aDomainInvitesSetInviteNewUserPrefToNoDetails { - if (self == aDomainInvitesSetInviteNewUserPrefToNoDetails) { +- (BOOL)isEqualToAppPermissionsChangedDetails:(DBTEAMLOGAppPermissionsChangedDetails *)anAppPermissionsChangedDetails { + if (self == anAppPermissionsChangedDetails) { return YES; } + if (![self.previousValue isEqual:anAppPermissionsChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:anAppPermissionsChangedDetails.dNewValue]) { + return NO; + } + if (self.appName) { + if (![self.appName isEqual:anAppPermissionsChangedDetails.appName]) { + return NO; + } + } + if (self.permission) { + if (![self.permission isEqual:anAppPermissionsChangedDetails.permission]) { + return NO; + } + } return YES; } @@ -7053,55 +7785,75 @@ - (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToNoDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer +@implementation DBTEAMLOGAppPermissionsChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"previous_value"] = [DBTEAMLOGAdminConsoleAppPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGAdminConsoleAppPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.appName) { + jsonDict[@"app_name"] = valueObj.appName; + } + if (valueObj.permission) { + jsonDict[@"permission"] = [DBTEAMLOGAdminConsoleAppPermissionSerializer serialize:valueObj.permission]; + } + + return jsonDict; } -+ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppPermissionsChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAdminConsoleAppPolicy *previousValue = + [DBTEAMLOGAdminConsoleAppPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGAdminConsoleAppPolicy *dNewValue = + [DBTEAMLOGAdminConsoleAppPolicySerializer deserialize:valueDict[@"new_value"]]; + NSString *appName = valueDict[@"app_name"] ?: nil; + DBTEAMLOGAdminConsoleAppPermission *permission = + valueDict[@"permission"] ? [DBTEAMLOGAdminConsoleAppPermissionSerializer deserialize:valueDict[@"permission"]] + : nil; - return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails alloc] initDefault]; + return [[DBTEAMLOGAppPermissionsChangedDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue + appName:appName + permission:permission]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h" +#import "DBTEAMLOGAppPermissionsChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails +@implementation DBTEAMLOGAppPermissionsChangedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppPermissionsChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppPermissionsChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppPermissionsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7118,6 +7870,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -7130,14 +7884,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainInvitesSetInviteNewUserPrefToYesDetails:other]; + return [self isEqualToAppPermissionsChangedType:other]; } -- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToYesDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)aDomainInvitesSetInviteNewUserPrefToYesDetails { - if (self == aDomainInvitesSetInviteNewUserPrefToYesDetails) { +- (BOOL)isEqualToAppPermissionsChangedType:(DBTEAMLOGAppPermissionsChangedType *)anAppPermissionsChangedType { + if (self == anAppPermissionsChangedType) { return YES; } + if (![self.description_ isEqual:anAppPermissionsChangedType.description_]) { + return NO; + } return YES; } @@ -7145,62 +7901,59 @@ - (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToYesDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer +@implementation DBTEAMLOGAppPermissionsChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAppPermissionsChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails alloc] initDefault]; + return [[DBTEAMLOGAppPermissionsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainVerificationAddDomainFailDetails.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGAppUnlinkTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainVerificationAddDomainFailDetails +@implementation DBTEAMLOGAppUnlinkTeamDetails #pragma mark - Constructors -- (instancetype)initWithDomainName:(NSString *)domainName verificationMethod:(NSString *)verificationMethod { - [DBStoneValidators nonnullValidator:nil](domainName); +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { + [DBStoneValidators nonnullValidator:nil](appInfo); self = [super init]; if (self) { - _domainName = domainName; - _verificationMethod = verificationMethod; + _appInfo = appInfo; } return self; } -- (instancetype)initWithDomainName:(NSString *)domainName { - return [self initWithDomainName:domainName verificationMethod:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppUnlinkTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7217,10 +7970,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.domainName hash]; - if (self.verificationMethod != nil) { - result = prime * result + [self.verificationMethod hash]; - } + result = prime * result + [self.appInfo hash]; return prime * result; } @@ -7234,22 +7984,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainVerificationAddDomainFailDetails:other]; + return [self isEqualToAppUnlinkTeamDetails:other]; } -- (BOOL)isEqualToDomainVerificationAddDomainFailDetails: - (DBTEAMLOGDomainVerificationAddDomainFailDetails *)aDomainVerificationAddDomainFailDetails { - if (self == aDomainVerificationAddDomainFailDetails) { +- (BOOL)isEqualToAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)anAppUnlinkTeamDetails { + if (self == anAppUnlinkTeamDetails) { return YES; } - if (![self.domainName isEqual:aDomainVerificationAddDomainFailDetails.domainName]) { + if (![self.appInfo isEqual:anAppUnlinkTeamDetails.appInfo]) { return NO; } - if (self.verificationMethod) { - if (![self.verificationMethod isEqual:aDomainVerificationAddDomainFailDetails.verificationMethod]) { - return NO; - } - } return YES; } @@ -7257,72 +8001,58 @@ - (BOOL)isEqualToDomainVerificationAddDomainFailDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer +@implementation DBTEAMLOGAppUnlinkTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"domain_name"] = valueObj.domainName; - if (valueObj.verificationMethod) { - jsonDict[@"verification_method"] = valueObj.verificationMethod; - } + jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)valueDict { - NSString *domainName = valueDict[@"domain_name"]; - NSString *verificationMethod = valueDict[@"verification_method"] ?: nil; ++ (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - return [[DBTEAMLOGDomainVerificationAddDomainFailDetails alloc] initWithDomainName:domainName - verificationMethod:verificationMethod]; + return [[DBTEAMLOGAppUnlinkTeamDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h" +#import "DBTEAMLOGAppUnlinkTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainVerificationAddDomainSuccessDetails +@implementation DBTEAMLOGAppUnlinkTeamType #pragma mark - Constructors -- (instancetype)initWithDomainNames:(NSArray *)domainNames - verificationMethod:(NSString *)verificationMethod { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](domainNames); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _domainNames = domainNames; - _verificationMethod = verificationMethod; + _description_ = description_; } return self; } -- (instancetype)initWithDomainNames:(NSArray *)domainNames { - return [self initWithDomainNames:domainNames verificationMethod:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppUnlinkTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppUnlinkTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppUnlinkTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7339,10 +8069,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.domainNames hash]; - if (self.verificationMethod != nil) { - result = prime * result + [self.verificationMethod hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -7356,22 +8083,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainVerificationAddDomainSuccessDetails:other]; + return [self isEqualToAppUnlinkTeamType:other]; } -- (BOOL)isEqualToDomainVerificationAddDomainSuccessDetails: - (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)aDomainVerificationAddDomainSuccessDetails { - if (self == aDomainVerificationAddDomainSuccessDetails) { +- (BOOL)isEqualToAppUnlinkTeamType:(DBTEAMLOGAppUnlinkTeamType *)anAppUnlinkTeamType { + if (self == anAppUnlinkTeamType) { return YES; } - if (![self.domainNames isEqual:aDomainVerificationAddDomainSuccessDetails.domainNames]) { + if (![self.description_ isEqual:anAppUnlinkTeamType.description_]) { return NO; } - if (self.verificationMethod) { - if (![self.verificationMethod isEqual:aDomainVerificationAddDomainSuccessDetails.verificationMethod]) { - return NO; - } - } return YES; } @@ -7379,72 +8100,59 @@ - (BOOL)isEqualToDomainVerificationAddDomainSuccessDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer +@implementation DBTEAMLOGAppUnlinkTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"domain_names"] = [DBArraySerializer serialize:valueObj.domainNames - withBlock:^id(id elem0) { - return elem0; - }]; - if (valueObj.verificationMethod) { - jsonDict[@"verification_method"] = valueObj.verificationMethod; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *domainNames = [DBArraySerializer deserialize:valueDict[@"domain_names"] - withBlock:^id(id elem0) { - return elem0; - }]; - NSString *verificationMethod = valueDict[@"verification_method"] ?: nil; ++ (DBTEAMLOGAppUnlinkTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDomainVerificationAddDomainSuccessDetails alloc] initWithDomainNames:domainNames - verificationMethod:verificationMethod]; + return [[DBTEAMLOGAppUnlinkTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDomainVerificationRemoveDomainDetails.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGAppUnlinkUserDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGDomainVerificationRemoveDomainDetails +@implementation DBTEAMLOGAppUnlinkUserDetails #pragma mark - Constructors -- (instancetype)initWithDomainNames:(NSArray *)domainNames { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](domainNames); +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo { + [DBStoneValidators nonnullValidator:nil](appInfo); self = [super init]; if (self) { - _domainNames = domainNames; + _appInfo = appInfo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppUnlinkUserDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7461,7 +8169,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.domainNames hash]; + result = prime * result + [self.appInfo hash]; return prime * result; } @@ -7475,15 +8183,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDomainVerificationRemoveDomainDetails:other]; + return [self isEqualToAppUnlinkUserDetails:other]; } -- (BOOL)isEqualToDomainVerificationRemoveDomainDetails: - (DBTEAMLOGDomainVerificationRemoveDomainDetails *)aDomainVerificationRemoveDomainDetails { - if (self == aDomainVerificationRemoveDomainDetails) { +- (BOOL)isEqualToAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)anAppUnlinkUserDetails { + if (self == anAppUnlinkUserDetails) { return YES; } - if (![self.domainNames isEqual:aDomainVerificationRemoveDomainDetails.domainNames]) { + if (![self.appInfo isEqual:anAppUnlinkUserDetails.appInfo]) { return NO; } return YES; @@ -7493,67 +8200,58 @@ - (BOOL)isEqualToDomainVerificationRemoveDomainDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer +@implementation DBTEAMLOGAppUnlinkUserDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"domain_names"] = [DBArraySerializer serialize:valueObj.domainNames - withBlock:^id(id elem0) { - return elem0; - }]; + jsonDict[@"app_info"] = [DBTEAMLOGAppLogInfoSerializer serialize:valueObj.appInfo]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *domainNames = [DBArraySerializer deserialize:valueDict[@"domain_names"] - withBlock:^id(id elem0) { - return elem0; - }]; ++ (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAppLogInfo *appInfo = [DBTEAMLOGAppLogInfoSerializer deserialize:valueDict[@"app_info"]]; - return [[DBTEAMLOGDomainVerificationRemoveDomainDetails alloc] initWithDomainNames:domainNames]; + return [[DBTEAMLOGAppUnlinkUserDetails alloc] initWithAppInfo:appInfo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGDurationLogInfo.h" -#import "DBTEAMLOGTimeUnit.h" +#import "DBTEAMLOGAppUnlinkUserType.h" #pragma mark - API Object -@implementation DBTEAMLOGDurationLogInfo +@implementation DBTEAMLOGAppUnlinkUserType #pragma mark - Constructors -- (instancetype)initWithUnit:(DBTEAMLOGTimeUnit *)unit amount:(NSNumber *)amount { - [DBStoneValidators nonnullValidator:nil](unit); - [DBStoneValidators nonnullValidator:nil](amount); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _unit = unit; - _amount = amount; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGDurationLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAppUnlinkUserTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGDurationLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAppUnlinkUserTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGDurationLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAppUnlinkUserTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7570,8 +8268,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.unit hash]; - result = prime * result + [self.amount hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -7585,17 +8282,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToDurationLogInfo:other]; + return [self isEqualToAppUnlinkUserType:other]; } -- (BOOL)isEqualToDurationLogInfo:(DBTEAMLOGDurationLogInfo *)aDurationLogInfo { - if (self == aDurationLogInfo) { +- (BOOL)isEqualToAppUnlinkUserType:(DBTEAMLOGAppUnlinkUserType *)anAppUnlinkUserType { + if (self == anAppUnlinkUserType) { return YES; } - if (![self.unit isEqual:aDurationLogInfo.unit]) { - return NO; - } - if (![self.amount isEqual:aDurationLogInfo.amount]) { + if (![self.description_ isEqual:anAppUnlinkUserType.description_]) { return NO; } return YES; @@ -7605,33 +8299,31 @@ - (BOOL)isEqualToDurationLogInfo:(DBTEAMLOGDurationLogInfo *)aDurationLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGDurationLogInfoSerializer +@implementation DBTEAMLOGAppUnlinkUserTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGDurationLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"unit"] = [DBTEAMLOGTimeUnitSerializer serialize:valueObj.unit]; - jsonDict[@"amount"] = valueObj.amount; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTimeUnit *unit = [DBTEAMLOGTimeUnitSerializer deserialize:valueDict[@"unit"]]; - NSNumber *amount = valueDict[@"amount"]; ++ (DBTEAMLOGAppUnlinkUserType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGDurationLogInfo alloc] initWithUnit:unit amount:amount]; + return [[DBTEAMLOGAppUnlinkUserType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmAddExceptionDetails.h" +#import "DBTEAMLOGApplyNamingConventionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmAddExceptionDetails +@implementation DBTEAMLOGApplyNamingConventionDetails #pragma mark - Constructors @@ -7645,18 +8337,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGApplyNamingConventionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmAddExceptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGApplyNamingConventionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGApplyNamingConventionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7685,11 +8377,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmAddExceptionDetails:other]; + return [self isEqualToApplyNamingConventionDetails:other]; } -- (BOOL)isEqualToEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)anEmmAddExceptionDetails { - if (self == anEmmAddExceptionDetails) { +- (BOOL)isEqualToApplyNamingConventionDetails:(DBTEAMLOGApplyNamingConventionDetails *)anApplyNamingConventionDetails { + if (self == anApplyNamingConventionDetails) { return YES; } return YES; @@ -7699,64 +8391,57 @@ - (BOOL)isEqualToEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)anEmm #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmAddExceptionDetailsSerializer +@implementation DBTEAMLOGApplyNamingConventionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGApplyNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGEmmAddExceptionDetails alloc] initDefault]; + return [[DBTEAMLOGApplyNamingConventionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmChangePolicyDetails.h" -#import "DBTEAMPOLICIESEmmState.h" +#import "DBTEAMLOGApplyNamingConventionType.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmChangePolicyDetails +@implementation DBTEAMLOGApplyNamingConventionType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue - previousValue:(DBTEAMPOLICIESEmmState *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGApplyNamingConventionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGApplyNamingConventionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGApplyNamingConventionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7773,10 +8458,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -7790,21 +8472,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmChangePolicyDetails:other]; + return [self isEqualToApplyNamingConventionType:other]; } -- (BOOL)isEqualToEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)anEmmChangePolicyDetails { - if (self == anEmmChangePolicyDetails) { +- (BOOL)isEqualToApplyNamingConventionType:(DBTEAMLOGApplyNamingConventionType *)anApplyNamingConventionType { + if (self == anApplyNamingConventionType) { return YES; } - if (![self.dNewValue isEqual:anEmmChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:anApplyNamingConventionType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:anEmmChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -7812,61 +8489,199 @@ - (BOOL)isEqualToEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)anEmm #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmChangePolicyDetailsSerializer +@implementation DBTEAMLOGApplyNamingConventionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESEmmState *dNewValue = [DBTEAMPOLICIESEmmStateSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESEmmState *previousValue = - valueDict[@"previous_value"] ? [DBTEAMPOLICIESEmmStateSerializer deserialize:valueDict[@"previous_value"]] : nil; ++ (DBTEAMLOGApplyNamingConventionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGEmmChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGApplyNamingConventionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmCreateExceptionsReportDetails.h" +#import "DBTEAMLOGAssetLogInfo.h" +#import "DBTEAMLOGFileLogInfo.h" +#import "DBTEAMLOGFolderLogInfo.h" +#import "DBTEAMLOGPaperDocumentLogInfo.h" +#import "DBTEAMLOGPaperFolderLogInfo.h" +#import "DBTEAMLOGShowcaseDocumentLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmCreateExceptionsReportDetails +@implementation DBTEAMLOGAssetLogInfo + +@synthesize file = _file; +@synthesize folder = _folder; +@synthesize paperDocument = _paperDocument; +@synthesize paperFolder = _paperFolder; +@synthesize showcaseDocument = _showcaseDocument; #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithFile:(DBTEAMLOGFileLogInfo *)file { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAssetLogInfoFile; + _file = file; + } + return self; +} + +- (instancetype)initWithFolder:(DBTEAMLOGFolderLogInfo *)folder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAssetLogInfoFolder; + _folder = folder; + } + return self; +} + +- (instancetype)initWithPaperDocument:(DBTEAMLOGPaperDocumentLogInfo *)paperDocument { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAssetLogInfoPaperDocument; + _paperDocument = paperDocument; + } + return self; +} + +- (instancetype)initWithPaperFolder:(DBTEAMLOGPaperFolderLogInfo *)paperFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAssetLogInfoPaperFolder; + _paperFolder = paperFolder; + } + return self; +} + +- (instancetype)initWithShowcaseDocument:(DBTEAMLOGShowcaseDocumentLogInfo *)showcaseDocument { + self = [super init]; + if (self) { + _tag = DBTEAMLOGAssetLogInfoShowcaseDocument; + _showcaseDocument = showcaseDocument; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { + _tag = DBTEAMLOGAssetLogInfoOther; } return self; } +#pragma mark - Instance field accessors + +- (DBTEAMLOGFileLogInfo *)file { + if (![self isFile]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAssetLogInfoFile, but was %@.", [self tagName]]; + } + return _file; +} + +- (DBTEAMLOGFolderLogInfo *)folder { + if (![self isFolder]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAssetLogInfoFolder, but was %@.", [self tagName]]; + } + return _folder; +} + +- (DBTEAMLOGPaperDocumentLogInfo *)paperDocument { + if (![self isPaperDocument]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAssetLogInfoPaperDocument, but was %@.", [self tagName]]; + } + return _paperDocument; +} + +- (DBTEAMLOGPaperFolderLogInfo *)paperFolder { + if (![self isPaperFolder]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAssetLogInfoPaperFolder, but was %@.", [self tagName]]; + } + return _paperFolder; +} + +- (DBTEAMLOGShowcaseDocumentLogInfo *)showcaseDocument { + if (![self isShowcaseDocument]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGAssetLogInfoShowcaseDocument, but was %@.", [self tagName]]; + } + return _showcaseDocument; +} + +#pragma mark - Tag state methods + +- (BOOL)isFile { + return _tag == DBTEAMLOGAssetLogInfoFile; +} + +- (BOOL)isFolder { + return _tag == DBTEAMLOGAssetLogInfoFolder; +} + +- (BOOL)isPaperDocument { + return _tag == DBTEAMLOGAssetLogInfoPaperDocument; +} + +- (BOOL)isPaperFolder { + return _tag == DBTEAMLOGAssetLogInfoPaperFolder; +} + +- (BOOL)isShowcaseDocument { + return _tag == DBTEAMLOGAssetLogInfoShowcaseDocument; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGAssetLogInfoOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGAssetLogInfoFile: + return @"DBTEAMLOGAssetLogInfoFile"; + case DBTEAMLOGAssetLogInfoFolder: + return @"DBTEAMLOGAssetLogInfoFolder"; + case DBTEAMLOGAssetLogInfoPaperDocument: + return @"DBTEAMLOGAssetLogInfoPaperDocument"; + case DBTEAMLOGAssetLogInfoPaperFolder: + return @"DBTEAMLOGAssetLogInfoPaperFolder"; + case DBTEAMLOGAssetLogInfoShowcaseDocument: + return @"DBTEAMLOGAssetLogInfoShowcaseDocument"; + case DBTEAMLOGAssetLogInfoOther: + return @"DBTEAMLOGAssetLogInfoOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGAssetLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGAssetLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGAssetLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7883,6 +8698,27 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGAssetLogInfoFile: + result = prime * result + [self.file hash]; + break; + case DBTEAMLOGAssetLogInfoFolder: + result = prime * result + [self.folder hash]; + break; + case DBTEAMLOGAssetLogInfoPaperDocument: + result = prime * result + [self.paperDocument hash]; + break; + case DBTEAMLOGAssetLogInfoPaperFolder: + result = prime * result + [self.paperFolder hash]; + break; + case DBTEAMLOGAssetLogInfoShowcaseDocument: + result = prime * result + [self.showcaseDocument hash]; + break; + case DBTEAMLOGAssetLogInfoOther: + result = prime * result + [[self tagName] hash]; + break; + } + return prime * result; } @@ -7895,14 +8731,30 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmCreateExceptionsReportDetails:other]; + return [self isEqualToAssetLogInfo:other]; } -- (BOOL)isEqualToEmmCreateExceptionsReportDetails: - (DBTEAMLOGEmmCreateExceptionsReportDetails *)anEmmCreateExceptionsReportDetails { - if (self == anEmmCreateExceptionsReportDetails) { +- (BOOL)isEqualToAssetLogInfo:(DBTEAMLOGAssetLogInfo *)anAssetLogInfo { + if (self == anAssetLogInfo) { return YES; } + if (self.tag != anAssetLogInfo.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGAssetLogInfoFile: + return [self.file isEqual:anAssetLogInfo.file]; + case DBTEAMLOGAssetLogInfoFolder: + return [self.folder isEqual:anAssetLogInfo.folder]; + case DBTEAMLOGAssetLogInfoPaperDocument: + return [self.paperDocument isEqual:anAssetLogInfo.paperDocument]; + case DBTEAMLOGAssetLogInfoPaperFolder: + return [self.paperFolder isEqual:anAssetLogInfo.paperFolder]; + case DBTEAMLOGAssetLogInfoShowcaseDocument: + return [self.showcaseDocument isEqual:anAssetLogInfo.showcaseDocument]; + case DBTEAMLOGAssetLogInfoOther: + return [[self tagName] isEqual:[anAssetLogInfo tagName]]; + } return YES; } @@ -7910,30 +8762,71 @@ - (BOOL)isEqualToEmmCreateExceptionsReportDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer +@implementation DBTEAMLOGAssetLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if ([valueObj isFile]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLogInfoSerializer serialize:valueObj.file]]; + jsonDict[@".tag"] = @"file"; + } else if ([valueObj isFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderLogInfoSerializer serialize:valueObj.folder]]; + jsonDict[@".tag"] = @"folder"; + } else if ([valueObj isPaperDocument]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocumentLogInfoSerializer serialize:valueObj.paperDocument]]; + jsonDict[@".tag"] = @"paper_document"; + } else if ([valueObj isPaperFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderLogInfoSerializer serialize:valueObj.paperFolder]]; + jsonDict[@".tag"] = @"paper_folder"; + } else if ([valueObj isShowcaseDocument]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseDocumentLogInfoSerializer serialize:valueObj.showcaseDocument]]; + jsonDict[@".tag"] = @"showcase_document"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; } -+ (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGEmmCreateExceptionsReportDetails alloc] initDefault]; + if ([tag isEqualToString:@"file"]) { + DBTEAMLOGFileLogInfo *file = [DBTEAMLOGFileLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAssetLogInfo alloc] initWithFile:file]; + } else if ([tag isEqualToString:@"folder"]) { + DBTEAMLOGFolderLogInfo *folder = [DBTEAMLOGFolderLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAssetLogInfo alloc] initWithFolder:folder]; + } else if ([tag isEqualToString:@"paper_document"]) { + DBTEAMLOGPaperDocumentLogInfo *paperDocument = [DBTEAMLOGPaperDocumentLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAssetLogInfo alloc] initWithPaperDocument:paperDocument]; + } else if ([tag isEqualToString:@"paper_folder"]) { + DBTEAMLOGPaperFolderLogInfo *paperFolder = [DBTEAMLOGPaperFolderLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAssetLogInfo alloc] initWithPaperFolder:paperFolder]; + } else if ([tag isEqualToString:@"showcase_document"]) { + DBTEAMLOGShowcaseDocumentLogInfo *showcaseDocument = + [DBTEAMLOGShowcaseDocumentLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGAssetLogInfo alloc] initWithShowcaseDocument:showcaseDocument]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGAssetLogInfo alloc] initWithOther]; + } else { + return [[DBTEAMLOGAssetLogInfo alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmCreateUsageReportDetails.h" +#import "DBTEAMLOGBackupAdminInvitationSentDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmCreateUsageReportDetails +@implementation DBTEAMLOGBackupAdminInvitationSentDetails #pragma mark - Constructors @@ -7947,18 +8840,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmCreateUsageReportDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBackupAdminInvitationSentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmCreateUsageReportDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBackupAdminInvitationSentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmCreateUsageReportDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBackupAdminInvitationSentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -7987,11 +8880,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmCreateUsageReportDetails:other]; + return [self isEqualToBackupAdminInvitationSentDetails:other]; } -- (BOOL)isEqualToEmmCreateUsageReportDetails:(DBTEAMLOGEmmCreateUsageReportDetails *)anEmmCreateUsageReportDetails { - if (self == anEmmCreateUsageReportDetails) { +- (BOOL)isEqualToBackupAdminInvitationSentDetails: + (DBTEAMLOGBackupAdminInvitationSentDetails *)aBackupAdminInvitationSentDetails { + if (self == aBackupAdminInvitationSentDetails) { return YES; } return YES; @@ -8001,58 +8895,57 @@ - (BOOL)isEqualToEmmCreateUsageReportDetails:(DBTEAMLOGEmmCreateUsageReportDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmCreateUsageReportDetailsSerializer +@implementation DBTEAMLOGBackupAdminInvitationSentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGBackupAdminInvitationSentDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGEmmCreateUsageReportDetails alloc] initDefault]; + return [[DBTEAMLOGBackupAdminInvitationSentDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmErrorDetails.h" -#import "DBTEAMLOGFailureDetailsLogInfo.h" +#import "DBTEAMLOGBackupAdminInvitationSentType.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmErrorDetails +@implementation DBTEAMLOGBackupAdminInvitationSentType #pragma mark - Constructors -- (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { - [DBStoneValidators nonnullValidator:nil](errorDetails); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _errorDetails = errorDetails; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmErrorDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBackupAdminInvitationSentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmErrorDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBackupAdminInvitationSentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmErrorDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBackupAdminInvitationSentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8069,7 +8962,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.errorDetails hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -8083,14 +8976,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmErrorDetails:other]; + return [self isEqualToBackupAdminInvitationSentType:other]; } -- (BOOL)isEqualToEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)anEmmErrorDetails { - if (self == anEmmErrorDetails) { +- (BOOL)isEqualToBackupAdminInvitationSentType: + (DBTEAMLOGBackupAdminInvitationSentType *)aBackupAdminInvitationSentType { + if (self == aBackupAdminInvitationSentType) { return YES; } - if (![self.errorDetails isEqual:anEmmErrorDetails.errorDetails]) { + if (![self.description_ isEqual:aBackupAdminInvitationSentType.description_]) { return NO; } return YES; @@ -8100,32 +8994,31 @@ - (BOOL)isEqualToEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)anEmmErrorDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmErrorDetailsSerializer +@implementation DBTEAMLOGBackupAdminInvitationSentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmErrorDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFailureDetailsLogInfo *errorDetails = - [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; ++ (DBTEAMLOGBackupAdminInvitationSentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGEmmErrorDetails alloc] initWithErrorDetails:errorDetails]; + return [[DBTEAMLOGBackupAdminInvitationSentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmRefreshAuthTokenDetails.h" +#import "DBTEAMLOGBackupInvitationOpenedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmRefreshAuthTokenDetails +@implementation DBTEAMLOGBackupInvitationOpenedDetails #pragma mark - Constructors @@ -8139,18 +9032,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBackupInvitationOpenedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBackupInvitationOpenedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBackupInvitationOpenedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8179,11 +9072,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmRefreshAuthTokenDetails:other]; + return [self isEqualToBackupInvitationOpenedDetails:other]; } -- (BOOL)isEqualToEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)anEmmRefreshAuthTokenDetails { - if (self == anEmmRefreshAuthTokenDetails) { +- (BOOL)isEqualToBackupInvitationOpenedDetails: + (DBTEAMLOGBackupInvitationOpenedDetails *)aBackupInvitationOpenedDetails { + if (self == aBackupInvitationOpenedDetails) { return YES; } return YES; @@ -8193,55 +9087,57 @@ - (BOOL)isEqualToEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer +@implementation DBTEAMLOGBackupInvitationOpenedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGBackupInvitationOpenedDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGEmmRefreshAuthTokenDetails alloc] initDefault]; + return [[DBTEAMLOGBackupInvitationOpenedDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEmmRemoveExceptionDetails.h" +#import "DBTEAMLOGBackupInvitationOpenedType.h" #pragma mark - API Object -@implementation DBTEAMLOGEmmRemoveExceptionDetails +@implementation DBTEAMLOGBackupInvitationOpenedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBackupInvitationOpenedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEmmRemoveExceptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBackupInvitationOpenedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBackupInvitationOpenedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8258,6 +9154,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -8270,13 +9168,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmRemoveExceptionDetails:other]; + return [self isEqualToBackupInvitationOpenedType:other]; } -- (BOOL)isEqualToEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)anEmmRemoveExceptionDetails { - if (self == anEmmRemoveExceptionDetails) { +- (BOOL)isEqualToBackupInvitationOpenedType:(DBTEAMLOGBackupInvitationOpenedType *)aBackupInvitationOpenedType { + if (self == aBackupInvitationOpenedType) { return YES; } + if (![self.description_ isEqual:aBackupInvitationOpenedType.description_]) { + return NO; + } return YES; } @@ -8284,55 +9185,101 @@ - (BOOL)isEqualToEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGEmmRemoveExceptionDetailsSerializer +@implementation DBTEAMLOGBackupInvitationOpenedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGBackupInvitationOpenedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGEmmRemoveExceptionDetails alloc] initDefault]; + return [[DBTEAMLOGBackupInvitationOpenedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEnabledDomainInvitesDetails.h" +#import "DBTEAMLOGBackupStatus.h" #pragma mark - API Object -@implementation DBTEAMLOGEnabledDomainInvitesDetails +@implementation DBTEAMLOGBackupStatus #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGBackupStatusDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGBackupStatusEnabled; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { + _tag = DBTEAMLOGBackupStatusOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGBackupStatusDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGBackupStatusEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGBackupStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGBackupStatusDisabled: + return @"DBTEAMLOGBackupStatusDisabled"; + case DBTEAMLOGBackupStatusEnabled: + return @"DBTEAMLOGBackupStatusEnabled"; + case DBTEAMLOGBackupStatusOther: + return @"DBTEAMLOGBackupStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEnabledDomainInvitesDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBackupStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEnabledDomainInvitesDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBackupStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEnabledDomainInvitesDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBackupStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8349,6 +9296,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGBackupStatusDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGBackupStatusEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGBackupStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + return prime * result; } @@ -8361,13 +9320,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEnabledDomainInvitesDetails:other]; + return [self isEqualToBackupStatus:other]; } -- (BOOL)isEqualToEnabledDomainInvitesDetails:(DBTEAMLOGEnabledDomainInvitesDetails *)anEnabledDomainInvitesDetails { - if (self == anEnabledDomainInvitesDetails) { +- (BOOL)isEqualToBackupStatus:(DBTEAMLOGBackupStatus *)aBackupStatus { + if (self == aBackupStatus) { return YES; } + if (self.tag != aBackupStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGBackupStatusDisabled: + return [[self tagName] isEqual:[aBackupStatus tagName]]; + case DBTEAMLOGBackupStatusEnabled: + return [[self tagName] isEqual:[aBackupStatus tagName]]; + case DBTEAMLOGBackupStatusOther: + return [[self tagName] isEqual:[aBackupStatus tagName]]; + } return YES; } @@ -8375,506 +9345,629 @@ - (BOOL)isEqualToEnabledDomainInvitesDetails:(DBTEAMLOGEnabledDomainInvitesDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGEnabledDomainInvitesDetailsSerializer +@implementation DBTEAMLOGBackupStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGBackupStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; } -+ (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGBackupStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGEnabledDomainInvitesDetails alloc] initDefault]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGBackupStatus alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGBackupStatus alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGBackupStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGBackupStatus alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGEventCategory.h" +#import "DBTEAMLOGBinderAddPageDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGEventCategory +@implementation DBTEAMLOGBinderAddPageDetails #pragma mark - Constructors -- (instancetype)initWithAccountCapture { +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventCategoryAccountCapture; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; } return self; } -- (instancetype)initWithAdministration { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryAdministration; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderAddPageDetailsSerializer serialize:instance]; } -- (instancetype)initWithApps { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryApps; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderAddPageDetailsSerializer deserialize:dict]; } -- (instancetype)initWithAuthentication { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryAuthentication; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderAddPageDetailsSerializer serialize:self] description]; } -- (instancetype)initWithComments { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryComments; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithContentAccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryContentAccess; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; } -- (instancetype)initWithDevices { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryDevices; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderAddPageDetails:other]; } -- (instancetype)initWithDeviceApprovals { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryDeviceApprovals; +- (BOOL)isEqualToBinderAddPageDetails:(DBTEAMLOGBinderAddPageDetails *)aBinderAddPageDetails { + if (self == aBinderAddPageDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderAddPageDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderAddPageDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderAddPageDetails.binderItemName]) { + return NO; + } + return YES; } -- (instancetype)initWithDomains { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryDomains; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderAddPageDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderAddPageDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; } -- (instancetype)initWithEmm { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryEmm; - } - return self; ++ (DBTEAMLOGBinderAddPageDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderAddPageDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; } -- (instancetype)initWithErrors { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderAddPageType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderAddPageType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventCategoryErrors; + _description_ = description_; } return self; } -- (instancetype)initWithFiles { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryFiles; - } - return self; -} +#pragma mark - Serialization methods -- (instancetype)initWithFileOperations { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryFileOperations; - } - return self; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderAddPageTypeSerializer serialize:instance]; } -- (instancetype)initWithFileRequests { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryFileRequests; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderAddPageTypeSerializer deserialize:dict]; } -- (instancetype)initWithGroups { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryGroups; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderAddPageTypeSerializer serialize:self] description]; } -- (instancetype)initWithLogins { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryLogins; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithMembers { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryMembers; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithPaper { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryPaper; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderAddPageType:other]; } -- (instancetype)initWithPasswords { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryPasswords; +- (BOOL)isEqualToBinderAddPageType:(DBTEAMLOGBinderAddPageType *)aBinderAddPageType { + if (self == aBinderAddPageType) { + return YES; } - return self; + if (![self.description_ isEqual:aBinderAddPageType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithReports { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryReports; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderAddPageTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderAddPageType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithSessions { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySessions; - } - return self; ++ (DBTEAMLOGBinderAddPageType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderAddPageType alloc] initWithDescription_:description_]; } -- (instancetype)initWithSharedFiles { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderAddSectionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderAddSectionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventCategorySharedFiles; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; } return self; } -- (instancetype)initWithSharedFolders { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySharedFolders; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderAddSectionDetailsSerializer serialize:instance]; } -- (instancetype)initWithSharedLinks { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySharedLinks; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderAddSectionDetailsSerializer deserialize:dict]; } -- (instancetype)initWithSharing { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySharing; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderAddSectionDetailsSerializer serialize:self] description]; } -- (instancetype)initWithSharingPolicies { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySharingPolicies; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithSso { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategorySso; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; } -- (instancetype)initWithTeamFolders { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryTeamFolders; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderAddSectionDetails:other]; } -- (instancetype)initWithTeamPolicies { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryTeamPolicies; +- (BOOL)isEqualToBinderAddSectionDetails:(DBTEAMLOGBinderAddSectionDetails *)aBinderAddSectionDetails { + if (self == aBinderAddSectionDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderAddSectionDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderAddSectionDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderAddSectionDetails.binderItemName]) { + return NO; + } + return YES; } -- (instancetype)initWithTeamProfile { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryTeamProfile; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderAddSectionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderAddSectionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; } -- (instancetype)initWithTfa { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventCategoryTfa; - } - return self; ++ (DBTEAMLOGBinderAddSectionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderAddSectionDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; } -- (instancetype)initWithOther { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderAddSectionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderAddSectionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventCategoryOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods +#pragma mark - Serialization methods -- (BOOL)isAccountCapture { - return _tag == DBTEAMLOGEventCategoryAccountCapture; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderAddSectionTypeSerializer serialize:instance]; } -- (BOOL)isAdministration { - return _tag == DBTEAMLOGEventCategoryAdministration; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderAddSectionTypeSerializer deserialize:dict]; } -- (BOOL)isApps { - return _tag == DBTEAMLOGEventCategoryApps; -} +#pragma mark - Debug Description method -- (BOOL)isAuthentication { - return _tag == DBTEAMLOGEventCategoryAuthentication; +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderAddSectionTypeSerializer serialize:self] description]; } -- (BOOL)isComments { - return _tag == DBTEAMLOGEventCategoryComments; -} +#pragma mark - Copyable method -- (BOOL)isContentAccess { - return _tag == DBTEAMLOGEventCategoryContentAccess; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isDevices { - return _tag == DBTEAMLOGEventCategoryDevices; -} +#pragma mark - Hash method -- (BOOL)isDeviceApprovals { - return _tag == DBTEAMLOGEventCategoryDeviceApprovals; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isDomains { - return _tag == DBTEAMLOGEventCategoryDomains; -} + result = prime * result + [self.description_ hash]; -- (BOOL)isEmm { - return _tag == DBTEAMLOGEventCategoryEmm; + return prime * result; } -- (BOOL)isErrors { - return _tag == DBTEAMLOGEventCategoryErrors; -} +#pragma mark - Equality method -- (BOOL)isFiles { - return _tag == DBTEAMLOGEventCategoryFiles; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderAddSectionType:other]; } -- (BOOL)isFileOperations { - return _tag == DBTEAMLOGEventCategoryFileOperations; +- (BOOL)isEqualToBinderAddSectionType:(DBTEAMLOGBinderAddSectionType *)aBinderAddSectionType { + if (self == aBinderAddSectionType) { + return YES; + } + if (![self.description_ isEqual:aBinderAddSectionType.description_]) { + return NO; + } + return YES; } -- (BOOL)isFileRequests { - return _tag == DBTEAMLOGEventCategoryFileRequests; -} +@end -- (BOOL)isGroups { - return _tag == DBTEAMLOGEventCategoryGroups; -} +#pragma mark - Serializer Object -- (BOOL)isLogins { - return _tag == DBTEAMLOGEventCategoryLogins; -} +@implementation DBTEAMLOGBinderAddSectionTypeSerializer -- (BOOL)isMembers { - return _tag == DBTEAMLOGEventCategoryMembers; -} ++ (NSDictionary *)serialize:(DBTEAMLOGBinderAddSectionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isPaper { - return _tag == DBTEAMLOGEventCategoryPaper; -} + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isPasswords { - return _tag == DBTEAMLOGEventCategoryPasswords; + return jsonDict; } -- (BOOL)isReports { - return _tag == DBTEAMLOGEventCategoryReports; -} ++ (DBTEAMLOGBinderAddSectionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isSessions { - return _tag == DBTEAMLOGEventCategorySessions; + return [[DBTEAMLOGBinderAddSectionType alloc] initWithDescription_:description_]; } -- (BOOL)isSharedFiles { - return _tag == DBTEAMLOGEventCategorySharedFiles; -} +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRemovePageDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRemovePageDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); -- (BOOL)isSharedFolders { - return _tag == DBTEAMLOGEventCategorySharedFolders; + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; + } + return self; } -- (BOOL)isSharedLinks { - return _tag == DBTEAMLOGEventCategorySharedLinks; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRemovePageDetailsSerializer serialize:instance]; } -- (BOOL)isSharing { - return _tag == DBTEAMLOGEventCategorySharing; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRemovePageDetailsSerializer deserialize:dict]; } -- (BOOL)isSharingPolicies { - return _tag == DBTEAMLOGEventCategorySharingPolicies; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRemovePageDetailsSerializer serialize:self] description]; } -- (BOOL)isSso { - return _tag == DBTEAMLOGEventCategorySso; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isTeamFolders { - return _tag == DBTEAMLOGEventCategoryTeamFolders; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; } -- (BOOL)isTeamPolicies { - return _tag == DBTEAMLOGEventCategoryTeamPolicies; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRemovePageDetails:other]; } -- (BOOL)isTeamProfile { - return _tag == DBTEAMLOGEventCategoryTeamProfile; +- (BOOL)isEqualToBinderRemovePageDetails:(DBTEAMLOGBinderRemovePageDetails *)aBinderRemovePageDetails { + if (self == aBinderRemovePageDetails) { + return YES; + } + if (![self.eventUuid isEqual:aBinderRemovePageDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderRemovePageDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderRemovePageDetails.binderItemName]) { + return NO; + } + return YES; } -- (BOOL)isTfa { - return _tag == DBTEAMLOGEventCategoryTfa; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRemovePageDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRemovePageDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; } -- (BOOL)isOther { - return _tag == DBTEAMLOGEventCategoryOther; ++ (DBTEAMLOGBinderRemovePageDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderRemovePageDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGEventCategoryAccountCapture: - return @"DBTEAMLOGEventCategoryAccountCapture"; - case DBTEAMLOGEventCategoryAdministration: - return @"DBTEAMLOGEventCategoryAdministration"; - case DBTEAMLOGEventCategoryApps: - return @"DBTEAMLOGEventCategoryApps"; - case DBTEAMLOGEventCategoryAuthentication: - return @"DBTEAMLOGEventCategoryAuthentication"; - case DBTEAMLOGEventCategoryComments: - return @"DBTEAMLOGEventCategoryComments"; - case DBTEAMLOGEventCategoryContentAccess: - return @"DBTEAMLOGEventCategoryContentAccess"; - case DBTEAMLOGEventCategoryDevices: - return @"DBTEAMLOGEventCategoryDevices"; - case DBTEAMLOGEventCategoryDeviceApprovals: - return @"DBTEAMLOGEventCategoryDeviceApprovals"; - case DBTEAMLOGEventCategoryDomains: - return @"DBTEAMLOGEventCategoryDomains"; - case DBTEAMLOGEventCategoryEmm: - return @"DBTEAMLOGEventCategoryEmm"; - case DBTEAMLOGEventCategoryErrors: - return @"DBTEAMLOGEventCategoryErrors"; - case DBTEAMLOGEventCategoryFiles: - return @"DBTEAMLOGEventCategoryFiles"; - case DBTEAMLOGEventCategoryFileOperations: - return @"DBTEAMLOGEventCategoryFileOperations"; - case DBTEAMLOGEventCategoryFileRequests: - return @"DBTEAMLOGEventCategoryFileRequests"; - case DBTEAMLOGEventCategoryGroups: - return @"DBTEAMLOGEventCategoryGroups"; - case DBTEAMLOGEventCategoryLogins: - return @"DBTEAMLOGEventCategoryLogins"; - case DBTEAMLOGEventCategoryMembers: - return @"DBTEAMLOGEventCategoryMembers"; - case DBTEAMLOGEventCategoryPaper: - return @"DBTEAMLOGEventCategoryPaper"; - case DBTEAMLOGEventCategoryPasswords: - return @"DBTEAMLOGEventCategoryPasswords"; - case DBTEAMLOGEventCategoryReports: - return @"DBTEAMLOGEventCategoryReports"; - case DBTEAMLOGEventCategorySessions: - return @"DBTEAMLOGEventCategorySessions"; - case DBTEAMLOGEventCategorySharedFiles: - return @"DBTEAMLOGEventCategorySharedFiles"; - case DBTEAMLOGEventCategorySharedFolders: - return @"DBTEAMLOGEventCategorySharedFolders"; - case DBTEAMLOGEventCategorySharedLinks: - return @"DBTEAMLOGEventCategorySharedLinks"; - case DBTEAMLOGEventCategorySharing: - return @"DBTEAMLOGEventCategorySharing"; - case DBTEAMLOGEventCategorySharingPolicies: - return @"DBTEAMLOGEventCategorySharingPolicies"; - case DBTEAMLOGEventCategorySso: - return @"DBTEAMLOGEventCategorySso"; - case DBTEAMLOGEventCategoryTeamFolders: - return @"DBTEAMLOGEventCategoryTeamFolders"; - case DBTEAMLOGEventCategoryTeamPolicies: - return @"DBTEAMLOGEventCategoryTeamPolicies"; - case DBTEAMLOGEventCategoryTeamProfile: - return @"DBTEAMLOGEventCategoryTeamProfile"; - case DBTEAMLOGEventCategoryTfa: - return @"DBTEAMLOGEventCategoryTfa"; - case DBTEAMLOGEventCategoryOther: - return @"DBTEAMLOGEventCategoryOther"; - } +@end - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRemovePageType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRemovePageType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEventCategorySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRemovePageTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEventCategorySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRemovePageTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEventCategorySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRemovePageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -8891,72 +9984,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGEventCategoryAccountCapture: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryAdministration: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryApps: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryAuthentication: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryComments: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryContentAccess: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryDevices: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryDeviceApprovals: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryDomains: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryEmm: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryErrors: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryFiles: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryFileOperations: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryFileRequests: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryGroups: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryLogins: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryMembers: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryPaper: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryPasswords: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryReports: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySessions: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySharedFiles: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySharedFolders: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySharedLinks: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySharing: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySharingPolicies: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategorySso: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryTeamFolders: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryTeamPolicies: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryTeamProfile: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryTfa: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventCategoryOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -8970,81 +9998,128 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEventCategory:other]; + return [self isEqualToBinderRemovePageType:other]; } -- (BOOL)isEqualToEventCategory:(DBTEAMLOGEventCategory *)anEventCategory { - if (self == anEventCategory) { +- (BOOL)isEqualToBinderRemovePageType:(DBTEAMLOGBinderRemovePageType *)aBinderRemovePageType { + if (self == aBinderRemovePageType) { return YES; } - if (self.tag != anEventCategory.tag) { + if (![self.description_ isEqual:aBinderRemovePageType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGEventCategoryAccountCapture: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryAdministration: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryApps: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryAuthentication: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryComments: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryContentAccess: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryDevices: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryDeviceApprovals: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryDomains: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryEmm: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryErrors: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryFiles: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryFileOperations: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryFileRequests: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryGroups: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryLogins: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryMembers: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryPaper: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryPasswords: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryReports: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySessions: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySharedFiles: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySharedFolders: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySharedLinks: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySharing: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySharingPolicies: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategorySso: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryTeamFolders: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryTeamPolicies: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryTeamProfile: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryTfa: - return [[self tagName] isEqual:[anEventCategory tagName]]; - case DBTEAMLOGEventCategoryOther: - return [[self tagName] isEqual:[anEventCategory tagName]]; + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRemovePageTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRemovePageType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGBinderRemovePageType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderRemovePageType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRemoveSectionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRemoveSectionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRemoveSectionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRemoveSectionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRemoveSectionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRemoveSectionDetails:other]; +} + +- (BOOL)isEqualToBinderRemoveSectionDetails:(DBTEAMLOGBinderRemoveSectionDetails *)aBinderRemoveSectionDetails { + if (self == aBinderRemoveSectionDetails) { + return YES; + } + if (![self.eventUuid isEqual:aBinderRemoveSectionDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderRemoveSectionDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderRemoveSectionDetails.binderItemName]) { + return NO; } return YES; } @@ -9053,7383 +10128,6844 @@ - (BOOL)isEqualToEventCategory:(DBTEAMLOGEventCategory *)anEventCategory { #pragma mark - Serializer Object -@implementation DBTEAMLOGEventCategorySerializer +@implementation DBTEAMLOGBinderRemoveSectionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEventCategory *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRemoveSectionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccountCapture]) { - jsonDict[@".tag"] = @"account_capture"; - } else if ([valueObj isAdministration]) { - jsonDict[@".tag"] = @"administration"; - } else if ([valueObj isApps]) { - jsonDict[@".tag"] = @"apps"; - } else if ([valueObj isAuthentication]) { - jsonDict[@".tag"] = @"authentication"; - } else if ([valueObj isComments]) { - jsonDict[@".tag"] = @"comments"; - } else if ([valueObj isContentAccess]) { - jsonDict[@".tag"] = @"content_access"; - } else if ([valueObj isDevices]) { - jsonDict[@".tag"] = @"devices"; - } else if ([valueObj isDeviceApprovals]) { - jsonDict[@".tag"] = @"device_approvals"; - } else if ([valueObj isDomains]) { - jsonDict[@".tag"] = @"domains"; - } else if ([valueObj isEmm]) { - jsonDict[@".tag"] = @"emm"; - } else if ([valueObj isErrors]) { - jsonDict[@".tag"] = @"errors"; - } else if ([valueObj isFiles]) { - jsonDict[@".tag"] = @"files"; - } else if ([valueObj isFileOperations]) { - jsonDict[@".tag"] = @"file_operations"; - } else if ([valueObj isFileRequests]) { - jsonDict[@".tag"] = @"file_requests"; - } else if ([valueObj isGroups]) { - jsonDict[@".tag"] = @"groups"; - } else if ([valueObj isLogins]) { - jsonDict[@".tag"] = @"logins"; - } else if ([valueObj isMembers]) { - jsonDict[@".tag"] = @"members"; - } else if ([valueObj isPaper]) { - jsonDict[@".tag"] = @"paper"; - } else if ([valueObj isPasswords]) { - jsonDict[@".tag"] = @"passwords"; - } else if ([valueObj isReports]) { - jsonDict[@".tag"] = @"reports"; - } else if ([valueObj isSessions]) { - jsonDict[@".tag"] = @"sessions"; - } else if ([valueObj isSharedFiles]) { - jsonDict[@".tag"] = @"shared_files"; - } else if ([valueObj isSharedFolders]) { - jsonDict[@".tag"] = @"shared_folders"; - } else if ([valueObj isSharedLinks]) { - jsonDict[@".tag"] = @"shared_links"; - } else if ([valueObj isSharing]) { - jsonDict[@".tag"] = @"sharing"; - } else if ([valueObj isSharingPolicies]) { - jsonDict[@".tag"] = @"sharing_policies"; - } else if ([valueObj isSso]) { - jsonDict[@".tag"] = @"sso"; - } else if ([valueObj isTeamFolders]) { - jsonDict[@".tag"] = @"team_folders"; - } else if ([valueObj isTeamPolicies]) { - jsonDict[@".tag"] = @"team_policies"; - } else if ([valueObj isTeamProfile]) { - jsonDict[@".tag"] = @"team_profile"; - } else if ([valueObj isTfa]) { - jsonDict[@".tag"] = @"tfa"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; +} + ++ (DBTEAMLOGBinderRemoveSectionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderRemoveSectionDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRemoveSectionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRemoveSectionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } + return self; +} - return [jsonDict count] > 0 ? jsonDict : nil; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRemoveSectionTypeSerializer serialize:instance]; } -+ (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRemoveSectionTypeSerializer deserialize:dict]; +} - if ([tag isEqualToString:@"account_capture"]) { - return [[DBTEAMLOGEventCategory alloc] initWithAccountCapture]; - } else if ([tag isEqualToString:@"administration"]) { - return [[DBTEAMLOGEventCategory alloc] initWithAdministration]; - } else if ([tag isEqualToString:@"apps"]) { - return [[DBTEAMLOGEventCategory alloc] initWithApps]; - } else if ([tag isEqualToString:@"authentication"]) { - return [[DBTEAMLOGEventCategory alloc] initWithAuthentication]; - } else if ([tag isEqualToString:@"comments"]) { - return [[DBTEAMLOGEventCategory alloc] initWithComments]; - } else if ([tag isEqualToString:@"content_access"]) { - return [[DBTEAMLOGEventCategory alloc] initWithContentAccess]; - } else if ([tag isEqualToString:@"devices"]) { - return [[DBTEAMLOGEventCategory alloc] initWithDevices]; - } else if ([tag isEqualToString:@"device_approvals"]) { - return [[DBTEAMLOGEventCategory alloc] initWithDeviceApprovals]; - } else if ([tag isEqualToString:@"domains"]) { - return [[DBTEAMLOGEventCategory alloc] initWithDomains]; - } else if ([tag isEqualToString:@"emm"]) { - return [[DBTEAMLOGEventCategory alloc] initWithEmm]; - } else if ([tag isEqualToString:@"errors"]) { - return [[DBTEAMLOGEventCategory alloc] initWithErrors]; - } else if ([tag isEqualToString:@"files"]) { - return [[DBTEAMLOGEventCategory alloc] initWithFiles]; - } else if ([tag isEqualToString:@"file_operations"]) { - return [[DBTEAMLOGEventCategory alloc] initWithFileOperations]; - } else if ([tag isEqualToString:@"file_requests"]) { - return [[DBTEAMLOGEventCategory alloc] initWithFileRequests]; - } else if ([tag isEqualToString:@"groups"]) { - return [[DBTEAMLOGEventCategory alloc] initWithGroups]; - } else if ([tag isEqualToString:@"logins"]) { - return [[DBTEAMLOGEventCategory alloc] initWithLogins]; - } else if ([tag isEqualToString:@"members"]) { - return [[DBTEAMLOGEventCategory alloc] initWithMembers]; - } else if ([tag isEqualToString:@"paper"]) { - return [[DBTEAMLOGEventCategory alloc] initWithPaper]; - } else if ([tag isEqualToString:@"passwords"]) { - return [[DBTEAMLOGEventCategory alloc] initWithPasswords]; - } else if ([tag isEqualToString:@"reports"]) { - return [[DBTEAMLOGEventCategory alloc] initWithReports]; - } else if ([tag isEqualToString:@"sessions"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSessions]; - } else if ([tag isEqualToString:@"shared_files"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSharedFiles]; - } else if ([tag isEqualToString:@"shared_folders"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSharedFolders]; - } else if ([tag isEqualToString:@"shared_links"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSharedLinks]; - } else if ([tag isEqualToString:@"sharing"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSharing]; - } else if ([tag isEqualToString:@"sharing_policies"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSharingPolicies]; - } else if ([tag isEqualToString:@"sso"]) { - return [[DBTEAMLOGEventCategory alloc] initWithSso]; - } else if ([tag isEqualToString:@"team_folders"]) { - return [[DBTEAMLOGEventCategory alloc] initWithTeamFolders]; - } else if ([tag isEqualToString:@"team_policies"]) { - return [[DBTEAMLOGEventCategory alloc] initWithTeamPolicies]; - } else if ([tag isEqualToString:@"team_profile"]) { - return [[DBTEAMLOGEventCategory alloc] initWithTeamProfile]; - } else if ([tag isEqualToString:@"tfa"]) { - return [[DBTEAMLOGEventCategory alloc] initWithTfa]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGEventCategory alloc] initWithOther]; - } else { - return [[DBTEAMLOGEventCategory alloc] initWithOther]; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRemoveSectionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRemoveSectionType:other]; +} + +- (BOOL)isEqualToBinderRemoveSectionType:(DBTEAMLOGBinderRemoveSectionType *)aBinderRemoveSectionType { + if (self == aBinderRemoveSectionType) { + return YES; + } + if (![self.description_ isEqual:aBinderRemoveSectionType.description_]) { + return NO; } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRemoveSectionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRemoveSectionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGBinderRemoveSectionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderRemoveSectionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h" -#import "DBTEAMLOGAccountCaptureChangePolicyDetails.h" -#import "DBTEAMLOGAccountCaptureMigrateAccountDetails.h" -#import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" -#import "DBTEAMLOGAllowDownloadDisabledDetails.h" -#import "DBTEAMLOGAllowDownloadEnabledDetails.h" -#import "DBTEAMLOGAppLinkTeamDetails.h" -#import "DBTEAMLOGAppLinkUserDetails.h" -#import "DBTEAMLOGAppUnlinkTeamDetails.h" -#import "DBTEAMLOGAppUnlinkUserDetails.h" -#import "DBTEAMLOGCollectionShareDetails.h" -#import "DBTEAMLOGCreateFolderDetails.h" -#import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" -#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" -#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h" -#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h" -#import "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h" -#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h" -#import "DBTEAMLOGDeviceChangeIpDesktopDetails.h" -#import "DBTEAMLOGDeviceChangeIpMobileDetails.h" -#import "DBTEAMLOGDeviceChangeIpWebDetails.h" -#import "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h" -#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h" -#import "DBTEAMLOGDeviceLinkFailDetails.h" -#import "DBTEAMLOGDeviceLinkSuccessDetails.h" -#import "DBTEAMLOGDeviceManagementDisabledDetails.h" -#import "DBTEAMLOGDeviceManagementEnabledDetails.h" -#import "DBTEAMLOGDeviceUnlinkDetails.h" -#import "DBTEAMLOGDisabledDomainInvitesDetails.h" -#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h" -#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h" -#import "DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h" -#import "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h" -#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h" -#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h" -#import "DBTEAMLOGDomainVerificationAddDomainFailDetails.h" -#import "DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h" -#import "DBTEAMLOGDomainVerificationRemoveDomainDetails.h" -#import "DBTEAMLOGEmmAddExceptionDetails.h" -#import "DBTEAMLOGEmmChangePolicyDetails.h" -#import "DBTEAMLOGEmmCreateExceptionsReportDetails.h" -#import "DBTEAMLOGEmmCreateUsageReportDetails.h" -#import "DBTEAMLOGEmmErrorDetails.h" -#import "DBTEAMLOGEmmRefreshAuthTokenDetails.h" -#import "DBTEAMLOGEmmRemoveExceptionDetails.h" -#import "DBTEAMLOGEnabledDomainInvitesDetails.h" -#import "DBTEAMLOGEventDetails.h" -#import "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h" -#import "DBTEAMLOGFileAddCommentDetails.h" -#import "DBTEAMLOGFileAddDetails.h" -#import "DBTEAMLOGFileChangeCommentSubscriptionDetails.h" -#import "DBTEAMLOGFileCommentsChangePolicyDetails.h" -#import "DBTEAMLOGFileCopyDetails.h" -#import "DBTEAMLOGFileDeleteCommentDetails.h" -#import "DBTEAMLOGFileDeleteDetails.h" -#import "DBTEAMLOGFileDownloadDetails.h" -#import "DBTEAMLOGFileEditDetails.h" -#import "DBTEAMLOGFileGetCopyReferenceDetails.h" -#import "DBTEAMLOGFileLikeCommentDetails.h" -#import "DBTEAMLOGFileMoveDetails.h" -#import "DBTEAMLOGFilePermanentlyDeleteDetails.h" -#import "DBTEAMLOGFilePreviewDetails.h" -#import "DBTEAMLOGFileRenameDetails.h" -#import "DBTEAMLOGFileRequestAddDeadlineDetails.h" -#import "DBTEAMLOGFileRequestChangeDetails.h" -#import "DBTEAMLOGFileRequestChangeFolderDetails.h" -#import "DBTEAMLOGFileRequestCloseDetails.h" -#import "DBTEAMLOGFileRequestCreateDetails.h" -#import "DBTEAMLOGFileRequestReceiveFileDetails.h" -#import "DBTEAMLOGFileRequestRemoveDeadlineDetails.h" -#import "DBTEAMLOGFileRequestSendDetails.h" -#import "DBTEAMLOGFileRequestsChangePolicyDetails.h" -#import "DBTEAMLOGFileRequestsEmailsEnabledDetails.h" -#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h" -#import "DBTEAMLOGFileResolveCommentDetails.h" -#import "DBTEAMLOGFileRestoreDetails.h" -#import "DBTEAMLOGFileRevertDetails.h" -#import "DBTEAMLOGFileRollbackChangesDetails.h" -#import "DBTEAMLOGFileSaveCopyReferenceDetails.h" -#import "DBTEAMLOGFileUnlikeCommentDetails.h" -#import "DBTEAMLOGFileUnresolveCommentDetails.h" -#import "DBTEAMLOGGoogleSsoChangePolicyDetails.h" -#import "DBTEAMLOGGroupAddExternalIdDetails.h" -#import "DBTEAMLOGGroupAddMemberDetails.h" -#import "DBTEAMLOGGroupChangeExternalIdDetails.h" -#import "DBTEAMLOGGroupChangeManagementTypeDetails.h" -#import "DBTEAMLOGGroupChangeMemberRoleDetails.h" -#import "DBTEAMLOGGroupCreateDetails.h" -#import "DBTEAMLOGGroupDeleteDetails.h" -#import "DBTEAMLOGGroupMovedDetails.h" -#import "DBTEAMLOGGroupRemoveExternalIdDetails.h" -#import "DBTEAMLOGGroupRemoveMemberDetails.h" -#import "DBTEAMLOGGroupRenameDetails.h" -#import "DBTEAMLOGGroupUserManagementChangePolicyDetails.h" -#import "DBTEAMLOGLoginFailDetails.h" -#import "DBTEAMLOGLoginSuccessDetails.h" -#import "DBTEAMLOGLogoutDetails.h" -#import "DBTEAMLOGMemberAddNameDetails.h" -#import "DBTEAMLOGMemberChangeAdminRoleDetails.h" -#import "DBTEAMLOGMemberChangeEmailDetails.h" -#import "DBTEAMLOGMemberChangeMembershipTypeDetails.h" -#import "DBTEAMLOGMemberChangeNameDetails.h" -#import "DBTEAMLOGMemberChangeStatusDetails.h" -#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h" -#import "DBTEAMLOGMemberRequestsChangePolicyDetails.h" -#import "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h" -#import "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h" -#import "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h" -#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h" -#import "DBTEAMLOGMemberSuggestDetails.h" -#import "DBTEAMLOGMemberSuggestionsChangePolicyDetails.h" -#import "DBTEAMLOGMemberTransferAccountContentsDetails.h" -#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h" -#import "DBTEAMLOGMissingDetails.h" -#import "DBTEAMLOGNetworkControlChangePolicyDetails.h" -#import "DBTEAMLOGNoteAclInviteOnlyDetails.h" -#import "DBTEAMLOGNoteAclLinkDetails.h" -#import "DBTEAMLOGNoteAclTeamLinkDetails.h" -#import "DBTEAMLOGNoteShareReceiveDetails.h" -#import "DBTEAMLOGNoteSharedDetails.h" -#import "DBTEAMLOGOpenNoteSharedDetails.h" -#import "DBTEAMLOGPaperAdminExportStartDetails.h" -#import "DBTEAMLOGPaperChangeDeploymentPolicyDetails.h" -#import "DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h" -#import "DBTEAMLOGPaperChangeMemberPolicyDetails.h" -#import "DBTEAMLOGPaperChangePolicyDetails.h" -#import "DBTEAMLOGPaperContentAddMemberDetails.h" -#import "DBTEAMLOGPaperContentAddToFolderDetails.h" -#import "DBTEAMLOGPaperContentArchiveDetails.h" -#import "DBTEAMLOGPaperContentCreateDetails.h" -#import "DBTEAMLOGPaperContentPermanentlyDeleteDetails.h" -#import "DBTEAMLOGPaperContentRemoveFromFolderDetails.h" -#import "DBTEAMLOGPaperContentRemoveMemberDetails.h" -#import "DBTEAMLOGPaperContentRenameDetails.h" -#import "DBTEAMLOGPaperContentRestoreDetails.h" -#import "DBTEAMLOGPaperDocAddCommentDetails.h" -#import "DBTEAMLOGPaperDocChangeMemberRoleDetails.h" -#import "DBTEAMLOGPaperDocChangeSharingPolicyDetails.h" -#import "DBTEAMLOGPaperDocChangeSubscriptionDetails.h" -#import "DBTEAMLOGPaperDocDeleteCommentDetails.h" -#import "DBTEAMLOGPaperDocDeletedDetails.h" -#import "DBTEAMLOGPaperDocDownloadDetails.h" -#import "DBTEAMLOGPaperDocEditCommentDetails.h" -#import "DBTEAMLOGPaperDocEditDetails.h" -#import "DBTEAMLOGPaperDocFollowedDetails.h" -#import "DBTEAMLOGPaperDocMentionDetails.h" -#import "DBTEAMLOGPaperDocRequestAccessDetails.h" -#import "DBTEAMLOGPaperDocResolveCommentDetails.h" -#import "DBTEAMLOGPaperDocRevertDetails.h" -#import "DBTEAMLOGPaperDocSlackShareDetails.h" -#import "DBTEAMLOGPaperDocTeamInviteDetails.h" -#import "DBTEAMLOGPaperDocTrashedDetails.h" -#import "DBTEAMLOGPaperDocUnresolveCommentDetails.h" -#import "DBTEAMLOGPaperDocUntrashedDetails.h" -#import "DBTEAMLOGPaperDocViewDetails.h" -#import "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h" -#import "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h" -#import "DBTEAMLOGPaperExternalViewAllowDetails.h" -#import "DBTEAMLOGPaperExternalViewDefaultTeamDetails.h" -#import "DBTEAMLOGPaperExternalViewForbidDetails.h" -#import "DBTEAMLOGPaperFolderChangeSubscriptionDetails.h" -#import "DBTEAMLOGPaperFolderDeletedDetails.h" -#import "DBTEAMLOGPaperFolderFollowedDetails.h" -#import "DBTEAMLOGPaperFolderTeamInviteDetails.h" -#import "DBTEAMLOGPasswordChangeDetails.h" -#import "DBTEAMLOGPasswordResetAllDetails.h" -#import "DBTEAMLOGPasswordResetDetails.h" -#import "DBTEAMLOGPermanentDeleteChangePolicyDetails.h" -#import "DBTEAMLOGResellerSupportSessionEndDetails.h" -#import "DBTEAMLOGResellerSupportSessionStartDetails.h" -#import "DBTEAMLOGSfAddGroupDetails.h" -#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h" -#import "DBTEAMLOGSfExternalInviteWarnDetails.h" -#import "DBTEAMLOGSfInviteGroupDetails.h" -#import "DBTEAMLOGSfNestDetails.h" -#import "DBTEAMLOGSfTeamDeclineDetails.h" -#import "DBTEAMLOGSfTeamGrantAccessDetails.h" -#import "DBTEAMLOGSfTeamInviteChangeRoleDetails.h" -#import "DBTEAMLOGSfTeamInviteDetails.h" -#import "DBTEAMLOGSfTeamJoinDetails.h" -#import "DBTEAMLOGSfTeamJoinFromOobLinkDetails.h" -#import "DBTEAMLOGSfTeamUninviteDetails.h" -#import "DBTEAMLOGSharedContentAddInviteesDetails.h" -#import "DBTEAMLOGSharedContentAddLinkExpiryDetails.h" -#import "DBTEAMLOGSharedContentAddLinkPasswordDetails.h" -#import "DBTEAMLOGSharedContentAddMemberDetails.h" -#import "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h" -#import "DBTEAMLOGSharedContentChangeInviteeRoleDetails.h" -#import "DBTEAMLOGSharedContentChangeLinkAudienceDetails.h" -#import "DBTEAMLOGSharedContentChangeLinkExpiryDetails.h" -#import "DBTEAMLOGSharedContentChangeLinkPasswordDetails.h" -#import "DBTEAMLOGSharedContentChangeMemberRoleDetails.h" -#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h" -#import "DBTEAMLOGSharedContentClaimInvitationDetails.h" -#import "DBTEAMLOGSharedContentCopyDetails.h" -#import "DBTEAMLOGSharedContentDownloadDetails.h" -#import "DBTEAMLOGSharedContentRelinquishMembershipDetails.h" -#import "DBTEAMLOGSharedContentRemoveInviteeDetails.h" -#import "DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h" -#import "DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h" -#import "DBTEAMLOGSharedContentRemoveMemberDetails.h" -#import "DBTEAMLOGSharedContentRequestAccessDetails.h" -#import "DBTEAMLOGSharedContentUnshareDetails.h" -#import "DBTEAMLOGSharedContentViewDetails.h" -#import "DBTEAMLOGSharedFolderChangeConfidentialityDetails.h" -#import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h" -#import "DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h" -#import "DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h" -#import "DBTEAMLOGSharedFolderCreateDetails.h" -#import "DBTEAMLOGSharedFolderMountDetails.h" -#import "DBTEAMLOGSharedFolderTransferOwnershipDetails.h" -#import "DBTEAMLOGSharedFolderUnmountDetails.h" -#import "DBTEAMLOGSharedNoteOpenedDetails.h" -#import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" -#import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" -#import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" -#import "DBTEAMLOGShmodelAppCreateDetails.h" -#import "DBTEAMLOGShmodelCreateDetails.h" -#import "DBTEAMLOGShmodelDisableDetails.h" -#import "DBTEAMLOGShmodelFbShareDetails.h" -#import "DBTEAMLOGShmodelGroupShareDetails.h" -#import "DBTEAMLOGShmodelRemoveExpirationDetails.h" -#import "DBTEAMLOGShmodelSetExpirationDetails.h" -#import "DBTEAMLOGShmodelTeamCopyDetails.h" -#import "DBTEAMLOGShmodelTeamDownloadDetails.h" -#import "DBTEAMLOGShmodelTeamShareDetails.h" -#import "DBTEAMLOGShmodelTeamViewDetails.h" -#import "DBTEAMLOGShmodelVisibilityPasswordDetails.h" -#import "DBTEAMLOGShmodelVisibilityPublicDetails.h" -#import "DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h" -#import "DBTEAMLOGSignInAsSessionEndDetails.h" -#import "DBTEAMLOGSignInAsSessionStartDetails.h" -#import "DBTEAMLOGSmartSyncChangePolicyDetails.h" -#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" -#import "DBTEAMLOGSmartSyncNotOptOutDetails.h" -#import "DBTEAMLOGSmartSyncOptOutDetails.h" -#import "DBTEAMLOGSsoAddCertDetails.h" -#import "DBTEAMLOGSsoAddLoginUrlDetails.h" -#import "DBTEAMLOGSsoAddLogoutUrlDetails.h" -#import "DBTEAMLOGSsoChangeCertDetails.h" -#import "DBTEAMLOGSsoChangeLoginUrlDetails.h" -#import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" -#import "DBTEAMLOGSsoChangePolicyDetails.h" -#import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" -#import "DBTEAMLOGSsoErrorDetails.h" -#import "DBTEAMLOGSsoRemoveCertDetails.h" -#import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" -#import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" -#import "DBTEAMLOGTeamActivityCreateReportDetails.h" -#import "DBTEAMLOGTeamFolderChangeStatusDetails.h" -#import "DBTEAMLOGTeamFolderCreateDetails.h" -#import "DBTEAMLOGTeamFolderDowngradeDetails.h" -#import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" -#import "DBTEAMLOGTeamFolderRenameDetails.h" -#import "DBTEAMLOGTeamMergeFromDetails.h" -#import "DBTEAMLOGTeamMergeToDetails.h" -#import "DBTEAMLOGTeamProfileAddLogoDetails.h" -#import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" -#import "DBTEAMLOGTeamProfileChangeLogoDetails.h" -#import "DBTEAMLOGTeamProfileChangeNameDetails.h" -#import "DBTEAMLOGTeamProfileRemoveLogoDetails.h" -#import "DBTEAMLOGTfaAddBackupPhoneDetails.h" -#import "DBTEAMLOGTfaAddSecurityKeyDetails.h" -#import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" -#import "DBTEAMLOGTfaChangePolicyDetails.h" -#import "DBTEAMLOGTfaChangeStatusDetails.h" -#import "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" -#import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" -#import "DBTEAMLOGTfaResetDetails.h" -#import "DBTEAMLOGTwoAccountChangePolicyDetails.h" -#import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h" -#import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h" +#import "DBTEAMLOGBinderRenamePageDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGEventDetails - -@synthesize memberChangeMembershipTypeDetails = _memberChangeMembershipTypeDetails; -@synthesize memberPermanentlyDeleteAccountContentsDetails = _memberPermanentlyDeleteAccountContentsDetails; -@synthesize memberSpaceLimitsChangeStatusDetails = _memberSpaceLimitsChangeStatusDetails; -@synthesize memberTransferAccountContentsDetails = _memberTransferAccountContentsDetails; -@synthesize paperAdminExportStartDetails = _paperAdminExportStartDetails; -@synthesize paperEnabledUsersGroupAdditionDetails = _paperEnabledUsersGroupAdditionDetails; -@synthesize paperEnabledUsersGroupRemovalDetails = _paperEnabledUsersGroupRemovalDetails; -@synthesize paperExternalViewAllowDetails = _paperExternalViewAllowDetails; -@synthesize paperExternalViewDefaultTeamDetails = _paperExternalViewDefaultTeamDetails; -@synthesize paperExternalViewForbidDetails = _paperExternalViewForbidDetails; -@synthesize sfExternalInviteWarnDetails = _sfExternalInviteWarnDetails; -@synthesize teamMergeFromDetails = _teamMergeFromDetails; -@synthesize teamMergeToDetails = _teamMergeToDetails; -@synthesize appLinkTeamDetails = _appLinkTeamDetails; -@synthesize appLinkUserDetails = _appLinkUserDetails; -@synthesize appUnlinkTeamDetails = _appUnlinkTeamDetails; -@synthesize appUnlinkUserDetails = _appUnlinkUserDetails; -@synthesize fileAddCommentDetails = _fileAddCommentDetails; -@synthesize fileChangeCommentSubscriptionDetails = _fileChangeCommentSubscriptionDetails; -@synthesize fileDeleteCommentDetails = _fileDeleteCommentDetails; -@synthesize fileLikeCommentDetails = _fileLikeCommentDetails; -@synthesize fileResolveCommentDetails = _fileResolveCommentDetails; -@synthesize fileUnlikeCommentDetails = _fileUnlikeCommentDetails; -@synthesize fileUnresolveCommentDetails = _fileUnresolveCommentDetails; -@synthesize deviceChangeIpDesktopDetails = _deviceChangeIpDesktopDetails; -@synthesize deviceChangeIpMobileDetails = _deviceChangeIpMobileDetails; -@synthesize deviceChangeIpWebDetails = _deviceChangeIpWebDetails; -@synthesize deviceDeleteOnUnlinkFailDetails = _deviceDeleteOnUnlinkFailDetails; -@synthesize deviceDeleteOnUnlinkSuccessDetails = _deviceDeleteOnUnlinkSuccessDetails; -@synthesize deviceLinkFailDetails = _deviceLinkFailDetails; -@synthesize deviceLinkSuccessDetails = _deviceLinkSuccessDetails; -@synthesize deviceManagementDisabledDetails = _deviceManagementDisabledDetails; -@synthesize deviceManagementEnabledDetails = _deviceManagementEnabledDetails; -@synthesize deviceUnlinkDetails = _deviceUnlinkDetails; -@synthesize emmRefreshAuthTokenDetails = _emmRefreshAuthTokenDetails; -@synthesize accountCaptureChangeAvailabilityDetails = _accountCaptureChangeAvailabilityDetails; -@synthesize accountCaptureMigrateAccountDetails = _accountCaptureMigrateAccountDetails; -@synthesize accountCaptureRelinquishAccountDetails = _accountCaptureRelinquishAccountDetails; -@synthesize disabledDomainInvitesDetails = _disabledDomainInvitesDetails; -@synthesize domainInvitesApproveRequestToJoinTeamDetails = _domainInvitesApproveRequestToJoinTeamDetails; -@synthesize domainInvitesDeclineRequestToJoinTeamDetails = _domainInvitesDeclineRequestToJoinTeamDetails; -@synthesize domainInvitesEmailExistingUsersDetails = _domainInvitesEmailExistingUsersDetails; -@synthesize domainInvitesRequestToJoinTeamDetails = _domainInvitesRequestToJoinTeamDetails; -@synthesize domainInvitesSetInviteNewUserPrefToNoDetails = _domainInvitesSetInviteNewUserPrefToNoDetails; -@synthesize domainInvitesSetInviteNewUserPrefToYesDetails = _domainInvitesSetInviteNewUserPrefToYesDetails; -@synthesize domainVerificationAddDomainFailDetails = _domainVerificationAddDomainFailDetails; -@synthesize domainVerificationAddDomainSuccessDetails = _domainVerificationAddDomainSuccessDetails; -@synthesize domainVerificationRemoveDomainDetails = _domainVerificationRemoveDomainDetails; -@synthesize enabledDomainInvitesDetails = _enabledDomainInvitesDetails; -@synthesize createFolderDetails = _createFolderDetails; -@synthesize fileAddDetails = _fileAddDetails; -@synthesize fileCopyDetails = _fileCopyDetails; -@synthesize fileDeleteDetails = _fileDeleteDetails; -@synthesize fileDownloadDetails = _fileDownloadDetails; -@synthesize fileEditDetails = _fileEditDetails; -@synthesize fileGetCopyReferenceDetails = _fileGetCopyReferenceDetails; -@synthesize fileMoveDetails = _fileMoveDetails; -@synthesize filePermanentlyDeleteDetails = _filePermanentlyDeleteDetails; -@synthesize filePreviewDetails = _filePreviewDetails; -@synthesize fileRenameDetails = _fileRenameDetails; -@synthesize fileRestoreDetails = _fileRestoreDetails; -@synthesize fileRevertDetails = _fileRevertDetails; -@synthesize fileRollbackChangesDetails = _fileRollbackChangesDetails; -@synthesize fileSaveCopyReferenceDetails = _fileSaveCopyReferenceDetails; -@synthesize fileRequestAddDeadlineDetails = _fileRequestAddDeadlineDetails; -@synthesize fileRequestChangeDetails = _fileRequestChangeDetails; -@synthesize fileRequestChangeFolderDetails = _fileRequestChangeFolderDetails; -@synthesize fileRequestCloseDetails = _fileRequestCloseDetails; -@synthesize fileRequestCreateDetails = _fileRequestCreateDetails; -@synthesize fileRequestReceiveFileDetails = _fileRequestReceiveFileDetails; -@synthesize fileRequestRemoveDeadlineDetails = _fileRequestRemoveDeadlineDetails; -@synthesize fileRequestSendDetails = _fileRequestSendDetails; -@synthesize groupAddExternalIdDetails = _groupAddExternalIdDetails; -@synthesize groupAddMemberDetails = _groupAddMemberDetails; -@synthesize groupChangeExternalIdDetails = _groupChangeExternalIdDetails; -@synthesize groupChangeManagementTypeDetails = _groupChangeManagementTypeDetails; -@synthesize groupChangeMemberRoleDetails = _groupChangeMemberRoleDetails; -@synthesize groupCreateDetails = _groupCreateDetails; -@synthesize groupDeleteDetails = _groupDeleteDetails; -@synthesize groupMovedDetails = _groupMovedDetails; -@synthesize groupRemoveExternalIdDetails = _groupRemoveExternalIdDetails; -@synthesize groupRemoveMemberDetails = _groupRemoveMemberDetails; -@synthesize groupRenameDetails = _groupRenameDetails; -@synthesize emmErrorDetails = _emmErrorDetails; -@synthesize loginFailDetails = _loginFailDetails; -@synthesize loginSuccessDetails = _loginSuccessDetails; -@synthesize logoutDetails = _logoutDetails; -@synthesize resellerSupportSessionEndDetails = _resellerSupportSessionEndDetails; -@synthesize resellerSupportSessionStartDetails = _resellerSupportSessionStartDetails; -@synthesize signInAsSessionEndDetails = _signInAsSessionEndDetails; -@synthesize signInAsSessionStartDetails = _signInAsSessionStartDetails; -@synthesize ssoErrorDetails = _ssoErrorDetails; -@synthesize memberAddNameDetails = _memberAddNameDetails; -@synthesize memberChangeAdminRoleDetails = _memberChangeAdminRoleDetails; -@synthesize memberChangeEmailDetails = _memberChangeEmailDetails; -@synthesize memberChangeNameDetails = _memberChangeNameDetails; -@synthesize memberChangeStatusDetails = _memberChangeStatusDetails; -@synthesize memberSuggestDetails = _memberSuggestDetails; -@synthesize paperContentAddMemberDetails = _paperContentAddMemberDetails; -@synthesize paperContentAddToFolderDetails = _paperContentAddToFolderDetails; -@synthesize paperContentArchiveDetails = _paperContentArchiveDetails; -@synthesize paperContentCreateDetails = _paperContentCreateDetails; -@synthesize paperContentPermanentlyDeleteDetails = _paperContentPermanentlyDeleteDetails; -@synthesize paperContentRemoveFromFolderDetails = _paperContentRemoveFromFolderDetails; -@synthesize paperContentRemoveMemberDetails = _paperContentRemoveMemberDetails; -@synthesize paperContentRenameDetails = _paperContentRenameDetails; -@synthesize paperContentRestoreDetails = _paperContentRestoreDetails; -@synthesize paperDocAddCommentDetails = _paperDocAddCommentDetails; -@synthesize paperDocChangeMemberRoleDetails = _paperDocChangeMemberRoleDetails; -@synthesize paperDocChangeSharingPolicyDetails = _paperDocChangeSharingPolicyDetails; -@synthesize paperDocChangeSubscriptionDetails = _paperDocChangeSubscriptionDetails; -@synthesize paperDocDeletedDetails = _paperDocDeletedDetails; -@synthesize paperDocDeleteCommentDetails = _paperDocDeleteCommentDetails; -@synthesize paperDocDownloadDetails = _paperDocDownloadDetails; -@synthesize paperDocEditDetails = _paperDocEditDetails; -@synthesize paperDocEditCommentDetails = _paperDocEditCommentDetails; -@synthesize paperDocFollowedDetails = _paperDocFollowedDetails; -@synthesize paperDocMentionDetails = _paperDocMentionDetails; -@synthesize paperDocRequestAccessDetails = _paperDocRequestAccessDetails; -@synthesize paperDocResolveCommentDetails = _paperDocResolveCommentDetails; -@synthesize paperDocRevertDetails = _paperDocRevertDetails; -@synthesize paperDocSlackShareDetails = _paperDocSlackShareDetails; -@synthesize paperDocTeamInviteDetails = _paperDocTeamInviteDetails; -@synthesize paperDocTrashedDetails = _paperDocTrashedDetails; -@synthesize paperDocUnresolveCommentDetails = _paperDocUnresolveCommentDetails; -@synthesize paperDocUntrashedDetails = _paperDocUntrashedDetails; -@synthesize paperDocViewDetails = _paperDocViewDetails; -@synthesize paperFolderChangeSubscriptionDetails = _paperFolderChangeSubscriptionDetails; -@synthesize paperFolderDeletedDetails = _paperFolderDeletedDetails; -@synthesize paperFolderFollowedDetails = _paperFolderFollowedDetails; -@synthesize paperFolderTeamInviteDetails = _paperFolderTeamInviteDetails; -@synthesize passwordChangeDetails = _passwordChangeDetails; -@synthesize passwordResetDetails = _passwordResetDetails; -@synthesize passwordResetAllDetails = _passwordResetAllDetails; -@synthesize emmCreateExceptionsReportDetails = _emmCreateExceptionsReportDetails; -@synthesize emmCreateUsageReportDetails = _emmCreateUsageReportDetails; -@synthesize smartSyncCreateAdminPrivilegeReportDetails = _smartSyncCreateAdminPrivilegeReportDetails; -@synthesize teamActivityCreateReportDetails = _teamActivityCreateReportDetails; -@synthesize collectionShareDetails = _collectionShareDetails; -@synthesize noteAclInviteOnlyDetails = _noteAclInviteOnlyDetails; -@synthesize noteAclLinkDetails = _noteAclLinkDetails; -@synthesize noteAclTeamLinkDetails = _noteAclTeamLinkDetails; -@synthesize noteSharedDetails = _noteSharedDetails; -@synthesize noteShareReceiveDetails = _noteShareReceiveDetails; -@synthesize openNoteSharedDetails = _openNoteSharedDetails; -@synthesize sfAddGroupDetails = _sfAddGroupDetails; -@synthesize sfAllowNonMembersToViewSharedLinksDetails = _sfAllowNonMembersToViewSharedLinksDetails; -@synthesize sfInviteGroupDetails = _sfInviteGroupDetails; -@synthesize sfNestDetails = _sfNestDetails; -@synthesize sfTeamDeclineDetails = _sfTeamDeclineDetails; -@synthesize sfTeamGrantAccessDetails = _sfTeamGrantAccessDetails; -@synthesize sfTeamInviteDetails = _sfTeamInviteDetails; -@synthesize sfTeamInviteChangeRoleDetails = _sfTeamInviteChangeRoleDetails; -@synthesize sfTeamJoinDetails = _sfTeamJoinDetails; -@synthesize sfTeamJoinFromOobLinkDetails = _sfTeamJoinFromOobLinkDetails; -@synthesize sfTeamUninviteDetails = _sfTeamUninviteDetails; -@synthesize sharedContentAddInviteesDetails = _sharedContentAddInviteesDetails; -@synthesize sharedContentAddLinkExpiryDetails = _sharedContentAddLinkExpiryDetails; -@synthesize sharedContentAddLinkPasswordDetails = _sharedContentAddLinkPasswordDetails; -@synthesize sharedContentAddMemberDetails = _sharedContentAddMemberDetails; -@synthesize sharedContentChangeDownloadsPolicyDetails = _sharedContentChangeDownloadsPolicyDetails; -@synthesize sharedContentChangeInviteeRoleDetails = _sharedContentChangeInviteeRoleDetails; -@synthesize sharedContentChangeLinkAudienceDetails = _sharedContentChangeLinkAudienceDetails; -@synthesize sharedContentChangeLinkExpiryDetails = _sharedContentChangeLinkExpiryDetails; -@synthesize sharedContentChangeLinkPasswordDetails = _sharedContentChangeLinkPasswordDetails; -@synthesize sharedContentChangeMemberRoleDetails = _sharedContentChangeMemberRoleDetails; -@synthesize sharedContentChangeViewerInfoPolicyDetails = _sharedContentChangeViewerInfoPolicyDetails; -@synthesize sharedContentClaimInvitationDetails = _sharedContentClaimInvitationDetails; -@synthesize sharedContentCopyDetails = _sharedContentCopyDetails; -@synthesize sharedContentDownloadDetails = _sharedContentDownloadDetails; -@synthesize sharedContentRelinquishMembershipDetails = _sharedContentRelinquishMembershipDetails; -@synthesize sharedContentRemoveInviteeDetails = _sharedContentRemoveInviteeDetails; -@synthesize sharedContentRemoveLinkExpiryDetails = _sharedContentRemoveLinkExpiryDetails; -@synthesize sharedContentRemoveLinkPasswordDetails = _sharedContentRemoveLinkPasswordDetails; -@synthesize sharedContentRemoveMemberDetails = _sharedContentRemoveMemberDetails; -@synthesize sharedContentRequestAccessDetails = _sharedContentRequestAccessDetails; -@synthesize sharedContentUnshareDetails = _sharedContentUnshareDetails; -@synthesize sharedContentViewDetails = _sharedContentViewDetails; -@synthesize sharedFolderChangeConfidentialityDetails = _sharedFolderChangeConfidentialityDetails; -@synthesize sharedFolderChangeLinkPolicyDetails = _sharedFolderChangeLinkPolicyDetails; -@synthesize sharedFolderChangeMemberManagementPolicyDetails = _sharedFolderChangeMemberManagementPolicyDetails; -@synthesize sharedFolderChangeMemberPolicyDetails = _sharedFolderChangeMemberPolicyDetails; -@synthesize sharedFolderCreateDetails = _sharedFolderCreateDetails; -@synthesize sharedFolderMountDetails = _sharedFolderMountDetails; -@synthesize sharedFolderTransferOwnershipDetails = _sharedFolderTransferOwnershipDetails; -@synthesize sharedFolderUnmountDetails = _sharedFolderUnmountDetails; -@synthesize sharedNoteOpenedDetails = _sharedNoteOpenedDetails; -@synthesize shmodelAppCreateDetails = _shmodelAppCreateDetails; -@synthesize shmodelCreateDetails = _shmodelCreateDetails; -@synthesize shmodelDisableDetails = _shmodelDisableDetails; -@synthesize shmodelFbShareDetails = _shmodelFbShareDetails; -@synthesize shmodelGroupShareDetails = _shmodelGroupShareDetails; -@synthesize shmodelRemoveExpirationDetails = _shmodelRemoveExpirationDetails; -@synthesize shmodelSetExpirationDetails = _shmodelSetExpirationDetails; -@synthesize shmodelTeamCopyDetails = _shmodelTeamCopyDetails; -@synthesize shmodelTeamDownloadDetails = _shmodelTeamDownloadDetails; -@synthesize shmodelTeamShareDetails = _shmodelTeamShareDetails; -@synthesize shmodelTeamViewDetails = _shmodelTeamViewDetails; -@synthesize shmodelVisibilityPasswordDetails = _shmodelVisibilityPasswordDetails; -@synthesize shmodelVisibilityPublicDetails = _shmodelVisibilityPublicDetails; -@synthesize shmodelVisibilityTeamOnlyDetails = _shmodelVisibilityTeamOnlyDetails; -@synthesize ssoAddCertDetails = _ssoAddCertDetails; -@synthesize ssoAddLoginUrlDetails = _ssoAddLoginUrlDetails; -@synthesize ssoAddLogoutUrlDetails = _ssoAddLogoutUrlDetails; -@synthesize ssoChangeCertDetails = _ssoChangeCertDetails; -@synthesize ssoChangeLoginUrlDetails = _ssoChangeLoginUrlDetails; -@synthesize ssoChangeLogoutUrlDetails = _ssoChangeLogoutUrlDetails; -@synthesize ssoChangeSamlIdentityModeDetails = _ssoChangeSamlIdentityModeDetails; -@synthesize ssoRemoveCertDetails = _ssoRemoveCertDetails; -@synthesize ssoRemoveLoginUrlDetails = _ssoRemoveLoginUrlDetails; -@synthesize ssoRemoveLogoutUrlDetails = _ssoRemoveLogoutUrlDetails; -@synthesize teamFolderChangeStatusDetails = _teamFolderChangeStatusDetails; -@synthesize teamFolderCreateDetails = _teamFolderCreateDetails; -@synthesize teamFolderDowngradeDetails = _teamFolderDowngradeDetails; -@synthesize teamFolderPermanentlyDeleteDetails = _teamFolderPermanentlyDeleteDetails; -@synthesize teamFolderRenameDetails = _teamFolderRenameDetails; -@synthesize accountCaptureChangePolicyDetails = _accountCaptureChangePolicyDetails; -@synthesize allowDownloadDisabledDetails = _allowDownloadDisabledDetails; -@synthesize allowDownloadEnabledDetails = _allowDownloadEnabledDetails; -@synthesize dataPlacementRestrictionChangePolicyDetails = _dataPlacementRestrictionChangePolicyDetails; -@synthesize dataPlacementRestrictionSatisfyPolicyDetails = _dataPlacementRestrictionSatisfyPolicyDetails; -@synthesize deviceApprovalsChangeDesktopPolicyDetails = _deviceApprovalsChangeDesktopPolicyDetails; -@synthesize deviceApprovalsChangeMobilePolicyDetails = _deviceApprovalsChangeMobilePolicyDetails; -@synthesize deviceApprovalsChangeOverageActionDetails = _deviceApprovalsChangeOverageActionDetails; -@synthesize deviceApprovalsChangeUnlinkActionDetails = _deviceApprovalsChangeUnlinkActionDetails; -@synthesize emmAddExceptionDetails = _emmAddExceptionDetails; -@synthesize emmChangePolicyDetails = _emmChangePolicyDetails; -@synthesize emmRemoveExceptionDetails = _emmRemoveExceptionDetails; -@synthesize extendedVersionHistoryChangePolicyDetails = _extendedVersionHistoryChangePolicyDetails; -@synthesize fileCommentsChangePolicyDetails = _fileCommentsChangePolicyDetails; -@synthesize fileRequestsChangePolicyDetails = _fileRequestsChangePolicyDetails; -@synthesize fileRequestsEmailsEnabledDetails = _fileRequestsEmailsEnabledDetails; -@synthesize fileRequestsEmailsRestrictedToTeamOnlyDetails = _fileRequestsEmailsRestrictedToTeamOnlyDetails; -@synthesize googleSsoChangePolicyDetails = _googleSsoChangePolicyDetails; -@synthesize groupUserManagementChangePolicyDetails = _groupUserManagementChangePolicyDetails; -@synthesize memberRequestsChangePolicyDetails = _memberRequestsChangePolicyDetails; -@synthesize memberSpaceLimitsAddExceptionDetails = _memberSpaceLimitsAddExceptionDetails; -@synthesize memberSpaceLimitsChangePolicyDetails = _memberSpaceLimitsChangePolicyDetails; -@synthesize memberSpaceLimitsRemoveExceptionDetails = _memberSpaceLimitsRemoveExceptionDetails; -@synthesize memberSuggestionsChangePolicyDetails = _memberSuggestionsChangePolicyDetails; -@synthesize microsoftOfficeAddinChangePolicyDetails = _microsoftOfficeAddinChangePolicyDetails; -@synthesize networkControlChangePolicyDetails = _networkControlChangePolicyDetails; -@synthesize paperChangeDeploymentPolicyDetails = _paperChangeDeploymentPolicyDetails; -@synthesize paperChangeMemberLinkPolicyDetails = _paperChangeMemberLinkPolicyDetails; -@synthesize paperChangeMemberPolicyDetails = _paperChangeMemberPolicyDetails; -@synthesize paperChangePolicyDetails = _paperChangePolicyDetails; -@synthesize permanentDeleteChangePolicyDetails = _permanentDeleteChangePolicyDetails; -@synthesize sharingChangeFolderJoinPolicyDetails = _sharingChangeFolderJoinPolicyDetails; -@synthesize sharingChangeLinkPolicyDetails = _sharingChangeLinkPolicyDetails; -@synthesize sharingChangeMemberPolicyDetails = _sharingChangeMemberPolicyDetails; -@synthesize smartSyncChangePolicyDetails = _smartSyncChangePolicyDetails; -@synthesize smartSyncNotOptOutDetails = _smartSyncNotOptOutDetails; -@synthesize smartSyncOptOutDetails = _smartSyncOptOutDetails; -@synthesize ssoChangePolicyDetails = _ssoChangePolicyDetails; -@synthesize tfaChangePolicyDetails = _tfaChangePolicyDetails; -@synthesize twoAccountChangePolicyDetails = _twoAccountChangePolicyDetails; -@synthesize webSessionsChangeFixedLengthPolicyDetails = _webSessionsChangeFixedLengthPolicyDetails; -@synthesize webSessionsChangeIdleLengthPolicyDetails = _webSessionsChangeIdleLengthPolicyDetails; -@synthesize teamProfileAddLogoDetails = _teamProfileAddLogoDetails; -@synthesize teamProfileChangeDefaultLanguageDetails = _teamProfileChangeDefaultLanguageDetails; -@synthesize teamProfileChangeLogoDetails = _teamProfileChangeLogoDetails; -@synthesize teamProfileChangeNameDetails = _teamProfileChangeNameDetails; -@synthesize teamProfileRemoveLogoDetails = _teamProfileRemoveLogoDetails; -@synthesize tfaAddBackupPhoneDetails = _tfaAddBackupPhoneDetails; -@synthesize tfaAddSecurityKeyDetails = _tfaAddSecurityKeyDetails; -@synthesize tfaChangeBackupPhoneDetails = _tfaChangeBackupPhoneDetails; -@synthesize tfaChangeStatusDetails = _tfaChangeStatusDetails; -@synthesize tfaRemoveBackupPhoneDetails = _tfaRemoveBackupPhoneDetails; -@synthesize tfaRemoveSecurityKeyDetails = _tfaRemoveSecurityKeyDetails; -@synthesize tfaResetDetails = _tfaResetDetails; -@synthesize missingDetails = _missingDetails; +@implementation DBTEAMLOGBinderRenamePageDetails #pragma mark - Constructors -- (instancetype)initWithMemberChangeMembershipTypeDetails: - (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails { +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName + previousBinderItemName:(NSString *)previousBinderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails; - _memberChangeMembershipTypeDetails = memberChangeMembershipTypeDetails; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; + _previousBinderItemName = previousBinderItemName; } return self; } -- (instancetype)initWithMemberPermanentlyDeleteAccountContentsDetails: - (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails; - _memberPermanentlyDeleteAccountContentsDetails = memberPermanentlyDeleteAccountContentsDetails; - } - return self; +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + return [self initWithEventUuid:eventUuid docTitle:docTitle binderItemName:binderItemName previousBinderItemName:nil]; } -- (instancetype)initWithMemberSpaceLimitsChangeStatusDetails: - (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails; - _memberSpaceLimitsChangeStatusDetails = memberSpaceLimitsChangeStatusDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRenamePageDetailsSerializer serialize:instance]; } -- (instancetype)initWithMemberTransferAccountContentsDetails: - (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails; - _memberTransferAccountContentsDetails = memberTransferAccountContentsDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRenamePageDetailsSerializer deserialize:dict]; } -- (instancetype)initWithPaperAdminExportStartDetails: - (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperAdminExportStartDetails; - _paperAdminExportStartDetails = paperAdminExportStartDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRenamePageDetailsSerializer serialize:self] description]; } -- (instancetype)initWithPaperEnabledUsersGroupAdditionDetails: - (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails; - _paperEnabledUsersGroupAdditionDetails = paperEnabledUsersGroupAdditionDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithPaperEnabledUsersGroupRemovalDetails: - (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails; - _paperEnabledUsersGroupRemovalDetails = paperEnabledUsersGroupRemovalDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + if (self.previousBinderItemName != nil) { + result = prime * result + [self.previousBinderItemName hash]; } - return self; + + return prime * result; } -- (instancetype)initWithPaperExternalViewAllowDetails: - (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperExternalViewAllowDetails; - _paperExternalViewAllowDetails = paperExternalViewAllowDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRenamePageDetails:other]; } -- (instancetype)initWithPaperExternalViewDefaultTeamDetails: - (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails; - _paperExternalViewDefaultTeamDetails = paperExternalViewDefaultTeamDetails; +- (BOOL)isEqualToBinderRenamePageDetails:(DBTEAMLOGBinderRenamePageDetails *)aBinderRenamePageDetails { + if (self == aBinderRenamePageDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderRenamePageDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderRenamePageDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderRenamePageDetails.binderItemName]) { + return NO; + } + if (self.previousBinderItemName) { + if (![self.previousBinderItemName isEqual:aBinderRenamePageDetails.previousBinderItemName]) { + return NO; + } + } + return YES; } -- (instancetype)initWithPaperExternalViewForbidDetails: - (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperExternalViewForbidDetails; - _paperExternalViewForbidDetails = paperExternalViewForbidDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRenamePageDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRenamePageDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + if (valueObj.previousBinderItemName) { + jsonDict[@"previous_binder_item_name"] = valueObj.previousBinderItemName; } - return self; + + return jsonDict; } -- (instancetype)initWithSfExternalInviteWarnDetails: - (DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfExternalInviteWarnDetails; - _sfExternalInviteWarnDetails = sfExternalInviteWarnDetails; - } - return self; ++ (DBTEAMLOGBinderRenamePageDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + NSString *previousBinderItemName = valueDict[@"previous_binder_item_name"] ?: nil; + + return [[DBTEAMLOGBinderRenamePageDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName + previousBinderItemName:previousBinderItemName]; } -- (instancetype)initWithTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRenamePageType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRenamePageType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTeamMergeFromDetails; - _teamMergeFromDetails = teamMergeFromDetails; + _description_ = description_; } return self; } -- (instancetype)initWithTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamMergeToDetails; - _teamMergeToDetails = teamMergeToDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRenamePageTypeSerializer serialize:instance]; } -- (instancetype)initWithAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAppLinkTeamDetails; - _appLinkTeamDetails = appLinkTeamDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRenamePageTypeSerializer deserialize:dict]; } -- (instancetype)initWithAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAppLinkUserDetails; - _appLinkUserDetails = appLinkUserDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRenamePageTypeSerializer serialize:self] description]; } -- (instancetype)initWithAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAppUnlinkTeamDetails; - _appUnlinkTeamDetails = appUnlinkTeamDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAppUnlinkUserDetails; - _appUnlinkUserDetails = appUnlinkUserDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileAddCommentDetails; - _fileAddCommentDetails = fileAddCommentDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRenamePageType:other]; } -- (instancetype)initWithFileChangeCommentSubscriptionDetails: - (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails; - _fileChangeCommentSubscriptionDetails = fileChangeCommentSubscriptionDetails; +- (BOOL)isEqualToBinderRenamePageType:(DBTEAMLOGBinderRenamePageType *)aBinderRenamePageType { + if (self == aBinderRenamePageType) { + return YES; } - return self; + if (![self.description_ isEqual:aBinderRenamePageType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileDeleteCommentDetails; - _fileDeleteCommentDetails = fileDeleteCommentDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRenamePageTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRenamePageType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails { ++ (DBTEAMLOGBinderRenamePageType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderRenamePageType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRenameSectionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRenameSectionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName + previousBinderItemName:(NSString *)previousBinderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsFileLikeCommentDetails; - _fileLikeCommentDetails = fileLikeCommentDetails; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; + _previousBinderItemName = previousBinderItemName; } return self; } -- (instancetype)initWithFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileResolveCommentDetails; - _fileResolveCommentDetails = fileResolveCommentDetails; - } - return self; +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + return [self initWithEventUuid:eventUuid docTitle:docTitle binderItemName:binderItemName previousBinderItemName:nil]; } -- (instancetype)initWithFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileUnlikeCommentDetails; - _fileUnlikeCommentDetails = fileUnlikeCommentDetails; - } - return self; -} +#pragma mark - Serialization methods -- (instancetype)initWithFileUnresolveCommentDetails: - (DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileUnresolveCommentDetails; - _fileUnresolveCommentDetails = fileUnresolveCommentDetails; - } - return self; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRenameSectionDetailsSerializer serialize:instance]; } -- (instancetype)initWithDeviceChangeIpDesktopDetails: - (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails; - _deviceChangeIpDesktopDetails = deviceChangeIpDesktopDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRenameSectionDetailsSerializer deserialize:dict]; } -- (instancetype)initWithDeviceChangeIpMobileDetails: - (DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails; - _deviceChangeIpMobileDetails = deviceChangeIpMobileDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRenameSectionDetailsSerializer serialize:self] description]; } -- (instancetype)initWithDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceChangeIpWebDetails; - _deviceChangeIpWebDetails = deviceChangeIpWebDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithDeviceDeleteOnUnlinkFailDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails; - _deviceDeleteOnUnlinkFailDetails = deviceDeleteOnUnlinkFailDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + if (self.previousBinderItemName != nil) { + result = prime * result + [self.previousBinderItemName hash]; } - return self; + + return prime * result; } -- (instancetype)initWithDeviceDeleteOnUnlinkSuccessDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails; - _deviceDeleteOnUnlinkSuccessDetails = deviceDeleteOnUnlinkSuccessDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRenameSectionDetails:other]; } -- (instancetype)initWithDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceLinkFailDetails; - _deviceLinkFailDetails = deviceLinkFailDetails; +- (BOOL)isEqualToBinderRenameSectionDetails:(DBTEAMLOGBinderRenameSectionDetails *)aBinderRenameSectionDetails { + if (self == aBinderRenameSectionDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderRenameSectionDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderRenameSectionDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderRenameSectionDetails.binderItemName]) { + return NO; + } + if (self.previousBinderItemName) { + if (![self.previousBinderItemName isEqual:aBinderRenameSectionDetails.previousBinderItemName]) { + return NO; + } + } + return YES; } -- (instancetype)initWithDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceLinkSuccessDetails; - _deviceLinkSuccessDetails = deviceLinkSuccessDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRenameSectionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRenameSectionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + if (valueObj.previousBinderItemName) { + jsonDict[@"previous_binder_item_name"] = valueObj.previousBinderItemName; } - return self; + + return jsonDict; } -- (instancetype)initWithDeviceManagementDisabledDetails: - (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceManagementDisabledDetails; - _deviceManagementDisabledDetails = deviceManagementDisabledDetails; - } - return self; ++ (DBTEAMLOGBinderRenameSectionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + NSString *previousBinderItemName = valueDict[@"previous_binder_item_name"] ?: nil; + + return [[DBTEAMLOGBinderRenameSectionDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName + previousBinderItemName:previousBinderItemName]; } -- (instancetype)initWithDeviceManagementEnabledDetails: - (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderRenameSectionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderRenameSectionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsDeviceManagementEnabledDetails; - _deviceManagementEnabledDetails = deviceManagementEnabledDetails; + _description_ = description_; } return self; } -- (instancetype)initWithDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceUnlinkDetails; - _deviceUnlinkDetails = deviceUnlinkDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderRenameSectionTypeSerializer serialize:instance]; } -- (instancetype)initWithEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails; - _emmRefreshAuthTokenDetails = emmRefreshAuthTokenDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderRenameSectionTypeSerializer deserialize:dict]; } -- (instancetype)initWithAccountCaptureChangeAvailabilityDetails: - (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails; - _accountCaptureChangeAvailabilityDetails = accountCaptureChangeAvailabilityDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderRenameSectionTypeSerializer serialize:self] description]; } -- (instancetype)initWithAccountCaptureMigrateAccountDetails: - (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails; - _accountCaptureMigrateAccountDetails = accountCaptureMigrateAccountDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithAccountCaptureRelinquishAccountDetails: - (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails; - _accountCaptureRelinquishAccountDetails = accountCaptureRelinquishAccountDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithDisabledDomainInvitesDetails: - (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDisabledDomainInvitesDetails; - _disabledDomainInvitesDetails = disabledDomainInvitesDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderRenameSectionType:other]; } -- (instancetype)initWithDomainInvitesApproveRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails; - _domainInvitesApproveRequestToJoinTeamDetails = domainInvitesApproveRequestToJoinTeamDetails; +- (BOOL)isEqualToBinderRenameSectionType:(DBTEAMLOGBinderRenameSectionType *)aBinderRenameSectionType { + if (self == aBinderRenameSectionType) { + return YES; } - return self; + if (![self.description_ isEqual:aBinderRenameSectionType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails; - _domainInvitesDeclineRequestToJoinTeamDetails = domainInvitesDeclineRequestToJoinTeamDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderRenameSectionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderRenameSectionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithDomainInvitesEmailExistingUsersDetails: - (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails; - _domainInvitesEmailExistingUsersDetails = domainInvitesEmailExistingUsersDetails; - } - return self; ++ (DBTEAMLOGBinderRenameSectionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderRenameSectionType alloc] initWithDescription_:description_]; } -- (instancetype)initWithDomainInvitesRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderReorderPageDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderReorderPageDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails; - _domainInvitesRequestToJoinTeamDetails = domainInvitesRequestToJoinTeamDetails; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; } return self; } -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNoDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails; - _domainInvitesSetInviteNewUserPrefToNoDetails = domainInvitesSetInviteNewUserPrefToNoDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderReorderPageDetailsSerializer serialize:instance]; } -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYesDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails; - _domainInvitesSetInviteNewUserPrefToYesDetails = domainInvitesSetInviteNewUserPrefToYesDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderReorderPageDetailsSerializer deserialize:dict]; } -- (instancetype)initWithDomainVerificationAddDomainFailDetails: - (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails; - _domainVerificationAddDomainFailDetails = domainVerificationAddDomainFailDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderReorderPageDetailsSerializer serialize:self] description]; } -- (instancetype)initWithDomainVerificationAddDomainSuccessDetails: - (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails; - _domainVerificationAddDomainSuccessDetails = domainVerificationAddDomainSuccessDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithDomainVerificationRemoveDomainDetails: - (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails; - _domainVerificationRemoveDomainDetails = domainVerificationRemoveDomainDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; } -- (instancetype)initWithEnabledDomainInvitesDetails: - (DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEnabledDomainInvitesDetails; - _enabledDomainInvitesDetails = enabledDomainInvitesDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderReorderPageDetails:other]; } -- (instancetype)initWithCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)createFolderDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsCreateFolderDetails; - _createFolderDetails = createFolderDetails; +- (BOOL)isEqualToBinderReorderPageDetails:(DBTEAMLOGBinderReorderPageDetails *)aBinderReorderPageDetails { + if (self == aBinderReorderPageDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderReorderPageDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderReorderPageDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderReorderPageDetails.binderItemName]) { + return NO; + } + return YES; } -- (instancetype)initWithFileAddDetails:(DBTEAMLOGFileAddDetails *)fileAddDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileAddDetails; - _fileAddDetails = fileAddDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderReorderPageDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderReorderPageDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; } -- (instancetype)initWithFileCopyDetails:(DBTEAMLOGFileCopyDetails *)fileCopyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileCopyDetails; - _fileCopyDetails = fileCopyDetails; - } - return self; ++ (DBTEAMLOGBinderReorderPageDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderReorderPageDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; } -- (instancetype)initWithFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)fileDeleteDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderReorderPageType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderReorderPageType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsFileDeleteDetails; - _fileDeleteDetails = fileDeleteDetails; + _description_ = description_; } return self; } -- (instancetype)initWithFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)fileDownloadDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileDownloadDetails; - _fileDownloadDetails = fileDownloadDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderReorderPageTypeSerializer serialize:instance]; } -- (instancetype)initWithFileEditDetails:(DBTEAMLOGFileEditDetails *)fileEditDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileEditDetails; - _fileEditDetails = fileEditDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderReorderPageTypeSerializer deserialize:dict]; } -- (instancetype)initWithFileGetCopyReferenceDetails: - (DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileGetCopyReferenceDetails; - _fileGetCopyReferenceDetails = fileGetCopyReferenceDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderReorderPageTypeSerializer serialize:self] description]; } -- (instancetype)initWithFileMoveDetails:(DBTEAMLOGFileMoveDetails *)fileMoveDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileMoveDetails; - _fileMoveDetails = fileMoveDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithFilePermanentlyDeleteDetails: - (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails; - _filePermanentlyDeleteDetails = filePermanentlyDeleteDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)filePreviewDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFilePreviewDetails; - _filePreviewDetails = filePreviewDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderReorderPageType:other]; } -- (instancetype)initWithFileRenameDetails:(DBTEAMLOGFileRenameDetails *)fileRenameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRenameDetails; - _fileRenameDetails = fileRenameDetails; +- (BOOL)isEqualToBinderReorderPageType:(DBTEAMLOGBinderReorderPageType *)aBinderReorderPageType { + if (self == aBinderReorderPageType) { + return YES; } - return self; + if (![self.description_ isEqual:aBinderReorderPageType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)fileRestoreDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRestoreDetails; - _fileRestoreDetails = fileRestoreDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderReorderPageTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderReorderPageType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithFileRevertDetails:(DBTEAMLOGFileRevertDetails *)fileRevertDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRevertDetails; - _fileRevertDetails = fileRevertDetails; - } - return self; ++ (DBTEAMLOGBinderReorderPageType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderReorderPageType alloc] initWithDescription_:description_]; } -- (instancetype)initWithFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderReorderSectionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderReorderSectionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](docTitle); + [DBStoneValidators nonnullValidator:nil](binderItemName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsFileRollbackChangesDetails; - _fileRollbackChangesDetails = fileRollbackChangesDetails; + _eventUuid = eventUuid; + _docTitle = docTitle; + _binderItemName = binderItemName; } return self; } -- (instancetype)initWithFileSaveCopyReferenceDetails: - (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails; - _fileSaveCopyReferenceDetails = fileSaveCopyReferenceDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderReorderSectionDetailsSerializer serialize:instance]; } -- (instancetype)initWithFileRequestAddDeadlineDetails: - (DBTEAMLOGFileRequestAddDeadlineDetails *)fileRequestAddDeadlineDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails; - _fileRequestAddDeadlineDetails = fileRequestAddDeadlineDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderReorderSectionDetailsSerializer deserialize:dict]; } -- (instancetype)initWithFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestChangeDetails; - _fileRequestChangeDetails = fileRequestChangeDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderReorderSectionDetailsSerializer serialize:self] description]; } -- (instancetype)initWithFileRequestChangeFolderDetails: - (DBTEAMLOGFileRequestChangeFolderDetails *)fileRequestChangeFolderDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestChangeFolderDetails; - _fileRequestChangeFolderDetails = fileRequestChangeFolderDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestCloseDetails; - _fileRequestCloseDetails = fileRequestCloseDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.docTitle hash]; + result = prime * result + [self.binderItemName hash]; + + return prime * result; } -- (instancetype)initWithFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestCreateDetails; - _fileRequestCreateDetails = fileRequestCreateDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderReorderSectionDetails:other]; } -- (instancetype)initWithFileRequestReceiveFileDetails: - (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestReceiveFileDetails; - _fileRequestReceiveFileDetails = fileRequestReceiveFileDetails; +- (BOOL)isEqualToBinderReorderSectionDetails:(DBTEAMLOGBinderReorderSectionDetails *)aBinderReorderSectionDetails { + if (self == aBinderReorderSectionDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aBinderReorderSectionDetails.eventUuid]) { + return NO; + } + if (![self.docTitle isEqual:aBinderReorderSectionDetails.docTitle]) { + return NO; + } + if (![self.binderItemName isEqual:aBinderReorderSectionDetails.binderItemName]) { + return NO; + } + return YES; } -- (instancetype)initWithFileRequestRemoveDeadlineDetails: - (DBTEAMLOGFileRequestRemoveDeadlineDetails *)fileRequestRemoveDeadlineDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails; - _fileRequestRemoveDeadlineDetails = fileRequestRemoveDeadlineDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderReorderSectionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderReorderSectionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"binder_item_name"] = valueObj.binderItemName; + + return jsonDict; } -- (instancetype)initWithFileRequestSendDetails:(DBTEAMLOGFileRequestSendDetails *)fileRequestSendDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestSendDetails; - _fileRequestSendDetails = fileRequestSendDetails; - } - return self; ++ (DBTEAMLOGBinderReorderSectionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *docTitle = valueDict[@"doc_title"]; + NSString *binderItemName = valueDict[@"binder_item_name"]; + + return [[DBTEAMLOGBinderReorderSectionDetails alloc] initWithEventUuid:eventUuid + docTitle:docTitle + binderItemName:binderItemName]; } -- (instancetype)initWithGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBinderReorderSectionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGBinderReorderSectionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsGroupAddExternalIdDetails; - _groupAddExternalIdDetails = groupAddExternalIdDetails; + _description_ = description_; } return self; } -- (instancetype)initWithGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupAddMemberDetails; - _groupAddMemberDetails = groupAddMemberDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGBinderReorderSectionTypeSerializer serialize:instance]; } -- (instancetype)initWithGroupChangeExternalIdDetails: - (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupChangeExternalIdDetails; - _groupChangeExternalIdDetails = groupChangeExternalIdDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGBinderReorderSectionTypeSerializer deserialize:dict]; } -- (instancetype)initWithGroupChangeManagementTypeDetails: - (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails; - _groupChangeManagementTypeDetails = groupChangeManagementTypeDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGBinderReorderSectionTypeSerializer serialize:self] description]; } -- (instancetype)initWithGroupChangeMemberRoleDetails: - (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails; - _groupChangeMemberRoleDetails = groupChangeMemberRoleDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)groupCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupCreateDetails; - _groupCreateDetails = groupCreateDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupDeleteDetails; - _groupDeleteDetails = groupDeleteDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToBinderReorderSectionType:other]; } -- (instancetype)initWithGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)groupMovedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupMovedDetails; - _groupMovedDetails = groupMovedDetails; +- (BOOL)isEqualToBinderReorderSectionType:(DBTEAMLOGBinderReorderSectionType *)aBinderReorderSectionType { + if (self == aBinderReorderSectionType) { + return YES; } - return self; + if (![self.description_ isEqual:aBinderReorderSectionType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithGroupRemoveExternalIdDetails: - (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails; - _groupRemoveExternalIdDetails = groupRemoveExternalIdDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGBinderReorderSectionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGBinderReorderSectionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupRemoveMemberDetails; - _groupRemoveMemberDetails = groupRemoveMemberDetails; - } - return self; ++ (DBTEAMLOGBinderReorderSectionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGBinderReorderSectionType alloc] initWithDescription_:description_]; } -- (instancetype)initWithGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)groupRenameDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCameraUploadsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCameraUploadsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsGroupRenameDetails; - _groupRenameDetails = groupRenameDetails; + _tag = DBTEAMLOGCameraUploadsPolicyDisabled; } return self; } -- (instancetype)initWithEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)emmErrorDetails { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsEmmErrorDetails; - _emmErrorDetails = emmErrorDetails; + _tag = DBTEAMLOGCameraUploadsPolicyEnabled; } return self; } -- (instancetype)initWithLoginFailDetails:(DBTEAMLOGLoginFailDetails *)loginFailDetails { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsLoginFailDetails; - _loginFailDetails = loginFailDetails; + _tag = DBTEAMLOGCameraUploadsPolicyOther; } return self; } -- (instancetype)initWithLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsLoginSuccessDetails; - _loginSuccessDetails = loginSuccessDetails; - } - return self; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGCameraUploadsPolicyDisabled; } -- (instancetype)initWithLogoutDetails:(DBTEAMLOGLogoutDetails *)logoutDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsLogoutDetails; - _logoutDetails = logoutDetails; - } - return self; +- (BOOL)isEnabled { + return _tag == DBTEAMLOGCameraUploadsPolicyEnabled; } -- (instancetype)initWithResellerSupportSessionEndDetails: - (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsResellerSupportSessionEndDetails; - _resellerSupportSessionEndDetails = resellerSupportSessionEndDetails; - } - return self; +- (BOOL)isOther { + return _tag == DBTEAMLOGCameraUploadsPolicyOther; } -- (instancetype)initWithResellerSupportSessionStartDetails: - (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsResellerSupportSessionStartDetails; - _resellerSupportSessionStartDetails = resellerSupportSessionStartDetails; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGCameraUploadsPolicyDisabled: + return @"DBTEAMLOGCameraUploadsPolicyDisabled"; + case DBTEAMLOGCameraUploadsPolicyEnabled: + return @"DBTEAMLOGCameraUploadsPolicyEnabled"; + case DBTEAMLOGCameraUploadsPolicyOther: + return @"DBTEAMLOGCameraUploadsPolicyOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (instancetype)initWithSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSignInAsSessionEndDetails; - _signInAsSessionEndDetails = signInAsSessionEndDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCameraUploadsPolicySerializer serialize:instance]; } -- (instancetype)initWithSignInAsSessionStartDetails: - (DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSignInAsSessionStartDetails; - _signInAsSessionStartDetails = signInAsSessionStartDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCameraUploadsPolicySerializer deserialize:dict]; } -- (instancetype)initWithSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)ssoErrorDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoErrorDetails; - _ssoErrorDetails = ssoErrorDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCameraUploadsPolicySerializer serialize:self] description]; } -- (instancetype)initWithMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberAddNameDetails; - _memberAddNameDetails = memberAddNameDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithMemberChangeAdminRoleDetails: - (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails; - _memberChangeAdminRoleDetails = memberChangeAdminRoleDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGCameraUploadsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGCameraUploadsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGCameraUploadsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } - return self; + + return prime * result; } -- (instancetype)initWithMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberChangeEmailDetails; - _memberChangeEmailDetails = memberChangeEmailDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCameraUploadsPolicy:other]; } -- (instancetype)initWithMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberChangeNameDetails; - _memberChangeNameDetails = memberChangeNameDetails; +- (BOOL)isEqualToCameraUploadsPolicy:(DBTEAMLOGCameraUploadsPolicy *)aCameraUploadsPolicy { + if (self == aCameraUploadsPolicy) { + return YES; } - return self; + if (self.tag != aCameraUploadsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGCameraUploadsPolicyDisabled: + return [[self tagName] isEqual:[aCameraUploadsPolicy tagName]]; + case DBTEAMLOGCameraUploadsPolicyEnabled: + return [[self tagName] isEqual:[aCameraUploadsPolicy tagName]]; + case DBTEAMLOGCameraUploadsPolicyOther: + return [[self tagName] isEqual:[aCameraUploadsPolicy tagName]]; + } + return YES; } -- (instancetype)initWithMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberChangeStatusDetails; - _memberChangeStatusDetails = memberChangeStatusDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCameraUploadsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return self; + + return jsonDict; } -- (instancetype)initWithMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberSuggestDetails; - _memberSuggestDetails = memberSuggestDetails; ++ (DBTEAMLOGCameraUploadsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGCameraUploadsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGCameraUploadsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGCameraUploadsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGCameraUploadsPolicy alloc] initWithOther]; } - return self; } -- (instancetype)initWithPaperContentAddMemberDetails: - (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCameraUploadsPolicy.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCameraUploadsPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGCameraUploadsPolicy *)dNewValue + previousValue:(DBTEAMLOGCameraUploadsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentAddMemberDetails; - _paperContentAddMemberDetails = paperContentAddMemberDetails; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initWithPaperContentAddToFolderDetails: - (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentAddToFolderDetails; - _paperContentAddToFolderDetails = paperContentAddToFolderDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer serialize:instance]; } -- (instancetype)initWithPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentArchiveDetails; - _paperContentArchiveDetails = paperContentArchiveDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer deserialize:dict]; } -- (instancetype)initWithPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentCreateDetails; - _paperContentCreateDetails = paperContentCreateDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer serialize:self] description]; } -- (instancetype)initWithPaperContentPermanentlyDeleteDetails: - (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails; - _paperContentPermanentlyDeleteDetails = paperContentPermanentlyDeleteDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithPaperContentRemoveFromFolderDetails: - (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails; - _paperContentRemoveFromFolderDetails = paperContentRemoveFromFolderDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; } -- (instancetype)initWithPaperContentRemoveMemberDetails: - (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails; - _paperContentRemoveMemberDetails = paperContentRemoveMemberDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCameraUploadsPolicyChangedDetails:other]; } -- (instancetype)initWithPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentRenameDetails; - _paperContentRenameDetails = paperContentRenameDetails; +- (BOOL)isEqualToCameraUploadsPolicyChangedDetails: + (DBTEAMLOGCameraUploadsPolicyChangedDetails *)aCameraUploadsPolicyChangedDetails { + if (self == aCameraUploadsPolicyChangedDetails) { + return YES; } - return self; + if (![self.dNewValue isEqual:aCameraUploadsPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aCameraUploadsPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; } -- (instancetype)initWithPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperContentRestoreDetails; - _paperContentRestoreDetails = paperContentRestoreDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGCameraUploadsPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGCameraUploadsPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; } -- (instancetype)initWithPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocAddCommentDetails; - _paperDocAddCommentDetails = paperDocAddCommentDetails; - } - return self; ++ (DBTEAMLOGCameraUploadsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGCameraUploadsPolicy *dNewValue = + [DBTEAMLOGCameraUploadsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGCameraUploadsPolicy *previousValue = + [DBTEAMLOGCameraUploadsPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGCameraUploadsPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } -- (instancetype)initWithPaperDocChangeMemberRoleDetails: - (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCameraUploadsPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails; - _paperDocChangeMemberRoleDetails = paperDocChangeMemberRoleDetails; + _description_ = description_; } return self; } -- (instancetype)initWithPaperDocChangeSharingPolicyDetails: - (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails; - _paperDocChangeSharingPolicyDetails = paperDocChangeSharingPolicyDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer serialize:instance]; } -- (instancetype)initWithPaperDocChangeSubscriptionDetails: - (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails; - _paperDocChangeSubscriptionDetails = paperDocChangeSubscriptionDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer deserialize:dict]; } -- (instancetype)initWithPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocDeletedDetails; - _paperDocDeletedDetails = paperDocDeletedDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer serialize:self] description]; } -- (instancetype)initWithPaperDocDeleteCommentDetails: - (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails; - _paperDocDeleteCommentDetails = paperDocDeleteCommentDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocDownloadDetails; - _paperDocDownloadDetails = paperDocDownloadDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocEditDetails; - _paperDocEditDetails = paperDocEditDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCameraUploadsPolicyChangedType:other]; } -- (instancetype)initWithPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocEditCommentDetails; - _paperDocEditCommentDetails = paperDocEditCommentDetails; +- (BOOL)isEqualToCameraUploadsPolicyChangedType: + (DBTEAMLOGCameraUploadsPolicyChangedType *)aCameraUploadsPolicyChangedType { + if (self == aCameraUploadsPolicyChangedType) { + return YES; } - return self; + if (![self.description_ isEqual:aCameraUploadsPolicyChangedType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocFollowedDetails; - _paperDocFollowedDetails = paperDocFollowedDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocMentionDetails; - _paperDocMentionDetails = paperDocMentionDetails; - } - return self; ++ (DBTEAMLOGCameraUploadsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGCameraUploadsPolicyChangedType alloc] initWithDescription_:description_]; } -- (instancetype)initWithPaperDocRequestAccessDetails: - (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCaptureTranscriptPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCaptureTranscriptPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDefault_ { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocRequestAccessDetails; - _paperDocRequestAccessDetails = paperDocRequestAccessDetails; + _tag = DBTEAMLOGCaptureTranscriptPolicyDefault_; } return self; } -- (instancetype)initWithPaperDocResolveCommentDetails: - (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocResolveCommentDetails; - _paperDocResolveCommentDetails = paperDocResolveCommentDetails; + _tag = DBTEAMLOGCaptureTranscriptPolicyDisabled; } return self; } -- (instancetype)initWithPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocRevertDetails; - _paperDocRevertDetails = paperDocRevertDetails; + _tag = DBTEAMLOGCaptureTranscriptPolicyEnabled; } return self; } -- (instancetype)initWithPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocSlackShareDetails; - _paperDocSlackShareDetails = paperDocSlackShareDetails; + _tag = DBTEAMLOGCaptureTranscriptPolicyOther; } return self; } -- (instancetype)initWithPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocTeamInviteDetails; - _paperDocTeamInviteDetails = paperDocTeamInviteDetails; - } - return self; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGCaptureTranscriptPolicyDefault_; } -- (instancetype)initWithPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocTrashedDetails; - _paperDocTrashedDetails = paperDocTrashedDetails; - } - return self; +- (BOOL)isDisabled { + return _tag == DBTEAMLOGCaptureTranscriptPolicyDisabled; } -- (instancetype)initWithPaperDocUnresolveCommentDetails: - (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails; - _paperDocUnresolveCommentDetails = paperDocUnresolveCommentDetails; - } - return self; +- (BOOL)isEnabled { + return _tag == DBTEAMLOGCaptureTranscriptPolicyEnabled; } -- (instancetype)initWithPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocUntrashedDetails; - _paperDocUntrashedDetails = paperDocUntrashedDetails; - } - return self; +- (BOOL)isOther { + return _tag == DBTEAMLOGCaptureTranscriptPolicyOther; } -- (instancetype)initWithPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperDocViewDetails; - _paperDocViewDetails = paperDocViewDetails; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGCaptureTranscriptPolicyDefault_: + return @"DBTEAMLOGCaptureTranscriptPolicyDefault_"; + case DBTEAMLOGCaptureTranscriptPolicyDisabled: + return @"DBTEAMLOGCaptureTranscriptPolicyDisabled"; + case DBTEAMLOGCaptureTranscriptPolicyEnabled: + return @"DBTEAMLOGCaptureTranscriptPolicyEnabled"; + case DBTEAMLOGCaptureTranscriptPolicyOther: + return @"DBTEAMLOGCaptureTranscriptPolicyOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (instancetype)initWithPaperFolderChangeSubscriptionDetails: - (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails; - _paperFolderChangeSubscriptionDetails = paperFolderChangeSubscriptionDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:instance]; } -- (instancetype)initWithPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperFolderDeletedDetails; - _paperFolderDeletedDetails = paperFolderDeletedDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCaptureTranscriptPolicySerializer deserialize:dict]; } -- (instancetype)initWithPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperFolderFollowedDetails; - _paperFolderFollowedDetails = paperFolderFollowedDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCaptureTranscriptPolicySerializer serialize:self] description]; } -- (instancetype)initWithPaperFolderTeamInviteDetails: - (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails; - _paperFolderTeamInviteDetails = paperFolderTeamInviteDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPasswordChangeDetails; - _passwordChangeDetails = passwordChangeDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGCaptureTranscriptPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGCaptureTranscriptPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGCaptureTranscriptPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGCaptureTranscriptPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } - return self; + + return prime * result; } -- (instancetype)initWithPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)passwordResetDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPasswordResetDetails; - _passwordResetDetails = passwordResetDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCaptureTranscriptPolicy:other]; } -- (instancetype)initWithPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPasswordResetAllDetails; - _passwordResetAllDetails = passwordResetAllDetails; +- (BOOL)isEqualToCaptureTranscriptPolicy:(DBTEAMLOGCaptureTranscriptPolicy *)aCaptureTranscriptPolicy { + if (self == aCaptureTranscriptPolicy) { + return YES; } - return self; + if (self.tag != aCaptureTranscriptPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGCaptureTranscriptPolicyDefault_: + return [[self tagName] isEqual:[aCaptureTranscriptPolicy tagName]]; + case DBTEAMLOGCaptureTranscriptPolicyDisabled: + return [[self tagName] isEqual:[aCaptureTranscriptPolicy tagName]]; + case DBTEAMLOGCaptureTranscriptPolicyEnabled: + return [[self tagName] isEqual:[aCaptureTranscriptPolicy tagName]]; + case DBTEAMLOGCaptureTranscriptPolicyOther: + return [[self tagName] isEqual:[aCaptureTranscriptPolicy tagName]]; + } + return YES; } -- (instancetype)initWithEmmCreateExceptionsReportDetails: - (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails; - _emmCreateExceptionsReportDetails = emmCreateExceptionsReportDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCaptureTranscriptPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return self; + + return jsonDict; } -- (instancetype)initWithEmmCreateUsageReportDetails: - (DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEmmCreateUsageReportDetails; - _emmCreateUsageReportDetails = emmCreateUsageReportDetails; ++ (DBTEAMLOGCaptureTranscriptPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGCaptureTranscriptPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGCaptureTranscriptPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGCaptureTranscriptPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGCaptureTranscriptPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGCaptureTranscriptPolicy alloc] initWithOther]; } - return self; } -- (instancetype)initWithSmartSyncCreateAdminPrivilegeReportDetails: - (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCaptureTranscriptPolicy.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCaptureTranscriptPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGCaptureTranscriptPolicy *)dNewValue + previousValue:(DBTEAMLOGCaptureTranscriptPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails; - _smartSyncCreateAdminPrivilegeReportDetails = smartSyncCreateAdminPrivilegeReportDetails; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initWithTeamActivityCreateReportDetails: - (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamActivityCreateReportDetails; - _teamActivityCreateReportDetails = teamActivityCreateReportDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer serialize:instance]; } -- (instancetype)initWithCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)collectionShareDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsCollectionShareDetails; - _collectionShareDetails = collectionShareDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer deserialize:dict]; } -- (instancetype)initWithNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails; - _noteAclInviteOnlyDetails = noteAclInviteOnlyDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer serialize:self] description]; } -- (instancetype)initWithNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNoteAclLinkDetails; - _noteAclLinkDetails = noteAclLinkDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNoteAclTeamLinkDetails; - _noteAclTeamLinkDetails = noteAclTeamLinkDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; } -- (instancetype)initWithNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)noteSharedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNoteSharedDetails; - _noteSharedDetails = noteSharedDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCaptureTranscriptPolicyChangedDetails:other]; } -- (instancetype)initWithNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNoteShareReceiveDetails; - _noteShareReceiveDetails = noteShareReceiveDetails; +- (BOOL)isEqualToCaptureTranscriptPolicyChangedDetails: + (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)aCaptureTranscriptPolicyChangedDetails { + if (self == aCaptureTranscriptPolicyChangedDetails) { + return YES; } - return self; + if (![self.dNewValue isEqual:aCaptureTranscriptPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aCaptureTranscriptPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; } -- (instancetype)initWithOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsOpenNoteSharedDetails; - _openNoteSharedDetails = openNoteSharedDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGCaptureTranscriptPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; } -- (instancetype)initWithSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfAddGroupDetails; - _sfAddGroupDetails = sfAddGroupDetails; - } - return self; ++ (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGCaptureTranscriptPolicy *dNewValue = + [DBTEAMLOGCaptureTranscriptPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGCaptureTranscriptPolicy *previousValue = + [DBTEAMLOGCaptureTranscriptPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return + [[DBTEAMLOGCaptureTranscriptPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } -- (instancetype)initWithSfAllowNonMembersToViewSharedLinksDetails: - (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCaptureTranscriptPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails; - _sfAllowNonMembersToViewSharedLinksDetails = sfAllowNonMembersToViewSharedLinksDetails; + _description_ = description_; } return self; } -- (instancetype)initWithSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfInviteGroupDetails; - _sfInviteGroupDetails = sfInviteGroupDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer serialize:instance]; } -- (instancetype)initWithSfNestDetails:(DBTEAMLOGSfNestDetails *)sfNestDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfNestDetails; - _sfNestDetails = sfNestDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer deserialize:dict]; } -- (instancetype)initWithSfTeamDeclineDetails:(DBTEAMLOGSfTeamDeclineDetails *)sfTeamDeclineDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamDeclineDetails; - _sfTeamDeclineDetails = sfTeamDeclineDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer serialize:self] description]; } -- (instancetype)initWithSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamGrantAccessDetails; - _sfTeamGrantAccessDetails = sfTeamGrantAccessDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamInviteDetails; - _sfTeamInviteDetails = sfTeamInviteDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCaptureTranscriptPolicyChangedType:other]; } -- (instancetype)initWithSfTeamInviteChangeRoleDetails: - (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails; - _sfTeamInviteChangeRoleDetails = sfTeamInviteChangeRoleDetails; +- (BOOL)isEqualToCaptureTranscriptPolicyChangedType: + (DBTEAMLOGCaptureTranscriptPolicyChangedType *)aCaptureTranscriptPolicyChangedType { + if (self == aCaptureTranscriptPolicyChangedType) { + return YES; } - return self; + if (![self.description_ isEqual:aCaptureTranscriptPolicyChangedType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamJoinDetails; - _sfTeamJoinDetails = sfTeamJoinDetails; - } - return self; -} +@end -- (instancetype)initWithSfTeamJoinFromOobLinkDetails: - (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails; - _sfTeamJoinFromOobLinkDetails = sfTeamJoinFromOobLinkDetails; - } - return self; -} +#pragma mark - Serializer Object -- (instancetype)initWithSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSfTeamUninviteDetails; - _sfTeamUninviteDetails = sfTeamUninviteDetails; - } - return self; -} +@implementation DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer -- (instancetype)initWithSharedContentAddInviteesDetails: - (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentAddInviteesDetails; - _sharedContentAddInviteesDetails = sharedContentAddInviteesDetails; - } - return self; -} ++ (NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (instancetype)initWithSharedContentAddLinkExpiryDetails: - (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails; - _sharedContentAddLinkExpiryDetails = sharedContentAddLinkExpiryDetails; - } - return self; -} + jsonDict[@"description"] = valueObj.description_; -- (instancetype)initWithSharedContentAddLinkPasswordDetails: - (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails; - _sharedContentAddLinkPasswordDetails = sharedContentAddLinkPasswordDetails; - } - return self; + return jsonDict; } -- (instancetype)initWithSharedContentAddMemberDetails: - (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentAddMemberDetails; - _sharedContentAddMemberDetails = sharedContentAddMemberDetails; - } - return self; -} ++ (DBTEAMLOGCaptureTranscriptPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (instancetype)initWithSharedContentChangeDownloadsPolicyDetails: - (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails; - _sharedContentChangeDownloadsPolicyDetails = sharedContentChangeDownloadsPolicyDetails; - } - return self; + return [[DBTEAMLOGCaptureTranscriptPolicyChangedType alloc] initWithDescription_:description_]; } -- (instancetype)initWithSharedContentChangeInviteeRoleDetails: - (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails; - _sharedContentChangeInviteeRoleDetails = sharedContentChangeInviteeRoleDetails; - } - return self; -} +@end -- (instancetype)initWithSharedContentChangeLinkAudienceDetails: - (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails; - _sharedContentChangeLinkAudienceDetails = sharedContentChangeLinkAudienceDetails; - } - return self; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCertificate.h" -- (instancetype)initWithSharedContentChangeLinkExpiryDetails: - (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails; - _sharedContentChangeLinkExpiryDetails = sharedContentChangeLinkExpiryDetails; - } - return self; -} +#pragma mark - API Object -- (instancetype)initWithSharedContentChangeLinkPasswordDetails: - (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails; - _sharedContentChangeLinkPasswordDetails = sharedContentChangeLinkPasswordDetails; - } - return self; -} +@implementation DBTEAMLOGCertificate -- (instancetype)initWithSharedContentChangeMemberRoleDetails: - (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails; - _sharedContentChangeMemberRoleDetails = sharedContentChangeMemberRoleDetails; - } - return self; -} +#pragma mark - Constructors -- (instancetype)initWithSharedContentChangeViewerInfoPolicyDetails: - (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails; - _sharedContentChangeViewerInfoPolicyDetails = sharedContentChangeViewerInfoPolicyDetails; - } - return self; -} +- (instancetype)initWithSubject:(NSString *)subject + issuer:(NSString *)issuer + issueDate:(NSString *)issueDate + expirationDate:(NSString *)expirationDate + serialNumber:(NSString *)serialNumber + sha1Fingerprint:(NSString *)sha1Fingerprint + commonName:(NSString *)commonName { + [DBStoneValidators nonnullValidator:nil](subject); + [DBStoneValidators nonnullValidator:nil](issuer); + [DBStoneValidators nonnullValidator:nil](issueDate); + [DBStoneValidators nonnullValidator:nil](expirationDate); + [DBStoneValidators nonnullValidator:nil](serialNumber); + [DBStoneValidators nonnullValidator:nil](sha1Fingerprint); -- (instancetype)initWithSharedContentClaimInvitationDetails: - (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails; - _sharedContentClaimInvitationDetails = sharedContentClaimInvitationDetails; + _subject = subject; + _issuer = issuer; + _issueDate = issueDate; + _expirationDate = expirationDate; + _serialNumber = serialNumber; + _sha1Fingerprint = sha1Fingerprint; + _commonName = commonName; } return self; } -- (instancetype)initWithSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentCopyDetails; - _sharedContentCopyDetails = sharedContentCopyDetails; - } - return self; +- (instancetype)initWithSubject:(NSString *)subject + issuer:(NSString *)issuer + issueDate:(NSString *)issueDate + expirationDate:(NSString *)expirationDate + serialNumber:(NSString *)serialNumber + sha1Fingerprint:(NSString *)sha1Fingerprint { + return [self initWithSubject:subject + issuer:issuer + issueDate:issueDate + expirationDate:expirationDate + serialNumber:serialNumber + sha1Fingerprint:sha1Fingerprint + commonName:nil]; } -- (instancetype)initWithSharedContentDownloadDetails: - (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentDownloadDetails; - _sharedContentDownloadDetails = sharedContentDownloadDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCertificateSerializer serialize:instance]; } -- (instancetype)initWithSharedContentRelinquishMembershipDetails: - (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails; - _sharedContentRelinquishMembershipDetails = sharedContentRelinquishMembershipDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCertificateSerializer deserialize:dict]; } -- (instancetype)initWithSharedContentRemoveInviteeDetails: - (DBTEAMLOGSharedContentRemoveInviteeDetails *)sharedContentRemoveInviteeDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails; - _sharedContentRemoveInviteeDetails = sharedContentRemoveInviteeDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCertificateSerializer serialize:self] description]; } -- (instancetype)initWithSharedContentRemoveLinkExpiryDetails: - (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails; - _sharedContentRemoveLinkExpiryDetails = sharedContentRemoveLinkExpiryDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithSharedContentRemoveLinkPasswordDetails: - (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails; - _sharedContentRemoveLinkPasswordDetails = sharedContentRemoveLinkPasswordDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.subject hash]; + result = prime * result + [self.issuer hash]; + result = prime * result + [self.issueDate hash]; + result = prime * result + [self.expirationDate hash]; + result = prime * result + [self.serialNumber hash]; + result = prime * result + [self.sha1Fingerprint hash]; + if (self.commonName != nil) { + result = prime * result + [self.commonName hash]; } - return self; + + return prime * result; } -- (instancetype)initWithSharedContentRemoveMemberDetails: - (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails; - _sharedContentRemoveMemberDetails = sharedContentRemoveMemberDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCertificate:other]; } -- (instancetype)initWithSharedContentRequestAccessDetails: - (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentRequestAccessDetails; - _sharedContentRequestAccessDetails = sharedContentRequestAccessDetails; +- (BOOL)isEqualToCertificate:(DBTEAMLOGCertificate *)aCertificate { + if (self == aCertificate) { + return YES; } - return self; + if (![self.subject isEqual:aCertificate.subject]) { + return NO; + } + if (![self.issuer isEqual:aCertificate.issuer]) { + return NO; + } + if (![self.issueDate isEqual:aCertificate.issueDate]) { + return NO; + } + if (![self.expirationDate isEqual:aCertificate.expirationDate]) { + return NO; + } + if (![self.serialNumber isEqual:aCertificate.serialNumber]) { + return NO; + } + if (![self.sha1Fingerprint isEqual:aCertificate.sha1Fingerprint]) { + return NO; + } + if (self.commonName) { + if (![self.commonName isEqual:aCertificate.commonName]) { + return NO; + } + } + return YES; } -- (instancetype)initWithSharedContentUnshareDetails: - (DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentUnshareDetails; - _sharedContentUnshareDetails = sharedContentUnshareDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCertificateSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCertificate *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"subject"] = valueObj.subject; + jsonDict[@"issuer"] = valueObj.issuer; + jsonDict[@"issue_date"] = valueObj.issueDate; + jsonDict[@"expiration_date"] = valueObj.expirationDate; + jsonDict[@"serial_number"] = valueObj.serialNumber; + jsonDict[@"sha1_fingerprint"] = valueObj.sha1Fingerprint; + if (valueObj.commonName) { + jsonDict[@"common_name"] = valueObj.commonName; } - return self; + + return jsonDict; } -- (instancetype)initWithSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedContentViewDetails; - _sharedContentViewDetails = sharedContentViewDetails; - } - return self; ++ (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)valueDict { + NSString *subject = valueDict[@"subject"]; + NSString *issuer = valueDict[@"issuer"]; + NSString *issueDate = valueDict[@"issue_date"]; + NSString *expirationDate = valueDict[@"expiration_date"]; + NSString *serialNumber = valueDict[@"serial_number"]; + NSString *sha1Fingerprint = valueDict[@"sha1_fingerprint"]; + NSString *commonName = valueDict[@"common_name"] ?: nil; + + return [[DBTEAMLOGCertificate alloc] initWithSubject:subject + issuer:issuer + issueDate:issueDate + expirationDate:expirationDate + serialNumber:serialNumber + sha1Fingerprint:sha1Fingerprint + commonName:commonName]; } -- (instancetype)initWithSharedFolderChangeConfidentialityDetails: - (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)sharedFolderChangeConfidentialityDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGChangeLinkExpirationPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGChangeLinkExpirationPolicy + +#pragma mark - Constructors + +- (instancetype)initWithAllowed { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails; - _sharedFolderChangeConfidentialityDetails = sharedFolderChangeConfidentialityDetails; + _tag = DBTEAMLOGChangeLinkExpirationPolicyAllowed; } return self; } -- (instancetype)initWithSharedFolderChangeLinkPolicyDetails: - (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails { +- (instancetype)initWithNotAllowed { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails; - _sharedFolderChangeLinkPolicyDetails = sharedFolderChangeLinkPolicyDetails; + _tag = DBTEAMLOGChangeLinkExpirationPolicyNotAllowed; } return self; } -- (instancetype)initWithSharedFolderChangeMemberManagementPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)sharedFolderChangeMemberManagementPolicyDetails { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails; - _sharedFolderChangeMemberManagementPolicyDetails = sharedFolderChangeMemberManagementPolicyDetails; + _tag = DBTEAMLOGChangeLinkExpirationPolicyOther; } return self; } -- (instancetype)initWithSharedFolderChangeMemberPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)sharedFolderChangeMemberPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails; - _sharedFolderChangeMemberPolicyDetails = sharedFolderChangeMemberPolicyDetails; - } - return self; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAllowed { + return _tag == DBTEAMLOGChangeLinkExpirationPolicyAllowed; } -- (instancetype)initWithSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderCreateDetails; - _sharedFolderCreateDetails = sharedFolderCreateDetails; - } - return self; +- (BOOL)isNotAllowed { + return _tag == DBTEAMLOGChangeLinkExpirationPolicyNotAllowed; } -- (instancetype)initWithSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderMountDetails; - _sharedFolderMountDetails = sharedFolderMountDetails; - } - return self; +- (BOOL)isOther { + return _tag == DBTEAMLOGChangeLinkExpirationPolicyOther; } -- (instancetype)initWithSharedFolderTransferOwnershipDetails: - (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails; - _sharedFolderTransferOwnershipDetails = sharedFolderTransferOwnershipDetails; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGChangeLinkExpirationPolicyAllowed: + return @"DBTEAMLOGChangeLinkExpirationPolicyAllowed"; + case DBTEAMLOGChangeLinkExpirationPolicyNotAllowed: + return @"DBTEAMLOGChangeLinkExpirationPolicyNotAllowed"; + case DBTEAMLOGChangeLinkExpirationPolicyOther: + return @"DBTEAMLOGChangeLinkExpirationPolicyOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (instancetype)initWithSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedFolderUnmountDetails; - _sharedFolderUnmountDetails = sharedFolderUnmountDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:instance]; } -- (instancetype)initWithSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharedNoteOpenedDetails; - _sharedNoteOpenedDetails = sharedNoteOpenedDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:dict]; } -- (instancetype)initWithShmodelAppCreateDetails:(DBTEAMLOGShmodelAppCreateDetails *)shmodelAppCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelAppCreateDetails; - _shmodelAppCreateDetails = shmodelAppCreateDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:self] description]; } -- (instancetype)initWithShmodelCreateDetails:(DBTEAMLOGShmodelCreateDetails *)shmodelCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelCreateDetails; - _shmodelCreateDetails = shmodelCreateDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithShmodelDisableDetails:(DBTEAMLOGShmodelDisableDetails *)shmodelDisableDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelDisableDetails; - _shmodelDisableDetails = shmodelDisableDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGChangeLinkExpirationPolicyAllowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGChangeLinkExpirationPolicyNotAllowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGChangeLinkExpirationPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } - return self; + + return prime * result; } -- (instancetype)initWithShmodelFbShareDetails:(DBTEAMLOGShmodelFbShareDetails *)shmodelFbShareDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelFbShareDetails; - _shmodelFbShareDetails = shmodelFbShareDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToChangeLinkExpirationPolicy:other]; } -- (instancetype)initWithShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelGroupShareDetails; - _shmodelGroupShareDetails = shmodelGroupShareDetails; +- (BOOL)isEqualToChangeLinkExpirationPolicy:(DBTEAMLOGChangeLinkExpirationPolicy *)aChangeLinkExpirationPolicy { + if (self == aChangeLinkExpirationPolicy) { + return YES; } - return self; + if (self.tag != aChangeLinkExpirationPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGChangeLinkExpirationPolicyAllowed: + return [[self tagName] isEqual:[aChangeLinkExpirationPolicy tagName]]; + case DBTEAMLOGChangeLinkExpirationPolicyNotAllowed: + return [[self tagName] isEqual:[aChangeLinkExpirationPolicy tagName]]; + case DBTEAMLOGChangeLinkExpirationPolicyOther: + return [[self tagName] isEqual:[aChangeLinkExpirationPolicy tagName]]; + } + return YES; } -- (instancetype)initWithShmodelRemoveExpirationDetails: - (DBTEAMLOGShmodelRemoveExpirationDetails *)shmodelRemoveExpirationDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails; - _shmodelRemoveExpirationDetails = shmodelRemoveExpirationDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGChangeLinkExpirationPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGChangeLinkExpirationPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAllowed]) { + jsonDict[@".tag"] = @"allowed"; + } else if ([valueObj isNotAllowed]) { + jsonDict[@".tag"] = @"not_allowed"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return self; + + return jsonDict; } -- (instancetype)initWithShmodelSetExpirationDetails: - (DBTEAMLOGShmodelSetExpirationDetails *)shmodelSetExpirationDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelSetExpirationDetails; - _shmodelSetExpirationDetails = shmodelSetExpirationDetails; ++ (DBTEAMLOGChangeLinkExpirationPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"allowed"]) { + return [[DBTEAMLOGChangeLinkExpirationPolicy alloc] initWithAllowed]; + } else if ([tag isEqualToString:@"not_allowed"]) { + return [[DBTEAMLOGChangeLinkExpirationPolicy alloc] initWithNotAllowed]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGChangeLinkExpirationPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGChangeLinkExpirationPolicy alloc] initWithOther]; } - return self; } -- (instancetype)initWithShmodelTeamCopyDetails:(DBTEAMLOGShmodelTeamCopyDetails *)shmodelTeamCopyDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleDetails.h" +#import "DBTEAMLOGFedAdminRole.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGChangedEnterpriseAdminRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGFedAdminRole *)previousValue + dNewValue:(DBTEAMLOGFedAdminRole *)dNewValue + teamName:(NSString *)teamName { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](teamName); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsShmodelTeamCopyDetails; - _shmodelTeamCopyDetails = shmodelTeamCopyDetails; + _previousValue = previousValue; + _dNewValue = dNewValue; + _teamName = teamName; } return self; } -- (instancetype)initWithShmodelTeamDownloadDetails:(DBTEAMLOGShmodelTeamDownloadDetails *)shmodelTeamDownloadDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelTeamDownloadDetails; - _shmodelTeamDownloadDetails = shmodelTeamDownloadDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer serialize:instance]; } -- (instancetype)initWithShmodelTeamShareDetails:(DBTEAMLOGShmodelTeamShareDetails *)shmodelTeamShareDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelTeamShareDetails; - _shmodelTeamShareDetails = shmodelTeamShareDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer deserialize:dict]; } -- (instancetype)initWithShmodelTeamViewDetails:(DBTEAMLOGShmodelTeamViewDetails *)shmodelTeamViewDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelTeamViewDetails; - _shmodelTeamViewDetails = shmodelTeamViewDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer serialize:self] description]; } -- (instancetype)initWithShmodelVisibilityPasswordDetails: - (DBTEAMLOGShmodelVisibilityPasswordDetails *)shmodelVisibilityPasswordDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails; - _shmodelVisibilityPasswordDetails = shmodelVisibilityPasswordDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithShmodelVisibilityPublicDetails: - (DBTEAMLOGShmodelVisibilityPublicDetails *)shmodelVisibilityPublicDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails; - _shmodelVisibilityPublicDetails = shmodelVisibilityPublicDetails; - } - return self; -} +#pragma mark - Hash method -- (instancetype)initWithShmodelVisibilityTeamOnlyDetails: - (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)shmodelVisibilityTeamOnlyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails; - _shmodelVisibilityTeamOnlyDetails = shmodelVisibilityTeamOnlyDetails; - } - return self; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (instancetype)initWithSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoAddCertDetails; - _ssoAddCertDetails = ssoAddCertDetails; - } - return self; -} + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.teamName hash]; -- (instancetype)initWithSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoAddLoginUrlDetails; - _ssoAddLoginUrlDetails = ssoAddLoginUrlDetails; - } - return self; + return prime * result; } -- (instancetype)initWithSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails; - _ssoAddLogoutUrlDetails = ssoAddLogoutUrlDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToChangedEnterpriseAdminRoleDetails:other]; } -- (instancetype)initWithSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoChangeCertDetails; - _ssoChangeCertDetails = ssoChangeCertDetails; +- (BOOL)isEqualToChangedEnterpriseAdminRoleDetails: + (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)aChangedEnterpriseAdminRoleDetails { + if (self == aChangedEnterpriseAdminRoleDetails) { + return YES; } - return self; + if (![self.previousValue isEqual:aChangedEnterpriseAdminRoleDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aChangedEnterpriseAdminRoleDetails.dNewValue]) { + return NO; + } + if (![self.teamName isEqual:aChangedEnterpriseAdminRoleDetails.teamName]) { + return NO; + } + return YES; } -- (instancetype)initWithSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails; - _ssoChangeLoginUrlDetails = ssoChangeLoginUrlDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseAdminRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGFedAdminRoleSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGFedAdminRoleSerializer serialize:valueObj.dNewValue]; + jsonDict[@"team_name"] = valueObj.teamName; + + return jsonDict; } -- (instancetype)initWithSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails; - _ssoChangeLogoutUrlDetails = ssoChangeLogoutUrlDetails; - } - return self; ++ (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFedAdminRole *previousValue = [DBTEAMLOGFedAdminRoleSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGFedAdminRole *dNewValue = [DBTEAMLOGFedAdminRoleSerializer deserialize:valueDict[@"new_value"]]; + NSString *teamName = valueDict[@"team_name"]; + + return [[DBTEAMLOGChangedEnterpriseAdminRoleDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue + teamName:teamName]; } -- (instancetype)initWithSsoChangeSamlIdentityModeDetails: - (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGChangedEnterpriseAdminRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails; - _ssoChangeSamlIdentityModeDetails = ssoChangeSamlIdentityModeDetails; + _description_ = description_; } return self; } -- (instancetype)initWithSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoRemoveCertDetails; - _ssoRemoveCertDetails = ssoRemoveCertDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer serialize:instance]; } -- (instancetype)initWithSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails; - _ssoRemoveLoginUrlDetails = ssoRemoveLoginUrlDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer deserialize:dict]; } -- (instancetype)initWithSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails; - _ssoRemoveLogoutUrlDetails = ssoRemoveLogoutUrlDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer serialize:self] description]; } -- (instancetype)initWithTeamFolderChangeStatusDetails: - (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails; - _teamFolderChangeStatusDetails = teamFolderChangeStatusDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamFolderCreateDetails; - _teamFolderCreateDetails = teamFolderCreateDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamFolderDowngradeDetails; - _teamFolderDowngradeDetails = teamFolderDowngradeDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToChangedEnterpriseAdminRoleType:other]; } -- (instancetype)initWithTeamFolderPermanentlyDeleteDetails: - (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails; - _teamFolderPermanentlyDeleteDetails = teamFolderPermanentlyDeleteDetails; +- (BOOL)isEqualToChangedEnterpriseAdminRoleType: + (DBTEAMLOGChangedEnterpriseAdminRoleType *)aChangedEnterpriseAdminRoleType { + if (self == aChangedEnterpriseAdminRoleType) { + return YES; } - return self; + if (![self.description_ isEqual:aChangedEnterpriseAdminRoleType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamFolderRenameDetails; - _teamFolderRenameDetails = teamFolderRenameDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseAdminRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithAccountCaptureChangePolicyDetails: - (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails; - _accountCaptureChangePolicyDetails = accountCaptureChangePolicyDetails; - } - return self; ++ (DBTEAMLOGChangedEnterpriseAdminRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGChangedEnterpriseAdminRoleType alloc] initWithDescription_:description_]; } -- (instancetype)initWithAllowDownloadDisabledDetails: - (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h" +#import "DBTEAMLOGFedHandshakeAction.h" +#import "DBTEAMLOGFederationStatusChangeAdditionalInfo.h" +#import "DBTEAMLOGTrustedTeamsRequestState.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails + +#pragma mark - Constructors + +- (instancetype)initWithAction:(DBTEAMLOGFedHandshakeAction *)action + additionalInfo:(DBTEAMLOGFederationStatusChangeAdditionalInfo *)additionalInfo + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue { + [DBStoneValidators nonnullValidator:nil](action); + [DBStoneValidators nonnullValidator:nil](additionalInfo); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsAllowDownloadDisabledDetails; - _allowDownloadDisabledDetails = allowDownloadDisabledDetails; + _action = action; + _additionalInfo = additionalInfo; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } -- (instancetype)initWithAllowDownloadEnabledDetails: - (DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsAllowDownloadEnabledDetails; - _allowDownloadEnabledDetails = allowDownloadEnabledDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer serialize:instance]; } -- (instancetype)initWithDataPlacementRestrictionChangePolicyDetails: - (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails; - _dataPlacementRestrictionChangePolicyDetails = dataPlacementRestrictionChangePolicyDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer deserialize:dict]; } -- (instancetype)initWithDataPlacementRestrictionSatisfyPolicyDetails: - (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails; - _dataPlacementRestrictionSatisfyPolicyDetails = dataPlacementRestrictionSatisfyPolicyDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer serialize:self] description]; } -- (instancetype)initWithDeviceApprovalsChangeDesktopPolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails; - _deviceApprovalsChangeDesktopPolicyDetails = deviceApprovalsChangeDesktopPolicyDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithDeviceApprovalsChangeMobilePolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails; - _deviceApprovalsChangeMobilePolicyDetails = deviceApprovalsChangeMobilePolicyDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.action hash]; + result = prime * result + [self.additionalInfo hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; } -- (instancetype)initWithDeviceApprovalsChangeOverageActionDetails: - (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails; - _deviceApprovalsChangeOverageActionDetails = deviceApprovalsChangeOverageActionDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToChangedEnterpriseConnectedTeamStatusDetails:other]; } -- (instancetype)initWithDeviceApprovalsChangeUnlinkActionDetails: - (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails; - _deviceApprovalsChangeUnlinkActionDetails = deviceApprovalsChangeUnlinkActionDetails; +- (BOOL)isEqualToChangedEnterpriseConnectedTeamStatusDetails: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)aChangedEnterpriseConnectedTeamStatusDetails { + if (self == aChangedEnterpriseConnectedTeamStatusDetails) { + return YES; } - return self; + if (![self.action isEqual:aChangedEnterpriseConnectedTeamStatusDetails.action]) { + return NO; + } + if (![self.additionalInfo isEqual:aChangedEnterpriseConnectedTeamStatusDetails.additionalInfo]) { + return NO; + } + if (![self.previousValue isEqual:aChangedEnterpriseConnectedTeamStatusDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aChangedEnterpriseConnectedTeamStatusDetails.dNewValue]) { + return NO; + } + return YES; } -- (instancetype)initWithEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEmmAddExceptionDetails; - _emmAddExceptionDetails = emmAddExceptionDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"action"] = [DBTEAMLOGFedHandshakeActionSerializer serialize:valueObj.action]; + jsonDict[@"additional_info"] = + [DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer serialize:valueObj.additionalInfo]; + jsonDict[@"previous_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -- (instancetype)initWithEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsEmmChangePolicyDetails; - _emmChangePolicyDetails = emmChangePolicyDetails; - } - return self; ++ (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFedHandshakeAction *action = [DBTEAMLOGFedHandshakeActionSerializer deserialize:valueDict[@"action"]]; + DBTEAMLOGFederationStatusChangeAdditionalInfo *additionalInfo = + [DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer deserialize:valueDict[@"additional_info"]]; + DBTEAMLOGTrustedTeamsRequestState *previousValue = + [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGTrustedTeamsRequestState *dNewValue = + [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails alloc] initWithAction:action + additionalInfo:additionalInfo + previousValue:previousValue + dNewValue:dNewValue]; } -- (instancetype)initWithEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsEmmRemoveExceptionDetails; - _emmRemoveExceptionDetails = emmRemoveExceptionDetails; + _description_ = description_; } return self; } -- (instancetype)initWithExtendedVersionHistoryChangePolicyDetails: - (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails; - _extendedVersionHistoryChangePolicyDetails = extendedVersionHistoryChangePolicyDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer serialize:instance]; } -- (instancetype)initWithFileCommentsChangePolicyDetails: - (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails; - _fileCommentsChangePolicyDetails = fileCommentsChangePolicyDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer deserialize:dict]; } -- (instancetype)initWithFileRequestsChangePolicyDetails: - (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails; - _fileRequestsChangePolicyDetails = fileRequestsChangePolicyDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer serialize:self] description]; } -- (instancetype)initWithFileRequestsEmailsEnabledDetails: - (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails; - _fileRequestsEmailsEnabledDetails = fileRequestsEmailsEnabledDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnlyDetails: - (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails; - _fileRequestsEmailsRestrictedToTeamOnlyDetails = fileRequestsEmailsRestrictedToTeamOnlyDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (instancetype)initWithGoogleSsoChangePolicyDetails: - (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails; - _googleSsoChangePolicyDetails = googleSsoChangePolicyDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToChangedEnterpriseConnectedTeamStatusType:other]; } -- (instancetype)initWithGroupUserManagementChangePolicyDetails: - (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails; - _groupUserManagementChangePolicyDetails = groupUserManagementChangePolicyDetails; +- (BOOL)isEqualToChangedEnterpriseConnectedTeamStatusType: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)aChangedEnterpriseConnectedTeamStatusType { + if (self == aChangedEnterpriseConnectedTeamStatusType) { + return YES; } - return self; + if (![self.description_ isEqual:aChangedEnterpriseConnectedTeamStatusType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithMemberRequestsChangePolicyDetails: - (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails; - _memberRequestsChangePolicyDetails = memberRequestsChangePolicyDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (instancetype)initWithMemberSpaceLimitsAddExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails; - _memberSpaceLimitsAddExceptionDetails = memberSpaceLimitsAddExceptionDetails; - } - return self; ++ (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGChangedEnterpriseConnectedTeamStatusType alloc] initWithDescription_:description_]; } -- (instancetype)initWithMemberSpaceLimitsChangePolicyDetails: - (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails { +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationChangePolicyDetails.h" +#import "DBTEAMLOGClassificationPolicyEnumWrapper.h" +#import "DBTEAMLOGClassificationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGClassificationPolicyEnumWrapper *)previousValue + dNewValue:(DBTEAMLOGClassificationPolicyEnumWrapper *)dNewValue + classificationType:(DBTEAMLOGClassificationType *)classificationType { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](classificationType); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails; - _memberSpaceLimitsChangePolicyDetails = memberSpaceLimitsChangePolicyDetails; + _previousValue = previousValue; + _dNewValue = dNewValue; + _classificationType = classificationType; } return self; } -- (instancetype)initWithMemberSpaceLimitsRemoveExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails; - _memberSpaceLimitsRemoveExceptionDetails = memberSpaceLimitsRemoveExceptionDetails; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationChangePolicyDetailsSerializer serialize:instance]; } -- (instancetype)initWithMemberSuggestionsChangePolicyDetails: - (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails; - _memberSuggestionsChangePolicyDetails = memberSuggestionsChangePolicyDetails; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationChangePolicyDetailsSerializer deserialize:dict]; } -- (instancetype)initWithMicrosoftOfficeAddinChangePolicyDetails: - (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails; - _microsoftOfficeAddinChangePolicyDetails = microsoftOfficeAddinChangePolicyDetails; - } - return self; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationChangePolicyDetailsSerializer serialize:self] description]; } -- (instancetype)initWithNetworkControlChangePolicyDetails: - (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails; - _networkControlChangePolicyDetails = networkControlChangePolicyDetails; - } +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithPaperChangeDeploymentPolicyDetails: - (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails; - _paperChangeDeploymentPolicyDetails = paperChangeDeploymentPolicyDetails; - } - return self; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.classificationType hash]; + + return prime * result; } -- (instancetype)initWithPaperChangeMemberLinkPolicyDetails: - (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails; - _paperChangeMemberLinkPolicyDetails = paperChangeMemberLinkPolicyDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationChangePolicyDetails:other]; } -- (instancetype)initWithPaperChangeMemberPolicyDetails: - (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails; - _paperChangeMemberPolicyDetails = paperChangeMemberPolicyDetails; +- (BOOL)isEqualToClassificationChangePolicyDetails: + (DBTEAMLOGClassificationChangePolicyDetails *)aClassificationChangePolicyDetails { + if (self == aClassificationChangePolicyDetails) { + return YES; } - return self; + if (![self.previousValue isEqual:aClassificationChangePolicyDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aClassificationChangePolicyDetails.dNewValue]) { + return NO; + } + if (![self.classificationType isEqual:aClassificationChangePolicyDetails.classificationType]) { + return NO; + } + return YES; } -- (instancetype)initWithPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsPaperChangePolicyDetails; - _paperChangePolicyDetails = paperChangePolicyDetails; - } - return self; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:valueObj.dNewValue]; + jsonDict[@"classification_type"] = [DBTEAMLOGClassificationTypeSerializer serialize:valueObj.classificationType]; + + return jsonDict; } -- (instancetype)initWithPermanentDeleteChangePolicyDetails: - (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails { ++ (DBTEAMLOGClassificationChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGClassificationPolicyEnumWrapper *previousValue = + [DBTEAMLOGClassificationPolicyEnumWrapperSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGClassificationPolicyEnumWrapper *dNewValue = + [DBTEAMLOGClassificationPolicyEnumWrapperSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGClassificationType *classificationType = + [DBTEAMLOGClassificationTypeSerializer deserialize:valueDict[@"classification_type"]]; + + return [[DBTEAMLOGClassificationChangePolicyDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue + classificationType:classificationType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails; - _permanentDeleteChangePolicyDetails = permanentDeleteChangePolicyDetails; + _description_ = description_; } return self; } -- (instancetype)initWithSharingChangeFolderJoinPolicyDetails: - (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails; - _sharingChangeFolderJoinPolicyDetails = sharingChangeFolderJoinPolicyDetails; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithSharingChangeLinkPolicyDetails: - (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails; - _sharingChangeLinkPolicyDetails = sharingChangeLinkPolicyDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationChangePolicyType:other]; } -- (instancetype)initWithSharingChangeMemberPolicyDetails: - (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails; - _sharingChangeMemberPolicyDetails = sharingChangeMemberPolicyDetails; +- (BOOL)isEqualToClassificationChangePolicyType: + (DBTEAMLOGClassificationChangePolicyType *)aClassificationChangePolicyType { + if (self == aClassificationChangePolicyType) { + return YES; } - return self; + if (![self.description_ isEqual:aClassificationChangePolicyType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithSmartSyncChangePolicyDetails: - (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails { +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGClassificationChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGClassificationChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails; - _smartSyncChangePolicyDetails = smartSyncChangePolicyDetails; } return self; } -- (instancetype)initWithSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails; - _smartSyncNotOptOutDetails = smartSyncNotOptOutDetails; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSmartSyncOptOutDetails; - _smartSyncOptOutDetails = smartSyncOptOutDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationCreateReportDetails:other]; } -- (instancetype)initWithSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsSsoChangePolicyDetails; - _ssoChangePolicyDetails = ssoChangePolicyDetails; +- (BOOL)isEqualToClassificationCreateReportDetails: + (DBTEAMLOGClassificationCreateReportDetails *)aClassificationCreateReportDetails { + if (self == aClassificationCreateReportDetails) { + return YES; } - return self; + return YES; } -- (instancetype)initWithTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails { +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGClassificationCreateReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGClassificationCreateReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationCreateReportFailDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationCreateReportFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTfaChangePolicyDetails; - _tfaChangePolicyDetails = tfaChangePolicyDetails; + _failureReason = failureReason; } return self; } -- (instancetype)initWithTwoAccountChangePolicyDetails: - (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails; - _twoAccountChangePolicyDetails = twoAccountChangePolicyDetails; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationCreateReportFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationCreateReportFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationCreateReportFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithWebSessionsChangeFixedLengthPolicyDetails: - (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails; - _webSessionsChangeFixedLengthPolicyDetails = webSessionsChangeFixedLengthPolicyDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationCreateReportFailDetails:other]; } -- (instancetype)initWithWebSessionsChangeIdleLengthPolicyDetails: - (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails; - _webSessionsChangeIdleLengthPolicyDetails = webSessionsChangeIdleLengthPolicyDetails; +- (BOOL)isEqualToClassificationCreateReportFailDetails: + (DBTEAMLOGClassificationCreateReportFailDetails *)aClassificationCreateReportFailDetails { + if (self == aClassificationCreateReportFailDetails) { + return YES; } - return self; + if (![self.failureReason isEqual:aClassificationCreateReportFailDetails.failureReason]) { + return NO; + } + return YES; } -- (instancetype)initWithTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails { +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationCreateReportFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGClassificationCreateReportFailDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGClassificationCreateReportFailDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationCreateReportFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationCreateReportFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTeamProfileAddLogoDetails; - _teamProfileAddLogoDetails = teamProfileAddLogoDetails; + _description_ = description_; } return self; } -- (instancetype)initWithTeamProfileChangeDefaultLanguageDetails: - (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails; - _teamProfileChangeDefaultLanguageDetails = teamProfileChangeDefaultLanguageDetails; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationCreateReportFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationCreateReportFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationCreateReportFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithTeamProfileChangeLogoDetails: - (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails; - _teamProfileChangeLogoDetails = teamProfileChangeLogoDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationCreateReportFailType:other]; } -- (instancetype)initWithTeamProfileChangeNameDetails: - (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTeamProfileChangeNameDetails; - _teamProfileChangeNameDetails = teamProfileChangeNameDetails; +- (BOOL)isEqualToClassificationCreateReportFailType: + (DBTEAMLOGClassificationCreateReportFailType *)aClassificationCreateReportFailType { + if (self == aClassificationCreateReportFailType) { + return YES; } - return self; + if (![self.description_ isEqual:aClassificationCreateReportFailType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithTeamProfileRemoveLogoDetails: - (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails { +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationCreateReportFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGClassificationCreateReportFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGClassificationCreateReportFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails; - _teamProfileRemoveLogoDetails = teamProfileRemoveLogoDetails; + _description_ = description_; } return self; } -- (instancetype)initWithTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails; - _tfaAddBackupPhoneDetails = tfaAddBackupPhoneDetails; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails; - _tfaAddSecurityKeyDetails = tfaAddSecurityKeyDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationCreateReportType:other]; } -- (instancetype)initWithTfaChangeBackupPhoneDetails: - (DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails; - _tfaChangeBackupPhoneDetails = tfaChangeBackupPhoneDetails; +- (BOOL)isEqualToClassificationCreateReportType: + (DBTEAMLOGClassificationCreateReportType *)aClassificationCreateReportType { + if (self == aClassificationCreateReportType) { + return YES; } - return self; + if (![self.description_ isEqual:aClassificationCreateReportType.description_]) { + return NO; + } + return YES; } -- (instancetype)initWithTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails { +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGClassificationCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGClassificationCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationPolicyEnumWrapper.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationPolicyEnumWrapper + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTfaChangeStatusDetails; - _tfaChangeStatusDetails = tfaChangeStatusDetails; + _tag = DBTEAMLOGClassificationPolicyEnumWrapperDisabled; } return self; } -- (instancetype)initWithTfaRemoveBackupPhoneDetails: - (DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails; - _tfaRemoveBackupPhoneDetails = tfaRemoveBackupPhoneDetails; + _tag = DBTEAMLOGClassificationPolicyEnumWrapperEnabled; } return self; } -- (instancetype)initWithTfaRemoveSecurityKeyDetails: - (DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails { +- (instancetype)initWithMemberAndTeamFolders { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails; - _tfaRemoveSecurityKeyDetails = tfaRemoveSecurityKeyDetails; + _tag = DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders; } return self; } -- (instancetype)initWithTfaResetDetails:(DBTEAMLOGTfaResetDetails *)tfaResetDetails { +- (instancetype)initWithTeamFolders { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsTfaResetDetails; - _tfaResetDetails = tfaResetDetails; + _tag = DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders; } return self; } -- (instancetype)initWithMissingDetails:(DBTEAMLOGMissingDetails *)missingDetails { +- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGEventDetailsMissingDetails; - _missingDetails = missingDetails; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventDetailsOther; + _tag = DBTEAMLOGClassificationPolicyEnumWrapperOther; } return self; } #pragma mark - Instance field accessors -- (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails { - if (![self isMemberChangeMembershipTypeDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails, but was %@.", - [self tagName]]; - } - return _memberChangeMembershipTypeDetails; -} +#pragma mark - Tag state methods -- (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails { - if (![self isMemberPermanentlyDeleteAccountContentsDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails, but was %@.", - [self tagName]]; - } - return _memberPermanentlyDeleteAccountContentsDetails; +- (BOOL)isDisabled { + return _tag == DBTEAMLOGClassificationPolicyEnumWrapperDisabled; } -- (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails { - if (![self isMemberSpaceLimitsChangeStatusDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails, but was %@.", - [self tagName]]; - } - return _memberSpaceLimitsChangeStatusDetails; +- (BOOL)isEnabled { + return _tag == DBTEAMLOGClassificationPolicyEnumWrapperEnabled; } -- (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails { - if (![self isMemberTransferAccountContentsDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails, but was %@.", - [self tagName]]; - } - return _memberTransferAccountContentsDetails; +- (BOOL)isMemberAndTeamFolders { + return _tag == DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders; } -- (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails { - if (![self isPaperAdminExportStartDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperAdminExportStartDetails, but was %@.", [self tagName]]; - } - return _paperAdminExportStartDetails; +- (BOOL)isTeamFolders { + return _tag == DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders; } -- (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails { - if (![self isPaperEnabledUsersGroupAdditionDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails, but was %@.", - [self tagName]]; - } - return _paperEnabledUsersGroupAdditionDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGClassificationPolicyEnumWrapperOther; } -- (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails { - if (![self isPaperEnabledUsersGroupRemovalDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails, but was %@.", - [self tagName]]; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGClassificationPolicyEnumWrapperDisabled: + return @"DBTEAMLOGClassificationPolicyEnumWrapperDisabled"; + case DBTEAMLOGClassificationPolicyEnumWrapperEnabled: + return @"DBTEAMLOGClassificationPolicyEnumWrapperEnabled"; + case DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders: + return @"DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders"; + case DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders: + return @"DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders"; + case DBTEAMLOGClassificationPolicyEnumWrapperOther: + return @"DBTEAMLOGClassificationPolicyEnumWrapperOther"; } - return _paperEnabledUsersGroupRemovalDetails; -} -- (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails { - if (![self isPaperExternalViewAllowDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewAllowDetails, but was %@.", - [self tagName]]; - } - return _paperExternalViewAllowDetails; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails { - if (![self isPaperExternalViewDefaultTeamDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails, but was %@.", - [self tagName]]; - } - return _paperExternalViewDefaultTeamDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:instance]; } -- (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails { - if (![self isPaperExternalViewForbidDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewForbidDetails, but was %@.", - [self tagName]]; - } - return _paperExternalViewForbidDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationPolicyEnumWrapperSerializer deserialize:dict]; } -- (DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails { - if (![self isSfExternalInviteWarnDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfExternalInviteWarnDetails, but was %@.", [self tagName]]; - } - return _sfExternalInviteWarnDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationPolicyEnumWrapperSerializer serialize:self] description]; } -- (DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails { - if (![self isTeamMergeFromDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeFromDetails, but was %@.", [self tagName]]; - } - return _teamMergeFromDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails { - if (![self isTeamMergeToDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeToDetails, but was %@.", [self tagName]]; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGClassificationPolicyEnumWrapperDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationPolicyEnumWrapperEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationPolicyEnumWrapperOther: + result = prime * result + [[self tagName] hash]; + break; } - return _teamMergeToDetails; + + return prime * result; } -- (DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails { - if (![self isAppLinkTeamDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAppLinkTeamDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _appLinkTeamDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationPolicyEnumWrapper:other]; } -- (DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails { - if (![self isAppLinkUserDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAppLinkUserDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToClassificationPolicyEnumWrapper: + (DBTEAMLOGClassificationPolicyEnumWrapper *)aClassificationPolicyEnumWrapper { + if (self == aClassificationPolicyEnumWrapper) { + return YES; } - return _appLinkUserDetails; + if (self.tag != aClassificationPolicyEnumWrapper.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGClassificationPolicyEnumWrapperDisabled: + return [[self tagName] isEqual:[aClassificationPolicyEnumWrapper tagName]]; + case DBTEAMLOGClassificationPolicyEnumWrapperEnabled: + return [[self tagName] isEqual:[aClassificationPolicyEnumWrapper tagName]]; + case DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders: + return [[self tagName] isEqual:[aClassificationPolicyEnumWrapper tagName]]; + case DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders: + return [[self tagName] isEqual:[aClassificationPolicyEnumWrapper tagName]]; + case DBTEAMLOGClassificationPolicyEnumWrapperOther: + return [[self tagName] isEqual:[aClassificationPolicyEnumWrapper tagName]]; + } + return YES; } -- (DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails { - if (![self isAppUnlinkTeamDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAppUnlinkTeamDetails, but was %@.", [self tagName]]; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationPolicyEnumWrapperSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationPolicyEnumWrapper *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isMemberAndTeamFolders]) { + jsonDict[@".tag"] = @"member_and_team_folders"; + } else if ([valueObj isTeamFolders]) { + jsonDict[@".tag"] = @"team_folders"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return _appUnlinkTeamDetails; + + return jsonDict; } -- (DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails { - if (![self isAppUnlinkUserDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAppUnlinkUserDetails, but was %@.", [self tagName]]; ++ (DBTEAMLOGClassificationPolicyEnumWrapper *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"member_and_team_folders"]) { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithMemberAndTeamFolders]; + } else if ([tag isEqualToString:@"team_folders"]) { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithTeamFolders]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithOther]; + } else { + return [[DBTEAMLOGClassificationPolicyEnumWrapper alloc] initWithOther]; } - return _appUnlinkUserDetails; } -- (DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails { - if (![self isFileAddCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileAddCommentDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGClassificationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGClassificationType + +#pragma mark - Constructors + +- (instancetype)initWithPersonalInformation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGClassificationTypePersonalInformation; } - return _fileAddCommentDetails; + return self; } -- (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails { - if (![self isFileChangeCommentSubscriptionDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails, but was %@.", - [self tagName]]; +- (instancetype)initWithPii { + self = [super init]; + if (self) { + _tag = DBTEAMLOGClassificationTypePii; } - return _fileChangeCommentSubscriptionDetails; + return self; } -- (DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails { - if (![self isFileDeleteCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDeleteCommentDetails, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGClassificationTypeOther; } - return _fileDeleteCommentDetails; + return self; } -- (DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails { - if (![self isFileLikeCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileLikeCommentDetails, but was %@.", [self tagName]]; - } - return _fileLikeCommentDetails; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPersonalInformation { + return _tag == DBTEAMLOGClassificationTypePersonalInformation; } -- (DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails { - if (![self isFileResolveCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileResolveCommentDetails, but was %@.", [self tagName]]; - } - return _fileResolveCommentDetails; +- (BOOL)isPii { + return _tag == DBTEAMLOGClassificationTypePii; } -- (DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails { - if (![self isFileUnlikeCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileUnlikeCommentDetails, but was %@.", [self tagName]]; - } - return _fileUnlikeCommentDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGClassificationTypeOther; } -- (DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails { - if (![self isFileUnresolveCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileUnresolveCommentDetails, but was %@.", [self tagName]]; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGClassificationTypePersonalInformation: + return @"DBTEAMLOGClassificationTypePersonalInformation"; + case DBTEAMLOGClassificationTypePii: + return @"DBTEAMLOGClassificationTypePii"; + case DBTEAMLOGClassificationTypeOther: + return @"DBTEAMLOGClassificationTypeOther"; } - return _fileUnresolveCommentDetails; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails { - if (![self isDeviceChangeIpDesktopDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails, but was %@.", [self tagName]]; - } - return _deviceChangeIpDesktopDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGClassificationTypeSerializer serialize:instance]; } -- (DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails { - if (![self isDeviceChangeIpMobileDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails, but was %@.", [self tagName]]; - } - return _deviceChangeIpMobileDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGClassificationTypeSerializer deserialize:dict]; } -- (DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails { - if (![self isDeviceChangeIpWebDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpWebDetails, but was %@.", [self tagName]]; - } - return _deviceChangeIpWebDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGClassificationTypeSerializer serialize:self] description]; } -- (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails { - if (![self isDeviceDeleteOnUnlinkFailDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails, but was %@.", - [self tagName]]; - } - return _deviceDeleteOnUnlinkFailDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails { - if (![self isDeviceDeleteOnUnlinkSuccessDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails, but was %@.", - [self tagName]]; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGClassificationTypePersonalInformation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationTypePii: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGClassificationTypeOther: + result = prime * result + [[self tagName] hash]; + break; } - return _deviceDeleteOnUnlinkSuccessDetails; + + return prime * result; } -- (DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails { - if (![self isDeviceLinkFailDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceLinkFailDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _deviceLinkFailDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToClassificationType:other]; } -- (DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails { - if (![self isDeviceLinkSuccessDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceLinkSuccessDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToClassificationType:(DBTEAMLOGClassificationType *)aClassificationType { + if (self == aClassificationType) { + return YES; } - return _deviceLinkSuccessDetails; + if (self.tag != aClassificationType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGClassificationTypePersonalInformation: + return [[self tagName] isEqual:[aClassificationType tagName]]; + case DBTEAMLOGClassificationTypePii: + return [[self tagName] isEqual:[aClassificationType tagName]]; + case DBTEAMLOGClassificationTypeOther: + return [[self tagName] isEqual:[aClassificationType tagName]]; + } + return YES; } -- (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails { - if (![self isDeviceManagementDisabledDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceManagementDisabledDetails, but was %@.", - [self tagName]]; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGClassificationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGClassificationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPersonalInformation]) { + jsonDict[@".tag"] = @"personal_information"; + } else if ([valueObj isPii]) { + jsonDict[@".tag"] = @"pii"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return _deviceManagementDisabledDetails; + + return jsonDict; } -- (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails { - if (![self isDeviceManagementEnabledDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceManagementEnabledDetails, but was %@.", - [self tagName]]; ++ (DBTEAMLOGClassificationType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"personal_information"]) { + return [[DBTEAMLOGClassificationType alloc] initWithPersonalInformation]; + } else if ([tag isEqualToString:@"pii"]) { + return [[DBTEAMLOGClassificationType alloc] initWithPii]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGClassificationType alloc] initWithOther]; + } else { + return [[DBTEAMLOGClassificationType alloc] initWithOther]; } - return _deviceManagementEnabledDetails; } -- (DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails { - if (![self isDeviceUnlinkDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceUnlinkDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCollectionShareDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCollectionShareDetails + +#pragma mark - Constructors + +- (instancetype)initWithAlbumName:(NSString *)albumName { + [DBStoneValidators nonnullValidator:nil](albumName); + + self = [super init]; + if (self) { + _albumName = albumName; } - return _deviceUnlinkDetails; + return self; } -- (DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails { - if (![self isEmmRefreshAuthTokenDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails, but was %@.", [self tagName]]; - } - return _emmRefreshAuthTokenDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCollectionShareDetailsSerializer serialize:instance]; } -- (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails { - if (![self isAccountCaptureChangeAvailabilityDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails, but was %@.", - [self tagName]]; - } - return _accountCaptureChangeAvailabilityDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCollectionShareDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails { - if (![self isAccountCaptureMigrateAccountDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails, but was %@.", - [self tagName]]; - } - return _accountCaptureMigrateAccountDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCollectionShareDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails { - if (![self isAccountCaptureRelinquishAccountDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails, but was %@.", - [self tagName]]; - } - return _accountCaptureRelinquishAccountDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails { - if (![self isDisabledDomainInvitesDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDisabledDomainInvitesDetails, but was %@.", [self tagName]]; - } - return _disabledDomainInvitesDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.albumName hash]; + + return prime * result; } -- (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails { - if (![self isDomainInvitesApproveRequestToJoinTeamDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails, but was %@.", - [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _domainInvitesApproveRequestToJoinTeamDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCollectionShareDetails:other]; } -- (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails { - if (![self isDomainInvitesDeclineRequestToJoinTeamDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails, but was %@.", - [self tagName]]; +- (BOOL)isEqualToCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)aCollectionShareDetails { + if (self == aCollectionShareDetails) { + return YES; } - return _domainInvitesDeclineRequestToJoinTeamDetails; + if (![self.albumName isEqual:aCollectionShareDetails.albumName]) { + return NO; + } + return YES; } -- (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails { - if (![self isDomainInvitesEmailExistingUsersDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails, but was %@.", - [self tagName]]; - } - return _domainInvitesEmailExistingUsersDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCollectionShareDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"album_name"] = valueObj.albumName; + + return jsonDict; } -- (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails { - if (![self isDomainInvitesRequestToJoinTeamDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails, but was %@.", - [self tagName]]; - } - return _domainInvitesRequestToJoinTeamDetails; ++ (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)valueDict { + NSString *albumName = valueDict[@"album_name"]; + + return [[DBTEAMLOGCollectionShareDetails alloc] initWithAlbumName:albumName]; } -- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails { - if (![self isDomainInvitesSetInviteNewUserPrefToNoDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails, but was %@.", - [self tagName]]; - } - return _domainInvitesSetInviteNewUserPrefToNoDetails; -} +@end -- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails { - if (![self isDomainInvitesSetInviteNewUserPrefToYesDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails, but was %@.", - [self tagName]]; - } - return _domainInvitesSetInviteNewUserPrefToYesDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCollectionShareType.h" -- (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails { - if (![self isDomainVerificationAddDomainFailDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails, but was %@.", - [self tagName]]; - } - return _domainVerificationAddDomainFailDetails; -} +#pragma mark - API Object -- (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails { - if (![self isDomainVerificationAddDomainSuccessDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails, but was %@.", - [self tagName]]; - } - return _domainVerificationAddDomainSuccessDetails; -} +@implementation DBTEAMLOGCollectionShareType -- (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails { - if (![self isDomainVerificationRemoveDomainDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails, but was %@.", - [self tagName]]; - } - return _domainVerificationRemoveDomainDetails; -} +#pragma mark - Constructors -- (DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails { - if (![self isEnabledDomainInvitesDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEnabledDomainInvitesDetails, but was %@.", [self tagName]]; +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _enabledDomainInvitesDetails; + return self; } -- (DBTEAMLOGCreateFolderDetails *)createFolderDetails { - if (![self isCreateFolderDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsCreateFolderDetails, but was %@.", [self tagName]]; - } - return _createFolderDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCollectionShareTypeSerializer serialize:instance]; } -- (DBTEAMLOGFileAddDetails *)fileAddDetails { - if (![self isFileAddDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileAddDetails, but was %@.", [self tagName]]; - } - return _fileAddDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCollectionShareTypeSerializer deserialize:dict]; } -- (DBTEAMLOGFileCopyDetails *)fileCopyDetails { - if (![self isFileCopyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileCopyDetails, but was %@.", [self tagName]]; - } - return _fileCopyDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCollectionShareTypeSerializer serialize:self] description]; } -- (DBTEAMLOGFileDeleteDetails *)fileDeleteDetails { - if (![self isFileDeleteDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDeleteDetails, but was %@.", [self tagName]]; - } - return _fileDeleteDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGFileDownloadDetails *)fileDownloadDetails { - if (![self isFileDownloadDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDownloadDetails, but was %@.", [self tagName]]; - } - return _fileDownloadDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGFileEditDetails *)fileEditDetails { - if (![self isFileEditDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileEditDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _fileEditDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCollectionShareType:other]; } -- (DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails { - if (![self isFileGetCopyReferenceDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileGetCopyReferenceDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToCollectionShareType:(DBTEAMLOGCollectionShareType *)aCollectionShareType { + if (self == aCollectionShareType) { + return YES; } - return _fileGetCopyReferenceDetails; + if (![self.description_ isEqual:aCollectionShareType.description_]) { + return NO; + } + return YES; } -- (DBTEAMLOGFileMoveDetails *)fileMoveDetails { - if (![self isFileMoveDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileMoveDetails, but was %@.", [self tagName]]; - } - return _fileMoveDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCollectionShareTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCollectionShareType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails { - if (![self isFilePermanentlyDeleteDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails, but was %@.", [self tagName]]; - } - return _filePermanentlyDeleteDetails; ++ (DBTEAMLOGCollectionShareType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGCollectionShareType alloc] initWithDescription_:description_]; } -- (DBTEAMLOGFilePreviewDetails *)filePreviewDetails { - if (![self isFilePreviewDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFilePreviewDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGComputerBackupPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGComputerBackupPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGComputerBackupPolicyDefault_; } - return _filePreviewDetails; + return self; } -- (DBTEAMLOGFileRenameDetails *)fileRenameDetails { - if (![self isFileRenameDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRenameDetails, but was %@.", [self tagName]]; +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGComputerBackupPolicyDisabled; } - return _fileRenameDetails; + return self; } -- (DBTEAMLOGFileRestoreDetails *)fileRestoreDetails { - if (![self isFileRestoreDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRestoreDetails, but was %@.", [self tagName]]; +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGComputerBackupPolicyEnabled; } - return _fileRestoreDetails; + return self; } -- (DBTEAMLOGFileRevertDetails *)fileRevertDetails { - if (![self isFileRevertDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRevertDetails, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGComputerBackupPolicyOther; } - return _fileRevertDetails; + return self; } -- (DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails { - if (![self isFileRollbackChangesDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRollbackChangesDetails, but was %@.", [self tagName]]; - } - return _fileRollbackChangesDetails; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGComputerBackupPolicyDefault_; } -- (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails { - if (![self isFileSaveCopyReferenceDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails, but was %@.", [self tagName]]; - } - return _fileSaveCopyReferenceDetails; +- (BOOL)isDisabled { + return _tag == DBTEAMLOGComputerBackupPolicyDisabled; } -- (DBTEAMLOGFileRequestAddDeadlineDetails *)fileRequestAddDeadlineDetails { - if (![self isFileRequestAddDeadlineDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails, but was %@.", - [self tagName]]; - } - return _fileRequestAddDeadlineDetails; +- (BOOL)isEnabled { + return _tag == DBTEAMLOGComputerBackupPolicyEnabled; } -- (DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails { - if (![self isFileRequestChangeDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestChangeDetails, but was %@.", [self tagName]]; - } - return _fileRequestChangeDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGComputerBackupPolicyOther; } -- (DBTEAMLOGFileRequestChangeFolderDetails *)fileRequestChangeFolderDetails { - if (![self isFileRequestChangeFolderDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestChangeFolderDetails, but was %@.", - [self tagName]]; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGComputerBackupPolicyDefault_: + return @"DBTEAMLOGComputerBackupPolicyDefault_"; + case DBTEAMLOGComputerBackupPolicyDisabled: + return @"DBTEAMLOGComputerBackupPolicyDisabled"; + case DBTEAMLOGComputerBackupPolicyEnabled: + return @"DBTEAMLOGComputerBackupPolicyEnabled"; + case DBTEAMLOGComputerBackupPolicyOther: + return @"DBTEAMLOGComputerBackupPolicyOther"; } - return _fileRequestChangeFolderDetails; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails { - if (![self isFileRequestCloseDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestCloseDetails, but was %@.", [self tagName]]; - } - return _fileRequestCloseDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGComputerBackupPolicySerializer serialize:instance]; } -- (DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails { - if (![self isFileRequestCreateDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestCreateDetails, but was %@.", [self tagName]]; - } - return _fileRequestCreateDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGComputerBackupPolicySerializer deserialize:dict]; } -- (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails { - if (![self isFileRequestReceiveFileDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestReceiveFileDetails, but was %@.", - [self tagName]]; - } - return _fileRequestReceiveFileDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGComputerBackupPolicySerializer serialize:self] description]; } -- (DBTEAMLOGFileRequestRemoveDeadlineDetails *)fileRequestRemoveDeadlineDetails { - if (![self isFileRequestRemoveDeadlineDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails, but was %@.", - [self tagName]]; - } - return _fileRequestRemoveDeadlineDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGFileRequestSendDetails *)fileRequestSendDetails { - if (![self isFileRequestSendDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestSendDetails, but was %@.", [self tagName]]; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGComputerBackupPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGComputerBackupPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGComputerBackupPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGComputerBackupPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } - return _fileRequestSendDetails; + + return prime * result; } -- (DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails { - if (![self isGroupAddExternalIdDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupAddExternalIdDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _groupAddExternalIdDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToComputerBackupPolicy:other]; } -- (DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails { - if (![self isGroupAddMemberDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupAddMemberDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToComputerBackupPolicy:(DBTEAMLOGComputerBackupPolicy *)aComputerBackupPolicy { + if (self == aComputerBackupPolicy) { + return YES; } - return _groupAddMemberDetails; + if (self.tag != aComputerBackupPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGComputerBackupPolicyDefault_: + return [[self tagName] isEqual:[aComputerBackupPolicy tagName]]; + case DBTEAMLOGComputerBackupPolicyDisabled: + return [[self tagName] isEqual:[aComputerBackupPolicy tagName]]; + case DBTEAMLOGComputerBackupPolicyEnabled: + return [[self tagName] isEqual:[aComputerBackupPolicy tagName]]; + case DBTEAMLOGComputerBackupPolicyOther: + return [[self tagName] isEqual:[aComputerBackupPolicy tagName]]; + } + return YES; } -- (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails { - if (![self isGroupChangeExternalIdDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeExternalIdDetails, but was %@.", [self tagName]]; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGComputerBackupPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return _groupChangeExternalIdDetails; + + return jsonDict; } -- (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails { - if (![self isGroupChangeManagementTypeDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails, but was %@.", - [self tagName]]; ++ (DBTEAMLOGComputerBackupPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGComputerBackupPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGComputerBackupPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGComputerBackupPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGComputerBackupPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGComputerBackupPolicy alloc] initWithOther]; } - return _groupChangeManagementTypeDetails; } -- (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails { - if (![self isGroupChangeMemberRoleDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGComputerBackupPolicy.h" +#import "DBTEAMLOGComputerBackupPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGComputerBackupPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGComputerBackupPolicy *)dNewValue + previousValue:(DBTEAMLOGComputerBackupPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } - return _groupChangeMemberRoleDetails; + return self; } -- (DBTEAMLOGGroupCreateDetails *)groupCreateDetails { - if (![self isGroupCreateDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupCreateDetails, but was %@.", [self tagName]]; - } - return _groupCreateDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer serialize:instance]; } -- (DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails { - if (![self isGroupDeleteDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupDeleteDetails, but was %@.", [self tagName]]; - } - return _groupDeleteDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGGroupMovedDetails *)groupMovedDetails { - if (![self isGroupMovedDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupMovedDetails, but was %@.", [self tagName]]; - } - return _groupMovedDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails { - if (![self isGroupRemoveExternalIdDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails, but was %@.", [self tagName]]; - } - return _groupRemoveExternalIdDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails { - if (![self isGroupRemoveMemberDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRemoveMemberDetails, but was %@.", [self tagName]]; - } - return _groupRemoveMemberDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; } -- (DBTEAMLOGGroupRenameDetails *)groupRenameDetails { - if (![self isGroupRenameDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRenameDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _groupRenameDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToComputerBackupPolicyChangedDetails:other]; } -- (DBTEAMLOGEmmErrorDetails *)emmErrorDetails { - if (![self isEmmErrorDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmErrorDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToComputerBackupPolicyChangedDetails: + (DBTEAMLOGComputerBackupPolicyChangedDetails *)aComputerBackupPolicyChangedDetails { + if (self == aComputerBackupPolicyChangedDetails) { + return YES; } - return _emmErrorDetails; + if (![self.dNewValue isEqual:aComputerBackupPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aComputerBackupPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; } -- (DBTEAMLOGLoginFailDetails *)loginFailDetails { - if (![self isLoginFailDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsLoginFailDetails, but was %@.", [self tagName]]; - } - return _loginFailDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGComputerBackupPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGComputerBackupPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; } -- (DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails { - if (![self isLoginSuccessDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsLoginSuccessDetails, but was %@.", [self tagName]]; - } - return _loginSuccessDetails; ++ (DBTEAMLOGComputerBackupPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGComputerBackupPolicy *dNewValue = + [DBTEAMLOGComputerBackupPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGComputerBackupPolicy *previousValue = + [DBTEAMLOGComputerBackupPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGComputerBackupPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } -- (DBTEAMLOGLogoutDetails *)logoutDetails { - if (![self isLogoutDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsLogoutDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGComputerBackupPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGComputerBackupPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _logoutDetails; + return self; } -- (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails { - if (![self isResellerSupportSessionEndDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsResellerSupportSessionEndDetails, but was %@.", - [self tagName]]; - } - return _resellerSupportSessionEndDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGComputerBackupPolicyChangedTypeSerializer serialize:instance]; } -- (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails { - if (![self isResellerSupportSessionStartDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsResellerSupportSessionStartDetails, but was %@.", - [self tagName]]; - } - return _resellerSupportSessionStartDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGComputerBackupPolicyChangedTypeSerializer deserialize:dict]; } -- (DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails { - if (![self isSignInAsSessionEndDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSignInAsSessionEndDetails, but was %@.", [self tagName]]; - } - return _signInAsSessionEndDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGComputerBackupPolicyChangedTypeSerializer serialize:self] description]; } -- (DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails { - if (![self isSignInAsSessionStartDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSignInAsSessionStartDetails, but was %@.", [self tagName]]; - } - return _signInAsSessionStartDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGSsoErrorDetails *)ssoErrorDetails { - if (![self isSsoErrorDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoErrorDetails, but was %@.", [self tagName]]; - } - return _ssoErrorDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails { - if (![self isMemberAddNameDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberAddNameDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _memberAddNameDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToComputerBackupPolicyChangedType:other]; } -- (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails { - if (![self isMemberChangeAdminRoleDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToComputerBackupPolicyChangedType: + (DBTEAMLOGComputerBackupPolicyChangedType *)aComputerBackupPolicyChangedType { + if (self == aComputerBackupPolicyChangedType) { + return YES; } - return _memberChangeAdminRoleDetails; + if (![self.description_ isEqual:aComputerBackupPolicyChangedType.description_]) { + return NO; + } + return YES; } -- (DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails { - if (![self isMemberChangeEmailDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeEmailDetails, but was %@.", [self tagName]]; - } - return _memberChangeEmailDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGComputerBackupPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails { - if (![self isMemberChangeNameDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeNameDetails, but was %@.", [self tagName]]; - } - return _memberChangeNameDetails; ++ (DBTEAMLOGComputerBackupPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGComputerBackupPolicyChangedType alloc] initWithDescription_:description_]; } -- (DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails { - if (![self isMemberChangeStatusDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeStatusDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGConnectedTeamName.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGConnectedTeamName + +#pragma mark - Constructors + +- (instancetype)initWithTeam:(NSString *)team { + [DBStoneValidators nonnullValidator:nil](team); + + self = [super init]; + if (self) { + _team = team; } - return _memberChangeStatusDetails; + return self; } -- (DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails { - if (![self isMemberSuggestDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSuggestDetails, but was %@.", [self tagName]]; - } - return _memberSuggestDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGConnectedTeamNameSerializer serialize:instance]; } -- (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails { - if (![self isPaperContentAddMemberDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentAddMemberDetails, but was %@.", [self tagName]]; - } - return _paperContentAddMemberDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGConnectedTeamNameSerializer deserialize:dict]; } -- (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails { - if (![self isPaperContentAddToFolderDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentAddToFolderDetails, but was %@.", - [self tagName]]; - } - return _paperContentAddToFolderDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGConnectedTeamNameSerializer serialize:self] description]; } -- (DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails { - if (![self isPaperContentArchiveDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentArchiveDetails, but was %@.", [self tagName]]; - } - return _paperContentArchiveDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails { - if (![self isPaperContentCreateDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentCreateDetails, but was %@.", [self tagName]]; - } - return _paperContentCreateDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.team hash]; + + return prime * result; } -- (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails { - if (![self isPaperContentPermanentlyDeleteDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails, but was %@.", - [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _paperContentPermanentlyDeleteDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToConnectedTeamName:other]; } -- (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails { - if (![self isPaperContentRemoveFromFolderDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails, but was %@.", - [self tagName]]; +- (BOOL)isEqualToConnectedTeamName:(DBTEAMLOGConnectedTeamName *)aConnectedTeamName { + if (self == aConnectedTeamName) { + return YES; } - return _paperContentRemoveFromFolderDetails; + if (![self.team isEqual:aConnectedTeamName.team]) { + return NO; + } + return YES; } -- (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails { - if (![self isPaperContentRemoveMemberDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails, but was %@.", - [self tagName]]; - } - return _paperContentRemoveMemberDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGConnectedTeamNameSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGConnectedTeamName *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team"] = valueObj.team; + + return jsonDict; } -- (DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails { - if (![self isPaperContentRenameDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRenameDetails, but was %@.", [self tagName]]; - } - return _paperContentRenameDetails; ++ (DBTEAMLOGConnectedTeamName *)deserialize:(NSDictionary *)valueDict { + NSString *team = valueDict[@"team"]; + + return [[DBTEAMLOGConnectedTeamName alloc] initWithTeam:team]; } -- (DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails { - if (![self isPaperContentRestoreDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRestoreDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGContentAdministrationPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } - return _paperContentRestoreDetails; + return self; } -- (DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails { - if (![self isPaperDocAddCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocAddCommentDetails, but was %@.", [self tagName]]; - } - return _paperDocAddCommentDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer serialize:instance]; } -- (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails { - if (![self isPaperDocChangeMemberRoleDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails, but was %@.", - [self tagName]]; - } - return _paperDocChangeMemberRoleDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails { - if (![self isPaperDocChangeSharingPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails, but was %@.", - [self tagName]]; - } - return _paperDocChangeSharingPolicyDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails { - if (![self isPaperDocChangeSubscriptionDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails, but was %@.", - [self tagName]]; - } - return _paperDocChangeSubscriptionDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails { - if (![self isPaperDocDeletedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDeletedDetails, but was %@.", [self tagName]]; - } - return _paperDocDeletedDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; } -- (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails { - if (![self isPaperDocDeleteCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _paperDocDeleteCommentDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToContentAdministrationPolicyChangedDetails:other]; } -- (DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails { - if (![self isPaperDocDownloadDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDownloadDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToContentAdministrationPolicyChangedDetails: + (DBTEAMLOGContentAdministrationPolicyChangedDetails *)aContentAdministrationPolicyChangedDetails { + if (self == aContentAdministrationPolicyChangedDetails) { + return YES; } - return _paperDocDownloadDetails; + if (![self.dNewValue isEqual:aContentAdministrationPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aContentAdministrationPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; } -- (DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails { - if (![self isPaperDocEditDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocEditDetails, but was %@.", [self tagName]]; - } - return _paperDocEditDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGContentAdministrationPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"previous_value"] = valueObj.previousValue; + + return jsonDict; } -- (DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails { - if (![self isPaperDocEditCommentDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocEditCommentDetails, but was %@.", [self tagName]]; - } - return _paperDocEditCommentDetails; ++ (DBTEAMLOGContentAdministrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + NSString *previousValue = valueDict[@"previous_value"]; + + return [[DBTEAMLOGContentAdministrationPolicyChangedDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } -- (DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails { - if (![self isPaperDocFollowedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocFollowedDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGContentAdministrationPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _paperDocFollowedDetails; + return self; } -- (DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails { - if (![self isPaperDocMentionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocMentionDetails, but was %@.", [self tagName]]; - } - return _paperDocMentionDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer serialize:instance]; } -- (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails { - if (![self isPaperDocRequestAccessDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocRequestAccessDetails, but was %@.", [self tagName]]; - } - return _paperDocRequestAccessDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer deserialize:dict]; } -- (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails { - if (![self isPaperDocResolveCommentDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocResolveCommentDetails, but was %@.", - [self tagName]]; - } - return _paperDocResolveCommentDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer serialize:self] description]; } -- (DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails { - if (![self isPaperDocRevertDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocRevertDetails, but was %@.", [self tagName]]; - } - return _paperDocRevertDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails { - if (![self isPaperDocSlackShareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocSlackShareDetails, but was %@.", [self tagName]]; - } - return _paperDocSlackShareDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails { - if (![self isPaperDocTeamInviteDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocTeamInviteDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _paperDocTeamInviteDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToContentAdministrationPolicyChangedType:other]; } -- (DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails { - if (![self isPaperDocTrashedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocTrashedDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToContentAdministrationPolicyChangedType: + (DBTEAMLOGContentAdministrationPolicyChangedType *)aContentAdministrationPolicyChangedType { + if (self == aContentAdministrationPolicyChangedType) { + return YES; } - return _paperDocTrashedDetails; + if (![self.description_ isEqual:aContentAdministrationPolicyChangedType.description_]) { + return NO; + } + return YES; } -- (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails { - if (![self isPaperDocUnresolveCommentDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails, but was %@.", - [self tagName]]; - } - return _paperDocUnresolveCommentDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGContentAdministrationPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails { - if (![self isPaperDocUntrashedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocUntrashedDetails, but was %@.", [self tagName]]; - } - return _paperDocUntrashedDetails; ++ (DBTEAMLOGContentAdministrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGContentAdministrationPolicyChangedType alloc] initWithDescription_:description_]; } -- (DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails { - if (![self isPaperDocViewDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocViewDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGContentPermanentDeletePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGContentPermanentDeletePolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContentPermanentDeletePolicyDisabled; } - return _paperDocViewDetails; + return self; } -- (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails { - if (![self isPaperFolderChangeSubscriptionDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails, but was %@.", - [self tagName]]; +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContentPermanentDeletePolicyEnabled; } - return _paperFolderChangeSubscriptionDetails; + return self; } -- (DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails { - if (![self isPaperFolderDeletedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderDeletedDetails, but was %@.", [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContentPermanentDeletePolicyOther; } - return _paperFolderDeletedDetails; + return self; } -- (DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails { - if (![self isPaperFolderFollowedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderFollowedDetails, but was %@.", [self tagName]]; - } - return _paperFolderFollowedDetails; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGContentPermanentDeletePolicyDisabled; } -- (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails { - if (![self isPaperFolderTeamInviteDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails, but was %@.", [self tagName]]; - } - return _paperFolderTeamInviteDetails; +- (BOOL)isEnabled { + return _tag == DBTEAMLOGContentPermanentDeletePolicyEnabled; } -- (DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails { - if (![self isPasswordChangeDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordChangeDetails, but was %@.", [self tagName]]; - } - return _passwordChangeDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGContentPermanentDeletePolicyOther; } -- (DBTEAMLOGPasswordResetDetails *)passwordResetDetails { - if (![self isPasswordResetDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordResetDetails, but was %@.", [self tagName]]; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGContentPermanentDeletePolicyDisabled: + return @"DBTEAMLOGContentPermanentDeletePolicyDisabled"; + case DBTEAMLOGContentPermanentDeletePolicyEnabled: + return @"DBTEAMLOGContentPermanentDeletePolicyEnabled"; + case DBTEAMLOGContentPermanentDeletePolicyOther: + return @"DBTEAMLOGContentPermanentDeletePolicyOther"; } - return _passwordResetDetails; -} -- (DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails { - if (![self isPasswordResetAllDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordResetAllDetails, but was %@.", [self tagName]]; - } - return _passwordResetAllDetails; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails { - if (![self isEmmCreateExceptionsReportDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails, but was %@.", - [self tagName]]; - } - return _emmCreateExceptionsReportDetails; -} +#pragma mark - Serialization methods -- (DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails { - if (![self isEmmCreateUsageReportDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmCreateUsageReportDetails, but was %@.", [self tagName]]; - } - return _emmCreateUsageReportDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:instance]; } -- (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails { - if (![self isSmartSyncCreateAdminPrivilegeReportDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails, but was %@.", - [self tagName]]; - } - return _smartSyncCreateAdminPrivilegeReportDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:dict]; } -- (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails { - if (![self isTeamActivityCreateReportDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamActivityCreateReportDetails, but was %@.", - [self tagName]]; - } - return _teamActivityCreateReportDetails; -} +#pragma mark - Debug Description method -- (DBTEAMLOGCollectionShareDetails *)collectionShareDetails { - if (![self isCollectionShareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsCollectionShareDetails, but was %@.", [self tagName]]; - } - return _collectionShareDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGContentPermanentDeletePolicySerializer serialize:self] description]; } -- (DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails { - if (![self isNoteAclInviteOnlyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails, but was %@.", [self tagName]]; - } - return _noteAclInviteOnlyDetails; -} +#pragma mark - Copyable method -- (DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails { - if (![self isNoteAclLinkDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclLinkDetails, but was %@.", [self tagName]]; - } - return _noteAclLinkDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails { - if (![self isNoteAclTeamLinkDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclTeamLinkDetails, but was %@.", [self tagName]]; - } - return _noteAclTeamLinkDetails; -} +#pragma mark - Hash method -- (DBTEAMLOGNoteSharedDetails *)noteSharedDetails { - if (![self isNoteSharedDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteSharedDetails, but was %@.", [self tagName]]; - } - return _noteSharedDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails { - if (![self isNoteShareReceiveDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteShareReceiveDetails, but was %@.", [self tagName]]; + switch (_tag) { + case DBTEAMLOGContentPermanentDeletePolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGContentPermanentDeletePolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGContentPermanentDeletePolicyOther: + result = prime * result + [[self tagName] hash]; + break; } - return _noteShareReceiveDetails; -} -- (DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails { - if (![self isOpenNoteSharedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsOpenNoteSharedDetails, but was %@.", [self tagName]]; - } - return _openNoteSharedDetails; + return prime * result; } -- (DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails { - if (![self isSfAddGroupDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfAddGroupDetails, but was %@.", [self tagName]]; - } - return _sfAddGroupDetails; -} +#pragma mark - Equality method -- (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails { - if (![self isSfAllowNonMembersToViewSharedLinksDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails, but was %@.", - [self tagName]]; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _sfAllowNonMembersToViewSharedLinksDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToContentPermanentDeletePolicy:other]; } -- (DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails { - if (![self isSfInviteGroupDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfInviteGroupDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToContentPermanentDeletePolicy:(DBTEAMLOGContentPermanentDeletePolicy *)aContentPermanentDeletePolicy { + if (self == aContentPermanentDeletePolicy) { + return YES; } - return _sfInviteGroupDetails; + if (self.tag != aContentPermanentDeletePolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGContentPermanentDeletePolicyDisabled: + return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; + case DBTEAMLOGContentPermanentDeletePolicyEnabled: + return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; + case DBTEAMLOGContentPermanentDeletePolicyOther: + return [[self tagName] isEqual:[aContentPermanentDeletePolicy tagName]]; + } + return YES; } -- (DBTEAMLOGSfNestDetails *)sfNestDetails { - if (![self isSfNestDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfNestDetails, but was %@.", [self tagName]]; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGContentPermanentDeletePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGContentPermanentDeletePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return _sfNestDetails; + + return jsonDict; } -- (DBTEAMLOGSfTeamDeclineDetails *)sfTeamDeclineDetails { - if (![self isSfTeamDeclineDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamDeclineDetails, but was %@.", [self tagName]]; ++ (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGContentPermanentDeletePolicy alloc] initWithOther]; } - return _sfTeamDeclineDetails; } -- (DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails { - if (![self isSfTeamGrantAccessDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamGrantAccessDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGContextLogInfo.h" +#import "DBTEAMLOGNonTeamMemberLogInfo.h" +#import "DBTEAMLOGTeamLogInfo.h" +#import "DBTEAMLOGTeamMemberLogInfo.h" +#import "DBTEAMLOGTrustedNonTeamMemberLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGContextLogInfo + +@synthesize nonTeamMember = _nonTeamMember; +@synthesize organizationTeam = _organizationTeam; +@synthesize teamMember = _teamMember; +@synthesize trustedNonTeamMember = _trustedNonTeamMember; + +#pragma mark - Constructors + +- (instancetype)initWithAnonymous { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoAnonymous; } - return _sfTeamGrantAccessDetails; + return self; } -- (DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails { - if (![self isSfTeamInviteDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamInviteDetails, but was %@.", [self tagName]]; +- (instancetype)initWithNonTeamMember:(DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoNonTeamMember; + _nonTeamMember = nonTeamMember; } - return _sfTeamInviteDetails; + return self; } -- (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails { - if (![self isSfTeamInviteChangeRoleDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails, but was %@.", - [self tagName]]; +- (instancetype)initWithOrganizationTeam:(DBTEAMLOGTeamLogInfo *)organizationTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoOrganizationTeam; + _organizationTeam = organizationTeam; } - return _sfTeamInviteChangeRoleDetails; + return self; } -- (DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails { - if (![self isSfTeamJoinDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamJoinDetails, but was %@.", [self tagName]]; +- (instancetype)initWithTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoTeam; } - return _sfTeamJoinDetails; + return self; } -- (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails { - if (![self isSfTeamJoinFromOobLinkDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails, but was %@.", [self tagName]]; +- (instancetype)initWithTeamMember:(DBTEAMLOGTeamMemberLogInfo *)teamMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoTeamMember; + _teamMember = teamMember; } - return _sfTeamJoinFromOobLinkDetails; + return self; } -- (DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails { - if (![self isSfTeamUninviteDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamUninviteDetails, but was %@.", [self tagName]]; +- (instancetype)initWithTrustedNonTeamMember:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)trustedNonTeamMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoTrustedNonTeamMember; + _trustedNonTeamMember = trustedNonTeamMember; } - return _sfTeamUninviteDetails; + return self; } -- (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails { - if (![self isSharedContentAddInviteesDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddInviteesDetails, but was %@.", - [self tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGContextLogInfoOther; } - return _sharedContentAddInviteesDetails; + return self; } -- (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails { - if (![self isSharedContentAddLinkExpiryDetails]) { +#pragma mark - Instance field accessors + +- (DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember { + if (![self isNonTeamMember]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails, but was %@.", - [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGContextLogInfoNonTeamMember, but was %@.", [self tagName]]; } - return _sharedContentAddLinkExpiryDetails; + return _nonTeamMember; } -- (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails { - if (![self isSharedContentAddLinkPasswordDetails]) { +- (DBTEAMLOGTeamLogInfo *)organizationTeam { + if (![self isOrganizationTeam]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails, but was %@.", - [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGContextLogInfoOrganizationTeam, but was %@.", [self tagName]]; } - return _sharedContentAddLinkPasswordDetails; + return _organizationTeam; } -- (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails { - if (![self isSharedContentAddMemberDetails]) { +- (DBTEAMLOGTeamMemberLogInfo *)teamMember { + if (![self isTeamMember]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddMemberDetails, but was %@.", - [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGContextLogInfoTeamMember, but was %@.", [self tagName]]; } - return _sharedContentAddMemberDetails; + return _teamMember; } -- (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails { - if (![self isSharedContentChangeDownloadsPolicyDetails]) { +- (DBTEAMLOGTrustedNonTeamMemberLogInfo *)trustedNonTeamMember { + if (![self isTrustedNonTeamMember]) { [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails, but was %@.", - [self tagName]]; + format:@"Invalid tag: required DBTEAMLOGContextLogInfoTrustedNonTeamMember, but was %@.", [self tagName]]; } - return _sharedContentChangeDownloadsPolicyDetails; + return _trustedNonTeamMember; } -- (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails { - if (![self isSharedContentChangeInviteeRoleDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeInviteeRoleDetails; -} +#pragma mark - Tag state methods -- (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails { - if (![self isSharedContentChangeLinkAudienceDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeLinkAudienceDetails; +- (BOOL)isAnonymous { + return _tag == DBTEAMLOGContextLogInfoAnonymous; } -- (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails { - if (![self isSharedContentChangeLinkExpiryDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeLinkExpiryDetails; +- (BOOL)isNonTeamMember { + return _tag == DBTEAMLOGContextLogInfoNonTeamMember; } -- (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails { - if (![self isSharedContentChangeLinkPasswordDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeLinkPasswordDetails; +- (BOOL)isOrganizationTeam { + return _tag == DBTEAMLOGContextLogInfoOrganizationTeam; } -- (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails { - if (![self isSharedContentChangeMemberRoleDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeMemberRoleDetails; +- (BOOL)isTeam { + return _tag == DBTEAMLOGContextLogInfoTeam; } -- (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails { - if (![self isSharedContentChangeViewerInfoPolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails, but was %@.", - [self tagName]]; - } - return _sharedContentChangeViewerInfoPolicyDetails; +- (BOOL)isTeamMember { + return _tag == DBTEAMLOGContextLogInfoTeamMember; } -- (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails { - if (![self isSharedContentClaimInvitationDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails, but was %@.", - [self tagName]]; - } - return _sharedContentClaimInvitationDetails; +- (BOOL)isTrustedNonTeamMember { + return _tag == DBTEAMLOGContextLogInfoTrustedNonTeamMember; } -- (DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails { - if (![self isSharedContentCopyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentCopyDetails, but was %@.", [self tagName]]; - } - return _sharedContentCopyDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGContextLogInfoOther; } -- (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails { - if (![self isSharedContentDownloadDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentDownloadDetails, but was %@.", [self tagName]]; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGContextLogInfoAnonymous: + return @"DBTEAMLOGContextLogInfoAnonymous"; + case DBTEAMLOGContextLogInfoNonTeamMember: + return @"DBTEAMLOGContextLogInfoNonTeamMember"; + case DBTEAMLOGContextLogInfoOrganizationTeam: + return @"DBTEAMLOGContextLogInfoOrganizationTeam"; + case DBTEAMLOGContextLogInfoTeam: + return @"DBTEAMLOGContextLogInfoTeam"; + case DBTEAMLOGContextLogInfoTeamMember: + return @"DBTEAMLOGContextLogInfoTeamMember"; + case DBTEAMLOGContextLogInfoTrustedNonTeamMember: + return @"DBTEAMLOGContextLogInfoTrustedNonTeamMember"; + case DBTEAMLOGContextLogInfoOther: + return @"DBTEAMLOGContextLogInfoOther"; } - return _sharedContentDownloadDetails; -} -- (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails { - if (![self isSharedContentRelinquishMembershipDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRelinquishMembershipDetails; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (DBTEAMLOGSharedContentRemoveInviteeDetails *)sharedContentRemoveInviteeDetails { - if (![self isSharedContentRemoveInviteeDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRemoveInviteeDetails; -} +#pragma mark - Serialization methods -- (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails { - if (![self isSharedContentRemoveLinkExpiryDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRemoveLinkExpiryDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGContextLogInfoSerializer serialize:instance]; } -- (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails { - if (![self isSharedContentRemoveLinkPasswordDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRemoveLinkPasswordDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGContextLogInfoSerializer deserialize:dict]; } -- (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails { - if (![self isSharedContentRemoveMemberDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRemoveMemberDetails; -} +#pragma mark - Debug Description method -- (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails { - if (![self isSharedContentRequestAccessDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRequestAccessDetails, but was %@.", - [self tagName]]; - } - return _sharedContentRequestAccessDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGContextLogInfoSerializer serialize:self] description]; } -- (DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails { - if (![self isSharedContentUnshareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentUnshareDetails, but was %@.", [self tagName]]; - } - return _sharedContentUnshareDetails; -} +#pragma mark - Copyable method -- (DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails { - if (![self isSharedContentViewDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentViewDetails, but was %@.", [self tagName]]; - } - return _sharedContentViewDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)sharedFolderChangeConfidentialityDetails { - if (![self isSharedFolderChangeConfidentialityDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails, but was %@.", - [self tagName]]; - } - return _sharedFolderChangeConfidentialityDetails; -} +#pragma mark - Hash method -- (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails { - if (![self isSharedFolderChangeLinkPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails, but was %@.", - [self tagName]]; - } - return _sharedFolderChangeLinkPolicyDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)sharedFolderChangeMemberManagementPolicyDetails { - if (![self isSharedFolderChangeMemberManagementPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails, " - @"but was %@.", - [self tagName]]; + switch (_tag) { + case DBTEAMLOGContextLogInfoAnonymous: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGContextLogInfoNonTeamMember: + result = prime * result + [self.nonTeamMember hash]; + break; + case DBTEAMLOGContextLogInfoOrganizationTeam: + result = prime * result + [self.organizationTeam hash]; + break; + case DBTEAMLOGContextLogInfoTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGContextLogInfoTeamMember: + result = prime * result + [self.teamMember hash]; + break; + case DBTEAMLOGContextLogInfoTrustedNonTeamMember: + result = prime * result + [self.trustedNonTeamMember hash]; + break; + case DBTEAMLOGContextLogInfoOther: + result = prime * result + [[self tagName] hash]; + break; } - return _sharedFolderChangeMemberManagementPolicyDetails; + + return prime * result; } -- (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)sharedFolderChangeMemberPolicyDetails { - if (![self isSharedFolderChangeMemberPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails, but was %@.", - [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; } - return _sharedFolderChangeMemberPolicyDetails; + return [self isEqualToContextLogInfo:other]; } -- (DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails { - if (![self isSharedFolderCreateDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderCreateDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToContextLogInfo:(DBTEAMLOGContextLogInfo *)aContextLogInfo { + if (self == aContextLogInfo) { + return YES; } - return _sharedFolderCreateDetails; -} - -- (DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails { - if (![self isSharedFolderMountDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderMountDetails, but was %@.", [self tagName]]; + if (self.tag != aContextLogInfo.tag) { + return NO; } - return _sharedFolderMountDetails; + switch (_tag) { + case DBTEAMLOGContextLogInfoAnonymous: + return [[self tagName] isEqual:[aContextLogInfo tagName]]; + case DBTEAMLOGContextLogInfoNonTeamMember: + return [self.nonTeamMember isEqual:aContextLogInfo.nonTeamMember]; + case DBTEAMLOGContextLogInfoOrganizationTeam: + return [self.organizationTeam isEqual:aContextLogInfo.organizationTeam]; + case DBTEAMLOGContextLogInfoTeam: + return [[self tagName] isEqual:[aContextLogInfo tagName]]; + case DBTEAMLOGContextLogInfoTeamMember: + return [self.teamMember isEqual:aContextLogInfo.teamMember]; + case DBTEAMLOGContextLogInfoTrustedNonTeamMember: + return [self.trustedNonTeamMember isEqual:aContextLogInfo.trustedNonTeamMember]; + case DBTEAMLOGContextLogInfoOther: + return [[self tagName] isEqual:[aContextLogInfo tagName]]; + } + return YES; } -- (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails { - if (![self isSharedFolderTransferOwnershipDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails, but was %@.", - [self tagName]]; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGContextLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGContextLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAnonymous]) { + jsonDict[@".tag"] = @"anonymous"; + } else if ([valueObj isNonTeamMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:valueObj.nonTeamMember]]; + jsonDict[@".tag"] = @"non_team_member"; + } else if ([valueObj isOrganizationTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.organizationTeam]]; + jsonDict[@".tag"] = @"organization_team"; + } else if ([valueObj isTeam]) { + jsonDict[@".tag"] = @"team"; + } else if ([valueObj isTeamMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMemberLogInfoSerializer serialize:valueObj.teamMember]]; + jsonDict[@".tag"] = @"team_member"; + } else if ([valueObj isTrustedNonTeamMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer + serialize:valueObj.trustedNonTeamMember]]; + jsonDict[@".tag"] = @"trusted_non_team_member"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return _sharedFolderTransferOwnershipDetails; + + return jsonDict; } -- (DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails { - if (![self isSharedFolderUnmountDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderUnmountDetails, but was %@.", [self tagName]]; ++ (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"anonymous"]) { + return [[DBTEAMLOGContextLogInfo alloc] initWithAnonymous]; + } else if ([tag isEqualToString:@"non_team_member"]) { + DBTEAMLOGNonTeamMemberLogInfo *nonTeamMember = [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGContextLogInfo alloc] initWithNonTeamMember:nonTeamMember]; + } else if ([tag isEqualToString:@"organization_team"]) { + DBTEAMLOGTeamLogInfo *organizationTeam = [DBTEAMLOGTeamLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGContextLogInfo alloc] initWithOrganizationTeam:organizationTeam]; + } else if ([tag isEqualToString:@"team"]) { + return [[DBTEAMLOGContextLogInfo alloc] initWithTeam]; + } else if ([tag isEqualToString:@"team_member"]) { + DBTEAMLOGTeamMemberLogInfo *teamMember = [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGContextLogInfo alloc] initWithTeamMember:teamMember]; + } else if ([tag isEqualToString:@"trusted_non_team_member"]) { + DBTEAMLOGTrustedNonTeamMemberLogInfo *trustedNonTeamMember = + [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGContextLogInfo alloc] initWithTrustedNonTeamMember:trustedNonTeamMember]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGContextLogInfo alloc] initWithOther]; + } else { + return [[DBTEAMLOGContextLogInfo alloc] initWithOther]; } - return _sharedFolderUnmountDetails; } -- (DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails { - if (![self isSharedNoteOpenedDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedNoteOpenedDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCreateFolderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCreateFolderDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { } - return _sharedNoteOpenedDetails; + return self; } -- (DBTEAMLOGShmodelAppCreateDetails *)shmodelAppCreateDetails { - if (![self isShmodelAppCreateDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelAppCreateDetails, but was %@.", [self tagName]]; - } - return _shmodelAppCreateDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCreateFolderDetailsSerializer serialize:instance]; } -- (DBTEAMLOGShmodelCreateDetails *)shmodelCreateDetails { - if (![self isShmodelCreateDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelCreateDetails, but was %@.", [self tagName]]; - } - return _shmodelCreateDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCreateFolderDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGShmodelDisableDetails *)shmodelDisableDetails { - if (![self isShmodelDisableDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelDisableDetails, but was %@.", [self tagName]]; - } - return _shmodelDisableDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCreateFolderDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGShmodelFbShareDetails *)shmodelFbShareDetails { - if (![self isShmodelFbShareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelFbShareDetails, but was %@.", [self tagName]]; - } - return _shmodelFbShareDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails { - if (![self isShmodelGroupShareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelGroupShareDetails, but was %@.", [self tagName]]; - } - return _shmodelGroupShareDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; } -- (DBTEAMLOGShmodelRemoveExpirationDetails *)shmodelRemoveExpirationDetails { - if (![self isShmodelRemoveExpirationDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails, but was %@.", - [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; } - return _shmodelRemoveExpirationDetails; + return [self isEqualToCreateFolderDetails:other]; } -- (DBTEAMLOGShmodelSetExpirationDetails *)shmodelSetExpirationDetails { - if (![self isShmodelSetExpirationDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelSetExpirationDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)aCreateFolderDetails { + if (self == aCreateFolderDetails) { + return YES; } - return _shmodelSetExpirationDetails; + return YES; } -- (DBTEAMLOGShmodelTeamCopyDetails *)shmodelTeamCopyDetails { - if (![self isShmodelTeamCopyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelTeamCopyDetails, but was %@.", [self tagName]]; - } - return _shmodelTeamCopyDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCreateFolderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; } -- (DBTEAMLOGShmodelTeamDownloadDetails *)shmodelTeamDownloadDetails { - if (![self isShmodelTeamDownloadDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelTeamDownloadDetails, but was %@.", [self tagName]]; - } - return _shmodelTeamDownloadDetails; ++ (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGCreateFolderDetails alloc] initDefault]; } -- (DBTEAMLOGShmodelTeamShareDetails *)shmodelTeamShareDetails { - if (![self isShmodelTeamShareDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelTeamShareDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCreateFolderType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCreateFolderType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _shmodelTeamShareDetails; + return self; } -- (DBTEAMLOGShmodelTeamViewDetails *)shmodelTeamViewDetails { - if (![self isShmodelTeamViewDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelTeamViewDetails, but was %@.", [self tagName]]; - } - return _shmodelTeamViewDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCreateFolderTypeSerializer serialize:instance]; } -- (DBTEAMLOGShmodelVisibilityPasswordDetails *)shmodelVisibilityPasswordDetails { - if (![self isShmodelVisibilityPasswordDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails, but was %@.", - [self tagName]]; - } - return _shmodelVisibilityPasswordDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCreateFolderTypeSerializer deserialize:dict]; } -- (DBTEAMLOGShmodelVisibilityPublicDetails *)shmodelVisibilityPublicDetails { - if (![self isShmodelVisibilityPublicDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails, but was %@.", - [self tagName]]; - } - return _shmodelVisibilityPublicDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCreateFolderTypeSerializer serialize:self] description]; } -- (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)shmodelVisibilityTeamOnlyDetails { - if (![self isShmodelVisibilityTeamOnlyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails, but was %@.", - [self tagName]]; - } - return _shmodelVisibilityTeamOnlyDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails { - if (![self isSsoAddCertDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddCertDetails, but was %@.", [self tagName]]; - } - return _ssoAddCertDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails { - if (![self isSsoAddLoginUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddLoginUrlDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _ssoAddLoginUrlDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCreateFolderType:other]; } -- (DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails { - if (![self isSsoAddLogoutUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToCreateFolderType:(DBTEAMLOGCreateFolderType *)aCreateFolderType { + if (self == aCreateFolderType) { + return YES; } - return _ssoAddLogoutUrlDetails; + if (![self.description_ isEqual:aCreateFolderType.description_]) { + return NO; + } + return YES; } -- (DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails { - if (![self isSsoChangeCertDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeCertDetails, but was %@.", [self tagName]]; - } - return _ssoChangeCertDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCreateFolderTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCreateFolderType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails { - if (![self isSsoChangeLoginUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails, but was %@.", [self tagName]]; - } - return _ssoChangeLoginUrlDetails; ++ (DBTEAMLOGCreateFolderType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGCreateFolderType alloc] initWithDescription_:description_]; } -- (DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails { - if (![self isSsoChangeLogoutUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails, but was %@.", [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCreateTeamInviteLinkDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCreateTeamInviteLinkDetails + +#pragma mark - Constructors + +- (instancetype)initWithLinkUrl:(NSString *)linkUrl expiryDate:(NSString *)expiryDate { + [DBStoneValidators nonnullValidator:nil](linkUrl); + [DBStoneValidators nonnullValidator:nil](expiryDate); + + self = [super init]; + if (self) { + _linkUrl = linkUrl; + _expiryDate = expiryDate; } - return _ssoChangeLogoutUrlDetails; + return self; } -- (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails { - if (![self isSsoChangeSamlIdentityModeDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails, but was %@.", - [self tagName]]; - } - return _ssoChangeSamlIdentityModeDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCreateTeamInviteLinkDetailsSerializer serialize:instance]; } -- (DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails { - if (![self isSsoRemoveCertDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveCertDetails, but was %@.", [self tagName]]; - } - return _ssoRemoveCertDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCreateTeamInviteLinkDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails { - if (![self isSsoRemoveLoginUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails, but was %@.", [self tagName]]; - } - return _ssoRemoveLoginUrlDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCreateTeamInviteLinkDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails { - if (![self isSsoRemoveLogoutUrlDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails, but was %@.", [self tagName]]; - } - return _ssoRemoveLogoutUrlDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails { - if (![self isTeamFolderChangeStatusDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails, but was %@.", - [self tagName]]; - } - return _teamFolderChangeStatusDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.linkUrl hash]; + result = prime * result + [self.expiryDate hash]; + + return prime * result; } -- (DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails { - if (![self isTeamFolderCreateDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderCreateDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _teamFolderCreateDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCreateTeamInviteLinkDetails:other]; } -- (DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails { - if (![self isTeamFolderDowngradeDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderDowngradeDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToCreateTeamInviteLinkDetails:(DBTEAMLOGCreateTeamInviteLinkDetails *)aCreateTeamInviteLinkDetails { + if (self == aCreateTeamInviteLinkDetails) { + return YES; } - return _teamFolderDowngradeDetails; + if (![self.linkUrl isEqual:aCreateTeamInviteLinkDetails.linkUrl]) { + return NO; + } + if (![self.expiryDate isEqual:aCreateTeamInviteLinkDetails.expiryDate]) { + return NO; + } + return YES; } -- (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails { - if (![self isTeamFolderPermanentlyDeleteDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails, but was %@.", - [self tagName]]; - } - return _teamFolderPermanentlyDeleteDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCreateTeamInviteLinkDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCreateTeamInviteLinkDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"link_url"] = valueObj.linkUrl; + jsonDict[@"expiry_date"] = valueObj.expiryDate; + + return jsonDict; } -- (DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails { - if (![self isTeamFolderRenameDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderRenameDetails, but was %@.", [self tagName]]; - } - return _teamFolderRenameDetails; ++ (DBTEAMLOGCreateTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { + NSString *linkUrl = valueDict[@"link_url"]; + NSString *expiryDate = valueDict[@"expiry_date"]; + + return [[DBTEAMLOGCreateTeamInviteLinkDetails alloc] initWithLinkUrl:linkUrl expiryDate:expiryDate]; } -- (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails { - if (![self isAccountCaptureChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails, but was %@.", - [self tagName]]; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGCreateTeamInviteLinkType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGCreateTeamInviteLinkType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _accountCaptureChangePolicyDetails; + return self; } -- (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails { - if (![self isAllowDownloadDisabledDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAllowDownloadDisabledDetails, but was %@.", [self tagName]]; - } - return _allowDownloadDisabledDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGCreateTeamInviteLinkTypeSerializer serialize:instance]; } -- (DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails { - if (![self isAllowDownloadEnabledDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsAllowDownloadEnabledDetails, but was %@.", [self tagName]]; - } - return _allowDownloadEnabledDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGCreateTeamInviteLinkTypeSerializer deserialize:dict]; } -- (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails { - if (![self isDataPlacementRestrictionChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _dataPlacementRestrictionChangePolicyDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGCreateTeamInviteLinkTypeSerializer serialize:self] description]; } -- (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails { - if (![self isDataPlacementRestrictionSatisfyPolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails, but was %@.", - [self tagName]]; - } - return _dataPlacementRestrictionSatisfyPolicyDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails { - if (![self isDeviceApprovalsChangeDesktopPolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails, but was %@.", - [self tagName]]; - } - return _deviceApprovalsChangeDesktopPolicyDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails { - if (![self isDeviceApprovalsChangeMobilePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails, but was %@.", - [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _deviceApprovalsChangeMobilePolicyDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToCreateTeamInviteLinkType:other]; } -- (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails { - if (![self isDeviceApprovalsChangeOverageActionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails, but was %@.", - [self tagName]]; +- (BOOL)isEqualToCreateTeamInviteLinkType:(DBTEAMLOGCreateTeamInviteLinkType *)aCreateTeamInviteLinkType { + if (self == aCreateTeamInviteLinkType) { + return YES; } - return _deviceApprovalsChangeOverageActionDetails; + if (![self.description_ isEqual:aCreateTeamInviteLinkType.description_]) { + return NO; + } + return YES; } -- (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails { - if (![self isDeviceApprovalsChangeUnlinkActionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails, but was %@.", - [self tagName]]; - } - return _deviceApprovalsChangeUnlinkActionDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGCreateTeamInviteLinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGCreateTeamInviteLinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails { - if (![self isEmmAddExceptionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmAddExceptionDetails, but was %@.", [self tagName]]; - } - return _emmAddExceptionDetails; ++ (DBTEAMLOGCreateTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGCreateTeamInviteLinkType alloc] initWithDescription_:description_]; } -- (DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails { - if (![self isEmmChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmChangePolicyDetails, but was %@.", [self tagName]]; - } - return _emmChangePolicyDetails; -} +@end -- (DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails { - if (![self isEmmRemoveExceptionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmRemoveExceptionDetails, but was %@.", [self tagName]]; - } - return _emmRemoveExceptionDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" +#import "DBTEAMLOGPlacementRestriction.h" -- (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails { - if (![self isExtendedVersionHistoryChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _extendedVersionHistoryChangePolicyDetails; -} +#pragma mark - API Object -- (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails { - if (![self isFileCommentsChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _fileCommentsChangePolicyDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetails -- (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails { - if (![self isFileRequestsChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _fileRequestsChangePolicyDetails; -} +#pragma mark - Constructors -- (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails { - if (![self isFileRequestsEmailsEnabledDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails, but was %@.", - [self tagName]]; - } - return _fileRequestsEmailsEnabledDetails; -} +- (instancetype)initWithPreviousValue:(DBTEAMLOGPlacementRestriction *)previousValue + dNewValue:(DBTEAMLOGPlacementRestriction *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); -- (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails { - if (![self isFileRequestsEmailsRestrictedToTeamOnlyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails, but was %@.", - [self tagName]]; + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } - return _fileRequestsEmailsRestrictedToTeamOnlyDetails; + return self; } -- (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails { - if (![self isGoogleSsoChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails, but was %@.", [self tagName]]; - } - return _googleSsoChangePolicyDetails; -} +#pragma mark - Serialization methods -- (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails { - if (![self isGroupUserManagementChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _groupUserManagementChangePolicyDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:instance]; } -- (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails { - if (![self isMemberRequestsChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _memberRequestsChangePolicyDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer deserialize:dict]; } -- (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails { - if (![self isMemberSpaceLimitsAddExceptionDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails, but was %@.", - [self tagName]]; - } - return _memberSpaceLimitsAddExceptionDetails; -} +#pragma mark - Debug Description method -- (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails { - if (![self isMemberSpaceLimitsChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _memberSpaceLimitsChangePolicyDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer serialize:self] description]; } -- (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails { - if (![self isMemberSpaceLimitsRemoveExceptionDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails, but was %@.", - [self tagName]]; - } - return _memberSpaceLimitsRemoveExceptionDetails; -} +#pragma mark - Copyable method -- (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails { - if (![self isMemberSuggestionsChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _memberSuggestionsChangePolicyDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails { - if (![self isMicrosoftOfficeAddinChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _microsoftOfficeAddinChangePolicyDetails; -} +#pragma mark - Hash method -- (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails { - if (![self isNetworkControlChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _networkControlChangePolicyDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails { - if (![self isPaperChangeDeploymentPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails, but was %@.", - [self tagName]]; - } - return _paperChangeDeploymentPolicyDetails; -} + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; -- (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails { - if (![self isPaperChangeMemberLinkPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails, but was %@.", - [self tagName]]; - } - return _paperChangeMemberLinkPolicyDetails; + return prime * result; } -- (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails { - if (![self isPaperChangeMemberPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails, but was %@.", - [self tagName]]; - } - return _paperChangeMemberPolicyDetails; -} +#pragma mark - Equality method -- (DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails { - if (![self isPaperChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangePolicyDetails, but was %@.", [self tagName]]; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _paperChangePolicyDetails; -} - -- (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails { - if (![self isPermanentDeleteChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails, but was %@.", - [self tagName]]; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; } - return _permanentDeleteChangePolicyDetails; + return [self isEqualToDataPlacementRestrictionChangePolicyDetails:other]; } -- (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails { - if (![self isSharingChangeFolderJoinPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails, but was %@.", - [self tagName]]; +- (BOOL)isEqualToDataPlacementRestrictionChangePolicyDetails: + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)aDataPlacementRestrictionChangePolicyDetails { + if (self == aDataPlacementRestrictionChangePolicyDetails) { + return YES; } - return _sharingChangeFolderJoinPolicyDetails; -} - -- (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails { - if (![self isSharingChangeLinkPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails, but was %@.", - [self tagName]]; + if (![self.previousValue isEqual:aDataPlacementRestrictionChangePolicyDetails.previousValue]) { + return NO; } - return _sharingChangeLinkPolicyDetails; -} - -- (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails { - if (![self isSharingChangeMemberPolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails, but was %@.", - [self tagName]]; + if (![self.dNewValue isEqual:aDataPlacementRestrictionChangePolicyDetails.dNewValue]) { + return NO; } - return _sharingChangeMemberPolicyDetails; + return YES; } -- (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails { - if (![self isSmartSyncChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails, but was %@.", [self tagName]]; - } - return _smartSyncChangePolicyDetails; -} +@end -- (DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails { - if (![self isSmartSyncNotOptOutDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails, but was %@.", [self tagName]]; - } - return _smartSyncNotOptOutDetails; -} +#pragma mark - Serializer Object -- (DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails { - if (![self isSmartSyncOptOutDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncOptOutDetails, but was %@.", [self tagName]]; - } - return _smartSyncOptOutDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer -- (DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails { - if (![self isSsoChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangePolicyDetails, but was %@.", [self tagName]]; - } - return _ssoChangePolicyDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails { - if (![self isTfaChangePolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangePolicyDetails, but was %@.", [self tagName]]; - } - return _tfaChangePolicyDetails; -} + jsonDict[@"previous_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.dNewValue]; -- (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails { - if (![self isTwoAccountChangePolicyDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails, but was %@.", - [self tagName]]; - } - return _twoAccountChangePolicyDetails; + return jsonDict; } -- (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails { - if (![self isWebSessionsChangeFixedLengthPolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails, but was %@.", - [self tagName]]; - } - return _webSessionsChangeFixedLengthPolicyDetails; -} ++ (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPlacementRestriction *previousValue = + [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGPlacementRestriction *dNewValue = + [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"new_value"]]; -- (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails { - if (![self isWebSessionsChangeIdleLengthPolicyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails, but was %@.", - [self tagName]]; - } - return _webSessionsChangeIdleLengthPolicyDetails; + return [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; } -- (DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails { - if (![self isTeamProfileAddLogoDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileAddLogoDetails, but was %@.", [self tagName]]; - } - return _teamProfileAddLogoDetails; -} +@end -- (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails { - if (![self isTeamProfileChangeDefaultLanguageDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails, but was %@.", - [self tagName]]; - } - return _teamProfileChangeDefaultLanguageDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataPlacementRestrictionChangePolicyType.h" -- (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails { - if (![self isTeamProfileChangeLogoDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails, but was %@.", [self tagName]]; - } - return _teamProfileChangeLogoDetails; -} +#pragma mark - API Object -- (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails { - if (![self isTeamProfileChangeNameDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeNameDetails, but was %@.", [self tagName]]; - } - return _teamProfileChangeNameDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyType -- (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails { - if (![self isTeamProfileRemoveLogoDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails, but was %@.", [self tagName]]; - } - return _teamProfileRemoveLogoDetails; -} +#pragma mark - Constructors -- (DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails { - if (![self isTfaAddBackupPhoneDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails, but was %@.", [self tagName]]; +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; } - return _tfaAddBackupPhoneDetails; + return self; } -- (DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails { - if (![self isTfaAddSecurityKeyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails, but was %@.", [self tagName]]; - } - return _tfaAddSecurityKeyDetails; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer serialize:instance]; } -- (DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails { - if (![self isTfaChangeBackupPhoneDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails, but was %@.", [self tagName]]; - } - return _tfaChangeBackupPhoneDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer deserialize:dict]; } -- (DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails { - if (![self isTfaChangeStatusDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangeStatusDetails, but was %@.", [self tagName]]; - } - return _tfaChangeStatusDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer serialize:self] description]; } -- (DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails { - if (![self isTfaRemoveBackupPhoneDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails, but was %@.", [self tagName]]; - } - return _tfaRemoveBackupPhoneDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails { - if (![self isTfaRemoveSecurityKeyDetails]) { - [NSException - raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails, but was %@.", [self tagName]]; - } - return _tfaRemoveSecurityKeyDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (DBTEAMLOGTfaResetDetails *)tfaResetDetails { - if (![self isTfaResetDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaResetDetails, but was %@.", [self tagName]]; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return _tfaResetDetails; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataPlacementRestrictionChangePolicyType:other]; } -- (DBTEAMLOGMissingDetails *)missingDetails { - if (![self isMissingDetails]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGEventDetailsMissingDetails, but was %@.", [self tagName]]; +- (BOOL)isEqualToDataPlacementRestrictionChangePolicyType: + (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)aDataPlacementRestrictionChangePolicyType { + if (self == aDataPlacementRestrictionChangePolicyType) { + return YES; } - return _missingDetails; + if (![self.description_ isEqual:aDataPlacementRestrictionChangePolicyType.description_]) { + return NO; + } + return YES; } -#pragma mark - Tag state methods +@end -- (BOOL)isMemberChangeMembershipTypeDetails { - return _tag == DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails; -} +#pragma mark - Serializer Object -- (BOOL)isMemberPermanentlyDeleteAccountContentsDetails { - return _tag == DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer -- (BOOL)isMemberSpaceLimitsChangeStatusDetails { - return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isMemberTransferAccountContentsDetails { - return _tag == DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails; -} + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isPaperAdminExportStartDetails { - return _tag == DBTEAMLOGEventDetailsPaperAdminExportStartDetails; + return jsonDict; } -- (BOOL)isPaperEnabledUsersGroupAdditionDetails { - return _tag == DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails; -} ++ (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isPaperEnabledUsersGroupRemovalDetails { - return _tag == DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails; + return [[DBTEAMLOGDataPlacementRestrictionChangePolicyType alloc] initWithDescription_:description_]; } -- (BOOL)isPaperExternalViewAllowDetails { - return _tag == DBTEAMLOGEventDetailsPaperExternalViewAllowDetails; -} +@end -- (BOOL)isPaperExternalViewDefaultTeamDetails { - return _tag == DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" +#import "DBTEAMLOGPlacementRestriction.h" -- (BOOL)isPaperExternalViewForbidDetails { - return _tag == DBTEAMLOGEventDetailsPaperExternalViewForbidDetails; -} +#pragma mark - API Object -- (BOOL)isSfExternalInviteWarnDetails { - return _tag == DBTEAMLOGEventDetailsSfExternalInviteWarnDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails -- (BOOL)isTeamMergeFromDetails { - return _tag == DBTEAMLOGEventDetailsTeamMergeFromDetails; -} +#pragma mark - Constructors -- (BOOL)isTeamMergeToDetails { - return _tag == DBTEAMLOGEventDetailsTeamMergeToDetails; -} +- (instancetype)initWithPlacementRestriction:(DBTEAMLOGPlacementRestriction *)placementRestriction { + [DBStoneValidators nonnullValidator:nil](placementRestriction); -- (BOOL)isAppLinkTeamDetails { - return _tag == DBTEAMLOGEventDetailsAppLinkTeamDetails; + self = [super init]; + if (self) { + _placementRestriction = placementRestriction; + } + return self; } -- (BOOL)isAppLinkUserDetails { - return _tag == DBTEAMLOGEventDetailsAppLinkUserDetails; -} +#pragma mark - Serialization methods -- (BOOL)isAppUnlinkTeamDetails { - return _tag == DBTEAMLOGEventDetailsAppUnlinkTeamDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:instance]; } -- (BOOL)isAppUnlinkUserDetails { - return _tag == DBTEAMLOGEventDetailsAppUnlinkUserDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer deserialize:dict]; } -- (BOOL)isFileAddCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileAddCommentDetails; -} +#pragma mark - Debug Description method -- (BOOL)isFileChangeCommentSubscriptionDetails { - return _tag == DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer serialize:self] description]; } -- (BOOL)isFileDeleteCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileDeleteCommentDetails; -} +#pragma mark - Copyable method -- (BOOL)isFileLikeCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileLikeCommentDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isFileResolveCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileResolveCommentDetails; -} +#pragma mark - Hash method -- (BOOL)isFileUnlikeCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileUnlikeCommentDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isFileUnresolveCommentDetails { - return _tag == DBTEAMLOGEventDetailsFileUnresolveCommentDetails; -} + result = prime * result + [self.placementRestriction hash]; -- (BOOL)isDeviceChangeIpDesktopDetails { - return _tag == DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails; + return prime * result; } -- (BOOL)isDeviceChangeIpMobileDetails { - return _tag == DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails; -} +#pragma mark - Equality method -- (BOOL)isDeviceChangeIpWebDetails { - return _tag == DBTEAMLOGEventDetailsDeviceChangeIpWebDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataPlacementRestrictionSatisfyPolicyDetails:other]; } -- (BOOL)isDeviceDeleteOnUnlinkFailDetails { - return _tag == DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails; +- (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyDetails: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)aDataPlacementRestrictionSatisfyPolicyDetails { + if (self == aDataPlacementRestrictionSatisfyPolicyDetails) { + return YES; + } + if (![self.placementRestriction isEqual:aDataPlacementRestrictionSatisfyPolicyDetails.placementRestriction]) { + return NO; + } + return YES; } -- (BOOL)isDeviceDeleteOnUnlinkSuccessDetails { - return _tag == DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails; -} +@end -- (BOOL)isDeviceLinkFailDetails { - return _tag == DBTEAMLOGEventDetailsDeviceLinkFailDetails; -} +#pragma mark - Serializer Object -- (BOOL)isDeviceLinkSuccessDetails { - return _tag == DBTEAMLOGEventDetailsDeviceLinkSuccessDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer -- (BOOL)isDeviceManagementDisabledDetails { - return _tag == DBTEAMLOGEventDetailsDeviceManagementDisabledDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isDeviceManagementEnabledDetails { - return _tag == DBTEAMLOGEventDetailsDeviceManagementEnabledDetails; -} + jsonDict[@"placement_restriction"] = + [DBTEAMLOGPlacementRestrictionSerializer serialize:valueObj.placementRestriction]; -- (BOOL)isDeviceUnlinkDetails { - return _tag == DBTEAMLOGEventDetailsDeviceUnlinkDetails; + return jsonDict; } -- (BOOL)isEmmRefreshAuthTokenDetails { - return _tag == DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails; -} ++ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPlacementRestriction *placementRestriction = + [DBTEAMLOGPlacementRestrictionSerializer deserialize:valueDict[@"placement_restriction"]]; -- (BOOL)isAccountCaptureChangeAvailabilityDetails { - return _tag == DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails; + return + [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails alloc] initWithPlacementRestriction:placementRestriction]; } -- (BOOL)isAccountCaptureMigrateAccountDetails { - return _tag == DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails; -} +@end -- (BOOL)isAccountCaptureRelinquishAccountDetails { - return _tag == DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h" -- (BOOL)isDisabledDomainInvitesDetails { - return _tag == DBTEAMLOGEventDetailsDisabledDomainInvitesDetails; -} +#pragma mark - API Object -- (BOOL)isDomainInvitesApproveRequestToJoinTeamDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType -- (BOOL)isDomainInvitesDeclineRequestToJoinTeamDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails; -} +#pragma mark - Constructors -- (BOOL)isDomainInvitesEmailExistingUsersDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (BOOL)isDomainInvitesRequestToJoinTeamDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails; + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } -- (BOOL)isDomainInvitesSetInviteNewUserPrefToNoDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails; -} +#pragma mark - Serialization methods -- (BOOL)isDomainInvitesSetInviteNewUserPrefToYesDetails { - return _tag == DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer serialize:instance]; } -- (BOOL)isDomainVerificationAddDomainFailDetails { - return _tag == DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer deserialize:dict]; } -- (BOOL)isDomainVerificationAddDomainSuccessDetails { - return _tag == DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails; -} +#pragma mark - Debug Description method -- (BOOL)isDomainVerificationRemoveDomainDetails { - return _tag == DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer serialize:self] description]; } -- (BOOL)isEnabledDomainInvitesDetails { - return _tag == DBTEAMLOGEventDetailsEnabledDomainInvitesDetails; -} +#pragma mark - Copyable method -- (BOOL)isCreateFolderDetails { - return _tag == DBTEAMLOGEventDetailsCreateFolderDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isFileAddDetails { - return _tag == DBTEAMLOGEventDetailsFileAddDetails; -} +#pragma mark - Hash method -- (BOOL)isFileCopyDetails { - return _tag == DBTEAMLOGEventDetailsFileCopyDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isFileDeleteDetails { - return _tag == DBTEAMLOGEventDetailsFileDeleteDetails; -} + result = prime * result + [self.description_ hash]; -- (BOOL)isFileDownloadDetails { - return _tag == DBTEAMLOGEventDetailsFileDownloadDetails; + return prime * result; } -- (BOOL)isFileEditDetails { - return _tag == DBTEAMLOGEventDetailsFileEditDetails; -} +#pragma mark - Equality method -- (BOOL)isFileGetCopyReferenceDetails { - return _tag == DBTEAMLOGEventDetailsFileGetCopyReferenceDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataPlacementRestrictionSatisfyPolicyType:other]; } -- (BOOL)isFileMoveDetails { - return _tag == DBTEAMLOGEventDetailsFileMoveDetails; +- (BOOL)isEqualToDataPlacementRestrictionSatisfyPolicyType: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)aDataPlacementRestrictionSatisfyPolicyType { + if (self == aDataPlacementRestrictionSatisfyPolicyType) { + return YES; + } + if (![self.description_ isEqual:aDataPlacementRestrictionSatisfyPolicyType.description_]) { + return NO; + } + return YES; } -- (BOOL)isFilePermanentlyDeleteDetails { - return _tag == DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails; -} +@end -- (BOOL)isFilePreviewDetails { - return _tag == DBTEAMLOGEventDetailsFilePreviewDetails; -} +#pragma mark - Serializer Object -- (BOOL)isFileRenameDetails { - return _tag == DBTEAMLOGEventDetailsFileRenameDetails; -} +@implementation DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer -- (BOOL)isFileRestoreDetails { - return _tag == DBTEAMLOGEventDetailsFileRestoreDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isFileRevertDetails { - return _tag == DBTEAMLOGEventDetailsFileRevertDetails; -} + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isFileRollbackChangesDetails { - return _tag == DBTEAMLOGEventDetailsFileRollbackChangesDetails; + return jsonDict; } -- (BOOL)isFileSaveCopyReferenceDetails { - return _tag == DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails; -} ++ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isFileRequestAddDeadlineDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails; + return [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType alloc] initWithDescription_:description_]; } -- (BOOL)isFileRequestChangeDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestChangeDetails; -} +@end -- (BOOL)isFileRequestChangeFolderDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestChangeFolderDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h" -- (BOOL)isFileRequestCloseDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestCloseDetails; -} +#pragma mark - API Object -- (BOOL)isFileRequestCreateDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestCreateDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails -- (BOOL)isFileRequestReceiveFileDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestReceiveFileDetails; -} +#pragma mark - Constructors -- (BOOL)isFileRequestRemoveDeadlineDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails; -} +- (instancetype)initDefault { -- (BOOL)isFileRequestSendDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestSendDetails; + self = [super init]; + if (self) { + } + return self; } -- (BOOL)isGroupAddExternalIdDetails { - return _tag == DBTEAMLOGEventDetailsGroupAddExternalIdDetails; -} +#pragma mark - Serialization methods -- (BOOL)isGroupAddMemberDetails { - return _tag == DBTEAMLOGEventDetailsGroupAddMemberDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer serialize:instance]; } -- (BOOL)isGroupChangeExternalIdDetails { - return _tag == DBTEAMLOGEventDetailsGroupChangeExternalIdDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer deserialize:dict]; } -- (BOOL)isGroupChangeManagementTypeDetails { - return _tag == DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails; -} +#pragma mark - Debug Description method -- (BOOL)isGroupChangeMemberRoleDetails { - return _tag == DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer serialize:self] description]; } -- (BOOL)isGroupCreateDetails { - return _tag == DBTEAMLOGEventDetailsGroupCreateDetails; -} +#pragma mark - Copyable method -- (BOOL)isGroupDeleteDetails { - return _tag == DBTEAMLOGEventDetailsGroupDeleteDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isGroupMovedDetails { - return _tag == DBTEAMLOGEventDetailsGroupMovedDetails; -} +#pragma mark - Hash method -- (BOOL)isGroupRemoveExternalIdDetails { - return _tag == DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isGroupRemoveMemberDetails { - return _tag == DBTEAMLOGEventDetailsGroupRemoveMemberDetails; + return prime * result; } -- (BOOL)isGroupRenameDetails { - return _tag == DBTEAMLOGEventDetailsGroupRenameDetails; -} +#pragma mark - Equality method -- (BOOL)isEmmErrorDetails { - return _tag == DBTEAMLOGEventDetailsEmmErrorDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataResidencyMigrationRequestSuccessfulDetails:other]; } -- (BOOL)isLoginFailDetails { - return _tag == DBTEAMLOGEventDetailsLoginFailDetails; +- (BOOL)isEqualToDataResidencyMigrationRequestSuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)aDataResidencyMigrationRequestSuccessfulDetails { + if (self == aDataResidencyMigrationRequestSuccessfulDetails) { + return YES; + } + return YES; } -- (BOOL)isLoginSuccessDetails { - return _tag == DBTEAMLOGEventDetailsLoginSuccessDetails; -} +@end -- (BOOL)isLogoutDetails { - return _tag == DBTEAMLOGEventDetailsLogoutDetails; -} +#pragma mark - Serializer Object -- (BOOL)isResellerSupportSessionEndDetails { - return _tag == DBTEAMLOGEventDetailsResellerSupportSessionEndDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer -- (BOOL)isResellerSupportSessionStartDetails { - return _tag == DBTEAMLOGEventDetailsResellerSupportSessionStartDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isSignInAsSessionEndDetails { - return _tag == DBTEAMLOGEventDetailsSignInAsSessionEndDetails; + return jsonDict; } -- (BOOL)isSignInAsSessionStartDetails { - return _tag == DBTEAMLOGEventDetailsSignInAsSessionStartDetails; -} ++ (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) -- (BOOL)isSsoErrorDetails { - return _tag == DBTEAMLOGEventDetailsSsoErrorDetails; + return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails alloc] initDefault]; } -- (BOOL)isMemberAddNameDetails { - return _tag == DBTEAMLOGEventDetailsMemberAddNameDetails; -} +@end -- (BOOL)isMemberChangeAdminRoleDetails { - return _tag == DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h" -- (BOOL)isMemberChangeEmailDetails { - return _tag == DBTEAMLOGEventDetailsMemberChangeEmailDetails; -} +#pragma mark - API Object -- (BOOL)isMemberChangeNameDetails { - return _tag == DBTEAMLOGEventDetailsMemberChangeNameDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulType -- (BOOL)isMemberChangeStatusDetails { - return _tag == DBTEAMLOGEventDetailsMemberChangeStatusDetails; -} +#pragma mark - Constructors -- (BOOL)isMemberSuggestDetails { - return _tag == DBTEAMLOGEventDetailsMemberSuggestDetails; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (BOOL)isPaperContentAddMemberDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentAddMemberDetails; + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } -- (BOOL)isPaperContentAddToFolderDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentAddToFolderDetails; -} +#pragma mark - Serialization methods -- (BOOL)isPaperContentArchiveDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentArchiveDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer serialize:instance]; } -- (BOOL)isPaperContentCreateDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentCreateDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer deserialize:dict]; } -- (BOOL)isPaperContentPermanentlyDeleteDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails; -} +#pragma mark - Debug Description method -- (BOOL)isPaperContentRemoveFromFolderDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer serialize:self] description]; } -- (BOOL)isPaperContentRemoveMemberDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails; -} +#pragma mark - Copyable method -- (BOOL)isPaperContentRenameDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentRenameDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isPaperContentRestoreDetails { - return _tag == DBTEAMLOGEventDetailsPaperContentRestoreDetails; -} +#pragma mark - Hash method -- (BOOL)isPaperDocAddCommentDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocAddCommentDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isPaperDocChangeMemberRoleDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails; -} + result = prime * result + [self.description_ hash]; -- (BOOL)isPaperDocChangeSharingPolicyDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails; + return prime * result; } -- (BOOL)isPaperDocChangeSubscriptionDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails; -} +#pragma mark - Equality method -- (BOOL)isPaperDocDeletedDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocDeletedDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataResidencyMigrationRequestSuccessfulType:other]; } -- (BOOL)isPaperDocDeleteCommentDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails; +- (BOOL)isEqualToDataResidencyMigrationRequestSuccessfulType: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)aDataResidencyMigrationRequestSuccessfulType { + if (self == aDataResidencyMigrationRequestSuccessfulType) { + return YES; + } + if (![self.description_ isEqual:aDataResidencyMigrationRequestSuccessfulType.description_]) { + return NO; + } + return YES; } -- (BOOL)isPaperDocDownloadDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocDownloadDetails; -} +@end -- (BOOL)isPaperDocEditDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocEditDetails; -} +#pragma mark - Serializer Object -- (BOOL)isPaperDocEditCommentDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocEditCommentDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer -- (BOOL)isPaperDocFollowedDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocFollowedDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isPaperDocMentionDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocMentionDetails; -} + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isPaperDocRequestAccessDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocRequestAccessDetails; + return jsonDict; } -- (BOOL)isPaperDocResolveCommentDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocResolveCommentDetails; -} ++ (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isPaperDocRevertDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocRevertDetails; + return [[DBTEAMLOGDataResidencyMigrationRequestSuccessfulType alloc] initWithDescription_:description_]; } -- (BOOL)isPaperDocSlackShareDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocSlackShareDetails; -} +@end -- (BOOL)isPaperDocTeamInviteDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocTeamInviteDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h" -- (BOOL)isPaperDocTrashedDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocTrashedDetails; -} +#pragma mark - API Object -- (BOOL)isPaperDocUnresolveCommentDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails -- (BOOL)isPaperDocUntrashedDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocUntrashedDetails; -} +#pragma mark - Constructors -- (BOOL)isPaperDocViewDetails { - return _tag == DBTEAMLOGEventDetailsPaperDocViewDetails; -} +- (instancetype)initDefault { -- (BOOL)isPaperFolderChangeSubscriptionDetails { - return _tag == DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails; + self = [super init]; + if (self) { + } + return self; } -- (BOOL)isPaperFolderDeletedDetails { - return _tag == DBTEAMLOGEventDetailsPaperFolderDeletedDetails; -} +#pragma mark - Serialization methods -- (BOOL)isPaperFolderFollowedDetails { - return _tag == DBTEAMLOGEventDetailsPaperFolderFollowedDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer serialize:instance]; } -- (BOOL)isPaperFolderTeamInviteDetails { - return _tag == DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer deserialize:dict]; } -- (BOOL)isPasswordChangeDetails { - return _tag == DBTEAMLOGEventDetailsPasswordChangeDetails; -} +#pragma mark - Debug Description method -- (BOOL)isPasswordResetDetails { - return _tag == DBTEAMLOGEventDetailsPasswordResetDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer serialize:self] description]; } -- (BOOL)isPasswordResetAllDetails { - return _tag == DBTEAMLOGEventDetailsPasswordResetAllDetails; -} +#pragma mark - Copyable method -- (BOOL)isEmmCreateExceptionsReportDetails { - return _tag == DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isEmmCreateUsageReportDetails { - return _tag == DBTEAMLOGEventDetailsEmmCreateUsageReportDetails; -} +#pragma mark - Hash method -- (BOOL)isSmartSyncCreateAdminPrivilegeReportDetails { - return _tag == DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isTeamActivityCreateReportDetails { - return _tag == DBTEAMLOGEventDetailsTeamActivityCreateReportDetails; + return prime * result; } -- (BOOL)isCollectionShareDetails { - return _tag == DBTEAMLOGEventDetailsCollectionShareDetails; -} +#pragma mark - Equality method -- (BOOL)isNoteAclInviteOnlyDetails { - return _tag == DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataResidencyMigrationRequestUnsuccessfulDetails:other]; } -- (BOOL)isNoteAclLinkDetails { - return _tag == DBTEAMLOGEventDetailsNoteAclLinkDetails; +- (BOOL)isEqualToDataResidencyMigrationRequestUnsuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)aDataResidencyMigrationRequestUnsuccessfulDetails { + if (self == aDataResidencyMigrationRequestUnsuccessfulDetails) { + return YES; + } + return YES; } -- (BOOL)isNoteAclTeamLinkDetails { - return _tag == DBTEAMLOGEventDetailsNoteAclTeamLinkDetails; -} +@end -- (BOOL)isNoteSharedDetails { - return _tag == DBTEAMLOGEventDetailsNoteSharedDetails; -} +#pragma mark - Serializer Object -- (BOOL)isNoteShareReceiveDetails { - return _tag == DBTEAMLOGEventDetailsNoteShareReceiveDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer -- (BOOL)isOpenNoteSharedDetails { - return _tag == DBTEAMLOGEventDetailsOpenNoteSharedDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isSfAddGroupDetails { - return _tag == DBTEAMLOGEventDetailsSfAddGroupDetails; + return jsonDict; } -- (BOOL)isSfAllowNonMembersToViewSharedLinksDetails { - return _tag == DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails; -} ++ (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) -- (BOOL)isSfInviteGroupDetails { - return _tag == DBTEAMLOGEventDetailsSfInviteGroupDetails; + return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails alloc] initDefault]; } -- (BOOL)isSfNestDetails { - return _tag == DBTEAMLOGEventDetailsSfNestDetails; -} +@end -- (BOOL)isSfTeamDeclineDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamDeclineDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h" -- (BOOL)isSfTeamGrantAccessDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamGrantAccessDetails; -} +#pragma mark - API Object -- (BOOL)isSfTeamInviteDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamInviteDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType -- (BOOL)isSfTeamInviteChangeRoleDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails; -} +#pragma mark - Constructors -- (BOOL)isSfTeamJoinDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamJoinDetails; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (BOOL)isSfTeamJoinFromOobLinkDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails; + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } -- (BOOL)isSfTeamUninviteDetails { - return _tag == DBTEAMLOGEventDetailsSfTeamUninviteDetails; -} +#pragma mark - Serialization methods -- (BOOL)isSharedContentAddInviteesDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentAddInviteesDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer serialize:instance]; } -- (BOOL)isSharedContentAddLinkExpiryDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer deserialize:dict]; } -- (BOOL)isSharedContentAddLinkPasswordDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails; -} +#pragma mark - Debug Description method -- (BOOL)isSharedContentAddMemberDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentAddMemberDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer serialize:self] description]; } -- (BOOL)isSharedContentChangeDownloadsPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails; -} +#pragma mark - Copyable method -- (BOOL)isSharedContentChangeInviteeRoleDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isSharedContentChangeLinkAudienceDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails; -} +#pragma mark - Hash method -- (BOOL)isSharedContentChangeLinkExpiryDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isSharedContentChangeLinkPasswordDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails; -} + result = prime * result + [self.description_ hash]; -- (BOOL)isSharedContentChangeMemberRoleDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails; + return prime * result; } -- (BOOL)isSharedContentChangeViewerInfoPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails; -} +#pragma mark - Equality method -- (BOOL)isSharedContentClaimInvitationDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDataResidencyMigrationRequestUnsuccessfulType:other]; } -- (BOOL)isSharedContentCopyDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentCopyDetails; +- (BOOL)isEqualToDataResidencyMigrationRequestUnsuccessfulType: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)aDataResidencyMigrationRequestUnsuccessfulType { + if (self == aDataResidencyMigrationRequestUnsuccessfulType) { + return YES; + } + if (![self.description_ isEqual:aDataResidencyMigrationRequestUnsuccessfulType.description_]) { + return NO; + } + return YES; } -- (BOOL)isSharedContentDownloadDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentDownloadDetails; -} +@end -- (BOOL)isSharedContentRelinquishMembershipDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails; -} +#pragma mark - Serializer Object -- (BOOL)isSharedContentRemoveInviteeDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails; -} +@implementation DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer -- (BOOL)isSharedContentRemoveLinkExpiryDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isSharedContentRemoveLinkPasswordDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails; -} + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isSharedContentRemoveMemberDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails; + return jsonDict; } -- (BOOL)isSharedContentRequestAccessDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentRequestAccessDetails; -} ++ (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isSharedContentUnshareDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentUnshareDetails; + return [[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType alloc] initWithDescription_:description_]; } -- (BOOL)isSharedContentViewDetails { - return _tag == DBTEAMLOGEventDetailsSharedContentViewDetails; -} +@end -- (BOOL)isSharedFolderChangeConfidentialityDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDefaultLinkExpirationDaysPolicy.h" -- (BOOL)isSharedFolderChangeLinkPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails; -} +#pragma mark - API Object -- (BOOL)isSharedFolderChangeMemberManagementPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails; -} +@implementation DBTEAMLOGDefaultLinkExpirationDaysPolicy -- (BOOL)isSharedFolderChangeMemberPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails; -} +#pragma mark - Constructors -- (BOOL)isSharedFolderCreateDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderCreateDetails; +- (instancetype)initWithDay1 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1; + } + return self; } -- (BOOL)isSharedFolderMountDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderMountDetails; +- (instancetype)initWithDay180 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180; + } + return self; } -- (BOOL)isSharedFolderTransferOwnershipDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails; +- (instancetype)initWithDay3 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3; + } + return self; } -- (BOOL)isSharedFolderUnmountDetails { - return _tag == DBTEAMLOGEventDetailsSharedFolderUnmountDetails; +- (instancetype)initWithDay30 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30; + } + return self; } -- (BOOL)isSharedNoteOpenedDetails { - return _tag == DBTEAMLOGEventDetailsSharedNoteOpenedDetails; +- (instancetype)initWithDay7 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7; + } + return self; } -- (BOOL)isShmodelAppCreateDetails { - return _tag == DBTEAMLOGEventDetailsShmodelAppCreateDetails; +- (instancetype)initWithDay90 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90; + } + return self; } -- (BOOL)isShmodelCreateDetails { - return _tag == DBTEAMLOGEventDetailsShmodelCreateDetails; +- (instancetype)initWithNone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyNone; + } + return self; } -- (BOOL)isShmodelDisableDetails { - return _tag == DBTEAMLOGEventDetailsShmodelDisableDetails; +- (instancetype)initWithYear1 { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1; + } + return self; } -- (BOOL)isShmodelFbShareDetails { - return _tag == DBTEAMLOGEventDetailsShmodelFbShareDetails; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDefaultLinkExpirationDaysPolicyOther; + } + return self; } -- (BOOL)isShmodelGroupShareDetails { - return _tag == DBTEAMLOGEventDetailsShmodelGroupShareDetails; -} +#pragma mark - Instance field accessors -- (BOOL)isShmodelRemoveExpirationDetails { - return _tag == DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails; -} +#pragma mark - Tag state methods -- (BOOL)isShmodelSetExpirationDetails { - return _tag == DBTEAMLOGEventDetailsShmodelSetExpirationDetails; +- (BOOL)isDay1 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1; } -- (BOOL)isShmodelTeamCopyDetails { - return _tag == DBTEAMLOGEventDetailsShmodelTeamCopyDetails; +- (BOOL)isDay180 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180; } -- (BOOL)isShmodelTeamDownloadDetails { - return _tag == DBTEAMLOGEventDetailsShmodelTeamDownloadDetails; +- (BOOL)isDay3 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3; } -- (BOOL)isShmodelTeamShareDetails { - return _tag == DBTEAMLOGEventDetailsShmodelTeamShareDetails; +- (BOOL)isDay30 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30; } -- (BOOL)isShmodelTeamViewDetails { - return _tag == DBTEAMLOGEventDetailsShmodelTeamViewDetails; +- (BOOL)isDay7 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7; } -- (BOOL)isShmodelVisibilityPasswordDetails { - return _tag == DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails; +- (BOOL)isDay90 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90; } -- (BOOL)isShmodelVisibilityPublicDetails { - return _tag == DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails; +- (BOOL)isNone { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyNone; } -- (BOOL)isShmodelVisibilityTeamOnlyDetails { - return _tag == DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails; +- (BOOL)isYear1 { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1; } -- (BOOL)isSsoAddCertDetails { - return _tag == DBTEAMLOGEventDetailsSsoAddCertDetails; +- (BOOL)isOther { + return _tag == DBTEAMLOGDefaultLinkExpirationDaysPolicyOther; } -- (BOOL)isSsoAddLoginUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoAddLoginUrlDetails; -} +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyNone: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyNone"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1"; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyOther: + return @"DBTEAMLOGDefaultLinkExpirationDaysPolicyOther"; + } -- (BOOL)isSsoAddLogoutUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } -- (BOOL)isSsoChangeCertDetails { - return _tag == DBTEAMLOGEventDetailsSsoChangeCertDetails; -} +#pragma mark - Serialization methods -- (BOOL)isSsoChangeLoginUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:instance]; } -- (BOOL)isSsoChangeLogoutUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:dict]; } -- (BOOL)isSsoChangeSamlIdentityModeDetails { - return _tag == DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails; -} +#pragma mark - Debug Description method -- (BOOL)isSsoRemoveCertDetails { - return _tag == DBTEAMLOGEventDetailsSsoRemoveCertDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:self] description]; } -- (BOOL)isSsoRemoveLoginUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails; -} +#pragma mark - Copyable method -- (BOOL)isSsoRemoveLogoutUrlDetails { - return _tag == DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isTeamFolderChangeStatusDetails { - return _tag == DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails; -} +#pragma mark - Hash method -- (BOOL)isTeamFolderCreateDetails { - return _tag == DBTEAMLOGEventDetailsTeamFolderCreateDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isTeamFolderDowngradeDetails { - return _tag == DBTEAMLOGEventDetailsTeamFolderDowngradeDetails; -} + switch (_tag) { + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyNone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } -- (BOOL)isTeamFolderPermanentlyDeleteDetails { - return _tag == DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails; + return prime * result; } -- (BOOL)isTeamFolderRenameDetails { - return _tag == DBTEAMLOGEventDetailsTeamFolderRenameDetails; -} +#pragma mark - Equality method -- (BOOL)isAccountCaptureChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDefaultLinkExpirationDaysPolicy:other]; } -- (BOOL)isAllowDownloadDisabledDetails { - return _tag == DBTEAMLOGEventDetailsAllowDownloadDisabledDetails; +- (BOOL)isEqualToDefaultLinkExpirationDaysPolicy: + (DBTEAMLOGDefaultLinkExpirationDaysPolicy *)aDefaultLinkExpirationDaysPolicy { + if (self == aDefaultLinkExpirationDaysPolicy) { + return YES; + } + if (self.tag != aDefaultLinkExpirationDaysPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyNone: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + case DBTEAMLOGDefaultLinkExpirationDaysPolicyOther: + return [[self tagName] isEqual:[aDefaultLinkExpirationDaysPolicy tagName]]; + } + return YES; } -- (BOOL)isAllowDownloadEnabledDetails { - return _tag == DBTEAMLOGEventDetailsAllowDownloadEnabledDetails; -} +@end -- (BOOL)isDataPlacementRestrictionChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails; -} +#pragma mark - Serializer Object -- (BOOL)isDataPlacementRestrictionSatisfyPolicyDetails { - return _tag == DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails; -} +@implementation DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer -- (BOOL)isDeviceApprovalsChangeDesktopPolicyDetails { - return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isDeviceApprovalsChangeMobilePolicyDetails { - return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails; -} + if ([valueObj isDay1]) { + jsonDict[@".tag"] = @"day_1"; + } else if ([valueObj isDay180]) { + jsonDict[@".tag"] = @"day_180"; + } else if ([valueObj isDay3]) { + jsonDict[@".tag"] = @"day_3"; + } else if ([valueObj isDay30]) { + jsonDict[@".tag"] = @"day_30"; + } else if ([valueObj isDay7]) { + jsonDict[@".tag"] = @"day_7"; + } else if ([valueObj isDay90]) { + jsonDict[@".tag"] = @"day_90"; + } else if ([valueObj isNone]) { + jsonDict[@".tag"] = @"none"; + } else if ([valueObj isYear1]) { + jsonDict[@".tag"] = @"year_1"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } -- (BOOL)isDeviceApprovalsChangeOverageActionDetails { - return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails; + return jsonDict; } -- (BOOL)isDeviceApprovalsChangeUnlinkActionDetails { - return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails; -} ++ (DBTEAMLOGDefaultLinkExpirationDaysPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; -- (BOOL)isEmmAddExceptionDetails { - return _tag == DBTEAMLOGEventDetailsEmmAddExceptionDetails; + if ([tag isEqualToString:@"day_1"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay1]; + } else if ([tag isEqualToString:@"day_180"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay180]; + } else if ([tag isEqualToString:@"day_3"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay3]; + } else if ([tag isEqualToString:@"day_30"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay30]; + } else if ([tag isEqualToString:@"day_7"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay7]; + } else if ([tag isEqualToString:@"day_90"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithDay90]; + } else if ([tag isEqualToString:@"none"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithNone]; + } else if ([tag isEqualToString:@"year_1"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithYear1]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGDefaultLinkExpirationDaysPolicy alloc] initWithOther]; + } } -- (BOOL)isEmmChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsEmmChangePolicyDetails; -} +@end -- (BOOL)isEmmRemoveExceptionDetails { - return _tag == DBTEAMLOGEventDetailsEmmRemoveExceptionDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeleteTeamInviteLinkDetails.h" -- (BOOL)isExtendedVersionHistoryChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails; -} +#pragma mark - API Object -- (BOOL)isFileCommentsChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails; -} +@implementation DBTEAMLOGDeleteTeamInviteLinkDetails -- (BOOL)isFileRequestsChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails; -} +#pragma mark - Constructors -- (BOOL)isFileRequestsEmailsEnabledDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails; -} +- (instancetype)initWithLinkUrl:(NSString *)linkUrl { + [DBStoneValidators nonnullValidator:nil](linkUrl); -- (BOOL)isFileRequestsEmailsRestrictedToTeamOnlyDetails { - return _tag == DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails; + self = [super init]; + if (self) { + _linkUrl = linkUrl; + } + return self; } -- (BOOL)isGoogleSsoChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails; -} +#pragma mark - Serialization methods -- (BOOL)isGroupUserManagementChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer serialize:instance]; } -- (BOOL)isMemberRequestsChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer deserialize:dict]; } -- (BOOL)isMemberSpaceLimitsAddExceptionDetails { - return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails; -} +#pragma mark - Debug Description method -- (BOOL)isMemberSpaceLimitsChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails; +- (NSString *)debugDescription { + return [[DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer serialize:self] description]; } -- (BOOL)isMemberSpaceLimitsRemoveExceptionDetails { - return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails; -} +#pragma mark - Copyable method -- (BOOL)isMemberSuggestionsChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails; +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isMicrosoftOfficeAddinChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails; -} +#pragma mark - Hash method -- (BOOL)isNetworkControlChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails; -} +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isPaperChangeDeploymentPolicyDetails { - return _tag == DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails; -} + result = prime * result + [self.linkUrl hash]; -- (BOOL)isPaperChangeMemberLinkPolicyDetails { - return _tag == DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails; + return prime * result; } -- (BOOL)isPaperChangeMemberPolicyDetails { - return _tag == DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails; -} +#pragma mark - Equality method -- (BOOL)isPaperChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsPaperChangePolicyDetails; +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteTeamInviteLinkDetails:other]; } -- (BOOL)isPermanentDeleteChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails; +- (BOOL)isEqualToDeleteTeamInviteLinkDetails:(DBTEAMLOGDeleteTeamInviteLinkDetails *)aDeleteTeamInviteLinkDetails { + if (self == aDeleteTeamInviteLinkDetails) { + return YES; + } + if (![self.linkUrl isEqual:aDeleteTeamInviteLinkDetails.linkUrl]) { + return NO; + } + return YES; } -- (BOOL)isSharingChangeFolderJoinPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails; -} +@end -- (BOOL)isSharingChangeLinkPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails; -} +#pragma mark - Serializer Object -- (BOOL)isSharingChangeMemberPolicyDetails { - return _tag == DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails; -} +@implementation DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer -- (BOOL)isSmartSyncChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails; -} ++ (NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; -- (BOOL)isSmartSyncNotOptOutDetails { - return _tag == DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails; -} + jsonDict[@"link_url"] = valueObj.linkUrl; -- (BOOL)isSmartSyncOptOutDetails { - return _tag == DBTEAMLOGEventDetailsSmartSyncOptOutDetails; + return jsonDict; } -- (BOOL)isSsoChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsSsoChangePolicyDetails; -} ++ (DBTEAMLOGDeleteTeamInviteLinkDetails *)deserialize:(NSDictionary *)valueDict { + NSString *linkUrl = valueDict[@"link_url"]; -- (BOOL)isTfaChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsTfaChangePolicyDetails; + return [[DBTEAMLOGDeleteTeamInviteLinkDetails alloc] initWithLinkUrl:linkUrl]; } -- (BOOL)isTwoAccountChangePolicyDetails { - return _tag == DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails; -} +@end -- (BOOL)isWebSessionsChangeFixedLengthPolicyDetails { - return _tag == DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails; -} +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeleteTeamInviteLinkType.h" -- (BOOL)isWebSessionsChangeIdleLengthPolicyDetails { - return _tag == DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails; -} +#pragma mark - API Object -- (BOOL)isTeamProfileAddLogoDetails { - return _tag == DBTEAMLOGEventDetailsTeamProfileAddLogoDetails; -} +@implementation DBTEAMLOGDeleteTeamInviteLinkType -- (BOOL)isTeamProfileChangeDefaultLanguageDetails { - return _tag == DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails; -} +#pragma mark - Constructors -- (BOOL)isTeamProfileChangeLogoDetails { - return _tag == DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (BOOL)isTeamProfileChangeNameDetails { - return _tag == DBTEAMLOGEventDetailsTeamProfileChangeNameDetails; + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } -- (BOOL)isTeamProfileRemoveLogoDetails { - return _tag == DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails; -} +#pragma mark - Serialization methods -- (BOOL)isTfaAddBackupPhoneDetails { - return _tag == DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeleteTeamInviteLinkTypeSerializer serialize:instance]; } -- (BOOL)isTfaAddSecurityKeyDetails { - return _tag == DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeleteTeamInviteLinkTypeSerializer deserialize:dict]; } -- (BOOL)isTfaChangeBackupPhoneDetails { - return _tag == DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails; +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeleteTeamInviteLinkTypeSerializer serialize:self] description]; } -- (BOOL)isTfaChangeStatusDetails { - return _tag == DBTEAMLOGEventDetailsTfaChangeStatusDetails; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isTfaRemoveBackupPhoneDetails { - return _tag == DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (BOOL)isTfaRemoveSecurityKeyDetails { - return _tag == DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeleteTeamInviteLinkType:other]; } -- (BOOL)isTfaResetDetails { - return _tag == DBTEAMLOGEventDetailsTfaResetDetails; +- (BOOL)isEqualToDeleteTeamInviteLinkType:(DBTEAMLOGDeleteTeamInviteLinkType *)aDeleteTeamInviteLinkType { + if (self == aDeleteTeamInviteLinkType) { + return YES; + } + if (![self.description_ isEqual:aDeleteTeamInviteLinkType.description_]) { + return NO; + } + return YES; } -- (BOOL)isMissingDetails { - return _tag == DBTEAMLOGEventDetailsMissingDetails; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeleteTeamInviteLinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -- (BOOL)isOther { - return _tag == DBTEAMLOGEventDetailsOther; ++ (DBTEAMLOGDeleteTeamInviteLinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeleteTeamInviteLinkType alloc] initWithDescription_:description_]; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails: - return @"DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails"; - case DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails: - return @"DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails"; - case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails: - return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails"; - case DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails: - return @"DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails"; - case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: - return @"DBTEAMLOGEventDetailsPaperAdminExportStartDetails"; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: - return @"DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails"; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: - return @"DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails"; - case DBTEAMLOGEventDetailsPaperExternalViewAllowDetails: - return @"DBTEAMLOGEventDetailsPaperExternalViewAllowDetails"; - case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: - return @"DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails"; - case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: - return @"DBTEAMLOGEventDetailsPaperExternalViewForbidDetails"; - case DBTEAMLOGEventDetailsSfExternalInviteWarnDetails: - return @"DBTEAMLOGEventDetailsSfExternalInviteWarnDetails"; - case DBTEAMLOGEventDetailsTeamMergeFromDetails: - return @"DBTEAMLOGEventDetailsTeamMergeFromDetails"; - case DBTEAMLOGEventDetailsTeamMergeToDetails: - return @"DBTEAMLOGEventDetailsTeamMergeToDetails"; - case DBTEAMLOGEventDetailsAppLinkTeamDetails: - return @"DBTEAMLOGEventDetailsAppLinkTeamDetails"; - case DBTEAMLOGEventDetailsAppLinkUserDetails: - return @"DBTEAMLOGEventDetailsAppLinkUserDetails"; - case DBTEAMLOGEventDetailsAppUnlinkTeamDetails: - return @"DBTEAMLOGEventDetailsAppUnlinkTeamDetails"; - case DBTEAMLOGEventDetailsAppUnlinkUserDetails: - return @"DBTEAMLOGEventDetailsAppUnlinkUserDetails"; - case DBTEAMLOGEventDetailsFileAddCommentDetails: - return @"DBTEAMLOGEventDetailsFileAddCommentDetails"; - case DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails: - return @"DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails"; - case DBTEAMLOGEventDetailsFileDeleteCommentDetails: - return @"DBTEAMLOGEventDetailsFileDeleteCommentDetails"; - case DBTEAMLOGEventDetailsFileLikeCommentDetails: - return @"DBTEAMLOGEventDetailsFileLikeCommentDetails"; - case DBTEAMLOGEventDetailsFileResolveCommentDetails: - return @"DBTEAMLOGEventDetailsFileResolveCommentDetails"; - case DBTEAMLOGEventDetailsFileUnlikeCommentDetails: - return @"DBTEAMLOGEventDetailsFileUnlikeCommentDetails"; - case DBTEAMLOGEventDetailsFileUnresolveCommentDetails: - return @"DBTEAMLOGEventDetailsFileUnresolveCommentDetails"; - case DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails: - return @"DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails"; - case DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails: - return @"DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails"; - case DBTEAMLOGEventDetailsDeviceChangeIpWebDetails: - return @"DBTEAMLOGEventDetailsDeviceChangeIpWebDetails"; - case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails: - return @"DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails"; - case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails: - return @"DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails"; - case DBTEAMLOGEventDetailsDeviceLinkFailDetails: - return @"DBTEAMLOGEventDetailsDeviceLinkFailDetails"; - case DBTEAMLOGEventDetailsDeviceLinkSuccessDetails: - return @"DBTEAMLOGEventDetailsDeviceLinkSuccessDetails"; - case DBTEAMLOGEventDetailsDeviceManagementDisabledDetails: - return @"DBTEAMLOGEventDetailsDeviceManagementDisabledDetails"; - case DBTEAMLOGEventDetailsDeviceManagementEnabledDetails: - return @"DBTEAMLOGEventDetailsDeviceManagementEnabledDetails"; - case DBTEAMLOGEventDetailsDeviceUnlinkDetails: - return @"DBTEAMLOGEventDetailsDeviceUnlinkDetails"; - case DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails: - return @"DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails"; - case DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails: - return @"DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails"; - case DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails: - return @"DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails"; - case DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails: - return @"DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails"; - case DBTEAMLOGEventDetailsDisabledDomainInvitesDetails: - return @"DBTEAMLOGEventDetailsDisabledDomainInvitesDetails"; - case DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails"; - case DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails"; - case DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails"; - case DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails"; - case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails"; - case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails: - return @"DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails"; - case DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails: - return @"DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails"; - case DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails: - return @"DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails"; - case DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails: - return @"DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails"; - case DBTEAMLOGEventDetailsEnabledDomainInvitesDetails: - return @"DBTEAMLOGEventDetailsEnabledDomainInvitesDetails"; - case DBTEAMLOGEventDetailsCreateFolderDetails: - return @"DBTEAMLOGEventDetailsCreateFolderDetails"; - case DBTEAMLOGEventDetailsFileAddDetails: - return @"DBTEAMLOGEventDetailsFileAddDetails"; - case DBTEAMLOGEventDetailsFileCopyDetails: - return @"DBTEAMLOGEventDetailsFileCopyDetails"; - case DBTEAMLOGEventDetailsFileDeleteDetails: - return @"DBTEAMLOGEventDetailsFileDeleteDetails"; - case DBTEAMLOGEventDetailsFileDownloadDetails: - return @"DBTEAMLOGEventDetailsFileDownloadDetails"; - case DBTEAMLOGEventDetailsFileEditDetails: - return @"DBTEAMLOGEventDetailsFileEditDetails"; - case DBTEAMLOGEventDetailsFileGetCopyReferenceDetails: - return @"DBTEAMLOGEventDetailsFileGetCopyReferenceDetails"; - case DBTEAMLOGEventDetailsFileMoveDetails: - return @"DBTEAMLOGEventDetailsFileMoveDetails"; - case DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails: - return @"DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails"; - case DBTEAMLOGEventDetailsFilePreviewDetails: - return @"DBTEAMLOGEventDetailsFilePreviewDetails"; - case DBTEAMLOGEventDetailsFileRenameDetails: - return @"DBTEAMLOGEventDetailsFileRenameDetails"; - case DBTEAMLOGEventDetailsFileRestoreDetails: - return @"DBTEAMLOGEventDetailsFileRestoreDetails"; - case DBTEAMLOGEventDetailsFileRevertDetails: - return @"DBTEAMLOGEventDetailsFileRevertDetails"; - case DBTEAMLOGEventDetailsFileRollbackChangesDetails: - return @"DBTEAMLOGEventDetailsFileRollbackChangesDetails"; - case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: - return @"DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails"; - case DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails: - return @"DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails"; - case DBTEAMLOGEventDetailsFileRequestChangeDetails: - return @"DBTEAMLOGEventDetailsFileRequestChangeDetails"; - case DBTEAMLOGEventDetailsFileRequestChangeFolderDetails: - return @"DBTEAMLOGEventDetailsFileRequestChangeFolderDetails"; - case DBTEAMLOGEventDetailsFileRequestCloseDetails: - return @"DBTEAMLOGEventDetailsFileRequestCloseDetails"; - case DBTEAMLOGEventDetailsFileRequestCreateDetails: - return @"DBTEAMLOGEventDetailsFileRequestCreateDetails"; - case DBTEAMLOGEventDetailsFileRequestReceiveFileDetails: - return @"DBTEAMLOGEventDetailsFileRequestReceiveFileDetails"; - case DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails: - return @"DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails"; - case DBTEAMLOGEventDetailsFileRequestSendDetails: - return @"DBTEAMLOGEventDetailsFileRequestSendDetails"; - case DBTEAMLOGEventDetailsGroupAddExternalIdDetails: - return @"DBTEAMLOGEventDetailsGroupAddExternalIdDetails"; - case DBTEAMLOGEventDetailsGroupAddMemberDetails: - return @"DBTEAMLOGEventDetailsGroupAddMemberDetails"; - case DBTEAMLOGEventDetailsGroupChangeExternalIdDetails: - return @"DBTEAMLOGEventDetailsGroupChangeExternalIdDetails"; - case DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails: - return @"DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails"; - case DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails: - return @"DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails"; - case DBTEAMLOGEventDetailsGroupCreateDetails: - return @"DBTEAMLOGEventDetailsGroupCreateDetails"; - case DBTEAMLOGEventDetailsGroupDeleteDetails: - return @"DBTEAMLOGEventDetailsGroupDeleteDetails"; - case DBTEAMLOGEventDetailsGroupMovedDetails: - return @"DBTEAMLOGEventDetailsGroupMovedDetails"; - case DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails: - return @"DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails"; - case DBTEAMLOGEventDetailsGroupRemoveMemberDetails: - return @"DBTEAMLOGEventDetailsGroupRemoveMemberDetails"; - case DBTEAMLOGEventDetailsGroupRenameDetails: - return @"DBTEAMLOGEventDetailsGroupRenameDetails"; - case DBTEAMLOGEventDetailsEmmErrorDetails: - return @"DBTEAMLOGEventDetailsEmmErrorDetails"; - case DBTEAMLOGEventDetailsLoginFailDetails: - return @"DBTEAMLOGEventDetailsLoginFailDetails"; - case DBTEAMLOGEventDetailsLoginSuccessDetails: - return @"DBTEAMLOGEventDetailsLoginSuccessDetails"; - case DBTEAMLOGEventDetailsLogoutDetails: - return @"DBTEAMLOGEventDetailsLogoutDetails"; - case DBTEAMLOGEventDetailsResellerSupportSessionEndDetails: - return @"DBTEAMLOGEventDetailsResellerSupportSessionEndDetails"; - case DBTEAMLOGEventDetailsResellerSupportSessionStartDetails: - return @"DBTEAMLOGEventDetailsResellerSupportSessionStartDetails"; - case DBTEAMLOGEventDetailsSignInAsSessionEndDetails: - return @"DBTEAMLOGEventDetailsSignInAsSessionEndDetails"; - case DBTEAMLOGEventDetailsSignInAsSessionStartDetails: - return @"DBTEAMLOGEventDetailsSignInAsSessionStartDetails"; - case DBTEAMLOGEventDetailsSsoErrorDetails: - return @"DBTEAMLOGEventDetailsSsoErrorDetails"; - case DBTEAMLOGEventDetailsMemberAddNameDetails: - return @"DBTEAMLOGEventDetailsMemberAddNameDetails"; - case DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails: - return @"DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails"; - case DBTEAMLOGEventDetailsMemberChangeEmailDetails: - return @"DBTEAMLOGEventDetailsMemberChangeEmailDetails"; - case DBTEAMLOGEventDetailsMemberChangeNameDetails: - return @"DBTEAMLOGEventDetailsMemberChangeNameDetails"; - case DBTEAMLOGEventDetailsMemberChangeStatusDetails: - return @"DBTEAMLOGEventDetailsMemberChangeStatusDetails"; - case DBTEAMLOGEventDetailsMemberSuggestDetails: - return @"DBTEAMLOGEventDetailsMemberSuggestDetails"; - case DBTEAMLOGEventDetailsPaperContentAddMemberDetails: - return @"DBTEAMLOGEventDetailsPaperContentAddMemberDetails"; - case DBTEAMLOGEventDetailsPaperContentAddToFolderDetails: - return @"DBTEAMLOGEventDetailsPaperContentAddToFolderDetails"; - case DBTEAMLOGEventDetailsPaperContentArchiveDetails: - return @"DBTEAMLOGEventDetailsPaperContentArchiveDetails"; - case DBTEAMLOGEventDetailsPaperContentCreateDetails: - return @"DBTEAMLOGEventDetailsPaperContentCreateDetails"; - case DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails: - return @"DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails"; - case DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails: - return @"DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails"; - case DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails: - return @"DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails"; - case DBTEAMLOGEventDetailsPaperContentRenameDetails: - return @"DBTEAMLOGEventDetailsPaperContentRenameDetails"; - case DBTEAMLOGEventDetailsPaperContentRestoreDetails: - return @"DBTEAMLOGEventDetailsPaperContentRestoreDetails"; - case DBTEAMLOGEventDetailsPaperDocAddCommentDetails: - return @"DBTEAMLOGEventDetailsPaperDocAddCommentDetails"; - case DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails: - return @"DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails"; - case DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails: - return @"DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails"; - case DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails: - return @"DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails"; - case DBTEAMLOGEventDetailsPaperDocDeletedDetails: - return @"DBTEAMLOGEventDetailsPaperDocDeletedDetails"; - case DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails: - return @"DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails"; - case DBTEAMLOGEventDetailsPaperDocDownloadDetails: - return @"DBTEAMLOGEventDetailsPaperDocDownloadDetails"; - case DBTEAMLOGEventDetailsPaperDocEditDetails: - return @"DBTEAMLOGEventDetailsPaperDocEditDetails"; - case DBTEAMLOGEventDetailsPaperDocEditCommentDetails: - return @"DBTEAMLOGEventDetailsPaperDocEditCommentDetails"; - case DBTEAMLOGEventDetailsPaperDocFollowedDetails: - return @"DBTEAMLOGEventDetailsPaperDocFollowedDetails"; - case DBTEAMLOGEventDetailsPaperDocMentionDetails: - return @"DBTEAMLOGEventDetailsPaperDocMentionDetails"; - case DBTEAMLOGEventDetailsPaperDocRequestAccessDetails: - return @"DBTEAMLOGEventDetailsPaperDocRequestAccessDetails"; - case DBTEAMLOGEventDetailsPaperDocResolveCommentDetails: - return @"DBTEAMLOGEventDetailsPaperDocResolveCommentDetails"; - case DBTEAMLOGEventDetailsPaperDocRevertDetails: - return @"DBTEAMLOGEventDetailsPaperDocRevertDetails"; - case DBTEAMLOGEventDetailsPaperDocSlackShareDetails: - return @"DBTEAMLOGEventDetailsPaperDocSlackShareDetails"; - case DBTEAMLOGEventDetailsPaperDocTeamInviteDetails: - return @"DBTEAMLOGEventDetailsPaperDocTeamInviteDetails"; - case DBTEAMLOGEventDetailsPaperDocTrashedDetails: - return @"DBTEAMLOGEventDetailsPaperDocTrashedDetails"; - case DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails: - return @"DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails"; - case DBTEAMLOGEventDetailsPaperDocUntrashedDetails: - return @"DBTEAMLOGEventDetailsPaperDocUntrashedDetails"; - case DBTEAMLOGEventDetailsPaperDocViewDetails: - return @"DBTEAMLOGEventDetailsPaperDocViewDetails"; - case DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails: - return @"DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails"; - case DBTEAMLOGEventDetailsPaperFolderDeletedDetails: - return @"DBTEAMLOGEventDetailsPaperFolderDeletedDetails"; - case DBTEAMLOGEventDetailsPaperFolderFollowedDetails: - return @"DBTEAMLOGEventDetailsPaperFolderFollowedDetails"; - case DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails: - return @"DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails"; - case DBTEAMLOGEventDetailsPasswordChangeDetails: - return @"DBTEAMLOGEventDetailsPasswordChangeDetails"; - case DBTEAMLOGEventDetailsPasswordResetDetails: - return @"DBTEAMLOGEventDetailsPasswordResetDetails"; - case DBTEAMLOGEventDetailsPasswordResetAllDetails: - return @"DBTEAMLOGEventDetailsPasswordResetAllDetails"; - case DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails: - return @"DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails"; - case DBTEAMLOGEventDetailsEmmCreateUsageReportDetails: - return @"DBTEAMLOGEventDetailsEmmCreateUsageReportDetails"; - case DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails: - return @"DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails"; - case DBTEAMLOGEventDetailsTeamActivityCreateReportDetails: - return @"DBTEAMLOGEventDetailsTeamActivityCreateReportDetails"; - case DBTEAMLOGEventDetailsCollectionShareDetails: - return @"DBTEAMLOGEventDetailsCollectionShareDetails"; - case DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails: - return @"DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails"; - case DBTEAMLOGEventDetailsNoteAclLinkDetails: - return @"DBTEAMLOGEventDetailsNoteAclLinkDetails"; - case DBTEAMLOGEventDetailsNoteAclTeamLinkDetails: - return @"DBTEAMLOGEventDetailsNoteAclTeamLinkDetails"; - case DBTEAMLOGEventDetailsNoteSharedDetails: - return @"DBTEAMLOGEventDetailsNoteSharedDetails"; - case DBTEAMLOGEventDetailsNoteShareReceiveDetails: - return @"DBTEAMLOGEventDetailsNoteShareReceiveDetails"; - case DBTEAMLOGEventDetailsOpenNoteSharedDetails: - return @"DBTEAMLOGEventDetailsOpenNoteSharedDetails"; - case DBTEAMLOGEventDetailsSfAddGroupDetails: - return @"DBTEAMLOGEventDetailsSfAddGroupDetails"; - case DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails: - return @"DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails"; - case DBTEAMLOGEventDetailsSfInviteGroupDetails: - return @"DBTEAMLOGEventDetailsSfInviteGroupDetails"; - case DBTEAMLOGEventDetailsSfNestDetails: - return @"DBTEAMLOGEventDetailsSfNestDetails"; - case DBTEAMLOGEventDetailsSfTeamDeclineDetails: - return @"DBTEAMLOGEventDetailsSfTeamDeclineDetails"; - case DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: - return @"DBTEAMLOGEventDetailsSfTeamGrantAccessDetails"; - case DBTEAMLOGEventDetailsSfTeamInviteDetails: - return @"DBTEAMLOGEventDetailsSfTeamInviteDetails"; - case DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails: - return @"DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails"; - case DBTEAMLOGEventDetailsSfTeamJoinDetails: - return @"DBTEAMLOGEventDetailsSfTeamJoinDetails"; - case DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails: - return @"DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails"; - case DBTEAMLOGEventDetailsSfTeamUninviteDetails: - return @"DBTEAMLOGEventDetailsSfTeamUninviteDetails"; - case DBTEAMLOGEventDetailsSharedContentAddInviteesDetails: - return @"DBTEAMLOGEventDetailsSharedContentAddInviteesDetails"; - case DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails: - return @"DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails"; - case DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails: - return @"DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails"; - case DBTEAMLOGEventDetailsSharedContentAddMemberDetails: - return @"DBTEAMLOGEventDetailsSharedContentAddMemberDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails"; - case DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails: - return @"DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails"; - case DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails: - return @"DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails"; - case DBTEAMLOGEventDetailsSharedContentCopyDetails: - return @"DBTEAMLOGEventDetailsSharedContentCopyDetails"; - case DBTEAMLOGEventDetailsSharedContentDownloadDetails: - return @"DBTEAMLOGEventDetailsSharedContentDownloadDetails"; - case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: - return @"DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails"; - case DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails: - return @"DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails"; - case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: - return @"DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails"; - case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: - return @"DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails"; - case DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails: - return @"DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails"; - case DBTEAMLOGEventDetailsSharedContentRequestAccessDetails: - return @"DBTEAMLOGEventDetailsSharedContentRequestAccessDetails"; - case DBTEAMLOGEventDetailsSharedContentUnshareDetails: - return @"DBTEAMLOGEventDetailsSharedContentUnshareDetails"; - case DBTEAMLOGEventDetailsSharedContentViewDetails: - return @"DBTEAMLOGEventDetailsSharedContentViewDetails"; - case DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails: - return @"DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails"; - case DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: - return @"DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails"; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails: - return @"DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails"; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails: - return @"DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails"; - case DBTEAMLOGEventDetailsSharedFolderCreateDetails: - return @"DBTEAMLOGEventDetailsSharedFolderCreateDetails"; - case DBTEAMLOGEventDetailsSharedFolderMountDetails: - return @"DBTEAMLOGEventDetailsSharedFolderMountDetails"; - case DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails: - return @"DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails"; - case DBTEAMLOGEventDetailsSharedFolderUnmountDetails: - return @"DBTEAMLOGEventDetailsSharedFolderUnmountDetails"; - case DBTEAMLOGEventDetailsSharedNoteOpenedDetails: - return @"DBTEAMLOGEventDetailsSharedNoteOpenedDetails"; - case DBTEAMLOGEventDetailsShmodelAppCreateDetails: - return @"DBTEAMLOGEventDetailsShmodelAppCreateDetails"; - case DBTEAMLOGEventDetailsShmodelCreateDetails: - return @"DBTEAMLOGEventDetailsShmodelCreateDetails"; - case DBTEAMLOGEventDetailsShmodelDisableDetails: - return @"DBTEAMLOGEventDetailsShmodelDisableDetails"; - case DBTEAMLOGEventDetailsShmodelFbShareDetails: - return @"DBTEAMLOGEventDetailsShmodelFbShareDetails"; - case DBTEAMLOGEventDetailsShmodelGroupShareDetails: - return @"DBTEAMLOGEventDetailsShmodelGroupShareDetails"; - case DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails: - return @"DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails"; - case DBTEAMLOGEventDetailsShmodelSetExpirationDetails: - return @"DBTEAMLOGEventDetailsShmodelSetExpirationDetails"; - case DBTEAMLOGEventDetailsShmodelTeamCopyDetails: - return @"DBTEAMLOGEventDetailsShmodelTeamCopyDetails"; - case DBTEAMLOGEventDetailsShmodelTeamDownloadDetails: - return @"DBTEAMLOGEventDetailsShmodelTeamDownloadDetails"; - case DBTEAMLOGEventDetailsShmodelTeamShareDetails: - return @"DBTEAMLOGEventDetailsShmodelTeamShareDetails"; - case DBTEAMLOGEventDetailsShmodelTeamViewDetails: - return @"DBTEAMLOGEventDetailsShmodelTeamViewDetails"; - case DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails: - return @"DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails"; - case DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails: - return @"DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails"; - case DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails: - return @"DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails"; - case DBTEAMLOGEventDetailsSsoAddCertDetails: - return @"DBTEAMLOGEventDetailsSsoAddCertDetails"; - case DBTEAMLOGEventDetailsSsoAddLoginUrlDetails: - return @"DBTEAMLOGEventDetailsSsoAddLoginUrlDetails"; - case DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails: - return @"DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails"; - case DBTEAMLOGEventDetailsSsoChangeCertDetails: - return @"DBTEAMLOGEventDetailsSsoChangeCertDetails"; - case DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails: - return @"DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails"; - case DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails: - return @"DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails"; - case DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails: - return @"DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails"; - case DBTEAMLOGEventDetailsSsoRemoveCertDetails: - return @"DBTEAMLOGEventDetailsSsoRemoveCertDetails"; - case DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails: - return @"DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails"; - case DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails: - return @"DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails"; - case DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails: - return @"DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails"; - case DBTEAMLOGEventDetailsTeamFolderCreateDetails: - return @"DBTEAMLOGEventDetailsTeamFolderCreateDetails"; - case DBTEAMLOGEventDetailsTeamFolderDowngradeDetails: - return @"DBTEAMLOGEventDetailsTeamFolderDowngradeDetails"; - case DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails: - return @"DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails"; - case DBTEAMLOGEventDetailsTeamFolderRenameDetails: - return @"DBTEAMLOGEventDetailsTeamFolderRenameDetails"; - case DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails: - return @"DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails"; - case DBTEAMLOGEventDetailsAllowDownloadDisabledDetails: - return @"DBTEAMLOGEventDetailsAllowDownloadDisabledDetails"; - case DBTEAMLOGEventDetailsAllowDownloadEnabledDetails: - return @"DBTEAMLOGEventDetailsAllowDownloadEnabledDetails"; - case DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails: - return @"DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails"; - case DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails: - return @"DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails"; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails: - return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails"; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails: - return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails"; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails: - return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails"; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails: - return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails"; - case DBTEAMLOGEventDetailsEmmAddExceptionDetails: - return @"DBTEAMLOGEventDetailsEmmAddExceptionDetails"; - case DBTEAMLOGEventDetailsEmmChangePolicyDetails: - return @"DBTEAMLOGEventDetailsEmmChangePolicyDetails"; - case DBTEAMLOGEventDetailsEmmRemoveExceptionDetails: - return @"DBTEAMLOGEventDetailsEmmRemoveExceptionDetails"; - case DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails: - return @"DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails"; - case DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails: - return @"DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails"; - case DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails: - return @"DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails"; - case DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails: - return @"DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails"; - case DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails: - return @"DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails"; - case DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails: - return @"DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails"; - case DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails: - return @"DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails"; - case DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails: - return @"DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails"; - case DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails: - return @"DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails"; - case DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails: - return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails"; - case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails: - return @"DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails"; - case DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails: - return @"DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails"; - case DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails: - return @"DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails"; - case DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails: - return @"DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails"; - case DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails: - return @"DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails"; - case DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails: - return @"DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails"; - case DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails: - return @"DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails"; - case DBTEAMLOGEventDetailsPaperChangePolicyDetails: - return @"DBTEAMLOGEventDetailsPaperChangePolicyDetails"; - case DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails: - return @"DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails"; - case DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails: - return @"DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails"; - case DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails: - return @"DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails"; - case DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails: - return @"DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails"; - case DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails: - return @"DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails"; - case DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails: - return @"DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails"; - case DBTEAMLOGEventDetailsSmartSyncOptOutDetails: - return @"DBTEAMLOGEventDetailsSmartSyncOptOutDetails"; - case DBTEAMLOGEventDetailsSsoChangePolicyDetails: - return @"DBTEAMLOGEventDetailsSsoChangePolicyDetails"; - case DBTEAMLOGEventDetailsTfaChangePolicyDetails: - return @"DBTEAMLOGEventDetailsTfaChangePolicyDetails"; - case DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails: - return @"DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails"; - case DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails: - return @"DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails"; - case DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails: - return @"DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails"; - case DBTEAMLOGEventDetailsTeamProfileAddLogoDetails: - return @"DBTEAMLOGEventDetailsTeamProfileAddLogoDetails"; - case DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails: - return @"DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails"; - case DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails: - return @"DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails"; - case DBTEAMLOGEventDetailsTeamProfileChangeNameDetails: - return @"DBTEAMLOGEventDetailsTeamProfileChangeNameDetails"; - case DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails: - return @"DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails"; - case DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails: - return @"DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails"; - case DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails: - return @"DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails"; - case DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails: - return @"DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails"; - case DBTEAMLOGEventDetailsTfaChangeStatusDetails: - return @"DBTEAMLOGEventDetailsTfaChangeStatusDetails"; - case DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails: - return @"DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails"; - case DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails: - return @"DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails"; - case DBTEAMLOGEventDetailsTfaResetDetails: - return @"DBTEAMLOGEventDetailsTfaResetDetails"; - case DBTEAMLOGEventDetailsMissingDetails: - return @"DBTEAMLOGEventDetailsMissingDetails"; - case DBTEAMLOGEventDetailsOther: - return @"DBTEAMLOGEventDetailsOther"; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" +#import "DBTEAMLOGLegacyDeviceSessionLogInfo.h" +#import "DBTEAMLOGMobileDeviceSessionLogInfo.h" +#import "DBTEAMLOGWebDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithIpAddress:(NSString *)ipAddress created:(NSDate *)created updated:(NSDate *)updated { + + self = [super init]; + if (self) { + _ipAddress = ipAddress; + _created = created; + _updated = updated; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithIpAddress:nil created:nil updated:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGEventDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGEventDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceSessionLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGEventDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -16446,551 +16982,14 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails: - result = prime * result + [self.memberChangeMembershipTypeDetails hash]; - case DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails: - result = prime * result + [self.memberPermanentlyDeleteAccountContentsDetails hash]; - case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails: - result = prime * result + [self.memberSpaceLimitsChangeStatusDetails hash]; - case DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails: - result = prime * result + [self.memberTransferAccountContentsDetails hash]; - case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: - result = prime * result + [self.paperAdminExportStartDetails hash]; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: - result = prime * result + [self.paperEnabledUsersGroupAdditionDetails hash]; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: - result = prime * result + [self.paperEnabledUsersGroupRemovalDetails hash]; - case DBTEAMLOGEventDetailsPaperExternalViewAllowDetails: - result = prime * result + [self.paperExternalViewAllowDetails hash]; - case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: - result = prime * result + [self.paperExternalViewDefaultTeamDetails hash]; - case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: - result = prime * result + [self.paperExternalViewForbidDetails hash]; - case DBTEAMLOGEventDetailsSfExternalInviteWarnDetails: - result = prime * result + [self.sfExternalInviteWarnDetails hash]; - case DBTEAMLOGEventDetailsTeamMergeFromDetails: - result = prime * result + [self.teamMergeFromDetails hash]; - case DBTEAMLOGEventDetailsTeamMergeToDetails: - result = prime * result + [self.teamMergeToDetails hash]; - case DBTEAMLOGEventDetailsAppLinkTeamDetails: - result = prime * result + [self.appLinkTeamDetails hash]; - case DBTEAMLOGEventDetailsAppLinkUserDetails: - result = prime * result + [self.appLinkUserDetails hash]; - case DBTEAMLOGEventDetailsAppUnlinkTeamDetails: - result = prime * result + [self.appUnlinkTeamDetails hash]; - case DBTEAMLOGEventDetailsAppUnlinkUserDetails: - result = prime * result + [self.appUnlinkUserDetails hash]; - case DBTEAMLOGEventDetailsFileAddCommentDetails: - result = prime * result + [self.fileAddCommentDetails hash]; - case DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails: - result = prime * result + [self.fileChangeCommentSubscriptionDetails hash]; - case DBTEAMLOGEventDetailsFileDeleteCommentDetails: - result = prime * result + [self.fileDeleteCommentDetails hash]; - case DBTEAMLOGEventDetailsFileLikeCommentDetails: - result = prime * result + [self.fileLikeCommentDetails hash]; - case DBTEAMLOGEventDetailsFileResolveCommentDetails: - result = prime * result + [self.fileResolveCommentDetails hash]; - case DBTEAMLOGEventDetailsFileUnlikeCommentDetails: - result = prime * result + [self.fileUnlikeCommentDetails hash]; - case DBTEAMLOGEventDetailsFileUnresolveCommentDetails: - result = prime * result + [self.fileUnresolveCommentDetails hash]; - case DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails: - result = prime * result + [self.deviceChangeIpDesktopDetails hash]; - case DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails: - result = prime * result + [self.deviceChangeIpMobileDetails hash]; - case DBTEAMLOGEventDetailsDeviceChangeIpWebDetails: - result = prime * result + [self.deviceChangeIpWebDetails hash]; - case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails: - result = prime * result + [self.deviceDeleteOnUnlinkFailDetails hash]; - case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails: - result = prime * result + [self.deviceDeleteOnUnlinkSuccessDetails hash]; - case DBTEAMLOGEventDetailsDeviceLinkFailDetails: - result = prime * result + [self.deviceLinkFailDetails hash]; - case DBTEAMLOGEventDetailsDeviceLinkSuccessDetails: - result = prime * result + [self.deviceLinkSuccessDetails hash]; - case DBTEAMLOGEventDetailsDeviceManagementDisabledDetails: - result = prime * result + [self.deviceManagementDisabledDetails hash]; - case DBTEAMLOGEventDetailsDeviceManagementEnabledDetails: - result = prime * result + [self.deviceManagementEnabledDetails hash]; - case DBTEAMLOGEventDetailsDeviceUnlinkDetails: - result = prime * result + [self.deviceUnlinkDetails hash]; - case DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails: - result = prime * result + [self.emmRefreshAuthTokenDetails hash]; - case DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails: - result = prime * result + [self.accountCaptureChangeAvailabilityDetails hash]; - case DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails: - result = prime * result + [self.accountCaptureMigrateAccountDetails hash]; - case DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails: - result = prime * result + [self.accountCaptureRelinquishAccountDetails hash]; - case DBTEAMLOGEventDetailsDisabledDomainInvitesDetails: - result = prime * result + [self.disabledDomainInvitesDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails: - result = prime * result + [self.domainInvitesApproveRequestToJoinTeamDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails: - result = prime * result + [self.domainInvitesDeclineRequestToJoinTeamDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails: - result = prime * result + [self.domainInvitesEmailExistingUsersDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails: - result = prime * result + [self.domainInvitesRequestToJoinTeamDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails: - result = prime * result + [self.domainInvitesSetInviteNewUserPrefToNoDetails hash]; - case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails: - result = prime * result + [self.domainInvitesSetInviteNewUserPrefToYesDetails hash]; - case DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails: - result = prime * result + [self.domainVerificationAddDomainFailDetails hash]; - case DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails: - result = prime * result + [self.domainVerificationAddDomainSuccessDetails hash]; - case DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails: - result = prime * result + [self.domainVerificationRemoveDomainDetails hash]; - case DBTEAMLOGEventDetailsEnabledDomainInvitesDetails: - result = prime * result + [self.enabledDomainInvitesDetails hash]; - case DBTEAMLOGEventDetailsCreateFolderDetails: - result = prime * result + [self.createFolderDetails hash]; - case DBTEAMLOGEventDetailsFileAddDetails: - result = prime * result + [self.fileAddDetails hash]; - case DBTEAMLOGEventDetailsFileCopyDetails: - result = prime * result + [self.fileCopyDetails hash]; - case DBTEAMLOGEventDetailsFileDeleteDetails: - result = prime * result + [self.fileDeleteDetails hash]; - case DBTEAMLOGEventDetailsFileDownloadDetails: - result = prime * result + [self.fileDownloadDetails hash]; - case DBTEAMLOGEventDetailsFileEditDetails: - result = prime * result + [self.fileEditDetails hash]; - case DBTEAMLOGEventDetailsFileGetCopyReferenceDetails: - result = prime * result + [self.fileGetCopyReferenceDetails hash]; - case DBTEAMLOGEventDetailsFileMoveDetails: - result = prime * result + [self.fileMoveDetails hash]; - case DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails: - result = prime * result + [self.filePermanentlyDeleteDetails hash]; - case DBTEAMLOGEventDetailsFilePreviewDetails: - result = prime * result + [self.filePreviewDetails hash]; - case DBTEAMLOGEventDetailsFileRenameDetails: - result = prime * result + [self.fileRenameDetails hash]; - case DBTEAMLOGEventDetailsFileRestoreDetails: - result = prime * result + [self.fileRestoreDetails hash]; - case DBTEAMLOGEventDetailsFileRevertDetails: - result = prime * result + [self.fileRevertDetails hash]; - case DBTEAMLOGEventDetailsFileRollbackChangesDetails: - result = prime * result + [self.fileRollbackChangesDetails hash]; - case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: - result = prime * result + [self.fileSaveCopyReferenceDetails hash]; - case DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails: - result = prime * result + [self.fileRequestAddDeadlineDetails hash]; - case DBTEAMLOGEventDetailsFileRequestChangeDetails: - result = prime * result + [self.fileRequestChangeDetails hash]; - case DBTEAMLOGEventDetailsFileRequestChangeFolderDetails: - result = prime * result + [self.fileRequestChangeFolderDetails hash]; - case DBTEAMLOGEventDetailsFileRequestCloseDetails: - result = prime * result + [self.fileRequestCloseDetails hash]; - case DBTEAMLOGEventDetailsFileRequestCreateDetails: - result = prime * result + [self.fileRequestCreateDetails hash]; - case DBTEAMLOGEventDetailsFileRequestReceiveFileDetails: - result = prime * result + [self.fileRequestReceiveFileDetails hash]; - case DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails: - result = prime * result + [self.fileRequestRemoveDeadlineDetails hash]; - case DBTEAMLOGEventDetailsFileRequestSendDetails: - result = prime * result + [self.fileRequestSendDetails hash]; - case DBTEAMLOGEventDetailsGroupAddExternalIdDetails: - result = prime * result + [self.groupAddExternalIdDetails hash]; - case DBTEAMLOGEventDetailsGroupAddMemberDetails: - result = prime * result + [self.groupAddMemberDetails hash]; - case DBTEAMLOGEventDetailsGroupChangeExternalIdDetails: - result = prime * result + [self.groupChangeExternalIdDetails hash]; - case DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails: - result = prime * result + [self.groupChangeManagementTypeDetails hash]; - case DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails: - result = prime * result + [self.groupChangeMemberRoleDetails hash]; - case DBTEAMLOGEventDetailsGroupCreateDetails: - result = prime * result + [self.groupCreateDetails hash]; - case DBTEAMLOGEventDetailsGroupDeleteDetails: - result = prime * result + [self.groupDeleteDetails hash]; - case DBTEAMLOGEventDetailsGroupMovedDetails: - result = prime * result + [self.groupMovedDetails hash]; - case DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails: - result = prime * result + [self.groupRemoveExternalIdDetails hash]; - case DBTEAMLOGEventDetailsGroupRemoveMemberDetails: - result = prime * result + [self.groupRemoveMemberDetails hash]; - case DBTEAMLOGEventDetailsGroupRenameDetails: - result = prime * result + [self.groupRenameDetails hash]; - case DBTEAMLOGEventDetailsEmmErrorDetails: - result = prime * result + [self.emmErrorDetails hash]; - case DBTEAMLOGEventDetailsLoginFailDetails: - result = prime * result + [self.loginFailDetails hash]; - case DBTEAMLOGEventDetailsLoginSuccessDetails: - result = prime * result + [self.loginSuccessDetails hash]; - case DBTEAMLOGEventDetailsLogoutDetails: - result = prime * result + [self.logoutDetails hash]; - case DBTEAMLOGEventDetailsResellerSupportSessionEndDetails: - result = prime * result + [self.resellerSupportSessionEndDetails hash]; - case DBTEAMLOGEventDetailsResellerSupportSessionStartDetails: - result = prime * result + [self.resellerSupportSessionStartDetails hash]; - case DBTEAMLOGEventDetailsSignInAsSessionEndDetails: - result = prime * result + [self.signInAsSessionEndDetails hash]; - case DBTEAMLOGEventDetailsSignInAsSessionStartDetails: - result = prime * result + [self.signInAsSessionStartDetails hash]; - case DBTEAMLOGEventDetailsSsoErrorDetails: - result = prime * result + [self.ssoErrorDetails hash]; - case DBTEAMLOGEventDetailsMemberAddNameDetails: - result = prime * result + [self.memberAddNameDetails hash]; - case DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails: - result = prime * result + [self.memberChangeAdminRoleDetails hash]; - case DBTEAMLOGEventDetailsMemberChangeEmailDetails: - result = prime * result + [self.memberChangeEmailDetails hash]; - case DBTEAMLOGEventDetailsMemberChangeNameDetails: - result = prime * result + [self.memberChangeNameDetails hash]; - case DBTEAMLOGEventDetailsMemberChangeStatusDetails: - result = prime * result + [self.memberChangeStatusDetails hash]; - case DBTEAMLOGEventDetailsMemberSuggestDetails: - result = prime * result + [self.memberSuggestDetails hash]; - case DBTEAMLOGEventDetailsPaperContentAddMemberDetails: - result = prime * result + [self.paperContentAddMemberDetails hash]; - case DBTEAMLOGEventDetailsPaperContentAddToFolderDetails: - result = prime * result + [self.paperContentAddToFolderDetails hash]; - case DBTEAMLOGEventDetailsPaperContentArchiveDetails: - result = prime * result + [self.paperContentArchiveDetails hash]; - case DBTEAMLOGEventDetailsPaperContentCreateDetails: - result = prime * result + [self.paperContentCreateDetails hash]; - case DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails: - result = prime * result + [self.paperContentPermanentlyDeleteDetails hash]; - case DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails: - result = prime * result + [self.paperContentRemoveFromFolderDetails hash]; - case DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails: - result = prime * result + [self.paperContentRemoveMemberDetails hash]; - case DBTEAMLOGEventDetailsPaperContentRenameDetails: - result = prime * result + [self.paperContentRenameDetails hash]; - case DBTEAMLOGEventDetailsPaperContentRestoreDetails: - result = prime * result + [self.paperContentRestoreDetails hash]; - case DBTEAMLOGEventDetailsPaperDocAddCommentDetails: - result = prime * result + [self.paperDocAddCommentDetails hash]; - case DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails: - result = prime * result + [self.paperDocChangeMemberRoleDetails hash]; - case DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails: - result = prime * result + [self.paperDocChangeSharingPolicyDetails hash]; - case DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails: - result = prime * result + [self.paperDocChangeSubscriptionDetails hash]; - case DBTEAMLOGEventDetailsPaperDocDeletedDetails: - result = prime * result + [self.paperDocDeletedDetails hash]; - case DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails: - result = prime * result + [self.paperDocDeleteCommentDetails hash]; - case DBTEAMLOGEventDetailsPaperDocDownloadDetails: - result = prime * result + [self.paperDocDownloadDetails hash]; - case DBTEAMLOGEventDetailsPaperDocEditDetails: - result = prime * result + [self.paperDocEditDetails hash]; - case DBTEAMLOGEventDetailsPaperDocEditCommentDetails: - result = prime * result + [self.paperDocEditCommentDetails hash]; - case DBTEAMLOGEventDetailsPaperDocFollowedDetails: - result = prime * result + [self.paperDocFollowedDetails hash]; - case DBTEAMLOGEventDetailsPaperDocMentionDetails: - result = prime * result + [self.paperDocMentionDetails hash]; - case DBTEAMLOGEventDetailsPaperDocRequestAccessDetails: - result = prime * result + [self.paperDocRequestAccessDetails hash]; - case DBTEAMLOGEventDetailsPaperDocResolveCommentDetails: - result = prime * result + [self.paperDocResolveCommentDetails hash]; - case DBTEAMLOGEventDetailsPaperDocRevertDetails: - result = prime * result + [self.paperDocRevertDetails hash]; - case DBTEAMLOGEventDetailsPaperDocSlackShareDetails: - result = prime * result + [self.paperDocSlackShareDetails hash]; - case DBTEAMLOGEventDetailsPaperDocTeamInviteDetails: - result = prime * result + [self.paperDocTeamInviteDetails hash]; - case DBTEAMLOGEventDetailsPaperDocTrashedDetails: - result = prime * result + [self.paperDocTrashedDetails hash]; - case DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails: - result = prime * result + [self.paperDocUnresolveCommentDetails hash]; - case DBTEAMLOGEventDetailsPaperDocUntrashedDetails: - result = prime * result + [self.paperDocUntrashedDetails hash]; - case DBTEAMLOGEventDetailsPaperDocViewDetails: - result = prime * result + [self.paperDocViewDetails hash]; - case DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails: - result = prime * result + [self.paperFolderChangeSubscriptionDetails hash]; - case DBTEAMLOGEventDetailsPaperFolderDeletedDetails: - result = prime * result + [self.paperFolderDeletedDetails hash]; - case DBTEAMLOGEventDetailsPaperFolderFollowedDetails: - result = prime * result + [self.paperFolderFollowedDetails hash]; - case DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails: - result = prime * result + [self.paperFolderTeamInviteDetails hash]; - case DBTEAMLOGEventDetailsPasswordChangeDetails: - result = prime * result + [self.passwordChangeDetails hash]; - case DBTEAMLOGEventDetailsPasswordResetDetails: - result = prime * result + [self.passwordResetDetails hash]; - case DBTEAMLOGEventDetailsPasswordResetAllDetails: - result = prime * result + [self.passwordResetAllDetails hash]; - case DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails: - result = prime * result + [self.emmCreateExceptionsReportDetails hash]; - case DBTEAMLOGEventDetailsEmmCreateUsageReportDetails: - result = prime * result + [self.emmCreateUsageReportDetails hash]; - case DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails: - result = prime * result + [self.smartSyncCreateAdminPrivilegeReportDetails hash]; - case DBTEAMLOGEventDetailsTeamActivityCreateReportDetails: - result = prime * result + [self.teamActivityCreateReportDetails hash]; - case DBTEAMLOGEventDetailsCollectionShareDetails: - result = prime * result + [self.collectionShareDetails hash]; - case DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails: - result = prime * result + [self.noteAclInviteOnlyDetails hash]; - case DBTEAMLOGEventDetailsNoteAclLinkDetails: - result = prime * result + [self.noteAclLinkDetails hash]; - case DBTEAMLOGEventDetailsNoteAclTeamLinkDetails: - result = prime * result + [self.noteAclTeamLinkDetails hash]; - case DBTEAMLOGEventDetailsNoteSharedDetails: - result = prime * result + [self.noteSharedDetails hash]; - case DBTEAMLOGEventDetailsNoteShareReceiveDetails: - result = prime * result + [self.noteShareReceiveDetails hash]; - case DBTEAMLOGEventDetailsOpenNoteSharedDetails: - result = prime * result + [self.openNoteSharedDetails hash]; - case DBTEAMLOGEventDetailsSfAddGroupDetails: - result = prime * result + [self.sfAddGroupDetails hash]; - case DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails: - result = prime * result + [self.sfAllowNonMembersToViewSharedLinksDetails hash]; - case DBTEAMLOGEventDetailsSfInviteGroupDetails: - result = prime * result + [self.sfInviteGroupDetails hash]; - case DBTEAMLOGEventDetailsSfNestDetails: - result = prime * result + [self.sfNestDetails hash]; - case DBTEAMLOGEventDetailsSfTeamDeclineDetails: - result = prime * result + [self.sfTeamDeclineDetails hash]; - case DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: - result = prime * result + [self.sfTeamGrantAccessDetails hash]; - case DBTEAMLOGEventDetailsSfTeamInviteDetails: - result = prime * result + [self.sfTeamInviteDetails hash]; - case DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails: - result = prime * result + [self.sfTeamInviteChangeRoleDetails hash]; - case DBTEAMLOGEventDetailsSfTeamJoinDetails: - result = prime * result + [self.sfTeamJoinDetails hash]; - case DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails: - result = prime * result + [self.sfTeamJoinFromOobLinkDetails hash]; - case DBTEAMLOGEventDetailsSfTeamUninviteDetails: - result = prime * result + [self.sfTeamUninviteDetails hash]; - case DBTEAMLOGEventDetailsSharedContentAddInviteesDetails: - result = prime * result + [self.sharedContentAddInviteesDetails hash]; - case DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails: - result = prime * result + [self.sharedContentAddLinkExpiryDetails hash]; - case DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails: - result = prime * result + [self.sharedContentAddLinkPasswordDetails hash]; - case DBTEAMLOGEventDetailsSharedContentAddMemberDetails: - result = prime * result + [self.sharedContentAddMemberDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails: - result = prime * result + [self.sharedContentChangeDownloadsPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails: - result = prime * result + [self.sharedContentChangeInviteeRoleDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails: - result = prime * result + [self.sharedContentChangeLinkAudienceDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails: - result = prime * result + [self.sharedContentChangeLinkExpiryDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails: - result = prime * result + [self.sharedContentChangeLinkPasswordDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails: - result = prime * result + [self.sharedContentChangeMemberRoleDetails hash]; - case DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails: - result = prime * result + [self.sharedContentChangeViewerInfoPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails: - result = prime * result + [self.sharedContentClaimInvitationDetails hash]; - case DBTEAMLOGEventDetailsSharedContentCopyDetails: - result = prime * result + [self.sharedContentCopyDetails hash]; - case DBTEAMLOGEventDetailsSharedContentDownloadDetails: - result = prime * result + [self.sharedContentDownloadDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: - result = prime * result + [self.sharedContentRelinquishMembershipDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails: - result = prime * result + [self.sharedContentRemoveInviteeDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: - result = prime * result + [self.sharedContentRemoveLinkExpiryDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: - result = prime * result + [self.sharedContentRemoveLinkPasswordDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails: - result = prime * result + [self.sharedContentRemoveMemberDetails hash]; - case DBTEAMLOGEventDetailsSharedContentRequestAccessDetails: - result = prime * result + [self.sharedContentRequestAccessDetails hash]; - case DBTEAMLOGEventDetailsSharedContentUnshareDetails: - result = prime * result + [self.sharedContentUnshareDetails hash]; - case DBTEAMLOGEventDetailsSharedContentViewDetails: - result = prime * result + [self.sharedContentViewDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails: - result = prime * result + [self.sharedFolderChangeConfidentialityDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: - result = prime * result + [self.sharedFolderChangeLinkPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails: - result = prime * result + [self.sharedFolderChangeMemberManagementPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails: - result = prime * result + [self.sharedFolderChangeMemberPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderCreateDetails: - result = prime * result + [self.sharedFolderCreateDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderMountDetails: - result = prime * result + [self.sharedFolderMountDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails: - result = prime * result + [self.sharedFolderTransferOwnershipDetails hash]; - case DBTEAMLOGEventDetailsSharedFolderUnmountDetails: - result = prime * result + [self.sharedFolderUnmountDetails hash]; - case DBTEAMLOGEventDetailsSharedNoteOpenedDetails: - result = prime * result + [self.sharedNoteOpenedDetails hash]; - case DBTEAMLOGEventDetailsShmodelAppCreateDetails: - result = prime * result + [self.shmodelAppCreateDetails hash]; - case DBTEAMLOGEventDetailsShmodelCreateDetails: - result = prime * result + [self.shmodelCreateDetails hash]; - case DBTEAMLOGEventDetailsShmodelDisableDetails: - result = prime * result + [self.shmodelDisableDetails hash]; - case DBTEAMLOGEventDetailsShmodelFbShareDetails: - result = prime * result + [self.shmodelFbShareDetails hash]; - case DBTEAMLOGEventDetailsShmodelGroupShareDetails: - result = prime * result + [self.shmodelGroupShareDetails hash]; - case DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails: - result = prime * result + [self.shmodelRemoveExpirationDetails hash]; - case DBTEAMLOGEventDetailsShmodelSetExpirationDetails: - result = prime * result + [self.shmodelSetExpirationDetails hash]; - case DBTEAMLOGEventDetailsShmodelTeamCopyDetails: - result = prime * result + [self.shmodelTeamCopyDetails hash]; - case DBTEAMLOGEventDetailsShmodelTeamDownloadDetails: - result = prime * result + [self.shmodelTeamDownloadDetails hash]; - case DBTEAMLOGEventDetailsShmodelTeamShareDetails: - result = prime * result + [self.shmodelTeamShareDetails hash]; - case DBTEAMLOGEventDetailsShmodelTeamViewDetails: - result = prime * result + [self.shmodelTeamViewDetails hash]; - case DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails: - result = prime * result + [self.shmodelVisibilityPasswordDetails hash]; - case DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails: - result = prime * result + [self.shmodelVisibilityPublicDetails hash]; - case DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails: - result = prime * result + [self.shmodelVisibilityTeamOnlyDetails hash]; - case DBTEAMLOGEventDetailsSsoAddCertDetails: - result = prime * result + [self.ssoAddCertDetails hash]; - case DBTEAMLOGEventDetailsSsoAddLoginUrlDetails: - result = prime * result + [self.ssoAddLoginUrlDetails hash]; - case DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails: - result = prime * result + [self.ssoAddLogoutUrlDetails hash]; - case DBTEAMLOGEventDetailsSsoChangeCertDetails: - result = prime * result + [self.ssoChangeCertDetails hash]; - case DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails: - result = prime * result + [self.ssoChangeLoginUrlDetails hash]; - case DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails: - result = prime * result + [self.ssoChangeLogoutUrlDetails hash]; - case DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails: - result = prime * result + [self.ssoChangeSamlIdentityModeDetails hash]; - case DBTEAMLOGEventDetailsSsoRemoveCertDetails: - result = prime * result + [self.ssoRemoveCertDetails hash]; - case DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails: - result = prime * result + [self.ssoRemoveLoginUrlDetails hash]; - case DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails: - result = prime * result + [self.ssoRemoveLogoutUrlDetails hash]; - case DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails: - result = prime * result + [self.teamFolderChangeStatusDetails hash]; - case DBTEAMLOGEventDetailsTeamFolderCreateDetails: - result = prime * result + [self.teamFolderCreateDetails hash]; - case DBTEAMLOGEventDetailsTeamFolderDowngradeDetails: - result = prime * result + [self.teamFolderDowngradeDetails hash]; - case DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails: - result = prime * result + [self.teamFolderPermanentlyDeleteDetails hash]; - case DBTEAMLOGEventDetailsTeamFolderRenameDetails: - result = prime * result + [self.teamFolderRenameDetails hash]; - case DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails: - result = prime * result + [self.accountCaptureChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsAllowDownloadDisabledDetails: - result = prime * result + [self.allowDownloadDisabledDetails hash]; - case DBTEAMLOGEventDetailsAllowDownloadEnabledDetails: - result = prime * result + [self.allowDownloadEnabledDetails hash]; - case DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails: - result = prime * result + [self.dataPlacementRestrictionChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails: - result = prime * result + [self.dataPlacementRestrictionSatisfyPolicyDetails hash]; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails: - result = prime * result + [self.deviceApprovalsChangeDesktopPolicyDetails hash]; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails: - result = prime * result + [self.deviceApprovalsChangeMobilePolicyDetails hash]; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails: - result = prime * result + [self.deviceApprovalsChangeOverageActionDetails hash]; - case DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails: - result = prime * result + [self.deviceApprovalsChangeUnlinkActionDetails hash]; - case DBTEAMLOGEventDetailsEmmAddExceptionDetails: - result = prime * result + [self.emmAddExceptionDetails hash]; - case DBTEAMLOGEventDetailsEmmChangePolicyDetails: - result = prime * result + [self.emmChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsEmmRemoveExceptionDetails: - result = prime * result + [self.emmRemoveExceptionDetails hash]; - case DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails: - result = prime * result + [self.extendedVersionHistoryChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails: - result = prime * result + [self.fileCommentsChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails: - result = prime * result + [self.fileRequestsChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails: - result = prime * result + [self.fileRequestsEmailsEnabledDetails hash]; - case DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails: - result = prime * result + [self.fileRequestsEmailsRestrictedToTeamOnlyDetails hash]; - case DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails: - result = prime * result + [self.googleSsoChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails: - result = prime * result + [self.groupUserManagementChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails: - result = prime * result + [self.memberRequestsChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails: - result = prime * result + [self.memberSpaceLimitsAddExceptionDetails hash]; - case DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails: - result = prime * result + [self.memberSpaceLimitsChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails: - result = prime * result + [self.memberSpaceLimitsRemoveExceptionDetails hash]; - case DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails: - result = prime * result + [self.memberSuggestionsChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails: - result = prime * result + [self.microsoftOfficeAddinChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails: - result = prime * result + [self.networkControlChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails: - result = prime * result + [self.paperChangeDeploymentPolicyDetails hash]; - case DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails: - result = prime * result + [self.paperChangeMemberLinkPolicyDetails hash]; - case DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails: - result = prime * result + [self.paperChangeMemberPolicyDetails hash]; - case DBTEAMLOGEventDetailsPaperChangePolicyDetails: - result = prime * result + [self.paperChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails: - result = prime * result + [self.permanentDeleteChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails: - result = prime * result + [self.sharingChangeFolderJoinPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails: - result = prime * result + [self.sharingChangeLinkPolicyDetails hash]; - case DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails: - result = prime * result + [self.sharingChangeMemberPolicyDetails hash]; - case DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails: - result = prime * result + [self.smartSyncChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails: - result = prime * result + [self.smartSyncNotOptOutDetails hash]; - case DBTEAMLOGEventDetailsSmartSyncOptOutDetails: - result = prime * result + [self.smartSyncOptOutDetails hash]; - case DBTEAMLOGEventDetailsSsoChangePolicyDetails: - result = prime * result + [self.ssoChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsTfaChangePolicyDetails: - result = prime * result + [self.tfaChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails: - result = prime * result + [self.twoAccountChangePolicyDetails hash]; - case DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails: - result = prime * result + [self.webSessionsChangeFixedLengthPolicyDetails hash]; - case DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails: - result = prime * result + [self.webSessionsChangeIdleLengthPolicyDetails hash]; - case DBTEAMLOGEventDetailsTeamProfileAddLogoDetails: - result = prime * result + [self.teamProfileAddLogoDetails hash]; - case DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails: - result = prime * result + [self.teamProfileChangeDefaultLanguageDetails hash]; - case DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails: - result = prime * result + [self.teamProfileChangeLogoDetails hash]; - case DBTEAMLOGEventDetailsTeamProfileChangeNameDetails: - result = prime * result + [self.teamProfileChangeNameDetails hash]; - case DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails: - result = prime * result + [self.teamProfileRemoveLogoDetails hash]; - case DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails: - result = prime * result + [self.tfaAddBackupPhoneDetails hash]; - case DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails: - result = prime * result + [self.tfaAddSecurityKeyDetails hash]; - case DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails: - result = prime * result + [self.tfaChangeBackupPhoneDetails hash]; - case DBTEAMLOGEventDetailsTfaChangeStatusDetails: - result = prime * result + [self.tfaChangeStatusDetails hash]; - case DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails: - result = prime * result + [self.tfaRemoveBackupPhoneDetails hash]; - case DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails: - result = prime * result + [self.tfaRemoveSecurityKeyDetails hash]; - case DBTEAMLOGEventDetailsTfaResetDetails: - result = prime * result + [self.tfaResetDetails hash]; - case DBTEAMLOGEventDetailsMissingDetails: - result = prime * result + [self.missingDetails hash]; - case DBTEAMLOGEventDetailsOther: - result = prime * result + [[self tagName] hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; } return prime * result; @@ -17005,44 +17004,27222 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEventDetails:other]; + return [self isEqualToDeviceSessionLogInfo:other]; } -- (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { - if (self == anEventDetails) { +- (BOOL)isEqualToDeviceSessionLogInfo:(DBTEAMLOGDeviceSessionLogInfo *)aDeviceSessionLogInfo { + if (self == aDeviceSessionLogInfo) { return YES; } - if (self.tag != anEventDetails.tag) { - return NO; + if (self.ipAddress) { + if (![self.ipAddress isEqual:aDeviceSessionLogInfo.ipAddress]) { + return NO; + } } + if (self.created) { + if (![self.created isEqual:aDeviceSessionLogInfo.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aDeviceSessionLogInfo.updated]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + if ([valueObj isKindOfClass:[DBTEAMLOGDesktopDeviceSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:(DBTEAMLOGDesktopDeviceSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"desktopDeviceSession"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGMobileDeviceSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGMobileDeviceSessionLogInfoSerializer serialize:(DBTEAMLOGMobileDeviceSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"mobileDeviceSession"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGWebDeviceSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:(DBTEAMLOGWebDeviceSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"webDeviceSession"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGLegacyDeviceSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGLegacyDeviceSessionLogInfoSerializer serialize:(DBTEAMLOGLegacyDeviceSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"legacyDeviceSession"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"desktop_device_session"]) { + return [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"mobile_device_session"]) { + return [DBTEAMLOGMobileDeviceSessionLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"web_device_session"]) { + return [DBTEAMLOGWebDeviceSessionLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"legacy_device_session"]) { + return [DBTEAMLOGLegacyDeviceSessionLogInfoSerializer deserialize:valueDict]; + } + + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGDeviceSessionLogInfo alloc] initWithIpAddress:ipAddress created:created updated:updated]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMDesktopPlatform.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGDesktopSessionLogInfo.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDesktopDeviceSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithHostName:(NSString *)hostName + clientType:(DBTEAMDesktopPlatform *)clientType + platform:(NSString *)platform + isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported + ipAddress:(NSString *)ipAddress + created:(NSDate *)created + updated:(NSDate *)updated + sessionInfo:(DBTEAMLOGDesktopSessionLogInfo *)sessionInfo + clientVersion:(NSString *)clientVersion { + [DBStoneValidators nonnullValidator:nil](hostName); + [DBStoneValidators nonnullValidator:nil](clientType); + [DBStoneValidators nonnullValidator:nil](platform); + [DBStoneValidators nonnullValidator:nil](isDeleteOnUnlinkSupported); + + self = [super initWithIpAddress:ipAddress created:created updated:updated]; + if (self) { + _sessionInfo = sessionInfo; + _hostName = hostName; + _clientType = clientType; + _clientVersion = clientVersion; + _platform = platform; + _isDeleteOnUnlinkSupported = isDeleteOnUnlinkSupported; + } + return self; +} + +- (instancetype)initWithHostName:(NSString *)hostName + clientType:(DBTEAMDesktopPlatform *)clientType + platform:(NSString *)platform + isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported { + return [self initWithHostName:hostName + clientType:clientType + platform:platform + isDeleteOnUnlinkSupported:isDeleteOnUnlinkSupported + ipAddress:nil + created:nil + updated:nil + sessionInfo:nil + clientVersion:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.hostName hash]; + result = prime * result + [self.clientType hash]; + result = prime * result + [self.platform hash]; + result = prime * result + [self.isDeleteOnUnlinkSupported hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; + } + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.clientVersion != nil) { + result = prime * result + [self.clientVersion hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDesktopDeviceSessionLogInfo:other]; +} + +- (BOOL)isEqualToDesktopDeviceSessionLogInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)aDesktopDeviceSessionLogInfo { + if (self == aDesktopDeviceSessionLogInfo) { + return YES; + } + if (![self.hostName isEqual:aDesktopDeviceSessionLogInfo.hostName]) { + return NO; + } + if (![self.clientType isEqual:aDesktopDeviceSessionLogInfo.clientType]) { + return NO; + } + if (![self.platform isEqual:aDesktopDeviceSessionLogInfo.platform]) { + return NO; + } + if (![self.isDeleteOnUnlinkSupported isEqual:aDesktopDeviceSessionLogInfo.isDeleteOnUnlinkSupported]) { + return NO; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aDesktopDeviceSessionLogInfo.ipAddress]) { + return NO; + } + } + if (self.created) { + if (![self.created isEqual:aDesktopDeviceSessionLogInfo.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aDesktopDeviceSessionLogInfo.updated]) { + return NO; + } + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aDesktopDeviceSessionLogInfo.sessionInfo]) { + return NO; + } + } + if (self.clientVersion) { + if (![self.clientVersion isEqual:aDesktopDeviceSessionLogInfo.clientVersion]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDesktopDeviceSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDesktopDeviceSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"host_name"] = valueObj.hostName; + jsonDict[@"client_type"] = [DBTEAMDesktopPlatformSerializer serialize:valueObj.clientType]; + jsonDict[@"platform"] = valueObj.platform; + jsonDict[@"is_delete_on_unlink_supported"] = valueObj.isDeleteOnUnlinkSupported; + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGDesktopSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.clientVersion) { + jsonDict[@"client_version"] = valueObj.clientVersion; + } + + return jsonDict; +} + ++ (DBTEAMLOGDesktopDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *hostName = valueDict[@"host_name"]; + DBTEAMDesktopPlatform *clientType = [DBTEAMDesktopPlatformSerializer deserialize:valueDict[@"client_type"]]; + NSString *platform = valueDict[@"platform"]; + NSNumber *isDeleteOnUnlinkSupported = valueDict[@"is_delete_on_unlink_supported"]; + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + DBTEAMLOGDesktopSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGDesktopSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] + : nil; + NSString *clientVersion = valueDict[@"client_version"] ?: nil; + + return [[DBTEAMLOGDesktopDeviceSessionLogInfo alloc] initWithHostName:hostName + clientType:clientType + platform:platform + isDeleteOnUnlinkSupported:isDeleteOnUnlinkSupported + ipAddress:ipAddress + created:created + updated:updated + sessionInfo:sessionInfo + clientVersion:clientVersion]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopSessionLogInfo.h" +#import "DBTEAMLOGMobileSessionLogInfo.h" +#import "DBTEAMLOGSessionLogInfo.h" +#import "DBTEAMLOGWebSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithSessionId:(NSString *)sessionId { + + self = [super init]; + if (self) { + _sessionId = sessionId; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSessionId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sessionId != nil) { + result = prime * result + [self.sessionId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSessionLogInfo:other]; +} + +- (BOOL)isEqualToSessionLogInfo:(DBTEAMLOGSessionLogInfo *)aSessionLogInfo { + if (self == aSessionLogInfo) { + return YES; + } + if (self.sessionId) { + if (![self.sessionId isEqual:aSessionLogInfo.sessionId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sessionId) { + jsonDict[@"session_id"] = valueObj.sessionId; + } + + if ([valueObj isKindOfClass:[DBTEAMLOGWebSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGWebSessionLogInfoSerializer serialize:(DBTEAMLOGWebSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"web"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGDesktopSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGDesktopSessionLogInfoSerializer serialize:(DBTEAMLOGDesktopSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"desktop"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGMobileSessionLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGMobileSessionLogInfoSerializer serialize:(DBTEAMLOGMobileSessionLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"mobile"; + } + + return jsonDict; +} + ++ (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"web"]) { + return [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"desktop"]) { + return [DBTEAMLOGDesktopSessionLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"mobile"]) { + return [DBTEAMLOGMobileSessionLogInfoSerializer deserialize:valueDict]; + } + + NSString *sessionId = valueDict[@"session_id"] ?: nil; + + return [[DBTEAMLOGSessionLogInfo alloc] initWithSessionId:sessionId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopSessionLogInfo.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDesktopSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithSessionId:(NSString *)sessionId { + + self = [super initWithSessionId:sessionId]; + if (self) { + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSessionId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDesktopSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDesktopSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDesktopSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sessionId != nil) { + result = prime * result + [self.sessionId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDesktopSessionLogInfo:other]; +} + +- (BOOL)isEqualToDesktopSessionLogInfo:(DBTEAMLOGDesktopSessionLogInfo *)aDesktopSessionLogInfo { + if (self == aDesktopSessionLogInfo) { + return YES; + } + if (self.sessionId) { + if (![self.sessionId isEqual:aDesktopSessionLogInfo.sessionId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDesktopSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDesktopSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sessionId) { + jsonDict[@"session_id"] = valueObj.sessionId; + } + + return jsonDict; +} + ++ (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"] ?: nil; + + return [[DBTEAMLOGDesktopSessionLogInfo alloc] initWithSessionId:sessionId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsAddExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsAddExceptionDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsAddExceptionDetails: + (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)aDeviceApprovalsAddExceptionDetails { + if (self == aDeviceApprovalsAddExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsAddExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDeviceApprovalsAddExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsAddExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsAddExceptionType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsAddExceptionType: + (DBTEAMLOGDeviceApprovalsAddExceptionType *)aDeviceApprovalsAddExceptionType { + if (self == aDeviceApprovalsAddExceptionType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsAddExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsAddExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsAddExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsAddExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceApprovalsPolicy *)dNewValue + previousValue:(DBTEAMLOGDeviceApprovalsPolicy *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeDesktopPolicyDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeDesktopPolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)aDeviceApprovalsChangeDesktopPolicyDetails { + if (self == aDeviceApprovalsChangeDesktopPolicyDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aDeviceApprovalsChangeDesktopPolicyDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aDeviceApprovalsChangeDesktopPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.dNewValue]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceApprovalsPolicy *dNewValue = + valueDict[@"new_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMLOGDeviceApprovalsPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeDesktopPolicyType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeDesktopPolicyType: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)aDeviceApprovalsChangeDesktopPolicyType { + if (self == aDeviceApprovalsChangeDesktopPolicyType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsChangeDesktopPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceApprovalsPolicy *)dNewValue + previousValue:(DBTEAMLOGDeviceApprovalsPolicy *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeMobilePolicyDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeMobilePolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)aDeviceApprovalsChangeMobilePolicyDetails { + if (self == aDeviceApprovalsChangeMobilePolicyDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aDeviceApprovalsChangeMobilePolicyDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aDeviceApprovalsChangeMobilePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.dNewValue]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceApprovalsPolicy *dNewValue = + valueDict[@"new_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMLOGDeviceApprovalsPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeMobilePolicyType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeMobilePolicyType: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)aDeviceApprovalsChangeMobilePolicyType { + if (self == aDeviceApprovalsChangeMobilePolicyType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsChangeMobilePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h" +#import "DBTEAMPOLICIESRolloutMethod.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESRolloutMethod *)dNewValue + previousValue:(DBTEAMPOLICIESRolloutMethod *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeOverageActionDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeOverageActionDetails: + (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)aDeviceApprovalsChangeOverageActionDetails { + if (self == aDeviceApprovalsChangeOverageActionDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aDeviceApprovalsChangeOverageActionDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aDeviceApprovalsChangeOverageActionDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMPOLICIESRolloutMethodSerializer serialize:valueObj.dNewValue]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESRolloutMethodSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESRolloutMethod *dNewValue = + valueDict[@"new_value"] ? [DBTEAMPOLICIESRolloutMethodSerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMPOLICIESRolloutMethod *previousValue = + valueDict[@"previous_value"] ? [DBTEAMPOLICIESRolloutMethodSerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGDeviceApprovalsChangeOverageActionDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeOverageActionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeOverageActionType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeOverageActionType: + (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)aDeviceApprovalsChangeOverageActionType { + if (self == aDeviceApprovalsChangeOverageActionType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsChangeOverageActionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsChangeOverageActionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h" +#import "DBTEAMLOGDeviceUnlinkPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGDeviceUnlinkPolicy *)dNewValue + previousValue:(DBTEAMLOGDeviceUnlinkPolicy *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeUnlinkActionDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeUnlinkActionDetails: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)aDeviceApprovalsChangeUnlinkActionDetails { + if (self == aDeviceApprovalsChangeUnlinkActionDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aDeviceApprovalsChangeUnlinkActionDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aDeviceApprovalsChangeUnlinkActionDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:valueObj.dNewValue]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceUnlinkPolicy *dNewValue = + valueDict[@"new_value"] ? [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMLOGDeviceUnlinkPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsChangeUnlinkActionType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsChangeUnlinkActionType: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)aDeviceApprovalsChangeUnlinkActionType { + if (self == aDeviceApprovalsChangeUnlinkActionType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsChangeUnlinkActionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithLimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceApprovalsPolicyLimited; + } + return self; +} + +- (instancetype)initWithUnlimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceApprovalsPolicyUnlimited; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceApprovalsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isLimited { + return _tag == DBTEAMLOGDeviceApprovalsPolicyLimited; +} + +- (BOOL)isUnlimited { + return _tag == DBTEAMLOGDeviceApprovalsPolicyUnlimited; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDeviceApprovalsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDeviceApprovalsPolicyLimited: + return @"DBTEAMLOGDeviceApprovalsPolicyLimited"; + case DBTEAMLOGDeviceApprovalsPolicyUnlimited: + return @"DBTEAMLOGDeviceApprovalsPolicyUnlimited"; + case DBTEAMLOGDeviceApprovalsPolicyOther: + return @"DBTEAMLOGDeviceApprovalsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDeviceApprovalsPolicyLimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceApprovalsPolicyUnlimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceApprovalsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsPolicy:other]; +} + +- (BOOL)isEqualToDeviceApprovalsPolicy:(DBTEAMLOGDeviceApprovalsPolicy *)aDeviceApprovalsPolicy { + if (self == aDeviceApprovalsPolicy) { + return YES; + } + if (self.tag != aDeviceApprovalsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDeviceApprovalsPolicyLimited: + return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; + case DBTEAMLOGDeviceApprovalsPolicyUnlimited: + return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; + case DBTEAMLOGDeviceApprovalsPolicyOther: + return [[self tagName] isEqual:[aDeviceApprovalsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isLimited]) { + jsonDict[@".tag"] = @"limited"; + } else if ([valueObj isUnlimited]) { + jsonDict[@".tag"] = @"unlimited"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"limited"]) { + return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithLimited]; + } else if ([tag isEqualToString:@"unlimited"]) { + return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithUnlimited]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGDeviceApprovalsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsRemoveExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsRemoveExceptionDetails:other]; +} + +- (BOOL)isEqualToDeviceApprovalsRemoveExceptionDetails: + (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)aDeviceApprovalsRemoveExceptionDetails { + if (self == aDeviceApprovalsRemoveExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDeviceApprovalsRemoveExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceApprovalsRemoveExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceApprovalsRemoveExceptionType:other]; +} + +- (BOOL)isEqualToDeviceApprovalsRemoveExceptionType: + (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)aDeviceApprovalsRemoveExceptionType { + if (self == aDeviceApprovalsRemoveExceptionType) { + return YES; + } + if (![self.description_ isEqual:aDeviceApprovalsRemoveExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsRemoveExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceApprovalsRemoveExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpDesktopDetails.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpDesktopDetails + +#pragma mark - Constructors + +- (instancetype)initWithDeviceSessionInfo:(DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo { + [DBStoneValidators nonnullValidator:nil](deviceSessionInfo); + + self = [super init]; + if (self) { + _deviceSessionInfo = deviceSessionInfo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.deviceSessionInfo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpDesktopDetails:other]; +} + +- (BOOL)isEqualToDeviceChangeIpDesktopDetails:(DBTEAMLOGDeviceChangeIpDesktopDetails *)aDeviceChangeIpDesktopDetails { + if (self == aDeviceChangeIpDesktopDetails) { + return YES; + } + if (![self.deviceSessionInfo isEqual:aDeviceChangeIpDesktopDetails.deviceSessionInfo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo = + [DBTEAMLOGDeviceSessionLogInfoSerializer deserialize:valueDict[@"device_session_info"]]; + + return [[DBTEAMLOGDeviceChangeIpDesktopDetails alloc] initWithDeviceSessionInfo:deviceSessionInfo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpDesktopType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpDesktopType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpDesktopTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpDesktopTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpDesktopTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpDesktopType:other]; +} + +- (BOOL)isEqualToDeviceChangeIpDesktopType:(DBTEAMLOGDeviceChangeIpDesktopType *)aDeviceChangeIpDesktopType { + if (self == aDeviceChangeIpDesktopType) { + return YES; + } + if (![self.description_ isEqual:aDeviceChangeIpDesktopType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpDesktopTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpDesktopType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceChangeIpDesktopType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpMobileDetails.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpMobileDetails + +#pragma mark - Constructors + +- (instancetype)initWithDeviceSessionInfo:(DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo { + + self = [super init]; + if (self) { + _deviceSessionInfo = deviceSessionInfo; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDeviceSessionInfo:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpMobileDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.deviceSessionInfo != nil) { + result = prime * result + [self.deviceSessionInfo hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpMobileDetails:other]; +} + +- (BOOL)isEqualToDeviceChangeIpMobileDetails:(DBTEAMLOGDeviceChangeIpMobileDetails *)aDeviceChangeIpMobileDetails { + if (self == aDeviceChangeIpMobileDetails) { + return YES; + } + if (self.deviceSessionInfo) { + if (![self.deviceSessionInfo isEqual:aDeviceChangeIpMobileDetails.deviceSessionInfo]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpMobileDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.deviceSessionInfo) { + jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo = + valueDict[@"device_session_info"] + ? [DBTEAMLOGDeviceSessionLogInfoSerializer deserialize:valueDict[@"device_session_info"]] + : nil; + + return [[DBTEAMLOGDeviceChangeIpMobileDetails alloc] initWithDeviceSessionInfo:deviceSessionInfo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpMobileType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpMobileType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpMobileTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpMobileTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpMobileTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpMobileType:other]; +} + +- (BOOL)isEqualToDeviceChangeIpMobileType:(DBTEAMLOGDeviceChangeIpMobileType *)aDeviceChangeIpMobileType { + if (self == aDeviceChangeIpMobileType) { + return YES; + } + if (![self.description_ isEqual:aDeviceChangeIpMobileType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpMobileTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpMobileType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceChangeIpMobileType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpWebDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpWebDetails + +#pragma mark - Constructors + +- (instancetype)initWithUserAgent:(NSString *)userAgent { + [DBStoneValidators nonnullValidator:nil](userAgent); + + self = [super init]; + if (self) { + _userAgent = userAgent; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpWebDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.userAgent hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpWebDetails:other]; +} + +- (BOOL)isEqualToDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)aDeviceChangeIpWebDetails { + if (self == aDeviceChangeIpWebDetails) { + return YES; + } + if (![self.userAgent isEqual:aDeviceChangeIpWebDetails.userAgent]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpWebDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user_agent"] = valueObj.userAgent; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)valueDict { + NSString *userAgent = valueDict[@"user_agent"]; + + return [[DBTEAMLOGDeviceChangeIpWebDetails alloc] initWithUserAgent:userAgent]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceChangeIpWebType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceChangeIpWebType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceChangeIpWebTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceChangeIpWebTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceChangeIpWebTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceChangeIpWebType:other]; +} + +- (BOOL)isEqualToDeviceChangeIpWebType:(DBTEAMLOGDeviceChangeIpWebType *)aDeviceChangeIpWebType { + if (self == aDeviceChangeIpWebType) { + return YES; + } + if (![self.description_ isEqual:aDeviceChangeIpWebType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceChangeIpWebTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceChangeIpWebType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceChangeIpWebType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithNumFailures:(NSNumber *)numFailures + sessionInfo:(DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(NSString *)displayName { + [DBStoneValidators nonnullValidator:nil](numFailures); + + self = [super init]; + if (self) { + _sessionInfo = sessionInfo; + _displayName = displayName; + _numFailures = numFailures; + } + return self; +} + +- (instancetype)initWithNumFailures:(NSNumber *)numFailures { + return [self initWithNumFailures:numFailures sessionInfo:nil displayName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.numFailures hash]; + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceDeleteOnUnlinkFailDetails:other]; +} + +- (BOOL)isEqualToDeviceDeleteOnUnlinkFailDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)aDeviceDeleteOnUnlinkFailDetails { + if (self == aDeviceDeleteOnUnlinkFailDetails) { + return YES; + } + if (![self.numFailures isEqual:aDeviceDeleteOnUnlinkFailDetails.numFailures]) { + return NO; + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aDeviceDeleteOnUnlinkFailDetails.sessionInfo]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:aDeviceDeleteOnUnlinkFailDetails.displayName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"num_failures"] = valueObj.numFailures; + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *numFailures = valueDict[@"num_failures"]; + DBTEAMLOGSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] : nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + + return [[DBTEAMLOGDeviceDeleteOnUnlinkFailDetails alloc] initWithNumFailures:numFailures + sessionInfo:sessionInfo + displayName:displayName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceDeleteOnUnlinkFailType:other]; +} + +- (BOOL)isEqualToDeviceDeleteOnUnlinkFailType:(DBTEAMLOGDeviceDeleteOnUnlinkFailType *)aDeviceDeleteOnUnlinkFailType { + if (self == aDeviceDeleteOnUnlinkFailType) { + return YES; + } + if (![self.description_ isEqual:aDeviceDeleteOnUnlinkFailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceDeleteOnUnlinkFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithSessionInfo:(DBTEAMLOGSessionLogInfo *)sessionInfo displayName:(NSString *)displayName { + + self = [super init]; + if (self) { + _sessionInfo = sessionInfo; + _displayName = displayName; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSessionInfo:nil displayName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceDeleteOnUnlinkSuccessDetails:other]; +} + +- (BOOL)isEqualToDeviceDeleteOnUnlinkSuccessDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)aDeviceDeleteOnUnlinkSuccessDetails { + if (self == aDeviceDeleteOnUnlinkSuccessDetails) { + return YES; + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aDeviceDeleteOnUnlinkSuccessDetails.sessionInfo]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:aDeviceDeleteOnUnlinkSuccessDetails.displayName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] : nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + + return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails alloc] initWithSessionInfo:sessionInfo displayName:displayName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceDeleteOnUnlinkSuccessType:other]; +} + +- (BOOL)isEqualToDeviceDeleteOnUnlinkSuccessType: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)aDeviceDeleteOnUnlinkSuccessType { + if (self == aDeviceDeleteOnUnlinkSuccessType) { + return YES; + } + if (![self.description_ isEqual:aDeviceDeleteOnUnlinkSuccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceLinkFailDetails.h" +#import "DBTEAMLOGDeviceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceLinkFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType ipAddress:(NSString *)ipAddress { + [DBStoneValidators nonnullValidator:nil](deviceType); + + self = [super init]; + if (self) { + _ipAddress = ipAddress; + _deviceType = deviceType; + } + return self; +} + +- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType { + return [self initWithDeviceType:deviceType ipAddress:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceLinkFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.deviceType hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceLinkFailDetails:other]; +} + +- (BOOL)isEqualToDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)aDeviceLinkFailDetails { + if (self == aDeviceLinkFailDetails) { + return YES; + } + if (![self.deviceType isEqual:aDeviceLinkFailDetails.deviceType]) { + return NO; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aDeviceLinkFailDetails.ipAddress]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceLinkFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"device_type"] = [DBTEAMLOGDeviceTypeSerializer serialize:valueObj.deviceType]; + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceType *deviceType = [DBTEAMLOGDeviceTypeSerializer deserialize:valueDict[@"device_type"]]; + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + + return [[DBTEAMLOGDeviceLinkFailDetails alloc] initWithDeviceType:deviceType ipAddress:ipAddress]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceLinkFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceLinkFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceLinkFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceLinkFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceLinkFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceLinkFailType:other]; +} + +- (BOOL)isEqualToDeviceLinkFailType:(DBTEAMLOGDeviceLinkFailType *)aDeviceLinkFailType { + if (self == aDeviceLinkFailType) { + return YES; + } + if (![self.description_ isEqual:aDeviceLinkFailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceLinkFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceLinkFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceLinkFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceLinkSuccessDetails.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceLinkSuccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithDeviceSessionInfo:(DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo { + + self = [super init]; + if (self) { + _deviceSessionInfo = deviceSessionInfo; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDeviceSessionInfo:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceLinkSuccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.deviceSessionInfo != nil) { + result = prime * result + [self.deviceSessionInfo hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceLinkSuccessDetails:other]; +} + +- (BOOL)isEqualToDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)aDeviceLinkSuccessDetails { + if (self == aDeviceLinkSuccessDetails) { + return YES; + } + if (self.deviceSessionInfo) { + if (![self.deviceSessionInfo isEqual:aDeviceLinkSuccessDetails.deviceSessionInfo]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceLinkSuccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.deviceSessionInfo) { + jsonDict[@"device_session_info"] = [DBTEAMLOGDeviceSessionLogInfoSerializer serialize:valueObj.deviceSessionInfo]; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo = + valueDict[@"device_session_info"] + ? [DBTEAMLOGDeviceSessionLogInfoSerializer deserialize:valueDict[@"device_session_info"]] + : nil; + + return [[DBTEAMLOGDeviceLinkSuccessDetails alloc] initWithDeviceSessionInfo:deviceSessionInfo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceLinkSuccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceLinkSuccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceLinkSuccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceLinkSuccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceLinkSuccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceLinkSuccessType:other]; +} + +- (BOOL)isEqualToDeviceLinkSuccessType:(DBTEAMLOGDeviceLinkSuccessType *)aDeviceLinkSuccessType { + if (self == aDeviceLinkSuccessType) { + return YES; + } + if (![self.description_ isEqual:aDeviceLinkSuccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceLinkSuccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceLinkSuccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceLinkSuccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceManagementDisabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceManagementDisabledDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceManagementDisabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceManagementDisabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceManagementDisabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceManagementDisabledDetails:other]; +} + +- (BOOL)isEqualToDeviceManagementDisabledDetails: + (DBTEAMLOGDeviceManagementDisabledDetails *)aDeviceManagementDisabledDetails { + if (self == aDeviceManagementDisabledDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceManagementDisabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDeviceManagementDisabledDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceManagementDisabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceManagementDisabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceManagementDisabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceManagementDisabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceManagementDisabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceManagementDisabledType:other]; +} + +- (BOOL)isEqualToDeviceManagementDisabledType:(DBTEAMLOGDeviceManagementDisabledType *)aDeviceManagementDisabledType { + if (self == aDeviceManagementDisabledType) { + return YES; + } + if (![self.description_ isEqual:aDeviceManagementDisabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceManagementDisabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceManagementDisabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceManagementDisabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceManagementEnabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceManagementEnabledDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceManagementEnabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceManagementEnabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceManagementEnabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceManagementEnabledDetails:other]; +} + +- (BOOL)isEqualToDeviceManagementEnabledDetails: + (DBTEAMLOGDeviceManagementEnabledDetails *)aDeviceManagementEnabledDetails { + if (self == aDeviceManagementEnabledDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceManagementEnabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDeviceManagementEnabledDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceManagementEnabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceManagementEnabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceManagementEnabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceManagementEnabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceManagementEnabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceManagementEnabledType:other]; +} + +- (BOOL)isEqualToDeviceManagementEnabledType:(DBTEAMLOGDeviceManagementEnabledType *)aDeviceManagementEnabledType { + if (self == aDeviceManagementEnabledType) { + return YES; + } + if (![self.description_ isEqual:aDeviceManagementEnabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceManagementEnabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceManagementEnabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceManagementEnabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGBackupStatus.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceSyncBackupStatusChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + previousValue:(DBTEAMLOGBackupStatus *)previousValue + dNewValue:(DBTEAMLOGBackupStatus *)dNewValue { + [DBStoneValidators nonnullValidator:nil](desktopDeviceSessionInfo); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _desktopDeviceSessionInfo = desktopDeviceSessionInfo; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.desktopDeviceSessionInfo hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceSyncBackupStatusChangedDetails:other]; +} + +- (BOOL)isEqualToDeviceSyncBackupStatusChangedDetails: + (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)aDeviceSyncBackupStatusChangedDetails { + if (self == aDeviceSyncBackupStatusChangedDetails) { + return YES; + } + if (![self.desktopDeviceSessionInfo isEqual:aDeviceSyncBackupStatusChangedDetails.desktopDeviceSessionInfo]) { + return NO; + } + if (![self.previousValue isEqual:aDeviceSyncBackupStatusChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aDeviceSyncBackupStatusChangedDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"desktop_device_session_info"] = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:valueObj.desktopDeviceSessionInfo]; + jsonDict[@"previous_value"] = [DBTEAMLOGBackupStatusSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGBackupStatusSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:valueDict[@"desktop_device_session_info"]]; + DBTEAMLOGBackupStatus *previousValue = [DBTEAMLOGBackupStatusSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGBackupStatus *dNewValue = [DBTEAMLOGBackupStatusSerializer deserialize:valueDict[@"new_value"]]; + + return + [[DBTEAMLOGDeviceSyncBackupStatusChangedDetails alloc] initWithDesktopDeviceSessionInfo:desktopDeviceSessionInfo + previousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceSyncBackupStatusChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceSyncBackupStatusChangedType:other]; +} + +- (BOOL)isEqualToDeviceSyncBackupStatusChangedType: + (DBTEAMLOGDeviceSyncBackupStatusChangedType *)aDeviceSyncBackupStatusChangedType { + if (self == aDeviceSyncBackupStatusChangedType) { + return YES; + } + if (![self.description_ isEqual:aDeviceSyncBackupStatusChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceSyncBackupStatusChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceSyncBackupStatusChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceType + +#pragma mark - Constructors + +- (instancetype)initWithDesktop { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceTypeDesktop; + } + return self; +} + +- (instancetype)initWithMobile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceTypeMobile; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDesktop { + return _tag == DBTEAMLOGDeviceTypeDesktop; +} + +- (BOOL)isMobile { + return _tag == DBTEAMLOGDeviceTypeMobile; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDeviceTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDeviceTypeDesktop: + return @"DBTEAMLOGDeviceTypeDesktop"; + case DBTEAMLOGDeviceTypeMobile: + return @"DBTEAMLOGDeviceTypeMobile"; + case DBTEAMLOGDeviceTypeOther: + return @"DBTEAMLOGDeviceTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDeviceTypeDesktop: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceTypeMobile: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceType:other]; +} + +- (BOOL)isEqualToDeviceType:(DBTEAMLOGDeviceType *)aDeviceType { + if (self == aDeviceType) { + return YES; + } + if (self.tag != aDeviceType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDeviceTypeDesktop: + return [[self tagName] isEqual:[aDeviceType tagName]]; + case DBTEAMLOGDeviceTypeMobile: + return [[self tagName] isEqual:[aDeviceType tagName]]; + case DBTEAMLOGDeviceTypeOther: + return [[self tagName] isEqual:[aDeviceType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDesktop]) { + jsonDict[@".tag"] = @"desktop"; + } else if ([valueObj isMobile]) { + jsonDict[@".tag"] = @"mobile"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"desktop"]) { + return [[DBTEAMLOGDeviceType alloc] initWithDesktop]; + } else if ([tag isEqualToString:@"mobile"]) { + return [[DBTEAMLOGDeviceType alloc] initWithMobile]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDeviceType alloc] initWithOther]; + } else { + return [[DBTEAMLOGDeviceType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceUnlinkDetails.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceUnlinkDetails + +#pragma mark - Constructors + +- (instancetype)initWithDeleteData:(NSNumber *)deleteData + sessionInfo:(DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(NSString *)displayName { + [DBStoneValidators nonnullValidator:nil](deleteData); + + self = [super init]; + if (self) { + _sessionInfo = sessionInfo; + _displayName = displayName; + _deleteData = deleteData; + } + return self; +} + +- (instancetype)initWithDeleteData:(NSNumber *)deleteData { + return [self initWithDeleteData:deleteData sessionInfo:nil displayName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceUnlinkDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.deleteData hash]; + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceUnlinkDetails:other]; +} + +- (BOOL)isEqualToDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)aDeviceUnlinkDetails { + if (self == aDeviceUnlinkDetails) { + return YES; + } + if (![self.deleteData isEqual:aDeviceUnlinkDetails.deleteData]) { + return NO; + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aDeviceUnlinkDetails.sessionInfo]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:aDeviceUnlinkDetails.displayName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceUnlinkDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"delete_data"] = valueObj.deleteData; + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *deleteData = valueDict[@"delete_data"]; + DBTEAMLOGSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] : nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + + return [[DBTEAMLOGDeviceUnlinkDetails alloc] initWithDeleteData:deleteData + sessionInfo:sessionInfo + displayName:displayName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceUnlinkPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceUnlinkPolicy + +#pragma mark - Constructors + +- (instancetype)initWithKeep { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceUnlinkPolicyKeep; + } + return self; +} + +- (instancetype)initWithRemove { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceUnlinkPolicyRemove; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDeviceUnlinkPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isKeep { + return _tag == DBTEAMLOGDeviceUnlinkPolicyKeep; +} + +- (BOOL)isRemove { + return _tag == DBTEAMLOGDeviceUnlinkPolicyRemove; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDeviceUnlinkPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDeviceUnlinkPolicyKeep: + return @"DBTEAMLOGDeviceUnlinkPolicyKeep"; + case DBTEAMLOGDeviceUnlinkPolicyRemove: + return @"DBTEAMLOGDeviceUnlinkPolicyRemove"; + case DBTEAMLOGDeviceUnlinkPolicyOther: + return @"DBTEAMLOGDeviceUnlinkPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceUnlinkPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceUnlinkPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceUnlinkPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDeviceUnlinkPolicyKeep: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceUnlinkPolicyRemove: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDeviceUnlinkPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceUnlinkPolicy:other]; +} + +- (BOOL)isEqualToDeviceUnlinkPolicy:(DBTEAMLOGDeviceUnlinkPolicy *)aDeviceUnlinkPolicy { + if (self == aDeviceUnlinkPolicy) { + return YES; + } + if (self.tag != aDeviceUnlinkPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDeviceUnlinkPolicyKeep: + return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; + case DBTEAMLOGDeviceUnlinkPolicyRemove: + return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; + case DBTEAMLOGDeviceUnlinkPolicyOther: + return [[self tagName] isEqual:[aDeviceUnlinkPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceUnlinkPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isKeep]) { + jsonDict[@".tag"] = @"keep"; + } else if ([valueObj isRemove]) { + jsonDict[@".tag"] = @"remove"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"keep"]) { + return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithKeep]; + } else if ([tag isEqualToString:@"remove"]) { + return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithRemove]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGDeviceUnlinkPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceUnlinkType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDeviceUnlinkType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDeviceUnlinkTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDeviceUnlinkTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDeviceUnlinkTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDeviceUnlinkType:other]; +} + +- (BOOL)isEqualToDeviceUnlinkType:(DBTEAMLOGDeviceUnlinkType *)aDeviceUnlinkType { + if (self == aDeviceUnlinkType) { + return YES; + } + if (![self.description_ isEqual:aDeviceUnlinkType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDeviceUnlinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDeviceUnlinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDeviceUnlinkType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDirectoryRestrictionsAddMembersDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDirectoryRestrictionsAddMembersDetails:other]; +} + +- (BOOL)isEqualToDirectoryRestrictionsAddMembersDetails: + (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)aDirectoryRestrictionsAddMembersDetails { + if (self == aDirectoryRestrictionsAddMembersDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDirectoryRestrictionsAddMembersDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDirectoryRestrictionsAddMembersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDirectoryRestrictionsAddMembersType:other]; +} + +- (BOOL)isEqualToDirectoryRestrictionsAddMembersType: + (DBTEAMLOGDirectoryRestrictionsAddMembersType *)aDirectoryRestrictionsAddMembersType { + if (self == aDirectoryRestrictionsAddMembersType) { + return YES; + } + if (![self.description_ isEqual:aDirectoryRestrictionsAddMembersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsAddMembersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDirectoryRestrictionsAddMembersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDirectoryRestrictionsAddMembersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDirectoryRestrictionsRemoveMembersDetails:other]; +} + +- (BOOL)isEqualToDirectoryRestrictionsRemoveMembersDetails: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)aDirectoryRestrictionsRemoveMembersDetails { + if (self == aDirectoryRestrictionsRemoveMembersDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDirectoryRestrictionsRemoveMembersType:other]; +} + +- (BOOL)isEqualToDirectoryRestrictionsRemoveMembersType: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)aDirectoryRestrictionsRemoveMembersType { + if (self == aDirectoryRestrictionsRemoveMembersType) { + return YES; + } + if (![self.description_ isEqual:aDirectoryRestrictionsRemoveMembersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDirectoryRestrictionsRemoveMembersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDisabledDomainInvitesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDisabledDomainInvitesDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDisabledDomainInvitesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDisabledDomainInvitesDetails:other]; +} + +- (BOOL)isEqualToDisabledDomainInvitesDetails:(DBTEAMLOGDisabledDomainInvitesDetails *)aDisabledDomainInvitesDetails { + if (self == aDisabledDomainInvitesDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDisabledDomainInvitesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDisabledDomainInvitesDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDisabledDomainInvitesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDisabledDomainInvitesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDisabledDomainInvitesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDisabledDomainInvitesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDisabledDomainInvitesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDisabledDomainInvitesType:other]; +} + +- (BOOL)isEqualToDisabledDomainInvitesType:(DBTEAMLOGDisabledDomainInvitesType *)aDisabledDomainInvitesType { + if (self == aDisabledDomainInvitesType) { + return YES; + } + if (![self.description_ isEqual:aDisabledDomainInvitesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDisabledDomainInvitesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDisabledDomainInvitesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDisabledDomainInvitesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDispositionActionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDispositionActionType + +#pragma mark - Constructors + +- (instancetype)initWithAutomaticDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDispositionActionTypeAutomaticDelete; + } + return self; +} + +- (instancetype)initWithAutomaticPermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDispositionActionTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAutomaticDelete { + return _tag == DBTEAMLOGDispositionActionTypeAutomaticDelete; +} + +- (BOOL)isAutomaticPermanentlyDelete { + return _tag == DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDispositionActionTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDispositionActionTypeAutomaticDelete: + return @"DBTEAMLOGDispositionActionTypeAutomaticDelete"; + case DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete: + return @"DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete"; + case DBTEAMLOGDispositionActionTypeOther: + return @"DBTEAMLOGDispositionActionTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDispositionActionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDispositionActionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDispositionActionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDispositionActionTypeAutomaticDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDispositionActionTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDispositionActionType:other]; +} + +- (BOOL)isEqualToDispositionActionType:(DBTEAMLOGDispositionActionType *)aDispositionActionType { + if (self == aDispositionActionType) { + return YES; + } + if (self.tag != aDispositionActionType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDispositionActionTypeAutomaticDelete: + return [[self tagName] isEqual:[aDispositionActionType tagName]]; + case DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete: + return [[self tagName] isEqual:[aDispositionActionType tagName]]; + case DBTEAMLOGDispositionActionTypeOther: + return [[self tagName] isEqual:[aDispositionActionType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDispositionActionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDispositionActionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAutomaticDelete]) { + jsonDict[@".tag"] = @"automatic_delete"; + } else if ([valueObj isAutomaticPermanentlyDelete]) { + jsonDict[@".tag"] = @"automatic_permanently_delete"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDispositionActionType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"automatic_delete"]) { + return [[DBTEAMLOGDispositionActionType alloc] initWithAutomaticDelete]; + } else if ([tag isEqualToString:@"automatic_permanently_delete"]) { + return [[DBTEAMLOGDispositionActionType alloc] initWithAutomaticPermanentlyDelete]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDispositionActionType alloc] initWithOther]; + } else { + return [[DBTEAMLOGDispositionActionType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesApproveRequestToJoinTeamDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesApproveRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)aDomainInvitesApproveRequestToJoinTeamDetails { + if (self == aDomainInvitesApproveRequestToJoinTeamDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesApproveRequestToJoinTeamType:other]; +} + +- (BOOL)isEqualToDomainInvitesApproveRequestToJoinTeamType: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)aDomainInvitesApproveRequestToJoinTeamType { + if (self == aDomainInvitesApproveRequestToJoinTeamType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesApproveRequestToJoinTeamType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesDeclineRequestToJoinTeamDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesDeclineRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)aDomainInvitesDeclineRequestToJoinTeamDetails { + if (self == aDomainInvitesDeclineRequestToJoinTeamDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesDeclineRequestToJoinTeamType:other]; +} + +- (BOOL)isEqualToDomainInvitesDeclineRequestToJoinTeamType: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)aDomainInvitesDeclineRequestToJoinTeamType { + if (self == aDomainInvitesDeclineRequestToJoinTeamType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesDeclineRequestToJoinTeamType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesEmailExistingUsersDetails + +#pragma mark - Constructors + +- (instancetype)initWithDomainName:(NSString *)domainName numRecipients:(NSNumber *)numRecipients { + [DBStoneValidators nonnullValidator:nil](domainName); + [DBStoneValidators nonnullValidator:nil](numRecipients); + + self = [super init]; + if (self) { + _domainName = domainName; + _numRecipients = numRecipients; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.domainName hash]; + result = prime * result + [self.numRecipients hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesEmailExistingUsersDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesEmailExistingUsersDetails: + (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)aDomainInvitesEmailExistingUsersDetails { + if (self == aDomainInvitesEmailExistingUsersDetails) { + return YES; + } + if (![self.domainName isEqual:aDomainInvitesEmailExistingUsersDetails.domainName]) { + return NO; + } + if (![self.numRecipients isEqual:aDomainInvitesEmailExistingUsersDetails.numRecipients]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"domain_name"] = valueObj.domainName; + jsonDict[@"num_recipients"] = valueObj.numRecipients; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)valueDict { + NSString *domainName = valueDict[@"domain_name"]; + NSNumber *numRecipients = valueDict[@"num_recipients"]; + + return [[DBTEAMLOGDomainInvitesEmailExistingUsersDetails alloc] initWithDomainName:domainName + numRecipients:numRecipients]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesEmailExistingUsersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesEmailExistingUsersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesEmailExistingUsersType:other]; +} + +- (BOOL)isEqualToDomainInvitesEmailExistingUsersType: + (DBTEAMLOGDomainInvitesEmailExistingUsersType *)aDomainInvitesEmailExistingUsersType { + if (self == aDomainInvitesEmailExistingUsersType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesEmailExistingUsersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesEmailExistingUsersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesEmailExistingUsersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesRequestToJoinTeamDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)aDomainInvitesRequestToJoinTeamDetails { + if (self == aDomainInvitesRequestToJoinTeamDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDomainInvitesRequestToJoinTeamDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesRequestToJoinTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesRequestToJoinTeamType:other]; +} + +- (BOOL)isEqualToDomainInvitesRequestToJoinTeamType: + (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)aDomainInvitesRequestToJoinTeamType { + if (self == aDomainInvitesRequestToJoinTeamType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesRequestToJoinTeamType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesRequestToJoinTeamType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesSetInviteNewUserPrefToNoDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToNoDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)aDomainInvitesSetInviteNewUserPrefToNoDetails { + if (self == aDomainInvitesSetInviteNewUserPrefToNoDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesSetInviteNewUserPrefToNoType:other]; +} + +- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToNoType: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)aDomainInvitesSetInviteNewUserPrefToNoType { + if (self == aDomainInvitesSetInviteNewUserPrefToNoType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesSetInviteNewUserPrefToNoType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesSetInviteNewUserPrefToYesDetails:other]; +} + +- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToYesDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)aDomainInvitesSetInviteNewUserPrefToYesDetails { + if (self == aDomainInvitesSetInviteNewUserPrefToYesDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainInvitesSetInviteNewUserPrefToYesType:other]; +} + +- (BOOL)isEqualToDomainInvitesSetInviteNewUserPrefToYesType: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)aDomainInvitesSetInviteNewUserPrefToYesType { + if (self == aDomainInvitesSetInviteNewUserPrefToYesType) { + return YES; + } + if (![self.description_ isEqual:aDomainInvitesSetInviteNewUserPrefToYesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationAddDomainFailDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationAddDomainFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithDomainName:(NSString *)domainName verificationMethod:(NSString *)verificationMethod { + [DBStoneValidators nonnullValidator:nil](domainName); + + self = [super init]; + if (self) { + _domainName = domainName; + _verificationMethod = verificationMethod; + } + return self; +} + +- (instancetype)initWithDomainName:(NSString *)domainName { + return [self initWithDomainName:domainName verificationMethod:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.domainName hash]; + if (self.verificationMethod != nil) { + result = prime * result + [self.verificationMethod hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationAddDomainFailDetails:other]; +} + +- (BOOL)isEqualToDomainVerificationAddDomainFailDetails: + (DBTEAMLOGDomainVerificationAddDomainFailDetails *)aDomainVerificationAddDomainFailDetails { + if (self == aDomainVerificationAddDomainFailDetails) { + return YES; + } + if (![self.domainName isEqual:aDomainVerificationAddDomainFailDetails.domainName]) { + return NO; + } + if (self.verificationMethod) { + if (![self.verificationMethod isEqual:aDomainVerificationAddDomainFailDetails.verificationMethod]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"domain_name"] = valueObj.domainName; + if (valueObj.verificationMethod) { + jsonDict[@"verification_method"] = valueObj.verificationMethod; + } + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)valueDict { + NSString *domainName = valueDict[@"domain_name"]; + NSString *verificationMethod = valueDict[@"verification_method"] ?: nil; + + return [[DBTEAMLOGDomainVerificationAddDomainFailDetails alloc] initWithDomainName:domainName + verificationMethod:verificationMethod]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationAddDomainFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationAddDomainFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationAddDomainFailType:other]; +} + +- (BOOL)isEqualToDomainVerificationAddDomainFailType: + (DBTEAMLOGDomainVerificationAddDomainFailType *)aDomainVerificationAddDomainFailType { + if (self == aDomainVerificationAddDomainFailType) { + return YES; + } + if (![self.description_ isEqual:aDomainVerificationAddDomainFailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationAddDomainFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainVerificationAddDomainFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationAddDomainSuccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithDomainNames:(NSArray *)domainNames + verificationMethod:(NSString *)verificationMethod { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](domainNames); + + self = [super init]; + if (self) { + _domainNames = domainNames; + _verificationMethod = verificationMethod; + } + return self; +} + +- (instancetype)initWithDomainNames:(NSArray *)domainNames { + return [self initWithDomainNames:domainNames verificationMethod:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.domainNames hash]; + if (self.verificationMethod != nil) { + result = prime * result + [self.verificationMethod hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationAddDomainSuccessDetails:other]; +} + +- (BOOL)isEqualToDomainVerificationAddDomainSuccessDetails: + (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)aDomainVerificationAddDomainSuccessDetails { + if (self == aDomainVerificationAddDomainSuccessDetails) { + return YES; + } + if (![self.domainNames isEqual:aDomainVerificationAddDomainSuccessDetails.domainNames]) { + return NO; + } + if (self.verificationMethod) { + if (![self.verificationMethod isEqual:aDomainVerificationAddDomainSuccessDetails.verificationMethod]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"domain_names"] = [DBArraySerializer serialize:valueObj.domainNames + withBlock:^id(id elem0) { + return elem0; + }]; + if (valueObj.verificationMethod) { + jsonDict[@"verification_method"] = valueObj.verificationMethod; + } + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *domainNames = [DBArraySerializer deserialize:valueDict[@"domain_names"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *verificationMethod = valueDict[@"verification_method"] ?: nil; + + return [[DBTEAMLOGDomainVerificationAddDomainSuccessDetails alloc] initWithDomainNames:domainNames + verificationMethod:verificationMethod]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationAddDomainSuccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationAddDomainSuccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationAddDomainSuccessType:other]; +} + +- (BOOL)isEqualToDomainVerificationAddDomainSuccessType: + (DBTEAMLOGDomainVerificationAddDomainSuccessType *)aDomainVerificationAddDomainSuccessType { + if (self == aDomainVerificationAddDomainSuccessType) { + return YES; + } + if (![self.description_ isEqual:aDomainVerificationAddDomainSuccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationAddDomainSuccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainVerificationAddDomainSuccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationRemoveDomainDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationRemoveDomainDetails + +#pragma mark - Constructors + +- (instancetype)initWithDomainNames:(NSArray *)domainNames { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](domainNames); + + self = [super init]; + if (self) { + _domainNames = domainNames; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.domainNames hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationRemoveDomainDetails:other]; +} + +- (BOOL)isEqualToDomainVerificationRemoveDomainDetails: + (DBTEAMLOGDomainVerificationRemoveDomainDetails *)aDomainVerificationRemoveDomainDetails { + if (self == aDomainVerificationRemoveDomainDetails) { + return YES; + } + if (![self.domainNames isEqual:aDomainVerificationRemoveDomainDetails.domainNames]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"domain_names"] = [DBArraySerializer serialize:valueObj.domainNames + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *domainNames = [DBArraySerializer deserialize:valueDict[@"domain_names"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGDomainVerificationRemoveDomainDetails alloc] initWithDomainNames:domainNames]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDomainVerificationRemoveDomainType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDomainVerificationRemoveDomainType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDomainVerificationRemoveDomainType:other]; +} + +- (BOOL)isEqualToDomainVerificationRemoveDomainType: + (DBTEAMLOGDomainVerificationRemoveDomainType *)aDomainVerificationRemoveDomainType { + if (self == aDomainVerificationRemoveDomainType) { + return YES; + } + if (![self.description_ isEqual:aDomainVerificationRemoveDomainType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDomainVerificationRemoveDomainType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDomainVerificationRemoveDomainType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDownloadPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDownloadPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithAllow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDownloadPolicyTypeAllow; + } + return self; +} + +- (instancetype)initWithDisallow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDownloadPolicyTypeDisallow; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDownloadPolicyTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAllow { + return _tag == DBTEAMLOGDownloadPolicyTypeAllow; +} + +- (BOOL)isDisallow { + return _tag == DBTEAMLOGDownloadPolicyTypeDisallow; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDownloadPolicyTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDownloadPolicyTypeAllow: + return @"DBTEAMLOGDownloadPolicyTypeAllow"; + case DBTEAMLOGDownloadPolicyTypeDisallow: + return @"DBTEAMLOGDownloadPolicyTypeDisallow"; + case DBTEAMLOGDownloadPolicyTypeOther: + return @"DBTEAMLOGDownloadPolicyTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDownloadPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDownloadPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDownloadPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDownloadPolicyTypeAllow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDownloadPolicyTypeDisallow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDownloadPolicyTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDownloadPolicyType:other]; +} + +- (BOOL)isEqualToDownloadPolicyType:(DBTEAMLOGDownloadPolicyType *)aDownloadPolicyType { + if (self == aDownloadPolicyType) { + return YES; + } + if (self.tag != aDownloadPolicyType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDownloadPolicyTypeAllow: + return [[self tagName] isEqual:[aDownloadPolicyType tagName]]; + case DBTEAMLOGDownloadPolicyTypeDisallow: + return [[self tagName] isEqual:[aDownloadPolicyType tagName]]; + case DBTEAMLOGDownloadPolicyTypeOther: + return [[self tagName] isEqual:[aDownloadPolicyType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDownloadPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDownloadPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAllow]) { + jsonDict[@".tag"] = @"allow"; + } else if ([valueObj isDisallow]) { + jsonDict[@".tag"] = @"disallow"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDownloadPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"allow"]) { + return [[DBTEAMLOGDownloadPolicyType alloc] initWithAllow]; + } else if ([tag isEqualToString:@"disallow"]) { + return [[DBTEAMLOGDownloadPolicyType alloc] initWithDisallow]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDownloadPolicyType alloc] initWithOther]; + } else { + return [[DBTEAMLOGDownloadPolicyType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsExportedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsExportedDetails + +#pragma mark - Constructors + +- (instancetype)initWithPlatform:(NSString *)platform { + [DBStoneValidators nonnullValidator:nil](platform); + + self = [super init]; + if (self) { + _platform = platform; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsExportedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsExportedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsExportedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.platform hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsExportedDetails:other]; +} + +- (BOOL)isEqualToDropboxPasswordsExportedDetails: + (DBTEAMLOGDropboxPasswordsExportedDetails *)aDropboxPasswordsExportedDetails { + if (self == aDropboxPasswordsExportedDetails) { + return YES; + } + if (![self.platform isEqual:aDropboxPasswordsExportedDetails.platform]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsExportedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsExportedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"platform"] = valueObj.platform; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsExportedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *platform = valueDict[@"platform"]; + + return [[DBTEAMLOGDropboxPasswordsExportedDetails alloc] initWithPlatform:platform]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsExportedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsExportedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsExportedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsExportedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsExportedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsExportedType:other]; +} + +- (BOOL)isEqualToDropboxPasswordsExportedType:(DBTEAMLOGDropboxPasswordsExportedType *)aDropboxPasswordsExportedType { + if (self == aDropboxPasswordsExportedType) { + return YES; + } + if (![self.description_ isEqual:aDropboxPasswordsExportedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsExportedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsExportedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsExportedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDropboxPasswordsExportedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsFirstDevice:(NSNumber *)isFirstDevice platform:(NSString *)platform { + [DBStoneValidators nonnullValidator:nil](isFirstDevice); + [DBStoneValidators nonnullValidator:nil](platform); + + self = [super init]; + if (self) { + _isFirstDevice = isFirstDevice; + _platform = platform; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isFirstDevice hash]; + result = prime * result + [self.platform hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsNewDeviceEnrolledDetails:other]; +} + +- (BOOL)isEqualToDropboxPasswordsNewDeviceEnrolledDetails: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)aDropboxPasswordsNewDeviceEnrolledDetails { + if (self == aDropboxPasswordsNewDeviceEnrolledDetails) { + return YES; + } + if (![self.isFirstDevice isEqual:aDropboxPasswordsNewDeviceEnrolledDetails.isFirstDevice]) { + return NO; + } + if (![self.platform isEqual:aDropboxPasswordsNewDeviceEnrolledDetails.platform]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_first_device"] = valueObj.isFirstDevice; + jsonDict[@"platform"] = valueObj.platform; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isFirstDevice = valueDict[@"is_first_device"]; + NSString *platform = valueDict[@"platform"]; + + return + [[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails alloc] initWithIsFirstDevice:isFirstDevice platform:platform]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsNewDeviceEnrolledType:other]; +} + +- (BOOL)isEqualToDropboxPasswordsNewDeviceEnrolledType: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)aDropboxPasswordsNewDeviceEnrolledType { + if (self == aDropboxPasswordsNewDeviceEnrolledType) { + return YES; + } + if (![self.description_ isEqual:aDropboxPasswordsNewDeviceEnrolledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDropboxPasswordsPolicyDefault_; + } + return self; +} + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDropboxPasswordsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDropboxPasswordsPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGDropboxPasswordsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGDropboxPasswordsPolicyDefault_; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGDropboxPasswordsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGDropboxPasswordsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGDropboxPasswordsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGDropboxPasswordsPolicyDefault_: + return @"DBTEAMLOGDropboxPasswordsPolicyDefault_"; + case DBTEAMLOGDropboxPasswordsPolicyDisabled: + return @"DBTEAMLOGDropboxPasswordsPolicyDisabled"; + case DBTEAMLOGDropboxPasswordsPolicyEnabled: + return @"DBTEAMLOGDropboxPasswordsPolicyEnabled"; + case DBTEAMLOGDropboxPasswordsPolicyOther: + return @"DBTEAMLOGDropboxPasswordsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGDropboxPasswordsPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDropboxPasswordsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDropboxPasswordsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGDropboxPasswordsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsPolicy:other]; +} + +- (BOOL)isEqualToDropboxPasswordsPolicy:(DBTEAMLOGDropboxPasswordsPolicy *)aDropboxPasswordsPolicy { + if (self == aDropboxPasswordsPolicy) { + return YES; + } + if (self.tag != aDropboxPasswordsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGDropboxPasswordsPolicyDefault_: + return [[self tagName] isEqual:[aDropboxPasswordsPolicy tagName]]; + case DBTEAMLOGDropboxPasswordsPolicyDisabled: + return [[self tagName] isEqual:[aDropboxPasswordsPolicy tagName]]; + case DBTEAMLOGDropboxPasswordsPolicyEnabled: + return [[self tagName] isEqual:[aDropboxPasswordsPolicy tagName]]; + case DBTEAMLOGDropboxPasswordsPolicyOther: + return [[self tagName] isEqual:[aDropboxPasswordsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGDropboxPasswordsPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGDropboxPasswordsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGDropboxPasswordsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGDropboxPasswordsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGDropboxPasswordsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsPolicy.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGDropboxPasswordsPolicy *)dNewValue + previousValue:(DBTEAMLOGDropboxPasswordsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToDropboxPasswordsPolicyChangedDetails: + (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)aDropboxPasswordsPolicyChangedDetails { + if (self == aDropboxPasswordsPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aDropboxPasswordsPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aDropboxPasswordsPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGDropboxPasswordsPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGDropboxPasswordsPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDropboxPasswordsPolicy *dNewValue = + [DBTEAMLOGDropboxPasswordsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGDropboxPasswordsPolicy *previousValue = + [DBTEAMLOGDropboxPasswordsPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return + [[DBTEAMLOGDropboxPasswordsPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDropboxPasswordsPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDropboxPasswordsPolicyChangedType:other]; +} + +- (BOOL)isEqualToDropboxPasswordsPolicyChangedType: + (DBTEAMLOGDropboxPasswordsPolicyChangedType *)aDropboxPasswordsPolicyChangedType { + if (self == aDropboxPasswordsPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aDropboxPasswordsPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGDropboxPasswordsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGDropboxPasswordsPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDurationLogInfo.h" +#import "DBTEAMLOGTimeUnit.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGDurationLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithUnit:(DBTEAMLOGTimeUnit *)unit amount:(NSNumber *)amount { + [DBStoneValidators nonnullValidator:nil](unit); + [DBStoneValidators nonnullValidator:nil](amount); + + self = [super init]; + if (self) { + _unit = unit; + _amount = amount; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGDurationLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGDurationLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGDurationLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.unit hash]; + result = prime * result + [self.amount hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToDurationLogInfo:other]; +} + +- (BOOL)isEqualToDurationLogInfo:(DBTEAMLOGDurationLogInfo *)aDurationLogInfo { + if (self == aDurationLogInfo) { + return YES; + } + if (![self.unit isEqual:aDurationLogInfo.unit]) { + return NO; + } + if (![self.amount isEqual:aDurationLogInfo.amount]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGDurationLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGDurationLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"unit"] = [DBTEAMLOGTimeUnitSerializer serialize:valueObj.unit]; + jsonDict[@"amount"] = valueObj.amount; + + return jsonDict; +} + ++ (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTimeUnit *unit = [DBTEAMLOGTimeUnitSerializer deserialize:valueDict[@"unit"]]; + NSNumber *amount = valueDict[@"amount"]; + + return [[DBTEAMLOGDurationLogInfo alloc] initWithUnit:unit amount:amount]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmailIngestPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmailIngestPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEmailIngestPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEmailIngestPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEmailIngestPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGEmailIngestPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGEmailIngestPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGEmailIngestPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGEmailIngestPolicyDisabled: + return @"DBTEAMLOGEmailIngestPolicyDisabled"; + case DBTEAMLOGEmailIngestPolicyEnabled: + return @"DBTEAMLOGEmailIngestPolicyEnabled"; + case DBTEAMLOGEmailIngestPolicyOther: + return @"DBTEAMLOGEmailIngestPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmailIngestPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmailIngestPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmailIngestPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGEmailIngestPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEmailIngestPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEmailIngestPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmailIngestPolicy:other]; +} + +- (BOOL)isEqualToEmailIngestPolicy:(DBTEAMLOGEmailIngestPolicy *)anEmailIngestPolicy { + if (self == anEmailIngestPolicy) { + return YES; + } + if (self.tag != anEmailIngestPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGEmailIngestPolicyDisabled: + return [[self tagName] isEqual:[anEmailIngestPolicy tagName]]; + case DBTEAMLOGEmailIngestPolicyEnabled: + return [[self tagName] isEqual:[anEmailIngestPolicy tagName]]; + case DBTEAMLOGEmailIngestPolicyOther: + return [[self tagName] isEqual:[anEmailIngestPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmailIngestPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGEmailIngestPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGEmailIngestPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGEmailIngestPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGEmailIngestPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGEmailIngestPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmailIngestPolicy.h" +#import "DBTEAMLOGEmailIngestPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmailIngestPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGEmailIngestPolicy *)dNewValue + previousValue:(DBTEAMLOGEmailIngestPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmailIngestPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToEmailIngestPolicyChangedDetails: + (DBTEAMLOGEmailIngestPolicyChangedDetails *)anEmailIngestPolicyChangedDetails { + if (self == anEmailIngestPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:anEmailIngestPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:anEmailIngestPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGEmailIngestPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGEmailIngestPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGEmailIngestPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGEmailIngestPolicy *dNewValue = [DBTEAMLOGEmailIngestPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGEmailIngestPolicy *previousValue = + [DBTEAMLOGEmailIngestPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGEmailIngestPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmailIngestPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmailIngestPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmailIngestPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmailIngestPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmailIngestPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmailIngestPolicyChangedType:other]; +} + +- (BOOL)isEqualToEmailIngestPolicyChangedType:(DBTEAMLOGEmailIngestPolicyChangedType *)anEmailIngestPolicyChangedType { + if (self == anEmailIngestPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:anEmailIngestPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmailIngestPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmailIngestPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmailIngestPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmailIngestReceiveFileDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmailIngestReceiveFileDetails + +#pragma mark - Constructors + +- (instancetype)initWithInboxName:(NSString *)inboxName + attachmentNames:(NSArray *)attachmentNames + subject:(NSString *)subject + fromName:(NSString *)fromName + fromEmail:(NSString *)fromEmail { + [DBStoneValidators nonnullValidator:nil](inboxName); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](attachmentNames); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](fromEmail); + + self = [super init]; + if (self) { + _inboxName = inboxName; + _attachmentNames = attachmentNames; + _subject = subject; + _fromName = fromName; + _fromEmail = fromEmail; + } + return self; +} + +- (instancetype)initWithInboxName:(NSString *)inboxName attachmentNames:(NSArray *)attachmentNames { + return [self initWithInboxName:inboxName attachmentNames:attachmentNames subject:nil fromName:nil fromEmail:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmailIngestReceiveFileDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmailIngestReceiveFileDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmailIngestReceiveFileDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.inboxName hash]; + result = prime * result + [self.attachmentNames hash]; + if (self.subject != nil) { + result = prime * result + [self.subject hash]; + } + if (self.fromName != nil) { + result = prime * result + [self.fromName hash]; + } + if (self.fromEmail != nil) { + result = prime * result + [self.fromEmail hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmailIngestReceiveFileDetails:other]; +} + +- (BOOL)isEqualToEmailIngestReceiveFileDetails: + (DBTEAMLOGEmailIngestReceiveFileDetails *)anEmailIngestReceiveFileDetails { + if (self == anEmailIngestReceiveFileDetails) { + return YES; + } + if (![self.inboxName isEqual:anEmailIngestReceiveFileDetails.inboxName]) { + return NO; + } + if (![self.attachmentNames isEqual:anEmailIngestReceiveFileDetails.attachmentNames]) { + return NO; + } + if (self.subject) { + if (![self.subject isEqual:anEmailIngestReceiveFileDetails.subject]) { + return NO; + } + } + if (self.fromName) { + if (![self.fromName isEqual:anEmailIngestReceiveFileDetails.fromName]) { + return NO; + } + } + if (self.fromEmail) { + if (![self.fromEmail isEqual:anEmailIngestReceiveFileDetails.fromEmail]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmailIngestReceiveFileDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmailIngestReceiveFileDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"inbox_name"] = valueObj.inboxName; + jsonDict[@"attachment_names"] = [DBArraySerializer serialize:valueObj.attachmentNames + withBlock:^id(id elem0) { + return elem0; + }]; + if (valueObj.subject) { + jsonDict[@"subject"] = valueObj.subject; + } + if (valueObj.fromName) { + jsonDict[@"from_name"] = valueObj.fromName; + } + if (valueObj.fromEmail) { + jsonDict[@"from_email"] = valueObj.fromEmail; + } + + return jsonDict; +} + ++ (DBTEAMLOGEmailIngestReceiveFileDetails *)deserialize:(NSDictionary *)valueDict { + NSString *inboxName = valueDict[@"inbox_name"]; + NSArray *attachmentNames = [DBArraySerializer deserialize:valueDict[@"attachment_names"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *subject = valueDict[@"subject"] ?: nil; + NSString *fromName = valueDict[@"from_name"] ?: nil; + NSString *fromEmail = valueDict[@"from_email"] ?: nil; + + return [[DBTEAMLOGEmailIngestReceiveFileDetails alloc] initWithInboxName:inboxName + attachmentNames:attachmentNames + subject:subject + fromName:fromName + fromEmail:fromEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmailIngestReceiveFileType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmailIngestReceiveFileType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmailIngestReceiveFileTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmailIngestReceiveFileTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmailIngestReceiveFileTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmailIngestReceiveFileType:other]; +} + +- (BOOL)isEqualToEmailIngestReceiveFileType:(DBTEAMLOGEmailIngestReceiveFileType *)anEmailIngestReceiveFileType { + if (self == anEmailIngestReceiveFileType) { + return YES; + } + if (![self.description_ isEqual:anEmailIngestReceiveFileType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmailIngestReceiveFileTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmailIngestReceiveFileType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmailIngestReceiveFileType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmailIngestReceiveFileType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmAddExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmAddExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmAddExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmAddExceptionDetails:other]; +} + +- (BOOL)isEqualToEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)anEmmAddExceptionDetails { + if (self == anEmmAddExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmAddExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEmmAddExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmAddExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmAddExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmAddExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmAddExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmAddExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmAddExceptionType:other]; +} + +- (BOOL)isEqualToEmmAddExceptionType:(DBTEAMLOGEmmAddExceptionType *)anEmmAddExceptionType { + if (self == anEmmAddExceptionType) { + return YES; + } + if (![self.description_ isEqual:anEmmAddExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmAddExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmAddExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmAddExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmChangePolicyDetails.h" +#import "DBTEAMPOLICIESEmmState.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue + previousValue:(DBTEAMPOLICIESEmmState *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESEmmState *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmChangePolicyDetails:other]; +} + +- (BOOL)isEqualToEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)anEmmChangePolicyDetails { + if (self == anEmmChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:anEmmChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:anEmmChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESEmmState *dNewValue = [DBTEAMPOLICIESEmmStateSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESEmmState *previousValue = + valueDict[@"previous_value"] ? [DBTEAMPOLICIESEmmStateSerializer deserialize:valueDict[@"previous_value"]] : nil; + + return [[DBTEAMLOGEmmChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmChangePolicyType:other]; +} + +- (BOOL)isEqualToEmmChangePolicyType:(DBTEAMLOGEmmChangePolicyType *)anEmmChangePolicyType { + if (self == anEmmChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:anEmmChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmCreateExceptionsReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmCreateExceptionsReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmCreateExceptionsReportDetails:other]; +} + +- (BOOL)isEqualToEmmCreateExceptionsReportDetails: + (DBTEAMLOGEmmCreateExceptionsReportDetails *)anEmmCreateExceptionsReportDetails { + if (self == anEmmCreateExceptionsReportDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEmmCreateExceptionsReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmCreateExceptionsReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmCreateExceptionsReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmCreateExceptionsReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmCreateExceptionsReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmCreateExceptionsReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmCreateExceptionsReportType:other]; +} + +- (BOOL)isEqualToEmmCreateExceptionsReportType: + (DBTEAMLOGEmmCreateExceptionsReportType *)anEmmCreateExceptionsReportType { + if (self == anEmmCreateExceptionsReportType) { + return YES; + } + if (![self.description_ isEqual:anEmmCreateExceptionsReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmCreateExceptionsReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmCreateExceptionsReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmCreateExceptionsReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmCreateUsageReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmCreateUsageReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmCreateUsageReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmCreateUsageReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmCreateUsageReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmCreateUsageReportDetails:other]; +} + +- (BOOL)isEqualToEmmCreateUsageReportDetails:(DBTEAMLOGEmmCreateUsageReportDetails *)anEmmCreateUsageReportDetails { + if (self == anEmmCreateUsageReportDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmCreateUsageReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEmmCreateUsageReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmCreateUsageReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmCreateUsageReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmCreateUsageReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmCreateUsageReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmCreateUsageReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmCreateUsageReportType:other]; +} + +- (BOOL)isEqualToEmmCreateUsageReportType:(DBTEAMLOGEmmCreateUsageReportType *)anEmmCreateUsageReportType { + if (self == anEmmCreateUsageReportType) { + return YES; + } + if (![self.description_ isEqual:anEmmCreateUsageReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmCreateUsageReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmCreateUsageReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmCreateUsageReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmErrorDetails.h" +#import "DBTEAMLOGFailureDetailsLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmErrorDetails + +#pragma mark - Constructors + +- (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { + [DBStoneValidators nonnullValidator:nil](errorDetails); + + self = [super init]; + if (self) { + _errorDetails = errorDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmErrorDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmErrorDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmErrorDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.errorDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmErrorDetails:other]; +} + +- (BOOL)isEqualToEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)anEmmErrorDetails { + if (self == anEmmErrorDetails) { + return YES; + } + if (![self.errorDetails isEqual:anEmmErrorDetails.errorDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmErrorDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmErrorDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFailureDetailsLogInfo *errorDetails = + [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; + + return [[DBTEAMLOGEmmErrorDetails alloc] initWithErrorDetails:errorDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmErrorType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmErrorType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmErrorTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmErrorTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmErrorTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmErrorType:other]; +} + +- (BOOL)isEqualToEmmErrorType:(DBTEAMLOGEmmErrorType *)anEmmErrorType { + if (self == anEmmErrorType) { + return YES; + } + if (![self.description_ isEqual:anEmmErrorType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmErrorTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmErrorType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmErrorType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmErrorType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmRefreshAuthTokenDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmRefreshAuthTokenDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmRefreshAuthTokenDetails:other]; +} + +- (BOOL)isEqualToEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)anEmmRefreshAuthTokenDetails { + if (self == anEmmRefreshAuthTokenDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEmmRefreshAuthTokenDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmRefreshAuthTokenType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmRefreshAuthTokenType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmRefreshAuthTokenTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmRefreshAuthTokenTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmRefreshAuthTokenTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmRefreshAuthTokenType:other]; +} + +- (BOOL)isEqualToEmmRefreshAuthTokenType:(DBTEAMLOGEmmRefreshAuthTokenType *)anEmmRefreshAuthTokenType { + if (self == anEmmRefreshAuthTokenType) { + return YES; + } + if (![self.description_ isEqual:anEmmRefreshAuthTokenType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmRefreshAuthTokenTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmRefreshAuthTokenType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmRefreshAuthTokenType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmRemoveExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmRemoveExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmRemoveExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmRemoveExceptionDetails:other]; +} + +- (BOOL)isEqualToEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)anEmmRemoveExceptionDetails { + if (self == anEmmRemoveExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmRemoveExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEmmRemoveExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEmmRemoveExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEmmRemoveExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEmmRemoveExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEmmRemoveExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEmmRemoveExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEmmRemoveExceptionType:other]; +} + +- (BOOL)isEqualToEmmRemoveExceptionType:(DBTEAMLOGEmmRemoveExceptionType *)anEmmRemoveExceptionType { + if (self == anEmmRemoveExceptionType) { + return YES; + } + if (![self.description_ isEqual:anEmmRemoveExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEmmRemoveExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEmmRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEmmRemoveExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEnabledDomainInvitesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEnabledDomainInvitesDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEnabledDomainInvitesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEnabledDomainInvitesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEnabledDomainInvitesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEnabledDomainInvitesDetails:other]; +} + +- (BOOL)isEqualToEnabledDomainInvitesDetails:(DBTEAMLOGEnabledDomainInvitesDetails *)anEnabledDomainInvitesDetails { + if (self == anEnabledDomainInvitesDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEnabledDomainInvitesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEnabledDomainInvitesDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEnabledDomainInvitesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEnabledDomainInvitesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEnabledDomainInvitesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEnabledDomainInvitesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEnabledDomainInvitesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEnabledDomainInvitesType:other]; +} + +- (BOOL)isEqualToEnabledDomainInvitesType:(DBTEAMLOGEnabledDomainInvitesType *)anEnabledDomainInvitesType { + if (self == anEnabledDomainInvitesType) { + return YES; + } + if (![self.description_ isEqual:anEnabledDomainInvitesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEnabledDomainInvitesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEnabledDomainInvitesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEnabledDomainInvitesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h" +#import "DBTEAMLOGFedExtraDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFederationExtraDetails:(DBTEAMLOGFedExtraDetails *)federationExtraDetails { + [DBStoneValidators nonnullValidator:nil](federationExtraDetails); + + self = [super init]; + if (self) { + _federationExtraDetails = federationExtraDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.federationExtraDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEndedEnterpriseAdminSessionDeprecatedDetails:other]; +} + +- (BOOL)isEqualToEndedEnterpriseAdminSessionDeprecatedDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)anEndedEnterpriseAdminSessionDeprecatedDetails { + if (self == anEndedEnterpriseAdminSessionDeprecatedDetails) { + return YES; + } + if (![self.federationExtraDetails isEqual:anEndedEnterpriseAdminSessionDeprecatedDetails.federationExtraDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"federation_extra_details"] = + [DBTEAMLOGFedExtraDetailsSerializer serialize:valueObj.federationExtraDetails]; + + return jsonDict; +} + ++ (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFedExtraDetails *federationExtraDetails = + [DBTEAMLOGFedExtraDetailsSerializer deserialize:valueDict[@"federation_extra_details"]]; + + return [[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails alloc] + initWithFederationExtraDetails:federationExtraDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEndedEnterpriseAdminSessionDeprecatedType:other]; +} + +- (BOOL)isEqualToEndedEnterpriseAdminSessionDeprecatedType: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)anEndedEnterpriseAdminSessionDeprecatedType { + if (self == anEndedEnterpriseAdminSessionDeprecatedType) { + return YES; + } + if (![self.description_ isEqual:anEndedEnterpriseAdminSessionDeprecatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEndedEnterpriseAdminSessionDetails:other]; +} + +- (BOOL)isEqualToEndedEnterpriseAdminSessionDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)anEndedEnterpriseAdminSessionDetails { + if (self == anEndedEnterpriseAdminSessionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGEndedEnterpriseAdminSessionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEndedEnterpriseAdminSessionType:other]; +} + +- (BOOL)isEqualToEndedEnterpriseAdminSessionType: + (DBTEAMLOGEndedEnterpriseAdminSessionType *)anEndedEnterpriseAdminSessionType { + if (self == anEndedEnterpriseAdminSessionType) { + return YES; + } + if (![self.description_ isEqual:anEndedEnterpriseAdminSessionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEndedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEndedEnterpriseAdminSessionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEnforceLinkPasswordPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEnforceLinkPasswordPolicy + +#pragma mark - Constructors + +- (instancetype)initWithOptional { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEnforceLinkPasswordPolicyOptional; + } + return self; +} + +- (instancetype)initWithRequired { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEnforceLinkPasswordPolicyRequired; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEnforceLinkPasswordPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOptional { + return _tag == DBTEAMLOGEnforceLinkPasswordPolicyOptional; +} + +- (BOOL)isRequired { + return _tag == DBTEAMLOGEnforceLinkPasswordPolicyRequired; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGEnforceLinkPasswordPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGEnforceLinkPasswordPolicyOptional: + return @"DBTEAMLOGEnforceLinkPasswordPolicyOptional"; + case DBTEAMLOGEnforceLinkPasswordPolicyRequired: + return @"DBTEAMLOGEnforceLinkPasswordPolicyRequired"; + case DBTEAMLOGEnforceLinkPasswordPolicyOther: + return @"DBTEAMLOGEnforceLinkPasswordPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEnforceLinkPasswordPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGEnforceLinkPasswordPolicyOptional: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEnforceLinkPasswordPolicyRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEnforceLinkPasswordPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEnforceLinkPasswordPolicy:other]; +} + +- (BOOL)isEqualToEnforceLinkPasswordPolicy:(DBTEAMLOGEnforceLinkPasswordPolicy *)anEnforceLinkPasswordPolicy { + if (self == anEnforceLinkPasswordPolicy) { + return YES; + } + if (self.tag != anEnforceLinkPasswordPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGEnforceLinkPasswordPolicyOptional: + return [[self tagName] isEqual:[anEnforceLinkPasswordPolicy tagName]]; + case DBTEAMLOGEnforceLinkPasswordPolicyRequired: + return [[self tagName] isEqual:[anEnforceLinkPasswordPolicy tagName]]; + case DBTEAMLOGEnforceLinkPasswordPolicyOther: + return [[self tagName] isEqual:[anEnforceLinkPasswordPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEnforceLinkPasswordPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEnforceLinkPasswordPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOptional]) { + jsonDict[@".tag"] = @"optional"; + } else if ([valueObj isRequired]) { + jsonDict[@".tag"] = @"required"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGEnforceLinkPasswordPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"optional"]) { + return [[DBTEAMLOGEnforceLinkPasswordPolicy alloc] initWithOptional]; + } else if ([tag isEqualToString:@"required"]) { + return [[DBTEAMLOGEnforceLinkPasswordPolicy alloc] initWithRequired]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGEnforceLinkPasswordPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGEnforceLinkPasswordPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEnterpriseSettingsLockingDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEnterpriseSettingsLockingDetails + +#pragma mark - Constructors + +- (instancetype)initWithTeamName:(NSString *)teamName + settingsPageName:(NSString *)settingsPageName + previousSettingsPageLockingState:(NSString *)previousSettingsPageLockingState + dNewSettingsPageLockingState:(NSString *)dNewSettingsPageLockingState { + [DBStoneValidators nonnullValidator:nil](teamName); + [DBStoneValidators nonnullValidator:nil](settingsPageName); + [DBStoneValidators nonnullValidator:nil](previousSettingsPageLockingState); + [DBStoneValidators nonnullValidator:nil](dNewSettingsPageLockingState); + + self = [super init]; + if (self) { + _teamName = teamName; + _settingsPageName = settingsPageName; + _previousSettingsPageLockingState = previousSettingsPageLockingState; + _dNewSettingsPageLockingState = dNewSettingsPageLockingState; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.teamName hash]; + result = prime * result + [self.settingsPageName hash]; + result = prime * result + [self.previousSettingsPageLockingState hash]; + result = prime * result + [self.dNewSettingsPageLockingState hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEnterpriseSettingsLockingDetails:other]; +} + +- (BOOL)isEqualToEnterpriseSettingsLockingDetails: + (DBTEAMLOGEnterpriseSettingsLockingDetails *)anEnterpriseSettingsLockingDetails { + if (self == anEnterpriseSettingsLockingDetails) { + return YES; + } + if (![self.teamName isEqual:anEnterpriseSettingsLockingDetails.teamName]) { + return NO; + } + if (![self.settingsPageName isEqual:anEnterpriseSettingsLockingDetails.settingsPageName]) { + return NO; + } + if (![self.previousSettingsPageLockingState + isEqual:anEnterpriseSettingsLockingDetails.previousSettingsPageLockingState]) { + return NO; + } + if (![self.dNewSettingsPageLockingState isEqual:anEnterpriseSettingsLockingDetails.dNewSettingsPageLockingState]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEnterpriseSettingsLockingDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team_name"] = valueObj.teamName; + jsonDict[@"settings_page_name"] = valueObj.settingsPageName; + jsonDict[@"previous_settings_page_locking_state"] = valueObj.previousSettingsPageLockingState; + jsonDict[@"new_settings_page_locking_state"] = valueObj.dNewSettingsPageLockingState; + + return jsonDict; +} + ++ (DBTEAMLOGEnterpriseSettingsLockingDetails *)deserialize:(NSDictionary *)valueDict { + NSString *teamName = valueDict[@"team_name"]; + NSString *settingsPageName = valueDict[@"settings_page_name"]; + NSString *previousSettingsPageLockingState = valueDict[@"previous_settings_page_locking_state"]; + NSString *dNewSettingsPageLockingState = valueDict[@"new_settings_page_locking_state"]; + + return [[DBTEAMLOGEnterpriseSettingsLockingDetails alloc] initWithTeamName:teamName + settingsPageName:settingsPageName + previousSettingsPageLockingState:previousSettingsPageLockingState + dNewSettingsPageLockingState:dNewSettingsPageLockingState]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEnterpriseSettingsLockingType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEnterpriseSettingsLockingType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEnterpriseSettingsLockingTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEnterpriseSettingsLockingTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEnterpriseSettingsLockingTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEnterpriseSettingsLockingType:other]; +} + +- (BOOL)isEqualToEnterpriseSettingsLockingType: + (DBTEAMLOGEnterpriseSettingsLockingType *)anEnterpriseSettingsLockingType { + if (self == anEnterpriseSettingsLockingType) { + return YES; + } + if (![self.description_ isEqual:anEnterpriseSettingsLockingType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEnterpriseSettingsLockingTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEnterpriseSettingsLockingType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGEnterpriseSettingsLockingType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGEnterpriseSettingsLockingType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEventCategory.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEventCategory + +#pragma mark - Constructors + +- (instancetype)initWithAdminAlerting { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryAdminAlerting; + } + return self; +} + +- (instancetype)initWithApps { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryApps; + } + return self; +} + +- (instancetype)initWithComments { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryComments; + } + return self; +} + +- (instancetype)initWithDataGovernance { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryDataGovernance; + } + return self; +} + +- (instancetype)initWithDevices { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryDevices; + } + return self; +} + +- (instancetype)initWithDomains { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryDomains; + } + return self; +} + +- (instancetype)initWithEncryption { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryEncryption; + } + return self; +} + +- (instancetype)initWithFileOperations { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryFileOperations; + } + return self; +} + +- (instancetype)initWithFileRequests { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryFileRequests; + } + return self; +} + +- (instancetype)initWithGroups { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryGroups; + } + return self; +} + +- (instancetype)initWithLogins { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryLogins; + } + return self; +} + +- (instancetype)initWithMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryMembers; + } + return self; +} + +- (instancetype)initWithPaper { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryPaper; + } + return self; +} + +- (instancetype)initWithPasswords { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryPasswords; + } + return self; +} + +- (instancetype)initWithReports { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryReports; + } + return self; +} + +- (instancetype)initWithSharing { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategorySharing; + } + return self; +} + +- (instancetype)initWithShowcase { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryShowcase; + } + return self; +} + +- (instancetype)initWithSso { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategorySso; + } + return self; +} + +- (instancetype)initWithTeamFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryTeamFolders; + } + return self; +} + +- (instancetype)initWithTeamPolicies { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryTeamPolicies; + } + return self; +} + +- (instancetype)initWithTeamProfile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryTeamProfile; + } + return self; +} + +- (instancetype)initWithTfa { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryTfa; + } + return self; +} + +- (instancetype)initWithTrustedTeams { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryTrustedTeams; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventCategoryOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAdminAlerting { + return _tag == DBTEAMLOGEventCategoryAdminAlerting; +} + +- (BOOL)isApps { + return _tag == DBTEAMLOGEventCategoryApps; +} + +- (BOOL)isComments { + return _tag == DBTEAMLOGEventCategoryComments; +} + +- (BOOL)isDataGovernance { + return _tag == DBTEAMLOGEventCategoryDataGovernance; +} + +- (BOOL)isDevices { + return _tag == DBTEAMLOGEventCategoryDevices; +} + +- (BOOL)isDomains { + return _tag == DBTEAMLOGEventCategoryDomains; +} + +- (BOOL)isEncryption { + return _tag == DBTEAMLOGEventCategoryEncryption; +} + +- (BOOL)isFileOperations { + return _tag == DBTEAMLOGEventCategoryFileOperations; +} + +- (BOOL)isFileRequests { + return _tag == DBTEAMLOGEventCategoryFileRequests; +} + +- (BOOL)isGroups { + return _tag == DBTEAMLOGEventCategoryGroups; +} + +- (BOOL)isLogins { + return _tag == DBTEAMLOGEventCategoryLogins; +} + +- (BOOL)isMembers { + return _tag == DBTEAMLOGEventCategoryMembers; +} + +- (BOOL)isPaper { + return _tag == DBTEAMLOGEventCategoryPaper; +} + +- (BOOL)isPasswords { + return _tag == DBTEAMLOGEventCategoryPasswords; +} + +- (BOOL)isReports { + return _tag == DBTEAMLOGEventCategoryReports; +} + +- (BOOL)isSharing { + return _tag == DBTEAMLOGEventCategorySharing; +} + +- (BOOL)isShowcase { + return _tag == DBTEAMLOGEventCategoryShowcase; +} + +- (BOOL)isSso { + return _tag == DBTEAMLOGEventCategorySso; +} + +- (BOOL)isTeamFolders { + return _tag == DBTEAMLOGEventCategoryTeamFolders; +} + +- (BOOL)isTeamPolicies { + return _tag == DBTEAMLOGEventCategoryTeamPolicies; +} + +- (BOOL)isTeamProfile { + return _tag == DBTEAMLOGEventCategoryTeamProfile; +} + +- (BOOL)isTfa { + return _tag == DBTEAMLOGEventCategoryTfa; +} + +- (BOOL)isTrustedTeams { + return _tag == DBTEAMLOGEventCategoryTrustedTeams; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGEventCategoryOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGEventCategoryAdminAlerting: + return @"DBTEAMLOGEventCategoryAdminAlerting"; + case DBTEAMLOGEventCategoryApps: + return @"DBTEAMLOGEventCategoryApps"; + case DBTEAMLOGEventCategoryComments: + return @"DBTEAMLOGEventCategoryComments"; + case DBTEAMLOGEventCategoryDataGovernance: + return @"DBTEAMLOGEventCategoryDataGovernance"; + case DBTEAMLOGEventCategoryDevices: + return @"DBTEAMLOGEventCategoryDevices"; + case DBTEAMLOGEventCategoryDomains: + return @"DBTEAMLOGEventCategoryDomains"; + case DBTEAMLOGEventCategoryEncryption: + return @"DBTEAMLOGEventCategoryEncryption"; + case DBTEAMLOGEventCategoryFileOperations: + return @"DBTEAMLOGEventCategoryFileOperations"; + case DBTEAMLOGEventCategoryFileRequests: + return @"DBTEAMLOGEventCategoryFileRequests"; + case DBTEAMLOGEventCategoryGroups: + return @"DBTEAMLOGEventCategoryGroups"; + case DBTEAMLOGEventCategoryLogins: + return @"DBTEAMLOGEventCategoryLogins"; + case DBTEAMLOGEventCategoryMembers: + return @"DBTEAMLOGEventCategoryMembers"; + case DBTEAMLOGEventCategoryPaper: + return @"DBTEAMLOGEventCategoryPaper"; + case DBTEAMLOGEventCategoryPasswords: + return @"DBTEAMLOGEventCategoryPasswords"; + case DBTEAMLOGEventCategoryReports: + return @"DBTEAMLOGEventCategoryReports"; + case DBTEAMLOGEventCategorySharing: + return @"DBTEAMLOGEventCategorySharing"; + case DBTEAMLOGEventCategoryShowcase: + return @"DBTEAMLOGEventCategoryShowcase"; + case DBTEAMLOGEventCategorySso: + return @"DBTEAMLOGEventCategorySso"; + case DBTEAMLOGEventCategoryTeamFolders: + return @"DBTEAMLOGEventCategoryTeamFolders"; + case DBTEAMLOGEventCategoryTeamPolicies: + return @"DBTEAMLOGEventCategoryTeamPolicies"; + case DBTEAMLOGEventCategoryTeamProfile: + return @"DBTEAMLOGEventCategoryTeamProfile"; + case DBTEAMLOGEventCategoryTfa: + return @"DBTEAMLOGEventCategoryTfa"; + case DBTEAMLOGEventCategoryTrustedTeams: + return @"DBTEAMLOGEventCategoryTrustedTeams"; + case DBTEAMLOGEventCategoryOther: + return @"DBTEAMLOGEventCategoryOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEventCategorySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEventCategorySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEventCategorySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGEventCategoryAdminAlerting: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryApps: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryComments: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryDataGovernance: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryDevices: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryDomains: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryEncryption: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryFileOperations: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryFileRequests: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryGroups: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryLogins: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryPaper: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryPasswords: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryReports: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategorySharing: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryShowcase: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategorySso: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryTeamFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryTeamPolicies: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryTeamProfile: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryTfa: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryTrustedTeams: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventCategoryOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEventCategory:other]; +} + +- (BOOL)isEqualToEventCategory:(DBTEAMLOGEventCategory *)anEventCategory { + if (self == anEventCategory) { + return YES; + } + if (self.tag != anEventCategory.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGEventCategoryAdminAlerting: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryApps: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryComments: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryDataGovernance: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryDevices: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryDomains: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryEncryption: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryFileOperations: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryFileRequests: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryGroups: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryLogins: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryMembers: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryPaper: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryPasswords: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryReports: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategorySharing: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryShowcase: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategorySso: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryTeamFolders: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryTeamPolicies: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryTeamProfile: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryTfa: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryTrustedTeams: + return [[self tagName] isEqual:[anEventCategory tagName]]; + case DBTEAMLOGEventCategoryOther: + return [[self tagName] isEqual:[anEventCategory tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEventCategorySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEventCategory *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAdminAlerting]) { + jsonDict[@".tag"] = @"admin_alerting"; + } else if ([valueObj isApps]) { + jsonDict[@".tag"] = @"apps"; + } else if ([valueObj isComments]) { + jsonDict[@".tag"] = @"comments"; + } else if ([valueObj isDataGovernance]) { + jsonDict[@".tag"] = @"data_governance"; + } else if ([valueObj isDevices]) { + jsonDict[@".tag"] = @"devices"; + } else if ([valueObj isDomains]) { + jsonDict[@".tag"] = @"domains"; + } else if ([valueObj isEncryption]) { + jsonDict[@".tag"] = @"encryption"; + } else if ([valueObj isFileOperations]) { + jsonDict[@".tag"] = @"file_operations"; + } else if ([valueObj isFileRequests]) { + jsonDict[@".tag"] = @"file_requests"; + } else if ([valueObj isGroups]) { + jsonDict[@".tag"] = @"groups"; + } else if ([valueObj isLogins]) { + jsonDict[@".tag"] = @"logins"; + } else if ([valueObj isMembers]) { + jsonDict[@".tag"] = @"members"; + } else if ([valueObj isPaper]) { + jsonDict[@".tag"] = @"paper"; + } else if ([valueObj isPasswords]) { + jsonDict[@".tag"] = @"passwords"; + } else if ([valueObj isReports]) { + jsonDict[@".tag"] = @"reports"; + } else if ([valueObj isSharing]) { + jsonDict[@".tag"] = @"sharing"; + } else if ([valueObj isShowcase]) { + jsonDict[@".tag"] = @"showcase"; + } else if ([valueObj isSso]) { + jsonDict[@".tag"] = @"sso"; + } else if ([valueObj isTeamFolders]) { + jsonDict[@".tag"] = @"team_folders"; + } else if ([valueObj isTeamPolicies]) { + jsonDict[@".tag"] = @"team_policies"; + } else if ([valueObj isTeamProfile]) { + jsonDict[@".tag"] = @"team_profile"; + } else if ([valueObj isTfa]) { + jsonDict[@".tag"] = @"tfa"; + } else if ([valueObj isTrustedTeams]) { + jsonDict[@".tag"] = @"trusted_teams"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"admin_alerting"]) { + return [[DBTEAMLOGEventCategory alloc] initWithAdminAlerting]; + } else if ([tag isEqualToString:@"apps"]) { + return [[DBTEAMLOGEventCategory alloc] initWithApps]; + } else if ([tag isEqualToString:@"comments"]) { + return [[DBTEAMLOGEventCategory alloc] initWithComments]; + } else if ([tag isEqualToString:@"data_governance"]) { + return [[DBTEAMLOGEventCategory alloc] initWithDataGovernance]; + } else if ([tag isEqualToString:@"devices"]) { + return [[DBTEAMLOGEventCategory alloc] initWithDevices]; + } else if ([tag isEqualToString:@"domains"]) { + return [[DBTEAMLOGEventCategory alloc] initWithDomains]; + } else if ([tag isEqualToString:@"encryption"]) { + return [[DBTEAMLOGEventCategory alloc] initWithEncryption]; + } else if ([tag isEqualToString:@"file_operations"]) { + return [[DBTEAMLOGEventCategory alloc] initWithFileOperations]; + } else if ([tag isEqualToString:@"file_requests"]) { + return [[DBTEAMLOGEventCategory alloc] initWithFileRequests]; + } else if ([tag isEqualToString:@"groups"]) { + return [[DBTEAMLOGEventCategory alloc] initWithGroups]; + } else if ([tag isEqualToString:@"logins"]) { + return [[DBTEAMLOGEventCategory alloc] initWithLogins]; + } else if ([tag isEqualToString:@"members"]) { + return [[DBTEAMLOGEventCategory alloc] initWithMembers]; + } else if ([tag isEqualToString:@"paper"]) { + return [[DBTEAMLOGEventCategory alloc] initWithPaper]; + } else if ([tag isEqualToString:@"passwords"]) { + return [[DBTEAMLOGEventCategory alloc] initWithPasswords]; + } else if ([tag isEqualToString:@"reports"]) { + return [[DBTEAMLOGEventCategory alloc] initWithReports]; + } else if ([tag isEqualToString:@"sharing"]) { + return [[DBTEAMLOGEventCategory alloc] initWithSharing]; + } else if ([tag isEqualToString:@"showcase"]) { + return [[DBTEAMLOGEventCategory alloc] initWithShowcase]; + } else if ([tag isEqualToString:@"sso"]) { + return [[DBTEAMLOGEventCategory alloc] initWithSso]; + } else if ([tag isEqualToString:@"team_folders"]) { + return [[DBTEAMLOGEventCategory alloc] initWithTeamFolders]; + } else if ([tag isEqualToString:@"team_policies"]) { + return [[DBTEAMLOGEventCategory alloc] initWithTeamPolicies]; + } else if ([tag isEqualToString:@"team_profile"]) { + return [[DBTEAMLOGEventCategory alloc] initWithTeamProfile]; + } else if ([tag isEqualToString:@"tfa"]) { + return [[DBTEAMLOGEventCategory alloc] initWithTfa]; + } else if ([tag isEqualToString:@"trusted_teams"]) { + return [[DBTEAMLOGEventCategory alloc] initWithTrustedTeams]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGEventCategory alloc] initWithOther]; + } else { + return [[DBTEAMLOGEventCategory alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h" +#import "DBTEAMLOGAccountCaptureChangePolicyDetails.h" +#import "DBTEAMLOGAccountCaptureMigrateAccountDetails.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h" +#import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" +#import "DBTEAMLOGAccountLockOrUnlockedDetails.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedDetails.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertDetails.h" +#import "DBTEAMLOGAdminEmailRemindersChangedDetails.h" +#import "DBTEAMLOGAllowDownloadDisabledDetails.h" +#import "DBTEAMLOGAllowDownloadEnabledDetails.h" +#import "DBTEAMLOGAppBlockedByPermissionsDetails.h" +#import "DBTEAMLOGAppLinkTeamDetails.h" +#import "DBTEAMLOGAppLinkUserDetails.h" +#import "DBTEAMLOGAppPermissionsChangedDetails.h" +#import "DBTEAMLOGAppUnlinkTeamDetails.h" +#import "DBTEAMLOGAppUnlinkUserDetails.h" +#import "DBTEAMLOGApplyNamingConventionDetails.h" +#import "DBTEAMLOGBackupAdminInvitationSentDetails.h" +#import "DBTEAMLOGBackupInvitationOpenedDetails.h" +#import "DBTEAMLOGBinderAddPageDetails.h" +#import "DBTEAMLOGBinderAddSectionDetails.h" +#import "DBTEAMLOGBinderRemovePageDetails.h" +#import "DBTEAMLOGBinderRemoveSectionDetails.h" +#import "DBTEAMLOGBinderRenamePageDetails.h" +#import "DBTEAMLOGBinderRenameSectionDetails.h" +#import "DBTEAMLOGBinderReorderPageDetails.h" +#import "DBTEAMLOGBinderReorderSectionDetails.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedDetails.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleDetails.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h" +#import "DBTEAMLOGClassificationChangePolicyDetails.h" +#import "DBTEAMLOGClassificationCreateReportDetails.h" +#import "DBTEAMLOGClassificationCreateReportFailDetails.h" +#import "DBTEAMLOGCollectionShareDetails.h" +#import "DBTEAMLOGComputerBackupPolicyChangedDetails.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedDetails.h" +#import "DBTEAMLOGCreateFolderDetails.h" +#import "DBTEAMLOGCreateTeamInviteLinkDetails.h" +#import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" +#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h" +#import "DBTEAMLOGDeleteTeamInviteLinkDetails.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h" +#import "DBTEAMLOGDeviceChangeIpDesktopDetails.h" +#import "DBTEAMLOGDeviceChangeIpMobileDetails.h" +#import "DBTEAMLOGDeviceChangeIpWebDetails.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h" +#import "DBTEAMLOGDeviceLinkFailDetails.h" +#import "DBTEAMLOGDeviceLinkSuccessDetails.h" +#import "DBTEAMLOGDeviceManagementDisabledDetails.h" +#import "DBTEAMLOGDeviceManagementEnabledDetails.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h" +#import "DBTEAMLOGDeviceUnlinkDetails.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h" +#import "DBTEAMLOGDisabledDomainInvitesDetails.h" +#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h" +#import "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h" +#import "DBTEAMLOGDomainVerificationAddDomainFailDetails.h" +#import "DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h" +#import "DBTEAMLOGDomainVerificationRemoveDomainDetails.h" +#import "DBTEAMLOGDropboxPasswordsExportedDetails.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h" +#import "DBTEAMLOGEmailIngestPolicyChangedDetails.h" +#import "DBTEAMLOGEmailIngestReceiveFileDetails.h" +#import "DBTEAMLOGEmmAddExceptionDetails.h" +#import "DBTEAMLOGEmmChangePolicyDetails.h" +#import "DBTEAMLOGEmmCreateExceptionsReportDetails.h" +#import "DBTEAMLOGEmmCreateUsageReportDetails.h" +#import "DBTEAMLOGEmmErrorDetails.h" +#import "DBTEAMLOGEmmRefreshAuthTokenDetails.h" +#import "DBTEAMLOGEmmRemoveExceptionDetails.h" +#import "DBTEAMLOGEnabledDomainInvitesDetails.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDetails.h" +#import "DBTEAMLOGEnterpriseSettingsLockingDetails.h" +#import "DBTEAMLOGEventDetails.h" +#import "DBTEAMLOGExportMembersReportDetails.h" +#import "DBTEAMLOGExportMembersReportFailDetails.h" +#import "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedDetails.h" +#import "DBTEAMLOGExternalSharingCreateReportDetails.h" +#import "DBTEAMLOGExternalSharingReportFailedDetails.h" +#import "DBTEAMLOGFileAddCommentDetails.h" +#import "DBTEAMLOGFileAddDetails.h" +#import "DBTEAMLOGFileAddFromAutomationDetails.h" +#import "DBTEAMLOGFileChangeCommentSubscriptionDetails.h" +#import "DBTEAMLOGFileCommentsChangePolicyDetails.h" +#import "DBTEAMLOGFileCopyDetails.h" +#import "DBTEAMLOGFileDeleteCommentDetails.h" +#import "DBTEAMLOGFileDeleteDetails.h" +#import "DBTEAMLOGFileDownloadDetails.h" +#import "DBTEAMLOGFileEditCommentDetails.h" +#import "DBTEAMLOGFileEditDetails.h" +#import "DBTEAMLOGFileGetCopyReferenceDetails.h" +#import "DBTEAMLOGFileLikeCommentDetails.h" +#import "DBTEAMLOGFileLockingLockStatusChangedDetails.h" +#import "DBTEAMLOGFileLockingPolicyChangedDetails.h" +#import "DBTEAMLOGFileMoveDetails.h" +#import "DBTEAMLOGFilePermanentlyDeleteDetails.h" +#import "DBTEAMLOGFilePreviewDetails.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h" +#import "DBTEAMLOGFileRenameDetails.h" +#import "DBTEAMLOGFileRequestChangeDetails.h" +#import "DBTEAMLOGFileRequestCloseDetails.h" +#import "DBTEAMLOGFileRequestCreateDetails.h" +#import "DBTEAMLOGFileRequestDeleteDetails.h" +#import "DBTEAMLOGFileRequestReceiveFileDetails.h" +#import "DBTEAMLOGFileRequestsChangePolicyDetails.h" +#import "DBTEAMLOGFileRequestsEmailsEnabledDetails.h" +#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h" +#import "DBTEAMLOGFileResolveCommentDetails.h" +#import "DBTEAMLOGFileRestoreDetails.h" +#import "DBTEAMLOGFileRevertDetails.h" +#import "DBTEAMLOGFileRollbackChangesDetails.h" +#import "DBTEAMLOGFileSaveCopyReferenceDetails.h" +#import "DBTEAMLOGFileTransfersFileAddDetails.h" +#import "DBTEAMLOGFileTransfersPolicyChangedDetails.h" +#import "DBTEAMLOGFileTransfersTransferDeleteDetails.h" +#import "DBTEAMLOGFileTransfersTransferDownloadDetails.h" +#import "DBTEAMLOGFileTransfersTransferSendDetails.h" +#import "DBTEAMLOGFileTransfersTransferViewDetails.h" +#import "DBTEAMLOGFileUnlikeCommentDetails.h" +#import "DBTEAMLOGFileUnresolveCommentDetails.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedDetails.h" +#import "DBTEAMLOGFolderOverviewItemPinnedDetails.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedDetails.h" +#import "DBTEAMLOGGoogleSsoChangePolicyDetails.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersDetails.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedDetails.h" +#import "DBTEAMLOGGovernancePolicyCreateDetails.h" +#import "DBTEAMLOGGovernancePolicyDeleteDetails.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsDetails.h" +#import "DBTEAMLOGGovernancePolicyEditDurationDetails.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedDetails.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedDetails.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedDetails.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h" +#import "DBTEAMLOGGroupAddExternalIdDetails.h" +#import "DBTEAMLOGGroupAddMemberDetails.h" +#import "DBTEAMLOGGroupChangeExternalIdDetails.h" +#import "DBTEAMLOGGroupChangeManagementTypeDetails.h" +#import "DBTEAMLOGGroupChangeMemberRoleDetails.h" +#import "DBTEAMLOGGroupCreateDetails.h" +#import "DBTEAMLOGGroupDeleteDetails.h" +#import "DBTEAMLOGGroupDescriptionUpdatedDetails.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedDetails.h" +#import "DBTEAMLOGGroupMovedDetails.h" +#import "DBTEAMLOGGroupRemoveExternalIdDetails.h" +#import "DBTEAMLOGGroupRemoveMemberDetails.h" +#import "DBTEAMLOGGroupRenameDetails.h" +#import "DBTEAMLOGGroupUserManagementChangePolicyDetails.h" +#import "DBTEAMLOGGuestAdminChangeStatusDetails.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h" +#import "DBTEAMLOGIntegrationConnectedDetails.h" +#import "DBTEAMLOGIntegrationDisconnectedDetails.h" +#import "DBTEAMLOGIntegrationPolicyChangedDetails.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsAddMembersDetails.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameDetails.h" +#import "DBTEAMLOGLegalHoldsExportAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsExportCancelledDetails.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedDetails.h" +#import "DBTEAMLOGLegalHoldsExportRemovedDetails.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersDetails.h" +#import "DBTEAMLOGLegalHoldsReportAHoldDetails.h" +#import "DBTEAMLOGLoginFailDetails.h" +#import "DBTEAMLOGLoginSuccessDetails.h" +#import "DBTEAMLOGLogoutDetails.h" +#import "DBTEAMLOGMemberAddExternalIdDetails.h" +#import "DBTEAMLOGMemberAddNameDetails.h" +#import "DBTEAMLOGMemberChangeAdminRoleDetails.h" +#import "DBTEAMLOGMemberChangeEmailDetails.h" +#import "DBTEAMLOGMemberChangeExternalIdDetails.h" +#import "DBTEAMLOGMemberChangeMembershipTypeDetails.h" +#import "DBTEAMLOGMemberChangeNameDetails.h" +#import "DBTEAMLOGMemberChangeResellerRoleDetails.h" +#import "DBTEAMLOGMemberChangeStatusDetails.h" +#import "DBTEAMLOGMemberDeleteManualContactsDetails.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoDetails.h" +#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h" +#import "DBTEAMLOGMemberRemoveExternalIdDetails.h" +#import "DBTEAMLOGMemberRequestsChangePolicyDetails.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedDetails.h" +#import "DBTEAMLOGMemberSetProfilePhotoDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h" +#import "DBTEAMLOGMemberSuggestDetails.h" +#import "DBTEAMLOGMemberSuggestionsChangePolicyDetails.h" +#import "DBTEAMLOGMemberTransferAccountContentsDetails.h" +#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h" +#import "DBTEAMLOGMissingDetails.h" +#import "DBTEAMLOGNetworkControlChangePolicyDetails.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h" +#import "DBTEAMLOGNoteAclInviteOnlyDetails.h" +#import "DBTEAMLOGNoteAclLinkDetails.h" +#import "DBTEAMLOGNoteAclTeamLinkDetails.h" +#import "DBTEAMLOGNoteShareReceiveDetails.h" +#import "DBTEAMLOGNoteSharedDetails.h" +#import "DBTEAMLOGObjectLabelAddedDetails.h" +#import "DBTEAMLOGObjectLabelRemovedDetails.h" +#import "DBTEAMLOGObjectLabelUpdatedValueDetails.h" +#import "DBTEAMLOGOpenNoteSharedDetails.h" +#import "DBTEAMLOGOrganizeFolderWithTidyDetails.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportDetails.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedDetails.h" +#import "DBTEAMLOGPaperAdminExportStartDetails.h" +#import "DBTEAMLOGPaperChangeDeploymentPolicyDetails.h" +#import "DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h" +#import "DBTEAMLOGPaperChangeMemberPolicyDetails.h" +#import "DBTEAMLOGPaperChangePolicyDetails.h" +#import "DBTEAMLOGPaperContentAddMemberDetails.h" +#import "DBTEAMLOGPaperContentAddToFolderDetails.h" +#import "DBTEAMLOGPaperContentArchiveDetails.h" +#import "DBTEAMLOGPaperContentCreateDetails.h" +#import "DBTEAMLOGPaperContentPermanentlyDeleteDetails.h" +#import "DBTEAMLOGPaperContentRemoveFromFolderDetails.h" +#import "DBTEAMLOGPaperContentRemoveMemberDetails.h" +#import "DBTEAMLOGPaperContentRenameDetails.h" +#import "DBTEAMLOGPaperContentRestoreDetails.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedDetails.h" +#import "DBTEAMLOGPaperDocAddCommentDetails.h" +#import "DBTEAMLOGPaperDocChangeMemberRoleDetails.h" +#import "DBTEAMLOGPaperDocChangeSharingPolicyDetails.h" +#import "DBTEAMLOGPaperDocChangeSubscriptionDetails.h" +#import "DBTEAMLOGPaperDocDeleteCommentDetails.h" +#import "DBTEAMLOGPaperDocDeletedDetails.h" +#import "DBTEAMLOGPaperDocDownloadDetails.h" +#import "DBTEAMLOGPaperDocEditCommentDetails.h" +#import "DBTEAMLOGPaperDocEditDetails.h" +#import "DBTEAMLOGPaperDocFollowedDetails.h" +#import "DBTEAMLOGPaperDocMentionDetails.h" +#import "DBTEAMLOGPaperDocOwnershipChangedDetails.h" +#import "DBTEAMLOGPaperDocRequestAccessDetails.h" +#import "DBTEAMLOGPaperDocResolveCommentDetails.h" +#import "DBTEAMLOGPaperDocRevertDetails.h" +#import "DBTEAMLOGPaperDocSlackShareDetails.h" +#import "DBTEAMLOGPaperDocTeamInviteDetails.h" +#import "DBTEAMLOGPaperDocTrashedDetails.h" +#import "DBTEAMLOGPaperDocUnresolveCommentDetails.h" +#import "DBTEAMLOGPaperDocUntrashedDetails.h" +#import "DBTEAMLOGPaperDocViewDetails.h" +#import "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h" +#import "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h" +#import "DBTEAMLOGPaperExternalViewAllowDetails.h" +#import "DBTEAMLOGPaperExternalViewDefaultTeamDetails.h" +#import "DBTEAMLOGPaperExternalViewForbidDetails.h" +#import "DBTEAMLOGPaperFolderChangeSubscriptionDetails.h" +#import "DBTEAMLOGPaperFolderDeletedDetails.h" +#import "DBTEAMLOGPaperFolderFollowedDetails.h" +#import "DBTEAMLOGPaperFolderTeamInviteDetails.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h" +#import "DBTEAMLOGPaperPublishedLinkCreateDetails.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledDetails.h" +#import "DBTEAMLOGPaperPublishedLinkViewDetails.h" +#import "DBTEAMLOGPasswordChangeDetails.h" +#import "DBTEAMLOGPasswordResetAllDetails.h" +#import "DBTEAMLOGPasswordResetDetails.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedDetails.h" +#import "DBTEAMLOGPermanentDeleteChangePolicyDetails.h" +#import "DBTEAMLOGRansomwareAlertCreateReportDetails.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedDetails.h" +#import "DBTEAMLOGReplayFileDeleteDetails.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedDetails.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedDetails.h" +#import "DBTEAMLOGReplayProjectTeamAddDetails.h" +#import "DBTEAMLOGReplayProjectTeamDeleteDetails.h" +#import "DBTEAMLOGResellerSupportChangePolicyDetails.h" +#import "DBTEAMLOGResellerSupportSessionEndDetails.h" +#import "DBTEAMLOGResellerSupportSessionStartDetails.h" +#import "DBTEAMLOGRewindFolderDetails.h" +#import "DBTEAMLOGRewindPolicyChangedDetails.h" +#import "DBTEAMLOGSecondaryEmailDeletedDetails.h" +#import "DBTEAMLOGSecondaryEmailVerifiedDetails.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedDetails.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedDetails.h" +#import "DBTEAMLOGSfAddGroupDetails.h" +#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h" +#import "DBTEAMLOGSfExternalInviteWarnDetails.h" +#import "DBTEAMLOGSfFbInviteChangeRoleDetails.h" +#import "DBTEAMLOGSfFbInviteDetails.h" +#import "DBTEAMLOGSfFbUninviteDetails.h" +#import "DBTEAMLOGSfInviteGroupDetails.h" +#import "DBTEAMLOGSfTeamGrantAccessDetails.h" +#import "DBTEAMLOGSfTeamInviteChangeRoleDetails.h" +#import "DBTEAMLOGSfTeamInviteDetails.h" +#import "DBTEAMLOGSfTeamJoinDetails.h" +#import "DBTEAMLOGSfTeamJoinFromOobLinkDetails.h" +#import "DBTEAMLOGSfTeamUninviteDetails.h" +#import "DBTEAMLOGSharedContentAddInviteesDetails.h" +#import "DBTEAMLOGSharedContentAddLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentAddLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentAddMemberDetails.h" +#import "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h" +#import "DBTEAMLOGSharedContentChangeInviteeRoleDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkAudienceDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentChangeMemberRoleDetails.h" +#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h" +#import "DBTEAMLOGSharedContentClaimInvitationDetails.h" +#import "DBTEAMLOGSharedContentCopyDetails.h" +#import "DBTEAMLOGSharedContentDownloadDetails.h" +#import "DBTEAMLOGSharedContentRelinquishMembershipDetails.h" +#import "DBTEAMLOGSharedContentRemoveInviteesDetails.h" +#import "DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentRemoveMemberDetails.h" +#import "DBTEAMLOGSharedContentRequestAccessDetails.h" +#import "DBTEAMLOGSharedContentRestoreInviteesDetails.h" +#import "DBTEAMLOGSharedContentRestoreMemberDetails.h" +#import "DBTEAMLOGSharedContentUnshareDetails.h" +#import "DBTEAMLOGSharedContentViewDetails.h" +#import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h" +#import "DBTEAMLOGSharedFolderCreateDetails.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationDetails.h" +#import "DBTEAMLOGSharedFolderMountDetails.h" +#import "DBTEAMLOGSharedFolderNestDetails.h" +#import "DBTEAMLOGSharedFolderTransferOwnershipDetails.h" +#import "DBTEAMLOGSharedFolderUnmountDetails.h" +#import "DBTEAMLOGSharedLinkAddExpiryDetails.h" +#import "DBTEAMLOGSharedLinkChangeExpiryDetails.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityDetails.h" +#import "DBTEAMLOGSharedLinkCopyDetails.h" +#import "DBTEAMLOGSharedLinkCreateDetails.h" +#import "DBTEAMLOGSharedLinkDisableDetails.h" +#import "DBTEAMLOGSharedLinkDownloadDetails.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h" +#import "DBTEAMLOGSharedLinkShareDetails.h" +#import "DBTEAMLOGSharedLinkViewDetails.h" +#import "DBTEAMLOGSharedNoteOpenedDetails.h" +#import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" +#import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" +#import "DBTEAMLOGShmodelDisableDownloadsDetails.h" +#import "DBTEAMLOGShmodelEnableDownloadsDetails.h" +#import "DBTEAMLOGShmodelGroupShareDetails.h" +#import "DBTEAMLOGShowcaseAccessGrantedDetails.h" +#import "DBTEAMLOGShowcaseAddMemberDetails.h" +#import "DBTEAMLOGShowcaseArchivedDetails.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h" +#import "DBTEAMLOGShowcaseCreatedDetails.h" +#import "DBTEAMLOGShowcaseDeleteCommentDetails.h" +#import "DBTEAMLOGShowcaseEditCommentDetails.h" +#import "DBTEAMLOGShowcaseEditedDetails.h" +#import "DBTEAMLOGShowcaseFileAddedDetails.h" +#import "DBTEAMLOGShowcaseFileDownloadDetails.h" +#import "DBTEAMLOGShowcaseFileRemovedDetails.h" +#import "DBTEAMLOGShowcaseFileViewDetails.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedDetails.h" +#import "DBTEAMLOGShowcasePostCommentDetails.h" +#import "DBTEAMLOGShowcaseRemoveMemberDetails.h" +#import "DBTEAMLOGShowcaseRenamedDetails.h" +#import "DBTEAMLOGShowcaseRequestAccessDetails.h" +#import "DBTEAMLOGShowcaseResolveCommentDetails.h" +#import "DBTEAMLOGShowcaseRestoredDetails.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedDetails.h" +#import "DBTEAMLOGShowcaseTrashedDetails.h" +#import "DBTEAMLOGShowcaseUnresolveCommentDetails.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h" +#import "DBTEAMLOGShowcaseUntrashedDetails.h" +#import "DBTEAMLOGShowcaseViewDetails.h" +#import "DBTEAMLOGSignInAsSessionEndDetails.h" +#import "DBTEAMLOGSignInAsSessionStartDetails.h" +#import "DBTEAMLOGSmartSyncChangePolicyDetails.h" +#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" +#import "DBTEAMLOGSmartSyncNotOptOutDetails.h" +#import "DBTEAMLOGSmartSyncOptOutDetails.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h" +#import "DBTEAMLOGSsoAddCertDetails.h" +#import "DBTEAMLOGSsoAddLoginUrlDetails.h" +#import "DBTEAMLOGSsoAddLogoutUrlDetails.h" +#import "DBTEAMLOGSsoChangeCertDetails.h" +#import "DBTEAMLOGSsoChangeLoginUrlDetails.h" +#import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" +#import "DBTEAMLOGSsoChangePolicyDetails.h" +#import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" +#import "DBTEAMLOGSsoErrorDetails.h" +#import "DBTEAMLOGSsoRemoveCertDetails.h" +#import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" +#import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportFailDetails.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedDetails.h" +#import "DBTEAMLOGTeamFolderChangeStatusDetails.h" +#import "DBTEAMLOGTeamFolderCreateDetails.h" +#import "DBTEAMLOGTeamFolderDowngradeDetails.h" +#import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" +#import "DBTEAMLOGTeamFolderRenameDetails.h" +#import "DBTEAMLOGTeamMergeFromDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestRevokedDetails.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeToDetails.h" +#import "DBTEAMLOGTeamProfileAddBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileAddLogoDetails.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" +#import "DBTEAMLOGTeamProfileChangeLogoDetails.h" +#import "DBTEAMLOGTeamProfileChangeNameDetails.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileRemoveLogoDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h" +#import "DBTEAMLOGTfaAddBackupPhoneDetails.h" +#import "DBTEAMLOGTfaAddExceptionDetails.h" +#import "DBTEAMLOGTfaAddSecurityKeyDetails.h" +#import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" +#import "DBTEAMLOGTfaChangePolicyDetails.h" +#import "DBTEAMLOGTfaChangeStatusDetails.h" +#import "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" +#import "DBTEAMLOGTfaRemoveExceptionDetails.h" +#import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" +#import "DBTEAMLOGTfaResetDetails.h" +#import "DBTEAMLOGTwoAccountChangePolicyDetails.h" +#import "DBTEAMLOGUndoNamingConventionDetails.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h" +#import "DBTEAMLOGUserTagsAddedDetails.h" +#import "DBTEAMLOGUserTagsRemovedDetails.h" +#import "DBTEAMLOGViewerInfoPolicyChangedDetails.h" +#import "DBTEAMLOGWatermarkingPolicyChangedDetails.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h" +#import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h" +#import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEventDetails + +@synthesize adminAlertingAlertStateChangedDetails = _adminAlertingAlertStateChangedDetails; +@synthesize adminAlertingChangedAlertConfigDetails = _adminAlertingChangedAlertConfigDetails; +@synthesize adminAlertingTriggeredAlertDetails = _adminAlertingTriggeredAlertDetails; +@synthesize ransomwareRestoreProcessCompletedDetails = _ransomwareRestoreProcessCompletedDetails; +@synthesize ransomwareRestoreProcessStartedDetails = _ransomwareRestoreProcessStartedDetails; +@synthesize appBlockedByPermissionsDetails = _appBlockedByPermissionsDetails; +@synthesize appLinkTeamDetails = _appLinkTeamDetails; +@synthesize appLinkUserDetails = _appLinkUserDetails; +@synthesize appUnlinkTeamDetails = _appUnlinkTeamDetails; +@synthesize appUnlinkUserDetails = _appUnlinkUserDetails; +@synthesize integrationConnectedDetails = _integrationConnectedDetails; +@synthesize integrationDisconnectedDetails = _integrationDisconnectedDetails; +@synthesize fileAddCommentDetails = _fileAddCommentDetails; +@synthesize fileChangeCommentSubscriptionDetails = _fileChangeCommentSubscriptionDetails; +@synthesize fileDeleteCommentDetails = _fileDeleteCommentDetails; +@synthesize fileEditCommentDetails = _fileEditCommentDetails; +@synthesize fileLikeCommentDetails = _fileLikeCommentDetails; +@synthesize fileResolveCommentDetails = _fileResolveCommentDetails; +@synthesize fileUnlikeCommentDetails = _fileUnlikeCommentDetails; +@synthesize fileUnresolveCommentDetails = _fileUnresolveCommentDetails; +@synthesize governancePolicyAddFoldersDetails = _governancePolicyAddFoldersDetails; +@synthesize governancePolicyAddFolderFailedDetails = _governancePolicyAddFolderFailedDetails; +@synthesize governancePolicyContentDisposedDetails = _governancePolicyContentDisposedDetails; +@synthesize governancePolicyCreateDetails = _governancePolicyCreateDetails; +@synthesize governancePolicyDeleteDetails = _governancePolicyDeleteDetails; +@synthesize governancePolicyEditDetailsDetails = _governancePolicyEditDetailsDetails; +@synthesize governancePolicyEditDurationDetails = _governancePolicyEditDurationDetails; +@synthesize governancePolicyExportCreatedDetails = _governancePolicyExportCreatedDetails; +@synthesize governancePolicyExportRemovedDetails = _governancePolicyExportRemovedDetails; +@synthesize governancePolicyRemoveFoldersDetails = _governancePolicyRemoveFoldersDetails; +@synthesize governancePolicyReportCreatedDetails = _governancePolicyReportCreatedDetails; +@synthesize governancePolicyZipPartDownloadedDetails = _governancePolicyZipPartDownloadedDetails; +@synthesize legalHoldsActivateAHoldDetails = _legalHoldsActivateAHoldDetails; +@synthesize legalHoldsAddMembersDetails = _legalHoldsAddMembersDetails; +@synthesize legalHoldsChangeHoldDetailsDetails = _legalHoldsChangeHoldDetailsDetails; +@synthesize legalHoldsChangeHoldNameDetails = _legalHoldsChangeHoldNameDetails; +@synthesize legalHoldsExportAHoldDetails = _legalHoldsExportAHoldDetails; +@synthesize legalHoldsExportCancelledDetails = _legalHoldsExportCancelledDetails; +@synthesize legalHoldsExportDownloadedDetails = _legalHoldsExportDownloadedDetails; +@synthesize legalHoldsExportRemovedDetails = _legalHoldsExportRemovedDetails; +@synthesize legalHoldsReleaseAHoldDetails = _legalHoldsReleaseAHoldDetails; +@synthesize legalHoldsRemoveMembersDetails = _legalHoldsRemoveMembersDetails; +@synthesize legalHoldsReportAHoldDetails = _legalHoldsReportAHoldDetails; +@synthesize deviceChangeIpDesktopDetails = _deviceChangeIpDesktopDetails; +@synthesize deviceChangeIpMobileDetails = _deviceChangeIpMobileDetails; +@synthesize deviceChangeIpWebDetails = _deviceChangeIpWebDetails; +@synthesize deviceDeleteOnUnlinkFailDetails = _deviceDeleteOnUnlinkFailDetails; +@synthesize deviceDeleteOnUnlinkSuccessDetails = _deviceDeleteOnUnlinkSuccessDetails; +@synthesize deviceLinkFailDetails = _deviceLinkFailDetails; +@synthesize deviceLinkSuccessDetails = _deviceLinkSuccessDetails; +@synthesize deviceManagementDisabledDetails = _deviceManagementDisabledDetails; +@synthesize deviceManagementEnabledDetails = _deviceManagementEnabledDetails; +@synthesize deviceSyncBackupStatusChangedDetails = _deviceSyncBackupStatusChangedDetails; +@synthesize deviceUnlinkDetails = _deviceUnlinkDetails; +@synthesize dropboxPasswordsExportedDetails = _dropboxPasswordsExportedDetails; +@synthesize dropboxPasswordsNewDeviceEnrolledDetails = _dropboxPasswordsNewDeviceEnrolledDetails; +@synthesize emmRefreshAuthTokenDetails = _emmRefreshAuthTokenDetails; +@synthesize externalDriveBackupEligibilityStatusCheckedDetails = _externalDriveBackupEligibilityStatusCheckedDetails; +@synthesize externalDriveBackupStatusChangedDetails = _externalDriveBackupStatusChangedDetails; +@synthesize accountCaptureChangeAvailabilityDetails = _accountCaptureChangeAvailabilityDetails; +@synthesize accountCaptureMigrateAccountDetails = _accountCaptureMigrateAccountDetails; +@synthesize accountCaptureNotificationEmailsSentDetails = _accountCaptureNotificationEmailsSentDetails; +@synthesize accountCaptureRelinquishAccountDetails = _accountCaptureRelinquishAccountDetails; +@synthesize disabledDomainInvitesDetails = _disabledDomainInvitesDetails; +@synthesize domainInvitesApproveRequestToJoinTeamDetails = _domainInvitesApproveRequestToJoinTeamDetails; +@synthesize domainInvitesDeclineRequestToJoinTeamDetails = _domainInvitesDeclineRequestToJoinTeamDetails; +@synthesize domainInvitesEmailExistingUsersDetails = _domainInvitesEmailExistingUsersDetails; +@synthesize domainInvitesRequestToJoinTeamDetails = _domainInvitesRequestToJoinTeamDetails; +@synthesize domainInvitesSetInviteNewUserPrefToNoDetails = _domainInvitesSetInviteNewUserPrefToNoDetails; +@synthesize domainInvitesSetInviteNewUserPrefToYesDetails = _domainInvitesSetInviteNewUserPrefToYesDetails; +@synthesize domainVerificationAddDomainFailDetails = _domainVerificationAddDomainFailDetails; +@synthesize domainVerificationAddDomainSuccessDetails = _domainVerificationAddDomainSuccessDetails; +@synthesize domainVerificationRemoveDomainDetails = _domainVerificationRemoveDomainDetails; +@synthesize enabledDomainInvitesDetails = _enabledDomainInvitesDetails; +@synthesize teamEncryptionKeyCancelKeyDeletionDetails = _teamEncryptionKeyCancelKeyDeletionDetails; +@synthesize teamEncryptionKeyCreateKeyDetails = _teamEncryptionKeyCreateKeyDetails; +@synthesize teamEncryptionKeyDeleteKeyDetails = _teamEncryptionKeyDeleteKeyDetails; +@synthesize teamEncryptionKeyDisableKeyDetails = _teamEncryptionKeyDisableKeyDetails; +@synthesize teamEncryptionKeyEnableKeyDetails = _teamEncryptionKeyEnableKeyDetails; +@synthesize teamEncryptionKeyRotateKeyDetails = _teamEncryptionKeyRotateKeyDetails; +@synthesize teamEncryptionKeyScheduleKeyDeletionDetails = _teamEncryptionKeyScheduleKeyDeletionDetails; +@synthesize applyNamingConventionDetails = _applyNamingConventionDetails; +@synthesize createFolderDetails = _createFolderDetails; +@synthesize fileAddDetails = _fileAddDetails; +@synthesize fileAddFromAutomationDetails = _fileAddFromAutomationDetails; +@synthesize fileCopyDetails = _fileCopyDetails; +@synthesize fileDeleteDetails = _fileDeleteDetails; +@synthesize fileDownloadDetails = _fileDownloadDetails; +@synthesize fileEditDetails = _fileEditDetails; +@synthesize fileGetCopyReferenceDetails = _fileGetCopyReferenceDetails; +@synthesize fileLockingLockStatusChangedDetails = _fileLockingLockStatusChangedDetails; +@synthesize fileMoveDetails = _fileMoveDetails; +@synthesize filePermanentlyDeleteDetails = _filePermanentlyDeleteDetails; +@synthesize filePreviewDetails = _filePreviewDetails; +@synthesize fileRenameDetails = _fileRenameDetails; +@synthesize fileRestoreDetails = _fileRestoreDetails; +@synthesize fileRevertDetails = _fileRevertDetails; +@synthesize fileRollbackChangesDetails = _fileRollbackChangesDetails; +@synthesize fileSaveCopyReferenceDetails = _fileSaveCopyReferenceDetails; +@synthesize folderOverviewDescriptionChangedDetails = _folderOverviewDescriptionChangedDetails; +@synthesize folderOverviewItemPinnedDetails = _folderOverviewItemPinnedDetails; +@synthesize folderOverviewItemUnpinnedDetails = _folderOverviewItemUnpinnedDetails; +@synthesize objectLabelAddedDetails = _objectLabelAddedDetails; +@synthesize objectLabelRemovedDetails = _objectLabelRemovedDetails; +@synthesize objectLabelUpdatedValueDetails = _objectLabelUpdatedValueDetails; +@synthesize organizeFolderWithTidyDetails = _organizeFolderWithTidyDetails; +@synthesize replayFileDeleteDetails = _replayFileDeleteDetails; +@synthesize rewindFolderDetails = _rewindFolderDetails; +@synthesize undoNamingConventionDetails = _undoNamingConventionDetails; +@synthesize undoOrganizeFolderWithTidyDetails = _undoOrganizeFolderWithTidyDetails; +@synthesize userTagsAddedDetails = _userTagsAddedDetails; +@synthesize userTagsRemovedDetails = _userTagsRemovedDetails; +@synthesize emailIngestReceiveFileDetails = _emailIngestReceiveFileDetails; +@synthesize fileRequestChangeDetails = _fileRequestChangeDetails; +@synthesize fileRequestCloseDetails = _fileRequestCloseDetails; +@synthesize fileRequestCreateDetails = _fileRequestCreateDetails; +@synthesize fileRequestDeleteDetails = _fileRequestDeleteDetails; +@synthesize fileRequestReceiveFileDetails = _fileRequestReceiveFileDetails; +@synthesize groupAddExternalIdDetails = _groupAddExternalIdDetails; +@synthesize groupAddMemberDetails = _groupAddMemberDetails; +@synthesize groupChangeExternalIdDetails = _groupChangeExternalIdDetails; +@synthesize groupChangeManagementTypeDetails = _groupChangeManagementTypeDetails; +@synthesize groupChangeMemberRoleDetails = _groupChangeMemberRoleDetails; +@synthesize groupCreateDetails = _groupCreateDetails; +@synthesize groupDeleteDetails = _groupDeleteDetails; +@synthesize groupDescriptionUpdatedDetails = _groupDescriptionUpdatedDetails; +@synthesize groupJoinPolicyUpdatedDetails = _groupJoinPolicyUpdatedDetails; +@synthesize groupMovedDetails = _groupMovedDetails; +@synthesize groupRemoveExternalIdDetails = _groupRemoveExternalIdDetails; +@synthesize groupRemoveMemberDetails = _groupRemoveMemberDetails; +@synthesize groupRenameDetails = _groupRenameDetails; +@synthesize accountLockOrUnlockedDetails = _accountLockOrUnlockedDetails; +@synthesize emmErrorDetails = _emmErrorDetails; +@synthesize guestAdminSignedInViaTrustedTeamsDetails = _guestAdminSignedInViaTrustedTeamsDetails; +@synthesize guestAdminSignedOutViaTrustedTeamsDetails = _guestAdminSignedOutViaTrustedTeamsDetails; +@synthesize loginFailDetails = _loginFailDetails; +@synthesize loginSuccessDetails = _loginSuccessDetails; +@synthesize logoutDetails = _logoutDetails; +@synthesize resellerSupportSessionEndDetails = _resellerSupportSessionEndDetails; +@synthesize resellerSupportSessionStartDetails = _resellerSupportSessionStartDetails; +@synthesize signInAsSessionEndDetails = _signInAsSessionEndDetails; +@synthesize signInAsSessionStartDetails = _signInAsSessionStartDetails; +@synthesize ssoErrorDetails = _ssoErrorDetails; +@synthesize backupAdminInvitationSentDetails = _backupAdminInvitationSentDetails; +@synthesize backupInvitationOpenedDetails = _backupInvitationOpenedDetails; +@synthesize createTeamInviteLinkDetails = _createTeamInviteLinkDetails; +@synthesize deleteTeamInviteLinkDetails = _deleteTeamInviteLinkDetails; +@synthesize memberAddExternalIdDetails = _memberAddExternalIdDetails; +@synthesize memberAddNameDetails = _memberAddNameDetails; +@synthesize memberChangeAdminRoleDetails = _memberChangeAdminRoleDetails; +@synthesize memberChangeEmailDetails = _memberChangeEmailDetails; +@synthesize memberChangeExternalIdDetails = _memberChangeExternalIdDetails; +@synthesize memberChangeMembershipTypeDetails = _memberChangeMembershipTypeDetails; +@synthesize memberChangeNameDetails = _memberChangeNameDetails; +@synthesize memberChangeResellerRoleDetails = _memberChangeResellerRoleDetails; +@synthesize memberChangeStatusDetails = _memberChangeStatusDetails; +@synthesize memberDeleteManualContactsDetails = _memberDeleteManualContactsDetails; +@synthesize memberDeleteProfilePhotoDetails = _memberDeleteProfilePhotoDetails; +@synthesize memberPermanentlyDeleteAccountContentsDetails = _memberPermanentlyDeleteAccountContentsDetails; +@synthesize memberRemoveExternalIdDetails = _memberRemoveExternalIdDetails; +@synthesize memberSetProfilePhotoDetails = _memberSetProfilePhotoDetails; +@synthesize memberSpaceLimitsAddCustomQuotaDetails = _memberSpaceLimitsAddCustomQuotaDetails; +@synthesize memberSpaceLimitsChangeCustomQuotaDetails = _memberSpaceLimitsChangeCustomQuotaDetails; +@synthesize memberSpaceLimitsChangeStatusDetails = _memberSpaceLimitsChangeStatusDetails; +@synthesize memberSpaceLimitsRemoveCustomQuotaDetails = _memberSpaceLimitsRemoveCustomQuotaDetails; +@synthesize memberSuggestDetails = _memberSuggestDetails; +@synthesize memberTransferAccountContentsDetails = _memberTransferAccountContentsDetails; +@synthesize pendingSecondaryEmailAddedDetails = _pendingSecondaryEmailAddedDetails; +@synthesize secondaryEmailDeletedDetails = _secondaryEmailDeletedDetails; +@synthesize secondaryEmailVerifiedDetails = _secondaryEmailVerifiedDetails; +@synthesize secondaryMailsPolicyChangedDetails = _secondaryMailsPolicyChangedDetails; +@synthesize binderAddPageDetails = _binderAddPageDetails; +@synthesize binderAddSectionDetails = _binderAddSectionDetails; +@synthesize binderRemovePageDetails = _binderRemovePageDetails; +@synthesize binderRemoveSectionDetails = _binderRemoveSectionDetails; +@synthesize binderRenamePageDetails = _binderRenamePageDetails; +@synthesize binderRenameSectionDetails = _binderRenameSectionDetails; +@synthesize binderReorderPageDetails = _binderReorderPageDetails; +@synthesize binderReorderSectionDetails = _binderReorderSectionDetails; +@synthesize paperContentAddMemberDetails = _paperContentAddMemberDetails; +@synthesize paperContentAddToFolderDetails = _paperContentAddToFolderDetails; +@synthesize paperContentArchiveDetails = _paperContentArchiveDetails; +@synthesize paperContentCreateDetails = _paperContentCreateDetails; +@synthesize paperContentPermanentlyDeleteDetails = _paperContentPermanentlyDeleteDetails; +@synthesize paperContentRemoveFromFolderDetails = _paperContentRemoveFromFolderDetails; +@synthesize paperContentRemoveMemberDetails = _paperContentRemoveMemberDetails; +@synthesize paperContentRenameDetails = _paperContentRenameDetails; +@synthesize paperContentRestoreDetails = _paperContentRestoreDetails; +@synthesize paperDocAddCommentDetails = _paperDocAddCommentDetails; +@synthesize paperDocChangeMemberRoleDetails = _paperDocChangeMemberRoleDetails; +@synthesize paperDocChangeSharingPolicyDetails = _paperDocChangeSharingPolicyDetails; +@synthesize paperDocChangeSubscriptionDetails = _paperDocChangeSubscriptionDetails; +@synthesize paperDocDeletedDetails = _paperDocDeletedDetails; +@synthesize paperDocDeleteCommentDetails = _paperDocDeleteCommentDetails; +@synthesize paperDocDownloadDetails = _paperDocDownloadDetails; +@synthesize paperDocEditDetails = _paperDocEditDetails; +@synthesize paperDocEditCommentDetails = _paperDocEditCommentDetails; +@synthesize paperDocFollowedDetails = _paperDocFollowedDetails; +@synthesize paperDocMentionDetails = _paperDocMentionDetails; +@synthesize paperDocOwnershipChangedDetails = _paperDocOwnershipChangedDetails; +@synthesize paperDocRequestAccessDetails = _paperDocRequestAccessDetails; +@synthesize paperDocResolveCommentDetails = _paperDocResolveCommentDetails; +@synthesize paperDocRevertDetails = _paperDocRevertDetails; +@synthesize paperDocSlackShareDetails = _paperDocSlackShareDetails; +@synthesize paperDocTeamInviteDetails = _paperDocTeamInviteDetails; +@synthesize paperDocTrashedDetails = _paperDocTrashedDetails; +@synthesize paperDocUnresolveCommentDetails = _paperDocUnresolveCommentDetails; +@synthesize paperDocUntrashedDetails = _paperDocUntrashedDetails; +@synthesize paperDocViewDetails = _paperDocViewDetails; +@synthesize paperExternalViewAllowDetails = _paperExternalViewAllowDetails; +@synthesize paperExternalViewDefaultTeamDetails = _paperExternalViewDefaultTeamDetails; +@synthesize paperExternalViewForbidDetails = _paperExternalViewForbidDetails; +@synthesize paperFolderChangeSubscriptionDetails = _paperFolderChangeSubscriptionDetails; +@synthesize paperFolderDeletedDetails = _paperFolderDeletedDetails; +@synthesize paperFolderFollowedDetails = _paperFolderFollowedDetails; +@synthesize paperFolderTeamInviteDetails = _paperFolderTeamInviteDetails; +@synthesize paperPublishedLinkChangePermissionDetails = _paperPublishedLinkChangePermissionDetails; +@synthesize paperPublishedLinkCreateDetails = _paperPublishedLinkCreateDetails; +@synthesize paperPublishedLinkDisabledDetails = _paperPublishedLinkDisabledDetails; +@synthesize paperPublishedLinkViewDetails = _paperPublishedLinkViewDetails; +@synthesize passwordChangeDetails = _passwordChangeDetails; +@synthesize passwordResetDetails = _passwordResetDetails; +@synthesize passwordResetAllDetails = _passwordResetAllDetails; +@synthesize classificationCreateReportDetails = _classificationCreateReportDetails; +@synthesize classificationCreateReportFailDetails = _classificationCreateReportFailDetails; +@synthesize emmCreateExceptionsReportDetails = _emmCreateExceptionsReportDetails; +@synthesize emmCreateUsageReportDetails = _emmCreateUsageReportDetails; +@synthesize exportMembersReportDetails = _exportMembersReportDetails; +@synthesize exportMembersReportFailDetails = _exportMembersReportFailDetails; +@synthesize externalSharingCreateReportDetails = _externalSharingCreateReportDetails; +@synthesize externalSharingReportFailedDetails = _externalSharingReportFailedDetails; +@synthesize noExpirationLinkGenCreateReportDetails = _noExpirationLinkGenCreateReportDetails; +@synthesize noExpirationLinkGenReportFailedDetails = _noExpirationLinkGenReportFailedDetails; +@synthesize noPasswordLinkGenCreateReportDetails = _noPasswordLinkGenCreateReportDetails; +@synthesize noPasswordLinkGenReportFailedDetails = _noPasswordLinkGenReportFailedDetails; +@synthesize noPasswordLinkViewCreateReportDetails = _noPasswordLinkViewCreateReportDetails; +@synthesize noPasswordLinkViewReportFailedDetails = _noPasswordLinkViewReportFailedDetails; +@synthesize outdatedLinkViewCreateReportDetails = _outdatedLinkViewCreateReportDetails; +@synthesize outdatedLinkViewReportFailedDetails = _outdatedLinkViewReportFailedDetails; +@synthesize paperAdminExportStartDetails = _paperAdminExportStartDetails; +@synthesize ransomwareAlertCreateReportDetails = _ransomwareAlertCreateReportDetails; +@synthesize ransomwareAlertCreateReportFailedDetails = _ransomwareAlertCreateReportFailedDetails; +@synthesize smartSyncCreateAdminPrivilegeReportDetails = _smartSyncCreateAdminPrivilegeReportDetails; +@synthesize teamActivityCreateReportDetails = _teamActivityCreateReportDetails; +@synthesize teamActivityCreateReportFailDetails = _teamActivityCreateReportFailDetails; +@synthesize collectionShareDetails = _collectionShareDetails; +@synthesize fileTransfersFileAddDetails = _fileTransfersFileAddDetails; +@synthesize fileTransfersTransferDeleteDetails = _fileTransfersTransferDeleteDetails; +@synthesize fileTransfersTransferDownloadDetails = _fileTransfersTransferDownloadDetails; +@synthesize fileTransfersTransferSendDetails = _fileTransfersTransferSendDetails; +@synthesize fileTransfersTransferViewDetails = _fileTransfersTransferViewDetails; +@synthesize noteAclInviteOnlyDetails = _noteAclInviteOnlyDetails; +@synthesize noteAclLinkDetails = _noteAclLinkDetails; +@synthesize noteAclTeamLinkDetails = _noteAclTeamLinkDetails; +@synthesize noteSharedDetails = _noteSharedDetails; +@synthesize noteShareReceiveDetails = _noteShareReceiveDetails; +@synthesize openNoteSharedDetails = _openNoteSharedDetails; +@synthesize replayFileSharedLinkCreatedDetails = _replayFileSharedLinkCreatedDetails; +@synthesize replayFileSharedLinkModifiedDetails = _replayFileSharedLinkModifiedDetails; +@synthesize replayProjectTeamAddDetails = _replayProjectTeamAddDetails; +@synthesize replayProjectTeamDeleteDetails = _replayProjectTeamDeleteDetails; +@synthesize sfAddGroupDetails = _sfAddGroupDetails; +@synthesize sfAllowNonMembersToViewSharedLinksDetails = _sfAllowNonMembersToViewSharedLinksDetails; +@synthesize sfExternalInviteWarnDetails = _sfExternalInviteWarnDetails; +@synthesize sfFbInviteDetails = _sfFbInviteDetails; +@synthesize sfFbInviteChangeRoleDetails = _sfFbInviteChangeRoleDetails; +@synthesize sfFbUninviteDetails = _sfFbUninviteDetails; +@synthesize sfInviteGroupDetails = _sfInviteGroupDetails; +@synthesize sfTeamGrantAccessDetails = _sfTeamGrantAccessDetails; +@synthesize sfTeamInviteDetails = _sfTeamInviteDetails; +@synthesize sfTeamInviteChangeRoleDetails = _sfTeamInviteChangeRoleDetails; +@synthesize sfTeamJoinDetails = _sfTeamJoinDetails; +@synthesize sfTeamJoinFromOobLinkDetails = _sfTeamJoinFromOobLinkDetails; +@synthesize sfTeamUninviteDetails = _sfTeamUninviteDetails; +@synthesize sharedContentAddInviteesDetails = _sharedContentAddInviteesDetails; +@synthesize sharedContentAddLinkExpiryDetails = _sharedContentAddLinkExpiryDetails; +@synthesize sharedContentAddLinkPasswordDetails = _sharedContentAddLinkPasswordDetails; +@synthesize sharedContentAddMemberDetails = _sharedContentAddMemberDetails; +@synthesize sharedContentChangeDownloadsPolicyDetails = _sharedContentChangeDownloadsPolicyDetails; +@synthesize sharedContentChangeInviteeRoleDetails = _sharedContentChangeInviteeRoleDetails; +@synthesize sharedContentChangeLinkAudienceDetails = _sharedContentChangeLinkAudienceDetails; +@synthesize sharedContentChangeLinkExpiryDetails = _sharedContentChangeLinkExpiryDetails; +@synthesize sharedContentChangeLinkPasswordDetails = _sharedContentChangeLinkPasswordDetails; +@synthesize sharedContentChangeMemberRoleDetails = _sharedContentChangeMemberRoleDetails; +@synthesize sharedContentChangeViewerInfoPolicyDetails = _sharedContentChangeViewerInfoPolicyDetails; +@synthesize sharedContentClaimInvitationDetails = _sharedContentClaimInvitationDetails; +@synthesize sharedContentCopyDetails = _sharedContentCopyDetails; +@synthesize sharedContentDownloadDetails = _sharedContentDownloadDetails; +@synthesize sharedContentRelinquishMembershipDetails = _sharedContentRelinquishMembershipDetails; +@synthesize sharedContentRemoveInviteesDetails = _sharedContentRemoveInviteesDetails; +@synthesize sharedContentRemoveLinkExpiryDetails = _sharedContentRemoveLinkExpiryDetails; +@synthesize sharedContentRemoveLinkPasswordDetails = _sharedContentRemoveLinkPasswordDetails; +@synthesize sharedContentRemoveMemberDetails = _sharedContentRemoveMemberDetails; +@synthesize sharedContentRequestAccessDetails = _sharedContentRequestAccessDetails; +@synthesize sharedContentRestoreInviteesDetails = _sharedContentRestoreInviteesDetails; +@synthesize sharedContentRestoreMemberDetails = _sharedContentRestoreMemberDetails; +@synthesize sharedContentUnshareDetails = _sharedContentUnshareDetails; +@synthesize sharedContentViewDetails = _sharedContentViewDetails; +@synthesize sharedFolderChangeLinkPolicyDetails = _sharedFolderChangeLinkPolicyDetails; +@synthesize sharedFolderChangeMembersInheritancePolicyDetails = _sharedFolderChangeMembersInheritancePolicyDetails; +@synthesize sharedFolderChangeMembersManagementPolicyDetails = _sharedFolderChangeMembersManagementPolicyDetails; +@synthesize sharedFolderChangeMembersPolicyDetails = _sharedFolderChangeMembersPolicyDetails; +@synthesize sharedFolderCreateDetails = _sharedFolderCreateDetails; +@synthesize sharedFolderDeclineInvitationDetails = _sharedFolderDeclineInvitationDetails; +@synthesize sharedFolderMountDetails = _sharedFolderMountDetails; +@synthesize sharedFolderNestDetails = _sharedFolderNestDetails; +@synthesize sharedFolderTransferOwnershipDetails = _sharedFolderTransferOwnershipDetails; +@synthesize sharedFolderUnmountDetails = _sharedFolderUnmountDetails; +@synthesize sharedLinkAddExpiryDetails = _sharedLinkAddExpiryDetails; +@synthesize sharedLinkChangeExpiryDetails = _sharedLinkChangeExpiryDetails; +@synthesize sharedLinkChangeVisibilityDetails = _sharedLinkChangeVisibilityDetails; +@synthesize sharedLinkCopyDetails = _sharedLinkCopyDetails; +@synthesize sharedLinkCreateDetails = _sharedLinkCreateDetails; +@synthesize sharedLinkDisableDetails = _sharedLinkDisableDetails; +@synthesize sharedLinkDownloadDetails = _sharedLinkDownloadDetails; +@synthesize sharedLinkRemoveExpiryDetails = _sharedLinkRemoveExpiryDetails; +@synthesize sharedLinkSettingsAddExpirationDetails = _sharedLinkSettingsAddExpirationDetails; +@synthesize sharedLinkSettingsAddPasswordDetails = _sharedLinkSettingsAddPasswordDetails; +@synthesize sharedLinkSettingsAllowDownloadDisabledDetails = _sharedLinkSettingsAllowDownloadDisabledDetails; +@synthesize sharedLinkSettingsAllowDownloadEnabledDetails = _sharedLinkSettingsAllowDownloadEnabledDetails; +@synthesize sharedLinkSettingsChangeAudienceDetails = _sharedLinkSettingsChangeAudienceDetails; +@synthesize sharedLinkSettingsChangeExpirationDetails = _sharedLinkSettingsChangeExpirationDetails; +@synthesize sharedLinkSettingsChangePasswordDetails = _sharedLinkSettingsChangePasswordDetails; +@synthesize sharedLinkSettingsRemoveExpirationDetails = _sharedLinkSettingsRemoveExpirationDetails; +@synthesize sharedLinkSettingsRemovePasswordDetails = _sharedLinkSettingsRemovePasswordDetails; +@synthesize sharedLinkShareDetails = _sharedLinkShareDetails; +@synthesize sharedLinkViewDetails = _sharedLinkViewDetails; +@synthesize sharedNoteOpenedDetails = _sharedNoteOpenedDetails; +@synthesize shmodelDisableDownloadsDetails = _shmodelDisableDownloadsDetails; +@synthesize shmodelEnableDownloadsDetails = _shmodelEnableDownloadsDetails; +@synthesize shmodelGroupShareDetails = _shmodelGroupShareDetails; +@synthesize showcaseAccessGrantedDetails = _showcaseAccessGrantedDetails; +@synthesize showcaseAddMemberDetails = _showcaseAddMemberDetails; +@synthesize showcaseArchivedDetails = _showcaseArchivedDetails; +@synthesize showcaseCreatedDetails = _showcaseCreatedDetails; +@synthesize showcaseDeleteCommentDetails = _showcaseDeleteCommentDetails; +@synthesize showcaseEditedDetails = _showcaseEditedDetails; +@synthesize showcaseEditCommentDetails = _showcaseEditCommentDetails; +@synthesize showcaseFileAddedDetails = _showcaseFileAddedDetails; +@synthesize showcaseFileDownloadDetails = _showcaseFileDownloadDetails; +@synthesize showcaseFileRemovedDetails = _showcaseFileRemovedDetails; +@synthesize showcaseFileViewDetails = _showcaseFileViewDetails; +@synthesize showcasePermanentlyDeletedDetails = _showcasePermanentlyDeletedDetails; +@synthesize showcasePostCommentDetails = _showcasePostCommentDetails; +@synthesize showcaseRemoveMemberDetails = _showcaseRemoveMemberDetails; +@synthesize showcaseRenamedDetails = _showcaseRenamedDetails; +@synthesize showcaseRequestAccessDetails = _showcaseRequestAccessDetails; +@synthesize showcaseResolveCommentDetails = _showcaseResolveCommentDetails; +@synthesize showcaseRestoredDetails = _showcaseRestoredDetails; +@synthesize showcaseTrashedDetails = _showcaseTrashedDetails; +@synthesize showcaseTrashedDeprecatedDetails = _showcaseTrashedDeprecatedDetails; +@synthesize showcaseUnresolveCommentDetails = _showcaseUnresolveCommentDetails; +@synthesize showcaseUntrashedDetails = _showcaseUntrashedDetails; +@synthesize showcaseUntrashedDeprecatedDetails = _showcaseUntrashedDeprecatedDetails; +@synthesize showcaseViewDetails = _showcaseViewDetails; +@synthesize ssoAddCertDetails = _ssoAddCertDetails; +@synthesize ssoAddLoginUrlDetails = _ssoAddLoginUrlDetails; +@synthesize ssoAddLogoutUrlDetails = _ssoAddLogoutUrlDetails; +@synthesize ssoChangeCertDetails = _ssoChangeCertDetails; +@synthesize ssoChangeLoginUrlDetails = _ssoChangeLoginUrlDetails; +@synthesize ssoChangeLogoutUrlDetails = _ssoChangeLogoutUrlDetails; +@synthesize ssoChangeSamlIdentityModeDetails = _ssoChangeSamlIdentityModeDetails; +@synthesize ssoRemoveCertDetails = _ssoRemoveCertDetails; +@synthesize ssoRemoveLoginUrlDetails = _ssoRemoveLoginUrlDetails; +@synthesize ssoRemoveLogoutUrlDetails = _ssoRemoveLogoutUrlDetails; +@synthesize teamFolderChangeStatusDetails = _teamFolderChangeStatusDetails; +@synthesize teamFolderCreateDetails = _teamFolderCreateDetails; +@synthesize teamFolderDowngradeDetails = _teamFolderDowngradeDetails; +@synthesize teamFolderPermanentlyDeleteDetails = _teamFolderPermanentlyDeleteDetails; +@synthesize teamFolderRenameDetails = _teamFolderRenameDetails; +@synthesize teamSelectiveSyncSettingsChangedDetails = _teamSelectiveSyncSettingsChangedDetails; +@synthesize accountCaptureChangePolicyDetails = _accountCaptureChangePolicyDetails; +@synthesize adminEmailRemindersChangedDetails = _adminEmailRemindersChangedDetails; +@synthesize allowDownloadDisabledDetails = _allowDownloadDisabledDetails; +@synthesize allowDownloadEnabledDetails = _allowDownloadEnabledDetails; +@synthesize appPermissionsChangedDetails = _appPermissionsChangedDetails; +@synthesize cameraUploadsPolicyChangedDetails = _cameraUploadsPolicyChangedDetails; +@synthesize captureTranscriptPolicyChangedDetails = _captureTranscriptPolicyChangedDetails; +@synthesize classificationChangePolicyDetails = _classificationChangePolicyDetails; +@synthesize computerBackupPolicyChangedDetails = _computerBackupPolicyChangedDetails; +@synthesize contentAdministrationPolicyChangedDetails = _contentAdministrationPolicyChangedDetails; +@synthesize dataPlacementRestrictionChangePolicyDetails = _dataPlacementRestrictionChangePolicyDetails; +@synthesize dataPlacementRestrictionSatisfyPolicyDetails = _dataPlacementRestrictionSatisfyPolicyDetails; +@synthesize deviceApprovalsAddExceptionDetails = _deviceApprovalsAddExceptionDetails; +@synthesize deviceApprovalsChangeDesktopPolicyDetails = _deviceApprovalsChangeDesktopPolicyDetails; +@synthesize deviceApprovalsChangeMobilePolicyDetails = _deviceApprovalsChangeMobilePolicyDetails; +@synthesize deviceApprovalsChangeOverageActionDetails = _deviceApprovalsChangeOverageActionDetails; +@synthesize deviceApprovalsChangeUnlinkActionDetails = _deviceApprovalsChangeUnlinkActionDetails; +@synthesize deviceApprovalsRemoveExceptionDetails = _deviceApprovalsRemoveExceptionDetails; +@synthesize directoryRestrictionsAddMembersDetails = _directoryRestrictionsAddMembersDetails; +@synthesize directoryRestrictionsRemoveMembersDetails = _directoryRestrictionsRemoveMembersDetails; +@synthesize dropboxPasswordsPolicyChangedDetails = _dropboxPasswordsPolicyChangedDetails; +@synthesize emailIngestPolicyChangedDetails = _emailIngestPolicyChangedDetails; +@synthesize emmAddExceptionDetails = _emmAddExceptionDetails; +@synthesize emmChangePolicyDetails = _emmChangePolicyDetails; +@synthesize emmRemoveExceptionDetails = _emmRemoveExceptionDetails; +@synthesize extendedVersionHistoryChangePolicyDetails = _extendedVersionHistoryChangePolicyDetails; +@synthesize externalDriveBackupPolicyChangedDetails = _externalDriveBackupPolicyChangedDetails; +@synthesize fileCommentsChangePolicyDetails = _fileCommentsChangePolicyDetails; +@synthesize fileLockingPolicyChangedDetails = _fileLockingPolicyChangedDetails; +@synthesize fileProviderMigrationPolicyChangedDetails = _fileProviderMigrationPolicyChangedDetails; +@synthesize fileRequestsChangePolicyDetails = _fileRequestsChangePolicyDetails; +@synthesize fileRequestsEmailsEnabledDetails = _fileRequestsEmailsEnabledDetails; +@synthesize fileRequestsEmailsRestrictedToTeamOnlyDetails = _fileRequestsEmailsRestrictedToTeamOnlyDetails; +@synthesize fileTransfersPolicyChangedDetails = _fileTransfersPolicyChangedDetails; +@synthesize folderLinkRestrictionPolicyChangedDetails = _folderLinkRestrictionPolicyChangedDetails; +@synthesize googleSsoChangePolicyDetails = _googleSsoChangePolicyDetails; +@synthesize groupUserManagementChangePolicyDetails = _groupUserManagementChangePolicyDetails; +@synthesize integrationPolicyChangedDetails = _integrationPolicyChangedDetails; +@synthesize inviteAcceptanceEmailPolicyChangedDetails = _inviteAcceptanceEmailPolicyChangedDetails; +@synthesize memberRequestsChangePolicyDetails = _memberRequestsChangePolicyDetails; +@synthesize memberSendInvitePolicyChangedDetails = _memberSendInvitePolicyChangedDetails; +@synthesize memberSpaceLimitsAddExceptionDetails = _memberSpaceLimitsAddExceptionDetails; +@synthesize memberSpaceLimitsChangeCapsTypePolicyDetails = _memberSpaceLimitsChangeCapsTypePolicyDetails; +@synthesize memberSpaceLimitsChangePolicyDetails = _memberSpaceLimitsChangePolicyDetails; +@synthesize memberSpaceLimitsRemoveExceptionDetails = _memberSpaceLimitsRemoveExceptionDetails; +@synthesize memberSuggestionsChangePolicyDetails = _memberSuggestionsChangePolicyDetails; +@synthesize microsoftOfficeAddinChangePolicyDetails = _microsoftOfficeAddinChangePolicyDetails; +@synthesize networkControlChangePolicyDetails = _networkControlChangePolicyDetails; +@synthesize paperChangeDeploymentPolicyDetails = _paperChangeDeploymentPolicyDetails; +@synthesize paperChangeMemberLinkPolicyDetails = _paperChangeMemberLinkPolicyDetails; +@synthesize paperChangeMemberPolicyDetails = _paperChangeMemberPolicyDetails; +@synthesize paperChangePolicyDetails = _paperChangePolicyDetails; +@synthesize paperDefaultFolderPolicyChangedDetails = _paperDefaultFolderPolicyChangedDetails; +@synthesize paperDesktopPolicyChangedDetails = _paperDesktopPolicyChangedDetails; +@synthesize paperEnabledUsersGroupAdditionDetails = _paperEnabledUsersGroupAdditionDetails; +@synthesize paperEnabledUsersGroupRemovalDetails = _paperEnabledUsersGroupRemovalDetails; +@synthesize passwordStrengthRequirementsChangePolicyDetails = _passwordStrengthRequirementsChangePolicyDetails; +@synthesize permanentDeleteChangePolicyDetails = _permanentDeleteChangePolicyDetails; +@synthesize resellerSupportChangePolicyDetails = _resellerSupportChangePolicyDetails; +@synthesize rewindPolicyChangedDetails = _rewindPolicyChangedDetails; +@synthesize sendForSignaturePolicyChangedDetails = _sendForSignaturePolicyChangedDetails; +@synthesize sharingChangeFolderJoinPolicyDetails = _sharingChangeFolderJoinPolicyDetails; +@synthesize sharingChangeLinkAllowChangeExpirationPolicyDetails = _sharingChangeLinkAllowChangeExpirationPolicyDetails; +@synthesize sharingChangeLinkDefaultExpirationPolicyDetails = _sharingChangeLinkDefaultExpirationPolicyDetails; +@synthesize sharingChangeLinkEnforcePasswordPolicyDetails = _sharingChangeLinkEnforcePasswordPolicyDetails; +@synthesize sharingChangeLinkPolicyDetails = _sharingChangeLinkPolicyDetails; +@synthesize sharingChangeMemberPolicyDetails = _sharingChangeMemberPolicyDetails; +@synthesize showcaseChangeDownloadPolicyDetails = _showcaseChangeDownloadPolicyDetails; +@synthesize showcaseChangeEnabledPolicyDetails = _showcaseChangeEnabledPolicyDetails; +@synthesize showcaseChangeExternalSharingPolicyDetails = _showcaseChangeExternalSharingPolicyDetails; +@synthesize smarterSmartSyncPolicyChangedDetails = _smarterSmartSyncPolicyChangedDetails; +@synthesize smartSyncChangePolicyDetails = _smartSyncChangePolicyDetails; +@synthesize smartSyncNotOptOutDetails = _smartSyncNotOptOutDetails; +@synthesize smartSyncOptOutDetails = _smartSyncOptOutDetails; +@synthesize ssoChangePolicyDetails = _ssoChangePolicyDetails; +@synthesize teamBrandingPolicyChangedDetails = _teamBrandingPolicyChangedDetails; +@synthesize teamExtensionsPolicyChangedDetails = _teamExtensionsPolicyChangedDetails; +@synthesize teamSelectiveSyncPolicyChangedDetails = _teamSelectiveSyncPolicyChangedDetails; +@synthesize teamSharingWhitelistSubjectsChangedDetails = _teamSharingWhitelistSubjectsChangedDetails; +@synthesize tfaAddExceptionDetails = _tfaAddExceptionDetails; +@synthesize tfaChangePolicyDetails = _tfaChangePolicyDetails; +@synthesize tfaRemoveExceptionDetails = _tfaRemoveExceptionDetails; +@synthesize twoAccountChangePolicyDetails = _twoAccountChangePolicyDetails; +@synthesize viewerInfoPolicyChangedDetails = _viewerInfoPolicyChangedDetails; +@synthesize watermarkingPolicyChangedDetails = _watermarkingPolicyChangedDetails; +@synthesize webSessionsChangeActiveSessionLimitDetails = _webSessionsChangeActiveSessionLimitDetails; +@synthesize webSessionsChangeFixedLengthPolicyDetails = _webSessionsChangeFixedLengthPolicyDetails; +@synthesize webSessionsChangeIdleLengthPolicyDetails = _webSessionsChangeIdleLengthPolicyDetails; +@synthesize dataResidencyMigrationRequestSuccessfulDetails = _dataResidencyMigrationRequestSuccessfulDetails; +@synthesize dataResidencyMigrationRequestUnsuccessfulDetails = _dataResidencyMigrationRequestUnsuccessfulDetails; +@synthesize teamMergeFromDetails = _teamMergeFromDetails; +@synthesize teamMergeToDetails = _teamMergeToDetails; +@synthesize teamProfileAddBackgroundDetails = _teamProfileAddBackgroundDetails; +@synthesize teamProfileAddLogoDetails = _teamProfileAddLogoDetails; +@synthesize teamProfileChangeBackgroundDetails = _teamProfileChangeBackgroundDetails; +@synthesize teamProfileChangeDefaultLanguageDetails = _teamProfileChangeDefaultLanguageDetails; +@synthesize teamProfileChangeLogoDetails = _teamProfileChangeLogoDetails; +@synthesize teamProfileChangeNameDetails = _teamProfileChangeNameDetails; +@synthesize teamProfileRemoveBackgroundDetails = _teamProfileRemoveBackgroundDetails; +@synthesize teamProfileRemoveLogoDetails = _teamProfileRemoveLogoDetails; +@synthesize tfaAddBackupPhoneDetails = _tfaAddBackupPhoneDetails; +@synthesize tfaAddSecurityKeyDetails = _tfaAddSecurityKeyDetails; +@synthesize tfaChangeBackupPhoneDetails = _tfaChangeBackupPhoneDetails; +@synthesize tfaChangeStatusDetails = _tfaChangeStatusDetails; +@synthesize tfaRemoveBackupPhoneDetails = _tfaRemoveBackupPhoneDetails; +@synthesize tfaRemoveSecurityKeyDetails = _tfaRemoveSecurityKeyDetails; +@synthesize tfaResetDetails = _tfaResetDetails; +@synthesize changedEnterpriseAdminRoleDetails = _changedEnterpriseAdminRoleDetails; +@synthesize changedEnterpriseConnectedTeamStatusDetails = _changedEnterpriseConnectedTeamStatusDetails; +@synthesize endedEnterpriseAdminSessionDetails = _endedEnterpriseAdminSessionDetails; +@synthesize endedEnterpriseAdminSessionDeprecatedDetails = _endedEnterpriseAdminSessionDeprecatedDetails; +@synthesize enterpriseSettingsLockingDetails = _enterpriseSettingsLockingDetails; +@synthesize guestAdminChangeStatusDetails = _guestAdminChangeStatusDetails; +@synthesize startedEnterpriseAdminSessionDetails = _startedEnterpriseAdminSessionDetails; +@synthesize teamMergeRequestAcceptedDetails = _teamMergeRequestAcceptedDetails; +@synthesize teamMergeRequestAcceptedShownToPrimaryTeamDetails = _teamMergeRequestAcceptedShownToPrimaryTeamDetails; +@synthesize teamMergeRequestAcceptedShownToSecondaryTeamDetails = _teamMergeRequestAcceptedShownToSecondaryTeamDetails; +@synthesize teamMergeRequestAutoCanceledDetails = _teamMergeRequestAutoCanceledDetails; +@synthesize teamMergeRequestCanceledDetails = _teamMergeRequestCanceledDetails; +@synthesize teamMergeRequestCanceledShownToPrimaryTeamDetails = _teamMergeRequestCanceledShownToPrimaryTeamDetails; +@synthesize teamMergeRequestCanceledShownToSecondaryTeamDetails = _teamMergeRequestCanceledShownToSecondaryTeamDetails; +@synthesize teamMergeRequestExpiredDetails = _teamMergeRequestExpiredDetails; +@synthesize teamMergeRequestExpiredShownToPrimaryTeamDetails = _teamMergeRequestExpiredShownToPrimaryTeamDetails; +@synthesize teamMergeRequestExpiredShownToSecondaryTeamDetails = _teamMergeRequestExpiredShownToSecondaryTeamDetails; +@synthesize teamMergeRequestRejectedShownToPrimaryTeamDetails = _teamMergeRequestRejectedShownToPrimaryTeamDetails; +@synthesize teamMergeRequestRejectedShownToSecondaryTeamDetails = _teamMergeRequestRejectedShownToSecondaryTeamDetails; +@synthesize teamMergeRequestReminderDetails = _teamMergeRequestReminderDetails; +@synthesize teamMergeRequestReminderShownToPrimaryTeamDetails = _teamMergeRequestReminderShownToPrimaryTeamDetails; +@synthesize teamMergeRequestReminderShownToSecondaryTeamDetails = _teamMergeRequestReminderShownToSecondaryTeamDetails; +@synthesize teamMergeRequestRevokedDetails = _teamMergeRequestRevokedDetails; +@synthesize teamMergeRequestSentShownToPrimaryTeamDetails = _teamMergeRequestSentShownToPrimaryTeamDetails; +@synthesize teamMergeRequestSentShownToSecondaryTeamDetails = _teamMergeRequestSentShownToSecondaryTeamDetails; +@synthesize missingDetails = _missingDetails; + +#pragma mark - Constructors + +- (instancetype)initWithAdminAlertingAlertStateChangedDetails: + (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)adminAlertingAlertStateChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails; + _adminAlertingAlertStateChangedDetails = adminAlertingAlertStateChangedDetails; + } + return self; +} + +- (instancetype)initWithAdminAlertingChangedAlertConfigDetails: + (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)adminAlertingChangedAlertConfigDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails; + _adminAlertingChangedAlertConfigDetails = adminAlertingChangedAlertConfigDetails; + } + return self; +} + +- (instancetype)initWithAdminAlertingTriggeredAlertDetails: + (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)adminAlertingTriggeredAlertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails; + _adminAlertingTriggeredAlertDetails = adminAlertingTriggeredAlertDetails; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessCompletedDetails: + (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)ransomwareRestoreProcessCompletedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails; + _ransomwareRestoreProcessCompletedDetails = ransomwareRestoreProcessCompletedDetails; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessStartedDetails: + (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)ransomwareRestoreProcessStartedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails; + _ransomwareRestoreProcessStartedDetails = ransomwareRestoreProcessStartedDetails; + } + return self; +} + +- (instancetype)initWithAppBlockedByPermissionsDetails: + (DBTEAMLOGAppBlockedByPermissionsDetails *)appBlockedByPermissionsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails; + _appBlockedByPermissionsDetails = appBlockedByPermissionsDetails; + } + return self; +} + +- (instancetype)initWithAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppLinkTeamDetails; + _appLinkTeamDetails = appLinkTeamDetails; + } + return self; +} + +- (instancetype)initWithAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppLinkUserDetails; + _appLinkUserDetails = appLinkUserDetails; + } + return self; +} + +- (instancetype)initWithAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppUnlinkTeamDetails; + _appUnlinkTeamDetails = appUnlinkTeamDetails; + } + return self; +} + +- (instancetype)initWithAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppUnlinkUserDetails; + _appUnlinkUserDetails = appUnlinkUserDetails; + } + return self; +} + +- (instancetype)initWithIntegrationConnectedDetails: + (DBTEAMLOGIntegrationConnectedDetails *)integrationConnectedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsIntegrationConnectedDetails; + _integrationConnectedDetails = integrationConnectedDetails; + } + return self; +} + +- (instancetype)initWithIntegrationDisconnectedDetails: + (DBTEAMLOGIntegrationDisconnectedDetails *)integrationDisconnectedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsIntegrationDisconnectedDetails; + _integrationDisconnectedDetails = integrationDisconnectedDetails; + } + return self; +} + +- (instancetype)initWithFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileAddCommentDetails; + _fileAddCommentDetails = fileAddCommentDetails; + } + return self; +} + +- (instancetype)initWithFileChangeCommentSubscriptionDetails: + (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails; + _fileChangeCommentSubscriptionDetails = fileChangeCommentSubscriptionDetails; + } + return self; +} + +- (instancetype)initWithFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileDeleteCommentDetails; + _fileDeleteCommentDetails = fileDeleteCommentDetails; + } + return self; +} + +- (instancetype)initWithFileEditCommentDetails:(DBTEAMLOGFileEditCommentDetails *)fileEditCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileEditCommentDetails; + _fileEditCommentDetails = fileEditCommentDetails; + } + return self; +} + +- (instancetype)initWithFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileLikeCommentDetails; + _fileLikeCommentDetails = fileLikeCommentDetails; + } + return self; +} + +- (instancetype)initWithFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileResolveCommentDetails; + _fileResolveCommentDetails = fileResolveCommentDetails; + } + return self; +} + +- (instancetype)initWithFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileUnlikeCommentDetails; + _fileUnlikeCommentDetails = fileUnlikeCommentDetails; + } + return self; +} + +- (instancetype)initWithFileUnresolveCommentDetails: + (DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileUnresolveCommentDetails; + _fileUnresolveCommentDetails = fileUnresolveCommentDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFoldersDetails: + (DBTEAMLOGGovernancePolicyAddFoldersDetails *)governancePolicyAddFoldersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails; + _governancePolicyAddFoldersDetails = governancePolicyAddFoldersDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFolderFailedDetails: + (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)governancePolicyAddFolderFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails; + _governancePolicyAddFolderFailedDetails = governancePolicyAddFolderFailedDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyContentDisposedDetails: + (DBTEAMLOGGovernancePolicyContentDisposedDetails *)governancePolicyContentDisposedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails; + _governancePolicyContentDisposedDetails = governancePolicyContentDisposedDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyCreateDetails: + (DBTEAMLOGGovernancePolicyCreateDetails *)governancePolicyCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyCreateDetails; + _governancePolicyCreateDetails = governancePolicyCreateDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyDeleteDetails: + (DBTEAMLOGGovernancePolicyDeleteDetails *)governancePolicyDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails; + _governancePolicyDeleteDetails = governancePolicyDeleteDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDetailsDetails: + (DBTEAMLOGGovernancePolicyEditDetailsDetails *)governancePolicyEditDetailsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails; + _governancePolicyEditDetailsDetails = governancePolicyEditDetailsDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDurationDetails: + (DBTEAMLOGGovernancePolicyEditDurationDetails *)governancePolicyEditDurationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails; + _governancePolicyEditDurationDetails = governancePolicyEditDurationDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportCreatedDetails: + (DBTEAMLOGGovernancePolicyExportCreatedDetails *)governancePolicyExportCreatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails; + _governancePolicyExportCreatedDetails = governancePolicyExportCreatedDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportRemovedDetails: + (DBTEAMLOGGovernancePolicyExportRemovedDetails *)governancePolicyExportRemovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails; + _governancePolicyExportRemovedDetails = governancePolicyExportRemovedDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyRemoveFoldersDetails: + (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)governancePolicyRemoveFoldersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails; + _governancePolicyRemoveFoldersDetails = governancePolicyRemoveFoldersDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyReportCreatedDetails: + (DBTEAMLOGGovernancePolicyReportCreatedDetails *)governancePolicyReportCreatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails; + _governancePolicyReportCreatedDetails = governancePolicyReportCreatedDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyZipPartDownloadedDetails: + (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)governancePolicyZipPartDownloadedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails; + _governancePolicyZipPartDownloadedDetails = governancePolicyZipPartDownloadedDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsActivateAHoldDetails: + (DBTEAMLOGLegalHoldsActivateAHoldDetails *)legalHoldsActivateAHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails; + _legalHoldsActivateAHoldDetails = legalHoldsActivateAHoldDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsAddMembersDetails: + (DBTEAMLOGLegalHoldsAddMembersDetails *)legalHoldsAddMembersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails; + _legalHoldsAddMembersDetails = legalHoldsAddMembersDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldDetailsDetails: + (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)legalHoldsChangeHoldDetailsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails; + _legalHoldsChangeHoldDetailsDetails = legalHoldsChangeHoldDetailsDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldNameDetails: + (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)legalHoldsChangeHoldNameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails; + _legalHoldsChangeHoldNameDetails = legalHoldsChangeHoldNameDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportAHoldDetails: + (DBTEAMLOGLegalHoldsExportAHoldDetails *)legalHoldsExportAHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails; + _legalHoldsExportAHoldDetails = legalHoldsExportAHoldDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportCancelledDetails: + (DBTEAMLOGLegalHoldsExportCancelledDetails *)legalHoldsExportCancelledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails; + _legalHoldsExportCancelledDetails = legalHoldsExportCancelledDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportDownloadedDetails: + (DBTEAMLOGLegalHoldsExportDownloadedDetails *)legalHoldsExportDownloadedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails; + _legalHoldsExportDownloadedDetails = legalHoldsExportDownloadedDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportRemovedDetails: + (DBTEAMLOGLegalHoldsExportRemovedDetails *)legalHoldsExportRemovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails; + _legalHoldsExportRemovedDetails = legalHoldsExportRemovedDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsReleaseAHoldDetails: + (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)legalHoldsReleaseAHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails; + _legalHoldsReleaseAHoldDetails = legalHoldsReleaseAHoldDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsRemoveMembersDetails: + (DBTEAMLOGLegalHoldsRemoveMembersDetails *)legalHoldsRemoveMembersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails; + _legalHoldsRemoveMembersDetails = legalHoldsRemoveMembersDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsReportAHoldDetails: + (DBTEAMLOGLegalHoldsReportAHoldDetails *)legalHoldsReportAHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails; + _legalHoldsReportAHoldDetails = legalHoldsReportAHoldDetails; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpDesktopDetails: + (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails; + _deviceChangeIpDesktopDetails = deviceChangeIpDesktopDetails; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpMobileDetails: + (DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails; + _deviceChangeIpMobileDetails = deviceChangeIpMobileDetails; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceChangeIpWebDetails; + _deviceChangeIpWebDetails = deviceChangeIpWebDetails; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkFailDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails; + _deviceDeleteOnUnlinkFailDetails = deviceDeleteOnUnlinkFailDetails; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkSuccessDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails; + _deviceDeleteOnUnlinkSuccessDetails = deviceDeleteOnUnlinkSuccessDetails; + } + return self; +} + +- (instancetype)initWithDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceLinkFailDetails; + _deviceLinkFailDetails = deviceLinkFailDetails; + } + return self; +} + +- (instancetype)initWithDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceLinkSuccessDetails; + _deviceLinkSuccessDetails = deviceLinkSuccessDetails; + } + return self; +} + +- (instancetype)initWithDeviceManagementDisabledDetails: + (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceManagementDisabledDetails; + _deviceManagementDisabledDetails = deviceManagementDisabledDetails; + } + return self; +} + +- (instancetype)initWithDeviceManagementEnabledDetails: + (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceManagementEnabledDetails; + _deviceManagementEnabledDetails = deviceManagementEnabledDetails; + } + return self; +} + +- (instancetype)initWithDeviceSyncBackupStatusChangedDetails: + (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deviceSyncBackupStatusChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails; + _deviceSyncBackupStatusChangedDetails = deviceSyncBackupStatusChangedDetails; + } + return self; +} + +- (instancetype)initWithDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceUnlinkDetails; + _deviceUnlinkDetails = deviceUnlinkDetails; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsExportedDetails: + (DBTEAMLOGDropboxPasswordsExportedDetails *)dropboxPasswordsExportedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails; + _dropboxPasswordsExportedDetails = dropboxPasswordsExportedDetails; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolledDetails: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)dropboxPasswordsNewDeviceEnrolledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails; + _dropboxPasswordsNewDeviceEnrolledDetails = dropboxPasswordsNewDeviceEnrolledDetails; + } + return self; +} + +- (instancetype)initWithEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails; + _emmRefreshAuthTokenDetails = emmRefreshAuthTokenDetails; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupEligibilityStatusCheckedDetails: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)externalDriveBackupEligibilityStatusCheckedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails; + _externalDriveBackupEligibilityStatusCheckedDetails = externalDriveBackupEligibilityStatusCheckedDetails; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupStatusChangedDetails: + (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)externalDriveBackupStatusChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails; + _externalDriveBackupStatusChangedDetails = externalDriveBackupStatusChangedDetails; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangeAvailabilityDetails: + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails; + _accountCaptureChangeAvailabilityDetails = accountCaptureChangeAvailabilityDetails; + } + return self; +} + +- (instancetype)initWithAccountCaptureMigrateAccountDetails: + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails; + _accountCaptureMigrateAccountDetails = accountCaptureMigrateAccountDetails; + } + return self; +} + +- (instancetype)initWithAccountCaptureNotificationEmailsSentDetails: + (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)accountCaptureNotificationEmailsSentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails; + _accountCaptureNotificationEmailsSentDetails = accountCaptureNotificationEmailsSentDetails; + } + return self; +} + +- (instancetype)initWithAccountCaptureRelinquishAccountDetails: + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails; + _accountCaptureRelinquishAccountDetails = accountCaptureRelinquishAccountDetails; + } + return self; +} + +- (instancetype)initWithDisabledDomainInvitesDetails: + (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDisabledDomainInvitesDetails; + _disabledDomainInvitesDetails = disabledDomainInvitesDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails; + _domainInvitesApproveRequestToJoinTeamDetails = domainInvitesApproveRequestToJoinTeamDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails; + _domainInvitesDeclineRequestToJoinTeamDetails = domainInvitesDeclineRequestToJoinTeamDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesEmailExistingUsersDetails: + (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails; + _domainInvitesEmailExistingUsersDetails = domainInvitesEmailExistingUsersDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails; + _domainInvitesRequestToJoinTeamDetails = domainInvitesRequestToJoinTeamDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNoDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails; + _domainInvitesSetInviteNewUserPrefToNoDetails = domainInvitesSetInviteNewUserPrefToNoDetails; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYesDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails; + _domainInvitesSetInviteNewUserPrefToYesDetails = domainInvitesSetInviteNewUserPrefToYesDetails; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainFailDetails: + (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails; + _domainVerificationAddDomainFailDetails = domainVerificationAddDomainFailDetails; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainSuccessDetails: + (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails; + _domainVerificationAddDomainSuccessDetails = domainVerificationAddDomainSuccessDetails; + } + return self; +} + +- (instancetype)initWithDomainVerificationRemoveDomainDetails: + (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails; + _domainVerificationRemoveDomainDetails = domainVerificationRemoveDomainDetails; + } + return self; +} + +- (instancetype)initWithEnabledDomainInvitesDetails: + (DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEnabledDomainInvitesDetails; + _enabledDomainInvitesDetails = enabledDomainInvitesDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)teamEncryptionKeyCancelKeyDeletionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails; + _teamEncryptionKeyCancelKeyDeletionDetails = teamEncryptionKeyCancelKeyDeletionDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCreateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)teamEncryptionKeyCreateKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails; + _teamEncryptionKeyCreateKeyDetails = teamEncryptionKeyCreateKeyDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDeleteKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)teamEncryptionKeyDeleteKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails; + _teamEncryptionKeyDeleteKeyDetails = teamEncryptionKeyDeleteKeyDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDisableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)teamEncryptionKeyDisableKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails; + _teamEncryptionKeyDisableKeyDetails = teamEncryptionKeyDisableKeyDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyEnableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)teamEncryptionKeyEnableKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails; + _teamEncryptionKeyEnableKeyDetails = teamEncryptionKeyEnableKeyDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyRotateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)teamEncryptionKeyRotateKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails; + _teamEncryptionKeyRotateKeyDetails = teamEncryptionKeyRotateKeyDetails; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)teamEncryptionKeyScheduleKeyDeletionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails; + _teamEncryptionKeyScheduleKeyDeletionDetails = teamEncryptionKeyScheduleKeyDeletionDetails; + } + return self; +} + +- (instancetype)initWithApplyNamingConventionDetails: + (DBTEAMLOGApplyNamingConventionDetails *)applyNamingConventionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsApplyNamingConventionDetails; + _applyNamingConventionDetails = applyNamingConventionDetails; + } + return self; +} + +- (instancetype)initWithCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)createFolderDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsCreateFolderDetails; + _createFolderDetails = createFolderDetails; + } + return self; +} + +- (instancetype)initWithFileAddDetails:(DBTEAMLOGFileAddDetails *)fileAddDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileAddDetails; + _fileAddDetails = fileAddDetails; + } + return self; +} + +- (instancetype)initWithFileAddFromAutomationDetails: + (DBTEAMLOGFileAddFromAutomationDetails *)fileAddFromAutomationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileAddFromAutomationDetails; + _fileAddFromAutomationDetails = fileAddFromAutomationDetails; + } + return self; +} + +- (instancetype)initWithFileCopyDetails:(DBTEAMLOGFileCopyDetails *)fileCopyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileCopyDetails; + _fileCopyDetails = fileCopyDetails; + } + return self; +} + +- (instancetype)initWithFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)fileDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileDeleteDetails; + _fileDeleteDetails = fileDeleteDetails; + } + return self; +} + +- (instancetype)initWithFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)fileDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileDownloadDetails; + _fileDownloadDetails = fileDownloadDetails; + } + return self; +} + +- (instancetype)initWithFileEditDetails:(DBTEAMLOGFileEditDetails *)fileEditDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileEditDetails; + _fileEditDetails = fileEditDetails; + } + return self; +} + +- (instancetype)initWithFileGetCopyReferenceDetails: + (DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileGetCopyReferenceDetails; + _fileGetCopyReferenceDetails = fileGetCopyReferenceDetails; + } + return self; +} + +- (instancetype)initWithFileLockingLockStatusChangedDetails: + (DBTEAMLOGFileLockingLockStatusChangedDetails *)fileLockingLockStatusChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails; + _fileLockingLockStatusChangedDetails = fileLockingLockStatusChangedDetails; + } + return self; +} + +- (instancetype)initWithFileMoveDetails:(DBTEAMLOGFileMoveDetails *)fileMoveDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileMoveDetails; + _fileMoveDetails = fileMoveDetails; + } + return self; +} + +- (instancetype)initWithFilePermanentlyDeleteDetails: + (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails; + _filePermanentlyDeleteDetails = filePermanentlyDeleteDetails; + } + return self; +} + +- (instancetype)initWithFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)filePreviewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFilePreviewDetails; + _filePreviewDetails = filePreviewDetails; + } + return self; +} + +- (instancetype)initWithFileRenameDetails:(DBTEAMLOGFileRenameDetails *)fileRenameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRenameDetails; + _fileRenameDetails = fileRenameDetails; + } + return self; +} + +- (instancetype)initWithFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)fileRestoreDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRestoreDetails; + _fileRestoreDetails = fileRestoreDetails; + } + return self; +} + +- (instancetype)initWithFileRevertDetails:(DBTEAMLOGFileRevertDetails *)fileRevertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRevertDetails; + _fileRevertDetails = fileRevertDetails; + } + return self; +} + +- (instancetype)initWithFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRollbackChangesDetails; + _fileRollbackChangesDetails = fileRollbackChangesDetails; + } + return self; +} + +- (instancetype)initWithFileSaveCopyReferenceDetails: + (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails; + _fileSaveCopyReferenceDetails = fileSaveCopyReferenceDetails; + } + return self; +} + +- (instancetype)initWithFolderOverviewDescriptionChangedDetails: + (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)folderOverviewDescriptionChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails; + _folderOverviewDescriptionChangedDetails = folderOverviewDescriptionChangedDetails; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemPinnedDetails: + (DBTEAMLOGFolderOverviewItemPinnedDetails *)folderOverviewItemPinnedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails; + _folderOverviewItemPinnedDetails = folderOverviewItemPinnedDetails; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemUnpinnedDetails: + (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)folderOverviewItemUnpinnedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails; + _folderOverviewItemUnpinnedDetails = folderOverviewItemUnpinnedDetails; + } + return self; +} + +- (instancetype)initWithObjectLabelAddedDetails:(DBTEAMLOGObjectLabelAddedDetails *)objectLabelAddedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsObjectLabelAddedDetails; + _objectLabelAddedDetails = objectLabelAddedDetails; + } + return self; +} + +- (instancetype)initWithObjectLabelRemovedDetails:(DBTEAMLOGObjectLabelRemovedDetails *)objectLabelRemovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsObjectLabelRemovedDetails; + _objectLabelRemovedDetails = objectLabelRemovedDetails; + } + return self; +} + +- (instancetype)initWithObjectLabelUpdatedValueDetails: + (DBTEAMLOGObjectLabelUpdatedValueDetails *)objectLabelUpdatedValueDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails; + _objectLabelUpdatedValueDetails = objectLabelUpdatedValueDetails; + } + return self; +} + +- (instancetype)initWithOrganizeFolderWithTidyDetails: + (DBTEAMLOGOrganizeFolderWithTidyDetails *)organizeFolderWithTidyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails; + _organizeFolderWithTidyDetails = organizeFolderWithTidyDetails; + } + return self; +} + +- (instancetype)initWithReplayFileDeleteDetails:(DBTEAMLOGReplayFileDeleteDetails *)replayFileDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsReplayFileDeleteDetails; + _replayFileDeleteDetails = replayFileDeleteDetails; + } + return self; +} + +- (instancetype)initWithRewindFolderDetails:(DBTEAMLOGRewindFolderDetails *)rewindFolderDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRewindFolderDetails; + _rewindFolderDetails = rewindFolderDetails; + } + return self; +} + +- (instancetype)initWithUndoNamingConventionDetails: + (DBTEAMLOGUndoNamingConventionDetails *)undoNamingConventionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsUndoNamingConventionDetails; + _undoNamingConventionDetails = undoNamingConventionDetails; + } + return self; +} + +- (instancetype)initWithUndoOrganizeFolderWithTidyDetails: + (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)undoOrganizeFolderWithTidyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails; + _undoOrganizeFolderWithTidyDetails = undoOrganizeFolderWithTidyDetails; + } + return self; +} + +- (instancetype)initWithUserTagsAddedDetails:(DBTEAMLOGUserTagsAddedDetails *)userTagsAddedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsUserTagsAddedDetails; + _userTagsAddedDetails = userTagsAddedDetails; + } + return self; +} + +- (instancetype)initWithUserTagsRemovedDetails:(DBTEAMLOGUserTagsRemovedDetails *)userTagsRemovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsUserTagsRemovedDetails; + _userTagsRemovedDetails = userTagsRemovedDetails; + } + return self; +} + +- (instancetype)initWithEmailIngestReceiveFileDetails: + (DBTEAMLOGEmailIngestReceiveFileDetails *)emailIngestReceiveFileDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails; + _emailIngestReceiveFileDetails = emailIngestReceiveFileDetails; + } + return self; +} + +- (instancetype)initWithFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestChangeDetails; + _fileRequestChangeDetails = fileRequestChangeDetails; + } + return self; +} + +- (instancetype)initWithFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestCloseDetails; + _fileRequestCloseDetails = fileRequestCloseDetails; + } + return self; +} + +- (instancetype)initWithFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestCreateDetails; + _fileRequestCreateDetails = fileRequestCreateDetails; + } + return self; +} + +- (instancetype)initWithFileRequestDeleteDetails:(DBTEAMLOGFileRequestDeleteDetails *)fileRequestDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestDeleteDetails; + _fileRequestDeleteDetails = fileRequestDeleteDetails; + } + return self; +} + +- (instancetype)initWithFileRequestReceiveFileDetails: + (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestReceiveFileDetails; + _fileRequestReceiveFileDetails = fileRequestReceiveFileDetails; + } + return self; +} + +- (instancetype)initWithGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupAddExternalIdDetails; + _groupAddExternalIdDetails = groupAddExternalIdDetails; + } + return self; +} + +- (instancetype)initWithGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupAddMemberDetails; + _groupAddMemberDetails = groupAddMemberDetails; + } + return self; +} + +- (instancetype)initWithGroupChangeExternalIdDetails: + (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupChangeExternalIdDetails; + _groupChangeExternalIdDetails = groupChangeExternalIdDetails; + } + return self; +} + +- (instancetype)initWithGroupChangeManagementTypeDetails: + (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails; + _groupChangeManagementTypeDetails = groupChangeManagementTypeDetails; + } + return self; +} + +- (instancetype)initWithGroupChangeMemberRoleDetails: + (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails; + _groupChangeMemberRoleDetails = groupChangeMemberRoleDetails; + } + return self; +} + +- (instancetype)initWithGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)groupCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupCreateDetails; + _groupCreateDetails = groupCreateDetails; + } + return self; +} + +- (instancetype)initWithGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupDeleteDetails; + _groupDeleteDetails = groupDeleteDetails; + } + return self; +} + +- (instancetype)initWithGroupDescriptionUpdatedDetails: + (DBTEAMLOGGroupDescriptionUpdatedDetails *)groupDescriptionUpdatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails; + _groupDescriptionUpdatedDetails = groupDescriptionUpdatedDetails; + } + return self; +} + +- (instancetype)initWithGroupJoinPolicyUpdatedDetails: + (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)groupJoinPolicyUpdatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails; + _groupJoinPolicyUpdatedDetails = groupJoinPolicyUpdatedDetails; + } + return self; +} + +- (instancetype)initWithGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)groupMovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupMovedDetails; + _groupMovedDetails = groupMovedDetails; + } + return self; +} + +- (instancetype)initWithGroupRemoveExternalIdDetails: + (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails; + _groupRemoveExternalIdDetails = groupRemoveExternalIdDetails; + } + return self; +} + +- (instancetype)initWithGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupRemoveMemberDetails; + _groupRemoveMemberDetails = groupRemoveMemberDetails; + } + return self; +} + +- (instancetype)initWithGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)groupRenameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupRenameDetails; + _groupRenameDetails = groupRenameDetails; + } + return self; +} + +- (instancetype)initWithAccountLockOrUnlockedDetails: + (DBTEAMLOGAccountLockOrUnlockedDetails *)accountLockOrUnlockedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails; + _accountLockOrUnlockedDetails = accountLockOrUnlockedDetails; + } + return self; +} + +- (instancetype)initWithEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)emmErrorDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmErrorDetails; + _emmErrorDetails = emmErrorDetails; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedInViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)guestAdminSignedInViaTrustedTeamsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails; + _guestAdminSignedInViaTrustedTeamsDetails = guestAdminSignedInViaTrustedTeamsDetails; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)guestAdminSignedOutViaTrustedTeamsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails; + _guestAdminSignedOutViaTrustedTeamsDetails = guestAdminSignedOutViaTrustedTeamsDetails; + } + return self; +} + +- (instancetype)initWithLoginFailDetails:(DBTEAMLOGLoginFailDetails *)loginFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLoginFailDetails; + _loginFailDetails = loginFailDetails; + } + return self; +} + +- (instancetype)initWithLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLoginSuccessDetails; + _loginSuccessDetails = loginSuccessDetails; + } + return self; +} + +- (instancetype)initWithLogoutDetails:(DBTEAMLOGLogoutDetails *)logoutDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsLogoutDetails; + _logoutDetails = logoutDetails; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionEndDetails: + (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsResellerSupportSessionEndDetails; + _resellerSupportSessionEndDetails = resellerSupportSessionEndDetails; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionStartDetails: + (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsResellerSupportSessionStartDetails; + _resellerSupportSessionStartDetails = resellerSupportSessionStartDetails; + } + return self; +} + +- (instancetype)initWithSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSignInAsSessionEndDetails; + _signInAsSessionEndDetails = signInAsSessionEndDetails; + } + return self; +} + +- (instancetype)initWithSignInAsSessionStartDetails: + (DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSignInAsSessionStartDetails; + _signInAsSessionStartDetails = signInAsSessionStartDetails; + } + return self; +} + +- (instancetype)initWithSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)ssoErrorDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoErrorDetails; + _ssoErrorDetails = ssoErrorDetails; + } + return self; +} + +- (instancetype)initWithBackupAdminInvitationSentDetails: + (DBTEAMLOGBackupAdminInvitationSentDetails *)backupAdminInvitationSentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails; + _backupAdminInvitationSentDetails = backupAdminInvitationSentDetails; + } + return self; +} + +- (instancetype)initWithBackupInvitationOpenedDetails: + (DBTEAMLOGBackupInvitationOpenedDetails *)backupInvitationOpenedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBackupInvitationOpenedDetails; + _backupInvitationOpenedDetails = backupInvitationOpenedDetails; + } + return self; +} + +- (instancetype)initWithCreateTeamInviteLinkDetails: + (DBTEAMLOGCreateTeamInviteLinkDetails *)createTeamInviteLinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails; + _createTeamInviteLinkDetails = createTeamInviteLinkDetails; + } + return self; +} + +- (instancetype)initWithDeleteTeamInviteLinkDetails: + (DBTEAMLOGDeleteTeamInviteLinkDetails *)deleteTeamInviteLinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails; + _deleteTeamInviteLinkDetails = deleteTeamInviteLinkDetails; + } + return self; +} + +- (instancetype)initWithMemberAddExternalIdDetails:(DBTEAMLOGMemberAddExternalIdDetails *)memberAddExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberAddExternalIdDetails; + _memberAddExternalIdDetails = memberAddExternalIdDetails; + } + return self; +} + +- (instancetype)initWithMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberAddNameDetails; + _memberAddNameDetails = memberAddNameDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeAdminRoleDetails: + (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails; + _memberChangeAdminRoleDetails = memberChangeAdminRoleDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeEmailDetails; + _memberChangeEmailDetails = memberChangeEmailDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeExternalIdDetails: + (DBTEAMLOGMemberChangeExternalIdDetails *)memberChangeExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeExternalIdDetails; + _memberChangeExternalIdDetails = memberChangeExternalIdDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeMembershipTypeDetails: + (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails; + _memberChangeMembershipTypeDetails = memberChangeMembershipTypeDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeNameDetails; + _memberChangeNameDetails = memberChangeNameDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeResellerRoleDetails: + (DBTEAMLOGMemberChangeResellerRoleDetails *)memberChangeResellerRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails; + _memberChangeResellerRoleDetails = memberChangeResellerRoleDetails; + } + return self; +} + +- (instancetype)initWithMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberChangeStatusDetails; + _memberChangeStatusDetails = memberChangeStatusDetails; + } + return self; +} + +- (instancetype)initWithMemberDeleteManualContactsDetails: + (DBTEAMLOGMemberDeleteManualContactsDetails *)memberDeleteManualContactsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails; + _memberDeleteManualContactsDetails = memberDeleteManualContactsDetails; + } + return self; +} + +- (instancetype)initWithMemberDeleteProfilePhotoDetails: + (DBTEAMLOGMemberDeleteProfilePhotoDetails *)memberDeleteProfilePhotoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails; + _memberDeleteProfilePhotoDetails = memberDeleteProfilePhotoDetails; + } + return self; +} + +- (instancetype)initWithMemberPermanentlyDeleteAccountContentsDetails: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails; + _memberPermanentlyDeleteAccountContentsDetails = memberPermanentlyDeleteAccountContentsDetails; + } + return self; +} + +- (instancetype)initWithMemberRemoveExternalIdDetails: + (DBTEAMLOGMemberRemoveExternalIdDetails *)memberRemoveExternalIdDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails; + _memberRemoveExternalIdDetails = memberRemoveExternalIdDetails; + } + return self; +} + +- (instancetype)initWithMemberSetProfilePhotoDetails: + (DBTEAMLOGMemberSetProfilePhotoDetails *)memberSetProfilePhotoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails; + _memberSetProfilePhotoDetails = memberSetProfilePhotoDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)memberSpaceLimitsAddCustomQuotaDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails; + _memberSpaceLimitsAddCustomQuotaDetails = memberSpaceLimitsAddCustomQuotaDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)memberSpaceLimitsChangeCustomQuotaDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails; + _memberSpaceLimitsChangeCustomQuotaDetails = memberSpaceLimitsChangeCustomQuotaDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeStatusDetails: + (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails; + _memberSpaceLimitsChangeStatusDetails = memberSpaceLimitsChangeStatusDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)memberSpaceLimitsRemoveCustomQuotaDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails; + _memberSpaceLimitsRemoveCustomQuotaDetails = memberSpaceLimitsRemoveCustomQuotaDetails; + } + return self; +} + +- (instancetype)initWithMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSuggestDetails; + _memberSuggestDetails = memberSuggestDetails; + } + return self; +} + +- (instancetype)initWithMemberTransferAccountContentsDetails: + (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails; + _memberTransferAccountContentsDetails = memberTransferAccountContentsDetails; + } + return self; +} + +- (instancetype)initWithPendingSecondaryEmailAddedDetails: + (DBTEAMLOGPendingSecondaryEmailAddedDetails *)pendingSecondaryEmailAddedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails; + _pendingSecondaryEmailAddedDetails = pendingSecondaryEmailAddedDetails; + } + return self; +} + +- (instancetype)initWithSecondaryEmailDeletedDetails: + (DBTEAMLOGSecondaryEmailDeletedDetails *)secondaryEmailDeletedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails; + _secondaryEmailDeletedDetails = secondaryEmailDeletedDetails; + } + return self; +} + +- (instancetype)initWithSecondaryEmailVerifiedDetails: + (DBTEAMLOGSecondaryEmailVerifiedDetails *)secondaryEmailVerifiedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails; + _secondaryEmailVerifiedDetails = secondaryEmailVerifiedDetails; + } + return self; +} + +- (instancetype)initWithSecondaryMailsPolicyChangedDetails: + (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)secondaryMailsPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails; + _secondaryMailsPolicyChangedDetails = secondaryMailsPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithBinderAddPageDetails:(DBTEAMLOGBinderAddPageDetails *)binderAddPageDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderAddPageDetails; + _binderAddPageDetails = binderAddPageDetails; + } + return self; +} + +- (instancetype)initWithBinderAddSectionDetails:(DBTEAMLOGBinderAddSectionDetails *)binderAddSectionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderAddSectionDetails; + _binderAddSectionDetails = binderAddSectionDetails; + } + return self; +} + +- (instancetype)initWithBinderRemovePageDetails:(DBTEAMLOGBinderRemovePageDetails *)binderRemovePageDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderRemovePageDetails; + _binderRemovePageDetails = binderRemovePageDetails; + } + return self; +} + +- (instancetype)initWithBinderRemoveSectionDetails:(DBTEAMLOGBinderRemoveSectionDetails *)binderRemoveSectionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderRemoveSectionDetails; + _binderRemoveSectionDetails = binderRemoveSectionDetails; + } + return self; +} + +- (instancetype)initWithBinderRenamePageDetails:(DBTEAMLOGBinderRenamePageDetails *)binderRenamePageDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderRenamePageDetails; + _binderRenamePageDetails = binderRenamePageDetails; + } + return self; +} + +- (instancetype)initWithBinderRenameSectionDetails:(DBTEAMLOGBinderRenameSectionDetails *)binderRenameSectionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderRenameSectionDetails; + _binderRenameSectionDetails = binderRenameSectionDetails; + } + return self; +} + +- (instancetype)initWithBinderReorderPageDetails:(DBTEAMLOGBinderReorderPageDetails *)binderReorderPageDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderReorderPageDetails; + _binderReorderPageDetails = binderReorderPageDetails; + } + return self; +} + +- (instancetype)initWithBinderReorderSectionDetails: + (DBTEAMLOGBinderReorderSectionDetails *)binderReorderSectionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsBinderReorderSectionDetails; + _binderReorderSectionDetails = binderReorderSectionDetails; + } + return self; +} + +- (instancetype)initWithPaperContentAddMemberDetails: + (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentAddMemberDetails; + _paperContentAddMemberDetails = paperContentAddMemberDetails; + } + return self; +} + +- (instancetype)initWithPaperContentAddToFolderDetails: + (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentAddToFolderDetails; + _paperContentAddToFolderDetails = paperContentAddToFolderDetails; + } + return self; +} + +- (instancetype)initWithPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentArchiveDetails; + _paperContentArchiveDetails = paperContentArchiveDetails; + } + return self; +} + +- (instancetype)initWithPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentCreateDetails; + _paperContentCreateDetails = paperContentCreateDetails; + } + return self; +} + +- (instancetype)initWithPaperContentPermanentlyDeleteDetails: + (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails; + _paperContentPermanentlyDeleteDetails = paperContentPermanentlyDeleteDetails; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveFromFolderDetails: + (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails; + _paperContentRemoveFromFolderDetails = paperContentRemoveFromFolderDetails; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveMemberDetails: + (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails; + _paperContentRemoveMemberDetails = paperContentRemoveMemberDetails; + } + return self; +} + +- (instancetype)initWithPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentRenameDetails; + _paperContentRenameDetails = paperContentRenameDetails; + } + return self; +} + +- (instancetype)initWithPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperContentRestoreDetails; + _paperContentRestoreDetails = paperContentRestoreDetails; + } + return self; +} + +- (instancetype)initWithPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocAddCommentDetails; + _paperDocAddCommentDetails = paperDocAddCommentDetails; + } + return self; +} + +- (instancetype)initWithPaperDocChangeMemberRoleDetails: + (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails; + _paperDocChangeMemberRoleDetails = paperDocChangeMemberRoleDetails; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSharingPolicyDetails: + (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails; + _paperDocChangeSharingPolicyDetails = paperDocChangeSharingPolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSubscriptionDetails: + (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails; + _paperDocChangeSubscriptionDetails = paperDocChangeSubscriptionDetails; + } + return self; +} + +- (instancetype)initWithPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocDeletedDetails; + _paperDocDeletedDetails = paperDocDeletedDetails; + } + return self; +} + +- (instancetype)initWithPaperDocDeleteCommentDetails: + (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails; + _paperDocDeleteCommentDetails = paperDocDeleteCommentDetails; + } + return self; +} + +- (instancetype)initWithPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocDownloadDetails; + _paperDocDownloadDetails = paperDocDownloadDetails; + } + return self; +} + +- (instancetype)initWithPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocEditDetails; + _paperDocEditDetails = paperDocEditDetails; + } + return self; +} + +- (instancetype)initWithPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocEditCommentDetails; + _paperDocEditCommentDetails = paperDocEditCommentDetails; + } + return self; +} + +- (instancetype)initWithPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocFollowedDetails; + _paperDocFollowedDetails = paperDocFollowedDetails; + } + return self; +} + +- (instancetype)initWithPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocMentionDetails; + _paperDocMentionDetails = paperDocMentionDetails; + } + return self; +} + +- (instancetype)initWithPaperDocOwnershipChangedDetails: + (DBTEAMLOGPaperDocOwnershipChangedDetails *)paperDocOwnershipChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails; + _paperDocOwnershipChangedDetails = paperDocOwnershipChangedDetails; + } + return self; +} + +- (instancetype)initWithPaperDocRequestAccessDetails: + (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocRequestAccessDetails; + _paperDocRequestAccessDetails = paperDocRequestAccessDetails; + } + return self; +} + +- (instancetype)initWithPaperDocResolveCommentDetails: + (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocResolveCommentDetails; + _paperDocResolveCommentDetails = paperDocResolveCommentDetails; + } + return self; +} + +- (instancetype)initWithPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocRevertDetails; + _paperDocRevertDetails = paperDocRevertDetails; + } + return self; +} + +- (instancetype)initWithPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocSlackShareDetails; + _paperDocSlackShareDetails = paperDocSlackShareDetails; + } + return self; +} + +- (instancetype)initWithPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocTeamInviteDetails; + _paperDocTeamInviteDetails = paperDocTeamInviteDetails; + } + return self; +} + +- (instancetype)initWithPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocTrashedDetails; + _paperDocTrashedDetails = paperDocTrashedDetails; + } + return self; +} + +- (instancetype)initWithPaperDocUnresolveCommentDetails: + (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails; + _paperDocUnresolveCommentDetails = paperDocUnresolveCommentDetails; + } + return self; +} + +- (instancetype)initWithPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocUntrashedDetails; + _paperDocUntrashedDetails = paperDocUntrashedDetails; + } + return self; +} + +- (instancetype)initWithPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDocViewDetails; + _paperDocViewDetails = paperDocViewDetails; + } + return self; +} + +- (instancetype)initWithPaperExternalViewAllowDetails: + (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperExternalViewAllowDetails; + _paperExternalViewAllowDetails = paperExternalViewAllowDetails; + } + return self; +} + +- (instancetype)initWithPaperExternalViewDefaultTeamDetails: + (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails; + _paperExternalViewDefaultTeamDetails = paperExternalViewDefaultTeamDetails; + } + return self; +} + +- (instancetype)initWithPaperExternalViewForbidDetails: + (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperExternalViewForbidDetails; + _paperExternalViewForbidDetails = paperExternalViewForbidDetails; + } + return self; +} + +- (instancetype)initWithPaperFolderChangeSubscriptionDetails: + (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails; + _paperFolderChangeSubscriptionDetails = paperFolderChangeSubscriptionDetails; + } + return self; +} + +- (instancetype)initWithPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperFolderDeletedDetails; + _paperFolderDeletedDetails = paperFolderDeletedDetails; + } + return self; +} + +- (instancetype)initWithPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperFolderFollowedDetails; + _paperFolderFollowedDetails = paperFolderFollowedDetails; + } + return self; +} + +- (instancetype)initWithPaperFolderTeamInviteDetails: + (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails; + _paperFolderTeamInviteDetails = paperFolderTeamInviteDetails; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkChangePermissionDetails: + (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)paperPublishedLinkChangePermissionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails; + _paperPublishedLinkChangePermissionDetails = paperPublishedLinkChangePermissionDetails; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkCreateDetails: + (DBTEAMLOGPaperPublishedLinkCreateDetails *)paperPublishedLinkCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails; + _paperPublishedLinkCreateDetails = paperPublishedLinkCreateDetails; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkDisabledDetails: + (DBTEAMLOGPaperPublishedLinkDisabledDetails *)paperPublishedLinkDisabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails; + _paperPublishedLinkDisabledDetails = paperPublishedLinkDisabledDetails; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkViewDetails: + (DBTEAMLOGPaperPublishedLinkViewDetails *)paperPublishedLinkViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails; + _paperPublishedLinkViewDetails = paperPublishedLinkViewDetails; + } + return self; +} + +- (instancetype)initWithPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPasswordChangeDetails; + _passwordChangeDetails = passwordChangeDetails; + } + return self; +} + +- (instancetype)initWithPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)passwordResetDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPasswordResetDetails; + _passwordResetDetails = passwordResetDetails; + } + return self; +} + +- (instancetype)initWithPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPasswordResetAllDetails; + _passwordResetAllDetails = passwordResetAllDetails; + } + return self; +} + +- (instancetype)initWithClassificationCreateReportDetails: + (DBTEAMLOGClassificationCreateReportDetails *)classificationCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsClassificationCreateReportDetails; + _classificationCreateReportDetails = classificationCreateReportDetails; + } + return self; +} + +- (instancetype)initWithClassificationCreateReportFailDetails: + (DBTEAMLOGClassificationCreateReportFailDetails *)classificationCreateReportFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsClassificationCreateReportFailDetails; + _classificationCreateReportFailDetails = classificationCreateReportFailDetails; + } + return self; +} + +- (instancetype)initWithEmmCreateExceptionsReportDetails: + (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails; + _emmCreateExceptionsReportDetails = emmCreateExceptionsReportDetails; + } + return self; +} + +- (instancetype)initWithEmmCreateUsageReportDetails: + (DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmCreateUsageReportDetails; + _emmCreateUsageReportDetails = emmCreateUsageReportDetails; + } + return self; +} + +- (instancetype)initWithExportMembersReportDetails:(DBTEAMLOGExportMembersReportDetails *)exportMembersReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExportMembersReportDetails; + _exportMembersReportDetails = exportMembersReportDetails; + } + return self; +} + +- (instancetype)initWithExportMembersReportFailDetails: + (DBTEAMLOGExportMembersReportFailDetails *)exportMembersReportFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExportMembersReportFailDetails; + _exportMembersReportFailDetails = exportMembersReportFailDetails; + } + return self; +} + +- (instancetype)initWithExternalSharingCreateReportDetails: + (DBTEAMLOGExternalSharingCreateReportDetails *)externalSharingCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExternalSharingCreateReportDetails; + _externalSharingCreateReportDetails = externalSharingCreateReportDetails; + } + return self; +} + +- (instancetype)initWithExternalSharingReportFailedDetails: + (DBTEAMLOGExternalSharingReportFailedDetails *)externalSharingReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExternalSharingReportFailedDetails; + _externalSharingReportFailedDetails = externalSharingReportFailedDetails; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenCreateReportDetails: + (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)noExpirationLinkGenCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails; + _noExpirationLinkGenCreateReportDetails = noExpirationLinkGenCreateReportDetails; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenReportFailedDetails: + (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)noExpirationLinkGenReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails; + _noExpirationLinkGenReportFailedDetails = noExpirationLinkGenReportFailedDetails; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenCreateReportDetails: + (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)noPasswordLinkGenCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails; + _noPasswordLinkGenCreateReportDetails = noPasswordLinkGenCreateReportDetails; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenReportFailedDetails: + (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)noPasswordLinkGenReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails; + _noPasswordLinkGenReportFailedDetails = noPasswordLinkGenReportFailedDetails; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewCreateReportDetails: + (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)noPasswordLinkViewCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails; + _noPasswordLinkViewCreateReportDetails = noPasswordLinkViewCreateReportDetails; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewReportFailedDetails: + (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)noPasswordLinkViewReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails; + _noPasswordLinkViewReportFailedDetails = noPasswordLinkViewReportFailedDetails; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewCreateReportDetails: + (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)outdatedLinkViewCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails; + _outdatedLinkViewCreateReportDetails = outdatedLinkViewCreateReportDetails; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewReportFailedDetails: + (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)outdatedLinkViewReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails; + _outdatedLinkViewReportFailedDetails = outdatedLinkViewReportFailedDetails; + } + return self; +} + +- (instancetype)initWithPaperAdminExportStartDetails: + (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperAdminExportStartDetails; + _paperAdminExportStartDetails = paperAdminExportStartDetails; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReportDetails: + (DBTEAMLOGRansomwareAlertCreateReportDetails *)ransomwareAlertCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails; + _ransomwareAlertCreateReportDetails = ransomwareAlertCreateReportDetails; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReportFailedDetails: + (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)ransomwareAlertCreateReportFailedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails; + _ransomwareAlertCreateReportFailedDetails = ransomwareAlertCreateReportFailedDetails; + } + return self; +} + +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReportDetails: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails; + _smartSyncCreateAdminPrivilegeReportDetails = smartSyncCreateAdminPrivilegeReportDetails; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReportDetails: + (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamActivityCreateReportDetails; + _teamActivityCreateReportDetails = teamActivityCreateReportDetails; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReportFailDetails: + (DBTEAMLOGTeamActivityCreateReportFailDetails *)teamActivityCreateReportFailDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails; + _teamActivityCreateReportFailDetails = teamActivityCreateReportFailDetails; + } + return self; +} + +- (instancetype)initWithCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)collectionShareDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsCollectionShareDetails; + _collectionShareDetails = collectionShareDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersFileAddDetails: + (DBTEAMLOGFileTransfersFileAddDetails *)fileTransfersFileAddDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersFileAddDetails; + _fileTransfersFileAddDetails = fileTransfersFileAddDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDeleteDetails: + (DBTEAMLOGFileTransfersTransferDeleteDetails *)fileTransfersTransferDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails; + _fileTransfersTransferDeleteDetails = fileTransfersTransferDeleteDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDownloadDetails: + (DBTEAMLOGFileTransfersTransferDownloadDetails *)fileTransfersTransferDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails; + _fileTransfersTransferDownloadDetails = fileTransfersTransferDownloadDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferSendDetails: + (DBTEAMLOGFileTransfersTransferSendDetails *)fileTransfersTransferSendDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersTransferSendDetails; + _fileTransfersTransferSendDetails = fileTransfersTransferSendDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferViewDetails: + (DBTEAMLOGFileTransfersTransferViewDetails *)fileTransfersTransferViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersTransferViewDetails; + _fileTransfersTransferViewDetails = fileTransfersTransferViewDetails; + } + return self; +} + +- (instancetype)initWithNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails; + _noteAclInviteOnlyDetails = noteAclInviteOnlyDetails; + } + return self; +} + +- (instancetype)initWithNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoteAclLinkDetails; + _noteAclLinkDetails = noteAclLinkDetails; + } + return self; +} + +- (instancetype)initWithNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoteAclTeamLinkDetails; + _noteAclTeamLinkDetails = noteAclTeamLinkDetails; + } + return self; +} + +- (instancetype)initWithNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)noteSharedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoteSharedDetails; + _noteSharedDetails = noteSharedDetails; + } + return self; +} + +- (instancetype)initWithNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNoteShareReceiveDetails; + _noteShareReceiveDetails = noteShareReceiveDetails; + } + return self; +} + +- (instancetype)initWithOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsOpenNoteSharedDetails; + _openNoteSharedDetails = openNoteSharedDetails; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkCreatedDetails: + (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)replayFileSharedLinkCreatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails; + _replayFileSharedLinkCreatedDetails = replayFileSharedLinkCreatedDetails; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkModifiedDetails: + (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)replayFileSharedLinkModifiedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails; + _replayFileSharedLinkModifiedDetails = replayFileSharedLinkModifiedDetails; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamAddDetails: + (DBTEAMLOGReplayProjectTeamAddDetails *)replayProjectTeamAddDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsReplayProjectTeamAddDetails; + _replayProjectTeamAddDetails = replayProjectTeamAddDetails; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamDeleteDetails: + (DBTEAMLOGReplayProjectTeamDeleteDetails *)replayProjectTeamDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails; + _replayProjectTeamDeleteDetails = replayProjectTeamDeleteDetails; + } + return self; +} + +- (instancetype)initWithSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfAddGroupDetails; + _sfAddGroupDetails = sfAddGroupDetails; + } + return self; +} + +- (instancetype)initWithSfAllowNonMembersToViewSharedLinksDetails: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails; + _sfAllowNonMembersToViewSharedLinksDetails = sfAllowNonMembersToViewSharedLinksDetails; + } + return self; +} + +- (instancetype)initWithSfExternalInviteWarnDetails: + (DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfExternalInviteWarnDetails; + _sfExternalInviteWarnDetails = sfExternalInviteWarnDetails; + } + return self; +} + +- (instancetype)initWithSfFbInviteDetails:(DBTEAMLOGSfFbInviteDetails *)sfFbInviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfFbInviteDetails; + _sfFbInviteDetails = sfFbInviteDetails; + } + return self; +} + +- (instancetype)initWithSfFbInviteChangeRoleDetails: + (DBTEAMLOGSfFbInviteChangeRoleDetails *)sfFbInviteChangeRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails; + _sfFbInviteChangeRoleDetails = sfFbInviteChangeRoleDetails; + } + return self; +} + +- (instancetype)initWithSfFbUninviteDetails:(DBTEAMLOGSfFbUninviteDetails *)sfFbUninviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfFbUninviteDetails; + _sfFbUninviteDetails = sfFbUninviteDetails; + } + return self; +} + +- (instancetype)initWithSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfInviteGroupDetails; + _sfInviteGroupDetails = sfInviteGroupDetails; + } + return self; +} + +- (instancetype)initWithSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamGrantAccessDetails; + _sfTeamGrantAccessDetails = sfTeamGrantAccessDetails; + } + return self; +} + +- (instancetype)initWithSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamInviteDetails; + _sfTeamInviteDetails = sfTeamInviteDetails; + } + return self; +} + +- (instancetype)initWithSfTeamInviteChangeRoleDetails: + (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails; + _sfTeamInviteChangeRoleDetails = sfTeamInviteChangeRoleDetails; + } + return self; +} + +- (instancetype)initWithSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamJoinDetails; + _sfTeamJoinDetails = sfTeamJoinDetails; + } + return self; +} + +- (instancetype)initWithSfTeamJoinFromOobLinkDetails: + (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails; + _sfTeamJoinFromOobLinkDetails = sfTeamJoinFromOobLinkDetails; + } + return self; +} + +- (instancetype)initWithSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSfTeamUninviteDetails; + _sfTeamUninviteDetails = sfTeamUninviteDetails; + } + return self; +} + +- (instancetype)initWithSharedContentAddInviteesDetails: + (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentAddInviteesDetails; + _sharedContentAddInviteesDetails = sharedContentAddInviteesDetails; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkExpiryDetails: + (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails; + _sharedContentAddLinkExpiryDetails = sharedContentAddLinkExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkPasswordDetails: + (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails; + _sharedContentAddLinkPasswordDetails = sharedContentAddLinkPasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedContentAddMemberDetails: + (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentAddMemberDetails; + _sharedContentAddMemberDetails = sharedContentAddMemberDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeDownloadsPolicyDetails: + (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails; + _sharedContentChangeDownloadsPolicyDetails = sharedContentChangeDownloadsPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeInviteeRoleDetails: + (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails; + _sharedContentChangeInviteeRoleDetails = sharedContentChangeInviteeRoleDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkAudienceDetails: + (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails; + _sharedContentChangeLinkAudienceDetails = sharedContentChangeLinkAudienceDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkExpiryDetails: + (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails; + _sharedContentChangeLinkExpiryDetails = sharedContentChangeLinkExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkPasswordDetails: + (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails; + _sharedContentChangeLinkPasswordDetails = sharedContentChangeLinkPasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeMemberRoleDetails: + (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails; + _sharedContentChangeMemberRoleDetails = sharedContentChangeMemberRoleDetails; + } + return self; +} + +- (instancetype)initWithSharedContentChangeViewerInfoPolicyDetails: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails; + _sharedContentChangeViewerInfoPolicyDetails = sharedContentChangeViewerInfoPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedContentClaimInvitationDetails: + (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails; + _sharedContentClaimInvitationDetails = sharedContentClaimInvitationDetails; + } + return self; +} + +- (instancetype)initWithSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentCopyDetails; + _sharedContentCopyDetails = sharedContentCopyDetails; + } + return self; +} + +- (instancetype)initWithSharedContentDownloadDetails: + (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentDownloadDetails; + _sharedContentDownloadDetails = sharedContentDownloadDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRelinquishMembershipDetails: + (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails; + _sharedContentRelinquishMembershipDetails = sharedContentRelinquishMembershipDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveInviteesDetails: + (DBTEAMLOGSharedContentRemoveInviteesDetails *)sharedContentRemoveInviteesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails; + _sharedContentRemoveInviteesDetails = sharedContentRemoveInviteesDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkExpiryDetails: + (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails; + _sharedContentRemoveLinkExpiryDetails = sharedContentRemoveLinkExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkPasswordDetails: + (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails; + _sharedContentRemoveLinkPasswordDetails = sharedContentRemoveLinkPasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveMemberDetails: + (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails; + _sharedContentRemoveMemberDetails = sharedContentRemoveMemberDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRequestAccessDetails: + (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRequestAccessDetails; + _sharedContentRequestAccessDetails = sharedContentRequestAccessDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreInviteesDetails: + (DBTEAMLOGSharedContentRestoreInviteesDetails *)sharedContentRestoreInviteesDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails; + _sharedContentRestoreInviteesDetails = sharedContentRestoreInviteesDetails; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreMemberDetails: + (DBTEAMLOGSharedContentRestoreMemberDetails *)sharedContentRestoreMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails; + _sharedContentRestoreMemberDetails = sharedContentRestoreMemberDetails; + } + return self; +} + +- (instancetype)initWithSharedContentUnshareDetails: + (DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentUnshareDetails; + _sharedContentUnshareDetails = sharedContentUnshareDetails; + } + return self; +} + +- (instancetype)initWithSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedContentViewDetails; + _sharedContentViewDetails = sharedContentViewDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeLinkPolicyDetails: + (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails; + _sharedFolderChangeLinkPolicyDetails = sharedFolderChangeLinkPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)sharedFolderChangeMembersInheritancePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails; + _sharedFolderChangeMembersInheritancePolicyDetails = sharedFolderChangeMembersInheritancePolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersManagementPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)sharedFolderChangeMembersManagementPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails; + _sharedFolderChangeMembersManagementPolicyDetails = sharedFolderChangeMembersManagementPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)sharedFolderChangeMembersPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails; + _sharedFolderChangeMembersPolicyDetails = sharedFolderChangeMembersPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderCreateDetails; + _sharedFolderCreateDetails = sharedFolderCreateDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderDeclineInvitationDetails: + (DBTEAMLOGSharedFolderDeclineInvitationDetails *)sharedFolderDeclineInvitationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails; + _sharedFolderDeclineInvitationDetails = sharedFolderDeclineInvitationDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderMountDetails; + _sharedFolderMountDetails = sharedFolderMountDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderNestDetails:(DBTEAMLOGSharedFolderNestDetails *)sharedFolderNestDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderNestDetails; + _sharedFolderNestDetails = sharedFolderNestDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderTransferOwnershipDetails: + (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails; + _sharedFolderTransferOwnershipDetails = sharedFolderTransferOwnershipDetails; + } + return self; +} + +- (instancetype)initWithSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedFolderUnmountDetails; + _sharedFolderUnmountDetails = sharedFolderUnmountDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkAddExpiryDetails:(DBTEAMLOGSharedLinkAddExpiryDetails *)sharedLinkAddExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails; + _sharedLinkAddExpiryDetails = sharedLinkAddExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeExpiryDetails: + (DBTEAMLOGSharedLinkChangeExpiryDetails *)sharedLinkChangeExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails; + _sharedLinkChangeExpiryDetails = sharedLinkChangeExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeVisibilityDetails: + (DBTEAMLOGSharedLinkChangeVisibilityDetails *)sharedLinkChangeVisibilityDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails; + _sharedLinkChangeVisibilityDetails = sharedLinkChangeVisibilityDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkCopyDetails:(DBTEAMLOGSharedLinkCopyDetails *)sharedLinkCopyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkCopyDetails; + _sharedLinkCopyDetails = sharedLinkCopyDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkCreateDetails:(DBTEAMLOGSharedLinkCreateDetails *)sharedLinkCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkCreateDetails; + _sharedLinkCreateDetails = sharedLinkCreateDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkDisableDetails:(DBTEAMLOGSharedLinkDisableDetails *)sharedLinkDisableDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkDisableDetails; + _sharedLinkDisableDetails = sharedLinkDisableDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkDownloadDetails:(DBTEAMLOGSharedLinkDownloadDetails *)sharedLinkDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkDownloadDetails; + _sharedLinkDownloadDetails = sharedLinkDownloadDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkRemoveExpiryDetails: + (DBTEAMLOGSharedLinkRemoveExpiryDetails *)sharedLinkRemoveExpiryDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails; + _sharedLinkRemoveExpiryDetails = sharedLinkRemoveExpiryDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddExpirationDetails: + (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)sharedLinkSettingsAddExpirationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails; + _sharedLinkSettingsAddExpirationDetails = sharedLinkSettingsAddExpirationDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddPasswordDetails: + (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)sharedLinkSettingsAddPasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails; + _sharedLinkSettingsAddPasswordDetails = sharedLinkSettingsAddPasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)sharedLinkSettingsAllowDownloadDisabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails; + _sharedLinkSettingsAllowDownloadDisabledDetails = sharedLinkSettingsAllowDownloadDisabledDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)sharedLinkSettingsAllowDownloadEnabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails; + _sharedLinkSettingsAllowDownloadEnabledDetails = sharedLinkSettingsAllowDownloadEnabledDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeAudienceDetails: + (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)sharedLinkSettingsChangeAudienceDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails; + _sharedLinkSettingsChangeAudienceDetails = sharedLinkSettingsChangeAudienceDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeExpirationDetails: + (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)sharedLinkSettingsChangeExpirationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails; + _sharedLinkSettingsChangeExpirationDetails = sharedLinkSettingsChangeExpirationDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangePasswordDetails: + (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)sharedLinkSettingsChangePasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails; + _sharedLinkSettingsChangePasswordDetails = sharedLinkSettingsChangePasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemoveExpirationDetails: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)sharedLinkSettingsRemoveExpirationDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails; + _sharedLinkSettingsRemoveExpirationDetails = sharedLinkSettingsRemoveExpirationDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemovePasswordDetails: + (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)sharedLinkSettingsRemovePasswordDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails; + _sharedLinkSettingsRemovePasswordDetails = sharedLinkSettingsRemovePasswordDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkShareDetails:(DBTEAMLOGSharedLinkShareDetails *)sharedLinkShareDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkShareDetails; + _sharedLinkShareDetails = sharedLinkShareDetails; + } + return self; +} + +- (instancetype)initWithSharedLinkViewDetails:(DBTEAMLOGSharedLinkViewDetails *)sharedLinkViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedLinkViewDetails; + _sharedLinkViewDetails = sharedLinkViewDetails; + } + return self; +} + +- (instancetype)initWithSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharedNoteOpenedDetails; + _sharedNoteOpenedDetails = sharedNoteOpenedDetails; + } + return self; +} + +- (instancetype)initWithShmodelDisableDownloadsDetails: + (DBTEAMLOGShmodelDisableDownloadsDetails *)shmodelDisableDownloadsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails; + _shmodelDisableDownloadsDetails = shmodelDisableDownloadsDetails; + } + return self; +} + +- (instancetype)initWithShmodelEnableDownloadsDetails: + (DBTEAMLOGShmodelEnableDownloadsDetails *)shmodelEnableDownloadsDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails; + _shmodelEnableDownloadsDetails = shmodelEnableDownloadsDetails; + } + return self; +} + +- (instancetype)initWithShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShmodelGroupShareDetails; + _shmodelGroupShareDetails = shmodelGroupShareDetails; + } + return self; +} + +- (instancetype)initWithShowcaseAccessGrantedDetails: + (DBTEAMLOGShowcaseAccessGrantedDetails *)showcaseAccessGrantedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails; + _showcaseAccessGrantedDetails = showcaseAccessGrantedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseAddMemberDetails:(DBTEAMLOGShowcaseAddMemberDetails *)showcaseAddMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseAddMemberDetails; + _showcaseAddMemberDetails = showcaseAddMemberDetails; + } + return self; +} + +- (instancetype)initWithShowcaseArchivedDetails:(DBTEAMLOGShowcaseArchivedDetails *)showcaseArchivedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseArchivedDetails; + _showcaseArchivedDetails = showcaseArchivedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseCreatedDetails:(DBTEAMLOGShowcaseCreatedDetails *)showcaseCreatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseCreatedDetails; + _showcaseCreatedDetails = showcaseCreatedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseDeleteCommentDetails: + (DBTEAMLOGShowcaseDeleteCommentDetails *)showcaseDeleteCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails; + _showcaseDeleteCommentDetails = showcaseDeleteCommentDetails; + } + return self; +} + +- (instancetype)initWithShowcaseEditedDetails:(DBTEAMLOGShowcaseEditedDetails *)showcaseEditedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseEditedDetails; + _showcaseEditedDetails = showcaseEditedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseEditCommentDetails:(DBTEAMLOGShowcaseEditCommentDetails *)showcaseEditCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseEditCommentDetails; + _showcaseEditCommentDetails = showcaseEditCommentDetails; + } + return self; +} + +- (instancetype)initWithShowcaseFileAddedDetails:(DBTEAMLOGShowcaseFileAddedDetails *)showcaseFileAddedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseFileAddedDetails; + _showcaseFileAddedDetails = showcaseFileAddedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseFileDownloadDetails: + (DBTEAMLOGShowcaseFileDownloadDetails *)showcaseFileDownloadDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseFileDownloadDetails; + _showcaseFileDownloadDetails = showcaseFileDownloadDetails; + } + return self; +} + +- (instancetype)initWithShowcaseFileRemovedDetails:(DBTEAMLOGShowcaseFileRemovedDetails *)showcaseFileRemovedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseFileRemovedDetails; + _showcaseFileRemovedDetails = showcaseFileRemovedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseFileViewDetails:(DBTEAMLOGShowcaseFileViewDetails *)showcaseFileViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseFileViewDetails; + _showcaseFileViewDetails = showcaseFileViewDetails; + } + return self; +} + +- (instancetype)initWithShowcasePermanentlyDeletedDetails: + (DBTEAMLOGShowcasePermanentlyDeletedDetails *)showcasePermanentlyDeletedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails; + _showcasePermanentlyDeletedDetails = showcasePermanentlyDeletedDetails; + } + return self; +} + +- (instancetype)initWithShowcasePostCommentDetails:(DBTEAMLOGShowcasePostCommentDetails *)showcasePostCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcasePostCommentDetails; + _showcasePostCommentDetails = showcasePostCommentDetails; + } + return self; +} + +- (instancetype)initWithShowcaseRemoveMemberDetails: + (DBTEAMLOGShowcaseRemoveMemberDetails *)showcaseRemoveMemberDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails; + _showcaseRemoveMemberDetails = showcaseRemoveMemberDetails; + } + return self; +} + +- (instancetype)initWithShowcaseRenamedDetails:(DBTEAMLOGShowcaseRenamedDetails *)showcaseRenamedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseRenamedDetails; + _showcaseRenamedDetails = showcaseRenamedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseRequestAccessDetails: + (DBTEAMLOGShowcaseRequestAccessDetails *)showcaseRequestAccessDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseRequestAccessDetails; + _showcaseRequestAccessDetails = showcaseRequestAccessDetails; + } + return self; +} + +- (instancetype)initWithShowcaseResolveCommentDetails: + (DBTEAMLOGShowcaseResolveCommentDetails *)showcaseResolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseResolveCommentDetails; + _showcaseResolveCommentDetails = showcaseResolveCommentDetails; + } + return self; +} + +- (instancetype)initWithShowcaseRestoredDetails:(DBTEAMLOGShowcaseRestoredDetails *)showcaseRestoredDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseRestoredDetails; + _showcaseRestoredDetails = showcaseRestoredDetails; + } + return self; +} + +- (instancetype)initWithShowcaseTrashedDetails:(DBTEAMLOGShowcaseTrashedDetails *)showcaseTrashedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseTrashedDetails; + _showcaseTrashedDetails = showcaseTrashedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseTrashedDeprecatedDetails: + (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)showcaseTrashedDeprecatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails; + _showcaseTrashedDeprecatedDetails = showcaseTrashedDeprecatedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseUnresolveCommentDetails: + (DBTEAMLOGShowcaseUnresolveCommentDetails *)showcaseUnresolveCommentDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails; + _showcaseUnresolveCommentDetails = showcaseUnresolveCommentDetails; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashedDetails:(DBTEAMLOGShowcaseUntrashedDetails *)showcaseUntrashedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseUntrashedDetails; + _showcaseUntrashedDetails = showcaseUntrashedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashedDeprecatedDetails: + (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)showcaseUntrashedDeprecatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails; + _showcaseUntrashedDeprecatedDetails = showcaseUntrashedDeprecatedDetails; + } + return self; +} + +- (instancetype)initWithShowcaseViewDetails:(DBTEAMLOGShowcaseViewDetails *)showcaseViewDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseViewDetails; + _showcaseViewDetails = showcaseViewDetails; + } + return self; +} + +- (instancetype)initWithSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoAddCertDetails; + _ssoAddCertDetails = ssoAddCertDetails; + } + return self; +} + +- (instancetype)initWithSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoAddLoginUrlDetails; + _ssoAddLoginUrlDetails = ssoAddLoginUrlDetails; + } + return self; +} + +- (instancetype)initWithSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails; + _ssoAddLogoutUrlDetails = ssoAddLogoutUrlDetails; + } + return self; +} + +- (instancetype)initWithSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoChangeCertDetails; + _ssoChangeCertDetails = ssoChangeCertDetails; + } + return self; +} + +- (instancetype)initWithSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails; + _ssoChangeLoginUrlDetails = ssoChangeLoginUrlDetails; + } + return self; +} + +- (instancetype)initWithSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails; + _ssoChangeLogoutUrlDetails = ssoChangeLogoutUrlDetails; + } + return self; +} + +- (instancetype)initWithSsoChangeSamlIdentityModeDetails: + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails; + _ssoChangeSamlIdentityModeDetails = ssoChangeSamlIdentityModeDetails; + } + return self; +} + +- (instancetype)initWithSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoRemoveCertDetails; + _ssoRemoveCertDetails = ssoRemoveCertDetails; + } + return self; +} + +- (instancetype)initWithSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails; + _ssoRemoveLoginUrlDetails = ssoRemoveLoginUrlDetails; + } + return self; +} + +- (instancetype)initWithSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails; + _ssoRemoveLogoutUrlDetails = ssoRemoveLogoutUrlDetails; + } + return self; +} + +- (instancetype)initWithTeamFolderChangeStatusDetails: + (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails; + _teamFolderChangeStatusDetails = teamFolderChangeStatusDetails; + } + return self; +} + +- (instancetype)initWithTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamFolderCreateDetails; + _teamFolderCreateDetails = teamFolderCreateDetails; + } + return self; +} + +- (instancetype)initWithTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamFolderDowngradeDetails; + _teamFolderDowngradeDetails = teamFolderDowngradeDetails; + } + return self; +} + +- (instancetype)initWithTeamFolderPermanentlyDeleteDetails: + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails; + _teamFolderPermanentlyDeleteDetails = teamFolderPermanentlyDeleteDetails; + } + return self; +} + +- (instancetype)initWithTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamFolderRenameDetails; + _teamFolderRenameDetails = teamFolderRenameDetails; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncSettingsChangedDetails: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)teamSelectiveSyncSettingsChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails; + _teamSelectiveSyncSettingsChangedDetails = teamSelectiveSyncSettingsChangedDetails; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangePolicyDetails: + (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails; + _accountCaptureChangePolicyDetails = accountCaptureChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithAdminEmailRemindersChangedDetails: + (DBTEAMLOGAdminEmailRemindersChangedDetails *)adminEmailRemindersChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails; + _adminEmailRemindersChangedDetails = adminEmailRemindersChangedDetails; + } + return self; +} + +- (instancetype)initWithAllowDownloadDisabledDetails: + (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAllowDownloadDisabledDetails; + _allowDownloadDisabledDetails = allowDownloadDisabledDetails; + } + return self; +} + +- (instancetype)initWithAllowDownloadEnabledDetails: + (DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAllowDownloadEnabledDetails; + _allowDownloadEnabledDetails = allowDownloadEnabledDetails; + } + return self; +} + +- (instancetype)initWithAppPermissionsChangedDetails: + (DBTEAMLOGAppPermissionsChangedDetails *)appPermissionsChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsAppPermissionsChangedDetails; + _appPermissionsChangedDetails = appPermissionsChangedDetails; + } + return self; +} + +- (instancetype)initWithCameraUploadsPolicyChangedDetails: + (DBTEAMLOGCameraUploadsPolicyChangedDetails *)cameraUploadsPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails; + _cameraUploadsPolicyChangedDetails = cameraUploadsPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithCaptureTranscriptPolicyChangedDetails: + (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)captureTranscriptPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails; + _captureTranscriptPolicyChangedDetails = captureTranscriptPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithClassificationChangePolicyDetails: + (DBTEAMLOGClassificationChangePolicyDetails *)classificationChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsClassificationChangePolicyDetails; + _classificationChangePolicyDetails = classificationChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithComputerBackupPolicyChangedDetails: + (DBTEAMLOGComputerBackupPolicyChangedDetails *)computerBackupPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails; + _computerBackupPolicyChangedDetails = computerBackupPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithContentAdministrationPolicyChangedDetails: + (DBTEAMLOGContentAdministrationPolicyChangedDetails *)contentAdministrationPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails; + _contentAdministrationPolicyChangedDetails = contentAdministrationPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionChangePolicyDetails: + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails; + _dataPlacementRestrictionChangePolicyDetails = dataPlacementRestrictionChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicyDetails: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails; + _dataPlacementRestrictionSatisfyPolicyDetails = dataPlacementRestrictionSatisfyPolicyDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsAddExceptionDetails: + (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deviceApprovalsAddExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails; + _deviceApprovalsAddExceptionDetails = deviceApprovalsAddExceptionDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails; + _deviceApprovalsChangeDesktopPolicyDetails = deviceApprovalsChangeDesktopPolicyDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeMobilePolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails; + _deviceApprovalsChangeMobilePolicyDetails = deviceApprovalsChangeMobilePolicyDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeOverageActionDetails: + (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails; + _deviceApprovalsChangeOverageActionDetails = deviceApprovalsChangeOverageActionDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeUnlinkActionDetails: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails; + _deviceApprovalsChangeUnlinkActionDetails = deviceApprovalsChangeUnlinkActionDetails; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsRemoveExceptionDetails: + (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deviceApprovalsRemoveExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails; + _deviceApprovalsRemoveExceptionDetails = deviceApprovalsRemoveExceptionDetails; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsAddMembersDetails: + (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)directoryRestrictionsAddMembersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails; + _directoryRestrictionsAddMembersDetails = directoryRestrictionsAddMembersDetails; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsRemoveMembersDetails: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)directoryRestrictionsRemoveMembersDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails; + _directoryRestrictionsRemoveMembersDetails = directoryRestrictionsRemoveMembersDetails; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsPolicyChangedDetails: + (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)dropboxPasswordsPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails; + _dropboxPasswordsPolicyChangedDetails = dropboxPasswordsPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithEmailIngestPolicyChangedDetails: + (DBTEAMLOGEmailIngestPolicyChangedDetails *)emailIngestPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails; + _emailIngestPolicyChangedDetails = emailIngestPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmAddExceptionDetails; + _emmAddExceptionDetails = emmAddExceptionDetails; + } + return self; +} + +- (instancetype)initWithEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmChangePolicyDetails; + _emmChangePolicyDetails = emmChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEmmRemoveExceptionDetails; + _emmRemoveExceptionDetails = emmRemoveExceptionDetails; + } + return self; +} + +- (instancetype)initWithExtendedVersionHistoryChangePolicyDetails: + (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails; + _extendedVersionHistoryChangePolicyDetails = extendedVersionHistoryChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupPolicyChangedDetails: + (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)externalDriveBackupPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails; + _externalDriveBackupPolicyChangedDetails = externalDriveBackupPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithFileCommentsChangePolicyDetails: + (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails; + _fileCommentsChangePolicyDetails = fileCommentsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithFileLockingPolicyChangedDetails: + (DBTEAMLOGFileLockingPolicyChangedDetails *)fileLockingPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails; + _fileLockingPolicyChangedDetails = fileLockingPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithFileProviderMigrationPolicyChangedDetails: + (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)fileProviderMigrationPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails; + _fileProviderMigrationPolicyChangedDetails = fileProviderMigrationPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithFileRequestsChangePolicyDetails: + (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails; + _fileRequestsChangePolicyDetails = fileRequestsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsEnabledDetails: + (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails; + _fileRequestsEmailsEnabledDetails = fileRequestsEmailsEnabledDetails; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnlyDetails: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails; + _fileRequestsEmailsRestrictedToTeamOnlyDetails = fileRequestsEmailsRestrictedToTeamOnlyDetails; + } + return self; +} + +- (instancetype)initWithFileTransfersPolicyChangedDetails: + (DBTEAMLOGFileTransfersPolicyChangedDetails *)fileTransfersPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails; + _fileTransfersPolicyChangedDetails = fileTransfersPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithFolderLinkRestrictionPolicyChangedDetails: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)folderLinkRestrictionPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails; + _folderLinkRestrictionPolicyChangedDetails = folderLinkRestrictionPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithGoogleSsoChangePolicyDetails: + (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails; + _googleSsoChangePolicyDetails = googleSsoChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithGroupUserManagementChangePolicyDetails: + (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails; + _groupUserManagementChangePolicyDetails = groupUserManagementChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithIntegrationPolicyChangedDetails: + (DBTEAMLOGIntegrationPolicyChangedDetails *)integrationPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails; + _integrationPolicyChangedDetails = integrationPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithInviteAcceptanceEmailPolicyChangedDetails: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)inviteAcceptanceEmailPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails; + _inviteAcceptanceEmailPolicyChangedDetails = inviteAcceptanceEmailPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithMemberRequestsChangePolicyDetails: + (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails; + _memberRequestsChangePolicyDetails = memberRequestsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithMemberSendInvitePolicyChangedDetails: + (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)memberSendInvitePolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails; + _memberSendInvitePolicyChangedDetails = memberSendInvitePolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails; + _memberSpaceLimitsAddExceptionDetails = memberSpaceLimitsAddExceptionDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)memberSpaceLimitsChangeCapsTypePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails; + _memberSpaceLimitsChangeCapsTypePolicyDetails = memberSpaceLimitsChangeCapsTypePolicyDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails; + _memberSpaceLimitsChangePolicyDetails = memberSpaceLimitsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails; + _memberSpaceLimitsRemoveExceptionDetails = memberSpaceLimitsRemoveExceptionDetails; + } + return self; +} + +- (instancetype)initWithMemberSuggestionsChangePolicyDetails: + (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails; + _memberSuggestionsChangePolicyDetails = memberSuggestionsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithMicrosoftOfficeAddinChangePolicyDetails: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails; + _microsoftOfficeAddinChangePolicyDetails = microsoftOfficeAddinChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithNetworkControlChangePolicyDetails: + (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails; + _networkControlChangePolicyDetails = networkControlChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperChangeDeploymentPolicyDetails: + (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails; + _paperChangeDeploymentPolicyDetails = paperChangeDeploymentPolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberLinkPolicyDetails: + (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails; + _paperChangeMemberLinkPolicyDetails = paperChangeMemberLinkPolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberPolicyDetails: + (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails; + _paperChangeMemberPolicyDetails = paperChangeMemberPolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperChangePolicyDetails; + _paperChangePolicyDetails = paperChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithPaperDefaultFolderPolicyChangedDetails: + (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)paperDefaultFolderPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails; + _paperDefaultFolderPolicyChangedDetails = paperDefaultFolderPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithPaperDesktopPolicyChangedDetails: + (DBTEAMLOGPaperDesktopPolicyChangedDetails *)paperDesktopPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails; + _paperDesktopPolicyChangedDetails = paperDesktopPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupAdditionDetails: + (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails; + _paperEnabledUsersGroupAdditionDetails = paperEnabledUsersGroupAdditionDetails; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupRemovalDetails: + (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails; + _paperEnabledUsersGroupRemovalDetails = paperEnabledUsersGroupRemovalDetails; + } + return self; +} + +- (instancetype)initWithPasswordStrengthRequirementsChangePolicyDetails: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)passwordStrengthRequirementsChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails; + _passwordStrengthRequirementsChangePolicyDetails = passwordStrengthRequirementsChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithPermanentDeleteChangePolicyDetails: + (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails; + _permanentDeleteChangePolicyDetails = permanentDeleteChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithResellerSupportChangePolicyDetails: + (DBTEAMLOGResellerSupportChangePolicyDetails *)resellerSupportChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails; + _resellerSupportChangePolicyDetails = resellerSupportChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithRewindPolicyChangedDetails:(DBTEAMLOGRewindPolicyChangedDetails *)rewindPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsRewindPolicyChangedDetails; + _rewindPolicyChangedDetails = rewindPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithSendForSignaturePolicyChangedDetails: + (DBTEAMLOGSendForSignaturePolicyChangedDetails *)sendForSignaturePolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails; + _sendForSignaturePolicyChangedDetails = sendForSignaturePolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeFolderJoinPolicyDetails: + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails; + _sharingChangeFolderJoinPolicyDetails = sharingChangeFolderJoinPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *) + sharingChangeLinkAllowChangeExpirationPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails; + _sharingChangeLinkAllowChangeExpirationPolicyDetails = sharingChangeLinkAllowChangeExpirationPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)sharingChangeLinkDefaultExpirationPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails; + _sharingChangeLinkDefaultExpirationPolicyDetails = sharingChangeLinkDefaultExpirationPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicyDetails: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)sharingChangeLinkEnforcePasswordPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails; + _sharingChangeLinkEnforcePasswordPolicyDetails = sharingChangeLinkEnforcePasswordPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkPolicyDetails: + (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails; + _sharingChangeLinkPolicyDetails = sharingChangeLinkPolicyDetails; + } + return self; +} + +- (instancetype)initWithSharingChangeMemberPolicyDetails: + (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails; + _sharingChangeMemberPolicyDetails = sharingChangeMemberPolicyDetails; + } + return self; +} + +- (instancetype)initWithShowcaseChangeDownloadPolicyDetails: + (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)showcaseChangeDownloadPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails; + _showcaseChangeDownloadPolicyDetails = showcaseChangeDownloadPolicyDetails; + } + return self; +} + +- (instancetype)initWithShowcaseChangeEnabledPolicyDetails: + (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)showcaseChangeEnabledPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails; + _showcaseChangeEnabledPolicyDetails = showcaseChangeEnabledPolicyDetails; + } + return self; +} + +- (instancetype)initWithShowcaseChangeExternalSharingPolicyDetails: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)showcaseChangeExternalSharingPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails; + _showcaseChangeExternalSharingPolicyDetails = showcaseChangeExternalSharingPolicyDetails; + } + return self; +} + +- (instancetype)initWithSmarterSmartSyncPolicyChangedDetails: + (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)smarterSmartSyncPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails; + _smarterSmartSyncPolicyChangedDetails = smarterSmartSyncPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithSmartSyncChangePolicyDetails: + (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails; + _smartSyncChangePolicyDetails = smartSyncChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails; + _smartSyncNotOptOutDetails = smartSyncNotOptOutDetails; + } + return self; +} + +- (instancetype)initWithSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSmartSyncOptOutDetails; + _smartSyncOptOutDetails = smartSyncOptOutDetails; + } + return self; +} + +- (instancetype)initWithSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsSsoChangePolicyDetails; + _ssoChangePolicyDetails = ssoChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithTeamBrandingPolicyChangedDetails: + (DBTEAMLOGTeamBrandingPolicyChangedDetails *)teamBrandingPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails; + _teamBrandingPolicyChangedDetails = teamBrandingPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithTeamExtensionsPolicyChangedDetails: + (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)teamExtensionsPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails; + _teamExtensionsPolicyChangedDetails = teamExtensionsPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncPolicyChangedDetails: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)teamSelectiveSyncPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails; + _teamSelectiveSyncPolicyChangedDetails = teamSelectiveSyncPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithTeamSharingWhitelistSubjectsChangedDetails: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)teamSharingWhitelistSubjectsChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails; + _teamSharingWhitelistSubjectsChangedDetails = teamSharingWhitelistSubjectsChangedDetails; + } + return self; +} + +- (instancetype)initWithTfaAddExceptionDetails:(DBTEAMLOGTfaAddExceptionDetails *)tfaAddExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaAddExceptionDetails; + _tfaAddExceptionDetails = tfaAddExceptionDetails; + } + return self; +} + +- (instancetype)initWithTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaChangePolicyDetails; + _tfaChangePolicyDetails = tfaChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithTfaRemoveExceptionDetails:(DBTEAMLOGTfaRemoveExceptionDetails *)tfaRemoveExceptionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaRemoveExceptionDetails; + _tfaRemoveExceptionDetails = tfaRemoveExceptionDetails; + } + return self; +} + +- (instancetype)initWithTwoAccountChangePolicyDetails: + (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails; + _twoAccountChangePolicyDetails = twoAccountChangePolicyDetails; + } + return self; +} + +- (instancetype)initWithViewerInfoPolicyChangedDetails: + (DBTEAMLOGViewerInfoPolicyChangedDetails *)viewerInfoPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails; + _viewerInfoPolicyChangedDetails = viewerInfoPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithWatermarkingPolicyChangedDetails: + (DBTEAMLOGWatermarkingPolicyChangedDetails *)watermarkingPolicyChangedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails; + _watermarkingPolicyChangedDetails = watermarkingPolicyChangedDetails; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeActiveSessionLimitDetails: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)webSessionsChangeActiveSessionLimitDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails; + _webSessionsChangeActiveSessionLimitDetails = webSessionsChangeActiveSessionLimitDetails; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeFixedLengthPolicyDetails: + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails; + _webSessionsChangeFixedLengthPolicyDetails = webSessionsChangeFixedLengthPolicyDetails; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeIdleLengthPolicyDetails: + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails; + _webSessionsChangeIdleLengthPolicyDetails = webSessionsChangeIdleLengthPolicyDetails; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestSuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)dataResidencyMigrationRequestSuccessfulDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails; + _dataResidencyMigrationRequestSuccessfulDetails = dataResidencyMigrationRequestSuccessfulDetails; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)dataResidencyMigrationRequestUnsuccessfulDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails; + _dataResidencyMigrationRequestUnsuccessfulDetails = dataResidencyMigrationRequestUnsuccessfulDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeFromDetails; + _teamMergeFromDetails = teamMergeFromDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeToDetails; + _teamMergeToDetails = teamMergeToDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileAddBackgroundDetails: + (DBTEAMLOGTeamProfileAddBackgroundDetails *)teamProfileAddBackgroundDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails; + _teamProfileAddBackgroundDetails = teamProfileAddBackgroundDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileAddLogoDetails; + _teamProfileAddLogoDetails = teamProfileAddLogoDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeBackgroundDetails: + (DBTEAMLOGTeamProfileChangeBackgroundDetails *)teamProfileChangeBackgroundDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails; + _teamProfileChangeBackgroundDetails = teamProfileChangeBackgroundDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeDefaultLanguageDetails: + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails; + _teamProfileChangeDefaultLanguageDetails = teamProfileChangeDefaultLanguageDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeLogoDetails: + (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails; + _teamProfileChangeLogoDetails = teamProfileChangeLogoDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeNameDetails: + (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileChangeNameDetails; + _teamProfileChangeNameDetails = teamProfileChangeNameDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveBackgroundDetails: + (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)teamProfileRemoveBackgroundDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails; + _teamProfileRemoveBackgroundDetails = teamProfileRemoveBackgroundDetails; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveLogoDetails: + (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails; + _teamProfileRemoveLogoDetails = teamProfileRemoveLogoDetails; + } + return self; +} + +- (instancetype)initWithTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails; + _tfaAddBackupPhoneDetails = tfaAddBackupPhoneDetails; + } + return self; +} + +- (instancetype)initWithTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails; + _tfaAddSecurityKeyDetails = tfaAddSecurityKeyDetails; + } + return self; +} + +- (instancetype)initWithTfaChangeBackupPhoneDetails: + (DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails; + _tfaChangeBackupPhoneDetails = tfaChangeBackupPhoneDetails; + } + return self; +} + +- (instancetype)initWithTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaChangeStatusDetails; + _tfaChangeStatusDetails = tfaChangeStatusDetails; + } + return self; +} + +- (instancetype)initWithTfaRemoveBackupPhoneDetails: + (DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails; + _tfaRemoveBackupPhoneDetails = tfaRemoveBackupPhoneDetails; + } + return self; +} + +- (instancetype)initWithTfaRemoveSecurityKeyDetails: + (DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails; + _tfaRemoveSecurityKeyDetails = tfaRemoveSecurityKeyDetails; + } + return self; +} + +- (instancetype)initWithTfaResetDetails:(DBTEAMLOGTfaResetDetails *)tfaResetDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTfaResetDetails; + _tfaResetDetails = tfaResetDetails; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseAdminRoleDetails: + (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)changedEnterpriseAdminRoleDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails; + _changedEnterpriseAdminRoleDetails = changedEnterpriseAdminRoleDetails; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseConnectedTeamStatusDetails: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)changedEnterpriseConnectedTeamStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails; + _changedEnterpriseConnectedTeamStatusDetails = changedEnterpriseConnectedTeamStatusDetails; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSessionDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)endedEnterpriseAdminSessionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails; + _endedEnterpriseAdminSessionDetails = endedEnterpriseAdminSessionDetails; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecatedDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)endedEnterpriseAdminSessionDeprecatedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails; + _endedEnterpriseAdminSessionDeprecatedDetails = endedEnterpriseAdminSessionDeprecatedDetails; + } + return self; +} + +- (instancetype)initWithEnterpriseSettingsLockingDetails: + (DBTEAMLOGEnterpriseSettingsLockingDetails *)enterpriseSettingsLockingDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails; + _enterpriseSettingsLockingDetails = enterpriseSettingsLockingDetails; + } + return self; +} + +- (instancetype)initWithGuestAdminChangeStatusDetails: + (DBTEAMLOGGuestAdminChangeStatusDetails *)guestAdminChangeStatusDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails; + _guestAdminChangeStatusDetails = guestAdminChangeStatusDetails; + } + return self; +} + +- (instancetype)initWithStartedEnterpriseAdminSessionDetails: + (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)startedEnterpriseAdminSessionDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails; + _startedEnterpriseAdminSessionDetails = startedEnterpriseAdminSessionDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedDetails: + (DBTEAMLOGTeamMergeRequestAcceptedDetails *)teamMergeRequestAcceptedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails; + _teamMergeRequestAcceptedDetails = teamMergeRequestAcceptedDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)teamMergeRequestAcceptedShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails; + _teamMergeRequestAcceptedShownToPrimaryTeamDetails = teamMergeRequestAcceptedShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *) + teamMergeRequestAcceptedShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails; + _teamMergeRequestAcceptedShownToSecondaryTeamDetails = teamMergeRequestAcceptedShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAutoCanceledDetails: + (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)teamMergeRequestAutoCanceledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails; + _teamMergeRequestAutoCanceledDetails = teamMergeRequestAutoCanceledDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledDetails: + (DBTEAMLOGTeamMergeRequestCanceledDetails *)teamMergeRequestCanceledDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails; + _teamMergeRequestCanceledDetails = teamMergeRequestCanceledDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)teamMergeRequestCanceledShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails; + _teamMergeRequestCanceledShownToPrimaryTeamDetails = teamMergeRequestCanceledShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *) + teamMergeRequestCanceledShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails; + _teamMergeRequestCanceledShownToSecondaryTeamDetails = teamMergeRequestCanceledShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredDetails: + (DBTEAMLOGTeamMergeRequestExpiredDetails *)teamMergeRequestExpiredDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails; + _teamMergeRequestExpiredDetails = teamMergeRequestExpiredDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)teamMergeRequestExpiredShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails; + _teamMergeRequestExpiredShownToPrimaryTeamDetails = teamMergeRequestExpiredShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)teamMergeRequestExpiredShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails; + _teamMergeRequestExpiredShownToSecondaryTeamDetails = teamMergeRequestExpiredShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)teamMergeRequestRejectedShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails; + _teamMergeRequestRejectedShownToPrimaryTeamDetails = teamMergeRequestRejectedShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *) + teamMergeRequestRejectedShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails; + _teamMergeRequestRejectedShownToSecondaryTeamDetails = teamMergeRequestRejectedShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderDetails: + (DBTEAMLOGTeamMergeRequestReminderDetails *)teamMergeRequestReminderDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails; + _teamMergeRequestReminderDetails = teamMergeRequestReminderDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)teamMergeRequestReminderShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails; + _teamMergeRequestReminderShownToPrimaryTeamDetails = teamMergeRequestReminderShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *) + teamMergeRequestReminderShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails; + _teamMergeRequestReminderShownToSecondaryTeamDetails = teamMergeRequestReminderShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRevokedDetails: + (DBTEAMLOGTeamMergeRequestRevokedDetails *)teamMergeRequestRevokedDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails; + _teamMergeRequestRevokedDetails = teamMergeRequestRevokedDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)teamMergeRequestSentShownToPrimaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails; + _teamMergeRequestSentShownToPrimaryTeamDetails = teamMergeRequestSentShownToPrimaryTeamDetails; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)teamMergeRequestSentShownToSecondaryTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails; + _teamMergeRequestSentShownToSecondaryTeamDetails = teamMergeRequestSentShownToSecondaryTeamDetails; + } + return self; +} + +- (instancetype)initWithMissingDetails:(DBTEAMLOGMissingDetails *)missingDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsMissingDetails; + _missingDetails = missingDetails; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventDetailsOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)adminAlertingAlertStateChangedDetails { + if (![self isAdminAlertingAlertStateChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails, but was %@.", + [self tagName]]; + } + return _adminAlertingAlertStateChangedDetails; +} + +- (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)adminAlertingChangedAlertConfigDetails { + if (![self isAdminAlertingChangedAlertConfigDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails, but was %@.", + [self tagName]]; + } + return _adminAlertingChangedAlertConfigDetails; +} + +- (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)adminAlertingTriggeredAlertDetails { + if (![self isAdminAlertingTriggeredAlertDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails, but was %@.", + [self tagName]]; + } + return _adminAlertingTriggeredAlertDetails; +} + +- (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)ransomwareRestoreProcessCompletedDetails { + if (![self isRansomwareRestoreProcessCompletedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails, but was %@.", + [self tagName]]; + } + return _ransomwareRestoreProcessCompletedDetails; +} + +- (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)ransomwareRestoreProcessStartedDetails { + if (![self isRansomwareRestoreProcessStartedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails, but was %@.", + [self tagName]]; + } + return _ransomwareRestoreProcessStartedDetails; +} + +- (DBTEAMLOGAppBlockedByPermissionsDetails *)appBlockedByPermissionsDetails { + if (![self isAppBlockedByPermissionsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails, but was %@.", + [self tagName]]; + } + return _appBlockedByPermissionsDetails; +} + +- (DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails { + if (![self isAppLinkTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppLinkTeamDetails, but was %@.", [self tagName]]; + } + return _appLinkTeamDetails; +} + +- (DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails { + if (![self isAppLinkUserDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppLinkUserDetails, but was %@.", [self tagName]]; + } + return _appLinkUserDetails; +} + +- (DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails { + if (![self isAppUnlinkTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppUnlinkTeamDetails, but was %@.", [self tagName]]; + } + return _appUnlinkTeamDetails; +} + +- (DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails { + if (![self isAppUnlinkUserDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppUnlinkUserDetails, but was %@.", [self tagName]]; + } + return _appUnlinkUserDetails; +} + +- (DBTEAMLOGIntegrationConnectedDetails *)integrationConnectedDetails { + if (![self isIntegrationConnectedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsIntegrationConnectedDetails, but was %@.", [self tagName]]; + } + return _integrationConnectedDetails; +} + +- (DBTEAMLOGIntegrationDisconnectedDetails *)integrationDisconnectedDetails { + if (![self isIntegrationDisconnectedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsIntegrationDisconnectedDetails, but was %@.", + [self tagName]]; + } + return _integrationDisconnectedDetails; +} + +- (DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails { + if (![self isFileAddCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileAddCommentDetails, but was %@.", [self tagName]]; + } + return _fileAddCommentDetails; +} + +- (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails { + if (![self isFileChangeCommentSubscriptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails, but was %@.", + [self tagName]]; + } + return _fileChangeCommentSubscriptionDetails; +} + +- (DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails { + if (![self isFileDeleteCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDeleteCommentDetails, but was %@.", [self tagName]]; + } + return _fileDeleteCommentDetails; +} + +- (DBTEAMLOGFileEditCommentDetails *)fileEditCommentDetails { + if (![self isFileEditCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileEditCommentDetails, but was %@.", [self tagName]]; + } + return _fileEditCommentDetails; +} + +- (DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails { + if (![self isFileLikeCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileLikeCommentDetails, but was %@.", [self tagName]]; + } + return _fileLikeCommentDetails; +} + +- (DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails { + if (![self isFileResolveCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileResolveCommentDetails, but was %@.", [self tagName]]; + } + return _fileResolveCommentDetails; +} + +- (DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails { + if (![self isFileUnlikeCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileUnlikeCommentDetails, but was %@.", [self tagName]]; + } + return _fileUnlikeCommentDetails; +} + +- (DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails { + if (![self isFileUnresolveCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileUnresolveCommentDetails, but was %@.", [self tagName]]; + } + return _fileUnresolveCommentDetails; +} + +- (DBTEAMLOGGovernancePolicyAddFoldersDetails *)governancePolicyAddFoldersDetails { + if (![self isGovernancePolicyAddFoldersDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyAddFoldersDetails; +} + +- (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)governancePolicyAddFolderFailedDetails { + if (![self isGovernancePolicyAddFolderFailedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyAddFolderFailedDetails; +} + +- (DBTEAMLOGGovernancePolicyContentDisposedDetails *)governancePolicyContentDisposedDetails { + if (![self isGovernancePolicyContentDisposedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyContentDisposedDetails; +} + +- (DBTEAMLOGGovernancePolicyCreateDetails *)governancePolicyCreateDetails { + if (![self isGovernancePolicyCreateDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyCreateDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyCreateDetails; +} + +- (DBTEAMLOGGovernancePolicyDeleteDetails *)governancePolicyDeleteDetails { + if (![self isGovernancePolicyDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyDeleteDetails; +} + +- (DBTEAMLOGGovernancePolicyEditDetailsDetails *)governancePolicyEditDetailsDetails { + if (![self isGovernancePolicyEditDetailsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyEditDetailsDetails; +} + +- (DBTEAMLOGGovernancePolicyEditDurationDetails *)governancePolicyEditDurationDetails { + if (![self isGovernancePolicyEditDurationDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyEditDurationDetails; +} + +- (DBTEAMLOGGovernancePolicyExportCreatedDetails *)governancePolicyExportCreatedDetails { + if (![self isGovernancePolicyExportCreatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyExportCreatedDetails; +} + +- (DBTEAMLOGGovernancePolicyExportRemovedDetails *)governancePolicyExportRemovedDetails { + if (![self isGovernancePolicyExportRemovedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyExportRemovedDetails; +} + +- (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)governancePolicyRemoveFoldersDetails { + if (![self isGovernancePolicyRemoveFoldersDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyRemoveFoldersDetails; +} + +- (DBTEAMLOGGovernancePolicyReportCreatedDetails *)governancePolicyReportCreatedDetails { + if (![self isGovernancePolicyReportCreatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyReportCreatedDetails; +} + +- (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)governancePolicyZipPartDownloadedDetails { + if (![self isGovernancePolicyZipPartDownloadedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails, but was %@.", + [self tagName]]; + } + return _governancePolicyZipPartDownloadedDetails; +} + +- (DBTEAMLOGLegalHoldsActivateAHoldDetails *)legalHoldsActivateAHoldDetails { + if (![self isLegalHoldsActivateAHoldDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsActivateAHoldDetails; +} + +- (DBTEAMLOGLegalHoldsAddMembersDetails *)legalHoldsAddMembersDetails { + if (![self isLegalHoldsAddMembersDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails, but was %@.", [self tagName]]; + } + return _legalHoldsAddMembersDetails; +} + +- (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)legalHoldsChangeHoldDetailsDetails { + if (![self isLegalHoldsChangeHoldDetailsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsChangeHoldDetailsDetails; +} + +- (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)legalHoldsChangeHoldNameDetails { + if (![self isLegalHoldsChangeHoldNameDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsChangeHoldNameDetails; +} + +- (DBTEAMLOGLegalHoldsExportAHoldDetails *)legalHoldsExportAHoldDetails { + if (![self isLegalHoldsExportAHoldDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails, but was %@.", [self tagName]]; + } + return _legalHoldsExportAHoldDetails; +} + +- (DBTEAMLOGLegalHoldsExportCancelledDetails *)legalHoldsExportCancelledDetails { + if (![self isLegalHoldsExportCancelledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsExportCancelledDetails; +} + +- (DBTEAMLOGLegalHoldsExportDownloadedDetails *)legalHoldsExportDownloadedDetails { + if (![self isLegalHoldsExportDownloadedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsExportDownloadedDetails; +} + +- (DBTEAMLOGLegalHoldsExportRemovedDetails *)legalHoldsExportRemovedDetails { + if (![self isLegalHoldsExportRemovedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsExportRemovedDetails; +} + +- (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)legalHoldsReleaseAHoldDetails { + if (![self isLegalHoldsReleaseAHoldDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsReleaseAHoldDetails; +} + +- (DBTEAMLOGLegalHoldsRemoveMembersDetails *)legalHoldsRemoveMembersDetails { + if (![self isLegalHoldsRemoveMembersDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails, but was %@.", + [self tagName]]; + } + return _legalHoldsRemoveMembersDetails; +} + +- (DBTEAMLOGLegalHoldsReportAHoldDetails *)legalHoldsReportAHoldDetails { + if (![self isLegalHoldsReportAHoldDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails, but was %@.", [self tagName]]; + } + return _legalHoldsReportAHoldDetails; +} + +- (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails { + if (![self isDeviceChangeIpDesktopDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails, but was %@.", [self tagName]]; + } + return _deviceChangeIpDesktopDetails; +} + +- (DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails { + if (![self isDeviceChangeIpMobileDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails, but was %@.", [self tagName]]; + } + return _deviceChangeIpMobileDetails; +} + +- (DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails { + if (![self isDeviceChangeIpWebDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceChangeIpWebDetails, but was %@.", [self tagName]]; + } + return _deviceChangeIpWebDetails; +} + +- (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails { + if (![self isDeviceDeleteOnUnlinkFailDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails, but was %@.", + [self tagName]]; + } + return _deviceDeleteOnUnlinkFailDetails; +} + +- (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails { + if (![self isDeviceDeleteOnUnlinkSuccessDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails, but was %@.", + [self tagName]]; + } + return _deviceDeleteOnUnlinkSuccessDetails; +} + +- (DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails { + if (![self isDeviceLinkFailDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceLinkFailDetails, but was %@.", [self tagName]]; + } + return _deviceLinkFailDetails; +} + +- (DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails { + if (![self isDeviceLinkSuccessDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceLinkSuccessDetails, but was %@.", [self tagName]]; + } + return _deviceLinkSuccessDetails; +} + +- (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails { + if (![self isDeviceManagementDisabledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceManagementDisabledDetails, but was %@.", + [self tagName]]; + } + return _deviceManagementDisabledDetails; +} + +- (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails { + if (![self isDeviceManagementEnabledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceManagementEnabledDetails, but was %@.", + [self tagName]]; + } + return _deviceManagementEnabledDetails; +} + +- (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deviceSyncBackupStatusChangedDetails { + if (![self isDeviceSyncBackupStatusChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails, but was %@.", + [self tagName]]; + } + return _deviceSyncBackupStatusChangedDetails; +} + +- (DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails { + if (![self isDeviceUnlinkDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceUnlinkDetails, but was %@.", [self tagName]]; + } + return _deviceUnlinkDetails; +} + +- (DBTEAMLOGDropboxPasswordsExportedDetails *)dropboxPasswordsExportedDetails { + if (![self isDropboxPasswordsExportedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails, but was %@.", + [self tagName]]; + } + return _dropboxPasswordsExportedDetails; +} + +- (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)dropboxPasswordsNewDeviceEnrolledDetails { + if (![self isDropboxPasswordsNewDeviceEnrolledDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails, but was %@.", + [self tagName]]; + } + return _dropboxPasswordsNewDeviceEnrolledDetails; +} + +- (DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails { + if (![self isEmmRefreshAuthTokenDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails, but was %@.", [self tagName]]; + } + return _emmRefreshAuthTokenDetails; +} + +- (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)externalDriveBackupEligibilityStatusCheckedDetails { + if (![self isExternalDriveBackupEligibilityStatusCheckedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails, but was %@.", + [self tagName]]; + } + return _externalDriveBackupEligibilityStatusCheckedDetails; +} + +- (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)externalDriveBackupStatusChangedDetails { + if (![self isExternalDriveBackupStatusChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails, but was %@.", + [self tagName]]; + } + return _externalDriveBackupStatusChangedDetails; +} + +- (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails { + if (![self isAccountCaptureChangeAvailabilityDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails, but was %@.", + [self tagName]]; + } + return _accountCaptureChangeAvailabilityDetails; +} + +- (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails { + if (![self isAccountCaptureMigrateAccountDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails, but was %@.", + [self tagName]]; + } + return _accountCaptureMigrateAccountDetails; +} + +- (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)accountCaptureNotificationEmailsSentDetails { + if (![self isAccountCaptureNotificationEmailsSentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails, but was %@.", + [self tagName]]; + } + return _accountCaptureNotificationEmailsSentDetails; +} + +- (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails { + if (![self isAccountCaptureRelinquishAccountDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails, but was %@.", + [self tagName]]; + } + return _accountCaptureRelinquishAccountDetails; +} + +- (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails { + if (![self isDisabledDomainInvitesDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDisabledDomainInvitesDetails, but was %@.", [self tagName]]; + } + return _disabledDomainInvitesDetails; +} + +- (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails { + if (![self isDomainInvitesApproveRequestToJoinTeamDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesApproveRequestToJoinTeamDetails; +} + +- (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails { + if (![self isDomainInvitesDeclineRequestToJoinTeamDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesDeclineRequestToJoinTeamDetails; +} + +- (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails { + if (![self isDomainInvitesEmailExistingUsersDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesEmailExistingUsersDetails; +} + +- (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails { + if (![self isDomainInvitesRequestToJoinTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesRequestToJoinTeamDetails; +} + +- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails { + if (![self isDomainInvitesSetInviteNewUserPrefToNoDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesSetInviteNewUserPrefToNoDetails; +} + +- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails { + if (![self isDomainInvitesSetInviteNewUserPrefToYesDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails, but was %@.", + [self tagName]]; + } + return _domainInvitesSetInviteNewUserPrefToYesDetails; +} + +- (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails { + if (![self isDomainVerificationAddDomainFailDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails, but was %@.", + [self tagName]]; + } + return _domainVerificationAddDomainFailDetails; +} + +- (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails { + if (![self isDomainVerificationAddDomainSuccessDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails, but was %@.", + [self tagName]]; + } + return _domainVerificationAddDomainSuccessDetails; +} + +- (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails { + if (![self isDomainVerificationRemoveDomainDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails, but was %@.", + [self tagName]]; + } + return _domainVerificationRemoveDomainDetails; +} + +- (DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails { + if (![self isEnabledDomainInvitesDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEnabledDomainInvitesDetails, but was %@.", [self tagName]]; + } + return _enabledDomainInvitesDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)teamEncryptionKeyCancelKeyDeletionDetails { + if (![self isTeamEncryptionKeyCancelKeyDeletionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyCancelKeyDeletionDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)teamEncryptionKeyCreateKeyDetails { + if (![self isTeamEncryptionKeyCreateKeyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyCreateKeyDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)teamEncryptionKeyDeleteKeyDetails { + if (![self isTeamEncryptionKeyDeleteKeyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyDeleteKeyDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)teamEncryptionKeyDisableKeyDetails { + if (![self isTeamEncryptionKeyDisableKeyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyDisableKeyDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)teamEncryptionKeyEnableKeyDetails { + if (![self isTeamEncryptionKeyEnableKeyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyEnableKeyDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)teamEncryptionKeyRotateKeyDetails { + if (![self isTeamEncryptionKeyRotateKeyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyRotateKeyDetails; +} + +- (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)teamEncryptionKeyScheduleKeyDeletionDetails { + if (![self isTeamEncryptionKeyScheduleKeyDeletionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyScheduleKeyDeletionDetails; +} + +- (DBTEAMLOGApplyNamingConventionDetails *)applyNamingConventionDetails { + if (![self isApplyNamingConventionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsApplyNamingConventionDetails, but was %@.", [self tagName]]; + } + return _applyNamingConventionDetails; +} + +- (DBTEAMLOGCreateFolderDetails *)createFolderDetails { + if (![self isCreateFolderDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsCreateFolderDetails, but was %@.", [self tagName]]; + } + return _createFolderDetails; +} + +- (DBTEAMLOGFileAddDetails *)fileAddDetails { + if (![self isFileAddDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileAddDetails, but was %@.", [self tagName]]; + } + return _fileAddDetails; +} + +- (DBTEAMLOGFileAddFromAutomationDetails *)fileAddFromAutomationDetails { + if (![self isFileAddFromAutomationDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileAddFromAutomationDetails, but was %@.", [self tagName]]; + } + return _fileAddFromAutomationDetails; +} + +- (DBTEAMLOGFileCopyDetails *)fileCopyDetails { + if (![self isFileCopyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileCopyDetails, but was %@.", [self tagName]]; + } + return _fileCopyDetails; +} + +- (DBTEAMLOGFileDeleteDetails *)fileDeleteDetails { + if (![self isFileDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDeleteDetails, but was %@.", [self tagName]]; + } + return _fileDeleteDetails; +} + +- (DBTEAMLOGFileDownloadDetails *)fileDownloadDetails { + if (![self isFileDownloadDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileDownloadDetails, but was %@.", [self tagName]]; + } + return _fileDownloadDetails; +} + +- (DBTEAMLOGFileEditDetails *)fileEditDetails { + if (![self isFileEditDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileEditDetails, but was %@.", [self tagName]]; + } + return _fileEditDetails; +} + +- (DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails { + if (![self isFileGetCopyReferenceDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileGetCopyReferenceDetails, but was %@.", [self tagName]]; + } + return _fileGetCopyReferenceDetails; +} + +- (DBTEAMLOGFileLockingLockStatusChangedDetails *)fileLockingLockStatusChangedDetails { + if (![self isFileLockingLockStatusChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails, but was %@.", + [self tagName]]; + } + return _fileLockingLockStatusChangedDetails; +} + +- (DBTEAMLOGFileMoveDetails *)fileMoveDetails { + if (![self isFileMoveDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileMoveDetails, but was %@.", [self tagName]]; + } + return _fileMoveDetails; +} + +- (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails { + if (![self isFilePermanentlyDeleteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails, but was %@.", [self tagName]]; + } + return _filePermanentlyDeleteDetails; +} + +- (DBTEAMLOGFilePreviewDetails *)filePreviewDetails { + if (![self isFilePreviewDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFilePreviewDetails, but was %@.", [self tagName]]; + } + return _filePreviewDetails; +} + +- (DBTEAMLOGFileRenameDetails *)fileRenameDetails { + if (![self isFileRenameDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRenameDetails, but was %@.", [self tagName]]; + } + return _fileRenameDetails; +} + +- (DBTEAMLOGFileRestoreDetails *)fileRestoreDetails { + if (![self isFileRestoreDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRestoreDetails, but was %@.", [self tagName]]; + } + return _fileRestoreDetails; +} + +- (DBTEAMLOGFileRevertDetails *)fileRevertDetails { + if (![self isFileRevertDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRevertDetails, but was %@.", [self tagName]]; + } + return _fileRevertDetails; +} + +- (DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails { + if (![self isFileRollbackChangesDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRollbackChangesDetails, but was %@.", [self tagName]]; + } + return _fileRollbackChangesDetails; +} + +- (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails { + if (![self isFileSaveCopyReferenceDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails, but was %@.", [self tagName]]; + } + return _fileSaveCopyReferenceDetails; +} + +- (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)folderOverviewDescriptionChangedDetails { + if (![self isFolderOverviewDescriptionChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails, but was %@.", + [self tagName]]; + } + return _folderOverviewDescriptionChangedDetails; +} + +- (DBTEAMLOGFolderOverviewItemPinnedDetails *)folderOverviewItemPinnedDetails { + if (![self isFolderOverviewItemPinnedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails, but was %@.", + [self tagName]]; + } + return _folderOverviewItemPinnedDetails; +} + +- (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)folderOverviewItemUnpinnedDetails { + if (![self isFolderOverviewItemUnpinnedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails, but was %@.", + [self tagName]]; + } + return _folderOverviewItemUnpinnedDetails; +} + +- (DBTEAMLOGObjectLabelAddedDetails *)objectLabelAddedDetails { + if (![self isObjectLabelAddedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsObjectLabelAddedDetails, but was %@.", [self tagName]]; + } + return _objectLabelAddedDetails; +} + +- (DBTEAMLOGObjectLabelRemovedDetails *)objectLabelRemovedDetails { + if (![self isObjectLabelRemovedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsObjectLabelRemovedDetails, but was %@.", [self tagName]]; + } + return _objectLabelRemovedDetails; +} + +- (DBTEAMLOGObjectLabelUpdatedValueDetails *)objectLabelUpdatedValueDetails { + if (![self isObjectLabelUpdatedValueDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails, but was %@.", + [self tagName]]; + } + return _objectLabelUpdatedValueDetails; +} + +- (DBTEAMLOGOrganizeFolderWithTidyDetails *)organizeFolderWithTidyDetails { + if (![self isOrganizeFolderWithTidyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails, but was %@.", + [self tagName]]; + } + return _organizeFolderWithTidyDetails; +} + +- (DBTEAMLOGReplayFileDeleteDetails *)replayFileDeleteDetails { + if (![self isReplayFileDeleteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsReplayFileDeleteDetails, but was %@.", [self tagName]]; + } + return _replayFileDeleteDetails; +} + +- (DBTEAMLOGRewindFolderDetails *)rewindFolderDetails { + if (![self isRewindFolderDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRewindFolderDetails, but was %@.", [self tagName]]; + } + return _rewindFolderDetails; +} + +- (DBTEAMLOGUndoNamingConventionDetails *)undoNamingConventionDetails { + if (![self isUndoNamingConventionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsUndoNamingConventionDetails, but was %@.", [self tagName]]; + } + return _undoNamingConventionDetails; +} + +- (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)undoOrganizeFolderWithTidyDetails { + if (![self isUndoOrganizeFolderWithTidyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails, but was %@.", + [self tagName]]; + } + return _undoOrganizeFolderWithTidyDetails; +} + +- (DBTEAMLOGUserTagsAddedDetails *)userTagsAddedDetails { + if (![self isUserTagsAddedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsUserTagsAddedDetails, but was %@.", [self tagName]]; + } + return _userTagsAddedDetails; +} + +- (DBTEAMLOGUserTagsRemovedDetails *)userTagsRemovedDetails { + if (![self isUserTagsRemovedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsUserTagsRemovedDetails, but was %@.", [self tagName]]; + } + return _userTagsRemovedDetails; +} + +- (DBTEAMLOGEmailIngestReceiveFileDetails *)emailIngestReceiveFileDetails { + if (![self isEmailIngestReceiveFileDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails, but was %@.", + [self tagName]]; + } + return _emailIngestReceiveFileDetails; +} + +- (DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails { + if (![self isFileRequestChangeDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestChangeDetails, but was %@.", [self tagName]]; + } + return _fileRequestChangeDetails; +} + +- (DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails { + if (![self isFileRequestCloseDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestCloseDetails, but was %@.", [self tagName]]; + } + return _fileRequestCloseDetails; +} + +- (DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails { + if (![self isFileRequestCreateDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestCreateDetails, but was %@.", [self tagName]]; + } + return _fileRequestCreateDetails; +} + +- (DBTEAMLOGFileRequestDeleteDetails *)fileRequestDeleteDetails { + if (![self isFileRequestDeleteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestDeleteDetails, but was %@.", [self tagName]]; + } + return _fileRequestDeleteDetails; +} + +- (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails { + if (![self isFileRequestReceiveFileDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestReceiveFileDetails, but was %@.", + [self tagName]]; + } + return _fileRequestReceiveFileDetails; +} + +- (DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails { + if (![self isGroupAddExternalIdDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupAddExternalIdDetails, but was %@.", [self tagName]]; + } + return _groupAddExternalIdDetails; +} + +- (DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails { + if (![self isGroupAddMemberDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupAddMemberDetails, but was %@.", [self tagName]]; + } + return _groupAddMemberDetails; +} + +- (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails { + if (![self isGroupChangeExternalIdDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeExternalIdDetails, but was %@.", [self tagName]]; + } + return _groupChangeExternalIdDetails; +} + +- (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails { + if (![self isGroupChangeManagementTypeDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails, but was %@.", + [self tagName]]; + } + return _groupChangeManagementTypeDetails; +} + +- (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails { + if (![self isGroupChangeMemberRoleDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails, but was %@.", [self tagName]]; + } + return _groupChangeMemberRoleDetails; +} + +- (DBTEAMLOGGroupCreateDetails *)groupCreateDetails { + if (![self isGroupCreateDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupCreateDetails, but was %@.", [self tagName]]; + } + return _groupCreateDetails; +} + +- (DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails { + if (![self isGroupDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupDeleteDetails, but was %@.", [self tagName]]; + } + return _groupDeleteDetails; +} + +- (DBTEAMLOGGroupDescriptionUpdatedDetails *)groupDescriptionUpdatedDetails { + if (![self isGroupDescriptionUpdatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails, but was %@.", + [self tagName]]; + } + return _groupDescriptionUpdatedDetails; +} + +- (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)groupJoinPolicyUpdatedDetails { + if (![self isGroupJoinPolicyUpdatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails, but was %@.", + [self tagName]]; + } + return _groupJoinPolicyUpdatedDetails; +} + +- (DBTEAMLOGGroupMovedDetails *)groupMovedDetails { + if (![self isGroupMovedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupMovedDetails, but was %@.", [self tagName]]; + } + return _groupMovedDetails; +} + +- (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails { + if (![self isGroupRemoveExternalIdDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails, but was %@.", [self tagName]]; + } + return _groupRemoveExternalIdDetails; +} + +- (DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails { + if (![self isGroupRemoveMemberDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRemoveMemberDetails, but was %@.", [self tagName]]; + } + return _groupRemoveMemberDetails; +} + +- (DBTEAMLOGGroupRenameDetails *)groupRenameDetails { + if (![self isGroupRenameDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupRenameDetails, but was %@.", [self tagName]]; + } + return _groupRenameDetails; +} + +- (DBTEAMLOGAccountLockOrUnlockedDetails *)accountLockOrUnlockedDetails { + if (![self isAccountLockOrUnlockedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails, but was %@.", [self tagName]]; + } + return _accountLockOrUnlockedDetails; +} + +- (DBTEAMLOGEmmErrorDetails *)emmErrorDetails { + if (![self isEmmErrorDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmErrorDetails, but was %@.", [self tagName]]; + } + return _emmErrorDetails; +} + +- (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)guestAdminSignedInViaTrustedTeamsDetails { + if (![self isGuestAdminSignedInViaTrustedTeamsDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails, but was %@.", + [self tagName]]; + } + return _guestAdminSignedInViaTrustedTeamsDetails; +} + +- (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)guestAdminSignedOutViaTrustedTeamsDetails { + if (![self isGuestAdminSignedOutViaTrustedTeamsDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails, but was %@.", + [self tagName]]; + } + return _guestAdminSignedOutViaTrustedTeamsDetails; +} + +- (DBTEAMLOGLoginFailDetails *)loginFailDetails { + if (![self isLoginFailDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLoginFailDetails, but was %@.", [self tagName]]; + } + return _loginFailDetails; +} + +- (DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails { + if (![self isLoginSuccessDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLoginSuccessDetails, but was %@.", [self tagName]]; + } + return _loginSuccessDetails; +} + +- (DBTEAMLOGLogoutDetails *)logoutDetails { + if (![self isLogoutDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsLogoutDetails, but was %@.", [self tagName]]; + } + return _logoutDetails; +} + +- (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails { + if (![self isResellerSupportSessionEndDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsResellerSupportSessionEndDetails, but was %@.", + [self tagName]]; + } + return _resellerSupportSessionEndDetails; +} + +- (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails { + if (![self isResellerSupportSessionStartDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsResellerSupportSessionStartDetails, but was %@.", + [self tagName]]; + } + return _resellerSupportSessionStartDetails; +} + +- (DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails { + if (![self isSignInAsSessionEndDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSignInAsSessionEndDetails, but was %@.", [self tagName]]; + } + return _signInAsSessionEndDetails; +} + +- (DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails { + if (![self isSignInAsSessionStartDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSignInAsSessionStartDetails, but was %@.", [self tagName]]; + } + return _signInAsSessionStartDetails; +} + +- (DBTEAMLOGSsoErrorDetails *)ssoErrorDetails { + if (![self isSsoErrorDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoErrorDetails, but was %@.", [self tagName]]; + } + return _ssoErrorDetails; +} + +- (DBTEAMLOGBackupAdminInvitationSentDetails *)backupAdminInvitationSentDetails { + if (![self isBackupAdminInvitationSentDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails, but was %@.", + [self tagName]]; + } + return _backupAdminInvitationSentDetails; +} + +- (DBTEAMLOGBackupInvitationOpenedDetails *)backupInvitationOpenedDetails { + if (![self isBackupInvitationOpenedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBackupInvitationOpenedDetails, but was %@.", + [self tagName]]; + } + return _backupInvitationOpenedDetails; +} + +- (DBTEAMLOGCreateTeamInviteLinkDetails *)createTeamInviteLinkDetails { + if (![self isCreateTeamInviteLinkDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails, but was %@.", [self tagName]]; + } + return _createTeamInviteLinkDetails; +} + +- (DBTEAMLOGDeleteTeamInviteLinkDetails *)deleteTeamInviteLinkDetails { + if (![self isDeleteTeamInviteLinkDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails, but was %@.", [self tagName]]; + } + return _deleteTeamInviteLinkDetails; +} + +- (DBTEAMLOGMemberAddExternalIdDetails *)memberAddExternalIdDetails { + if (![self isMemberAddExternalIdDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberAddExternalIdDetails, but was %@.", [self tagName]]; + } + return _memberAddExternalIdDetails; +} + +- (DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails { + if (![self isMemberAddNameDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberAddNameDetails, but was %@.", [self tagName]]; + } + return _memberAddNameDetails; +} + +- (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails { + if (![self isMemberChangeAdminRoleDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails, but was %@.", [self tagName]]; + } + return _memberChangeAdminRoleDetails; +} + +- (DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails { + if (![self isMemberChangeEmailDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeEmailDetails, but was %@.", [self tagName]]; + } + return _memberChangeEmailDetails; +} + +- (DBTEAMLOGMemberChangeExternalIdDetails *)memberChangeExternalIdDetails { + if (![self isMemberChangeExternalIdDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeExternalIdDetails, but was %@.", + [self tagName]]; + } + return _memberChangeExternalIdDetails; +} + +- (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails { + if (![self isMemberChangeMembershipTypeDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails, but was %@.", + [self tagName]]; + } + return _memberChangeMembershipTypeDetails; +} + +- (DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails { + if (![self isMemberChangeNameDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeNameDetails, but was %@.", [self tagName]]; + } + return _memberChangeNameDetails; +} + +- (DBTEAMLOGMemberChangeResellerRoleDetails *)memberChangeResellerRoleDetails { + if (![self isMemberChangeResellerRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails, but was %@.", + [self tagName]]; + } + return _memberChangeResellerRoleDetails; +} + +- (DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails { + if (![self isMemberChangeStatusDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberChangeStatusDetails, but was %@.", [self tagName]]; + } + return _memberChangeStatusDetails; +} + +- (DBTEAMLOGMemberDeleteManualContactsDetails *)memberDeleteManualContactsDetails { + if (![self isMemberDeleteManualContactsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails, but was %@.", + [self tagName]]; + } + return _memberDeleteManualContactsDetails; +} + +- (DBTEAMLOGMemberDeleteProfilePhotoDetails *)memberDeleteProfilePhotoDetails { + if (![self isMemberDeleteProfilePhotoDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails, but was %@.", + [self tagName]]; + } + return _memberDeleteProfilePhotoDetails; +} + +- (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails { + if (![self isMemberPermanentlyDeleteAccountContentsDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails, but was %@.", + [self tagName]]; + } + return _memberPermanentlyDeleteAccountContentsDetails; +} + +- (DBTEAMLOGMemberRemoveExternalIdDetails *)memberRemoveExternalIdDetails { + if (![self isMemberRemoveExternalIdDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails, but was %@.", + [self tagName]]; + } + return _memberRemoveExternalIdDetails; +} + +- (DBTEAMLOGMemberSetProfilePhotoDetails *)memberSetProfilePhotoDetails { + if (![self isMemberSetProfilePhotoDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails, but was %@.", [self tagName]]; + } + return _memberSetProfilePhotoDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)memberSpaceLimitsAddCustomQuotaDetails { + if (![self isMemberSpaceLimitsAddCustomQuotaDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsAddCustomQuotaDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)memberSpaceLimitsChangeCustomQuotaDetails { + if (![self isMemberSpaceLimitsChangeCustomQuotaDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsChangeCustomQuotaDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails { + if (![self isMemberSpaceLimitsChangeStatusDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsChangeStatusDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)memberSpaceLimitsRemoveCustomQuotaDetails { + if (![self isMemberSpaceLimitsRemoveCustomQuotaDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsRemoveCustomQuotaDetails; +} + +- (DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails { + if (![self isMemberSuggestDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSuggestDetails, but was %@.", [self tagName]]; + } + return _memberSuggestDetails; +} + +- (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails { + if (![self isMemberTransferAccountContentsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails, but was %@.", + [self tagName]]; + } + return _memberTransferAccountContentsDetails; +} + +- (DBTEAMLOGPendingSecondaryEmailAddedDetails *)pendingSecondaryEmailAddedDetails { + if (![self isPendingSecondaryEmailAddedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails, but was %@.", + [self tagName]]; + } + return _pendingSecondaryEmailAddedDetails; +} + +- (DBTEAMLOGSecondaryEmailDeletedDetails *)secondaryEmailDeletedDetails { + if (![self isSecondaryEmailDeletedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails, but was %@.", [self tagName]]; + } + return _secondaryEmailDeletedDetails; +} + +- (DBTEAMLOGSecondaryEmailVerifiedDetails *)secondaryEmailVerifiedDetails { + if (![self isSecondaryEmailVerifiedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails, but was %@.", + [self tagName]]; + } + return _secondaryEmailVerifiedDetails; +} + +- (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)secondaryMailsPolicyChangedDetails { + if (![self isSecondaryMailsPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _secondaryMailsPolicyChangedDetails; +} + +- (DBTEAMLOGBinderAddPageDetails *)binderAddPageDetails { + if (![self isBinderAddPageDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderAddPageDetails, but was %@.", [self tagName]]; + } + return _binderAddPageDetails; +} + +- (DBTEAMLOGBinderAddSectionDetails *)binderAddSectionDetails { + if (![self isBinderAddSectionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderAddSectionDetails, but was %@.", [self tagName]]; + } + return _binderAddSectionDetails; +} + +- (DBTEAMLOGBinderRemovePageDetails *)binderRemovePageDetails { + if (![self isBinderRemovePageDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderRemovePageDetails, but was %@.", [self tagName]]; + } + return _binderRemovePageDetails; +} + +- (DBTEAMLOGBinderRemoveSectionDetails *)binderRemoveSectionDetails { + if (![self isBinderRemoveSectionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderRemoveSectionDetails, but was %@.", [self tagName]]; + } + return _binderRemoveSectionDetails; +} + +- (DBTEAMLOGBinderRenamePageDetails *)binderRenamePageDetails { + if (![self isBinderRenamePageDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderRenamePageDetails, but was %@.", [self tagName]]; + } + return _binderRenamePageDetails; +} + +- (DBTEAMLOGBinderRenameSectionDetails *)binderRenameSectionDetails { + if (![self isBinderRenameSectionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderRenameSectionDetails, but was %@.", [self tagName]]; + } + return _binderRenameSectionDetails; +} + +- (DBTEAMLOGBinderReorderPageDetails *)binderReorderPageDetails { + if (![self isBinderReorderPageDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderReorderPageDetails, but was %@.", [self tagName]]; + } + return _binderReorderPageDetails; +} + +- (DBTEAMLOGBinderReorderSectionDetails *)binderReorderSectionDetails { + if (![self isBinderReorderSectionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsBinderReorderSectionDetails, but was %@.", [self tagName]]; + } + return _binderReorderSectionDetails; +} + +- (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails { + if (![self isPaperContentAddMemberDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentAddMemberDetails, but was %@.", [self tagName]]; + } + return _paperContentAddMemberDetails; +} + +- (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails { + if (![self isPaperContentAddToFolderDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentAddToFolderDetails, but was %@.", + [self tagName]]; + } + return _paperContentAddToFolderDetails; +} + +- (DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails { + if (![self isPaperContentArchiveDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentArchiveDetails, but was %@.", [self tagName]]; + } + return _paperContentArchiveDetails; +} + +- (DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails { + if (![self isPaperContentCreateDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentCreateDetails, but was %@.", [self tagName]]; + } + return _paperContentCreateDetails; +} + +- (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails { + if (![self isPaperContentPermanentlyDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails, but was %@.", + [self tagName]]; + } + return _paperContentPermanentlyDeleteDetails; +} + +- (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails { + if (![self isPaperContentRemoveFromFolderDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails, but was %@.", + [self tagName]]; + } + return _paperContentRemoveFromFolderDetails; +} + +- (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails { + if (![self isPaperContentRemoveMemberDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails, but was %@.", + [self tagName]]; + } + return _paperContentRemoveMemberDetails; +} + +- (DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails { + if (![self isPaperContentRenameDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRenameDetails, but was %@.", [self tagName]]; + } + return _paperContentRenameDetails; +} + +- (DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails { + if (![self isPaperContentRestoreDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperContentRestoreDetails, but was %@.", [self tagName]]; + } + return _paperContentRestoreDetails; +} + +- (DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails { + if (![self isPaperDocAddCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocAddCommentDetails, but was %@.", [self tagName]]; + } + return _paperDocAddCommentDetails; +} + +- (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails { + if (![self isPaperDocChangeMemberRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails, but was %@.", + [self tagName]]; + } + return _paperDocChangeMemberRoleDetails; +} + +- (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails { + if (![self isPaperDocChangeSharingPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails, but was %@.", + [self tagName]]; + } + return _paperDocChangeSharingPolicyDetails; +} + +- (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails { + if (![self isPaperDocChangeSubscriptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails, but was %@.", + [self tagName]]; + } + return _paperDocChangeSubscriptionDetails; +} + +- (DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails { + if (![self isPaperDocDeletedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDeletedDetails, but was %@.", [self tagName]]; + } + return _paperDocDeletedDetails; +} + +- (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails { + if (![self isPaperDocDeleteCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails, but was %@.", [self tagName]]; + } + return _paperDocDeleteCommentDetails; +} + +- (DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails { + if (![self isPaperDocDownloadDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocDownloadDetails, but was %@.", [self tagName]]; + } + return _paperDocDownloadDetails; +} + +- (DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails { + if (![self isPaperDocEditDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocEditDetails, but was %@.", [self tagName]]; + } + return _paperDocEditDetails; +} + +- (DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails { + if (![self isPaperDocEditCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocEditCommentDetails, but was %@.", [self tagName]]; + } + return _paperDocEditCommentDetails; +} + +- (DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails { + if (![self isPaperDocFollowedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocFollowedDetails, but was %@.", [self tagName]]; + } + return _paperDocFollowedDetails; +} + +- (DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails { + if (![self isPaperDocMentionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocMentionDetails, but was %@.", [self tagName]]; + } + return _paperDocMentionDetails; +} + +- (DBTEAMLOGPaperDocOwnershipChangedDetails *)paperDocOwnershipChangedDetails { + if (![self isPaperDocOwnershipChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails, but was %@.", + [self tagName]]; + } + return _paperDocOwnershipChangedDetails; +} + +- (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails { + if (![self isPaperDocRequestAccessDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocRequestAccessDetails, but was %@.", [self tagName]]; + } + return _paperDocRequestAccessDetails; +} + +- (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails { + if (![self isPaperDocResolveCommentDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocResolveCommentDetails, but was %@.", + [self tagName]]; + } + return _paperDocResolveCommentDetails; +} + +- (DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails { + if (![self isPaperDocRevertDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocRevertDetails, but was %@.", [self tagName]]; + } + return _paperDocRevertDetails; +} + +- (DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails { + if (![self isPaperDocSlackShareDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocSlackShareDetails, but was %@.", [self tagName]]; + } + return _paperDocSlackShareDetails; +} + +- (DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails { + if (![self isPaperDocTeamInviteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocTeamInviteDetails, but was %@.", [self tagName]]; + } + return _paperDocTeamInviteDetails; +} + +- (DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails { + if (![self isPaperDocTrashedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocTrashedDetails, but was %@.", [self tagName]]; + } + return _paperDocTrashedDetails; +} + +- (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails { + if (![self isPaperDocUnresolveCommentDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails, but was %@.", + [self tagName]]; + } + return _paperDocUnresolveCommentDetails; +} + +- (DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails { + if (![self isPaperDocUntrashedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocUntrashedDetails, but was %@.", [self tagName]]; + } + return _paperDocUntrashedDetails; +} + +- (DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails { + if (![self isPaperDocViewDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDocViewDetails, but was %@.", [self tagName]]; + } + return _paperDocViewDetails; +} + +- (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails { + if (![self isPaperExternalViewAllowDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewAllowDetails, but was %@.", + [self tagName]]; + } + return _paperExternalViewAllowDetails; +} + +- (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails { + if (![self isPaperExternalViewDefaultTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails, but was %@.", + [self tagName]]; + } + return _paperExternalViewDefaultTeamDetails; +} + +- (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails { + if (![self isPaperExternalViewForbidDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperExternalViewForbidDetails, but was %@.", + [self tagName]]; + } + return _paperExternalViewForbidDetails; +} + +- (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails { + if (![self isPaperFolderChangeSubscriptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails, but was %@.", + [self tagName]]; + } + return _paperFolderChangeSubscriptionDetails; +} + +- (DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails { + if (![self isPaperFolderDeletedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderDeletedDetails, but was %@.", [self tagName]]; + } + return _paperFolderDeletedDetails; +} + +- (DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails { + if (![self isPaperFolderFollowedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderFollowedDetails, but was %@.", [self tagName]]; + } + return _paperFolderFollowedDetails; +} + +- (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails { + if (![self isPaperFolderTeamInviteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails, but was %@.", [self tagName]]; + } + return _paperFolderTeamInviteDetails; +} + +- (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)paperPublishedLinkChangePermissionDetails { + if (![self isPaperPublishedLinkChangePermissionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails, but was %@.", + [self tagName]]; + } + return _paperPublishedLinkChangePermissionDetails; +} + +- (DBTEAMLOGPaperPublishedLinkCreateDetails *)paperPublishedLinkCreateDetails { + if (![self isPaperPublishedLinkCreateDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails, but was %@.", + [self tagName]]; + } + return _paperPublishedLinkCreateDetails; +} + +- (DBTEAMLOGPaperPublishedLinkDisabledDetails *)paperPublishedLinkDisabledDetails { + if (![self isPaperPublishedLinkDisabledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails, but was %@.", + [self tagName]]; + } + return _paperPublishedLinkDisabledDetails; +} + +- (DBTEAMLOGPaperPublishedLinkViewDetails *)paperPublishedLinkViewDetails { + if (![self isPaperPublishedLinkViewDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails, but was %@.", + [self tagName]]; + } + return _paperPublishedLinkViewDetails; +} + +- (DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails { + if (![self isPasswordChangeDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordChangeDetails, but was %@.", [self tagName]]; + } + return _passwordChangeDetails; +} + +- (DBTEAMLOGPasswordResetDetails *)passwordResetDetails { + if (![self isPasswordResetDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordResetDetails, but was %@.", [self tagName]]; + } + return _passwordResetDetails; +} + +- (DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails { + if (![self isPasswordResetAllDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordResetAllDetails, but was %@.", [self tagName]]; + } + return _passwordResetAllDetails; +} + +- (DBTEAMLOGClassificationCreateReportDetails *)classificationCreateReportDetails { + if (![self isClassificationCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsClassificationCreateReportDetails, but was %@.", + [self tagName]]; + } + return _classificationCreateReportDetails; +} + +- (DBTEAMLOGClassificationCreateReportFailDetails *)classificationCreateReportFailDetails { + if (![self isClassificationCreateReportFailDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsClassificationCreateReportFailDetails, but was %@.", + [self tagName]]; + } + return _classificationCreateReportFailDetails; +} + +- (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails { + if (![self isEmmCreateExceptionsReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails, but was %@.", + [self tagName]]; + } + return _emmCreateExceptionsReportDetails; +} + +- (DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails { + if (![self isEmmCreateUsageReportDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmCreateUsageReportDetails, but was %@.", [self tagName]]; + } + return _emmCreateUsageReportDetails; +} + +- (DBTEAMLOGExportMembersReportDetails *)exportMembersReportDetails { + if (![self isExportMembersReportDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExportMembersReportDetails, but was %@.", [self tagName]]; + } + return _exportMembersReportDetails; +} + +- (DBTEAMLOGExportMembersReportFailDetails *)exportMembersReportFailDetails { + if (![self isExportMembersReportFailDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExportMembersReportFailDetails, but was %@.", + [self tagName]]; + } + return _exportMembersReportFailDetails; +} + +- (DBTEAMLOGExternalSharingCreateReportDetails *)externalSharingCreateReportDetails { + if (![self isExternalSharingCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExternalSharingCreateReportDetails, but was %@.", + [self tagName]]; + } + return _externalSharingCreateReportDetails; +} + +- (DBTEAMLOGExternalSharingReportFailedDetails *)externalSharingReportFailedDetails { + if (![self isExternalSharingReportFailedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExternalSharingReportFailedDetails, but was %@.", + [self tagName]]; + } + return _externalSharingReportFailedDetails; +} + +- (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)noExpirationLinkGenCreateReportDetails { + if (![self isNoExpirationLinkGenCreateReportDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails, but was %@.", + [self tagName]]; + } + return _noExpirationLinkGenCreateReportDetails; +} + +- (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)noExpirationLinkGenReportFailedDetails { + if (![self isNoExpirationLinkGenReportFailedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails, but was %@.", + [self tagName]]; + } + return _noExpirationLinkGenReportFailedDetails; +} + +- (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)noPasswordLinkGenCreateReportDetails { + if (![self isNoPasswordLinkGenCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails, but was %@.", + [self tagName]]; + } + return _noPasswordLinkGenCreateReportDetails; +} + +- (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)noPasswordLinkGenReportFailedDetails { + if (![self isNoPasswordLinkGenReportFailedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails, but was %@.", + [self tagName]]; + } + return _noPasswordLinkGenReportFailedDetails; +} + +- (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)noPasswordLinkViewCreateReportDetails { + if (![self isNoPasswordLinkViewCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails, but was %@.", + [self tagName]]; + } + return _noPasswordLinkViewCreateReportDetails; +} + +- (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)noPasswordLinkViewReportFailedDetails { + if (![self isNoPasswordLinkViewReportFailedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails, but was %@.", + [self tagName]]; + } + return _noPasswordLinkViewReportFailedDetails; +} + +- (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)outdatedLinkViewCreateReportDetails { + if (![self isOutdatedLinkViewCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails, but was %@.", + [self tagName]]; + } + return _outdatedLinkViewCreateReportDetails; +} + +- (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)outdatedLinkViewReportFailedDetails { + if (![self isOutdatedLinkViewReportFailedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails, but was %@.", + [self tagName]]; + } + return _outdatedLinkViewReportFailedDetails; +} + +- (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails { + if (![self isPaperAdminExportStartDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperAdminExportStartDetails, but was %@.", [self tagName]]; + } + return _paperAdminExportStartDetails; +} + +- (DBTEAMLOGRansomwareAlertCreateReportDetails *)ransomwareAlertCreateReportDetails { + if (![self isRansomwareAlertCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails, but was %@.", + [self tagName]]; + } + return _ransomwareAlertCreateReportDetails; +} + +- (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)ransomwareAlertCreateReportFailedDetails { + if (![self isRansomwareAlertCreateReportFailedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails, but was %@.", + [self tagName]]; + } + return _ransomwareAlertCreateReportFailedDetails; +} + +- (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails { + if (![self isSmartSyncCreateAdminPrivilegeReportDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails, but was %@.", + [self tagName]]; + } + return _smartSyncCreateAdminPrivilegeReportDetails; +} + +- (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails { + if (![self isTeamActivityCreateReportDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamActivityCreateReportDetails, but was %@.", + [self tagName]]; + } + return _teamActivityCreateReportDetails; +} + +- (DBTEAMLOGTeamActivityCreateReportFailDetails *)teamActivityCreateReportFailDetails { + if (![self isTeamActivityCreateReportFailDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails, but was %@.", + [self tagName]]; + } + return _teamActivityCreateReportFailDetails; +} + +- (DBTEAMLOGCollectionShareDetails *)collectionShareDetails { + if (![self isCollectionShareDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsCollectionShareDetails, but was %@.", [self tagName]]; + } + return _collectionShareDetails; +} + +- (DBTEAMLOGFileTransfersFileAddDetails *)fileTransfersFileAddDetails { + if (![self isFileTransfersFileAddDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersFileAddDetails, but was %@.", [self tagName]]; + } + return _fileTransfersFileAddDetails; +} + +- (DBTEAMLOGFileTransfersTransferDeleteDetails *)fileTransfersTransferDeleteDetails { + if (![self isFileTransfersTransferDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails, but was %@.", + [self tagName]]; + } + return _fileTransfersTransferDeleteDetails; +} + +- (DBTEAMLOGFileTransfersTransferDownloadDetails *)fileTransfersTransferDownloadDetails { + if (![self isFileTransfersTransferDownloadDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails, but was %@.", + [self tagName]]; + } + return _fileTransfersTransferDownloadDetails; +} + +- (DBTEAMLOGFileTransfersTransferSendDetails *)fileTransfersTransferSendDetails { + if (![self isFileTransfersTransferSendDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersTransferSendDetails, but was %@.", + [self tagName]]; + } + return _fileTransfersTransferSendDetails; +} + +- (DBTEAMLOGFileTransfersTransferViewDetails *)fileTransfersTransferViewDetails { + if (![self isFileTransfersTransferViewDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersTransferViewDetails, but was %@.", + [self tagName]]; + } + return _fileTransfersTransferViewDetails; +} + +- (DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails { + if (![self isNoteAclInviteOnlyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails, but was %@.", [self tagName]]; + } + return _noteAclInviteOnlyDetails; +} + +- (DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails { + if (![self isNoteAclLinkDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclLinkDetails, but was %@.", [self tagName]]; + } + return _noteAclLinkDetails; +} + +- (DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails { + if (![self isNoteAclTeamLinkDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteAclTeamLinkDetails, but was %@.", [self tagName]]; + } + return _noteAclTeamLinkDetails; +} + +- (DBTEAMLOGNoteSharedDetails *)noteSharedDetails { + if (![self isNoteSharedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteSharedDetails, but was %@.", [self tagName]]; + } + return _noteSharedDetails; +} + +- (DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails { + if (![self isNoteShareReceiveDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNoteShareReceiveDetails, but was %@.", [self tagName]]; + } + return _noteShareReceiveDetails; +} + +- (DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails { + if (![self isOpenNoteSharedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsOpenNoteSharedDetails, but was %@.", [self tagName]]; + } + return _openNoteSharedDetails; +} + +- (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)replayFileSharedLinkCreatedDetails { + if (![self isReplayFileSharedLinkCreatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails, but was %@.", + [self tagName]]; + } + return _replayFileSharedLinkCreatedDetails; +} + +- (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)replayFileSharedLinkModifiedDetails { + if (![self isReplayFileSharedLinkModifiedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails, but was %@.", + [self tagName]]; + } + return _replayFileSharedLinkModifiedDetails; +} + +- (DBTEAMLOGReplayProjectTeamAddDetails *)replayProjectTeamAddDetails { + if (![self isReplayProjectTeamAddDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsReplayProjectTeamAddDetails, but was %@.", [self tagName]]; + } + return _replayProjectTeamAddDetails; +} + +- (DBTEAMLOGReplayProjectTeamDeleteDetails *)replayProjectTeamDeleteDetails { + if (![self isReplayProjectTeamDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails, but was %@.", + [self tagName]]; + } + return _replayProjectTeamDeleteDetails; +} + +- (DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails { + if (![self isSfAddGroupDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfAddGroupDetails, but was %@.", [self tagName]]; + } + return _sfAddGroupDetails; +} + +- (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails { + if (![self isSfAllowNonMembersToViewSharedLinksDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails, but was %@.", + [self tagName]]; + } + return _sfAllowNonMembersToViewSharedLinksDetails; +} + +- (DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails { + if (![self isSfExternalInviteWarnDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfExternalInviteWarnDetails, but was %@.", [self tagName]]; + } + return _sfExternalInviteWarnDetails; +} + +- (DBTEAMLOGSfFbInviteDetails *)sfFbInviteDetails { + if (![self isSfFbInviteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfFbInviteDetails, but was %@.", [self tagName]]; + } + return _sfFbInviteDetails; +} + +- (DBTEAMLOGSfFbInviteChangeRoleDetails *)sfFbInviteChangeRoleDetails { + if (![self isSfFbInviteChangeRoleDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails, but was %@.", [self tagName]]; + } + return _sfFbInviteChangeRoleDetails; +} + +- (DBTEAMLOGSfFbUninviteDetails *)sfFbUninviteDetails { + if (![self isSfFbUninviteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfFbUninviteDetails, but was %@.", [self tagName]]; + } + return _sfFbUninviteDetails; +} + +- (DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails { + if (![self isSfInviteGroupDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfInviteGroupDetails, but was %@.", [self tagName]]; + } + return _sfInviteGroupDetails; +} + +- (DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails { + if (![self isSfTeamGrantAccessDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamGrantAccessDetails, but was %@.", [self tagName]]; + } + return _sfTeamGrantAccessDetails; +} + +- (DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails { + if (![self isSfTeamInviteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamInviteDetails, but was %@.", [self tagName]]; + } + return _sfTeamInviteDetails; +} + +- (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails { + if (![self isSfTeamInviteChangeRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails, but was %@.", + [self tagName]]; + } + return _sfTeamInviteChangeRoleDetails; +} + +- (DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails { + if (![self isSfTeamJoinDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamJoinDetails, but was %@.", [self tagName]]; + } + return _sfTeamJoinDetails; +} + +- (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails { + if (![self isSfTeamJoinFromOobLinkDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails, but was %@.", [self tagName]]; + } + return _sfTeamJoinFromOobLinkDetails; +} + +- (DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails { + if (![self isSfTeamUninviteDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSfTeamUninviteDetails, but was %@.", [self tagName]]; + } + return _sfTeamUninviteDetails; +} + +- (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails { + if (![self isSharedContentAddInviteesDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddInviteesDetails, but was %@.", + [self tagName]]; + } + return _sharedContentAddInviteesDetails; +} + +- (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails { + if (![self isSharedContentAddLinkExpiryDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails, but was %@.", + [self tagName]]; + } + return _sharedContentAddLinkExpiryDetails; +} + +- (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails { + if (![self isSharedContentAddLinkPasswordDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedContentAddLinkPasswordDetails; +} + +- (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails { + if (![self isSharedContentAddMemberDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentAddMemberDetails, but was %@.", + [self tagName]]; + } + return _sharedContentAddMemberDetails; +} + +- (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails { + if (![self isSharedContentChangeDownloadsPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeDownloadsPolicyDetails; +} + +- (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails { + if (![self isSharedContentChangeInviteeRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeInviteeRoleDetails; +} + +- (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails { + if (![self isSharedContentChangeLinkAudienceDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeLinkAudienceDetails; +} + +- (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails { + if (![self isSharedContentChangeLinkExpiryDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeLinkExpiryDetails; +} + +- (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails { + if (![self isSharedContentChangeLinkPasswordDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeLinkPasswordDetails; +} + +- (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails { + if (![self isSharedContentChangeMemberRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeMemberRoleDetails; +} + +- (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails { + if (![self isSharedContentChangeViewerInfoPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharedContentChangeViewerInfoPolicyDetails; +} + +- (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails { + if (![self isSharedContentClaimInvitationDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails, but was %@.", + [self tagName]]; + } + return _sharedContentClaimInvitationDetails; +} + +- (DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails { + if (![self isSharedContentCopyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentCopyDetails, but was %@.", [self tagName]]; + } + return _sharedContentCopyDetails; +} + +- (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails { + if (![self isSharedContentDownloadDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentDownloadDetails, but was %@.", [self tagName]]; + } + return _sharedContentDownloadDetails; +} + +- (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails { + if (![self isSharedContentRelinquishMembershipDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRelinquishMembershipDetails; +} + +- (DBTEAMLOGSharedContentRemoveInviteesDetails *)sharedContentRemoveInviteesDetails { + if (![self isSharedContentRemoveInviteesDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRemoveInviteesDetails; +} + +- (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails { + if (![self isSharedContentRemoveLinkExpiryDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRemoveLinkExpiryDetails; +} + +- (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails { + if (![self isSharedContentRemoveLinkPasswordDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRemoveLinkPasswordDetails; +} + +- (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails { + if (![self isSharedContentRemoveMemberDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRemoveMemberDetails; +} + +- (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails { + if (![self isSharedContentRequestAccessDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRequestAccessDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRequestAccessDetails; +} + +- (DBTEAMLOGSharedContentRestoreInviteesDetails *)sharedContentRestoreInviteesDetails { + if (![self isSharedContentRestoreInviteesDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRestoreInviteesDetails; +} + +- (DBTEAMLOGSharedContentRestoreMemberDetails *)sharedContentRestoreMemberDetails { + if (![self isSharedContentRestoreMemberDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails, but was %@.", + [self tagName]]; + } + return _sharedContentRestoreMemberDetails; +} + +- (DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails { + if (![self isSharedContentUnshareDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentUnshareDetails, but was %@.", [self tagName]]; + } + return _sharedContentUnshareDetails; +} + +- (DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails { + if (![self isSharedContentViewDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedContentViewDetails, but was %@.", [self tagName]]; + } + return _sharedContentViewDetails; +} + +- (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails { + if (![self isSharedFolderChangeLinkPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharedFolderChangeLinkPolicyDetails; +} + +- (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)sharedFolderChangeMembersInheritancePolicyDetails { + if (![self isSharedFolderChangeMembersInheritancePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails, " + @"but was %@.", + [self tagName]]; + } + return _sharedFolderChangeMembersInheritancePolicyDetails; +} + +- (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)sharedFolderChangeMembersManagementPolicyDetails { + if (![self isSharedFolderChangeMembersManagementPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails, " + @"but was %@.", + [self tagName]]; + } + return _sharedFolderChangeMembersManagementPolicyDetails; +} + +- (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)sharedFolderChangeMembersPolicyDetails { + if (![self isSharedFolderChangeMembersPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharedFolderChangeMembersPolicyDetails; +} + +- (DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails { + if (![self isSharedFolderCreateDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderCreateDetails, but was %@.", [self tagName]]; + } + return _sharedFolderCreateDetails; +} + +- (DBTEAMLOGSharedFolderDeclineInvitationDetails *)sharedFolderDeclineInvitationDetails { + if (![self isSharedFolderDeclineInvitationDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails, but was %@.", + [self tagName]]; + } + return _sharedFolderDeclineInvitationDetails; +} + +- (DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails { + if (![self isSharedFolderMountDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderMountDetails, but was %@.", [self tagName]]; + } + return _sharedFolderMountDetails; +} + +- (DBTEAMLOGSharedFolderNestDetails *)sharedFolderNestDetails { + if (![self isSharedFolderNestDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderNestDetails, but was %@.", [self tagName]]; + } + return _sharedFolderNestDetails; +} + +- (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails { + if (![self isSharedFolderTransferOwnershipDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails, but was %@.", + [self tagName]]; + } + return _sharedFolderTransferOwnershipDetails; +} + +- (DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails { + if (![self isSharedFolderUnmountDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedFolderUnmountDetails, but was %@.", [self tagName]]; + } + return _sharedFolderUnmountDetails; +} + +- (DBTEAMLOGSharedLinkAddExpiryDetails *)sharedLinkAddExpiryDetails { + if (![self isSharedLinkAddExpiryDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails, but was %@.", [self tagName]]; + } + return _sharedLinkAddExpiryDetails; +} + +- (DBTEAMLOGSharedLinkChangeExpiryDetails *)sharedLinkChangeExpiryDetails { + if (![self isSharedLinkChangeExpiryDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkChangeExpiryDetails; +} + +- (DBTEAMLOGSharedLinkChangeVisibilityDetails *)sharedLinkChangeVisibilityDetails { + if (![self isSharedLinkChangeVisibilityDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkChangeVisibilityDetails; +} + +- (DBTEAMLOGSharedLinkCopyDetails *)sharedLinkCopyDetails { + if (![self isSharedLinkCopyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkCopyDetails, but was %@.", [self tagName]]; + } + return _sharedLinkCopyDetails; +} + +- (DBTEAMLOGSharedLinkCreateDetails *)sharedLinkCreateDetails { + if (![self isSharedLinkCreateDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkCreateDetails, but was %@.", [self tagName]]; + } + return _sharedLinkCreateDetails; +} + +- (DBTEAMLOGSharedLinkDisableDetails *)sharedLinkDisableDetails { + if (![self isSharedLinkDisableDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkDisableDetails, but was %@.", [self tagName]]; + } + return _sharedLinkDisableDetails; +} + +- (DBTEAMLOGSharedLinkDownloadDetails *)sharedLinkDownloadDetails { + if (![self isSharedLinkDownloadDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkDownloadDetails, but was %@.", [self tagName]]; + } + return _sharedLinkDownloadDetails; +} + +- (DBTEAMLOGSharedLinkRemoveExpiryDetails *)sharedLinkRemoveExpiryDetails { + if (![self isSharedLinkRemoveExpiryDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkRemoveExpiryDetails; +} + +- (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)sharedLinkSettingsAddExpirationDetails { + if (![self isSharedLinkSettingsAddExpirationDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsAddExpirationDetails; +} + +- (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)sharedLinkSettingsAddPasswordDetails { + if (![self isSharedLinkSettingsAddPasswordDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsAddPasswordDetails; +} + +- (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)sharedLinkSettingsAllowDownloadDisabledDetails { + if (![self isSharedLinkSettingsAllowDownloadDisabledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails, " + @"but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsAllowDownloadDisabledDetails; +} + +- (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)sharedLinkSettingsAllowDownloadEnabledDetails { + if (![self isSharedLinkSettingsAllowDownloadEnabledDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsAllowDownloadEnabledDetails; +} + +- (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)sharedLinkSettingsChangeAudienceDetails { + if (![self isSharedLinkSettingsChangeAudienceDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsChangeAudienceDetails; +} + +- (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)sharedLinkSettingsChangeExpirationDetails { + if (![self isSharedLinkSettingsChangeExpirationDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsChangeExpirationDetails; +} + +- (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)sharedLinkSettingsChangePasswordDetails { + if (![self isSharedLinkSettingsChangePasswordDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsChangePasswordDetails; +} + +- (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)sharedLinkSettingsRemoveExpirationDetails { + if (![self isSharedLinkSettingsRemoveExpirationDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsRemoveExpirationDetails; +} + +- (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)sharedLinkSettingsRemovePasswordDetails { + if (![self isSharedLinkSettingsRemovePasswordDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails, but was %@.", + [self tagName]]; + } + return _sharedLinkSettingsRemovePasswordDetails; +} + +- (DBTEAMLOGSharedLinkShareDetails *)sharedLinkShareDetails { + if (![self isSharedLinkShareDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkShareDetails, but was %@.", [self tagName]]; + } + return _sharedLinkShareDetails; +} + +- (DBTEAMLOGSharedLinkViewDetails *)sharedLinkViewDetails { + if (![self isSharedLinkViewDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedLinkViewDetails, but was %@.", [self tagName]]; + } + return _sharedLinkViewDetails; +} + +- (DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails { + if (![self isSharedNoteOpenedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharedNoteOpenedDetails, but was %@.", [self tagName]]; + } + return _sharedNoteOpenedDetails; +} + +- (DBTEAMLOGShmodelDisableDownloadsDetails *)shmodelDisableDownloadsDetails { + if (![self isShmodelDisableDownloadsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails, but was %@.", + [self tagName]]; + } + return _shmodelDisableDownloadsDetails; +} + +- (DBTEAMLOGShmodelEnableDownloadsDetails *)shmodelEnableDownloadsDetails { + if (![self isShmodelEnableDownloadsDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails, but was %@.", + [self tagName]]; + } + return _shmodelEnableDownloadsDetails; +} + +- (DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails { + if (![self isShmodelGroupShareDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShmodelGroupShareDetails, but was %@.", [self tagName]]; + } + return _shmodelGroupShareDetails; +} + +- (DBTEAMLOGShowcaseAccessGrantedDetails *)showcaseAccessGrantedDetails { + if (![self isShowcaseAccessGrantedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails, but was %@.", [self tagName]]; + } + return _showcaseAccessGrantedDetails; +} + +- (DBTEAMLOGShowcaseAddMemberDetails *)showcaseAddMemberDetails { + if (![self isShowcaseAddMemberDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseAddMemberDetails, but was %@.", [self tagName]]; + } + return _showcaseAddMemberDetails; +} + +- (DBTEAMLOGShowcaseArchivedDetails *)showcaseArchivedDetails { + if (![self isShowcaseArchivedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseArchivedDetails, but was %@.", [self tagName]]; + } + return _showcaseArchivedDetails; +} + +- (DBTEAMLOGShowcaseCreatedDetails *)showcaseCreatedDetails { + if (![self isShowcaseCreatedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseCreatedDetails, but was %@.", [self tagName]]; + } + return _showcaseCreatedDetails; +} + +- (DBTEAMLOGShowcaseDeleteCommentDetails *)showcaseDeleteCommentDetails { + if (![self isShowcaseDeleteCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails, but was %@.", [self tagName]]; + } + return _showcaseDeleteCommentDetails; +} + +- (DBTEAMLOGShowcaseEditedDetails *)showcaseEditedDetails { + if (![self isShowcaseEditedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseEditedDetails, but was %@.", [self tagName]]; + } + return _showcaseEditedDetails; +} + +- (DBTEAMLOGShowcaseEditCommentDetails *)showcaseEditCommentDetails { + if (![self isShowcaseEditCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseEditCommentDetails, but was %@.", [self tagName]]; + } + return _showcaseEditCommentDetails; +} + +- (DBTEAMLOGShowcaseFileAddedDetails *)showcaseFileAddedDetails { + if (![self isShowcaseFileAddedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseFileAddedDetails, but was %@.", [self tagName]]; + } + return _showcaseFileAddedDetails; +} + +- (DBTEAMLOGShowcaseFileDownloadDetails *)showcaseFileDownloadDetails { + if (![self isShowcaseFileDownloadDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseFileDownloadDetails, but was %@.", [self tagName]]; + } + return _showcaseFileDownloadDetails; +} + +- (DBTEAMLOGShowcaseFileRemovedDetails *)showcaseFileRemovedDetails { + if (![self isShowcaseFileRemovedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseFileRemovedDetails, but was %@.", [self tagName]]; + } + return _showcaseFileRemovedDetails; +} + +- (DBTEAMLOGShowcaseFileViewDetails *)showcaseFileViewDetails { + if (![self isShowcaseFileViewDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseFileViewDetails, but was %@.", [self tagName]]; + } + return _showcaseFileViewDetails; +} + +- (DBTEAMLOGShowcasePermanentlyDeletedDetails *)showcasePermanentlyDeletedDetails { + if (![self isShowcasePermanentlyDeletedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails, but was %@.", + [self tagName]]; + } + return _showcasePermanentlyDeletedDetails; +} + +- (DBTEAMLOGShowcasePostCommentDetails *)showcasePostCommentDetails { + if (![self isShowcasePostCommentDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcasePostCommentDetails, but was %@.", [self tagName]]; + } + return _showcasePostCommentDetails; +} + +- (DBTEAMLOGShowcaseRemoveMemberDetails *)showcaseRemoveMemberDetails { + if (![self isShowcaseRemoveMemberDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails, but was %@.", [self tagName]]; + } + return _showcaseRemoveMemberDetails; +} + +- (DBTEAMLOGShowcaseRenamedDetails *)showcaseRenamedDetails { + if (![self isShowcaseRenamedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseRenamedDetails, but was %@.", [self tagName]]; + } + return _showcaseRenamedDetails; +} + +- (DBTEAMLOGShowcaseRequestAccessDetails *)showcaseRequestAccessDetails { + if (![self isShowcaseRequestAccessDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseRequestAccessDetails, but was %@.", [self tagName]]; + } + return _showcaseRequestAccessDetails; +} + +- (DBTEAMLOGShowcaseResolveCommentDetails *)showcaseResolveCommentDetails { + if (![self isShowcaseResolveCommentDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseResolveCommentDetails, but was %@.", + [self tagName]]; + } + return _showcaseResolveCommentDetails; +} + +- (DBTEAMLOGShowcaseRestoredDetails *)showcaseRestoredDetails { + if (![self isShowcaseRestoredDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseRestoredDetails, but was %@.", [self tagName]]; + } + return _showcaseRestoredDetails; +} + +- (DBTEAMLOGShowcaseTrashedDetails *)showcaseTrashedDetails { + if (![self isShowcaseTrashedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseTrashedDetails, but was %@.", [self tagName]]; + } + return _showcaseTrashedDetails; +} + +- (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)showcaseTrashedDeprecatedDetails { + if (![self isShowcaseTrashedDeprecatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails, but was %@.", + [self tagName]]; + } + return _showcaseTrashedDeprecatedDetails; +} + +- (DBTEAMLOGShowcaseUnresolveCommentDetails *)showcaseUnresolveCommentDetails { + if (![self isShowcaseUnresolveCommentDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails, but was %@.", + [self tagName]]; + } + return _showcaseUnresolveCommentDetails; +} + +- (DBTEAMLOGShowcaseUntrashedDetails *)showcaseUntrashedDetails { + if (![self isShowcaseUntrashedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseUntrashedDetails, but was %@.", [self tagName]]; + } + return _showcaseUntrashedDetails; +} + +- (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)showcaseUntrashedDeprecatedDetails { + if (![self isShowcaseUntrashedDeprecatedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails, but was %@.", + [self tagName]]; + } + return _showcaseUntrashedDeprecatedDetails; +} + +- (DBTEAMLOGShowcaseViewDetails *)showcaseViewDetails { + if (![self isShowcaseViewDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseViewDetails, but was %@.", [self tagName]]; + } + return _showcaseViewDetails; +} + +- (DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails { + if (![self isSsoAddCertDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddCertDetails, but was %@.", [self tagName]]; + } + return _ssoAddCertDetails; +} + +- (DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails { + if (![self isSsoAddLoginUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddLoginUrlDetails, but was %@.", [self tagName]]; + } + return _ssoAddLoginUrlDetails; +} + +- (DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails { + if (![self isSsoAddLogoutUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails, but was %@.", [self tagName]]; + } + return _ssoAddLogoutUrlDetails; +} + +- (DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails { + if (![self isSsoChangeCertDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeCertDetails, but was %@.", [self tagName]]; + } + return _ssoChangeCertDetails; +} + +- (DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails { + if (![self isSsoChangeLoginUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails, but was %@.", [self tagName]]; + } + return _ssoChangeLoginUrlDetails; +} + +- (DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails { + if (![self isSsoChangeLogoutUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails, but was %@.", [self tagName]]; + } + return _ssoChangeLogoutUrlDetails; +} + +- (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails { + if (![self isSsoChangeSamlIdentityModeDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails, but was %@.", + [self tagName]]; + } + return _ssoChangeSamlIdentityModeDetails; +} + +- (DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails { + if (![self isSsoRemoveCertDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveCertDetails, but was %@.", [self tagName]]; + } + return _ssoRemoveCertDetails; +} + +- (DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails { + if (![self isSsoRemoveLoginUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails, but was %@.", [self tagName]]; + } + return _ssoRemoveLoginUrlDetails; +} + +- (DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails { + if (![self isSsoRemoveLogoutUrlDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails, but was %@.", [self tagName]]; + } + return _ssoRemoveLogoutUrlDetails; +} + +- (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails { + if (![self isTeamFolderChangeStatusDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails, but was %@.", + [self tagName]]; + } + return _teamFolderChangeStatusDetails; +} + +- (DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails { + if (![self isTeamFolderCreateDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderCreateDetails, but was %@.", [self tagName]]; + } + return _teamFolderCreateDetails; +} + +- (DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails { + if (![self isTeamFolderDowngradeDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderDowngradeDetails, but was %@.", [self tagName]]; + } + return _teamFolderDowngradeDetails; +} + +- (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails { + if (![self isTeamFolderPermanentlyDeleteDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails, but was %@.", + [self tagName]]; + } + return _teamFolderPermanentlyDeleteDetails; +} + +- (DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails { + if (![self isTeamFolderRenameDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamFolderRenameDetails, but was %@.", [self tagName]]; + } + return _teamFolderRenameDetails; +} + +- (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)teamSelectiveSyncSettingsChangedDetails { + if (![self isTeamSelectiveSyncSettingsChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails, but was %@.", + [self tagName]]; + } + return _teamSelectiveSyncSettingsChangedDetails; +} + +- (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails { + if (![self isAccountCaptureChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _accountCaptureChangePolicyDetails; +} + +- (DBTEAMLOGAdminEmailRemindersChangedDetails *)adminEmailRemindersChangedDetails { + if (![self isAdminEmailRemindersChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails, but was %@.", + [self tagName]]; + } + return _adminEmailRemindersChangedDetails; +} + +- (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails { + if (![self isAllowDownloadDisabledDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAllowDownloadDisabledDetails, but was %@.", [self tagName]]; + } + return _allowDownloadDisabledDetails; +} + +- (DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails { + if (![self isAllowDownloadEnabledDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAllowDownloadEnabledDetails, but was %@.", [self tagName]]; + } + return _allowDownloadEnabledDetails; +} + +- (DBTEAMLOGAppPermissionsChangedDetails *)appPermissionsChangedDetails { + if (![self isAppPermissionsChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsAppPermissionsChangedDetails, but was %@.", [self tagName]]; + } + return _appPermissionsChangedDetails; +} + +- (DBTEAMLOGCameraUploadsPolicyChangedDetails *)cameraUploadsPolicyChangedDetails { + if (![self isCameraUploadsPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _cameraUploadsPolicyChangedDetails; +} + +- (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)captureTranscriptPolicyChangedDetails { + if (![self isCaptureTranscriptPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _captureTranscriptPolicyChangedDetails; +} + +- (DBTEAMLOGClassificationChangePolicyDetails *)classificationChangePolicyDetails { + if (![self isClassificationChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsClassificationChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _classificationChangePolicyDetails; +} + +- (DBTEAMLOGComputerBackupPolicyChangedDetails *)computerBackupPolicyChangedDetails { + if (![self isComputerBackupPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _computerBackupPolicyChangedDetails; +} + +- (DBTEAMLOGContentAdministrationPolicyChangedDetails *)contentAdministrationPolicyChangedDetails { + if (![self isContentAdministrationPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _contentAdministrationPolicyChangedDetails; +} + +- (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails { + if (![self isDataPlacementRestrictionChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _dataPlacementRestrictionChangePolicyDetails; +} + +- (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails { + if (![self isDataPlacementRestrictionSatisfyPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails, but was %@.", + [self tagName]]; + } + return _dataPlacementRestrictionSatisfyPolicyDetails; +} + +- (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deviceApprovalsAddExceptionDetails { + if (![self isDeviceApprovalsAddExceptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsAddExceptionDetails; +} + +- (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails { + if (![self isDeviceApprovalsChangeDesktopPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsChangeDesktopPolicyDetails; +} + +- (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails { + if (![self isDeviceApprovalsChangeMobilePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsChangeMobilePolicyDetails; +} + +- (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails { + if (![self isDeviceApprovalsChangeOverageActionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsChangeOverageActionDetails; +} + +- (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails { + if (![self isDeviceApprovalsChangeUnlinkActionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsChangeUnlinkActionDetails; +} + +- (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deviceApprovalsRemoveExceptionDetails { + if (![self isDeviceApprovalsRemoveExceptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails, but was %@.", + [self tagName]]; + } + return _deviceApprovalsRemoveExceptionDetails; +} + +- (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)directoryRestrictionsAddMembersDetails { + if (![self isDirectoryRestrictionsAddMembersDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails, but was %@.", + [self tagName]]; + } + return _directoryRestrictionsAddMembersDetails; +} + +- (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)directoryRestrictionsRemoveMembersDetails { + if (![self isDirectoryRestrictionsRemoveMembersDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails, but was %@.", + [self tagName]]; + } + return _directoryRestrictionsRemoveMembersDetails; +} + +- (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)dropboxPasswordsPolicyChangedDetails { + if (![self isDropboxPasswordsPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _dropboxPasswordsPolicyChangedDetails; +} + +- (DBTEAMLOGEmailIngestPolicyChangedDetails *)emailIngestPolicyChangedDetails { + if (![self isEmailIngestPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _emailIngestPolicyChangedDetails; +} + +- (DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails { + if (![self isEmmAddExceptionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmAddExceptionDetails, but was %@.", [self tagName]]; + } + return _emmAddExceptionDetails; +} + +- (DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails { + if (![self isEmmChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmChangePolicyDetails, but was %@.", [self tagName]]; + } + return _emmChangePolicyDetails; +} + +- (DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails { + if (![self isEmmRemoveExceptionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEmmRemoveExceptionDetails, but was %@.", [self tagName]]; + } + return _emmRemoveExceptionDetails; +} + +- (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails { + if (![self isExtendedVersionHistoryChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _extendedVersionHistoryChangePolicyDetails; +} + +- (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)externalDriveBackupPolicyChangedDetails { + if (![self isExternalDriveBackupPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _externalDriveBackupPolicyChangedDetails; +} + +- (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails { + if (![self isFileCommentsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _fileCommentsChangePolicyDetails; +} + +- (DBTEAMLOGFileLockingPolicyChangedDetails *)fileLockingPolicyChangedDetails { + if (![self isFileLockingPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _fileLockingPolicyChangedDetails; +} + +- (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)fileProviderMigrationPolicyChangedDetails { + if (![self isFileProviderMigrationPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _fileProviderMigrationPolicyChangedDetails; +} + +- (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails { + if (![self isFileRequestsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _fileRequestsChangePolicyDetails; +} + +- (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails { + if (![self isFileRequestsEmailsEnabledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails, but was %@.", + [self tagName]]; + } + return _fileRequestsEmailsEnabledDetails; +} + +- (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails { + if (![self isFileRequestsEmailsRestrictedToTeamOnlyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails, but was %@.", + [self tagName]]; + } + return _fileRequestsEmailsRestrictedToTeamOnlyDetails; +} + +- (DBTEAMLOGFileTransfersPolicyChangedDetails *)fileTransfersPolicyChangedDetails { + if (![self isFileTransfersPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _fileTransfersPolicyChangedDetails; +} + +- (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)folderLinkRestrictionPolicyChangedDetails { + if (![self isFolderLinkRestrictionPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _folderLinkRestrictionPolicyChangedDetails; +} + +- (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails { + if (![self isGoogleSsoChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails, but was %@.", [self tagName]]; + } + return _googleSsoChangePolicyDetails; +} + +- (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails { + if (![self isGroupUserManagementChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _groupUserManagementChangePolicyDetails; +} + +- (DBTEAMLOGIntegrationPolicyChangedDetails *)integrationPolicyChangedDetails { + if (![self isIntegrationPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _integrationPolicyChangedDetails; +} + +- (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)inviteAcceptanceEmailPolicyChangedDetails { + if (![self isInviteAcceptanceEmailPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _inviteAcceptanceEmailPolicyChangedDetails; +} + +- (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails { + if (![self isMemberRequestsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _memberRequestsChangePolicyDetails; +} + +- (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)memberSendInvitePolicyChangedDetails { + if (![self isMemberSendInvitePolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _memberSendInvitePolicyChangedDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails { + if (![self isMemberSpaceLimitsAddExceptionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsAddExceptionDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)memberSpaceLimitsChangeCapsTypePolicyDetails { + if (![self isMemberSpaceLimitsChangeCapsTypePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsChangeCapsTypePolicyDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails { + if (![self isMemberSpaceLimitsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsChangePolicyDetails; +} + +- (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails { + if (![self isMemberSpaceLimitsRemoveExceptionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsRemoveExceptionDetails; +} + +- (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails { + if (![self isMemberSuggestionsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _memberSuggestionsChangePolicyDetails; +} + +- (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails { + if (![self isMicrosoftOfficeAddinChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _microsoftOfficeAddinChangePolicyDetails; +} + +- (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails { + if (![self isNetworkControlChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _networkControlChangePolicyDetails; +} + +- (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails { + if (![self isPaperChangeDeploymentPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails, but was %@.", + [self tagName]]; + } + return _paperChangeDeploymentPolicyDetails; +} + +- (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails { + if (![self isPaperChangeMemberLinkPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails, but was %@.", + [self tagName]]; + } + return _paperChangeMemberLinkPolicyDetails; +} + +- (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails { + if (![self isPaperChangeMemberPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails, but was %@.", + [self tagName]]; + } + return _paperChangeMemberPolicyDetails; +} + +- (DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails { + if (![self isPaperChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperChangePolicyDetails, but was %@.", [self tagName]]; + } + return _paperChangePolicyDetails; +} + +- (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)paperDefaultFolderPolicyChangedDetails { + if (![self isPaperDefaultFolderPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _paperDefaultFolderPolicyChangedDetails; +} + +- (DBTEAMLOGPaperDesktopPolicyChangedDetails *)paperDesktopPolicyChangedDetails { + if (![self isPaperDesktopPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _paperDesktopPolicyChangedDetails; +} + +- (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails { + if (![self isPaperEnabledUsersGroupAdditionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails, but was %@.", + [self tagName]]; + } + return _paperEnabledUsersGroupAdditionDetails; +} + +- (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails { + if (![self isPaperEnabledUsersGroupRemovalDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails, but was %@.", + [self tagName]]; + } + return _paperEnabledUsersGroupRemovalDetails; +} + +- (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)passwordStrengthRequirementsChangePolicyDetails { + if (![self isPasswordStrengthRequirementsChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails, " + @"but was %@.", + [self tagName]]; + } + return _passwordStrengthRequirementsChangePolicyDetails; +} + +- (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails { + if (![self isPermanentDeleteChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _permanentDeleteChangePolicyDetails; +} + +- (DBTEAMLOGResellerSupportChangePolicyDetails *)resellerSupportChangePolicyDetails { + if (![self isResellerSupportChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _resellerSupportChangePolicyDetails; +} + +- (DBTEAMLOGRewindPolicyChangedDetails *)rewindPolicyChangedDetails { + if (![self isRewindPolicyChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsRewindPolicyChangedDetails, but was %@.", [self tagName]]; + } + return _rewindPolicyChangedDetails; +} + +- (DBTEAMLOGSendForSignaturePolicyChangedDetails *)sendForSignaturePolicyChangedDetails { + if (![self isSendForSignaturePolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _sendForSignaturePolicyChangedDetails; +} + +- (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails { + if (![self isSharingChangeFolderJoinPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharingChangeFolderJoinPolicyDetails; +} + +- (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)sharingChangeLinkAllowChangeExpirationPolicyDetails { + if (![self isSharingChangeLinkAllowChangeExpirationPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharingChangeLinkAllowChangeExpirationPolicyDetails; +} + +- (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)sharingChangeLinkDefaultExpirationPolicyDetails { + if (![self isSharingChangeLinkDefaultExpirationPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails, " + @"but was %@.", + [self tagName]]; + } + return _sharingChangeLinkDefaultExpirationPolicyDetails; +} + +- (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)sharingChangeLinkEnforcePasswordPolicyDetails { + if (![self isSharingChangeLinkEnforcePasswordPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharingChangeLinkEnforcePasswordPolicyDetails; +} + +- (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails { + if (![self isSharingChangeLinkPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharingChangeLinkPolicyDetails; +} + +- (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails { + if (![self isSharingChangeMemberPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails, but was %@.", + [self tagName]]; + } + return _sharingChangeMemberPolicyDetails; +} + +- (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)showcaseChangeDownloadPolicyDetails { + if (![self isShowcaseChangeDownloadPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails, but was %@.", + [self tagName]]; + } + return _showcaseChangeDownloadPolicyDetails; +} + +- (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)showcaseChangeEnabledPolicyDetails { + if (![self isShowcaseChangeEnabledPolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails, but was %@.", + [self tagName]]; + } + return _showcaseChangeEnabledPolicyDetails; +} + +- (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)showcaseChangeExternalSharingPolicyDetails { + if (![self isShowcaseChangeExternalSharingPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails, but was %@.", + [self tagName]]; + } + return _showcaseChangeExternalSharingPolicyDetails; +} + +- (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)smarterSmartSyncPolicyChangedDetails { + if (![self isSmarterSmartSyncPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _smarterSmartSyncPolicyChangedDetails; +} + +- (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails { + if (![self isSmartSyncChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails, but was %@.", [self tagName]]; + } + return _smartSyncChangePolicyDetails; +} + +- (DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails { + if (![self isSmartSyncNotOptOutDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails, but was %@.", [self tagName]]; + } + return _smartSyncNotOptOutDetails; +} + +- (DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails { + if (![self isSmartSyncOptOutDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSmartSyncOptOutDetails, but was %@.", [self tagName]]; + } + return _smartSyncOptOutDetails; +} + +- (DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails { + if (![self isSsoChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsSsoChangePolicyDetails, but was %@.", [self tagName]]; + } + return _ssoChangePolicyDetails; +} + +- (DBTEAMLOGTeamBrandingPolicyChangedDetails *)teamBrandingPolicyChangedDetails { + if (![self isTeamBrandingPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _teamBrandingPolicyChangedDetails; +} + +- (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)teamExtensionsPolicyChangedDetails { + if (![self isTeamExtensionsPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _teamExtensionsPolicyChangedDetails; +} + +- (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)teamSelectiveSyncPolicyChangedDetails { + if (![self isTeamSelectiveSyncPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _teamSelectiveSyncPolicyChangedDetails; +} + +- (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)teamSharingWhitelistSubjectsChangedDetails { + if (![self isTeamSharingWhitelistSubjectsChangedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails, but was %@.", + [self tagName]]; + } + return _teamSharingWhitelistSubjectsChangedDetails; +} + +- (DBTEAMLOGTfaAddExceptionDetails *)tfaAddExceptionDetails { + if (![self isTfaAddExceptionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaAddExceptionDetails, but was %@.", [self tagName]]; + } + return _tfaAddExceptionDetails; +} + +- (DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails { + if (![self isTfaChangePolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangePolicyDetails, but was %@.", [self tagName]]; + } + return _tfaChangePolicyDetails; +} + +- (DBTEAMLOGTfaRemoveExceptionDetails *)tfaRemoveExceptionDetails { + if (![self isTfaRemoveExceptionDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaRemoveExceptionDetails, but was %@.", [self tagName]]; + } + return _tfaRemoveExceptionDetails; +} + +- (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails { + if (![self isTwoAccountChangePolicyDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails, but was %@.", + [self tagName]]; + } + return _twoAccountChangePolicyDetails; +} + +- (DBTEAMLOGViewerInfoPolicyChangedDetails *)viewerInfoPolicyChangedDetails { + if (![self isViewerInfoPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _viewerInfoPolicyChangedDetails; +} + +- (DBTEAMLOGWatermarkingPolicyChangedDetails *)watermarkingPolicyChangedDetails { + if (![self isWatermarkingPolicyChangedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails, but was %@.", + [self tagName]]; + } + return _watermarkingPolicyChangedDetails; +} + +- (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)webSessionsChangeActiveSessionLimitDetails { + if (![self isWebSessionsChangeActiveSessionLimitDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails, but was %@.", + [self tagName]]; + } + return _webSessionsChangeActiveSessionLimitDetails; +} + +- (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails { + if (![self isWebSessionsChangeFixedLengthPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails, but was %@.", + [self tagName]]; + } + return _webSessionsChangeFixedLengthPolicyDetails; +} + +- (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails { + if (![self isWebSessionsChangeIdleLengthPolicyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails, but was %@.", + [self tagName]]; + } + return _webSessionsChangeIdleLengthPolicyDetails; +} + +- (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)dataResidencyMigrationRequestSuccessfulDetails { + if (![self isDataResidencyMigrationRequestSuccessfulDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails, " + @"but was %@.", + [self tagName]]; + } + return _dataResidencyMigrationRequestSuccessfulDetails; +} + +- (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)dataResidencyMigrationRequestUnsuccessfulDetails { + if (![self isDataResidencyMigrationRequestUnsuccessfulDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails, " + @"but was %@.", + [self tagName]]; + } + return _dataResidencyMigrationRequestUnsuccessfulDetails; +} + +- (DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails { + if (![self isTeamMergeFromDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeFromDetails, but was %@.", [self tagName]]; + } + return _teamMergeFromDetails; +} + +- (DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails { + if (![self isTeamMergeToDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeToDetails, but was %@.", [self tagName]]; + } + return _teamMergeToDetails; +} + +- (DBTEAMLOGTeamProfileAddBackgroundDetails *)teamProfileAddBackgroundDetails { + if (![self isTeamProfileAddBackgroundDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails, but was %@.", + [self tagName]]; + } + return _teamProfileAddBackgroundDetails; +} + +- (DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails { + if (![self isTeamProfileAddLogoDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileAddLogoDetails, but was %@.", [self tagName]]; + } + return _teamProfileAddLogoDetails; +} + +- (DBTEAMLOGTeamProfileChangeBackgroundDetails *)teamProfileChangeBackgroundDetails { + if (![self isTeamProfileChangeBackgroundDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails, but was %@.", + [self tagName]]; + } + return _teamProfileChangeBackgroundDetails; +} + +- (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails { + if (![self isTeamProfileChangeDefaultLanguageDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails, but was %@.", + [self tagName]]; + } + return _teamProfileChangeDefaultLanguageDetails; +} + +- (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails { + if (![self isTeamProfileChangeLogoDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails, but was %@.", [self tagName]]; + } + return _teamProfileChangeLogoDetails; +} + +- (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails { + if (![self isTeamProfileChangeNameDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileChangeNameDetails, but was %@.", [self tagName]]; + } + return _teamProfileChangeNameDetails; +} + +- (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)teamProfileRemoveBackgroundDetails { + if (![self isTeamProfileRemoveBackgroundDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails, but was %@.", + [self tagName]]; + } + return _teamProfileRemoveBackgroundDetails; +} + +- (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails { + if (![self isTeamProfileRemoveLogoDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails, but was %@.", [self tagName]]; + } + return _teamProfileRemoveLogoDetails; +} + +- (DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails { + if (![self isTfaAddBackupPhoneDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails, but was %@.", [self tagName]]; + } + return _tfaAddBackupPhoneDetails; +} + +- (DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails { + if (![self isTfaAddSecurityKeyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails, but was %@.", [self tagName]]; + } + return _tfaAddSecurityKeyDetails; +} + +- (DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails { + if (![self isTfaChangeBackupPhoneDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails, but was %@.", [self tagName]]; + } + return _tfaChangeBackupPhoneDetails; +} + +- (DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails { + if (![self isTfaChangeStatusDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaChangeStatusDetails, but was %@.", [self tagName]]; + } + return _tfaChangeStatusDetails; +} + +- (DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails { + if (![self isTfaRemoveBackupPhoneDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails, but was %@.", [self tagName]]; + } + return _tfaRemoveBackupPhoneDetails; +} + +- (DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails { + if (![self isTfaRemoveSecurityKeyDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails, but was %@.", [self tagName]]; + } + return _tfaRemoveSecurityKeyDetails; +} + +- (DBTEAMLOGTfaResetDetails *)tfaResetDetails { + if (![self isTfaResetDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTfaResetDetails, but was %@.", [self tagName]]; + } + return _tfaResetDetails; +} + +- (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)changedEnterpriseAdminRoleDetails { + if (![self isChangedEnterpriseAdminRoleDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails, but was %@.", + [self tagName]]; + } + return _changedEnterpriseAdminRoleDetails; +} + +- (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)changedEnterpriseConnectedTeamStatusDetails { + if (![self isChangedEnterpriseConnectedTeamStatusDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails, but was %@.", + [self tagName]]; + } + return _changedEnterpriseConnectedTeamStatusDetails; +} + +- (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)endedEnterpriseAdminSessionDetails { + if (![self isEndedEnterpriseAdminSessionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails, but was %@.", + [self tagName]]; + } + return _endedEnterpriseAdminSessionDetails; +} + +- (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)endedEnterpriseAdminSessionDeprecatedDetails { + if (![self isEndedEnterpriseAdminSessionDeprecatedDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails, but was %@.", + [self tagName]]; + } + return _endedEnterpriseAdminSessionDeprecatedDetails; +} + +- (DBTEAMLOGEnterpriseSettingsLockingDetails *)enterpriseSettingsLockingDetails { + if (![self isEnterpriseSettingsLockingDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails, but was %@.", + [self tagName]]; + } + return _enterpriseSettingsLockingDetails; +} + +- (DBTEAMLOGGuestAdminChangeStatusDetails *)guestAdminChangeStatusDetails { + if (![self isGuestAdminChangeStatusDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails, but was %@.", + [self tagName]]; + } + return _guestAdminChangeStatusDetails; +} + +- (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)startedEnterpriseAdminSessionDetails { + if (![self isStartedEnterpriseAdminSessionDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails, but was %@.", + [self tagName]]; + } + return _startedEnterpriseAdminSessionDetails; +} + +- (DBTEAMLOGTeamMergeRequestAcceptedDetails *)teamMergeRequestAcceptedDetails { + if (![self isTeamMergeRequestAcceptedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestAcceptedDetails; +} + +- (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)teamMergeRequestAcceptedShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestAcceptedShownToPrimaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestAcceptedShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)teamMergeRequestAcceptedShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestAcceptedShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestAcceptedShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)teamMergeRequestAutoCanceledDetails { + if (![self isTeamMergeRequestAutoCanceledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestAutoCanceledDetails; +} + +- (DBTEAMLOGTeamMergeRequestCanceledDetails *)teamMergeRequestCanceledDetails { + if (![self isTeamMergeRequestCanceledDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestCanceledDetails; +} + +- (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)teamMergeRequestCanceledShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestCanceledShownToPrimaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestCanceledShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)teamMergeRequestCanceledShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestCanceledShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestCanceledShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestExpiredDetails *)teamMergeRequestExpiredDetails { + if (![self isTeamMergeRequestExpiredDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestExpiredDetails; +} + +- (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)teamMergeRequestExpiredShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestExpiredShownToPrimaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestExpiredShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)teamMergeRequestExpiredShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestExpiredShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestExpiredShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)teamMergeRequestRejectedShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestRejectedShownToPrimaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestRejectedShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)teamMergeRequestRejectedShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestRejectedShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestRejectedShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestReminderDetails *)teamMergeRequestReminderDetails { + if (![self isTeamMergeRequestReminderDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestReminderDetails; +} + +- (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)teamMergeRequestReminderShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestReminderShownToPrimaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestReminderShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)teamMergeRequestReminderShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestReminderShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required " + @"DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestReminderShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestRevokedDetails *)teamMergeRequestRevokedDetails { + if (![self isTeamMergeRequestRevokedDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestRevokedDetails; +} + +- (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)teamMergeRequestSentShownToPrimaryTeamDetails { + if (![self isTeamMergeRequestSentShownToPrimaryTeamDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails, but was %@.", + [self tagName]]; + } + return _teamMergeRequestSentShownToPrimaryTeamDetails; +} + +- (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)teamMergeRequestSentShownToSecondaryTeamDetails { + if (![self isTeamMergeRequestSentShownToSecondaryTeamDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails, " + @"but was %@.", + [self tagName]]; + } + return _teamMergeRequestSentShownToSecondaryTeamDetails; +} + +- (DBTEAMLOGMissingDetails *)missingDetails { + if (![self isMissingDetails]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventDetailsMissingDetails, but was %@.", [self tagName]]; + } + return _missingDetails; +} + +#pragma mark - Tag state methods + +- (BOOL)isAdminAlertingAlertStateChangedDetails { + return _tag == DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails; +} + +- (BOOL)isAdminAlertingChangedAlertConfigDetails { + return _tag == DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails; +} + +- (BOOL)isAdminAlertingTriggeredAlertDetails { + return _tag == DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails; +} + +- (BOOL)isRansomwareRestoreProcessCompletedDetails { + return _tag == DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails; +} + +- (BOOL)isRansomwareRestoreProcessStartedDetails { + return _tag == DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails; +} + +- (BOOL)isAppBlockedByPermissionsDetails { + return _tag == DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails; +} + +- (BOOL)isAppLinkTeamDetails { + return _tag == DBTEAMLOGEventDetailsAppLinkTeamDetails; +} + +- (BOOL)isAppLinkUserDetails { + return _tag == DBTEAMLOGEventDetailsAppLinkUserDetails; +} + +- (BOOL)isAppUnlinkTeamDetails { + return _tag == DBTEAMLOGEventDetailsAppUnlinkTeamDetails; +} + +- (BOOL)isAppUnlinkUserDetails { + return _tag == DBTEAMLOGEventDetailsAppUnlinkUserDetails; +} + +- (BOOL)isIntegrationConnectedDetails { + return _tag == DBTEAMLOGEventDetailsIntegrationConnectedDetails; +} + +- (BOOL)isIntegrationDisconnectedDetails { + return _tag == DBTEAMLOGEventDetailsIntegrationDisconnectedDetails; +} + +- (BOOL)isFileAddCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileAddCommentDetails; +} + +- (BOOL)isFileChangeCommentSubscriptionDetails { + return _tag == DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails; +} + +- (BOOL)isFileDeleteCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileDeleteCommentDetails; +} + +- (BOOL)isFileEditCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileEditCommentDetails; +} + +- (BOOL)isFileLikeCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileLikeCommentDetails; +} + +- (BOOL)isFileResolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileResolveCommentDetails; +} + +- (BOOL)isFileUnlikeCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileUnlikeCommentDetails; +} + +- (BOOL)isFileUnresolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsFileUnresolveCommentDetails; +} + +- (BOOL)isGovernancePolicyAddFoldersDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails; +} + +- (BOOL)isGovernancePolicyAddFolderFailedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails; +} + +- (BOOL)isGovernancePolicyContentDisposedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails; +} + +- (BOOL)isGovernancePolicyCreateDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyCreateDetails; +} + +- (BOOL)isGovernancePolicyDeleteDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails; +} + +- (BOOL)isGovernancePolicyEditDetailsDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails; +} + +- (BOOL)isGovernancePolicyEditDurationDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails; +} + +- (BOOL)isGovernancePolicyExportCreatedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails; +} + +- (BOOL)isGovernancePolicyExportRemovedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails; +} + +- (BOOL)isGovernancePolicyRemoveFoldersDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails; +} + +- (BOOL)isGovernancePolicyReportCreatedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails; +} + +- (BOOL)isGovernancePolicyZipPartDownloadedDetails { + return _tag == DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails; +} + +- (BOOL)isLegalHoldsActivateAHoldDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails; +} + +- (BOOL)isLegalHoldsAddMembersDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails; +} + +- (BOOL)isLegalHoldsChangeHoldDetailsDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails; +} + +- (BOOL)isLegalHoldsChangeHoldNameDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails; +} + +- (BOOL)isLegalHoldsExportAHoldDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails; +} + +- (BOOL)isLegalHoldsExportCancelledDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails; +} + +- (BOOL)isLegalHoldsExportDownloadedDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails; +} + +- (BOOL)isLegalHoldsExportRemovedDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails; +} + +- (BOOL)isLegalHoldsReleaseAHoldDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails; +} + +- (BOOL)isLegalHoldsRemoveMembersDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails; +} + +- (BOOL)isLegalHoldsReportAHoldDetails { + return _tag == DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails; +} + +- (BOOL)isDeviceChangeIpDesktopDetails { + return _tag == DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails; +} + +- (BOOL)isDeviceChangeIpMobileDetails { + return _tag == DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails; +} + +- (BOOL)isDeviceChangeIpWebDetails { + return _tag == DBTEAMLOGEventDetailsDeviceChangeIpWebDetails; +} + +- (BOOL)isDeviceDeleteOnUnlinkFailDetails { + return _tag == DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails; +} + +- (BOOL)isDeviceDeleteOnUnlinkSuccessDetails { + return _tag == DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails; +} + +- (BOOL)isDeviceLinkFailDetails { + return _tag == DBTEAMLOGEventDetailsDeviceLinkFailDetails; +} + +- (BOOL)isDeviceLinkSuccessDetails { + return _tag == DBTEAMLOGEventDetailsDeviceLinkSuccessDetails; +} + +- (BOOL)isDeviceManagementDisabledDetails { + return _tag == DBTEAMLOGEventDetailsDeviceManagementDisabledDetails; +} + +- (BOOL)isDeviceManagementEnabledDetails { + return _tag == DBTEAMLOGEventDetailsDeviceManagementEnabledDetails; +} + +- (BOOL)isDeviceSyncBackupStatusChangedDetails { + return _tag == DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails; +} + +- (BOOL)isDeviceUnlinkDetails { + return _tag == DBTEAMLOGEventDetailsDeviceUnlinkDetails; +} + +- (BOOL)isDropboxPasswordsExportedDetails { + return _tag == DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails; +} + +- (BOOL)isDropboxPasswordsNewDeviceEnrolledDetails { + return _tag == DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails; +} + +- (BOOL)isEmmRefreshAuthTokenDetails { + return _tag == DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails; +} + +- (BOOL)isExternalDriveBackupEligibilityStatusCheckedDetails { + return _tag == DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails; +} + +- (BOOL)isExternalDriveBackupStatusChangedDetails { + return _tag == DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails; +} + +- (BOOL)isAccountCaptureChangeAvailabilityDetails { + return _tag == DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails; +} + +- (BOOL)isAccountCaptureMigrateAccountDetails { + return _tag == DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails; +} + +- (BOOL)isAccountCaptureNotificationEmailsSentDetails { + return _tag == DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails; +} + +- (BOOL)isAccountCaptureRelinquishAccountDetails { + return _tag == DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails; +} + +- (BOOL)isDisabledDomainInvitesDetails { + return _tag == DBTEAMLOGEventDetailsDisabledDomainInvitesDetails; +} + +- (BOOL)isDomainInvitesApproveRequestToJoinTeamDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails; +} + +- (BOOL)isDomainInvitesDeclineRequestToJoinTeamDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails; +} + +- (BOOL)isDomainInvitesEmailExistingUsersDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails; +} + +- (BOOL)isDomainInvitesRequestToJoinTeamDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails; +} + +- (BOOL)isDomainInvitesSetInviteNewUserPrefToNoDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails; +} + +- (BOOL)isDomainInvitesSetInviteNewUserPrefToYesDetails { + return _tag == DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails; +} + +- (BOOL)isDomainVerificationAddDomainFailDetails { + return _tag == DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails; +} + +- (BOOL)isDomainVerificationAddDomainSuccessDetails { + return _tag == DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails; +} + +- (BOOL)isDomainVerificationRemoveDomainDetails { + return _tag == DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails; +} + +- (BOOL)isEnabledDomainInvitesDetails { + return _tag == DBTEAMLOGEventDetailsEnabledDomainInvitesDetails; +} + +- (BOOL)isTeamEncryptionKeyCancelKeyDeletionDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails; +} + +- (BOOL)isTeamEncryptionKeyCreateKeyDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails; +} + +- (BOOL)isTeamEncryptionKeyDeleteKeyDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails; +} + +- (BOOL)isTeamEncryptionKeyDisableKeyDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails; +} + +- (BOOL)isTeamEncryptionKeyEnableKeyDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails; +} + +- (BOOL)isTeamEncryptionKeyRotateKeyDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails; +} + +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletionDetails { + return _tag == DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails; +} + +- (BOOL)isApplyNamingConventionDetails { + return _tag == DBTEAMLOGEventDetailsApplyNamingConventionDetails; +} + +- (BOOL)isCreateFolderDetails { + return _tag == DBTEAMLOGEventDetailsCreateFolderDetails; +} + +- (BOOL)isFileAddDetails { + return _tag == DBTEAMLOGEventDetailsFileAddDetails; +} + +- (BOOL)isFileAddFromAutomationDetails { + return _tag == DBTEAMLOGEventDetailsFileAddFromAutomationDetails; +} + +- (BOOL)isFileCopyDetails { + return _tag == DBTEAMLOGEventDetailsFileCopyDetails; +} + +- (BOOL)isFileDeleteDetails { + return _tag == DBTEAMLOGEventDetailsFileDeleteDetails; +} + +- (BOOL)isFileDownloadDetails { + return _tag == DBTEAMLOGEventDetailsFileDownloadDetails; +} + +- (BOOL)isFileEditDetails { + return _tag == DBTEAMLOGEventDetailsFileEditDetails; +} + +- (BOOL)isFileGetCopyReferenceDetails { + return _tag == DBTEAMLOGEventDetailsFileGetCopyReferenceDetails; +} + +- (BOOL)isFileLockingLockStatusChangedDetails { + return _tag == DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails; +} + +- (BOOL)isFileMoveDetails { + return _tag == DBTEAMLOGEventDetailsFileMoveDetails; +} + +- (BOOL)isFilePermanentlyDeleteDetails { + return _tag == DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails; +} + +- (BOOL)isFilePreviewDetails { + return _tag == DBTEAMLOGEventDetailsFilePreviewDetails; +} + +- (BOOL)isFileRenameDetails { + return _tag == DBTEAMLOGEventDetailsFileRenameDetails; +} + +- (BOOL)isFileRestoreDetails { + return _tag == DBTEAMLOGEventDetailsFileRestoreDetails; +} + +- (BOOL)isFileRevertDetails { + return _tag == DBTEAMLOGEventDetailsFileRevertDetails; +} + +- (BOOL)isFileRollbackChangesDetails { + return _tag == DBTEAMLOGEventDetailsFileRollbackChangesDetails; +} + +- (BOOL)isFileSaveCopyReferenceDetails { + return _tag == DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails; +} + +- (BOOL)isFolderOverviewDescriptionChangedDetails { + return _tag == DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails; +} + +- (BOOL)isFolderOverviewItemPinnedDetails { + return _tag == DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails; +} + +- (BOOL)isFolderOverviewItemUnpinnedDetails { + return _tag == DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails; +} + +- (BOOL)isObjectLabelAddedDetails { + return _tag == DBTEAMLOGEventDetailsObjectLabelAddedDetails; +} + +- (BOOL)isObjectLabelRemovedDetails { + return _tag == DBTEAMLOGEventDetailsObjectLabelRemovedDetails; +} + +- (BOOL)isObjectLabelUpdatedValueDetails { + return _tag == DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails; +} + +- (BOOL)isOrganizeFolderWithTidyDetails { + return _tag == DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails; +} + +- (BOOL)isReplayFileDeleteDetails { + return _tag == DBTEAMLOGEventDetailsReplayFileDeleteDetails; +} + +- (BOOL)isRewindFolderDetails { + return _tag == DBTEAMLOGEventDetailsRewindFolderDetails; +} + +- (BOOL)isUndoNamingConventionDetails { + return _tag == DBTEAMLOGEventDetailsUndoNamingConventionDetails; +} + +- (BOOL)isUndoOrganizeFolderWithTidyDetails { + return _tag == DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails; +} + +- (BOOL)isUserTagsAddedDetails { + return _tag == DBTEAMLOGEventDetailsUserTagsAddedDetails; +} + +- (BOOL)isUserTagsRemovedDetails { + return _tag == DBTEAMLOGEventDetailsUserTagsRemovedDetails; +} + +- (BOOL)isEmailIngestReceiveFileDetails { + return _tag == DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails; +} + +- (BOOL)isFileRequestChangeDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestChangeDetails; +} + +- (BOOL)isFileRequestCloseDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestCloseDetails; +} + +- (BOOL)isFileRequestCreateDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestCreateDetails; +} + +- (BOOL)isFileRequestDeleteDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestDeleteDetails; +} + +- (BOOL)isFileRequestReceiveFileDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestReceiveFileDetails; +} + +- (BOOL)isGroupAddExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsGroupAddExternalIdDetails; +} + +- (BOOL)isGroupAddMemberDetails { + return _tag == DBTEAMLOGEventDetailsGroupAddMemberDetails; +} + +- (BOOL)isGroupChangeExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsGroupChangeExternalIdDetails; +} + +- (BOOL)isGroupChangeManagementTypeDetails { + return _tag == DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails; +} + +- (BOOL)isGroupChangeMemberRoleDetails { + return _tag == DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails; +} + +- (BOOL)isGroupCreateDetails { + return _tag == DBTEAMLOGEventDetailsGroupCreateDetails; +} + +- (BOOL)isGroupDeleteDetails { + return _tag == DBTEAMLOGEventDetailsGroupDeleteDetails; +} + +- (BOOL)isGroupDescriptionUpdatedDetails { + return _tag == DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails; +} + +- (BOOL)isGroupJoinPolicyUpdatedDetails { + return _tag == DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails; +} + +- (BOOL)isGroupMovedDetails { + return _tag == DBTEAMLOGEventDetailsGroupMovedDetails; +} + +- (BOOL)isGroupRemoveExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails; +} + +- (BOOL)isGroupRemoveMemberDetails { + return _tag == DBTEAMLOGEventDetailsGroupRemoveMemberDetails; +} + +- (BOOL)isGroupRenameDetails { + return _tag == DBTEAMLOGEventDetailsGroupRenameDetails; +} + +- (BOOL)isAccountLockOrUnlockedDetails { + return _tag == DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails; +} + +- (BOOL)isEmmErrorDetails { + return _tag == DBTEAMLOGEventDetailsEmmErrorDetails; +} + +- (BOOL)isGuestAdminSignedInViaTrustedTeamsDetails { + return _tag == DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails; +} + +- (BOOL)isGuestAdminSignedOutViaTrustedTeamsDetails { + return _tag == DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails; +} + +- (BOOL)isLoginFailDetails { + return _tag == DBTEAMLOGEventDetailsLoginFailDetails; +} + +- (BOOL)isLoginSuccessDetails { + return _tag == DBTEAMLOGEventDetailsLoginSuccessDetails; +} + +- (BOOL)isLogoutDetails { + return _tag == DBTEAMLOGEventDetailsLogoutDetails; +} + +- (BOOL)isResellerSupportSessionEndDetails { + return _tag == DBTEAMLOGEventDetailsResellerSupportSessionEndDetails; +} + +- (BOOL)isResellerSupportSessionStartDetails { + return _tag == DBTEAMLOGEventDetailsResellerSupportSessionStartDetails; +} + +- (BOOL)isSignInAsSessionEndDetails { + return _tag == DBTEAMLOGEventDetailsSignInAsSessionEndDetails; +} + +- (BOOL)isSignInAsSessionStartDetails { + return _tag == DBTEAMLOGEventDetailsSignInAsSessionStartDetails; +} + +- (BOOL)isSsoErrorDetails { + return _tag == DBTEAMLOGEventDetailsSsoErrorDetails; +} + +- (BOOL)isBackupAdminInvitationSentDetails { + return _tag == DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails; +} + +- (BOOL)isBackupInvitationOpenedDetails { + return _tag == DBTEAMLOGEventDetailsBackupInvitationOpenedDetails; +} + +- (BOOL)isCreateTeamInviteLinkDetails { + return _tag == DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails; +} + +- (BOOL)isDeleteTeamInviteLinkDetails { + return _tag == DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails; +} + +- (BOOL)isMemberAddExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsMemberAddExternalIdDetails; +} + +- (BOOL)isMemberAddNameDetails { + return _tag == DBTEAMLOGEventDetailsMemberAddNameDetails; +} + +- (BOOL)isMemberChangeAdminRoleDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails; +} + +- (BOOL)isMemberChangeEmailDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeEmailDetails; +} + +- (BOOL)isMemberChangeExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeExternalIdDetails; +} + +- (BOOL)isMemberChangeMembershipTypeDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails; +} + +- (BOOL)isMemberChangeNameDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeNameDetails; +} + +- (BOOL)isMemberChangeResellerRoleDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails; +} + +- (BOOL)isMemberChangeStatusDetails { + return _tag == DBTEAMLOGEventDetailsMemberChangeStatusDetails; +} + +- (BOOL)isMemberDeleteManualContactsDetails { + return _tag == DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails; +} + +- (BOOL)isMemberDeleteProfilePhotoDetails { + return _tag == DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails; +} + +- (BOOL)isMemberPermanentlyDeleteAccountContentsDetails { + return _tag == DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails; +} + +- (BOOL)isMemberRemoveExternalIdDetails { + return _tag == DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails; +} + +- (BOOL)isMemberSetProfilePhotoDetails { + return _tag == DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails; +} + +- (BOOL)isMemberSpaceLimitsAddCustomQuotaDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails; +} + +- (BOOL)isMemberSpaceLimitsChangeCustomQuotaDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails; +} + +- (BOOL)isMemberSpaceLimitsChangeStatusDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails; +} + +- (BOOL)isMemberSpaceLimitsRemoveCustomQuotaDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails; +} + +- (BOOL)isMemberSuggestDetails { + return _tag == DBTEAMLOGEventDetailsMemberSuggestDetails; +} + +- (BOOL)isMemberTransferAccountContentsDetails { + return _tag == DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails; +} + +- (BOOL)isPendingSecondaryEmailAddedDetails { + return _tag == DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails; +} + +- (BOOL)isSecondaryEmailDeletedDetails { + return _tag == DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails; +} + +- (BOOL)isSecondaryEmailVerifiedDetails { + return _tag == DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails; +} + +- (BOOL)isSecondaryMailsPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails; +} + +- (BOOL)isBinderAddPageDetails { + return _tag == DBTEAMLOGEventDetailsBinderAddPageDetails; +} + +- (BOOL)isBinderAddSectionDetails { + return _tag == DBTEAMLOGEventDetailsBinderAddSectionDetails; +} + +- (BOOL)isBinderRemovePageDetails { + return _tag == DBTEAMLOGEventDetailsBinderRemovePageDetails; +} + +- (BOOL)isBinderRemoveSectionDetails { + return _tag == DBTEAMLOGEventDetailsBinderRemoveSectionDetails; +} + +- (BOOL)isBinderRenamePageDetails { + return _tag == DBTEAMLOGEventDetailsBinderRenamePageDetails; +} + +- (BOOL)isBinderRenameSectionDetails { + return _tag == DBTEAMLOGEventDetailsBinderRenameSectionDetails; +} + +- (BOOL)isBinderReorderPageDetails { + return _tag == DBTEAMLOGEventDetailsBinderReorderPageDetails; +} + +- (BOOL)isBinderReorderSectionDetails { + return _tag == DBTEAMLOGEventDetailsBinderReorderSectionDetails; +} + +- (BOOL)isPaperContentAddMemberDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentAddMemberDetails; +} + +- (BOOL)isPaperContentAddToFolderDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentAddToFolderDetails; +} + +- (BOOL)isPaperContentArchiveDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentArchiveDetails; +} + +- (BOOL)isPaperContentCreateDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentCreateDetails; +} + +- (BOOL)isPaperContentPermanentlyDeleteDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails; +} + +- (BOOL)isPaperContentRemoveFromFolderDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails; +} + +- (BOOL)isPaperContentRemoveMemberDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails; +} + +- (BOOL)isPaperContentRenameDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentRenameDetails; +} + +- (BOOL)isPaperContentRestoreDetails { + return _tag == DBTEAMLOGEventDetailsPaperContentRestoreDetails; +} + +- (BOOL)isPaperDocAddCommentDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocAddCommentDetails; +} + +- (BOOL)isPaperDocChangeMemberRoleDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails; +} + +- (BOOL)isPaperDocChangeSharingPolicyDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails; +} + +- (BOOL)isPaperDocChangeSubscriptionDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails; +} + +- (BOOL)isPaperDocDeletedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocDeletedDetails; +} + +- (BOOL)isPaperDocDeleteCommentDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails; +} + +- (BOOL)isPaperDocDownloadDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocDownloadDetails; +} + +- (BOOL)isPaperDocEditDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocEditDetails; +} + +- (BOOL)isPaperDocEditCommentDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocEditCommentDetails; +} + +- (BOOL)isPaperDocFollowedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocFollowedDetails; +} + +- (BOOL)isPaperDocMentionDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocMentionDetails; +} + +- (BOOL)isPaperDocOwnershipChangedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails; +} + +- (BOOL)isPaperDocRequestAccessDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocRequestAccessDetails; +} + +- (BOOL)isPaperDocResolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocResolveCommentDetails; +} + +- (BOOL)isPaperDocRevertDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocRevertDetails; +} + +- (BOOL)isPaperDocSlackShareDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocSlackShareDetails; +} + +- (BOOL)isPaperDocTeamInviteDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocTeamInviteDetails; +} + +- (BOOL)isPaperDocTrashedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocTrashedDetails; +} + +- (BOOL)isPaperDocUnresolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails; +} + +- (BOOL)isPaperDocUntrashedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocUntrashedDetails; +} + +- (BOOL)isPaperDocViewDetails { + return _tag == DBTEAMLOGEventDetailsPaperDocViewDetails; +} + +- (BOOL)isPaperExternalViewAllowDetails { + return _tag == DBTEAMLOGEventDetailsPaperExternalViewAllowDetails; +} + +- (BOOL)isPaperExternalViewDefaultTeamDetails { + return _tag == DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails; +} + +- (BOOL)isPaperExternalViewForbidDetails { + return _tag == DBTEAMLOGEventDetailsPaperExternalViewForbidDetails; +} + +- (BOOL)isPaperFolderChangeSubscriptionDetails { + return _tag == DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails; +} + +- (BOOL)isPaperFolderDeletedDetails { + return _tag == DBTEAMLOGEventDetailsPaperFolderDeletedDetails; +} + +- (BOOL)isPaperFolderFollowedDetails { + return _tag == DBTEAMLOGEventDetailsPaperFolderFollowedDetails; +} + +- (BOOL)isPaperFolderTeamInviteDetails { + return _tag == DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails; +} + +- (BOOL)isPaperPublishedLinkChangePermissionDetails { + return _tag == DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails; +} + +- (BOOL)isPaperPublishedLinkCreateDetails { + return _tag == DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails; +} + +- (BOOL)isPaperPublishedLinkDisabledDetails { + return _tag == DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails; +} + +- (BOOL)isPaperPublishedLinkViewDetails { + return _tag == DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails; +} + +- (BOOL)isPasswordChangeDetails { + return _tag == DBTEAMLOGEventDetailsPasswordChangeDetails; +} + +- (BOOL)isPasswordResetDetails { + return _tag == DBTEAMLOGEventDetailsPasswordResetDetails; +} + +- (BOOL)isPasswordResetAllDetails { + return _tag == DBTEAMLOGEventDetailsPasswordResetAllDetails; +} + +- (BOOL)isClassificationCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsClassificationCreateReportDetails; +} + +- (BOOL)isClassificationCreateReportFailDetails { + return _tag == DBTEAMLOGEventDetailsClassificationCreateReportFailDetails; +} + +- (BOOL)isEmmCreateExceptionsReportDetails { + return _tag == DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails; +} + +- (BOOL)isEmmCreateUsageReportDetails { + return _tag == DBTEAMLOGEventDetailsEmmCreateUsageReportDetails; +} + +- (BOOL)isExportMembersReportDetails { + return _tag == DBTEAMLOGEventDetailsExportMembersReportDetails; +} + +- (BOOL)isExportMembersReportFailDetails { + return _tag == DBTEAMLOGEventDetailsExportMembersReportFailDetails; +} + +- (BOOL)isExternalSharingCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsExternalSharingCreateReportDetails; +} + +- (BOOL)isExternalSharingReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsExternalSharingReportFailedDetails; +} + +- (BOOL)isNoExpirationLinkGenCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails; +} + +- (BOOL)isNoExpirationLinkGenReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails; +} + +- (BOOL)isNoPasswordLinkGenCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails; +} + +- (BOOL)isNoPasswordLinkGenReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails; +} + +- (BOOL)isNoPasswordLinkViewCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails; +} + +- (BOOL)isNoPasswordLinkViewReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails; +} + +- (BOOL)isOutdatedLinkViewCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails; +} + +- (BOOL)isOutdatedLinkViewReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails; +} + +- (BOOL)isPaperAdminExportStartDetails { + return _tag == DBTEAMLOGEventDetailsPaperAdminExportStartDetails; +} + +- (BOOL)isRansomwareAlertCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails; +} + +- (BOOL)isRansomwareAlertCreateReportFailedDetails { + return _tag == DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails; +} + +- (BOOL)isSmartSyncCreateAdminPrivilegeReportDetails { + return _tag == DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails; +} + +- (BOOL)isTeamActivityCreateReportDetails { + return _tag == DBTEAMLOGEventDetailsTeamActivityCreateReportDetails; +} + +- (BOOL)isTeamActivityCreateReportFailDetails { + return _tag == DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails; +} + +- (BOOL)isCollectionShareDetails { + return _tag == DBTEAMLOGEventDetailsCollectionShareDetails; +} + +- (BOOL)isFileTransfersFileAddDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersFileAddDetails; +} + +- (BOOL)isFileTransfersTransferDeleteDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails; +} + +- (BOOL)isFileTransfersTransferDownloadDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails; +} + +- (BOOL)isFileTransfersTransferSendDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersTransferSendDetails; +} + +- (BOOL)isFileTransfersTransferViewDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersTransferViewDetails; +} + +- (BOOL)isNoteAclInviteOnlyDetails { + return _tag == DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails; +} + +- (BOOL)isNoteAclLinkDetails { + return _tag == DBTEAMLOGEventDetailsNoteAclLinkDetails; +} + +- (BOOL)isNoteAclTeamLinkDetails { + return _tag == DBTEAMLOGEventDetailsNoteAclTeamLinkDetails; +} + +- (BOOL)isNoteSharedDetails { + return _tag == DBTEAMLOGEventDetailsNoteSharedDetails; +} + +- (BOOL)isNoteShareReceiveDetails { + return _tag == DBTEAMLOGEventDetailsNoteShareReceiveDetails; +} + +- (BOOL)isOpenNoteSharedDetails { + return _tag == DBTEAMLOGEventDetailsOpenNoteSharedDetails; +} + +- (BOOL)isReplayFileSharedLinkCreatedDetails { + return _tag == DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails; +} + +- (BOOL)isReplayFileSharedLinkModifiedDetails { + return _tag == DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails; +} + +- (BOOL)isReplayProjectTeamAddDetails { + return _tag == DBTEAMLOGEventDetailsReplayProjectTeamAddDetails; +} + +- (BOOL)isReplayProjectTeamDeleteDetails { + return _tag == DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails; +} + +- (BOOL)isSfAddGroupDetails { + return _tag == DBTEAMLOGEventDetailsSfAddGroupDetails; +} + +- (BOOL)isSfAllowNonMembersToViewSharedLinksDetails { + return _tag == DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails; +} + +- (BOOL)isSfExternalInviteWarnDetails { + return _tag == DBTEAMLOGEventDetailsSfExternalInviteWarnDetails; +} + +- (BOOL)isSfFbInviteDetails { + return _tag == DBTEAMLOGEventDetailsSfFbInviteDetails; +} + +- (BOOL)isSfFbInviteChangeRoleDetails { + return _tag == DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails; +} + +- (BOOL)isSfFbUninviteDetails { + return _tag == DBTEAMLOGEventDetailsSfFbUninviteDetails; +} + +- (BOOL)isSfInviteGroupDetails { + return _tag == DBTEAMLOGEventDetailsSfInviteGroupDetails; +} + +- (BOOL)isSfTeamGrantAccessDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamGrantAccessDetails; +} + +- (BOOL)isSfTeamInviteDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamInviteDetails; +} + +- (BOOL)isSfTeamInviteChangeRoleDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails; +} + +- (BOOL)isSfTeamJoinDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamJoinDetails; +} + +- (BOOL)isSfTeamJoinFromOobLinkDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails; +} + +- (BOOL)isSfTeamUninviteDetails { + return _tag == DBTEAMLOGEventDetailsSfTeamUninviteDetails; +} + +- (BOOL)isSharedContentAddInviteesDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentAddInviteesDetails; +} + +- (BOOL)isSharedContentAddLinkExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails; +} + +- (BOOL)isSharedContentAddLinkPasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails; +} + +- (BOOL)isSharedContentAddMemberDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentAddMemberDetails; +} + +- (BOOL)isSharedContentChangeDownloadsPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails; +} + +- (BOOL)isSharedContentChangeInviteeRoleDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails; +} + +- (BOOL)isSharedContentChangeLinkAudienceDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails; +} + +- (BOOL)isSharedContentChangeLinkExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails; +} + +- (BOOL)isSharedContentChangeLinkPasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails; +} + +- (BOOL)isSharedContentChangeMemberRoleDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails; +} + +- (BOOL)isSharedContentChangeViewerInfoPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails; +} + +- (BOOL)isSharedContentClaimInvitationDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails; +} + +- (BOOL)isSharedContentCopyDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentCopyDetails; +} + +- (BOOL)isSharedContentDownloadDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentDownloadDetails; +} + +- (BOOL)isSharedContentRelinquishMembershipDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails; +} + +- (BOOL)isSharedContentRemoveInviteesDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails; +} + +- (BOOL)isSharedContentRemoveLinkExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails; +} + +- (BOOL)isSharedContentRemoveLinkPasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails; +} + +- (BOOL)isSharedContentRemoveMemberDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails; +} + +- (BOOL)isSharedContentRequestAccessDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRequestAccessDetails; +} + +- (BOOL)isSharedContentRestoreInviteesDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails; +} + +- (BOOL)isSharedContentRestoreMemberDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails; +} + +- (BOOL)isSharedContentUnshareDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentUnshareDetails; +} + +- (BOOL)isSharedContentViewDetails { + return _tag == DBTEAMLOGEventDetailsSharedContentViewDetails; +} + +- (BOOL)isSharedFolderChangeLinkPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails; +} + +- (BOOL)isSharedFolderChangeMembersInheritancePolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails; +} + +- (BOOL)isSharedFolderChangeMembersManagementPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails; +} + +- (BOOL)isSharedFolderChangeMembersPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails; +} + +- (BOOL)isSharedFolderCreateDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderCreateDetails; +} + +- (BOOL)isSharedFolderDeclineInvitationDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails; +} + +- (BOOL)isSharedFolderMountDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderMountDetails; +} + +- (BOOL)isSharedFolderNestDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderNestDetails; +} + +- (BOOL)isSharedFolderTransferOwnershipDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails; +} + +- (BOOL)isSharedFolderUnmountDetails { + return _tag == DBTEAMLOGEventDetailsSharedFolderUnmountDetails; +} + +- (BOOL)isSharedLinkAddExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails; +} + +- (BOOL)isSharedLinkChangeExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails; +} + +- (BOOL)isSharedLinkChangeVisibilityDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails; +} + +- (BOOL)isSharedLinkCopyDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkCopyDetails; +} + +- (BOOL)isSharedLinkCreateDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkCreateDetails; +} + +- (BOOL)isSharedLinkDisableDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkDisableDetails; +} + +- (BOOL)isSharedLinkDownloadDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkDownloadDetails; +} + +- (BOOL)isSharedLinkRemoveExpiryDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails; +} + +- (BOOL)isSharedLinkSettingsAddExpirationDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails; +} + +- (BOOL)isSharedLinkSettingsAddPasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadDisabledDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadEnabledDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails; +} + +- (BOOL)isSharedLinkSettingsChangeAudienceDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails; +} + +- (BOOL)isSharedLinkSettingsChangeExpirationDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails; +} + +- (BOOL)isSharedLinkSettingsChangePasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails; +} + +- (BOOL)isSharedLinkSettingsRemoveExpirationDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails; +} + +- (BOOL)isSharedLinkSettingsRemovePasswordDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails; +} + +- (BOOL)isSharedLinkShareDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkShareDetails; +} + +- (BOOL)isSharedLinkViewDetails { + return _tag == DBTEAMLOGEventDetailsSharedLinkViewDetails; +} + +- (BOOL)isSharedNoteOpenedDetails { + return _tag == DBTEAMLOGEventDetailsSharedNoteOpenedDetails; +} + +- (BOOL)isShmodelDisableDownloadsDetails { + return _tag == DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails; +} + +- (BOOL)isShmodelEnableDownloadsDetails { + return _tag == DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails; +} + +- (BOOL)isShmodelGroupShareDetails { + return _tag == DBTEAMLOGEventDetailsShmodelGroupShareDetails; +} + +- (BOOL)isShowcaseAccessGrantedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails; +} + +- (BOOL)isShowcaseAddMemberDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseAddMemberDetails; +} + +- (BOOL)isShowcaseArchivedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseArchivedDetails; +} + +- (BOOL)isShowcaseCreatedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseCreatedDetails; +} + +- (BOOL)isShowcaseDeleteCommentDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails; +} + +- (BOOL)isShowcaseEditedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseEditedDetails; +} + +- (BOOL)isShowcaseEditCommentDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseEditCommentDetails; +} + +- (BOOL)isShowcaseFileAddedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseFileAddedDetails; +} + +- (BOOL)isShowcaseFileDownloadDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseFileDownloadDetails; +} + +- (BOOL)isShowcaseFileRemovedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseFileRemovedDetails; +} + +- (BOOL)isShowcaseFileViewDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseFileViewDetails; +} + +- (BOOL)isShowcasePermanentlyDeletedDetails { + return _tag == DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails; +} + +- (BOOL)isShowcasePostCommentDetails { + return _tag == DBTEAMLOGEventDetailsShowcasePostCommentDetails; +} + +- (BOOL)isShowcaseRemoveMemberDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails; +} + +- (BOOL)isShowcaseRenamedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseRenamedDetails; +} + +- (BOOL)isShowcaseRequestAccessDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseRequestAccessDetails; +} + +- (BOOL)isShowcaseResolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseResolveCommentDetails; +} + +- (BOOL)isShowcaseRestoredDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseRestoredDetails; +} + +- (BOOL)isShowcaseTrashedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseTrashedDetails; +} + +- (BOOL)isShowcaseTrashedDeprecatedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails; +} + +- (BOOL)isShowcaseUnresolveCommentDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails; +} + +- (BOOL)isShowcaseUntrashedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseUntrashedDetails; +} + +- (BOOL)isShowcaseUntrashedDeprecatedDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails; +} + +- (BOOL)isShowcaseViewDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseViewDetails; +} + +- (BOOL)isSsoAddCertDetails { + return _tag == DBTEAMLOGEventDetailsSsoAddCertDetails; +} + +- (BOOL)isSsoAddLoginUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoAddLoginUrlDetails; +} + +- (BOOL)isSsoAddLogoutUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails; +} + +- (BOOL)isSsoChangeCertDetails { + return _tag == DBTEAMLOGEventDetailsSsoChangeCertDetails; +} + +- (BOOL)isSsoChangeLoginUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails; +} + +- (BOOL)isSsoChangeLogoutUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails; +} + +- (BOOL)isSsoChangeSamlIdentityModeDetails { + return _tag == DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails; +} + +- (BOOL)isSsoRemoveCertDetails { + return _tag == DBTEAMLOGEventDetailsSsoRemoveCertDetails; +} + +- (BOOL)isSsoRemoveLoginUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails; +} + +- (BOOL)isSsoRemoveLogoutUrlDetails { + return _tag == DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails; +} + +- (BOOL)isTeamFolderChangeStatusDetails { + return _tag == DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails; +} + +- (BOOL)isTeamFolderCreateDetails { + return _tag == DBTEAMLOGEventDetailsTeamFolderCreateDetails; +} + +- (BOOL)isTeamFolderDowngradeDetails { + return _tag == DBTEAMLOGEventDetailsTeamFolderDowngradeDetails; +} + +- (BOOL)isTeamFolderPermanentlyDeleteDetails { + return _tag == DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails; +} + +- (BOOL)isTeamFolderRenameDetails { + return _tag == DBTEAMLOGEventDetailsTeamFolderRenameDetails; +} + +- (BOOL)isTeamSelectiveSyncSettingsChangedDetails { + return _tag == DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails; +} + +- (BOOL)isAccountCaptureChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails; +} + +- (BOOL)isAdminEmailRemindersChangedDetails { + return _tag == DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails; +} + +- (BOOL)isAllowDownloadDisabledDetails { + return _tag == DBTEAMLOGEventDetailsAllowDownloadDisabledDetails; +} + +- (BOOL)isAllowDownloadEnabledDetails { + return _tag == DBTEAMLOGEventDetailsAllowDownloadEnabledDetails; +} + +- (BOOL)isAppPermissionsChangedDetails { + return _tag == DBTEAMLOGEventDetailsAppPermissionsChangedDetails; +} + +- (BOOL)isCameraUploadsPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails; +} + +- (BOOL)isCaptureTranscriptPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails; +} + +- (BOOL)isClassificationChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsClassificationChangePolicyDetails; +} + +- (BOOL)isComputerBackupPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails; +} + +- (BOOL)isContentAdministrationPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails; +} + +- (BOOL)isDataPlacementRestrictionChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails; +} + +- (BOOL)isDataPlacementRestrictionSatisfyPolicyDetails { + return _tag == DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails; +} + +- (BOOL)isDeviceApprovalsAddExceptionDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails; +} + +- (BOOL)isDeviceApprovalsChangeDesktopPolicyDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails; +} + +- (BOOL)isDeviceApprovalsChangeMobilePolicyDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails; +} + +- (BOOL)isDeviceApprovalsChangeOverageActionDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails; +} + +- (BOOL)isDeviceApprovalsChangeUnlinkActionDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails; +} + +- (BOOL)isDeviceApprovalsRemoveExceptionDetails { + return _tag == DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails; +} + +- (BOOL)isDirectoryRestrictionsAddMembersDetails { + return _tag == DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails; +} + +- (BOOL)isDirectoryRestrictionsRemoveMembersDetails { + return _tag == DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails; +} + +- (BOOL)isDropboxPasswordsPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails; +} + +- (BOOL)isEmailIngestPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails; +} + +- (BOOL)isEmmAddExceptionDetails { + return _tag == DBTEAMLOGEventDetailsEmmAddExceptionDetails; +} + +- (BOOL)isEmmChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsEmmChangePolicyDetails; +} + +- (BOOL)isEmmRemoveExceptionDetails { + return _tag == DBTEAMLOGEventDetailsEmmRemoveExceptionDetails; +} + +- (BOOL)isExtendedVersionHistoryChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails; +} + +- (BOOL)isExternalDriveBackupPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails; +} + +- (BOOL)isFileCommentsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails; +} + +- (BOOL)isFileLockingPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails; +} + +- (BOOL)isFileProviderMigrationPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails; +} + +- (BOOL)isFileRequestsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails; +} + +- (BOOL)isFileRequestsEmailsEnabledDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails; +} + +- (BOOL)isFileRequestsEmailsRestrictedToTeamOnlyDetails { + return _tag == DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails; +} + +- (BOOL)isFileTransfersPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails; +} + +- (BOOL)isFolderLinkRestrictionPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails; +} + +- (BOOL)isGoogleSsoChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails; +} + +- (BOOL)isGroupUserManagementChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails; +} + +- (BOOL)isIntegrationPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails; +} + +- (BOOL)isInviteAcceptanceEmailPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails; +} + +- (BOOL)isMemberRequestsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails; +} + +- (BOOL)isMemberSendInvitePolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails; +} + +- (BOOL)isMemberSpaceLimitsAddExceptionDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails; +} + +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicyDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails; +} + +- (BOOL)isMemberSpaceLimitsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails; +} + +- (BOOL)isMemberSpaceLimitsRemoveExceptionDetails { + return _tag == DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails; +} + +- (BOOL)isMemberSuggestionsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails; +} + +- (BOOL)isMicrosoftOfficeAddinChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails; +} + +- (BOOL)isNetworkControlChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails; +} + +- (BOOL)isPaperChangeDeploymentPolicyDetails { + return _tag == DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails; +} + +- (BOOL)isPaperChangeMemberLinkPolicyDetails { + return _tag == DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails; +} + +- (BOOL)isPaperChangeMemberPolicyDetails { + return _tag == DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails; +} + +- (BOOL)isPaperChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsPaperChangePolicyDetails; +} + +- (BOOL)isPaperDefaultFolderPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails; +} + +- (BOOL)isPaperDesktopPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails; +} + +- (BOOL)isPaperEnabledUsersGroupAdditionDetails { + return _tag == DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails; +} + +- (BOOL)isPaperEnabledUsersGroupRemovalDetails { + return _tag == DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails; +} + +- (BOOL)isPasswordStrengthRequirementsChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails; +} + +- (BOOL)isPermanentDeleteChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails; +} + +- (BOOL)isResellerSupportChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails; +} + +- (BOOL)isRewindPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsRewindPolicyChangedDetails; +} + +- (BOOL)isSendForSignaturePolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails; +} + +- (BOOL)isSharingChangeFolderJoinPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails; +} + +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails; +} + +- (BOOL)isSharingChangeLinkDefaultExpirationPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails; +} + +- (BOOL)isSharingChangeLinkEnforcePasswordPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails; +} + +- (BOOL)isSharingChangeLinkPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails; +} + +- (BOOL)isSharingChangeMemberPolicyDetails { + return _tag == DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails; +} + +- (BOOL)isShowcaseChangeDownloadPolicyDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails; +} + +- (BOOL)isShowcaseChangeEnabledPolicyDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails; +} + +- (BOOL)isShowcaseChangeExternalSharingPolicyDetails { + return _tag == DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails; +} + +- (BOOL)isSmarterSmartSyncPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails; +} + +- (BOOL)isSmartSyncChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails; +} + +- (BOOL)isSmartSyncNotOptOutDetails { + return _tag == DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails; +} + +- (BOOL)isSmartSyncOptOutDetails { + return _tag == DBTEAMLOGEventDetailsSmartSyncOptOutDetails; +} + +- (BOOL)isSsoChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsSsoChangePolicyDetails; +} + +- (BOOL)isTeamBrandingPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails; +} + +- (BOOL)isTeamExtensionsPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails; +} + +- (BOOL)isTeamSelectiveSyncPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails; +} + +- (BOOL)isTeamSharingWhitelistSubjectsChangedDetails { + return _tag == DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails; +} + +- (BOOL)isTfaAddExceptionDetails { + return _tag == DBTEAMLOGEventDetailsTfaAddExceptionDetails; +} + +- (BOOL)isTfaChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsTfaChangePolicyDetails; +} + +- (BOOL)isTfaRemoveExceptionDetails { + return _tag == DBTEAMLOGEventDetailsTfaRemoveExceptionDetails; +} + +- (BOOL)isTwoAccountChangePolicyDetails { + return _tag == DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails; +} + +- (BOOL)isViewerInfoPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails; +} + +- (BOOL)isWatermarkingPolicyChangedDetails { + return _tag == DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails; +} + +- (BOOL)isWebSessionsChangeActiveSessionLimitDetails { + return _tag == DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails; +} + +- (BOOL)isWebSessionsChangeFixedLengthPolicyDetails { + return _tag == DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails; +} + +- (BOOL)isWebSessionsChangeIdleLengthPolicyDetails { + return _tag == DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails; +} + +- (BOOL)isDataResidencyMigrationRequestSuccessfulDetails { + return _tag == DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails; +} + +- (BOOL)isDataResidencyMigrationRequestUnsuccessfulDetails { + return _tag == DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails; +} + +- (BOOL)isTeamMergeFromDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeFromDetails; +} + +- (BOOL)isTeamMergeToDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeToDetails; +} + +- (BOOL)isTeamProfileAddBackgroundDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails; +} + +- (BOOL)isTeamProfileAddLogoDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileAddLogoDetails; +} + +- (BOOL)isTeamProfileChangeBackgroundDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails; +} + +- (BOOL)isTeamProfileChangeDefaultLanguageDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails; +} + +- (BOOL)isTeamProfileChangeLogoDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails; +} + +- (BOOL)isTeamProfileChangeNameDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileChangeNameDetails; +} + +- (BOOL)isTeamProfileRemoveBackgroundDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails; +} + +- (BOOL)isTeamProfileRemoveLogoDetails { + return _tag == DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails; +} + +- (BOOL)isTfaAddBackupPhoneDetails { + return _tag == DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails; +} + +- (BOOL)isTfaAddSecurityKeyDetails { + return _tag == DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails; +} + +- (BOOL)isTfaChangeBackupPhoneDetails { + return _tag == DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails; +} + +- (BOOL)isTfaChangeStatusDetails { + return _tag == DBTEAMLOGEventDetailsTfaChangeStatusDetails; +} + +- (BOOL)isTfaRemoveBackupPhoneDetails { + return _tag == DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails; +} + +- (BOOL)isTfaRemoveSecurityKeyDetails { + return _tag == DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails; +} + +- (BOOL)isTfaResetDetails { + return _tag == DBTEAMLOGEventDetailsTfaResetDetails; +} + +- (BOOL)isChangedEnterpriseAdminRoleDetails { + return _tag == DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails; +} + +- (BOOL)isChangedEnterpriseConnectedTeamStatusDetails { + return _tag == DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails; +} + +- (BOOL)isEndedEnterpriseAdminSessionDetails { + return _tag == DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails; +} + +- (BOOL)isEndedEnterpriseAdminSessionDeprecatedDetails { + return _tag == DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails; +} + +- (BOOL)isEnterpriseSettingsLockingDetails { + return _tag == DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails; +} + +- (BOOL)isGuestAdminChangeStatusDetails { + return _tag == DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails; +} + +- (BOOL)isStartedEnterpriseAdminSessionDetails { + return _tag == DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails; +} + +- (BOOL)isTeamMergeRequestAcceptedDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestAutoCanceledDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails; +} + +- (BOOL)isTeamMergeRequestCanceledDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails; +} + +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestExpiredDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails; +} + +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestReminderDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails; +} + +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestRevokedDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails; +} + +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails; +} + +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeamDetails { + return _tag == DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails; +} + +- (BOOL)isMissingDetails { + return _tag == DBTEAMLOGEventDetailsMissingDetails; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGEventDetailsOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails: + return @"DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails"; + case DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails: + return @"DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails"; + case DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails: + return @"DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails"; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails: + return @"DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails"; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails: + return @"DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails"; + case DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails: + return @"DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails"; + case DBTEAMLOGEventDetailsAppLinkTeamDetails: + return @"DBTEAMLOGEventDetailsAppLinkTeamDetails"; + case DBTEAMLOGEventDetailsAppLinkUserDetails: + return @"DBTEAMLOGEventDetailsAppLinkUserDetails"; + case DBTEAMLOGEventDetailsAppUnlinkTeamDetails: + return @"DBTEAMLOGEventDetailsAppUnlinkTeamDetails"; + case DBTEAMLOGEventDetailsAppUnlinkUserDetails: + return @"DBTEAMLOGEventDetailsAppUnlinkUserDetails"; + case DBTEAMLOGEventDetailsIntegrationConnectedDetails: + return @"DBTEAMLOGEventDetailsIntegrationConnectedDetails"; + case DBTEAMLOGEventDetailsIntegrationDisconnectedDetails: + return @"DBTEAMLOGEventDetailsIntegrationDisconnectedDetails"; + case DBTEAMLOGEventDetailsFileAddCommentDetails: + return @"DBTEAMLOGEventDetailsFileAddCommentDetails"; + case DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails: + return @"DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails"; + case DBTEAMLOGEventDetailsFileDeleteCommentDetails: + return @"DBTEAMLOGEventDetailsFileDeleteCommentDetails"; + case DBTEAMLOGEventDetailsFileEditCommentDetails: + return @"DBTEAMLOGEventDetailsFileEditCommentDetails"; + case DBTEAMLOGEventDetailsFileLikeCommentDetails: + return @"DBTEAMLOGEventDetailsFileLikeCommentDetails"; + case DBTEAMLOGEventDetailsFileResolveCommentDetails: + return @"DBTEAMLOGEventDetailsFileResolveCommentDetails"; + case DBTEAMLOGEventDetailsFileUnlikeCommentDetails: + return @"DBTEAMLOGEventDetailsFileUnlikeCommentDetails"; + case DBTEAMLOGEventDetailsFileUnresolveCommentDetails: + return @"DBTEAMLOGEventDetailsFileUnresolveCommentDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyCreateDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyCreateDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails"; + case DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails: + return @"DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails"; + case DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails"; + case DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails"; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails"; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails"; + case DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails"; + case DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails"; + case DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails"; + case DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails"; + case DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails"; + case DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails"; + case DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails: + return @"DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails"; + case DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails: + return @"DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails"; + case DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails: + return @"DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails"; + case DBTEAMLOGEventDetailsDeviceChangeIpWebDetails: + return @"DBTEAMLOGEventDetailsDeviceChangeIpWebDetails"; + case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails: + return @"DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails"; + case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails: + return @"DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails"; + case DBTEAMLOGEventDetailsDeviceLinkFailDetails: + return @"DBTEAMLOGEventDetailsDeviceLinkFailDetails"; + case DBTEAMLOGEventDetailsDeviceLinkSuccessDetails: + return @"DBTEAMLOGEventDetailsDeviceLinkSuccessDetails"; + case DBTEAMLOGEventDetailsDeviceManagementDisabledDetails: + return @"DBTEAMLOGEventDetailsDeviceManagementDisabledDetails"; + case DBTEAMLOGEventDetailsDeviceManagementEnabledDetails: + return @"DBTEAMLOGEventDetailsDeviceManagementEnabledDetails"; + case DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails: + return @"DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails"; + case DBTEAMLOGEventDetailsDeviceUnlinkDetails: + return @"DBTEAMLOGEventDetailsDeviceUnlinkDetails"; + case DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails: + return @"DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails"; + case DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails: + return @"DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails"; + case DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails: + return @"DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails"; + case DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails: + return @"DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails"; + case DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails: + return @"DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails"; + case DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails: + return @"DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails"; + case DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails: + return @"DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails"; + case DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails: + return @"DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails"; + case DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails: + return @"DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails"; + case DBTEAMLOGEventDetailsDisabledDomainInvitesDetails: + return @"DBTEAMLOGEventDetailsDisabledDomainInvitesDetails"; + case DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails"; + case DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails"; + case DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails"; + case DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails"; + case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails"; + case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails: + return @"DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails"; + case DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails: + return @"DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails"; + case DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails: + return @"DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails"; + case DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails: + return @"DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails"; + case DBTEAMLOGEventDetailsEnabledDomainInvitesDetails: + return @"DBTEAMLOGEventDetailsEnabledDomainInvitesDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails"; + case DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails: + return @"DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails"; + case DBTEAMLOGEventDetailsApplyNamingConventionDetails: + return @"DBTEAMLOGEventDetailsApplyNamingConventionDetails"; + case DBTEAMLOGEventDetailsCreateFolderDetails: + return @"DBTEAMLOGEventDetailsCreateFolderDetails"; + case DBTEAMLOGEventDetailsFileAddDetails: + return @"DBTEAMLOGEventDetailsFileAddDetails"; + case DBTEAMLOGEventDetailsFileAddFromAutomationDetails: + return @"DBTEAMLOGEventDetailsFileAddFromAutomationDetails"; + case DBTEAMLOGEventDetailsFileCopyDetails: + return @"DBTEAMLOGEventDetailsFileCopyDetails"; + case DBTEAMLOGEventDetailsFileDeleteDetails: + return @"DBTEAMLOGEventDetailsFileDeleteDetails"; + case DBTEAMLOGEventDetailsFileDownloadDetails: + return @"DBTEAMLOGEventDetailsFileDownloadDetails"; + case DBTEAMLOGEventDetailsFileEditDetails: + return @"DBTEAMLOGEventDetailsFileEditDetails"; + case DBTEAMLOGEventDetailsFileGetCopyReferenceDetails: + return @"DBTEAMLOGEventDetailsFileGetCopyReferenceDetails"; + case DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails: + return @"DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails"; + case DBTEAMLOGEventDetailsFileMoveDetails: + return @"DBTEAMLOGEventDetailsFileMoveDetails"; + case DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails: + return @"DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails"; + case DBTEAMLOGEventDetailsFilePreviewDetails: + return @"DBTEAMLOGEventDetailsFilePreviewDetails"; + case DBTEAMLOGEventDetailsFileRenameDetails: + return @"DBTEAMLOGEventDetailsFileRenameDetails"; + case DBTEAMLOGEventDetailsFileRestoreDetails: + return @"DBTEAMLOGEventDetailsFileRestoreDetails"; + case DBTEAMLOGEventDetailsFileRevertDetails: + return @"DBTEAMLOGEventDetailsFileRevertDetails"; + case DBTEAMLOGEventDetailsFileRollbackChangesDetails: + return @"DBTEAMLOGEventDetailsFileRollbackChangesDetails"; + case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: + return @"DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails"; + case DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails: + return @"DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails"; + case DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails: + return @"DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails"; + case DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails: + return @"DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails"; + case DBTEAMLOGEventDetailsObjectLabelAddedDetails: + return @"DBTEAMLOGEventDetailsObjectLabelAddedDetails"; + case DBTEAMLOGEventDetailsObjectLabelRemovedDetails: + return @"DBTEAMLOGEventDetailsObjectLabelRemovedDetails"; + case DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails: + return @"DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails"; + case DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails: + return @"DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails"; + case DBTEAMLOGEventDetailsReplayFileDeleteDetails: + return @"DBTEAMLOGEventDetailsReplayFileDeleteDetails"; + case DBTEAMLOGEventDetailsRewindFolderDetails: + return @"DBTEAMLOGEventDetailsRewindFolderDetails"; + case DBTEAMLOGEventDetailsUndoNamingConventionDetails: + return @"DBTEAMLOGEventDetailsUndoNamingConventionDetails"; + case DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails: + return @"DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails"; + case DBTEAMLOGEventDetailsUserTagsAddedDetails: + return @"DBTEAMLOGEventDetailsUserTagsAddedDetails"; + case DBTEAMLOGEventDetailsUserTagsRemovedDetails: + return @"DBTEAMLOGEventDetailsUserTagsRemovedDetails"; + case DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails: + return @"DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails"; + case DBTEAMLOGEventDetailsFileRequestChangeDetails: + return @"DBTEAMLOGEventDetailsFileRequestChangeDetails"; + case DBTEAMLOGEventDetailsFileRequestCloseDetails: + return @"DBTEAMLOGEventDetailsFileRequestCloseDetails"; + case DBTEAMLOGEventDetailsFileRequestCreateDetails: + return @"DBTEAMLOGEventDetailsFileRequestCreateDetails"; + case DBTEAMLOGEventDetailsFileRequestDeleteDetails: + return @"DBTEAMLOGEventDetailsFileRequestDeleteDetails"; + case DBTEAMLOGEventDetailsFileRequestReceiveFileDetails: + return @"DBTEAMLOGEventDetailsFileRequestReceiveFileDetails"; + case DBTEAMLOGEventDetailsGroupAddExternalIdDetails: + return @"DBTEAMLOGEventDetailsGroupAddExternalIdDetails"; + case DBTEAMLOGEventDetailsGroupAddMemberDetails: + return @"DBTEAMLOGEventDetailsGroupAddMemberDetails"; + case DBTEAMLOGEventDetailsGroupChangeExternalIdDetails: + return @"DBTEAMLOGEventDetailsGroupChangeExternalIdDetails"; + case DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails: + return @"DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails"; + case DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails: + return @"DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails"; + case DBTEAMLOGEventDetailsGroupCreateDetails: + return @"DBTEAMLOGEventDetailsGroupCreateDetails"; + case DBTEAMLOGEventDetailsGroupDeleteDetails: + return @"DBTEAMLOGEventDetailsGroupDeleteDetails"; + case DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails: + return @"DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails"; + case DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails: + return @"DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails"; + case DBTEAMLOGEventDetailsGroupMovedDetails: + return @"DBTEAMLOGEventDetailsGroupMovedDetails"; + case DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails: + return @"DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails"; + case DBTEAMLOGEventDetailsGroupRemoveMemberDetails: + return @"DBTEAMLOGEventDetailsGroupRemoveMemberDetails"; + case DBTEAMLOGEventDetailsGroupRenameDetails: + return @"DBTEAMLOGEventDetailsGroupRenameDetails"; + case DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails: + return @"DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails"; + case DBTEAMLOGEventDetailsEmmErrorDetails: + return @"DBTEAMLOGEventDetailsEmmErrorDetails"; + case DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails: + return @"DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails"; + case DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails: + return @"DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails"; + case DBTEAMLOGEventDetailsLoginFailDetails: + return @"DBTEAMLOGEventDetailsLoginFailDetails"; + case DBTEAMLOGEventDetailsLoginSuccessDetails: + return @"DBTEAMLOGEventDetailsLoginSuccessDetails"; + case DBTEAMLOGEventDetailsLogoutDetails: + return @"DBTEAMLOGEventDetailsLogoutDetails"; + case DBTEAMLOGEventDetailsResellerSupportSessionEndDetails: + return @"DBTEAMLOGEventDetailsResellerSupportSessionEndDetails"; + case DBTEAMLOGEventDetailsResellerSupportSessionStartDetails: + return @"DBTEAMLOGEventDetailsResellerSupportSessionStartDetails"; + case DBTEAMLOGEventDetailsSignInAsSessionEndDetails: + return @"DBTEAMLOGEventDetailsSignInAsSessionEndDetails"; + case DBTEAMLOGEventDetailsSignInAsSessionStartDetails: + return @"DBTEAMLOGEventDetailsSignInAsSessionStartDetails"; + case DBTEAMLOGEventDetailsSsoErrorDetails: + return @"DBTEAMLOGEventDetailsSsoErrorDetails"; + case DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails: + return @"DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails"; + case DBTEAMLOGEventDetailsBackupInvitationOpenedDetails: + return @"DBTEAMLOGEventDetailsBackupInvitationOpenedDetails"; + case DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails: + return @"DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails"; + case DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails: + return @"DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails"; + case DBTEAMLOGEventDetailsMemberAddExternalIdDetails: + return @"DBTEAMLOGEventDetailsMemberAddExternalIdDetails"; + case DBTEAMLOGEventDetailsMemberAddNameDetails: + return @"DBTEAMLOGEventDetailsMemberAddNameDetails"; + case DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails: + return @"DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails"; + case DBTEAMLOGEventDetailsMemberChangeEmailDetails: + return @"DBTEAMLOGEventDetailsMemberChangeEmailDetails"; + case DBTEAMLOGEventDetailsMemberChangeExternalIdDetails: + return @"DBTEAMLOGEventDetailsMemberChangeExternalIdDetails"; + case DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails: + return @"DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails"; + case DBTEAMLOGEventDetailsMemberChangeNameDetails: + return @"DBTEAMLOGEventDetailsMemberChangeNameDetails"; + case DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails: + return @"DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails"; + case DBTEAMLOGEventDetailsMemberChangeStatusDetails: + return @"DBTEAMLOGEventDetailsMemberChangeStatusDetails"; + case DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails: + return @"DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails"; + case DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails: + return @"DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails"; + case DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails: + return @"DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails"; + case DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails: + return @"DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails"; + case DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails: + return @"DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails"; + case DBTEAMLOGEventDetailsMemberSuggestDetails: + return @"DBTEAMLOGEventDetailsMemberSuggestDetails"; + case DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails: + return @"DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails"; + case DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails: + return @"DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails"; + case DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails: + return @"DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails"; + case DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails: + return @"DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails"; + case DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails"; + case DBTEAMLOGEventDetailsBinderAddPageDetails: + return @"DBTEAMLOGEventDetailsBinderAddPageDetails"; + case DBTEAMLOGEventDetailsBinderAddSectionDetails: + return @"DBTEAMLOGEventDetailsBinderAddSectionDetails"; + case DBTEAMLOGEventDetailsBinderRemovePageDetails: + return @"DBTEAMLOGEventDetailsBinderRemovePageDetails"; + case DBTEAMLOGEventDetailsBinderRemoveSectionDetails: + return @"DBTEAMLOGEventDetailsBinderRemoveSectionDetails"; + case DBTEAMLOGEventDetailsBinderRenamePageDetails: + return @"DBTEAMLOGEventDetailsBinderRenamePageDetails"; + case DBTEAMLOGEventDetailsBinderRenameSectionDetails: + return @"DBTEAMLOGEventDetailsBinderRenameSectionDetails"; + case DBTEAMLOGEventDetailsBinderReorderPageDetails: + return @"DBTEAMLOGEventDetailsBinderReorderPageDetails"; + case DBTEAMLOGEventDetailsBinderReorderSectionDetails: + return @"DBTEAMLOGEventDetailsBinderReorderSectionDetails"; + case DBTEAMLOGEventDetailsPaperContentAddMemberDetails: + return @"DBTEAMLOGEventDetailsPaperContentAddMemberDetails"; + case DBTEAMLOGEventDetailsPaperContentAddToFolderDetails: + return @"DBTEAMLOGEventDetailsPaperContentAddToFolderDetails"; + case DBTEAMLOGEventDetailsPaperContentArchiveDetails: + return @"DBTEAMLOGEventDetailsPaperContentArchiveDetails"; + case DBTEAMLOGEventDetailsPaperContentCreateDetails: + return @"DBTEAMLOGEventDetailsPaperContentCreateDetails"; + case DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails: + return @"DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails"; + case DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails: + return @"DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails"; + case DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails: + return @"DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails"; + case DBTEAMLOGEventDetailsPaperContentRenameDetails: + return @"DBTEAMLOGEventDetailsPaperContentRenameDetails"; + case DBTEAMLOGEventDetailsPaperContentRestoreDetails: + return @"DBTEAMLOGEventDetailsPaperContentRestoreDetails"; + case DBTEAMLOGEventDetailsPaperDocAddCommentDetails: + return @"DBTEAMLOGEventDetailsPaperDocAddCommentDetails"; + case DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails: + return @"DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails"; + case DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails: + return @"DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails"; + case DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails: + return @"DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails"; + case DBTEAMLOGEventDetailsPaperDocDeletedDetails: + return @"DBTEAMLOGEventDetailsPaperDocDeletedDetails"; + case DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails: + return @"DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails"; + case DBTEAMLOGEventDetailsPaperDocDownloadDetails: + return @"DBTEAMLOGEventDetailsPaperDocDownloadDetails"; + case DBTEAMLOGEventDetailsPaperDocEditDetails: + return @"DBTEAMLOGEventDetailsPaperDocEditDetails"; + case DBTEAMLOGEventDetailsPaperDocEditCommentDetails: + return @"DBTEAMLOGEventDetailsPaperDocEditCommentDetails"; + case DBTEAMLOGEventDetailsPaperDocFollowedDetails: + return @"DBTEAMLOGEventDetailsPaperDocFollowedDetails"; + case DBTEAMLOGEventDetailsPaperDocMentionDetails: + return @"DBTEAMLOGEventDetailsPaperDocMentionDetails"; + case DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails: + return @"DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails"; + case DBTEAMLOGEventDetailsPaperDocRequestAccessDetails: + return @"DBTEAMLOGEventDetailsPaperDocRequestAccessDetails"; + case DBTEAMLOGEventDetailsPaperDocResolveCommentDetails: + return @"DBTEAMLOGEventDetailsPaperDocResolveCommentDetails"; + case DBTEAMLOGEventDetailsPaperDocRevertDetails: + return @"DBTEAMLOGEventDetailsPaperDocRevertDetails"; + case DBTEAMLOGEventDetailsPaperDocSlackShareDetails: + return @"DBTEAMLOGEventDetailsPaperDocSlackShareDetails"; + case DBTEAMLOGEventDetailsPaperDocTeamInviteDetails: + return @"DBTEAMLOGEventDetailsPaperDocTeamInviteDetails"; + case DBTEAMLOGEventDetailsPaperDocTrashedDetails: + return @"DBTEAMLOGEventDetailsPaperDocTrashedDetails"; + case DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails: + return @"DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails"; + case DBTEAMLOGEventDetailsPaperDocUntrashedDetails: + return @"DBTEAMLOGEventDetailsPaperDocUntrashedDetails"; + case DBTEAMLOGEventDetailsPaperDocViewDetails: + return @"DBTEAMLOGEventDetailsPaperDocViewDetails"; + case DBTEAMLOGEventDetailsPaperExternalViewAllowDetails: + return @"DBTEAMLOGEventDetailsPaperExternalViewAllowDetails"; + case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: + return @"DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails"; + case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: + return @"DBTEAMLOGEventDetailsPaperExternalViewForbidDetails"; + case DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails: + return @"DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails"; + case DBTEAMLOGEventDetailsPaperFolderDeletedDetails: + return @"DBTEAMLOGEventDetailsPaperFolderDeletedDetails"; + case DBTEAMLOGEventDetailsPaperFolderFollowedDetails: + return @"DBTEAMLOGEventDetailsPaperFolderFollowedDetails"; + case DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails: + return @"DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails"; + case DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails: + return @"DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails"; + case DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails: + return @"DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails"; + case DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails: + return @"DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails"; + case DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails: + return @"DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails"; + case DBTEAMLOGEventDetailsPasswordChangeDetails: + return @"DBTEAMLOGEventDetailsPasswordChangeDetails"; + case DBTEAMLOGEventDetailsPasswordResetDetails: + return @"DBTEAMLOGEventDetailsPasswordResetDetails"; + case DBTEAMLOGEventDetailsPasswordResetAllDetails: + return @"DBTEAMLOGEventDetailsPasswordResetAllDetails"; + case DBTEAMLOGEventDetailsClassificationCreateReportDetails: + return @"DBTEAMLOGEventDetailsClassificationCreateReportDetails"; + case DBTEAMLOGEventDetailsClassificationCreateReportFailDetails: + return @"DBTEAMLOGEventDetailsClassificationCreateReportFailDetails"; + case DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails: + return @"DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails"; + case DBTEAMLOGEventDetailsEmmCreateUsageReportDetails: + return @"DBTEAMLOGEventDetailsEmmCreateUsageReportDetails"; + case DBTEAMLOGEventDetailsExportMembersReportDetails: + return @"DBTEAMLOGEventDetailsExportMembersReportDetails"; + case DBTEAMLOGEventDetailsExportMembersReportFailDetails: + return @"DBTEAMLOGEventDetailsExportMembersReportFailDetails"; + case DBTEAMLOGEventDetailsExternalSharingCreateReportDetails: + return @"DBTEAMLOGEventDetailsExternalSharingCreateReportDetails"; + case DBTEAMLOGEventDetailsExternalSharingReportFailedDetails: + return @"DBTEAMLOGEventDetailsExternalSharingReportFailedDetails"; + case DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails: + return @"DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails"; + case DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails: + return @"DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails"; + case DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails: + return @"DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails"; + case DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails: + return @"DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails"; + case DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails: + return @"DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails"; + case DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails: + return @"DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails"; + case DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails: + return @"DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails"; + case DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails: + return @"DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails"; + case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: + return @"DBTEAMLOGEventDetailsPaperAdminExportStartDetails"; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails: + return @"DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails"; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails: + return @"DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails"; + case DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails: + return @"DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails"; + case DBTEAMLOGEventDetailsTeamActivityCreateReportDetails: + return @"DBTEAMLOGEventDetailsTeamActivityCreateReportDetails"; + case DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails: + return @"DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails"; + case DBTEAMLOGEventDetailsCollectionShareDetails: + return @"DBTEAMLOGEventDetailsCollectionShareDetails"; + case DBTEAMLOGEventDetailsFileTransfersFileAddDetails: + return @"DBTEAMLOGEventDetailsFileTransfersFileAddDetails"; + case DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails: + return @"DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails"; + case DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails: + return @"DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails"; + case DBTEAMLOGEventDetailsFileTransfersTransferSendDetails: + return @"DBTEAMLOGEventDetailsFileTransfersTransferSendDetails"; + case DBTEAMLOGEventDetailsFileTransfersTransferViewDetails: + return @"DBTEAMLOGEventDetailsFileTransfersTransferViewDetails"; + case DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails: + return @"DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails"; + case DBTEAMLOGEventDetailsNoteAclLinkDetails: + return @"DBTEAMLOGEventDetailsNoteAclLinkDetails"; + case DBTEAMLOGEventDetailsNoteAclTeamLinkDetails: + return @"DBTEAMLOGEventDetailsNoteAclTeamLinkDetails"; + case DBTEAMLOGEventDetailsNoteSharedDetails: + return @"DBTEAMLOGEventDetailsNoteSharedDetails"; + case DBTEAMLOGEventDetailsNoteShareReceiveDetails: + return @"DBTEAMLOGEventDetailsNoteShareReceiveDetails"; + case DBTEAMLOGEventDetailsOpenNoteSharedDetails: + return @"DBTEAMLOGEventDetailsOpenNoteSharedDetails"; + case DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails: + return @"DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails"; + case DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails: + return @"DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails"; + case DBTEAMLOGEventDetailsReplayProjectTeamAddDetails: + return @"DBTEAMLOGEventDetailsReplayProjectTeamAddDetails"; + case DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails: + return @"DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails"; + case DBTEAMLOGEventDetailsSfAddGroupDetails: + return @"DBTEAMLOGEventDetailsSfAddGroupDetails"; + case DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails: + return @"DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails"; + case DBTEAMLOGEventDetailsSfExternalInviteWarnDetails: + return @"DBTEAMLOGEventDetailsSfExternalInviteWarnDetails"; + case DBTEAMLOGEventDetailsSfFbInviteDetails: + return @"DBTEAMLOGEventDetailsSfFbInviteDetails"; + case DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails: + return @"DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails"; + case DBTEAMLOGEventDetailsSfFbUninviteDetails: + return @"DBTEAMLOGEventDetailsSfFbUninviteDetails"; + case DBTEAMLOGEventDetailsSfInviteGroupDetails: + return @"DBTEAMLOGEventDetailsSfInviteGroupDetails"; + case DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: + return @"DBTEAMLOGEventDetailsSfTeamGrantAccessDetails"; + case DBTEAMLOGEventDetailsSfTeamInviteDetails: + return @"DBTEAMLOGEventDetailsSfTeamInviteDetails"; + case DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails: + return @"DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails"; + case DBTEAMLOGEventDetailsSfTeamJoinDetails: + return @"DBTEAMLOGEventDetailsSfTeamJoinDetails"; + case DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails: + return @"DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails"; + case DBTEAMLOGEventDetailsSfTeamUninviteDetails: + return @"DBTEAMLOGEventDetailsSfTeamUninviteDetails"; + case DBTEAMLOGEventDetailsSharedContentAddInviteesDetails: + return @"DBTEAMLOGEventDetailsSharedContentAddInviteesDetails"; + case DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails"; + case DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails: + return @"DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails"; + case DBTEAMLOGEventDetailsSharedContentAddMemberDetails: + return @"DBTEAMLOGEventDetailsSharedContentAddMemberDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails"; + case DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails: + return @"DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails"; + case DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails: + return @"DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails"; + case DBTEAMLOGEventDetailsSharedContentCopyDetails: + return @"DBTEAMLOGEventDetailsSharedContentCopyDetails"; + case DBTEAMLOGEventDetailsSharedContentDownloadDetails: + return @"DBTEAMLOGEventDetailsSharedContentDownloadDetails"; + case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: + return @"DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails"; + case DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails: + return @"DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails"; + case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails"; + case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: + return @"DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails"; + case DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails: + return @"DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails"; + case DBTEAMLOGEventDetailsSharedContentRequestAccessDetails: + return @"DBTEAMLOGEventDetailsSharedContentRequestAccessDetails"; + case DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails: + return @"DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails"; + case DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails: + return @"DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails"; + case DBTEAMLOGEventDetailsSharedContentUnshareDetails: + return @"DBTEAMLOGEventDetailsSharedContentUnshareDetails"; + case DBTEAMLOGEventDetailsSharedContentViewDetails: + return @"DBTEAMLOGEventDetailsSharedContentViewDetails"; + case DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: + return @"DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails"; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails: + return @"DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails"; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails: + return @"DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails"; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails: + return @"DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails"; + case DBTEAMLOGEventDetailsSharedFolderCreateDetails: + return @"DBTEAMLOGEventDetailsSharedFolderCreateDetails"; + case DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails: + return @"DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails"; + case DBTEAMLOGEventDetailsSharedFolderMountDetails: + return @"DBTEAMLOGEventDetailsSharedFolderMountDetails"; + case DBTEAMLOGEventDetailsSharedFolderNestDetails: + return @"DBTEAMLOGEventDetailsSharedFolderNestDetails"; + case DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails: + return @"DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails"; + case DBTEAMLOGEventDetailsSharedFolderUnmountDetails: + return @"DBTEAMLOGEventDetailsSharedFolderUnmountDetails"; + case DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails"; + case DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails"; + case DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails: + return @"DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails"; + case DBTEAMLOGEventDetailsSharedLinkCopyDetails: + return @"DBTEAMLOGEventDetailsSharedLinkCopyDetails"; + case DBTEAMLOGEventDetailsSharedLinkCreateDetails: + return @"DBTEAMLOGEventDetailsSharedLinkCreateDetails"; + case DBTEAMLOGEventDetailsSharedLinkDisableDetails: + return @"DBTEAMLOGEventDetailsSharedLinkDisableDetails"; + case DBTEAMLOGEventDetailsSharedLinkDownloadDetails: + return @"DBTEAMLOGEventDetailsSharedLinkDownloadDetails"; + case DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails: + return @"DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails"; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails: + return @"DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails"; + case DBTEAMLOGEventDetailsSharedLinkShareDetails: + return @"DBTEAMLOGEventDetailsSharedLinkShareDetails"; + case DBTEAMLOGEventDetailsSharedLinkViewDetails: + return @"DBTEAMLOGEventDetailsSharedLinkViewDetails"; + case DBTEAMLOGEventDetailsSharedNoteOpenedDetails: + return @"DBTEAMLOGEventDetailsSharedNoteOpenedDetails"; + case DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails: + return @"DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails"; + case DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails: + return @"DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails"; + case DBTEAMLOGEventDetailsShmodelGroupShareDetails: + return @"DBTEAMLOGEventDetailsShmodelGroupShareDetails"; + case DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails: + return @"DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails"; + case DBTEAMLOGEventDetailsShowcaseAddMemberDetails: + return @"DBTEAMLOGEventDetailsShowcaseAddMemberDetails"; + case DBTEAMLOGEventDetailsShowcaseArchivedDetails: + return @"DBTEAMLOGEventDetailsShowcaseArchivedDetails"; + case DBTEAMLOGEventDetailsShowcaseCreatedDetails: + return @"DBTEAMLOGEventDetailsShowcaseCreatedDetails"; + case DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails: + return @"DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails"; + case DBTEAMLOGEventDetailsShowcaseEditedDetails: + return @"DBTEAMLOGEventDetailsShowcaseEditedDetails"; + case DBTEAMLOGEventDetailsShowcaseEditCommentDetails: + return @"DBTEAMLOGEventDetailsShowcaseEditCommentDetails"; + case DBTEAMLOGEventDetailsShowcaseFileAddedDetails: + return @"DBTEAMLOGEventDetailsShowcaseFileAddedDetails"; + case DBTEAMLOGEventDetailsShowcaseFileDownloadDetails: + return @"DBTEAMLOGEventDetailsShowcaseFileDownloadDetails"; + case DBTEAMLOGEventDetailsShowcaseFileRemovedDetails: + return @"DBTEAMLOGEventDetailsShowcaseFileRemovedDetails"; + case DBTEAMLOGEventDetailsShowcaseFileViewDetails: + return @"DBTEAMLOGEventDetailsShowcaseFileViewDetails"; + case DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails: + return @"DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails"; + case DBTEAMLOGEventDetailsShowcasePostCommentDetails: + return @"DBTEAMLOGEventDetailsShowcasePostCommentDetails"; + case DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails: + return @"DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails"; + case DBTEAMLOGEventDetailsShowcaseRenamedDetails: + return @"DBTEAMLOGEventDetailsShowcaseRenamedDetails"; + case DBTEAMLOGEventDetailsShowcaseRequestAccessDetails: + return @"DBTEAMLOGEventDetailsShowcaseRequestAccessDetails"; + case DBTEAMLOGEventDetailsShowcaseResolveCommentDetails: + return @"DBTEAMLOGEventDetailsShowcaseResolveCommentDetails"; + case DBTEAMLOGEventDetailsShowcaseRestoredDetails: + return @"DBTEAMLOGEventDetailsShowcaseRestoredDetails"; + case DBTEAMLOGEventDetailsShowcaseTrashedDetails: + return @"DBTEAMLOGEventDetailsShowcaseTrashedDetails"; + case DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails: + return @"DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails"; + case DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails: + return @"DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails"; + case DBTEAMLOGEventDetailsShowcaseUntrashedDetails: + return @"DBTEAMLOGEventDetailsShowcaseUntrashedDetails"; + case DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails: + return @"DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails"; + case DBTEAMLOGEventDetailsShowcaseViewDetails: + return @"DBTEAMLOGEventDetailsShowcaseViewDetails"; + case DBTEAMLOGEventDetailsSsoAddCertDetails: + return @"DBTEAMLOGEventDetailsSsoAddCertDetails"; + case DBTEAMLOGEventDetailsSsoAddLoginUrlDetails: + return @"DBTEAMLOGEventDetailsSsoAddLoginUrlDetails"; + case DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails: + return @"DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails"; + case DBTEAMLOGEventDetailsSsoChangeCertDetails: + return @"DBTEAMLOGEventDetailsSsoChangeCertDetails"; + case DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails: + return @"DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails"; + case DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails: + return @"DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails"; + case DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails: + return @"DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails"; + case DBTEAMLOGEventDetailsSsoRemoveCertDetails: + return @"DBTEAMLOGEventDetailsSsoRemoveCertDetails"; + case DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails: + return @"DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails"; + case DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails: + return @"DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails"; + case DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails: + return @"DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails"; + case DBTEAMLOGEventDetailsTeamFolderCreateDetails: + return @"DBTEAMLOGEventDetailsTeamFolderCreateDetails"; + case DBTEAMLOGEventDetailsTeamFolderDowngradeDetails: + return @"DBTEAMLOGEventDetailsTeamFolderDowngradeDetails"; + case DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails: + return @"DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails"; + case DBTEAMLOGEventDetailsTeamFolderRenameDetails: + return @"DBTEAMLOGEventDetailsTeamFolderRenameDetails"; + case DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails: + return @"DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails"; + case DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails: + return @"DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails"; + case DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails: + return @"DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails"; + case DBTEAMLOGEventDetailsAllowDownloadDisabledDetails: + return @"DBTEAMLOGEventDetailsAllowDownloadDisabledDetails"; + case DBTEAMLOGEventDetailsAllowDownloadEnabledDetails: + return @"DBTEAMLOGEventDetailsAllowDownloadEnabledDetails"; + case DBTEAMLOGEventDetailsAppPermissionsChangedDetails: + return @"DBTEAMLOGEventDetailsAppPermissionsChangedDetails"; + case DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails"; + case DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails"; + case DBTEAMLOGEventDetailsClassificationChangePolicyDetails: + return @"DBTEAMLOGEventDetailsClassificationChangePolicyDetails"; + case DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails"; + case DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails"; + case DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails: + return @"DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails"; + case DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails: + return @"DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails"; + case DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails: + return @"DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails"; + case DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails: + return @"DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails"; + case DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails: + return @"DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails"; + case DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails"; + case DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails"; + case DBTEAMLOGEventDetailsEmmAddExceptionDetails: + return @"DBTEAMLOGEventDetailsEmmAddExceptionDetails"; + case DBTEAMLOGEventDetailsEmmChangePolicyDetails: + return @"DBTEAMLOGEventDetailsEmmChangePolicyDetails"; + case DBTEAMLOGEventDetailsEmmRemoveExceptionDetails: + return @"DBTEAMLOGEventDetailsEmmRemoveExceptionDetails"; + case DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails: + return @"DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails"; + case DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails"; + case DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails"; + case DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails"; + case DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails"; + case DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails"; + case DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails: + return @"DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails"; + case DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails: + return @"DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails"; + case DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails"; + case DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails"; + case DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails: + return @"DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails"; + case DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails: + return @"DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails"; + case DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails"; + case DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails"; + case DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails"; + case DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails: + return @"DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails"; + case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails: + return @"DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails"; + case DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails"; + case DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails: + return @"DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails"; + case DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails: + return @"DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails"; + case DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails: + return @"DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails"; + case DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails: + return @"DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails"; + case DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails: + return @"DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails"; + case DBTEAMLOGEventDetailsPaperChangePolicyDetails: + return @"DBTEAMLOGEventDetailsPaperChangePolicyDetails"; + case DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails"; + case DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails"; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: + return @"DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails"; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: + return @"DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails"; + case DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails: + return @"DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails"; + case DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails: + return @"DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails"; + case DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails: + return @"DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails"; + case DBTEAMLOGEventDetailsRewindPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsRewindPolicyChangedDetails"; + case DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails: + return @"DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails"; + case DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails"; + case DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails"; + case DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails"; + case DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails"; + case DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails"; + case DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails: + return @"DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails"; + case DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails: + return @"DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails"; + case DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails: + return @"DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails"; + case DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails: + return @"DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails"; + case DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails"; + case DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails: + return @"DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails"; + case DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails: + return @"DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails"; + case DBTEAMLOGEventDetailsSmartSyncOptOutDetails: + return @"DBTEAMLOGEventDetailsSmartSyncOptOutDetails"; + case DBTEAMLOGEventDetailsSsoChangePolicyDetails: + return @"DBTEAMLOGEventDetailsSsoChangePolicyDetails"; + case DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails"; + case DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails"; + case DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails"; + case DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails: + return @"DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails"; + case DBTEAMLOGEventDetailsTfaAddExceptionDetails: + return @"DBTEAMLOGEventDetailsTfaAddExceptionDetails"; + case DBTEAMLOGEventDetailsTfaChangePolicyDetails: + return @"DBTEAMLOGEventDetailsTfaChangePolicyDetails"; + case DBTEAMLOGEventDetailsTfaRemoveExceptionDetails: + return @"DBTEAMLOGEventDetailsTfaRemoveExceptionDetails"; + case DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails: + return @"DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails"; + case DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails"; + case DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails: + return @"DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails"; + case DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails: + return @"DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails"; + case DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails: + return @"DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails"; + case DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails: + return @"DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails"; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails: + return @"DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails"; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails: + return @"DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails"; + case DBTEAMLOGEventDetailsTeamMergeFromDetails: + return @"DBTEAMLOGEventDetailsTeamMergeFromDetails"; + case DBTEAMLOGEventDetailsTeamMergeToDetails: + return @"DBTEAMLOGEventDetailsTeamMergeToDetails"; + case DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails: + return @"DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails"; + case DBTEAMLOGEventDetailsTeamProfileAddLogoDetails: + return @"DBTEAMLOGEventDetailsTeamProfileAddLogoDetails"; + case DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails: + return @"DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails"; + case DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails: + return @"DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails"; + case DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails: + return @"DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails"; + case DBTEAMLOGEventDetailsTeamProfileChangeNameDetails: + return @"DBTEAMLOGEventDetailsTeamProfileChangeNameDetails"; + case DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails: + return @"DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails"; + case DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails: + return @"DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails"; + case DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails: + return @"DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails"; + case DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails: + return @"DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails"; + case DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails: + return @"DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails"; + case DBTEAMLOGEventDetailsTfaChangeStatusDetails: + return @"DBTEAMLOGEventDetailsTfaChangeStatusDetails"; + case DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails: + return @"DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails"; + case DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails: + return @"DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails"; + case DBTEAMLOGEventDetailsTfaResetDetails: + return @"DBTEAMLOGEventDetailsTfaResetDetails"; + case DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails: + return @"DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails"; + case DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails: + return @"DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails"; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails: + return @"DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails"; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails: + return @"DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails"; + case DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails: + return @"DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails"; + case DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails: + return @"DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails"; + case DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails: + return @"DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails"; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails: + return @"DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails"; + case DBTEAMLOGEventDetailsMissingDetails: + return @"DBTEAMLOGEventDetailsMissingDetails"; + case DBTEAMLOGEventDetailsOther: + return @"DBTEAMLOGEventDetailsOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEventDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEventDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEventDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails: + result = prime * result + [self.adminAlertingAlertStateChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails: + result = prime * result + [self.adminAlertingChangedAlertConfigDetails hash]; + break; + case DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails: + result = prime * result + [self.adminAlertingTriggeredAlertDetails hash]; + break; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails: + result = prime * result + [self.ransomwareRestoreProcessCompletedDetails hash]; + break; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails: + result = prime * result + [self.ransomwareRestoreProcessStartedDetails hash]; + break; + case DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails: + result = prime * result + [self.appBlockedByPermissionsDetails hash]; + break; + case DBTEAMLOGEventDetailsAppLinkTeamDetails: + result = prime * result + [self.appLinkTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsAppLinkUserDetails: + result = prime * result + [self.appLinkUserDetails hash]; + break; + case DBTEAMLOGEventDetailsAppUnlinkTeamDetails: + result = prime * result + [self.appUnlinkTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsAppUnlinkUserDetails: + result = prime * result + [self.appUnlinkUserDetails hash]; + break; + case DBTEAMLOGEventDetailsIntegrationConnectedDetails: + result = prime * result + [self.integrationConnectedDetails hash]; + break; + case DBTEAMLOGEventDetailsIntegrationDisconnectedDetails: + result = prime * result + [self.integrationDisconnectedDetails hash]; + break; + case DBTEAMLOGEventDetailsFileAddCommentDetails: + result = prime * result + [self.fileAddCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails: + result = prime * result + [self.fileChangeCommentSubscriptionDetails hash]; + break; + case DBTEAMLOGEventDetailsFileDeleteCommentDetails: + result = prime * result + [self.fileDeleteCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileEditCommentDetails: + result = prime * result + [self.fileEditCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileLikeCommentDetails: + result = prime * result + [self.fileLikeCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileResolveCommentDetails: + result = prime * result + [self.fileResolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileUnlikeCommentDetails: + result = prime * result + [self.fileUnlikeCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsFileUnresolveCommentDetails: + result = prime * result + [self.fileUnresolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails: + result = prime * result + [self.governancePolicyAddFoldersDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails: + result = prime * result + [self.governancePolicyAddFolderFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails: + result = prime * result + [self.governancePolicyContentDisposedDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyCreateDetails: + result = prime * result + [self.governancePolicyCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails: + result = prime * result + [self.governancePolicyDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails: + result = prime * result + [self.governancePolicyEditDetailsDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails: + result = prime * result + [self.governancePolicyEditDurationDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails: + result = prime * result + [self.governancePolicyExportCreatedDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails: + result = prime * result + [self.governancePolicyExportRemovedDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails: + result = prime * result + [self.governancePolicyRemoveFoldersDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails: + result = prime * result + [self.governancePolicyReportCreatedDetails hash]; + break; + case DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails: + result = prime * result + [self.governancePolicyZipPartDownloadedDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails: + result = prime * result + [self.legalHoldsActivateAHoldDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails: + result = prime * result + [self.legalHoldsAddMembersDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails: + result = prime * result + [self.legalHoldsChangeHoldDetailsDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails: + result = prime * result + [self.legalHoldsChangeHoldNameDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails: + result = prime * result + [self.legalHoldsExportAHoldDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails: + result = prime * result + [self.legalHoldsExportCancelledDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails: + result = prime * result + [self.legalHoldsExportDownloadedDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails: + result = prime * result + [self.legalHoldsExportRemovedDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails: + result = prime * result + [self.legalHoldsReleaseAHoldDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails: + result = prime * result + [self.legalHoldsRemoveMembersDetails hash]; + break; + case DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails: + result = prime * result + [self.legalHoldsReportAHoldDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails: + result = prime * result + [self.deviceChangeIpDesktopDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails: + result = prime * result + [self.deviceChangeIpMobileDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceChangeIpWebDetails: + result = prime * result + [self.deviceChangeIpWebDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails: + result = prime * result + [self.deviceDeleteOnUnlinkFailDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails: + result = prime * result + [self.deviceDeleteOnUnlinkSuccessDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceLinkFailDetails: + result = prime * result + [self.deviceLinkFailDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceLinkSuccessDetails: + result = prime * result + [self.deviceLinkSuccessDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceManagementDisabledDetails: + result = prime * result + [self.deviceManagementDisabledDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceManagementEnabledDetails: + result = prime * result + [self.deviceManagementEnabledDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails: + result = prime * result + [self.deviceSyncBackupStatusChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceUnlinkDetails: + result = prime * result + [self.deviceUnlinkDetails hash]; + break; + case DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails: + result = prime * result + [self.dropboxPasswordsExportedDetails hash]; + break; + case DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails: + result = prime * result + [self.dropboxPasswordsNewDeviceEnrolledDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails: + result = prime * result + [self.emmRefreshAuthTokenDetails hash]; + break; + case DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails: + result = prime * result + [self.externalDriveBackupEligibilityStatusCheckedDetails hash]; + break; + case DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails: + result = prime * result + [self.externalDriveBackupStatusChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails: + result = prime * result + [self.accountCaptureChangeAvailabilityDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails: + result = prime * result + [self.accountCaptureMigrateAccountDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails: + result = prime * result + [self.accountCaptureNotificationEmailsSentDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails: + result = prime * result + [self.accountCaptureRelinquishAccountDetails hash]; + break; + case DBTEAMLOGEventDetailsDisabledDomainInvitesDetails: + result = prime * result + [self.disabledDomainInvitesDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails: + result = prime * result + [self.domainInvitesApproveRequestToJoinTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails: + result = prime * result + [self.domainInvitesDeclineRequestToJoinTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails: + result = prime * result + [self.domainInvitesEmailExistingUsersDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails: + result = prime * result + [self.domainInvitesRequestToJoinTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails: + result = prime * result + [self.domainInvitesSetInviteNewUserPrefToNoDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails: + result = prime * result + [self.domainInvitesSetInviteNewUserPrefToYesDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails: + result = prime * result + [self.domainVerificationAddDomainFailDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails: + result = prime * result + [self.domainVerificationAddDomainSuccessDetails hash]; + break; + case DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails: + result = prime * result + [self.domainVerificationRemoveDomainDetails hash]; + break; + case DBTEAMLOGEventDetailsEnabledDomainInvitesDetails: + result = prime * result + [self.enabledDomainInvitesDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails: + result = prime * result + [self.teamEncryptionKeyCancelKeyDeletionDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails: + result = prime * result + [self.teamEncryptionKeyCreateKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails: + result = prime * result + [self.teamEncryptionKeyDeleteKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails: + result = prime * result + [self.teamEncryptionKeyDisableKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails: + result = prime * result + [self.teamEncryptionKeyEnableKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails: + result = prime * result + [self.teamEncryptionKeyRotateKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails: + result = prime * result + [self.teamEncryptionKeyScheduleKeyDeletionDetails hash]; + break; + case DBTEAMLOGEventDetailsApplyNamingConventionDetails: + result = prime * result + [self.applyNamingConventionDetails hash]; + break; + case DBTEAMLOGEventDetailsCreateFolderDetails: + result = prime * result + [self.createFolderDetails hash]; + break; + case DBTEAMLOGEventDetailsFileAddDetails: + result = prime * result + [self.fileAddDetails hash]; + break; + case DBTEAMLOGEventDetailsFileAddFromAutomationDetails: + result = prime * result + [self.fileAddFromAutomationDetails hash]; + break; + case DBTEAMLOGEventDetailsFileCopyDetails: + result = prime * result + [self.fileCopyDetails hash]; + break; + case DBTEAMLOGEventDetailsFileDeleteDetails: + result = prime * result + [self.fileDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsFileDownloadDetails: + result = prime * result + [self.fileDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsFileEditDetails: + result = prime * result + [self.fileEditDetails hash]; + break; + case DBTEAMLOGEventDetailsFileGetCopyReferenceDetails: + result = prime * result + [self.fileGetCopyReferenceDetails hash]; + break; + case DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails: + result = prime * result + [self.fileLockingLockStatusChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFileMoveDetails: + result = prime * result + [self.fileMoveDetails hash]; + break; + case DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails: + result = prime * result + [self.filePermanentlyDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsFilePreviewDetails: + result = prime * result + [self.filePreviewDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRenameDetails: + result = prime * result + [self.fileRenameDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRestoreDetails: + result = prime * result + [self.fileRestoreDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRevertDetails: + result = prime * result + [self.fileRevertDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRollbackChangesDetails: + result = prime * result + [self.fileRollbackChangesDetails hash]; + break; + case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: + result = prime * result + [self.fileSaveCopyReferenceDetails hash]; + break; + case DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails: + result = prime * result + [self.folderOverviewDescriptionChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails: + result = prime * result + [self.folderOverviewItemPinnedDetails hash]; + break; + case DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails: + result = prime * result + [self.folderOverviewItemUnpinnedDetails hash]; + break; + case DBTEAMLOGEventDetailsObjectLabelAddedDetails: + result = prime * result + [self.objectLabelAddedDetails hash]; + break; + case DBTEAMLOGEventDetailsObjectLabelRemovedDetails: + result = prime * result + [self.objectLabelRemovedDetails hash]; + break; + case DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails: + result = prime * result + [self.objectLabelUpdatedValueDetails hash]; + break; + case DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails: + result = prime * result + [self.organizeFolderWithTidyDetails hash]; + break; + case DBTEAMLOGEventDetailsReplayFileDeleteDetails: + result = prime * result + [self.replayFileDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsRewindFolderDetails: + result = prime * result + [self.rewindFolderDetails hash]; + break; + case DBTEAMLOGEventDetailsUndoNamingConventionDetails: + result = prime * result + [self.undoNamingConventionDetails hash]; + break; + case DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails: + result = prime * result + [self.undoOrganizeFolderWithTidyDetails hash]; + break; + case DBTEAMLOGEventDetailsUserTagsAddedDetails: + result = prime * result + [self.userTagsAddedDetails hash]; + break; + case DBTEAMLOGEventDetailsUserTagsRemovedDetails: + result = prime * result + [self.userTagsRemovedDetails hash]; + break; + case DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails: + result = prime * result + [self.emailIngestReceiveFileDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestChangeDetails: + result = prime * result + [self.fileRequestChangeDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestCloseDetails: + result = prime * result + [self.fileRequestCloseDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestCreateDetails: + result = prime * result + [self.fileRequestCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestDeleteDetails: + result = prime * result + [self.fileRequestDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestReceiveFileDetails: + result = prime * result + [self.fileRequestReceiveFileDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupAddExternalIdDetails: + result = prime * result + [self.groupAddExternalIdDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupAddMemberDetails: + result = prime * result + [self.groupAddMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupChangeExternalIdDetails: + result = prime * result + [self.groupChangeExternalIdDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails: + result = prime * result + [self.groupChangeManagementTypeDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails: + result = prime * result + [self.groupChangeMemberRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupCreateDetails: + result = prime * result + [self.groupCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupDeleteDetails: + result = prime * result + [self.groupDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails: + result = prime * result + [self.groupDescriptionUpdatedDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails: + result = prime * result + [self.groupJoinPolicyUpdatedDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupMovedDetails: + result = prime * result + [self.groupMovedDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails: + result = prime * result + [self.groupRemoveExternalIdDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupRemoveMemberDetails: + result = prime * result + [self.groupRemoveMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupRenameDetails: + result = prime * result + [self.groupRenameDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails: + result = prime * result + [self.accountLockOrUnlockedDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmErrorDetails: + result = prime * result + [self.emmErrorDetails hash]; + break; + case DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails: + result = prime * result + [self.guestAdminSignedInViaTrustedTeamsDetails hash]; + break; + case DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails: + result = prime * result + [self.guestAdminSignedOutViaTrustedTeamsDetails hash]; + break; + case DBTEAMLOGEventDetailsLoginFailDetails: + result = prime * result + [self.loginFailDetails hash]; + break; + case DBTEAMLOGEventDetailsLoginSuccessDetails: + result = prime * result + [self.loginSuccessDetails hash]; + break; + case DBTEAMLOGEventDetailsLogoutDetails: + result = prime * result + [self.logoutDetails hash]; + break; + case DBTEAMLOGEventDetailsResellerSupportSessionEndDetails: + result = prime * result + [self.resellerSupportSessionEndDetails hash]; + break; + case DBTEAMLOGEventDetailsResellerSupportSessionStartDetails: + result = prime * result + [self.resellerSupportSessionStartDetails hash]; + break; + case DBTEAMLOGEventDetailsSignInAsSessionEndDetails: + result = prime * result + [self.signInAsSessionEndDetails hash]; + break; + case DBTEAMLOGEventDetailsSignInAsSessionStartDetails: + result = prime * result + [self.signInAsSessionStartDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoErrorDetails: + result = prime * result + [self.ssoErrorDetails hash]; + break; + case DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails: + result = prime * result + [self.backupAdminInvitationSentDetails hash]; + break; + case DBTEAMLOGEventDetailsBackupInvitationOpenedDetails: + result = prime * result + [self.backupInvitationOpenedDetails hash]; + break; + case DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails: + result = prime * result + [self.createTeamInviteLinkDetails hash]; + break; + case DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails: + result = prime * result + [self.deleteTeamInviteLinkDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberAddExternalIdDetails: + result = prime * result + [self.memberAddExternalIdDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberAddNameDetails: + result = prime * result + [self.memberAddNameDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails: + result = prime * result + [self.memberChangeAdminRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeEmailDetails: + result = prime * result + [self.memberChangeEmailDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeExternalIdDetails: + result = prime * result + [self.memberChangeExternalIdDetails hash]; + break; case DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails: - return [self.memberChangeMembershipTypeDetails isEqual:anEventDetails.memberChangeMembershipTypeDetails]; + result = prime * result + [self.memberChangeMembershipTypeDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeNameDetails: + result = prime * result + [self.memberChangeNameDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails: + result = prime * result + [self.memberChangeResellerRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberChangeStatusDetails: + result = prime * result + [self.memberChangeStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails: + result = prime * result + [self.memberDeleteManualContactsDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails: + result = prime * result + [self.memberDeleteProfilePhotoDetails hash]; + break; case DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails: - return [self.memberPermanentlyDeleteAccountContentsDetails - isEqual:anEventDetails.memberPermanentlyDeleteAccountContentsDetails]; + result = prime * result + [self.memberPermanentlyDeleteAccountContentsDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails: + result = prime * result + [self.memberRemoveExternalIdDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails: + result = prime * result + [self.memberSetProfilePhotoDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails: + result = prime * result + [self.memberSpaceLimitsAddCustomQuotaDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails: + result = prime * result + [self.memberSpaceLimitsChangeCustomQuotaDetails hash]; + break; case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails: - return [self.memberSpaceLimitsChangeStatusDetails isEqual:anEventDetails.memberSpaceLimitsChangeStatusDetails]; + result = prime * result + [self.memberSpaceLimitsChangeStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails: + result = prime * result + [self.memberSpaceLimitsRemoveCustomQuotaDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSuggestDetails: + result = prime * result + [self.memberSuggestDetails hash]; + break; case DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails: - return [self.memberTransferAccountContentsDetails isEqual:anEventDetails.memberTransferAccountContentsDetails]; - case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: - return [self.paperAdminExportStartDetails isEqual:anEventDetails.paperAdminExportStartDetails]; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: - return [self.paperEnabledUsersGroupAdditionDetails isEqual:anEventDetails.paperEnabledUsersGroupAdditionDetails]; - case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: - return [self.paperEnabledUsersGroupRemovalDetails isEqual:anEventDetails.paperEnabledUsersGroupRemovalDetails]; + result = prime * result + [self.memberTransferAccountContentsDetails hash]; + break; + case DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails: + result = prime * result + [self.pendingSecondaryEmailAddedDetails hash]; + break; + case DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails: + result = prime * result + [self.secondaryEmailDeletedDetails hash]; + break; + case DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails: + result = prime * result + [self.secondaryEmailVerifiedDetails hash]; + break; + case DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails: + result = prime * result + [self.secondaryMailsPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderAddPageDetails: + result = prime * result + [self.binderAddPageDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderAddSectionDetails: + result = prime * result + [self.binderAddSectionDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderRemovePageDetails: + result = prime * result + [self.binderRemovePageDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderRemoveSectionDetails: + result = prime * result + [self.binderRemoveSectionDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderRenamePageDetails: + result = prime * result + [self.binderRenamePageDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderRenameSectionDetails: + result = prime * result + [self.binderRenameSectionDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderReorderPageDetails: + result = prime * result + [self.binderReorderPageDetails hash]; + break; + case DBTEAMLOGEventDetailsBinderReorderSectionDetails: + result = prime * result + [self.binderReorderSectionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentAddMemberDetails: + result = prime * result + [self.paperContentAddMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentAddToFolderDetails: + result = prime * result + [self.paperContentAddToFolderDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentArchiveDetails: + result = prime * result + [self.paperContentArchiveDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentCreateDetails: + result = prime * result + [self.paperContentCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails: + result = prime * result + [self.paperContentPermanentlyDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails: + result = prime * result + [self.paperContentRemoveFromFolderDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails: + result = prime * result + [self.paperContentRemoveMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentRenameDetails: + result = prime * result + [self.paperContentRenameDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperContentRestoreDetails: + result = prime * result + [self.paperContentRestoreDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocAddCommentDetails: + result = prime * result + [self.paperDocAddCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails: + result = prime * result + [self.paperDocChangeMemberRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails: + result = prime * result + [self.paperDocChangeSharingPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails: + result = prime * result + [self.paperDocChangeSubscriptionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocDeletedDetails: + result = prime * result + [self.paperDocDeletedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails: + result = prime * result + [self.paperDocDeleteCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocDownloadDetails: + result = prime * result + [self.paperDocDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocEditDetails: + result = prime * result + [self.paperDocEditDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocEditCommentDetails: + result = prime * result + [self.paperDocEditCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocFollowedDetails: + result = prime * result + [self.paperDocFollowedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocMentionDetails: + result = prime * result + [self.paperDocMentionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails: + result = prime * result + [self.paperDocOwnershipChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocRequestAccessDetails: + result = prime * result + [self.paperDocRequestAccessDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocResolveCommentDetails: + result = prime * result + [self.paperDocResolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocRevertDetails: + result = prime * result + [self.paperDocRevertDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocSlackShareDetails: + result = prime * result + [self.paperDocSlackShareDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocTeamInviteDetails: + result = prime * result + [self.paperDocTeamInviteDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocTrashedDetails: + result = prime * result + [self.paperDocTrashedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails: + result = prime * result + [self.paperDocUnresolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocUntrashedDetails: + result = prime * result + [self.paperDocUntrashedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDocViewDetails: + result = prime * result + [self.paperDocViewDetails hash]; + break; case DBTEAMLOGEventDetailsPaperExternalViewAllowDetails: - return [self.paperExternalViewAllowDetails isEqual:anEventDetails.paperExternalViewAllowDetails]; + result = prime * result + [self.paperExternalViewAllowDetails hash]; + break; case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: - return [self.paperExternalViewDefaultTeamDetails isEqual:anEventDetails.paperExternalViewDefaultTeamDetails]; + result = prime * result + [self.paperExternalViewDefaultTeamDetails hash]; + break; case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: - return [self.paperExternalViewForbidDetails isEqual:anEventDetails.paperExternalViewForbidDetails]; + result = prime * result + [self.paperExternalViewForbidDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails: + result = prime * result + [self.paperFolderChangeSubscriptionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperFolderDeletedDetails: + result = prime * result + [self.paperFolderDeletedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperFolderFollowedDetails: + result = prime * result + [self.paperFolderFollowedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails: + result = prime * result + [self.paperFolderTeamInviteDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails: + result = prime * result + [self.paperPublishedLinkChangePermissionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails: + result = prime * result + [self.paperPublishedLinkCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails: + result = prime * result + [self.paperPublishedLinkDisabledDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails: + result = prime * result + [self.paperPublishedLinkViewDetails hash]; + break; + case DBTEAMLOGEventDetailsPasswordChangeDetails: + result = prime * result + [self.passwordChangeDetails hash]; + break; + case DBTEAMLOGEventDetailsPasswordResetDetails: + result = prime * result + [self.passwordResetDetails hash]; + break; + case DBTEAMLOGEventDetailsPasswordResetAllDetails: + result = prime * result + [self.passwordResetAllDetails hash]; + break; + case DBTEAMLOGEventDetailsClassificationCreateReportDetails: + result = prime * result + [self.classificationCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsClassificationCreateReportFailDetails: + result = prime * result + [self.classificationCreateReportFailDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails: + result = prime * result + [self.emmCreateExceptionsReportDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmCreateUsageReportDetails: + result = prime * result + [self.emmCreateUsageReportDetails hash]; + break; + case DBTEAMLOGEventDetailsExportMembersReportDetails: + result = prime * result + [self.exportMembersReportDetails hash]; + break; + case DBTEAMLOGEventDetailsExportMembersReportFailDetails: + result = prime * result + [self.exportMembersReportFailDetails hash]; + break; + case DBTEAMLOGEventDetailsExternalSharingCreateReportDetails: + result = prime * result + [self.externalSharingCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsExternalSharingReportFailedDetails: + result = prime * result + [self.externalSharingReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails: + result = prime * result + [self.noExpirationLinkGenCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails: + result = prime * result + [self.noExpirationLinkGenReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails: + result = prime * result + [self.noPasswordLinkGenCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails: + result = prime * result + [self.noPasswordLinkGenReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails: + result = prime * result + [self.noPasswordLinkViewCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails: + result = prime * result + [self.noPasswordLinkViewReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails: + result = prime * result + [self.outdatedLinkViewCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails: + result = prime * result + [self.outdatedLinkViewReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: + result = prime * result + [self.paperAdminExportStartDetails hash]; + break; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails: + result = prime * result + [self.ransomwareAlertCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails: + result = prime * result + [self.ransomwareAlertCreateReportFailedDetails hash]; + break; + case DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails: + result = prime * result + [self.smartSyncCreateAdminPrivilegeReportDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamActivityCreateReportDetails: + result = prime * result + [self.teamActivityCreateReportDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails: + result = prime * result + [self.teamActivityCreateReportFailDetails hash]; + break; + case DBTEAMLOGEventDetailsCollectionShareDetails: + result = prime * result + [self.collectionShareDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersFileAddDetails: + result = prime * result + [self.fileTransfersFileAddDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails: + result = prime * result + [self.fileTransfersTransferDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails: + result = prime * result + [self.fileTransfersTransferDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersTransferSendDetails: + result = prime * result + [self.fileTransfersTransferSendDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersTransferViewDetails: + result = prime * result + [self.fileTransfersTransferViewDetails hash]; + break; + case DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails: + result = prime * result + [self.noteAclInviteOnlyDetails hash]; + break; + case DBTEAMLOGEventDetailsNoteAclLinkDetails: + result = prime * result + [self.noteAclLinkDetails hash]; + break; + case DBTEAMLOGEventDetailsNoteAclTeamLinkDetails: + result = prime * result + [self.noteAclTeamLinkDetails hash]; + break; + case DBTEAMLOGEventDetailsNoteSharedDetails: + result = prime * result + [self.noteSharedDetails hash]; + break; + case DBTEAMLOGEventDetailsNoteShareReceiveDetails: + result = prime * result + [self.noteShareReceiveDetails hash]; + break; + case DBTEAMLOGEventDetailsOpenNoteSharedDetails: + result = prime * result + [self.openNoteSharedDetails hash]; + break; + case DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails: + result = prime * result + [self.replayFileSharedLinkCreatedDetails hash]; + break; + case DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails: + result = prime * result + [self.replayFileSharedLinkModifiedDetails hash]; + break; + case DBTEAMLOGEventDetailsReplayProjectTeamAddDetails: + result = prime * result + [self.replayProjectTeamAddDetails hash]; + break; + case DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails: + result = prime * result + [self.replayProjectTeamDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsSfAddGroupDetails: + result = prime * result + [self.sfAddGroupDetails hash]; + break; + case DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails: + result = prime * result + [self.sfAllowNonMembersToViewSharedLinksDetails hash]; + break; case DBTEAMLOGEventDetailsSfExternalInviteWarnDetails: - return [self.sfExternalInviteWarnDetails isEqual:anEventDetails.sfExternalInviteWarnDetails]; + result = prime * result + [self.sfExternalInviteWarnDetails hash]; + break; + case DBTEAMLOGEventDetailsSfFbInviteDetails: + result = prime * result + [self.sfFbInviteDetails hash]; + break; + case DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails: + result = prime * result + [self.sfFbInviteChangeRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsSfFbUninviteDetails: + result = prime * result + [self.sfFbUninviteDetails hash]; + break; + case DBTEAMLOGEventDetailsSfInviteGroupDetails: + result = prime * result + [self.sfInviteGroupDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: + result = prime * result + [self.sfTeamGrantAccessDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamInviteDetails: + result = prime * result + [self.sfTeamInviteDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails: + result = prime * result + [self.sfTeamInviteChangeRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamJoinDetails: + result = prime * result + [self.sfTeamJoinDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails: + result = prime * result + [self.sfTeamJoinFromOobLinkDetails hash]; + break; + case DBTEAMLOGEventDetailsSfTeamUninviteDetails: + result = prime * result + [self.sfTeamUninviteDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentAddInviteesDetails: + result = prime * result + [self.sharedContentAddInviteesDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails: + result = prime * result + [self.sharedContentAddLinkExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails: + result = prime * result + [self.sharedContentAddLinkPasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentAddMemberDetails: + result = prime * result + [self.sharedContentAddMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails: + result = prime * result + [self.sharedContentChangeDownloadsPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails: + result = prime * result + [self.sharedContentChangeInviteeRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails: + result = prime * result + [self.sharedContentChangeLinkAudienceDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails: + result = prime * result + [self.sharedContentChangeLinkExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails: + result = prime * result + [self.sharedContentChangeLinkPasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails: + result = prime * result + [self.sharedContentChangeMemberRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails: + result = prime * result + [self.sharedContentChangeViewerInfoPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails: + result = prime * result + [self.sharedContentClaimInvitationDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentCopyDetails: + result = prime * result + [self.sharedContentCopyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentDownloadDetails: + result = prime * result + [self.sharedContentDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: + result = prime * result + [self.sharedContentRelinquishMembershipDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails: + result = prime * result + [self.sharedContentRemoveInviteesDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: + result = prime * result + [self.sharedContentRemoveLinkExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: + result = prime * result + [self.sharedContentRemoveLinkPasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails: + result = prime * result + [self.sharedContentRemoveMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRequestAccessDetails: + result = prime * result + [self.sharedContentRequestAccessDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails: + result = prime * result + [self.sharedContentRestoreInviteesDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails: + result = prime * result + [self.sharedContentRestoreMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentUnshareDetails: + result = prime * result + [self.sharedContentUnshareDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedContentViewDetails: + result = prime * result + [self.sharedContentViewDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: + result = prime * result + [self.sharedFolderChangeLinkPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails: + result = prime * result + [self.sharedFolderChangeMembersInheritancePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails: + result = prime * result + [self.sharedFolderChangeMembersManagementPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails: + result = prime * result + [self.sharedFolderChangeMembersPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderCreateDetails: + result = prime * result + [self.sharedFolderCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails: + result = prime * result + [self.sharedFolderDeclineInvitationDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderMountDetails: + result = prime * result + [self.sharedFolderMountDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderNestDetails: + result = prime * result + [self.sharedFolderNestDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails: + result = prime * result + [self.sharedFolderTransferOwnershipDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedFolderUnmountDetails: + result = prime * result + [self.sharedFolderUnmountDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails: + result = prime * result + [self.sharedLinkAddExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails: + result = prime * result + [self.sharedLinkChangeExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails: + result = prime * result + [self.sharedLinkChangeVisibilityDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkCopyDetails: + result = prime * result + [self.sharedLinkCopyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkCreateDetails: + result = prime * result + [self.sharedLinkCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkDisableDetails: + result = prime * result + [self.sharedLinkDisableDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkDownloadDetails: + result = prime * result + [self.sharedLinkDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails: + result = prime * result + [self.sharedLinkRemoveExpiryDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails: + result = prime * result + [self.sharedLinkSettingsAddExpirationDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails: + result = prime * result + [self.sharedLinkSettingsAddPasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails: + result = prime * result + [self.sharedLinkSettingsAllowDownloadDisabledDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails: + result = prime * result + [self.sharedLinkSettingsAllowDownloadEnabledDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails: + result = prime * result + [self.sharedLinkSettingsChangeAudienceDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails: + result = prime * result + [self.sharedLinkSettingsChangeExpirationDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails: + result = prime * result + [self.sharedLinkSettingsChangePasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails: + result = prime * result + [self.sharedLinkSettingsRemoveExpirationDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails: + result = prime * result + [self.sharedLinkSettingsRemovePasswordDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkShareDetails: + result = prime * result + [self.sharedLinkShareDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedLinkViewDetails: + result = prime * result + [self.sharedLinkViewDetails hash]; + break; + case DBTEAMLOGEventDetailsSharedNoteOpenedDetails: + result = prime * result + [self.sharedNoteOpenedDetails hash]; + break; + case DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails: + result = prime * result + [self.shmodelDisableDownloadsDetails hash]; + break; + case DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails: + result = prime * result + [self.shmodelEnableDownloadsDetails hash]; + break; + case DBTEAMLOGEventDetailsShmodelGroupShareDetails: + result = prime * result + [self.shmodelGroupShareDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails: + result = prime * result + [self.showcaseAccessGrantedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseAddMemberDetails: + result = prime * result + [self.showcaseAddMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseArchivedDetails: + result = prime * result + [self.showcaseArchivedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseCreatedDetails: + result = prime * result + [self.showcaseCreatedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails: + result = prime * result + [self.showcaseDeleteCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseEditedDetails: + result = prime * result + [self.showcaseEditedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseEditCommentDetails: + result = prime * result + [self.showcaseEditCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseFileAddedDetails: + result = prime * result + [self.showcaseFileAddedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseFileDownloadDetails: + result = prime * result + [self.showcaseFileDownloadDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseFileRemovedDetails: + result = prime * result + [self.showcaseFileRemovedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseFileViewDetails: + result = prime * result + [self.showcaseFileViewDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails: + result = prime * result + [self.showcasePermanentlyDeletedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcasePostCommentDetails: + result = prime * result + [self.showcasePostCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails: + result = prime * result + [self.showcaseRemoveMemberDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseRenamedDetails: + result = prime * result + [self.showcaseRenamedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseRequestAccessDetails: + result = prime * result + [self.showcaseRequestAccessDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseResolveCommentDetails: + result = prime * result + [self.showcaseResolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseRestoredDetails: + result = prime * result + [self.showcaseRestoredDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseTrashedDetails: + result = prime * result + [self.showcaseTrashedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails: + result = prime * result + [self.showcaseTrashedDeprecatedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails: + result = prime * result + [self.showcaseUnresolveCommentDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseUntrashedDetails: + result = prime * result + [self.showcaseUntrashedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails: + result = prime * result + [self.showcaseUntrashedDeprecatedDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseViewDetails: + result = prime * result + [self.showcaseViewDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoAddCertDetails: + result = prime * result + [self.ssoAddCertDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoAddLoginUrlDetails: + result = prime * result + [self.ssoAddLoginUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails: + result = prime * result + [self.ssoAddLogoutUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoChangeCertDetails: + result = prime * result + [self.ssoChangeCertDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails: + result = prime * result + [self.ssoChangeLoginUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails: + result = prime * result + [self.ssoChangeLogoutUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails: + result = prime * result + [self.ssoChangeSamlIdentityModeDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoRemoveCertDetails: + result = prime * result + [self.ssoRemoveCertDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails: + result = prime * result + [self.ssoRemoveLoginUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails: + result = prime * result + [self.ssoRemoveLogoutUrlDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails: + result = prime * result + [self.teamFolderChangeStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamFolderCreateDetails: + result = prime * result + [self.teamFolderCreateDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamFolderDowngradeDetails: + result = prime * result + [self.teamFolderDowngradeDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails: + result = prime * result + [self.teamFolderPermanentlyDeleteDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamFolderRenameDetails: + result = prime * result + [self.teamFolderRenameDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails: + result = prime * result + [self.teamSelectiveSyncSettingsChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails: + result = prime * result + [self.accountCaptureChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails: + result = prime * result + [self.adminEmailRemindersChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsAllowDownloadDisabledDetails: + result = prime * result + [self.allowDownloadDisabledDetails hash]; + break; + case DBTEAMLOGEventDetailsAllowDownloadEnabledDetails: + result = prime * result + [self.allowDownloadEnabledDetails hash]; + break; + case DBTEAMLOGEventDetailsAppPermissionsChangedDetails: + result = prime * result + [self.appPermissionsChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails: + result = prime * result + [self.cameraUploadsPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails: + result = prime * result + [self.captureTranscriptPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsClassificationChangePolicyDetails: + result = prime * result + [self.classificationChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails: + result = prime * result + [self.computerBackupPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails: + result = prime * result + [self.contentAdministrationPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails: + result = prime * result + [self.dataPlacementRestrictionChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails: + result = prime * result + [self.dataPlacementRestrictionSatisfyPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails: + result = prime * result + [self.deviceApprovalsAddExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails: + result = prime * result + [self.deviceApprovalsChangeDesktopPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails: + result = prime * result + [self.deviceApprovalsChangeMobilePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails: + result = prime * result + [self.deviceApprovalsChangeOverageActionDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails: + result = prime * result + [self.deviceApprovalsChangeUnlinkActionDetails hash]; + break; + case DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails: + result = prime * result + [self.deviceApprovalsRemoveExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails: + result = prime * result + [self.directoryRestrictionsAddMembersDetails hash]; + break; + case DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails: + result = prime * result + [self.directoryRestrictionsRemoveMembersDetails hash]; + break; + case DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails: + result = prime * result + [self.dropboxPasswordsPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails: + result = prime * result + [self.emailIngestPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmAddExceptionDetails: + result = prime * result + [self.emmAddExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmChangePolicyDetails: + result = prime * result + [self.emmChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsEmmRemoveExceptionDetails: + result = prime * result + [self.emmRemoveExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails: + result = prime * result + [self.extendedVersionHistoryChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails: + result = prime * result + [self.externalDriveBackupPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails: + result = prime * result + [self.fileCommentsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails: + result = prime * result + [self.fileLockingPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails: + result = prime * result + [self.fileProviderMigrationPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails: + result = prime * result + [self.fileRequestsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails: + result = prime * result + [self.fileRequestsEmailsEnabledDetails hash]; + break; + case DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails: + result = prime * result + [self.fileRequestsEmailsRestrictedToTeamOnlyDetails hash]; + break; + case DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails: + result = prime * result + [self.fileTransfersPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails: + result = prime * result + [self.folderLinkRestrictionPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails: + result = prime * result + [self.googleSsoChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails: + result = prime * result + [self.groupUserManagementChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails: + result = prime * result + [self.integrationPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails: + result = prime * result + [self.inviteAcceptanceEmailPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails: + result = prime * result + [self.memberRequestsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails: + result = prime * result + [self.memberSendInvitePolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails: + result = prime * result + [self.memberSpaceLimitsAddExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails: + result = prime * result + [self.memberSpaceLimitsChangeCapsTypePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails: + result = prime * result + [self.memberSpaceLimitsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails: + result = prime * result + [self.memberSpaceLimitsRemoveExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails: + result = prime * result + [self.memberSuggestionsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails: + result = prime * result + [self.microsoftOfficeAddinChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails: + result = prime * result + [self.networkControlChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails: + result = prime * result + [self.paperChangeDeploymentPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails: + result = prime * result + [self.paperChangeMemberLinkPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails: + result = prime * result + [self.paperChangeMemberPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperChangePolicyDetails: + result = prime * result + [self.paperChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails: + result = prime * result + [self.paperDefaultFolderPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails: + result = prime * result + [self.paperDesktopPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: + result = prime * result + [self.paperEnabledUsersGroupAdditionDetails hash]; + break; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: + result = prime * result + [self.paperEnabledUsersGroupRemovalDetails hash]; + break; + case DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails: + result = prime * result + [self.passwordStrengthRequirementsChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails: + result = prime * result + [self.permanentDeleteChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails: + result = prime * result + [self.resellerSupportChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsRewindPolicyChangedDetails: + result = prime * result + [self.rewindPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails: + result = prime * result + [self.sendForSignaturePolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails: + result = prime * result + [self.sharingChangeFolderJoinPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails: + result = prime * result + [self.sharingChangeLinkAllowChangeExpirationPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails: + result = prime * result + [self.sharingChangeLinkDefaultExpirationPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails: + result = prime * result + [self.sharingChangeLinkEnforcePasswordPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails: + result = prime * result + [self.sharingChangeLinkPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails: + result = prime * result + [self.sharingChangeMemberPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails: + result = prime * result + [self.showcaseChangeDownloadPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails: + result = prime * result + [self.showcaseChangeEnabledPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails: + result = prime * result + [self.showcaseChangeExternalSharingPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails: + result = prime * result + [self.smarterSmartSyncPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails: + result = prime * result + [self.smartSyncChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails: + result = prime * result + [self.smartSyncNotOptOutDetails hash]; + break; + case DBTEAMLOGEventDetailsSmartSyncOptOutDetails: + result = prime * result + [self.smartSyncOptOutDetails hash]; + break; + case DBTEAMLOGEventDetailsSsoChangePolicyDetails: + result = prime * result + [self.ssoChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails: + result = prime * result + [self.teamBrandingPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails: + result = prime * result + [self.teamExtensionsPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails: + result = prime * result + [self.teamSelectiveSyncPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails: + result = prime * result + [self.teamSharingWhitelistSubjectsChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaAddExceptionDetails: + result = prime * result + [self.tfaAddExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaChangePolicyDetails: + result = prime * result + [self.tfaChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaRemoveExceptionDetails: + result = prime * result + [self.tfaRemoveExceptionDetails hash]; + break; + case DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails: + result = prime * result + [self.twoAccountChangePolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails: + result = prime * result + [self.viewerInfoPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails: + result = prime * result + [self.watermarkingPolicyChangedDetails hash]; + break; + case DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails: + result = prime * result + [self.webSessionsChangeActiveSessionLimitDetails hash]; + break; + case DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails: + result = prime * result + [self.webSessionsChangeFixedLengthPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails: + result = prime * result + [self.webSessionsChangeIdleLengthPolicyDetails hash]; + break; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails: + result = prime * result + [self.dataResidencyMigrationRequestSuccessfulDetails hash]; + break; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails: + result = prime * result + [self.dataResidencyMigrationRequestUnsuccessfulDetails hash]; + break; case DBTEAMLOGEventDetailsTeamMergeFromDetails: - return [self.teamMergeFromDetails isEqual:anEventDetails.teamMergeFromDetails]; + result = prime * result + [self.teamMergeFromDetails hash]; + break; case DBTEAMLOGEventDetailsTeamMergeToDetails: - return [self.teamMergeToDetails isEqual:anEventDetails.teamMergeToDetails]; + result = prime * result + [self.teamMergeToDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails: + result = prime * result + [self.teamProfileAddBackgroundDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileAddLogoDetails: + result = prime * result + [self.teamProfileAddLogoDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails: + result = prime * result + [self.teamProfileChangeBackgroundDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails: + result = prime * result + [self.teamProfileChangeDefaultLanguageDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails: + result = prime * result + [self.teamProfileChangeLogoDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileChangeNameDetails: + result = prime * result + [self.teamProfileChangeNameDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails: + result = prime * result + [self.teamProfileRemoveBackgroundDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails: + result = prime * result + [self.teamProfileRemoveLogoDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails: + result = prime * result + [self.tfaAddBackupPhoneDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails: + result = prime * result + [self.tfaAddSecurityKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails: + result = prime * result + [self.tfaChangeBackupPhoneDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaChangeStatusDetails: + result = prime * result + [self.tfaChangeStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails: + result = prime * result + [self.tfaRemoveBackupPhoneDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails: + result = prime * result + [self.tfaRemoveSecurityKeyDetails hash]; + break; + case DBTEAMLOGEventDetailsTfaResetDetails: + result = prime * result + [self.tfaResetDetails hash]; + break; + case DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails: + result = prime * result + [self.changedEnterpriseAdminRoleDetails hash]; + break; + case DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails: + result = prime * result + [self.changedEnterpriseConnectedTeamStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails: + result = prime * result + [self.endedEnterpriseAdminSessionDetails hash]; + break; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails: + result = prime * result + [self.endedEnterpriseAdminSessionDeprecatedDetails hash]; + break; + case DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails: + result = prime * result + [self.enterpriseSettingsLockingDetails hash]; + break; + case DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails: + result = prime * result + [self.guestAdminChangeStatusDetails hash]; + break; + case DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails: + result = prime * result + [self.startedEnterpriseAdminSessionDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails: + result = prime * result + [self.teamMergeRequestAcceptedDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestAcceptedShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestAcceptedShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails: + result = prime * result + [self.teamMergeRequestAutoCanceledDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails: + result = prime * result + [self.teamMergeRequestCanceledDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestCanceledShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestCanceledShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails: + result = prime * result + [self.teamMergeRequestExpiredDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestExpiredShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestExpiredShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestRejectedShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestRejectedShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails: + result = prime * result + [self.teamMergeRequestReminderDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestReminderShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestReminderShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails: + result = prime * result + [self.teamMergeRequestRevokedDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails: + result = prime * result + [self.teamMergeRequestSentShownToPrimaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails: + result = prime * result + [self.teamMergeRequestSentShownToSecondaryTeamDetails hash]; + break; + case DBTEAMLOGEventDetailsMissingDetails: + result = prime * result + [self.missingDetails hash]; + break; + case DBTEAMLOGEventDetailsOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEventDetails:other]; +} + +- (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { + if (self == anEventDetails) { + return YES; + } + if (self.tag != anEventDetails.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails: + return [self.adminAlertingAlertStateChangedDetails isEqual:anEventDetails.adminAlertingAlertStateChangedDetails]; + case DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails: + return [self.adminAlertingChangedAlertConfigDetails isEqual:anEventDetails.adminAlertingChangedAlertConfigDetails]; + case DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails: + return [self.adminAlertingTriggeredAlertDetails isEqual:anEventDetails.adminAlertingTriggeredAlertDetails]; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails: + return + [self.ransomwareRestoreProcessCompletedDetails isEqual:anEventDetails.ransomwareRestoreProcessCompletedDetails]; + case DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails: + return [self.ransomwareRestoreProcessStartedDetails isEqual:anEventDetails.ransomwareRestoreProcessStartedDetails]; + case DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails: + return [self.appBlockedByPermissionsDetails isEqual:anEventDetails.appBlockedByPermissionsDetails]; case DBTEAMLOGEventDetailsAppLinkTeamDetails: return [self.appLinkTeamDetails isEqual:anEventDetails.appLinkTeamDetails]; case DBTEAMLOGEventDetailsAppLinkUserDetails: @@ -17051,12 +44228,18 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.appUnlinkTeamDetails isEqual:anEventDetails.appUnlinkTeamDetails]; case DBTEAMLOGEventDetailsAppUnlinkUserDetails: return [self.appUnlinkUserDetails isEqual:anEventDetails.appUnlinkUserDetails]; + case DBTEAMLOGEventDetailsIntegrationConnectedDetails: + return [self.integrationConnectedDetails isEqual:anEventDetails.integrationConnectedDetails]; + case DBTEAMLOGEventDetailsIntegrationDisconnectedDetails: + return [self.integrationDisconnectedDetails isEqual:anEventDetails.integrationDisconnectedDetails]; case DBTEAMLOGEventDetailsFileAddCommentDetails: return [self.fileAddCommentDetails isEqual:anEventDetails.fileAddCommentDetails]; case DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails: return [self.fileChangeCommentSubscriptionDetails isEqual:anEventDetails.fileChangeCommentSubscriptionDetails]; case DBTEAMLOGEventDetailsFileDeleteCommentDetails: return [self.fileDeleteCommentDetails isEqual:anEventDetails.fileDeleteCommentDetails]; + case DBTEAMLOGEventDetailsFileEditCommentDetails: + return [self.fileEditCommentDetails isEqual:anEventDetails.fileEditCommentDetails]; case DBTEAMLOGEventDetailsFileLikeCommentDetails: return [self.fileLikeCommentDetails isEqual:anEventDetails.fileLikeCommentDetails]; case DBTEAMLOGEventDetailsFileResolveCommentDetails: @@ -17065,6 +44248,53 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.fileUnlikeCommentDetails isEqual:anEventDetails.fileUnlikeCommentDetails]; case DBTEAMLOGEventDetailsFileUnresolveCommentDetails: return [self.fileUnresolveCommentDetails isEqual:anEventDetails.fileUnresolveCommentDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails: + return [self.governancePolicyAddFoldersDetails isEqual:anEventDetails.governancePolicyAddFoldersDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails: + return [self.governancePolicyAddFolderFailedDetails isEqual:anEventDetails.governancePolicyAddFolderFailedDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails: + return [self.governancePolicyContentDisposedDetails isEqual:anEventDetails.governancePolicyContentDisposedDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyCreateDetails: + return [self.governancePolicyCreateDetails isEqual:anEventDetails.governancePolicyCreateDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails: + return [self.governancePolicyDeleteDetails isEqual:anEventDetails.governancePolicyDeleteDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails: + return [self.governancePolicyEditDetailsDetails isEqual:anEventDetails.governancePolicyEditDetailsDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails: + return [self.governancePolicyEditDurationDetails isEqual:anEventDetails.governancePolicyEditDurationDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails: + return [self.governancePolicyExportCreatedDetails isEqual:anEventDetails.governancePolicyExportCreatedDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails: + return [self.governancePolicyExportRemovedDetails isEqual:anEventDetails.governancePolicyExportRemovedDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails: + return [self.governancePolicyRemoveFoldersDetails isEqual:anEventDetails.governancePolicyRemoveFoldersDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails: + return [self.governancePolicyReportCreatedDetails isEqual:anEventDetails.governancePolicyReportCreatedDetails]; + case DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails: + return + [self.governancePolicyZipPartDownloadedDetails isEqual:anEventDetails.governancePolicyZipPartDownloadedDetails]; + case DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails: + return [self.legalHoldsActivateAHoldDetails isEqual:anEventDetails.legalHoldsActivateAHoldDetails]; + case DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails: + return [self.legalHoldsAddMembersDetails isEqual:anEventDetails.legalHoldsAddMembersDetails]; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails: + return [self.legalHoldsChangeHoldDetailsDetails isEqual:anEventDetails.legalHoldsChangeHoldDetailsDetails]; + case DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails: + return [self.legalHoldsChangeHoldNameDetails isEqual:anEventDetails.legalHoldsChangeHoldNameDetails]; + case DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails: + return [self.legalHoldsExportAHoldDetails isEqual:anEventDetails.legalHoldsExportAHoldDetails]; + case DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails: + return [self.legalHoldsExportCancelledDetails isEqual:anEventDetails.legalHoldsExportCancelledDetails]; + case DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails: + return [self.legalHoldsExportDownloadedDetails isEqual:anEventDetails.legalHoldsExportDownloadedDetails]; + case DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails: + return [self.legalHoldsExportRemovedDetails isEqual:anEventDetails.legalHoldsExportRemovedDetails]; + case DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails: + return [self.legalHoldsReleaseAHoldDetails isEqual:anEventDetails.legalHoldsReleaseAHoldDetails]; + case DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails: + return [self.legalHoldsRemoveMembersDetails isEqual:anEventDetails.legalHoldsRemoveMembersDetails]; + case DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails: + return [self.legalHoldsReportAHoldDetails isEqual:anEventDetails.legalHoldsReportAHoldDetails]; case DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails: return [self.deviceChangeIpDesktopDetails isEqual:anEventDetails.deviceChangeIpDesktopDetails]; case DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails: @@ -17083,15 +44313,31 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.deviceManagementDisabledDetails isEqual:anEventDetails.deviceManagementDisabledDetails]; case DBTEAMLOGEventDetailsDeviceManagementEnabledDetails: return [self.deviceManagementEnabledDetails isEqual:anEventDetails.deviceManagementEnabledDetails]; + case DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails: + return [self.deviceSyncBackupStatusChangedDetails isEqual:anEventDetails.deviceSyncBackupStatusChangedDetails]; case DBTEAMLOGEventDetailsDeviceUnlinkDetails: return [self.deviceUnlinkDetails isEqual:anEventDetails.deviceUnlinkDetails]; + case DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails: + return [self.dropboxPasswordsExportedDetails isEqual:anEventDetails.dropboxPasswordsExportedDetails]; + case DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails: + return + [self.dropboxPasswordsNewDeviceEnrolledDetails isEqual:anEventDetails.dropboxPasswordsNewDeviceEnrolledDetails]; case DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails: return [self.emmRefreshAuthTokenDetails isEqual:anEventDetails.emmRefreshAuthTokenDetails]; + case DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails: + return [self.externalDriveBackupEligibilityStatusCheckedDetails + isEqual:anEventDetails.externalDriveBackupEligibilityStatusCheckedDetails]; + case DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails: + return + [self.externalDriveBackupStatusChangedDetails isEqual:anEventDetails.externalDriveBackupStatusChangedDetails]; case DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails: return [self.accountCaptureChangeAvailabilityDetails isEqual:anEventDetails.accountCaptureChangeAvailabilityDetails]; case DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails: return [self.accountCaptureMigrateAccountDetails isEqual:anEventDetails.accountCaptureMigrateAccountDetails]; + case DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails: + return [self.accountCaptureNotificationEmailsSentDetails + isEqual:anEventDetails.accountCaptureNotificationEmailsSentDetails]; case DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails: return [self.accountCaptureRelinquishAccountDetails isEqual:anEventDetails.accountCaptureRelinquishAccountDetails]; case DBTEAMLOGEventDetailsDisabledDomainInvitesDetails: @@ -17121,10 +44367,30 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.domainVerificationRemoveDomainDetails isEqual:anEventDetails.domainVerificationRemoveDomainDetails]; case DBTEAMLOGEventDetailsEnabledDomainInvitesDetails: return [self.enabledDomainInvitesDetails isEqual:anEventDetails.enabledDomainInvitesDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails: + return [self.teamEncryptionKeyCancelKeyDeletionDetails + isEqual:anEventDetails.teamEncryptionKeyCancelKeyDeletionDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails: + return [self.teamEncryptionKeyCreateKeyDetails isEqual:anEventDetails.teamEncryptionKeyCreateKeyDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails: + return [self.teamEncryptionKeyDeleteKeyDetails isEqual:anEventDetails.teamEncryptionKeyDeleteKeyDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails: + return [self.teamEncryptionKeyDisableKeyDetails isEqual:anEventDetails.teamEncryptionKeyDisableKeyDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails: + return [self.teamEncryptionKeyEnableKeyDetails isEqual:anEventDetails.teamEncryptionKeyEnableKeyDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails: + return [self.teamEncryptionKeyRotateKeyDetails isEqual:anEventDetails.teamEncryptionKeyRotateKeyDetails]; + case DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails: + return [self.teamEncryptionKeyScheduleKeyDeletionDetails + isEqual:anEventDetails.teamEncryptionKeyScheduleKeyDeletionDetails]; + case DBTEAMLOGEventDetailsApplyNamingConventionDetails: + return [self.applyNamingConventionDetails isEqual:anEventDetails.applyNamingConventionDetails]; case DBTEAMLOGEventDetailsCreateFolderDetails: return [self.createFolderDetails isEqual:anEventDetails.createFolderDetails]; case DBTEAMLOGEventDetailsFileAddDetails: return [self.fileAddDetails isEqual:anEventDetails.fileAddDetails]; + case DBTEAMLOGEventDetailsFileAddFromAutomationDetails: + return [self.fileAddFromAutomationDetails isEqual:anEventDetails.fileAddFromAutomationDetails]; case DBTEAMLOGEventDetailsFileCopyDetails: return [self.fileCopyDetails isEqual:anEventDetails.fileCopyDetails]; case DBTEAMLOGEventDetailsFileDeleteDetails: @@ -17135,6 +44401,8 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.fileEditDetails isEqual:anEventDetails.fileEditDetails]; case DBTEAMLOGEventDetailsFileGetCopyReferenceDetails: return [self.fileGetCopyReferenceDetails isEqual:anEventDetails.fileGetCopyReferenceDetails]; + case DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails: + return [self.fileLockingLockStatusChangedDetails isEqual:anEventDetails.fileLockingLockStatusChangedDetails]; case DBTEAMLOGEventDetailsFileMoveDetails: return [self.fileMoveDetails isEqual:anEventDetails.fileMoveDetails]; case DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails: @@ -17151,22 +44419,45 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.fileRollbackChangesDetails isEqual:anEventDetails.fileRollbackChangesDetails]; case DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails: return [self.fileSaveCopyReferenceDetails isEqual:anEventDetails.fileSaveCopyReferenceDetails]; - case DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails: - return [self.fileRequestAddDeadlineDetails isEqual:anEventDetails.fileRequestAddDeadlineDetails]; + case DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails: + return + [self.folderOverviewDescriptionChangedDetails isEqual:anEventDetails.folderOverviewDescriptionChangedDetails]; + case DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails: + return [self.folderOverviewItemPinnedDetails isEqual:anEventDetails.folderOverviewItemPinnedDetails]; + case DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails: + return [self.folderOverviewItemUnpinnedDetails isEqual:anEventDetails.folderOverviewItemUnpinnedDetails]; + case DBTEAMLOGEventDetailsObjectLabelAddedDetails: + return [self.objectLabelAddedDetails isEqual:anEventDetails.objectLabelAddedDetails]; + case DBTEAMLOGEventDetailsObjectLabelRemovedDetails: + return [self.objectLabelRemovedDetails isEqual:anEventDetails.objectLabelRemovedDetails]; + case DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails: + return [self.objectLabelUpdatedValueDetails isEqual:anEventDetails.objectLabelUpdatedValueDetails]; + case DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails: + return [self.organizeFolderWithTidyDetails isEqual:anEventDetails.organizeFolderWithTidyDetails]; + case DBTEAMLOGEventDetailsReplayFileDeleteDetails: + return [self.replayFileDeleteDetails isEqual:anEventDetails.replayFileDeleteDetails]; + case DBTEAMLOGEventDetailsRewindFolderDetails: + return [self.rewindFolderDetails isEqual:anEventDetails.rewindFolderDetails]; + case DBTEAMLOGEventDetailsUndoNamingConventionDetails: + return [self.undoNamingConventionDetails isEqual:anEventDetails.undoNamingConventionDetails]; + case DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails: + return [self.undoOrganizeFolderWithTidyDetails isEqual:anEventDetails.undoOrganizeFolderWithTidyDetails]; + case DBTEAMLOGEventDetailsUserTagsAddedDetails: + return [self.userTagsAddedDetails isEqual:anEventDetails.userTagsAddedDetails]; + case DBTEAMLOGEventDetailsUserTagsRemovedDetails: + return [self.userTagsRemovedDetails isEqual:anEventDetails.userTagsRemovedDetails]; + case DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails: + return [self.emailIngestReceiveFileDetails isEqual:anEventDetails.emailIngestReceiveFileDetails]; case DBTEAMLOGEventDetailsFileRequestChangeDetails: return [self.fileRequestChangeDetails isEqual:anEventDetails.fileRequestChangeDetails]; - case DBTEAMLOGEventDetailsFileRequestChangeFolderDetails: - return [self.fileRequestChangeFolderDetails isEqual:anEventDetails.fileRequestChangeFolderDetails]; case DBTEAMLOGEventDetailsFileRequestCloseDetails: return [self.fileRequestCloseDetails isEqual:anEventDetails.fileRequestCloseDetails]; case DBTEAMLOGEventDetailsFileRequestCreateDetails: return [self.fileRequestCreateDetails isEqual:anEventDetails.fileRequestCreateDetails]; + case DBTEAMLOGEventDetailsFileRequestDeleteDetails: + return [self.fileRequestDeleteDetails isEqual:anEventDetails.fileRequestDeleteDetails]; case DBTEAMLOGEventDetailsFileRequestReceiveFileDetails: return [self.fileRequestReceiveFileDetails isEqual:anEventDetails.fileRequestReceiveFileDetails]; - case DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails: - return [self.fileRequestRemoveDeadlineDetails isEqual:anEventDetails.fileRequestRemoveDeadlineDetails]; - case DBTEAMLOGEventDetailsFileRequestSendDetails: - return [self.fileRequestSendDetails isEqual:anEventDetails.fileRequestSendDetails]; case DBTEAMLOGEventDetailsGroupAddExternalIdDetails: return [self.groupAddExternalIdDetails isEqual:anEventDetails.groupAddExternalIdDetails]; case DBTEAMLOGEventDetailsGroupAddMemberDetails: @@ -17181,6 +44472,10 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.groupCreateDetails isEqual:anEventDetails.groupCreateDetails]; case DBTEAMLOGEventDetailsGroupDeleteDetails: return [self.groupDeleteDetails isEqual:anEventDetails.groupDeleteDetails]; + case DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails: + return [self.groupDescriptionUpdatedDetails isEqual:anEventDetails.groupDescriptionUpdatedDetails]; + case DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails: + return [self.groupJoinPolicyUpdatedDetails isEqual:anEventDetails.groupJoinPolicyUpdatedDetails]; case DBTEAMLOGEventDetailsGroupMovedDetails: return [self.groupMovedDetails isEqual:anEventDetails.groupMovedDetails]; case DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails: @@ -17189,8 +44484,16 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.groupRemoveMemberDetails isEqual:anEventDetails.groupRemoveMemberDetails]; case DBTEAMLOGEventDetailsGroupRenameDetails: return [self.groupRenameDetails isEqual:anEventDetails.groupRenameDetails]; + case DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails: + return [self.accountLockOrUnlockedDetails isEqual:anEventDetails.accountLockOrUnlockedDetails]; case DBTEAMLOGEventDetailsEmmErrorDetails: return [self.emmErrorDetails isEqual:anEventDetails.emmErrorDetails]; + case DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails: + return + [self.guestAdminSignedInViaTrustedTeamsDetails isEqual:anEventDetails.guestAdminSignedInViaTrustedTeamsDetails]; + case DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails: + return [self.guestAdminSignedOutViaTrustedTeamsDetails + isEqual:anEventDetails.guestAdminSignedOutViaTrustedTeamsDetails]; case DBTEAMLOGEventDetailsLoginFailDetails: return [self.loginFailDetails isEqual:anEventDetails.loginFailDetails]; case DBTEAMLOGEventDetailsLoginSuccessDetails: @@ -17207,18 +44510,81 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.signInAsSessionStartDetails isEqual:anEventDetails.signInAsSessionStartDetails]; case DBTEAMLOGEventDetailsSsoErrorDetails: return [self.ssoErrorDetails isEqual:anEventDetails.ssoErrorDetails]; + case DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails: + return [self.backupAdminInvitationSentDetails isEqual:anEventDetails.backupAdminInvitationSentDetails]; + case DBTEAMLOGEventDetailsBackupInvitationOpenedDetails: + return [self.backupInvitationOpenedDetails isEqual:anEventDetails.backupInvitationOpenedDetails]; + case DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails: + return [self.createTeamInviteLinkDetails isEqual:anEventDetails.createTeamInviteLinkDetails]; + case DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails: + return [self.deleteTeamInviteLinkDetails isEqual:anEventDetails.deleteTeamInviteLinkDetails]; + case DBTEAMLOGEventDetailsMemberAddExternalIdDetails: + return [self.memberAddExternalIdDetails isEqual:anEventDetails.memberAddExternalIdDetails]; case DBTEAMLOGEventDetailsMemberAddNameDetails: return [self.memberAddNameDetails isEqual:anEventDetails.memberAddNameDetails]; case DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails: return [self.memberChangeAdminRoleDetails isEqual:anEventDetails.memberChangeAdminRoleDetails]; case DBTEAMLOGEventDetailsMemberChangeEmailDetails: return [self.memberChangeEmailDetails isEqual:anEventDetails.memberChangeEmailDetails]; + case DBTEAMLOGEventDetailsMemberChangeExternalIdDetails: + return [self.memberChangeExternalIdDetails isEqual:anEventDetails.memberChangeExternalIdDetails]; + case DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails: + return [self.memberChangeMembershipTypeDetails isEqual:anEventDetails.memberChangeMembershipTypeDetails]; case DBTEAMLOGEventDetailsMemberChangeNameDetails: return [self.memberChangeNameDetails isEqual:anEventDetails.memberChangeNameDetails]; + case DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails: + return [self.memberChangeResellerRoleDetails isEqual:anEventDetails.memberChangeResellerRoleDetails]; case DBTEAMLOGEventDetailsMemberChangeStatusDetails: return [self.memberChangeStatusDetails isEqual:anEventDetails.memberChangeStatusDetails]; + case DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails: + return [self.memberDeleteManualContactsDetails isEqual:anEventDetails.memberDeleteManualContactsDetails]; + case DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails: + return [self.memberDeleteProfilePhotoDetails isEqual:anEventDetails.memberDeleteProfilePhotoDetails]; + case DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails: + return [self.memberPermanentlyDeleteAccountContentsDetails + isEqual:anEventDetails.memberPermanentlyDeleteAccountContentsDetails]; + case DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails: + return [self.memberRemoveExternalIdDetails isEqual:anEventDetails.memberRemoveExternalIdDetails]; + case DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails: + return [self.memberSetProfilePhotoDetails isEqual:anEventDetails.memberSetProfilePhotoDetails]; + case DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails: + return [self.memberSpaceLimitsAddCustomQuotaDetails isEqual:anEventDetails.memberSpaceLimitsAddCustomQuotaDetails]; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails: + return [self.memberSpaceLimitsChangeCustomQuotaDetails + isEqual:anEventDetails.memberSpaceLimitsChangeCustomQuotaDetails]; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails: + return [self.memberSpaceLimitsChangeStatusDetails isEqual:anEventDetails.memberSpaceLimitsChangeStatusDetails]; + case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails: + return [self.memberSpaceLimitsRemoveCustomQuotaDetails + isEqual:anEventDetails.memberSpaceLimitsRemoveCustomQuotaDetails]; case DBTEAMLOGEventDetailsMemberSuggestDetails: return [self.memberSuggestDetails isEqual:anEventDetails.memberSuggestDetails]; + case DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails: + return [self.memberTransferAccountContentsDetails isEqual:anEventDetails.memberTransferAccountContentsDetails]; + case DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails: + return [self.pendingSecondaryEmailAddedDetails isEqual:anEventDetails.pendingSecondaryEmailAddedDetails]; + case DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails: + return [self.secondaryEmailDeletedDetails isEqual:anEventDetails.secondaryEmailDeletedDetails]; + case DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails: + return [self.secondaryEmailVerifiedDetails isEqual:anEventDetails.secondaryEmailVerifiedDetails]; + case DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails: + return [self.secondaryMailsPolicyChangedDetails isEqual:anEventDetails.secondaryMailsPolicyChangedDetails]; + case DBTEAMLOGEventDetailsBinderAddPageDetails: + return [self.binderAddPageDetails isEqual:anEventDetails.binderAddPageDetails]; + case DBTEAMLOGEventDetailsBinderAddSectionDetails: + return [self.binderAddSectionDetails isEqual:anEventDetails.binderAddSectionDetails]; + case DBTEAMLOGEventDetailsBinderRemovePageDetails: + return [self.binderRemovePageDetails isEqual:anEventDetails.binderRemovePageDetails]; + case DBTEAMLOGEventDetailsBinderRemoveSectionDetails: + return [self.binderRemoveSectionDetails isEqual:anEventDetails.binderRemoveSectionDetails]; + case DBTEAMLOGEventDetailsBinderRenamePageDetails: + return [self.binderRenamePageDetails isEqual:anEventDetails.binderRenamePageDetails]; + case DBTEAMLOGEventDetailsBinderRenameSectionDetails: + return [self.binderRenameSectionDetails isEqual:anEventDetails.binderRenameSectionDetails]; + case DBTEAMLOGEventDetailsBinderReorderPageDetails: + return [self.binderReorderPageDetails isEqual:anEventDetails.binderReorderPageDetails]; + case DBTEAMLOGEventDetailsBinderReorderSectionDetails: + return [self.binderReorderSectionDetails isEqual:anEventDetails.binderReorderSectionDetails]; case DBTEAMLOGEventDetailsPaperContentAddMemberDetails: return [self.paperContentAddMemberDetails isEqual:anEventDetails.paperContentAddMemberDetails]; case DBTEAMLOGEventDetailsPaperContentAddToFolderDetails: @@ -17259,6 +44625,8 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.paperDocFollowedDetails isEqual:anEventDetails.paperDocFollowedDetails]; case DBTEAMLOGEventDetailsPaperDocMentionDetails: return [self.paperDocMentionDetails isEqual:anEventDetails.paperDocMentionDetails]; + case DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails: + return [self.paperDocOwnershipChangedDetails isEqual:anEventDetails.paperDocOwnershipChangedDetails]; case DBTEAMLOGEventDetailsPaperDocRequestAccessDetails: return [self.paperDocRequestAccessDetails isEqual:anEventDetails.paperDocRequestAccessDetails]; case DBTEAMLOGEventDetailsPaperDocResolveCommentDetails: @@ -17277,6 +44645,12 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.paperDocUntrashedDetails isEqual:anEventDetails.paperDocUntrashedDetails]; case DBTEAMLOGEventDetailsPaperDocViewDetails: return [self.paperDocViewDetails isEqual:anEventDetails.paperDocViewDetails]; + case DBTEAMLOGEventDetailsPaperExternalViewAllowDetails: + return [self.paperExternalViewAllowDetails isEqual:anEventDetails.paperExternalViewAllowDetails]; + case DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails: + return [self.paperExternalViewDefaultTeamDetails isEqual:anEventDetails.paperExternalViewDefaultTeamDetails]; + case DBTEAMLOGEventDetailsPaperExternalViewForbidDetails: + return [self.paperExternalViewForbidDetails isEqual:anEventDetails.paperExternalViewForbidDetails]; case DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails: return [self.paperFolderChangeSubscriptionDetails isEqual:anEventDetails.paperFolderChangeSubscriptionDetails]; case DBTEAMLOGEventDetailsPaperFolderDeletedDetails: @@ -17285,23 +44659,79 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.paperFolderFollowedDetails isEqual:anEventDetails.paperFolderFollowedDetails]; case DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails: return [self.paperFolderTeamInviteDetails isEqual:anEventDetails.paperFolderTeamInviteDetails]; + case DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails: + return [self.paperPublishedLinkChangePermissionDetails + isEqual:anEventDetails.paperPublishedLinkChangePermissionDetails]; + case DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails: + return [self.paperPublishedLinkCreateDetails isEqual:anEventDetails.paperPublishedLinkCreateDetails]; + case DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails: + return [self.paperPublishedLinkDisabledDetails isEqual:anEventDetails.paperPublishedLinkDisabledDetails]; + case DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails: + return [self.paperPublishedLinkViewDetails isEqual:anEventDetails.paperPublishedLinkViewDetails]; case DBTEAMLOGEventDetailsPasswordChangeDetails: return [self.passwordChangeDetails isEqual:anEventDetails.passwordChangeDetails]; case DBTEAMLOGEventDetailsPasswordResetDetails: return [self.passwordResetDetails isEqual:anEventDetails.passwordResetDetails]; case DBTEAMLOGEventDetailsPasswordResetAllDetails: return [self.passwordResetAllDetails isEqual:anEventDetails.passwordResetAllDetails]; + case DBTEAMLOGEventDetailsClassificationCreateReportDetails: + return [self.classificationCreateReportDetails isEqual:anEventDetails.classificationCreateReportDetails]; + case DBTEAMLOGEventDetailsClassificationCreateReportFailDetails: + return [self.classificationCreateReportFailDetails isEqual:anEventDetails.classificationCreateReportFailDetails]; case DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails: return [self.emmCreateExceptionsReportDetails isEqual:anEventDetails.emmCreateExceptionsReportDetails]; case DBTEAMLOGEventDetailsEmmCreateUsageReportDetails: return [self.emmCreateUsageReportDetails isEqual:anEventDetails.emmCreateUsageReportDetails]; + case DBTEAMLOGEventDetailsExportMembersReportDetails: + return [self.exportMembersReportDetails isEqual:anEventDetails.exportMembersReportDetails]; + case DBTEAMLOGEventDetailsExportMembersReportFailDetails: + return [self.exportMembersReportFailDetails isEqual:anEventDetails.exportMembersReportFailDetails]; + case DBTEAMLOGEventDetailsExternalSharingCreateReportDetails: + return [self.externalSharingCreateReportDetails isEqual:anEventDetails.externalSharingCreateReportDetails]; + case DBTEAMLOGEventDetailsExternalSharingReportFailedDetails: + return [self.externalSharingReportFailedDetails isEqual:anEventDetails.externalSharingReportFailedDetails]; + case DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails: + return [self.noExpirationLinkGenCreateReportDetails isEqual:anEventDetails.noExpirationLinkGenCreateReportDetails]; + case DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails: + return [self.noExpirationLinkGenReportFailedDetails isEqual:anEventDetails.noExpirationLinkGenReportFailedDetails]; + case DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails: + return [self.noPasswordLinkGenCreateReportDetails isEqual:anEventDetails.noPasswordLinkGenCreateReportDetails]; + case DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails: + return [self.noPasswordLinkGenReportFailedDetails isEqual:anEventDetails.noPasswordLinkGenReportFailedDetails]; + case DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails: + return [self.noPasswordLinkViewCreateReportDetails isEqual:anEventDetails.noPasswordLinkViewCreateReportDetails]; + case DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails: + return [self.noPasswordLinkViewReportFailedDetails isEqual:anEventDetails.noPasswordLinkViewReportFailedDetails]; + case DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails: + return [self.outdatedLinkViewCreateReportDetails isEqual:anEventDetails.outdatedLinkViewCreateReportDetails]; + case DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails: + return [self.outdatedLinkViewReportFailedDetails isEqual:anEventDetails.outdatedLinkViewReportFailedDetails]; + case DBTEAMLOGEventDetailsPaperAdminExportStartDetails: + return [self.paperAdminExportStartDetails isEqual:anEventDetails.paperAdminExportStartDetails]; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails: + return [self.ransomwareAlertCreateReportDetails isEqual:anEventDetails.ransomwareAlertCreateReportDetails]; + case DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails: + return + [self.ransomwareAlertCreateReportFailedDetails isEqual:anEventDetails.ransomwareAlertCreateReportFailedDetails]; case DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails: return [self.smartSyncCreateAdminPrivilegeReportDetails isEqual:anEventDetails.smartSyncCreateAdminPrivilegeReportDetails]; case DBTEAMLOGEventDetailsTeamActivityCreateReportDetails: return [self.teamActivityCreateReportDetails isEqual:anEventDetails.teamActivityCreateReportDetails]; + case DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails: + return [self.teamActivityCreateReportFailDetails isEqual:anEventDetails.teamActivityCreateReportFailDetails]; case DBTEAMLOGEventDetailsCollectionShareDetails: return [self.collectionShareDetails isEqual:anEventDetails.collectionShareDetails]; + case DBTEAMLOGEventDetailsFileTransfersFileAddDetails: + return [self.fileTransfersFileAddDetails isEqual:anEventDetails.fileTransfersFileAddDetails]; + case DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails: + return [self.fileTransfersTransferDeleteDetails isEqual:anEventDetails.fileTransfersTransferDeleteDetails]; + case DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails: + return [self.fileTransfersTransferDownloadDetails isEqual:anEventDetails.fileTransfersTransferDownloadDetails]; + case DBTEAMLOGEventDetailsFileTransfersTransferSendDetails: + return [self.fileTransfersTransferSendDetails isEqual:anEventDetails.fileTransfersTransferSendDetails]; + case DBTEAMLOGEventDetailsFileTransfersTransferViewDetails: + return [self.fileTransfersTransferViewDetails isEqual:anEventDetails.fileTransfersTransferViewDetails]; case DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails: return [self.noteAclInviteOnlyDetails isEqual:anEventDetails.noteAclInviteOnlyDetails]; case DBTEAMLOGEventDetailsNoteAclLinkDetails: @@ -17314,17 +44744,29 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.noteShareReceiveDetails isEqual:anEventDetails.noteShareReceiveDetails]; case DBTEAMLOGEventDetailsOpenNoteSharedDetails: return [self.openNoteSharedDetails isEqual:anEventDetails.openNoteSharedDetails]; + case DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails: + return [self.replayFileSharedLinkCreatedDetails isEqual:anEventDetails.replayFileSharedLinkCreatedDetails]; + case DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails: + return [self.replayFileSharedLinkModifiedDetails isEqual:anEventDetails.replayFileSharedLinkModifiedDetails]; + case DBTEAMLOGEventDetailsReplayProjectTeamAddDetails: + return [self.replayProjectTeamAddDetails isEqual:anEventDetails.replayProjectTeamAddDetails]; + case DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails: + return [self.replayProjectTeamDeleteDetails isEqual:anEventDetails.replayProjectTeamDeleteDetails]; case DBTEAMLOGEventDetailsSfAddGroupDetails: return [self.sfAddGroupDetails isEqual:anEventDetails.sfAddGroupDetails]; case DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails: return [self.sfAllowNonMembersToViewSharedLinksDetails isEqual:anEventDetails.sfAllowNonMembersToViewSharedLinksDetails]; + case DBTEAMLOGEventDetailsSfExternalInviteWarnDetails: + return [self.sfExternalInviteWarnDetails isEqual:anEventDetails.sfExternalInviteWarnDetails]; + case DBTEAMLOGEventDetailsSfFbInviteDetails: + return [self.sfFbInviteDetails isEqual:anEventDetails.sfFbInviteDetails]; + case DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails: + return [self.sfFbInviteChangeRoleDetails isEqual:anEventDetails.sfFbInviteChangeRoleDetails]; + case DBTEAMLOGEventDetailsSfFbUninviteDetails: + return [self.sfFbUninviteDetails isEqual:anEventDetails.sfFbUninviteDetails]; case DBTEAMLOGEventDetailsSfInviteGroupDetails: return [self.sfInviteGroupDetails isEqual:anEventDetails.sfInviteGroupDetails]; - case DBTEAMLOGEventDetailsSfNestDetails: - return [self.sfNestDetails isEqual:anEventDetails.sfNestDetails]; - case DBTEAMLOGEventDetailsSfTeamDeclineDetails: - return [self.sfTeamDeclineDetails isEqual:anEventDetails.sfTeamDeclineDetails]; case DBTEAMLOGEventDetailsSfTeamGrantAccessDetails: return [self.sfTeamGrantAccessDetails isEqual:anEventDetails.sfTeamGrantAccessDetails]; case DBTEAMLOGEventDetailsSfTeamInviteDetails: @@ -17370,8 +44812,8 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { case DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails: return [self.sharedContentRelinquishMembershipDetails isEqual:anEventDetails.sharedContentRelinquishMembershipDetails]; - case DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails: - return [self.sharedContentRemoveInviteeDetails isEqual:anEventDetails.sharedContentRemoveInviteeDetails]; + case DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails: + return [self.sharedContentRemoveInviteesDetails isEqual:anEventDetails.sharedContentRemoveInviteesDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails: return [self.sharedContentRemoveLinkExpiryDetails isEqual:anEventDetails.sharedContentRemoveLinkExpiryDetails]; case DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails: @@ -17380,58 +44822,137 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.sharedContentRemoveMemberDetails isEqual:anEventDetails.sharedContentRemoveMemberDetails]; case DBTEAMLOGEventDetailsSharedContentRequestAccessDetails: return [self.sharedContentRequestAccessDetails isEqual:anEventDetails.sharedContentRequestAccessDetails]; + case DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails: + return [self.sharedContentRestoreInviteesDetails isEqual:anEventDetails.sharedContentRestoreInviteesDetails]; + case DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails: + return [self.sharedContentRestoreMemberDetails isEqual:anEventDetails.sharedContentRestoreMemberDetails]; case DBTEAMLOGEventDetailsSharedContentUnshareDetails: return [self.sharedContentUnshareDetails isEqual:anEventDetails.sharedContentUnshareDetails]; case DBTEAMLOGEventDetailsSharedContentViewDetails: return [self.sharedContentViewDetails isEqual:anEventDetails.sharedContentViewDetails]; - case DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails: - return - [self.sharedFolderChangeConfidentialityDetails isEqual:anEventDetails.sharedFolderChangeConfidentialityDetails]; case DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails: return [self.sharedFolderChangeLinkPolicyDetails isEqual:anEventDetails.sharedFolderChangeLinkPolicyDetails]; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails: - return [self.sharedFolderChangeMemberManagementPolicyDetails - isEqual:anEventDetails.sharedFolderChangeMemberManagementPolicyDetails]; - case DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails: - return [self.sharedFolderChangeMemberPolicyDetails isEqual:anEventDetails.sharedFolderChangeMemberPolicyDetails]; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails: + return [self.sharedFolderChangeMembersInheritancePolicyDetails + isEqual:anEventDetails.sharedFolderChangeMembersInheritancePolicyDetails]; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails: + return [self.sharedFolderChangeMembersManagementPolicyDetails + isEqual:anEventDetails.sharedFolderChangeMembersManagementPolicyDetails]; + case DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails: + return [self.sharedFolderChangeMembersPolicyDetails isEqual:anEventDetails.sharedFolderChangeMembersPolicyDetails]; case DBTEAMLOGEventDetailsSharedFolderCreateDetails: return [self.sharedFolderCreateDetails isEqual:anEventDetails.sharedFolderCreateDetails]; + case DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails: + return [self.sharedFolderDeclineInvitationDetails isEqual:anEventDetails.sharedFolderDeclineInvitationDetails]; case DBTEAMLOGEventDetailsSharedFolderMountDetails: return [self.sharedFolderMountDetails isEqual:anEventDetails.sharedFolderMountDetails]; + case DBTEAMLOGEventDetailsSharedFolderNestDetails: + return [self.sharedFolderNestDetails isEqual:anEventDetails.sharedFolderNestDetails]; case DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails: return [self.sharedFolderTransferOwnershipDetails isEqual:anEventDetails.sharedFolderTransferOwnershipDetails]; case DBTEAMLOGEventDetailsSharedFolderUnmountDetails: return [self.sharedFolderUnmountDetails isEqual:anEventDetails.sharedFolderUnmountDetails]; + case DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails: + return [self.sharedLinkAddExpiryDetails isEqual:anEventDetails.sharedLinkAddExpiryDetails]; + case DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails: + return [self.sharedLinkChangeExpiryDetails isEqual:anEventDetails.sharedLinkChangeExpiryDetails]; + case DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails: + return [self.sharedLinkChangeVisibilityDetails isEqual:anEventDetails.sharedLinkChangeVisibilityDetails]; + case DBTEAMLOGEventDetailsSharedLinkCopyDetails: + return [self.sharedLinkCopyDetails isEqual:anEventDetails.sharedLinkCopyDetails]; + case DBTEAMLOGEventDetailsSharedLinkCreateDetails: + return [self.sharedLinkCreateDetails isEqual:anEventDetails.sharedLinkCreateDetails]; + case DBTEAMLOGEventDetailsSharedLinkDisableDetails: + return [self.sharedLinkDisableDetails isEqual:anEventDetails.sharedLinkDisableDetails]; + case DBTEAMLOGEventDetailsSharedLinkDownloadDetails: + return [self.sharedLinkDownloadDetails isEqual:anEventDetails.sharedLinkDownloadDetails]; + case DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails: + return [self.sharedLinkRemoveExpiryDetails isEqual:anEventDetails.sharedLinkRemoveExpiryDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails: + return [self.sharedLinkSettingsAddExpirationDetails isEqual:anEventDetails.sharedLinkSettingsAddExpirationDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails: + return [self.sharedLinkSettingsAddPasswordDetails isEqual:anEventDetails.sharedLinkSettingsAddPasswordDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails: + return [self.sharedLinkSettingsAllowDownloadDisabledDetails + isEqual:anEventDetails.sharedLinkSettingsAllowDownloadDisabledDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails: + return [self.sharedLinkSettingsAllowDownloadEnabledDetails + isEqual:anEventDetails.sharedLinkSettingsAllowDownloadEnabledDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails: + return + [self.sharedLinkSettingsChangeAudienceDetails isEqual:anEventDetails.sharedLinkSettingsChangeAudienceDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails: + return [self.sharedLinkSettingsChangeExpirationDetails + isEqual:anEventDetails.sharedLinkSettingsChangeExpirationDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails: + return + [self.sharedLinkSettingsChangePasswordDetails isEqual:anEventDetails.sharedLinkSettingsChangePasswordDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails: + return [self.sharedLinkSettingsRemoveExpirationDetails + isEqual:anEventDetails.sharedLinkSettingsRemoveExpirationDetails]; + case DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails: + return + [self.sharedLinkSettingsRemovePasswordDetails isEqual:anEventDetails.sharedLinkSettingsRemovePasswordDetails]; + case DBTEAMLOGEventDetailsSharedLinkShareDetails: + return [self.sharedLinkShareDetails isEqual:anEventDetails.sharedLinkShareDetails]; + case DBTEAMLOGEventDetailsSharedLinkViewDetails: + return [self.sharedLinkViewDetails isEqual:anEventDetails.sharedLinkViewDetails]; case DBTEAMLOGEventDetailsSharedNoteOpenedDetails: return [self.sharedNoteOpenedDetails isEqual:anEventDetails.sharedNoteOpenedDetails]; - case DBTEAMLOGEventDetailsShmodelAppCreateDetails: - return [self.shmodelAppCreateDetails isEqual:anEventDetails.shmodelAppCreateDetails]; - case DBTEAMLOGEventDetailsShmodelCreateDetails: - return [self.shmodelCreateDetails isEqual:anEventDetails.shmodelCreateDetails]; - case DBTEAMLOGEventDetailsShmodelDisableDetails: - return [self.shmodelDisableDetails isEqual:anEventDetails.shmodelDisableDetails]; - case DBTEAMLOGEventDetailsShmodelFbShareDetails: - return [self.shmodelFbShareDetails isEqual:anEventDetails.shmodelFbShareDetails]; + case DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails: + return [self.shmodelDisableDownloadsDetails isEqual:anEventDetails.shmodelDisableDownloadsDetails]; + case DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails: + return [self.shmodelEnableDownloadsDetails isEqual:anEventDetails.shmodelEnableDownloadsDetails]; case DBTEAMLOGEventDetailsShmodelGroupShareDetails: return [self.shmodelGroupShareDetails isEqual:anEventDetails.shmodelGroupShareDetails]; - case DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails: - return [self.shmodelRemoveExpirationDetails isEqual:anEventDetails.shmodelRemoveExpirationDetails]; - case DBTEAMLOGEventDetailsShmodelSetExpirationDetails: - return [self.shmodelSetExpirationDetails isEqual:anEventDetails.shmodelSetExpirationDetails]; - case DBTEAMLOGEventDetailsShmodelTeamCopyDetails: - return [self.shmodelTeamCopyDetails isEqual:anEventDetails.shmodelTeamCopyDetails]; - case DBTEAMLOGEventDetailsShmodelTeamDownloadDetails: - return [self.shmodelTeamDownloadDetails isEqual:anEventDetails.shmodelTeamDownloadDetails]; - case DBTEAMLOGEventDetailsShmodelTeamShareDetails: - return [self.shmodelTeamShareDetails isEqual:anEventDetails.shmodelTeamShareDetails]; - case DBTEAMLOGEventDetailsShmodelTeamViewDetails: - return [self.shmodelTeamViewDetails isEqual:anEventDetails.shmodelTeamViewDetails]; - case DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails: - return [self.shmodelVisibilityPasswordDetails isEqual:anEventDetails.shmodelVisibilityPasswordDetails]; - case DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails: - return [self.shmodelVisibilityPublicDetails isEqual:anEventDetails.shmodelVisibilityPublicDetails]; - case DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails: - return [self.shmodelVisibilityTeamOnlyDetails isEqual:anEventDetails.shmodelVisibilityTeamOnlyDetails]; + case DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails: + return [self.showcaseAccessGrantedDetails isEqual:anEventDetails.showcaseAccessGrantedDetails]; + case DBTEAMLOGEventDetailsShowcaseAddMemberDetails: + return [self.showcaseAddMemberDetails isEqual:anEventDetails.showcaseAddMemberDetails]; + case DBTEAMLOGEventDetailsShowcaseArchivedDetails: + return [self.showcaseArchivedDetails isEqual:anEventDetails.showcaseArchivedDetails]; + case DBTEAMLOGEventDetailsShowcaseCreatedDetails: + return [self.showcaseCreatedDetails isEqual:anEventDetails.showcaseCreatedDetails]; + case DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails: + return [self.showcaseDeleteCommentDetails isEqual:anEventDetails.showcaseDeleteCommentDetails]; + case DBTEAMLOGEventDetailsShowcaseEditedDetails: + return [self.showcaseEditedDetails isEqual:anEventDetails.showcaseEditedDetails]; + case DBTEAMLOGEventDetailsShowcaseEditCommentDetails: + return [self.showcaseEditCommentDetails isEqual:anEventDetails.showcaseEditCommentDetails]; + case DBTEAMLOGEventDetailsShowcaseFileAddedDetails: + return [self.showcaseFileAddedDetails isEqual:anEventDetails.showcaseFileAddedDetails]; + case DBTEAMLOGEventDetailsShowcaseFileDownloadDetails: + return [self.showcaseFileDownloadDetails isEqual:anEventDetails.showcaseFileDownloadDetails]; + case DBTEAMLOGEventDetailsShowcaseFileRemovedDetails: + return [self.showcaseFileRemovedDetails isEqual:anEventDetails.showcaseFileRemovedDetails]; + case DBTEAMLOGEventDetailsShowcaseFileViewDetails: + return [self.showcaseFileViewDetails isEqual:anEventDetails.showcaseFileViewDetails]; + case DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails: + return [self.showcasePermanentlyDeletedDetails isEqual:anEventDetails.showcasePermanentlyDeletedDetails]; + case DBTEAMLOGEventDetailsShowcasePostCommentDetails: + return [self.showcasePostCommentDetails isEqual:anEventDetails.showcasePostCommentDetails]; + case DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails: + return [self.showcaseRemoveMemberDetails isEqual:anEventDetails.showcaseRemoveMemberDetails]; + case DBTEAMLOGEventDetailsShowcaseRenamedDetails: + return [self.showcaseRenamedDetails isEqual:anEventDetails.showcaseRenamedDetails]; + case DBTEAMLOGEventDetailsShowcaseRequestAccessDetails: + return [self.showcaseRequestAccessDetails isEqual:anEventDetails.showcaseRequestAccessDetails]; + case DBTEAMLOGEventDetailsShowcaseResolveCommentDetails: + return [self.showcaseResolveCommentDetails isEqual:anEventDetails.showcaseResolveCommentDetails]; + case DBTEAMLOGEventDetailsShowcaseRestoredDetails: + return [self.showcaseRestoredDetails isEqual:anEventDetails.showcaseRestoredDetails]; + case DBTEAMLOGEventDetailsShowcaseTrashedDetails: + return [self.showcaseTrashedDetails isEqual:anEventDetails.showcaseTrashedDetails]; + case DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails: + return [self.showcaseTrashedDeprecatedDetails isEqual:anEventDetails.showcaseTrashedDeprecatedDetails]; + case DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails: + return [self.showcaseUnresolveCommentDetails isEqual:anEventDetails.showcaseUnresolveCommentDetails]; + case DBTEAMLOGEventDetailsShowcaseUntrashedDetails: + return [self.showcaseUntrashedDetails isEqual:anEventDetails.showcaseUntrashedDetails]; + case DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails: + return [self.showcaseUntrashedDeprecatedDetails isEqual:anEventDetails.showcaseUntrashedDeprecatedDetails]; + case DBTEAMLOGEventDetailsShowcaseViewDetails: + return [self.showcaseViewDetails isEqual:anEventDetails.showcaseViewDetails]; case DBTEAMLOGEventDetailsSsoAddCertDetails: return [self.ssoAddCertDetails isEqual:anEventDetails.ssoAddCertDetails]; case DBTEAMLOGEventDetailsSsoAddLoginUrlDetails: @@ -17462,18 +44983,38 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.teamFolderPermanentlyDeleteDetails isEqual:anEventDetails.teamFolderPermanentlyDeleteDetails]; case DBTEAMLOGEventDetailsTeamFolderRenameDetails: return [self.teamFolderRenameDetails isEqual:anEventDetails.teamFolderRenameDetails]; + case DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails: + return + [self.teamSelectiveSyncSettingsChangedDetails isEqual:anEventDetails.teamSelectiveSyncSettingsChangedDetails]; case DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails: return [self.accountCaptureChangePolicyDetails isEqual:anEventDetails.accountCaptureChangePolicyDetails]; + case DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails: + return [self.adminEmailRemindersChangedDetails isEqual:anEventDetails.adminEmailRemindersChangedDetails]; case DBTEAMLOGEventDetailsAllowDownloadDisabledDetails: return [self.allowDownloadDisabledDetails isEqual:anEventDetails.allowDownloadDisabledDetails]; case DBTEAMLOGEventDetailsAllowDownloadEnabledDetails: return [self.allowDownloadEnabledDetails isEqual:anEventDetails.allowDownloadEnabledDetails]; + case DBTEAMLOGEventDetailsAppPermissionsChangedDetails: + return [self.appPermissionsChangedDetails isEqual:anEventDetails.appPermissionsChangedDetails]; + case DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails: + return [self.cameraUploadsPolicyChangedDetails isEqual:anEventDetails.cameraUploadsPolicyChangedDetails]; + case DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails: + return [self.captureTranscriptPolicyChangedDetails isEqual:anEventDetails.captureTranscriptPolicyChangedDetails]; + case DBTEAMLOGEventDetailsClassificationChangePolicyDetails: + return [self.classificationChangePolicyDetails isEqual:anEventDetails.classificationChangePolicyDetails]; + case DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails: + return [self.computerBackupPolicyChangedDetails isEqual:anEventDetails.computerBackupPolicyChangedDetails]; + case DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails: + return [self.contentAdministrationPolicyChangedDetails + isEqual:anEventDetails.contentAdministrationPolicyChangedDetails]; case DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails: return [self.dataPlacementRestrictionChangePolicyDetails isEqual:anEventDetails.dataPlacementRestrictionChangePolicyDetails]; case DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails: return [self.dataPlacementRestrictionSatisfyPolicyDetails isEqual:anEventDetails.dataPlacementRestrictionSatisfyPolicyDetails]; + case DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails: + return [self.deviceApprovalsAddExceptionDetails isEqual:anEventDetails.deviceApprovalsAddExceptionDetails]; case DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails: return [self.deviceApprovalsChangeDesktopPolicyDetails isEqual:anEventDetails.deviceApprovalsChangeDesktopPolicyDetails]; @@ -17486,6 +45027,17 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { case DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails: return [self.deviceApprovalsChangeUnlinkActionDetails isEqual:anEventDetails.deviceApprovalsChangeUnlinkActionDetails]; + case DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails: + return [self.deviceApprovalsRemoveExceptionDetails isEqual:anEventDetails.deviceApprovalsRemoveExceptionDetails]; + case DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails: + return [self.directoryRestrictionsAddMembersDetails isEqual:anEventDetails.directoryRestrictionsAddMembersDetails]; + case DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails: + return [self.directoryRestrictionsRemoveMembersDetails + isEqual:anEventDetails.directoryRestrictionsRemoveMembersDetails]; + case DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails: + return [self.dropboxPasswordsPolicyChangedDetails isEqual:anEventDetails.dropboxPasswordsPolicyChangedDetails]; + case DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails: + return [self.emailIngestPolicyChangedDetails isEqual:anEventDetails.emailIngestPolicyChangedDetails]; case DBTEAMLOGEventDetailsEmmAddExceptionDetails: return [self.emmAddExceptionDetails isEqual:anEventDetails.emmAddExceptionDetails]; case DBTEAMLOGEventDetailsEmmChangePolicyDetails: @@ -17495,8 +45047,16 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { case DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails: return [self.extendedVersionHistoryChangePolicyDetails isEqual:anEventDetails.extendedVersionHistoryChangePolicyDetails]; + case DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails: + return + [self.externalDriveBackupPolicyChangedDetails isEqual:anEventDetails.externalDriveBackupPolicyChangedDetails]; case DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails: return [self.fileCommentsChangePolicyDetails isEqual:anEventDetails.fileCommentsChangePolicyDetails]; + case DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails: + return [self.fileLockingPolicyChangedDetails isEqual:anEventDetails.fileLockingPolicyChangedDetails]; + case DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails: + return [self.fileProviderMigrationPolicyChangedDetails + isEqual:anEventDetails.fileProviderMigrationPolicyChangedDetails]; case DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails: return [self.fileRequestsChangePolicyDetails isEqual:anEventDetails.fileRequestsChangePolicyDetails]; case DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails: @@ -17504,14 +45064,29 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { case DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails: return [self.fileRequestsEmailsRestrictedToTeamOnlyDetails isEqual:anEventDetails.fileRequestsEmailsRestrictedToTeamOnlyDetails]; + case DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails: + return [self.fileTransfersPolicyChangedDetails isEqual:anEventDetails.fileTransfersPolicyChangedDetails]; + case DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails: + return [self.folderLinkRestrictionPolicyChangedDetails + isEqual:anEventDetails.folderLinkRestrictionPolicyChangedDetails]; case DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails: return [self.googleSsoChangePolicyDetails isEqual:anEventDetails.googleSsoChangePolicyDetails]; case DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails: return [self.groupUserManagementChangePolicyDetails isEqual:anEventDetails.groupUserManagementChangePolicyDetails]; + case DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails: + return [self.integrationPolicyChangedDetails isEqual:anEventDetails.integrationPolicyChangedDetails]; + case DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails: + return [self.inviteAcceptanceEmailPolicyChangedDetails + isEqual:anEventDetails.inviteAcceptanceEmailPolicyChangedDetails]; case DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails: return [self.memberRequestsChangePolicyDetails isEqual:anEventDetails.memberRequestsChangePolicyDetails]; + case DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails: + return [self.memberSendInvitePolicyChangedDetails isEqual:anEventDetails.memberSendInvitePolicyChangedDetails]; case DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails: return [self.memberSpaceLimitsAddExceptionDetails isEqual:anEventDetails.memberSpaceLimitsAddExceptionDetails]; + case DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails: + return [self.memberSpaceLimitsChangeCapsTypePolicyDetails + isEqual:anEventDetails.memberSpaceLimitsChangeCapsTypePolicyDetails]; case DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails: return [self.memberSpaceLimitsChangePolicyDetails isEqual:anEventDetails.memberSpaceLimitsChangePolicyDetails]; case DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails: @@ -17532,14 +45107,49 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.paperChangeMemberPolicyDetails isEqual:anEventDetails.paperChangeMemberPolicyDetails]; case DBTEAMLOGEventDetailsPaperChangePolicyDetails: return [self.paperChangePolicyDetails isEqual:anEventDetails.paperChangePolicyDetails]; + case DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails: + return [self.paperDefaultFolderPolicyChangedDetails isEqual:anEventDetails.paperDefaultFolderPolicyChangedDetails]; + case DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails: + return [self.paperDesktopPolicyChangedDetails isEqual:anEventDetails.paperDesktopPolicyChangedDetails]; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails: + return [self.paperEnabledUsersGroupAdditionDetails isEqual:anEventDetails.paperEnabledUsersGroupAdditionDetails]; + case DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails: + return [self.paperEnabledUsersGroupRemovalDetails isEqual:anEventDetails.paperEnabledUsersGroupRemovalDetails]; + case DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails: + return [self.passwordStrengthRequirementsChangePolicyDetails + isEqual:anEventDetails.passwordStrengthRequirementsChangePolicyDetails]; case DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails: return [self.permanentDeleteChangePolicyDetails isEqual:anEventDetails.permanentDeleteChangePolicyDetails]; + case DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails: + return [self.resellerSupportChangePolicyDetails isEqual:anEventDetails.resellerSupportChangePolicyDetails]; + case DBTEAMLOGEventDetailsRewindPolicyChangedDetails: + return [self.rewindPolicyChangedDetails isEqual:anEventDetails.rewindPolicyChangedDetails]; + case DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails: + return [self.sendForSignaturePolicyChangedDetails isEqual:anEventDetails.sendForSignaturePolicyChangedDetails]; case DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails: return [self.sharingChangeFolderJoinPolicyDetails isEqual:anEventDetails.sharingChangeFolderJoinPolicyDetails]; + case DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails: + return [self.sharingChangeLinkAllowChangeExpirationPolicyDetails + isEqual:anEventDetails.sharingChangeLinkAllowChangeExpirationPolicyDetails]; + case DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails: + return [self.sharingChangeLinkDefaultExpirationPolicyDetails + isEqual:anEventDetails.sharingChangeLinkDefaultExpirationPolicyDetails]; + case DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails: + return [self.sharingChangeLinkEnforcePasswordPolicyDetails + isEqual:anEventDetails.sharingChangeLinkEnforcePasswordPolicyDetails]; case DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails: return [self.sharingChangeLinkPolicyDetails isEqual:anEventDetails.sharingChangeLinkPolicyDetails]; case DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails: return [self.sharingChangeMemberPolicyDetails isEqual:anEventDetails.sharingChangeMemberPolicyDetails]; + case DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails: + return [self.showcaseChangeDownloadPolicyDetails isEqual:anEventDetails.showcaseChangeDownloadPolicyDetails]; + case DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails: + return [self.showcaseChangeEnabledPolicyDetails isEqual:anEventDetails.showcaseChangeEnabledPolicyDetails]; + case DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails: + return [self.showcaseChangeExternalSharingPolicyDetails + isEqual:anEventDetails.showcaseChangeExternalSharingPolicyDetails]; + case DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails: + return [self.smarterSmartSyncPolicyChangedDetails isEqual:anEventDetails.smarterSmartSyncPolicyChangedDetails]; case DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails: return [self.smartSyncChangePolicyDetails isEqual:anEventDetails.smartSyncChangePolicyDetails]; case DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails: @@ -17548,18 +45158,52 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.smartSyncOptOutDetails isEqual:anEventDetails.smartSyncOptOutDetails]; case DBTEAMLOGEventDetailsSsoChangePolicyDetails: return [self.ssoChangePolicyDetails isEqual:anEventDetails.ssoChangePolicyDetails]; + case DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails: + return [self.teamBrandingPolicyChangedDetails isEqual:anEventDetails.teamBrandingPolicyChangedDetails]; + case DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails: + return [self.teamExtensionsPolicyChangedDetails isEqual:anEventDetails.teamExtensionsPolicyChangedDetails]; + case DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails: + return [self.teamSelectiveSyncPolicyChangedDetails isEqual:anEventDetails.teamSelectiveSyncPolicyChangedDetails]; + case DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails: + return [self.teamSharingWhitelistSubjectsChangedDetails + isEqual:anEventDetails.teamSharingWhitelistSubjectsChangedDetails]; + case DBTEAMLOGEventDetailsTfaAddExceptionDetails: + return [self.tfaAddExceptionDetails isEqual:anEventDetails.tfaAddExceptionDetails]; case DBTEAMLOGEventDetailsTfaChangePolicyDetails: return [self.tfaChangePolicyDetails isEqual:anEventDetails.tfaChangePolicyDetails]; + case DBTEAMLOGEventDetailsTfaRemoveExceptionDetails: + return [self.tfaRemoveExceptionDetails isEqual:anEventDetails.tfaRemoveExceptionDetails]; case DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails: return [self.twoAccountChangePolicyDetails isEqual:anEventDetails.twoAccountChangePolicyDetails]; + case DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails: + return [self.viewerInfoPolicyChangedDetails isEqual:anEventDetails.viewerInfoPolicyChangedDetails]; + case DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails: + return [self.watermarkingPolicyChangedDetails isEqual:anEventDetails.watermarkingPolicyChangedDetails]; + case DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails: + return [self.webSessionsChangeActiveSessionLimitDetails + isEqual:anEventDetails.webSessionsChangeActiveSessionLimitDetails]; case DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails: return [self.webSessionsChangeFixedLengthPolicyDetails isEqual:anEventDetails.webSessionsChangeFixedLengthPolicyDetails]; case DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails: return [self.webSessionsChangeIdleLengthPolicyDetails isEqual:anEventDetails.webSessionsChangeIdleLengthPolicyDetails]; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails: + return [self.dataResidencyMigrationRequestSuccessfulDetails + isEqual:anEventDetails.dataResidencyMigrationRequestSuccessfulDetails]; + case DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails: + return [self.dataResidencyMigrationRequestUnsuccessfulDetails + isEqual:anEventDetails.dataResidencyMigrationRequestUnsuccessfulDetails]; + case DBTEAMLOGEventDetailsTeamMergeFromDetails: + return [self.teamMergeFromDetails isEqual:anEventDetails.teamMergeFromDetails]; + case DBTEAMLOGEventDetailsTeamMergeToDetails: + return [self.teamMergeToDetails isEqual:anEventDetails.teamMergeToDetails]; + case DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails: + return [self.teamProfileAddBackgroundDetails isEqual:anEventDetails.teamProfileAddBackgroundDetails]; case DBTEAMLOGEventDetailsTeamProfileAddLogoDetails: return [self.teamProfileAddLogoDetails isEqual:anEventDetails.teamProfileAddLogoDetails]; + case DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails: + return [self.teamProfileChangeBackgroundDetails isEqual:anEventDetails.teamProfileChangeBackgroundDetails]; case DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails: return [self.teamProfileChangeDefaultLanguageDetails isEqual:anEventDetails.teamProfileChangeDefaultLanguageDetails]; @@ -17567,6 +45211,8 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.teamProfileChangeLogoDetails isEqual:anEventDetails.teamProfileChangeLogoDetails]; case DBTEAMLOGEventDetailsTeamProfileChangeNameDetails: return [self.teamProfileChangeNameDetails isEqual:anEventDetails.teamProfileChangeNameDetails]; + case DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails: + return [self.teamProfileRemoveBackgroundDetails isEqual:anEventDetails.teamProfileRemoveBackgroundDetails]; case DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails: return [self.teamProfileRemoveLogoDetails isEqual:anEventDetails.teamProfileRemoveLogoDetails]; case DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails: @@ -17583,6 +45229,70 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { return [self.tfaRemoveSecurityKeyDetails isEqual:anEventDetails.tfaRemoveSecurityKeyDetails]; case DBTEAMLOGEventDetailsTfaResetDetails: return [self.tfaResetDetails isEqual:anEventDetails.tfaResetDetails]; + case DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails: + return [self.changedEnterpriseAdminRoleDetails isEqual:anEventDetails.changedEnterpriseAdminRoleDetails]; + case DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails: + return [self.changedEnterpriseConnectedTeamStatusDetails + isEqual:anEventDetails.changedEnterpriseConnectedTeamStatusDetails]; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails: + return [self.endedEnterpriseAdminSessionDetails isEqual:anEventDetails.endedEnterpriseAdminSessionDetails]; + case DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails: + return [self.endedEnterpriseAdminSessionDeprecatedDetails + isEqual:anEventDetails.endedEnterpriseAdminSessionDeprecatedDetails]; + case DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails: + return [self.enterpriseSettingsLockingDetails isEqual:anEventDetails.enterpriseSettingsLockingDetails]; + case DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails: + return [self.guestAdminChangeStatusDetails isEqual:anEventDetails.guestAdminChangeStatusDetails]; + case DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails: + return [self.startedEnterpriseAdminSessionDetails isEqual:anEventDetails.startedEnterpriseAdminSessionDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails: + return [self.teamMergeRequestAcceptedDetails isEqual:anEventDetails.teamMergeRequestAcceptedDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + return [self.teamMergeRequestAcceptedShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestAcceptedShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + return [self.teamMergeRequestAcceptedShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestAcceptedShownToSecondaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails: + return [self.teamMergeRequestAutoCanceledDetails isEqual:anEventDetails.teamMergeRequestAutoCanceledDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails: + return [self.teamMergeRequestCanceledDetails isEqual:anEventDetails.teamMergeRequestCanceledDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails: + return [self.teamMergeRequestCanceledShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestCanceledShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails: + return [self.teamMergeRequestCanceledShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestCanceledShownToSecondaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails: + return [self.teamMergeRequestExpiredDetails isEqual:anEventDetails.teamMergeRequestExpiredDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails: + return [self.teamMergeRequestExpiredShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestExpiredShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails: + return [self.teamMergeRequestExpiredShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestExpiredShownToSecondaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails: + return [self.teamMergeRequestRejectedShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestRejectedShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails: + return [self.teamMergeRequestRejectedShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestRejectedShownToSecondaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails: + return [self.teamMergeRequestReminderDetails isEqual:anEventDetails.teamMergeRequestReminderDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails: + return [self.teamMergeRequestReminderShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestReminderShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails: + return [self.teamMergeRequestReminderShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestReminderShownToSecondaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails: + return [self.teamMergeRequestRevokedDetails isEqual:anEventDetails.teamMergeRequestRevokedDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails: + return [self.teamMergeRequestSentShownToPrimaryTeamDetails + isEqual:anEventDetails.teamMergeRequestSentShownToPrimaryTeamDetails]; + case DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails: + return [self.teamMergeRequestSentShownToSecondaryTeamDetails + isEqual:anEventDetails.teamMergeRequestSentShownToSecondaryTeamDetails]; case DBTEAMLOGEventDetailsMissingDetails: return [self.missingDetails isEqual:anEventDetails.missingDetails]; case DBTEAMLOGEventDetailsOther: @@ -17597,1123 +45307,1986 @@ - (BOOL)isEqualToEventDetails:(DBTEAMLOGEventDetails *)anEventDetails { @implementation DBTEAMLOGEventDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGEventDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGEventDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMemberChangeMembershipTypeDetails]) { - jsonDict[@"member_change_membership_type_details"] = [[DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer - serialize:valueObj.memberChangeMembershipTypeDetails] mutableCopy]; - jsonDict[@".tag"] = @"member_change_membership_type_details"; - } else if ([valueObj isMemberPermanentlyDeleteAccountContentsDetails]) { - jsonDict[@"member_permanently_delete_account_contents_details"] = - [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer - serialize:valueObj.memberPermanentlyDeleteAccountContentsDetails] mutableCopy]; - jsonDict[@".tag"] = @"member_permanently_delete_account_contents_details"; - } else if ([valueObj isMemberSpaceLimitsChangeStatusDetails]) { - jsonDict[@"member_space_limits_change_status_details"] = [[DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer - serialize:valueObj.memberSpaceLimitsChangeStatusDetails] mutableCopy]; - jsonDict[@".tag"] = @"member_space_limits_change_status_details"; - } else if ([valueObj isMemberTransferAccountContentsDetails]) { - jsonDict[@"member_transfer_account_contents_details"] = [[DBTEAMLOGMemberTransferAccountContentsDetailsSerializer - serialize:valueObj.memberTransferAccountContentsDetails] mutableCopy]; - jsonDict[@".tag"] = @"member_transfer_account_contents_details"; - } else if ([valueObj isPaperAdminExportStartDetails]) { - jsonDict[@"paper_admin_export_start_details"] = - [[DBTEAMLOGPaperAdminExportStartDetailsSerializer serialize:valueObj.paperAdminExportStartDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_admin_export_start_details"; - } else if ([valueObj isPaperEnabledUsersGroupAdditionDetails]) { - jsonDict[@"paper_enabled_users_group_addition_details"] = [[DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer - serialize:valueObj.paperEnabledUsersGroupAdditionDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_enabled_users_group_addition_details"; - } else if ([valueObj isPaperEnabledUsersGroupRemovalDetails]) { - jsonDict[@"paper_enabled_users_group_removal_details"] = [[DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer - serialize:valueObj.paperEnabledUsersGroupRemovalDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_enabled_users_group_removal_details"; - } else if ([valueObj isPaperExternalViewAllowDetails]) { - jsonDict[@"paper_external_view_allow_details"] = [[DBTEAMLOGPaperExternalViewAllowDetailsSerializer - serialize:valueObj.paperExternalViewAllowDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_external_view_allow_details"; - } else if ([valueObj isPaperExternalViewDefaultTeamDetails]) { - jsonDict[@"paper_external_view_default_team_details"] = [[DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer - serialize:valueObj.paperExternalViewDefaultTeamDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_external_view_default_team_details"; - } else if ([valueObj isPaperExternalViewForbidDetails]) { - jsonDict[@"paper_external_view_forbid_details"] = [[DBTEAMLOGPaperExternalViewForbidDetailsSerializer - serialize:valueObj.paperExternalViewForbidDetails] mutableCopy]; - jsonDict[@".tag"] = @"paper_external_view_forbid_details"; - } else if ([valueObj isSfExternalInviteWarnDetails]) { - jsonDict[@"sf_external_invite_warn_details"] = - [[DBTEAMLOGSfExternalInviteWarnDetailsSerializer serialize:valueObj.sfExternalInviteWarnDetails] mutableCopy]; - jsonDict[@".tag"] = @"sf_external_invite_warn_details"; - } else if ([valueObj isTeamMergeFromDetails]) { - jsonDict[@"team_merge_from_details"] = - [[DBTEAMLOGTeamMergeFromDetailsSerializer serialize:valueObj.teamMergeFromDetails] mutableCopy]; - jsonDict[@".tag"] = @"team_merge_from_details"; - } else if ([valueObj isTeamMergeToDetails]) { - jsonDict[@"team_merge_to_details"] = - [[DBTEAMLOGTeamMergeToDetailsSerializer serialize:valueObj.teamMergeToDetails] mutableCopy]; - jsonDict[@".tag"] = @"team_merge_to_details"; + if ([valueObj isAdminAlertingAlertStateChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer + serialize:valueObj.adminAlertingAlertStateChangedDetails]]; + jsonDict[@".tag"] = @"admin_alerting_alert_state_changed_details"; + } else if ([valueObj isAdminAlertingChangedAlertConfigDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer + serialize:valueObj.adminAlertingChangedAlertConfigDetails]]; + jsonDict[@".tag"] = @"admin_alerting_changed_alert_config_details"; + } else if ([valueObj isAdminAlertingTriggeredAlertDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer + serialize:valueObj.adminAlertingTriggeredAlertDetails]]; + jsonDict[@".tag"] = @"admin_alerting_triggered_alert_details"; + } else if ([valueObj isRansomwareRestoreProcessCompletedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer + serialize:valueObj.ransomwareRestoreProcessCompletedDetails]]; + jsonDict[@".tag"] = @"ransomware_restore_process_completed_details"; + } else if ([valueObj isRansomwareRestoreProcessStartedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer + serialize:valueObj.ransomwareRestoreProcessStartedDetails]]; + jsonDict[@".tag"] = @"ransomware_restore_process_started_details"; + } else if ([valueObj isAppBlockedByPermissionsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppBlockedByPermissionsDetailsSerializer + serialize:valueObj.appBlockedByPermissionsDetails]]; + jsonDict[@".tag"] = @"app_blocked_by_permissions_details"; } else if ([valueObj isAppLinkTeamDetails]) { - jsonDict[@"app_link_team_details"] = - [[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:valueObj.appLinkTeamDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppLinkTeamDetailsSerializer serialize:valueObj.appLinkTeamDetails]]; jsonDict[@".tag"] = @"app_link_team_details"; } else if ([valueObj isAppLinkUserDetails]) { - jsonDict[@"app_link_user_details"] = - [[DBTEAMLOGAppLinkUserDetailsSerializer serialize:valueObj.appLinkUserDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppLinkUserDetailsSerializer serialize:valueObj.appLinkUserDetails]]; jsonDict[@".tag"] = @"app_link_user_details"; } else if ([valueObj isAppUnlinkTeamDetails]) { - jsonDict[@"app_unlink_team_details"] = - [[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:valueObj.appUnlinkTeamDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGAppUnlinkTeamDetailsSerializer serialize:valueObj.appUnlinkTeamDetails]]; jsonDict[@".tag"] = @"app_unlink_team_details"; } else if ([valueObj isAppUnlinkUserDetails]) { - jsonDict[@"app_unlink_user_details"] = - [[DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:valueObj.appUnlinkUserDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGAppUnlinkUserDetailsSerializer serialize:valueObj.appUnlinkUserDetails]]; jsonDict[@".tag"] = @"app_unlink_user_details"; + } else if ([valueObj isIntegrationConnectedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGIntegrationConnectedDetailsSerializer + serialize:valueObj.integrationConnectedDetails]]; + jsonDict[@".tag"] = @"integration_connected_details"; + } else if ([valueObj isIntegrationDisconnectedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGIntegrationDisconnectedDetailsSerializer + serialize:valueObj.integrationDisconnectedDetails]]; + jsonDict[@".tag"] = @"integration_disconnected_details"; } else if ([valueObj isFileAddCommentDetails]) { - jsonDict[@"file_add_comment_details"] = - [[DBTEAMLOGFileAddCommentDetailsSerializer serialize:valueObj.fileAddCommentDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileAddCommentDetailsSerializer serialize:valueObj.fileAddCommentDetails]]; jsonDict[@".tag"] = @"file_add_comment_details"; } else if ([valueObj isFileChangeCommentSubscriptionDetails]) { - jsonDict[@"file_change_comment_subscription_details"] = [[DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer - serialize:valueObj.fileChangeCommentSubscriptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer + serialize:valueObj.fileChangeCommentSubscriptionDetails]]; jsonDict[@".tag"] = @"file_change_comment_subscription_details"; } else if ([valueObj isFileDeleteCommentDetails]) { - jsonDict[@"file_delete_comment_details"] = - [[DBTEAMLOGFileDeleteCommentDetailsSerializer serialize:valueObj.fileDeleteCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDeleteCommentDetailsSerializer + serialize:valueObj.fileDeleteCommentDetails]]; jsonDict[@".tag"] = @"file_delete_comment_details"; + } else if ([valueObj isFileEditCommentDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileEditCommentDetailsSerializer serialize:valueObj.fileEditCommentDetails]]; + jsonDict[@".tag"] = @"file_edit_comment_details"; } else if ([valueObj isFileLikeCommentDetails]) { - jsonDict[@"file_like_comment_details"] = - [[DBTEAMLOGFileLikeCommentDetailsSerializer serialize:valueObj.fileLikeCommentDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileLikeCommentDetailsSerializer serialize:valueObj.fileLikeCommentDetails]]; jsonDict[@".tag"] = @"file_like_comment_details"; } else if ([valueObj isFileResolveCommentDetails]) { - jsonDict[@"file_resolve_comment_details"] = - [[DBTEAMLOGFileResolveCommentDetailsSerializer serialize:valueObj.fileResolveCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileResolveCommentDetailsSerializer + serialize:valueObj.fileResolveCommentDetails]]; jsonDict[@".tag"] = @"file_resolve_comment_details"; } else if ([valueObj isFileUnlikeCommentDetails]) { - jsonDict[@"file_unlike_comment_details"] = - [[DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:valueObj.fileUnlikeCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileUnlikeCommentDetailsSerializer + serialize:valueObj.fileUnlikeCommentDetails]]; jsonDict[@".tag"] = @"file_unlike_comment_details"; } else if ([valueObj isFileUnresolveCommentDetails]) { - jsonDict[@"file_unresolve_comment_details"] = - [[DBTEAMLOGFileUnresolveCommentDetailsSerializer serialize:valueObj.fileUnresolveCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileUnresolveCommentDetailsSerializer + serialize:valueObj.fileUnresolveCommentDetails]]; jsonDict[@".tag"] = @"file_unresolve_comment_details"; + } else if ([valueObj isGovernancePolicyAddFoldersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer + serialize:valueObj.governancePolicyAddFoldersDetails]]; + jsonDict[@".tag"] = @"governance_policy_add_folders_details"; + } else if ([valueObj isGovernancePolicyAddFolderFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer + serialize:valueObj.governancePolicyAddFolderFailedDetails]]; + jsonDict[@".tag"] = @"governance_policy_add_folder_failed_details"; + } else if ([valueObj isGovernancePolicyContentDisposedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer + serialize:valueObj.governancePolicyContentDisposedDetails]]; + jsonDict[@".tag"] = @"governance_policy_content_disposed_details"; + } else if ([valueObj isGovernancePolicyCreateDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyCreateDetailsSerializer + serialize:valueObj.governancePolicyCreateDetails]]; + jsonDict[@".tag"] = @"governance_policy_create_details"; + } else if ([valueObj isGovernancePolicyDeleteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyDeleteDetailsSerializer + serialize:valueObj.governancePolicyDeleteDetails]]; + jsonDict[@".tag"] = @"governance_policy_delete_details"; + } else if ([valueObj isGovernancePolicyEditDetailsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer + serialize:valueObj.governancePolicyEditDetailsDetails]]; + jsonDict[@".tag"] = @"governance_policy_edit_details_details"; + } else if ([valueObj isGovernancePolicyEditDurationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer + serialize:valueObj.governancePolicyEditDurationDetails]]; + jsonDict[@".tag"] = @"governance_policy_edit_duration_details"; + } else if ([valueObj isGovernancePolicyExportCreatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer + serialize:valueObj.governancePolicyExportCreatedDetails]]; + jsonDict[@".tag"] = @"governance_policy_export_created_details"; + } else if ([valueObj isGovernancePolicyExportRemovedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer + serialize:valueObj.governancePolicyExportRemovedDetails]]; + jsonDict[@".tag"] = @"governance_policy_export_removed_details"; + } else if ([valueObj isGovernancePolicyRemoveFoldersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer + serialize:valueObj.governancePolicyRemoveFoldersDetails]]; + jsonDict[@".tag"] = @"governance_policy_remove_folders_details"; + } else if ([valueObj isGovernancePolicyReportCreatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer + serialize:valueObj.governancePolicyReportCreatedDetails]]; + jsonDict[@".tag"] = @"governance_policy_report_created_details"; + } else if ([valueObj isGovernancePolicyZipPartDownloadedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer + serialize:valueObj.governancePolicyZipPartDownloadedDetails]]; + jsonDict[@".tag"] = @"governance_policy_zip_part_downloaded_details"; + } else if ([valueObj isLegalHoldsActivateAHoldDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer + serialize:valueObj.legalHoldsActivateAHoldDetails]]; + jsonDict[@".tag"] = @"legal_holds_activate_a_hold_details"; + } else if ([valueObj isLegalHoldsAddMembersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsAddMembersDetailsSerializer + serialize:valueObj.legalHoldsAddMembersDetails]]; + jsonDict[@".tag"] = @"legal_holds_add_members_details"; + } else if ([valueObj isLegalHoldsChangeHoldDetailsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer + serialize:valueObj.legalHoldsChangeHoldDetailsDetails]]; + jsonDict[@".tag"] = @"legal_holds_change_hold_details_details"; + } else if ([valueObj isLegalHoldsChangeHoldNameDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer + serialize:valueObj.legalHoldsChangeHoldNameDetails]]; + jsonDict[@".tag"] = @"legal_holds_change_hold_name_details"; + } else if ([valueObj isLegalHoldsExportAHoldDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer + serialize:valueObj.legalHoldsExportAHoldDetails]]; + jsonDict[@".tag"] = @"legal_holds_export_a_hold_details"; + } else if ([valueObj isLegalHoldsExportCancelledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer + serialize:valueObj.legalHoldsExportCancelledDetails]]; + jsonDict[@".tag"] = @"legal_holds_export_cancelled_details"; + } else if ([valueObj isLegalHoldsExportDownloadedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer + serialize:valueObj.legalHoldsExportDownloadedDetails]]; + jsonDict[@".tag"] = @"legal_holds_export_downloaded_details"; + } else if ([valueObj isLegalHoldsExportRemovedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer + serialize:valueObj.legalHoldsExportRemovedDetails]]; + jsonDict[@".tag"] = @"legal_holds_export_removed_details"; + } else if ([valueObj isLegalHoldsReleaseAHoldDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer + serialize:valueObj.legalHoldsReleaseAHoldDetails]]; + jsonDict[@".tag"] = @"legal_holds_release_a_hold_details"; + } else if ([valueObj isLegalHoldsRemoveMembersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer + serialize:valueObj.legalHoldsRemoveMembersDetails]]; + jsonDict[@".tag"] = @"legal_holds_remove_members_details"; + } else if ([valueObj isLegalHoldsReportAHoldDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer + serialize:valueObj.legalHoldsReportAHoldDetails]]; + jsonDict[@".tag"] = @"legal_holds_report_a_hold_details"; } else if ([valueObj isDeviceChangeIpDesktopDetails]) { - jsonDict[@"device_change_ip_desktop_details"] = - [[DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer serialize:valueObj.deviceChangeIpDesktopDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer + serialize:valueObj.deviceChangeIpDesktopDetails]]; jsonDict[@".tag"] = @"device_change_ip_desktop_details"; } else if ([valueObj isDeviceChangeIpMobileDetails]) { - jsonDict[@"device_change_ip_mobile_details"] = - [[DBTEAMLOGDeviceChangeIpMobileDetailsSerializer serialize:valueObj.deviceChangeIpMobileDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpMobileDetailsSerializer + serialize:valueObj.deviceChangeIpMobileDetails]]; jsonDict[@".tag"] = @"device_change_ip_mobile_details"; } else if ([valueObj isDeviceChangeIpWebDetails]) { - jsonDict[@"device_change_ip_web_details"] = - [[DBTEAMLOGDeviceChangeIpWebDetailsSerializer serialize:valueObj.deviceChangeIpWebDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpWebDetailsSerializer + serialize:valueObj.deviceChangeIpWebDetails]]; jsonDict[@".tag"] = @"device_change_ip_web_details"; } else if ([valueObj isDeviceDeleteOnUnlinkFailDetails]) { - jsonDict[@"device_delete_on_unlink_fail_details"] = [[DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer - serialize:valueObj.deviceDeleteOnUnlinkFailDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkFailDetailsSerializer + serialize:valueObj.deviceDeleteOnUnlinkFailDetails]]; jsonDict[@".tag"] = @"device_delete_on_unlink_fail_details"; } else if ([valueObj isDeviceDeleteOnUnlinkSuccessDetails]) { - jsonDict[@"device_delete_on_unlink_success_details"] = [[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer - serialize:valueObj.deviceDeleteOnUnlinkSuccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetailsSerializer + serialize:valueObj.deviceDeleteOnUnlinkSuccessDetails]]; jsonDict[@".tag"] = @"device_delete_on_unlink_success_details"; } else if ([valueObj isDeviceLinkFailDetails]) { - jsonDict[@"device_link_fail_details"] = - [[DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:valueObj.deviceLinkFailDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGDeviceLinkFailDetailsSerializer serialize:valueObj.deviceLinkFailDetails]]; jsonDict[@".tag"] = @"device_link_fail_details"; } else if ([valueObj isDeviceLinkSuccessDetails]) { - jsonDict[@"device_link_success_details"] = - [[DBTEAMLOGDeviceLinkSuccessDetailsSerializer serialize:valueObj.deviceLinkSuccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceLinkSuccessDetailsSerializer + serialize:valueObj.deviceLinkSuccessDetails]]; jsonDict[@".tag"] = @"device_link_success_details"; } else if ([valueObj isDeviceManagementDisabledDetails]) { - jsonDict[@"device_management_disabled_details"] = [[DBTEAMLOGDeviceManagementDisabledDetailsSerializer - serialize:valueObj.deviceManagementDisabledDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceManagementDisabledDetailsSerializer + serialize:valueObj.deviceManagementDisabledDetails]]; jsonDict[@".tag"] = @"device_management_disabled_details"; } else if ([valueObj isDeviceManagementEnabledDetails]) { - jsonDict[@"device_management_enabled_details"] = [[DBTEAMLOGDeviceManagementEnabledDetailsSerializer - serialize:valueObj.deviceManagementEnabledDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceManagementEnabledDetailsSerializer + serialize:valueObj.deviceManagementEnabledDetails]]; jsonDict[@".tag"] = @"device_management_enabled_details"; + } else if ([valueObj isDeviceSyncBackupStatusChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer + serialize:valueObj.deviceSyncBackupStatusChangedDetails]]; + jsonDict[@".tag"] = @"device_sync_backup_status_changed_details"; } else if ([valueObj isDeviceUnlinkDetails]) { - jsonDict[@"device_unlink_details"] = - [[DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:valueObj.deviceUnlinkDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceUnlinkDetailsSerializer serialize:valueObj.deviceUnlinkDetails]]; jsonDict[@".tag"] = @"device_unlink_details"; + } else if ([valueObj isDropboxPasswordsExportedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsExportedDetailsSerializer + serialize:valueObj.dropboxPasswordsExportedDetails]]; + jsonDict[@".tag"] = @"dropbox_passwords_exported_details"; + } else if ([valueObj isDropboxPasswordsNewDeviceEnrolledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer + serialize:valueObj.dropboxPasswordsNewDeviceEnrolledDetails]]; + jsonDict[@".tag"] = @"dropbox_passwords_new_device_enrolled_details"; } else if ([valueObj isEmmRefreshAuthTokenDetails]) { - jsonDict[@"emm_refresh_auth_token_details"] = - [[DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer serialize:valueObj.emmRefreshAuthTokenDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer + serialize:valueObj.emmRefreshAuthTokenDetails]]; jsonDict[@".tag"] = @"emm_refresh_auth_token_details"; + } else if ([valueObj isExternalDriveBackupEligibilityStatusCheckedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer + serialize:valueObj.externalDriveBackupEligibilityStatusCheckedDetails]]; + jsonDict[@".tag"] = @"external_drive_backup_eligibility_status_checked_details"; + } else if ([valueObj isExternalDriveBackupStatusChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer + serialize:valueObj.externalDriveBackupStatusChangedDetails]]; + jsonDict[@".tag"] = @"external_drive_backup_status_changed_details"; } else if ([valueObj isAccountCaptureChangeAvailabilityDetails]) { - jsonDict[@"account_capture_change_availability_details"] = - [[DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer - serialize:valueObj.accountCaptureChangeAvailabilityDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer + serialize:valueObj.accountCaptureChangeAvailabilityDetails]]; jsonDict[@".tag"] = @"account_capture_change_availability_details"; } else if ([valueObj isAccountCaptureMigrateAccountDetails]) { - jsonDict[@"account_capture_migrate_account_details"] = [[DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer - serialize:valueObj.accountCaptureMigrateAccountDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer + serialize:valueObj.accountCaptureMigrateAccountDetails]]; jsonDict[@".tag"] = @"account_capture_migrate_account_details"; + } else if ([valueObj isAccountCaptureNotificationEmailsSentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer + serialize:valueObj.accountCaptureNotificationEmailsSentDetails]]; + jsonDict[@".tag"] = @"account_capture_notification_emails_sent_details"; } else if ([valueObj isAccountCaptureRelinquishAccountDetails]) { - jsonDict[@"account_capture_relinquish_account_details"] = - [[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer - serialize:valueObj.accountCaptureRelinquishAccountDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer + serialize:valueObj.accountCaptureRelinquishAccountDetails]]; jsonDict[@".tag"] = @"account_capture_relinquish_account_details"; } else if ([valueObj isDisabledDomainInvitesDetails]) { - jsonDict[@"disabled_domain_invites_details"] = - [[DBTEAMLOGDisabledDomainInvitesDetailsSerializer serialize:valueObj.disabledDomainInvitesDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDisabledDomainInvitesDetailsSerializer + serialize:valueObj.disabledDomainInvitesDetails]]; jsonDict[@".tag"] = @"disabled_domain_invites_details"; } else if ([valueObj isDomainInvitesApproveRequestToJoinTeamDetails]) { - jsonDict[@"domain_invites_approve_request_to_join_team_details"] = - [[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer - serialize:valueObj.domainInvitesApproveRequestToJoinTeamDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetailsSerializer + serialize:valueObj.domainInvitesApproveRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_approve_request_to_join_team_details"; } else if ([valueObj isDomainInvitesDeclineRequestToJoinTeamDetails]) { - jsonDict[@"domain_invites_decline_request_to_join_team_details"] = - [[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer - serialize:valueObj.domainInvitesDeclineRequestToJoinTeamDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetailsSerializer + serialize:valueObj.domainInvitesDeclineRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_decline_request_to_join_team_details"; } else if ([valueObj isDomainInvitesEmailExistingUsersDetails]) { - jsonDict[@"domain_invites_email_existing_users_details"] = - [[DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer - serialize:valueObj.domainInvitesEmailExistingUsersDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesEmailExistingUsersDetailsSerializer + serialize:valueObj.domainInvitesEmailExistingUsersDetails]]; jsonDict[@".tag"] = @"domain_invites_email_existing_users_details"; } else if ([valueObj isDomainInvitesRequestToJoinTeamDetails]) { - jsonDict[@"domain_invites_request_to_join_team_details"] = - [[DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer - serialize:valueObj.domainInvitesRequestToJoinTeamDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesRequestToJoinTeamDetailsSerializer + serialize:valueObj.domainInvitesRequestToJoinTeamDetails]]; jsonDict[@".tag"] = @"domain_invites_request_to_join_team_details"; } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToNoDetails]) { - jsonDict[@"domain_invites_set_invite_new_user_pref_to_no_details"] = - [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer - serialize:valueObj.domainInvitesSetInviteNewUserPrefToNoDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetailsSerializer + serialize:valueObj.domainInvitesSetInviteNewUserPrefToNoDetails]]; jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_no_details"; } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToYesDetails]) { - jsonDict[@"domain_invites_set_invite_new_user_pref_to_yes_details"] = - [[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer - serialize:valueObj.domainInvitesSetInviteNewUserPrefToYesDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetailsSerializer + serialize:valueObj.domainInvitesSetInviteNewUserPrefToYesDetails]]; jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_yes_details"; } else if ([valueObj isDomainVerificationAddDomainFailDetails]) { - jsonDict[@"domain_verification_add_domain_fail_details"] = - [[DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer - serialize:valueObj.domainVerificationAddDomainFailDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainFailDetailsSerializer + serialize:valueObj.domainVerificationAddDomainFailDetails]]; jsonDict[@".tag"] = @"domain_verification_add_domain_fail_details"; } else if ([valueObj isDomainVerificationAddDomainSuccessDetails]) { - jsonDict[@"domain_verification_add_domain_success_details"] = - [[DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer - serialize:valueObj.domainVerificationAddDomainSuccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainSuccessDetailsSerializer + serialize:valueObj.domainVerificationAddDomainSuccessDetails]]; jsonDict[@".tag"] = @"domain_verification_add_domain_success_details"; } else if ([valueObj isDomainVerificationRemoveDomainDetails]) { - jsonDict[@"domain_verification_remove_domain_details"] = [[DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer - serialize:valueObj.domainVerificationRemoveDomainDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationRemoveDomainDetailsSerializer + serialize:valueObj.domainVerificationRemoveDomainDetails]]; jsonDict[@".tag"] = @"domain_verification_remove_domain_details"; } else if ([valueObj isEnabledDomainInvitesDetails]) { - jsonDict[@"enabled_domain_invites_details"] = - [[DBTEAMLOGEnabledDomainInvitesDetailsSerializer serialize:valueObj.enabledDomainInvitesDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEnabledDomainInvitesDetailsSerializer + serialize:valueObj.enabledDomainInvitesDetails]]; jsonDict[@".tag"] = @"enabled_domain_invites_details"; + } else if ([valueObj isTeamEncryptionKeyCancelKeyDeletionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer + serialize:valueObj.teamEncryptionKeyCancelKeyDeletionDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_cancel_key_deletion_details"; + } else if ([valueObj isTeamEncryptionKeyCreateKeyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer + serialize:valueObj.teamEncryptionKeyCreateKeyDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_create_key_details"; + } else if ([valueObj isTeamEncryptionKeyDeleteKeyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer + serialize:valueObj.teamEncryptionKeyDeleteKeyDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_delete_key_details"; + } else if ([valueObj isTeamEncryptionKeyDisableKeyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer + serialize:valueObj.teamEncryptionKeyDisableKeyDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_disable_key_details"; + } else if ([valueObj isTeamEncryptionKeyEnableKeyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer + serialize:valueObj.teamEncryptionKeyEnableKeyDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_enable_key_details"; + } else if ([valueObj isTeamEncryptionKeyRotateKeyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer + serialize:valueObj.teamEncryptionKeyRotateKeyDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_rotate_key_details"; + } else if ([valueObj isTeamEncryptionKeyScheduleKeyDeletionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer + serialize:valueObj.teamEncryptionKeyScheduleKeyDeletionDetails]]; + jsonDict[@".tag"] = @"team_encryption_key_schedule_key_deletion_details"; + } else if ([valueObj isApplyNamingConventionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGApplyNamingConventionDetailsSerializer + serialize:valueObj.applyNamingConventionDetails]]; + jsonDict[@".tag"] = @"apply_naming_convention_details"; } else if ([valueObj isCreateFolderDetails]) { - jsonDict[@"create_folder_details"] = - [[DBTEAMLOGCreateFolderDetailsSerializer serialize:valueObj.createFolderDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCreateFolderDetailsSerializer serialize:valueObj.createFolderDetails]]; jsonDict[@".tag"] = @"create_folder_details"; } else if ([valueObj isFileAddDetails]) { - jsonDict[@"file_add_details"] = [[DBTEAMLOGFileAddDetailsSerializer serialize:valueObj.fileAddDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileAddDetailsSerializer serialize:valueObj.fileAddDetails]]; jsonDict[@".tag"] = @"file_add_details"; + } else if ([valueObj isFileAddFromAutomationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileAddFromAutomationDetailsSerializer + serialize:valueObj.fileAddFromAutomationDetails]]; + jsonDict[@".tag"] = @"file_add_from_automation_details"; } else if ([valueObj isFileCopyDetails]) { - jsonDict[@"file_copy_details"] = - [[DBTEAMLOGFileCopyDetailsSerializer serialize:valueObj.fileCopyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileCopyDetailsSerializer serialize:valueObj.fileCopyDetails]]; jsonDict[@".tag"] = @"file_copy_details"; } else if ([valueObj isFileDeleteDetails]) { - jsonDict[@"file_delete_details"] = - [[DBTEAMLOGFileDeleteDetailsSerializer serialize:valueObj.fileDeleteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDeleteDetailsSerializer serialize:valueObj.fileDeleteDetails]]; jsonDict[@".tag"] = @"file_delete_details"; } else if ([valueObj isFileDownloadDetails]) { - jsonDict[@"file_download_details"] = - [[DBTEAMLOGFileDownloadDetailsSerializer serialize:valueObj.fileDownloadDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDownloadDetailsSerializer serialize:valueObj.fileDownloadDetails]]; jsonDict[@".tag"] = @"file_download_details"; } else if ([valueObj isFileEditDetails]) { - jsonDict[@"file_edit_details"] = - [[DBTEAMLOGFileEditDetailsSerializer serialize:valueObj.fileEditDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileEditDetailsSerializer serialize:valueObj.fileEditDetails]]; jsonDict[@".tag"] = @"file_edit_details"; } else if ([valueObj isFileGetCopyReferenceDetails]) { - jsonDict[@"file_get_copy_reference_details"] = - [[DBTEAMLOGFileGetCopyReferenceDetailsSerializer serialize:valueObj.fileGetCopyReferenceDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileGetCopyReferenceDetailsSerializer + serialize:valueObj.fileGetCopyReferenceDetails]]; jsonDict[@".tag"] = @"file_get_copy_reference_details"; + } else if ([valueObj isFileLockingLockStatusChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer + serialize:valueObj.fileLockingLockStatusChangedDetails]]; + jsonDict[@".tag"] = @"file_locking_lock_status_changed_details"; } else if ([valueObj isFileMoveDetails]) { - jsonDict[@"file_move_details"] = - [[DBTEAMLOGFileMoveDetailsSerializer serialize:valueObj.fileMoveDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileMoveDetailsSerializer serialize:valueObj.fileMoveDetails]]; jsonDict[@".tag"] = @"file_move_details"; } else if ([valueObj isFilePermanentlyDeleteDetails]) { - jsonDict[@"file_permanently_delete_details"] = - [[DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:valueObj.filePermanentlyDeleteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePermanentlyDeleteDetailsSerializer + serialize:valueObj.filePermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"file_permanently_delete_details"; } else if ([valueObj isFilePreviewDetails]) { - jsonDict[@"file_preview_details"] = - [[DBTEAMLOGFilePreviewDetailsSerializer serialize:valueObj.filePreviewDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePreviewDetailsSerializer serialize:valueObj.filePreviewDetails]]; jsonDict[@".tag"] = @"file_preview_details"; } else if ([valueObj isFileRenameDetails]) { - jsonDict[@"file_rename_details"] = - [[DBTEAMLOGFileRenameDetailsSerializer serialize:valueObj.fileRenameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRenameDetailsSerializer serialize:valueObj.fileRenameDetails]]; jsonDict[@".tag"] = @"file_rename_details"; } else if ([valueObj isFileRestoreDetails]) { - jsonDict[@"file_restore_details"] = - [[DBTEAMLOGFileRestoreDetailsSerializer serialize:valueObj.fileRestoreDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRestoreDetailsSerializer serialize:valueObj.fileRestoreDetails]]; jsonDict[@".tag"] = @"file_restore_details"; } else if ([valueObj isFileRevertDetails]) { - jsonDict[@"file_revert_details"] = - [[DBTEAMLOGFileRevertDetailsSerializer serialize:valueObj.fileRevertDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRevertDetailsSerializer serialize:valueObj.fileRevertDetails]]; jsonDict[@".tag"] = @"file_revert_details"; } else if ([valueObj isFileRollbackChangesDetails]) { - jsonDict[@"file_rollback_changes_details"] = - [[DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:valueObj.fileRollbackChangesDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRollbackChangesDetailsSerializer + serialize:valueObj.fileRollbackChangesDetails]]; jsonDict[@".tag"] = @"file_rollback_changes_details"; } else if ([valueObj isFileSaveCopyReferenceDetails]) { - jsonDict[@"file_save_copy_reference_details"] = - [[DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:valueObj.fileSaveCopyReferenceDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileSaveCopyReferenceDetailsSerializer + serialize:valueObj.fileSaveCopyReferenceDetails]]; jsonDict[@".tag"] = @"file_save_copy_reference_details"; - } else if ([valueObj isFileRequestAddDeadlineDetails]) { - jsonDict[@"file_request_add_deadline_details"] = [[DBTEAMLOGFileRequestAddDeadlineDetailsSerializer - serialize:valueObj.fileRequestAddDeadlineDetails] mutableCopy]; - jsonDict[@".tag"] = @"file_request_add_deadline_details"; + } else if ([valueObj isFolderOverviewDescriptionChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer + serialize:valueObj.folderOverviewDescriptionChangedDetails]]; + jsonDict[@".tag"] = @"folder_overview_description_changed_details"; + } else if ([valueObj isFolderOverviewItemPinnedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer + serialize:valueObj.folderOverviewItemPinnedDetails]]; + jsonDict[@".tag"] = @"folder_overview_item_pinned_details"; + } else if ([valueObj isFolderOverviewItemUnpinnedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer + serialize:valueObj.folderOverviewItemUnpinnedDetails]]; + jsonDict[@".tag"] = @"folder_overview_item_unpinned_details"; + } else if ([valueObj isObjectLabelAddedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGObjectLabelAddedDetailsSerializer + serialize:valueObj.objectLabelAddedDetails]]; + jsonDict[@".tag"] = @"object_label_added_details"; + } else if ([valueObj isObjectLabelRemovedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGObjectLabelRemovedDetailsSerializer + serialize:valueObj.objectLabelRemovedDetails]]; + jsonDict[@".tag"] = @"object_label_removed_details"; + } else if ([valueObj isObjectLabelUpdatedValueDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer + serialize:valueObj.objectLabelUpdatedValueDetails]]; + jsonDict[@".tag"] = @"object_label_updated_value_details"; + } else if ([valueObj isOrganizeFolderWithTidyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer + serialize:valueObj.organizeFolderWithTidyDetails]]; + jsonDict[@".tag"] = @"organize_folder_with_tidy_details"; + } else if ([valueObj isReplayFileDeleteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileDeleteDetailsSerializer + serialize:valueObj.replayFileDeleteDetails]]; + jsonDict[@".tag"] = @"replay_file_delete_details"; + } else if ([valueObj isRewindFolderDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRewindFolderDetailsSerializer serialize:valueObj.rewindFolderDetails]]; + jsonDict[@".tag"] = @"rewind_folder_details"; + } else if ([valueObj isUndoNamingConventionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGUndoNamingConventionDetailsSerializer + serialize:valueObj.undoNamingConventionDetails]]; + jsonDict[@".tag"] = @"undo_naming_convention_details"; + } else if ([valueObj isUndoOrganizeFolderWithTidyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer + serialize:valueObj.undoOrganizeFolderWithTidyDetails]]; + jsonDict[@".tag"] = @"undo_organize_folder_with_tidy_details"; + } else if ([valueObj isUserTagsAddedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGUserTagsAddedDetailsSerializer serialize:valueObj.userTagsAddedDetails]]; + jsonDict[@".tag"] = @"user_tags_added_details"; + } else if ([valueObj isUserTagsRemovedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGUserTagsRemovedDetailsSerializer serialize:valueObj.userTagsRemovedDetails]]; + jsonDict[@".tag"] = @"user_tags_removed_details"; + } else if ([valueObj isEmailIngestReceiveFileDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmailIngestReceiveFileDetailsSerializer + serialize:valueObj.emailIngestReceiveFileDetails]]; + jsonDict[@".tag"] = @"email_ingest_receive_file_details"; } else if ([valueObj isFileRequestChangeDetails]) { - jsonDict[@"file_request_change_details"] = - [[DBTEAMLOGFileRequestChangeDetailsSerializer serialize:valueObj.fileRequestChangeDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestChangeDetailsSerializer + serialize:valueObj.fileRequestChangeDetails]]; jsonDict[@".tag"] = @"file_request_change_details"; - } else if ([valueObj isFileRequestChangeFolderDetails]) { - jsonDict[@"file_request_change_folder_details"] = [[DBTEAMLOGFileRequestChangeFolderDetailsSerializer - serialize:valueObj.fileRequestChangeFolderDetails] mutableCopy]; - jsonDict[@".tag"] = @"file_request_change_folder_details"; } else if ([valueObj isFileRequestCloseDetails]) { - jsonDict[@"file_request_close_details"] = - [[DBTEAMLOGFileRequestCloseDetailsSerializer serialize:valueObj.fileRequestCloseDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestCloseDetailsSerializer + serialize:valueObj.fileRequestCloseDetails]]; jsonDict[@".tag"] = @"file_request_close_details"; } else if ([valueObj isFileRequestCreateDetails]) { - jsonDict[@"file_request_create_details"] = - [[DBTEAMLOGFileRequestCreateDetailsSerializer serialize:valueObj.fileRequestCreateDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestCreateDetailsSerializer + serialize:valueObj.fileRequestCreateDetails]]; jsonDict[@".tag"] = @"file_request_create_details"; + } else if ([valueObj isFileRequestDeleteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestDeleteDetailsSerializer + serialize:valueObj.fileRequestDeleteDetails]]; + jsonDict[@".tag"] = @"file_request_delete_details"; } else if ([valueObj isFileRequestReceiveFileDetails]) { - jsonDict[@"file_request_receive_file_details"] = [[DBTEAMLOGFileRequestReceiveFileDetailsSerializer - serialize:valueObj.fileRequestReceiveFileDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestReceiveFileDetailsSerializer + serialize:valueObj.fileRequestReceiveFileDetails]]; jsonDict[@".tag"] = @"file_request_receive_file_details"; - } else if ([valueObj isFileRequestRemoveDeadlineDetails]) { - jsonDict[@"file_request_remove_deadline_details"] = [[DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer - serialize:valueObj.fileRequestRemoveDeadlineDetails] mutableCopy]; - jsonDict[@".tag"] = @"file_request_remove_deadline_details"; - } else if ([valueObj isFileRequestSendDetails]) { - jsonDict[@"file_request_send_details"] = - [[DBTEAMLOGFileRequestSendDetailsSerializer serialize:valueObj.fileRequestSendDetails] mutableCopy]; - jsonDict[@".tag"] = @"file_request_send_details"; } else if ([valueObj isGroupAddExternalIdDetails]) { - jsonDict[@"group_add_external_id_details"] = - [[DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:valueObj.groupAddExternalIdDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupAddExternalIdDetailsSerializer + serialize:valueObj.groupAddExternalIdDetails]]; jsonDict[@".tag"] = @"group_add_external_id_details"; } else if ([valueObj isGroupAddMemberDetails]) { - jsonDict[@"group_add_member_details"] = - [[DBTEAMLOGGroupAddMemberDetailsSerializer serialize:valueObj.groupAddMemberDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGGroupAddMemberDetailsSerializer serialize:valueObj.groupAddMemberDetails]]; jsonDict[@".tag"] = @"group_add_member_details"; } else if ([valueObj isGroupChangeExternalIdDetails]) { - jsonDict[@"group_change_external_id_details"] = - [[DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:valueObj.groupChangeExternalIdDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeExternalIdDetailsSerializer + serialize:valueObj.groupChangeExternalIdDetails]]; jsonDict[@".tag"] = @"group_change_external_id_details"; } else if ([valueObj isGroupChangeManagementTypeDetails]) { - jsonDict[@"group_change_management_type_details"] = [[DBTEAMLOGGroupChangeManagementTypeDetailsSerializer - serialize:valueObj.groupChangeManagementTypeDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeManagementTypeDetailsSerializer + serialize:valueObj.groupChangeManagementTypeDetails]]; jsonDict[@".tag"] = @"group_change_management_type_details"; } else if ([valueObj isGroupChangeMemberRoleDetails]) { - jsonDict[@"group_change_member_role_details"] = - [[DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:valueObj.groupChangeMemberRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeMemberRoleDetailsSerializer + serialize:valueObj.groupChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"group_change_member_role_details"; } else if ([valueObj isGroupCreateDetails]) { - jsonDict[@"group_create_details"] = - [[DBTEAMLOGGroupCreateDetailsSerializer serialize:valueObj.groupCreateDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupCreateDetailsSerializer serialize:valueObj.groupCreateDetails]]; jsonDict[@".tag"] = @"group_create_details"; } else if ([valueObj isGroupDeleteDetails]) { - jsonDict[@"group_delete_details"] = - [[DBTEAMLOGGroupDeleteDetailsSerializer serialize:valueObj.groupDeleteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupDeleteDetailsSerializer serialize:valueObj.groupDeleteDetails]]; jsonDict[@".tag"] = @"group_delete_details"; + } else if ([valueObj isGroupDescriptionUpdatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer + serialize:valueObj.groupDescriptionUpdatedDetails]]; + jsonDict[@".tag"] = @"group_description_updated_details"; + } else if ([valueObj isGroupJoinPolicyUpdatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer + serialize:valueObj.groupJoinPolicyUpdatedDetails]]; + jsonDict[@".tag"] = @"group_join_policy_updated_details"; } else if ([valueObj isGroupMovedDetails]) { - jsonDict[@"group_moved_details"] = - [[DBTEAMLOGGroupMovedDetailsSerializer serialize:valueObj.groupMovedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupMovedDetailsSerializer serialize:valueObj.groupMovedDetails]]; jsonDict[@".tag"] = @"group_moved_details"; } else if ([valueObj isGroupRemoveExternalIdDetails]) { - jsonDict[@"group_remove_external_id_details"] = - [[DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:valueObj.groupRemoveExternalIdDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveExternalIdDetailsSerializer + serialize:valueObj.groupRemoveExternalIdDetails]]; jsonDict[@".tag"] = @"group_remove_external_id_details"; } else if ([valueObj isGroupRemoveMemberDetails]) { - jsonDict[@"group_remove_member_details"] = - [[DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:valueObj.groupRemoveMemberDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveMemberDetailsSerializer + serialize:valueObj.groupRemoveMemberDetails]]; jsonDict[@".tag"] = @"group_remove_member_details"; } else if ([valueObj isGroupRenameDetails]) { - jsonDict[@"group_rename_details"] = - [[DBTEAMLOGGroupRenameDetailsSerializer serialize:valueObj.groupRenameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRenameDetailsSerializer serialize:valueObj.groupRenameDetails]]; jsonDict[@".tag"] = @"group_rename_details"; + } else if ([valueObj isAccountLockOrUnlockedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountLockOrUnlockedDetailsSerializer + serialize:valueObj.accountLockOrUnlockedDetails]]; + jsonDict[@".tag"] = @"account_lock_or_unlocked_details"; } else if ([valueObj isEmmErrorDetails]) { - jsonDict[@"emm_error_details"] = - [[DBTEAMLOGEmmErrorDetailsSerializer serialize:valueObj.emmErrorDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmErrorDetailsSerializer serialize:valueObj.emmErrorDetails]]; jsonDict[@".tag"] = @"emm_error_details"; + } else if ([valueObj isGuestAdminSignedInViaTrustedTeamsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer + serialize:valueObj.guestAdminSignedInViaTrustedTeamsDetails]]; + jsonDict[@".tag"] = @"guest_admin_signed_in_via_trusted_teams_details"; + } else if ([valueObj isGuestAdminSignedOutViaTrustedTeamsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer + serialize:valueObj.guestAdminSignedOutViaTrustedTeamsDetails]]; + jsonDict[@".tag"] = @"guest_admin_signed_out_via_trusted_teams_details"; } else if ([valueObj isLoginFailDetails]) { - jsonDict[@"login_fail_details"] = - [[DBTEAMLOGLoginFailDetailsSerializer serialize:valueObj.loginFailDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLoginFailDetailsSerializer serialize:valueObj.loginFailDetails]]; jsonDict[@".tag"] = @"login_fail_details"; } else if ([valueObj isLoginSuccessDetails]) { - jsonDict[@"login_success_details"] = - [[DBTEAMLOGLoginSuccessDetailsSerializer serialize:valueObj.loginSuccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLoginSuccessDetailsSerializer serialize:valueObj.loginSuccessDetails]]; jsonDict[@".tag"] = @"login_success_details"; } else if ([valueObj isLogoutDetails]) { - jsonDict[@"logout_details"] = [[DBTEAMLOGLogoutDetailsSerializer serialize:valueObj.logoutDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLogoutDetailsSerializer serialize:valueObj.logoutDetails]]; jsonDict[@".tag"] = @"logout_details"; } else if ([valueObj isResellerSupportSessionEndDetails]) { - jsonDict[@"reseller_support_session_end_details"] = [[DBTEAMLOGResellerSupportSessionEndDetailsSerializer - serialize:valueObj.resellerSupportSessionEndDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionEndDetailsSerializer + serialize:valueObj.resellerSupportSessionEndDetails]]; jsonDict[@".tag"] = @"reseller_support_session_end_details"; } else if ([valueObj isResellerSupportSessionStartDetails]) { - jsonDict[@"reseller_support_session_start_details"] = [[DBTEAMLOGResellerSupportSessionStartDetailsSerializer - serialize:valueObj.resellerSupportSessionStartDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionStartDetailsSerializer + serialize:valueObj.resellerSupportSessionStartDetails]]; jsonDict[@".tag"] = @"reseller_support_session_start_details"; } else if ([valueObj isSignInAsSessionEndDetails]) { - jsonDict[@"sign_in_as_session_end_details"] = - [[DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:valueObj.signInAsSessionEndDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionEndDetailsSerializer + serialize:valueObj.signInAsSessionEndDetails]]; jsonDict[@".tag"] = @"sign_in_as_session_end_details"; } else if ([valueObj isSignInAsSessionStartDetails]) { - jsonDict[@"sign_in_as_session_start_details"] = - [[DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:valueObj.signInAsSessionStartDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionStartDetailsSerializer + serialize:valueObj.signInAsSessionStartDetails]]; jsonDict[@".tag"] = @"sign_in_as_session_start_details"; } else if ([valueObj isSsoErrorDetails]) { - jsonDict[@"sso_error_details"] = - [[DBTEAMLOGSsoErrorDetailsSerializer serialize:valueObj.ssoErrorDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoErrorDetailsSerializer serialize:valueObj.ssoErrorDetails]]; jsonDict[@".tag"] = @"sso_error_details"; + } else if ([valueObj isBackupAdminInvitationSentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBackupAdminInvitationSentDetailsSerializer + serialize:valueObj.backupAdminInvitationSentDetails]]; + jsonDict[@".tag"] = @"backup_admin_invitation_sent_details"; + } else if ([valueObj isBackupInvitationOpenedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBackupInvitationOpenedDetailsSerializer + serialize:valueObj.backupInvitationOpenedDetails]]; + jsonDict[@".tag"] = @"backup_invitation_opened_details"; + } else if ([valueObj isCreateTeamInviteLinkDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCreateTeamInviteLinkDetailsSerializer + serialize:valueObj.createTeamInviteLinkDetails]]; + jsonDict[@".tag"] = @"create_team_invite_link_details"; + } else if ([valueObj isDeleteTeamInviteLinkDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer + serialize:valueObj.deleteTeamInviteLinkDetails]]; + jsonDict[@".tag"] = @"delete_team_invite_link_details"; + } else if ([valueObj isMemberAddExternalIdDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberAddExternalIdDetailsSerializer + serialize:valueObj.memberAddExternalIdDetails]]; + jsonDict[@".tag"] = @"member_add_external_id_details"; } else if ([valueObj isMemberAddNameDetails]) { - jsonDict[@"member_add_name_details"] = - [[DBTEAMLOGMemberAddNameDetailsSerializer serialize:valueObj.memberAddNameDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGMemberAddNameDetailsSerializer serialize:valueObj.memberAddNameDetails]]; jsonDict[@".tag"] = @"member_add_name_details"; } else if ([valueObj isMemberChangeAdminRoleDetails]) { - jsonDict[@"member_change_admin_role_details"] = - [[DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:valueObj.memberChangeAdminRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeAdminRoleDetailsSerializer + serialize:valueObj.memberChangeAdminRoleDetails]]; jsonDict[@".tag"] = @"member_change_admin_role_details"; } else if ([valueObj isMemberChangeEmailDetails]) { - jsonDict[@"member_change_email_details"] = - [[DBTEAMLOGMemberChangeEmailDetailsSerializer serialize:valueObj.memberChangeEmailDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeEmailDetailsSerializer + serialize:valueObj.memberChangeEmailDetails]]; jsonDict[@".tag"] = @"member_change_email_details"; + } else if ([valueObj isMemberChangeExternalIdDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeExternalIdDetailsSerializer + serialize:valueObj.memberChangeExternalIdDetails]]; + jsonDict[@".tag"] = @"member_change_external_id_details"; + } else if ([valueObj isMemberChangeMembershipTypeDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer + serialize:valueObj.memberChangeMembershipTypeDetails]]; + jsonDict[@".tag"] = @"member_change_membership_type_details"; } else if ([valueObj isMemberChangeNameDetails]) { - jsonDict[@"member_change_name_details"] = - [[DBTEAMLOGMemberChangeNameDetailsSerializer serialize:valueObj.memberChangeNameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeNameDetailsSerializer + serialize:valueObj.memberChangeNameDetails]]; jsonDict[@".tag"] = @"member_change_name_details"; + } else if ([valueObj isMemberChangeResellerRoleDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeResellerRoleDetailsSerializer + serialize:valueObj.memberChangeResellerRoleDetails]]; + jsonDict[@".tag"] = @"member_change_reseller_role_details"; } else if ([valueObj isMemberChangeStatusDetails]) { - jsonDict[@"member_change_status_details"] = - [[DBTEAMLOGMemberChangeStatusDetailsSerializer serialize:valueObj.memberChangeStatusDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeStatusDetailsSerializer + serialize:valueObj.memberChangeStatusDetails]]; jsonDict[@".tag"] = @"member_change_status_details"; + } else if ([valueObj isMemberDeleteManualContactsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberDeleteManualContactsDetailsSerializer + serialize:valueObj.memberDeleteManualContactsDetails]]; + jsonDict[@".tag"] = @"member_delete_manual_contacts_details"; + } else if ([valueObj isMemberDeleteProfilePhotoDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer + serialize:valueObj.memberDeleteProfilePhotoDetails]]; + jsonDict[@".tag"] = @"member_delete_profile_photo_details"; + } else if ([valueObj isMemberPermanentlyDeleteAccountContentsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer + serialize:valueObj.memberPermanentlyDeleteAccountContentsDetails]]; + jsonDict[@".tag"] = @"member_permanently_delete_account_contents_details"; + } else if ([valueObj isMemberRemoveExternalIdDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberRemoveExternalIdDetailsSerializer + serialize:valueObj.memberRemoveExternalIdDetails]]; + jsonDict[@".tag"] = @"member_remove_external_id_details"; + } else if ([valueObj isMemberSetProfilePhotoDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSetProfilePhotoDetailsSerializer + serialize:valueObj.memberSetProfilePhotoDetails]]; + jsonDict[@".tag"] = @"member_set_profile_photo_details"; + } else if ([valueObj isMemberSpaceLimitsAddCustomQuotaDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer + serialize:valueObj.memberSpaceLimitsAddCustomQuotaDetails]]; + jsonDict[@".tag"] = @"member_space_limits_add_custom_quota_details"; + } else if ([valueObj isMemberSpaceLimitsChangeCustomQuotaDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer + serialize:valueObj.memberSpaceLimitsChangeCustomQuotaDetails]]; + jsonDict[@".tag"] = @"member_space_limits_change_custom_quota_details"; + } else if ([valueObj isMemberSpaceLimitsChangeStatusDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer + serialize:valueObj.memberSpaceLimitsChangeStatusDetails]]; + jsonDict[@".tag"] = @"member_space_limits_change_status_details"; + } else if ([valueObj isMemberSpaceLimitsRemoveCustomQuotaDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer + serialize:valueObj.memberSpaceLimitsRemoveCustomQuotaDetails]]; + jsonDict[@".tag"] = @"member_space_limits_remove_custom_quota_details"; } else if ([valueObj isMemberSuggestDetails]) { - jsonDict[@"member_suggest_details"] = - [[DBTEAMLOGMemberSuggestDetailsSerializer serialize:valueObj.memberSuggestDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGMemberSuggestDetailsSerializer serialize:valueObj.memberSuggestDetails]]; jsonDict[@".tag"] = @"member_suggest_details"; + } else if ([valueObj isMemberTransferAccountContentsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberTransferAccountContentsDetailsSerializer + serialize:valueObj.memberTransferAccountContentsDetails]]; + jsonDict[@".tag"] = @"member_transfer_account_contents_details"; + } else if ([valueObj isPendingSecondaryEmailAddedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer + serialize:valueObj.pendingSecondaryEmailAddedDetails]]; + jsonDict[@".tag"] = @"pending_secondary_email_added_details"; + } else if ([valueObj isSecondaryEmailDeletedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryEmailDeletedDetailsSerializer + serialize:valueObj.secondaryEmailDeletedDetails]]; + jsonDict[@".tag"] = @"secondary_email_deleted_details"; + } else if ([valueObj isSecondaryEmailVerifiedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer + serialize:valueObj.secondaryEmailVerifiedDetails]]; + jsonDict[@".tag"] = @"secondary_email_verified_details"; + } else if ([valueObj isSecondaryMailsPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer + serialize:valueObj.secondaryMailsPolicyChangedDetails]]; + jsonDict[@".tag"] = @"secondary_mails_policy_changed_details"; + } else if ([valueObj isBinderAddPageDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGBinderAddPageDetailsSerializer serialize:valueObj.binderAddPageDetails]]; + jsonDict[@".tag"] = @"binder_add_page_details"; + } else if ([valueObj isBinderAddSectionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderAddSectionDetailsSerializer + serialize:valueObj.binderAddSectionDetails]]; + jsonDict[@".tag"] = @"binder_add_section_details"; + } else if ([valueObj isBinderRemovePageDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRemovePageDetailsSerializer + serialize:valueObj.binderRemovePageDetails]]; + jsonDict[@".tag"] = @"binder_remove_page_details"; + } else if ([valueObj isBinderRemoveSectionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRemoveSectionDetailsSerializer + serialize:valueObj.binderRemoveSectionDetails]]; + jsonDict[@".tag"] = @"binder_remove_section_details"; + } else if ([valueObj isBinderRenamePageDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRenamePageDetailsSerializer + serialize:valueObj.binderRenamePageDetails]]; + jsonDict[@".tag"] = @"binder_rename_page_details"; + } else if ([valueObj isBinderRenameSectionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRenameSectionDetailsSerializer + serialize:valueObj.binderRenameSectionDetails]]; + jsonDict[@".tag"] = @"binder_rename_section_details"; + } else if ([valueObj isBinderReorderPageDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderReorderPageDetailsSerializer + serialize:valueObj.binderReorderPageDetails]]; + jsonDict[@".tag"] = @"binder_reorder_page_details"; + } else if ([valueObj isBinderReorderSectionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderReorderSectionDetailsSerializer + serialize:valueObj.binderReorderSectionDetails]]; + jsonDict[@".tag"] = @"binder_reorder_section_details"; } else if ([valueObj isPaperContentAddMemberDetails]) { - jsonDict[@"paper_content_add_member_details"] = - [[DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:valueObj.paperContentAddMemberDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentAddMemberDetailsSerializer + serialize:valueObj.paperContentAddMemberDetails]]; jsonDict[@".tag"] = @"paper_content_add_member_details"; } else if ([valueObj isPaperContentAddToFolderDetails]) { - jsonDict[@"paper_content_add_to_folder_details"] = [[DBTEAMLOGPaperContentAddToFolderDetailsSerializer - serialize:valueObj.paperContentAddToFolderDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentAddToFolderDetailsSerializer + serialize:valueObj.paperContentAddToFolderDetails]]; jsonDict[@".tag"] = @"paper_content_add_to_folder_details"; } else if ([valueObj isPaperContentArchiveDetails]) { - jsonDict[@"paper_content_archive_details"] = - [[DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:valueObj.paperContentArchiveDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentArchiveDetailsSerializer + serialize:valueObj.paperContentArchiveDetails]]; jsonDict[@".tag"] = @"paper_content_archive_details"; } else if ([valueObj isPaperContentCreateDetails]) { - jsonDict[@"paper_content_create_details"] = - [[DBTEAMLOGPaperContentCreateDetailsSerializer serialize:valueObj.paperContentCreateDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentCreateDetailsSerializer + serialize:valueObj.paperContentCreateDetails]]; jsonDict[@".tag"] = @"paper_content_create_details"; } else if ([valueObj isPaperContentPermanentlyDeleteDetails]) { - jsonDict[@"paper_content_permanently_delete_details"] = [[DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer - serialize:valueObj.paperContentPermanentlyDeleteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer + serialize:valueObj.paperContentPermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"paper_content_permanently_delete_details"; } else if ([valueObj isPaperContentRemoveFromFolderDetails]) { - jsonDict[@"paper_content_remove_from_folder_details"] = [[DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer - serialize:valueObj.paperContentRemoveFromFolderDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer + serialize:valueObj.paperContentRemoveFromFolderDetails]]; jsonDict[@".tag"] = @"paper_content_remove_from_folder_details"; } else if ([valueObj isPaperContentRemoveMemberDetails]) { - jsonDict[@"paper_content_remove_member_details"] = [[DBTEAMLOGPaperContentRemoveMemberDetailsSerializer - serialize:valueObj.paperContentRemoveMemberDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveMemberDetailsSerializer + serialize:valueObj.paperContentRemoveMemberDetails]]; jsonDict[@".tag"] = @"paper_content_remove_member_details"; } else if ([valueObj isPaperContentRenameDetails]) { - jsonDict[@"paper_content_rename_details"] = - [[DBTEAMLOGPaperContentRenameDetailsSerializer serialize:valueObj.paperContentRenameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRenameDetailsSerializer + serialize:valueObj.paperContentRenameDetails]]; jsonDict[@".tag"] = @"paper_content_rename_details"; } else if ([valueObj isPaperContentRestoreDetails]) { - jsonDict[@"paper_content_restore_details"] = - [[DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:valueObj.paperContentRestoreDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRestoreDetailsSerializer + serialize:valueObj.paperContentRestoreDetails]]; jsonDict[@".tag"] = @"paper_content_restore_details"; } else if ([valueObj isPaperDocAddCommentDetails]) { - jsonDict[@"paper_doc_add_comment_details"] = - [[DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:valueObj.paperDocAddCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocAddCommentDetailsSerializer + serialize:valueObj.paperDocAddCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_add_comment_details"; } else if ([valueObj isPaperDocChangeMemberRoleDetails]) { - jsonDict[@"paper_doc_change_member_role_details"] = [[DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer - serialize:valueObj.paperDocChangeMemberRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer + serialize:valueObj.paperDocChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"paper_doc_change_member_role_details"; } else if ([valueObj isPaperDocChangeSharingPolicyDetails]) { - jsonDict[@"paper_doc_change_sharing_policy_details"] = [[DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer - serialize:valueObj.paperDocChangeSharingPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer + serialize:valueObj.paperDocChangeSharingPolicyDetails]]; jsonDict[@".tag"] = @"paper_doc_change_sharing_policy_details"; } else if ([valueObj isPaperDocChangeSubscriptionDetails]) { - jsonDict[@"paper_doc_change_subscription_details"] = [[DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer - serialize:valueObj.paperDocChangeSubscriptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer + serialize:valueObj.paperDocChangeSubscriptionDetails]]; jsonDict[@".tag"] = @"paper_doc_change_subscription_details"; } else if ([valueObj isPaperDocDeletedDetails]) { - jsonDict[@"paper_doc_deleted_details"] = - [[DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:valueObj.paperDocDeletedDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:valueObj.paperDocDeletedDetails]]; jsonDict[@".tag"] = @"paper_doc_deleted_details"; } else if ([valueObj isPaperDocDeleteCommentDetails]) { - jsonDict[@"paper_doc_delete_comment_details"] = - [[DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:valueObj.paperDocDeleteCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDeleteCommentDetailsSerializer + serialize:valueObj.paperDocDeleteCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_delete_comment_details"; } else if ([valueObj isPaperDocDownloadDetails]) { - jsonDict[@"paper_doc_download_details"] = - [[DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:valueObj.paperDocDownloadDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDownloadDetailsSerializer + serialize:valueObj.paperDocDownloadDetails]]; jsonDict[@".tag"] = @"paper_doc_download_details"; } else if ([valueObj isPaperDocEditDetails]) { - jsonDict[@"paper_doc_edit_details"] = - [[DBTEAMLOGPaperDocEditDetailsSerializer serialize:valueObj.paperDocEditDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocEditDetailsSerializer serialize:valueObj.paperDocEditDetails]]; jsonDict[@".tag"] = @"paper_doc_edit_details"; } else if ([valueObj isPaperDocEditCommentDetails]) { - jsonDict[@"paper_doc_edit_comment_details"] = - [[DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:valueObj.paperDocEditCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocEditCommentDetailsSerializer + serialize:valueObj.paperDocEditCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_edit_comment_details"; } else if ([valueObj isPaperDocFollowedDetails]) { - jsonDict[@"paper_doc_followed_details"] = - [[DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:valueObj.paperDocFollowedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocFollowedDetailsSerializer + serialize:valueObj.paperDocFollowedDetails]]; jsonDict[@".tag"] = @"paper_doc_followed_details"; } else if ([valueObj isPaperDocMentionDetails]) { - jsonDict[@"paper_doc_mention_details"] = - [[DBTEAMLOGPaperDocMentionDetailsSerializer serialize:valueObj.paperDocMentionDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocMentionDetailsSerializer serialize:valueObj.paperDocMentionDetails]]; jsonDict[@".tag"] = @"paper_doc_mention_details"; + } else if ([valueObj isPaperDocOwnershipChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer + serialize:valueObj.paperDocOwnershipChangedDetails]]; + jsonDict[@".tag"] = @"paper_doc_ownership_changed_details"; } else if ([valueObj isPaperDocRequestAccessDetails]) { - jsonDict[@"paper_doc_request_access_details"] = - [[DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:valueObj.paperDocRequestAccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocRequestAccessDetailsSerializer + serialize:valueObj.paperDocRequestAccessDetails]]; jsonDict[@".tag"] = @"paper_doc_request_access_details"; } else if ([valueObj isPaperDocResolveCommentDetails]) { - jsonDict[@"paper_doc_resolve_comment_details"] = [[DBTEAMLOGPaperDocResolveCommentDetailsSerializer - serialize:valueObj.paperDocResolveCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocResolveCommentDetailsSerializer + serialize:valueObj.paperDocResolveCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_resolve_comment_details"; } else if ([valueObj isPaperDocRevertDetails]) { - jsonDict[@"paper_doc_revert_details"] = - [[DBTEAMLOGPaperDocRevertDetailsSerializer serialize:valueObj.paperDocRevertDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocRevertDetailsSerializer serialize:valueObj.paperDocRevertDetails]]; jsonDict[@".tag"] = @"paper_doc_revert_details"; } else if ([valueObj isPaperDocSlackShareDetails]) { - jsonDict[@"paper_doc_slack_share_details"] = - [[DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:valueObj.paperDocSlackShareDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocSlackShareDetailsSerializer + serialize:valueObj.paperDocSlackShareDetails]]; jsonDict[@".tag"] = @"paper_doc_slack_share_details"; } else if ([valueObj isPaperDocTeamInviteDetails]) { - jsonDict[@"paper_doc_team_invite_details"] = - [[DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:valueObj.paperDocTeamInviteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocTeamInviteDetailsSerializer + serialize:valueObj.paperDocTeamInviteDetails]]; jsonDict[@".tag"] = @"paper_doc_team_invite_details"; } else if ([valueObj isPaperDocTrashedDetails]) { - jsonDict[@"paper_doc_trashed_details"] = - [[DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:valueObj.paperDocTrashedDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:valueObj.paperDocTrashedDetails]]; jsonDict[@".tag"] = @"paper_doc_trashed_details"; } else if ([valueObj isPaperDocUnresolveCommentDetails]) { - jsonDict[@"paper_doc_unresolve_comment_details"] = [[DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer - serialize:valueObj.paperDocUnresolveCommentDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer + serialize:valueObj.paperDocUnresolveCommentDetails]]; jsonDict[@".tag"] = @"paper_doc_unresolve_comment_details"; } else if ([valueObj isPaperDocUntrashedDetails]) { - jsonDict[@"paper_doc_untrashed_details"] = - [[DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:valueObj.paperDocUntrashedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUntrashedDetailsSerializer + serialize:valueObj.paperDocUntrashedDetails]]; jsonDict[@".tag"] = @"paper_doc_untrashed_details"; } else if ([valueObj isPaperDocViewDetails]) { - jsonDict[@"paper_doc_view_details"] = - [[DBTEAMLOGPaperDocViewDetailsSerializer serialize:valueObj.paperDocViewDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocViewDetailsSerializer serialize:valueObj.paperDocViewDetails]]; jsonDict[@".tag"] = @"paper_doc_view_details"; + } else if ([valueObj isPaperExternalViewAllowDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewAllowDetailsSerializer + serialize:valueObj.paperExternalViewAllowDetails]]; + jsonDict[@".tag"] = @"paper_external_view_allow_details"; + } else if ([valueObj isPaperExternalViewDefaultTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer + serialize:valueObj.paperExternalViewDefaultTeamDetails]]; + jsonDict[@".tag"] = @"paper_external_view_default_team_details"; + } else if ([valueObj isPaperExternalViewForbidDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewForbidDetailsSerializer + serialize:valueObj.paperExternalViewForbidDetails]]; + jsonDict[@".tag"] = @"paper_external_view_forbid_details"; } else if ([valueObj isPaperFolderChangeSubscriptionDetails]) { - jsonDict[@"paper_folder_change_subscription_details"] = [[DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer - serialize:valueObj.paperFolderChangeSubscriptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer + serialize:valueObj.paperFolderChangeSubscriptionDetails]]; jsonDict[@".tag"] = @"paper_folder_change_subscription_details"; } else if ([valueObj isPaperFolderDeletedDetails]) { - jsonDict[@"paper_folder_deleted_details"] = - [[DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:valueObj.paperFolderDeletedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderDeletedDetailsSerializer + serialize:valueObj.paperFolderDeletedDetails]]; jsonDict[@".tag"] = @"paper_folder_deleted_details"; } else if ([valueObj isPaperFolderFollowedDetails]) { - jsonDict[@"paper_folder_followed_details"] = - [[DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:valueObj.paperFolderFollowedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderFollowedDetailsSerializer + serialize:valueObj.paperFolderFollowedDetails]]; jsonDict[@".tag"] = @"paper_folder_followed_details"; } else if ([valueObj isPaperFolderTeamInviteDetails]) { - jsonDict[@"paper_folder_team_invite_details"] = - [[DBTEAMLOGPaperFolderTeamInviteDetailsSerializer serialize:valueObj.paperFolderTeamInviteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderTeamInviteDetailsSerializer + serialize:valueObj.paperFolderTeamInviteDetails]]; jsonDict[@".tag"] = @"paper_folder_team_invite_details"; + } else if ([valueObj isPaperPublishedLinkChangePermissionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer + serialize:valueObj.paperPublishedLinkChangePermissionDetails]]; + jsonDict[@".tag"] = @"paper_published_link_change_permission_details"; + } else if ([valueObj isPaperPublishedLinkCreateDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer + serialize:valueObj.paperPublishedLinkCreateDetails]]; + jsonDict[@".tag"] = @"paper_published_link_create_details"; + } else if ([valueObj isPaperPublishedLinkDisabledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer + serialize:valueObj.paperPublishedLinkDisabledDetails]]; + jsonDict[@".tag"] = @"paper_published_link_disabled_details"; + } else if ([valueObj isPaperPublishedLinkViewDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkViewDetailsSerializer + serialize:valueObj.paperPublishedLinkViewDetails]]; + jsonDict[@".tag"] = @"paper_published_link_view_details"; } else if ([valueObj isPasswordChangeDetails]) { - jsonDict[@"password_change_details"] = - [[DBTEAMLOGPasswordChangeDetailsSerializer serialize:valueObj.passwordChangeDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPasswordChangeDetailsSerializer serialize:valueObj.passwordChangeDetails]]; jsonDict[@".tag"] = @"password_change_details"; } else if ([valueObj isPasswordResetDetails]) { - jsonDict[@"password_reset_details"] = - [[DBTEAMLOGPasswordResetDetailsSerializer serialize:valueObj.passwordResetDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPasswordResetDetailsSerializer serialize:valueObj.passwordResetDetails]]; jsonDict[@".tag"] = @"password_reset_details"; } else if ([valueObj isPasswordResetAllDetails]) { - jsonDict[@"password_reset_all_details"] = - [[DBTEAMLOGPasswordResetAllDetailsSerializer serialize:valueObj.passwordResetAllDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordResetAllDetailsSerializer + serialize:valueObj.passwordResetAllDetails]]; jsonDict[@".tag"] = @"password_reset_all_details"; + } else if ([valueObj isClassificationCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationCreateReportDetailsSerializer + serialize:valueObj.classificationCreateReportDetails]]; + jsonDict[@".tag"] = @"classification_create_report_details"; + } else if ([valueObj isClassificationCreateReportFailDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationCreateReportFailDetailsSerializer + serialize:valueObj.classificationCreateReportFailDetails]]; + jsonDict[@".tag"] = @"classification_create_report_fail_details"; } else if ([valueObj isEmmCreateExceptionsReportDetails]) { - jsonDict[@"emm_create_exceptions_report_details"] = [[DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer - serialize:valueObj.emmCreateExceptionsReportDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer + serialize:valueObj.emmCreateExceptionsReportDetails]]; jsonDict[@".tag"] = @"emm_create_exceptions_report_details"; } else if ([valueObj isEmmCreateUsageReportDetails]) { - jsonDict[@"emm_create_usage_report_details"] = - [[DBTEAMLOGEmmCreateUsageReportDetailsSerializer serialize:valueObj.emmCreateUsageReportDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmCreateUsageReportDetailsSerializer + serialize:valueObj.emmCreateUsageReportDetails]]; jsonDict[@".tag"] = @"emm_create_usage_report_details"; + } else if ([valueObj isExportMembersReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExportMembersReportDetailsSerializer + serialize:valueObj.exportMembersReportDetails]]; + jsonDict[@".tag"] = @"export_members_report_details"; + } else if ([valueObj isExportMembersReportFailDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExportMembersReportFailDetailsSerializer + serialize:valueObj.exportMembersReportFailDetails]]; + jsonDict[@".tag"] = @"export_members_report_fail_details"; + } else if ([valueObj isExternalSharingCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalSharingCreateReportDetailsSerializer + serialize:valueObj.externalSharingCreateReportDetails]]; + jsonDict[@".tag"] = @"external_sharing_create_report_details"; + } else if ([valueObj isExternalSharingReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalSharingReportFailedDetailsSerializer + serialize:valueObj.externalSharingReportFailedDetails]]; + jsonDict[@".tag"] = @"external_sharing_report_failed_details"; + } else if ([valueObj isNoExpirationLinkGenCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer + serialize:valueObj.noExpirationLinkGenCreateReportDetails]]; + jsonDict[@".tag"] = @"no_expiration_link_gen_create_report_details"; + } else if ([valueObj isNoExpirationLinkGenReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer + serialize:valueObj.noExpirationLinkGenReportFailedDetails]]; + jsonDict[@".tag"] = @"no_expiration_link_gen_report_failed_details"; + } else if ([valueObj isNoPasswordLinkGenCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer + serialize:valueObj.noPasswordLinkGenCreateReportDetails]]; + jsonDict[@".tag"] = @"no_password_link_gen_create_report_details"; + } else if ([valueObj isNoPasswordLinkGenReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer + serialize:valueObj.noPasswordLinkGenReportFailedDetails]]; + jsonDict[@".tag"] = @"no_password_link_gen_report_failed_details"; + } else if ([valueObj isNoPasswordLinkViewCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer + serialize:valueObj.noPasswordLinkViewCreateReportDetails]]; + jsonDict[@".tag"] = @"no_password_link_view_create_report_details"; + } else if ([valueObj isNoPasswordLinkViewReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer + serialize:valueObj.noPasswordLinkViewReportFailedDetails]]; + jsonDict[@".tag"] = @"no_password_link_view_report_failed_details"; + } else if ([valueObj isOutdatedLinkViewCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer + serialize:valueObj.outdatedLinkViewCreateReportDetails]]; + jsonDict[@".tag"] = @"outdated_link_view_create_report_details"; + } else if ([valueObj isOutdatedLinkViewReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer + serialize:valueObj.outdatedLinkViewReportFailedDetails]]; + jsonDict[@".tag"] = @"outdated_link_view_report_failed_details"; + } else if ([valueObj isPaperAdminExportStartDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperAdminExportStartDetailsSerializer + serialize:valueObj.paperAdminExportStartDetails]]; + jsonDict[@".tag"] = @"paper_admin_export_start_details"; + } else if ([valueObj isRansomwareAlertCreateReportDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer + serialize:valueObj.ransomwareAlertCreateReportDetails]]; + jsonDict[@".tag"] = @"ransomware_alert_create_report_details"; + } else if ([valueObj isRansomwareAlertCreateReportFailedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer + serialize:valueObj.ransomwareAlertCreateReportFailedDetails]]; + jsonDict[@".tag"] = @"ransomware_alert_create_report_failed_details"; } else if ([valueObj isSmartSyncCreateAdminPrivilegeReportDetails]) { - jsonDict[@"smart_sync_create_admin_privilege_report_details"] = - [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer - serialize:valueObj.smartSyncCreateAdminPrivilegeReportDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer + serialize:valueObj.smartSyncCreateAdminPrivilegeReportDetails]]; jsonDict[@".tag"] = @"smart_sync_create_admin_privilege_report_details"; } else if ([valueObj isTeamActivityCreateReportDetails]) { - jsonDict[@"team_activity_create_report_details"] = [[DBTEAMLOGTeamActivityCreateReportDetailsSerializer - serialize:valueObj.teamActivityCreateReportDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamActivityCreateReportDetailsSerializer + serialize:valueObj.teamActivityCreateReportDetails]]; jsonDict[@".tag"] = @"team_activity_create_report_details"; + } else if ([valueObj isTeamActivityCreateReportFailDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer + serialize:valueObj.teamActivityCreateReportFailDetails]]; + jsonDict[@".tag"] = @"team_activity_create_report_fail_details"; } else if ([valueObj isCollectionShareDetails]) { - jsonDict[@"collection_share_details"] = - [[DBTEAMLOGCollectionShareDetailsSerializer serialize:valueObj.collectionShareDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGCollectionShareDetailsSerializer serialize:valueObj.collectionShareDetails]]; jsonDict[@".tag"] = @"collection_share_details"; + } else if ([valueObj isFileTransfersFileAddDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersFileAddDetailsSerializer + serialize:valueObj.fileTransfersFileAddDetails]]; + jsonDict[@".tag"] = @"file_transfers_file_add_details"; + } else if ([valueObj isFileTransfersTransferDeleteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer + serialize:valueObj.fileTransfersTransferDeleteDetails]]; + jsonDict[@".tag"] = @"file_transfers_transfer_delete_details"; + } else if ([valueObj isFileTransfersTransferDownloadDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer + serialize:valueObj.fileTransfersTransferDownloadDetails]]; + jsonDict[@".tag"] = @"file_transfers_transfer_download_details"; + } else if ([valueObj isFileTransfersTransferSendDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferSendDetailsSerializer + serialize:valueObj.fileTransfersTransferSendDetails]]; + jsonDict[@".tag"] = @"file_transfers_transfer_send_details"; + } else if ([valueObj isFileTransfersTransferViewDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferViewDetailsSerializer + serialize:valueObj.fileTransfersTransferViewDetails]]; + jsonDict[@".tag"] = @"file_transfers_transfer_view_details"; } else if ([valueObj isNoteAclInviteOnlyDetails]) { - jsonDict[@"note_acl_invite_only_details"] = - [[DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:valueObj.noteAclInviteOnlyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclInviteOnlyDetailsSerializer + serialize:valueObj.noteAclInviteOnlyDetails]]; jsonDict[@".tag"] = @"note_acl_invite_only_details"; } else if ([valueObj isNoteAclLinkDetails]) { - jsonDict[@"note_acl_link_details"] = - [[DBTEAMLOGNoteAclLinkDetailsSerializer serialize:valueObj.noteAclLinkDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclLinkDetailsSerializer serialize:valueObj.noteAclLinkDetails]]; jsonDict[@".tag"] = @"note_acl_link_details"; } else if ([valueObj isNoteAclTeamLinkDetails]) { - jsonDict[@"note_acl_team_link_details"] = - [[DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:valueObj.noteAclTeamLinkDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:valueObj.noteAclTeamLinkDetails]]; jsonDict[@".tag"] = @"note_acl_team_link_details"; } else if ([valueObj isNoteSharedDetails]) { - jsonDict[@"note_shared_details"] = - [[DBTEAMLOGNoteSharedDetailsSerializer serialize:valueObj.noteSharedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteSharedDetailsSerializer serialize:valueObj.noteSharedDetails]]; jsonDict[@".tag"] = @"note_shared_details"; } else if ([valueObj isNoteShareReceiveDetails]) { - jsonDict[@"note_share_receive_details"] = - [[DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:valueObj.noteShareReceiveDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteShareReceiveDetailsSerializer + serialize:valueObj.noteShareReceiveDetails]]; jsonDict[@".tag"] = @"note_share_receive_details"; } else if ([valueObj isOpenNoteSharedDetails]) { - jsonDict[@"open_note_shared_details"] = - [[DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:valueObj.openNoteSharedDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:valueObj.openNoteSharedDetails]]; jsonDict[@".tag"] = @"open_note_shared_details"; + } else if ([valueObj isReplayFileSharedLinkCreatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer + serialize:valueObj.replayFileSharedLinkCreatedDetails]]; + jsonDict[@".tag"] = @"replay_file_shared_link_created_details"; + } else if ([valueObj isReplayFileSharedLinkModifiedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer + serialize:valueObj.replayFileSharedLinkModifiedDetails]]; + jsonDict[@".tag"] = @"replay_file_shared_link_modified_details"; + } else if ([valueObj isReplayProjectTeamAddDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayProjectTeamAddDetailsSerializer + serialize:valueObj.replayProjectTeamAddDetails]]; + jsonDict[@".tag"] = @"replay_project_team_add_details"; + } else if ([valueObj isReplayProjectTeamDeleteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer + serialize:valueObj.replayProjectTeamDeleteDetails]]; + jsonDict[@".tag"] = @"replay_project_team_delete_details"; } else if ([valueObj isSfAddGroupDetails]) { - jsonDict[@"sf_add_group_details"] = - [[DBTEAMLOGSfAddGroupDetailsSerializer serialize:valueObj.sfAddGroupDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfAddGroupDetailsSerializer serialize:valueObj.sfAddGroupDetails]]; jsonDict[@".tag"] = @"sf_add_group_details"; } else if ([valueObj isSfAllowNonMembersToViewSharedLinksDetails]) { - jsonDict[@"sf_allow_non_members_to_view_shared_links_details"] = - [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer - serialize:valueObj.sfAllowNonMembersToViewSharedLinksDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer + serialize:valueObj.sfAllowNonMembersToViewSharedLinksDetails]]; jsonDict[@".tag"] = @"sf_allow_non_members_to_view_shared_links_details"; + } else if ([valueObj isSfExternalInviteWarnDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfExternalInviteWarnDetailsSerializer + serialize:valueObj.sfExternalInviteWarnDetails]]; + jsonDict[@".tag"] = @"sf_external_invite_warn_details"; + } else if ([valueObj isSfFbInviteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfFbInviteDetailsSerializer serialize:valueObj.sfFbInviteDetails]]; + jsonDict[@".tag"] = @"sf_fb_invite_details"; + } else if ([valueObj isSfFbInviteChangeRoleDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer + serialize:valueObj.sfFbInviteChangeRoleDetails]]; + jsonDict[@".tag"] = @"sf_fb_invite_change_role_details"; + } else if ([valueObj isSfFbUninviteDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfFbUninviteDetailsSerializer serialize:valueObj.sfFbUninviteDetails]]; + jsonDict[@".tag"] = @"sf_fb_uninvite_details"; } else if ([valueObj isSfInviteGroupDetails]) { - jsonDict[@"sf_invite_group_details"] = - [[DBTEAMLOGSfInviteGroupDetailsSerializer serialize:valueObj.sfInviteGroupDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSfInviteGroupDetailsSerializer serialize:valueObj.sfInviteGroupDetails]]; jsonDict[@".tag"] = @"sf_invite_group_details"; - } else if ([valueObj isSfNestDetails]) { - jsonDict[@"sf_nest_details"] = [[DBTEAMLOGSfNestDetailsSerializer serialize:valueObj.sfNestDetails] mutableCopy]; - jsonDict[@".tag"] = @"sf_nest_details"; - } else if ([valueObj isSfTeamDeclineDetails]) { - jsonDict[@"sf_team_decline_details"] = - [[DBTEAMLOGSfTeamDeclineDetailsSerializer serialize:valueObj.sfTeamDeclineDetails] mutableCopy]; - jsonDict[@".tag"] = @"sf_team_decline_details"; } else if ([valueObj isSfTeamGrantAccessDetails]) { - jsonDict[@"sf_team_grant_access_details"] = - [[DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:valueObj.sfTeamGrantAccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamGrantAccessDetailsSerializer + serialize:valueObj.sfTeamGrantAccessDetails]]; jsonDict[@".tag"] = @"sf_team_grant_access_details"; } else if ([valueObj isSfTeamInviteDetails]) { - jsonDict[@"sf_team_invite_details"] = - [[DBTEAMLOGSfTeamInviteDetailsSerializer serialize:valueObj.sfTeamInviteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteDetailsSerializer serialize:valueObj.sfTeamInviteDetails]]; jsonDict[@".tag"] = @"sf_team_invite_details"; } else if ([valueObj isSfTeamInviteChangeRoleDetails]) { - jsonDict[@"sf_team_invite_change_role_details"] = [[DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer - serialize:valueObj.sfTeamInviteChangeRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer + serialize:valueObj.sfTeamInviteChangeRoleDetails]]; jsonDict[@".tag"] = @"sf_team_invite_change_role_details"; } else if ([valueObj isSfTeamJoinDetails]) { - jsonDict[@"sf_team_join_details"] = - [[DBTEAMLOGSfTeamJoinDetailsSerializer serialize:valueObj.sfTeamJoinDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinDetailsSerializer serialize:valueObj.sfTeamJoinDetails]]; jsonDict[@".tag"] = @"sf_team_join_details"; } else if ([valueObj isSfTeamJoinFromOobLinkDetails]) { - jsonDict[@"sf_team_join_from_oob_link_details"] = - [[DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:valueObj.sfTeamJoinFromOobLinkDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer + serialize:valueObj.sfTeamJoinFromOobLinkDetails]]; jsonDict[@".tag"] = @"sf_team_join_from_oob_link_details"; } else if ([valueObj isSfTeamUninviteDetails]) { - jsonDict[@"sf_team_uninvite_details"] = - [[DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:valueObj.sfTeamUninviteDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:valueObj.sfTeamUninviteDetails]]; jsonDict[@".tag"] = @"sf_team_uninvite_details"; } else if ([valueObj isSharedContentAddInviteesDetails]) { - jsonDict[@"shared_content_add_invitees_details"] = [[DBTEAMLOGSharedContentAddInviteesDetailsSerializer - serialize:valueObj.sharedContentAddInviteesDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddInviteesDetailsSerializer + serialize:valueObj.sharedContentAddInviteesDetails]]; jsonDict[@".tag"] = @"shared_content_add_invitees_details"; } else if ([valueObj isSharedContentAddLinkExpiryDetails]) { - jsonDict[@"shared_content_add_link_expiry_details"] = [[DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer - serialize:valueObj.sharedContentAddLinkExpiryDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer + serialize:valueObj.sharedContentAddLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_add_link_expiry_details"; } else if ([valueObj isSharedContentAddLinkPasswordDetails]) { - jsonDict[@"shared_content_add_link_password_details"] = [[DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer - serialize:valueObj.sharedContentAddLinkPasswordDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer + serialize:valueObj.sharedContentAddLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_add_link_password_details"; } else if ([valueObj isSharedContentAddMemberDetails]) { - jsonDict[@"shared_content_add_member_details"] = [[DBTEAMLOGSharedContentAddMemberDetailsSerializer - serialize:valueObj.sharedContentAddMemberDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddMemberDetailsSerializer + serialize:valueObj.sharedContentAddMemberDetails]]; jsonDict[@".tag"] = @"shared_content_add_member_details"; } else if ([valueObj isSharedContentChangeDownloadsPolicyDetails]) { - jsonDict[@"shared_content_change_downloads_policy_details"] = - [[DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer - serialize:valueObj.sharedContentChangeDownloadsPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer + serialize:valueObj.sharedContentChangeDownloadsPolicyDetails]]; jsonDict[@".tag"] = @"shared_content_change_downloads_policy_details"; } else if ([valueObj isSharedContentChangeInviteeRoleDetails]) { - jsonDict[@"shared_content_change_invitee_role_details"] = [[DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer - serialize:valueObj.sharedContentChangeInviteeRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer + serialize:valueObj.sharedContentChangeInviteeRoleDetails]]; jsonDict[@".tag"] = @"shared_content_change_invitee_role_details"; } else if ([valueObj isSharedContentChangeLinkAudienceDetails]) { - jsonDict[@"shared_content_change_link_audience_details"] = - [[DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer - serialize:valueObj.sharedContentChangeLinkAudienceDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer + serialize:valueObj.sharedContentChangeLinkAudienceDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_audience_details"; } else if ([valueObj isSharedContentChangeLinkExpiryDetails]) { - jsonDict[@"shared_content_change_link_expiry_details"] = [[DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer - serialize:valueObj.sharedContentChangeLinkExpiryDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer + serialize:valueObj.sharedContentChangeLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_expiry_details"; } else if ([valueObj isSharedContentChangeLinkPasswordDetails]) { - jsonDict[@"shared_content_change_link_password_details"] = - [[DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer - serialize:valueObj.sharedContentChangeLinkPasswordDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer + serialize:valueObj.sharedContentChangeLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_change_link_password_details"; } else if ([valueObj isSharedContentChangeMemberRoleDetails]) { - jsonDict[@"shared_content_change_member_role_details"] = [[DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer - serialize:valueObj.sharedContentChangeMemberRoleDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer + serialize:valueObj.sharedContentChangeMemberRoleDetails]]; jsonDict[@".tag"] = @"shared_content_change_member_role_details"; } else if ([valueObj isSharedContentChangeViewerInfoPolicyDetails]) { - jsonDict[@"shared_content_change_viewer_info_policy_details"] = - [[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer - serialize:valueObj.sharedContentChangeViewerInfoPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer + serialize:valueObj.sharedContentChangeViewerInfoPolicyDetails]]; jsonDict[@".tag"] = @"shared_content_change_viewer_info_policy_details"; } else if ([valueObj isSharedContentClaimInvitationDetails]) { - jsonDict[@"shared_content_claim_invitation_details"] = [[DBTEAMLOGSharedContentClaimInvitationDetailsSerializer - serialize:valueObj.sharedContentClaimInvitationDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentClaimInvitationDetailsSerializer + serialize:valueObj.sharedContentClaimInvitationDetails]]; jsonDict[@".tag"] = @"shared_content_claim_invitation_details"; } else if ([valueObj isSharedContentCopyDetails]) { - jsonDict[@"shared_content_copy_details"] = - [[DBTEAMLOGSharedContentCopyDetailsSerializer serialize:valueObj.sharedContentCopyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentCopyDetailsSerializer + serialize:valueObj.sharedContentCopyDetails]]; jsonDict[@".tag"] = @"shared_content_copy_details"; } else if ([valueObj isSharedContentDownloadDetails]) { - jsonDict[@"shared_content_download_details"] = - [[DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:valueObj.sharedContentDownloadDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentDownloadDetailsSerializer + serialize:valueObj.sharedContentDownloadDetails]]; jsonDict[@".tag"] = @"shared_content_download_details"; } else if ([valueObj isSharedContentRelinquishMembershipDetails]) { - jsonDict[@"shared_content_relinquish_membership_details"] = - [[DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer - serialize:valueObj.sharedContentRelinquishMembershipDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer + serialize:valueObj.sharedContentRelinquishMembershipDetails]]; jsonDict[@".tag"] = @"shared_content_relinquish_membership_details"; - } else if ([valueObj isSharedContentRemoveInviteeDetails]) { - jsonDict[@"shared_content_remove_invitee_details"] = [[DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer - serialize:valueObj.sharedContentRemoveInviteeDetails] mutableCopy]; - jsonDict[@".tag"] = @"shared_content_remove_invitee_details"; + } else if ([valueObj isSharedContentRemoveInviteesDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer + serialize:valueObj.sharedContentRemoveInviteesDetails]]; + jsonDict[@".tag"] = @"shared_content_remove_invitees_details"; } else if ([valueObj isSharedContentRemoveLinkExpiryDetails]) { - jsonDict[@"shared_content_remove_link_expiry_details"] = [[DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer - serialize:valueObj.sharedContentRemoveLinkExpiryDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer + serialize:valueObj.sharedContentRemoveLinkExpiryDetails]]; jsonDict[@".tag"] = @"shared_content_remove_link_expiry_details"; } else if ([valueObj isSharedContentRemoveLinkPasswordDetails]) { - jsonDict[@"shared_content_remove_link_password_details"] = - [[DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer - serialize:valueObj.sharedContentRemoveLinkPasswordDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer + serialize:valueObj.sharedContentRemoveLinkPasswordDetails]]; jsonDict[@".tag"] = @"shared_content_remove_link_password_details"; } else if ([valueObj isSharedContentRemoveMemberDetails]) { - jsonDict[@"shared_content_remove_member_details"] = [[DBTEAMLOGSharedContentRemoveMemberDetailsSerializer - serialize:valueObj.sharedContentRemoveMemberDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveMemberDetailsSerializer + serialize:valueObj.sharedContentRemoveMemberDetails]]; jsonDict[@".tag"] = @"shared_content_remove_member_details"; } else if ([valueObj isSharedContentRequestAccessDetails]) { - jsonDict[@"shared_content_request_access_details"] = [[DBTEAMLOGSharedContentRequestAccessDetailsSerializer - serialize:valueObj.sharedContentRequestAccessDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRequestAccessDetailsSerializer + serialize:valueObj.sharedContentRequestAccessDetails]]; jsonDict[@".tag"] = @"shared_content_request_access_details"; + } else if ([valueObj isSharedContentRestoreInviteesDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer + serialize:valueObj.sharedContentRestoreInviteesDetails]]; + jsonDict[@".tag"] = @"shared_content_restore_invitees_details"; + } else if ([valueObj isSharedContentRestoreMemberDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRestoreMemberDetailsSerializer + serialize:valueObj.sharedContentRestoreMemberDetails]]; + jsonDict[@".tag"] = @"shared_content_restore_member_details"; } else if ([valueObj isSharedContentUnshareDetails]) { - jsonDict[@"shared_content_unshare_details"] = - [[DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:valueObj.sharedContentUnshareDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentUnshareDetailsSerializer + serialize:valueObj.sharedContentUnshareDetails]]; jsonDict[@".tag"] = @"shared_content_unshare_details"; } else if ([valueObj isSharedContentViewDetails]) { - jsonDict[@"shared_content_view_details"] = - [[DBTEAMLOGSharedContentViewDetailsSerializer serialize:valueObj.sharedContentViewDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentViewDetailsSerializer + serialize:valueObj.sharedContentViewDetails]]; jsonDict[@".tag"] = @"shared_content_view_details"; - } else if ([valueObj isSharedFolderChangeConfidentialityDetails]) { - jsonDict[@"shared_folder_change_confidentiality_details"] = - [[DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer - serialize:valueObj.sharedFolderChangeConfidentialityDetails] mutableCopy]; - jsonDict[@".tag"] = @"shared_folder_change_confidentiality_details"; } else if ([valueObj isSharedFolderChangeLinkPolicyDetails]) { - jsonDict[@"shared_folder_change_link_policy_details"] = [[DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer - serialize:valueObj.sharedFolderChangeLinkPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer + serialize:valueObj.sharedFolderChangeLinkPolicyDetails]]; jsonDict[@".tag"] = @"shared_folder_change_link_policy_details"; - } else if ([valueObj isSharedFolderChangeMemberManagementPolicyDetails]) { - jsonDict[@"shared_folder_change_member_management_policy_details"] = - [[DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer - serialize:valueObj.sharedFolderChangeMemberManagementPolicyDetails] mutableCopy]; - jsonDict[@".tag"] = @"shared_folder_change_member_management_policy_details"; - } else if ([valueObj isSharedFolderChangeMemberPolicyDetails]) { - jsonDict[@"shared_folder_change_member_policy_details"] = [[DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer - serialize:valueObj.sharedFolderChangeMemberPolicyDetails] mutableCopy]; - jsonDict[@".tag"] = @"shared_folder_change_member_policy_details"; + } else if ([valueObj isSharedFolderChangeMembersInheritancePolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer + serialize:valueObj.sharedFolderChangeMembersInheritancePolicyDetails]]; + jsonDict[@".tag"] = @"shared_folder_change_members_inheritance_policy_details"; + } else if ([valueObj isSharedFolderChangeMembersManagementPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer + serialize:valueObj.sharedFolderChangeMembersManagementPolicyDetails]]; + jsonDict[@".tag"] = @"shared_folder_change_members_management_policy_details"; + } else if ([valueObj isSharedFolderChangeMembersPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer + serialize:valueObj.sharedFolderChangeMembersPolicyDetails]]; + jsonDict[@".tag"] = @"shared_folder_change_members_policy_details"; } else if ([valueObj isSharedFolderCreateDetails]) { - jsonDict[@"shared_folder_create_details"] = - [[DBTEAMLOGSharedFolderCreateDetailsSerializer serialize:valueObj.sharedFolderCreateDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderCreateDetailsSerializer + serialize:valueObj.sharedFolderCreateDetails]]; jsonDict[@".tag"] = @"shared_folder_create_details"; + } else if ([valueObj isSharedFolderDeclineInvitationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer + serialize:valueObj.sharedFolderDeclineInvitationDetails]]; + jsonDict[@".tag"] = @"shared_folder_decline_invitation_details"; } else if ([valueObj isSharedFolderMountDetails]) { - jsonDict[@"shared_folder_mount_details"] = - [[DBTEAMLOGSharedFolderMountDetailsSerializer serialize:valueObj.sharedFolderMountDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderMountDetailsSerializer + serialize:valueObj.sharedFolderMountDetails]]; jsonDict[@".tag"] = @"shared_folder_mount_details"; + } else if ([valueObj isSharedFolderNestDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderNestDetailsSerializer + serialize:valueObj.sharedFolderNestDetails]]; + jsonDict[@".tag"] = @"shared_folder_nest_details"; } else if ([valueObj isSharedFolderTransferOwnershipDetails]) { - jsonDict[@"shared_folder_transfer_ownership_details"] = [[DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer - serialize:valueObj.sharedFolderTransferOwnershipDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer + serialize:valueObj.sharedFolderTransferOwnershipDetails]]; jsonDict[@".tag"] = @"shared_folder_transfer_ownership_details"; } else if ([valueObj isSharedFolderUnmountDetails]) { - jsonDict[@"shared_folder_unmount_details"] = - [[DBTEAMLOGSharedFolderUnmountDetailsSerializer serialize:valueObj.sharedFolderUnmountDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderUnmountDetailsSerializer + serialize:valueObj.sharedFolderUnmountDetails]]; jsonDict[@".tag"] = @"shared_folder_unmount_details"; + } else if ([valueObj isSharedLinkAddExpiryDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkAddExpiryDetailsSerializer + serialize:valueObj.sharedLinkAddExpiryDetails]]; + jsonDict[@".tag"] = @"shared_link_add_expiry_details"; + } else if ([valueObj isSharedLinkChangeExpiryDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer + serialize:valueObj.sharedLinkChangeExpiryDetails]]; + jsonDict[@".tag"] = @"shared_link_change_expiry_details"; + } else if ([valueObj isSharedLinkChangeVisibilityDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer + serialize:valueObj.sharedLinkChangeVisibilityDetails]]; + jsonDict[@".tag"] = @"shared_link_change_visibility_details"; + } else if ([valueObj isSharedLinkCopyDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedLinkCopyDetailsSerializer serialize:valueObj.sharedLinkCopyDetails]]; + jsonDict[@".tag"] = @"shared_link_copy_details"; + } else if ([valueObj isSharedLinkCreateDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkCreateDetailsSerializer + serialize:valueObj.sharedLinkCreateDetails]]; + jsonDict[@".tag"] = @"shared_link_create_details"; + } else if ([valueObj isSharedLinkDisableDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkDisableDetailsSerializer + serialize:valueObj.sharedLinkDisableDetails]]; + jsonDict[@".tag"] = @"shared_link_disable_details"; + } else if ([valueObj isSharedLinkDownloadDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkDownloadDetailsSerializer + serialize:valueObj.sharedLinkDownloadDetails]]; + jsonDict[@".tag"] = @"shared_link_download_details"; + } else if ([valueObj isSharedLinkRemoveExpiryDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer + serialize:valueObj.sharedLinkRemoveExpiryDetails]]; + jsonDict[@".tag"] = @"shared_link_remove_expiry_details"; + } else if ([valueObj isSharedLinkSettingsAddExpirationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer + serialize:valueObj.sharedLinkSettingsAddExpirationDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_add_expiration_details"; + } else if ([valueObj isSharedLinkSettingsAddPasswordDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer + serialize:valueObj.sharedLinkSettingsAddPasswordDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_add_password_details"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadDisabledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer + serialize:valueObj.sharedLinkSettingsAllowDownloadDisabledDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_allow_download_disabled_details"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadEnabledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer + serialize:valueObj.sharedLinkSettingsAllowDownloadEnabledDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_allow_download_enabled_details"; + } else if ([valueObj isSharedLinkSettingsChangeAudienceDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer + serialize:valueObj.sharedLinkSettingsChangeAudienceDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_change_audience_details"; + } else if ([valueObj isSharedLinkSettingsChangeExpirationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer + serialize:valueObj.sharedLinkSettingsChangeExpirationDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_change_expiration_details"; + } else if ([valueObj isSharedLinkSettingsChangePasswordDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer + serialize:valueObj.sharedLinkSettingsChangePasswordDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_change_password_details"; + } else if ([valueObj isSharedLinkSettingsRemoveExpirationDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer + serialize:valueObj.sharedLinkSettingsRemoveExpirationDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_remove_expiration_details"; + } else if ([valueObj isSharedLinkSettingsRemovePasswordDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer + serialize:valueObj.sharedLinkSettingsRemovePasswordDetails]]; + jsonDict[@".tag"] = @"shared_link_settings_remove_password_details"; + } else if ([valueObj isSharedLinkShareDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedLinkShareDetailsSerializer serialize:valueObj.sharedLinkShareDetails]]; + jsonDict[@".tag"] = @"shared_link_share_details"; + } else if ([valueObj isSharedLinkViewDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedLinkViewDetailsSerializer serialize:valueObj.sharedLinkViewDetails]]; + jsonDict[@".tag"] = @"shared_link_view_details"; } else if ([valueObj isSharedNoteOpenedDetails]) { - jsonDict[@"shared_note_opened_details"] = - [[DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:valueObj.sharedNoteOpenedDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedNoteOpenedDetailsSerializer + serialize:valueObj.sharedNoteOpenedDetails]]; jsonDict[@".tag"] = @"shared_note_opened_details"; - } else if ([valueObj isShmodelAppCreateDetails]) { - jsonDict[@"shmodel_app_create_details"] = - [[DBTEAMLOGShmodelAppCreateDetailsSerializer serialize:valueObj.shmodelAppCreateDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_app_create_details"; - } else if ([valueObj isShmodelCreateDetails]) { - jsonDict[@"shmodel_create_details"] = - [[DBTEAMLOGShmodelCreateDetailsSerializer serialize:valueObj.shmodelCreateDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_create_details"; - } else if ([valueObj isShmodelDisableDetails]) { - jsonDict[@"shmodel_disable_details"] = - [[DBTEAMLOGShmodelDisableDetailsSerializer serialize:valueObj.shmodelDisableDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_disable_details"; - } else if ([valueObj isShmodelFbShareDetails]) { - jsonDict[@"shmodel_fb_share_details"] = - [[DBTEAMLOGShmodelFbShareDetailsSerializer serialize:valueObj.shmodelFbShareDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_fb_share_details"; + } else if ([valueObj isShmodelDisableDownloadsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelDisableDownloadsDetailsSerializer + serialize:valueObj.shmodelDisableDownloadsDetails]]; + jsonDict[@".tag"] = @"shmodel_disable_downloads_details"; + } else if ([valueObj isShmodelEnableDownloadsDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelEnableDownloadsDetailsSerializer + serialize:valueObj.shmodelEnableDownloadsDetails]]; + jsonDict[@".tag"] = @"shmodel_enable_downloads_details"; } else if ([valueObj isShmodelGroupShareDetails]) { - jsonDict[@"shmodel_group_share_details"] = - [[DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:valueObj.shmodelGroupShareDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelGroupShareDetailsSerializer + serialize:valueObj.shmodelGroupShareDetails]]; jsonDict[@".tag"] = @"shmodel_group_share_details"; - } else if ([valueObj isShmodelRemoveExpirationDetails]) { - jsonDict[@"shmodel_remove_expiration_details"] = [[DBTEAMLOGShmodelRemoveExpirationDetailsSerializer - serialize:valueObj.shmodelRemoveExpirationDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_remove_expiration_details"; - } else if ([valueObj isShmodelSetExpirationDetails]) { - jsonDict[@"shmodel_set_expiration_details"] = - [[DBTEAMLOGShmodelSetExpirationDetailsSerializer serialize:valueObj.shmodelSetExpirationDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_set_expiration_details"; - } else if ([valueObj isShmodelTeamCopyDetails]) { - jsonDict[@"shmodel_team_copy_details"] = - [[DBTEAMLOGShmodelTeamCopyDetailsSerializer serialize:valueObj.shmodelTeamCopyDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_team_copy_details"; - } else if ([valueObj isShmodelTeamDownloadDetails]) { - jsonDict[@"shmodel_team_download_details"] = - [[DBTEAMLOGShmodelTeamDownloadDetailsSerializer serialize:valueObj.shmodelTeamDownloadDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_team_download_details"; - } else if ([valueObj isShmodelTeamShareDetails]) { - jsonDict[@"shmodel_team_share_details"] = - [[DBTEAMLOGShmodelTeamShareDetailsSerializer serialize:valueObj.shmodelTeamShareDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_team_share_details"; - } else if ([valueObj isShmodelTeamViewDetails]) { - jsonDict[@"shmodel_team_view_details"] = - [[DBTEAMLOGShmodelTeamViewDetailsSerializer serialize:valueObj.shmodelTeamViewDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_team_view_details"; - } else if ([valueObj isShmodelVisibilityPasswordDetails]) { - jsonDict[@"shmodel_visibility_password_details"] = [[DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer - serialize:valueObj.shmodelVisibilityPasswordDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_visibility_password_details"; - } else if ([valueObj isShmodelVisibilityPublicDetails]) { - jsonDict[@"shmodel_visibility_public_details"] = [[DBTEAMLOGShmodelVisibilityPublicDetailsSerializer - serialize:valueObj.shmodelVisibilityPublicDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_visibility_public_details"; - } else if ([valueObj isShmodelVisibilityTeamOnlyDetails]) { - jsonDict[@"shmodel_visibility_team_only_details"] = [[DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer - serialize:valueObj.shmodelVisibilityTeamOnlyDetails] mutableCopy]; - jsonDict[@".tag"] = @"shmodel_visibility_team_only_details"; + } else if ([valueObj isShowcaseAccessGrantedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseAccessGrantedDetailsSerializer + serialize:valueObj.showcaseAccessGrantedDetails]]; + jsonDict[@".tag"] = @"showcase_access_granted_details"; + } else if ([valueObj isShowcaseAddMemberDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseAddMemberDetailsSerializer + serialize:valueObj.showcaseAddMemberDetails]]; + jsonDict[@".tag"] = @"showcase_add_member_details"; + } else if ([valueObj isShowcaseArchivedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseArchivedDetailsSerializer + serialize:valueObj.showcaseArchivedDetails]]; + jsonDict[@".tag"] = @"showcase_archived_details"; + } else if ([valueObj isShowcaseCreatedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseCreatedDetailsSerializer serialize:valueObj.showcaseCreatedDetails]]; + jsonDict[@".tag"] = @"showcase_created_details"; + } else if ([valueObj isShowcaseDeleteCommentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseDeleteCommentDetailsSerializer + serialize:valueObj.showcaseDeleteCommentDetails]]; + jsonDict[@".tag"] = @"showcase_delete_comment_details"; + } else if ([valueObj isShowcaseEditedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseEditedDetailsSerializer serialize:valueObj.showcaseEditedDetails]]; + jsonDict[@".tag"] = @"showcase_edited_details"; + } else if ([valueObj isShowcaseEditCommentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseEditCommentDetailsSerializer + serialize:valueObj.showcaseEditCommentDetails]]; + jsonDict[@".tag"] = @"showcase_edit_comment_details"; + } else if ([valueObj isShowcaseFileAddedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileAddedDetailsSerializer + serialize:valueObj.showcaseFileAddedDetails]]; + jsonDict[@".tag"] = @"showcase_file_added_details"; + } else if ([valueObj isShowcaseFileDownloadDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileDownloadDetailsSerializer + serialize:valueObj.showcaseFileDownloadDetails]]; + jsonDict[@".tag"] = @"showcase_file_download_details"; + } else if ([valueObj isShowcaseFileRemovedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileRemovedDetailsSerializer + serialize:valueObj.showcaseFileRemovedDetails]]; + jsonDict[@".tag"] = @"showcase_file_removed_details"; + } else if ([valueObj isShowcaseFileViewDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileViewDetailsSerializer + serialize:valueObj.showcaseFileViewDetails]]; + jsonDict[@".tag"] = @"showcase_file_view_details"; + } else if ([valueObj isShowcasePermanentlyDeletedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer + serialize:valueObj.showcasePermanentlyDeletedDetails]]; + jsonDict[@".tag"] = @"showcase_permanently_deleted_details"; + } else if ([valueObj isShowcasePostCommentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcasePostCommentDetailsSerializer + serialize:valueObj.showcasePostCommentDetails]]; + jsonDict[@".tag"] = @"showcase_post_comment_details"; + } else if ([valueObj isShowcaseRemoveMemberDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRemoveMemberDetailsSerializer + serialize:valueObj.showcaseRemoveMemberDetails]]; + jsonDict[@".tag"] = @"showcase_remove_member_details"; + } else if ([valueObj isShowcaseRenamedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseRenamedDetailsSerializer serialize:valueObj.showcaseRenamedDetails]]; + jsonDict[@".tag"] = @"showcase_renamed_details"; + } else if ([valueObj isShowcaseRequestAccessDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRequestAccessDetailsSerializer + serialize:valueObj.showcaseRequestAccessDetails]]; + jsonDict[@".tag"] = @"showcase_request_access_details"; + } else if ([valueObj isShowcaseResolveCommentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseResolveCommentDetailsSerializer + serialize:valueObj.showcaseResolveCommentDetails]]; + jsonDict[@".tag"] = @"showcase_resolve_comment_details"; + } else if ([valueObj isShowcaseRestoredDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRestoredDetailsSerializer + serialize:valueObj.showcaseRestoredDetails]]; + jsonDict[@".tag"] = @"showcase_restored_details"; + } else if ([valueObj isShowcaseTrashedDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseTrashedDetailsSerializer serialize:valueObj.showcaseTrashedDetails]]; + jsonDict[@".tag"] = @"showcase_trashed_details"; + } else if ([valueObj isShowcaseTrashedDeprecatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer + serialize:valueObj.showcaseTrashedDeprecatedDetails]]; + jsonDict[@".tag"] = @"showcase_trashed_deprecated_details"; + } else if ([valueObj isShowcaseUnresolveCommentDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer + serialize:valueObj.showcaseUnresolveCommentDetails]]; + jsonDict[@".tag"] = @"showcase_unresolve_comment_details"; + } else if ([valueObj isShowcaseUntrashedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUntrashedDetailsSerializer + serialize:valueObj.showcaseUntrashedDetails]]; + jsonDict[@".tag"] = @"showcase_untrashed_details"; + } else if ([valueObj isShowcaseUntrashedDeprecatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer + serialize:valueObj.showcaseUntrashedDeprecatedDetails]]; + jsonDict[@".tag"] = @"showcase_untrashed_deprecated_details"; + } else if ([valueObj isShowcaseViewDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseViewDetailsSerializer serialize:valueObj.showcaseViewDetails]]; + jsonDict[@".tag"] = @"showcase_view_details"; } else if ([valueObj isSsoAddCertDetails]) { - jsonDict[@"sso_add_cert_details"] = - [[DBTEAMLOGSsoAddCertDetailsSerializer serialize:valueObj.ssoAddCertDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddCertDetailsSerializer serialize:valueObj.ssoAddCertDetails]]; jsonDict[@".tag"] = @"sso_add_cert_details"; } else if ([valueObj isSsoAddLoginUrlDetails]) { - jsonDict[@"sso_add_login_url_details"] = - [[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:valueObj.ssoAddLoginUrlDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:valueObj.ssoAddLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_add_login_url_details"; } else if ([valueObj isSsoAddLogoutUrlDetails]) { - jsonDict[@"sso_add_logout_url_details"] = - [[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:valueObj.ssoAddLogoutUrlDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:valueObj.ssoAddLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_add_logout_url_details"; } else if ([valueObj isSsoChangeCertDetails]) { - jsonDict[@"sso_change_cert_details"] = - [[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:valueObj.ssoChangeCertDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:valueObj.ssoChangeCertDetails]]; jsonDict[@".tag"] = @"sso_change_cert_details"; } else if ([valueObj isSsoChangeLoginUrlDetails]) { - jsonDict[@"sso_change_login_url_details"] = - [[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:valueObj.ssoChangeLoginUrlDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer + serialize:valueObj.ssoChangeLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_change_login_url_details"; } else if ([valueObj isSsoChangeLogoutUrlDetails]) { - jsonDict[@"sso_change_logout_url_details"] = - [[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:valueObj.ssoChangeLogoutUrlDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer + serialize:valueObj.ssoChangeLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_change_logout_url_details"; } else if ([valueObj isSsoChangeSamlIdentityModeDetails]) { - jsonDict[@"sso_change_saml_identity_mode_details"] = [[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer - serialize:valueObj.ssoChangeSamlIdentityModeDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer + serialize:valueObj.ssoChangeSamlIdentityModeDetails]]; jsonDict[@".tag"] = @"sso_change_saml_identity_mode_details"; } else if ([valueObj isSsoRemoveCertDetails]) { - jsonDict[@"sso_remove_cert_details"] = - [[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:valueObj.ssoRemoveCertDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:valueObj.ssoRemoveCertDetails]]; jsonDict[@".tag"] = @"sso_remove_cert_details"; } else if ([valueObj isSsoRemoveLoginUrlDetails]) { - jsonDict[@"sso_remove_login_url_details"] = - [[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:valueObj.ssoRemoveLoginUrlDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer + serialize:valueObj.ssoRemoveLoginUrlDetails]]; jsonDict[@".tag"] = @"sso_remove_login_url_details"; } else if ([valueObj isSsoRemoveLogoutUrlDetails]) { - jsonDict[@"sso_remove_logout_url_details"] = - [[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:valueObj.ssoRemoveLogoutUrlDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer + serialize:valueObj.ssoRemoveLogoutUrlDetails]]; jsonDict[@".tag"] = @"sso_remove_logout_url_details"; } else if ([valueObj isTeamFolderChangeStatusDetails]) { - jsonDict[@"team_folder_change_status_details"] = [[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer - serialize:valueObj.teamFolderChangeStatusDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer + serialize:valueObj.teamFolderChangeStatusDetails]]; jsonDict[@".tag"] = @"team_folder_change_status_details"; } else if ([valueObj isTeamFolderCreateDetails]) { - jsonDict[@"team_folder_create_details"] = - [[DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:valueObj.teamFolderCreateDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderCreateDetailsSerializer + serialize:valueObj.teamFolderCreateDetails]]; jsonDict[@".tag"] = @"team_folder_create_details"; } else if ([valueObj isTeamFolderDowngradeDetails]) { - jsonDict[@"team_folder_downgrade_details"] = - [[DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:valueObj.teamFolderDowngradeDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderDowngradeDetailsSerializer + serialize:valueObj.teamFolderDowngradeDetails]]; jsonDict[@".tag"] = @"team_folder_downgrade_details"; } else if ([valueObj isTeamFolderPermanentlyDeleteDetails]) { - jsonDict[@"team_folder_permanently_delete_details"] = [[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer - serialize:valueObj.teamFolderPermanentlyDeleteDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer + serialize:valueObj.teamFolderPermanentlyDeleteDetails]]; jsonDict[@".tag"] = @"team_folder_permanently_delete_details"; } else if ([valueObj isTeamFolderRenameDetails]) { - jsonDict[@"team_folder_rename_details"] = - [[DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:valueObj.teamFolderRenameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderRenameDetailsSerializer + serialize:valueObj.teamFolderRenameDetails]]; jsonDict[@".tag"] = @"team_folder_rename_details"; + } else if ([valueObj isTeamSelectiveSyncSettingsChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer + serialize:valueObj.teamSelectiveSyncSettingsChangedDetails]]; + jsonDict[@".tag"] = @"team_selective_sync_settings_changed_details"; } else if ([valueObj isAccountCaptureChangePolicyDetails]) { - jsonDict[@"account_capture_change_policy_details"] = [[DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer - serialize:valueObj.accountCaptureChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer + serialize:valueObj.accountCaptureChangePolicyDetails]]; jsonDict[@".tag"] = @"account_capture_change_policy_details"; + } else if ([valueObj isAdminEmailRemindersChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer + serialize:valueObj.adminEmailRemindersChangedDetails]]; + jsonDict[@".tag"] = @"admin_email_reminders_changed_details"; } else if ([valueObj isAllowDownloadDisabledDetails]) { - jsonDict[@"allow_download_disabled_details"] = - [[DBTEAMLOGAllowDownloadDisabledDetailsSerializer serialize:valueObj.allowDownloadDisabledDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAllowDownloadDisabledDetailsSerializer + serialize:valueObj.allowDownloadDisabledDetails]]; jsonDict[@".tag"] = @"allow_download_disabled_details"; } else if ([valueObj isAllowDownloadEnabledDetails]) { - jsonDict[@"allow_download_enabled_details"] = - [[DBTEAMLOGAllowDownloadEnabledDetailsSerializer serialize:valueObj.allowDownloadEnabledDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAllowDownloadEnabledDetailsSerializer + serialize:valueObj.allowDownloadEnabledDetails]]; jsonDict[@".tag"] = @"allow_download_enabled_details"; + } else if ([valueObj isAppPermissionsChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppPermissionsChangedDetailsSerializer + serialize:valueObj.appPermissionsChangedDetails]]; + jsonDict[@".tag"] = @"app_permissions_changed_details"; + } else if ([valueObj isCameraUploadsPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer + serialize:valueObj.cameraUploadsPolicyChangedDetails]]; + jsonDict[@".tag"] = @"camera_uploads_policy_changed_details"; + } else if ([valueObj isCaptureTranscriptPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer + serialize:valueObj.captureTranscriptPolicyChangedDetails]]; + jsonDict[@".tag"] = @"capture_transcript_policy_changed_details"; + } else if ([valueObj isClassificationChangePolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationChangePolicyDetailsSerializer + serialize:valueObj.classificationChangePolicyDetails]]; + jsonDict[@".tag"] = @"classification_change_policy_details"; + } else if ([valueObj isComputerBackupPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer + serialize:valueObj.computerBackupPolicyChangedDetails]]; + jsonDict[@".tag"] = @"computer_backup_policy_changed_details"; + } else if ([valueObj isContentAdministrationPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer + serialize:valueObj.contentAdministrationPolicyChangedDetails]]; + jsonDict[@".tag"] = @"content_administration_policy_changed_details"; } else if ([valueObj isDataPlacementRestrictionChangePolicyDetails]) { - jsonDict[@"data_placement_restriction_change_policy_details"] = - [[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer - serialize:valueObj.dataPlacementRestrictionChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer + serialize:valueObj.dataPlacementRestrictionChangePolicyDetails]]; jsonDict[@".tag"] = @"data_placement_restriction_change_policy_details"; } else if ([valueObj isDataPlacementRestrictionSatisfyPolicyDetails]) { - jsonDict[@"data_placement_restriction_satisfy_policy_details"] = - [[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer - serialize:valueObj.dataPlacementRestrictionSatisfyPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer + serialize:valueObj.dataPlacementRestrictionSatisfyPolicyDetails]]; jsonDict[@".tag"] = @"data_placement_restriction_satisfy_policy_details"; + } else if ([valueObj isDeviceApprovalsAddExceptionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer + serialize:valueObj.deviceApprovalsAddExceptionDetails]]; + jsonDict[@".tag"] = @"device_approvals_add_exception_details"; } else if ([valueObj isDeviceApprovalsChangeDesktopPolicyDetails]) { - jsonDict[@"device_approvals_change_desktop_policy_details"] = - [[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer - serialize:valueObj.deviceApprovalsChangeDesktopPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer + serialize:valueObj.deviceApprovalsChangeDesktopPolicyDetails]]; jsonDict[@".tag"] = @"device_approvals_change_desktop_policy_details"; } else if ([valueObj isDeviceApprovalsChangeMobilePolicyDetails]) { - jsonDict[@"device_approvals_change_mobile_policy_details"] = - [[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer - serialize:valueObj.deviceApprovalsChangeMobilePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetailsSerializer + serialize:valueObj.deviceApprovalsChangeMobilePolicyDetails]]; jsonDict[@".tag"] = @"device_approvals_change_mobile_policy_details"; } else if ([valueObj isDeviceApprovalsChangeOverageActionDetails]) { - jsonDict[@"device_approvals_change_overage_action_details"] = - [[DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer - serialize:valueObj.deviceApprovalsChangeOverageActionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeOverageActionDetailsSerializer + serialize:valueObj.deviceApprovalsChangeOverageActionDetails]]; jsonDict[@".tag"] = @"device_approvals_change_overage_action_details"; } else if ([valueObj isDeviceApprovalsChangeUnlinkActionDetails]) { - jsonDict[@"device_approvals_change_unlink_action_details"] = - [[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer - serialize:valueObj.deviceApprovalsChangeUnlinkActionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer + serialize:valueObj.deviceApprovalsChangeUnlinkActionDetails]]; jsonDict[@".tag"] = @"device_approvals_change_unlink_action_details"; + } else if ([valueObj isDeviceApprovalsRemoveExceptionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer + serialize:valueObj.deviceApprovalsRemoveExceptionDetails]]; + jsonDict[@".tag"] = @"device_approvals_remove_exception_details"; + } else if ([valueObj isDirectoryRestrictionsAddMembersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer + serialize:valueObj.directoryRestrictionsAddMembersDetails]]; + jsonDict[@".tag"] = @"directory_restrictions_add_members_details"; + } else if ([valueObj isDirectoryRestrictionsRemoveMembersDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer + serialize:valueObj.directoryRestrictionsRemoveMembersDetails]]; + jsonDict[@".tag"] = @"directory_restrictions_remove_members_details"; + } else if ([valueObj isDropboxPasswordsPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer + serialize:valueObj.dropboxPasswordsPolicyChangedDetails]]; + jsonDict[@".tag"] = @"dropbox_passwords_policy_changed_details"; + } else if ([valueObj isEmailIngestPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer + serialize:valueObj.emailIngestPolicyChangedDetails]]; + jsonDict[@".tag"] = @"email_ingest_policy_changed_details"; } else if ([valueObj isEmmAddExceptionDetails]) { - jsonDict[@"emm_add_exception_details"] = - [[DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:valueObj.emmAddExceptionDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEmmAddExceptionDetailsSerializer serialize:valueObj.emmAddExceptionDetails]]; jsonDict[@".tag"] = @"emm_add_exception_details"; } else if ([valueObj isEmmChangePolicyDetails]) { - jsonDict[@"emm_change_policy_details"] = - [[DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:valueObj.emmChangePolicyDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEmmChangePolicyDetailsSerializer serialize:valueObj.emmChangePolicyDetails]]; jsonDict[@".tag"] = @"emm_change_policy_details"; } else if ([valueObj isEmmRemoveExceptionDetails]) { - jsonDict[@"emm_remove_exception_details"] = - [[DBTEAMLOGEmmRemoveExceptionDetailsSerializer serialize:valueObj.emmRemoveExceptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmRemoveExceptionDetailsSerializer + serialize:valueObj.emmRemoveExceptionDetails]]; jsonDict[@".tag"] = @"emm_remove_exception_details"; } else if ([valueObj isExtendedVersionHistoryChangePolicyDetails]) { - jsonDict[@"extended_version_history_change_policy_details"] = - [[DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer - serialize:valueObj.extendedVersionHistoryChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer + serialize:valueObj.extendedVersionHistoryChangePolicyDetails]]; jsonDict[@".tag"] = @"extended_version_history_change_policy_details"; + } else if ([valueObj isExternalDriveBackupPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer + serialize:valueObj.externalDriveBackupPolicyChangedDetails]]; + jsonDict[@".tag"] = @"external_drive_backup_policy_changed_details"; } else if ([valueObj isFileCommentsChangePolicyDetails]) { - jsonDict[@"file_comments_change_policy_details"] = [[DBTEAMLOGFileCommentsChangePolicyDetailsSerializer - serialize:valueObj.fileCommentsChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileCommentsChangePolicyDetailsSerializer + serialize:valueObj.fileCommentsChangePolicyDetails]]; jsonDict[@".tag"] = @"file_comments_change_policy_details"; + } else if ([valueObj isFileLockingPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLockingPolicyChangedDetailsSerializer + serialize:valueObj.fileLockingPolicyChangedDetails]]; + jsonDict[@".tag"] = @"file_locking_policy_changed_details"; + } else if ([valueObj isFileProviderMigrationPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer + serialize:valueObj.fileProviderMigrationPolicyChangedDetails]]; + jsonDict[@".tag"] = @"file_provider_migration_policy_changed_details"; } else if ([valueObj isFileRequestsChangePolicyDetails]) { - jsonDict[@"file_requests_change_policy_details"] = [[DBTEAMLOGFileRequestsChangePolicyDetailsSerializer - serialize:valueObj.fileRequestsChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsChangePolicyDetailsSerializer + serialize:valueObj.fileRequestsChangePolicyDetails]]; jsonDict[@".tag"] = @"file_requests_change_policy_details"; } else if ([valueObj isFileRequestsEmailsEnabledDetails]) { - jsonDict[@"file_requests_emails_enabled_details"] = [[DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer - serialize:valueObj.fileRequestsEmailsEnabledDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer + serialize:valueObj.fileRequestsEmailsEnabledDetails]]; jsonDict[@".tag"] = @"file_requests_emails_enabled_details"; } else if ([valueObj isFileRequestsEmailsRestrictedToTeamOnlyDetails]) { - jsonDict[@"file_requests_emails_restricted_to_team_only_details"] = - [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer - serialize:valueObj.fileRequestsEmailsRestrictedToTeamOnlyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer + serialize:valueObj.fileRequestsEmailsRestrictedToTeamOnlyDetails]]; jsonDict[@".tag"] = @"file_requests_emails_restricted_to_team_only_details"; + } else if ([valueObj isFileTransfersPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer + serialize:valueObj.fileTransfersPolicyChangedDetails]]; + jsonDict[@".tag"] = @"file_transfers_policy_changed_details"; + } else if ([valueObj isFolderLinkRestrictionPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer + serialize:valueObj.folderLinkRestrictionPolicyChangedDetails]]; + jsonDict[@".tag"] = @"folder_link_restriction_policy_changed_details"; } else if ([valueObj isGoogleSsoChangePolicyDetails]) { - jsonDict[@"google_sso_change_policy_details"] = - [[DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:valueObj.googleSsoChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer + serialize:valueObj.googleSsoChangePolicyDetails]]; jsonDict[@".tag"] = @"google_sso_change_policy_details"; } else if ([valueObj isGroupUserManagementChangePolicyDetails]) { - jsonDict[@"group_user_management_change_policy_details"] = - [[DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer - serialize:valueObj.groupUserManagementChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer + serialize:valueObj.groupUserManagementChangePolicyDetails]]; jsonDict[@".tag"] = @"group_user_management_change_policy_details"; + } else if ([valueObj isIntegrationPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGIntegrationPolicyChangedDetailsSerializer + serialize:valueObj.integrationPolicyChangedDetails]]; + jsonDict[@".tag"] = @"integration_policy_changed_details"; + } else if ([valueObj isInviteAcceptanceEmailPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer + serialize:valueObj.inviteAcceptanceEmailPolicyChangedDetails]]; + jsonDict[@".tag"] = @"invite_acceptance_email_policy_changed_details"; } else if ([valueObj isMemberRequestsChangePolicyDetails]) { - jsonDict[@"member_requests_change_policy_details"] = [[DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer - serialize:valueObj.memberRequestsChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer + serialize:valueObj.memberRequestsChangePolicyDetails]]; jsonDict[@".tag"] = @"member_requests_change_policy_details"; + } else if ([valueObj isMemberSendInvitePolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer + serialize:valueObj.memberSendInvitePolicyChangedDetails]]; + jsonDict[@".tag"] = @"member_send_invite_policy_changed_details"; } else if ([valueObj isMemberSpaceLimitsAddExceptionDetails]) { - jsonDict[@"member_space_limits_add_exception_details"] = [[DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer - serialize:valueObj.memberSpaceLimitsAddExceptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer + serialize:valueObj.memberSpaceLimitsAddExceptionDetails]]; jsonDict[@".tag"] = @"member_space_limits_add_exception_details"; + } else if ([valueObj isMemberSpaceLimitsChangeCapsTypePolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer + serialize:valueObj.memberSpaceLimitsChangeCapsTypePolicyDetails]]; + jsonDict[@".tag"] = @"member_space_limits_change_caps_type_policy_details"; } else if ([valueObj isMemberSpaceLimitsChangePolicyDetails]) { - jsonDict[@"member_space_limits_change_policy_details"] = [[DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer - serialize:valueObj.memberSpaceLimitsChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer + serialize:valueObj.memberSpaceLimitsChangePolicyDetails]]; jsonDict[@".tag"] = @"member_space_limits_change_policy_details"; } else if ([valueObj isMemberSpaceLimitsRemoveExceptionDetails]) { - jsonDict[@"member_space_limits_remove_exception_details"] = - [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer - serialize:valueObj.memberSpaceLimitsRemoveExceptionDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer + serialize:valueObj.memberSpaceLimitsRemoveExceptionDetails]]; jsonDict[@".tag"] = @"member_space_limits_remove_exception_details"; } else if ([valueObj isMemberSuggestionsChangePolicyDetails]) { - jsonDict[@"member_suggestions_change_policy_details"] = [[DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer - serialize:valueObj.memberSuggestionsChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer + serialize:valueObj.memberSuggestionsChangePolicyDetails]]; jsonDict[@".tag"] = @"member_suggestions_change_policy_details"; } else if ([valueObj isMicrosoftOfficeAddinChangePolicyDetails]) { - jsonDict[@"microsoft_office_addin_change_policy_details"] = - [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer - serialize:valueObj.microsoftOfficeAddinChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer + serialize:valueObj.microsoftOfficeAddinChangePolicyDetails]]; jsonDict[@".tag"] = @"microsoft_office_addin_change_policy_details"; } else if ([valueObj isNetworkControlChangePolicyDetails]) { - jsonDict[@"network_control_change_policy_details"] = [[DBTEAMLOGNetworkControlChangePolicyDetailsSerializer - serialize:valueObj.networkControlChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNetworkControlChangePolicyDetailsSerializer + serialize:valueObj.networkControlChangePolicyDetails]]; jsonDict[@".tag"] = @"network_control_change_policy_details"; } else if ([valueObj isPaperChangeDeploymentPolicyDetails]) { - jsonDict[@"paper_change_deployment_policy_details"] = [[DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer - serialize:valueObj.paperChangeDeploymentPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer + serialize:valueObj.paperChangeDeploymentPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_deployment_policy_details"; } else if ([valueObj isPaperChangeMemberLinkPolicyDetails]) { - jsonDict[@"paper_change_member_link_policy_details"] = [[DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer - serialize:valueObj.paperChangeMemberLinkPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer + serialize:valueObj.paperChangeMemberLinkPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_member_link_policy_details"; } else if ([valueObj isPaperChangeMemberPolicyDetails]) { - jsonDict[@"paper_change_member_policy_details"] = [[DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer - serialize:valueObj.paperChangeMemberPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer + serialize:valueObj.paperChangeMemberPolicyDetails]]; jsonDict[@".tag"] = @"paper_change_member_policy_details"; } else if ([valueObj isPaperChangePolicyDetails]) { - jsonDict[@"paper_change_policy_details"] = - [[DBTEAMLOGPaperChangePolicyDetailsSerializer serialize:valueObj.paperChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangePolicyDetailsSerializer + serialize:valueObj.paperChangePolicyDetails]]; jsonDict[@".tag"] = @"paper_change_policy_details"; + } else if ([valueObj isPaperDefaultFolderPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer + serialize:valueObj.paperDefaultFolderPolicyChangedDetails]]; + jsonDict[@".tag"] = @"paper_default_folder_policy_changed_details"; + } else if ([valueObj isPaperDesktopPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer + serialize:valueObj.paperDesktopPolicyChangedDetails]]; + jsonDict[@".tag"] = @"paper_desktop_policy_changed_details"; + } else if ([valueObj isPaperEnabledUsersGroupAdditionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer + serialize:valueObj.paperEnabledUsersGroupAdditionDetails]]; + jsonDict[@".tag"] = @"paper_enabled_users_group_addition_details"; + } else if ([valueObj isPaperEnabledUsersGroupRemovalDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer + serialize:valueObj.paperEnabledUsersGroupRemovalDetails]]; + jsonDict[@".tag"] = @"paper_enabled_users_group_removal_details"; + } else if ([valueObj isPasswordStrengthRequirementsChangePolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer + serialize:valueObj.passwordStrengthRequirementsChangePolicyDetails]]; + jsonDict[@".tag"] = @"password_strength_requirements_change_policy_details"; } else if ([valueObj isPermanentDeleteChangePolicyDetails]) { - jsonDict[@"permanent_delete_change_policy_details"] = [[DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer - serialize:valueObj.permanentDeleteChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer + serialize:valueObj.permanentDeleteChangePolicyDetails]]; jsonDict[@".tag"] = @"permanent_delete_change_policy_details"; + } else if ([valueObj isResellerSupportChangePolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportChangePolicyDetailsSerializer + serialize:valueObj.resellerSupportChangePolicyDetails]]; + jsonDict[@".tag"] = @"reseller_support_change_policy_details"; + } else if ([valueObj isRewindPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRewindPolicyChangedDetailsSerializer + serialize:valueObj.rewindPolicyChangedDetails]]; + jsonDict[@".tag"] = @"rewind_policy_changed_details"; + } else if ([valueObj isSendForSignaturePolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer + serialize:valueObj.sendForSignaturePolicyChangedDetails]]; + jsonDict[@".tag"] = @"send_for_signature_policy_changed_details"; } else if ([valueObj isSharingChangeFolderJoinPolicyDetails]) { - jsonDict[@"sharing_change_folder_join_policy_details"] = [[DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer - serialize:valueObj.sharingChangeFolderJoinPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer + serialize:valueObj.sharingChangeFolderJoinPolicyDetails]]; jsonDict[@".tag"] = @"sharing_change_folder_join_policy_details"; + } else if ([valueObj isSharingChangeLinkAllowChangeExpirationPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer + serialize:valueObj.sharingChangeLinkAllowChangeExpirationPolicyDetails]]; + jsonDict[@".tag"] = @"sharing_change_link_allow_change_expiration_policy_details"; + } else if ([valueObj isSharingChangeLinkDefaultExpirationPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer + serialize:valueObj.sharingChangeLinkDefaultExpirationPolicyDetails]]; + jsonDict[@".tag"] = @"sharing_change_link_default_expiration_policy_details"; + } else if ([valueObj isSharingChangeLinkEnforcePasswordPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer + serialize:valueObj.sharingChangeLinkEnforcePasswordPolicyDetails]]; + jsonDict[@".tag"] = @"sharing_change_link_enforce_password_policy_details"; } else if ([valueObj isSharingChangeLinkPolicyDetails]) { - jsonDict[@"sharing_change_link_policy_details"] = [[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer - serialize:valueObj.sharingChangeLinkPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer + serialize:valueObj.sharingChangeLinkPolicyDetails]]; jsonDict[@".tag"] = @"sharing_change_link_policy_details"; } else if ([valueObj isSharingChangeMemberPolicyDetails]) { - jsonDict[@"sharing_change_member_policy_details"] = [[DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer - serialize:valueObj.sharingChangeMemberPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer + serialize:valueObj.sharingChangeMemberPolicyDetails]]; jsonDict[@".tag"] = @"sharing_change_member_policy_details"; + } else if ([valueObj isShowcaseChangeDownloadPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer + serialize:valueObj.showcaseChangeDownloadPolicyDetails]]; + jsonDict[@".tag"] = @"showcase_change_download_policy_details"; + } else if ([valueObj isShowcaseChangeEnabledPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer + serialize:valueObj.showcaseChangeEnabledPolicyDetails]]; + jsonDict[@".tag"] = @"showcase_change_enabled_policy_details"; + } else if ([valueObj isShowcaseChangeExternalSharingPolicyDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer + serialize:valueObj.showcaseChangeExternalSharingPolicyDetails]]; + jsonDict[@".tag"] = @"showcase_change_external_sharing_policy_details"; + } else if ([valueObj isSmarterSmartSyncPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer + serialize:valueObj.smarterSmartSyncPolicyChangedDetails]]; + jsonDict[@".tag"] = @"smarter_smart_sync_policy_changed_details"; } else if ([valueObj isSmartSyncChangePolicyDetails]) { - jsonDict[@"smart_sync_change_policy_details"] = - [[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:valueObj.smartSyncChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer + serialize:valueObj.smartSyncChangePolicyDetails]]; jsonDict[@".tag"] = @"smart_sync_change_policy_details"; } else if ([valueObj isSmartSyncNotOptOutDetails]) { - jsonDict[@"smart_sync_not_opt_out_details"] = - [[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:valueObj.smartSyncNotOptOutDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer + serialize:valueObj.smartSyncNotOptOutDetails]]; jsonDict[@".tag"] = @"smart_sync_not_opt_out_details"; } else if ([valueObj isSmartSyncOptOutDetails]) { - jsonDict[@"smart_sync_opt_out_details"] = - [[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:valueObj.smartSyncOptOutDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:valueObj.smartSyncOptOutDetails]]; jsonDict[@".tag"] = @"smart_sync_opt_out_details"; } else if ([valueObj isSsoChangePolicyDetails]) { - jsonDict[@"sso_change_policy_details"] = - [[DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:valueObj.ssoChangePolicyDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:valueObj.ssoChangePolicyDetails]]; jsonDict[@".tag"] = @"sso_change_policy_details"; + } else if ([valueObj isTeamBrandingPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer + serialize:valueObj.teamBrandingPolicyChangedDetails]]; + jsonDict[@".tag"] = @"team_branding_policy_changed_details"; + } else if ([valueObj isTeamExtensionsPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer + serialize:valueObj.teamExtensionsPolicyChangedDetails]]; + jsonDict[@".tag"] = @"team_extensions_policy_changed_details"; + } else if ([valueObj isTeamSelectiveSyncPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer + serialize:valueObj.teamSelectiveSyncPolicyChangedDetails]]; + jsonDict[@".tag"] = @"team_selective_sync_policy_changed_details"; + } else if ([valueObj isTeamSharingWhitelistSubjectsChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer + serialize:valueObj.teamSharingWhitelistSubjectsChangedDetails]]; + jsonDict[@".tag"] = @"team_sharing_whitelist_subjects_changed_details"; + } else if ([valueObj isTfaAddExceptionDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaAddExceptionDetailsSerializer serialize:valueObj.tfaAddExceptionDetails]]; + jsonDict[@".tag"] = @"tfa_add_exception_details"; } else if ([valueObj isTfaChangePolicyDetails]) { - jsonDict[@"tfa_change_policy_details"] = - [[DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:valueObj.tfaChangePolicyDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:valueObj.tfaChangePolicyDetails]]; jsonDict[@".tag"] = @"tfa_change_policy_details"; + } else if ([valueObj isTfaRemoveExceptionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaRemoveExceptionDetailsSerializer + serialize:valueObj.tfaRemoveExceptionDetails]]; + jsonDict[@".tag"] = @"tfa_remove_exception_details"; } else if ([valueObj isTwoAccountChangePolicyDetails]) { - jsonDict[@"two_account_change_policy_details"] = [[DBTEAMLOGTwoAccountChangePolicyDetailsSerializer - serialize:valueObj.twoAccountChangePolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTwoAccountChangePolicyDetailsSerializer + serialize:valueObj.twoAccountChangePolicyDetails]]; jsonDict[@".tag"] = @"two_account_change_policy_details"; + } else if ([valueObj isViewerInfoPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer + serialize:valueObj.viewerInfoPolicyChangedDetails]]; + jsonDict[@".tag"] = @"viewer_info_policy_changed_details"; + } else if ([valueObj isWatermarkingPolicyChangedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer + serialize:valueObj.watermarkingPolicyChangedDetails]]; + jsonDict[@".tag"] = @"watermarking_policy_changed_details"; + } else if ([valueObj isWebSessionsChangeActiveSessionLimitDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer + serialize:valueObj.webSessionsChangeActiveSessionLimitDetails]]; + jsonDict[@".tag"] = @"web_sessions_change_active_session_limit_details"; } else if ([valueObj isWebSessionsChangeFixedLengthPolicyDetails]) { - jsonDict[@"web_sessions_change_fixed_length_policy_details"] = - [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer - serialize:valueObj.webSessionsChangeFixedLengthPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer + serialize:valueObj.webSessionsChangeFixedLengthPolicyDetails]]; jsonDict[@".tag"] = @"web_sessions_change_fixed_length_policy_details"; } else if ([valueObj isWebSessionsChangeIdleLengthPolicyDetails]) { - jsonDict[@"web_sessions_change_idle_length_policy_details"] = - [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer - serialize:valueObj.webSessionsChangeIdleLengthPolicyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer + serialize:valueObj.webSessionsChangeIdleLengthPolicyDetails]]; jsonDict[@".tag"] = @"web_sessions_change_idle_length_policy_details"; + } else if ([valueObj isDataResidencyMigrationRequestSuccessfulDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer + serialize:valueObj.dataResidencyMigrationRequestSuccessfulDetails]]; + jsonDict[@".tag"] = @"data_residency_migration_request_successful_details"; + } else if ([valueObj isDataResidencyMigrationRequestUnsuccessfulDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer + serialize:valueObj.dataResidencyMigrationRequestUnsuccessfulDetails]]; + jsonDict[@".tag"] = @"data_residency_migration_request_unsuccessful_details"; + } else if ([valueObj isTeamMergeFromDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTeamMergeFromDetailsSerializer serialize:valueObj.teamMergeFromDetails]]; + jsonDict[@".tag"] = @"team_merge_from_details"; + } else if ([valueObj isTeamMergeToDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeToDetailsSerializer serialize:valueObj.teamMergeToDetails]]; + jsonDict[@".tag"] = @"team_merge_to_details"; + } else if ([valueObj isTeamProfileAddBackgroundDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer + serialize:valueObj.teamProfileAddBackgroundDetails]]; + jsonDict[@".tag"] = @"team_profile_add_background_details"; } else if ([valueObj isTeamProfileAddLogoDetails]) { - jsonDict[@"team_profile_add_logo_details"] = - [[DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:valueObj.teamProfileAddLogoDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileAddLogoDetailsSerializer + serialize:valueObj.teamProfileAddLogoDetails]]; jsonDict[@".tag"] = @"team_profile_add_logo_details"; + } else if ([valueObj isTeamProfileChangeBackgroundDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer + serialize:valueObj.teamProfileChangeBackgroundDetails]]; + jsonDict[@".tag"] = @"team_profile_change_background_details"; } else if ([valueObj isTeamProfileChangeDefaultLanguageDetails]) { - jsonDict[@"team_profile_change_default_language_details"] = - [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer - serialize:valueObj.teamProfileChangeDefaultLanguageDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer + serialize:valueObj.teamProfileChangeDefaultLanguageDetails]]; jsonDict[@".tag"] = @"team_profile_change_default_language_details"; } else if ([valueObj isTeamProfileChangeLogoDetails]) { - jsonDict[@"team_profile_change_logo_details"] = - [[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:valueObj.teamProfileChangeLogoDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer + serialize:valueObj.teamProfileChangeLogoDetails]]; jsonDict[@".tag"] = @"team_profile_change_logo_details"; } else if ([valueObj isTeamProfileChangeNameDetails]) { - jsonDict[@"team_profile_change_name_details"] = - [[DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:valueObj.teamProfileChangeNameDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeNameDetailsSerializer + serialize:valueObj.teamProfileChangeNameDetails]]; jsonDict[@".tag"] = @"team_profile_change_name_details"; + } else if ([valueObj isTeamProfileRemoveBackgroundDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer + serialize:valueObj.teamProfileRemoveBackgroundDetails]]; + jsonDict[@".tag"] = @"team_profile_remove_background_details"; } else if ([valueObj isTeamProfileRemoveLogoDetails]) { - jsonDict[@"team_profile_remove_logo_details"] = - [[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:valueObj.teamProfileRemoveLogoDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer + serialize:valueObj.teamProfileRemoveLogoDetails]]; jsonDict[@".tag"] = @"team_profile_remove_logo_details"; } else if ([valueObj isTfaAddBackupPhoneDetails]) { - jsonDict[@"tfa_add_backup_phone_details"] = - [[DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:valueObj.tfaAddBackupPhoneDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddBackupPhoneDetailsSerializer + serialize:valueObj.tfaAddBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_add_backup_phone_details"; } else if ([valueObj isTfaAddSecurityKeyDetails]) { - jsonDict[@"tfa_add_security_key_details"] = - [[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:valueObj.tfaAddSecurityKeyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer + serialize:valueObj.tfaAddSecurityKeyDetails]]; jsonDict[@".tag"] = @"tfa_add_security_key_details"; } else if ([valueObj isTfaChangeBackupPhoneDetails]) { - jsonDict[@"tfa_change_backup_phone_details"] = - [[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:valueObj.tfaChangeBackupPhoneDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer + serialize:valueObj.tfaChangeBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_change_backup_phone_details"; } else if ([valueObj isTfaChangeStatusDetails]) { - jsonDict[@"tfa_change_status_details"] = - [[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:valueObj.tfaChangeStatusDetails] mutableCopy]; + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:valueObj.tfaChangeStatusDetails]]; jsonDict[@".tag"] = @"tfa_change_status_details"; } else if ([valueObj isTfaRemoveBackupPhoneDetails]) { - jsonDict[@"tfa_remove_backup_phone_details"] = - [[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:valueObj.tfaRemoveBackupPhoneDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer + serialize:valueObj.tfaRemoveBackupPhoneDetails]]; jsonDict[@".tag"] = @"tfa_remove_backup_phone_details"; } else if ([valueObj isTfaRemoveSecurityKeyDetails]) { - jsonDict[@"tfa_remove_security_key_details"] = - [[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:valueObj.tfaRemoveSecurityKeyDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer + serialize:valueObj.tfaRemoveSecurityKeyDetails]]; jsonDict[@".tag"] = @"tfa_remove_security_key_details"; } else if ([valueObj isTfaResetDetails]) { - jsonDict[@"tfa_reset_details"] = - [[DBTEAMLOGTfaResetDetailsSerializer serialize:valueObj.tfaResetDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaResetDetailsSerializer serialize:valueObj.tfaResetDetails]]; jsonDict[@".tag"] = @"tfa_reset_details"; + } else if ([valueObj isChangedEnterpriseAdminRoleDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer + serialize:valueObj.changedEnterpriseAdminRoleDetails]]; + jsonDict[@".tag"] = @"changed_enterprise_admin_role_details"; + } else if ([valueObj isChangedEnterpriseConnectedTeamStatusDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer + serialize:valueObj.changedEnterpriseConnectedTeamStatusDetails]]; + jsonDict[@".tag"] = @"changed_enterprise_connected_team_status_details"; + } else if ([valueObj isEndedEnterpriseAdminSessionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer + serialize:valueObj.endedEnterpriseAdminSessionDetails]]; + jsonDict[@".tag"] = @"ended_enterprise_admin_session_details"; + } else if ([valueObj isEndedEnterpriseAdminSessionDeprecatedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer + serialize:valueObj.endedEnterpriseAdminSessionDeprecatedDetails]]; + jsonDict[@".tag"] = @"ended_enterprise_admin_session_deprecated_details"; + } else if ([valueObj isEnterpriseSettingsLockingDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer + serialize:valueObj.enterpriseSettingsLockingDetails]]; + jsonDict[@".tag"] = @"enterprise_settings_locking_details"; + } else if ([valueObj isGuestAdminChangeStatusDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminChangeStatusDetailsSerializer + serialize:valueObj.guestAdminChangeStatusDetails]]; + jsonDict[@".tag"] = @"guest_admin_change_status_details"; + } else if ([valueObj isStartedEnterpriseAdminSessionDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer + serialize:valueObj.startedEnterpriseAdminSessionDetails]]; + jsonDict[@".tag"] = @"started_enterprise_admin_session_details"; + } else if ([valueObj isTeamMergeRequestAcceptedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer + serialize:valueObj.teamMergeRequestAcceptedDetails]]; + jsonDict[@".tag"] = @"team_merge_request_accepted_details"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestAcceptedShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestAcceptedShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_secondary_team_details"; + } else if ([valueObj isTeamMergeRequestAutoCanceledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer + serialize:valueObj.teamMergeRequestAutoCanceledDetails]]; + jsonDict[@".tag"] = @"team_merge_request_auto_canceled_details"; + } else if ([valueObj isTeamMergeRequestCanceledDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer + serialize:valueObj.teamMergeRequestCanceledDetails]]; + jsonDict[@".tag"] = @"team_merge_request_canceled_details"; + } else if ([valueObj isTeamMergeRequestCanceledShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestCanceledShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestCanceledShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestCanceledShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_secondary_team_details"; + } else if ([valueObj isTeamMergeRequestExpiredDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer + serialize:valueObj.teamMergeRequestExpiredDetails]]; + jsonDict[@".tag"] = @"team_merge_request_expired_details"; + } else if ([valueObj isTeamMergeRequestExpiredShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestExpiredShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestExpiredShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestExpiredShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_secondary_team_details"; + } else if ([valueObj isTeamMergeRequestRejectedShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestRejectedShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestRejectedShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestRejectedShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_secondary_team_details"; + } else if ([valueObj isTeamMergeRequestReminderDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderDetailsSerializer + serialize:valueObj.teamMergeRequestReminderDetails]]; + jsonDict[@".tag"] = @"team_merge_request_reminder_details"; + } else if ([valueObj isTeamMergeRequestReminderShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestReminderShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestReminderShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestReminderShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_secondary_team_details"; + } else if ([valueObj isTeamMergeRequestRevokedDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer + serialize:valueObj.teamMergeRequestRevokedDetails]]; + jsonDict[@".tag"] = @"team_merge_request_revoked_details"; + } else if ([valueObj isTeamMergeRequestSentShownToPrimaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestSentShownToPrimaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_primary_team_details"; + } else if ([valueObj isTeamMergeRequestSentShownToSecondaryTeamDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer + serialize:valueObj.teamMergeRequestSentShownToSecondaryTeamDetails]]; + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_secondary_team_details"; } else if ([valueObj isMissingDetails]) { - jsonDict[@"missing_details"] = [[DBTEAMLOGMissingDetailsSerializer serialize:valueObj.missingDetails] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMissingDetailsSerializer serialize:valueObj.missingDetails]]; jsonDict[@".tag"] = @"missing_details"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -18721,69 +47294,41 @@ + (NSDictionary *)serialize:(DBTEAMLOGEventDetails *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"member_change_membership_type_details"]) { - DBTEAMLOGMemberChangeMembershipTypeDetails *memberChangeMembershipTypeDetails = - [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeMembershipTypeDetails:memberChangeMembershipTypeDetails]; - } else if ([tag isEqualToString:@"member_permanently_delete_account_contents_details"]) { - DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *memberPermanentlyDeleteAccountContentsDetails = - [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] - initWithMemberPermanentlyDeleteAccountContentsDetails:memberPermanentlyDeleteAccountContentsDetails]; - } else if ([tag isEqualToString:@"member_space_limits_change_status_details"]) { - DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *memberSpaceLimitsChangeStatusDetails = - [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer deserialize:valueDict]; + if ([tag isEqualToString:@"admin_alerting_alert_state_changed_details"]) { + DBTEAMLOGAdminAlertingAlertStateChangedDetails *adminAlertingAlertStateChangedDetails = + [DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithMemberSpaceLimitsChangeStatusDetails:memberSpaceLimitsChangeStatusDetails]; - } else if ([tag isEqualToString:@"member_transfer_account_contents_details"]) { - DBTEAMLOGMemberTransferAccountContentsDetails *memberTransferAccountContentsDetails = - [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer deserialize:valueDict]; + initWithAdminAlertingAlertStateChangedDetails:adminAlertingAlertStateChangedDetails]; + } else if ([tag isEqualToString:@"admin_alerting_changed_alert_config_details"]) { + DBTEAMLOGAdminAlertingChangedAlertConfigDetails *adminAlertingChangedAlertConfigDetails = + [DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithMemberTransferAccountContentsDetails:memberTransferAccountContentsDetails]; - } else if ([tag isEqualToString:@"paper_admin_export_start_details"]) { - DBTEAMLOGPaperAdminExportStartDetails *paperAdminExportStartDetails = - [DBTEAMLOGPaperAdminExportStartDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithPaperAdminExportStartDetails:paperAdminExportStartDetails]; - } else if ([tag isEqualToString:@"paper_enabled_users_group_addition_details"]) { - DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *paperEnabledUsersGroupAdditionDetails = - [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer deserialize:valueDict]; + initWithAdminAlertingChangedAlertConfigDetails:adminAlertingChangedAlertConfigDetails]; + } else if ([tag isEqualToString:@"admin_alerting_triggered_alert_details"]) { + DBTEAMLOGAdminAlertingTriggeredAlertDetails *adminAlertingTriggeredAlertDetails = + [DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithAdminAlertingTriggeredAlertDetails:adminAlertingTriggeredAlertDetails]; + } else if ([tag isEqualToString:@"ransomware_restore_process_completed_details"]) { + DBTEAMLOGRansomwareRestoreProcessCompletedDetails *ransomwareRestoreProcessCompletedDetails = + [DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithPaperEnabledUsersGroupAdditionDetails:paperEnabledUsersGroupAdditionDetails]; - } else if ([tag isEqualToString:@"paper_enabled_users_group_removal_details"]) { - DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *paperEnabledUsersGroupRemovalDetails = - [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer deserialize:valueDict]; + initWithRansomwareRestoreProcessCompletedDetails:ransomwareRestoreProcessCompletedDetails]; + } else if ([tag isEqualToString:@"ransomware_restore_process_started_details"]) { + DBTEAMLOGRansomwareRestoreProcessStartedDetails *ransomwareRestoreProcessStartedDetails = + [DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithPaperEnabledUsersGroupRemovalDetails:paperEnabledUsersGroupRemovalDetails]; - } else if ([tag isEqualToString:@"paper_external_view_allow_details"]) { - DBTEAMLOGPaperExternalViewAllowDetails *paperExternalViewAllowDetails = - [DBTEAMLOGPaperExternalViewAllowDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewAllowDetails:paperExternalViewAllowDetails]; - } else if ([tag isEqualToString:@"paper_external_view_default_team_details"]) { - DBTEAMLOGPaperExternalViewDefaultTeamDetails *paperExternalViewDefaultTeamDetails = - [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer deserialize:valueDict]; - return - [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewDefaultTeamDetails:paperExternalViewDefaultTeamDetails]; - } else if ([tag isEqualToString:@"paper_external_view_forbid_details"]) { - DBTEAMLOGPaperExternalViewForbidDetails *paperExternalViewForbidDetails = - [DBTEAMLOGPaperExternalViewForbidDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewForbidDetails:paperExternalViewForbidDetails]; - } else if ([tag isEqualToString:@"sf_external_invite_warn_details"]) { - DBTEAMLOGSfExternalInviteWarnDetails *sfExternalInviteWarnDetails = - [DBTEAMLOGSfExternalInviteWarnDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithSfExternalInviteWarnDetails:sfExternalInviteWarnDetails]; - } else if ([tag isEqualToString:@"team_merge_from_details"]) { - DBTEAMLOGTeamMergeFromDetails *teamMergeFromDetails = - [DBTEAMLOGTeamMergeFromDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeFromDetails:teamMergeFromDetails]; - } else if ([tag isEqualToString:@"team_merge_to_details"]) { - DBTEAMLOGTeamMergeToDetails *teamMergeToDetails = [DBTEAMLOGTeamMergeToDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeToDetails:teamMergeToDetails]; + initWithRansomwareRestoreProcessStartedDetails:ransomwareRestoreProcessStartedDetails]; + } else if ([tag isEqualToString:@"app_blocked_by_permissions_details"]) { + DBTEAMLOGAppBlockedByPermissionsDetails *appBlockedByPermissionsDetails = + [DBTEAMLOGAppBlockedByPermissionsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithAppBlockedByPermissionsDetails:appBlockedByPermissionsDetails]; } else if ([tag isEqualToString:@"app_link_team_details"]) { DBTEAMLOGAppLinkTeamDetails *appLinkTeamDetails = [DBTEAMLOGAppLinkTeamDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAppLinkTeamDetails:appLinkTeamDetails]; @@ -18798,6 +47343,14 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAppUnlinkUserDetails *appUnlinkUserDetails = [DBTEAMLOGAppUnlinkUserDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAppUnlinkUserDetails:appUnlinkUserDetails]; + } else if ([tag isEqualToString:@"integration_connected_details"]) { + DBTEAMLOGIntegrationConnectedDetails *integrationConnectedDetails = + [DBTEAMLOGIntegrationConnectedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithIntegrationConnectedDetails:integrationConnectedDetails]; + } else if ([tag isEqualToString:@"integration_disconnected_details"]) { + DBTEAMLOGIntegrationDisconnectedDetails *integrationDisconnectedDetails = + [DBTEAMLOGIntegrationDisconnectedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithIntegrationDisconnectedDetails:integrationDisconnectedDetails]; } else if ([tag isEqualToString:@"file_add_comment_details"]) { DBTEAMLOGFileAddCommentDetails *fileAddCommentDetails = [DBTEAMLOGFileAddCommentDetailsSerializer deserialize:valueDict]; @@ -18811,6 +47364,10 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFileDeleteCommentDetails *fileDeleteCommentDetails = [DBTEAMLOGFileDeleteCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileDeleteCommentDetails:fileDeleteCommentDetails]; + } else if ([tag isEqualToString:@"file_edit_comment_details"]) { + DBTEAMLOGFileEditCommentDetails *fileEditCommentDetails = + [DBTEAMLOGFileEditCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileEditCommentDetails:fileEditCommentDetails]; } else if ([tag isEqualToString:@"file_like_comment_details"]) { DBTEAMLOGFileLikeCommentDetails *fileLikeCommentDetails = [DBTEAMLOGFileLikeCommentDetailsSerializer deserialize:valueDict]; @@ -18827,6 +47384,108 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFileUnresolveCommentDetails *fileUnresolveCommentDetails = [DBTEAMLOGFileUnresolveCommentDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileUnresolveCommentDetails:fileUnresolveCommentDetails]; + } else if ([tag isEqualToString:@"governance_policy_add_folders_details"]) { + DBTEAMLOGGovernancePolicyAddFoldersDetails *governancePolicyAddFoldersDetails = + [DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGovernancePolicyAddFoldersDetails:governancePolicyAddFoldersDetails]; + } else if ([tag isEqualToString:@"governance_policy_add_folder_failed_details"]) { + DBTEAMLOGGovernancePolicyAddFolderFailedDetails *governancePolicyAddFolderFailedDetails = + [DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyAddFolderFailedDetails:governancePolicyAddFolderFailedDetails]; + } else if ([tag isEqualToString:@"governance_policy_content_disposed_details"]) { + DBTEAMLOGGovernancePolicyContentDisposedDetails *governancePolicyContentDisposedDetails = + [DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyContentDisposedDetails:governancePolicyContentDisposedDetails]; + } else if ([tag isEqualToString:@"governance_policy_create_details"]) { + DBTEAMLOGGovernancePolicyCreateDetails *governancePolicyCreateDetails = + [DBTEAMLOGGovernancePolicyCreateDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGovernancePolicyCreateDetails:governancePolicyCreateDetails]; + } else if ([tag isEqualToString:@"governance_policy_delete_details"]) { + DBTEAMLOGGovernancePolicyDeleteDetails *governancePolicyDeleteDetails = + [DBTEAMLOGGovernancePolicyDeleteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGovernancePolicyDeleteDetails:governancePolicyDeleteDetails]; + } else if ([tag isEqualToString:@"governance_policy_edit_details_details"]) { + DBTEAMLOGGovernancePolicyEditDetailsDetails *governancePolicyEditDetailsDetails = + [DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithGovernancePolicyEditDetailsDetails:governancePolicyEditDetailsDetails]; + } else if ([tag isEqualToString:@"governance_policy_edit_duration_details"]) { + DBTEAMLOGGovernancePolicyEditDurationDetails *governancePolicyEditDurationDetails = + [DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithGovernancePolicyEditDurationDetails:governancePolicyEditDurationDetails]; + } else if ([tag isEqualToString:@"governance_policy_export_created_details"]) { + DBTEAMLOGGovernancePolicyExportCreatedDetails *governancePolicyExportCreatedDetails = + [DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyExportCreatedDetails:governancePolicyExportCreatedDetails]; + } else if ([tag isEqualToString:@"governance_policy_export_removed_details"]) { + DBTEAMLOGGovernancePolicyExportRemovedDetails *governancePolicyExportRemovedDetails = + [DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyExportRemovedDetails:governancePolicyExportRemovedDetails]; + } else if ([tag isEqualToString:@"governance_policy_remove_folders_details"]) { + DBTEAMLOGGovernancePolicyRemoveFoldersDetails *governancePolicyRemoveFoldersDetails = + [DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyRemoveFoldersDetails:governancePolicyRemoveFoldersDetails]; + } else if ([tag isEqualToString:@"governance_policy_report_created_details"]) { + DBTEAMLOGGovernancePolicyReportCreatedDetails *governancePolicyReportCreatedDetails = + [DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyReportCreatedDetails:governancePolicyReportCreatedDetails]; + } else if ([tag isEqualToString:@"governance_policy_zip_part_downloaded_details"]) { + DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *governancePolicyZipPartDownloadedDetails = + [DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGovernancePolicyZipPartDownloadedDetails:governancePolicyZipPartDownloadedDetails]; + } else if ([tag isEqualToString:@"legal_holds_activate_a_hold_details"]) { + DBTEAMLOGLegalHoldsActivateAHoldDetails *legalHoldsActivateAHoldDetails = + [DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsActivateAHoldDetails:legalHoldsActivateAHoldDetails]; + } else if ([tag isEqualToString:@"legal_holds_add_members_details"]) { + DBTEAMLOGLegalHoldsAddMembersDetails *legalHoldsAddMembersDetails = + [DBTEAMLOGLegalHoldsAddMembersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsAddMembersDetails:legalHoldsAddMembersDetails]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_details_details"]) { + DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *legalHoldsChangeHoldDetailsDetails = + [DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsChangeHoldDetailsDetails:legalHoldsChangeHoldDetailsDetails]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_name_details"]) { + DBTEAMLOGLegalHoldsChangeHoldNameDetails *legalHoldsChangeHoldNameDetails = + [DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsChangeHoldNameDetails:legalHoldsChangeHoldNameDetails]; + } else if ([tag isEqualToString:@"legal_holds_export_a_hold_details"]) { + DBTEAMLOGLegalHoldsExportAHoldDetails *legalHoldsExportAHoldDetails = + [DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsExportAHoldDetails:legalHoldsExportAHoldDetails]; + } else if ([tag isEqualToString:@"legal_holds_export_cancelled_details"]) { + DBTEAMLOGLegalHoldsExportCancelledDetails *legalHoldsExportCancelledDetails = + [DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsExportCancelledDetails:legalHoldsExportCancelledDetails]; + } else if ([tag isEqualToString:@"legal_holds_export_downloaded_details"]) { + DBTEAMLOGLegalHoldsExportDownloadedDetails *legalHoldsExportDownloadedDetails = + [DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsExportDownloadedDetails:legalHoldsExportDownloadedDetails]; + } else if ([tag isEqualToString:@"legal_holds_export_removed_details"]) { + DBTEAMLOGLegalHoldsExportRemovedDetails *legalHoldsExportRemovedDetails = + [DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsExportRemovedDetails:legalHoldsExportRemovedDetails]; + } else if ([tag isEqualToString:@"legal_holds_release_a_hold_details"]) { + DBTEAMLOGLegalHoldsReleaseAHoldDetails *legalHoldsReleaseAHoldDetails = + [DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsReleaseAHoldDetails:legalHoldsReleaseAHoldDetails]; + } else if ([tag isEqualToString:@"legal_holds_remove_members_details"]) { + DBTEAMLOGLegalHoldsRemoveMembersDetails *legalHoldsRemoveMembersDetails = + [DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsRemoveMembersDetails:legalHoldsRemoveMembersDetails]; + } else if ([tag isEqualToString:@"legal_holds_report_a_hold_details"]) { + DBTEAMLOGLegalHoldsReportAHoldDetails *legalHoldsReportAHoldDetails = + [DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithLegalHoldsReportAHoldDetails:legalHoldsReportAHoldDetails]; } else if ([tag isEqualToString:@"device_change_ip_desktop_details"]) { DBTEAMLOGDeviceChangeIpDesktopDetails *deviceChangeIpDesktopDetails = [DBTEAMLOGDeviceChangeIpDesktopDetailsSerializer deserialize:valueDict]; @@ -18864,13 +47523,37 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGDeviceManagementEnabledDetails *deviceManagementEnabledDetails = [DBTEAMLOGDeviceManagementEnabledDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceManagementEnabledDetails:deviceManagementEnabledDetails]; + } else if ([tag isEqualToString:@"device_sync_backup_status_changed_details"]) { + DBTEAMLOGDeviceSyncBackupStatusChangedDetails *deviceSyncBackupStatusChangedDetails = + [DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDeviceSyncBackupStatusChangedDetails:deviceSyncBackupStatusChangedDetails]; } else if ([tag isEqualToString:@"device_unlink_details"]) { DBTEAMLOGDeviceUnlinkDetails *deviceUnlinkDetails = [DBTEAMLOGDeviceUnlinkDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceUnlinkDetails:deviceUnlinkDetails]; + } else if ([tag isEqualToString:@"dropbox_passwords_exported_details"]) { + DBTEAMLOGDropboxPasswordsExportedDetails *dropboxPasswordsExportedDetails = + [DBTEAMLOGDropboxPasswordsExportedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithDropboxPasswordsExportedDetails:dropboxPasswordsExportedDetails]; + } else if ([tag isEqualToString:@"dropbox_passwords_new_device_enrolled_details"]) { + DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *dropboxPasswordsNewDeviceEnrolledDetails = + [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDropboxPasswordsNewDeviceEnrolledDetails:dropboxPasswordsNewDeviceEnrolledDetails]; } else if ([tag isEqualToString:@"emm_refresh_auth_token_details"]) { DBTEAMLOGEmmRefreshAuthTokenDetails *emmRefreshAuthTokenDetails = [DBTEAMLOGEmmRefreshAuthTokenDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEmmRefreshAuthTokenDetails:emmRefreshAuthTokenDetails]; + } else if ([tag isEqualToString:@"external_drive_backup_eligibility_status_checked_details"]) { + DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *externalDriveBackupEligibilityStatusCheckedDetails = + [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithExternalDriveBackupEligibilityStatusCheckedDetails:externalDriveBackupEligibilityStatusCheckedDetails]; + } else if ([tag isEqualToString:@"external_drive_backup_status_changed_details"]) { + DBTEAMLOGExternalDriveBackupStatusChangedDetails *externalDriveBackupStatusChangedDetails = + [DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithExternalDriveBackupStatusChangedDetails:externalDriveBackupStatusChangedDetails]; } else if ([tag isEqualToString:@"account_capture_change_availability_details"]) { DBTEAMLOGAccountCaptureChangeAvailabilityDetails *accountCaptureChangeAvailabilityDetails = [DBTEAMLOGAccountCaptureChangeAvailabilityDetailsSerializer deserialize:valueDict]; @@ -18881,6 +47564,11 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGAccountCaptureMigrateAccountDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAccountCaptureMigrateAccountDetails:accountCaptureMigrateAccountDetails]; + } else if ([tag isEqualToString:@"account_capture_notification_emails_sent_details"]) { + DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *accountCaptureNotificationEmailsSentDetails = + [DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithAccountCaptureNotificationEmailsSentDetails:accountCaptureNotificationEmailsSentDetails]; } else if ([tag isEqualToString:@"account_capture_relinquish_account_details"]) { DBTEAMLOGAccountCaptureRelinquishAccountDetails *accountCaptureRelinquishAccountDetails = [DBTEAMLOGAccountCaptureRelinquishAccountDetailsSerializer deserialize:valueDict]; @@ -18939,12 +47627,51 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGEnabledDomainInvitesDetails *enabledDomainInvitesDetails = [DBTEAMLOGEnabledDomainInvitesDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEnabledDomainInvitesDetails:enabledDomainInvitesDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_cancel_key_deletion_details"]) { + DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *teamEncryptionKeyCancelKeyDeletionDetails = + [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamEncryptionKeyCancelKeyDeletionDetails:teamEncryptionKeyCancelKeyDeletionDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_create_key_details"]) { + DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *teamEncryptionKeyCreateKeyDetails = + [DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamEncryptionKeyCreateKeyDetails:teamEncryptionKeyCreateKeyDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_delete_key_details"]) { + DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *teamEncryptionKeyDeleteKeyDetails = + [DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamEncryptionKeyDeleteKeyDetails:teamEncryptionKeyDeleteKeyDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_disable_key_details"]) { + DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *teamEncryptionKeyDisableKeyDetails = + [DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamEncryptionKeyDisableKeyDetails:teamEncryptionKeyDisableKeyDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_enable_key_details"]) { + DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *teamEncryptionKeyEnableKeyDetails = + [DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamEncryptionKeyEnableKeyDetails:teamEncryptionKeyEnableKeyDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_rotate_key_details"]) { + DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *teamEncryptionKeyRotateKeyDetails = + [DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamEncryptionKeyRotateKeyDetails:teamEncryptionKeyRotateKeyDetails]; + } else if ([tag isEqualToString:@"team_encryption_key_schedule_key_deletion_details"]) { + DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *teamEncryptionKeyScheduleKeyDeletionDetails = + [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamEncryptionKeyScheduleKeyDeletionDetails:teamEncryptionKeyScheduleKeyDeletionDetails]; + } else if ([tag isEqualToString:@"apply_naming_convention_details"]) { + DBTEAMLOGApplyNamingConventionDetails *applyNamingConventionDetails = + [DBTEAMLOGApplyNamingConventionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithApplyNamingConventionDetails:applyNamingConventionDetails]; } else if ([tag isEqualToString:@"create_folder_details"]) { DBTEAMLOGCreateFolderDetails *createFolderDetails = [DBTEAMLOGCreateFolderDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithCreateFolderDetails:createFolderDetails]; } else if ([tag isEqualToString:@"file_add_details"]) { DBTEAMLOGFileAddDetails *fileAddDetails = [DBTEAMLOGFileAddDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileAddDetails:fileAddDetails]; + } else if ([tag isEqualToString:@"file_add_from_automation_details"]) { + DBTEAMLOGFileAddFromAutomationDetails *fileAddFromAutomationDetails = + [DBTEAMLOGFileAddFromAutomationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileAddFromAutomationDetails:fileAddFromAutomationDetails]; } else if ([tag isEqualToString:@"file_copy_details"]) { DBTEAMLOGFileCopyDetails *fileCopyDetails = [DBTEAMLOGFileCopyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileCopyDetails:fileCopyDetails]; @@ -18961,6 +47688,11 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFileGetCopyReferenceDetails *fileGetCopyReferenceDetails = [DBTEAMLOGFileGetCopyReferenceDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileGetCopyReferenceDetails:fileGetCopyReferenceDetails]; + } else if ([tag isEqualToString:@"file_locking_lock_status_changed_details"]) { + DBTEAMLOGFileLockingLockStatusChangedDetails *fileLockingLockStatusChangedDetails = + [DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithFileLockingLockStatusChangedDetails:fileLockingLockStatusChangedDetails]; } else if ([tag isEqualToString:@"file_move_details"]) { DBTEAMLOGFileMoveDetails *fileMoveDetails = [DBTEAMLOGFileMoveDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileMoveDetails:fileMoveDetails]; @@ -18988,18 +47720,66 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFileSaveCopyReferenceDetails *fileSaveCopyReferenceDetails = [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileSaveCopyReferenceDetails:fileSaveCopyReferenceDetails]; - } else if ([tag isEqualToString:@"file_request_add_deadline_details"]) { - DBTEAMLOGFileRequestAddDeadlineDetails *fileRequestAddDeadlineDetails = - [DBTEAMLOGFileRequestAddDeadlineDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithFileRequestAddDeadlineDetails:fileRequestAddDeadlineDetails]; + } else if ([tag isEqualToString:@"folder_overview_description_changed_details"]) { + DBTEAMLOGFolderOverviewDescriptionChangedDetails *folderOverviewDescriptionChangedDetails = + [DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithFolderOverviewDescriptionChangedDetails:folderOverviewDescriptionChangedDetails]; + } else if ([tag isEqualToString:@"folder_overview_item_pinned_details"]) { + DBTEAMLOGFolderOverviewItemPinnedDetails *folderOverviewItemPinnedDetails = + [DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFolderOverviewItemPinnedDetails:folderOverviewItemPinnedDetails]; + } else if ([tag isEqualToString:@"folder_overview_item_unpinned_details"]) { + DBTEAMLOGFolderOverviewItemUnpinnedDetails *folderOverviewItemUnpinnedDetails = + [DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFolderOverviewItemUnpinnedDetails:folderOverviewItemUnpinnedDetails]; + } else if ([tag isEqualToString:@"object_label_added_details"]) { + DBTEAMLOGObjectLabelAddedDetails *objectLabelAddedDetails = + [DBTEAMLOGObjectLabelAddedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithObjectLabelAddedDetails:objectLabelAddedDetails]; + } else if ([tag isEqualToString:@"object_label_removed_details"]) { + DBTEAMLOGObjectLabelRemovedDetails *objectLabelRemovedDetails = + [DBTEAMLOGObjectLabelRemovedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithObjectLabelRemovedDetails:objectLabelRemovedDetails]; + } else if ([tag isEqualToString:@"object_label_updated_value_details"]) { + DBTEAMLOGObjectLabelUpdatedValueDetails *objectLabelUpdatedValueDetails = + [DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithObjectLabelUpdatedValueDetails:objectLabelUpdatedValueDetails]; + } else if ([tag isEqualToString:@"organize_folder_with_tidy_details"]) { + DBTEAMLOGOrganizeFolderWithTidyDetails *organizeFolderWithTidyDetails = + [DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithOrganizeFolderWithTidyDetails:organizeFolderWithTidyDetails]; + } else if ([tag isEqualToString:@"replay_file_delete_details"]) { + DBTEAMLOGReplayFileDeleteDetails *replayFileDeleteDetails = + [DBTEAMLOGReplayFileDeleteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithReplayFileDeleteDetails:replayFileDeleteDetails]; + } else if ([tag isEqualToString:@"rewind_folder_details"]) { + DBTEAMLOGRewindFolderDetails *rewindFolderDetails = [DBTEAMLOGRewindFolderDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithRewindFolderDetails:rewindFolderDetails]; + } else if ([tag isEqualToString:@"undo_naming_convention_details"]) { + DBTEAMLOGUndoNamingConventionDetails *undoNamingConventionDetails = + [DBTEAMLOGUndoNamingConventionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithUndoNamingConventionDetails:undoNamingConventionDetails]; + } else if ([tag isEqualToString:@"undo_organize_folder_with_tidy_details"]) { + DBTEAMLOGUndoOrganizeFolderWithTidyDetails *undoOrganizeFolderWithTidyDetails = + [DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithUndoOrganizeFolderWithTidyDetails:undoOrganizeFolderWithTidyDetails]; + } else if ([tag isEqualToString:@"user_tags_added_details"]) { + DBTEAMLOGUserTagsAddedDetails *userTagsAddedDetails = + [DBTEAMLOGUserTagsAddedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithUserTagsAddedDetails:userTagsAddedDetails]; + } else if ([tag isEqualToString:@"user_tags_removed_details"]) { + DBTEAMLOGUserTagsRemovedDetails *userTagsRemovedDetails = + [DBTEAMLOGUserTagsRemovedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithUserTagsRemovedDetails:userTagsRemovedDetails]; + } else if ([tag isEqualToString:@"email_ingest_receive_file_details"]) { + DBTEAMLOGEmailIngestReceiveFileDetails *emailIngestReceiveFileDetails = + [DBTEAMLOGEmailIngestReceiveFileDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithEmailIngestReceiveFileDetails:emailIngestReceiveFileDetails]; } else if ([tag isEqualToString:@"file_request_change_details"]) { DBTEAMLOGFileRequestChangeDetails *fileRequestChangeDetails = [DBTEAMLOGFileRequestChangeDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestChangeDetails:fileRequestChangeDetails]; - } else if ([tag isEqualToString:@"file_request_change_folder_details"]) { - DBTEAMLOGFileRequestChangeFolderDetails *fileRequestChangeFolderDetails = - [DBTEAMLOGFileRequestChangeFolderDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithFileRequestChangeFolderDetails:fileRequestChangeFolderDetails]; } else if ([tag isEqualToString:@"file_request_close_details"]) { DBTEAMLOGFileRequestCloseDetails *fileRequestCloseDetails = [DBTEAMLOGFileRequestCloseDetailsSerializer deserialize:valueDict]; @@ -19008,18 +47788,14 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGFileRequestCreateDetails *fileRequestCreateDetails = [DBTEAMLOGFileRequestCreateDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestCreateDetails:fileRequestCreateDetails]; + } else if ([tag isEqualToString:@"file_request_delete_details"]) { + DBTEAMLOGFileRequestDeleteDetails *fileRequestDeleteDetails = + [DBTEAMLOGFileRequestDeleteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileRequestDeleteDetails:fileRequestDeleteDetails]; } else if ([tag isEqualToString:@"file_request_receive_file_details"]) { DBTEAMLOGFileRequestReceiveFileDetails *fileRequestReceiveFileDetails = [DBTEAMLOGFileRequestReceiveFileDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestReceiveFileDetails:fileRequestReceiveFileDetails]; - } else if ([tag isEqualToString:@"file_request_remove_deadline_details"]) { - DBTEAMLOGFileRequestRemoveDeadlineDetails *fileRequestRemoveDeadlineDetails = - [DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithFileRequestRemoveDeadlineDetails:fileRequestRemoveDeadlineDetails]; - } else if ([tag isEqualToString:@"file_request_send_details"]) { - DBTEAMLOGFileRequestSendDetails *fileRequestSendDetails = - [DBTEAMLOGFileRequestSendDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithFileRequestSendDetails:fileRequestSendDetails]; } else if ([tag isEqualToString:@"group_add_external_id_details"]) { DBTEAMLOGGroupAddExternalIdDetails *groupAddExternalIdDetails = [DBTEAMLOGGroupAddExternalIdDetailsSerializer deserialize:valueDict]; @@ -19046,6 +47822,14 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } else if ([tag isEqualToString:@"group_delete_details"]) { DBTEAMLOGGroupDeleteDetails *groupDeleteDetails = [DBTEAMLOGGroupDeleteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupDeleteDetails:groupDeleteDetails]; + } else if ([tag isEqualToString:@"group_description_updated_details"]) { + DBTEAMLOGGroupDescriptionUpdatedDetails *groupDescriptionUpdatedDetails = + [DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGroupDescriptionUpdatedDetails:groupDescriptionUpdatedDetails]; + } else if ([tag isEqualToString:@"group_join_policy_updated_details"]) { + DBTEAMLOGGroupJoinPolicyUpdatedDetails *groupJoinPolicyUpdatedDetails = + [DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGroupJoinPolicyUpdatedDetails:groupJoinPolicyUpdatedDetails]; } else if ([tag isEqualToString:@"group_moved_details"]) { DBTEAMLOGGroupMovedDetails *groupMovedDetails = [DBTEAMLOGGroupMovedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupMovedDetails:groupMovedDetails]; @@ -19060,9 +47844,23 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } else if ([tag isEqualToString:@"group_rename_details"]) { DBTEAMLOGGroupRenameDetails *groupRenameDetails = [DBTEAMLOGGroupRenameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupRenameDetails:groupRenameDetails]; + } else if ([tag isEqualToString:@"account_lock_or_unlocked_details"]) { + DBTEAMLOGAccountLockOrUnlockedDetails *accountLockOrUnlockedDetails = + [DBTEAMLOGAccountLockOrUnlockedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithAccountLockOrUnlockedDetails:accountLockOrUnlockedDetails]; } else if ([tag isEqualToString:@"emm_error_details"]) { DBTEAMLOGEmmErrorDetails *emmErrorDetails = [DBTEAMLOGEmmErrorDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEmmErrorDetails:emmErrorDetails]; + } else if ([tag isEqualToString:@"guest_admin_signed_in_via_trusted_teams_details"]) { + DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *guestAdminSignedInViaTrustedTeamsDetails = + [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGuestAdminSignedInViaTrustedTeamsDetails:guestAdminSignedInViaTrustedTeamsDetails]; + } else if ([tag isEqualToString:@"guest_admin_signed_out_via_trusted_teams_details"]) { + DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *guestAdminSignedOutViaTrustedTeamsDetails = + [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithGuestAdminSignedOutViaTrustedTeamsDetails:guestAdminSignedOutViaTrustedTeamsDetails]; } else if ([tag isEqualToString:@"login_fail_details"]) { DBTEAMLOGLoginFailDetails *loginFailDetails = [DBTEAMLOGLoginFailDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithLoginFailDetails:loginFailDetails]; @@ -19092,6 +47890,26 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } else if ([tag isEqualToString:@"sso_error_details"]) { DBTEAMLOGSsoErrorDetails *ssoErrorDetails = [DBTEAMLOGSsoErrorDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoErrorDetails:ssoErrorDetails]; + } else if ([tag isEqualToString:@"backup_admin_invitation_sent_details"]) { + DBTEAMLOGBackupAdminInvitationSentDetails *backupAdminInvitationSentDetails = + [DBTEAMLOGBackupAdminInvitationSentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBackupAdminInvitationSentDetails:backupAdminInvitationSentDetails]; + } else if ([tag isEqualToString:@"backup_invitation_opened_details"]) { + DBTEAMLOGBackupInvitationOpenedDetails *backupInvitationOpenedDetails = + [DBTEAMLOGBackupInvitationOpenedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBackupInvitationOpenedDetails:backupInvitationOpenedDetails]; + } else if ([tag isEqualToString:@"create_team_invite_link_details"]) { + DBTEAMLOGCreateTeamInviteLinkDetails *createTeamInviteLinkDetails = + [DBTEAMLOGCreateTeamInviteLinkDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithCreateTeamInviteLinkDetails:createTeamInviteLinkDetails]; + } else if ([tag isEqualToString:@"delete_team_invite_link_details"]) { + DBTEAMLOGDeleteTeamInviteLinkDetails *deleteTeamInviteLinkDetails = + [DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithDeleteTeamInviteLinkDetails:deleteTeamInviteLinkDetails]; + } else if ([tag isEqualToString:@"member_add_external_id_details"]) { + DBTEAMLOGMemberAddExternalIdDetails *memberAddExternalIdDetails = + [DBTEAMLOGMemberAddExternalIdDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberAddExternalIdDetails:memberAddExternalIdDetails]; } else if ([tag isEqualToString:@"member_add_name_details"]) { DBTEAMLOGMemberAddNameDetails *memberAddNameDetails = [DBTEAMLOGMemberAddNameDetailsSerializer deserialize:valueDict]; @@ -19104,18 +47922,125 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGMemberChangeEmailDetails *memberChangeEmailDetails = [DBTEAMLOGMemberChangeEmailDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeEmailDetails:memberChangeEmailDetails]; + } else if ([tag isEqualToString:@"member_change_external_id_details"]) { + DBTEAMLOGMemberChangeExternalIdDetails *memberChangeExternalIdDetails = + [DBTEAMLOGMemberChangeExternalIdDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeExternalIdDetails:memberChangeExternalIdDetails]; + } else if ([tag isEqualToString:@"member_change_membership_type_details"]) { + DBTEAMLOGMemberChangeMembershipTypeDetails *memberChangeMembershipTypeDetails = + [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeMembershipTypeDetails:memberChangeMembershipTypeDetails]; } else if ([tag isEqualToString:@"member_change_name_details"]) { DBTEAMLOGMemberChangeNameDetails *memberChangeNameDetails = [DBTEAMLOGMemberChangeNameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeNameDetails:memberChangeNameDetails]; + } else if ([tag isEqualToString:@"member_change_reseller_role_details"]) { + DBTEAMLOGMemberChangeResellerRoleDetails *memberChangeResellerRoleDetails = + [DBTEAMLOGMemberChangeResellerRoleDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeResellerRoleDetails:memberChangeResellerRoleDetails]; } else if ([tag isEqualToString:@"member_change_status_details"]) { DBTEAMLOGMemberChangeStatusDetails *memberChangeStatusDetails = [DBTEAMLOGMemberChangeStatusDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberChangeStatusDetails:memberChangeStatusDetails]; + } else if ([tag isEqualToString:@"member_delete_manual_contacts_details"]) { + DBTEAMLOGMemberDeleteManualContactsDetails *memberDeleteManualContactsDetails = + [DBTEAMLOGMemberDeleteManualContactsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberDeleteManualContactsDetails:memberDeleteManualContactsDetails]; + } else if ([tag isEqualToString:@"member_delete_profile_photo_details"]) { + DBTEAMLOGMemberDeleteProfilePhotoDetails *memberDeleteProfilePhotoDetails = + [DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberDeleteProfilePhotoDetails:memberDeleteProfilePhotoDetails]; + } else if ([tag isEqualToString:@"member_permanently_delete_account_contents_details"]) { + DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *memberPermanentlyDeleteAccountContentsDetails = + [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberPermanentlyDeleteAccountContentsDetails:memberPermanentlyDeleteAccountContentsDetails]; + } else if ([tag isEqualToString:@"member_remove_external_id_details"]) { + DBTEAMLOGMemberRemoveExternalIdDetails *memberRemoveExternalIdDetails = + [DBTEAMLOGMemberRemoveExternalIdDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberRemoveExternalIdDetails:memberRemoveExternalIdDetails]; + } else if ([tag isEqualToString:@"member_set_profile_photo_details"]) { + DBTEAMLOGMemberSetProfilePhotoDetails *memberSetProfilePhotoDetails = + [DBTEAMLOGMemberSetProfilePhotoDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithMemberSetProfilePhotoDetails:memberSetProfilePhotoDetails]; + } else if ([tag isEqualToString:@"member_space_limits_add_custom_quota_details"]) { + DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *memberSpaceLimitsAddCustomQuotaDetails = + [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSpaceLimitsAddCustomQuotaDetails:memberSpaceLimitsAddCustomQuotaDetails]; + } else if ([tag isEqualToString:@"member_space_limits_change_custom_quota_details"]) { + DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *memberSpaceLimitsChangeCustomQuotaDetails = + [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSpaceLimitsChangeCustomQuotaDetails:memberSpaceLimitsChangeCustomQuotaDetails]; + } else if ([tag isEqualToString:@"member_space_limits_change_status_details"]) { + DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *memberSpaceLimitsChangeStatusDetails = + [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSpaceLimitsChangeStatusDetails:memberSpaceLimitsChangeStatusDetails]; + } else if ([tag isEqualToString:@"member_space_limits_remove_custom_quota_details"]) { + DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *memberSpaceLimitsRemoveCustomQuotaDetails = + [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSpaceLimitsRemoveCustomQuotaDetails:memberSpaceLimitsRemoveCustomQuotaDetails]; } else if ([tag isEqualToString:@"member_suggest_details"]) { DBTEAMLOGMemberSuggestDetails *memberSuggestDetails = [DBTEAMLOGMemberSuggestDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberSuggestDetails:memberSuggestDetails]; + } else if ([tag isEqualToString:@"member_transfer_account_contents_details"]) { + DBTEAMLOGMemberTransferAccountContentsDetails *memberTransferAccountContentsDetails = + [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberTransferAccountContentsDetails:memberTransferAccountContentsDetails]; + } else if ([tag isEqualToString:@"pending_secondary_email_added_details"]) { + DBTEAMLOGPendingSecondaryEmailAddedDetails *pendingSecondaryEmailAddedDetails = + [DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPendingSecondaryEmailAddedDetails:pendingSecondaryEmailAddedDetails]; + } else if ([tag isEqualToString:@"secondary_email_deleted_details"]) { + DBTEAMLOGSecondaryEmailDeletedDetails *secondaryEmailDeletedDetails = + [DBTEAMLOGSecondaryEmailDeletedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSecondaryEmailDeletedDetails:secondaryEmailDeletedDetails]; + } else if ([tag isEqualToString:@"secondary_email_verified_details"]) { + DBTEAMLOGSecondaryEmailVerifiedDetails *secondaryEmailVerifiedDetails = + [DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSecondaryEmailVerifiedDetails:secondaryEmailVerifiedDetails]; + } else if ([tag isEqualToString:@"secondary_mails_policy_changed_details"]) { + DBTEAMLOGSecondaryMailsPolicyChangedDetails *secondaryMailsPolicyChangedDetails = + [DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithSecondaryMailsPolicyChangedDetails:secondaryMailsPolicyChangedDetails]; + } else if ([tag isEqualToString:@"binder_add_page_details"]) { + DBTEAMLOGBinderAddPageDetails *binderAddPageDetails = + [DBTEAMLOGBinderAddPageDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderAddPageDetails:binderAddPageDetails]; + } else if ([tag isEqualToString:@"binder_add_section_details"]) { + DBTEAMLOGBinderAddSectionDetails *binderAddSectionDetails = + [DBTEAMLOGBinderAddSectionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderAddSectionDetails:binderAddSectionDetails]; + } else if ([tag isEqualToString:@"binder_remove_page_details"]) { + DBTEAMLOGBinderRemovePageDetails *binderRemovePageDetails = + [DBTEAMLOGBinderRemovePageDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderRemovePageDetails:binderRemovePageDetails]; + } else if ([tag isEqualToString:@"binder_remove_section_details"]) { + DBTEAMLOGBinderRemoveSectionDetails *binderRemoveSectionDetails = + [DBTEAMLOGBinderRemoveSectionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderRemoveSectionDetails:binderRemoveSectionDetails]; + } else if ([tag isEqualToString:@"binder_rename_page_details"]) { + DBTEAMLOGBinderRenamePageDetails *binderRenamePageDetails = + [DBTEAMLOGBinderRenamePageDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderRenamePageDetails:binderRenamePageDetails]; + } else if ([tag isEqualToString:@"binder_rename_section_details"]) { + DBTEAMLOGBinderRenameSectionDetails *binderRenameSectionDetails = + [DBTEAMLOGBinderRenameSectionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderRenameSectionDetails:binderRenameSectionDetails]; + } else if ([tag isEqualToString:@"binder_reorder_page_details"]) { + DBTEAMLOGBinderReorderPageDetails *binderReorderPageDetails = + [DBTEAMLOGBinderReorderPageDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderReorderPageDetails:binderReorderPageDetails]; + } else if ([tag isEqualToString:@"binder_reorder_section_details"]) { + DBTEAMLOGBinderReorderSectionDetails *binderReorderSectionDetails = + [DBTEAMLOGBinderReorderSectionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithBinderReorderSectionDetails:binderReorderSectionDetails]; } else if ([tag isEqualToString:@"paper_content_add_member_details"]) { DBTEAMLOGPaperContentAddMemberDetails *paperContentAddMemberDetails = [DBTEAMLOGPaperContentAddMemberDetailsSerializer deserialize:valueDict]; @@ -19198,6 +48123,10 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPaperDocMentionDetails *paperDocMentionDetails = [DBTEAMLOGPaperDocMentionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocMentionDetails:paperDocMentionDetails]; + } else if ([tag isEqualToString:@"paper_doc_ownership_changed_details"]) { + DBTEAMLOGPaperDocOwnershipChangedDetails *paperDocOwnershipChangedDetails = + [DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperDocOwnershipChangedDetails:paperDocOwnershipChangedDetails]; } else if ([tag isEqualToString:@"paper_doc_request_access_details"]) { DBTEAMLOGPaperDocRequestAccessDetails *paperDocRequestAccessDetails = [DBTEAMLOGPaperDocRequestAccessDetailsSerializer deserialize:valueDict]; @@ -19233,6 +48162,19 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } else if ([tag isEqualToString:@"paper_doc_view_details"]) { DBTEAMLOGPaperDocViewDetails *paperDocViewDetails = [DBTEAMLOGPaperDocViewDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperDocViewDetails:paperDocViewDetails]; + } else if ([tag isEqualToString:@"paper_external_view_allow_details"]) { + DBTEAMLOGPaperExternalViewAllowDetails *paperExternalViewAllowDetails = + [DBTEAMLOGPaperExternalViewAllowDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewAllowDetails:paperExternalViewAllowDetails]; + } else if ([tag isEqualToString:@"paper_external_view_default_team_details"]) { + DBTEAMLOGPaperExternalViewDefaultTeamDetails *paperExternalViewDefaultTeamDetails = + [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewDefaultTeamDetails:paperExternalViewDefaultTeamDetails]; + } else if ([tag isEqualToString:@"paper_external_view_forbid_details"]) { + DBTEAMLOGPaperExternalViewForbidDetails *paperExternalViewForbidDetails = + [DBTEAMLOGPaperExternalViewForbidDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperExternalViewForbidDetails:paperExternalViewForbidDetails]; } else if ([tag isEqualToString:@"paper_folder_change_subscription_details"]) { DBTEAMLOGPaperFolderChangeSubscriptionDetails *paperFolderChangeSubscriptionDetails = [DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer deserialize:valueDict]; @@ -19250,6 +48192,23 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPaperFolderTeamInviteDetails *paperFolderTeamInviteDetails = [DBTEAMLOGPaperFolderTeamInviteDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperFolderTeamInviteDetails:paperFolderTeamInviteDetails]; + } else if ([tag isEqualToString:@"paper_published_link_change_permission_details"]) { + DBTEAMLOGPaperPublishedLinkChangePermissionDetails *paperPublishedLinkChangePermissionDetails = + [DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithPaperPublishedLinkChangePermissionDetails:paperPublishedLinkChangePermissionDetails]; + } else if ([tag isEqualToString:@"paper_published_link_create_details"]) { + DBTEAMLOGPaperPublishedLinkCreateDetails *paperPublishedLinkCreateDetails = + [DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperPublishedLinkCreateDetails:paperPublishedLinkCreateDetails]; + } else if ([tag isEqualToString:@"paper_published_link_disabled_details"]) { + DBTEAMLOGPaperPublishedLinkDisabledDetails *paperPublishedLinkDisabledDetails = + [DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperPublishedLinkDisabledDetails:paperPublishedLinkDisabledDetails]; + } else if ([tag isEqualToString:@"paper_published_link_view_details"]) { + DBTEAMLOGPaperPublishedLinkViewDetails *paperPublishedLinkViewDetails = + [DBTEAMLOGPaperPublishedLinkViewDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperPublishedLinkViewDetails:paperPublishedLinkViewDetails]; } else if ([tag isEqualToString:@"password_change_details"]) { DBTEAMLOGPasswordChangeDetails *passwordChangeDetails = [DBTEAMLOGPasswordChangeDetailsSerializer deserialize:valueDict]; @@ -19262,6 +48221,15 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPasswordResetAllDetails *passwordResetAllDetails = [DBTEAMLOGPasswordResetAllDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPasswordResetAllDetails:passwordResetAllDetails]; + } else if ([tag isEqualToString:@"classification_create_report_details"]) { + DBTEAMLOGClassificationCreateReportDetails *classificationCreateReportDetails = + [DBTEAMLOGClassificationCreateReportDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithClassificationCreateReportDetails:classificationCreateReportDetails]; + } else if ([tag isEqualToString:@"classification_create_report_fail_details"]) { + DBTEAMLOGClassificationCreateReportFailDetails *classificationCreateReportFailDetails = + [DBTEAMLOGClassificationCreateReportFailDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithClassificationCreateReportFailDetails:classificationCreateReportFailDetails]; } else if ([tag isEqualToString:@"emm_create_exceptions_report_details"]) { DBTEAMLOGEmmCreateExceptionsReportDetails *emmCreateExceptionsReportDetails = [DBTEAMLOGEmmCreateExceptionsReportDetailsSerializer deserialize:valueDict]; @@ -19270,6 +48238,78 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGEmmCreateUsageReportDetails *emmCreateUsageReportDetails = [DBTEAMLOGEmmCreateUsageReportDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithEmmCreateUsageReportDetails:emmCreateUsageReportDetails]; + } else if ([tag isEqualToString:@"export_members_report_details"]) { + DBTEAMLOGExportMembersReportDetails *exportMembersReportDetails = + [DBTEAMLOGExportMembersReportDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithExportMembersReportDetails:exportMembersReportDetails]; + } else if ([tag isEqualToString:@"export_members_report_fail_details"]) { + DBTEAMLOGExportMembersReportFailDetails *exportMembersReportFailDetails = + [DBTEAMLOGExportMembersReportFailDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithExportMembersReportFailDetails:exportMembersReportFailDetails]; + } else if ([tag isEqualToString:@"external_sharing_create_report_details"]) { + DBTEAMLOGExternalSharingCreateReportDetails *externalSharingCreateReportDetails = + [DBTEAMLOGExternalSharingCreateReportDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithExternalSharingCreateReportDetails:externalSharingCreateReportDetails]; + } else if ([tag isEqualToString:@"external_sharing_report_failed_details"]) { + DBTEAMLOGExternalSharingReportFailedDetails *externalSharingReportFailedDetails = + [DBTEAMLOGExternalSharingReportFailedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithExternalSharingReportFailedDetails:externalSharingReportFailedDetails]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_create_report_details"]) { + DBTEAMLOGNoExpirationLinkGenCreateReportDetails *noExpirationLinkGenCreateReportDetails = + [DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoExpirationLinkGenCreateReportDetails:noExpirationLinkGenCreateReportDetails]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_report_failed_details"]) { + DBTEAMLOGNoExpirationLinkGenReportFailedDetails *noExpirationLinkGenReportFailedDetails = + [DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoExpirationLinkGenReportFailedDetails:noExpirationLinkGenReportFailedDetails]; + } else if ([tag isEqualToString:@"no_password_link_gen_create_report_details"]) { + DBTEAMLOGNoPasswordLinkGenCreateReportDetails *noPasswordLinkGenCreateReportDetails = + [DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoPasswordLinkGenCreateReportDetails:noPasswordLinkGenCreateReportDetails]; + } else if ([tag isEqualToString:@"no_password_link_gen_report_failed_details"]) { + DBTEAMLOGNoPasswordLinkGenReportFailedDetails *noPasswordLinkGenReportFailedDetails = + [DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoPasswordLinkGenReportFailedDetails:noPasswordLinkGenReportFailedDetails]; + } else if ([tag isEqualToString:@"no_password_link_view_create_report_details"]) { + DBTEAMLOGNoPasswordLinkViewCreateReportDetails *noPasswordLinkViewCreateReportDetails = + [DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoPasswordLinkViewCreateReportDetails:noPasswordLinkViewCreateReportDetails]; + } else if ([tag isEqualToString:@"no_password_link_view_report_failed_details"]) { + DBTEAMLOGNoPasswordLinkViewReportFailedDetails *noPasswordLinkViewReportFailedDetails = + [DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithNoPasswordLinkViewReportFailedDetails:noPasswordLinkViewReportFailedDetails]; + } else if ([tag isEqualToString:@"outdated_link_view_create_report_details"]) { + DBTEAMLOGOutdatedLinkViewCreateReportDetails *outdatedLinkViewCreateReportDetails = + [DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithOutdatedLinkViewCreateReportDetails:outdatedLinkViewCreateReportDetails]; + } else if ([tag isEqualToString:@"outdated_link_view_report_failed_details"]) { + DBTEAMLOGOutdatedLinkViewReportFailedDetails *outdatedLinkViewReportFailedDetails = + [DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithOutdatedLinkViewReportFailedDetails:outdatedLinkViewReportFailedDetails]; + } else if ([tag isEqualToString:@"paper_admin_export_start_details"]) { + DBTEAMLOGPaperAdminExportStartDetails *paperAdminExportStartDetails = + [DBTEAMLOGPaperAdminExportStartDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperAdminExportStartDetails:paperAdminExportStartDetails]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report_details"]) { + DBTEAMLOGRansomwareAlertCreateReportDetails *ransomwareAlertCreateReportDetails = + [DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithRansomwareAlertCreateReportDetails:ransomwareAlertCreateReportDetails]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report_failed_details"]) { + DBTEAMLOGRansomwareAlertCreateReportFailedDetails *ransomwareAlertCreateReportFailedDetails = + [DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithRansomwareAlertCreateReportFailedDetails:ransomwareAlertCreateReportFailedDetails]; } else if ([tag isEqualToString:@"smart_sync_create_admin_privilege_report_details"]) { DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *smartSyncCreateAdminPrivilegeReportDetails = [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer deserialize:valueDict]; @@ -19279,10 +48319,37 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamActivityCreateReportDetails *teamActivityCreateReportDetails = [DBTEAMLOGTeamActivityCreateReportDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamActivityCreateReportDetails:teamActivityCreateReportDetails]; + } else if ([tag isEqualToString:@"team_activity_create_report_fail_details"]) { + DBTEAMLOGTeamActivityCreateReportFailDetails *teamActivityCreateReportFailDetails = + [DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamActivityCreateReportFailDetails:teamActivityCreateReportFailDetails]; } else if ([tag isEqualToString:@"collection_share_details"]) { DBTEAMLOGCollectionShareDetails *collectionShareDetails = [DBTEAMLOGCollectionShareDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithCollectionShareDetails:collectionShareDetails]; + } else if ([tag isEqualToString:@"file_transfers_file_add_details"]) { + DBTEAMLOGFileTransfersFileAddDetails *fileTransfersFileAddDetails = + [DBTEAMLOGFileTransfersFileAddDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileTransfersFileAddDetails:fileTransfersFileAddDetails]; + } else if ([tag isEqualToString:@"file_transfers_transfer_delete_details"]) { + DBTEAMLOGFileTransfersTransferDeleteDetails *fileTransfersTransferDeleteDetails = + [DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithFileTransfersTransferDeleteDetails:fileTransfersTransferDeleteDetails]; + } else if ([tag isEqualToString:@"file_transfers_transfer_download_details"]) { + DBTEAMLOGFileTransfersTransferDownloadDetails *fileTransfersTransferDownloadDetails = + [DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithFileTransfersTransferDownloadDetails:fileTransfersTransferDownloadDetails]; + } else if ([tag isEqualToString:@"file_transfers_transfer_send_details"]) { + DBTEAMLOGFileTransfersTransferSendDetails *fileTransfersTransferSendDetails = + [DBTEAMLOGFileTransfersTransferSendDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileTransfersTransferSendDetails:fileTransfersTransferSendDetails]; + } else if ([tag isEqualToString:@"file_transfers_transfer_view_details"]) { + DBTEAMLOGFileTransfersTransferViewDetails *fileTransfersTransferViewDetails = + [DBTEAMLOGFileTransfersTransferViewDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileTransfersTransferViewDetails:fileTransfersTransferViewDetails]; } else if ([tag isEqualToString:@"note_acl_invite_only_details"]) { DBTEAMLOGNoteAclInviteOnlyDetails *noteAclInviteOnlyDetails = [DBTEAMLOGNoteAclInviteOnlyDetailsSerializer deserialize:valueDict]; @@ -19305,6 +48372,24 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGOpenNoteSharedDetails *openNoteSharedDetails = [DBTEAMLOGOpenNoteSharedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithOpenNoteSharedDetails:openNoteSharedDetails]; + } else if ([tag isEqualToString:@"replay_file_shared_link_created_details"]) { + DBTEAMLOGReplayFileSharedLinkCreatedDetails *replayFileSharedLinkCreatedDetails = + [DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithReplayFileSharedLinkCreatedDetails:replayFileSharedLinkCreatedDetails]; + } else if ([tag isEqualToString:@"replay_file_shared_link_modified_details"]) { + DBTEAMLOGReplayFileSharedLinkModifiedDetails *replayFileSharedLinkModifiedDetails = + [DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithReplayFileSharedLinkModifiedDetails:replayFileSharedLinkModifiedDetails]; + } else if ([tag isEqualToString:@"replay_project_team_add_details"]) { + DBTEAMLOGReplayProjectTeamAddDetails *replayProjectTeamAddDetails = + [DBTEAMLOGReplayProjectTeamAddDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithReplayProjectTeamAddDetails:replayProjectTeamAddDetails]; + } else if ([tag isEqualToString:@"replay_project_team_delete_details"]) { + DBTEAMLOGReplayProjectTeamDeleteDetails *replayProjectTeamDeleteDetails = + [DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithReplayProjectTeamDeleteDetails:replayProjectTeamDeleteDetails]; } else if ([tag isEqualToString:@"sf_add_group_details"]) { DBTEAMLOGSfAddGroupDetails *sfAddGroupDetails = [DBTEAMLOGSfAddGroupDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfAddGroupDetails:sfAddGroupDetails]; @@ -19313,17 +48398,24 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfAllowNonMembersToViewSharedLinksDetails:sfAllowNonMembersToViewSharedLinksDetails]; + } else if ([tag isEqualToString:@"sf_external_invite_warn_details"]) { + DBTEAMLOGSfExternalInviteWarnDetails *sfExternalInviteWarnDetails = + [DBTEAMLOGSfExternalInviteWarnDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSfExternalInviteWarnDetails:sfExternalInviteWarnDetails]; + } else if ([tag isEqualToString:@"sf_fb_invite_details"]) { + DBTEAMLOGSfFbInviteDetails *sfFbInviteDetails = [DBTEAMLOGSfFbInviteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSfFbInviteDetails:sfFbInviteDetails]; + } else if ([tag isEqualToString:@"sf_fb_invite_change_role_details"]) { + DBTEAMLOGSfFbInviteChangeRoleDetails *sfFbInviteChangeRoleDetails = + [DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSfFbInviteChangeRoleDetails:sfFbInviteChangeRoleDetails]; + } else if ([tag isEqualToString:@"sf_fb_uninvite_details"]) { + DBTEAMLOGSfFbUninviteDetails *sfFbUninviteDetails = [DBTEAMLOGSfFbUninviteDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSfFbUninviteDetails:sfFbUninviteDetails]; } else if ([tag isEqualToString:@"sf_invite_group_details"]) { DBTEAMLOGSfInviteGroupDetails *sfInviteGroupDetails = [DBTEAMLOGSfInviteGroupDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSfInviteGroupDetails:sfInviteGroupDetails]; - } else if ([tag isEqualToString:@"sf_nest_details"]) { - DBTEAMLOGSfNestDetails *sfNestDetails = [DBTEAMLOGSfNestDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithSfNestDetails:sfNestDetails]; - } else if ([tag isEqualToString:@"sf_team_decline_details"]) { - DBTEAMLOGSfTeamDeclineDetails *sfTeamDeclineDetails = - [DBTEAMLOGSfTeamDeclineDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithSfTeamDeclineDetails:sfTeamDeclineDetails]; } else if ([tag isEqualToString:@"sf_team_grant_access_details"]) { DBTEAMLOGSfTeamGrantAccessDetails *sfTeamGrantAccessDetails = [DBTEAMLOGSfTeamGrantAccessDetailsSerializer deserialize:valueDict]; @@ -19416,10 +48508,11 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRelinquishMembershipDetails:sharedContentRelinquishMembershipDetails]; - } else if ([tag isEqualToString:@"shared_content_remove_invitee_details"]) { - DBTEAMLOGSharedContentRemoveInviteeDetails *sharedContentRemoveInviteeDetails = - [DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRemoveInviteeDetails:sharedContentRemoveInviteeDetails]; + } else if ([tag isEqualToString:@"shared_content_remove_invitees_details"]) { + DBTEAMLOGSharedContentRemoveInviteesDetails *sharedContentRemoveInviteesDetails = + [DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithSharedContentRemoveInviteesDetails:sharedContentRemoveInviteesDetails]; } else if ([tag isEqualToString:@"shared_content_remove_link_expiry_details"]) { DBTEAMLOGSharedContentRemoveLinkExpiryDetails *sharedContentRemoveLinkExpiryDetails = [DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer deserialize:valueDict]; @@ -19438,6 +48531,15 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharedContentRequestAccessDetails *sharedContentRequestAccessDetails = [DBTEAMLOGSharedContentRequestAccessDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRequestAccessDetails:sharedContentRequestAccessDetails]; + } else if ([tag isEqualToString:@"shared_content_restore_invitees_details"]) { + DBTEAMLOGSharedContentRestoreInviteesDetails *sharedContentRestoreInviteesDetails = + [DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithSharedContentRestoreInviteesDetails:sharedContentRestoreInviteesDetails]; + } else if ([tag isEqualToString:@"shared_content_restore_member_details"]) { + DBTEAMLOGSharedContentRestoreMemberDetails *sharedContentRestoreMemberDetails = + [DBTEAMLOGSharedContentRestoreMemberDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedContentRestoreMemberDetails:sharedContentRestoreMemberDetails]; } else if ([tag isEqualToString:@"shared_content_unshare_details"]) { DBTEAMLOGSharedContentUnshareDetails *sharedContentUnshareDetails = [DBTEAMLOGSharedContentUnshareDetailsSerializer deserialize:valueDict]; @@ -19446,34 +48548,43 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharedContentViewDetails *sharedContentViewDetails = [DBTEAMLOGSharedContentViewDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedContentViewDetails:sharedContentViewDetails]; - } else if ([tag isEqualToString:@"shared_folder_change_confidentiality_details"]) { - DBTEAMLOGSharedFolderChangeConfidentialityDetails *sharedFolderChangeConfidentialityDetails = - [DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] - initWithSharedFolderChangeConfidentialityDetails:sharedFolderChangeConfidentialityDetails]; } else if ([tag isEqualToString:@"shared_folder_change_link_policy_details"]) { DBTEAMLOGSharedFolderChangeLinkPolicyDetails *sharedFolderChangeLinkPolicyDetails = [DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderChangeLinkPolicyDetails:sharedFolderChangeLinkPolicyDetails]; - } else if ([tag isEqualToString:@"shared_folder_change_member_management_policy_details"]) { - DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *sharedFolderChangeMemberManagementPolicyDetails = - [DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer deserialize:valueDict]; + } else if ([tag isEqualToString:@"shared_folder_change_members_inheritance_policy_details"]) { + DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *sharedFolderChangeMembersInheritancePolicyDetails = + [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedFolderChangeMembersInheritancePolicyDetails:sharedFolderChangeMembersInheritancePolicyDetails]; + } else if ([tag isEqualToString:@"shared_folder_change_members_management_policy_details"]) { + DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *sharedFolderChangeMembersManagementPolicyDetails = + [DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithSharedFolderChangeMemberManagementPolicyDetails:sharedFolderChangeMemberManagementPolicyDetails]; - } else if ([tag isEqualToString:@"shared_folder_change_member_policy_details"]) { - DBTEAMLOGSharedFolderChangeMemberPolicyDetails *sharedFolderChangeMemberPolicyDetails = - [DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer deserialize:valueDict]; + initWithSharedFolderChangeMembersManagementPolicyDetails:sharedFolderChangeMembersManagementPolicyDetails]; + } else if ([tag isEqualToString:@"shared_folder_change_members_policy_details"]) { + DBTEAMLOGSharedFolderChangeMembersPolicyDetails *sharedFolderChangeMembersPolicyDetails = + [DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] - initWithSharedFolderChangeMemberPolicyDetails:sharedFolderChangeMemberPolicyDetails]; + initWithSharedFolderChangeMembersPolicyDetails:sharedFolderChangeMembersPolicyDetails]; } else if ([tag isEqualToString:@"shared_folder_create_details"]) { DBTEAMLOGSharedFolderCreateDetails *sharedFolderCreateDetails = [DBTEAMLOGSharedFolderCreateDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderCreateDetails:sharedFolderCreateDetails]; + } else if ([tag isEqualToString:@"shared_folder_decline_invitation_details"]) { + DBTEAMLOGSharedFolderDeclineInvitationDetails *sharedFolderDeclineInvitationDetails = + [DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedFolderDeclineInvitationDetails:sharedFolderDeclineInvitationDetails]; } else if ([tag isEqualToString:@"shared_folder_mount_details"]) { DBTEAMLOGSharedFolderMountDetails *sharedFolderMountDetails = [DBTEAMLOGSharedFolderMountDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderMountDetails:sharedFolderMountDetails]; + } else if ([tag isEqualToString:@"shared_folder_nest_details"]) { + DBTEAMLOGSharedFolderNestDetails *sharedFolderNestDetails = + [DBTEAMLOGSharedFolderNestDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderNestDetails:sharedFolderNestDetails]; } else if ([tag isEqualToString:@"shared_folder_transfer_ownership_details"]) { DBTEAMLOGSharedFolderTransferOwnershipDetails *sharedFolderTransferOwnershipDetails = [DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer deserialize:valueDict]; @@ -19483,66 +48594,203 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharedFolderUnmountDetails *sharedFolderUnmountDetails = [DBTEAMLOGSharedFolderUnmountDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedFolderUnmountDetails:sharedFolderUnmountDetails]; + } else if ([tag isEqualToString:@"shared_link_add_expiry_details"]) { + DBTEAMLOGSharedLinkAddExpiryDetails *sharedLinkAddExpiryDetails = + [DBTEAMLOGSharedLinkAddExpiryDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkAddExpiryDetails:sharedLinkAddExpiryDetails]; + } else if ([tag isEqualToString:@"shared_link_change_expiry_details"]) { + DBTEAMLOGSharedLinkChangeExpiryDetails *sharedLinkChangeExpiryDetails = + [DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkChangeExpiryDetails:sharedLinkChangeExpiryDetails]; + } else if ([tag isEqualToString:@"shared_link_change_visibility_details"]) { + DBTEAMLOGSharedLinkChangeVisibilityDetails *sharedLinkChangeVisibilityDetails = + [DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkChangeVisibilityDetails:sharedLinkChangeVisibilityDetails]; + } else if ([tag isEqualToString:@"shared_link_copy_details"]) { + DBTEAMLOGSharedLinkCopyDetails *sharedLinkCopyDetails = + [DBTEAMLOGSharedLinkCopyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkCopyDetails:sharedLinkCopyDetails]; + } else if ([tag isEqualToString:@"shared_link_create_details"]) { + DBTEAMLOGSharedLinkCreateDetails *sharedLinkCreateDetails = + [DBTEAMLOGSharedLinkCreateDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkCreateDetails:sharedLinkCreateDetails]; + } else if ([tag isEqualToString:@"shared_link_disable_details"]) { + DBTEAMLOGSharedLinkDisableDetails *sharedLinkDisableDetails = + [DBTEAMLOGSharedLinkDisableDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkDisableDetails:sharedLinkDisableDetails]; + } else if ([tag isEqualToString:@"shared_link_download_details"]) { + DBTEAMLOGSharedLinkDownloadDetails *sharedLinkDownloadDetails = + [DBTEAMLOGSharedLinkDownloadDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkDownloadDetails:sharedLinkDownloadDetails]; + } else if ([tag isEqualToString:@"shared_link_remove_expiry_details"]) { + DBTEAMLOGSharedLinkRemoveExpiryDetails *sharedLinkRemoveExpiryDetails = + [DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkRemoveExpiryDetails:sharedLinkRemoveExpiryDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_add_expiration_details"]) { + DBTEAMLOGSharedLinkSettingsAddExpirationDetails *sharedLinkSettingsAddExpirationDetails = + [DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsAddExpirationDetails:sharedLinkSettingsAddExpirationDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_add_password_details"]) { + DBTEAMLOGSharedLinkSettingsAddPasswordDetails *sharedLinkSettingsAddPasswordDetails = + [DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsAddPasswordDetails:sharedLinkSettingsAddPasswordDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_disabled_details"]) { + DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *sharedLinkSettingsAllowDownloadDisabledDetails = + [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsAllowDownloadDisabledDetails:sharedLinkSettingsAllowDownloadDisabledDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_enabled_details"]) { + DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *sharedLinkSettingsAllowDownloadEnabledDetails = + [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsAllowDownloadEnabledDetails:sharedLinkSettingsAllowDownloadEnabledDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_change_audience_details"]) { + DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *sharedLinkSettingsChangeAudienceDetails = + [DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsChangeAudienceDetails:sharedLinkSettingsChangeAudienceDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_change_expiration_details"]) { + DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *sharedLinkSettingsChangeExpirationDetails = + [DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsChangeExpirationDetails:sharedLinkSettingsChangeExpirationDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_change_password_details"]) { + DBTEAMLOGSharedLinkSettingsChangePasswordDetails *sharedLinkSettingsChangePasswordDetails = + [DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsChangePasswordDetails:sharedLinkSettingsChangePasswordDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_expiration_details"]) { + DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *sharedLinkSettingsRemoveExpirationDetails = + [DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsRemoveExpirationDetails:sharedLinkSettingsRemoveExpirationDetails]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_password_details"]) { + DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *sharedLinkSettingsRemovePasswordDetails = + [DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharedLinkSettingsRemovePasswordDetails:sharedLinkSettingsRemovePasswordDetails]; + } else if ([tag isEqualToString:@"shared_link_share_details"]) { + DBTEAMLOGSharedLinkShareDetails *sharedLinkShareDetails = + [DBTEAMLOGSharedLinkShareDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkShareDetails:sharedLinkShareDetails]; + } else if ([tag isEqualToString:@"shared_link_view_details"]) { + DBTEAMLOGSharedLinkViewDetails *sharedLinkViewDetails = + [DBTEAMLOGSharedLinkViewDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharedLinkViewDetails:sharedLinkViewDetails]; } else if ([tag isEqualToString:@"shared_note_opened_details"]) { DBTEAMLOGSharedNoteOpenedDetails *sharedNoteOpenedDetails = [DBTEAMLOGSharedNoteOpenedDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharedNoteOpenedDetails:sharedNoteOpenedDetails]; - } else if ([tag isEqualToString:@"shmodel_app_create_details"]) { - DBTEAMLOGShmodelAppCreateDetails *shmodelAppCreateDetails = - [DBTEAMLOGShmodelAppCreateDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelAppCreateDetails:shmodelAppCreateDetails]; - } else if ([tag isEqualToString:@"shmodel_create_details"]) { - DBTEAMLOGShmodelCreateDetails *shmodelCreateDetails = - [DBTEAMLOGShmodelCreateDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelCreateDetails:shmodelCreateDetails]; - } else if ([tag isEqualToString:@"shmodel_disable_details"]) { - DBTEAMLOGShmodelDisableDetails *shmodelDisableDetails = - [DBTEAMLOGShmodelDisableDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelDisableDetails:shmodelDisableDetails]; - } else if ([tag isEqualToString:@"shmodel_fb_share_details"]) { - DBTEAMLOGShmodelFbShareDetails *shmodelFbShareDetails = - [DBTEAMLOGShmodelFbShareDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelFbShareDetails:shmodelFbShareDetails]; + } else if ([tag isEqualToString:@"shmodel_disable_downloads_details"]) { + DBTEAMLOGShmodelDisableDownloadsDetails *shmodelDisableDownloadsDetails = + [DBTEAMLOGShmodelDisableDownloadsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShmodelDisableDownloadsDetails:shmodelDisableDownloadsDetails]; + } else if ([tag isEqualToString:@"shmodel_enable_downloads_details"]) { + DBTEAMLOGShmodelEnableDownloadsDetails *shmodelEnableDownloadsDetails = + [DBTEAMLOGShmodelEnableDownloadsDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShmodelEnableDownloadsDetails:shmodelEnableDownloadsDetails]; } else if ([tag isEqualToString:@"shmodel_group_share_details"]) { DBTEAMLOGShmodelGroupShareDetails *shmodelGroupShareDetails = [DBTEAMLOGShmodelGroupShareDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithShmodelGroupShareDetails:shmodelGroupShareDetails]; - } else if ([tag isEqualToString:@"shmodel_remove_expiration_details"]) { - DBTEAMLOGShmodelRemoveExpirationDetails *shmodelRemoveExpirationDetails = - [DBTEAMLOGShmodelRemoveExpirationDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelRemoveExpirationDetails:shmodelRemoveExpirationDetails]; - } else if ([tag isEqualToString:@"shmodel_set_expiration_details"]) { - DBTEAMLOGShmodelSetExpirationDetails *shmodelSetExpirationDetails = - [DBTEAMLOGShmodelSetExpirationDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelSetExpirationDetails:shmodelSetExpirationDetails]; - } else if ([tag isEqualToString:@"shmodel_team_copy_details"]) { - DBTEAMLOGShmodelTeamCopyDetails *shmodelTeamCopyDetails = - [DBTEAMLOGShmodelTeamCopyDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelTeamCopyDetails:shmodelTeamCopyDetails]; - } else if ([tag isEqualToString:@"shmodel_team_download_details"]) { - DBTEAMLOGShmodelTeamDownloadDetails *shmodelTeamDownloadDetails = - [DBTEAMLOGShmodelTeamDownloadDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelTeamDownloadDetails:shmodelTeamDownloadDetails]; - } else if ([tag isEqualToString:@"shmodel_team_share_details"]) { - DBTEAMLOGShmodelTeamShareDetails *shmodelTeamShareDetails = - [DBTEAMLOGShmodelTeamShareDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelTeamShareDetails:shmodelTeamShareDetails]; - } else if ([tag isEqualToString:@"shmodel_team_view_details"]) { - DBTEAMLOGShmodelTeamViewDetails *shmodelTeamViewDetails = - [DBTEAMLOGShmodelTeamViewDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelTeamViewDetails:shmodelTeamViewDetails]; - } else if ([tag isEqualToString:@"shmodel_visibility_password_details"]) { - DBTEAMLOGShmodelVisibilityPasswordDetails *shmodelVisibilityPasswordDetails = - [DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelVisibilityPasswordDetails:shmodelVisibilityPasswordDetails]; - } else if ([tag isEqualToString:@"shmodel_visibility_public_details"]) { - DBTEAMLOGShmodelVisibilityPublicDetails *shmodelVisibilityPublicDetails = - [DBTEAMLOGShmodelVisibilityPublicDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelVisibilityPublicDetails:shmodelVisibilityPublicDetails]; - } else if ([tag isEqualToString:@"shmodel_visibility_team_only_details"]) { - DBTEAMLOGShmodelVisibilityTeamOnlyDetails *shmodelVisibilityTeamOnlyDetails = - [DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer deserialize:valueDict]; - return [[DBTEAMLOGEventDetails alloc] initWithShmodelVisibilityTeamOnlyDetails:shmodelVisibilityTeamOnlyDetails]; + } else if ([tag isEqualToString:@"showcase_access_granted_details"]) { + DBTEAMLOGShowcaseAccessGrantedDetails *showcaseAccessGrantedDetails = + [DBTEAMLOGShowcaseAccessGrantedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseAccessGrantedDetails:showcaseAccessGrantedDetails]; + } else if ([tag isEqualToString:@"showcase_add_member_details"]) { + DBTEAMLOGShowcaseAddMemberDetails *showcaseAddMemberDetails = + [DBTEAMLOGShowcaseAddMemberDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseAddMemberDetails:showcaseAddMemberDetails]; + } else if ([tag isEqualToString:@"showcase_archived_details"]) { + DBTEAMLOGShowcaseArchivedDetails *showcaseArchivedDetails = + [DBTEAMLOGShowcaseArchivedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseArchivedDetails:showcaseArchivedDetails]; + } else if ([tag isEqualToString:@"showcase_created_details"]) { + DBTEAMLOGShowcaseCreatedDetails *showcaseCreatedDetails = + [DBTEAMLOGShowcaseCreatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseCreatedDetails:showcaseCreatedDetails]; + } else if ([tag isEqualToString:@"showcase_delete_comment_details"]) { + DBTEAMLOGShowcaseDeleteCommentDetails *showcaseDeleteCommentDetails = + [DBTEAMLOGShowcaseDeleteCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseDeleteCommentDetails:showcaseDeleteCommentDetails]; + } else if ([tag isEqualToString:@"showcase_edited_details"]) { + DBTEAMLOGShowcaseEditedDetails *showcaseEditedDetails = + [DBTEAMLOGShowcaseEditedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseEditedDetails:showcaseEditedDetails]; + } else if ([tag isEqualToString:@"showcase_edit_comment_details"]) { + DBTEAMLOGShowcaseEditCommentDetails *showcaseEditCommentDetails = + [DBTEAMLOGShowcaseEditCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseEditCommentDetails:showcaseEditCommentDetails]; + } else if ([tag isEqualToString:@"showcase_file_added_details"]) { + DBTEAMLOGShowcaseFileAddedDetails *showcaseFileAddedDetails = + [DBTEAMLOGShowcaseFileAddedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseFileAddedDetails:showcaseFileAddedDetails]; + } else if ([tag isEqualToString:@"showcase_file_download_details"]) { + DBTEAMLOGShowcaseFileDownloadDetails *showcaseFileDownloadDetails = + [DBTEAMLOGShowcaseFileDownloadDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseFileDownloadDetails:showcaseFileDownloadDetails]; + } else if ([tag isEqualToString:@"showcase_file_removed_details"]) { + DBTEAMLOGShowcaseFileRemovedDetails *showcaseFileRemovedDetails = + [DBTEAMLOGShowcaseFileRemovedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseFileRemovedDetails:showcaseFileRemovedDetails]; + } else if ([tag isEqualToString:@"showcase_file_view_details"]) { + DBTEAMLOGShowcaseFileViewDetails *showcaseFileViewDetails = + [DBTEAMLOGShowcaseFileViewDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseFileViewDetails:showcaseFileViewDetails]; + } else if ([tag isEqualToString:@"showcase_permanently_deleted_details"]) { + DBTEAMLOGShowcasePermanentlyDeletedDetails *showcasePermanentlyDeletedDetails = + [DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcasePermanentlyDeletedDetails:showcasePermanentlyDeletedDetails]; + } else if ([tag isEqualToString:@"showcase_post_comment_details"]) { + DBTEAMLOGShowcasePostCommentDetails *showcasePostCommentDetails = + [DBTEAMLOGShowcasePostCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcasePostCommentDetails:showcasePostCommentDetails]; + } else if ([tag isEqualToString:@"showcase_remove_member_details"]) { + DBTEAMLOGShowcaseRemoveMemberDetails *showcaseRemoveMemberDetails = + [DBTEAMLOGShowcaseRemoveMemberDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseRemoveMemberDetails:showcaseRemoveMemberDetails]; + } else if ([tag isEqualToString:@"showcase_renamed_details"]) { + DBTEAMLOGShowcaseRenamedDetails *showcaseRenamedDetails = + [DBTEAMLOGShowcaseRenamedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseRenamedDetails:showcaseRenamedDetails]; + } else if ([tag isEqualToString:@"showcase_request_access_details"]) { + DBTEAMLOGShowcaseRequestAccessDetails *showcaseRequestAccessDetails = + [DBTEAMLOGShowcaseRequestAccessDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseRequestAccessDetails:showcaseRequestAccessDetails]; + } else if ([tag isEqualToString:@"showcase_resolve_comment_details"]) { + DBTEAMLOGShowcaseResolveCommentDetails *showcaseResolveCommentDetails = + [DBTEAMLOGShowcaseResolveCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseResolveCommentDetails:showcaseResolveCommentDetails]; + } else if ([tag isEqualToString:@"showcase_restored_details"]) { + DBTEAMLOGShowcaseRestoredDetails *showcaseRestoredDetails = + [DBTEAMLOGShowcaseRestoredDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseRestoredDetails:showcaseRestoredDetails]; + } else if ([tag isEqualToString:@"showcase_trashed_details"]) { + DBTEAMLOGShowcaseTrashedDetails *showcaseTrashedDetails = + [DBTEAMLOGShowcaseTrashedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseTrashedDetails:showcaseTrashedDetails]; + } else if ([tag isEqualToString:@"showcase_trashed_deprecated_details"]) { + DBTEAMLOGShowcaseTrashedDeprecatedDetails *showcaseTrashedDeprecatedDetails = + [DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseTrashedDeprecatedDetails:showcaseTrashedDeprecatedDetails]; + } else if ([tag isEqualToString:@"showcase_unresolve_comment_details"]) { + DBTEAMLOGShowcaseUnresolveCommentDetails *showcaseUnresolveCommentDetails = + [DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseUnresolveCommentDetails:showcaseUnresolveCommentDetails]; + } else if ([tag isEqualToString:@"showcase_untrashed_details"]) { + DBTEAMLOGShowcaseUntrashedDetails *showcaseUntrashedDetails = + [DBTEAMLOGShowcaseUntrashedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseUntrashedDetails:showcaseUntrashedDetails]; + } else if ([tag isEqualToString:@"showcase_untrashed_deprecated_details"]) { + DBTEAMLOGShowcaseUntrashedDeprecatedDetails *showcaseUntrashedDeprecatedDetails = + [DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithShowcaseUntrashedDeprecatedDetails:showcaseUntrashedDeprecatedDetails]; + } else if ([tag isEqualToString:@"showcase_view_details"]) { + DBTEAMLOGShowcaseViewDetails *showcaseViewDetails = [DBTEAMLOGShowcaseViewDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithShowcaseViewDetails:showcaseViewDetails]; } else if ([tag isEqualToString:@"sso_add_cert_details"]) { DBTEAMLOGSsoAddCertDetails *ssoAddCertDetails = [DBTEAMLOGSsoAddCertDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoAddCertDetails:ssoAddCertDetails]; @@ -19603,10 +48851,19 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamFolderRenameDetails *teamFolderRenameDetails = [DBTEAMLOGTeamFolderRenameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamFolderRenameDetails:teamFolderRenameDetails]; + } else if ([tag isEqualToString:@"team_selective_sync_settings_changed_details"]) { + DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *teamSelectiveSyncSettingsChangedDetails = + [DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamSelectiveSyncSettingsChangedDetails:teamSelectiveSyncSettingsChangedDetails]; } else if ([tag isEqualToString:@"account_capture_change_policy_details"]) { DBTEAMLOGAccountCaptureChangePolicyDetails *accountCaptureChangePolicyDetails = [DBTEAMLOGAccountCaptureChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAccountCaptureChangePolicyDetails:accountCaptureChangePolicyDetails]; + } else if ([tag isEqualToString:@"admin_email_reminders_changed_details"]) { + DBTEAMLOGAdminEmailRemindersChangedDetails *adminEmailRemindersChangedDetails = + [DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithAdminEmailRemindersChangedDetails:adminEmailRemindersChangedDetails]; } else if ([tag isEqualToString:@"allow_download_disabled_details"]) { DBTEAMLOGAllowDownloadDisabledDetails *allowDownloadDisabledDetails = [DBTEAMLOGAllowDownloadDisabledDetailsSerializer deserialize:valueDict]; @@ -19615,6 +48872,33 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGAllowDownloadEnabledDetails *allowDownloadEnabledDetails = [DBTEAMLOGAllowDownloadEnabledDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithAllowDownloadEnabledDetails:allowDownloadEnabledDetails]; + } else if ([tag isEqualToString:@"app_permissions_changed_details"]) { + DBTEAMLOGAppPermissionsChangedDetails *appPermissionsChangedDetails = + [DBTEAMLOGAppPermissionsChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithAppPermissionsChangedDetails:appPermissionsChangedDetails]; + } else if ([tag isEqualToString:@"camera_uploads_policy_changed_details"]) { + DBTEAMLOGCameraUploadsPolicyChangedDetails *cameraUploadsPolicyChangedDetails = + [DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithCameraUploadsPolicyChangedDetails:cameraUploadsPolicyChangedDetails]; + } else if ([tag isEqualToString:@"capture_transcript_policy_changed_details"]) { + DBTEAMLOGCaptureTranscriptPolicyChangedDetails *captureTranscriptPolicyChangedDetails = + [DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithCaptureTranscriptPolicyChangedDetails:captureTranscriptPolicyChangedDetails]; + } else if ([tag isEqualToString:@"classification_change_policy_details"]) { + DBTEAMLOGClassificationChangePolicyDetails *classificationChangePolicyDetails = + [DBTEAMLOGClassificationChangePolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithClassificationChangePolicyDetails:classificationChangePolicyDetails]; + } else if ([tag isEqualToString:@"computer_backup_policy_changed_details"]) { + DBTEAMLOGComputerBackupPolicyChangedDetails *computerBackupPolicyChangedDetails = + [DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithComputerBackupPolicyChangedDetails:computerBackupPolicyChangedDetails]; + } else if ([tag isEqualToString:@"content_administration_policy_changed_details"]) { + DBTEAMLOGContentAdministrationPolicyChangedDetails *contentAdministrationPolicyChangedDetails = + [DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithContentAdministrationPolicyChangedDetails:contentAdministrationPolicyChangedDetails]; } else if ([tag isEqualToString:@"data_placement_restriction_change_policy_details"]) { DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *dataPlacementRestrictionChangePolicyDetails = [DBTEAMLOGDataPlacementRestrictionChangePolicyDetailsSerializer deserialize:valueDict]; @@ -19625,6 +48909,11 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDataPlacementRestrictionSatisfyPolicyDetails:dataPlacementRestrictionSatisfyPolicyDetails]; + } else if ([tag isEqualToString:@"device_approvals_add_exception_details"]) { + DBTEAMLOGDeviceApprovalsAddExceptionDetails *deviceApprovalsAddExceptionDetails = + [DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithDeviceApprovalsAddExceptionDetails:deviceApprovalsAddExceptionDetails]; } else if ([tag isEqualToString:@"device_approvals_change_desktop_policy_details"]) { DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *deviceApprovalsChangeDesktopPolicyDetails = [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetailsSerializer deserialize:valueDict]; @@ -19645,6 +48934,30 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithDeviceApprovalsChangeUnlinkActionDetails:deviceApprovalsChangeUnlinkActionDetails]; + } else if ([tag isEqualToString:@"device_approvals_remove_exception_details"]) { + DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *deviceApprovalsRemoveExceptionDetails = + [DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDeviceApprovalsRemoveExceptionDetails:deviceApprovalsRemoveExceptionDetails]; + } else if ([tag isEqualToString:@"directory_restrictions_add_members_details"]) { + DBTEAMLOGDirectoryRestrictionsAddMembersDetails *directoryRestrictionsAddMembersDetails = + [DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDirectoryRestrictionsAddMembersDetails:directoryRestrictionsAddMembersDetails]; + } else if ([tag isEqualToString:@"directory_restrictions_remove_members_details"]) { + DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *directoryRestrictionsRemoveMembersDetails = + [DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDirectoryRestrictionsRemoveMembersDetails:directoryRestrictionsRemoveMembersDetails]; + } else if ([tag isEqualToString:@"dropbox_passwords_policy_changed_details"]) { + DBTEAMLOGDropboxPasswordsPolicyChangedDetails *dropboxPasswordsPolicyChangedDetails = + [DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDropboxPasswordsPolicyChangedDetails:dropboxPasswordsPolicyChangedDetails]; + } else if ([tag isEqualToString:@"email_ingest_policy_changed_details"]) { + DBTEAMLOGEmailIngestPolicyChangedDetails *emailIngestPolicyChangedDetails = + [DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithEmailIngestPolicyChangedDetails:emailIngestPolicyChangedDetails]; } else if ([tag isEqualToString:@"emm_add_exception_details"]) { DBTEAMLOGEmmAddExceptionDetails *emmAddExceptionDetails = [DBTEAMLOGEmmAddExceptionDetailsSerializer deserialize:valueDict]; @@ -19662,10 +48975,24 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithExtendedVersionHistoryChangePolicyDetails:extendedVersionHistoryChangePolicyDetails]; + } else if ([tag isEqualToString:@"external_drive_backup_policy_changed_details"]) { + DBTEAMLOGExternalDriveBackupPolicyChangedDetails *externalDriveBackupPolicyChangedDetails = + [DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithExternalDriveBackupPolicyChangedDetails:externalDriveBackupPolicyChangedDetails]; } else if ([tag isEqualToString:@"file_comments_change_policy_details"]) { DBTEAMLOGFileCommentsChangePolicyDetails *fileCommentsChangePolicyDetails = [DBTEAMLOGFileCommentsChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileCommentsChangePolicyDetails:fileCommentsChangePolicyDetails]; + } else if ([tag isEqualToString:@"file_locking_policy_changed_details"]) { + DBTEAMLOGFileLockingPolicyChangedDetails *fileLockingPolicyChangedDetails = + [DBTEAMLOGFileLockingPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileLockingPolicyChangedDetails:fileLockingPolicyChangedDetails]; + } else if ([tag isEqualToString:@"file_provider_migration_policy_changed_details"]) { + DBTEAMLOGFileProviderMigrationPolicyChangedDetails *fileProviderMigrationPolicyChangedDetails = + [DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithFileProviderMigrationPolicyChangedDetails:fileProviderMigrationPolicyChangedDetails]; } else if ([tag isEqualToString:@"file_requests_change_policy_details"]) { DBTEAMLOGFileRequestsChangePolicyDetails *fileRequestsChangePolicyDetails = [DBTEAMLOGFileRequestsChangePolicyDetailsSerializer deserialize:valueDict]; @@ -19679,6 +49006,15 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithFileRequestsEmailsRestrictedToTeamOnlyDetails:fileRequestsEmailsRestrictedToTeamOnlyDetails]; + } else if ([tag isEqualToString:@"file_transfers_policy_changed_details"]) { + DBTEAMLOGFileTransfersPolicyChangedDetails *fileTransfersPolicyChangedDetails = + [DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithFileTransfersPolicyChangedDetails:fileTransfersPolicyChangedDetails]; + } else if ([tag isEqualToString:@"folder_link_restriction_policy_changed_details"]) { + DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *folderLinkRestrictionPolicyChangedDetails = + [DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithFolderLinkRestrictionPolicyChangedDetails:folderLinkRestrictionPolicyChangedDetails]; } else if ([tag isEqualToString:@"google_sso_change_policy_details"]) { DBTEAMLOGGoogleSsoChangePolicyDetails *googleSsoChangePolicyDetails = [DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer deserialize:valueDict]; @@ -19688,15 +49024,34 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithGroupUserManagementChangePolicyDetails:groupUserManagementChangePolicyDetails]; + } else if ([tag isEqualToString:@"integration_policy_changed_details"]) { + DBTEAMLOGIntegrationPolicyChangedDetails *integrationPolicyChangedDetails = + [DBTEAMLOGIntegrationPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithIntegrationPolicyChangedDetails:integrationPolicyChangedDetails]; + } else if ([tag isEqualToString:@"invite_acceptance_email_policy_changed_details"]) { + DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *inviteAcceptanceEmailPolicyChangedDetails = + [DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithInviteAcceptanceEmailPolicyChangedDetails:inviteAcceptanceEmailPolicyChangedDetails]; } else if ([tag isEqualToString:@"member_requests_change_policy_details"]) { DBTEAMLOGMemberRequestsChangePolicyDetails *memberRequestsChangePolicyDetails = [DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberRequestsChangePolicyDetails:memberRequestsChangePolicyDetails]; + } else if ([tag isEqualToString:@"member_send_invite_policy_changed_details"]) { + DBTEAMLOGMemberSendInvitePolicyChangedDetails *memberSendInvitePolicyChangedDetails = + [DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSendInvitePolicyChangedDetails:memberSendInvitePolicyChangedDetails]; } else if ([tag isEqualToString:@"member_space_limits_add_exception_details"]) { DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *memberSpaceLimitsAddExceptionDetails = [DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMemberSpaceLimitsAddExceptionDetails:memberSpaceLimitsAddExceptionDetails]; + } else if ([tag isEqualToString:@"member_space_limits_change_caps_type_policy_details"]) { + DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *memberSpaceLimitsChangeCapsTypePolicyDetails = + [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithMemberSpaceLimitsChangeCapsTypePolicyDetails:memberSpaceLimitsChangeCapsTypePolicyDetails]; } else if ([tag isEqualToString:@"member_space_limits_change_policy_details"]) { DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *memberSpaceLimitsChangePolicyDetails = [DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer deserialize:valueDict]; @@ -19739,16 +49094,69 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGPaperChangePolicyDetails *paperChangePolicyDetails = [DBTEAMLOGPaperChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPaperChangePolicyDetails:paperChangePolicyDetails]; + } else if ([tag isEqualToString:@"paper_default_folder_policy_changed_details"]) { + DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *paperDefaultFolderPolicyChangedDetails = + [DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithPaperDefaultFolderPolicyChangedDetails:paperDefaultFolderPolicyChangedDetails]; + } else if ([tag isEqualToString:@"paper_desktop_policy_changed_details"]) { + DBTEAMLOGPaperDesktopPolicyChangedDetails *paperDesktopPolicyChangedDetails = + [DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithPaperDesktopPolicyChangedDetails:paperDesktopPolicyChangedDetails]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_addition_details"]) { + DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *paperEnabledUsersGroupAdditionDetails = + [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithPaperEnabledUsersGroupAdditionDetails:paperEnabledUsersGroupAdditionDetails]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_removal_details"]) { + DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *paperEnabledUsersGroupRemovalDetails = + [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithPaperEnabledUsersGroupRemovalDetails:paperEnabledUsersGroupRemovalDetails]; + } else if ([tag isEqualToString:@"password_strength_requirements_change_policy_details"]) { + DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *passwordStrengthRequirementsChangePolicyDetails = + [DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithPasswordStrengthRequirementsChangePolicyDetails:passwordStrengthRequirementsChangePolicyDetails]; } else if ([tag isEqualToString:@"permanent_delete_change_policy_details"]) { DBTEAMLOGPermanentDeleteChangePolicyDetails *permanentDeleteChangePolicyDetails = [DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithPermanentDeleteChangePolicyDetails:permanentDeleteChangePolicyDetails]; + } else if ([tag isEqualToString:@"reseller_support_change_policy_details"]) { + DBTEAMLOGResellerSupportChangePolicyDetails *resellerSupportChangePolicyDetails = + [DBTEAMLOGResellerSupportChangePolicyDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithResellerSupportChangePolicyDetails:resellerSupportChangePolicyDetails]; + } else if ([tag isEqualToString:@"rewind_policy_changed_details"]) { + DBTEAMLOGRewindPolicyChangedDetails *rewindPolicyChangedDetails = + [DBTEAMLOGRewindPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithRewindPolicyChangedDetails:rewindPolicyChangedDetails]; + } else if ([tag isEqualToString:@"send_for_signature_policy_changed_details"]) { + DBTEAMLOGSendForSignaturePolicyChangedDetails *sendForSignaturePolicyChangedDetails = + [DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSendForSignaturePolicyChangedDetails:sendForSignaturePolicyChangedDetails]; } else if ([tag isEqualToString:@"sharing_change_folder_join_policy_details"]) { DBTEAMLOGSharingChangeFolderJoinPolicyDetails *sharingChangeFolderJoinPolicyDetails = [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharingChangeFolderJoinPolicyDetails:sharingChangeFolderJoinPolicyDetails]; + } else if ([tag isEqualToString:@"sharing_change_link_allow_change_expiration_policy_details"]) { + DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *sharingChangeLinkAllowChangeExpirationPolicyDetails = + [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithSharingChangeLinkAllowChangeExpirationPolicyDetails: + sharingChangeLinkAllowChangeExpirationPolicyDetails]; + } else if ([tag isEqualToString:@"sharing_change_link_default_expiration_policy_details"]) { + DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *sharingChangeLinkDefaultExpirationPolicyDetails = + [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharingChangeLinkDefaultExpirationPolicyDetails:sharingChangeLinkDefaultExpirationPolicyDetails]; + } else if ([tag isEqualToString:@"sharing_change_link_enforce_password_policy_details"]) { + DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *sharingChangeLinkEnforcePasswordPolicyDetails = + [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSharingChangeLinkEnforcePasswordPolicyDetails:sharingChangeLinkEnforcePasswordPolicyDetails]; } else if ([tag isEqualToString:@"sharing_change_link_policy_details"]) { DBTEAMLOGSharingChangeLinkPolicyDetails *sharingChangeLinkPolicyDetails = [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer deserialize:valueDict]; @@ -19757,6 +49165,26 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSharingChangeMemberPolicyDetails *sharingChangeMemberPolicyDetails = [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSharingChangeMemberPolicyDetails:sharingChangeMemberPolicyDetails]; + } else if ([tag isEqualToString:@"showcase_change_download_policy_details"]) { + DBTEAMLOGShowcaseChangeDownloadPolicyDetails *showcaseChangeDownloadPolicyDetails = + [DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithShowcaseChangeDownloadPolicyDetails:showcaseChangeDownloadPolicyDetails]; + } else if ([tag isEqualToString:@"showcase_change_enabled_policy_details"]) { + DBTEAMLOGShowcaseChangeEnabledPolicyDetails *showcaseChangeEnabledPolicyDetails = + [DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithShowcaseChangeEnabledPolicyDetails:showcaseChangeEnabledPolicyDetails]; + } else if ([tag isEqualToString:@"showcase_change_external_sharing_policy_details"]) { + DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *showcaseChangeExternalSharingPolicyDetails = + [DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithShowcaseChangeExternalSharingPolicyDetails:showcaseChangeExternalSharingPolicyDetails]; + } else if ([tag isEqualToString:@"smarter_smart_sync_policy_changed_details"]) { + DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *smarterSmartSyncPolicyChangedDetails = + [DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithSmarterSmartSyncPolicyChangedDetails:smarterSmartSyncPolicyChangedDetails]; } else if ([tag isEqualToString:@"smart_sync_change_policy_details"]) { DBTEAMLOGSmartSyncChangePolicyDetails *smartSyncChangePolicyDetails = [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer deserialize:valueDict]; @@ -19773,14 +49201,54 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGSsoChangePolicyDetails *ssoChangePolicyDetails = [DBTEAMLOGSsoChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithSsoChangePolicyDetails:ssoChangePolicyDetails]; + } else if ([tag isEqualToString:@"team_branding_policy_changed_details"]) { + DBTEAMLOGTeamBrandingPolicyChangedDetails *teamBrandingPolicyChangedDetails = + [DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamBrandingPolicyChangedDetails:teamBrandingPolicyChangedDetails]; + } else if ([tag isEqualToString:@"team_extensions_policy_changed_details"]) { + DBTEAMLOGTeamExtensionsPolicyChangedDetails *teamExtensionsPolicyChangedDetails = + [DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamExtensionsPolicyChangedDetails:teamExtensionsPolicyChangedDetails]; + } else if ([tag isEqualToString:@"team_selective_sync_policy_changed_details"]) { + DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *teamSelectiveSyncPolicyChangedDetails = + [DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamSelectiveSyncPolicyChangedDetails:teamSelectiveSyncPolicyChangedDetails]; + } else if ([tag isEqualToString:@"team_sharing_whitelist_subjects_changed_details"]) { + DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *teamSharingWhitelistSubjectsChangedDetails = + [DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamSharingWhitelistSubjectsChangedDetails:teamSharingWhitelistSubjectsChangedDetails]; + } else if ([tag isEqualToString:@"tfa_add_exception_details"]) { + DBTEAMLOGTfaAddExceptionDetails *tfaAddExceptionDetails = + [DBTEAMLOGTfaAddExceptionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTfaAddExceptionDetails:tfaAddExceptionDetails]; } else if ([tag isEqualToString:@"tfa_change_policy_details"]) { DBTEAMLOGTfaChangePolicyDetails *tfaChangePolicyDetails = [DBTEAMLOGTfaChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaChangePolicyDetails:tfaChangePolicyDetails]; + } else if ([tag isEqualToString:@"tfa_remove_exception_details"]) { + DBTEAMLOGTfaRemoveExceptionDetails *tfaRemoveExceptionDetails = + [DBTEAMLOGTfaRemoveExceptionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTfaRemoveExceptionDetails:tfaRemoveExceptionDetails]; } else if ([tag isEqualToString:@"two_account_change_policy_details"]) { DBTEAMLOGTwoAccountChangePolicyDetails *twoAccountChangePolicyDetails = [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTwoAccountChangePolicyDetails:twoAccountChangePolicyDetails]; + } else if ([tag isEqualToString:@"viewer_info_policy_changed_details"]) { + DBTEAMLOGViewerInfoPolicyChangedDetails *viewerInfoPolicyChangedDetails = + [DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithViewerInfoPolicyChangedDetails:viewerInfoPolicyChangedDetails]; + } else if ([tag isEqualToString:@"watermarking_policy_changed_details"]) { + DBTEAMLOGWatermarkingPolicyChangedDetails *watermarkingPolicyChangedDetails = + [DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithWatermarkingPolicyChangedDetails:watermarkingPolicyChangedDetails]; + } else if ([tag isEqualToString:@"web_sessions_change_active_session_limit_details"]) { + DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *webSessionsChangeActiveSessionLimitDetails = + [DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithWebSessionsChangeActiveSessionLimitDetails:webSessionsChangeActiveSessionLimitDetails]; } else if ([tag isEqualToString:@"web_sessions_change_fixed_length_policy_details"]) { DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *webSessionsChangeFixedLengthPolicyDetails = [DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer deserialize:valueDict]; @@ -19791,10 +49259,36 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { [DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithWebSessionsChangeIdleLengthPolicyDetails:webSessionsChangeIdleLengthPolicyDetails]; + } else if ([tag isEqualToString:@"data_residency_migration_request_successful_details"]) { + DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *dataResidencyMigrationRequestSuccessfulDetails = + [DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDataResidencyMigrationRequestSuccessfulDetails:dataResidencyMigrationRequestSuccessfulDetails]; + } else if ([tag isEqualToString:@"data_residency_migration_request_unsuccessful_details"]) { + DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *dataResidencyMigrationRequestUnsuccessfulDetails = + [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithDataResidencyMigrationRequestUnsuccessfulDetails:dataResidencyMigrationRequestUnsuccessfulDetails]; + } else if ([tag isEqualToString:@"team_merge_from_details"]) { + DBTEAMLOGTeamMergeFromDetails *teamMergeFromDetails = + [DBTEAMLOGTeamMergeFromDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeFromDetails:teamMergeFromDetails]; + } else if ([tag isEqualToString:@"team_merge_to_details"]) { + DBTEAMLOGTeamMergeToDetails *teamMergeToDetails = [DBTEAMLOGTeamMergeToDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeToDetails:teamMergeToDetails]; + } else if ([tag isEqualToString:@"team_profile_add_background_details"]) { + DBTEAMLOGTeamProfileAddBackgroundDetails *teamProfileAddBackgroundDetails = + [DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileAddBackgroundDetails:teamProfileAddBackgroundDetails]; } else if ([tag isEqualToString:@"team_profile_add_logo_details"]) { DBTEAMLOGTeamProfileAddLogoDetails *teamProfileAddLogoDetails = [DBTEAMLOGTeamProfileAddLogoDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileAddLogoDetails:teamProfileAddLogoDetails]; + } else if ([tag isEqualToString:@"team_profile_change_background_details"]) { + DBTEAMLOGTeamProfileChangeBackgroundDetails *teamProfileChangeBackgroundDetails = + [DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamProfileChangeBackgroundDetails:teamProfileChangeBackgroundDetails]; } else if ([tag isEqualToString:@"team_profile_change_default_language_details"]) { DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *teamProfileChangeDefaultLanguageDetails = [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer deserialize:valueDict]; @@ -19808,6 +49302,11 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGTeamProfileChangeNameDetails *teamProfileChangeNameDetails = [DBTEAMLOGTeamProfileChangeNameDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTeamProfileChangeNameDetails:teamProfileChangeNameDetails]; + } else if ([tag isEqualToString:@"team_profile_remove_background_details"]) { + DBTEAMLOGTeamProfileRemoveBackgroundDetails *teamProfileRemoveBackgroundDetails = + [DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamProfileRemoveBackgroundDetails:teamProfileRemoveBackgroundDetails]; } else if ([tag isEqualToString:@"team_profile_remove_logo_details"]) { DBTEAMLOGTeamProfileRemoveLogoDetails *teamProfileRemoveLogoDetails = [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer deserialize:valueDict]; @@ -19839,6 +49338,123 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } else if ([tag isEqualToString:@"tfa_reset_details"]) { DBTEAMLOGTfaResetDetails *tfaResetDetails = [DBTEAMLOGTfaResetDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithTfaResetDetails:tfaResetDetails]; + } else if ([tag isEqualToString:@"changed_enterprise_admin_role_details"]) { + DBTEAMLOGChangedEnterpriseAdminRoleDetails *changedEnterpriseAdminRoleDetails = + [DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithChangedEnterpriseAdminRoleDetails:changedEnterpriseAdminRoleDetails]; + } else if ([tag isEqualToString:@"changed_enterprise_connected_team_status_details"]) { + DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *changedEnterpriseConnectedTeamStatusDetails = + [DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithChangedEnterpriseConnectedTeamStatusDetails:changedEnterpriseConnectedTeamStatusDetails]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session_details"]) { + DBTEAMLOGEndedEnterpriseAdminSessionDetails *endedEnterpriseAdminSessionDetails = + [DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithEndedEnterpriseAdminSessionDetails:endedEnterpriseAdminSessionDetails]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session_deprecated_details"]) { + DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *endedEnterpriseAdminSessionDeprecatedDetails = + [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithEndedEnterpriseAdminSessionDeprecatedDetails:endedEnterpriseAdminSessionDeprecatedDetails]; + } else if ([tag isEqualToString:@"enterprise_settings_locking_details"]) { + DBTEAMLOGEnterpriseSettingsLockingDetails *enterpriseSettingsLockingDetails = + [DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithEnterpriseSettingsLockingDetails:enterpriseSettingsLockingDetails]; + } else if ([tag isEqualToString:@"guest_admin_change_status_details"]) { + DBTEAMLOGGuestAdminChangeStatusDetails *guestAdminChangeStatusDetails = + [DBTEAMLOGGuestAdminChangeStatusDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithGuestAdminChangeStatusDetails:guestAdminChangeStatusDetails]; + } else if ([tag isEqualToString:@"started_enterprise_admin_session_details"]) { + DBTEAMLOGStartedEnterpriseAdminSessionDetails *startedEnterpriseAdminSessionDetails = + [DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithStartedEnterpriseAdminSessionDetails:startedEnterpriseAdminSessionDetails]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_details"]) { + DBTEAMLOGTeamMergeRequestAcceptedDetails *teamMergeRequestAcceptedDetails = + [DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestAcceptedDetails:teamMergeRequestAcceptedDetails]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *teamMergeRequestAcceptedShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestAcceptedShownToPrimaryTeamDetails:teamMergeRequestAcceptedShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *teamMergeRequestAcceptedShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + teamMergeRequestAcceptedShownToSecondaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_auto_canceled_details"]) { + DBTEAMLOGTeamMergeRequestAutoCanceledDetails *teamMergeRequestAutoCanceledDetails = + [DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestAutoCanceledDetails:teamMergeRequestAutoCanceledDetails]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_details"]) { + DBTEAMLOGTeamMergeRequestCanceledDetails *teamMergeRequestCanceledDetails = + [DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestCanceledDetails:teamMergeRequestCanceledDetails]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *teamMergeRequestCanceledShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestCanceledShownToPrimaryTeamDetails:teamMergeRequestCanceledShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *teamMergeRequestCanceledShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestCanceledShownToSecondaryTeamDetails: + teamMergeRequestCanceledShownToSecondaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_expired_details"]) { + DBTEAMLOGTeamMergeRequestExpiredDetails *teamMergeRequestExpiredDetails = + [DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestExpiredDetails:teamMergeRequestExpiredDetails]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *teamMergeRequestExpiredShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestExpiredShownToPrimaryTeamDetails:teamMergeRequestExpiredShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *teamMergeRequestExpiredShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestExpiredShownToSecondaryTeamDetails:teamMergeRequestExpiredShownToSecondaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *teamMergeRequestRejectedShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestRejectedShownToPrimaryTeamDetails:teamMergeRequestRejectedShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *teamMergeRequestRejectedShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestRejectedShownToSecondaryTeamDetails: + teamMergeRequestRejectedShownToSecondaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_details"]) { + DBTEAMLOGTeamMergeRequestReminderDetails *teamMergeRequestReminderDetails = + [DBTEAMLOGTeamMergeRequestReminderDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestReminderDetails:teamMergeRequestReminderDetails]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *teamMergeRequestReminderShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestReminderShownToPrimaryTeamDetails:teamMergeRequestReminderShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *teamMergeRequestReminderShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestReminderShownToSecondaryTeamDetails: + teamMergeRequestReminderShownToSecondaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_revoked_details"]) { + DBTEAMLOGTeamMergeRequestRevokedDetails *teamMergeRequestRevokedDetails = + [DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] initWithTeamMergeRequestRevokedDetails:teamMergeRequestRevokedDetails]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_primary_team_details"]) { + DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *teamMergeRequestSentShownToPrimaryTeamDetails = + [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestSentShownToPrimaryTeamDetails:teamMergeRequestSentShownToPrimaryTeamDetails]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_secondary_team_details"]) { + DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *teamMergeRequestSentShownToSecondaryTeamDetails = + [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventDetails alloc] + initWithTeamMergeRequestSentShownToSecondaryTeamDetails:teamMergeRequestSentShownToSecondaryTeamDetails]; } else if ([tag isEqualToString:@"missing_details"]) { DBTEAMLOGMissingDetails *missingDetails = [DBTEAMLOGMissingDetailsSerializer deserialize:valueDict]; return [[DBTEAMLOGEventDetails alloc] initWithMissingDetails:missingDetails]; @@ -19849,2240 +49465,10079 @@ + (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)valueDict { } } -@end +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccountCaptureChangeAvailabilityType.h" +#import "DBTEAMLOGAccountCaptureChangePolicyType.h" +#import "DBTEAMLOGAccountCaptureMigrateAccountType.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentType.h" +#import "DBTEAMLOGAccountCaptureRelinquishAccountType.h" +#import "DBTEAMLOGAccountLockOrUnlockedType.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedType.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigType.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertType.h" +#import "DBTEAMLOGAdminEmailRemindersChangedType.h" +#import "DBTEAMLOGAllowDownloadDisabledType.h" +#import "DBTEAMLOGAllowDownloadEnabledType.h" +#import "DBTEAMLOGAppBlockedByPermissionsType.h" +#import "DBTEAMLOGAppLinkTeamType.h" +#import "DBTEAMLOGAppLinkUserType.h" +#import "DBTEAMLOGAppPermissionsChangedType.h" +#import "DBTEAMLOGAppUnlinkTeamType.h" +#import "DBTEAMLOGAppUnlinkUserType.h" +#import "DBTEAMLOGApplyNamingConventionType.h" +#import "DBTEAMLOGBackupAdminInvitationSentType.h" +#import "DBTEAMLOGBackupInvitationOpenedType.h" +#import "DBTEAMLOGBinderAddPageType.h" +#import "DBTEAMLOGBinderAddSectionType.h" +#import "DBTEAMLOGBinderRemovePageType.h" +#import "DBTEAMLOGBinderRemoveSectionType.h" +#import "DBTEAMLOGBinderRenamePageType.h" +#import "DBTEAMLOGBinderRenameSectionType.h" +#import "DBTEAMLOGBinderReorderPageType.h" +#import "DBTEAMLOGBinderReorderSectionType.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedType.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedType.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleType.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h" +#import "DBTEAMLOGClassificationChangePolicyType.h" +#import "DBTEAMLOGClassificationCreateReportFailType.h" +#import "DBTEAMLOGClassificationCreateReportType.h" +#import "DBTEAMLOGCollectionShareType.h" +#import "DBTEAMLOGComputerBackupPolicyChangedType.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedType.h" +#import "DBTEAMLOGCreateFolderType.h" +#import "DBTEAMLOGCreateTeamInviteLinkType.h" +#import "DBTEAMLOGDataPlacementRestrictionChangePolicyType.h" +#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h" +#import "DBTEAMLOGDeleteTeamInviteLinkType.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionType.h" +#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h" +#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h" +#import "DBTEAMLOGDeviceApprovalsChangeOverageActionType.h" +#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionType.h" +#import "DBTEAMLOGDeviceChangeIpDesktopType.h" +#import "DBTEAMLOGDeviceChangeIpMobileType.h" +#import "DBTEAMLOGDeviceChangeIpWebType.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkFailType.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h" +#import "DBTEAMLOGDeviceLinkFailType.h" +#import "DBTEAMLOGDeviceLinkSuccessType.h" +#import "DBTEAMLOGDeviceManagementDisabledType.h" +#import "DBTEAMLOGDeviceManagementEnabledType.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedType.h" +#import "DBTEAMLOGDeviceUnlinkType.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersType.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h" +#import "DBTEAMLOGDisabledDomainInvitesType.h" +#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h" +#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h" +#import "DBTEAMLOGDomainInvitesEmailExistingUsersType.h" +#import "DBTEAMLOGDomainInvitesRequestToJoinTeamType.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h" +#import "DBTEAMLOGDomainVerificationAddDomainFailType.h" +#import "DBTEAMLOGDomainVerificationAddDomainSuccessType.h" +#import "DBTEAMLOGDomainVerificationRemoveDomainType.h" +#import "DBTEAMLOGDropboxPasswordsExportedType.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedType.h" +#import "DBTEAMLOGEmailIngestPolicyChangedType.h" +#import "DBTEAMLOGEmailIngestReceiveFileType.h" +#import "DBTEAMLOGEmmAddExceptionType.h" +#import "DBTEAMLOGEmmChangePolicyType.h" +#import "DBTEAMLOGEmmCreateExceptionsReportType.h" +#import "DBTEAMLOGEmmCreateUsageReportType.h" +#import "DBTEAMLOGEmmErrorType.h" +#import "DBTEAMLOGEmmRefreshAuthTokenType.h" +#import "DBTEAMLOGEmmRemoveExceptionType.h" +#import "DBTEAMLOGEnabledDomainInvitesType.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionType.h" +#import "DBTEAMLOGEnterpriseSettingsLockingType.h" +#import "DBTEAMLOGEventType.h" +#import "DBTEAMLOGExportMembersReportFailType.h" +#import "DBTEAMLOGExportMembersReportType.h" +#import "DBTEAMLOGExtendedVersionHistoryChangePolicyType.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedType.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedType.h" +#import "DBTEAMLOGExternalSharingCreateReportType.h" +#import "DBTEAMLOGExternalSharingReportFailedType.h" +#import "DBTEAMLOGFileAddCommentType.h" +#import "DBTEAMLOGFileAddFromAutomationType.h" +#import "DBTEAMLOGFileAddType.h" +#import "DBTEAMLOGFileChangeCommentSubscriptionType.h" +#import "DBTEAMLOGFileCommentsChangePolicyType.h" +#import "DBTEAMLOGFileCopyType.h" +#import "DBTEAMLOGFileDeleteCommentType.h" +#import "DBTEAMLOGFileDeleteType.h" +#import "DBTEAMLOGFileDownloadType.h" +#import "DBTEAMLOGFileEditCommentType.h" +#import "DBTEAMLOGFileEditType.h" +#import "DBTEAMLOGFileGetCopyReferenceType.h" +#import "DBTEAMLOGFileLikeCommentType.h" +#import "DBTEAMLOGFileLockingLockStatusChangedType.h" +#import "DBTEAMLOGFileLockingPolicyChangedType.h" +#import "DBTEAMLOGFileMoveType.h" +#import "DBTEAMLOGFilePermanentlyDeleteType.h" +#import "DBTEAMLOGFilePreviewType.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedType.h" +#import "DBTEAMLOGFileRenameType.h" +#import "DBTEAMLOGFileRequestChangeType.h" +#import "DBTEAMLOGFileRequestCloseType.h" +#import "DBTEAMLOGFileRequestCreateType.h" +#import "DBTEAMLOGFileRequestDeleteType.h" +#import "DBTEAMLOGFileRequestReceiveFileType.h" +#import "DBTEAMLOGFileRequestsChangePolicyType.h" +#import "DBTEAMLOGFileRequestsEmailsEnabledType.h" +#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h" +#import "DBTEAMLOGFileResolveCommentType.h" +#import "DBTEAMLOGFileRestoreType.h" +#import "DBTEAMLOGFileRevertType.h" +#import "DBTEAMLOGFileRollbackChangesType.h" +#import "DBTEAMLOGFileSaveCopyReferenceType.h" +#import "DBTEAMLOGFileTransfersFileAddType.h" +#import "DBTEAMLOGFileTransfersPolicyChangedType.h" +#import "DBTEAMLOGFileTransfersTransferDeleteType.h" +#import "DBTEAMLOGFileTransfersTransferDownloadType.h" +#import "DBTEAMLOGFileTransfersTransferSendType.h" +#import "DBTEAMLOGFileTransfersTransferViewType.h" +#import "DBTEAMLOGFileUnlikeCommentType.h" +#import "DBTEAMLOGFileUnresolveCommentType.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedType.h" +#import "DBTEAMLOGFolderOverviewItemPinnedType.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedType.h" +#import "DBTEAMLOGGoogleSsoChangePolicyType.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedType.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersType.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedType.h" +#import "DBTEAMLOGGovernancePolicyCreateType.h" +#import "DBTEAMLOGGovernancePolicyDeleteType.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsType.h" +#import "DBTEAMLOGGovernancePolicyEditDurationType.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedType.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedType.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersType.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedType.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedType.h" +#import "DBTEAMLOGGroupAddExternalIdType.h" +#import "DBTEAMLOGGroupAddMemberType.h" +#import "DBTEAMLOGGroupChangeExternalIdType.h" +#import "DBTEAMLOGGroupChangeManagementTypeType.h" +#import "DBTEAMLOGGroupChangeMemberRoleType.h" +#import "DBTEAMLOGGroupCreateType.h" +#import "DBTEAMLOGGroupDeleteType.h" +#import "DBTEAMLOGGroupDescriptionUpdatedType.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedType.h" +#import "DBTEAMLOGGroupMovedType.h" +#import "DBTEAMLOGGroupRemoveExternalIdType.h" +#import "DBTEAMLOGGroupRemoveMemberType.h" +#import "DBTEAMLOGGroupRenameType.h" +#import "DBTEAMLOGGroupUserManagementChangePolicyType.h" +#import "DBTEAMLOGGuestAdminChangeStatusType.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h" +#import "DBTEAMLOGIntegrationConnectedType.h" +#import "DBTEAMLOGIntegrationDisconnectedType.h" +#import "DBTEAMLOGIntegrationPolicyChangedType.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldType.h" +#import "DBTEAMLOGLegalHoldsAddMembersType.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsType.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameType.h" +#import "DBTEAMLOGLegalHoldsExportAHoldType.h" +#import "DBTEAMLOGLegalHoldsExportCancelledType.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedType.h" +#import "DBTEAMLOGLegalHoldsExportRemovedType.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldType.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersType.h" +#import "DBTEAMLOGLegalHoldsReportAHoldType.h" +#import "DBTEAMLOGLoginFailType.h" +#import "DBTEAMLOGLoginSuccessType.h" +#import "DBTEAMLOGLogoutType.h" +#import "DBTEAMLOGMemberAddExternalIdType.h" +#import "DBTEAMLOGMemberAddNameType.h" +#import "DBTEAMLOGMemberChangeAdminRoleType.h" +#import "DBTEAMLOGMemberChangeEmailType.h" +#import "DBTEAMLOGMemberChangeExternalIdType.h" +#import "DBTEAMLOGMemberChangeMembershipTypeType.h" +#import "DBTEAMLOGMemberChangeNameType.h" +#import "DBTEAMLOGMemberChangeResellerRoleType.h" +#import "DBTEAMLOGMemberChangeStatusType.h" +#import "DBTEAMLOGMemberDeleteManualContactsType.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoType.h" +#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h" +#import "DBTEAMLOGMemberRemoveExternalIdType.h" +#import "DBTEAMLOGMemberRequestsChangePolicyType.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedType.h" +#import "DBTEAMLOGMemberSetProfilePhotoType.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h" +#import "DBTEAMLOGMemberSpaceLimitsAddExceptionType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangePolicyType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeStatusType.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h" +#import "DBTEAMLOGMemberSuggestType.h" +#import "DBTEAMLOGMemberSuggestionsChangePolicyType.h" +#import "DBTEAMLOGMemberTransferAccountContentsType.h" +#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h" +#import "DBTEAMLOGNetworkControlChangePolicyType.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportType.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedType.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportType.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedType.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportType.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedType.h" +#import "DBTEAMLOGNoteAclInviteOnlyType.h" +#import "DBTEAMLOGNoteAclLinkType.h" +#import "DBTEAMLOGNoteAclTeamLinkType.h" +#import "DBTEAMLOGNoteShareReceiveType.h" +#import "DBTEAMLOGNoteSharedType.h" +#import "DBTEAMLOGObjectLabelAddedType.h" +#import "DBTEAMLOGObjectLabelRemovedType.h" +#import "DBTEAMLOGObjectLabelUpdatedValueType.h" +#import "DBTEAMLOGOpenNoteSharedType.h" +#import "DBTEAMLOGOrganizeFolderWithTidyType.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportType.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedType.h" +#import "DBTEAMLOGPaperAdminExportStartType.h" +#import "DBTEAMLOGPaperChangeDeploymentPolicyType.h" +#import "DBTEAMLOGPaperChangeMemberLinkPolicyType.h" +#import "DBTEAMLOGPaperChangeMemberPolicyType.h" +#import "DBTEAMLOGPaperChangePolicyType.h" +#import "DBTEAMLOGPaperContentAddMemberType.h" +#import "DBTEAMLOGPaperContentAddToFolderType.h" +#import "DBTEAMLOGPaperContentArchiveType.h" +#import "DBTEAMLOGPaperContentCreateType.h" +#import "DBTEAMLOGPaperContentPermanentlyDeleteType.h" +#import "DBTEAMLOGPaperContentRemoveFromFolderType.h" +#import "DBTEAMLOGPaperContentRemoveMemberType.h" +#import "DBTEAMLOGPaperContentRenameType.h" +#import "DBTEAMLOGPaperContentRestoreType.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedType.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedType.h" +#import "DBTEAMLOGPaperDocAddCommentType.h" +#import "DBTEAMLOGPaperDocChangeMemberRoleType.h" +#import "DBTEAMLOGPaperDocChangeSharingPolicyType.h" +#import "DBTEAMLOGPaperDocChangeSubscriptionType.h" +#import "DBTEAMLOGPaperDocDeleteCommentType.h" +#import "DBTEAMLOGPaperDocDeletedType.h" +#import "DBTEAMLOGPaperDocDownloadType.h" +#import "DBTEAMLOGPaperDocEditCommentType.h" +#import "DBTEAMLOGPaperDocEditType.h" +#import "DBTEAMLOGPaperDocFollowedType.h" +#import "DBTEAMLOGPaperDocMentionType.h" +#import "DBTEAMLOGPaperDocOwnershipChangedType.h" +#import "DBTEAMLOGPaperDocRequestAccessType.h" +#import "DBTEAMLOGPaperDocResolveCommentType.h" +#import "DBTEAMLOGPaperDocRevertType.h" +#import "DBTEAMLOGPaperDocSlackShareType.h" +#import "DBTEAMLOGPaperDocTeamInviteType.h" +#import "DBTEAMLOGPaperDocTrashedType.h" +#import "DBTEAMLOGPaperDocUnresolveCommentType.h" +#import "DBTEAMLOGPaperDocUntrashedType.h" +#import "DBTEAMLOGPaperDocViewType.h" +#import "DBTEAMLOGPaperEnabledUsersGroupAdditionType.h" +#import "DBTEAMLOGPaperEnabledUsersGroupRemovalType.h" +#import "DBTEAMLOGPaperExternalViewAllowType.h" +#import "DBTEAMLOGPaperExternalViewDefaultTeamType.h" +#import "DBTEAMLOGPaperExternalViewForbidType.h" +#import "DBTEAMLOGPaperFolderChangeSubscriptionType.h" +#import "DBTEAMLOGPaperFolderDeletedType.h" +#import "DBTEAMLOGPaperFolderFollowedType.h" +#import "DBTEAMLOGPaperFolderTeamInviteType.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionType.h" +#import "DBTEAMLOGPaperPublishedLinkCreateType.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledType.h" +#import "DBTEAMLOGPaperPublishedLinkViewType.h" +#import "DBTEAMLOGPasswordChangeType.h" +#import "DBTEAMLOGPasswordResetAllType.h" +#import "DBTEAMLOGPasswordResetType.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedType.h" +#import "DBTEAMLOGPermanentDeleteChangePolicyType.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedType.h" +#import "DBTEAMLOGRansomwareAlertCreateReportType.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedType.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedType.h" +#import "DBTEAMLOGReplayFileDeleteType.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedType.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedType.h" +#import "DBTEAMLOGReplayProjectTeamAddType.h" +#import "DBTEAMLOGReplayProjectTeamDeleteType.h" +#import "DBTEAMLOGResellerSupportChangePolicyType.h" +#import "DBTEAMLOGResellerSupportSessionEndType.h" +#import "DBTEAMLOGResellerSupportSessionStartType.h" +#import "DBTEAMLOGRewindFolderType.h" +#import "DBTEAMLOGRewindPolicyChangedType.h" +#import "DBTEAMLOGSecondaryEmailDeletedType.h" +#import "DBTEAMLOGSecondaryEmailVerifiedType.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedType.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedType.h" +#import "DBTEAMLOGSfAddGroupType.h" +#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h" +#import "DBTEAMLOGSfExternalInviteWarnType.h" +#import "DBTEAMLOGSfFbInviteChangeRoleType.h" +#import "DBTEAMLOGSfFbInviteType.h" +#import "DBTEAMLOGSfFbUninviteType.h" +#import "DBTEAMLOGSfInviteGroupType.h" +#import "DBTEAMLOGSfTeamGrantAccessType.h" +#import "DBTEAMLOGSfTeamInviteChangeRoleType.h" +#import "DBTEAMLOGSfTeamInviteType.h" +#import "DBTEAMLOGSfTeamJoinFromOobLinkType.h" +#import "DBTEAMLOGSfTeamJoinType.h" +#import "DBTEAMLOGSfTeamUninviteType.h" +#import "DBTEAMLOGSharedContentAddInviteesType.h" +#import "DBTEAMLOGSharedContentAddLinkExpiryType.h" +#import "DBTEAMLOGSharedContentAddLinkPasswordType.h" +#import "DBTEAMLOGSharedContentAddMemberType.h" +#import "DBTEAMLOGSharedContentChangeDownloadsPolicyType.h" +#import "DBTEAMLOGSharedContentChangeInviteeRoleType.h" +#import "DBTEAMLOGSharedContentChangeLinkAudienceType.h" +#import "DBTEAMLOGSharedContentChangeLinkExpiryType.h" +#import "DBTEAMLOGSharedContentChangeLinkPasswordType.h" +#import "DBTEAMLOGSharedContentChangeMemberRoleType.h" +#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h" +#import "DBTEAMLOGSharedContentClaimInvitationType.h" +#import "DBTEAMLOGSharedContentCopyType.h" +#import "DBTEAMLOGSharedContentDownloadType.h" +#import "DBTEAMLOGSharedContentRelinquishMembershipType.h" +#import "DBTEAMLOGSharedContentRemoveInviteesType.h" +#import "DBTEAMLOGSharedContentRemoveLinkExpiryType.h" +#import "DBTEAMLOGSharedContentRemoveLinkPasswordType.h" +#import "DBTEAMLOGSharedContentRemoveMemberType.h" +#import "DBTEAMLOGSharedContentRequestAccessType.h" +#import "DBTEAMLOGSharedContentRestoreInviteesType.h" +#import "DBTEAMLOGSharedContentRestoreMemberType.h" +#import "DBTEAMLOGSharedContentUnshareType.h" +#import "DBTEAMLOGSharedContentViewType.h" +#import "DBTEAMLOGSharedFolderChangeLinkPolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyType.h" +#import "DBTEAMLOGSharedFolderCreateType.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationType.h" +#import "DBTEAMLOGSharedFolderMountType.h" +#import "DBTEAMLOGSharedFolderNestType.h" +#import "DBTEAMLOGSharedFolderTransferOwnershipType.h" +#import "DBTEAMLOGSharedFolderUnmountType.h" +#import "DBTEAMLOGSharedLinkAddExpiryType.h" +#import "DBTEAMLOGSharedLinkChangeExpiryType.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityType.h" +#import "DBTEAMLOGSharedLinkCopyType.h" +#import "DBTEAMLOGSharedLinkCreateType.h" +#import "DBTEAMLOGSharedLinkDisableType.h" +#import "DBTEAMLOGSharedLinkDownloadType.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryType.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordType.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceType.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordType.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordType.h" +#import "DBTEAMLOGSharedLinkShareType.h" +#import "DBTEAMLOGSharedLinkViewType.h" +#import "DBTEAMLOGSharedNoteOpenedType.h" +#import "DBTEAMLOGSharingChangeFolderJoinPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkPolicyType.h" +#import "DBTEAMLOGSharingChangeMemberPolicyType.h" +#import "DBTEAMLOGShmodelDisableDownloadsType.h" +#import "DBTEAMLOGShmodelEnableDownloadsType.h" +#import "DBTEAMLOGShmodelGroupShareType.h" +#import "DBTEAMLOGShowcaseAccessGrantedType.h" +#import "DBTEAMLOGShowcaseAddMemberType.h" +#import "DBTEAMLOGShowcaseArchivedType.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyType.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyType.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h" +#import "DBTEAMLOGShowcaseCreatedType.h" +#import "DBTEAMLOGShowcaseDeleteCommentType.h" +#import "DBTEAMLOGShowcaseEditCommentType.h" +#import "DBTEAMLOGShowcaseEditedType.h" +#import "DBTEAMLOGShowcaseFileAddedType.h" +#import "DBTEAMLOGShowcaseFileDownloadType.h" +#import "DBTEAMLOGShowcaseFileRemovedType.h" +#import "DBTEAMLOGShowcaseFileViewType.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedType.h" +#import "DBTEAMLOGShowcasePostCommentType.h" +#import "DBTEAMLOGShowcaseRemoveMemberType.h" +#import "DBTEAMLOGShowcaseRenamedType.h" +#import "DBTEAMLOGShowcaseRequestAccessType.h" +#import "DBTEAMLOGShowcaseResolveCommentType.h" +#import "DBTEAMLOGShowcaseRestoredType.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedType.h" +#import "DBTEAMLOGShowcaseTrashedType.h" +#import "DBTEAMLOGShowcaseUnresolveCommentType.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedType.h" +#import "DBTEAMLOGShowcaseUntrashedType.h" +#import "DBTEAMLOGShowcaseViewType.h" +#import "DBTEAMLOGSignInAsSessionEndType.h" +#import "DBTEAMLOGSignInAsSessionStartType.h" +#import "DBTEAMLOGSmartSyncChangePolicyType.h" +#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h" +#import "DBTEAMLOGSmartSyncNotOptOutType.h" +#import "DBTEAMLOGSmartSyncOptOutType.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedType.h" +#import "DBTEAMLOGSsoAddCertType.h" +#import "DBTEAMLOGSsoAddLoginUrlType.h" +#import "DBTEAMLOGSsoAddLogoutUrlType.h" +#import "DBTEAMLOGSsoChangeCertType.h" +#import "DBTEAMLOGSsoChangeLoginUrlType.h" +#import "DBTEAMLOGSsoChangeLogoutUrlType.h" +#import "DBTEAMLOGSsoChangePolicyType.h" +#import "DBTEAMLOGSsoChangeSamlIdentityModeType.h" +#import "DBTEAMLOGSsoErrorType.h" +#import "DBTEAMLOGSsoRemoveCertType.h" +#import "DBTEAMLOGSsoRemoveLoginUrlType.h" +#import "DBTEAMLOGSsoRemoveLogoutUrlType.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionType.h" +#import "DBTEAMLOGTeamActivityCreateReportFailType.h" +#import "DBTEAMLOGTeamActivityCreateReportType.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedType.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedType.h" +#import "DBTEAMLOGTeamFolderChangeStatusType.h" +#import "DBTEAMLOGTeamFolderCreateType.h" +#import "DBTEAMLOGTeamFolderDowngradeType.h" +#import "DBTEAMLOGTeamFolderPermanentlyDeleteType.h" +#import "DBTEAMLOGTeamFolderRenameType.h" +#import "DBTEAMLOGTeamMergeFromType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedType.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredType.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderType.h" +#import "DBTEAMLOGTeamMergeRequestRevokedType.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeToType.h" +#import "DBTEAMLOGTeamProfileAddBackgroundType.h" +#import "DBTEAMLOGTeamProfileAddLogoType.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundType.h" +#import "DBTEAMLOGTeamProfileChangeDefaultLanguageType.h" +#import "DBTEAMLOGTeamProfileChangeLogoType.h" +#import "DBTEAMLOGTeamProfileChangeNameType.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundType.h" +#import "DBTEAMLOGTeamProfileRemoveLogoType.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h" +#import "DBTEAMLOGTfaAddBackupPhoneType.h" +#import "DBTEAMLOGTfaAddExceptionType.h" +#import "DBTEAMLOGTfaAddSecurityKeyType.h" +#import "DBTEAMLOGTfaChangeBackupPhoneType.h" +#import "DBTEAMLOGTfaChangePolicyType.h" +#import "DBTEAMLOGTfaChangeStatusType.h" +#import "DBTEAMLOGTfaRemoveBackupPhoneType.h" +#import "DBTEAMLOGTfaRemoveExceptionType.h" +#import "DBTEAMLOGTfaRemoveSecurityKeyType.h" +#import "DBTEAMLOGTfaResetType.h" +#import "DBTEAMLOGTwoAccountChangePolicyType.h" +#import "DBTEAMLOGUndoNamingConventionType.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyType.h" +#import "DBTEAMLOGUserTagsAddedType.h" +#import "DBTEAMLOGUserTagsRemovedType.h" +#import "DBTEAMLOGViewerInfoPolicyChangedType.h" +#import "DBTEAMLOGWatermarkingPolicyChangedType.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h" +#import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h" +#import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEventType + +@synthesize adminAlertingAlertStateChanged = _adminAlertingAlertStateChanged; +@synthesize adminAlertingChangedAlertConfig = _adminAlertingChangedAlertConfig; +@synthesize adminAlertingTriggeredAlert = _adminAlertingTriggeredAlert; +@synthesize ransomwareRestoreProcessCompleted = _ransomwareRestoreProcessCompleted; +@synthesize ransomwareRestoreProcessStarted = _ransomwareRestoreProcessStarted; +@synthesize appBlockedByPermissions = _appBlockedByPermissions; +@synthesize appLinkTeam = _appLinkTeam; +@synthesize appLinkUser = _appLinkUser; +@synthesize appUnlinkTeam = _appUnlinkTeam; +@synthesize appUnlinkUser = _appUnlinkUser; +@synthesize integrationConnected = _integrationConnected; +@synthesize integrationDisconnected = _integrationDisconnected; +@synthesize fileAddComment = _fileAddComment; +@synthesize fileChangeCommentSubscription = _fileChangeCommentSubscription; +@synthesize fileDeleteComment = _fileDeleteComment; +@synthesize fileEditComment = _fileEditComment; +@synthesize fileLikeComment = _fileLikeComment; +@synthesize fileResolveComment = _fileResolveComment; +@synthesize fileUnlikeComment = _fileUnlikeComment; +@synthesize fileUnresolveComment = _fileUnresolveComment; +@synthesize governancePolicyAddFolders = _governancePolicyAddFolders; +@synthesize governancePolicyAddFolderFailed = _governancePolicyAddFolderFailed; +@synthesize governancePolicyContentDisposed = _governancePolicyContentDisposed; +@synthesize governancePolicyCreate = _governancePolicyCreate; +@synthesize governancePolicyDelete = _governancePolicyDelete; +@synthesize governancePolicyEditDetails = _governancePolicyEditDetails; +@synthesize governancePolicyEditDuration = _governancePolicyEditDuration; +@synthesize governancePolicyExportCreated = _governancePolicyExportCreated; +@synthesize governancePolicyExportRemoved = _governancePolicyExportRemoved; +@synthesize governancePolicyRemoveFolders = _governancePolicyRemoveFolders; +@synthesize governancePolicyReportCreated = _governancePolicyReportCreated; +@synthesize governancePolicyZipPartDownloaded = _governancePolicyZipPartDownloaded; +@synthesize legalHoldsActivateAHold = _legalHoldsActivateAHold; +@synthesize legalHoldsAddMembers = _legalHoldsAddMembers; +@synthesize legalHoldsChangeHoldDetails = _legalHoldsChangeHoldDetails; +@synthesize legalHoldsChangeHoldName = _legalHoldsChangeHoldName; +@synthesize legalHoldsExportAHold = _legalHoldsExportAHold; +@synthesize legalHoldsExportCancelled = _legalHoldsExportCancelled; +@synthesize legalHoldsExportDownloaded = _legalHoldsExportDownloaded; +@synthesize legalHoldsExportRemoved = _legalHoldsExportRemoved; +@synthesize legalHoldsReleaseAHold = _legalHoldsReleaseAHold; +@synthesize legalHoldsRemoveMembers = _legalHoldsRemoveMembers; +@synthesize legalHoldsReportAHold = _legalHoldsReportAHold; +@synthesize deviceChangeIpDesktop = _deviceChangeIpDesktop; +@synthesize deviceChangeIpMobile = _deviceChangeIpMobile; +@synthesize deviceChangeIpWeb = _deviceChangeIpWeb; +@synthesize deviceDeleteOnUnlinkFail = _deviceDeleteOnUnlinkFail; +@synthesize deviceDeleteOnUnlinkSuccess = _deviceDeleteOnUnlinkSuccess; +@synthesize deviceLinkFail = _deviceLinkFail; +@synthesize deviceLinkSuccess = _deviceLinkSuccess; +@synthesize deviceManagementDisabled = _deviceManagementDisabled; +@synthesize deviceManagementEnabled = _deviceManagementEnabled; +@synthesize deviceSyncBackupStatusChanged = _deviceSyncBackupStatusChanged; +@synthesize deviceUnlink = _deviceUnlink; +@synthesize dropboxPasswordsExported = _dropboxPasswordsExported; +@synthesize dropboxPasswordsNewDeviceEnrolled = _dropboxPasswordsNewDeviceEnrolled; +@synthesize emmRefreshAuthToken = _emmRefreshAuthToken; +@synthesize externalDriveBackupEligibilityStatusChecked = _externalDriveBackupEligibilityStatusChecked; +@synthesize externalDriveBackupStatusChanged = _externalDriveBackupStatusChanged; +@synthesize accountCaptureChangeAvailability = _accountCaptureChangeAvailability; +@synthesize accountCaptureMigrateAccount = _accountCaptureMigrateAccount; +@synthesize accountCaptureNotificationEmailsSent = _accountCaptureNotificationEmailsSent; +@synthesize accountCaptureRelinquishAccount = _accountCaptureRelinquishAccount; +@synthesize disabledDomainInvites = _disabledDomainInvites; +@synthesize domainInvitesApproveRequestToJoinTeam = _domainInvitesApproveRequestToJoinTeam; +@synthesize domainInvitesDeclineRequestToJoinTeam = _domainInvitesDeclineRequestToJoinTeam; +@synthesize domainInvitesEmailExistingUsers = _domainInvitesEmailExistingUsers; +@synthesize domainInvitesRequestToJoinTeam = _domainInvitesRequestToJoinTeam; +@synthesize domainInvitesSetInviteNewUserPrefToNo = _domainInvitesSetInviteNewUserPrefToNo; +@synthesize domainInvitesSetInviteNewUserPrefToYes = _domainInvitesSetInviteNewUserPrefToYes; +@synthesize domainVerificationAddDomainFail = _domainVerificationAddDomainFail; +@synthesize domainVerificationAddDomainSuccess = _domainVerificationAddDomainSuccess; +@synthesize domainVerificationRemoveDomain = _domainVerificationRemoveDomain; +@synthesize enabledDomainInvites = _enabledDomainInvites; +@synthesize teamEncryptionKeyCancelKeyDeletion = _teamEncryptionKeyCancelKeyDeletion; +@synthesize teamEncryptionKeyCreateKey = _teamEncryptionKeyCreateKey; +@synthesize teamEncryptionKeyDeleteKey = _teamEncryptionKeyDeleteKey; +@synthesize teamEncryptionKeyDisableKey = _teamEncryptionKeyDisableKey; +@synthesize teamEncryptionKeyEnableKey = _teamEncryptionKeyEnableKey; +@synthesize teamEncryptionKeyRotateKey = _teamEncryptionKeyRotateKey; +@synthesize teamEncryptionKeyScheduleKeyDeletion = _teamEncryptionKeyScheduleKeyDeletion; +@synthesize applyNamingConvention = _applyNamingConvention; +@synthesize createFolder = _createFolder; +@synthesize fileAdd = _fileAdd; +@synthesize fileAddFromAutomation = _fileAddFromAutomation; +@synthesize fileCopy = _fileCopy; +@synthesize fileDelete = _fileDelete; +@synthesize fileDownload = _fileDownload; +@synthesize fileEdit = _fileEdit; +@synthesize fileGetCopyReference = _fileGetCopyReference; +@synthesize fileLockingLockStatusChanged = _fileLockingLockStatusChanged; +@synthesize fileMove = _fileMove; +@synthesize filePermanentlyDelete = _filePermanentlyDelete; +@synthesize filePreview = _filePreview; +@synthesize fileRename = _fileRename; +@synthesize fileRestore = _fileRestore; +@synthesize fileRevert = _fileRevert; +@synthesize fileRollbackChanges = _fileRollbackChanges; +@synthesize fileSaveCopyReference = _fileSaveCopyReference; +@synthesize folderOverviewDescriptionChanged = _folderOverviewDescriptionChanged; +@synthesize folderOverviewItemPinned = _folderOverviewItemPinned; +@synthesize folderOverviewItemUnpinned = _folderOverviewItemUnpinned; +@synthesize objectLabelAdded = _objectLabelAdded; +@synthesize objectLabelRemoved = _objectLabelRemoved; +@synthesize objectLabelUpdatedValue = _objectLabelUpdatedValue; +@synthesize organizeFolderWithTidy = _organizeFolderWithTidy; +@synthesize replayFileDelete = _replayFileDelete; +@synthesize rewindFolder = _rewindFolder; +@synthesize undoNamingConvention = _undoNamingConvention; +@synthesize undoOrganizeFolderWithTidy = _undoOrganizeFolderWithTidy; +@synthesize userTagsAdded = _userTagsAdded; +@synthesize userTagsRemoved = _userTagsRemoved; +@synthesize emailIngestReceiveFile = _emailIngestReceiveFile; +@synthesize fileRequestChange = _fileRequestChange; +@synthesize fileRequestClose = _fileRequestClose; +@synthesize fileRequestCreate = _fileRequestCreate; +@synthesize fileRequestDelete = _fileRequestDelete; +@synthesize fileRequestReceiveFile = _fileRequestReceiveFile; +@synthesize groupAddExternalId = _groupAddExternalId; +@synthesize groupAddMember = _groupAddMember; +@synthesize groupChangeExternalId = _groupChangeExternalId; +@synthesize groupChangeManagementType = _groupChangeManagementType; +@synthesize groupChangeMemberRole = _groupChangeMemberRole; +@synthesize groupCreate = _groupCreate; +@synthesize groupDelete = _groupDelete; +@synthesize groupDescriptionUpdated = _groupDescriptionUpdated; +@synthesize groupJoinPolicyUpdated = _groupJoinPolicyUpdated; +@synthesize groupMoved = _groupMoved; +@synthesize groupRemoveExternalId = _groupRemoveExternalId; +@synthesize groupRemoveMember = _groupRemoveMember; +@synthesize groupRename = _groupRename; +@synthesize accountLockOrUnlocked = _accountLockOrUnlocked; +@synthesize emmError = _emmError; +@synthesize guestAdminSignedInViaTrustedTeams = _guestAdminSignedInViaTrustedTeams; +@synthesize guestAdminSignedOutViaTrustedTeams = _guestAdminSignedOutViaTrustedTeams; +@synthesize loginFail = _loginFail; +@synthesize loginSuccess = _loginSuccess; +@synthesize logout = _logout; +@synthesize resellerSupportSessionEnd = _resellerSupportSessionEnd; +@synthesize resellerSupportSessionStart = _resellerSupportSessionStart; +@synthesize signInAsSessionEnd = _signInAsSessionEnd; +@synthesize signInAsSessionStart = _signInAsSessionStart; +@synthesize ssoError = _ssoError; +@synthesize backupAdminInvitationSent = _backupAdminInvitationSent; +@synthesize backupInvitationOpened = _backupInvitationOpened; +@synthesize createTeamInviteLink = _createTeamInviteLink; +@synthesize deleteTeamInviteLink = _deleteTeamInviteLink; +@synthesize memberAddExternalId = _memberAddExternalId; +@synthesize memberAddName = _memberAddName; +@synthesize memberChangeAdminRole = _memberChangeAdminRole; +@synthesize memberChangeEmail = _memberChangeEmail; +@synthesize memberChangeExternalId = _memberChangeExternalId; +@synthesize memberChangeMembershipType = _memberChangeMembershipType; +@synthesize memberChangeName = _memberChangeName; +@synthesize memberChangeResellerRole = _memberChangeResellerRole; +@synthesize memberChangeStatus = _memberChangeStatus; +@synthesize memberDeleteManualContacts = _memberDeleteManualContacts; +@synthesize memberDeleteProfilePhoto = _memberDeleteProfilePhoto; +@synthesize memberPermanentlyDeleteAccountContents = _memberPermanentlyDeleteAccountContents; +@synthesize memberRemoveExternalId = _memberRemoveExternalId; +@synthesize memberSetProfilePhoto = _memberSetProfilePhoto; +@synthesize memberSpaceLimitsAddCustomQuota = _memberSpaceLimitsAddCustomQuota; +@synthesize memberSpaceLimitsChangeCustomQuota = _memberSpaceLimitsChangeCustomQuota; +@synthesize memberSpaceLimitsChangeStatus = _memberSpaceLimitsChangeStatus; +@synthesize memberSpaceLimitsRemoveCustomQuota = _memberSpaceLimitsRemoveCustomQuota; +@synthesize memberSuggest = _memberSuggest; +@synthesize memberTransferAccountContents = _memberTransferAccountContents; +@synthesize pendingSecondaryEmailAdded = _pendingSecondaryEmailAdded; +@synthesize secondaryEmailDeleted = _secondaryEmailDeleted; +@synthesize secondaryEmailVerified = _secondaryEmailVerified; +@synthesize secondaryMailsPolicyChanged = _secondaryMailsPolicyChanged; +@synthesize binderAddPage = _binderAddPage; +@synthesize binderAddSection = _binderAddSection; +@synthesize binderRemovePage = _binderRemovePage; +@synthesize binderRemoveSection = _binderRemoveSection; +@synthesize binderRenamePage = _binderRenamePage; +@synthesize binderRenameSection = _binderRenameSection; +@synthesize binderReorderPage = _binderReorderPage; +@synthesize binderReorderSection = _binderReorderSection; +@synthesize paperContentAddMember = _paperContentAddMember; +@synthesize paperContentAddToFolder = _paperContentAddToFolder; +@synthesize paperContentArchive = _paperContentArchive; +@synthesize paperContentCreate = _paperContentCreate; +@synthesize paperContentPermanentlyDelete = _paperContentPermanentlyDelete; +@synthesize paperContentRemoveFromFolder = _paperContentRemoveFromFolder; +@synthesize paperContentRemoveMember = _paperContentRemoveMember; +@synthesize paperContentRename = _paperContentRename; +@synthesize paperContentRestore = _paperContentRestore; +@synthesize paperDocAddComment = _paperDocAddComment; +@synthesize paperDocChangeMemberRole = _paperDocChangeMemberRole; +@synthesize paperDocChangeSharingPolicy = _paperDocChangeSharingPolicy; +@synthesize paperDocChangeSubscription = _paperDocChangeSubscription; +@synthesize paperDocDeleted = _paperDocDeleted; +@synthesize paperDocDeleteComment = _paperDocDeleteComment; +@synthesize paperDocDownload = _paperDocDownload; +@synthesize paperDocEdit = _paperDocEdit; +@synthesize paperDocEditComment = _paperDocEditComment; +@synthesize paperDocFollowed = _paperDocFollowed; +@synthesize paperDocMention = _paperDocMention; +@synthesize paperDocOwnershipChanged = _paperDocOwnershipChanged; +@synthesize paperDocRequestAccess = _paperDocRequestAccess; +@synthesize paperDocResolveComment = _paperDocResolveComment; +@synthesize paperDocRevert = _paperDocRevert; +@synthesize paperDocSlackShare = _paperDocSlackShare; +@synthesize paperDocTeamInvite = _paperDocTeamInvite; +@synthesize paperDocTrashed = _paperDocTrashed; +@synthesize paperDocUnresolveComment = _paperDocUnresolveComment; +@synthesize paperDocUntrashed = _paperDocUntrashed; +@synthesize paperDocView = _paperDocView; +@synthesize paperExternalViewAllow = _paperExternalViewAllow; +@synthesize paperExternalViewDefaultTeam = _paperExternalViewDefaultTeam; +@synthesize paperExternalViewForbid = _paperExternalViewForbid; +@synthesize paperFolderChangeSubscription = _paperFolderChangeSubscription; +@synthesize paperFolderDeleted = _paperFolderDeleted; +@synthesize paperFolderFollowed = _paperFolderFollowed; +@synthesize paperFolderTeamInvite = _paperFolderTeamInvite; +@synthesize paperPublishedLinkChangePermission = _paperPublishedLinkChangePermission; +@synthesize paperPublishedLinkCreate = _paperPublishedLinkCreate; +@synthesize paperPublishedLinkDisabled = _paperPublishedLinkDisabled; +@synthesize paperPublishedLinkView = _paperPublishedLinkView; +@synthesize passwordChange = _passwordChange; +@synthesize passwordReset = _passwordReset; +@synthesize passwordResetAll = _passwordResetAll; +@synthesize classificationCreateReport = _classificationCreateReport; +@synthesize classificationCreateReportFail = _classificationCreateReportFail; +@synthesize emmCreateExceptionsReport = _emmCreateExceptionsReport; +@synthesize emmCreateUsageReport = _emmCreateUsageReport; +@synthesize exportMembersReport = _exportMembersReport; +@synthesize exportMembersReportFail = _exportMembersReportFail; +@synthesize externalSharingCreateReport = _externalSharingCreateReport; +@synthesize externalSharingReportFailed = _externalSharingReportFailed; +@synthesize noExpirationLinkGenCreateReport = _noExpirationLinkGenCreateReport; +@synthesize noExpirationLinkGenReportFailed = _noExpirationLinkGenReportFailed; +@synthesize noPasswordLinkGenCreateReport = _noPasswordLinkGenCreateReport; +@synthesize noPasswordLinkGenReportFailed = _noPasswordLinkGenReportFailed; +@synthesize noPasswordLinkViewCreateReport = _noPasswordLinkViewCreateReport; +@synthesize noPasswordLinkViewReportFailed = _noPasswordLinkViewReportFailed; +@synthesize outdatedLinkViewCreateReport = _outdatedLinkViewCreateReport; +@synthesize outdatedLinkViewReportFailed = _outdatedLinkViewReportFailed; +@synthesize paperAdminExportStart = _paperAdminExportStart; +@synthesize ransomwareAlertCreateReport = _ransomwareAlertCreateReport; +@synthesize ransomwareAlertCreateReportFailed = _ransomwareAlertCreateReportFailed; +@synthesize smartSyncCreateAdminPrivilegeReport = _smartSyncCreateAdminPrivilegeReport; +@synthesize teamActivityCreateReport = _teamActivityCreateReport; +@synthesize teamActivityCreateReportFail = _teamActivityCreateReportFail; +@synthesize collectionShare = _collectionShare; +@synthesize fileTransfersFileAdd = _fileTransfersFileAdd; +@synthesize fileTransfersTransferDelete = _fileTransfersTransferDelete; +@synthesize fileTransfersTransferDownload = _fileTransfersTransferDownload; +@synthesize fileTransfersTransferSend = _fileTransfersTransferSend; +@synthesize fileTransfersTransferView = _fileTransfersTransferView; +@synthesize noteAclInviteOnly = _noteAclInviteOnly; +@synthesize noteAclLink = _noteAclLink; +@synthesize noteAclTeamLink = _noteAclTeamLink; +@synthesize noteShared = _noteShared; +@synthesize noteShareReceive = _noteShareReceive; +@synthesize openNoteShared = _openNoteShared; +@synthesize replayFileSharedLinkCreated = _replayFileSharedLinkCreated; +@synthesize replayFileSharedLinkModified = _replayFileSharedLinkModified; +@synthesize replayProjectTeamAdd = _replayProjectTeamAdd; +@synthesize replayProjectTeamDelete = _replayProjectTeamDelete; +@synthesize sfAddGroup = _sfAddGroup; +@synthesize sfAllowNonMembersToViewSharedLinks = _sfAllowNonMembersToViewSharedLinks; +@synthesize sfExternalInviteWarn = _sfExternalInviteWarn; +@synthesize sfFbInvite = _sfFbInvite; +@synthesize sfFbInviteChangeRole = _sfFbInviteChangeRole; +@synthesize sfFbUninvite = _sfFbUninvite; +@synthesize sfInviteGroup = _sfInviteGroup; +@synthesize sfTeamGrantAccess = _sfTeamGrantAccess; +@synthesize sfTeamInvite = _sfTeamInvite; +@synthesize sfTeamInviteChangeRole = _sfTeamInviteChangeRole; +@synthesize sfTeamJoin = _sfTeamJoin; +@synthesize sfTeamJoinFromOobLink = _sfTeamJoinFromOobLink; +@synthesize sfTeamUninvite = _sfTeamUninvite; +@synthesize sharedContentAddInvitees = _sharedContentAddInvitees; +@synthesize sharedContentAddLinkExpiry = _sharedContentAddLinkExpiry; +@synthesize sharedContentAddLinkPassword = _sharedContentAddLinkPassword; +@synthesize sharedContentAddMember = _sharedContentAddMember; +@synthesize sharedContentChangeDownloadsPolicy = _sharedContentChangeDownloadsPolicy; +@synthesize sharedContentChangeInviteeRole = _sharedContentChangeInviteeRole; +@synthesize sharedContentChangeLinkAudience = _sharedContentChangeLinkAudience; +@synthesize sharedContentChangeLinkExpiry = _sharedContentChangeLinkExpiry; +@synthesize sharedContentChangeLinkPassword = _sharedContentChangeLinkPassword; +@synthesize sharedContentChangeMemberRole = _sharedContentChangeMemberRole; +@synthesize sharedContentChangeViewerInfoPolicy = _sharedContentChangeViewerInfoPolicy; +@synthesize sharedContentClaimInvitation = _sharedContentClaimInvitation; +@synthesize sharedContentCopy = _sharedContentCopy; +@synthesize sharedContentDownload = _sharedContentDownload; +@synthesize sharedContentRelinquishMembership = _sharedContentRelinquishMembership; +@synthesize sharedContentRemoveInvitees = _sharedContentRemoveInvitees; +@synthesize sharedContentRemoveLinkExpiry = _sharedContentRemoveLinkExpiry; +@synthesize sharedContentRemoveLinkPassword = _sharedContentRemoveLinkPassword; +@synthesize sharedContentRemoveMember = _sharedContentRemoveMember; +@synthesize sharedContentRequestAccess = _sharedContentRequestAccess; +@synthesize sharedContentRestoreInvitees = _sharedContentRestoreInvitees; +@synthesize sharedContentRestoreMember = _sharedContentRestoreMember; +@synthesize sharedContentUnshare = _sharedContentUnshare; +@synthesize sharedContentView = _sharedContentView; +@synthesize sharedFolderChangeLinkPolicy = _sharedFolderChangeLinkPolicy; +@synthesize sharedFolderChangeMembersInheritancePolicy = _sharedFolderChangeMembersInheritancePolicy; +@synthesize sharedFolderChangeMembersManagementPolicy = _sharedFolderChangeMembersManagementPolicy; +@synthesize sharedFolderChangeMembersPolicy = _sharedFolderChangeMembersPolicy; +@synthesize sharedFolderCreate = _sharedFolderCreate; +@synthesize sharedFolderDeclineInvitation = _sharedFolderDeclineInvitation; +@synthesize sharedFolderMount = _sharedFolderMount; +@synthesize sharedFolderNest = _sharedFolderNest; +@synthesize sharedFolderTransferOwnership = _sharedFolderTransferOwnership; +@synthesize sharedFolderUnmount = _sharedFolderUnmount; +@synthesize sharedLinkAddExpiry = _sharedLinkAddExpiry; +@synthesize sharedLinkChangeExpiry = _sharedLinkChangeExpiry; +@synthesize sharedLinkChangeVisibility = _sharedLinkChangeVisibility; +@synthesize sharedLinkCopy = _sharedLinkCopy; +@synthesize sharedLinkCreate = _sharedLinkCreate; +@synthesize sharedLinkDisable = _sharedLinkDisable; +@synthesize sharedLinkDownload = _sharedLinkDownload; +@synthesize sharedLinkRemoveExpiry = _sharedLinkRemoveExpiry; +@synthesize sharedLinkSettingsAddExpiration = _sharedLinkSettingsAddExpiration; +@synthesize sharedLinkSettingsAddPassword = _sharedLinkSettingsAddPassword; +@synthesize sharedLinkSettingsAllowDownloadDisabled = _sharedLinkSettingsAllowDownloadDisabled; +@synthesize sharedLinkSettingsAllowDownloadEnabled = _sharedLinkSettingsAllowDownloadEnabled; +@synthesize sharedLinkSettingsChangeAudience = _sharedLinkSettingsChangeAudience; +@synthesize sharedLinkSettingsChangeExpiration = _sharedLinkSettingsChangeExpiration; +@synthesize sharedLinkSettingsChangePassword = _sharedLinkSettingsChangePassword; +@synthesize sharedLinkSettingsRemoveExpiration = _sharedLinkSettingsRemoveExpiration; +@synthesize sharedLinkSettingsRemovePassword = _sharedLinkSettingsRemovePassword; +@synthesize sharedLinkShare = _sharedLinkShare; +@synthesize sharedLinkView = _sharedLinkView; +@synthesize sharedNoteOpened = _sharedNoteOpened; +@synthesize shmodelDisableDownloads = _shmodelDisableDownloads; +@synthesize shmodelEnableDownloads = _shmodelEnableDownloads; +@synthesize shmodelGroupShare = _shmodelGroupShare; +@synthesize showcaseAccessGranted = _showcaseAccessGranted; +@synthesize showcaseAddMember = _showcaseAddMember; +@synthesize showcaseArchived = _showcaseArchived; +@synthesize showcaseCreated = _showcaseCreated; +@synthesize showcaseDeleteComment = _showcaseDeleteComment; +@synthesize showcaseEdited = _showcaseEdited; +@synthesize showcaseEditComment = _showcaseEditComment; +@synthesize showcaseFileAdded = _showcaseFileAdded; +@synthesize showcaseFileDownload = _showcaseFileDownload; +@synthesize showcaseFileRemoved = _showcaseFileRemoved; +@synthesize showcaseFileView = _showcaseFileView; +@synthesize showcasePermanentlyDeleted = _showcasePermanentlyDeleted; +@synthesize showcasePostComment = _showcasePostComment; +@synthesize showcaseRemoveMember = _showcaseRemoveMember; +@synthesize showcaseRenamed = _showcaseRenamed; +@synthesize showcaseRequestAccess = _showcaseRequestAccess; +@synthesize showcaseResolveComment = _showcaseResolveComment; +@synthesize showcaseRestored = _showcaseRestored; +@synthesize showcaseTrashed = _showcaseTrashed; +@synthesize showcaseTrashedDeprecated = _showcaseTrashedDeprecated; +@synthesize showcaseUnresolveComment = _showcaseUnresolveComment; +@synthesize showcaseUntrashed = _showcaseUntrashed; +@synthesize showcaseUntrashedDeprecated = _showcaseUntrashedDeprecated; +@synthesize showcaseView = _showcaseView; +@synthesize ssoAddCert = _ssoAddCert; +@synthesize ssoAddLoginUrl = _ssoAddLoginUrl; +@synthesize ssoAddLogoutUrl = _ssoAddLogoutUrl; +@synthesize ssoChangeCert = _ssoChangeCert; +@synthesize ssoChangeLoginUrl = _ssoChangeLoginUrl; +@synthesize ssoChangeLogoutUrl = _ssoChangeLogoutUrl; +@synthesize ssoChangeSamlIdentityMode = _ssoChangeSamlIdentityMode; +@synthesize ssoRemoveCert = _ssoRemoveCert; +@synthesize ssoRemoveLoginUrl = _ssoRemoveLoginUrl; +@synthesize ssoRemoveLogoutUrl = _ssoRemoveLogoutUrl; +@synthesize teamFolderChangeStatus = _teamFolderChangeStatus; +@synthesize teamFolderCreate = _teamFolderCreate; +@synthesize teamFolderDowngrade = _teamFolderDowngrade; +@synthesize teamFolderPermanentlyDelete = _teamFolderPermanentlyDelete; +@synthesize teamFolderRename = _teamFolderRename; +@synthesize teamSelectiveSyncSettingsChanged = _teamSelectiveSyncSettingsChanged; +@synthesize accountCaptureChangePolicy = _accountCaptureChangePolicy; +@synthesize adminEmailRemindersChanged = _adminEmailRemindersChanged; +@synthesize allowDownloadDisabled = _allowDownloadDisabled; +@synthesize allowDownloadEnabled = _allowDownloadEnabled; +@synthesize appPermissionsChanged = _appPermissionsChanged; +@synthesize cameraUploadsPolicyChanged = _cameraUploadsPolicyChanged; +@synthesize captureTranscriptPolicyChanged = _captureTranscriptPolicyChanged; +@synthesize classificationChangePolicy = _classificationChangePolicy; +@synthesize computerBackupPolicyChanged = _computerBackupPolicyChanged; +@synthesize contentAdministrationPolicyChanged = _contentAdministrationPolicyChanged; +@synthesize dataPlacementRestrictionChangePolicy = _dataPlacementRestrictionChangePolicy; +@synthesize dataPlacementRestrictionSatisfyPolicy = _dataPlacementRestrictionSatisfyPolicy; +@synthesize deviceApprovalsAddException = _deviceApprovalsAddException; +@synthesize deviceApprovalsChangeDesktopPolicy = _deviceApprovalsChangeDesktopPolicy; +@synthesize deviceApprovalsChangeMobilePolicy = _deviceApprovalsChangeMobilePolicy; +@synthesize deviceApprovalsChangeOverageAction = _deviceApprovalsChangeOverageAction; +@synthesize deviceApprovalsChangeUnlinkAction = _deviceApprovalsChangeUnlinkAction; +@synthesize deviceApprovalsRemoveException = _deviceApprovalsRemoveException; +@synthesize directoryRestrictionsAddMembers = _directoryRestrictionsAddMembers; +@synthesize directoryRestrictionsRemoveMembers = _directoryRestrictionsRemoveMembers; +@synthesize dropboxPasswordsPolicyChanged = _dropboxPasswordsPolicyChanged; +@synthesize emailIngestPolicyChanged = _emailIngestPolicyChanged; +@synthesize emmAddException = _emmAddException; +@synthesize emmChangePolicy = _emmChangePolicy; +@synthesize emmRemoveException = _emmRemoveException; +@synthesize extendedVersionHistoryChangePolicy = _extendedVersionHistoryChangePolicy; +@synthesize externalDriveBackupPolicyChanged = _externalDriveBackupPolicyChanged; +@synthesize fileCommentsChangePolicy = _fileCommentsChangePolicy; +@synthesize fileLockingPolicyChanged = _fileLockingPolicyChanged; +@synthesize fileProviderMigrationPolicyChanged = _fileProviderMigrationPolicyChanged; +@synthesize fileRequestsChangePolicy = _fileRequestsChangePolicy; +@synthesize fileRequestsEmailsEnabled = _fileRequestsEmailsEnabled; +@synthesize fileRequestsEmailsRestrictedToTeamOnly = _fileRequestsEmailsRestrictedToTeamOnly; +@synthesize fileTransfersPolicyChanged = _fileTransfersPolicyChanged; +@synthesize folderLinkRestrictionPolicyChanged = _folderLinkRestrictionPolicyChanged; +@synthesize googleSsoChangePolicy = _googleSsoChangePolicy; +@synthesize groupUserManagementChangePolicy = _groupUserManagementChangePolicy; +@synthesize integrationPolicyChanged = _integrationPolicyChanged; +@synthesize inviteAcceptanceEmailPolicyChanged = _inviteAcceptanceEmailPolicyChanged; +@synthesize memberRequestsChangePolicy = _memberRequestsChangePolicy; +@synthesize memberSendInvitePolicyChanged = _memberSendInvitePolicyChanged; +@synthesize memberSpaceLimitsAddException = _memberSpaceLimitsAddException; +@synthesize memberSpaceLimitsChangeCapsTypePolicy = _memberSpaceLimitsChangeCapsTypePolicy; +@synthesize memberSpaceLimitsChangePolicy = _memberSpaceLimitsChangePolicy; +@synthesize memberSpaceLimitsRemoveException = _memberSpaceLimitsRemoveException; +@synthesize memberSuggestionsChangePolicy = _memberSuggestionsChangePolicy; +@synthesize microsoftOfficeAddinChangePolicy = _microsoftOfficeAddinChangePolicy; +@synthesize networkControlChangePolicy = _networkControlChangePolicy; +@synthesize paperChangeDeploymentPolicy = _paperChangeDeploymentPolicy; +@synthesize paperChangeMemberLinkPolicy = _paperChangeMemberLinkPolicy; +@synthesize paperChangeMemberPolicy = _paperChangeMemberPolicy; +@synthesize paperChangePolicy = _paperChangePolicy; +@synthesize paperDefaultFolderPolicyChanged = _paperDefaultFolderPolicyChanged; +@synthesize paperDesktopPolicyChanged = _paperDesktopPolicyChanged; +@synthesize paperEnabledUsersGroupAddition = _paperEnabledUsersGroupAddition; +@synthesize paperEnabledUsersGroupRemoval = _paperEnabledUsersGroupRemoval; +@synthesize passwordStrengthRequirementsChangePolicy = _passwordStrengthRequirementsChangePolicy; +@synthesize permanentDeleteChangePolicy = _permanentDeleteChangePolicy; +@synthesize resellerSupportChangePolicy = _resellerSupportChangePolicy; +@synthesize rewindPolicyChanged = _rewindPolicyChanged; +@synthesize sendForSignaturePolicyChanged = _sendForSignaturePolicyChanged; +@synthesize sharingChangeFolderJoinPolicy = _sharingChangeFolderJoinPolicy; +@synthesize sharingChangeLinkAllowChangeExpirationPolicy = _sharingChangeLinkAllowChangeExpirationPolicy; +@synthesize sharingChangeLinkDefaultExpirationPolicy = _sharingChangeLinkDefaultExpirationPolicy; +@synthesize sharingChangeLinkEnforcePasswordPolicy = _sharingChangeLinkEnforcePasswordPolicy; +@synthesize sharingChangeLinkPolicy = _sharingChangeLinkPolicy; +@synthesize sharingChangeMemberPolicy = _sharingChangeMemberPolicy; +@synthesize showcaseChangeDownloadPolicy = _showcaseChangeDownloadPolicy; +@synthesize showcaseChangeEnabledPolicy = _showcaseChangeEnabledPolicy; +@synthesize showcaseChangeExternalSharingPolicy = _showcaseChangeExternalSharingPolicy; +@synthesize smarterSmartSyncPolicyChanged = _smarterSmartSyncPolicyChanged; +@synthesize smartSyncChangePolicy = _smartSyncChangePolicy; +@synthesize smartSyncNotOptOut = _smartSyncNotOptOut; +@synthesize smartSyncOptOut = _smartSyncOptOut; +@synthesize ssoChangePolicy = _ssoChangePolicy; +@synthesize teamBrandingPolicyChanged = _teamBrandingPolicyChanged; +@synthesize teamExtensionsPolicyChanged = _teamExtensionsPolicyChanged; +@synthesize teamSelectiveSyncPolicyChanged = _teamSelectiveSyncPolicyChanged; +@synthesize teamSharingWhitelistSubjectsChanged = _teamSharingWhitelistSubjectsChanged; +@synthesize tfaAddException = _tfaAddException; +@synthesize tfaChangePolicy = _tfaChangePolicy; +@synthesize tfaRemoveException = _tfaRemoveException; +@synthesize twoAccountChangePolicy = _twoAccountChangePolicy; +@synthesize viewerInfoPolicyChanged = _viewerInfoPolicyChanged; +@synthesize watermarkingPolicyChanged = _watermarkingPolicyChanged; +@synthesize webSessionsChangeActiveSessionLimit = _webSessionsChangeActiveSessionLimit; +@synthesize webSessionsChangeFixedLengthPolicy = _webSessionsChangeFixedLengthPolicy; +@synthesize webSessionsChangeIdleLengthPolicy = _webSessionsChangeIdleLengthPolicy; +@synthesize dataResidencyMigrationRequestSuccessful = _dataResidencyMigrationRequestSuccessful; +@synthesize dataResidencyMigrationRequestUnsuccessful = _dataResidencyMigrationRequestUnsuccessful; +@synthesize teamMergeFrom = _teamMergeFrom; +@synthesize teamMergeTo = _teamMergeTo; +@synthesize teamProfileAddBackground = _teamProfileAddBackground; +@synthesize teamProfileAddLogo = _teamProfileAddLogo; +@synthesize teamProfileChangeBackground = _teamProfileChangeBackground; +@synthesize teamProfileChangeDefaultLanguage = _teamProfileChangeDefaultLanguage; +@synthesize teamProfileChangeLogo = _teamProfileChangeLogo; +@synthesize teamProfileChangeName = _teamProfileChangeName; +@synthesize teamProfileRemoveBackground = _teamProfileRemoveBackground; +@synthesize teamProfileRemoveLogo = _teamProfileRemoveLogo; +@synthesize tfaAddBackupPhone = _tfaAddBackupPhone; +@synthesize tfaAddSecurityKey = _tfaAddSecurityKey; +@synthesize tfaChangeBackupPhone = _tfaChangeBackupPhone; +@synthesize tfaChangeStatus = _tfaChangeStatus; +@synthesize tfaRemoveBackupPhone = _tfaRemoveBackupPhone; +@synthesize tfaRemoveSecurityKey = _tfaRemoveSecurityKey; +@synthesize tfaReset = _tfaReset; +@synthesize changedEnterpriseAdminRole = _changedEnterpriseAdminRole; +@synthesize changedEnterpriseConnectedTeamStatus = _changedEnterpriseConnectedTeamStatus; +@synthesize endedEnterpriseAdminSession = _endedEnterpriseAdminSession; +@synthesize endedEnterpriseAdminSessionDeprecated = _endedEnterpriseAdminSessionDeprecated; +@synthesize enterpriseSettingsLocking = _enterpriseSettingsLocking; +@synthesize guestAdminChangeStatus = _guestAdminChangeStatus; +@synthesize startedEnterpriseAdminSession = _startedEnterpriseAdminSession; +@synthesize teamMergeRequestAccepted = _teamMergeRequestAccepted; +@synthesize teamMergeRequestAcceptedShownToPrimaryTeam = _teamMergeRequestAcceptedShownToPrimaryTeam; +@synthesize teamMergeRequestAcceptedShownToSecondaryTeam = _teamMergeRequestAcceptedShownToSecondaryTeam; +@synthesize teamMergeRequestAutoCanceled = _teamMergeRequestAutoCanceled; +@synthesize teamMergeRequestCanceled = _teamMergeRequestCanceled; +@synthesize teamMergeRequestCanceledShownToPrimaryTeam = _teamMergeRequestCanceledShownToPrimaryTeam; +@synthesize teamMergeRequestCanceledShownToSecondaryTeam = _teamMergeRequestCanceledShownToSecondaryTeam; +@synthesize teamMergeRequestExpired = _teamMergeRequestExpired; +@synthesize teamMergeRequestExpiredShownToPrimaryTeam = _teamMergeRequestExpiredShownToPrimaryTeam; +@synthesize teamMergeRequestExpiredShownToSecondaryTeam = _teamMergeRequestExpiredShownToSecondaryTeam; +@synthesize teamMergeRequestRejectedShownToPrimaryTeam = _teamMergeRequestRejectedShownToPrimaryTeam; +@synthesize teamMergeRequestRejectedShownToSecondaryTeam = _teamMergeRequestRejectedShownToSecondaryTeam; +@synthesize teamMergeRequestReminder = _teamMergeRequestReminder; +@synthesize teamMergeRequestReminderShownToPrimaryTeam = _teamMergeRequestReminderShownToPrimaryTeam; +@synthesize teamMergeRequestReminderShownToSecondaryTeam = _teamMergeRequestReminderShownToSecondaryTeam; +@synthesize teamMergeRequestRevoked = _teamMergeRequestRevoked; +@synthesize teamMergeRequestSentShownToPrimaryTeam = _teamMergeRequestSentShownToPrimaryTeam; +@synthesize teamMergeRequestSentShownToSecondaryTeam = _teamMergeRequestSentShownToSecondaryTeam; + +#pragma mark - Constructors + +- (instancetype)initWithAdminAlertingAlertStateChanged: + (DBTEAMLOGAdminAlertingAlertStateChangedType *)adminAlertingAlertStateChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAdminAlertingAlertStateChanged; + _adminAlertingAlertStateChanged = adminAlertingAlertStateChanged; + } + return self; +} + +- (instancetype)initWithAdminAlertingChangedAlertConfig: + (DBTEAMLOGAdminAlertingChangedAlertConfigType *)adminAlertingChangedAlertConfig { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig; + _adminAlertingChangedAlertConfig = adminAlertingChangedAlertConfig; + } + return self; +} + +- (instancetype)initWithAdminAlertingTriggeredAlert: + (DBTEAMLOGAdminAlertingTriggeredAlertType *)adminAlertingTriggeredAlert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAdminAlertingTriggeredAlert; + _adminAlertingTriggeredAlert = adminAlertingTriggeredAlert; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessCompleted: + (DBTEAMLOGRansomwareRestoreProcessCompletedType *)ransomwareRestoreProcessCompleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted; + _ransomwareRestoreProcessCompleted = ransomwareRestoreProcessCompleted; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessStarted: + (DBTEAMLOGRansomwareRestoreProcessStartedType *)ransomwareRestoreProcessStarted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRansomwareRestoreProcessStarted; + _ransomwareRestoreProcessStarted = ransomwareRestoreProcessStarted; + } + return self; +} + +- (instancetype)initWithAppBlockedByPermissions:(DBTEAMLOGAppBlockedByPermissionsType *)appBlockedByPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppBlockedByPermissions; + _appBlockedByPermissions = appBlockedByPermissions; + } + return self; +} + +- (instancetype)initWithAppLinkTeam:(DBTEAMLOGAppLinkTeamType *)appLinkTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppLinkTeam; + _appLinkTeam = appLinkTeam; + } + return self; +} + +- (instancetype)initWithAppLinkUser:(DBTEAMLOGAppLinkUserType *)appLinkUser { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppLinkUser; + _appLinkUser = appLinkUser; + } + return self; +} + +- (instancetype)initWithAppUnlinkTeam:(DBTEAMLOGAppUnlinkTeamType *)appUnlinkTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppUnlinkTeam; + _appUnlinkTeam = appUnlinkTeam; + } + return self; +} + +- (instancetype)initWithAppUnlinkUser:(DBTEAMLOGAppUnlinkUserType *)appUnlinkUser { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppUnlinkUser; + _appUnlinkUser = appUnlinkUser; + } + return self; +} + +- (instancetype)initWithIntegrationConnected:(DBTEAMLOGIntegrationConnectedType *)integrationConnected { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeIntegrationConnected; + _integrationConnected = integrationConnected; + } + return self; +} + +- (instancetype)initWithIntegrationDisconnected:(DBTEAMLOGIntegrationDisconnectedType *)integrationDisconnected { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeIntegrationDisconnected; + _integrationDisconnected = integrationDisconnected; + } + return self; +} + +- (instancetype)initWithFileAddComment:(DBTEAMLOGFileAddCommentType *)fileAddComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileAddComment; + _fileAddComment = fileAddComment; + } + return self; +} + +- (instancetype)initWithFileChangeCommentSubscription: + (DBTEAMLOGFileChangeCommentSubscriptionType *)fileChangeCommentSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileChangeCommentSubscription; + _fileChangeCommentSubscription = fileChangeCommentSubscription; + } + return self; +} + +- (instancetype)initWithFileDeleteComment:(DBTEAMLOGFileDeleteCommentType *)fileDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileDeleteComment; + _fileDeleteComment = fileDeleteComment; + } + return self; +} + +- (instancetype)initWithFileEditComment:(DBTEAMLOGFileEditCommentType *)fileEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileEditComment; + _fileEditComment = fileEditComment; + } + return self; +} + +- (instancetype)initWithFileLikeComment:(DBTEAMLOGFileLikeCommentType *)fileLikeComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileLikeComment; + _fileLikeComment = fileLikeComment; + } + return self; +} + +- (instancetype)initWithFileResolveComment:(DBTEAMLOGFileResolveCommentType *)fileResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileResolveComment; + _fileResolveComment = fileResolveComment; + } + return self; +} + +- (instancetype)initWithFileUnlikeComment:(DBTEAMLOGFileUnlikeCommentType *)fileUnlikeComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileUnlikeComment; + _fileUnlikeComment = fileUnlikeComment; + } + return self; +} + +- (instancetype)initWithFileUnresolveComment:(DBTEAMLOGFileUnresolveCommentType *)fileUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileUnresolveComment; + _fileUnresolveComment = fileUnresolveComment; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFolders: + (DBTEAMLOGGovernancePolicyAddFoldersType *)governancePolicyAddFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyAddFolders; + _governancePolicyAddFolders = governancePolicyAddFolders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFolderFailed: + (DBTEAMLOGGovernancePolicyAddFolderFailedType *)governancePolicyAddFolderFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed; + _governancePolicyAddFolderFailed = governancePolicyAddFolderFailed; + } + return self; +} + +- (instancetype)initWithGovernancePolicyContentDisposed: + (DBTEAMLOGGovernancePolicyContentDisposedType *)governancePolicyContentDisposed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyContentDisposed; + _governancePolicyContentDisposed = governancePolicyContentDisposed; + } + return self; +} + +- (instancetype)initWithGovernancePolicyCreate:(DBTEAMLOGGovernancePolicyCreateType *)governancePolicyCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyCreate; + _governancePolicyCreate = governancePolicyCreate; + } + return self; +} + +- (instancetype)initWithGovernancePolicyDelete:(DBTEAMLOGGovernancePolicyDeleteType *)governancePolicyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyDelete; + _governancePolicyDelete = governancePolicyDelete; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDetails: + (DBTEAMLOGGovernancePolicyEditDetailsType *)governancePolicyEditDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyEditDetails; + _governancePolicyEditDetails = governancePolicyEditDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDuration: + (DBTEAMLOGGovernancePolicyEditDurationType *)governancePolicyEditDuration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyEditDuration; + _governancePolicyEditDuration = governancePolicyEditDuration; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportCreated: + (DBTEAMLOGGovernancePolicyExportCreatedType *)governancePolicyExportCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyExportCreated; + _governancePolicyExportCreated = governancePolicyExportCreated; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportRemoved: + (DBTEAMLOGGovernancePolicyExportRemovedType *)governancePolicyExportRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyExportRemoved; + _governancePolicyExportRemoved = governancePolicyExportRemoved; + } + return self; +} + +- (instancetype)initWithGovernancePolicyRemoveFolders: + (DBTEAMLOGGovernancePolicyRemoveFoldersType *)governancePolicyRemoveFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyRemoveFolders; + _governancePolicyRemoveFolders = governancePolicyRemoveFolders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyReportCreated: + (DBTEAMLOGGovernancePolicyReportCreatedType *)governancePolicyReportCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyReportCreated; + _governancePolicyReportCreated = governancePolicyReportCreated; + } + return self; +} + +- (instancetype)initWithGovernancePolicyZipPartDownloaded: + (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)governancePolicyZipPartDownloaded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded; + _governancePolicyZipPartDownloaded = governancePolicyZipPartDownloaded; + } + return self; +} + +- (instancetype)initWithLegalHoldsActivateAHold:(DBTEAMLOGLegalHoldsActivateAHoldType *)legalHoldsActivateAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsActivateAHold; + _legalHoldsActivateAHold = legalHoldsActivateAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsAddMembers:(DBTEAMLOGLegalHoldsAddMembersType *)legalHoldsAddMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsAddMembers; + _legalHoldsAddMembers = legalHoldsAddMembers; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldDetails: + (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)legalHoldsChangeHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails; + _legalHoldsChangeHoldDetails = legalHoldsChangeHoldDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldName:(DBTEAMLOGLegalHoldsChangeHoldNameType *)legalHoldsChangeHoldName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsChangeHoldName; + _legalHoldsChangeHoldName = legalHoldsChangeHoldName; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportAHold:(DBTEAMLOGLegalHoldsExportAHoldType *)legalHoldsExportAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsExportAHold; + _legalHoldsExportAHold = legalHoldsExportAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportCancelled:(DBTEAMLOGLegalHoldsExportCancelledType *)legalHoldsExportCancelled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsExportCancelled; + _legalHoldsExportCancelled = legalHoldsExportCancelled; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportDownloaded: + (DBTEAMLOGLegalHoldsExportDownloadedType *)legalHoldsExportDownloaded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsExportDownloaded; + _legalHoldsExportDownloaded = legalHoldsExportDownloaded; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportRemoved:(DBTEAMLOGLegalHoldsExportRemovedType *)legalHoldsExportRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsExportRemoved; + _legalHoldsExportRemoved = legalHoldsExportRemoved; + } + return self; +} + +- (instancetype)initWithLegalHoldsReleaseAHold:(DBTEAMLOGLegalHoldsReleaseAHoldType *)legalHoldsReleaseAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsReleaseAHold; + _legalHoldsReleaseAHold = legalHoldsReleaseAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsRemoveMembers:(DBTEAMLOGLegalHoldsRemoveMembersType *)legalHoldsRemoveMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsRemoveMembers; + _legalHoldsRemoveMembers = legalHoldsRemoveMembers; + } + return self; +} + +- (instancetype)initWithLegalHoldsReportAHold:(DBTEAMLOGLegalHoldsReportAHoldType *)legalHoldsReportAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLegalHoldsReportAHold; + _legalHoldsReportAHold = legalHoldsReportAHold; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpDesktop:(DBTEAMLOGDeviceChangeIpDesktopType *)deviceChangeIpDesktop { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceChangeIpDesktop; + _deviceChangeIpDesktop = deviceChangeIpDesktop; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpMobile:(DBTEAMLOGDeviceChangeIpMobileType *)deviceChangeIpMobile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceChangeIpMobile; + _deviceChangeIpMobile = deviceChangeIpMobile; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpWeb:(DBTEAMLOGDeviceChangeIpWebType *)deviceChangeIpWeb { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceChangeIpWeb; + _deviceChangeIpWeb = deviceChangeIpWeb; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkFail:(DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deviceDeleteOnUnlinkFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail; + _deviceDeleteOnUnlinkFail = deviceDeleteOnUnlinkFail; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkSuccess: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deviceDeleteOnUnlinkSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess; + _deviceDeleteOnUnlinkSuccess = deviceDeleteOnUnlinkSuccess; + } + return self; +} + +- (instancetype)initWithDeviceLinkFail:(DBTEAMLOGDeviceLinkFailType *)deviceLinkFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceLinkFail; + _deviceLinkFail = deviceLinkFail; + } + return self; +} + +- (instancetype)initWithDeviceLinkSuccess:(DBTEAMLOGDeviceLinkSuccessType *)deviceLinkSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceLinkSuccess; + _deviceLinkSuccess = deviceLinkSuccess; + } + return self; +} + +- (instancetype)initWithDeviceManagementDisabled:(DBTEAMLOGDeviceManagementDisabledType *)deviceManagementDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceManagementDisabled; + _deviceManagementDisabled = deviceManagementDisabled; + } + return self; +} + +- (instancetype)initWithDeviceManagementEnabled:(DBTEAMLOGDeviceManagementEnabledType *)deviceManagementEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceManagementEnabled; + _deviceManagementEnabled = deviceManagementEnabled; + } + return self; +} + +- (instancetype)initWithDeviceSyncBackupStatusChanged: + (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deviceSyncBackupStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged; + _deviceSyncBackupStatusChanged = deviceSyncBackupStatusChanged; + } + return self; +} + +- (instancetype)initWithDeviceUnlink:(DBTEAMLOGDeviceUnlinkType *)deviceUnlink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceUnlink; + _deviceUnlink = deviceUnlink; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsExported:(DBTEAMLOGDropboxPasswordsExportedType *)dropboxPasswordsExported { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDropboxPasswordsExported; + _dropboxPasswordsExported = dropboxPasswordsExported; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolled: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)dropboxPasswordsNewDeviceEnrolled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled; + _dropboxPasswordsNewDeviceEnrolled = dropboxPasswordsNewDeviceEnrolled; + } + return self; +} + +- (instancetype)initWithEmmRefreshAuthToken:(DBTEAMLOGEmmRefreshAuthTokenType *)emmRefreshAuthToken { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmRefreshAuthToken; + _emmRefreshAuthToken = emmRefreshAuthToken; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupEligibilityStatusChecked: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)externalDriveBackupEligibilityStatusChecked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked; + _externalDriveBackupEligibilityStatusChecked = externalDriveBackupEligibilityStatusChecked; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupStatusChanged: + (DBTEAMLOGExternalDriveBackupStatusChangedType *)externalDriveBackupStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExternalDriveBackupStatusChanged; + _externalDriveBackupStatusChanged = externalDriveBackupStatusChanged; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangeAvailability: + (DBTEAMLOGAccountCaptureChangeAvailabilityType *)accountCaptureChangeAvailability { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountCaptureChangeAvailability; + _accountCaptureChangeAvailability = accountCaptureChangeAvailability; + } + return self; +} + +- (instancetype)initWithAccountCaptureMigrateAccount: + (DBTEAMLOGAccountCaptureMigrateAccountType *)accountCaptureMigrateAccount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountCaptureMigrateAccount; + _accountCaptureMigrateAccount = accountCaptureMigrateAccount; + } + return self; +} + +- (instancetype)initWithAccountCaptureNotificationEmailsSent: + (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)accountCaptureNotificationEmailsSent { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent; + _accountCaptureNotificationEmailsSent = accountCaptureNotificationEmailsSent; + } + return self; +} + +- (instancetype)initWithAccountCaptureRelinquishAccount: + (DBTEAMLOGAccountCaptureRelinquishAccountType *)accountCaptureRelinquishAccount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountCaptureRelinquishAccount; + _accountCaptureRelinquishAccount = accountCaptureRelinquishAccount; + } + return self; +} + +- (instancetype)initWithDisabledDomainInvites:(DBTEAMLOGDisabledDomainInvitesType *)disabledDomainInvites { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDisabledDomainInvites; + _disabledDomainInvites = disabledDomainInvites; + } + return self; +} + +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)domainInvitesApproveRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam; + _domainInvitesApproveRequestToJoinTeam = domainInvitesApproveRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)domainInvitesDeclineRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam; + _domainInvitesDeclineRequestToJoinTeam = domainInvitesDeclineRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesEmailExistingUsers: + (DBTEAMLOGDomainInvitesEmailExistingUsersType *)domainInvitesEmailExistingUsers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers; + _domainInvitesEmailExistingUsers = domainInvitesEmailExistingUsers; + } + return self; +} + +- (instancetype)initWithDomainInvitesRequestToJoinTeam: + (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)domainInvitesRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam; + _domainInvitesRequestToJoinTeam = domainInvitesRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)domainInvitesSetInviteNewUserPrefToNo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo; + _domainInvitesSetInviteNewUserPrefToNo = domainInvitesSetInviteNewUserPrefToNo; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)domainInvitesSetInviteNewUserPrefToYes { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes; + _domainInvitesSetInviteNewUserPrefToYes = domainInvitesSetInviteNewUserPrefToYes; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainFail: + (DBTEAMLOGDomainVerificationAddDomainFailType *)domainVerificationAddDomainFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainVerificationAddDomainFail; + _domainVerificationAddDomainFail = domainVerificationAddDomainFail; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainSuccess: + (DBTEAMLOGDomainVerificationAddDomainSuccessType *)domainVerificationAddDomainSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess; + _domainVerificationAddDomainSuccess = domainVerificationAddDomainSuccess; + } + return self; +} + +- (instancetype)initWithDomainVerificationRemoveDomain: + (DBTEAMLOGDomainVerificationRemoveDomainType *)domainVerificationRemoveDomain { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDomainVerificationRemoveDomain; + _domainVerificationRemoveDomain = domainVerificationRemoveDomain; + } + return self; +} + +- (instancetype)initWithEnabledDomainInvites:(DBTEAMLOGEnabledDomainInvitesType *)enabledDomainInvites { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEnabledDomainInvites; + _enabledDomainInvites = enabledDomainInvites; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletion: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)teamEncryptionKeyCancelKeyDeletion { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion; + _teamEncryptionKeyCancelKeyDeletion = teamEncryptionKeyCancelKeyDeletion; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCreateKey: + (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)teamEncryptionKeyCreateKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey; + _teamEncryptionKeyCreateKey = teamEncryptionKeyCreateKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDeleteKey: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)teamEncryptionKeyDeleteKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey; + _teamEncryptionKeyDeleteKey = teamEncryptionKeyDeleteKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDisableKey: + (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)teamEncryptionKeyDisableKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey; + _teamEncryptionKeyDisableKey = teamEncryptionKeyDisableKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyEnableKey: + (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)teamEncryptionKeyEnableKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey; + _teamEncryptionKeyEnableKey = teamEncryptionKeyEnableKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyRotateKey: + (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)teamEncryptionKeyRotateKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey; + _teamEncryptionKeyRotateKey = teamEncryptionKeyRotateKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletion: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)teamEncryptionKeyScheduleKeyDeletion { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion; + _teamEncryptionKeyScheduleKeyDeletion = teamEncryptionKeyScheduleKeyDeletion; + } + return self; +} + +- (instancetype)initWithApplyNamingConvention:(DBTEAMLOGApplyNamingConventionType *)applyNamingConvention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeApplyNamingConvention; + _applyNamingConvention = applyNamingConvention; + } + return self; +} + +- (instancetype)initWithCreateFolder:(DBTEAMLOGCreateFolderType *)createFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeCreateFolder; + _createFolder = createFolder; + } + return self; +} + +- (instancetype)initWithFileAdd:(DBTEAMLOGFileAddType *)fileAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileAdd; + _fileAdd = fileAdd; + } + return self; +} + +- (instancetype)initWithFileAddFromAutomation:(DBTEAMLOGFileAddFromAutomationType *)fileAddFromAutomation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileAddFromAutomation; + _fileAddFromAutomation = fileAddFromAutomation; + } + return self; +} + +- (instancetype)initWithFileCopy:(DBTEAMLOGFileCopyType *)fileCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileCopy; + _fileCopy = fileCopy; + } + return self; +} + +- (instancetype)initWithFileDelete:(DBTEAMLOGFileDeleteType *)fileDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileDelete; + _fileDelete = fileDelete; + } + return self; +} + +- (instancetype)initWithFileDownload:(DBTEAMLOGFileDownloadType *)fileDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileDownload; + _fileDownload = fileDownload; + } + return self; +} + +- (instancetype)initWithFileEdit:(DBTEAMLOGFileEditType *)fileEdit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileEdit; + _fileEdit = fileEdit; + } + return self; +} + +- (instancetype)initWithFileGetCopyReference:(DBTEAMLOGFileGetCopyReferenceType *)fileGetCopyReference { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileGetCopyReference; + _fileGetCopyReference = fileGetCopyReference; + } + return self; +} + +- (instancetype)initWithFileLockingLockStatusChanged: + (DBTEAMLOGFileLockingLockStatusChangedType *)fileLockingLockStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileLockingLockStatusChanged; + _fileLockingLockStatusChanged = fileLockingLockStatusChanged; + } + return self; +} + +- (instancetype)initWithFileMove:(DBTEAMLOGFileMoveType *)fileMove { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileMove; + _fileMove = fileMove; + } + return self; +} + +- (instancetype)initWithFilePermanentlyDelete:(DBTEAMLOGFilePermanentlyDeleteType *)filePermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFilePermanentlyDelete; + _filePermanentlyDelete = filePermanentlyDelete; + } + return self; +} + +- (instancetype)initWithFilePreview:(DBTEAMLOGFilePreviewType *)filePreview { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFilePreview; + _filePreview = filePreview; + } + return self; +} + +- (instancetype)initWithFileRename:(DBTEAMLOGFileRenameType *)fileRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRename; + _fileRename = fileRename; + } + return self; +} + +- (instancetype)initWithFileRestore:(DBTEAMLOGFileRestoreType *)fileRestore { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRestore; + _fileRestore = fileRestore; + } + return self; +} + +- (instancetype)initWithFileRevert:(DBTEAMLOGFileRevertType *)fileRevert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRevert; + _fileRevert = fileRevert; + } + return self; +} + +- (instancetype)initWithFileRollbackChanges:(DBTEAMLOGFileRollbackChangesType *)fileRollbackChanges { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRollbackChanges; + _fileRollbackChanges = fileRollbackChanges; + } + return self; +} + +- (instancetype)initWithFileSaveCopyReference:(DBTEAMLOGFileSaveCopyReferenceType *)fileSaveCopyReference { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileSaveCopyReference; + _fileSaveCopyReference = fileSaveCopyReference; + } + return self; +} + +- (instancetype)initWithFolderOverviewDescriptionChanged: + (DBTEAMLOGFolderOverviewDescriptionChangedType *)folderOverviewDescriptionChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFolderOverviewDescriptionChanged; + _folderOverviewDescriptionChanged = folderOverviewDescriptionChanged; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemPinned:(DBTEAMLOGFolderOverviewItemPinnedType *)folderOverviewItemPinned { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFolderOverviewItemPinned; + _folderOverviewItemPinned = folderOverviewItemPinned; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemUnpinned: + (DBTEAMLOGFolderOverviewItemUnpinnedType *)folderOverviewItemUnpinned { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFolderOverviewItemUnpinned; + _folderOverviewItemUnpinned = folderOverviewItemUnpinned; + } + return self; +} + +- (instancetype)initWithObjectLabelAdded:(DBTEAMLOGObjectLabelAddedType *)objectLabelAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeObjectLabelAdded; + _objectLabelAdded = objectLabelAdded; + } + return self; +} + +- (instancetype)initWithObjectLabelRemoved:(DBTEAMLOGObjectLabelRemovedType *)objectLabelRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeObjectLabelRemoved; + _objectLabelRemoved = objectLabelRemoved; + } + return self; +} + +- (instancetype)initWithObjectLabelUpdatedValue:(DBTEAMLOGObjectLabelUpdatedValueType *)objectLabelUpdatedValue { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeObjectLabelUpdatedValue; + _objectLabelUpdatedValue = objectLabelUpdatedValue; + } + return self; +} + +- (instancetype)initWithOrganizeFolderWithTidy:(DBTEAMLOGOrganizeFolderWithTidyType *)organizeFolderWithTidy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeOrganizeFolderWithTidy; + _organizeFolderWithTidy = organizeFolderWithTidy; + } + return self; +} + +- (instancetype)initWithReplayFileDelete:(DBTEAMLOGReplayFileDeleteType *)replayFileDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeReplayFileDelete; + _replayFileDelete = replayFileDelete; + } + return self; +} + +- (instancetype)initWithRewindFolder:(DBTEAMLOGRewindFolderType *)rewindFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRewindFolder; + _rewindFolder = rewindFolder; + } + return self; +} + +- (instancetype)initWithUndoNamingConvention:(DBTEAMLOGUndoNamingConventionType *)undoNamingConvention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeUndoNamingConvention; + _undoNamingConvention = undoNamingConvention; + } + return self; +} + +- (instancetype)initWithUndoOrganizeFolderWithTidy: + (DBTEAMLOGUndoOrganizeFolderWithTidyType *)undoOrganizeFolderWithTidy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy; + _undoOrganizeFolderWithTidy = undoOrganizeFolderWithTidy; + } + return self; +} + +- (instancetype)initWithUserTagsAdded:(DBTEAMLOGUserTagsAddedType *)userTagsAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeUserTagsAdded; + _userTagsAdded = userTagsAdded; + } + return self; +} + +- (instancetype)initWithUserTagsRemoved:(DBTEAMLOGUserTagsRemovedType *)userTagsRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeUserTagsRemoved; + _userTagsRemoved = userTagsRemoved; + } + return self; +} + +- (instancetype)initWithEmailIngestReceiveFile:(DBTEAMLOGEmailIngestReceiveFileType *)emailIngestReceiveFile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmailIngestReceiveFile; + _emailIngestReceiveFile = emailIngestReceiveFile; + } + return self; +} + +- (instancetype)initWithFileRequestChange:(DBTEAMLOGFileRequestChangeType *)fileRequestChange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestChange; + _fileRequestChange = fileRequestChange; + } + return self; +} + +- (instancetype)initWithFileRequestClose:(DBTEAMLOGFileRequestCloseType *)fileRequestClose { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestClose; + _fileRequestClose = fileRequestClose; + } + return self; +} + +- (instancetype)initWithFileRequestCreate:(DBTEAMLOGFileRequestCreateType *)fileRequestCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestCreate; + _fileRequestCreate = fileRequestCreate; + } + return self; +} + +- (instancetype)initWithFileRequestDelete:(DBTEAMLOGFileRequestDeleteType *)fileRequestDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestDelete; + _fileRequestDelete = fileRequestDelete; + } + return self; +} + +- (instancetype)initWithFileRequestReceiveFile:(DBTEAMLOGFileRequestReceiveFileType *)fileRequestReceiveFile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestReceiveFile; + _fileRequestReceiveFile = fileRequestReceiveFile; + } + return self; +} + +- (instancetype)initWithGroupAddExternalId:(DBTEAMLOGGroupAddExternalIdType *)groupAddExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupAddExternalId; + _groupAddExternalId = groupAddExternalId; + } + return self; +} + +- (instancetype)initWithGroupAddMember:(DBTEAMLOGGroupAddMemberType *)groupAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupAddMember; + _groupAddMember = groupAddMember; + } + return self; +} + +- (instancetype)initWithGroupChangeExternalId:(DBTEAMLOGGroupChangeExternalIdType *)groupChangeExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupChangeExternalId; + _groupChangeExternalId = groupChangeExternalId; + } + return self; +} + +- (instancetype)initWithGroupChangeManagementType:(DBTEAMLOGGroupChangeManagementTypeType *)groupChangeManagementType { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupChangeManagementType; + _groupChangeManagementType = groupChangeManagementType; + } + return self; +} + +- (instancetype)initWithGroupChangeMemberRole:(DBTEAMLOGGroupChangeMemberRoleType *)groupChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupChangeMemberRole; + _groupChangeMemberRole = groupChangeMemberRole; + } + return self; +} + +- (instancetype)initWithGroupCreate:(DBTEAMLOGGroupCreateType *)groupCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupCreate; + _groupCreate = groupCreate; + } + return self; +} + +- (instancetype)initWithGroupDelete:(DBTEAMLOGGroupDeleteType *)groupDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupDelete; + _groupDelete = groupDelete; + } + return self; +} + +- (instancetype)initWithGroupDescriptionUpdated:(DBTEAMLOGGroupDescriptionUpdatedType *)groupDescriptionUpdated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupDescriptionUpdated; + _groupDescriptionUpdated = groupDescriptionUpdated; + } + return self; +} + +- (instancetype)initWithGroupJoinPolicyUpdated:(DBTEAMLOGGroupJoinPolicyUpdatedType *)groupJoinPolicyUpdated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupJoinPolicyUpdated; + _groupJoinPolicyUpdated = groupJoinPolicyUpdated; + } + return self; +} + +- (instancetype)initWithGroupMoved:(DBTEAMLOGGroupMovedType *)groupMoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupMoved; + _groupMoved = groupMoved; + } + return self; +} + +- (instancetype)initWithGroupRemoveExternalId:(DBTEAMLOGGroupRemoveExternalIdType *)groupRemoveExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupRemoveExternalId; + _groupRemoveExternalId = groupRemoveExternalId; + } + return self; +} + +- (instancetype)initWithGroupRemoveMember:(DBTEAMLOGGroupRemoveMemberType *)groupRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupRemoveMember; + _groupRemoveMember = groupRemoveMember; + } + return self; +} + +- (instancetype)initWithGroupRename:(DBTEAMLOGGroupRenameType *)groupRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupRename; + _groupRename = groupRename; + } + return self; +} + +- (instancetype)initWithAccountLockOrUnlocked:(DBTEAMLOGAccountLockOrUnlockedType *)accountLockOrUnlocked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountLockOrUnlocked; + _accountLockOrUnlocked = accountLockOrUnlocked; + } + return self; +} + +- (instancetype)initWithEmmError:(DBTEAMLOGEmmErrorType *)emmError { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmError; + _emmError = emmError; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedInViaTrustedTeams: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)guestAdminSignedInViaTrustedTeams { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams; + _guestAdminSignedInViaTrustedTeams = guestAdminSignedInViaTrustedTeams; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeams: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)guestAdminSignedOutViaTrustedTeams { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams; + _guestAdminSignedOutViaTrustedTeams = guestAdminSignedOutViaTrustedTeams; + } + return self; +} + +- (instancetype)initWithLoginFail:(DBTEAMLOGLoginFailType *)loginFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLoginFail; + _loginFail = loginFail; + } + return self; +} + +- (instancetype)initWithLoginSuccess:(DBTEAMLOGLoginSuccessType *)loginSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLoginSuccess; + _loginSuccess = loginSuccess; + } + return self; +} + +- (instancetype)initWithLogout:(DBTEAMLOGLogoutType *)logout { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeLogout; + _logout = logout; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionEnd:(DBTEAMLOGResellerSupportSessionEndType *)resellerSupportSessionEnd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeResellerSupportSessionEnd; + _resellerSupportSessionEnd = resellerSupportSessionEnd; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionStart: + (DBTEAMLOGResellerSupportSessionStartType *)resellerSupportSessionStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeResellerSupportSessionStart; + _resellerSupportSessionStart = resellerSupportSessionStart; + } + return self; +} + +- (instancetype)initWithSignInAsSessionEnd:(DBTEAMLOGSignInAsSessionEndType *)signInAsSessionEnd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSignInAsSessionEnd; + _signInAsSessionEnd = signInAsSessionEnd; + } + return self; +} + +- (instancetype)initWithSignInAsSessionStart:(DBTEAMLOGSignInAsSessionStartType *)signInAsSessionStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSignInAsSessionStart; + _signInAsSessionStart = signInAsSessionStart; + } + return self; +} + +- (instancetype)initWithSsoError:(DBTEAMLOGSsoErrorType *)ssoError { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoError; + _ssoError = ssoError; + } + return self; +} + +- (instancetype)initWithBackupAdminInvitationSent:(DBTEAMLOGBackupAdminInvitationSentType *)backupAdminInvitationSent { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBackupAdminInvitationSent; + _backupAdminInvitationSent = backupAdminInvitationSent; + } + return self; +} + +- (instancetype)initWithBackupInvitationOpened:(DBTEAMLOGBackupInvitationOpenedType *)backupInvitationOpened { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBackupInvitationOpened; + _backupInvitationOpened = backupInvitationOpened; + } + return self; +} + +- (instancetype)initWithCreateTeamInviteLink:(DBTEAMLOGCreateTeamInviteLinkType *)createTeamInviteLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeCreateTeamInviteLink; + _createTeamInviteLink = createTeamInviteLink; + } + return self; +} + +- (instancetype)initWithDeleteTeamInviteLink:(DBTEAMLOGDeleteTeamInviteLinkType *)deleteTeamInviteLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeleteTeamInviteLink; + _deleteTeamInviteLink = deleteTeamInviteLink; + } + return self; +} + +- (instancetype)initWithMemberAddExternalId:(DBTEAMLOGMemberAddExternalIdType *)memberAddExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberAddExternalId; + _memberAddExternalId = memberAddExternalId; + } + return self; +} + +- (instancetype)initWithMemberAddName:(DBTEAMLOGMemberAddNameType *)memberAddName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberAddName; + _memberAddName = memberAddName; + } + return self; +} + +- (instancetype)initWithMemberChangeAdminRole:(DBTEAMLOGMemberChangeAdminRoleType *)memberChangeAdminRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeAdminRole; + _memberChangeAdminRole = memberChangeAdminRole; + } + return self; +} + +- (instancetype)initWithMemberChangeEmail:(DBTEAMLOGMemberChangeEmailType *)memberChangeEmail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeEmail; + _memberChangeEmail = memberChangeEmail; + } + return self; +} + +- (instancetype)initWithMemberChangeExternalId:(DBTEAMLOGMemberChangeExternalIdType *)memberChangeExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeExternalId; + _memberChangeExternalId = memberChangeExternalId; + } + return self; +} + +- (instancetype)initWithMemberChangeMembershipType: + (DBTEAMLOGMemberChangeMembershipTypeType *)memberChangeMembershipType { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeMembershipType; + _memberChangeMembershipType = memberChangeMembershipType; + } + return self; +} + +- (instancetype)initWithMemberChangeName:(DBTEAMLOGMemberChangeNameType *)memberChangeName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeName; + _memberChangeName = memberChangeName; + } + return self; +} + +- (instancetype)initWithMemberChangeResellerRole:(DBTEAMLOGMemberChangeResellerRoleType *)memberChangeResellerRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeResellerRole; + _memberChangeResellerRole = memberChangeResellerRole; + } + return self; +} + +- (instancetype)initWithMemberChangeStatus:(DBTEAMLOGMemberChangeStatusType *)memberChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberChangeStatus; + _memberChangeStatus = memberChangeStatus; + } + return self; +} + +- (instancetype)initWithMemberDeleteManualContacts: + (DBTEAMLOGMemberDeleteManualContactsType *)memberDeleteManualContacts { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberDeleteManualContacts; + _memberDeleteManualContacts = memberDeleteManualContacts; + } + return self; +} + +- (instancetype)initWithMemberDeleteProfilePhoto:(DBTEAMLOGMemberDeleteProfilePhotoType *)memberDeleteProfilePhoto { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberDeleteProfilePhoto; + _memberDeleteProfilePhoto = memberDeleteProfilePhoto; + } + return self; +} + +- (instancetype)initWithMemberPermanentlyDeleteAccountContents: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)memberPermanentlyDeleteAccountContents { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents; + _memberPermanentlyDeleteAccountContents = memberPermanentlyDeleteAccountContents; + } + return self; +} + +- (instancetype)initWithMemberRemoveExternalId:(DBTEAMLOGMemberRemoveExternalIdType *)memberRemoveExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberRemoveExternalId; + _memberRemoveExternalId = memberRemoveExternalId; + } + return self; +} + +- (instancetype)initWithMemberSetProfilePhoto:(DBTEAMLOGMemberSetProfilePhotoType *)memberSetProfilePhoto { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSetProfilePhoto; + _memberSetProfilePhoto = memberSetProfilePhoto; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddCustomQuota: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)memberSpaceLimitsAddCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota; + _memberSpaceLimitsAddCustomQuota = memberSpaceLimitsAddCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuota: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)memberSpaceLimitsChangeCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota; + _memberSpaceLimitsChangeCustomQuota = memberSpaceLimitsChangeCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeStatus: + (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)memberSpaceLimitsChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus; + _memberSpaceLimitsChangeStatus = memberSpaceLimitsChangeStatus; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuota: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)memberSpaceLimitsRemoveCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota; + _memberSpaceLimitsRemoveCustomQuota = memberSpaceLimitsRemoveCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSuggest:(DBTEAMLOGMemberSuggestType *)memberSuggest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSuggest; + _memberSuggest = memberSuggest; + } + return self; +} + +- (instancetype)initWithMemberTransferAccountContents: + (DBTEAMLOGMemberTransferAccountContentsType *)memberTransferAccountContents { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberTransferAccountContents; + _memberTransferAccountContents = memberTransferAccountContents; + } + return self; +} + +- (instancetype)initWithPendingSecondaryEmailAdded: + (DBTEAMLOGPendingSecondaryEmailAddedType *)pendingSecondaryEmailAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePendingSecondaryEmailAdded; + _pendingSecondaryEmailAdded = pendingSecondaryEmailAdded; + } + return self; +} + +- (instancetype)initWithSecondaryEmailDeleted:(DBTEAMLOGSecondaryEmailDeletedType *)secondaryEmailDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSecondaryEmailDeleted; + _secondaryEmailDeleted = secondaryEmailDeleted; + } + return self; +} + +- (instancetype)initWithSecondaryEmailVerified:(DBTEAMLOGSecondaryEmailVerifiedType *)secondaryEmailVerified { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSecondaryEmailVerified; + _secondaryEmailVerified = secondaryEmailVerified; + } + return self; +} + +- (instancetype)initWithSecondaryMailsPolicyChanged: + (DBTEAMLOGSecondaryMailsPolicyChangedType *)secondaryMailsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSecondaryMailsPolicyChanged; + _secondaryMailsPolicyChanged = secondaryMailsPolicyChanged; + } + return self; +} + +- (instancetype)initWithBinderAddPage:(DBTEAMLOGBinderAddPageType *)binderAddPage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderAddPage; + _binderAddPage = binderAddPage; + } + return self; +} + +- (instancetype)initWithBinderAddSection:(DBTEAMLOGBinderAddSectionType *)binderAddSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderAddSection; + _binderAddSection = binderAddSection; + } + return self; +} + +- (instancetype)initWithBinderRemovePage:(DBTEAMLOGBinderRemovePageType *)binderRemovePage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderRemovePage; + _binderRemovePage = binderRemovePage; + } + return self; +} + +- (instancetype)initWithBinderRemoveSection:(DBTEAMLOGBinderRemoveSectionType *)binderRemoveSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderRemoveSection; + _binderRemoveSection = binderRemoveSection; + } + return self; +} + +- (instancetype)initWithBinderRenamePage:(DBTEAMLOGBinderRenamePageType *)binderRenamePage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderRenamePage; + _binderRenamePage = binderRenamePage; + } + return self; +} + +- (instancetype)initWithBinderRenameSection:(DBTEAMLOGBinderRenameSectionType *)binderRenameSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderRenameSection; + _binderRenameSection = binderRenameSection; + } + return self; +} + +- (instancetype)initWithBinderReorderPage:(DBTEAMLOGBinderReorderPageType *)binderReorderPage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderReorderPage; + _binderReorderPage = binderReorderPage; + } + return self; +} + +- (instancetype)initWithBinderReorderSection:(DBTEAMLOGBinderReorderSectionType *)binderReorderSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeBinderReorderSection; + _binderReorderSection = binderReorderSection; + } + return self; +} + +- (instancetype)initWithPaperContentAddMember:(DBTEAMLOGPaperContentAddMemberType *)paperContentAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentAddMember; + _paperContentAddMember = paperContentAddMember; + } + return self; +} + +- (instancetype)initWithPaperContentAddToFolder:(DBTEAMLOGPaperContentAddToFolderType *)paperContentAddToFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentAddToFolder; + _paperContentAddToFolder = paperContentAddToFolder; + } + return self; +} + +- (instancetype)initWithPaperContentArchive:(DBTEAMLOGPaperContentArchiveType *)paperContentArchive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentArchive; + _paperContentArchive = paperContentArchive; + } + return self; +} + +- (instancetype)initWithPaperContentCreate:(DBTEAMLOGPaperContentCreateType *)paperContentCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentCreate; + _paperContentCreate = paperContentCreate; + } + return self; +} + +- (instancetype)initWithPaperContentPermanentlyDelete: + (DBTEAMLOGPaperContentPermanentlyDeleteType *)paperContentPermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentPermanentlyDelete; + _paperContentPermanentlyDelete = paperContentPermanentlyDelete; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveFromFolder: + (DBTEAMLOGPaperContentRemoveFromFolderType *)paperContentRemoveFromFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentRemoveFromFolder; + _paperContentRemoveFromFolder = paperContentRemoveFromFolder; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveMember:(DBTEAMLOGPaperContentRemoveMemberType *)paperContentRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentRemoveMember; + _paperContentRemoveMember = paperContentRemoveMember; + } + return self; +} + +- (instancetype)initWithPaperContentRename:(DBTEAMLOGPaperContentRenameType *)paperContentRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentRename; + _paperContentRename = paperContentRename; + } + return self; +} + +- (instancetype)initWithPaperContentRestore:(DBTEAMLOGPaperContentRestoreType *)paperContentRestore { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperContentRestore; + _paperContentRestore = paperContentRestore; + } + return self; +} + +- (instancetype)initWithPaperDocAddComment:(DBTEAMLOGPaperDocAddCommentType *)paperDocAddComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocAddComment; + _paperDocAddComment = paperDocAddComment; + } + return self; +} + +- (instancetype)initWithPaperDocChangeMemberRole:(DBTEAMLOGPaperDocChangeMemberRoleType *)paperDocChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocChangeMemberRole; + _paperDocChangeMemberRole = paperDocChangeMemberRole; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSharingPolicy: + (DBTEAMLOGPaperDocChangeSharingPolicyType *)paperDocChangeSharingPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocChangeSharingPolicy; + _paperDocChangeSharingPolicy = paperDocChangeSharingPolicy; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSubscription: + (DBTEAMLOGPaperDocChangeSubscriptionType *)paperDocChangeSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocChangeSubscription; + _paperDocChangeSubscription = paperDocChangeSubscription; + } + return self; +} + +- (instancetype)initWithPaperDocDeleted:(DBTEAMLOGPaperDocDeletedType *)paperDocDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocDeleted; + _paperDocDeleted = paperDocDeleted; + } + return self; +} + +- (instancetype)initWithPaperDocDeleteComment:(DBTEAMLOGPaperDocDeleteCommentType *)paperDocDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocDeleteComment; + _paperDocDeleteComment = paperDocDeleteComment; + } + return self; +} + +- (instancetype)initWithPaperDocDownload:(DBTEAMLOGPaperDocDownloadType *)paperDocDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocDownload; + _paperDocDownload = paperDocDownload; + } + return self; +} + +- (instancetype)initWithPaperDocEdit:(DBTEAMLOGPaperDocEditType *)paperDocEdit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocEdit; + _paperDocEdit = paperDocEdit; + } + return self; +} + +- (instancetype)initWithPaperDocEditComment:(DBTEAMLOGPaperDocEditCommentType *)paperDocEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocEditComment; + _paperDocEditComment = paperDocEditComment; + } + return self; +} + +- (instancetype)initWithPaperDocFollowed:(DBTEAMLOGPaperDocFollowedType *)paperDocFollowed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocFollowed; + _paperDocFollowed = paperDocFollowed; + } + return self; +} + +- (instancetype)initWithPaperDocMention:(DBTEAMLOGPaperDocMentionType *)paperDocMention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocMention; + _paperDocMention = paperDocMention; + } + return self; +} + +- (instancetype)initWithPaperDocOwnershipChanged:(DBTEAMLOGPaperDocOwnershipChangedType *)paperDocOwnershipChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocOwnershipChanged; + _paperDocOwnershipChanged = paperDocOwnershipChanged; + } + return self; +} + +- (instancetype)initWithPaperDocRequestAccess:(DBTEAMLOGPaperDocRequestAccessType *)paperDocRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocRequestAccess; + _paperDocRequestAccess = paperDocRequestAccess; + } + return self; +} + +- (instancetype)initWithPaperDocResolveComment:(DBTEAMLOGPaperDocResolveCommentType *)paperDocResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocResolveComment; + _paperDocResolveComment = paperDocResolveComment; + } + return self; +} + +- (instancetype)initWithPaperDocRevert:(DBTEAMLOGPaperDocRevertType *)paperDocRevert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocRevert; + _paperDocRevert = paperDocRevert; + } + return self; +} + +- (instancetype)initWithPaperDocSlackShare:(DBTEAMLOGPaperDocSlackShareType *)paperDocSlackShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocSlackShare; + _paperDocSlackShare = paperDocSlackShare; + } + return self; +} + +- (instancetype)initWithPaperDocTeamInvite:(DBTEAMLOGPaperDocTeamInviteType *)paperDocTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocTeamInvite; + _paperDocTeamInvite = paperDocTeamInvite; + } + return self; +} + +- (instancetype)initWithPaperDocTrashed:(DBTEAMLOGPaperDocTrashedType *)paperDocTrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocTrashed; + _paperDocTrashed = paperDocTrashed; + } + return self; +} + +- (instancetype)initWithPaperDocUnresolveComment:(DBTEAMLOGPaperDocUnresolveCommentType *)paperDocUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocUnresolveComment; + _paperDocUnresolveComment = paperDocUnresolveComment; + } + return self; +} + +- (instancetype)initWithPaperDocUntrashed:(DBTEAMLOGPaperDocUntrashedType *)paperDocUntrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocUntrashed; + _paperDocUntrashed = paperDocUntrashed; + } + return self; +} + +- (instancetype)initWithPaperDocView:(DBTEAMLOGPaperDocViewType *)paperDocView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDocView; + _paperDocView = paperDocView; + } + return self; +} + +- (instancetype)initWithPaperExternalViewAllow:(DBTEAMLOGPaperExternalViewAllowType *)paperExternalViewAllow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperExternalViewAllow; + _paperExternalViewAllow = paperExternalViewAllow; + } + return self; +} + +- (instancetype)initWithPaperExternalViewDefaultTeam: + (DBTEAMLOGPaperExternalViewDefaultTeamType *)paperExternalViewDefaultTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperExternalViewDefaultTeam; + _paperExternalViewDefaultTeam = paperExternalViewDefaultTeam; + } + return self; +} + +- (instancetype)initWithPaperExternalViewForbid:(DBTEAMLOGPaperExternalViewForbidType *)paperExternalViewForbid { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperExternalViewForbid; + _paperExternalViewForbid = paperExternalViewForbid; + } + return self; +} + +- (instancetype)initWithPaperFolderChangeSubscription: + (DBTEAMLOGPaperFolderChangeSubscriptionType *)paperFolderChangeSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperFolderChangeSubscription; + _paperFolderChangeSubscription = paperFolderChangeSubscription; + } + return self; +} + +- (instancetype)initWithPaperFolderDeleted:(DBTEAMLOGPaperFolderDeletedType *)paperFolderDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperFolderDeleted; + _paperFolderDeleted = paperFolderDeleted; + } + return self; +} + +- (instancetype)initWithPaperFolderFollowed:(DBTEAMLOGPaperFolderFollowedType *)paperFolderFollowed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperFolderFollowed; + _paperFolderFollowed = paperFolderFollowed; + } + return self; +} + +- (instancetype)initWithPaperFolderTeamInvite:(DBTEAMLOGPaperFolderTeamInviteType *)paperFolderTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperFolderTeamInvite; + _paperFolderTeamInvite = paperFolderTeamInvite; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkChangePermission: + (DBTEAMLOGPaperPublishedLinkChangePermissionType *)paperPublishedLinkChangePermission { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperPublishedLinkChangePermission; + _paperPublishedLinkChangePermission = paperPublishedLinkChangePermission; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkCreate:(DBTEAMLOGPaperPublishedLinkCreateType *)paperPublishedLinkCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperPublishedLinkCreate; + _paperPublishedLinkCreate = paperPublishedLinkCreate; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkDisabled: + (DBTEAMLOGPaperPublishedLinkDisabledType *)paperPublishedLinkDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperPublishedLinkDisabled; + _paperPublishedLinkDisabled = paperPublishedLinkDisabled; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkView:(DBTEAMLOGPaperPublishedLinkViewType *)paperPublishedLinkView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperPublishedLinkView; + _paperPublishedLinkView = paperPublishedLinkView; + } + return self; +} + +- (instancetype)initWithPasswordChange:(DBTEAMLOGPasswordChangeType *)passwordChange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePasswordChange; + _passwordChange = passwordChange; + } + return self; +} + +- (instancetype)initWithPasswordReset:(DBTEAMLOGPasswordResetType *)passwordReset { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePasswordReset; + _passwordReset = passwordReset; + } + return self; +} + +- (instancetype)initWithPasswordResetAll:(DBTEAMLOGPasswordResetAllType *)passwordResetAll { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePasswordResetAll; + _passwordResetAll = passwordResetAll; + } + return self; +} + +- (instancetype)initWithClassificationCreateReport: + (DBTEAMLOGClassificationCreateReportType *)classificationCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeClassificationCreateReport; + _classificationCreateReport = classificationCreateReport; + } + return self; +} + +- (instancetype)initWithClassificationCreateReportFail: + (DBTEAMLOGClassificationCreateReportFailType *)classificationCreateReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeClassificationCreateReportFail; + _classificationCreateReportFail = classificationCreateReportFail; + } + return self; +} + +- (instancetype)initWithEmmCreateExceptionsReport:(DBTEAMLOGEmmCreateExceptionsReportType *)emmCreateExceptionsReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmCreateExceptionsReport; + _emmCreateExceptionsReport = emmCreateExceptionsReport; + } + return self; +} + +- (instancetype)initWithEmmCreateUsageReport:(DBTEAMLOGEmmCreateUsageReportType *)emmCreateUsageReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmCreateUsageReport; + _emmCreateUsageReport = emmCreateUsageReport; + } + return self; +} + +- (instancetype)initWithExportMembersReport:(DBTEAMLOGExportMembersReportType *)exportMembersReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExportMembersReport; + _exportMembersReport = exportMembersReport; + } + return self; +} + +- (instancetype)initWithExportMembersReportFail:(DBTEAMLOGExportMembersReportFailType *)exportMembersReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExportMembersReportFail; + _exportMembersReportFail = exportMembersReportFail; + } + return self; +} + +- (instancetype)initWithExternalSharingCreateReport: + (DBTEAMLOGExternalSharingCreateReportType *)externalSharingCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExternalSharingCreateReport; + _externalSharingCreateReport = externalSharingCreateReport; + } + return self; +} + +- (instancetype)initWithExternalSharingReportFailed: + (DBTEAMLOGExternalSharingReportFailedType *)externalSharingReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExternalSharingReportFailed; + _externalSharingReportFailed = externalSharingReportFailed; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenCreateReport: + (DBTEAMLOGNoExpirationLinkGenCreateReportType *)noExpirationLinkGenCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport; + _noExpirationLinkGenCreateReport = noExpirationLinkGenCreateReport; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenReportFailed: + (DBTEAMLOGNoExpirationLinkGenReportFailedType *)noExpirationLinkGenReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed; + _noExpirationLinkGenReportFailed = noExpirationLinkGenReportFailed; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenCreateReport: + (DBTEAMLOGNoPasswordLinkGenCreateReportType *)noPasswordLinkGenCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport; + _noPasswordLinkGenCreateReport = noPasswordLinkGenCreateReport; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenReportFailed: + (DBTEAMLOGNoPasswordLinkGenReportFailedType *)noPasswordLinkGenReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed; + _noPasswordLinkGenReportFailed = noPasswordLinkGenReportFailed; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewCreateReport: + (DBTEAMLOGNoPasswordLinkViewCreateReportType *)noPasswordLinkViewCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport; + _noPasswordLinkViewCreateReport = noPasswordLinkViewCreateReport; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewReportFailed: + (DBTEAMLOGNoPasswordLinkViewReportFailedType *)noPasswordLinkViewReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed; + _noPasswordLinkViewReportFailed = noPasswordLinkViewReportFailed; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewCreateReport: + (DBTEAMLOGOutdatedLinkViewCreateReportType *)outdatedLinkViewCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeOutdatedLinkViewCreateReport; + _outdatedLinkViewCreateReport = outdatedLinkViewCreateReport; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewReportFailed: + (DBTEAMLOGOutdatedLinkViewReportFailedType *)outdatedLinkViewReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeOutdatedLinkViewReportFailed; + _outdatedLinkViewReportFailed = outdatedLinkViewReportFailed; + } + return self; +} + +- (instancetype)initWithPaperAdminExportStart:(DBTEAMLOGPaperAdminExportStartType *)paperAdminExportStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperAdminExportStart; + _paperAdminExportStart = paperAdminExportStart; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReport: + (DBTEAMLOGRansomwareAlertCreateReportType *)ransomwareAlertCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRansomwareAlertCreateReport; + _ransomwareAlertCreateReport = ransomwareAlertCreateReport; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReportFailed: + (DBTEAMLOGRansomwareAlertCreateReportFailedType *)ransomwareAlertCreateReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed; + _ransomwareAlertCreateReportFailed = ransomwareAlertCreateReportFailed; + } + return self; +} + +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)smartSyncCreateAdminPrivilegeReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport; + _smartSyncCreateAdminPrivilegeReport = smartSyncCreateAdminPrivilegeReport; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReport:(DBTEAMLOGTeamActivityCreateReportType *)teamActivityCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamActivityCreateReport; + _teamActivityCreateReport = teamActivityCreateReport; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReportFail: + (DBTEAMLOGTeamActivityCreateReportFailType *)teamActivityCreateReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamActivityCreateReportFail; + _teamActivityCreateReportFail = teamActivityCreateReportFail; + } + return self; +} + +- (instancetype)initWithCollectionShare:(DBTEAMLOGCollectionShareType *)collectionShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeCollectionShare; + _collectionShare = collectionShare; + } + return self; +} + +- (instancetype)initWithFileTransfersFileAdd:(DBTEAMLOGFileTransfersFileAddType *)fileTransfersFileAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersFileAdd; + _fileTransfersFileAdd = fileTransfersFileAdd; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDelete: + (DBTEAMLOGFileTransfersTransferDeleteType *)fileTransfersTransferDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersTransferDelete; + _fileTransfersTransferDelete = fileTransfersTransferDelete; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDownload: + (DBTEAMLOGFileTransfersTransferDownloadType *)fileTransfersTransferDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersTransferDownload; + _fileTransfersTransferDownload = fileTransfersTransferDownload; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferSend:(DBTEAMLOGFileTransfersTransferSendType *)fileTransfersTransferSend { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersTransferSend; + _fileTransfersTransferSend = fileTransfersTransferSend; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferView:(DBTEAMLOGFileTransfersTransferViewType *)fileTransfersTransferView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersTransferView; + _fileTransfersTransferView = fileTransfersTransferView; + } + return self; +} + +- (instancetype)initWithNoteAclInviteOnly:(DBTEAMLOGNoteAclInviteOnlyType *)noteAclInviteOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoteAclInviteOnly; + _noteAclInviteOnly = noteAclInviteOnly; + } + return self; +} + +- (instancetype)initWithNoteAclLink:(DBTEAMLOGNoteAclLinkType *)noteAclLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoteAclLink; + _noteAclLink = noteAclLink; + } + return self; +} + +- (instancetype)initWithNoteAclTeamLink:(DBTEAMLOGNoteAclTeamLinkType *)noteAclTeamLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoteAclTeamLink; + _noteAclTeamLink = noteAclTeamLink; + } + return self; +} + +- (instancetype)initWithNoteShared:(DBTEAMLOGNoteSharedType *)noteShared { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoteShared; + _noteShared = noteShared; + } + return self; +} + +- (instancetype)initWithNoteShareReceive:(DBTEAMLOGNoteShareReceiveType *)noteShareReceive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNoteShareReceive; + _noteShareReceive = noteShareReceive; + } + return self; +} + +- (instancetype)initWithOpenNoteShared:(DBTEAMLOGOpenNoteSharedType *)openNoteShared { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeOpenNoteShared; + _openNoteShared = openNoteShared; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkCreated: + (DBTEAMLOGReplayFileSharedLinkCreatedType *)replayFileSharedLinkCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeReplayFileSharedLinkCreated; + _replayFileSharedLinkCreated = replayFileSharedLinkCreated; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkModified: + (DBTEAMLOGReplayFileSharedLinkModifiedType *)replayFileSharedLinkModified { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeReplayFileSharedLinkModified; + _replayFileSharedLinkModified = replayFileSharedLinkModified; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamAdd:(DBTEAMLOGReplayProjectTeamAddType *)replayProjectTeamAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeReplayProjectTeamAdd; + _replayProjectTeamAdd = replayProjectTeamAdd; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamDelete:(DBTEAMLOGReplayProjectTeamDeleteType *)replayProjectTeamDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeReplayProjectTeamDelete; + _replayProjectTeamDelete = replayProjectTeamDelete; + } + return self; +} + +- (instancetype)initWithSfAddGroup:(DBTEAMLOGSfAddGroupType *)sfAddGroup { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfAddGroup; + _sfAddGroup = sfAddGroup; + } + return self; +} + +- (instancetype)initWithSfAllowNonMembersToViewSharedLinks: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)sfAllowNonMembersToViewSharedLinks { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks; + _sfAllowNonMembersToViewSharedLinks = sfAllowNonMembersToViewSharedLinks; + } + return self; +} + +- (instancetype)initWithSfExternalInviteWarn:(DBTEAMLOGSfExternalInviteWarnType *)sfExternalInviteWarn { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfExternalInviteWarn; + _sfExternalInviteWarn = sfExternalInviteWarn; + } + return self; +} + +- (instancetype)initWithSfFbInvite:(DBTEAMLOGSfFbInviteType *)sfFbInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfFbInvite; + _sfFbInvite = sfFbInvite; + } + return self; +} + +- (instancetype)initWithSfFbInviteChangeRole:(DBTEAMLOGSfFbInviteChangeRoleType *)sfFbInviteChangeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfFbInviteChangeRole; + _sfFbInviteChangeRole = sfFbInviteChangeRole; + } + return self; +} + +- (instancetype)initWithSfFbUninvite:(DBTEAMLOGSfFbUninviteType *)sfFbUninvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfFbUninvite; + _sfFbUninvite = sfFbUninvite; + } + return self; +} + +- (instancetype)initWithSfInviteGroup:(DBTEAMLOGSfInviteGroupType *)sfInviteGroup { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfInviteGroup; + _sfInviteGroup = sfInviteGroup; + } + return self; +} + +- (instancetype)initWithSfTeamGrantAccess:(DBTEAMLOGSfTeamGrantAccessType *)sfTeamGrantAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamGrantAccess; + _sfTeamGrantAccess = sfTeamGrantAccess; + } + return self; +} + +- (instancetype)initWithSfTeamInvite:(DBTEAMLOGSfTeamInviteType *)sfTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamInvite; + _sfTeamInvite = sfTeamInvite; + } + return self; +} + +- (instancetype)initWithSfTeamInviteChangeRole:(DBTEAMLOGSfTeamInviteChangeRoleType *)sfTeamInviteChangeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamInviteChangeRole; + _sfTeamInviteChangeRole = sfTeamInviteChangeRole; + } + return self; +} + +- (instancetype)initWithSfTeamJoin:(DBTEAMLOGSfTeamJoinType *)sfTeamJoin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamJoin; + _sfTeamJoin = sfTeamJoin; + } + return self; +} + +- (instancetype)initWithSfTeamJoinFromOobLink:(DBTEAMLOGSfTeamJoinFromOobLinkType *)sfTeamJoinFromOobLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamJoinFromOobLink; + _sfTeamJoinFromOobLink = sfTeamJoinFromOobLink; + } + return self; +} + +- (instancetype)initWithSfTeamUninvite:(DBTEAMLOGSfTeamUninviteType *)sfTeamUninvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSfTeamUninvite; + _sfTeamUninvite = sfTeamUninvite; + } + return self; +} + +- (instancetype)initWithSharedContentAddInvitees:(DBTEAMLOGSharedContentAddInviteesType *)sharedContentAddInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentAddInvitees; + _sharedContentAddInvitees = sharedContentAddInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkExpiry: + (DBTEAMLOGSharedContentAddLinkExpiryType *)sharedContentAddLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentAddLinkExpiry; + _sharedContentAddLinkExpiry = sharedContentAddLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkPassword: + (DBTEAMLOGSharedContentAddLinkPasswordType *)sharedContentAddLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentAddLinkPassword; + _sharedContentAddLinkPassword = sharedContentAddLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentAddMember:(DBTEAMLOGSharedContentAddMemberType *)sharedContentAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentAddMember; + _sharedContentAddMember = sharedContentAddMember; + } + return self; +} + +- (instancetype)initWithSharedContentChangeDownloadsPolicy: + (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)sharedContentChangeDownloadsPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy; + _sharedContentChangeDownloadsPolicy = sharedContentChangeDownloadsPolicy; + } + return self; +} + +- (instancetype)initWithSharedContentChangeInviteeRole: + (DBTEAMLOGSharedContentChangeInviteeRoleType *)sharedContentChangeInviteeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeInviteeRole; + _sharedContentChangeInviteeRole = sharedContentChangeInviteeRole; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkAudience: + (DBTEAMLOGSharedContentChangeLinkAudienceType *)sharedContentChangeLinkAudience { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeLinkAudience; + _sharedContentChangeLinkAudience = sharedContentChangeLinkAudience; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkExpiry: + (DBTEAMLOGSharedContentChangeLinkExpiryType *)sharedContentChangeLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeLinkExpiry; + _sharedContentChangeLinkExpiry = sharedContentChangeLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkPassword: + (DBTEAMLOGSharedContentChangeLinkPasswordType *)sharedContentChangeLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeLinkPassword; + _sharedContentChangeLinkPassword = sharedContentChangeLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentChangeMemberRole: + (DBTEAMLOGSharedContentChangeMemberRoleType *)sharedContentChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeMemberRole; + _sharedContentChangeMemberRole = sharedContentChangeMemberRole; + } + return self; +} + +- (instancetype)initWithSharedContentChangeViewerInfoPolicy: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)sharedContentChangeViewerInfoPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy; + _sharedContentChangeViewerInfoPolicy = sharedContentChangeViewerInfoPolicy; + } + return self; +} + +- (instancetype)initWithSharedContentClaimInvitation: + (DBTEAMLOGSharedContentClaimInvitationType *)sharedContentClaimInvitation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentClaimInvitation; + _sharedContentClaimInvitation = sharedContentClaimInvitation; + } + return self; +} + +- (instancetype)initWithSharedContentCopy:(DBTEAMLOGSharedContentCopyType *)sharedContentCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentCopy; + _sharedContentCopy = sharedContentCopy; + } + return self; +} + +- (instancetype)initWithSharedContentDownload:(DBTEAMLOGSharedContentDownloadType *)sharedContentDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentDownload; + _sharedContentDownload = sharedContentDownload; + } + return self; +} + +- (instancetype)initWithSharedContentRelinquishMembership: + (DBTEAMLOGSharedContentRelinquishMembershipType *)sharedContentRelinquishMembership { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRelinquishMembership; + _sharedContentRelinquishMembership = sharedContentRelinquishMembership; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveInvitees: + (DBTEAMLOGSharedContentRemoveInviteesType *)sharedContentRemoveInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRemoveInvitees; + _sharedContentRemoveInvitees = sharedContentRemoveInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkExpiry: + (DBTEAMLOGSharedContentRemoveLinkExpiryType *)sharedContentRemoveLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry; + _sharedContentRemoveLinkExpiry = sharedContentRemoveLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkPassword: + (DBTEAMLOGSharedContentRemoveLinkPasswordType *)sharedContentRemoveLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRemoveLinkPassword; + _sharedContentRemoveLinkPassword = sharedContentRemoveLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveMember:(DBTEAMLOGSharedContentRemoveMemberType *)sharedContentRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRemoveMember; + _sharedContentRemoveMember = sharedContentRemoveMember; + } + return self; +} + +- (instancetype)initWithSharedContentRequestAccess: + (DBTEAMLOGSharedContentRequestAccessType *)sharedContentRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRequestAccess; + _sharedContentRequestAccess = sharedContentRequestAccess; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreInvitees: + (DBTEAMLOGSharedContentRestoreInviteesType *)sharedContentRestoreInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRestoreInvitees; + _sharedContentRestoreInvitees = sharedContentRestoreInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreMember: + (DBTEAMLOGSharedContentRestoreMemberType *)sharedContentRestoreMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentRestoreMember; + _sharedContentRestoreMember = sharedContentRestoreMember; + } + return self; +} + +- (instancetype)initWithSharedContentUnshare:(DBTEAMLOGSharedContentUnshareType *)sharedContentUnshare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentUnshare; + _sharedContentUnshare = sharedContentUnshare; + } + return self; +} + +- (instancetype)initWithSharedContentView:(DBTEAMLOGSharedContentViewType *)sharedContentView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedContentView; + _sharedContentView = sharedContentView; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeLinkPolicy: + (DBTEAMLOGSharedFolderChangeLinkPolicyType *)sharedFolderChangeLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy; + _sharedFolderChangeLinkPolicy = sharedFolderChangeLinkPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicy: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)sharedFolderChangeMembersInheritancePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy; + _sharedFolderChangeMembersInheritancePolicy = sharedFolderChangeMembersInheritancePolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersManagementPolicy: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)sharedFolderChangeMembersManagementPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy; + _sharedFolderChangeMembersManagementPolicy = sharedFolderChangeMembersManagementPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersPolicy: + (DBTEAMLOGSharedFolderChangeMembersPolicyType *)sharedFolderChangeMembersPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy; + _sharedFolderChangeMembersPolicy = sharedFolderChangeMembersPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderCreate:(DBTEAMLOGSharedFolderCreateType *)sharedFolderCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderCreate; + _sharedFolderCreate = sharedFolderCreate; + } + return self; +} + +- (instancetype)initWithSharedFolderDeclineInvitation: + (DBTEAMLOGSharedFolderDeclineInvitationType *)sharedFolderDeclineInvitation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderDeclineInvitation; + _sharedFolderDeclineInvitation = sharedFolderDeclineInvitation; + } + return self; +} + +- (instancetype)initWithSharedFolderMount:(DBTEAMLOGSharedFolderMountType *)sharedFolderMount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderMount; + _sharedFolderMount = sharedFolderMount; + } + return self; +} + +- (instancetype)initWithSharedFolderNest:(DBTEAMLOGSharedFolderNestType *)sharedFolderNest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderNest; + _sharedFolderNest = sharedFolderNest; + } + return self; +} + +- (instancetype)initWithSharedFolderTransferOwnership: + (DBTEAMLOGSharedFolderTransferOwnershipType *)sharedFolderTransferOwnership { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderTransferOwnership; + _sharedFolderTransferOwnership = sharedFolderTransferOwnership; + } + return self; +} + +- (instancetype)initWithSharedFolderUnmount:(DBTEAMLOGSharedFolderUnmountType *)sharedFolderUnmount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedFolderUnmount; + _sharedFolderUnmount = sharedFolderUnmount; + } + return self; +} + +- (instancetype)initWithSharedLinkAddExpiry:(DBTEAMLOGSharedLinkAddExpiryType *)sharedLinkAddExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkAddExpiry; + _sharedLinkAddExpiry = sharedLinkAddExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeExpiry:(DBTEAMLOGSharedLinkChangeExpiryType *)sharedLinkChangeExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkChangeExpiry; + _sharedLinkChangeExpiry = sharedLinkChangeExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeVisibility: + (DBTEAMLOGSharedLinkChangeVisibilityType *)sharedLinkChangeVisibility { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkChangeVisibility; + _sharedLinkChangeVisibility = sharedLinkChangeVisibility; + } + return self; +} + +- (instancetype)initWithSharedLinkCopy:(DBTEAMLOGSharedLinkCopyType *)sharedLinkCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkCopy; + _sharedLinkCopy = sharedLinkCopy; + } + return self; +} + +- (instancetype)initWithSharedLinkCreate:(DBTEAMLOGSharedLinkCreateType *)sharedLinkCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkCreate; + _sharedLinkCreate = sharedLinkCreate; + } + return self; +} + +- (instancetype)initWithSharedLinkDisable:(DBTEAMLOGSharedLinkDisableType *)sharedLinkDisable { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkDisable; + _sharedLinkDisable = sharedLinkDisable; + } + return self; +} + +- (instancetype)initWithSharedLinkDownload:(DBTEAMLOGSharedLinkDownloadType *)sharedLinkDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkDownload; + _sharedLinkDownload = sharedLinkDownload; + } + return self; +} + +- (instancetype)initWithSharedLinkRemoveExpiry:(DBTEAMLOGSharedLinkRemoveExpiryType *)sharedLinkRemoveExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkRemoveExpiry; + _sharedLinkRemoveExpiry = sharedLinkRemoveExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddExpiration: + (DBTEAMLOGSharedLinkSettingsAddExpirationType *)sharedLinkSettingsAddExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration; + _sharedLinkSettingsAddExpiration = sharedLinkSettingsAddExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddPassword: + (DBTEAMLOGSharedLinkSettingsAddPasswordType *)sharedLinkSettingsAddPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsAddPassword; + _sharedLinkSettingsAddPassword = sharedLinkSettingsAddPassword; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabled: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)sharedLinkSettingsAllowDownloadDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled; + _sharedLinkSettingsAllowDownloadDisabled = sharedLinkSettingsAllowDownloadDisabled; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabled: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)sharedLinkSettingsAllowDownloadEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled; + _sharedLinkSettingsAllowDownloadEnabled = sharedLinkSettingsAllowDownloadEnabled; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeAudience: + (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)sharedLinkSettingsChangeAudience { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience; + _sharedLinkSettingsChangeAudience = sharedLinkSettingsChangeAudience; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeExpiration: + (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)sharedLinkSettingsChangeExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration; + _sharedLinkSettingsChangeExpiration = sharedLinkSettingsChangeExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangePassword: + (DBTEAMLOGSharedLinkSettingsChangePasswordType *)sharedLinkSettingsChangePassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsChangePassword; + _sharedLinkSettingsChangePassword = sharedLinkSettingsChangePassword; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemoveExpiration: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)sharedLinkSettingsRemoveExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration; + _sharedLinkSettingsRemoveExpiration = sharedLinkSettingsRemoveExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemovePassword: + (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)sharedLinkSettingsRemovePassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword; + _sharedLinkSettingsRemovePassword = sharedLinkSettingsRemovePassword; + } + return self; +} + +- (instancetype)initWithSharedLinkShare:(DBTEAMLOGSharedLinkShareType *)sharedLinkShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkShare; + _sharedLinkShare = sharedLinkShare; + } + return self; +} + +- (instancetype)initWithSharedLinkView:(DBTEAMLOGSharedLinkViewType *)sharedLinkView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedLinkView; + _sharedLinkView = sharedLinkView; + } + return self; +} + +- (instancetype)initWithSharedNoteOpened:(DBTEAMLOGSharedNoteOpenedType *)sharedNoteOpened { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharedNoteOpened; + _sharedNoteOpened = sharedNoteOpened; + } + return self; +} + +- (instancetype)initWithShmodelDisableDownloads:(DBTEAMLOGShmodelDisableDownloadsType *)shmodelDisableDownloads { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShmodelDisableDownloads; + _shmodelDisableDownloads = shmodelDisableDownloads; + } + return self; +} + +- (instancetype)initWithShmodelEnableDownloads:(DBTEAMLOGShmodelEnableDownloadsType *)shmodelEnableDownloads { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShmodelEnableDownloads; + _shmodelEnableDownloads = shmodelEnableDownloads; + } + return self; +} + +- (instancetype)initWithShmodelGroupShare:(DBTEAMLOGShmodelGroupShareType *)shmodelGroupShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShmodelGroupShare; + _shmodelGroupShare = shmodelGroupShare; + } + return self; +} + +- (instancetype)initWithShowcaseAccessGranted:(DBTEAMLOGShowcaseAccessGrantedType *)showcaseAccessGranted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseAccessGranted; + _showcaseAccessGranted = showcaseAccessGranted; + } + return self; +} + +- (instancetype)initWithShowcaseAddMember:(DBTEAMLOGShowcaseAddMemberType *)showcaseAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseAddMember; + _showcaseAddMember = showcaseAddMember; + } + return self; +} + +- (instancetype)initWithShowcaseArchived:(DBTEAMLOGShowcaseArchivedType *)showcaseArchived { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseArchived; + _showcaseArchived = showcaseArchived; + } + return self; +} + +- (instancetype)initWithShowcaseCreated:(DBTEAMLOGShowcaseCreatedType *)showcaseCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseCreated; + _showcaseCreated = showcaseCreated; + } + return self; +} + +- (instancetype)initWithShowcaseDeleteComment:(DBTEAMLOGShowcaseDeleteCommentType *)showcaseDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseDeleteComment; + _showcaseDeleteComment = showcaseDeleteComment; + } + return self; +} + +- (instancetype)initWithShowcaseEdited:(DBTEAMLOGShowcaseEditedType *)showcaseEdited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseEdited; + _showcaseEdited = showcaseEdited; + } + return self; +} + +- (instancetype)initWithShowcaseEditComment:(DBTEAMLOGShowcaseEditCommentType *)showcaseEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseEditComment; + _showcaseEditComment = showcaseEditComment; + } + return self; +} + +- (instancetype)initWithShowcaseFileAdded:(DBTEAMLOGShowcaseFileAddedType *)showcaseFileAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseFileAdded; + _showcaseFileAdded = showcaseFileAdded; + } + return self; +} + +- (instancetype)initWithShowcaseFileDownload:(DBTEAMLOGShowcaseFileDownloadType *)showcaseFileDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseFileDownload; + _showcaseFileDownload = showcaseFileDownload; + } + return self; +} + +- (instancetype)initWithShowcaseFileRemoved:(DBTEAMLOGShowcaseFileRemovedType *)showcaseFileRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseFileRemoved; + _showcaseFileRemoved = showcaseFileRemoved; + } + return self; +} + +- (instancetype)initWithShowcaseFileView:(DBTEAMLOGShowcaseFileViewType *)showcaseFileView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseFileView; + _showcaseFileView = showcaseFileView; + } + return self; +} + +- (instancetype)initWithShowcasePermanentlyDeleted: + (DBTEAMLOGShowcasePermanentlyDeletedType *)showcasePermanentlyDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcasePermanentlyDeleted; + _showcasePermanentlyDeleted = showcasePermanentlyDeleted; + } + return self; +} + +- (instancetype)initWithShowcasePostComment:(DBTEAMLOGShowcasePostCommentType *)showcasePostComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcasePostComment; + _showcasePostComment = showcasePostComment; + } + return self; +} + +- (instancetype)initWithShowcaseRemoveMember:(DBTEAMLOGShowcaseRemoveMemberType *)showcaseRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseRemoveMember; + _showcaseRemoveMember = showcaseRemoveMember; + } + return self; +} + +- (instancetype)initWithShowcaseRenamed:(DBTEAMLOGShowcaseRenamedType *)showcaseRenamed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseRenamed; + _showcaseRenamed = showcaseRenamed; + } + return self; +} + +- (instancetype)initWithShowcaseRequestAccess:(DBTEAMLOGShowcaseRequestAccessType *)showcaseRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseRequestAccess; + _showcaseRequestAccess = showcaseRequestAccess; + } + return self; +} + +- (instancetype)initWithShowcaseResolveComment:(DBTEAMLOGShowcaseResolveCommentType *)showcaseResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseResolveComment; + _showcaseResolveComment = showcaseResolveComment; + } + return self; +} + +- (instancetype)initWithShowcaseRestored:(DBTEAMLOGShowcaseRestoredType *)showcaseRestored { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseRestored; + _showcaseRestored = showcaseRestored; + } + return self; +} + +- (instancetype)initWithShowcaseTrashed:(DBTEAMLOGShowcaseTrashedType *)showcaseTrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseTrashed; + _showcaseTrashed = showcaseTrashed; + } + return self; +} + +- (instancetype)initWithShowcaseTrashedDeprecated:(DBTEAMLOGShowcaseTrashedDeprecatedType *)showcaseTrashedDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseTrashedDeprecated; + _showcaseTrashedDeprecated = showcaseTrashedDeprecated; + } + return self; +} + +- (instancetype)initWithShowcaseUnresolveComment:(DBTEAMLOGShowcaseUnresolveCommentType *)showcaseUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseUnresolveComment; + _showcaseUnresolveComment = showcaseUnresolveComment; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashed:(DBTEAMLOGShowcaseUntrashedType *)showcaseUntrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseUntrashed; + _showcaseUntrashed = showcaseUntrashed; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashedDeprecated: + (DBTEAMLOGShowcaseUntrashedDeprecatedType *)showcaseUntrashedDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseUntrashedDeprecated; + _showcaseUntrashedDeprecated = showcaseUntrashedDeprecated; + } + return self; +} + +- (instancetype)initWithShowcaseView:(DBTEAMLOGShowcaseViewType *)showcaseView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseView; + _showcaseView = showcaseView; + } + return self; +} + +- (instancetype)initWithSsoAddCert:(DBTEAMLOGSsoAddCertType *)ssoAddCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoAddCert; + _ssoAddCert = ssoAddCert; + } + return self; +} + +- (instancetype)initWithSsoAddLoginUrl:(DBTEAMLOGSsoAddLoginUrlType *)ssoAddLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoAddLoginUrl; + _ssoAddLoginUrl = ssoAddLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoAddLogoutUrl:(DBTEAMLOGSsoAddLogoutUrlType *)ssoAddLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoAddLogoutUrl; + _ssoAddLogoutUrl = ssoAddLogoutUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeCert:(DBTEAMLOGSsoChangeCertType *)ssoChangeCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoChangeCert; + _ssoChangeCert = ssoChangeCert; + } + return self; +} + +- (instancetype)initWithSsoChangeLoginUrl:(DBTEAMLOGSsoChangeLoginUrlType *)ssoChangeLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoChangeLoginUrl; + _ssoChangeLoginUrl = ssoChangeLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeLogoutUrl:(DBTEAMLOGSsoChangeLogoutUrlType *)ssoChangeLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoChangeLogoutUrl; + _ssoChangeLogoutUrl = ssoChangeLogoutUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeSamlIdentityMode:(DBTEAMLOGSsoChangeSamlIdentityModeType *)ssoChangeSamlIdentityMode { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoChangeSamlIdentityMode; + _ssoChangeSamlIdentityMode = ssoChangeSamlIdentityMode; + } + return self; +} + +- (instancetype)initWithSsoRemoveCert:(DBTEAMLOGSsoRemoveCertType *)ssoRemoveCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoRemoveCert; + _ssoRemoveCert = ssoRemoveCert; + } + return self; +} + +- (instancetype)initWithSsoRemoveLoginUrl:(DBTEAMLOGSsoRemoveLoginUrlType *)ssoRemoveLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoRemoveLoginUrl; + _ssoRemoveLoginUrl = ssoRemoveLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoRemoveLogoutUrl:(DBTEAMLOGSsoRemoveLogoutUrlType *)ssoRemoveLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoRemoveLogoutUrl; + _ssoRemoveLogoutUrl = ssoRemoveLogoutUrl; + } + return self; +} + +- (instancetype)initWithTeamFolderChangeStatus:(DBTEAMLOGTeamFolderChangeStatusType *)teamFolderChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamFolderChangeStatus; + _teamFolderChangeStatus = teamFolderChangeStatus; + } + return self; +} + +- (instancetype)initWithTeamFolderCreate:(DBTEAMLOGTeamFolderCreateType *)teamFolderCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamFolderCreate; + _teamFolderCreate = teamFolderCreate; + } + return self; +} + +- (instancetype)initWithTeamFolderDowngrade:(DBTEAMLOGTeamFolderDowngradeType *)teamFolderDowngrade { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamFolderDowngrade; + _teamFolderDowngrade = teamFolderDowngrade; + } + return self; +} + +- (instancetype)initWithTeamFolderPermanentlyDelete: + (DBTEAMLOGTeamFolderPermanentlyDeleteType *)teamFolderPermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamFolderPermanentlyDelete; + _teamFolderPermanentlyDelete = teamFolderPermanentlyDelete; + } + return self; +} + +- (instancetype)initWithTeamFolderRename:(DBTEAMLOGTeamFolderRenameType *)teamFolderRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamFolderRename; + _teamFolderRename = teamFolderRename; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncSettingsChanged: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)teamSelectiveSyncSettingsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged; + _teamSelectiveSyncSettingsChanged = teamSelectiveSyncSettingsChanged; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangePolicy: + (DBTEAMLOGAccountCaptureChangePolicyType *)accountCaptureChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAccountCaptureChangePolicy; + _accountCaptureChangePolicy = accountCaptureChangePolicy; + } + return self; +} + +- (instancetype)initWithAdminEmailRemindersChanged: + (DBTEAMLOGAdminEmailRemindersChangedType *)adminEmailRemindersChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAdminEmailRemindersChanged; + _adminEmailRemindersChanged = adminEmailRemindersChanged; + } + return self; +} + +- (instancetype)initWithAllowDownloadDisabled:(DBTEAMLOGAllowDownloadDisabledType *)allowDownloadDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAllowDownloadDisabled; + _allowDownloadDisabled = allowDownloadDisabled; + } + return self; +} + +- (instancetype)initWithAllowDownloadEnabled:(DBTEAMLOGAllowDownloadEnabledType *)allowDownloadEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAllowDownloadEnabled; + _allowDownloadEnabled = allowDownloadEnabled; + } + return self; +} + +- (instancetype)initWithAppPermissionsChanged:(DBTEAMLOGAppPermissionsChangedType *)appPermissionsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeAppPermissionsChanged; + _appPermissionsChanged = appPermissionsChanged; + } + return self; +} + +- (instancetype)initWithCameraUploadsPolicyChanged: + (DBTEAMLOGCameraUploadsPolicyChangedType *)cameraUploadsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeCameraUploadsPolicyChanged; + _cameraUploadsPolicyChanged = cameraUploadsPolicyChanged; + } + return self; +} + +- (instancetype)initWithCaptureTranscriptPolicyChanged: + (DBTEAMLOGCaptureTranscriptPolicyChangedType *)captureTranscriptPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged; + _captureTranscriptPolicyChanged = captureTranscriptPolicyChanged; + } + return self; +} + +- (instancetype)initWithClassificationChangePolicy: + (DBTEAMLOGClassificationChangePolicyType *)classificationChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeClassificationChangePolicy; + _classificationChangePolicy = classificationChangePolicy; + } + return self; +} + +- (instancetype)initWithComputerBackupPolicyChanged: + (DBTEAMLOGComputerBackupPolicyChangedType *)computerBackupPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeComputerBackupPolicyChanged; + _computerBackupPolicyChanged = computerBackupPolicyChanged; + } + return self; +} + +- (instancetype)initWithContentAdministrationPolicyChanged: + (DBTEAMLOGContentAdministrationPolicyChangedType *)contentAdministrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeContentAdministrationPolicyChanged; + _contentAdministrationPolicyChanged = contentAdministrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionChangePolicy: + (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)dataPlacementRestrictionChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy; + _dataPlacementRestrictionChangePolicy = dataPlacementRestrictionChangePolicy; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)dataPlacementRestrictionSatisfyPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy; + _dataPlacementRestrictionSatisfyPolicy = dataPlacementRestrictionSatisfyPolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsAddException: + (DBTEAMLOGDeviceApprovalsAddExceptionType *)deviceApprovalsAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsAddException; + _deviceApprovalsAddException = deviceApprovalsAddException; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deviceApprovalsChangeDesktopPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy; + _deviceApprovalsChangeDesktopPolicy = deviceApprovalsChangeDesktopPolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeMobilePolicy: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deviceApprovalsChangeMobilePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy; + _deviceApprovalsChangeMobilePolicy = deviceApprovalsChangeMobilePolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeOverageAction: + (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deviceApprovalsChangeOverageAction { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction; + _deviceApprovalsChangeOverageAction = deviceApprovalsChangeOverageAction; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeUnlinkAction: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deviceApprovalsChangeUnlinkAction { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction; + _deviceApprovalsChangeUnlinkAction = deviceApprovalsChangeUnlinkAction; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsRemoveException: + (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deviceApprovalsRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDeviceApprovalsRemoveException; + _deviceApprovalsRemoveException = deviceApprovalsRemoveException; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsAddMembers: + (DBTEAMLOGDirectoryRestrictionsAddMembersType *)directoryRestrictionsAddMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers; + _directoryRestrictionsAddMembers = directoryRestrictionsAddMembers; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsRemoveMembers: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)directoryRestrictionsRemoveMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers; + _directoryRestrictionsRemoveMembers = directoryRestrictionsRemoveMembers; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsPolicyChanged: + (DBTEAMLOGDropboxPasswordsPolicyChangedType *)dropboxPasswordsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged; + _dropboxPasswordsPolicyChanged = dropboxPasswordsPolicyChanged; + } + return self; +} + +- (instancetype)initWithEmailIngestPolicyChanged:(DBTEAMLOGEmailIngestPolicyChangedType *)emailIngestPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmailIngestPolicyChanged; + _emailIngestPolicyChanged = emailIngestPolicyChanged; + } + return self; +} + +- (instancetype)initWithEmmAddException:(DBTEAMLOGEmmAddExceptionType *)emmAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmAddException; + _emmAddException = emmAddException; + } + return self; +} + +- (instancetype)initWithEmmChangePolicy:(DBTEAMLOGEmmChangePolicyType *)emmChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmChangePolicy; + _emmChangePolicy = emmChangePolicy; + } + return self; +} + +- (instancetype)initWithEmmRemoveException:(DBTEAMLOGEmmRemoveExceptionType *)emmRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEmmRemoveException; + _emmRemoveException = emmRemoveException; + } + return self; +} + +- (instancetype)initWithExtendedVersionHistoryChangePolicy: + (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)extendedVersionHistoryChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy; + _extendedVersionHistoryChangePolicy = extendedVersionHistoryChangePolicy; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupPolicyChanged: + (DBTEAMLOGExternalDriveBackupPolicyChangedType *)externalDriveBackupPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged; + _externalDriveBackupPolicyChanged = externalDriveBackupPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileCommentsChangePolicy:(DBTEAMLOGFileCommentsChangePolicyType *)fileCommentsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileCommentsChangePolicy; + _fileCommentsChangePolicy = fileCommentsChangePolicy; + } + return self; +} + +- (instancetype)initWithFileLockingPolicyChanged:(DBTEAMLOGFileLockingPolicyChangedType *)fileLockingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileLockingPolicyChanged; + _fileLockingPolicyChanged = fileLockingPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileProviderMigrationPolicyChanged: + (DBTEAMLOGFileProviderMigrationPolicyChangedType *)fileProviderMigrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged; + _fileProviderMigrationPolicyChanged = fileProviderMigrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileRequestsChangePolicy:(DBTEAMLOGFileRequestsChangePolicyType *)fileRequestsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestsChangePolicy; + _fileRequestsChangePolicy = fileRequestsChangePolicy; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsEnabled:(DBTEAMLOGFileRequestsEmailsEnabledType *)fileRequestsEmailsEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestsEmailsEnabled; + _fileRequestsEmailsEnabled = fileRequestsEmailsEnabled; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)fileRequestsEmailsRestrictedToTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly; + _fileRequestsEmailsRestrictedToTeamOnly = fileRequestsEmailsRestrictedToTeamOnly; + } + return self; +} + +- (instancetype)initWithFileTransfersPolicyChanged: + (DBTEAMLOGFileTransfersPolicyChangedType *)fileTransfersPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFileTransfersPolicyChanged; + _fileTransfersPolicyChanged = fileTransfersPolicyChanged; + } + return self; +} + +- (instancetype)initWithFolderLinkRestrictionPolicyChanged: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)folderLinkRestrictionPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged; + _folderLinkRestrictionPolicyChanged = folderLinkRestrictionPolicyChanged; + } + return self; +} + +- (instancetype)initWithGoogleSsoChangePolicy:(DBTEAMLOGGoogleSsoChangePolicyType *)googleSsoChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGoogleSsoChangePolicy; + _googleSsoChangePolicy = googleSsoChangePolicy; + } + return self; +} + +- (instancetype)initWithGroupUserManagementChangePolicy: + (DBTEAMLOGGroupUserManagementChangePolicyType *)groupUserManagementChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGroupUserManagementChangePolicy; + _groupUserManagementChangePolicy = groupUserManagementChangePolicy; + } + return self; +} + +- (instancetype)initWithIntegrationPolicyChanged:(DBTEAMLOGIntegrationPolicyChangedType *)integrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeIntegrationPolicyChanged; + _integrationPolicyChanged = integrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithInviteAcceptanceEmailPolicyChanged: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)inviteAcceptanceEmailPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged; + _inviteAcceptanceEmailPolicyChanged = inviteAcceptanceEmailPolicyChanged; + } + return self; +} + +- (instancetype)initWithMemberRequestsChangePolicy: + (DBTEAMLOGMemberRequestsChangePolicyType *)memberRequestsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberRequestsChangePolicy; + _memberRequestsChangePolicy = memberRequestsChangePolicy; + } + return self; +} + +- (instancetype)initWithMemberSendInvitePolicyChanged: + (DBTEAMLOGMemberSendInvitePolicyChangedType *)memberSendInvitePolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSendInvitePolicyChanged; + _memberSendInvitePolicyChanged = memberSendInvitePolicyChanged; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddException: + (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)memberSpaceLimitsAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsAddException; + _memberSpaceLimitsAddException = memberSpaceLimitsAddException; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicy: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)memberSpaceLimitsChangeCapsTypePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy; + _memberSpaceLimitsChangeCapsTypePolicy = memberSpaceLimitsChangeCapsTypePolicy; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangePolicy: + (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)memberSpaceLimitsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy; + _memberSpaceLimitsChangePolicy = memberSpaceLimitsChangePolicy; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveException: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)memberSpaceLimitsRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException; + _memberSpaceLimitsRemoveException = memberSpaceLimitsRemoveException; + } + return self; +} + +- (instancetype)initWithMemberSuggestionsChangePolicy: + (DBTEAMLOGMemberSuggestionsChangePolicyType *)memberSuggestionsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMemberSuggestionsChangePolicy; + _memberSuggestionsChangePolicy = memberSuggestionsChangePolicy; + } + return self; +} + +- (instancetype)initWithMicrosoftOfficeAddinChangePolicy: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)microsoftOfficeAddinChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy; + _microsoftOfficeAddinChangePolicy = microsoftOfficeAddinChangePolicy; + } + return self; +} + +- (instancetype)initWithNetworkControlChangePolicy: + (DBTEAMLOGNetworkControlChangePolicyType *)networkControlChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeNetworkControlChangePolicy; + _networkControlChangePolicy = networkControlChangePolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeDeploymentPolicy: + (DBTEAMLOGPaperChangeDeploymentPolicyType *)paperChangeDeploymentPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperChangeDeploymentPolicy; + _paperChangeDeploymentPolicy = paperChangeDeploymentPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberLinkPolicy: + (DBTEAMLOGPaperChangeMemberLinkPolicyType *)paperChangeMemberLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperChangeMemberLinkPolicy; + _paperChangeMemberLinkPolicy = paperChangeMemberLinkPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberPolicy:(DBTEAMLOGPaperChangeMemberPolicyType *)paperChangeMemberPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperChangeMemberPolicy; + _paperChangeMemberPolicy = paperChangeMemberPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangePolicy:(DBTEAMLOGPaperChangePolicyType *)paperChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperChangePolicy; + _paperChangePolicy = paperChangePolicy; + } + return self; +} + +- (instancetype)initWithPaperDefaultFolderPolicyChanged: + (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)paperDefaultFolderPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged; + _paperDefaultFolderPolicyChanged = paperDefaultFolderPolicyChanged; + } + return self; +} + +- (instancetype)initWithPaperDesktopPolicyChanged:(DBTEAMLOGPaperDesktopPolicyChangedType *)paperDesktopPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperDesktopPolicyChanged; + _paperDesktopPolicyChanged = paperDesktopPolicyChanged; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupAddition: + (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)paperEnabledUsersGroupAddition { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperEnabledUsersGroupAddition; + _paperEnabledUsersGroupAddition = paperEnabledUsersGroupAddition; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupRemoval: + (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)paperEnabledUsersGroupRemoval { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval; + _paperEnabledUsersGroupRemoval = paperEnabledUsersGroupRemoval; + } + return self; +} + +- (instancetype)initWithPasswordStrengthRequirementsChangePolicy: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)passwordStrengthRequirementsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy; + _passwordStrengthRequirementsChangePolicy = passwordStrengthRequirementsChangePolicy; + } + return self; +} + +- (instancetype)initWithPermanentDeleteChangePolicy: + (DBTEAMLOGPermanentDeleteChangePolicyType *)permanentDeleteChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypePermanentDeleteChangePolicy; + _permanentDeleteChangePolicy = permanentDeleteChangePolicy; + } + return self; +} + +- (instancetype)initWithResellerSupportChangePolicy: + (DBTEAMLOGResellerSupportChangePolicyType *)resellerSupportChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeResellerSupportChangePolicy; + _resellerSupportChangePolicy = resellerSupportChangePolicy; + } + return self; +} + +- (instancetype)initWithRewindPolicyChanged:(DBTEAMLOGRewindPolicyChangedType *)rewindPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeRewindPolicyChanged; + _rewindPolicyChanged = rewindPolicyChanged; + } + return self; +} + +- (instancetype)initWithSendForSignaturePolicyChanged: + (DBTEAMLOGSendForSignaturePolicyChangedType *)sendForSignaturePolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSendForSignaturePolicyChanged; + _sendForSignaturePolicyChanged = sendForSignaturePolicyChanged; + } + return self; +} + +- (instancetype)initWithSharingChangeFolderJoinPolicy: + (DBTEAMLOGSharingChangeFolderJoinPolicyType *)sharingChangeFolderJoinPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy; + _sharingChangeFolderJoinPolicy = sharingChangeFolderJoinPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicy: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)sharingChangeLinkAllowChangeExpirationPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy; + _sharingChangeLinkAllowChangeExpirationPolicy = sharingChangeLinkAllowChangeExpirationPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicy: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)sharingChangeLinkDefaultExpirationPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy; + _sharingChangeLinkDefaultExpirationPolicy = sharingChangeLinkDefaultExpirationPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicy: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)sharingChangeLinkEnforcePasswordPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy; + _sharingChangeLinkEnforcePasswordPolicy = sharingChangeLinkEnforcePasswordPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkPolicy:(DBTEAMLOGSharingChangeLinkPolicyType *)sharingChangeLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeLinkPolicy; + _sharingChangeLinkPolicy = sharingChangeLinkPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeMemberPolicy:(DBTEAMLOGSharingChangeMemberPolicyType *)sharingChangeMemberPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSharingChangeMemberPolicy; + _sharingChangeMemberPolicy = sharingChangeMemberPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeDownloadPolicy: + (DBTEAMLOGShowcaseChangeDownloadPolicyType *)showcaseChangeDownloadPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy; + _showcaseChangeDownloadPolicy = showcaseChangeDownloadPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeEnabledPolicy: + (DBTEAMLOGShowcaseChangeEnabledPolicyType *)showcaseChangeEnabledPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy; + _showcaseChangeEnabledPolicy = showcaseChangeEnabledPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeExternalSharingPolicy: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)showcaseChangeExternalSharingPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy; + _showcaseChangeExternalSharingPolicy = showcaseChangeExternalSharingPolicy; + } + return self; +} + +- (instancetype)initWithSmarterSmartSyncPolicyChanged: + (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)smarterSmartSyncPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged; + _smarterSmartSyncPolicyChanged = smarterSmartSyncPolicyChanged; + } + return self; +} + +- (instancetype)initWithSmartSyncChangePolicy:(DBTEAMLOGSmartSyncChangePolicyType *)smartSyncChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSmartSyncChangePolicy; + _smartSyncChangePolicy = smartSyncChangePolicy; + } + return self; +} + +- (instancetype)initWithSmartSyncNotOptOut:(DBTEAMLOGSmartSyncNotOptOutType *)smartSyncNotOptOut { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSmartSyncNotOptOut; + _smartSyncNotOptOut = smartSyncNotOptOut; + } + return self; +} + +- (instancetype)initWithSmartSyncOptOut:(DBTEAMLOGSmartSyncOptOutType *)smartSyncOptOut { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSmartSyncOptOut; + _smartSyncOptOut = smartSyncOptOut; + } + return self; +} + +- (instancetype)initWithSsoChangePolicy:(DBTEAMLOGSsoChangePolicyType *)ssoChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeSsoChangePolicy; + _ssoChangePolicy = ssoChangePolicy; + } + return self; +} + +- (instancetype)initWithTeamBrandingPolicyChanged:(DBTEAMLOGTeamBrandingPolicyChangedType *)teamBrandingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamBrandingPolicyChanged; + _teamBrandingPolicyChanged = teamBrandingPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamExtensionsPolicyChanged: + (DBTEAMLOGTeamExtensionsPolicyChangedType *)teamExtensionsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamExtensionsPolicyChanged; + _teamExtensionsPolicyChanged = teamExtensionsPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncPolicyChanged: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)teamSelectiveSyncPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged; + _teamSelectiveSyncPolicyChanged = teamSelectiveSyncPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamSharingWhitelistSubjectsChanged: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)teamSharingWhitelistSubjectsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged; + _teamSharingWhitelistSubjectsChanged = teamSharingWhitelistSubjectsChanged; + } + return self; +} + +- (instancetype)initWithTfaAddException:(DBTEAMLOGTfaAddExceptionType *)tfaAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaAddException; + _tfaAddException = tfaAddException; + } + return self; +} + +- (instancetype)initWithTfaChangePolicy:(DBTEAMLOGTfaChangePolicyType *)tfaChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaChangePolicy; + _tfaChangePolicy = tfaChangePolicy; + } + return self; +} + +- (instancetype)initWithTfaRemoveException:(DBTEAMLOGTfaRemoveExceptionType *)tfaRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaRemoveException; + _tfaRemoveException = tfaRemoveException; + } + return self; +} + +- (instancetype)initWithTwoAccountChangePolicy:(DBTEAMLOGTwoAccountChangePolicyType *)twoAccountChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTwoAccountChangePolicy; + _twoAccountChangePolicy = twoAccountChangePolicy; + } + return self; +} + +- (instancetype)initWithViewerInfoPolicyChanged:(DBTEAMLOGViewerInfoPolicyChangedType *)viewerInfoPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeViewerInfoPolicyChanged; + _viewerInfoPolicyChanged = viewerInfoPolicyChanged; + } + return self; +} + +- (instancetype)initWithWatermarkingPolicyChanged:(DBTEAMLOGWatermarkingPolicyChangedType *)watermarkingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeWatermarkingPolicyChanged; + _watermarkingPolicyChanged = watermarkingPolicyChanged; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeActiveSessionLimit: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)webSessionsChangeActiveSessionLimit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit; + _webSessionsChangeActiveSessionLimit = webSessionsChangeActiveSessionLimit; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeFixedLengthPolicy: + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)webSessionsChangeFixedLengthPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy; + _webSessionsChangeFixedLengthPolicy = webSessionsChangeFixedLengthPolicy; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeIdleLengthPolicy: + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)webSessionsChangeIdleLengthPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy; + _webSessionsChangeIdleLengthPolicy = webSessionsChangeIdleLengthPolicy; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestSuccessful: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)dataResidencyMigrationRequestSuccessful { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful; + _dataResidencyMigrationRequestSuccessful = dataResidencyMigrationRequestSuccessful; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessful: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)dataResidencyMigrationRequestUnsuccessful { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful; + _dataResidencyMigrationRequestUnsuccessful = dataResidencyMigrationRequestUnsuccessful; + } + return self; +} + +- (instancetype)initWithTeamMergeFrom:(DBTEAMLOGTeamMergeFromType *)teamMergeFrom { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeFrom; + _teamMergeFrom = teamMergeFrom; + } + return self; +} + +- (instancetype)initWithTeamMergeTo:(DBTEAMLOGTeamMergeToType *)teamMergeTo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeTo; + _teamMergeTo = teamMergeTo; + } + return self; +} + +- (instancetype)initWithTeamProfileAddBackground:(DBTEAMLOGTeamProfileAddBackgroundType *)teamProfileAddBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileAddBackground; + _teamProfileAddBackground = teamProfileAddBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileAddLogo:(DBTEAMLOGTeamProfileAddLogoType *)teamProfileAddLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileAddLogo; + _teamProfileAddLogo = teamProfileAddLogo; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeBackground: + (DBTEAMLOGTeamProfileChangeBackgroundType *)teamProfileChangeBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileChangeBackground; + _teamProfileChangeBackground = teamProfileChangeBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeDefaultLanguage: + (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)teamProfileChangeDefaultLanguage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage; + _teamProfileChangeDefaultLanguage = teamProfileChangeDefaultLanguage; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeLogo:(DBTEAMLOGTeamProfileChangeLogoType *)teamProfileChangeLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileChangeLogo; + _teamProfileChangeLogo = teamProfileChangeLogo; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeName:(DBTEAMLOGTeamProfileChangeNameType *)teamProfileChangeName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileChangeName; + _teamProfileChangeName = teamProfileChangeName; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveBackground: + (DBTEAMLOGTeamProfileRemoveBackgroundType *)teamProfileRemoveBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileRemoveBackground; + _teamProfileRemoveBackground = teamProfileRemoveBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveLogo:(DBTEAMLOGTeamProfileRemoveLogoType *)teamProfileRemoveLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamProfileRemoveLogo; + _teamProfileRemoveLogo = teamProfileRemoveLogo; + } + return self; +} + +- (instancetype)initWithTfaAddBackupPhone:(DBTEAMLOGTfaAddBackupPhoneType *)tfaAddBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaAddBackupPhone; + _tfaAddBackupPhone = tfaAddBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaAddSecurityKey:(DBTEAMLOGTfaAddSecurityKeyType *)tfaAddSecurityKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaAddSecurityKey; + _tfaAddSecurityKey = tfaAddSecurityKey; + } + return self; +} + +- (instancetype)initWithTfaChangeBackupPhone:(DBTEAMLOGTfaChangeBackupPhoneType *)tfaChangeBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaChangeBackupPhone; + _tfaChangeBackupPhone = tfaChangeBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaChangeStatus:(DBTEAMLOGTfaChangeStatusType *)tfaChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaChangeStatus; + _tfaChangeStatus = tfaChangeStatus; + } + return self; +} + +- (instancetype)initWithTfaRemoveBackupPhone:(DBTEAMLOGTfaRemoveBackupPhoneType *)tfaRemoveBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaRemoveBackupPhone; + _tfaRemoveBackupPhone = tfaRemoveBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaRemoveSecurityKey:(DBTEAMLOGTfaRemoveSecurityKeyType *)tfaRemoveSecurityKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaRemoveSecurityKey; + _tfaRemoveSecurityKey = tfaRemoveSecurityKey; + } + return self; +} + +- (instancetype)initWithTfaReset:(DBTEAMLOGTfaResetType *)tfaReset { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTfaReset; + _tfaReset = tfaReset; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseAdminRole: + (DBTEAMLOGChangedEnterpriseAdminRoleType *)changedEnterpriseAdminRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeChangedEnterpriseAdminRole; + _changedEnterpriseAdminRole = changedEnterpriseAdminRole; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseConnectedTeamStatus: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)changedEnterpriseConnectedTeamStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus; + _changedEnterpriseConnectedTeamStatus = changedEnterpriseConnectedTeamStatus; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSession: + (DBTEAMLOGEndedEnterpriseAdminSessionType *)endedEnterpriseAdminSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEndedEnterpriseAdminSession; + _endedEnterpriseAdminSession = endedEnterpriseAdminSession; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecated: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)endedEnterpriseAdminSessionDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated; + _endedEnterpriseAdminSessionDeprecated = endedEnterpriseAdminSessionDeprecated; + } + return self; +} + +- (instancetype)initWithEnterpriseSettingsLocking:(DBTEAMLOGEnterpriseSettingsLockingType *)enterpriseSettingsLocking { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeEnterpriseSettingsLocking; + _enterpriseSettingsLocking = enterpriseSettingsLocking; + } + return self; +} + +- (instancetype)initWithGuestAdminChangeStatus:(DBTEAMLOGGuestAdminChangeStatusType *)guestAdminChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeGuestAdminChangeStatus; + _guestAdminChangeStatus = guestAdminChangeStatus; + } + return self; +} + +- (instancetype)initWithStartedEnterpriseAdminSession: + (DBTEAMLOGStartedEnterpriseAdminSessionType *)startedEnterpriseAdminSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeStartedEnterpriseAdminSession; + _startedEnterpriseAdminSession = startedEnterpriseAdminSession; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAccepted:(DBTEAMLOGTeamMergeRequestAcceptedType *)teamMergeRequestAccepted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestAccepted; + _teamMergeRequestAccepted = teamMergeRequestAccepted; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)teamMergeRequestAcceptedShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam; + _teamMergeRequestAcceptedShownToPrimaryTeam = teamMergeRequestAcceptedShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)teamMergeRequestAcceptedShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam; + _teamMergeRequestAcceptedShownToSecondaryTeam = teamMergeRequestAcceptedShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAutoCanceled: + (DBTEAMLOGTeamMergeRequestAutoCanceledType *)teamMergeRequestAutoCanceled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled; + _teamMergeRequestAutoCanceled = teamMergeRequestAutoCanceled; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceled:(DBTEAMLOGTeamMergeRequestCanceledType *)teamMergeRequestCanceled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestCanceled; + _teamMergeRequestCanceled = teamMergeRequestCanceled; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)teamMergeRequestCanceledShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam; + _teamMergeRequestCanceledShownToPrimaryTeam = teamMergeRequestCanceledShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)teamMergeRequestCanceledShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam; + _teamMergeRequestCanceledShownToSecondaryTeam = teamMergeRequestCanceledShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpired:(DBTEAMLOGTeamMergeRequestExpiredType *)teamMergeRequestExpired { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestExpired; + _teamMergeRequestExpired = teamMergeRequestExpired; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)teamMergeRequestExpiredShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam; + _teamMergeRequestExpiredShownToPrimaryTeam = teamMergeRequestExpiredShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)teamMergeRequestExpiredShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam; + _teamMergeRequestExpiredShownToSecondaryTeam = teamMergeRequestExpiredShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)teamMergeRequestRejectedShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam; + _teamMergeRequestRejectedShownToPrimaryTeam = teamMergeRequestRejectedShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)teamMergeRequestRejectedShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam; + _teamMergeRequestRejectedShownToSecondaryTeam = teamMergeRequestRejectedShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminder:(DBTEAMLOGTeamMergeRequestReminderType *)teamMergeRequestReminder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestReminder; + _teamMergeRequestReminder = teamMergeRequestReminder; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)teamMergeRequestReminderShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam; + _teamMergeRequestReminderShownToPrimaryTeam = teamMergeRequestReminderShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)teamMergeRequestReminderShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam; + _teamMergeRequestReminderShownToSecondaryTeam = teamMergeRequestReminderShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRevoked:(DBTEAMLOGTeamMergeRequestRevokedType *)teamMergeRequestRevoked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestRevoked; + _teamMergeRequestRevoked = teamMergeRequestRevoked; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)teamMergeRequestSentShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam; + _teamMergeRequestSentShownToPrimaryTeam = teamMergeRequestSentShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)teamMergeRequestSentShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam; + _teamMergeRequestSentShownToSecondaryTeam = teamMergeRequestSentShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGAdminAlertingAlertStateChangedType *)adminAlertingAlertStateChanged { + if (![self isAdminAlertingAlertStateChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAdminAlertingAlertStateChanged, but was %@.", [self tagName]]; + } + return _adminAlertingAlertStateChanged; +} + +- (DBTEAMLOGAdminAlertingChangedAlertConfigType *)adminAlertingChangedAlertConfig { + if (![self isAdminAlertingChangedAlertConfig]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig, but was %@.", [self tagName]]; + } + return _adminAlertingChangedAlertConfig; +} + +- (DBTEAMLOGAdminAlertingTriggeredAlertType *)adminAlertingTriggeredAlert { + if (![self isAdminAlertingTriggeredAlert]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAdminAlertingTriggeredAlert, but was %@.", [self tagName]]; + } + return _adminAlertingTriggeredAlert; +} + +- (DBTEAMLOGRansomwareRestoreProcessCompletedType *)ransomwareRestoreProcessCompleted { + if (![self isRansomwareRestoreProcessCompleted]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted, but was %@.", + [self tagName]]; + } + return _ransomwareRestoreProcessCompleted; +} + +- (DBTEAMLOGRansomwareRestoreProcessStartedType *)ransomwareRestoreProcessStarted { + if (![self isRansomwareRestoreProcessStarted]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRansomwareRestoreProcessStarted, but was %@.", [self tagName]]; + } + return _ransomwareRestoreProcessStarted; +} + +- (DBTEAMLOGAppBlockedByPermissionsType *)appBlockedByPermissions { + if (![self isAppBlockedByPermissions]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppBlockedByPermissions, but was %@.", [self tagName]]; + } + return _appBlockedByPermissions; +} + +- (DBTEAMLOGAppLinkTeamType *)appLinkTeam { + if (![self isAppLinkTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppLinkTeam, but was %@.", [self tagName]]; + } + return _appLinkTeam; +} + +- (DBTEAMLOGAppLinkUserType *)appLinkUser { + if (![self isAppLinkUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppLinkUser, but was %@.", [self tagName]]; + } + return _appLinkUser; +} + +- (DBTEAMLOGAppUnlinkTeamType *)appUnlinkTeam { + if (![self isAppUnlinkTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppUnlinkTeam, but was %@.", [self tagName]]; + } + return _appUnlinkTeam; +} + +- (DBTEAMLOGAppUnlinkUserType *)appUnlinkUser { + if (![self isAppUnlinkUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppUnlinkUser, but was %@.", [self tagName]]; + } + return _appUnlinkUser; +} + +- (DBTEAMLOGIntegrationConnectedType *)integrationConnected { + if (![self isIntegrationConnected]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeIntegrationConnected, but was %@.", [self tagName]]; + } + return _integrationConnected; +} + +- (DBTEAMLOGIntegrationDisconnectedType *)integrationDisconnected { + if (![self isIntegrationDisconnected]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeIntegrationDisconnected, but was %@.", [self tagName]]; + } + return _integrationDisconnected; +} + +- (DBTEAMLOGFileAddCommentType *)fileAddComment { + if (![self isFileAddComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileAddComment, but was %@.", [self tagName]]; + } + return _fileAddComment; +} + +- (DBTEAMLOGFileChangeCommentSubscriptionType *)fileChangeCommentSubscription { + if (![self isFileChangeCommentSubscription]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileChangeCommentSubscription, but was %@.", [self tagName]]; + } + return _fileChangeCommentSubscription; +} + +- (DBTEAMLOGFileDeleteCommentType *)fileDeleteComment { + if (![self isFileDeleteComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileDeleteComment, but was %@.", [self tagName]]; + } + return _fileDeleteComment; +} + +- (DBTEAMLOGFileEditCommentType *)fileEditComment { + if (![self isFileEditComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileEditComment, but was %@.", [self tagName]]; + } + return _fileEditComment; +} + +- (DBTEAMLOGFileLikeCommentType *)fileLikeComment { + if (![self isFileLikeComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileLikeComment, but was %@.", [self tagName]]; + } + return _fileLikeComment; +} + +- (DBTEAMLOGFileResolveCommentType *)fileResolveComment { + if (![self isFileResolveComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileResolveComment, but was %@.", [self tagName]]; + } + return _fileResolveComment; +} + +- (DBTEAMLOGFileUnlikeCommentType *)fileUnlikeComment { + if (![self isFileUnlikeComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileUnlikeComment, but was %@.", [self tagName]]; + } + return _fileUnlikeComment; +} + +- (DBTEAMLOGFileUnresolveCommentType *)fileUnresolveComment { + if (![self isFileUnresolveComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileUnresolveComment, but was %@.", [self tagName]]; + } + return _fileUnresolveComment; +} + +- (DBTEAMLOGGovernancePolicyAddFoldersType *)governancePolicyAddFolders { + if (![self isGovernancePolicyAddFolders]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyAddFolders, but was %@.", [self tagName]]; + } + return _governancePolicyAddFolders; +} + +- (DBTEAMLOGGovernancePolicyAddFolderFailedType *)governancePolicyAddFolderFailed { + if (![self isGovernancePolicyAddFolderFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed, but was %@.", [self tagName]]; + } + return _governancePolicyAddFolderFailed; +} + +- (DBTEAMLOGGovernancePolicyContentDisposedType *)governancePolicyContentDisposed { + if (![self isGovernancePolicyContentDisposed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyContentDisposed, but was %@.", [self tagName]]; + } + return _governancePolicyContentDisposed; +} + +- (DBTEAMLOGGovernancePolicyCreateType *)governancePolicyCreate { + if (![self isGovernancePolicyCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyCreate, but was %@.", [self tagName]]; + } + return _governancePolicyCreate; +} + +- (DBTEAMLOGGovernancePolicyDeleteType *)governancePolicyDelete { + if (![self isGovernancePolicyDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyDelete, but was %@.", [self tagName]]; + } + return _governancePolicyDelete; +} + +- (DBTEAMLOGGovernancePolicyEditDetailsType *)governancePolicyEditDetails { + if (![self isGovernancePolicyEditDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyEditDetails, but was %@.", [self tagName]]; + } + return _governancePolicyEditDetails; +} + +- (DBTEAMLOGGovernancePolicyEditDurationType *)governancePolicyEditDuration { + if (![self isGovernancePolicyEditDuration]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyEditDuration, but was %@.", [self tagName]]; + } + return _governancePolicyEditDuration; +} + +- (DBTEAMLOGGovernancePolicyExportCreatedType *)governancePolicyExportCreated { + if (![self isGovernancePolicyExportCreated]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyExportCreated, but was %@.", [self tagName]]; + } + return _governancePolicyExportCreated; +} + +- (DBTEAMLOGGovernancePolicyExportRemovedType *)governancePolicyExportRemoved { + if (![self isGovernancePolicyExportRemoved]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyExportRemoved, but was %@.", [self tagName]]; + } + return _governancePolicyExportRemoved; +} + +- (DBTEAMLOGGovernancePolicyRemoveFoldersType *)governancePolicyRemoveFolders { + if (![self isGovernancePolicyRemoveFolders]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyRemoveFolders, but was %@.", [self tagName]]; + } + return _governancePolicyRemoveFolders; +} + +- (DBTEAMLOGGovernancePolicyReportCreatedType *)governancePolicyReportCreated { + if (![self isGovernancePolicyReportCreated]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyReportCreated, but was %@.", [self tagName]]; + } + return _governancePolicyReportCreated; +} + +- (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)governancePolicyZipPartDownloaded { + if (![self isGovernancePolicyZipPartDownloaded]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded, but was %@.", + [self tagName]]; + } + return _governancePolicyZipPartDownloaded; +} + +- (DBTEAMLOGLegalHoldsActivateAHoldType *)legalHoldsActivateAHold { + if (![self isLegalHoldsActivateAHold]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsActivateAHold, but was %@.", [self tagName]]; + } + return _legalHoldsActivateAHold; +} + +- (DBTEAMLOGLegalHoldsAddMembersType *)legalHoldsAddMembers { + if (![self isLegalHoldsAddMembers]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsAddMembers, but was %@.", [self tagName]]; + } + return _legalHoldsAddMembers; +} + +- (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)legalHoldsChangeHoldDetails { + if (![self isLegalHoldsChangeHoldDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails, but was %@.", [self tagName]]; + } + return _legalHoldsChangeHoldDetails; +} + +- (DBTEAMLOGLegalHoldsChangeHoldNameType *)legalHoldsChangeHoldName { + if (![self isLegalHoldsChangeHoldName]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsChangeHoldName, but was %@.", [self tagName]]; + } + return _legalHoldsChangeHoldName; +} + +- (DBTEAMLOGLegalHoldsExportAHoldType *)legalHoldsExportAHold { + if (![self isLegalHoldsExportAHold]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsExportAHold, but was %@.", [self tagName]]; + } + return _legalHoldsExportAHold; +} + +- (DBTEAMLOGLegalHoldsExportCancelledType *)legalHoldsExportCancelled { + if (![self isLegalHoldsExportCancelled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsExportCancelled, but was %@.", [self tagName]]; + } + return _legalHoldsExportCancelled; +} + +- (DBTEAMLOGLegalHoldsExportDownloadedType *)legalHoldsExportDownloaded { + if (![self isLegalHoldsExportDownloaded]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsExportDownloaded, but was %@.", [self tagName]]; + } + return _legalHoldsExportDownloaded; +} + +- (DBTEAMLOGLegalHoldsExportRemovedType *)legalHoldsExportRemoved { + if (![self isLegalHoldsExportRemoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsExportRemoved, but was %@.", [self tagName]]; + } + return _legalHoldsExportRemoved; +} + +- (DBTEAMLOGLegalHoldsReleaseAHoldType *)legalHoldsReleaseAHold { + if (![self isLegalHoldsReleaseAHold]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsReleaseAHold, but was %@.", [self tagName]]; + } + return _legalHoldsReleaseAHold; +} + +- (DBTEAMLOGLegalHoldsRemoveMembersType *)legalHoldsRemoveMembers { + if (![self isLegalHoldsRemoveMembers]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsRemoveMembers, but was %@.", [self tagName]]; + } + return _legalHoldsRemoveMembers; +} + +- (DBTEAMLOGLegalHoldsReportAHoldType *)legalHoldsReportAHold { + if (![self isLegalHoldsReportAHold]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLegalHoldsReportAHold, but was %@.", [self tagName]]; + } + return _legalHoldsReportAHold; +} + +- (DBTEAMLOGDeviceChangeIpDesktopType *)deviceChangeIpDesktop { + if (![self isDeviceChangeIpDesktop]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceChangeIpDesktop, but was %@.", [self tagName]]; + } + return _deviceChangeIpDesktop; +} + +- (DBTEAMLOGDeviceChangeIpMobileType *)deviceChangeIpMobile { + if (![self isDeviceChangeIpMobile]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceChangeIpMobile, but was %@.", [self tagName]]; + } + return _deviceChangeIpMobile; +} + +- (DBTEAMLOGDeviceChangeIpWebType *)deviceChangeIpWeb { + if (![self isDeviceChangeIpWeb]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceChangeIpWeb, but was %@.", [self tagName]]; + } + return _deviceChangeIpWeb; +} + +- (DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deviceDeleteOnUnlinkFail { + if (![self isDeviceDeleteOnUnlinkFail]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail, but was %@.", [self tagName]]; + } + return _deviceDeleteOnUnlinkFail; +} + +- (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deviceDeleteOnUnlinkSuccess { + if (![self isDeviceDeleteOnUnlinkSuccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess, but was %@.", [self tagName]]; + } + return _deviceDeleteOnUnlinkSuccess; +} + +- (DBTEAMLOGDeviceLinkFailType *)deviceLinkFail { + if (![self isDeviceLinkFail]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceLinkFail, but was %@.", [self tagName]]; + } + return _deviceLinkFail; +} + +- (DBTEAMLOGDeviceLinkSuccessType *)deviceLinkSuccess { + if (![self isDeviceLinkSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceLinkSuccess, but was %@.", [self tagName]]; + } + return _deviceLinkSuccess; +} + +- (DBTEAMLOGDeviceManagementDisabledType *)deviceManagementDisabled { + if (![self isDeviceManagementDisabled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceManagementDisabled, but was %@.", [self tagName]]; + } + return _deviceManagementDisabled; +} + +- (DBTEAMLOGDeviceManagementEnabledType *)deviceManagementEnabled { + if (![self isDeviceManagementEnabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceManagementEnabled, but was %@.", [self tagName]]; + } + return _deviceManagementEnabled; +} + +- (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deviceSyncBackupStatusChanged { + if (![self isDeviceSyncBackupStatusChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged, but was %@.", [self tagName]]; + } + return _deviceSyncBackupStatusChanged; +} + +- (DBTEAMLOGDeviceUnlinkType *)deviceUnlink { + if (![self isDeviceUnlink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceUnlink, but was %@.", [self tagName]]; + } + return _deviceUnlink; +} + +- (DBTEAMLOGDropboxPasswordsExportedType *)dropboxPasswordsExported { + if (![self isDropboxPasswordsExported]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDropboxPasswordsExported, but was %@.", [self tagName]]; + } + return _dropboxPasswordsExported; +} + +- (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)dropboxPasswordsNewDeviceEnrolled { + if (![self isDropboxPasswordsNewDeviceEnrolled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled, but was %@.", + [self tagName]]; + } + return _dropboxPasswordsNewDeviceEnrolled; +} + +- (DBTEAMLOGEmmRefreshAuthTokenType *)emmRefreshAuthToken { + if (![self isEmmRefreshAuthToken]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmRefreshAuthToken, but was %@.", [self tagName]]; + } + return _emmRefreshAuthToken; +} + +- (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)externalDriveBackupEligibilityStatusChecked { + if (![self isExternalDriveBackupEligibilityStatusChecked]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked, but was %@.", + [self tagName]]; + } + return _externalDriveBackupEligibilityStatusChecked; +} + +- (DBTEAMLOGExternalDriveBackupStatusChangedType *)externalDriveBackupStatusChanged { + if (![self isExternalDriveBackupStatusChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExternalDriveBackupStatusChanged, but was %@.", + [self tagName]]; + } + return _externalDriveBackupStatusChanged; +} + +- (DBTEAMLOGAccountCaptureChangeAvailabilityType *)accountCaptureChangeAvailability { + if (![self isAccountCaptureChangeAvailability]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureChangeAvailability, but was %@.", + [self tagName]]; + } + return _accountCaptureChangeAvailability; +} + +- (DBTEAMLOGAccountCaptureMigrateAccountType *)accountCaptureMigrateAccount { + if (![self isAccountCaptureMigrateAccount]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureMigrateAccount, but was %@.", [self tagName]]; + } + return _accountCaptureMigrateAccount; +} + +- (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)accountCaptureNotificationEmailsSent { + if (![self isAccountCaptureNotificationEmailsSent]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent, but was %@.", + [self tagName]]; + } + return _accountCaptureNotificationEmailsSent; +} + +- (DBTEAMLOGAccountCaptureRelinquishAccountType *)accountCaptureRelinquishAccount { + if (![self isAccountCaptureRelinquishAccount]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureRelinquishAccount, but was %@.", [self tagName]]; + } + return _accountCaptureRelinquishAccount; +} + +- (DBTEAMLOGDisabledDomainInvitesType *)disabledDomainInvites { + if (![self isDisabledDomainInvites]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDisabledDomainInvites, but was %@.", [self tagName]]; + } + return _disabledDomainInvites; +} + +- (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)domainInvitesApproveRequestToJoinTeam { + if (![self isDomainInvitesApproveRequestToJoinTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam, but was %@.", + [self tagName]]; + } + return _domainInvitesApproveRequestToJoinTeam; +} + +- (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)domainInvitesDeclineRequestToJoinTeam { + if (![self isDomainInvitesDeclineRequestToJoinTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam, but was %@.", + [self tagName]]; + } + return _domainInvitesDeclineRequestToJoinTeam; +} + +- (DBTEAMLOGDomainInvitesEmailExistingUsersType *)domainInvitesEmailExistingUsers { + if (![self isDomainInvitesEmailExistingUsers]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers, but was %@.", [self tagName]]; + } + return _domainInvitesEmailExistingUsers; +} + +- (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)domainInvitesRequestToJoinTeam { + if (![self isDomainInvitesRequestToJoinTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam, but was %@.", [self tagName]]; + } + return _domainInvitesRequestToJoinTeam; +} + +- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)domainInvitesSetInviteNewUserPrefToNo { + if (![self isDomainInvitesSetInviteNewUserPrefToNo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo, but was %@.", + [self tagName]]; + } + return _domainInvitesSetInviteNewUserPrefToNo; +} + +- (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)domainInvitesSetInviteNewUserPrefToYes { + if (![self isDomainInvitesSetInviteNewUserPrefToYes]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes, but was %@.", + [self tagName]]; + } + return _domainInvitesSetInviteNewUserPrefToYes; +} + +- (DBTEAMLOGDomainVerificationAddDomainFailType *)domainVerificationAddDomainFail { + if (![self isDomainVerificationAddDomainFail]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainVerificationAddDomainFail, but was %@.", [self tagName]]; + } + return _domainVerificationAddDomainFail; +} + +- (DBTEAMLOGDomainVerificationAddDomainSuccessType *)domainVerificationAddDomainSuccess { + if (![self isDomainVerificationAddDomainSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess, but was %@.", + [self tagName]]; + } + return _domainVerificationAddDomainSuccess; +} + +- (DBTEAMLOGDomainVerificationRemoveDomainType *)domainVerificationRemoveDomain { + if (![self isDomainVerificationRemoveDomain]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDomainVerificationRemoveDomain, but was %@.", [self tagName]]; + } + return _domainVerificationRemoveDomain; +} + +- (DBTEAMLOGEnabledDomainInvitesType *)enabledDomainInvites { + if (![self isEnabledDomainInvites]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEnabledDomainInvites, but was %@.", [self tagName]]; + } + return _enabledDomainInvites; +} + +- (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)teamEncryptionKeyCancelKeyDeletion { + if (![self isTeamEncryptionKeyCancelKeyDeletion]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyCancelKeyDeletion; +} + +- (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)teamEncryptionKeyCreateKey { + if (![self isTeamEncryptionKeyCreateKey]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey, but was %@.", [self tagName]]; + } + return _teamEncryptionKeyCreateKey; +} + +- (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)teamEncryptionKeyDeleteKey { + if (![self isTeamEncryptionKeyDeleteKey]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey, but was %@.", [self tagName]]; + } + return _teamEncryptionKeyDeleteKey; +} + +- (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)teamEncryptionKeyDisableKey { + if (![self isTeamEncryptionKeyDisableKey]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey, but was %@.", [self tagName]]; + } + return _teamEncryptionKeyDisableKey; +} + +- (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)teamEncryptionKeyEnableKey { + if (![self isTeamEncryptionKeyEnableKey]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey, but was %@.", [self tagName]]; + } + return _teamEncryptionKeyEnableKey; +} + +- (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)teamEncryptionKeyRotateKey { + if (![self isTeamEncryptionKeyRotateKey]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey, but was %@.", [self tagName]]; + } + return _teamEncryptionKeyRotateKey; +} + +- (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)teamEncryptionKeyScheduleKeyDeletion { + if (![self isTeamEncryptionKeyScheduleKeyDeletion]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion, but was %@.", + [self tagName]]; + } + return _teamEncryptionKeyScheduleKeyDeletion; +} + +- (DBTEAMLOGApplyNamingConventionType *)applyNamingConvention { + if (![self isApplyNamingConvention]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeApplyNamingConvention, but was %@.", [self tagName]]; + } + return _applyNamingConvention; +} + +- (DBTEAMLOGCreateFolderType *)createFolder { + if (![self isCreateFolder]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeCreateFolder, but was %@.", [self tagName]]; + } + return _createFolder; +} + +- (DBTEAMLOGFileAddType *)fileAdd { + if (![self isFileAdd]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileAdd, but was %@.", [self tagName]]; + } + return _fileAdd; +} + +- (DBTEAMLOGFileAddFromAutomationType *)fileAddFromAutomation { + if (![self isFileAddFromAutomation]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileAddFromAutomation, but was %@.", [self tagName]]; + } + return _fileAddFromAutomation; +} + +- (DBTEAMLOGFileCopyType *)fileCopy { + if (![self isFileCopy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileCopy, but was %@.", [self tagName]]; + } + return _fileCopy; +} + +- (DBTEAMLOGFileDeleteType *)fileDelete { + if (![self isFileDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileDelete, but was %@.", [self tagName]]; + } + return _fileDelete; +} + +- (DBTEAMLOGFileDownloadType *)fileDownload { + if (![self isFileDownload]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileDownload, but was %@.", [self tagName]]; + } + return _fileDownload; +} + +- (DBTEAMLOGFileEditType *)fileEdit { + if (![self isFileEdit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileEdit, but was %@.", [self tagName]]; + } + return _fileEdit; +} + +- (DBTEAMLOGFileGetCopyReferenceType *)fileGetCopyReference { + if (![self isFileGetCopyReference]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileGetCopyReference, but was %@.", [self tagName]]; + } + return _fileGetCopyReference; +} + +- (DBTEAMLOGFileLockingLockStatusChangedType *)fileLockingLockStatusChanged { + if (![self isFileLockingLockStatusChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileLockingLockStatusChanged, but was %@.", [self tagName]]; + } + return _fileLockingLockStatusChanged; +} + +- (DBTEAMLOGFileMoveType *)fileMove { + if (![self isFileMove]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileMove, but was %@.", [self tagName]]; + } + return _fileMove; +} + +- (DBTEAMLOGFilePermanentlyDeleteType *)filePermanentlyDelete { + if (![self isFilePermanentlyDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFilePermanentlyDelete, but was %@.", [self tagName]]; + } + return _filePermanentlyDelete; +} + +- (DBTEAMLOGFilePreviewType *)filePreview { + if (![self isFilePreview]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFilePreview, but was %@.", [self tagName]]; + } + return _filePreview; +} + +- (DBTEAMLOGFileRenameType *)fileRename { + if (![self isFileRename]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRename, but was %@.", [self tagName]]; + } + return _fileRename; +} + +- (DBTEAMLOGFileRestoreType *)fileRestore { + if (![self isFileRestore]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRestore, but was %@.", [self tagName]]; + } + return _fileRestore; +} + +- (DBTEAMLOGFileRevertType *)fileRevert { + if (![self isFileRevert]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRevert, but was %@.", [self tagName]]; + } + return _fileRevert; +} + +- (DBTEAMLOGFileRollbackChangesType *)fileRollbackChanges { + if (![self isFileRollbackChanges]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRollbackChanges, but was %@.", [self tagName]]; + } + return _fileRollbackChanges; +} + +- (DBTEAMLOGFileSaveCopyReferenceType *)fileSaveCopyReference { + if (![self isFileSaveCopyReference]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileSaveCopyReference, but was %@.", [self tagName]]; + } + return _fileSaveCopyReference; +} + +- (DBTEAMLOGFolderOverviewDescriptionChangedType *)folderOverviewDescriptionChanged { + if (![self isFolderOverviewDescriptionChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFolderOverviewDescriptionChanged, but was %@.", + [self tagName]]; + } + return _folderOverviewDescriptionChanged; +} + +- (DBTEAMLOGFolderOverviewItemPinnedType *)folderOverviewItemPinned { + if (![self isFolderOverviewItemPinned]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFolderOverviewItemPinned, but was %@.", [self tagName]]; + } + return _folderOverviewItemPinned; +} + +- (DBTEAMLOGFolderOverviewItemUnpinnedType *)folderOverviewItemUnpinned { + if (![self isFolderOverviewItemUnpinned]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFolderOverviewItemUnpinned, but was %@.", [self tagName]]; + } + return _folderOverviewItemUnpinned; +} + +- (DBTEAMLOGObjectLabelAddedType *)objectLabelAdded { + if (![self isObjectLabelAdded]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeObjectLabelAdded, but was %@.", [self tagName]]; + } + return _objectLabelAdded; +} + +- (DBTEAMLOGObjectLabelRemovedType *)objectLabelRemoved { + if (![self isObjectLabelRemoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeObjectLabelRemoved, but was %@.", [self tagName]]; + } + return _objectLabelRemoved; +} + +- (DBTEAMLOGObjectLabelUpdatedValueType *)objectLabelUpdatedValue { + if (![self isObjectLabelUpdatedValue]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeObjectLabelUpdatedValue, but was %@.", [self tagName]]; + } + return _objectLabelUpdatedValue; +} + +- (DBTEAMLOGOrganizeFolderWithTidyType *)organizeFolderWithTidy { + if (![self isOrganizeFolderWithTidy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeOrganizeFolderWithTidy, but was %@.", [self tagName]]; + } + return _organizeFolderWithTidy; +} + +- (DBTEAMLOGReplayFileDeleteType *)replayFileDelete { + if (![self isReplayFileDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeReplayFileDelete, but was %@.", [self tagName]]; + } + return _replayFileDelete; +} + +- (DBTEAMLOGRewindFolderType *)rewindFolder { + if (![self isRewindFolder]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRewindFolder, but was %@.", [self tagName]]; + } + return _rewindFolder; +} + +- (DBTEAMLOGUndoNamingConventionType *)undoNamingConvention { + if (![self isUndoNamingConvention]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeUndoNamingConvention, but was %@.", [self tagName]]; + } + return _undoNamingConvention; +} + +- (DBTEAMLOGUndoOrganizeFolderWithTidyType *)undoOrganizeFolderWithTidy { + if (![self isUndoOrganizeFolderWithTidy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy, but was %@.", [self tagName]]; + } + return _undoOrganizeFolderWithTidy; +} + +- (DBTEAMLOGUserTagsAddedType *)userTagsAdded { + if (![self isUserTagsAdded]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeUserTagsAdded, but was %@.", [self tagName]]; + } + return _userTagsAdded; +} + +- (DBTEAMLOGUserTagsRemovedType *)userTagsRemoved { + if (![self isUserTagsRemoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeUserTagsRemoved, but was %@.", [self tagName]]; + } + return _userTagsRemoved; +} + +- (DBTEAMLOGEmailIngestReceiveFileType *)emailIngestReceiveFile { + if (![self isEmailIngestReceiveFile]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmailIngestReceiveFile, but was %@.", [self tagName]]; + } + return _emailIngestReceiveFile; +} + +- (DBTEAMLOGFileRequestChangeType *)fileRequestChange { + if (![self isFileRequestChange]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestChange, but was %@.", [self tagName]]; + } + return _fileRequestChange; +} + +- (DBTEAMLOGFileRequestCloseType *)fileRequestClose { + if (![self isFileRequestClose]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestClose, but was %@.", [self tagName]]; + } + return _fileRequestClose; +} + +- (DBTEAMLOGFileRequestCreateType *)fileRequestCreate { + if (![self isFileRequestCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestCreate, but was %@.", [self tagName]]; + } + return _fileRequestCreate; +} + +- (DBTEAMLOGFileRequestDeleteType *)fileRequestDelete { + if (![self isFileRequestDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestDelete, but was %@.", [self tagName]]; + } + return _fileRequestDelete; +} + +- (DBTEAMLOGFileRequestReceiveFileType *)fileRequestReceiveFile { + if (![self isFileRequestReceiveFile]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestReceiveFile, but was %@.", [self tagName]]; + } + return _fileRequestReceiveFile; +} + +- (DBTEAMLOGGroupAddExternalIdType *)groupAddExternalId { + if (![self isGroupAddExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupAddExternalId, but was %@.", [self tagName]]; + } + return _groupAddExternalId; +} + +- (DBTEAMLOGGroupAddMemberType *)groupAddMember { + if (![self isGroupAddMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupAddMember, but was %@.", [self tagName]]; + } + return _groupAddMember; +} + +- (DBTEAMLOGGroupChangeExternalIdType *)groupChangeExternalId { + if (![self isGroupChangeExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupChangeExternalId, but was %@.", [self tagName]]; + } + return _groupChangeExternalId; +} + +- (DBTEAMLOGGroupChangeManagementTypeType *)groupChangeManagementType { + if (![self isGroupChangeManagementType]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupChangeManagementType, but was %@.", [self tagName]]; + } + return _groupChangeManagementType; +} + +- (DBTEAMLOGGroupChangeMemberRoleType *)groupChangeMemberRole { + if (![self isGroupChangeMemberRole]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupChangeMemberRole, but was %@.", [self tagName]]; + } + return _groupChangeMemberRole; +} + +- (DBTEAMLOGGroupCreateType *)groupCreate { + if (![self isGroupCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupCreate, but was %@.", [self tagName]]; + } + return _groupCreate; +} + +- (DBTEAMLOGGroupDeleteType *)groupDelete { + if (![self isGroupDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupDelete, but was %@.", [self tagName]]; + } + return _groupDelete; +} + +- (DBTEAMLOGGroupDescriptionUpdatedType *)groupDescriptionUpdated { + if (![self isGroupDescriptionUpdated]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupDescriptionUpdated, but was %@.", [self tagName]]; + } + return _groupDescriptionUpdated; +} + +- (DBTEAMLOGGroupJoinPolicyUpdatedType *)groupJoinPolicyUpdated { + if (![self isGroupJoinPolicyUpdated]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupJoinPolicyUpdated, but was %@.", [self tagName]]; + } + return _groupJoinPolicyUpdated; +} + +- (DBTEAMLOGGroupMovedType *)groupMoved { + if (![self isGroupMoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupMoved, but was %@.", [self tagName]]; + } + return _groupMoved; +} + +- (DBTEAMLOGGroupRemoveExternalIdType *)groupRemoveExternalId { + if (![self isGroupRemoveExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupRemoveExternalId, but was %@.", [self tagName]]; + } + return _groupRemoveExternalId; +} + +- (DBTEAMLOGGroupRemoveMemberType *)groupRemoveMember { + if (![self isGroupRemoveMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupRemoveMember, but was %@.", [self tagName]]; + } + return _groupRemoveMember; +} + +- (DBTEAMLOGGroupRenameType *)groupRename { + if (![self isGroupRename]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupRename, but was %@.", [self tagName]]; + } + return _groupRename; +} + +- (DBTEAMLOGAccountLockOrUnlockedType *)accountLockOrUnlocked { + if (![self isAccountLockOrUnlocked]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountLockOrUnlocked, but was %@.", [self tagName]]; + } + return _accountLockOrUnlocked; +} + +- (DBTEAMLOGEmmErrorType *)emmError { + if (![self isEmmError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmError, but was %@.", [self tagName]]; + } + return _emmError; +} + +- (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)guestAdminSignedInViaTrustedTeams { + if (![self isGuestAdminSignedInViaTrustedTeams]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams, but was %@.", + [self tagName]]; + } + return _guestAdminSignedInViaTrustedTeams; +} + +- (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)guestAdminSignedOutViaTrustedTeams { + if (![self isGuestAdminSignedOutViaTrustedTeams]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams, but was %@.", + [self tagName]]; + } + return _guestAdminSignedOutViaTrustedTeams; +} + +- (DBTEAMLOGLoginFailType *)loginFail { + if (![self isLoginFail]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLoginFail, but was %@.", [self tagName]]; + } + return _loginFail; +} + +- (DBTEAMLOGLoginSuccessType *)loginSuccess { + if (![self isLoginSuccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLoginSuccess, but was %@.", [self tagName]]; + } + return _loginSuccess; +} + +- (DBTEAMLOGLogoutType *)logout { + if (![self isLogout]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeLogout, but was %@.", [self tagName]]; + } + return _logout; +} + +- (DBTEAMLOGResellerSupportSessionEndType *)resellerSupportSessionEnd { + if (![self isResellerSupportSessionEnd]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeResellerSupportSessionEnd, but was %@.", [self tagName]]; + } + return _resellerSupportSessionEnd; +} + +- (DBTEAMLOGResellerSupportSessionStartType *)resellerSupportSessionStart { + if (![self isResellerSupportSessionStart]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeResellerSupportSessionStart, but was %@.", [self tagName]]; + } + return _resellerSupportSessionStart; +} + +- (DBTEAMLOGSignInAsSessionEndType *)signInAsSessionEnd { + if (![self isSignInAsSessionEnd]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSignInAsSessionEnd, but was %@.", [self tagName]]; + } + return _signInAsSessionEnd; +} + +- (DBTEAMLOGSignInAsSessionStartType *)signInAsSessionStart { + if (![self isSignInAsSessionStart]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSignInAsSessionStart, but was %@.", [self tagName]]; + } + return _signInAsSessionStart; +} + +- (DBTEAMLOGSsoErrorType *)ssoError { + if (![self isSsoError]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoError, but was %@.", [self tagName]]; + } + return _ssoError; +} + +- (DBTEAMLOGBackupAdminInvitationSentType *)backupAdminInvitationSent { + if (![self isBackupAdminInvitationSent]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBackupAdminInvitationSent, but was %@.", [self tagName]]; + } + return _backupAdminInvitationSent; +} + +- (DBTEAMLOGBackupInvitationOpenedType *)backupInvitationOpened { + if (![self isBackupInvitationOpened]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBackupInvitationOpened, but was %@.", [self tagName]]; + } + return _backupInvitationOpened; +} + +- (DBTEAMLOGCreateTeamInviteLinkType *)createTeamInviteLink { + if (![self isCreateTeamInviteLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeCreateTeamInviteLink, but was %@.", [self tagName]]; + } + return _createTeamInviteLink; +} + +- (DBTEAMLOGDeleteTeamInviteLinkType *)deleteTeamInviteLink { + if (![self isDeleteTeamInviteLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeleteTeamInviteLink, but was %@.", [self tagName]]; + } + return _deleteTeamInviteLink; +} + +- (DBTEAMLOGMemberAddExternalIdType *)memberAddExternalId { + if (![self isMemberAddExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberAddExternalId, but was %@.", [self tagName]]; + } + return _memberAddExternalId; +} + +- (DBTEAMLOGMemberAddNameType *)memberAddName { + if (![self isMemberAddName]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberAddName, but was %@.", [self tagName]]; + } + return _memberAddName; +} + +- (DBTEAMLOGMemberChangeAdminRoleType *)memberChangeAdminRole { + if (![self isMemberChangeAdminRole]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeAdminRole, but was %@.", [self tagName]]; + } + return _memberChangeAdminRole; +} + +- (DBTEAMLOGMemberChangeEmailType *)memberChangeEmail { + if (![self isMemberChangeEmail]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeEmail, but was %@.", [self tagName]]; + } + return _memberChangeEmail; +} + +- (DBTEAMLOGMemberChangeExternalIdType *)memberChangeExternalId { + if (![self isMemberChangeExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeExternalId, but was %@.", [self tagName]]; + } + return _memberChangeExternalId; +} + +- (DBTEAMLOGMemberChangeMembershipTypeType *)memberChangeMembershipType { + if (![self isMemberChangeMembershipType]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeMembershipType, but was %@.", [self tagName]]; + } + return _memberChangeMembershipType; +} + +- (DBTEAMLOGMemberChangeNameType *)memberChangeName { + if (![self isMemberChangeName]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeName, but was %@.", [self tagName]]; + } + return _memberChangeName; +} + +- (DBTEAMLOGMemberChangeResellerRoleType *)memberChangeResellerRole { + if (![self isMemberChangeResellerRole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeResellerRole, but was %@.", [self tagName]]; + } + return _memberChangeResellerRole; +} + +- (DBTEAMLOGMemberChangeStatusType *)memberChangeStatus { + if (![self isMemberChangeStatus]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberChangeStatus, but was %@.", [self tagName]]; + } + return _memberChangeStatus; +} + +- (DBTEAMLOGMemberDeleteManualContactsType *)memberDeleteManualContacts { + if (![self isMemberDeleteManualContacts]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberDeleteManualContacts, but was %@.", [self tagName]]; + } + return _memberDeleteManualContacts; +} + +- (DBTEAMLOGMemberDeleteProfilePhotoType *)memberDeleteProfilePhoto { + if (![self isMemberDeleteProfilePhoto]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberDeleteProfilePhoto, but was %@.", [self tagName]]; + } + return _memberDeleteProfilePhoto; +} + +- (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)memberPermanentlyDeleteAccountContents { + if (![self isMemberPermanentlyDeleteAccountContents]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents, but was %@.", + [self tagName]]; + } + return _memberPermanentlyDeleteAccountContents; +} + +- (DBTEAMLOGMemberRemoveExternalIdType *)memberRemoveExternalId { + if (![self isMemberRemoveExternalId]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberRemoveExternalId, but was %@.", [self tagName]]; + } + return _memberRemoveExternalId; +} + +- (DBTEAMLOGMemberSetProfilePhotoType *)memberSetProfilePhoto { + if (![self isMemberSetProfilePhoto]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSetProfilePhoto, but was %@.", [self tagName]]; + } + return _memberSetProfilePhoto; +} + +- (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)memberSpaceLimitsAddCustomQuota { + if (![self isMemberSpaceLimitsAddCustomQuota]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota, but was %@.", [self tagName]]; + } + return _memberSpaceLimitsAddCustomQuota; +} + +- (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)memberSpaceLimitsChangeCustomQuota { + if (![self isMemberSpaceLimitsChangeCustomQuota]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsChangeCustomQuota; +} + +- (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)memberSpaceLimitsChangeStatus { + if (![self isMemberSpaceLimitsChangeStatus]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus, but was %@.", [self tagName]]; + } + return _memberSpaceLimitsChangeStatus; +} + +- (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)memberSpaceLimitsRemoveCustomQuota { + if (![self isMemberSpaceLimitsRemoveCustomQuota]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota, but was %@.", + [self tagName]]; + } + return _memberSpaceLimitsRemoveCustomQuota; +} + +- (DBTEAMLOGMemberSuggestType *)memberSuggest { + if (![self isMemberSuggest]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSuggest, but was %@.", [self tagName]]; + } + return _memberSuggest; +} + +- (DBTEAMLOGMemberTransferAccountContentsType *)memberTransferAccountContents { + if (![self isMemberTransferAccountContents]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberTransferAccountContents, but was %@.", [self tagName]]; + } + return _memberTransferAccountContents; +} + +- (DBTEAMLOGPendingSecondaryEmailAddedType *)pendingSecondaryEmailAdded { + if (![self isPendingSecondaryEmailAdded]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePendingSecondaryEmailAdded, but was %@.", [self tagName]]; + } + return _pendingSecondaryEmailAdded; +} + +- (DBTEAMLOGSecondaryEmailDeletedType *)secondaryEmailDeleted { + if (![self isSecondaryEmailDeleted]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSecondaryEmailDeleted, but was %@.", [self tagName]]; + } + return _secondaryEmailDeleted; +} + +- (DBTEAMLOGSecondaryEmailVerifiedType *)secondaryEmailVerified { + if (![self isSecondaryEmailVerified]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSecondaryEmailVerified, but was %@.", [self tagName]]; + } + return _secondaryEmailVerified; +} + +- (DBTEAMLOGSecondaryMailsPolicyChangedType *)secondaryMailsPolicyChanged { + if (![self isSecondaryMailsPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSecondaryMailsPolicyChanged, but was %@.", [self tagName]]; + } + return _secondaryMailsPolicyChanged; +} + +- (DBTEAMLOGBinderAddPageType *)binderAddPage { + if (![self isBinderAddPage]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderAddPage, but was %@.", [self tagName]]; + } + return _binderAddPage; +} + +- (DBTEAMLOGBinderAddSectionType *)binderAddSection { + if (![self isBinderAddSection]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderAddSection, but was %@.", [self tagName]]; + } + return _binderAddSection; +} + +- (DBTEAMLOGBinderRemovePageType *)binderRemovePage { + if (![self isBinderRemovePage]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderRemovePage, but was %@.", [self tagName]]; + } + return _binderRemovePage; +} + +- (DBTEAMLOGBinderRemoveSectionType *)binderRemoveSection { + if (![self isBinderRemoveSection]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderRemoveSection, but was %@.", [self tagName]]; + } + return _binderRemoveSection; +} + +- (DBTEAMLOGBinderRenamePageType *)binderRenamePage { + if (![self isBinderRenamePage]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderRenamePage, but was %@.", [self tagName]]; + } + return _binderRenamePage; +} + +- (DBTEAMLOGBinderRenameSectionType *)binderRenameSection { + if (![self isBinderRenameSection]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderRenameSection, but was %@.", [self tagName]]; + } + return _binderRenameSection; +} + +- (DBTEAMLOGBinderReorderPageType *)binderReorderPage { + if (![self isBinderReorderPage]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderReorderPage, but was %@.", [self tagName]]; + } + return _binderReorderPage; +} + +- (DBTEAMLOGBinderReorderSectionType *)binderReorderSection { + if (![self isBinderReorderSection]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeBinderReorderSection, but was %@.", [self tagName]]; + } + return _binderReorderSection; +} + +- (DBTEAMLOGPaperContentAddMemberType *)paperContentAddMember { + if (![self isPaperContentAddMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentAddMember, but was %@.", [self tagName]]; + } + return _paperContentAddMember; +} + +- (DBTEAMLOGPaperContentAddToFolderType *)paperContentAddToFolder { + if (![self isPaperContentAddToFolder]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentAddToFolder, but was %@.", [self tagName]]; + } + return _paperContentAddToFolder; +} + +- (DBTEAMLOGPaperContentArchiveType *)paperContentArchive { + if (![self isPaperContentArchive]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentArchive, but was %@.", [self tagName]]; + } + return _paperContentArchive; +} + +- (DBTEAMLOGPaperContentCreateType *)paperContentCreate { + if (![self isPaperContentCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentCreate, but was %@.", [self tagName]]; + } + return _paperContentCreate; +} -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGEventType.h" +- (DBTEAMLOGPaperContentPermanentlyDeleteType *)paperContentPermanentlyDelete { + if (![self isPaperContentPermanentlyDelete]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentPermanentlyDelete, but was %@.", [self tagName]]; + } + return _paperContentPermanentlyDelete; +} -#pragma mark - API Object +- (DBTEAMLOGPaperContentRemoveFromFolderType *)paperContentRemoveFromFolder { + if (![self isPaperContentRemoveFromFolder]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRemoveFromFolder, but was %@.", [self tagName]]; + } + return _paperContentRemoveFromFolder; +} -@implementation DBTEAMLOGEventType +- (DBTEAMLOGPaperContentRemoveMemberType *)paperContentRemoveMember { + if (![self isPaperContentRemoveMember]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRemoveMember, but was %@.", [self tagName]]; + } + return _paperContentRemoveMember; +} -#pragma mark - Constructors +- (DBTEAMLOGPaperContentRenameType *)paperContentRename { + if (![self isPaperContentRename]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRename, but was %@.", [self tagName]]; + } + return _paperContentRename; +} -- (instancetype)initWithMemberChangeMembershipType { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberChangeMembershipType; +- (DBTEAMLOGPaperContentRestoreType *)paperContentRestore { + if (![self isPaperContentRestore]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperContentRestore, but was %@.", [self tagName]]; } - return self; + return _paperContentRestore; } -- (instancetype)initWithMemberPermanentlyDeleteAccountContents { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents; +- (DBTEAMLOGPaperDocAddCommentType *)paperDocAddComment { + if (![self isPaperDocAddComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocAddComment, but was %@.", [self tagName]]; } - return self; + return _paperDocAddComment; } -- (instancetype)initWithMemberSpaceLimitsChangeStatus { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus; +- (DBTEAMLOGPaperDocChangeMemberRoleType *)paperDocChangeMemberRole { + if (![self isPaperDocChangeMemberRole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeMemberRole, but was %@.", [self tagName]]; } - return self; + return _paperDocChangeMemberRole; } -- (instancetype)initWithMemberTransferAccountContents { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberTransferAccountContents; +- (DBTEAMLOGPaperDocChangeSharingPolicyType *)paperDocChangeSharingPolicy { + if (![self isPaperDocChangeSharingPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeSharingPolicy, but was %@.", [self tagName]]; } - return self; + return _paperDocChangeSharingPolicy; } -- (instancetype)initWithPaperAdminExportStart { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperAdminExportStart; +- (DBTEAMLOGPaperDocChangeSubscriptionType *)paperDocChangeSubscription { + if (![self isPaperDocChangeSubscription]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocChangeSubscription, but was %@.", [self tagName]]; } - return self; + return _paperDocChangeSubscription; } -- (instancetype)initWithPaperEnabledUsersGroupAddition { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperEnabledUsersGroupAddition; +- (DBTEAMLOGPaperDocDeletedType *)paperDocDeleted { + if (![self isPaperDocDeleted]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDeleted, but was %@.", [self tagName]]; } - return self; + return _paperDocDeleted; } -- (instancetype)initWithPaperEnabledUsersGroupRemoval { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval; +- (DBTEAMLOGPaperDocDeleteCommentType *)paperDocDeleteComment { + if (![self isPaperDocDeleteComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDeleteComment, but was %@.", [self tagName]]; } - return self; + return _paperDocDeleteComment; } -- (instancetype)initWithPaperExternalViewAllow { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperExternalViewAllow; +- (DBTEAMLOGPaperDocDownloadType *)paperDocDownload { + if (![self isPaperDocDownload]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocDownload, but was %@.", [self tagName]]; } - return self; + return _paperDocDownload; } -- (instancetype)initWithPaperExternalViewDefaultTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperExternalViewDefaultTeam; +- (DBTEAMLOGPaperDocEditType *)paperDocEdit { + if (![self isPaperDocEdit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocEdit, but was %@.", [self tagName]]; } - return self; + return _paperDocEdit; } -- (instancetype)initWithPaperExternalViewForbid { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperExternalViewForbid; +- (DBTEAMLOGPaperDocEditCommentType *)paperDocEditComment { + if (![self isPaperDocEditComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocEditComment, but was %@.", [self tagName]]; } - return self; + return _paperDocEditComment; } -- (instancetype)initWithSfExternalInviteWarn { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfExternalInviteWarn; +- (DBTEAMLOGPaperDocFollowedType *)paperDocFollowed { + if (![self isPaperDocFollowed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocFollowed, but was %@.", [self tagName]]; } - return self; + return _paperDocFollowed; } -- (instancetype)initWithTeamMergeFrom { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamMergeFrom; +- (DBTEAMLOGPaperDocMentionType *)paperDocMention { + if (![self isPaperDocMention]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocMention, but was %@.", [self tagName]]; } - return self; + return _paperDocMention; } -- (instancetype)initWithTeamMergeTo { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamMergeTo; +- (DBTEAMLOGPaperDocOwnershipChangedType *)paperDocOwnershipChanged { + if (![self isPaperDocOwnershipChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocOwnershipChanged, but was %@.", [self tagName]]; } - return self; + return _paperDocOwnershipChanged; } -- (instancetype)initWithAppLinkTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAppLinkTeam; +- (DBTEAMLOGPaperDocRequestAccessType *)paperDocRequestAccess { + if (![self isPaperDocRequestAccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocRequestAccess, but was %@.", [self tagName]]; } - return self; + return _paperDocRequestAccess; } -- (instancetype)initWithAppLinkUser { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAppLinkUser; +- (DBTEAMLOGPaperDocResolveCommentType *)paperDocResolveComment { + if (![self isPaperDocResolveComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocResolveComment, but was %@.", [self tagName]]; } - return self; + return _paperDocResolveComment; } -- (instancetype)initWithAppUnlinkTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAppUnlinkTeam; +- (DBTEAMLOGPaperDocRevertType *)paperDocRevert { + if (![self isPaperDocRevert]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocRevert, but was %@.", [self tagName]]; } - return self; + return _paperDocRevert; } -- (instancetype)initWithAppUnlinkUser { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAppUnlinkUser; +- (DBTEAMLOGPaperDocSlackShareType *)paperDocSlackShare { + if (![self isPaperDocSlackShare]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocSlackShare, but was %@.", [self tagName]]; } - return self; + return _paperDocSlackShare; } -- (instancetype)initWithFileAddComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileAddComment; +- (DBTEAMLOGPaperDocTeamInviteType *)paperDocTeamInvite { + if (![self isPaperDocTeamInvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocTeamInvite, but was %@.", [self tagName]]; } - return self; + return _paperDocTeamInvite; } -- (instancetype)initWithFileChangeCommentSubscription { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileChangeCommentSubscription; +- (DBTEAMLOGPaperDocTrashedType *)paperDocTrashed { + if (![self isPaperDocTrashed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocTrashed, but was %@.", [self tagName]]; } - return self; + return _paperDocTrashed; } -- (instancetype)initWithFileDeleteComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileDeleteComment; +- (DBTEAMLOGPaperDocUnresolveCommentType *)paperDocUnresolveComment { + if (![self isPaperDocUnresolveComment]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocUnresolveComment, but was %@.", [self tagName]]; } - return self; + return _paperDocUnresolveComment; } -- (instancetype)initWithFileLikeComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileLikeComment; +- (DBTEAMLOGPaperDocUntrashedType *)paperDocUntrashed { + if (![self isPaperDocUntrashed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocUntrashed, but was %@.", [self tagName]]; } - return self; + return _paperDocUntrashed; } -- (instancetype)initWithFileResolveComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileResolveComment; +- (DBTEAMLOGPaperDocViewType *)paperDocView { + if (![self isPaperDocView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDocView, but was %@.", [self tagName]]; } - return self; + return _paperDocView; } -- (instancetype)initWithFileUnlikeComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileUnlikeComment; +- (DBTEAMLOGPaperExternalViewAllowType *)paperExternalViewAllow { + if (![self isPaperExternalViewAllow]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewAllow, but was %@.", [self tagName]]; } - return self; + return _paperExternalViewAllow; } -- (instancetype)initWithFileUnresolveComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileUnresolveComment; +- (DBTEAMLOGPaperExternalViewDefaultTeamType *)paperExternalViewDefaultTeam { + if (![self isPaperExternalViewDefaultTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewDefaultTeam, but was %@.", [self tagName]]; } - return self; + return _paperExternalViewDefaultTeam; } -- (instancetype)initWithDeviceChangeIpDesktop { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceChangeIpDesktop; +- (DBTEAMLOGPaperExternalViewForbidType *)paperExternalViewForbid { + if (![self isPaperExternalViewForbid]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperExternalViewForbid, but was %@.", [self tagName]]; } - return self; + return _paperExternalViewForbid; } -- (instancetype)initWithDeviceChangeIpMobile { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceChangeIpMobile; +- (DBTEAMLOGPaperFolderChangeSubscriptionType *)paperFolderChangeSubscription { + if (![self isPaperFolderChangeSubscription]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderChangeSubscription, but was %@.", [self tagName]]; } - return self; + return _paperFolderChangeSubscription; } -- (instancetype)initWithDeviceChangeIpWeb { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceChangeIpWeb; +- (DBTEAMLOGPaperFolderDeletedType *)paperFolderDeleted { + if (![self isPaperFolderDeleted]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderDeleted, but was %@.", [self tagName]]; } - return self; + return _paperFolderDeleted; } -- (instancetype)initWithDeviceDeleteOnUnlinkFail { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail; +- (DBTEAMLOGPaperFolderFollowedType *)paperFolderFollowed { + if (![self isPaperFolderFollowed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderFollowed, but was %@.", [self tagName]]; } - return self; + return _paperFolderFollowed; } -- (instancetype)initWithDeviceDeleteOnUnlinkSuccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess; +- (DBTEAMLOGPaperFolderTeamInviteType *)paperFolderTeamInvite { + if (![self isPaperFolderTeamInvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperFolderTeamInvite, but was %@.", [self tagName]]; } - return self; + return _paperFolderTeamInvite; } -- (instancetype)initWithDeviceLinkFail { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceLinkFail; +- (DBTEAMLOGPaperPublishedLinkChangePermissionType *)paperPublishedLinkChangePermission { + if (![self isPaperPublishedLinkChangePermission]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkChangePermission, but was %@.", + [self tagName]]; } - return self; + return _paperPublishedLinkChangePermission; } -- (instancetype)initWithDeviceLinkSuccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceLinkSuccess; +- (DBTEAMLOGPaperPublishedLinkCreateType *)paperPublishedLinkCreate { + if (![self isPaperPublishedLinkCreate]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkCreate, but was %@.", [self tagName]]; } - return self; + return _paperPublishedLinkCreate; } -- (instancetype)initWithDeviceManagementDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceManagementDisabled; +- (DBTEAMLOGPaperPublishedLinkDisabledType *)paperPublishedLinkDisabled { + if (![self isPaperPublishedLinkDisabled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkDisabled, but was %@.", [self tagName]]; } - return self; + return _paperPublishedLinkDisabled; } -- (instancetype)initWithDeviceManagementEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceManagementEnabled; +- (DBTEAMLOGPaperPublishedLinkViewType *)paperPublishedLinkView { + if (![self isPaperPublishedLinkView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperPublishedLinkView, but was %@.", [self tagName]]; } - return self; + return _paperPublishedLinkView; } -- (instancetype)initWithDeviceUnlink { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceUnlink; +- (DBTEAMLOGPasswordChangeType *)passwordChange { + if (![self isPasswordChange]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePasswordChange, but was %@.", [self tagName]]; } - return self; + return _passwordChange; } -- (instancetype)initWithEmmRefreshAuthToken { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmRefreshAuthToken; +- (DBTEAMLOGPasswordResetType *)passwordReset { + if (![self isPasswordReset]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePasswordReset, but was %@.", [self tagName]]; } - return self; + return _passwordReset; } -- (instancetype)initWithAccountCaptureChangeAvailability { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAccountCaptureChangeAvailability; +- (DBTEAMLOGPasswordResetAllType *)passwordResetAll { + if (![self isPasswordResetAll]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePasswordResetAll, but was %@.", [self tagName]]; } - return self; + return _passwordResetAll; } -- (instancetype)initWithAccountCaptureMigrateAccount { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAccountCaptureMigrateAccount; +- (DBTEAMLOGClassificationCreateReportType *)classificationCreateReport { + if (![self isClassificationCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationCreateReport, but was %@.", [self tagName]]; } - return self; + return _classificationCreateReport; } -- (instancetype)initWithAccountCaptureRelinquishAccount { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAccountCaptureRelinquishAccount; +- (DBTEAMLOGClassificationCreateReportFailType *)classificationCreateReportFail { + if (![self isClassificationCreateReportFail]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationCreateReportFail, but was %@.", [self tagName]]; } - return self; + return _classificationCreateReportFail; } -- (instancetype)initWithDisabledDomainInvites { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDisabledDomainInvites; +- (DBTEAMLOGEmmCreateExceptionsReportType *)emmCreateExceptionsReport { + if (![self isEmmCreateExceptionsReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmCreateExceptionsReport, but was %@.", [self tagName]]; } - return self; + return _emmCreateExceptionsReport; } -- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam; +- (DBTEAMLOGEmmCreateUsageReportType *)emmCreateUsageReport { + if (![self isEmmCreateUsageReport]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmCreateUsageReport, but was %@.", [self tagName]]; } - return self; + return _emmCreateUsageReport; } -- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam; +- (DBTEAMLOGExportMembersReportType *)exportMembersReport { + if (![self isExportMembersReport]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExportMembersReport, but was %@.", [self tagName]]; } - return self; + return _exportMembersReport; } -- (instancetype)initWithDomainInvitesEmailExistingUsers { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers; +- (DBTEAMLOGExportMembersReportFailType *)exportMembersReportFail { + if (![self isExportMembersReportFail]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExportMembersReportFail, but was %@.", [self tagName]]; } - return self; + return _exportMembersReportFail; } -- (instancetype)initWithDomainInvitesRequestToJoinTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam; +- (DBTEAMLOGExternalSharingCreateReportType *)externalSharingCreateReport { + if (![self isExternalSharingCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExternalSharingCreateReport, but was %@.", [self tagName]]; } - return self; + return _externalSharingCreateReport; } -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo; +- (DBTEAMLOGExternalSharingReportFailedType *)externalSharingReportFailed { + if (![self isExternalSharingReportFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExternalSharingReportFailed, but was %@.", [self tagName]]; } - return self; + return _externalSharingReportFailed; } -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes; +- (DBTEAMLOGNoExpirationLinkGenCreateReportType *)noExpirationLinkGenCreateReport { + if (![self isNoExpirationLinkGenCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport, but was %@.", [self tagName]]; } - return self; + return _noExpirationLinkGenCreateReport; } -- (instancetype)initWithDomainVerificationAddDomainFail { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainVerificationAddDomainFail; +- (DBTEAMLOGNoExpirationLinkGenReportFailedType *)noExpirationLinkGenReportFailed { + if (![self isNoExpirationLinkGenReportFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed, but was %@.", [self tagName]]; } - return self; + return _noExpirationLinkGenReportFailed; } -- (instancetype)initWithDomainVerificationAddDomainSuccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess; +- (DBTEAMLOGNoPasswordLinkGenCreateReportType *)noPasswordLinkGenCreateReport { + if (![self isNoPasswordLinkGenCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport, but was %@.", [self tagName]]; } - return self; + return _noPasswordLinkGenCreateReport; } -- (instancetype)initWithDomainVerificationRemoveDomain { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDomainVerificationRemoveDomain; +- (DBTEAMLOGNoPasswordLinkGenReportFailedType *)noPasswordLinkGenReportFailed { + if (![self isNoPasswordLinkGenReportFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed, but was %@.", [self tagName]]; } - return self; + return _noPasswordLinkGenReportFailed; } -- (instancetype)initWithEnabledDomainInvites { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEnabledDomainInvites; +- (DBTEAMLOGNoPasswordLinkViewCreateReportType *)noPasswordLinkViewCreateReport { + if (![self isNoPasswordLinkViewCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport, but was %@.", [self tagName]]; } - return self; + return _noPasswordLinkViewCreateReport; } -- (instancetype)initWithCreateFolder { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeCreateFolder; +- (DBTEAMLOGNoPasswordLinkViewReportFailedType *)noPasswordLinkViewReportFailed { + if (![self isNoPasswordLinkViewReportFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed, but was %@.", [self tagName]]; } - return self; + return _noPasswordLinkViewReportFailed; } -- (instancetype)initWithFileAdd { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileAdd; +- (DBTEAMLOGOutdatedLinkViewCreateReportType *)outdatedLinkViewCreateReport { + if (![self isOutdatedLinkViewCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeOutdatedLinkViewCreateReport, but was %@.", [self tagName]]; } - return self; + return _outdatedLinkViewCreateReport; +} + +- (DBTEAMLOGOutdatedLinkViewReportFailedType *)outdatedLinkViewReportFailed { + if (![self isOutdatedLinkViewReportFailed]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeOutdatedLinkViewReportFailed, but was %@.", [self tagName]]; + } + return _outdatedLinkViewReportFailed; +} + +- (DBTEAMLOGPaperAdminExportStartType *)paperAdminExportStart { + if (![self isPaperAdminExportStart]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperAdminExportStart, but was %@.", [self tagName]]; + } + return _paperAdminExportStart; +} + +- (DBTEAMLOGRansomwareAlertCreateReportType *)ransomwareAlertCreateReport { + if (![self isRansomwareAlertCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRansomwareAlertCreateReport, but was %@.", [self tagName]]; + } + return _ransomwareAlertCreateReport; +} + +- (DBTEAMLOGRansomwareAlertCreateReportFailedType *)ransomwareAlertCreateReportFailed { + if (![self isRansomwareAlertCreateReportFailed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed, but was %@.", + [self tagName]]; + } + return _ransomwareAlertCreateReportFailed; +} + +- (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)smartSyncCreateAdminPrivilegeReport { + if (![self isSmartSyncCreateAdminPrivilegeReport]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport, but was %@.", + [self tagName]]; + } + return _smartSyncCreateAdminPrivilegeReport; +} + +- (DBTEAMLOGTeamActivityCreateReportType *)teamActivityCreateReport { + if (![self isTeamActivityCreateReport]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamActivityCreateReport, but was %@.", [self tagName]]; + } + return _teamActivityCreateReport; +} + +- (DBTEAMLOGTeamActivityCreateReportFailType *)teamActivityCreateReportFail { + if (![self isTeamActivityCreateReportFail]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamActivityCreateReportFail, but was %@.", [self tagName]]; + } + return _teamActivityCreateReportFail; +} + +- (DBTEAMLOGCollectionShareType *)collectionShare { + if (![self isCollectionShare]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeCollectionShare, but was %@.", [self tagName]]; + } + return _collectionShare; +} + +- (DBTEAMLOGFileTransfersFileAddType *)fileTransfersFileAdd { + if (![self isFileTransfersFileAdd]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersFileAdd, but was %@.", [self tagName]]; + } + return _fileTransfersFileAdd; +} + +- (DBTEAMLOGFileTransfersTransferDeleteType *)fileTransfersTransferDelete { + if (![self isFileTransfersTransferDelete]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersTransferDelete, but was %@.", [self tagName]]; + } + return _fileTransfersTransferDelete; +} + +- (DBTEAMLOGFileTransfersTransferDownloadType *)fileTransfersTransferDownload { + if (![self isFileTransfersTransferDownload]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersTransferDownload, but was %@.", [self tagName]]; + } + return _fileTransfersTransferDownload; +} + +- (DBTEAMLOGFileTransfersTransferSendType *)fileTransfersTransferSend { + if (![self isFileTransfersTransferSend]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersTransferSend, but was %@.", [self tagName]]; + } + return _fileTransfersTransferSend; +} + +- (DBTEAMLOGFileTransfersTransferViewType *)fileTransfersTransferView { + if (![self isFileTransfersTransferView]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersTransferView, but was %@.", [self tagName]]; + } + return _fileTransfersTransferView; +} + +- (DBTEAMLOGNoteAclInviteOnlyType *)noteAclInviteOnly { + if (![self isNoteAclInviteOnly]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoteAclInviteOnly, but was %@.", [self tagName]]; + } + return _noteAclInviteOnly; +} + +- (DBTEAMLOGNoteAclLinkType *)noteAclLink { + if (![self isNoteAclLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoteAclLink, but was %@.", [self tagName]]; + } + return _noteAclLink; +} + +- (DBTEAMLOGNoteAclTeamLinkType *)noteAclTeamLink { + if (![self isNoteAclTeamLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoteAclTeamLink, but was %@.", [self tagName]]; + } + return _noteAclTeamLink; +} + +- (DBTEAMLOGNoteSharedType *)noteShared { + if (![self isNoteShared]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoteShared, but was %@.", [self tagName]]; + } + return _noteShared; +} + +- (DBTEAMLOGNoteShareReceiveType *)noteShareReceive { + if (![self isNoteShareReceive]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNoteShareReceive, but was %@.", [self tagName]]; + } + return _noteShareReceive; +} + +- (DBTEAMLOGOpenNoteSharedType *)openNoteShared { + if (![self isOpenNoteShared]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeOpenNoteShared, but was %@.", [self tagName]]; + } + return _openNoteShared; +} + +- (DBTEAMLOGReplayFileSharedLinkCreatedType *)replayFileSharedLinkCreated { + if (![self isReplayFileSharedLinkCreated]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeReplayFileSharedLinkCreated, but was %@.", [self tagName]]; + } + return _replayFileSharedLinkCreated; +} + +- (DBTEAMLOGReplayFileSharedLinkModifiedType *)replayFileSharedLinkModified { + if (![self isReplayFileSharedLinkModified]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeReplayFileSharedLinkModified, but was %@.", [self tagName]]; + } + return _replayFileSharedLinkModified; +} + +- (DBTEAMLOGReplayProjectTeamAddType *)replayProjectTeamAdd { + if (![self isReplayProjectTeamAdd]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeReplayProjectTeamAdd, but was %@.", [self tagName]]; + } + return _replayProjectTeamAdd; +} + +- (DBTEAMLOGReplayProjectTeamDeleteType *)replayProjectTeamDelete { + if (![self isReplayProjectTeamDelete]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeReplayProjectTeamDelete, but was %@.", [self tagName]]; + } + return _replayProjectTeamDelete; +} + +- (DBTEAMLOGSfAddGroupType *)sfAddGroup { + if (![self isSfAddGroup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfAddGroup, but was %@.", [self tagName]]; + } + return _sfAddGroup; +} + +- (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)sfAllowNonMembersToViewSharedLinks { + if (![self isSfAllowNonMembersToViewSharedLinks]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks, but was %@.", + [self tagName]]; + } + return _sfAllowNonMembersToViewSharedLinks; +} + +- (DBTEAMLOGSfExternalInviteWarnType *)sfExternalInviteWarn { + if (![self isSfExternalInviteWarn]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfExternalInviteWarn, but was %@.", [self tagName]]; + } + return _sfExternalInviteWarn; +} + +- (DBTEAMLOGSfFbInviteType *)sfFbInvite { + if (![self isSfFbInvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfFbInvite, but was %@.", [self tagName]]; + } + return _sfFbInvite; +} + +- (DBTEAMLOGSfFbInviteChangeRoleType *)sfFbInviteChangeRole { + if (![self isSfFbInviteChangeRole]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfFbInviteChangeRole, but was %@.", [self tagName]]; + } + return _sfFbInviteChangeRole; +} + +- (DBTEAMLOGSfFbUninviteType *)sfFbUninvite { + if (![self isSfFbUninvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfFbUninvite, but was %@.", [self tagName]]; + } + return _sfFbUninvite; +} + +- (DBTEAMLOGSfInviteGroupType *)sfInviteGroup { + if (![self isSfInviteGroup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfInviteGroup, but was %@.", [self tagName]]; + } + return _sfInviteGroup; +} + +- (DBTEAMLOGSfTeamGrantAccessType *)sfTeamGrantAccess { + if (![self isSfTeamGrantAccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamGrantAccess, but was %@.", [self tagName]]; + } + return _sfTeamGrantAccess; +} + +- (DBTEAMLOGSfTeamInviteType *)sfTeamInvite { + if (![self isSfTeamInvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamInvite, but was %@.", [self tagName]]; + } + return _sfTeamInvite; +} + +- (DBTEAMLOGSfTeamInviteChangeRoleType *)sfTeamInviteChangeRole { + if (![self isSfTeamInviteChangeRole]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamInviteChangeRole, but was %@.", [self tagName]]; + } + return _sfTeamInviteChangeRole; +} + +- (DBTEAMLOGSfTeamJoinType *)sfTeamJoin { + if (![self isSfTeamJoin]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamJoin, but was %@.", [self tagName]]; + } + return _sfTeamJoin; +} + +- (DBTEAMLOGSfTeamJoinFromOobLinkType *)sfTeamJoinFromOobLink { + if (![self isSfTeamJoinFromOobLink]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamJoinFromOobLink, but was %@.", [self tagName]]; + } + return _sfTeamJoinFromOobLink; +} + +- (DBTEAMLOGSfTeamUninviteType *)sfTeamUninvite { + if (![self isSfTeamUninvite]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSfTeamUninvite, but was %@.", [self tagName]]; + } + return _sfTeamUninvite; } -- (instancetype)initWithFileCopy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileCopy; +- (DBTEAMLOGSharedContentAddInviteesType *)sharedContentAddInvitees { + if (![self isSharedContentAddInvitees]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddInvitees, but was %@.", [self tagName]]; } - return self; + return _sharedContentAddInvitees; } -- (instancetype)initWithFileDelete { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileDelete; +- (DBTEAMLOGSharedContentAddLinkExpiryType *)sharedContentAddLinkExpiry { + if (![self isSharedContentAddLinkExpiry]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddLinkExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedContentAddLinkExpiry; } -- (instancetype)initWithFileDownload { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileDownload; +- (DBTEAMLOGSharedContentAddLinkPasswordType *)sharedContentAddLinkPassword { + if (![self isSharedContentAddLinkPassword]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddLinkPassword, but was %@.", [self tagName]]; } - return self; + return _sharedContentAddLinkPassword; } -- (instancetype)initWithFileEdit { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileEdit; +- (DBTEAMLOGSharedContentAddMemberType *)sharedContentAddMember { + if (![self isSharedContentAddMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentAddMember, but was %@.", [self tagName]]; } - return self; + return _sharedContentAddMember; } -- (instancetype)initWithFileGetCopyReference { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileGetCopyReference; +- (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)sharedContentChangeDownloadsPolicy { + if (![self isSharedContentChangeDownloadsPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharedContentChangeDownloadsPolicy; } -- (instancetype)initWithFileMove { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileMove; +- (DBTEAMLOGSharedContentChangeInviteeRoleType *)sharedContentChangeInviteeRole { + if (![self isSharedContentChangeInviteeRole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeInviteeRole, but was %@.", [self tagName]]; } - return self; + return _sharedContentChangeInviteeRole; } -- (instancetype)initWithFilePermanentlyDelete { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFilePermanentlyDelete; +- (DBTEAMLOGSharedContentChangeLinkAudienceType *)sharedContentChangeLinkAudience { + if (![self isSharedContentChangeLinkAudience]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkAudience, but was %@.", [self tagName]]; } - return self; + return _sharedContentChangeLinkAudience; } -- (instancetype)initWithFilePreview { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFilePreview; +- (DBTEAMLOGSharedContentChangeLinkExpiryType *)sharedContentChangeLinkExpiry { + if (![self isSharedContentChangeLinkExpiry]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedContentChangeLinkExpiry; } -- (instancetype)initWithFileRename { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRename; +- (DBTEAMLOGSharedContentChangeLinkPasswordType *)sharedContentChangeLinkPassword { + if (![self isSharedContentChangeLinkPassword]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeLinkPassword, but was %@.", [self tagName]]; } - return self; + return _sharedContentChangeLinkPassword; } -- (instancetype)initWithFileRestore { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRestore; +- (DBTEAMLOGSharedContentChangeMemberRoleType *)sharedContentChangeMemberRole { + if (![self isSharedContentChangeMemberRole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeMemberRole, but was %@.", [self tagName]]; } - return self; + return _sharedContentChangeMemberRole; } -- (instancetype)initWithFileRevert { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRevert; +- (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)sharedContentChangeViewerInfoPolicy { + if (![self isSharedContentChangeViewerInfoPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharedContentChangeViewerInfoPolicy; } -- (instancetype)initWithFileRollbackChanges { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRollbackChanges; +- (DBTEAMLOGSharedContentClaimInvitationType *)sharedContentClaimInvitation { + if (![self isSharedContentClaimInvitation]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentClaimInvitation, but was %@.", [self tagName]]; } - return self; + return _sharedContentClaimInvitation; } -- (instancetype)initWithFileSaveCopyReference { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileSaveCopyReference; +- (DBTEAMLOGSharedContentCopyType *)sharedContentCopy { + if (![self isSharedContentCopy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentCopy, but was %@.", [self tagName]]; } - return self; + return _sharedContentCopy; } -- (instancetype)initWithFileRequestAddDeadline { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestAddDeadline; +- (DBTEAMLOGSharedContentDownloadType *)sharedContentDownload { + if (![self isSharedContentDownload]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentDownload, but was %@.", [self tagName]]; } - return self; + return _sharedContentDownload; } -- (instancetype)initWithFileRequestChange { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestChange; +- (DBTEAMLOGSharedContentRelinquishMembershipType *)sharedContentRelinquishMembership { + if (![self isSharedContentRelinquishMembership]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRelinquishMembership, but was %@.", + [self tagName]]; } - return self; + return _sharedContentRelinquishMembership; } -- (instancetype)initWithFileRequestChangeFolder { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestChangeFolder; +- (DBTEAMLOGSharedContentRemoveInviteesType *)sharedContentRemoveInvitees { + if (![self isSharedContentRemoveInvitees]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveInvitees, but was %@.", [self tagName]]; } - return self; + return _sharedContentRemoveInvitees; } -- (instancetype)initWithFileRequestClose { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestClose; +- (DBTEAMLOGSharedContentRemoveLinkExpiryType *)sharedContentRemoveLinkExpiry { + if (![self isSharedContentRemoveLinkExpiry]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedContentRemoveLinkExpiry; } -- (instancetype)initWithFileRequestCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestCreate; +- (DBTEAMLOGSharedContentRemoveLinkPasswordType *)sharedContentRemoveLinkPassword { + if (![self isSharedContentRemoveLinkPassword]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveLinkPassword, but was %@.", [self tagName]]; } - return self; + return _sharedContentRemoveLinkPassword; } -- (instancetype)initWithFileRequestReceiveFile { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestReceiveFile; +- (DBTEAMLOGSharedContentRemoveMemberType *)sharedContentRemoveMember { + if (![self isSharedContentRemoveMember]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRemoveMember, but was %@.", [self tagName]]; } - return self; + return _sharedContentRemoveMember; } -- (instancetype)initWithFileRequestRemoveDeadline { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestRemoveDeadline; +- (DBTEAMLOGSharedContentRequestAccessType *)sharedContentRequestAccess { + if (![self isSharedContentRequestAccess]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRequestAccess, but was %@.", [self tagName]]; } - return self; + return _sharedContentRequestAccess; } -- (instancetype)initWithFileRequestSend { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestSend; +- (DBTEAMLOGSharedContentRestoreInviteesType *)sharedContentRestoreInvitees { + if (![self isSharedContentRestoreInvitees]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRestoreInvitees, but was %@.", [self tagName]]; } - return self; + return _sharedContentRestoreInvitees; } -- (instancetype)initWithGroupAddExternalId { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupAddExternalId; +- (DBTEAMLOGSharedContentRestoreMemberType *)sharedContentRestoreMember { + if (![self isSharedContentRestoreMember]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentRestoreMember, but was %@.", [self tagName]]; } - return self; + return _sharedContentRestoreMember; } -- (instancetype)initWithGroupAddMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupAddMember; +- (DBTEAMLOGSharedContentUnshareType *)sharedContentUnshare { + if (![self isSharedContentUnshare]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentUnshare, but was %@.", [self tagName]]; } - return self; + return _sharedContentUnshare; } -- (instancetype)initWithGroupChangeExternalId { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupChangeExternalId; +- (DBTEAMLOGSharedContentViewType *)sharedContentView { + if (![self isSharedContentView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedContentView, but was %@.", [self tagName]]; } - return self; + return _sharedContentView; } -- (instancetype)initWithGroupChangeManagementType { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupChangeManagementType; +- (DBTEAMLOGSharedFolderChangeLinkPolicyType *)sharedFolderChangeLinkPolicy { + if (![self isSharedFolderChangeLinkPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy, but was %@.", [self tagName]]; } - return self; + return _sharedFolderChangeLinkPolicy; } -- (instancetype)initWithGroupChangeMemberRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupChangeMemberRole; +- (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)sharedFolderChangeMembersInheritancePolicy { + if (![self isSharedFolderChangeMembersInheritancePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy, but was %@.", + [self tagName]]; } - return self; + return _sharedFolderChangeMembersInheritancePolicy; } -- (instancetype)initWithGroupCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupCreate; +- (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)sharedFolderChangeMembersManagementPolicy { + if (![self isSharedFolderChangeMembersManagementPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharedFolderChangeMembersManagementPolicy; } -- (instancetype)initWithGroupDelete { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupDelete; +- (DBTEAMLOGSharedFolderChangeMembersPolicyType *)sharedFolderChangeMembersPolicy { + if (![self isSharedFolderChangeMembersPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy, but was %@.", [self tagName]]; } - return self; + return _sharedFolderChangeMembersPolicy; } -- (instancetype)initWithGroupMoved { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupMoved; +- (DBTEAMLOGSharedFolderCreateType *)sharedFolderCreate { + if (![self isSharedFolderCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderCreate, but was %@.", [self tagName]]; } - return self; + return _sharedFolderCreate; } -- (instancetype)initWithGroupRemoveExternalId { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupRemoveExternalId; +- (DBTEAMLOGSharedFolderDeclineInvitationType *)sharedFolderDeclineInvitation { + if (![self isSharedFolderDeclineInvitation]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderDeclineInvitation, but was %@.", [self tagName]]; } - return self; + return _sharedFolderDeclineInvitation; } -- (instancetype)initWithGroupRemoveMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupRemoveMember; +- (DBTEAMLOGSharedFolderMountType *)sharedFolderMount { + if (![self isSharedFolderMount]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderMount, but was %@.", [self tagName]]; } - return self; + return _sharedFolderMount; } -- (instancetype)initWithGroupRename { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupRename; +- (DBTEAMLOGSharedFolderNestType *)sharedFolderNest { + if (![self isSharedFolderNest]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderNest, but was %@.", [self tagName]]; } - return self; + return _sharedFolderNest; } -- (instancetype)initWithEmmError { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmError; +- (DBTEAMLOGSharedFolderTransferOwnershipType *)sharedFolderTransferOwnership { + if (![self isSharedFolderTransferOwnership]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderTransferOwnership, but was %@.", [self tagName]]; } - return self; + return _sharedFolderTransferOwnership; } -- (instancetype)initWithLoginFail { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeLoginFail; +- (DBTEAMLOGSharedFolderUnmountType *)sharedFolderUnmount { + if (![self isSharedFolderUnmount]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedFolderUnmount, but was %@.", [self tagName]]; } - return self; + return _sharedFolderUnmount; } -- (instancetype)initWithLoginSuccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeLoginSuccess; +- (DBTEAMLOGSharedLinkAddExpiryType *)sharedLinkAddExpiry { + if (![self isSharedLinkAddExpiry]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkAddExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedLinkAddExpiry; } -- (instancetype)initWithLogout { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeLogout; +- (DBTEAMLOGSharedLinkChangeExpiryType *)sharedLinkChangeExpiry { + if (![self isSharedLinkChangeExpiry]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkChangeExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedLinkChangeExpiry; } -- (instancetype)initWithResellerSupportSessionEnd { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeResellerSupportSessionEnd; +- (DBTEAMLOGSharedLinkChangeVisibilityType *)sharedLinkChangeVisibility { + if (![self isSharedLinkChangeVisibility]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkChangeVisibility, but was %@.", [self tagName]]; } - return self; + return _sharedLinkChangeVisibility; } -- (instancetype)initWithResellerSupportSessionStart { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeResellerSupportSessionStart; +- (DBTEAMLOGSharedLinkCopyType *)sharedLinkCopy { + if (![self isSharedLinkCopy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkCopy, but was %@.", [self tagName]]; } - return self; + return _sharedLinkCopy; } -- (instancetype)initWithSignInAsSessionEnd { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSignInAsSessionEnd; +- (DBTEAMLOGSharedLinkCreateType *)sharedLinkCreate { + if (![self isSharedLinkCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkCreate, but was %@.", [self tagName]]; } - return self; + return _sharedLinkCreate; } -- (instancetype)initWithSignInAsSessionStart { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSignInAsSessionStart; +- (DBTEAMLOGSharedLinkDisableType *)sharedLinkDisable { + if (![self isSharedLinkDisable]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkDisable, but was %@.", [self tagName]]; } - return self; + return _sharedLinkDisable; } -- (instancetype)initWithSsoError { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoError; +- (DBTEAMLOGSharedLinkDownloadType *)sharedLinkDownload { + if (![self isSharedLinkDownload]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkDownload, but was %@.", [self tagName]]; } - return self; + return _sharedLinkDownload; } -- (instancetype)initWithMemberAddName { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberAddName; +- (DBTEAMLOGSharedLinkRemoveExpiryType *)sharedLinkRemoveExpiry { + if (![self isSharedLinkRemoveExpiry]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkRemoveExpiry, but was %@.", [self tagName]]; } - return self; + return _sharedLinkRemoveExpiry; } -- (instancetype)initWithMemberChangeAdminRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberChangeAdminRole; +- (DBTEAMLOGSharedLinkSettingsAddExpirationType *)sharedLinkSettingsAddExpiration { + if (![self isSharedLinkSettingsAddExpiration]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration, but was %@.", [self tagName]]; } - return self; + return _sharedLinkSettingsAddExpiration; } -- (instancetype)initWithMemberChangeEmail { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberChangeEmail; +- (DBTEAMLOGSharedLinkSettingsAddPasswordType *)sharedLinkSettingsAddPassword { + if (![self isSharedLinkSettingsAddPassword]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAddPassword, but was %@.", [self tagName]]; } - return self; + return _sharedLinkSettingsAddPassword; } -- (instancetype)initWithMemberChangeName { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberChangeName; +- (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)sharedLinkSettingsAllowDownloadDisabled { + if (![self isSharedLinkSettingsAllowDownloadDisabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsAllowDownloadDisabled; } -- (instancetype)initWithMemberChangeStatus { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberChangeStatus; +- (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)sharedLinkSettingsAllowDownloadEnabled { + if (![self isSharedLinkSettingsAllowDownloadEnabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsAllowDownloadEnabled; } -- (instancetype)initWithMemberSuggest { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSuggest; +- (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)sharedLinkSettingsChangeAudience { + if (![self isSharedLinkSettingsChangeAudience]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsChangeAudience; } -- (instancetype)initWithPaperContentAddMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentAddMember; +- (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)sharedLinkSettingsChangeExpiration { + if (![self isSharedLinkSettingsChangeExpiration]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsChangeExpiration; } -- (instancetype)initWithPaperContentAddToFolder { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentAddToFolder; +- (DBTEAMLOGSharedLinkSettingsChangePasswordType *)sharedLinkSettingsChangePassword { + if (![self isSharedLinkSettingsChangePassword]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsChangePassword, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsChangePassword; } -- (instancetype)initWithPaperContentArchive { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentArchive; +- (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)sharedLinkSettingsRemoveExpiration { + if (![self isSharedLinkSettingsRemoveExpiration]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsRemoveExpiration; } -- (instancetype)initWithPaperContentCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentCreate; +- (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)sharedLinkSettingsRemovePassword { + if (![self isSharedLinkSettingsRemovePassword]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword, but was %@.", + [self tagName]]; } - return self; + return _sharedLinkSettingsRemovePassword; } -- (instancetype)initWithPaperContentPermanentlyDelete { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentPermanentlyDelete; +- (DBTEAMLOGSharedLinkShareType *)sharedLinkShare { + if (![self isSharedLinkShare]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkShare, but was %@.", [self tagName]]; } - return self; + return _sharedLinkShare; } -- (instancetype)initWithPaperContentRemoveFromFolder { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentRemoveFromFolder; +- (DBTEAMLOGSharedLinkViewType *)sharedLinkView { + if (![self isSharedLinkView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedLinkView, but was %@.", [self tagName]]; } - return self; + return _sharedLinkView; } -- (instancetype)initWithPaperContentRemoveMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentRemoveMember; +- (DBTEAMLOGSharedNoteOpenedType *)sharedNoteOpened { + if (![self isSharedNoteOpened]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharedNoteOpened, but was %@.", [self tagName]]; } - return self; + return _sharedNoteOpened; } -- (instancetype)initWithPaperContentRename { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentRename; +- (DBTEAMLOGShmodelDisableDownloadsType *)shmodelDisableDownloads { + if (![self isShmodelDisableDownloads]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelDisableDownloads, but was %@.", [self tagName]]; } - return self; + return _shmodelDisableDownloads; } -- (instancetype)initWithPaperContentRestore { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperContentRestore; +- (DBTEAMLOGShmodelEnableDownloadsType *)shmodelEnableDownloads { + if (![self isShmodelEnableDownloads]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelEnableDownloads, but was %@.", [self tagName]]; } - return self; + return _shmodelEnableDownloads; } -- (instancetype)initWithPaperDocAddComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocAddComment; +- (DBTEAMLOGShmodelGroupShareType *)shmodelGroupShare { + if (![self isShmodelGroupShare]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShmodelGroupShare, but was %@.", [self tagName]]; } - return self; + return _shmodelGroupShare; } -- (instancetype)initWithPaperDocChangeMemberRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocChangeMemberRole; +- (DBTEAMLOGShowcaseAccessGrantedType *)showcaseAccessGranted { + if (![self isShowcaseAccessGranted]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseAccessGranted, but was %@.", [self tagName]]; } - return self; + return _showcaseAccessGranted; } -- (instancetype)initWithPaperDocChangeSharingPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocChangeSharingPolicy; +- (DBTEAMLOGShowcaseAddMemberType *)showcaseAddMember { + if (![self isShowcaseAddMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseAddMember, but was %@.", [self tagName]]; } - return self; + return _showcaseAddMember; } -- (instancetype)initWithPaperDocChangeSubscription { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocChangeSubscription; +- (DBTEAMLOGShowcaseArchivedType *)showcaseArchived { + if (![self isShowcaseArchived]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseArchived, but was %@.", [self tagName]]; } - return self; + return _showcaseArchived; } -- (instancetype)initWithPaperDocDeleted { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocDeleted; +- (DBTEAMLOGShowcaseCreatedType *)showcaseCreated { + if (![self isShowcaseCreated]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseCreated, but was %@.", [self tagName]]; } - return self; + return _showcaseCreated; } -- (instancetype)initWithPaperDocDeleteComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocDeleteComment; +- (DBTEAMLOGShowcaseDeleteCommentType *)showcaseDeleteComment { + if (![self isShowcaseDeleteComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseDeleteComment, but was %@.", [self tagName]]; } - return self; + return _showcaseDeleteComment; } -- (instancetype)initWithPaperDocDownload { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocDownload; +- (DBTEAMLOGShowcaseEditedType *)showcaseEdited { + if (![self isShowcaseEdited]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseEdited, but was %@.", [self tagName]]; } - return self; + return _showcaseEdited; } -- (instancetype)initWithPaperDocEdit { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocEdit; +- (DBTEAMLOGShowcaseEditCommentType *)showcaseEditComment { + if (![self isShowcaseEditComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseEditComment, but was %@.", [self tagName]]; } - return self; + return _showcaseEditComment; } -- (instancetype)initWithPaperDocEditComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocEditComment; +- (DBTEAMLOGShowcaseFileAddedType *)showcaseFileAdded { + if (![self isShowcaseFileAdded]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileAdded, but was %@.", [self tagName]]; } - return self; + return _showcaseFileAdded; } -- (instancetype)initWithPaperDocFollowed { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocFollowed; +- (DBTEAMLOGShowcaseFileDownloadType *)showcaseFileDownload { + if (![self isShowcaseFileDownload]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileDownload, but was %@.", [self tagName]]; } - return self; + return _showcaseFileDownload; } -- (instancetype)initWithPaperDocMention { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocMention; +- (DBTEAMLOGShowcaseFileRemovedType *)showcaseFileRemoved { + if (![self isShowcaseFileRemoved]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileRemoved, but was %@.", [self tagName]]; } - return self; + return _showcaseFileRemoved; } -- (instancetype)initWithPaperDocRequestAccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocRequestAccess; +- (DBTEAMLOGShowcaseFileViewType *)showcaseFileView { + if (![self isShowcaseFileView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseFileView, but was %@.", [self tagName]]; } - return self; + return _showcaseFileView; } -- (instancetype)initWithPaperDocResolveComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocResolveComment; +- (DBTEAMLOGShowcasePermanentlyDeletedType *)showcasePermanentlyDeleted { + if (![self isShowcasePermanentlyDeleted]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcasePermanentlyDeleted, but was %@.", [self tagName]]; } - return self; + return _showcasePermanentlyDeleted; } -- (instancetype)initWithPaperDocRevert { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocRevert; +- (DBTEAMLOGShowcasePostCommentType *)showcasePostComment { + if (![self isShowcasePostComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcasePostComment, but was %@.", [self tagName]]; } - return self; + return _showcasePostComment; } -- (instancetype)initWithPaperDocSlackShare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocSlackShare; +- (DBTEAMLOGShowcaseRemoveMemberType *)showcaseRemoveMember { + if (![self isShowcaseRemoveMember]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRemoveMember, but was %@.", [self tagName]]; } - return self; + return _showcaseRemoveMember; } -- (instancetype)initWithPaperDocTeamInvite { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocTeamInvite; +- (DBTEAMLOGShowcaseRenamedType *)showcaseRenamed { + if (![self isShowcaseRenamed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRenamed, but was %@.", [self tagName]]; } - return self; + return _showcaseRenamed; } -- (instancetype)initWithPaperDocTrashed { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocTrashed; +- (DBTEAMLOGShowcaseRequestAccessType *)showcaseRequestAccess { + if (![self isShowcaseRequestAccess]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRequestAccess, but was %@.", [self tagName]]; } - return self; + return _showcaseRequestAccess; } -- (instancetype)initWithPaperDocUnresolveComment { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocUnresolveComment; +- (DBTEAMLOGShowcaseResolveCommentType *)showcaseResolveComment { + if (![self isShowcaseResolveComment]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseResolveComment, but was %@.", [self tagName]]; } - return self; + return _showcaseResolveComment; } -- (instancetype)initWithPaperDocUntrashed { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocUntrashed; +- (DBTEAMLOGShowcaseRestoredType *)showcaseRestored { + if (![self isShowcaseRestored]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseRestored, but was %@.", [self tagName]]; } - return self; + return _showcaseRestored; } -- (instancetype)initWithPaperDocView { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperDocView; +- (DBTEAMLOGShowcaseTrashedType *)showcaseTrashed { + if (![self isShowcaseTrashed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseTrashed, but was %@.", [self tagName]]; } - return self; + return _showcaseTrashed; } -- (instancetype)initWithPaperFolderChangeSubscription { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperFolderChangeSubscription; +- (DBTEAMLOGShowcaseTrashedDeprecatedType *)showcaseTrashedDeprecated { + if (![self isShowcaseTrashedDeprecated]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseTrashedDeprecated, but was %@.", [self tagName]]; } - return self; + return _showcaseTrashedDeprecated; } -- (instancetype)initWithPaperFolderDeleted { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperFolderDeleted; +- (DBTEAMLOGShowcaseUnresolveCommentType *)showcaseUnresolveComment { + if (![self isShowcaseUnresolveComment]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUnresolveComment, but was %@.", [self tagName]]; } - return self; + return _showcaseUnresolveComment; } -- (instancetype)initWithPaperFolderFollowed { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperFolderFollowed; +- (DBTEAMLOGShowcaseUntrashedType *)showcaseUntrashed { + if (![self isShowcaseUntrashed]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUntrashed, but was %@.", [self tagName]]; } - return self; + return _showcaseUntrashed; } -- (instancetype)initWithPaperFolderTeamInvite { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperFolderTeamInvite; +- (DBTEAMLOGShowcaseUntrashedDeprecatedType *)showcaseUntrashedDeprecated { + if (![self isShowcaseUntrashedDeprecated]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseUntrashedDeprecated, but was %@.", [self tagName]]; } - return self; + return _showcaseUntrashedDeprecated; } -- (instancetype)initWithPasswordChange { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePasswordChange; +- (DBTEAMLOGShowcaseViewType *)showcaseView { + if (![self isShowcaseView]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseView, but was %@.", [self tagName]]; } - return self; + return _showcaseView; } -- (instancetype)initWithPasswordReset { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePasswordReset; +- (DBTEAMLOGSsoAddCertType *)ssoAddCert { + if (![self isSsoAddCert]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddCert, but was %@.", [self tagName]]; } - return self; + return _ssoAddCert; } -- (instancetype)initWithPasswordResetAll { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePasswordResetAll; +- (DBTEAMLOGSsoAddLoginUrlType *)ssoAddLoginUrl { + if (![self isSsoAddLoginUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddLoginUrl, but was %@.", [self tagName]]; } - return self; + return _ssoAddLoginUrl; } -- (instancetype)initWithEmmCreateExceptionsReport { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmCreateExceptionsReport; +- (DBTEAMLOGSsoAddLogoutUrlType *)ssoAddLogoutUrl { + if (![self isSsoAddLogoutUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoAddLogoutUrl, but was %@.", [self tagName]]; } - return self; + return _ssoAddLogoutUrl; } -- (instancetype)initWithEmmCreateUsageReport { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmCreateUsageReport; +- (DBTEAMLOGSsoChangeCertType *)ssoChangeCert { + if (![self isSsoChangeCert]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeCert, but was %@.", [self tagName]]; } - return self; + return _ssoChangeCert; } -- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport; +- (DBTEAMLOGSsoChangeLoginUrlType *)ssoChangeLoginUrl { + if (![self isSsoChangeLoginUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeLoginUrl, but was %@.", [self tagName]]; } - return self; + return _ssoChangeLoginUrl; } -- (instancetype)initWithTeamActivityCreateReport { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamActivityCreateReport; +- (DBTEAMLOGSsoChangeLogoutUrlType *)ssoChangeLogoutUrl { + if (![self isSsoChangeLogoutUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeLogoutUrl, but was %@.", [self tagName]]; } - return self; + return _ssoChangeLogoutUrl; } -- (instancetype)initWithCollectionShare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeCollectionShare; +- (DBTEAMLOGSsoChangeSamlIdentityModeType *)ssoChangeSamlIdentityMode { + if (![self isSsoChangeSamlIdentityMode]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangeSamlIdentityMode, but was %@.", [self tagName]]; } - return self; + return _ssoChangeSamlIdentityMode; } -- (instancetype)initWithNoteAclInviteOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNoteAclInviteOnly; +- (DBTEAMLOGSsoRemoveCertType *)ssoRemoveCert { + if (![self isSsoRemoveCert]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveCert, but was %@.", [self tagName]]; } - return self; + return _ssoRemoveCert; } -- (instancetype)initWithNoteAclLink { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNoteAclLink; +- (DBTEAMLOGSsoRemoveLoginUrlType *)ssoRemoveLoginUrl { + if (![self isSsoRemoveLoginUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveLoginUrl, but was %@.", [self tagName]]; } - return self; + return _ssoRemoveLoginUrl; } -- (instancetype)initWithNoteAclTeamLink { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNoteAclTeamLink; +- (DBTEAMLOGSsoRemoveLogoutUrlType *)ssoRemoveLogoutUrl { + if (![self isSsoRemoveLogoutUrl]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoRemoveLogoutUrl, but was %@.", [self tagName]]; } - return self; + return _ssoRemoveLogoutUrl; } -- (instancetype)initWithNoteShared { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNoteShared; +- (DBTEAMLOGTeamFolderChangeStatusType *)teamFolderChangeStatus { + if (![self isTeamFolderChangeStatus]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderChangeStatus, but was %@.", [self tagName]]; } - return self; + return _teamFolderChangeStatus; } -- (instancetype)initWithNoteShareReceive { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNoteShareReceive; +- (DBTEAMLOGTeamFolderCreateType *)teamFolderCreate { + if (![self isTeamFolderCreate]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderCreate, but was %@.", [self tagName]]; } - return self; + return _teamFolderCreate; } -- (instancetype)initWithOpenNoteShared { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeOpenNoteShared; +- (DBTEAMLOGTeamFolderDowngradeType *)teamFolderDowngrade { + if (![self isTeamFolderDowngrade]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderDowngrade, but was %@.", [self tagName]]; } - return self; + return _teamFolderDowngrade; } -- (instancetype)initWithSfAddGroup { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfAddGroup; +- (DBTEAMLOGTeamFolderPermanentlyDeleteType *)teamFolderPermanentlyDelete { + if (![self isTeamFolderPermanentlyDelete]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderPermanentlyDelete, but was %@.", [self tagName]]; } - return self; + return _teamFolderPermanentlyDelete; } -- (instancetype)initWithSfAllowNonMembersToViewSharedLinks { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks; +- (DBTEAMLOGTeamFolderRenameType *)teamFolderRename { + if (![self isTeamFolderRename]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamFolderRename, but was %@.", [self tagName]]; } - return self; + return _teamFolderRename; } -- (instancetype)initWithSfInviteGroup { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfInviteGroup; +- (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)teamSelectiveSyncSettingsChanged { + if (![self isTeamSelectiveSyncSettingsChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged, but was %@.", + [self tagName]]; } - return self; + return _teamSelectiveSyncSettingsChanged; } -- (instancetype)initWithSfNest { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfNest; +- (DBTEAMLOGAccountCaptureChangePolicyType *)accountCaptureChangePolicy { + if (![self isAccountCaptureChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAccountCaptureChangePolicy, but was %@.", [self tagName]]; } - return self; + return _accountCaptureChangePolicy; } -- (instancetype)initWithSfTeamDecline { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamDecline; +- (DBTEAMLOGAdminEmailRemindersChangedType *)adminEmailRemindersChanged { + if (![self isAdminEmailRemindersChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAdminEmailRemindersChanged, but was %@.", [self tagName]]; } - return self; + return _adminEmailRemindersChanged; } -- (instancetype)initWithSfTeamGrantAccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamGrantAccess; +- (DBTEAMLOGAllowDownloadDisabledType *)allowDownloadDisabled { + if (![self isAllowDownloadDisabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAllowDownloadDisabled, but was %@.", [self tagName]]; } - return self; + return _allowDownloadDisabled; } -- (instancetype)initWithSfTeamInvite { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamInvite; +- (DBTEAMLOGAllowDownloadEnabledType *)allowDownloadEnabled { + if (![self isAllowDownloadEnabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAllowDownloadEnabled, but was %@.", [self tagName]]; } - return self; + return _allowDownloadEnabled; } -- (instancetype)initWithSfTeamInviteChangeRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamInviteChangeRole; +- (DBTEAMLOGAppPermissionsChangedType *)appPermissionsChanged { + if (![self isAppPermissionsChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeAppPermissionsChanged, but was %@.", [self tagName]]; } - return self; + return _appPermissionsChanged; } -- (instancetype)initWithSfTeamJoin { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamJoin; +- (DBTEAMLOGCameraUploadsPolicyChangedType *)cameraUploadsPolicyChanged { + if (![self isCameraUploadsPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeCameraUploadsPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _cameraUploadsPolicyChanged; } -- (instancetype)initWithSfTeamJoinFromOobLink { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamJoinFromOobLink; +- (DBTEAMLOGCaptureTranscriptPolicyChangedType *)captureTranscriptPolicyChanged { + if (![self isCaptureTranscriptPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _captureTranscriptPolicyChanged; } -- (instancetype)initWithSfTeamUninvite { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSfTeamUninvite; +- (DBTEAMLOGClassificationChangePolicyType *)classificationChangePolicy { + if (![self isClassificationChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeClassificationChangePolicy, but was %@.", [self tagName]]; } - return self; + return _classificationChangePolicy; } -- (instancetype)initWithSharedContentAddInvitees { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentAddInvitees; +- (DBTEAMLOGComputerBackupPolicyChangedType *)computerBackupPolicyChanged { + if (![self isComputerBackupPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeComputerBackupPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _computerBackupPolicyChanged; } -- (instancetype)initWithSharedContentAddLinkExpiry { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentAddLinkExpiry; +- (DBTEAMLOGContentAdministrationPolicyChangedType *)contentAdministrationPolicyChanged { + if (![self isContentAdministrationPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeContentAdministrationPolicyChanged, but was %@.", + [self tagName]]; } - return self; + return _contentAdministrationPolicyChanged; } -- (instancetype)initWithSharedContentAddLinkPassword { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentAddLinkPassword; +- (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)dataPlacementRestrictionChangePolicy { + if (![self isDataPlacementRestrictionChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy, but was %@.", + [self tagName]]; } - return self; + return _dataPlacementRestrictionChangePolicy; } -- (instancetype)initWithSharedContentAddMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentAddMember; +- (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)dataPlacementRestrictionSatisfyPolicy { + if (![self isDataPlacementRestrictionSatisfyPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy, but was %@.", + [self tagName]]; } - return self; + return _dataPlacementRestrictionSatisfyPolicy; } -- (instancetype)initWithSharedContentChangeDownloadsPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy; +- (DBTEAMLOGDeviceApprovalsAddExceptionType *)deviceApprovalsAddException { + if (![self isDeviceApprovalsAddException]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsAddException, but was %@.", [self tagName]]; } - return self; + return _deviceApprovalsAddException; } -- (instancetype)initWithSharedContentChangeInviteeRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeInviteeRole; +- (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deviceApprovalsChangeDesktopPolicy { + if (![self isDeviceApprovalsChangeDesktopPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy, but was %@.", + [self tagName]]; } - return self; + return _deviceApprovalsChangeDesktopPolicy; } -- (instancetype)initWithSharedContentChangeLinkAudience { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeLinkAudience; +- (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deviceApprovalsChangeMobilePolicy { + if (![self isDeviceApprovalsChangeMobilePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy, but was %@.", + [self tagName]]; } - return self; + return _deviceApprovalsChangeMobilePolicy; } -- (instancetype)initWithSharedContentChangeLinkExpiry { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeLinkExpiry; +- (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deviceApprovalsChangeOverageAction { + if (![self isDeviceApprovalsChangeOverageAction]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction, but was %@.", + [self tagName]]; } - return self; + return _deviceApprovalsChangeOverageAction; } -- (instancetype)initWithSharedContentChangeLinkPassword { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeLinkPassword; +- (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deviceApprovalsChangeUnlinkAction { + if (![self isDeviceApprovalsChangeUnlinkAction]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction, but was %@.", + [self tagName]]; } - return self; + return _deviceApprovalsChangeUnlinkAction; } -- (instancetype)initWithSharedContentChangeMemberRole { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeMemberRole; +- (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deviceApprovalsRemoveException { + if (![self isDeviceApprovalsRemoveException]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDeviceApprovalsRemoveException, but was %@.", [self tagName]]; } - return self; + return _deviceApprovalsRemoveException; } -- (instancetype)initWithSharedContentChangeViewerInfoPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy; +- (DBTEAMLOGDirectoryRestrictionsAddMembersType *)directoryRestrictionsAddMembers { + if (![self isDirectoryRestrictionsAddMembers]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers, but was %@.", [self tagName]]; } - return self; + return _directoryRestrictionsAddMembers; } -- (instancetype)initWithSharedContentClaimInvitation { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentClaimInvitation; +- (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)directoryRestrictionsRemoveMembers { + if (![self isDirectoryRestrictionsRemoveMembers]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers, but was %@.", + [self tagName]]; } - return self; + return _directoryRestrictionsRemoveMembers; } -- (instancetype)initWithSharedContentCopy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentCopy; +- (DBTEAMLOGDropboxPasswordsPolicyChangedType *)dropboxPasswordsPolicyChanged { + if (![self isDropboxPasswordsPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _dropboxPasswordsPolicyChanged; } -- (instancetype)initWithSharedContentDownload { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentDownload; +- (DBTEAMLOGEmailIngestPolicyChangedType *)emailIngestPolicyChanged { + if (![self isEmailIngestPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmailIngestPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _emailIngestPolicyChanged; } -- (instancetype)initWithSharedContentRelinquishMembership { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRelinquishMembership; +- (DBTEAMLOGEmmAddExceptionType *)emmAddException { + if (![self isEmmAddException]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmAddException, but was %@.", [self tagName]]; } - return self; + return _emmAddException; } -- (instancetype)initWithSharedContentRemoveInvitee { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRemoveInvitee; +- (DBTEAMLOGEmmChangePolicyType *)emmChangePolicy { + if (![self isEmmChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmChangePolicy, but was %@.", [self tagName]]; } - return self; + return _emmChangePolicy; } -- (instancetype)initWithSharedContentRemoveLinkExpiry { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry; +- (DBTEAMLOGEmmRemoveExceptionType *)emmRemoveException { + if (![self isEmmRemoveException]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEmmRemoveException, but was %@.", [self tagName]]; } - return self; + return _emmRemoveException; } -- (instancetype)initWithSharedContentRemoveLinkPassword { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRemoveLinkPassword; +- (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)extendedVersionHistoryChangePolicy { + if (![self isExtendedVersionHistoryChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy, but was %@.", + [self tagName]]; } - return self; + return _extendedVersionHistoryChangePolicy; } -- (instancetype)initWithSharedContentRemoveMember { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRemoveMember; +- (DBTEAMLOGExternalDriveBackupPolicyChangedType *)externalDriveBackupPolicyChanged { + if (![self isExternalDriveBackupPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged, but was %@.", + [self tagName]]; } - return self; + return _externalDriveBackupPolicyChanged; } -- (instancetype)initWithSharedContentRequestAccess { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentRequestAccess; +- (DBTEAMLOGFileCommentsChangePolicyType *)fileCommentsChangePolicy { + if (![self isFileCommentsChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileCommentsChangePolicy, but was %@.", [self tagName]]; } - return self; + return _fileCommentsChangePolicy; } -- (instancetype)initWithSharedContentUnshare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentUnshare; +- (DBTEAMLOGFileLockingPolicyChangedType *)fileLockingPolicyChanged { + if (![self isFileLockingPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileLockingPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _fileLockingPolicyChanged; } -- (instancetype)initWithSharedContentView { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedContentView; +- (DBTEAMLOGFileProviderMigrationPolicyChangedType *)fileProviderMigrationPolicyChanged { + if (![self isFileProviderMigrationPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged, but was %@.", + [self tagName]]; } - return self; + return _fileProviderMigrationPolicyChanged; } -- (instancetype)initWithSharedFolderChangeConfidentiality { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderChangeConfidentiality; +- (DBTEAMLOGFileRequestsChangePolicyType *)fileRequestsChangePolicy { + if (![self isFileRequestsChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsChangePolicy, but was %@.", [self tagName]]; } - return self; + return _fileRequestsChangePolicy; } -- (instancetype)initWithSharedFolderChangeLinkPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy; +- (DBTEAMLOGFileRequestsEmailsEnabledType *)fileRequestsEmailsEnabled { + if (![self isFileRequestsEmailsEnabled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsEmailsEnabled, but was %@.", [self tagName]]; } - return self; + return _fileRequestsEmailsEnabled; } -- (instancetype)initWithSharedFolderChangeMemberManagementPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy; +- (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)fileRequestsEmailsRestrictedToTeamOnly { + if (![self isFileRequestsEmailsRestrictedToTeamOnly]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly, but was %@.", + [self tagName]]; } - return self; + return _fileRequestsEmailsRestrictedToTeamOnly; } -- (instancetype)initWithSharedFolderChangeMemberPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy; +- (DBTEAMLOGFileTransfersPolicyChangedType *)fileTransfersPolicyChanged { + if (![self isFileTransfersPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFileTransfersPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _fileTransfersPolicyChanged; } -- (instancetype)initWithSharedFolderCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderCreate; +- (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)folderLinkRestrictionPolicyChanged { + if (![self isFolderLinkRestrictionPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged, but was %@.", + [self tagName]]; } - return self; + return _folderLinkRestrictionPolicyChanged; } -- (instancetype)initWithSharedFolderMount { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderMount; +- (DBTEAMLOGGoogleSsoChangePolicyType *)googleSsoChangePolicy { + if (![self isGoogleSsoChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGoogleSsoChangePolicy, but was %@.", [self tagName]]; } - return self; + return _googleSsoChangePolicy; } -- (instancetype)initWithSharedFolderTransferOwnership { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderTransferOwnership; +- (DBTEAMLOGGroupUserManagementChangePolicyType *)groupUserManagementChangePolicy { + if (![self isGroupUserManagementChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGroupUserManagementChangePolicy, but was %@.", [self tagName]]; } - return self; + return _groupUserManagementChangePolicy; } -- (instancetype)initWithSharedFolderUnmount { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedFolderUnmount; +- (DBTEAMLOGIntegrationPolicyChangedType *)integrationPolicyChanged { + if (![self isIntegrationPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeIntegrationPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _integrationPolicyChanged; } -- (instancetype)initWithSharedNoteOpened { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharedNoteOpened; +- (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)inviteAcceptanceEmailPolicyChanged { + if (![self isInviteAcceptanceEmailPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged, but was %@.", + [self tagName]]; } - return self; + return _inviteAcceptanceEmailPolicyChanged; } -- (instancetype)initWithShmodelAppCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelAppCreate; +- (DBTEAMLOGMemberRequestsChangePolicyType *)memberRequestsChangePolicy { + if (![self isMemberRequestsChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberRequestsChangePolicy, but was %@.", [self tagName]]; } - return self; + return _memberRequestsChangePolicy; } -- (instancetype)initWithShmodelCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelCreate; +- (DBTEAMLOGMemberSendInvitePolicyChangedType *)memberSendInvitePolicyChanged { + if (![self isMemberSendInvitePolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSendInvitePolicyChanged, but was %@.", [self tagName]]; } - return self; + return _memberSendInvitePolicyChanged; } -- (instancetype)initWithShmodelDisable { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelDisable; +- (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)memberSpaceLimitsAddException { + if (![self isMemberSpaceLimitsAddException]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsAddException, but was %@.", [self tagName]]; } - return self; + return _memberSpaceLimitsAddException; } -- (instancetype)initWithShmodelFbShare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelFbShare; +- (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)memberSpaceLimitsChangeCapsTypePolicy { + if (![self isMemberSpaceLimitsChangeCapsTypePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy, but was %@.", + [self tagName]]; } - return self; + return _memberSpaceLimitsChangeCapsTypePolicy; } -- (instancetype)initWithShmodelGroupShare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelGroupShare; +- (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)memberSpaceLimitsChangePolicy { + if (![self isMemberSpaceLimitsChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy, but was %@.", [self tagName]]; } - return self; + return _memberSpaceLimitsChangePolicy; } -- (instancetype)initWithShmodelRemoveExpiration { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelRemoveExpiration; +- (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)memberSpaceLimitsRemoveException { + if (![self isMemberSpaceLimitsRemoveException]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException, but was %@.", + [self tagName]]; } - return self; + return _memberSpaceLimitsRemoveException; } -- (instancetype)initWithShmodelSetExpiration { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelSetExpiration; +- (DBTEAMLOGMemberSuggestionsChangePolicyType *)memberSuggestionsChangePolicy { + if (![self isMemberSuggestionsChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMemberSuggestionsChangePolicy, but was %@.", [self tagName]]; } - return self; + return _memberSuggestionsChangePolicy; } -- (instancetype)initWithShmodelTeamCopy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelTeamCopy; +- (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)microsoftOfficeAddinChangePolicy { + if (![self isMicrosoftOfficeAddinChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy, but was %@.", + [self tagName]]; } - return self; + return _microsoftOfficeAddinChangePolicy; } -- (instancetype)initWithShmodelTeamDownload { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelTeamDownload; +- (DBTEAMLOGNetworkControlChangePolicyType *)networkControlChangePolicy { + if (![self isNetworkControlChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeNetworkControlChangePolicy, but was %@.", [self tagName]]; } - return self; + return _networkControlChangePolicy; } -- (instancetype)initWithShmodelTeamShare { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelTeamShare; +- (DBTEAMLOGPaperChangeDeploymentPolicyType *)paperChangeDeploymentPolicy { + if (![self isPaperChangeDeploymentPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeDeploymentPolicy, but was %@.", [self tagName]]; } - return self; + return _paperChangeDeploymentPolicy; } -- (instancetype)initWithShmodelTeamView { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelTeamView; +- (DBTEAMLOGPaperChangeMemberLinkPolicyType *)paperChangeMemberLinkPolicy { + if (![self isPaperChangeMemberLinkPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeMemberLinkPolicy, but was %@.", [self tagName]]; } - return self; + return _paperChangeMemberLinkPolicy; } -- (instancetype)initWithShmodelVisibilityPassword { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelVisibilityPassword; +- (DBTEAMLOGPaperChangeMemberPolicyType *)paperChangeMemberPolicy { + if (![self isPaperChangeMemberPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangeMemberPolicy, but was %@.", [self tagName]]; } - return self; + return _paperChangeMemberPolicy; } -- (instancetype)initWithShmodelVisibilityPublic { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelVisibilityPublic; +- (DBTEAMLOGPaperChangePolicyType *)paperChangePolicy { + if (![self isPaperChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperChangePolicy, but was %@.", [self tagName]]; } - return self; + return _paperChangePolicy; } -- (instancetype)initWithShmodelVisibilityTeamOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeShmodelVisibilityTeamOnly; +- (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)paperDefaultFolderPolicyChanged { + if (![self isPaperDefaultFolderPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _paperDefaultFolderPolicyChanged; } -- (instancetype)initWithSsoAddCert { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoAddCert; +- (DBTEAMLOGPaperDesktopPolicyChangedType *)paperDesktopPolicyChanged { + if (![self isPaperDesktopPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperDesktopPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _paperDesktopPolicyChanged; } -- (instancetype)initWithSsoAddLoginUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoAddLoginUrl; +- (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)paperEnabledUsersGroupAddition { + if (![self isPaperEnabledUsersGroupAddition]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperEnabledUsersGroupAddition, but was %@.", [self tagName]]; } - return self; + return _paperEnabledUsersGroupAddition; } -- (instancetype)initWithSsoAddLogoutUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoAddLogoutUrl; +- (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)paperEnabledUsersGroupRemoval { + if (![self isPaperEnabledUsersGroupRemoval]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval, but was %@.", [self tagName]]; } - return self; + return _paperEnabledUsersGroupRemoval; } -- (instancetype)initWithSsoChangeCert { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoChangeCert; +- (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)passwordStrengthRequirementsChangePolicy { + if (![self isPasswordStrengthRequirementsChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy, but was %@.", + [self tagName]]; } - return self; + return _passwordStrengthRequirementsChangePolicy; } -- (instancetype)initWithSsoChangeLoginUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoChangeLoginUrl; +- (DBTEAMLOGPermanentDeleteChangePolicyType *)permanentDeleteChangePolicy { + if (![self isPermanentDeleteChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypePermanentDeleteChangePolicy, but was %@.", [self tagName]]; } - return self; + return _permanentDeleteChangePolicy; } -- (instancetype)initWithSsoChangeLogoutUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoChangeLogoutUrl; +- (DBTEAMLOGResellerSupportChangePolicyType *)resellerSupportChangePolicy { + if (![self isResellerSupportChangePolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeResellerSupportChangePolicy, but was %@.", [self tagName]]; } - return self; + return _resellerSupportChangePolicy; } -- (instancetype)initWithSsoChangeSamlIdentityMode { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoChangeSamlIdentityMode; +- (DBTEAMLOGRewindPolicyChangedType *)rewindPolicyChanged { + if (![self isRewindPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeRewindPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _rewindPolicyChanged; } -- (instancetype)initWithSsoRemoveCert { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoRemoveCert; +- (DBTEAMLOGSendForSignaturePolicyChangedType *)sendForSignaturePolicyChanged { + if (![self isSendForSignaturePolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSendForSignaturePolicyChanged, but was %@.", [self tagName]]; } - return self; + return _sendForSignaturePolicyChanged; } -- (instancetype)initWithSsoRemoveLoginUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoRemoveLoginUrl; +- (DBTEAMLOGSharingChangeFolderJoinPolicyType *)sharingChangeFolderJoinPolicy { + if (![self isSharingChangeFolderJoinPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy, but was %@.", [self tagName]]; } - return self; + return _sharingChangeFolderJoinPolicy; } -- (instancetype)initWithSsoRemoveLogoutUrl { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoRemoveLogoutUrl; +- (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)sharingChangeLinkAllowChangeExpirationPolicy { + if (![self isSharingChangeLinkAllowChangeExpirationPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharingChangeLinkAllowChangeExpirationPolicy; } -- (instancetype)initWithTeamFolderChangeStatus { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamFolderChangeStatus; +- (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)sharingChangeLinkDefaultExpirationPolicy { + if (![self isSharingChangeLinkDefaultExpirationPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharingChangeLinkDefaultExpirationPolicy; } -- (instancetype)initWithTeamFolderCreate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamFolderCreate; +- (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)sharingChangeLinkEnforcePasswordPolicy { + if (![self isSharingChangeLinkEnforcePasswordPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy, but was %@.", + [self tagName]]; } - return self; + return _sharingChangeLinkEnforcePasswordPolicy; } -- (instancetype)initWithTeamFolderDowngrade { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamFolderDowngrade; +- (DBTEAMLOGSharingChangeLinkPolicyType *)sharingChangeLinkPolicy { + if (![self isSharingChangeLinkPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeLinkPolicy, but was %@.", [self tagName]]; } - return self; + return _sharingChangeLinkPolicy; } -- (instancetype)initWithTeamFolderPermanentlyDelete { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamFolderPermanentlyDelete; +- (DBTEAMLOGSharingChangeMemberPolicyType *)sharingChangeMemberPolicy { + if (![self isSharingChangeMemberPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSharingChangeMemberPolicy, but was %@.", [self tagName]]; } - return self; + return _sharingChangeMemberPolicy; } -- (instancetype)initWithTeamFolderRename { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamFolderRename; +- (DBTEAMLOGShowcaseChangeDownloadPolicyType *)showcaseChangeDownloadPolicy { + if (![self isShowcaseChangeDownloadPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy, but was %@.", [self tagName]]; } - return self; + return _showcaseChangeDownloadPolicy; } -- (instancetype)initWithAccountCaptureChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAccountCaptureChangePolicy; +- (DBTEAMLOGShowcaseChangeEnabledPolicyType *)showcaseChangeEnabledPolicy { + if (![self isShowcaseChangeEnabledPolicy]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy, but was %@.", [self tagName]]; } - return self; + return _showcaseChangeEnabledPolicy; } -- (instancetype)initWithAllowDownloadDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAllowDownloadDisabled; +- (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)showcaseChangeExternalSharingPolicy { + if (![self isShowcaseChangeExternalSharingPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy, but was %@.", + [self tagName]]; } - return self; + return _showcaseChangeExternalSharingPolicy; } -- (instancetype)initWithAllowDownloadEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeAllowDownloadEnabled; +- (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)smarterSmartSyncPolicyChanged { + if (![self isSmarterSmartSyncPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _smarterSmartSyncPolicyChanged; } -- (instancetype)initWithDataPlacementRestrictionChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy; +- (DBTEAMLOGSmartSyncChangePolicyType *)smartSyncChangePolicy { + if (![self isSmartSyncChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncChangePolicy, but was %@.", [self tagName]]; } - return self; + return _smartSyncChangePolicy; } -- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy; +- (DBTEAMLOGSmartSyncNotOptOutType *)smartSyncNotOptOut { + if (![self isSmartSyncNotOptOut]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncNotOptOut, but was %@.", [self tagName]]; } - return self; + return _smartSyncNotOptOut; } -- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy; +- (DBTEAMLOGSmartSyncOptOutType *)smartSyncOptOut { + if (![self isSmartSyncOptOut]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSmartSyncOptOut, but was %@.", [self tagName]]; } - return self; + return _smartSyncOptOut; } -- (instancetype)initWithDeviceApprovalsChangeMobilePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy; +- (DBTEAMLOGSsoChangePolicyType *)ssoChangePolicy { + if (![self isSsoChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeSsoChangePolicy, but was %@.", [self tagName]]; } - return self; + return _ssoChangePolicy; } -- (instancetype)initWithDeviceApprovalsChangeOverageAction { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction; +- (DBTEAMLOGTeamBrandingPolicyChangedType *)teamBrandingPolicyChanged { + if (![self isTeamBrandingPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamBrandingPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _teamBrandingPolicyChanged; } -- (instancetype)initWithDeviceApprovalsChangeUnlinkAction { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction; +- (DBTEAMLOGTeamExtensionsPolicyChangedType *)teamExtensionsPolicyChanged { + if (![self isTeamExtensionsPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamExtensionsPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _teamExtensionsPolicyChanged; } -- (instancetype)initWithEmmAddException { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmAddException; +- (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)teamSelectiveSyncPolicyChanged { + if (![self isTeamSelectiveSyncPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _teamSelectiveSyncPolicyChanged; } -- (instancetype)initWithEmmChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmChangePolicy; +- (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)teamSharingWhitelistSubjectsChanged { + if (![self isTeamSharingWhitelistSubjectsChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged, but was %@.", + [self tagName]]; } - return self; + return _teamSharingWhitelistSubjectsChanged; } -- (instancetype)initWithEmmRemoveException { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeEmmRemoveException; +- (DBTEAMLOGTfaAddExceptionType *)tfaAddException { + if (![self isTfaAddException]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddException, but was %@.", [self tagName]]; } - return self; + return _tfaAddException; } -- (instancetype)initWithExtendedVersionHistoryChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy; +- (DBTEAMLOGTfaChangePolicyType *)tfaChangePolicy { + if (![self isTfaChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangePolicy, but was %@.", [self tagName]]; } - return self; + return _tfaChangePolicy; } -- (instancetype)initWithFileCommentsChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileCommentsChangePolicy; +- (DBTEAMLOGTfaRemoveExceptionType *)tfaRemoveException { + if (![self isTfaRemoveException]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveException, but was %@.", [self tagName]]; } - return self; + return _tfaRemoveException; } -- (instancetype)initWithFileRequestsChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestsChangePolicy; +- (DBTEAMLOGTwoAccountChangePolicyType *)twoAccountChangePolicy { + if (![self isTwoAccountChangePolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTwoAccountChangePolicy, but was %@.", [self tagName]]; } - return self; + return _twoAccountChangePolicy; } -- (instancetype)initWithFileRequestsEmailsEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestsEmailsEnabled; +- (DBTEAMLOGViewerInfoPolicyChangedType *)viewerInfoPolicyChanged { + if (![self isViewerInfoPolicyChanged]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeViewerInfoPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _viewerInfoPolicyChanged; } -- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly; +- (DBTEAMLOGWatermarkingPolicyChangedType *)watermarkingPolicyChanged { + if (![self isWatermarkingPolicyChanged]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeWatermarkingPolicyChanged, but was %@.", [self tagName]]; } - return self; + return _watermarkingPolicyChanged; } -- (instancetype)initWithGoogleSsoChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGoogleSsoChangePolicy; +- (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)webSessionsChangeActiveSessionLimit { + if (![self isWebSessionsChangeActiveSessionLimit]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit, but was %@.", + [self tagName]]; } - return self; + return _webSessionsChangeActiveSessionLimit; } -- (instancetype)initWithGroupUserManagementChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeGroupUserManagementChangePolicy; +- (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)webSessionsChangeFixedLengthPolicy { + if (![self isWebSessionsChangeFixedLengthPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy, but was %@.", + [self tagName]]; } - return self; + return _webSessionsChangeFixedLengthPolicy; } -- (instancetype)initWithMemberRequestsChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberRequestsChangePolicy; +- (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)webSessionsChangeIdleLengthPolicy { + if (![self isWebSessionsChangeIdleLengthPolicy]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy, but was %@.", + [self tagName]]; } - return self; + return _webSessionsChangeIdleLengthPolicy; } -- (instancetype)initWithMemberSpaceLimitsAddException { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSpaceLimitsAddException; +- (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)dataResidencyMigrationRequestSuccessful { + if (![self isDataResidencyMigrationRequestSuccessful]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful, but was %@.", + [self tagName]]; } - return self; + return _dataResidencyMigrationRequestSuccessful; } -- (instancetype)initWithMemberSpaceLimitsChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy; +- (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)dataResidencyMigrationRequestUnsuccessful { + if (![self isDataResidencyMigrationRequestUnsuccessful]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful, but was %@.", + [self tagName]]; } - return self; + return _dataResidencyMigrationRequestUnsuccessful; } -- (instancetype)initWithMemberSpaceLimitsRemoveException { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException; +- (DBTEAMLOGTeamMergeFromType *)teamMergeFrom { + if (![self isTeamMergeFrom]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeFrom, but was %@.", [self tagName]]; } - return self; + return _teamMergeFrom; } -- (instancetype)initWithMemberSuggestionsChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMemberSuggestionsChangePolicy; +- (DBTEAMLOGTeamMergeToType *)teamMergeTo { + if (![self isTeamMergeTo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeTo, but was %@.", [self tagName]]; } - return self; + return _teamMergeTo; } -- (instancetype)initWithMicrosoftOfficeAddinChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy; +- (DBTEAMLOGTeamProfileAddBackgroundType *)teamProfileAddBackground { + if (![self isTeamProfileAddBackground]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileAddBackground, but was %@.", [self tagName]]; } - return self; + return _teamProfileAddBackground; } -- (instancetype)initWithNetworkControlChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeNetworkControlChangePolicy; +- (DBTEAMLOGTeamProfileAddLogoType *)teamProfileAddLogo { + if (![self isTeamProfileAddLogo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileAddLogo, but was %@.", [self tagName]]; } - return self; + return _teamProfileAddLogo; } -- (instancetype)initWithPaperChangeDeploymentPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperChangeDeploymentPolicy; +- (DBTEAMLOGTeamProfileChangeBackgroundType *)teamProfileChangeBackground { + if (![self isTeamProfileChangeBackground]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeBackground, but was %@.", [self tagName]]; } - return self; + return _teamProfileChangeBackground; } -- (instancetype)initWithPaperChangeMemberLinkPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperChangeMemberLinkPolicy; +- (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)teamProfileChangeDefaultLanguage { + if (![self isTeamProfileChangeDefaultLanguage]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage, but was %@.", + [self tagName]]; } - return self; + return _teamProfileChangeDefaultLanguage; } -- (instancetype)initWithPaperChangeMemberPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperChangeMemberPolicy; +- (DBTEAMLOGTeamProfileChangeLogoType *)teamProfileChangeLogo { + if (![self isTeamProfileChangeLogo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeLogo, but was %@.", [self tagName]]; } - return self; + return _teamProfileChangeLogo; } -- (instancetype)initWithPaperChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePaperChangePolicy; +- (DBTEAMLOGTeamProfileChangeNameType *)teamProfileChangeName { + if (![self isTeamProfileChangeName]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileChangeName, but was %@.", [self tagName]]; } - return self; + return _teamProfileChangeName; } -- (instancetype)initWithPermanentDeleteChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypePermanentDeleteChangePolicy; +- (DBTEAMLOGTeamProfileRemoveBackgroundType *)teamProfileRemoveBackground { + if (![self isTeamProfileRemoveBackground]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileRemoveBackground, but was %@.", [self tagName]]; } - return self; + return _teamProfileRemoveBackground; } -- (instancetype)initWithSharingChangeFolderJoinPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy; +- (DBTEAMLOGTeamProfileRemoveLogoType *)teamProfileRemoveLogo { + if (![self isTeamProfileRemoveLogo]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamProfileRemoveLogo, but was %@.", [self tagName]]; } - return self; + return _teamProfileRemoveLogo; } -- (instancetype)initWithSharingChangeLinkPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharingChangeLinkPolicy; +- (DBTEAMLOGTfaAddBackupPhoneType *)tfaAddBackupPhone { + if (![self isTfaAddBackupPhone]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddBackupPhone, but was %@.", [self tagName]]; } - return self; + return _tfaAddBackupPhone; } -- (instancetype)initWithSharingChangeMemberPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSharingChangeMemberPolicy; +- (DBTEAMLOGTfaAddSecurityKeyType *)tfaAddSecurityKey { + if (![self isTfaAddSecurityKey]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaAddSecurityKey, but was %@.", [self tagName]]; } - return self; + return _tfaAddSecurityKey; } -- (instancetype)initWithSmartSyncChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSmartSyncChangePolicy; +- (DBTEAMLOGTfaChangeBackupPhoneType *)tfaChangeBackupPhone { + if (![self isTfaChangeBackupPhone]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangeBackupPhone, but was %@.", [self tagName]]; } - return self; + return _tfaChangeBackupPhone; } -- (instancetype)initWithSmartSyncNotOptOut { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSmartSyncNotOptOut; +- (DBTEAMLOGTfaChangeStatusType *)tfaChangeStatus { + if (![self isTfaChangeStatus]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaChangeStatus, but was %@.", [self tagName]]; } - return self; + return _tfaChangeStatus; } -- (instancetype)initWithSmartSyncOptOut { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSmartSyncOptOut; +- (DBTEAMLOGTfaRemoveBackupPhoneType *)tfaRemoveBackupPhone { + if (![self isTfaRemoveBackupPhone]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveBackupPhone, but was %@.", [self tagName]]; } - return self; + return _tfaRemoveBackupPhone; } -- (instancetype)initWithSsoChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeSsoChangePolicy; +- (DBTEAMLOGTfaRemoveSecurityKeyType *)tfaRemoveSecurityKey { + if (![self isTfaRemoveSecurityKey]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaRemoveSecurityKey, but was %@.", [self tagName]]; } - return self; + return _tfaRemoveSecurityKey; } -- (instancetype)initWithTfaChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaChangePolicy; +- (DBTEAMLOGTfaResetType *)tfaReset { + if (![self isTfaReset]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTfaReset, but was %@.", [self tagName]]; } - return self; + return _tfaReset; } -- (instancetype)initWithTwoAccountChangePolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTwoAccountChangePolicy; +- (DBTEAMLOGChangedEnterpriseAdminRoleType *)changedEnterpriseAdminRole { + if (![self isChangedEnterpriseAdminRole]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeChangedEnterpriseAdminRole, but was %@.", [self tagName]]; } - return self; + return _changedEnterpriseAdminRole; } -- (instancetype)initWithWebSessionsChangeFixedLengthPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy; +- (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)changedEnterpriseConnectedTeamStatus { + if (![self isChangedEnterpriseConnectedTeamStatus]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus, but was %@.", + [self tagName]]; } - return self; + return _changedEnterpriseConnectedTeamStatus; } -- (instancetype)initWithWebSessionsChangeIdleLengthPolicy { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy; +- (DBTEAMLOGEndedEnterpriseAdminSessionType *)endedEnterpriseAdminSession { + if (![self isEndedEnterpriseAdminSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEndedEnterpriseAdminSession, but was %@.", [self tagName]]; } - return self; + return _endedEnterpriseAdminSession; } -- (instancetype)initWithTeamProfileAddLogo { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamProfileAddLogo; +- (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)endedEnterpriseAdminSessionDeprecated { + if (![self isEndedEnterpriseAdminSessionDeprecated]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated, but was %@.", + [self tagName]]; } - return self; + return _endedEnterpriseAdminSessionDeprecated; } -- (instancetype)initWithTeamProfileChangeDefaultLanguage { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage; +- (DBTEAMLOGEnterpriseSettingsLockingType *)enterpriseSettingsLocking { + if (![self isEnterpriseSettingsLocking]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeEnterpriseSettingsLocking, but was %@.", [self tagName]]; } - return self; + return _enterpriseSettingsLocking; } -- (instancetype)initWithTeamProfileChangeLogo { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamProfileChangeLogo; +- (DBTEAMLOGGuestAdminChangeStatusType *)guestAdminChangeStatus { + if (![self isGuestAdminChangeStatus]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeGuestAdminChangeStatus, but was %@.", [self tagName]]; } - return self; + return _guestAdminChangeStatus; } -- (instancetype)initWithTeamProfileChangeName { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamProfileChangeName; +- (DBTEAMLOGStartedEnterpriseAdminSessionType *)startedEnterpriseAdminSession { + if (![self isStartedEnterpriseAdminSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeStartedEnterpriseAdminSession, but was %@.", [self tagName]]; } - return self; + return _startedEnterpriseAdminSession; } -- (instancetype)initWithTeamProfileRemoveLogo { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTeamProfileRemoveLogo; +- (DBTEAMLOGTeamMergeRequestAcceptedType *)teamMergeRequestAccepted { + if (![self isTeamMergeRequestAccepted]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAccepted, but was %@.", [self tagName]]; } - return self; + return _teamMergeRequestAccepted; } -- (instancetype)initWithTfaAddBackupPhone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaAddBackupPhone; +- (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)teamMergeRequestAcceptedShownToPrimaryTeam { + if (![self isTeamMergeRequestAcceptedShownToPrimaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam, but was %@.", + [self tagName]]; } - return self; + return _teamMergeRequestAcceptedShownToPrimaryTeam; } -- (instancetype)initWithTfaAddSecurityKey { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaAddSecurityKey; +- (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)teamMergeRequestAcceptedShownToSecondaryTeam { + if (![self isTeamMergeRequestAcceptedShownToSecondaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam, but was %@.", + [self tagName]]; } - return self; + return _teamMergeRequestAcceptedShownToSecondaryTeam; } -- (instancetype)initWithTfaChangeBackupPhone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaChangeBackupPhone; +- (DBTEAMLOGTeamMergeRequestAutoCanceledType *)teamMergeRequestAutoCanceled { + if (![self isTeamMergeRequestAutoCanceled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled, but was %@.", [self tagName]]; } - return self; + return _teamMergeRequestAutoCanceled; } -- (instancetype)initWithTfaChangeStatus { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaChangeStatus; +- (DBTEAMLOGTeamMergeRequestCanceledType *)teamMergeRequestCanceled { + if (![self isTeamMergeRequestCanceled]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceled, but was %@.", [self tagName]]; } - return self; + return _teamMergeRequestCanceled; } -- (instancetype)initWithTfaRemoveBackupPhone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaRemoveBackupPhone; +- (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)teamMergeRequestCanceledShownToPrimaryTeam { + if (![self isTeamMergeRequestCanceledShownToPrimaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam, but was %@.", + [self tagName]]; } - return self; + return _teamMergeRequestCanceledShownToPrimaryTeam; } -- (instancetype)initWithTfaRemoveSecurityKey { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaRemoveSecurityKey; +- (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)teamMergeRequestCanceledShownToSecondaryTeam { + if (![self isTeamMergeRequestCanceledShownToSecondaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam, but was %@.", + [self tagName]]; } - return self; + return _teamMergeRequestCanceledShownToSecondaryTeam; } -- (instancetype)initWithTfaReset { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeTfaReset; +- (DBTEAMLOGTeamMergeRequestExpiredType *)teamMergeRequestExpired { + if (![self isTeamMergeRequestExpired]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpired, but was %@.", [self tagName]]; } - return self; + return _teamMergeRequestExpired; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGEventTypeOther; +- (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)teamMergeRequestExpiredShownToPrimaryTeam { + if (![self isTeamMergeRequestExpiredShownToPrimaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam, but was %@.", + [self tagName]]; } - return self; + return _teamMergeRequestExpiredShownToPrimaryTeam; } -#pragma mark - Instance field accessors +- (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)teamMergeRequestExpiredShownToSecondaryTeam { + if (![self isTeamMergeRequestExpiredShownToSecondaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestExpiredShownToSecondaryTeam; +} -#pragma mark - Tag state methods +- (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)teamMergeRequestRejectedShownToPrimaryTeam { + if (![self isTeamMergeRequestRejectedShownToPrimaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestRejectedShownToPrimaryTeam; +} -- (BOOL)isMemberChangeMembershipType { - return _tag == DBTEAMLOGEventTypeMemberChangeMembershipType; +- (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)teamMergeRequestRejectedShownToSecondaryTeam { + if (![self isTeamMergeRequestRejectedShownToSecondaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestRejectedShownToSecondaryTeam; } -- (BOOL)isMemberPermanentlyDeleteAccountContents { - return _tag == DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents; +- (DBTEAMLOGTeamMergeRequestReminderType *)teamMergeRequestReminder { + if (![self isTeamMergeRequestReminder]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminder, but was %@.", [self tagName]]; + } + return _teamMergeRequestReminder; } -- (BOOL)isMemberSpaceLimitsChangeStatus { - return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus; +- (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)teamMergeRequestReminderShownToPrimaryTeam { + if (![self isTeamMergeRequestReminderShownToPrimaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestReminderShownToPrimaryTeam; } -- (BOOL)isMemberTransferAccountContents { - return _tag == DBTEAMLOGEventTypeMemberTransferAccountContents; +- (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)teamMergeRequestReminderShownToSecondaryTeam { + if (![self isTeamMergeRequestReminderShownToSecondaryTeam]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestReminderShownToSecondaryTeam; } -- (BOOL)isPaperAdminExportStart { - return _tag == DBTEAMLOGEventTypePaperAdminExportStart; +- (DBTEAMLOGTeamMergeRequestRevokedType *)teamMergeRequestRevoked { + if (![self isTeamMergeRequestRevoked]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestRevoked, but was %@.", [self tagName]]; + } + return _teamMergeRequestRevoked; } -- (BOOL)isPaperEnabledUsersGroupAddition { - return _tag == DBTEAMLOGEventTypePaperEnabledUsersGroupAddition; +- (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)teamMergeRequestSentShownToPrimaryTeam { + if (![self isTeamMergeRequestSentShownToPrimaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestSentShownToPrimaryTeam; } -- (BOOL)isPaperEnabledUsersGroupRemoval { - return _tag == DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval; +- (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)teamMergeRequestSentShownToSecondaryTeam { + if (![self isTeamMergeRequestSentShownToSecondaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam, but was %@.", + [self tagName]]; + } + return _teamMergeRequestSentShownToSecondaryTeam; } -- (BOOL)isPaperExternalViewAllow { - return _tag == DBTEAMLOGEventTypePaperExternalViewAllow; +#pragma mark - Tag state methods + +- (BOOL)isAdminAlertingAlertStateChanged { + return _tag == DBTEAMLOGEventTypeAdminAlertingAlertStateChanged; } -- (BOOL)isPaperExternalViewDefaultTeam { - return _tag == DBTEAMLOGEventTypePaperExternalViewDefaultTeam; +- (BOOL)isAdminAlertingChangedAlertConfig { + return _tag == DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig; } -- (BOOL)isPaperExternalViewForbid { - return _tag == DBTEAMLOGEventTypePaperExternalViewForbid; +- (BOOL)isAdminAlertingTriggeredAlert { + return _tag == DBTEAMLOGEventTypeAdminAlertingTriggeredAlert; } -- (BOOL)isSfExternalInviteWarn { - return _tag == DBTEAMLOGEventTypeSfExternalInviteWarn; +- (BOOL)isRansomwareRestoreProcessCompleted { + return _tag == DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted; } -- (BOOL)isTeamMergeFrom { - return _tag == DBTEAMLOGEventTypeTeamMergeFrom; +- (BOOL)isRansomwareRestoreProcessStarted { + return _tag == DBTEAMLOGEventTypeRansomwareRestoreProcessStarted; } -- (BOOL)isTeamMergeTo { - return _tag == DBTEAMLOGEventTypeTeamMergeTo; +- (BOOL)isAppBlockedByPermissions { + return _tag == DBTEAMLOGEventTypeAppBlockedByPermissions; } - (BOOL)isAppLinkTeam { @@ -22101,6 +59556,14 @@ - (BOOL)isAppUnlinkUser { return _tag == DBTEAMLOGEventTypeAppUnlinkUser; } +- (BOOL)isIntegrationConnected { + return _tag == DBTEAMLOGEventTypeIntegrationConnected; +} + +- (BOOL)isIntegrationDisconnected { + return _tag == DBTEAMLOGEventTypeIntegrationDisconnected; +} + - (BOOL)isFileAddComment { return _tag == DBTEAMLOGEventTypeFileAddComment; } @@ -22113,20 +59576,116 @@ - (BOOL)isFileDeleteComment { return _tag == DBTEAMLOGEventTypeFileDeleteComment; } -- (BOOL)isFileLikeComment { - return _tag == DBTEAMLOGEventTypeFileLikeComment; +- (BOOL)isFileEditComment { + return _tag == DBTEAMLOGEventTypeFileEditComment; +} + +- (BOOL)isFileLikeComment { + return _tag == DBTEAMLOGEventTypeFileLikeComment; +} + +- (BOOL)isFileResolveComment { + return _tag == DBTEAMLOGEventTypeFileResolveComment; +} + +- (BOOL)isFileUnlikeComment { + return _tag == DBTEAMLOGEventTypeFileUnlikeComment; +} + +- (BOOL)isFileUnresolveComment { + return _tag == DBTEAMLOGEventTypeFileUnresolveComment; +} + +- (BOOL)isGovernancePolicyAddFolders { + return _tag == DBTEAMLOGEventTypeGovernancePolicyAddFolders; +} + +- (BOOL)isGovernancePolicyAddFolderFailed { + return _tag == DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed; +} + +- (BOOL)isGovernancePolicyContentDisposed { + return _tag == DBTEAMLOGEventTypeGovernancePolicyContentDisposed; +} + +- (BOOL)isGovernancePolicyCreate { + return _tag == DBTEAMLOGEventTypeGovernancePolicyCreate; +} + +- (BOOL)isGovernancePolicyDelete { + return _tag == DBTEAMLOGEventTypeGovernancePolicyDelete; +} + +- (BOOL)isGovernancePolicyEditDetails { + return _tag == DBTEAMLOGEventTypeGovernancePolicyEditDetails; +} + +- (BOOL)isGovernancePolicyEditDuration { + return _tag == DBTEAMLOGEventTypeGovernancePolicyEditDuration; +} + +- (BOOL)isGovernancePolicyExportCreated { + return _tag == DBTEAMLOGEventTypeGovernancePolicyExportCreated; +} + +- (BOOL)isGovernancePolicyExportRemoved { + return _tag == DBTEAMLOGEventTypeGovernancePolicyExportRemoved; +} + +- (BOOL)isGovernancePolicyRemoveFolders { + return _tag == DBTEAMLOGEventTypeGovernancePolicyRemoveFolders; +} + +- (BOOL)isGovernancePolicyReportCreated { + return _tag == DBTEAMLOGEventTypeGovernancePolicyReportCreated; +} + +- (BOOL)isGovernancePolicyZipPartDownloaded { + return _tag == DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded; +} + +- (BOOL)isLegalHoldsActivateAHold { + return _tag == DBTEAMLOGEventTypeLegalHoldsActivateAHold; +} + +- (BOOL)isLegalHoldsAddMembers { + return _tag == DBTEAMLOGEventTypeLegalHoldsAddMembers; +} + +- (BOOL)isLegalHoldsChangeHoldDetails { + return _tag == DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails; +} + +- (BOOL)isLegalHoldsChangeHoldName { + return _tag == DBTEAMLOGEventTypeLegalHoldsChangeHoldName; +} + +- (BOOL)isLegalHoldsExportAHold { + return _tag == DBTEAMLOGEventTypeLegalHoldsExportAHold; +} + +- (BOOL)isLegalHoldsExportCancelled { + return _tag == DBTEAMLOGEventTypeLegalHoldsExportCancelled; +} + +- (BOOL)isLegalHoldsExportDownloaded { + return _tag == DBTEAMLOGEventTypeLegalHoldsExportDownloaded; +} + +- (BOOL)isLegalHoldsExportRemoved { + return _tag == DBTEAMLOGEventTypeLegalHoldsExportRemoved; } -- (BOOL)isFileResolveComment { - return _tag == DBTEAMLOGEventTypeFileResolveComment; +- (BOOL)isLegalHoldsReleaseAHold { + return _tag == DBTEAMLOGEventTypeLegalHoldsReleaseAHold; } -- (BOOL)isFileUnlikeComment { - return _tag == DBTEAMLOGEventTypeFileUnlikeComment; +- (BOOL)isLegalHoldsRemoveMembers { + return _tag == DBTEAMLOGEventTypeLegalHoldsRemoveMembers; } -- (BOOL)isFileUnresolveComment { - return _tag == DBTEAMLOGEventTypeFileUnresolveComment; +- (BOOL)isLegalHoldsReportAHold { + return _tag == DBTEAMLOGEventTypeLegalHoldsReportAHold; } - (BOOL)isDeviceChangeIpDesktop { @@ -22165,14 +59724,34 @@ - (BOOL)isDeviceManagementEnabled { return _tag == DBTEAMLOGEventTypeDeviceManagementEnabled; } +- (BOOL)isDeviceSyncBackupStatusChanged { + return _tag == DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged; +} + - (BOOL)isDeviceUnlink { return _tag == DBTEAMLOGEventTypeDeviceUnlink; } +- (BOOL)isDropboxPasswordsExported { + return _tag == DBTEAMLOGEventTypeDropboxPasswordsExported; +} + +- (BOOL)isDropboxPasswordsNewDeviceEnrolled { + return _tag == DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled; +} + - (BOOL)isEmmRefreshAuthToken { return _tag == DBTEAMLOGEventTypeEmmRefreshAuthToken; } +- (BOOL)isExternalDriveBackupEligibilityStatusChecked { + return _tag == DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked; +} + +- (BOOL)isExternalDriveBackupStatusChanged { + return _tag == DBTEAMLOGEventTypeExternalDriveBackupStatusChanged; +} + - (BOOL)isAccountCaptureChangeAvailability { return _tag == DBTEAMLOGEventTypeAccountCaptureChangeAvailability; } @@ -22181,6 +59760,10 @@ - (BOOL)isAccountCaptureMigrateAccount { return _tag == DBTEAMLOGEventTypeAccountCaptureMigrateAccount; } +- (BOOL)isAccountCaptureNotificationEmailsSent { + return _tag == DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent; +} + - (BOOL)isAccountCaptureRelinquishAccount { return _tag == DBTEAMLOGEventTypeAccountCaptureRelinquishAccount; } @@ -22229,6 +59812,38 @@ - (BOOL)isEnabledDomainInvites { return _tag == DBTEAMLOGEventTypeEnabledDomainInvites; } +- (BOOL)isTeamEncryptionKeyCancelKeyDeletion { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion; +} + +- (BOOL)isTeamEncryptionKeyCreateKey { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey; +} + +- (BOOL)isTeamEncryptionKeyDeleteKey { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey; +} + +- (BOOL)isTeamEncryptionKeyDisableKey { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey; +} + +- (BOOL)isTeamEncryptionKeyEnableKey { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey; +} + +- (BOOL)isTeamEncryptionKeyRotateKey { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey; +} + +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletion { + return _tag == DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion; +} + +- (BOOL)isApplyNamingConvention { + return _tag == DBTEAMLOGEventTypeApplyNamingConvention; +} + - (BOOL)isCreateFolder { return _tag == DBTEAMLOGEventTypeCreateFolder; } @@ -22237,6 +59852,10 @@ - (BOOL)isFileAdd { return _tag == DBTEAMLOGEventTypeFileAdd; } +- (BOOL)isFileAddFromAutomation { + return _tag == DBTEAMLOGEventTypeFileAddFromAutomation; +} + - (BOOL)isFileCopy { return _tag == DBTEAMLOGEventTypeFileCopy; } @@ -22257,6 +59876,10 @@ - (BOOL)isFileGetCopyReference { return _tag == DBTEAMLOGEventTypeFileGetCopyReference; } +- (BOOL)isFileLockingLockStatusChanged { + return _tag == DBTEAMLOGEventTypeFileLockingLockStatusChanged; +} + - (BOOL)isFileMove { return _tag == DBTEAMLOGEventTypeFileMove; } @@ -22289,16 +59912,64 @@ - (BOOL)isFileSaveCopyReference { return _tag == DBTEAMLOGEventTypeFileSaveCopyReference; } -- (BOOL)isFileRequestAddDeadline { - return _tag == DBTEAMLOGEventTypeFileRequestAddDeadline; +- (BOOL)isFolderOverviewDescriptionChanged { + return _tag == DBTEAMLOGEventTypeFolderOverviewDescriptionChanged; } -- (BOOL)isFileRequestChange { - return _tag == DBTEAMLOGEventTypeFileRequestChange; +- (BOOL)isFolderOverviewItemPinned { + return _tag == DBTEAMLOGEventTypeFolderOverviewItemPinned; +} + +- (BOOL)isFolderOverviewItemUnpinned { + return _tag == DBTEAMLOGEventTypeFolderOverviewItemUnpinned; +} + +- (BOOL)isObjectLabelAdded { + return _tag == DBTEAMLOGEventTypeObjectLabelAdded; +} + +- (BOOL)isObjectLabelRemoved { + return _tag == DBTEAMLOGEventTypeObjectLabelRemoved; +} + +- (BOOL)isObjectLabelUpdatedValue { + return _tag == DBTEAMLOGEventTypeObjectLabelUpdatedValue; +} + +- (BOOL)isOrganizeFolderWithTidy { + return _tag == DBTEAMLOGEventTypeOrganizeFolderWithTidy; +} + +- (BOOL)isReplayFileDelete { + return _tag == DBTEAMLOGEventTypeReplayFileDelete; +} + +- (BOOL)isRewindFolder { + return _tag == DBTEAMLOGEventTypeRewindFolder; +} + +- (BOOL)isUndoNamingConvention { + return _tag == DBTEAMLOGEventTypeUndoNamingConvention; +} + +- (BOOL)isUndoOrganizeFolderWithTidy { + return _tag == DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy; +} + +- (BOOL)isUserTagsAdded { + return _tag == DBTEAMLOGEventTypeUserTagsAdded; +} + +- (BOOL)isUserTagsRemoved { + return _tag == DBTEAMLOGEventTypeUserTagsRemoved; } -- (BOOL)isFileRequestChangeFolder { - return _tag == DBTEAMLOGEventTypeFileRequestChangeFolder; +- (BOOL)isEmailIngestReceiveFile { + return _tag == DBTEAMLOGEventTypeEmailIngestReceiveFile; +} + +- (BOOL)isFileRequestChange { + return _tag == DBTEAMLOGEventTypeFileRequestChange; } - (BOOL)isFileRequestClose { @@ -22309,16 +59980,12 @@ - (BOOL)isFileRequestCreate { return _tag == DBTEAMLOGEventTypeFileRequestCreate; } -- (BOOL)isFileRequestReceiveFile { - return _tag == DBTEAMLOGEventTypeFileRequestReceiveFile; -} - -- (BOOL)isFileRequestRemoveDeadline { - return _tag == DBTEAMLOGEventTypeFileRequestRemoveDeadline; +- (BOOL)isFileRequestDelete { + return _tag == DBTEAMLOGEventTypeFileRequestDelete; } -- (BOOL)isFileRequestSend { - return _tag == DBTEAMLOGEventTypeFileRequestSend; +- (BOOL)isFileRequestReceiveFile { + return _tag == DBTEAMLOGEventTypeFileRequestReceiveFile; } - (BOOL)isGroupAddExternalId { @@ -22349,6 +60016,14 @@ - (BOOL)isGroupDelete { return _tag == DBTEAMLOGEventTypeGroupDelete; } +- (BOOL)isGroupDescriptionUpdated { + return _tag == DBTEAMLOGEventTypeGroupDescriptionUpdated; +} + +- (BOOL)isGroupJoinPolicyUpdated { + return _tag == DBTEAMLOGEventTypeGroupJoinPolicyUpdated; +} + - (BOOL)isGroupMoved { return _tag == DBTEAMLOGEventTypeGroupMoved; } @@ -22365,10 +60040,22 @@ - (BOOL)isGroupRename { return _tag == DBTEAMLOGEventTypeGroupRename; } +- (BOOL)isAccountLockOrUnlocked { + return _tag == DBTEAMLOGEventTypeAccountLockOrUnlocked; +} + - (BOOL)isEmmError { return _tag == DBTEAMLOGEventTypeEmmError; } +- (BOOL)isGuestAdminSignedInViaTrustedTeams { + return _tag == DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams; +} + +- (BOOL)isGuestAdminSignedOutViaTrustedTeams { + return _tag == DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams; +} + - (BOOL)isLoginFail { return _tag == DBTEAMLOGEventTypeLoginFail; } @@ -22401,6 +60088,26 @@ - (BOOL)isSsoError { return _tag == DBTEAMLOGEventTypeSsoError; } +- (BOOL)isBackupAdminInvitationSent { + return _tag == DBTEAMLOGEventTypeBackupAdminInvitationSent; +} + +- (BOOL)isBackupInvitationOpened { + return _tag == DBTEAMLOGEventTypeBackupInvitationOpened; +} + +- (BOOL)isCreateTeamInviteLink { + return _tag == DBTEAMLOGEventTypeCreateTeamInviteLink; +} + +- (BOOL)isDeleteTeamInviteLink { + return _tag == DBTEAMLOGEventTypeDeleteTeamInviteLink; +} + +- (BOOL)isMemberAddExternalId { + return _tag == DBTEAMLOGEventTypeMemberAddExternalId; +} + - (BOOL)isMemberAddName { return _tag == DBTEAMLOGEventTypeMemberAddName; } @@ -22413,18 +60120,118 @@ - (BOOL)isMemberChangeEmail { return _tag == DBTEAMLOGEventTypeMemberChangeEmail; } +- (BOOL)isMemberChangeExternalId { + return _tag == DBTEAMLOGEventTypeMemberChangeExternalId; +} + +- (BOOL)isMemberChangeMembershipType { + return _tag == DBTEAMLOGEventTypeMemberChangeMembershipType; +} + - (BOOL)isMemberChangeName { return _tag == DBTEAMLOGEventTypeMemberChangeName; } +- (BOOL)isMemberChangeResellerRole { + return _tag == DBTEAMLOGEventTypeMemberChangeResellerRole; +} + - (BOOL)isMemberChangeStatus { return _tag == DBTEAMLOGEventTypeMemberChangeStatus; } +- (BOOL)isMemberDeleteManualContacts { + return _tag == DBTEAMLOGEventTypeMemberDeleteManualContacts; +} + +- (BOOL)isMemberDeleteProfilePhoto { + return _tag == DBTEAMLOGEventTypeMemberDeleteProfilePhoto; +} + +- (BOOL)isMemberPermanentlyDeleteAccountContents { + return _tag == DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents; +} + +- (BOOL)isMemberRemoveExternalId { + return _tag == DBTEAMLOGEventTypeMemberRemoveExternalId; +} + +- (BOOL)isMemberSetProfilePhoto { + return _tag == DBTEAMLOGEventTypeMemberSetProfilePhoto; +} + +- (BOOL)isMemberSpaceLimitsAddCustomQuota { + return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota; +} + +- (BOOL)isMemberSpaceLimitsChangeCustomQuota { + return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota; +} + +- (BOOL)isMemberSpaceLimitsChangeStatus { + return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus; +} + +- (BOOL)isMemberSpaceLimitsRemoveCustomQuota { + return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota; +} + - (BOOL)isMemberSuggest { return _tag == DBTEAMLOGEventTypeMemberSuggest; } +- (BOOL)isMemberTransferAccountContents { + return _tag == DBTEAMLOGEventTypeMemberTransferAccountContents; +} + +- (BOOL)isPendingSecondaryEmailAdded { + return _tag == DBTEAMLOGEventTypePendingSecondaryEmailAdded; +} + +- (BOOL)isSecondaryEmailDeleted { + return _tag == DBTEAMLOGEventTypeSecondaryEmailDeleted; +} + +- (BOOL)isSecondaryEmailVerified { + return _tag == DBTEAMLOGEventTypeSecondaryEmailVerified; +} + +- (BOOL)isSecondaryMailsPolicyChanged { + return _tag == DBTEAMLOGEventTypeSecondaryMailsPolicyChanged; +} + +- (BOOL)isBinderAddPage { + return _tag == DBTEAMLOGEventTypeBinderAddPage; +} + +- (BOOL)isBinderAddSection { + return _tag == DBTEAMLOGEventTypeBinderAddSection; +} + +- (BOOL)isBinderRemovePage { + return _tag == DBTEAMLOGEventTypeBinderRemovePage; +} + +- (BOOL)isBinderRemoveSection { + return _tag == DBTEAMLOGEventTypeBinderRemoveSection; +} + +- (BOOL)isBinderRenamePage { + return _tag == DBTEAMLOGEventTypeBinderRenamePage; +} + +- (BOOL)isBinderRenameSection { + return _tag == DBTEAMLOGEventTypeBinderRenameSection; +} + +- (BOOL)isBinderReorderPage { + return _tag == DBTEAMLOGEventTypeBinderReorderPage; +} + +- (BOOL)isBinderReorderSection { + return _tag == DBTEAMLOGEventTypeBinderReorderSection; +} + - (BOOL)isPaperContentAddMember { return _tag == DBTEAMLOGEventTypePaperContentAddMember; } @@ -22505,6 +60312,10 @@ - (BOOL)isPaperDocMention { return _tag == DBTEAMLOGEventTypePaperDocMention; } +- (BOOL)isPaperDocOwnershipChanged { + return _tag == DBTEAMLOGEventTypePaperDocOwnershipChanged; +} + - (BOOL)isPaperDocRequestAccess { return _tag == DBTEAMLOGEventTypePaperDocRequestAccess; } @@ -22541,6 +60352,18 @@ - (BOOL)isPaperDocView { return _tag == DBTEAMLOGEventTypePaperDocView; } +- (BOOL)isPaperExternalViewAllow { + return _tag == DBTEAMLOGEventTypePaperExternalViewAllow; +} + +- (BOOL)isPaperExternalViewDefaultTeam { + return _tag == DBTEAMLOGEventTypePaperExternalViewDefaultTeam; +} + +- (BOOL)isPaperExternalViewForbid { + return _tag == DBTEAMLOGEventTypePaperExternalViewForbid; +} + - (BOOL)isPaperFolderChangeSubscription { return _tag == DBTEAMLOGEventTypePaperFolderChangeSubscription; } @@ -22557,6 +60380,22 @@ - (BOOL)isPaperFolderTeamInvite { return _tag == DBTEAMLOGEventTypePaperFolderTeamInvite; } +- (BOOL)isPaperPublishedLinkChangePermission { + return _tag == DBTEAMLOGEventTypePaperPublishedLinkChangePermission; +} + +- (BOOL)isPaperPublishedLinkCreate { + return _tag == DBTEAMLOGEventTypePaperPublishedLinkCreate; +} + +- (BOOL)isPaperPublishedLinkDisabled { + return _tag == DBTEAMLOGEventTypePaperPublishedLinkDisabled; +} + +- (BOOL)isPaperPublishedLinkView { + return _tag == DBTEAMLOGEventTypePaperPublishedLinkView; +} + - (BOOL)isPasswordChange { return _tag == DBTEAMLOGEventTypePasswordChange; } @@ -22569,6 +60408,14 @@ - (BOOL)isPasswordResetAll { return _tag == DBTEAMLOGEventTypePasswordResetAll; } +- (BOOL)isClassificationCreateReport { + return _tag == DBTEAMLOGEventTypeClassificationCreateReport; +} + +- (BOOL)isClassificationCreateReportFail { + return _tag == DBTEAMLOGEventTypeClassificationCreateReportFail; +} + - (BOOL)isEmmCreateExceptionsReport { return _tag == DBTEAMLOGEventTypeEmmCreateExceptionsReport; } @@ -22577,6 +60424,66 @@ - (BOOL)isEmmCreateUsageReport { return _tag == DBTEAMLOGEventTypeEmmCreateUsageReport; } +- (BOOL)isExportMembersReport { + return _tag == DBTEAMLOGEventTypeExportMembersReport; +} + +- (BOOL)isExportMembersReportFail { + return _tag == DBTEAMLOGEventTypeExportMembersReportFail; +} + +- (BOOL)isExternalSharingCreateReport { + return _tag == DBTEAMLOGEventTypeExternalSharingCreateReport; +} + +- (BOOL)isExternalSharingReportFailed { + return _tag == DBTEAMLOGEventTypeExternalSharingReportFailed; +} + +- (BOOL)isNoExpirationLinkGenCreateReport { + return _tag == DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport; +} + +- (BOOL)isNoExpirationLinkGenReportFailed { + return _tag == DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed; +} + +- (BOOL)isNoPasswordLinkGenCreateReport { + return _tag == DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport; +} + +- (BOOL)isNoPasswordLinkGenReportFailed { + return _tag == DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed; +} + +- (BOOL)isNoPasswordLinkViewCreateReport { + return _tag == DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport; +} + +- (BOOL)isNoPasswordLinkViewReportFailed { + return _tag == DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed; +} + +- (BOOL)isOutdatedLinkViewCreateReport { + return _tag == DBTEAMLOGEventTypeOutdatedLinkViewCreateReport; +} + +- (BOOL)isOutdatedLinkViewReportFailed { + return _tag == DBTEAMLOGEventTypeOutdatedLinkViewReportFailed; +} + +- (BOOL)isPaperAdminExportStart { + return _tag == DBTEAMLOGEventTypePaperAdminExportStart; +} + +- (BOOL)isRansomwareAlertCreateReport { + return _tag == DBTEAMLOGEventTypeRansomwareAlertCreateReport; +} + +- (BOOL)isRansomwareAlertCreateReportFailed { + return _tag == DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed; +} + - (BOOL)isSmartSyncCreateAdminPrivilegeReport { return _tag == DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport; } @@ -22585,10 +60492,34 @@ - (BOOL)isTeamActivityCreateReport { return _tag == DBTEAMLOGEventTypeTeamActivityCreateReport; } +- (BOOL)isTeamActivityCreateReportFail { + return _tag == DBTEAMLOGEventTypeTeamActivityCreateReportFail; +} + - (BOOL)isCollectionShare { return _tag == DBTEAMLOGEventTypeCollectionShare; } +- (BOOL)isFileTransfersFileAdd { + return _tag == DBTEAMLOGEventTypeFileTransfersFileAdd; +} + +- (BOOL)isFileTransfersTransferDelete { + return _tag == DBTEAMLOGEventTypeFileTransfersTransferDelete; +} + +- (BOOL)isFileTransfersTransferDownload { + return _tag == DBTEAMLOGEventTypeFileTransfersTransferDownload; +} + +- (BOOL)isFileTransfersTransferSend { + return _tag == DBTEAMLOGEventTypeFileTransfersTransferSend; +} + +- (BOOL)isFileTransfersTransferView { + return _tag == DBTEAMLOGEventTypeFileTransfersTransferView; +} + - (BOOL)isNoteAclInviteOnly { return _tag == DBTEAMLOGEventTypeNoteAclInviteOnly; } @@ -22613,6 +60544,22 @@ - (BOOL)isOpenNoteShared { return _tag == DBTEAMLOGEventTypeOpenNoteShared; } +- (BOOL)isReplayFileSharedLinkCreated { + return _tag == DBTEAMLOGEventTypeReplayFileSharedLinkCreated; +} + +- (BOOL)isReplayFileSharedLinkModified { + return _tag == DBTEAMLOGEventTypeReplayFileSharedLinkModified; +} + +- (BOOL)isReplayProjectTeamAdd { + return _tag == DBTEAMLOGEventTypeReplayProjectTeamAdd; +} + +- (BOOL)isReplayProjectTeamDelete { + return _tag == DBTEAMLOGEventTypeReplayProjectTeamDelete; +} + - (BOOL)isSfAddGroup { return _tag == DBTEAMLOGEventTypeSfAddGroup; } @@ -22621,16 +60568,24 @@ - (BOOL)isSfAllowNonMembersToViewSharedLinks { return _tag == DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks; } -- (BOOL)isSfInviteGroup { - return _tag == DBTEAMLOGEventTypeSfInviteGroup; +- (BOOL)isSfExternalInviteWarn { + return _tag == DBTEAMLOGEventTypeSfExternalInviteWarn; +} + +- (BOOL)isSfFbInvite { + return _tag == DBTEAMLOGEventTypeSfFbInvite; } -- (BOOL)isSfNest { - return _tag == DBTEAMLOGEventTypeSfNest; +- (BOOL)isSfFbInviteChangeRole { + return _tag == DBTEAMLOGEventTypeSfFbInviteChangeRole; } -- (BOOL)isSfTeamDecline { - return _tag == DBTEAMLOGEventTypeSfTeamDecline; +- (BOOL)isSfFbUninvite { + return _tag == DBTEAMLOGEventTypeSfFbUninvite; +} + +- (BOOL)isSfInviteGroup { + return _tag == DBTEAMLOGEventTypeSfInviteGroup; } - (BOOL)isSfTeamGrantAccess { @@ -22717,8 +60672,8 @@ - (BOOL)isSharedContentRelinquishMembership { return _tag == DBTEAMLOGEventTypeSharedContentRelinquishMembership; } -- (BOOL)isSharedContentRemoveInvitee { - return _tag == DBTEAMLOGEventTypeSharedContentRemoveInvitee; +- (BOOL)isSharedContentRemoveInvitees { + return _tag == DBTEAMLOGEventTypeSharedContentRemoveInvitees; } - (BOOL)isSharedContentRemoveLinkExpiry { @@ -22737,6 +60692,14 @@ - (BOOL)isSharedContentRequestAccess { return _tag == DBTEAMLOGEventTypeSharedContentRequestAccess; } +- (BOOL)isSharedContentRestoreInvitees { + return _tag == DBTEAMLOGEventTypeSharedContentRestoreInvitees; +} + +- (BOOL)isSharedContentRestoreMember { + return _tag == DBTEAMLOGEventTypeSharedContentRestoreMember; +} + - (BOOL)isSharedContentUnshare { return _tag == DBTEAMLOGEventTypeSharedContentUnshare; } @@ -22745,30 +60708,38 @@ - (BOOL)isSharedContentView { return _tag == DBTEAMLOGEventTypeSharedContentView; } -- (BOOL)isSharedFolderChangeConfidentiality { - return _tag == DBTEAMLOGEventTypeSharedFolderChangeConfidentiality; -} - - (BOOL)isSharedFolderChangeLinkPolicy { return _tag == DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy; } -- (BOOL)isSharedFolderChangeMemberManagementPolicy { - return _tag == DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy; +- (BOOL)isSharedFolderChangeMembersInheritancePolicy { + return _tag == DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy; +} + +- (BOOL)isSharedFolderChangeMembersManagementPolicy { + return _tag == DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy; } -- (BOOL)isSharedFolderChangeMemberPolicy { - return _tag == DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy; +- (BOOL)isSharedFolderChangeMembersPolicy { + return _tag == DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy; } - (BOOL)isSharedFolderCreate { return _tag == DBTEAMLOGEventTypeSharedFolderCreate; } +- (BOOL)isSharedFolderDeclineInvitation { + return _tag == DBTEAMLOGEventTypeSharedFolderDeclineInvitation; +} + - (BOOL)isSharedFolderMount { return _tag == DBTEAMLOGEventTypeSharedFolderMount; } +- (BOOL)isSharedFolderNest { + return _tag == DBTEAMLOGEventTypeSharedFolderNest; +} + - (BOOL)isSharedFolderTransferOwnership { return _tag == DBTEAMLOGEventTypeSharedFolderTransferOwnership; } @@ -22777,64 +60748,192 @@ - (BOOL)isSharedFolderUnmount { return _tag == DBTEAMLOGEventTypeSharedFolderUnmount; } -- (BOOL)isSharedNoteOpened { - return _tag == DBTEAMLOGEventTypeSharedNoteOpened; +- (BOOL)isSharedLinkAddExpiry { + return _tag == DBTEAMLOGEventTypeSharedLinkAddExpiry; +} + +- (BOOL)isSharedLinkChangeExpiry { + return _tag == DBTEAMLOGEventTypeSharedLinkChangeExpiry; } -- (BOOL)isShmodelAppCreate { - return _tag == DBTEAMLOGEventTypeShmodelAppCreate; +- (BOOL)isSharedLinkChangeVisibility { + return _tag == DBTEAMLOGEventTypeSharedLinkChangeVisibility; } -- (BOOL)isShmodelCreate { - return _tag == DBTEAMLOGEventTypeShmodelCreate; +- (BOOL)isSharedLinkCopy { + return _tag == DBTEAMLOGEventTypeSharedLinkCopy; } -- (BOOL)isShmodelDisable { - return _tag == DBTEAMLOGEventTypeShmodelDisable; +- (BOOL)isSharedLinkCreate { + return _tag == DBTEAMLOGEventTypeSharedLinkCreate; } -- (BOOL)isShmodelFbShare { - return _tag == DBTEAMLOGEventTypeShmodelFbShare; +- (BOOL)isSharedLinkDisable { + return _tag == DBTEAMLOGEventTypeSharedLinkDisable; +} + +- (BOOL)isSharedLinkDownload { + return _tag == DBTEAMLOGEventTypeSharedLinkDownload; +} + +- (BOOL)isSharedLinkRemoveExpiry { + return _tag == DBTEAMLOGEventTypeSharedLinkRemoveExpiry; +} + +- (BOOL)isSharedLinkSettingsAddExpiration { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration; +} + +- (BOOL)isSharedLinkSettingsAddPassword { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsAddPassword; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadDisabled { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadEnabled { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled; +} + +- (BOOL)isSharedLinkSettingsChangeAudience { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience; +} + +- (BOOL)isSharedLinkSettingsChangeExpiration { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration; +} + +- (BOOL)isSharedLinkSettingsChangePassword { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsChangePassword; +} + +- (BOOL)isSharedLinkSettingsRemoveExpiration { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration; +} + +- (BOOL)isSharedLinkSettingsRemovePassword { + return _tag == DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword; +} + +- (BOOL)isSharedLinkShare { + return _tag == DBTEAMLOGEventTypeSharedLinkShare; +} + +- (BOOL)isSharedLinkView { + return _tag == DBTEAMLOGEventTypeSharedLinkView; +} + +- (BOOL)isSharedNoteOpened { + return _tag == DBTEAMLOGEventTypeSharedNoteOpened; +} + +- (BOOL)isShmodelDisableDownloads { + return _tag == DBTEAMLOGEventTypeShmodelDisableDownloads; +} + +- (BOOL)isShmodelEnableDownloads { + return _tag == DBTEAMLOGEventTypeShmodelEnableDownloads; } - (BOOL)isShmodelGroupShare { return _tag == DBTEAMLOGEventTypeShmodelGroupShare; } -- (BOOL)isShmodelRemoveExpiration { - return _tag == DBTEAMLOGEventTypeShmodelRemoveExpiration; +- (BOOL)isShowcaseAccessGranted { + return _tag == DBTEAMLOGEventTypeShowcaseAccessGranted; +} + +- (BOOL)isShowcaseAddMember { + return _tag == DBTEAMLOGEventTypeShowcaseAddMember; +} + +- (BOOL)isShowcaseArchived { + return _tag == DBTEAMLOGEventTypeShowcaseArchived; +} + +- (BOOL)isShowcaseCreated { + return _tag == DBTEAMLOGEventTypeShowcaseCreated; +} + +- (BOOL)isShowcaseDeleteComment { + return _tag == DBTEAMLOGEventTypeShowcaseDeleteComment; +} + +- (BOOL)isShowcaseEdited { + return _tag == DBTEAMLOGEventTypeShowcaseEdited; +} + +- (BOOL)isShowcaseEditComment { + return _tag == DBTEAMLOGEventTypeShowcaseEditComment; +} + +- (BOOL)isShowcaseFileAdded { + return _tag == DBTEAMLOGEventTypeShowcaseFileAdded; +} + +- (BOOL)isShowcaseFileDownload { + return _tag == DBTEAMLOGEventTypeShowcaseFileDownload; +} + +- (BOOL)isShowcaseFileRemoved { + return _tag == DBTEAMLOGEventTypeShowcaseFileRemoved; +} + +- (BOOL)isShowcaseFileView { + return _tag == DBTEAMLOGEventTypeShowcaseFileView; +} + +- (BOOL)isShowcasePermanentlyDeleted { + return _tag == DBTEAMLOGEventTypeShowcasePermanentlyDeleted; +} + +- (BOOL)isShowcasePostComment { + return _tag == DBTEAMLOGEventTypeShowcasePostComment; +} + +- (BOOL)isShowcaseRemoveMember { + return _tag == DBTEAMLOGEventTypeShowcaseRemoveMember; +} + +- (BOOL)isShowcaseRenamed { + return _tag == DBTEAMLOGEventTypeShowcaseRenamed; +} + +- (BOOL)isShowcaseRequestAccess { + return _tag == DBTEAMLOGEventTypeShowcaseRequestAccess; } -- (BOOL)isShmodelSetExpiration { - return _tag == DBTEAMLOGEventTypeShmodelSetExpiration; +- (BOOL)isShowcaseResolveComment { + return _tag == DBTEAMLOGEventTypeShowcaseResolveComment; } -- (BOOL)isShmodelTeamCopy { - return _tag == DBTEAMLOGEventTypeShmodelTeamCopy; +- (BOOL)isShowcaseRestored { + return _tag == DBTEAMLOGEventTypeShowcaseRestored; } -- (BOOL)isShmodelTeamDownload { - return _tag == DBTEAMLOGEventTypeShmodelTeamDownload; +- (BOOL)isShowcaseTrashed { + return _tag == DBTEAMLOGEventTypeShowcaseTrashed; } -- (BOOL)isShmodelTeamShare { - return _tag == DBTEAMLOGEventTypeShmodelTeamShare; +- (BOOL)isShowcaseTrashedDeprecated { + return _tag == DBTEAMLOGEventTypeShowcaseTrashedDeprecated; } -- (BOOL)isShmodelTeamView { - return _tag == DBTEAMLOGEventTypeShmodelTeamView; +- (BOOL)isShowcaseUnresolveComment { + return _tag == DBTEAMLOGEventTypeShowcaseUnresolveComment; } -- (BOOL)isShmodelVisibilityPassword { - return _tag == DBTEAMLOGEventTypeShmodelVisibilityPassword; +- (BOOL)isShowcaseUntrashed { + return _tag == DBTEAMLOGEventTypeShowcaseUntrashed; } -- (BOOL)isShmodelVisibilityPublic { - return _tag == DBTEAMLOGEventTypeShmodelVisibilityPublic; +- (BOOL)isShowcaseUntrashedDeprecated { + return _tag == DBTEAMLOGEventTypeShowcaseUntrashedDeprecated; } -- (BOOL)isShmodelVisibilityTeamOnly { - return _tag == DBTEAMLOGEventTypeShmodelVisibilityTeamOnly; +- (BOOL)isShowcaseView { + return _tag == DBTEAMLOGEventTypeShowcaseView; } - (BOOL)isSsoAddCert { @@ -22897,10 +60996,18 @@ - (BOOL)isTeamFolderRename { return _tag == DBTEAMLOGEventTypeTeamFolderRename; } +- (BOOL)isTeamSelectiveSyncSettingsChanged { + return _tag == DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged; +} + - (BOOL)isAccountCaptureChangePolicy { return _tag == DBTEAMLOGEventTypeAccountCaptureChangePolicy; } +- (BOOL)isAdminEmailRemindersChanged { + return _tag == DBTEAMLOGEventTypeAdminEmailRemindersChanged; +} + - (BOOL)isAllowDownloadDisabled { return _tag == DBTEAMLOGEventTypeAllowDownloadDisabled; } @@ -22909,6 +61016,30 @@ - (BOOL)isAllowDownloadEnabled { return _tag == DBTEAMLOGEventTypeAllowDownloadEnabled; } +- (BOOL)isAppPermissionsChanged { + return _tag == DBTEAMLOGEventTypeAppPermissionsChanged; +} + +- (BOOL)isCameraUploadsPolicyChanged { + return _tag == DBTEAMLOGEventTypeCameraUploadsPolicyChanged; +} + +- (BOOL)isCaptureTranscriptPolicyChanged { + return _tag == DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged; +} + +- (BOOL)isClassificationChangePolicy { + return _tag == DBTEAMLOGEventTypeClassificationChangePolicy; +} + +- (BOOL)isComputerBackupPolicyChanged { + return _tag == DBTEAMLOGEventTypeComputerBackupPolicyChanged; +} + +- (BOOL)isContentAdministrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeContentAdministrationPolicyChanged; +} + - (BOOL)isDataPlacementRestrictionChangePolicy { return _tag == DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy; } @@ -22917,6 +61048,10 @@ - (BOOL)isDataPlacementRestrictionSatisfyPolicy { return _tag == DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy; } +- (BOOL)isDeviceApprovalsAddException { + return _tag == DBTEAMLOGEventTypeDeviceApprovalsAddException; +} + - (BOOL)isDeviceApprovalsChangeDesktopPolicy { return _tag == DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy; } @@ -22933,6 +61068,26 @@ - (BOOL)isDeviceApprovalsChangeUnlinkAction { return _tag == DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction; } +- (BOOL)isDeviceApprovalsRemoveException { + return _tag == DBTEAMLOGEventTypeDeviceApprovalsRemoveException; +} + +- (BOOL)isDirectoryRestrictionsAddMembers { + return _tag == DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers; +} + +- (BOOL)isDirectoryRestrictionsRemoveMembers { + return _tag == DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers; +} + +- (BOOL)isDropboxPasswordsPolicyChanged { + return _tag == DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged; +} + +- (BOOL)isEmailIngestPolicyChanged { + return _tag == DBTEAMLOGEventTypeEmailIngestPolicyChanged; +} + - (BOOL)isEmmAddException { return _tag == DBTEAMLOGEventTypeEmmAddException; } @@ -22949,10 +61104,22 @@ - (BOOL)isExtendedVersionHistoryChangePolicy { return _tag == DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy; } +- (BOOL)isExternalDriveBackupPolicyChanged { + return _tag == DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged; +} + - (BOOL)isFileCommentsChangePolicy { return _tag == DBTEAMLOGEventTypeFileCommentsChangePolicy; } +- (BOOL)isFileLockingPolicyChanged { + return _tag == DBTEAMLOGEventTypeFileLockingPolicyChanged; +} + +- (BOOL)isFileProviderMigrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged; +} + - (BOOL)isFileRequestsChangePolicy { return _tag == DBTEAMLOGEventTypeFileRequestsChangePolicy; } @@ -22965,6 +61132,14 @@ - (BOOL)isFileRequestsEmailsRestrictedToTeamOnly { return _tag == DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly; } +- (BOOL)isFileTransfersPolicyChanged { + return _tag == DBTEAMLOGEventTypeFileTransfersPolicyChanged; +} + +- (BOOL)isFolderLinkRestrictionPolicyChanged { + return _tag == DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged; +} + - (BOOL)isGoogleSsoChangePolicy { return _tag == DBTEAMLOGEventTypeGoogleSsoChangePolicy; } @@ -22973,14 +61148,30 @@ - (BOOL)isGroupUserManagementChangePolicy { return _tag == DBTEAMLOGEventTypeGroupUserManagementChangePolicy; } +- (BOOL)isIntegrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeIntegrationPolicyChanged; +} + +- (BOOL)isInviteAcceptanceEmailPolicyChanged { + return _tag == DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged; +} + - (BOOL)isMemberRequestsChangePolicy { return _tag == DBTEAMLOGEventTypeMemberRequestsChangePolicy; } +- (BOOL)isMemberSendInvitePolicyChanged { + return _tag == DBTEAMLOGEventTypeMemberSendInvitePolicyChanged; +} + - (BOOL)isMemberSpaceLimitsAddException { return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsAddException; } +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicy { + return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy; +} + - (BOOL)isMemberSpaceLimitsChangePolicy { return _tag == DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy; } @@ -23017,14 +61208,58 @@ - (BOOL)isPaperChangePolicy { return _tag == DBTEAMLOGEventTypePaperChangePolicy; } +- (BOOL)isPaperDefaultFolderPolicyChanged { + return _tag == DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged; +} + +- (BOOL)isPaperDesktopPolicyChanged { + return _tag == DBTEAMLOGEventTypePaperDesktopPolicyChanged; +} + +- (BOOL)isPaperEnabledUsersGroupAddition { + return _tag == DBTEAMLOGEventTypePaperEnabledUsersGroupAddition; +} + +- (BOOL)isPaperEnabledUsersGroupRemoval { + return _tag == DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval; +} + +- (BOOL)isPasswordStrengthRequirementsChangePolicy { + return _tag == DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy; +} + - (BOOL)isPermanentDeleteChangePolicy { return _tag == DBTEAMLOGEventTypePermanentDeleteChangePolicy; } +- (BOOL)isResellerSupportChangePolicy { + return _tag == DBTEAMLOGEventTypeResellerSupportChangePolicy; +} + +- (BOOL)isRewindPolicyChanged { + return _tag == DBTEAMLOGEventTypeRewindPolicyChanged; +} + +- (BOOL)isSendForSignaturePolicyChanged { + return _tag == DBTEAMLOGEventTypeSendForSignaturePolicyChanged; +} + - (BOOL)isSharingChangeFolderJoinPolicy { return _tag == DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy; } +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicy { + return _tag == DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy; +} + +- (BOOL)isSharingChangeLinkDefaultExpirationPolicy { + return _tag == DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy; +} + +- (BOOL)isSharingChangeLinkEnforcePasswordPolicy { + return _tag == DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy; +} + - (BOOL)isSharingChangeLinkPolicy { return _tag == DBTEAMLOGEventTypeSharingChangeLinkPolicy; } @@ -23033,6 +61268,22 @@ - (BOOL)isSharingChangeMemberPolicy { return _tag == DBTEAMLOGEventTypeSharingChangeMemberPolicy; } +- (BOOL)isShowcaseChangeDownloadPolicy { + return _tag == DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy; +} + +- (BOOL)isShowcaseChangeEnabledPolicy { + return _tag == DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy; +} + +- (BOOL)isShowcaseChangeExternalSharingPolicy { + return _tag == DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy; +} + +- (BOOL)isSmarterSmartSyncPolicyChanged { + return _tag == DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged; +} + - (BOOL)isSmartSyncChangePolicy { return _tag == DBTEAMLOGEventTypeSmartSyncChangePolicy; } @@ -23049,14 +61300,50 @@ - (BOOL)isSsoChangePolicy { return _tag == DBTEAMLOGEventTypeSsoChangePolicy; } +- (BOOL)isTeamBrandingPolicyChanged { + return _tag == DBTEAMLOGEventTypeTeamBrandingPolicyChanged; +} + +- (BOOL)isTeamExtensionsPolicyChanged { + return _tag == DBTEAMLOGEventTypeTeamExtensionsPolicyChanged; +} + +- (BOOL)isTeamSelectiveSyncPolicyChanged { + return _tag == DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged; +} + +- (BOOL)isTeamSharingWhitelistSubjectsChanged { + return _tag == DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged; +} + +- (BOOL)isTfaAddException { + return _tag == DBTEAMLOGEventTypeTfaAddException; +} + - (BOOL)isTfaChangePolicy { return _tag == DBTEAMLOGEventTypeTfaChangePolicy; } +- (BOOL)isTfaRemoveException { + return _tag == DBTEAMLOGEventTypeTfaRemoveException; +} + - (BOOL)isTwoAccountChangePolicy { return _tag == DBTEAMLOGEventTypeTwoAccountChangePolicy; } +- (BOOL)isViewerInfoPolicyChanged { + return _tag == DBTEAMLOGEventTypeViewerInfoPolicyChanged; +} + +- (BOOL)isWatermarkingPolicyChanged { + return _tag == DBTEAMLOGEventTypeWatermarkingPolicyChanged; +} + +- (BOOL)isWebSessionsChangeActiveSessionLimit { + return _tag == DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit; +} + - (BOOL)isWebSessionsChangeFixedLengthPolicy { return _tag == DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy; } @@ -23065,10 +61352,34 @@ - (BOOL)isWebSessionsChangeIdleLengthPolicy { return _tag == DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy; } +- (BOOL)isDataResidencyMigrationRequestSuccessful { + return _tag == DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful; +} + +- (BOOL)isDataResidencyMigrationRequestUnsuccessful { + return _tag == DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful; +} + +- (BOOL)isTeamMergeFrom { + return _tag == DBTEAMLOGEventTypeTeamMergeFrom; +} + +- (BOOL)isTeamMergeTo { + return _tag == DBTEAMLOGEventTypeTeamMergeTo; +} + +- (BOOL)isTeamProfileAddBackground { + return _tag == DBTEAMLOGEventTypeTeamProfileAddBackground; +} + - (BOOL)isTeamProfileAddLogo { return _tag == DBTEAMLOGEventTypeTeamProfileAddLogo; } +- (BOOL)isTeamProfileChangeBackground { + return _tag == DBTEAMLOGEventTypeTeamProfileChangeBackground; +} + - (BOOL)isTeamProfileChangeDefaultLanguage { return _tag == DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage; } @@ -23081,6 +61392,10 @@ - (BOOL)isTeamProfileChangeName { return _tag == DBTEAMLOGEventTypeTeamProfileChangeName; } +- (BOOL)isTeamProfileRemoveBackground { + return _tag == DBTEAMLOGEventTypeTeamProfileRemoveBackground; +} + - (BOOL)isTeamProfileRemoveLogo { return _tag == DBTEAMLOGEventTypeTeamProfileRemoveLogo; } @@ -23113,38 +61428,124 @@ - (BOOL)isTfaReset { return _tag == DBTEAMLOGEventTypeTfaReset; } +- (BOOL)isChangedEnterpriseAdminRole { + return _tag == DBTEAMLOGEventTypeChangedEnterpriseAdminRole; +} + +- (BOOL)isChangedEnterpriseConnectedTeamStatus { + return _tag == DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus; +} + +- (BOOL)isEndedEnterpriseAdminSession { + return _tag == DBTEAMLOGEventTypeEndedEnterpriseAdminSession; +} + +- (BOOL)isEndedEnterpriseAdminSessionDeprecated { + return _tag == DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated; +} + +- (BOOL)isEnterpriseSettingsLocking { + return _tag == DBTEAMLOGEventTypeEnterpriseSettingsLocking; +} + +- (BOOL)isGuestAdminChangeStatus { + return _tag == DBTEAMLOGEventTypeGuestAdminChangeStatus; +} + +- (BOOL)isStartedEnterpriseAdminSession { + return _tag == DBTEAMLOGEventTypeStartedEnterpriseAdminSession; +} + +- (BOOL)isTeamMergeRequestAccepted { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestAccepted; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestAutoCanceled { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled; +} + +- (BOOL)isTeamMergeRequestCanceled { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestCanceled; +} + +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestExpired { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestExpired; +} + +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestReminder { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestReminder; +} + +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestRevoked { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestRevoked; +} + +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam; +} + - (BOOL)isOther { return _tag == DBTEAMLOGEventTypeOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGEventTypeMemberChangeMembershipType: - return @"DBTEAMLOGEventTypeMemberChangeMembershipType"; - case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: - return @"DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents"; - case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: - return @"DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus"; - case DBTEAMLOGEventTypeMemberTransferAccountContents: - return @"DBTEAMLOGEventTypeMemberTransferAccountContents"; - case DBTEAMLOGEventTypePaperAdminExportStart: - return @"DBTEAMLOGEventTypePaperAdminExportStart"; - case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: - return @"DBTEAMLOGEventTypePaperEnabledUsersGroupAddition"; - case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: - return @"DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval"; - case DBTEAMLOGEventTypePaperExternalViewAllow: - return @"DBTEAMLOGEventTypePaperExternalViewAllow"; - case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: - return @"DBTEAMLOGEventTypePaperExternalViewDefaultTeam"; - case DBTEAMLOGEventTypePaperExternalViewForbid: - return @"DBTEAMLOGEventTypePaperExternalViewForbid"; - case DBTEAMLOGEventTypeSfExternalInviteWarn: - return @"DBTEAMLOGEventTypeSfExternalInviteWarn"; - case DBTEAMLOGEventTypeTeamMergeFrom: - return @"DBTEAMLOGEventTypeTeamMergeFrom"; - case DBTEAMLOGEventTypeTeamMergeTo: - return @"DBTEAMLOGEventTypeTeamMergeTo"; + case DBTEAMLOGEventTypeAdminAlertingAlertStateChanged: + return @"DBTEAMLOGEventTypeAdminAlertingAlertStateChanged"; + case DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig: + return @"DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig"; + case DBTEAMLOGEventTypeAdminAlertingTriggeredAlert: + return @"DBTEAMLOGEventTypeAdminAlertingTriggeredAlert"; + case DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted: + return @"DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted"; + case DBTEAMLOGEventTypeRansomwareRestoreProcessStarted: + return @"DBTEAMLOGEventTypeRansomwareRestoreProcessStarted"; + case DBTEAMLOGEventTypeAppBlockedByPermissions: + return @"DBTEAMLOGEventTypeAppBlockedByPermissions"; case DBTEAMLOGEventTypeAppLinkTeam: return @"DBTEAMLOGEventTypeAppLinkTeam"; case DBTEAMLOGEventTypeAppLinkUser: @@ -23153,12 +61554,18 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeAppUnlinkTeam"; case DBTEAMLOGEventTypeAppUnlinkUser: return @"DBTEAMLOGEventTypeAppUnlinkUser"; + case DBTEAMLOGEventTypeIntegrationConnected: + return @"DBTEAMLOGEventTypeIntegrationConnected"; + case DBTEAMLOGEventTypeIntegrationDisconnected: + return @"DBTEAMLOGEventTypeIntegrationDisconnected"; case DBTEAMLOGEventTypeFileAddComment: return @"DBTEAMLOGEventTypeFileAddComment"; case DBTEAMLOGEventTypeFileChangeCommentSubscription: return @"DBTEAMLOGEventTypeFileChangeCommentSubscription"; case DBTEAMLOGEventTypeFileDeleteComment: return @"DBTEAMLOGEventTypeFileDeleteComment"; + case DBTEAMLOGEventTypeFileEditComment: + return @"DBTEAMLOGEventTypeFileEditComment"; case DBTEAMLOGEventTypeFileLikeComment: return @"DBTEAMLOGEventTypeFileLikeComment"; case DBTEAMLOGEventTypeFileResolveComment: @@ -23167,6 +61574,52 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeFileUnlikeComment"; case DBTEAMLOGEventTypeFileUnresolveComment: return @"DBTEAMLOGEventTypeFileUnresolveComment"; + case DBTEAMLOGEventTypeGovernancePolicyAddFolders: + return @"DBTEAMLOGEventTypeGovernancePolicyAddFolders"; + case DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed: + return @"DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed"; + case DBTEAMLOGEventTypeGovernancePolicyContentDisposed: + return @"DBTEAMLOGEventTypeGovernancePolicyContentDisposed"; + case DBTEAMLOGEventTypeGovernancePolicyCreate: + return @"DBTEAMLOGEventTypeGovernancePolicyCreate"; + case DBTEAMLOGEventTypeGovernancePolicyDelete: + return @"DBTEAMLOGEventTypeGovernancePolicyDelete"; + case DBTEAMLOGEventTypeGovernancePolicyEditDetails: + return @"DBTEAMLOGEventTypeGovernancePolicyEditDetails"; + case DBTEAMLOGEventTypeGovernancePolicyEditDuration: + return @"DBTEAMLOGEventTypeGovernancePolicyEditDuration"; + case DBTEAMLOGEventTypeGovernancePolicyExportCreated: + return @"DBTEAMLOGEventTypeGovernancePolicyExportCreated"; + case DBTEAMLOGEventTypeGovernancePolicyExportRemoved: + return @"DBTEAMLOGEventTypeGovernancePolicyExportRemoved"; + case DBTEAMLOGEventTypeGovernancePolicyRemoveFolders: + return @"DBTEAMLOGEventTypeGovernancePolicyRemoveFolders"; + case DBTEAMLOGEventTypeGovernancePolicyReportCreated: + return @"DBTEAMLOGEventTypeGovernancePolicyReportCreated"; + case DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded: + return @"DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded"; + case DBTEAMLOGEventTypeLegalHoldsActivateAHold: + return @"DBTEAMLOGEventTypeLegalHoldsActivateAHold"; + case DBTEAMLOGEventTypeLegalHoldsAddMembers: + return @"DBTEAMLOGEventTypeLegalHoldsAddMembers"; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails: + return @"DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails"; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldName: + return @"DBTEAMLOGEventTypeLegalHoldsChangeHoldName"; + case DBTEAMLOGEventTypeLegalHoldsExportAHold: + return @"DBTEAMLOGEventTypeLegalHoldsExportAHold"; + case DBTEAMLOGEventTypeLegalHoldsExportCancelled: + return @"DBTEAMLOGEventTypeLegalHoldsExportCancelled"; + case DBTEAMLOGEventTypeLegalHoldsExportDownloaded: + return @"DBTEAMLOGEventTypeLegalHoldsExportDownloaded"; + case DBTEAMLOGEventTypeLegalHoldsExportRemoved: + return @"DBTEAMLOGEventTypeLegalHoldsExportRemoved"; + case DBTEAMLOGEventTypeLegalHoldsReleaseAHold: + return @"DBTEAMLOGEventTypeLegalHoldsReleaseAHold"; + case DBTEAMLOGEventTypeLegalHoldsRemoveMembers: + return @"DBTEAMLOGEventTypeLegalHoldsRemoveMembers"; + case DBTEAMLOGEventTypeLegalHoldsReportAHold: + return @"DBTEAMLOGEventTypeLegalHoldsReportAHold"; case DBTEAMLOGEventTypeDeviceChangeIpDesktop: return @"DBTEAMLOGEventTypeDeviceChangeIpDesktop"; case DBTEAMLOGEventTypeDeviceChangeIpMobile: @@ -23185,14 +61638,26 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeDeviceManagementDisabled"; case DBTEAMLOGEventTypeDeviceManagementEnabled: return @"DBTEAMLOGEventTypeDeviceManagementEnabled"; + case DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged: + return @"DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged"; case DBTEAMLOGEventTypeDeviceUnlink: return @"DBTEAMLOGEventTypeDeviceUnlink"; + case DBTEAMLOGEventTypeDropboxPasswordsExported: + return @"DBTEAMLOGEventTypeDropboxPasswordsExported"; + case DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled: + return @"DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled"; case DBTEAMLOGEventTypeEmmRefreshAuthToken: return @"DBTEAMLOGEventTypeEmmRefreshAuthToken"; + case DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked: + return @"DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked"; + case DBTEAMLOGEventTypeExternalDriveBackupStatusChanged: + return @"DBTEAMLOGEventTypeExternalDriveBackupStatusChanged"; case DBTEAMLOGEventTypeAccountCaptureChangeAvailability: return @"DBTEAMLOGEventTypeAccountCaptureChangeAvailability"; case DBTEAMLOGEventTypeAccountCaptureMigrateAccount: return @"DBTEAMLOGEventTypeAccountCaptureMigrateAccount"; + case DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent: + return @"DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent"; case DBTEAMLOGEventTypeAccountCaptureRelinquishAccount: return @"DBTEAMLOGEventTypeAccountCaptureRelinquishAccount"; case DBTEAMLOGEventTypeDisabledDomainInvites: @@ -23217,10 +61682,28 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeDomainVerificationRemoveDomain"; case DBTEAMLOGEventTypeEnabledDomainInvites: return @"DBTEAMLOGEventTypeEnabledDomainInvites"; + case DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion"; + case DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey"; + case DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey"; + case DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey"; + case DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey"; + case DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey"; + case DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion: + return @"DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion"; + case DBTEAMLOGEventTypeApplyNamingConvention: + return @"DBTEAMLOGEventTypeApplyNamingConvention"; case DBTEAMLOGEventTypeCreateFolder: return @"DBTEAMLOGEventTypeCreateFolder"; case DBTEAMLOGEventTypeFileAdd: return @"DBTEAMLOGEventTypeFileAdd"; + case DBTEAMLOGEventTypeFileAddFromAutomation: + return @"DBTEAMLOGEventTypeFileAddFromAutomation"; case DBTEAMLOGEventTypeFileCopy: return @"DBTEAMLOGEventTypeFileCopy"; case DBTEAMLOGEventTypeFileDelete: @@ -23231,6 +61714,8 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeFileEdit"; case DBTEAMLOGEventTypeFileGetCopyReference: return @"DBTEAMLOGEventTypeFileGetCopyReference"; + case DBTEAMLOGEventTypeFileLockingLockStatusChanged: + return @"DBTEAMLOGEventTypeFileLockingLockStatusChanged"; case DBTEAMLOGEventTypeFileMove: return @"DBTEAMLOGEventTypeFileMove"; case DBTEAMLOGEventTypeFilePermanentlyDelete: @@ -23247,22 +61732,44 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeFileRollbackChanges"; case DBTEAMLOGEventTypeFileSaveCopyReference: return @"DBTEAMLOGEventTypeFileSaveCopyReference"; - case DBTEAMLOGEventTypeFileRequestAddDeadline: - return @"DBTEAMLOGEventTypeFileRequestAddDeadline"; + case DBTEAMLOGEventTypeFolderOverviewDescriptionChanged: + return @"DBTEAMLOGEventTypeFolderOverviewDescriptionChanged"; + case DBTEAMLOGEventTypeFolderOverviewItemPinned: + return @"DBTEAMLOGEventTypeFolderOverviewItemPinned"; + case DBTEAMLOGEventTypeFolderOverviewItemUnpinned: + return @"DBTEAMLOGEventTypeFolderOverviewItemUnpinned"; + case DBTEAMLOGEventTypeObjectLabelAdded: + return @"DBTEAMLOGEventTypeObjectLabelAdded"; + case DBTEAMLOGEventTypeObjectLabelRemoved: + return @"DBTEAMLOGEventTypeObjectLabelRemoved"; + case DBTEAMLOGEventTypeObjectLabelUpdatedValue: + return @"DBTEAMLOGEventTypeObjectLabelUpdatedValue"; + case DBTEAMLOGEventTypeOrganizeFolderWithTidy: + return @"DBTEAMLOGEventTypeOrganizeFolderWithTidy"; + case DBTEAMLOGEventTypeReplayFileDelete: + return @"DBTEAMLOGEventTypeReplayFileDelete"; + case DBTEAMLOGEventTypeRewindFolder: + return @"DBTEAMLOGEventTypeRewindFolder"; + case DBTEAMLOGEventTypeUndoNamingConvention: + return @"DBTEAMLOGEventTypeUndoNamingConvention"; + case DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy: + return @"DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy"; + case DBTEAMLOGEventTypeUserTagsAdded: + return @"DBTEAMLOGEventTypeUserTagsAdded"; + case DBTEAMLOGEventTypeUserTagsRemoved: + return @"DBTEAMLOGEventTypeUserTagsRemoved"; + case DBTEAMLOGEventTypeEmailIngestReceiveFile: + return @"DBTEAMLOGEventTypeEmailIngestReceiveFile"; case DBTEAMLOGEventTypeFileRequestChange: return @"DBTEAMLOGEventTypeFileRequestChange"; - case DBTEAMLOGEventTypeFileRequestChangeFolder: - return @"DBTEAMLOGEventTypeFileRequestChangeFolder"; case DBTEAMLOGEventTypeFileRequestClose: return @"DBTEAMLOGEventTypeFileRequestClose"; case DBTEAMLOGEventTypeFileRequestCreate: return @"DBTEAMLOGEventTypeFileRequestCreate"; + case DBTEAMLOGEventTypeFileRequestDelete: + return @"DBTEAMLOGEventTypeFileRequestDelete"; case DBTEAMLOGEventTypeFileRequestReceiveFile: return @"DBTEAMLOGEventTypeFileRequestReceiveFile"; - case DBTEAMLOGEventTypeFileRequestRemoveDeadline: - return @"DBTEAMLOGEventTypeFileRequestRemoveDeadline"; - case DBTEAMLOGEventTypeFileRequestSend: - return @"DBTEAMLOGEventTypeFileRequestSend"; case DBTEAMLOGEventTypeGroupAddExternalId: return @"DBTEAMLOGEventTypeGroupAddExternalId"; case DBTEAMLOGEventTypeGroupAddMember: @@ -23277,6 +61784,10 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeGroupCreate"; case DBTEAMLOGEventTypeGroupDelete: return @"DBTEAMLOGEventTypeGroupDelete"; + case DBTEAMLOGEventTypeGroupDescriptionUpdated: + return @"DBTEAMLOGEventTypeGroupDescriptionUpdated"; + case DBTEAMLOGEventTypeGroupJoinPolicyUpdated: + return @"DBTEAMLOGEventTypeGroupJoinPolicyUpdated"; case DBTEAMLOGEventTypeGroupMoved: return @"DBTEAMLOGEventTypeGroupMoved"; case DBTEAMLOGEventTypeGroupRemoveExternalId: @@ -23285,8 +61796,14 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeGroupRemoveMember"; case DBTEAMLOGEventTypeGroupRename: return @"DBTEAMLOGEventTypeGroupRename"; + case DBTEAMLOGEventTypeAccountLockOrUnlocked: + return @"DBTEAMLOGEventTypeAccountLockOrUnlocked"; case DBTEAMLOGEventTypeEmmError: return @"DBTEAMLOGEventTypeEmmError"; + case DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams: + return @"DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams"; + case DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams: + return @"DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams"; case DBTEAMLOGEventTypeLoginFail: return @"DBTEAMLOGEventTypeLoginFail"; case DBTEAMLOGEventTypeLoginSuccess: @@ -23303,18 +61820,78 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeSignInAsSessionStart"; case DBTEAMLOGEventTypeSsoError: return @"DBTEAMLOGEventTypeSsoError"; + case DBTEAMLOGEventTypeBackupAdminInvitationSent: + return @"DBTEAMLOGEventTypeBackupAdminInvitationSent"; + case DBTEAMLOGEventTypeBackupInvitationOpened: + return @"DBTEAMLOGEventTypeBackupInvitationOpened"; + case DBTEAMLOGEventTypeCreateTeamInviteLink: + return @"DBTEAMLOGEventTypeCreateTeamInviteLink"; + case DBTEAMLOGEventTypeDeleteTeamInviteLink: + return @"DBTEAMLOGEventTypeDeleteTeamInviteLink"; + case DBTEAMLOGEventTypeMemberAddExternalId: + return @"DBTEAMLOGEventTypeMemberAddExternalId"; case DBTEAMLOGEventTypeMemberAddName: return @"DBTEAMLOGEventTypeMemberAddName"; case DBTEAMLOGEventTypeMemberChangeAdminRole: return @"DBTEAMLOGEventTypeMemberChangeAdminRole"; case DBTEAMLOGEventTypeMemberChangeEmail: return @"DBTEAMLOGEventTypeMemberChangeEmail"; + case DBTEAMLOGEventTypeMemberChangeExternalId: + return @"DBTEAMLOGEventTypeMemberChangeExternalId"; + case DBTEAMLOGEventTypeMemberChangeMembershipType: + return @"DBTEAMLOGEventTypeMemberChangeMembershipType"; case DBTEAMLOGEventTypeMemberChangeName: return @"DBTEAMLOGEventTypeMemberChangeName"; + case DBTEAMLOGEventTypeMemberChangeResellerRole: + return @"DBTEAMLOGEventTypeMemberChangeResellerRole"; case DBTEAMLOGEventTypeMemberChangeStatus: return @"DBTEAMLOGEventTypeMemberChangeStatus"; + case DBTEAMLOGEventTypeMemberDeleteManualContacts: + return @"DBTEAMLOGEventTypeMemberDeleteManualContacts"; + case DBTEAMLOGEventTypeMemberDeleteProfilePhoto: + return @"DBTEAMLOGEventTypeMemberDeleteProfilePhoto"; + case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: + return @"DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents"; + case DBTEAMLOGEventTypeMemberRemoveExternalId: + return @"DBTEAMLOGEventTypeMemberRemoveExternalId"; + case DBTEAMLOGEventTypeMemberSetProfilePhoto: + return @"DBTEAMLOGEventTypeMemberSetProfilePhoto"; + case DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota: + return @"DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota"; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota: + return @"DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota"; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: + return @"DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus"; + case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota: + return @"DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota"; case DBTEAMLOGEventTypeMemberSuggest: return @"DBTEAMLOGEventTypeMemberSuggest"; + case DBTEAMLOGEventTypeMemberTransferAccountContents: + return @"DBTEAMLOGEventTypeMemberTransferAccountContents"; + case DBTEAMLOGEventTypePendingSecondaryEmailAdded: + return @"DBTEAMLOGEventTypePendingSecondaryEmailAdded"; + case DBTEAMLOGEventTypeSecondaryEmailDeleted: + return @"DBTEAMLOGEventTypeSecondaryEmailDeleted"; + case DBTEAMLOGEventTypeSecondaryEmailVerified: + return @"DBTEAMLOGEventTypeSecondaryEmailVerified"; + case DBTEAMLOGEventTypeSecondaryMailsPolicyChanged: + return @"DBTEAMLOGEventTypeSecondaryMailsPolicyChanged"; + case DBTEAMLOGEventTypeBinderAddPage: + return @"DBTEAMLOGEventTypeBinderAddPage"; + case DBTEAMLOGEventTypeBinderAddSection: + return @"DBTEAMLOGEventTypeBinderAddSection"; + case DBTEAMLOGEventTypeBinderRemovePage: + return @"DBTEAMLOGEventTypeBinderRemovePage"; + case DBTEAMLOGEventTypeBinderRemoveSection: + return @"DBTEAMLOGEventTypeBinderRemoveSection"; + case DBTEAMLOGEventTypeBinderRenamePage: + return @"DBTEAMLOGEventTypeBinderRenamePage"; + case DBTEAMLOGEventTypeBinderRenameSection: + return @"DBTEAMLOGEventTypeBinderRenameSection"; + case DBTEAMLOGEventTypeBinderReorderPage: + return @"DBTEAMLOGEventTypeBinderReorderPage"; + case DBTEAMLOGEventTypeBinderReorderSection: + return @"DBTEAMLOGEventTypeBinderReorderSection"; case DBTEAMLOGEventTypePaperContentAddMember: return @"DBTEAMLOGEventTypePaperContentAddMember"; case DBTEAMLOGEventTypePaperContentAddToFolder: @@ -23355,6 +61932,8 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypePaperDocFollowed"; case DBTEAMLOGEventTypePaperDocMention: return @"DBTEAMLOGEventTypePaperDocMention"; + case DBTEAMLOGEventTypePaperDocOwnershipChanged: + return @"DBTEAMLOGEventTypePaperDocOwnershipChanged"; case DBTEAMLOGEventTypePaperDocRequestAccess: return @"DBTEAMLOGEventTypePaperDocRequestAccess"; case DBTEAMLOGEventTypePaperDocResolveComment: @@ -23373,6 +61952,12 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypePaperDocUntrashed"; case DBTEAMLOGEventTypePaperDocView: return @"DBTEAMLOGEventTypePaperDocView"; + case DBTEAMLOGEventTypePaperExternalViewAllow: + return @"DBTEAMLOGEventTypePaperExternalViewAllow"; + case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: + return @"DBTEAMLOGEventTypePaperExternalViewDefaultTeam"; + case DBTEAMLOGEventTypePaperExternalViewForbid: + return @"DBTEAMLOGEventTypePaperExternalViewForbid"; case DBTEAMLOGEventTypePaperFolderChangeSubscription: return @"DBTEAMLOGEventTypePaperFolderChangeSubscription"; case DBTEAMLOGEventTypePaperFolderDeleted: @@ -23381,22 +61966,76 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypePaperFolderFollowed"; case DBTEAMLOGEventTypePaperFolderTeamInvite: return @"DBTEAMLOGEventTypePaperFolderTeamInvite"; + case DBTEAMLOGEventTypePaperPublishedLinkChangePermission: + return @"DBTEAMLOGEventTypePaperPublishedLinkChangePermission"; + case DBTEAMLOGEventTypePaperPublishedLinkCreate: + return @"DBTEAMLOGEventTypePaperPublishedLinkCreate"; + case DBTEAMLOGEventTypePaperPublishedLinkDisabled: + return @"DBTEAMLOGEventTypePaperPublishedLinkDisabled"; + case DBTEAMLOGEventTypePaperPublishedLinkView: + return @"DBTEAMLOGEventTypePaperPublishedLinkView"; case DBTEAMLOGEventTypePasswordChange: return @"DBTEAMLOGEventTypePasswordChange"; case DBTEAMLOGEventTypePasswordReset: return @"DBTEAMLOGEventTypePasswordReset"; case DBTEAMLOGEventTypePasswordResetAll: return @"DBTEAMLOGEventTypePasswordResetAll"; + case DBTEAMLOGEventTypeClassificationCreateReport: + return @"DBTEAMLOGEventTypeClassificationCreateReport"; + case DBTEAMLOGEventTypeClassificationCreateReportFail: + return @"DBTEAMLOGEventTypeClassificationCreateReportFail"; case DBTEAMLOGEventTypeEmmCreateExceptionsReport: return @"DBTEAMLOGEventTypeEmmCreateExceptionsReport"; case DBTEAMLOGEventTypeEmmCreateUsageReport: return @"DBTEAMLOGEventTypeEmmCreateUsageReport"; + case DBTEAMLOGEventTypeExportMembersReport: + return @"DBTEAMLOGEventTypeExportMembersReport"; + case DBTEAMLOGEventTypeExportMembersReportFail: + return @"DBTEAMLOGEventTypeExportMembersReportFail"; + case DBTEAMLOGEventTypeExternalSharingCreateReport: + return @"DBTEAMLOGEventTypeExternalSharingCreateReport"; + case DBTEAMLOGEventTypeExternalSharingReportFailed: + return @"DBTEAMLOGEventTypeExternalSharingReportFailed"; + case DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport: + return @"DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport"; + case DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed: + return @"DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed"; + case DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport: + return @"DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport"; + case DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed: + return @"DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed"; + case DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport: + return @"DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport"; + case DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed: + return @"DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed"; + case DBTEAMLOGEventTypeOutdatedLinkViewCreateReport: + return @"DBTEAMLOGEventTypeOutdatedLinkViewCreateReport"; + case DBTEAMLOGEventTypeOutdatedLinkViewReportFailed: + return @"DBTEAMLOGEventTypeOutdatedLinkViewReportFailed"; + case DBTEAMLOGEventTypePaperAdminExportStart: + return @"DBTEAMLOGEventTypePaperAdminExportStart"; + case DBTEAMLOGEventTypeRansomwareAlertCreateReport: + return @"DBTEAMLOGEventTypeRansomwareAlertCreateReport"; + case DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed: + return @"DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed"; case DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport: return @"DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport"; case DBTEAMLOGEventTypeTeamActivityCreateReport: return @"DBTEAMLOGEventTypeTeamActivityCreateReport"; + case DBTEAMLOGEventTypeTeamActivityCreateReportFail: + return @"DBTEAMLOGEventTypeTeamActivityCreateReportFail"; case DBTEAMLOGEventTypeCollectionShare: return @"DBTEAMLOGEventTypeCollectionShare"; + case DBTEAMLOGEventTypeFileTransfersFileAdd: + return @"DBTEAMLOGEventTypeFileTransfersFileAdd"; + case DBTEAMLOGEventTypeFileTransfersTransferDelete: + return @"DBTEAMLOGEventTypeFileTransfersTransferDelete"; + case DBTEAMLOGEventTypeFileTransfersTransferDownload: + return @"DBTEAMLOGEventTypeFileTransfersTransferDownload"; + case DBTEAMLOGEventTypeFileTransfersTransferSend: + return @"DBTEAMLOGEventTypeFileTransfersTransferSend"; + case DBTEAMLOGEventTypeFileTransfersTransferView: + return @"DBTEAMLOGEventTypeFileTransfersTransferView"; case DBTEAMLOGEventTypeNoteAclInviteOnly: return @"DBTEAMLOGEventTypeNoteAclInviteOnly"; case DBTEAMLOGEventTypeNoteAclLink: @@ -23409,16 +62048,28 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeNoteShareReceive"; case DBTEAMLOGEventTypeOpenNoteShared: return @"DBTEAMLOGEventTypeOpenNoteShared"; + case DBTEAMLOGEventTypeReplayFileSharedLinkCreated: + return @"DBTEAMLOGEventTypeReplayFileSharedLinkCreated"; + case DBTEAMLOGEventTypeReplayFileSharedLinkModified: + return @"DBTEAMLOGEventTypeReplayFileSharedLinkModified"; + case DBTEAMLOGEventTypeReplayProjectTeamAdd: + return @"DBTEAMLOGEventTypeReplayProjectTeamAdd"; + case DBTEAMLOGEventTypeReplayProjectTeamDelete: + return @"DBTEAMLOGEventTypeReplayProjectTeamDelete"; case DBTEAMLOGEventTypeSfAddGroup: return @"DBTEAMLOGEventTypeSfAddGroup"; case DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks: return @"DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks"; + case DBTEAMLOGEventTypeSfExternalInviteWarn: + return @"DBTEAMLOGEventTypeSfExternalInviteWarn"; + case DBTEAMLOGEventTypeSfFbInvite: + return @"DBTEAMLOGEventTypeSfFbInvite"; + case DBTEAMLOGEventTypeSfFbInviteChangeRole: + return @"DBTEAMLOGEventTypeSfFbInviteChangeRole"; + case DBTEAMLOGEventTypeSfFbUninvite: + return @"DBTEAMLOGEventTypeSfFbUninvite"; case DBTEAMLOGEventTypeSfInviteGroup: return @"DBTEAMLOGEventTypeSfInviteGroup"; - case DBTEAMLOGEventTypeSfNest: - return @"DBTEAMLOGEventTypeSfNest"; - case DBTEAMLOGEventTypeSfTeamDecline: - return @"DBTEAMLOGEventTypeSfTeamDecline"; case DBTEAMLOGEventTypeSfTeamGrantAccess: return @"DBTEAMLOGEventTypeSfTeamGrantAccess"; case DBTEAMLOGEventTypeSfTeamInvite: @@ -23461,8 +62112,8 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeSharedContentDownload"; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: return @"DBTEAMLOGEventTypeSharedContentRelinquishMembership"; - case DBTEAMLOGEventTypeSharedContentRemoveInvitee: - return @"DBTEAMLOGEventTypeSharedContentRemoveInvitee"; + case DBTEAMLOGEventTypeSharedContentRemoveInvitees: + return @"DBTEAMLOGEventTypeSharedContentRemoveInvitees"; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: return @"DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry"; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: @@ -23471,56 +62122,128 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeSharedContentRemoveMember"; case DBTEAMLOGEventTypeSharedContentRequestAccess: return @"DBTEAMLOGEventTypeSharedContentRequestAccess"; + case DBTEAMLOGEventTypeSharedContentRestoreInvitees: + return @"DBTEAMLOGEventTypeSharedContentRestoreInvitees"; + case DBTEAMLOGEventTypeSharedContentRestoreMember: + return @"DBTEAMLOGEventTypeSharedContentRestoreMember"; case DBTEAMLOGEventTypeSharedContentUnshare: return @"DBTEAMLOGEventTypeSharedContentUnshare"; case DBTEAMLOGEventTypeSharedContentView: return @"DBTEAMLOGEventTypeSharedContentView"; - case DBTEAMLOGEventTypeSharedFolderChangeConfidentiality: - return @"DBTEAMLOGEventTypeSharedFolderChangeConfidentiality"; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: return @"DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy"; - case DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy: - return @"DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy"; - case DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy: - return @"DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy"; + case DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy: + return @"DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy"; + case DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy: + return @"DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy"; + case DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy: + return @"DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy"; case DBTEAMLOGEventTypeSharedFolderCreate: return @"DBTEAMLOGEventTypeSharedFolderCreate"; + case DBTEAMLOGEventTypeSharedFolderDeclineInvitation: + return @"DBTEAMLOGEventTypeSharedFolderDeclineInvitation"; case DBTEAMLOGEventTypeSharedFolderMount: return @"DBTEAMLOGEventTypeSharedFolderMount"; + case DBTEAMLOGEventTypeSharedFolderNest: + return @"DBTEAMLOGEventTypeSharedFolderNest"; case DBTEAMLOGEventTypeSharedFolderTransferOwnership: return @"DBTEAMLOGEventTypeSharedFolderTransferOwnership"; case DBTEAMLOGEventTypeSharedFolderUnmount: return @"DBTEAMLOGEventTypeSharedFolderUnmount"; + case DBTEAMLOGEventTypeSharedLinkAddExpiry: + return @"DBTEAMLOGEventTypeSharedLinkAddExpiry"; + case DBTEAMLOGEventTypeSharedLinkChangeExpiry: + return @"DBTEAMLOGEventTypeSharedLinkChangeExpiry"; + case DBTEAMLOGEventTypeSharedLinkChangeVisibility: + return @"DBTEAMLOGEventTypeSharedLinkChangeVisibility"; + case DBTEAMLOGEventTypeSharedLinkCopy: + return @"DBTEAMLOGEventTypeSharedLinkCopy"; + case DBTEAMLOGEventTypeSharedLinkCreate: + return @"DBTEAMLOGEventTypeSharedLinkCreate"; + case DBTEAMLOGEventTypeSharedLinkDisable: + return @"DBTEAMLOGEventTypeSharedLinkDisable"; + case DBTEAMLOGEventTypeSharedLinkDownload: + return @"DBTEAMLOGEventTypeSharedLinkDownload"; + case DBTEAMLOGEventTypeSharedLinkRemoveExpiry: + return @"DBTEAMLOGEventTypeSharedLinkRemoveExpiry"; + case DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration: + return @"DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration"; + case DBTEAMLOGEventTypeSharedLinkSettingsAddPassword: + return @"DBTEAMLOGEventTypeSharedLinkSettingsAddPassword"; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled: + return @"DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled"; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled: + return @"DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled"; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience: + return @"DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience"; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration: + return @"DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration"; + case DBTEAMLOGEventTypeSharedLinkSettingsChangePassword: + return @"DBTEAMLOGEventTypeSharedLinkSettingsChangePassword"; + case DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration: + return @"DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration"; + case DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword: + return @"DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword"; + case DBTEAMLOGEventTypeSharedLinkShare: + return @"DBTEAMLOGEventTypeSharedLinkShare"; + case DBTEAMLOGEventTypeSharedLinkView: + return @"DBTEAMLOGEventTypeSharedLinkView"; case DBTEAMLOGEventTypeSharedNoteOpened: return @"DBTEAMLOGEventTypeSharedNoteOpened"; - case DBTEAMLOGEventTypeShmodelAppCreate: - return @"DBTEAMLOGEventTypeShmodelAppCreate"; - case DBTEAMLOGEventTypeShmodelCreate: - return @"DBTEAMLOGEventTypeShmodelCreate"; - case DBTEAMLOGEventTypeShmodelDisable: - return @"DBTEAMLOGEventTypeShmodelDisable"; - case DBTEAMLOGEventTypeShmodelFbShare: - return @"DBTEAMLOGEventTypeShmodelFbShare"; + case DBTEAMLOGEventTypeShmodelDisableDownloads: + return @"DBTEAMLOGEventTypeShmodelDisableDownloads"; + case DBTEAMLOGEventTypeShmodelEnableDownloads: + return @"DBTEAMLOGEventTypeShmodelEnableDownloads"; case DBTEAMLOGEventTypeShmodelGroupShare: return @"DBTEAMLOGEventTypeShmodelGroupShare"; - case DBTEAMLOGEventTypeShmodelRemoveExpiration: - return @"DBTEAMLOGEventTypeShmodelRemoveExpiration"; - case DBTEAMLOGEventTypeShmodelSetExpiration: - return @"DBTEAMLOGEventTypeShmodelSetExpiration"; - case DBTEAMLOGEventTypeShmodelTeamCopy: - return @"DBTEAMLOGEventTypeShmodelTeamCopy"; - case DBTEAMLOGEventTypeShmodelTeamDownload: - return @"DBTEAMLOGEventTypeShmodelTeamDownload"; - case DBTEAMLOGEventTypeShmodelTeamShare: - return @"DBTEAMLOGEventTypeShmodelTeamShare"; - case DBTEAMLOGEventTypeShmodelTeamView: - return @"DBTEAMLOGEventTypeShmodelTeamView"; - case DBTEAMLOGEventTypeShmodelVisibilityPassword: - return @"DBTEAMLOGEventTypeShmodelVisibilityPassword"; - case DBTEAMLOGEventTypeShmodelVisibilityPublic: - return @"DBTEAMLOGEventTypeShmodelVisibilityPublic"; - case DBTEAMLOGEventTypeShmodelVisibilityTeamOnly: - return @"DBTEAMLOGEventTypeShmodelVisibilityTeamOnly"; + case DBTEAMLOGEventTypeShowcaseAccessGranted: + return @"DBTEAMLOGEventTypeShowcaseAccessGranted"; + case DBTEAMLOGEventTypeShowcaseAddMember: + return @"DBTEAMLOGEventTypeShowcaseAddMember"; + case DBTEAMLOGEventTypeShowcaseArchived: + return @"DBTEAMLOGEventTypeShowcaseArchived"; + case DBTEAMLOGEventTypeShowcaseCreated: + return @"DBTEAMLOGEventTypeShowcaseCreated"; + case DBTEAMLOGEventTypeShowcaseDeleteComment: + return @"DBTEAMLOGEventTypeShowcaseDeleteComment"; + case DBTEAMLOGEventTypeShowcaseEdited: + return @"DBTEAMLOGEventTypeShowcaseEdited"; + case DBTEAMLOGEventTypeShowcaseEditComment: + return @"DBTEAMLOGEventTypeShowcaseEditComment"; + case DBTEAMLOGEventTypeShowcaseFileAdded: + return @"DBTEAMLOGEventTypeShowcaseFileAdded"; + case DBTEAMLOGEventTypeShowcaseFileDownload: + return @"DBTEAMLOGEventTypeShowcaseFileDownload"; + case DBTEAMLOGEventTypeShowcaseFileRemoved: + return @"DBTEAMLOGEventTypeShowcaseFileRemoved"; + case DBTEAMLOGEventTypeShowcaseFileView: + return @"DBTEAMLOGEventTypeShowcaseFileView"; + case DBTEAMLOGEventTypeShowcasePermanentlyDeleted: + return @"DBTEAMLOGEventTypeShowcasePermanentlyDeleted"; + case DBTEAMLOGEventTypeShowcasePostComment: + return @"DBTEAMLOGEventTypeShowcasePostComment"; + case DBTEAMLOGEventTypeShowcaseRemoveMember: + return @"DBTEAMLOGEventTypeShowcaseRemoveMember"; + case DBTEAMLOGEventTypeShowcaseRenamed: + return @"DBTEAMLOGEventTypeShowcaseRenamed"; + case DBTEAMLOGEventTypeShowcaseRequestAccess: + return @"DBTEAMLOGEventTypeShowcaseRequestAccess"; + case DBTEAMLOGEventTypeShowcaseResolveComment: + return @"DBTEAMLOGEventTypeShowcaseResolveComment"; + case DBTEAMLOGEventTypeShowcaseRestored: + return @"DBTEAMLOGEventTypeShowcaseRestored"; + case DBTEAMLOGEventTypeShowcaseTrashed: + return @"DBTEAMLOGEventTypeShowcaseTrashed"; + case DBTEAMLOGEventTypeShowcaseTrashedDeprecated: + return @"DBTEAMLOGEventTypeShowcaseTrashedDeprecated"; + case DBTEAMLOGEventTypeShowcaseUnresolveComment: + return @"DBTEAMLOGEventTypeShowcaseUnresolveComment"; + case DBTEAMLOGEventTypeShowcaseUntrashed: + return @"DBTEAMLOGEventTypeShowcaseUntrashed"; + case DBTEAMLOGEventTypeShowcaseUntrashedDeprecated: + return @"DBTEAMLOGEventTypeShowcaseUntrashedDeprecated"; + case DBTEAMLOGEventTypeShowcaseView: + return @"DBTEAMLOGEventTypeShowcaseView"; case DBTEAMLOGEventTypeSsoAddCert: return @"DBTEAMLOGEventTypeSsoAddCert"; case DBTEAMLOGEventTypeSsoAddLoginUrl: @@ -23551,16 +62274,34 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeTeamFolderPermanentlyDelete"; case DBTEAMLOGEventTypeTeamFolderRename: return @"DBTEAMLOGEventTypeTeamFolderRename"; + case DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged: + return @"DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged"; case DBTEAMLOGEventTypeAccountCaptureChangePolicy: return @"DBTEAMLOGEventTypeAccountCaptureChangePolicy"; + case DBTEAMLOGEventTypeAdminEmailRemindersChanged: + return @"DBTEAMLOGEventTypeAdminEmailRemindersChanged"; case DBTEAMLOGEventTypeAllowDownloadDisabled: return @"DBTEAMLOGEventTypeAllowDownloadDisabled"; case DBTEAMLOGEventTypeAllowDownloadEnabled: return @"DBTEAMLOGEventTypeAllowDownloadEnabled"; + case DBTEAMLOGEventTypeAppPermissionsChanged: + return @"DBTEAMLOGEventTypeAppPermissionsChanged"; + case DBTEAMLOGEventTypeCameraUploadsPolicyChanged: + return @"DBTEAMLOGEventTypeCameraUploadsPolicyChanged"; + case DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged: + return @"DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged"; + case DBTEAMLOGEventTypeClassificationChangePolicy: + return @"DBTEAMLOGEventTypeClassificationChangePolicy"; + case DBTEAMLOGEventTypeComputerBackupPolicyChanged: + return @"DBTEAMLOGEventTypeComputerBackupPolicyChanged"; + case DBTEAMLOGEventTypeContentAdministrationPolicyChanged: + return @"DBTEAMLOGEventTypeContentAdministrationPolicyChanged"; case DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy: return @"DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy"; case DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy: return @"DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy"; + case DBTEAMLOGEventTypeDeviceApprovalsAddException: + return @"DBTEAMLOGEventTypeDeviceApprovalsAddException"; case DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy: return @"DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy"; case DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy: @@ -23569,6 +62310,16 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction"; case DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction: return @"DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction"; + case DBTEAMLOGEventTypeDeviceApprovalsRemoveException: + return @"DBTEAMLOGEventTypeDeviceApprovalsRemoveException"; + case DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers: + return @"DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers"; + case DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers: + return @"DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers"; + case DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged: + return @"DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged"; + case DBTEAMLOGEventTypeEmailIngestPolicyChanged: + return @"DBTEAMLOGEventTypeEmailIngestPolicyChanged"; case DBTEAMLOGEventTypeEmmAddException: return @"DBTEAMLOGEventTypeEmmAddException"; case DBTEAMLOGEventTypeEmmChangePolicy: @@ -23577,22 +62328,40 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeEmmRemoveException"; case DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy: return @"DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy"; + case DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged: + return @"DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged"; case DBTEAMLOGEventTypeFileCommentsChangePolicy: return @"DBTEAMLOGEventTypeFileCommentsChangePolicy"; + case DBTEAMLOGEventTypeFileLockingPolicyChanged: + return @"DBTEAMLOGEventTypeFileLockingPolicyChanged"; + case DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged: + return @"DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged"; case DBTEAMLOGEventTypeFileRequestsChangePolicy: return @"DBTEAMLOGEventTypeFileRequestsChangePolicy"; case DBTEAMLOGEventTypeFileRequestsEmailsEnabled: return @"DBTEAMLOGEventTypeFileRequestsEmailsEnabled"; case DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly: return @"DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly"; + case DBTEAMLOGEventTypeFileTransfersPolicyChanged: + return @"DBTEAMLOGEventTypeFileTransfersPolicyChanged"; + case DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged: + return @"DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged"; case DBTEAMLOGEventTypeGoogleSsoChangePolicy: return @"DBTEAMLOGEventTypeGoogleSsoChangePolicy"; case DBTEAMLOGEventTypeGroupUserManagementChangePolicy: return @"DBTEAMLOGEventTypeGroupUserManagementChangePolicy"; + case DBTEAMLOGEventTypeIntegrationPolicyChanged: + return @"DBTEAMLOGEventTypeIntegrationPolicyChanged"; + case DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged: + return @"DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged"; case DBTEAMLOGEventTypeMemberRequestsChangePolicy: return @"DBTEAMLOGEventTypeMemberRequestsChangePolicy"; + case DBTEAMLOGEventTypeMemberSendInvitePolicyChanged: + return @"DBTEAMLOGEventTypeMemberSendInvitePolicyChanged"; case DBTEAMLOGEventTypeMemberSpaceLimitsAddException: return @"DBTEAMLOGEventTypeMemberSpaceLimitsAddException"; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy: + return @"DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy"; case DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy: return @"DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy"; case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException: @@ -23611,14 +62380,44 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypePaperChangeMemberPolicy"; case DBTEAMLOGEventTypePaperChangePolicy: return @"DBTEAMLOGEventTypePaperChangePolicy"; + case DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged: + return @"DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged"; + case DBTEAMLOGEventTypePaperDesktopPolicyChanged: + return @"DBTEAMLOGEventTypePaperDesktopPolicyChanged"; + case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: + return @"DBTEAMLOGEventTypePaperEnabledUsersGroupAddition"; + case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: + return @"DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval"; + case DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy: + return @"DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy"; case DBTEAMLOGEventTypePermanentDeleteChangePolicy: return @"DBTEAMLOGEventTypePermanentDeleteChangePolicy"; + case DBTEAMLOGEventTypeResellerSupportChangePolicy: + return @"DBTEAMLOGEventTypeResellerSupportChangePolicy"; + case DBTEAMLOGEventTypeRewindPolicyChanged: + return @"DBTEAMLOGEventTypeRewindPolicyChanged"; + case DBTEAMLOGEventTypeSendForSignaturePolicyChanged: + return @"DBTEAMLOGEventTypeSendForSignaturePolicyChanged"; case DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy: return @"DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy"; + case DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy: + return @"DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy"; + case DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy: + return @"DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy"; + case DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy: + return @"DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy"; case DBTEAMLOGEventTypeSharingChangeLinkPolicy: return @"DBTEAMLOGEventTypeSharingChangeLinkPolicy"; case DBTEAMLOGEventTypeSharingChangeMemberPolicy: return @"DBTEAMLOGEventTypeSharingChangeMemberPolicy"; + case DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy: + return @"DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy"; + case DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy: + return @"DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy"; + case DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy: + return @"DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy"; + case DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged: + return @"DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged"; case DBTEAMLOGEventTypeSmartSyncChangePolicy: return @"DBTEAMLOGEventTypeSmartSyncChangePolicy"; case DBTEAMLOGEventTypeSmartSyncNotOptOut: @@ -23627,22 +62426,54 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeSmartSyncOptOut"; case DBTEAMLOGEventTypeSsoChangePolicy: return @"DBTEAMLOGEventTypeSsoChangePolicy"; + case DBTEAMLOGEventTypeTeamBrandingPolicyChanged: + return @"DBTEAMLOGEventTypeTeamBrandingPolicyChanged"; + case DBTEAMLOGEventTypeTeamExtensionsPolicyChanged: + return @"DBTEAMLOGEventTypeTeamExtensionsPolicyChanged"; + case DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged: + return @"DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged"; + case DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged: + return @"DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged"; + case DBTEAMLOGEventTypeTfaAddException: + return @"DBTEAMLOGEventTypeTfaAddException"; case DBTEAMLOGEventTypeTfaChangePolicy: return @"DBTEAMLOGEventTypeTfaChangePolicy"; + case DBTEAMLOGEventTypeTfaRemoveException: + return @"DBTEAMLOGEventTypeTfaRemoveException"; case DBTEAMLOGEventTypeTwoAccountChangePolicy: return @"DBTEAMLOGEventTypeTwoAccountChangePolicy"; + case DBTEAMLOGEventTypeViewerInfoPolicyChanged: + return @"DBTEAMLOGEventTypeViewerInfoPolicyChanged"; + case DBTEAMLOGEventTypeWatermarkingPolicyChanged: + return @"DBTEAMLOGEventTypeWatermarkingPolicyChanged"; + case DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit: + return @"DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit"; case DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy: return @"DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy"; case DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy: return @"DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy"; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful: + return @"DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful"; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful: + return @"DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful"; + case DBTEAMLOGEventTypeTeamMergeFrom: + return @"DBTEAMLOGEventTypeTeamMergeFrom"; + case DBTEAMLOGEventTypeTeamMergeTo: + return @"DBTEAMLOGEventTypeTeamMergeTo"; + case DBTEAMLOGEventTypeTeamProfileAddBackground: + return @"DBTEAMLOGEventTypeTeamProfileAddBackground"; case DBTEAMLOGEventTypeTeamProfileAddLogo: return @"DBTEAMLOGEventTypeTeamProfileAddLogo"; + case DBTEAMLOGEventTypeTeamProfileChangeBackground: + return @"DBTEAMLOGEventTypeTeamProfileChangeBackground"; case DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage: return @"DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage"; case DBTEAMLOGEventTypeTeamProfileChangeLogo: return @"DBTEAMLOGEventTypeTeamProfileChangeLogo"; case DBTEAMLOGEventTypeTeamProfileChangeName: return @"DBTEAMLOGEventTypeTeamProfileChangeName"; + case DBTEAMLOGEventTypeTeamProfileRemoveBackground: + return @"DBTEAMLOGEventTypeTeamProfileRemoveBackground"; case DBTEAMLOGEventTypeTeamProfileRemoveLogo: return @"DBTEAMLOGEventTypeTeamProfileRemoveLogo"; case DBTEAMLOGEventTypeTfaAddBackupPhone: @@ -23659,6 +62490,56 @@ - (NSString *)tagName { return @"DBTEAMLOGEventTypeTfaRemoveSecurityKey"; case DBTEAMLOGEventTypeTfaReset: return @"DBTEAMLOGEventTypeTfaReset"; + case DBTEAMLOGEventTypeChangedEnterpriseAdminRole: + return @"DBTEAMLOGEventTypeChangedEnterpriseAdminRole"; + case DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus: + return @"DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus"; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSession: + return @"DBTEAMLOGEventTypeEndedEnterpriseAdminSession"; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated: + return @"DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated"; + case DBTEAMLOGEventTypeEnterpriseSettingsLocking: + return @"DBTEAMLOGEventTypeEnterpriseSettingsLocking"; + case DBTEAMLOGEventTypeGuestAdminChangeStatus: + return @"DBTEAMLOGEventTypeGuestAdminChangeStatus"; + case DBTEAMLOGEventTypeStartedEnterpriseAdminSession: + return @"DBTEAMLOGEventTypeStartedEnterpriseAdminSession"; + case DBTEAMLOGEventTypeTeamMergeRequestAccepted: + return @"DBTEAMLOGEventTypeTeamMergeRequestAccepted"; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled: + return @"DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled"; + case DBTEAMLOGEventTypeTeamMergeRequestCanceled: + return @"DBTEAMLOGEventTypeTeamMergeRequestCanceled"; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestExpired: + return @"DBTEAMLOGEventTypeTeamMergeRequestExpired"; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestReminder: + return @"DBTEAMLOGEventTypeTeamMergeRequestReminder"; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestRevoked: + return @"DBTEAMLOGEventTypeTeamMergeRequestRevoked"; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam"; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam"; case DBTEAMLOGEventTypeOther: return @"DBTEAMLOGEventTypeOther"; } @@ -23668,17 +62549,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGEventTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGEventTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGEventTypeSerializer serialize:self] description]; } @@ -23697,548 +62578,1518 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGEventTypeMemberChangeMembershipType: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeMemberTransferAccountContents: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperAdminExportStart: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperExternalViewAllow: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypePaperExternalViewForbid: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSfExternalInviteWarn: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeTeamMergeFrom: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeTeamMergeTo: - result = prime * result + [[self tagName] hash]; + case DBTEAMLOGEventTypeAdminAlertingAlertStateChanged: + result = prime * result + [self.adminAlertingAlertStateChanged hash]; + break; + case DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig: + result = prime * result + [self.adminAlertingChangedAlertConfig hash]; + break; + case DBTEAMLOGEventTypeAdminAlertingTriggeredAlert: + result = prime * result + [self.adminAlertingTriggeredAlert hash]; + break; + case DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted: + result = prime * result + [self.ransomwareRestoreProcessCompleted hash]; + break; + case DBTEAMLOGEventTypeRansomwareRestoreProcessStarted: + result = prime * result + [self.ransomwareRestoreProcessStarted hash]; + break; + case DBTEAMLOGEventTypeAppBlockedByPermissions: + result = prime * result + [self.appBlockedByPermissions hash]; + break; case DBTEAMLOGEventTypeAppLinkTeam: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.appLinkTeam hash]; + break; case DBTEAMLOGEventTypeAppLinkUser: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.appLinkUser hash]; + break; case DBTEAMLOGEventTypeAppUnlinkTeam: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.appUnlinkTeam hash]; + break; case DBTEAMLOGEventTypeAppUnlinkUser: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.appUnlinkUser hash]; + break; + case DBTEAMLOGEventTypeIntegrationConnected: + result = prime * result + [self.integrationConnected hash]; + break; + case DBTEAMLOGEventTypeIntegrationDisconnected: + result = prime * result + [self.integrationDisconnected hash]; + break; case DBTEAMLOGEventTypeFileAddComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileAddComment hash]; + break; case DBTEAMLOGEventTypeFileChangeCommentSubscription: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileChangeCommentSubscription hash]; + break; case DBTEAMLOGEventTypeFileDeleteComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileDeleteComment hash]; + break; + case DBTEAMLOGEventTypeFileEditComment: + result = prime * result + [self.fileEditComment hash]; + break; case DBTEAMLOGEventTypeFileLikeComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileLikeComment hash]; + break; case DBTEAMLOGEventTypeFileResolveComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileResolveComment hash]; + break; case DBTEAMLOGEventTypeFileUnlikeComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileUnlikeComment hash]; + break; case DBTEAMLOGEventTypeFileUnresolveComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileUnresolveComment hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyAddFolders: + result = prime * result + [self.governancePolicyAddFolders hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed: + result = prime * result + [self.governancePolicyAddFolderFailed hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyContentDisposed: + result = prime * result + [self.governancePolicyContentDisposed hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyCreate: + result = prime * result + [self.governancePolicyCreate hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyDelete: + result = prime * result + [self.governancePolicyDelete hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyEditDetails: + result = prime * result + [self.governancePolicyEditDetails hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyEditDuration: + result = prime * result + [self.governancePolicyEditDuration hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyExportCreated: + result = prime * result + [self.governancePolicyExportCreated hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyExportRemoved: + result = prime * result + [self.governancePolicyExportRemoved hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyRemoveFolders: + result = prime * result + [self.governancePolicyRemoveFolders hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyReportCreated: + result = prime * result + [self.governancePolicyReportCreated hash]; + break; + case DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded: + result = prime * result + [self.governancePolicyZipPartDownloaded hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsActivateAHold: + result = prime * result + [self.legalHoldsActivateAHold hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsAddMembers: + result = prime * result + [self.legalHoldsAddMembers hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails: + result = prime * result + [self.legalHoldsChangeHoldDetails hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldName: + result = prime * result + [self.legalHoldsChangeHoldName hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsExportAHold: + result = prime * result + [self.legalHoldsExportAHold hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsExportCancelled: + result = prime * result + [self.legalHoldsExportCancelled hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsExportDownloaded: + result = prime * result + [self.legalHoldsExportDownloaded hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsExportRemoved: + result = prime * result + [self.legalHoldsExportRemoved hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsReleaseAHold: + result = prime * result + [self.legalHoldsReleaseAHold hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsRemoveMembers: + result = prime * result + [self.legalHoldsRemoveMembers hash]; + break; + case DBTEAMLOGEventTypeLegalHoldsReportAHold: + result = prime * result + [self.legalHoldsReportAHold hash]; + break; case DBTEAMLOGEventTypeDeviceChangeIpDesktop: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceChangeIpDesktop hash]; + break; case DBTEAMLOGEventTypeDeviceChangeIpMobile: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceChangeIpMobile hash]; + break; case DBTEAMLOGEventTypeDeviceChangeIpWeb: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceChangeIpWeb hash]; + break; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceDeleteOnUnlinkFail hash]; + break; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceDeleteOnUnlinkSuccess hash]; + break; case DBTEAMLOGEventTypeDeviceLinkFail: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceLinkFail hash]; + break; case DBTEAMLOGEventTypeDeviceLinkSuccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceLinkSuccess hash]; + break; case DBTEAMLOGEventTypeDeviceManagementDisabled: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceManagementDisabled hash]; + break; case DBTEAMLOGEventTypeDeviceManagementEnabled: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceManagementEnabled hash]; + break; + case DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged: + result = prime * result + [self.deviceSyncBackupStatusChanged hash]; + break; case DBTEAMLOGEventTypeDeviceUnlink: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceUnlink hash]; + break; + case DBTEAMLOGEventTypeDropboxPasswordsExported: + result = prime * result + [self.dropboxPasswordsExported hash]; + break; + case DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled: + result = prime * result + [self.dropboxPasswordsNewDeviceEnrolled hash]; + break; case DBTEAMLOGEventTypeEmmRefreshAuthToken: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmRefreshAuthToken hash]; + break; + case DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked: + result = prime * result + [self.externalDriveBackupEligibilityStatusChecked hash]; + break; + case DBTEAMLOGEventTypeExternalDriveBackupStatusChanged: + result = prime * result + [self.externalDriveBackupStatusChanged hash]; + break; case DBTEAMLOGEventTypeAccountCaptureChangeAvailability: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.accountCaptureChangeAvailability hash]; + break; case DBTEAMLOGEventTypeAccountCaptureMigrateAccount: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.accountCaptureMigrateAccount hash]; + break; + case DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent: + result = prime * result + [self.accountCaptureNotificationEmailsSent hash]; + break; case DBTEAMLOGEventTypeAccountCaptureRelinquishAccount: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.accountCaptureRelinquishAccount hash]; + break; case DBTEAMLOGEventTypeDisabledDomainInvites: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.disabledDomainInvites hash]; + break; case DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesApproveRequestToJoinTeam hash]; + break; case DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesDeclineRequestToJoinTeam hash]; + break; case DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesEmailExistingUsers hash]; + break; case DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesRequestToJoinTeam hash]; + break; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesSetInviteNewUserPrefToNo hash]; + break; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainInvitesSetInviteNewUserPrefToYes hash]; + break; case DBTEAMLOGEventTypeDomainVerificationAddDomainFail: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainVerificationAddDomainFail hash]; + break; case DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainVerificationAddDomainSuccess hash]; + break; case DBTEAMLOGEventTypeDomainVerificationRemoveDomain: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.domainVerificationRemoveDomain hash]; + break; case DBTEAMLOGEventTypeEnabledDomainInvites: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.enabledDomainInvites hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion: + result = prime * result + [self.teamEncryptionKeyCancelKeyDeletion hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey: + result = prime * result + [self.teamEncryptionKeyCreateKey hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey: + result = prime * result + [self.teamEncryptionKeyDeleteKey hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey: + result = prime * result + [self.teamEncryptionKeyDisableKey hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey: + result = prime * result + [self.teamEncryptionKeyEnableKey hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey: + result = prime * result + [self.teamEncryptionKeyRotateKey hash]; + break; + case DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion: + result = prime * result + [self.teamEncryptionKeyScheduleKeyDeletion hash]; + break; + case DBTEAMLOGEventTypeApplyNamingConvention: + result = prime * result + [self.applyNamingConvention hash]; + break; case DBTEAMLOGEventTypeCreateFolder: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.createFolder hash]; + break; case DBTEAMLOGEventTypeFileAdd: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileAdd hash]; + break; + case DBTEAMLOGEventTypeFileAddFromAutomation: + result = prime * result + [self.fileAddFromAutomation hash]; + break; case DBTEAMLOGEventTypeFileCopy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileCopy hash]; + break; case DBTEAMLOGEventTypeFileDelete: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileDelete hash]; + break; case DBTEAMLOGEventTypeFileDownload: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileDownload hash]; + break; case DBTEAMLOGEventTypeFileEdit: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileEdit hash]; + break; case DBTEAMLOGEventTypeFileGetCopyReference: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileGetCopyReference hash]; + break; + case DBTEAMLOGEventTypeFileLockingLockStatusChanged: + result = prime * result + [self.fileLockingLockStatusChanged hash]; + break; case DBTEAMLOGEventTypeFileMove: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileMove hash]; + break; case DBTEAMLOGEventTypeFilePermanentlyDelete: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.filePermanentlyDelete hash]; + break; case DBTEAMLOGEventTypeFilePreview: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.filePreview hash]; + break; case DBTEAMLOGEventTypeFileRename: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRename hash]; + break; case DBTEAMLOGEventTypeFileRestore: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRestore hash]; + break; case DBTEAMLOGEventTypeFileRevert: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRevert hash]; + break; case DBTEAMLOGEventTypeFileRollbackChanges: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRollbackChanges hash]; + break; case DBTEAMLOGEventTypeFileSaveCopyReference: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeFileRequestAddDeadline: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileSaveCopyReference hash]; + break; + case DBTEAMLOGEventTypeFolderOverviewDescriptionChanged: + result = prime * result + [self.folderOverviewDescriptionChanged hash]; + break; + case DBTEAMLOGEventTypeFolderOverviewItemPinned: + result = prime * result + [self.folderOverviewItemPinned hash]; + break; + case DBTEAMLOGEventTypeFolderOverviewItemUnpinned: + result = prime * result + [self.folderOverviewItemUnpinned hash]; + break; + case DBTEAMLOGEventTypeObjectLabelAdded: + result = prime * result + [self.objectLabelAdded hash]; + break; + case DBTEAMLOGEventTypeObjectLabelRemoved: + result = prime * result + [self.objectLabelRemoved hash]; + break; + case DBTEAMLOGEventTypeObjectLabelUpdatedValue: + result = prime * result + [self.objectLabelUpdatedValue hash]; + break; + case DBTEAMLOGEventTypeOrganizeFolderWithTidy: + result = prime * result + [self.organizeFolderWithTidy hash]; + break; + case DBTEAMLOGEventTypeReplayFileDelete: + result = prime * result + [self.replayFileDelete hash]; + break; + case DBTEAMLOGEventTypeRewindFolder: + result = prime * result + [self.rewindFolder hash]; + break; + case DBTEAMLOGEventTypeUndoNamingConvention: + result = prime * result + [self.undoNamingConvention hash]; + break; + case DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy: + result = prime * result + [self.undoOrganizeFolderWithTidy hash]; + break; + case DBTEAMLOGEventTypeUserTagsAdded: + result = prime * result + [self.userTagsAdded hash]; + break; + case DBTEAMLOGEventTypeUserTagsRemoved: + result = prime * result + [self.userTagsRemoved hash]; + break; + case DBTEAMLOGEventTypeEmailIngestReceiveFile: + result = prime * result + [self.emailIngestReceiveFile hash]; + break; case DBTEAMLOGEventTypeFileRequestChange: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeFileRequestChangeFolder: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestChange hash]; + break; case DBTEAMLOGEventTypeFileRequestClose: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestClose hash]; + break; case DBTEAMLOGEventTypeFileRequestCreate: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestCreate hash]; + break; + case DBTEAMLOGEventTypeFileRequestDelete: + result = prime * result + [self.fileRequestDelete hash]; + break; case DBTEAMLOGEventTypeFileRequestReceiveFile: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeFileRequestRemoveDeadline: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeFileRequestSend: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestReceiveFile hash]; + break; case DBTEAMLOGEventTypeGroupAddExternalId: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupAddExternalId hash]; + break; case DBTEAMLOGEventTypeGroupAddMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupAddMember hash]; + break; case DBTEAMLOGEventTypeGroupChangeExternalId: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupChangeExternalId hash]; + break; case DBTEAMLOGEventTypeGroupChangeManagementType: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupChangeManagementType hash]; + break; case DBTEAMLOGEventTypeGroupChangeMemberRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupChangeMemberRole hash]; + break; case DBTEAMLOGEventTypeGroupCreate: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupCreate hash]; + break; case DBTEAMLOGEventTypeGroupDelete: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupDelete hash]; + break; + case DBTEAMLOGEventTypeGroupDescriptionUpdated: + result = prime * result + [self.groupDescriptionUpdated hash]; + break; + case DBTEAMLOGEventTypeGroupJoinPolicyUpdated: + result = prime * result + [self.groupJoinPolicyUpdated hash]; + break; case DBTEAMLOGEventTypeGroupMoved: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupMoved hash]; + break; case DBTEAMLOGEventTypeGroupRemoveExternalId: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupRemoveExternalId hash]; + break; case DBTEAMLOGEventTypeGroupRemoveMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupRemoveMember hash]; + break; case DBTEAMLOGEventTypeGroupRename: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupRename hash]; + break; + case DBTEAMLOGEventTypeAccountLockOrUnlocked: + result = prime * result + [self.accountLockOrUnlocked hash]; + break; case DBTEAMLOGEventTypeEmmError: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmError hash]; + break; + case DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams: + result = prime * result + [self.guestAdminSignedInViaTrustedTeams hash]; + break; + case DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams: + result = prime * result + [self.guestAdminSignedOutViaTrustedTeams hash]; + break; case DBTEAMLOGEventTypeLoginFail: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.loginFail hash]; + break; case DBTEAMLOGEventTypeLoginSuccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.loginSuccess hash]; + break; case DBTEAMLOGEventTypeLogout: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.logout hash]; + break; case DBTEAMLOGEventTypeResellerSupportSessionEnd: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.resellerSupportSessionEnd hash]; + break; case DBTEAMLOGEventTypeResellerSupportSessionStart: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.resellerSupportSessionStart hash]; + break; case DBTEAMLOGEventTypeSignInAsSessionEnd: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.signInAsSessionEnd hash]; + break; case DBTEAMLOGEventTypeSignInAsSessionStart: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.signInAsSessionStart hash]; + break; case DBTEAMLOGEventTypeSsoError: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoError hash]; + break; + case DBTEAMLOGEventTypeBackupAdminInvitationSent: + result = prime * result + [self.backupAdminInvitationSent hash]; + break; + case DBTEAMLOGEventTypeBackupInvitationOpened: + result = prime * result + [self.backupInvitationOpened hash]; + break; + case DBTEAMLOGEventTypeCreateTeamInviteLink: + result = prime * result + [self.createTeamInviteLink hash]; + break; + case DBTEAMLOGEventTypeDeleteTeamInviteLink: + result = prime * result + [self.deleteTeamInviteLink hash]; + break; + case DBTEAMLOGEventTypeMemberAddExternalId: + result = prime * result + [self.memberAddExternalId hash]; + break; case DBTEAMLOGEventTypeMemberAddName: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberAddName hash]; + break; case DBTEAMLOGEventTypeMemberChangeAdminRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberChangeAdminRole hash]; + break; case DBTEAMLOGEventTypeMemberChangeEmail: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberChangeEmail hash]; + break; + case DBTEAMLOGEventTypeMemberChangeExternalId: + result = prime * result + [self.memberChangeExternalId hash]; + break; + case DBTEAMLOGEventTypeMemberChangeMembershipType: + result = prime * result + [self.memberChangeMembershipType hash]; + break; case DBTEAMLOGEventTypeMemberChangeName: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberChangeName hash]; + break; + case DBTEAMLOGEventTypeMemberChangeResellerRole: + result = prime * result + [self.memberChangeResellerRole hash]; + break; case DBTEAMLOGEventTypeMemberChangeStatus: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberChangeStatus hash]; + break; + case DBTEAMLOGEventTypeMemberDeleteManualContacts: + result = prime * result + [self.memberDeleteManualContacts hash]; + break; + case DBTEAMLOGEventTypeMemberDeleteProfilePhoto: + result = prime * result + [self.memberDeleteProfilePhoto hash]; + break; + case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: + result = prime * result + [self.memberPermanentlyDeleteAccountContents hash]; + break; + case DBTEAMLOGEventTypeMemberRemoveExternalId: + result = prime * result + [self.memberRemoveExternalId hash]; + break; + case DBTEAMLOGEventTypeMemberSetProfilePhoto: + result = prime * result + [self.memberSetProfilePhoto hash]; + break; + case DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota: + result = prime * result + [self.memberSpaceLimitsAddCustomQuota hash]; + break; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota: + result = prime * result + [self.memberSpaceLimitsChangeCustomQuota hash]; + break; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: + result = prime * result + [self.memberSpaceLimitsChangeStatus hash]; + break; + case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota: + result = prime * result + [self.memberSpaceLimitsRemoveCustomQuota hash]; + break; case DBTEAMLOGEventTypeMemberSuggest: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberSuggest hash]; + break; + case DBTEAMLOGEventTypeMemberTransferAccountContents: + result = prime * result + [self.memberTransferAccountContents hash]; + break; + case DBTEAMLOGEventTypePendingSecondaryEmailAdded: + result = prime * result + [self.pendingSecondaryEmailAdded hash]; + break; + case DBTEAMLOGEventTypeSecondaryEmailDeleted: + result = prime * result + [self.secondaryEmailDeleted hash]; + break; + case DBTEAMLOGEventTypeSecondaryEmailVerified: + result = prime * result + [self.secondaryEmailVerified hash]; + break; + case DBTEAMLOGEventTypeSecondaryMailsPolicyChanged: + result = prime * result + [self.secondaryMailsPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeBinderAddPage: + result = prime * result + [self.binderAddPage hash]; + break; + case DBTEAMLOGEventTypeBinderAddSection: + result = prime * result + [self.binderAddSection hash]; + break; + case DBTEAMLOGEventTypeBinderRemovePage: + result = prime * result + [self.binderRemovePage hash]; + break; + case DBTEAMLOGEventTypeBinderRemoveSection: + result = prime * result + [self.binderRemoveSection hash]; + break; + case DBTEAMLOGEventTypeBinderRenamePage: + result = prime * result + [self.binderRenamePage hash]; + break; + case DBTEAMLOGEventTypeBinderRenameSection: + result = prime * result + [self.binderRenameSection hash]; + break; + case DBTEAMLOGEventTypeBinderReorderPage: + result = prime * result + [self.binderReorderPage hash]; + break; + case DBTEAMLOGEventTypeBinderReorderSection: + result = prime * result + [self.binderReorderSection hash]; + break; case DBTEAMLOGEventTypePaperContentAddMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentAddMember hash]; + break; case DBTEAMLOGEventTypePaperContentAddToFolder: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentAddToFolder hash]; + break; case DBTEAMLOGEventTypePaperContentArchive: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentArchive hash]; + break; case DBTEAMLOGEventTypePaperContentCreate: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentCreate hash]; + break; case DBTEAMLOGEventTypePaperContentPermanentlyDelete: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentPermanentlyDelete hash]; + break; case DBTEAMLOGEventTypePaperContentRemoveFromFolder: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentRemoveFromFolder hash]; + break; case DBTEAMLOGEventTypePaperContentRemoveMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentRemoveMember hash]; + break; case DBTEAMLOGEventTypePaperContentRename: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentRename hash]; + break; case DBTEAMLOGEventTypePaperContentRestore: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperContentRestore hash]; + break; case DBTEAMLOGEventTypePaperDocAddComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocAddComment hash]; + break; case DBTEAMLOGEventTypePaperDocChangeMemberRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocChangeMemberRole hash]; + break; case DBTEAMLOGEventTypePaperDocChangeSharingPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocChangeSharingPolicy hash]; + break; case DBTEAMLOGEventTypePaperDocChangeSubscription: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocChangeSubscription hash]; + break; case DBTEAMLOGEventTypePaperDocDeleted: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocDeleted hash]; + break; case DBTEAMLOGEventTypePaperDocDeleteComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocDeleteComment hash]; + break; case DBTEAMLOGEventTypePaperDocDownload: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocDownload hash]; + break; case DBTEAMLOGEventTypePaperDocEdit: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocEdit hash]; + break; case DBTEAMLOGEventTypePaperDocEditComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocEditComment hash]; + break; case DBTEAMLOGEventTypePaperDocFollowed: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocFollowed hash]; + break; case DBTEAMLOGEventTypePaperDocMention: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocMention hash]; + break; + case DBTEAMLOGEventTypePaperDocOwnershipChanged: + result = prime * result + [self.paperDocOwnershipChanged hash]; + break; case DBTEAMLOGEventTypePaperDocRequestAccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocRequestAccess hash]; + break; case DBTEAMLOGEventTypePaperDocResolveComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocResolveComment hash]; + break; case DBTEAMLOGEventTypePaperDocRevert: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocRevert hash]; + break; case DBTEAMLOGEventTypePaperDocSlackShare: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocSlackShare hash]; + break; case DBTEAMLOGEventTypePaperDocTeamInvite: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocTeamInvite hash]; + break; case DBTEAMLOGEventTypePaperDocTrashed: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocTrashed hash]; + break; case DBTEAMLOGEventTypePaperDocUnresolveComment: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocUnresolveComment hash]; + break; case DBTEAMLOGEventTypePaperDocUntrashed: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocUntrashed hash]; + break; case DBTEAMLOGEventTypePaperDocView: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperDocView hash]; + break; + case DBTEAMLOGEventTypePaperExternalViewAllow: + result = prime * result + [self.paperExternalViewAllow hash]; + break; + case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: + result = prime * result + [self.paperExternalViewDefaultTeam hash]; + break; + case DBTEAMLOGEventTypePaperExternalViewForbid: + result = prime * result + [self.paperExternalViewForbid hash]; + break; case DBTEAMLOGEventTypePaperFolderChangeSubscription: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperFolderChangeSubscription hash]; + break; case DBTEAMLOGEventTypePaperFolderDeleted: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperFolderDeleted hash]; + break; case DBTEAMLOGEventTypePaperFolderFollowed: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperFolderFollowed hash]; + break; case DBTEAMLOGEventTypePaperFolderTeamInvite: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperFolderTeamInvite hash]; + break; + case DBTEAMLOGEventTypePaperPublishedLinkChangePermission: + result = prime * result + [self.paperPublishedLinkChangePermission hash]; + break; + case DBTEAMLOGEventTypePaperPublishedLinkCreate: + result = prime * result + [self.paperPublishedLinkCreate hash]; + break; + case DBTEAMLOGEventTypePaperPublishedLinkDisabled: + result = prime * result + [self.paperPublishedLinkDisabled hash]; + break; + case DBTEAMLOGEventTypePaperPublishedLinkView: + result = prime * result + [self.paperPublishedLinkView hash]; + break; case DBTEAMLOGEventTypePasswordChange: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.passwordChange hash]; + break; case DBTEAMLOGEventTypePasswordReset: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.passwordReset hash]; + break; case DBTEAMLOGEventTypePasswordResetAll: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.passwordResetAll hash]; + break; + case DBTEAMLOGEventTypeClassificationCreateReport: + result = prime * result + [self.classificationCreateReport hash]; + break; + case DBTEAMLOGEventTypeClassificationCreateReportFail: + result = prime * result + [self.classificationCreateReportFail hash]; + break; case DBTEAMLOGEventTypeEmmCreateExceptionsReport: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmCreateExceptionsReport hash]; + break; case DBTEAMLOGEventTypeEmmCreateUsageReport: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmCreateUsageReport hash]; + break; + case DBTEAMLOGEventTypeExportMembersReport: + result = prime * result + [self.exportMembersReport hash]; + break; + case DBTEAMLOGEventTypeExportMembersReportFail: + result = prime * result + [self.exportMembersReportFail hash]; + break; + case DBTEAMLOGEventTypeExternalSharingCreateReport: + result = prime * result + [self.externalSharingCreateReport hash]; + break; + case DBTEAMLOGEventTypeExternalSharingReportFailed: + result = prime * result + [self.externalSharingReportFailed hash]; + break; + case DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport: + result = prime * result + [self.noExpirationLinkGenCreateReport hash]; + break; + case DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed: + result = prime * result + [self.noExpirationLinkGenReportFailed hash]; + break; + case DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport: + result = prime * result + [self.noPasswordLinkGenCreateReport hash]; + break; + case DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed: + result = prime * result + [self.noPasswordLinkGenReportFailed hash]; + break; + case DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport: + result = prime * result + [self.noPasswordLinkViewCreateReport hash]; + break; + case DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed: + result = prime * result + [self.noPasswordLinkViewReportFailed hash]; + break; + case DBTEAMLOGEventTypeOutdatedLinkViewCreateReport: + result = prime * result + [self.outdatedLinkViewCreateReport hash]; + break; + case DBTEAMLOGEventTypeOutdatedLinkViewReportFailed: + result = prime * result + [self.outdatedLinkViewReportFailed hash]; + break; + case DBTEAMLOGEventTypePaperAdminExportStart: + result = prime * result + [self.paperAdminExportStart hash]; + break; + case DBTEAMLOGEventTypeRansomwareAlertCreateReport: + result = prime * result + [self.ransomwareAlertCreateReport hash]; + break; + case DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed: + result = prime * result + [self.ransomwareAlertCreateReportFailed hash]; + break; case DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.smartSyncCreateAdminPrivilegeReport hash]; + break; case DBTEAMLOGEventTypeTeamActivityCreateReport: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamActivityCreateReport hash]; + break; + case DBTEAMLOGEventTypeTeamActivityCreateReportFail: + result = prime * result + [self.teamActivityCreateReportFail hash]; + break; case DBTEAMLOGEventTypeCollectionShare: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.collectionShare hash]; + break; + case DBTEAMLOGEventTypeFileTransfersFileAdd: + result = prime * result + [self.fileTransfersFileAdd hash]; + break; + case DBTEAMLOGEventTypeFileTransfersTransferDelete: + result = prime * result + [self.fileTransfersTransferDelete hash]; + break; + case DBTEAMLOGEventTypeFileTransfersTransferDownload: + result = prime * result + [self.fileTransfersTransferDownload hash]; + break; + case DBTEAMLOGEventTypeFileTransfersTransferSend: + result = prime * result + [self.fileTransfersTransferSend hash]; + break; + case DBTEAMLOGEventTypeFileTransfersTransferView: + result = prime * result + [self.fileTransfersTransferView hash]; + break; case DBTEAMLOGEventTypeNoteAclInviteOnly: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.noteAclInviteOnly hash]; + break; case DBTEAMLOGEventTypeNoteAclLink: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.noteAclLink hash]; + break; case DBTEAMLOGEventTypeNoteAclTeamLink: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.noteAclTeamLink hash]; + break; case DBTEAMLOGEventTypeNoteShared: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.noteShared hash]; + break; case DBTEAMLOGEventTypeNoteShareReceive: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.noteShareReceive hash]; + break; case DBTEAMLOGEventTypeOpenNoteShared: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.openNoteShared hash]; + break; + case DBTEAMLOGEventTypeReplayFileSharedLinkCreated: + result = prime * result + [self.replayFileSharedLinkCreated hash]; + break; + case DBTEAMLOGEventTypeReplayFileSharedLinkModified: + result = prime * result + [self.replayFileSharedLinkModified hash]; + break; + case DBTEAMLOGEventTypeReplayProjectTeamAdd: + result = prime * result + [self.replayProjectTeamAdd hash]; + break; + case DBTEAMLOGEventTypeReplayProjectTeamDelete: + result = prime * result + [self.replayProjectTeamDelete hash]; + break; case DBTEAMLOGEventTypeSfAddGroup: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfAddGroup hash]; + break; case DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfAllowNonMembersToViewSharedLinks hash]; + break; + case DBTEAMLOGEventTypeSfExternalInviteWarn: + result = prime * result + [self.sfExternalInviteWarn hash]; + break; + case DBTEAMLOGEventTypeSfFbInvite: + result = prime * result + [self.sfFbInvite hash]; + break; + case DBTEAMLOGEventTypeSfFbInviteChangeRole: + result = prime * result + [self.sfFbInviteChangeRole hash]; + break; + case DBTEAMLOGEventTypeSfFbUninvite: + result = prime * result + [self.sfFbUninvite hash]; + break; case DBTEAMLOGEventTypeSfInviteGroup: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSfNest: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSfTeamDecline: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfInviteGroup hash]; + break; case DBTEAMLOGEventTypeSfTeamGrantAccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamGrantAccess hash]; + break; case DBTEAMLOGEventTypeSfTeamInvite: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamInvite hash]; + break; case DBTEAMLOGEventTypeSfTeamInviteChangeRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamInviteChangeRole hash]; + break; case DBTEAMLOGEventTypeSfTeamJoin: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamJoin hash]; + break; case DBTEAMLOGEventTypeSfTeamJoinFromOobLink: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamJoinFromOobLink hash]; + break; case DBTEAMLOGEventTypeSfTeamUninvite: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sfTeamUninvite hash]; + break; case DBTEAMLOGEventTypeSharedContentAddInvitees: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentAddInvitees hash]; + break; case DBTEAMLOGEventTypeSharedContentAddLinkExpiry: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentAddLinkExpiry hash]; + break; case DBTEAMLOGEventTypeSharedContentAddLinkPassword: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentAddLinkPassword hash]; + break; case DBTEAMLOGEventTypeSharedContentAddMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentAddMember hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeDownloadsPolicy hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeInviteeRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeInviteeRole hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeLinkAudience: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeLinkAudience hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeLinkExpiry: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeLinkExpiry hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeLinkPassword: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeLinkPassword hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeMemberRole: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeMemberRole hash]; + break; case DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentChangeViewerInfoPolicy hash]; + break; case DBTEAMLOGEventTypeSharedContentClaimInvitation: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentClaimInvitation hash]; + break; case DBTEAMLOGEventTypeSharedContentCopy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentCopy hash]; + break; case DBTEAMLOGEventTypeSharedContentDownload: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentDownload hash]; + break; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSharedContentRemoveInvitee: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentRelinquishMembership hash]; + break; + case DBTEAMLOGEventTypeSharedContentRemoveInvitees: + result = prime * result + [self.sharedContentRemoveInvitees hash]; + break; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentRemoveLinkExpiry hash]; + break; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentRemoveLinkPassword hash]; + break; case DBTEAMLOGEventTypeSharedContentRemoveMember: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentRemoveMember hash]; + break; case DBTEAMLOGEventTypeSharedContentRequestAccess: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentRequestAccess hash]; + break; + case DBTEAMLOGEventTypeSharedContentRestoreInvitees: + result = prime * result + [self.sharedContentRestoreInvitees hash]; + break; + case DBTEAMLOGEventTypeSharedContentRestoreMember: + result = prime * result + [self.sharedContentRestoreMember hash]; + break; case DBTEAMLOGEventTypeSharedContentUnshare: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentUnshare hash]; + break; case DBTEAMLOGEventTypeSharedContentView: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSharedFolderChangeConfidentiality: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedContentView hash]; + break; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedFolderChangeLinkPolicy hash]; + break; + case DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy: + result = prime * result + [self.sharedFolderChangeMembersInheritancePolicy hash]; + break; + case DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy: + result = prime * result + [self.sharedFolderChangeMembersManagementPolicy hash]; + break; + case DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy: + result = prime * result + [self.sharedFolderChangeMembersPolicy hash]; + break; case DBTEAMLOGEventTypeSharedFolderCreate: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedFolderCreate hash]; + break; + case DBTEAMLOGEventTypeSharedFolderDeclineInvitation: + result = prime * result + [self.sharedFolderDeclineInvitation hash]; + break; case DBTEAMLOGEventTypeSharedFolderMount: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedFolderMount hash]; + break; + case DBTEAMLOGEventTypeSharedFolderNest: + result = prime * result + [self.sharedFolderNest hash]; + break; case DBTEAMLOGEventTypeSharedFolderTransferOwnership: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedFolderTransferOwnership hash]; + break; case DBTEAMLOGEventTypeSharedFolderUnmount: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedFolderUnmount hash]; + break; + case DBTEAMLOGEventTypeSharedLinkAddExpiry: + result = prime * result + [self.sharedLinkAddExpiry hash]; + break; + case DBTEAMLOGEventTypeSharedLinkChangeExpiry: + result = prime * result + [self.sharedLinkChangeExpiry hash]; + break; + case DBTEAMLOGEventTypeSharedLinkChangeVisibility: + result = prime * result + [self.sharedLinkChangeVisibility hash]; + break; + case DBTEAMLOGEventTypeSharedLinkCopy: + result = prime * result + [self.sharedLinkCopy hash]; + break; + case DBTEAMLOGEventTypeSharedLinkCreate: + result = prime * result + [self.sharedLinkCreate hash]; + break; + case DBTEAMLOGEventTypeSharedLinkDisable: + result = prime * result + [self.sharedLinkDisable hash]; + break; + case DBTEAMLOGEventTypeSharedLinkDownload: + result = prime * result + [self.sharedLinkDownload hash]; + break; + case DBTEAMLOGEventTypeSharedLinkRemoveExpiry: + result = prime * result + [self.sharedLinkRemoveExpiry hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration: + result = prime * result + [self.sharedLinkSettingsAddExpiration hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsAddPassword: + result = prime * result + [self.sharedLinkSettingsAddPassword hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled: + result = prime * result + [self.sharedLinkSettingsAllowDownloadDisabled hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled: + result = prime * result + [self.sharedLinkSettingsAllowDownloadEnabled hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience: + result = prime * result + [self.sharedLinkSettingsChangeAudience hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration: + result = prime * result + [self.sharedLinkSettingsChangeExpiration hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsChangePassword: + result = prime * result + [self.sharedLinkSettingsChangePassword hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration: + result = prime * result + [self.sharedLinkSettingsRemoveExpiration hash]; + break; + case DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword: + result = prime * result + [self.sharedLinkSettingsRemovePassword hash]; + break; + case DBTEAMLOGEventTypeSharedLinkShare: + result = prime * result + [self.sharedLinkShare hash]; + break; + case DBTEAMLOGEventTypeSharedLinkView: + result = prime * result + [self.sharedLinkView hash]; + break; case DBTEAMLOGEventTypeSharedNoteOpened: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelAppCreate: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelCreate: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelDisable: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelFbShare: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharedNoteOpened hash]; + break; + case DBTEAMLOGEventTypeShmodelDisableDownloads: + result = prime * result + [self.shmodelDisableDownloads hash]; + break; + case DBTEAMLOGEventTypeShmodelEnableDownloads: + result = prime * result + [self.shmodelEnableDownloads hash]; + break; case DBTEAMLOGEventTypeShmodelGroupShare: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelRemoveExpiration: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelSetExpiration: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelTeamCopy: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelTeamDownload: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelTeamShare: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelTeamView: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelVisibilityPassword: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelVisibilityPublic: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGEventTypeShmodelVisibilityTeamOnly: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.shmodelGroupShare hash]; + break; + case DBTEAMLOGEventTypeShowcaseAccessGranted: + result = prime * result + [self.showcaseAccessGranted hash]; + break; + case DBTEAMLOGEventTypeShowcaseAddMember: + result = prime * result + [self.showcaseAddMember hash]; + break; + case DBTEAMLOGEventTypeShowcaseArchived: + result = prime * result + [self.showcaseArchived hash]; + break; + case DBTEAMLOGEventTypeShowcaseCreated: + result = prime * result + [self.showcaseCreated hash]; + break; + case DBTEAMLOGEventTypeShowcaseDeleteComment: + result = prime * result + [self.showcaseDeleteComment hash]; + break; + case DBTEAMLOGEventTypeShowcaseEdited: + result = prime * result + [self.showcaseEdited hash]; + break; + case DBTEAMLOGEventTypeShowcaseEditComment: + result = prime * result + [self.showcaseEditComment hash]; + break; + case DBTEAMLOGEventTypeShowcaseFileAdded: + result = prime * result + [self.showcaseFileAdded hash]; + break; + case DBTEAMLOGEventTypeShowcaseFileDownload: + result = prime * result + [self.showcaseFileDownload hash]; + break; + case DBTEAMLOGEventTypeShowcaseFileRemoved: + result = prime * result + [self.showcaseFileRemoved hash]; + break; + case DBTEAMLOGEventTypeShowcaseFileView: + result = prime * result + [self.showcaseFileView hash]; + break; + case DBTEAMLOGEventTypeShowcasePermanentlyDeleted: + result = prime * result + [self.showcasePermanentlyDeleted hash]; + break; + case DBTEAMLOGEventTypeShowcasePostComment: + result = prime * result + [self.showcasePostComment hash]; + break; + case DBTEAMLOGEventTypeShowcaseRemoveMember: + result = prime * result + [self.showcaseRemoveMember hash]; + break; + case DBTEAMLOGEventTypeShowcaseRenamed: + result = prime * result + [self.showcaseRenamed hash]; + break; + case DBTEAMLOGEventTypeShowcaseRequestAccess: + result = prime * result + [self.showcaseRequestAccess hash]; + break; + case DBTEAMLOGEventTypeShowcaseResolveComment: + result = prime * result + [self.showcaseResolveComment hash]; + break; + case DBTEAMLOGEventTypeShowcaseRestored: + result = prime * result + [self.showcaseRestored hash]; + break; + case DBTEAMLOGEventTypeShowcaseTrashed: + result = prime * result + [self.showcaseTrashed hash]; + break; + case DBTEAMLOGEventTypeShowcaseTrashedDeprecated: + result = prime * result + [self.showcaseTrashedDeprecated hash]; + break; + case DBTEAMLOGEventTypeShowcaseUnresolveComment: + result = prime * result + [self.showcaseUnresolveComment hash]; + break; + case DBTEAMLOGEventTypeShowcaseUntrashed: + result = prime * result + [self.showcaseUntrashed hash]; + break; + case DBTEAMLOGEventTypeShowcaseUntrashedDeprecated: + result = prime * result + [self.showcaseUntrashedDeprecated hash]; + break; + case DBTEAMLOGEventTypeShowcaseView: + result = prime * result + [self.showcaseView hash]; + break; case DBTEAMLOGEventTypeSsoAddCert: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoAddCert hash]; + break; case DBTEAMLOGEventTypeSsoAddLoginUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoAddLoginUrl hash]; + break; case DBTEAMLOGEventTypeSsoAddLogoutUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoAddLogoutUrl hash]; + break; case DBTEAMLOGEventTypeSsoChangeCert: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoChangeCert hash]; + break; case DBTEAMLOGEventTypeSsoChangeLoginUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoChangeLoginUrl hash]; + break; case DBTEAMLOGEventTypeSsoChangeLogoutUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoChangeLogoutUrl hash]; + break; case DBTEAMLOGEventTypeSsoChangeSamlIdentityMode: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoChangeSamlIdentityMode hash]; + break; case DBTEAMLOGEventTypeSsoRemoveCert: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoRemoveCert hash]; + break; case DBTEAMLOGEventTypeSsoRemoveLoginUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoRemoveLoginUrl hash]; + break; case DBTEAMLOGEventTypeSsoRemoveLogoutUrl: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoRemoveLogoutUrl hash]; + break; case DBTEAMLOGEventTypeTeamFolderChangeStatus: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamFolderChangeStatus hash]; + break; case DBTEAMLOGEventTypeTeamFolderCreate: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamFolderCreate hash]; + break; case DBTEAMLOGEventTypeTeamFolderDowngrade: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamFolderDowngrade hash]; + break; case DBTEAMLOGEventTypeTeamFolderPermanentlyDelete: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamFolderPermanentlyDelete hash]; + break; case DBTEAMLOGEventTypeTeamFolderRename: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamFolderRename hash]; + break; + case DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged: + result = prime * result + [self.teamSelectiveSyncSettingsChanged hash]; + break; case DBTEAMLOGEventTypeAccountCaptureChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.accountCaptureChangePolicy hash]; + break; + case DBTEAMLOGEventTypeAdminEmailRemindersChanged: + result = prime * result + [self.adminEmailRemindersChanged hash]; + break; case DBTEAMLOGEventTypeAllowDownloadDisabled: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.allowDownloadDisabled hash]; + break; case DBTEAMLOGEventTypeAllowDownloadEnabled: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.allowDownloadEnabled hash]; + break; + case DBTEAMLOGEventTypeAppPermissionsChanged: + result = prime * result + [self.appPermissionsChanged hash]; + break; + case DBTEAMLOGEventTypeCameraUploadsPolicyChanged: + result = prime * result + [self.cameraUploadsPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged: + result = prime * result + [self.captureTranscriptPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeClassificationChangePolicy: + result = prime * result + [self.classificationChangePolicy hash]; + break; + case DBTEAMLOGEventTypeComputerBackupPolicyChanged: + result = prime * result + [self.computerBackupPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeContentAdministrationPolicyChanged: + result = prime * result + [self.contentAdministrationPolicyChanged hash]; + break; case DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.dataPlacementRestrictionChangePolicy hash]; + break; case DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.dataPlacementRestrictionSatisfyPolicy hash]; + break; + case DBTEAMLOGEventTypeDeviceApprovalsAddException: + result = prime * result + [self.deviceApprovalsAddException hash]; + break; case DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceApprovalsChangeDesktopPolicy hash]; + break; case DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceApprovalsChangeMobilePolicy hash]; + break; case DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceApprovalsChangeOverageAction hash]; + break; case DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.deviceApprovalsChangeUnlinkAction hash]; + break; + case DBTEAMLOGEventTypeDeviceApprovalsRemoveException: + result = prime * result + [self.deviceApprovalsRemoveException hash]; + break; + case DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers: + result = prime * result + [self.directoryRestrictionsAddMembers hash]; + break; + case DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers: + result = prime * result + [self.directoryRestrictionsRemoveMembers hash]; + break; + case DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged: + result = prime * result + [self.dropboxPasswordsPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeEmailIngestPolicyChanged: + result = prime * result + [self.emailIngestPolicyChanged hash]; + break; case DBTEAMLOGEventTypeEmmAddException: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmAddException hash]; + break; case DBTEAMLOGEventTypeEmmChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmChangePolicy hash]; + break; case DBTEAMLOGEventTypeEmmRemoveException: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.emmRemoveException hash]; + break; case DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.extendedVersionHistoryChangePolicy hash]; + break; + case DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged: + result = prime * result + [self.externalDriveBackupPolicyChanged hash]; + break; case DBTEAMLOGEventTypeFileCommentsChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileCommentsChangePolicy hash]; + break; + case DBTEAMLOGEventTypeFileLockingPolicyChanged: + result = prime * result + [self.fileLockingPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged: + result = prime * result + [self.fileProviderMigrationPolicyChanged hash]; + break; case DBTEAMLOGEventTypeFileRequestsChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestsChangePolicy hash]; + break; case DBTEAMLOGEventTypeFileRequestsEmailsEnabled: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestsEmailsEnabled hash]; + break; case DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.fileRequestsEmailsRestrictedToTeamOnly hash]; + break; + case DBTEAMLOGEventTypeFileTransfersPolicyChanged: + result = prime * result + [self.fileTransfersPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged: + result = prime * result + [self.folderLinkRestrictionPolicyChanged hash]; + break; case DBTEAMLOGEventTypeGoogleSsoChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.googleSsoChangePolicy hash]; + break; case DBTEAMLOGEventTypeGroupUserManagementChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.groupUserManagementChangePolicy hash]; + break; + case DBTEAMLOGEventTypeIntegrationPolicyChanged: + result = prime * result + [self.integrationPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged: + result = prime * result + [self.inviteAcceptanceEmailPolicyChanged hash]; + break; case DBTEAMLOGEventTypeMemberRequestsChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberRequestsChangePolicy hash]; + break; + case DBTEAMLOGEventTypeMemberSendInvitePolicyChanged: + result = prime * result + [self.memberSendInvitePolicyChanged hash]; + break; case DBTEAMLOGEventTypeMemberSpaceLimitsAddException: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberSpaceLimitsAddException hash]; + break; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy: + result = prime * result + [self.memberSpaceLimitsChangeCapsTypePolicy hash]; + break; case DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberSpaceLimitsChangePolicy hash]; + break; case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberSpaceLimitsRemoveException hash]; + break; case DBTEAMLOGEventTypeMemberSuggestionsChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.memberSuggestionsChangePolicy hash]; + break; case DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.microsoftOfficeAddinChangePolicy hash]; + break; case DBTEAMLOGEventTypeNetworkControlChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.networkControlChangePolicy hash]; + break; case DBTEAMLOGEventTypePaperChangeDeploymentPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperChangeDeploymentPolicy hash]; + break; case DBTEAMLOGEventTypePaperChangeMemberLinkPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperChangeMemberLinkPolicy hash]; + break; case DBTEAMLOGEventTypePaperChangeMemberPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperChangeMemberPolicy hash]; + break; case DBTEAMLOGEventTypePaperChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.paperChangePolicy hash]; + break; + case DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged: + result = prime * result + [self.paperDefaultFolderPolicyChanged hash]; + break; + case DBTEAMLOGEventTypePaperDesktopPolicyChanged: + result = prime * result + [self.paperDesktopPolicyChanged hash]; + break; + case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: + result = prime * result + [self.paperEnabledUsersGroupAddition hash]; + break; + case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: + result = prime * result + [self.paperEnabledUsersGroupRemoval hash]; + break; + case DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy: + result = prime * result + [self.passwordStrengthRequirementsChangePolicy hash]; + break; case DBTEAMLOGEventTypePermanentDeleteChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.permanentDeleteChangePolicy hash]; + break; + case DBTEAMLOGEventTypeResellerSupportChangePolicy: + result = prime * result + [self.resellerSupportChangePolicy hash]; + break; + case DBTEAMLOGEventTypeRewindPolicyChanged: + result = prime * result + [self.rewindPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeSendForSignaturePolicyChanged: + result = prime * result + [self.sendForSignaturePolicyChanged hash]; + break; case DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharingChangeFolderJoinPolicy hash]; + break; + case DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy: + result = prime * result + [self.sharingChangeLinkAllowChangeExpirationPolicy hash]; + break; + case DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy: + result = prime * result + [self.sharingChangeLinkDefaultExpirationPolicy hash]; + break; + case DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy: + result = prime * result + [self.sharingChangeLinkEnforcePasswordPolicy hash]; + break; case DBTEAMLOGEventTypeSharingChangeLinkPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharingChangeLinkPolicy hash]; + break; case DBTEAMLOGEventTypeSharingChangeMemberPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.sharingChangeMemberPolicy hash]; + break; + case DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy: + result = prime * result + [self.showcaseChangeDownloadPolicy hash]; + break; + case DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy: + result = prime * result + [self.showcaseChangeEnabledPolicy hash]; + break; + case DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy: + result = prime * result + [self.showcaseChangeExternalSharingPolicy hash]; + break; + case DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged: + result = prime * result + [self.smarterSmartSyncPolicyChanged hash]; + break; case DBTEAMLOGEventTypeSmartSyncChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.smartSyncChangePolicy hash]; + break; case DBTEAMLOGEventTypeSmartSyncNotOptOut: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.smartSyncNotOptOut hash]; + break; case DBTEAMLOGEventTypeSmartSyncOptOut: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.smartSyncOptOut hash]; + break; case DBTEAMLOGEventTypeSsoChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.ssoChangePolicy hash]; + break; + case DBTEAMLOGEventTypeTeamBrandingPolicyChanged: + result = prime * result + [self.teamBrandingPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeTeamExtensionsPolicyChanged: + result = prime * result + [self.teamExtensionsPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged: + result = prime * result + [self.teamSelectiveSyncPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged: + result = prime * result + [self.teamSharingWhitelistSubjectsChanged hash]; + break; + case DBTEAMLOGEventTypeTfaAddException: + result = prime * result + [self.tfaAddException hash]; + break; case DBTEAMLOGEventTypeTfaChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaChangePolicy hash]; + break; + case DBTEAMLOGEventTypeTfaRemoveException: + result = prime * result + [self.tfaRemoveException hash]; + break; case DBTEAMLOGEventTypeTwoAccountChangePolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.twoAccountChangePolicy hash]; + break; + case DBTEAMLOGEventTypeViewerInfoPolicyChanged: + result = prime * result + [self.viewerInfoPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeWatermarkingPolicyChanged: + result = prime * result + [self.watermarkingPolicyChanged hash]; + break; + case DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit: + result = prime * result + [self.webSessionsChangeActiveSessionLimit hash]; + break; case DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.webSessionsChangeFixedLengthPolicy hash]; + break; case DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.webSessionsChangeIdleLengthPolicy hash]; + break; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful: + result = prime * result + [self.dataResidencyMigrationRequestSuccessful hash]; + break; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful: + result = prime * result + [self.dataResidencyMigrationRequestUnsuccessful hash]; + break; + case DBTEAMLOGEventTypeTeamMergeFrom: + result = prime * result + [self.teamMergeFrom hash]; + break; + case DBTEAMLOGEventTypeTeamMergeTo: + result = prime * result + [self.teamMergeTo hash]; + break; + case DBTEAMLOGEventTypeTeamProfileAddBackground: + result = prime * result + [self.teamProfileAddBackground hash]; + break; case DBTEAMLOGEventTypeTeamProfileAddLogo: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamProfileAddLogo hash]; + break; + case DBTEAMLOGEventTypeTeamProfileChangeBackground: + result = prime * result + [self.teamProfileChangeBackground hash]; + break; case DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamProfileChangeDefaultLanguage hash]; + break; case DBTEAMLOGEventTypeTeamProfileChangeLogo: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamProfileChangeLogo hash]; + break; case DBTEAMLOGEventTypeTeamProfileChangeName: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamProfileChangeName hash]; + break; + case DBTEAMLOGEventTypeTeamProfileRemoveBackground: + result = prime * result + [self.teamProfileRemoveBackground hash]; + break; case DBTEAMLOGEventTypeTeamProfileRemoveLogo: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.teamProfileRemoveLogo hash]; + break; case DBTEAMLOGEventTypeTfaAddBackupPhone: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaAddBackupPhone hash]; + break; case DBTEAMLOGEventTypeTfaAddSecurityKey: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaAddSecurityKey hash]; + break; case DBTEAMLOGEventTypeTfaChangeBackupPhone: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaChangeBackupPhone hash]; + break; case DBTEAMLOGEventTypeTfaChangeStatus: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaChangeStatus hash]; + break; case DBTEAMLOGEventTypeTfaRemoveBackupPhone: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaRemoveBackupPhone hash]; + break; case DBTEAMLOGEventTypeTfaRemoveSecurityKey: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaRemoveSecurityKey hash]; + break; case DBTEAMLOGEventTypeTfaReset: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.tfaReset hash]; + break; + case DBTEAMLOGEventTypeChangedEnterpriseAdminRole: + result = prime * result + [self.changedEnterpriseAdminRole hash]; + break; + case DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus: + result = prime * result + [self.changedEnterpriseConnectedTeamStatus hash]; + break; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSession: + result = prime * result + [self.endedEnterpriseAdminSession hash]; + break; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated: + result = prime * result + [self.endedEnterpriseAdminSessionDeprecated hash]; + break; + case DBTEAMLOGEventTypeEnterpriseSettingsLocking: + result = prime * result + [self.enterpriseSettingsLocking hash]; + break; + case DBTEAMLOGEventTypeGuestAdminChangeStatus: + result = prime * result + [self.guestAdminChangeStatus hash]; + break; + case DBTEAMLOGEventTypeStartedEnterpriseAdminSession: + result = prime * result + [self.startedEnterpriseAdminSession hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestAccepted: + result = prime * result + [self.teamMergeRequestAccepted hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestAcceptedShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestAcceptedShownToSecondaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled: + result = prime * result + [self.teamMergeRequestAutoCanceled hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestCanceled: + result = prime * result + [self.teamMergeRequestCanceled hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestCanceledShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestCanceledShownToSecondaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestExpired: + result = prime * result + [self.teamMergeRequestExpired hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestExpiredShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestExpiredShownToSecondaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestRejectedShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestRejectedShownToSecondaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestReminder: + result = prime * result + [self.teamMergeRequestReminder hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestReminderShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestReminderShownToSecondaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestRevoked: + result = prime * result + [self.teamMergeRequestRevoked hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam: + result = prime * result + [self.teamMergeRequestSentShownToPrimaryTeam hash]; + break; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam: + result = prime * result + [self.teamMergeRequestSentShownToSecondaryTeam hash]; + break; case DBTEAMLOGEventTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -24264,546 +64115,1027 @@ - (BOOL)isEqualToEventType:(DBTEAMLOGEventType *)anEventType { return NO; } switch (_tag) { - case DBTEAMLOGEventTypeMemberChangeMembershipType: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeMemberTransferAccountContents: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperAdminExportStart: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperExternalViewAllow: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypePaperExternalViewForbid: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSfExternalInviteWarn: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeTeamMergeFrom: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeTeamMergeTo: - return [[self tagName] isEqual:[anEventType tagName]]; + case DBTEAMLOGEventTypeAdminAlertingAlertStateChanged: + return [self.adminAlertingAlertStateChanged isEqual:anEventType.adminAlertingAlertStateChanged]; + case DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig: + return [self.adminAlertingChangedAlertConfig isEqual:anEventType.adminAlertingChangedAlertConfig]; + case DBTEAMLOGEventTypeAdminAlertingTriggeredAlert: + return [self.adminAlertingTriggeredAlert isEqual:anEventType.adminAlertingTriggeredAlert]; + case DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted: + return [self.ransomwareRestoreProcessCompleted isEqual:anEventType.ransomwareRestoreProcessCompleted]; + case DBTEAMLOGEventTypeRansomwareRestoreProcessStarted: + return [self.ransomwareRestoreProcessStarted isEqual:anEventType.ransomwareRestoreProcessStarted]; + case DBTEAMLOGEventTypeAppBlockedByPermissions: + return [self.appBlockedByPermissions isEqual:anEventType.appBlockedByPermissions]; case DBTEAMLOGEventTypeAppLinkTeam: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.appLinkTeam isEqual:anEventType.appLinkTeam]; case DBTEAMLOGEventTypeAppLinkUser: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.appLinkUser isEqual:anEventType.appLinkUser]; case DBTEAMLOGEventTypeAppUnlinkTeam: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.appUnlinkTeam isEqual:anEventType.appUnlinkTeam]; case DBTEAMLOGEventTypeAppUnlinkUser: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.appUnlinkUser isEqual:anEventType.appUnlinkUser]; + case DBTEAMLOGEventTypeIntegrationConnected: + return [self.integrationConnected isEqual:anEventType.integrationConnected]; + case DBTEAMLOGEventTypeIntegrationDisconnected: + return [self.integrationDisconnected isEqual:anEventType.integrationDisconnected]; case DBTEAMLOGEventTypeFileAddComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileAddComment isEqual:anEventType.fileAddComment]; case DBTEAMLOGEventTypeFileChangeCommentSubscription: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileChangeCommentSubscription isEqual:anEventType.fileChangeCommentSubscription]; case DBTEAMLOGEventTypeFileDeleteComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileDeleteComment isEqual:anEventType.fileDeleteComment]; + case DBTEAMLOGEventTypeFileEditComment: + return [self.fileEditComment isEqual:anEventType.fileEditComment]; case DBTEAMLOGEventTypeFileLikeComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileLikeComment isEqual:anEventType.fileLikeComment]; case DBTEAMLOGEventTypeFileResolveComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileResolveComment isEqual:anEventType.fileResolveComment]; case DBTEAMLOGEventTypeFileUnlikeComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileUnlikeComment isEqual:anEventType.fileUnlikeComment]; case DBTEAMLOGEventTypeFileUnresolveComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileUnresolveComment isEqual:anEventType.fileUnresolveComment]; + case DBTEAMLOGEventTypeGovernancePolicyAddFolders: + return [self.governancePolicyAddFolders isEqual:anEventType.governancePolicyAddFolders]; + case DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed: + return [self.governancePolicyAddFolderFailed isEqual:anEventType.governancePolicyAddFolderFailed]; + case DBTEAMLOGEventTypeGovernancePolicyContentDisposed: + return [self.governancePolicyContentDisposed isEqual:anEventType.governancePolicyContentDisposed]; + case DBTEAMLOGEventTypeGovernancePolicyCreate: + return [self.governancePolicyCreate isEqual:anEventType.governancePolicyCreate]; + case DBTEAMLOGEventTypeGovernancePolicyDelete: + return [self.governancePolicyDelete isEqual:anEventType.governancePolicyDelete]; + case DBTEAMLOGEventTypeGovernancePolicyEditDetails: + return [self.governancePolicyEditDetails isEqual:anEventType.governancePolicyEditDetails]; + case DBTEAMLOGEventTypeGovernancePolicyEditDuration: + return [self.governancePolicyEditDuration isEqual:anEventType.governancePolicyEditDuration]; + case DBTEAMLOGEventTypeGovernancePolicyExportCreated: + return [self.governancePolicyExportCreated isEqual:anEventType.governancePolicyExportCreated]; + case DBTEAMLOGEventTypeGovernancePolicyExportRemoved: + return [self.governancePolicyExportRemoved isEqual:anEventType.governancePolicyExportRemoved]; + case DBTEAMLOGEventTypeGovernancePolicyRemoveFolders: + return [self.governancePolicyRemoveFolders isEqual:anEventType.governancePolicyRemoveFolders]; + case DBTEAMLOGEventTypeGovernancePolicyReportCreated: + return [self.governancePolicyReportCreated isEqual:anEventType.governancePolicyReportCreated]; + case DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded: + return [self.governancePolicyZipPartDownloaded isEqual:anEventType.governancePolicyZipPartDownloaded]; + case DBTEAMLOGEventTypeLegalHoldsActivateAHold: + return [self.legalHoldsActivateAHold isEqual:anEventType.legalHoldsActivateAHold]; + case DBTEAMLOGEventTypeLegalHoldsAddMembers: + return [self.legalHoldsAddMembers isEqual:anEventType.legalHoldsAddMembers]; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails: + return [self.legalHoldsChangeHoldDetails isEqual:anEventType.legalHoldsChangeHoldDetails]; + case DBTEAMLOGEventTypeLegalHoldsChangeHoldName: + return [self.legalHoldsChangeHoldName isEqual:anEventType.legalHoldsChangeHoldName]; + case DBTEAMLOGEventTypeLegalHoldsExportAHold: + return [self.legalHoldsExportAHold isEqual:anEventType.legalHoldsExportAHold]; + case DBTEAMLOGEventTypeLegalHoldsExportCancelled: + return [self.legalHoldsExportCancelled isEqual:anEventType.legalHoldsExportCancelled]; + case DBTEAMLOGEventTypeLegalHoldsExportDownloaded: + return [self.legalHoldsExportDownloaded isEqual:anEventType.legalHoldsExportDownloaded]; + case DBTEAMLOGEventTypeLegalHoldsExportRemoved: + return [self.legalHoldsExportRemoved isEqual:anEventType.legalHoldsExportRemoved]; + case DBTEAMLOGEventTypeLegalHoldsReleaseAHold: + return [self.legalHoldsReleaseAHold isEqual:anEventType.legalHoldsReleaseAHold]; + case DBTEAMLOGEventTypeLegalHoldsRemoveMembers: + return [self.legalHoldsRemoveMembers isEqual:anEventType.legalHoldsRemoveMembers]; + case DBTEAMLOGEventTypeLegalHoldsReportAHold: + return [self.legalHoldsReportAHold isEqual:anEventType.legalHoldsReportAHold]; case DBTEAMLOGEventTypeDeviceChangeIpDesktop: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceChangeIpDesktop isEqual:anEventType.deviceChangeIpDesktop]; case DBTEAMLOGEventTypeDeviceChangeIpMobile: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceChangeIpMobile isEqual:anEventType.deviceChangeIpMobile]; case DBTEAMLOGEventTypeDeviceChangeIpWeb: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceChangeIpWeb isEqual:anEventType.deviceChangeIpWeb]; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceDeleteOnUnlinkFail isEqual:anEventType.deviceDeleteOnUnlinkFail]; case DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceDeleteOnUnlinkSuccess isEqual:anEventType.deviceDeleteOnUnlinkSuccess]; case DBTEAMLOGEventTypeDeviceLinkFail: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceLinkFail isEqual:anEventType.deviceLinkFail]; case DBTEAMLOGEventTypeDeviceLinkSuccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceLinkSuccess isEqual:anEventType.deviceLinkSuccess]; case DBTEAMLOGEventTypeDeviceManagementDisabled: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceManagementDisabled isEqual:anEventType.deviceManagementDisabled]; case DBTEAMLOGEventTypeDeviceManagementEnabled: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceManagementEnabled isEqual:anEventType.deviceManagementEnabled]; + case DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged: + return [self.deviceSyncBackupStatusChanged isEqual:anEventType.deviceSyncBackupStatusChanged]; case DBTEAMLOGEventTypeDeviceUnlink: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceUnlink isEqual:anEventType.deviceUnlink]; + case DBTEAMLOGEventTypeDropboxPasswordsExported: + return [self.dropboxPasswordsExported isEqual:anEventType.dropboxPasswordsExported]; + case DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled: + return [self.dropboxPasswordsNewDeviceEnrolled isEqual:anEventType.dropboxPasswordsNewDeviceEnrolled]; case DBTEAMLOGEventTypeEmmRefreshAuthToken: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmRefreshAuthToken isEqual:anEventType.emmRefreshAuthToken]; + case DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked: + return [self.externalDriveBackupEligibilityStatusChecked + isEqual:anEventType.externalDriveBackupEligibilityStatusChecked]; + case DBTEAMLOGEventTypeExternalDriveBackupStatusChanged: + return [self.externalDriveBackupStatusChanged isEqual:anEventType.externalDriveBackupStatusChanged]; case DBTEAMLOGEventTypeAccountCaptureChangeAvailability: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.accountCaptureChangeAvailability isEqual:anEventType.accountCaptureChangeAvailability]; case DBTEAMLOGEventTypeAccountCaptureMigrateAccount: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.accountCaptureMigrateAccount isEqual:anEventType.accountCaptureMigrateAccount]; + case DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent: + return [self.accountCaptureNotificationEmailsSent isEqual:anEventType.accountCaptureNotificationEmailsSent]; case DBTEAMLOGEventTypeAccountCaptureRelinquishAccount: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.accountCaptureRelinquishAccount isEqual:anEventType.accountCaptureRelinquishAccount]; case DBTEAMLOGEventTypeDisabledDomainInvites: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.disabledDomainInvites isEqual:anEventType.disabledDomainInvites]; case DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesApproveRequestToJoinTeam isEqual:anEventType.domainInvitesApproveRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesDeclineRequestToJoinTeam isEqual:anEventType.domainInvitesDeclineRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesEmailExistingUsers isEqual:anEventType.domainInvitesEmailExistingUsers]; case DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesRequestToJoinTeam isEqual:anEventType.domainInvitesRequestToJoinTeam]; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesSetInviteNewUserPrefToNo isEqual:anEventType.domainInvitesSetInviteNewUserPrefToNo]; case DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainInvitesSetInviteNewUserPrefToYes isEqual:anEventType.domainInvitesSetInviteNewUserPrefToYes]; case DBTEAMLOGEventTypeDomainVerificationAddDomainFail: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainVerificationAddDomainFail isEqual:anEventType.domainVerificationAddDomainFail]; case DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainVerificationAddDomainSuccess isEqual:anEventType.domainVerificationAddDomainSuccess]; case DBTEAMLOGEventTypeDomainVerificationRemoveDomain: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.domainVerificationRemoveDomain isEqual:anEventType.domainVerificationRemoveDomain]; case DBTEAMLOGEventTypeEnabledDomainInvites: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.enabledDomainInvites isEqual:anEventType.enabledDomainInvites]; + case DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion: + return [self.teamEncryptionKeyCancelKeyDeletion isEqual:anEventType.teamEncryptionKeyCancelKeyDeletion]; + case DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey: + return [self.teamEncryptionKeyCreateKey isEqual:anEventType.teamEncryptionKeyCreateKey]; + case DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey: + return [self.teamEncryptionKeyDeleteKey isEqual:anEventType.teamEncryptionKeyDeleteKey]; + case DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey: + return [self.teamEncryptionKeyDisableKey isEqual:anEventType.teamEncryptionKeyDisableKey]; + case DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey: + return [self.teamEncryptionKeyEnableKey isEqual:anEventType.teamEncryptionKeyEnableKey]; + case DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey: + return [self.teamEncryptionKeyRotateKey isEqual:anEventType.teamEncryptionKeyRotateKey]; + case DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion: + return [self.teamEncryptionKeyScheduleKeyDeletion isEqual:anEventType.teamEncryptionKeyScheduleKeyDeletion]; + case DBTEAMLOGEventTypeApplyNamingConvention: + return [self.applyNamingConvention isEqual:anEventType.applyNamingConvention]; case DBTEAMLOGEventTypeCreateFolder: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.createFolder isEqual:anEventType.createFolder]; case DBTEAMLOGEventTypeFileAdd: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileAdd isEqual:anEventType.fileAdd]; + case DBTEAMLOGEventTypeFileAddFromAutomation: + return [self.fileAddFromAutomation isEqual:anEventType.fileAddFromAutomation]; case DBTEAMLOGEventTypeFileCopy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileCopy isEqual:anEventType.fileCopy]; case DBTEAMLOGEventTypeFileDelete: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileDelete isEqual:anEventType.fileDelete]; case DBTEAMLOGEventTypeFileDownload: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileDownload isEqual:anEventType.fileDownload]; case DBTEAMLOGEventTypeFileEdit: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileEdit isEqual:anEventType.fileEdit]; case DBTEAMLOGEventTypeFileGetCopyReference: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileGetCopyReference isEqual:anEventType.fileGetCopyReference]; + case DBTEAMLOGEventTypeFileLockingLockStatusChanged: + return [self.fileLockingLockStatusChanged isEqual:anEventType.fileLockingLockStatusChanged]; case DBTEAMLOGEventTypeFileMove: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileMove isEqual:anEventType.fileMove]; case DBTEAMLOGEventTypeFilePermanentlyDelete: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.filePermanentlyDelete isEqual:anEventType.filePermanentlyDelete]; case DBTEAMLOGEventTypeFilePreview: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.filePreview isEqual:anEventType.filePreview]; case DBTEAMLOGEventTypeFileRename: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRename isEqual:anEventType.fileRename]; case DBTEAMLOGEventTypeFileRestore: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRestore isEqual:anEventType.fileRestore]; case DBTEAMLOGEventTypeFileRevert: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRevert isEqual:anEventType.fileRevert]; case DBTEAMLOGEventTypeFileRollbackChanges: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRollbackChanges isEqual:anEventType.fileRollbackChanges]; case DBTEAMLOGEventTypeFileSaveCopyReference: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeFileRequestAddDeadline: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileSaveCopyReference isEqual:anEventType.fileSaveCopyReference]; + case DBTEAMLOGEventTypeFolderOverviewDescriptionChanged: + return [self.folderOverviewDescriptionChanged isEqual:anEventType.folderOverviewDescriptionChanged]; + case DBTEAMLOGEventTypeFolderOverviewItemPinned: + return [self.folderOverviewItemPinned isEqual:anEventType.folderOverviewItemPinned]; + case DBTEAMLOGEventTypeFolderOverviewItemUnpinned: + return [self.folderOverviewItemUnpinned isEqual:anEventType.folderOverviewItemUnpinned]; + case DBTEAMLOGEventTypeObjectLabelAdded: + return [self.objectLabelAdded isEqual:anEventType.objectLabelAdded]; + case DBTEAMLOGEventTypeObjectLabelRemoved: + return [self.objectLabelRemoved isEqual:anEventType.objectLabelRemoved]; + case DBTEAMLOGEventTypeObjectLabelUpdatedValue: + return [self.objectLabelUpdatedValue isEqual:anEventType.objectLabelUpdatedValue]; + case DBTEAMLOGEventTypeOrganizeFolderWithTidy: + return [self.organizeFolderWithTidy isEqual:anEventType.organizeFolderWithTidy]; + case DBTEAMLOGEventTypeReplayFileDelete: + return [self.replayFileDelete isEqual:anEventType.replayFileDelete]; + case DBTEAMLOGEventTypeRewindFolder: + return [self.rewindFolder isEqual:anEventType.rewindFolder]; + case DBTEAMLOGEventTypeUndoNamingConvention: + return [self.undoNamingConvention isEqual:anEventType.undoNamingConvention]; + case DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy: + return [self.undoOrganizeFolderWithTidy isEqual:anEventType.undoOrganizeFolderWithTidy]; + case DBTEAMLOGEventTypeUserTagsAdded: + return [self.userTagsAdded isEqual:anEventType.userTagsAdded]; + case DBTEAMLOGEventTypeUserTagsRemoved: + return [self.userTagsRemoved isEqual:anEventType.userTagsRemoved]; + case DBTEAMLOGEventTypeEmailIngestReceiveFile: + return [self.emailIngestReceiveFile isEqual:anEventType.emailIngestReceiveFile]; case DBTEAMLOGEventTypeFileRequestChange: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeFileRequestChangeFolder: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestChange isEqual:anEventType.fileRequestChange]; case DBTEAMLOGEventTypeFileRequestClose: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestClose isEqual:anEventType.fileRequestClose]; case DBTEAMLOGEventTypeFileRequestCreate: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestCreate isEqual:anEventType.fileRequestCreate]; + case DBTEAMLOGEventTypeFileRequestDelete: + return [self.fileRequestDelete isEqual:anEventType.fileRequestDelete]; case DBTEAMLOGEventTypeFileRequestReceiveFile: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeFileRequestRemoveDeadline: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeFileRequestSend: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestReceiveFile isEqual:anEventType.fileRequestReceiveFile]; case DBTEAMLOGEventTypeGroupAddExternalId: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupAddExternalId isEqual:anEventType.groupAddExternalId]; case DBTEAMLOGEventTypeGroupAddMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupAddMember isEqual:anEventType.groupAddMember]; case DBTEAMLOGEventTypeGroupChangeExternalId: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupChangeExternalId isEqual:anEventType.groupChangeExternalId]; case DBTEAMLOGEventTypeGroupChangeManagementType: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupChangeManagementType isEqual:anEventType.groupChangeManagementType]; case DBTEAMLOGEventTypeGroupChangeMemberRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupChangeMemberRole isEqual:anEventType.groupChangeMemberRole]; case DBTEAMLOGEventTypeGroupCreate: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupCreate isEqual:anEventType.groupCreate]; case DBTEAMLOGEventTypeGroupDelete: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupDelete isEqual:anEventType.groupDelete]; + case DBTEAMLOGEventTypeGroupDescriptionUpdated: + return [self.groupDescriptionUpdated isEqual:anEventType.groupDescriptionUpdated]; + case DBTEAMLOGEventTypeGroupJoinPolicyUpdated: + return [self.groupJoinPolicyUpdated isEqual:anEventType.groupJoinPolicyUpdated]; case DBTEAMLOGEventTypeGroupMoved: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupMoved isEqual:anEventType.groupMoved]; case DBTEAMLOGEventTypeGroupRemoveExternalId: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupRemoveExternalId isEqual:anEventType.groupRemoveExternalId]; case DBTEAMLOGEventTypeGroupRemoveMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupRemoveMember isEqual:anEventType.groupRemoveMember]; case DBTEAMLOGEventTypeGroupRename: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupRename isEqual:anEventType.groupRename]; + case DBTEAMLOGEventTypeAccountLockOrUnlocked: + return [self.accountLockOrUnlocked isEqual:anEventType.accountLockOrUnlocked]; case DBTEAMLOGEventTypeEmmError: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmError isEqual:anEventType.emmError]; + case DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams: + return [self.guestAdminSignedInViaTrustedTeams isEqual:anEventType.guestAdminSignedInViaTrustedTeams]; + case DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams: + return [self.guestAdminSignedOutViaTrustedTeams isEqual:anEventType.guestAdminSignedOutViaTrustedTeams]; case DBTEAMLOGEventTypeLoginFail: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.loginFail isEqual:anEventType.loginFail]; case DBTEAMLOGEventTypeLoginSuccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.loginSuccess isEqual:anEventType.loginSuccess]; case DBTEAMLOGEventTypeLogout: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.logout isEqual:anEventType.logout]; case DBTEAMLOGEventTypeResellerSupportSessionEnd: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.resellerSupportSessionEnd isEqual:anEventType.resellerSupportSessionEnd]; case DBTEAMLOGEventTypeResellerSupportSessionStart: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.resellerSupportSessionStart isEqual:anEventType.resellerSupportSessionStart]; case DBTEAMLOGEventTypeSignInAsSessionEnd: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.signInAsSessionEnd isEqual:anEventType.signInAsSessionEnd]; case DBTEAMLOGEventTypeSignInAsSessionStart: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.signInAsSessionStart isEqual:anEventType.signInAsSessionStart]; case DBTEAMLOGEventTypeSsoError: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoError isEqual:anEventType.ssoError]; + case DBTEAMLOGEventTypeBackupAdminInvitationSent: + return [self.backupAdminInvitationSent isEqual:anEventType.backupAdminInvitationSent]; + case DBTEAMLOGEventTypeBackupInvitationOpened: + return [self.backupInvitationOpened isEqual:anEventType.backupInvitationOpened]; + case DBTEAMLOGEventTypeCreateTeamInviteLink: + return [self.createTeamInviteLink isEqual:anEventType.createTeamInviteLink]; + case DBTEAMLOGEventTypeDeleteTeamInviteLink: + return [self.deleteTeamInviteLink isEqual:anEventType.deleteTeamInviteLink]; + case DBTEAMLOGEventTypeMemberAddExternalId: + return [self.memberAddExternalId isEqual:anEventType.memberAddExternalId]; case DBTEAMLOGEventTypeMemberAddName: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberAddName isEqual:anEventType.memberAddName]; case DBTEAMLOGEventTypeMemberChangeAdminRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberChangeAdminRole isEqual:anEventType.memberChangeAdminRole]; case DBTEAMLOGEventTypeMemberChangeEmail: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberChangeEmail isEqual:anEventType.memberChangeEmail]; + case DBTEAMLOGEventTypeMemberChangeExternalId: + return [self.memberChangeExternalId isEqual:anEventType.memberChangeExternalId]; + case DBTEAMLOGEventTypeMemberChangeMembershipType: + return [self.memberChangeMembershipType isEqual:anEventType.memberChangeMembershipType]; case DBTEAMLOGEventTypeMemberChangeName: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberChangeName isEqual:anEventType.memberChangeName]; + case DBTEAMLOGEventTypeMemberChangeResellerRole: + return [self.memberChangeResellerRole isEqual:anEventType.memberChangeResellerRole]; case DBTEAMLOGEventTypeMemberChangeStatus: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberChangeStatus isEqual:anEventType.memberChangeStatus]; + case DBTEAMLOGEventTypeMemberDeleteManualContacts: + return [self.memberDeleteManualContacts isEqual:anEventType.memberDeleteManualContacts]; + case DBTEAMLOGEventTypeMemberDeleteProfilePhoto: + return [self.memberDeleteProfilePhoto isEqual:anEventType.memberDeleteProfilePhoto]; + case DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents: + return [self.memberPermanentlyDeleteAccountContents isEqual:anEventType.memberPermanentlyDeleteAccountContents]; + case DBTEAMLOGEventTypeMemberRemoveExternalId: + return [self.memberRemoveExternalId isEqual:anEventType.memberRemoveExternalId]; + case DBTEAMLOGEventTypeMemberSetProfilePhoto: + return [self.memberSetProfilePhoto isEqual:anEventType.memberSetProfilePhoto]; + case DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota: + return [self.memberSpaceLimitsAddCustomQuota isEqual:anEventType.memberSpaceLimitsAddCustomQuota]; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota: + return [self.memberSpaceLimitsChangeCustomQuota isEqual:anEventType.memberSpaceLimitsChangeCustomQuota]; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus: + return [self.memberSpaceLimitsChangeStatus isEqual:anEventType.memberSpaceLimitsChangeStatus]; + case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota: + return [self.memberSpaceLimitsRemoveCustomQuota isEqual:anEventType.memberSpaceLimitsRemoveCustomQuota]; case DBTEAMLOGEventTypeMemberSuggest: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberSuggest isEqual:anEventType.memberSuggest]; + case DBTEAMLOGEventTypeMemberTransferAccountContents: + return [self.memberTransferAccountContents isEqual:anEventType.memberTransferAccountContents]; + case DBTEAMLOGEventTypePendingSecondaryEmailAdded: + return [self.pendingSecondaryEmailAdded isEqual:anEventType.pendingSecondaryEmailAdded]; + case DBTEAMLOGEventTypeSecondaryEmailDeleted: + return [self.secondaryEmailDeleted isEqual:anEventType.secondaryEmailDeleted]; + case DBTEAMLOGEventTypeSecondaryEmailVerified: + return [self.secondaryEmailVerified isEqual:anEventType.secondaryEmailVerified]; + case DBTEAMLOGEventTypeSecondaryMailsPolicyChanged: + return [self.secondaryMailsPolicyChanged isEqual:anEventType.secondaryMailsPolicyChanged]; + case DBTEAMLOGEventTypeBinderAddPage: + return [self.binderAddPage isEqual:anEventType.binderAddPage]; + case DBTEAMLOGEventTypeBinderAddSection: + return [self.binderAddSection isEqual:anEventType.binderAddSection]; + case DBTEAMLOGEventTypeBinderRemovePage: + return [self.binderRemovePage isEqual:anEventType.binderRemovePage]; + case DBTEAMLOGEventTypeBinderRemoveSection: + return [self.binderRemoveSection isEqual:anEventType.binderRemoveSection]; + case DBTEAMLOGEventTypeBinderRenamePage: + return [self.binderRenamePage isEqual:anEventType.binderRenamePage]; + case DBTEAMLOGEventTypeBinderRenameSection: + return [self.binderRenameSection isEqual:anEventType.binderRenameSection]; + case DBTEAMLOGEventTypeBinderReorderPage: + return [self.binderReorderPage isEqual:anEventType.binderReorderPage]; + case DBTEAMLOGEventTypeBinderReorderSection: + return [self.binderReorderSection isEqual:anEventType.binderReorderSection]; case DBTEAMLOGEventTypePaperContentAddMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentAddMember isEqual:anEventType.paperContentAddMember]; case DBTEAMLOGEventTypePaperContentAddToFolder: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentAddToFolder isEqual:anEventType.paperContentAddToFolder]; case DBTEAMLOGEventTypePaperContentArchive: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentArchive isEqual:anEventType.paperContentArchive]; case DBTEAMLOGEventTypePaperContentCreate: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentCreate isEqual:anEventType.paperContentCreate]; case DBTEAMLOGEventTypePaperContentPermanentlyDelete: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentPermanentlyDelete isEqual:anEventType.paperContentPermanentlyDelete]; case DBTEAMLOGEventTypePaperContentRemoveFromFolder: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentRemoveFromFolder isEqual:anEventType.paperContentRemoveFromFolder]; case DBTEAMLOGEventTypePaperContentRemoveMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentRemoveMember isEqual:anEventType.paperContentRemoveMember]; case DBTEAMLOGEventTypePaperContentRename: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentRename isEqual:anEventType.paperContentRename]; case DBTEAMLOGEventTypePaperContentRestore: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperContentRestore isEqual:anEventType.paperContentRestore]; case DBTEAMLOGEventTypePaperDocAddComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocAddComment isEqual:anEventType.paperDocAddComment]; case DBTEAMLOGEventTypePaperDocChangeMemberRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocChangeMemberRole isEqual:anEventType.paperDocChangeMemberRole]; case DBTEAMLOGEventTypePaperDocChangeSharingPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocChangeSharingPolicy isEqual:anEventType.paperDocChangeSharingPolicy]; case DBTEAMLOGEventTypePaperDocChangeSubscription: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocChangeSubscription isEqual:anEventType.paperDocChangeSubscription]; case DBTEAMLOGEventTypePaperDocDeleted: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocDeleted isEqual:anEventType.paperDocDeleted]; case DBTEAMLOGEventTypePaperDocDeleteComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocDeleteComment isEqual:anEventType.paperDocDeleteComment]; case DBTEAMLOGEventTypePaperDocDownload: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocDownload isEqual:anEventType.paperDocDownload]; case DBTEAMLOGEventTypePaperDocEdit: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocEdit isEqual:anEventType.paperDocEdit]; case DBTEAMLOGEventTypePaperDocEditComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocEditComment isEqual:anEventType.paperDocEditComment]; case DBTEAMLOGEventTypePaperDocFollowed: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocFollowed isEqual:anEventType.paperDocFollowed]; case DBTEAMLOGEventTypePaperDocMention: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocMention isEqual:anEventType.paperDocMention]; + case DBTEAMLOGEventTypePaperDocOwnershipChanged: + return [self.paperDocOwnershipChanged isEqual:anEventType.paperDocOwnershipChanged]; case DBTEAMLOGEventTypePaperDocRequestAccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocRequestAccess isEqual:anEventType.paperDocRequestAccess]; case DBTEAMLOGEventTypePaperDocResolveComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocResolveComment isEqual:anEventType.paperDocResolveComment]; case DBTEAMLOGEventTypePaperDocRevert: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocRevert isEqual:anEventType.paperDocRevert]; case DBTEAMLOGEventTypePaperDocSlackShare: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocSlackShare isEqual:anEventType.paperDocSlackShare]; case DBTEAMLOGEventTypePaperDocTeamInvite: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocTeamInvite isEqual:anEventType.paperDocTeamInvite]; case DBTEAMLOGEventTypePaperDocTrashed: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocTrashed isEqual:anEventType.paperDocTrashed]; case DBTEAMLOGEventTypePaperDocUnresolveComment: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocUnresolveComment isEqual:anEventType.paperDocUnresolveComment]; case DBTEAMLOGEventTypePaperDocUntrashed: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocUntrashed isEqual:anEventType.paperDocUntrashed]; case DBTEAMLOGEventTypePaperDocView: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperDocView isEqual:anEventType.paperDocView]; + case DBTEAMLOGEventTypePaperExternalViewAllow: + return [self.paperExternalViewAllow isEqual:anEventType.paperExternalViewAllow]; + case DBTEAMLOGEventTypePaperExternalViewDefaultTeam: + return [self.paperExternalViewDefaultTeam isEqual:anEventType.paperExternalViewDefaultTeam]; + case DBTEAMLOGEventTypePaperExternalViewForbid: + return [self.paperExternalViewForbid isEqual:anEventType.paperExternalViewForbid]; case DBTEAMLOGEventTypePaperFolderChangeSubscription: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperFolderChangeSubscription isEqual:anEventType.paperFolderChangeSubscription]; case DBTEAMLOGEventTypePaperFolderDeleted: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperFolderDeleted isEqual:anEventType.paperFolderDeleted]; case DBTEAMLOGEventTypePaperFolderFollowed: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperFolderFollowed isEqual:anEventType.paperFolderFollowed]; case DBTEAMLOGEventTypePaperFolderTeamInvite: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperFolderTeamInvite isEqual:anEventType.paperFolderTeamInvite]; + case DBTEAMLOGEventTypePaperPublishedLinkChangePermission: + return [self.paperPublishedLinkChangePermission isEqual:anEventType.paperPublishedLinkChangePermission]; + case DBTEAMLOGEventTypePaperPublishedLinkCreate: + return [self.paperPublishedLinkCreate isEqual:anEventType.paperPublishedLinkCreate]; + case DBTEAMLOGEventTypePaperPublishedLinkDisabled: + return [self.paperPublishedLinkDisabled isEqual:anEventType.paperPublishedLinkDisabled]; + case DBTEAMLOGEventTypePaperPublishedLinkView: + return [self.paperPublishedLinkView isEqual:anEventType.paperPublishedLinkView]; case DBTEAMLOGEventTypePasswordChange: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.passwordChange isEqual:anEventType.passwordChange]; case DBTEAMLOGEventTypePasswordReset: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.passwordReset isEqual:anEventType.passwordReset]; case DBTEAMLOGEventTypePasswordResetAll: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.passwordResetAll isEqual:anEventType.passwordResetAll]; + case DBTEAMLOGEventTypeClassificationCreateReport: + return [self.classificationCreateReport isEqual:anEventType.classificationCreateReport]; + case DBTEAMLOGEventTypeClassificationCreateReportFail: + return [self.classificationCreateReportFail isEqual:anEventType.classificationCreateReportFail]; case DBTEAMLOGEventTypeEmmCreateExceptionsReport: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmCreateExceptionsReport isEqual:anEventType.emmCreateExceptionsReport]; case DBTEAMLOGEventTypeEmmCreateUsageReport: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmCreateUsageReport isEqual:anEventType.emmCreateUsageReport]; + case DBTEAMLOGEventTypeExportMembersReport: + return [self.exportMembersReport isEqual:anEventType.exportMembersReport]; + case DBTEAMLOGEventTypeExportMembersReportFail: + return [self.exportMembersReportFail isEqual:anEventType.exportMembersReportFail]; + case DBTEAMLOGEventTypeExternalSharingCreateReport: + return [self.externalSharingCreateReport isEqual:anEventType.externalSharingCreateReport]; + case DBTEAMLOGEventTypeExternalSharingReportFailed: + return [self.externalSharingReportFailed isEqual:anEventType.externalSharingReportFailed]; + case DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport: + return [self.noExpirationLinkGenCreateReport isEqual:anEventType.noExpirationLinkGenCreateReport]; + case DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed: + return [self.noExpirationLinkGenReportFailed isEqual:anEventType.noExpirationLinkGenReportFailed]; + case DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport: + return [self.noPasswordLinkGenCreateReport isEqual:anEventType.noPasswordLinkGenCreateReport]; + case DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed: + return [self.noPasswordLinkGenReportFailed isEqual:anEventType.noPasswordLinkGenReportFailed]; + case DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport: + return [self.noPasswordLinkViewCreateReport isEqual:anEventType.noPasswordLinkViewCreateReport]; + case DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed: + return [self.noPasswordLinkViewReportFailed isEqual:anEventType.noPasswordLinkViewReportFailed]; + case DBTEAMLOGEventTypeOutdatedLinkViewCreateReport: + return [self.outdatedLinkViewCreateReport isEqual:anEventType.outdatedLinkViewCreateReport]; + case DBTEAMLOGEventTypeOutdatedLinkViewReportFailed: + return [self.outdatedLinkViewReportFailed isEqual:anEventType.outdatedLinkViewReportFailed]; + case DBTEAMLOGEventTypePaperAdminExportStart: + return [self.paperAdminExportStart isEqual:anEventType.paperAdminExportStart]; + case DBTEAMLOGEventTypeRansomwareAlertCreateReport: + return [self.ransomwareAlertCreateReport isEqual:anEventType.ransomwareAlertCreateReport]; + case DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed: + return [self.ransomwareAlertCreateReportFailed isEqual:anEventType.ransomwareAlertCreateReportFailed]; case DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.smartSyncCreateAdminPrivilegeReport isEqual:anEventType.smartSyncCreateAdminPrivilegeReport]; case DBTEAMLOGEventTypeTeamActivityCreateReport: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamActivityCreateReport isEqual:anEventType.teamActivityCreateReport]; + case DBTEAMLOGEventTypeTeamActivityCreateReportFail: + return [self.teamActivityCreateReportFail isEqual:anEventType.teamActivityCreateReportFail]; case DBTEAMLOGEventTypeCollectionShare: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.collectionShare isEqual:anEventType.collectionShare]; + case DBTEAMLOGEventTypeFileTransfersFileAdd: + return [self.fileTransfersFileAdd isEqual:anEventType.fileTransfersFileAdd]; + case DBTEAMLOGEventTypeFileTransfersTransferDelete: + return [self.fileTransfersTransferDelete isEqual:anEventType.fileTransfersTransferDelete]; + case DBTEAMLOGEventTypeFileTransfersTransferDownload: + return [self.fileTransfersTransferDownload isEqual:anEventType.fileTransfersTransferDownload]; + case DBTEAMLOGEventTypeFileTransfersTransferSend: + return [self.fileTransfersTransferSend isEqual:anEventType.fileTransfersTransferSend]; + case DBTEAMLOGEventTypeFileTransfersTransferView: + return [self.fileTransfersTransferView isEqual:anEventType.fileTransfersTransferView]; case DBTEAMLOGEventTypeNoteAclInviteOnly: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.noteAclInviteOnly isEqual:anEventType.noteAclInviteOnly]; case DBTEAMLOGEventTypeNoteAclLink: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.noteAclLink isEqual:anEventType.noteAclLink]; case DBTEAMLOGEventTypeNoteAclTeamLink: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.noteAclTeamLink isEqual:anEventType.noteAclTeamLink]; case DBTEAMLOGEventTypeNoteShared: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.noteShared isEqual:anEventType.noteShared]; case DBTEAMLOGEventTypeNoteShareReceive: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.noteShareReceive isEqual:anEventType.noteShareReceive]; case DBTEAMLOGEventTypeOpenNoteShared: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.openNoteShared isEqual:anEventType.openNoteShared]; + case DBTEAMLOGEventTypeReplayFileSharedLinkCreated: + return [self.replayFileSharedLinkCreated isEqual:anEventType.replayFileSharedLinkCreated]; + case DBTEAMLOGEventTypeReplayFileSharedLinkModified: + return [self.replayFileSharedLinkModified isEqual:anEventType.replayFileSharedLinkModified]; + case DBTEAMLOGEventTypeReplayProjectTeamAdd: + return [self.replayProjectTeamAdd isEqual:anEventType.replayProjectTeamAdd]; + case DBTEAMLOGEventTypeReplayProjectTeamDelete: + return [self.replayProjectTeamDelete isEqual:anEventType.replayProjectTeamDelete]; case DBTEAMLOGEventTypeSfAddGroup: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfAddGroup isEqual:anEventType.sfAddGroup]; case DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfAllowNonMembersToViewSharedLinks isEqual:anEventType.sfAllowNonMembersToViewSharedLinks]; + case DBTEAMLOGEventTypeSfExternalInviteWarn: + return [self.sfExternalInviteWarn isEqual:anEventType.sfExternalInviteWarn]; + case DBTEAMLOGEventTypeSfFbInvite: + return [self.sfFbInvite isEqual:anEventType.sfFbInvite]; + case DBTEAMLOGEventTypeSfFbInviteChangeRole: + return [self.sfFbInviteChangeRole isEqual:anEventType.sfFbInviteChangeRole]; + case DBTEAMLOGEventTypeSfFbUninvite: + return [self.sfFbUninvite isEqual:anEventType.sfFbUninvite]; case DBTEAMLOGEventTypeSfInviteGroup: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSfNest: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSfTeamDecline: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfInviteGroup isEqual:anEventType.sfInviteGroup]; case DBTEAMLOGEventTypeSfTeamGrantAccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamGrantAccess isEqual:anEventType.sfTeamGrantAccess]; case DBTEAMLOGEventTypeSfTeamInvite: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamInvite isEqual:anEventType.sfTeamInvite]; case DBTEAMLOGEventTypeSfTeamInviteChangeRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamInviteChangeRole isEqual:anEventType.sfTeamInviteChangeRole]; case DBTEAMLOGEventTypeSfTeamJoin: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamJoin isEqual:anEventType.sfTeamJoin]; case DBTEAMLOGEventTypeSfTeamJoinFromOobLink: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamJoinFromOobLink isEqual:anEventType.sfTeamJoinFromOobLink]; case DBTEAMLOGEventTypeSfTeamUninvite: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sfTeamUninvite isEqual:anEventType.sfTeamUninvite]; case DBTEAMLOGEventTypeSharedContentAddInvitees: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentAddInvitees isEqual:anEventType.sharedContentAddInvitees]; case DBTEAMLOGEventTypeSharedContentAddLinkExpiry: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentAddLinkExpiry isEqual:anEventType.sharedContentAddLinkExpiry]; case DBTEAMLOGEventTypeSharedContentAddLinkPassword: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentAddLinkPassword isEqual:anEventType.sharedContentAddLinkPassword]; case DBTEAMLOGEventTypeSharedContentAddMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentAddMember isEqual:anEventType.sharedContentAddMember]; case DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeDownloadsPolicy isEqual:anEventType.sharedContentChangeDownloadsPolicy]; case DBTEAMLOGEventTypeSharedContentChangeInviteeRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeInviteeRole isEqual:anEventType.sharedContentChangeInviteeRole]; case DBTEAMLOGEventTypeSharedContentChangeLinkAudience: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeLinkAudience isEqual:anEventType.sharedContentChangeLinkAudience]; case DBTEAMLOGEventTypeSharedContentChangeLinkExpiry: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeLinkExpiry isEqual:anEventType.sharedContentChangeLinkExpiry]; case DBTEAMLOGEventTypeSharedContentChangeLinkPassword: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeLinkPassword isEqual:anEventType.sharedContentChangeLinkPassword]; case DBTEAMLOGEventTypeSharedContentChangeMemberRole: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeMemberRole isEqual:anEventType.sharedContentChangeMemberRole]; case DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentChangeViewerInfoPolicy isEqual:anEventType.sharedContentChangeViewerInfoPolicy]; case DBTEAMLOGEventTypeSharedContentClaimInvitation: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentClaimInvitation isEqual:anEventType.sharedContentClaimInvitation]; case DBTEAMLOGEventTypeSharedContentCopy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentCopy isEqual:anEventType.sharedContentCopy]; case DBTEAMLOGEventTypeSharedContentDownload: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentDownload isEqual:anEventType.sharedContentDownload]; case DBTEAMLOGEventTypeSharedContentRelinquishMembership: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSharedContentRemoveInvitee: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentRelinquishMembership isEqual:anEventType.sharedContentRelinquishMembership]; + case DBTEAMLOGEventTypeSharedContentRemoveInvitees: + return [self.sharedContentRemoveInvitees isEqual:anEventType.sharedContentRemoveInvitees]; case DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentRemoveLinkExpiry isEqual:anEventType.sharedContentRemoveLinkExpiry]; case DBTEAMLOGEventTypeSharedContentRemoveLinkPassword: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentRemoveLinkPassword isEqual:anEventType.sharedContentRemoveLinkPassword]; case DBTEAMLOGEventTypeSharedContentRemoveMember: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentRemoveMember isEqual:anEventType.sharedContentRemoveMember]; case DBTEAMLOGEventTypeSharedContentRequestAccess: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentRequestAccess isEqual:anEventType.sharedContentRequestAccess]; + case DBTEAMLOGEventTypeSharedContentRestoreInvitees: + return [self.sharedContentRestoreInvitees isEqual:anEventType.sharedContentRestoreInvitees]; + case DBTEAMLOGEventTypeSharedContentRestoreMember: + return [self.sharedContentRestoreMember isEqual:anEventType.sharedContentRestoreMember]; case DBTEAMLOGEventTypeSharedContentUnshare: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentUnshare isEqual:anEventType.sharedContentUnshare]; case DBTEAMLOGEventTypeSharedContentView: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSharedFolderChangeConfidentiality: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedContentView isEqual:anEventType.sharedContentView]; case DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedFolderChangeLinkPolicy isEqual:anEventType.sharedFolderChangeLinkPolicy]; + case DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy: + return [self.sharedFolderChangeMembersInheritancePolicy + isEqual:anEventType.sharedFolderChangeMembersInheritancePolicy]; + case DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy: + return + [self.sharedFolderChangeMembersManagementPolicy isEqual:anEventType.sharedFolderChangeMembersManagementPolicy]; + case DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy: + return [self.sharedFolderChangeMembersPolicy isEqual:anEventType.sharedFolderChangeMembersPolicy]; case DBTEAMLOGEventTypeSharedFolderCreate: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedFolderCreate isEqual:anEventType.sharedFolderCreate]; + case DBTEAMLOGEventTypeSharedFolderDeclineInvitation: + return [self.sharedFolderDeclineInvitation isEqual:anEventType.sharedFolderDeclineInvitation]; case DBTEAMLOGEventTypeSharedFolderMount: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedFolderMount isEqual:anEventType.sharedFolderMount]; + case DBTEAMLOGEventTypeSharedFolderNest: + return [self.sharedFolderNest isEqual:anEventType.sharedFolderNest]; case DBTEAMLOGEventTypeSharedFolderTransferOwnership: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedFolderTransferOwnership isEqual:anEventType.sharedFolderTransferOwnership]; case DBTEAMLOGEventTypeSharedFolderUnmount: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedFolderUnmount isEqual:anEventType.sharedFolderUnmount]; + case DBTEAMLOGEventTypeSharedLinkAddExpiry: + return [self.sharedLinkAddExpiry isEqual:anEventType.sharedLinkAddExpiry]; + case DBTEAMLOGEventTypeSharedLinkChangeExpiry: + return [self.sharedLinkChangeExpiry isEqual:anEventType.sharedLinkChangeExpiry]; + case DBTEAMLOGEventTypeSharedLinkChangeVisibility: + return [self.sharedLinkChangeVisibility isEqual:anEventType.sharedLinkChangeVisibility]; + case DBTEAMLOGEventTypeSharedLinkCopy: + return [self.sharedLinkCopy isEqual:anEventType.sharedLinkCopy]; + case DBTEAMLOGEventTypeSharedLinkCreate: + return [self.sharedLinkCreate isEqual:anEventType.sharedLinkCreate]; + case DBTEAMLOGEventTypeSharedLinkDisable: + return [self.sharedLinkDisable isEqual:anEventType.sharedLinkDisable]; + case DBTEAMLOGEventTypeSharedLinkDownload: + return [self.sharedLinkDownload isEqual:anEventType.sharedLinkDownload]; + case DBTEAMLOGEventTypeSharedLinkRemoveExpiry: + return [self.sharedLinkRemoveExpiry isEqual:anEventType.sharedLinkRemoveExpiry]; + case DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration: + return [self.sharedLinkSettingsAddExpiration isEqual:anEventType.sharedLinkSettingsAddExpiration]; + case DBTEAMLOGEventTypeSharedLinkSettingsAddPassword: + return [self.sharedLinkSettingsAddPassword isEqual:anEventType.sharedLinkSettingsAddPassword]; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled: + return [self.sharedLinkSettingsAllowDownloadDisabled isEqual:anEventType.sharedLinkSettingsAllowDownloadDisabled]; + case DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled: + return [self.sharedLinkSettingsAllowDownloadEnabled isEqual:anEventType.sharedLinkSettingsAllowDownloadEnabled]; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience: + return [self.sharedLinkSettingsChangeAudience isEqual:anEventType.sharedLinkSettingsChangeAudience]; + case DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration: + return [self.sharedLinkSettingsChangeExpiration isEqual:anEventType.sharedLinkSettingsChangeExpiration]; + case DBTEAMLOGEventTypeSharedLinkSettingsChangePassword: + return [self.sharedLinkSettingsChangePassword isEqual:anEventType.sharedLinkSettingsChangePassword]; + case DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration: + return [self.sharedLinkSettingsRemoveExpiration isEqual:anEventType.sharedLinkSettingsRemoveExpiration]; + case DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword: + return [self.sharedLinkSettingsRemovePassword isEqual:anEventType.sharedLinkSettingsRemovePassword]; + case DBTEAMLOGEventTypeSharedLinkShare: + return [self.sharedLinkShare isEqual:anEventType.sharedLinkShare]; + case DBTEAMLOGEventTypeSharedLinkView: + return [self.sharedLinkView isEqual:anEventType.sharedLinkView]; case DBTEAMLOGEventTypeSharedNoteOpened: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelAppCreate: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelCreate: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelDisable: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelFbShare: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharedNoteOpened isEqual:anEventType.sharedNoteOpened]; + case DBTEAMLOGEventTypeShmodelDisableDownloads: + return [self.shmodelDisableDownloads isEqual:anEventType.shmodelDisableDownloads]; + case DBTEAMLOGEventTypeShmodelEnableDownloads: + return [self.shmodelEnableDownloads isEqual:anEventType.shmodelEnableDownloads]; case DBTEAMLOGEventTypeShmodelGroupShare: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelRemoveExpiration: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelSetExpiration: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelTeamCopy: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelTeamDownload: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelTeamShare: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelTeamView: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelVisibilityPassword: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelVisibilityPublic: - return [[self tagName] isEqual:[anEventType tagName]]; - case DBTEAMLOGEventTypeShmodelVisibilityTeamOnly: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.shmodelGroupShare isEqual:anEventType.shmodelGroupShare]; + case DBTEAMLOGEventTypeShowcaseAccessGranted: + return [self.showcaseAccessGranted isEqual:anEventType.showcaseAccessGranted]; + case DBTEAMLOGEventTypeShowcaseAddMember: + return [self.showcaseAddMember isEqual:anEventType.showcaseAddMember]; + case DBTEAMLOGEventTypeShowcaseArchived: + return [self.showcaseArchived isEqual:anEventType.showcaseArchived]; + case DBTEAMLOGEventTypeShowcaseCreated: + return [self.showcaseCreated isEqual:anEventType.showcaseCreated]; + case DBTEAMLOGEventTypeShowcaseDeleteComment: + return [self.showcaseDeleteComment isEqual:anEventType.showcaseDeleteComment]; + case DBTEAMLOGEventTypeShowcaseEdited: + return [self.showcaseEdited isEqual:anEventType.showcaseEdited]; + case DBTEAMLOGEventTypeShowcaseEditComment: + return [self.showcaseEditComment isEqual:anEventType.showcaseEditComment]; + case DBTEAMLOGEventTypeShowcaseFileAdded: + return [self.showcaseFileAdded isEqual:anEventType.showcaseFileAdded]; + case DBTEAMLOGEventTypeShowcaseFileDownload: + return [self.showcaseFileDownload isEqual:anEventType.showcaseFileDownload]; + case DBTEAMLOGEventTypeShowcaseFileRemoved: + return [self.showcaseFileRemoved isEqual:anEventType.showcaseFileRemoved]; + case DBTEAMLOGEventTypeShowcaseFileView: + return [self.showcaseFileView isEqual:anEventType.showcaseFileView]; + case DBTEAMLOGEventTypeShowcasePermanentlyDeleted: + return [self.showcasePermanentlyDeleted isEqual:anEventType.showcasePermanentlyDeleted]; + case DBTEAMLOGEventTypeShowcasePostComment: + return [self.showcasePostComment isEqual:anEventType.showcasePostComment]; + case DBTEAMLOGEventTypeShowcaseRemoveMember: + return [self.showcaseRemoveMember isEqual:anEventType.showcaseRemoveMember]; + case DBTEAMLOGEventTypeShowcaseRenamed: + return [self.showcaseRenamed isEqual:anEventType.showcaseRenamed]; + case DBTEAMLOGEventTypeShowcaseRequestAccess: + return [self.showcaseRequestAccess isEqual:anEventType.showcaseRequestAccess]; + case DBTEAMLOGEventTypeShowcaseResolveComment: + return [self.showcaseResolveComment isEqual:anEventType.showcaseResolveComment]; + case DBTEAMLOGEventTypeShowcaseRestored: + return [self.showcaseRestored isEqual:anEventType.showcaseRestored]; + case DBTEAMLOGEventTypeShowcaseTrashed: + return [self.showcaseTrashed isEqual:anEventType.showcaseTrashed]; + case DBTEAMLOGEventTypeShowcaseTrashedDeprecated: + return [self.showcaseTrashedDeprecated isEqual:anEventType.showcaseTrashedDeprecated]; + case DBTEAMLOGEventTypeShowcaseUnresolveComment: + return [self.showcaseUnresolveComment isEqual:anEventType.showcaseUnresolveComment]; + case DBTEAMLOGEventTypeShowcaseUntrashed: + return [self.showcaseUntrashed isEqual:anEventType.showcaseUntrashed]; + case DBTEAMLOGEventTypeShowcaseUntrashedDeprecated: + return [self.showcaseUntrashedDeprecated isEqual:anEventType.showcaseUntrashedDeprecated]; + case DBTEAMLOGEventTypeShowcaseView: + return [self.showcaseView isEqual:anEventType.showcaseView]; case DBTEAMLOGEventTypeSsoAddCert: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoAddCert isEqual:anEventType.ssoAddCert]; case DBTEAMLOGEventTypeSsoAddLoginUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoAddLoginUrl isEqual:anEventType.ssoAddLoginUrl]; case DBTEAMLOGEventTypeSsoAddLogoutUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoAddLogoutUrl isEqual:anEventType.ssoAddLogoutUrl]; case DBTEAMLOGEventTypeSsoChangeCert: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoChangeCert isEqual:anEventType.ssoChangeCert]; case DBTEAMLOGEventTypeSsoChangeLoginUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoChangeLoginUrl isEqual:anEventType.ssoChangeLoginUrl]; case DBTEAMLOGEventTypeSsoChangeLogoutUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoChangeLogoutUrl isEqual:anEventType.ssoChangeLogoutUrl]; case DBTEAMLOGEventTypeSsoChangeSamlIdentityMode: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoChangeSamlIdentityMode isEqual:anEventType.ssoChangeSamlIdentityMode]; case DBTEAMLOGEventTypeSsoRemoveCert: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoRemoveCert isEqual:anEventType.ssoRemoveCert]; case DBTEAMLOGEventTypeSsoRemoveLoginUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoRemoveLoginUrl isEqual:anEventType.ssoRemoveLoginUrl]; case DBTEAMLOGEventTypeSsoRemoveLogoutUrl: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoRemoveLogoutUrl isEqual:anEventType.ssoRemoveLogoutUrl]; case DBTEAMLOGEventTypeTeamFolderChangeStatus: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamFolderChangeStatus isEqual:anEventType.teamFolderChangeStatus]; case DBTEAMLOGEventTypeTeamFolderCreate: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamFolderCreate isEqual:anEventType.teamFolderCreate]; case DBTEAMLOGEventTypeTeamFolderDowngrade: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamFolderDowngrade isEqual:anEventType.teamFolderDowngrade]; case DBTEAMLOGEventTypeTeamFolderPermanentlyDelete: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamFolderPermanentlyDelete isEqual:anEventType.teamFolderPermanentlyDelete]; case DBTEAMLOGEventTypeTeamFolderRename: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamFolderRename isEqual:anEventType.teamFolderRename]; + case DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged: + return [self.teamSelectiveSyncSettingsChanged isEqual:anEventType.teamSelectiveSyncSettingsChanged]; case DBTEAMLOGEventTypeAccountCaptureChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.accountCaptureChangePolicy isEqual:anEventType.accountCaptureChangePolicy]; + case DBTEAMLOGEventTypeAdminEmailRemindersChanged: + return [self.adminEmailRemindersChanged isEqual:anEventType.adminEmailRemindersChanged]; case DBTEAMLOGEventTypeAllowDownloadDisabled: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.allowDownloadDisabled isEqual:anEventType.allowDownloadDisabled]; case DBTEAMLOGEventTypeAllowDownloadEnabled: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.allowDownloadEnabled isEqual:anEventType.allowDownloadEnabled]; + case DBTEAMLOGEventTypeAppPermissionsChanged: + return [self.appPermissionsChanged isEqual:anEventType.appPermissionsChanged]; + case DBTEAMLOGEventTypeCameraUploadsPolicyChanged: + return [self.cameraUploadsPolicyChanged isEqual:anEventType.cameraUploadsPolicyChanged]; + case DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged: + return [self.captureTranscriptPolicyChanged isEqual:anEventType.captureTranscriptPolicyChanged]; + case DBTEAMLOGEventTypeClassificationChangePolicy: + return [self.classificationChangePolicy isEqual:anEventType.classificationChangePolicy]; + case DBTEAMLOGEventTypeComputerBackupPolicyChanged: + return [self.computerBackupPolicyChanged isEqual:anEventType.computerBackupPolicyChanged]; + case DBTEAMLOGEventTypeContentAdministrationPolicyChanged: + return [self.contentAdministrationPolicyChanged isEqual:anEventType.contentAdministrationPolicyChanged]; case DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.dataPlacementRestrictionChangePolicy isEqual:anEventType.dataPlacementRestrictionChangePolicy]; case DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.dataPlacementRestrictionSatisfyPolicy isEqual:anEventType.dataPlacementRestrictionSatisfyPolicy]; + case DBTEAMLOGEventTypeDeviceApprovalsAddException: + return [self.deviceApprovalsAddException isEqual:anEventType.deviceApprovalsAddException]; case DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceApprovalsChangeDesktopPolicy isEqual:anEventType.deviceApprovalsChangeDesktopPolicy]; case DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceApprovalsChangeMobilePolicy isEqual:anEventType.deviceApprovalsChangeMobilePolicy]; case DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceApprovalsChangeOverageAction isEqual:anEventType.deviceApprovalsChangeOverageAction]; case DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.deviceApprovalsChangeUnlinkAction isEqual:anEventType.deviceApprovalsChangeUnlinkAction]; + case DBTEAMLOGEventTypeDeviceApprovalsRemoveException: + return [self.deviceApprovalsRemoveException isEqual:anEventType.deviceApprovalsRemoveException]; + case DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers: + return [self.directoryRestrictionsAddMembers isEqual:anEventType.directoryRestrictionsAddMembers]; + case DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers: + return [self.directoryRestrictionsRemoveMembers isEqual:anEventType.directoryRestrictionsRemoveMembers]; + case DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged: + return [self.dropboxPasswordsPolicyChanged isEqual:anEventType.dropboxPasswordsPolicyChanged]; + case DBTEAMLOGEventTypeEmailIngestPolicyChanged: + return [self.emailIngestPolicyChanged isEqual:anEventType.emailIngestPolicyChanged]; case DBTEAMLOGEventTypeEmmAddException: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmAddException isEqual:anEventType.emmAddException]; case DBTEAMLOGEventTypeEmmChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmChangePolicy isEqual:anEventType.emmChangePolicy]; case DBTEAMLOGEventTypeEmmRemoveException: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.emmRemoveException isEqual:anEventType.emmRemoveException]; case DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.extendedVersionHistoryChangePolicy isEqual:anEventType.extendedVersionHistoryChangePolicy]; + case DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged: + return [self.externalDriveBackupPolicyChanged isEqual:anEventType.externalDriveBackupPolicyChanged]; case DBTEAMLOGEventTypeFileCommentsChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileCommentsChangePolicy isEqual:anEventType.fileCommentsChangePolicy]; + case DBTEAMLOGEventTypeFileLockingPolicyChanged: + return [self.fileLockingPolicyChanged isEqual:anEventType.fileLockingPolicyChanged]; + case DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged: + return [self.fileProviderMigrationPolicyChanged isEqual:anEventType.fileProviderMigrationPolicyChanged]; case DBTEAMLOGEventTypeFileRequestsChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestsChangePolicy isEqual:anEventType.fileRequestsChangePolicy]; case DBTEAMLOGEventTypeFileRequestsEmailsEnabled: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestsEmailsEnabled isEqual:anEventType.fileRequestsEmailsEnabled]; case DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.fileRequestsEmailsRestrictedToTeamOnly isEqual:anEventType.fileRequestsEmailsRestrictedToTeamOnly]; + case DBTEAMLOGEventTypeFileTransfersPolicyChanged: + return [self.fileTransfersPolicyChanged isEqual:anEventType.fileTransfersPolicyChanged]; + case DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged: + return [self.folderLinkRestrictionPolicyChanged isEqual:anEventType.folderLinkRestrictionPolicyChanged]; case DBTEAMLOGEventTypeGoogleSsoChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.googleSsoChangePolicy isEqual:anEventType.googleSsoChangePolicy]; case DBTEAMLOGEventTypeGroupUserManagementChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.groupUserManagementChangePolicy isEqual:anEventType.groupUserManagementChangePolicy]; + case DBTEAMLOGEventTypeIntegrationPolicyChanged: + return [self.integrationPolicyChanged isEqual:anEventType.integrationPolicyChanged]; + case DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged: + return [self.inviteAcceptanceEmailPolicyChanged isEqual:anEventType.inviteAcceptanceEmailPolicyChanged]; case DBTEAMLOGEventTypeMemberRequestsChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberRequestsChangePolicy isEqual:anEventType.memberRequestsChangePolicy]; + case DBTEAMLOGEventTypeMemberSendInvitePolicyChanged: + return [self.memberSendInvitePolicyChanged isEqual:anEventType.memberSendInvitePolicyChanged]; case DBTEAMLOGEventTypeMemberSpaceLimitsAddException: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberSpaceLimitsAddException isEqual:anEventType.memberSpaceLimitsAddException]; + case DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy: + return [self.memberSpaceLimitsChangeCapsTypePolicy isEqual:anEventType.memberSpaceLimitsChangeCapsTypePolicy]; case DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberSpaceLimitsChangePolicy isEqual:anEventType.memberSpaceLimitsChangePolicy]; case DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberSpaceLimitsRemoveException isEqual:anEventType.memberSpaceLimitsRemoveException]; case DBTEAMLOGEventTypeMemberSuggestionsChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.memberSuggestionsChangePolicy isEqual:anEventType.memberSuggestionsChangePolicy]; case DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.microsoftOfficeAddinChangePolicy isEqual:anEventType.microsoftOfficeAddinChangePolicy]; case DBTEAMLOGEventTypeNetworkControlChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.networkControlChangePolicy isEqual:anEventType.networkControlChangePolicy]; case DBTEAMLOGEventTypePaperChangeDeploymentPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperChangeDeploymentPolicy isEqual:anEventType.paperChangeDeploymentPolicy]; case DBTEAMLOGEventTypePaperChangeMemberLinkPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperChangeMemberLinkPolicy isEqual:anEventType.paperChangeMemberLinkPolicy]; case DBTEAMLOGEventTypePaperChangeMemberPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperChangeMemberPolicy isEqual:anEventType.paperChangeMemberPolicy]; case DBTEAMLOGEventTypePaperChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.paperChangePolicy isEqual:anEventType.paperChangePolicy]; + case DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged: + return [self.paperDefaultFolderPolicyChanged isEqual:anEventType.paperDefaultFolderPolicyChanged]; + case DBTEAMLOGEventTypePaperDesktopPolicyChanged: + return [self.paperDesktopPolicyChanged isEqual:anEventType.paperDesktopPolicyChanged]; + case DBTEAMLOGEventTypePaperEnabledUsersGroupAddition: + return [self.paperEnabledUsersGroupAddition isEqual:anEventType.paperEnabledUsersGroupAddition]; + case DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval: + return [self.paperEnabledUsersGroupRemoval isEqual:anEventType.paperEnabledUsersGroupRemoval]; + case DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy: + return [self.passwordStrengthRequirementsChangePolicy isEqual:anEventType.passwordStrengthRequirementsChangePolicy]; case DBTEAMLOGEventTypePermanentDeleteChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.permanentDeleteChangePolicy isEqual:anEventType.permanentDeleteChangePolicy]; + case DBTEAMLOGEventTypeResellerSupportChangePolicy: + return [self.resellerSupportChangePolicy isEqual:anEventType.resellerSupportChangePolicy]; + case DBTEAMLOGEventTypeRewindPolicyChanged: + return [self.rewindPolicyChanged isEqual:anEventType.rewindPolicyChanged]; + case DBTEAMLOGEventTypeSendForSignaturePolicyChanged: + return [self.sendForSignaturePolicyChanged isEqual:anEventType.sendForSignaturePolicyChanged]; case DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharingChangeFolderJoinPolicy isEqual:anEventType.sharingChangeFolderJoinPolicy]; + case DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy: + return [self.sharingChangeLinkAllowChangeExpirationPolicy + isEqual:anEventType.sharingChangeLinkAllowChangeExpirationPolicy]; + case DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy: + return [self.sharingChangeLinkDefaultExpirationPolicy isEqual:anEventType.sharingChangeLinkDefaultExpirationPolicy]; + case DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy: + return [self.sharingChangeLinkEnforcePasswordPolicy isEqual:anEventType.sharingChangeLinkEnforcePasswordPolicy]; case DBTEAMLOGEventTypeSharingChangeLinkPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharingChangeLinkPolicy isEqual:anEventType.sharingChangeLinkPolicy]; case DBTEAMLOGEventTypeSharingChangeMemberPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.sharingChangeMemberPolicy isEqual:anEventType.sharingChangeMemberPolicy]; + case DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy: + return [self.showcaseChangeDownloadPolicy isEqual:anEventType.showcaseChangeDownloadPolicy]; + case DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy: + return [self.showcaseChangeEnabledPolicy isEqual:anEventType.showcaseChangeEnabledPolicy]; + case DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy: + return [self.showcaseChangeExternalSharingPolicy isEqual:anEventType.showcaseChangeExternalSharingPolicy]; + case DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged: + return [self.smarterSmartSyncPolicyChanged isEqual:anEventType.smarterSmartSyncPolicyChanged]; case DBTEAMLOGEventTypeSmartSyncChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.smartSyncChangePolicy isEqual:anEventType.smartSyncChangePolicy]; case DBTEAMLOGEventTypeSmartSyncNotOptOut: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.smartSyncNotOptOut isEqual:anEventType.smartSyncNotOptOut]; case DBTEAMLOGEventTypeSmartSyncOptOut: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.smartSyncOptOut isEqual:anEventType.smartSyncOptOut]; case DBTEAMLOGEventTypeSsoChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.ssoChangePolicy isEqual:anEventType.ssoChangePolicy]; + case DBTEAMLOGEventTypeTeamBrandingPolicyChanged: + return [self.teamBrandingPolicyChanged isEqual:anEventType.teamBrandingPolicyChanged]; + case DBTEAMLOGEventTypeTeamExtensionsPolicyChanged: + return [self.teamExtensionsPolicyChanged isEqual:anEventType.teamExtensionsPolicyChanged]; + case DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged: + return [self.teamSelectiveSyncPolicyChanged isEqual:anEventType.teamSelectiveSyncPolicyChanged]; + case DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged: + return [self.teamSharingWhitelistSubjectsChanged isEqual:anEventType.teamSharingWhitelistSubjectsChanged]; + case DBTEAMLOGEventTypeTfaAddException: + return [self.tfaAddException isEqual:anEventType.tfaAddException]; case DBTEAMLOGEventTypeTfaChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaChangePolicy isEqual:anEventType.tfaChangePolicy]; + case DBTEAMLOGEventTypeTfaRemoveException: + return [self.tfaRemoveException isEqual:anEventType.tfaRemoveException]; case DBTEAMLOGEventTypeTwoAccountChangePolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.twoAccountChangePolicy isEqual:anEventType.twoAccountChangePolicy]; + case DBTEAMLOGEventTypeViewerInfoPolicyChanged: + return [self.viewerInfoPolicyChanged isEqual:anEventType.viewerInfoPolicyChanged]; + case DBTEAMLOGEventTypeWatermarkingPolicyChanged: + return [self.watermarkingPolicyChanged isEqual:anEventType.watermarkingPolicyChanged]; + case DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit: + return [self.webSessionsChangeActiveSessionLimit isEqual:anEventType.webSessionsChangeActiveSessionLimit]; case DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.webSessionsChangeFixedLengthPolicy isEqual:anEventType.webSessionsChangeFixedLengthPolicy]; case DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.webSessionsChangeIdleLengthPolicy isEqual:anEventType.webSessionsChangeIdleLengthPolicy]; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful: + return [self.dataResidencyMigrationRequestSuccessful isEqual:anEventType.dataResidencyMigrationRequestSuccessful]; + case DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful: + return + [self.dataResidencyMigrationRequestUnsuccessful isEqual:anEventType.dataResidencyMigrationRequestUnsuccessful]; + case DBTEAMLOGEventTypeTeamMergeFrom: + return [self.teamMergeFrom isEqual:anEventType.teamMergeFrom]; + case DBTEAMLOGEventTypeTeamMergeTo: + return [self.teamMergeTo isEqual:anEventType.teamMergeTo]; + case DBTEAMLOGEventTypeTeamProfileAddBackground: + return [self.teamProfileAddBackground isEqual:anEventType.teamProfileAddBackground]; case DBTEAMLOGEventTypeTeamProfileAddLogo: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamProfileAddLogo isEqual:anEventType.teamProfileAddLogo]; + case DBTEAMLOGEventTypeTeamProfileChangeBackground: + return [self.teamProfileChangeBackground isEqual:anEventType.teamProfileChangeBackground]; case DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamProfileChangeDefaultLanguage isEqual:anEventType.teamProfileChangeDefaultLanguage]; case DBTEAMLOGEventTypeTeamProfileChangeLogo: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamProfileChangeLogo isEqual:anEventType.teamProfileChangeLogo]; case DBTEAMLOGEventTypeTeamProfileChangeName: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamProfileChangeName isEqual:anEventType.teamProfileChangeName]; + case DBTEAMLOGEventTypeTeamProfileRemoveBackground: + return [self.teamProfileRemoveBackground isEqual:anEventType.teamProfileRemoveBackground]; case DBTEAMLOGEventTypeTeamProfileRemoveLogo: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.teamProfileRemoveLogo isEqual:anEventType.teamProfileRemoveLogo]; case DBTEAMLOGEventTypeTfaAddBackupPhone: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaAddBackupPhone isEqual:anEventType.tfaAddBackupPhone]; case DBTEAMLOGEventTypeTfaAddSecurityKey: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaAddSecurityKey isEqual:anEventType.tfaAddSecurityKey]; case DBTEAMLOGEventTypeTfaChangeBackupPhone: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaChangeBackupPhone isEqual:anEventType.tfaChangeBackupPhone]; case DBTEAMLOGEventTypeTfaChangeStatus: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaChangeStatus isEqual:anEventType.tfaChangeStatus]; case DBTEAMLOGEventTypeTfaRemoveBackupPhone: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaRemoveBackupPhone isEqual:anEventType.tfaRemoveBackupPhone]; case DBTEAMLOGEventTypeTfaRemoveSecurityKey: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaRemoveSecurityKey isEqual:anEventType.tfaRemoveSecurityKey]; case DBTEAMLOGEventTypeTfaReset: - return [[self tagName] isEqual:[anEventType tagName]]; + return [self.tfaReset isEqual:anEventType.tfaReset]; + case DBTEAMLOGEventTypeChangedEnterpriseAdminRole: + return [self.changedEnterpriseAdminRole isEqual:anEventType.changedEnterpriseAdminRole]; + case DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus: + return [self.changedEnterpriseConnectedTeamStatus isEqual:anEventType.changedEnterpriseConnectedTeamStatus]; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSession: + return [self.endedEnterpriseAdminSession isEqual:anEventType.endedEnterpriseAdminSession]; + case DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated: + return [self.endedEnterpriseAdminSessionDeprecated isEqual:anEventType.endedEnterpriseAdminSessionDeprecated]; + case DBTEAMLOGEventTypeEnterpriseSettingsLocking: + return [self.enterpriseSettingsLocking isEqual:anEventType.enterpriseSettingsLocking]; + case DBTEAMLOGEventTypeGuestAdminChangeStatus: + return [self.guestAdminChangeStatus isEqual:anEventType.guestAdminChangeStatus]; + case DBTEAMLOGEventTypeStartedEnterpriseAdminSession: + return [self.startedEnterpriseAdminSession isEqual:anEventType.startedEnterpriseAdminSession]; + case DBTEAMLOGEventTypeTeamMergeRequestAccepted: + return [self.teamMergeRequestAccepted isEqual:anEventType.teamMergeRequestAccepted]; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam: + return [self.teamMergeRequestAcceptedShownToPrimaryTeam + isEqual:anEventType.teamMergeRequestAcceptedShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam: + return [self.teamMergeRequestAcceptedShownToSecondaryTeam + isEqual:anEventType.teamMergeRequestAcceptedShownToSecondaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled: + return [self.teamMergeRequestAutoCanceled isEqual:anEventType.teamMergeRequestAutoCanceled]; + case DBTEAMLOGEventTypeTeamMergeRequestCanceled: + return [self.teamMergeRequestCanceled isEqual:anEventType.teamMergeRequestCanceled]; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam: + return [self.teamMergeRequestCanceledShownToPrimaryTeam + isEqual:anEventType.teamMergeRequestCanceledShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam: + return [self.teamMergeRequestCanceledShownToSecondaryTeam + isEqual:anEventType.teamMergeRequestCanceledShownToSecondaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestExpired: + return [self.teamMergeRequestExpired isEqual:anEventType.teamMergeRequestExpired]; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam: + return + [self.teamMergeRequestExpiredShownToPrimaryTeam isEqual:anEventType.teamMergeRequestExpiredShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam: + return [self.teamMergeRequestExpiredShownToSecondaryTeam + isEqual:anEventType.teamMergeRequestExpiredShownToSecondaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam: + return [self.teamMergeRequestRejectedShownToPrimaryTeam + isEqual:anEventType.teamMergeRequestRejectedShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam: + return [self.teamMergeRequestRejectedShownToSecondaryTeam + isEqual:anEventType.teamMergeRequestRejectedShownToSecondaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestReminder: + return [self.teamMergeRequestReminder isEqual:anEventType.teamMergeRequestReminder]; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam: + return [self.teamMergeRequestReminderShownToPrimaryTeam + isEqual:anEventType.teamMergeRequestReminderShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam: + return [self.teamMergeRequestReminderShownToSecondaryTeam + isEqual:anEventType.teamMergeRequestReminderShownToSecondaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestRevoked: + return [self.teamMergeRequestRevoked isEqual:anEventType.teamMergeRequestRevoked]; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam: + return [self.teamMergeRequestSentShownToPrimaryTeam isEqual:anEventType.teamMergeRequestSentShownToPrimaryTeam]; + case DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam: + return [self.teamMergeRequestSentShownToSecondaryTeam isEqual:anEventType.teamMergeRequestSentShownToSecondaryTeam]; case DBTEAMLOGEventTypeOther: return [[self tagName] isEqual:[anEventType tagName]]; } @@ -24812,1155 +65144,90407 @@ - (BOOL)isEqualToEventType:(DBTEAMLOGEventType *)anEventType { @end -#pragma mark - Serializer Object +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEventTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEventType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAdminAlertingAlertStateChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer + serialize:valueObj.adminAlertingAlertStateChanged]]; + jsonDict[@".tag"] = @"admin_alerting_alert_state_changed"; + } else if ([valueObj isAdminAlertingChangedAlertConfig]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer + serialize:valueObj.adminAlertingChangedAlertConfig]]; + jsonDict[@".tag"] = @"admin_alerting_changed_alert_config"; + } else if ([valueObj isAdminAlertingTriggeredAlert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer + serialize:valueObj.adminAlertingTriggeredAlert]]; + jsonDict[@".tag"] = @"admin_alerting_triggered_alert"; + } else if ([valueObj isRansomwareRestoreProcessCompleted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer + serialize:valueObj.ransomwareRestoreProcessCompleted]]; + jsonDict[@".tag"] = @"ransomware_restore_process_completed"; + } else if ([valueObj isRansomwareRestoreProcessStarted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer + serialize:valueObj.ransomwareRestoreProcessStarted]]; + jsonDict[@".tag"] = @"ransomware_restore_process_started"; + } else if ([valueObj isAppBlockedByPermissions]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppBlockedByPermissionsTypeSerializer + serialize:valueObj.appBlockedByPermissions]]; + jsonDict[@".tag"] = @"app_blocked_by_permissions"; + } else if ([valueObj isAppLinkTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppLinkTeamTypeSerializer serialize:valueObj.appLinkTeam]]; + jsonDict[@".tag"] = @"app_link_team"; + } else if ([valueObj isAppLinkUser]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppLinkUserTypeSerializer serialize:valueObj.appLinkUser]]; + jsonDict[@".tag"] = @"app_link_user"; + } else if ([valueObj isAppUnlinkTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppUnlinkTeamTypeSerializer serialize:valueObj.appUnlinkTeam]]; + jsonDict[@".tag"] = @"app_unlink_team"; + } else if ([valueObj isAppUnlinkUser]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppUnlinkUserTypeSerializer serialize:valueObj.appUnlinkUser]]; + jsonDict[@".tag"] = @"app_unlink_user"; + } else if ([valueObj isIntegrationConnected]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGIntegrationConnectedTypeSerializer serialize:valueObj.integrationConnected]]; + jsonDict[@".tag"] = @"integration_connected"; + } else if ([valueObj isIntegrationDisconnected]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGIntegrationDisconnectedTypeSerializer + serialize:valueObj.integrationDisconnected]]; + jsonDict[@".tag"] = @"integration_disconnected"; + } else if ([valueObj isFileAddComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileAddCommentTypeSerializer serialize:valueObj.fileAddComment]]; + jsonDict[@".tag"] = @"file_add_comment"; + } else if ([valueObj isFileChangeCommentSubscription]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer + serialize:valueObj.fileChangeCommentSubscription]]; + jsonDict[@".tag"] = @"file_change_comment_subscription"; + } else if ([valueObj isFileDeleteComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDeleteCommentTypeSerializer serialize:valueObj.fileDeleteComment]]; + jsonDict[@".tag"] = @"file_delete_comment"; + } else if ([valueObj isFileEditComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileEditCommentTypeSerializer serialize:valueObj.fileEditComment]]; + jsonDict[@".tag"] = @"file_edit_comment"; + } else if ([valueObj isFileLikeComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLikeCommentTypeSerializer serialize:valueObj.fileLikeComment]]; + jsonDict[@".tag"] = @"file_like_comment"; + } else if ([valueObj isFileResolveComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileResolveCommentTypeSerializer serialize:valueObj.fileResolveComment]]; + jsonDict[@".tag"] = @"file_resolve_comment"; + } else if ([valueObj isFileUnlikeComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileUnlikeCommentTypeSerializer serialize:valueObj.fileUnlikeComment]]; + jsonDict[@".tag"] = @"file_unlike_comment"; + } else if ([valueObj isFileUnresolveComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileUnresolveCommentTypeSerializer serialize:valueObj.fileUnresolveComment]]; + jsonDict[@".tag"] = @"file_unresolve_comment"; + } else if ([valueObj isGovernancePolicyAddFolders]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer + serialize:valueObj.governancePolicyAddFolders]]; + jsonDict[@".tag"] = @"governance_policy_add_folders"; + } else if ([valueObj isGovernancePolicyAddFolderFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer + serialize:valueObj.governancePolicyAddFolderFailed]]; + jsonDict[@".tag"] = @"governance_policy_add_folder_failed"; + } else if ([valueObj isGovernancePolicyContentDisposed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer + serialize:valueObj.governancePolicyContentDisposed]]; + jsonDict[@".tag"] = @"governance_policy_content_disposed"; + } else if ([valueObj isGovernancePolicyCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyCreateTypeSerializer + serialize:valueObj.governancePolicyCreate]]; + jsonDict[@".tag"] = @"governance_policy_create"; + } else if ([valueObj isGovernancePolicyDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyDeleteTypeSerializer + serialize:valueObj.governancePolicyDelete]]; + jsonDict[@".tag"] = @"governance_policy_delete"; + } else if ([valueObj isGovernancePolicyEditDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer + serialize:valueObj.governancePolicyEditDetails]]; + jsonDict[@".tag"] = @"governance_policy_edit_details"; + } else if ([valueObj isGovernancePolicyEditDuration]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyEditDurationTypeSerializer + serialize:valueObj.governancePolicyEditDuration]]; + jsonDict[@".tag"] = @"governance_policy_edit_duration"; + } else if ([valueObj isGovernancePolicyExportCreated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer + serialize:valueObj.governancePolicyExportCreated]]; + jsonDict[@".tag"] = @"governance_policy_export_created"; + } else if ([valueObj isGovernancePolicyExportRemoved]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer + serialize:valueObj.governancePolicyExportRemoved]]; + jsonDict[@".tag"] = @"governance_policy_export_removed"; + } else if ([valueObj isGovernancePolicyRemoveFolders]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer + serialize:valueObj.governancePolicyRemoveFolders]]; + jsonDict[@".tag"] = @"governance_policy_remove_folders"; + } else if ([valueObj isGovernancePolicyReportCreated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer + serialize:valueObj.governancePolicyReportCreated]]; + jsonDict[@".tag"] = @"governance_policy_report_created"; + } else if ([valueObj isGovernancePolicyZipPartDownloaded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer + serialize:valueObj.governancePolicyZipPartDownloaded]]; + jsonDict[@".tag"] = @"governance_policy_zip_part_downloaded"; + } else if ([valueObj isLegalHoldsActivateAHold]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer + serialize:valueObj.legalHoldsActivateAHold]]; + jsonDict[@".tag"] = @"legal_holds_activate_a_hold"; + } else if ([valueObj isLegalHoldsAddMembers]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGLegalHoldsAddMembersTypeSerializer serialize:valueObj.legalHoldsAddMembers]]; + jsonDict[@".tag"] = @"legal_holds_add_members"; + } else if ([valueObj isLegalHoldsChangeHoldDetails]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer + serialize:valueObj.legalHoldsChangeHoldDetails]]; + jsonDict[@".tag"] = @"legal_holds_change_hold_details"; + } else if ([valueObj isLegalHoldsChangeHoldName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer + serialize:valueObj.legalHoldsChangeHoldName]]; + jsonDict[@".tag"] = @"legal_holds_change_hold_name"; + } else if ([valueObj isLegalHoldsExportAHold]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportAHoldTypeSerializer + serialize:valueObj.legalHoldsExportAHold]]; + jsonDict[@".tag"] = @"legal_holds_export_a_hold"; + } else if ([valueObj isLegalHoldsExportCancelled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportCancelledTypeSerializer + serialize:valueObj.legalHoldsExportCancelled]]; + jsonDict[@".tag"] = @"legal_holds_export_cancelled"; + } else if ([valueObj isLegalHoldsExportDownloaded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer + serialize:valueObj.legalHoldsExportDownloaded]]; + jsonDict[@".tag"] = @"legal_holds_export_downloaded"; + } else if ([valueObj isLegalHoldsExportRemoved]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsExportRemovedTypeSerializer + serialize:valueObj.legalHoldsExportRemoved]]; + jsonDict[@".tag"] = @"legal_holds_export_removed"; + } else if ([valueObj isLegalHoldsReleaseAHold]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer + serialize:valueObj.legalHoldsReleaseAHold]]; + jsonDict[@".tag"] = @"legal_holds_release_a_hold"; + } else if ([valueObj isLegalHoldsRemoveMembers]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer + serialize:valueObj.legalHoldsRemoveMembers]]; + jsonDict[@".tag"] = @"legal_holds_remove_members"; + } else if ([valueObj isLegalHoldsReportAHold]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegalHoldsReportAHoldTypeSerializer + serialize:valueObj.legalHoldsReportAHold]]; + jsonDict[@".tag"] = @"legal_holds_report_a_hold"; + } else if ([valueObj isDeviceChangeIpDesktop]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpDesktopTypeSerializer + serialize:valueObj.deviceChangeIpDesktop]]; + jsonDict[@".tag"] = @"device_change_ip_desktop"; + } else if ([valueObj isDeviceChangeIpMobile]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpMobileTypeSerializer serialize:valueObj.deviceChangeIpMobile]]; + jsonDict[@".tag"] = @"device_change_ip_mobile"; + } else if ([valueObj isDeviceChangeIpWeb]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceChangeIpWebTypeSerializer serialize:valueObj.deviceChangeIpWeb]]; + jsonDict[@".tag"] = @"device_change_ip_web"; + } else if ([valueObj isDeviceDeleteOnUnlinkFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer + serialize:valueObj.deviceDeleteOnUnlinkFail]]; + jsonDict[@".tag"] = @"device_delete_on_unlink_fail"; + } else if ([valueObj isDeviceDeleteOnUnlinkSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer + serialize:valueObj.deviceDeleteOnUnlinkSuccess]]; + jsonDict[@".tag"] = @"device_delete_on_unlink_success"; + } else if ([valueObj isDeviceLinkFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceLinkFailTypeSerializer serialize:valueObj.deviceLinkFail]]; + jsonDict[@".tag"] = @"device_link_fail"; + } else if ([valueObj isDeviceLinkSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceLinkSuccessTypeSerializer serialize:valueObj.deviceLinkSuccess]]; + jsonDict[@".tag"] = @"device_link_success"; + } else if ([valueObj isDeviceManagementDisabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceManagementDisabledTypeSerializer + serialize:valueObj.deviceManagementDisabled]]; + jsonDict[@".tag"] = @"device_management_disabled"; + } else if ([valueObj isDeviceManagementEnabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceManagementEnabledTypeSerializer + serialize:valueObj.deviceManagementEnabled]]; + jsonDict[@".tag"] = @"device_management_enabled"; + } else if ([valueObj isDeviceSyncBackupStatusChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer + serialize:valueObj.deviceSyncBackupStatusChanged]]; + jsonDict[@".tag"] = @"device_sync_backup_status_changed"; + } else if ([valueObj isDeviceUnlink]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceUnlinkTypeSerializer serialize:valueObj.deviceUnlink]]; + jsonDict[@".tag"] = @"device_unlink"; + } else if ([valueObj isDropboxPasswordsExported]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsExportedTypeSerializer + serialize:valueObj.dropboxPasswordsExported]]; + jsonDict[@".tag"] = @"dropbox_passwords_exported"; + } else if ([valueObj isDropboxPasswordsNewDeviceEnrolled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer + serialize:valueObj.dropboxPasswordsNewDeviceEnrolled]]; + jsonDict[@".tag"] = @"dropbox_passwords_new_device_enrolled"; + } else if ([valueObj isEmmRefreshAuthToken]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEmmRefreshAuthTokenTypeSerializer serialize:valueObj.emmRefreshAuthToken]]; + jsonDict[@".tag"] = @"emm_refresh_auth_token"; + } else if ([valueObj isExternalDriveBackupEligibilityStatusChecked]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer + serialize:valueObj.externalDriveBackupEligibilityStatusChecked]]; + jsonDict[@".tag"] = @"external_drive_backup_eligibility_status_checked"; + } else if ([valueObj isExternalDriveBackupStatusChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer + serialize:valueObj.externalDriveBackupStatusChanged]]; + jsonDict[@".tag"] = @"external_drive_backup_status_changed"; + } else if ([valueObj isAccountCaptureChangeAvailability]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer + serialize:valueObj.accountCaptureChangeAvailability]]; + jsonDict[@".tag"] = @"account_capture_change_availability"; + } else if ([valueObj isAccountCaptureMigrateAccount]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer + serialize:valueObj.accountCaptureMigrateAccount]]; + jsonDict[@".tag"] = @"account_capture_migrate_account"; + } else if ([valueObj isAccountCaptureNotificationEmailsSent]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer + serialize:valueObj.accountCaptureNotificationEmailsSent]]; + jsonDict[@".tag"] = @"account_capture_notification_emails_sent"; + } else if ([valueObj isAccountCaptureRelinquishAccount]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer + serialize:valueObj.accountCaptureRelinquishAccount]]; + jsonDict[@".tag"] = @"account_capture_relinquish_account"; + } else if ([valueObj isDisabledDomainInvites]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDisabledDomainInvitesTypeSerializer + serialize:valueObj.disabledDomainInvites]]; + jsonDict[@".tag"] = @"disabled_domain_invites"; + } else if ([valueObj isDomainInvitesApproveRequestToJoinTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer + serialize:valueObj.domainInvitesApproveRequestToJoinTeam]]; + jsonDict[@".tag"] = @"domain_invites_approve_request_to_join_team"; + } else if ([valueObj isDomainInvitesDeclineRequestToJoinTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer + serialize:valueObj.domainInvitesDeclineRequestToJoinTeam]]; + jsonDict[@".tag"] = @"domain_invites_decline_request_to_join_team"; + } else if ([valueObj isDomainInvitesEmailExistingUsers]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer + serialize:valueObj.domainInvitesEmailExistingUsers]]; + jsonDict[@".tag"] = @"domain_invites_email_existing_users"; + } else if ([valueObj isDomainInvitesRequestToJoinTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer + serialize:valueObj.domainInvitesRequestToJoinTeam]]; + jsonDict[@".tag"] = @"domain_invites_request_to_join_team"; + } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToNo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer + serialize:valueObj.domainInvitesSetInviteNewUserPrefToNo]]; + jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_no"; + } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToYes]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer + serialize:valueObj.domainInvitesSetInviteNewUserPrefToYes]]; + jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_yes"; + } else if ([valueObj isDomainVerificationAddDomainFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer + serialize:valueObj.domainVerificationAddDomainFail]]; + jsonDict[@".tag"] = @"domain_verification_add_domain_fail"; + } else if ([valueObj isDomainVerificationAddDomainSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer + serialize:valueObj.domainVerificationAddDomainSuccess]]; + jsonDict[@".tag"] = @"domain_verification_add_domain_success"; + } else if ([valueObj isDomainVerificationRemoveDomain]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer + serialize:valueObj.domainVerificationRemoveDomain]]; + jsonDict[@".tag"] = @"domain_verification_remove_domain"; + } else if ([valueObj isEnabledDomainInvites]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEnabledDomainInvitesTypeSerializer serialize:valueObj.enabledDomainInvites]]; + jsonDict[@".tag"] = @"enabled_domain_invites"; + } else if ([valueObj isTeamEncryptionKeyCancelKeyDeletion]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer + serialize:valueObj.teamEncryptionKeyCancelKeyDeletion]]; + jsonDict[@".tag"] = @"team_encryption_key_cancel_key_deletion"; + } else if ([valueObj isTeamEncryptionKeyCreateKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer + serialize:valueObj.teamEncryptionKeyCreateKey]]; + jsonDict[@".tag"] = @"team_encryption_key_create_key"; + } else if ([valueObj isTeamEncryptionKeyDeleteKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer + serialize:valueObj.teamEncryptionKeyDeleteKey]]; + jsonDict[@".tag"] = @"team_encryption_key_delete_key"; + } else if ([valueObj isTeamEncryptionKeyDisableKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer + serialize:valueObj.teamEncryptionKeyDisableKey]]; + jsonDict[@".tag"] = @"team_encryption_key_disable_key"; + } else if ([valueObj isTeamEncryptionKeyEnableKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer + serialize:valueObj.teamEncryptionKeyEnableKey]]; + jsonDict[@".tag"] = @"team_encryption_key_enable_key"; + } else if ([valueObj isTeamEncryptionKeyRotateKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer + serialize:valueObj.teamEncryptionKeyRotateKey]]; + jsonDict[@".tag"] = @"team_encryption_key_rotate_key"; + } else if ([valueObj isTeamEncryptionKeyScheduleKeyDeletion]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer + serialize:valueObj.teamEncryptionKeyScheduleKeyDeletion]]; + jsonDict[@".tag"] = @"team_encryption_key_schedule_key_deletion"; + } else if ([valueObj isApplyNamingConvention]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGApplyNamingConventionTypeSerializer + serialize:valueObj.applyNamingConvention]]; + jsonDict[@".tag"] = @"apply_naming_convention"; + } else if ([valueObj isCreateFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCreateFolderTypeSerializer serialize:valueObj.createFolder]]; + jsonDict[@".tag"] = @"create_folder"; + } else if ([valueObj isFileAdd]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileAddTypeSerializer serialize:valueObj.fileAdd]]; + jsonDict[@".tag"] = @"file_add"; + } else if ([valueObj isFileAddFromAutomation]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileAddFromAutomationTypeSerializer + serialize:valueObj.fileAddFromAutomation]]; + jsonDict[@".tag"] = @"file_add_from_automation"; + } else if ([valueObj isFileCopy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileCopyTypeSerializer serialize:valueObj.fileCopy]]; + jsonDict[@".tag"] = @"file_copy"; + } else if ([valueObj isFileDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDeleteTypeSerializer serialize:valueObj.fileDelete]]; + jsonDict[@".tag"] = @"file_delete"; + } else if ([valueObj isFileDownload]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileDownloadTypeSerializer serialize:valueObj.fileDownload]]; + jsonDict[@".tag"] = @"file_download"; + } else if ([valueObj isFileEdit]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileEditTypeSerializer serialize:valueObj.fileEdit]]; + jsonDict[@".tag"] = @"file_edit"; + } else if ([valueObj isFileGetCopyReference]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileGetCopyReferenceTypeSerializer serialize:valueObj.fileGetCopyReference]]; + jsonDict[@".tag"] = @"file_get_copy_reference"; + } else if ([valueObj isFileLockingLockStatusChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLockingLockStatusChangedTypeSerializer + serialize:valueObj.fileLockingLockStatusChanged]]; + jsonDict[@".tag"] = @"file_locking_lock_status_changed"; + } else if ([valueObj isFileMove]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileMoveTypeSerializer serialize:valueObj.fileMove]]; + jsonDict[@".tag"] = @"file_move"; + } else if ([valueObj isFilePermanentlyDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePermanentlyDeleteTypeSerializer + serialize:valueObj.filePermanentlyDelete]]; + jsonDict[@".tag"] = @"file_permanently_delete"; + } else if ([valueObj isFilePreview]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFilePreviewTypeSerializer serialize:valueObj.filePreview]]; + jsonDict[@".tag"] = @"file_preview"; + } else if ([valueObj isFileRename]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRenameTypeSerializer serialize:valueObj.fileRename]]; + jsonDict[@".tag"] = @"file_rename"; + } else if ([valueObj isFileRestore]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRestoreTypeSerializer serialize:valueObj.fileRestore]]; + jsonDict[@".tag"] = @"file_restore"; + } else if ([valueObj isFileRevert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRevertTypeSerializer serialize:valueObj.fileRevert]]; + jsonDict[@".tag"] = @"file_revert"; + } else if ([valueObj isFileRollbackChanges]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileRollbackChangesTypeSerializer serialize:valueObj.fileRollbackChanges]]; + jsonDict[@".tag"] = @"file_rollback_changes"; + } else if ([valueObj isFileSaveCopyReference]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileSaveCopyReferenceTypeSerializer + serialize:valueObj.fileSaveCopyReference]]; + jsonDict[@".tag"] = @"file_save_copy_reference"; + } else if ([valueObj isFolderOverviewDescriptionChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer + serialize:valueObj.folderOverviewDescriptionChanged]]; + jsonDict[@".tag"] = @"folder_overview_description_changed"; + } else if ([valueObj isFolderOverviewItemPinned]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewItemPinnedTypeSerializer + serialize:valueObj.folderOverviewItemPinned]]; + jsonDict[@".tag"] = @"folder_overview_item_pinned"; + } else if ([valueObj isFolderOverviewItemUnpinned]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer + serialize:valueObj.folderOverviewItemUnpinned]]; + jsonDict[@".tag"] = @"folder_overview_item_unpinned"; + } else if ([valueObj isObjectLabelAdded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGObjectLabelAddedTypeSerializer serialize:valueObj.objectLabelAdded]]; + jsonDict[@".tag"] = @"object_label_added"; + } else if ([valueObj isObjectLabelRemoved]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGObjectLabelRemovedTypeSerializer serialize:valueObj.objectLabelRemoved]]; + jsonDict[@".tag"] = @"object_label_removed"; + } else if ([valueObj isObjectLabelUpdatedValue]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGObjectLabelUpdatedValueTypeSerializer + serialize:valueObj.objectLabelUpdatedValue]]; + jsonDict[@".tag"] = @"object_label_updated_value"; + } else if ([valueObj isOrganizeFolderWithTidy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOrganizeFolderWithTidyTypeSerializer + serialize:valueObj.organizeFolderWithTidy]]; + jsonDict[@".tag"] = @"organize_folder_with_tidy"; + } else if ([valueObj isReplayFileDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileDeleteTypeSerializer serialize:valueObj.replayFileDelete]]; + jsonDict[@".tag"] = @"replay_file_delete"; + } else if ([valueObj isRewindFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRewindFolderTypeSerializer serialize:valueObj.rewindFolder]]; + jsonDict[@".tag"] = @"rewind_folder"; + } else if ([valueObj isUndoNamingConvention]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGUndoNamingConventionTypeSerializer serialize:valueObj.undoNamingConvention]]; + jsonDict[@".tag"] = @"undo_naming_convention"; + } else if ([valueObj isUndoOrganizeFolderWithTidy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer + serialize:valueObj.undoOrganizeFolderWithTidy]]; + jsonDict[@".tag"] = @"undo_organize_folder_with_tidy"; + } else if ([valueObj isUserTagsAdded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGUserTagsAddedTypeSerializer serialize:valueObj.userTagsAdded]]; + jsonDict[@".tag"] = @"user_tags_added"; + } else if ([valueObj isUserTagsRemoved]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGUserTagsRemovedTypeSerializer serialize:valueObj.userTagsRemoved]]; + jsonDict[@".tag"] = @"user_tags_removed"; + } else if ([valueObj isEmailIngestReceiveFile]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmailIngestReceiveFileTypeSerializer + serialize:valueObj.emailIngestReceiveFile]]; + jsonDict[@".tag"] = @"email_ingest_receive_file"; + } else if ([valueObj isFileRequestChange]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestChangeTypeSerializer serialize:valueObj.fileRequestChange]]; + jsonDict[@".tag"] = @"file_request_change"; + } else if ([valueObj isFileRequestClose]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestCloseTypeSerializer serialize:valueObj.fileRequestClose]]; + jsonDict[@".tag"] = @"file_request_close"; + } else if ([valueObj isFileRequestCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestCreateTypeSerializer serialize:valueObj.fileRequestCreate]]; + jsonDict[@".tag"] = @"file_request_create"; + } else if ([valueObj isFileRequestDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestDeleteTypeSerializer serialize:valueObj.fileRequestDelete]]; + jsonDict[@".tag"] = @"file_request_delete"; + } else if ([valueObj isFileRequestReceiveFile]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestReceiveFileTypeSerializer + serialize:valueObj.fileRequestReceiveFile]]; + jsonDict[@".tag"] = @"file_request_receive_file"; + } else if ([valueObj isGroupAddExternalId]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGGroupAddExternalIdTypeSerializer serialize:valueObj.groupAddExternalId]]; + jsonDict[@".tag"] = @"group_add_external_id"; + } else if ([valueObj isGroupAddMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupAddMemberTypeSerializer serialize:valueObj.groupAddMember]]; + jsonDict[@".tag"] = @"group_add_member"; + } else if ([valueObj isGroupChangeExternalId]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeExternalIdTypeSerializer + serialize:valueObj.groupChangeExternalId]]; + jsonDict[@".tag"] = @"group_change_external_id"; + } else if ([valueObj isGroupChangeManagementType]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeManagementTypeTypeSerializer + serialize:valueObj.groupChangeManagementType]]; + jsonDict[@".tag"] = @"group_change_management_type"; + } else if ([valueObj isGroupChangeMemberRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupChangeMemberRoleTypeSerializer + serialize:valueObj.groupChangeMemberRole]]; + jsonDict[@".tag"] = @"group_change_member_role"; + } else if ([valueObj isGroupCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupCreateTypeSerializer serialize:valueObj.groupCreate]]; + jsonDict[@".tag"] = @"group_create"; + } else if ([valueObj isGroupDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupDeleteTypeSerializer serialize:valueObj.groupDelete]]; + jsonDict[@".tag"] = @"group_delete"; + } else if ([valueObj isGroupDescriptionUpdated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupDescriptionUpdatedTypeSerializer + serialize:valueObj.groupDescriptionUpdated]]; + jsonDict[@".tag"] = @"group_description_updated"; + } else if ([valueObj isGroupJoinPolicyUpdated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer + serialize:valueObj.groupJoinPolicyUpdated]]; + jsonDict[@".tag"] = @"group_join_policy_updated"; + } else if ([valueObj isGroupMoved]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupMovedTypeSerializer serialize:valueObj.groupMoved]]; + jsonDict[@".tag"] = @"group_moved"; + } else if ([valueObj isGroupRemoveExternalId]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveExternalIdTypeSerializer + serialize:valueObj.groupRemoveExternalId]]; + jsonDict[@".tag"] = @"group_remove_external_id"; + } else if ([valueObj isGroupRemoveMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRemoveMemberTypeSerializer serialize:valueObj.groupRemoveMember]]; + jsonDict[@".tag"] = @"group_remove_member"; + } else if ([valueObj isGroupRename]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupRenameTypeSerializer serialize:valueObj.groupRename]]; + jsonDict[@".tag"] = @"group_rename"; + } else if ([valueObj isAccountLockOrUnlocked]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountLockOrUnlockedTypeSerializer + serialize:valueObj.accountLockOrUnlocked]]; + jsonDict[@".tag"] = @"account_lock_or_unlocked"; + } else if ([valueObj isEmmError]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmErrorTypeSerializer serialize:valueObj.emmError]]; + jsonDict[@".tag"] = @"emm_error"; + } else if ([valueObj isGuestAdminSignedInViaTrustedTeams]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer + serialize:valueObj.guestAdminSignedInViaTrustedTeams]]; + jsonDict[@".tag"] = @"guest_admin_signed_in_via_trusted_teams"; + } else if ([valueObj isGuestAdminSignedOutViaTrustedTeams]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer + serialize:valueObj.guestAdminSignedOutViaTrustedTeams]]; + jsonDict[@".tag"] = @"guest_admin_signed_out_via_trusted_teams"; + } else if ([valueObj isLoginFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLoginFailTypeSerializer serialize:valueObj.loginFail]]; + jsonDict[@".tag"] = @"login_fail"; + } else if ([valueObj isLoginSuccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLoginSuccessTypeSerializer serialize:valueObj.loginSuccess]]; + jsonDict[@".tag"] = @"login_success"; + } else if ([valueObj isLogout]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLogoutTypeSerializer serialize:valueObj.logout]]; + jsonDict[@".tag"] = @"logout"; + } else if ([valueObj isResellerSupportSessionEnd]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionEndTypeSerializer + serialize:valueObj.resellerSupportSessionEnd]]; + jsonDict[@".tag"] = @"reseller_support_session_end"; + } else if ([valueObj isResellerSupportSessionStart]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportSessionStartTypeSerializer + serialize:valueObj.resellerSupportSessionStart]]; + jsonDict[@".tag"] = @"reseller_support_session_start"; + } else if ([valueObj isSignInAsSessionEnd]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionEndTypeSerializer serialize:valueObj.signInAsSessionEnd]]; + jsonDict[@".tag"] = @"sign_in_as_session_end"; + } else if ([valueObj isSignInAsSessionStart]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSignInAsSessionStartTypeSerializer serialize:valueObj.signInAsSessionStart]]; + jsonDict[@".tag"] = @"sign_in_as_session_start"; + } else if ([valueObj isSsoError]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoErrorTypeSerializer serialize:valueObj.ssoError]]; + jsonDict[@".tag"] = @"sso_error"; + } else if ([valueObj isBackupAdminInvitationSent]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBackupAdminInvitationSentTypeSerializer + serialize:valueObj.backupAdminInvitationSent]]; + jsonDict[@".tag"] = @"backup_admin_invitation_sent"; + } else if ([valueObj isBackupInvitationOpened]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBackupInvitationOpenedTypeSerializer + serialize:valueObj.backupInvitationOpened]]; + jsonDict[@".tag"] = @"backup_invitation_opened"; + } else if ([valueObj isCreateTeamInviteLink]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGCreateTeamInviteLinkTypeSerializer serialize:valueObj.createTeamInviteLink]]; + jsonDict[@".tag"] = @"create_team_invite_link"; + } else if ([valueObj isDeleteTeamInviteLink]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGDeleteTeamInviteLinkTypeSerializer serialize:valueObj.deleteTeamInviteLink]]; + jsonDict[@".tag"] = @"delete_team_invite_link"; + } else if ([valueObj isMemberAddExternalId]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGMemberAddExternalIdTypeSerializer serialize:valueObj.memberAddExternalId]]; + jsonDict[@".tag"] = @"member_add_external_id"; + } else if ([valueObj isMemberAddName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberAddNameTypeSerializer serialize:valueObj.memberAddName]]; + jsonDict[@".tag"] = @"member_add_name"; + } else if ([valueObj isMemberChangeAdminRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeAdminRoleTypeSerializer + serialize:valueObj.memberChangeAdminRole]]; + jsonDict[@".tag"] = @"member_change_admin_role"; + } else if ([valueObj isMemberChangeEmail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeEmailTypeSerializer serialize:valueObj.memberChangeEmail]]; + jsonDict[@".tag"] = @"member_change_email"; + } else if ([valueObj isMemberChangeExternalId]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeExternalIdTypeSerializer + serialize:valueObj.memberChangeExternalId]]; + jsonDict[@".tag"] = @"member_change_external_id"; + } else if ([valueObj isMemberChangeMembershipType]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeMembershipTypeTypeSerializer + serialize:valueObj.memberChangeMembershipType]]; + jsonDict[@".tag"] = @"member_change_membership_type"; + } else if ([valueObj isMemberChangeName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeNameTypeSerializer serialize:valueObj.memberChangeName]]; + jsonDict[@".tag"] = @"member_change_name"; + } else if ([valueObj isMemberChangeResellerRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberChangeResellerRoleTypeSerializer + serialize:valueObj.memberChangeResellerRole]]; + jsonDict[@".tag"] = @"member_change_reseller_role"; + } else if ([valueObj isMemberChangeStatus]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGMemberChangeStatusTypeSerializer serialize:valueObj.memberChangeStatus]]; + jsonDict[@".tag"] = @"member_change_status"; + } else if ([valueObj isMemberDeleteManualContacts]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberDeleteManualContactsTypeSerializer + serialize:valueObj.memberDeleteManualContacts]]; + jsonDict[@".tag"] = @"member_delete_manual_contacts"; + } else if ([valueObj isMemberDeleteProfilePhoto]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer + serialize:valueObj.memberDeleteProfilePhoto]]; + jsonDict[@".tag"] = @"member_delete_profile_photo"; + } else if ([valueObj isMemberPermanentlyDeleteAccountContents]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer + serialize:valueObj.memberPermanentlyDeleteAccountContents]]; + jsonDict[@".tag"] = @"member_permanently_delete_account_contents"; + } else if ([valueObj isMemberRemoveExternalId]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberRemoveExternalIdTypeSerializer + serialize:valueObj.memberRemoveExternalId]]; + jsonDict[@".tag"] = @"member_remove_external_id"; + } else if ([valueObj isMemberSetProfilePhoto]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSetProfilePhotoTypeSerializer + serialize:valueObj.memberSetProfilePhoto]]; + jsonDict[@".tag"] = @"member_set_profile_photo"; + } else if ([valueObj isMemberSpaceLimitsAddCustomQuota]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer + serialize:valueObj.memberSpaceLimitsAddCustomQuota]]; + jsonDict[@".tag"] = @"member_space_limits_add_custom_quota"; + } else if ([valueObj isMemberSpaceLimitsChangeCustomQuota]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer + serialize:valueObj.memberSpaceLimitsChangeCustomQuota]]; + jsonDict[@".tag"] = @"member_space_limits_change_custom_quota"; + } else if ([valueObj isMemberSpaceLimitsChangeStatus]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer + serialize:valueObj.memberSpaceLimitsChangeStatus]]; + jsonDict[@".tag"] = @"member_space_limits_change_status"; + } else if ([valueObj isMemberSpaceLimitsRemoveCustomQuota]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer + serialize:valueObj.memberSpaceLimitsRemoveCustomQuota]]; + jsonDict[@".tag"] = @"member_space_limits_remove_custom_quota"; + } else if ([valueObj isMemberSuggest]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSuggestTypeSerializer serialize:valueObj.memberSuggest]]; + jsonDict[@".tag"] = @"member_suggest"; + } else if ([valueObj isMemberTransferAccountContents]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberTransferAccountContentsTypeSerializer + serialize:valueObj.memberTransferAccountContents]]; + jsonDict[@".tag"] = @"member_transfer_account_contents"; + } else if ([valueObj isPendingSecondaryEmailAdded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer + serialize:valueObj.pendingSecondaryEmailAdded]]; + jsonDict[@".tag"] = @"pending_secondary_email_added"; + } else if ([valueObj isSecondaryEmailDeleted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryEmailDeletedTypeSerializer + serialize:valueObj.secondaryEmailDeleted]]; + jsonDict[@".tag"] = @"secondary_email_deleted"; + } else if ([valueObj isSecondaryEmailVerified]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryEmailVerifiedTypeSerializer + serialize:valueObj.secondaryEmailVerified]]; + jsonDict[@".tag"] = @"secondary_email_verified"; + } else if ([valueObj isSecondaryMailsPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer + serialize:valueObj.secondaryMailsPolicyChanged]]; + jsonDict[@".tag"] = @"secondary_mails_policy_changed"; + } else if ([valueObj isBinderAddPage]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderAddPageTypeSerializer serialize:valueObj.binderAddPage]]; + jsonDict[@".tag"] = @"binder_add_page"; + } else if ([valueObj isBinderAddSection]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderAddSectionTypeSerializer serialize:valueObj.binderAddSection]]; + jsonDict[@".tag"] = @"binder_add_section"; + } else if ([valueObj isBinderRemovePage]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRemovePageTypeSerializer serialize:valueObj.binderRemovePage]]; + jsonDict[@".tag"] = @"binder_remove_page"; + } else if ([valueObj isBinderRemoveSection]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGBinderRemoveSectionTypeSerializer serialize:valueObj.binderRemoveSection]]; + jsonDict[@".tag"] = @"binder_remove_section"; + } else if ([valueObj isBinderRenamePage]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderRenamePageTypeSerializer serialize:valueObj.binderRenamePage]]; + jsonDict[@".tag"] = @"binder_rename_page"; + } else if ([valueObj isBinderRenameSection]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGBinderRenameSectionTypeSerializer serialize:valueObj.binderRenameSection]]; + jsonDict[@".tag"] = @"binder_rename_section"; + } else if ([valueObj isBinderReorderPage]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGBinderReorderPageTypeSerializer serialize:valueObj.binderReorderPage]]; + jsonDict[@".tag"] = @"binder_reorder_page"; + } else if ([valueObj isBinderReorderSection]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGBinderReorderSectionTypeSerializer serialize:valueObj.binderReorderSection]]; + jsonDict[@".tag"] = @"binder_reorder_section"; + } else if ([valueObj isPaperContentAddMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentAddMemberTypeSerializer + serialize:valueObj.paperContentAddMember]]; + jsonDict[@".tag"] = @"paper_content_add_member"; + } else if ([valueObj isPaperContentAddToFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentAddToFolderTypeSerializer + serialize:valueObj.paperContentAddToFolder]]; + jsonDict[@".tag"] = @"paper_content_add_to_folder"; + } else if ([valueObj isPaperContentArchive]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperContentArchiveTypeSerializer serialize:valueObj.paperContentArchive]]; + jsonDict[@".tag"] = @"paper_content_archive"; + } else if ([valueObj isPaperContentCreate]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperContentCreateTypeSerializer serialize:valueObj.paperContentCreate]]; + jsonDict[@".tag"] = @"paper_content_create"; + } else if ([valueObj isPaperContentPermanentlyDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer + serialize:valueObj.paperContentPermanentlyDelete]]; + jsonDict[@".tag"] = @"paper_content_permanently_delete"; + } else if ([valueObj isPaperContentRemoveFromFolder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer + serialize:valueObj.paperContentRemoveFromFolder]]; + jsonDict[@".tag"] = @"paper_content_remove_from_folder"; + } else if ([valueObj isPaperContentRemoveMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperContentRemoveMemberTypeSerializer + serialize:valueObj.paperContentRemoveMember]]; + jsonDict[@".tag"] = @"paper_content_remove_member"; + } else if ([valueObj isPaperContentRename]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperContentRenameTypeSerializer serialize:valueObj.paperContentRename]]; + jsonDict[@".tag"] = @"paper_content_rename"; + } else if ([valueObj isPaperContentRestore]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperContentRestoreTypeSerializer serialize:valueObj.paperContentRestore]]; + jsonDict[@".tag"] = @"paper_content_restore"; + } else if ([valueObj isPaperDocAddComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocAddCommentTypeSerializer serialize:valueObj.paperDocAddComment]]; + jsonDict[@".tag"] = @"paper_doc_add_comment"; + } else if ([valueObj isPaperDocChangeMemberRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer + serialize:valueObj.paperDocChangeMemberRole]]; + jsonDict[@".tag"] = @"paper_doc_change_member_role"; + } else if ([valueObj isPaperDocChangeSharingPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer + serialize:valueObj.paperDocChangeSharingPolicy]]; + jsonDict[@".tag"] = @"paper_doc_change_sharing_policy"; + } else if ([valueObj isPaperDocChangeSubscription]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer + serialize:valueObj.paperDocChangeSubscription]]; + jsonDict[@".tag"] = @"paper_doc_change_subscription"; + } else if ([valueObj isPaperDocDeleted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDeletedTypeSerializer serialize:valueObj.paperDocDeleted]]; + jsonDict[@".tag"] = @"paper_doc_deleted"; + } else if ([valueObj isPaperDocDeleteComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDeleteCommentTypeSerializer + serialize:valueObj.paperDocDeleteComment]]; + jsonDict[@".tag"] = @"paper_doc_delete_comment"; + } else if ([valueObj isPaperDocDownload]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocDownloadTypeSerializer serialize:valueObj.paperDocDownload]]; + jsonDict[@".tag"] = @"paper_doc_download"; + } else if ([valueObj isPaperDocEdit]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocEditTypeSerializer serialize:valueObj.paperDocEdit]]; + jsonDict[@".tag"] = @"paper_doc_edit"; + } else if ([valueObj isPaperDocEditComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocEditCommentTypeSerializer serialize:valueObj.paperDocEditComment]]; + jsonDict[@".tag"] = @"paper_doc_edit_comment"; + } else if ([valueObj isPaperDocFollowed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocFollowedTypeSerializer serialize:valueObj.paperDocFollowed]]; + jsonDict[@".tag"] = @"paper_doc_followed"; + } else if ([valueObj isPaperDocMention]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocMentionTypeSerializer serialize:valueObj.paperDocMention]]; + jsonDict[@".tag"] = @"paper_doc_mention"; + } else if ([valueObj isPaperDocOwnershipChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocOwnershipChangedTypeSerializer + serialize:valueObj.paperDocOwnershipChanged]]; + jsonDict[@".tag"] = @"paper_doc_ownership_changed"; + } else if ([valueObj isPaperDocRequestAccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocRequestAccessTypeSerializer + serialize:valueObj.paperDocRequestAccess]]; + jsonDict[@".tag"] = @"paper_doc_request_access"; + } else if ([valueObj isPaperDocResolveComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocResolveCommentTypeSerializer + serialize:valueObj.paperDocResolveComment]]; + jsonDict[@".tag"] = @"paper_doc_resolve_comment"; + } else if ([valueObj isPaperDocRevert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocRevertTypeSerializer serialize:valueObj.paperDocRevert]]; + jsonDict[@".tag"] = @"paper_doc_revert"; + } else if ([valueObj isPaperDocSlackShare]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocSlackShareTypeSerializer serialize:valueObj.paperDocSlackShare]]; + jsonDict[@".tag"] = @"paper_doc_slack_share"; + } else if ([valueObj isPaperDocTeamInvite]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperDocTeamInviteTypeSerializer serialize:valueObj.paperDocTeamInvite]]; + jsonDict[@".tag"] = @"paper_doc_team_invite"; + } else if ([valueObj isPaperDocTrashed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocTrashedTypeSerializer serialize:valueObj.paperDocTrashed]]; + jsonDict[@".tag"] = @"paper_doc_trashed"; + } else if ([valueObj isPaperDocUnresolveComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUnresolveCommentTypeSerializer + serialize:valueObj.paperDocUnresolveComment]]; + jsonDict[@".tag"] = @"paper_doc_unresolve_comment"; + } else if ([valueObj isPaperDocUntrashed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocUntrashedTypeSerializer serialize:valueObj.paperDocUntrashed]]; + jsonDict[@".tag"] = @"paper_doc_untrashed"; + } else if ([valueObj isPaperDocView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDocViewTypeSerializer serialize:valueObj.paperDocView]]; + jsonDict[@".tag"] = @"paper_doc_view"; + } else if ([valueObj isPaperExternalViewAllow]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewAllowTypeSerializer + serialize:valueObj.paperExternalViewAllow]]; + jsonDict[@".tag"] = @"paper_external_view_allow"; + } else if ([valueObj isPaperExternalViewDefaultTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer + serialize:valueObj.paperExternalViewDefaultTeam]]; + jsonDict[@".tag"] = @"paper_external_view_default_team"; + } else if ([valueObj isPaperExternalViewForbid]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperExternalViewForbidTypeSerializer + serialize:valueObj.paperExternalViewForbid]]; + jsonDict[@".tag"] = @"paper_external_view_forbid"; + } else if ([valueObj isPaperFolderChangeSubscription]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer + serialize:valueObj.paperFolderChangeSubscription]]; + jsonDict[@".tag"] = @"paper_folder_change_subscription"; + } else if ([valueObj isPaperFolderDeleted]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperFolderDeletedTypeSerializer serialize:valueObj.paperFolderDeleted]]; + jsonDict[@".tag"] = @"paper_folder_deleted"; + } else if ([valueObj isPaperFolderFollowed]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPaperFolderFollowedTypeSerializer serialize:valueObj.paperFolderFollowed]]; + jsonDict[@".tag"] = @"paper_folder_followed"; + } else if ([valueObj isPaperFolderTeamInvite]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperFolderTeamInviteTypeSerializer + serialize:valueObj.paperFolderTeamInvite]]; + jsonDict[@".tag"] = @"paper_folder_team_invite"; + } else if ([valueObj isPaperPublishedLinkChangePermission]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer + serialize:valueObj.paperPublishedLinkChangePermission]]; + jsonDict[@".tag"] = @"paper_published_link_change_permission"; + } else if ([valueObj isPaperPublishedLinkCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkCreateTypeSerializer + serialize:valueObj.paperPublishedLinkCreate]]; + jsonDict[@".tag"] = @"paper_published_link_create"; + } else if ([valueObj isPaperPublishedLinkDisabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer + serialize:valueObj.paperPublishedLinkDisabled]]; + jsonDict[@".tag"] = @"paper_published_link_disabled"; + } else if ([valueObj isPaperPublishedLinkView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperPublishedLinkViewTypeSerializer + serialize:valueObj.paperPublishedLinkView]]; + jsonDict[@".tag"] = @"paper_published_link_view"; + } else if ([valueObj isPasswordChange]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordChangeTypeSerializer serialize:valueObj.passwordChange]]; + jsonDict[@".tag"] = @"password_change"; + } else if ([valueObj isPasswordReset]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordResetTypeSerializer serialize:valueObj.passwordReset]]; + jsonDict[@".tag"] = @"password_reset"; + } else if ([valueObj isPasswordResetAll]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordResetAllTypeSerializer serialize:valueObj.passwordResetAll]]; + jsonDict[@".tag"] = @"password_reset_all"; + } else if ([valueObj isClassificationCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationCreateReportTypeSerializer + serialize:valueObj.classificationCreateReport]]; + jsonDict[@".tag"] = @"classification_create_report"; + } else if ([valueObj isClassificationCreateReportFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationCreateReportFailTypeSerializer + serialize:valueObj.classificationCreateReportFail]]; + jsonDict[@".tag"] = @"classification_create_report_fail"; + } else if ([valueObj isEmmCreateExceptionsReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmCreateExceptionsReportTypeSerializer + serialize:valueObj.emmCreateExceptionsReport]]; + jsonDict[@".tag"] = @"emm_create_exceptions_report"; + } else if ([valueObj isEmmCreateUsageReport]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEmmCreateUsageReportTypeSerializer serialize:valueObj.emmCreateUsageReport]]; + jsonDict[@".tag"] = @"emm_create_usage_report"; + } else if ([valueObj isExportMembersReport]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGExportMembersReportTypeSerializer serialize:valueObj.exportMembersReport]]; + jsonDict[@".tag"] = @"export_members_report"; + } else if ([valueObj isExportMembersReportFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExportMembersReportFailTypeSerializer + serialize:valueObj.exportMembersReportFail]]; + jsonDict[@".tag"] = @"export_members_report_fail"; + } else if ([valueObj isExternalSharingCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalSharingCreateReportTypeSerializer + serialize:valueObj.externalSharingCreateReport]]; + jsonDict[@".tag"] = @"external_sharing_create_report"; + } else if ([valueObj isExternalSharingReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalSharingReportFailedTypeSerializer + serialize:valueObj.externalSharingReportFailed]]; + jsonDict[@".tag"] = @"external_sharing_report_failed"; + } else if ([valueObj isNoExpirationLinkGenCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer + serialize:valueObj.noExpirationLinkGenCreateReport]]; + jsonDict[@".tag"] = @"no_expiration_link_gen_create_report"; + } else if ([valueObj isNoExpirationLinkGenReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer + serialize:valueObj.noExpirationLinkGenReportFailed]]; + jsonDict[@".tag"] = @"no_expiration_link_gen_report_failed"; + } else if ([valueObj isNoPasswordLinkGenCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer + serialize:valueObj.noPasswordLinkGenCreateReport]]; + jsonDict[@".tag"] = @"no_password_link_gen_create_report"; + } else if ([valueObj isNoPasswordLinkGenReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer + serialize:valueObj.noPasswordLinkGenReportFailed]]; + jsonDict[@".tag"] = @"no_password_link_gen_report_failed"; + } else if ([valueObj isNoPasswordLinkViewCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer + serialize:valueObj.noPasswordLinkViewCreateReport]]; + jsonDict[@".tag"] = @"no_password_link_view_create_report"; + } else if ([valueObj isNoPasswordLinkViewReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer + serialize:valueObj.noPasswordLinkViewReportFailed]]; + jsonDict[@".tag"] = @"no_password_link_view_report_failed"; + } else if ([valueObj isOutdatedLinkViewCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer + serialize:valueObj.outdatedLinkViewCreateReport]]; + jsonDict[@".tag"] = @"outdated_link_view_create_report"; + } else if ([valueObj isOutdatedLinkViewReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer + serialize:valueObj.outdatedLinkViewReportFailed]]; + jsonDict[@".tag"] = @"outdated_link_view_report_failed"; + } else if ([valueObj isPaperAdminExportStart]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperAdminExportStartTypeSerializer + serialize:valueObj.paperAdminExportStart]]; + jsonDict[@".tag"] = @"paper_admin_export_start"; + } else if ([valueObj isRansomwareAlertCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareAlertCreateReportTypeSerializer + serialize:valueObj.ransomwareAlertCreateReport]]; + jsonDict[@".tag"] = @"ransomware_alert_create_report"; + } else if ([valueObj isRansomwareAlertCreateReportFailed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer + serialize:valueObj.ransomwareAlertCreateReportFailed]]; + jsonDict[@".tag"] = @"ransomware_alert_create_report_failed"; + } else if ([valueObj isSmartSyncCreateAdminPrivilegeReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer + serialize:valueObj.smartSyncCreateAdminPrivilegeReport]]; + jsonDict[@".tag"] = @"smart_sync_create_admin_privilege_report"; + } else if ([valueObj isTeamActivityCreateReport]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamActivityCreateReportTypeSerializer + serialize:valueObj.teamActivityCreateReport]]; + jsonDict[@".tag"] = @"team_activity_create_report"; + } else if ([valueObj isTeamActivityCreateReportFail]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamActivityCreateReportFailTypeSerializer + serialize:valueObj.teamActivityCreateReportFail]]; + jsonDict[@".tag"] = @"team_activity_create_report_fail"; + } else if ([valueObj isCollectionShare]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCollectionShareTypeSerializer serialize:valueObj.collectionShare]]; + jsonDict[@".tag"] = @"collection_share"; + } else if ([valueObj isFileTransfersFileAdd]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGFileTransfersFileAddTypeSerializer serialize:valueObj.fileTransfersFileAdd]]; + jsonDict[@".tag"] = @"file_transfers_file_add"; + } else if ([valueObj isFileTransfersTransferDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferDeleteTypeSerializer + serialize:valueObj.fileTransfersTransferDelete]]; + jsonDict[@".tag"] = @"file_transfers_transfer_delete"; + } else if ([valueObj isFileTransfersTransferDownload]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferDownloadTypeSerializer + serialize:valueObj.fileTransfersTransferDownload]]; + jsonDict[@".tag"] = @"file_transfers_transfer_download"; + } else if ([valueObj isFileTransfersTransferSend]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferSendTypeSerializer + serialize:valueObj.fileTransfersTransferSend]]; + jsonDict[@".tag"] = @"file_transfers_transfer_send"; + } else if ([valueObj isFileTransfersTransferView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersTransferViewTypeSerializer + serialize:valueObj.fileTransfersTransferView]]; + jsonDict[@".tag"] = @"file_transfers_transfer_view"; + } else if ([valueObj isNoteAclInviteOnly]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclInviteOnlyTypeSerializer serialize:valueObj.noteAclInviteOnly]]; + jsonDict[@".tag"] = @"note_acl_invite_only"; + } else if ([valueObj isNoteAclLink]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclLinkTypeSerializer serialize:valueObj.noteAclLink]]; + jsonDict[@".tag"] = @"note_acl_link"; + } else if ([valueObj isNoteAclTeamLink]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteAclTeamLinkTypeSerializer serialize:valueObj.noteAclTeamLink]]; + jsonDict[@".tag"] = @"note_acl_team_link"; + } else if ([valueObj isNoteShared]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteSharedTypeSerializer serialize:valueObj.noteShared]]; + jsonDict[@".tag"] = @"note_shared"; + } else if ([valueObj isNoteShareReceive]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNoteShareReceiveTypeSerializer serialize:valueObj.noteShareReceive]]; + jsonDict[@".tag"] = @"note_share_receive"; + } else if ([valueObj isOpenNoteShared]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOpenNoteSharedTypeSerializer serialize:valueObj.openNoteShared]]; + jsonDict[@".tag"] = @"open_note_shared"; + } else if ([valueObj isReplayFileSharedLinkCreated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer + serialize:valueObj.replayFileSharedLinkCreated]]; + jsonDict[@".tag"] = @"replay_file_shared_link_created"; + } else if ([valueObj isReplayFileSharedLinkModified]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer + serialize:valueObj.replayFileSharedLinkModified]]; + jsonDict[@".tag"] = @"replay_file_shared_link_modified"; + } else if ([valueObj isReplayProjectTeamAdd]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGReplayProjectTeamAddTypeSerializer serialize:valueObj.replayProjectTeamAdd]]; + jsonDict[@".tag"] = @"replay_project_team_add"; + } else if ([valueObj isReplayProjectTeamDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGReplayProjectTeamDeleteTypeSerializer + serialize:valueObj.replayProjectTeamDelete]]; + jsonDict[@".tag"] = @"replay_project_team_delete"; + } else if ([valueObj isSfAddGroup]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfAddGroupTypeSerializer serialize:valueObj.sfAddGroup]]; + jsonDict[@".tag"] = @"sf_add_group"; + } else if ([valueObj isSfAllowNonMembersToViewSharedLinks]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer + serialize:valueObj.sfAllowNonMembersToViewSharedLinks]]; + jsonDict[@".tag"] = @"sf_allow_non_members_to_view_shared_links"; + } else if ([valueObj isSfExternalInviteWarn]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSfExternalInviteWarnTypeSerializer serialize:valueObj.sfExternalInviteWarn]]; + jsonDict[@".tag"] = @"sf_external_invite_warn"; + } else if ([valueObj isSfFbInvite]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfFbInviteTypeSerializer serialize:valueObj.sfFbInvite]]; + jsonDict[@".tag"] = @"sf_fb_invite"; + } else if ([valueObj isSfFbInviteChangeRole]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSfFbInviteChangeRoleTypeSerializer serialize:valueObj.sfFbInviteChangeRole]]; + jsonDict[@".tag"] = @"sf_fb_invite_change_role"; + } else if ([valueObj isSfFbUninvite]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfFbUninviteTypeSerializer serialize:valueObj.sfFbUninvite]]; + jsonDict[@".tag"] = @"sf_fb_uninvite"; + } else if ([valueObj isSfInviteGroup]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfInviteGroupTypeSerializer serialize:valueObj.sfInviteGroup]]; + jsonDict[@".tag"] = @"sf_invite_group"; + } else if ([valueObj isSfTeamGrantAccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamGrantAccessTypeSerializer serialize:valueObj.sfTeamGrantAccess]]; + jsonDict[@".tag"] = @"sf_team_grant_access"; + } else if ([valueObj isSfTeamInvite]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteTypeSerializer serialize:valueObj.sfTeamInvite]]; + jsonDict[@".tag"] = @"sf_team_invite"; + } else if ([valueObj isSfTeamInviteChangeRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer + serialize:valueObj.sfTeamInviteChangeRole]]; + jsonDict[@".tag"] = @"sf_team_invite_change_role"; + } else if ([valueObj isSfTeamJoin]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinTypeSerializer serialize:valueObj.sfTeamJoin]]; + jsonDict[@".tag"] = @"sf_team_join"; + } else if ([valueObj isSfTeamJoinFromOobLink]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer + serialize:valueObj.sfTeamJoinFromOobLink]]; + jsonDict[@".tag"] = @"sf_team_join_from_oob_link"; + } else if ([valueObj isSfTeamUninvite]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSfTeamUninviteTypeSerializer serialize:valueObj.sfTeamUninvite]]; + jsonDict[@".tag"] = @"sf_team_uninvite"; + } else if ([valueObj isSharedContentAddInvitees]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddInviteesTypeSerializer + serialize:valueObj.sharedContentAddInvitees]]; + jsonDict[@".tag"] = @"shared_content_add_invitees"; + } else if ([valueObj isSharedContentAddLinkExpiry]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer + serialize:valueObj.sharedContentAddLinkExpiry]]; + jsonDict[@".tag"] = @"shared_content_add_link_expiry"; + } else if ([valueObj isSharedContentAddLinkPassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer + serialize:valueObj.sharedContentAddLinkPassword]]; + jsonDict[@".tag"] = @"shared_content_add_link_password"; + } else if ([valueObj isSharedContentAddMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentAddMemberTypeSerializer + serialize:valueObj.sharedContentAddMember]]; + jsonDict[@".tag"] = @"shared_content_add_member"; + } else if ([valueObj isSharedContentChangeDownloadsPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer + serialize:valueObj.sharedContentChangeDownloadsPolicy]]; + jsonDict[@".tag"] = @"shared_content_change_downloads_policy"; + } else if ([valueObj isSharedContentChangeInviteeRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer + serialize:valueObj.sharedContentChangeInviteeRole]]; + jsonDict[@".tag"] = @"shared_content_change_invitee_role"; + } else if ([valueObj isSharedContentChangeLinkAudience]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer + serialize:valueObj.sharedContentChangeLinkAudience]]; + jsonDict[@".tag"] = @"shared_content_change_link_audience"; + } else if ([valueObj isSharedContentChangeLinkExpiry]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer + serialize:valueObj.sharedContentChangeLinkExpiry]]; + jsonDict[@".tag"] = @"shared_content_change_link_expiry"; + } else if ([valueObj isSharedContentChangeLinkPassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer + serialize:valueObj.sharedContentChangeLinkPassword]]; + jsonDict[@".tag"] = @"shared_content_change_link_password"; + } else if ([valueObj isSharedContentChangeMemberRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer + serialize:valueObj.sharedContentChangeMemberRole]]; + jsonDict[@".tag"] = @"shared_content_change_member_role"; + } else if ([valueObj isSharedContentChangeViewerInfoPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer + serialize:valueObj.sharedContentChangeViewerInfoPolicy]]; + jsonDict[@".tag"] = @"shared_content_change_viewer_info_policy"; + } else if ([valueObj isSharedContentClaimInvitation]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentClaimInvitationTypeSerializer + serialize:valueObj.sharedContentClaimInvitation]]; + jsonDict[@".tag"] = @"shared_content_claim_invitation"; + } else if ([valueObj isSharedContentCopy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentCopyTypeSerializer serialize:valueObj.sharedContentCopy]]; + jsonDict[@".tag"] = @"shared_content_copy"; + } else if ([valueObj isSharedContentDownload]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentDownloadTypeSerializer + serialize:valueObj.sharedContentDownload]]; + jsonDict[@".tag"] = @"shared_content_download"; + } else if ([valueObj isSharedContentRelinquishMembership]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer + serialize:valueObj.sharedContentRelinquishMembership]]; + jsonDict[@".tag"] = @"shared_content_relinquish_membership"; + } else if ([valueObj isSharedContentRemoveInvitees]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveInviteesTypeSerializer + serialize:valueObj.sharedContentRemoveInvitees]]; + jsonDict[@".tag"] = @"shared_content_remove_invitees"; + } else if ([valueObj isSharedContentRemoveLinkExpiry]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer + serialize:valueObj.sharedContentRemoveLinkExpiry]]; + jsonDict[@".tag"] = @"shared_content_remove_link_expiry"; + } else if ([valueObj isSharedContentRemoveLinkPassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer + serialize:valueObj.sharedContentRemoveLinkPassword]]; + jsonDict[@".tag"] = @"shared_content_remove_link_password"; + } else if ([valueObj isSharedContentRemoveMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRemoveMemberTypeSerializer + serialize:valueObj.sharedContentRemoveMember]]; + jsonDict[@".tag"] = @"shared_content_remove_member"; + } else if ([valueObj isSharedContentRequestAccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRequestAccessTypeSerializer + serialize:valueObj.sharedContentRequestAccess]]; + jsonDict[@".tag"] = @"shared_content_request_access"; + } else if ([valueObj isSharedContentRestoreInvitees]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRestoreInviteesTypeSerializer + serialize:valueObj.sharedContentRestoreInvitees]]; + jsonDict[@".tag"] = @"shared_content_restore_invitees"; + } else if ([valueObj isSharedContentRestoreMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentRestoreMemberTypeSerializer + serialize:valueObj.sharedContentRestoreMember]]; + jsonDict[@".tag"] = @"shared_content_restore_member"; + } else if ([valueObj isSharedContentUnshare]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedContentUnshareTypeSerializer serialize:valueObj.sharedContentUnshare]]; + jsonDict[@".tag"] = @"shared_content_unshare"; + } else if ([valueObj isSharedContentView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedContentViewTypeSerializer serialize:valueObj.sharedContentView]]; + jsonDict[@".tag"] = @"shared_content_view"; + } else if ([valueObj isSharedFolderChangeLinkPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer + serialize:valueObj.sharedFolderChangeLinkPolicy]]; + jsonDict[@".tag"] = @"shared_folder_change_link_policy"; + } else if ([valueObj isSharedFolderChangeMembersInheritancePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer + serialize:valueObj.sharedFolderChangeMembersInheritancePolicy]]; + jsonDict[@".tag"] = @"shared_folder_change_members_inheritance_policy"; + } else if ([valueObj isSharedFolderChangeMembersManagementPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer + serialize:valueObj.sharedFolderChangeMembersManagementPolicy]]; + jsonDict[@".tag"] = @"shared_folder_change_members_management_policy"; + } else if ([valueObj isSharedFolderChangeMembersPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer + serialize:valueObj.sharedFolderChangeMembersPolicy]]; + jsonDict[@".tag"] = @"shared_folder_change_members_policy"; + } else if ([valueObj isSharedFolderCreate]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedFolderCreateTypeSerializer serialize:valueObj.sharedFolderCreate]]; + jsonDict[@".tag"] = @"shared_folder_create"; + } else if ([valueObj isSharedFolderDeclineInvitation]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer + serialize:valueObj.sharedFolderDeclineInvitation]]; + jsonDict[@".tag"] = @"shared_folder_decline_invitation"; + } else if ([valueObj isSharedFolderMount]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderMountTypeSerializer serialize:valueObj.sharedFolderMount]]; + jsonDict[@".tag"] = @"shared_folder_mount"; + } else if ([valueObj isSharedFolderNest]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderNestTypeSerializer serialize:valueObj.sharedFolderNest]]; + jsonDict[@".tag"] = @"shared_folder_nest"; + } else if ([valueObj isSharedFolderTransferOwnership]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer + serialize:valueObj.sharedFolderTransferOwnership]]; + jsonDict[@".tag"] = @"shared_folder_transfer_ownership"; + } else if ([valueObj isSharedFolderUnmount]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedFolderUnmountTypeSerializer serialize:valueObj.sharedFolderUnmount]]; + jsonDict[@".tag"] = @"shared_folder_unmount"; + } else if ([valueObj isSharedLinkAddExpiry]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedLinkAddExpiryTypeSerializer serialize:valueObj.sharedLinkAddExpiry]]; + jsonDict[@".tag"] = @"shared_link_add_expiry"; + } else if ([valueObj isSharedLinkChangeExpiry]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkChangeExpiryTypeSerializer + serialize:valueObj.sharedLinkChangeExpiry]]; + jsonDict[@".tag"] = @"shared_link_change_expiry"; + } else if ([valueObj isSharedLinkChangeVisibility]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer + serialize:valueObj.sharedLinkChangeVisibility]]; + jsonDict[@".tag"] = @"shared_link_change_visibility"; + } else if ([valueObj isSharedLinkCopy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkCopyTypeSerializer serialize:valueObj.sharedLinkCopy]]; + jsonDict[@".tag"] = @"shared_link_copy"; + } else if ([valueObj isSharedLinkCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkCreateTypeSerializer serialize:valueObj.sharedLinkCreate]]; + jsonDict[@".tag"] = @"shared_link_create"; + } else if ([valueObj isSharedLinkDisable]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkDisableTypeSerializer serialize:valueObj.sharedLinkDisable]]; + jsonDict[@".tag"] = @"shared_link_disable"; + } else if ([valueObj isSharedLinkDownload]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSharedLinkDownloadTypeSerializer serialize:valueObj.sharedLinkDownload]]; + jsonDict[@".tag"] = @"shared_link_download"; + } else if ([valueObj isSharedLinkRemoveExpiry]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer + serialize:valueObj.sharedLinkRemoveExpiry]]; + jsonDict[@".tag"] = @"shared_link_remove_expiry"; + } else if ([valueObj isSharedLinkSettingsAddExpiration]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer + serialize:valueObj.sharedLinkSettingsAddExpiration]]; + jsonDict[@".tag"] = @"shared_link_settings_add_expiration"; + } else if ([valueObj isSharedLinkSettingsAddPassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer + serialize:valueObj.sharedLinkSettingsAddPassword]]; + jsonDict[@".tag"] = @"shared_link_settings_add_password"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadDisabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer + serialize:valueObj.sharedLinkSettingsAllowDownloadDisabled]]; + jsonDict[@".tag"] = @"shared_link_settings_allow_download_disabled"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadEnabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer + serialize:valueObj.sharedLinkSettingsAllowDownloadEnabled]]; + jsonDict[@".tag"] = @"shared_link_settings_allow_download_enabled"; + } else if ([valueObj isSharedLinkSettingsChangeAudience]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer + serialize:valueObj.sharedLinkSettingsChangeAudience]]; + jsonDict[@".tag"] = @"shared_link_settings_change_audience"; + } else if ([valueObj isSharedLinkSettingsChangeExpiration]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer + serialize:valueObj.sharedLinkSettingsChangeExpiration]]; + jsonDict[@".tag"] = @"shared_link_settings_change_expiration"; + } else if ([valueObj isSharedLinkSettingsChangePassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer + serialize:valueObj.sharedLinkSettingsChangePassword]]; + jsonDict[@".tag"] = @"shared_link_settings_change_password"; + } else if ([valueObj isSharedLinkSettingsRemoveExpiration]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer + serialize:valueObj.sharedLinkSettingsRemoveExpiration]]; + jsonDict[@".tag"] = @"shared_link_settings_remove_expiration"; + } else if ([valueObj isSharedLinkSettingsRemovePassword]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer + serialize:valueObj.sharedLinkSettingsRemovePassword]]; + jsonDict[@".tag"] = @"shared_link_settings_remove_password"; + } else if ([valueObj isSharedLinkShare]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkShareTypeSerializer serialize:valueObj.sharedLinkShare]]; + jsonDict[@".tag"] = @"shared_link_share"; + } else if ([valueObj isSharedLinkView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedLinkViewTypeSerializer serialize:valueObj.sharedLinkView]]; + jsonDict[@".tag"] = @"shared_link_view"; + } else if ([valueObj isSharedNoteOpened]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharedNoteOpenedTypeSerializer serialize:valueObj.sharedNoteOpened]]; + jsonDict[@".tag"] = @"shared_note_opened"; + } else if ([valueObj isShmodelDisableDownloads]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelDisableDownloadsTypeSerializer + serialize:valueObj.shmodelDisableDownloads]]; + jsonDict[@".tag"] = @"shmodel_disable_downloads"; + } else if ([valueObj isShmodelEnableDownloads]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelEnableDownloadsTypeSerializer + serialize:valueObj.shmodelEnableDownloads]]; + jsonDict[@".tag"] = @"shmodel_enable_downloads"; + } else if ([valueObj isShmodelGroupShare]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShmodelGroupShareTypeSerializer serialize:valueObj.shmodelGroupShare]]; + jsonDict[@".tag"] = @"shmodel_group_share"; + } else if ([valueObj isShowcaseAccessGranted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseAccessGrantedTypeSerializer + serialize:valueObj.showcaseAccessGranted]]; + jsonDict[@".tag"] = @"showcase_access_granted"; + } else if ([valueObj isShowcaseAddMember]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseAddMemberTypeSerializer serialize:valueObj.showcaseAddMember]]; + jsonDict[@".tag"] = @"showcase_add_member"; + } else if ([valueObj isShowcaseArchived]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseArchivedTypeSerializer serialize:valueObj.showcaseArchived]]; + jsonDict[@".tag"] = @"showcase_archived"; + } else if ([valueObj isShowcaseCreated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseCreatedTypeSerializer serialize:valueObj.showcaseCreated]]; + jsonDict[@".tag"] = @"showcase_created"; + } else if ([valueObj isShowcaseDeleteComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseDeleteCommentTypeSerializer + serialize:valueObj.showcaseDeleteComment]]; + jsonDict[@".tag"] = @"showcase_delete_comment"; + } else if ([valueObj isShowcaseEdited]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseEditedTypeSerializer serialize:valueObj.showcaseEdited]]; + jsonDict[@".tag"] = @"showcase_edited"; + } else if ([valueObj isShowcaseEditComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseEditCommentTypeSerializer serialize:valueObj.showcaseEditComment]]; + jsonDict[@".tag"] = @"showcase_edit_comment"; + } else if ([valueObj isShowcaseFileAdded]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileAddedTypeSerializer serialize:valueObj.showcaseFileAdded]]; + jsonDict[@".tag"] = @"showcase_file_added"; + } else if ([valueObj isShowcaseFileDownload]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseFileDownloadTypeSerializer serialize:valueObj.showcaseFileDownload]]; + jsonDict[@".tag"] = @"showcase_file_download"; + } else if ([valueObj isShowcaseFileRemoved]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseFileRemovedTypeSerializer serialize:valueObj.showcaseFileRemoved]]; + jsonDict[@".tag"] = @"showcase_file_removed"; + } else if ([valueObj isShowcaseFileView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseFileViewTypeSerializer serialize:valueObj.showcaseFileView]]; + jsonDict[@".tag"] = @"showcase_file_view"; + } else if ([valueObj isShowcasePermanentlyDeleted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer + serialize:valueObj.showcasePermanentlyDeleted]]; + jsonDict[@".tag"] = @"showcase_permanently_deleted"; + } else if ([valueObj isShowcasePostComment]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcasePostCommentTypeSerializer serialize:valueObj.showcasePostComment]]; + jsonDict[@".tag"] = @"showcase_post_comment"; + } else if ([valueObj isShowcaseRemoveMember]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGShowcaseRemoveMemberTypeSerializer serialize:valueObj.showcaseRemoveMember]]; + jsonDict[@".tag"] = @"showcase_remove_member"; + } else if ([valueObj isShowcaseRenamed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRenamedTypeSerializer serialize:valueObj.showcaseRenamed]]; + jsonDict[@".tag"] = @"showcase_renamed"; + } else if ([valueObj isShowcaseRequestAccess]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRequestAccessTypeSerializer + serialize:valueObj.showcaseRequestAccess]]; + jsonDict[@".tag"] = @"showcase_request_access"; + } else if ([valueObj isShowcaseResolveComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseResolveCommentTypeSerializer + serialize:valueObj.showcaseResolveComment]]; + jsonDict[@".tag"] = @"showcase_resolve_comment"; + } else if ([valueObj isShowcaseRestored]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseRestoredTypeSerializer serialize:valueObj.showcaseRestored]]; + jsonDict[@".tag"] = @"showcase_restored"; + } else if ([valueObj isShowcaseTrashed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseTrashedTypeSerializer serialize:valueObj.showcaseTrashed]]; + jsonDict[@".tag"] = @"showcase_trashed"; + } else if ([valueObj isShowcaseTrashedDeprecated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer + serialize:valueObj.showcaseTrashedDeprecated]]; + jsonDict[@".tag"] = @"showcase_trashed_deprecated"; + } else if ([valueObj isShowcaseUnresolveComment]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUnresolveCommentTypeSerializer + serialize:valueObj.showcaseUnresolveComment]]; + jsonDict[@".tag"] = @"showcase_unresolve_comment"; + } else if ([valueObj isShowcaseUntrashed]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUntrashedTypeSerializer serialize:valueObj.showcaseUntrashed]]; + jsonDict[@".tag"] = @"showcase_untrashed"; + } else if ([valueObj isShowcaseUntrashedDeprecated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer + serialize:valueObj.showcaseUntrashedDeprecated]]; + jsonDict[@".tag"] = @"showcase_untrashed_deprecated"; + } else if ([valueObj isShowcaseView]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseViewTypeSerializer serialize:valueObj.showcaseView]]; + jsonDict[@".tag"] = @"showcase_view"; + } else if ([valueObj isSsoAddCert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddCertTypeSerializer serialize:valueObj.ssoAddCert]]; + jsonDict[@".tag"] = @"sso_add_cert"; + } else if ([valueObj isSsoAddLoginUrl]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddLoginUrlTypeSerializer serialize:valueObj.ssoAddLoginUrl]]; + jsonDict[@".tag"] = @"sso_add_login_url"; + } else if ([valueObj isSsoAddLogoutUrl]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoAddLogoutUrlTypeSerializer serialize:valueObj.ssoAddLogoutUrl]]; + jsonDict[@".tag"] = @"sso_add_logout_url"; + } else if ([valueObj isSsoChangeCert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeCertTypeSerializer serialize:valueObj.ssoChangeCert]]; + jsonDict[@".tag"] = @"sso_change_cert"; + } else if ([valueObj isSsoChangeLoginUrl]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeLoginUrlTypeSerializer serialize:valueObj.ssoChangeLoginUrl]]; + jsonDict[@".tag"] = @"sso_change_login_url"; + } else if ([valueObj isSsoChangeLogoutUrl]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoChangeLogoutUrlTypeSerializer serialize:valueObj.ssoChangeLogoutUrl]]; + jsonDict[@".tag"] = @"sso_change_logout_url"; + } else if ([valueObj isSsoChangeSamlIdentityMode]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer + serialize:valueObj.ssoChangeSamlIdentityMode]]; + jsonDict[@".tag"] = @"sso_change_saml_identity_mode"; + } else if ([valueObj isSsoRemoveCert]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveCertTypeSerializer serialize:valueObj.ssoRemoveCert]]; + jsonDict[@".tag"] = @"sso_remove_cert"; + } else if ([valueObj isSsoRemoveLoginUrl]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLoginUrlTypeSerializer serialize:valueObj.ssoRemoveLoginUrl]]; + jsonDict[@".tag"] = @"sso_remove_login_url"; + } else if ([valueObj isSsoRemoveLogoutUrl]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer serialize:valueObj.ssoRemoveLogoutUrl]]; + jsonDict[@".tag"] = @"sso_remove_logout_url"; + } else if ([valueObj isTeamFolderChangeStatus]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderChangeStatusTypeSerializer + serialize:valueObj.teamFolderChangeStatus]]; + jsonDict[@".tag"] = @"team_folder_change_status"; + } else if ([valueObj isTeamFolderCreate]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderCreateTypeSerializer serialize:valueObj.teamFolderCreate]]; + jsonDict[@".tag"] = @"team_folder_create"; + } else if ([valueObj isTeamFolderDowngrade]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTeamFolderDowngradeTypeSerializer serialize:valueObj.teamFolderDowngrade]]; + jsonDict[@".tag"] = @"team_folder_downgrade"; + } else if ([valueObj isTeamFolderPermanentlyDelete]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer + serialize:valueObj.teamFolderPermanentlyDelete]]; + jsonDict[@".tag"] = @"team_folder_permanently_delete"; + } else if ([valueObj isTeamFolderRename]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamFolderRenameTypeSerializer serialize:valueObj.teamFolderRename]]; + jsonDict[@".tag"] = @"team_folder_rename"; + } else if ([valueObj isTeamSelectiveSyncSettingsChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer + serialize:valueObj.teamSelectiveSyncSettingsChanged]]; + jsonDict[@".tag"] = @"team_selective_sync_settings_changed"; + } else if ([valueObj isAccountCaptureChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAccountCaptureChangePolicyTypeSerializer + serialize:valueObj.accountCaptureChangePolicy]]; + jsonDict[@".tag"] = @"account_capture_change_policy"; + } else if ([valueObj isAdminEmailRemindersChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAdminEmailRemindersChangedTypeSerializer + serialize:valueObj.adminEmailRemindersChanged]]; + jsonDict[@".tag"] = @"admin_email_reminders_changed"; + } else if ([valueObj isAllowDownloadDisabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAllowDownloadDisabledTypeSerializer + serialize:valueObj.allowDownloadDisabled]]; + jsonDict[@".tag"] = @"allow_download_disabled"; + } else if ([valueObj isAllowDownloadEnabled]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGAllowDownloadEnabledTypeSerializer serialize:valueObj.allowDownloadEnabled]]; + jsonDict[@".tag"] = @"allow_download_enabled"; + } else if ([valueObj isAppPermissionsChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGAppPermissionsChangedTypeSerializer + serialize:valueObj.appPermissionsChanged]]; + jsonDict[@".tag"] = @"app_permissions_changed"; + } else if ([valueObj isCameraUploadsPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer + serialize:valueObj.cameraUploadsPolicyChanged]]; + jsonDict[@".tag"] = @"camera_uploads_policy_changed"; + } else if ([valueObj isCaptureTranscriptPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer + serialize:valueObj.captureTranscriptPolicyChanged]]; + jsonDict[@".tag"] = @"capture_transcript_policy_changed"; + } else if ([valueObj isClassificationChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGClassificationChangePolicyTypeSerializer + serialize:valueObj.classificationChangePolicy]]; + jsonDict[@".tag"] = @"classification_change_policy"; + } else if ([valueObj isComputerBackupPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGComputerBackupPolicyChangedTypeSerializer + serialize:valueObj.computerBackupPolicyChanged]]; + jsonDict[@".tag"] = @"computer_backup_policy_changed"; + } else if ([valueObj isContentAdministrationPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer + serialize:valueObj.contentAdministrationPolicyChanged]]; + jsonDict[@".tag"] = @"content_administration_policy_changed"; + } else if ([valueObj isDataPlacementRestrictionChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer + serialize:valueObj.dataPlacementRestrictionChangePolicy]]; + jsonDict[@".tag"] = @"data_placement_restriction_change_policy"; + } else if ([valueObj isDataPlacementRestrictionSatisfyPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer + serialize:valueObj.dataPlacementRestrictionSatisfyPolicy]]; + jsonDict[@".tag"] = @"data_placement_restriction_satisfy_policy"; + } else if ([valueObj isDeviceApprovalsAddException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer + serialize:valueObj.deviceApprovalsAddException]]; + jsonDict[@".tag"] = @"device_approvals_add_exception"; + } else if ([valueObj isDeviceApprovalsChangeDesktopPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer + serialize:valueObj.deviceApprovalsChangeDesktopPolicy]]; + jsonDict[@".tag"] = @"device_approvals_change_desktop_policy"; + } else if ([valueObj isDeviceApprovalsChangeMobilePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer + serialize:valueObj.deviceApprovalsChangeMobilePolicy]]; + jsonDict[@".tag"] = @"device_approvals_change_mobile_policy"; + } else if ([valueObj isDeviceApprovalsChangeOverageAction]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer + serialize:valueObj.deviceApprovalsChangeOverageAction]]; + jsonDict[@".tag"] = @"device_approvals_change_overage_action"; + } else if ([valueObj isDeviceApprovalsChangeUnlinkAction]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer + serialize:valueObj.deviceApprovalsChangeUnlinkAction]]; + jsonDict[@".tag"] = @"device_approvals_change_unlink_action"; + } else if ([valueObj isDeviceApprovalsRemoveException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer + serialize:valueObj.deviceApprovalsRemoveException]]; + jsonDict[@".tag"] = @"device_approvals_remove_exception"; + } else if ([valueObj isDirectoryRestrictionsAddMembers]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer + serialize:valueObj.directoryRestrictionsAddMembers]]; + jsonDict[@".tag"] = @"directory_restrictions_add_members"; + } else if ([valueObj isDirectoryRestrictionsRemoveMembers]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer + serialize:valueObj.directoryRestrictionsRemoveMembers]]; + jsonDict[@".tag"] = @"directory_restrictions_remove_members"; + } else if ([valueObj isDropboxPasswordsPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer + serialize:valueObj.dropboxPasswordsPolicyChanged]]; + jsonDict[@".tag"] = @"dropbox_passwords_policy_changed"; + } else if ([valueObj isEmailIngestPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmailIngestPolicyChangedTypeSerializer + serialize:valueObj.emailIngestPolicyChanged]]; + jsonDict[@".tag"] = @"email_ingest_policy_changed"; + } else if ([valueObj isEmmAddException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmAddExceptionTypeSerializer serialize:valueObj.emmAddException]]; + jsonDict[@".tag"] = @"emm_add_exception"; + } else if ([valueObj isEmmChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEmmChangePolicyTypeSerializer serialize:valueObj.emmChangePolicy]]; + jsonDict[@".tag"] = @"emm_change_policy"; + } else if ([valueObj isEmmRemoveException]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGEmmRemoveExceptionTypeSerializer serialize:valueObj.emmRemoveException]]; + jsonDict[@".tag"] = @"emm_remove_exception"; + } else if ([valueObj isExtendedVersionHistoryChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer + serialize:valueObj.extendedVersionHistoryChangePolicy]]; + jsonDict[@".tag"] = @"extended_version_history_change_policy"; + } else if ([valueObj isExternalDriveBackupPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer + serialize:valueObj.externalDriveBackupPolicyChanged]]; + jsonDict[@".tag"] = @"external_drive_backup_policy_changed"; + } else if ([valueObj isFileCommentsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileCommentsChangePolicyTypeSerializer + serialize:valueObj.fileCommentsChangePolicy]]; + jsonDict[@".tag"] = @"file_comments_change_policy"; + } else if ([valueObj isFileLockingPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileLockingPolicyChangedTypeSerializer + serialize:valueObj.fileLockingPolicyChanged]]; + jsonDict[@".tag"] = @"file_locking_policy_changed"; + } else if ([valueObj isFileProviderMigrationPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer + serialize:valueObj.fileProviderMigrationPolicyChanged]]; + jsonDict[@".tag"] = @"file_provider_migration_policy_changed"; + } else if ([valueObj isFileRequestsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsChangePolicyTypeSerializer + serialize:valueObj.fileRequestsChangePolicy]]; + jsonDict[@".tag"] = @"file_requests_change_policy"; + } else if ([valueObj isFileRequestsEmailsEnabled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer + serialize:valueObj.fileRequestsEmailsEnabled]]; + jsonDict[@".tag"] = @"file_requests_emails_enabled"; + } else if ([valueObj isFileRequestsEmailsRestrictedToTeamOnly]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer + serialize:valueObj.fileRequestsEmailsRestrictedToTeamOnly]]; + jsonDict[@".tag"] = @"file_requests_emails_restricted_to_team_only"; + } else if ([valueObj isFileTransfersPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFileTransfersPolicyChangedTypeSerializer + serialize:valueObj.fileTransfersPolicyChanged]]; + jsonDict[@".tag"] = @"file_transfers_policy_changed"; + } else if ([valueObj isFolderLinkRestrictionPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer + serialize:valueObj.folderLinkRestrictionPolicyChanged]]; + jsonDict[@".tag"] = @"folder_link_restriction_policy_changed"; + } else if ([valueObj isGoogleSsoChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGoogleSsoChangePolicyTypeSerializer + serialize:valueObj.googleSsoChangePolicy]]; + jsonDict[@".tag"] = @"google_sso_change_policy"; + } else if ([valueObj isGroupUserManagementChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer + serialize:valueObj.groupUserManagementChangePolicy]]; + jsonDict[@".tag"] = @"group_user_management_change_policy"; + } else if ([valueObj isIntegrationPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGIntegrationPolicyChangedTypeSerializer + serialize:valueObj.integrationPolicyChanged]]; + jsonDict[@".tag"] = @"integration_policy_changed"; + } else if ([valueObj isInviteAcceptanceEmailPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer + serialize:valueObj.inviteAcceptanceEmailPolicyChanged]]; + jsonDict[@".tag"] = @"invite_acceptance_email_policy_changed"; + } else if ([valueObj isMemberRequestsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberRequestsChangePolicyTypeSerializer + serialize:valueObj.memberRequestsChangePolicy]]; + jsonDict[@".tag"] = @"member_requests_change_policy"; + } else if ([valueObj isMemberSendInvitePolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer + serialize:valueObj.memberSendInvitePolicyChanged]]; + jsonDict[@".tag"] = @"member_send_invite_policy_changed"; + } else if ([valueObj isMemberSpaceLimitsAddException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer + serialize:valueObj.memberSpaceLimitsAddException]]; + jsonDict[@".tag"] = @"member_space_limits_add_exception"; + } else if ([valueObj isMemberSpaceLimitsChangeCapsTypePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer + serialize:valueObj.memberSpaceLimitsChangeCapsTypePolicy]]; + jsonDict[@".tag"] = @"member_space_limits_change_caps_type_policy"; + } else if ([valueObj isMemberSpaceLimitsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer + serialize:valueObj.memberSpaceLimitsChangePolicy]]; + jsonDict[@".tag"] = @"member_space_limits_change_policy"; + } else if ([valueObj isMemberSpaceLimitsRemoveException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer + serialize:valueObj.memberSpaceLimitsRemoveException]]; + jsonDict[@".tag"] = @"member_space_limits_remove_exception"; + } else if ([valueObj isMemberSuggestionsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer + serialize:valueObj.memberSuggestionsChangePolicy]]; + jsonDict[@".tag"] = @"member_suggestions_change_policy"; + } else if ([valueObj isMicrosoftOfficeAddinChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer + serialize:valueObj.microsoftOfficeAddinChangePolicy]]; + jsonDict[@".tag"] = @"microsoft_office_addin_change_policy"; + } else if ([valueObj isNetworkControlChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGNetworkControlChangePolicyTypeSerializer + serialize:valueObj.networkControlChangePolicy]]; + jsonDict[@".tag"] = @"network_control_change_policy"; + } else if ([valueObj isPaperChangeDeploymentPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer + serialize:valueObj.paperChangeDeploymentPolicy]]; + jsonDict[@".tag"] = @"paper_change_deployment_policy"; + } else if ([valueObj isPaperChangeMemberLinkPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer + serialize:valueObj.paperChangeMemberLinkPolicy]]; + jsonDict[@".tag"] = @"paper_change_member_link_policy"; + } else if ([valueObj isPaperChangeMemberPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangeMemberPolicyTypeSerializer + serialize:valueObj.paperChangeMemberPolicy]]; + jsonDict[@".tag"] = @"paper_change_member_policy"; + } else if ([valueObj isPaperChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperChangePolicyTypeSerializer serialize:valueObj.paperChangePolicy]]; + jsonDict[@".tag"] = @"paper_change_policy"; + } else if ([valueObj isPaperDefaultFolderPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer + serialize:valueObj.paperDefaultFolderPolicyChanged]]; + jsonDict[@".tag"] = @"paper_default_folder_policy_changed"; + } else if ([valueObj isPaperDesktopPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer + serialize:valueObj.paperDesktopPolicyChanged]]; + jsonDict[@".tag"] = @"paper_desktop_policy_changed"; + } else if ([valueObj isPaperEnabledUsersGroupAddition]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer + serialize:valueObj.paperEnabledUsersGroupAddition]]; + jsonDict[@".tag"] = @"paper_enabled_users_group_addition"; + } else if ([valueObj isPaperEnabledUsersGroupRemoval]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer + serialize:valueObj.paperEnabledUsersGroupRemoval]]; + jsonDict[@".tag"] = @"paper_enabled_users_group_removal"; + } else if ([valueObj isPasswordStrengthRequirementsChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer + serialize:valueObj.passwordStrengthRequirementsChangePolicy]]; + jsonDict[@".tag"] = @"password_strength_requirements_change_policy"; + } else if ([valueObj isPermanentDeleteChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer + serialize:valueObj.permanentDeleteChangePolicy]]; + jsonDict[@".tag"] = @"permanent_delete_change_policy"; + } else if ([valueObj isResellerSupportChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGResellerSupportChangePolicyTypeSerializer + serialize:valueObj.resellerSupportChangePolicy]]; + jsonDict[@".tag"] = @"reseller_support_change_policy"; + } else if ([valueObj isRewindPolicyChanged]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGRewindPolicyChangedTypeSerializer serialize:valueObj.rewindPolicyChanged]]; + jsonDict[@".tag"] = @"rewind_policy_changed"; + } else if ([valueObj isSendForSignaturePolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer + serialize:valueObj.sendForSignaturePolicyChanged]]; + jsonDict[@".tag"] = @"send_for_signature_policy_changed"; + } else if ([valueObj isSharingChangeFolderJoinPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer + serialize:valueObj.sharingChangeFolderJoinPolicy]]; + jsonDict[@".tag"] = @"sharing_change_folder_join_policy"; + } else if ([valueObj isSharingChangeLinkAllowChangeExpirationPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer + serialize:valueObj.sharingChangeLinkAllowChangeExpirationPolicy]]; + jsonDict[@".tag"] = @"sharing_change_link_allow_change_expiration_policy"; + } else if ([valueObj isSharingChangeLinkDefaultExpirationPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer + serialize:valueObj.sharingChangeLinkDefaultExpirationPolicy]]; + jsonDict[@".tag"] = @"sharing_change_link_default_expiration_policy"; + } else if ([valueObj isSharingChangeLinkEnforcePasswordPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer + serialize:valueObj.sharingChangeLinkEnforcePasswordPolicy]]; + jsonDict[@".tag"] = @"sharing_change_link_enforce_password_policy"; + } else if ([valueObj isSharingChangeLinkPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeLinkPolicyTypeSerializer + serialize:valueObj.sharingChangeLinkPolicy]]; + jsonDict[@".tag"] = @"sharing_change_link_policy"; + } else if ([valueObj isSharingChangeMemberPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSharingChangeMemberPolicyTypeSerializer + serialize:valueObj.sharingChangeMemberPolicy]]; + jsonDict[@".tag"] = @"sharing_change_member_policy"; + } else if ([valueObj isShowcaseChangeDownloadPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer + serialize:valueObj.showcaseChangeDownloadPolicy]]; + jsonDict[@".tag"] = @"showcase_change_download_policy"; + } else if ([valueObj isShowcaseChangeEnabledPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer + serialize:valueObj.showcaseChangeEnabledPolicy]]; + jsonDict[@".tag"] = @"showcase_change_enabled_policy"; + } else if ([valueObj isShowcaseChangeExternalSharingPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer + serialize:valueObj.showcaseChangeExternalSharingPolicy]]; + jsonDict[@".tag"] = @"showcase_change_external_sharing_policy"; + } else if ([valueObj isSmarterSmartSyncPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer + serialize:valueObj.smarterSmartSyncPolicyChanged]]; + jsonDict[@".tag"] = @"smarter_smart_sync_policy_changed"; + } else if ([valueObj isSmartSyncChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncChangePolicyTypeSerializer + serialize:valueObj.smartSyncChangePolicy]]; + jsonDict[@".tag"] = @"smart_sync_change_policy"; + } else if ([valueObj isSmartSyncNotOptOut]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGSmartSyncNotOptOutTypeSerializer serialize:valueObj.smartSyncNotOptOut]]; + jsonDict[@".tag"] = @"smart_sync_not_opt_out"; + } else if ([valueObj isSmartSyncOptOut]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSmartSyncOptOutTypeSerializer serialize:valueObj.smartSyncOptOut]]; + jsonDict[@".tag"] = @"smart_sync_opt_out"; + } else if ([valueObj isSsoChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSsoChangePolicyTypeSerializer serialize:valueObj.ssoChangePolicy]]; + jsonDict[@".tag"] = @"sso_change_policy"; + } else if ([valueObj isTeamBrandingPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer + serialize:valueObj.teamBrandingPolicyChanged]]; + jsonDict[@".tag"] = @"team_branding_policy_changed"; + } else if ([valueObj isTeamExtensionsPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer + serialize:valueObj.teamExtensionsPolicyChanged]]; + jsonDict[@".tag"] = @"team_extensions_policy_changed"; + } else if ([valueObj isTeamSelectiveSyncPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer + serialize:valueObj.teamSelectiveSyncPolicyChanged]]; + jsonDict[@".tag"] = @"team_selective_sync_policy_changed"; + } else if ([valueObj isTeamSharingWhitelistSubjectsChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer + serialize:valueObj.teamSharingWhitelistSubjectsChanged]]; + jsonDict[@".tag"] = @"team_sharing_whitelist_subjects_changed"; + } else if ([valueObj isTfaAddException]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddExceptionTypeSerializer serialize:valueObj.tfaAddException]]; + jsonDict[@".tag"] = @"tfa_add_exception"; + } else if ([valueObj isTfaChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaChangePolicyTypeSerializer serialize:valueObj.tfaChangePolicy]]; + jsonDict[@".tag"] = @"tfa_change_policy"; + } else if ([valueObj isTfaRemoveException]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaRemoveExceptionTypeSerializer serialize:valueObj.tfaRemoveException]]; + jsonDict[@".tag"] = @"tfa_remove_exception"; + } else if ([valueObj isTwoAccountChangePolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTwoAccountChangePolicyTypeSerializer + serialize:valueObj.twoAccountChangePolicy]]; + jsonDict[@".tag"] = @"two_account_change_policy"; + } else if ([valueObj isViewerInfoPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGViewerInfoPolicyChangedTypeSerializer + serialize:valueObj.viewerInfoPolicyChanged]]; + jsonDict[@".tag"] = @"viewer_info_policy_changed"; + } else if ([valueObj isWatermarkingPolicyChanged]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWatermarkingPolicyChangedTypeSerializer + serialize:valueObj.watermarkingPolicyChanged]]; + jsonDict[@".tag"] = @"watermarking_policy_changed"; + } else if ([valueObj isWebSessionsChangeActiveSessionLimit]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer + serialize:valueObj.webSessionsChangeActiveSessionLimit]]; + jsonDict[@".tag"] = @"web_sessions_change_active_session_limit"; + } else if ([valueObj isWebSessionsChangeFixedLengthPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer + serialize:valueObj.webSessionsChangeFixedLengthPolicy]]; + jsonDict[@".tag"] = @"web_sessions_change_fixed_length_policy"; + } else if ([valueObj isWebSessionsChangeIdleLengthPolicy]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer + serialize:valueObj.webSessionsChangeIdleLengthPolicy]]; + jsonDict[@".tag"] = @"web_sessions_change_idle_length_policy"; + } else if ([valueObj isDataResidencyMigrationRequestSuccessful]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer + serialize:valueObj.dataResidencyMigrationRequestSuccessful]]; + jsonDict[@".tag"] = @"data_residency_migration_request_successful"; + } else if ([valueObj isDataResidencyMigrationRequestUnsuccessful]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer + serialize:valueObj.dataResidencyMigrationRequestUnsuccessful]]; + jsonDict[@".tag"] = @"data_residency_migration_request_unsuccessful"; + } else if ([valueObj isTeamMergeFrom]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeFromTypeSerializer serialize:valueObj.teamMergeFrom]]; + jsonDict[@".tag"] = @"team_merge_from"; + } else if ([valueObj isTeamMergeTo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeToTypeSerializer serialize:valueObj.teamMergeTo]]; + jsonDict[@".tag"] = @"team_merge_to"; + } else if ([valueObj isTeamProfileAddBackground]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileAddBackgroundTypeSerializer + serialize:valueObj.teamProfileAddBackground]]; + jsonDict[@".tag"] = @"team_profile_add_background"; + } else if ([valueObj isTeamProfileAddLogo]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTeamProfileAddLogoTypeSerializer serialize:valueObj.teamProfileAddLogo]]; + jsonDict[@".tag"] = @"team_profile_add_logo"; + } else if ([valueObj isTeamProfileChangeBackground]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer + serialize:valueObj.teamProfileChangeBackground]]; + jsonDict[@".tag"] = @"team_profile_change_background"; + } else if ([valueObj isTeamProfileChangeDefaultLanguage]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer + serialize:valueObj.teamProfileChangeDefaultLanguage]]; + jsonDict[@".tag"] = @"team_profile_change_default_language"; + } else if ([valueObj isTeamProfileChangeLogo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeLogoTypeSerializer + serialize:valueObj.teamProfileChangeLogo]]; + jsonDict[@".tag"] = @"team_profile_change_logo"; + } else if ([valueObj isTeamProfileChangeName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileChangeNameTypeSerializer + serialize:valueObj.teamProfileChangeName]]; + jsonDict[@".tag"] = @"team_profile_change_name"; + } else if ([valueObj isTeamProfileRemoveBackground]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer + serialize:valueObj.teamProfileRemoveBackground]]; + jsonDict[@".tag"] = @"team_profile_remove_background"; + } else if ([valueObj isTeamProfileRemoveLogo]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamProfileRemoveLogoTypeSerializer + serialize:valueObj.teamProfileRemoveLogo]]; + jsonDict[@".tag"] = @"team_profile_remove_logo"; + } else if ([valueObj isTfaAddBackupPhone]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddBackupPhoneTypeSerializer serialize:valueObj.tfaAddBackupPhone]]; + jsonDict[@".tag"] = @"tfa_add_backup_phone"; + } else if ([valueObj isTfaAddSecurityKey]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaAddSecurityKeyTypeSerializer serialize:valueObj.tfaAddSecurityKey]]; + jsonDict[@".tag"] = @"tfa_add_security_key"; + } else if ([valueObj isTfaChangeBackupPhone]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaChangeBackupPhoneTypeSerializer serialize:valueObj.tfaChangeBackupPhone]]; + jsonDict[@".tag"] = @"tfa_change_backup_phone"; + } else if ([valueObj isTfaChangeStatus]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaChangeStatusTypeSerializer serialize:valueObj.tfaChangeStatus]]; + jsonDict[@".tag"] = @"tfa_change_status"; + } else if ([valueObj isTfaRemoveBackupPhone]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer serialize:valueObj.tfaRemoveBackupPhone]]; + jsonDict[@".tag"] = @"tfa_remove_backup_phone"; + } else if ([valueObj isTfaRemoveSecurityKey]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer serialize:valueObj.tfaRemoveSecurityKey]]; + jsonDict[@".tag"] = @"tfa_remove_security_key"; + } else if ([valueObj isTfaReset]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTfaResetTypeSerializer serialize:valueObj.tfaReset]]; + jsonDict[@".tag"] = @"tfa_reset"; + } else if ([valueObj isChangedEnterpriseAdminRole]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer + serialize:valueObj.changedEnterpriseAdminRole]]; + jsonDict[@".tag"] = @"changed_enterprise_admin_role"; + } else if ([valueObj isChangedEnterpriseConnectedTeamStatus]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer + serialize:valueObj.changedEnterpriseConnectedTeamStatus]]; + jsonDict[@".tag"] = @"changed_enterprise_connected_team_status"; + } else if ([valueObj isEndedEnterpriseAdminSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer + serialize:valueObj.endedEnterpriseAdminSession]]; + jsonDict[@".tag"] = @"ended_enterprise_admin_session"; + } else if ([valueObj isEndedEnterpriseAdminSessionDeprecated]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer + serialize:valueObj.endedEnterpriseAdminSessionDeprecated]]; + jsonDict[@".tag"] = @"ended_enterprise_admin_session_deprecated"; + } else if ([valueObj isEnterpriseSettingsLocking]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGEnterpriseSettingsLockingTypeSerializer + serialize:valueObj.enterpriseSettingsLocking]]; + jsonDict[@".tag"] = @"enterprise_settings_locking"; + } else if ([valueObj isGuestAdminChangeStatus]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGuestAdminChangeStatusTypeSerializer + serialize:valueObj.guestAdminChangeStatus]]; + jsonDict[@".tag"] = @"guest_admin_change_status"; + } else if ([valueObj isStartedEnterpriseAdminSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer + serialize:valueObj.startedEnterpriseAdminSession]]; + jsonDict[@".tag"] = @"started_enterprise_admin_session"; + } else if ([valueObj isTeamMergeRequestAccepted]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer + serialize:valueObj.teamMergeRequestAccepted]]; + jsonDict[@".tag"] = @"team_merge_request_accepted"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestAcceptedShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestAcceptedShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestAutoCanceled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer + serialize:valueObj.teamMergeRequestAutoCanceled]]; + jsonDict[@".tag"] = @"team_merge_request_auto_canceled"; + } else if ([valueObj isTeamMergeRequestCanceled]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledTypeSerializer + serialize:valueObj.teamMergeRequestCanceled]]; + jsonDict[@".tag"] = @"team_merge_request_canceled"; + } else if ([valueObj isTeamMergeRequestCanceledShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestCanceledShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestCanceledShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestCanceledShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestExpired]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredTypeSerializer + serialize:valueObj.teamMergeRequestExpired]]; + jsonDict[@".tag"] = @"team_merge_request_expired"; + } else if ([valueObj isTeamMergeRequestExpiredShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestExpiredShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestExpiredShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestExpiredShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestRejectedShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestRejectedShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestRejectedShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestRejectedShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestReminder]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderTypeSerializer + serialize:valueObj.teamMergeRequestReminder]]; + jsonDict[@".tag"] = @"team_merge_request_reminder"; + } else if ([valueObj isTeamMergeRequestReminderShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestReminderShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestReminderShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestReminderShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestRevoked]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestRevokedTypeSerializer + serialize:valueObj.teamMergeRequestRevoked]]; + jsonDict[@".tag"] = @"team_merge_request_revoked"; + } else if ([valueObj isTeamMergeRequestSentShownToPrimaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestSentShownToPrimaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestSentShownToSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer + serialize:valueObj.teamMergeRequestSentShownToSecondaryTeam]]; + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_secondary_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGEventType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"admin_alerting_alert_state_changed"]) { + DBTEAMLOGAdminAlertingAlertStateChangedType *adminAlertingAlertStateChanged = + [DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAdminAlertingAlertStateChanged:adminAlertingAlertStateChanged]; + } else if ([tag isEqualToString:@"admin_alerting_changed_alert_config"]) { + DBTEAMLOGAdminAlertingChangedAlertConfigType *adminAlertingChangedAlertConfig = + [DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAdminAlertingChangedAlertConfig:adminAlertingChangedAlertConfig]; + } else if ([tag isEqualToString:@"admin_alerting_triggered_alert"]) { + DBTEAMLOGAdminAlertingTriggeredAlertType *adminAlertingTriggeredAlert = + [DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAdminAlertingTriggeredAlert:adminAlertingTriggeredAlert]; + } else if ([tag isEqualToString:@"ransomware_restore_process_completed"]) { + DBTEAMLOGRansomwareRestoreProcessCompletedType *ransomwareRestoreProcessCompleted = + [DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRansomwareRestoreProcessCompleted:ransomwareRestoreProcessCompleted]; + } else if ([tag isEqualToString:@"ransomware_restore_process_started"]) { + DBTEAMLOGRansomwareRestoreProcessStartedType *ransomwareRestoreProcessStarted = + [DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRansomwareRestoreProcessStarted:ransomwareRestoreProcessStarted]; + } else if ([tag isEqualToString:@"app_blocked_by_permissions"]) { + DBTEAMLOGAppBlockedByPermissionsType *appBlockedByPermissions = + [DBTEAMLOGAppBlockedByPermissionsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppBlockedByPermissions:appBlockedByPermissions]; + } else if ([tag isEqualToString:@"app_link_team"]) { + DBTEAMLOGAppLinkTeamType *appLinkTeam = [DBTEAMLOGAppLinkTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppLinkTeam:appLinkTeam]; + } else if ([tag isEqualToString:@"app_link_user"]) { + DBTEAMLOGAppLinkUserType *appLinkUser = [DBTEAMLOGAppLinkUserTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppLinkUser:appLinkUser]; + } else if ([tag isEqualToString:@"app_unlink_team"]) { + DBTEAMLOGAppUnlinkTeamType *appUnlinkTeam = [DBTEAMLOGAppUnlinkTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppUnlinkTeam:appUnlinkTeam]; + } else if ([tag isEqualToString:@"app_unlink_user"]) { + DBTEAMLOGAppUnlinkUserType *appUnlinkUser = [DBTEAMLOGAppUnlinkUserTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppUnlinkUser:appUnlinkUser]; + } else if ([tag isEqualToString:@"integration_connected"]) { + DBTEAMLOGIntegrationConnectedType *integrationConnected = + [DBTEAMLOGIntegrationConnectedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithIntegrationConnected:integrationConnected]; + } else if ([tag isEqualToString:@"integration_disconnected"]) { + DBTEAMLOGIntegrationDisconnectedType *integrationDisconnected = + [DBTEAMLOGIntegrationDisconnectedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithIntegrationDisconnected:integrationDisconnected]; + } else if ([tag isEqualToString:@"file_add_comment"]) { + DBTEAMLOGFileAddCommentType *fileAddComment = [DBTEAMLOGFileAddCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileAddComment:fileAddComment]; + } else if ([tag isEqualToString:@"file_change_comment_subscription"]) { + DBTEAMLOGFileChangeCommentSubscriptionType *fileChangeCommentSubscription = + [DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileChangeCommentSubscription:fileChangeCommentSubscription]; + } else if ([tag isEqualToString:@"file_delete_comment"]) { + DBTEAMLOGFileDeleteCommentType *fileDeleteComment = + [DBTEAMLOGFileDeleteCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileDeleteComment:fileDeleteComment]; + } else if ([tag isEqualToString:@"file_edit_comment"]) { + DBTEAMLOGFileEditCommentType *fileEditComment = [DBTEAMLOGFileEditCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileEditComment:fileEditComment]; + } else if ([tag isEqualToString:@"file_like_comment"]) { + DBTEAMLOGFileLikeCommentType *fileLikeComment = [DBTEAMLOGFileLikeCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileLikeComment:fileLikeComment]; + } else if ([tag isEqualToString:@"file_resolve_comment"]) { + DBTEAMLOGFileResolveCommentType *fileResolveComment = + [DBTEAMLOGFileResolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileResolveComment:fileResolveComment]; + } else if ([tag isEqualToString:@"file_unlike_comment"]) { + DBTEAMLOGFileUnlikeCommentType *fileUnlikeComment = + [DBTEAMLOGFileUnlikeCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileUnlikeComment:fileUnlikeComment]; + } else if ([tag isEqualToString:@"file_unresolve_comment"]) { + DBTEAMLOGFileUnresolveCommentType *fileUnresolveComment = + [DBTEAMLOGFileUnresolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileUnresolveComment:fileUnresolveComment]; + } else if ([tag isEqualToString:@"governance_policy_add_folders"]) { + DBTEAMLOGGovernancePolicyAddFoldersType *governancePolicyAddFolders = + [DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyAddFolders:governancePolicyAddFolders]; + } else if ([tag isEqualToString:@"governance_policy_add_folder_failed"]) { + DBTEAMLOGGovernancePolicyAddFolderFailedType *governancePolicyAddFolderFailed = + [DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyAddFolderFailed:governancePolicyAddFolderFailed]; + } else if ([tag isEqualToString:@"governance_policy_content_disposed"]) { + DBTEAMLOGGovernancePolicyContentDisposedType *governancePolicyContentDisposed = + [DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyContentDisposed:governancePolicyContentDisposed]; + } else if ([tag isEqualToString:@"governance_policy_create"]) { + DBTEAMLOGGovernancePolicyCreateType *governancePolicyCreate = + [DBTEAMLOGGovernancePolicyCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyCreate:governancePolicyCreate]; + } else if ([tag isEqualToString:@"governance_policy_delete"]) { + DBTEAMLOGGovernancePolicyDeleteType *governancePolicyDelete = + [DBTEAMLOGGovernancePolicyDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyDelete:governancePolicyDelete]; + } else if ([tag isEqualToString:@"governance_policy_edit_details"]) { + DBTEAMLOGGovernancePolicyEditDetailsType *governancePolicyEditDetails = + [DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyEditDetails:governancePolicyEditDetails]; + } else if ([tag isEqualToString:@"governance_policy_edit_duration"]) { + DBTEAMLOGGovernancePolicyEditDurationType *governancePolicyEditDuration = + [DBTEAMLOGGovernancePolicyEditDurationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyEditDuration:governancePolicyEditDuration]; + } else if ([tag isEqualToString:@"governance_policy_export_created"]) { + DBTEAMLOGGovernancePolicyExportCreatedType *governancePolicyExportCreated = + [DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyExportCreated:governancePolicyExportCreated]; + } else if ([tag isEqualToString:@"governance_policy_export_removed"]) { + DBTEAMLOGGovernancePolicyExportRemovedType *governancePolicyExportRemoved = + [DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyExportRemoved:governancePolicyExportRemoved]; + } else if ([tag isEqualToString:@"governance_policy_remove_folders"]) { + DBTEAMLOGGovernancePolicyRemoveFoldersType *governancePolicyRemoveFolders = + [DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyRemoveFolders:governancePolicyRemoveFolders]; + } else if ([tag isEqualToString:@"governance_policy_report_created"]) { + DBTEAMLOGGovernancePolicyReportCreatedType *governancePolicyReportCreated = + [DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyReportCreated:governancePolicyReportCreated]; + } else if ([tag isEqualToString:@"governance_policy_zip_part_downloaded"]) { + DBTEAMLOGGovernancePolicyZipPartDownloadedType *governancePolicyZipPartDownloaded = + [DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGovernancePolicyZipPartDownloaded:governancePolicyZipPartDownloaded]; + } else if ([tag isEqualToString:@"legal_holds_activate_a_hold"]) { + DBTEAMLOGLegalHoldsActivateAHoldType *legalHoldsActivateAHold = + [DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsActivateAHold:legalHoldsActivateAHold]; + } else if ([tag isEqualToString:@"legal_holds_add_members"]) { + DBTEAMLOGLegalHoldsAddMembersType *legalHoldsAddMembers = + [DBTEAMLOGLegalHoldsAddMembersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsAddMembers:legalHoldsAddMembers]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_details"]) { + DBTEAMLOGLegalHoldsChangeHoldDetailsType *legalHoldsChangeHoldDetails = + [DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsChangeHoldDetails:legalHoldsChangeHoldDetails]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_name"]) { + DBTEAMLOGLegalHoldsChangeHoldNameType *legalHoldsChangeHoldName = + [DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsChangeHoldName:legalHoldsChangeHoldName]; + } else if ([tag isEqualToString:@"legal_holds_export_a_hold"]) { + DBTEAMLOGLegalHoldsExportAHoldType *legalHoldsExportAHold = + [DBTEAMLOGLegalHoldsExportAHoldTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsExportAHold:legalHoldsExportAHold]; + } else if ([tag isEqualToString:@"legal_holds_export_cancelled"]) { + DBTEAMLOGLegalHoldsExportCancelledType *legalHoldsExportCancelled = + [DBTEAMLOGLegalHoldsExportCancelledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsExportCancelled:legalHoldsExportCancelled]; + } else if ([tag isEqualToString:@"legal_holds_export_downloaded"]) { + DBTEAMLOGLegalHoldsExportDownloadedType *legalHoldsExportDownloaded = + [DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsExportDownloaded:legalHoldsExportDownloaded]; + } else if ([tag isEqualToString:@"legal_holds_export_removed"]) { + DBTEAMLOGLegalHoldsExportRemovedType *legalHoldsExportRemoved = + [DBTEAMLOGLegalHoldsExportRemovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsExportRemoved:legalHoldsExportRemoved]; + } else if ([tag isEqualToString:@"legal_holds_release_a_hold"]) { + DBTEAMLOGLegalHoldsReleaseAHoldType *legalHoldsReleaseAHold = + [DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsReleaseAHold:legalHoldsReleaseAHold]; + } else if ([tag isEqualToString:@"legal_holds_remove_members"]) { + DBTEAMLOGLegalHoldsRemoveMembersType *legalHoldsRemoveMembers = + [DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsRemoveMembers:legalHoldsRemoveMembers]; + } else if ([tag isEqualToString:@"legal_holds_report_a_hold"]) { + DBTEAMLOGLegalHoldsReportAHoldType *legalHoldsReportAHold = + [DBTEAMLOGLegalHoldsReportAHoldTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLegalHoldsReportAHold:legalHoldsReportAHold]; + } else if ([tag isEqualToString:@"device_change_ip_desktop"]) { + DBTEAMLOGDeviceChangeIpDesktopType *deviceChangeIpDesktop = + [DBTEAMLOGDeviceChangeIpDesktopTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpDesktop:deviceChangeIpDesktop]; + } else if ([tag isEqualToString:@"device_change_ip_mobile"]) { + DBTEAMLOGDeviceChangeIpMobileType *deviceChangeIpMobile = + [DBTEAMLOGDeviceChangeIpMobileTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpMobile:deviceChangeIpMobile]; + } else if ([tag isEqualToString:@"device_change_ip_web"]) { + DBTEAMLOGDeviceChangeIpWebType *deviceChangeIpWeb = + [DBTEAMLOGDeviceChangeIpWebTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpWeb:deviceChangeIpWeb]; + } else if ([tag isEqualToString:@"device_delete_on_unlink_fail"]) { + DBTEAMLOGDeviceDeleteOnUnlinkFailType *deviceDeleteOnUnlinkFail = + [DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceDeleteOnUnlinkFail:deviceDeleteOnUnlinkFail]; + } else if ([tag isEqualToString:@"device_delete_on_unlink_success"]) { + DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *deviceDeleteOnUnlinkSuccess = + [DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceDeleteOnUnlinkSuccess:deviceDeleteOnUnlinkSuccess]; + } else if ([tag isEqualToString:@"device_link_fail"]) { + DBTEAMLOGDeviceLinkFailType *deviceLinkFail = [DBTEAMLOGDeviceLinkFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceLinkFail:deviceLinkFail]; + } else if ([tag isEqualToString:@"device_link_success"]) { + DBTEAMLOGDeviceLinkSuccessType *deviceLinkSuccess = + [DBTEAMLOGDeviceLinkSuccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceLinkSuccess:deviceLinkSuccess]; + } else if ([tag isEqualToString:@"device_management_disabled"]) { + DBTEAMLOGDeviceManagementDisabledType *deviceManagementDisabled = + [DBTEAMLOGDeviceManagementDisabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceManagementDisabled:deviceManagementDisabled]; + } else if ([tag isEqualToString:@"device_management_enabled"]) { + DBTEAMLOGDeviceManagementEnabledType *deviceManagementEnabled = + [DBTEAMLOGDeviceManagementEnabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceManagementEnabled:deviceManagementEnabled]; + } else if ([tag isEqualToString:@"device_sync_backup_status_changed"]) { + DBTEAMLOGDeviceSyncBackupStatusChangedType *deviceSyncBackupStatusChanged = + [DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceSyncBackupStatusChanged:deviceSyncBackupStatusChanged]; + } else if ([tag isEqualToString:@"device_unlink"]) { + DBTEAMLOGDeviceUnlinkType *deviceUnlink = [DBTEAMLOGDeviceUnlinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceUnlink:deviceUnlink]; + } else if ([tag isEqualToString:@"dropbox_passwords_exported"]) { + DBTEAMLOGDropboxPasswordsExportedType *dropboxPasswordsExported = + [DBTEAMLOGDropboxPasswordsExportedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDropboxPasswordsExported:dropboxPasswordsExported]; + } else if ([tag isEqualToString:@"dropbox_passwords_new_device_enrolled"]) { + DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *dropboxPasswordsNewDeviceEnrolled = + [DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDropboxPasswordsNewDeviceEnrolled:dropboxPasswordsNewDeviceEnrolled]; + } else if ([tag isEqualToString:@"emm_refresh_auth_token"]) { + DBTEAMLOGEmmRefreshAuthTokenType *emmRefreshAuthToken = + [DBTEAMLOGEmmRefreshAuthTokenTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmRefreshAuthToken:emmRefreshAuthToken]; + } else if ([tag isEqualToString:@"external_drive_backup_eligibility_status_checked"]) { + DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *externalDriveBackupEligibilityStatusChecked = + [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithExternalDriveBackupEligibilityStatusChecked:externalDriveBackupEligibilityStatusChecked]; + } else if ([tag isEqualToString:@"external_drive_backup_status_changed"]) { + DBTEAMLOGExternalDriveBackupStatusChangedType *externalDriveBackupStatusChanged = + [DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExternalDriveBackupStatusChanged:externalDriveBackupStatusChanged]; + } else if ([tag isEqualToString:@"account_capture_change_availability"]) { + DBTEAMLOGAccountCaptureChangeAvailabilityType *accountCaptureChangeAvailability = + [DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAccountCaptureChangeAvailability:accountCaptureChangeAvailability]; + } else if ([tag isEqualToString:@"account_capture_migrate_account"]) { + DBTEAMLOGAccountCaptureMigrateAccountType *accountCaptureMigrateAccount = + [DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAccountCaptureMigrateAccount:accountCaptureMigrateAccount]; + } else if ([tag isEqualToString:@"account_capture_notification_emails_sent"]) { + DBTEAMLOGAccountCaptureNotificationEmailsSentType *accountCaptureNotificationEmailsSent = + [DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventType alloc] initWithAccountCaptureNotificationEmailsSent:accountCaptureNotificationEmailsSent]; + } else if ([tag isEqualToString:@"account_capture_relinquish_account"]) { + DBTEAMLOGAccountCaptureRelinquishAccountType *accountCaptureRelinquishAccount = + [DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAccountCaptureRelinquishAccount:accountCaptureRelinquishAccount]; + } else if ([tag isEqualToString:@"disabled_domain_invites"]) { + DBTEAMLOGDisabledDomainInvitesType *disabledDomainInvites = + [DBTEAMLOGDisabledDomainInvitesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDisabledDomainInvites:disabledDomainInvites]; + } else if ([tag isEqualToString:@"domain_invites_approve_request_to_join_team"]) { + DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *domainInvitesApproveRequestToJoinTeam = + [DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDomainInvitesApproveRequestToJoinTeam:domainInvitesApproveRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_decline_request_to_join_team"]) { + DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *domainInvitesDeclineRequestToJoinTeam = + [DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDomainInvitesDeclineRequestToJoinTeam:domainInvitesDeclineRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_email_existing_users"]) { + DBTEAMLOGDomainInvitesEmailExistingUsersType *domainInvitesEmailExistingUsers = + [DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDomainInvitesEmailExistingUsers:domainInvitesEmailExistingUsers]; + } else if ([tag isEqualToString:@"domain_invites_request_to_join_team"]) { + DBTEAMLOGDomainInvitesRequestToJoinTeamType *domainInvitesRequestToJoinTeam = + [DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDomainInvitesRequestToJoinTeam:domainInvitesRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_no"]) { + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *domainInvitesSetInviteNewUserPrefToNo = + [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDomainInvitesSetInviteNewUserPrefToNo:domainInvitesSetInviteNewUserPrefToNo]; + } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_yes"]) { + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *domainInvitesSetInviteNewUserPrefToYes = + [DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDomainInvitesSetInviteNewUserPrefToYes:domainInvitesSetInviteNewUserPrefToYes]; + } else if ([tag isEqualToString:@"domain_verification_add_domain_fail"]) { + DBTEAMLOGDomainVerificationAddDomainFailType *domainVerificationAddDomainFail = + [DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDomainVerificationAddDomainFail:domainVerificationAddDomainFail]; + } else if ([tag isEqualToString:@"domain_verification_add_domain_success"]) { + DBTEAMLOGDomainVerificationAddDomainSuccessType *domainVerificationAddDomainSuccess = + [DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDomainVerificationAddDomainSuccess:domainVerificationAddDomainSuccess]; + } else if ([tag isEqualToString:@"domain_verification_remove_domain"]) { + DBTEAMLOGDomainVerificationRemoveDomainType *domainVerificationRemoveDomain = + [DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDomainVerificationRemoveDomain:domainVerificationRemoveDomain]; + } else if ([tag isEqualToString:@"enabled_domain_invites"]) { + DBTEAMLOGEnabledDomainInvitesType *enabledDomainInvites = + [DBTEAMLOGEnabledDomainInvitesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEnabledDomainInvites:enabledDomainInvites]; + } else if ([tag isEqualToString:@"team_encryption_key_cancel_key_deletion"]) { + DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *teamEncryptionKeyCancelKeyDeletion = + [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyCancelKeyDeletion:teamEncryptionKeyCancelKeyDeletion]; + } else if ([tag isEqualToString:@"team_encryption_key_create_key"]) { + DBTEAMLOGTeamEncryptionKeyCreateKeyType *teamEncryptionKeyCreateKey = + [DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyCreateKey:teamEncryptionKeyCreateKey]; + } else if ([tag isEqualToString:@"team_encryption_key_delete_key"]) { + DBTEAMLOGTeamEncryptionKeyDeleteKeyType *teamEncryptionKeyDeleteKey = + [DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyDeleteKey:teamEncryptionKeyDeleteKey]; + } else if ([tag isEqualToString:@"team_encryption_key_disable_key"]) { + DBTEAMLOGTeamEncryptionKeyDisableKeyType *teamEncryptionKeyDisableKey = + [DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyDisableKey:teamEncryptionKeyDisableKey]; + } else if ([tag isEqualToString:@"team_encryption_key_enable_key"]) { + DBTEAMLOGTeamEncryptionKeyEnableKeyType *teamEncryptionKeyEnableKey = + [DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyEnableKey:teamEncryptionKeyEnableKey]; + } else if ([tag isEqualToString:@"team_encryption_key_rotate_key"]) { + DBTEAMLOGTeamEncryptionKeyRotateKeyType *teamEncryptionKeyRotateKey = + [DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyRotateKey:teamEncryptionKeyRotateKey]; + } else if ([tag isEqualToString:@"team_encryption_key_schedule_key_deletion"]) { + DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *teamEncryptionKeyScheduleKeyDeletion = + [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventType alloc] initWithTeamEncryptionKeyScheduleKeyDeletion:teamEncryptionKeyScheduleKeyDeletion]; + } else if ([tag isEqualToString:@"apply_naming_convention"]) { + DBTEAMLOGApplyNamingConventionType *applyNamingConvention = + [DBTEAMLOGApplyNamingConventionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithApplyNamingConvention:applyNamingConvention]; + } else if ([tag isEqualToString:@"create_folder"]) { + DBTEAMLOGCreateFolderType *createFolder = [DBTEAMLOGCreateFolderTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithCreateFolder:createFolder]; + } else if ([tag isEqualToString:@"file_add"]) { + DBTEAMLOGFileAddType *fileAdd = [DBTEAMLOGFileAddTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileAdd:fileAdd]; + } else if ([tag isEqualToString:@"file_add_from_automation"]) { + DBTEAMLOGFileAddFromAutomationType *fileAddFromAutomation = + [DBTEAMLOGFileAddFromAutomationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileAddFromAutomation:fileAddFromAutomation]; + } else if ([tag isEqualToString:@"file_copy"]) { + DBTEAMLOGFileCopyType *fileCopy = [DBTEAMLOGFileCopyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileCopy:fileCopy]; + } else if ([tag isEqualToString:@"file_delete"]) { + DBTEAMLOGFileDeleteType *fileDelete = [DBTEAMLOGFileDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileDelete:fileDelete]; + } else if ([tag isEqualToString:@"file_download"]) { + DBTEAMLOGFileDownloadType *fileDownload = [DBTEAMLOGFileDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileDownload:fileDownload]; + } else if ([tag isEqualToString:@"file_edit"]) { + DBTEAMLOGFileEditType *fileEdit = [DBTEAMLOGFileEditTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileEdit:fileEdit]; + } else if ([tag isEqualToString:@"file_get_copy_reference"]) { + DBTEAMLOGFileGetCopyReferenceType *fileGetCopyReference = + [DBTEAMLOGFileGetCopyReferenceTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileGetCopyReference:fileGetCopyReference]; + } else if ([tag isEqualToString:@"file_locking_lock_status_changed"]) { + DBTEAMLOGFileLockingLockStatusChangedType *fileLockingLockStatusChanged = + [DBTEAMLOGFileLockingLockStatusChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileLockingLockStatusChanged:fileLockingLockStatusChanged]; + } else if ([tag isEqualToString:@"file_move"]) { + DBTEAMLOGFileMoveType *fileMove = [DBTEAMLOGFileMoveTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileMove:fileMove]; + } else if ([tag isEqualToString:@"file_permanently_delete"]) { + DBTEAMLOGFilePermanentlyDeleteType *filePermanentlyDelete = + [DBTEAMLOGFilePermanentlyDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFilePermanentlyDelete:filePermanentlyDelete]; + } else if ([tag isEqualToString:@"file_preview"]) { + DBTEAMLOGFilePreviewType *filePreview = [DBTEAMLOGFilePreviewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFilePreview:filePreview]; + } else if ([tag isEqualToString:@"file_rename"]) { + DBTEAMLOGFileRenameType *fileRename = [DBTEAMLOGFileRenameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRename:fileRename]; + } else if ([tag isEqualToString:@"file_restore"]) { + DBTEAMLOGFileRestoreType *fileRestore = [DBTEAMLOGFileRestoreTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRestore:fileRestore]; + } else if ([tag isEqualToString:@"file_revert"]) { + DBTEAMLOGFileRevertType *fileRevert = [DBTEAMLOGFileRevertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRevert:fileRevert]; + } else if ([tag isEqualToString:@"file_rollback_changes"]) { + DBTEAMLOGFileRollbackChangesType *fileRollbackChanges = + [DBTEAMLOGFileRollbackChangesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRollbackChanges:fileRollbackChanges]; + } else if ([tag isEqualToString:@"file_save_copy_reference"]) { + DBTEAMLOGFileSaveCopyReferenceType *fileSaveCopyReference = + [DBTEAMLOGFileSaveCopyReferenceTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileSaveCopyReference:fileSaveCopyReference]; + } else if ([tag isEqualToString:@"folder_overview_description_changed"]) { + DBTEAMLOGFolderOverviewDescriptionChangedType *folderOverviewDescriptionChanged = + [DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFolderOverviewDescriptionChanged:folderOverviewDescriptionChanged]; + } else if ([tag isEqualToString:@"folder_overview_item_pinned"]) { + DBTEAMLOGFolderOverviewItemPinnedType *folderOverviewItemPinned = + [DBTEAMLOGFolderOverviewItemPinnedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFolderOverviewItemPinned:folderOverviewItemPinned]; + } else if ([tag isEqualToString:@"folder_overview_item_unpinned"]) { + DBTEAMLOGFolderOverviewItemUnpinnedType *folderOverviewItemUnpinned = + [DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFolderOverviewItemUnpinned:folderOverviewItemUnpinned]; + } else if ([tag isEqualToString:@"object_label_added"]) { + DBTEAMLOGObjectLabelAddedType *objectLabelAdded = [DBTEAMLOGObjectLabelAddedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithObjectLabelAdded:objectLabelAdded]; + } else if ([tag isEqualToString:@"object_label_removed"]) { + DBTEAMLOGObjectLabelRemovedType *objectLabelRemoved = + [DBTEAMLOGObjectLabelRemovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithObjectLabelRemoved:objectLabelRemoved]; + } else if ([tag isEqualToString:@"object_label_updated_value"]) { + DBTEAMLOGObjectLabelUpdatedValueType *objectLabelUpdatedValue = + [DBTEAMLOGObjectLabelUpdatedValueTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithObjectLabelUpdatedValue:objectLabelUpdatedValue]; + } else if ([tag isEqualToString:@"organize_folder_with_tidy"]) { + DBTEAMLOGOrganizeFolderWithTidyType *organizeFolderWithTidy = + [DBTEAMLOGOrganizeFolderWithTidyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithOrganizeFolderWithTidy:organizeFolderWithTidy]; + } else if ([tag isEqualToString:@"replay_file_delete"]) { + DBTEAMLOGReplayFileDeleteType *replayFileDelete = [DBTEAMLOGReplayFileDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithReplayFileDelete:replayFileDelete]; + } else if ([tag isEqualToString:@"rewind_folder"]) { + DBTEAMLOGRewindFolderType *rewindFolder = [DBTEAMLOGRewindFolderTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRewindFolder:rewindFolder]; + } else if ([tag isEqualToString:@"undo_naming_convention"]) { + DBTEAMLOGUndoNamingConventionType *undoNamingConvention = + [DBTEAMLOGUndoNamingConventionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithUndoNamingConvention:undoNamingConvention]; + } else if ([tag isEqualToString:@"undo_organize_folder_with_tidy"]) { + DBTEAMLOGUndoOrganizeFolderWithTidyType *undoOrganizeFolderWithTidy = + [DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithUndoOrganizeFolderWithTidy:undoOrganizeFolderWithTidy]; + } else if ([tag isEqualToString:@"user_tags_added"]) { + DBTEAMLOGUserTagsAddedType *userTagsAdded = [DBTEAMLOGUserTagsAddedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithUserTagsAdded:userTagsAdded]; + } else if ([tag isEqualToString:@"user_tags_removed"]) { + DBTEAMLOGUserTagsRemovedType *userTagsRemoved = [DBTEAMLOGUserTagsRemovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithUserTagsRemoved:userTagsRemoved]; + } else if ([tag isEqualToString:@"email_ingest_receive_file"]) { + DBTEAMLOGEmailIngestReceiveFileType *emailIngestReceiveFile = + [DBTEAMLOGEmailIngestReceiveFileTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmailIngestReceiveFile:emailIngestReceiveFile]; + } else if ([tag isEqualToString:@"file_request_change"]) { + DBTEAMLOGFileRequestChangeType *fileRequestChange = + [DBTEAMLOGFileRequestChangeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestChange:fileRequestChange]; + } else if ([tag isEqualToString:@"file_request_close"]) { + DBTEAMLOGFileRequestCloseType *fileRequestClose = [DBTEAMLOGFileRequestCloseTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestClose:fileRequestClose]; + } else if ([tag isEqualToString:@"file_request_create"]) { + DBTEAMLOGFileRequestCreateType *fileRequestCreate = + [DBTEAMLOGFileRequestCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestCreate:fileRequestCreate]; + } else if ([tag isEqualToString:@"file_request_delete"]) { + DBTEAMLOGFileRequestDeleteType *fileRequestDelete = + [DBTEAMLOGFileRequestDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestDelete:fileRequestDelete]; + } else if ([tag isEqualToString:@"file_request_receive_file"]) { + DBTEAMLOGFileRequestReceiveFileType *fileRequestReceiveFile = + [DBTEAMLOGFileRequestReceiveFileTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestReceiveFile:fileRequestReceiveFile]; + } else if ([tag isEqualToString:@"group_add_external_id"]) { + DBTEAMLOGGroupAddExternalIdType *groupAddExternalId = + [DBTEAMLOGGroupAddExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupAddExternalId:groupAddExternalId]; + } else if ([tag isEqualToString:@"group_add_member"]) { + DBTEAMLOGGroupAddMemberType *groupAddMember = [DBTEAMLOGGroupAddMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupAddMember:groupAddMember]; + } else if ([tag isEqualToString:@"group_change_external_id"]) { + DBTEAMLOGGroupChangeExternalIdType *groupChangeExternalId = + [DBTEAMLOGGroupChangeExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupChangeExternalId:groupChangeExternalId]; + } else if ([tag isEqualToString:@"group_change_management_type"]) { + DBTEAMLOGGroupChangeManagementTypeType *groupChangeManagementType = + [DBTEAMLOGGroupChangeManagementTypeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupChangeManagementType:groupChangeManagementType]; + } else if ([tag isEqualToString:@"group_change_member_role"]) { + DBTEAMLOGGroupChangeMemberRoleType *groupChangeMemberRole = + [DBTEAMLOGGroupChangeMemberRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupChangeMemberRole:groupChangeMemberRole]; + } else if ([tag isEqualToString:@"group_create"]) { + DBTEAMLOGGroupCreateType *groupCreate = [DBTEAMLOGGroupCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupCreate:groupCreate]; + } else if ([tag isEqualToString:@"group_delete"]) { + DBTEAMLOGGroupDeleteType *groupDelete = [DBTEAMLOGGroupDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupDelete:groupDelete]; + } else if ([tag isEqualToString:@"group_description_updated"]) { + DBTEAMLOGGroupDescriptionUpdatedType *groupDescriptionUpdated = + [DBTEAMLOGGroupDescriptionUpdatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupDescriptionUpdated:groupDescriptionUpdated]; + } else if ([tag isEqualToString:@"group_join_policy_updated"]) { + DBTEAMLOGGroupJoinPolicyUpdatedType *groupJoinPolicyUpdated = + [DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupJoinPolicyUpdated:groupJoinPolicyUpdated]; + } else if ([tag isEqualToString:@"group_moved"]) { + DBTEAMLOGGroupMovedType *groupMoved = [DBTEAMLOGGroupMovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupMoved:groupMoved]; + } else if ([tag isEqualToString:@"group_remove_external_id"]) { + DBTEAMLOGGroupRemoveExternalIdType *groupRemoveExternalId = + [DBTEAMLOGGroupRemoveExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupRemoveExternalId:groupRemoveExternalId]; + } else if ([tag isEqualToString:@"group_remove_member"]) { + DBTEAMLOGGroupRemoveMemberType *groupRemoveMember = + [DBTEAMLOGGroupRemoveMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupRemoveMember:groupRemoveMember]; + } else if ([tag isEqualToString:@"group_rename"]) { + DBTEAMLOGGroupRenameType *groupRename = [DBTEAMLOGGroupRenameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupRename:groupRename]; + } else if ([tag isEqualToString:@"account_lock_or_unlocked"]) { + DBTEAMLOGAccountLockOrUnlockedType *accountLockOrUnlocked = + [DBTEAMLOGAccountLockOrUnlockedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAccountLockOrUnlocked:accountLockOrUnlocked]; + } else if ([tag isEqualToString:@"emm_error"]) { + DBTEAMLOGEmmErrorType *emmError = [DBTEAMLOGEmmErrorTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmError:emmError]; + } else if ([tag isEqualToString:@"guest_admin_signed_in_via_trusted_teams"]) { + DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *guestAdminSignedInViaTrustedTeams = + [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGuestAdminSignedInViaTrustedTeams:guestAdminSignedInViaTrustedTeams]; + } else if ([tag isEqualToString:@"guest_admin_signed_out_via_trusted_teams"]) { + DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *guestAdminSignedOutViaTrustedTeams = + [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGuestAdminSignedOutViaTrustedTeams:guestAdminSignedOutViaTrustedTeams]; + } else if ([tag isEqualToString:@"login_fail"]) { + DBTEAMLOGLoginFailType *loginFail = [DBTEAMLOGLoginFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLoginFail:loginFail]; + } else if ([tag isEqualToString:@"login_success"]) { + DBTEAMLOGLoginSuccessType *loginSuccess = [DBTEAMLOGLoginSuccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLoginSuccess:loginSuccess]; + } else if ([tag isEqualToString:@"logout"]) { + DBTEAMLOGLogoutType *logout = [DBTEAMLOGLogoutTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithLogout:logout]; + } else if ([tag isEqualToString:@"reseller_support_session_end"]) { + DBTEAMLOGResellerSupportSessionEndType *resellerSupportSessionEnd = + [DBTEAMLOGResellerSupportSessionEndTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithResellerSupportSessionEnd:resellerSupportSessionEnd]; + } else if ([tag isEqualToString:@"reseller_support_session_start"]) { + DBTEAMLOGResellerSupportSessionStartType *resellerSupportSessionStart = + [DBTEAMLOGResellerSupportSessionStartTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithResellerSupportSessionStart:resellerSupportSessionStart]; + } else if ([tag isEqualToString:@"sign_in_as_session_end"]) { + DBTEAMLOGSignInAsSessionEndType *signInAsSessionEnd = + [DBTEAMLOGSignInAsSessionEndTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSignInAsSessionEnd:signInAsSessionEnd]; + } else if ([tag isEqualToString:@"sign_in_as_session_start"]) { + DBTEAMLOGSignInAsSessionStartType *signInAsSessionStart = + [DBTEAMLOGSignInAsSessionStartTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSignInAsSessionStart:signInAsSessionStart]; + } else if ([tag isEqualToString:@"sso_error"]) { + DBTEAMLOGSsoErrorType *ssoError = [DBTEAMLOGSsoErrorTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoError:ssoError]; + } else if ([tag isEqualToString:@"backup_admin_invitation_sent"]) { + DBTEAMLOGBackupAdminInvitationSentType *backupAdminInvitationSent = + [DBTEAMLOGBackupAdminInvitationSentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBackupAdminInvitationSent:backupAdminInvitationSent]; + } else if ([tag isEqualToString:@"backup_invitation_opened"]) { + DBTEAMLOGBackupInvitationOpenedType *backupInvitationOpened = + [DBTEAMLOGBackupInvitationOpenedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBackupInvitationOpened:backupInvitationOpened]; + } else if ([tag isEqualToString:@"create_team_invite_link"]) { + DBTEAMLOGCreateTeamInviteLinkType *createTeamInviteLink = + [DBTEAMLOGCreateTeamInviteLinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithCreateTeamInviteLink:createTeamInviteLink]; + } else if ([tag isEqualToString:@"delete_team_invite_link"]) { + DBTEAMLOGDeleteTeamInviteLinkType *deleteTeamInviteLink = + [DBTEAMLOGDeleteTeamInviteLinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeleteTeamInviteLink:deleteTeamInviteLink]; + } else if ([tag isEqualToString:@"member_add_external_id"]) { + DBTEAMLOGMemberAddExternalIdType *memberAddExternalId = + [DBTEAMLOGMemberAddExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberAddExternalId:memberAddExternalId]; + } else if ([tag isEqualToString:@"member_add_name"]) { + DBTEAMLOGMemberAddNameType *memberAddName = [DBTEAMLOGMemberAddNameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberAddName:memberAddName]; + } else if ([tag isEqualToString:@"member_change_admin_role"]) { + DBTEAMLOGMemberChangeAdminRoleType *memberChangeAdminRole = + [DBTEAMLOGMemberChangeAdminRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeAdminRole:memberChangeAdminRole]; + } else if ([tag isEqualToString:@"member_change_email"]) { + DBTEAMLOGMemberChangeEmailType *memberChangeEmail = + [DBTEAMLOGMemberChangeEmailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeEmail:memberChangeEmail]; + } else if ([tag isEqualToString:@"member_change_external_id"]) { + DBTEAMLOGMemberChangeExternalIdType *memberChangeExternalId = + [DBTEAMLOGMemberChangeExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeExternalId:memberChangeExternalId]; + } else if ([tag isEqualToString:@"member_change_membership_type"]) { + DBTEAMLOGMemberChangeMembershipTypeType *memberChangeMembershipType = + [DBTEAMLOGMemberChangeMembershipTypeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeMembershipType:memberChangeMembershipType]; + } else if ([tag isEqualToString:@"member_change_name"]) { + DBTEAMLOGMemberChangeNameType *memberChangeName = [DBTEAMLOGMemberChangeNameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeName:memberChangeName]; + } else if ([tag isEqualToString:@"member_change_reseller_role"]) { + DBTEAMLOGMemberChangeResellerRoleType *memberChangeResellerRole = + [DBTEAMLOGMemberChangeResellerRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeResellerRole:memberChangeResellerRole]; + } else if ([tag isEqualToString:@"member_change_status"]) { + DBTEAMLOGMemberChangeStatusType *memberChangeStatus = + [DBTEAMLOGMemberChangeStatusTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberChangeStatus:memberChangeStatus]; + } else if ([tag isEqualToString:@"member_delete_manual_contacts"]) { + DBTEAMLOGMemberDeleteManualContactsType *memberDeleteManualContacts = + [DBTEAMLOGMemberDeleteManualContactsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberDeleteManualContacts:memberDeleteManualContacts]; + } else if ([tag isEqualToString:@"member_delete_profile_photo"]) { + DBTEAMLOGMemberDeleteProfilePhotoType *memberDeleteProfilePhoto = + [DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberDeleteProfilePhoto:memberDeleteProfilePhoto]; + } else if ([tag isEqualToString:@"member_permanently_delete_account_contents"]) { + DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *memberPermanentlyDeleteAccountContents = + [DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithMemberPermanentlyDeleteAccountContents:memberPermanentlyDeleteAccountContents]; + } else if ([tag isEqualToString:@"member_remove_external_id"]) { + DBTEAMLOGMemberRemoveExternalIdType *memberRemoveExternalId = + [DBTEAMLOGMemberRemoveExternalIdTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberRemoveExternalId:memberRemoveExternalId]; + } else if ([tag isEqualToString:@"member_set_profile_photo"]) { + DBTEAMLOGMemberSetProfilePhotoType *memberSetProfilePhoto = + [DBTEAMLOGMemberSetProfilePhotoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSetProfilePhoto:memberSetProfilePhoto]; + } else if ([tag isEqualToString:@"member_space_limits_add_custom_quota"]) { + DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *memberSpaceLimitsAddCustomQuota = + [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsAddCustomQuota:memberSpaceLimitsAddCustomQuota]; + } else if ([tag isEqualToString:@"member_space_limits_change_custom_quota"]) { + DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *memberSpaceLimitsChangeCustomQuota = + [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsChangeCustomQuota:memberSpaceLimitsChangeCustomQuota]; + } else if ([tag isEqualToString:@"member_space_limits_change_status"]) { + DBTEAMLOGMemberSpaceLimitsChangeStatusType *memberSpaceLimitsChangeStatus = + [DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsChangeStatus:memberSpaceLimitsChangeStatus]; + } else if ([tag isEqualToString:@"member_space_limits_remove_custom_quota"]) { + DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *memberSpaceLimitsRemoveCustomQuota = + [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsRemoveCustomQuota:memberSpaceLimitsRemoveCustomQuota]; + } else if ([tag isEqualToString:@"member_suggest"]) { + DBTEAMLOGMemberSuggestType *memberSuggest = [DBTEAMLOGMemberSuggestTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSuggest:memberSuggest]; + } else if ([tag isEqualToString:@"member_transfer_account_contents"]) { + DBTEAMLOGMemberTransferAccountContentsType *memberTransferAccountContents = + [DBTEAMLOGMemberTransferAccountContentsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberTransferAccountContents:memberTransferAccountContents]; + } else if ([tag isEqualToString:@"pending_secondary_email_added"]) { + DBTEAMLOGPendingSecondaryEmailAddedType *pendingSecondaryEmailAdded = + [DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPendingSecondaryEmailAdded:pendingSecondaryEmailAdded]; + } else if ([tag isEqualToString:@"secondary_email_deleted"]) { + DBTEAMLOGSecondaryEmailDeletedType *secondaryEmailDeleted = + [DBTEAMLOGSecondaryEmailDeletedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSecondaryEmailDeleted:secondaryEmailDeleted]; + } else if ([tag isEqualToString:@"secondary_email_verified"]) { + DBTEAMLOGSecondaryEmailVerifiedType *secondaryEmailVerified = + [DBTEAMLOGSecondaryEmailVerifiedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSecondaryEmailVerified:secondaryEmailVerified]; + } else if ([tag isEqualToString:@"secondary_mails_policy_changed"]) { + DBTEAMLOGSecondaryMailsPolicyChangedType *secondaryMailsPolicyChanged = + [DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSecondaryMailsPolicyChanged:secondaryMailsPolicyChanged]; + } else if ([tag isEqualToString:@"binder_add_page"]) { + DBTEAMLOGBinderAddPageType *binderAddPage = [DBTEAMLOGBinderAddPageTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderAddPage:binderAddPage]; + } else if ([tag isEqualToString:@"binder_add_section"]) { + DBTEAMLOGBinderAddSectionType *binderAddSection = [DBTEAMLOGBinderAddSectionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderAddSection:binderAddSection]; + } else if ([tag isEqualToString:@"binder_remove_page"]) { + DBTEAMLOGBinderRemovePageType *binderRemovePage = [DBTEAMLOGBinderRemovePageTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderRemovePage:binderRemovePage]; + } else if ([tag isEqualToString:@"binder_remove_section"]) { + DBTEAMLOGBinderRemoveSectionType *binderRemoveSection = + [DBTEAMLOGBinderRemoveSectionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderRemoveSection:binderRemoveSection]; + } else if ([tag isEqualToString:@"binder_rename_page"]) { + DBTEAMLOGBinderRenamePageType *binderRenamePage = [DBTEAMLOGBinderRenamePageTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderRenamePage:binderRenamePage]; + } else if ([tag isEqualToString:@"binder_rename_section"]) { + DBTEAMLOGBinderRenameSectionType *binderRenameSection = + [DBTEAMLOGBinderRenameSectionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderRenameSection:binderRenameSection]; + } else if ([tag isEqualToString:@"binder_reorder_page"]) { + DBTEAMLOGBinderReorderPageType *binderReorderPage = + [DBTEAMLOGBinderReorderPageTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderReorderPage:binderReorderPage]; + } else if ([tag isEqualToString:@"binder_reorder_section"]) { + DBTEAMLOGBinderReorderSectionType *binderReorderSection = + [DBTEAMLOGBinderReorderSectionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithBinderReorderSection:binderReorderSection]; + } else if ([tag isEqualToString:@"paper_content_add_member"]) { + DBTEAMLOGPaperContentAddMemberType *paperContentAddMember = + [DBTEAMLOGPaperContentAddMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentAddMember:paperContentAddMember]; + } else if ([tag isEqualToString:@"paper_content_add_to_folder"]) { + DBTEAMLOGPaperContentAddToFolderType *paperContentAddToFolder = + [DBTEAMLOGPaperContentAddToFolderTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentAddToFolder:paperContentAddToFolder]; + } else if ([tag isEqualToString:@"paper_content_archive"]) { + DBTEAMLOGPaperContentArchiveType *paperContentArchive = + [DBTEAMLOGPaperContentArchiveTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentArchive:paperContentArchive]; + } else if ([tag isEqualToString:@"paper_content_create"]) { + DBTEAMLOGPaperContentCreateType *paperContentCreate = + [DBTEAMLOGPaperContentCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentCreate:paperContentCreate]; + } else if ([tag isEqualToString:@"paper_content_permanently_delete"]) { + DBTEAMLOGPaperContentPermanentlyDeleteType *paperContentPermanentlyDelete = + [DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentPermanentlyDelete:paperContentPermanentlyDelete]; + } else if ([tag isEqualToString:@"paper_content_remove_from_folder"]) { + DBTEAMLOGPaperContentRemoveFromFolderType *paperContentRemoveFromFolder = + [DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentRemoveFromFolder:paperContentRemoveFromFolder]; + } else if ([tag isEqualToString:@"paper_content_remove_member"]) { + DBTEAMLOGPaperContentRemoveMemberType *paperContentRemoveMember = + [DBTEAMLOGPaperContentRemoveMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentRemoveMember:paperContentRemoveMember]; + } else if ([tag isEqualToString:@"paper_content_rename"]) { + DBTEAMLOGPaperContentRenameType *paperContentRename = + [DBTEAMLOGPaperContentRenameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentRename:paperContentRename]; + } else if ([tag isEqualToString:@"paper_content_restore"]) { + DBTEAMLOGPaperContentRestoreType *paperContentRestore = + [DBTEAMLOGPaperContentRestoreTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperContentRestore:paperContentRestore]; + } else if ([tag isEqualToString:@"paper_doc_add_comment"]) { + DBTEAMLOGPaperDocAddCommentType *paperDocAddComment = + [DBTEAMLOGPaperDocAddCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocAddComment:paperDocAddComment]; + } else if ([tag isEqualToString:@"paper_doc_change_member_role"]) { + DBTEAMLOGPaperDocChangeMemberRoleType *paperDocChangeMemberRole = + [DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeMemberRole:paperDocChangeMemberRole]; + } else if ([tag isEqualToString:@"paper_doc_change_sharing_policy"]) { + DBTEAMLOGPaperDocChangeSharingPolicyType *paperDocChangeSharingPolicy = + [DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeSharingPolicy:paperDocChangeSharingPolicy]; + } else if ([tag isEqualToString:@"paper_doc_change_subscription"]) { + DBTEAMLOGPaperDocChangeSubscriptionType *paperDocChangeSubscription = + [DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeSubscription:paperDocChangeSubscription]; + } else if ([tag isEqualToString:@"paper_doc_deleted"]) { + DBTEAMLOGPaperDocDeletedType *paperDocDeleted = [DBTEAMLOGPaperDocDeletedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocDeleted:paperDocDeleted]; + } else if ([tag isEqualToString:@"paper_doc_delete_comment"]) { + DBTEAMLOGPaperDocDeleteCommentType *paperDocDeleteComment = + [DBTEAMLOGPaperDocDeleteCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocDeleteComment:paperDocDeleteComment]; + } else if ([tag isEqualToString:@"paper_doc_download"]) { + DBTEAMLOGPaperDocDownloadType *paperDocDownload = [DBTEAMLOGPaperDocDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocDownload:paperDocDownload]; + } else if ([tag isEqualToString:@"paper_doc_edit"]) { + DBTEAMLOGPaperDocEditType *paperDocEdit = [DBTEAMLOGPaperDocEditTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocEdit:paperDocEdit]; + } else if ([tag isEqualToString:@"paper_doc_edit_comment"]) { + DBTEAMLOGPaperDocEditCommentType *paperDocEditComment = + [DBTEAMLOGPaperDocEditCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocEditComment:paperDocEditComment]; + } else if ([tag isEqualToString:@"paper_doc_followed"]) { + DBTEAMLOGPaperDocFollowedType *paperDocFollowed = [DBTEAMLOGPaperDocFollowedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocFollowed:paperDocFollowed]; + } else if ([tag isEqualToString:@"paper_doc_mention"]) { + DBTEAMLOGPaperDocMentionType *paperDocMention = [DBTEAMLOGPaperDocMentionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocMention:paperDocMention]; + } else if ([tag isEqualToString:@"paper_doc_ownership_changed"]) { + DBTEAMLOGPaperDocOwnershipChangedType *paperDocOwnershipChanged = + [DBTEAMLOGPaperDocOwnershipChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocOwnershipChanged:paperDocOwnershipChanged]; + } else if ([tag isEqualToString:@"paper_doc_request_access"]) { + DBTEAMLOGPaperDocRequestAccessType *paperDocRequestAccess = + [DBTEAMLOGPaperDocRequestAccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocRequestAccess:paperDocRequestAccess]; + } else if ([tag isEqualToString:@"paper_doc_resolve_comment"]) { + DBTEAMLOGPaperDocResolveCommentType *paperDocResolveComment = + [DBTEAMLOGPaperDocResolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocResolveComment:paperDocResolveComment]; + } else if ([tag isEqualToString:@"paper_doc_revert"]) { + DBTEAMLOGPaperDocRevertType *paperDocRevert = [DBTEAMLOGPaperDocRevertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocRevert:paperDocRevert]; + } else if ([tag isEqualToString:@"paper_doc_slack_share"]) { + DBTEAMLOGPaperDocSlackShareType *paperDocSlackShare = + [DBTEAMLOGPaperDocSlackShareTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocSlackShare:paperDocSlackShare]; + } else if ([tag isEqualToString:@"paper_doc_team_invite"]) { + DBTEAMLOGPaperDocTeamInviteType *paperDocTeamInvite = + [DBTEAMLOGPaperDocTeamInviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocTeamInvite:paperDocTeamInvite]; + } else if ([tag isEqualToString:@"paper_doc_trashed"]) { + DBTEAMLOGPaperDocTrashedType *paperDocTrashed = [DBTEAMLOGPaperDocTrashedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocTrashed:paperDocTrashed]; + } else if ([tag isEqualToString:@"paper_doc_unresolve_comment"]) { + DBTEAMLOGPaperDocUnresolveCommentType *paperDocUnresolveComment = + [DBTEAMLOGPaperDocUnresolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocUnresolveComment:paperDocUnresolveComment]; + } else if ([tag isEqualToString:@"paper_doc_untrashed"]) { + DBTEAMLOGPaperDocUntrashedType *paperDocUntrashed = + [DBTEAMLOGPaperDocUntrashedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocUntrashed:paperDocUntrashed]; + } else if ([tag isEqualToString:@"paper_doc_view"]) { + DBTEAMLOGPaperDocViewType *paperDocView = [DBTEAMLOGPaperDocViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDocView:paperDocView]; + } else if ([tag isEqualToString:@"paper_external_view_allow"]) { + DBTEAMLOGPaperExternalViewAllowType *paperExternalViewAllow = + [DBTEAMLOGPaperExternalViewAllowTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewAllow:paperExternalViewAllow]; + } else if ([tag isEqualToString:@"paper_external_view_default_team"]) { + DBTEAMLOGPaperExternalViewDefaultTeamType *paperExternalViewDefaultTeam = + [DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewDefaultTeam:paperExternalViewDefaultTeam]; + } else if ([tag isEqualToString:@"paper_external_view_forbid"]) { + DBTEAMLOGPaperExternalViewForbidType *paperExternalViewForbid = + [DBTEAMLOGPaperExternalViewForbidTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewForbid:paperExternalViewForbid]; + } else if ([tag isEqualToString:@"paper_folder_change_subscription"]) { + DBTEAMLOGPaperFolderChangeSubscriptionType *paperFolderChangeSubscription = + [DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperFolderChangeSubscription:paperFolderChangeSubscription]; + } else if ([tag isEqualToString:@"paper_folder_deleted"]) { + DBTEAMLOGPaperFolderDeletedType *paperFolderDeleted = + [DBTEAMLOGPaperFolderDeletedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperFolderDeleted:paperFolderDeleted]; + } else if ([tag isEqualToString:@"paper_folder_followed"]) { + DBTEAMLOGPaperFolderFollowedType *paperFolderFollowed = + [DBTEAMLOGPaperFolderFollowedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperFolderFollowed:paperFolderFollowed]; + } else if ([tag isEqualToString:@"paper_folder_team_invite"]) { + DBTEAMLOGPaperFolderTeamInviteType *paperFolderTeamInvite = + [DBTEAMLOGPaperFolderTeamInviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperFolderTeamInvite:paperFolderTeamInvite]; + } else if ([tag isEqualToString:@"paper_published_link_change_permission"]) { + DBTEAMLOGPaperPublishedLinkChangePermissionType *paperPublishedLinkChangePermission = + [DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperPublishedLinkChangePermission:paperPublishedLinkChangePermission]; + } else if ([tag isEqualToString:@"paper_published_link_create"]) { + DBTEAMLOGPaperPublishedLinkCreateType *paperPublishedLinkCreate = + [DBTEAMLOGPaperPublishedLinkCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperPublishedLinkCreate:paperPublishedLinkCreate]; + } else if ([tag isEqualToString:@"paper_published_link_disabled"]) { + DBTEAMLOGPaperPublishedLinkDisabledType *paperPublishedLinkDisabled = + [DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperPublishedLinkDisabled:paperPublishedLinkDisabled]; + } else if ([tag isEqualToString:@"paper_published_link_view"]) { + DBTEAMLOGPaperPublishedLinkViewType *paperPublishedLinkView = + [DBTEAMLOGPaperPublishedLinkViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperPublishedLinkView:paperPublishedLinkView]; + } else if ([tag isEqualToString:@"password_change"]) { + DBTEAMLOGPasswordChangeType *passwordChange = [DBTEAMLOGPasswordChangeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPasswordChange:passwordChange]; + } else if ([tag isEqualToString:@"password_reset"]) { + DBTEAMLOGPasswordResetType *passwordReset = [DBTEAMLOGPasswordResetTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPasswordReset:passwordReset]; + } else if ([tag isEqualToString:@"password_reset_all"]) { + DBTEAMLOGPasswordResetAllType *passwordResetAll = [DBTEAMLOGPasswordResetAllTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPasswordResetAll:passwordResetAll]; + } else if ([tag isEqualToString:@"classification_create_report"]) { + DBTEAMLOGClassificationCreateReportType *classificationCreateReport = + [DBTEAMLOGClassificationCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithClassificationCreateReport:classificationCreateReport]; + } else if ([tag isEqualToString:@"classification_create_report_fail"]) { + DBTEAMLOGClassificationCreateReportFailType *classificationCreateReportFail = + [DBTEAMLOGClassificationCreateReportFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithClassificationCreateReportFail:classificationCreateReportFail]; + } else if ([tag isEqualToString:@"emm_create_exceptions_report"]) { + DBTEAMLOGEmmCreateExceptionsReportType *emmCreateExceptionsReport = + [DBTEAMLOGEmmCreateExceptionsReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmCreateExceptionsReport:emmCreateExceptionsReport]; + } else if ([tag isEqualToString:@"emm_create_usage_report"]) { + DBTEAMLOGEmmCreateUsageReportType *emmCreateUsageReport = + [DBTEAMLOGEmmCreateUsageReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmCreateUsageReport:emmCreateUsageReport]; + } else if ([tag isEqualToString:@"export_members_report"]) { + DBTEAMLOGExportMembersReportType *exportMembersReport = + [DBTEAMLOGExportMembersReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExportMembersReport:exportMembersReport]; + } else if ([tag isEqualToString:@"export_members_report_fail"]) { + DBTEAMLOGExportMembersReportFailType *exportMembersReportFail = + [DBTEAMLOGExportMembersReportFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExportMembersReportFail:exportMembersReportFail]; + } else if ([tag isEqualToString:@"external_sharing_create_report"]) { + DBTEAMLOGExternalSharingCreateReportType *externalSharingCreateReport = + [DBTEAMLOGExternalSharingCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExternalSharingCreateReport:externalSharingCreateReport]; + } else if ([tag isEqualToString:@"external_sharing_report_failed"]) { + DBTEAMLOGExternalSharingReportFailedType *externalSharingReportFailed = + [DBTEAMLOGExternalSharingReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExternalSharingReportFailed:externalSharingReportFailed]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_create_report"]) { + DBTEAMLOGNoExpirationLinkGenCreateReportType *noExpirationLinkGenCreateReport = + [DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoExpirationLinkGenCreateReport:noExpirationLinkGenCreateReport]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_report_failed"]) { + DBTEAMLOGNoExpirationLinkGenReportFailedType *noExpirationLinkGenReportFailed = + [DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoExpirationLinkGenReportFailed:noExpirationLinkGenReportFailed]; + } else if ([tag isEqualToString:@"no_password_link_gen_create_report"]) { + DBTEAMLOGNoPasswordLinkGenCreateReportType *noPasswordLinkGenCreateReport = + [DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoPasswordLinkGenCreateReport:noPasswordLinkGenCreateReport]; + } else if ([tag isEqualToString:@"no_password_link_gen_report_failed"]) { + DBTEAMLOGNoPasswordLinkGenReportFailedType *noPasswordLinkGenReportFailed = + [DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoPasswordLinkGenReportFailed:noPasswordLinkGenReportFailed]; + } else if ([tag isEqualToString:@"no_password_link_view_create_report"]) { + DBTEAMLOGNoPasswordLinkViewCreateReportType *noPasswordLinkViewCreateReport = + [DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoPasswordLinkViewCreateReport:noPasswordLinkViewCreateReport]; + } else if ([tag isEqualToString:@"no_password_link_view_report_failed"]) { + DBTEAMLOGNoPasswordLinkViewReportFailedType *noPasswordLinkViewReportFailed = + [DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoPasswordLinkViewReportFailed:noPasswordLinkViewReportFailed]; + } else if ([tag isEqualToString:@"outdated_link_view_create_report"]) { + DBTEAMLOGOutdatedLinkViewCreateReportType *outdatedLinkViewCreateReport = + [DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithOutdatedLinkViewCreateReport:outdatedLinkViewCreateReport]; + } else if ([tag isEqualToString:@"outdated_link_view_report_failed"]) { + DBTEAMLOGOutdatedLinkViewReportFailedType *outdatedLinkViewReportFailed = + [DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithOutdatedLinkViewReportFailed:outdatedLinkViewReportFailed]; + } else if ([tag isEqualToString:@"paper_admin_export_start"]) { + DBTEAMLOGPaperAdminExportStartType *paperAdminExportStart = + [DBTEAMLOGPaperAdminExportStartTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperAdminExportStart:paperAdminExportStart]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report"]) { + DBTEAMLOGRansomwareAlertCreateReportType *ransomwareAlertCreateReport = + [DBTEAMLOGRansomwareAlertCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRansomwareAlertCreateReport:ransomwareAlertCreateReport]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report_failed"]) { + DBTEAMLOGRansomwareAlertCreateReportFailedType *ransomwareAlertCreateReportFailed = + [DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRansomwareAlertCreateReportFailed:ransomwareAlertCreateReportFailed]; + } else if ([tag isEqualToString:@"smart_sync_create_admin_privilege_report"]) { + DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *smartSyncCreateAdminPrivilegeReport = + [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSmartSyncCreateAdminPrivilegeReport:smartSyncCreateAdminPrivilegeReport]; + } else if ([tag isEqualToString:@"team_activity_create_report"]) { + DBTEAMLOGTeamActivityCreateReportType *teamActivityCreateReport = + [DBTEAMLOGTeamActivityCreateReportTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamActivityCreateReport:teamActivityCreateReport]; + } else if ([tag isEqualToString:@"team_activity_create_report_fail"]) { + DBTEAMLOGTeamActivityCreateReportFailType *teamActivityCreateReportFail = + [DBTEAMLOGTeamActivityCreateReportFailTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamActivityCreateReportFail:teamActivityCreateReportFail]; + } else if ([tag isEqualToString:@"collection_share"]) { + DBTEAMLOGCollectionShareType *collectionShare = [DBTEAMLOGCollectionShareTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithCollectionShare:collectionShare]; + } else if ([tag isEqualToString:@"file_transfers_file_add"]) { + DBTEAMLOGFileTransfersFileAddType *fileTransfersFileAdd = + [DBTEAMLOGFileTransfersFileAddTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersFileAdd:fileTransfersFileAdd]; + } else if ([tag isEqualToString:@"file_transfers_transfer_delete"]) { + DBTEAMLOGFileTransfersTransferDeleteType *fileTransfersTransferDelete = + [DBTEAMLOGFileTransfersTransferDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersTransferDelete:fileTransfersTransferDelete]; + } else if ([tag isEqualToString:@"file_transfers_transfer_download"]) { + DBTEAMLOGFileTransfersTransferDownloadType *fileTransfersTransferDownload = + [DBTEAMLOGFileTransfersTransferDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersTransferDownload:fileTransfersTransferDownload]; + } else if ([tag isEqualToString:@"file_transfers_transfer_send"]) { + DBTEAMLOGFileTransfersTransferSendType *fileTransfersTransferSend = + [DBTEAMLOGFileTransfersTransferSendTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersTransferSend:fileTransfersTransferSend]; + } else if ([tag isEqualToString:@"file_transfers_transfer_view"]) { + DBTEAMLOGFileTransfersTransferViewType *fileTransfersTransferView = + [DBTEAMLOGFileTransfersTransferViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersTransferView:fileTransfersTransferView]; + } else if ([tag isEqualToString:@"note_acl_invite_only"]) { + DBTEAMLOGNoteAclInviteOnlyType *noteAclInviteOnly = + [DBTEAMLOGNoteAclInviteOnlyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoteAclInviteOnly:noteAclInviteOnly]; + } else if ([tag isEqualToString:@"note_acl_link"]) { + DBTEAMLOGNoteAclLinkType *noteAclLink = [DBTEAMLOGNoteAclLinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoteAclLink:noteAclLink]; + } else if ([tag isEqualToString:@"note_acl_team_link"]) { + DBTEAMLOGNoteAclTeamLinkType *noteAclTeamLink = [DBTEAMLOGNoteAclTeamLinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoteAclTeamLink:noteAclTeamLink]; + } else if ([tag isEqualToString:@"note_shared"]) { + DBTEAMLOGNoteSharedType *noteShared = [DBTEAMLOGNoteSharedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoteShared:noteShared]; + } else if ([tag isEqualToString:@"note_share_receive"]) { + DBTEAMLOGNoteShareReceiveType *noteShareReceive = [DBTEAMLOGNoteShareReceiveTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNoteShareReceive:noteShareReceive]; + } else if ([tag isEqualToString:@"open_note_shared"]) { + DBTEAMLOGOpenNoteSharedType *openNoteShared = [DBTEAMLOGOpenNoteSharedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithOpenNoteShared:openNoteShared]; + } else if ([tag isEqualToString:@"replay_file_shared_link_created"]) { + DBTEAMLOGReplayFileSharedLinkCreatedType *replayFileSharedLinkCreated = + [DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithReplayFileSharedLinkCreated:replayFileSharedLinkCreated]; + } else if ([tag isEqualToString:@"replay_file_shared_link_modified"]) { + DBTEAMLOGReplayFileSharedLinkModifiedType *replayFileSharedLinkModified = + [DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithReplayFileSharedLinkModified:replayFileSharedLinkModified]; + } else if ([tag isEqualToString:@"replay_project_team_add"]) { + DBTEAMLOGReplayProjectTeamAddType *replayProjectTeamAdd = + [DBTEAMLOGReplayProjectTeamAddTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithReplayProjectTeamAdd:replayProjectTeamAdd]; + } else if ([tag isEqualToString:@"replay_project_team_delete"]) { + DBTEAMLOGReplayProjectTeamDeleteType *replayProjectTeamDelete = + [DBTEAMLOGReplayProjectTeamDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithReplayProjectTeamDelete:replayProjectTeamDelete]; + } else if ([tag isEqualToString:@"sf_add_group"]) { + DBTEAMLOGSfAddGroupType *sfAddGroup = [DBTEAMLOGSfAddGroupTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfAddGroup:sfAddGroup]; + } else if ([tag isEqualToString:@"sf_allow_non_members_to_view_shared_links"]) { + DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *sfAllowNonMembersToViewSharedLinks = + [DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfAllowNonMembersToViewSharedLinks:sfAllowNonMembersToViewSharedLinks]; + } else if ([tag isEqualToString:@"sf_external_invite_warn"]) { + DBTEAMLOGSfExternalInviteWarnType *sfExternalInviteWarn = + [DBTEAMLOGSfExternalInviteWarnTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfExternalInviteWarn:sfExternalInviteWarn]; + } else if ([tag isEqualToString:@"sf_fb_invite"]) { + DBTEAMLOGSfFbInviteType *sfFbInvite = [DBTEAMLOGSfFbInviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfFbInvite:sfFbInvite]; + } else if ([tag isEqualToString:@"sf_fb_invite_change_role"]) { + DBTEAMLOGSfFbInviteChangeRoleType *sfFbInviteChangeRole = + [DBTEAMLOGSfFbInviteChangeRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfFbInviteChangeRole:sfFbInviteChangeRole]; + } else if ([tag isEqualToString:@"sf_fb_uninvite"]) { + DBTEAMLOGSfFbUninviteType *sfFbUninvite = [DBTEAMLOGSfFbUninviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfFbUninvite:sfFbUninvite]; + } else if ([tag isEqualToString:@"sf_invite_group"]) { + DBTEAMLOGSfInviteGroupType *sfInviteGroup = [DBTEAMLOGSfInviteGroupTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfInviteGroup:sfInviteGroup]; + } else if ([tag isEqualToString:@"sf_team_grant_access"]) { + DBTEAMLOGSfTeamGrantAccessType *sfTeamGrantAccess = + [DBTEAMLOGSfTeamGrantAccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamGrantAccess:sfTeamGrantAccess]; + } else if ([tag isEqualToString:@"sf_team_invite"]) { + DBTEAMLOGSfTeamInviteType *sfTeamInvite = [DBTEAMLOGSfTeamInviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamInvite:sfTeamInvite]; + } else if ([tag isEqualToString:@"sf_team_invite_change_role"]) { + DBTEAMLOGSfTeamInviteChangeRoleType *sfTeamInviteChangeRole = + [DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamInviteChangeRole:sfTeamInviteChangeRole]; + } else if ([tag isEqualToString:@"sf_team_join"]) { + DBTEAMLOGSfTeamJoinType *sfTeamJoin = [DBTEAMLOGSfTeamJoinTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamJoin:sfTeamJoin]; + } else if ([tag isEqualToString:@"sf_team_join_from_oob_link"]) { + DBTEAMLOGSfTeamJoinFromOobLinkType *sfTeamJoinFromOobLink = + [DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamJoinFromOobLink:sfTeamJoinFromOobLink]; + } else if ([tag isEqualToString:@"sf_team_uninvite"]) { + DBTEAMLOGSfTeamUninviteType *sfTeamUninvite = [DBTEAMLOGSfTeamUninviteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSfTeamUninvite:sfTeamUninvite]; + } else if ([tag isEqualToString:@"shared_content_add_invitees"]) { + DBTEAMLOGSharedContentAddInviteesType *sharedContentAddInvitees = + [DBTEAMLOGSharedContentAddInviteesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentAddInvitees:sharedContentAddInvitees]; + } else if ([tag isEqualToString:@"shared_content_add_link_expiry"]) { + DBTEAMLOGSharedContentAddLinkExpiryType *sharedContentAddLinkExpiry = + [DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentAddLinkExpiry:sharedContentAddLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_add_link_password"]) { + DBTEAMLOGSharedContentAddLinkPasswordType *sharedContentAddLinkPassword = + [DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentAddLinkPassword:sharedContentAddLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_add_member"]) { + DBTEAMLOGSharedContentAddMemberType *sharedContentAddMember = + [DBTEAMLOGSharedContentAddMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentAddMember:sharedContentAddMember]; + } else if ([tag isEqualToString:@"shared_content_change_downloads_policy"]) { + DBTEAMLOGSharedContentChangeDownloadsPolicyType *sharedContentChangeDownloadsPolicy = + [DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeDownloadsPolicy:sharedContentChangeDownloadsPolicy]; + } else if ([tag isEqualToString:@"shared_content_change_invitee_role"]) { + DBTEAMLOGSharedContentChangeInviteeRoleType *sharedContentChangeInviteeRole = + [DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeInviteeRole:sharedContentChangeInviteeRole]; + } else if ([tag isEqualToString:@"shared_content_change_link_audience"]) { + DBTEAMLOGSharedContentChangeLinkAudienceType *sharedContentChangeLinkAudience = + [DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkAudience:sharedContentChangeLinkAudience]; + } else if ([tag isEqualToString:@"shared_content_change_link_expiry"]) { + DBTEAMLOGSharedContentChangeLinkExpiryType *sharedContentChangeLinkExpiry = + [DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkExpiry:sharedContentChangeLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_change_link_password"]) { + DBTEAMLOGSharedContentChangeLinkPasswordType *sharedContentChangeLinkPassword = + [DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkPassword:sharedContentChangeLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_change_member_role"]) { + DBTEAMLOGSharedContentChangeMemberRoleType *sharedContentChangeMemberRole = + [DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeMemberRole:sharedContentChangeMemberRole]; + } else if ([tag isEqualToString:@"shared_content_change_viewer_info_policy"]) { + DBTEAMLOGSharedContentChangeViewerInfoPolicyType *sharedContentChangeViewerInfoPolicy = + [DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeViewerInfoPolicy:sharedContentChangeViewerInfoPolicy]; + } else if ([tag isEqualToString:@"shared_content_claim_invitation"]) { + DBTEAMLOGSharedContentClaimInvitationType *sharedContentClaimInvitation = + [DBTEAMLOGSharedContentClaimInvitationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentClaimInvitation:sharedContentClaimInvitation]; + } else if ([tag isEqualToString:@"shared_content_copy"]) { + DBTEAMLOGSharedContentCopyType *sharedContentCopy = + [DBTEAMLOGSharedContentCopyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentCopy:sharedContentCopy]; + } else if ([tag isEqualToString:@"shared_content_download"]) { + DBTEAMLOGSharedContentDownloadType *sharedContentDownload = + [DBTEAMLOGSharedContentDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentDownload:sharedContentDownload]; + } else if ([tag isEqualToString:@"shared_content_relinquish_membership"]) { + DBTEAMLOGSharedContentRelinquishMembershipType *sharedContentRelinquishMembership = + [DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRelinquishMembership:sharedContentRelinquishMembership]; + } else if ([tag isEqualToString:@"shared_content_remove_invitees"]) { + DBTEAMLOGSharedContentRemoveInviteesType *sharedContentRemoveInvitees = + [DBTEAMLOGSharedContentRemoveInviteesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveInvitees:sharedContentRemoveInvitees]; + } else if ([tag isEqualToString:@"shared_content_remove_link_expiry"]) { + DBTEAMLOGSharedContentRemoveLinkExpiryType *sharedContentRemoveLinkExpiry = + [DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveLinkExpiry:sharedContentRemoveLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_remove_link_password"]) { + DBTEAMLOGSharedContentRemoveLinkPasswordType *sharedContentRemoveLinkPassword = + [DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveLinkPassword:sharedContentRemoveLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_remove_member"]) { + DBTEAMLOGSharedContentRemoveMemberType *sharedContentRemoveMember = + [DBTEAMLOGSharedContentRemoveMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveMember:sharedContentRemoveMember]; + } else if ([tag isEqualToString:@"shared_content_request_access"]) { + DBTEAMLOGSharedContentRequestAccessType *sharedContentRequestAccess = + [DBTEAMLOGSharedContentRequestAccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRequestAccess:sharedContentRequestAccess]; + } else if ([tag isEqualToString:@"shared_content_restore_invitees"]) { + DBTEAMLOGSharedContentRestoreInviteesType *sharedContentRestoreInvitees = + [DBTEAMLOGSharedContentRestoreInviteesTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRestoreInvitees:sharedContentRestoreInvitees]; + } else if ([tag isEqualToString:@"shared_content_restore_member"]) { + DBTEAMLOGSharedContentRestoreMemberType *sharedContentRestoreMember = + [DBTEAMLOGSharedContentRestoreMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentRestoreMember:sharedContentRestoreMember]; + } else if ([tag isEqualToString:@"shared_content_unshare"]) { + DBTEAMLOGSharedContentUnshareType *sharedContentUnshare = + [DBTEAMLOGSharedContentUnshareTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentUnshare:sharedContentUnshare]; + } else if ([tag isEqualToString:@"shared_content_view"]) { + DBTEAMLOGSharedContentViewType *sharedContentView = + [DBTEAMLOGSharedContentViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedContentView:sharedContentView]; + } else if ([tag isEqualToString:@"shared_folder_change_link_policy"]) { + DBTEAMLOGSharedFolderChangeLinkPolicyType *sharedFolderChangeLinkPolicy = + [DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeLinkPolicy:sharedFolderChangeLinkPolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_inheritance_policy"]) { + DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *sharedFolderChangeMembersInheritancePolicy = + [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharedFolderChangeMembersInheritancePolicy:sharedFolderChangeMembersInheritancePolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_management_policy"]) { + DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *sharedFolderChangeMembersManagementPolicy = + [DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharedFolderChangeMembersManagementPolicy:sharedFolderChangeMembersManagementPolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_policy"]) { + DBTEAMLOGSharedFolderChangeMembersPolicyType *sharedFolderChangeMembersPolicy = + [DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeMembersPolicy:sharedFolderChangeMembersPolicy]; + } else if ([tag isEqualToString:@"shared_folder_create"]) { + DBTEAMLOGSharedFolderCreateType *sharedFolderCreate = + [DBTEAMLOGSharedFolderCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderCreate:sharedFolderCreate]; + } else if ([tag isEqualToString:@"shared_folder_decline_invitation"]) { + DBTEAMLOGSharedFolderDeclineInvitationType *sharedFolderDeclineInvitation = + [DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderDeclineInvitation:sharedFolderDeclineInvitation]; + } else if ([tag isEqualToString:@"shared_folder_mount"]) { + DBTEAMLOGSharedFolderMountType *sharedFolderMount = + [DBTEAMLOGSharedFolderMountTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderMount:sharedFolderMount]; + } else if ([tag isEqualToString:@"shared_folder_nest"]) { + DBTEAMLOGSharedFolderNestType *sharedFolderNest = [DBTEAMLOGSharedFolderNestTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderNest:sharedFolderNest]; + } else if ([tag isEqualToString:@"shared_folder_transfer_ownership"]) { + DBTEAMLOGSharedFolderTransferOwnershipType *sharedFolderTransferOwnership = + [DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderTransferOwnership:sharedFolderTransferOwnership]; + } else if ([tag isEqualToString:@"shared_folder_unmount"]) { + DBTEAMLOGSharedFolderUnmountType *sharedFolderUnmount = + [DBTEAMLOGSharedFolderUnmountTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedFolderUnmount:sharedFolderUnmount]; + } else if ([tag isEqualToString:@"shared_link_add_expiry"]) { + DBTEAMLOGSharedLinkAddExpiryType *sharedLinkAddExpiry = + [DBTEAMLOGSharedLinkAddExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkAddExpiry:sharedLinkAddExpiry]; + } else if ([tag isEqualToString:@"shared_link_change_expiry"]) { + DBTEAMLOGSharedLinkChangeExpiryType *sharedLinkChangeExpiry = + [DBTEAMLOGSharedLinkChangeExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkChangeExpiry:sharedLinkChangeExpiry]; + } else if ([tag isEqualToString:@"shared_link_change_visibility"]) { + DBTEAMLOGSharedLinkChangeVisibilityType *sharedLinkChangeVisibility = + [DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkChangeVisibility:sharedLinkChangeVisibility]; + } else if ([tag isEqualToString:@"shared_link_copy"]) { + DBTEAMLOGSharedLinkCopyType *sharedLinkCopy = [DBTEAMLOGSharedLinkCopyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkCopy:sharedLinkCopy]; + } else if ([tag isEqualToString:@"shared_link_create"]) { + DBTEAMLOGSharedLinkCreateType *sharedLinkCreate = [DBTEAMLOGSharedLinkCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkCreate:sharedLinkCreate]; + } else if ([tag isEqualToString:@"shared_link_disable"]) { + DBTEAMLOGSharedLinkDisableType *sharedLinkDisable = + [DBTEAMLOGSharedLinkDisableTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkDisable:sharedLinkDisable]; + } else if ([tag isEqualToString:@"shared_link_download"]) { + DBTEAMLOGSharedLinkDownloadType *sharedLinkDownload = + [DBTEAMLOGSharedLinkDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkDownload:sharedLinkDownload]; + } else if ([tag isEqualToString:@"shared_link_remove_expiry"]) { + DBTEAMLOGSharedLinkRemoveExpiryType *sharedLinkRemoveExpiry = + [DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkRemoveExpiry:sharedLinkRemoveExpiry]; + } else if ([tag isEqualToString:@"shared_link_settings_add_expiration"]) { + DBTEAMLOGSharedLinkSettingsAddExpirationType *sharedLinkSettingsAddExpiration = + [DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsAddExpiration:sharedLinkSettingsAddExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_add_password"]) { + DBTEAMLOGSharedLinkSettingsAddPasswordType *sharedLinkSettingsAddPassword = + [DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsAddPassword:sharedLinkSettingsAddPassword]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_disabled"]) { + DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *sharedLinkSettingsAllowDownloadDisabled = + [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharedLinkSettingsAllowDownloadDisabled:sharedLinkSettingsAllowDownloadDisabled]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_enabled"]) { + DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *sharedLinkSettingsAllowDownloadEnabled = + [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharedLinkSettingsAllowDownloadEnabled:sharedLinkSettingsAllowDownloadEnabled]; + } else if ([tag isEqualToString:@"shared_link_settings_change_audience"]) { + DBTEAMLOGSharedLinkSettingsChangeAudienceType *sharedLinkSettingsChangeAudience = + [DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsChangeAudience:sharedLinkSettingsChangeAudience]; + } else if ([tag isEqualToString:@"shared_link_settings_change_expiration"]) { + DBTEAMLOGSharedLinkSettingsChangeExpirationType *sharedLinkSettingsChangeExpiration = + [DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsChangeExpiration:sharedLinkSettingsChangeExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_change_password"]) { + DBTEAMLOGSharedLinkSettingsChangePasswordType *sharedLinkSettingsChangePassword = + [DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsChangePassword:sharedLinkSettingsChangePassword]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_expiration"]) { + DBTEAMLOGSharedLinkSettingsRemoveExpirationType *sharedLinkSettingsRemoveExpiration = + [DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsRemoveExpiration:sharedLinkSettingsRemoveExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_password"]) { + DBTEAMLOGSharedLinkSettingsRemovePasswordType *sharedLinkSettingsRemovePassword = + [DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkSettingsRemovePassword:sharedLinkSettingsRemovePassword]; + } else if ([tag isEqualToString:@"shared_link_share"]) { + DBTEAMLOGSharedLinkShareType *sharedLinkShare = [DBTEAMLOGSharedLinkShareTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkShare:sharedLinkShare]; + } else if ([tag isEqualToString:@"shared_link_view"]) { + DBTEAMLOGSharedLinkViewType *sharedLinkView = [DBTEAMLOGSharedLinkViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedLinkView:sharedLinkView]; + } else if ([tag isEqualToString:@"shared_note_opened"]) { + DBTEAMLOGSharedNoteOpenedType *sharedNoteOpened = [DBTEAMLOGSharedNoteOpenedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharedNoteOpened:sharedNoteOpened]; + } else if ([tag isEqualToString:@"shmodel_disable_downloads"]) { + DBTEAMLOGShmodelDisableDownloadsType *shmodelDisableDownloads = + [DBTEAMLOGShmodelDisableDownloadsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShmodelDisableDownloads:shmodelDisableDownloads]; + } else if ([tag isEqualToString:@"shmodel_enable_downloads"]) { + DBTEAMLOGShmodelEnableDownloadsType *shmodelEnableDownloads = + [DBTEAMLOGShmodelEnableDownloadsTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShmodelEnableDownloads:shmodelEnableDownloads]; + } else if ([tag isEqualToString:@"shmodel_group_share"]) { + DBTEAMLOGShmodelGroupShareType *shmodelGroupShare = + [DBTEAMLOGShmodelGroupShareTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShmodelGroupShare:shmodelGroupShare]; + } else if ([tag isEqualToString:@"showcase_access_granted"]) { + DBTEAMLOGShowcaseAccessGrantedType *showcaseAccessGranted = + [DBTEAMLOGShowcaseAccessGrantedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseAccessGranted:showcaseAccessGranted]; + } else if ([tag isEqualToString:@"showcase_add_member"]) { + DBTEAMLOGShowcaseAddMemberType *showcaseAddMember = + [DBTEAMLOGShowcaseAddMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseAddMember:showcaseAddMember]; + } else if ([tag isEqualToString:@"showcase_archived"]) { + DBTEAMLOGShowcaseArchivedType *showcaseArchived = [DBTEAMLOGShowcaseArchivedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseArchived:showcaseArchived]; + } else if ([tag isEqualToString:@"showcase_created"]) { + DBTEAMLOGShowcaseCreatedType *showcaseCreated = [DBTEAMLOGShowcaseCreatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseCreated:showcaseCreated]; + } else if ([tag isEqualToString:@"showcase_delete_comment"]) { + DBTEAMLOGShowcaseDeleteCommentType *showcaseDeleteComment = + [DBTEAMLOGShowcaseDeleteCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseDeleteComment:showcaseDeleteComment]; + } else if ([tag isEqualToString:@"showcase_edited"]) { + DBTEAMLOGShowcaseEditedType *showcaseEdited = [DBTEAMLOGShowcaseEditedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseEdited:showcaseEdited]; + } else if ([tag isEqualToString:@"showcase_edit_comment"]) { + DBTEAMLOGShowcaseEditCommentType *showcaseEditComment = + [DBTEAMLOGShowcaseEditCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseEditComment:showcaseEditComment]; + } else if ([tag isEqualToString:@"showcase_file_added"]) { + DBTEAMLOGShowcaseFileAddedType *showcaseFileAdded = + [DBTEAMLOGShowcaseFileAddedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseFileAdded:showcaseFileAdded]; + } else if ([tag isEqualToString:@"showcase_file_download"]) { + DBTEAMLOGShowcaseFileDownloadType *showcaseFileDownload = + [DBTEAMLOGShowcaseFileDownloadTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseFileDownload:showcaseFileDownload]; + } else if ([tag isEqualToString:@"showcase_file_removed"]) { + DBTEAMLOGShowcaseFileRemovedType *showcaseFileRemoved = + [DBTEAMLOGShowcaseFileRemovedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseFileRemoved:showcaseFileRemoved]; + } else if ([tag isEqualToString:@"showcase_file_view"]) { + DBTEAMLOGShowcaseFileViewType *showcaseFileView = [DBTEAMLOGShowcaseFileViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseFileView:showcaseFileView]; + } else if ([tag isEqualToString:@"showcase_permanently_deleted"]) { + DBTEAMLOGShowcasePermanentlyDeletedType *showcasePermanentlyDeleted = + [DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcasePermanentlyDeleted:showcasePermanentlyDeleted]; + } else if ([tag isEqualToString:@"showcase_post_comment"]) { + DBTEAMLOGShowcasePostCommentType *showcasePostComment = + [DBTEAMLOGShowcasePostCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcasePostComment:showcasePostComment]; + } else if ([tag isEqualToString:@"showcase_remove_member"]) { + DBTEAMLOGShowcaseRemoveMemberType *showcaseRemoveMember = + [DBTEAMLOGShowcaseRemoveMemberTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseRemoveMember:showcaseRemoveMember]; + } else if ([tag isEqualToString:@"showcase_renamed"]) { + DBTEAMLOGShowcaseRenamedType *showcaseRenamed = [DBTEAMLOGShowcaseRenamedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseRenamed:showcaseRenamed]; + } else if ([tag isEqualToString:@"showcase_request_access"]) { + DBTEAMLOGShowcaseRequestAccessType *showcaseRequestAccess = + [DBTEAMLOGShowcaseRequestAccessTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseRequestAccess:showcaseRequestAccess]; + } else if ([tag isEqualToString:@"showcase_resolve_comment"]) { + DBTEAMLOGShowcaseResolveCommentType *showcaseResolveComment = + [DBTEAMLOGShowcaseResolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseResolveComment:showcaseResolveComment]; + } else if ([tag isEqualToString:@"showcase_restored"]) { + DBTEAMLOGShowcaseRestoredType *showcaseRestored = [DBTEAMLOGShowcaseRestoredTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseRestored:showcaseRestored]; + } else if ([tag isEqualToString:@"showcase_trashed"]) { + DBTEAMLOGShowcaseTrashedType *showcaseTrashed = [DBTEAMLOGShowcaseTrashedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseTrashed:showcaseTrashed]; + } else if ([tag isEqualToString:@"showcase_trashed_deprecated"]) { + DBTEAMLOGShowcaseTrashedDeprecatedType *showcaseTrashedDeprecated = + [DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseTrashedDeprecated:showcaseTrashedDeprecated]; + } else if ([tag isEqualToString:@"showcase_unresolve_comment"]) { + DBTEAMLOGShowcaseUnresolveCommentType *showcaseUnresolveComment = + [DBTEAMLOGShowcaseUnresolveCommentTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseUnresolveComment:showcaseUnresolveComment]; + } else if ([tag isEqualToString:@"showcase_untrashed"]) { + DBTEAMLOGShowcaseUntrashedType *showcaseUntrashed = + [DBTEAMLOGShowcaseUntrashedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseUntrashed:showcaseUntrashed]; + } else if ([tag isEqualToString:@"showcase_untrashed_deprecated"]) { + DBTEAMLOGShowcaseUntrashedDeprecatedType *showcaseUntrashedDeprecated = + [DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseUntrashedDeprecated:showcaseUntrashedDeprecated]; + } else if ([tag isEqualToString:@"showcase_view"]) { + DBTEAMLOGShowcaseViewType *showcaseView = [DBTEAMLOGShowcaseViewTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseView:showcaseView]; + } else if ([tag isEqualToString:@"sso_add_cert"]) { + DBTEAMLOGSsoAddCertType *ssoAddCert = [DBTEAMLOGSsoAddCertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoAddCert:ssoAddCert]; + } else if ([tag isEqualToString:@"sso_add_login_url"]) { + DBTEAMLOGSsoAddLoginUrlType *ssoAddLoginUrl = [DBTEAMLOGSsoAddLoginUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoAddLoginUrl:ssoAddLoginUrl]; + } else if ([tag isEqualToString:@"sso_add_logout_url"]) { + DBTEAMLOGSsoAddLogoutUrlType *ssoAddLogoutUrl = [DBTEAMLOGSsoAddLogoutUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoAddLogoutUrl:ssoAddLogoutUrl]; + } else if ([tag isEqualToString:@"sso_change_cert"]) { + DBTEAMLOGSsoChangeCertType *ssoChangeCert = [DBTEAMLOGSsoChangeCertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoChangeCert:ssoChangeCert]; + } else if ([tag isEqualToString:@"sso_change_login_url"]) { + DBTEAMLOGSsoChangeLoginUrlType *ssoChangeLoginUrl = + [DBTEAMLOGSsoChangeLoginUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoChangeLoginUrl:ssoChangeLoginUrl]; + } else if ([tag isEqualToString:@"sso_change_logout_url"]) { + DBTEAMLOGSsoChangeLogoutUrlType *ssoChangeLogoutUrl = + [DBTEAMLOGSsoChangeLogoutUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoChangeLogoutUrl:ssoChangeLogoutUrl]; + } else if ([tag isEqualToString:@"sso_change_saml_identity_mode"]) { + DBTEAMLOGSsoChangeSamlIdentityModeType *ssoChangeSamlIdentityMode = + [DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoChangeSamlIdentityMode:ssoChangeSamlIdentityMode]; + } else if ([tag isEqualToString:@"sso_remove_cert"]) { + DBTEAMLOGSsoRemoveCertType *ssoRemoveCert = [DBTEAMLOGSsoRemoveCertTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoRemoveCert:ssoRemoveCert]; + } else if ([tag isEqualToString:@"sso_remove_login_url"]) { + DBTEAMLOGSsoRemoveLoginUrlType *ssoRemoveLoginUrl = + [DBTEAMLOGSsoRemoveLoginUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoRemoveLoginUrl:ssoRemoveLoginUrl]; + } else if ([tag isEqualToString:@"sso_remove_logout_url"]) { + DBTEAMLOGSsoRemoveLogoutUrlType *ssoRemoveLogoutUrl = + [DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoRemoveLogoutUrl:ssoRemoveLogoutUrl]; + } else if ([tag isEqualToString:@"team_folder_change_status"]) { + DBTEAMLOGTeamFolderChangeStatusType *teamFolderChangeStatus = + [DBTEAMLOGTeamFolderChangeStatusTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamFolderChangeStatus:teamFolderChangeStatus]; + } else if ([tag isEqualToString:@"team_folder_create"]) { + DBTEAMLOGTeamFolderCreateType *teamFolderCreate = [DBTEAMLOGTeamFolderCreateTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamFolderCreate:teamFolderCreate]; + } else if ([tag isEqualToString:@"team_folder_downgrade"]) { + DBTEAMLOGTeamFolderDowngradeType *teamFolderDowngrade = + [DBTEAMLOGTeamFolderDowngradeTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamFolderDowngrade:teamFolderDowngrade]; + } else if ([tag isEqualToString:@"team_folder_permanently_delete"]) { + DBTEAMLOGTeamFolderPermanentlyDeleteType *teamFolderPermanentlyDelete = + [DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamFolderPermanentlyDelete:teamFolderPermanentlyDelete]; + } else if ([tag isEqualToString:@"team_folder_rename"]) { + DBTEAMLOGTeamFolderRenameType *teamFolderRename = [DBTEAMLOGTeamFolderRenameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamFolderRename:teamFolderRename]; + } else if ([tag isEqualToString:@"team_selective_sync_settings_changed"]) { + DBTEAMLOGTeamSelectiveSyncSettingsChangedType *teamSelectiveSyncSettingsChanged = + [DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamSelectiveSyncSettingsChanged:teamSelectiveSyncSettingsChanged]; + } else if ([tag isEqualToString:@"account_capture_change_policy"]) { + DBTEAMLOGAccountCaptureChangePolicyType *accountCaptureChangePolicy = + [DBTEAMLOGAccountCaptureChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAccountCaptureChangePolicy:accountCaptureChangePolicy]; + } else if ([tag isEqualToString:@"admin_email_reminders_changed"]) { + DBTEAMLOGAdminEmailRemindersChangedType *adminEmailRemindersChanged = + [DBTEAMLOGAdminEmailRemindersChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAdminEmailRemindersChanged:adminEmailRemindersChanged]; + } else if ([tag isEqualToString:@"allow_download_disabled"]) { + DBTEAMLOGAllowDownloadDisabledType *allowDownloadDisabled = + [DBTEAMLOGAllowDownloadDisabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAllowDownloadDisabled:allowDownloadDisabled]; + } else if ([tag isEqualToString:@"allow_download_enabled"]) { + DBTEAMLOGAllowDownloadEnabledType *allowDownloadEnabled = + [DBTEAMLOGAllowDownloadEnabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAllowDownloadEnabled:allowDownloadEnabled]; + } else if ([tag isEqualToString:@"app_permissions_changed"]) { + DBTEAMLOGAppPermissionsChangedType *appPermissionsChanged = + [DBTEAMLOGAppPermissionsChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithAppPermissionsChanged:appPermissionsChanged]; + } else if ([tag isEqualToString:@"camera_uploads_policy_changed"]) { + DBTEAMLOGCameraUploadsPolicyChangedType *cameraUploadsPolicyChanged = + [DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithCameraUploadsPolicyChanged:cameraUploadsPolicyChanged]; + } else if ([tag isEqualToString:@"capture_transcript_policy_changed"]) { + DBTEAMLOGCaptureTranscriptPolicyChangedType *captureTranscriptPolicyChanged = + [DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithCaptureTranscriptPolicyChanged:captureTranscriptPolicyChanged]; + } else if ([tag isEqualToString:@"classification_change_policy"]) { + DBTEAMLOGClassificationChangePolicyType *classificationChangePolicy = + [DBTEAMLOGClassificationChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithClassificationChangePolicy:classificationChangePolicy]; + } else if ([tag isEqualToString:@"computer_backup_policy_changed"]) { + DBTEAMLOGComputerBackupPolicyChangedType *computerBackupPolicyChanged = + [DBTEAMLOGComputerBackupPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithComputerBackupPolicyChanged:computerBackupPolicyChanged]; + } else if ([tag isEqualToString:@"content_administration_policy_changed"]) { + DBTEAMLOGContentAdministrationPolicyChangedType *contentAdministrationPolicyChanged = + [DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithContentAdministrationPolicyChanged:contentAdministrationPolicyChanged]; + } else if ([tag isEqualToString:@"data_placement_restriction_change_policy"]) { + DBTEAMLOGDataPlacementRestrictionChangePolicyType *dataPlacementRestrictionChangePolicy = + [DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventType alloc] initWithDataPlacementRestrictionChangePolicy:dataPlacementRestrictionChangePolicy]; + } else if ([tag isEqualToString:@"data_placement_restriction_satisfy_policy"]) { + DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *dataPlacementRestrictionSatisfyPolicy = + [DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDataPlacementRestrictionSatisfyPolicy:dataPlacementRestrictionSatisfyPolicy]; + } else if ([tag isEqualToString:@"device_approvals_add_exception"]) { + DBTEAMLOGDeviceApprovalsAddExceptionType *deviceApprovalsAddException = + [DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsAddException:deviceApprovalsAddException]; + } else if ([tag isEqualToString:@"device_approvals_change_desktop_policy"]) { + DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *deviceApprovalsChangeDesktopPolicy = + [DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeDesktopPolicy:deviceApprovalsChangeDesktopPolicy]; + } else if ([tag isEqualToString:@"device_approvals_change_mobile_policy"]) { + DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *deviceApprovalsChangeMobilePolicy = + [DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeMobilePolicy:deviceApprovalsChangeMobilePolicy]; + } else if ([tag isEqualToString:@"device_approvals_change_overage_action"]) { + DBTEAMLOGDeviceApprovalsChangeOverageActionType *deviceApprovalsChangeOverageAction = + [DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeOverageAction:deviceApprovalsChangeOverageAction]; + } else if ([tag isEqualToString:@"device_approvals_change_unlink_action"]) { + DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *deviceApprovalsChangeUnlinkAction = + [DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeUnlinkAction:deviceApprovalsChangeUnlinkAction]; + } else if ([tag isEqualToString:@"device_approvals_remove_exception"]) { + DBTEAMLOGDeviceApprovalsRemoveExceptionType *deviceApprovalsRemoveException = + [DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsRemoveException:deviceApprovalsRemoveException]; + } else if ([tag isEqualToString:@"directory_restrictions_add_members"]) { + DBTEAMLOGDirectoryRestrictionsAddMembersType *directoryRestrictionsAddMembers = + [DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDirectoryRestrictionsAddMembers:directoryRestrictionsAddMembers]; + } else if ([tag isEqualToString:@"directory_restrictions_remove_members"]) { + DBTEAMLOGDirectoryRestrictionsRemoveMembersType *directoryRestrictionsRemoveMembers = + [DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDirectoryRestrictionsRemoveMembers:directoryRestrictionsRemoveMembers]; + } else if ([tag isEqualToString:@"dropbox_passwords_policy_changed"]) { + DBTEAMLOGDropboxPasswordsPolicyChangedType *dropboxPasswordsPolicyChanged = + [DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithDropboxPasswordsPolicyChanged:dropboxPasswordsPolicyChanged]; + } else if ([tag isEqualToString:@"email_ingest_policy_changed"]) { + DBTEAMLOGEmailIngestPolicyChangedType *emailIngestPolicyChanged = + [DBTEAMLOGEmailIngestPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmailIngestPolicyChanged:emailIngestPolicyChanged]; + } else if ([tag isEqualToString:@"emm_add_exception"]) { + DBTEAMLOGEmmAddExceptionType *emmAddException = [DBTEAMLOGEmmAddExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmAddException:emmAddException]; + } else if ([tag isEqualToString:@"emm_change_policy"]) { + DBTEAMLOGEmmChangePolicyType *emmChangePolicy = [DBTEAMLOGEmmChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmChangePolicy:emmChangePolicy]; + } else if ([tag isEqualToString:@"emm_remove_exception"]) { + DBTEAMLOGEmmRemoveExceptionType *emmRemoveException = + [DBTEAMLOGEmmRemoveExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEmmRemoveException:emmRemoveException]; + } else if ([tag isEqualToString:@"extended_version_history_change_policy"]) { + DBTEAMLOGExtendedVersionHistoryChangePolicyType *extendedVersionHistoryChangePolicy = + [DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExtendedVersionHistoryChangePolicy:extendedVersionHistoryChangePolicy]; + } else if ([tag isEqualToString:@"external_drive_backup_policy_changed"]) { + DBTEAMLOGExternalDriveBackupPolicyChangedType *externalDriveBackupPolicyChanged = + [DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithExternalDriveBackupPolicyChanged:externalDriveBackupPolicyChanged]; + } else if ([tag isEqualToString:@"file_comments_change_policy"]) { + DBTEAMLOGFileCommentsChangePolicyType *fileCommentsChangePolicy = + [DBTEAMLOGFileCommentsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileCommentsChangePolicy:fileCommentsChangePolicy]; + } else if ([tag isEqualToString:@"file_locking_policy_changed"]) { + DBTEAMLOGFileLockingPolicyChangedType *fileLockingPolicyChanged = + [DBTEAMLOGFileLockingPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileLockingPolicyChanged:fileLockingPolicyChanged]; + } else if ([tag isEqualToString:@"file_provider_migration_policy_changed"]) { + DBTEAMLOGFileProviderMigrationPolicyChangedType *fileProviderMigrationPolicyChanged = + [DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileProviderMigrationPolicyChanged:fileProviderMigrationPolicyChanged]; + } else if ([tag isEqualToString:@"file_requests_change_policy"]) { + DBTEAMLOGFileRequestsChangePolicyType *fileRequestsChangePolicy = + [DBTEAMLOGFileRequestsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestsChangePolicy:fileRequestsChangePolicy]; + } else if ([tag isEqualToString:@"file_requests_emails_enabled"]) { + DBTEAMLOGFileRequestsEmailsEnabledType *fileRequestsEmailsEnabled = + [DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileRequestsEmailsEnabled:fileRequestsEmailsEnabled]; + } else if ([tag isEqualToString:@"file_requests_emails_restricted_to_team_only"]) { + DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *fileRequestsEmailsRestrictedToTeamOnly = + [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithFileRequestsEmailsRestrictedToTeamOnly:fileRequestsEmailsRestrictedToTeamOnly]; + } else if ([tag isEqualToString:@"file_transfers_policy_changed"]) { + DBTEAMLOGFileTransfersPolicyChangedType *fileTransfersPolicyChanged = + [DBTEAMLOGFileTransfersPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFileTransfersPolicyChanged:fileTransfersPolicyChanged]; + } else if ([tag isEqualToString:@"folder_link_restriction_policy_changed"]) { + DBTEAMLOGFolderLinkRestrictionPolicyChangedType *folderLinkRestrictionPolicyChanged = + [DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithFolderLinkRestrictionPolicyChanged:folderLinkRestrictionPolicyChanged]; + } else if ([tag isEqualToString:@"google_sso_change_policy"]) { + DBTEAMLOGGoogleSsoChangePolicyType *googleSsoChangePolicy = + [DBTEAMLOGGoogleSsoChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGoogleSsoChangePolicy:googleSsoChangePolicy]; + } else if ([tag isEqualToString:@"group_user_management_change_policy"]) { + DBTEAMLOGGroupUserManagementChangePolicyType *groupUserManagementChangePolicy = + [DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGroupUserManagementChangePolicy:groupUserManagementChangePolicy]; + } else if ([tag isEqualToString:@"integration_policy_changed"]) { + DBTEAMLOGIntegrationPolicyChangedType *integrationPolicyChanged = + [DBTEAMLOGIntegrationPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithIntegrationPolicyChanged:integrationPolicyChanged]; + } else if ([tag isEqualToString:@"invite_acceptance_email_policy_changed"]) { + DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *inviteAcceptanceEmailPolicyChanged = + [DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithInviteAcceptanceEmailPolicyChanged:inviteAcceptanceEmailPolicyChanged]; + } else if ([tag isEqualToString:@"member_requests_change_policy"]) { + DBTEAMLOGMemberRequestsChangePolicyType *memberRequestsChangePolicy = + [DBTEAMLOGMemberRequestsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberRequestsChangePolicy:memberRequestsChangePolicy]; + } else if ([tag isEqualToString:@"member_send_invite_policy_changed"]) { + DBTEAMLOGMemberSendInvitePolicyChangedType *memberSendInvitePolicyChanged = + [DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSendInvitePolicyChanged:memberSendInvitePolicyChanged]; + } else if ([tag isEqualToString:@"member_space_limits_add_exception"]) { + DBTEAMLOGMemberSpaceLimitsAddExceptionType *memberSpaceLimitsAddException = + [DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsAddException:memberSpaceLimitsAddException]; + } else if ([tag isEqualToString:@"member_space_limits_change_caps_type_policy"]) { + DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *memberSpaceLimitsChangeCapsTypePolicy = + [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithMemberSpaceLimitsChangeCapsTypePolicy:memberSpaceLimitsChangeCapsTypePolicy]; + } else if ([tag isEqualToString:@"member_space_limits_change_policy"]) { + DBTEAMLOGMemberSpaceLimitsChangePolicyType *memberSpaceLimitsChangePolicy = + [DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsChangePolicy:memberSpaceLimitsChangePolicy]; + } else if ([tag isEqualToString:@"member_space_limits_remove_exception"]) { + DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *memberSpaceLimitsRemoveException = + [DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsRemoveException:memberSpaceLimitsRemoveException]; + } else if ([tag isEqualToString:@"member_suggestions_change_policy"]) { + DBTEAMLOGMemberSuggestionsChangePolicyType *memberSuggestionsChangePolicy = + [DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMemberSuggestionsChangePolicy:memberSuggestionsChangePolicy]; + } else if ([tag isEqualToString:@"microsoft_office_addin_change_policy"]) { + DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *microsoftOfficeAddinChangePolicy = + [DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithMicrosoftOfficeAddinChangePolicy:microsoftOfficeAddinChangePolicy]; + } else if ([tag isEqualToString:@"network_control_change_policy"]) { + DBTEAMLOGNetworkControlChangePolicyType *networkControlChangePolicy = + [DBTEAMLOGNetworkControlChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithNetworkControlChangePolicy:networkControlChangePolicy]; + } else if ([tag isEqualToString:@"paper_change_deployment_policy"]) { + DBTEAMLOGPaperChangeDeploymentPolicyType *paperChangeDeploymentPolicy = + [DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperChangeDeploymentPolicy:paperChangeDeploymentPolicy]; + } else if ([tag isEqualToString:@"paper_change_member_link_policy"]) { + DBTEAMLOGPaperChangeMemberLinkPolicyType *paperChangeMemberLinkPolicy = + [DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperChangeMemberLinkPolicy:paperChangeMemberLinkPolicy]; + } else if ([tag isEqualToString:@"paper_change_member_policy"]) { + DBTEAMLOGPaperChangeMemberPolicyType *paperChangeMemberPolicy = + [DBTEAMLOGPaperChangeMemberPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperChangeMemberPolicy:paperChangeMemberPolicy]; + } else if ([tag isEqualToString:@"paper_change_policy"]) { + DBTEAMLOGPaperChangePolicyType *paperChangePolicy = + [DBTEAMLOGPaperChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperChangePolicy:paperChangePolicy]; + } else if ([tag isEqualToString:@"paper_default_folder_policy_changed"]) { + DBTEAMLOGPaperDefaultFolderPolicyChangedType *paperDefaultFolderPolicyChanged = + [DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDefaultFolderPolicyChanged:paperDefaultFolderPolicyChanged]; + } else if ([tag isEqualToString:@"paper_desktop_policy_changed"]) { + DBTEAMLOGPaperDesktopPolicyChangedType *paperDesktopPolicyChanged = + [DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperDesktopPolicyChanged:paperDesktopPolicyChanged]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_addition"]) { + DBTEAMLOGPaperEnabledUsersGroupAdditionType *paperEnabledUsersGroupAddition = + [DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperEnabledUsersGroupAddition:paperEnabledUsersGroupAddition]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_removal"]) { + DBTEAMLOGPaperEnabledUsersGroupRemovalType *paperEnabledUsersGroupRemoval = + [DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPaperEnabledUsersGroupRemoval:paperEnabledUsersGroupRemoval]; + } else if ([tag isEqualToString:@"password_strength_requirements_change_policy"]) { + DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *passwordStrengthRequirementsChangePolicy = + [DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithPasswordStrengthRequirementsChangePolicy:passwordStrengthRequirementsChangePolicy]; + } else if ([tag isEqualToString:@"permanent_delete_change_policy"]) { + DBTEAMLOGPermanentDeleteChangePolicyType *permanentDeleteChangePolicy = + [DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithPermanentDeleteChangePolicy:permanentDeleteChangePolicy]; + } else if ([tag isEqualToString:@"reseller_support_change_policy"]) { + DBTEAMLOGResellerSupportChangePolicyType *resellerSupportChangePolicy = + [DBTEAMLOGResellerSupportChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithResellerSupportChangePolicy:resellerSupportChangePolicy]; + } else if ([tag isEqualToString:@"rewind_policy_changed"]) { + DBTEAMLOGRewindPolicyChangedType *rewindPolicyChanged = + [DBTEAMLOGRewindPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithRewindPolicyChanged:rewindPolicyChanged]; + } else if ([tag isEqualToString:@"send_for_signature_policy_changed"]) { + DBTEAMLOGSendForSignaturePolicyChangedType *sendForSignaturePolicyChanged = + [DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSendForSignaturePolicyChanged:sendForSignaturePolicyChanged]; + } else if ([tag isEqualToString:@"sharing_change_folder_join_policy"]) { + DBTEAMLOGSharingChangeFolderJoinPolicyType *sharingChangeFolderJoinPolicy = + [DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharingChangeFolderJoinPolicy:sharingChangeFolderJoinPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_allow_change_expiration_policy"]) { + DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *sharingChangeLinkAllowChangeExpirationPolicy = + [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharingChangeLinkAllowChangeExpirationPolicy:sharingChangeLinkAllowChangeExpirationPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_default_expiration_policy"]) { + DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *sharingChangeLinkDefaultExpirationPolicy = + [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharingChangeLinkDefaultExpirationPolicy:sharingChangeLinkDefaultExpirationPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_enforce_password_policy"]) { + DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *sharingChangeLinkEnforcePasswordPolicy = + [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithSharingChangeLinkEnforcePasswordPolicy:sharingChangeLinkEnforcePasswordPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_policy"]) { + DBTEAMLOGSharingChangeLinkPolicyType *sharingChangeLinkPolicy = + [DBTEAMLOGSharingChangeLinkPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharingChangeLinkPolicy:sharingChangeLinkPolicy]; + } else if ([tag isEqualToString:@"sharing_change_member_policy"]) { + DBTEAMLOGSharingChangeMemberPolicyType *sharingChangeMemberPolicy = + [DBTEAMLOGSharingChangeMemberPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSharingChangeMemberPolicy:sharingChangeMemberPolicy]; + } else if ([tag isEqualToString:@"showcase_change_download_policy"]) { + DBTEAMLOGShowcaseChangeDownloadPolicyType *showcaseChangeDownloadPolicy = + [DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseChangeDownloadPolicy:showcaseChangeDownloadPolicy]; + } else if ([tag isEqualToString:@"showcase_change_enabled_policy"]) { + DBTEAMLOGShowcaseChangeEnabledPolicyType *showcaseChangeEnabledPolicy = + [DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseChangeEnabledPolicy:showcaseChangeEnabledPolicy]; + } else if ([tag isEqualToString:@"showcase_change_external_sharing_policy"]) { + DBTEAMLOGShowcaseChangeExternalSharingPolicyType *showcaseChangeExternalSharingPolicy = + [DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithShowcaseChangeExternalSharingPolicy:showcaseChangeExternalSharingPolicy]; + } else if ([tag isEqualToString:@"smarter_smart_sync_policy_changed"]) { + DBTEAMLOGSmarterSmartSyncPolicyChangedType *smarterSmartSyncPolicyChanged = + [DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSmarterSmartSyncPolicyChanged:smarterSmartSyncPolicyChanged]; + } else if ([tag isEqualToString:@"smart_sync_change_policy"]) { + DBTEAMLOGSmartSyncChangePolicyType *smartSyncChangePolicy = + [DBTEAMLOGSmartSyncChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSmartSyncChangePolicy:smartSyncChangePolicy]; + } else if ([tag isEqualToString:@"smart_sync_not_opt_out"]) { + DBTEAMLOGSmartSyncNotOptOutType *smartSyncNotOptOut = + [DBTEAMLOGSmartSyncNotOptOutTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSmartSyncNotOptOut:smartSyncNotOptOut]; + } else if ([tag isEqualToString:@"smart_sync_opt_out"]) { + DBTEAMLOGSmartSyncOptOutType *smartSyncOptOut = [DBTEAMLOGSmartSyncOptOutTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSmartSyncOptOut:smartSyncOptOut]; + } else if ([tag isEqualToString:@"sso_change_policy"]) { + DBTEAMLOGSsoChangePolicyType *ssoChangePolicy = [DBTEAMLOGSsoChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithSsoChangePolicy:ssoChangePolicy]; + } else if ([tag isEqualToString:@"team_branding_policy_changed"]) { + DBTEAMLOGTeamBrandingPolicyChangedType *teamBrandingPolicyChanged = + [DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamBrandingPolicyChanged:teamBrandingPolicyChanged]; + } else if ([tag isEqualToString:@"team_extensions_policy_changed"]) { + DBTEAMLOGTeamExtensionsPolicyChangedType *teamExtensionsPolicyChanged = + [DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamExtensionsPolicyChanged:teamExtensionsPolicyChanged]; + } else if ([tag isEqualToString:@"team_selective_sync_policy_changed"]) { + DBTEAMLOGTeamSelectiveSyncPolicyChangedType *teamSelectiveSyncPolicyChanged = + [DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamSelectiveSyncPolicyChanged:teamSelectiveSyncPolicyChanged]; + } else if ([tag isEqualToString:@"team_sharing_whitelist_subjects_changed"]) { + DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *teamSharingWhitelistSubjectsChanged = + [DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamSharingWhitelistSubjectsChanged:teamSharingWhitelistSubjectsChanged]; + } else if ([tag isEqualToString:@"tfa_add_exception"]) { + DBTEAMLOGTfaAddExceptionType *tfaAddException = [DBTEAMLOGTfaAddExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaAddException:tfaAddException]; + } else if ([tag isEqualToString:@"tfa_change_policy"]) { + DBTEAMLOGTfaChangePolicyType *tfaChangePolicy = [DBTEAMLOGTfaChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaChangePolicy:tfaChangePolicy]; + } else if ([tag isEqualToString:@"tfa_remove_exception"]) { + DBTEAMLOGTfaRemoveExceptionType *tfaRemoveException = + [DBTEAMLOGTfaRemoveExceptionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaRemoveException:tfaRemoveException]; + } else if ([tag isEqualToString:@"two_account_change_policy"]) { + DBTEAMLOGTwoAccountChangePolicyType *twoAccountChangePolicy = + [DBTEAMLOGTwoAccountChangePolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTwoAccountChangePolicy:twoAccountChangePolicy]; + } else if ([tag isEqualToString:@"viewer_info_policy_changed"]) { + DBTEAMLOGViewerInfoPolicyChangedType *viewerInfoPolicyChanged = + [DBTEAMLOGViewerInfoPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithViewerInfoPolicyChanged:viewerInfoPolicyChanged]; + } else if ([tag isEqualToString:@"watermarking_policy_changed"]) { + DBTEAMLOGWatermarkingPolicyChangedType *watermarkingPolicyChanged = + [DBTEAMLOGWatermarkingPolicyChangedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithWatermarkingPolicyChanged:watermarkingPolicyChanged]; + } else if ([tag isEqualToString:@"web_sessions_change_active_session_limit"]) { + DBTEAMLOGWebSessionsChangeActiveSessionLimitType *webSessionsChangeActiveSessionLimit = + [DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithWebSessionsChangeActiveSessionLimit:webSessionsChangeActiveSessionLimit]; + } else if ([tag isEqualToString:@"web_sessions_change_fixed_length_policy"]) { + DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *webSessionsChangeFixedLengthPolicy = + [DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithWebSessionsChangeFixedLengthPolicy:webSessionsChangeFixedLengthPolicy]; + } else if ([tag isEqualToString:@"web_sessions_change_idle_length_policy"]) { + DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *webSessionsChangeIdleLengthPolicy = + [DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithWebSessionsChangeIdleLengthPolicy:webSessionsChangeIdleLengthPolicy]; + } else if ([tag isEqualToString:@"data_residency_migration_request_successful"]) { + DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *dataResidencyMigrationRequestSuccessful = + [DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDataResidencyMigrationRequestSuccessful:dataResidencyMigrationRequestSuccessful]; + } else if ([tag isEqualToString:@"data_residency_migration_request_unsuccessful"]) { + DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *dataResidencyMigrationRequestUnsuccessful = + [DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithDataResidencyMigrationRequestUnsuccessful:dataResidencyMigrationRequestUnsuccessful]; + } else if ([tag isEqualToString:@"team_merge_from"]) { + DBTEAMLOGTeamMergeFromType *teamMergeFrom = [DBTEAMLOGTeamMergeFromTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeFrom:teamMergeFrom]; + } else if ([tag isEqualToString:@"team_merge_to"]) { + DBTEAMLOGTeamMergeToType *teamMergeTo = [DBTEAMLOGTeamMergeToTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeTo:teamMergeTo]; + } else if ([tag isEqualToString:@"team_profile_add_background"]) { + DBTEAMLOGTeamProfileAddBackgroundType *teamProfileAddBackground = + [DBTEAMLOGTeamProfileAddBackgroundTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileAddBackground:teamProfileAddBackground]; + } else if ([tag isEqualToString:@"team_profile_add_logo"]) { + DBTEAMLOGTeamProfileAddLogoType *teamProfileAddLogo = + [DBTEAMLOGTeamProfileAddLogoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileAddLogo:teamProfileAddLogo]; + } else if ([tag isEqualToString:@"team_profile_change_background"]) { + DBTEAMLOGTeamProfileChangeBackgroundType *teamProfileChangeBackground = + [DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeBackground:teamProfileChangeBackground]; + } else if ([tag isEqualToString:@"team_profile_change_default_language"]) { + DBTEAMLOGTeamProfileChangeDefaultLanguageType *teamProfileChangeDefaultLanguage = + [DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeDefaultLanguage:teamProfileChangeDefaultLanguage]; + } else if ([tag isEqualToString:@"team_profile_change_logo"]) { + DBTEAMLOGTeamProfileChangeLogoType *teamProfileChangeLogo = + [DBTEAMLOGTeamProfileChangeLogoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeLogo:teamProfileChangeLogo]; + } else if ([tag isEqualToString:@"team_profile_change_name"]) { + DBTEAMLOGTeamProfileChangeNameType *teamProfileChangeName = + [DBTEAMLOGTeamProfileChangeNameTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeName:teamProfileChangeName]; + } else if ([tag isEqualToString:@"team_profile_remove_background"]) { + DBTEAMLOGTeamProfileRemoveBackgroundType *teamProfileRemoveBackground = + [DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileRemoveBackground:teamProfileRemoveBackground]; + } else if ([tag isEqualToString:@"team_profile_remove_logo"]) { + DBTEAMLOGTeamProfileRemoveLogoType *teamProfileRemoveLogo = + [DBTEAMLOGTeamProfileRemoveLogoTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamProfileRemoveLogo:teamProfileRemoveLogo]; + } else if ([tag isEqualToString:@"tfa_add_backup_phone"]) { + DBTEAMLOGTfaAddBackupPhoneType *tfaAddBackupPhone = + [DBTEAMLOGTfaAddBackupPhoneTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaAddBackupPhone:tfaAddBackupPhone]; + } else if ([tag isEqualToString:@"tfa_add_security_key"]) { + DBTEAMLOGTfaAddSecurityKeyType *tfaAddSecurityKey = + [DBTEAMLOGTfaAddSecurityKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaAddSecurityKey:tfaAddSecurityKey]; + } else if ([tag isEqualToString:@"tfa_change_backup_phone"]) { + DBTEAMLOGTfaChangeBackupPhoneType *tfaChangeBackupPhone = + [DBTEAMLOGTfaChangeBackupPhoneTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaChangeBackupPhone:tfaChangeBackupPhone]; + } else if ([tag isEqualToString:@"tfa_change_status"]) { + DBTEAMLOGTfaChangeStatusType *tfaChangeStatus = [DBTEAMLOGTfaChangeStatusTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaChangeStatus:tfaChangeStatus]; + } else if ([tag isEqualToString:@"tfa_remove_backup_phone"]) { + DBTEAMLOGTfaRemoveBackupPhoneType *tfaRemoveBackupPhone = + [DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaRemoveBackupPhone:tfaRemoveBackupPhone]; + } else if ([tag isEqualToString:@"tfa_remove_security_key"]) { + DBTEAMLOGTfaRemoveSecurityKeyType *tfaRemoveSecurityKey = + [DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaRemoveSecurityKey:tfaRemoveSecurityKey]; + } else if ([tag isEqualToString:@"tfa_reset"]) { + DBTEAMLOGTfaResetType *tfaReset = [DBTEAMLOGTfaResetTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTfaReset:tfaReset]; + } else if ([tag isEqualToString:@"changed_enterprise_admin_role"]) { + DBTEAMLOGChangedEnterpriseAdminRoleType *changedEnterpriseAdminRole = + [DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithChangedEnterpriseAdminRole:changedEnterpriseAdminRole]; + } else if ([tag isEqualToString:@"changed_enterprise_connected_team_status"]) { + DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *changedEnterpriseConnectedTeamStatus = + [DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer deserialize:valueDict]; + return + [[DBTEAMLOGEventType alloc] initWithChangedEnterpriseConnectedTeamStatus:changedEnterpriseConnectedTeamStatus]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session"]) { + DBTEAMLOGEndedEnterpriseAdminSessionType *endedEnterpriseAdminSession = + [DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEndedEnterpriseAdminSession:endedEnterpriseAdminSession]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session_deprecated"]) { + DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *endedEnterpriseAdminSessionDeprecated = + [DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithEndedEnterpriseAdminSessionDeprecated:endedEnterpriseAdminSessionDeprecated]; + } else if ([tag isEqualToString:@"enterprise_settings_locking"]) { + DBTEAMLOGEnterpriseSettingsLockingType *enterpriseSettingsLocking = + [DBTEAMLOGEnterpriseSettingsLockingTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithEnterpriseSettingsLocking:enterpriseSettingsLocking]; + } else if ([tag isEqualToString:@"guest_admin_change_status"]) { + DBTEAMLOGGuestAdminChangeStatusType *guestAdminChangeStatus = + [DBTEAMLOGGuestAdminChangeStatusTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithGuestAdminChangeStatus:guestAdminChangeStatus]; + } else if ([tag isEqualToString:@"started_enterprise_admin_session"]) { + DBTEAMLOGStartedEnterpriseAdminSessionType *startedEnterpriseAdminSession = + [DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithStartedEnterpriseAdminSession:startedEnterpriseAdminSession]; + } else if ([tag isEqualToString:@"team_merge_request_accepted"]) { + DBTEAMLOGTeamMergeRequestAcceptedType *teamMergeRequestAccepted = + [DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestAccepted:teamMergeRequestAccepted]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *teamMergeRequestAcceptedShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestAcceptedShownToPrimaryTeam:teamMergeRequestAcceptedShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *teamMergeRequestAcceptedShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestAcceptedShownToSecondaryTeam:teamMergeRequestAcceptedShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_auto_canceled"]) { + DBTEAMLOGTeamMergeRequestAutoCanceledType *teamMergeRequestAutoCanceled = + [DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestAutoCanceled:teamMergeRequestAutoCanceled]; + } else if ([tag isEqualToString:@"team_merge_request_canceled"]) { + DBTEAMLOGTeamMergeRequestCanceledType *teamMergeRequestCanceled = + [DBTEAMLOGTeamMergeRequestCanceledTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestCanceled:teamMergeRequestCanceled]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *teamMergeRequestCanceledShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestCanceledShownToPrimaryTeam:teamMergeRequestCanceledShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *teamMergeRequestCanceledShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestCanceledShownToSecondaryTeam:teamMergeRequestCanceledShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_expired"]) { + DBTEAMLOGTeamMergeRequestExpiredType *teamMergeRequestExpired = + [DBTEAMLOGTeamMergeRequestExpiredTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestExpired:teamMergeRequestExpired]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *teamMergeRequestExpiredShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestExpiredShownToPrimaryTeam:teamMergeRequestExpiredShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *teamMergeRequestExpiredShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestExpiredShownToSecondaryTeam:teamMergeRequestExpiredShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *teamMergeRequestRejectedShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestRejectedShownToPrimaryTeam:teamMergeRequestRejectedShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *teamMergeRequestRejectedShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestRejectedShownToSecondaryTeam:teamMergeRequestRejectedShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_reminder"]) { + DBTEAMLOGTeamMergeRequestReminderType *teamMergeRequestReminder = + [DBTEAMLOGTeamMergeRequestReminderTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestReminder:teamMergeRequestReminder]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *teamMergeRequestReminderShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestReminderShownToPrimaryTeam:teamMergeRequestReminderShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *teamMergeRequestReminderShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestReminderShownToSecondaryTeam:teamMergeRequestReminderShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_revoked"]) { + DBTEAMLOGTeamMergeRequestRevokedType *teamMergeRequestRevoked = + [DBTEAMLOGTeamMergeRequestRevokedTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] initWithTeamMergeRequestRevoked:teamMergeRequestRevoked]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_primary_team"]) { + DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *teamMergeRequestSentShownToPrimaryTeam = + [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestSentShownToPrimaryTeam:teamMergeRequestSentShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_secondary_team"]) { + DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *teamMergeRequestSentShownToSecondaryTeam = + [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer deserialize:valueDict]; + return [[DBTEAMLOGEventType alloc] + initWithTeamMergeRequestSentShownToSecondaryTeam:teamMergeRequestSentShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGEventType alloc] initWithOther]; + } else { + return [[DBTEAMLOGEventType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGEventTypeArg.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGEventTypeArg + +#pragma mark - Constructors + +- (instancetype)initWithAdminAlertingAlertStateChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged; + } + return self; +} + +- (instancetype)initWithAdminAlertingChangedAlertConfig { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig; + } + return self; +} + +- (instancetype)initWithAdminAlertingTriggeredAlert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessCompleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted; + } + return self; +} + +- (instancetype)initWithRansomwareRestoreProcessStarted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted; + } + return self; +} + +- (instancetype)initWithAppBlockedByPermissions { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppBlockedByPermissions; + } + return self; +} + +- (instancetype)initWithAppLinkTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppLinkTeam; + } + return self; +} + +- (instancetype)initWithAppLinkUser { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppLinkUser; + } + return self; +} + +- (instancetype)initWithAppUnlinkTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppUnlinkTeam; + } + return self; +} + +- (instancetype)initWithAppUnlinkUser { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppUnlinkUser; + } + return self; +} + +- (instancetype)initWithIntegrationConnected { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgIntegrationConnected; + } + return self; +} + +- (instancetype)initWithIntegrationDisconnected { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgIntegrationDisconnected; + } + return self; +} + +- (instancetype)initWithFileAddComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileAddComment; + } + return self; +} + +- (instancetype)initWithFileChangeCommentSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileChangeCommentSubscription; + } + return self; +} + +- (instancetype)initWithFileDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileDeleteComment; + } + return self; +} + +- (instancetype)initWithFileEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileEditComment; + } + return self; +} + +- (instancetype)initWithFileLikeComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileLikeComment; + } + return self; +} + +- (instancetype)initWithFileResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileResolveComment; + } + return self; +} + +- (instancetype)initWithFileUnlikeComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileUnlikeComment; + } + return self; +} + +- (instancetype)initWithFileUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileUnresolveComment; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyAddFolders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyAddFolderFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed; + } + return self; +} + +- (instancetype)initWithGovernancePolicyContentDisposed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed; + } + return self; +} + +- (instancetype)initWithGovernancePolicyCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyCreate; + } + return self; +} + +- (instancetype)initWithGovernancePolicyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyDelete; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyEditDetails; + } + return self; +} + +- (instancetype)initWithGovernancePolicyEditDuration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyEditDuration; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyExportCreated; + } + return self; +} + +- (instancetype)initWithGovernancePolicyExportRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved; + } + return self; +} + +- (instancetype)initWithGovernancePolicyRemoveFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyReportCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyReportCreated; + } + return self; +} + +- (instancetype)initWithGovernancePolicyZipPartDownloaded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded; + } + return self; +} + +- (instancetype)initWithLegalHoldsActivateAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsActivateAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsAddMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsAddMembers; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails; + } + return self; +} + +- (instancetype)initWithLegalHoldsChangeHoldName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsExportAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportCancelled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsExportCancelled; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportDownloaded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded; + } + return self; +} + +- (instancetype)initWithLegalHoldsExportRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsExportRemoved; + } + return self; +} + +- (instancetype)initWithLegalHoldsReleaseAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold; + } + return self; +} + +- (instancetype)initWithLegalHoldsRemoveMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers; + } + return self; +} + +- (instancetype)initWithLegalHoldsReportAHold { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLegalHoldsReportAHold; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpDesktop { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceChangeIpDesktop; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpMobile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceChangeIpMobile; + } + return self; +} + +- (instancetype)initWithDeviceChangeIpWeb { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceChangeIpWeb; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail; + } + return self; +} + +- (instancetype)initWithDeviceDeleteOnUnlinkSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess; + } + return self; +} + +- (instancetype)initWithDeviceLinkFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceLinkFail; + } + return self; +} + +- (instancetype)initWithDeviceLinkSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceLinkSuccess; + } + return self; +} + +- (instancetype)initWithDeviceManagementDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceManagementDisabled; + } + return self; +} + +- (instancetype)initWithDeviceManagementEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceManagementEnabled; + } + return self; +} + +- (instancetype)initWithDeviceSyncBackupStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged; + } + return self; +} + +- (instancetype)initWithDeviceUnlink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceUnlink; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsExported { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDropboxPasswordsExported; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled; + } + return self; +} + +- (instancetype)initWithEmmRefreshAuthToken { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmRefreshAuthToken; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupEligibilityStatusChecked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangeAvailability { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability; + } + return self; +} + +- (instancetype)initWithAccountCaptureMigrateAccount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount; + } + return self; +} + +- (instancetype)initWithAccountCaptureNotificationEmailsSent { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent; + } + return self; +} + +- (instancetype)initWithAccountCaptureRelinquishAccount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount; + } + return self; +} + +- (instancetype)initWithDisabledDomainInvites { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDisabledDomainInvites; + } + return self; +} + +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesEmailExistingUsers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers; + } + return self; +} + +- (instancetype)initWithDomainInvitesRequestToJoinTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo; + } + return self; +} + +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail; + } + return self; +} + +- (instancetype)initWithDomainVerificationAddDomainSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess; + } + return self; +} + +- (instancetype)initWithDomainVerificationRemoveDomain { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain; + } + return self; +} + +- (instancetype)initWithEnabledDomainInvites { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEnabledDomainInvites; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletion { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyCreateKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDeleteKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyDisableKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyEnableKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyRotateKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey; + } + return self; +} + +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletion { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion; + } + return self; +} + +- (instancetype)initWithApplyNamingConvention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgApplyNamingConvention; + } + return self; +} + +- (instancetype)initWithCreateFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgCreateFolder; + } + return self; +} + +- (instancetype)initWithFileAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileAdd; + } + return self; +} + +- (instancetype)initWithFileAddFromAutomation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileAddFromAutomation; + } + return self; +} + +- (instancetype)initWithFileCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileCopy; + } + return self; +} + +- (instancetype)initWithFileDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileDelete; + } + return self; +} + +- (instancetype)initWithFileDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileDownload; + } + return self; +} + +- (instancetype)initWithFileEdit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileEdit; + } + return self; +} + +- (instancetype)initWithFileGetCopyReference { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileGetCopyReference; + } + return self; +} + +- (instancetype)initWithFileLockingLockStatusChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileLockingLockStatusChanged; + } + return self; +} + +- (instancetype)initWithFileMove { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileMove; + } + return self; +} + +- (instancetype)initWithFilePermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFilePermanentlyDelete; + } + return self; +} + +- (instancetype)initWithFilePreview { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFilePreview; + } + return self; +} + +- (instancetype)initWithFileRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRename; + } + return self; +} + +- (instancetype)initWithFileRestore { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRestore; + } + return self; +} + +- (instancetype)initWithFileRevert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRevert; + } + return self; +} + +- (instancetype)initWithFileRollbackChanges { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRollbackChanges; + } + return self; +} + +- (instancetype)initWithFileSaveCopyReference { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileSaveCopyReference; + } + return self; +} + +- (instancetype)initWithFolderOverviewDescriptionChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemPinned { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFolderOverviewItemPinned; + } + return self; +} + +- (instancetype)initWithFolderOverviewItemUnpinned { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned; + } + return self; +} + +- (instancetype)initWithObjectLabelAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgObjectLabelAdded; + } + return self; +} + +- (instancetype)initWithObjectLabelRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgObjectLabelRemoved; + } + return self; +} + +- (instancetype)initWithObjectLabelUpdatedValue { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgObjectLabelUpdatedValue; + } + return self; +} + +- (instancetype)initWithOrganizeFolderWithTidy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgOrganizeFolderWithTidy; + } + return self; +} + +- (instancetype)initWithReplayFileDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgReplayFileDelete; + } + return self; +} + +- (instancetype)initWithRewindFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRewindFolder; + } + return self; +} + +- (instancetype)initWithUndoNamingConvention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgUndoNamingConvention; + } + return self; +} + +- (instancetype)initWithUndoOrganizeFolderWithTidy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy; + } + return self; +} + +- (instancetype)initWithUserTagsAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgUserTagsAdded; + } + return self; +} + +- (instancetype)initWithUserTagsRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgUserTagsRemoved; + } + return self; +} + +- (instancetype)initWithEmailIngestReceiveFile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmailIngestReceiveFile; + } + return self; +} + +- (instancetype)initWithFileRequestChange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestChange; + } + return self; +} + +- (instancetype)initWithFileRequestClose { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestClose; + } + return self; +} + +- (instancetype)initWithFileRequestCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestCreate; + } + return self; +} + +- (instancetype)initWithFileRequestDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestDelete; + } + return self; +} + +- (instancetype)initWithFileRequestReceiveFile { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestReceiveFile; + } + return self; +} + +- (instancetype)initWithGroupAddExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupAddExternalId; + } + return self; +} + +- (instancetype)initWithGroupAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupAddMember; + } + return self; +} + +- (instancetype)initWithGroupChangeExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupChangeExternalId; + } + return self; +} + +- (instancetype)initWithGroupChangeManagementType { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupChangeManagementType; + } + return self; +} + +- (instancetype)initWithGroupChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupChangeMemberRole; + } + return self; +} + +- (instancetype)initWithGroupCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupCreate; + } + return self; +} + +- (instancetype)initWithGroupDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupDelete; + } + return self; +} + +- (instancetype)initWithGroupDescriptionUpdated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupDescriptionUpdated; + } + return self; +} + +- (instancetype)initWithGroupJoinPolicyUpdated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated; + } + return self; +} + +- (instancetype)initWithGroupMoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupMoved; + } + return self; +} + +- (instancetype)initWithGroupRemoveExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupRemoveExternalId; + } + return self; +} + +- (instancetype)initWithGroupRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupRemoveMember; + } + return self; +} + +- (instancetype)initWithGroupRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupRename; + } + return self; +} + +- (instancetype)initWithAccountLockOrUnlocked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountLockOrUnlocked; + } + return self; +} + +- (instancetype)initWithEmmError { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmError; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedInViaTrustedTeams { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams; + } + return self; +} + +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeams { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams; + } + return self; +} + +- (instancetype)initWithLoginFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLoginFail; + } + return self; +} + +- (instancetype)initWithLoginSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLoginSuccess; + } + return self; +} + +- (instancetype)initWithLogout { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgLogout; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionEnd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgResellerSupportSessionEnd; + } + return self; +} + +- (instancetype)initWithResellerSupportSessionStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgResellerSupportSessionStart; + } + return self; +} + +- (instancetype)initWithSignInAsSessionEnd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSignInAsSessionEnd; + } + return self; +} + +- (instancetype)initWithSignInAsSessionStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSignInAsSessionStart; + } + return self; +} + +- (instancetype)initWithSsoError { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoError; + } + return self; +} + +- (instancetype)initWithBackupAdminInvitationSent { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBackupAdminInvitationSent; + } + return self; +} + +- (instancetype)initWithBackupInvitationOpened { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBackupInvitationOpened; + } + return self; +} + +- (instancetype)initWithCreateTeamInviteLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgCreateTeamInviteLink; + } + return self; +} + +- (instancetype)initWithDeleteTeamInviteLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeleteTeamInviteLink; + } + return self; +} + +- (instancetype)initWithMemberAddExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberAddExternalId; + } + return self; +} + +- (instancetype)initWithMemberAddName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberAddName; + } + return self; +} + +- (instancetype)initWithMemberChangeAdminRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeAdminRole; + } + return self; +} + +- (instancetype)initWithMemberChangeEmail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeEmail; + } + return self; +} + +- (instancetype)initWithMemberChangeExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeExternalId; + } + return self; +} + +- (instancetype)initWithMemberChangeMembershipType { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeMembershipType; + } + return self; +} + +- (instancetype)initWithMemberChangeName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeName; + } + return self; +} + +- (instancetype)initWithMemberChangeResellerRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeResellerRole; + } + return self; +} + +- (instancetype)initWithMemberChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberChangeStatus; + } + return self; +} + +- (instancetype)initWithMemberDeleteManualContacts { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberDeleteManualContacts; + } + return self; +} + +- (instancetype)initWithMemberDeleteProfilePhoto { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto; + } + return self; +} + +- (instancetype)initWithMemberPermanentlyDeleteAccountContents { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents; + } + return self; +} + +- (instancetype)initWithMemberRemoveExternalId { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberRemoveExternalId; + } + return self; +} + +- (instancetype)initWithMemberSetProfilePhoto { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSetProfilePhoto; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota; + } + return self; +} + +- (instancetype)initWithMemberSuggest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSuggest; + } + return self; +} + +- (instancetype)initWithMemberTransferAccountContents { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberTransferAccountContents; + } + return self; +} + +- (instancetype)initWithPendingSecondaryEmailAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded; + } + return self; +} + +- (instancetype)initWithSecondaryEmailDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSecondaryEmailDeleted; + } + return self; +} + +- (instancetype)initWithSecondaryEmailVerified { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSecondaryEmailVerified; + } + return self; +} + +- (instancetype)initWithSecondaryMailsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged; + } + return self; +} + +- (instancetype)initWithBinderAddPage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderAddPage; + } + return self; +} + +- (instancetype)initWithBinderAddSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderAddSection; + } + return self; +} + +- (instancetype)initWithBinderRemovePage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderRemovePage; + } + return self; +} + +- (instancetype)initWithBinderRemoveSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderRemoveSection; + } + return self; +} + +- (instancetype)initWithBinderRenamePage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderRenamePage; + } + return self; +} + +- (instancetype)initWithBinderRenameSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderRenameSection; + } + return self; +} + +- (instancetype)initWithBinderReorderPage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderReorderPage; + } + return self; +} + +- (instancetype)initWithBinderReorderSection { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgBinderReorderSection; + } + return self; +} + +- (instancetype)initWithPaperContentAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentAddMember; + } + return self; +} + +- (instancetype)initWithPaperContentAddToFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentAddToFolder; + } + return self; +} + +- (instancetype)initWithPaperContentArchive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentArchive; + } + return self; +} + +- (instancetype)initWithPaperContentCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentCreate; + } + return self; +} + +- (instancetype)initWithPaperContentPermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveFromFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder; + } + return self; +} + +- (instancetype)initWithPaperContentRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentRemoveMember; + } + return self; +} + +- (instancetype)initWithPaperContentRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentRename; + } + return self; +} + +- (instancetype)initWithPaperContentRestore { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperContentRestore; + } + return self; +} + +- (instancetype)initWithPaperDocAddComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocAddComment; + } + return self; +} + +- (instancetype)initWithPaperDocChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocChangeMemberRole; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSharingPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy; + } + return self; +} + +- (instancetype)initWithPaperDocChangeSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocChangeSubscription; + } + return self; +} + +- (instancetype)initWithPaperDocDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocDeleted; + } + return self; +} + +- (instancetype)initWithPaperDocDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocDeleteComment; + } + return self; +} + +- (instancetype)initWithPaperDocDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocDownload; + } + return self; +} + +- (instancetype)initWithPaperDocEdit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocEdit; + } + return self; +} + +- (instancetype)initWithPaperDocEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocEditComment; + } + return self; +} + +- (instancetype)initWithPaperDocFollowed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocFollowed; + } + return self; +} + +- (instancetype)initWithPaperDocMention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocMention; + } + return self; +} + +- (instancetype)initWithPaperDocOwnershipChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocOwnershipChanged; + } + return self; +} + +- (instancetype)initWithPaperDocRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocRequestAccess; + } + return self; +} + +- (instancetype)initWithPaperDocResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocResolveComment; + } + return self; +} + +- (instancetype)initWithPaperDocRevert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocRevert; + } + return self; +} + +- (instancetype)initWithPaperDocSlackShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocSlackShare; + } + return self; +} + +- (instancetype)initWithPaperDocTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocTeamInvite; + } + return self; +} + +- (instancetype)initWithPaperDocTrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocTrashed; + } + return self; +} + +- (instancetype)initWithPaperDocUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocUnresolveComment; + } + return self; +} + +- (instancetype)initWithPaperDocUntrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocUntrashed; + } + return self; +} + +- (instancetype)initWithPaperDocView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDocView; + } + return self; +} + +- (instancetype)initWithPaperExternalViewAllow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperExternalViewAllow; + } + return self; +} + +- (instancetype)initWithPaperExternalViewDefaultTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam; + } + return self; +} + +- (instancetype)initWithPaperExternalViewForbid { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperExternalViewForbid; + } + return self; +} + +- (instancetype)initWithPaperFolderChangeSubscription { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperFolderChangeSubscription; + } + return self; +} + +- (instancetype)initWithPaperFolderDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperFolderDeleted; + } + return self; +} + +- (instancetype)initWithPaperFolderFollowed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperFolderFollowed; + } + return self; +} + +- (instancetype)initWithPaperFolderTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperFolderTeamInvite; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkChangePermission { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperPublishedLinkCreate; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled; + } + return self; +} + +- (instancetype)initWithPaperPublishedLinkView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperPublishedLinkView; + } + return self; +} + +- (instancetype)initWithPasswordChange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPasswordChange; + } + return self; +} + +- (instancetype)initWithPasswordReset { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPasswordReset; + } + return self; +} + +- (instancetype)initWithPasswordResetAll { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPasswordResetAll; + } + return self; +} + +- (instancetype)initWithClassificationCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgClassificationCreateReport; + } + return self; +} + +- (instancetype)initWithClassificationCreateReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgClassificationCreateReportFail; + } + return self; +} + +- (instancetype)initWithEmmCreateExceptionsReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmCreateExceptionsReport; + } + return self; +} + +- (instancetype)initWithEmmCreateUsageReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmCreateUsageReport; + } + return self; +} + +- (instancetype)initWithExportMembersReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExportMembersReport; + } + return self; +} + +- (instancetype)initWithExportMembersReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExportMembersReportFail; + } + return self; +} + +- (instancetype)initWithExternalSharingCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExternalSharingCreateReport; + } + return self; +} + +- (instancetype)initWithExternalSharingReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExternalSharingReportFailed; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport; + } + return self; +} + +- (instancetype)initWithNoExpirationLinkGenReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkGenReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport; + } + return self; +} + +- (instancetype)initWithNoPasswordLinkViewReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport; + } + return self; +} + +- (instancetype)initWithOutdatedLinkViewReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed; + } + return self; +} + +- (instancetype)initWithPaperAdminExportStart { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperAdminExportStart; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRansomwareAlertCreateReport; + } + return self; +} + +- (instancetype)initWithRansomwareAlertCreateReportFailed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed; + } + return self; +} + +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReport { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamActivityCreateReport; + } + return self; +} + +- (instancetype)initWithTeamActivityCreateReportFail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamActivityCreateReportFail; + } + return self; +} + +- (instancetype)initWithCollectionShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgCollectionShare; + } + return self; +} + +- (instancetype)initWithFileTransfersFileAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersFileAdd; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersTransferDelete; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersTransferDownload; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferSend { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersTransferSend; + } + return self; +} + +- (instancetype)initWithFileTransfersTransferView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersTransferView; + } + return self; +} + +- (instancetype)initWithNoteAclInviteOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoteAclInviteOnly; + } + return self; +} + +- (instancetype)initWithNoteAclLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoteAclLink; + } + return self; +} + +- (instancetype)initWithNoteAclTeamLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoteAclTeamLink; + } + return self; +} + +- (instancetype)initWithNoteShared { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoteShared; + } + return self; +} + +- (instancetype)initWithNoteShareReceive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNoteShareReceive; + } + return self; +} + +- (instancetype)initWithOpenNoteShared { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgOpenNoteShared; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated; + } + return self; +} + +- (instancetype)initWithReplayFileSharedLinkModified { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgReplayFileSharedLinkModified; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamAdd { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgReplayProjectTeamAdd; + } + return self; +} + +- (instancetype)initWithReplayProjectTeamDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgReplayProjectTeamDelete; + } + return self; +} + +- (instancetype)initWithSfAddGroup { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfAddGroup; + } + return self; +} + +- (instancetype)initWithSfAllowNonMembersToViewSharedLinks { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks; + } + return self; +} + +- (instancetype)initWithSfExternalInviteWarn { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfExternalInviteWarn; + } + return self; +} + +- (instancetype)initWithSfFbInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfFbInvite; + } + return self; +} + +- (instancetype)initWithSfFbInviteChangeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfFbInviteChangeRole; + } + return self; +} + +- (instancetype)initWithSfFbUninvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfFbUninvite; + } + return self; +} + +- (instancetype)initWithSfInviteGroup { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfInviteGroup; + } + return self; +} + +- (instancetype)initWithSfTeamGrantAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamGrantAccess; + } + return self; +} + +- (instancetype)initWithSfTeamInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamInvite; + } + return self; +} + +- (instancetype)initWithSfTeamInviteChangeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamInviteChangeRole; + } + return self; +} + +- (instancetype)initWithSfTeamJoin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamJoin; + } + return self; +} + +- (instancetype)initWithSfTeamJoinFromOobLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink; + } + return self; +} + +- (instancetype)initWithSfTeamUninvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSfTeamUninvite; + } + return self; +} + +- (instancetype)initWithSharedContentAddInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentAddInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentAddLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentAddLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentAddMember; + } + return self; +} + +- (instancetype)initWithSharedContentChangeDownloadsPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy; + } + return self; +} + +- (instancetype)initWithSharedContentChangeInviteeRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkAudience { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentChangeLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentChangeMemberRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeMemberRole; + } + return self; +} + +- (instancetype)initWithSharedContentChangeViewerInfoPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy; + } + return self; +} + +- (instancetype)initWithSharedContentClaimInvitation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentClaimInvitation; + } + return self; +} + +- (instancetype)initWithSharedContentCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentCopy; + } + return self; +} + +- (instancetype)initWithSharedContentDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentDownload; + } + return self; +} + +- (instancetype)initWithSharedContentRelinquishMembership { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRelinquishMembership; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRemoveInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveLinkPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword; + } + return self; +} + +- (instancetype)initWithSharedContentRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRemoveMember; + } + return self; +} + +- (instancetype)initWithSharedContentRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRequestAccess; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreInvitees { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRestoreInvitees; + } + return self; +} + +- (instancetype)initWithSharedContentRestoreMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentRestoreMember; + } + return self; +} + +- (instancetype)initWithSharedContentUnshare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentUnshare; + } + return self; +} + +- (instancetype)initWithSharedContentView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedContentView; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersManagementPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderChangeMembersPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy; + } + return self; +} + +- (instancetype)initWithSharedFolderCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderCreate; + } + return self; +} + +- (instancetype)initWithSharedFolderDeclineInvitation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation; + } + return self; +} + +- (instancetype)initWithSharedFolderMount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderMount; + } + return self; +} + +- (instancetype)initWithSharedFolderNest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderNest; + } + return self; +} + +- (instancetype)initWithSharedFolderTransferOwnership { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderTransferOwnership; + } + return self; +} + +- (instancetype)initWithSharedFolderUnmount { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedFolderUnmount; + } + return self; +} + +- (instancetype)initWithSharedLinkAddExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkAddExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkChangeExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkChangeVisibility { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkChangeVisibility; + } + return self; +} + +- (instancetype)initWithSharedLinkCopy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkCopy; + } + return self; +} + +- (instancetype)initWithSharedLinkCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkCreate; + } + return self; +} + +- (instancetype)initWithSharedLinkDisable { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkDisable; + } + return self; +} + +- (instancetype)initWithSharedLinkDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkDownload; + } + return self; +} + +- (instancetype)initWithSharedLinkRemoveExpiry { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAddPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeAudience { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangeExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsChangePassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemoveExpiration { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration; + } + return self; +} + +- (instancetype)initWithSharedLinkSettingsRemovePassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword; + } + return self; +} + +- (instancetype)initWithSharedLinkShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkShare; + } + return self; +} + +- (instancetype)initWithSharedLinkView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedLinkView; + } + return self; +} + +- (instancetype)initWithSharedNoteOpened { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharedNoteOpened; + } + return self; +} + +- (instancetype)initWithShmodelDisableDownloads { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShmodelDisableDownloads; + } + return self; +} + +- (instancetype)initWithShmodelEnableDownloads { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShmodelEnableDownloads; + } + return self; +} + +- (instancetype)initWithShmodelGroupShare { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShmodelGroupShare; + } + return self; +} + +- (instancetype)initWithShowcaseAccessGranted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseAccessGranted; + } + return self; +} + +- (instancetype)initWithShowcaseAddMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseAddMember; + } + return self; +} + +- (instancetype)initWithShowcaseArchived { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseArchived; + } + return self; +} + +- (instancetype)initWithShowcaseCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseCreated; + } + return self; +} + +- (instancetype)initWithShowcaseDeleteComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseDeleteComment; + } + return self; +} + +- (instancetype)initWithShowcaseEdited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseEdited; + } + return self; +} + +- (instancetype)initWithShowcaseEditComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseEditComment; + } + return self; +} + +- (instancetype)initWithShowcaseFileAdded { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseFileAdded; + } + return self; +} + +- (instancetype)initWithShowcaseFileDownload { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseFileDownload; + } + return self; +} + +- (instancetype)initWithShowcaseFileRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseFileRemoved; + } + return self; +} + +- (instancetype)initWithShowcaseFileView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseFileView; + } + return self; +} + +- (instancetype)initWithShowcasePermanentlyDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted; + } + return self; +} + +- (instancetype)initWithShowcasePostComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcasePostComment; + } + return self; +} + +- (instancetype)initWithShowcaseRemoveMember { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseRemoveMember; + } + return self; +} + +- (instancetype)initWithShowcaseRenamed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseRenamed; + } + return self; +} + +- (instancetype)initWithShowcaseRequestAccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseRequestAccess; + } + return self; +} + +- (instancetype)initWithShowcaseResolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseResolveComment; + } + return self; +} + +- (instancetype)initWithShowcaseRestored { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseRestored; + } + return self; +} + +- (instancetype)initWithShowcaseTrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseTrashed; + } + return self; +} + +- (instancetype)initWithShowcaseTrashedDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated; + } + return self; +} + +- (instancetype)initWithShowcaseUnresolveComment { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseUnresolveComment; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashed { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseUntrashed; + } + return self; +} + +- (instancetype)initWithShowcaseUntrashedDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated; + } + return self; +} + +- (instancetype)initWithShowcaseView { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseView; + } + return self; +} + +- (instancetype)initWithSsoAddCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoAddCert; + } + return self; +} + +- (instancetype)initWithSsoAddLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoAddLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoAddLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoAddLogoutUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoChangeCert; + } + return self; +} + +- (instancetype)initWithSsoChangeLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoChangeLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoChangeLogoutUrl; + } + return self; +} + +- (instancetype)initWithSsoChangeSamlIdentityMode { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode; + } + return self; +} + +- (instancetype)initWithSsoRemoveCert { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoRemoveCert; + } + return self; +} + +- (instancetype)initWithSsoRemoveLoginUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoRemoveLoginUrl; + } + return self; +} + +- (instancetype)initWithSsoRemoveLogoutUrl { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl; + } + return self; +} + +- (instancetype)initWithTeamFolderChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamFolderChangeStatus; + } + return self; +} + +- (instancetype)initWithTeamFolderCreate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamFolderCreate; + } + return self; +} + +- (instancetype)initWithTeamFolderDowngrade { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamFolderDowngrade; + } + return self; +} + +- (instancetype)initWithTeamFolderPermanentlyDelete { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete; + } + return self; +} + +- (instancetype)initWithTeamFolderRename { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamFolderRename; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncSettingsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged; + } + return self; +} + +- (instancetype)initWithAccountCaptureChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAccountCaptureChangePolicy; + } + return self; +} + +- (instancetype)initWithAdminEmailRemindersChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAdminEmailRemindersChanged; + } + return self; +} + +- (instancetype)initWithAllowDownloadDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAllowDownloadDisabled; + } + return self; +} + +- (instancetype)initWithAllowDownloadEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAllowDownloadEnabled; + } + return self; +} + +- (instancetype)initWithAppPermissionsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgAppPermissionsChanged; + } + return self; +} + +- (instancetype)initWithCameraUploadsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged; + } + return self; +} + +- (instancetype)initWithCaptureTranscriptPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged; + } + return self; +} + +- (instancetype)initWithClassificationChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgClassificationChangePolicy; + } + return self; +} + +- (instancetype)initWithComputerBackupPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgComputerBackupPolicyChanged; + } + return self; +} + +- (instancetype)initWithContentAdministrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy; + } + return self; +} + +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsAddException; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeMobilePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeOverageAction { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsChangeUnlinkAction { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction; + } + return self; +} + +- (instancetype)initWithDeviceApprovalsRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsAddMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers; + } + return self; +} + +- (instancetype)initWithDirectoryRestrictionsRemoveMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers; + } + return self; +} + +- (instancetype)initWithDropboxPasswordsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged; + } + return self; +} + +- (instancetype)initWithEmailIngestPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmailIngestPolicyChanged; + } + return self; +} + +- (instancetype)initWithEmmAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmAddException; + } + return self; +} + +- (instancetype)initWithEmmChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmChangePolicy; + } + return self; +} + +- (instancetype)initWithEmmRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEmmRemoveException; + } + return self; +} + +- (instancetype)initWithExtendedVersionHistoryChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy; + } + return self; +} + +- (instancetype)initWithExternalDriveBackupPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileCommentsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileCommentsChangePolicy; + } + return self; +} + +- (instancetype)initWithFileLockingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileLockingPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileProviderMigrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithFileRequestsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestsChangePolicy; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled; + } + return self; +} + +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly; + } + return self; +} + +- (instancetype)initWithFileTransfersPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFileTransfersPolicyChanged; + } + return self; +} + +- (instancetype)initWithFolderLinkRestrictionPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged; + } + return self; +} + +- (instancetype)initWithGoogleSsoChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGoogleSsoChangePolicy; + } + return self; +} + +- (instancetype)initWithGroupUserManagementChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy; + } + return self; +} + +- (instancetype)initWithIntegrationPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgIntegrationPolicyChanged; + } + return self; +} + +- (instancetype)initWithInviteAcceptanceEmailPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged; + } + return self; +} + +- (instancetype)initWithMemberRequestsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberRequestsChangePolicy; + } + return self; +} + +- (instancetype)initWithMemberSendInvitePolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy; + } + return self; +} + +- (instancetype)initWithMemberSpaceLimitsRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException; + } + return self; +} + +- (instancetype)initWithMemberSuggestionsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy; + } + return self; +} + +- (instancetype)initWithMicrosoftOfficeAddinChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy; + } + return self; +} + +- (instancetype)initWithNetworkControlChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgNetworkControlChangePolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeDeploymentPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangeMemberPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperChangeMemberPolicy; + } + return self; +} + +- (instancetype)initWithPaperChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperChangePolicy; + } + return self; +} + +- (instancetype)initWithPaperDefaultFolderPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged; + } + return self; +} + +- (instancetype)initWithPaperDesktopPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupAddition { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition; + } + return self; +} + +- (instancetype)initWithPaperEnabledUsersGroupRemoval { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval; + } + return self; +} + +- (instancetype)initWithPasswordStrengthRequirementsChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy; + } + return self; +} + +- (instancetype)initWithPermanentDeleteChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy; + } + return self; +} + +- (instancetype)initWithResellerSupportChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgResellerSupportChangePolicy; + } + return self; +} + +- (instancetype)initWithRewindPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgRewindPolicyChanged; + } + return self; +} + +- (instancetype)initWithSendForSignaturePolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged; + } + return self; +} + +- (instancetype)initWithSharingChangeFolderJoinPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeLinkPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeLinkPolicy; + } + return self; +} + +- (instancetype)initWithSharingChangeMemberPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSharingChangeMemberPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeDownloadPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeEnabledPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy; + } + return self; +} + +- (instancetype)initWithShowcaseChangeExternalSharingPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy; + } + return self; +} + +- (instancetype)initWithSmarterSmartSyncPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged; + } + return self; +} + +- (instancetype)initWithSmartSyncChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSmartSyncChangePolicy; + } + return self; +} + +- (instancetype)initWithSmartSyncNotOptOut { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSmartSyncNotOptOut; + } + return self; +} + +- (instancetype)initWithSmartSyncOptOut { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSmartSyncOptOut; + } + return self; +} + +- (instancetype)initWithSsoChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgSsoChangePolicy; + } + return self; +} + +- (instancetype)initWithTeamBrandingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamExtensionsPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamSelectiveSyncPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged; + } + return self; +} + +- (instancetype)initWithTeamSharingWhitelistSubjectsChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged; + } + return self; +} + +- (instancetype)initWithTfaAddException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaAddException; + } + return self; +} + +- (instancetype)initWithTfaChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaChangePolicy; + } + return self; +} + +- (instancetype)initWithTfaRemoveException { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaRemoveException; + } + return self; +} + +- (instancetype)initWithTwoAccountChangePolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTwoAccountChangePolicy; + } + return self; +} + +- (instancetype)initWithViewerInfoPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgViewerInfoPolicyChanged; + } + return self; +} + +- (instancetype)initWithWatermarkingPolicyChanged { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgWatermarkingPolicyChanged; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeActiveSessionLimit { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeFixedLengthPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy; + } + return self; +} + +- (instancetype)initWithWebSessionsChangeIdleLengthPolicy { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestSuccessful { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful; + } + return self; +} + +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessful { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful; + } + return self; +} + +- (instancetype)initWithTeamMergeFrom { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeFrom; + } + return self; +} + +- (instancetype)initWithTeamMergeTo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeTo; + } + return self; +} + +- (instancetype)initWithTeamProfileAddBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileAddBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileAddLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileAddLogo; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileChangeBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeDefaultLanguage { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileChangeLogo; + } + return self; +} + +- (instancetype)initWithTeamProfileChangeName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileChangeName; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveBackground { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileRemoveBackground; + } + return self; +} + +- (instancetype)initWithTeamProfileRemoveLogo { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamProfileRemoveLogo; + } + return self; +} + +- (instancetype)initWithTfaAddBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaAddBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaAddSecurityKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaAddSecurityKey; + } + return self; +} + +- (instancetype)initWithTfaChangeBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaChangeBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaChangeStatus; + } + return self; +} + +- (instancetype)initWithTfaRemoveBackupPhone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaRemoveBackupPhone; + } + return self; +} + +- (instancetype)initWithTfaRemoveSecurityKey { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaRemoveSecurityKey; + } + return self; +} + +- (instancetype)initWithTfaReset { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTfaReset; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseAdminRole { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole; + } + return self; +} + +- (instancetype)initWithChangedEnterpriseConnectedTeamStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession; + } + return self; +} + +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated; + } + return self; +} + +- (instancetype)initWithEnterpriseSettingsLocking { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgEnterpriseSettingsLocking; + } + return self; +} + +- (instancetype)initWithGuestAdminChangeStatus { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgGuestAdminChangeStatus; + } + return self; +} + +- (instancetype)initWithStartedEnterpriseAdminSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAccepted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestAccepted; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestAutoCanceled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestCanceled; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpired { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestExpired; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestReminder; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestRevoked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestRevoked; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam; + } + return self; +} + +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGEventTypeArgOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAdminAlertingAlertStateChanged { + return _tag == DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged; +} + +- (BOOL)isAdminAlertingChangedAlertConfig { + return _tag == DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig; +} + +- (BOOL)isAdminAlertingTriggeredAlert { + return _tag == DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert; +} + +- (BOOL)isRansomwareRestoreProcessCompleted { + return _tag == DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted; +} + +- (BOOL)isRansomwareRestoreProcessStarted { + return _tag == DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted; +} + +- (BOOL)isAppBlockedByPermissions { + return _tag == DBTEAMLOGEventTypeArgAppBlockedByPermissions; +} + +- (BOOL)isAppLinkTeam { + return _tag == DBTEAMLOGEventTypeArgAppLinkTeam; +} + +- (BOOL)isAppLinkUser { + return _tag == DBTEAMLOGEventTypeArgAppLinkUser; +} + +- (BOOL)isAppUnlinkTeam { + return _tag == DBTEAMLOGEventTypeArgAppUnlinkTeam; +} + +- (BOOL)isAppUnlinkUser { + return _tag == DBTEAMLOGEventTypeArgAppUnlinkUser; +} + +- (BOOL)isIntegrationConnected { + return _tag == DBTEAMLOGEventTypeArgIntegrationConnected; +} + +- (BOOL)isIntegrationDisconnected { + return _tag == DBTEAMLOGEventTypeArgIntegrationDisconnected; +} + +- (BOOL)isFileAddComment { + return _tag == DBTEAMLOGEventTypeArgFileAddComment; +} + +- (BOOL)isFileChangeCommentSubscription { + return _tag == DBTEAMLOGEventTypeArgFileChangeCommentSubscription; +} + +- (BOOL)isFileDeleteComment { + return _tag == DBTEAMLOGEventTypeArgFileDeleteComment; +} + +- (BOOL)isFileEditComment { + return _tag == DBTEAMLOGEventTypeArgFileEditComment; +} + +- (BOOL)isFileLikeComment { + return _tag == DBTEAMLOGEventTypeArgFileLikeComment; +} + +- (BOOL)isFileResolveComment { + return _tag == DBTEAMLOGEventTypeArgFileResolveComment; +} + +- (BOOL)isFileUnlikeComment { + return _tag == DBTEAMLOGEventTypeArgFileUnlikeComment; +} + +- (BOOL)isFileUnresolveComment { + return _tag == DBTEAMLOGEventTypeArgFileUnresolveComment; +} + +- (BOOL)isGovernancePolicyAddFolders { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyAddFolders; +} + +- (BOOL)isGovernancePolicyAddFolderFailed { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed; +} + +- (BOOL)isGovernancePolicyContentDisposed { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed; +} + +- (BOOL)isGovernancePolicyCreate { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyCreate; +} + +- (BOOL)isGovernancePolicyDelete { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyDelete; +} + +- (BOOL)isGovernancePolicyEditDetails { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyEditDetails; +} + +- (BOOL)isGovernancePolicyEditDuration { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyEditDuration; +} + +- (BOOL)isGovernancePolicyExportCreated { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyExportCreated; +} + +- (BOOL)isGovernancePolicyExportRemoved { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved; +} + +- (BOOL)isGovernancePolicyRemoveFolders { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders; +} + +- (BOOL)isGovernancePolicyReportCreated { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyReportCreated; +} + +- (BOOL)isGovernancePolicyZipPartDownloaded { + return _tag == DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded; +} + +- (BOOL)isLegalHoldsActivateAHold { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsActivateAHold; +} + +- (BOOL)isLegalHoldsAddMembers { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsAddMembers; +} + +- (BOOL)isLegalHoldsChangeHoldDetails { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails; +} + +- (BOOL)isLegalHoldsChangeHoldName { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName; +} + +- (BOOL)isLegalHoldsExportAHold { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsExportAHold; +} + +- (BOOL)isLegalHoldsExportCancelled { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsExportCancelled; +} + +- (BOOL)isLegalHoldsExportDownloaded { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded; +} + +- (BOOL)isLegalHoldsExportRemoved { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsExportRemoved; +} + +- (BOOL)isLegalHoldsReleaseAHold { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold; +} + +- (BOOL)isLegalHoldsRemoveMembers { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers; +} + +- (BOOL)isLegalHoldsReportAHold { + return _tag == DBTEAMLOGEventTypeArgLegalHoldsReportAHold; +} + +- (BOOL)isDeviceChangeIpDesktop { + return _tag == DBTEAMLOGEventTypeArgDeviceChangeIpDesktop; +} + +- (BOOL)isDeviceChangeIpMobile { + return _tag == DBTEAMLOGEventTypeArgDeviceChangeIpMobile; +} + +- (BOOL)isDeviceChangeIpWeb { + return _tag == DBTEAMLOGEventTypeArgDeviceChangeIpWeb; +} + +- (BOOL)isDeviceDeleteOnUnlinkFail { + return _tag == DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail; +} + +- (BOOL)isDeviceDeleteOnUnlinkSuccess { + return _tag == DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess; +} + +- (BOOL)isDeviceLinkFail { + return _tag == DBTEAMLOGEventTypeArgDeviceLinkFail; +} + +- (BOOL)isDeviceLinkSuccess { + return _tag == DBTEAMLOGEventTypeArgDeviceLinkSuccess; +} + +- (BOOL)isDeviceManagementDisabled { + return _tag == DBTEAMLOGEventTypeArgDeviceManagementDisabled; +} + +- (BOOL)isDeviceManagementEnabled { + return _tag == DBTEAMLOGEventTypeArgDeviceManagementEnabled; +} + +- (BOOL)isDeviceSyncBackupStatusChanged { + return _tag == DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged; +} + +- (BOOL)isDeviceUnlink { + return _tag == DBTEAMLOGEventTypeArgDeviceUnlink; +} + +- (BOOL)isDropboxPasswordsExported { + return _tag == DBTEAMLOGEventTypeArgDropboxPasswordsExported; +} + +- (BOOL)isDropboxPasswordsNewDeviceEnrolled { + return _tag == DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled; +} + +- (BOOL)isEmmRefreshAuthToken { + return _tag == DBTEAMLOGEventTypeArgEmmRefreshAuthToken; +} + +- (BOOL)isExternalDriveBackupEligibilityStatusChecked { + return _tag == DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked; +} + +- (BOOL)isExternalDriveBackupStatusChanged { + return _tag == DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged; +} + +- (BOOL)isAccountCaptureChangeAvailability { + return _tag == DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability; +} + +- (BOOL)isAccountCaptureMigrateAccount { + return _tag == DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount; +} + +- (BOOL)isAccountCaptureNotificationEmailsSent { + return _tag == DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent; +} + +- (BOOL)isAccountCaptureRelinquishAccount { + return _tag == DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount; +} + +- (BOOL)isDisabledDomainInvites { + return _tag == DBTEAMLOGEventTypeArgDisabledDomainInvites; +} + +- (BOOL)isDomainInvitesApproveRequestToJoinTeam { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam; +} + +- (BOOL)isDomainInvitesDeclineRequestToJoinTeam { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam; +} + +- (BOOL)isDomainInvitesEmailExistingUsers { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers; +} + +- (BOOL)isDomainInvitesRequestToJoinTeam { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam; +} + +- (BOOL)isDomainInvitesSetInviteNewUserPrefToNo { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo; +} + +- (BOOL)isDomainInvitesSetInviteNewUserPrefToYes { + return _tag == DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes; +} + +- (BOOL)isDomainVerificationAddDomainFail { + return _tag == DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail; +} + +- (BOOL)isDomainVerificationAddDomainSuccess { + return _tag == DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess; +} + +- (BOOL)isDomainVerificationRemoveDomain { + return _tag == DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain; +} + +- (BOOL)isEnabledDomainInvites { + return _tag == DBTEAMLOGEventTypeArgEnabledDomainInvites; +} + +- (BOOL)isTeamEncryptionKeyCancelKeyDeletion { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion; +} + +- (BOOL)isTeamEncryptionKeyCreateKey { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey; +} + +- (BOOL)isTeamEncryptionKeyDeleteKey { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey; +} + +- (BOOL)isTeamEncryptionKeyDisableKey { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey; +} + +- (BOOL)isTeamEncryptionKeyEnableKey { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey; +} + +- (BOOL)isTeamEncryptionKeyRotateKey { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey; +} + +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletion { + return _tag == DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion; +} + +- (BOOL)isApplyNamingConvention { + return _tag == DBTEAMLOGEventTypeArgApplyNamingConvention; +} + +- (BOOL)isCreateFolder { + return _tag == DBTEAMLOGEventTypeArgCreateFolder; +} + +- (BOOL)isFileAdd { + return _tag == DBTEAMLOGEventTypeArgFileAdd; +} + +- (BOOL)isFileAddFromAutomation { + return _tag == DBTEAMLOGEventTypeArgFileAddFromAutomation; +} + +- (BOOL)isFileCopy { + return _tag == DBTEAMLOGEventTypeArgFileCopy; +} + +- (BOOL)isFileDelete { + return _tag == DBTEAMLOGEventTypeArgFileDelete; +} + +- (BOOL)isFileDownload { + return _tag == DBTEAMLOGEventTypeArgFileDownload; +} + +- (BOOL)isFileEdit { + return _tag == DBTEAMLOGEventTypeArgFileEdit; +} + +- (BOOL)isFileGetCopyReference { + return _tag == DBTEAMLOGEventTypeArgFileGetCopyReference; +} + +- (BOOL)isFileLockingLockStatusChanged { + return _tag == DBTEAMLOGEventTypeArgFileLockingLockStatusChanged; +} + +- (BOOL)isFileMove { + return _tag == DBTEAMLOGEventTypeArgFileMove; +} + +- (BOOL)isFilePermanentlyDelete { + return _tag == DBTEAMLOGEventTypeArgFilePermanentlyDelete; +} + +- (BOOL)isFilePreview { + return _tag == DBTEAMLOGEventTypeArgFilePreview; +} + +- (BOOL)isFileRename { + return _tag == DBTEAMLOGEventTypeArgFileRename; +} + +- (BOOL)isFileRestore { + return _tag == DBTEAMLOGEventTypeArgFileRestore; +} + +- (BOOL)isFileRevert { + return _tag == DBTEAMLOGEventTypeArgFileRevert; +} + +- (BOOL)isFileRollbackChanges { + return _tag == DBTEAMLOGEventTypeArgFileRollbackChanges; +} + +- (BOOL)isFileSaveCopyReference { + return _tag == DBTEAMLOGEventTypeArgFileSaveCopyReference; +} + +- (BOOL)isFolderOverviewDescriptionChanged { + return _tag == DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged; +} + +- (BOOL)isFolderOverviewItemPinned { + return _tag == DBTEAMLOGEventTypeArgFolderOverviewItemPinned; +} + +- (BOOL)isFolderOverviewItemUnpinned { + return _tag == DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned; +} + +- (BOOL)isObjectLabelAdded { + return _tag == DBTEAMLOGEventTypeArgObjectLabelAdded; +} + +- (BOOL)isObjectLabelRemoved { + return _tag == DBTEAMLOGEventTypeArgObjectLabelRemoved; +} + +- (BOOL)isObjectLabelUpdatedValue { + return _tag == DBTEAMLOGEventTypeArgObjectLabelUpdatedValue; +} + +- (BOOL)isOrganizeFolderWithTidy { + return _tag == DBTEAMLOGEventTypeArgOrganizeFolderWithTidy; +} + +- (BOOL)isReplayFileDelete { + return _tag == DBTEAMLOGEventTypeArgReplayFileDelete; +} + +- (BOOL)isRewindFolder { + return _tag == DBTEAMLOGEventTypeArgRewindFolder; +} + +- (BOOL)isUndoNamingConvention { + return _tag == DBTEAMLOGEventTypeArgUndoNamingConvention; +} + +- (BOOL)isUndoOrganizeFolderWithTidy { + return _tag == DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy; +} + +- (BOOL)isUserTagsAdded { + return _tag == DBTEAMLOGEventTypeArgUserTagsAdded; +} + +- (BOOL)isUserTagsRemoved { + return _tag == DBTEAMLOGEventTypeArgUserTagsRemoved; +} + +- (BOOL)isEmailIngestReceiveFile { + return _tag == DBTEAMLOGEventTypeArgEmailIngestReceiveFile; +} + +- (BOOL)isFileRequestChange { + return _tag == DBTEAMLOGEventTypeArgFileRequestChange; +} + +- (BOOL)isFileRequestClose { + return _tag == DBTEAMLOGEventTypeArgFileRequestClose; +} + +- (BOOL)isFileRequestCreate { + return _tag == DBTEAMLOGEventTypeArgFileRequestCreate; +} + +- (BOOL)isFileRequestDelete { + return _tag == DBTEAMLOGEventTypeArgFileRequestDelete; +} + +- (BOOL)isFileRequestReceiveFile { + return _tag == DBTEAMLOGEventTypeArgFileRequestReceiveFile; +} + +- (BOOL)isGroupAddExternalId { + return _tag == DBTEAMLOGEventTypeArgGroupAddExternalId; +} + +- (BOOL)isGroupAddMember { + return _tag == DBTEAMLOGEventTypeArgGroupAddMember; +} + +- (BOOL)isGroupChangeExternalId { + return _tag == DBTEAMLOGEventTypeArgGroupChangeExternalId; +} + +- (BOOL)isGroupChangeManagementType { + return _tag == DBTEAMLOGEventTypeArgGroupChangeManagementType; +} + +- (BOOL)isGroupChangeMemberRole { + return _tag == DBTEAMLOGEventTypeArgGroupChangeMemberRole; +} + +- (BOOL)isGroupCreate { + return _tag == DBTEAMLOGEventTypeArgGroupCreate; +} + +- (BOOL)isGroupDelete { + return _tag == DBTEAMLOGEventTypeArgGroupDelete; +} + +- (BOOL)isGroupDescriptionUpdated { + return _tag == DBTEAMLOGEventTypeArgGroupDescriptionUpdated; +} + +- (BOOL)isGroupJoinPolicyUpdated { + return _tag == DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated; +} + +- (BOOL)isGroupMoved { + return _tag == DBTEAMLOGEventTypeArgGroupMoved; +} + +- (BOOL)isGroupRemoveExternalId { + return _tag == DBTEAMLOGEventTypeArgGroupRemoveExternalId; +} + +- (BOOL)isGroupRemoveMember { + return _tag == DBTEAMLOGEventTypeArgGroupRemoveMember; +} + +- (BOOL)isGroupRename { + return _tag == DBTEAMLOGEventTypeArgGroupRename; +} + +- (BOOL)isAccountLockOrUnlocked { + return _tag == DBTEAMLOGEventTypeArgAccountLockOrUnlocked; +} + +- (BOOL)isEmmError { + return _tag == DBTEAMLOGEventTypeArgEmmError; +} + +- (BOOL)isGuestAdminSignedInViaTrustedTeams { + return _tag == DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams; +} + +- (BOOL)isGuestAdminSignedOutViaTrustedTeams { + return _tag == DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams; +} + +- (BOOL)isLoginFail { + return _tag == DBTEAMLOGEventTypeArgLoginFail; +} + +- (BOOL)isLoginSuccess { + return _tag == DBTEAMLOGEventTypeArgLoginSuccess; +} + +- (BOOL)isLogout { + return _tag == DBTEAMLOGEventTypeArgLogout; +} + +- (BOOL)isResellerSupportSessionEnd { + return _tag == DBTEAMLOGEventTypeArgResellerSupportSessionEnd; +} + +- (BOOL)isResellerSupportSessionStart { + return _tag == DBTEAMLOGEventTypeArgResellerSupportSessionStart; +} + +- (BOOL)isSignInAsSessionEnd { + return _tag == DBTEAMLOGEventTypeArgSignInAsSessionEnd; +} + +- (BOOL)isSignInAsSessionStart { + return _tag == DBTEAMLOGEventTypeArgSignInAsSessionStart; +} + +- (BOOL)isSsoError { + return _tag == DBTEAMLOGEventTypeArgSsoError; +} + +- (BOOL)isBackupAdminInvitationSent { + return _tag == DBTEAMLOGEventTypeArgBackupAdminInvitationSent; +} + +- (BOOL)isBackupInvitationOpened { + return _tag == DBTEAMLOGEventTypeArgBackupInvitationOpened; +} + +- (BOOL)isCreateTeamInviteLink { + return _tag == DBTEAMLOGEventTypeArgCreateTeamInviteLink; +} + +- (BOOL)isDeleteTeamInviteLink { + return _tag == DBTEAMLOGEventTypeArgDeleteTeamInviteLink; +} + +- (BOOL)isMemberAddExternalId { + return _tag == DBTEAMLOGEventTypeArgMemberAddExternalId; +} + +- (BOOL)isMemberAddName { + return _tag == DBTEAMLOGEventTypeArgMemberAddName; +} + +- (BOOL)isMemberChangeAdminRole { + return _tag == DBTEAMLOGEventTypeArgMemberChangeAdminRole; +} + +- (BOOL)isMemberChangeEmail { + return _tag == DBTEAMLOGEventTypeArgMemberChangeEmail; +} + +- (BOOL)isMemberChangeExternalId { + return _tag == DBTEAMLOGEventTypeArgMemberChangeExternalId; +} + +- (BOOL)isMemberChangeMembershipType { + return _tag == DBTEAMLOGEventTypeArgMemberChangeMembershipType; +} + +- (BOOL)isMemberChangeName { + return _tag == DBTEAMLOGEventTypeArgMemberChangeName; +} + +- (BOOL)isMemberChangeResellerRole { + return _tag == DBTEAMLOGEventTypeArgMemberChangeResellerRole; +} + +- (BOOL)isMemberChangeStatus { + return _tag == DBTEAMLOGEventTypeArgMemberChangeStatus; +} + +- (BOOL)isMemberDeleteManualContacts { + return _tag == DBTEAMLOGEventTypeArgMemberDeleteManualContacts; +} + +- (BOOL)isMemberDeleteProfilePhoto { + return _tag == DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto; +} + +- (BOOL)isMemberPermanentlyDeleteAccountContents { + return _tag == DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents; +} + +- (BOOL)isMemberRemoveExternalId { + return _tag == DBTEAMLOGEventTypeArgMemberRemoveExternalId; +} + +- (BOOL)isMemberSetProfilePhoto { + return _tag == DBTEAMLOGEventTypeArgMemberSetProfilePhoto; +} + +- (BOOL)isMemberSpaceLimitsAddCustomQuota { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota; +} + +- (BOOL)isMemberSpaceLimitsChangeCustomQuota { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota; +} + +- (BOOL)isMemberSpaceLimitsChangeStatus { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus; +} + +- (BOOL)isMemberSpaceLimitsRemoveCustomQuota { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota; +} + +- (BOOL)isMemberSuggest { + return _tag == DBTEAMLOGEventTypeArgMemberSuggest; +} + +- (BOOL)isMemberTransferAccountContents { + return _tag == DBTEAMLOGEventTypeArgMemberTransferAccountContents; +} + +- (BOOL)isPendingSecondaryEmailAdded { + return _tag == DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded; +} + +- (BOOL)isSecondaryEmailDeleted { + return _tag == DBTEAMLOGEventTypeArgSecondaryEmailDeleted; +} + +- (BOOL)isSecondaryEmailVerified { + return _tag == DBTEAMLOGEventTypeArgSecondaryEmailVerified; +} + +- (BOOL)isSecondaryMailsPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged; +} + +- (BOOL)isBinderAddPage { + return _tag == DBTEAMLOGEventTypeArgBinderAddPage; +} + +- (BOOL)isBinderAddSection { + return _tag == DBTEAMLOGEventTypeArgBinderAddSection; +} + +- (BOOL)isBinderRemovePage { + return _tag == DBTEAMLOGEventTypeArgBinderRemovePage; +} + +- (BOOL)isBinderRemoveSection { + return _tag == DBTEAMLOGEventTypeArgBinderRemoveSection; +} + +- (BOOL)isBinderRenamePage { + return _tag == DBTEAMLOGEventTypeArgBinderRenamePage; +} + +- (BOOL)isBinderRenameSection { + return _tag == DBTEAMLOGEventTypeArgBinderRenameSection; +} + +- (BOOL)isBinderReorderPage { + return _tag == DBTEAMLOGEventTypeArgBinderReorderPage; +} + +- (BOOL)isBinderReorderSection { + return _tag == DBTEAMLOGEventTypeArgBinderReorderSection; +} + +- (BOOL)isPaperContentAddMember { + return _tag == DBTEAMLOGEventTypeArgPaperContentAddMember; +} + +- (BOOL)isPaperContentAddToFolder { + return _tag == DBTEAMLOGEventTypeArgPaperContentAddToFolder; +} + +- (BOOL)isPaperContentArchive { + return _tag == DBTEAMLOGEventTypeArgPaperContentArchive; +} + +- (BOOL)isPaperContentCreate { + return _tag == DBTEAMLOGEventTypeArgPaperContentCreate; +} + +- (BOOL)isPaperContentPermanentlyDelete { + return _tag == DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete; +} + +- (BOOL)isPaperContentRemoveFromFolder { + return _tag == DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder; +} + +- (BOOL)isPaperContentRemoveMember { + return _tag == DBTEAMLOGEventTypeArgPaperContentRemoveMember; +} + +- (BOOL)isPaperContentRename { + return _tag == DBTEAMLOGEventTypeArgPaperContentRename; +} + +- (BOOL)isPaperContentRestore { + return _tag == DBTEAMLOGEventTypeArgPaperContentRestore; +} + +- (BOOL)isPaperDocAddComment { + return _tag == DBTEAMLOGEventTypeArgPaperDocAddComment; +} + +- (BOOL)isPaperDocChangeMemberRole { + return _tag == DBTEAMLOGEventTypeArgPaperDocChangeMemberRole; +} + +- (BOOL)isPaperDocChangeSharingPolicy { + return _tag == DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy; +} + +- (BOOL)isPaperDocChangeSubscription { + return _tag == DBTEAMLOGEventTypeArgPaperDocChangeSubscription; +} + +- (BOOL)isPaperDocDeleted { + return _tag == DBTEAMLOGEventTypeArgPaperDocDeleted; +} + +- (BOOL)isPaperDocDeleteComment { + return _tag == DBTEAMLOGEventTypeArgPaperDocDeleteComment; +} + +- (BOOL)isPaperDocDownload { + return _tag == DBTEAMLOGEventTypeArgPaperDocDownload; +} + +- (BOOL)isPaperDocEdit { + return _tag == DBTEAMLOGEventTypeArgPaperDocEdit; +} + +- (BOOL)isPaperDocEditComment { + return _tag == DBTEAMLOGEventTypeArgPaperDocEditComment; +} + +- (BOOL)isPaperDocFollowed { + return _tag == DBTEAMLOGEventTypeArgPaperDocFollowed; +} + +- (BOOL)isPaperDocMention { + return _tag == DBTEAMLOGEventTypeArgPaperDocMention; +} + +- (BOOL)isPaperDocOwnershipChanged { + return _tag == DBTEAMLOGEventTypeArgPaperDocOwnershipChanged; +} + +- (BOOL)isPaperDocRequestAccess { + return _tag == DBTEAMLOGEventTypeArgPaperDocRequestAccess; +} + +- (BOOL)isPaperDocResolveComment { + return _tag == DBTEAMLOGEventTypeArgPaperDocResolveComment; +} + +- (BOOL)isPaperDocRevert { + return _tag == DBTEAMLOGEventTypeArgPaperDocRevert; +} + +- (BOOL)isPaperDocSlackShare { + return _tag == DBTEAMLOGEventTypeArgPaperDocSlackShare; +} + +- (BOOL)isPaperDocTeamInvite { + return _tag == DBTEAMLOGEventTypeArgPaperDocTeamInvite; +} + +- (BOOL)isPaperDocTrashed { + return _tag == DBTEAMLOGEventTypeArgPaperDocTrashed; +} + +- (BOOL)isPaperDocUnresolveComment { + return _tag == DBTEAMLOGEventTypeArgPaperDocUnresolveComment; +} + +- (BOOL)isPaperDocUntrashed { + return _tag == DBTEAMLOGEventTypeArgPaperDocUntrashed; +} + +- (BOOL)isPaperDocView { + return _tag == DBTEAMLOGEventTypeArgPaperDocView; +} + +- (BOOL)isPaperExternalViewAllow { + return _tag == DBTEAMLOGEventTypeArgPaperExternalViewAllow; +} + +- (BOOL)isPaperExternalViewDefaultTeam { + return _tag == DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam; +} + +- (BOOL)isPaperExternalViewForbid { + return _tag == DBTEAMLOGEventTypeArgPaperExternalViewForbid; +} + +- (BOOL)isPaperFolderChangeSubscription { + return _tag == DBTEAMLOGEventTypeArgPaperFolderChangeSubscription; +} + +- (BOOL)isPaperFolderDeleted { + return _tag == DBTEAMLOGEventTypeArgPaperFolderDeleted; +} + +- (BOOL)isPaperFolderFollowed { + return _tag == DBTEAMLOGEventTypeArgPaperFolderFollowed; +} + +- (BOOL)isPaperFolderTeamInvite { + return _tag == DBTEAMLOGEventTypeArgPaperFolderTeamInvite; +} + +- (BOOL)isPaperPublishedLinkChangePermission { + return _tag == DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission; +} + +- (BOOL)isPaperPublishedLinkCreate { + return _tag == DBTEAMLOGEventTypeArgPaperPublishedLinkCreate; +} + +- (BOOL)isPaperPublishedLinkDisabled { + return _tag == DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled; +} + +- (BOOL)isPaperPublishedLinkView { + return _tag == DBTEAMLOGEventTypeArgPaperPublishedLinkView; +} + +- (BOOL)isPasswordChange { + return _tag == DBTEAMLOGEventTypeArgPasswordChange; +} + +- (BOOL)isPasswordReset { + return _tag == DBTEAMLOGEventTypeArgPasswordReset; +} + +- (BOOL)isPasswordResetAll { + return _tag == DBTEAMLOGEventTypeArgPasswordResetAll; +} + +- (BOOL)isClassificationCreateReport { + return _tag == DBTEAMLOGEventTypeArgClassificationCreateReport; +} + +- (BOOL)isClassificationCreateReportFail { + return _tag == DBTEAMLOGEventTypeArgClassificationCreateReportFail; +} + +- (BOOL)isEmmCreateExceptionsReport { + return _tag == DBTEAMLOGEventTypeArgEmmCreateExceptionsReport; +} + +- (BOOL)isEmmCreateUsageReport { + return _tag == DBTEAMLOGEventTypeArgEmmCreateUsageReport; +} + +- (BOOL)isExportMembersReport { + return _tag == DBTEAMLOGEventTypeArgExportMembersReport; +} + +- (BOOL)isExportMembersReportFail { + return _tag == DBTEAMLOGEventTypeArgExportMembersReportFail; +} + +- (BOOL)isExternalSharingCreateReport { + return _tag == DBTEAMLOGEventTypeArgExternalSharingCreateReport; +} + +- (BOOL)isExternalSharingReportFailed { + return _tag == DBTEAMLOGEventTypeArgExternalSharingReportFailed; +} + +- (BOOL)isNoExpirationLinkGenCreateReport { + return _tag == DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport; +} + +- (BOOL)isNoExpirationLinkGenReportFailed { + return _tag == DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed; +} + +- (BOOL)isNoPasswordLinkGenCreateReport { + return _tag == DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport; +} + +- (BOOL)isNoPasswordLinkGenReportFailed { + return _tag == DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed; +} + +- (BOOL)isNoPasswordLinkViewCreateReport { + return _tag == DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport; +} + +- (BOOL)isNoPasswordLinkViewReportFailed { + return _tag == DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed; +} + +- (BOOL)isOutdatedLinkViewCreateReport { + return _tag == DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport; +} + +- (BOOL)isOutdatedLinkViewReportFailed { + return _tag == DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed; +} + +- (BOOL)isPaperAdminExportStart { + return _tag == DBTEAMLOGEventTypeArgPaperAdminExportStart; +} + +- (BOOL)isRansomwareAlertCreateReport { + return _tag == DBTEAMLOGEventTypeArgRansomwareAlertCreateReport; +} + +- (BOOL)isRansomwareAlertCreateReportFailed { + return _tag == DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed; +} + +- (BOOL)isSmartSyncCreateAdminPrivilegeReport { + return _tag == DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport; +} + +- (BOOL)isTeamActivityCreateReport { + return _tag == DBTEAMLOGEventTypeArgTeamActivityCreateReport; +} + +- (BOOL)isTeamActivityCreateReportFail { + return _tag == DBTEAMLOGEventTypeArgTeamActivityCreateReportFail; +} + +- (BOOL)isCollectionShare { + return _tag == DBTEAMLOGEventTypeArgCollectionShare; +} + +- (BOOL)isFileTransfersFileAdd { + return _tag == DBTEAMLOGEventTypeArgFileTransfersFileAdd; +} + +- (BOOL)isFileTransfersTransferDelete { + return _tag == DBTEAMLOGEventTypeArgFileTransfersTransferDelete; +} + +- (BOOL)isFileTransfersTransferDownload { + return _tag == DBTEAMLOGEventTypeArgFileTransfersTransferDownload; +} + +- (BOOL)isFileTransfersTransferSend { + return _tag == DBTEAMLOGEventTypeArgFileTransfersTransferSend; +} + +- (BOOL)isFileTransfersTransferView { + return _tag == DBTEAMLOGEventTypeArgFileTransfersTransferView; +} + +- (BOOL)isNoteAclInviteOnly { + return _tag == DBTEAMLOGEventTypeArgNoteAclInviteOnly; +} + +- (BOOL)isNoteAclLink { + return _tag == DBTEAMLOGEventTypeArgNoteAclLink; +} + +- (BOOL)isNoteAclTeamLink { + return _tag == DBTEAMLOGEventTypeArgNoteAclTeamLink; +} + +- (BOOL)isNoteShared { + return _tag == DBTEAMLOGEventTypeArgNoteShared; +} + +- (BOOL)isNoteShareReceive { + return _tag == DBTEAMLOGEventTypeArgNoteShareReceive; +} + +- (BOOL)isOpenNoteShared { + return _tag == DBTEAMLOGEventTypeArgOpenNoteShared; +} + +- (BOOL)isReplayFileSharedLinkCreated { + return _tag == DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated; +} + +- (BOOL)isReplayFileSharedLinkModified { + return _tag == DBTEAMLOGEventTypeArgReplayFileSharedLinkModified; +} + +- (BOOL)isReplayProjectTeamAdd { + return _tag == DBTEAMLOGEventTypeArgReplayProjectTeamAdd; +} + +- (BOOL)isReplayProjectTeamDelete { + return _tag == DBTEAMLOGEventTypeArgReplayProjectTeamDelete; +} + +- (BOOL)isSfAddGroup { + return _tag == DBTEAMLOGEventTypeArgSfAddGroup; +} + +- (BOOL)isSfAllowNonMembersToViewSharedLinks { + return _tag == DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks; +} + +- (BOOL)isSfExternalInviteWarn { + return _tag == DBTEAMLOGEventTypeArgSfExternalInviteWarn; +} + +- (BOOL)isSfFbInvite { + return _tag == DBTEAMLOGEventTypeArgSfFbInvite; +} + +- (BOOL)isSfFbInviteChangeRole { + return _tag == DBTEAMLOGEventTypeArgSfFbInviteChangeRole; +} + +- (BOOL)isSfFbUninvite { + return _tag == DBTEAMLOGEventTypeArgSfFbUninvite; +} + +- (BOOL)isSfInviteGroup { + return _tag == DBTEAMLOGEventTypeArgSfInviteGroup; +} + +- (BOOL)isSfTeamGrantAccess { + return _tag == DBTEAMLOGEventTypeArgSfTeamGrantAccess; +} + +- (BOOL)isSfTeamInvite { + return _tag == DBTEAMLOGEventTypeArgSfTeamInvite; +} + +- (BOOL)isSfTeamInviteChangeRole { + return _tag == DBTEAMLOGEventTypeArgSfTeamInviteChangeRole; +} + +- (BOOL)isSfTeamJoin { + return _tag == DBTEAMLOGEventTypeArgSfTeamJoin; +} + +- (BOOL)isSfTeamJoinFromOobLink { + return _tag == DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink; +} + +- (BOOL)isSfTeamUninvite { + return _tag == DBTEAMLOGEventTypeArgSfTeamUninvite; +} + +- (BOOL)isSharedContentAddInvitees { + return _tag == DBTEAMLOGEventTypeArgSharedContentAddInvitees; +} + +- (BOOL)isSharedContentAddLinkExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry; +} + +- (BOOL)isSharedContentAddLinkPassword { + return _tag == DBTEAMLOGEventTypeArgSharedContentAddLinkPassword; +} + +- (BOOL)isSharedContentAddMember { + return _tag == DBTEAMLOGEventTypeArgSharedContentAddMember; +} + +- (BOOL)isSharedContentChangeDownloadsPolicy { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy; +} + +- (BOOL)isSharedContentChangeInviteeRole { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole; +} + +- (BOOL)isSharedContentChangeLinkAudience { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience; +} + +- (BOOL)isSharedContentChangeLinkExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry; +} + +- (BOOL)isSharedContentChangeLinkPassword { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword; +} + +- (BOOL)isSharedContentChangeMemberRole { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeMemberRole; +} + +- (BOOL)isSharedContentChangeViewerInfoPolicy { + return _tag == DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy; +} + +- (BOOL)isSharedContentClaimInvitation { + return _tag == DBTEAMLOGEventTypeArgSharedContentClaimInvitation; +} + +- (BOOL)isSharedContentCopy { + return _tag == DBTEAMLOGEventTypeArgSharedContentCopy; +} + +- (BOOL)isSharedContentDownload { + return _tag == DBTEAMLOGEventTypeArgSharedContentDownload; +} + +- (BOOL)isSharedContentRelinquishMembership { + return _tag == DBTEAMLOGEventTypeArgSharedContentRelinquishMembership; +} + +- (BOOL)isSharedContentRemoveInvitees { + return _tag == DBTEAMLOGEventTypeArgSharedContentRemoveInvitees; +} + +- (BOOL)isSharedContentRemoveLinkExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry; +} + +- (BOOL)isSharedContentRemoveLinkPassword { + return _tag == DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword; +} + +- (BOOL)isSharedContentRemoveMember { + return _tag == DBTEAMLOGEventTypeArgSharedContentRemoveMember; +} + +- (BOOL)isSharedContentRequestAccess { + return _tag == DBTEAMLOGEventTypeArgSharedContentRequestAccess; +} + +- (BOOL)isSharedContentRestoreInvitees { + return _tag == DBTEAMLOGEventTypeArgSharedContentRestoreInvitees; +} + +- (BOOL)isSharedContentRestoreMember { + return _tag == DBTEAMLOGEventTypeArgSharedContentRestoreMember; +} + +- (BOOL)isSharedContentUnshare { + return _tag == DBTEAMLOGEventTypeArgSharedContentUnshare; +} + +- (BOOL)isSharedContentView { + return _tag == DBTEAMLOGEventTypeArgSharedContentView; +} + +- (BOOL)isSharedFolderChangeLinkPolicy { + return _tag == DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy; +} + +- (BOOL)isSharedFolderChangeMembersInheritancePolicy { + return _tag == DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy; +} + +- (BOOL)isSharedFolderChangeMembersManagementPolicy { + return _tag == DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy; +} + +- (BOOL)isSharedFolderChangeMembersPolicy { + return _tag == DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy; +} + +- (BOOL)isSharedFolderCreate { + return _tag == DBTEAMLOGEventTypeArgSharedFolderCreate; +} + +- (BOOL)isSharedFolderDeclineInvitation { + return _tag == DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation; +} + +- (BOOL)isSharedFolderMount { + return _tag == DBTEAMLOGEventTypeArgSharedFolderMount; +} + +- (BOOL)isSharedFolderNest { + return _tag == DBTEAMLOGEventTypeArgSharedFolderNest; +} + +- (BOOL)isSharedFolderTransferOwnership { + return _tag == DBTEAMLOGEventTypeArgSharedFolderTransferOwnership; +} + +- (BOOL)isSharedFolderUnmount { + return _tag == DBTEAMLOGEventTypeArgSharedFolderUnmount; +} + +- (BOOL)isSharedLinkAddExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedLinkAddExpiry; +} + +- (BOOL)isSharedLinkChangeExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedLinkChangeExpiry; +} + +- (BOOL)isSharedLinkChangeVisibility { + return _tag == DBTEAMLOGEventTypeArgSharedLinkChangeVisibility; +} + +- (BOOL)isSharedLinkCopy { + return _tag == DBTEAMLOGEventTypeArgSharedLinkCopy; +} + +- (BOOL)isSharedLinkCreate { + return _tag == DBTEAMLOGEventTypeArgSharedLinkCreate; +} + +- (BOOL)isSharedLinkDisable { + return _tag == DBTEAMLOGEventTypeArgSharedLinkDisable; +} + +- (BOOL)isSharedLinkDownload { + return _tag == DBTEAMLOGEventTypeArgSharedLinkDownload; +} + +- (BOOL)isSharedLinkRemoveExpiry { + return _tag == DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry; +} + +- (BOOL)isSharedLinkSettingsAddExpiration { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration; +} + +- (BOOL)isSharedLinkSettingsAddPassword { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadDisabled { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled; +} + +- (BOOL)isSharedLinkSettingsAllowDownloadEnabled { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled; +} + +- (BOOL)isSharedLinkSettingsChangeAudience { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience; +} + +- (BOOL)isSharedLinkSettingsChangeExpiration { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration; +} + +- (BOOL)isSharedLinkSettingsChangePassword { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword; +} + +- (BOOL)isSharedLinkSettingsRemoveExpiration { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration; +} + +- (BOOL)isSharedLinkSettingsRemovePassword { + return _tag == DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword; +} + +- (BOOL)isSharedLinkShare { + return _tag == DBTEAMLOGEventTypeArgSharedLinkShare; +} + +- (BOOL)isSharedLinkView { + return _tag == DBTEAMLOGEventTypeArgSharedLinkView; +} + +- (BOOL)isSharedNoteOpened { + return _tag == DBTEAMLOGEventTypeArgSharedNoteOpened; +} + +- (BOOL)isShmodelDisableDownloads { + return _tag == DBTEAMLOGEventTypeArgShmodelDisableDownloads; +} + +- (BOOL)isShmodelEnableDownloads { + return _tag == DBTEAMLOGEventTypeArgShmodelEnableDownloads; +} + +- (BOOL)isShmodelGroupShare { + return _tag == DBTEAMLOGEventTypeArgShmodelGroupShare; +} + +- (BOOL)isShowcaseAccessGranted { + return _tag == DBTEAMLOGEventTypeArgShowcaseAccessGranted; +} + +- (BOOL)isShowcaseAddMember { + return _tag == DBTEAMLOGEventTypeArgShowcaseAddMember; +} + +- (BOOL)isShowcaseArchived { + return _tag == DBTEAMLOGEventTypeArgShowcaseArchived; +} + +- (BOOL)isShowcaseCreated { + return _tag == DBTEAMLOGEventTypeArgShowcaseCreated; +} + +- (BOOL)isShowcaseDeleteComment { + return _tag == DBTEAMLOGEventTypeArgShowcaseDeleteComment; +} + +- (BOOL)isShowcaseEdited { + return _tag == DBTEAMLOGEventTypeArgShowcaseEdited; +} + +- (BOOL)isShowcaseEditComment { + return _tag == DBTEAMLOGEventTypeArgShowcaseEditComment; +} + +- (BOOL)isShowcaseFileAdded { + return _tag == DBTEAMLOGEventTypeArgShowcaseFileAdded; +} + +- (BOOL)isShowcaseFileDownload { + return _tag == DBTEAMLOGEventTypeArgShowcaseFileDownload; +} + +- (BOOL)isShowcaseFileRemoved { + return _tag == DBTEAMLOGEventTypeArgShowcaseFileRemoved; +} + +- (BOOL)isShowcaseFileView { + return _tag == DBTEAMLOGEventTypeArgShowcaseFileView; +} + +- (BOOL)isShowcasePermanentlyDeleted { + return _tag == DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted; +} + +- (BOOL)isShowcasePostComment { + return _tag == DBTEAMLOGEventTypeArgShowcasePostComment; +} + +- (BOOL)isShowcaseRemoveMember { + return _tag == DBTEAMLOGEventTypeArgShowcaseRemoveMember; +} + +- (BOOL)isShowcaseRenamed { + return _tag == DBTEAMLOGEventTypeArgShowcaseRenamed; +} + +- (BOOL)isShowcaseRequestAccess { + return _tag == DBTEAMLOGEventTypeArgShowcaseRequestAccess; +} + +- (BOOL)isShowcaseResolveComment { + return _tag == DBTEAMLOGEventTypeArgShowcaseResolveComment; +} + +- (BOOL)isShowcaseRestored { + return _tag == DBTEAMLOGEventTypeArgShowcaseRestored; +} + +- (BOOL)isShowcaseTrashed { + return _tag == DBTEAMLOGEventTypeArgShowcaseTrashed; +} + +- (BOOL)isShowcaseTrashedDeprecated { + return _tag == DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated; +} + +- (BOOL)isShowcaseUnresolveComment { + return _tag == DBTEAMLOGEventTypeArgShowcaseUnresolveComment; +} + +- (BOOL)isShowcaseUntrashed { + return _tag == DBTEAMLOGEventTypeArgShowcaseUntrashed; +} + +- (BOOL)isShowcaseUntrashedDeprecated { + return _tag == DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated; +} + +- (BOOL)isShowcaseView { + return _tag == DBTEAMLOGEventTypeArgShowcaseView; +} + +- (BOOL)isSsoAddCert { + return _tag == DBTEAMLOGEventTypeArgSsoAddCert; +} + +- (BOOL)isSsoAddLoginUrl { + return _tag == DBTEAMLOGEventTypeArgSsoAddLoginUrl; +} + +- (BOOL)isSsoAddLogoutUrl { + return _tag == DBTEAMLOGEventTypeArgSsoAddLogoutUrl; +} + +- (BOOL)isSsoChangeCert { + return _tag == DBTEAMLOGEventTypeArgSsoChangeCert; +} + +- (BOOL)isSsoChangeLoginUrl { + return _tag == DBTEAMLOGEventTypeArgSsoChangeLoginUrl; +} + +- (BOOL)isSsoChangeLogoutUrl { + return _tag == DBTEAMLOGEventTypeArgSsoChangeLogoutUrl; +} + +- (BOOL)isSsoChangeSamlIdentityMode { + return _tag == DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode; +} + +- (BOOL)isSsoRemoveCert { + return _tag == DBTEAMLOGEventTypeArgSsoRemoveCert; +} + +- (BOOL)isSsoRemoveLoginUrl { + return _tag == DBTEAMLOGEventTypeArgSsoRemoveLoginUrl; +} + +- (BOOL)isSsoRemoveLogoutUrl { + return _tag == DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl; +} + +- (BOOL)isTeamFolderChangeStatus { + return _tag == DBTEAMLOGEventTypeArgTeamFolderChangeStatus; +} + +- (BOOL)isTeamFolderCreate { + return _tag == DBTEAMLOGEventTypeArgTeamFolderCreate; +} + +- (BOOL)isTeamFolderDowngrade { + return _tag == DBTEAMLOGEventTypeArgTeamFolderDowngrade; +} + +- (BOOL)isTeamFolderPermanentlyDelete { + return _tag == DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete; +} + +- (BOOL)isTeamFolderRename { + return _tag == DBTEAMLOGEventTypeArgTeamFolderRename; +} + +- (BOOL)isTeamSelectiveSyncSettingsChanged { + return _tag == DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged; +} + +- (BOOL)isAccountCaptureChangePolicy { + return _tag == DBTEAMLOGEventTypeArgAccountCaptureChangePolicy; +} + +- (BOOL)isAdminEmailRemindersChanged { + return _tag == DBTEAMLOGEventTypeArgAdminEmailRemindersChanged; +} + +- (BOOL)isAllowDownloadDisabled { + return _tag == DBTEAMLOGEventTypeArgAllowDownloadDisabled; +} + +- (BOOL)isAllowDownloadEnabled { + return _tag == DBTEAMLOGEventTypeArgAllowDownloadEnabled; +} + +- (BOOL)isAppPermissionsChanged { + return _tag == DBTEAMLOGEventTypeArgAppPermissionsChanged; +} + +- (BOOL)isCameraUploadsPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged; +} + +- (BOOL)isCaptureTranscriptPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged; +} + +- (BOOL)isClassificationChangePolicy { + return _tag == DBTEAMLOGEventTypeArgClassificationChangePolicy; +} + +- (BOOL)isComputerBackupPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgComputerBackupPolicyChanged; +} + +- (BOOL)isContentAdministrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged; +} + +- (BOOL)isDataPlacementRestrictionChangePolicy { + return _tag == DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy; +} + +- (BOOL)isDataPlacementRestrictionSatisfyPolicy { + return _tag == DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy; +} + +- (BOOL)isDeviceApprovalsAddException { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsAddException; +} + +- (BOOL)isDeviceApprovalsChangeDesktopPolicy { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy; +} + +- (BOOL)isDeviceApprovalsChangeMobilePolicy { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy; +} + +- (BOOL)isDeviceApprovalsChangeOverageAction { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction; +} + +- (BOOL)isDeviceApprovalsChangeUnlinkAction { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction; +} + +- (BOOL)isDeviceApprovalsRemoveException { + return _tag == DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException; +} + +- (BOOL)isDirectoryRestrictionsAddMembers { + return _tag == DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers; +} + +- (BOOL)isDirectoryRestrictionsRemoveMembers { + return _tag == DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers; +} + +- (BOOL)isDropboxPasswordsPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged; +} + +- (BOOL)isEmailIngestPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgEmailIngestPolicyChanged; +} + +- (BOOL)isEmmAddException { + return _tag == DBTEAMLOGEventTypeArgEmmAddException; +} + +- (BOOL)isEmmChangePolicy { + return _tag == DBTEAMLOGEventTypeArgEmmChangePolicy; +} + +- (BOOL)isEmmRemoveException { + return _tag == DBTEAMLOGEventTypeArgEmmRemoveException; +} + +- (BOOL)isExtendedVersionHistoryChangePolicy { + return _tag == DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy; +} + +- (BOOL)isExternalDriveBackupPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged; +} + +- (BOOL)isFileCommentsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgFileCommentsChangePolicy; +} + +- (BOOL)isFileLockingPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgFileLockingPolicyChanged; +} + +- (BOOL)isFileProviderMigrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged; +} + +- (BOOL)isFileRequestsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgFileRequestsChangePolicy; +} + +- (BOOL)isFileRequestsEmailsEnabled { + return _tag == DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled; +} + +- (BOOL)isFileRequestsEmailsRestrictedToTeamOnly { + return _tag == DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly; +} + +- (BOOL)isFileTransfersPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgFileTransfersPolicyChanged; +} + +- (BOOL)isFolderLinkRestrictionPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged; +} + +- (BOOL)isGoogleSsoChangePolicy { + return _tag == DBTEAMLOGEventTypeArgGoogleSsoChangePolicy; +} + +- (BOOL)isGroupUserManagementChangePolicy { + return _tag == DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy; +} + +- (BOOL)isIntegrationPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgIntegrationPolicyChanged; +} + +- (BOOL)isInviteAcceptanceEmailPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged; +} + +- (BOOL)isMemberRequestsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgMemberRequestsChangePolicy; +} + +- (BOOL)isMemberSendInvitePolicyChanged { + return _tag == DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged; +} + +- (BOOL)isMemberSpaceLimitsAddException { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException; +} + +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicy { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy; +} + +- (BOOL)isMemberSpaceLimitsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy; +} + +- (BOOL)isMemberSpaceLimitsRemoveException { + return _tag == DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException; +} + +- (BOOL)isMemberSuggestionsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy; +} + +- (BOOL)isMicrosoftOfficeAddinChangePolicy { + return _tag == DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy; +} + +- (BOOL)isNetworkControlChangePolicy { + return _tag == DBTEAMLOGEventTypeArgNetworkControlChangePolicy; +} + +- (BOOL)isPaperChangeDeploymentPolicy { + return _tag == DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy; +} + +- (BOOL)isPaperChangeMemberLinkPolicy { + return _tag == DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy; +} + +- (BOOL)isPaperChangeMemberPolicy { + return _tag == DBTEAMLOGEventTypeArgPaperChangeMemberPolicy; +} + +- (BOOL)isPaperChangePolicy { + return _tag == DBTEAMLOGEventTypeArgPaperChangePolicy; +} + +- (BOOL)isPaperDefaultFolderPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged; +} + +- (BOOL)isPaperDesktopPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged; +} + +- (BOOL)isPaperEnabledUsersGroupAddition { + return _tag == DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition; +} + +- (BOOL)isPaperEnabledUsersGroupRemoval { + return _tag == DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval; +} + +- (BOOL)isPasswordStrengthRequirementsChangePolicy { + return _tag == DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy; +} + +- (BOOL)isPermanentDeleteChangePolicy { + return _tag == DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy; +} + +- (BOOL)isResellerSupportChangePolicy { + return _tag == DBTEAMLOGEventTypeArgResellerSupportChangePolicy; +} + +- (BOOL)isRewindPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgRewindPolicyChanged; +} + +- (BOOL)isSendForSignaturePolicyChanged { + return _tag == DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged; +} + +- (BOOL)isSharingChangeFolderJoinPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy; +} + +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy; +} + +- (BOOL)isSharingChangeLinkDefaultExpirationPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy; +} + +- (BOOL)isSharingChangeLinkEnforcePasswordPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy; +} + +- (BOOL)isSharingChangeLinkPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeLinkPolicy; +} + +- (BOOL)isSharingChangeMemberPolicy { + return _tag == DBTEAMLOGEventTypeArgSharingChangeMemberPolicy; +} + +- (BOOL)isShowcaseChangeDownloadPolicy { + return _tag == DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy; +} + +- (BOOL)isShowcaseChangeEnabledPolicy { + return _tag == DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy; +} + +- (BOOL)isShowcaseChangeExternalSharingPolicy { + return _tag == DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy; +} + +- (BOOL)isSmarterSmartSyncPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged; +} + +- (BOOL)isSmartSyncChangePolicy { + return _tag == DBTEAMLOGEventTypeArgSmartSyncChangePolicy; +} + +- (BOOL)isSmartSyncNotOptOut { + return _tag == DBTEAMLOGEventTypeArgSmartSyncNotOptOut; +} + +- (BOOL)isSmartSyncOptOut { + return _tag == DBTEAMLOGEventTypeArgSmartSyncOptOut; +} + +- (BOOL)isSsoChangePolicy { + return _tag == DBTEAMLOGEventTypeArgSsoChangePolicy; +} + +- (BOOL)isTeamBrandingPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged; +} + +- (BOOL)isTeamExtensionsPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged; +} + +- (BOOL)isTeamSelectiveSyncPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged; +} + +- (BOOL)isTeamSharingWhitelistSubjectsChanged { + return _tag == DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged; +} + +- (BOOL)isTfaAddException { + return _tag == DBTEAMLOGEventTypeArgTfaAddException; +} + +- (BOOL)isTfaChangePolicy { + return _tag == DBTEAMLOGEventTypeArgTfaChangePolicy; +} + +- (BOOL)isTfaRemoveException { + return _tag == DBTEAMLOGEventTypeArgTfaRemoveException; +} + +- (BOOL)isTwoAccountChangePolicy { + return _tag == DBTEAMLOGEventTypeArgTwoAccountChangePolicy; +} + +- (BOOL)isViewerInfoPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgViewerInfoPolicyChanged; +} + +- (BOOL)isWatermarkingPolicyChanged { + return _tag == DBTEAMLOGEventTypeArgWatermarkingPolicyChanged; +} + +- (BOOL)isWebSessionsChangeActiveSessionLimit { + return _tag == DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit; +} + +- (BOOL)isWebSessionsChangeFixedLengthPolicy { + return _tag == DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy; +} + +- (BOOL)isWebSessionsChangeIdleLengthPolicy { + return _tag == DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy; +} + +- (BOOL)isDataResidencyMigrationRequestSuccessful { + return _tag == DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful; +} + +- (BOOL)isDataResidencyMigrationRequestUnsuccessful { + return _tag == DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful; +} + +- (BOOL)isTeamMergeFrom { + return _tag == DBTEAMLOGEventTypeArgTeamMergeFrom; +} + +- (BOOL)isTeamMergeTo { + return _tag == DBTEAMLOGEventTypeArgTeamMergeTo; +} + +- (BOOL)isTeamProfileAddBackground { + return _tag == DBTEAMLOGEventTypeArgTeamProfileAddBackground; +} + +- (BOOL)isTeamProfileAddLogo { + return _tag == DBTEAMLOGEventTypeArgTeamProfileAddLogo; +} + +- (BOOL)isTeamProfileChangeBackground { + return _tag == DBTEAMLOGEventTypeArgTeamProfileChangeBackground; +} + +- (BOOL)isTeamProfileChangeDefaultLanguage { + return _tag == DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage; +} + +- (BOOL)isTeamProfileChangeLogo { + return _tag == DBTEAMLOGEventTypeArgTeamProfileChangeLogo; +} + +- (BOOL)isTeamProfileChangeName { + return _tag == DBTEAMLOGEventTypeArgTeamProfileChangeName; +} + +- (BOOL)isTeamProfileRemoveBackground { + return _tag == DBTEAMLOGEventTypeArgTeamProfileRemoveBackground; +} + +- (BOOL)isTeamProfileRemoveLogo { + return _tag == DBTEAMLOGEventTypeArgTeamProfileRemoveLogo; +} + +- (BOOL)isTfaAddBackupPhone { + return _tag == DBTEAMLOGEventTypeArgTfaAddBackupPhone; +} + +- (BOOL)isTfaAddSecurityKey { + return _tag == DBTEAMLOGEventTypeArgTfaAddSecurityKey; +} + +- (BOOL)isTfaChangeBackupPhone { + return _tag == DBTEAMLOGEventTypeArgTfaChangeBackupPhone; +} + +- (BOOL)isTfaChangeStatus { + return _tag == DBTEAMLOGEventTypeArgTfaChangeStatus; +} + +- (BOOL)isTfaRemoveBackupPhone { + return _tag == DBTEAMLOGEventTypeArgTfaRemoveBackupPhone; +} + +- (BOOL)isTfaRemoveSecurityKey { + return _tag == DBTEAMLOGEventTypeArgTfaRemoveSecurityKey; +} + +- (BOOL)isTfaReset { + return _tag == DBTEAMLOGEventTypeArgTfaReset; +} + +- (BOOL)isChangedEnterpriseAdminRole { + return _tag == DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole; +} + +- (BOOL)isChangedEnterpriseConnectedTeamStatus { + return _tag == DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus; +} + +- (BOOL)isEndedEnterpriseAdminSession { + return _tag == DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession; +} + +- (BOOL)isEndedEnterpriseAdminSessionDeprecated { + return _tag == DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated; +} + +- (BOOL)isEnterpriseSettingsLocking { + return _tag == DBTEAMLOGEventTypeArgEnterpriseSettingsLocking; +} + +- (BOOL)isGuestAdminChangeStatus { + return _tag == DBTEAMLOGEventTypeArgGuestAdminChangeStatus; +} + +- (BOOL)isStartedEnterpriseAdminSession { + return _tag == DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession; +} + +- (BOOL)isTeamMergeRequestAccepted { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestAccepted; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestAutoCanceled { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled; +} + +- (BOOL)isTeamMergeRequestCanceled { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestCanceled; +} + +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestExpired { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestExpired; +} + +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestReminder { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestReminder; +} + +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam; +} + +- (BOOL)isTeamMergeRequestRevoked { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestRevoked; +} + +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam; +} + +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeam { + return _tag == DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGEventTypeArgOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged: + return @"DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged"; + case DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig: + return @"DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig"; + case DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert: + return @"DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert"; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted: + return @"DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted"; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted: + return @"DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted"; + case DBTEAMLOGEventTypeArgAppBlockedByPermissions: + return @"DBTEAMLOGEventTypeArgAppBlockedByPermissions"; + case DBTEAMLOGEventTypeArgAppLinkTeam: + return @"DBTEAMLOGEventTypeArgAppLinkTeam"; + case DBTEAMLOGEventTypeArgAppLinkUser: + return @"DBTEAMLOGEventTypeArgAppLinkUser"; + case DBTEAMLOGEventTypeArgAppUnlinkTeam: + return @"DBTEAMLOGEventTypeArgAppUnlinkTeam"; + case DBTEAMLOGEventTypeArgAppUnlinkUser: + return @"DBTEAMLOGEventTypeArgAppUnlinkUser"; + case DBTEAMLOGEventTypeArgIntegrationConnected: + return @"DBTEAMLOGEventTypeArgIntegrationConnected"; + case DBTEAMLOGEventTypeArgIntegrationDisconnected: + return @"DBTEAMLOGEventTypeArgIntegrationDisconnected"; + case DBTEAMLOGEventTypeArgFileAddComment: + return @"DBTEAMLOGEventTypeArgFileAddComment"; + case DBTEAMLOGEventTypeArgFileChangeCommentSubscription: + return @"DBTEAMLOGEventTypeArgFileChangeCommentSubscription"; + case DBTEAMLOGEventTypeArgFileDeleteComment: + return @"DBTEAMLOGEventTypeArgFileDeleteComment"; + case DBTEAMLOGEventTypeArgFileEditComment: + return @"DBTEAMLOGEventTypeArgFileEditComment"; + case DBTEAMLOGEventTypeArgFileLikeComment: + return @"DBTEAMLOGEventTypeArgFileLikeComment"; + case DBTEAMLOGEventTypeArgFileResolveComment: + return @"DBTEAMLOGEventTypeArgFileResolveComment"; + case DBTEAMLOGEventTypeArgFileUnlikeComment: + return @"DBTEAMLOGEventTypeArgFileUnlikeComment"; + case DBTEAMLOGEventTypeArgFileUnresolveComment: + return @"DBTEAMLOGEventTypeArgFileUnresolveComment"; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolders: + return @"DBTEAMLOGEventTypeArgGovernancePolicyAddFolders"; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed: + return @"DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed"; + case DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed: + return @"DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed"; + case DBTEAMLOGEventTypeArgGovernancePolicyCreate: + return @"DBTEAMLOGEventTypeArgGovernancePolicyCreate"; + case DBTEAMLOGEventTypeArgGovernancePolicyDelete: + return @"DBTEAMLOGEventTypeArgGovernancePolicyDelete"; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDetails: + return @"DBTEAMLOGEventTypeArgGovernancePolicyEditDetails"; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDuration: + return @"DBTEAMLOGEventTypeArgGovernancePolicyEditDuration"; + case DBTEAMLOGEventTypeArgGovernancePolicyExportCreated: + return @"DBTEAMLOGEventTypeArgGovernancePolicyExportCreated"; + case DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved: + return @"DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved"; + case DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders: + return @"DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders"; + case DBTEAMLOGEventTypeArgGovernancePolicyReportCreated: + return @"DBTEAMLOGEventTypeArgGovernancePolicyReportCreated"; + case DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded: + return @"DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded"; + case DBTEAMLOGEventTypeArgLegalHoldsActivateAHold: + return @"DBTEAMLOGEventTypeArgLegalHoldsActivateAHold"; + case DBTEAMLOGEventTypeArgLegalHoldsAddMembers: + return @"DBTEAMLOGEventTypeArgLegalHoldsAddMembers"; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails: + return @"DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails"; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName: + return @"DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName"; + case DBTEAMLOGEventTypeArgLegalHoldsExportAHold: + return @"DBTEAMLOGEventTypeArgLegalHoldsExportAHold"; + case DBTEAMLOGEventTypeArgLegalHoldsExportCancelled: + return @"DBTEAMLOGEventTypeArgLegalHoldsExportCancelled"; + case DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded: + return @"DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded"; + case DBTEAMLOGEventTypeArgLegalHoldsExportRemoved: + return @"DBTEAMLOGEventTypeArgLegalHoldsExportRemoved"; + case DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold: + return @"DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold"; + case DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers: + return @"DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers"; + case DBTEAMLOGEventTypeArgLegalHoldsReportAHold: + return @"DBTEAMLOGEventTypeArgLegalHoldsReportAHold"; + case DBTEAMLOGEventTypeArgDeviceChangeIpDesktop: + return @"DBTEAMLOGEventTypeArgDeviceChangeIpDesktop"; + case DBTEAMLOGEventTypeArgDeviceChangeIpMobile: + return @"DBTEAMLOGEventTypeArgDeviceChangeIpMobile"; + case DBTEAMLOGEventTypeArgDeviceChangeIpWeb: + return @"DBTEAMLOGEventTypeArgDeviceChangeIpWeb"; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail: + return @"DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail"; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess: + return @"DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess"; + case DBTEAMLOGEventTypeArgDeviceLinkFail: + return @"DBTEAMLOGEventTypeArgDeviceLinkFail"; + case DBTEAMLOGEventTypeArgDeviceLinkSuccess: + return @"DBTEAMLOGEventTypeArgDeviceLinkSuccess"; + case DBTEAMLOGEventTypeArgDeviceManagementDisabled: + return @"DBTEAMLOGEventTypeArgDeviceManagementDisabled"; + case DBTEAMLOGEventTypeArgDeviceManagementEnabled: + return @"DBTEAMLOGEventTypeArgDeviceManagementEnabled"; + case DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged: + return @"DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged"; + case DBTEAMLOGEventTypeArgDeviceUnlink: + return @"DBTEAMLOGEventTypeArgDeviceUnlink"; + case DBTEAMLOGEventTypeArgDropboxPasswordsExported: + return @"DBTEAMLOGEventTypeArgDropboxPasswordsExported"; + case DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled: + return @"DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled"; + case DBTEAMLOGEventTypeArgEmmRefreshAuthToken: + return @"DBTEAMLOGEventTypeArgEmmRefreshAuthToken"; + case DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked: + return @"DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked"; + case DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged: + return @"DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged"; + case DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability: + return @"DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability"; + case DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount: + return @"DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount"; + case DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent: + return @"DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent"; + case DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount: + return @"DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount"; + case DBTEAMLOGEventTypeArgDisabledDomainInvites: + return @"DBTEAMLOGEventTypeArgDisabledDomainInvites"; + case DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam: + return @"DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam"; + case DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam: + return @"DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam"; + case DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers: + return @"DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers"; + case DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam: + return @"DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam"; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo: + return @"DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo"; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes: + return @"DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes"; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail: + return @"DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail"; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess: + return @"DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess"; + case DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain: + return @"DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain"; + case DBTEAMLOGEventTypeArgEnabledDomainInvites: + return @"DBTEAMLOGEventTypeArgEnabledDomainInvites"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey"; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion: + return @"DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion"; + case DBTEAMLOGEventTypeArgApplyNamingConvention: + return @"DBTEAMLOGEventTypeArgApplyNamingConvention"; + case DBTEAMLOGEventTypeArgCreateFolder: + return @"DBTEAMLOGEventTypeArgCreateFolder"; + case DBTEAMLOGEventTypeArgFileAdd: + return @"DBTEAMLOGEventTypeArgFileAdd"; + case DBTEAMLOGEventTypeArgFileAddFromAutomation: + return @"DBTEAMLOGEventTypeArgFileAddFromAutomation"; + case DBTEAMLOGEventTypeArgFileCopy: + return @"DBTEAMLOGEventTypeArgFileCopy"; + case DBTEAMLOGEventTypeArgFileDelete: + return @"DBTEAMLOGEventTypeArgFileDelete"; + case DBTEAMLOGEventTypeArgFileDownload: + return @"DBTEAMLOGEventTypeArgFileDownload"; + case DBTEAMLOGEventTypeArgFileEdit: + return @"DBTEAMLOGEventTypeArgFileEdit"; + case DBTEAMLOGEventTypeArgFileGetCopyReference: + return @"DBTEAMLOGEventTypeArgFileGetCopyReference"; + case DBTEAMLOGEventTypeArgFileLockingLockStatusChanged: + return @"DBTEAMLOGEventTypeArgFileLockingLockStatusChanged"; + case DBTEAMLOGEventTypeArgFileMove: + return @"DBTEAMLOGEventTypeArgFileMove"; + case DBTEAMLOGEventTypeArgFilePermanentlyDelete: + return @"DBTEAMLOGEventTypeArgFilePermanentlyDelete"; + case DBTEAMLOGEventTypeArgFilePreview: + return @"DBTEAMLOGEventTypeArgFilePreview"; + case DBTEAMLOGEventTypeArgFileRename: + return @"DBTEAMLOGEventTypeArgFileRename"; + case DBTEAMLOGEventTypeArgFileRestore: + return @"DBTEAMLOGEventTypeArgFileRestore"; + case DBTEAMLOGEventTypeArgFileRevert: + return @"DBTEAMLOGEventTypeArgFileRevert"; + case DBTEAMLOGEventTypeArgFileRollbackChanges: + return @"DBTEAMLOGEventTypeArgFileRollbackChanges"; + case DBTEAMLOGEventTypeArgFileSaveCopyReference: + return @"DBTEAMLOGEventTypeArgFileSaveCopyReference"; + case DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged: + return @"DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged"; + case DBTEAMLOGEventTypeArgFolderOverviewItemPinned: + return @"DBTEAMLOGEventTypeArgFolderOverviewItemPinned"; + case DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned: + return @"DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned"; + case DBTEAMLOGEventTypeArgObjectLabelAdded: + return @"DBTEAMLOGEventTypeArgObjectLabelAdded"; + case DBTEAMLOGEventTypeArgObjectLabelRemoved: + return @"DBTEAMLOGEventTypeArgObjectLabelRemoved"; + case DBTEAMLOGEventTypeArgObjectLabelUpdatedValue: + return @"DBTEAMLOGEventTypeArgObjectLabelUpdatedValue"; + case DBTEAMLOGEventTypeArgOrganizeFolderWithTidy: + return @"DBTEAMLOGEventTypeArgOrganizeFolderWithTidy"; + case DBTEAMLOGEventTypeArgReplayFileDelete: + return @"DBTEAMLOGEventTypeArgReplayFileDelete"; + case DBTEAMLOGEventTypeArgRewindFolder: + return @"DBTEAMLOGEventTypeArgRewindFolder"; + case DBTEAMLOGEventTypeArgUndoNamingConvention: + return @"DBTEAMLOGEventTypeArgUndoNamingConvention"; + case DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy: + return @"DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy"; + case DBTEAMLOGEventTypeArgUserTagsAdded: + return @"DBTEAMLOGEventTypeArgUserTagsAdded"; + case DBTEAMLOGEventTypeArgUserTagsRemoved: + return @"DBTEAMLOGEventTypeArgUserTagsRemoved"; + case DBTEAMLOGEventTypeArgEmailIngestReceiveFile: + return @"DBTEAMLOGEventTypeArgEmailIngestReceiveFile"; + case DBTEAMLOGEventTypeArgFileRequestChange: + return @"DBTEAMLOGEventTypeArgFileRequestChange"; + case DBTEAMLOGEventTypeArgFileRequestClose: + return @"DBTEAMLOGEventTypeArgFileRequestClose"; + case DBTEAMLOGEventTypeArgFileRequestCreate: + return @"DBTEAMLOGEventTypeArgFileRequestCreate"; + case DBTEAMLOGEventTypeArgFileRequestDelete: + return @"DBTEAMLOGEventTypeArgFileRequestDelete"; + case DBTEAMLOGEventTypeArgFileRequestReceiveFile: + return @"DBTEAMLOGEventTypeArgFileRequestReceiveFile"; + case DBTEAMLOGEventTypeArgGroupAddExternalId: + return @"DBTEAMLOGEventTypeArgGroupAddExternalId"; + case DBTEAMLOGEventTypeArgGroupAddMember: + return @"DBTEAMLOGEventTypeArgGroupAddMember"; + case DBTEAMLOGEventTypeArgGroupChangeExternalId: + return @"DBTEAMLOGEventTypeArgGroupChangeExternalId"; + case DBTEAMLOGEventTypeArgGroupChangeManagementType: + return @"DBTEAMLOGEventTypeArgGroupChangeManagementType"; + case DBTEAMLOGEventTypeArgGroupChangeMemberRole: + return @"DBTEAMLOGEventTypeArgGroupChangeMemberRole"; + case DBTEAMLOGEventTypeArgGroupCreate: + return @"DBTEAMLOGEventTypeArgGroupCreate"; + case DBTEAMLOGEventTypeArgGroupDelete: + return @"DBTEAMLOGEventTypeArgGroupDelete"; + case DBTEAMLOGEventTypeArgGroupDescriptionUpdated: + return @"DBTEAMLOGEventTypeArgGroupDescriptionUpdated"; + case DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated: + return @"DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated"; + case DBTEAMLOGEventTypeArgGroupMoved: + return @"DBTEAMLOGEventTypeArgGroupMoved"; + case DBTEAMLOGEventTypeArgGroupRemoveExternalId: + return @"DBTEAMLOGEventTypeArgGroupRemoveExternalId"; + case DBTEAMLOGEventTypeArgGroupRemoveMember: + return @"DBTEAMLOGEventTypeArgGroupRemoveMember"; + case DBTEAMLOGEventTypeArgGroupRename: + return @"DBTEAMLOGEventTypeArgGroupRename"; + case DBTEAMLOGEventTypeArgAccountLockOrUnlocked: + return @"DBTEAMLOGEventTypeArgAccountLockOrUnlocked"; + case DBTEAMLOGEventTypeArgEmmError: + return @"DBTEAMLOGEventTypeArgEmmError"; + case DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams: + return @"DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams"; + case DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams: + return @"DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams"; + case DBTEAMLOGEventTypeArgLoginFail: + return @"DBTEAMLOGEventTypeArgLoginFail"; + case DBTEAMLOGEventTypeArgLoginSuccess: + return @"DBTEAMLOGEventTypeArgLoginSuccess"; + case DBTEAMLOGEventTypeArgLogout: + return @"DBTEAMLOGEventTypeArgLogout"; + case DBTEAMLOGEventTypeArgResellerSupportSessionEnd: + return @"DBTEAMLOGEventTypeArgResellerSupportSessionEnd"; + case DBTEAMLOGEventTypeArgResellerSupportSessionStart: + return @"DBTEAMLOGEventTypeArgResellerSupportSessionStart"; + case DBTEAMLOGEventTypeArgSignInAsSessionEnd: + return @"DBTEAMLOGEventTypeArgSignInAsSessionEnd"; + case DBTEAMLOGEventTypeArgSignInAsSessionStart: + return @"DBTEAMLOGEventTypeArgSignInAsSessionStart"; + case DBTEAMLOGEventTypeArgSsoError: + return @"DBTEAMLOGEventTypeArgSsoError"; + case DBTEAMLOGEventTypeArgBackupAdminInvitationSent: + return @"DBTEAMLOGEventTypeArgBackupAdminInvitationSent"; + case DBTEAMLOGEventTypeArgBackupInvitationOpened: + return @"DBTEAMLOGEventTypeArgBackupInvitationOpened"; + case DBTEAMLOGEventTypeArgCreateTeamInviteLink: + return @"DBTEAMLOGEventTypeArgCreateTeamInviteLink"; + case DBTEAMLOGEventTypeArgDeleteTeamInviteLink: + return @"DBTEAMLOGEventTypeArgDeleteTeamInviteLink"; + case DBTEAMLOGEventTypeArgMemberAddExternalId: + return @"DBTEAMLOGEventTypeArgMemberAddExternalId"; + case DBTEAMLOGEventTypeArgMemberAddName: + return @"DBTEAMLOGEventTypeArgMemberAddName"; + case DBTEAMLOGEventTypeArgMemberChangeAdminRole: + return @"DBTEAMLOGEventTypeArgMemberChangeAdminRole"; + case DBTEAMLOGEventTypeArgMemberChangeEmail: + return @"DBTEAMLOGEventTypeArgMemberChangeEmail"; + case DBTEAMLOGEventTypeArgMemberChangeExternalId: + return @"DBTEAMLOGEventTypeArgMemberChangeExternalId"; + case DBTEAMLOGEventTypeArgMemberChangeMembershipType: + return @"DBTEAMLOGEventTypeArgMemberChangeMembershipType"; + case DBTEAMLOGEventTypeArgMemberChangeName: + return @"DBTEAMLOGEventTypeArgMemberChangeName"; + case DBTEAMLOGEventTypeArgMemberChangeResellerRole: + return @"DBTEAMLOGEventTypeArgMemberChangeResellerRole"; + case DBTEAMLOGEventTypeArgMemberChangeStatus: + return @"DBTEAMLOGEventTypeArgMemberChangeStatus"; + case DBTEAMLOGEventTypeArgMemberDeleteManualContacts: + return @"DBTEAMLOGEventTypeArgMemberDeleteManualContacts"; + case DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto: + return @"DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto"; + case DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents: + return @"DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents"; + case DBTEAMLOGEventTypeArgMemberRemoveExternalId: + return @"DBTEAMLOGEventTypeArgMemberRemoveExternalId"; + case DBTEAMLOGEventTypeArgMemberSetProfilePhoto: + return @"DBTEAMLOGEventTypeArgMemberSetProfilePhoto"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota"; + case DBTEAMLOGEventTypeArgMemberSuggest: + return @"DBTEAMLOGEventTypeArgMemberSuggest"; + case DBTEAMLOGEventTypeArgMemberTransferAccountContents: + return @"DBTEAMLOGEventTypeArgMemberTransferAccountContents"; + case DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded: + return @"DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded"; + case DBTEAMLOGEventTypeArgSecondaryEmailDeleted: + return @"DBTEAMLOGEventTypeArgSecondaryEmailDeleted"; + case DBTEAMLOGEventTypeArgSecondaryEmailVerified: + return @"DBTEAMLOGEventTypeArgSecondaryEmailVerified"; + case DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged: + return @"DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged"; + case DBTEAMLOGEventTypeArgBinderAddPage: + return @"DBTEAMLOGEventTypeArgBinderAddPage"; + case DBTEAMLOGEventTypeArgBinderAddSection: + return @"DBTEAMLOGEventTypeArgBinderAddSection"; + case DBTEAMLOGEventTypeArgBinderRemovePage: + return @"DBTEAMLOGEventTypeArgBinderRemovePage"; + case DBTEAMLOGEventTypeArgBinderRemoveSection: + return @"DBTEAMLOGEventTypeArgBinderRemoveSection"; + case DBTEAMLOGEventTypeArgBinderRenamePage: + return @"DBTEAMLOGEventTypeArgBinderRenamePage"; + case DBTEAMLOGEventTypeArgBinderRenameSection: + return @"DBTEAMLOGEventTypeArgBinderRenameSection"; + case DBTEAMLOGEventTypeArgBinderReorderPage: + return @"DBTEAMLOGEventTypeArgBinderReorderPage"; + case DBTEAMLOGEventTypeArgBinderReorderSection: + return @"DBTEAMLOGEventTypeArgBinderReorderSection"; + case DBTEAMLOGEventTypeArgPaperContentAddMember: + return @"DBTEAMLOGEventTypeArgPaperContentAddMember"; + case DBTEAMLOGEventTypeArgPaperContentAddToFolder: + return @"DBTEAMLOGEventTypeArgPaperContentAddToFolder"; + case DBTEAMLOGEventTypeArgPaperContentArchive: + return @"DBTEAMLOGEventTypeArgPaperContentArchive"; + case DBTEAMLOGEventTypeArgPaperContentCreate: + return @"DBTEAMLOGEventTypeArgPaperContentCreate"; + case DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete: + return @"DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete"; + case DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder: + return @"DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder"; + case DBTEAMLOGEventTypeArgPaperContentRemoveMember: + return @"DBTEAMLOGEventTypeArgPaperContentRemoveMember"; + case DBTEAMLOGEventTypeArgPaperContentRename: + return @"DBTEAMLOGEventTypeArgPaperContentRename"; + case DBTEAMLOGEventTypeArgPaperContentRestore: + return @"DBTEAMLOGEventTypeArgPaperContentRestore"; + case DBTEAMLOGEventTypeArgPaperDocAddComment: + return @"DBTEAMLOGEventTypeArgPaperDocAddComment"; + case DBTEAMLOGEventTypeArgPaperDocChangeMemberRole: + return @"DBTEAMLOGEventTypeArgPaperDocChangeMemberRole"; + case DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy: + return @"DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy"; + case DBTEAMLOGEventTypeArgPaperDocChangeSubscription: + return @"DBTEAMLOGEventTypeArgPaperDocChangeSubscription"; + case DBTEAMLOGEventTypeArgPaperDocDeleted: + return @"DBTEAMLOGEventTypeArgPaperDocDeleted"; + case DBTEAMLOGEventTypeArgPaperDocDeleteComment: + return @"DBTEAMLOGEventTypeArgPaperDocDeleteComment"; + case DBTEAMLOGEventTypeArgPaperDocDownload: + return @"DBTEAMLOGEventTypeArgPaperDocDownload"; + case DBTEAMLOGEventTypeArgPaperDocEdit: + return @"DBTEAMLOGEventTypeArgPaperDocEdit"; + case DBTEAMLOGEventTypeArgPaperDocEditComment: + return @"DBTEAMLOGEventTypeArgPaperDocEditComment"; + case DBTEAMLOGEventTypeArgPaperDocFollowed: + return @"DBTEAMLOGEventTypeArgPaperDocFollowed"; + case DBTEAMLOGEventTypeArgPaperDocMention: + return @"DBTEAMLOGEventTypeArgPaperDocMention"; + case DBTEAMLOGEventTypeArgPaperDocOwnershipChanged: + return @"DBTEAMLOGEventTypeArgPaperDocOwnershipChanged"; + case DBTEAMLOGEventTypeArgPaperDocRequestAccess: + return @"DBTEAMLOGEventTypeArgPaperDocRequestAccess"; + case DBTEAMLOGEventTypeArgPaperDocResolveComment: + return @"DBTEAMLOGEventTypeArgPaperDocResolveComment"; + case DBTEAMLOGEventTypeArgPaperDocRevert: + return @"DBTEAMLOGEventTypeArgPaperDocRevert"; + case DBTEAMLOGEventTypeArgPaperDocSlackShare: + return @"DBTEAMLOGEventTypeArgPaperDocSlackShare"; + case DBTEAMLOGEventTypeArgPaperDocTeamInvite: + return @"DBTEAMLOGEventTypeArgPaperDocTeamInvite"; + case DBTEAMLOGEventTypeArgPaperDocTrashed: + return @"DBTEAMLOGEventTypeArgPaperDocTrashed"; + case DBTEAMLOGEventTypeArgPaperDocUnresolveComment: + return @"DBTEAMLOGEventTypeArgPaperDocUnresolveComment"; + case DBTEAMLOGEventTypeArgPaperDocUntrashed: + return @"DBTEAMLOGEventTypeArgPaperDocUntrashed"; + case DBTEAMLOGEventTypeArgPaperDocView: + return @"DBTEAMLOGEventTypeArgPaperDocView"; + case DBTEAMLOGEventTypeArgPaperExternalViewAllow: + return @"DBTEAMLOGEventTypeArgPaperExternalViewAllow"; + case DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam: + return @"DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam"; + case DBTEAMLOGEventTypeArgPaperExternalViewForbid: + return @"DBTEAMLOGEventTypeArgPaperExternalViewForbid"; + case DBTEAMLOGEventTypeArgPaperFolderChangeSubscription: + return @"DBTEAMLOGEventTypeArgPaperFolderChangeSubscription"; + case DBTEAMLOGEventTypeArgPaperFolderDeleted: + return @"DBTEAMLOGEventTypeArgPaperFolderDeleted"; + case DBTEAMLOGEventTypeArgPaperFolderFollowed: + return @"DBTEAMLOGEventTypeArgPaperFolderFollowed"; + case DBTEAMLOGEventTypeArgPaperFolderTeamInvite: + return @"DBTEAMLOGEventTypeArgPaperFolderTeamInvite"; + case DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission: + return @"DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission"; + case DBTEAMLOGEventTypeArgPaperPublishedLinkCreate: + return @"DBTEAMLOGEventTypeArgPaperPublishedLinkCreate"; + case DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled: + return @"DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled"; + case DBTEAMLOGEventTypeArgPaperPublishedLinkView: + return @"DBTEAMLOGEventTypeArgPaperPublishedLinkView"; + case DBTEAMLOGEventTypeArgPasswordChange: + return @"DBTEAMLOGEventTypeArgPasswordChange"; + case DBTEAMLOGEventTypeArgPasswordReset: + return @"DBTEAMLOGEventTypeArgPasswordReset"; + case DBTEAMLOGEventTypeArgPasswordResetAll: + return @"DBTEAMLOGEventTypeArgPasswordResetAll"; + case DBTEAMLOGEventTypeArgClassificationCreateReport: + return @"DBTEAMLOGEventTypeArgClassificationCreateReport"; + case DBTEAMLOGEventTypeArgClassificationCreateReportFail: + return @"DBTEAMLOGEventTypeArgClassificationCreateReportFail"; + case DBTEAMLOGEventTypeArgEmmCreateExceptionsReport: + return @"DBTEAMLOGEventTypeArgEmmCreateExceptionsReport"; + case DBTEAMLOGEventTypeArgEmmCreateUsageReport: + return @"DBTEAMLOGEventTypeArgEmmCreateUsageReport"; + case DBTEAMLOGEventTypeArgExportMembersReport: + return @"DBTEAMLOGEventTypeArgExportMembersReport"; + case DBTEAMLOGEventTypeArgExportMembersReportFail: + return @"DBTEAMLOGEventTypeArgExportMembersReportFail"; + case DBTEAMLOGEventTypeArgExternalSharingCreateReport: + return @"DBTEAMLOGEventTypeArgExternalSharingCreateReport"; + case DBTEAMLOGEventTypeArgExternalSharingReportFailed: + return @"DBTEAMLOGEventTypeArgExternalSharingReportFailed"; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport: + return @"DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport"; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed: + return @"DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed"; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport: + return @"DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport"; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed: + return @"DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed"; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport: + return @"DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport"; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed: + return @"DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed"; + case DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport: + return @"DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport"; + case DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed: + return @"DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed"; + case DBTEAMLOGEventTypeArgPaperAdminExportStart: + return @"DBTEAMLOGEventTypeArgPaperAdminExportStart"; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReport: + return @"DBTEAMLOGEventTypeArgRansomwareAlertCreateReport"; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed: + return @"DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed"; + case DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport: + return @"DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport"; + case DBTEAMLOGEventTypeArgTeamActivityCreateReport: + return @"DBTEAMLOGEventTypeArgTeamActivityCreateReport"; + case DBTEAMLOGEventTypeArgTeamActivityCreateReportFail: + return @"DBTEAMLOGEventTypeArgTeamActivityCreateReportFail"; + case DBTEAMLOGEventTypeArgCollectionShare: + return @"DBTEAMLOGEventTypeArgCollectionShare"; + case DBTEAMLOGEventTypeArgFileTransfersFileAdd: + return @"DBTEAMLOGEventTypeArgFileTransfersFileAdd"; + case DBTEAMLOGEventTypeArgFileTransfersTransferDelete: + return @"DBTEAMLOGEventTypeArgFileTransfersTransferDelete"; + case DBTEAMLOGEventTypeArgFileTransfersTransferDownload: + return @"DBTEAMLOGEventTypeArgFileTransfersTransferDownload"; + case DBTEAMLOGEventTypeArgFileTransfersTransferSend: + return @"DBTEAMLOGEventTypeArgFileTransfersTransferSend"; + case DBTEAMLOGEventTypeArgFileTransfersTransferView: + return @"DBTEAMLOGEventTypeArgFileTransfersTransferView"; + case DBTEAMLOGEventTypeArgNoteAclInviteOnly: + return @"DBTEAMLOGEventTypeArgNoteAclInviteOnly"; + case DBTEAMLOGEventTypeArgNoteAclLink: + return @"DBTEAMLOGEventTypeArgNoteAclLink"; + case DBTEAMLOGEventTypeArgNoteAclTeamLink: + return @"DBTEAMLOGEventTypeArgNoteAclTeamLink"; + case DBTEAMLOGEventTypeArgNoteShared: + return @"DBTEAMLOGEventTypeArgNoteShared"; + case DBTEAMLOGEventTypeArgNoteShareReceive: + return @"DBTEAMLOGEventTypeArgNoteShareReceive"; + case DBTEAMLOGEventTypeArgOpenNoteShared: + return @"DBTEAMLOGEventTypeArgOpenNoteShared"; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated: + return @"DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated"; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkModified: + return @"DBTEAMLOGEventTypeArgReplayFileSharedLinkModified"; + case DBTEAMLOGEventTypeArgReplayProjectTeamAdd: + return @"DBTEAMLOGEventTypeArgReplayProjectTeamAdd"; + case DBTEAMLOGEventTypeArgReplayProjectTeamDelete: + return @"DBTEAMLOGEventTypeArgReplayProjectTeamDelete"; + case DBTEAMLOGEventTypeArgSfAddGroup: + return @"DBTEAMLOGEventTypeArgSfAddGroup"; + case DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks: + return @"DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks"; + case DBTEAMLOGEventTypeArgSfExternalInviteWarn: + return @"DBTEAMLOGEventTypeArgSfExternalInviteWarn"; + case DBTEAMLOGEventTypeArgSfFbInvite: + return @"DBTEAMLOGEventTypeArgSfFbInvite"; + case DBTEAMLOGEventTypeArgSfFbInviteChangeRole: + return @"DBTEAMLOGEventTypeArgSfFbInviteChangeRole"; + case DBTEAMLOGEventTypeArgSfFbUninvite: + return @"DBTEAMLOGEventTypeArgSfFbUninvite"; + case DBTEAMLOGEventTypeArgSfInviteGroup: + return @"DBTEAMLOGEventTypeArgSfInviteGroup"; + case DBTEAMLOGEventTypeArgSfTeamGrantAccess: + return @"DBTEAMLOGEventTypeArgSfTeamGrantAccess"; + case DBTEAMLOGEventTypeArgSfTeamInvite: + return @"DBTEAMLOGEventTypeArgSfTeamInvite"; + case DBTEAMLOGEventTypeArgSfTeamInviteChangeRole: + return @"DBTEAMLOGEventTypeArgSfTeamInviteChangeRole"; + case DBTEAMLOGEventTypeArgSfTeamJoin: + return @"DBTEAMLOGEventTypeArgSfTeamJoin"; + case DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink: + return @"DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink"; + case DBTEAMLOGEventTypeArgSfTeamUninvite: + return @"DBTEAMLOGEventTypeArgSfTeamUninvite"; + case DBTEAMLOGEventTypeArgSharedContentAddInvitees: + return @"DBTEAMLOGEventTypeArgSharedContentAddInvitees"; + case DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry: + return @"DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry"; + case DBTEAMLOGEventTypeArgSharedContentAddLinkPassword: + return @"DBTEAMLOGEventTypeArgSharedContentAddLinkPassword"; + case DBTEAMLOGEventTypeArgSharedContentAddMember: + return @"DBTEAMLOGEventTypeArgSharedContentAddMember"; + case DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy: + return @"DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy"; + case DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole: + return @"DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole"; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience: + return @"DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience"; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry: + return @"DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry"; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword: + return @"DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword"; + case DBTEAMLOGEventTypeArgSharedContentChangeMemberRole: + return @"DBTEAMLOGEventTypeArgSharedContentChangeMemberRole"; + case DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy: + return @"DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy"; + case DBTEAMLOGEventTypeArgSharedContentClaimInvitation: + return @"DBTEAMLOGEventTypeArgSharedContentClaimInvitation"; + case DBTEAMLOGEventTypeArgSharedContentCopy: + return @"DBTEAMLOGEventTypeArgSharedContentCopy"; + case DBTEAMLOGEventTypeArgSharedContentDownload: + return @"DBTEAMLOGEventTypeArgSharedContentDownload"; + case DBTEAMLOGEventTypeArgSharedContentRelinquishMembership: + return @"DBTEAMLOGEventTypeArgSharedContentRelinquishMembership"; + case DBTEAMLOGEventTypeArgSharedContentRemoveInvitees: + return @"DBTEAMLOGEventTypeArgSharedContentRemoveInvitees"; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry: + return @"DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry"; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword: + return @"DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword"; + case DBTEAMLOGEventTypeArgSharedContentRemoveMember: + return @"DBTEAMLOGEventTypeArgSharedContentRemoveMember"; + case DBTEAMLOGEventTypeArgSharedContentRequestAccess: + return @"DBTEAMLOGEventTypeArgSharedContentRequestAccess"; + case DBTEAMLOGEventTypeArgSharedContentRestoreInvitees: + return @"DBTEAMLOGEventTypeArgSharedContentRestoreInvitees"; + case DBTEAMLOGEventTypeArgSharedContentRestoreMember: + return @"DBTEAMLOGEventTypeArgSharedContentRestoreMember"; + case DBTEAMLOGEventTypeArgSharedContentUnshare: + return @"DBTEAMLOGEventTypeArgSharedContentUnshare"; + case DBTEAMLOGEventTypeArgSharedContentView: + return @"DBTEAMLOGEventTypeArgSharedContentView"; + case DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy: + return @"DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy"; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy: + return @"DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy"; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy: + return @"DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy"; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy: + return @"DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy"; + case DBTEAMLOGEventTypeArgSharedFolderCreate: + return @"DBTEAMLOGEventTypeArgSharedFolderCreate"; + case DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation: + return @"DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation"; + case DBTEAMLOGEventTypeArgSharedFolderMount: + return @"DBTEAMLOGEventTypeArgSharedFolderMount"; + case DBTEAMLOGEventTypeArgSharedFolderNest: + return @"DBTEAMLOGEventTypeArgSharedFolderNest"; + case DBTEAMLOGEventTypeArgSharedFolderTransferOwnership: + return @"DBTEAMLOGEventTypeArgSharedFolderTransferOwnership"; + case DBTEAMLOGEventTypeArgSharedFolderUnmount: + return @"DBTEAMLOGEventTypeArgSharedFolderUnmount"; + case DBTEAMLOGEventTypeArgSharedLinkAddExpiry: + return @"DBTEAMLOGEventTypeArgSharedLinkAddExpiry"; + case DBTEAMLOGEventTypeArgSharedLinkChangeExpiry: + return @"DBTEAMLOGEventTypeArgSharedLinkChangeExpiry"; + case DBTEAMLOGEventTypeArgSharedLinkChangeVisibility: + return @"DBTEAMLOGEventTypeArgSharedLinkChangeVisibility"; + case DBTEAMLOGEventTypeArgSharedLinkCopy: + return @"DBTEAMLOGEventTypeArgSharedLinkCopy"; + case DBTEAMLOGEventTypeArgSharedLinkCreate: + return @"DBTEAMLOGEventTypeArgSharedLinkCreate"; + case DBTEAMLOGEventTypeArgSharedLinkDisable: + return @"DBTEAMLOGEventTypeArgSharedLinkDisable"; + case DBTEAMLOGEventTypeArgSharedLinkDownload: + return @"DBTEAMLOGEventTypeArgSharedLinkDownload"; + case DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry: + return @"DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration"; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword: + return @"DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword"; + case DBTEAMLOGEventTypeArgSharedLinkShare: + return @"DBTEAMLOGEventTypeArgSharedLinkShare"; + case DBTEAMLOGEventTypeArgSharedLinkView: + return @"DBTEAMLOGEventTypeArgSharedLinkView"; + case DBTEAMLOGEventTypeArgSharedNoteOpened: + return @"DBTEAMLOGEventTypeArgSharedNoteOpened"; + case DBTEAMLOGEventTypeArgShmodelDisableDownloads: + return @"DBTEAMLOGEventTypeArgShmodelDisableDownloads"; + case DBTEAMLOGEventTypeArgShmodelEnableDownloads: + return @"DBTEAMLOGEventTypeArgShmodelEnableDownloads"; + case DBTEAMLOGEventTypeArgShmodelGroupShare: + return @"DBTEAMLOGEventTypeArgShmodelGroupShare"; + case DBTEAMLOGEventTypeArgShowcaseAccessGranted: + return @"DBTEAMLOGEventTypeArgShowcaseAccessGranted"; + case DBTEAMLOGEventTypeArgShowcaseAddMember: + return @"DBTEAMLOGEventTypeArgShowcaseAddMember"; + case DBTEAMLOGEventTypeArgShowcaseArchived: + return @"DBTEAMLOGEventTypeArgShowcaseArchived"; + case DBTEAMLOGEventTypeArgShowcaseCreated: + return @"DBTEAMLOGEventTypeArgShowcaseCreated"; + case DBTEAMLOGEventTypeArgShowcaseDeleteComment: + return @"DBTEAMLOGEventTypeArgShowcaseDeleteComment"; + case DBTEAMLOGEventTypeArgShowcaseEdited: + return @"DBTEAMLOGEventTypeArgShowcaseEdited"; + case DBTEAMLOGEventTypeArgShowcaseEditComment: + return @"DBTEAMLOGEventTypeArgShowcaseEditComment"; + case DBTEAMLOGEventTypeArgShowcaseFileAdded: + return @"DBTEAMLOGEventTypeArgShowcaseFileAdded"; + case DBTEAMLOGEventTypeArgShowcaseFileDownload: + return @"DBTEAMLOGEventTypeArgShowcaseFileDownload"; + case DBTEAMLOGEventTypeArgShowcaseFileRemoved: + return @"DBTEAMLOGEventTypeArgShowcaseFileRemoved"; + case DBTEAMLOGEventTypeArgShowcaseFileView: + return @"DBTEAMLOGEventTypeArgShowcaseFileView"; + case DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted: + return @"DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted"; + case DBTEAMLOGEventTypeArgShowcasePostComment: + return @"DBTEAMLOGEventTypeArgShowcasePostComment"; + case DBTEAMLOGEventTypeArgShowcaseRemoveMember: + return @"DBTEAMLOGEventTypeArgShowcaseRemoveMember"; + case DBTEAMLOGEventTypeArgShowcaseRenamed: + return @"DBTEAMLOGEventTypeArgShowcaseRenamed"; + case DBTEAMLOGEventTypeArgShowcaseRequestAccess: + return @"DBTEAMLOGEventTypeArgShowcaseRequestAccess"; + case DBTEAMLOGEventTypeArgShowcaseResolveComment: + return @"DBTEAMLOGEventTypeArgShowcaseResolveComment"; + case DBTEAMLOGEventTypeArgShowcaseRestored: + return @"DBTEAMLOGEventTypeArgShowcaseRestored"; + case DBTEAMLOGEventTypeArgShowcaseTrashed: + return @"DBTEAMLOGEventTypeArgShowcaseTrashed"; + case DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated: + return @"DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated"; + case DBTEAMLOGEventTypeArgShowcaseUnresolveComment: + return @"DBTEAMLOGEventTypeArgShowcaseUnresolveComment"; + case DBTEAMLOGEventTypeArgShowcaseUntrashed: + return @"DBTEAMLOGEventTypeArgShowcaseUntrashed"; + case DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated: + return @"DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated"; + case DBTEAMLOGEventTypeArgShowcaseView: + return @"DBTEAMLOGEventTypeArgShowcaseView"; + case DBTEAMLOGEventTypeArgSsoAddCert: + return @"DBTEAMLOGEventTypeArgSsoAddCert"; + case DBTEAMLOGEventTypeArgSsoAddLoginUrl: + return @"DBTEAMLOGEventTypeArgSsoAddLoginUrl"; + case DBTEAMLOGEventTypeArgSsoAddLogoutUrl: + return @"DBTEAMLOGEventTypeArgSsoAddLogoutUrl"; + case DBTEAMLOGEventTypeArgSsoChangeCert: + return @"DBTEAMLOGEventTypeArgSsoChangeCert"; + case DBTEAMLOGEventTypeArgSsoChangeLoginUrl: + return @"DBTEAMLOGEventTypeArgSsoChangeLoginUrl"; + case DBTEAMLOGEventTypeArgSsoChangeLogoutUrl: + return @"DBTEAMLOGEventTypeArgSsoChangeLogoutUrl"; + case DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode: + return @"DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode"; + case DBTEAMLOGEventTypeArgSsoRemoveCert: + return @"DBTEAMLOGEventTypeArgSsoRemoveCert"; + case DBTEAMLOGEventTypeArgSsoRemoveLoginUrl: + return @"DBTEAMLOGEventTypeArgSsoRemoveLoginUrl"; + case DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl: + return @"DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl"; + case DBTEAMLOGEventTypeArgTeamFolderChangeStatus: + return @"DBTEAMLOGEventTypeArgTeamFolderChangeStatus"; + case DBTEAMLOGEventTypeArgTeamFolderCreate: + return @"DBTEAMLOGEventTypeArgTeamFolderCreate"; + case DBTEAMLOGEventTypeArgTeamFolderDowngrade: + return @"DBTEAMLOGEventTypeArgTeamFolderDowngrade"; + case DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete: + return @"DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete"; + case DBTEAMLOGEventTypeArgTeamFolderRename: + return @"DBTEAMLOGEventTypeArgTeamFolderRename"; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged: + return @"DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged"; + case DBTEAMLOGEventTypeArgAccountCaptureChangePolicy: + return @"DBTEAMLOGEventTypeArgAccountCaptureChangePolicy"; + case DBTEAMLOGEventTypeArgAdminEmailRemindersChanged: + return @"DBTEAMLOGEventTypeArgAdminEmailRemindersChanged"; + case DBTEAMLOGEventTypeArgAllowDownloadDisabled: + return @"DBTEAMLOGEventTypeArgAllowDownloadDisabled"; + case DBTEAMLOGEventTypeArgAllowDownloadEnabled: + return @"DBTEAMLOGEventTypeArgAllowDownloadEnabled"; + case DBTEAMLOGEventTypeArgAppPermissionsChanged: + return @"DBTEAMLOGEventTypeArgAppPermissionsChanged"; + case DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged: + return @"DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged"; + case DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged: + return @"DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged"; + case DBTEAMLOGEventTypeArgClassificationChangePolicy: + return @"DBTEAMLOGEventTypeArgClassificationChangePolicy"; + case DBTEAMLOGEventTypeArgComputerBackupPolicyChanged: + return @"DBTEAMLOGEventTypeArgComputerBackupPolicyChanged"; + case DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged: + return @"DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged"; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy: + return @"DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy"; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy: + return @"DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy"; + case DBTEAMLOGEventTypeArgDeviceApprovalsAddException: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsAddException"; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy"; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy"; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction"; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction"; + case DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException: + return @"DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException"; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers: + return @"DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers"; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers: + return @"DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers"; + case DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged: + return @"DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged"; + case DBTEAMLOGEventTypeArgEmailIngestPolicyChanged: + return @"DBTEAMLOGEventTypeArgEmailIngestPolicyChanged"; + case DBTEAMLOGEventTypeArgEmmAddException: + return @"DBTEAMLOGEventTypeArgEmmAddException"; + case DBTEAMLOGEventTypeArgEmmChangePolicy: + return @"DBTEAMLOGEventTypeArgEmmChangePolicy"; + case DBTEAMLOGEventTypeArgEmmRemoveException: + return @"DBTEAMLOGEventTypeArgEmmRemoveException"; + case DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy: + return @"DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy"; + case DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged: + return @"DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged"; + case DBTEAMLOGEventTypeArgFileCommentsChangePolicy: + return @"DBTEAMLOGEventTypeArgFileCommentsChangePolicy"; + case DBTEAMLOGEventTypeArgFileLockingPolicyChanged: + return @"DBTEAMLOGEventTypeArgFileLockingPolicyChanged"; + case DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged: + return @"DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged"; + case DBTEAMLOGEventTypeArgFileRequestsChangePolicy: + return @"DBTEAMLOGEventTypeArgFileRequestsChangePolicy"; + case DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled: + return @"DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled"; + case DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly: + return @"DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly"; + case DBTEAMLOGEventTypeArgFileTransfersPolicyChanged: + return @"DBTEAMLOGEventTypeArgFileTransfersPolicyChanged"; + case DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged: + return @"DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged"; + case DBTEAMLOGEventTypeArgGoogleSsoChangePolicy: + return @"DBTEAMLOGEventTypeArgGoogleSsoChangePolicy"; + case DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy: + return @"DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy"; + case DBTEAMLOGEventTypeArgIntegrationPolicyChanged: + return @"DBTEAMLOGEventTypeArgIntegrationPolicyChanged"; + case DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged: + return @"DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged"; + case DBTEAMLOGEventTypeArgMemberRequestsChangePolicy: + return @"DBTEAMLOGEventTypeArgMemberRequestsChangePolicy"; + case DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged: + return @"DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy"; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException: + return @"DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException"; + case DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy: + return @"DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy"; + case DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy: + return @"DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy"; + case DBTEAMLOGEventTypeArgNetworkControlChangePolicy: + return @"DBTEAMLOGEventTypeArgNetworkControlChangePolicy"; + case DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy: + return @"DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy"; + case DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy: + return @"DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy"; + case DBTEAMLOGEventTypeArgPaperChangeMemberPolicy: + return @"DBTEAMLOGEventTypeArgPaperChangeMemberPolicy"; + case DBTEAMLOGEventTypeArgPaperChangePolicy: + return @"DBTEAMLOGEventTypeArgPaperChangePolicy"; + case DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged: + return @"DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged"; + case DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged: + return @"DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged"; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition: + return @"DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition"; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval: + return @"DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval"; + case DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy: + return @"DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy"; + case DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy: + return @"DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy"; + case DBTEAMLOGEventTypeArgResellerSupportChangePolicy: + return @"DBTEAMLOGEventTypeArgResellerSupportChangePolicy"; + case DBTEAMLOGEventTypeArgRewindPolicyChanged: + return @"DBTEAMLOGEventTypeArgRewindPolicyChanged"; + case DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged: + return @"DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged"; + case DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy"; + case DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy"; + case DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy"; + case DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy"; + case DBTEAMLOGEventTypeArgSharingChangeLinkPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeLinkPolicy"; + case DBTEAMLOGEventTypeArgSharingChangeMemberPolicy: + return @"DBTEAMLOGEventTypeArgSharingChangeMemberPolicy"; + case DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy: + return @"DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy"; + case DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy: + return @"DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy"; + case DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy: + return @"DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy"; + case DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged: + return @"DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged"; + case DBTEAMLOGEventTypeArgSmartSyncChangePolicy: + return @"DBTEAMLOGEventTypeArgSmartSyncChangePolicy"; + case DBTEAMLOGEventTypeArgSmartSyncNotOptOut: + return @"DBTEAMLOGEventTypeArgSmartSyncNotOptOut"; + case DBTEAMLOGEventTypeArgSmartSyncOptOut: + return @"DBTEAMLOGEventTypeArgSmartSyncOptOut"; + case DBTEAMLOGEventTypeArgSsoChangePolicy: + return @"DBTEAMLOGEventTypeArgSsoChangePolicy"; + case DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged: + return @"DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged"; + case DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged: + return @"DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged"; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged: + return @"DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged"; + case DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged: + return @"DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged"; + case DBTEAMLOGEventTypeArgTfaAddException: + return @"DBTEAMLOGEventTypeArgTfaAddException"; + case DBTEAMLOGEventTypeArgTfaChangePolicy: + return @"DBTEAMLOGEventTypeArgTfaChangePolicy"; + case DBTEAMLOGEventTypeArgTfaRemoveException: + return @"DBTEAMLOGEventTypeArgTfaRemoveException"; + case DBTEAMLOGEventTypeArgTwoAccountChangePolicy: + return @"DBTEAMLOGEventTypeArgTwoAccountChangePolicy"; + case DBTEAMLOGEventTypeArgViewerInfoPolicyChanged: + return @"DBTEAMLOGEventTypeArgViewerInfoPolicyChanged"; + case DBTEAMLOGEventTypeArgWatermarkingPolicyChanged: + return @"DBTEAMLOGEventTypeArgWatermarkingPolicyChanged"; + case DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit: + return @"DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit"; + case DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy: + return @"DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy"; + case DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy: + return @"DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy"; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful: + return @"DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful"; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful: + return @"DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful"; + case DBTEAMLOGEventTypeArgTeamMergeFrom: + return @"DBTEAMLOGEventTypeArgTeamMergeFrom"; + case DBTEAMLOGEventTypeArgTeamMergeTo: + return @"DBTEAMLOGEventTypeArgTeamMergeTo"; + case DBTEAMLOGEventTypeArgTeamProfileAddBackground: + return @"DBTEAMLOGEventTypeArgTeamProfileAddBackground"; + case DBTEAMLOGEventTypeArgTeamProfileAddLogo: + return @"DBTEAMLOGEventTypeArgTeamProfileAddLogo"; + case DBTEAMLOGEventTypeArgTeamProfileChangeBackground: + return @"DBTEAMLOGEventTypeArgTeamProfileChangeBackground"; + case DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage: + return @"DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage"; + case DBTEAMLOGEventTypeArgTeamProfileChangeLogo: + return @"DBTEAMLOGEventTypeArgTeamProfileChangeLogo"; + case DBTEAMLOGEventTypeArgTeamProfileChangeName: + return @"DBTEAMLOGEventTypeArgTeamProfileChangeName"; + case DBTEAMLOGEventTypeArgTeamProfileRemoveBackground: + return @"DBTEAMLOGEventTypeArgTeamProfileRemoveBackground"; + case DBTEAMLOGEventTypeArgTeamProfileRemoveLogo: + return @"DBTEAMLOGEventTypeArgTeamProfileRemoveLogo"; + case DBTEAMLOGEventTypeArgTfaAddBackupPhone: + return @"DBTEAMLOGEventTypeArgTfaAddBackupPhone"; + case DBTEAMLOGEventTypeArgTfaAddSecurityKey: + return @"DBTEAMLOGEventTypeArgTfaAddSecurityKey"; + case DBTEAMLOGEventTypeArgTfaChangeBackupPhone: + return @"DBTEAMLOGEventTypeArgTfaChangeBackupPhone"; + case DBTEAMLOGEventTypeArgTfaChangeStatus: + return @"DBTEAMLOGEventTypeArgTfaChangeStatus"; + case DBTEAMLOGEventTypeArgTfaRemoveBackupPhone: + return @"DBTEAMLOGEventTypeArgTfaRemoveBackupPhone"; + case DBTEAMLOGEventTypeArgTfaRemoveSecurityKey: + return @"DBTEAMLOGEventTypeArgTfaRemoveSecurityKey"; + case DBTEAMLOGEventTypeArgTfaReset: + return @"DBTEAMLOGEventTypeArgTfaReset"; + case DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole: + return @"DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole"; + case DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus: + return @"DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus"; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession: + return @"DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession"; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated: + return @"DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated"; + case DBTEAMLOGEventTypeArgEnterpriseSettingsLocking: + return @"DBTEAMLOGEventTypeArgEnterpriseSettingsLocking"; + case DBTEAMLOGEventTypeArgGuestAdminChangeStatus: + return @"DBTEAMLOGEventTypeArgGuestAdminChangeStatus"; + case DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession: + return @"DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession"; + case DBTEAMLOGEventTypeArgTeamMergeRequestAccepted: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestAccepted"; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled"; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceled: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestCanceled"; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpired: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestExpired"; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminder: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestReminder"; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestRevoked: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestRevoked"; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam"; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam: + return @"DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam"; + case DBTEAMLOGEventTypeArgOther: + return @"DBTEAMLOGEventTypeArgOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGEventTypeArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGEventTypeArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGEventTypeArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppBlockedByPermissions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppLinkTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppLinkUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppUnlinkTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppUnlinkUser: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgIntegrationConnected: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgIntegrationDisconnected: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileAddComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileChangeCommentSubscription: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileDeleteComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileEditComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileLikeComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileResolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileUnlikeComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileUnresolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDetails: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDuration: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyExportCreated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyReportCreated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsActivateAHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsAddMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsExportAHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsExportCancelled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsExportRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLegalHoldsReportAHold: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceChangeIpDesktop: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceChangeIpMobile: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceChangeIpWeb: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceLinkFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceLinkSuccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceManagementDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceManagementEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceUnlink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDropboxPasswordsExported: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmRefreshAuthToken: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDisabledDomainInvites: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEnabledDomainInvites: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgApplyNamingConvention: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgCreateFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileAdd: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileAddFromAutomation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileCopy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileEdit: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileGetCopyReference: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileLockingLockStatusChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileMove: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFilePermanentlyDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFilePreview: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRename: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRestore: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRevert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRollbackChanges: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileSaveCopyReference: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFolderOverviewItemPinned: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgObjectLabelAdded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgObjectLabelRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgObjectLabelUpdatedValue: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgOrganizeFolderWithTidy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgReplayFileDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRewindFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgUndoNamingConvention: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgUserTagsAdded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgUserTagsRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmailIngestReceiveFile: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestChange: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestClose: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestReceiveFile: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupAddExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupAddMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupChangeExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupChangeManagementType: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupChangeMemberRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupDescriptionUpdated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupMoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupRemoveExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupRemoveMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupRename: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountLockOrUnlocked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLoginFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLoginSuccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgLogout: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgResellerSupportSessionEnd: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgResellerSupportSessionStart: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSignInAsSessionEnd: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSignInAsSessionStart: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoError: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBackupAdminInvitationSent: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBackupInvitationOpened: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgCreateTeamInviteLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeleteTeamInviteLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberAddExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberAddName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeAdminRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeEmail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeMembershipType: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeResellerRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberChangeStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberDeleteManualContacts: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberRemoveExternalId: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSetProfilePhoto: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSuggest: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberTransferAccountContents: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSecondaryEmailDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSecondaryEmailVerified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderAddPage: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderAddSection: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderRemovePage: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderRemoveSection: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderRenamePage: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderRenameSection: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderReorderPage: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgBinderReorderSection: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentAddMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentAddToFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentArchive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentRemoveMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentRename: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperContentRestore: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocAddComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocChangeMemberRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocChangeSubscription: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocDeleteComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocEdit: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocEditComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocFollowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocMention: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocOwnershipChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocRequestAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocResolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocRevert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocSlackShare: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocTeamInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocTrashed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocUnresolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocUntrashed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDocView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperExternalViewAllow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperExternalViewForbid: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperFolderChangeSubscription: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperFolderDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperFolderFollowed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperFolderTeamInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperPublishedLinkCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperPublishedLinkView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPasswordChange: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPasswordReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPasswordResetAll: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgClassificationCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgClassificationCreateReportFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmCreateExceptionsReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmCreateUsageReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExportMembersReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExportMembersReportFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExternalSharingCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExternalSharingReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperAdminExportStart: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamActivityCreateReport: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamActivityCreateReportFail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgCollectionShare: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersFileAdd: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersTransferDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersTransferDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersTransferSend: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersTransferView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoteAclInviteOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoteAclLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoteAclTeamLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoteShared: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNoteShareReceive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgOpenNoteShared: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkModified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgReplayProjectTeamAdd: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgReplayProjectTeamDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfAddGroup: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfExternalInviteWarn: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfFbInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfFbInviteChangeRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfFbUninvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfInviteGroup: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamGrantAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamInviteChangeRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamJoin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSfTeamUninvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentAddInvitees: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentAddLinkPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentAddMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeMemberRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentClaimInvitation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentCopy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRelinquishMembership: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRemoveInvitees: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRemoveMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRequestAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRestoreInvitees: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentRestoreMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentUnshare: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedContentView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderMount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderNest: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderTransferOwnership: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedFolderUnmount: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkAddExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkChangeExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkChangeVisibility: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkCopy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkDisable: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkShare: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedLinkView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharedNoteOpened: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShmodelDisableDownloads: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShmodelEnableDownloads: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShmodelGroupShare: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseAccessGranted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseAddMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseArchived: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseCreated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseDeleteComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseEdited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseEditComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseFileAdded: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseFileDownload: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseFileRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseFileView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcasePostComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseRemoveMember: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseRenamed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseRequestAccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseResolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseRestored: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseTrashed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseUnresolveComment: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseUntrashed: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseView: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoAddCert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoAddLoginUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoAddLogoutUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoChangeCert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoChangeLoginUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoChangeLogoutUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoRemoveCert: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoRemoveLoginUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamFolderChangeStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamFolderCreate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamFolderDowngrade: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamFolderRename: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAccountCaptureChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAdminEmailRemindersChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAllowDownloadDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAllowDownloadEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgAppPermissionsChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgClassificationChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgComputerBackupPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsAddException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmailIngestPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmAddException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEmmRemoveException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileCommentsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileLockingPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFileTransfersPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGoogleSsoChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgIntegrationPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberRequestsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgNetworkControlChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperChangeMemberPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgResellerSupportChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgRewindPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeLinkPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSharingChangeMemberPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSmartSyncChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSmartSyncNotOptOut: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSmartSyncOptOut: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgSsoChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaAddException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaRemoveException: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTwoAccountChangePolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgViewerInfoPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgWatermarkingPolicyChanged: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeFrom: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeTo: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileAddBackground: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileAddLogo: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileChangeBackground: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileChangeLogo: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileChangeName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileRemoveBackground: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamProfileRemoveLogo: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaAddBackupPhone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaAddSecurityKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaChangeBackupPhone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaChangeStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaRemoveBackupPhone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaRemoveSecurityKey: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTfaReset: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgEnterpriseSettingsLocking: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgGuestAdminChangeStatus: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestAccepted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestRevoked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGEventTypeArgOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToEventTypeArg:other]; +} + +- (BOOL)isEqualToEventTypeArg:(DBTEAMLOGEventTypeArg *)anEventTypeArg { + if (self == anEventTypeArg) { + return YES; + } + if (self.tag != anEventTypeArg.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppBlockedByPermissions: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppLinkTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppLinkUser: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppUnlinkTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppUnlinkUser: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgIntegrationConnected: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgIntegrationDisconnected: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileAddComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileChangeCommentSubscription: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileDeleteComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileEditComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileLikeComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileResolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileUnlikeComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileUnresolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolders: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDetails: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyEditDuration: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyExportCreated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyReportCreated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsActivateAHold: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsAddMembers: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsExportAHold: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsExportCancelled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsExportRemoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLegalHoldsReportAHold: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceChangeIpDesktop: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceChangeIpMobile: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceChangeIpWeb: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceLinkFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceLinkSuccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceManagementDisabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceManagementEnabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceUnlink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDropboxPasswordsExported: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmRefreshAuthToken: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDisabledDomainInvites: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEnabledDomainInvites: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgApplyNamingConvention: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgCreateFolder: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileAdd: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileAddFromAutomation: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileCopy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileEdit: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileGetCopyReference: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileLockingLockStatusChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileMove: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFilePermanentlyDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFilePreview: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRename: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRestore: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRevert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRollbackChanges: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileSaveCopyReference: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFolderOverviewItemPinned: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgObjectLabelAdded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgObjectLabelRemoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgObjectLabelUpdatedValue: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgOrganizeFolderWithTidy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgReplayFileDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRewindFolder: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgUndoNamingConvention: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgUserTagsAdded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgUserTagsRemoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmailIngestReceiveFile: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestChange: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestClose: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestReceiveFile: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupAddExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupAddMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupChangeExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupChangeManagementType: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupChangeMemberRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupDescriptionUpdated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupMoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupRemoveExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupRemoveMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupRename: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountLockOrUnlocked: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmError: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLoginFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLoginSuccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgLogout: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgResellerSupportSessionEnd: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgResellerSupportSessionStart: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSignInAsSessionEnd: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSignInAsSessionStart: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoError: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBackupAdminInvitationSent: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBackupInvitationOpened: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgCreateTeamInviteLink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeleteTeamInviteLink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberAddExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberAddName: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeAdminRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeEmail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeMembershipType: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeName: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeResellerRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberChangeStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberDeleteManualContacts: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberRemoveExternalId: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSetProfilePhoto: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSuggest: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberTransferAccountContents: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSecondaryEmailDeleted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSecondaryEmailVerified: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderAddPage: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderAddSection: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderRemovePage: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderRemoveSection: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderRenamePage: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderRenameSection: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderReorderPage: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgBinderReorderSection: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentAddMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentAddToFolder: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentArchive: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentRemoveMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentRename: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperContentRestore: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocAddComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocChangeMemberRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocChangeSubscription: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocDeleted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocDeleteComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocEdit: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocEditComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocFollowed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocMention: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocOwnershipChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocRequestAccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocResolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocRevert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocSlackShare: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocTeamInvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocTrashed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocUnresolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocUntrashed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDocView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperExternalViewAllow: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperExternalViewForbid: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperFolderChangeSubscription: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperFolderDeleted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperFolderFollowed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperFolderTeamInvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperPublishedLinkCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperPublishedLinkView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPasswordChange: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPasswordReset: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPasswordResetAll: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgClassificationCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgClassificationCreateReportFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmCreateExceptionsReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmCreateUsageReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExportMembersReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExportMembersReportFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExternalSharingCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExternalSharingReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperAdminExportStart: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamActivityCreateReport: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamActivityCreateReportFail: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgCollectionShare: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersFileAdd: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersTransferDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersTransferDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersTransferSend: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersTransferView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoteAclInviteOnly: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoteAclLink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoteAclTeamLink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoteShared: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNoteShareReceive: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgOpenNoteShared: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgReplayFileSharedLinkModified: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgReplayProjectTeamAdd: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgReplayProjectTeamDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfAddGroup: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfExternalInviteWarn: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfFbInvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfFbInviteChangeRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfFbUninvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfInviteGroup: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamGrantAccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamInvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamInviteChangeRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamJoin: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSfTeamUninvite: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentAddInvitees: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentAddLinkPassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentAddMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeMemberRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentClaimInvitation: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentCopy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRelinquishMembership: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRemoveInvitees: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRemoveMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRequestAccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRestoreInvitees: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentRestoreMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentUnshare: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedContentView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderMount: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderNest: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderTransferOwnership: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedFolderUnmount: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkAddExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkChangeExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkChangeVisibility: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkCopy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkDisable: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkShare: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedLinkView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharedNoteOpened: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShmodelDisableDownloads: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShmodelEnableDownloads: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShmodelGroupShare: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseAccessGranted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseAddMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseArchived: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseCreated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseDeleteComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseEdited: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseEditComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseFileAdded: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseFileDownload: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseFileRemoved: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseFileView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcasePostComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseRemoveMember: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseRenamed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseRequestAccess: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseResolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseRestored: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseTrashed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseUnresolveComment: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseUntrashed: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseView: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoAddCert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoAddLoginUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoAddLogoutUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoChangeCert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoChangeLoginUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoChangeLogoutUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoRemoveCert: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoRemoveLoginUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamFolderChangeStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamFolderCreate: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamFolderDowngrade: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamFolderRename: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAccountCaptureChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAdminEmailRemindersChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAllowDownloadDisabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAllowDownloadEnabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgAppPermissionsChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgClassificationChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgComputerBackupPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsAddException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmailIngestPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmAddException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEmmRemoveException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileCommentsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileLockingPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFileTransfersPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGoogleSsoChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgIntegrationPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberRequestsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgNetworkControlChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperChangeMemberPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgResellerSupportChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgRewindPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeLinkPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSharingChangeMemberPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSmartSyncChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSmartSyncNotOptOut: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSmartSyncOptOut: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgSsoChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaAddException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaRemoveException: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTwoAccountChangePolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgViewerInfoPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgWatermarkingPolicyChanged: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeFrom: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeTo: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileAddBackground: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileAddLogo: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileChangeBackground: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileChangeLogo: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileChangeName: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileRemoveBackground: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamProfileRemoveLogo: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaAddBackupPhone: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaAddSecurityKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaChangeBackupPhone: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaChangeStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaRemoveBackupPhone: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaRemoveSecurityKey: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTfaReset: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgEnterpriseSettingsLocking: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgGuestAdminChangeStatus: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestAccepted: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceled: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpired: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminder: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestRevoked: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + case DBTEAMLOGEventTypeArgOther: + return [[self tagName] isEqual:[anEventTypeArg tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGEventTypeArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGEventTypeArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAdminAlertingAlertStateChanged]) { + jsonDict[@".tag"] = @"admin_alerting_alert_state_changed"; + } else if ([valueObj isAdminAlertingChangedAlertConfig]) { + jsonDict[@".tag"] = @"admin_alerting_changed_alert_config"; + } else if ([valueObj isAdminAlertingTriggeredAlert]) { + jsonDict[@".tag"] = @"admin_alerting_triggered_alert"; + } else if ([valueObj isRansomwareRestoreProcessCompleted]) { + jsonDict[@".tag"] = @"ransomware_restore_process_completed"; + } else if ([valueObj isRansomwareRestoreProcessStarted]) { + jsonDict[@".tag"] = @"ransomware_restore_process_started"; + } else if ([valueObj isAppBlockedByPermissions]) { + jsonDict[@".tag"] = @"app_blocked_by_permissions"; + } else if ([valueObj isAppLinkTeam]) { + jsonDict[@".tag"] = @"app_link_team"; + } else if ([valueObj isAppLinkUser]) { + jsonDict[@".tag"] = @"app_link_user"; + } else if ([valueObj isAppUnlinkTeam]) { + jsonDict[@".tag"] = @"app_unlink_team"; + } else if ([valueObj isAppUnlinkUser]) { + jsonDict[@".tag"] = @"app_unlink_user"; + } else if ([valueObj isIntegrationConnected]) { + jsonDict[@".tag"] = @"integration_connected"; + } else if ([valueObj isIntegrationDisconnected]) { + jsonDict[@".tag"] = @"integration_disconnected"; + } else if ([valueObj isFileAddComment]) { + jsonDict[@".tag"] = @"file_add_comment"; + } else if ([valueObj isFileChangeCommentSubscription]) { + jsonDict[@".tag"] = @"file_change_comment_subscription"; + } else if ([valueObj isFileDeleteComment]) { + jsonDict[@".tag"] = @"file_delete_comment"; + } else if ([valueObj isFileEditComment]) { + jsonDict[@".tag"] = @"file_edit_comment"; + } else if ([valueObj isFileLikeComment]) { + jsonDict[@".tag"] = @"file_like_comment"; + } else if ([valueObj isFileResolveComment]) { + jsonDict[@".tag"] = @"file_resolve_comment"; + } else if ([valueObj isFileUnlikeComment]) { + jsonDict[@".tag"] = @"file_unlike_comment"; + } else if ([valueObj isFileUnresolveComment]) { + jsonDict[@".tag"] = @"file_unresolve_comment"; + } else if ([valueObj isGovernancePolicyAddFolders]) { + jsonDict[@".tag"] = @"governance_policy_add_folders"; + } else if ([valueObj isGovernancePolicyAddFolderFailed]) { + jsonDict[@".tag"] = @"governance_policy_add_folder_failed"; + } else if ([valueObj isGovernancePolicyContentDisposed]) { + jsonDict[@".tag"] = @"governance_policy_content_disposed"; + } else if ([valueObj isGovernancePolicyCreate]) { + jsonDict[@".tag"] = @"governance_policy_create"; + } else if ([valueObj isGovernancePolicyDelete]) { + jsonDict[@".tag"] = @"governance_policy_delete"; + } else if ([valueObj isGovernancePolicyEditDetails]) { + jsonDict[@".tag"] = @"governance_policy_edit_details"; + } else if ([valueObj isGovernancePolicyEditDuration]) { + jsonDict[@".tag"] = @"governance_policy_edit_duration"; + } else if ([valueObj isGovernancePolicyExportCreated]) { + jsonDict[@".tag"] = @"governance_policy_export_created"; + } else if ([valueObj isGovernancePolicyExportRemoved]) { + jsonDict[@".tag"] = @"governance_policy_export_removed"; + } else if ([valueObj isGovernancePolicyRemoveFolders]) { + jsonDict[@".tag"] = @"governance_policy_remove_folders"; + } else if ([valueObj isGovernancePolicyReportCreated]) { + jsonDict[@".tag"] = @"governance_policy_report_created"; + } else if ([valueObj isGovernancePolicyZipPartDownloaded]) { + jsonDict[@".tag"] = @"governance_policy_zip_part_downloaded"; + } else if ([valueObj isLegalHoldsActivateAHold]) { + jsonDict[@".tag"] = @"legal_holds_activate_a_hold"; + } else if ([valueObj isLegalHoldsAddMembers]) { + jsonDict[@".tag"] = @"legal_holds_add_members"; + } else if ([valueObj isLegalHoldsChangeHoldDetails]) { + jsonDict[@".tag"] = @"legal_holds_change_hold_details"; + } else if ([valueObj isLegalHoldsChangeHoldName]) { + jsonDict[@".tag"] = @"legal_holds_change_hold_name"; + } else if ([valueObj isLegalHoldsExportAHold]) { + jsonDict[@".tag"] = @"legal_holds_export_a_hold"; + } else if ([valueObj isLegalHoldsExportCancelled]) { + jsonDict[@".tag"] = @"legal_holds_export_cancelled"; + } else if ([valueObj isLegalHoldsExportDownloaded]) { + jsonDict[@".tag"] = @"legal_holds_export_downloaded"; + } else if ([valueObj isLegalHoldsExportRemoved]) { + jsonDict[@".tag"] = @"legal_holds_export_removed"; + } else if ([valueObj isLegalHoldsReleaseAHold]) { + jsonDict[@".tag"] = @"legal_holds_release_a_hold"; + } else if ([valueObj isLegalHoldsRemoveMembers]) { + jsonDict[@".tag"] = @"legal_holds_remove_members"; + } else if ([valueObj isLegalHoldsReportAHold]) { + jsonDict[@".tag"] = @"legal_holds_report_a_hold"; + } else if ([valueObj isDeviceChangeIpDesktop]) { + jsonDict[@".tag"] = @"device_change_ip_desktop"; + } else if ([valueObj isDeviceChangeIpMobile]) { + jsonDict[@".tag"] = @"device_change_ip_mobile"; + } else if ([valueObj isDeviceChangeIpWeb]) { + jsonDict[@".tag"] = @"device_change_ip_web"; + } else if ([valueObj isDeviceDeleteOnUnlinkFail]) { + jsonDict[@".tag"] = @"device_delete_on_unlink_fail"; + } else if ([valueObj isDeviceDeleteOnUnlinkSuccess]) { + jsonDict[@".tag"] = @"device_delete_on_unlink_success"; + } else if ([valueObj isDeviceLinkFail]) { + jsonDict[@".tag"] = @"device_link_fail"; + } else if ([valueObj isDeviceLinkSuccess]) { + jsonDict[@".tag"] = @"device_link_success"; + } else if ([valueObj isDeviceManagementDisabled]) { + jsonDict[@".tag"] = @"device_management_disabled"; + } else if ([valueObj isDeviceManagementEnabled]) { + jsonDict[@".tag"] = @"device_management_enabled"; + } else if ([valueObj isDeviceSyncBackupStatusChanged]) { + jsonDict[@".tag"] = @"device_sync_backup_status_changed"; + } else if ([valueObj isDeviceUnlink]) { + jsonDict[@".tag"] = @"device_unlink"; + } else if ([valueObj isDropboxPasswordsExported]) { + jsonDict[@".tag"] = @"dropbox_passwords_exported"; + } else if ([valueObj isDropboxPasswordsNewDeviceEnrolled]) { + jsonDict[@".tag"] = @"dropbox_passwords_new_device_enrolled"; + } else if ([valueObj isEmmRefreshAuthToken]) { + jsonDict[@".tag"] = @"emm_refresh_auth_token"; + } else if ([valueObj isExternalDriveBackupEligibilityStatusChecked]) { + jsonDict[@".tag"] = @"external_drive_backup_eligibility_status_checked"; + } else if ([valueObj isExternalDriveBackupStatusChanged]) { + jsonDict[@".tag"] = @"external_drive_backup_status_changed"; + } else if ([valueObj isAccountCaptureChangeAvailability]) { + jsonDict[@".tag"] = @"account_capture_change_availability"; + } else if ([valueObj isAccountCaptureMigrateAccount]) { + jsonDict[@".tag"] = @"account_capture_migrate_account"; + } else if ([valueObj isAccountCaptureNotificationEmailsSent]) { + jsonDict[@".tag"] = @"account_capture_notification_emails_sent"; + } else if ([valueObj isAccountCaptureRelinquishAccount]) { + jsonDict[@".tag"] = @"account_capture_relinquish_account"; + } else if ([valueObj isDisabledDomainInvites]) { + jsonDict[@".tag"] = @"disabled_domain_invites"; + } else if ([valueObj isDomainInvitesApproveRequestToJoinTeam]) { + jsonDict[@".tag"] = @"domain_invites_approve_request_to_join_team"; + } else if ([valueObj isDomainInvitesDeclineRequestToJoinTeam]) { + jsonDict[@".tag"] = @"domain_invites_decline_request_to_join_team"; + } else if ([valueObj isDomainInvitesEmailExistingUsers]) { + jsonDict[@".tag"] = @"domain_invites_email_existing_users"; + } else if ([valueObj isDomainInvitesRequestToJoinTeam]) { + jsonDict[@".tag"] = @"domain_invites_request_to_join_team"; + } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToNo]) { + jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_no"; + } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToYes]) { + jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_yes"; + } else if ([valueObj isDomainVerificationAddDomainFail]) { + jsonDict[@".tag"] = @"domain_verification_add_domain_fail"; + } else if ([valueObj isDomainVerificationAddDomainSuccess]) { + jsonDict[@".tag"] = @"domain_verification_add_domain_success"; + } else if ([valueObj isDomainVerificationRemoveDomain]) { + jsonDict[@".tag"] = @"domain_verification_remove_domain"; + } else if ([valueObj isEnabledDomainInvites]) { + jsonDict[@".tag"] = @"enabled_domain_invites"; + } else if ([valueObj isTeamEncryptionKeyCancelKeyDeletion]) { + jsonDict[@".tag"] = @"team_encryption_key_cancel_key_deletion"; + } else if ([valueObj isTeamEncryptionKeyCreateKey]) { + jsonDict[@".tag"] = @"team_encryption_key_create_key"; + } else if ([valueObj isTeamEncryptionKeyDeleteKey]) { + jsonDict[@".tag"] = @"team_encryption_key_delete_key"; + } else if ([valueObj isTeamEncryptionKeyDisableKey]) { + jsonDict[@".tag"] = @"team_encryption_key_disable_key"; + } else if ([valueObj isTeamEncryptionKeyEnableKey]) { + jsonDict[@".tag"] = @"team_encryption_key_enable_key"; + } else if ([valueObj isTeamEncryptionKeyRotateKey]) { + jsonDict[@".tag"] = @"team_encryption_key_rotate_key"; + } else if ([valueObj isTeamEncryptionKeyScheduleKeyDeletion]) { + jsonDict[@".tag"] = @"team_encryption_key_schedule_key_deletion"; + } else if ([valueObj isApplyNamingConvention]) { + jsonDict[@".tag"] = @"apply_naming_convention"; + } else if ([valueObj isCreateFolder]) { + jsonDict[@".tag"] = @"create_folder"; + } else if ([valueObj isFileAdd]) { + jsonDict[@".tag"] = @"file_add"; + } else if ([valueObj isFileAddFromAutomation]) { + jsonDict[@".tag"] = @"file_add_from_automation"; + } else if ([valueObj isFileCopy]) { + jsonDict[@".tag"] = @"file_copy"; + } else if ([valueObj isFileDelete]) { + jsonDict[@".tag"] = @"file_delete"; + } else if ([valueObj isFileDownload]) { + jsonDict[@".tag"] = @"file_download"; + } else if ([valueObj isFileEdit]) { + jsonDict[@".tag"] = @"file_edit"; + } else if ([valueObj isFileGetCopyReference]) { + jsonDict[@".tag"] = @"file_get_copy_reference"; + } else if ([valueObj isFileLockingLockStatusChanged]) { + jsonDict[@".tag"] = @"file_locking_lock_status_changed"; + } else if ([valueObj isFileMove]) { + jsonDict[@".tag"] = @"file_move"; + } else if ([valueObj isFilePermanentlyDelete]) { + jsonDict[@".tag"] = @"file_permanently_delete"; + } else if ([valueObj isFilePreview]) { + jsonDict[@".tag"] = @"file_preview"; + } else if ([valueObj isFileRename]) { + jsonDict[@".tag"] = @"file_rename"; + } else if ([valueObj isFileRestore]) { + jsonDict[@".tag"] = @"file_restore"; + } else if ([valueObj isFileRevert]) { + jsonDict[@".tag"] = @"file_revert"; + } else if ([valueObj isFileRollbackChanges]) { + jsonDict[@".tag"] = @"file_rollback_changes"; + } else if ([valueObj isFileSaveCopyReference]) { + jsonDict[@".tag"] = @"file_save_copy_reference"; + } else if ([valueObj isFolderOverviewDescriptionChanged]) { + jsonDict[@".tag"] = @"folder_overview_description_changed"; + } else if ([valueObj isFolderOverviewItemPinned]) { + jsonDict[@".tag"] = @"folder_overview_item_pinned"; + } else if ([valueObj isFolderOverviewItemUnpinned]) { + jsonDict[@".tag"] = @"folder_overview_item_unpinned"; + } else if ([valueObj isObjectLabelAdded]) { + jsonDict[@".tag"] = @"object_label_added"; + } else if ([valueObj isObjectLabelRemoved]) { + jsonDict[@".tag"] = @"object_label_removed"; + } else if ([valueObj isObjectLabelUpdatedValue]) { + jsonDict[@".tag"] = @"object_label_updated_value"; + } else if ([valueObj isOrganizeFolderWithTidy]) { + jsonDict[@".tag"] = @"organize_folder_with_tidy"; + } else if ([valueObj isReplayFileDelete]) { + jsonDict[@".tag"] = @"replay_file_delete"; + } else if ([valueObj isRewindFolder]) { + jsonDict[@".tag"] = @"rewind_folder"; + } else if ([valueObj isUndoNamingConvention]) { + jsonDict[@".tag"] = @"undo_naming_convention"; + } else if ([valueObj isUndoOrganizeFolderWithTidy]) { + jsonDict[@".tag"] = @"undo_organize_folder_with_tidy"; + } else if ([valueObj isUserTagsAdded]) { + jsonDict[@".tag"] = @"user_tags_added"; + } else if ([valueObj isUserTagsRemoved]) { + jsonDict[@".tag"] = @"user_tags_removed"; + } else if ([valueObj isEmailIngestReceiveFile]) { + jsonDict[@".tag"] = @"email_ingest_receive_file"; + } else if ([valueObj isFileRequestChange]) { + jsonDict[@".tag"] = @"file_request_change"; + } else if ([valueObj isFileRequestClose]) { + jsonDict[@".tag"] = @"file_request_close"; + } else if ([valueObj isFileRequestCreate]) { + jsonDict[@".tag"] = @"file_request_create"; + } else if ([valueObj isFileRequestDelete]) { + jsonDict[@".tag"] = @"file_request_delete"; + } else if ([valueObj isFileRequestReceiveFile]) { + jsonDict[@".tag"] = @"file_request_receive_file"; + } else if ([valueObj isGroupAddExternalId]) { + jsonDict[@".tag"] = @"group_add_external_id"; + } else if ([valueObj isGroupAddMember]) { + jsonDict[@".tag"] = @"group_add_member"; + } else if ([valueObj isGroupChangeExternalId]) { + jsonDict[@".tag"] = @"group_change_external_id"; + } else if ([valueObj isGroupChangeManagementType]) { + jsonDict[@".tag"] = @"group_change_management_type"; + } else if ([valueObj isGroupChangeMemberRole]) { + jsonDict[@".tag"] = @"group_change_member_role"; + } else if ([valueObj isGroupCreate]) { + jsonDict[@".tag"] = @"group_create"; + } else if ([valueObj isGroupDelete]) { + jsonDict[@".tag"] = @"group_delete"; + } else if ([valueObj isGroupDescriptionUpdated]) { + jsonDict[@".tag"] = @"group_description_updated"; + } else if ([valueObj isGroupJoinPolicyUpdated]) { + jsonDict[@".tag"] = @"group_join_policy_updated"; + } else if ([valueObj isGroupMoved]) { + jsonDict[@".tag"] = @"group_moved"; + } else if ([valueObj isGroupRemoveExternalId]) { + jsonDict[@".tag"] = @"group_remove_external_id"; + } else if ([valueObj isGroupRemoveMember]) { + jsonDict[@".tag"] = @"group_remove_member"; + } else if ([valueObj isGroupRename]) { + jsonDict[@".tag"] = @"group_rename"; + } else if ([valueObj isAccountLockOrUnlocked]) { + jsonDict[@".tag"] = @"account_lock_or_unlocked"; + } else if ([valueObj isEmmError]) { + jsonDict[@".tag"] = @"emm_error"; + } else if ([valueObj isGuestAdminSignedInViaTrustedTeams]) { + jsonDict[@".tag"] = @"guest_admin_signed_in_via_trusted_teams"; + } else if ([valueObj isGuestAdminSignedOutViaTrustedTeams]) { + jsonDict[@".tag"] = @"guest_admin_signed_out_via_trusted_teams"; + } else if ([valueObj isLoginFail]) { + jsonDict[@".tag"] = @"login_fail"; + } else if ([valueObj isLoginSuccess]) { + jsonDict[@".tag"] = @"login_success"; + } else if ([valueObj isLogout]) { + jsonDict[@".tag"] = @"logout"; + } else if ([valueObj isResellerSupportSessionEnd]) { + jsonDict[@".tag"] = @"reseller_support_session_end"; + } else if ([valueObj isResellerSupportSessionStart]) { + jsonDict[@".tag"] = @"reseller_support_session_start"; + } else if ([valueObj isSignInAsSessionEnd]) { + jsonDict[@".tag"] = @"sign_in_as_session_end"; + } else if ([valueObj isSignInAsSessionStart]) { + jsonDict[@".tag"] = @"sign_in_as_session_start"; + } else if ([valueObj isSsoError]) { + jsonDict[@".tag"] = @"sso_error"; + } else if ([valueObj isBackupAdminInvitationSent]) { + jsonDict[@".tag"] = @"backup_admin_invitation_sent"; + } else if ([valueObj isBackupInvitationOpened]) { + jsonDict[@".tag"] = @"backup_invitation_opened"; + } else if ([valueObj isCreateTeamInviteLink]) { + jsonDict[@".tag"] = @"create_team_invite_link"; + } else if ([valueObj isDeleteTeamInviteLink]) { + jsonDict[@".tag"] = @"delete_team_invite_link"; + } else if ([valueObj isMemberAddExternalId]) { + jsonDict[@".tag"] = @"member_add_external_id"; + } else if ([valueObj isMemberAddName]) { + jsonDict[@".tag"] = @"member_add_name"; + } else if ([valueObj isMemberChangeAdminRole]) { + jsonDict[@".tag"] = @"member_change_admin_role"; + } else if ([valueObj isMemberChangeEmail]) { + jsonDict[@".tag"] = @"member_change_email"; + } else if ([valueObj isMemberChangeExternalId]) { + jsonDict[@".tag"] = @"member_change_external_id"; + } else if ([valueObj isMemberChangeMembershipType]) { + jsonDict[@".tag"] = @"member_change_membership_type"; + } else if ([valueObj isMemberChangeName]) { + jsonDict[@".tag"] = @"member_change_name"; + } else if ([valueObj isMemberChangeResellerRole]) { + jsonDict[@".tag"] = @"member_change_reseller_role"; + } else if ([valueObj isMemberChangeStatus]) { + jsonDict[@".tag"] = @"member_change_status"; + } else if ([valueObj isMemberDeleteManualContacts]) { + jsonDict[@".tag"] = @"member_delete_manual_contacts"; + } else if ([valueObj isMemberDeleteProfilePhoto]) { + jsonDict[@".tag"] = @"member_delete_profile_photo"; + } else if ([valueObj isMemberPermanentlyDeleteAccountContents]) { + jsonDict[@".tag"] = @"member_permanently_delete_account_contents"; + } else if ([valueObj isMemberRemoveExternalId]) { + jsonDict[@".tag"] = @"member_remove_external_id"; + } else if ([valueObj isMemberSetProfilePhoto]) { + jsonDict[@".tag"] = @"member_set_profile_photo"; + } else if ([valueObj isMemberSpaceLimitsAddCustomQuota]) { + jsonDict[@".tag"] = @"member_space_limits_add_custom_quota"; + } else if ([valueObj isMemberSpaceLimitsChangeCustomQuota]) { + jsonDict[@".tag"] = @"member_space_limits_change_custom_quota"; + } else if ([valueObj isMemberSpaceLimitsChangeStatus]) { + jsonDict[@".tag"] = @"member_space_limits_change_status"; + } else if ([valueObj isMemberSpaceLimitsRemoveCustomQuota]) { + jsonDict[@".tag"] = @"member_space_limits_remove_custom_quota"; + } else if ([valueObj isMemberSuggest]) { + jsonDict[@".tag"] = @"member_suggest"; + } else if ([valueObj isMemberTransferAccountContents]) { + jsonDict[@".tag"] = @"member_transfer_account_contents"; + } else if ([valueObj isPendingSecondaryEmailAdded]) { + jsonDict[@".tag"] = @"pending_secondary_email_added"; + } else if ([valueObj isSecondaryEmailDeleted]) { + jsonDict[@".tag"] = @"secondary_email_deleted"; + } else if ([valueObj isSecondaryEmailVerified]) { + jsonDict[@".tag"] = @"secondary_email_verified"; + } else if ([valueObj isSecondaryMailsPolicyChanged]) { + jsonDict[@".tag"] = @"secondary_mails_policy_changed"; + } else if ([valueObj isBinderAddPage]) { + jsonDict[@".tag"] = @"binder_add_page"; + } else if ([valueObj isBinderAddSection]) { + jsonDict[@".tag"] = @"binder_add_section"; + } else if ([valueObj isBinderRemovePage]) { + jsonDict[@".tag"] = @"binder_remove_page"; + } else if ([valueObj isBinderRemoveSection]) { + jsonDict[@".tag"] = @"binder_remove_section"; + } else if ([valueObj isBinderRenamePage]) { + jsonDict[@".tag"] = @"binder_rename_page"; + } else if ([valueObj isBinderRenameSection]) { + jsonDict[@".tag"] = @"binder_rename_section"; + } else if ([valueObj isBinderReorderPage]) { + jsonDict[@".tag"] = @"binder_reorder_page"; + } else if ([valueObj isBinderReorderSection]) { + jsonDict[@".tag"] = @"binder_reorder_section"; + } else if ([valueObj isPaperContentAddMember]) { + jsonDict[@".tag"] = @"paper_content_add_member"; + } else if ([valueObj isPaperContentAddToFolder]) { + jsonDict[@".tag"] = @"paper_content_add_to_folder"; + } else if ([valueObj isPaperContentArchive]) { + jsonDict[@".tag"] = @"paper_content_archive"; + } else if ([valueObj isPaperContentCreate]) { + jsonDict[@".tag"] = @"paper_content_create"; + } else if ([valueObj isPaperContentPermanentlyDelete]) { + jsonDict[@".tag"] = @"paper_content_permanently_delete"; + } else if ([valueObj isPaperContentRemoveFromFolder]) { + jsonDict[@".tag"] = @"paper_content_remove_from_folder"; + } else if ([valueObj isPaperContentRemoveMember]) { + jsonDict[@".tag"] = @"paper_content_remove_member"; + } else if ([valueObj isPaperContentRename]) { + jsonDict[@".tag"] = @"paper_content_rename"; + } else if ([valueObj isPaperContentRestore]) { + jsonDict[@".tag"] = @"paper_content_restore"; + } else if ([valueObj isPaperDocAddComment]) { + jsonDict[@".tag"] = @"paper_doc_add_comment"; + } else if ([valueObj isPaperDocChangeMemberRole]) { + jsonDict[@".tag"] = @"paper_doc_change_member_role"; + } else if ([valueObj isPaperDocChangeSharingPolicy]) { + jsonDict[@".tag"] = @"paper_doc_change_sharing_policy"; + } else if ([valueObj isPaperDocChangeSubscription]) { + jsonDict[@".tag"] = @"paper_doc_change_subscription"; + } else if ([valueObj isPaperDocDeleted]) { + jsonDict[@".tag"] = @"paper_doc_deleted"; + } else if ([valueObj isPaperDocDeleteComment]) { + jsonDict[@".tag"] = @"paper_doc_delete_comment"; + } else if ([valueObj isPaperDocDownload]) { + jsonDict[@".tag"] = @"paper_doc_download"; + } else if ([valueObj isPaperDocEdit]) { + jsonDict[@".tag"] = @"paper_doc_edit"; + } else if ([valueObj isPaperDocEditComment]) { + jsonDict[@".tag"] = @"paper_doc_edit_comment"; + } else if ([valueObj isPaperDocFollowed]) { + jsonDict[@".tag"] = @"paper_doc_followed"; + } else if ([valueObj isPaperDocMention]) { + jsonDict[@".tag"] = @"paper_doc_mention"; + } else if ([valueObj isPaperDocOwnershipChanged]) { + jsonDict[@".tag"] = @"paper_doc_ownership_changed"; + } else if ([valueObj isPaperDocRequestAccess]) { + jsonDict[@".tag"] = @"paper_doc_request_access"; + } else if ([valueObj isPaperDocResolveComment]) { + jsonDict[@".tag"] = @"paper_doc_resolve_comment"; + } else if ([valueObj isPaperDocRevert]) { + jsonDict[@".tag"] = @"paper_doc_revert"; + } else if ([valueObj isPaperDocSlackShare]) { + jsonDict[@".tag"] = @"paper_doc_slack_share"; + } else if ([valueObj isPaperDocTeamInvite]) { + jsonDict[@".tag"] = @"paper_doc_team_invite"; + } else if ([valueObj isPaperDocTrashed]) { + jsonDict[@".tag"] = @"paper_doc_trashed"; + } else if ([valueObj isPaperDocUnresolveComment]) { + jsonDict[@".tag"] = @"paper_doc_unresolve_comment"; + } else if ([valueObj isPaperDocUntrashed]) { + jsonDict[@".tag"] = @"paper_doc_untrashed"; + } else if ([valueObj isPaperDocView]) { + jsonDict[@".tag"] = @"paper_doc_view"; + } else if ([valueObj isPaperExternalViewAllow]) { + jsonDict[@".tag"] = @"paper_external_view_allow"; + } else if ([valueObj isPaperExternalViewDefaultTeam]) { + jsonDict[@".tag"] = @"paper_external_view_default_team"; + } else if ([valueObj isPaperExternalViewForbid]) { + jsonDict[@".tag"] = @"paper_external_view_forbid"; + } else if ([valueObj isPaperFolderChangeSubscription]) { + jsonDict[@".tag"] = @"paper_folder_change_subscription"; + } else if ([valueObj isPaperFolderDeleted]) { + jsonDict[@".tag"] = @"paper_folder_deleted"; + } else if ([valueObj isPaperFolderFollowed]) { + jsonDict[@".tag"] = @"paper_folder_followed"; + } else if ([valueObj isPaperFolderTeamInvite]) { + jsonDict[@".tag"] = @"paper_folder_team_invite"; + } else if ([valueObj isPaperPublishedLinkChangePermission]) { + jsonDict[@".tag"] = @"paper_published_link_change_permission"; + } else if ([valueObj isPaperPublishedLinkCreate]) { + jsonDict[@".tag"] = @"paper_published_link_create"; + } else if ([valueObj isPaperPublishedLinkDisabled]) { + jsonDict[@".tag"] = @"paper_published_link_disabled"; + } else if ([valueObj isPaperPublishedLinkView]) { + jsonDict[@".tag"] = @"paper_published_link_view"; + } else if ([valueObj isPasswordChange]) { + jsonDict[@".tag"] = @"password_change"; + } else if ([valueObj isPasswordReset]) { + jsonDict[@".tag"] = @"password_reset"; + } else if ([valueObj isPasswordResetAll]) { + jsonDict[@".tag"] = @"password_reset_all"; + } else if ([valueObj isClassificationCreateReport]) { + jsonDict[@".tag"] = @"classification_create_report"; + } else if ([valueObj isClassificationCreateReportFail]) { + jsonDict[@".tag"] = @"classification_create_report_fail"; + } else if ([valueObj isEmmCreateExceptionsReport]) { + jsonDict[@".tag"] = @"emm_create_exceptions_report"; + } else if ([valueObj isEmmCreateUsageReport]) { + jsonDict[@".tag"] = @"emm_create_usage_report"; + } else if ([valueObj isExportMembersReport]) { + jsonDict[@".tag"] = @"export_members_report"; + } else if ([valueObj isExportMembersReportFail]) { + jsonDict[@".tag"] = @"export_members_report_fail"; + } else if ([valueObj isExternalSharingCreateReport]) { + jsonDict[@".tag"] = @"external_sharing_create_report"; + } else if ([valueObj isExternalSharingReportFailed]) { + jsonDict[@".tag"] = @"external_sharing_report_failed"; + } else if ([valueObj isNoExpirationLinkGenCreateReport]) { + jsonDict[@".tag"] = @"no_expiration_link_gen_create_report"; + } else if ([valueObj isNoExpirationLinkGenReportFailed]) { + jsonDict[@".tag"] = @"no_expiration_link_gen_report_failed"; + } else if ([valueObj isNoPasswordLinkGenCreateReport]) { + jsonDict[@".tag"] = @"no_password_link_gen_create_report"; + } else if ([valueObj isNoPasswordLinkGenReportFailed]) { + jsonDict[@".tag"] = @"no_password_link_gen_report_failed"; + } else if ([valueObj isNoPasswordLinkViewCreateReport]) { + jsonDict[@".tag"] = @"no_password_link_view_create_report"; + } else if ([valueObj isNoPasswordLinkViewReportFailed]) { + jsonDict[@".tag"] = @"no_password_link_view_report_failed"; + } else if ([valueObj isOutdatedLinkViewCreateReport]) { + jsonDict[@".tag"] = @"outdated_link_view_create_report"; + } else if ([valueObj isOutdatedLinkViewReportFailed]) { + jsonDict[@".tag"] = @"outdated_link_view_report_failed"; + } else if ([valueObj isPaperAdminExportStart]) { + jsonDict[@".tag"] = @"paper_admin_export_start"; + } else if ([valueObj isRansomwareAlertCreateReport]) { + jsonDict[@".tag"] = @"ransomware_alert_create_report"; + } else if ([valueObj isRansomwareAlertCreateReportFailed]) { + jsonDict[@".tag"] = @"ransomware_alert_create_report_failed"; + } else if ([valueObj isSmartSyncCreateAdminPrivilegeReport]) { + jsonDict[@".tag"] = @"smart_sync_create_admin_privilege_report"; + } else if ([valueObj isTeamActivityCreateReport]) { + jsonDict[@".tag"] = @"team_activity_create_report"; + } else if ([valueObj isTeamActivityCreateReportFail]) { + jsonDict[@".tag"] = @"team_activity_create_report_fail"; + } else if ([valueObj isCollectionShare]) { + jsonDict[@".tag"] = @"collection_share"; + } else if ([valueObj isFileTransfersFileAdd]) { + jsonDict[@".tag"] = @"file_transfers_file_add"; + } else if ([valueObj isFileTransfersTransferDelete]) { + jsonDict[@".tag"] = @"file_transfers_transfer_delete"; + } else if ([valueObj isFileTransfersTransferDownload]) { + jsonDict[@".tag"] = @"file_transfers_transfer_download"; + } else if ([valueObj isFileTransfersTransferSend]) { + jsonDict[@".tag"] = @"file_transfers_transfer_send"; + } else if ([valueObj isFileTransfersTransferView]) { + jsonDict[@".tag"] = @"file_transfers_transfer_view"; + } else if ([valueObj isNoteAclInviteOnly]) { + jsonDict[@".tag"] = @"note_acl_invite_only"; + } else if ([valueObj isNoteAclLink]) { + jsonDict[@".tag"] = @"note_acl_link"; + } else if ([valueObj isNoteAclTeamLink]) { + jsonDict[@".tag"] = @"note_acl_team_link"; + } else if ([valueObj isNoteShared]) { + jsonDict[@".tag"] = @"note_shared"; + } else if ([valueObj isNoteShareReceive]) { + jsonDict[@".tag"] = @"note_share_receive"; + } else if ([valueObj isOpenNoteShared]) { + jsonDict[@".tag"] = @"open_note_shared"; + } else if ([valueObj isReplayFileSharedLinkCreated]) { + jsonDict[@".tag"] = @"replay_file_shared_link_created"; + } else if ([valueObj isReplayFileSharedLinkModified]) { + jsonDict[@".tag"] = @"replay_file_shared_link_modified"; + } else if ([valueObj isReplayProjectTeamAdd]) { + jsonDict[@".tag"] = @"replay_project_team_add"; + } else if ([valueObj isReplayProjectTeamDelete]) { + jsonDict[@".tag"] = @"replay_project_team_delete"; + } else if ([valueObj isSfAddGroup]) { + jsonDict[@".tag"] = @"sf_add_group"; + } else if ([valueObj isSfAllowNonMembersToViewSharedLinks]) { + jsonDict[@".tag"] = @"sf_allow_non_members_to_view_shared_links"; + } else if ([valueObj isSfExternalInviteWarn]) { + jsonDict[@".tag"] = @"sf_external_invite_warn"; + } else if ([valueObj isSfFbInvite]) { + jsonDict[@".tag"] = @"sf_fb_invite"; + } else if ([valueObj isSfFbInviteChangeRole]) { + jsonDict[@".tag"] = @"sf_fb_invite_change_role"; + } else if ([valueObj isSfFbUninvite]) { + jsonDict[@".tag"] = @"sf_fb_uninvite"; + } else if ([valueObj isSfInviteGroup]) { + jsonDict[@".tag"] = @"sf_invite_group"; + } else if ([valueObj isSfTeamGrantAccess]) { + jsonDict[@".tag"] = @"sf_team_grant_access"; + } else if ([valueObj isSfTeamInvite]) { + jsonDict[@".tag"] = @"sf_team_invite"; + } else if ([valueObj isSfTeamInviteChangeRole]) { + jsonDict[@".tag"] = @"sf_team_invite_change_role"; + } else if ([valueObj isSfTeamJoin]) { + jsonDict[@".tag"] = @"sf_team_join"; + } else if ([valueObj isSfTeamJoinFromOobLink]) { + jsonDict[@".tag"] = @"sf_team_join_from_oob_link"; + } else if ([valueObj isSfTeamUninvite]) { + jsonDict[@".tag"] = @"sf_team_uninvite"; + } else if ([valueObj isSharedContentAddInvitees]) { + jsonDict[@".tag"] = @"shared_content_add_invitees"; + } else if ([valueObj isSharedContentAddLinkExpiry]) { + jsonDict[@".tag"] = @"shared_content_add_link_expiry"; + } else if ([valueObj isSharedContentAddLinkPassword]) { + jsonDict[@".tag"] = @"shared_content_add_link_password"; + } else if ([valueObj isSharedContentAddMember]) { + jsonDict[@".tag"] = @"shared_content_add_member"; + } else if ([valueObj isSharedContentChangeDownloadsPolicy]) { + jsonDict[@".tag"] = @"shared_content_change_downloads_policy"; + } else if ([valueObj isSharedContentChangeInviteeRole]) { + jsonDict[@".tag"] = @"shared_content_change_invitee_role"; + } else if ([valueObj isSharedContentChangeLinkAudience]) { + jsonDict[@".tag"] = @"shared_content_change_link_audience"; + } else if ([valueObj isSharedContentChangeLinkExpiry]) { + jsonDict[@".tag"] = @"shared_content_change_link_expiry"; + } else if ([valueObj isSharedContentChangeLinkPassword]) { + jsonDict[@".tag"] = @"shared_content_change_link_password"; + } else if ([valueObj isSharedContentChangeMemberRole]) { + jsonDict[@".tag"] = @"shared_content_change_member_role"; + } else if ([valueObj isSharedContentChangeViewerInfoPolicy]) { + jsonDict[@".tag"] = @"shared_content_change_viewer_info_policy"; + } else if ([valueObj isSharedContentClaimInvitation]) { + jsonDict[@".tag"] = @"shared_content_claim_invitation"; + } else if ([valueObj isSharedContentCopy]) { + jsonDict[@".tag"] = @"shared_content_copy"; + } else if ([valueObj isSharedContentDownload]) { + jsonDict[@".tag"] = @"shared_content_download"; + } else if ([valueObj isSharedContentRelinquishMembership]) { + jsonDict[@".tag"] = @"shared_content_relinquish_membership"; + } else if ([valueObj isSharedContentRemoveInvitees]) { + jsonDict[@".tag"] = @"shared_content_remove_invitees"; + } else if ([valueObj isSharedContentRemoveLinkExpiry]) { + jsonDict[@".tag"] = @"shared_content_remove_link_expiry"; + } else if ([valueObj isSharedContentRemoveLinkPassword]) { + jsonDict[@".tag"] = @"shared_content_remove_link_password"; + } else if ([valueObj isSharedContentRemoveMember]) { + jsonDict[@".tag"] = @"shared_content_remove_member"; + } else if ([valueObj isSharedContentRequestAccess]) { + jsonDict[@".tag"] = @"shared_content_request_access"; + } else if ([valueObj isSharedContentRestoreInvitees]) { + jsonDict[@".tag"] = @"shared_content_restore_invitees"; + } else if ([valueObj isSharedContentRestoreMember]) { + jsonDict[@".tag"] = @"shared_content_restore_member"; + } else if ([valueObj isSharedContentUnshare]) { + jsonDict[@".tag"] = @"shared_content_unshare"; + } else if ([valueObj isSharedContentView]) { + jsonDict[@".tag"] = @"shared_content_view"; + } else if ([valueObj isSharedFolderChangeLinkPolicy]) { + jsonDict[@".tag"] = @"shared_folder_change_link_policy"; + } else if ([valueObj isSharedFolderChangeMembersInheritancePolicy]) { + jsonDict[@".tag"] = @"shared_folder_change_members_inheritance_policy"; + } else if ([valueObj isSharedFolderChangeMembersManagementPolicy]) { + jsonDict[@".tag"] = @"shared_folder_change_members_management_policy"; + } else if ([valueObj isSharedFolderChangeMembersPolicy]) { + jsonDict[@".tag"] = @"shared_folder_change_members_policy"; + } else if ([valueObj isSharedFolderCreate]) { + jsonDict[@".tag"] = @"shared_folder_create"; + } else if ([valueObj isSharedFolderDeclineInvitation]) { + jsonDict[@".tag"] = @"shared_folder_decline_invitation"; + } else if ([valueObj isSharedFolderMount]) { + jsonDict[@".tag"] = @"shared_folder_mount"; + } else if ([valueObj isSharedFolderNest]) { + jsonDict[@".tag"] = @"shared_folder_nest"; + } else if ([valueObj isSharedFolderTransferOwnership]) { + jsonDict[@".tag"] = @"shared_folder_transfer_ownership"; + } else if ([valueObj isSharedFolderUnmount]) { + jsonDict[@".tag"] = @"shared_folder_unmount"; + } else if ([valueObj isSharedLinkAddExpiry]) { + jsonDict[@".tag"] = @"shared_link_add_expiry"; + } else if ([valueObj isSharedLinkChangeExpiry]) { + jsonDict[@".tag"] = @"shared_link_change_expiry"; + } else if ([valueObj isSharedLinkChangeVisibility]) { + jsonDict[@".tag"] = @"shared_link_change_visibility"; + } else if ([valueObj isSharedLinkCopy]) { + jsonDict[@".tag"] = @"shared_link_copy"; + } else if ([valueObj isSharedLinkCreate]) { + jsonDict[@".tag"] = @"shared_link_create"; + } else if ([valueObj isSharedLinkDisable]) { + jsonDict[@".tag"] = @"shared_link_disable"; + } else if ([valueObj isSharedLinkDownload]) { + jsonDict[@".tag"] = @"shared_link_download"; + } else if ([valueObj isSharedLinkRemoveExpiry]) { + jsonDict[@".tag"] = @"shared_link_remove_expiry"; + } else if ([valueObj isSharedLinkSettingsAddExpiration]) { + jsonDict[@".tag"] = @"shared_link_settings_add_expiration"; + } else if ([valueObj isSharedLinkSettingsAddPassword]) { + jsonDict[@".tag"] = @"shared_link_settings_add_password"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadDisabled]) { + jsonDict[@".tag"] = @"shared_link_settings_allow_download_disabled"; + } else if ([valueObj isSharedLinkSettingsAllowDownloadEnabled]) { + jsonDict[@".tag"] = @"shared_link_settings_allow_download_enabled"; + } else if ([valueObj isSharedLinkSettingsChangeAudience]) { + jsonDict[@".tag"] = @"shared_link_settings_change_audience"; + } else if ([valueObj isSharedLinkSettingsChangeExpiration]) { + jsonDict[@".tag"] = @"shared_link_settings_change_expiration"; + } else if ([valueObj isSharedLinkSettingsChangePassword]) { + jsonDict[@".tag"] = @"shared_link_settings_change_password"; + } else if ([valueObj isSharedLinkSettingsRemoveExpiration]) { + jsonDict[@".tag"] = @"shared_link_settings_remove_expiration"; + } else if ([valueObj isSharedLinkSettingsRemovePassword]) { + jsonDict[@".tag"] = @"shared_link_settings_remove_password"; + } else if ([valueObj isSharedLinkShare]) { + jsonDict[@".tag"] = @"shared_link_share"; + } else if ([valueObj isSharedLinkView]) { + jsonDict[@".tag"] = @"shared_link_view"; + } else if ([valueObj isSharedNoteOpened]) { + jsonDict[@".tag"] = @"shared_note_opened"; + } else if ([valueObj isShmodelDisableDownloads]) { + jsonDict[@".tag"] = @"shmodel_disable_downloads"; + } else if ([valueObj isShmodelEnableDownloads]) { + jsonDict[@".tag"] = @"shmodel_enable_downloads"; + } else if ([valueObj isShmodelGroupShare]) { + jsonDict[@".tag"] = @"shmodel_group_share"; + } else if ([valueObj isShowcaseAccessGranted]) { + jsonDict[@".tag"] = @"showcase_access_granted"; + } else if ([valueObj isShowcaseAddMember]) { + jsonDict[@".tag"] = @"showcase_add_member"; + } else if ([valueObj isShowcaseArchived]) { + jsonDict[@".tag"] = @"showcase_archived"; + } else if ([valueObj isShowcaseCreated]) { + jsonDict[@".tag"] = @"showcase_created"; + } else if ([valueObj isShowcaseDeleteComment]) { + jsonDict[@".tag"] = @"showcase_delete_comment"; + } else if ([valueObj isShowcaseEdited]) { + jsonDict[@".tag"] = @"showcase_edited"; + } else if ([valueObj isShowcaseEditComment]) { + jsonDict[@".tag"] = @"showcase_edit_comment"; + } else if ([valueObj isShowcaseFileAdded]) { + jsonDict[@".tag"] = @"showcase_file_added"; + } else if ([valueObj isShowcaseFileDownload]) { + jsonDict[@".tag"] = @"showcase_file_download"; + } else if ([valueObj isShowcaseFileRemoved]) { + jsonDict[@".tag"] = @"showcase_file_removed"; + } else if ([valueObj isShowcaseFileView]) { + jsonDict[@".tag"] = @"showcase_file_view"; + } else if ([valueObj isShowcasePermanentlyDeleted]) { + jsonDict[@".tag"] = @"showcase_permanently_deleted"; + } else if ([valueObj isShowcasePostComment]) { + jsonDict[@".tag"] = @"showcase_post_comment"; + } else if ([valueObj isShowcaseRemoveMember]) { + jsonDict[@".tag"] = @"showcase_remove_member"; + } else if ([valueObj isShowcaseRenamed]) { + jsonDict[@".tag"] = @"showcase_renamed"; + } else if ([valueObj isShowcaseRequestAccess]) { + jsonDict[@".tag"] = @"showcase_request_access"; + } else if ([valueObj isShowcaseResolveComment]) { + jsonDict[@".tag"] = @"showcase_resolve_comment"; + } else if ([valueObj isShowcaseRestored]) { + jsonDict[@".tag"] = @"showcase_restored"; + } else if ([valueObj isShowcaseTrashed]) { + jsonDict[@".tag"] = @"showcase_trashed"; + } else if ([valueObj isShowcaseTrashedDeprecated]) { + jsonDict[@".tag"] = @"showcase_trashed_deprecated"; + } else if ([valueObj isShowcaseUnresolveComment]) { + jsonDict[@".tag"] = @"showcase_unresolve_comment"; + } else if ([valueObj isShowcaseUntrashed]) { + jsonDict[@".tag"] = @"showcase_untrashed"; + } else if ([valueObj isShowcaseUntrashedDeprecated]) { + jsonDict[@".tag"] = @"showcase_untrashed_deprecated"; + } else if ([valueObj isShowcaseView]) { + jsonDict[@".tag"] = @"showcase_view"; + } else if ([valueObj isSsoAddCert]) { + jsonDict[@".tag"] = @"sso_add_cert"; + } else if ([valueObj isSsoAddLoginUrl]) { + jsonDict[@".tag"] = @"sso_add_login_url"; + } else if ([valueObj isSsoAddLogoutUrl]) { + jsonDict[@".tag"] = @"sso_add_logout_url"; + } else if ([valueObj isSsoChangeCert]) { + jsonDict[@".tag"] = @"sso_change_cert"; + } else if ([valueObj isSsoChangeLoginUrl]) { + jsonDict[@".tag"] = @"sso_change_login_url"; + } else if ([valueObj isSsoChangeLogoutUrl]) { + jsonDict[@".tag"] = @"sso_change_logout_url"; + } else if ([valueObj isSsoChangeSamlIdentityMode]) { + jsonDict[@".tag"] = @"sso_change_saml_identity_mode"; + } else if ([valueObj isSsoRemoveCert]) { + jsonDict[@".tag"] = @"sso_remove_cert"; + } else if ([valueObj isSsoRemoveLoginUrl]) { + jsonDict[@".tag"] = @"sso_remove_login_url"; + } else if ([valueObj isSsoRemoveLogoutUrl]) { + jsonDict[@".tag"] = @"sso_remove_logout_url"; + } else if ([valueObj isTeamFolderChangeStatus]) { + jsonDict[@".tag"] = @"team_folder_change_status"; + } else if ([valueObj isTeamFolderCreate]) { + jsonDict[@".tag"] = @"team_folder_create"; + } else if ([valueObj isTeamFolderDowngrade]) { + jsonDict[@".tag"] = @"team_folder_downgrade"; + } else if ([valueObj isTeamFolderPermanentlyDelete]) { + jsonDict[@".tag"] = @"team_folder_permanently_delete"; + } else if ([valueObj isTeamFolderRename]) { + jsonDict[@".tag"] = @"team_folder_rename"; + } else if ([valueObj isTeamSelectiveSyncSettingsChanged]) { + jsonDict[@".tag"] = @"team_selective_sync_settings_changed"; + } else if ([valueObj isAccountCaptureChangePolicy]) { + jsonDict[@".tag"] = @"account_capture_change_policy"; + } else if ([valueObj isAdminEmailRemindersChanged]) { + jsonDict[@".tag"] = @"admin_email_reminders_changed"; + } else if ([valueObj isAllowDownloadDisabled]) { + jsonDict[@".tag"] = @"allow_download_disabled"; + } else if ([valueObj isAllowDownloadEnabled]) { + jsonDict[@".tag"] = @"allow_download_enabled"; + } else if ([valueObj isAppPermissionsChanged]) { + jsonDict[@".tag"] = @"app_permissions_changed"; + } else if ([valueObj isCameraUploadsPolicyChanged]) { + jsonDict[@".tag"] = @"camera_uploads_policy_changed"; + } else if ([valueObj isCaptureTranscriptPolicyChanged]) { + jsonDict[@".tag"] = @"capture_transcript_policy_changed"; + } else if ([valueObj isClassificationChangePolicy]) { + jsonDict[@".tag"] = @"classification_change_policy"; + } else if ([valueObj isComputerBackupPolicyChanged]) { + jsonDict[@".tag"] = @"computer_backup_policy_changed"; + } else if ([valueObj isContentAdministrationPolicyChanged]) { + jsonDict[@".tag"] = @"content_administration_policy_changed"; + } else if ([valueObj isDataPlacementRestrictionChangePolicy]) { + jsonDict[@".tag"] = @"data_placement_restriction_change_policy"; + } else if ([valueObj isDataPlacementRestrictionSatisfyPolicy]) { + jsonDict[@".tag"] = @"data_placement_restriction_satisfy_policy"; + } else if ([valueObj isDeviceApprovalsAddException]) { + jsonDict[@".tag"] = @"device_approvals_add_exception"; + } else if ([valueObj isDeviceApprovalsChangeDesktopPolicy]) { + jsonDict[@".tag"] = @"device_approvals_change_desktop_policy"; + } else if ([valueObj isDeviceApprovalsChangeMobilePolicy]) { + jsonDict[@".tag"] = @"device_approvals_change_mobile_policy"; + } else if ([valueObj isDeviceApprovalsChangeOverageAction]) { + jsonDict[@".tag"] = @"device_approvals_change_overage_action"; + } else if ([valueObj isDeviceApprovalsChangeUnlinkAction]) { + jsonDict[@".tag"] = @"device_approvals_change_unlink_action"; + } else if ([valueObj isDeviceApprovalsRemoveException]) { + jsonDict[@".tag"] = @"device_approvals_remove_exception"; + } else if ([valueObj isDirectoryRestrictionsAddMembers]) { + jsonDict[@".tag"] = @"directory_restrictions_add_members"; + } else if ([valueObj isDirectoryRestrictionsRemoveMembers]) { + jsonDict[@".tag"] = @"directory_restrictions_remove_members"; + } else if ([valueObj isDropboxPasswordsPolicyChanged]) { + jsonDict[@".tag"] = @"dropbox_passwords_policy_changed"; + } else if ([valueObj isEmailIngestPolicyChanged]) { + jsonDict[@".tag"] = @"email_ingest_policy_changed"; + } else if ([valueObj isEmmAddException]) { + jsonDict[@".tag"] = @"emm_add_exception"; + } else if ([valueObj isEmmChangePolicy]) { + jsonDict[@".tag"] = @"emm_change_policy"; + } else if ([valueObj isEmmRemoveException]) { + jsonDict[@".tag"] = @"emm_remove_exception"; + } else if ([valueObj isExtendedVersionHistoryChangePolicy]) { + jsonDict[@".tag"] = @"extended_version_history_change_policy"; + } else if ([valueObj isExternalDriveBackupPolicyChanged]) { + jsonDict[@".tag"] = @"external_drive_backup_policy_changed"; + } else if ([valueObj isFileCommentsChangePolicy]) { + jsonDict[@".tag"] = @"file_comments_change_policy"; + } else if ([valueObj isFileLockingPolicyChanged]) { + jsonDict[@".tag"] = @"file_locking_policy_changed"; + } else if ([valueObj isFileProviderMigrationPolicyChanged]) { + jsonDict[@".tag"] = @"file_provider_migration_policy_changed"; + } else if ([valueObj isFileRequestsChangePolicy]) { + jsonDict[@".tag"] = @"file_requests_change_policy"; + } else if ([valueObj isFileRequestsEmailsEnabled]) { + jsonDict[@".tag"] = @"file_requests_emails_enabled"; + } else if ([valueObj isFileRequestsEmailsRestrictedToTeamOnly]) { + jsonDict[@".tag"] = @"file_requests_emails_restricted_to_team_only"; + } else if ([valueObj isFileTransfersPolicyChanged]) { + jsonDict[@".tag"] = @"file_transfers_policy_changed"; + } else if ([valueObj isFolderLinkRestrictionPolicyChanged]) { + jsonDict[@".tag"] = @"folder_link_restriction_policy_changed"; + } else if ([valueObj isGoogleSsoChangePolicy]) { + jsonDict[@".tag"] = @"google_sso_change_policy"; + } else if ([valueObj isGroupUserManagementChangePolicy]) { + jsonDict[@".tag"] = @"group_user_management_change_policy"; + } else if ([valueObj isIntegrationPolicyChanged]) { + jsonDict[@".tag"] = @"integration_policy_changed"; + } else if ([valueObj isInviteAcceptanceEmailPolicyChanged]) { + jsonDict[@".tag"] = @"invite_acceptance_email_policy_changed"; + } else if ([valueObj isMemberRequestsChangePolicy]) { + jsonDict[@".tag"] = @"member_requests_change_policy"; + } else if ([valueObj isMemberSendInvitePolicyChanged]) { + jsonDict[@".tag"] = @"member_send_invite_policy_changed"; + } else if ([valueObj isMemberSpaceLimitsAddException]) { + jsonDict[@".tag"] = @"member_space_limits_add_exception"; + } else if ([valueObj isMemberSpaceLimitsChangeCapsTypePolicy]) { + jsonDict[@".tag"] = @"member_space_limits_change_caps_type_policy"; + } else if ([valueObj isMemberSpaceLimitsChangePolicy]) { + jsonDict[@".tag"] = @"member_space_limits_change_policy"; + } else if ([valueObj isMemberSpaceLimitsRemoveException]) { + jsonDict[@".tag"] = @"member_space_limits_remove_exception"; + } else if ([valueObj isMemberSuggestionsChangePolicy]) { + jsonDict[@".tag"] = @"member_suggestions_change_policy"; + } else if ([valueObj isMicrosoftOfficeAddinChangePolicy]) { + jsonDict[@".tag"] = @"microsoft_office_addin_change_policy"; + } else if ([valueObj isNetworkControlChangePolicy]) { + jsonDict[@".tag"] = @"network_control_change_policy"; + } else if ([valueObj isPaperChangeDeploymentPolicy]) { + jsonDict[@".tag"] = @"paper_change_deployment_policy"; + } else if ([valueObj isPaperChangeMemberLinkPolicy]) { + jsonDict[@".tag"] = @"paper_change_member_link_policy"; + } else if ([valueObj isPaperChangeMemberPolicy]) { + jsonDict[@".tag"] = @"paper_change_member_policy"; + } else if ([valueObj isPaperChangePolicy]) { + jsonDict[@".tag"] = @"paper_change_policy"; + } else if ([valueObj isPaperDefaultFolderPolicyChanged]) { + jsonDict[@".tag"] = @"paper_default_folder_policy_changed"; + } else if ([valueObj isPaperDesktopPolicyChanged]) { + jsonDict[@".tag"] = @"paper_desktop_policy_changed"; + } else if ([valueObj isPaperEnabledUsersGroupAddition]) { + jsonDict[@".tag"] = @"paper_enabled_users_group_addition"; + } else if ([valueObj isPaperEnabledUsersGroupRemoval]) { + jsonDict[@".tag"] = @"paper_enabled_users_group_removal"; + } else if ([valueObj isPasswordStrengthRequirementsChangePolicy]) { + jsonDict[@".tag"] = @"password_strength_requirements_change_policy"; + } else if ([valueObj isPermanentDeleteChangePolicy]) { + jsonDict[@".tag"] = @"permanent_delete_change_policy"; + } else if ([valueObj isResellerSupportChangePolicy]) { + jsonDict[@".tag"] = @"reseller_support_change_policy"; + } else if ([valueObj isRewindPolicyChanged]) { + jsonDict[@".tag"] = @"rewind_policy_changed"; + } else if ([valueObj isSendForSignaturePolicyChanged]) { + jsonDict[@".tag"] = @"send_for_signature_policy_changed"; + } else if ([valueObj isSharingChangeFolderJoinPolicy]) { + jsonDict[@".tag"] = @"sharing_change_folder_join_policy"; + } else if ([valueObj isSharingChangeLinkAllowChangeExpirationPolicy]) { + jsonDict[@".tag"] = @"sharing_change_link_allow_change_expiration_policy"; + } else if ([valueObj isSharingChangeLinkDefaultExpirationPolicy]) { + jsonDict[@".tag"] = @"sharing_change_link_default_expiration_policy"; + } else if ([valueObj isSharingChangeLinkEnforcePasswordPolicy]) { + jsonDict[@".tag"] = @"sharing_change_link_enforce_password_policy"; + } else if ([valueObj isSharingChangeLinkPolicy]) { + jsonDict[@".tag"] = @"sharing_change_link_policy"; + } else if ([valueObj isSharingChangeMemberPolicy]) { + jsonDict[@".tag"] = @"sharing_change_member_policy"; + } else if ([valueObj isShowcaseChangeDownloadPolicy]) { + jsonDict[@".tag"] = @"showcase_change_download_policy"; + } else if ([valueObj isShowcaseChangeEnabledPolicy]) { + jsonDict[@".tag"] = @"showcase_change_enabled_policy"; + } else if ([valueObj isShowcaseChangeExternalSharingPolicy]) { + jsonDict[@".tag"] = @"showcase_change_external_sharing_policy"; + } else if ([valueObj isSmarterSmartSyncPolicyChanged]) { + jsonDict[@".tag"] = @"smarter_smart_sync_policy_changed"; + } else if ([valueObj isSmartSyncChangePolicy]) { + jsonDict[@".tag"] = @"smart_sync_change_policy"; + } else if ([valueObj isSmartSyncNotOptOut]) { + jsonDict[@".tag"] = @"smart_sync_not_opt_out"; + } else if ([valueObj isSmartSyncOptOut]) { + jsonDict[@".tag"] = @"smart_sync_opt_out"; + } else if ([valueObj isSsoChangePolicy]) { + jsonDict[@".tag"] = @"sso_change_policy"; + } else if ([valueObj isTeamBrandingPolicyChanged]) { + jsonDict[@".tag"] = @"team_branding_policy_changed"; + } else if ([valueObj isTeamExtensionsPolicyChanged]) { + jsonDict[@".tag"] = @"team_extensions_policy_changed"; + } else if ([valueObj isTeamSelectiveSyncPolicyChanged]) { + jsonDict[@".tag"] = @"team_selective_sync_policy_changed"; + } else if ([valueObj isTeamSharingWhitelistSubjectsChanged]) { + jsonDict[@".tag"] = @"team_sharing_whitelist_subjects_changed"; + } else if ([valueObj isTfaAddException]) { + jsonDict[@".tag"] = @"tfa_add_exception"; + } else if ([valueObj isTfaChangePolicy]) { + jsonDict[@".tag"] = @"tfa_change_policy"; + } else if ([valueObj isTfaRemoveException]) { + jsonDict[@".tag"] = @"tfa_remove_exception"; + } else if ([valueObj isTwoAccountChangePolicy]) { + jsonDict[@".tag"] = @"two_account_change_policy"; + } else if ([valueObj isViewerInfoPolicyChanged]) { + jsonDict[@".tag"] = @"viewer_info_policy_changed"; + } else if ([valueObj isWatermarkingPolicyChanged]) { + jsonDict[@".tag"] = @"watermarking_policy_changed"; + } else if ([valueObj isWebSessionsChangeActiveSessionLimit]) { + jsonDict[@".tag"] = @"web_sessions_change_active_session_limit"; + } else if ([valueObj isWebSessionsChangeFixedLengthPolicy]) { + jsonDict[@".tag"] = @"web_sessions_change_fixed_length_policy"; + } else if ([valueObj isWebSessionsChangeIdleLengthPolicy]) { + jsonDict[@".tag"] = @"web_sessions_change_idle_length_policy"; + } else if ([valueObj isDataResidencyMigrationRequestSuccessful]) { + jsonDict[@".tag"] = @"data_residency_migration_request_successful"; + } else if ([valueObj isDataResidencyMigrationRequestUnsuccessful]) { + jsonDict[@".tag"] = @"data_residency_migration_request_unsuccessful"; + } else if ([valueObj isTeamMergeFrom]) { + jsonDict[@".tag"] = @"team_merge_from"; + } else if ([valueObj isTeamMergeTo]) { + jsonDict[@".tag"] = @"team_merge_to"; + } else if ([valueObj isTeamProfileAddBackground]) { + jsonDict[@".tag"] = @"team_profile_add_background"; + } else if ([valueObj isTeamProfileAddLogo]) { + jsonDict[@".tag"] = @"team_profile_add_logo"; + } else if ([valueObj isTeamProfileChangeBackground]) { + jsonDict[@".tag"] = @"team_profile_change_background"; + } else if ([valueObj isTeamProfileChangeDefaultLanguage]) { + jsonDict[@".tag"] = @"team_profile_change_default_language"; + } else if ([valueObj isTeamProfileChangeLogo]) { + jsonDict[@".tag"] = @"team_profile_change_logo"; + } else if ([valueObj isTeamProfileChangeName]) { + jsonDict[@".tag"] = @"team_profile_change_name"; + } else if ([valueObj isTeamProfileRemoveBackground]) { + jsonDict[@".tag"] = @"team_profile_remove_background"; + } else if ([valueObj isTeamProfileRemoveLogo]) { + jsonDict[@".tag"] = @"team_profile_remove_logo"; + } else if ([valueObj isTfaAddBackupPhone]) { + jsonDict[@".tag"] = @"tfa_add_backup_phone"; + } else if ([valueObj isTfaAddSecurityKey]) { + jsonDict[@".tag"] = @"tfa_add_security_key"; + } else if ([valueObj isTfaChangeBackupPhone]) { + jsonDict[@".tag"] = @"tfa_change_backup_phone"; + } else if ([valueObj isTfaChangeStatus]) { + jsonDict[@".tag"] = @"tfa_change_status"; + } else if ([valueObj isTfaRemoveBackupPhone]) { + jsonDict[@".tag"] = @"tfa_remove_backup_phone"; + } else if ([valueObj isTfaRemoveSecurityKey]) { + jsonDict[@".tag"] = @"tfa_remove_security_key"; + } else if ([valueObj isTfaReset]) { + jsonDict[@".tag"] = @"tfa_reset"; + } else if ([valueObj isChangedEnterpriseAdminRole]) { + jsonDict[@".tag"] = @"changed_enterprise_admin_role"; + } else if ([valueObj isChangedEnterpriseConnectedTeamStatus]) { + jsonDict[@".tag"] = @"changed_enterprise_connected_team_status"; + } else if ([valueObj isEndedEnterpriseAdminSession]) { + jsonDict[@".tag"] = @"ended_enterprise_admin_session"; + } else if ([valueObj isEndedEnterpriseAdminSessionDeprecated]) { + jsonDict[@".tag"] = @"ended_enterprise_admin_session_deprecated"; + } else if ([valueObj isEnterpriseSettingsLocking]) { + jsonDict[@".tag"] = @"enterprise_settings_locking"; + } else if ([valueObj isGuestAdminChangeStatus]) { + jsonDict[@".tag"] = @"guest_admin_change_status"; + } else if ([valueObj isStartedEnterpriseAdminSession]) { + jsonDict[@".tag"] = @"started_enterprise_admin_session"; + } else if ([valueObj isTeamMergeRequestAccepted]) { + jsonDict[@".tag"] = @"team_merge_request_accepted"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestAcceptedShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_accepted_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestAutoCanceled]) { + jsonDict[@".tag"] = @"team_merge_request_auto_canceled"; + } else if ([valueObj isTeamMergeRequestCanceled]) { + jsonDict[@".tag"] = @"team_merge_request_canceled"; + } else if ([valueObj isTeamMergeRequestCanceledShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestCanceledShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_canceled_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestExpired]) { + jsonDict[@".tag"] = @"team_merge_request_expired"; + } else if ([valueObj isTeamMergeRequestExpiredShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestExpiredShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_expired_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestRejectedShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestRejectedShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_rejected_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestReminder]) { + jsonDict[@".tag"] = @"team_merge_request_reminder"; + } else if ([valueObj isTeamMergeRequestReminderShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestReminderShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_reminder_shown_to_secondary_team"; + } else if ([valueObj isTeamMergeRequestRevoked]) { + jsonDict[@".tag"] = @"team_merge_request_revoked"; + } else if ([valueObj isTeamMergeRequestSentShownToPrimaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_primary_team"; + } else if ([valueObj isTeamMergeRequestSentShownToSecondaryTeam]) { + jsonDict[@".tag"] = @"team_merge_request_sent_shown_to_secondary_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGEventTypeArg *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"admin_alerting_alert_state_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAdminAlertingAlertStateChanged]; + } else if ([tag isEqualToString:@"admin_alerting_changed_alert_config"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAdminAlertingChangedAlertConfig]; + } else if ([tag isEqualToString:@"admin_alerting_triggered_alert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAdminAlertingTriggeredAlert]; + } else if ([tag isEqualToString:@"ransomware_restore_process_completed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRansomwareRestoreProcessCompleted]; + } else if ([tag isEqualToString:@"ransomware_restore_process_started"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRansomwareRestoreProcessStarted]; + } else if ([tag isEqualToString:@"app_blocked_by_permissions"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppBlockedByPermissions]; + } else if ([tag isEqualToString:@"app_link_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppLinkTeam]; + } else if ([tag isEqualToString:@"app_link_user"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppLinkUser]; + } else if ([tag isEqualToString:@"app_unlink_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppUnlinkTeam]; + } else if ([tag isEqualToString:@"app_unlink_user"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppUnlinkUser]; + } else if ([tag isEqualToString:@"integration_connected"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithIntegrationConnected]; + } else if ([tag isEqualToString:@"integration_disconnected"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithIntegrationDisconnected]; + } else if ([tag isEqualToString:@"file_add_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileAddComment]; + } else if ([tag isEqualToString:@"file_change_comment_subscription"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileChangeCommentSubscription]; + } else if ([tag isEqualToString:@"file_delete_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileDeleteComment]; + } else if ([tag isEqualToString:@"file_edit_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileEditComment]; + } else if ([tag isEqualToString:@"file_like_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileLikeComment]; + } else if ([tag isEqualToString:@"file_resolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileResolveComment]; + } else if ([tag isEqualToString:@"file_unlike_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileUnlikeComment]; + } else if ([tag isEqualToString:@"file_unresolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileUnresolveComment]; + } else if ([tag isEqualToString:@"governance_policy_add_folders"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyAddFolders]; + } else if ([tag isEqualToString:@"governance_policy_add_folder_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyAddFolderFailed]; + } else if ([tag isEqualToString:@"governance_policy_content_disposed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyContentDisposed]; + } else if ([tag isEqualToString:@"governance_policy_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyCreate]; + } else if ([tag isEqualToString:@"governance_policy_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyDelete]; + } else if ([tag isEqualToString:@"governance_policy_edit_details"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyEditDetails]; + } else if ([tag isEqualToString:@"governance_policy_edit_duration"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyEditDuration]; + } else if ([tag isEqualToString:@"governance_policy_export_created"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyExportCreated]; + } else if ([tag isEqualToString:@"governance_policy_export_removed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyExportRemoved]; + } else if ([tag isEqualToString:@"governance_policy_remove_folders"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyRemoveFolders]; + } else if ([tag isEqualToString:@"governance_policy_report_created"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyReportCreated]; + } else if ([tag isEqualToString:@"governance_policy_zip_part_downloaded"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGovernancePolicyZipPartDownloaded]; + } else if ([tag isEqualToString:@"legal_holds_activate_a_hold"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsActivateAHold]; + } else if ([tag isEqualToString:@"legal_holds_add_members"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsAddMembers]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_details"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsChangeHoldDetails]; + } else if ([tag isEqualToString:@"legal_holds_change_hold_name"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsChangeHoldName]; + } else if ([tag isEqualToString:@"legal_holds_export_a_hold"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsExportAHold]; + } else if ([tag isEqualToString:@"legal_holds_export_cancelled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsExportCancelled]; + } else if ([tag isEqualToString:@"legal_holds_export_downloaded"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsExportDownloaded]; + } else if ([tag isEqualToString:@"legal_holds_export_removed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsExportRemoved]; + } else if ([tag isEqualToString:@"legal_holds_release_a_hold"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsReleaseAHold]; + } else if ([tag isEqualToString:@"legal_holds_remove_members"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsRemoveMembers]; + } else if ([tag isEqualToString:@"legal_holds_report_a_hold"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLegalHoldsReportAHold]; + } else if ([tag isEqualToString:@"device_change_ip_desktop"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceChangeIpDesktop]; + } else if ([tag isEqualToString:@"device_change_ip_mobile"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceChangeIpMobile]; + } else if ([tag isEqualToString:@"device_change_ip_web"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceChangeIpWeb]; + } else if ([tag isEqualToString:@"device_delete_on_unlink_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceDeleteOnUnlinkFail]; + } else if ([tag isEqualToString:@"device_delete_on_unlink_success"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceDeleteOnUnlinkSuccess]; + } else if ([tag isEqualToString:@"device_link_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceLinkFail]; + } else if ([tag isEqualToString:@"device_link_success"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceLinkSuccess]; + } else if ([tag isEqualToString:@"device_management_disabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceManagementDisabled]; + } else if ([tag isEqualToString:@"device_management_enabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceManagementEnabled]; + } else if ([tag isEqualToString:@"device_sync_backup_status_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceSyncBackupStatusChanged]; + } else if ([tag isEqualToString:@"device_unlink"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceUnlink]; + } else if ([tag isEqualToString:@"dropbox_passwords_exported"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDropboxPasswordsExported]; + } else if ([tag isEqualToString:@"dropbox_passwords_new_device_enrolled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDropboxPasswordsNewDeviceEnrolled]; + } else if ([tag isEqualToString:@"emm_refresh_auth_token"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmRefreshAuthToken]; + } else if ([tag isEqualToString:@"external_drive_backup_eligibility_status_checked"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExternalDriveBackupEligibilityStatusChecked]; + } else if ([tag isEqualToString:@"external_drive_backup_status_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExternalDriveBackupStatusChanged]; + } else if ([tag isEqualToString:@"account_capture_change_availability"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountCaptureChangeAvailability]; + } else if ([tag isEqualToString:@"account_capture_migrate_account"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountCaptureMigrateAccount]; + } else if ([tag isEqualToString:@"account_capture_notification_emails_sent"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountCaptureNotificationEmailsSent]; + } else if ([tag isEqualToString:@"account_capture_relinquish_account"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountCaptureRelinquishAccount]; + } else if ([tag isEqualToString:@"disabled_domain_invites"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDisabledDomainInvites]; + } else if ([tag isEqualToString:@"domain_invites_approve_request_to_join_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesApproveRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_decline_request_to_join_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesDeclineRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_email_existing_users"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesEmailExistingUsers]; + } else if ([tag isEqualToString:@"domain_invites_request_to_join_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesRequestToJoinTeam]; + } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_no"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesSetInviteNewUserPrefToNo]; + } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_yes"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainInvitesSetInviteNewUserPrefToYes]; + } else if ([tag isEqualToString:@"domain_verification_add_domain_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainVerificationAddDomainFail]; + } else if ([tag isEqualToString:@"domain_verification_add_domain_success"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainVerificationAddDomainSuccess]; + } else if ([tag isEqualToString:@"domain_verification_remove_domain"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDomainVerificationRemoveDomain]; + } else if ([tag isEqualToString:@"enabled_domain_invites"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEnabledDomainInvites]; + } else if ([tag isEqualToString:@"team_encryption_key_cancel_key_deletion"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyCancelKeyDeletion]; + } else if ([tag isEqualToString:@"team_encryption_key_create_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyCreateKey]; + } else if ([tag isEqualToString:@"team_encryption_key_delete_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyDeleteKey]; + } else if ([tag isEqualToString:@"team_encryption_key_disable_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyDisableKey]; + } else if ([tag isEqualToString:@"team_encryption_key_enable_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyEnableKey]; + } else if ([tag isEqualToString:@"team_encryption_key_rotate_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyRotateKey]; + } else if ([tag isEqualToString:@"team_encryption_key_schedule_key_deletion"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamEncryptionKeyScheduleKeyDeletion]; + } else if ([tag isEqualToString:@"apply_naming_convention"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithApplyNamingConvention]; + } else if ([tag isEqualToString:@"create_folder"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithCreateFolder]; + } else if ([tag isEqualToString:@"file_add"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileAdd]; + } else if ([tag isEqualToString:@"file_add_from_automation"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileAddFromAutomation]; + } else if ([tag isEqualToString:@"file_copy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileCopy]; + } else if ([tag isEqualToString:@"file_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileDelete]; + } else if ([tag isEqualToString:@"file_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileDownload]; + } else if ([tag isEqualToString:@"file_edit"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileEdit]; + } else if ([tag isEqualToString:@"file_get_copy_reference"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileGetCopyReference]; + } else if ([tag isEqualToString:@"file_locking_lock_status_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileLockingLockStatusChanged]; + } else if ([tag isEqualToString:@"file_move"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileMove]; + } else if ([tag isEqualToString:@"file_permanently_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFilePermanentlyDelete]; + } else if ([tag isEqualToString:@"file_preview"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFilePreview]; + } else if ([tag isEqualToString:@"file_rename"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRename]; + } else if ([tag isEqualToString:@"file_restore"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRestore]; + } else if ([tag isEqualToString:@"file_revert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRevert]; + } else if ([tag isEqualToString:@"file_rollback_changes"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRollbackChanges]; + } else if ([tag isEqualToString:@"file_save_copy_reference"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileSaveCopyReference]; + } else if ([tag isEqualToString:@"folder_overview_description_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFolderOverviewDescriptionChanged]; + } else if ([tag isEqualToString:@"folder_overview_item_pinned"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFolderOverviewItemPinned]; + } else if ([tag isEqualToString:@"folder_overview_item_unpinned"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFolderOverviewItemUnpinned]; + } else if ([tag isEqualToString:@"object_label_added"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithObjectLabelAdded]; + } else if ([tag isEqualToString:@"object_label_removed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithObjectLabelRemoved]; + } else if ([tag isEqualToString:@"object_label_updated_value"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithObjectLabelUpdatedValue]; + } else if ([tag isEqualToString:@"organize_folder_with_tidy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithOrganizeFolderWithTidy]; + } else if ([tag isEqualToString:@"replay_file_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithReplayFileDelete]; + } else if ([tag isEqualToString:@"rewind_folder"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRewindFolder]; + } else if ([tag isEqualToString:@"undo_naming_convention"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithUndoNamingConvention]; + } else if ([tag isEqualToString:@"undo_organize_folder_with_tidy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithUndoOrganizeFolderWithTidy]; + } else if ([tag isEqualToString:@"user_tags_added"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithUserTagsAdded]; + } else if ([tag isEqualToString:@"user_tags_removed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithUserTagsRemoved]; + } else if ([tag isEqualToString:@"email_ingest_receive_file"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmailIngestReceiveFile]; + } else if ([tag isEqualToString:@"file_request_change"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestChange]; + } else if ([tag isEqualToString:@"file_request_close"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestClose]; + } else if ([tag isEqualToString:@"file_request_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestCreate]; + } else if ([tag isEqualToString:@"file_request_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestDelete]; + } else if ([tag isEqualToString:@"file_request_receive_file"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestReceiveFile]; + } else if ([tag isEqualToString:@"group_add_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupAddExternalId]; + } else if ([tag isEqualToString:@"group_add_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupAddMember]; + } else if ([tag isEqualToString:@"group_change_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupChangeExternalId]; + } else if ([tag isEqualToString:@"group_change_management_type"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupChangeManagementType]; + } else if ([tag isEqualToString:@"group_change_member_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupChangeMemberRole]; + } else if ([tag isEqualToString:@"group_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupCreate]; + } else if ([tag isEqualToString:@"group_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupDelete]; + } else if ([tag isEqualToString:@"group_description_updated"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupDescriptionUpdated]; + } else if ([tag isEqualToString:@"group_join_policy_updated"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupJoinPolicyUpdated]; + } else if ([tag isEqualToString:@"group_moved"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupMoved]; + } else if ([tag isEqualToString:@"group_remove_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupRemoveExternalId]; + } else if ([tag isEqualToString:@"group_remove_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupRemoveMember]; + } else if ([tag isEqualToString:@"group_rename"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupRename]; + } else if ([tag isEqualToString:@"account_lock_or_unlocked"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountLockOrUnlocked]; + } else if ([tag isEqualToString:@"emm_error"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmError]; + } else if ([tag isEqualToString:@"guest_admin_signed_in_via_trusted_teams"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGuestAdminSignedInViaTrustedTeams]; + } else if ([tag isEqualToString:@"guest_admin_signed_out_via_trusted_teams"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGuestAdminSignedOutViaTrustedTeams]; + } else if ([tag isEqualToString:@"login_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLoginFail]; + } else if ([tag isEqualToString:@"login_success"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLoginSuccess]; + } else if ([tag isEqualToString:@"logout"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithLogout]; + } else if ([tag isEqualToString:@"reseller_support_session_end"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithResellerSupportSessionEnd]; + } else if ([tag isEqualToString:@"reseller_support_session_start"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithResellerSupportSessionStart]; + } else if ([tag isEqualToString:@"sign_in_as_session_end"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSignInAsSessionEnd]; + } else if ([tag isEqualToString:@"sign_in_as_session_start"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSignInAsSessionStart]; + } else if ([tag isEqualToString:@"sso_error"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoError]; + } else if ([tag isEqualToString:@"backup_admin_invitation_sent"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBackupAdminInvitationSent]; + } else if ([tag isEqualToString:@"backup_invitation_opened"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBackupInvitationOpened]; + } else if ([tag isEqualToString:@"create_team_invite_link"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithCreateTeamInviteLink]; + } else if ([tag isEqualToString:@"delete_team_invite_link"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeleteTeamInviteLink]; + } else if ([tag isEqualToString:@"member_add_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberAddExternalId]; + } else if ([tag isEqualToString:@"member_add_name"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberAddName]; + } else if ([tag isEqualToString:@"member_change_admin_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeAdminRole]; + } else if ([tag isEqualToString:@"member_change_email"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeEmail]; + } else if ([tag isEqualToString:@"member_change_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeExternalId]; + } else if ([tag isEqualToString:@"member_change_membership_type"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeMembershipType]; + } else if ([tag isEqualToString:@"member_change_name"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeName]; + } else if ([tag isEqualToString:@"member_change_reseller_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeResellerRole]; + } else if ([tag isEqualToString:@"member_change_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberChangeStatus]; + } else if ([tag isEqualToString:@"member_delete_manual_contacts"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberDeleteManualContacts]; + } else if ([tag isEqualToString:@"member_delete_profile_photo"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberDeleteProfilePhoto]; + } else if ([tag isEqualToString:@"member_permanently_delete_account_contents"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberPermanentlyDeleteAccountContents]; + } else if ([tag isEqualToString:@"member_remove_external_id"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberRemoveExternalId]; + } else if ([tag isEqualToString:@"member_set_profile_photo"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSetProfilePhoto]; + } else if ([tag isEqualToString:@"member_space_limits_add_custom_quota"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsAddCustomQuota]; + } else if ([tag isEqualToString:@"member_space_limits_change_custom_quota"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsChangeCustomQuota]; + } else if ([tag isEqualToString:@"member_space_limits_change_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsChangeStatus]; + } else if ([tag isEqualToString:@"member_space_limits_remove_custom_quota"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsRemoveCustomQuota]; + } else if ([tag isEqualToString:@"member_suggest"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSuggest]; + } else if ([tag isEqualToString:@"member_transfer_account_contents"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberTransferAccountContents]; + } else if ([tag isEqualToString:@"pending_secondary_email_added"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPendingSecondaryEmailAdded]; + } else if ([tag isEqualToString:@"secondary_email_deleted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSecondaryEmailDeleted]; + } else if ([tag isEqualToString:@"secondary_email_verified"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSecondaryEmailVerified]; + } else if ([tag isEqualToString:@"secondary_mails_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSecondaryMailsPolicyChanged]; + } else if ([tag isEqualToString:@"binder_add_page"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderAddPage]; + } else if ([tag isEqualToString:@"binder_add_section"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderAddSection]; + } else if ([tag isEqualToString:@"binder_remove_page"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderRemovePage]; + } else if ([tag isEqualToString:@"binder_remove_section"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderRemoveSection]; + } else if ([tag isEqualToString:@"binder_rename_page"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderRenamePage]; + } else if ([tag isEqualToString:@"binder_rename_section"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderRenameSection]; + } else if ([tag isEqualToString:@"binder_reorder_page"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderReorderPage]; + } else if ([tag isEqualToString:@"binder_reorder_section"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithBinderReorderSection]; + } else if ([tag isEqualToString:@"paper_content_add_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentAddMember]; + } else if ([tag isEqualToString:@"paper_content_add_to_folder"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentAddToFolder]; + } else if ([tag isEqualToString:@"paper_content_archive"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentArchive]; + } else if ([tag isEqualToString:@"paper_content_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentCreate]; + } else if ([tag isEqualToString:@"paper_content_permanently_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentPermanentlyDelete]; + } else if ([tag isEqualToString:@"paper_content_remove_from_folder"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentRemoveFromFolder]; + } else if ([tag isEqualToString:@"paper_content_remove_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentRemoveMember]; + } else if ([tag isEqualToString:@"paper_content_rename"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentRename]; + } else if ([tag isEqualToString:@"paper_content_restore"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperContentRestore]; + } else if ([tag isEqualToString:@"paper_doc_add_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocAddComment]; + } else if ([tag isEqualToString:@"paper_doc_change_member_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocChangeMemberRole]; + } else if ([tag isEqualToString:@"paper_doc_change_sharing_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocChangeSharingPolicy]; + } else if ([tag isEqualToString:@"paper_doc_change_subscription"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocChangeSubscription]; + } else if ([tag isEqualToString:@"paper_doc_deleted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocDeleted]; + } else if ([tag isEqualToString:@"paper_doc_delete_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocDeleteComment]; + } else if ([tag isEqualToString:@"paper_doc_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocDownload]; + } else if ([tag isEqualToString:@"paper_doc_edit"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocEdit]; + } else if ([tag isEqualToString:@"paper_doc_edit_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocEditComment]; + } else if ([tag isEqualToString:@"paper_doc_followed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocFollowed]; + } else if ([tag isEqualToString:@"paper_doc_mention"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocMention]; + } else if ([tag isEqualToString:@"paper_doc_ownership_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocOwnershipChanged]; + } else if ([tag isEqualToString:@"paper_doc_request_access"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocRequestAccess]; + } else if ([tag isEqualToString:@"paper_doc_resolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocResolveComment]; + } else if ([tag isEqualToString:@"paper_doc_revert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocRevert]; + } else if ([tag isEqualToString:@"paper_doc_slack_share"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocSlackShare]; + } else if ([tag isEqualToString:@"paper_doc_team_invite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocTeamInvite]; + } else if ([tag isEqualToString:@"paper_doc_trashed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocTrashed]; + } else if ([tag isEqualToString:@"paper_doc_unresolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocUnresolveComment]; + } else if ([tag isEqualToString:@"paper_doc_untrashed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocUntrashed]; + } else if ([tag isEqualToString:@"paper_doc_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDocView]; + } else if ([tag isEqualToString:@"paper_external_view_allow"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperExternalViewAllow]; + } else if ([tag isEqualToString:@"paper_external_view_default_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperExternalViewDefaultTeam]; + } else if ([tag isEqualToString:@"paper_external_view_forbid"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperExternalViewForbid]; + } else if ([tag isEqualToString:@"paper_folder_change_subscription"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperFolderChangeSubscription]; + } else if ([tag isEqualToString:@"paper_folder_deleted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperFolderDeleted]; + } else if ([tag isEqualToString:@"paper_folder_followed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperFolderFollowed]; + } else if ([tag isEqualToString:@"paper_folder_team_invite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperFolderTeamInvite]; + } else if ([tag isEqualToString:@"paper_published_link_change_permission"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperPublishedLinkChangePermission]; + } else if ([tag isEqualToString:@"paper_published_link_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperPublishedLinkCreate]; + } else if ([tag isEqualToString:@"paper_published_link_disabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperPublishedLinkDisabled]; + } else if ([tag isEqualToString:@"paper_published_link_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperPublishedLinkView]; + } else if ([tag isEqualToString:@"password_change"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPasswordChange]; + } else if ([tag isEqualToString:@"password_reset"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPasswordReset]; + } else if ([tag isEqualToString:@"password_reset_all"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPasswordResetAll]; + } else if ([tag isEqualToString:@"classification_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithClassificationCreateReport]; + } else if ([tag isEqualToString:@"classification_create_report_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithClassificationCreateReportFail]; + } else if ([tag isEqualToString:@"emm_create_exceptions_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmCreateExceptionsReport]; + } else if ([tag isEqualToString:@"emm_create_usage_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmCreateUsageReport]; + } else if ([tag isEqualToString:@"export_members_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExportMembersReport]; + } else if ([tag isEqualToString:@"export_members_report_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExportMembersReportFail]; + } else if ([tag isEqualToString:@"external_sharing_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExternalSharingCreateReport]; + } else if ([tag isEqualToString:@"external_sharing_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExternalSharingReportFailed]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoExpirationLinkGenCreateReport]; + } else if ([tag isEqualToString:@"no_expiration_link_gen_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoExpirationLinkGenReportFailed]; + } else if ([tag isEqualToString:@"no_password_link_gen_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoPasswordLinkGenCreateReport]; + } else if ([tag isEqualToString:@"no_password_link_gen_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoPasswordLinkGenReportFailed]; + } else if ([tag isEqualToString:@"no_password_link_view_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoPasswordLinkViewCreateReport]; + } else if ([tag isEqualToString:@"no_password_link_view_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoPasswordLinkViewReportFailed]; + } else if ([tag isEqualToString:@"outdated_link_view_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithOutdatedLinkViewCreateReport]; + } else if ([tag isEqualToString:@"outdated_link_view_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithOutdatedLinkViewReportFailed]; + } else if ([tag isEqualToString:@"paper_admin_export_start"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperAdminExportStart]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRansomwareAlertCreateReport]; + } else if ([tag isEqualToString:@"ransomware_alert_create_report_failed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRansomwareAlertCreateReportFailed]; + } else if ([tag isEqualToString:@"smart_sync_create_admin_privilege_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSmartSyncCreateAdminPrivilegeReport]; + } else if ([tag isEqualToString:@"team_activity_create_report"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamActivityCreateReport]; + } else if ([tag isEqualToString:@"team_activity_create_report_fail"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamActivityCreateReportFail]; + } else if ([tag isEqualToString:@"collection_share"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithCollectionShare]; + } else if ([tag isEqualToString:@"file_transfers_file_add"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersFileAdd]; + } else if ([tag isEqualToString:@"file_transfers_transfer_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersTransferDelete]; + } else if ([tag isEqualToString:@"file_transfers_transfer_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersTransferDownload]; + } else if ([tag isEqualToString:@"file_transfers_transfer_send"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersTransferSend]; + } else if ([tag isEqualToString:@"file_transfers_transfer_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersTransferView]; + } else if ([tag isEqualToString:@"note_acl_invite_only"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoteAclInviteOnly]; + } else if ([tag isEqualToString:@"note_acl_link"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoteAclLink]; + } else if ([tag isEqualToString:@"note_acl_team_link"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoteAclTeamLink]; + } else if ([tag isEqualToString:@"note_shared"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoteShared]; + } else if ([tag isEqualToString:@"note_share_receive"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNoteShareReceive]; + } else if ([tag isEqualToString:@"open_note_shared"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithOpenNoteShared]; + } else if ([tag isEqualToString:@"replay_file_shared_link_created"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithReplayFileSharedLinkCreated]; + } else if ([tag isEqualToString:@"replay_file_shared_link_modified"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithReplayFileSharedLinkModified]; + } else if ([tag isEqualToString:@"replay_project_team_add"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithReplayProjectTeamAdd]; + } else if ([tag isEqualToString:@"replay_project_team_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithReplayProjectTeamDelete]; + } else if ([tag isEqualToString:@"sf_add_group"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfAddGroup]; + } else if ([tag isEqualToString:@"sf_allow_non_members_to_view_shared_links"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfAllowNonMembersToViewSharedLinks]; + } else if ([tag isEqualToString:@"sf_external_invite_warn"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfExternalInviteWarn]; + } else if ([tag isEqualToString:@"sf_fb_invite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfFbInvite]; + } else if ([tag isEqualToString:@"sf_fb_invite_change_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfFbInviteChangeRole]; + } else if ([tag isEqualToString:@"sf_fb_uninvite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfFbUninvite]; + } else if ([tag isEqualToString:@"sf_invite_group"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfInviteGroup]; + } else if ([tag isEqualToString:@"sf_team_grant_access"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamGrantAccess]; + } else if ([tag isEqualToString:@"sf_team_invite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamInvite]; + } else if ([tag isEqualToString:@"sf_team_invite_change_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamInviteChangeRole]; + } else if ([tag isEqualToString:@"sf_team_join"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamJoin]; + } else if ([tag isEqualToString:@"sf_team_join_from_oob_link"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamJoinFromOobLink]; + } else if ([tag isEqualToString:@"sf_team_uninvite"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSfTeamUninvite]; + } else if ([tag isEqualToString:@"shared_content_add_invitees"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentAddInvitees]; + } else if ([tag isEqualToString:@"shared_content_add_link_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentAddLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_add_link_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentAddLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_add_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentAddMember]; + } else if ([tag isEqualToString:@"shared_content_change_downloads_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeDownloadsPolicy]; + } else if ([tag isEqualToString:@"shared_content_change_invitee_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeInviteeRole]; + } else if ([tag isEqualToString:@"shared_content_change_link_audience"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeLinkAudience]; + } else if ([tag isEqualToString:@"shared_content_change_link_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_change_link_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_change_member_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeMemberRole]; + } else if ([tag isEqualToString:@"shared_content_change_viewer_info_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentChangeViewerInfoPolicy]; + } else if ([tag isEqualToString:@"shared_content_claim_invitation"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentClaimInvitation]; + } else if ([tag isEqualToString:@"shared_content_copy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentCopy]; + } else if ([tag isEqualToString:@"shared_content_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentDownload]; + } else if ([tag isEqualToString:@"shared_content_relinquish_membership"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRelinquishMembership]; + } else if ([tag isEqualToString:@"shared_content_remove_invitees"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRemoveInvitees]; + } else if ([tag isEqualToString:@"shared_content_remove_link_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRemoveLinkExpiry]; + } else if ([tag isEqualToString:@"shared_content_remove_link_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRemoveLinkPassword]; + } else if ([tag isEqualToString:@"shared_content_remove_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRemoveMember]; + } else if ([tag isEqualToString:@"shared_content_request_access"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRequestAccess]; + } else if ([tag isEqualToString:@"shared_content_restore_invitees"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRestoreInvitees]; + } else if ([tag isEqualToString:@"shared_content_restore_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentRestoreMember]; + } else if ([tag isEqualToString:@"shared_content_unshare"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentUnshare]; + } else if ([tag isEqualToString:@"shared_content_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedContentView]; + } else if ([tag isEqualToString:@"shared_folder_change_link_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderChangeLinkPolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_inheritance_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderChangeMembersInheritancePolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_management_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderChangeMembersManagementPolicy]; + } else if ([tag isEqualToString:@"shared_folder_change_members_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderChangeMembersPolicy]; + } else if ([tag isEqualToString:@"shared_folder_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderCreate]; + } else if ([tag isEqualToString:@"shared_folder_decline_invitation"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderDeclineInvitation]; + } else if ([tag isEqualToString:@"shared_folder_mount"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderMount]; + } else if ([tag isEqualToString:@"shared_folder_nest"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderNest]; + } else if ([tag isEqualToString:@"shared_folder_transfer_ownership"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderTransferOwnership]; + } else if ([tag isEqualToString:@"shared_folder_unmount"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedFolderUnmount]; + } else if ([tag isEqualToString:@"shared_link_add_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkAddExpiry]; + } else if ([tag isEqualToString:@"shared_link_change_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkChangeExpiry]; + } else if ([tag isEqualToString:@"shared_link_change_visibility"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkChangeVisibility]; + } else if ([tag isEqualToString:@"shared_link_copy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkCopy]; + } else if ([tag isEqualToString:@"shared_link_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkCreate]; + } else if ([tag isEqualToString:@"shared_link_disable"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkDisable]; + } else if ([tag isEqualToString:@"shared_link_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkDownload]; + } else if ([tag isEqualToString:@"shared_link_remove_expiry"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkRemoveExpiry]; + } else if ([tag isEqualToString:@"shared_link_settings_add_expiration"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsAddExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_add_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsAddPassword]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_disabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsAllowDownloadDisabled]; + } else if ([tag isEqualToString:@"shared_link_settings_allow_download_enabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsAllowDownloadEnabled]; + } else if ([tag isEqualToString:@"shared_link_settings_change_audience"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsChangeAudience]; + } else if ([tag isEqualToString:@"shared_link_settings_change_expiration"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsChangeExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_change_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsChangePassword]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_expiration"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsRemoveExpiration]; + } else if ([tag isEqualToString:@"shared_link_settings_remove_password"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkSettingsRemovePassword]; + } else if ([tag isEqualToString:@"shared_link_share"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkShare]; + } else if ([tag isEqualToString:@"shared_link_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedLinkView]; + } else if ([tag isEqualToString:@"shared_note_opened"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharedNoteOpened]; + } else if ([tag isEqualToString:@"shmodel_disable_downloads"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShmodelDisableDownloads]; + } else if ([tag isEqualToString:@"shmodel_enable_downloads"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShmodelEnableDownloads]; + } else if ([tag isEqualToString:@"shmodel_group_share"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShmodelGroupShare]; + } else if ([tag isEqualToString:@"showcase_access_granted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseAccessGranted]; + } else if ([tag isEqualToString:@"showcase_add_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseAddMember]; + } else if ([tag isEqualToString:@"showcase_archived"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseArchived]; + } else if ([tag isEqualToString:@"showcase_created"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseCreated]; + } else if ([tag isEqualToString:@"showcase_delete_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseDeleteComment]; + } else if ([tag isEqualToString:@"showcase_edited"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseEdited]; + } else if ([tag isEqualToString:@"showcase_edit_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseEditComment]; + } else if ([tag isEqualToString:@"showcase_file_added"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseFileAdded]; + } else if ([tag isEqualToString:@"showcase_file_download"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseFileDownload]; + } else if ([tag isEqualToString:@"showcase_file_removed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseFileRemoved]; + } else if ([tag isEqualToString:@"showcase_file_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseFileView]; + } else if ([tag isEqualToString:@"showcase_permanently_deleted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcasePermanentlyDeleted]; + } else if ([tag isEqualToString:@"showcase_post_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcasePostComment]; + } else if ([tag isEqualToString:@"showcase_remove_member"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseRemoveMember]; + } else if ([tag isEqualToString:@"showcase_renamed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseRenamed]; + } else if ([tag isEqualToString:@"showcase_request_access"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseRequestAccess]; + } else if ([tag isEqualToString:@"showcase_resolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseResolveComment]; + } else if ([tag isEqualToString:@"showcase_restored"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseRestored]; + } else if ([tag isEqualToString:@"showcase_trashed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseTrashed]; + } else if ([tag isEqualToString:@"showcase_trashed_deprecated"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseTrashedDeprecated]; + } else if ([tag isEqualToString:@"showcase_unresolve_comment"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseUnresolveComment]; + } else if ([tag isEqualToString:@"showcase_untrashed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseUntrashed]; + } else if ([tag isEqualToString:@"showcase_untrashed_deprecated"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseUntrashedDeprecated]; + } else if ([tag isEqualToString:@"showcase_view"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseView]; + } else if ([tag isEqualToString:@"sso_add_cert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoAddCert]; + } else if ([tag isEqualToString:@"sso_add_login_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoAddLoginUrl]; + } else if ([tag isEqualToString:@"sso_add_logout_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoAddLogoutUrl]; + } else if ([tag isEqualToString:@"sso_change_cert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoChangeCert]; + } else if ([tag isEqualToString:@"sso_change_login_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoChangeLoginUrl]; + } else if ([tag isEqualToString:@"sso_change_logout_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoChangeLogoutUrl]; + } else if ([tag isEqualToString:@"sso_change_saml_identity_mode"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoChangeSamlIdentityMode]; + } else if ([tag isEqualToString:@"sso_remove_cert"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoRemoveCert]; + } else if ([tag isEqualToString:@"sso_remove_login_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoRemoveLoginUrl]; + } else if ([tag isEqualToString:@"sso_remove_logout_url"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoRemoveLogoutUrl]; + } else if ([tag isEqualToString:@"team_folder_change_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamFolderChangeStatus]; + } else if ([tag isEqualToString:@"team_folder_create"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamFolderCreate]; + } else if ([tag isEqualToString:@"team_folder_downgrade"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamFolderDowngrade]; + } else if ([tag isEqualToString:@"team_folder_permanently_delete"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamFolderPermanentlyDelete]; + } else if ([tag isEqualToString:@"team_folder_rename"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamFolderRename]; + } else if ([tag isEqualToString:@"team_selective_sync_settings_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamSelectiveSyncSettingsChanged]; + } else if ([tag isEqualToString:@"account_capture_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAccountCaptureChangePolicy]; + } else if ([tag isEqualToString:@"admin_email_reminders_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAdminEmailRemindersChanged]; + } else if ([tag isEqualToString:@"allow_download_disabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAllowDownloadDisabled]; + } else if ([tag isEqualToString:@"allow_download_enabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAllowDownloadEnabled]; + } else if ([tag isEqualToString:@"app_permissions_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithAppPermissionsChanged]; + } else if ([tag isEqualToString:@"camera_uploads_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithCameraUploadsPolicyChanged]; + } else if ([tag isEqualToString:@"capture_transcript_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithCaptureTranscriptPolicyChanged]; + } else if ([tag isEqualToString:@"classification_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithClassificationChangePolicy]; + } else if ([tag isEqualToString:@"computer_backup_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithComputerBackupPolicyChanged]; + } else if ([tag isEqualToString:@"content_administration_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithContentAdministrationPolicyChanged]; + } else if ([tag isEqualToString:@"data_placement_restriction_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDataPlacementRestrictionChangePolicy]; + } else if ([tag isEqualToString:@"data_placement_restriction_satisfy_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDataPlacementRestrictionSatisfyPolicy]; + } else if ([tag isEqualToString:@"device_approvals_add_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsAddException]; + } else if ([tag isEqualToString:@"device_approvals_change_desktop_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsChangeDesktopPolicy]; + } else if ([tag isEqualToString:@"device_approvals_change_mobile_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsChangeMobilePolicy]; + } else if ([tag isEqualToString:@"device_approvals_change_overage_action"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsChangeOverageAction]; + } else if ([tag isEqualToString:@"device_approvals_change_unlink_action"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsChangeUnlinkAction]; + } else if ([tag isEqualToString:@"device_approvals_remove_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDeviceApprovalsRemoveException]; + } else if ([tag isEqualToString:@"directory_restrictions_add_members"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDirectoryRestrictionsAddMembers]; + } else if ([tag isEqualToString:@"directory_restrictions_remove_members"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDirectoryRestrictionsRemoveMembers]; + } else if ([tag isEqualToString:@"dropbox_passwords_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDropboxPasswordsPolicyChanged]; + } else if ([tag isEqualToString:@"email_ingest_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmailIngestPolicyChanged]; + } else if ([tag isEqualToString:@"emm_add_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmAddException]; + } else if ([tag isEqualToString:@"emm_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmChangePolicy]; + } else if ([tag isEqualToString:@"emm_remove_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEmmRemoveException]; + } else if ([tag isEqualToString:@"extended_version_history_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExtendedVersionHistoryChangePolicy]; + } else if ([tag isEqualToString:@"external_drive_backup_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithExternalDriveBackupPolicyChanged]; + } else if ([tag isEqualToString:@"file_comments_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileCommentsChangePolicy]; + } else if ([tag isEqualToString:@"file_locking_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileLockingPolicyChanged]; + } else if ([tag isEqualToString:@"file_provider_migration_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileProviderMigrationPolicyChanged]; + } else if ([tag isEqualToString:@"file_requests_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestsChangePolicy]; + } else if ([tag isEqualToString:@"file_requests_emails_enabled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestsEmailsEnabled]; + } else if ([tag isEqualToString:@"file_requests_emails_restricted_to_team_only"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileRequestsEmailsRestrictedToTeamOnly]; + } else if ([tag isEqualToString:@"file_transfers_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFileTransfersPolicyChanged]; + } else if ([tag isEqualToString:@"folder_link_restriction_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithFolderLinkRestrictionPolicyChanged]; + } else if ([tag isEqualToString:@"google_sso_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGoogleSsoChangePolicy]; + } else if ([tag isEqualToString:@"group_user_management_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGroupUserManagementChangePolicy]; + } else if ([tag isEqualToString:@"integration_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithIntegrationPolicyChanged]; + } else if ([tag isEqualToString:@"invite_acceptance_email_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithInviteAcceptanceEmailPolicyChanged]; + } else if ([tag isEqualToString:@"member_requests_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberRequestsChangePolicy]; + } else if ([tag isEqualToString:@"member_send_invite_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSendInvitePolicyChanged]; + } else if ([tag isEqualToString:@"member_space_limits_add_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsAddException]; + } else if ([tag isEqualToString:@"member_space_limits_change_caps_type_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsChangeCapsTypePolicy]; + } else if ([tag isEqualToString:@"member_space_limits_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsChangePolicy]; + } else if ([tag isEqualToString:@"member_space_limits_remove_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSpaceLimitsRemoveException]; + } else if ([tag isEqualToString:@"member_suggestions_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMemberSuggestionsChangePolicy]; + } else if ([tag isEqualToString:@"microsoft_office_addin_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithMicrosoftOfficeAddinChangePolicy]; + } else if ([tag isEqualToString:@"network_control_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithNetworkControlChangePolicy]; + } else if ([tag isEqualToString:@"paper_change_deployment_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperChangeDeploymentPolicy]; + } else if ([tag isEqualToString:@"paper_change_member_link_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperChangeMemberLinkPolicy]; + } else if ([tag isEqualToString:@"paper_change_member_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperChangeMemberPolicy]; + } else if ([tag isEqualToString:@"paper_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperChangePolicy]; + } else if ([tag isEqualToString:@"paper_default_folder_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDefaultFolderPolicyChanged]; + } else if ([tag isEqualToString:@"paper_desktop_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperDesktopPolicyChanged]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_addition"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperEnabledUsersGroupAddition]; + } else if ([tag isEqualToString:@"paper_enabled_users_group_removal"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPaperEnabledUsersGroupRemoval]; + } else if ([tag isEqualToString:@"password_strength_requirements_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPasswordStrengthRequirementsChangePolicy]; + } else if ([tag isEqualToString:@"permanent_delete_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithPermanentDeleteChangePolicy]; + } else if ([tag isEqualToString:@"reseller_support_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithResellerSupportChangePolicy]; + } else if ([tag isEqualToString:@"rewind_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithRewindPolicyChanged]; + } else if ([tag isEqualToString:@"send_for_signature_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSendForSignaturePolicyChanged]; + } else if ([tag isEqualToString:@"sharing_change_folder_join_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeFolderJoinPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_allow_change_expiration_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeLinkAllowChangeExpirationPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_default_expiration_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeLinkDefaultExpirationPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_enforce_password_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeLinkEnforcePasswordPolicy]; + } else if ([tag isEqualToString:@"sharing_change_link_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeLinkPolicy]; + } else if ([tag isEqualToString:@"sharing_change_member_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSharingChangeMemberPolicy]; + } else if ([tag isEqualToString:@"showcase_change_download_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseChangeDownloadPolicy]; + } else if ([tag isEqualToString:@"showcase_change_enabled_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseChangeEnabledPolicy]; + } else if ([tag isEqualToString:@"showcase_change_external_sharing_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithShowcaseChangeExternalSharingPolicy]; + } else if ([tag isEqualToString:@"smarter_smart_sync_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSmarterSmartSyncPolicyChanged]; + } else if ([tag isEqualToString:@"smart_sync_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSmartSyncChangePolicy]; + } else if ([tag isEqualToString:@"smart_sync_not_opt_out"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSmartSyncNotOptOut]; + } else if ([tag isEqualToString:@"smart_sync_opt_out"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSmartSyncOptOut]; + } else if ([tag isEqualToString:@"sso_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithSsoChangePolicy]; + } else if ([tag isEqualToString:@"team_branding_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamBrandingPolicyChanged]; + } else if ([tag isEqualToString:@"team_extensions_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamExtensionsPolicyChanged]; + } else if ([tag isEqualToString:@"team_selective_sync_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamSelectiveSyncPolicyChanged]; + } else if ([tag isEqualToString:@"team_sharing_whitelist_subjects_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamSharingWhitelistSubjectsChanged]; + } else if ([tag isEqualToString:@"tfa_add_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaAddException]; + } else if ([tag isEqualToString:@"tfa_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaChangePolicy]; + } else if ([tag isEqualToString:@"tfa_remove_exception"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaRemoveException]; + } else if ([tag isEqualToString:@"two_account_change_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTwoAccountChangePolicy]; + } else if ([tag isEqualToString:@"viewer_info_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithViewerInfoPolicyChanged]; + } else if ([tag isEqualToString:@"watermarking_policy_changed"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithWatermarkingPolicyChanged]; + } else if ([tag isEqualToString:@"web_sessions_change_active_session_limit"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithWebSessionsChangeActiveSessionLimit]; + } else if ([tag isEqualToString:@"web_sessions_change_fixed_length_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithWebSessionsChangeFixedLengthPolicy]; + } else if ([tag isEqualToString:@"web_sessions_change_idle_length_policy"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithWebSessionsChangeIdleLengthPolicy]; + } else if ([tag isEqualToString:@"data_residency_migration_request_successful"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDataResidencyMigrationRequestSuccessful]; + } else if ([tag isEqualToString:@"data_residency_migration_request_unsuccessful"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithDataResidencyMigrationRequestUnsuccessful]; + } else if ([tag isEqualToString:@"team_merge_from"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeFrom]; + } else if ([tag isEqualToString:@"team_merge_to"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeTo]; + } else if ([tag isEqualToString:@"team_profile_add_background"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileAddBackground]; + } else if ([tag isEqualToString:@"team_profile_add_logo"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileAddLogo]; + } else if ([tag isEqualToString:@"team_profile_change_background"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileChangeBackground]; + } else if ([tag isEqualToString:@"team_profile_change_default_language"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileChangeDefaultLanguage]; + } else if ([tag isEqualToString:@"team_profile_change_logo"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileChangeLogo]; + } else if ([tag isEqualToString:@"team_profile_change_name"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileChangeName]; + } else if ([tag isEqualToString:@"team_profile_remove_background"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileRemoveBackground]; + } else if ([tag isEqualToString:@"team_profile_remove_logo"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamProfileRemoveLogo]; + } else if ([tag isEqualToString:@"tfa_add_backup_phone"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaAddBackupPhone]; + } else if ([tag isEqualToString:@"tfa_add_security_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaAddSecurityKey]; + } else if ([tag isEqualToString:@"tfa_change_backup_phone"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaChangeBackupPhone]; + } else if ([tag isEqualToString:@"tfa_change_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaChangeStatus]; + } else if ([tag isEqualToString:@"tfa_remove_backup_phone"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaRemoveBackupPhone]; + } else if ([tag isEqualToString:@"tfa_remove_security_key"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaRemoveSecurityKey]; + } else if ([tag isEqualToString:@"tfa_reset"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTfaReset]; + } else if ([tag isEqualToString:@"changed_enterprise_admin_role"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithChangedEnterpriseAdminRole]; + } else if ([tag isEqualToString:@"changed_enterprise_connected_team_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithChangedEnterpriseConnectedTeamStatus]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEndedEnterpriseAdminSession]; + } else if ([tag isEqualToString:@"ended_enterprise_admin_session_deprecated"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEndedEnterpriseAdminSessionDeprecated]; + } else if ([tag isEqualToString:@"enterprise_settings_locking"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithEnterpriseSettingsLocking]; + } else if ([tag isEqualToString:@"guest_admin_change_status"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithGuestAdminChangeStatus]; + } else if ([tag isEqualToString:@"started_enterprise_admin_session"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithStartedEnterpriseAdminSession]; + } else if ([tag isEqualToString:@"team_merge_request_accepted"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestAccepted]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestAcceptedShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_accepted_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestAcceptedShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_auto_canceled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestAutoCanceled]; + } else if ([tag isEqualToString:@"team_merge_request_canceled"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestCanceled]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestCanceledShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_canceled_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestCanceledShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_expired"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestExpired]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestExpiredShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_expired_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestExpiredShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestRejectedShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_rejected_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestRejectedShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_reminder"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestReminder]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestReminderShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_reminder_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestReminderShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_revoked"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestRevoked]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_primary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestSentShownToPrimaryTeam]; + } else if ([tag isEqualToString:@"team_merge_request_sent_shown_to_secondary_team"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithTeamMergeRequestSentShownToSecondaryTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGEventTypeArg alloc] initWithOther]; + } else { + return [[DBTEAMLOGEventTypeArg alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExportMembersReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExportMembersReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExportMembersReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExportMembersReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExportMembersReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportMembersReportDetails:other]; +} + +- (BOOL)isEqualToExportMembersReportDetails:(DBTEAMLOGExportMembersReportDetails *)anExportMembersReportDetails { + if (self == anExportMembersReportDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExportMembersReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExportMembersReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGExportMembersReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGExportMembersReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExportMembersReportFailDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExportMembersReportFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExportMembersReportFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExportMembersReportFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExportMembersReportFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportMembersReportFailDetails:other]; +} + +- (BOOL)isEqualToExportMembersReportFailDetails: + (DBTEAMLOGExportMembersReportFailDetails *)anExportMembersReportFailDetails { + if (self == anExportMembersReportFailDetails) { + return YES; + } + if (![self.failureReason isEqual:anExportMembersReportFailDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExportMembersReportFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExportMembersReportFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGExportMembersReportFailDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGExportMembersReportFailDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExportMembersReportFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExportMembersReportFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExportMembersReportFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExportMembersReportFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExportMembersReportFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportMembersReportFailType:other]; +} + +- (BOOL)isEqualToExportMembersReportFailType:(DBTEAMLOGExportMembersReportFailType *)anExportMembersReportFailType { + if (self == anExportMembersReportFailType) { + return YES; + } + if (![self.description_ isEqual:anExportMembersReportFailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExportMembersReportFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExportMembersReportFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExportMembersReportFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExportMembersReportFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExportMembersReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExportMembersReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExportMembersReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExportMembersReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExportMembersReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExportMembersReportType:other]; +} + +- (BOOL)isEqualToExportMembersReportType:(DBTEAMLOGExportMembersReportType *)anExportMembersReportType { + if (self == anExportMembersReportType) { + return YES; + } + if (![self.description_ isEqual:anExportMembersReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExportMembersReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExportMembersReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExportMembersReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExportMembersReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h" +#import "DBTEAMLOGExtendedVersionHistoryPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue + previousValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExtendedVersionHistoryChangePolicyDetails:other]; +} + +- (BOOL)isEqualToExtendedVersionHistoryChangePolicyDetails: + (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)anExtendedVersionHistoryChangePolicyDetails { + if (self == anExtendedVersionHistoryChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:anExtendedVersionHistoryChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:anExtendedVersionHistoryChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGExtendedVersionHistoryPolicy *dNewValue = + [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGExtendedVersionHistoryPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGExtendedVersionHistoryChangePolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExtendedVersionHistoryChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExtendedVersionHistoryChangePolicyType:other]; +} + +- (BOOL)isEqualToExtendedVersionHistoryChangePolicyType: + (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)anExtendedVersionHistoryChangePolicyType { + if (self == anExtendedVersionHistoryChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:anExtendedVersionHistoryChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExtendedVersionHistoryChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExtendedVersionHistoryPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExtendedVersionHistoryPolicy + +#pragma mark - Constructors + +- (instancetype)initWithExplicitlyLimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited; + } + return self; +} + +- (instancetype)initWithExplicitlyUnlimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited; + } + return self; +} + +- (instancetype)initWithImplicitlyLimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited; + } + return self; +} + +- (instancetype)initWithImplicitlyUnlimited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExtendedVersionHistoryPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isExplicitlyLimited { + return _tag == DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited; +} + +- (BOOL)isExplicitlyUnlimited { + return _tag == DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited; +} + +- (BOOL)isImplicitlyLimited { + return _tag == DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited; +} + +- (BOOL)isImplicitlyUnlimited { + return _tag == DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGExtendedVersionHistoryPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: + return @"DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited"; + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: + return @"DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited"; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: + return @"DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited"; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited: + return @"DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited"; + case DBTEAMLOGExtendedVersionHistoryPolicyOther: + return @"DBTEAMLOGExtendedVersionHistoryPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExtendedVersionHistoryPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExtendedVersionHistoryPolicy:other]; +} + +- (BOOL)isEqualToExtendedVersionHistoryPolicy:(DBTEAMLOGExtendedVersionHistoryPolicy *)anExtendedVersionHistoryPolicy { + if (self == anExtendedVersionHistoryPolicy) { + return YES; + } + if (self.tag != anExtendedVersionHistoryPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: + return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; + case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: + return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: + return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; + case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited: + return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; + case DBTEAMLOGExtendedVersionHistoryPolicyOther: + return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExtendedVersionHistoryPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isExplicitlyLimited]) { + jsonDict[@".tag"] = @"explicitly_limited"; + } else if ([valueObj isExplicitlyUnlimited]) { + jsonDict[@".tag"] = @"explicitly_unlimited"; + } else if ([valueObj isImplicitlyLimited]) { + jsonDict[@".tag"] = @"implicitly_limited"; + } else if ([valueObj isImplicitlyUnlimited]) { + jsonDict[@".tag"] = @"implicitly_unlimited"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"explicitly_limited"]) { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithExplicitlyLimited]; + } else if ([tag isEqualToString:@"explicitly_unlimited"]) { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithExplicitlyUnlimited]; + } else if ([tag isEqualToString:@"implicitly_limited"]) { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithImplicitlyLimited]; + } else if ([tag isEqualToString:@"implicitly_unlimited"]) { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithImplicitlyUnlimited]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatus + +#pragma mark - Constructors + +- (instancetype)initWithExceedLicenseCap { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap; + } + return self; +} + +- (instancetype)initWithSuccess { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupEligibilityStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isExceedLicenseCap { + return _tag == DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap; +} + +- (BOOL)isSuccess { + return _tag == DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGExternalDriveBackupEligibilityStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap: + return @"DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap"; + case DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess: + return @"DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess"; + case DBTEAMLOGExternalDriveBackupEligibilityStatusOther: + return @"DBTEAMLOGExternalDriveBackupEligibilityStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupEligibilityStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupEligibilityStatus:other]; +} + +- (BOOL)isEqualToExternalDriveBackupEligibilityStatus: + (DBTEAMLOGExternalDriveBackupEligibilityStatus *)anExternalDriveBackupEligibilityStatus { + if (self == anExternalDriveBackupEligibilityStatus) { + return YES; + } + if (self.tag != anExternalDriveBackupEligibilityStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap: + return [[self tagName] isEqual:[anExternalDriveBackupEligibilityStatus tagName]]; + case DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess: + return [[self tagName] isEqual:[anExternalDriveBackupEligibilityStatus tagName]]; + case DBTEAMLOGExternalDriveBackupEligibilityStatusOther: + return [[self tagName] isEqual:[anExternalDriveBackupEligibilityStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupEligibilityStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isExceedLicenseCap]) { + jsonDict[@".tag"] = @"exceed_license_cap"; + } else if ([valueObj isSuccess]) { + jsonDict[@".tag"] = @"success"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupEligibilityStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"exceed_license_cap"]) { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatus alloc] initWithExceedLicenseCap]; + } else if ([tag isEqualToString:@"success"]) { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatus alloc] initWithSuccess]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatus alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatus.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + status:(DBTEAMLOGExternalDriveBackupEligibilityStatus *)status + numberOfExternalDriveBackup:(NSNumber *)numberOfExternalDriveBackup { + [DBStoneValidators nonnullValidator:nil](desktopDeviceSessionInfo); + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](numberOfExternalDriveBackup); + + self = [super init]; + if (self) { + _desktopDeviceSessionInfo = desktopDeviceSessionInfo; + _status = status; + _numberOfExternalDriveBackup = numberOfExternalDriveBackup; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.desktopDeviceSessionInfo hash]; + result = prime * result + [self.status hash]; + result = prime * result + [self.numberOfExternalDriveBackup hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupEligibilityStatusCheckedDetails:other]; +} + +- (BOOL)isEqualToExternalDriveBackupEligibilityStatusCheckedDetails: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *) + anExternalDriveBackupEligibilityStatusCheckedDetails { + if (self == anExternalDriveBackupEligibilityStatusCheckedDetails) { + return YES; + } + if (![self.desktopDeviceSessionInfo + isEqual:anExternalDriveBackupEligibilityStatusCheckedDetails.desktopDeviceSessionInfo]) { + return NO; + } + if (![self.status isEqual:anExternalDriveBackupEligibilityStatusCheckedDetails.status]) { + return NO; + } + if (![self.numberOfExternalDriveBackup + isEqual:anExternalDriveBackupEligibilityStatusCheckedDetails.numberOfExternalDriveBackup]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"desktop_device_session_info"] = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:valueObj.desktopDeviceSessionInfo]; + jsonDict[@"status"] = [DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer serialize:valueObj.status]; + jsonDict[@"number_of_external_drive_backup"] = valueObj.numberOfExternalDriveBackup; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:valueDict[@"desktop_device_session_info"]]; + DBTEAMLOGExternalDriveBackupEligibilityStatus *status = + [DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer deserialize:valueDict[@"status"]]; + NSNumber *numberOfExternalDriveBackup = valueDict[@"number_of_external_drive_backup"]; + + return [[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails alloc] + initWithDesktopDeviceSessionInfo:desktopDeviceSessionInfo + status:status + numberOfExternalDriveBackup:numberOfExternalDriveBackup]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupEligibilityStatusCheckedType:other]; +} + +- (BOOL)isEqualToExternalDriveBackupEligibilityStatusCheckedType: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)anExternalDriveBackupEligibilityStatusCheckedType { + if (self == anExternalDriveBackupEligibilityStatusCheckedType) { + return YES; + } + if (![self.description_ isEqual:anExternalDriveBackupEligibilityStatusCheckedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupPolicyDefault_; + } + return self; +} + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGExternalDriveBackupPolicyDefault_; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGExternalDriveBackupPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGExternalDriveBackupPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGExternalDriveBackupPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGExternalDriveBackupPolicyDefault_: + return @"DBTEAMLOGExternalDriveBackupPolicyDefault_"; + case DBTEAMLOGExternalDriveBackupPolicyDisabled: + return @"DBTEAMLOGExternalDriveBackupPolicyDisabled"; + case DBTEAMLOGExternalDriveBackupPolicyEnabled: + return @"DBTEAMLOGExternalDriveBackupPolicyEnabled"; + case DBTEAMLOGExternalDriveBackupPolicyOther: + return @"DBTEAMLOGExternalDriveBackupPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGExternalDriveBackupPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupPolicy:other]; +} + +- (BOOL)isEqualToExternalDriveBackupPolicy:(DBTEAMLOGExternalDriveBackupPolicy *)anExternalDriveBackupPolicy { + if (self == anExternalDriveBackupPolicy) { + return YES; + } + if (self.tag != anExternalDriveBackupPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGExternalDriveBackupPolicyDefault_: + return [[self tagName] isEqual:[anExternalDriveBackupPolicy tagName]]; + case DBTEAMLOGExternalDriveBackupPolicyDisabled: + return [[self tagName] isEqual:[anExternalDriveBackupPolicy tagName]]; + case DBTEAMLOGExternalDriveBackupPolicyEnabled: + return [[self tagName] isEqual:[anExternalDriveBackupPolicy tagName]]; + case DBTEAMLOGExternalDriveBackupPolicyOther: + return [[self tagName] isEqual:[anExternalDriveBackupPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGExternalDriveBackupPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGExternalDriveBackupPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGExternalDriveBackupPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGExternalDriveBackupPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGExternalDriveBackupPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupPolicy.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGExternalDriveBackupPolicy *)dNewValue + previousValue:(DBTEAMLOGExternalDriveBackupPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToExternalDriveBackupPolicyChangedDetails: + (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)anExternalDriveBackupPolicyChangedDetails { + if (self == anExternalDriveBackupPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:anExternalDriveBackupPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:anExternalDriveBackupPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGExternalDriveBackupPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGExternalDriveBackupPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGExternalDriveBackupPolicy *dNewValue = + [DBTEAMLOGExternalDriveBackupPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGExternalDriveBackupPolicy *previousValue = + [DBTEAMLOGExternalDriveBackupPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGExternalDriveBackupPolicyChangedDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupPolicyChangedType:other]; +} + +- (BOOL)isEqualToExternalDriveBackupPolicyChangedType: + (DBTEAMLOGExternalDriveBackupPolicyChangedType *)anExternalDriveBackupPolicyChangedType { + if (self == anExternalDriveBackupPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:anExternalDriveBackupPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExternalDriveBackupPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupStatus + +#pragma mark - Constructors + +- (instancetype)initWithBroken { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusBroken; + } + return self; +} + +- (instancetype)initWithCreated { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusCreated; + } + return self; +} + +- (instancetype)initWithCreatedOrBroken { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken; + } + return self; +} + +- (instancetype)initWithDeleted { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusDeleted; + } + return self; +} + +- (instancetype)initWithEmpty { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusEmpty; + } + return self; +} + +- (instancetype)initWithUnknown { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusUnknown; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGExternalDriveBackupStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isBroken { + return _tag == DBTEAMLOGExternalDriveBackupStatusBroken; +} + +- (BOOL)isCreated { + return _tag == DBTEAMLOGExternalDriveBackupStatusCreated; +} + +- (BOOL)isCreatedOrBroken { + return _tag == DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken; +} + +- (BOOL)isDeleted { + return _tag == DBTEAMLOGExternalDriveBackupStatusDeleted; +} + +- (BOOL)isEmpty { + return _tag == DBTEAMLOGExternalDriveBackupStatusEmpty; +} + +- (BOOL)isUnknown { + return _tag == DBTEAMLOGExternalDriveBackupStatusUnknown; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGExternalDriveBackupStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGExternalDriveBackupStatusBroken: + return @"DBTEAMLOGExternalDriveBackupStatusBroken"; + case DBTEAMLOGExternalDriveBackupStatusCreated: + return @"DBTEAMLOGExternalDriveBackupStatusCreated"; + case DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken: + return @"DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken"; + case DBTEAMLOGExternalDriveBackupStatusDeleted: + return @"DBTEAMLOGExternalDriveBackupStatusDeleted"; + case DBTEAMLOGExternalDriveBackupStatusEmpty: + return @"DBTEAMLOGExternalDriveBackupStatusEmpty"; + case DBTEAMLOGExternalDriveBackupStatusUnknown: + return @"DBTEAMLOGExternalDriveBackupStatusUnknown"; + case DBTEAMLOGExternalDriveBackupStatusOther: + return @"DBTEAMLOGExternalDriveBackupStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGExternalDriveBackupStatusBroken: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusCreated: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusDeleted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusEmpty: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusUnknown: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGExternalDriveBackupStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupStatus:other]; +} + +- (BOOL)isEqualToExternalDriveBackupStatus:(DBTEAMLOGExternalDriveBackupStatus *)anExternalDriveBackupStatus { + if (self == anExternalDriveBackupStatus) { + return YES; + } + if (self.tag != anExternalDriveBackupStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGExternalDriveBackupStatusBroken: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusCreated: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusDeleted: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusEmpty: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusUnknown: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + case DBTEAMLOGExternalDriveBackupStatusOther: + return [[self tagName] isEqual:[anExternalDriveBackupStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isBroken]) { + jsonDict[@".tag"] = @"broken"; + } else if ([valueObj isCreated]) { + jsonDict[@".tag"] = @"created"; + } else if ([valueObj isCreatedOrBroken]) { + jsonDict[@".tag"] = @"created_or_broken"; + } else if ([valueObj isDeleted]) { + jsonDict[@".tag"] = @"deleted"; + } else if ([valueObj isEmpty]) { + jsonDict[@".tag"] = @"empty"; + } else if ([valueObj isUnknown]) { + jsonDict[@".tag"] = @"unknown"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"broken"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithBroken]; + } else if ([tag isEqualToString:@"created"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithCreated]; + } else if ([tag isEqualToString:@"created_or_broken"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithCreatedOrBroken]; + } else if ([tag isEqualToString:@"deleted"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithDeleted]; + } else if ([tag isEqualToString:@"empty"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithEmpty]; + } else if ([tag isEqualToString:@"unknown"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithUnknown]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGExternalDriveBackupStatus alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGExternalDriveBackupStatus.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupStatusChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + previousValue:(DBTEAMLOGExternalDriveBackupStatus *)previousValue + dNewValue:(DBTEAMLOGExternalDriveBackupStatus *)dNewValue { + [DBStoneValidators nonnullValidator:nil](desktopDeviceSessionInfo); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _desktopDeviceSessionInfo = desktopDeviceSessionInfo; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.desktopDeviceSessionInfo hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupStatusChangedDetails:other]; +} + +- (BOOL)isEqualToExternalDriveBackupStatusChangedDetails: + (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)anExternalDriveBackupStatusChangedDetails { + if (self == anExternalDriveBackupStatusChangedDetails) { + return YES; + } + if (![self.desktopDeviceSessionInfo isEqual:anExternalDriveBackupStatusChangedDetails.desktopDeviceSessionInfo]) { + return NO; + } + if (![self.previousValue isEqual:anExternalDriveBackupStatusChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:anExternalDriveBackupStatusChangedDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatusChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"desktop_device_session_info"] = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer serialize:valueObj.desktopDeviceSessionInfo]; + jsonDict[@"previous_value"] = [DBTEAMLOGExternalDriveBackupStatusSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGExternalDriveBackupStatusSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:valueDict[@"desktop_device_session_info"]]; + DBTEAMLOGExternalDriveBackupStatus *previousValue = + [DBTEAMLOGExternalDriveBackupStatusSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGExternalDriveBackupStatus *dNewValue = + [DBTEAMLOGExternalDriveBackupStatusSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGExternalDriveBackupStatusChangedDetails alloc] + initWithDesktopDeviceSessionInfo:desktopDeviceSessionInfo + previousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalDriveBackupStatusChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalDriveBackupStatusChangedType:other]; +} + +- (BOOL)isEqualToExternalDriveBackupStatusChangedType: + (DBTEAMLOGExternalDriveBackupStatusChangedType *)anExternalDriveBackupStatusChangedType { + if (self == anExternalDriveBackupStatusChangedType) { + return YES; + } + if (![self.description_ isEqual:anExternalDriveBackupStatusChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatusChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExternalDriveBackupStatusChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExternalDriveBackupStatusChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalSharingCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalSharingCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalSharingCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalSharingCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalSharingCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalSharingCreateReportDetails:other]; +} + +- (BOOL)isEqualToExternalSharingCreateReportDetails: + (DBTEAMLOGExternalSharingCreateReportDetails *)anExternalSharingCreateReportDetails { + if (self == anExternalSharingCreateReportDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalSharingCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalSharingCreateReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGExternalSharingCreateReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGExternalSharingCreateReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalSharingCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalSharingCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalSharingCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalSharingCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalSharingCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalSharingCreateReportType:other]; +} + +- (BOOL)isEqualToExternalSharingCreateReportType: + (DBTEAMLOGExternalSharingCreateReportType *)anExternalSharingCreateReportType { + if (self == anExternalSharingCreateReportType) { + return YES; + } + if (![self.description_ isEqual:anExternalSharingCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalSharingCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalSharingCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExternalSharingCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExternalSharingCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalSharingReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalSharingReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalSharingReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalSharingReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalSharingReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalSharingReportFailedDetails:other]; +} + +- (BOOL)isEqualToExternalSharingReportFailedDetails: + (DBTEAMLOGExternalSharingReportFailedDetails *)anExternalSharingReportFailedDetails { + if (self == anExternalSharingReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:anExternalSharingReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalSharingReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalSharingReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGExternalSharingReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGExternalSharingReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalSharingReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalSharingReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalSharingReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalSharingReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalSharingReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalSharingReportFailedType:other]; +} + +- (BOOL)isEqualToExternalSharingReportFailedType: + (DBTEAMLOGExternalSharingReportFailedType *)anExternalSharingReportFailedType { + if (self == anExternalSharingReportFailedType) { + return YES; + } + if (![self.description_ isEqual:anExternalSharingReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalSharingReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalSharingReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGExternalSharingReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGExternalSharingReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGExternalUserLogInfo.h" +#import "DBTEAMLOGIdentifierType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGExternalUserLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithUserIdentifier:(NSString *)userIdentifier + identifierType:(DBTEAMLOGIdentifierType *)identifierType { + [DBStoneValidators nonnullValidator:nil](userIdentifier); + [DBStoneValidators nonnullValidator:nil](identifierType); + + self = [super init]; + if (self) { + _userIdentifier = userIdentifier; + _identifierType = identifierType; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGExternalUserLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGExternalUserLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGExternalUserLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.userIdentifier hash]; + result = prime * result + [self.identifierType hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToExternalUserLogInfo:other]; +} + +- (BOOL)isEqualToExternalUserLogInfo:(DBTEAMLOGExternalUserLogInfo *)anExternalUserLogInfo { + if (self == anExternalUserLogInfo) { + return YES; + } + if (![self.userIdentifier isEqual:anExternalUserLogInfo.userIdentifier]) { + return NO; + } + if (![self.identifierType isEqual:anExternalUserLogInfo.identifierType]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGExternalUserLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGExternalUserLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"user_identifier"] = valueObj.userIdentifier; + jsonDict[@"identifier_type"] = [DBTEAMLOGIdentifierTypeSerializer serialize:valueObj.identifierType]; + + return jsonDict; +} + ++ (DBTEAMLOGExternalUserLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *userIdentifier = valueDict[@"user_identifier"]; + DBTEAMLOGIdentifierType *identifierType = + [DBTEAMLOGIdentifierTypeSerializer deserialize:valueDict[@"identifier_type"]]; + + return [[DBTEAMLOGExternalUserLogInfo alloc] initWithUserIdentifier:userIdentifier identifierType:identifierType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFailureDetailsLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFailureDetailsLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithUserFriendlyMessage:(NSString *)userFriendlyMessage + technicalErrorMessage:(NSString *)technicalErrorMessage { + + self = [super init]; + if (self) { + _userFriendlyMessage = userFriendlyMessage; + _technicalErrorMessage = technicalErrorMessage; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithUserFriendlyMessage:nil technicalErrorMessage:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFailureDetailsLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.userFriendlyMessage != nil) { + result = prime * result + [self.userFriendlyMessage hash]; + } + if (self.technicalErrorMessage != nil) { + result = prime * result + [self.technicalErrorMessage hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFailureDetailsLogInfo:other]; +} + +- (BOOL)isEqualToFailureDetailsLogInfo:(DBTEAMLOGFailureDetailsLogInfo *)aFailureDetailsLogInfo { + if (self == aFailureDetailsLogInfo) { + return YES; + } + if (self.userFriendlyMessage) { + if (![self.userFriendlyMessage isEqual:aFailureDetailsLogInfo.userFriendlyMessage]) { + return NO; + } + } + if (self.technicalErrorMessage) { + if (![self.technicalErrorMessage isEqual:aFailureDetailsLogInfo.technicalErrorMessage]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFailureDetailsLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFailureDetailsLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.userFriendlyMessage) { + jsonDict[@"user_friendly_message"] = valueObj.userFriendlyMessage; + } + if (valueObj.technicalErrorMessage) { + jsonDict[@"technical_error_message"] = valueObj.technicalErrorMessage; + } + + return jsonDict; +} + ++ (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *userFriendlyMessage = valueDict[@"user_friendly_message"] ?: nil; + NSString *technicalErrorMessage = valueDict[@"technical_error_message"] ?: nil; + + return [[DBTEAMLOGFailureDetailsLogInfo alloc] initWithUserFriendlyMessage:userFriendlyMessage + technicalErrorMessage:technicalErrorMessage]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFedAdminRole.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFedAdminRole + +#pragma mark - Constructors + +- (instancetype)initWithEnterpriseAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedAdminRoleEnterpriseAdmin; + } + return self; +} + +- (instancetype)initWithNotEnterpriseAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedAdminRoleNotEnterpriseAdmin; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedAdminRoleOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isEnterpriseAdmin { + return _tag == DBTEAMLOGFedAdminRoleEnterpriseAdmin; +} + +- (BOOL)isNotEnterpriseAdmin { + return _tag == DBTEAMLOGFedAdminRoleNotEnterpriseAdmin; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFedAdminRoleOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFedAdminRoleEnterpriseAdmin: + return @"DBTEAMLOGFedAdminRoleEnterpriseAdmin"; + case DBTEAMLOGFedAdminRoleNotEnterpriseAdmin: + return @"DBTEAMLOGFedAdminRoleNotEnterpriseAdmin"; + case DBTEAMLOGFedAdminRoleOther: + return @"DBTEAMLOGFedAdminRoleOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFedAdminRoleSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFedAdminRoleSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFedAdminRoleSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFedAdminRoleEnterpriseAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedAdminRoleNotEnterpriseAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedAdminRoleOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFedAdminRole:other]; +} + +- (BOOL)isEqualToFedAdminRole:(DBTEAMLOGFedAdminRole *)aFedAdminRole { + if (self == aFedAdminRole) { + return YES; + } + if (self.tag != aFedAdminRole.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFedAdminRoleEnterpriseAdmin: + return [[self tagName] isEqual:[aFedAdminRole tagName]]; + case DBTEAMLOGFedAdminRoleNotEnterpriseAdmin: + return [[self tagName] isEqual:[aFedAdminRole tagName]]; + case DBTEAMLOGFedAdminRoleOther: + return [[self tagName] isEqual:[aFedAdminRole tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFedAdminRoleSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFedAdminRole *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEnterpriseAdmin]) { + jsonDict[@".tag"] = @"enterprise_admin"; + } else if ([valueObj isNotEnterpriseAdmin]) { + jsonDict[@".tag"] = @"not_enterprise_admin"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFedAdminRole *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"enterprise_admin"]) { + return [[DBTEAMLOGFedAdminRole alloc] initWithEnterpriseAdmin]; + } else if ([tag isEqualToString:@"not_enterprise_admin"]) { + return [[DBTEAMLOGFedAdminRole alloc] initWithNotEnterpriseAdmin]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFedAdminRole alloc] initWithOther]; + } else { + return [[DBTEAMLOGFedAdminRole alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFedExtraDetails.h" +#import "DBTEAMLOGOrganizationDetails.h" +#import "DBTEAMLOGTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFedExtraDetails + +@synthesize organization = _organization; +@synthesize team = _team; + +#pragma mark - Constructors + +- (instancetype)initWithOrganization:(DBTEAMLOGOrganizationDetails *)organization { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedExtraDetailsOrganization; + _organization = organization; + } + return self; +} + +- (instancetype)initWithTeam:(DBTEAMLOGTeamDetails *)team { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedExtraDetailsTeam; + _team = team; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedExtraDetailsOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGOrganizationDetails *)organization { + if (![self isOrganization]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGFedExtraDetailsOrganization, but was %@.", [self tagName]]; + } + return _organization; +} + +- (DBTEAMLOGTeamDetails *)team { + if (![self isTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGFedExtraDetailsTeam, but was %@.", [self tagName]]; + } + return _team; +} + +#pragma mark - Tag state methods + +- (BOOL)isOrganization { + return _tag == DBTEAMLOGFedExtraDetailsOrganization; +} + +- (BOOL)isTeam { + return _tag == DBTEAMLOGFedExtraDetailsTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFedExtraDetailsOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFedExtraDetailsOrganization: + return @"DBTEAMLOGFedExtraDetailsOrganization"; + case DBTEAMLOGFedExtraDetailsTeam: + return @"DBTEAMLOGFedExtraDetailsTeam"; + case DBTEAMLOGFedExtraDetailsOther: + return @"DBTEAMLOGFedExtraDetailsOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFedExtraDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFedExtraDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFedExtraDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFedExtraDetailsOrganization: + result = prime * result + [self.organization hash]; + break; + case DBTEAMLOGFedExtraDetailsTeam: + result = prime * result + [self.team hash]; + break; + case DBTEAMLOGFedExtraDetailsOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFedExtraDetails:other]; +} + +- (BOOL)isEqualToFedExtraDetails:(DBTEAMLOGFedExtraDetails *)aFedExtraDetails { + if (self == aFedExtraDetails) { + return YES; + } + if (self.tag != aFedExtraDetails.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFedExtraDetailsOrganization: + return [self.organization isEqual:aFedExtraDetails.organization]; + case DBTEAMLOGFedExtraDetailsTeam: + return [self.team isEqual:aFedExtraDetails.team]; + case DBTEAMLOGFedExtraDetailsOther: + return [[self tagName] isEqual:[aFedExtraDetails tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFedExtraDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFedExtraDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOrganization]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOrganizationDetailsSerializer serialize:valueObj.organization]]; + jsonDict[@".tag"] = @"organization"; + } else if ([valueObj isTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGTeamDetailsSerializer serialize:valueObj.team]]; + jsonDict[@".tag"] = @"team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFedExtraDetails *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"organization"]) { + DBTEAMLOGOrganizationDetails *organization = [DBTEAMLOGOrganizationDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGFedExtraDetails alloc] initWithOrganization:organization]; + } else if ([tag isEqualToString:@"team"]) { + DBTEAMLOGTeamDetails *team = [DBTEAMLOGTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGFedExtraDetails alloc] initWithTeam:team]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFedExtraDetails alloc] initWithOther]; + } else { + return [[DBTEAMLOGFedExtraDetails alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFedHandshakeAction.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFedHandshakeAction + +#pragma mark - Constructors + +- (instancetype)initWithAcceptedInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionAcceptedInvite; + } + return self; +} + +- (instancetype)initWithCanceledInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionCanceledInvite; + } + return self; +} + +- (instancetype)initWithInviteExpired { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionInviteExpired; + } + return self; +} + +- (instancetype)initWithInvited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionInvited; + } + return self; +} + +- (instancetype)initWithRejectedInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionRejectedInvite; + } + return self; +} + +- (instancetype)initWithRemovedTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionRemovedTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFedHandshakeActionOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAcceptedInvite { + return _tag == DBTEAMLOGFedHandshakeActionAcceptedInvite; +} + +- (BOOL)isCanceledInvite { + return _tag == DBTEAMLOGFedHandshakeActionCanceledInvite; +} + +- (BOOL)isInviteExpired { + return _tag == DBTEAMLOGFedHandshakeActionInviteExpired; +} + +- (BOOL)isInvited { + return _tag == DBTEAMLOGFedHandshakeActionInvited; +} + +- (BOOL)isRejectedInvite { + return _tag == DBTEAMLOGFedHandshakeActionRejectedInvite; +} + +- (BOOL)isRemovedTeam { + return _tag == DBTEAMLOGFedHandshakeActionRemovedTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFedHandshakeActionOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFedHandshakeActionAcceptedInvite: + return @"DBTEAMLOGFedHandshakeActionAcceptedInvite"; + case DBTEAMLOGFedHandshakeActionCanceledInvite: + return @"DBTEAMLOGFedHandshakeActionCanceledInvite"; + case DBTEAMLOGFedHandshakeActionInviteExpired: + return @"DBTEAMLOGFedHandshakeActionInviteExpired"; + case DBTEAMLOGFedHandshakeActionInvited: + return @"DBTEAMLOGFedHandshakeActionInvited"; + case DBTEAMLOGFedHandshakeActionRejectedInvite: + return @"DBTEAMLOGFedHandshakeActionRejectedInvite"; + case DBTEAMLOGFedHandshakeActionRemovedTeam: + return @"DBTEAMLOGFedHandshakeActionRemovedTeam"; + case DBTEAMLOGFedHandshakeActionOther: + return @"DBTEAMLOGFedHandshakeActionOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFedHandshakeActionSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFedHandshakeActionSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFedHandshakeActionSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFedHandshakeActionAcceptedInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionCanceledInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionInviteExpired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionInvited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionRejectedInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionRemovedTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFedHandshakeActionOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFedHandshakeAction:other]; +} + +- (BOOL)isEqualToFedHandshakeAction:(DBTEAMLOGFedHandshakeAction *)aFedHandshakeAction { + if (self == aFedHandshakeAction) { + return YES; + } + if (self.tag != aFedHandshakeAction.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFedHandshakeActionAcceptedInvite: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionCanceledInvite: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionInviteExpired: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionInvited: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionRejectedInvite: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionRemovedTeam: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + case DBTEAMLOGFedHandshakeActionOther: + return [[self tagName] isEqual:[aFedHandshakeAction tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFedHandshakeActionSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFedHandshakeAction *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAcceptedInvite]) { + jsonDict[@".tag"] = @"accepted_invite"; + } else if ([valueObj isCanceledInvite]) { + jsonDict[@".tag"] = @"canceled_invite"; + } else if ([valueObj isInviteExpired]) { + jsonDict[@".tag"] = @"invite_expired"; + } else if ([valueObj isInvited]) { + jsonDict[@".tag"] = @"invited"; + } else if ([valueObj isRejectedInvite]) { + jsonDict[@".tag"] = @"rejected_invite"; + } else if ([valueObj isRemovedTeam]) { + jsonDict[@".tag"] = @"removed_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFedHandshakeAction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"accepted_invite"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithAcceptedInvite]; + } else if ([tag isEqualToString:@"canceled_invite"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithCanceledInvite]; + } else if ([tag isEqualToString:@"invite_expired"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithInviteExpired]; + } else if ([tag isEqualToString:@"invited"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithInvited]; + } else if ([tag isEqualToString:@"rejected_invite"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithRejectedInvite]; + } else if ([tag isEqualToString:@"removed_team"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithRemovedTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithOther]; + } else { + return [[DBTEAMLOGFedHandshakeAction alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGConnectedTeamName.h" +#import "DBTEAMLOGFederationStatusChangeAdditionalInfo.h" +#import "DBTEAMLOGNonTrustedTeamDetails.h" +#import "DBTEAMLOGOrganizationName.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFederationStatusChangeAdditionalInfo + +@synthesize connectedTeamName = _connectedTeamName; +@synthesize nonTrustedTeamDetails = _nonTrustedTeamDetails; +@synthesize organizationName = _organizationName; + +#pragma mark - Constructors + +- (instancetype)initWithConnectedTeamName:(DBTEAMLOGConnectedTeamName *)connectedTeamName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName; + _connectedTeamName = connectedTeamName; + } + return self; +} + +- (instancetype)initWithNonTrustedTeamDetails:(DBTEAMLOGNonTrustedTeamDetails *)nonTrustedTeamDetails { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails; + _nonTrustedTeamDetails = nonTrustedTeamDetails; + } + return self; +} + +- (instancetype)initWithOrganizationName:(DBTEAMLOGOrganizationName *)organizationName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName; + _organizationName = organizationName; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFederationStatusChangeAdditionalInfoOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGConnectedTeamName *)connectedTeamName { + if (![self isConnectedTeamName]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName, but was %@.", + [self tagName]]; + } + return _connectedTeamName; +} + +- (DBTEAMLOGNonTrustedTeamDetails *)nonTrustedTeamDetails { + if (![self isNonTrustedTeamDetails]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails, but was %@.", + [self tagName]]; + } + return _nonTrustedTeamDetails; +} + +- (DBTEAMLOGOrganizationName *)organizationName { + if (![self isOrganizationName]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName, but was %@.", + [self tagName]]; + } + return _organizationName; +} + +#pragma mark - Tag state methods + +- (BOOL)isConnectedTeamName { + return _tag == DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName; +} + +- (BOOL)isNonTrustedTeamDetails { + return _tag == DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails; +} + +- (BOOL)isOrganizationName { + return _tag == DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFederationStatusChangeAdditionalInfoOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName: + return @"DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName"; + case DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails: + return @"DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails"; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName: + return @"DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName"; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOther: + return @"DBTEAMLOGFederationStatusChangeAdditionalInfoOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName: + result = prime * result + [self.connectedTeamName hash]; + break; + case DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails: + result = prime * result + [self.nonTrustedTeamDetails hash]; + break; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName: + result = prime * result + [self.organizationName hash]; + break; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFederationStatusChangeAdditionalInfo:other]; +} + +- (BOOL)isEqualToFederationStatusChangeAdditionalInfo: + (DBTEAMLOGFederationStatusChangeAdditionalInfo *)aFederationStatusChangeAdditionalInfo { + if (self == aFederationStatusChangeAdditionalInfo) { + return YES; + } + if (self.tag != aFederationStatusChangeAdditionalInfo.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName: + return [self.connectedTeamName isEqual:aFederationStatusChangeAdditionalInfo.connectedTeamName]; + case DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails: + return [self.nonTrustedTeamDetails isEqual:aFederationStatusChangeAdditionalInfo.nonTrustedTeamDetails]; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName: + return [self.organizationName isEqual:aFederationStatusChangeAdditionalInfo.organizationName]; + case DBTEAMLOGFederationStatusChangeAdditionalInfoOther: + return [[self tagName] isEqual:[aFederationStatusChangeAdditionalInfo tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFederationStatusChangeAdditionalInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isConnectedTeamName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGConnectedTeamNameSerializer serialize:valueObj.connectedTeamName]]; + jsonDict[@".tag"] = @"connected_team_name"; + } else if ([valueObj isNonTrustedTeamDetails]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGNonTrustedTeamDetailsSerializer serialize:valueObj.nonTrustedTeamDetails]]; + jsonDict[@".tag"] = @"non_trusted_team_details"; + } else if ([valueObj isOrganizationName]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGOrganizationNameSerializer serialize:valueObj.organizationName]]; + jsonDict[@".tag"] = @"organization_name"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFederationStatusChangeAdditionalInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"connected_team_name"]) { + DBTEAMLOGConnectedTeamName *connectedTeamName = [DBTEAMLOGConnectedTeamNameSerializer deserialize:valueDict]; + return [[DBTEAMLOGFederationStatusChangeAdditionalInfo alloc] initWithConnectedTeamName:connectedTeamName]; + } else if ([tag isEqualToString:@"non_trusted_team_details"]) { + DBTEAMLOGNonTrustedTeamDetails *nonTrustedTeamDetails = + [DBTEAMLOGNonTrustedTeamDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGFederationStatusChangeAdditionalInfo alloc] initWithNonTrustedTeamDetails:nonTrustedTeamDetails]; + } else if ([tag isEqualToString:@"organization_name"]) { + DBTEAMLOGOrganizationName *organizationName = [DBTEAMLOGOrganizationNameSerializer deserialize:valueDict]; + return [[DBTEAMLOGFederationStatusChangeAdditionalInfo alloc] initWithOrganizationName:organizationName]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFederationStatusChangeAdditionalInfo alloc] initWithOther]; + } else { + return [[DBTEAMLOGFederationStatusChangeAdditionalInfo alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddCommentDetails:other]; +} + +- (BOOL)isEqualToFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)aFileAddCommentDetails { + if (self == aFileAddCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileAddCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileAddCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddCommentType:other]; +} + +- (BOOL)isEqualToFileAddCommentType:(DBTEAMLOGFileAddCommentType *)aFileAddCommentType { + if (self == aFileAddCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileAddCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileAddCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileAddCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddDetails:other]; +} + +- (BOOL)isEqualToFileAddDetails:(DBTEAMLOGFileAddDetails *)aFileAddDetails { + if (self == aFileAddDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileAddDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddFromAutomationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddFromAutomationDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddFromAutomationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddFromAutomationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddFromAutomationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddFromAutomationDetails:other]; +} + +- (BOOL)isEqualToFileAddFromAutomationDetails:(DBTEAMLOGFileAddFromAutomationDetails *)aFileAddFromAutomationDetails { + if (self == aFileAddFromAutomationDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddFromAutomationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddFromAutomationDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileAddFromAutomationDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileAddFromAutomationDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddFromAutomationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddFromAutomationType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddFromAutomationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddFromAutomationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddFromAutomationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddFromAutomationType:other]; +} + +- (BOOL)isEqualToFileAddFromAutomationType:(DBTEAMLOGFileAddFromAutomationType *)aFileAddFromAutomationType { + if (self == aFileAddFromAutomationType) { + return YES; + } + if (![self.description_ isEqual:aFileAddFromAutomationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddFromAutomationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddFromAutomationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileAddFromAutomationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileAddFromAutomationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileAddType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileAddType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileAddTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileAddTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileAddTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileAddType:other]; +} + +- (BOOL)isEqualToFileAddType:(DBTEAMLOGFileAddType *)aFileAddType { + if (self == aFileAddType) { + return YES; + } + if (![self.description_ isEqual:aFileAddType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileAddTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileAddType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileAddType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileAddType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileChangeCommentSubscriptionDetails.h" +#import "DBTEAMLOGFileCommentNotificationPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileChangeCommentSubscriptionDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue + previousValue:(DBTEAMLOGFileCommentNotificationPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileChangeCommentSubscriptionDetails:other]; +} + +- (BOOL)isEqualToFileChangeCommentSubscriptionDetails: + (DBTEAMLOGFileChangeCommentSubscriptionDetails *)aFileChangeCommentSubscriptionDetails { + if (self == aFileChangeCommentSubscriptionDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileChangeCommentSubscriptionDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aFileChangeCommentSubscriptionDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFileCommentNotificationPolicy *dNewValue = + [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGFileCommentNotificationPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return + [[DBTEAMLOGFileChangeCommentSubscriptionDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileChangeCommentSubscriptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileChangeCommentSubscriptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileChangeCommentSubscriptionType:other]; +} + +- (BOOL)isEqualToFileChangeCommentSubscriptionType: + (DBTEAMLOGFileChangeCommentSubscriptionType *)aFileChangeCommentSubscriptionType { + if (self == aFileChangeCommentSubscriptionType) { + return YES; + } + if (![self.description_ isEqual:aFileChangeCommentSubscriptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileChangeCommentSubscriptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileChangeCommentSubscriptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCommentNotificationPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCommentNotificationPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentNotificationPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentNotificationPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentNotificationPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGFileCommentNotificationPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGFileCommentNotificationPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFileCommentNotificationPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFileCommentNotificationPolicyDisabled: + return @"DBTEAMLOGFileCommentNotificationPolicyDisabled"; + case DBTEAMLOGFileCommentNotificationPolicyEnabled: + return @"DBTEAMLOGFileCommentNotificationPolicyEnabled"; + case DBTEAMLOGFileCommentNotificationPolicyOther: + return @"DBTEAMLOGFileCommentNotificationPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCommentNotificationPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFileCommentNotificationPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileCommentNotificationPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileCommentNotificationPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCommentNotificationPolicy:other]; +} + +- (BOOL)isEqualToFileCommentNotificationPolicy: + (DBTEAMLOGFileCommentNotificationPolicy *)aFileCommentNotificationPolicy { + if (self == aFileCommentNotificationPolicy) { + return YES; + } + if (self.tag != aFileCommentNotificationPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFileCommentNotificationPolicyDisabled: + return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; + case DBTEAMLOGFileCommentNotificationPolicyEnabled: + return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; + case DBTEAMLOGFileCommentNotificationPolicyOther: + return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCommentNotificationPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCommentNotificationPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCommentsChangePolicyDetails.h" +#import "DBTEAMLOGFileCommentsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCommentsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue + previousValue:(DBTEAMLOGFileCommentsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCommentsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCommentsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCommentsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCommentsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToFileCommentsChangePolicyDetails: + (DBTEAMLOGFileCommentsChangePolicyDetails *)aFileCommentsChangePolicyDetails { + if (self == aFileCommentsChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileCommentsChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aFileCommentsChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCommentsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGFileCommentsPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFileCommentsPolicy *dNewValue = [DBTEAMLOGFileCommentsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGFileCommentsPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGFileCommentsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGFileCommentsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCommentsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCommentsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCommentsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCommentsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCommentsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCommentsChangePolicyType:other]; +} + +- (BOOL)isEqualToFileCommentsChangePolicyType:(DBTEAMLOGFileCommentsChangePolicyType *)aFileCommentsChangePolicyType { + if (self == aFileCommentsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aFileCommentsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCommentsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileCommentsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileCommentsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCommentsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCommentsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentsPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileCommentsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGFileCommentsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGFileCommentsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFileCommentsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFileCommentsPolicyDisabled: + return @"DBTEAMLOGFileCommentsPolicyDisabled"; + case DBTEAMLOGFileCommentsPolicyEnabled: + return @"DBTEAMLOGFileCommentsPolicyEnabled"; + case DBTEAMLOGFileCommentsPolicyOther: + return @"DBTEAMLOGFileCommentsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCommentsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCommentsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCommentsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFileCommentsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileCommentsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileCommentsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCommentsPolicy:other]; +} + +- (BOOL)isEqualToFileCommentsPolicy:(DBTEAMLOGFileCommentsPolicy *)aFileCommentsPolicy { + if (self == aFileCommentsPolicy) { + return YES; + } + if (self.tag != aFileCommentsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFileCommentsPolicyDisabled: + return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; + case DBTEAMLOGFileCommentsPolicyEnabled: + return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; + case DBTEAMLOGFileCommentsPolicyOther: + return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCommentsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCommentsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGFileCommentsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGFileCommentsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFileCommentsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGFileCommentsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCopyDetails.h" +#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCopyDetails + +#pragma mark - Constructors + +- (instancetype)initWithRelocateActionDetails: + (NSArray *)relocateActionDetails { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); + + self = [super init]; + if (self) { + _relocateActionDetails = relocateActionDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCopyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCopyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCopyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.relocateActionDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCopyDetails:other]; +} + +- (BOOL)isEqualToFileCopyDetails:(DBTEAMLOGFileCopyDetails *)aFileCopyDetails { + if (self == aFileCopyDetails) { + return YES; + } + if (![self.relocateActionDetails isEqual:aFileCopyDetails.relocateActionDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCopyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCopyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"relocate_action_details"] = + [DBArraySerializer serialize:valueObj.relocateActionDetails + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *relocateActionDetails = + [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; + }]; + + return [[DBTEAMLOGFileCopyDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileCopyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileCopyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileCopyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileCopyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileCopyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileCopyType:other]; +} + +- (BOOL)isEqualToFileCopyType:(DBTEAMLOGFileCopyType *)aFileCopyType { + if (self == aFileCopyType) { + return YES; + } + if (![self.description_ isEqual:aFileCopyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileCopyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileCopyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileCopyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileCopyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDeleteCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDeleteCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDeleteCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDeleteCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDeleteCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDeleteCommentDetails:other]; +} + +- (BOOL)isEqualToFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)aFileDeleteCommentDetails { + if (self == aFileDeleteCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileDeleteCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDeleteCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileDeleteCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDeleteCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDeleteCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDeleteCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDeleteCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDeleteCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDeleteCommentType:other]; +} + +- (BOOL)isEqualToFileDeleteCommentType:(DBTEAMLOGFileDeleteCommentType *)aFileDeleteCommentType { + if (self == aFileDeleteCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileDeleteCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDeleteCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileDeleteCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileDeleteCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDeleteDetails:other]; +} + +- (BOOL)isEqualToFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)aFileDeleteDetails { + if (self == aFileDeleteDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileDeleteDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDeleteType:other]; +} + +- (BOOL)isEqualToFileDeleteType:(DBTEAMLOGFileDeleteType *)aFileDeleteType { + if (self == aFileDeleteType) { + return YES; + } + if (![self.description_ isEqual:aFileDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDownloadDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDownloadDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDownloadDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDownloadDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDownloadDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDownloadDetails:other]; +} + +- (BOOL)isEqualToFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)aFileDownloadDetails { + if (self == aFileDownloadDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDownloadDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDownloadDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileDownloadDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileDownloadType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileDownloadType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileDownloadTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileDownloadTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileDownloadTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileDownloadType:other]; +} + +- (BOOL)isEqualToFileDownloadType:(DBTEAMLOGFileDownloadType *)aFileDownloadType { + if (self == aFileDownloadType) { + return YES; + } + if (![self.description_ isEqual:aFileDownloadType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileDownloadTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileDownloadType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileDownloadType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileEditCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileEditCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousCommentText:(NSString *)previousCommentText commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](previousCommentText); + + self = [super init]; + if (self) { + _commentText = commentText; + _previousCommentText = previousCommentText; + } + return self; +} + +- (instancetype)initWithPreviousCommentText:(NSString *)previousCommentText { + return [self initWithPreviousCommentText:previousCommentText commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileEditCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileEditCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileEditCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousCommentText hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileEditCommentDetails:other]; +} + +- (BOOL)isEqualToFileEditCommentDetails:(DBTEAMLOGFileEditCommentDetails *)aFileEditCommentDetails { + if (self == aFileEditCommentDetails) { + return YES; + } + if (![self.previousCommentText isEqual:aFileEditCommentDetails.previousCommentText]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileEditCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileEditCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileEditCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_comment_text"] = valueObj.previousCommentText; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileEditCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousCommentText = valueDict[@"previous_comment_text"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return + [[DBTEAMLOGFileEditCommentDetails alloc] initWithPreviousCommentText:previousCommentText commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileEditCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileEditCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileEditCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileEditCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileEditCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileEditCommentType:other]; +} + +- (BOOL)isEqualToFileEditCommentType:(DBTEAMLOGFileEditCommentType *)aFileEditCommentType { + if (self == aFileEditCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileEditCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileEditCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileEditCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileEditCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileEditCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileEditDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileEditDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileEditDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileEditDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileEditDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileEditDetails:other]; +} + +- (BOOL)isEqualToFileEditDetails:(DBTEAMLOGFileEditDetails *)aFileEditDetails { + if (self == aFileEditDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileEditDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileEditDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileEditDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileEditType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileEditType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileEditTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileEditTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileEditTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileEditType:other]; +} + +- (BOOL)isEqualToFileEditType:(DBTEAMLOGFileEditType *)aFileEditType { + if (self == aFileEditType) { + return YES; + } + if (![self.description_ isEqual:aFileEditType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileEditTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileEditType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileEditType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileEditType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileGetCopyReferenceDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileGetCopyReferenceDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileGetCopyReferenceDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileGetCopyReferenceDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileGetCopyReferenceDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileGetCopyReferenceDetails:other]; +} + +- (BOOL)isEqualToFileGetCopyReferenceDetails:(DBTEAMLOGFileGetCopyReferenceDetails *)aFileGetCopyReferenceDetails { + if (self == aFileGetCopyReferenceDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileGetCopyReferenceDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileGetCopyReferenceDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileGetCopyReferenceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileGetCopyReferenceType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileGetCopyReferenceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileGetCopyReferenceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileGetCopyReferenceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileGetCopyReferenceType:other]; +} + +- (BOOL)isEqualToFileGetCopyReferenceType:(DBTEAMLOGFileGetCopyReferenceType *)aFileGetCopyReferenceType { + if (self == aFileGetCopyReferenceType) { + return YES; + } + if (![self.description_ isEqual:aFileGetCopyReferenceType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileGetCopyReferenceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileGetCopyReferenceType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileGetCopyReferenceType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLikeCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLikeCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLikeCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLikeCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLikeCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLikeCommentDetails:other]; +} + +- (BOOL)isEqualToFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)aFileLikeCommentDetails { + if (self == aFileLikeCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileLikeCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLikeCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileLikeCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLikeCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLikeCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLikeCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLikeCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLikeCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLikeCommentType:other]; +} + +- (BOOL)isEqualToFileLikeCommentType:(DBTEAMLOGFileLikeCommentType *)aFileLikeCommentType { + if (self == aFileLikeCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileLikeCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLikeCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileLikeCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileLikeCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLockingLockStatusChangedDetails.h" +#import "DBTEAMLOGLockStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLockingLockStatusChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGLockStatus *)previousValue dNewValue:(DBTEAMLOGLockStatus *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockingLockStatusChangedDetails:other]; +} + +- (BOOL)isEqualToFileLockingLockStatusChangedDetails: + (DBTEAMLOGFileLockingLockStatusChangedDetails *)aFileLockingLockStatusChangedDetails { + if (self == aFileLockingLockStatusChangedDetails) { + return YES; + } + if (![self.previousValue isEqual:aFileLockingLockStatusChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aFileLockingLockStatusChangedDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLockingLockStatusChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGLockStatusSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGLockStatusSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGFileLockingLockStatusChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLockStatus *previousValue = [DBTEAMLOGLockStatusSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGLockStatus *dNewValue = [DBTEAMLOGLockStatusSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGFileLockingLockStatusChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLockingLockStatusChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLockingLockStatusChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLockingLockStatusChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLockingLockStatusChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLockingLockStatusChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockingLockStatusChangedType:other]; +} + +- (BOOL)isEqualToFileLockingLockStatusChangedType: + (DBTEAMLOGFileLockingLockStatusChangedType *)aFileLockingLockStatusChangedType { + if (self == aFileLockingLockStatusChangedType) { + return YES; + } + if (![self.description_ isEqual:aFileLockingLockStatusChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLockingLockStatusChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLockingLockStatusChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileLockingLockStatusChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileLockingLockStatusChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLockingPolicyChangedDetails.h" +#import "DBTEAMPOLICIESFileLockingPolicyState.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLockingPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESFileLockingPolicyState *)dNewValue + previousValue:(DBTEAMPOLICIESFileLockingPolicyState *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLockingPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLockingPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLockingPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockingPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToFileLockingPolicyChangedDetails: + (DBTEAMLOGFileLockingPolicyChangedDetails *)aFileLockingPolicyChangedDetails { + if (self == aFileLockingPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileLockingPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aFileLockingPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLockingPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLockingPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGFileLockingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESFileLockingPolicyState *dNewValue = + [DBTEAMPOLICIESFileLockingPolicyStateSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESFileLockingPolicyState *previousValue = + [DBTEAMPOLICIESFileLockingPolicyStateSerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGFileLockingPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLockingPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLockingPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLockingPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLockingPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLockingPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockingPolicyChangedType:other]; +} + +- (BOOL)isEqualToFileLockingPolicyChangedType:(DBTEAMLOGFileLockingPolicyChangedType *)aFileLockingPolicyChangedType { + if (self == aFileLockingPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aFileLockingPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLockingPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLockingPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileLockingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileLockingPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileOrFolderLogInfo.h" +#import "DBTEAMLOGPathLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileOrFolderLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path + displayName:(NSString *)displayName + fileId:(NSString *)fileId + fileSize:(NSNumber *)fileSize { + [DBStoneValidators nonnullValidator:nil](path); + + self = [super init]; + if (self) { + _path = path; + _displayName = displayName; + _fileId = fileId; + _fileSize = fileSize; + } + return self; +} + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { + return [self initWithPath:path displayName:nil fileId:nil fileSize:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileOrFolderLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileOrFolderLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileOrFolderLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.fileId != nil) { + result = prime * result + [self.fileId hash]; + } + if (self.fileSize != nil) { + result = prime * result + [self.fileSize hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileOrFolderLogInfo:other]; +} + +- (BOOL)isEqualToFileOrFolderLogInfo:(DBTEAMLOGFileOrFolderLogInfo *)aFileOrFolderLogInfo { + if (self == aFileOrFolderLogInfo) { + return YES; + } + if (![self.path isEqual:aFileOrFolderLogInfo.path]) { + return NO; + } + if (self.displayName) { + if (![self.displayName isEqual:aFileOrFolderLogInfo.displayName]) { + return NO; + } + } + if (self.fileId) { + if (![self.fileId isEqual:aFileOrFolderLogInfo.fileId]) { + return NO; + } + } + if (self.fileSize) { + if (![self.fileSize isEqual:aFileOrFolderLogInfo.fileSize]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileOrFolderLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileOrFolderLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.fileId) { + jsonDict[@"file_id"] = valueObj.fileId; + } + if (valueObj.fileSize) { + jsonDict[@"file_size"] = valueObj.fileSize; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *fileId = valueDict[@"file_id"] ?: nil; + NSNumber *fileSize = valueDict[@"file_size"] ?: nil; + + return + [[DBTEAMLOGFileOrFolderLogInfo alloc] initWithPath:path displayName:displayName fileId:fileId fileSize:fileSize]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileLogInfo.h" +#import "DBTEAMLOGFileOrFolderLogInfo.h" +#import "DBTEAMLOGPathLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path + displayName:(NSString *)displayName + fileId:(NSString *)fileId + fileSize:(NSNumber *)fileSize { + [DBStoneValidators nonnullValidator:nil](path); + + self = [super initWithPath:path displayName:displayName fileId:fileId fileSize:fileSize]; + if (self) { + } + return self; +} + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { + return [self initWithPath:path displayName:nil fileId:nil fileSize:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.fileId != nil) { + result = prime * result + [self.fileId hash]; + } + if (self.fileSize != nil) { + result = prime * result + [self.fileSize hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLogInfo:other]; +} + +- (BOOL)isEqualToFileLogInfo:(DBTEAMLOGFileLogInfo *)aFileLogInfo { + if (self == aFileLogInfo) { + return YES; + } + if (![self.path isEqual:aFileLogInfo.path]) { + return NO; + } + if (self.displayName) { + if (![self.displayName isEqual:aFileLogInfo.displayName]) { + return NO; + } + } + if (self.fileId) { + if (![self.fileId isEqual:aFileLogInfo.fileId]) { + return NO; + } + } + if (self.fileSize) { + if (![self.fileSize isEqual:aFileLogInfo.fileSize]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.fileId) { + jsonDict[@"file_id"] = valueObj.fileId; + } + if (valueObj.fileSize) { + jsonDict[@"file_size"] = valueObj.fileSize; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *fileId = valueDict[@"file_id"] ?: nil; + NSNumber *fileSize = valueDict[@"file_size"] ?: nil; + + return [[DBTEAMLOGFileLogInfo alloc] initWithPath:path displayName:displayName fileId:fileId fileSize:fileSize]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileMoveDetails.h" +#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileMoveDetails + +#pragma mark - Constructors + +- (instancetype)initWithRelocateActionDetails: + (NSArray *)relocateActionDetails { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); + + self = [super init]; + if (self) { + _relocateActionDetails = relocateActionDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileMoveDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileMoveDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileMoveDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.relocateActionDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileMoveDetails:other]; +} + +- (BOOL)isEqualToFileMoveDetails:(DBTEAMLOGFileMoveDetails *)aFileMoveDetails { + if (self == aFileMoveDetails) { + return YES; + } + if (![self.relocateActionDetails isEqual:aFileMoveDetails.relocateActionDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileMoveDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileMoveDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"relocate_action_details"] = + [DBArraySerializer serialize:valueObj.relocateActionDetails + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *relocateActionDetails = + [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; + }]; + + return [[DBTEAMLOGFileMoveDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileMoveType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileMoveType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileMoveTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileMoveTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileMoveTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileMoveType:other]; +} + +- (BOOL)isEqualToFileMoveType:(DBTEAMLOGFileMoveType *)aFileMoveType { + if (self == aFileMoveType) { + return YES; + } + if (![self.description_ isEqual:aFileMoveType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileMoveTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileMoveType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileMoveType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileMoveType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFilePermanentlyDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFilePermanentlyDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFilePermanentlyDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFilePermanentlyDeleteDetails:other]; +} + +- (BOOL)isEqualToFilePermanentlyDeleteDetails:(DBTEAMLOGFilePermanentlyDeleteDetails *)aFilePermanentlyDeleteDetails { + if (self == aFilePermanentlyDeleteDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFilePermanentlyDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFilePermanentlyDeleteDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFilePermanentlyDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFilePermanentlyDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFilePermanentlyDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFilePermanentlyDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFilePermanentlyDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFilePermanentlyDeleteType:other]; +} + +- (BOOL)isEqualToFilePermanentlyDeleteType:(DBTEAMLOGFilePermanentlyDeleteType *)aFilePermanentlyDeleteType { + if (self == aFilePermanentlyDeleteType) { + return YES; + } + if (![self.description_ isEqual:aFilePermanentlyDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFilePermanentlyDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFilePermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFilePermanentlyDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFilePreviewDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFilePreviewDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFilePreviewDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFilePreviewDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFilePreviewDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFilePreviewDetails:other]; +} + +- (BOOL)isEqualToFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)aFilePreviewDetails { + if (self == aFilePreviewDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFilePreviewDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFilePreviewDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFilePreviewDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFilePreviewType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFilePreviewType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFilePreviewTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFilePreviewTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFilePreviewTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFilePreviewType:other]; +} + +- (BOOL)isEqualToFilePreviewType:(DBTEAMLOGFilePreviewType *)aFilePreviewType { + if (self == aFilePreviewType) { + return YES; + } + if (![self.description_ isEqual:aFilePreviewType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFilePreviewTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFilePreviewType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFilePreviewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFilePreviewType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h" +#import "DBTEAMPOLICIESFileProviderMigrationPolicyState.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileProviderMigrationPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)dNewValue + previousValue:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileProviderMigrationPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToFileProviderMigrationPolicyChangedDetails: + (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)aFileProviderMigrationPolicyChangedDetails { + if (self == aFileProviderMigrationPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileProviderMigrationPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aFileProviderMigrationPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = + [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESFileProviderMigrationPolicyState *dNewValue = + [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESFileProviderMigrationPolicyState *previousValue = + [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGFileProviderMigrationPolicyChangedDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileProviderMigrationPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileProviderMigrationPolicyChangedType:other]; +} + +- (BOOL)isEqualToFileProviderMigrationPolicyChangedType: + (DBTEAMLOGFileProviderMigrationPolicyChangedType *)aFileProviderMigrationPolicyChangedType { + if (self == aFileProviderMigrationPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aFileProviderMigrationPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileProviderMigrationPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileProviderMigrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileProviderMigrationPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRenameDetails.h" +#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRenameDetails + +#pragma mark - Constructors + +- (instancetype)initWithRelocateActionDetails: + (NSArray *)relocateActionDetails { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); + + self = [super init]; + if (self) { + _relocateActionDetails = relocateActionDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRenameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRenameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRenameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.relocateActionDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRenameDetails:other]; +} + +- (BOOL)isEqualToFileRenameDetails:(DBTEAMLOGFileRenameDetails *)aFileRenameDetails { + if (self == aFileRenameDetails) { + return YES; + } + if (![self.relocateActionDetails isEqual:aFileRenameDetails.relocateActionDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRenameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRenameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"relocate_action_details"] = + [DBArraySerializer serialize:valueObj.relocateActionDetails + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *relocateActionDetails = + [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; + }]; + + return [[DBTEAMLOGFileRenameDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRenameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRenameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRenameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRenameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRenameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRenameType:other]; +} + +- (BOOL)isEqualToFileRenameType:(DBTEAMLOGFileRenameType *)aFileRenameType { + if (self == aFileRenameType) { + return YES; + } + if (![self.description_ isEqual:aFileRenameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRenameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRenameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRenameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRenameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestChangeDetails.h" +#import "DBTEAMLOGFileRequestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestChangeDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails + fileRequestId:(NSString *)fileRequestId + previousDetails:(DBTEAMLOGFileRequestDetails *)previousDetails { + [DBStoneValidators nonnullValidator:nil](dNewDetails); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); + + self = [super init]; + if (self) { + _fileRequestId = fileRequestId; + _previousDetails = previousDetails; + _dNewDetails = dNewDetails; + } + return self; +} + +- (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails { + return [self initWithDNewDetails:dNewDetails fileRequestId:nil previousDetails:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestChangeDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestChangeDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestChangeDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewDetails hash]; + if (self.fileRequestId != nil) { + result = prime * result + [self.fileRequestId hash]; + } + if (self.previousDetails != nil) { + result = prime * result + [self.previousDetails hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestChangeDetails:other]; +} + +- (BOOL)isEqualToFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)aFileRequestChangeDetails { + if (self == aFileRequestChangeDetails) { + return YES; + } + if (![self.dNewDetails isEqual:aFileRequestChangeDetails.dNewDetails]) { + return NO; + } + if (self.fileRequestId) { + if (![self.fileRequestId isEqual:aFileRequestChangeDetails.fileRequestId]) { + return NO; + } + } + if (self.previousDetails) { + if (![self.previousDetails isEqual:aFileRequestChangeDetails.previousDetails]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestChangeDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.dNewDetails]; + if (valueObj.fileRequestId) { + jsonDict[@"file_request_id"] = valueObj.fileRequestId; + } + if (valueObj.previousDetails) { + jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFileRequestDetails *dNewDetails = + [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"new_details"]]; + NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; + DBTEAMLOGFileRequestDetails *previousDetails = + valueDict[@"previous_details"] + ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"previous_details"]] + : nil; + + return [[DBTEAMLOGFileRequestChangeDetails alloc] initWithDNewDetails:dNewDetails + fileRequestId:fileRequestId + previousDetails:previousDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestChangeType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestChangeType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestChangeTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestChangeTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestChangeTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestChangeType:other]; +} + +- (BOOL)isEqualToFileRequestChangeType:(DBTEAMLOGFileRequestChangeType *)aFileRequestChangeType { + if (self == aFileRequestChangeType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestChangeType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestChangeTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestChangeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestChangeType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestCloseDetails.h" +#import "DBTEAMLOGFileRequestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestCloseDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileRequestId:(NSString *)fileRequestId + previousDetails:(DBTEAMLOGFileRequestDetails *)previousDetails { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); + + self = [super init]; + if (self) { + _fileRequestId = fileRequestId; + _previousDetails = previousDetails; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithFileRequestId:nil previousDetails:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestCloseDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestCloseDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestCloseDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.fileRequestId != nil) { + result = prime * result + [self.fileRequestId hash]; + } + if (self.previousDetails != nil) { + result = prime * result + [self.previousDetails hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestCloseDetails:other]; +} + +- (BOOL)isEqualToFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)aFileRequestCloseDetails { + if (self == aFileRequestCloseDetails) { + return YES; + } + if (self.fileRequestId) { + if (![self.fileRequestId isEqual:aFileRequestCloseDetails.fileRequestId]) { + return NO; + } + } + if (self.previousDetails) { + if (![self.previousDetails isEqual:aFileRequestCloseDetails.previousDetails]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestCloseDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.fileRequestId) { + jsonDict[@"file_request_id"] = valueObj.fileRequestId; + } + if (valueObj.previousDetails) { + jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; + DBTEAMLOGFileRequestDetails *previousDetails = + valueDict[@"previous_details"] + ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"previous_details"]] + : nil; + + return [[DBTEAMLOGFileRequestCloseDetails alloc] initWithFileRequestId:fileRequestId previousDetails:previousDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestCloseType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestCloseType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestCloseTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestCloseTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestCloseTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestCloseType:other]; +} + +- (BOOL)isEqualToFileRequestCloseType:(DBTEAMLOGFileRequestCloseType *)aFileRequestCloseType { + if (self == aFileRequestCloseType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestCloseType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestCloseTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestCloseType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestCloseType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestCreateDetails.h" +#import "DBTEAMLOGFileRequestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileRequestId:(NSString *)fileRequestId + requestDetails:(DBTEAMLOGFileRequestDetails *)requestDetails { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); + + self = [super init]; + if (self) { + _fileRequestId = fileRequestId; + _requestDetails = requestDetails; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithFileRequestId:nil requestDetails:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.fileRequestId != nil) { + result = prime * result + [self.fileRequestId hash]; + } + if (self.requestDetails != nil) { + result = prime * result + [self.requestDetails hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestCreateDetails:other]; +} + +- (BOOL)isEqualToFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)aFileRequestCreateDetails { + if (self == aFileRequestCreateDetails) { + return YES; + } + if (self.fileRequestId) { + if (![self.fileRequestId isEqual:aFileRequestCreateDetails.fileRequestId]) { + return NO; + } + } + if (self.requestDetails) { + if (![self.requestDetails isEqual:aFileRequestCreateDetails.requestDetails]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.fileRequestId) { + jsonDict[@"file_request_id"] = valueObj.fileRequestId; + } + if (valueObj.requestDetails) { + jsonDict[@"request_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.requestDetails]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; + DBTEAMLOGFileRequestDetails *requestDetails = + valueDict[@"request_details"] ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"request_details"]] + : nil; + + return [[DBTEAMLOGFileRequestCreateDetails alloc] initWithFileRequestId:fileRequestId requestDetails:requestDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestCreateType:other]; +} + +- (BOOL)isEqualToFileRequestCreateType:(DBTEAMLOGFileRequestCreateType *)aFileRequestCreateType { + if (self == aFileRequestCreateType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestDeadline.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestDeadline + +#pragma mark - Constructors + +- (instancetype)initWithDeadline:(NSDate *)deadline allowLateUploads:(NSString *)allowLateUploads { + + self = [super init]; + if (self) { + _deadline = deadline; + _allowLateUploads = allowLateUploads; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDeadline:nil allowLateUploads:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestDeadlineSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestDeadlineSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestDeadlineSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.deadline != nil) { + result = prime * result + [self.deadline hash]; + } + if (self.allowLateUploads != nil) { + result = prime * result + [self.allowLateUploads hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestDeadline:other]; +} + +- (BOOL)isEqualToFileRequestDeadline:(DBTEAMLOGFileRequestDeadline *)aFileRequestDeadline { + if (self == aFileRequestDeadline) { + return YES; + } + if (self.deadline) { + if (![self.deadline isEqual:aFileRequestDeadline.deadline]) { + return NO; + } + } + if (self.allowLateUploads) { + if (![self.allowLateUploads isEqual:aFileRequestDeadline.allowLateUploads]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestDeadlineSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestDeadline *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.deadline) { + jsonDict[@"deadline"] = [DBNSDateSerializer serialize:valueObj.deadline dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.allowLateUploads) { + jsonDict[@"allow_late_uploads"] = valueObj.allowLateUploads; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestDeadline *)deserialize:(NSDictionary *)valueDict { + NSDate *deadline = valueDict[@"deadline"] + ? [DBNSDateSerializer deserialize:valueDict[@"deadline"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSString *allowLateUploads = valueDict[@"allow_late_uploads"] ?: nil; + + return [[DBTEAMLOGFileRequestDeadline alloc] initWithDeadline:deadline allowLateUploads:allowLateUploads]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestDeleteDetails.h" +#import "DBTEAMLOGFileRequestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileRequestId:(NSString *)fileRequestId + previousDetails:(DBTEAMLOGFileRequestDetails *)previousDetails { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); + + self = [super init]; + if (self) { + _fileRequestId = fileRequestId; + _previousDetails = previousDetails; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithFileRequestId:nil previousDetails:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.fileRequestId != nil) { + result = prime * result + [self.fileRequestId hash]; + } + if (self.previousDetails != nil) { + result = prime * result + [self.previousDetails hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestDeleteDetails:other]; +} + +- (BOOL)isEqualToFileRequestDeleteDetails:(DBTEAMLOGFileRequestDeleteDetails *)aFileRequestDeleteDetails { + if (self == aFileRequestDeleteDetails) { + return YES; + } + if (self.fileRequestId) { + if (![self.fileRequestId isEqual:aFileRequestDeleteDetails.fileRequestId]) { + return NO; + } + } + if (self.previousDetails) { + if (![self.previousDetails isEqual:aFileRequestDeleteDetails.previousDetails]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestDeleteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.fileRequestId) { + jsonDict[@"file_request_id"] = valueObj.fileRequestId; + } + if (valueObj.previousDetails) { + jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestDeleteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; + DBTEAMLOGFileRequestDetails *previousDetails = + valueDict[@"previous_details"] + ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"previous_details"]] + : nil; + + return + [[DBTEAMLOGFileRequestDeleteDetails alloc] initWithFileRequestId:fileRequestId previousDetails:previousDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestDeleteType:other]; +} + +- (BOOL)isEqualToFileRequestDeleteType:(DBTEAMLOGFileRequestDeleteType *)aFileRequestDeleteType { + if (self == aFileRequestDeleteType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestDeadline.h" +#import "DBTEAMLOGFileRequestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestDetails + +#pragma mark - Constructors + +- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex deadline:(DBTEAMLOGFileRequestDeadline *)deadline { + [DBStoneValidators nonnullValidator:nil](assetIndex); + + self = [super init]; + if (self) { + _assetIndex = assetIndex; + _deadline = deadline; + } + return self; +} + +- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex { + return [self initWithAssetIndex:assetIndex deadline:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.assetIndex hash]; + if (self.deadline != nil) { + result = prime * result + [self.deadline hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestDetails:other]; +} + +- (BOOL)isEqualToFileRequestDetails:(DBTEAMLOGFileRequestDetails *)aFileRequestDetails { + if (self == aFileRequestDetails) { + return YES; + } + if (![self.assetIndex isEqual:aFileRequestDetails.assetIndex]) { + return NO; + } + if (self.deadline) { + if (![self.deadline isEqual:aFileRequestDetails.deadline]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"asset_index"] = valueObj.assetIndex; + if (valueObj.deadline) { + jsonDict[@"deadline"] = [DBTEAMLOGFileRequestDeadlineSerializer serialize:valueObj.deadline]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *assetIndex = valueDict[@"asset_index"]; + DBTEAMLOGFileRequestDeadline *deadline = + valueDict[@"deadline"] ? [DBTEAMLOGFileRequestDeadlineSerializer deserialize:valueDict[@"deadline"]] : nil; + + return [[DBTEAMLOGFileRequestDetails alloc] initWithAssetIndex:assetIndex deadline:deadline]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestDetails.h" +#import "DBTEAMLOGFileRequestReceiveFileDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestReceiveFileDetails + +#pragma mark - Constructors + +- (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames + fileRequestId:(NSString *)fileRequestId + fileRequestDetails:(DBTEAMLOGFileRequestDetails *)fileRequestDetails + submitterName:(NSString *)submitterName + submitterEmail:(NSString *)submitterEmail { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](submittedFileNames); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](submitterEmail); + + self = [super init]; + if (self) { + _fileRequestId = fileRequestId; + _fileRequestDetails = fileRequestDetails; + _submittedFileNames = submittedFileNames; + _submitterName = submitterName; + _submitterEmail = submitterEmail; + } + return self; +} + +- (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames { + return [self initWithSubmittedFileNames:submittedFileNames + fileRequestId:nil + fileRequestDetails:nil + submitterName:nil + submitterEmail:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestReceiveFileDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestReceiveFileDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestReceiveFileDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.submittedFileNames hash]; + if (self.fileRequestId != nil) { + result = prime * result + [self.fileRequestId hash]; + } + if (self.fileRequestDetails != nil) { + result = prime * result + [self.fileRequestDetails hash]; + } + if (self.submitterName != nil) { + result = prime * result + [self.submitterName hash]; + } + if (self.submitterEmail != nil) { + result = prime * result + [self.submitterEmail hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestReceiveFileDetails:other]; +} + +- (BOOL)isEqualToFileRequestReceiveFileDetails: + (DBTEAMLOGFileRequestReceiveFileDetails *)aFileRequestReceiveFileDetails { + if (self == aFileRequestReceiveFileDetails) { + return YES; + } + if (![self.submittedFileNames isEqual:aFileRequestReceiveFileDetails.submittedFileNames]) { + return NO; + } + if (self.fileRequestId) { + if (![self.fileRequestId isEqual:aFileRequestReceiveFileDetails.fileRequestId]) { + return NO; + } + } + if (self.fileRequestDetails) { + if (![self.fileRequestDetails isEqual:aFileRequestReceiveFileDetails.fileRequestDetails]) { + return NO; + } + } + if (self.submitterName) { + if (![self.submitterName isEqual:aFileRequestReceiveFileDetails.submitterName]) { + return NO; + } + } + if (self.submitterEmail) { + if (![self.submitterEmail isEqual:aFileRequestReceiveFileDetails.submitterEmail]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestReceiveFileDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"submitted_file_names"] = [DBArraySerializer serialize:valueObj.submittedFileNames + withBlock:^id(id elem0) { + return elem0; + }]; + if (valueObj.fileRequestId) { + jsonDict[@"file_request_id"] = valueObj.fileRequestId; + } + if (valueObj.fileRequestDetails) { + jsonDict[@"file_request_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.fileRequestDetails]; + } + if (valueObj.submitterName) { + jsonDict[@"submitter_name"] = valueObj.submitterName; + } + if (valueObj.submitterEmail) { + jsonDict[@"submitter_email"] = valueObj.submitterEmail; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *submittedFileNames = [DBArraySerializer deserialize:valueDict[@"submitted_file_names"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; + DBTEAMLOGFileRequestDetails *fileRequestDetails = + valueDict[@"file_request_details"] + ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"file_request_details"]] + : nil; + NSString *submitterName = valueDict[@"submitter_name"] ?: nil; + NSString *submitterEmail = valueDict[@"submitter_email"] ?: nil; + + return [[DBTEAMLOGFileRequestReceiveFileDetails alloc] initWithSubmittedFileNames:submittedFileNames + fileRequestId:fileRequestId + fileRequestDetails:fileRequestDetails + submitterName:submitterName + submitterEmail:submitterEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestReceiveFileType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestReceiveFileType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestReceiveFileTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestReceiveFileTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestReceiveFileTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestReceiveFileType:other]; +} + +- (BOOL)isEqualToFileRequestReceiveFileType:(DBTEAMLOGFileRequestReceiveFileType *)aFileRequestReceiveFileType { + if (self == aFileRequestReceiveFileType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestReceiveFileType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestReceiveFileTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestReceiveFileType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestReceiveFileType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsChangePolicyDetails.h" +#import "DBTEAMLOGFileRequestsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue + previousValue:(DBTEAMLOGFileRequestsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToFileRequestsChangePolicyDetails: + (DBTEAMLOGFileRequestsChangePolicyDetails *)aFileRequestsChangePolicyDetails { + if (self == aFileRequestsChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileRequestsChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aFileRequestsChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGFileRequestsPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGFileRequestsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFileRequestsPolicy *dNewValue = [DBTEAMLOGFileRequestsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGFileRequestsPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGFileRequestsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGFileRequestsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsChangePolicyType:other]; +} + +- (BOOL)isEqualToFileRequestsChangePolicyType:(DBTEAMLOGFileRequestsChangePolicyType *)aFileRequestsChangePolicyType { + if (self == aFileRequestsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsEmailsEnabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsEmailsEnabledDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsEmailsEnabledDetails:other]; +} + +- (BOOL)isEqualToFileRequestsEmailsEnabledDetails: + (DBTEAMLOGFileRequestsEmailsEnabledDetails *)aFileRequestsEmailsEnabledDetails { + if (self == aFileRequestsEmailsEnabledDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileRequestsEmailsEnabledDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsEmailsEnabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsEmailsEnabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsEmailsEnabledType:other]; +} + +- (BOOL)isEqualToFileRequestsEmailsEnabledType: + (DBTEAMLOGFileRequestsEmailsEnabledType *)aFileRequestsEmailsEnabledType { + if (self == aFileRequestsEmailsEnabledType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestsEmailsEnabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsEmailsEnabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestsEmailsEnabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsEmailsRestrictedToTeamOnlyDetails:other]; +} + +- (BOOL)isEqualToFileRequestsEmailsRestrictedToTeamOnlyDetails: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)aFileRequestsEmailsRestrictedToTeamOnlyDetails { + if (self == aFileRequestsEmailsRestrictedToTeamOnlyDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsEmailsRestrictedToTeamOnlyType:other]; +} + +- (BOOL)isEqualToFileRequestsEmailsRestrictedToTeamOnlyType: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)aFileRequestsEmailsRestrictedToTeamOnlyType { + if (self == aFileRequestsEmailsRestrictedToTeamOnlyType) { + return YES; + } + if (![self.description_ isEqual:aFileRequestsEmailsRestrictedToTeamOnlyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRequestsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRequestsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileRequestsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileRequestsPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileRequestsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGFileRequestsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGFileRequestsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFileRequestsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFileRequestsPolicyDisabled: + return @"DBTEAMLOGFileRequestsPolicyDisabled"; + case DBTEAMLOGFileRequestsPolicyEnabled: + return @"DBTEAMLOGFileRequestsPolicyEnabled"; + case DBTEAMLOGFileRequestsPolicyOther: + return @"DBTEAMLOGFileRequestsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRequestsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRequestsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRequestsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFileRequestsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileRequestsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileRequestsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRequestsPolicy:other]; +} + +- (BOOL)isEqualToFileRequestsPolicy:(DBTEAMLOGFileRequestsPolicy *)aFileRequestsPolicy { + if (self == aFileRequestsPolicy) { + return YES; + } + if (self.tag != aFileRequestsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFileRequestsPolicyDisabled: + return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; + case DBTEAMLOGFileRequestsPolicyEnabled: + return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; + case DBTEAMLOGFileRequestsPolicyOther: + return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRequestsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGFileRequestsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGFileRequestsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFileRequestsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGFileRequestsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileResolveCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileResolveCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileResolveCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileResolveCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileResolveCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileResolveCommentDetails:other]; +} + +- (BOOL)isEqualToFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)aFileResolveCommentDetails { + if (self == aFileResolveCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileResolveCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileResolveCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileResolveCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileResolveCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileResolveCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileResolveCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileResolveCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileResolveCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileResolveCommentType:other]; +} + +- (BOOL)isEqualToFileResolveCommentType:(DBTEAMLOGFileResolveCommentType *)aFileResolveCommentType { + if (self == aFileResolveCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileResolveCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileResolveCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileResolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileResolveCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRestoreDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRestoreDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRestoreDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRestoreDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRestoreDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRestoreDetails:other]; +} + +- (BOOL)isEqualToFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)aFileRestoreDetails { + if (self == aFileRestoreDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRestoreDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRestoreDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileRestoreDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRestoreType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRestoreType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRestoreTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRestoreTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRestoreTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRestoreType:other]; +} + +- (BOOL)isEqualToFileRestoreType:(DBTEAMLOGFileRestoreType *)aFileRestoreType { + if (self == aFileRestoreType) { + return YES; + } + if (![self.description_ isEqual:aFileRestoreType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRestoreTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRestoreType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRestoreType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRestoreType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRevertDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRevertDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRevertDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRevertDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRevertDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRevertDetails:other]; +} + +- (BOOL)isEqualToFileRevertDetails:(DBTEAMLOGFileRevertDetails *)aFileRevertDetails { + if (self == aFileRevertDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRevertDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRevertDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileRevertDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRevertType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRevertType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRevertTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRevertTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRevertTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRevertType:other]; +} + +- (BOOL)isEqualToFileRevertType:(DBTEAMLOGFileRevertType *)aFileRevertType { + if (self == aFileRevertType) { + return YES; + } + if (![self.description_ isEqual:aFileRevertType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRevertTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRevertType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRevertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRevertType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRollbackChangesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRollbackChangesDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRollbackChangesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRollbackChangesDetails:other]; +} + +- (BOOL)isEqualToFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)aFileRollbackChangesDetails { + if (self == aFileRollbackChangesDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRollbackChangesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGFileRollbackChangesDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileRollbackChangesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileRollbackChangesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileRollbackChangesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileRollbackChangesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileRollbackChangesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileRollbackChangesType:other]; +} + +- (BOOL)isEqualToFileRollbackChangesType:(DBTEAMLOGFileRollbackChangesType *)aFileRollbackChangesType { + if (self == aFileRollbackChangesType) { + return YES; + } + if (![self.description_ isEqual:aFileRollbackChangesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileRollbackChangesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileRollbackChangesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileRollbackChangesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileSaveCopyReferenceDetails.h" +#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileSaveCopyReferenceDetails + +#pragma mark - Constructors + +- (instancetype)initWithRelocateActionDetails: + (NSArray *)relocateActionDetails { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); + + self = [super init]; + if (self) { + _relocateActionDetails = relocateActionDetails; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.relocateActionDetails hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileSaveCopyReferenceDetails:other]; +} + +- (BOOL)isEqualToFileSaveCopyReferenceDetails:(DBTEAMLOGFileSaveCopyReferenceDetails *)aFileSaveCopyReferenceDetails { + if (self == aFileSaveCopyReferenceDetails) { + return YES; + } + if (![self.relocateActionDetails isEqual:aFileSaveCopyReferenceDetails.relocateActionDetails]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileSaveCopyReferenceDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"relocate_action_details"] = + [DBArraySerializer serialize:valueObj.relocateActionDetails + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *relocateActionDetails = + [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] + withBlock:^id(id elem0) { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; + }]; + + return [[DBTEAMLOGFileSaveCopyReferenceDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileSaveCopyReferenceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileSaveCopyReferenceType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileSaveCopyReferenceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileSaveCopyReferenceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileSaveCopyReferenceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileSaveCopyReferenceType:other]; +} + +- (BOOL)isEqualToFileSaveCopyReferenceType:(DBTEAMLOGFileSaveCopyReferenceType *)aFileSaveCopyReferenceType { + if (self == aFileSaveCopyReferenceType) { + return YES; + } + if (![self.description_ isEqual:aFileSaveCopyReferenceType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileSaveCopyReferenceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileSaveCopyReferenceType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileSaveCopyReferenceType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersFileAddDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersFileAddDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId { + [DBStoneValidators nonnullValidator:nil](fileTransferId); + + self = [super init]; + if (self) { + _fileTransferId = fileTransferId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersFileAddDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersFileAddDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersFileAddDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileTransferId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersFileAddDetails:other]; +} + +- (BOOL)isEqualToFileTransfersFileAddDetails:(DBTEAMLOGFileTransfersFileAddDetails *)aFileTransfersFileAddDetails { + if (self == aFileTransfersFileAddDetails) { + return YES; + } + if (![self.fileTransferId isEqual:aFileTransfersFileAddDetails.fileTransferId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersFileAddDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersFileAddDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersFileAddDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileTransferId = valueDict[@"file_transfer_id"]; + + return [[DBTEAMLOGFileTransfersFileAddDetails alloc] initWithFileTransferId:fileTransferId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersFileAddType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersFileAddType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersFileAddTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersFileAddTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersFileAddTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersFileAddType:other]; +} + +- (BOOL)isEqualToFileTransfersFileAddType:(DBTEAMLOGFileTransfersFileAddType *)aFileTransfersFileAddType { + if (self == aFileTransfersFileAddType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersFileAddType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersFileAddTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersFileAddType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersFileAddType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersFileAddType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileTransfersPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileTransfersPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFileTransfersPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGFileTransfersPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGFileTransfersPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFileTransfersPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFileTransfersPolicyDisabled: + return @"DBTEAMLOGFileTransfersPolicyDisabled"; + case DBTEAMLOGFileTransfersPolicyEnabled: + return @"DBTEAMLOGFileTransfersPolicyEnabled"; + case DBTEAMLOGFileTransfersPolicyOther: + return @"DBTEAMLOGFileTransfersPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFileTransfersPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileTransfersPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFileTransfersPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersPolicy:other]; +} + +- (BOOL)isEqualToFileTransfersPolicy:(DBTEAMLOGFileTransfersPolicy *)aFileTransfersPolicy { + if (self == aFileTransfersPolicy) { + return YES; + } + if (self.tag != aFileTransfersPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFileTransfersPolicyDisabled: + return [[self tagName] isEqual:[aFileTransfersPolicy tagName]]; + case DBTEAMLOGFileTransfersPolicyEnabled: + return [[self tagName] isEqual:[aFileTransfersPolicy tagName]]; + case DBTEAMLOGFileTransfersPolicyOther: + return [[self tagName] isEqual:[aFileTransfersPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGFileTransfersPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGFileTransfersPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFileTransfersPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGFileTransfersPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersPolicy.h" +#import "DBTEAMLOGFileTransfersPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGFileTransfersPolicy *)dNewValue + previousValue:(DBTEAMLOGFileTransfersPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToFileTransfersPolicyChangedDetails: + (DBTEAMLOGFileTransfersPolicyChangedDetails *)aFileTransfersPolicyChangedDetails { + if (self == aFileTransfersPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFileTransfersPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aFileTransfersPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGFileTransfersPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGFileTransfersPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFileTransfersPolicy *dNewValue = + [DBTEAMLOGFileTransfersPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGFileTransfersPolicy *previousValue = + [DBTEAMLOGFileTransfersPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGFileTransfersPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersPolicyChangedType:other]; +} + +- (BOOL)isEqualToFileTransfersPolicyChangedType: + (DBTEAMLOGFileTransfersPolicyChangedType *)aFileTransfersPolicyChangedType { + if (self == aFileTransfersPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId { + [DBStoneValidators nonnullValidator:nil](fileTransferId); + + self = [super init]; + if (self) { + _fileTransferId = fileTransferId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileTransferId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferDeleteDetails:other]; +} + +- (BOOL)isEqualToFileTransfersTransferDeleteDetails: + (DBTEAMLOGFileTransfersTransferDeleteDetails *)aFileTransfersTransferDeleteDetails { + if (self == aFileTransfersTransferDeleteDetails) { + return YES; + } + if (![self.fileTransferId isEqual:aFileTransfersTransferDeleteDetails.fileTransferId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDeleteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferDeleteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileTransferId = valueDict[@"file_transfer_id"]; + + return [[DBTEAMLOGFileTransfersTransferDeleteDetails alloc] initWithFileTransferId:fileTransferId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferDeleteType:other]; +} + +- (BOOL)isEqualToFileTransfersTransferDeleteType: + (DBTEAMLOGFileTransfersTransferDeleteType *)aFileTransfersTransferDeleteType { + if (self == aFileTransfersTransferDeleteType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersTransferDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersTransferDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferDownloadDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferDownloadDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId { + [DBStoneValidators nonnullValidator:nil](fileTransferId); + + self = [super init]; + if (self) { + _fileTransferId = fileTransferId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileTransferId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferDownloadDetails:other]; +} + +- (BOOL)isEqualToFileTransfersTransferDownloadDetails: + (DBTEAMLOGFileTransfersTransferDownloadDetails *)aFileTransfersTransferDownloadDetails { + if (self == aFileTransfersTransferDownloadDetails) { + return YES; + } + if (![self.fileTransferId isEqual:aFileTransfersTransferDownloadDetails.fileTransferId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDownloadDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferDownloadDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileTransferId = valueDict[@"file_transfer_id"]; + + return [[DBTEAMLOGFileTransfersTransferDownloadDetails alloc] initWithFileTransferId:fileTransferId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferDownloadType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferDownloadType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferDownloadTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferDownloadTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferDownloadTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferDownloadType:other]; +} + +- (BOOL)isEqualToFileTransfersTransferDownloadType: + (DBTEAMLOGFileTransfersTransferDownloadType *)aFileTransfersTransferDownloadType { + if (self == aFileTransfersTransferDownloadType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersTransferDownloadType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferDownloadTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDownloadType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersTransferDownloadType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferSendDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferSendDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId { + [DBStoneValidators nonnullValidator:nil](fileTransferId); + + self = [super init]; + if (self) { + _fileTransferId = fileTransferId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferSendDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferSendDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferSendDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileTransferId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferSendDetails:other]; +} + +- (BOOL)isEqualToFileTransfersTransferSendDetails: + (DBTEAMLOGFileTransfersTransferSendDetails *)aFileTransfersTransferSendDetails { + if (self == aFileTransfersTransferSendDetails) { + return YES; + } + if (![self.fileTransferId isEqual:aFileTransfersTransferSendDetails.fileTransferId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferSendDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferSendDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferSendDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileTransferId = valueDict[@"file_transfer_id"]; + + return [[DBTEAMLOGFileTransfersTransferSendDetails alloc] initWithFileTransferId:fileTransferId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferSendType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferSendType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferSendTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferSendTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferSendTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferSendType:other]; +} + +- (BOOL)isEqualToFileTransfersTransferSendType: + (DBTEAMLOGFileTransfersTransferSendType *)aFileTransfersTransferSendType { + if (self == aFileTransfersTransferSendType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersTransferSendType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferSendTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferSendType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferSendType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersTransferSendType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferViewDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferViewDetails + +#pragma mark - Constructors + +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId { + [DBStoneValidators nonnullValidator:nil](fileTransferId); + + self = [super init]; + if (self) { + _fileTransferId = fileTransferId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferViewDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferViewDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferViewDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.fileTransferId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferViewDetails:other]; +} + +- (BOOL)isEqualToFileTransfersTransferViewDetails: + (DBTEAMLOGFileTransfersTransferViewDetails *)aFileTransfersTransferViewDetails { + if (self == aFileTransfersTransferViewDetails) { + return YES; + } + if (![self.fileTransferId isEqual:aFileTransfersTransferViewDetails.fileTransferId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferViewDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferViewDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"file_transfer_id"] = valueObj.fileTransferId; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *fileTransferId = valueDict[@"file_transfer_id"]; + + return [[DBTEAMLOGFileTransfersTransferViewDetails alloc] initWithFileTransferId:fileTransferId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileTransfersTransferViewType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileTransfersTransferViewType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileTransfersTransferViewTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileTransfersTransferViewTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileTransfersTransferViewTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileTransfersTransferViewType:other]; +} + +- (BOOL)isEqualToFileTransfersTransferViewType: + (DBTEAMLOGFileTransfersTransferViewType *)aFileTransfersTransferViewType { + if (self == aFileTransfersTransferViewType) { + return YES; + } + if (![self.description_ isEqual:aFileTransfersTransferViewType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileTransfersTransferViewTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferViewType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileTransfersTransferViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileTransfersTransferViewType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileUnlikeCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileUnlikeCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileUnlikeCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileUnlikeCommentDetails:other]; +} + +- (BOOL)isEqualToFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)aFileUnlikeCommentDetails { + if (self == aFileUnlikeCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileUnlikeCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileUnlikeCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileUnlikeCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileUnlikeCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileUnlikeCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileUnlikeCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileUnlikeCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileUnlikeCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileUnlikeCommentType:other]; +} + +- (BOOL)isEqualToFileUnlikeCommentType:(DBTEAMLOGFileUnlikeCommentType *)aFileUnlikeCommentType { + if (self == aFileUnlikeCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileUnlikeCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileUnlikeCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileUnlikeCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileUnlikeCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileUnresolveCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileUnresolveCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithCommentText:(NSString *)commentText { + + self = [super init]; + if (self) { + _commentText = commentText; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithCommentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileUnresolveCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileUnresolveCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileUnresolveCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileUnresolveCommentDetails:other]; +} + +- (BOOL)isEqualToFileUnresolveCommentDetails:(DBTEAMLOGFileUnresolveCommentDetails *)aFileUnresolveCommentDetails { + if (self == aFileUnresolveCommentDetails) { + return YES; + } + if (self.commentText) { + if (![self.commentText isEqual:aFileUnresolveCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileUnresolveCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGFileUnresolveCommentDetails alloc] initWithCommentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileUnresolveCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFileUnresolveCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFileUnresolveCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFileUnresolveCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFileUnresolveCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileUnresolveCommentType:other]; +} + +- (BOOL)isEqualToFileUnresolveCommentType:(DBTEAMLOGFileUnresolveCommentType *)aFileUnresolveCommentType { + if (self == aFileUnresolveCommentType) { + return YES; + } + if (![self.description_ isEqual:aFileUnresolveCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFileUnresolveCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFileUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFileUnresolveCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFolderLinkRestrictionPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFolderLinkRestrictionPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGFolderLinkRestrictionPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGFolderLinkRestrictionPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGFolderLinkRestrictionPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGFolderLinkRestrictionPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGFolderLinkRestrictionPolicyDisabled: + return @"DBTEAMLOGFolderLinkRestrictionPolicyDisabled"; + case DBTEAMLOGFolderLinkRestrictionPolicyEnabled: + return @"DBTEAMLOGFolderLinkRestrictionPolicyEnabled"; + case DBTEAMLOGFolderLinkRestrictionPolicyOther: + return @"DBTEAMLOGFolderLinkRestrictionPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderLinkRestrictionPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGFolderLinkRestrictionPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFolderLinkRestrictionPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGFolderLinkRestrictionPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderLinkRestrictionPolicy:other]; +} + +- (BOOL)isEqualToFolderLinkRestrictionPolicy:(DBTEAMLOGFolderLinkRestrictionPolicy *)aFolderLinkRestrictionPolicy { + if (self == aFolderLinkRestrictionPolicy) { + return YES; + } + if (self.tag != aFolderLinkRestrictionPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGFolderLinkRestrictionPolicyDisabled: + return [[self tagName] isEqual:[aFolderLinkRestrictionPolicy tagName]]; + case DBTEAMLOGFolderLinkRestrictionPolicyEnabled: + return [[self tagName] isEqual:[aFolderLinkRestrictionPolicy tagName]]; + case DBTEAMLOGFolderLinkRestrictionPolicyOther: + return [[self tagName] isEqual:[aFolderLinkRestrictionPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGFolderLinkRestrictionPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGFolderLinkRestrictionPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGFolderLinkRestrictionPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGFolderLinkRestrictionPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGFolderLinkRestrictionPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicy.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGFolderLinkRestrictionPolicy *)dNewValue + previousValue:(DBTEAMLOGFolderLinkRestrictionPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderLinkRestrictionPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToFolderLinkRestrictionPolicyChangedDetails: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)aFolderLinkRestrictionPolicyChangedDetails { + if (self == aFolderLinkRestrictionPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aFolderLinkRestrictionPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aFolderLinkRestrictionPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGFolderLinkRestrictionPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFolderLinkRestrictionPolicy *dNewValue = + [DBTEAMLOGFolderLinkRestrictionPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGFolderLinkRestrictionPolicy *previousValue = + [DBTEAMLOGFolderLinkRestrictionPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderLinkRestrictionPolicyChangedType:other]; +} + +- (BOOL)isEqualToFolderLinkRestrictionPolicyChangedType: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)aFolderLinkRestrictionPolicyChangedType { + if (self == aFolderLinkRestrictionPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aFolderLinkRestrictionPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFolderLinkRestrictionPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFileOrFolderLogInfo.h" +#import "DBTEAMLOGFolderLogInfo.h" +#import "DBTEAMLOGPathLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path + displayName:(NSString *)displayName + fileId:(NSString *)fileId + fileSize:(NSNumber *)fileSize + fileCount:(NSNumber *)fileCount { + [DBStoneValidators nonnullValidator:nil](path); + + self = [super initWithPath:path displayName:displayName fileId:fileId fileSize:fileSize]; + if (self) { + _fileCount = fileCount; + } + return self; +} + +- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { + return [self initWithPath:path displayName:nil fileId:nil fileSize:nil fileCount:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.path hash]; + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.fileId != nil) { + result = prime * result + [self.fileId hash]; + } + if (self.fileSize != nil) { + result = prime * result + [self.fileSize hash]; + } + if (self.fileCount != nil) { + result = prime * result + [self.fileCount hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderLogInfo:other]; +} + +- (BOOL)isEqualToFolderLogInfo:(DBTEAMLOGFolderLogInfo *)aFolderLogInfo { + if (self == aFolderLogInfo) { + return YES; + } + if (![self.path isEqual:aFolderLogInfo.path]) { + return NO; + } + if (self.displayName) { + if (![self.displayName isEqual:aFolderLogInfo.displayName]) { + return NO; + } + } + if (self.fileId) { + if (![self.fileId isEqual:aFolderLogInfo.fileId]) { + return NO; + } + } + if (self.fileSize) { + if (![self.fileSize isEqual:aFolderLogInfo.fileSize]) { + return NO; + } + } + if (self.fileCount) { + if (![self.fileCount isEqual:aFolderLogInfo.fileCount]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.fileId) { + jsonDict[@"file_id"] = valueObj.fileId; + } + if (valueObj.fileSize) { + jsonDict[@"file_size"] = valueObj.fileSize; + } + if (valueObj.fileCount) { + jsonDict[@"file_count"] = valueObj.fileCount; + } + + return jsonDict; +} + ++ (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *fileId = valueDict[@"file_id"] ?: nil; + NSNumber *fileSize = valueDict[@"file_size"] ?: nil; + NSNumber *fileCount = valueDict[@"file_count"] ?: nil; + + return [[DBTEAMLOGFolderLogInfo alloc] initWithPath:path + displayName:displayName + fileId:fileId + fileSize:fileSize + fileCount:fileCount]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewDescriptionChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset { + [DBStoneValidators nonnullValidator:nil](folderOverviewLocationAsset); + + self = [super init]; + if (self) { + _folderOverviewLocationAsset = folderOverviewLocationAsset; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.folderOverviewLocationAsset hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewDescriptionChangedDetails:other]; +} + +- (BOOL)isEqualToFolderOverviewDescriptionChangedDetails: + (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)aFolderOverviewDescriptionChangedDetails { + if (self == aFolderOverviewDescriptionChangedDetails) { + return YES; + } + if (! + [self.folderOverviewLocationAsset isEqual:aFolderOverviewDescriptionChangedDetails.folderOverviewLocationAsset]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewDescriptionChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"folder_overview_location_asset"] = valueObj.folderOverviewLocationAsset; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *folderOverviewLocationAsset = valueDict[@"folder_overview_location_asset"]; + + return [[DBTEAMLOGFolderOverviewDescriptionChangedDetails alloc] + initWithFolderOverviewLocationAsset:folderOverviewLocationAsset]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewDescriptionChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewDescriptionChangedType:other]; +} + +- (BOOL)isEqualToFolderOverviewDescriptionChangedType: + (DBTEAMLOGFolderOverviewDescriptionChangedType *)aFolderOverviewDescriptionChangedType { + if (self == aFolderOverviewDescriptionChangedType) { + return YES; + } + if (![self.description_ isEqual:aFolderOverviewDescriptionChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewDescriptionChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewDescriptionChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFolderOverviewDescriptionChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewItemPinnedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewItemPinnedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset + pinnedItemsAssetIndices:(NSArray *)pinnedItemsAssetIndices { + [DBStoneValidators nonnullValidator:nil](folderOverviewLocationAsset); + [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]]( + pinnedItemsAssetIndices); + + self = [super init]; + if (self) { + _folderOverviewLocationAsset = folderOverviewLocationAsset; + _pinnedItemsAssetIndices = pinnedItemsAssetIndices; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.folderOverviewLocationAsset hash]; + result = prime * result + [self.pinnedItemsAssetIndices hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewItemPinnedDetails:other]; +} + +- (BOOL)isEqualToFolderOverviewItemPinnedDetails: + (DBTEAMLOGFolderOverviewItemPinnedDetails *)aFolderOverviewItemPinnedDetails { + if (self == aFolderOverviewItemPinnedDetails) { + return YES; + } + if (![self.folderOverviewLocationAsset isEqual:aFolderOverviewItemPinnedDetails.folderOverviewLocationAsset]) { + return NO; + } + if (![self.pinnedItemsAssetIndices isEqual:aFolderOverviewItemPinnedDetails.pinnedItemsAssetIndices]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemPinnedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"folder_overview_location_asset"] = valueObj.folderOverviewLocationAsset; + jsonDict[@"pinned_items_asset_indices"] = [DBArraySerializer serialize:valueObj.pinnedItemsAssetIndices + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewItemPinnedDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *folderOverviewLocationAsset = valueDict[@"folder_overview_location_asset"]; + NSArray *pinnedItemsAssetIndices = [DBArraySerializer deserialize:valueDict[@"pinned_items_asset_indices"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return + [[DBTEAMLOGFolderOverviewItemPinnedDetails alloc] initWithFolderOverviewLocationAsset:folderOverviewLocationAsset + pinnedItemsAssetIndices:pinnedItemsAssetIndices]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewItemPinnedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewItemPinnedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewItemPinnedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewItemPinnedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewItemPinnedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewItemPinnedType:other]; +} + +- (BOOL)isEqualToFolderOverviewItemPinnedType:(DBTEAMLOGFolderOverviewItemPinnedType *)aFolderOverviewItemPinnedType { + if (self == aFolderOverviewItemPinnedType) { + return YES; + } + if (![self.description_ isEqual:aFolderOverviewItemPinnedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewItemPinnedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemPinnedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewItemPinnedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFolderOverviewItemPinnedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewItemUnpinnedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset + pinnedItemsAssetIndices:(NSArray *)pinnedItemsAssetIndices { + [DBStoneValidators nonnullValidator:nil](folderOverviewLocationAsset); + [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]]( + pinnedItemsAssetIndices); + + self = [super init]; + if (self) { + _folderOverviewLocationAsset = folderOverviewLocationAsset; + _pinnedItemsAssetIndices = pinnedItemsAssetIndices; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.folderOverviewLocationAsset hash]; + result = prime * result + [self.pinnedItemsAssetIndices hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewItemUnpinnedDetails:other]; +} + +- (BOOL)isEqualToFolderOverviewItemUnpinnedDetails: + (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)aFolderOverviewItemUnpinnedDetails { + if (self == aFolderOverviewItemUnpinnedDetails) { + return YES; + } + if (![self.folderOverviewLocationAsset isEqual:aFolderOverviewItemUnpinnedDetails.folderOverviewLocationAsset]) { + return NO; + } + if (![self.pinnedItemsAssetIndices isEqual:aFolderOverviewItemUnpinnedDetails.pinnedItemsAssetIndices]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemUnpinnedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"folder_overview_location_asset"] = valueObj.folderOverviewLocationAsset; + jsonDict[@"pinned_items_asset_indices"] = [DBArraySerializer serialize:valueObj.pinnedItemsAssetIndices + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *folderOverviewLocationAsset = valueDict[@"folder_overview_location_asset"]; + NSArray *pinnedItemsAssetIndices = [DBArraySerializer deserialize:valueDict[@"pinned_items_asset_indices"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGFolderOverviewItemUnpinnedDetails alloc] + initWithFolderOverviewLocationAsset:folderOverviewLocationAsset + pinnedItemsAssetIndices:pinnedItemsAssetIndices]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGFolderOverviewItemUnpinnedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFolderOverviewItemUnpinnedType:other]; +} + +- (BOOL)isEqualToFolderOverviewItemUnpinnedType: + (DBTEAMLOGFolderOverviewItemUnpinnedType *)aFolderOverviewItemUnpinnedType { + if (self == aFolderOverviewItemUnpinnedType) { + return YES; + } + if (![self.description_ isEqual:aFolderOverviewItemUnpinnedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemUnpinnedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGFolderOverviewItemUnpinnedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGFolderOverviewItemUnpinnedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGeoLocationLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGeoLocationLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithIpAddress:(NSString *)ipAddress + city:(NSString *)city + region:(NSString *)region + country:(NSString *)country { + [DBStoneValidators nonnullValidator:nil](ipAddress); + + self = [super init]; + if (self) { + _city = city; + _region = region; + _country = country; + _ipAddress = ipAddress; + } + return self; +} + +- (instancetype)initWithIpAddress:(NSString *)ipAddress { + return [self initWithIpAddress:ipAddress city:nil region:nil country:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGeoLocationLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGeoLocationLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGeoLocationLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.ipAddress hash]; + if (self.city != nil) { + result = prime * result + [self.city hash]; + } + if (self.region != nil) { + result = prime * result + [self.region hash]; + } + if (self.country != nil) { + result = prime * result + [self.country hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGeoLocationLogInfo:other]; +} + +- (BOOL)isEqualToGeoLocationLogInfo:(DBTEAMLOGGeoLocationLogInfo *)aGeoLocationLogInfo { + if (self == aGeoLocationLogInfo) { + return YES; + } + if (![self.ipAddress isEqual:aGeoLocationLogInfo.ipAddress]) { + return NO; + } + if (self.city) { + if (![self.city isEqual:aGeoLocationLogInfo.city]) { + return NO; + } + } + if (self.region) { + if (![self.region isEqual:aGeoLocationLogInfo.region]) { + return NO; + } + } + if (self.country) { + if (![self.country isEqual:aGeoLocationLogInfo.country]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGeoLocationLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGeoLocationLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"ip_address"] = valueObj.ipAddress; + if (valueObj.city) { + jsonDict[@"city"] = valueObj.city; + } + if (valueObj.region) { + jsonDict[@"region"] = valueObj.region; + } + if (valueObj.country) { + jsonDict[@"country"] = valueObj.country; + } + + return jsonDict; +} + ++ (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *ipAddress = valueDict[@"ip_address"]; + NSString *city = valueDict[@"city"] ?: nil; + NSString *region = valueDict[@"region"] ?: nil; + NSString *country = valueDict[@"country"] ?: nil; + + return [[DBTEAMLOGGeoLocationLogInfo alloc] initWithIpAddress:ipAddress city:city region:region country:country]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMCOMMONTimeRange.h" +#import "DBTEAMLOGEventCategory.h" +#import "DBTEAMLOGEventTypeArg.h" +#import "DBTEAMLOGGetTeamEventsArg.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGetTeamEventsArg + +#pragma mark - Constructors + +- (instancetype)initWithLimit:(NSNumber *)limit + accountId:(NSString *)accountId + time:(DBTEAMCOMMONTimeRange *)time + category:(DBTEAMLOGEventCategory *)category + eventType:(DBTEAMLOGEventTypeArg *)eventType { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + + self = [super init]; + if (self) { + _limit = limit ?: @(1000); + _accountId = accountId; + _time = time; + _category = category; + _eventType = eventType; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithLimit:nil accountId:nil time:nil category:nil eventType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGetTeamEventsArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGetTeamEventsArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGetTeamEventsArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.limit hash]; + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.time != nil) { + result = prime * result + [self.time hash]; + } + if (self.category != nil) { + result = prime * result + [self.category hash]; + } + if (self.eventType != nil) { + result = prime * result + [self.eventType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTeamEventsArg:other]; +} + +- (BOOL)isEqualToGetTeamEventsArg:(DBTEAMLOGGetTeamEventsArg *)aGetTeamEventsArg { + if (self == aGetTeamEventsArg) { + return YES; + } + if (![self.limit isEqual:aGetTeamEventsArg.limit]) { + return NO; + } + if (self.accountId) { + if (![self.accountId isEqual:aGetTeamEventsArg.accountId]) { + return NO; + } + } + if (self.time) { + if (![self.time isEqual:aGetTeamEventsArg.time]) { + return NO; + } + } + if (self.category) { + if (![self.category isEqual:aGetTeamEventsArg.category]) { + return NO; + } + } + if (self.eventType) { + if (![self.eventType isEqual:aGetTeamEventsArg.eventType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGetTeamEventsArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"limit"] = valueObj.limit; + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.time) { + jsonDict[@"time"] = [DBTEAMCOMMONTimeRangeSerializer serialize:valueObj.time]; + } + if (valueObj.category) { + jsonDict[@"category"] = [DBTEAMLOGEventCategorySerializer serialize:valueObj.category]; + } + if (valueObj.eventType) { + jsonDict[@"event_type"] = [DBTEAMLOGEventTypeArgSerializer serialize:valueObj.eventType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)valueDict { + NSNumber *limit = valueDict[@"limit"] ?: @(1000); + NSString *accountId = valueDict[@"account_id"] ?: nil; + DBTEAMCOMMONTimeRange *time = + valueDict[@"time"] ? [DBTEAMCOMMONTimeRangeSerializer deserialize:valueDict[@"time"]] : nil; + DBTEAMLOGEventCategory *category = + valueDict[@"category"] ? [DBTEAMLOGEventCategorySerializer deserialize:valueDict[@"category"]] : nil; + DBTEAMLOGEventTypeArg *eventType = + valueDict[@"event_type"] ? [DBTEAMLOGEventTypeArgSerializer deserialize:valueDict[@"event_type"]] : nil; + + return [[DBTEAMLOGGetTeamEventsArg alloc] initWithLimit:limit + accountId:accountId + time:time + category:category + eventType:eventType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGetTeamEventsContinueArg.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGetTeamEventsContinueArg + +#pragma mark - Constructors + +- (instancetype)initWithCursor:(NSString *)cursor { + [DBStoneValidators nonnullValidator:nil](cursor); + + self = [super init]; + if (self) { + _cursor = cursor; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGetTeamEventsContinueArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGetTeamEventsContinueArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGetTeamEventsContinueArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.cursor hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTeamEventsContinueArg:other]; +} + +- (BOOL)isEqualToGetTeamEventsContinueArg:(DBTEAMLOGGetTeamEventsContinueArg *)aGetTeamEventsContinueArg { + if (self == aGetTeamEventsContinueArg) { + return YES; + } + if (![self.cursor isEqual:aGetTeamEventsContinueArg.cursor]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGetTeamEventsContinueArgSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"cursor"] = valueObj.cursor; + + return jsonDict; +} + ++ (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)valueDict { + NSString *cursor = valueDict[@"cursor"]; + + return [[DBTEAMLOGGetTeamEventsContinueArg alloc] initWithCursor:cursor]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGetTeamEventsContinueError.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGetTeamEventsContinueError + +@synthesize reset = _reset; + +#pragma mark - Constructors + +- (instancetype)initWithBadCursor { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsContinueErrorBadCursor; + } + return self; +} + +- (instancetype)initWithReset:(NSDate *)reset { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsContinueErrorReset; + _reset = reset; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsContinueErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSDate *)reset { + if (![self isReset]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGGetTeamEventsContinueErrorReset, but was %@.", [self tagName]]; + } + return _reset; +} + +#pragma mark - Tag state methods + +- (BOOL)isBadCursor { + return _tag == DBTEAMLOGGetTeamEventsContinueErrorBadCursor; +} + +- (BOOL)isReset { + return _tag == DBTEAMLOGGetTeamEventsContinueErrorReset; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGGetTeamEventsContinueErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: + return @"DBTEAMLOGGetTeamEventsContinueErrorBadCursor"; + case DBTEAMLOGGetTeamEventsContinueErrorReset: + return @"DBTEAMLOGGetTeamEventsContinueErrorReset"; + case DBTEAMLOGGetTeamEventsContinueErrorOther: + return @"DBTEAMLOGGetTeamEventsContinueErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGetTeamEventsContinueErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGetTeamEventsContinueErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGetTeamEventsContinueErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGetTeamEventsContinueErrorReset: + result = prime * result + [self.reset hash]; + break; + case DBTEAMLOGGetTeamEventsContinueErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTeamEventsContinueError:other]; +} + +- (BOOL)isEqualToGetTeamEventsContinueError:(DBTEAMLOGGetTeamEventsContinueError *)aGetTeamEventsContinueError { + if (self == aGetTeamEventsContinueError) { + return YES; + } + if (self.tag != aGetTeamEventsContinueError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: + return [[self tagName] isEqual:[aGetTeamEventsContinueError tagName]]; + case DBTEAMLOGGetTeamEventsContinueErrorReset: + return [self.reset isEqual:aGetTeamEventsContinueError.reset]; + case DBTEAMLOGGetTeamEventsContinueErrorOther: + return [[self tagName] isEqual:[aGetTeamEventsContinueError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGetTeamEventsContinueErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isBadCursor]) { + jsonDict[@".tag"] = @"bad_cursor"; + } else if ([valueObj isReset]) { + jsonDict[@"reset"] = [DBNSDateSerializer serialize:valueObj.reset dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@".tag"] = @"reset"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"bad_cursor"]) { + return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithBadCursor]; + } else if ([tag isEqualToString:@"reset"]) { + NSDate *reset = [DBNSDateSerializer deserialize:valueDict[@"reset"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithReset:reset]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithOther]; + } else { + return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGetTeamEventsError.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGetTeamEventsError + +#pragma mark - Constructors + +- (instancetype)initWithAccountIdNotFound { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsErrorAccountIdNotFound; + } + return self; +} + +- (instancetype)initWithInvalidTimeRange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsErrorInvalidTimeRange; + } + return self; +} + +- (instancetype)initWithInvalidFilters { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsErrorInvalidFilters; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGetTeamEventsErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAccountIdNotFound { + return _tag == DBTEAMLOGGetTeamEventsErrorAccountIdNotFound; +} + +- (BOOL)isInvalidTimeRange { + return _tag == DBTEAMLOGGetTeamEventsErrorInvalidTimeRange; +} + +- (BOOL)isInvalidFilters { + return _tag == DBTEAMLOGGetTeamEventsErrorInvalidFilters; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGGetTeamEventsErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: + return @"DBTEAMLOGGetTeamEventsErrorAccountIdNotFound"; + case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: + return @"DBTEAMLOGGetTeamEventsErrorInvalidTimeRange"; + case DBTEAMLOGGetTeamEventsErrorInvalidFilters: + return @"DBTEAMLOGGetTeamEventsErrorInvalidFilters"; + case DBTEAMLOGGetTeamEventsErrorOther: + return @"DBTEAMLOGGetTeamEventsErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGetTeamEventsErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGetTeamEventsErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGetTeamEventsErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGetTeamEventsErrorInvalidFilters: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGetTeamEventsErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTeamEventsError:other]; +} + +- (BOOL)isEqualToGetTeamEventsError:(DBTEAMLOGGetTeamEventsError *)aGetTeamEventsError { + if (self == aGetTeamEventsError) { + return YES; + } + if (self.tag != aGetTeamEventsError.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: + return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; + case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: + return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; + case DBTEAMLOGGetTeamEventsErrorInvalidFilters: + return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; + case DBTEAMLOGGetTeamEventsErrorOther: + return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGetTeamEventsErrorSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAccountIdNotFound]) { + jsonDict[@".tag"] = @"account_id_not_found"; + } else if ([valueObj isInvalidTimeRange]) { + jsonDict[@".tag"] = @"invalid_time_range"; + } else if ([valueObj isInvalidFilters]) { + jsonDict[@".tag"] = @"invalid_filters"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"account_id_not_found"]) { + return [[DBTEAMLOGGetTeamEventsError alloc] initWithAccountIdNotFound]; + } else if ([tag isEqualToString:@"invalid_time_range"]) { + return [[DBTEAMLOGGetTeamEventsError alloc] initWithInvalidTimeRange]; + } else if ([tag isEqualToString:@"invalid_filters"]) { + return [[DBTEAMLOGGetTeamEventsError alloc] initWithInvalidFilters]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGGetTeamEventsError alloc] initWithOther]; + } else { + return [[DBTEAMLOGGetTeamEventsError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGetTeamEventsResult.h" +#import "DBTEAMLOGTeamEvent.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGetTeamEventsResult + +#pragma mark - Constructors + +- (instancetype)initWithEvents:(NSArray *)events + cursor:(NSString *)cursor + hasMore:(NSNumber *)hasMore { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](events); + [DBStoneValidators nonnullValidator:nil](cursor); + [DBStoneValidators nonnullValidator:nil](hasMore); + + self = [super init]; + if (self) { + _events = events; + _cursor = cursor; + _hasMore = hasMore; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGetTeamEventsResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGetTeamEventsResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGetTeamEventsResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.events hash]; + result = prime * result + [self.cursor hash]; + result = prime * result + [self.hasMore hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGetTeamEventsResult:other]; +} + +- (BOOL)isEqualToGetTeamEventsResult:(DBTEAMLOGGetTeamEventsResult *)aGetTeamEventsResult { + if (self == aGetTeamEventsResult) { + return YES; + } + if (![self.events isEqual:aGetTeamEventsResult.events]) { + return NO; + } + if (![self.cursor isEqual:aGetTeamEventsResult.cursor]) { + return NO; + } + if (![self.hasMore isEqual:aGetTeamEventsResult.hasMore]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGetTeamEventsResultSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"events"] = [DBArraySerializer serialize:valueObj.events + withBlock:^id(id elem0) { + return [DBTEAMLOGTeamEventSerializer serialize:elem0]; + }]; + jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"has_more"] = valueObj.hasMore; + + return jsonDict; +} + ++ (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)valueDict { + NSArray *events = + [DBArraySerializer deserialize:valueDict[@"events"] + withBlock:^id(id elem0) { + return [DBTEAMLOGTeamEventSerializer deserialize:elem0]; + }]; + NSString *cursor = valueDict[@"cursor"]; + NSNumber *hasMore = valueDict[@"has_more"]; + + return [[DBTEAMLOGGetTeamEventsResult alloc] initWithEvents:events cursor:cursor hasMore:hasMore]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGoogleSsoChangePolicyDetails.h" +#import "DBTEAMLOGGoogleSsoPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGoogleSsoChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue + previousValue:(DBTEAMLOGGoogleSsoPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGoogleSsoChangePolicyDetails:other]; +} + +- (BOOL)isEqualToGoogleSsoChangePolicyDetails:(DBTEAMLOGGoogleSsoChangePolicyDetails *)aGoogleSsoChangePolicyDetails { + if (self == aGoogleSsoChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aGoogleSsoChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aGoogleSsoChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGGoogleSsoPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGGoogleSsoPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGGoogleSsoPolicy *dNewValue = [DBTEAMLOGGoogleSsoPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGGoogleSsoPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGGoogleSsoPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGGoogleSsoChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGoogleSsoChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGoogleSsoChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGoogleSsoChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGoogleSsoChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGoogleSsoChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGoogleSsoChangePolicyType:other]; +} + +- (BOOL)isEqualToGoogleSsoChangePolicyType:(DBTEAMLOGGoogleSsoChangePolicyType *)aGoogleSsoChangePolicyType { + if (self == aGoogleSsoChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aGoogleSsoChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGoogleSsoChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGoogleSsoChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGoogleSsoChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGoogleSsoPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGoogleSsoPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGoogleSsoPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGoogleSsoPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGoogleSsoPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGGoogleSsoPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGGoogleSsoPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGGoogleSsoPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGGoogleSsoPolicyDisabled: + return @"DBTEAMLOGGoogleSsoPolicyDisabled"; + case DBTEAMLOGGoogleSsoPolicyEnabled: + return @"DBTEAMLOGGoogleSsoPolicyEnabled"; + case DBTEAMLOGGoogleSsoPolicyOther: + return @"DBTEAMLOGGoogleSsoPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGoogleSsoPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGoogleSsoPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGoogleSsoPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGGoogleSsoPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGoogleSsoPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGoogleSsoPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGoogleSsoPolicy:other]; +} + +- (BOOL)isEqualToGoogleSsoPolicy:(DBTEAMLOGGoogleSsoPolicy *)aGoogleSsoPolicy { + if (self == aGoogleSsoPolicy) { + return YES; + } + if (self.tag != aGoogleSsoPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGGoogleSsoPolicyDisabled: + return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; + case DBTEAMLOGGoogleSsoPolicyEnabled: + return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; + case DBTEAMLOGGoogleSsoPolicyOther: + return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGoogleSsoPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyAddFolderFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + folder:(NSString *)folder + policyType:(DBTEAMLOGPolicyType *)policyType + reason:(NSString *)reason { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](folder); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _folder = folder; + _reason = reason; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + folder:(NSString *)folder { + return [self initWithGovernancePolicyId:governancePolicyId name:name folder:folder policyType:nil reason:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.folder hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + if (self.reason != nil) { + result = prime * result + [self.reason hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyAddFolderFailedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyAddFolderFailedDetails: + (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)aGovernancePolicyAddFolderFailedDetails { + if (self == aGovernancePolicyAddFolderFailedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyAddFolderFailedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyAddFolderFailedDetails.name]) { + return NO; + } + if (![self.folder isEqual:aGovernancePolicyAddFolderFailedDetails.folder]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyAddFolderFailedDetails.policyType]) { + return NO; + } + } + if (self.reason) { + if (![self.reason isEqual:aGovernancePolicyAddFolderFailedDetails.reason]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"folder"] = valueObj.folder; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + if (valueObj.reason) { + jsonDict[@"reason"] = valueObj.reason; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + NSString *folder = valueDict[@"folder"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + NSString *reason = valueDict[@"reason"] ?: nil; + + return [[DBTEAMLOGGovernancePolicyAddFolderFailedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + folder:folder + policyType:policyType + reason:reason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyAddFolderFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyAddFolderFailedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyAddFolderFailedType: + (DBTEAMLOGGovernancePolicyAddFolderFailedType *)aGovernancePolicyAddFolderFailedType { + if (self == aGovernancePolicyAddFolderFailedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyAddFolderFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFolderFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyAddFolderFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyAddFolderFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyAddFoldersDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(DBTEAMLOGPolicyType *)policyType + folders:(NSArray *)folders { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](folders); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _folders = folders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name { + return [self initWithGovernancePolicyId:governancePolicyId name:name policyType:nil folders:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + if (self.folders != nil) { + result = prime * result + [self.folders hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyAddFoldersDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyAddFoldersDetails: + (DBTEAMLOGGovernancePolicyAddFoldersDetails *)aGovernancePolicyAddFoldersDetails { + if (self == aGovernancePolicyAddFoldersDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyAddFoldersDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyAddFoldersDetails.name]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyAddFoldersDetails.policyType]) { + return NO; + } + } + if (self.folders) { + if (![self.folders isEqual:aGovernancePolicyAddFoldersDetails.folders]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFoldersDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + if (valueObj.folders) { + jsonDict[@"folders"] = [DBArraySerializer serialize:valueObj.folders + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyAddFoldersDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + NSArray *folders = valueDict[@"folders"] ? [DBArraySerializer deserialize:valueDict[@"folders"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBTEAMLOGGovernancePolicyAddFoldersDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + policyType:policyType + folders:folders]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyAddFoldersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyAddFoldersType:other]; +} + +- (BOOL)isEqualToGovernancePolicyAddFoldersType: + (DBTEAMLOGGovernancePolicyAddFoldersType *)aGovernancePolicyAddFoldersType { + if (self == aGovernancePolicyAddFoldersType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyAddFoldersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFoldersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyAddFoldersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyAddFoldersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDispositionActionType.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyContentDisposedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + dispositionType:(DBTEAMLOGDispositionActionType *)dispositionType + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](dispositionType); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _dispositionType = dispositionType; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + dispositionType:(DBTEAMLOGDispositionActionType *)dispositionType { + return [self initWithGovernancePolicyId:governancePolicyId name:name dispositionType:dispositionType policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.dispositionType hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyContentDisposedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyContentDisposedDetails: + (DBTEAMLOGGovernancePolicyContentDisposedDetails *)aGovernancePolicyContentDisposedDetails { + if (self == aGovernancePolicyContentDisposedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyContentDisposedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyContentDisposedDetails.name]) { + return NO; + } + if (![self.dispositionType isEqual:aGovernancePolicyContentDisposedDetails.dispositionType]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyContentDisposedDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyContentDisposedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"disposition_type"] = [DBTEAMLOGDispositionActionTypeSerializer serialize:valueObj.dispositionType]; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyContentDisposedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGDispositionActionType *dispositionType = + [DBTEAMLOGDispositionActionTypeSerializer deserialize:valueDict[@"disposition_type"]]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyContentDisposedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + dispositionType:dispositionType + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyContentDisposedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyContentDisposedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyContentDisposedType: + (DBTEAMLOGGovernancePolicyContentDisposedType *)aGovernancePolicyContentDisposedType { + if (self == aGovernancePolicyContentDisposedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyContentDisposedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyContentDisposedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyContentDisposedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyContentDisposedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDurationLogInfo.h" +#import "DBTEAMLOGGovernancePolicyCreateDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + duration:(DBTEAMLOGDurationLogInfo *)duration + policyType:(DBTEAMLOGPolicyType *)policyType + folders:(NSArray *)folders { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](duration); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](folders); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _duration = duration; + _folders = folders; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + duration:(DBTEAMLOGDurationLogInfo *)duration { + return [self initWithGovernancePolicyId:governancePolicyId name:name duration:duration policyType:nil folders:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.duration hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + if (self.folders != nil) { + result = prime * result + [self.folders hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyCreateDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyCreateDetails: + (DBTEAMLOGGovernancePolicyCreateDetails *)aGovernancePolicyCreateDetails { + if (self == aGovernancePolicyCreateDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyCreateDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyCreateDetails.name]) { + return NO; + } + if (![self.duration isEqual:aGovernancePolicyCreateDetails.duration]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyCreateDetails.policyType]) { + return NO; + } + } + if (self.folders) { + if (![self.folders isEqual:aGovernancePolicyCreateDetails.folders]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"duration"] = [DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.duration]; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + if (valueObj.folders) { + jsonDict[@"folders"] = [DBArraySerializer serialize:valueObj.folders + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGDurationLogInfo *duration = [DBTEAMLOGDurationLogInfoSerializer deserialize:valueDict[@"duration"]]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + NSArray *folders = valueDict[@"folders"] ? [DBArraySerializer deserialize:valueDict[@"folders"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBTEAMLOGGovernancePolicyCreateDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + duration:duration + policyType:policyType + folders:folders]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyCreateType:other]; +} + +- (BOOL)isEqualToGovernancePolicyCreateType:(DBTEAMLOGGovernancePolicyCreateType *)aGovernancePolicyCreateType { + if (self == aGovernancePolicyCreateType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyDeleteDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name { + return [self initWithGovernancePolicyId:governancePolicyId name:name policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyDeleteDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyDeleteDetails: + (DBTEAMLOGGovernancePolicyDeleteDetails *)aGovernancePolicyDeleteDetails { + if (self == aGovernancePolicyDeleteDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyDeleteDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyDeleteDetails.name]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyDeleteDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyDeleteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyDeleteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyDeleteDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyDeleteType:other]; +} + +- (BOOL)isEqualToGovernancePolicyDeleteType:(DBTEAMLOGGovernancePolicyDeleteType *)aGovernancePolicyDeleteType { + if (self == aGovernancePolicyDeleteType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyEditDetailsDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + attribute:(NSString *)attribute + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](attribute); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _attribute = attribute; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + attribute:(NSString *)attribute + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue { + return [self initWithGovernancePolicyId:governancePolicyId + name:name + attribute:attribute + previousValue:previousValue + dNewValue:dNewValue + policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.attribute hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyEditDetailsDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyEditDetailsDetails: + (DBTEAMLOGGovernancePolicyEditDetailsDetails *)aGovernancePolicyEditDetailsDetails { + if (self == aGovernancePolicyEditDetailsDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyEditDetailsDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyEditDetailsDetails.name]) { + return NO; + } + if (![self.attribute isEqual:aGovernancePolicyEditDetailsDetails.attribute]) { + return NO; + } + if (![self.previousValue isEqual:aGovernancePolicyEditDetailsDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aGovernancePolicyEditDetailsDetails.dNewValue]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyEditDetailsDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDetailsDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"attribute"] = valueObj.attribute; + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyEditDetailsDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + NSString *attribute = valueDict[@"attribute"]; + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyEditDetailsDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + attribute:attribute + previousValue:previousValue + dNewValue:dNewValue + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyEditDetailsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyEditDetailsType:other]; +} + +- (BOOL)isEqualToGovernancePolicyEditDetailsType: + (DBTEAMLOGGovernancePolicyEditDetailsType *)aGovernancePolicyEditDetailsType { + if (self == aGovernancePolicyEditDetailsType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyEditDetailsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDetailsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyEditDetailsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyEditDetailsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDurationLogInfo.h" +#import "DBTEAMLOGGovernancePolicyEditDurationDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyEditDurationDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + previousValue:(DBTEAMLOGDurationLogInfo *)previousValue + dNewValue:(DBTEAMLOGDurationLogInfo *)dNewValue + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + previousValue:(DBTEAMLOGDurationLogInfo *)previousValue + dNewValue:(DBTEAMLOGDurationLogInfo *)dNewValue { + return [self initWithGovernancePolicyId:governancePolicyId + name:name + previousValue:previousValue + dNewValue:dNewValue + policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyEditDurationDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyEditDurationDetails: + (DBTEAMLOGGovernancePolicyEditDurationDetails *)aGovernancePolicyEditDurationDetails { + if (self == aGovernancePolicyEditDurationDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyEditDurationDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyEditDurationDetails.name]) { + return NO; + } + if (![self.previousValue isEqual:aGovernancePolicyEditDurationDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aGovernancePolicyEditDurationDetails.dNewValue]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyEditDurationDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDurationDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"previous_value"] = [DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.dNewValue]; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyEditDurationDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGDurationLogInfo *previousValue = + [DBTEAMLOGDurationLogInfoSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGDurationLogInfo *dNewValue = [DBTEAMLOGDurationLogInfoSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyEditDurationDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + previousValue:previousValue + dNewValue:dNewValue + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyEditDurationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyEditDurationType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyEditDurationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyEditDurationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyEditDurationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyEditDurationType:other]; +} + +- (BOOL)isEqualToGovernancePolicyEditDurationType: + (DBTEAMLOGGovernancePolicyEditDurationType *)aGovernancePolicyEditDurationType { + if (self == aGovernancePolicyEditDurationType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyEditDurationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyEditDurationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDurationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyEditDurationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyEditDurationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyExportCreatedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _exportName = exportName; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName { + return [self initWithGovernancePolicyId:governancePolicyId name:name exportName:exportName policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyExportCreatedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyExportCreatedDetails: + (DBTEAMLOGGovernancePolicyExportCreatedDetails *)aGovernancePolicyExportCreatedDetails { + if (self == aGovernancePolicyExportCreatedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyExportCreatedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyExportCreatedDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aGovernancePolicyExportCreatedDetails.exportName]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyExportCreatedDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportCreatedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyExportCreatedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyExportCreatedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + exportName:exportName + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyExportCreatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyExportCreatedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyExportCreatedType: + (DBTEAMLOGGovernancePolicyExportCreatedType *)aGovernancePolicyExportCreatedType { + if (self == aGovernancePolicyExportCreatedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyExportCreatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportCreatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyExportCreatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyExportCreatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyExportRemovedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _exportName = exportName; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName { + return [self initWithGovernancePolicyId:governancePolicyId name:name exportName:exportName policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyExportRemovedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyExportRemovedDetails: + (DBTEAMLOGGovernancePolicyExportRemovedDetails *)aGovernancePolicyExportRemovedDetails { + if (self == aGovernancePolicyExportRemovedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyExportRemovedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyExportRemovedDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aGovernancePolicyExportRemovedDetails.exportName]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyExportRemovedDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportRemovedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyExportRemovedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyExportRemovedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + exportName:exportName + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyExportRemovedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyExportRemovedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyExportRemovedType: + (DBTEAMLOGGovernancePolicyExportRemovedType *)aGovernancePolicyExportRemovedType { + if (self == aGovernancePolicyExportRemovedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyExportRemovedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportRemovedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyExportRemovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyExportRemovedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyRemoveFoldersDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(DBTEAMLOGPolicyType *)policyType + folders:(NSArray *)folders + reason:(NSString *)reason { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](folders); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _folders = folders; + _reason = reason; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name { + return [self initWithGovernancePolicyId:governancePolicyId name:name policyType:nil folders:nil reason:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + if (self.folders != nil) { + result = prime * result + [self.folders hash]; + } + if (self.reason != nil) { + result = prime * result + [self.reason hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyRemoveFoldersDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyRemoveFoldersDetails: + (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)aGovernancePolicyRemoveFoldersDetails { + if (self == aGovernancePolicyRemoveFoldersDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyRemoveFoldersDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyRemoveFoldersDetails.name]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyRemoveFoldersDetails.policyType]) { + return NO; + } + } + if (self.folders) { + if (![self.folders isEqual:aGovernancePolicyRemoveFoldersDetails.folders]) { + return NO; + } + } + if (self.reason) { + if (![self.reason isEqual:aGovernancePolicyRemoveFoldersDetails.reason]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + if (valueObj.folders) { + jsonDict[@"folders"] = [DBArraySerializer serialize:valueObj.folders + withBlock:^id(id elem0) { + return elem0; + }]; + } + if (valueObj.reason) { + jsonDict[@"reason"] = valueObj.reason; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + NSArray *folders = valueDict[@"folders"] ? [DBArraySerializer deserialize:valueDict[@"folders"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + NSString *reason = valueDict[@"reason"] ?: nil; + + return [[DBTEAMLOGGovernancePolicyRemoveFoldersDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + policyType:policyType + folders:folders + reason:reason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyRemoveFoldersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyRemoveFoldersType:other]; +} + +- (BOOL)isEqualToGovernancePolicyRemoveFoldersType: + (DBTEAMLOGGovernancePolicyRemoveFoldersType *)aGovernancePolicyRemoveFoldersType { + if (self == aGovernancePolicyRemoveFoldersType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyRemoveFoldersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyRemoveFoldersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyRemoveFoldersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyRemoveFoldersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyReportCreatedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(DBTEAMLOGPolicyType *)policyType { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name { + return [self initWithGovernancePolicyId:governancePolicyId name:name policyType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyReportCreatedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyReportCreatedDetails: + (DBTEAMLOGGovernancePolicyReportCreatedDetails *)aGovernancePolicyReportCreatedDetails { + if (self == aGovernancePolicyReportCreatedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyReportCreatedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyReportCreatedDetails.name]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyReportCreatedDetails.policyType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyReportCreatedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyReportCreatedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + + return [[DBTEAMLOGGovernancePolicyReportCreatedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + policyType:policyType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyReportCreatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyReportCreatedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyReportCreatedType: + (DBTEAMLOGGovernancePolicyReportCreatedType *)aGovernancePolicyReportCreatedType { + if (self == aGovernancePolicyReportCreatedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyReportCreatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyReportCreatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyReportCreatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyReportCreatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyZipPartDownloadedDetails + +#pragma mark - Constructors + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(DBTEAMLOGPolicyType *)policyType + part:(NSString *)part { + [DBStoneValidators nonnullValidator:nil](governancePolicyId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _governancePolicyId = governancePolicyId; + _name = name; + _policyType = policyType; + _exportName = exportName; + _part = part; + } + return self; +} + +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName { + return [self initWithGovernancePolicyId:governancePolicyId name:name exportName:exportName policyType:nil part:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.governancePolicyId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + if (self.policyType != nil) { + result = prime * result + [self.policyType hash]; + } + if (self.part != nil) { + result = prime * result + [self.part hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyZipPartDownloadedDetails:other]; +} + +- (BOOL)isEqualToGovernancePolicyZipPartDownloadedDetails: + (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)aGovernancePolicyZipPartDownloadedDetails { + if (self == aGovernancePolicyZipPartDownloadedDetails) { + return YES; + } + if (![self.governancePolicyId isEqual:aGovernancePolicyZipPartDownloadedDetails.governancePolicyId]) { + return NO; + } + if (![self.name isEqual:aGovernancePolicyZipPartDownloadedDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aGovernancePolicyZipPartDownloadedDetails.exportName]) { + return NO; + } + if (self.policyType) { + if (![self.policyType isEqual:aGovernancePolicyZipPartDownloadedDetails.policyType]) { + return NO; + } + } + if (self.part) { + if (![self.part isEqual:aGovernancePolicyZipPartDownloadedDetails.part]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"governance_policy_id"] = valueObj.governancePolicyId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + if (valueObj.policyType) { + jsonDict[@"policy_type"] = [DBTEAMLOGPolicyTypeSerializer serialize:valueObj.policyType]; + } + if (valueObj.part) { + jsonDict[@"part"] = valueObj.part; + } + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *governancePolicyId = valueDict[@"governance_policy_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + DBTEAMLOGPolicyType *policyType = + valueDict[@"policy_type"] ? [DBTEAMLOGPolicyTypeSerializer deserialize:valueDict[@"policy_type"]] : nil; + NSString *part = valueDict[@"part"] ?: nil; + + return [[DBTEAMLOGGovernancePolicyZipPartDownloadedDetails alloc] initWithGovernancePolicyId:governancePolicyId + name:name + exportName:exportName + policyType:policyType + part:part]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGovernancePolicyZipPartDownloadedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGovernancePolicyZipPartDownloadedType:other]; +} + +- (BOOL)isEqualToGovernancePolicyZipPartDownloadedType: + (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)aGovernancePolicyZipPartDownloadedType { + if (self == aGovernancePolicyZipPartDownloadedType) { + return YES; + } + if (![self.description_ isEqual:aGovernancePolicyZipPartDownloadedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyZipPartDownloadedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGovernancePolicyZipPartDownloadedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupAddExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupAddExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupAddExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupAddExternalIdDetails:other]; +} + +- (BOOL)isEqualToGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)aGroupAddExternalIdDetails { + if (self == aGroupAddExternalIdDetails) { + return YES; + } + if (![self.dNewValue isEqual:aGroupAddExternalIdDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupAddExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGGroupAddExternalIdDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupAddExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupAddExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupAddExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupAddExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupAddExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupAddExternalIdType:other]; +} + +- (BOOL)isEqualToGroupAddExternalIdType:(DBTEAMLOGGroupAddExternalIdType *)aGroupAddExternalIdType { + if (self == aGroupAddExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aGroupAddExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupAddExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupAddExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupAddExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupAddMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupAddMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner { + [DBStoneValidators nonnullValidator:nil](isGroupOwner); + + self = [super init]; + if (self) { + _isGroupOwner = isGroupOwner; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupAddMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupAddMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupAddMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isGroupOwner hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupAddMemberDetails:other]; +} + +- (BOOL)isEqualToGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)aGroupAddMemberDetails { + if (self == aGroupAddMemberDetails) { + return YES; + } + if (![self.isGroupOwner isEqual:aGroupAddMemberDetails.isGroupOwner]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupAddMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; + + return jsonDict; +} + ++ (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isGroupOwner = valueDict[@"is_group_owner"]; + + return [[DBTEAMLOGGroupAddMemberDetails alloc] initWithIsGroupOwner:isGroupOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupAddMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupAddMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupAddMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupAddMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupAddMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupAddMemberType:other]; +} + +- (BOOL)isEqualToGroupAddMemberType:(DBTEAMLOGGroupAddMemberType *)aGroupAddMemberType { + if (self == aGroupAddMemberType) { + return YES; + } + if (![self.description_ isEqual:aGroupAddMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupAddMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupAddMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupAddMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupChangeExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeExternalIdDetails:other]; +} + +- (BOOL)isEqualToGroupChangeExternalIdDetails:(DBTEAMLOGGroupChangeExternalIdDetails *)aGroupChangeExternalIdDetails { + if (self == aGroupChangeExternalIdDetails) { + return YES; + } + if (![self.dNewValue isEqual:aGroupChangeExternalIdDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aGroupChangeExternalIdDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"previous_value"] = valueObj.previousValue; + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + NSString *previousValue = valueDict[@"previous_value"]; + + return [[DBTEAMLOGGroupChangeExternalIdDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupChangeExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeExternalIdType:other]; +} + +- (BOOL)isEqualToGroupChangeExternalIdType:(DBTEAMLOGGroupChangeExternalIdType *)aGroupChangeExternalIdType { + if (self == aGroupChangeExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aGroupChangeExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupChangeExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMCOMMONGroupManagementType.h" +#import "DBTEAMLOGGroupChangeManagementTypeDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeManagementTypeDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue + previousValue:(DBTEAMCOMMONGroupManagementType *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeManagementTypeDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeManagementTypeDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeManagementTypeDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeManagementTypeDetails:other]; +} + +- (BOOL)isEqualToGroupChangeManagementTypeDetails: + (DBTEAMLOGGroupChangeManagementTypeDetails *)aGroupChangeManagementTypeDetails { + if (self == aGroupChangeManagementTypeDetails) { + return YES; + } + if (![self.dNewValue isEqual:aGroupChangeManagementTypeDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aGroupChangeManagementTypeDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeManagementTypeDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMCOMMONGroupManagementType *dNewValue = + [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMCOMMONGroupManagementType *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGGroupChangeManagementTypeDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupChangeManagementTypeType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeManagementTypeType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeManagementTypeTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeManagementTypeTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeManagementTypeTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeManagementTypeType:other]; +} + +- (BOOL)isEqualToGroupChangeManagementTypeType: + (DBTEAMLOGGroupChangeManagementTypeType *)aGroupChangeManagementTypeType { + if (self == aGroupChangeManagementTypeType) { + return YES; + } + if (![self.description_ isEqual:aGroupChangeManagementTypeType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeManagementTypeTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeManagementTypeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupChangeManagementTypeType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupChangeMemberRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeMemberRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner { + [DBStoneValidators nonnullValidator:nil](isGroupOwner); + + self = [super init]; + if (self) { + _isGroupOwner = isGroupOwner; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeMemberRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isGroupOwner hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeMemberRoleDetails:other]; +} + +- (BOOL)isEqualToGroupChangeMemberRoleDetails:(DBTEAMLOGGroupChangeMemberRoleDetails *)aGroupChangeMemberRoleDetails { + if (self == aGroupChangeMemberRoleDetails) { + return YES; + } + if (![self.isGroupOwner isEqual:aGroupChangeMemberRoleDetails.isGroupOwner]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeMemberRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isGroupOwner = valueDict[@"is_group_owner"]; + + return [[DBTEAMLOGGroupChangeMemberRoleDetails alloc] initWithIsGroupOwner:isGroupOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupChangeMemberRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupChangeMemberRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupChangeMemberRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupChangeMemberRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupChangeMemberRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupChangeMemberRoleType:other]; +} + +- (BOOL)isEqualToGroupChangeMemberRoleType:(DBTEAMLOGGroupChangeMemberRoleType *)aGroupChangeMemberRoleType { + if (self == aGroupChangeMemberRoleType) { + return YES; + } + if (![self.description_ isEqual:aGroupChangeMemberRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupChangeMemberRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupChangeMemberRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupCreateDetails.h" +#import "DBTEAMLOGGroupJoinPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsCompanyManaged:(NSNumber *)isCompanyManaged + joinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy { + + self = [super init]; + if (self) { + _isCompanyManaged = isCompanyManaged; + _joinPolicy = joinPolicy; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithIsCompanyManaged:nil joinPolicy:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.isCompanyManaged != nil) { + result = prime * result + [self.isCompanyManaged hash]; + } + if (self.joinPolicy != nil) { + result = prime * result + [self.joinPolicy hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupCreateDetails:other]; +} + +- (BOOL)isEqualToGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)aGroupCreateDetails { + if (self == aGroupCreateDetails) { + return YES; + } + if (self.isCompanyManaged) { + if (![self.isCompanyManaged isEqual:aGroupCreateDetails.isCompanyManaged]) { + return NO; + } + } + if (self.joinPolicy) { + if (![self.joinPolicy isEqual:aGroupCreateDetails.joinPolicy]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.isCompanyManaged) { + jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; + } + if (valueObj.joinPolicy) { + jsonDict[@"join_policy"] = [DBTEAMLOGGroupJoinPolicySerializer serialize:valueObj.joinPolicy]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isCompanyManaged = valueDict[@"is_company_managed"] ?: nil; + DBTEAMLOGGroupJoinPolicy *joinPolicy = + valueDict[@"join_policy"] ? [DBTEAMLOGGroupJoinPolicySerializer deserialize:valueDict[@"join_policy"]] : nil; + + return [[DBTEAMLOGGroupCreateDetails alloc] initWithIsCompanyManaged:isCompanyManaged joinPolicy:joinPolicy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupCreateType:other]; +} + +- (BOOL)isEqualToGroupCreateType:(DBTEAMLOGGroupCreateType *)aGroupCreateType { + if (self == aGroupCreateType) { + return YES; + } + if (![self.description_ isEqual:aGroupCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsCompanyManaged:(NSNumber *)isCompanyManaged { + + self = [super init]; + if (self) { + _isCompanyManaged = isCompanyManaged; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithIsCompanyManaged:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.isCompanyManaged != nil) { + result = prime * result + [self.isCompanyManaged hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupDeleteDetails:other]; +} + +- (BOOL)isEqualToGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)aGroupDeleteDetails { + if (self == aGroupDeleteDetails) { + return YES; + } + if (self.isCompanyManaged) { + if (![self.isCompanyManaged isEqual:aGroupDeleteDetails.isCompanyManaged]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupDeleteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.isCompanyManaged) { + jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isCompanyManaged = valueDict[@"is_company_managed"] ?: nil; + + return [[DBTEAMLOGGroupDeleteDetails alloc] initWithIsCompanyManaged:isCompanyManaged]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupDeleteType:other]; +} + +- (BOOL)isEqualToGroupDeleteType:(DBTEAMLOGGroupDeleteType *)aGroupDeleteType { + if (self == aGroupDeleteType) { + return YES; + } + if (![self.description_ isEqual:aGroupDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupDescriptionUpdatedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupDescriptionUpdatedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupDescriptionUpdatedDetails:other]; +} + +- (BOOL)isEqualToGroupDescriptionUpdatedDetails: + (DBTEAMLOGGroupDescriptionUpdatedDetails *)aGroupDescriptionUpdatedDetails { + if (self == aGroupDescriptionUpdatedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupDescriptionUpdatedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGGroupDescriptionUpdatedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGGroupDescriptionUpdatedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupDescriptionUpdatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupDescriptionUpdatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupDescriptionUpdatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupDescriptionUpdatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupDescriptionUpdatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupDescriptionUpdatedType:other]; +} + +- (BOOL)isEqualToGroupDescriptionUpdatedType:(DBTEAMLOGGroupDescriptionUpdatedType *)aGroupDescriptionUpdatedType { + if (self == aGroupDescriptionUpdatedType) { + return YES; + } + if (![self.description_ isEqual:aGroupDescriptionUpdatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupDescriptionUpdatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupDescriptionUpdatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupDescriptionUpdatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupDescriptionUpdatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupJoinPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupJoinPolicy + +#pragma mark - Constructors + +- (instancetype)initWithOpen { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGroupJoinPolicyOpen; + } + return self; +} + +- (instancetype)initWithRequestToJoin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGroupJoinPolicyRequestToJoin; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGGroupJoinPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isOpen { + return _tag == DBTEAMLOGGroupJoinPolicyOpen; +} + +- (BOOL)isRequestToJoin { + return _tag == DBTEAMLOGGroupJoinPolicyRequestToJoin; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGGroupJoinPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGGroupJoinPolicyOpen: + return @"DBTEAMLOGGroupJoinPolicyOpen"; + case DBTEAMLOGGroupJoinPolicyRequestToJoin: + return @"DBTEAMLOGGroupJoinPolicyRequestToJoin"; + case DBTEAMLOGGroupJoinPolicyOther: + return @"DBTEAMLOGGroupJoinPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupJoinPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupJoinPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupJoinPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGGroupJoinPolicyOpen: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGroupJoinPolicyRequestToJoin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGGroupJoinPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupJoinPolicy:other]; +} + +- (BOOL)isEqualToGroupJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)aGroupJoinPolicy { + if (self == aGroupJoinPolicy) { + return YES; + } + if (self.tag != aGroupJoinPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGGroupJoinPolicyOpen: + return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; + case DBTEAMLOGGroupJoinPolicyRequestToJoin: + return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; + case DBTEAMLOGGroupJoinPolicyOther: + return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupJoinPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isOpen]) { + jsonDict[@".tag"] = @"open"; + } else if ([valueObj isRequestToJoin]) { + jsonDict[@".tag"] = @"request_to_join"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"open"]) { + return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOpen]; + } else if ([tag isEqualToString:@"request_to_join"]) { + return [[DBTEAMLOGGroupJoinPolicy alloc] initWithRequestToJoin]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupJoinPolicy.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupJoinPolicyUpdatedDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsCompanyManaged:(NSNumber *)isCompanyManaged + joinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy { + + self = [super init]; + if (self) { + _isCompanyManaged = isCompanyManaged; + _joinPolicy = joinPolicy; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithIsCompanyManaged:nil joinPolicy:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.isCompanyManaged != nil) { + result = prime * result + [self.isCompanyManaged hash]; + } + if (self.joinPolicy != nil) { + result = prime * result + [self.joinPolicy hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupJoinPolicyUpdatedDetails:other]; +} + +- (BOOL)isEqualToGroupJoinPolicyUpdatedDetails: + (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)aGroupJoinPolicyUpdatedDetails { + if (self == aGroupJoinPolicyUpdatedDetails) { + return YES; + } + if (self.isCompanyManaged) { + if (![self.isCompanyManaged isEqual:aGroupJoinPolicyUpdatedDetails.isCompanyManaged]) { + return NO; + } + } + if (self.joinPolicy) { + if (![self.joinPolicy isEqual:aGroupJoinPolicyUpdatedDetails.joinPolicy]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicyUpdatedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.isCompanyManaged) { + jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; + } + if (valueObj.joinPolicy) { + jsonDict[@"join_policy"] = [DBTEAMLOGGroupJoinPolicySerializer serialize:valueObj.joinPolicy]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isCompanyManaged = valueDict[@"is_company_managed"] ?: nil; + DBTEAMLOGGroupJoinPolicy *joinPolicy = + valueDict[@"join_policy"] ? [DBTEAMLOGGroupJoinPolicySerializer deserialize:valueDict[@"join_policy"]] : nil; + + return + [[DBTEAMLOGGroupJoinPolicyUpdatedDetails alloc] initWithIsCompanyManaged:isCompanyManaged joinPolicy:joinPolicy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupJoinPolicyUpdatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupJoinPolicyUpdatedType:other]; +} + +- (BOOL)isEqualToGroupJoinPolicyUpdatedType:(DBTEAMLOGGroupJoinPolicyUpdatedType *)aGroupJoinPolicyUpdatedType { + if (self == aGroupJoinPolicyUpdatedType) { + return YES; + } + if (![self.description_ isEqual:aGroupJoinPolicyUpdatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicyUpdatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupJoinPolicyUpdatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupJoinPolicyUpdatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithDisplayName:(NSString *)displayName + groupId:(NSString *)groupId + externalId:(NSString *)externalId { + [DBStoneValidators nonnullValidator:nil](displayName); + + self = [super init]; + if (self) { + _groupId = groupId; + _displayName = displayName; + _externalId = externalId; + } + return self; +} + +- (instancetype)initWithDisplayName:(NSString *)displayName { + return [self initWithDisplayName:displayName groupId:nil externalId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.displayName hash]; + if (self.groupId != nil) { + result = prime * result + [self.groupId hash]; + } + if (self.externalId != nil) { + result = prime * result + [self.externalId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupLogInfo:other]; +} + +- (BOOL)isEqualToGroupLogInfo:(DBTEAMLOGGroupLogInfo *)aGroupLogInfo { + if (self == aGroupLogInfo) { + return YES; + } + if (![self.displayName isEqual:aGroupLogInfo.displayName]) { + return NO; + } + if (self.groupId) { + if (![self.groupId isEqual:aGroupLogInfo.groupId]) { + return NO; + } + } + if (self.externalId) { + if (![self.externalId isEqual:aGroupLogInfo.externalId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"display_name"] = valueObj.displayName; + if (valueObj.groupId) { + jsonDict[@"group_id"] = valueObj.groupId; + } + if (valueObj.externalId) { + jsonDict[@"external_id"] = valueObj.externalId; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *displayName = valueDict[@"display_name"]; + NSString *groupId = valueDict[@"group_id"] ?: nil; + NSString *externalId = valueDict[@"external_id"] ?: nil; + + return [[DBTEAMLOGGroupLogInfo alloc] initWithDisplayName:displayName groupId:groupId externalId:externalId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupMovedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupMovedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupMovedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupMovedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupMovedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupMovedDetails:other]; +} + +- (BOOL)isEqualToGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)aGroupMovedDetails { + if (self == aGroupMovedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupMovedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupMovedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGGroupMovedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupMovedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupMovedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupMovedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupMovedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupMovedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupMovedType:other]; +} + +- (BOOL)isEqualToGroupMovedType:(DBTEAMLOGGroupMovedType *)aGroupMovedType { + if (self == aGroupMovedType) { + return YES; + } + if (![self.description_ isEqual:aGroupMovedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupMovedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupMovedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupMovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupMovedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRemoveExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRemoveExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRemoveExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRemoveExternalIdDetails:other]; +} + +- (BOOL)isEqualToGroupRemoveExternalIdDetails:(DBTEAMLOGGroupRemoveExternalIdDetails *)aGroupRemoveExternalIdDetails { + if (self == aGroupRemoveExternalIdDetails) { + return YES; + } + if (![self.previousValue isEqual:aGroupRemoveExternalIdDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRemoveExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = valueObj.previousValue; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; + + return [[DBTEAMLOGGroupRemoveExternalIdDetails alloc] initWithPreviousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRemoveExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRemoveExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRemoveExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRemoveExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRemoveExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRemoveExternalIdType:other]; +} + +- (BOOL)isEqualToGroupRemoveExternalIdType:(DBTEAMLOGGroupRemoveExternalIdType *)aGroupRemoveExternalIdType { + if (self == aGroupRemoveExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aGroupRemoveExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRemoveExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRemoveExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupRemoveExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRemoveMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRemoveMemberDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRemoveMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRemoveMemberDetails:other]; +} + +- (BOOL)isEqualToGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)aGroupRemoveMemberDetails { + if (self == aGroupRemoveMemberDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRemoveMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGGroupRemoveMemberDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRemoveMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRemoveMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRemoveMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRemoveMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRemoveMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRemoveMemberType:other]; +} + +- (BOOL)isEqualToGroupRemoveMemberType:(DBTEAMLOGGroupRemoveMemberType *)aGroupRemoveMemberType { + if (self == aGroupRemoveMemberType) { + return YES; + } + if (![self.description_ isEqual:aGroupRemoveMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRemoveMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRemoveMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupRemoveMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRenameDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRenameDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRenameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRenameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRenameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRenameDetails:other]; +} + +- (BOOL)isEqualToGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)aGroupRenameDetails { + if (self == aGroupRenameDetails) { + return YES; + } + if (![self.previousValue isEqual:aGroupRenameDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aGroupRenameDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRenameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRenameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGGroupRenameDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupRenameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupRenameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupRenameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupRenameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupRenameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupRenameType:other]; +} + +- (BOOL)isEqualToGroupRenameType:(DBTEAMLOGGroupRenameType *)aGroupRenameType { + if (self == aGroupRenameType) { + return YES; + } + if (![self.description_ isEqual:aGroupRenameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupRenameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupRenameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupRenameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupRenameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupUserManagementChangePolicyDetails.h" +#import "DBTEAMPOLICIESGroupCreation.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupUserManagementChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue + previousValue:(DBTEAMPOLICIESGroupCreation *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupUserManagementChangePolicyDetails:other]; +} + +- (BOOL)isEqualToGroupUserManagementChangePolicyDetails: + (DBTEAMLOGGroupUserManagementChangePolicyDetails *)aGroupUserManagementChangePolicyDetails { + if (self == aGroupUserManagementChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aGroupUserManagementChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aGroupUserManagementChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESGroupCreation *dNewValue = [DBTEAMPOLICIESGroupCreationSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESGroupCreation *previousValue = + valueDict[@"previous_value"] ? [DBTEAMPOLICIESGroupCreationSerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return + [[DBTEAMLOGGroupUserManagementChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupUserManagementChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGroupUserManagementChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGroupUserManagementChangePolicyType:other]; +} + +- (BOOL)isEqualToGroupUserManagementChangePolicyType: + (DBTEAMLOGGroupUserManagementChangePolicyType *)aGroupUserManagementChangePolicyType { + if (self == aGroupUserManagementChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aGroupUserManagementChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGroupUserManagementChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGroupUserManagementChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminChangeStatusDetails.h" +#import "DBTEAMLOGTrustedTeamsRequestAction.h" +#import "DBTEAMLOGTrustedTeamsRequestState.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminChangeStatusDetails + +#pragma mark - Constructors + +- (instancetype)initWithIsGuest:(NSNumber *)isGuest + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue + actionDetails:(DBTEAMLOGTrustedTeamsRequestAction *)actionDetails + guestTeamName:(NSString *)guestTeamName + hostTeamName:(NSString *)hostTeamName { + [DBStoneValidators nonnullValidator:nil](isGuest); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](actionDetails); + + self = [super init]; + if (self) { + _isGuest = isGuest; + _guestTeamName = guestTeamName; + _hostTeamName = hostTeamName; + _previousValue = previousValue; + _dNewValue = dNewValue; + _actionDetails = actionDetails; + } + return self; +} + +- (instancetype)initWithIsGuest:(NSNumber *)isGuest + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue + actionDetails:(DBTEAMLOGTrustedTeamsRequestAction *)actionDetails { + return [self initWithIsGuest:isGuest + previousValue:previousValue + dNewValue:dNewValue + actionDetails:actionDetails + guestTeamName:nil + hostTeamName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminChangeStatusDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminChangeStatusDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminChangeStatusDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.isGuest hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.actionDetails hash]; + if (self.guestTeamName != nil) { + result = prime * result + [self.guestTeamName hash]; + } + if (self.hostTeamName != nil) { + result = prime * result + [self.hostTeamName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminChangeStatusDetails:other]; +} + +- (BOOL)isEqualToGuestAdminChangeStatusDetails: + (DBTEAMLOGGuestAdminChangeStatusDetails *)aGuestAdminChangeStatusDetails { + if (self == aGuestAdminChangeStatusDetails) { + return YES; + } + if (![self.isGuest isEqual:aGuestAdminChangeStatusDetails.isGuest]) { + return NO; + } + if (![self.previousValue isEqual:aGuestAdminChangeStatusDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aGuestAdminChangeStatusDetails.dNewValue]) { + return NO; + } + if (![self.actionDetails isEqual:aGuestAdminChangeStatusDetails.actionDetails]) { + return NO; + } + if (self.guestTeamName) { + if (![self.guestTeamName isEqual:aGuestAdminChangeStatusDetails.guestTeamName]) { + return NO; + } + } + if (self.hostTeamName) { + if (![self.hostTeamName isEqual:aGuestAdminChangeStatusDetails.hostTeamName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminChangeStatusDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminChangeStatusDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"is_guest"] = valueObj.isGuest; + jsonDict[@"previous_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:valueObj.dNewValue]; + jsonDict[@"action_details"] = [DBTEAMLOGTrustedTeamsRequestActionSerializer serialize:valueObj.actionDetails]; + if (valueObj.guestTeamName) { + jsonDict[@"guest_team_name"] = valueObj.guestTeamName; + } + if (valueObj.hostTeamName) { + jsonDict[@"host_team_name"] = valueObj.hostTeamName; + } + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *isGuest = valueDict[@"is_guest"]; + DBTEAMLOGTrustedTeamsRequestState *previousValue = + [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGTrustedTeamsRequestState *dNewValue = + [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTrustedTeamsRequestAction *actionDetails = + [DBTEAMLOGTrustedTeamsRequestActionSerializer deserialize:valueDict[@"action_details"]]; + NSString *guestTeamName = valueDict[@"guest_team_name"] ?: nil; + NSString *hostTeamName = valueDict[@"host_team_name"] ?: nil; + + return [[DBTEAMLOGGuestAdminChangeStatusDetails alloc] initWithIsGuest:isGuest + previousValue:previousValue + dNewValue:dNewValue + actionDetails:actionDetails + guestTeamName:guestTeamName + hostTeamName:hostTeamName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminChangeStatusType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminChangeStatusType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminChangeStatusTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminChangeStatusTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminChangeStatusTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminChangeStatusType:other]; +} + +- (BOOL)isEqualToGuestAdminChangeStatusType:(DBTEAMLOGGuestAdminChangeStatusType *)aGuestAdminChangeStatusType { + if (self == aGuestAdminChangeStatusType) { + return YES; + } + if (![self.description_ isEqual:aGuestAdminChangeStatusType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminChangeStatusTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminChangeStatusType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminChangeStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGuestAdminChangeStatusType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails + +#pragma mark - Constructors + +- (instancetype)initWithTeamName:(NSString *)teamName trustedTeamName:(NSString *)trustedTeamName { + + self = [super init]; + if (self) { + _teamName = teamName; + _trustedTeamName = trustedTeamName; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithTeamName:nil trustedTeamName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.teamName != nil) { + result = prime * result + [self.teamName hash]; + } + if (self.trustedTeamName != nil) { + result = prime * result + [self.trustedTeamName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminSignedInViaTrustedTeamsDetails:other]; +} + +- (BOOL)isEqualToGuestAdminSignedInViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)aGuestAdminSignedInViaTrustedTeamsDetails { + if (self == aGuestAdminSignedInViaTrustedTeamsDetails) { + return YES; + } + if (self.teamName) { + if (![self.teamName isEqual:aGuestAdminSignedInViaTrustedTeamsDetails.teamName]) { + return NO; + } + } + if (self.trustedTeamName) { + if (![self.trustedTeamName isEqual:aGuestAdminSignedInViaTrustedTeamsDetails.trustedTeamName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.teamName) { + jsonDict[@"team_name"] = valueObj.teamName; + } + if (valueObj.trustedTeamName) { + jsonDict[@"trusted_team_name"] = valueObj.trustedTeamName; + } + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)deserialize:(NSDictionary *)valueDict { + NSString *teamName = valueDict[@"team_name"] ?: nil; + NSString *trustedTeamName = valueDict[@"trusted_team_name"] ?: nil; + + return [[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails alloc] initWithTeamName:teamName + trustedTeamName:trustedTeamName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminSignedInViaTrustedTeamsType:other]; +} + +- (BOOL)isEqualToGuestAdminSignedInViaTrustedTeamsType: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)aGuestAdminSignedInViaTrustedTeamsType { + if (self == aGuestAdminSignedInViaTrustedTeamsType) { + return YES; + } + if (![self.description_ isEqual:aGuestAdminSignedInViaTrustedTeamsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails + +#pragma mark - Constructors + +- (instancetype)initWithTeamName:(NSString *)teamName trustedTeamName:(NSString *)trustedTeamName { + + self = [super init]; + if (self) { + _teamName = teamName; + _trustedTeamName = trustedTeamName; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithTeamName:nil trustedTeamName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.teamName != nil) { + result = prime * result + [self.teamName hash]; + } + if (self.trustedTeamName != nil) { + result = prime * result + [self.trustedTeamName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminSignedOutViaTrustedTeamsDetails:other]; +} + +- (BOOL)isEqualToGuestAdminSignedOutViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)aGuestAdminSignedOutViaTrustedTeamsDetails { + if (self == aGuestAdminSignedOutViaTrustedTeamsDetails) { + return YES; + } + if (self.teamName) { + if (![self.teamName isEqual:aGuestAdminSignedOutViaTrustedTeamsDetails.teamName]) { + return NO; + } + } + if (self.trustedTeamName) { + if (![self.trustedTeamName isEqual:aGuestAdminSignedOutViaTrustedTeamsDetails.trustedTeamName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.teamName) { + jsonDict[@"team_name"] = valueObj.teamName; + } + if (valueObj.trustedTeamName) { + jsonDict[@"trusted_team_name"] = valueObj.trustedTeamName; + } + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)deserialize:(NSDictionary *)valueDict { + NSString *teamName = valueDict[@"team_name"] ?: nil; + NSString *trustedTeamName = valueDict[@"trusted_team_name"] ?: nil; + + return [[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails alloc] initWithTeamName:teamName + trustedTeamName:trustedTeamName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToGuestAdminSignedOutViaTrustedTeamsType:other]; +} + +- (BOOL)isEqualToGuestAdminSignedOutViaTrustedTeamsType: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)aGuestAdminSignedOutViaTrustedTeamsType { + if (self == aGuestAdminSignedOutViaTrustedTeamsType) { + return YES; + } + if (![self.description_ isEqual:aGuestAdminSignedOutViaTrustedTeamsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIdentifierType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIdentifierType + +#pragma mark - Constructors + +- (instancetype)initWithEmail { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIdentifierTypeEmail; + } + return self; +} + +- (instancetype)initWithFacebookProfileName { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIdentifierTypeFacebookProfileName; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIdentifierTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isEmail { + return _tag == DBTEAMLOGIdentifierTypeEmail; +} + +- (BOOL)isFacebookProfileName { + return _tag == DBTEAMLOGIdentifierTypeFacebookProfileName; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGIdentifierTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGIdentifierTypeEmail: + return @"DBTEAMLOGIdentifierTypeEmail"; + case DBTEAMLOGIdentifierTypeFacebookProfileName: + return @"DBTEAMLOGIdentifierTypeFacebookProfileName"; + case DBTEAMLOGIdentifierTypeOther: + return @"DBTEAMLOGIdentifierTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIdentifierTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIdentifierTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIdentifierTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGIdentifierTypeEmail: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGIdentifierTypeFacebookProfileName: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGIdentifierTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIdentifierType:other]; +} + +- (BOOL)isEqualToIdentifierType:(DBTEAMLOGIdentifierType *)anIdentifierType { + if (self == anIdentifierType) { + return YES; + } + if (self.tag != anIdentifierType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGIdentifierTypeEmail: + return [[self tagName] isEqual:[anIdentifierType tagName]]; + case DBTEAMLOGIdentifierTypeFacebookProfileName: + return [[self tagName] isEqual:[anIdentifierType tagName]]; + case DBTEAMLOGIdentifierTypeOther: + return [[self tagName] isEqual:[anIdentifierType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIdentifierTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIdentifierType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEmail]) { + jsonDict[@".tag"] = @"email"; + } else if ([valueObj isFacebookProfileName]) { + jsonDict[@".tag"] = @"facebook_profile_name"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGIdentifierType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"email"]) { + return [[DBTEAMLOGIdentifierType alloc] initWithEmail]; + } else if ([tag isEqualToString:@"facebook_profile_name"]) { + return [[DBTEAMLOGIdentifierType alloc] initWithFacebookProfileName]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGIdentifierType alloc] initWithOther]; + } else { + return [[DBTEAMLOGIdentifierType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationConnectedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationConnectedDetails + +#pragma mark - Constructors + +- (instancetype)initWithIntegrationName:(NSString *)integrationName { + [DBStoneValidators nonnullValidator:nil](integrationName); + + self = [super init]; + if (self) { + _integrationName = integrationName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationConnectedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationConnectedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationConnectedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.integrationName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationConnectedDetails:other]; +} + +- (BOOL)isEqualToIntegrationConnectedDetails:(DBTEAMLOGIntegrationConnectedDetails *)anIntegrationConnectedDetails { + if (self == anIntegrationConnectedDetails) { + return YES; + } + if (![self.integrationName isEqual:anIntegrationConnectedDetails.integrationName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationConnectedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationConnectedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"integration_name"] = valueObj.integrationName; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationConnectedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *integrationName = valueDict[@"integration_name"]; + + return [[DBTEAMLOGIntegrationConnectedDetails alloc] initWithIntegrationName:integrationName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationConnectedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationConnectedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationConnectedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationConnectedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationConnectedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationConnectedType:other]; +} + +- (BOOL)isEqualToIntegrationConnectedType:(DBTEAMLOGIntegrationConnectedType *)anIntegrationConnectedType { + if (self == anIntegrationConnectedType) { + return YES; + } + if (![self.description_ isEqual:anIntegrationConnectedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationConnectedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationConnectedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationConnectedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGIntegrationConnectedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationDisconnectedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationDisconnectedDetails + +#pragma mark - Constructors + +- (instancetype)initWithIntegrationName:(NSString *)integrationName { + [DBStoneValidators nonnullValidator:nil](integrationName); + + self = [super init]; + if (self) { + _integrationName = integrationName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationDisconnectedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationDisconnectedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationDisconnectedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.integrationName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationDisconnectedDetails:other]; +} + +- (BOOL)isEqualToIntegrationDisconnectedDetails: + (DBTEAMLOGIntegrationDisconnectedDetails *)anIntegrationDisconnectedDetails { + if (self == anIntegrationDisconnectedDetails) { + return YES; + } + if (![self.integrationName isEqual:anIntegrationDisconnectedDetails.integrationName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationDisconnectedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationDisconnectedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"integration_name"] = valueObj.integrationName; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationDisconnectedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *integrationName = valueDict[@"integration_name"]; + + return [[DBTEAMLOGIntegrationDisconnectedDetails alloc] initWithIntegrationName:integrationName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationDisconnectedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationDisconnectedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationDisconnectedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationDisconnectedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationDisconnectedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationDisconnectedType:other]; +} + +- (BOOL)isEqualToIntegrationDisconnectedType:(DBTEAMLOGIntegrationDisconnectedType *)anIntegrationDisconnectedType { + if (self == anIntegrationDisconnectedType) { + return YES; + } + if (![self.description_ isEqual:anIntegrationDisconnectedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationDisconnectedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationDisconnectedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationDisconnectedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGIntegrationDisconnectedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIntegrationPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIntegrationPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGIntegrationPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGIntegrationPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGIntegrationPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGIntegrationPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGIntegrationPolicyDisabled: + return @"DBTEAMLOGIntegrationPolicyDisabled"; + case DBTEAMLOGIntegrationPolicyEnabled: + return @"DBTEAMLOGIntegrationPolicyEnabled"; + case DBTEAMLOGIntegrationPolicyOther: + return @"DBTEAMLOGIntegrationPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGIntegrationPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGIntegrationPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGIntegrationPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationPolicy:other]; +} + +- (BOOL)isEqualToIntegrationPolicy:(DBTEAMLOGIntegrationPolicy *)anIntegrationPolicy { + if (self == anIntegrationPolicy) { + return YES; + } + if (self.tag != anIntegrationPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGIntegrationPolicyDisabled: + return [[self tagName] isEqual:[anIntegrationPolicy tagName]]; + case DBTEAMLOGIntegrationPolicyEnabled: + return [[self tagName] isEqual:[anIntegrationPolicy tagName]]; + case DBTEAMLOGIntegrationPolicyOther: + return [[self tagName] isEqual:[anIntegrationPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGIntegrationPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGIntegrationPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGIntegrationPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGIntegrationPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationPolicy.h" +#import "DBTEAMLOGIntegrationPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithIntegrationName:(NSString *)integrationName + dNewValue:(DBTEAMLOGIntegrationPolicy *)dNewValue + previousValue:(DBTEAMLOGIntegrationPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](integrationName); + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _integrationName = integrationName; + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.integrationName hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToIntegrationPolicyChangedDetails: + (DBTEAMLOGIntegrationPolicyChangedDetails *)anIntegrationPolicyChangedDetails { + if (self == anIntegrationPolicyChangedDetails) { + return YES; + } + if (![self.integrationName isEqual:anIntegrationPolicyChangedDetails.integrationName]) { + return NO; + } + if (![self.dNewValue isEqual:anIntegrationPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:anIntegrationPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"integration_name"] = valueObj.integrationName; + jsonDict[@"new_value"] = [DBTEAMLOGIntegrationPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGIntegrationPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *integrationName = valueDict[@"integration_name"]; + DBTEAMLOGIntegrationPolicy *dNewValue = [DBTEAMLOGIntegrationPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGIntegrationPolicy *previousValue = + [DBTEAMLOGIntegrationPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGIntegrationPolicyChangedDetails alloc] initWithIntegrationName:integrationName + dNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGIntegrationPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGIntegrationPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGIntegrationPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGIntegrationPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGIntegrationPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToIntegrationPolicyChangedType:other]; +} + +- (BOOL)isEqualToIntegrationPolicyChangedType:(DBTEAMLOGIntegrationPolicyChangedType *)anIntegrationPolicyChangedType { + if (self == anIntegrationPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:anIntegrationPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGIntegrationPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGIntegrationPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGIntegrationPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteAcceptanceEmailPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteAcceptanceEmailPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteAcceptanceEmailPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGInviteAcceptanceEmailPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGInviteAcceptanceEmailPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGInviteAcceptanceEmailPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGInviteAcceptanceEmailPolicyDisabled: + return @"DBTEAMLOGInviteAcceptanceEmailPolicyDisabled"; + case DBTEAMLOGInviteAcceptanceEmailPolicyEnabled: + return @"DBTEAMLOGInviteAcceptanceEmailPolicyEnabled"; + case DBTEAMLOGInviteAcceptanceEmailPolicyOther: + return @"DBTEAMLOGInviteAcceptanceEmailPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGInviteAcceptanceEmailPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGInviteAcceptanceEmailPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteAcceptanceEmailPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteAcceptanceEmailPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToInviteAcceptanceEmailPolicy:other]; +} + +- (BOOL)isEqualToInviteAcceptanceEmailPolicy:(DBTEAMLOGInviteAcceptanceEmailPolicy *)anInviteAcceptanceEmailPolicy { + if (self == anInviteAcceptanceEmailPolicy) { + return YES; + } + if (self.tag != anInviteAcceptanceEmailPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGInviteAcceptanceEmailPolicyDisabled: + return [[self tagName] isEqual:[anInviteAcceptanceEmailPolicy tagName]]; + case DBTEAMLOGInviteAcceptanceEmailPolicyEnabled: + return [[self tagName] isEqual:[anInviteAcceptanceEmailPolicy tagName]]; + case DBTEAMLOGInviteAcceptanceEmailPolicyOther: + return [[self tagName] isEqual:[anInviteAcceptanceEmailPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGInviteAcceptanceEmailPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGInviteAcceptanceEmailPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGInviteAcceptanceEmailPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGInviteAcceptanceEmailPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGInviteAcceptanceEmailPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicy.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGInviteAcceptanceEmailPolicy *)dNewValue + previousValue:(DBTEAMLOGInviteAcceptanceEmailPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToInviteAcceptanceEmailPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToInviteAcceptanceEmailPolicyChangedDetails: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)anInviteAcceptanceEmailPolicyChangedDetails { + if (self == anInviteAcceptanceEmailPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:anInviteAcceptanceEmailPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:anInviteAcceptanceEmailPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGInviteAcceptanceEmailPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGInviteAcceptanceEmailPolicy *dNewValue = + [DBTEAMLOGInviteAcceptanceEmailPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGInviteAcceptanceEmailPolicy *previousValue = + [DBTEAMLOGInviteAcceptanceEmailPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToInviteAcceptanceEmailPolicyChangedType:other]; +} + +- (BOOL)isEqualToInviteAcceptanceEmailPolicyChangedType: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)anInviteAcceptanceEmailPolicyChangedType { + if (self == anInviteAcceptanceEmailPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:anInviteAcceptanceEmailPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGInviteAcceptanceEmailPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGInviteMethod.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGInviteMethod + +#pragma mark - Constructors + +- (instancetype)initWithAutoApprove { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteMethodAutoApprove; + } + return self; +} + +- (instancetype)initWithInviteLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteMethodInviteLink; + } + return self; +} + +- (instancetype)initWithMemberInvite { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteMethodMemberInvite; + } + return self; +} + +- (instancetype)initWithMovedFromAnotherTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteMethodMovedFromAnotherTeam; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGInviteMethodOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAutoApprove { + return _tag == DBTEAMLOGInviteMethodAutoApprove; +} + +- (BOOL)isInviteLink { + return _tag == DBTEAMLOGInviteMethodInviteLink; +} + +- (BOOL)isMemberInvite { + return _tag == DBTEAMLOGInviteMethodMemberInvite; +} + +- (BOOL)isMovedFromAnotherTeam { + return _tag == DBTEAMLOGInviteMethodMovedFromAnotherTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGInviteMethodOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGInviteMethodAutoApprove: + return @"DBTEAMLOGInviteMethodAutoApprove"; + case DBTEAMLOGInviteMethodInviteLink: + return @"DBTEAMLOGInviteMethodInviteLink"; + case DBTEAMLOGInviteMethodMemberInvite: + return @"DBTEAMLOGInviteMethodMemberInvite"; + case DBTEAMLOGInviteMethodMovedFromAnotherTeam: + return @"DBTEAMLOGInviteMethodMovedFromAnotherTeam"; + case DBTEAMLOGInviteMethodOther: + return @"DBTEAMLOGInviteMethodOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGInviteMethodSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGInviteMethodSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGInviteMethodSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGInviteMethodAutoApprove: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteMethodInviteLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteMethodMemberInvite: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteMethodMovedFromAnotherTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGInviteMethodOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToInviteMethod:other]; +} + +- (BOOL)isEqualToInviteMethod:(DBTEAMLOGInviteMethod *)anInviteMethod { + if (self == anInviteMethod) { + return YES; + } + if (self.tag != anInviteMethod.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGInviteMethodAutoApprove: + return [[self tagName] isEqual:[anInviteMethod tagName]]; + case DBTEAMLOGInviteMethodInviteLink: + return [[self tagName] isEqual:[anInviteMethod tagName]]; + case DBTEAMLOGInviteMethodMemberInvite: + return [[self tagName] isEqual:[anInviteMethod tagName]]; + case DBTEAMLOGInviteMethodMovedFromAnotherTeam: + return [[self tagName] isEqual:[anInviteMethod tagName]]; + case DBTEAMLOGInviteMethodOther: + return [[self tagName] isEqual:[anInviteMethod tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGInviteMethodSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGInviteMethod *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAutoApprove]) { + jsonDict[@".tag"] = @"auto_approve"; + } else if ([valueObj isInviteLink]) { + jsonDict[@".tag"] = @"invite_link"; + } else if ([valueObj isMemberInvite]) { + jsonDict[@".tag"] = @"member_invite"; + } else if ([valueObj isMovedFromAnotherTeam]) { + jsonDict[@".tag"] = @"moved_from_another_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGInviteMethod *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"auto_approve"]) { + return [[DBTEAMLOGInviteMethod alloc] initWithAutoApprove]; + } else if ([tag isEqualToString:@"invite_link"]) { + return [[DBTEAMLOGInviteMethod alloc] initWithInviteLink]; + } else if ([tag isEqualToString:@"member_invite"]) { + return [[DBTEAMLOGInviteMethod alloc] initWithMemberInvite]; + } else if ([tag isEqualToString:@"moved_from_another_team"]) { + return [[DBTEAMLOGInviteMethod alloc] initWithMovedFromAnotherTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGInviteMethod alloc] initWithOther]; + } else { + return [[DBTEAMLOGInviteMethod alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFolderLogInfo.h" +#import "DBTEAMLOGJoinTeamDetails.h" +#import "DBTEAMLOGLinkedDeviceLogInfo.h" +#import "DBTEAMLOGUserLinkedAppLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGJoinTeamDetails + +#pragma mark - Constructors + +- (instancetype)initWithLinkedApps:(NSArray *)linkedApps + linkedDevices:(NSArray *)linkedDevices + linkedSharedFolders:(NSArray *)linkedSharedFolders + wasLinkedAppsTruncated:(NSNumber *)wasLinkedAppsTruncated + wasLinkedDevicesTruncated:(NSNumber *)wasLinkedDevicesTruncated + wasLinkedSharedFoldersTruncated:(NSNumber *)wasLinkedSharedFoldersTruncated + hasLinkedApps:(NSNumber *)hasLinkedApps + hasLinkedDevices:(NSNumber *)hasLinkedDevices + hasLinkedSharedFolders:(NSNumber *)hasLinkedSharedFolders { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApps); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedDevices); + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedSharedFolders); + + self = [super init]; + if (self) { + _linkedApps = linkedApps; + _linkedDevices = linkedDevices; + _linkedSharedFolders = linkedSharedFolders; + _wasLinkedAppsTruncated = wasLinkedAppsTruncated; + _wasLinkedDevicesTruncated = wasLinkedDevicesTruncated; + _wasLinkedSharedFoldersTruncated = wasLinkedSharedFoldersTruncated; + _hasLinkedApps = hasLinkedApps; + _hasLinkedDevices = hasLinkedDevices; + _hasLinkedSharedFolders = hasLinkedSharedFolders; + } + return self; +} + +- (instancetype)initWithLinkedApps:(NSArray *)linkedApps + linkedDevices:(NSArray *)linkedDevices + linkedSharedFolders:(NSArray *)linkedSharedFolders { + return [self initWithLinkedApps:linkedApps + linkedDevices:linkedDevices + linkedSharedFolders:linkedSharedFolders + wasLinkedAppsTruncated:nil + wasLinkedDevicesTruncated:nil + wasLinkedSharedFoldersTruncated:nil + hasLinkedApps:nil + hasLinkedDevices:nil + hasLinkedSharedFolders:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGJoinTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGJoinTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGJoinTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.linkedApps hash]; + result = prime * result + [self.linkedDevices hash]; + result = prime * result + [self.linkedSharedFolders hash]; + if (self.wasLinkedAppsTruncated != nil) { + result = prime * result + [self.wasLinkedAppsTruncated hash]; + } + if (self.wasLinkedDevicesTruncated != nil) { + result = prime * result + [self.wasLinkedDevicesTruncated hash]; + } + if (self.wasLinkedSharedFoldersTruncated != nil) { + result = prime * result + [self.wasLinkedSharedFoldersTruncated hash]; + } + if (self.hasLinkedApps != nil) { + result = prime * result + [self.hasLinkedApps hash]; + } + if (self.hasLinkedDevices != nil) { + result = prime * result + [self.hasLinkedDevices hash]; + } + if (self.hasLinkedSharedFolders != nil) { + result = prime * result + [self.hasLinkedSharedFolders hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToJoinTeamDetails:other]; +} + +- (BOOL)isEqualToJoinTeamDetails:(DBTEAMLOGJoinTeamDetails *)aJoinTeamDetails { + if (self == aJoinTeamDetails) { + return YES; + } + if (![self.linkedApps isEqual:aJoinTeamDetails.linkedApps]) { + return NO; + } + if (![self.linkedDevices isEqual:aJoinTeamDetails.linkedDevices]) { + return NO; + } + if (![self.linkedSharedFolders isEqual:aJoinTeamDetails.linkedSharedFolders]) { + return NO; + } + if (self.wasLinkedAppsTruncated) { + if (![self.wasLinkedAppsTruncated isEqual:aJoinTeamDetails.wasLinkedAppsTruncated]) { + return NO; + } + } + if (self.wasLinkedDevicesTruncated) { + if (![self.wasLinkedDevicesTruncated isEqual:aJoinTeamDetails.wasLinkedDevicesTruncated]) { + return NO; + } + } + if (self.wasLinkedSharedFoldersTruncated) { + if (![self.wasLinkedSharedFoldersTruncated isEqual:aJoinTeamDetails.wasLinkedSharedFoldersTruncated]) { + return NO; + } + } + if (self.hasLinkedApps) { + if (![self.hasLinkedApps isEqual:aJoinTeamDetails.hasLinkedApps]) { + return NO; + } + } + if (self.hasLinkedDevices) { + if (![self.hasLinkedDevices isEqual:aJoinTeamDetails.hasLinkedDevices]) { + return NO; + } + } + if (self.hasLinkedSharedFolders) { + if (![self.hasLinkedSharedFolders isEqual:aJoinTeamDetails.hasLinkedSharedFolders]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGJoinTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGJoinTeamDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"linked_apps"] = [DBArraySerializer serialize:valueObj.linkedApps + withBlock:^id(id elem0) { + return [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:elem0]; + }]; + jsonDict[@"linked_devices"] = [DBArraySerializer serialize:valueObj.linkedDevices + withBlock:^id(id elem0) { + return [DBTEAMLOGLinkedDeviceLogInfoSerializer serialize:elem0]; + }]; + jsonDict[@"linked_shared_folders"] = [DBArraySerializer serialize:valueObj.linkedSharedFolders + withBlock:^id(id elem0) { + return [DBTEAMLOGFolderLogInfoSerializer serialize:elem0]; + }]; + if (valueObj.wasLinkedAppsTruncated) { + jsonDict[@"was_linked_apps_truncated"] = valueObj.wasLinkedAppsTruncated; + } + if (valueObj.wasLinkedDevicesTruncated) { + jsonDict[@"was_linked_devices_truncated"] = valueObj.wasLinkedDevicesTruncated; + } + if (valueObj.wasLinkedSharedFoldersTruncated) { + jsonDict[@"was_linked_shared_folders_truncated"] = valueObj.wasLinkedSharedFoldersTruncated; + } + if (valueObj.hasLinkedApps) { + jsonDict[@"has_linked_apps"] = valueObj.hasLinkedApps; + } + if (valueObj.hasLinkedDevices) { + jsonDict[@"has_linked_devices"] = valueObj.hasLinkedDevices; + } + if (valueObj.hasLinkedSharedFolders) { + jsonDict[@"has_linked_shared_folders"] = valueObj.hasLinkedSharedFolders; + } + + return jsonDict; +} + ++ (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *linkedApps = + [DBArraySerializer deserialize:valueDict[@"linked_apps"] + withBlock:^id(id elem0) { + return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:elem0]; + }]; + NSArray *linkedDevices = + [DBArraySerializer deserialize:valueDict[@"linked_devices"] + withBlock:^id(id elem0) { + return [DBTEAMLOGLinkedDeviceLogInfoSerializer deserialize:elem0]; + }]; + NSArray *linkedSharedFolders = + [DBArraySerializer deserialize:valueDict[@"linked_shared_folders"] + withBlock:^id(id elem0) { + return [DBTEAMLOGFolderLogInfoSerializer deserialize:elem0]; + }]; + NSNumber *wasLinkedAppsTruncated = valueDict[@"was_linked_apps_truncated"] ?: nil; + NSNumber *wasLinkedDevicesTruncated = valueDict[@"was_linked_devices_truncated"] ?: nil; + NSNumber *wasLinkedSharedFoldersTruncated = valueDict[@"was_linked_shared_folders_truncated"] ?: nil; + NSNumber *hasLinkedApps = valueDict[@"has_linked_apps"] ?: nil; + NSNumber *hasLinkedDevices = valueDict[@"has_linked_devices"] ?: nil; + NSNumber *hasLinkedSharedFolders = valueDict[@"has_linked_shared_folders"] ?: nil; + + return [[DBTEAMLOGJoinTeamDetails alloc] initWithLinkedApps:linkedApps + linkedDevices:linkedDevices + linkedSharedFolders:linkedSharedFolders + wasLinkedAppsTruncated:wasLinkedAppsTruncated + wasLinkedDevicesTruncated:wasLinkedDevicesTruncated + wasLinkedSharedFoldersTruncated:wasLinkedSharedFoldersTruncated + hasLinkedApps:hasLinkedApps + hasLinkedDevices:hasLinkedDevices + hasLinkedSharedFolders:hasLinkedSharedFolders]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLabelType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLabelType + +#pragma mark - Constructors + +- (instancetype)initWithPersonalInformation { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLabelTypePersonalInformation; + } + return self; +} + +- (instancetype)initWithTestOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLabelTypeTestOnly; + } + return self; +} + +- (instancetype)initWithUserDefinedTag { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLabelTypeUserDefinedTag; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLabelTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPersonalInformation { + return _tag == DBTEAMLOGLabelTypePersonalInformation; +} + +- (BOOL)isTestOnly { + return _tag == DBTEAMLOGLabelTypeTestOnly; +} + +- (BOOL)isUserDefinedTag { + return _tag == DBTEAMLOGLabelTypeUserDefinedTag; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGLabelTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGLabelTypePersonalInformation: + return @"DBTEAMLOGLabelTypePersonalInformation"; + case DBTEAMLOGLabelTypeTestOnly: + return @"DBTEAMLOGLabelTypeTestOnly"; + case DBTEAMLOGLabelTypeUserDefinedTag: + return @"DBTEAMLOGLabelTypeUserDefinedTag"; + case DBTEAMLOGLabelTypeOther: + return @"DBTEAMLOGLabelTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLabelTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLabelTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLabelTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGLabelTypePersonalInformation: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLabelTypeTestOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLabelTypeUserDefinedTag: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLabelTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLabelType:other]; +} + +- (BOOL)isEqualToLabelType:(DBTEAMLOGLabelType *)aLabelType { + if (self == aLabelType) { + return YES; + } + if (self.tag != aLabelType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGLabelTypePersonalInformation: + return [[self tagName] isEqual:[aLabelType tagName]]; + case DBTEAMLOGLabelTypeTestOnly: + return [[self tagName] isEqual:[aLabelType tagName]]; + case DBTEAMLOGLabelTypeUserDefinedTag: + return [[self tagName] isEqual:[aLabelType tagName]]; + case DBTEAMLOGLabelTypeOther: + return [[self tagName] isEqual:[aLabelType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLabelTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLabelType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPersonalInformation]) { + jsonDict[@".tag"] = @"personal_information"; + } else if ([valueObj isTestOnly]) { + jsonDict[@".tag"] = @"test_only"; + } else if ([valueObj isUserDefinedTag]) { + jsonDict[@".tag"] = @"user_defined_tag"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGLabelType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"personal_information"]) { + return [[DBTEAMLOGLabelType alloc] initWithPersonalInformation]; + } else if ([tag isEqualToString:@"test_only"]) { + return [[DBTEAMLOGLabelType alloc] initWithTestOnly]; + } else if ([tag isEqualToString:@"user_defined_tag"]) { + return [[DBTEAMLOGLabelType alloc] initWithUserDefinedTag]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGLabelType alloc] initWithOther]; + } else { + return [[DBTEAMLOGLabelType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" +#import "DBTEAMLOGLegacyDeviceSessionLogInfo.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegacyDeviceSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithIpAddress:(NSString *)ipAddress + created:(NSDate *)created + updated:(NSDate *)updated + sessionInfo:(DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(NSString *)displayName + isEmmManaged:(NSNumber *)isEmmManaged + platform:(NSString *)platform + macAddress:(NSString *)macAddress + osVersion:(NSString *)osVersion + deviceType:(NSString *)deviceType + clientVersion:(NSString *)clientVersion + legacyUniqId:(NSString *)legacyUniqId { + + self = [super initWithIpAddress:ipAddress created:created updated:updated]; + if (self) { + _sessionInfo = sessionInfo; + _displayName = displayName; + _isEmmManaged = isEmmManaged; + _platform = platform; + _macAddress = macAddress; + _osVersion = osVersion; + _deviceType = deviceType; + _clientVersion = clientVersion; + _legacyUniqId = legacyUniqId; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithIpAddress:nil + created:nil + updated:nil + sessionInfo:nil + displayName:nil + isEmmManaged:nil + platform:nil + macAddress:nil + osVersion:nil + deviceType:nil + clientVersion:nil + legacyUniqId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegacyDeviceSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegacyDeviceSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegacyDeviceSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; + } + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.isEmmManaged != nil) { + result = prime * result + [self.isEmmManaged hash]; + } + if (self.platform != nil) { + result = prime * result + [self.platform hash]; + } + if (self.macAddress != nil) { + result = prime * result + [self.macAddress hash]; + } + if (self.osVersion != nil) { + result = prime * result + [self.osVersion hash]; + } + if (self.deviceType != nil) { + result = prime * result + [self.deviceType hash]; + } + if (self.clientVersion != nil) { + result = prime * result + [self.clientVersion hash]; + } + if (self.legacyUniqId != nil) { + result = prime * result + [self.legacyUniqId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegacyDeviceSessionLogInfo:other]; +} + +- (BOOL)isEqualToLegacyDeviceSessionLogInfo:(DBTEAMLOGLegacyDeviceSessionLogInfo *)aLegacyDeviceSessionLogInfo { + if (self == aLegacyDeviceSessionLogInfo) { + return YES; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aLegacyDeviceSessionLogInfo.ipAddress]) { + return NO; + } + } + if (self.created) { + if (![self.created isEqual:aLegacyDeviceSessionLogInfo.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aLegacyDeviceSessionLogInfo.updated]) { + return NO; + } + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aLegacyDeviceSessionLogInfo.sessionInfo]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:aLegacyDeviceSessionLogInfo.displayName]) { + return NO; + } + } + if (self.isEmmManaged) { + if (![self.isEmmManaged isEqual:aLegacyDeviceSessionLogInfo.isEmmManaged]) { + return NO; + } + } + if (self.platform) { + if (![self.platform isEqual:aLegacyDeviceSessionLogInfo.platform]) { + return NO; + } + } + if (self.macAddress) { + if (![self.macAddress isEqual:aLegacyDeviceSessionLogInfo.macAddress]) { + return NO; + } + } + if (self.osVersion) { + if (![self.osVersion isEqual:aLegacyDeviceSessionLogInfo.osVersion]) { + return NO; + } + } + if (self.deviceType) { + if (![self.deviceType isEqual:aLegacyDeviceSessionLogInfo.deviceType]) { + return NO; + } + } + if (self.clientVersion) { + if (![self.clientVersion isEqual:aLegacyDeviceSessionLogInfo.clientVersion]) { + return NO; + } + } + if (self.legacyUniqId) { + if (![self.legacyUniqId isEqual:aLegacyDeviceSessionLogInfo.legacyUniqId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegacyDeviceSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegacyDeviceSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.isEmmManaged) { + jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; + } + if (valueObj.platform) { + jsonDict[@"platform"] = valueObj.platform; + } + if (valueObj.macAddress) { + jsonDict[@"mac_address"] = valueObj.macAddress; + } + if (valueObj.osVersion) { + jsonDict[@"os_version"] = valueObj.osVersion; + } + if (valueObj.deviceType) { + jsonDict[@"device_type"] = valueObj.deviceType; + } + if (valueObj.clientVersion) { + jsonDict[@"client_version"] = valueObj.clientVersion; + } + if (valueObj.legacyUniqId) { + jsonDict[@"legacy_uniq_id"] = valueObj.legacyUniqId; + } + + return jsonDict; +} + ++ (DBTEAMLOGLegacyDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + DBTEAMLOGSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] : nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; + NSString *platform = valueDict[@"platform"] ?: nil; + NSString *macAddress = valueDict[@"mac_address"] ?: nil; + NSString *osVersion = valueDict[@"os_version"] ?: nil; + NSString *deviceType = valueDict[@"device_type"] ?: nil; + NSString *clientVersion = valueDict[@"client_version"] ?: nil; + NSString *legacyUniqId = valueDict[@"legacy_uniq_id"] ?: nil; + + return [[DBTEAMLOGLegacyDeviceSessionLogInfo alloc] initWithIpAddress:ipAddress + created:created + updated:updated + sessionInfo:sessionInfo + displayName:displayName + isEmmManaged:isEmmManaged + platform:platform + macAddress:macAddress + osVersion:osVersion + deviceType:deviceType + clientVersion:clientVersion + legacyUniqId:legacyUniqId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsActivateAHoldDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + startDate:(NSDate *)startDate + endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](startDate); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _startDate = startDate; + _endDate = endDate; + } + return self; +} + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name startDate:(NSDate *)startDate { + return [self initWithLegalHoldId:legalHoldId name:name startDate:startDate endDate:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.startDate hash]; + if (self.endDate != nil) { + result = prime * result + [self.endDate hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsActivateAHoldDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsActivateAHoldDetails: + (DBTEAMLOGLegalHoldsActivateAHoldDetails *)aLegalHoldsActivateAHoldDetails { + if (self == aLegalHoldsActivateAHoldDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsActivateAHoldDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsActivateAHoldDetails.name]) { + return NO; + } + if (![self.startDate isEqual:aLegalHoldsActivateAHoldDetails.startDate]) { + return NO; + } + if (self.endDate) { + if (![self.endDate isEqual:aLegalHoldsActivateAHoldDetails.endDate]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsActivateAHoldDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if (valueObj.endDate) { + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsActivateAHoldDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = valueDict[@"end_date"] + ? [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGLegalHoldsActivateAHoldDetails alloc] initWithLegalHoldId:legalHoldId + name:name + startDate:startDate + endDate:endDate]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsActivateAHoldType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsActivateAHoldType:other]; +} + +- (BOOL)isEqualToLegalHoldsActivateAHoldType:(DBTEAMLOGLegalHoldsActivateAHoldType *)aLegalHoldsActivateAHoldType { + if (self == aLegalHoldsActivateAHoldType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsActivateAHoldType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsActivateAHoldType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsActivateAHoldType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsActivateAHoldType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsAddMembersDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsAddMembersDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsAddMembersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsAddMembersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsAddMembersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsAddMembersDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsAddMembersDetails:(DBTEAMLOGLegalHoldsAddMembersDetails *)aLegalHoldsAddMembersDetails { + if (self == aLegalHoldsAddMembersDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsAddMembersDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsAddMembersDetails.name]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsAddMembersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsAddMembersDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsAddMembersDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + + return [[DBTEAMLOGLegalHoldsAddMembersDetails alloc] initWithLegalHoldId:legalHoldId name:name]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsAddMembersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsAddMembersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsAddMembersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsAddMembersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsAddMembersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsAddMembersType:other]; +} + +- (BOOL)isEqualToLegalHoldsAddMembersType:(DBTEAMLOGLegalHoldsAddMembersType *)aLegalHoldsAddMembersType { + if (self == aLegalHoldsAddMembersType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsAddMembersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsAddMembersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsAddMembersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsAddMembersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsAddMembersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldDetailsDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsChangeHoldDetailsDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsChangeHoldDetailsDetails: + (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)aLegalHoldsChangeHoldDetailsDetails { + if (self == aLegalHoldsChangeHoldDetailsDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsChangeHoldDetailsDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsChangeHoldDetailsDetails.name]) { + return NO; + } + if (![self.previousValue isEqual:aLegalHoldsChangeHoldDetailsDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aLegalHoldsChangeHoldDetailsDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGLegalHoldsChangeHoldDetailsDetails alloc] initWithLegalHoldId:legalHoldId + name:name + previousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldDetailsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsChangeHoldDetailsType:other]; +} + +- (BOOL)isEqualToLegalHoldsChangeHoldDetailsType: + (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)aLegalHoldsChangeHoldDetailsType { + if (self == aLegalHoldsChangeHoldDetailsType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsChangeHoldDetailsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldDetailsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsChangeHoldDetailsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldNameDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsChangeHoldNameDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsChangeHoldNameDetails: + (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)aLegalHoldsChangeHoldNameDetails { + if (self == aLegalHoldsChangeHoldNameDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsChangeHoldNameDetails.legalHoldId]) { + return NO; + } + if (![self.previousValue isEqual:aLegalHoldsChangeHoldNameDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aLegalHoldsChangeHoldNameDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldNameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGLegalHoldsChangeHoldNameDetails alloc] initWithLegalHoldId:legalHoldId + previousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldNameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsChangeHoldNameType:other]; +} + +- (BOOL)isEqualToLegalHoldsChangeHoldNameType:(DBTEAMLOGLegalHoldsChangeHoldNameType *)aLegalHoldsChangeHoldNameType { + if (self == aLegalHoldsChangeHoldNameType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsChangeHoldNameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldNameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsChangeHoldNameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsChangeHoldNameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportAHoldDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportAHoldDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _exportName = exportName; + } + return self; +} + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name { + return [self initWithLegalHoldId:legalHoldId name:name exportName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + if (self.exportName != nil) { + result = prime * result + [self.exportName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportAHoldDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsExportAHoldDetails:(DBTEAMLOGLegalHoldsExportAHoldDetails *)aLegalHoldsExportAHoldDetails { + if (self == aLegalHoldsExportAHoldDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsExportAHoldDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsExportAHoldDetails.name]) { + return NO; + } + if (self.exportName) { + if (![self.exportName isEqual:aLegalHoldsExportAHoldDetails.exportName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportAHoldDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + if (valueObj.exportName) { + jsonDict[@"export_name"] = valueObj.exportName; + } + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportAHoldDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"] ?: nil; + + return + [[DBTEAMLOGLegalHoldsExportAHoldDetails alloc] initWithLegalHoldId:legalHoldId name:name exportName:exportName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportAHoldType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportAHoldType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportAHoldTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportAHoldTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportAHoldTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportAHoldType:other]; +} + +- (BOOL)isEqualToLegalHoldsExportAHoldType:(DBTEAMLOGLegalHoldsExportAHoldType *)aLegalHoldsExportAHoldType { + if (self == aLegalHoldsExportAHoldType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsExportAHoldType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportAHoldTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportAHoldType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportAHoldType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsExportAHoldType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportCancelledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportCancelledDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _exportName = exportName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportCancelledDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsExportCancelledDetails: + (DBTEAMLOGLegalHoldsExportCancelledDetails *)aLegalHoldsExportCancelledDetails { + if (self == aLegalHoldsExportCancelledDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsExportCancelledDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsExportCancelledDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aLegalHoldsExportCancelledDetails.exportName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportCancelledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportCancelledDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + + return [[DBTEAMLOGLegalHoldsExportCancelledDetails alloc] initWithLegalHoldId:legalHoldId + name:name + exportName:exportName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportCancelledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportCancelledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportCancelledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportCancelledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportCancelledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportCancelledType:other]; +} + +- (BOOL)isEqualToLegalHoldsExportCancelledType: + (DBTEAMLOGLegalHoldsExportCancelledType *)aLegalHoldsExportCancelledType { + if (self == aLegalHoldsExportCancelledType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsExportCancelledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportCancelledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportCancelledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportCancelledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsExportCancelledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportDownloadedDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + exportName:(NSString *)exportName + part:(NSString *)part + fileName:(NSString *)fileName { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _exportName = exportName; + _part = part; + _fileName = fileName; + } + return self; +} + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName { + return [self initWithLegalHoldId:legalHoldId name:name exportName:exportName part:nil fileName:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + if (self.part != nil) { + result = prime * result + [self.part hash]; + } + if (self.fileName != nil) { + result = prime * result + [self.fileName hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportDownloadedDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsExportDownloadedDetails: + (DBTEAMLOGLegalHoldsExportDownloadedDetails *)aLegalHoldsExportDownloadedDetails { + if (self == aLegalHoldsExportDownloadedDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsExportDownloadedDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsExportDownloadedDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aLegalHoldsExportDownloadedDetails.exportName]) { + return NO; + } + if (self.part) { + if (![self.part isEqual:aLegalHoldsExportDownloadedDetails.part]) { + return NO; + } + } + if (self.fileName) { + if (![self.fileName isEqual:aLegalHoldsExportDownloadedDetails.fileName]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportDownloadedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + if (valueObj.part) { + jsonDict[@"part"] = valueObj.part; + } + if (valueObj.fileName) { + jsonDict[@"file_name"] = valueObj.fileName; + } + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportDownloadedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + NSString *part = valueDict[@"part"] ?: nil; + NSString *fileName = valueDict[@"file_name"] ?: nil; + + return [[DBTEAMLOGLegalHoldsExportDownloadedDetails alloc] initWithLegalHoldId:legalHoldId + name:name + exportName:exportName + part:part + fileName:fileName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportDownloadedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportDownloadedType:other]; +} + +- (BOOL)isEqualToLegalHoldsExportDownloadedType: + (DBTEAMLOGLegalHoldsExportDownloadedType *)aLegalHoldsExportDownloadedType { + if (self == aLegalHoldsExportDownloadedType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsExportDownloadedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportDownloadedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportDownloadedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsExportDownloadedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportRemovedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportRemovedDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + [DBStoneValidators nonnullValidator:nil](exportName); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + _exportName = exportName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + result = prime * result + [self.exportName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportRemovedDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsExportRemovedDetails: + (DBTEAMLOGLegalHoldsExportRemovedDetails *)aLegalHoldsExportRemovedDetails { + if (self == aLegalHoldsExportRemovedDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsExportRemovedDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsExportRemovedDetails.name]) { + return NO; + } + if (![self.exportName isEqual:aLegalHoldsExportRemovedDetails.exportName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportRemovedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + jsonDict[@"export_name"] = valueObj.exportName; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportRemovedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + NSString *exportName = valueDict[@"export_name"]; + + return + [[DBTEAMLOGLegalHoldsExportRemovedDetails alloc] initWithLegalHoldId:legalHoldId name:name exportName:exportName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsExportRemovedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsExportRemovedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsExportRemovedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsExportRemovedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsExportRemovedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsExportRemovedType:other]; +} + +- (BOOL)isEqualToLegalHoldsExportRemovedType:(DBTEAMLOGLegalHoldsExportRemovedType *)aLegalHoldsExportRemovedType { + if (self == aLegalHoldsExportRemovedType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsExportRemovedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsExportRemovedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportRemovedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsExportRemovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsExportRemovedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsReleaseAHoldDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsReleaseAHoldDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsReleaseAHoldDetails: + (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)aLegalHoldsReleaseAHoldDetails { + if (self == aLegalHoldsReleaseAHoldDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsReleaseAHoldDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsReleaseAHoldDetails.name]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReleaseAHoldDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + + return [[DBTEAMLOGLegalHoldsReleaseAHoldDetails alloc] initWithLegalHoldId:legalHoldId name:name]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsReleaseAHoldType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsReleaseAHoldType:other]; +} + +- (BOOL)isEqualToLegalHoldsReleaseAHoldType:(DBTEAMLOGLegalHoldsReleaseAHoldType *)aLegalHoldsReleaseAHoldType { + if (self == aLegalHoldsReleaseAHoldType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsReleaseAHoldType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReleaseAHoldType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsReleaseAHoldType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsReleaseAHoldType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsRemoveMembersDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsRemoveMembersDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsRemoveMembersDetails: + (DBTEAMLOGLegalHoldsRemoveMembersDetails *)aLegalHoldsRemoveMembersDetails { + if (self == aLegalHoldsRemoveMembersDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsRemoveMembersDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsRemoveMembersDetails.name]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsRemoveMembersDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsRemoveMembersDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + + return [[DBTEAMLOGLegalHoldsRemoveMembersDetails alloc] initWithLegalHoldId:legalHoldId name:name]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsRemoveMembersType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsRemoveMembersType:other]; +} + +- (BOOL)isEqualToLegalHoldsRemoveMembersType:(DBTEAMLOGLegalHoldsRemoveMembersType *)aLegalHoldsRemoveMembersType { + if (self == aLegalHoldsRemoveMembersType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsRemoveMembersType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsRemoveMembersType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsRemoveMembersType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsRemoveMembersType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsReportAHoldDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsReportAHoldDetails + +#pragma mark - Constructors + +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name { + [DBStoneValidators nonnullValidator:nil](legalHoldId); + [DBStoneValidators nonnullValidator:nil](name); + + self = [super init]; + if (self) { + _legalHoldId = legalHoldId; + _name = name; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.legalHoldId hash]; + result = prime * result + [self.name hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsReportAHoldDetails:other]; +} + +- (BOOL)isEqualToLegalHoldsReportAHoldDetails:(DBTEAMLOGLegalHoldsReportAHoldDetails *)aLegalHoldsReportAHoldDetails { + if (self == aLegalHoldsReportAHoldDetails) { + return YES; + } + if (![self.legalHoldId isEqual:aLegalHoldsReportAHoldDetails.legalHoldId]) { + return NO; + } + if (![self.name isEqual:aLegalHoldsReportAHoldDetails.name]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReportAHoldDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"legal_hold_id"] = valueObj.legalHoldId; + jsonDict[@"name"] = valueObj.name; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsReportAHoldDetails *)deserialize:(NSDictionary *)valueDict { + NSString *legalHoldId = valueDict[@"legal_hold_id"]; + NSString *name = valueDict[@"name"]; + + return [[DBTEAMLOGLegalHoldsReportAHoldDetails alloc] initWithLegalHoldId:legalHoldId name:name]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLegalHoldsReportAHoldType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLegalHoldsReportAHoldType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLegalHoldsReportAHoldTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLegalHoldsReportAHoldTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLegalHoldsReportAHoldTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLegalHoldsReportAHoldType:other]; +} + +- (BOOL)isEqualToLegalHoldsReportAHoldType:(DBTEAMLOGLegalHoldsReportAHoldType *)aLegalHoldsReportAHoldType { + if (self == aLegalHoldsReportAHoldType) { + return YES; + } + if (![self.description_ isEqual:aLegalHoldsReportAHoldType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLegalHoldsReportAHoldTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReportAHoldType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLegalHoldsReportAHoldType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLegalHoldsReportAHoldType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" +#import "DBTEAMLOGLegacyDeviceSessionLogInfo.h" +#import "DBTEAMLOGLinkedDeviceLogInfo.h" +#import "DBTEAMLOGMobileDeviceSessionLogInfo.h" +#import "DBTEAMLOGWebDeviceSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLinkedDeviceLogInfo + +@synthesize desktopDeviceSession = _desktopDeviceSession; +@synthesize legacyDeviceSession = _legacyDeviceSession; +@synthesize mobileDeviceSession = _mobileDeviceSession; +@synthesize webDeviceSession = _webDeviceSession; + +#pragma mark - Constructors + +- (instancetype)initWithDesktopDeviceSession:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession; + _desktopDeviceSession = desktopDeviceSession; + } + return self; +} + +- (instancetype)initWithLegacyDeviceSession:(DBTEAMLOGLegacyDeviceSessionLogInfo *)legacyDeviceSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession; + _legacyDeviceSession = legacyDeviceSession; + } + return self; +} + +- (instancetype)initWithMobileDeviceSession:(DBTEAMLOGMobileDeviceSessionLogInfo *)mobileDeviceSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession; + _mobileDeviceSession = mobileDeviceSession; + } + return self; +} + +- (instancetype)initWithWebDeviceSession:(DBTEAMLOGWebDeviceSessionLogInfo *)webDeviceSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession; + _webDeviceSession = webDeviceSession; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLinkedDeviceLogInfoOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSession { + if (![self isDesktopDeviceSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession, but was %@.", [self tagName]]; + } + return _desktopDeviceSession; +} + +- (DBTEAMLOGLegacyDeviceSessionLogInfo *)legacyDeviceSession { + if (![self isLegacyDeviceSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession, but was %@.", [self tagName]]; + } + return _legacyDeviceSession; +} + +- (DBTEAMLOGMobileDeviceSessionLogInfo *)mobileDeviceSession { + if (![self isMobileDeviceSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession, but was %@.", [self tagName]]; + } + return _mobileDeviceSession; +} + +- (DBTEAMLOGWebDeviceSessionLogInfo *)webDeviceSession { + if (![self isWebDeviceSession]) { + [NSException + raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession, but was %@.", [self tagName]]; + } + return _webDeviceSession; +} + +#pragma mark - Tag state methods + +- (BOOL)isDesktopDeviceSession { + return _tag == DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession; +} + +- (BOOL)isLegacyDeviceSession { + return _tag == DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession; +} + +- (BOOL)isMobileDeviceSession { + return _tag == DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession; +} + +- (BOOL)isWebDeviceSession { + return _tag == DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGLinkedDeviceLogInfoOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession: + return @"DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession"; + case DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession: + return @"DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession"; + case DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession: + return @"DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession"; + case DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession: + return @"DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession"; + case DBTEAMLOGLinkedDeviceLogInfoOther: + return @"DBTEAMLOGLinkedDeviceLogInfoOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLinkedDeviceLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLinkedDeviceLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLinkedDeviceLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession: + result = prime * result + [self.desktopDeviceSession hash]; + break; + case DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession: + result = prime * result + [self.legacyDeviceSession hash]; + break; + case DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession: + result = prime * result + [self.mobileDeviceSession hash]; + break; + case DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession: + result = prime * result + [self.webDeviceSession hash]; + break; + case DBTEAMLOGLinkedDeviceLogInfoOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLinkedDeviceLogInfo:other]; +} + +- (BOOL)isEqualToLinkedDeviceLogInfo:(DBTEAMLOGLinkedDeviceLogInfo *)aLinkedDeviceLogInfo { + if (self == aLinkedDeviceLogInfo) { + return YES; + } + if (self.tag != aLinkedDeviceLogInfo.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession: + return [self.desktopDeviceSession isEqual:aLinkedDeviceLogInfo.desktopDeviceSession]; + case DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession: + return [self.legacyDeviceSession isEqual:aLinkedDeviceLogInfo.legacyDeviceSession]; + case DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession: + return [self.mobileDeviceSession isEqual:aLinkedDeviceLogInfo.mobileDeviceSession]; + case DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession: + return [self.webDeviceSession isEqual:aLinkedDeviceLogInfo.webDeviceSession]; + case DBTEAMLOGLinkedDeviceLogInfoOther: + return [[self tagName] isEqual:[aLinkedDeviceLogInfo tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLinkedDeviceLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLinkedDeviceLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDesktopDeviceSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDesktopDeviceSessionLogInfoSerializer + serialize:valueObj.desktopDeviceSession]]; + jsonDict[@".tag"] = @"desktop_device_session"; + } else if ([valueObj isLegacyDeviceSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGLegacyDeviceSessionLogInfoSerializer + serialize:valueObj.legacyDeviceSession]]; + jsonDict[@".tag"] = @"legacy_device_session"; + } else if ([valueObj isMobileDeviceSession]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGMobileDeviceSessionLogInfoSerializer + serialize:valueObj.mobileDeviceSession]]; + jsonDict[@".tag"] = @"mobile_device_session"; + } else if ([valueObj isWebDeviceSession]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:valueObj.webDeviceSession]]; + jsonDict[@".tag"] = @"web_device_session"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGLinkedDeviceLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"desktop_device_session"]) { + DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSession = + [DBTEAMLOGDesktopDeviceSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithDesktopDeviceSession:desktopDeviceSession]; + } else if ([tag isEqualToString:@"legacy_device_session"]) { + DBTEAMLOGLegacyDeviceSessionLogInfo *legacyDeviceSession = + [DBTEAMLOGLegacyDeviceSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithLegacyDeviceSession:legacyDeviceSession]; + } else if ([tag isEqualToString:@"mobile_device_session"]) { + DBTEAMLOGMobileDeviceSessionLogInfo *mobileDeviceSession = + [DBTEAMLOGMobileDeviceSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithMobileDeviceSession:mobileDeviceSession]; + } else if ([tag isEqualToString:@"web_device_session"]) { + DBTEAMLOGWebDeviceSessionLogInfo *webDeviceSession = + [DBTEAMLOGWebDeviceSessionLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithWebDeviceSession:webDeviceSession]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithOther]; + } else { + return [[DBTEAMLOGLinkedDeviceLogInfo alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLockStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLockStatus + +#pragma mark - Constructors + +- (instancetype)initWithLocked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLockStatusLocked; + } + return self; +} + +- (instancetype)initWithUnlocked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLockStatusUnlocked; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLockStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isLocked { + return _tag == DBTEAMLOGLockStatusLocked; +} + +- (BOOL)isUnlocked { + return _tag == DBTEAMLOGLockStatusUnlocked; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGLockStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGLockStatusLocked: + return @"DBTEAMLOGLockStatusLocked"; + case DBTEAMLOGLockStatusUnlocked: + return @"DBTEAMLOGLockStatusUnlocked"; + case DBTEAMLOGLockStatusOther: + return @"DBTEAMLOGLockStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLockStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLockStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLockStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGLockStatusLocked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLockStatusUnlocked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLockStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLockStatus:other]; +} + +- (BOOL)isEqualToLockStatus:(DBTEAMLOGLockStatus *)aLockStatus { + if (self == aLockStatus) { + return YES; + } + if (self.tag != aLockStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGLockStatusLocked: + return [[self tagName] isEqual:[aLockStatus tagName]]; + case DBTEAMLOGLockStatusUnlocked: + return [[self tagName] isEqual:[aLockStatus tagName]]; + case DBTEAMLOGLockStatusOther: + return [[self tagName] isEqual:[aLockStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLockStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLockStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isLocked]) { + jsonDict[@".tag"] = @"locked"; + } else if ([valueObj isUnlocked]) { + jsonDict[@".tag"] = @"unlocked"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGLockStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"locked"]) { + return [[DBTEAMLOGLockStatus alloc] initWithLocked]; + } else if ([tag isEqualToString:@"unlocked"]) { + return [[DBTEAMLOGLockStatus alloc] initWithUnlocked]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGLockStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGLockStatus alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGFailureDetailsLogInfo.h" +#import "DBTEAMLOGLoginFailDetails.h" +#import "DBTEAMLOGLoginMethod.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLoginFailDetails + +#pragma mark - Constructors + +- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod + errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails + isEmmManaged:(NSNumber *)isEmmManaged { + [DBStoneValidators nonnullValidator:nil](loginMethod); + [DBStoneValidators nonnullValidator:nil](errorDetails); + + self = [super init]; + if (self) { + _isEmmManaged = isEmmManaged; + _loginMethod = loginMethod; + _errorDetails = errorDetails; + } + return self; +} + +- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod + errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { + return [self initWithLoginMethod:loginMethod errorDetails:errorDetails isEmmManaged:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLoginFailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLoginFailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLoginFailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.loginMethod hash]; + result = prime * result + [self.errorDetails hash]; + if (self.isEmmManaged != nil) { + result = prime * result + [self.isEmmManaged hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLoginFailDetails:other]; +} + +- (BOOL)isEqualToLoginFailDetails:(DBTEAMLOGLoginFailDetails *)aLoginFailDetails { + if (self == aLoginFailDetails) { + return YES; + } + if (![self.loginMethod isEqual:aLoginFailDetails.loginMethod]) { + return NO; + } + if (![self.errorDetails isEqual:aLoginFailDetails.errorDetails]) { + return NO; + } + if (self.isEmmManaged) { + if (![self.isEmmManaged isEqual:aLoginFailDetails.isEmmManaged]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLoginFailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLoginFailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"login_method"] = [DBTEAMLOGLoginMethodSerializer serialize:valueObj.loginMethod]; + jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; + if (valueObj.isEmmManaged) { + jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; + } + + return jsonDict; +} + ++ (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLoginMethod *loginMethod = [DBTEAMLOGLoginMethodSerializer deserialize:valueDict[@"login_method"]]; + DBTEAMLOGFailureDetailsLogInfo *errorDetails = + [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; + NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; + + return [[DBTEAMLOGLoginFailDetails alloc] initWithLoginMethod:loginMethod + errorDetails:errorDetails + isEmmManaged:isEmmManaged]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLoginFailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLoginFailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLoginFailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLoginFailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLoginFailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLoginFailType:other]; +} + +- (BOOL)isEqualToLoginFailType:(DBTEAMLOGLoginFailType *)aLoginFailType { + if (self == aLoginFailType) { + return YES; + } + if (![self.description_ isEqual:aLoginFailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLoginFailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLoginFailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLoginFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLoginFailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLoginMethod.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLoginMethod + +#pragma mark - Constructors + +- (instancetype)initWithAppleOauth { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodAppleOauth; + } + return self; +} + +- (instancetype)initWithFirstPartyTokenExchange { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodFirstPartyTokenExchange; + } + return self; +} + +- (instancetype)initWithGoogleOauth { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodGoogleOauth; + } + return self; +} + +- (instancetype)initWithLenovoOauth { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodLenovoOauth; + } + return self; +} + +- (instancetype)initWithPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodPassword; + } + return self; +} + +- (instancetype)initWithQrCode { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodQrCode; + } + return self; +} + +- (instancetype)initWithSaml { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodSaml; + } + return self; +} + +- (instancetype)initWithTwoFactorAuthentication { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodTwoFactorAuthentication; + } + return self; +} + +- (instancetype)initWithWebSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodWebSession; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGLoginMethodOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAppleOauth { + return _tag == DBTEAMLOGLoginMethodAppleOauth; +} + +- (BOOL)isFirstPartyTokenExchange { + return _tag == DBTEAMLOGLoginMethodFirstPartyTokenExchange; +} + +- (BOOL)isGoogleOauth { + return _tag == DBTEAMLOGLoginMethodGoogleOauth; +} + +- (BOOL)isLenovoOauth { + return _tag == DBTEAMLOGLoginMethodLenovoOauth; +} + +- (BOOL)isPassword { + return _tag == DBTEAMLOGLoginMethodPassword; +} + +- (BOOL)isQrCode { + return _tag == DBTEAMLOGLoginMethodQrCode; +} + +- (BOOL)isSaml { + return _tag == DBTEAMLOGLoginMethodSaml; +} + +- (BOOL)isTwoFactorAuthentication { + return _tag == DBTEAMLOGLoginMethodTwoFactorAuthentication; +} + +- (BOOL)isWebSession { + return _tag == DBTEAMLOGLoginMethodWebSession; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGLoginMethodOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGLoginMethodAppleOauth: + return @"DBTEAMLOGLoginMethodAppleOauth"; + case DBTEAMLOGLoginMethodFirstPartyTokenExchange: + return @"DBTEAMLOGLoginMethodFirstPartyTokenExchange"; + case DBTEAMLOGLoginMethodGoogleOauth: + return @"DBTEAMLOGLoginMethodGoogleOauth"; + case DBTEAMLOGLoginMethodLenovoOauth: + return @"DBTEAMLOGLoginMethodLenovoOauth"; + case DBTEAMLOGLoginMethodPassword: + return @"DBTEAMLOGLoginMethodPassword"; + case DBTEAMLOGLoginMethodQrCode: + return @"DBTEAMLOGLoginMethodQrCode"; + case DBTEAMLOGLoginMethodSaml: + return @"DBTEAMLOGLoginMethodSaml"; + case DBTEAMLOGLoginMethodTwoFactorAuthentication: + return @"DBTEAMLOGLoginMethodTwoFactorAuthentication"; + case DBTEAMLOGLoginMethodWebSession: + return @"DBTEAMLOGLoginMethodWebSession"; + case DBTEAMLOGLoginMethodOther: + return @"DBTEAMLOGLoginMethodOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLoginMethodSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLoginMethodSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLoginMethodSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGLoginMethodAppleOauth: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodFirstPartyTokenExchange: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodGoogleOauth: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodLenovoOauth: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodQrCode: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodSaml: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodTwoFactorAuthentication: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodWebSession: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGLoginMethodOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLoginMethod:other]; +} + +- (BOOL)isEqualToLoginMethod:(DBTEAMLOGLoginMethod *)aLoginMethod { + if (self == aLoginMethod) { + return YES; + } + if (self.tag != aLoginMethod.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGLoginMethodAppleOauth: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodFirstPartyTokenExchange: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodGoogleOauth: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodLenovoOauth: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodPassword: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodQrCode: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodSaml: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodTwoFactorAuthentication: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodWebSession: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + case DBTEAMLOGLoginMethodOther: + return [[self tagName] isEqual:[aLoginMethod tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLoginMethodSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLoginMethod *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAppleOauth]) { + jsonDict[@".tag"] = @"apple_oauth"; + } else if ([valueObj isFirstPartyTokenExchange]) { + jsonDict[@".tag"] = @"first_party_token_exchange"; + } else if ([valueObj isGoogleOauth]) { + jsonDict[@".tag"] = @"google_oauth"; + } else if ([valueObj isLenovoOauth]) { + jsonDict[@".tag"] = @"lenovo_oauth"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else if ([valueObj isQrCode]) { + jsonDict[@".tag"] = @"qr_code"; + } else if ([valueObj isSaml]) { + jsonDict[@".tag"] = @"saml"; + } else if ([valueObj isTwoFactorAuthentication]) { + jsonDict[@".tag"] = @"two_factor_authentication"; + } else if ([valueObj isWebSession]) { + jsonDict[@".tag"] = @"web_session"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"apple_oauth"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithAppleOauth]; + } else if ([tag isEqualToString:@"first_party_token_exchange"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithFirstPartyTokenExchange]; + } else if ([tag isEqualToString:@"google_oauth"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithGoogleOauth]; + } else if ([tag isEqualToString:@"lenovo_oauth"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithLenovoOauth]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithPassword]; + } else if ([tag isEqualToString:@"qr_code"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithQrCode]; + } else if ([tag isEqualToString:@"saml"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithSaml]; + } else if ([tag isEqualToString:@"two_factor_authentication"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithTwoFactorAuthentication]; + } else if ([tag isEqualToString:@"web_session"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithWebSession]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGLoginMethod alloc] initWithOther]; + } else { + return [[DBTEAMLOGLoginMethod alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLoginMethod.h" +#import "DBTEAMLOGLoginSuccessDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLoginSuccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod isEmmManaged:(NSNumber *)isEmmManaged { + [DBStoneValidators nonnullValidator:nil](loginMethod); + + self = [super init]; + if (self) { + _isEmmManaged = isEmmManaged; + _loginMethod = loginMethod; + } + return self; +} + +- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod { + return [self initWithLoginMethod:loginMethod isEmmManaged:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLoginSuccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLoginSuccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLoginSuccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.loginMethod hash]; + if (self.isEmmManaged != nil) { + result = prime * result + [self.isEmmManaged hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLoginSuccessDetails:other]; +} + +- (BOOL)isEqualToLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)aLoginSuccessDetails { + if (self == aLoginSuccessDetails) { + return YES; + } + if (![self.loginMethod isEqual:aLoginSuccessDetails.loginMethod]) { + return NO; + } + if (self.isEmmManaged) { + if (![self.isEmmManaged isEqual:aLoginSuccessDetails.isEmmManaged]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLoginSuccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLoginSuccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"login_method"] = [DBTEAMLOGLoginMethodSerializer serialize:valueObj.loginMethod]; + if (valueObj.isEmmManaged) { + jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; + } + + return jsonDict; +} + ++ (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLoginMethod *loginMethod = [DBTEAMLOGLoginMethodSerializer deserialize:valueDict[@"login_method"]]; + NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; + + return [[DBTEAMLOGLoginSuccessDetails alloc] initWithLoginMethod:loginMethod isEmmManaged:isEmmManaged]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLoginSuccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLoginSuccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLoginSuccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLoginSuccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLoginSuccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLoginSuccessType:other]; +} + +- (BOOL)isEqualToLoginSuccessType:(DBTEAMLOGLoginSuccessType *)aLoginSuccessType { + if (self == aLoginSuccessType) { + return YES; + } + if (![self.description_ isEqual:aLoginSuccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLoginSuccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLoginSuccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLoginSuccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLoginSuccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLogoutDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLogoutDetails + +#pragma mark - Constructors + +- (instancetype)initWithLoginId:(NSString *)loginId { + + self = [super init]; + if (self) { + _loginId = loginId; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithLoginId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLogoutDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLogoutDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLogoutDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.loginId != nil) { + result = prime * result + [self.loginId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLogoutDetails:other]; +} + +- (BOOL)isEqualToLogoutDetails:(DBTEAMLOGLogoutDetails *)aLogoutDetails { + if (self == aLogoutDetails) { + return YES; + } + if (self.loginId) { + if (![self.loginId isEqual:aLogoutDetails.loginId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLogoutDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLogoutDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.loginId) { + jsonDict[@"login_id"] = valueObj.loginId; + } + + return jsonDict; +} + ++ (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)valueDict { + NSString *loginId = valueDict[@"login_id"] ?: nil; + + return [[DBTEAMLOGLogoutDetails alloc] initWithLoginId:loginId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLogoutType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGLogoutType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGLogoutTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGLogoutTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGLogoutTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToLogoutType:other]; +} + +- (BOOL)isEqualToLogoutType:(DBTEAMLOGLogoutType *)aLogoutType { + if (self == aLogoutType) { + return YES; + } + if (![self.description_ isEqual:aLogoutType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGLogoutTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGLogoutType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGLogoutType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGLogoutType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberAddExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberAddExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberAddExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberAddExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberAddExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddExternalIdDetails:other]; +} + +- (BOOL)isEqualToMemberAddExternalIdDetails:(DBTEAMLOGMemberAddExternalIdDetails *)aMemberAddExternalIdDetails { + if (self == aMemberAddExternalIdDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberAddExternalIdDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberAddExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberAddExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGMemberAddExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGMemberAddExternalIdDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberAddExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberAddExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberAddExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberAddExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberAddExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddExternalIdType:other]; +} + +- (BOOL)isEqualToMemberAddExternalIdType:(DBTEAMLOGMemberAddExternalIdType *)aMemberAddExternalIdType { + if (self == aMemberAddExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aMemberAddExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberAddExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberAddExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberAddExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberAddExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberAddNameDetails.h" +#import "DBTEAMLOGUserNameLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberAddNameDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberAddNameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberAddNameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberAddNameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddNameDetails:other]; +} + +- (BOOL)isEqualToMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)aMemberAddNameDetails { + if (self == aMemberAddNameDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberAddNameDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberAddNameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberAddNameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserNameLogInfo *dNewValue = [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGMemberAddNameDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberAddNameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberAddNameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberAddNameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberAddNameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberAddNameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberAddNameType:other]; +} + +- (BOOL)isEqualToMemberAddNameType:(DBTEAMLOGMemberAddNameType *)aMemberAddNameType { + if (self == aMemberAddNameType) { + return YES; + } + if (![self.description_ isEqual:aMemberAddNameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberAddNameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberAddNameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberAddNameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberAddNameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAdminRole.h" +#import "DBTEAMLOGMemberChangeAdminRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeAdminRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGAdminRole *)dNewValue previousValue:(DBTEAMLOGAdminRole *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeAdminRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeAdminRoleDetails:other]; +} + +- (BOOL)isEqualToMemberChangeAdminRoleDetails:(DBTEAMLOGMemberChangeAdminRoleDetails *)aMemberChangeAdminRoleDetails { + if (self == aMemberChangeAdminRoleDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aMemberChangeAdminRoleDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberChangeAdminRoleDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeAdminRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMLOGAdminRoleSerializer serialize:valueObj.dNewValue]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGAdminRoleSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAdminRole *dNewValue = + valueDict[@"new_value"] ? [DBTEAMLOGAdminRoleSerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMLOGAdminRole *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGAdminRoleSerializer deserialize:valueDict[@"previous_value"]] : nil; + + return [[DBTEAMLOGMemberChangeAdminRoleDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeAdminRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeAdminRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeAdminRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeAdminRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeAdminRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeAdminRoleType:other]; +} + +- (BOOL)isEqualToMemberChangeAdminRoleType:(DBTEAMLOGMemberChangeAdminRoleType *)aMemberChangeAdminRoleType { + if (self == aMemberChangeAdminRoleType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeAdminRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeAdminRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeAdminRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeAdminRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeEmailDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeEmailDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](dNewValue); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(NSString *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeEmailDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeEmailDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeEmailDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeEmailDetails:other]; +} + +- (BOOL)isEqualToMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)aMemberChangeEmailDetails { + if (self == aMemberChangeEmailDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberChangeEmailDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberChangeEmailDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeEmailDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = valueObj.previousValue; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + NSString *previousValue = valueDict[@"previous_value"] ?: nil; + + return [[DBTEAMLOGMemberChangeEmailDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeEmailType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeEmailType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeEmailTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeEmailTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeEmailTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeEmailType:other]; +} + +- (BOOL)isEqualToMemberChangeEmailType:(DBTEAMLOGMemberChangeEmailType *)aMemberChangeEmailType { + if (self == aMemberChangeEmailType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeEmailType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeEmailTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeEmailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeEmailType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](dNewValue); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeExternalIdDetails:other]; +} + +- (BOOL)isEqualToMemberChangeExternalIdDetails: + (DBTEAMLOGMemberChangeExternalIdDetails *)aMemberChangeExternalIdDetails { + if (self == aMemberChangeExternalIdDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberChangeExternalIdDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aMemberChangeExternalIdDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"previous_value"] = valueObj.previousValue; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + NSString *previousValue = valueDict[@"previous_value"]; + + return [[DBTEAMLOGMemberChangeExternalIdDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeExternalIdType:other]; +} + +- (BOOL)isEqualToMemberChangeExternalIdType:(DBTEAMLOGMemberChangeExternalIdType *)aMemberChangeExternalIdType { + if (self == aMemberChangeExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeMembershipTypeDetails.h" +#import "DBTEAMLOGTeamMembershipType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeMembershipTypeDetails + +#pragma mark - Constructors + +- (instancetype)initWithPrevValue:(DBTEAMLOGTeamMembershipType *)prevValue + dNewValue:(DBTEAMLOGTeamMembershipType *)dNewValue { + [DBStoneValidators nonnullValidator:nil](prevValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _prevValue = prevValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.prevValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeMembershipTypeDetails:other]; +} + +- (BOOL)isEqualToMemberChangeMembershipTypeDetails: + (DBTEAMLOGMemberChangeMembershipTypeDetails *)aMemberChangeMembershipTypeDetails { + if (self == aMemberChangeMembershipTypeDetails) { + return YES; + } + if (![self.prevValue isEqual:aMemberChangeMembershipTypeDetails.prevValue]) { + return NO; + } + if (![self.dNewValue isEqual:aMemberChangeMembershipTypeDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"prev_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.prevValue]; + jsonDict[@"new_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamMembershipType *prevValue = [DBTEAMLOGTeamMembershipTypeSerializer deserialize:valueDict[@"prev_value"]]; + DBTEAMLOGTeamMembershipType *dNewValue = [DBTEAMLOGTeamMembershipTypeSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGMemberChangeMembershipTypeDetails alloc] initWithPrevValue:prevValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeMembershipTypeType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeMembershipTypeType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeMembershipTypeTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeMembershipTypeTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeMembershipTypeTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeMembershipTypeType:other]; +} + +- (BOOL)isEqualToMemberChangeMembershipTypeType: + (DBTEAMLOGMemberChangeMembershipTypeType *)aMemberChangeMembershipTypeType { + if (self == aMemberChangeMembershipTypeType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeMembershipTypeType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeMembershipTypeTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeMembershipTypeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeMembershipTypeType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeNameDetails.h" +#import "DBTEAMLOGUserNameLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeNameDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue + previousValue:(DBTEAMLOGUserNameLogInfo *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeNameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeNameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeNameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeNameDetails:other]; +} + +- (BOOL)isEqualToMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)aMemberChangeNameDetails { + if (self == aMemberChangeNameDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberChangeNameDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberChangeNameDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeNameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserNameLogInfo *dNewValue = [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGUserNameLogInfo *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGMemberChangeNameDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeNameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeNameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeNameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeNameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeNameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeNameType:other]; +} + +- (BOOL)isEqualToMemberChangeNameType:(DBTEAMLOGMemberChangeNameType *)aMemberChangeNameType { + if (self == aMemberChangeNameType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeNameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeNameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeNameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeNameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeResellerRoleDetails.h" +#import "DBTEAMLOGResellerRole.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeResellerRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGResellerRole *)dNewValue + previousValue:(DBTEAMLOGResellerRole *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeResellerRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeResellerRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeResellerRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeResellerRoleDetails:other]; +} + +- (BOOL)isEqualToMemberChangeResellerRoleDetails: + (DBTEAMLOGMemberChangeResellerRoleDetails *)aMemberChangeResellerRoleDetails { + if (self == aMemberChangeResellerRoleDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberChangeResellerRoleDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aMemberChangeResellerRoleDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeResellerRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeResellerRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGResellerRoleSerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGResellerRoleSerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeResellerRoleDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGResellerRole *dNewValue = [DBTEAMLOGResellerRoleSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGResellerRole *previousValue = [DBTEAMLOGResellerRoleSerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGMemberChangeResellerRoleDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeResellerRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeResellerRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeResellerRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeResellerRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeResellerRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeResellerRoleType:other]; +} + +- (BOOL)isEqualToMemberChangeResellerRoleType:(DBTEAMLOGMemberChangeResellerRoleType *)aMemberChangeResellerRoleType { + if (self == aMemberChangeResellerRoleType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeResellerRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeResellerRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeResellerRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeResellerRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeResellerRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGActionDetails.h" +#import "DBTEAMLOGMemberChangeStatusDetails.h" +#import "DBTEAMLOGMemberStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeStatusDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue + previousValue:(DBTEAMLOGMemberStatus *)previousValue + action:(DBTEAMLOGActionDetails *)action + dNewTeam:(NSString *)dNewTeam + previousTeam:(NSString *)previousTeam { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + _action = action; + _dNewTeam = dNewTeam; + _previousTeam = previousTeam; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil action:nil dNewTeam:nil previousTeam:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeStatusDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeStatusDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeStatusDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + if (self.action != nil) { + result = prime * result + [self.action hash]; + } + if (self.dNewTeam != nil) { + result = prime * result + [self.dNewTeam hash]; + } + if (self.previousTeam != nil) { + result = prime * result + [self.previousTeam hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeStatusDetails:other]; +} + +- (BOOL)isEqualToMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)aMemberChangeStatusDetails { + if (self == aMemberChangeStatusDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberChangeStatusDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberChangeStatusDetails.previousValue]) { + return NO; + } + } + if (self.action) { + if (![self.action isEqual:aMemberChangeStatusDetails.action]) { + return NO; + } + } + if (self.dNewTeam) { + if (![self.dNewTeam isEqual:aMemberChangeStatusDetails.dNewTeam]) { + return NO; + } + } + if (self.previousTeam) { + if (![self.previousTeam isEqual:aMemberChangeStatusDetails.previousTeam]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeStatusDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGMemberStatusSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGMemberStatusSerializer serialize:valueObj.previousValue]; + } + if (valueObj.action) { + jsonDict[@"action"] = [DBTEAMLOGActionDetailsSerializer serialize:valueObj.action]; + } + if (valueObj.dNewTeam) { + jsonDict[@"new_team"] = valueObj.dNewTeam; + } + if (valueObj.previousTeam) { + jsonDict[@"previous_team"] = valueObj.previousTeam; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGMemberStatus *dNewValue = [DBTEAMLOGMemberStatusSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGMemberStatus *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGMemberStatusSerializer deserialize:valueDict[@"previous_value"]] : nil; + DBTEAMLOGActionDetails *action = + valueDict[@"action"] ? [DBTEAMLOGActionDetailsSerializer deserialize:valueDict[@"action"]] : nil; + NSString *dNewTeam = valueDict[@"new_team"] ?: nil; + NSString *previousTeam = valueDict[@"previous_team"] ?: nil; + + return [[DBTEAMLOGMemberChangeStatusDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue + action:action + dNewTeam:dNewTeam + previousTeam:previousTeam]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberChangeStatusType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberChangeStatusType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberChangeStatusTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberChangeStatusTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberChangeStatusTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberChangeStatusType:other]; +} + +- (BOOL)isEqualToMemberChangeStatusType:(DBTEAMLOGMemberChangeStatusType *)aMemberChangeStatusType { + if (self == aMemberChangeStatusType) { + return YES; + } + if (![self.description_ isEqual:aMemberChangeStatusType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberChangeStatusTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberChangeStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberChangeStatusType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberDeleteManualContactsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberDeleteManualContactsDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberDeleteManualContactsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberDeleteManualContactsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberDeleteManualContactsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberDeleteManualContactsDetails:other]; +} + +- (BOOL)isEqualToMemberDeleteManualContactsDetails: + (DBTEAMLOGMemberDeleteManualContactsDetails *)aMemberDeleteManualContactsDetails { + if (self == aMemberDeleteManualContactsDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberDeleteManualContactsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberDeleteManualContactsDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberDeleteManualContactsDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberDeleteManualContactsDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberDeleteManualContactsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberDeleteManualContactsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberDeleteManualContactsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberDeleteManualContactsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberDeleteManualContactsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberDeleteManualContactsType:other]; +} + +- (BOOL)isEqualToMemberDeleteManualContactsType: + (DBTEAMLOGMemberDeleteManualContactsType *)aMemberDeleteManualContactsType { + if (self == aMemberDeleteManualContactsType) { + return YES; + } + if (![self.description_ isEqual:aMemberDeleteManualContactsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberDeleteManualContactsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberDeleteManualContactsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberDeleteManualContactsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberDeleteManualContactsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberDeleteProfilePhotoDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberDeleteProfilePhotoDetails:other]; +} + +- (BOOL)isEqualToMemberDeleteProfilePhotoDetails: + (DBTEAMLOGMemberDeleteProfilePhotoDetails *)aMemberDeleteProfilePhotoDetails { + if (self == aMemberDeleteProfilePhotoDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberDeleteProfilePhotoDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberDeleteProfilePhotoDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberDeleteProfilePhotoDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberDeleteProfilePhotoType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberDeleteProfilePhotoType:other]; +} + +- (BOOL)isEqualToMemberDeleteProfilePhotoType:(DBTEAMLOGMemberDeleteProfilePhotoType *)aMemberDeleteProfilePhotoType { + if (self == aMemberDeleteProfilePhotoType) { + return YES; + } + if (![self.description_ isEqual:aMemberDeleteProfilePhotoType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberDeleteProfilePhotoType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberDeleteProfilePhotoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberDeleteProfilePhotoType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberPermanentlyDeleteAccountContentsDetails:other]; +} + +- (BOOL)isEqualToMemberPermanentlyDeleteAccountContentsDetails: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)aMemberPermanentlyDeleteAccountContentsDetails { + if (self == aMemberPermanentlyDeleteAccountContentsDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberPermanentlyDeleteAccountContentsType:other]; +} + +- (BOOL)isEqualToMemberPermanentlyDeleteAccountContentsType: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)aMemberPermanentlyDeleteAccountContentsType { + if (self == aMemberPermanentlyDeleteAccountContentsType) { + return YES; + } + if (![self.description_ isEqual:aMemberPermanentlyDeleteAccountContentsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRemoveActionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRemoveActionType + +#pragma mark - Constructors + +- (instancetype)initWithDelete_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRemoveActionTypeDelete_; + } + return self; +} + +- (instancetype)initWithLeave { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRemoveActionTypeLeave; + } + return self; +} + +- (instancetype)initWithOffboard { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRemoveActionTypeOffboard; + } + return self; +} + +- (instancetype)initWithOffboardAndRetainTeamFolders { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRemoveActionTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDelete_ { + return _tag == DBTEAMLOGMemberRemoveActionTypeDelete_; +} + +- (BOOL)isLeave { + return _tag == DBTEAMLOGMemberRemoveActionTypeLeave; +} + +- (BOOL)isOffboard { + return _tag == DBTEAMLOGMemberRemoveActionTypeOffboard; +} + +- (BOOL)isOffboardAndRetainTeamFolders { + return _tag == DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMemberRemoveActionTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMemberRemoveActionTypeDelete_: + return @"DBTEAMLOGMemberRemoveActionTypeDelete_"; + case DBTEAMLOGMemberRemoveActionTypeLeave: + return @"DBTEAMLOGMemberRemoveActionTypeLeave"; + case DBTEAMLOGMemberRemoveActionTypeOffboard: + return @"DBTEAMLOGMemberRemoveActionTypeOffboard"; + case DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders: + return @"DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders"; + case DBTEAMLOGMemberRemoveActionTypeOther: + return @"DBTEAMLOGMemberRemoveActionTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRemoveActionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRemoveActionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRemoveActionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMemberRemoveActionTypeDelete_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRemoveActionTypeLeave: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRemoveActionTypeOffboard: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRemoveActionTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRemoveActionType:other]; +} + +- (BOOL)isEqualToMemberRemoveActionType:(DBTEAMLOGMemberRemoveActionType *)aMemberRemoveActionType { + if (self == aMemberRemoveActionType) { + return YES; + } + if (self.tag != aMemberRemoveActionType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMemberRemoveActionTypeDelete_: + return [[self tagName] isEqual:[aMemberRemoveActionType tagName]]; + case DBTEAMLOGMemberRemoveActionTypeLeave: + return [[self tagName] isEqual:[aMemberRemoveActionType tagName]]; + case DBTEAMLOGMemberRemoveActionTypeOffboard: + return [[self tagName] isEqual:[aMemberRemoveActionType tagName]]; + case DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders: + return [[self tagName] isEqual:[aMemberRemoveActionType tagName]]; + case DBTEAMLOGMemberRemoveActionTypeOther: + return [[self tagName] isEqual:[aMemberRemoveActionType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRemoveActionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRemoveActionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDelete_]) { + jsonDict[@".tag"] = @"delete"; + } else if ([valueObj isLeave]) { + jsonDict[@".tag"] = @"leave"; + } else if ([valueObj isOffboard]) { + jsonDict[@".tag"] = @"offboard"; + } else if ([valueObj isOffboardAndRetainTeamFolders]) { + jsonDict[@".tag"] = @"offboard_and_retain_team_folders"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberRemoveActionType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"delete"]) { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithDelete_]; + } else if ([tag isEqualToString:@"leave"]) { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithLeave]; + } else if ([tag isEqualToString:@"offboard"]) { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithOffboard]; + } else if ([tag isEqualToString:@"offboard_and_retain_team_folders"]) { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithOffboardAndRetainTeamFolders]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithOther]; + } else { + return [[DBTEAMLOGMemberRemoveActionType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRemoveExternalIdDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRemoveExternalIdDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSString *)previousValue { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](previousValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRemoveExternalIdDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRemoveExternalIdDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRemoveExternalIdDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRemoveExternalIdDetails:other]; +} + +- (BOOL)isEqualToMemberRemoveExternalIdDetails: + (DBTEAMLOGMemberRemoveExternalIdDetails *)aMemberRemoveExternalIdDetails { + if (self == aMemberRemoveExternalIdDetails) { + return YES; + } + if (![self.previousValue isEqual:aMemberRemoveExternalIdDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRemoveExternalIdDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRemoveExternalIdDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = valueObj.previousValue; + + return jsonDict; +} + ++ (DBTEAMLOGMemberRemoveExternalIdDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; + + return [[DBTEAMLOGMemberRemoveExternalIdDetails alloc] initWithPreviousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRemoveExternalIdType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRemoveExternalIdType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRemoveExternalIdTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRemoveExternalIdTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRemoveExternalIdTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRemoveExternalIdType:other]; +} + +- (BOOL)isEqualToMemberRemoveExternalIdType:(DBTEAMLOGMemberRemoveExternalIdType *)aMemberRemoveExternalIdType { + if (self == aMemberRemoveExternalIdType) { + return YES; + } + if (![self.description_ isEqual:aMemberRemoveExternalIdType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRemoveExternalIdTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRemoveExternalIdType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberRemoveExternalIdType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberRemoveExternalIdType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRequestsChangePolicyDetails.h" +#import "DBTEAMLOGMemberRequestsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRequestsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue + previousValue:(DBTEAMLOGMemberRequestsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRequestsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToMemberRequestsChangePolicyDetails: + (DBTEAMLOGMemberRequestsChangePolicyDetails *)aMemberRequestsChangePolicyDetails { + if (self == aMemberRequestsChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberRequestsChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberRequestsChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGMemberRequestsPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGMemberRequestsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGMemberRequestsPolicy *dNewValue = + [DBTEAMLOGMemberRequestsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGMemberRequestsPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGMemberRequestsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGMemberRequestsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRequestsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRequestsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRequestsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRequestsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRequestsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRequestsChangePolicyType:other]; +} + +- (BOOL)isEqualToMemberRequestsChangePolicyType: + (DBTEAMLOGMemberRequestsChangePolicyType *)aMemberRequestsChangePolicyType { + if (self == aMemberRequestsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aMemberRequestsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRequestsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberRequestsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberRequestsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberRequestsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberRequestsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithAutoAccept { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRequestsPolicyAutoAccept; + } + return self; +} + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRequestsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithRequireApproval { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRequestsPolicyRequireApproval; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberRequestsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAutoAccept { + return _tag == DBTEAMLOGMemberRequestsPolicyAutoAccept; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGMemberRequestsPolicyDisabled; +} + +- (BOOL)isRequireApproval { + return _tag == DBTEAMLOGMemberRequestsPolicyRequireApproval; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMemberRequestsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMemberRequestsPolicyAutoAccept: + return @"DBTEAMLOGMemberRequestsPolicyAutoAccept"; + case DBTEAMLOGMemberRequestsPolicyDisabled: + return @"DBTEAMLOGMemberRequestsPolicyDisabled"; + case DBTEAMLOGMemberRequestsPolicyRequireApproval: + return @"DBTEAMLOGMemberRequestsPolicyRequireApproval"; + case DBTEAMLOGMemberRequestsPolicyOther: + return @"DBTEAMLOGMemberRequestsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberRequestsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberRequestsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberRequestsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMemberRequestsPolicyAutoAccept: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRequestsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRequestsPolicyRequireApproval: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberRequestsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberRequestsPolicy:other]; +} + +- (BOOL)isEqualToMemberRequestsPolicy:(DBTEAMLOGMemberRequestsPolicy *)aMemberRequestsPolicy { + if (self == aMemberRequestsPolicy) { + return YES; + } + if (self.tag != aMemberRequestsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMemberRequestsPolicyAutoAccept: + return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; + case DBTEAMLOGMemberRequestsPolicyDisabled: + return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; + case DBTEAMLOGMemberRequestsPolicyRequireApproval: + return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; + case DBTEAMLOGMemberRequestsPolicyOther: + return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberRequestsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberRequestsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAutoAccept]) { + jsonDict[@".tag"] = @"auto_accept"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isRequireApproval]) { + jsonDict[@".tag"] = @"require_approval"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"auto_accept"]) { + return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithAutoAccept]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"require_approval"]) { + return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithRequireApproval]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSendInvitePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSendInvitePolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSendInvitePolicyDisabled; + } + return self; +} + +- (instancetype)initWithEveryone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSendInvitePolicyEveryone; + } + return self; +} + +- (instancetype)initWithSpecificMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSendInvitePolicySpecificMembers; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSendInvitePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGMemberSendInvitePolicyDisabled; +} + +- (BOOL)isEveryone { + return _tag == DBTEAMLOGMemberSendInvitePolicyEveryone; +} + +- (BOOL)isSpecificMembers { + return _tag == DBTEAMLOGMemberSendInvitePolicySpecificMembers; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMemberSendInvitePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMemberSendInvitePolicyDisabled: + return @"DBTEAMLOGMemberSendInvitePolicyDisabled"; + case DBTEAMLOGMemberSendInvitePolicyEveryone: + return @"DBTEAMLOGMemberSendInvitePolicyEveryone"; + case DBTEAMLOGMemberSendInvitePolicySpecificMembers: + return @"DBTEAMLOGMemberSendInvitePolicySpecificMembers"; + case DBTEAMLOGMemberSendInvitePolicyOther: + return @"DBTEAMLOGMemberSendInvitePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSendInvitePolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSendInvitePolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSendInvitePolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMemberSendInvitePolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberSendInvitePolicyEveryone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberSendInvitePolicySpecificMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberSendInvitePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSendInvitePolicy:other]; +} + +- (BOOL)isEqualToMemberSendInvitePolicy:(DBTEAMLOGMemberSendInvitePolicy *)aMemberSendInvitePolicy { + if (self == aMemberSendInvitePolicy) { + return YES; + } + if (self.tag != aMemberSendInvitePolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMemberSendInvitePolicyDisabled: + return [[self tagName] isEqual:[aMemberSendInvitePolicy tagName]]; + case DBTEAMLOGMemberSendInvitePolicyEveryone: + return [[self tagName] isEqual:[aMemberSendInvitePolicy tagName]]; + case DBTEAMLOGMemberSendInvitePolicySpecificMembers: + return [[self tagName] isEqual:[aMemberSendInvitePolicy tagName]]; + case DBTEAMLOGMemberSendInvitePolicyOther: + return [[self tagName] isEqual:[aMemberSendInvitePolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSendInvitePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEveryone]) { + jsonDict[@".tag"] = @"everyone"; + } else if ([valueObj isSpecificMembers]) { + jsonDict[@".tag"] = @"specific_members"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberSendInvitePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGMemberSendInvitePolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"everyone"]) { + return [[DBTEAMLOGMemberSendInvitePolicy alloc] initWithEveryone]; + } else if ([tag isEqualToString:@"specific_members"]) { + return [[DBTEAMLOGMemberSendInvitePolicy alloc] initWithSpecificMembers]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMemberSendInvitePolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGMemberSendInvitePolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSendInvitePolicy.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSendInvitePolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSendInvitePolicy *)dNewValue + previousValue:(DBTEAMLOGMemberSendInvitePolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSendInvitePolicyChangedDetails:other]; +} + +- (BOOL)isEqualToMemberSendInvitePolicyChangedDetails: + (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)aMemberSendInvitePolicyChangedDetails { + if (self == aMemberSendInvitePolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberSendInvitePolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aMemberSendInvitePolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGMemberSendInvitePolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGMemberSendInvitePolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGMemberSendInvitePolicy *dNewValue = + [DBTEAMLOGMemberSendInvitePolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGMemberSendInvitePolicy *previousValue = + [DBTEAMLOGMemberSendInvitePolicySerializer deserialize:valueDict[@"previous_value"]]; + + return + [[DBTEAMLOGMemberSendInvitePolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSendInvitePolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSendInvitePolicyChangedType:other]; +} + +- (BOOL)isEqualToMemberSendInvitePolicyChangedType: + (DBTEAMLOGMemberSendInvitePolicyChangedType *)aMemberSendInvitePolicyChangedType { + if (self == aMemberSendInvitePolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aMemberSendInvitePolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSendInvitePolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSendInvitePolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSetProfilePhotoDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSetProfilePhotoDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSetProfilePhotoDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSetProfilePhotoDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSetProfilePhotoDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSetProfilePhotoDetails:other]; +} + +- (BOOL)isEqualToMemberSetProfilePhotoDetails:(DBTEAMLOGMemberSetProfilePhotoDetails *)aMemberSetProfilePhotoDetails { + if (self == aMemberSetProfilePhotoDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSetProfilePhotoDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSetProfilePhotoDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSetProfilePhotoDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberSetProfilePhotoDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSetProfilePhotoType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSetProfilePhotoType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSetProfilePhotoTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSetProfilePhotoTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSetProfilePhotoTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSetProfilePhotoType:other]; +} + +- (BOOL)isEqualToMemberSetProfilePhotoType:(DBTEAMLOGMemberSetProfilePhotoType *)aMemberSetProfilePhotoType { + if (self == aMemberSetProfilePhotoType) { + return YES; + } + if (![self.description_ isEqual:aMemberSetProfilePhotoType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSetProfilePhotoTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSetProfilePhotoType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSetProfilePhotoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSetProfilePhotoType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSNumber *)dNewValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsAddCustomQuotaDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsAddCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)aMemberSpaceLimitsAddCustomQuotaDetails { + if (self == aMemberSpaceLimitsAddCustomQuotaDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberSpaceLimitsAddCustomQuotaDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsAddCustomQuotaType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsAddCustomQuotaType: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)aMemberSpaceLimitsAddCustomQuotaType { + if (self == aMemberSpaceLimitsAddCustomQuotaType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsAddCustomQuotaType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsAddExceptionDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsAddExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)aMemberSpaceLimitsAddExceptionDetails { + if (self == aMemberSpaceLimitsAddExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberSpaceLimitsAddExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsAddExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsAddExceptionType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsAddExceptionType: + (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)aMemberSpaceLimitsAddExceptionType { + if (self == aMemberSpaceLimitsAddExceptionType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsAddExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsAddExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h" +#import "DBTEAMLOGSpaceCapsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGSpaceCapsType *)previousValue + dNewValue:(DBTEAMLOGSpaceCapsType *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeCapsTypePolicyDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeCapsTypePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)aMemberSpaceLimitsChangeCapsTypePolicyDetails { + if (self == aMemberSpaceLimitsChangeCapsTypePolicyDetails) { + return YES; + } + if (![self.previousValue isEqual:aMemberSpaceLimitsChangeCapsTypePolicyDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aMemberSpaceLimitsChangeCapsTypePolicyDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGSpaceCapsTypeSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGSpaceCapsTypeSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSpaceCapsType *previousValue = [DBTEAMLOGSpaceCapsTypeSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGSpaceCapsType *dNewValue = [DBTEAMLOGSpaceCapsTypeSerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeCapsTypePolicyType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeCapsTypePolicyType: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)aMemberSpaceLimitsChangeCapsTypePolicyType { + if (self == aMemberSpaceLimitsChangeCapsTypePolicyType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsChangeCapsTypePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeCustomQuotaDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)aMemberSpaceLimitsChangeCustomQuotaDetails { + if (self == aMemberSpaceLimitsChangeCustomQuotaDetails) { + return YES; + } + if (![self.previousValue isEqual:aMemberSpaceLimitsChangeCustomQuotaDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aMemberSpaceLimitsChangeCustomQuotaDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *previousValue = valueDict[@"previous_value"]; + NSNumber *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeCustomQuotaType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeCustomQuotaType: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)aMemberSpaceLimitsChangeCustomQuotaType { + if (self == aMemberSpaceLimitsChangeCustomQuotaType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsChangeCustomQuotaType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue { + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithPreviousValue:nil dNewValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)aMemberSpaceLimitsChangePolicyDetails { + if (self == aMemberSpaceLimitsChangePolicyDetails) { + return YES; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberSpaceLimitsChangePolicyDetails.previousValue]) { + return NO; + } + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aMemberSpaceLimitsChangePolicyDetails.dNewValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = valueObj.previousValue; + } + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = valueObj.dNewValue; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *previousValue = valueDict[@"previous_value"] ?: nil; + NSNumber *dNewValue = valueDict[@"new_value"] ?: nil; + + return + [[DBTEAMLOGMemberSpaceLimitsChangePolicyDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangePolicyType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangePolicyType: + (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)aMemberSpaceLimitsChangePolicyType { + if (self == aMemberSpaceLimitsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h" +#import "DBTEAMLOGSpaceLimitsStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGSpaceLimitsStatus *)previousValue + dNewValue:(DBTEAMLOGSpaceLimitsStatus *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeStatusDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeStatusDetails: + (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)aMemberSpaceLimitsChangeStatusDetails { + if (self == aMemberSpaceLimitsChangeStatusDetails) { + return YES; + } + if (![self.previousValue isEqual:aMemberSpaceLimitsChangeStatusDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aMemberSpaceLimitsChangeStatusDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSpaceLimitsStatus *previousValue = + [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGSpaceLimitsStatus *dNewValue = [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:valueDict[@"new_value"]]; + + return + [[DBTEAMLOGMemberSpaceLimitsChangeStatusDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeStatusType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsChangeStatusType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsChangeStatusType: + (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)aMemberSpaceLimitsChangeStatusType { + if (self == aMemberSpaceLimitsChangeStatusType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsChangeStatusType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsChangeStatusType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsRemoveCustomQuotaDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsRemoveCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)aMemberSpaceLimitsRemoveCustomQuotaDetails { + if (self == aMemberSpaceLimitsRemoveCustomQuotaDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsRemoveCustomQuotaType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsRemoveCustomQuotaType: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)aMemberSpaceLimitsRemoveCustomQuotaType { + if (self == aMemberSpaceLimitsRemoveCustomQuotaType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsRemoveCustomQuotaType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsRemoveExceptionDetails:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsRemoveExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)aMemberSpaceLimitsRemoveExceptionDetails { + if (self == aMemberSpaceLimitsRemoveExceptionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSpaceLimitsRemoveExceptionType:other]; +} + +- (BOOL)isEqualToMemberSpaceLimitsRemoveExceptionType: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)aMemberSpaceLimitsRemoveExceptionType { + if (self == aMemberSpaceLimitsRemoveExceptionType) { + return YES; + } + if (![self.description_ isEqual:aMemberSpaceLimitsRemoveExceptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberStatus.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberStatus + +#pragma mark - Constructors + +- (instancetype)initWithActive { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusActive; + } + return self; +} + +- (instancetype)initWithInvited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusInvited; + } + return self; +} + +- (instancetype)initWithMovedToAnotherTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusMovedToAnotherTeam; + } + return self; +} + +- (instancetype)initWithNotJoined { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusNotJoined; + } + return self; +} + +- (instancetype)initWithRemoved { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusRemoved; + } + return self; +} + +- (instancetype)initWithSuspended { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusSuspended; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberStatusOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isActive { + return _tag == DBTEAMLOGMemberStatusActive; +} + +- (BOOL)isInvited { + return _tag == DBTEAMLOGMemberStatusInvited; +} + +- (BOOL)isMovedToAnotherTeam { + return _tag == DBTEAMLOGMemberStatusMovedToAnotherTeam; +} + +- (BOOL)isNotJoined { + return _tag == DBTEAMLOGMemberStatusNotJoined; +} + +- (BOOL)isRemoved { + return _tag == DBTEAMLOGMemberStatusRemoved; +} + +- (BOOL)isSuspended { + return _tag == DBTEAMLOGMemberStatusSuspended; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMemberStatusOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMemberStatusActive: + return @"DBTEAMLOGMemberStatusActive"; + case DBTEAMLOGMemberStatusInvited: + return @"DBTEAMLOGMemberStatusInvited"; + case DBTEAMLOGMemberStatusMovedToAnotherTeam: + return @"DBTEAMLOGMemberStatusMovedToAnotherTeam"; + case DBTEAMLOGMemberStatusNotJoined: + return @"DBTEAMLOGMemberStatusNotJoined"; + case DBTEAMLOGMemberStatusRemoved: + return @"DBTEAMLOGMemberStatusRemoved"; + case DBTEAMLOGMemberStatusSuspended: + return @"DBTEAMLOGMemberStatusSuspended"; + case DBTEAMLOGMemberStatusOther: + return @"DBTEAMLOGMemberStatusOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberStatusSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberStatusSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberStatusSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMemberStatusActive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusInvited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusMovedToAnotherTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusNotJoined: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusRemoved: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusSuspended: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberStatusOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberStatus:other]; +} + +- (BOOL)isEqualToMemberStatus:(DBTEAMLOGMemberStatus *)aMemberStatus { + if (self == aMemberStatus) { + return YES; + } + if (self.tag != aMemberStatus.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMemberStatusActive: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusInvited: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusMovedToAnotherTeam: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusNotJoined: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusRemoved: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusSuspended: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + case DBTEAMLOGMemberStatusOther: + return [[self tagName] isEqual:[aMemberStatus tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberStatusSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberStatus *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isActive]) { + jsonDict[@".tag"] = @"active"; + } else if ([valueObj isInvited]) { + jsonDict[@".tag"] = @"invited"; + } else if ([valueObj isMovedToAnotherTeam]) { + jsonDict[@".tag"] = @"moved_to_another_team"; + } else if ([valueObj isNotJoined]) { + jsonDict[@".tag"] = @"not_joined"; + } else if ([valueObj isRemoved]) { + jsonDict[@".tag"] = @"removed"; + } else if ([valueObj isSuspended]) { + jsonDict[@".tag"] = @"suspended"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"active"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithActive]; + } else if ([tag isEqualToString:@"invited"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithInvited]; + } else if ([tag isEqualToString:@"moved_to_another_team"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithMovedToAnotherTeam]; + } else if ([tag isEqualToString:@"not_joined"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithNotJoined]; + } else if ([tag isEqualToString:@"removed"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithRemoved]; + } else if ([tag isEqualToString:@"suspended"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithSuspended]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMemberStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGMemberStatus alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSuggestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSuggestDetails + +#pragma mark - Constructors + +- (instancetype)initWithSuggestedMembers:(NSArray *)suggestedMembers { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:nil]]]]( + suggestedMembers); + + self = [super init]; + if (self) { + _suggestedMembers = suggestedMembers; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSuggestDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSuggestDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSuggestDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.suggestedMembers hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSuggestDetails:other]; +} + +- (BOOL)isEqualToMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)aMemberSuggestDetails { + if (self == aMemberSuggestDetails) { + return YES; + } + if (![self.suggestedMembers isEqual:aMemberSuggestDetails.suggestedMembers]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSuggestDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"suggested_members"] = [DBArraySerializer serialize:valueObj.suggestedMembers + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *suggestedMembers = [DBArraySerializer deserialize:valueDict[@"suggested_members"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGMemberSuggestDetails alloc] initWithSuggestedMembers:suggestedMembers]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSuggestType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSuggestType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSuggestTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSuggestTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSuggestTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSuggestType:other]; +} + +- (BOOL)isEqualToMemberSuggestType:(DBTEAMLOGMemberSuggestType *)aMemberSuggestType { + if (self == aMemberSuggestType) { + return YES; + } + if (![self.description_ isEqual:aMemberSuggestType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSuggestTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSuggestType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSuggestType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSuggestionsChangePolicyDetails.h" +#import "DBTEAMLOGMemberSuggestionsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSuggestionsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue + previousValue:(DBTEAMLOGMemberSuggestionsPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSuggestionsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToMemberSuggestionsChangePolicyDetails: + (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)aMemberSuggestionsChangePolicyDetails { + if (self == aMemberSuggestionsChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMemberSuggestionsChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMemberSuggestionsChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGMemberSuggestionsPolicy *dNewValue = + [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGMemberSuggestionsPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return + [[DBTEAMLOGMemberSuggestionsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSuggestionsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSuggestionsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSuggestionsChangePolicyType:other]; +} + +- (BOOL)isEqualToMemberSuggestionsChangePolicyType: + (DBTEAMLOGMemberSuggestionsChangePolicyType *)aMemberSuggestionsChangePolicyType { + if (self == aMemberSuggestionsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aMemberSuggestionsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberSuggestionsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberSuggestionsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberSuggestionsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberSuggestionsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSuggestionsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSuggestionsPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMemberSuggestionsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGMemberSuggestionsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGMemberSuggestionsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMemberSuggestionsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMemberSuggestionsPolicyDisabled: + return @"DBTEAMLOGMemberSuggestionsPolicyDisabled"; + case DBTEAMLOGMemberSuggestionsPolicyEnabled: + return @"DBTEAMLOGMemberSuggestionsPolicyEnabled"; + case DBTEAMLOGMemberSuggestionsPolicyOther: + return @"DBTEAMLOGMemberSuggestionsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberSuggestionsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMemberSuggestionsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberSuggestionsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMemberSuggestionsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberSuggestionsPolicy:other]; +} + +- (BOOL)isEqualToMemberSuggestionsPolicy:(DBTEAMLOGMemberSuggestionsPolicy *)aMemberSuggestionsPolicy { + if (self == aMemberSuggestionsPolicy) { + return YES; + } + if (self.tag != aMemberSuggestionsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMemberSuggestionsPolicyDisabled: + return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; + case DBTEAMLOGMemberSuggestionsPolicyEnabled: + return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; + case DBTEAMLOGMemberSuggestionsPolicyOther: + return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberSuggestionsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberTransferAccountContentsDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberTransferAccountContentsDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberTransferAccountContentsDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberTransferAccountContentsDetails:other]; +} + +- (BOOL)isEqualToMemberTransferAccountContentsDetails: + (DBTEAMLOGMemberTransferAccountContentsDetails *)aMemberTransferAccountContentsDetails { + if (self == aMemberTransferAccountContentsDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberTransferAccountContentsDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGMemberTransferAccountContentsDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberTransferAccountContentsType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberTransferAccountContentsType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberTransferAccountContentsTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberTransferAccountContentsTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberTransferAccountContentsTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberTransferAccountContentsType:other]; +} + +- (BOOL)isEqualToMemberTransferAccountContentsType: + (DBTEAMLOGMemberTransferAccountContentsType *)aMemberTransferAccountContentsType { + if (self == aMemberTransferAccountContentsType) { + return YES; + } + if (![self.description_ isEqual:aMemberTransferAccountContentsType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberTransferAccountContentsTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMemberTransferAccountContentsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMemberTransferAccountContentsType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMemberTransferredInternalFields.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMemberTransferredInternalFields + +#pragma mark - Constructors + +- (instancetype)initWithSourceTeamId:(NSString *)sourceTeamId targetTeamId:(NSString *)targetTeamId { + [DBStoneValidators nonnullValidator:nil](sourceTeamId); + [DBStoneValidators nonnullValidator:nil](targetTeamId); + + self = [super init]; + if (self) { + _sourceTeamId = sourceTeamId; + _targetTeamId = targetTeamId; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMemberTransferredInternalFieldsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMemberTransferredInternalFieldsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMemberTransferredInternalFieldsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sourceTeamId hash]; + result = prime * result + [self.targetTeamId hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMemberTransferredInternalFields:other]; +} + +- (BOOL)isEqualToMemberTransferredInternalFields: + (DBTEAMLOGMemberTransferredInternalFields *)aMemberTransferredInternalFields { + if (self == aMemberTransferredInternalFields) { + return YES; + } + if (![self.sourceTeamId isEqual:aMemberTransferredInternalFields.sourceTeamId]) { + return NO; + } + if (![self.targetTeamId isEqual:aMemberTransferredInternalFields.targetTeamId]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMemberTransferredInternalFieldsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMemberTransferredInternalFields *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"source_team_id"] = valueObj.sourceTeamId; + jsonDict[@"target_team_id"] = valueObj.targetTeamId; + + return jsonDict; +} + ++ (DBTEAMLOGMemberTransferredInternalFields *)deserialize:(NSDictionary *)valueDict { + NSString *sourceTeamId = valueDict[@"source_team_id"]; + NSString *targetTeamId = valueDict[@"target_team_id"]; + + return [[DBTEAMLOGMemberTransferredInternalFields alloc] initWithSourceTeamId:sourceTeamId targetTeamId:targetTeamId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h" +#import "DBTEAMLOGMicrosoftOfficeAddinPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue + previousValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMicrosoftOfficeAddinChangePolicyDetails:other]; +} + +- (BOOL)isEqualToMicrosoftOfficeAddinChangePolicyDetails: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)aMicrosoftOfficeAddinChangePolicyDetails { + if (self == aMicrosoftOfficeAddinChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aMicrosoftOfficeAddinChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aMicrosoftOfficeAddinChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGMicrosoftOfficeAddinPolicy *dNewValue = + [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGMicrosoftOfficeAddinPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMicrosoftOfficeAddinChangePolicyType:other]; +} + +- (BOOL)isEqualToMicrosoftOfficeAddinChangePolicyType: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)aMicrosoftOfficeAddinChangePolicyType { + if (self == aMicrosoftOfficeAddinChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aMicrosoftOfficeAddinChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMicrosoftOfficeAddinPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: + return @"DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled"; + case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: + return @"DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled"; + case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: + return @"DBTEAMLOGMicrosoftOfficeAddinPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMicrosoftOfficeAddinPolicy:other]; +} + +- (BOOL)isEqualToMicrosoftOfficeAddinPolicy:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)aMicrosoftOfficeAddinPolicy { + if (self == aMicrosoftOfficeAddinPolicy) { + return YES; + } + if (self.tag != aMicrosoftOfficeAddinPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: + return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; + case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: + return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; + case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: + return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMicrosoftOfficeAddinPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMissingDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMissingDetails + +#pragma mark - Constructors + +- (instancetype)initWithSourceEventFields:(NSString *)sourceEventFields { + + self = [super init]; + if (self) { + _sourceEventFields = sourceEventFields; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSourceEventFields:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMissingDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMissingDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMissingDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sourceEventFields != nil) { + result = prime * result + [self.sourceEventFields hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMissingDetails:other]; +} + +- (BOOL)isEqualToMissingDetails:(DBTEAMLOGMissingDetails *)aMissingDetails { + if (self == aMissingDetails) { + return YES; + } + if (self.sourceEventFields) { + if (![self.sourceEventFields isEqual:aMissingDetails.sourceEventFields]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMissingDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMissingDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sourceEventFields) { + jsonDict[@"source_event_fields"] = valueObj.sourceEventFields; + } + + return jsonDict; +} + ++ (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sourceEventFields = valueDict[@"source_event_fields"] ?: nil; + + return [[DBTEAMLOGMissingDetails alloc] initWithSourceEventFields:sourceEventFields]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" +#import "DBTEAMLOGMobileDeviceSessionLogInfo.h" +#import "DBTEAMLOGMobileSessionLogInfo.h" +#import "DBTEAMMobileClientPlatform.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMobileDeviceSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithDeviceName:(NSString *)deviceName + clientType:(DBTEAMMobileClientPlatform *)clientType + ipAddress:(NSString *)ipAddress + created:(NSDate *)created + updated:(NSDate *)updated + sessionInfo:(DBTEAMLOGMobileSessionLogInfo *)sessionInfo + clientVersion:(NSString *)clientVersion + osVersion:(NSString *)osVersion + lastCarrier:(NSString *)lastCarrier { + [DBStoneValidators nonnullValidator:nil](deviceName); + [DBStoneValidators nonnullValidator:nil](clientType); + + self = [super initWithIpAddress:ipAddress created:created updated:updated]; + if (self) { + _sessionInfo = sessionInfo; + _deviceName = deviceName; + _clientType = clientType; + _clientVersion = clientVersion; + _osVersion = osVersion; + _lastCarrier = lastCarrier; + } + return self; +} + +- (instancetype)initWithDeviceName:(NSString *)deviceName clientType:(DBTEAMMobileClientPlatform *)clientType { + return [self initWithDeviceName:deviceName + clientType:clientType + ipAddress:nil + created:nil + updated:nil + sessionInfo:nil + clientVersion:nil + osVersion:nil + lastCarrier:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMobileDeviceSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMobileDeviceSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMobileDeviceSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.deviceName hash]; + result = prime * result + [self.clientType hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; + } + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; + } + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; + } + if (self.clientVersion != nil) { + result = prime * result + [self.clientVersion hash]; + } + if (self.osVersion != nil) { + result = prime * result + [self.osVersion hash]; + } + if (self.lastCarrier != nil) { + result = prime * result + [self.lastCarrier hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMobileDeviceSessionLogInfo:other]; +} + +- (BOOL)isEqualToMobileDeviceSessionLogInfo:(DBTEAMLOGMobileDeviceSessionLogInfo *)aMobileDeviceSessionLogInfo { + if (self == aMobileDeviceSessionLogInfo) { + return YES; + } + if (![self.deviceName isEqual:aMobileDeviceSessionLogInfo.deviceName]) { + return NO; + } + if (![self.clientType isEqual:aMobileDeviceSessionLogInfo.clientType]) { + return NO; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aMobileDeviceSessionLogInfo.ipAddress]) { + return NO; + } + } + if (self.created) { + if (![self.created isEqual:aMobileDeviceSessionLogInfo.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aMobileDeviceSessionLogInfo.updated]) { + return NO; + } + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aMobileDeviceSessionLogInfo.sessionInfo]) { + return NO; + } + } + if (self.clientVersion) { + if (![self.clientVersion isEqual:aMobileDeviceSessionLogInfo.clientVersion]) { + return NO; + } + } + if (self.osVersion) { + if (![self.osVersion isEqual:aMobileDeviceSessionLogInfo.osVersion]) { + return NO; + } + } + if (self.lastCarrier) { + if (![self.lastCarrier isEqual:aMobileDeviceSessionLogInfo.lastCarrier]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMobileDeviceSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMobileDeviceSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"device_name"] = valueObj.deviceName; + jsonDict[@"client_type"] = [DBTEAMMobileClientPlatformSerializer serialize:valueObj.clientType]; + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; + } + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGMobileSessionLogInfoSerializer serialize:valueObj.sessionInfo]; + } + if (valueObj.clientVersion) { + jsonDict[@"client_version"] = valueObj.clientVersion; + } + if (valueObj.osVersion) { + jsonDict[@"os_version"] = valueObj.osVersion; + } + if (valueObj.lastCarrier) { + jsonDict[@"last_carrier"] = valueObj.lastCarrier; + } + + return jsonDict; +} + ++ (DBTEAMLOGMobileDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *deviceName = valueDict[@"device_name"]; + DBTEAMMobileClientPlatform *clientType = [DBTEAMMobileClientPlatformSerializer deserialize:valueDict[@"client_type"]]; + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + DBTEAMLOGMobileSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGMobileSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] + : nil; + NSString *clientVersion = valueDict[@"client_version"] ?: nil; + NSString *osVersion = valueDict[@"os_version"] ?: nil; + NSString *lastCarrier = valueDict[@"last_carrier"] ?: nil; + + return [[DBTEAMLOGMobileDeviceSessionLogInfo alloc] initWithDeviceName:deviceName + clientType:clientType + ipAddress:ipAddress + created:created + updated:updated + sessionInfo:sessionInfo + clientVersion:clientVersion + osVersion:osVersion + lastCarrier:lastCarrier]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGMobileSessionLogInfo.h" +#import "DBTEAMLOGSessionLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGMobileSessionLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithSessionId:(NSString *)sessionId { + + self = [super initWithSessionId:sessionId]; + if (self) { + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSessionId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGMobileSessionLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGMobileSessionLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGMobileSessionLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sessionId != nil) { + result = prime * result + [self.sessionId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToMobileSessionLogInfo:other]; +} + +- (BOOL)isEqualToMobileSessionLogInfo:(DBTEAMLOGMobileSessionLogInfo *)aMobileSessionLogInfo { + if (self == aMobileSessionLogInfo) { + return YES; + } + if (self.sessionId) { + if (![self.sessionId isEqual:aMobileSessionLogInfo.sessionId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGMobileSessionLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGMobileSessionLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sessionId) { + jsonDict[@"session_id"] = valueObj.sessionId; + } + + return jsonDict; +} + ++ (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *sessionId = valueDict[@"session_id"] ?: nil; + + return [[DBTEAMLOGMobileSessionLogInfo alloc] initWithSessionId:sessionId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNamespaceRelativePathLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNamespaceRelativePathLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithNsId:(NSString *)nsId + relativePath:(NSString *)relativePath + isSharedNamespace:(NSNumber *)isSharedNamespace { + + self = [super init]; + if (self) { + _nsId = nsId; + _relativePath = relativePath; + _isSharedNamespace = isSharedNamespace; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithNsId:nil relativePath:nil isSharedNamespace:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNamespaceRelativePathLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.nsId != nil) { + result = prime * result + [self.nsId hash]; + } + if (self.relativePath != nil) { + result = prime * result + [self.relativePath hash]; + } + if (self.isSharedNamespace != nil) { + result = prime * result + [self.isSharedNamespace hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNamespaceRelativePathLogInfo:other]; +} + +- (BOOL)isEqualToNamespaceRelativePathLogInfo:(DBTEAMLOGNamespaceRelativePathLogInfo *)aNamespaceRelativePathLogInfo { + if (self == aNamespaceRelativePathLogInfo) { + return YES; + } + if (self.nsId) { + if (![self.nsId isEqual:aNamespaceRelativePathLogInfo.nsId]) { + return NO; + } + } + if (self.relativePath) { + if (![self.relativePath isEqual:aNamespaceRelativePathLogInfo.relativePath]) { + return NO; + } + } + if (self.isSharedNamespace) { + if (![self.isSharedNamespace isEqual:aNamespaceRelativePathLogInfo.isSharedNamespace]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNamespaceRelativePathLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNamespaceRelativePathLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.nsId) { + jsonDict[@"ns_id"] = valueObj.nsId; + } + if (valueObj.relativePath) { + jsonDict[@"relative_path"] = valueObj.relativePath; + } + if (valueObj.isSharedNamespace) { + jsonDict[@"is_shared_namespace"] = valueObj.isSharedNamespace; + } + + return jsonDict; +} + ++ (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *nsId = valueDict[@"ns_id"] ?: nil; + NSString *relativePath = valueDict[@"relative_path"] ?: nil; + NSNumber *isSharedNamespace = valueDict[@"is_shared_namespace"] ?: nil; + + return [[DBTEAMLOGNamespaceRelativePathLogInfo alloc] initWithNsId:nsId + relativePath:relativePath + isSharedNamespace:isSharedNamespace]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNetworkControlChangePolicyDetails.h" +#import "DBTEAMLOGNetworkControlPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNetworkControlChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue + previousValue:(DBTEAMLOGNetworkControlPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNetworkControlChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNetworkControlChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNetworkControlChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNetworkControlChangePolicyDetails:other]; +} + +- (BOOL)isEqualToNetworkControlChangePolicyDetails: + (DBTEAMLOGNetworkControlChangePolicyDetails *)aNetworkControlChangePolicyDetails { + if (self == aNetworkControlChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aNetworkControlChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aNetworkControlChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNetworkControlChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGNetworkControlPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGNetworkControlPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGNetworkControlPolicy *dNewValue = + [DBTEAMLOGNetworkControlPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGNetworkControlPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGNetworkControlPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGNetworkControlChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNetworkControlChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNetworkControlChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNetworkControlChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNetworkControlChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNetworkControlChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNetworkControlChangePolicyType:other]; +} + +- (BOOL)isEqualToNetworkControlChangePolicyType: + (DBTEAMLOGNetworkControlChangePolicyType *)aNetworkControlChangePolicyType { + if (self == aNetworkControlChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aNetworkControlChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNetworkControlChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNetworkControlChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNetworkControlChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNetworkControlPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNetworkControlPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGNetworkControlPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGNetworkControlPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGNetworkControlPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGNetworkControlPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGNetworkControlPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGNetworkControlPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGNetworkControlPolicyDisabled: + return @"DBTEAMLOGNetworkControlPolicyDisabled"; + case DBTEAMLOGNetworkControlPolicyEnabled: + return @"DBTEAMLOGNetworkControlPolicyEnabled"; + case DBTEAMLOGNetworkControlPolicyOther: + return @"DBTEAMLOGNetworkControlPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNetworkControlPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNetworkControlPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNetworkControlPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGNetworkControlPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGNetworkControlPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGNetworkControlPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNetworkControlPolicy:other]; +} + +- (BOOL)isEqualToNetworkControlPolicy:(DBTEAMLOGNetworkControlPolicy *)aNetworkControlPolicy { + if (self == aNetworkControlPolicy) { + return YES; + } + if (self.tag != aNetworkControlPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGNetworkControlPolicyDisabled: + return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; + case DBTEAMLOGNetworkControlPolicyEnabled: + return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; + case DBTEAMLOGNetworkControlPolicyOther: + return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNetworkControlPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNetworkControlPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGNetworkControlPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGNetworkControlPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGNetworkControlPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGNetworkControlPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoExpirationLinkGenCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators nonnullValidator:nil](endDate); + + self = [super init]; + if (self) { + _startDate = startDate; + _endDate = endDate; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.startDate hash]; + result = prime * result + [self.endDate hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoExpirationLinkGenCreateReportDetails:other]; +} + +- (BOOL)isEqualToNoExpirationLinkGenCreateReportDetails: + (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)aNoExpirationLinkGenCreateReportDetails { + if (self == aNoExpirationLinkGenCreateReportDetails) { + return YES; + } + if (![self.startDate isEqual:aNoExpirationLinkGenCreateReportDetails.startDate]) { + return NO; + } + if (![self.endDate isEqual:aNoExpirationLinkGenCreateReportDetails.endDate]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGNoExpirationLinkGenCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoExpirationLinkGenCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoExpirationLinkGenCreateReportType:other]; +} + +- (BOOL)isEqualToNoExpirationLinkGenCreateReportType: + (DBTEAMLOGNoExpirationLinkGenCreateReportType *)aNoExpirationLinkGenCreateReportType { + if (self == aNoExpirationLinkGenCreateReportType) { + return YES; + } + if (![self.description_ isEqual:aNoExpirationLinkGenCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoExpirationLinkGenCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoExpirationLinkGenCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoExpirationLinkGenReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoExpirationLinkGenReportFailedDetails:other]; +} + +- (BOOL)isEqualToNoExpirationLinkGenReportFailedDetails: + (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)aNoExpirationLinkGenReportFailedDetails { + if (self == aNoExpirationLinkGenReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:aNoExpirationLinkGenReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGNoExpirationLinkGenReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoExpirationLinkGenReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoExpirationLinkGenReportFailedType:other]; +} + +- (BOOL)isEqualToNoExpirationLinkGenReportFailedType: + (DBTEAMLOGNoExpirationLinkGenReportFailedType *)aNoExpirationLinkGenReportFailedType { + if (self == aNoExpirationLinkGenReportFailedType) { + return YES; + } + if (![self.description_ isEqual:aNoExpirationLinkGenReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoExpirationLinkGenReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoExpirationLinkGenReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkGenCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators nonnullValidator:nil](endDate); + + self = [super init]; + if (self) { + _startDate = startDate; + _endDate = endDate; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.startDate hash]; + result = prime * result + [self.endDate hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkGenCreateReportDetails:other]; +} + +- (BOOL)isEqualToNoPasswordLinkGenCreateReportDetails: + (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)aNoPasswordLinkGenCreateReportDetails { + if (self == aNoPasswordLinkGenCreateReportDetails) { + return YES; + } + if (![self.startDate isEqual:aNoPasswordLinkGenCreateReportDetails.startDate]) { + return NO; + } + if (![self.endDate isEqual:aNoPasswordLinkGenCreateReportDetails.endDate]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGNoPasswordLinkGenCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkGenCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkGenCreateReportType:other]; +} + +- (BOOL)isEqualToNoPasswordLinkGenCreateReportType: + (DBTEAMLOGNoPasswordLinkGenCreateReportType *)aNoPasswordLinkGenCreateReportType { + if (self == aNoPasswordLinkGenCreateReportType) { + return YES; + } + if (![self.description_ isEqual:aNoPasswordLinkGenCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkGenCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoPasswordLinkGenCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkGenReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkGenReportFailedDetails:other]; +} + +- (BOOL)isEqualToNoPasswordLinkGenReportFailedDetails: + (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)aNoPasswordLinkGenReportFailedDetails { + if (self == aNoPasswordLinkGenReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:aNoPasswordLinkGenReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGNoPasswordLinkGenReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkGenReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkGenReportFailedType:other]; +} + +- (BOOL)isEqualToNoPasswordLinkGenReportFailedType: + (DBTEAMLOGNoPasswordLinkGenReportFailedType *)aNoPasswordLinkGenReportFailedType { + if (self == aNoPasswordLinkGenReportFailedType) { + return YES; + } + if (![self.description_ isEqual:aNoPasswordLinkGenReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkGenReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoPasswordLinkGenReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkViewCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators nonnullValidator:nil](endDate); + + self = [super init]; + if (self) { + _startDate = startDate; + _endDate = endDate; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.startDate hash]; + result = prime * result + [self.endDate hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkViewCreateReportDetails:other]; +} + +- (BOOL)isEqualToNoPasswordLinkViewCreateReportDetails: + (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)aNoPasswordLinkViewCreateReportDetails { + if (self == aNoPasswordLinkViewCreateReportDetails) { + return YES; + } + if (![self.startDate isEqual:aNoPasswordLinkViewCreateReportDetails.startDate]) { + return NO; + } + if (![self.endDate isEqual:aNoPasswordLinkViewCreateReportDetails.endDate]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGNoPasswordLinkViewCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkViewCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkViewCreateReportType:other]; +} + +- (BOOL)isEqualToNoPasswordLinkViewCreateReportType: + (DBTEAMLOGNoPasswordLinkViewCreateReportType *)aNoPasswordLinkViewCreateReportType { + if (self == aNoPasswordLinkViewCreateReportType) { + return YES; + } + if (![self.description_ isEqual:aNoPasswordLinkViewCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkViewCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoPasswordLinkViewCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkViewReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkViewReportFailedDetails:other]; +} + +- (BOOL)isEqualToNoPasswordLinkViewReportFailedDetails: + (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)aNoPasswordLinkViewReportFailedDetails { + if (self == aNoPasswordLinkViewReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:aNoPasswordLinkViewReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGNoPasswordLinkViewReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoPasswordLinkViewReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoPasswordLinkViewReportFailedType:other]; +} + +- (BOOL)isEqualToNoPasswordLinkViewReportFailedType: + (DBTEAMLOGNoPasswordLinkViewReportFailedType *)aNoPasswordLinkViewReportFailedType { + if (self == aNoPasswordLinkViewReportFailedType) { + return YES; + } + if (![self.description_ isEqual:aNoPasswordLinkViewReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoPasswordLinkViewReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoPasswordLinkViewReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNonTeamMemberLogInfo.h" +#import "DBTEAMLOGTeamMemberLogInfo.h" +#import "DBTEAMLOGTrustedNonTeamMemberLogInfo.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGUserLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithAccountId:(NSString *)accountId displayName:(NSString *)displayName email:(NSString *)email { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](email); + + self = [super init]; + if (self) { + _accountId = accountId; + _displayName = displayName; + _email = email; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithAccountId:nil displayName:nil email:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGUserLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.email != nil) { + result = prime * result + [self.email hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserLogInfo:other]; +} + +- (BOOL)isEqualToUserLogInfo:(DBTEAMLOGUserLogInfo *)anUserLogInfo { + if (self == anUserLogInfo) { + return YES; + } + if (self.accountId) { + if (![self.accountId isEqual:anUserLogInfo.accountId]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:anUserLogInfo.displayName]) { + return NO; + } + } + if (self.email) { + if (![self.email isEqual:anUserLogInfo.email]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGUserLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGUserLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.email) { + jsonDict[@"email"] = valueObj.email; + } + + if ([valueObj isKindOfClass:[DBTEAMLOGTeamMemberLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGTeamMemberLogInfoSerializer serialize:(DBTEAMLOGTeamMemberLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"teamMember"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGTrustedNonTeamMemberLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer serialize:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"trustedNonTeamMember"; + } else if ([valueObj isKindOfClass:[DBTEAMLOGNonTeamMemberLogInfo class]]) { + NSDictionary *subTypeFields = + [DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:(DBTEAMLOGNonTeamMemberLogInfo *)valueObj]; + for (NSString *key in subTypeFields) { + jsonDict[key] = subTypeFields[key]; + } + jsonDict[@".tag"] = @"nonTeamMember"; + } + + return jsonDict; +} + ++ (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)valueDict { + if ([valueDict[@".tag"] isEqualToString:@"team_member"]) { + return [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"trusted_non_team_member"]) { + return [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer deserialize:valueDict]; + } + if ([valueDict[@".tag"] isEqualToString:@"non_team_member"]) { + return [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:valueDict]; + } + + NSString *accountId = valueDict[@"account_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *email = valueDict[@"email"] ?: nil; + + return [[DBTEAMLOGUserLogInfo alloc] initWithAccountId:accountId displayName:displayName email:email]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNonTeamMemberLogInfo.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNonTeamMemberLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithAccountId:(NSString *)accountId displayName:(NSString *)displayName email:(NSString *)email { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](email); + + self = [super initWithAccountId:accountId displayName:displayName email:email]; + if (self) { + } + return self; +} + +- (instancetype)initDefault { + return [self initWithAccountId:nil displayName:nil email:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.email != nil) { + result = prime * result + [self.email hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNonTeamMemberLogInfo:other]; +} + +- (BOOL)isEqualToNonTeamMemberLogInfo:(DBTEAMLOGNonTeamMemberLogInfo *)aNonTeamMemberLogInfo { + if (self == aNonTeamMemberLogInfo) { + return YES; + } + if (self.accountId) { + if (![self.accountId isEqual:aNonTeamMemberLogInfo.accountId]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:aNonTeamMemberLogInfo.displayName]) { + return NO; + } + } + if (self.email) { + if (![self.email isEqual:aNonTeamMemberLogInfo.email]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNonTeamMemberLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNonTeamMemberLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.email) { + jsonDict[@"email"] = valueObj.email; + } + + return jsonDict; +} + ++ (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *accountId = valueDict[@"account_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *email = valueDict[@"email"] ?: nil; + + return [[DBTEAMLOGNonTeamMemberLogInfo alloc] initWithAccountId:accountId displayName:displayName email:email]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNonTrustedTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNonTrustedTeamDetails + +#pragma mark - Constructors + +- (instancetype)initWithTeam:(NSString *)team { + [DBStoneValidators nonnullValidator:nil](team); + + self = [super init]; + if (self) { + _team = team; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNonTrustedTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNonTrustedTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNonTrustedTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.team hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNonTrustedTeamDetails:other]; +} + +- (BOOL)isEqualToNonTrustedTeamDetails:(DBTEAMLOGNonTrustedTeamDetails *)aNonTrustedTeamDetails { + if (self == aNonTrustedTeamDetails) { + return YES; + } + if (![self.team isEqual:aNonTrustedTeamDetails.team]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNonTrustedTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNonTrustedTeamDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"team"] = valueObj.team; + + return jsonDict; +} + ++ (DBTEAMLOGNonTrustedTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *team = valueDict[@"team"]; + + return [[DBTEAMLOGNonTrustedTeamDetails alloc] initWithTeam:team]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclInviteOnlyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclInviteOnlyDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclInviteOnlyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclInviteOnlyDetails:other]; +} + +- (BOOL)isEqualToNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)aNoteAclInviteOnlyDetails { + if (self == aNoteAclInviteOnlyDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclInviteOnlyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGNoteAclInviteOnlyDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclInviteOnlyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclInviteOnlyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclInviteOnlyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclInviteOnlyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclInviteOnlyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclInviteOnlyType:other]; +} + +- (BOOL)isEqualToNoteAclInviteOnlyType:(DBTEAMLOGNoteAclInviteOnlyType *)aNoteAclInviteOnlyType { + if (self == aNoteAclInviteOnlyType) { + return YES; + } + if (![self.description_ isEqual:aNoteAclInviteOnlyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclInviteOnlyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclInviteOnlyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoteAclInviteOnlyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclLinkDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclLinkDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclLinkDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclLinkDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclLinkDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclLinkDetails:other]; +} + +- (BOOL)isEqualToNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)aNoteAclLinkDetails { + if (self == aNoteAclLinkDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclLinkDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGNoteAclLinkDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclLinkType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclLinkType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclLinkTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclLinkTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclLinkTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclLinkType:other]; +} + +- (BOOL)isEqualToNoteAclLinkType:(DBTEAMLOGNoteAclLinkType *)aNoteAclLinkType { + if (self == aNoteAclLinkType) { + return YES; + } + if (![self.description_ isEqual:aNoteAclLinkType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclLinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclLinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoteAclLinkType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclTeamLinkDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclTeamLinkDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclTeamLinkDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclTeamLinkDetails:other]; +} + +- (BOOL)isEqualToNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)aNoteAclTeamLinkDetails { + if (self == aNoteAclTeamLinkDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclTeamLinkDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGNoteAclTeamLinkDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteAclTeamLinkType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteAclTeamLinkType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteAclTeamLinkTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteAclTeamLinkTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteAclTeamLinkTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteAclTeamLinkType:other]; +} + +- (BOOL)isEqualToNoteAclTeamLinkType:(DBTEAMLOGNoteAclTeamLinkType *)aNoteAclTeamLinkType { + if (self == aNoteAclTeamLinkType) { + return YES; + } + if (![self.description_ isEqual:aNoteAclTeamLinkType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteAclTeamLinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoteAclTeamLinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoteAclTeamLinkType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteShareReceiveDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteShareReceiveDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteShareReceiveDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteShareReceiveDetails:other]; +} + +- (BOOL)isEqualToNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)aNoteShareReceiveDetails { + if (self == aNoteShareReceiveDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteShareReceiveDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGNoteShareReceiveDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteShareReceiveType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteShareReceiveType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteShareReceiveTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteShareReceiveTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteShareReceiveTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteShareReceiveType:other]; +} + +- (BOOL)isEqualToNoteShareReceiveType:(DBTEAMLOGNoteShareReceiveType *)aNoteShareReceiveType { + if (self == aNoteShareReceiveType) { + return YES; + } + if (![self.description_ isEqual:aNoteShareReceiveType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteShareReceiveTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoteShareReceiveType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoteShareReceiveType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteSharedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteSharedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteSharedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteSharedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteSharedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteSharedDetails:other]; +} + +- (BOOL)isEqualToNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)aNoteSharedDetails { + if (self == aNoteSharedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteSharedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteSharedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGNoteSharedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNoteSharedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGNoteSharedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGNoteSharedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGNoteSharedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGNoteSharedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToNoteSharedType:other]; +} + +- (BOOL)isEqualToNoteSharedType:(DBTEAMLOGNoteSharedType *)aNoteSharedType { + if (self == aNoteSharedType) { + return YES; + } + if (![self.description_ isEqual:aNoteSharedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGNoteSharedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGNoteSharedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGNoteSharedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGNoteSharedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLabelType.h" +#import "DBTEAMLOGObjectLabelAddedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelAddedDetails + +#pragma mark - Constructors + +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType { + [DBStoneValidators nonnullValidator:nil](labelType); + + self = [super init]; + if (self) { + _labelType = labelType; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelAddedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelAddedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelAddedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.labelType hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelAddedDetails:other]; +} + +- (BOOL)isEqualToObjectLabelAddedDetails:(DBTEAMLOGObjectLabelAddedDetails *)anObjectLabelAddedDetails { + if (self == anObjectLabelAddedDetails) { + return YES; + } + if (![self.labelType isEqual:anObjectLabelAddedDetails.labelType]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelAddedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelAddedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelAddedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLabelType *labelType = [DBTEAMLOGLabelTypeSerializer deserialize:valueDict[@"label_type"]]; + + return [[DBTEAMLOGObjectLabelAddedDetails alloc] initWithLabelType:labelType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGObjectLabelAddedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelAddedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelAddedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelAddedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelAddedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelAddedType:other]; +} + +- (BOOL)isEqualToObjectLabelAddedType:(DBTEAMLOGObjectLabelAddedType *)anObjectLabelAddedType { + if (self == anObjectLabelAddedType) { + return YES; + } + if (![self.description_ isEqual:anObjectLabelAddedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelAddedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelAddedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelAddedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGObjectLabelAddedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLabelType.h" +#import "DBTEAMLOGObjectLabelRemovedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelRemovedDetails + +#pragma mark - Constructors + +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType { + [DBStoneValidators nonnullValidator:nil](labelType); + + self = [super init]; + if (self) { + _labelType = labelType; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelRemovedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelRemovedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelRemovedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.labelType hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelRemovedDetails:other]; +} + +- (BOOL)isEqualToObjectLabelRemovedDetails:(DBTEAMLOGObjectLabelRemovedDetails *)anObjectLabelRemovedDetails { + if (self == anObjectLabelRemovedDetails) { + return YES; + } + if (![self.labelType isEqual:anObjectLabelRemovedDetails.labelType]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelRemovedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelRemovedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelRemovedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLabelType *labelType = [DBTEAMLOGLabelTypeSerializer deserialize:valueDict[@"label_type"]]; + + return [[DBTEAMLOGObjectLabelRemovedDetails alloc] initWithLabelType:labelType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGObjectLabelRemovedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelRemovedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelRemovedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelRemovedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelRemovedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelRemovedType:other]; +} + +- (BOOL)isEqualToObjectLabelRemovedType:(DBTEAMLOGObjectLabelRemovedType *)anObjectLabelRemovedType { + if (self == anObjectLabelRemovedType) { + return YES; + } + if (![self.description_ isEqual:anObjectLabelRemovedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelRemovedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelRemovedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelRemovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGObjectLabelRemovedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGLabelType.h" +#import "DBTEAMLOGObjectLabelUpdatedValueDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelUpdatedValueDetails + +#pragma mark - Constructors + +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType { + [DBStoneValidators nonnullValidator:nil](labelType); + + self = [super init]; + if (self) { + _labelType = labelType; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.labelType hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelUpdatedValueDetails:other]; +} + +- (BOOL)isEqualToObjectLabelUpdatedValueDetails: + (DBTEAMLOGObjectLabelUpdatedValueDetails *)anObjectLabelUpdatedValueDetails { + if (self == anObjectLabelUpdatedValueDetails) { + return YES; + } + if (![self.labelType isEqual:anObjectLabelUpdatedValueDetails.labelType]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelUpdatedValueDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"label_type"] = [DBTEAMLOGLabelTypeSerializer serialize:valueObj.labelType]; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelUpdatedValueDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGLabelType *labelType = [DBTEAMLOGLabelTypeSerializer deserialize:valueDict[@"label_type"]]; + + return [[DBTEAMLOGObjectLabelUpdatedValueDetails alloc] initWithLabelType:labelType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGObjectLabelUpdatedValueType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGObjectLabelUpdatedValueType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGObjectLabelUpdatedValueTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGObjectLabelUpdatedValueTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGObjectLabelUpdatedValueTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToObjectLabelUpdatedValueType:other]; +} + +- (BOOL)isEqualToObjectLabelUpdatedValueType:(DBTEAMLOGObjectLabelUpdatedValueType *)anObjectLabelUpdatedValueType { + if (self == anObjectLabelUpdatedValueType) { + return YES; + } + if (![self.description_ isEqual:anObjectLabelUpdatedValueType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGObjectLabelUpdatedValueTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGObjectLabelUpdatedValueType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGObjectLabelUpdatedValueType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGObjectLabelUpdatedValueType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOpenNoteSharedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOpenNoteSharedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOpenNoteSharedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOpenNoteSharedDetails:other]; +} + +- (BOOL)isEqualToOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)anOpenNoteSharedDetails { + if (self == anOpenNoteSharedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOpenNoteSharedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGOpenNoteSharedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOpenNoteSharedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOpenNoteSharedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOpenNoteSharedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOpenNoteSharedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOpenNoteSharedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOpenNoteSharedType:other]; +} + +- (BOOL)isEqualToOpenNoteSharedType:(DBTEAMLOGOpenNoteSharedType *)anOpenNoteSharedType { + if (self == anOpenNoteSharedType) { + return YES; + } + if (![self.description_ isEqual:anOpenNoteSharedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOpenNoteSharedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGOpenNoteSharedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGOpenNoteSharedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOrganizationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOrganizationDetails + +#pragma mark - Constructors + +- (instancetype)initWithOrganization:(NSString *)organization { + [DBStoneValidators nonnullValidator:nil](organization); + + self = [super init]; + if (self) { + _organization = organization; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOrganizationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOrganizationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOrganizationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.organization hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOrganizationDetails:other]; +} + +- (BOOL)isEqualToOrganizationDetails:(DBTEAMLOGOrganizationDetails *)anOrganizationDetails { + if (self == anOrganizationDetails) { + return YES; + } + if (![self.organization isEqual:anOrganizationDetails.organization]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOrganizationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOrganizationDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"organization"] = valueObj.organization; + + return jsonDict; +} + ++ (DBTEAMLOGOrganizationDetails *)deserialize:(NSDictionary *)valueDict { + NSString *organization = valueDict[@"organization"]; + + return [[DBTEAMLOGOrganizationDetails alloc] initWithOrganization:organization]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOrganizationName.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOrganizationName + +#pragma mark - Constructors + +- (instancetype)initWithOrganization:(NSString *)organization { + [DBStoneValidators nonnullValidator:nil](organization); + + self = [super init]; + if (self) { + _organization = organization; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOrganizationNameSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOrganizationNameSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOrganizationNameSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.organization hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOrganizationName:other]; +} + +- (BOOL)isEqualToOrganizationName:(DBTEAMLOGOrganizationName *)anOrganizationName { + if (self == anOrganizationName) { + return YES; + } + if (![self.organization isEqual:anOrganizationName.organization]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOrganizationNameSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOrganizationName *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"organization"] = valueObj.organization; + + return jsonDict; +} + ++ (DBTEAMLOGOrganizationName *)deserialize:(NSDictionary *)valueDict { + NSString *organization = valueDict[@"organization"]; + + return [[DBTEAMLOGOrganizationName alloc] initWithOrganization:organization]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOrganizeFolderWithTidyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOrganizeFolderWithTidyDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOrganizeFolderWithTidyDetails:other]; +} + +- (BOOL)isEqualToOrganizeFolderWithTidyDetails: + (DBTEAMLOGOrganizeFolderWithTidyDetails *)anOrganizeFolderWithTidyDetails { + if (self == anOrganizeFolderWithTidyDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOrganizeFolderWithTidyDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGOrganizeFolderWithTidyDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOrganizeFolderWithTidyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOrganizeFolderWithTidyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOrganizeFolderWithTidyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOrganizeFolderWithTidyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOrganizeFolderWithTidyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOrganizeFolderWithTidyType:other]; +} + +- (BOOL)isEqualToOrganizeFolderWithTidyType:(DBTEAMLOGOrganizeFolderWithTidyType *)anOrganizeFolderWithTidyType { + if (self == anOrganizeFolderWithTidyType) { + return YES; + } + if (![self.description_ isEqual:anOrganizeFolderWithTidyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOrganizeFolderWithTidyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOrganizeFolderWithTidyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGOrganizeFolderWithTidyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAccessMethodLogInfo.h" +#import "DBTEAMLOGGeoLocationLogInfo.h" +#import "DBTEAMLOGOriginLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOriginLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod + geoLocation:(DBTEAMLOGGeoLocationLogInfo *)geoLocation { + [DBStoneValidators nonnullValidator:nil](accessMethod); + + self = [super init]; + if (self) { + _geoLocation = geoLocation; + _accessMethod = accessMethod; + } + return self; +} + +- (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod { + return [self initWithAccessMethod:accessMethod geoLocation:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOriginLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOriginLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOriginLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.accessMethod hash]; + if (self.geoLocation != nil) { + result = prime * result + [self.geoLocation hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOriginLogInfo:other]; +} + +- (BOOL)isEqualToOriginLogInfo:(DBTEAMLOGOriginLogInfo *)anOriginLogInfo { + if (self == anOriginLogInfo) { + return YES; + } + if (![self.accessMethod isEqual:anOriginLogInfo.accessMethod]) { + return NO; + } + if (self.geoLocation) { + if (![self.geoLocation isEqual:anOriginLogInfo.geoLocation]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOriginLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOriginLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"access_method"] = [DBTEAMLOGAccessMethodLogInfoSerializer serialize:valueObj.accessMethod]; + if (valueObj.geoLocation) { + jsonDict[@"geo_location"] = [DBTEAMLOGGeoLocationLogInfoSerializer serialize:valueObj.geoLocation]; + } + + return jsonDict; +} + ++ (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAccessMethodLogInfo *accessMethod = + [DBTEAMLOGAccessMethodLogInfoSerializer deserialize:valueDict[@"access_method"]]; + DBTEAMLOGGeoLocationLogInfo *geoLocation = + valueDict[@"geo_location"] ? [DBTEAMLOGGeoLocationLogInfoSerializer deserialize:valueDict[@"geo_location"]] : nil; + + return [[DBTEAMLOGOriginLogInfo alloc] initWithAccessMethod:accessMethod geoLocation:geoLocation]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOutdatedLinkViewCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators nonnullValidator:nil](endDate); + + self = [super init]; + if (self) { + _startDate = startDate; + _endDate = endDate; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.startDate hash]; + result = prime * result + [self.endDate hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOutdatedLinkViewCreateReportDetails:other]; +} + +- (BOOL)isEqualToOutdatedLinkViewCreateReportDetails: + (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)anOutdatedLinkViewCreateReportDetails { + if (self == anOutdatedLinkViewCreateReportDetails) { + return YES; + } + if (![self.startDate isEqual:anOutdatedLinkViewCreateReportDetails.startDate]) { + return NO; + } + if (![self.endDate isEqual:anOutdatedLinkViewCreateReportDetails.endDate]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewCreateReportDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGOutdatedLinkViewCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOutdatedLinkViewCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOutdatedLinkViewCreateReportType:other]; +} + +- (BOOL)isEqualToOutdatedLinkViewCreateReportType: + (DBTEAMLOGOutdatedLinkViewCreateReportType *)anOutdatedLinkViewCreateReportType { + if (self == anOutdatedLinkViewCreateReportType) { + return YES; + } + if (![self.description_ isEqual:anOutdatedLinkViewCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGOutdatedLinkViewCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGOutdatedLinkViewCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOutdatedLinkViewReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOutdatedLinkViewReportFailedDetails:other]; +} + +- (BOOL)isEqualToOutdatedLinkViewReportFailedDetails: + (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)anOutdatedLinkViewReportFailedDetails { + if (self == anOutdatedLinkViewReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:anOutdatedLinkViewReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGOutdatedLinkViewReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGOutdatedLinkViewReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToOutdatedLinkViewReportFailedType:other]; +} + +- (BOOL)isEqualToOutdatedLinkViewReportFailedType: + (DBTEAMLOGOutdatedLinkViewReportFailedType *)anOutdatedLinkViewReportFailedType { + if (self == anOutdatedLinkViewReportFailedType) { + return YES; + } + if (![self.description_ isEqual:anOutdatedLinkViewReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGOutdatedLinkViewReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGOutdatedLinkViewReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperAccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperAccessType + +#pragma mark - Constructors + +- (instancetype)initWithCommenter { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperAccessTypeCommenter; + } + return self; +} + +- (instancetype)initWithEditor { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperAccessTypeEditor; + } + return self; +} + +- (instancetype)initWithViewer { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperAccessTypeViewer; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperAccessTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isCommenter { + return _tag == DBTEAMLOGPaperAccessTypeCommenter; +} + +- (BOOL)isEditor { + return _tag == DBTEAMLOGPaperAccessTypeEditor; +} + +- (BOOL)isViewer { + return _tag == DBTEAMLOGPaperAccessTypeViewer; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPaperAccessTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPaperAccessTypeCommenter: + return @"DBTEAMLOGPaperAccessTypeCommenter"; + case DBTEAMLOGPaperAccessTypeEditor: + return @"DBTEAMLOGPaperAccessTypeEditor"; + case DBTEAMLOGPaperAccessTypeViewer: + return @"DBTEAMLOGPaperAccessTypeViewer"; + case DBTEAMLOGPaperAccessTypeOther: + return @"DBTEAMLOGPaperAccessTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperAccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperAccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperAccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPaperAccessTypeCommenter: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperAccessTypeEditor: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperAccessTypeViewer: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperAccessTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperAccessType:other]; +} + +- (BOOL)isEqualToPaperAccessType:(DBTEAMLOGPaperAccessType *)aPaperAccessType { + if (self == aPaperAccessType) { + return YES; + } + if (self.tag != aPaperAccessType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPaperAccessTypeCommenter: + return [[self tagName] isEqual:[aPaperAccessType tagName]]; + case DBTEAMLOGPaperAccessTypeEditor: + return [[self tagName] isEqual:[aPaperAccessType tagName]]; + case DBTEAMLOGPaperAccessTypeViewer: + return [[self tagName] isEqual:[aPaperAccessType tagName]]; + case DBTEAMLOGPaperAccessTypeOther: + return [[self tagName] isEqual:[aPaperAccessType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperAccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperAccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isCommenter]) { + jsonDict[@".tag"] = @"commenter"; + } else if ([valueObj isEditor]) { + jsonDict[@".tag"] = @"editor"; + } else if ([valueObj isViewer]) { + jsonDict[@".tag"] = @"viewer"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"commenter"]) { + return [[DBTEAMLOGPaperAccessType alloc] initWithCommenter]; + } else if ([tag isEqualToString:@"editor"]) { + return [[DBTEAMLOGPaperAccessType alloc] initWithEditor]; + } else if ([tag isEqualToString:@"viewer"]) { + return [[DBTEAMLOGPaperAccessType alloc] initWithViewer]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPaperAccessType alloc] initWithOther]; + } else { + return [[DBTEAMLOGPaperAccessType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperAdminExportStartDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperAdminExportStartDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperAdminExportStartDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperAdminExportStartDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperAdminExportStartDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperAdminExportStartDetails:other]; +} + +- (BOOL)isEqualToPaperAdminExportStartDetails:(DBTEAMLOGPaperAdminExportStartDetails *)aPaperAdminExportStartDetails { + if (self == aPaperAdminExportStartDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperAdminExportStartDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPaperAdminExportStartDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperAdminExportStartType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperAdminExportStartType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperAdminExportStartTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperAdminExportStartTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperAdminExportStartTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperAdminExportStartType:other]; +} + +- (BOOL)isEqualToPaperAdminExportStartType:(DBTEAMLOGPaperAdminExportStartType *)aPaperAdminExportStartType { + if (self == aPaperAdminExportStartType) { + return YES; + } + if (![self.description_ isEqual:aPaperAdminExportStartType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperAdminExportStartTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperAdminExportStartType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperAdminExportStartType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeDeploymentPolicyDetails.h" +#import "DBTEAMPOLICIESPaperDeploymentPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeDeploymentPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue + previousValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeDeploymentPolicyDetails:other]; +} + +- (BOOL)isEqualToPaperChangeDeploymentPolicyDetails: + (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)aPaperChangeDeploymentPolicyDetails { + if (self == aPaperChangeDeploymentPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperChangeDeploymentPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aPaperChangeDeploymentPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESPaperDeploymentPolicy *dNewValue = + [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESPaperDeploymentPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGPaperChangeDeploymentPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeDeploymentPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeDeploymentPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeDeploymentPolicyType:other]; +} + +- (BOOL)isEqualToPaperChangeDeploymentPolicyType: + (DBTEAMLOGPaperChangeDeploymentPolicyType *)aPaperChangeDeploymentPolicyType { + if (self == aPaperChangeDeploymentPolicyType) { + return YES; + } + if (![self.description_ isEqual:aPaperChangeDeploymentPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeDeploymentPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperChangeDeploymentPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h" +#import "DBTEAMLOGPaperMemberPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeMemberLinkPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeMemberLinkPolicyDetails:other]; +} + +- (BOOL)isEqualToPaperChangeMemberLinkPolicyDetails: + (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)aPaperChangeMemberLinkPolicyDetails { + if (self == aPaperChangeMemberLinkPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperChangeMemberLinkPolicyDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPaperMemberPolicy *dNewValue = [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGPaperChangeMemberLinkPolicyDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeMemberLinkPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeMemberLinkPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeMemberLinkPolicyType:other]; +} + +- (BOOL)isEqualToPaperChangeMemberLinkPolicyType: + (DBTEAMLOGPaperChangeMemberLinkPolicyType *)aPaperChangeMemberLinkPolicyType { + if (self == aPaperChangeMemberLinkPolicyType) { + return YES; + } + if (![self.description_ isEqual:aPaperChangeMemberLinkPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeMemberLinkPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperChangeMemberLinkPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeMemberPolicyDetails.h" +#import "DBTEAMLOGPaperMemberPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeMemberPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue + previousValue:(DBTEAMLOGPaperMemberPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeMemberPolicyDetails:other]; +} + +- (BOOL)isEqualToPaperChangeMemberPolicyDetails: + (DBTEAMLOGPaperChangeMemberPolicyDetails *)aPaperChangeMemberPolicyDetails { + if (self == aPaperChangeMemberPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperChangeMemberPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aPaperChangeMemberPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPaperMemberPolicy *dNewValue = [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGPaperMemberPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGPaperChangeMemberPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangeMemberPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangeMemberPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangeMemberPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangeMemberPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangeMemberPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangeMemberPolicyType:other]; +} + +- (BOOL)isEqualToPaperChangeMemberPolicyType:(DBTEAMLOGPaperChangeMemberPolicyType *)aPaperChangeMemberPolicyType { + if (self == aPaperChangeMemberPolicyType) { + return YES; + } + if (![self.description_ isEqual:aPaperChangeMemberPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangeMemberPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangeMemberPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperChangeMemberPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangePolicyDetails.h" +#import "DBTEAMPOLICIESPaperEnabledPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue + previousValue:(DBTEAMPOLICIESPaperEnabledPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangePolicyDetails:other]; +} + +- (BOOL)isEqualToPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)aPaperChangePolicyDetails { + if (self == aPaperChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aPaperChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESPaperEnabledPolicy *dNewValue = + [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESPaperEnabledPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGPaperChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperChangePolicyType:other]; +} + +- (BOOL)isEqualToPaperChangePolicyType:(DBTEAMLOGPaperChangePolicyType *)aPaperChangePolicyType { + if (self == aPaperChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aPaperChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentAddMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentAddMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentAddMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentAddMemberDetails:other]; +} + +- (BOOL)isEqualToPaperContentAddMemberDetails:(DBTEAMLOGPaperContentAddMemberDetails *)aPaperContentAddMemberDetails { + if (self == aPaperContentAddMemberDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentAddMemberDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentAddMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentAddMemberDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentAddMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentAddMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentAddMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentAddMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentAddMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentAddMemberType:other]; +} + +- (BOOL)isEqualToPaperContentAddMemberType:(DBTEAMLOGPaperContentAddMemberType *)aPaperContentAddMemberType { + if (self == aPaperContentAddMemberType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentAddMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentAddMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentAddMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentAddMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentAddToFolderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentAddToFolderDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + targetAssetIndex:(NSNumber *)targetAssetIndex + parentAssetIndex:(NSNumber *)parentAssetIndex { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](parentAssetIndex); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _targetAssetIndex = targetAssetIndex; + _parentAssetIndex = parentAssetIndex; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentAddToFolderDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentAddToFolderDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentAddToFolderDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.parentAssetIndex hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentAddToFolderDetails:other]; +} + +- (BOOL)isEqualToPaperContentAddToFolderDetails: + (DBTEAMLOGPaperContentAddToFolderDetails *)aPaperContentAddToFolderDetails { + if (self == aPaperContentAddToFolderDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentAddToFolderDetails.eventUuid]) { + return NO; + } + if (![self.targetAssetIndex isEqual:aPaperContentAddToFolderDetails.targetAssetIndex]) { + return NO; + } + if (![self.parentAssetIndex isEqual:aPaperContentAddToFolderDetails.parentAssetIndex]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentAddToFolderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"parent_asset_index"] = valueObj.parentAssetIndex; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSNumber *parentAssetIndex = valueDict[@"parent_asset_index"]; + + return [[DBTEAMLOGPaperContentAddToFolderDetails alloc] initWithEventUuid:eventUuid + targetAssetIndex:targetAssetIndex + parentAssetIndex:parentAssetIndex]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentAddToFolderType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentAddToFolderType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentAddToFolderTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentAddToFolderTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentAddToFolderTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentAddToFolderType:other]; +} + +- (BOOL)isEqualToPaperContentAddToFolderType:(DBTEAMLOGPaperContentAddToFolderType *)aPaperContentAddToFolderType { + if (self == aPaperContentAddToFolderType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentAddToFolderType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentAddToFolderTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentAddToFolderType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentAddToFolderType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentArchiveDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentArchiveDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentArchiveDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentArchiveDetails:other]; +} + +- (BOOL)isEqualToPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)aPaperContentArchiveDetails { + if (self == aPaperContentArchiveDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentArchiveDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentArchiveDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentArchiveDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentArchiveType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentArchiveType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentArchiveTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentArchiveTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentArchiveTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentArchiveType:other]; +} + +- (BOOL)isEqualToPaperContentArchiveType:(DBTEAMLOGPaperContentArchiveType *)aPaperContentArchiveType { + if (self == aPaperContentArchiveType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentArchiveType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentArchiveTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentArchiveType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentArchiveType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentCreateDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentCreateDetails:other]; +} + +- (BOOL)isEqualToPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)aPaperContentCreateDetails { + if (self == aPaperContentCreateDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentCreateDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentCreateDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentCreateType:other]; +} + +- (BOOL)isEqualToPaperContentCreateType:(DBTEAMLOGPaperContentCreateType *)aPaperContentCreateType { + if (self == aPaperContentCreateType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentPermanentlyDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentPermanentlyDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentPermanentlyDeleteDetails:other]; +} + +- (BOOL)isEqualToPaperContentPermanentlyDeleteDetails: + (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)aPaperContentPermanentlyDeleteDetails { + if (self == aPaperContentPermanentlyDeleteDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentPermanentlyDeleteDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentPermanentlyDeleteDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentPermanentlyDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentPermanentlyDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentPermanentlyDeleteType:other]; +} + +- (BOOL)isEqualToPaperContentPermanentlyDeleteType: + (DBTEAMLOGPaperContentPermanentlyDeleteType *)aPaperContentPermanentlyDeleteType { + if (self == aPaperContentPermanentlyDeleteType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentPermanentlyDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentPermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentPermanentlyDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRemoveFromFolderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRemoveFromFolderDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + targetAssetIndex:(NSNumber *)targetAssetIndex + parentAssetIndex:(NSNumber *)parentAssetIndex { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _targetAssetIndex = targetAssetIndex; + _parentAssetIndex = parentAssetIndex; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid targetAssetIndex:nil parentAssetIndex:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.targetAssetIndex != nil) { + result = prime * result + [self.targetAssetIndex hash]; + } + if (self.parentAssetIndex != nil) { + result = prime * result + [self.parentAssetIndex hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRemoveFromFolderDetails:other]; +} + +- (BOOL)isEqualToPaperContentRemoveFromFolderDetails: + (DBTEAMLOGPaperContentRemoveFromFolderDetails *)aPaperContentRemoveFromFolderDetails { + if (self == aPaperContentRemoveFromFolderDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentRemoveFromFolderDetails.eventUuid]) { + return NO; + } + if (self.targetAssetIndex) { + if (![self.targetAssetIndex isEqual:aPaperContentRemoveFromFolderDetails.targetAssetIndex]) { + return NO; + } + } + if (self.parentAssetIndex) { + if (![self.parentAssetIndex isEqual:aPaperContentRemoveFromFolderDetails.parentAssetIndex]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.targetAssetIndex) { + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + } + if (valueObj.parentAssetIndex) { + jsonDict[@"parent_asset_index"] = valueObj.parentAssetIndex; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"] ?: nil; + NSNumber *parentAssetIndex = valueDict[@"parent_asset_index"] ?: nil; + + return [[DBTEAMLOGPaperContentRemoveFromFolderDetails alloc] initWithEventUuid:eventUuid + targetAssetIndex:targetAssetIndex + parentAssetIndex:parentAssetIndex]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRemoveFromFolderType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRemoveFromFolderType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRemoveFromFolderType:other]; +} + +- (BOOL)isEqualToPaperContentRemoveFromFolderType: + (DBTEAMLOGPaperContentRemoveFromFolderType *)aPaperContentRemoveFromFolderType { + if (self == aPaperContentRemoveFromFolderType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentRemoveFromFolderType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRemoveFromFolderType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentRemoveFromFolderType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRemoveMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRemoveMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRemoveMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRemoveMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRemoveMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRemoveMemberDetails:other]; +} + +- (BOOL)isEqualToPaperContentRemoveMemberDetails: + (DBTEAMLOGPaperContentRemoveMemberDetails *)aPaperContentRemoveMemberDetails { + if (self == aPaperContentRemoveMemberDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentRemoveMemberDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRemoveMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentRemoveMemberDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRemoveMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRemoveMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRemoveMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRemoveMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRemoveMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRemoveMemberType:other]; +} + +- (BOOL)isEqualToPaperContentRemoveMemberType:(DBTEAMLOGPaperContentRemoveMemberType *)aPaperContentRemoveMemberType { + if (self == aPaperContentRemoveMemberType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentRemoveMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRemoveMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRemoveMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentRemoveMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRenameDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRenameDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRenameDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRenameDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRenameDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRenameDetails:other]; +} + +- (BOOL)isEqualToPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)aPaperContentRenameDetails { + if (self == aPaperContentRenameDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentRenameDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRenameDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentRenameDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRenameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRenameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRenameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRenameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRenameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRenameType:other]; +} + +- (BOOL)isEqualToPaperContentRenameType:(DBTEAMLOGPaperContentRenameType *)aPaperContentRenameType { + if (self == aPaperContentRenameType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentRenameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRenameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRenameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentRenameType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRestoreDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRestoreDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRestoreDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRestoreDetails:other]; +} + +- (BOOL)isEqualToPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)aPaperContentRestoreDetails { + if (self == aPaperContentRestoreDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperContentRestoreDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRestoreDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperContentRestoreDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperContentRestoreType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperContentRestoreType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperContentRestoreTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperContentRestoreTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperContentRestoreTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperContentRestoreType:other]; +} + +- (BOOL)isEqualToPaperContentRestoreType:(DBTEAMLOGPaperContentRestoreType *)aPaperContentRestoreType { + if (self == aPaperContentRestoreType) { + return YES; + } + if (![self.description_ isEqual:aPaperContentRestoreType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperContentRestoreTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperContentRestoreType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperContentRestoreType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDefaultFolderPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicy + +#pragma mark - Constructors + +- (instancetype)initWithEveryoneInTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam; + } + return self; +} + +- (instancetype)initWithInviteOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDefaultFolderPolicyInviteOnly; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDefaultFolderPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isEveryoneInTeam { + return _tag == DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam; +} + +- (BOOL)isInviteOnly { + return _tag == DBTEAMLOGPaperDefaultFolderPolicyInviteOnly; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPaperDefaultFolderPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam: + return @"DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam"; + case DBTEAMLOGPaperDefaultFolderPolicyInviteOnly: + return @"DBTEAMLOGPaperDefaultFolderPolicyInviteOnly"; + case DBTEAMLOGPaperDefaultFolderPolicyOther: + return @"DBTEAMLOGPaperDefaultFolderPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDefaultFolderPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDefaultFolderPolicyInviteOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDefaultFolderPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDefaultFolderPolicy:other]; +} + +- (BOOL)isEqualToPaperDefaultFolderPolicy:(DBTEAMLOGPaperDefaultFolderPolicy *)aPaperDefaultFolderPolicy { + if (self == aPaperDefaultFolderPolicy) { + return YES; + } + if (self.tag != aPaperDefaultFolderPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; + case DBTEAMLOGPaperDefaultFolderPolicyInviteOnly: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; + case DBTEAMLOGPaperDefaultFolderPolicyOther: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEveryoneInTeam]) { + jsonDict[@".tag"] = @"everyone_in_team"; + } else if ([valueObj isInviteOnly]) { + jsonDict[@".tag"] = @"invite_only"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"everyone_in_team"]) { + return [[DBTEAMLOGPaperDefaultFolderPolicy alloc] initWithEveryoneInTeam]; + } else if ([tag isEqualToString:@"invite_only"]) { + return [[DBTEAMLOGPaperDefaultFolderPolicy alloc] initWithInviteOnly]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPaperDefaultFolderPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGPaperDefaultFolderPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDefaultFolderPolicy.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperDefaultFolderPolicy *)dNewValue + previousValue:(DBTEAMLOGPaperDefaultFolderPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDefaultFolderPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToPaperDefaultFolderPolicyChangedDetails: + (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)aPaperDefaultFolderPolicyChangedDetails { + if (self == aPaperDefaultFolderPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperDefaultFolderPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aPaperDefaultFolderPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGPaperDefaultFolderPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPaperDefaultFolderPolicy *dNewValue = + [DBTEAMLOGPaperDefaultFolderPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGPaperDefaultFolderPolicy *previousValue = + [DBTEAMLOGPaperDefaultFolderPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return + [[DBTEAMLOGPaperDefaultFolderPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDefaultFolderPolicyChangedType:other]; +} + +- (BOOL)isEqualToPaperDefaultFolderPolicyChangedType: + (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)aPaperDefaultFolderPolicyChangedType { + if (self == aPaperDefaultFolderPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDefaultFolderPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDefaultFolderPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDesktopPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDesktopPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDesktopPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDesktopPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDesktopPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGPaperDesktopPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGPaperDesktopPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPaperDesktopPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPaperDesktopPolicyDisabled: + return @"DBTEAMLOGPaperDesktopPolicyDisabled"; + case DBTEAMLOGPaperDesktopPolicyEnabled: + return @"DBTEAMLOGPaperDesktopPolicyEnabled"; + case DBTEAMLOGPaperDesktopPolicyOther: + return @"DBTEAMLOGPaperDesktopPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDesktopPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDesktopPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDesktopPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPaperDesktopPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDesktopPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDesktopPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDesktopPolicy:other]; +} + +- (BOOL)isEqualToPaperDesktopPolicy:(DBTEAMLOGPaperDesktopPolicy *)aPaperDesktopPolicy { + if (self == aPaperDesktopPolicy) { + return YES; + } + if (self.tag != aPaperDesktopPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPaperDesktopPolicyDisabled: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + case DBTEAMLOGPaperDesktopPolicyEnabled: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + case DBTEAMLOGPaperDesktopPolicyOther: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDesktopPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDesktopPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGPaperDesktopPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGPaperDesktopPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPaperDesktopPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGPaperDesktopPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDesktopPolicy.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDesktopPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperDesktopPolicy *)dNewValue + previousValue:(DBTEAMLOGPaperDesktopPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDesktopPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToPaperDesktopPolicyChangedDetails: + (DBTEAMLOGPaperDesktopPolicyChangedDetails *)aPaperDesktopPolicyChangedDetails { + if (self == aPaperDesktopPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPaperDesktopPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aPaperDesktopPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGPaperDesktopPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGPaperDesktopPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDesktopPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPaperDesktopPolicy *dNewValue = [DBTEAMLOGPaperDesktopPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGPaperDesktopPolicy *previousValue = + [DBTEAMLOGPaperDesktopPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGPaperDesktopPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDesktopPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDesktopPolicyChangedType:other]; +} + +- (BOOL)isEqualToPaperDesktopPolicyChangedType: + (DBTEAMLOGPaperDesktopPolicyChangedType *)aPaperDesktopPolicyChangedType { + if (self == aPaperDesktopPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDesktopPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDesktopPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDesktopPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocAddCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocAddCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocAddCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocAddCommentDetails:other]; +} + +- (BOOL)isEqualToPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)aPaperDocAddCommentDetails { + if (self == aPaperDocAddCommentDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocAddCommentDetails.eventUuid]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aPaperDocAddCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocAddCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGPaperDocAddCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocAddCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocAddCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocAddCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocAddCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocAddCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocAddCommentType:other]; +} + +- (BOOL)isEqualToPaperDocAddCommentType:(DBTEAMLOGPaperDocAddCommentType *)aPaperDocAddCommentType { + if (self == aPaperDocAddCommentType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocAddCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocAddCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocAddCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocAddCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperAccessType.h" +#import "DBTEAMLOGPaperDocChangeMemberRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeMemberRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid accessType:(DBTEAMLOGPaperAccessType *)accessType { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](accessType); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _accessType = accessType; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.accessType hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeMemberRoleDetails:other]; +} + +- (BOOL)isEqualToPaperDocChangeMemberRoleDetails: + (DBTEAMLOGPaperDocChangeMemberRoleDetails *)aPaperDocChangeMemberRoleDetails { + if (self == aPaperDocChangeMemberRoleDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocChangeMemberRoleDetails.eventUuid]) { + return NO; + } + if (![self.accessType isEqual:aPaperDocChangeMemberRoleDetails.accessType]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"access_type"] = [DBTEAMLOGPaperAccessTypeSerializer serialize:valueObj.accessType]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + DBTEAMLOGPaperAccessType *accessType = [DBTEAMLOGPaperAccessTypeSerializer deserialize:valueDict[@"access_type"]]; + + return [[DBTEAMLOGPaperDocChangeMemberRoleDetails alloc] initWithEventUuid:eventUuid accessType:accessType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocChangeMemberRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeMemberRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeMemberRoleType:other]; +} + +- (BOOL)isEqualToPaperDocChangeMemberRoleType:(DBTEAMLOGPaperDocChangeMemberRoleType *)aPaperDocChangeMemberRoleType { + if (self == aPaperDocChangeMemberRoleType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocChangeMemberRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocChangeMemberRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocChangeSharingPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeSharingPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + publicSharingPolicy:(NSString *)publicSharingPolicy + teamSharingPolicy:(NSString *)teamSharingPolicy { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _publicSharingPolicy = publicSharingPolicy; + _teamSharingPolicy = teamSharingPolicy; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid publicSharingPolicy:nil teamSharingPolicy:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.publicSharingPolicy != nil) { + result = prime * result + [self.publicSharingPolicy hash]; + } + if (self.teamSharingPolicy != nil) { + result = prime * result + [self.teamSharingPolicy hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeSharingPolicyDetails:other]; +} + +- (BOOL)isEqualToPaperDocChangeSharingPolicyDetails: + (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)aPaperDocChangeSharingPolicyDetails { + if (self == aPaperDocChangeSharingPolicyDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocChangeSharingPolicyDetails.eventUuid]) { + return NO; + } + if (self.publicSharingPolicy) { + if (![self.publicSharingPolicy isEqual:aPaperDocChangeSharingPolicyDetails.publicSharingPolicy]) { + return NO; + } + } + if (self.teamSharingPolicy) { + if (![self.teamSharingPolicy isEqual:aPaperDocChangeSharingPolicyDetails.teamSharingPolicy]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.publicSharingPolicy) { + jsonDict[@"public_sharing_policy"] = valueObj.publicSharingPolicy; + } + if (valueObj.teamSharingPolicy) { + jsonDict[@"team_sharing_policy"] = valueObj.teamSharingPolicy; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *publicSharingPolicy = valueDict[@"public_sharing_policy"] ?: nil; + NSString *teamSharingPolicy = valueDict[@"team_sharing_policy"] ?: nil; + + return [[DBTEAMLOGPaperDocChangeSharingPolicyDetails alloc] initWithEventUuid:eventUuid + publicSharingPolicy:publicSharingPolicy + teamSharingPolicy:teamSharingPolicy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocChangeSharingPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeSharingPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeSharingPolicyType:other]; +} + +- (BOOL)isEqualToPaperDocChangeSharingPolicyType: + (DBTEAMLOGPaperDocChangeSharingPolicyType *)aPaperDocChangeSharingPolicyType { + if (self == aPaperDocChangeSharingPolicyType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocChangeSharingPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeSharingPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocChangeSharingPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocChangeSubscriptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeSubscriptionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel + previousSubscriptionLevel:(NSString *)previousSubscriptionLevel { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](dNewSubscriptionLevel); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _dNewSubscriptionLevel = dNewSubscriptionLevel; + _previousSubscriptionLevel = previousSubscriptionLevel; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel { + return [self initWithEventUuid:eventUuid dNewSubscriptionLevel:dNewSubscriptionLevel previousSubscriptionLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewSubscriptionLevel hash]; + if (self.previousSubscriptionLevel != nil) { + result = prime * result + [self.previousSubscriptionLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeSubscriptionDetails:other]; +} + +- (BOOL)isEqualToPaperDocChangeSubscriptionDetails: + (DBTEAMLOGPaperDocChangeSubscriptionDetails *)aPaperDocChangeSubscriptionDetails { + if (self == aPaperDocChangeSubscriptionDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocChangeSubscriptionDetails.eventUuid]) { + return NO; + } + if (![self.dNewSubscriptionLevel isEqual:aPaperDocChangeSubscriptionDetails.dNewSubscriptionLevel]) { + return NO; + } + if (self.previousSubscriptionLevel) { + if (![self.previousSubscriptionLevel isEqual:aPaperDocChangeSubscriptionDetails.previousSubscriptionLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_subscription_level"] = valueObj.dNewSubscriptionLevel; + if (valueObj.previousSubscriptionLevel) { + jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *dNewSubscriptionLevel = valueDict[@"new_subscription_level"]; + NSString *previousSubscriptionLevel = valueDict[@"previous_subscription_level"] ?: nil; + + return [[DBTEAMLOGPaperDocChangeSubscriptionDetails alloc] initWithEventUuid:eventUuid + dNewSubscriptionLevel:dNewSubscriptionLevel + previousSubscriptionLevel:previousSubscriptionLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocChangeSubscriptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocChangeSubscriptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocChangeSubscriptionType:other]; +} + +- (BOOL)isEqualToPaperDocChangeSubscriptionType: + (DBTEAMLOGPaperDocChangeSubscriptionType *)aPaperDocChangeSubscriptionType { + if (self == aPaperDocChangeSubscriptionType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocChangeSubscriptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocChangeSubscriptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocChangeSubscriptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDeleteCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDeleteCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDeleteCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDeleteCommentDetails:other]; +} + +- (BOOL)isEqualToPaperDocDeleteCommentDetails:(DBTEAMLOGPaperDocDeleteCommentDetails *)aPaperDocDeleteCommentDetails { + if (self == aPaperDocDeleteCommentDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocDeleteCommentDetails.eventUuid]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aPaperDocDeleteCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDeleteCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGPaperDocDeleteCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDeleteCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDeleteCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDeleteCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDeleteCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDeleteCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDeleteCommentType:other]; +} + +- (BOOL)isEqualToPaperDocDeleteCommentType:(DBTEAMLOGPaperDocDeleteCommentType *)aPaperDocDeleteCommentType { + if (self == aPaperDocDeleteCommentType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocDeleteCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDeleteCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDeleteCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocDeleteCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDeletedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDeletedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDeletedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDeletedDetails:other]; +} + +- (BOOL)isEqualToPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)aPaperDocDeletedDetails { + if (self == aPaperDocDeletedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocDeletedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDeletedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocDeletedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDeletedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDeletedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDeletedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDeletedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDeletedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDeletedType:other]; +} + +- (BOOL)isEqualToPaperDocDeletedType:(DBTEAMLOGPaperDocDeletedType *)aPaperDocDeletedType { + if (self == aPaperDocDeletedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocDeletedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDeletedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDeletedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocDeletedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDownloadDetails.h" +#import "DBTEAMLOGPaperDownloadFormat.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDownloadDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + exportFileFormat:(DBTEAMLOGPaperDownloadFormat *)exportFileFormat { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](exportFileFormat); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _exportFileFormat = exportFileFormat; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDownloadDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.exportFileFormat hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDownloadDetails:other]; +} + +- (BOOL)isEqualToPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)aPaperDocDownloadDetails { + if (self == aPaperDocDownloadDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocDownloadDetails.eventUuid]) { + return NO; + } + if (![self.exportFileFormat isEqual:aPaperDocDownloadDetails.exportFileFormat]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDownloadDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"export_file_format"] = [DBTEAMLOGPaperDownloadFormatSerializer serialize:valueObj.exportFileFormat]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + DBTEAMLOGPaperDownloadFormat *exportFileFormat = + [DBTEAMLOGPaperDownloadFormatSerializer deserialize:valueDict[@"export_file_format"]]; + + return [[DBTEAMLOGPaperDocDownloadDetails alloc] initWithEventUuid:eventUuid exportFileFormat:exportFileFormat]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocDownloadType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocDownloadType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocDownloadTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocDownloadTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocDownloadTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocDownloadType:other]; +} + +- (BOOL)isEqualToPaperDocDownloadType:(DBTEAMLOGPaperDocDownloadType *)aPaperDocDownloadType { + if (self == aPaperDocDownloadType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocDownloadType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocDownloadTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocDownloadType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocEditCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocEditCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocEditCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocEditCommentDetails:other]; +} + +- (BOOL)isEqualToPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)aPaperDocEditCommentDetails { + if (self == aPaperDocEditCommentDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocEditCommentDetails.eventUuid]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aPaperDocEditCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocEditCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGPaperDocEditCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocEditCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocEditCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocEditCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocEditCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocEditCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocEditCommentType:other]; +} + +- (BOOL)isEqualToPaperDocEditCommentType:(DBTEAMLOGPaperDocEditCommentType *)aPaperDocEditCommentType { + if (self == aPaperDocEditCommentType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocEditCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocEditCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocEditCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocEditCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocEditDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocEditDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocEditDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocEditDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocEditDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocEditDetails:other]; +} + +- (BOOL)isEqualToPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)aPaperDocEditDetails { + if (self == aPaperDocEditDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocEditDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocEditDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocEditDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocEditType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocEditType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocEditTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocEditTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocEditTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocEditType:other]; +} + +- (BOOL)isEqualToPaperDocEditType:(DBTEAMLOGPaperDocEditType *)aPaperDocEditType { + if (self == aPaperDocEditType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocEditType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocEditTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocEditType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocEditType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocFollowedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocFollowedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocFollowedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocFollowedDetails:other]; +} + +- (BOOL)isEqualToPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)aPaperDocFollowedDetails { + if (self == aPaperDocFollowedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocFollowedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocFollowedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocFollowedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocFollowedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocFollowedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocFollowedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocFollowedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocFollowedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocFollowedType:other]; +} + +- (BOOL)isEqualToPaperDocFollowedType:(DBTEAMLOGPaperDocFollowedType *)aPaperDocFollowedType { + if (self == aPaperDocFollowedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocFollowedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocFollowedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocFollowedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocFollowedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocMentionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocMentionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocMentionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocMentionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocMentionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocMentionDetails:other]; +} + +- (BOOL)isEqualToPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)aPaperDocMentionDetails { + if (self == aPaperDocMentionDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocMentionDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocMentionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocMentionDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocMentionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocMentionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocMentionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocMentionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocMentionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocMentionType:other]; +} + +- (BOOL)isEqualToPaperDocMentionType:(DBTEAMLOGPaperDocMentionType *)aPaperDocMentionType { + if (self == aPaperDocMentionType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocMentionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocMentionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocMentionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocMentionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocOwnershipChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocOwnershipChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewOwnerUserId:(NSString *)dNewOwnerUserId + oldOwnerUserId:(NSString *)oldOwnerUserId { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](dNewOwnerUserId); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](oldOwnerUserId); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _oldOwnerUserId = oldOwnerUserId; + _dNewOwnerUserId = dNewOwnerUserId; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewOwnerUserId:(NSString *)dNewOwnerUserId { + return [self initWithEventUuid:eventUuid dNewOwnerUserId:dNewOwnerUserId oldOwnerUserId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewOwnerUserId hash]; + if (self.oldOwnerUserId != nil) { + result = prime * result + [self.oldOwnerUserId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocOwnershipChangedDetails:other]; +} + +- (BOOL)isEqualToPaperDocOwnershipChangedDetails: + (DBTEAMLOGPaperDocOwnershipChangedDetails *)aPaperDocOwnershipChangedDetails { + if (self == aPaperDocOwnershipChangedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocOwnershipChangedDetails.eventUuid]) { + return NO; + } + if (![self.dNewOwnerUserId isEqual:aPaperDocOwnershipChangedDetails.dNewOwnerUserId]) { + return NO; + } + if (self.oldOwnerUserId) { + if (![self.oldOwnerUserId isEqual:aPaperDocOwnershipChangedDetails.oldOwnerUserId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocOwnershipChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_owner_user_id"] = valueObj.dNewOwnerUserId; + if (valueObj.oldOwnerUserId) { + jsonDict[@"old_owner_user_id"] = valueObj.oldOwnerUserId; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocOwnershipChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *dNewOwnerUserId = valueDict[@"new_owner_user_id"]; + NSString *oldOwnerUserId = valueDict[@"old_owner_user_id"] ?: nil; + + return [[DBTEAMLOGPaperDocOwnershipChangedDetails alloc] initWithEventUuid:eventUuid + dNewOwnerUserId:dNewOwnerUserId + oldOwnerUserId:oldOwnerUserId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocOwnershipChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocOwnershipChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocOwnershipChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocOwnershipChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocOwnershipChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocOwnershipChangedType:other]; +} + +- (BOOL)isEqualToPaperDocOwnershipChangedType:(DBTEAMLOGPaperDocOwnershipChangedType *)aPaperDocOwnershipChangedType { + if (self == aPaperDocOwnershipChangedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocOwnershipChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocOwnershipChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocOwnershipChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocOwnershipChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocOwnershipChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocRequestAccessDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocRequestAccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocRequestAccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocRequestAccessDetails:other]; +} + +- (BOOL)isEqualToPaperDocRequestAccessDetails:(DBTEAMLOGPaperDocRequestAccessDetails *)aPaperDocRequestAccessDetails { + if (self == aPaperDocRequestAccessDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocRequestAccessDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocRequestAccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocRequestAccessDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocRequestAccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocRequestAccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocRequestAccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocRequestAccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocRequestAccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocRequestAccessType:other]; +} + +- (BOOL)isEqualToPaperDocRequestAccessType:(DBTEAMLOGPaperDocRequestAccessType *)aPaperDocRequestAccessType { + if (self == aPaperDocRequestAccessType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocRequestAccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocRequestAccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocRequestAccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocRequestAccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocResolveCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocResolveCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocResolveCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocResolveCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocResolveCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocResolveCommentDetails:other]; +} + +- (BOOL)isEqualToPaperDocResolveCommentDetails: + (DBTEAMLOGPaperDocResolveCommentDetails *)aPaperDocResolveCommentDetails { + if (self == aPaperDocResolveCommentDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocResolveCommentDetails.eventUuid]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aPaperDocResolveCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocResolveCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGPaperDocResolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocResolveCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocResolveCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocResolveCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocResolveCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocResolveCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocResolveCommentType:other]; +} + +- (BOOL)isEqualToPaperDocResolveCommentType:(DBTEAMLOGPaperDocResolveCommentType *)aPaperDocResolveCommentType { + if (self == aPaperDocResolveCommentType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocResolveCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocResolveCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocResolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocResolveCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocRevertDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocRevertDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocRevertDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocRevertDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocRevertDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocRevertDetails:other]; +} + +- (BOOL)isEqualToPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)aPaperDocRevertDetails { + if (self == aPaperDocRevertDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocRevertDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocRevertDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocRevertDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocRevertType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocRevertType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocRevertTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocRevertTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocRevertTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocRevertType:other]; +} + +- (BOOL)isEqualToPaperDocRevertType:(DBTEAMLOGPaperDocRevertType *)aPaperDocRevertType { + if (self == aPaperDocRevertType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocRevertType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocRevertTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocRevertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocRevertType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocSlackShareDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocSlackShareDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocSlackShareDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocSlackShareDetails:other]; +} + +- (BOOL)isEqualToPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)aPaperDocSlackShareDetails { + if (self == aPaperDocSlackShareDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocSlackShareDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocSlackShareDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocSlackShareDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocSlackShareType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocSlackShareType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocSlackShareTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocSlackShareTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocSlackShareTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocSlackShareType:other]; +} + +- (BOOL)isEqualToPaperDocSlackShareType:(DBTEAMLOGPaperDocSlackShareType *)aPaperDocSlackShareType { + if (self == aPaperDocSlackShareType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocSlackShareType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocSlackShareTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocSlackShareType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocSlackShareType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocTeamInviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocTeamInviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocTeamInviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocTeamInviteDetails:other]; +} + +- (BOOL)isEqualToPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)aPaperDocTeamInviteDetails { + if (self == aPaperDocTeamInviteDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocTeamInviteDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocTeamInviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocTeamInviteDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocTeamInviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocTeamInviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocTeamInviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocTeamInviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocTeamInviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocTeamInviteType:other]; +} + +- (BOOL)isEqualToPaperDocTeamInviteType:(DBTEAMLOGPaperDocTeamInviteType *)aPaperDocTeamInviteType { + if (self == aPaperDocTeamInviteType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocTeamInviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocTeamInviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocTeamInviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocTeamInviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocTrashedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocTrashedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocTrashedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocTrashedDetails:other]; +} + +- (BOOL)isEqualToPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)aPaperDocTrashedDetails { + if (self == aPaperDocTrashedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocTrashedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocTrashedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocTrashedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocTrashedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocTrashedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocTrashedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocTrashedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocTrashedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocTrashedType:other]; +} + +- (BOOL)isEqualToPaperDocTrashedType:(DBTEAMLOGPaperDocTrashedType *)aPaperDocTrashedType { + if (self == aPaperDocTrashedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocTrashedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocTrashedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocTrashedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocTrashedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocUnresolveCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocUnresolveCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocUnresolveCommentDetails:other]; +} + +- (BOOL)isEqualToPaperDocUnresolveCommentDetails: + (DBTEAMLOGPaperDocUnresolveCommentDetails *)aPaperDocUnresolveCommentDetails { + if (self == aPaperDocUnresolveCommentDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocUnresolveCommentDetails.eventUuid]) { + return NO; + } + if (self.commentText) { + if (![self.commentText isEqual:aPaperDocUnresolveCommentDetails.commentText]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGPaperDocUnresolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocUnresolveCommentType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocUnresolveCommentType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocUnresolveCommentTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocUnresolveCommentTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocUnresolveCommentTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocUnresolveCommentType:other]; +} + +- (BOOL)isEqualToPaperDocUnresolveCommentType:(DBTEAMLOGPaperDocUnresolveCommentType *)aPaperDocUnresolveCommentType { + if (self == aPaperDocUnresolveCommentType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocUnresolveCommentType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocUnresolveCommentTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocUnresolveCommentType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocUntrashedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocUntrashedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocUntrashedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocUntrashedDetails:other]; +} + +- (BOOL)isEqualToPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)aPaperDocUntrashedDetails { + if (self == aPaperDocUntrashedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocUntrashedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocUntrashedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocUntrashedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocUntrashedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocUntrashedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocUntrashedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocUntrashedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocUntrashedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocUntrashedType:other]; +} + +- (BOOL)isEqualToPaperDocUntrashedType:(DBTEAMLOGPaperDocUntrashedType *)aPaperDocUntrashedType { + if (self == aPaperDocUntrashedType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocUntrashedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocUntrashedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocUntrashedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocUntrashedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocViewDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocViewDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocViewDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocViewDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocViewDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocViewDetails:other]; +} + +- (BOOL)isEqualToPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)aPaperDocViewDetails { + if (self == aPaperDocViewDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperDocViewDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocViewDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocViewDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperDocViewDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocViewType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocViewType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocViewTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocViewTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocViewTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocViewType:other]; +} + +- (BOOL)isEqualToPaperDocViewType:(DBTEAMLOGPaperDocViewType *)aPaperDocViewType { + if (self == aPaperDocViewType) { + return YES; + } + if (![self.description_ isEqual:aPaperDocViewType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocViewTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocViewType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperDocViewType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDocumentLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDocumentLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithDocId:(NSString *)docId docTitle:(NSString *)docTitle { + [DBStoneValidators nonnullValidator:nil](docId); + [DBStoneValidators nonnullValidator:nil](docTitle); + + self = [super init]; + if (self) { + _docId = docId; + _docTitle = docTitle; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDocumentLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDocumentLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDocumentLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.docId hash]; + result = prime * result + [self.docTitle hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDocumentLogInfo:other]; +} + +- (BOOL)isEqualToPaperDocumentLogInfo:(DBTEAMLOGPaperDocumentLogInfo *)aPaperDocumentLogInfo { + if (self == aPaperDocumentLogInfo) { + return YES; + } + if (![self.docId isEqual:aPaperDocumentLogInfo.docId]) { + return NO; + } + if (![self.docTitle isEqual:aPaperDocumentLogInfo.docTitle]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDocumentLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDocumentLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"doc_id"] = valueObj.docId; + jsonDict[@"doc_title"] = valueObj.docTitle; + + return jsonDict; +} + ++ (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *docId = valueDict[@"doc_id"]; + NSString *docTitle = valueDict[@"doc_title"]; + + return [[DBTEAMLOGPaperDocumentLogInfo alloc] initWithDocId:docId docTitle:docTitle]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperDownloadFormat.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperDownloadFormat + +#pragma mark - Constructors + +- (instancetype)initWithDocx { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDownloadFormatDocx; + } + return self; +} + +- (instancetype)initWithHtml { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDownloadFormatHtml; + } + return self; +} + +- (instancetype)initWithMarkdown { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDownloadFormatMarkdown; + } + return self; +} + +- (instancetype)initWithPdf { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDownloadFormatPdf; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperDownloadFormatOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDocx { + return _tag == DBTEAMLOGPaperDownloadFormatDocx; +} + +- (BOOL)isHtml { + return _tag == DBTEAMLOGPaperDownloadFormatHtml; +} + +- (BOOL)isMarkdown { + return _tag == DBTEAMLOGPaperDownloadFormatMarkdown; +} + +- (BOOL)isPdf { + return _tag == DBTEAMLOGPaperDownloadFormatPdf; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPaperDownloadFormatOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPaperDownloadFormatDocx: + return @"DBTEAMLOGPaperDownloadFormatDocx"; + case DBTEAMLOGPaperDownloadFormatHtml: + return @"DBTEAMLOGPaperDownloadFormatHtml"; + case DBTEAMLOGPaperDownloadFormatMarkdown: + return @"DBTEAMLOGPaperDownloadFormatMarkdown"; + case DBTEAMLOGPaperDownloadFormatPdf: + return @"DBTEAMLOGPaperDownloadFormatPdf"; + case DBTEAMLOGPaperDownloadFormatOther: + return @"DBTEAMLOGPaperDownloadFormatOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperDownloadFormatSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperDownloadFormatSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperDownloadFormatSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPaperDownloadFormatDocx: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDownloadFormatHtml: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDownloadFormatMarkdown: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDownloadFormatPdf: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperDownloadFormatOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDownloadFormat:other]; +} + +- (BOOL)isEqualToPaperDownloadFormat:(DBTEAMLOGPaperDownloadFormat *)aPaperDownloadFormat { + if (self == aPaperDownloadFormat) { + return YES; + } + if (self.tag != aPaperDownloadFormat.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPaperDownloadFormatDocx: + return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; + case DBTEAMLOGPaperDownloadFormatHtml: + return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; + case DBTEAMLOGPaperDownloadFormatMarkdown: + return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; + case DBTEAMLOGPaperDownloadFormatPdf: + return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; + case DBTEAMLOGPaperDownloadFormatOther: + return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperDownloadFormatSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperDownloadFormat *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDocx]) { + jsonDict[@".tag"] = @"docx"; + } else if ([valueObj isHtml]) { + jsonDict[@".tag"] = @"html"; + } else if ([valueObj isMarkdown]) { + jsonDict[@".tag"] = @"markdown"; + } else if ([valueObj isPdf]) { + jsonDict[@".tag"] = @"pdf"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"docx"]) { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithDocx]; + } else if ([tag isEqualToString:@"html"]) { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithHtml]; + } else if ([tag isEqualToString:@"markdown"]) { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithMarkdown]; + } else if ([tag isEqualToString:@"pdf"]) { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithPdf]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithOther]; + } else { + return [[DBTEAMLOGPaperDownloadFormat alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperEnabledUsersGroupAdditionDetails:other]; +} + +- (BOOL)isEqualToPaperEnabledUsersGroupAdditionDetails: + (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)aPaperEnabledUsersGroupAdditionDetails { + if (self == aPaperEnabledUsersGroupAdditionDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPaperEnabledUsersGroupAdditionDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperEnabledUsersGroupAdditionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperEnabledUsersGroupAdditionType:other]; +} + +- (BOOL)isEqualToPaperEnabledUsersGroupAdditionType: + (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)aPaperEnabledUsersGroupAdditionType { + if (self == aPaperEnabledUsersGroupAdditionType) { + return YES; + } + if (![self.description_ isEqual:aPaperEnabledUsersGroupAdditionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperEnabledUsersGroupAdditionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperEnabledUsersGroupRemovalDetails:other]; +} + +- (BOOL)isEqualToPaperEnabledUsersGroupRemovalDetails: + (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)aPaperEnabledUsersGroupRemovalDetails { + if (self == aPaperEnabledUsersGroupRemovalDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPaperEnabledUsersGroupRemovalDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperEnabledUsersGroupRemovalType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperEnabledUsersGroupRemovalType:other]; +} + +- (BOOL)isEqualToPaperEnabledUsersGroupRemovalType: + (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)aPaperEnabledUsersGroupRemovalType { + if (self == aPaperEnabledUsersGroupRemovalType) { + return YES; + } + if (![self.description_ isEqual:aPaperEnabledUsersGroupRemovalType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperEnabledUsersGroupRemovalType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewAllowDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewAllowDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewAllowDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewAllowDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewAllowDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewAllowDetails:other]; +} + +- (BOOL)isEqualToPaperExternalViewAllowDetails: + (DBTEAMLOGPaperExternalViewAllowDetails *)aPaperExternalViewAllowDetails { + if (self == aPaperExternalViewAllowDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperExternalViewAllowDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewAllowDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperExternalViewAllowDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewAllowType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewAllowType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewAllowTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewAllowTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewAllowTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewAllowType:other]; +} + +- (BOOL)isEqualToPaperExternalViewAllowType:(DBTEAMLOGPaperExternalViewAllowType *)aPaperExternalViewAllowType { + if (self == aPaperExternalViewAllowType) { + return YES; + } + if (![self.description_ isEqual:aPaperExternalViewAllowType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewAllowTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewAllowType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperExternalViewAllowType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewDefaultTeamDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewDefaultTeamDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewDefaultTeamDetails:other]; +} + +- (BOOL)isEqualToPaperExternalViewDefaultTeamDetails: + (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)aPaperExternalViewDefaultTeamDetails { + if (self == aPaperExternalViewDefaultTeamDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperExternalViewDefaultTeamDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperExternalViewDefaultTeamDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewDefaultTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewDefaultTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewDefaultTeamType:other]; +} + +- (BOOL)isEqualToPaperExternalViewDefaultTeamType: + (DBTEAMLOGPaperExternalViewDefaultTeamType *)aPaperExternalViewDefaultTeamType { + if (self == aPaperExternalViewDefaultTeamType) { + return YES; + } + if (![self.description_ isEqual:aPaperExternalViewDefaultTeamType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewDefaultTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperExternalViewDefaultTeamType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewForbidDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewForbidDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewForbidDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewForbidDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewForbidDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewForbidDetails:other]; +} + +- (BOOL)isEqualToPaperExternalViewForbidDetails: + (DBTEAMLOGPaperExternalViewForbidDetails *)aPaperExternalViewForbidDetails { + if (self == aPaperExternalViewForbidDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperExternalViewForbidDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewForbidDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperExternalViewForbidDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperExternalViewForbidType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperExternalViewForbidType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperExternalViewForbidTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperExternalViewForbidTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperExternalViewForbidTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperExternalViewForbidType:other]; +} + +- (BOOL)isEqualToPaperExternalViewForbidType:(DBTEAMLOGPaperExternalViewForbidType *)aPaperExternalViewForbidType { + if (self == aPaperExternalViewForbidType) { + return YES; + } + if (![self.description_ isEqual:aPaperExternalViewForbidType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperExternalViewForbidTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperExternalViewForbidType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperExternalViewForbidType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderChangeSubscriptionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderChangeSubscriptionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel + previousSubscriptionLevel:(NSString *)previousSubscriptionLevel { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](dNewSubscriptionLevel); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _dNewSubscriptionLevel = dNewSubscriptionLevel; + _previousSubscriptionLevel = previousSubscriptionLevel; + } + return self; +} + +- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel { + return [self initWithEventUuid:eventUuid dNewSubscriptionLevel:dNewSubscriptionLevel previousSubscriptionLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewSubscriptionLevel hash]; + if (self.previousSubscriptionLevel != nil) { + result = prime * result + [self.previousSubscriptionLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderChangeSubscriptionDetails:other]; +} + +- (BOOL)isEqualToPaperFolderChangeSubscriptionDetails: + (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)aPaperFolderChangeSubscriptionDetails { + if (self == aPaperFolderChangeSubscriptionDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperFolderChangeSubscriptionDetails.eventUuid]) { + return NO; + } + if (![self.dNewSubscriptionLevel isEqual:aPaperFolderChangeSubscriptionDetails.dNewSubscriptionLevel]) { + return NO; + } + if (self.previousSubscriptionLevel) { + if (![self.previousSubscriptionLevel isEqual:aPaperFolderChangeSubscriptionDetails.previousSubscriptionLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_subscription_level"] = valueObj.dNewSubscriptionLevel; + if (valueObj.previousSubscriptionLevel) { + jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *dNewSubscriptionLevel = valueDict[@"new_subscription_level"]; + NSString *previousSubscriptionLevel = valueDict[@"previous_subscription_level"] ?: nil; + + return [[DBTEAMLOGPaperFolderChangeSubscriptionDetails alloc] initWithEventUuid:eventUuid + dNewSubscriptionLevel:dNewSubscriptionLevel + previousSubscriptionLevel:previousSubscriptionLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderChangeSubscriptionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderChangeSubscriptionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderChangeSubscriptionType:other]; +} + +- (BOOL)isEqualToPaperFolderChangeSubscriptionType: + (DBTEAMLOGPaperFolderChangeSubscriptionType *)aPaperFolderChangeSubscriptionType { + if (self == aPaperFolderChangeSubscriptionType) { + return YES; + } + if (![self.description_ isEqual:aPaperFolderChangeSubscriptionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderChangeSubscriptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperFolderChangeSubscriptionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderDeletedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderDeletedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderDeletedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderDeletedDetails:other]; +} + +- (BOOL)isEqualToPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)aPaperFolderDeletedDetails { + if (self == aPaperFolderDeletedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperFolderDeletedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderDeletedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperFolderDeletedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderDeletedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderDeletedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderDeletedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderDeletedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderDeletedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderDeletedType:other]; +} + +- (BOOL)isEqualToPaperFolderDeletedType:(DBTEAMLOGPaperFolderDeletedType *)aPaperFolderDeletedType { + if (self == aPaperFolderDeletedType) { + return YES; + } + if (![self.description_ isEqual:aPaperFolderDeletedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderDeletedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderDeletedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperFolderDeletedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderFollowedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderFollowedDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderFollowedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderFollowedDetails:other]; +} + +- (BOOL)isEqualToPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)aPaperFolderFollowedDetails { + if (self == aPaperFolderFollowedDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperFolderFollowedDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderFollowedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperFolderFollowedDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderFollowedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderFollowedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderFollowedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderFollowedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderFollowedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderFollowedType:other]; +} + +- (BOOL)isEqualToPaperFolderFollowedType:(DBTEAMLOGPaperFolderFollowedType *)aPaperFolderFollowedType { + if (self == aPaperFolderFollowedType) { + return YES; + } + if (![self.description_ isEqual:aPaperFolderFollowedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderFollowedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderFollowedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperFolderFollowedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithFolderId:(NSString *)folderId folderName:(NSString *)folderName { + [DBStoneValidators nonnullValidator:nil](folderId); + [DBStoneValidators nonnullValidator:nil](folderName); + + self = [super init]; + if (self) { + _folderId = folderId; + _folderName = folderName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.folderId hash]; + result = prime * result + [self.folderName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderLogInfo:other]; +} + +- (BOOL)isEqualToPaperFolderLogInfo:(DBTEAMLOGPaperFolderLogInfo *)aPaperFolderLogInfo { + if (self == aPaperFolderLogInfo) { + return YES; + } + if (![self.folderId isEqual:aPaperFolderLogInfo.folderId]) { + return NO; + } + if (![self.folderName isEqual:aPaperFolderLogInfo.folderName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"folder_id"] = valueObj.folderId; + jsonDict[@"folder_name"] = valueObj.folderName; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *folderId = valueDict[@"folder_id"]; + NSString *folderName = valueDict[@"folder_name"]; + + return [[DBTEAMLOGPaperFolderLogInfo alloc] initWithFolderId:folderId folderName:folderName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderTeamInviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderTeamInviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderTeamInviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderTeamInviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderTeamInviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderTeamInviteDetails:other]; +} + +- (BOOL)isEqualToPaperFolderTeamInviteDetails:(DBTEAMLOGPaperFolderTeamInviteDetails *)aPaperFolderTeamInviteDetails { + if (self == aPaperFolderTeamInviteDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperFolderTeamInviteDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderTeamInviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperFolderTeamInviteDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperFolderTeamInviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperFolderTeamInviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperFolderTeamInviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperFolderTeamInviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperFolderTeamInviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperFolderTeamInviteType:other]; +} + +- (BOOL)isEqualToPaperFolderTeamInviteType:(DBTEAMLOGPaperFolderTeamInviteType *)aPaperFolderTeamInviteType { + if (self == aPaperFolderTeamInviteType) { + return YES; + } + if (![self.description_ isEqual:aPaperFolderTeamInviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperFolderTeamInviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperFolderTeamInviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperFolderTeamInviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperMemberPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperMemberPolicy + +#pragma mark - Constructors + +- (instancetype)initWithAnyoneWithLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperMemberPolicyAnyoneWithLink; + } + return self; +} + +- (instancetype)initWithOnlyTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperMemberPolicyOnlyTeam; + } + return self; +} + +- (instancetype)initWithTeamAndExplicitlyShared { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPaperMemberPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAnyoneWithLink { + return _tag == DBTEAMLOGPaperMemberPolicyAnyoneWithLink; +} + +- (BOOL)isOnlyTeam { + return _tag == DBTEAMLOGPaperMemberPolicyOnlyTeam; +} + +- (BOOL)isTeamAndExplicitlyShared { + return _tag == DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPaperMemberPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: + return @"DBTEAMLOGPaperMemberPolicyAnyoneWithLink"; + case DBTEAMLOGPaperMemberPolicyOnlyTeam: + return @"DBTEAMLOGPaperMemberPolicyOnlyTeam"; + case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: + return @"DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared"; + case DBTEAMLOGPaperMemberPolicyOther: + return @"DBTEAMLOGPaperMemberPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperMemberPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperMemberPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperMemberPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperMemberPolicyOnlyTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPaperMemberPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperMemberPolicy:other]; +} + +- (BOOL)isEqualToPaperMemberPolicy:(DBTEAMLOGPaperMemberPolicy *)aPaperMemberPolicy { + if (self == aPaperMemberPolicy) { + return YES; + } + if (self.tag != aPaperMemberPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: + return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; + case DBTEAMLOGPaperMemberPolicyOnlyTeam: + return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; + case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: + return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; + case DBTEAMLOGPaperMemberPolicyOther: + return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperMemberPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAnyoneWithLink]) { + jsonDict[@".tag"] = @"anyone_with_link"; + } else if ([valueObj isOnlyTeam]) { + jsonDict[@".tag"] = @"only_team"; + } else if ([valueObj isTeamAndExplicitlyShared]) { + jsonDict[@".tag"] = @"team_and_explicitly_shared"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"anyone_with_link"]) { + return [[DBTEAMLOGPaperMemberPolicy alloc] initWithAnyoneWithLink]; + } else if ([tag isEqualToString:@"only_team"]) { + return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOnlyTeam]; + } else if ([tag isEqualToString:@"team_and_explicitly_shared"]) { + return [[DBTEAMLOGPaperMemberPolicy alloc] initWithTeamAndExplicitlyShared]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkChangePermissionDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewPermissionLevel:(NSString *)dNewPermissionLevel + previousPermissionLevel:(NSString *)previousPermissionLevel { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](dNewPermissionLevel); + [DBStoneValidators nonnullValidator:nil](previousPermissionLevel); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _dNewPermissionLevel = dNewPermissionLevel; + _previousPermissionLevel = previousPermissionLevel; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewPermissionLevel hash]; + result = prime * result + [self.previousPermissionLevel hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkChangePermissionDetails:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkChangePermissionDetails: + (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)aPaperPublishedLinkChangePermissionDetails { + if (self == aPaperPublishedLinkChangePermissionDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperPublishedLinkChangePermissionDetails.eventUuid]) { + return NO; + } + if (![self.dNewPermissionLevel isEqual:aPaperPublishedLinkChangePermissionDetails.dNewPermissionLevel]) { + return NO; + } + if (![self.previousPermissionLevel isEqual:aPaperPublishedLinkChangePermissionDetails.previousPermissionLevel]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_permission_level"] = valueObj.dNewPermissionLevel; + jsonDict[@"previous_permission_level"] = valueObj.previousPermissionLevel; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *dNewPermissionLevel = valueDict[@"new_permission_level"]; + NSString *previousPermissionLevel = valueDict[@"previous_permission_level"]; + + return [[DBTEAMLOGPaperPublishedLinkChangePermissionDetails alloc] initWithEventUuid:eventUuid + dNewPermissionLevel:dNewPermissionLevel + previousPermissionLevel:previousPermissionLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkChangePermissionType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkChangePermissionType:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkChangePermissionType: + (DBTEAMLOGPaperPublishedLinkChangePermissionType *)aPaperPublishedLinkChangePermissionType { + if (self == aPaperPublishedLinkChangePermissionType) { + return YES; + } + if (![self.description_ isEqual:aPaperPublishedLinkChangePermissionType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkChangePermissionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkChangePermissionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperPublishedLinkChangePermissionType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkCreateDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkCreateDetails:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkCreateDetails: + (DBTEAMLOGPaperPublishedLinkCreateDetails *)aPaperPublishedLinkCreateDetails { + if (self == aPaperPublishedLinkCreateDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperPublishedLinkCreateDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperPublishedLinkCreateDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkCreateType:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkCreateType:(DBTEAMLOGPaperPublishedLinkCreateType *)aPaperPublishedLinkCreateType { + if (self == aPaperPublishedLinkCreateType) { + return YES; + } + if (![self.description_ isEqual:aPaperPublishedLinkCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperPublishedLinkCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkDisabledDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkDisabledDetails:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkDisabledDetails: + (DBTEAMLOGPaperPublishedLinkDisabledDetails *)aPaperPublishedLinkDisabledDetails { + if (self == aPaperPublishedLinkDisabledDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperPublishedLinkDisabledDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkDisabledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkDisabledDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperPublishedLinkDisabledDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkDisabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkDisabledType:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkDisabledType: + (DBTEAMLOGPaperPublishedLinkDisabledType *)aPaperPublishedLinkDisabledType { + if (self == aPaperPublishedLinkDisabledType) { + return YES; + } + if (![self.description_ isEqual:aPaperPublishedLinkDisabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkDisabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkDisabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperPublishedLinkDisabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkViewDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkViewDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkViewDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkViewDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkViewDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkViewDetails:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkViewDetails: + (DBTEAMLOGPaperPublishedLinkViewDetails *)aPaperPublishedLinkViewDetails { + if (self == aPaperPublishedLinkViewDetails) { + return YES; + } + if (![self.eventUuid isEqual:aPaperPublishedLinkViewDetails.eventUuid]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkViewDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkViewDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGPaperPublishedLinkViewDetails alloc] initWithEventUuid:eventUuid]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPaperPublishedLinkViewType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPaperPublishedLinkViewType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPaperPublishedLinkViewTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPaperPublishedLinkViewTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPaperPublishedLinkViewTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperPublishedLinkViewType:other]; +} + +- (BOOL)isEqualToPaperPublishedLinkViewType:(DBTEAMLOGPaperPublishedLinkViewType *)aPaperPublishedLinkViewType { + if (self == aPaperPublishedLinkViewType) { + return YES; + } + if (![self.description_ isEqual:aPaperPublishedLinkViewType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPaperPublishedLinkViewTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkViewType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPaperPublishedLinkViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPaperPublishedLinkViewType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGGroupLogInfo.h" +#import "DBTEAMLOGParticipantLogInfo.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGParticipantLogInfo + +@synthesize group = _group; +@synthesize user = _user; + +#pragma mark - Constructors + +- (instancetype)initWithGroup:(DBTEAMLOGGroupLogInfo *)group { + self = [super init]; + if (self) { + _tag = DBTEAMLOGParticipantLogInfoGroup; + _group = group; + } + return self; +} + +- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user { + self = [super init]; + if (self) { + _tag = DBTEAMLOGParticipantLogInfoUser; + _user = user; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGParticipantLogInfoOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGGroupLogInfo *)group { + if (![self isGroup]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGParticipantLogInfoGroup, but was %@.", [self tagName]]; + } + return _group; +} + +- (DBTEAMLOGUserLogInfo *)user { + if (![self isUser]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGParticipantLogInfoUser, but was %@.", [self tagName]]; + } + return _user; +} + +#pragma mark - Tag state methods + +- (BOOL)isGroup { + return _tag == DBTEAMLOGParticipantLogInfoGroup; +} + +- (BOOL)isUser { + return _tag == DBTEAMLOGParticipantLogInfoUser; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGParticipantLogInfoOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGParticipantLogInfoGroup: + return @"DBTEAMLOGParticipantLogInfoGroup"; + case DBTEAMLOGParticipantLogInfoUser: + return @"DBTEAMLOGParticipantLogInfoUser"; + case DBTEAMLOGParticipantLogInfoOther: + return @"DBTEAMLOGParticipantLogInfoOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGParticipantLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGParticipantLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGParticipantLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGParticipantLogInfoGroup: + result = prime * result + [self.group hash]; + break; + case DBTEAMLOGParticipantLogInfoUser: + result = prime * result + [self.user hash]; + break; + case DBTEAMLOGParticipantLogInfoOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToParticipantLogInfo:other]; +} + +- (BOOL)isEqualToParticipantLogInfo:(DBTEAMLOGParticipantLogInfo *)aParticipantLogInfo { + if (self == aParticipantLogInfo) { + return YES; + } + if (self.tag != aParticipantLogInfo.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGParticipantLogInfoGroup: + return [self.group isEqual:aParticipantLogInfo.group]; + case DBTEAMLOGParticipantLogInfoUser: + return [self.user isEqual:aParticipantLogInfo.user]; + case DBTEAMLOGParticipantLogInfoOther: + return [[self tagName] isEqual:[aParticipantLogInfo tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGParticipantLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGParticipantLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isGroup]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGGroupLogInfoSerializer serialize:valueObj.group]]; + jsonDict[@".tag"] = @"group"; + } else if ([valueObj isUser]) { + jsonDict[@"user"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.user] mutableCopy]; + jsonDict[@".tag"] = @"user"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"group"]) { + DBTEAMLOGGroupLogInfo *group = [DBTEAMLOGGroupLogInfoSerializer deserialize:valueDict]; + return [[DBTEAMLOGParticipantLogInfo alloc] initWithGroup:group]; + } else if ([tag isEqualToString:@"user"]) { + DBTEAMLOGUserLogInfo *user = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"user"]]; + return [[DBTEAMLOGParticipantLogInfo alloc] initWithUser:user]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGParticipantLogInfo alloc] initWithOther]; + } else { + return [[DBTEAMLOGParticipantLogInfo alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPassPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPassPolicy + +#pragma mark - Constructors + +- (instancetype)initWithAllow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPassPolicyAllow; + } + return self; +} + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPassPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPassPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPassPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAllow { + return _tag == DBTEAMLOGPassPolicyAllow; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGPassPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGPassPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPassPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPassPolicyAllow: + return @"DBTEAMLOGPassPolicyAllow"; + case DBTEAMLOGPassPolicyDisabled: + return @"DBTEAMLOGPassPolicyDisabled"; + case DBTEAMLOGPassPolicyEnabled: + return @"DBTEAMLOGPassPolicyEnabled"; + case DBTEAMLOGPassPolicyOther: + return @"DBTEAMLOGPassPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPassPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPassPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPassPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPassPolicyAllow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPassPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPassPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPassPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPassPolicy:other]; +} + +- (BOOL)isEqualToPassPolicy:(DBTEAMLOGPassPolicy *)aPassPolicy { + if (self == aPassPolicy) { + return YES; + } + if (self.tag != aPassPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPassPolicyAllow: + return [[self tagName] isEqual:[aPassPolicy tagName]]; + case DBTEAMLOGPassPolicyDisabled: + return [[self tagName] isEqual:[aPassPolicy tagName]]; + case DBTEAMLOGPassPolicyEnabled: + return [[self tagName] isEqual:[aPassPolicy tagName]]; + case DBTEAMLOGPassPolicyOther: + return [[self tagName] isEqual:[aPassPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPassPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPassPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAllow]) { + jsonDict[@".tag"] = @"allow"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPassPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"allow"]) { + return [[DBTEAMLOGPassPolicy alloc] initWithAllow]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGPassPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGPassPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPassPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGPassPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordChangeDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordChangeDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordChangeDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordChangeDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordChangeDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordChangeDetails:other]; +} + +- (BOOL)isEqualToPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)aPasswordChangeDetails { + if (self == aPasswordChangeDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordChangeDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordChangeDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPasswordChangeDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordChangeType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordChangeType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordChangeTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordChangeTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordChangeTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordChangeType:other]; +} + +- (BOOL)isEqualToPasswordChangeType:(DBTEAMLOGPasswordChangeType *)aPasswordChangeType { + if (self == aPasswordChangeType) { + return YES; + } + if (![self.description_ isEqual:aPasswordChangeType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordChangeTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordChangeType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordChangeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPasswordChangeType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordResetAllDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordResetAllDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordResetAllDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordResetAllDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordResetAllDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordResetAllDetails:other]; +} + +- (BOOL)isEqualToPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)aPasswordResetAllDetails { + if (self == aPasswordResetAllDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordResetAllDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPasswordResetAllDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordResetAllType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordResetAllType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordResetAllTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordResetAllTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordResetAllTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordResetAllType:other]; +} + +- (BOOL)isEqualToPasswordResetAllType:(DBTEAMLOGPasswordResetAllType *)aPasswordResetAllType { + if (self == aPasswordResetAllType) { + return YES; + } + if (![self.description_ isEqual:aPasswordResetAllType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordResetAllTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordResetAllType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPasswordResetAllType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordResetDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordResetDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordResetDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordResetDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordResetDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordResetDetails:other]; +} + +- (BOOL)isEqualToPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)aPasswordResetDetails { + if (self == aPasswordResetDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordResetDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGPasswordResetDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordResetType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordResetType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordResetTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordResetTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordResetTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordResetType:other]; +} + +- (BOOL)isEqualToPasswordResetType:(DBTEAMLOGPasswordResetType *)aPasswordResetType { + if (self == aPasswordResetType) { + return YES; + } + if (![self.description_ isEqual:aPasswordResetType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordResetTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordResetType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPasswordResetType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h" +#import "DBTEAMPOLICIESPasswordStrengthPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMPOLICIESPasswordStrengthPolicy *)previousValue + dNewValue:(DBTEAMPOLICIESPasswordStrengthPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordStrengthRequirementsChangePolicyDetails:other]; +} + +- (BOOL)isEqualToPasswordStrengthRequirementsChangePolicyDetails: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)aPasswordStrengthRequirementsChangePolicyDetails { + if (self == aPasswordStrengthRequirementsChangePolicyDetails) { + return YES; + } + if (![self.previousValue isEqual:aPasswordStrengthRequirementsChangePolicyDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aPasswordStrengthRequirementsChangePolicyDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESPasswordStrengthPolicy *previousValue = + [DBTEAMPOLICIESPasswordStrengthPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMPOLICIESPasswordStrengthPolicy *dNewValue = + [DBTEAMPOLICIESPasswordStrengthPolicySerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordStrengthRequirementsChangePolicyType:other]; +} + +- (BOOL)isEqualToPasswordStrengthRequirementsChangePolicyType: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)aPasswordStrengthRequirementsChangePolicyType { + if (self == aPasswordStrengthRequirementsChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aPasswordStrengthRequirementsChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPasswordStrengthRequirementsChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGNamespaceRelativePathLogInfo.h" +#import "DBTEAMLOGPathLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPathLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative + contextual:(NSString *)contextual { + [DBStoneValidators nonnullValidator:nil](namespaceRelative); + + self = [super init]; + if (self) { + _contextual = contextual; + _namespaceRelative = namespaceRelative; + } + return self; +} + +- (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative { + return [self initWithNamespaceRelative:namespaceRelative contextual:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPathLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPathLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPathLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.namespaceRelative hash]; + if (self.contextual != nil) { + result = prime * result + [self.contextual hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPathLogInfo:other]; +} + +- (BOOL)isEqualToPathLogInfo:(DBTEAMLOGPathLogInfo *)aPathLogInfo { + if (self == aPathLogInfo) { + return YES; + } + if (![self.namespaceRelative isEqual:aPathLogInfo.namespaceRelative]) { + return NO; + } + if (self.contextual) { + if (![self.contextual isEqual:aPathLogInfo.contextual]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPathLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPathLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"namespace_relative"] = + [DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:valueObj.namespaceRelative]; + if (valueObj.contextual) { + jsonDict[@"contextual"] = valueObj.contextual; + } + + return jsonDict; +} + ++ (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGNamespaceRelativePathLogInfo *namespaceRelative = + [DBTEAMLOGNamespaceRelativePathLogInfoSerializer deserialize:valueDict[@"namespace_relative"]]; + NSString *contextual = valueDict[@"contextual"] ?: nil; + + return [[DBTEAMLOGPathLogInfo alloc] initWithNamespaceRelative:namespaceRelative contextual:contextual]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPendingSecondaryEmailAddedDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](secondaryEmail); + + self = [super init]; + if (self) { + _secondaryEmail = secondaryEmail; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryEmail hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPendingSecondaryEmailAddedDetails:other]; +} + +- (BOOL)isEqualToPendingSecondaryEmailAddedDetails: + (DBTEAMLOGPendingSecondaryEmailAddedDetails *)aPendingSecondaryEmailAddedDetails { + if (self == aPendingSecondaryEmailAddedDetails) { + return YES; + } + if (![self.secondaryEmail isEqual:aPendingSecondaryEmailAddedDetails.secondaryEmail]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPendingSecondaryEmailAddedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_email"] = valueObj.secondaryEmail; + + return jsonDict; +} + ++ (DBTEAMLOGPendingSecondaryEmailAddedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryEmail = valueDict[@"secondary_email"]; + + return [[DBTEAMLOGPendingSecondaryEmailAddedDetails alloc] initWithSecondaryEmail:secondaryEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPendingSecondaryEmailAddedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPendingSecondaryEmailAddedType:other]; +} + +- (BOOL)isEqualToPendingSecondaryEmailAddedType: + (DBTEAMLOGPendingSecondaryEmailAddedType *)aPendingSecondaryEmailAddedType { + if (self == aPendingSecondaryEmailAddedType) { + return YES; + } + if (![self.description_ isEqual:aPendingSecondaryEmailAddedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPendingSecondaryEmailAddedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPendingSecondaryEmailAddedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPendingSecondaryEmailAddedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGContentPermanentDeletePolicy.h" +#import "DBTEAMLOGPermanentDeleteChangePolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPermanentDeleteChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue + previousValue:(DBTEAMLOGContentPermanentDeletePolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPermanentDeleteChangePolicyDetails:other]; +} + +- (BOOL)isEqualToPermanentDeleteChangePolicyDetails: + (DBTEAMLOGPermanentDeleteChangePolicyDetails *)aPermanentDeleteChangePolicyDetails { + if (self == aPermanentDeleteChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aPermanentDeleteChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aPermanentDeleteChangePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGContentPermanentDeletePolicy *dNewValue = + [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGContentPermanentDeletePolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGPermanentDeleteChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPermanentDeleteChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPermanentDeleteChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPermanentDeleteChangePolicyType:other]; +} + +- (BOOL)isEqualToPermanentDeleteChangePolicyType: + (DBTEAMLOGPermanentDeleteChangePolicyType *)aPermanentDeleteChangePolicyType { + if (self == aPermanentDeleteChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aPermanentDeleteChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGPermanentDeleteChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGPermanentDeleteChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPlacementRestriction.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPlacementRestriction + +#pragma mark - Constructors + +- (instancetype)initWithAustraliaOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionAustraliaOnly; + } + return self; +} + +- (instancetype)initWithEuropeOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionEuropeOnly; + } + return self; +} + +- (instancetype)initWithJapanOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionJapanOnly; + } + return self; +} + +- (instancetype)initWithNone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionNone; + } + return self; +} + +- (instancetype)initWithUkOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionUkOnly; + } + return self; +} + +- (instancetype)initWithUsS3Only { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionUsS3Only; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPlacementRestrictionOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAustraliaOnly { + return _tag == DBTEAMLOGPlacementRestrictionAustraliaOnly; +} + +- (BOOL)isEuropeOnly { + return _tag == DBTEAMLOGPlacementRestrictionEuropeOnly; +} + +- (BOOL)isJapanOnly { + return _tag == DBTEAMLOGPlacementRestrictionJapanOnly; +} + +- (BOOL)isNone { + return _tag == DBTEAMLOGPlacementRestrictionNone; +} + +- (BOOL)isUkOnly { + return _tag == DBTEAMLOGPlacementRestrictionUkOnly; +} + +- (BOOL)isUsS3Only { + return _tag == DBTEAMLOGPlacementRestrictionUsS3Only; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPlacementRestrictionOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPlacementRestrictionAustraliaOnly: + return @"DBTEAMLOGPlacementRestrictionAustraliaOnly"; + case DBTEAMLOGPlacementRestrictionEuropeOnly: + return @"DBTEAMLOGPlacementRestrictionEuropeOnly"; + case DBTEAMLOGPlacementRestrictionJapanOnly: + return @"DBTEAMLOGPlacementRestrictionJapanOnly"; + case DBTEAMLOGPlacementRestrictionNone: + return @"DBTEAMLOGPlacementRestrictionNone"; + case DBTEAMLOGPlacementRestrictionUkOnly: + return @"DBTEAMLOGPlacementRestrictionUkOnly"; + case DBTEAMLOGPlacementRestrictionUsS3Only: + return @"DBTEAMLOGPlacementRestrictionUsS3Only"; + case DBTEAMLOGPlacementRestrictionOther: + return @"DBTEAMLOGPlacementRestrictionOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPlacementRestrictionSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPlacementRestrictionSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPlacementRestrictionSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPlacementRestrictionAustraliaOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionEuropeOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionJapanOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionNone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionUkOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionUsS3Only: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPlacementRestrictionOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPlacementRestriction:other]; +} + +- (BOOL)isEqualToPlacementRestriction:(DBTEAMLOGPlacementRestriction *)aPlacementRestriction { + if (self == aPlacementRestriction) { + return YES; + } + if (self.tag != aPlacementRestriction.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPlacementRestrictionAustraliaOnly: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionEuropeOnly: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionJapanOnly: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionNone: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionUkOnly: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionUsS3Only: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + case DBTEAMLOGPlacementRestrictionOther: + return [[self tagName] isEqual:[aPlacementRestriction tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPlacementRestrictionSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPlacementRestriction *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAustraliaOnly]) { + jsonDict[@".tag"] = @"australia_only"; + } else if ([valueObj isEuropeOnly]) { + jsonDict[@".tag"] = @"europe_only"; + } else if ([valueObj isJapanOnly]) { + jsonDict[@".tag"] = @"japan_only"; + } else if ([valueObj isNone]) { + jsonDict[@".tag"] = @"none"; + } else if ([valueObj isUkOnly]) { + jsonDict[@".tag"] = @"uk_only"; + } else if ([valueObj isUsS3Only]) { + jsonDict[@".tag"] = @"us_s3_only"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"australia_only"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithAustraliaOnly]; + } else if ([tag isEqualToString:@"europe_only"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithEuropeOnly]; + } else if ([tag isEqualToString:@"japan_only"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithJapanOnly]; + } else if ([tag isEqualToString:@"none"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithNone]; + } else if ([tag isEqualToString:@"uk_only"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithUkOnly]; + } else if ([tag isEqualToString:@"us_s3_only"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithUsS3Only]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPlacementRestriction alloc] initWithOther]; + } else { + return [[DBTEAMLOGPlacementRestriction alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDisposition { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPolicyTypeDisposition; + } + return self; +} + +- (instancetype)initWithRetention { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPolicyTypeRetention; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGPolicyTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisposition { + return _tag == DBTEAMLOGPolicyTypeDisposition; +} + +- (BOOL)isRetention { + return _tag == DBTEAMLOGPolicyTypeRetention; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGPolicyTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGPolicyTypeDisposition: + return @"DBTEAMLOGPolicyTypeDisposition"; + case DBTEAMLOGPolicyTypeRetention: + return @"DBTEAMLOGPolicyTypeRetention"; + case DBTEAMLOGPolicyTypeOther: + return @"DBTEAMLOGPolicyTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGPolicyTypeDisposition: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPolicyTypeRetention: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGPolicyTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPolicyType:other]; +} + +- (BOOL)isEqualToPolicyType:(DBTEAMLOGPolicyType *)aPolicyType { + if (self == aPolicyType) { + return YES; + } + if (self.tag != aPolicyType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGPolicyTypeDisposition: + return [[self tagName] isEqual:[aPolicyType tagName]]; + case DBTEAMLOGPolicyTypeRetention: + return [[self tagName] isEqual:[aPolicyType tagName]]; + case DBTEAMLOGPolicyTypeOther: + return [[self tagName] isEqual:[aPolicyType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisposition]) { + jsonDict[@".tag"] = @"disposition"; + } else if ([valueObj isRetention]) { + jsonDict[@".tag"] = @"retention"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disposition"]) { + return [[DBTEAMLOGPolicyType alloc] initWithDisposition]; + } else if ([tag isEqualToString:@"retention"]) { + return [[DBTEAMLOGPolicyType alloc] initWithRetention]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGPolicyType alloc] initWithOther]; + } else { + return [[DBTEAMLOGPolicyType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPrimaryTeamRequestAcceptedDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); + + self = [super init]; + if (self) { + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPrimaryTeamRequestAcceptedDetails:other]; +} + +- (BOOL)isEqualToPrimaryTeamRequestAcceptedDetails: + (DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)aPrimaryTeamRequestAcceptedDetails { + if (self == aPrimaryTeamRequestAcceptedDetails) { + return YES; + } + if (![self.secondaryTeam isEqual:aPrimaryTeamRequestAcceptedDetails.secondaryTeam]) { + return NO; + } + if (![self.sentBy isEqual:aPrimaryTeamRequestAcceptedDetails.sentBy]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; + + return jsonDict; +} + ++ (DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; + + return [[DBTEAMLOGPrimaryTeamRequestAcceptedDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPrimaryTeamRequestCanceledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPrimaryTeamRequestCanceledDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); + + self = [super init]; + if (self) { + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPrimaryTeamRequestCanceledDetails:other]; +} + +- (BOOL)isEqualToPrimaryTeamRequestCanceledDetails: + (DBTEAMLOGPrimaryTeamRequestCanceledDetails *)aPrimaryTeamRequestCanceledDetails { + if (self == aPrimaryTeamRequestCanceledDetails) { + return YES; + } + if (![self.secondaryTeam isEqual:aPrimaryTeamRequestCanceledDetails.secondaryTeam]) { + return NO; + } + if (![self.sentBy isEqual:aPrimaryTeamRequestCanceledDetails.sentBy]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestCanceledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; + + return jsonDict; +} + ++ (DBTEAMLOGPrimaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; + + return [[DBTEAMLOGPrimaryTeamRequestCanceledDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPrimaryTeamRequestExpiredDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPrimaryTeamRequestExpiredDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); + + self = [super init]; + if (self) { + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPrimaryTeamRequestExpiredDetails:other]; +} + +- (BOOL)isEqualToPrimaryTeamRequestExpiredDetails: + (DBTEAMLOGPrimaryTeamRequestExpiredDetails *)aPrimaryTeamRequestExpiredDetails { + if (self == aPrimaryTeamRequestExpiredDetails) { + return YES; + } + if (![self.secondaryTeam isEqual:aPrimaryTeamRequestExpiredDetails.secondaryTeam]) { + return NO; + } + if (![self.sentBy isEqual:aPrimaryTeamRequestExpiredDetails.sentBy]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestExpiredDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; + + return jsonDict; +} + ++ (DBTEAMLOGPrimaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; + + return [[DBTEAMLOGPrimaryTeamRequestExpiredDetails alloc] initWithSecondaryTeam:secondaryTeam sentBy:sentBy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGPrimaryTeamRequestReminderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGPrimaryTeamRequestReminderDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentTo); + + self = [super init]; + if (self) { + _secondaryTeam = secondaryTeam; + _sentTo = sentTo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentTo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPrimaryTeamRequestReminderDetails:other]; +} + +- (BOOL)isEqualToPrimaryTeamRequestReminderDetails: + (DBTEAMLOGPrimaryTeamRequestReminderDetails *)aPrimaryTeamRequestReminderDetails { + if (self == aPrimaryTeamRequestReminderDetails) { + return YES; + } + if (![self.secondaryTeam isEqual:aPrimaryTeamRequestReminderDetails.secondaryTeam]) { + return NO; + } + if (![self.sentTo isEqual:aPrimaryTeamRequestReminderDetails.sentTo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestReminderDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; +} + ++ (DBTEAMLOGPrimaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentTo = valueDict[@"sent_to"]; + + return [[DBTEAMLOGPrimaryTeamRequestReminderDetails alloc] initWithSecondaryTeam:secondaryTeam sentTo:sentTo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGQuickActionType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGQuickActionType + +#pragma mark - Constructors + +- (instancetype)initWithDeleteSharedLink { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeDeleteSharedLink; + } + return self; +} + +- (instancetype)initWithResetPassword { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeResetPassword; + } + return self; +} + +- (instancetype)initWithRestoreFileOrFolder { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeRestoreFileOrFolder; + } + return self; +} + +- (instancetype)initWithUnlinkApp { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeUnlinkApp; + } + return self; +} + +- (instancetype)initWithUnlinkDevice { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeUnlinkDevice; + } + return self; +} + +- (instancetype)initWithUnlinkSession { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeUnlinkSession; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGQuickActionTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDeleteSharedLink { + return _tag == DBTEAMLOGQuickActionTypeDeleteSharedLink; +} + +- (BOOL)isResetPassword { + return _tag == DBTEAMLOGQuickActionTypeResetPassword; +} + +- (BOOL)isRestoreFileOrFolder { + return _tag == DBTEAMLOGQuickActionTypeRestoreFileOrFolder; +} + +- (BOOL)isUnlinkApp { + return _tag == DBTEAMLOGQuickActionTypeUnlinkApp; +} + +- (BOOL)isUnlinkDevice { + return _tag == DBTEAMLOGQuickActionTypeUnlinkDevice; +} + +- (BOOL)isUnlinkSession { + return _tag == DBTEAMLOGQuickActionTypeUnlinkSession; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGQuickActionTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGQuickActionTypeDeleteSharedLink: + return @"DBTEAMLOGQuickActionTypeDeleteSharedLink"; + case DBTEAMLOGQuickActionTypeResetPassword: + return @"DBTEAMLOGQuickActionTypeResetPassword"; + case DBTEAMLOGQuickActionTypeRestoreFileOrFolder: + return @"DBTEAMLOGQuickActionTypeRestoreFileOrFolder"; + case DBTEAMLOGQuickActionTypeUnlinkApp: + return @"DBTEAMLOGQuickActionTypeUnlinkApp"; + case DBTEAMLOGQuickActionTypeUnlinkDevice: + return @"DBTEAMLOGQuickActionTypeUnlinkDevice"; + case DBTEAMLOGQuickActionTypeUnlinkSession: + return @"DBTEAMLOGQuickActionTypeUnlinkSession"; + case DBTEAMLOGQuickActionTypeOther: + return @"DBTEAMLOGQuickActionTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGQuickActionTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGQuickActionTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGQuickActionTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGQuickActionTypeDeleteSharedLink: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeResetPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeRestoreFileOrFolder: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeUnlinkApp: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeUnlinkDevice: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeUnlinkSession: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGQuickActionTypeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToQuickActionType:other]; +} + +- (BOOL)isEqualToQuickActionType:(DBTEAMLOGQuickActionType *)aQuickActionType { + if (self == aQuickActionType) { + return YES; + } + if (self.tag != aQuickActionType.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGQuickActionTypeDeleteSharedLink: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeResetPassword: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeRestoreFileOrFolder: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeUnlinkApp: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeUnlinkDevice: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeUnlinkSession: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + case DBTEAMLOGQuickActionTypeOther: + return [[self tagName] isEqual:[aQuickActionType tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGQuickActionTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGQuickActionType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDeleteSharedLink]) { + jsonDict[@".tag"] = @"delete_shared_link"; + } else if ([valueObj isResetPassword]) { + jsonDict[@".tag"] = @"reset_password"; + } else if ([valueObj isRestoreFileOrFolder]) { + jsonDict[@".tag"] = @"restore_file_or_folder"; + } else if ([valueObj isUnlinkApp]) { + jsonDict[@".tag"] = @"unlink_app"; + } else if ([valueObj isUnlinkDevice]) { + jsonDict[@".tag"] = @"unlink_device"; + } else if ([valueObj isUnlinkSession]) { + jsonDict[@".tag"] = @"unlink_session"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGQuickActionType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"delete_shared_link"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithDeleteSharedLink]; + } else if ([tag isEqualToString:@"reset_password"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithResetPassword]; + } else if ([tag isEqualToString:@"restore_file_or_folder"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithRestoreFileOrFolder]; + } else if ([tag isEqualToString:@"unlink_app"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithUnlinkApp]; + } else if ([tag isEqualToString:@"unlink_device"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithUnlinkDevice]; + } else if ([tag isEqualToString:@"unlink_session"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithUnlinkSession]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGQuickActionType alloc] initWithOther]; + } else { + return [[DBTEAMLOGQuickActionType alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareAlertCreateReportDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareAlertCreateReportDetails:other]; +} + +- (BOOL)isEqualToRansomwareAlertCreateReportDetails: + (DBTEAMLOGRansomwareAlertCreateReportDetails *)aRansomwareAlertCreateReportDetails { + if (self == aRansomwareAlertCreateReportDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareAlertCreateReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGRansomwareAlertCreateReportDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h" +#import "DBTEAMTeamReportFailureReason.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportFailedDetails + +#pragma mark - Constructors + +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); + + self = [super init]; + if (self) { + _failureReason = failureReason; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.failureReason hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareAlertCreateReportFailedDetails:other]; +} + +- (BOOL)isEqualToRansomwareAlertCreateReportFailedDetails: + (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)aRansomwareAlertCreateReportFailedDetails { + if (self == aRansomwareAlertCreateReportFailedDetails) { + return YES; + } + if (![self.failureReason isEqual:aRansomwareAlertCreateReportFailedDetails.failureReason]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; + + return [[DBTEAMLOGRansomwareAlertCreateReportFailedDetails alloc] initWithFailureReason:failureReason]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportFailedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareAlertCreateReportFailedType:other]; +} + +- (BOOL)isEqualToRansomwareAlertCreateReportFailedType: + (DBTEAMLOGRansomwareAlertCreateReportFailedType *)aRansomwareAlertCreateReportFailedType { + if (self == aRansomwareAlertCreateReportFailedType) { + return YES; + } + if (![self.description_ isEqual:aRansomwareAlertCreateReportFailedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportFailedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareAlertCreateReportFailedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRansomwareAlertCreateReportFailedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareAlertCreateReportType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareAlertCreateReportTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareAlertCreateReportTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareAlertCreateReportTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareAlertCreateReportType:other]; +} + +- (BOOL)isEqualToRansomwareAlertCreateReportType: + (DBTEAMLOGRansomwareAlertCreateReportType *)aRansomwareAlertCreateReportType { + if (self == aRansomwareAlertCreateReportType) { + return YES; + } + if (![self.description_ isEqual:aRansomwareAlertCreateReportType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareAlertCreateReportTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareAlertCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRansomwareAlertCreateReportType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareRestoreProcessCompletedDetails + +#pragma mark - Constructors + +- (instancetype)initWithStatus:(NSString *)status + restoredFilesCount:(NSNumber *)restoredFilesCount + restoredFilesFailedCount:(NSNumber *)restoredFilesFailedCount { + [DBStoneValidators nonnullValidator:nil](status); + [DBStoneValidators nonnullValidator:nil](restoredFilesCount); + [DBStoneValidators nonnullValidator:nil](restoredFilesFailedCount); + + self = [super init]; + if (self) { + _status = status; + _restoredFilesCount = restoredFilesCount; + _restoredFilesFailedCount = restoredFilesFailedCount; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.status hash]; + result = prime * result + [self.restoredFilesCount hash]; + result = prime * result + [self.restoredFilesFailedCount hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareRestoreProcessCompletedDetails:other]; +} + +- (BOOL)isEqualToRansomwareRestoreProcessCompletedDetails: + (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)aRansomwareRestoreProcessCompletedDetails { + if (self == aRansomwareRestoreProcessCompletedDetails) { + return YES; + } + if (![self.status isEqual:aRansomwareRestoreProcessCompletedDetails.status]) { + return NO; + } + if (![self.restoredFilesCount isEqual:aRansomwareRestoreProcessCompletedDetails.restoredFilesCount]) { + return NO; + } + if (![self.restoredFilesFailedCount isEqual:aRansomwareRestoreProcessCompletedDetails.restoredFilesFailedCount]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"status"] = valueObj.status; + jsonDict[@"restored_files_count"] = valueObj.restoredFilesCount; + jsonDict[@"restored_files_failed_count"] = valueObj.restoredFilesFailedCount; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *status = valueDict[@"status"]; + NSNumber *restoredFilesCount = valueDict[@"restored_files_count"]; + NSNumber *restoredFilesFailedCount = valueDict[@"restored_files_failed_count"]; + + return [[DBTEAMLOGRansomwareRestoreProcessCompletedDetails alloc] initWithStatus:status + restoredFilesCount:restoredFilesCount + restoredFilesFailedCount:restoredFilesFailedCount]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareRestoreProcessCompletedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareRestoreProcessCompletedType:other]; +} + +- (BOOL)isEqualToRansomwareRestoreProcessCompletedType: + (DBTEAMLOGRansomwareRestoreProcessCompletedType *)aRansomwareRestoreProcessCompletedType { + if (self == aRansomwareRestoreProcessCompletedType) { + return YES; + } + if (![self.description_ isEqual:aRansomwareRestoreProcessCompletedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessCompletedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareRestoreProcessCompletedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRansomwareRestoreProcessCompletedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareRestoreProcessStartedDetails + +#pragma mark - Constructors + +- (instancetype)initWithExtension:(NSString *)extension { + [DBStoneValidators nonnullValidator:nil](extension); + + self = [super init]; + if (self) { + _extension = extension; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.extension hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareRestoreProcessStartedDetails:other]; +} + +- (BOOL)isEqualToRansomwareRestoreProcessStartedDetails: + (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)aRansomwareRestoreProcessStartedDetails { + if (self == aRansomwareRestoreProcessStartedDetails) { + return YES; + } + if (![self.extension isEqual:aRansomwareRestoreProcessStartedDetails.extension]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessStartedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"extension"] = valueObj.extension; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *extension = valueDict[@"extension"]; + + return [[DBTEAMLOGRansomwareRestoreProcessStartedDetails alloc] initWithExtension:extension]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRansomwareRestoreProcessStartedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRansomwareRestoreProcessStartedType:other]; +} + +- (BOOL)isEqualToRansomwareRestoreProcessStartedType: + (DBTEAMLOGRansomwareRestoreProcessStartedType *)aRansomwareRestoreProcessStartedType { + if (self == aRansomwareRestoreProcessStartedType) { + return YES; + } + if (![self.description_ isEqual:aRansomwareRestoreProcessStartedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessStartedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRansomwareRestoreProcessStartedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRansomwareRestoreProcessStartedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGAlertRecipientsSettingType.h" +#import "DBTEAMLOGRecipientsConfiguration.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRecipientsConfiguration + +#pragma mark - Constructors + +- (instancetype)initWithRecipientSettingType:(DBTEAMLOGAlertRecipientsSettingType *)recipientSettingType + emails:(NSArray *)emails + groups:(NSArray *)groups { + [DBStoneValidators + nullableValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:nil]]]]( + emails); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](groups); + + self = [super init]; + if (self) { + _recipientSettingType = recipientSettingType; + _emails = emails; + _groups = groups; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithRecipientSettingType:nil emails:nil groups:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRecipientsConfigurationSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRecipientsConfigurationSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRecipientsConfigurationSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.recipientSettingType != nil) { + result = prime * result + [self.recipientSettingType hash]; + } + if (self.emails != nil) { + result = prime * result + [self.emails hash]; + } + if (self.groups != nil) { + result = prime * result + [self.groups hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRecipientsConfiguration:other]; +} + +- (BOOL)isEqualToRecipientsConfiguration:(DBTEAMLOGRecipientsConfiguration *)aRecipientsConfiguration { + if (self == aRecipientsConfiguration) { + return YES; + } + if (self.recipientSettingType) { + if (![self.recipientSettingType isEqual:aRecipientsConfiguration.recipientSettingType]) { + return NO; + } + } + if (self.emails) { + if (![self.emails isEqual:aRecipientsConfiguration.emails]) { + return NO; + } + } + if (self.groups) { + if (![self.groups isEqual:aRecipientsConfiguration.groups]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRecipientsConfigurationSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRecipientsConfiguration *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.recipientSettingType) { + jsonDict[@"recipient_setting_type"] = + [DBTEAMLOGAlertRecipientsSettingTypeSerializer serialize:valueObj.recipientSettingType]; + } + if (valueObj.emails) { + jsonDict[@"emails"] = [DBArraySerializer serialize:valueObj.emails + withBlock:^id(id elem0) { + return elem0; + }]; + } + if (valueObj.groups) { + jsonDict[@"groups"] = [DBArraySerializer serialize:valueObj.groups + withBlock:^id(id elem0) { + return elem0; + }]; + } + + return jsonDict; +} + ++ (DBTEAMLOGRecipientsConfiguration *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGAlertRecipientsSettingType *recipientSettingType = + valueDict[@"recipient_setting_type"] + ? [DBTEAMLOGAlertRecipientsSettingTypeSerializer deserialize:valueDict[@"recipient_setting_type"]] + : nil; + NSArray *emails = valueDict[@"emails"] ? [DBArraySerializer deserialize:valueDict[@"emails"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + NSArray *groups = valueDict[@"groups"] ? [DBArraySerializer deserialize:valueDict[@"groups"] + withBlock:^id(id elem0) { + return elem0; + }] + : nil; + + return [[DBTEAMLOGRecipientsConfiguration alloc] initWithRecipientSettingType:recipientSettingType + emails:emails + groups:groups]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRelocateAssetReferencesLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithSrcAssetIndex:(NSNumber *)srcAssetIndex destAssetIndex:(NSNumber *)destAssetIndex { + [DBStoneValidators nonnullValidator:nil](srcAssetIndex); + [DBStoneValidators nonnullValidator:nil](destAssetIndex); + + self = [super init]; + if (self) { + _srcAssetIndex = srcAssetIndex; + _destAssetIndex = destAssetIndex; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.srcAssetIndex hash]; + result = prime * result + [self.destAssetIndex hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRelocateAssetReferencesLogInfo:other]; +} + +- (BOOL)isEqualToRelocateAssetReferencesLogInfo: + (DBTEAMLOGRelocateAssetReferencesLogInfo *)aRelocateAssetReferencesLogInfo { + if (self == aRelocateAssetReferencesLogInfo) { + return YES; + } + if (![self.srcAssetIndex isEqual:aRelocateAssetReferencesLogInfo.srcAssetIndex]) { + return NO; + } + if (![self.destAssetIndex isEqual:aRelocateAssetReferencesLogInfo.destAssetIndex]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRelocateAssetReferencesLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRelocateAssetReferencesLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"src_asset_index"] = valueObj.srcAssetIndex; + jsonDict[@"dest_asset_index"] = valueObj.destAssetIndex; + + return jsonDict; +} + ++ (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)valueDict { + NSNumber *srcAssetIndex = valueDict[@"src_asset_index"]; + NSNumber *destAssetIndex = valueDict[@"dest_asset_index"]; + + return [[DBTEAMLOGRelocateAssetReferencesLogInfo alloc] initWithSrcAssetIndex:srcAssetIndex + destAssetIndex:destAssetIndex]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileDeleteDetails:other]; +} + +- (BOOL)isEqualToReplayFileDeleteDetails:(DBTEAMLOGReplayFileDeleteDetails *)aReplayFileDeleteDetails { + if (self == aReplayFileDeleteDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileDeleteDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileDeleteDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGReplayFileDeleteDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileDeleteType:other]; +} + +- (BOOL)isEqualToReplayFileDeleteType:(DBTEAMLOGReplayFileDeleteType *)aReplayFileDeleteType { + if (self == aReplayFileDeleteType) { + return YES; + } + if (![self.description_ isEqual:aReplayFileDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGReplayFileDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileSharedLinkCreatedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileSharedLinkCreatedDetails:other]; +} + +- (BOOL)isEqualToReplayFileSharedLinkCreatedDetails: + (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)aReplayFileSharedLinkCreatedDetails { + if (self == aReplayFileSharedLinkCreatedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkCreatedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGReplayFileSharedLinkCreatedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileSharedLinkCreatedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileSharedLinkCreatedType:other]; +} + +- (BOOL)isEqualToReplayFileSharedLinkCreatedType: + (DBTEAMLOGReplayFileSharedLinkCreatedType *)aReplayFileSharedLinkCreatedType { + if (self == aReplayFileSharedLinkCreatedType) { + return YES; + } + if (![self.description_ isEqual:aReplayFileSharedLinkCreatedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkCreatedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileSharedLinkCreatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGReplayFileSharedLinkCreatedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileSharedLinkModifiedDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileSharedLinkModifiedDetails:other]; +} + +- (BOOL)isEqualToReplayFileSharedLinkModifiedDetails: + (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)aReplayFileSharedLinkModifiedDetails { + if (self == aReplayFileSharedLinkModifiedDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkModifiedDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGReplayFileSharedLinkModifiedDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayFileSharedLinkModifiedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayFileSharedLinkModifiedType:other]; +} + +- (BOOL)isEqualToReplayFileSharedLinkModifiedType: + (DBTEAMLOGReplayFileSharedLinkModifiedType *)aReplayFileSharedLinkModifiedType { + if (self == aReplayFileSharedLinkModifiedType) { + return YES; + } + if (![self.description_ isEqual:aReplayFileSharedLinkModifiedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkModifiedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGReplayFileSharedLinkModifiedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGReplayFileSharedLinkModifiedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayProjectTeamAddDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayProjectTeamAddDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayProjectTeamAddDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayProjectTeamAddDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayProjectTeamAddDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayProjectTeamAddDetails:other]; +} + +- (BOOL)isEqualToReplayProjectTeamAddDetails:(DBTEAMLOGReplayProjectTeamAddDetails *)aReplayProjectTeamAddDetails { + if (self == aReplayProjectTeamAddDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayProjectTeamAddDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamAddDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGReplayProjectTeamAddDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGReplayProjectTeamAddDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayProjectTeamAddType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayProjectTeamAddType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayProjectTeamAddTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayProjectTeamAddTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayProjectTeamAddTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayProjectTeamAddType:other]; +} + +- (BOOL)isEqualToReplayProjectTeamAddType:(DBTEAMLOGReplayProjectTeamAddType *)aReplayProjectTeamAddType { + if (self == aReplayProjectTeamAddType) { + return YES; + } + if (![self.description_ isEqual:aReplayProjectTeamAddType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayProjectTeamAddTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamAddType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGReplayProjectTeamAddType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGReplayProjectTeamAddType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayProjectTeamDeleteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayProjectTeamDeleteDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayProjectTeamDeleteDetails:other]; +} + +- (BOOL)isEqualToReplayProjectTeamDeleteDetails: + (DBTEAMLOGReplayProjectTeamDeleteDetails *)aReplayProjectTeamDeleteDetails { + if (self == aReplayProjectTeamDeleteDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamDeleteDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGReplayProjectTeamDeleteDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGReplayProjectTeamDeleteDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGReplayProjectTeamDeleteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGReplayProjectTeamDeleteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGReplayProjectTeamDeleteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGReplayProjectTeamDeleteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGReplayProjectTeamDeleteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToReplayProjectTeamDeleteType:other]; +} + +- (BOOL)isEqualToReplayProjectTeamDeleteType:(DBTEAMLOGReplayProjectTeamDeleteType *)aReplayProjectTeamDeleteType { + if (self == aReplayProjectTeamDeleteType) { + return YES; + } + if (![self.description_ isEqual:aReplayProjectTeamDeleteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGReplayProjectTeamDeleteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamDeleteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGReplayProjectTeamDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGReplayProjectTeamDeleteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerLogInfo + +#pragma mark - Constructors + +- (instancetype)initWithResellerName:(NSString *)resellerName resellerEmail:(NSString *)resellerEmail { + [DBStoneValidators nonnullValidator:nil](resellerName); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](resellerEmail); + + self = [super init]; + if (self) { + _resellerName = resellerName; + _resellerEmail = resellerEmail; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerLogInfoSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerLogInfoSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerLogInfoSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.resellerName hash]; + result = prime * result + [self.resellerEmail hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerLogInfo:other]; +} + +- (BOOL)isEqualToResellerLogInfo:(DBTEAMLOGResellerLogInfo *)aResellerLogInfo { + if (self == aResellerLogInfo) { + return YES; + } + if (![self.resellerName isEqual:aResellerLogInfo.resellerName]) { + return NO; + } + if (![self.resellerEmail isEqual:aResellerLogInfo.resellerEmail]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerLogInfoSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerLogInfo *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"reseller_name"] = valueObj.resellerName; + jsonDict[@"reseller_email"] = valueObj.resellerEmail; + + return jsonDict; +} + ++ (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *resellerName = valueDict[@"reseller_name"]; + NSString *resellerEmail = valueDict[@"reseller_email"]; + + return [[DBTEAMLOGResellerLogInfo alloc] initWithResellerName:resellerName resellerEmail:resellerEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerRole.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerRole + +#pragma mark - Constructors + +- (instancetype)initWithNotReseller { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerRoleNotReseller; + } + return self; +} + +- (instancetype)initWithResellerAdmin { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerRoleResellerAdmin; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerRoleOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isNotReseller { + return _tag == DBTEAMLOGResellerRoleNotReseller; +} + +- (BOOL)isResellerAdmin { + return _tag == DBTEAMLOGResellerRoleResellerAdmin; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGResellerRoleOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGResellerRoleNotReseller: + return @"DBTEAMLOGResellerRoleNotReseller"; + case DBTEAMLOGResellerRoleResellerAdmin: + return @"DBTEAMLOGResellerRoleResellerAdmin"; + case DBTEAMLOGResellerRoleOther: + return @"DBTEAMLOGResellerRoleOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerRoleSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerRoleSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerRoleSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGResellerRoleNotReseller: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGResellerRoleResellerAdmin: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGResellerRoleOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerRole:other]; +} + +- (BOOL)isEqualToResellerRole:(DBTEAMLOGResellerRole *)aResellerRole { + if (self == aResellerRole) { + return YES; + } + if (self.tag != aResellerRole.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGResellerRoleNotReseller: + return [[self tagName] isEqual:[aResellerRole tagName]]; + case DBTEAMLOGResellerRoleResellerAdmin: + return [[self tagName] isEqual:[aResellerRole tagName]]; + case DBTEAMLOGResellerRoleOther: + return [[self tagName] isEqual:[aResellerRole tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerRoleSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerRole *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isNotReseller]) { + jsonDict[@".tag"] = @"not_reseller"; + } else if ([valueObj isResellerAdmin]) { + jsonDict[@".tag"] = @"reseller_admin"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGResellerRole *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"not_reseller"]) { + return [[DBTEAMLOGResellerRole alloc] initWithNotReseller]; + } else if ([tag isEqualToString:@"reseller_admin"]) { + return [[DBTEAMLOGResellerRole alloc] initWithResellerAdmin]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGResellerRole alloc] initWithOther]; + } else { + return [[DBTEAMLOGResellerRole alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportChangePolicyDetails.h" +#import "DBTEAMLOGResellerSupportPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportChangePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGResellerSupportPolicy *)dNewValue + previousValue:(DBTEAMLOGResellerSupportPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportChangePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportChangePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportChangePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportChangePolicyDetails:other]; +} + +- (BOOL)isEqualToResellerSupportChangePolicyDetails: + (DBTEAMLOGResellerSupportChangePolicyDetails *)aResellerSupportChangePolicyDetails { + if (self == aResellerSupportChangePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aResellerSupportChangePolicyDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aResellerSupportChangePolicyDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportChangePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportChangePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGResellerSupportPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGResellerSupportPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGResellerSupportPolicy *dNewValue = + [DBTEAMLOGResellerSupportPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGResellerSupportPolicy *previousValue = + [DBTEAMLOGResellerSupportPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGResellerSupportChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportChangePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportChangePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportChangePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportChangePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportChangePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportChangePolicyType:other]; +} + +- (BOOL)isEqualToResellerSupportChangePolicyType: + (DBTEAMLOGResellerSupportChangePolicyType *)aResellerSupportChangePolicyType { + if (self == aResellerSupportChangePolicyType) { + return YES; + } + if (![self.description_ isEqual:aResellerSupportChangePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportChangePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportChangePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGResellerSupportChangePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerSupportPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerSupportPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGResellerSupportPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGResellerSupportPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGResellerSupportPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGResellerSupportPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGResellerSupportPolicyDisabled: + return @"DBTEAMLOGResellerSupportPolicyDisabled"; + case DBTEAMLOGResellerSupportPolicyEnabled: + return @"DBTEAMLOGResellerSupportPolicyEnabled"; + case DBTEAMLOGResellerSupportPolicyOther: + return @"DBTEAMLOGResellerSupportPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGResellerSupportPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGResellerSupportPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGResellerSupportPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportPolicy:other]; +} + +- (BOOL)isEqualToResellerSupportPolicy:(DBTEAMLOGResellerSupportPolicy *)aResellerSupportPolicy { + if (self == aResellerSupportPolicy) { + return YES; + } + if (self.tag != aResellerSupportPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGResellerSupportPolicyDisabled: + return [[self tagName] isEqual:[aResellerSupportPolicy tagName]]; + case DBTEAMLOGResellerSupportPolicyEnabled: + return [[self tagName] isEqual:[aResellerSupportPolicy tagName]]; + case DBTEAMLOGResellerSupportPolicyOther: + return [[self tagName] isEqual:[aResellerSupportPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGResellerSupportPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGResellerSupportPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGResellerSupportPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGResellerSupportPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportSessionEndDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportSessionEndDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportSessionEndDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportSessionEndDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportSessionEndDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportSessionEndDetails:other]; +} + +- (BOOL)isEqualToResellerSupportSessionEndDetails: + (DBTEAMLOGResellerSupportSessionEndDetails *)aResellerSupportSessionEndDetails { + if (self == aResellerSupportSessionEndDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportSessionEndDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGResellerSupportSessionEndDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportSessionEndType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportSessionEndType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportSessionEndTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportSessionEndTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportSessionEndTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportSessionEndType:other]; +} + +- (BOOL)isEqualToResellerSupportSessionEndType: + (DBTEAMLOGResellerSupportSessionEndType *)aResellerSupportSessionEndType { + if (self == aResellerSupportSessionEndType) { + return YES; + } + if (![self.description_ isEqual:aResellerSupportSessionEndType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportSessionEndTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportSessionEndType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGResellerSupportSessionEndType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportSessionStartDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportSessionStartDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportSessionStartDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportSessionStartDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportSessionStartDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportSessionStartDetails:other]; +} + +- (BOOL)isEqualToResellerSupportSessionStartDetails: + (DBTEAMLOGResellerSupportSessionStartDetails *)aResellerSupportSessionStartDetails { + if (self == aResellerSupportSessionStartDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportSessionStartDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGResellerSupportSessionStartDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGResellerSupportSessionStartType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGResellerSupportSessionStartType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGResellerSupportSessionStartTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGResellerSupportSessionStartTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGResellerSupportSessionStartTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToResellerSupportSessionStartType:other]; +} + +- (BOOL)isEqualToResellerSupportSessionStartType: + (DBTEAMLOGResellerSupportSessionStartType *)aResellerSupportSessionStartType { + if (self == aResellerSupportSessionStartType) { + return YES; + } + if (![self.description_ isEqual:aResellerSupportSessionStartType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGResellerSupportSessionStartTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGResellerSupportSessionStartType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGResellerSupportSessionStartType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRewindFolderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRewindFolderDetails + +#pragma mark - Constructors + +- (instancetype)initWithRewindFolderTargetTsMs:(NSDate *)rewindFolderTargetTsMs { + [DBStoneValidators nonnullValidator:nil](rewindFolderTargetTsMs); + + self = [super init]; + if (self) { + _rewindFolderTargetTsMs = rewindFolderTargetTsMs; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRewindFolderDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRewindFolderDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRewindFolderDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.rewindFolderTargetTsMs hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRewindFolderDetails:other]; +} + +- (BOOL)isEqualToRewindFolderDetails:(DBTEAMLOGRewindFolderDetails *)aRewindFolderDetails { + if (self == aRewindFolderDetails) { + return YES; + } + if (![self.rewindFolderTargetTsMs isEqual:aRewindFolderDetails.rewindFolderTargetTsMs]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRewindFolderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRewindFolderDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"rewind_folder_target_ts_ms"] = + [DBNSDateSerializer serialize:valueObj.rewindFolderTargetTsMs dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGRewindFolderDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *rewindFolderTargetTsMs = + [DBNSDateSerializer deserialize:valueDict[@"rewind_folder_target_ts_ms"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGRewindFolderDetails alloc] initWithRewindFolderTargetTsMs:rewindFolderTargetTsMs]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRewindFolderType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRewindFolderType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRewindFolderTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRewindFolderTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRewindFolderTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRewindFolderType:other]; +} + +- (BOOL)isEqualToRewindFolderType:(DBTEAMLOGRewindFolderType *)aRewindFolderType { + if (self == aRewindFolderType) { + return YES; + } + if (![self.description_ isEqual:aRewindFolderType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRewindFolderTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRewindFolderType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRewindFolderType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRewindFolderType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRewindPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRewindPolicy + +#pragma mark - Constructors + +- (instancetype)initWithAdminsOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGRewindPolicyAdminsOnly; + } + return self; +} + +- (instancetype)initWithEveryone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGRewindPolicyEveryone; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGRewindPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAdminsOnly { + return _tag == DBTEAMLOGRewindPolicyAdminsOnly; +} + +- (BOOL)isEveryone { + return _tag == DBTEAMLOGRewindPolicyEveryone; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGRewindPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGRewindPolicyAdminsOnly: + return @"DBTEAMLOGRewindPolicyAdminsOnly"; + case DBTEAMLOGRewindPolicyEveryone: + return @"DBTEAMLOGRewindPolicyEveryone"; + case DBTEAMLOGRewindPolicyOther: + return @"DBTEAMLOGRewindPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRewindPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRewindPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRewindPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGRewindPolicyAdminsOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGRewindPolicyEveryone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGRewindPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRewindPolicy:other]; +} + +- (BOOL)isEqualToRewindPolicy:(DBTEAMLOGRewindPolicy *)aRewindPolicy { + if (self == aRewindPolicy) { + return YES; + } + if (self.tag != aRewindPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGRewindPolicyAdminsOnly: + return [[self tagName] isEqual:[aRewindPolicy tagName]]; + case DBTEAMLOGRewindPolicyEveryone: + return [[self tagName] isEqual:[aRewindPolicy tagName]]; + case DBTEAMLOGRewindPolicyOther: + return [[self tagName] isEqual:[aRewindPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRewindPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRewindPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isAdminsOnly]) { + jsonDict[@".tag"] = @"admins_only"; + } else if ([valueObj isEveryone]) { + jsonDict[@".tag"] = @"everyone"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGRewindPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"admins_only"]) { + return [[DBTEAMLOGRewindPolicy alloc] initWithAdminsOnly]; + } else if ([tag isEqualToString:@"everyone"]) { + return [[DBTEAMLOGRewindPolicy alloc] initWithEveryone]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGRewindPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGRewindPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRewindPolicy.h" +#import "DBTEAMLOGRewindPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRewindPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGRewindPolicy *)dNewValue + previousValue:(DBTEAMLOGRewindPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRewindPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRewindPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRewindPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRewindPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToRewindPolicyChangedDetails:(DBTEAMLOGRewindPolicyChangedDetails *)aRewindPolicyChangedDetails { + if (self == aRewindPolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aRewindPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aRewindPolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRewindPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRewindPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGRewindPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGRewindPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGRewindPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGRewindPolicy *dNewValue = [DBTEAMLOGRewindPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGRewindPolicy *previousValue = [DBTEAMLOGRewindPolicySerializer deserialize:valueDict[@"previous_value"]]; + + return [[DBTEAMLOGRewindPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGRewindPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGRewindPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGRewindPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGRewindPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGRewindPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRewindPolicyChangedType:other]; +} + +- (BOOL)isEqualToRewindPolicyChangedType:(DBTEAMLOGRewindPolicyChangedType *)aRewindPolicyChangedType { + if (self == aRewindPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aRewindPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGRewindPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGRewindPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGRewindPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGRewindPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryEmailDeletedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryEmailDeletedDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](secondaryEmail); + + self = [super init]; + if (self) { + _secondaryEmail = secondaryEmail; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryEmailDeletedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryEmailDeletedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryEmailDeletedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryEmail hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryEmailDeletedDetails:other]; +} + +- (BOOL)isEqualToSecondaryEmailDeletedDetails:(DBTEAMLOGSecondaryEmailDeletedDetails *)aSecondaryEmailDeletedDetails { + if (self == aSecondaryEmailDeletedDetails) { + return YES; + } + if (![self.secondaryEmail isEqual:aSecondaryEmailDeletedDetails.secondaryEmail]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryEmailDeletedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailDeletedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_email"] = valueObj.secondaryEmail; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryEmailDeletedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryEmail = valueDict[@"secondary_email"]; + + return [[DBTEAMLOGSecondaryEmailDeletedDetails alloc] initWithSecondaryEmail:secondaryEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryEmailDeletedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryEmailDeletedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryEmailDeletedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryEmailDeletedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryEmailDeletedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryEmailDeletedType:other]; +} + +- (BOOL)isEqualToSecondaryEmailDeletedType:(DBTEAMLOGSecondaryEmailDeletedType *)aSecondaryEmailDeletedType { + if (self == aSecondaryEmailDeletedType) { + return YES; + } + if (![self.description_ isEqual:aSecondaryEmailDeletedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryEmailDeletedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailDeletedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryEmailDeletedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSecondaryEmailDeletedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryEmailVerifiedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryEmailVerifiedDetails + +#pragma mark - Constructors + +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](secondaryEmail); + + self = [super init]; + if (self) { + _secondaryEmail = secondaryEmail; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryEmail hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryEmailVerifiedDetails:other]; +} + +- (BOOL)isEqualToSecondaryEmailVerifiedDetails: + (DBTEAMLOGSecondaryEmailVerifiedDetails *)aSecondaryEmailVerifiedDetails { + if (self == aSecondaryEmailVerifiedDetails) { + return YES; + } + if (![self.secondaryEmail isEqual:aSecondaryEmailVerifiedDetails.secondaryEmail]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailVerifiedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_email"] = valueObj.secondaryEmail; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryEmailVerifiedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryEmail = valueDict[@"secondary_email"]; + + return [[DBTEAMLOGSecondaryEmailVerifiedDetails alloc] initWithSecondaryEmail:secondaryEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryEmailVerifiedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryEmailVerifiedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryEmailVerifiedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryEmailVerifiedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryEmailVerifiedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryEmailVerifiedType:other]; +} + +- (BOOL)isEqualToSecondaryEmailVerifiedType:(DBTEAMLOGSecondaryEmailVerifiedType *)aSecondaryEmailVerifiedType { + if (self == aSecondaryEmailVerifiedType) { + return YES; + } + if (![self.description_ isEqual:aSecondaryEmailVerifiedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryEmailVerifiedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailVerifiedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryEmailVerifiedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSecondaryEmailVerifiedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryMailsPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryMailsPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSecondaryMailsPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSecondaryMailsPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSecondaryMailsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGSecondaryMailsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGSecondaryMailsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSecondaryMailsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSecondaryMailsPolicyDisabled: + return @"DBTEAMLOGSecondaryMailsPolicyDisabled"; + case DBTEAMLOGSecondaryMailsPolicyEnabled: + return @"DBTEAMLOGSecondaryMailsPolicyEnabled"; + case DBTEAMLOGSecondaryMailsPolicyOther: + return @"DBTEAMLOGSecondaryMailsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryMailsPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryMailsPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryMailsPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGSecondaryMailsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSecondaryMailsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSecondaryMailsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryMailsPolicy:other]; +} + +- (BOOL)isEqualToSecondaryMailsPolicy:(DBTEAMLOGSecondaryMailsPolicy *)aSecondaryMailsPolicy { + if (self == aSecondaryMailsPolicy) { + return YES; + } + if (self.tag != aSecondaryMailsPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGSecondaryMailsPolicyDisabled: + return [[self tagName] isEqual:[aSecondaryMailsPolicy tagName]]; + case DBTEAMLOGSecondaryMailsPolicyEnabled: + return [[self tagName] isEqual:[aSecondaryMailsPolicy tagName]]; + case DBTEAMLOGSecondaryMailsPolicyOther: + return [[self tagName] isEqual:[aSecondaryMailsPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryMailsPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryMailsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGSecondaryMailsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGSecondaryMailsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSecondaryMailsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSecondaryMailsPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryMailsPolicy.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryMailsPolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(DBTEAMLOGSecondaryMailsPolicy *)previousValue + dNewValue:(DBTEAMLOGSecondaryMailsPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryMailsPolicyChangedDetails:other]; +} + +- (BOOL)isEqualToSecondaryMailsPolicyChangedDetails: + (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)aSecondaryMailsPolicyChangedDetails { + if (self == aSecondaryMailsPolicyChangedDetails) { + return YES; + } + if (![self.previousValue isEqual:aSecondaryMailsPolicyChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aSecondaryMailsPolicyChangedDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = [DBTEAMLOGSecondaryMailsPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGSecondaryMailsPolicySerializer serialize:valueObj.dNewValue]; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSecondaryMailsPolicy *previousValue = + [DBTEAMLOGSecondaryMailsPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGSecondaryMailsPolicy *dNewValue = + [DBTEAMLOGSecondaryMailsPolicySerializer deserialize:valueDict[@"new_value"]]; + + return [[DBTEAMLOGSecondaryMailsPolicyChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryMailsPolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryMailsPolicyChangedType:other]; +} + +- (BOOL)isEqualToSecondaryMailsPolicyChangedType: + (DBTEAMLOGSecondaryMailsPolicyChangedType *)aSecondaryMailsPolicyChangedType { + if (self == aSecondaryMailsPolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aSecondaryMailsPolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryMailsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSecondaryMailsPolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryTeamRequestAcceptedDetails + +#pragma mark - Constructors + +- (instancetype)initWithPrimaryTeam:(NSString *)primaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](primaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); + + self = [super init]; + if (self) { + _primaryTeam = primaryTeam; + _sentBy = sentBy; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.primaryTeam hash]; + result = prime * result + [self.sentBy hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryTeamRequestAcceptedDetails:other]; +} + +- (BOOL)isEqualToSecondaryTeamRequestAcceptedDetails: + (DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)aSecondaryTeamRequestAcceptedDetails { + if (self == aSecondaryTeamRequestAcceptedDetails) { + return YES; + } + if (![self.primaryTeam isEqual:aSecondaryTeamRequestAcceptedDetails.primaryTeam]) { + return NO; + } + if (![self.sentBy isEqual:aSecondaryTeamRequestAcceptedDetails.sentBy]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"primary_team"] = valueObj.primaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *primaryTeam = valueDict[@"primary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; + + return [[DBTEAMLOGSecondaryTeamRequestAcceptedDetails alloc] initWithPrimaryTeam:primaryTeam sentBy:sentBy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryTeamRequestCanceledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryTeamRequestCanceledDetails + +#pragma mark - Constructors + +- (instancetype)initWithSentTo:(NSString *)sentTo sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](sentTo); + [DBStoneValidators nonnullValidator:nil](sentBy); + + self = [super init]; + if (self) { + _sentTo = sentTo; + _sentBy = sentBy; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sentTo hash]; + result = prime * result + [self.sentBy hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryTeamRequestCanceledDetails:other]; +} + +- (BOOL)isEqualToSecondaryTeamRequestCanceledDetails: + (DBTEAMLOGSecondaryTeamRequestCanceledDetails *)aSecondaryTeamRequestCanceledDetails { + if (self == aSecondaryTeamRequestCanceledDetails) { + return YES; + } + if (![self.sentTo isEqual:aSecondaryTeamRequestCanceledDetails.sentTo]) { + return NO; + } + if (![self.sentBy isEqual:aSecondaryTeamRequestCanceledDetails.sentBy]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestCanceledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"sent_to"] = valueObj.sentTo; + jsonDict[@"sent_by"] = valueObj.sentBy; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; + NSString *sentBy = valueDict[@"sent_by"]; + + return [[DBTEAMLOGSecondaryTeamRequestCanceledDetails alloc] initWithSentTo:sentTo sentBy:sentBy]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryTeamRequestExpiredDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryTeamRequestExpiredDetails + +#pragma mark - Constructors + +- (instancetype)initWithSentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](sentTo); + + self = [super init]; + if (self) { + _sentTo = sentTo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sentTo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryTeamRequestExpiredDetails:other]; +} + +- (BOOL)isEqualToSecondaryTeamRequestExpiredDetails: + (DBTEAMLOGSecondaryTeamRequestExpiredDetails *)aSecondaryTeamRequestExpiredDetails { + if (self == aSecondaryTeamRequestExpiredDetails) { + return YES; + } + if (![self.sentTo isEqual:aSecondaryTeamRequestExpiredDetails.sentTo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestExpiredDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; + + return [[DBTEAMLOGSecondaryTeamRequestExpiredDetails alloc] initWithSentTo:sentTo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSecondaryTeamRequestReminderDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSecondaryTeamRequestReminderDetails + +#pragma mark - Constructors + +- (instancetype)initWithSentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](sentTo); + + self = [super init]; + if (self) { + _sentTo = sentTo; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sentTo hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSecondaryTeamRequestReminderDetails:other]; +} + +- (BOOL)isEqualToSecondaryTeamRequestReminderDetails: + (DBTEAMLOGSecondaryTeamRequestReminderDetails *)aSecondaryTeamRequestReminderDetails { + if (self == aSecondaryTeamRequestReminderDetails) { + return YES; + } + if (![self.sentTo isEqual:aSecondaryTeamRequestReminderDetails.sentTo]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestReminderDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; +} + ++ (DBTEAMLOGSecondaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; + + return [[DBTEAMLOGSecondaryTeamRequestReminderDetails alloc] initWithSentTo:sentTo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSendForSignaturePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSendForSignaturePolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSendForSignaturePolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSendForSignaturePolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSendForSignaturePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGSendForSignaturePolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGSendForSignaturePolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSendForSignaturePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSendForSignaturePolicyDisabled: + return @"DBTEAMLOGSendForSignaturePolicyDisabled"; + case DBTEAMLOGSendForSignaturePolicyEnabled: + return @"DBTEAMLOGSendForSignaturePolicyEnabled"; + case DBTEAMLOGSendForSignaturePolicyOther: + return @"DBTEAMLOGSendForSignaturePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSendForSignaturePolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSendForSignaturePolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSendForSignaturePolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGSendForSignaturePolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSendForSignaturePolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSendForSignaturePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSendForSignaturePolicy:other]; +} + +- (BOOL)isEqualToSendForSignaturePolicy:(DBTEAMLOGSendForSignaturePolicy *)aSendForSignaturePolicy { + if (self == aSendForSignaturePolicy) { + return YES; + } + if (self.tag != aSendForSignaturePolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGSendForSignaturePolicyDisabled: + return [[self tagName] isEqual:[aSendForSignaturePolicy tagName]]; + case DBTEAMLOGSendForSignaturePolicyEnabled: + return [[self tagName] isEqual:[aSendForSignaturePolicy tagName]]; + case DBTEAMLOGSendForSignaturePolicyOther: + return [[self tagName] isEqual:[aSendForSignaturePolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSendForSignaturePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGSendForSignaturePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGSendForSignaturePolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGSendForSignaturePolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSendForSignaturePolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSendForSignaturePolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSendForSignaturePolicy.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSendForSignaturePolicyChangedDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGSendForSignaturePolicy *)dNewValue + previousValue:(DBTEAMLOGSendForSignaturePolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSendForSignaturePolicyChangedDetails:other]; +} + +- (BOOL)isEqualToSendForSignaturePolicyChangedDetails: + (DBTEAMLOGSendForSignaturePolicyChangedDetails *)aSendForSignaturePolicyChangedDetails { + if (self == aSendForSignaturePolicyChangedDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSendForSignaturePolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aSendForSignaturePolicyChangedDetails.previousValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicyChangedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGSendForSignaturePolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGSendForSignaturePolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; +} + ++ (DBTEAMLOGSendForSignaturePolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSendForSignaturePolicy *dNewValue = + [DBTEAMLOGSendForSignaturePolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSendForSignaturePolicy *previousValue = + [DBTEAMLOGSendForSignaturePolicySerializer deserialize:valueDict[@"previous_value"]]; + + return + [[DBTEAMLOGSendForSignaturePolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSendForSignaturePolicyChangedType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSendForSignaturePolicyChangedType:other]; +} + +- (BOOL)isEqualToSendForSignaturePolicyChangedType: + (DBTEAMLOGSendForSignaturePolicyChangedType *)aSendForSignaturePolicyChangedType { + if (self == aSendForSignaturePolicyChangedType) { + return YES; + } + if (![self.description_ isEqual:aSendForSignaturePolicyChangedType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicyChangedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSendForSignaturePolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSendForSignaturePolicyChangedType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfAddGroupDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfAddGroupDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + teamName:(NSString *)teamName + sharingPermission:(NSString *)sharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + [DBStoneValidators nonnullValidator:nil](teamName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _sharingPermission = sharingPermission; + _teamName = teamName; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + teamName:(NSString *)teamName { + return [self initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + teamName:teamName + sharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfAddGroupDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfAddGroupDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfAddGroupDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.teamName hash]; + if (self.sharingPermission != nil) { + result = prime * result + [self.sharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfAddGroupDetails:other]; +} + +- (BOOL)isEqualToSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)aSfAddGroupDetails { + if (self == aSfAddGroupDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfAddGroupDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfAddGroupDetails.originalFolderName]) { + return NO; + } + if (![self.teamName isEqual:aSfAddGroupDetails.teamName]) { + return NO; + } + if (self.sharingPermission) { + if (![self.sharingPermission isEqual:aSfAddGroupDetails.sharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfAddGroupDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfAddGroupDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"team_name"] = valueObj.teamName; + if (valueObj.sharingPermission) { + jsonDict[@"sharing_permission"] = valueObj.sharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *teamName = valueDict[@"team_name"]; + NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfAddGroupDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + teamName:teamName + sharingPermission:sharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfAddGroupType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfAddGroupType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfAddGroupTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfAddGroupTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfAddGroupTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfAddGroupType:other]; +} + +- (BOOL)isEqualToSfAddGroupType:(DBTEAMLOGSfAddGroupType *)aSfAddGroupType { + if (self == aSfAddGroupType) { + return YES; + } + if (![self.description_ isEqual:aSfAddGroupType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfAddGroupTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfAddGroupType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfAddGroupType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfAddGroupType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + sharedFolderType:(NSString *)sharedFolderType { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _sharedFolderType = sharedFolderType; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:originalFolderName sharedFolderType:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.sharedFolderType != nil) { + result = prime * result + [self.sharedFolderType hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfAllowNonMembersToViewSharedLinksDetails:other]; +} + +- (BOOL)isEqualToSfAllowNonMembersToViewSharedLinksDetails: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)aSfAllowNonMembersToViewSharedLinksDetails { + if (self == aSfAllowNonMembersToViewSharedLinksDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfAllowNonMembersToViewSharedLinksDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfAllowNonMembersToViewSharedLinksDetails.originalFolderName]) { + return NO; + } + if (self.sharedFolderType) { + if (![self.sharedFolderType isEqual:aSfAllowNonMembersToViewSharedLinksDetails.sharedFolderType]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.sharedFolderType) { + jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; + + return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + sharedFolderType:sharedFolderType]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfAllowNonMembersToViewSharedLinksType:other]; +} + +- (BOOL)isEqualToSfAllowNonMembersToViewSharedLinksType: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)aSfAllowNonMembersToViewSharedLinksType { + if (self == aSfAllowNonMembersToViewSharedLinksType) { + return YES; + } + if (![self.description_ isEqual:aSfAllowNonMembersToViewSharedLinksType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfExternalInviteWarnDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfExternalInviteWarnDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + dNewSharingPermission:(NSString *)dNewSharingPermission + previousSharingPermission:(NSString *)previousSharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _dNewSharingPermission = dNewSharingPermission; + _previousSharingPermission = previousSharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + dNewSharingPermission:nil + previousSharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfExternalInviteWarnDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfExternalInviteWarnDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfExternalInviteWarnDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.dNewSharingPermission != nil) { + result = prime * result + [self.dNewSharingPermission hash]; + } + if (self.previousSharingPermission != nil) { + result = prime * result + [self.previousSharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfExternalInviteWarnDetails:other]; +} + +- (BOOL)isEqualToSfExternalInviteWarnDetails:(DBTEAMLOGSfExternalInviteWarnDetails *)aSfExternalInviteWarnDetails { + if (self == aSfExternalInviteWarnDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfExternalInviteWarnDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfExternalInviteWarnDetails.originalFolderName]) { + return NO; + } + if (self.dNewSharingPermission) { + if (![self.dNewSharingPermission isEqual:aSfExternalInviteWarnDetails.dNewSharingPermission]) { + return NO; + } + } + if (self.previousSharingPermission) { + if (![self.previousSharingPermission isEqual:aSfExternalInviteWarnDetails.previousSharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfExternalInviteWarnDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.dNewSharingPermission) { + jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; + } + if (valueObj.previousSharingPermission) { + jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; + NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfExternalInviteWarnDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + dNewSharingPermission:dNewSharingPermission + previousSharingPermission:previousSharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfExternalInviteWarnType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfExternalInviteWarnType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfExternalInviteWarnTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfExternalInviteWarnTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfExternalInviteWarnTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfExternalInviteWarnType:other]; +} + +- (BOOL)isEqualToSfExternalInviteWarnType:(DBTEAMLOGSfExternalInviteWarnType *)aSfExternalInviteWarnType { + if (self == aSfExternalInviteWarnType) { + return YES; + } + if (![self.description_ isEqual:aSfExternalInviteWarnType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfExternalInviteWarnTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfExternalInviteWarnType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfExternalInviteWarnType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbInviteChangeRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbInviteChangeRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + previousSharingPermission:(NSString *)previousSharingPermission + dNewSharingPermission:(NSString *)dNewSharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _previousSharingPermission = previousSharingPermission; + _dNewSharingPermission = dNewSharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + previousSharingPermission:nil + dNewSharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.previousSharingPermission != nil) { + result = prime * result + [self.previousSharingPermission hash]; + } + if (self.dNewSharingPermission != nil) { + result = prime * result + [self.dNewSharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbInviteChangeRoleDetails:other]; +} + +- (BOOL)isEqualToSfFbInviteChangeRoleDetails:(DBTEAMLOGSfFbInviteChangeRoleDetails *)aSfFbInviteChangeRoleDetails { + if (self == aSfFbInviteChangeRoleDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfFbInviteChangeRoleDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfFbInviteChangeRoleDetails.originalFolderName]) { + return NO; + } + if (self.previousSharingPermission) { + if (![self.previousSharingPermission isEqual:aSfFbInviteChangeRoleDetails.previousSharingPermission]) { + return NO; + } + } + if (self.dNewSharingPermission) { + if (![self.dNewSharingPermission isEqual:aSfFbInviteChangeRoleDetails.dNewSharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbInviteChangeRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.previousSharingPermission) { + jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; + } + if (valueObj.dNewSharingPermission) { + jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfFbInviteChangeRoleDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; + NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfFbInviteChangeRoleDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + previousSharingPermission:previousSharingPermission + dNewSharingPermission:dNewSharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbInviteChangeRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbInviteChangeRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbInviteChangeRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbInviteChangeRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbInviteChangeRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbInviteChangeRoleType:other]; +} + +- (BOOL)isEqualToSfFbInviteChangeRoleType:(DBTEAMLOGSfFbInviteChangeRoleType *)aSfFbInviteChangeRoleType { + if (self == aSfFbInviteChangeRoleType) { + return YES; + } + if (![self.description_ isEqual:aSfFbInviteChangeRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbInviteChangeRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbInviteChangeRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfFbInviteChangeRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfFbInviteChangeRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbInviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbInviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + sharingPermission:(NSString *)sharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _sharingPermission = sharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:originalFolderName sharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbInviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbInviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbInviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.sharingPermission != nil) { + result = prime * result + [self.sharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbInviteDetails:other]; +} + +- (BOOL)isEqualToSfFbInviteDetails:(DBTEAMLOGSfFbInviteDetails *)aSfFbInviteDetails { + if (self == aSfFbInviteDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfFbInviteDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfFbInviteDetails.originalFolderName]) { + return NO; + } + if (self.sharingPermission) { + if (![self.sharingPermission isEqual:aSfFbInviteDetails.sharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbInviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbInviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.sharingPermission) { + jsonDict[@"sharing_permission"] = valueObj.sharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfFbInviteDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfFbInviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + sharingPermission:sharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbInviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbInviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbInviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbInviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbInviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbInviteType:other]; +} + +- (BOOL)isEqualToSfFbInviteType:(DBTEAMLOGSfFbInviteType *)aSfFbInviteType { + if (self == aSfFbInviteType) { + return YES; + } + if (![self.description_ isEqual:aSfFbInviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbInviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbInviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfFbInviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfFbInviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbUninviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbUninviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbUninviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbUninviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbUninviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbUninviteDetails:other]; +} + +- (BOOL)isEqualToSfFbUninviteDetails:(DBTEAMLOGSfFbUninviteDetails *)aSfFbUninviteDetails { + if (self == aSfFbUninviteDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfFbUninviteDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfFbUninviteDetails.originalFolderName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbUninviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbUninviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + + return jsonDict; +} + ++ (DBTEAMLOGSfFbUninviteDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + + return [[DBTEAMLOGSfFbUninviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfFbUninviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfFbUninviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfFbUninviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfFbUninviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfFbUninviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfFbUninviteType:other]; +} + +- (BOOL)isEqualToSfFbUninviteType:(DBTEAMLOGSfFbUninviteType *)aSfFbUninviteType { + if (self == aSfFbUninviteType) { + return YES; + } + if (![self.description_ isEqual:aSfFbUninviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfFbUninviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfFbUninviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfFbUninviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfFbUninviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfInviteGroupDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfInviteGroupDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfInviteGroupDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfInviteGroupDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfInviteGroupDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfInviteGroupDetails:other]; +} + +- (BOOL)isEqualToSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)aSfInviteGroupDetails { + if (self == aSfInviteGroupDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfInviteGroupDetails.targetAssetIndex]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfInviteGroupDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + + return jsonDict; +} + ++ (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + + return [[DBTEAMLOGSfInviteGroupDetails alloc] initWithTargetAssetIndex:targetAssetIndex]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfInviteGroupType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfInviteGroupType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfInviteGroupTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfInviteGroupTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfInviteGroupTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfInviteGroupType:other]; +} + +- (BOOL)isEqualToSfInviteGroupType:(DBTEAMLOGSfInviteGroupType *)aSfInviteGroupType { + if (self == aSfInviteGroupType) { + return YES; + } + if (![self.description_ isEqual:aSfInviteGroupType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfInviteGroupTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfInviteGroupType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfInviteGroupType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamGrantAccessDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamGrantAccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamGrantAccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamGrantAccessDetails:other]; +} + +- (BOOL)isEqualToSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)aSfTeamGrantAccessDetails { + if (self == aSfTeamGrantAccessDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamGrantAccessDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamGrantAccessDetails.originalFolderName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamGrantAccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + + return [[DBTEAMLOGSfTeamGrantAccessDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamGrantAccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamGrantAccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamGrantAccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamGrantAccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamGrantAccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamGrantAccessType:other]; +} + +- (BOOL)isEqualToSfTeamGrantAccessType:(DBTEAMLOGSfTeamGrantAccessType *)aSfTeamGrantAccessType { + if (self == aSfTeamGrantAccessType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamGrantAccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamGrantAccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamGrantAccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamGrantAccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamInviteChangeRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamInviteChangeRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + dNewSharingPermission:(NSString *)dNewSharingPermission + previousSharingPermission:(NSString *)previousSharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _dNewSharingPermission = dNewSharingPermission; + _previousSharingPermission = previousSharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + dNewSharingPermission:nil + previousSharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.dNewSharingPermission != nil) { + result = prime * result + [self.dNewSharingPermission hash]; + } + if (self.previousSharingPermission != nil) { + result = prime * result + [self.previousSharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamInviteChangeRoleDetails:other]; +} + +- (BOOL)isEqualToSfTeamInviteChangeRoleDetails: + (DBTEAMLOGSfTeamInviteChangeRoleDetails *)aSfTeamInviteChangeRoleDetails { + if (self == aSfTeamInviteChangeRoleDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamInviteChangeRoleDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamInviteChangeRoleDetails.originalFolderName]) { + return NO; + } + if (self.dNewSharingPermission) { + if (![self.dNewSharingPermission isEqual:aSfTeamInviteChangeRoleDetails.dNewSharingPermission]) { + return NO; + } + } + if (self.previousSharingPermission) { + if (![self.previousSharingPermission isEqual:aSfTeamInviteChangeRoleDetails.previousSharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.dNewSharingPermission) { + jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; + } + if (valueObj.previousSharingPermission) { + jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; + NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfTeamInviteChangeRoleDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + dNewSharingPermission:dNewSharingPermission + previousSharingPermission:previousSharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamInviteChangeRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamInviteChangeRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamInviteChangeRoleType:other]; +} + +- (BOOL)isEqualToSfTeamInviteChangeRoleType:(DBTEAMLOGSfTeamInviteChangeRoleType *)aSfTeamInviteChangeRoleType { + if (self == aSfTeamInviteChangeRoleType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamInviteChangeRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamInviteChangeRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamInviteChangeRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamInviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamInviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + sharingPermission:(NSString *)sharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _sharingPermission = sharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:originalFolderName sharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamInviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamInviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamInviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.sharingPermission != nil) { + result = prime * result + [self.sharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamInviteDetails:other]; +} + +- (BOOL)isEqualToSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)aSfTeamInviteDetails { + if (self == aSfTeamInviteDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamInviteDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamInviteDetails.originalFolderName]) { + return NO; + } + if (self.sharingPermission) { + if (![self.sharingPermission isEqual:aSfTeamInviteDetails.sharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamInviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.sharingPermission) { + jsonDict[@"sharing_permission"] = valueObj.sharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfTeamInviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + sharingPermission:sharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamInviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamInviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamInviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamInviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamInviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamInviteType:other]; +} + +- (BOOL)isEqualToSfTeamInviteType:(DBTEAMLOGSfTeamInviteType *)aSfTeamInviteType { + if (self == aSfTeamInviteType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamInviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamInviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamInviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamInviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamJoinDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamJoinDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamJoinDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamJoinDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamJoinDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamJoinDetails:other]; +} + +- (BOOL)isEqualToSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)aSfTeamJoinDetails { + if (self == aSfTeamJoinDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamJoinDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamJoinDetails.originalFolderName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamJoinDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + + return [[DBTEAMLOGSfTeamJoinDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamJoinFromOobLinkDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamJoinFromOobLinkDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + tokenKey:(NSString *)tokenKey + sharingPermission:(NSString *)sharingPermission { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + _tokenKey = tokenKey; + _sharingPermission = sharingPermission; + } + return self; +} + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + return [self initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + tokenKey:nil + sharingPermission:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + if (self.tokenKey != nil) { + result = prime * result + [self.tokenKey hash]; + } + if (self.sharingPermission != nil) { + result = prime * result + [self.sharingPermission hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamJoinFromOobLinkDetails:other]; +} + +- (BOOL)isEqualToSfTeamJoinFromOobLinkDetails:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)aSfTeamJoinFromOobLinkDetails { + if (self == aSfTeamJoinFromOobLinkDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamJoinFromOobLinkDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamJoinFromOobLinkDetails.originalFolderName]) { + return NO; + } + if (self.tokenKey) { + if (![self.tokenKey isEqual:aSfTeamJoinFromOobLinkDetails.tokenKey]) { + return NO; + } + } + if (self.sharingPermission) { + if (![self.sharingPermission isEqual:aSfTeamJoinFromOobLinkDetails.sharingPermission]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.tokenKey) { + jsonDict[@"token_key"] = valueObj.tokenKey; + } + if (valueObj.sharingPermission) { + jsonDict[@"sharing_permission"] = valueObj.sharingPermission; + } + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + NSString *tokenKey = valueDict[@"token_key"] ?: nil; + NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; + + return [[DBTEAMLOGSfTeamJoinFromOobLinkDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName + tokenKey:tokenKey + sharingPermission:sharingPermission]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamJoinFromOobLinkType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamJoinFromOobLinkType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamJoinFromOobLinkType:other]; +} + +- (BOOL)isEqualToSfTeamJoinFromOobLinkType:(DBTEAMLOGSfTeamJoinFromOobLinkType *)aSfTeamJoinFromOobLinkType { + if (self == aSfTeamJoinFromOobLinkType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamJoinFromOobLinkType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamJoinFromOobLinkType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamJoinFromOobLinkType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamJoinType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamJoinType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamJoinTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamJoinTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamJoinTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamJoinType:other]; +} + +- (BOOL)isEqualToSfTeamJoinType:(DBTEAMLOGSfTeamJoinType *)aSfTeamJoinType { + if (self == aSfTeamJoinType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamJoinType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamJoinTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamJoinType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamJoinType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamUninviteDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamUninviteDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName { + [DBStoneValidators nonnullValidator:nil](targetAssetIndex); + [DBStoneValidators nonnullValidator:nil](originalFolderName); + + self = [super init]; + if (self) { + _targetAssetIndex = targetAssetIndex; + _originalFolderName = originalFolderName; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamUninviteDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.originalFolderName hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamUninviteDetails:other]; +} + +- (BOOL)isEqualToSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)aSfTeamUninviteDetails { + if (self == aSfTeamUninviteDetails) { + return YES; + } + if (![self.targetAssetIndex isEqual:aSfTeamUninviteDetails.targetAssetIndex]) { + return NO; + } + if (![self.originalFolderName isEqual:aSfTeamUninviteDetails.originalFolderName]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamUninviteDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; + NSString *originalFolderName = valueDict[@"original_folder_name"]; + + return [[DBTEAMLOGSfTeamUninviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex + originalFolderName:originalFolderName]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSfTeamUninviteType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSfTeamUninviteType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSfTeamUninviteTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSfTeamUninviteTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSfTeamUninviteTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSfTeamUninviteType:other]; +} + +- (BOOL)isEqualToSfTeamUninviteType:(DBTEAMLOGSfTeamUninviteType *)aSfTeamUninviteType { + if (self == aSfTeamUninviteType) { + return YES; + } + if (![self.description_ isEqual:aSfTeamUninviteType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSfTeamUninviteTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSfTeamUninviteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSfTeamUninviteType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddInviteesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddInviteesDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + invitees:(NSArray *)invitees { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:nil]]]]( + invitees); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _invitees = invitees; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddInviteesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddInviteesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddInviteesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + result = prime * result + [self.invitees hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddInviteesDetails:other]; +} + +- (BOOL)isEqualToSharedContentAddInviteesDetails: + (DBTEAMLOGSharedContentAddInviteesDetails *)aSharedContentAddInviteesDetails { + if (self == aSharedContentAddInviteesDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentAddInviteesDetails.sharedContentAccessLevel]) { + return NO; + } + if (![self.invitees isEqual:aSharedContentAddInviteesDetails.invitees]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddInviteesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGSharedContentAddInviteesDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel + invitees:invitees]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddInviteesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddInviteesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddInviteesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddInviteesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddInviteesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddInviteesType:other]; +} + +- (BOOL)isEqualToSharedContentAddInviteesType:(DBTEAMLOGSharedContentAddInviteesType *)aSharedContentAddInviteesType { + if (self == aSharedContentAddInviteesType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentAddInviteesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddInviteesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddInviteesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentAddInviteesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddLinkExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddLinkExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSDate *)dNewValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddLinkExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedContentAddLinkExpiryDetails: + (DBTEAMLOGSharedContentAddLinkExpiryDetails *)aSharedContentAddLinkExpiryDetails { + if (self == aSharedContentAddLinkExpiryDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSharedContentAddLinkExpiryDetails.dNewValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *dNewValue = valueDict[@"new_value"] + ? [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGSharedContentAddLinkExpiryDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddLinkExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddLinkExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddLinkExpiryType:other]; +} + +- (BOOL)isEqualToSharedContentAddLinkExpiryType: + (DBTEAMLOGSharedContentAddLinkExpiryType *)aSharedContentAddLinkExpiryType { + if (self == aSharedContentAddLinkExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentAddLinkExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddLinkExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentAddLinkExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddLinkPasswordDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddLinkPasswordDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddLinkPasswordDetails:other]; +} + +- (BOOL)isEqualToSharedContentAddLinkPasswordDetails: + (DBTEAMLOGSharedContentAddLinkPasswordDetails *)aSharedContentAddLinkPasswordDetails { + if (self == aSharedContentAddLinkPasswordDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedContentAddLinkPasswordDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddLinkPasswordType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddLinkPasswordType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddLinkPasswordType:other]; +} + +- (BOOL)isEqualToSharedContentAddLinkPasswordType: + (DBTEAMLOGSharedContentAddLinkPasswordType *)aSharedContentAddLinkPasswordType { + if (self == aSharedContentAddLinkPasswordType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentAddLinkPasswordType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddLinkPasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentAddLinkPasswordType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddMemberDetails:other]; +} + +- (BOOL)isEqualToSharedContentAddMemberDetails: + (DBTEAMLOGSharedContentAddMemberDetails *)aSharedContentAddMemberDetails { + if (self == aSharedContentAddMemberDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentAddMemberDetails.sharedContentAccessLevel]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + + return [[DBTEAMLOGSharedContentAddMemberDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentAddMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentAddMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentAddMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentAddMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentAddMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentAddMemberType:other]; +} + +- (BOOL)isEqualToSharedContentAddMemberType:(DBTEAMLOGSharedContentAddMemberType *)aSharedContentAddMemberType { + if (self == aSharedContentAddMemberType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentAddMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentAddMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentAddMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentAddMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGDownloadPolicyType.h" +#import "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue + previousValue:(DBTEAMLOGDownloadPolicyType *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeDownloadsPolicyDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeDownloadsPolicyDetails: + (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)aSharedContentChangeDownloadsPolicyDetails { + if (self == aSharedContentChangeDownloadsPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedContentChangeDownloadsPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedContentChangeDownloadsPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGDownloadPolicyTypeSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGDownloadPolicyTypeSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDownloadPolicyType *dNewValue = [DBTEAMLOGDownloadPolicyTypeSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGDownloadPolicyType *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGDownloadPolicyTypeSerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedContentChangeDownloadsPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeDownloadsPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeDownloadsPolicyType:other]; +} + +- (BOOL)isEqualToSharedContentChangeDownloadsPolicyType: + (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)aSharedContentChangeDownloadsPolicyType { + if (self == aSharedContentChangeDownloadsPolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeDownloadsPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeDownloadsPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeInviteeRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeInviteeRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel + invitee:(NSString *)invitee + previousAccessLevel:(DBSHARINGAccessLevel *)previousAccessLevel { + [DBStoneValidators nonnullValidator:nil](dNewAccessLevel); + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](invitee); + + self = [super init]; + if (self) { + _previousAccessLevel = previousAccessLevel; + _dNewAccessLevel = dNewAccessLevel; + _invitee = invitee; + } + return self; +} + +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel invitee:(NSString *)invitee { + return [self initWithDNewAccessLevel:dNewAccessLevel invitee:invitee previousAccessLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewAccessLevel hash]; + result = prime * result + [self.invitee hash]; + if (self.previousAccessLevel != nil) { + result = prime * result + [self.previousAccessLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeInviteeRoleDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeInviteeRoleDetails: + (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)aSharedContentChangeInviteeRoleDetails { + if (self == aSharedContentChangeInviteeRoleDetails) { + return YES; + } + if (![self.dNewAccessLevel isEqual:aSharedContentChangeInviteeRoleDetails.dNewAccessLevel]) { + return NO; + } + if (![self.invitee isEqual:aSharedContentChangeInviteeRoleDetails.invitee]) { + return NO; + } + if (self.previousAccessLevel) { + if (![self.previousAccessLevel isEqual:aSharedContentChangeInviteeRoleDetails.previousAccessLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.dNewAccessLevel]; + jsonDict[@"invitee"] = valueObj.invitee; + if (valueObj.previousAccessLevel) { + jsonDict[@"previous_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.previousAccessLevel]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *dNewAccessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"new_access_level"]]; + NSString *invitee = valueDict[@"invitee"]; + DBSHARINGAccessLevel *previousAccessLevel = + valueDict[@"previous_access_level"] + ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"previous_access_level"]] + : nil; + + return [[DBTEAMLOGSharedContentChangeInviteeRoleDetails alloc] initWithDNewAccessLevel:dNewAccessLevel + invitee:invitee + previousAccessLevel:previousAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeInviteeRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeInviteeRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeInviteeRoleType:other]; +} + +- (BOOL)isEqualToSharedContentChangeInviteeRoleType: + (DBTEAMLOGSharedContentChangeInviteeRoleType *)aSharedContentChangeInviteeRoleType { + if (self == aSharedContentChangeInviteeRoleType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeInviteeRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeInviteeRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeInviteeRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGLinkAudience.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkAudienceDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkAudienceDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue + previousValue:(DBSHARINGLinkAudience *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkAudienceDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkAudienceDetails: + (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)aSharedContentChangeLinkAudienceDetails { + if (self == aSharedContentChangeLinkAudienceDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedContentChangeLinkAudienceDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedContentChangeLinkAudienceDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGLinkAudience *dNewValue = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"new_value"]]; + DBSHARINGLinkAudience *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"previous_value"]] : nil; + + return + [[DBTEAMLOGSharedContentChangeLinkAudienceDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkAudienceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkAudienceType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkAudienceType:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkAudienceType: + (DBTEAMLOGSharedContentChangeLinkAudienceType *)aSharedContentChangeLinkAudienceType { + if (self == aSharedContentChangeLinkAudienceType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeLinkAudienceType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkAudienceType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeLinkAudienceType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSDate *)dNewValue previousValue:(NSDate *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkExpiryDetails: + (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)aSharedContentChangeLinkExpiryDetails { + if (self == aSharedContentChangeLinkExpiryDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSharedContentChangeLinkExpiryDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedContentChangeLinkExpiryDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *dNewValue = valueDict[@"new_value"] + ? [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return + [[DBTEAMLOGSharedContentChangeLinkExpiryDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkExpiryType:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkExpiryType: + (DBTEAMLOGSharedContentChangeLinkExpiryType *)aSharedContentChangeLinkExpiryType { + if (self == aSharedContentChangeLinkExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeLinkExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeLinkExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkPasswordDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkPasswordDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkPasswordDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkPasswordDetails: + (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)aSharedContentChangeLinkPasswordDetails { + if (self == aSharedContentChangeLinkPasswordDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedContentChangeLinkPasswordDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeLinkPasswordType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeLinkPasswordType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeLinkPasswordType:other]; +} + +- (BOOL)isEqualToSharedContentChangeLinkPasswordType: + (DBTEAMLOGSharedContentChangeLinkPasswordType *)aSharedContentChangeLinkPasswordType { + if (self == aSharedContentChangeLinkPasswordType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeLinkPasswordType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeLinkPasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeLinkPasswordType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeMemberRoleDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeMemberRoleDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel + previousAccessLevel:(DBSHARINGAccessLevel *)previousAccessLevel { + [DBStoneValidators nonnullValidator:nil](dNewAccessLevel); + + self = [super init]; + if (self) { + _previousAccessLevel = previousAccessLevel; + _dNewAccessLevel = dNewAccessLevel; + } + return self; +} + +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel { + return [self initWithDNewAccessLevel:dNewAccessLevel previousAccessLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewAccessLevel hash]; + if (self.previousAccessLevel != nil) { + result = prime * result + [self.previousAccessLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeMemberRoleDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeMemberRoleDetails: + (DBTEAMLOGSharedContentChangeMemberRoleDetails *)aSharedContentChangeMemberRoleDetails { + if (self == aSharedContentChangeMemberRoleDetails) { + return YES; + } + if (![self.dNewAccessLevel isEqual:aSharedContentChangeMemberRoleDetails.dNewAccessLevel]) { + return NO; + } + if (self.previousAccessLevel) { + if (![self.previousAccessLevel isEqual:aSharedContentChangeMemberRoleDetails.previousAccessLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.dNewAccessLevel]; + if (valueObj.previousAccessLevel) { + jsonDict[@"previous_access_level"] = [DBSHARINGAccessLevelSerializer serialize:valueObj.previousAccessLevel]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *dNewAccessLevel = [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"new_access_level"]]; + DBSHARINGAccessLevel *previousAccessLevel = + valueDict[@"previous_access_level"] + ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"previous_access_level"]] + : nil; + + return [[DBTEAMLOGSharedContentChangeMemberRoleDetails alloc] initWithDNewAccessLevel:dNewAccessLevel + previousAccessLevel:previousAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeMemberRoleType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeMemberRoleType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeMemberRoleType:other]; +} + +- (BOOL)isEqualToSharedContentChangeMemberRoleType: + (DBTEAMLOGSharedContentChangeMemberRoleType *)aSharedContentChangeMemberRoleType { + if (self == aSharedContentChangeMemberRoleType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeMemberRoleType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeMemberRoleType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeMemberRoleType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGViewerInfoPolicy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue + previousValue:(DBSHARINGViewerInfoPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeViewerInfoPolicyDetails:other]; +} + +- (BOOL)isEqualToSharedContentChangeViewerInfoPolicyDetails: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)aSharedContentChangeViewerInfoPolicyDetails { + if (self == aSharedContentChangeViewerInfoPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedContentChangeViewerInfoPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedContentChangeViewerInfoPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGViewerInfoPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGViewerInfoPolicy *dNewValue = [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"new_value"]]; + DBSHARINGViewerInfoPolicy *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGViewerInfoPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentChangeViewerInfoPolicyType:other]; +} + +- (BOOL)isEqualToSharedContentChangeViewerInfoPolicyType: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)aSharedContentChangeViewerInfoPolicyType { + if (self == aSharedContentChangeViewerInfoPolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentChangeViewerInfoPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentClaimInvitationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentClaimInvitationDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink { + + self = [super init]; + if (self) { + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedContentLink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentClaimInvitationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentClaimInvitationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentClaimInvitationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentClaimInvitationDetails:other]; +} + +- (BOOL)isEqualToSharedContentClaimInvitationDetails: + (DBTEAMLOGSharedContentClaimInvitationDetails *)aSharedContentClaimInvitationDetails { + if (self == aSharedContentClaimInvitationDetails) { + return YES; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedContentClaimInvitationDetails.sharedContentLink]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentClaimInvitationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return [[DBTEAMLOGSharedContentClaimInvitationDetails alloc] initWithSharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentClaimInvitationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentClaimInvitationType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentClaimInvitationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentClaimInvitationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentClaimInvitationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentClaimInvitationType:other]; +} + +- (BOOL)isEqualToSharedContentClaimInvitationType: + (DBTEAMLOGSharedContentClaimInvitationType *)aSharedContentClaimInvitationType { + if (self == aSharedContentClaimInvitationType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentClaimInvitationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentClaimInvitationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentClaimInvitationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentClaimInvitationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentCopyDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentCopyDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + destinationPath:(NSString *)destinationPath + sharedContentOwner:(DBTEAMLOGUserLogInfo *)sharedContentOwner { + [DBStoneValidators nonnullValidator:nil](sharedContentLink); + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + [DBStoneValidators nonnullValidator:nil](destinationPath); + + self = [super init]; + if (self) { + _sharedContentLink = sharedContentLink; + _sharedContentOwner = sharedContentOwner; + _sharedContentAccessLevel = sharedContentAccessLevel; + _destinationPath = destinationPath; + } + return self; +} + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + destinationPath:(NSString *)destinationPath { + return [self initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + destinationPath:destinationPath + sharedContentOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentCopyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentCopyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentCopyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentLink hash]; + result = prime * result + [self.sharedContentAccessLevel hash]; + result = prime * result + [self.destinationPath hash]; + if (self.sharedContentOwner != nil) { + result = prime * result + [self.sharedContentOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentCopyDetails:other]; +} + +- (BOOL)isEqualToSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)aSharedContentCopyDetails { + if (self == aSharedContentCopyDetails) { + return YES; + } + if (![self.sharedContentLink isEqual:aSharedContentCopyDetails.sharedContentLink]) { + return NO; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentCopyDetails.sharedContentAccessLevel]) { + return NO; + } + if (![self.destinationPath isEqual:aSharedContentCopyDetails.destinationPath]) { + return NO; + } + if (self.sharedContentOwner) { + if (![self.sharedContentOwner isEqual:aSharedContentCopyDetails.sharedContentOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentCopyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + jsonDict[@"destination_path"] = valueObj.destinationPath; + if (valueObj.sharedContentOwner) { + jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sharedContentLink = valueDict[@"shared_content_link"]; + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *destinationPath = valueDict[@"destination_path"]; + DBTEAMLOGUserLogInfo *sharedContentOwner = + valueDict[@"shared_content_owner"] + ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_content_owner"]] + : nil; + + return [[DBTEAMLOGSharedContentCopyDetails alloc] initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + destinationPath:destinationPath + sharedContentOwner:sharedContentOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentCopyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentCopyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentCopyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentCopyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentCopyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentCopyType:other]; +} + +- (BOOL)isEqualToSharedContentCopyType:(DBTEAMLOGSharedContentCopyType *)aSharedContentCopyType { + if (self == aSharedContentCopyType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentCopyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentCopyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentCopyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentCopyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentDownloadDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentDownloadDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentOwner:(DBTEAMLOGUserLogInfo *)sharedContentOwner { + [DBStoneValidators nonnullValidator:nil](sharedContentLink); + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentLink = sharedContentLink; + _sharedContentOwner = sharedContentOwner; + _sharedContentAccessLevel = sharedContentAccessLevel; + } + return self; +} + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + sharedContentOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentDownloadDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentLink hash]; + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentOwner != nil) { + result = prime * result + [self.sharedContentOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentDownloadDetails:other]; +} + +- (BOOL)isEqualToSharedContentDownloadDetails:(DBTEAMLOGSharedContentDownloadDetails *)aSharedContentDownloadDetails { + if (self == aSharedContentDownloadDetails) { + return YES; + } + if (![self.sharedContentLink isEqual:aSharedContentDownloadDetails.sharedContentLink]) { + return NO; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentDownloadDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentOwner) { + if (![self.sharedContentOwner isEqual:aSharedContentDownloadDetails.sharedContentOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentDownloadDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentOwner) { + jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sharedContentLink = valueDict[@"shared_content_link"]; + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + DBTEAMLOGUserLogInfo *sharedContentOwner = + valueDict[@"shared_content_owner"] + ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_content_owner"]] + : nil; + + return [[DBTEAMLOGSharedContentDownloadDetails alloc] initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + sharedContentOwner:sharedContentOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentDownloadType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentDownloadType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentDownloadTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentDownloadTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentDownloadTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentDownloadType:other]; +} + +- (BOOL)isEqualToSharedContentDownloadType:(DBTEAMLOGSharedContentDownloadType *)aSharedContentDownloadType { + if (self == aSharedContentDownloadType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentDownloadType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentDownloadTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentDownloadType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRelinquishMembershipDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRelinquishMembershipDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRelinquishMembershipDetails:other]; +} + +- (BOOL)isEqualToSharedContentRelinquishMembershipDetails: + (DBTEAMLOGSharedContentRelinquishMembershipDetails *)aSharedContentRelinquishMembershipDetails { + if (self == aSharedContentRelinquishMembershipDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedContentRelinquishMembershipDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRelinquishMembershipType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRelinquishMembershipType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRelinquishMembershipType:other]; +} + +- (BOOL)isEqualToSharedContentRelinquishMembershipType: + (DBTEAMLOGSharedContentRelinquishMembershipType *)aSharedContentRelinquishMembershipType { + if (self == aSharedContentRelinquishMembershipType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRelinquishMembershipType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRelinquishMembershipType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRelinquishMembershipType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveInviteesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveInviteesDetails + +#pragma mark - Constructors + +- (instancetype)initWithInvitees:(NSArray *)invitees { + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:nil]]]]( + invitees); + + self = [super init]; + if (self) { + _invitees = invitees; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.invitees hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveInviteesDetails:other]; +} + +- (BOOL)isEqualToSharedContentRemoveInviteesDetails: + (DBTEAMLOGSharedContentRemoveInviteesDetails *)aSharedContentRemoveInviteesDetails { + if (self == aSharedContentRemoveInviteesDetails) { + return YES; + } + if (![self.invitees isEqual:aSharedContentRemoveInviteesDetails.invitees]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteesDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveInviteesDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGSharedContentRemoveInviteesDetails alloc] initWithInvitees:invitees]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveInviteesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveInviteesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveInviteesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveInviteesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveInviteesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveInviteesType:other]; +} + +- (BOOL)isEqualToSharedContentRemoveInviteesType: + (DBTEAMLOGSharedContentRemoveInviteesType *)aSharedContentRemoveInviteesType { + if (self == aSharedContentRemoveInviteesType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRemoveInviteesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveInviteesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveInviteesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRemoveInviteesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveLinkExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSDate *)previousValue { + + self = [super init]; + if (self) { + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithPreviousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveLinkExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedContentRemoveLinkExpiryDetails: + (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)aSharedContentRemoveLinkExpiryDetails { + if (self == aSharedContentRemoveLinkExpiryDetails) { + return YES; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedContentRemoveLinkExpiryDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGSharedContentRemoveLinkExpiryDetails alloc] initWithPreviousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveLinkExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveLinkExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveLinkExpiryType:other]; +} + +- (BOOL)isEqualToSharedContentRemoveLinkExpiryType: + (DBTEAMLOGSharedContentRemoveLinkExpiryType *)aSharedContentRemoveLinkExpiryType { + if (self == aSharedContentRemoveLinkExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRemoveLinkExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveLinkExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRemoveLinkExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveLinkPasswordDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveLinkPasswordDetails:other]; +} + +- (BOOL)isEqualToSharedContentRemoveLinkPasswordDetails: + (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)aSharedContentRemoveLinkPasswordDetails { + if (self == aSharedContentRemoveLinkPasswordDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedContentRemoveLinkPasswordDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveLinkPasswordType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveLinkPasswordType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveLinkPasswordType:other]; +} + +- (BOOL)isEqualToSharedContentRemoveLinkPasswordType: + (DBTEAMLOGSharedContentRemoveLinkPasswordType *)aSharedContentRemoveLinkPasswordType { + if (self == aSharedContentRemoveLinkPasswordType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRemoveLinkPasswordType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveLinkPasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRemoveLinkPasswordType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedContentAccessLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedContentAccessLevel != nil) { + result = prime * result + [self.sharedContentAccessLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveMemberDetails:other]; +} + +- (BOOL)isEqualToSharedContentRemoveMemberDetails: + (DBTEAMLOGSharedContentRemoveMemberDetails *)aSharedContentRemoveMemberDetails { + if (self == aSharedContentRemoveMemberDetails) { + return YES; + } + if (self.sharedContentAccessLevel) { + if (![self.sharedContentAccessLevel isEqual:aSharedContentRemoveMemberDetails.sharedContentAccessLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedContentAccessLevel) { + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + valueDict[@"shared_content_access_level"] + ? [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]] + : nil; + + return [[DBTEAMLOGSharedContentRemoveMemberDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRemoveMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRemoveMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRemoveMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRemoveMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRemoveMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRemoveMemberType:other]; +} + +- (BOOL)isEqualToSharedContentRemoveMemberType: + (DBTEAMLOGSharedContentRemoveMemberType *)aSharedContentRemoveMemberType { + if (self == aSharedContentRemoveMemberType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRemoveMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRemoveMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRemoveMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRemoveMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRequestAccessDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRequestAccessDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink { + + self = [super init]; + if (self) { + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedContentLink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRequestAccessDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRequestAccessDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRequestAccessDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRequestAccessDetails:other]; +} + +- (BOOL)isEqualToSharedContentRequestAccessDetails: + (DBTEAMLOGSharedContentRequestAccessDetails *)aSharedContentRequestAccessDetails { + if (self == aSharedContentRequestAccessDetails) { + return YES; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedContentRequestAccessDetails.sharedContentLink]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRequestAccessDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return [[DBTEAMLOGSharedContentRequestAccessDetails alloc] initWithSharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRequestAccessType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRequestAccessType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRequestAccessTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRequestAccessTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRequestAccessTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRequestAccessType:other]; +} + +- (BOOL)isEqualToSharedContentRequestAccessType: + (DBTEAMLOGSharedContentRequestAccessType *)aSharedContentRequestAccessType { + if (self == aSharedContentRequestAccessType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRequestAccessType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRequestAccessTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRequestAccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRequestAccessType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRestoreInviteesDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRestoreInviteesDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + invitees:(NSArray *)invitees { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + [DBStoneValidators + nonnullValidator:[DBStoneValidators + arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil + maxLength:@(255) + pattern:nil]]]]( + invitees); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _invitees = invitees; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + result = prime * result + [self.invitees hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRestoreInviteesDetails:other]; +} + +- (BOOL)isEqualToSharedContentRestoreInviteesDetails: + (DBTEAMLOGSharedContentRestoreInviteesDetails *)aSharedContentRestoreInviteesDetails { + if (self == aSharedContentRestoreInviteesDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentRestoreInviteesDetails.sharedContentAccessLevel]) { + return NO; + } + if (![self.invitees isEqual:aSharedContentRestoreInviteesDetails.invitees]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreInviteesDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + jsonDict[@"invitees"] = [DBArraySerializer serialize:valueObj.invitees + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRestoreInviteesDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSArray *invitees = [DBArraySerializer deserialize:valueDict[@"invitees"] + withBlock:^id(id elem0) { + return elem0; + }]; + + return [[DBTEAMLOGSharedContentRestoreInviteesDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel + invitees:invitees]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRestoreInviteesType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRestoreInviteesType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRestoreInviteesTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRestoreInviteesTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRestoreInviteesTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRestoreInviteesType:other]; +} + +- (BOOL)isEqualToSharedContentRestoreInviteesType: + (DBTEAMLOGSharedContentRestoreInviteesType *)aSharedContentRestoreInviteesType { + if (self == aSharedContentRestoreInviteesType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRestoreInviteesType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRestoreInviteesTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreInviteesType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRestoreInviteesType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRestoreInviteesType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRestoreMemberDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRestoreMemberDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRestoreMemberDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRestoreMemberDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRestoreMemberDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRestoreMemberDetails:other]; +} + +- (BOOL)isEqualToSharedContentRestoreMemberDetails: + (DBTEAMLOGSharedContentRestoreMemberDetails *)aSharedContentRestoreMemberDetails { + if (self == aSharedContentRestoreMemberDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentRestoreMemberDetails.sharedContentAccessLevel]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRestoreMemberDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreMemberDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRestoreMemberDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + + return [[DBTEAMLOGSharedContentRestoreMemberDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentRestoreMemberType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentRestoreMemberType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentRestoreMemberTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentRestoreMemberTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentRestoreMemberTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentRestoreMemberType:other]; +} + +- (BOOL)isEqualToSharedContentRestoreMemberType: + (DBTEAMLOGSharedContentRestoreMemberType *)aSharedContentRestoreMemberType { + if (self == aSharedContentRestoreMemberType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentRestoreMemberType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentRestoreMemberTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreMemberType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentRestoreMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentRestoreMemberType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentUnshareDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentUnshareDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentUnshareDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentUnshareDetails:other]; +} + +- (BOOL)isEqualToSharedContentUnshareDetails:(DBTEAMLOGSharedContentUnshareDetails *)aSharedContentUnshareDetails { + if (self == aSharedContentUnshareDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentUnshareDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedContentUnshareDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentUnshareType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentUnshareType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentUnshareTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentUnshareTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentUnshareTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentUnshareType:other]; +} + +- (BOOL)isEqualToSharedContentUnshareType:(DBTEAMLOGSharedContentUnshareType *)aSharedContentUnshareType { + if (self == aSharedContentUnshareType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentUnshareType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentUnshareTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentUnshareType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentUnshareType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentViewDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentViewDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentOwner:(DBTEAMLOGUserLogInfo *)sharedContentOwner { + [DBStoneValidators nonnullValidator:nil](sharedContentLink); + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentLink = sharedContentLink; + _sharedContentOwner = sharedContentOwner; + _sharedContentAccessLevel = sharedContentAccessLevel; + } + return self; +} + +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + sharedContentOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentViewDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentViewDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentViewDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentLink hash]; + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentOwner != nil) { + result = prime * result + [self.sharedContentOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentViewDetails:other]; +} + +- (BOOL)isEqualToSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)aSharedContentViewDetails { + if (self == aSharedContentViewDetails) { + return YES; + } + if (![self.sharedContentLink isEqual:aSharedContentViewDetails.sharedContentLink]) { + return NO; + } + if (![self.sharedContentAccessLevel isEqual:aSharedContentViewDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentOwner) { + if (![self.sharedContentOwner isEqual:aSharedContentViewDetails.sharedContentOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentViewDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentViewDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentOwner) { + jsonDict[@"shared_content_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedContentOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sharedContentLink = valueDict[@"shared_content_link"]; + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + DBTEAMLOGUserLogInfo *sharedContentOwner = + valueDict[@"shared_content_owner"] + ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_content_owner"]] + : nil; + + return [[DBTEAMLOGSharedContentViewDetails alloc] initWithSharedContentLink:sharedContentLink + sharedContentAccessLevel:sharedContentAccessLevel + sharedContentOwner:sharedContentOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedContentViewType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedContentViewType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedContentViewTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedContentViewTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedContentViewTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedContentViewType:other]; +} + +- (BOOL)isEqualToSharedContentViewType:(DBTEAMLOGSharedContentViewType *)aSharedContentViewType { + if (self == aSharedContentViewType) { + return YES; + } + if (![self.description_ isEqual:aSharedContentViewType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedContentViewTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedContentViewType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedContentViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedContentViewType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGSharedLinkPolicy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeLinkPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue + previousValue:(DBSHARINGSharedLinkPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeLinkPolicyDetails:other]; +} + +- (BOOL)isEqualToSharedFolderChangeLinkPolicyDetails: + (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)aSharedFolderChangeLinkPolicyDetails { + if (self == aSharedFolderChangeLinkPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedFolderChangeLinkPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedFolderChangeLinkPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGSharedLinkPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGSharedLinkPolicy *dNewValue = [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"new_value"]]; + DBSHARINGSharedLinkPolicy *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGSharedLinkPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedFolderChangeLinkPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeLinkPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeLinkPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeLinkPolicyType:other]; +} + +- (BOOL)isEqualToSharedFolderChangeLinkPolicyType: + (DBTEAMLOGSharedFolderChangeLinkPolicyType *)aSharedFolderChangeLinkPolicyType { + if (self == aSharedFolderChangeLinkPolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderChangeLinkPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeLinkPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderChangeLinkPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h" +#import "DBTEAMLOGSharedFolderMembersInheritancePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)dNewValue + previousValue:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersInheritancePolicyDetails:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersInheritancePolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)aSharedFolderChangeMembersInheritancePolicyDetails { + if (self == aSharedFolderChangeMembersInheritancePolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedFolderChangeMembersInheritancePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedFolderChangeMembersInheritancePolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharedFolderMembersInheritancePolicy *dNewValue = + [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSharedFolderMembersInheritancePolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersInheritancePolicyType:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersInheritancePolicyType: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)aSharedFolderChangeMembersInheritancePolicyType { + if (self == aSharedFolderChangeMembersInheritancePolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderChangeMembersInheritancePolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAclUpdatePolicy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBSHARINGAclUpdatePolicy *)dNewValue + previousValue:(DBSHARINGAclUpdatePolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBSHARINGAclUpdatePolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersManagementPolicyDetails:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersManagementPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)aSharedFolderChangeMembersManagementPolicyDetails { + if (self == aSharedFolderChangeMembersManagementPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedFolderChangeMembersManagementPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedFolderChangeMembersManagementPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGAclUpdatePolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAclUpdatePolicy *dNewValue = [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"new_value"]]; + DBSHARINGAclUpdatePolicy *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGAclUpdatePolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersManagementPolicyType:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersManagementPolicyType: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)aSharedFolderChangeMembersManagementPolicyType { + if (self == aSharedFolderChangeMembersManagementPolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderChangeMembersManagementPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderChangeMembersManagementPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGMemberPolicy.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersPolicyDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBSHARINGMemberPolicy *)dNewValue + previousValue:(DBSHARINGMemberPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBSHARINGMemberPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersPolicyDetails:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)aSharedFolderChangeMembersPolicyDetails { + if (self == aSharedFolderChangeMembersPolicyDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedFolderChangeMembersPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedFolderChangeMembersPolicyDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGMemberPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGMemberPolicy *dNewValue = [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"new_value"]]; + DBSHARINGMemberPolicy *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGMemberPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; + + return + [[DBTEAMLOGSharedFolderChangeMembersPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderChangeMembersPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderChangeMembersPolicyType:other]; +} + +- (BOOL)isEqualToSharedFolderChangeMembersPolicyType: + (DBTEAMLOGSharedFolderChangeMembersPolicyType *)aSharedFolderChangeMembersPolicyType { + if (self == aSharedFolderChangeMembersPolicyType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderChangeMembersPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderChangeMembersPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderChangeMembersPolicyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderCreateDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithTargetNsId:(NSString *)targetNsId { + + self = [super init]; + if (self) { + _targetNsId = targetNsId; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithTargetNsId:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.targetNsId != nil) { + result = prime * result + [self.targetNsId hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderCreateDetails:other]; +} + +- (BOOL)isEqualToSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)aSharedFolderCreateDetails { + if (self == aSharedFolderCreateDetails) { + return YES; + } + if (self.targetNsId) { + if (![self.targetNsId isEqual:aSharedFolderCreateDetails.targetNsId]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.targetNsId) { + jsonDict[@"target_ns_id"] = valueObj.targetNsId; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { + NSString *targetNsId = valueDict[@"target_ns_id"] ?: nil; + + return [[DBTEAMLOGSharedFolderCreateDetails alloc] initWithTargetNsId:targetNsId]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderCreateType:other]; +} + +- (BOOL)isEqualToSharedFolderCreateType:(DBTEAMLOGSharedFolderCreateType *)aSharedFolderCreateType { + if (self == aSharedFolderCreateType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderDeclineInvitationDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderDeclineInvitationDetails:other]; +} + +- (BOOL)isEqualToSharedFolderDeclineInvitationDetails: + (DBTEAMLOGSharedFolderDeclineInvitationDetails *)aSharedFolderDeclineInvitationDetails { + if (self == aSharedFolderDeclineInvitationDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderDeclineInvitationDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderDeclineInvitationDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedFolderDeclineInvitationDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderDeclineInvitationType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderDeclineInvitationType:other]; +} + +- (BOOL)isEqualToSharedFolderDeclineInvitationType: + (DBTEAMLOGSharedFolderDeclineInvitationType *)aSharedFolderDeclineInvitationType { + if (self == aSharedFolderDeclineInvitationType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderDeclineInvitationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderDeclineInvitationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderDeclineInvitationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderDeclineInvitationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderMembersInheritancePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderMembersInheritancePolicy + +#pragma mark - Constructors + +- (instancetype)initWithDontInheritMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers; + } + return self; +} + +- (instancetype)initWithInheritMembers { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedFolderMembersInheritancePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDontInheritMembers { + return _tag == DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers; +} + +- (BOOL)isInheritMembers { + return _tag == DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSharedFolderMembersInheritancePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers: + return @"DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers"; + case DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers: + return @"DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers"; + case DBTEAMLOGSharedFolderMembersInheritancePolicyOther: + return @"DBTEAMLOGSharedFolderMembersInheritancePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderMembersInheritancePolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderMembersInheritancePolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedFolderMembersInheritancePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderMembersInheritancePolicy:other]; +} + +- (BOOL)isEqualToSharedFolderMembersInheritancePolicy: + (DBTEAMLOGSharedFolderMembersInheritancePolicy *)aSharedFolderMembersInheritancePolicy { + if (self == aSharedFolderMembersInheritancePolicy) { + return YES; + } + if (self.tag != aSharedFolderMembersInheritancePolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers: + return [[self tagName] isEqual:[aSharedFolderMembersInheritancePolicy tagName]]; + case DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers: + return [[self tagName] isEqual:[aSharedFolderMembersInheritancePolicy tagName]]; + case DBTEAMLOGSharedFolderMembersInheritancePolicyOther: + return [[self tagName] isEqual:[aSharedFolderMembersInheritancePolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderMembersInheritancePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDontInheritMembers]) { + jsonDict[@".tag"] = @"dont_inherit_members"; + } else if ([valueObj isInheritMembers]) { + jsonDict[@".tag"] = @"inherit_members"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderMembersInheritancePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"dont_inherit_members"]) { + return [[DBTEAMLOGSharedFolderMembersInheritancePolicy alloc] initWithDontInheritMembers]; + } else if ([tag isEqualToString:@"inherit_members"]) { + return [[DBTEAMLOGSharedFolderMembersInheritancePolicy alloc] initWithInheritMembers]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSharedFolderMembersInheritancePolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSharedFolderMembersInheritancePolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderMountDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderMountDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderMountDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderMountDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderMountDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderMountDetails:other]; +} + +- (BOOL)isEqualToSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)aSharedFolderMountDetails { + if (self == aSharedFolderMountDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderMountDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedFolderMountDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderMountType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderMountType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderMountTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderMountTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderMountTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderMountType:other]; +} + +- (BOOL)isEqualToSharedFolderMountType:(DBTEAMLOGSharedFolderMountType *)aSharedFolderMountType { + if (self == aSharedFolderMountType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderMountType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderMountTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderMountType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderMountType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderNestDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderNestDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousParentNsId:(NSString *)previousParentNsId + dNewParentNsId:(NSString *)dNewParentNsId + previousNsPath:(NSString *)previousNsPath + dNewNsPath:(NSString *)dNewNsPath { + + self = [super init]; + if (self) { + _previousParentNsId = previousParentNsId; + _dNewParentNsId = dNewParentNsId; + _previousNsPath = previousNsPath; + _dNewNsPath = dNewNsPath; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithPreviousParentNsId:nil dNewParentNsId:nil previousNsPath:nil dNewNsPath:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderNestDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderNestDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderNestDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.previousParentNsId != nil) { + result = prime * result + [self.previousParentNsId hash]; + } + if (self.dNewParentNsId != nil) { + result = prime * result + [self.dNewParentNsId hash]; + } + if (self.previousNsPath != nil) { + result = prime * result + [self.previousNsPath hash]; + } + if (self.dNewNsPath != nil) { + result = prime * result + [self.dNewNsPath hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderNestDetails:other]; +} + +- (BOOL)isEqualToSharedFolderNestDetails:(DBTEAMLOGSharedFolderNestDetails *)aSharedFolderNestDetails { + if (self == aSharedFolderNestDetails) { + return YES; + } + if (self.previousParentNsId) { + if (![self.previousParentNsId isEqual:aSharedFolderNestDetails.previousParentNsId]) { + return NO; + } + } + if (self.dNewParentNsId) { + if (![self.dNewParentNsId isEqual:aSharedFolderNestDetails.dNewParentNsId]) { + return NO; + } + } + if (self.previousNsPath) { + if (![self.previousNsPath isEqual:aSharedFolderNestDetails.previousNsPath]) { + return NO; + } + } + if (self.dNewNsPath) { + if (![self.dNewNsPath isEqual:aSharedFolderNestDetails.dNewNsPath]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderNestDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderNestDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.previousParentNsId) { + jsonDict[@"previous_parent_ns_id"] = valueObj.previousParentNsId; + } + if (valueObj.dNewParentNsId) { + jsonDict[@"new_parent_ns_id"] = valueObj.dNewParentNsId; + } + if (valueObj.previousNsPath) { + jsonDict[@"previous_ns_path"] = valueObj.previousNsPath; + } + if (valueObj.dNewNsPath) { + jsonDict[@"new_ns_path"] = valueObj.dNewNsPath; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderNestDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousParentNsId = valueDict[@"previous_parent_ns_id"] ?: nil; + NSString *dNewParentNsId = valueDict[@"new_parent_ns_id"] ?: nil; + NSString *previousNsPath = valueDict[@"previous_ns_path"] ?: nil; + NSString *dNewNsPath = valueDict[@"new_ns_path"] ?: nil; + + return [[DBTEAMLOGSharedFolderNestDetails alloc] initWithPreviousParentNsId:previousParentNsId + dNewParentNsId:dNewParentNsId + previousNsPath:previousNsPath + dNewNsPath:dNewNsPath]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderNestType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderNestType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderNestTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderNestTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderNestTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderNestType:other]; +} + +- (BOOL)isEqualToSharedFolderNestType:(DBTEAMLOGSharedFolderNestType *)aSharedFolderNestType { + if (self == aSharedFolderNestType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderNestType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderNestTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderNestType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderNestType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderNestType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderTransferOwnershipDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderTransferOwnershipDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewOwnerEmail:(NSString *)dNewOwnerEmail previousOwnerEmail:(NSString *)previousOwnerEmail { + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](dNewOwnerEmail); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](previousOwnerEmail); + + self = [super init]; + if (self) { + _previousOwnerEmail = previousOwnerEmail; + _dNewOwnerEmail = dNewOwnerEmail; + } + return self; +} + +- (instancetype)initWithDNewOwnerEmail:(NSString *)dNewOwnerEmail { + return [self initWithDNewOwnerEmail:dNewOwnerEmail previousOwnerEmail:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewOwnerEmail hash]; + if (self.previousOwnerEmail != nil) { + result = prime * result + [self.previousOwnerEmail hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderTransferOwnershipDetails:other]; +} + +- (BOOL)isEqualToSharedFolderTransferOwnershipDetails: + (DBTEAMLOGSharedFolderTransferOwnershipDetails *)aSharedFolderTransferOwnershipDetails { + if (self == aSharedFolderTransferOwnershipDetails) { + return YES; + } + if (![self.dNewOwnerEmail isEqual:aSharedFolderTransferOwnershipDetails.dNewOwnerEmail]) { + return NO; + } + if (self.previousOwnerEmail) { + if (![self.previousOwnerEmail isEqual:aSharedFolderTransferOwnershipDetails.previousOwnerEmail]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_owner_email"] = valueObj.dNewOwnerEmail; + if (valueObj.previousOwnerEmail) { + jsonDict[@"previous_owner_email"] = valueObj.previousOwnerEmail; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewOwnerEmail = valueDict[@"new_owner_email"]; + NSString *previousOwnerEmail = valueDict[@"previous_owner_email"] ?: nil; + + return [[DBTEAMLOGSharedFolderTransferOwnershipDetails alloc] initWithDNewOwnerEmail:dNewOwnerEmail + previousOwnerEmail:previousOwnerEmail]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderTransferOwnershipType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderTransferOwnershipType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderTransferOwnershipType:other]; +} + +- (BOOL)isEqualToSharedFolderTransferOwnershipType: + (DBTEAMLOGSharedFolderTransferOwnershipType *)aSharedFolderTransferOwnershipType { + if (self == aSharedFolderTransferOwnershipType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderTransferOwnershipType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderTransferOwnershipType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderTransferOwnershipType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderUnmountDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderUnmountDetails + +#pragma mark - Constructors + +- (instancetype)initDefault { + + self = [super init]; + if (self) { + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderUnmountDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderUnmountDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderUnmountDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderUnmountDetails:other]; +} + +- (BOOL)isEqualToSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)aSharedFolderUnmountDetails { + if (self == aSharedFolderUnmountDetails) { + return YES; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderUnmountDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) + + return [[DBTEAMLOGSharedFolderUnmountDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedFolderUnmountType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedFolderUnmountType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedFolderUnmountTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedFolderUnmountTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedFolderUnmountTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderUnmountType:other]; +} + +- (BOOL)isEqualToSharedFolderUnmountType:(DBTEAMLOGSharedFolderUnmountType *)aSharedFolderUnmountType { + if (self == aSharedFolderUnmountType) { + return YES; + } + if (![self.description_ isEqual:aSharedFolderUnmountType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedFolderUnmountTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedFolderUnmountType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedFolderUnmountType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkAccessLevel.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkAccessLevel + +#pragma mark - Constructors + +- (instancetype)initWithNone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkAccessLevelNone; + } + return self; +} + +- (instancetype)initWithReader { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkAccessLevelReader; + } + return self; +} + +- (instancetype)initWithWriter { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkAccessLevelWriter; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkAccessLevelOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isNone { + return _tag == DBTEAMLOGSharedLinkAccessLevelNone; +} + +- (BOOL)isReader { + return _tag == DBTEAMLOGSharedLinkAccessLevelReader; +} + +- (BOOL)isWriter { + return _tag == DBTEAMLOGSharedLinkAccessLevelWriter; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSharedLinkAccessLevelOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSharedLinkAccessLevelNone: + return @"DBTEAMLOGSharedLinkAccessLevelNone"; + case DBTEAMLOGSharedLinkAccessLevelReader: + return @"DBTEAMLOGSharedLinkAccessLevelReader"; + case DBTEAMLOGSharedLinkAccessLevelWriter: + return @"DBTEAMLOGSharedLinkAccessLevelWriter"; + case DBTEAMLOGSharedLinkAccessLevelOther: + return @"DBTEAMLOGSharedLinkAccessLevelOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkAccessLevelSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkAccessLevelSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkAccessLevelSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMLOGSharedLinkAccessLevelNone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedLinkAccessLevelReader: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedLinkAccessLevelWriter: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedLinkAccessLevelOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkAccessLevel:other]; +} + +- (BOOL)isEqualToSharedLinkAccessLevel:(DBTEAMLOGSharedLinkAccessLevel *)aSharedLinkAccessLevel { + if (self == aSharedLinkAccessLevel) { + return YES; + } + if (self.tag != aSharedLinkAccessLevel.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGSharedLinkAccessLevelNone: + return [[self tagName] isEqual:[aSharedLinkAccessLevel tagName]]; + case DBTEAMLOGSharedLinkAccessLevelReader: + return [[self tagName] isEqual:[aSharedLinkAccessLevel tagName]]; + case DBTEAMLOGSharedLinkAccessLevelWriter: + return [[self tagName] isEqual:[aSharedLinkAccessLevel tagName]]; + case DBTEAMLOGSharedLinkAccessLevelOther: + return [[self tagName] isEqual:[aSharedLinkAccessLevel tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkAccessLevelSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkAccessLevel *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isNone]) { + jsonDict[@".tag"] = @"none"; + } else if ([valueObj isReader]) { + jsonDict[@".tag"] = @"reader"; + } else if ([valueObj isWriter]) { + jsonDict[@".tag"] = @"writer"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkAccessLevel *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"none"]) { + return [[DBTEAMLOGSharedLinkAccessLevel alloc] initWithNone]; + } else if ([tag isEqualToString:@"reader"]) { + return [[DBTEAMLOGSharedLinkAccessLevel alloc] initWithReader]; + } else if ([tag isEqualToString:@"writer"]) { + return [[DBTEAMLOGSharedLinkAccessLevel alloc] initWithWriter]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSharedLinkAccessLevel alloc] initWithOther]; + } else { + return [[DBTEAMLOGSharedLinkAccessLevel alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkAddExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkAddExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSDate *)dNewValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkAddExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkAddExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkAddExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkAddExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedLinkAddExpiryDetails:(DBTEAMLOGSharedLinkAddExpiryDetails *)aSharedLinkAddExpiryDetails { + if (self == aSharedLinkAddExpiryDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedLinkAddExpiryDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkAddExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkAddExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkAddExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *dNewValue = [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + + return [[DBTEAMLOGSharedLinkAddExpiryDetails alloc] initWithDNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkAddExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkAddExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkAddExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkAddExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkAddExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkAddExpiryType:other]; +} + +- (BOOL)isEqualToSharedLinkAddExpiryType:(DBTEAMLOGSharedLinkAddExpiryType *)aSharedLinkAddExpiryType { + if (self == aSharedLinkAddExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkAddExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkAddExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkAddExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkAddExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkAddExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkChangeExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkChangeExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(NSDate *)dNewValue previousValue:(NSDate *)previousValue { + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkChangeExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedLinkChangeExpiryDetails: + (DBTEAMLOGSharedLinkChangeExpiryDetails *)aSharedLinkChangeExpiryDetails { + if (self == aSharedLinkChangeExpiryDetails) { + return YES; + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSharedLinkChangeExpiryDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkChangeExpiryDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkChangeExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *dNewValue = valueDict[@"new_value"] + ? [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGSharedLinkChangeExpiryDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkChangeExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkChangeExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkChangeExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkChangeExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkChangeExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkChangeExpiryType:other]; +} + +- (BOOL)isEqualToSharedLinkChangeExpiryType:(DBTEAMLOGSharedLinkChangeExpiryType *)aSharedLinkChangeExpiryType { + if (self == aSharedLinkChangeExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkChangeExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkChangeExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkChangeExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkChangeExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityDetails.h" +#import "DBTEAMLOGSharedLinkVisibility.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkChangeVisibilityDetails + +#pragma mark - Constructors + +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedLinkVisibility *)dNewValue + previousValue:(DBTEAMLOGSharedLinkVisibility *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedLinkVisibility *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkChangeVisibilityDetails:other]; +} + +- (BOOL)isEqualToSharedLinkChangeVisibilityDetails: + (DBTEAMLOGSharedLinkChangeVisibilityDetails *)aSharedLinkChangeVisibilityDetails { + if (self == aSharedLinkChangeVisibilityDetails) { + return YES; + } + if (![self.dNewValue isEqual:aSharedLinkChangeVisibilityDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkChangeVisibilityDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeVisibilityDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"new_value"] = [DBTEAMLOGSharedLinkVisibilitySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGSharedLinkVisibilitySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkChangeVisibilityDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharedLinkVisibility *dNewValue = + [DBTEAMLOGSharedLinkVisibilitySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSharedLinkVisibility *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGSharedLinkVisibilitySerializer deserialize:valueDict[@"previous_value"]] + : nil; + + return [[DBTEAMLOGSharedLinkChangeVisibilityDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkChangeVisibilityType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkChangeVisibilityType:other]; +} + +- (BOOL)isEqualToSharedLinkChangeVisibilityType: + (DBTEAMLOGSharedLinkChangeVisibilityType *)aSharedLinkChangeVisibilityType { + if (self == aSharedLinkChangeVisibilityType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkChangeVisibilityType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeVisibilityType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkChangeVisibilityType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkChangeVisibilityType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkCopyDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkCopyDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { + + self = [super init]; + if (self) { + _sharedLinkOwner = sharedLinkOwner; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkCopyDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkCopyDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkCopyDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkCopyDetails:other]; +} + +- (BOOL)isEqualToSharedLinkCopyDetails:(DBTEAMLOGSharedLinkCopyDetails *)aSharedLinkCopyDetails { + if (self == aSharedLinkCopyDetails) { + return YES; + } + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aSharedLinkCopyDetails.sharedLinkOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkCopyDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkCopyDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkCopyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; + + return [[DBTEAMLOGSharedLinkCopyDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkCopyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkCopyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkCopyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkCopyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkCopyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkCopyType:other]; +} + +- (BOOL)isEqualToSharedLinkCopyType:(DBTEAMLOGSharedLinkCopyType *)aSharedLinkCopyType { + if (self == aSharedLinkCopyType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkCopyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkCopyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkCopyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkCopyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkCopyType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkAccessLevel.h" +#import "DBTEAMLOGSharedLinkCreateDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkCreateDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedLinkAccessLevel:(DBTEAMLOGSharedLinkAccessLevel *)sharedLinkAccessLevel { + + self = [super init]; + if (self) { + _sharedLinkAccessLevel = sharedLinkAccessLevel; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedLinkAccessLevel:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkCreateDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkCreateDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkCreateDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedLinkAccessLevel != nil) { + result = prime * result + [self.sharedLinkAccessLevel hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkCreateDetails:other]; +} + +- (BOOL)isEqualToSharedLinkCreateDetails:(DBTEAMLOGSharedLinkCreateDetails *)aSharedLinkCreateDetails { + if (self == aSharedLinkCreateDetails) { + return YES; + } + if (self.sharedLinkAccessLevel) { + if (![self.sharedLinkAccessLevel isEqual:aSharedLinkCreateDetails.sharedLinkAccessLevel]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkCreateDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkCreateDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedLinkAccessLevel) { + jsonDict[@"shared_link_access_level"] = + [DBTEAMLOGSharedLinkAccessLevelSerializer serialize:valueObj.sharedLinkAccessLevel]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkCreateDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharedLinkAccessLevel *sharedLinkAccessLevel = + valueDict[@"shared_link_access_level"] + ? [DBTEAMLOGSharedLinkAccessLevelSerializer deserialize:valueDict[@"shared_link_access_level"]] + : nil; + + return [[DBTEAMLOGSharedLinkCreateDetails alloc] initWithSharedLinkAccessLevel:sharedLinkAccessLevel]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkCreateType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkCreateType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkCreateTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkCreateTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkCreateTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkCreateType:other]; +} + +- (BOOL)isEqualToSharedLinkCreateType:(DBTEAMLOGSharedLinkCreateType *)aSharedLinkCreateType { + if (self == aSharedLinkCreateType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkCreateType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkCreateTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkCreateType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkCreateType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkDisableDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkDisableDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { + + self = [super init]; + if (self) { + _sharedLinkOwner = sharedLinkOwner; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkDisableDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkDisableDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkDisableDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkDisableDetails:other]; +} + +- (BOOL)isEqualToSharedLinkDisableDetails:(DBTEAMLOGSharedLinkDisableDetails *)aSharedLinkDisableDetails { + if (self == aSharedLinkDisableDetails) { + return YES; + } + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aSharedLinkDisableDetails.sharedLinkOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkDisableDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkDisableDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkDisableDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; + + return [[DBTEAMLOGSharedLinkDisableDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkDisableType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkDisableType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkDisableTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkDisableTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkDisableTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkDisableType:other]; +} + +- (BOOL)isEqualToSharedLinkDisableType:(DBTEAMLOGSharedLinkDisableType *)aSharedLinkDisableType { + if (self == aSharedLinkDisableType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkDisableType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkDisableTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkDisableType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkDisableType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkDisableType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkDownloadDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkDownloadDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { + + self = [super init]; + if (self) { + _sharedLinkOwner = sharedLinkOwner; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkDownloadDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkDownloadDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkDownloadDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkDownloadDetails:other]; +} + +- (BOOL)isEqualToSharedLinkDownloadDetails:(DBTEAMLOGSharedLinkDownloadDetails *)aSharedLinkDownloadDetails { + if (self == aSharedLinkDownloadDetails) { + return YES; + } + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aSharedLinkDownloadDetails.sharedLinkOwner]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkDownloadDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkDownloadDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkDownloadDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; + + return [[DBTEAMLOGSharedLinkDownloadDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkDownloadType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkDownloadType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkDownloadTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkDownloadTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkDownloadTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkDownloadType:other]; +} + +- (BOOL)isEqualToSharedLinkDownloadType:(DBTEAMLOGSharedLinkDownloadType *)aSharedLinkDownloadType { + if (self == aSharedLinkDownloadType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkDownloadType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkDownloadTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkDownloadType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkDownloadType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkRemoveExpiryDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSDate *)previousValue { + + self = [super init]; + if (self) { + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initDefault { + return [self initWithPreviousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkRemoveExpiryDetails:other]; +} + +- (BOOL)isEqualToSharedLinkRemoveExpiryDetails: + (DBTEAMLOGSharedLinkRemoveExpiryDetails *)aSharedLinkRemoveExpiryDetails { + if (self == aSharedLinkRemoveExpiryDetails) { + return YES; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkRemoveExpiryDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkRemoveExpiryDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkRemoveExpiryDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGSharedLinkRemoveExpiryDetails alloc] initWithPreviousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkRemoveExpiryType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkRemoveExpiryType:other]; +} + +- (BOOL)isEqualToSharedLinkRemoveExpiryType:(DBTEAMLOGSharedLinkRemoveExpiryType *)aSharedLinkRemoveExpiryType { + if (self == aSharedLinkRemoveExpiryType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkRemoveExpiryType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkRemoveExpiryType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkRemoveExpiryType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkRemoveExpiryType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAddExpirationDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink + dNewValue:(NSDate *)dNewValue { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + _dNewValue = dNewValue; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil dNewValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAddExpirationDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAddExpirationDetails: + (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)aSharedLinkSettingsAddExpirationDetails { + if (self == aSharedLinkSettingsAddExpirationDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsAddExpirationDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsAddExpirationDetails.sharedContentLink]) { + return NO; + } + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSharedLinkSettingsAddExpirationDetails.dNewValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + NSDate *dNewValue = valueDict[@"new_value"] + ? [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return + [[DBTEAMLOGSharedLinkSettingsAddExpirationDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAddExpirationType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAddExpirationType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAddExpirationType: + (DBTEAMLOGSharedLinkSettingsAddExpirationType *)aSharedLinkSettingsAddExpirationType { + if (self == aSharedLinkSettingsAddExpirationType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsAddExpirationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddExpirationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAddExpirationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsAddExpirationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAddPasswordDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAddPasswordDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAddPasswordDetails: + (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)aSharedLinkSettingsAddPasswordDetails { + if (self == aSharedLinkSettingsAddPasswordDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsAddPasswordDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsAddPasswordDetails.sharedContentLink]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return + [[DBTEAMLOGSharedLinkSettingsAddPasswordDetails alloc] initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAddPasswordType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAddPasswordType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAddPasswordType: + (DBTEAMLOGSharedLinkSettingsAddPasswordType *)aSharedLinkSettingsAddPasswordType { + if (self == aSharedLinkSettingsAddPasswordType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsAddPasswordType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddPasswordType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAddPasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsAddPasswordType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAllowDownloadDisabledDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAllowDownloadDisabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)aSharedLinkSettingsAllowDownloadDisabledDetails { + if (self == aSharedLinkSettingsAllowDownloadDisabledDetails) { + return YES; + } + if (![self.sharedContentAccessLevel + isEqual:aSharedLinkSettingsAllowDownloadDisabledDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsAllowDownloadDisabledDetails.sharedContentLink]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAllowDownloadDisabledType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAllowDownloadDisabledType: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)aSharedLinkSettingsAllowDownloadDisabledType { + if (self == aSharedLinkSettingsAllowDownloadDisabledType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsAllowDownloadDisabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAllowDownloadEnabledDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAllowDownloadEnabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)aSharedLinkSettingsAllowDownloadEnabledDetails { + if (self == aSharedLinkSettingsAllowDownloadEnabledDetails) { + return YES; + } + if (! + [self.sharedContentAccessLevel isEqual:aSharedLinkSettingsAllowDownloadEnabledDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsAllowDownloadEnabledDetails.sharedContentLink]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsAllowDownloadEnabledType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsAllowDownloadEnabledType: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)aSharedLinkSettingsAllowDownloadEnabledType { + if (self == aSharedLinkSettingsAllowDownloadEnabledType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsAllowDownloadEnabledType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGLinkAudience.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h" -@implementation DBTEAMLOGEventTypeSerializer +#pragma mark - API Object -+ (NSDictionary *)serialize:(DBTEAMLOGEventType *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +@implementation DBTEAMLOGSharedLinkSettingsChangeAudienceDetails - if ([valueObj isMemberChangeMembershipType]) { - jsonDict[@".tag"] = @"member_change_membership_type"; - } else if ([valueObj isMemberPermanentlyDeleteAccountContents]) { - jsonDict[@".tag"] = @"member_permanently_delete_account_contents"; - } else if ([valueObj isMemberSpaceLimitsChangeStatus]) { - jsonDict[@".tag"] = @"member_space_limits_change_status"; - } else if ([valueObj isMemberTransferAccountContents]) { - jsonDict[@".tag"] = @"member_transfer_account_contents"; - } else if ([valueObj isPaperAdminExportStart]) { - jsonDict[@".tag"] = @"paper_admin_export_start"; - } else if ([valueObj isPaperEnabledUsersGroupAddition]) { - jsonDict[@".tag"] = @"paper_enabled_users_group_addition"; - } else if ([valueObj isPaperEnabledUsersGroupRemoval]) { - jsonDict[@".tag"] = @"paper_enabled_users_group_removal"; - } else if ([valueObj isPaperExternalViewAllow]) { - jsonDict[@".tag"] = @"paper_external_view_allow"; - } else if ([valueObj isPaperExternalViewDefaultTeam]) { - jsonDict[@".tag"] = @"paper_external_view_default_team"; - } else if ([valueObj isPaperExternalViewForbid]) { - jsonDict[@".tag"] = @"paper_external_view_forbid"; - } else if ([valueObj isSfExternalInviteWarn]) { - jsonDict[@".tag"] = @"sf_external_invite_warn"; - } else if ([valueObj isTeamMergeFrom]) { - jsonDict[@".tag"] = @"team_merge_from"; - } else if ([valueObj isTeamMergeTo]) { - jsonDict[@".tag"] = @"team_merge_to"; - } else if ([valueObj isAppLinkTeam]) { - jsonDict[@".tag"] = @"app_link_team"; - } else if ([valueObj isAppLinkUser]) { - jsonDict[@".tag"] = @"app_link_user"; - } else if ([valueObj isAppUnlinkTeam]) { - jsonDict[@".tag"] = @"app_unlink_team"; - } else if ([valueObj isAppUnlinkUser]) { - jsonDict[@".tag"] = @"app_unlink_user"; - } else if ([valueObj isFileAddComment]) { - jsonDict[@".tag"] = @"file_add_comment"; - } else if ([valueObj isFileChangeCommentSubscription]) { - jsonDict[@".tag"] = @"file_change_comment_subscription"; - } else if ([valueObj isFileDeleteComment]) { - jsonDict[@".tag"] = @"file_delete_comment"; - } else if ([valueObj isFileLikeComment]) { - jsonDict[@".tag"] = @"file_like_comment"; - } else if ([valueObj isFileResolveComment]) { - jsonDict[@".tag"] = @"file_resolve_comment"; - } else if ([valueObj isFileUnlikeComment]) { - jsonDict[@".tag"] = @"file_unlike_comment"; - } else if ([valueObj isFileUnresolveComment]) { - jsonDict[@".tag"] = @"file_unresolve_comment"; - } else if ([valueObj isDeviceChangeIpDesktop]) { - jsonDict[@".tag"] = @"device_change_ip_desktop"; - } else if ([valueObj isDeviceChangeIpMobile]) { - jsonDict[@".tag"] = @"device_change_ip_mobile"; - } else if ([valueObj isDeviceChangeIpWeb]) { - jsonDict[@".tag"] = @"device_change_ip_web"; - } else if ([valueObj isDeviceDeleteOnUnlinkFail]) { - jsonDict[@".tag"] = @"device_delete_on_unlink_fail"; - } else if ([valueObj isDeviceDeleteOnUnlinkSuccess]) { - jsonDict[@".tag"] = @"device_delete_on_unlink_success"; - } else if ([valueObj isDeviceLinkFail]) { - jsonDict[@".tag"] = @"device_link_fail"; - } else if ([valueObj isDeviceLinkSuccess]) { - jsonDict[@".tag"] = @"device_link_success"; - } else if ([valueObj isDeviceManagementDisabled]) { - jsonDict[@".tag"] = @"device_management_disabled"; - } else if ([valueObj isDeviceManagementEnabled]) { - jsonDict[@".tag"] = @"device_management_enabled"; - } else if ([valueObj isDeviceUnlink]) { - jsonDict[@".tag"] = @"device_unlink"; - } else if ([valueObj isEmmRefreshAuthToken]) { - jsonDict[@".tag"] = @"emm_refresh_auth_token"; - } else if ([valueObj isAccountCaptureChangeAvailability]) { - jsonDict[@".tag"] = @"account_capture_change_availability"; - } else if ([valueObj isAccountCaptureMigrateAccount]) { - jsonDict[@".tag"] = @"account_capture_migrate_account"; - } else if ([valueObj isAccountCaptureRelinquishAccount]) { - jsonDict[@".tag"] = @"account_capture_relinquish_account"; - } else if ([valueObj isDisabledDomainInvites]) { - jsonDict[@".tag"] = @"disabled_domain_invites"; - } else if ([valueObj isDomainInvitesApproveRequestToJoinTeam]) { - jsonDict[@".tag"] = @"domain_invites_approve_request_to_join_team"; - } else if ([valueObj isDomainInvitesDeclineRequestToJoinTeam]) { - jsonDict[@".tag"] = @"domain_invites_decline_request_to_join_team"; - } else if ([valueObj isDomainInvitesEmailExistingUsers]) { - jsonDict[@".tag"] = @"domain_invites_email_existing_users"; - } else if ([valueObj isDomainInvitesRequestToJoinTeam]) { - jsonDict[@".tag"] = @"domain_invites_request_to_join_team"; - } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToNo]) { - jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_no"; - } else if ([valueObj isDomainInvitesSetInviteNewUserPrefToYes]) { - jsonDict[@".tag"] = @"domain_invites_set_invite_new_user_pref_to_yes"; - } else if ([valueObj isDomainVerificationAddDomainFail]) { - jsonDict[@".tag"] = @"domain_verification_add_domain_fail"; - } else if ([valueObj isDomainVerificationAddDomainSuccess]) { - jsonDict[@".tag"] = @"domain_verification_add_domain_success"; - } else if ([valueObj isDomainVerificationRemoveDomain]) { - jsonDict[@".tag"] = @"domain_verification_remove_domain"; - } else if ([valueObj isEnabledDomainInvites]) { - jsonDict[@".tag"] = @"enabled_domain_invites"; - } else if ([valueObj isCreateFolder]) { - jsonDict[@".tag"] = @"create_folder"; - } else if ([valueObj isFileAdd]) { - jsonDict[@".tag"] = @"file_add"; - } else if ([valueObj isFileCopy]) { - jsonDict[@".tag"] = @"file_copy"; - } else if ([valueObj isFileDelete]) { - jsonDict[@".tag"] = @"file_delete"; - } else if ([valueObj isFileDownload]) { - jsonDict[@".tag"] = @"file_download"; - } else if ([valueObj isFileEdit]) { - jsonDict[@".tag"] = @"file_edit"; - } else if ([valueObj isFileGetCopyReference]) { - jsonDict[@".tag"] = @"file_get_copy_reference"; - } else if ([valueObj isFileMove]) { - jsonDict[@".tag"] = @"file_move"; - } else if ([valueObj isFilePermanentlyDelete]) { - jsonDict[@".tag"] = @"file_permanently_delete"; - } else if ([valueObj isFilePreview]) { - jsonDict[@".tag"] = @"file_preview"; - } else if ([valueObj isFileRename]) { - jsonDict[@".tag"] = @"file_rename"; - } else if ([valueObj isFileRestore]) { - jsonDict[@".tag"] = @"file_restore"; - } else if ([valueObj isFileRevert]) { - jsonDict[@".tag"] = @"file_revert"; - } else if ([valueObj isFileRollbackChanges]) { - jsonDict[@".tag"] = @"file_rollback_changes"; - } else if ([valueObj isFileSaveCopyReference]) { - jsonDict[@".tag"] = @"file_save_copy_reference"; - } else if ([valueObj isFileRequestAddDeadline]) { - jsonDict[@".tag"] = @"file_request_add_deadline"; - } else if ([valueObj isFileRequestChange]) { - jsonDict[@".tag"] = @"file_request_change"; - } else if ([valueObj isFileRequestChangeFolder]) { - jsonDict[@".tag"] = @"file_request_change_folder"; - } else if ([valueObj isFileRequestClose]) { - jsonDict[@".tag"] = @"file_request_close"; - } else if ([valueObj isFileRequestCreate]) { - jsonDict[@".tag"] = @"file_request_create"; - } else if ([valueObj isFileRequestReceiveFile]) { - jsonDict[@".tag"] = @"file_request_receive_file"; - } else if ([valueObj isFileRequestRemoveDeadline]) { - jsonDict[@".tag"] = @"file_request_remove_deadline"; - } else if ([valueObj isFileRequestSend]) { - jsonDict[@".tag"] = @"file_request_send"; - } else if ([valueObj isGroupAddExternalId]) { - jsonDict[@".tag"] = @"group_add_external_id"; - } else if ([valueObj isGroupAddMember]) { - jsonDict[@".tag"] = @"group_add_member"; - } else if ([valueObj isGroupChangeExternalId]) { - jsonDict[@".tag"] = @"group_change_external_id"; - } else if ([valueObj isGroupChangeManagementType]) { - jsonDict[@".tag"] = @"group_change_management_type"; - } else if ([valueObj isGroupChangeMemberRole]) { - jsonDict[@".tag"] = @"group_change_member_role"; - } else if ([valueObj isGroupCreate]) { - jsonDict[@".tag"] = @"group_create"; - } else if ([valueObj isGroupDelete]) { - jsonDict[@".tag"] = @"group_delete"; - } else if ([valueObj isGroupMoved]) { - jsonDict[@".tag"] = @"group_moved"; - } else if ([valueObj isGroupRemoveExternalId]) { - jsonDict[@".tag"] = @"group_remove_external_id"; - } else if ([valueObj isGroupRemoveMember]) { - jsonDict[@".tag"] = @"group_remove_member"; - } else if ([valueObj isGroupRename]) { - jsonDict[@".tag"] = @"group_rename"; - } else if ([valueObj isEmmError]) { - jsonDict[@".tag"] = @"emm_error"; - } else if ([valueObj isLoginFail]) { - jsonDict[@".tag"] = @"login_fail"; - } else if ([valueObj isLoginSuccess]) { - jsonDict[@".tag"] = @"login_success"; - } else if ([valueObj isLogout]) { - jsonDict[@".tag"] = @"logout"; - } else if ([valueObj isResellerSupportSessionEnd]) { - jsonDict[@".tag"] = @"reseller_support_session_end"; - } else if ([valueObj isResellerSupportSessionStart]) { - jsonDict[@".tag"] = @"reseller_support_session_start"; - } else if ([valueObj isSignInAsSessionEnd]) { - jsonDict[@".tag"] = @"sign_in_as_session_end"; - } else if ([valueObj isSignInAsSessionStart]) { - jsonDict[@".tag"] = @"sign_in_as_session_start"; - } else if ([valueObj isSsoError]) { - jsonDict[@".tag"] = @"sso_error"; - } else if ([valueObj isMemberAddName]) { - jsonDict[@".tag"] = @"member_add_name"; - } else if ([valueObj isMemberChangeAdminRole]) { - jsonDict[@".tag"] = @"member_change_admin_role"; - } else if ([valueObj isMemberChangeEmail]) { - jsonDict[@".tag"] = @"member_change_email"; - } else if ([valueObj isMemberChangeName]) { - jsonDict[@".tag"] = @"member_change_name"; - } else if ([valueObj isMemberChangeStatus]) { - jsonDict[@".tag"] = @"member_change_status"; - } else if ([valueObj isMemberSuggest]) { - jsonDict[@".tag"] = @"member_suggest"; - } else if ([valueObj isPaperContentAddMember]) { - jsonDict[@".tag"] = @"paper_content_add_member"; - } else if ([valueObj isPaperContentAddToFolder]) { - jsonDict[@".tag"] = @"paper_content_add_to_folder"; - } else if ([valueObj isPaperContentArchive]) { - jsonDict[@".tag"] = @"paper_content_archive"; - } else if ([valueObj isPaperContentCreate]) { - jsonDict[@".tag"] = @"paper_content_create"; - } else if ([valueObj isPaperContentPermanentlyDelete]) { - jsonDict[@".tag"] = @"paper_content_permanently_delete"; - } else if ([valueObj isPaperContentRemoveFromFolder]) { - jsonDict[@".tag"] = @"paper_content_remove_from_folder"; - } else if ([valueObj isPaperContentRemoveMember]) { - jsonDict[@".tag"] = @"paper_content_remove_member"; - } else if ([valueObj isPaperContentRename]) { - jsonDict[@".tag"] = @"paper_content_rename"; - } else if ([valueObj isPaperContentRestore]) { - jsonDict[@".tag"] = @"paper_content_restore"; - } else if ([valueObj isPaperDocAddComment]) { - jsonDict[@".tag"] = @"paper_doc_add_comment"; - } else if ([valueObj isPaperDocChangeMemberRole]) { - jsonDict[@".tag"] = @"paper_doc_change_member_role"; - } else if ([valueObj isPaperDocChangeSharingPolicy]) { - jsonDict[@".tag"] = @"paper_doc_change_sharing_policy"; - } else if ([valueObj isPaperDocChangeSubscription]) { - jsonDict[@".tag"] = @"paper_doc_change_subscription"; - } else if ([valueObj isPaperDocDeleted]) { - jsonDict[@".tag"] = @"paper_doc_deleted"; - } else if ([valueObj isPaperDocDeleteComment]) { - jsonDict[@".tag"] = @"paper_doc_delete_comment"; - } else if ([valueObj isPaperDocDownload]) { - jsonDict[@".tag"] = @"paper_doc_download"; - } else if ([valueObj isPaperDocEdit]) { - jsonDict[@".tag"] = @"paper_doc_edit"; - } else if ([valueObj isPaperDocEditComment]) { - jsonDict[@".tag"] = @"paper_doc_edit_comment"; - } else if ([valueObj isPaperDocFollowed]) { - jsonDict[@".tag"] = @"paper_doc_followed"; - } else if ([valueObj isPaperDocMention]) { - jsonDict[@".tag"] = @"paper_doc_mention"; - } else if ([valueObj isPaperDocRequestAccess]) { - jsonDict[@".tag"] = @"paper_doc_request_access"; - } else if ([valueObj isPaperDocResolveComment]) { - jsonDict[@".tag"] = @"paper_doc_resolve_comment"; - } else if ([valueObj isPaperDocRevert]) { - jsonDict[@".tag"] = @"paper_doc_revert"; - } else if ([valueObj isPaperDocSlackShare]) { - jsonDict[@".tag"] = @"paper_doc_slack_share"; - } else if ([valueObj isPaperDocTeamInvite]) { - jsonDict[@".tag"] = @"paper_doc_team_invite"; - } else if ([valueObj isPaperDocTrashed]) { - jsonDict[@".tag"] = @"paper_doc_trashed"; - } else if ([valueObj isPaperDocUnresolveComment]) { - jsonDict[@".tag"] = @"paper_doc_unresolve_comment"; - } else if ([valueObj isPaperDocUntrashed]) { - jsonDict[@".tag"] = @"paper_doc_untrashed"; - } else if ([valueObj isPaperDocView]) { - jsonDict[@".tag"] = @"paper_doc_view"; - } else if ([valueObj isPaperFolderChangeSubscription]) { - jsonDict[@".tag"] = @"paper_folder_change_subscription"; - } else if ([valueObj isPaperFolderDeleted]) { - jsonDict[@".tag"] = @"paper_folder_deleted"; - } else if ([valueObj isPaperFolderFollowed]) { - jsonDict[@".tag"] = @"paper_folder_followed"; - } else if ([valueObj isPaperFolderTeamInvite]) { - jsonDict[@".tag"] = @"paper_folder_team_invite"; - } else if ([valueObj isPasswordChange]) { - jsonDict[@".tag"] = @"password_change"; - } else if ([valueObj isPasswordReset]) { - jsonDict[@".tag"] = @"password_reset"; - } else if ([valueObj isPasswordResetAll]) { - jsonDict[@".tag"] = @"password_reset_all"; - } else if ([valueObj isEmmCreateExceptionsReport]) { - jsonDict[@".tag"] = @"emm_create_exceptions_report"; - } else if ([valueObj isEmmCreateUsageReport]) { - jsonDict[@".tag"] = @"emm_create_usage_report"; - } else if ([valueObj isSmartSyncCreateAdminPrivilegeReport]) { - jsonDict[@".tag"] = @"smart_sync_create_admin_privilege_report"; - } else if ([valueObj isTeamActivityCreateReport]) { - jsonDict[@".tag"] = @"team_activity_create_report"; - } else if ([valueObj isCollectionShare]) { - jsonDict[@".tag"] = @"collection_share"; - } else if ([valueObj isNoteAclInviteOnly]) { - jsonDict[@".tag"] = @"note_acl_invite_only"; - } else if ([valueObj isNoteAclLink]) { - jsonDict[@".tag"] = @"note_acl_link"; - } else if ([valueObj isNoteAclTeamLink]) { - jsonDict[@".tag"] = @"note_acl_team_link"; - } else if ([valueObj isNoteShared]) { - jsonDict[@".tag"] = @"note_shared"; - } else if ([valueObj isNoteShareReceive]) { - jsonDict[@".tag"] = @"note_share_receive"; - } else if ([valueObj isOpenNoteShared]) { - jsonDict[@".tag"] = @"open_note_shared"; - } else if ([valueObj isSfAddGroup]) { - jsonDict[@".tag"] = @"sf_add_group"; - } else if ([valueObj isSfAllowNonMembersToViewSharedLinks]) { - jsonDict[@".tag"] = @"sf_allow_non_members_to_view_shared_links"; - } else if ([valueObj isSfInviteGroup]) { - jsonDict[@".tag"] = @"sf_invite_group"; - } else if ([valueObj isSfNest]) { - jsonDict[@".tag"] = @"sf_nest"; - } else if ([valueObj isSfTeamDecline]) { - jsonDict[@".tag"] = @"sf_team_decline"; - } else if ([valueObj isSfTeamGrantAccess]) { - jsonDict[@".tag"] = @"sf_team_grant_access"; - } else if ([valueObj isSfTeamInvite]) { - jsonDict[@".tag"] = @"sf_team_invite"; - } else if ([valueObj isSfTeamInviteChangeRole]) { - jsonDict[@".tag"] = @"sf_team_invite_change_role"; - } else if ([valueObj isSfTeamJoin]) { - jsonDict[@".tag"] = @"sf_team_join"; - } else if ([valueObj isSfTeamJoinFromOobLink]) { - jsonDict[@".tag"] = @"sf_team_join_from_oob_link"; - } else if ([valueObj isSfTeamUninvite]) { - jsonDict[@".tag"] = @"sf_team_uninvite"; - } else if ([valueObj isSharedContentAddInvitees]) { - jsonDict[@".tag"] = @"shared_content_add_invitees"; - } else if ([valueObj isSharedContentAddLinkExpiry]) { - jsonDict[@".tag"] = @"shared_content_add_link_expiry"; - } else if ([valueObj isSharedContentAddLinkPassword]) { - jsonDict[@".tag"] = @"shared_content_add_link_password"; - } else if ([valueObj isSharedContentAddMember]) { - jsonDict[@".tag"] = @"shared_content_add_member"; - } else if ([valueObj isSharedContentChangeDownloadsPolicy]) { - jsonDict[@".tag"] = @"shared_content_change_downloads_policy"; - } else if ([valueObj isSharedContentChangeInviteeRole]) { - jsonDict[@".tag"] = @"shared_content_change_invitee_role"; - } else if ([valueObj isSharedContentChangeLinkAudience]) { - jsonDict[@".tag"] = @"shared_content_change_link_audience"; - } else if ([valueObj isSharedContentChangeLinkExpiry]) { - jsonDict[@".tag"] = @"shared_content_change_link_expiry"; - } else if ([valueObj isSharedContentChangeLinkPassword]) { - jsonDict[@".tag"] = @"shared_content_change_link_password"; - } else if ([valueObj isSharedContentChangeMemberRole]) { - jsonDict[@".tag"] = @"shared_content_change_member_role"; - } else if ([valueObj isSharedContentChangeViewerInfoPolicy]) { - jsonDict[@".tag"] = @"shared_content_change_viewer_info_policy"; - } else if ([valueObj isSharedContentClaimInvitation]) { - jsonDict[@".tag"] = @"shared_content_claim_invitation"; - } else if ([valueObj isSharedContentCopy]) { - jsonDict[@".tag"] = @"shared_content_copy"; - } else if ([valueObj isSharedContentDownload]) { - jsonDict[@".tag"] = @"shared_content_download"; - } else if ([valueObj isSharedContentRelinquishMembership]) { - jsonDict[@".tag"] = @"shared_content_relinquish_membership"; - } else if ([valueObj isSharedContentRemoveInvitee]) { - jsonDict[@".tag"] = @"shared_content_remove_invitee"; - } else if ([valueObj isSharedContentRemoveLinkExpiry]) { - jsonDict[@".tag"] = @"shared_content_remove_link_expiry"; - } else if ([valueObj isSharedContentRemoveLinkPassword]) { - jsonDict[@".tag"] = @"shared_content_remove_link_password"; - } else if ([valueObj isSharedContentRemoveMember]) { - jsonDict[@".tag"] = @"shared_content_remove_member"; - } else if ([valueObj isSharedContentRequestAccess]) { - jsonDict[@".tag"] = @"shared_content_request_access"; - } else if ([valueObj isSharedContentUnshare]) { - jsonDict[@".tag"] = @"shared_content_unshare"; - } else if ([valueObj isSharedContentView]) { - jsonDict[@".tag"] = @"shared_content_view"; - } else if ([valueObj isSharedFolderChangeConfidentiality]) { - jsonDict[@".tag"] = @"shared_folder_change_confidentiality"; - } else if ([valueObj isSharedFolderChangeLinkPolicy]) { - jsonDict[@".tag"] = @"shared_folder_change_link_policy"; - } else if ([valueObj isSharedFolderChangeMemberManagementPolicy]) { - jsonDict[@".tag"] = @"shared_folder_change_member_management_policy"; - } else if ([valueObj isSharedFolderChangeMemberPolicy]) { - jsonDict[@".tag"] = @"shared_folder_change_member_policy"; - } else if ([valueObj isSharedFolderCreate]) { - jsonDict[@".tag"] = @"shared_folder_create"; - } else if ([valueObj isSharedFolderMount]) { - jsonDict[@".tag"] = @"shared_folder_mount"; - } else if ([valueObj isSharedFolderTransferOwnership]) { - jsonDict[@".tag"] = @"shared_folder_transfer_ownership"; - } else if ([valueObj isSharedFolderUnmount]) { - jsonDict[@".tag"] = @"shared_folder_unmount"; - } else if ([valueObj isSharedNoteOpened]) { - jsonDict[@".tag"] = @"shared_note_opened"; - } else if ([valueObj isShmodelAppCreate]) { - jsonDict[@".tag"] = @"shmodel_app_create"; - } else if ([valueObj isShmodelCreate]) { - jsonDict[@".tag"] = @"shmodel_create"; - } else if ([valueObj isShmodelDisable]) { - jsonDict[@".tag"] = @"shmodel_disable"; - } else if ([valueObj isShmodelFbShare]) { - jsonDict[@".tag"] = @"shmodel_fb_share"; - } else if ([valueObj isShmodelGroupShare]) { - jsonDict[@".tag"] = @"shmodel_group_share"; - } else if ([valueObj isShmodelRemoveExpiration]) { - jsonDict[@".tag"] = @"shmodel_remove_expiration"; - } else if ([valueObj isShmodelSetExpiration]) { - jsonDict[@".tag"] = @"shmodel_set_expiration"; - } else if ([valueObj isShmodelTeamCopy]) { - jsonDict[@".tag"] = @"shmodel_team_copy"; - } else if ([valueObj isShmodelTeamDownload]) { - jsonDict[@".tag"] = @"shmodel_team_download"; - } else if ([valueObj isShmodelTeamShare]) { - jsonDict[@".tag"] = @"shmodel_team_share"; - } else if ([valueObj isShmodelTeamView]) { - jsonDict[@".tag"] = @"shmodel_team_view"; - } else if ([valueObj isShmodelVisibilityPassword]) { - jsonDict[@".tag"] = @"shmodel_visibility_password"; - } else if ([valueObj isShmodelVisibilityPublic]) { - jsonDict[@".tag"] = @"shmodel_visibility_public"; - } else if ([valueObj isShmodelVisibilityTeamOnly]) { - jsonDict[@".tag"] = @"shmodel_visibility_team_only"; - } else if ([valueObj isSsoAddCert]) { - jsonDict[@".tag"] = @"sso_add_cert"; - } else if ([valueObj isSsoAddLoginUrl]) { - jsonDict[@".tag"] = @"sso_add_login_url"; - } else if ([valueObj isSsoAddLogoutUrl]) { - jsonDict[@".tag"] = @"sso_add_logout_url"; - } else if ([valueObj isSsoChangeCert]) { - jsonDict[@".tag"] = @"sso_change_cert"; - } else if ([valueObj isSsoChangeLoginUrl]) { - jsonDict[@".tag"] = @"sso_change_login_url"; - } else if ([valueObj isSsoChangeLogoutUrl]) { - jsonDict[@".tag"] = @"sso_change_logout_url"; - } else if ([valueObj isSsoChangeSamlIdentityMode]) { - jsonDict[@".tag"] = @"sso_change_saml_identity_mode"; - } else if ([valueObj isSsoRemoveCert]) { - jsonDict[@".tag"] = @"sso_remove_cert"; - } else if ([valueObj isSsoRemoveLoginUrl]) { - jsonDict[@".tag"] = @"sso_remove_login_url"; - } else if ([valueObj isSsoRemoveLogoutUrl]) { - jsonDict[@".tag"] = @"sso_remove_logout_url"; - } else if ([valueObj isTeamFolderChangeStatus]) { - jsonDict[@".tag"] = @"team_folder_change_status"; - } else if ([valueObj isTeamFolderCreate]) { - jsonDict[@".tag"] = @"team_folder_create"; - } else if ([valueObj isTeamFolderDowngrade]) { - jsonDict[@".tag"] = @"team_folder_downgrade"; - } else if ([valueObj isTeamFolderPermanentlyDelete]) { - jsonDict[@".tag"] = @"team_folder_permanently_delete"; - } else if ([valueObj isTeamFolderRename]) { - jsonDict[@".tag"] = @"team_folder_rename"; - } else if ([valueObj isAccountCaptureChangePolicy]) { - jsonDict[@".tag"] = @"account_capture_change_policy"; - } else if ([valueObj isAllowDownloadDisabled]) { - jsonDict[@".tag"] = @"allow_download_disabled"; - } else if ([valueObj isAllowDownloadEnabled]) { - jsonDict[@".tag"] = @"allow_download_enabled"; - } else if ([valueObj isDataPlacementRestrictionChangePolicy]) { - jsonDict[@".tag"] = @"data_placement_restriction_change_policy"; - } else if ([valueObj isDataPlacementRestrictionSatisfyPolicy]) { - jsonDict[@".tag"] = @"data_placement_restriction_satisfy_policy"; - } else if ([valueObj isDeviceApprovalsChangeDesktopPolicy]) { - jsonDict[@".tag"] = @"device_approvals_change_desktop_policy"; - } else if ([valueObj isDeviceApprovalsChangeMobilePolicy]) { - jsonDict[@".tag"] = @"device_approvals_change_mobile_policy"; - } else if ([valueObj isDeviceApprovalsChangeOverageAction]) { - jsonDict[@".tag"] = @"device_approvals_change_overage_action"; - } else if ([valueObj isDeviceApprovalsChangeUnlinkAction]) { - jsonDict[@".tag"] = @"device_approvals_change_unlink_action"; - } else if ([valueObj isEmmAddException]) { - jsonDict[@".tag"] = @"emm_add_exception"; - } else if ([valueObj isEmmChangePolicy]) { - jsonDict[@".tag"] = @"emm_change_policy"; - } else if ([valueObj isEmmRemoveException]) { - jsonDict[@".tag"] = @"emm_remove_exception"; - } else if ([valueObj isExtendedVersionHistoryChangePolicy]) { - jsonDict[@".tag"] = @"extended_version_history_change_policy"; - } else if ([valueObj isFileCommentsChangePolicy]) { - jsonDict[@".tag"] = @"file_comments_change_policy"; - } else if ([valueObj isFileRequestsChangePolicy]) { - jsonDict[@".tag"] = @"file_requests_change_policy"; - } else if ([valueObj isFileRequestsEmailsEnabled]) { - jsonDict[@".tag"] = @"file_requests_emails_enabled"; - } else if ([valueObj isFileRequestsEmailsRestrictedToTeamOnly]) { - jsonDict[@".tag"] = @"file_requests_emails_restricted_to_team_only"; - } else if ([valueObj isGoogleSsoChangePolicy]) { - jsonDict[@".tag"] = @"google_sso_change_policy"; - } else if ([valueObj isGroupUserManagementChangePolicy]) { - jsonDict[@".tag"] = @"group_user_management_change_policy"; - } else if ([valueObj isMemberRequestsChangePolicy]) { - jsonDict[@".tag"] = @"member_requests_change_policy"; - } else if ([valueObj isMemberSpaceLimitsAddException]) { - jsonDict[@".tag"] = @"member_space_limits_add_exception"; - } else if ([valueObj isMemberSpaceLimitsChangePolicy]) { - jsonDict[@".tag"] = @"member_space_limits_change_policy"; - } else if ([valueObj isMemberSpaceLimitsRemoveException]) { - jsonDict[@".tag"] = @"member_space_limits_remove_exception"; - } else if ([valueObj isMemberSuggestionsChangePolicy]) { - jsonDict[@".tag"] = @"member_suggestions_change_policy"; - } else if ([valueObj isMicrosoftOfficeAddinChangePolicy]) { - jsonDict[@".tag"] = @"microsoft_office_addin_change_policy"; - } else if ([valueObj isNetworkControlChangePolicy]) { - jsonDict[@".tag"] = @"network_control_change_policy"; - } else if ([valueObj isPaperChangeDeploymentPolicy]) { - jsonDict[@".tag"] = @"paper_change_deployment_policy"; - } else if ([valueObj isPaperChangeMemberLinkPolicy]) { - jsonDict[@".tag"] = @"paper_change_member_link_policy"; - } else if ([valueObj isPaperChangeMemberPolicy]) { - jsonDict[@".tag"] = @"paper_change_member_policy"; - } else if ([valueObj isPaperChangePolicy]) { - jsonDict[@".tag"] = @"paper_change_policy"; - } else if ([valueObj isPermanentDeleteChangePolicy]) { - jsonDict[@".tag"] = @"permanent_delete_change_policy"; - } else if ([valueObj isSharingChangeFolderJoinPolicy]) { - jsonDict[@".tag"] = @"sharing_change_folder_join_policy"; - } else if ([valueObj isSharingChangeLinkPolicy]) { - jsonDict[@".tag"] = @"sharing_change_link_policy"; - } else if ([valueObj isSharingChangeMemberPolicy]) { - jsonDict[@".tag"] = @"sharing_change_member_policy"; - } else if ([valueObj isSmartSyncChangePolicy]) { - jsonDict[@".tag"] = @"smart_sync_change_policy"; - } else if ([valueObj isSmartSyncNotOptOut]) { - jsonDict[@".tag"] = @"smart_sync_not_opt_out"; - } else if ([valueObj isSmartSyncOptOut]) { - jsonDict[@".tag"] = @"smart_sync_opt_out"; - } else if ([valueObj isSsoChangePolicy]) { - jsonDict[@".tag"] = @"sso_change_policy"; - } else if ([valueObj isTfaChangePolicy]) { - jsonDict[@".tag"] = @"tfa_change_policy"; - } else if ([valueObj isTwoAccountChangePolicy]) { - jsonDict[@".tag"] = @"two_account_change_policy"; - } else if ([valueObj isWebSessionsChangeFixedLengthPolicy]) { - jsonDict[@".tag"] = @"web_sessions_change_fixed_length_policy"; - } else if ([valueObj isWebSessionsChangeIdleLengthPolicy]) { - jsonDict[@".tag"] = @"web_sessions_change_idle_length_policy"; - } else if ([valueObj isTeamProfileAddLogo]) { - jsonDict[@".tag"] = @"team_profile_add_logo"; - } else if ([valueObj isTeamProfileChangeDefaultLanguage]) { - jsonDict[@".tag"] = @"team_profile_change_default_language"; - } else if ([valueObj isTeamProfileChangeLogo]) { - jsonDict[@".tag"] = @"team_profile_change_logo"; - } else if ([valueObj isTeamProfileChangeName]) { - jsonDict[@".tag"] = @"team_profile_change_name"; - } else if ([valueObj isTeamProfileRemoveLogo]) { - jsonDict[@".tag"] = @"team_profile_remove_logo"; - } else if ([valueObj isTfaAddBackupPhone]) { - jsonDict[@".tag"] = @"tfa_add_backup_phone"; - } else if ([valueObj isTfaAddSecurityKey]) { - jsonDict[@".tag"] = @"tfa_add_security_key"; - } else if ([valueObj isTfaChangeBackupPhone]) { - jsonDict[@".tag"] = @"tfa_change_backup_phone"; - } else if ([valueObj isTfaChangeStatus]) { - jsonDict[@".tag"] = @"tfa_change_status"; - } else if ([valueObj isTfaRemoveBackupPhone]) { - jsonDict[@".tag"] = @"tfa_remove_backup_phone"; - } else if ([valueObj isTfaRemoveSecurityKey]) { - jsonDict[@".tag"] = @"tfa_remove_security_key"; - } else if ([valueObj isTfaReset]) { - jsonDict[@".tag"] = @"tfa_reset"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + dNewValue:(DBSHARINGLinkAudience *)dNewValue + sharedContentLink:(NSString *)sharedContentLink + previousValue:(DBSHARINGLinkAudience *)previousValue { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + _dNewValue = dNewValue; + _previousValue = previousValue; } + return self; +} - return [jsonDict count] > 0 ? jsonDict : nil; +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + dNewValue:(DBSHARINGLinkAudience *)dNewValue { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel + dNewValue:dNewValue + sharedContentLink:nil + previousValue:nil]; } -+ (DBTEAMLOGEventType *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; +#pragma mark - Serialization methods - if ([tag isEqualToString:@"member_change_membership_type"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberChangeMembershipType]; - } else if ([tag isEqualToString:@"member_permanently_delete_account_contents"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberPermanentlyDeleteAccountContents]; - } else if ([tag isEqualToString:@"member_space_limits_change_status"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsChangeStatus]; - } else if ([tag isEqualToString:@"member_transfer_account_contents"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberTransferAccountContents]; - } else if ([tag isEqualToString:@"paper_admin_export_start"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperAdminExportStart]; - } else if ([tag isEqualToString:@"paper_enabled_users_group_addition"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperEnabledUsersGroupAddition]; - } else if ([tag isEqualToString:@"paper_enabled_users_group_removal"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperEnabledUsersGroupRemoval]; - } else if ([tag isEqualToString:@"paper_external_view_allow"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewAllow]; - } else if ([tag isEqualToString:@"paper_external_view_default_team"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewDefaultTeam]; - } else if ([tag isEqualToString:@"paper_external_view_forbid"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperExternalViewForbid]; - } else if ([tag isEqualToString:@"sf_external_invite_warn"]) { - return [[DBTEAMLOGEventType alloc] initWithSfExternalInviteWarn]; - } else if ([tag isEqualToString:@"team_merge_from"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamMergeFrom]; - } else if ([tag isEqualToString:@"team_merge_to"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamMergeTo]; - } else if ([tag isEqualToString:@"app_link_team"]) { - return [[DBTEAMLOGEventType alloc] initWithAppLinkTeam]; - } else if ([tag isEqualToString:@"app_link_user"]) { - return [[DBTEAMLOGEventType alloc] initWithAppLinkUser]; - } else if ([tag isEqualToString:@"app_unlink_team"]) { - return [[DBTEAMLOGEventType alloc] initWithAppUnlinkTeam]; - } else if ([tag isEqualToString:@"app_unlink_user"]) { - return [[DBTEAMLOGEventType alloc] initWithAppUnlinkUser]; - } else if ([tag isEqualToString:@"file_add_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileAddComment]; - } else if ([tag isEqualToString:@"file_change_comment_subscription"]) { - return [[DBTEAMLOGEventType alloc] initWithFileChangeCommentSubscription]; - } else if ([tag isEqualToString:@"file_delete_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileDeleteComment]; - } else if ([tag isEqualToString:@"file_like_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileLikeComment]; - } else if ([tag isEqualToString:@"file_resolve_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileResolveComment]; - } else if ([tag isEqualToString:@"file_unlike_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileUnlikeComment]; - } else if ([tag isEqualToString:@"file_unresolve_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithFileUnresolveComment]; - } else if ([tag isEqualToString:@"device_change_ip_desktop"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpDesktop]; - } else if ([tag isEqualToString:@"device_change_ip_mobile"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpMobile]; - } else if ([tag isEqualToString:@"device_change_ip_web"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceChangeIpWeb]; - } else if ([tag isEqualToString:@"device_delete_on_unlink_fail"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceDeleteOnUnlinkFail]; - } else if ([tag isEqualToString:@"device_delete_on_unlink_success"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceDeleteOnUnlinkSuccess]; - } else if ([tag isEqualToString:@"device_link_fail"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceLinkFail]; - } else if ([tag isEqualToString:@"device_link_success"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceLinkSuccess]; - } else if ([tag isEqualToString:@"device_management_disabled"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceManagementDisabled]; - } else if ([tag isEqualToString:@"device_management_enabled"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceManagementEnabled]; - } else if ([tag isEqualToString:@"device_unlink"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceUnlink]; - } else if ([tag isEqualToString:@"emm_refresh_auth_token"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmRefreshAuthToken]; - } else if ([tag isEqualToString:@"account_capture_change_availability"]) { - return [[DBTEAMLOGEventType alloc] initWithAccountCaptureChangeAvailability]; - } else if ([tag isEqualToString:@"account_capture_migrate_account"]) { - return [[DBTEAMLOGEventType alloc] initWithAccountCaptureMigrateAccount]; - } else if ([tag isEqualToString:@"account_capture_relinquish_account"]) { - return [[DBTEAMLOGEventType alloc] initWithAccountCaptureRelinquishAccount]; - } else if ([tag isEqualToString:@"disabled_domain_invites"]) { - return [[DBTEAMLOGEventType alloc] initWithDisabledDomainInvites]; - } else if ([tag isEqualToString:@"domain_invites_approve_request_to_join_team"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesApproveRequestToJoinTeam]; - } else if ([tag isEqualToString:@"domain_invites_decline_request_to_join_team"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesDeclineRequestToJoinTeam]; - } else if ([tag isEqualToString:@"domain_invites_email_existing_users"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesEmailExistingUsers]; - } else if ([tag isEqualToString:@"domain_invites_request_to_join_team"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesRequestToJoinTeam]; - } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_no"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesSetInviteNewUserPrefToNo]; - } else if ([tag isEqualToString:@"domain_invites_set_invite_new_user_pref_to_yes"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainInvitesSetInviteNewUserPrefToYes]; - } else if ([tag isEqualToString:@"domain_verification_add_domain_fail"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainVerificationAddDomainFail]; - } else if ([tag isEqualToString:@"domain_verification_add_domain_success"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainVerificationAddDomainSuccess]; - } else if ([tag isEqualToString:@"domain_verification_remove_domain"]) { - return [[DBTEAMLOGEventType alloc] initWithDomainVerificationRemoveDomain]; - } else if ([tag isEqualToString:@"enabled_domain_invites"]) { - return [[DBTEAMLOGEventType alloc] initWithEnabledDomainInvites]; - } else if ([tag isEqualToString:@"create_folder"]) { - return [[DBTEAMLOGEventType alloc] initWithCreateFolder]; - } else if ([tag isEqualToString:@"file_add"]) { - return [[DBTEAMLOGEventType alloc] initWithFileAdd]; - } else if ([tag isEqualToString:@"file_copy"]) { - return [[DBTEAMLOGEventType alloc] initWithFileCopy]; - } else if ([tag isEqualToString:@"file_delete"]) { - return [[DBTEAMLOGEventType alloc] initWithFileDelete]; - } else if ([tag isEqualToString:@"file_download"]) { - return [[DBTEAMLOGEventType alloc] initWithFileDownload]; - } else if ([tag isEqualToString:@"file_edit"]) { - return [[DBTEAMLOGEventType alloc] initWithFileEdit]; - } else if ([tag isEqualToString:@"file_get_copy_reference"]) { - return [[DBTEAMLOGEventType alloc] initWithFileGetCopyReference]; - } else if ([tag isEqualToString:@"file_move"]) { - return [[DBTEAMLOGEventType alloc] initWithFileMove]; - } else if ([tag isEqualToString:@"file_permanently_delete"]) { - return [[DBTEAMLOGEventType alloc] initWithFilePermanentlyDelete]; - } else if ([tag isEqualToString:@"file_preview"]) { - return [[DBTEAMLOGEventType alloc] initWithFilePreview]; - } else if ([tag isEqualToString:@"file_rename"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRename]; - } else if ([tag isEqualToString:@"file_restore"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRestore]; - } else if ([tag isEqualToString:@"file_revert"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRevert]; - } else if ([tag isEqualToString:@"file_rollback_changes"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRollbackChanges]; - } else if ([tag isEqualToString:@"file_save_copy_reference"]) { - return [[DBTEAMLOGEventType alloc] initWithFileSaveCopyReference]; - } else if ([tag isEqualToString:@"file_request_add_deadline"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestAddDeadline]; - } else if ([tag isEqualToString:@"file_request_change"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestChange]; - } else if ([tag isEqualToString:@"file_request_change_folder"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestChangeFolder]; - } else if ([tag isEqualToString:@"file_request_close"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestClose]; - } else if ([tag isEqualToString:@"file_request_create"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestCreate]; - } else if ([tag isEqualToString:@"file_request_receive_file"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestReceiveFile]; - } else if ([tag isEqualToString:@"file_request_remove_deadline"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestRemoveDeadline]; - } else if ([tag isEqualToString:@"file_request_send"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestSend]; - } else if ([tag isEqualToString:@"group_add_external_id"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupAddExternalId]; - } else if ([tag isEqualToString:@"group_add_member"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupAddMember]; - } else if ([tag isEqualToString:@"group_change_external_id"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupChangeExternalId]; - } else if ([tag isEqualToString:@"group_change_management_type"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupChangeManagementType]; - } else if ([tag isEqualToString:@"group_change_member_role"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupChangeMemberRole]; - } else if ([tag isEqualToString:@"group_create"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupCreate]; - } else if ([tag isEqualToString:@"group_delete"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupDelete]; - } else if ([tag isEqualToString:@"group_moved"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupMoved]; - } else if ([tag isEqualToString:@"group_remove_external_id"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupRemoveExternalId]; - } else if ([tag isEqualToString:@"group_remove_member"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupRemoveMember]; - } else if ([tag isEqualToString:@"group_rename"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupRename]; - } else if ([tag isEqualToString:@"emm_error"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmError]; - } else if ([tag isEqualToString:@"login_fail"]) { - return [[DBTEAMLOGEventType alloc] initWithLoginFail]; - } else if ([tag isEqualToString:@"login_success"]) { - return [[DBTEAMLOGEventType alloc] initWithLoginSuccess]; - } else if ([tag isEqualToString:@"logout"]) { - return [[DBTEAMLOGEventType alloc] initWithLogout]; - } else if ([tag isEqualToString:@"reseller_support_session_end"]) { - return [[DBTEAMLOGEventType alloc] initWithResellerSupportSessionEnd]; - } else if ([tag isEqualToString:@"reseller_support_session_start"]) { - return [[DBTEAMLOGEventType alloc] initWithResellerSupportSessionStart]; - } else if ([tag isEqualToString:@"sign_in_as_session_end"]) { - return [[DBTEAMLOGEventType alloc] initWithSignInAsSessionEnd]; - } else if ([tag isEqualToString:@"sign_in_as_session_start"]) { - return [[DBTEAMLOGEventType alloc] initWithSignInAsSessionStart]; - } else if ([tag isEqualToString:@"sso_error"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoError]; - } else if ([tag isEqualToString:@"member_add_name"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberAddName]; - } else if ([tag isEqualToString:@"member_change_admin_role"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberChangeAdminRole]; - } else if ([tag isEqualToString:@"member_change_email"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberChangeEmail]; - } else if ([tag isEqualToString:@"member_change_name"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberChangeName]; - } else if ([tag isEqualToString:@"member_change_status"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberChangeStatus]; - } else if ([tag isEqualToString:@"member_suggest"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSuggest]; - } else if ([tag isEqualToString:@"paper_content_add_member"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentAddMember]; - } else if ([tag isEqualToString:@"paper_content_add_to_folder"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentAddToFolder]; - } else if ([tag isEqualToString:@"paper_content_archive"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentArchive]; - } else if ([tag isEqualToString:@"paper_content_create"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentCreate]; - } else if ([tag isEqualToString:@"paper_content_permanently_delete"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentPermanentlyDelete]; - } else if ([tag isEqualToString:@"paper_content_remove_from_folder"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentRemoveFromFolder]; - } else if ([tag isEqualToString:@"paper_content_remove_member"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentRemoveMember]; - } else if ([tag isEqualToString:@"paper_content_rename"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentRename]; - } else if ([tag isEqualToString:@"paper_content_restore"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperContentRestore]; - } else if ([tag isEqualToString:@"paper_doc_add_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocAddComment]; - } else if ([tag isEqualToString:@"paper_doc_change_member_role"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeMemberRole]; - } else if ([tag isEqualToString:@"paper_doc_change_sharing_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeSharingPolicy]; - } else if ([tag isEqualToString:@"paper_doc_change_subscription"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocChangeSubscription]; - } else if ([tag isEqualToString:@"paper_doc_deleted"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocDeleted]; - } else if ([tag isEqualToString:@"paper_doc_delete_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocDeleteComment]; - } else if ([tag isEqualToString:@"paper_doc_download"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocDownload]; - } else if ([tag isEqualToString:@"paper_doc_edit"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocEdit]; - } else if ([tag isEqualToString:@"paper_doc_edit_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocEditComment]; - } else if ([tag isEqualToString:@"paper_doc_followed"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocFollowed]; - } else if ([tag isEqualToString:@"paper_doc_mention"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocMention]; - } else if ([tag isEqualToString:@"paper_doc_request_access"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocRequestAccess]; - } else if ([tag isEqualToString:@"paper_doc_resolve_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocResolveComment]; - } else if ([tag isEqualToString:@"paper_doc_revert"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocRevert]; - } else if ([tag isEqualToString:@"paper_doc_slack_share"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocSlackShare]; - } else if ([tag isEqualToString:@"paper_doc_team_invite"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocTeamInvite]; - } else if ([tag isEqualToString:@"paper_doc_trashed"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocTrashed]; - } else if ([tag isEqualToString:@"paper_doc_unresolve_comment"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocUnresolveComment]; - } else if ([tag isEqualToString:@"paper_doc_untrashed"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocUntrashed]; - } else if ([tag isEqualToString:@"paper_doc_view"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperDocView]; - } else if ([tag isEqualToString:@"paper_folder_change_subscription"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperFolderChangeSubscription]; - } else if ([tag isEqualToString:@"paper_folder_deleted"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperFolderDeleted]; - } else if ([tag isEqualToString:@"paper_folder_followed"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperFolderFollowed]; - } else if ([tag isEqualToString:@"paper_folder_team_invite"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperFolderTeamInvite]; - } else if ([tag isEqualToString:@"password_change"]) { - return [[DBTEAMLOGEventType alloc] initWithPasswordChange]; - } else if ([tag isEqualToString:@"password_reset"]) { - return [[DBTEAMLOGEventType alloc] initWithPasswordReset]; - } else if ([tag isEqualToString:@"password_reset_all"]) { - return [[DBTEAMLOGEventType alloc] initWithPasswordResetAll]; - } else if ([tag isEqualToString:@"emm_create_exceptions_report"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmCreateExceptionsReport]; - } else if ([tag isEqualToString:@"emm_create_usage_report"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmCreateUsageReport]; - } else if ([tag isEqualToString:@"smart_sync_create_admin_privilege_report"]) { - return [[DBTEAMLOGEventType alloc] initWithSmartSyncCreateAdminPrivilegeReport]; - } else if ([tag isEqualToString:@"team_activity_create_report"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamActivityCreateReport]; - } else if ([tag isEqualToString:@"collection_share"]) { - return [[DBTEAMLOGEventType alloc] initWithCollectionShare]; - } else if ([tag isEqualToString:@"note_acl_invite_only"]) { - return [[DBTEAMLOGEventType alloc] initWithNoteAclInviteOnly]; - } else if ([tag isEqualToString:@"note_acl_link"]) { - return [[DBTEAMLOGEventType alloc] initWithNoteAclLink]; - } else if ([tag isEqualToString:@"note_acl_team_link"]) { - return [[DBTEAMLOGEventType alloc] initWithNoteAclTeamLink]; - } else if ([tag isEqualToString:@"note_shared"]) { - return [[DBTEAMLOGEventType alloc] initWithNoteShared]; - } else if ([tag isEqualToString:@"note_share_receive"]) { - return [[DBTEAMLOGEventType alloc] initWithNoteShareReceive]; - } else if ([tag isEqualToString:@"open_note_shared"]) { - return [[DBTEAMLOGEventType alloc] initWithOpenNoteShared]; - } else if ([tag isEqualToString:@"sf_add_group"]) { - return [[DBTEAMLOGEventType alloc] initWithSfAddGroup]; - } else if ([tag isEqualToString:@"sf_allow_non_members_to_view_shared_links"]) { - return [[DBTEAMLOGEventType alloc] initWithSfAllowNonMembersToViewSharedLinks]; - } else if ([tag isEqualToString:@"sf_invite_group"]) { - return [[DBTEAMLOGEventType alloc] initWithSfInviteGroup]; - } else if ([tag isEqualToString:@"sf_nest"]) { - return [[DBTEAMLOGEventType alloc] initWithSfNest]; - } else if ([tag isEqualToString:@"sf_team_decline"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamDecline]; - } else if ([tag isEqualToString:@"sf_team_grant_access"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamGrantAccess]; - } else if ([tag isEqualToString:@"sf_team_invite"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamInvite]; - } else if ([tag isEqualToString:@"sf_team_invite_change_role"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamInviteChangeRole]; - } else if ([tag isEqualToString:@"sf_team_join"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamJoin]; - } else if ([tag isEqualToString:@"sf_team_join_from_oob_link"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamJoinFromOobLink]; - } else if ([tag isEqualToString:@"sf_team_uninvite"]) { - return [[DBTEAMLOGEventType alloc] initWithSfTeamUninvite]; - } else if ([tag isEqualToString:@"shared_content_add_invitees"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentAddInvitees]; - } else if ([tag isEqualToString:@"shared_content_add_link_expiry"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentAddLinkExpiry]; - } else if ([tag isEqualToString:@"shared_content_add_link_password"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentAddLinkPassword]; - } else if ([tag isEqualToString:@"shared_content_add_member"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentAddMember]; - } else if ([tag isEqualToString:@"shared_content_change_downloads_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeDownloadsPolicy]; - } else if ([tag isEqualToString:@"shared_content_change_invitee_role"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeInviteeRole]; - } else if ([tag isEqualToString:@"shared_content_change_link_audience"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkAudience]; - } else if ([tag isEqualToString:@"shared_content_change_link_expiry"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkExpiry]; - } else if ([tag isEqualToString:@"shared_content_change_link_password"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeLinkPassword]; - } else if ([tag isEqualToString:@"shared_content_change_member_role"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeMemberRole]; - } else if ([tag isEqualToString:@"shared_content_change_viewer_info_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentChangeViewerInfoPolicy]; - } else if ([tag isEqualToString:@"shared_content_claim_invitation"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentClaimInvitation]; - } else if ([tag isEqualToString:@"shared_content_copy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentCopy]; - } else if ([tag isEqualToString:@"shared_content_download"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentDownload]; - } else if ([tag isEqualToString:@"shared_content_relinquish_membership"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRelinquishMembership]; - } else if ([tag isEqualToString:@"shared_content_remove_invitee"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveInvitee]; - } else if ([tag isEqualToString:@"shared_content_remove_link_expiry"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveLinkExpiry]; - } else if ([tag isEqualToString:@"shared_content_remove_link_password"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveLinkPassword]; - } else if ([tag isEqualToString:@"shared_content_remove_member"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRemoveMember]; - } else if ([tag isEqualToString:@"shared_content_request_access"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentRequestAccess]; - } else if ([tag isEqualToString:@"shared_content_unshare"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentUnshare]; - } else if ([tag isEqualToString:@"shared_content_view"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedContentView]; - } else if ([tag isEqualToString:@"shared_folder_change_confidentiality"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeConfidentiality]; - } else if ([tag isEqualToString:@"shared_folder_change_link_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeLinkPolicy]; - } else if ([tag isEqualToString:@"shared_folder_change_member_management_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeMemberManagementPolicy]; - } else if ([tag isEqualToString:@"shared_folder_change_member_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderChangeMemberPolicy]; - } else if ([tag isEqualToString:@"shared_folder_create"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderCreate]; - } else if ([tag isEqualToString:@"shared_folder_mount"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderMount]; - } else if ([tag isEqualToString:@"shared_folder_transfer_ownership"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderTransferOwnership]; - } else if ([tag isEqualToString:@"shared_folder_unmount"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedFolderUnmount]; - } else if ([tag isEqualToString:@"shared_note_opened"]) { - return [[DBTEAMLOGEventType alloc] initWithSharedNoteOpened]; - } else if ([tag isEqualToString:@"shmodel_app_create"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelAppCreate]; - } else if ([tag isEqualToString:@"shmodel_create"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelCreate]; - } else if ([tag isEqualToString:@"shmodel_disable"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelDisable]; - } else if ([tag isEqualToString:@"shmodel_fb_share"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelFbShare]; - } else if ([tag isEqualToString:@"shmodel_group_share"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelGroupShare]; - } else if ([tag isEqualToString:@"shmodel_remove_expiration"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelRemoveExpiration]; - } else if ([tag isEqualToString:@"shmodel_set_expiration"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelSetExpiration]; - } else if ([tag isEqualToString:@"shmodel_team_copy"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelTeamCopy]; - } else if ([tag isEqualToString:@"shmodel_team_download"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelTeamDownload]; - } else if ([tag isEqualToString:@"shmodel_team_share"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelTeamShare]; - } else if ([tag isEqualToString:@"shmodel_team_view"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelTeamView]; - } else if ([tag isEqualToString:@"shmodel_visibility_password"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelVisibilityPassword]; - } else if ([tag isEqualToString:@"shmodel_visibility_public"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelVisibilityPublic]; - } else if ([tag isEqualToString:@"shmodel_visibility_team_only"]) { - return [[DBTEAMLOGEventType alloc] initWithShmodelVisibilityTeamOnly]; - } else if ([tag isEqualToString:@"sso_add_cert"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoAddCert]; - } else if ([tag isEqualToString:@"sso_add_login_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoAddLoginUrl]; - } else if ([tag isEqualToString:@"sso_add_logout_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoAddLogoutUrl]; - } else if ([tag isEqualToString:@"sso_change_cert"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoChangeCert]; - } else if ([tag isEqualToString:@"sso_change_login_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoChangeLoginUrl]; - } else if ([tag isEqualToString:@"sso_change_logout_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoChangeLogoutUrl]; - } else if ([tag isEqualToString:@"sso_change_saml_identity_mode"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoChangeSamlIdentityMode]; - } else if ([tag isEqualToString:@"sso_remove_cert"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoRemoveCert]; - } else if ([tag isEqualToString:@"sso_remove_login_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoRemoveLoginUrl]; - } else if ([tag isEqualToString:@"sso_remove_logout_url"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoRemoveLogoutUrl]; - } else if ([tag isEqualToString:@"team_folder_change_status"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamFolderChangeStatus]; - } else if ([tag isEqualToString:@"team_folder_create"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamFolderCreate]; - } else if ([tag isEqualToString:@"team_folder_downgrade"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamFolderDowngrade]; - } else if ([tag isEqualToString:@"team_folder_permanently_delete"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamFolderPermanentlyDelete]; - } else if ([tag isEqualToString:@"team_folder_rename"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamFolderRename]; - } else if ([tag isEqualToString:@"account_capture_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithAccountCaptureChangePolicy]; - } else if ([tag isEqualToString:@"allow_download_disabled"]) { - return [[DBTEAMLOGEventType alloc] initWithAllowDownloadDisabled]; - } else if ([tag isEqualToString:@"allow_download_enabled"]) { - return [[DBTEAMLOGEventType alloc] initWithAllowDownloadEnabled]; - } else if ([tag isEqualToString:@"data_placement_restriction_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithDataPlacementRestrictionChangePolicy]; - } else if ([tag isEqualToString:@"data_placement_restriction_satisfy_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithDataPlacementRestrictionSatisfyPolicy]; - } else if ([tag isEqualToString:@"device_approvals_change_desktop_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeDesktopPolicy]; - } else if ([tag isEqualToString:@"device_approvals_change_mobile_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeMobilePolicy]; - } else if ([tag isEqualToString:@"device_approvals_change_overage_action"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeOverageAction]; - } else if ([tag isEqualToString:@"device_approvals_change_unlink_action"]) { - return [[DBTEAMLOGEventType alloc] initWithDeviceApprovalsChangeUnlinkAction]; - } else if ([tag isEqualToString:@"emm_add_exception"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmAddException]; - } else if ([tag isEqualToString:@"emm_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmChangePolicy]; - } else if ([tag isEqualToString:@"emm_remove_exception"]) { - return [[DBTEAMLOGEventType alloc] initWithEmmRemoveException]; - } else if ([tag isEqualToString:@"extended_version_history_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithExtendedVersionHistoryChangePolicy]; - } else if ([tag isEqualToString:@"file_comments_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithFileCommentsChangePolicy]; - } else if ([tag isEqualToString:@"file_requests_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestsChangePolicy]; - } else if ([tag isEqualToString:@"file_requests_emails_enabled"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestsEmailsEnabled]; - } else if ([tag isEqualToString:@"file_requests_emails_restricted_to_team_only"]) { - return [[DBTEAMLOGEventType alloc] initWithFileRequestsEmailsRestrictedToTeamOnly]; - } else if ([tag isEqualToString:@"google_sso_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithGoogleSsoChangePolicy]; - } else if ([tag isEqualToString:@"group_user_management_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithGroupUserManagementChangePolicy]; - } else if ([tag isEqualToString:@"member_requests_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberRequestsChangePolicy]; - } else if ([tag isEqualToString:@"member_space_limits_add_exception"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsAddException]; - } else if ([tag isEqualToString:@"member_space_limits_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsChangePolicy]; - } else if ([tag isEqualToString:@"member_space_limits_remove_exception"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSpaceLimitsRemoveException]; - } else if ([tag isEqualToString:@"member_suggestions_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithMemberSuggestionsChangePolicy]; - } else if ([tag isEqualToString:@"microsoft_office_addin_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithMicrosoftOfficeAddinChangePolicy]; - } else if ([tag isEqualToString:@"network_control_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithNetworkControlChangePolicy]; - } else if ([tag isEqualToString:@"paper_change_deployment_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperChangeDeploymentPolicy]; - } else if ([tag isEqualToString:@"paper_change_member_link_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperChangeMemberLinkPolicy]; - } else if ([tag isEqualToString:@"paper_change_member_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperChangeMemberPolicy]; - } else if ([tag isEqualToString:@"paper_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPaperChangePolicy]; - } else if ([tag isEqualToString:@"permanent_delete_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithPermanentDeleteChangePolicy]; - } else if ([tag isEqualToString:@"sharing_change_folder_join_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharingChangeFolderJoinPolicy]; - } else if ([tag isEqualToString:@"sharing_change_link_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharingChangeLinkPolicy]; - } else if ([tag isEqualToString:@"sharing_change_member_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSharingChangeMemberPolicy]; - } else if ([tag isEqualToString:@"smart_sync_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSmartSyncChangePolicy]; - } else if ([tag isEqualToString:@"smart_sync_not_opt_out"]) { - return [[DBTEAMLOGEventType alloc] initWithSmartSyncNotOptOut]; - } else if ([tag isEqualToString:@"smart_sync_opt_out"]) { - return [[DBTEAMLOGEventType alloc] initWithSmartSyncOptOut]; - } else if ([tag isEqualToString:@"sso_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithSsoChangePolicy]; - } else if ([tag isEqualToString:@"tfa_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaChangePolicy]; - } else if ([tag isEqualToString:@"two_account_change_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithTwoAccountChangePolicy]; - } else if ([tag isEqualToString:@"web_sessions_change_fixed_length_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithWebSessionsChangeFixedLengthPolicy]; - } else if ([tag isEqualToString:@"web_sessions_change_idle_length_policy"]) { - return [[DBTEAMLOGEventType alloc] initWithWebSessionsChangeIdleLengthPolicy]; - } else if ([tag isEqualToString:@"team_profile_add_logo"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamProfileAddLogo]; - } else if ([tag isEqualToString:@"team_profile_change_default_language"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeDefaultLanguage]; - } else if ([tag isEqualToString:@"team_profile_change_logo"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeLogo]; - } else if ([tag isEqualToString:@"team_profile_change_name"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamProfileChangeName]; - } else if ([tag isEqualToString:@"team_profile_remove_logo"]) { - return [[DBTEAMLOGEventType alloc] initWithTeamProfileRemoveLogo]; - } else if ([tag isEqualToString:@"tfa_add_backup_phone"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaAddBackupPhone]; - } else if ([tag isEqualToString:@"tfa_add_security_key"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaAddSecurityKey]; - } else if ([tag isEqualToString:@"tfa_change_backup_phone"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaChangeBackupPhone]; - } else if ([tag isEqualToString:@"tfa_change_status"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaChangeStatus]; - } else if ([tag isEqualToString:@"tfa_remove_backup_phone"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaRemoveBackupPhone]; - } else if ([tag isEqualToString:@"tfa_remove_security_key"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaRemoveSecurityKey]; - } else if ([tag isEqualToString:@"tfa_reset"]) { - return [[DBTEAMLOGEventType alloc] initWithTfaReset]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGEventType alloc] initWithOther]; - } else { - return [[DBTEAMLOGEventType alloc] initWithOther]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + result = prime * result + [self.dNewValue hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsChangeAudienceDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsChangeAudienceDetails: + (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)aSharedLinkSettingsChangeAudienceDetails { + if (self == aSharedLinkSettingsChangeAudienceDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsChangeAudienceDetails.sharedContentAccessLevel]) { + return NO; + } + if (![self.dNewValue isEqual:aSharedLinkSettingsChangeAudienceDetails.dNewValue]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsChangeAudienceDetails.sharedContentLink]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkSettingsChangeAudienceDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + jsonDict[@"new_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.dNewValue]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBSHARINGLinkAudienceSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + DBSHARINGLinkAudience *dNewValue = [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"new_value"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + DBSHARINGLinkAudience *previousValue = + valueDict[@"previous_value"] ? [DBSHARINGLinkAudienceSerializer deserialize:valueDict[@"previous_value"]] : nil; + + return [[DBTEAMLOGSharedLinkSettingsChangeAudienceDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + dNewValue:dNewValue + sharedContentLink:sharedContentLink + previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsChangeAudienceType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsChangeAudienceType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsChangeAudienceType: + (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)aSharedLinkSettingsChangeAudienceType { + if (self == aSharedLinkSettingsChangeAudienceType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsChangeAudienceType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeAudienceType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsChangeAudienceType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsChangeExpirationDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink + dNewValue:(NSDate *)dNewValue + previousValue:(NSDate *)previousValue { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + _dNewValue = dNewValue; + _previousValue = previousValue; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:nil + dNewValue:nil + previousValue:nil]; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsChangeExpirationDetails:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsChangeExpirationDetails: + (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)aSharedLinkSettingsChangeExpirationDetails { + if (self == aSharedLinkSettingsChangeExpirationDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsChangeExpirationDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsChangeExpirationDetails.sharedContentLink]) { + return NO; + } + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSharedLinkSettingsChangeExpirationDetails.dNewValue]) { + return NO; + } + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkSettingsChangeExpirationDetails.previousValue]) { + return NO; + } + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + } + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBNSDateSerializer serialize:valueObj.dNewValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + NSDate *dNewValue = valueDict[@"new_value"] + ? [DBNSDateSerializer deserialize:valueDict[@"new_value"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + + return [[DBTEAMLOGSharedLinkSettingsChangeExpirationDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink + dNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h" -#import "DBTEAMLOGExtendedVersionHistoryPolicy.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationType.h" #pragma mark - API Object -@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyDetails +@implementation DBTEAMLOGSharedLinkSettingsChangeExpirationType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue - previousValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGExtendedVersionHistoryPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -25977,10 +155561,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -25994,22 +155575,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToExtendedVersionHistoryChangePolicyDetails:other]; + return [self isEqualToSharedLinkSettingsChangeExpirationType:other]; } -- (BOOL)isEqualToExtendedVersionHistoryChangePolicyDetails: - (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)anExtendedVersionHistoryChangePolicyDetails { - if (self == anExtendedVersionHistoryChangePolicyDetails) { +- (BOOL)isEqualToSharedLinkSettingsChangeExpirationType: + (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)aSharedLinkSettingsChangeExpirationType { + if (self == aSharedLinkSettingsChangeExpirationType) { return YES; } - if (![self.dNewValue isEqual:anExtendedVersionHistoryChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aSharedLinkSettingsChangeExpirationType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:anExtendedVersionHistoryChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -26017,124 +155593,181 @@ - (BOOL)isEqualToExtendedVersionHistoryChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGExtendedVersionHistoryChangePolicyDetailsSerializer +@implementation DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeExpirationType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGExtendedVersionHistoryPolicy *dNewValue = - [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGExtendedVersionHistoryPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGExtendedVersionHistoryChangePolicyDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGSharedLinkSettingsChangeExpirationType alloc] initWithDescription_:description_]; } @end +#import "DBSHARINGAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGExtendedVersionHistoryPolicy.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGExtendedVersionHistoryPolicy +@implementation DBTEAMLOGSharedLinkSettingsChangePasswordDetails #pragma mark - Constructors -- (instancetype)initWithExplicitlyLimited { +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + self = [super init]; if (self) { - _tag = DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited; + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; } return self; } -- (instancetype)initWithExplicitlyUnlimited { - self = [super init]; - if (self) { - _tag = DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited; - } - return self; +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil]; } -- (instancetype)initWithImplicitlyLimited { - self = [super init]; - if (self) { - _tag = DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer serialize:instance]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGExtendedVersionHistoryPolicyOther; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer deserialize:dict]; } -#pragma mark - Instance field accessors +#pragma mark - Debug Description method -#pragma mark - Tag state methods +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer serialize:self] description]; +} -- (BOOL)isExplicitlyLimited { - return _tag == DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isExplicitlyUnlimited { - return _tag == DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; + } + + return prime * result; } -- (BOOL)isImplicitlyLimited { - return _tag == DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsChangePasswordDetails:other]; } -- (BOOL)isOther { - return _tag == DBTEAMLOGExtendedVersionHistoryPolicyOther; +- (BOOL)isEqualToSharedLinkSettingsChangePasswordDetails: + (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)aSharedLinkSettingsChangePasswordDetails { + if (self == aSharedLinkSettingsChangePasswordDetails) { + return YES; + } + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsChangePasswordDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsChangePasswordDetails.sharedContentLink]) { + return NO; + } + } + return YES; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: - return @"DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited"; - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: - return @"DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited"; - case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: - return @"DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited"; - case DBTEAMLOGExtendedVersionHistoryPolicyOther: - return @"DBTEAMLOGExtendedVersionHistoryPolicyOther"; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + + return [[DBTEAMLOGSharedLinkSettingsChangePasswordDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsChangePasswordType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGExtendedVersionHistoryPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGExtendedVersionHistoryPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26151,16 +155784,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGExtendedVersionHistoryPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -26174,26 +155798,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToExtendedVersionHistoryPolicy:other]; + return [self isEqualToSharedLinkSettingsChangePasswordType:other]; } -- (BOOL)isEqualToExtendedVersionHistoryPolicy:(DBTEAMLOGExtendedVersionHistoryPolicy *)anExtendedVersionHistoryPolicy { - if (self == anExtendedVersionHistoryPolicy) { +- (BOOL)isEqualToSharedLinkSettingsChangePasswordType: + (DBTEAMLOGSharedLinkSettingsChangePasswordType *)aSharedLinkSettingsChangePasswordType { + if (self == aSharedLinkSettingsChangePasswordType) { return YES; } - if (self.tag != anExtendedVersionHistoryPolicy.tag) { + if (![self.description_ isEqual:aSharedLinkSettingsChangePasswordType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited: - return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; - case DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited: - return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; - case DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited: - return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; - case DBTEAMLOGExtendedVersionHistoryPolicyOther: - return [[self tagName] isEqual:[anExtendedVersionHistoryPolicy tagName]]; - } return YES; } @@ -26201,83 +155816,67 @@ - (BOOL)isEqualToExtendedVersionHistoryPolicy:(DBTEAMLOGExtendedVersionHistoryPo #pragma mark - Serializer Object -@implementation DBTEAMLOGExtendedVersionHistoryPolicySerializer +@implementation DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangePasswordType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isExplicitlyLimited]) { - jsonDict[@".tag"] = @"explicitly_limited"; - } else if ([valueObj isExplicitlyUnlimited]) { - jsonDict[@".tag"] = @"explicitly_unlimited"; - } else if ([valueObj isImplicitlyLimited]) { - jsonDict[@".tag"] = @"implicitly_limited"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGSharedLinkSettingsChangePasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"explicitly_limited"]) { - return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithExplicitlyLimited]; - } else if ([tag isEqualToString:@"explicitly_unlimited"]) { - return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithExplicitlyUnlimited]; - } else if ([tag isEqualToString:@"implicitly_limited"]) { - return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithImplicitlyLimited]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGExtendedVersionHistoryPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGSharedLinkSettingsChangePasswordType alloc] initWithDescription_:description_]; } @end +#import "DBSHARINGAccessLevel.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFailureDetailsLogInfo.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFailureDetailsLogInfo +@implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails #pragma mark - Constructors -- (instancetype)initWithUserFriendlyMessage:(NSString *)userFriendlyMessage - technicalErrorMessage:(NSString *)technicalErrorMessage { +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink + previousValue:(NSDate *)previousValue { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); self = [super init]; if (self) { - _userFriendlyMessage = userFriendlyMessage; - _technicalErrorMessage = technicalErrorMessage; + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + _previousValue = previousValue; } return self; } -- (instancetype)initDefault { - return [self initWithUserFriendlyMessage:nil technicalErrorMessage:nil]; +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFailureDetailsLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26294,11 +155893,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.userFriendlyMessage != nil) { - result = prime * result + [self.userFriendlyMessage hash]; + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; } - if (self.technicalErrorMessage != nil) { - result = prime * result + [self.technicalErrorMessage hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; } return prime * result; @@ -26313,20 +155913,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFailureDetailsLogInfo:other]; + return [self isEqualToSharedLinkSettingsRemoveExpirationDetails:other]; } -- (BOOL)isEqualToFailureDetailsLogInfo:(DBTEAMLOGFailureDetailsLogInfo *)aFailureDetailsLogInfo { - if (self == aFailureDetailsLogInfo) { +- (BOOL)isEqualToSharedLinkSettingsRemoveExpirationDetails: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)aSharedLinkSettingsRemoveExpirationDetails { + if (self == aSharedLinkSettingsRemoveExpirationDetails) { return YES; } - if (self.userFriendlyMessage) { - if (![self.userFriendlyMessage isEqual:aFailureDetailsLogInfo.userFriendlyMessage]) { + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsRemoveExpirationDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsRemoveExpirationDetails.sharedContentLink]) { return NO; } } - if (self.technicalErrorMessage) { - if (![self.technicalErrorMessage isEqual:aFailureDetailsLogInfo.technicalErrorMessage]) { + if (self.previousValue) { + if (![self.previousValue isEqual:aSharedLinkSettingsRemoveExpirationDetails.previousValue]) { return NO; } } @@ -26337,68 +155941,181 @@ - (BOOL)isEqualToFailureDetailsLogInfo:(DBTEAMLOGFailureDetailsLogInfo *)aFailur #pragma mark - Serializer Object -@implementation DBTEAMLOGFailureDetailsLogInfoSerializer +@implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFailureDetailsLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.userFriendlyMessage) { - jsonDict[@"user_friendly_message"] = valueObj.userFriendlyMessage; + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - if (valueObj.technicalErrorMessage) { - jsonDict[@"technical_error_message"] = valueObj.technicalErrorMessage; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = + [DBNSDateSerializer serialize:valueObj.previousValue dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *userFriendlyMessage = valueDict[@"user_friendly_message"] ?: nil; - NSString *technicalErrorMessage = valueDict[@"technical_error_message"] ?: nil; ++ (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; + NSDate *previousValue = valueDict[@"previous_value"] ? [DBNSDateSerializer deserialize:valueDict[@"previous_value"] + dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; - return [[DBTEAMLOGFailureDetailsLogInfo alloc] initWithUserFriendlyMessage:userFriendlyMessage - technicalErrorMessage:technicalErrorMessage]; + return [[DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileAddCommentDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileAddCommentDetails +@implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationType #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkSettingsRemoveExpirationType:other]; +} + +- (BOOL)isEqualToSharedLinkSettingsRemoveExpirationType: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)aSharedLinkSettingsRemoveExpirationType { + if (self == aSharedLinkSettingsRemoveExpirationType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkSettingsRemoveExpirationType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkSettingsRemoveExpirationType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBSHARINGAccessLevel.h" +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkSettingsRemovePasswordDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(NSString *)sharedContentLink { + [DBStoneValidators nonnullValidator:nil](sharedContentAccessLevel); + + self = [super init]; + if (self) { + _sharedContentAccessLevel = sharedContentAccessLevel; + _sharedContentLink = sharedContentLink; + } + return self; +} + +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel { + return [self initWithSharedContentAccessLevel:sharedContentAccessLevel sharedContentLink:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileAddCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileAddCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileAddCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26415,8 +156132,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; + result = prime * result + [self.sharedContentAccessLevel hash]; + if (self.sharedContentLink != nil) { + result = prime * result + [self.sharedContentLink hash]; } return prime * result; @@ -26431,15 +156149,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileAddCommentDetails:other]; + return [self isEqualToSharedLinkSettingsRemovePasswordDetails:other]; } -- (BOOL)isEqualToFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)aFileAddCommentDetails { - if (self == aFileAddCommentDetails) { +- (BOOL)isEqualToSharedLinkSettingsRemovePasswordDetails: + (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)aSharedLinkSettingsRemovePasswordDetails { + if (self == aSharedLinkSettingsRemovePasswordDetails) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileAddCommentDetails.commentText]) { + if (![self.sharedContentAccessLevel isEqual:aSharedLinkSettingsRemovePasswordDetails.sharedContentAccessLevel]) { + return NO; + } + if (self.sharedContentLink) { + if (![self.sharedContentLink isEqual:aSharedLinkSettingsRemovePasswordDetails.sharedContentLink]) { return NO; } } @@ -26450,58 +156172,66 @@ - (BOOL)isEqualToFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)aFileAd #pragma mark - Serializer Object -@implementation DBTEAMLOGFileAddCommentDetailsSerializer +@implementation DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileAddCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; + jsonDict[@"shared_content_access_level"] = + [DBSHARINGAccessLevelSerializer serialize:valueObj.sharedContentAccessLevel]; + if (valueObj.sharedContentLink) { + jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)deserialize:(NSDictionary *)valueDict { + DBSHARINGAccessLevel *sharedContentAccessLevel = + [DBSHARINGAccessLevelSerializer deserialize:valueDict[@"shared_content_access_level"]]; + NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; - return [[DBTEAMLOGFileAddCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGSharedLinkSettingsRemovePasswordDetails alloc] + initWithSharedContentAccessLevel:sharedContentAccessLevel + sharedContentLink:sharedContentLink]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileAddDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileAddDetails +@implementation DBTEAMLOGSharedLinkSettingsRemovePasswordType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileAddDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileAddDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileAddDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26518,6 +156248,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -26530,13 +156262,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileAddDetails:other]; + return [self isEqualToSharedLinkSettingsRemovePasswordType:other]; } -- (BOOL)isEqualToFileAddDetails:(DBTEAMLOGFileAddDetails *)aFileAddDetails { - if (self == aFileAddDetails) { +- (BOOL)isEqualToSharedLinkSettingsRemovePasswordType: + (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)aSharedLinkSettingsRemovePasswordType { + if (self == aSharedLinkSettingsRemovePasswordType) { return YES; } + if (![self.description_ isEqual:aSharedLinkSettingsRemovePasswordType.description_]) { + return NO; + } return YES; } @@ -26544,64 +156280,69 @@ - (BOOL)isEqualToFileAddDetails:(DBTEAMLOGFileAddDetails *)aFileAddDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGFileAddDetailsSerializer +@implementation DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileAddDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileAddDetails alloc] initDefault]; + return [[DBTEAMLOGSharedLinkSettingsRemovePasswordType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileChangeCommentSubscriptionDetails.h" -#import "DBTEAMLOGFileCommentNotificationPolicy.h" +#import "DBTEAMLOGExternalUserLogInfo.h" +#import "DBTEAMLOGSharedLinkShareDetails.h" +#import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGFileChangeCommentSubscriptionDetails +@implementation DBTEAMLOGSharedLinkShareDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue - previousValue:(DBTEAMLOGFileCommentNotificationPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner + externalUsers:(NSArray *)externalUsers { + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](externalUsers); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _sharedLinkOwner = sharedLinkOwner; + _externalUsers = externalUsers; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentNotificationPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil externalUsers:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkShareDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkShareDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkShareDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26618,9 +156359,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; + } + if (self.externalUsers != nil) { + result = prime * result + [self.externalUsers hash]; } return prime * result; @@ -26635,19 +156378,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileChangeCommentSubscriptionDetails:other]; + return [self isEqualToSharedLinkShareDetails:other]; } -- (BOOL)isEqualToFileChangeCommentSubscriptionDetails: - (DBTEAMLOGFileChangeCommentSubscriptionDetails *)aFileChangeCommentSubscriptionDetails { - if (self == aFileChangeCommentSubscriptionDetails) { +- (BOOL)isEqualToSharedLinkShareDetails:(DBTEAMLOGSharedLinkShareDetails *)aSharedLinkShareDetails { + if (self == aSharedLinkShareDetails) { return YES; } - if (![self.dNewValue isEqual:aFileChangeCommentSubscriptionDetails.dNewValue]) { - return NO; + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aSharedLinkShareDetails.sharedLinkOwner]) { + return NO; + } } - if (self.previousValue) { - if (![self.previousValue isEqual:aFileChangeCommentSubscriptionDetails.previousValue]) { + if (self.externalUsers) { + if (![self.externalUsers isEqual:aSharedLinkShareDetails.externalUsers]) { return NO; } } @@ -26658,110 +156402,178 @@ - (BOOL)isEqualToFileChangeCommentSubscriptionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileChangeCommentSubscriptionDetailsSerializer +@implementation DBTEAMLOGSharedLinkShareDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkShareDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:valueObj.previousValue]; + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; + } + if (valueObj.externalUsers) { + jsonDict[@"external_users"] = [DBArraySerializer serialize:valueObj.externalUsers + withBlock:^id(id elem0) { + return [DBTEAMLOGExternalUserLogInfoSerializer serialize:elem0]; + }]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFileCommentNotificationPolicy *dNewValue = - [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGFileCommentNotificationPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:valueDict[@"previous_value"]] ++ (DBTEAMLOGSharedLinkShareDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; + NSArray *externalUsers = + valueDict[@"external_users"] + ? [DBArraySerializer deserialize:valueDict[@"external_users"] + withBlock:^id(id elem0) { + return [DBTEAMLOGExternalUserLogInfoSerializer deserialize:elem0]; + }] : nil; - return - [[DBTEAMLOGFileChangeCommentSubscriptionDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGSharedLinkShareDetails alloc] initWithSharedLinkOwner:sharedLinkOwner externalUsers:externalUsers]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileCommentNotificationPolicy.h" +#import "DBTEAMLOGSharedLinkShareType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileCommentNotificationPolicy +@implementation DBTEAMLOGSharedLinkShareType #pragma mark - Constructors -- (instancetype)initWithDisabled { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + self = [super init]; if (self) { - _tag = DBTEAMLOGFileCommentNotificationPolicyDisabled; + _description_ = description_; } return self; } -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGFileCommentNotificationPolicyEnabled; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkShareTypeSerializer serialize:instance]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGFileCommentNotificationPolicyOther; - } ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkShareTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkShareTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -#pragma mark - Instance field accessors +#pragma mark - Hash method -#pragma mark - Tag state methods +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isDisabled { - return _tag == DBTEAMLOGFileCommentNotificationPolicyDisabled; + result = prime * result + [self.description_ hash]; + + return prime * result; } -- (BOOL)isEnabled { - return _tag == DBTEAMLOGFileCommentNotificationPolicyEnabled; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkShareType:other]; } -- (BOOL)isOther { - return _tag == DBTEAMLOGFileCommentNotificationPolicyOther; +- (BOOL)isEqualToSharedLinkShareType:(DBTEAMLOGSharedLinkShareType *)aSharedLinkShareType { + if (self == aSharedLinkShareType) { + return YES; + } + if (![self.description_ isEqual:aSharedLinkShareType.description_]) { + return NO; + } + return YES; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGFileCommentNotificationPolicyDisabled: - return @"DBTEAMLOGFileCommentNotificationPolicyDisabled"; - case DBTEAMLOGFileCommentNotificationPolicyEnabled: - return @"DBTEAMLOGFileCommentNotificationPolicyEnabled"; - case DBTEAMLOGFileCommentNotificationPolicyOther: - return @"DBTEAMLOGFileCommentNotificationPolicyOther"; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGSharedLinkShareTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkShareType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGSharedLinkShareType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGSharedLinkShareType alloc] initWithDescription_:description_]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGSharedLinkViewDetails.h" +#import "DBTEAMLOGUserLogInfo.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGSharedLinkViewDetails + +#pragma mark - Constructors + +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { + + self = [super init]; + if (self) { + _sharedLinkOwner = sharedLinkOwner; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileCommentNotificationPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkViewDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileCommentNotificationPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkViewDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileCommentNotificationPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26778,13 +156590,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGFileCommentNotificationPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileCommentNotificationPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileCommentNotificationPolicyOther: - result = prime * result + [[self tagName] hash]; + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; } return prime * result; @@ -26799,24 +156606,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileCommentNotificationPolicy:other]; + return [self isEqualToSharedLinkViewDetails:other]; } -- (BOOL)isEqualToFileCommentNotificationPolicy: - (DBTEAMLOGFileCommentNotificationPolicy *)aFileCommentNotificationPolicy { - if (self == aFileCommentNotificationPolicy) { +- (BOOL)isEqualToSharedLinkViewDetails:(DBTEAMLOGSharedLinkViewDetails *)aSharedLinkViewDetails { + if (self == aSharedLinkViewDetails) { return YES; } - if (self.tag != aFileCommentNotificationPolicy.tag) { - return NO; - } - switch (_tag) { - case DBTEAMLOGFileCommentNotificationPolicyDisabled: - return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; - case DBTEAMLOGFileCommentNotificationPolicyEnabled: - return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; - case DBTEAMLOGFileCommentNotificationPolicyOther: - return [[self tagName] isEqual:[aFileCommentNotificationPolicy tagName]]; + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aSharedLinkViewDetails.sharedLinkOwner]) { + return NO; + } } return YES; } @@ -26825,81 +156625,62 @@ - (BOOL)isEqualToFileCommentNotificationPolicy: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileCommentNotificationPolicySerializer +@implementation DBTEAMLOGSharedLinkViewDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileCommentNotificationPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGSharedLinkViewDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGFileCommentNotificationPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGSharedLinkViewDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileCommentsChangePolicyDetails.h" -#import "DBTEAMLOGFileCommentsPolicy.h" +#import "DBTEAMLOGSharedLinkViewType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileCommentsChangePolicyDetails +@implementation DBTEAMLOGSharedLinkViewType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue - previousValue:(DBTEAMLOGFileCommentsPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGFileCommentsPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileCommentsChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkViewTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileCommentsChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkViewTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileCommentsChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -26916,10 +156697,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -26933,22 +156711,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileCommentsChangePolicyDetails:other]; + return [self isEqualToSharedLinkViewType:other]; } -- (BOOL)isEqualToFileCommentsChangePolicyDetails: - (DBTEAMLOGFileCommentsChangePolicyDetails *)aFileCommentsChangePolicyDetails { - if (self == aFileCommentsChangePolicyDetails) { +- (BOOL)isEqualToSharedLinkViewType:(DBTEAMLOGSharedLinkViewType *)aSharedLinkViewType { + if (self == aSharedLinkViewType) { return YES; } - if (![self.dNewValue isEqual:aFileCommentsChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aSharedLinkViewType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aFileCommentsChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -26956,52 +156728,62 @@ - (BOOL)isEqualToFileCommentsChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileCommentsChangePolicyDetailsSerializer +@implementation DBTEAMLOGSharedLinkViewTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGFileCommentsPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGFileCommentsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFileCommentsPolicy *dNewValue = [DBTEAMLOGFileCommentsPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGFileCommentsPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGFileCommentsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGSharedLinkViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileCommentsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGSharedLinkViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileCommentsPolicy.h" +#import "DBTEAMLOGSharedLinkVisibility.h" #pragma mark - API Object -@implementation DBTEAMLOGFileCommentsPolicy +@implementation DBTEAMLOGSharedLinkVisibility #pragma mark - Constructors -- (instancetype)initWithDisabled { +- (instancetype)initWithNoOne { self = [super init]; if (self) { - _tag = DBTEAMLOGFileCommentsPolicyDisabled; + _tag = DBTEAMLOGSharedLinkVisibilityNoOne; } return self; } -- (instancetype)initWithEnabled { +- (instancetype)initWithPassword { self = [super init]; if (self) { - _tag = DBTEAMLOGFileCommentsPolicyEnabled; + _tag = DBTEAMLOGSharedLinkVisibilityPassword; + } + return self; +} + +- (instancetype)initWithPublic { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkVisibilityPublic; + } + return self; +} + +- (instancetype)initWithTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharedLinkVisibilityTeamOnly; } return self; } @@ -27009,7 +156791,7 @@ - (instancetype)initWithEnabled { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGFileCommentsPolicyOther; + _tag = DBTEAMLOGSharedLinkVisibilityOther; } return self; } @@ -27018,26 +156800,38 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isDisabled { - return _tag == DBTEAMLOGFileCommentsPolicyDisabled; +- (BOOL)isNoOne { + return _tag == DBTEAMLOGSharedLinkVisibilityNoOne; } -- (BOOL)isEnabled { - return _tag == DBTEAMLOGFileCommentsPolicyEnabled; +- (BOOL)isPassword { + return _tag == DBTEAMLOGSharedLinkVisibilityPassword; +} + +- (BOOL)isPublic { + return _tag == DBTEAMLOGSharedLinkVisibilityPublic; +} + +- (BOOL)isTeamOnly { + return _tag == DBTEAMLOGSharedLinkVisibilityTeamOnly; } - (BOOL)isOther { - return _tag == DBTEAMLOGFileCommentsPolicyOther; + return _tag == DBTEAMLOGSharedLinkVisibilityOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGFileCommentsPolicyDisabled: - return @"DBTEAMLOGFileCommentsPolicyDisabled"; - case DBTEAMLOGFileCommentsPolicyEnabled: - return @"DBTEAMLOGFileCommentsPolicyEnabled"; - case DBTEAMLOGFileCommentsPolicyOther: - return @"DBTEAMLOGFileCommentsPolicyOther"; + case DBTEAMLOGSharedLinkVisibilityNoOne: + return @"DBTEAMLOGSharedLinkVisibilityNoOne"; + case DBTEAMLOGSharedLinkVisibilityPassword: + return @"DBTEAMLOGSharedLinkVisibilityPassword"; + case DBTEAMLOGSharedLinkVisibilityPublic: + return @"DBTEAMLOGSharedLinkVisibilityPublic"; + case DBTEAMLOGSharedLinkVisibilityTeamOnly: + return @"DBTEAMLOGSharedLinkVisibilityTeamOnly"; + case DBTEAMLOGSharedLinkVisibilityOther: + return @"DBTEAMLOGSharedLinkVisibilityOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -27045,18 +156839,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileCommentsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedLinkVisibilitySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileCommentsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedLinkVisibilitySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileCommentsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedLinkVisibilitySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27074,12 +156868,21 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGFileCommentsPolicyDisabled: + case DBTEAMLOGSharedLinkVisibilityNoOne: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileCommentsPolicyEnabled: + break; + case DBTEAMLOGSharedLinkVisibilityPassword: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileCommentsPolicyOther: + break; + case DBTEAMLOGSharedLinkVisibilityPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedLinkVisibilityTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharedLinkVisibilityOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -27094,23 +156897,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileCommentsPolicy:other]; + return [self isEqualToSharedLinkVisibility:other]; } -- (BOOL)isEqualToFileCommentsPolicy:(DBTEAMLOGFileCommentsPolicy *)aFileCommentsPolicy { - if (self == aFileCommentsPolicy) { +- (BOOL)isEqualToSharedLinkVisibility:(DBTEAMLOGSharedLinkVisibility *)aSharedLinkVisibility { + if (self == aSharedLinkVisibility) { return YES; } - if (self.tag != aFileCommentsPolicy.tag) { + if (self.tag != aSharedLinkVisibility.tag) { return NO; } switch (_tag) { - case DBTEAMLOGFileCommentsPolicyDisabled: - return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; - case DBTEAMLOGFileCommentsPolicyEnabled: - return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; - case DBTEAMLOGFileCommentsPolicyOther: - return [[self tagName] isEqual:[aFileCommentsPolicy tagName]]; + case DBTEAMLOGSharedLinkVisibilityNoOne: + return [[self tagName] isEqual:[aSharedLinkVisibility tagName]]; + case DBTEAMLOGSharedLinkVisibilityPassword: + return [[self tagName] isEqual:[aSharedLinkVisibility tagName]]; + case DBTEAMLOGSharedLinkVisibilityPublic: + return [[self tagName] isEqual:[aSharedLinkVisibility tagName]]; + case DBTEAMLOGSharedLinkVisibilityTeamOnly: + return [[self tagName] isEqual:[aSharedLinkVisibility tagName]]; + case DBTEAMLOGSharedLinkVisibilityOther: + return [[self tagName] isEqual:[aSharedLinkVisibility tagName]]; } return YES; } @@ -27119,35 +156926,43 @@ - (BOOL)isEqualToFileCommentsPolicy:(DBTEAMLOGFileCommentsPolicy *)aFileComments #pragma mark - Serializer Object -@implementation DBTEAMLOGFileCommentsPolicySerializer +@implementation DBTEAMLOGSharedLinkVisibilitySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileCommentsPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedLinkVisibility *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; + if ([valueObj isNoOne]) { + jsonDict[@".tag"] = @"no_one"; + } else if ([valueObj isPassword]) { + jsonDict[@".tag"] = @"password"; + } else if ([valueObj isPublic]) { + jsonDict[@".tag"] = @"public"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGSharedLinkVisibility *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGFileCommentsPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGFileCommentsPolicy alloc] initWithEnabled]; + if ([tag isEqualToString:@"no_one"]) { + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithNoOne]; + } else if ([tag isEqualToString:@"password"]) { + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithPassword]; + } else if ([tag isEqualToString:@"public"]) { + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithPublic]; + } else if ([tag isEqualToString:@"team_only"]) { + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithTeamOnly]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGFileCommentsPolicy alloc] initWithOther]; + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithOther]; } else { - return [[DBTEAMLOGFileCommentsPolicy alloc] initWithOther]; + return [[DBTEAMLOGSharedLinkVisibility alloc] initWithOther]; } } @@ -27155,43 +156970,36 @@ + (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileCopyDetails.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGSharedNoteOpenedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileCopyDetails +@implementation DBTEAMLOGSharedNoteOpenedDetails #pragma mark - Constructors -- (instancetype)initWithRelocateActionDetails: - (NSArray *)relocateActionDetails { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); +- (instancetype)initDefault { self = [super init]; if (self) { - _relocateActionDetails = relocateActionDetails; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileCopyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileCopyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedNoteOpenedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileCopyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27208,8 +157016,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.relocateActionDetails hash]; - return prime * result; } @@ -27222,16 +157028,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileCopyDetails:other]; + return [self isEqualToSharedNoteOpenedDetails:other]; } -- (BOOL)isEqualToFileCopyDetails:(DBTEAMLOGFileCopyDetails *)aFileCopyDetails { - if (self == aFileCopyDetails) { +- (BOOL)isEqualToSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)aSharedNoteOpenedDetails { + if (self == aSharedNoteOpenedDetails) { return YES; } - if (![self.relocateActionDetails isEqual:aFileCopyDetails.relocateActionDetails]) { - return NO; - } return YES; } @@ -27239,69 +157042,57 @@ - (BOOL)isEqualToFileCopyDetails:(DBTEAMLOGFileCopyDetails *)aFileCopyDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGFileCopyDetailsSerializer +@implementation DBTEAMLOGSharedNoteOpenedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileCopyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"relocate_action_details"] = - [DBArraySerializer serialize:valueObj.relocateActionDetails - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; - }]; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *relocateActionDetails = - [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGFileCopyDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; + return [[DBTEAMLOGSharedNoteOpenedDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileDeleteCommentDetails.h" +#import "DBTEAMLOGSharedNoteOpenedType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileDeleteCommentDetails +@implementation DBTEAMLOGSharedNoteOpenedType #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileDeleteCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharedNoteOpenedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileDeleteCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharedNoteOpenedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileDeleteCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharedNoteOpenedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27318,9 +157109,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -27334,17 +157123,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileDeleteCommentDetails:other]; + return [self isEqualToSharedNoteOpenedType:other]; } -- (BOOL)isEqualToFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)aFileDeleteCommentDetails { - if (self == aFileDeleteCommentDetails) { +- (BOOL)isEqualToSharedNoteOpenedType:(DBTEAMLOGSharedNoteOpenedType *)aSharedNoteOpenedType { + if (self == aSharedNoteOpenedType) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileDeleteCommentDetails.commentText]) { - return NO; - } + if (![self.description_ isEqual:aSharedNoteOpenedType.description_]) { + return NO; } return YES; } @@ -27353,58 +157140,65 @@ - (BOOL)isEqualToFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGFileDeleteCommentDetailsSerializer +@implementation DBTEAMLOGSharedNoteOpenedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSharedNoteOpenedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileDeleteCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGSharedNoteOpenedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileDeleteDetails.h" +#import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" +#import "DBTEAMLOGSharingFolderJoinPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileDeleteDetails +@implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue + previousValue:(DBTEAMLOGSharingFolderJoinPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileDeleteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileDeleteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileDeleteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27421,6 +157215,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + return prime * result; } @@ -27433,103 +157232,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileDeleteDetails:other]; -} - -- (BOOL)isEqualToFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)aFileDeleteDetails { - if (self == aFileDeleteDetails) { - return YES; - } - return YES; -} - -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGFileDeleteDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGFileDeleteDetails *)valueObj { -#pragma unused(valueObj) - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) - - return [[DBTEAMLOGFileDeleteDetails alloc] initDefault]; -} - -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGFileDownloadDetails.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGFileDownloadDetails - -#pragma mark - Constructors - -- (instancetype)initDefault { - - self = [super init]; - if (self) { - } - return self; -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileDownloadDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileDownloadDetailsSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGFileDownloadDetailsSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable - return self; -} - -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - return prime * result; + return [self isEqualToSharingChangeFolderJoinPolicyDetails:other]; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { +- (BOOL)isEqualToSharingChangeFolderJoinPolicyDetails: + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)aSharingChangeFolderJoinPolicyDetails { + if (self == aSharingChangeFolderJoinPolicyDetails) { return YES; } - if (!other || ![other isKindOfClass:[self class]]) { + if (![self.dNewValue isEqual:aSharingChangeFolderJoinPolicyDetails.dNewValue]) { return NO; } - return [self isEqualToFileDownloadDetails:other]; -} - -- (BOOL)isEqualToFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)aFileDownloadDetails { - if (self == aFileDownloadDetails) { - return YES; + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeFolderJoinPolicyDetails.previousValue]) { + return NO; + } } return YES; } @@ -27538,55 +157255,67 @@ - (BOOL)isEqualToFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)aFileDownlo #pragma mark - Serializer Object -@implementation DBTEAMLOGFileDownloadDetailsSerializer +@implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileDownloadDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; } -+ (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharingFolderJoinPolicy *dNewValue = + [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSharingFolderJoinPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFileDownloadDetails alloc] initDefault]; + return + [[DBTEAMLOGSharingChangeFolderJoinPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileEditDetails.h" +#import "DBTEAMLOGSharingChangeFolderJoinPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileEditDetails +@implementation DBTEAMLOGSharingChangeFolderJoinPolicyType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileEditDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileEditDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileEditDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27603,6 +157332,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -27615,13 +157346,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileEditDetails:other]; + return [self isEqualToSharingChangeFolderJoinPolicyType:other]; } -- (BOOL)isEqualToFileEditDetails:(DBTEAMLOGFileEditDetails *)aFileEditDetails { - if (self == aFileEditDetails) { +- (BOOL)isEqualToSharingChangeFolderJoinPolicyType: + (DBTEAMLOGSharingChangeFolderJoinPolicyType *)aSharingChangeFolderJoinPolicyType { + if (self == aSharingChangeFolderJoinPolicyType) { return YES; } + if (![self.description_ isEqual:aSharingChangeFolderJoinPolicyType.description_]) { + return NO; + } return YES; } @@ -27629,55 +157364,65 @@ - (BOOL)isEqualToFileEditDetails:(DBTEAMLOGFileEditDetails *)aFileEditDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGFileEditDetailsSerializer +@implementation DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileEditDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharingChangeFolderJoinPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileEditDetails alloc] initDefault]; + return [[DBTEAMLOGSharingChangeFolderJoinPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileGetCopyReferenceDetails.h" +#import "DBTEAMLOGEnforceLinkPasswordPolicy.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileGetCopyReferenceDetails +@implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGEnforceLinkPasswordPolicy *)dNewValue + previousValue:(DBTEAMLOGEnforceLinkPasswordPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGEnforceLinkPasswordPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileGetCopyReferenceDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileGetCopyReferenceDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileGetCopyReferenceDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27694,6 +157439,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + return prime * result; } @@ -27706,13 +157456,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileGetCopyReferenceDetails:other]; + return [self isEqualToSharingChangeLinkAllowChangeExpirationPolicyDetails:other]; } -- (BOOL)isEqualToFileGetCopyReferenceDetails:(DBTEAMLOGFileGetCopyReferenceDetails *)aFileGetCopyReferenceDetails { - if (self == aFileGetCopyReferenceDetails) { +- (BOOL)isEqualToSharingChangeLinkAllowChangeExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *) + aSharingChangeLinkAllowChangeExpirationPolicyDetails { + if (self == aSharingChangeLinkAllowChangeExpirationPolicyDetails) { return YES; } + if (![self.dNewValue isEqual:aSharingChangeLinkAllowChangeExpirationPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeLinkAllowChangeExpirationPolicyDetails.previousValue]) { + return NO; + } + } return YES; } @@ -27720,60 +157480,68 @@ - (BOOL)isEqualToFileGetCopyReferenceDetails:(DBTEAMLOGFileGetCopyReferenceDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGFileGetCopyReferenceDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGEnforceLinkPasswordPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; } -+ (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)deserialize: + (NSDictionary *)valueDict { + DBTEAMLOGEnforceLinkPasswordPolicy *dNewValue = + [DBTEAMLOGEnforceLinkPasswordPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGEnforceLinkPasswordPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGEnforceLinkPasswordPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFileGetCopyReferenceDetails alloc] initDefault]; + return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileLikeCommentDetails.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileLikeCommentDetails +@implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileLikeCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileLikeCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileLikeCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27790,9 +157558,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -27806,17 +157572,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileLikeCommentDetails:other]; + return [self isEqualToSharingChangeLinkAllowChangeExpirationPolicyType:other]; } -- (BOOL)isEqualToFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)aFileLikeCommentDetails { - if (self == aFileLikeCommentDetails) { +- (BOOL)isEqualToSharingChangeLinkAllowChangeExpirationPolicyType: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)aSharingChangeLinkAllowChangeExpirationPolicyType { + if (self == aSharingChangeLinkAllowChangeExpirationPolicyType) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileLikeCommentDetails.commentText]) { - return NO; - } + if (![self.description_ isEqual:aSharingChangeLinkAllowChangeExpirationPolicyType.description_]) { + return NO; } return YES; } @@ -27825,69 +157590,65 @@ - (BOOL)isEqualToFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)aFile #pragma mark - Serializer Object -@implementation DBTEAMLOGFileLikeCommentDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileLikeCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileOrFolderLogInfo.h" -#import "DBTEAMLOGPathLogInfo.h" +#import "DBTEAMLOGDefaultLinkExpirationDaysPolicy.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileOrFolderLogInfo +@implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails #pragma mark - Constructors -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path - displayName:(NSString *)displayName - fileId:(NSString *)fileId { - [DBStoneValidators nonnullValidator:nil](path); +- (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue + previousValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _path = path; - _displayName = displayName; - _fileId = fileId; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { - return [self initWithPath:path displayName:nil fileId:nil]; +- (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileOrFolderLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileOrFolderLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileOrFolderLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -27904,12 +157665,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.fileId != nil) { - result = prime * result + [self.fileId hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; } return prime * result; @@ -27924,23 +157682,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileOrFolderLogInfo:other]; + return [self isEqualToSharingChangeLinkDefaultExpirationPolicyDetails:other]; } -- (BOOL)isEqualToFileOrFolderLogInfo:(DBTEAMLOGFileOrFolderLogInfo *)aFileOrFolderLogInfo { - if (self == aFileOrFolderLogInfo) { +- (BOOL)isEqualToSharingChangeLinkDefaultExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)aSharingChangeLinkDefaultExpirationPolicyDetails { + if (self == aSharingChangeLinkDefaultExpirationPolicyDetails) { return YES; } - if (![self.path isEqual:aFileOrFolderLogInfo.path]) { + if (![self.dNewValue isEqual:aSharingChangeLinkDefaultExpirationPolicyDetails.dNewValue]) { return NO; } - if (self.displayName) { - if (![self.displayName isEqual:aFileOrFolderLogInfo.displayName]) { - return NO; - } - } - if (self.fileId) { - if (![self.fileId isEqual:aFileOrFolderLogInfo.fileId]) { + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeLinkDefaultExpirationPolicyDetails.previousValue]) { return NO; } } @@ -27951,73 +157705,67 @@ - (BOOL)isEqualToFileOrFolderLogInfo:(DBTEAMLOGFileOrFolderLogInfo *)aFileOrFold #pragma mark - Serializer Object -@implementation DBTEAMLOGFileOrFolderLogInfoSerializer +@implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileOrFolderLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.fileId) { - jsonDict[@"file_id"] = valueObj.fileId; + jsonDict[@"new_value"] = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSString *fileId = valueDict[@"file_id"] ?: nil; ++ (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGDefaultLinkExpirationDaysPolicy *dNewValue = + [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGDefaultLinkExpirationDaysPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFileOrFolderLogInfo alloc] initWithPath:path displayName:displayName fileId:fileId]; + return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileLogInfo.h" -#import "DBTEAMLOGFileOrFolderLogInfo.h" -#import "DBTEAMLOGPathLogInfo.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileLogInfo +@implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType #pragma mark - Constructors -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path - displayName:(NSString *)displayName - fileId:(NSString *)fileId { - [DBStoneValidators nonnullValidator:nil](path); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); - self = [super initWithPath:path displayName:displayName fileId:fileId]; + self = [super init]; if (self) { + _description_ = description_; } return self; } -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { - return [self initWithPath:path displayName:nil fileId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28034,13 +157782,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.fileId != nil) { - result = prime * result + [self.fileId hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -28054,26 +157796,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileLogInfo:other]; + return [self isEqualToSharingChangeLinkDefaultExpirationPolicyType:other]; } -- (BOOL)isEqualToFileLogInfo:(DBTEAMLOGFileLogInfo *)aFileLogInfo { - if (self == aFileLogInfo) { +- (BOOL)isEqualToSharingChangeLinkDefaultExpirationPolicyType: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)aSharingChangeLinkDefaultExpirationPolicyType { + if (self == aSharingChangeLinkDefaultExpirationPolicyType) { return YES; } - if (![self.path isEqual:aFileLogInfo.path]) { + if (![self.description_ isEqual:aSharingChangeLinkDefaultExpirationPolicyType.description_]) { return NO; } - if (self.displayName) { - if (![self.displayName isEqual:aFileLogInfo.displayName]) { - return NO; - } - } - if (self.fileId) { - if (![self.fileId isEqual:aFileLogInfo.fileId]) { - return NO; - } - } return YES; } @@ -28081,71 +157814,65 @@ - (BOOL)isEqualToFileLogInfo:(DBTEAMLOGFileLogInfo *)aFileLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGFileLogInfoSerializer +@implementation DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.fileId) { - jsonDict[@"file_id"] = valueObj.fileId; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSString *fileId = valueDict[@"file_id"] ?: nil; ++ (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileLogInfo alloc] initWithPath:path displayName:displayName fileId:fileId]; + return [[DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileMoveDetails.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGChangeLinkExpirationPolicy.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileMoveDetails +@implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails #pragma mark - Constructors -- (instancetype)initWithRelocateActionDetails: - (NSArray *)relocateActionDetails { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); +- (instancetype)initWithDNewValue:(DBTEAMLOGChangeLinkExpirationPolicy *)dNewValue + previousValue:(DBTEAMLOGChangeLinkExpirationPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _relocateActionDetails = relocateActionDetails; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGChangeLinkExpirationPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileMoveDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileMoveDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileMoveDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28162,7 +157889,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.relocateActionDetails hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } return prime * result; } @@ -28176,16 +157906,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileMoveDetails:other]; + return [self isEqualToSharingChangeLinkEnforcePasswordPolicyDetails:other]; } -- (BOOL)isEqualToFileMoveDetails:(DBTEAMLOGFileMoveDetails *)aFileMoveDetails { - if (self == aFileMoveDetails) { +- (BOOL)isEqualToSharingChangeLinkEnforcePasswordPolicyDetails: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)aSharingChangeLinkEnforcePasswordPolicyDetails { + if (self == aSharingChangeLinkEnforcePasswordPolicyDetails) { return YES; } - if (![self.relocateActionDetails isEqual:aFileMoveDetails.relocateActionDetails]) { + if (![self.dNewValue isEqual:aSharingChangeLinkEnforcePasswordPolicyDetails.dNewValue]) { return NO; } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeLinkEnforcePasswordPolicyDetails.previousValue]) { + return NO; + } + } return YES; } @@ -28193,64 +157929,67 @@ - (BOOL)isEqualToFileMoveDetails:(DBTEAMLOGFileMoveDetails *)aFileMoveDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGFileMoveDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileMoveDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"relocate_action_details"] = - [DBArraySerializer serialize:valueObj.relocateActionDetails - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; - }]; + jsonDict[@"new_value"] = [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGChangeLinkExpirationPolicySerializer serialize:valueObj.previousValue]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *relocateActionDetails = - [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGChangeLinkExpirationPolicy *dNewValue = + [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGChangeLinkExpirationPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMLOGChangeLinkExpirationPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFileMoveDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; + return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFilePermanentlyDeleteDetails.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFilePermanentlyDeleteDetails +@implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFilePermanentlyDeleteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFilePermanentlyDeleteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28267,6 +158006,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -28279,13 +158020,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFilePermanentlyDeleteDetails:other]; + return [self isEqualToSharingChangeLinkEnforcePasswordPolicyType:other]; } -- (BOOL)isEqualToFilePermanentlyDeleteDetails:(DBTEAMLOGFilePermanentlyDeleteDetails *)aFilePermanentlyDeleteDetails { - if (self == aFilePermanentlyDeleteDetails) { +- (BOOL)isEqualToSharingChangeLinkEnforcePasswordPolicyType: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)aSharingChangeLinkEnforcePasswordPolicyType { + if (self == aSharingChangeLinkEnforcePasswordPolicyType) { return YES; } + if (![self.description_ isEqual:aSharingChangeLinkEnforcePasswordPolicyType.description_]) { + return NO; + } return YES; } @@ -28293,55 +158038,65 @@ - (BOOL)isEqualToFilePermanentlyDeleteDetails:(DBTEAMLOGFilePermanentlyDeleteDet #pragma mark - Serializer Object -@implementation DBTEAMLOGFilePermanentlyDeleteDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFilePermanentlyDeleteDetails alloc] initDefault]; + return [[DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFilePreviewDetails.h" +#import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" +#import "DBTEAMLOGSharingLinkPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFilePreviewDetails +@implementation DBTEAMLOGSharingChangeLinkPolicyDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue + previousValue:(DBTEAMLOGSharingLinkPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFilePreviewDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFilePreviewDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFilePreviewDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28358,6 +158113,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + return prime * result; } @@ -28370,13 +158130,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFilePreviewDetails:other]; + return [self isEqualToSharingChangeLinkPolicyDetails:other]; } -- (BOOL)isEqualToFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)aFilePreviewDetails { - if (self == aFilePreviewDetails) { +- (BOOL)isEqualToSharingChangeLinkPolicyDetails: + (DBTEAMLOGSharingChangeLinkPolicyDetails *)aSharingChangeLinkPolicyDetails { + if (self == aSharingChangeLinkPolicyDetails) { return YES; } + if (![self.dNewValue isEqual:aSharingChangeLinkPolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeLinkPolicyDetails.previousValue]) { + return NO; + } + } return YES; } @@ -28384,62 +158153,64 @@ - (BOOL)isEqualToFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)aFilePreviewD #pragma mark - Serializer Object -@implementation DBTEAMLOGFilePreviewDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFilePreviewDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; } -+ (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharingLinkPolicy *dNewValue = [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSharingLinkPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFilePreviewDetails alloc] initDefault]; + return [[DBTEAMLOGSharingChangeLinkPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRenameDetails.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGSharingChangeLinkPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRenameDetails +@implementation DBTEAMLOGSharingChangeLinkPolicyType #pragma mark - Constructors -- (instancetype)initWithRelocateActionDetails: - (NSArray *)relocateActionDetails { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _relocateActionDetails = relocateActionDetails; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRenameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeLinkPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRenameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeLinkPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRenameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeLinkPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28456,7 +158227,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.relocateActionDetails hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -28470,14 +158241,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRenameDetails:other]; + return [self isEqualToSharingChangeLinkPolicyType:other]; } -- (BOOL)isEqualToFileRenameDetails:(DBTEAMLOGFileRenameDetails *)aFileRenameDetails { - if (self == aFileRenameDetails) { +- (BOOL)isEqualToSharingChangeLinkPolicyType:(DBTEAMLOGSharingChangeLinkPolicyType *)aSharingChangeLinkPolicyType { + if (self == aSharingChangeLinkPolicyType) { return YES; } - if (![self.relocateActionDetails isEqual:aFileRenameDetails.relocateActionDetails]) { + if (![self.description_ isEqual:aSharingChangeLinkPolicyType.description_]) { return NO; } return YES; @@ -28487,72 +158258,65 @@ - (BOOL)isEqualToFileRenameDetails:(DBTEAMLOGFileRenameDetails *)aFileRenameDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRenameDetailsSerializer +@implementation DBTEAMLOGSharingChangeLinkPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRenameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"relocate_action_details"] = - [DBArraySerializer serialize:valueObj.relocateActionDetails - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; - }]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *relocateActionDetails = - [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGSharingChangeLinkPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRenameDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; + return [[DBTEAMLOGSharingChangeLinkPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestAddDeadlineDetails.h" +#import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" +#import "DBTEAMLOGSharingMemberPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestAddDeadlineDetails +@implementation DBTEAMLOGSharingChangeMemberPolicyDetails #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId requestTitle:(NSString *)requestTitle { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingMemberPolicy *)dNewValue + previousValue:(DBTEAMLOGSharingMemberPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestTitle = requestTitle; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initDefault { - return [self initWithFileRequestId:nil requestTitle:nil]; +- (instancetype)initWithDNewValue:(DBTEAMLOGSharingMemberPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestAddDeadlineDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestAddDeadlineDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestAddDeadlineDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28569,11 +158333,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; } return prime * result; @@ -28588,21 +158350,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestAddDeadlineDetails:other]; + return [self isEqualToSharingChangeMemberPolicyDetails:other]; } -- (BOOL)isEqualToFileRequestAddDeadlineDetails: - (DBTEAMLOGFileRequestAddDeadlineDetails *)aFileRequestAddDeadlineDetails { - if (self == aFileRequestAddDeadlineDetails) { +- (BOOL)isEqualToSharingChangeMemberPolicyDetails: + (DBTEAMLOGSharingChangeMemberPolicyDetails *)aSharingChangeMemberPolicyDetails { + if (self == aSharingChangeMemberPolicyDetails) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestAddDeadlineDetails.fileRequestId]) { - return NO; - } + if (![self.dNewValue isEqual:aSharingChangeMemberPolicyDetails.dNewValue]) { + return NO; } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestAddDeadlineDetails.requestTitle]) { + if (self.previousValue) { + if (![self.previousValue isEqual:aSharingChangeMemberPolicyDetails.previousValue]) { return NO; } } @@ -28613,75 +158373,65 @@ - (BOOL)isEqualToFileRequestAddDeadlineDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestAddDeadlineDetailsSerializer +@implementation DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestAddDeadlineDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; + jsonDict[@"new_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestAddDeadlineDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; ++ (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSharingMemberPolicy *dNewValue = + [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGSharingMemberPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGFileRequestAddDeadlineDetails alloc] initWithFileRequestId:fileRequestId requestTitle:requestTitle]; + return [[DBTEAMLOGSharingChangeMemberPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestChangeDetails.h" -#import "DBTEAMLOGFileRequestDetails.h" +#import "DBTEAMLOGSharingChangeMemberPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestChangeDetails +@implementation DBTEAMLOGSharingChangeMemberPolicyType #pragma mark - Constructors -- (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails - fileRequestId:(NSString *)fileRequestId - previousDetails:(DBTEAMLOGFileRequestDetails *)previousDetails { - [DBStoneValidators nonnullValidator:nil](dNewDetails); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _previousDetails = previousDetails; - _dNewDetails = dNewDetails; + _description_ = description_; } return self; } -- (instancetype)initWithDNewDetails:(DBTEAMLOGFileRequestDetails *)dNewDetails { - return [self initWithDNewDetails:dNewDetails fileRequestId:nil previousDetails:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestChangeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingChangeMemberPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestChangeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingChangeMemberPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestChangeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingChangeMemberPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28698,13 +158448,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewDetails hash]; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.previousDetails != nil) { - result = prime * result + [self.previousDetails hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -28718,26 +158462,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestChangeDetails:other]; + return [self isEqualToSharingChangeMemberPolicyType:other]; } -- (BOOL)isEqualToFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)aFileRequestChangeDetails { - if (self == aFileRequestChangeDetails) { +- (BOOL)isEqualToSharingChangeMemberPolicyType: + (DBTEAMLOGSharingChangeMemberPolicyType *)aSharingChangeMemberPolicyType { + if (self == aSharingChangeMemberPolicyType) { return YES; } - if (![self.dNewDetails isEqual:aFileRequestChangeDetails.dNewDetails]) { + if (![self.description_ isEqual:aSharingChangeMemberPolicyType.description_]) { return NO; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestChangeDetails.fileRequestId]) { - return NO; - } - } - if (self.previousDetails) { - if (![self.previousDetails isEqual:aFileRequestChangeDetails.previousDetails]) { - return NO; - } - } return YES; } @@ -28745,78 +158480,101 @@ - (BOOL)isEqualToFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestChangeDetailsSerializer +@implementation DBTEAMLOGSharingChangeMemberPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.dNewDetails]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.previousDetails) { - jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFileRequestDetails *dNewDetails = - [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"new_details"]]; - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - DBTEAMLOGFileRequestDetails *previousDetails = - valueDict[@"previous_details"] - ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"previous_details"]] - : nil; ++ (DBTEAMLOGSharingChangeMemberPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRequestChangeDetails alloc] initWithDNewDetails:dNewDetails - fileRequestId:fileRequestId - previousDetails:previousDetails]; + return [[DBTEAMLOGSharingChangeMemberPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestChangeFolderDetails.h" +#import "DBTEAMLOGSharingFolderJoinPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestChangeFolderDetails +@implementation DBTEAMLOGSharingFolderJoinPolicy #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId requestTitle:(NSString *)requestTitle { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithFromAnyone { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingFolderJoinPolicyFromAnyone; + } + return self; +} +- (instancetype)initWithFromTeamOnly { self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestTitle = requestTitle; + _tag = DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly; } return self; } -- (instancetype)initDefault { - return [self initWithFileRequestId:nil requestTitle:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingFolderJoinPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isFromAnyone { + return _tag == DBTEAMLOGSharingFolderJoinPolicyFromAnyone; +} + +- (BOOL)isFromTeamOnly { + return _tag == DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSharingFolderJoinPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: + return @"DBTEAMLOGSharingFolderJoinPolicyFromAnyone"; + case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: + return @"DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly"; + case DBTEAMLOGSharingFolderJoinPolicyOther: + return @"DBTEAMLOGSharingFolderJoinPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestChangeFolderDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestChangeFolderDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestChangeFolderDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingFolderJoinPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28833,11 +158591,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; + switch (_tag) { + case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingFolderJoinPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -28852,23 +158615,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestChangeFolderDetails:other]; + return [self isEqualToSharingFolderJoinPolicy:other]; } -- (BOOL)isEqualToFileRequestChangeFolderDetails: - (DBTEAMLOGFileRequestChangeFolderDetails *)aFileRequestChangeFolderDetails { - if (self == aFileRequestChangeFolderDetails) { +- (BOOL)isEqualToSharingFolderJoinPolicy:(DBTEAMLOGSharingFolderJoinPolicy *)aSharingFolderJoinPolicy { + if (self == aSharingFolderJoinPolicy) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestChangeFolderDetails.fileRequestId]) { - return NO; - } + if (self.tag != aSharingFolderJoinPolicy.tag) { + return NO; } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestChangeFolderDetails.requestTitle]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: + return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; + case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: + return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; + case DBTEAMLOGSharingFolderJoinPolicyOther: + return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; } return YES; } @@ -28877,73 +158640,145 @@ - (BOOL)isEqualToFileRequestChangeFolderDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestChangeFolderDetailsSerializer +@implementation DBTEAMLOGSharingFolderJoinPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeFolderDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; + if ([valueObj isFromAnyone]) { + jsonDict[@".tag"] = @"from_anyone"; + } else if ([valueObj isFromTeamOnly]) { + jsonDict[@".tag"] = @"from_team_only"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestChangeFolderDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; ++ (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return - [[DBTEAMLOGFileRequestChangeFolderDetails alloc] initWithFileRequestId:fileRequestId requestTitle:requestTitle]; + if ([tag isEqualToString:@"from_anyone"]) { + return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithFromAnyone]; + } else if ([tag isEqualToString:@"from_team_only"]) { + return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithFromTeamOnly]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestCloseDetails.h" -#import "DBTEAMLOGFileRequestDetails.h" +#import "DBTEAMLOGSharingLinkPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestCloseDetails +@implementation DBTEAMLOGSharingLinkPolicy #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId - previousDetails:(DBTEAMLOGFileRequestDetails *)previousDetails { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithDefaultNoOne { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingLinkPolicyDefaultNoOne; + } + return self; +} +- (instancetype)initWithDefaultPrivate { self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _previousDetails = previousDetails; + _tag = DBTEAMLOGSharingLinkPolicyDefaultPrivate; } return self; } -- (instancetype)initDefault { - return [self initWithFileRequestId:nil previousDetails:nil]; +- (instancetype)initWithDefaultPublic { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingLinkPolicyDefaultPublic; + } + return self; +} + +- (instancetype)initWithOnlyPrivate { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingLinkPolicyOnlyPrivate; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingLinkPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefaultNoOne { + return _tag == DBTEAMLOGSharingLinkPolicyDefaultNoOne; +} + +- (BOOL)isDefaultPrivate { + return _tag == DBTEAMLOGSharingLinkPolicyDefaultPrivate; +} + +- (BOOL)isDefaultPublic { + return _tag == DBTEAMLOGSharingLinkPolicyDefaultPublic; +} + +- (BOOL)isOnlyPrivate { + return _tag == DBTEAMLOGSharingLinkPolicyOnlyPrivate; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSharingLinkPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSharingLinkPolicyDefaultNoOne: + return @"DBTEAMLOGSharingLinkPolicyDefaultNoOne"; + case DBTEAMLOGSharingLinkPolicyDefaultPrivate: + return @"DBTEAMLOGSharingLinkPolicyDefaultPrivate"; + case DBTEAMLOGSharingLinkPolicyDefaultPublic: + return @"DBTEAMLOGSharingLinkPolicyDefaultPublic"; + case DBTEAMLOGSharingLinkPolicyOnlyPrivate: + return @"DBTEAMLOGSharingLinkPolicyOnlyPrivate"; + case DBTEAMLOGSharingLinkPolicyOther: + return @"DBTEAMLOGSharingLinkPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestCloseDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingLinkPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestCloseDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingLinkPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestCloseDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingLinkPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -28960,11 +158795,22 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.previousDetails != nil) { - result = prime * result + [self.previousDetails hash]; + switch (_tag) { + case DBTEAMLOGSharingLinkPolicyDefaultNoOne: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingLinkPolicyDefaultPrivate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingLinkPolicyDefaultPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingLinkPolicyOnlyPrivate: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingLinkPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -28979,22 +158825,27 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestCloseDetails:other]; + return [self isEqualToSharingLinkPolicy:other]; } -- (BOOL)isEqualToFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)aFileRequestCloseDetails { - if (self == aFileRequestCloseDetails) { +- (BOOL)isEqualToSharingLinkPolicy:(DBTEAMLOGSharingLinkPolicy *)aSharingLinkPolicy { + if (self == aSharingLinkPolicy) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestCloseDetails.fileRequestId]) { - return NO; - } + if (self.tag != aSharingLinkPolicy.tag) { + return NO; } - if (self.previousDetails) { - if (![self.previousDetails isEqual:aFileRequestCloseDetails.previousDetails]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGSharingLinkPolicyDefaultNoOne: + return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; + case DBTEAMLOGSharingLinkPolicyDefaultPrivate: + return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; + case DBTEAMLOGSharingLinkPolicyDefaultPublic: + return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; + case DBTEAMLOGSharingLinkPolicyOnlyPrivate: + return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; + case DBTEAMLOGSharingLinkPolicyOther: + return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; } return YES; } @@ -29003,75 +158854,139 @@ - (BOOL)isEqualToFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)aFi #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestCloseDetailsSerializer +@implementation DBTEAMLOGSharingLinkPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.previousDetails) { - jsonDict[@"previous_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.previousDetails]; + if ([valueObj isDefaultNoOne]) { + jsonDict[@".tag"] = @"default_no_one"; + } else if ([valueObj isDefaultPrivate]) { + jsonDict[@".tag"] = @"default_private"; + } else if ([valueObj isDefaultPublic]) { + jsonDict[@".tag"] = @"default_public"; + } else if ([valueObj isOnlyPrivate]) { + jsonDict[@".tag"] = @"only_private"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - DBTEAMLOGFileRequestDetails *previousDetails = - valueDict[@"previous_details"] - ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"previous_details"]] - : nil; ++ (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGFileRequestCloseDetails alloc] initWithFileRequestId:fileRequestId previousDetails:previousDetails]; + if ([tag isEqualToString:@"default_no_one"]) { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithDefaultNoOne]; + } else if ([tag isEqualToString:@"default_private"]) { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithDefaultPrivate]; + } else if ([tag isEqualToString:@"default_public"]) { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithDefaultPublic]; + } else if ([tag isEqualToString:@"only_private"]) { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOnlyPrivate]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestCreateDetails.h" -#import "DBTEAMLOGFileRequestDetails.h" +#import "DBTEAMLOGSharingMemberPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestCreateDetails +@implementation DBTEAMLOGSharingMemberPolicy #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId - requestDetails:(DBTEAMLOGFileRequestDetails *)requestDetails { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithAllow { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingMemberPolicyAllow; + } + return self; +} +- (instancetype)initWithForbid { self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestDetails = requestDetails; + _tag = DBTEAMLOGSharingMemberPolicyForbid; } return self; } -- (instancetype)initDefault { - return [self initWithFileRequestId:nil requestDetails:nil]; +- (instancetype)initWithForbidWithExclusions { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingMemberPolicyForbidWithExclusions; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSharingMemberPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAllow { + return _tag == DBTEAMLOGSharingMemberPolicyAllow; +} + +- (BOOL)isForbid { + return _tag == DBTEAMLOGSharingMemberPolicyForbid; +} + +- (BOOL)isForbidWithExclusions { + return _tag == DBTEAMLOGSharingMemberPolicyForbidWithExclusions; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSharingMemberPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSharingMemberPolicyAllow: + return @"DBTEAMLOGSharingMemberPolicyAllow"; + case DBTEAMLOGSharingMemberPolicyForbid: + return @"DBTEAMLOGSharingMemberPolicyForbid"; + case DBTEAMLOGSharingMemberPolicyForbidWithExclusions: + return @"DBTEAMLOGSharingMemberPolicyForbidWithExclusions"; + case DBTEAMLOGSharingMemberPolicyOther: + return @"DBTEAMLOGSharingMemberPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSharingMemberPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSharingMemberPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSharingMemberPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29088,11 +159003,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestDetails != nil) { - result = prime * result + [self.requestDetails hash]; + switch (_tag) { + case DBTEAMLOGSharingMemberPolicyAllow: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingMemberPolicyForbid: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingMemberPolicyForbidWithExclusions: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSharingMemberPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -29107,22 +159030,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestCreateDetails:other]; + return [self isEqualToSharingMemberPolicy:other]; } -- (BOOL)isEqualToFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)aFileRequestCreateDetails { - if (self == aFileRequestCreateDetails) { +- (BOOL)isEqualToSharingMemberPolicy:(DBTEAMLOGSharingMemberPolicy *)aSharingMemberPolicy { + if (self == aSharingMemberPolicy) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestCreateDetails.fileRequestId]) { - return NO; - } + if (self.tag != aSharingMemberPolicy.tag) { + return NO; } - if (self.requestDetails) { - if (![self.requestDetails isEqual:aFileRequestCreateDetails.requestDetails]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGSharingMemberPolicyAllow: + return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; + case DBTEAMLOGSharingMemberPolicyForbid: + return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; + case DBTEAMLOGSharingMemberPolicyForbidWithExclusions: + return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; + case DBTEAMLOGSharingMemberPolicyOther: + return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; } return YES; } @@ -29131,74 +159057,82 @@ - (BOOL)isEqualToFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestCreateDetailsSerializer +@implementation DBTEAMLOGSharingMemberPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestDetails) { - jsonDict[@"request_details"] = [DBTEAMLOGFileRequestDetailsSerializer serialize:valueObj.requestDetails]; + if ([valueObj isAllow]) { + jsonDict[@".tag"] = @"allow"; + } else if ([valueObj isForbid]) { + jsonDict[@".tag"] = @"forbid"; + } else if ([valueObj isForbidWithExclusions]) { + jsonDict[@".tag"] = @"forbid_with_exclusions"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - DBTEAMLOGFileRequestDetails *requestDetails = - valueDict[@"request_details"] ? [DBTEAMLOGFileRequestDetailsSerializer deserialize:valueDict[@"request_details"]] - : nil; ++ (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGFileRequestCreateDetails alloc] initWithFileRequestId:fileRequestId requestDetails:requestDetails]; + if ([tag isEqualToString:@"allow"]) { + return [[DBTEAMLOGSharingMemberPolicy alloc] initWithAllow]; + } else if ([tag isEqualToString:@"forbid"]) { + return [[DBTEAMLOGSharingMemberPolicy alloc] initWithForbid]; + } else if ([tag isEqualToString:@"forbid_with_exclusions"]) { + return [[DBTEAMLOGSharingMemberPolicy alloc] initWithForbidWithExclusions]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSharingMemberPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSharingMemberPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestDetails.h" +#import "DBTEAMLOGShmodelDisableDownloadsDetails.h" +#import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestDetails +@implementation DBTEAMLOGShmodelDisableDownloadsDetails #pragma mark - Constructors -- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex - requestTitle:(NSString *)requestTitle - deadline:(NSDate *)deadline { - [DBStoneValidators nonnullValidator:nil](assetIndex); +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { self = [super init]; if (self) { - _requestTitle = requestTitle; - _assetIndex = assetIndex; - _deadline = deadline; + _sharedLinkOwner = sharedLinkOwner; } return self; } -- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex { - return [self initWithAssetIndex:assetIndex requestTitle:nil deadline:nil]; +- (instancetype)initDefault { + return [self initWithSharedLinkOwner:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelDisableDownloadsDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelDisableDownloadsDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelDisableDownloadsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29215,12 +159149,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.assetIndex hash]; - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; - } - if (self.deadline != nil) { - result = prime * result + [self.deadline hash]; + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; } return prime * result; @@ -29235,23 +159165,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestDetails:other]; + return [self isEqualToShmodelDisableDownloadsDetails:other]; } -- (BOOL)isEqualToFileRequestDetails:(DBTEAMLOGFileRequestDetails *)aFileRequestDetails { - if (self == aFileRequestDetails) { +- (BOOL)isEqualToShmodelDisableDownloadsDetails: + (DBTEAMLOGShmodelDisableDownloadsDetails *)aShmodelDisableDownloadsDetails { + if (self == aShmodelDisableDownloadsDetails) { return YES; } - if (![self.assetIndex isEqual:aFileRequestDetails.assetIndex]) { - return NO; - } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestDetails.requestTitle]) { - return NO; - } - } - if (self.deadline) { - if (![self.deadline isEqual:aFileRequestDetails.deadline]) { + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aShmodelDisableDownloadsDetails.sharedLinkOwner]) { return NO; } } @@ -29262,82 +159185,62 @@ - (BOOL)isEqualToFileRequestDetails:(DBTEAMLOGFileRequestDetails *)aFileRequestD #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestDetailsSerializer +@implementation DBTEAMLOGShmodelDisableDownloadsDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"asset_index"] = valueObj.assetIndex; - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; - } - if (valueObj.deadline) { - jsonDict[@"deadline"] = [DBNSDateSerializer serialize:valueObj.deadline dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *assetIndex = valueDict[@"asset_index"]; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; - NSDate *deadline = valueDict[@"deadline"] - ? [DBNSDateSerializer deserialize:valueDict[@"deadline"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] - : nil; ++ (DBTEAMLOGShmodelDisableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; - return - [[DBTEAMLOGFileRequestDetails alloc] initWithAssetIndex:assetIndex requestTitle:requestTitle deadline:deadline]; + return [[DBTEAMLOGShmodelDisableDownloadsDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestReceiveFileDetails.h" +#import "DBTEAMLOGShmodelDisableDownloadsType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestReceiveFileDetails +@implementation DBTEAMLOGShmodelDisableDownloadsType #pragma mark - Constructors -- (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames - fileRequestId:(NSString *)fileRequestId - requestTitle:(NSString *)requestTitle { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](submittedFileNames); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestTitle = requestTitle; - _submittedFileNames = submittedFileNames; + _description_ = description_; } return self; } -- (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames { - return [self initWithSubmittedFileNames:submittedFileNames fileRequestId:nil requestTitle:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestReceiveFileDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelDisableDownloadsTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestReceiveFileDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelDisableDownloadsTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestReceiveFileDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelDisableDownloadsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29354,13 +159257,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.submittedFileNames hash]; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -29374,27 +159271,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestReceiveFileDetails:other]; + return [self isEqualToShmodelDisableDownloadsType:other]; } -- (BOOL)isEqualToFileRequestReceiveFileDetails: - (DBTEAMLOGFileRequestReceiveFileDetails *)aFileRequestReceiveFileDetails { - if (self == aFileRequestReceiveFileDetails) { +- (BOOL)isEqualToShmodelDisableDownloadsType:(DBTEAMLOGShmodelDisableDownloadsType *)aShmodelDisableDownloadsType { + if (self == aShmodelDisableDownloadsType) { return YES; } - if (![self.submittedFileNames isEqual:aFileRequestReceiveFileDetails.submittedFileNames]) { + if (![self.description_ isEqual:aShmodelDisableDownloadsType.description_]) { return NO; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestReceiveFileDetails.fileRequestId]) { - return NO; - } - } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestReceiveFileDetails.requestTitle]) { - return NO; - } - } return YES; } @@ -29402,80 +159288,62 @@ - (BOOL)isEqualToFileRequestReceiveFileDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestReceiveFileDetailsSerializer +@implementation DBTEAMLOGShmodelDisableDownloadsTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"submitted_file_names"] = [DBArraySerializer serialize:valueObj.submittedFileNames - withBlock:^id(id elem0) { - return elem0; - }]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *submittedFileNames = [DBArraySerializer deserialize:valueDict[@"submitted_file_names"] - withBlock:^id(id elem0) { - return elem0; - }]; - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; ++ (DBTEAMLOGShmodelDisableDownloadsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRequestReceiveFileDetails alloc] initWithSubmittedFileNames:submittedFileNames - fileRequestId:fileRequestId - requestTitle:requestTitle]; + return [[DBTEAMLOGShmodelDisableDownloadsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestRemoveDeadlineDetails.h" +#import "DBTEAMLOGShmodelEnableDownloadsDetails.h" +#import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestRemoveDeadlineDetails +@implementation DBTEAMLOGShmodelEnableDownloadsDetails #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId requestTitle:(NSString *)requestTitle { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithSharedLinkOwner:(DBTEAMLOGUserLogInfo *)sharedLinkOwner { self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestTitle = requestTitle; + _sharedLinkOwner = sharedLinkOwner; } return self; } - (instancetype)initDefault { - return [self initWithFileRequestId:nil requestTitle:nil]; + return [self initWithSharedLinkOwner:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelEnableDownloadsDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelEnableDownloadsDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelEnableDownloadsDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29492,11 +159360,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; + if (self.sharedLinkOwner != nil) { + result = prime * result + [self.sharedLinkOwner hash]; } return prime * result; @@ -29511,21 +159376,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestRemoveDeadlineDetails:other]; + return [self isEqualToShmodelEnableDownloadsDetails:other]; } -- (BOOL)isEqualToFileRequestRemoveDeadlineDetails: - (DBTEAMLOGFileRequestRemoveDeadlineDetails *)aFileRequestRemoveDeadlineDetails { - if (self == aFileRequestRemoveDeadlineDetails) { +- (BOOL)isEqualToShmodelEnableDownloadsDetails: + (DBTEAMLOGShmodelEnableDownloadsDetails *)aShmodelEnableDownloadsDetails { + if (self == aShmodelEnableDownloadsDetails) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestRemoveDeadlineDetails.fileRequestId]) { - return NO; - } - } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestRemoveDeadlineDetails.requestTitle]) { + if (self.sharedLinkOwner) { + if (![self.sharedLinkOwner isEqual:aShmodelEnableDownloadsDetails.sharedLinkOwner]) { return NO; } } @@ -29536,71 +159396,62 @@ - (BOOL)isEqualToFileRequestRemoveDeadlineDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer +@implementation DBTEAMLOGShmodelEnableDownloadsDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestRemoveDeadlineDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; + if (valueObj.sharedLinkOwner) { + jsonDict[@"shared_link_owner"] = [DBTEAMLOGUserLogInfoSerializer serialize:valueObj.sharedLinkOwner]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestRemoveDeadlineDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; ++ (DBTEAMLOGShmodelEnableDownloadsDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGUserLogInfo *sharedLinkOwner = + valueDict[@"shared_link_owner"] ? [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"shared_link_owner"]] + : nil; - return - [[DBTEAMLOGFileRequestRemoveDeadlineDetails alloc] initWithFileRequestId:fileRequestId requestTitle:requestTitle]; + return [[DBTEAMLOGShmodelEnableDownloadsDetails alloc] initWithSharedLinkOwner:sharedLinkOwner]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestSendDetails.h" +#import "DBTEAMLOGShmodelEnableDownloadsType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestSendDetails +@implementation DBTEAMLOGShmodelEnableDownloadsType #pragma mark - Constructors -- (instancetype)initWithFileRequestId:(NSString *)fileRequestId requestTitle:(NSString *)requestTitle { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:@"[-_0-9a-zA-Z]+"]](fileRequestId); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _fileRequestId = fileRequestId; - _requestTitle = requestTitle; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithFileRequestId:nil requestTitle:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestSendDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelEnableDownloadsTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestSendDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelEnableDownloadsTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestSendDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelEnableDownloadsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29617,12 +159468,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.fileRequestId != nil) { - result = prime * result + [self.fileRequestId hash]; - } - if (self.requestTitle != nil) { - result = prime * result + [self.requestTitle hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -29636,22 +159482,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestSendDetails:other]; + return [self isEqualToShmodelEnableDownloadsType:other]; } -- (BOOL)isEqualToFileRequestSendDetails:(DBTEAMLOGFileRequestSendDetails *)aFileRequestSendDetails { - if (self == aFileRequestSendDetails) { +- (BOOL)isEqualToShmodelEnableDownloadsType:(DBTEAMLOGShmodelEnableDownloadsType *)aShmodelEnableDownloadsType { + if (self == aShmodelEnableDownloadsType) { return YES; } - if (self.fileRequestId) { - if (![self.fileRequestId isEqual:aFileRequestSendDetails.fileRequestId]) { - return NO; - } - } - if (self.requestTitle) { - if (![self.requestTitle isEqual:aFileRequestSendDetails.requestTitle]) { - return NO; - } + if (![self.description_ isEqual:aShmodelEnableDownloadsType.description_]) { + return NO; } return YES; } @@ -29660,71 +159499,56 @@ - (BOOL)isEqualToFileRequestSendDetails:(DBTEAMLOGFileRequestSendDetails *)aFile #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestSendDetailsSerializer +@implementation DBTEAMLOGShmodelEnableDownloadsTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestSendDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.fileRequestId) { - jsonDict[@"file_request_id"] = valueObj.fileRequestId; - } - if (valueObj.requestTitle) { - jsonDict[@"request_title"] = valueObj.requestTitle; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestSendDetails *)deserialize:(NSDictionary *)valueDict { - NSString *fileRequestId = valueDict[@"file_request_id"] ?: nil; - NSString *requestTitle = valueDict[@"request_title"] ?: nil; ++ (DBTEAMLOGShmodelEnableDownloadsType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRequestSendDetails alloc] initWithFileRequestId:fileRequestId requestTitle:requestTitle]; + return [[DBTEAMLOGShmodelEnableDownloadsType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestsChangePolicyDetails.h" -#import "DBTEAMLOGFileRequestsPolicy.h" +#import "DBTEAMLOGShmodelGroupShareDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestsChangePolicyDetails +@implementation DBTEAMLOGShmodelGroupShareDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue - previousValue:(DBTEAMLOGFileRequestsPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initDefault { self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGFileRequestsPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestsChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestsChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelGroupShareDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestsChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29741,11 +159565,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } - return prime * result; } @@ -29758,22 +159577,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestsChangePolicyDetails:other]; + return [self isEqualToShmodelGroupShareDetails:other]; } -- (BOOL)isEqualToFileRequestsChangePolicyDetails: - (DBTEAMLOGFileRequestsChangePolicyDetails *)aFileRequestsChangePolicyDetails { - if (self == aFileRequestsChangePolicyDetails) { +- (BOOL)isEqualToShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)aShmodelGroupShareDetails { + if (self == aShmodelGroupShareDetails) { return YES; } - if (![self.dNewValue isEqual:aFileRequestsChangePolicyDetails.dNewValue]) { - return NO; - } - if (self.previousValue) { - if (![self.previousValue isEqual:aFileRequestsChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -29781,62 +159591,57 @@ - (BOOL)isEqualToFileRequestsChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestsChangePolicyDetailsSerializer +@implementation DBTEAMLOGShmodelGroupShareDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGFileRequestsPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGFileRequestsPolicySerializer serialize:valueObj.previousValue]; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFileRequestsPolicy *dNewValue = [DBTEAMLOGFileRequestsPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGFileRequestsPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGFileRequestsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGFileRequestsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShmodelGroupShareDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestsEmailsEnabledDetails.h" +#import "DBTEAMLOGShmodelGroupShareType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestsEmailsEnabledDetails +@implementation DBTEAMLOGShmodelGroupShareType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShmodelGroupShareTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShmodelGroupShareTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShmodelGroupShareTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29853,6 +159658,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -29865,14 +159672,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestsEmailsEnabledDetails:other]; + return [self isEqualToShmodelGroupShareType:other]; } -- (BOOL)isEqualToFileRequestsEmailsEnabledDetails: - (DBTEAMLOGFileRequestsEmailsEnabledDetails *)aFileRequestsEmailsEnabledDetails { - if (self == aFileRequestsEmailsEnabledDetails) { +- (BOOL)isEqualToShmodelGroupShareType:(DBTEAMLOGShmodelGroupShareType *)aShmodelGroupShareType { + if (self == aShmodelGroupShareType) { return YES; } + if (![self.description_ isEqual:aShmodelGroupShareType.description_]) { + return NO; + } return YES; } @@ -29880,55 +159689,58 @@ - (BOOL)isEqualToFileRequestsEmailsEnabledDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestsEmailsEnabledDetailsSerializer +@implementation DBTEAMLOGShmodelGroupShareTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShmodelGroupShareType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRequestsEmailsEnabledDetails alloc] initDefault]; + return [[DBTEAMLOGShmodelGroupShareType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h" +#import "DBTEAMLOGShowcaseAccessGrantedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails +@implementation DBTEAMLOGShowcaseAccessGrantedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseAccessGrantedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseAccessGrantedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseAccessGrantedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -29945,6 +159757,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.eventUuid hash]; + return prime * result; } @@ -29957,14 +159771,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestsEmailsRestrictedToTeamOnlyDetails:other]; + return [self isEqualToShowcaseAccessGrantedDetails:other]; } -- (BOOL)isEqualToFileRequestsEmailsRestrictedToTeamOnlyDetails: - (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)aFileRequestsEmailsRestrictedToTeamOnlyDetails { - if (self == aFileRequestsEmailsRestrictedToTeamOnlyDetails) { +- (BOOL)isEqualToShowcaseAccessGrantedDetails:(DBTEAMLOGShowcaseAccessGrantedDetails *)aShowcaseAccessGrantedDetails { + if (self == aShowcaseAccessGrantedDetails) { return YES; } + if (![self.eventUuid isEqual:aShowcaseAccessGrantedDetails.eventUuid]) { + return NO; + } return YES; } @@ -29972,100 +159788,58 @@ - (BOOL)isEqualToFileRequestsEmailsRestrictedToTeamOnlyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetailsSerializer +@implementation DBTEAMLOGShowcaseAccessGrantedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; } -+ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseAccessGrantedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseAccessGrantedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRequestsPolicy.h" +#import "DBTEAMLOGShowcaseAccessGrantedType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRequestsPolicy +@implementation DBTEAMLOGShowcaseAccessGrantedType #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGFileRequestsPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGFileRequestsPolicyEnabled; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGFileRequestsPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGFileRequestsPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGFileRequestsPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGFileRequestsPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGFileRequestsPolicyDisabled: - return @"DBTEAMLOGFileRequestsPolicyDisabled"; - case DBTEAMLOGFileRequestsPolicyEnabled: - return @"DBTEAMLOGFileRequestsPolicyEnabled"; - case DBTEAMLOGFileRequestsPolicyOther: - return @"DBTEAMLOGFileRequestsPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRequestsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseAccessGrantedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRequestsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseAccessGrantedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRequestsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseAccessGrantedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30082,14 +159856,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGFileRequestsPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileRequestsPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGFileRequestsPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -30103,24 +159870,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRequestsPolicy:other]; + return [self isEqualToShowcaseAccessGrantedType:other]; } -- (BOOL)isEqualToFileRequestsPolicy:(DBTEAMLOGFileRequestsPolicy *)aFileRequestsPolicy { - if (self == aFileRequestsPolicy) { +- (BOOL)isEqualToShowcaseAccessGrantedType:(DBTEAMLOGShowcaseAccessGrantedType *)aShowcaseAccessGrantedType { + if (self == aShowcaseAccessGrantedType) { return YES; } - if (self.tag != aFileRequestsPolicy.tag) { + if (![self.description_ isEqual:aShowcaseAccessGrantedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGFileRequestsPolicyDisabled: - return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; - case DBTEAMLOGFileRequestsPolicyEnabled: - return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; - case DBTEAMLOGFileRequestsPolicyOther: - return [[self tagName] isEqual:[aFileRequestsPolicy tagName]]; - } return YES; } @@ -30128,77 +159887,58 @@ - (BOOL)isEqualToFileRequestsPolicy:(DBTEAMLOGFileRequestsPolicy *)aFileRequests #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRequestsPolicySerializer +@implementation DBTEAMLOGShowcaseAccessGrantedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRequestsPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } - -+ (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGFileRequestsPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGFileRequestsPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGFileRequestsPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGFileRequestsPolicy alloc] initWithOther]; - } + ++ (DBTEAMLOGShowcaseAccessGrantedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGShowcaseAccessGrantedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileResolveCommentDetails.h" +#import "DBTEAMLOGShowcaseAddMemberDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileResolveCommentDetails +@implementation DBTEAMLOGShowcaseAddMemberDetails #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _commentText = commentText; + _eventUuid = eventUuid; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileResolveCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseAddMemberDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileResolveCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseAddMemberDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileResolveCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseAddMemberDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30215,9 +159955,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -30231,17 +159969,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileResolveCommentDetails:other]; + return [self isEqualToShowcaseAddMemberDetails:other]; } -- (BOOL)isEqualToFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)aFileResolveCommentDetails { - if (self == aFileResolveCommentDetails) { +- (BOOL)isEqualToShowcaseAddMemberDetails:(DBTEAMLOGShowcaseAddMemberDetails *)aShowcaseAddMemberDetails { + if (self == aShowcaseAddMemberDetails) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileResolveCommentDetails.commentText]) { - return NO; - } + if (![self.eventUuid isEqual:aShowcaseAddMemberDetails.eventUuid]) { + return NO; } return YES; } @@ -30250,58 +159986,58 @@ - (BOOL)isEqualToFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGFileResolveCommentDetailsSerializer +@implementation DBTEAMLOGShowcaseAddMemberDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGShowcaseAddMemberDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGFileResolveCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGShowcaseAddMemberDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRestoreDetails.h" +#import "DBTEAMLOGShowcaseAddMemberType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRestoreDetails +@implementation DBTEAMLOGShowcaseAddMemberType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRestoreDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseAddMemberTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRestoreDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseAddMemberTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRestoreDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseAddMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30318,6 +160054,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -30330,13 +160068,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRestoreDetails:other]; + return [self isEqualToShowcaseAddMemberType:other]; } -- (BOOL)isEqualToFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)aFileRestoreDetails { - if (self == aFileRestoreDetails) { +- (BOOL)isEqualToShowcaseAddMemberType:(DBTEAMLOGShowcaseAddMemberType *)aShowcaseAddMemberType { + if (self == aShowcaseAddMemberType) { return YES; } + if (![self.description_ isEqual:aShowcaseAddMemberType.description_]) { + return NO; + } return YES; } @@ -30344,55 +160085,58 @@ - (BOOL)isEqualToFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)aFileRestoreD #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRestoreDetailsSerializer +@implementation DBTEAMLOGShowcaseAddMemberTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRestoreDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseAddMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRestoreDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseAddMemberType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRevertDetails.h" +#import "DBTEAMLOGShowcaseArchivedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRevertDetails +@implementation DBTEAMLOGShowcaseArchivedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRevertDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseArchivedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRevertDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseArchivedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRevertDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseArchivedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30409,6 +160153,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.eventUuid hash]; + return prime * result; } @@ -30421,13 +160167,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRevertDetails:other]; + return [self isEqualToShowcaseArchivedDetails:other]; } -- (BOOL)isEqualToFileRevertDetails:(DBTEAMLOGFileRevertDetails *)aFileRevertDetails { - if (self == aFileRevertDetails) { +- (BOOL)isEqualToShowcaseArchivedDetails:(DBTEAMLOGShowcaseArchivedDetails *)aShowcaseArchivedDetails { + if (self == aShowcaseArchivedDetails) { return YES; } + if (![self.eventUuid isEqual:aShowcaseArchivedDetails.eventUuid]) { + return NO; + } return YES; } @@ -30435,55 +160184,58 @@ - (BOOL)isEqualToFileRevertDetails:(DBTEAMLOGFileRevertDetails *)aFileRevertDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRevertDetailsSerializer +@implementation DBTEAMLOGShowcaseArchivedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRevertDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; } -+ (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseArchivedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGFileRevertDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseArchivedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileRollbackChangesDetails.h" +#import "DBTEAMLOGShowcaseArchivedType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileRollbackChangesDetails +@implementation DBTEAMLOGShowcaseArchivedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseArchivedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileRollbackChangesDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseArchivedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileRollbackChangesDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseArchivedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30500,6 +160252,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -30512,13 +160266,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileRollbackChangesDetails:other]; + return [self isEqualToShowcaseArchivedType:other]; } -- (BOOL)isEqualToFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)aFileRollbackChangesDetails { - if (self == aFileRollbackChangesDetails) { +- (BOOL)isEqualToShowcaseArchivedType:(DBTEAMLOGShowcaseArchivedType *)aShowcaseArchivedType { + if (self == aShowcaseArchivedType) { return YES; } + if (![self.description_ isEqual:aShowcaseArchivedType.description_]) { + return NO; + } return YES; } @@ -30526,62 +160283,62 @@ - (BOOL)isEqualToFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGFileRollbackChangesDetailsSerializer +@implementation DBTEAMLOGShowcaseArchivedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseArchivedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileRollbackChangesDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseArchivedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileSaveCopyReferenceDetails.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h" +#import "DBTEAMLOGShowcaseDownloadPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileSaveCopyReferenceDetails +@implementation DBTEAMLOGShowcaseChangeDownloadPolicyDetails #pragma mark - Constructors -- (instancetype)initWithRelocateActionDetails: - (NSArray *)relocateActionDetails { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](relocateActionDetails); +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseDownloadPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseDownloadPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _relocateActionDetails = relocateActionDetails; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileSaveCopyReferenceDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileSaveCopyReferenceDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30598,7 +160355,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.relocateActionDetails hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -30612,14 +160370,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileSaveCopyReferenceDetails:other]; + return [self isEqualToShowcaseChangeDownloadPolicyDetails:other]; } -- (BOOL)isEqualToFileSaveCopyReferenceDetails:(DBTEAMLOGFileSaveCopyReferenceDetails *)aFileSaveCopyReferenceDetails { - if (self == aFileSaveCopyReferenceDetails) { +- (BOOL)isEqualToShowcaseChangeDownloadPolicyDetails: + (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)aShowcaseChangeDownloadPolicyDetails { + if (self == aShowcaseChangeDownloadPolicyDetails) { return YES; } - if (![self.relocateActionDetails isEqual:aFileSaveCopyReferenceDetails.relocateActionDetails]) { + if (![self.dNewValue isEqual:aShowcaseChangeDownloadPolicyDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aShowcaseChangeDownloadPolicyDetails.previousValue]) { return NO; } return YES; @@ -30629,69 +160391,62 @@ - (BOOL)isEqualToFileSaveCopyReferenceDetails:(DBTEAMLOGFileSaveCopyReferenceDet #pragma mark - Serializer Object -@implementation DBTEAMLOGFileSaveCopyReferenceDetailsSerializer +@implementation DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"relocate_action_details"] = - [DBArraySerializer serialize:valueObj.relocateActionDetails - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:elem0]; - }]; + jsonDict[@"new_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *relocateActionDetails = - [DBArraySerializer deserialize:valueDict[@"relocate_action_details"] - withBlock:^id(id elem0) { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGShowcaseDownloadPolicy *dNewValue = + [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGShowcaseDownloadPolicy *previousValue = + [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGFileSaveCopyReferenceDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; + return [[DBTEAMLOGShowcaseChangeDownloadPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileUnlikeCommentDetails.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFileUnlikeCommentDetails +@implementation DBTEAMLOGShowcaseChangeDownloadPolicyType #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileUnlikeCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileUnlikeCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30708,9 +160463,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -30724,17 +160477,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileUnlikeCommentDetails:other]; + return [self isEqualToShowcaseChangeDownloadPolicyType:other]; } -- (BOOL)isEqualToFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)aFileUnlikeCommentDetails { - if (self == aFileUnlikeCommentDetails) { +- (BOOL)isEqualToShowcaseChangeDownloadPolicyType: + (DBTEAMLOGShowcaseChangeDownloadPolicyType *)aShowcaseChangeDownloadPolicyType { + if (self == aShowcaseChangeDownloadPolicyType) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileUnlikeCommentDetails.commentText]) { - return NO; - } + if (![self.description_ isEqual:aShowcaseChangeDownloadPolicyType.description_]) { + return NO; } return YES; } @@ -30743,63 +160495,62 @@ - (BOOL)isEqualToFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGFileUnlikeCommentDetailsSerializer +@implementation DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGShowcaseChangeDownloadPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFileUnlikeCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGShowcaseChangeDownloadPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileUnresolveCommentDetails.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h" +#import "DBTEAMLOGShowcaseEnabledPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGFileUnresolveCommentDetails +@implementation DBTEAMLOGShowcaseChangeEnabledPolicyDetails #pragma mark - Constructors -- (instancetype)initWithCommentText:(NSString *)commentText { +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseEnabledPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseEnabledPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _commentText = commentText; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initDefault { - return [self initWithCommentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFileUnresolveCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFileUnresolveCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFileUnresolveCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30816,9 +160567,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -30832,17 +160582,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFileUnresolveCommentDetails:other]; + return [self isEqualToShowcaseChangeEnabledPolicyDetails:other]; } -- (BOOL)isEqualToFileUnresolveCommentDetails:(DBTEAMLOGFileUnresolveCommentDetails *)aFileUnresolveCommentDetails { - if (self == aFileUnresolveCommentDetails) { +- (BOOL)isEqualToShowcaseChangeEnabledPolicyDetails: + (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)aShowcaseChangeEnabledPolicyDetails { + if (self == aShowcaseChangeEnabledPolicyDetails) { return YES; } - if (self.commentText) { - if (![self.commentText isEqual:aFileUnresolveCommentDetails.commentText]) { - return NO; - } + if (![self.dNewValue isEqual:aShowcaseChangeEnabledPolicyDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aShowcaseChangeEnabledPolicyDetails.previousValue]) { + return NO; } return YES; } @@ -30851,67 +160603,62 @@ - (BOOL)isEqualToFileUnresolveCommentDetails:(DBTEAMLOGFileUnresolveCommentDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGFileUnresolveCommentDetailsSerializer +@implementation DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"new_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGShowcaseEnabledPolicy *dNewValue = + [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGShowcaseEnabledPolicy *previousValue = + [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGFileUnresolveCommentDetails alloc] initWithCommentText:commentText]; + return [[DBTEAMLOGShowcaseChangeEnabledPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFileOrFolderLogInfo.h" -#import "DBTEAMLOGFolderLogInfo.h" -#import "DBTEAMLOGPathLogInfo.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGFolderLogInfo +@implementation DBTEAMLOGShowcaseChangeEnabledPolicyType #pragma mark - Constructors -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path - displayName:(NSString *)displayName - fileId:(NSString *)fileId { - [DBStoneValidators nonnullValidator:nil](path); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); - self = [super initWithPath:path displayName:displayName fileId:fileId]; + self = [super init]; if (self) { + _description_ = description_; } return self; } -- (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path { - return [self initWithPath:path displayName:nil fileId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGFolderLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGFolderLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGFolderLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -30928,13 +160675,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.path hash]; - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.fileId != nil) { - result = prime * result + [self.fileId hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -30948,26 +160689,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToFolderLogInfo:other]; + return [self isEqualToShowcaseChangeEnabledPolicyType:other]; } -- (BOOL)isEqualToFolderLogInfo:(DBTEAMLOGFolderLogInfo *)aFolderLogInfo { - if (self == aFolderLogInfo) { +- (BOOL)isEqualToShowcaseChangeEnabledPolicyType: + (DBTEAMLOGShowcaseChangeEnabledPolicyType *)aShowcaseChangeEnabledPolicyType { + if (self == aShowcaseChangeEnabledPolicyType) { return YES; } - if (![self.path isEqual:aFolderLogInfo.path]) { + if (![self.description_ isEqual:aShowcaseChangeEnabledPolicyType.description_]) { return NO; } - if (self.displayName) { - if (![self.displayName isEqual:aFolderLogInfo.displayName]) { - return NO; - } - } - if (self.fileId) { - if (![self.fileId isEqual:aFolderLogInfo.fileId]) { - return NO; - } - } return YES; } @@ -30975,76 +160707,62 @@ - (BOOL)isEqualToFolderLogInfo:(DBTEAMLOGFolderLogInfo *)aFolderLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGFolderLogInfoSerializer +@implementation DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGFolderLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"path"] = [DBTEAMLOGPathLogInfoSerializer serialize:valueObj.path]; - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.fileId) { - jsonDict[@"file_id"] = valueObj.fileId; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPathLogInfo *path = [DBTEAMLOGPathLogInfoSerializer deserialize:valueDict[@"path"]]; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSString *fileId = valueDict[@"file_id"] ?: nil; ++ (DBTEAMLOGShowcaseChangeEnabledPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGFolderLogInfo alloc] initWithPath:path displayName:displayName fileId:fileId]; + return [[DBTEAMLOGShowcaseChangeEnabledPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGeoLocationLogInfo.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h" +#import "DBTEAMLOGShowcaseExternalSharingPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGGeoLocationLogInfo +@implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails #pragma mark - Constructors -- (instancetype)initWithIpAddress:(NSString *)ipAddress - city:(NSString *)city - region:(NSString *)region - country:(NSString *)country { - [DBStoneValidators nonnullValidator:nil](ipAddress); +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _city = city; - _region = region; - _country = country; - _ipAddress = ipAddress; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initWithIpAddress:(NSString *)ipAddress { - return [self initWithIpAddress:ipAddress city:nil region:nil country:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGeoLocationLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGeoLocationLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGeoLocationLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31061,16 +160779,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.ipAddress hash]; - if (self.city != nil) { - result = prime * result + [self.city hash]; - } - if (self.region != nil) { - result = prime * result + [self.region hash]; - } - if (self.country != nil) { - result = prime * result + [self.country hash]; - } + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -31084,30 +160794,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGeoLocationLogInfo:other]; + return [self isEqualToShowcaseChangeExternalSharingPolicyDetails:other]; } -- (BOOL)isEqualToGeoLocationLogInfo:(DBTEAMLOGGeoLocationLogInfo *)aGeoLocationLogInfo { - if (self == aGeoLocationLogInfo) { +- (BOOL)isEqualToShowcaseChangeExternalSharingPolicyDetails: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)aShowcaseChangeExternalSharingPolicyDetails { + if (self == aShowcaseChangeExternalSharingPolicyDetails) { return YES; } - if (![self.ipAddress isEqual:aGeoLocationLogInfo.ipAddress]) { + if (![self.dNewValue isEqual:aShowcaseChangeExternalSharingPolicyDetails.dNewValue]) { return NO; } - if (self.city) { - if (![self.city isEqual:aGeoLocationLogInfo.city]) { - return NO; - } - } - if (self.region) { - if (![self.region isEqual:aGeoLocationLogInfo.region]) { - return NO; - } - } - if (self.country) { - if (![self.country isEqual:aGeoLocationLogInfo.country]) { - return NO; - } + if (![self.previousValue isEqual:aShowcaseChangeExternalSharingPolicyDetails.previousValue]) { + return NO; } return YES; } @@ -31116,83 +160815,63 @@ - (BOOL)isEqualToGeoLocationLogInfo:(DBTEAMLOGGeoLocationLogInfo *)aGeoLocationL #pragma mark - Serializer Object -@implementation DBTEAMLOGGeoLocationLogInfoSerializer +@implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGeoLocationLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"ip_address"] = valueObj.ipAddress; - if (valueObj.city) { - jsonDict[@"city"] = valueObj.city; - } - if (valueObj.region) { - jsonDict[@"region"] = valueObj.region; - } - if (valueObj.country) { - jsonDict[@"country"] = valueObj.country; - } + jsonDict[@"new_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *ipAddress = valueDict[@"ip_address"]; - NSString *city = valueDict[@"city"] ?: nil; - NSString *region = valueDict[@"region"] ?: nil; - NSString *country = valueDict[@"country"] ?: nil; ++ (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGShowcaseExternalSharingPolicy *dNewValue = + [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGShowcaseExternalSharingPolicy *previousValue = + [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGGeoLocationLogInfo alloc] initWithIpAddress:ipAddress city:city region:region country:country]; + return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMCOMMONTimeRange.h" -#import "DBTEAMLOGEventCategory.h" -#import "DBTEAMLOGGetTeamEventsArg.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGGetTeamEventsArg +@implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyType #pragma mark - Constructors -- (instancetype)initWithLimit:(NSNumber *)limit - accountId:(NSString *)accountId - time:(DBTEAMCOMMONTimeRange *)time - category:(DBTEAMLOGEventCategory *)category { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _limit = limit ?: @(1000); - _accountId = accountId; - _time = time; - _category = category; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithLimit:nil accountId:nil time:nil category:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGetTeamEventsArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGetTeamEventsArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGetTeamEventsArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31209,16 +160888,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.limit hash]; - if (self.accountId != nil) { - result = prime * result + [self.accountId hash]; - } - if (self.time != nil) { - result = prime * result + [self.time hash]; - } - if (self.category != nil) { - result = prime * result + [self.category hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -31232,31 +160902,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTeamEventsArg:other]; + return [self isEqualToShowcaseChangeExternalSharingPolicyType:other]; } -- (BOOL)isEqualToGetTeamEventsArg:(DBTEAMLOGGetTeamEventsArg *)aGetTeamEventsArg { - if (self == aGetTeamEventsArg) { +- (BOOL)isEqualToShowcaseChangeExternalSharingPolicyType: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)aShowcaseChangeExternalSharingPolicyType { + if (self == aShowcaseChangeExternalSharingPolicyType) { return YES; } - if (![self.limit isEqual:aGetTeamEventsArg.limit]) { + if (![self.description_ isEqual:aShowcaseChangeExternalSharingPolicyType.description_]) { return NO; } - if (self.accountId) { - if (![self.accountId isEqual:aGetTeamEventsArg.accountId]) { - return NO; - } - } - if (self.time) { - if (![self.time isEqual:aGetTeamEventsArg.time]) { - return NO; - } - } - if (self.category) { - if (![self.category isEqual:aGetTeamEventsArg.category]) { - return NO; - } - } return YES; } @@ -31264,72 +160920,58 @@ - (BOOL)isEqualToGetTeamEventsArg:(DBTEAMLOGGetTeamEventsArg *)aGetTeamEventsArg #pragma mark - Serializer Object -@implementation DBTEAMLOGGetTeamEventsArgSerializer +@implementation DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"limit"] = valueObj.limit; - if (valueObj.accountId) { - jsonDict[@"account_id"] = valueObj.accountId; - } - if (valueObj.time) { - jsonDict[@"time"] = [DBTEAMCOMMONTimeRangeSerializer serialize:valueObj.time]; - } - if (valueObj.category) { - jsonDict[@"category"] = [DBTEAMLOGEventCategorySerializer serialize:valueObj.category]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)valueDict { - NSNumber *limit = valueDict[@"limit"] ?: @(1000); - NSString *accountId = valueDict[@"account_id"] ?: nil; - DBTEAMCOMMONTimeRange *time = - valueDict[@"time"] ? [DBTEAMCOMMONTimeRangeSerializer deserialize:valueDict[@"time"]] : nil; - DBTEAMLOGEventCategory *category = - valueDict[@"category"] ? [DBTEAMLOGEventCategorySerializer deserialize:valueDict[@"category"]] : nil; ++ (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGetTeamEventsArg alloc] initWithLimit:limit accountId:accountId time:time category:category]; + return [[DBTEAMLOGShowcaseChangeExternalSharingPolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGetTeamEventsContinueArg.h" +#import "DBTEAMLOGShowcaseCreatedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGetTeamEventsContinueArg +@implementation DBTEAMLOGShowcaseCreatedDetails #pragma mark - Constructors -- (instancetype)initWithCursor:(NSString *)cursor { - [DBStoneValidators nonnullValidator:nil](cursor); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _cursor = cursor; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGetTeamEventsContinueArgSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseCreatedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGetTeamEventsContinueArgSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseCreatedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGetTeamEventsContinueArgSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseCreatedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31346,7 +160988,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.cursor hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -31360,14 +161002,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTeamEventsContinueArg:other]; + return [self isEqualToShowcaseCreatedDetails:other]; } -- (BOOL)isEqualToGetTeamEventsContinueArg:(DBTEAMLOGGetTeamEventsContinueArg *)aGetTeamEventsContinueArg { - if (self == aGetTeamEventsContinueArg) { +- (BOOL)isEqualToShowcaseCreatedDetails:(DBTEAMLOGShowcaseCreatedDetails *)aShowcaseCreatedDetails { + if (self == aShowcaseCreatedDetails) { return YES; } - if (![self.cursor isEqual:aGetTeamEventsContinueArg.cursor]) { + if (![self.eventUuid isEqual:aShowcaseCreatedDetails.eventUuid]) { return NO; } return YES; @@ -31377,87 +161019,58 @@ - (BOOL)isEqualToGetTeamEventsContinueArg:(DBTEAMLOGGetTeamEventsContinueArg *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGGetTeamEventsContinueArgSerializer +@implementation DBTEAMLOGShowcaseCreatedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueArg *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"cursor"] = valueObj.cursor; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)valueDict { - NSString *cursor = valueDict[@"cursor"]; ++ (DBTEAMLOGShowcaseCreatedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGGetTeamEventsContinueArg alloc] initWithCursor:cursor]; + return [[DBTEAMLOGShowcaseCreatedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGetTeamEventsContinueError.h" +#import "DBTEAMLOGShowcaseCreatedType.h" #pragma mark - API Object -@implementation DBTEAMLOGGetTeamEventsContinueError +@implementation DBTEAMLOGShowcaseCreatedType #pragma mark - Constructors -- (instancetype)initWithBadCursor { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGetTeamEventsContinueErrorBadCursor; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGGetTeamEventsContinueErrorOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isBadCursor { - return _tag == DBTEAMLOGGetTeamEventsContinueErrorBadCursor; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGGetTeamEventsContinueErrorOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: - return @"DBTEAMLOGGetTeamEventsContinueErrorBadCursor"; - case DBTEAMLOGGetTeamEventsContinueErrorOther: - return @"DBTEAMLOGGetTeamEventsContinueErrorOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGetTeamEventsContinueErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseCreatedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGetTeamEventsContinueErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseCreatedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGetTeamEventsContinueErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseCreatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31474,12 +161087,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGetTeamEventsContinueErrorOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -31493,22 +161101,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTeamEventsContinueError:other]; + return [self isEqualToShowcaseCreatedType:other]; } -- (BOOL)isEqualToGetTeamEventsContinueError:(DBTEAMLOGGetTeamEventsContinueError *)aGetTeamEventsContinueError { - if (self == aGetTeamEventsContinueError) { +- (BOOL)isEqualToShowcaseCreatedType:(DBTEAMLOGShowcaseCreatedType *)aShowcaseCreatedType { + if (self == aShowcaseCreatedType) { return YES; } - if (self.tag != aGetTeamEventsContinueError.tag) { + if (![self.description_ isEqual:aShowcaseCreatedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGGetTeamEventsContinueErrorBadCursor: - return [[self tagName] isEqual:[aGetTeamEventsContinueError tagName]]; - case DBTEAMLOGGetTeamEventsContinueErrorOther: - return [[self tagName] isEqual:[aGetTeamEventsContinueError tagName]]; - } return YES; } @@ -31516,113 +161118,63 @@ - (BOOL)isEqualToGetTeamEventsContinueError:(DBTEAMLOGGetTeamEventsContinueError #pragma mark - Serializer Object -@implementation DBTEAMLOGGetTeamEventsContinueErrorSerializer +@implementation DBTEAMLOGShowcaseCreatedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isBadCursor]) { - jsonDict[@".tag"] = @"bad_cursor"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; - - if ([tag isEqualToString:@"bad_cursor"]) { - return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithBadCursor]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithOther]; - } else { - return [[DBTEAMLOGGetTeamEventsContinueError alloc] initWithOther]; - } -} - -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGGetTeamEventsError.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGGetTeamEventsError - -#pragma mark - Constructors - -- (instancetype)initWithAccountIdNotFound { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGetTeamEventsErrorAccountIdNotFound; - } - return self; -} - -- (instancetype)initWithInvalidTimeRange { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGetTeamEventsErrorInvalidTimeRange; - } - return self; -} - -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGetTeamEventsErrorOther; - } - return self; -} - -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods + jsonDict[@"description"] = valueObj.description_; -- (BOOL)isAccountIdNotFound { - return _tag == DBTEAMLOGGetTeamEventsErrorAccountIdNotFound; + return jsonDict; } -- (BOOL)isInvalidTimeRange { - return _tag == DBTEAMLOGGetTeamEventsErrorInvalidTimeRange; -} ++ (DBTEAMLOGShowcaseCreatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; -- (BOOL)isOther { - return _tag == DBTEAMLOGGetTeamEventsErrorOther; + return [[DBTEAMLOGShowcaseCreatedType alloc] initWithDescription_:description_]; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: - return @"DBTEAMLOGGetTeamEventsErrorAccountIdNotFound"; - case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: - return @"DBTEAMLOGGetTeamEventsErrorInvalidTimeRange"; - case DBTEAMLOGGetTeamEventsErrorOther: - return @"DBTEAMLOGGetTeamEventsErrorOther"; +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGShowcaseDeleteCommentDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGShowcaseDeleteCommentDetails + +#pragma mark - Constructors + +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); + + self = [super init]; + if (self) { + _eventUuid = eventUuid; + _commentText = commentText; } + return self; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGetTeamEventsErrorSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseDeleteCommentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGetTeamEventsErrorSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseDeleteCommentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGetTeamEventsErrorSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseDeleteCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31639,13 +161191,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGetTeamEventsErrorOther: - result = prime * result + [[self tagName] hash]; + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; } return prime * result; @@ -31660,23 +161208,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTeamEventsError:other]; + return [self isEqualToShowcaseDeleteCommentDetails:other]; } -- (BOOL)isEqualToGetTeamEventsError:(DBTEAMLOGGetTeamEventsError *)aGetTeamEventsError { - if (self == aGetTeamEventsError) { +- (BOOL)isEqualToShowcaseDeleteCommentDetails:(DBTEAMLOGShowcaseDeleteCommentDetails *)aShowcaseDeleteCommentDetails { + if (self == aShowcaseDeleteCommentDetails) { return YES; } - if (self.tag != aGetTeamEventsError.tag) { + if (![self.eventUuid isEqual:aShowcaseDeleteCommentDetails.eventUuid]) { return NO; } - switch (_tag) { - case DBTEAMLOGGetTeamEventsErrorAccountIdNotFound: - return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; - case DBTEAMLOGGetTeamEventsErrorInvalidTimeRange: - return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; - case DBTEAMLOGGetTeamEventsErrorOther: - return [[self tagName] isEqual:[aGetTeamEventsError tagName]]; + if (self.commentText) { + if (![self.commentText isEqual:aShowcaseDeleteCommentDetails.commentText]) { + return NO; + } } return YES; } @@ -31685,84 +161230,62 @@ - (BOOL)isEqualToGetTeamEventsError:(DBTEAMLOGGetTeamEventsError *)aGetTeamEvent #pragma mark - Serializer Object -@implementation DBTEAMLOGGetTeamEventsErrorSerializer +@implementation DBTEAMLOGShowcaseDeleteCommentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsError *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAccountIdNotFound]) { - jsonDict[@".tag"] = @"account_id_not_found"; - } else if ([valueObj isInvalidTimeRange]) { - jsonDict[@".tag"] = @"invalid_time_range"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcaseDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; - if ([tag isEqualToString:@"account_id_not_found"]) { - return [[DBTEAMLOGGetTeamEventsError alloc] initWithAccountIdNotFound]; - } else if ([tag isEqualToString:@"invalid_time_range"]) { - return [[DBTEAMLOGGetTeamEventsError alloc] initWithInvalidTimeRange]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGGetTeamEventsError alloc] initWithOther]; - } else { - return [[DBTEAMLOGGetTeamEventsError alloc] initWithOther]; - } + return [[DBTEAMLOGShowcaseDeleteCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGetTeamEventsResult.h" -#import "DBTEAMLOGTeamEvent.h" +#import "DBTEAMLOGShowcaseDeleteCommentType.h" #pragma mark - API Object -@implementation DBTEAMLOGGetTeamEventsResult +@implementation DBTEAMLOGShowcaseDeleteCommentType #pragma mark - Constructors -- (instancetype)initWithEvents:(NSArray *)events - cursor:(NSString *)cursor - hasMore:(NSNumber *)hasMore { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](events); - [DBStoneValidators nonnullValidator:nil](cursor); - [DBStoneValidators nonnullValidator:nil](hasMore); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _events = events; - _cursor = cursor; - _hasMore = hasMore; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGetTeamEventsResultSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseDeleteCommentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGetTeamEventsResultSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseDeleteCommentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGetTeamEventsResultSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseDeleteCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31779,9 +161302,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.events hash]; - result = prime * result + [self.cursor hash]; - result = prime * result + [self.hasMore hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -31795,20 +161316,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGetTeamEventsResult:other]; + return [self isEqualToShowcaseDeleteCommentType:other]; } -- (BOOL)isEqualToGetTeamEventsResult:(DBTEAMLOGGetTeamEventsResult *)aGetTeamEventsResult { - if (self == aGetTeamEventsResult) { +- (BOOL)isEqualToShowcaseDeleteCommentType:(DBTEAMLOGShowcaseDeleteCommentType *)aShowcaseDeleteCommentType { + if (self == aShowcaseDeleteCommentType) { return YES; } - if (![self.events isEqual:aGetTeamEventsResult.events]) { - return NO; - } - if (![self.cursor isEqual:aGetTeamEventsResult.cursor]) { - return NO; - } - if (![self.hasMore isEqual:aGetTeamEventsResult.hasMore]) { + if (![self.description_ isEqual:aShowcaseDeleteCommentType.description_]) { return NO; } return YES; @@ -31818,76 +161333,60 @@ - (BOOL)isEqualToGetTeamEventsResult:(DBTEAMLOGGetTeamEventsResult *)aGetTeamEve #pragma mark - Serializer Object -@implementation DBTEAMLOGGetTeamEventsResultSerializer +@implementation DBTEAMLOGShowcaseDeleteCommentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsResult *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"events"] = [DBArraySerializer serialize:valueObj.events - withBlock:^id(id elem0) { - return [DBTEAMLOGTeamEventSerializer serialize:elem0]; - }]; - jsonDict[@"cursor"] = valueObj.cursor; - jsonDict[@"has_more"] = valueObj.hasMore; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)valueDict { - NSArray *events = - [DBArraySerializer deserialize:valueDict[@"events"] - withBlock:^id(id elem0) { - return [DBTEAMLOGTeamEventSerializer deserialize:elem0]; - }]; - NSString *cursor = valueDict[@"cursor"]; - NSNumber *hasMore = valueDict[@"has_more"]; ++ (DBTEAMLOGShowcaseDeleteCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGetTeamEventsResult alloc] initWithEvents:events cursor:cursor hasMore:hasMore]; + return [[DBTEAMLOGShowcaseDeleteCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGoogleSsoChangePolicyDetails.h" -#import "DBTEAMLOGGoogleSsoPolicy.h" +#import "DBTEAMLOGShowcaseDocumentLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGGoogleSsoChangePolicyDetails +@implementation DBTEAMLOGShowcaseDocumentLogInfo #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue - previousValue:(DBTEAMLOGGoogleSsoPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithShowcaseId:(NSString *)showcaseId showcaseTitle:(NSString *)showcaseTitle { + [DBStoneValidators nonnullValidator:nil](showcaseId); + [DBStoneValidators nonnullValidator:nil](showcaseTitle); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _showcaseId = showcaseId; + _showcaseTitle = showcaseTitle; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGGoogleSsoPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseDocumentLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseDocumentLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseDocumentLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -31904,10 +161403,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.showcaseId hash]; + result = prime * result + [self.showcaseTitle hash]; return prime * result; } @@ -31921,20 +161418,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGoogleSsoChangePolicyDetails:other]; + return [self isEqualToShowcaseDocumentLogInfo:other]; } -- (BOOL)isEqualToGoogleSsoChangePolicyDetails:(DBTEAMLOGGoogleSsoChangePolicyDetails *)aGoogleSsoChangePolicyDetails { - if (self == aGoogleSsoChangePolicyDetails) { +- (BOOL)isEqualToShowcaseDocumentLogInfo:(DBTEAMLOGShowcaseDocumentLogInfo *)aShowcaseDocumentLogInfo { + if (self == aShowcaseDocumentLogInfo) { return YES; } - if (![self.dNewValue isEqual:aGoogleSsoChangePolicyDetails.dNewValue]) { + if (![self.showcaseId isEqual:aShowcaseDocumentLogInfo.showcaseId]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aGoogleSsoChangePolicyDetails.previousValue]) { - return NO; - } + if (![self.showcaseTitle isEqual:aShowcaseDocumentLogInfo.showcaseTitle]) { + return NO; } return YES; } @@ -31943,44 +161438,40 @@ - (BOOL)isEqualToGoogleSsoChangePolicyDetails:(DBTEAMLOGGoogleSsoChangePolicyDet #pragma mark - Serializer Object -@implementation DBTEAMLOGGoogleSsoChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseDocumentLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseDocumentLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGGoogleSsoPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGGoogleSsoPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"showcase_id"] = valueObj.showcaseId; + jsonDict[@"showcase_title"] = valueObj.showcaseTitle; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGGoogleSsoPolicy *dNewValue = [DBTEAMLOGGoogleSsoPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGGoogleSsoPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGGoogleSsoPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *showcaseId = valueDict[@"showcase_id"]; + NSString *showcaseTitle = valueDict[@"showcase_title"]; - return [[DBTEAMLOGGoogleSsoChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseDocumentLogInfo alloc] initWithShowcaseId:showcaseId showcaseTitle:showcaseTitle]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGoogleSsoPolicy.h" +#import "DBTEAMLOGShowcaseDownloadPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGGoogleSsoPolicy +@implementation DBTEAMLOGShowcaseDownloadPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGGoogleSsoPolicyDisabled; + _tag = DBTEAMLOGShowcaseDownloadPolicyDisabled; } return self; } @@ -31988,7 +161479,7 @@ - (instancetype)initWithDisabled { - (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMLOGGoogleSsoPolicyEnabled; + _tag = DBTEAMLOGShowcaseDownloadPolicyEnabled; } return self; } @@ -31996,7 +161487,7 @@ - (instancetype)initWithEnabled { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGGoogleSsoPolicyOther; + _tag = DBTEAMLOGShowcaseDownloadPolicyOther; } return self; } @@ -32006,25 +161497,25 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMLOGGoogleSsoPolicyDisabled; + return _tag == DBTEAMLOGShowcaseDownloadPolicyDisabled; } - (BOOL)isEnabled { - return _tag == DBTEAMLOGGoogleSsoPolicyEnabled; + return _tag == DBTEAMLOGShowcaseDownloadPolicyEnabled; } - (BOOL)isOther { - return _tag == DBTEAMLOGGoogleSsoPolicyOther; + return _tag == DBTEAMLOGShowcaseDownloadPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGGoogleSsoPolicyDisabled: - return @"DBTEAMLOGGoogleSsoPolicyDisabled"; - case DBTEAMLOGGoogleSsoPolicyEnabled: - return @"DBTEAMLOGGoogleSsoPolicyEnabled"; - case DBTEAMLOGGoogleSsoPolicyOther: - return @"DBTEAMLOGGoogleSsoPolicyOther"; + case DBTEAMLOGShowcaseDownloadPolicyDisabled: + return @"DBTEAMLOGShowcaseDownloadPolicyDisabled"; + case DBTEAMLOGShowcaseDownloadPolicyEnabled: + return @"DBTEAMLOGShowcaseDownloadPolicyEnabled"; + case DBTEAMLOGShowcaseDownloadPolicyOther: + return @"DBTEAMLOGShowcaseDownloadPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -32032,18 +161523,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGoogleSsoPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseDownloadPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGoogleSsoPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseDownloadPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGoogleSsoPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseDownloadPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32061,12 +161552,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGGoogleSsoPolicyDisabled: + case DBTEAMLOGShowcaseDownloadPolicyDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGoogleSsoPolicyEnabled: + break; + case DBTEAMLOGShowcaseDownloadPolicyEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGoogleSsoPolicyOther: + break; + case DBTEAMLOGShowcaseDownloadPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -32081,23 +161575,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGoogleSsoPolicy:other]; + return [self isEqualToShowcaseDownloadPolicy:other]; } -- (BOOL)isEqualToGoogleSsoPolicy:(DBTEAMLOGGoogleSsoPolicy *)aGoogleSsoPolicy { - if (self == aGoogleSsoPolicy) { +- (BOOL)isEqualToShowcaseDownloadPolicy:(DBTEAMLOGShowcaseDownloadPolicy *)aShowcaseDownloadPolicy { + if (self == aShowcaseDownloadPolicy) { return YES; } - if (self.tag != aGoogleSsoPolicy.tag) { + if (self.tag != aShowcaseDownloadPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMLOGGoogleSsoPolicyDisabled: - return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; - case DBTEAMLOGGoogleSsoPolicyEnabled: - return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; - case DBTEAMLOGGoogleSsoPolicyOther: - return [[self tagName] isEqual:[aGoogleSsoPolicy tagName]]; + case DBTEAMLOGShowcaseDownloadPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; + case DBTEAMLOGShowcaseDownloadPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; + case DBTEAMLOGShowcaseDownloadPolicyOther: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; } return YES; } @@ -32106,9 +161600,9 @@ - (BOOL)isEqualToGoogleSsoPolicy:(DBTEAMLOGGoogleSsoPolicy *)aGoogleSsoPolicy { #pragma mark - Serializer Object -@implementation DBTEAMLOGGoogleSsoPolicySerializer +@implementation DBTEAMLOGShowcaseDownloadPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseDownloadPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { @@ -32121,20 +161615,20 @@ + (NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGShowcaseDownloadPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithDisabled]; + return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithEnabled]; + return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithOther]; + return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithOther]; } else { - return [[DBTEAMLOGGoogleSsoPolicy alloc] initWithOther]; + return [[DBTEAMLOGShowcaseDownloadPolicy alloc] initWithOther]; } } @@ -32142,38 +161636,43 @@ + (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupAddExternalIdDetails.h" +#import "DBTEAMLOGShowcaseEditCommentDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupAddExternalIdDetails +@implementation DBTEAMLOGShowcaseEditCommentDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _dNewValue = dNewValue; + _eventUuid = eventUuid; + _commentText = commentText; } return self; } +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseEditCommentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupAddExternalIdDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseEditCommentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupAddExternalIdDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseEditCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32190,7 +161689,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } return prime * result; } @@ -32204,16 +161706,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupAddExternalIdDetails:other]; + return [self isEqualToShowcaseEditCommentDetails:other]; } -- (BOOL)isEqualToGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)aGroupAddExternalIdDetails { - if (self == aGroupAddExternalIdDetails) { +- (BOOL)isEqualToShowcaseEditCommentDetails:(DBTEAMLOGShowcaseEditCommentDetails *)aShowcaseEditCommentDetails { + if (self == aShowcaseEditCommentDetails) { return YES; } - if (![self.dNewValue isEqual:aGroupAddExternalIdDetails.dNewValue]) { + if (![self.eventUuid isEqual:aShowcaseEditCommentDetails.eventUuid]) { return NO; } + if (self.commentText) { + if (![self.commentText isEqual:aShowcaseEditCommentDetails.commentText]) { + return NO; + } + } return YES; } @@ -32221,58 +161728,62 @@ - (BOOL)isEqualToGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupAddExternalIdDetailsSerializer +@implementation DBTEAMLOGShowcaseEditCommentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"]; ++ (DBTEAMLOGShowcaseEditCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; - return [[DBTEAMLOGGroupAddExternalIdDetails alloc] initWithDNewValue:dNewValue]; + return [[DBTEAMLOGShowcaseEditCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupAddMemberDetails.h" +#import "DBTEAMLOGShowcaseEditCommentType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupAddMemberDetails +@implementation DBTEAMLOGShowcaseEditCommentType #pragma mark - Constructors -- (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner { - [DBStoneValidators nonnullValidator:nil](isGroupOwner); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _isGroupOwner = isGroupOwner; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupAddMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseEditCommentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupAddMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseEditCommentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupAddMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseEditCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32289,7 +161800,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.isGroupOwner hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -32303,14 +161814,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupAddMemberDetails:other]; + return [self isEqualToShowcaseEditCommentType:other]; } -- (BOOL)isEqualToGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)aGroupAddMemberDetails { - if (self == aGroupAddMemberDetails) { +- (BOOL)isEqualToShowcaseEditCommentType:(DBTEAMLOGShowcaseEditCommentType *)aShowcaseEditCommentType { + if (self == aShowcaseEditCommentType) { return YES; } - if (![self.isGroupOwner isEqual:aGroupAddMemberDetails.isGroupOwner]) { + if (![self.description_ isEqual:aShowcaseEditCommentType.description_]) { return NO; } return YES; @@ -32320,60 +161831,58 @@ - (BOOL)isEqualToGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)aGroupA #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupAddMemberDetailsSerializer +@implementation DBTEAMLOGShowcaseEditCommentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *isGroupOwner = valueDict[@"is_group_owner"]; ++ (DBTEAMLOGShowcaseEditCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGroupAddMemberDetails alloc] initWithIsGroupOwner:isGroupOwner]; + return [[DBTEAMLOGShowcaseEditCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupChangeExternalIdDetails.h" +#import "DBTEAMLOGShowcaseEditedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupChangeExternalIdDetails +@implementation DBTEAMLOGShowcaseEditedDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); - [DBStoneValidators nonnullValidator:nil](previousValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseEditedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupChangeExternalIdDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseEditedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupChangeExternalIdDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseEditedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32390,8 +161899,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - result = prime * result + [self.previousValue hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -32405,17 +161913,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupChangeExternalIdDetails:other]; + return [self isEqualToShowcaseEditedDetails:other]; } -- (BOOL)isEqualToGroupChangeExternalIdDetails:(DBTEAMLOGGroupChangeExternalIdDetails *)aGroupChangeExternalIdDetails { - if (self == aGroupChangeExternalIdDetails) { +- (BOOL)isEqualToShowcaseEditedDetails:(DBTEAMLOGShowcaseEditedDetails *)aShowcaseEditedDetails { + if (self == aShowcaseEditedDetails) { return YES; } - if (![self.dNewValue isEqual:aGroupChangeExternalIdDetails.dNewValue]) { - return NO; - } - if (![self.previousValue isEqual:aGroupChangeExternalIdDetails.previousValue]) { + if (![self.eventUuid isEqual:aShowcaseEditedDetails.eventUuid]) { return NO; } return YES; @@ -32425,67 +161930,58 @@ - (BOOL)isEqualToGroupChangeExternalIdDetails:(DBTEAMLOGGroupChangeExternalIdDet #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupChangeExternalIdDetailsSerializer +@implementation DBTEAMLOGShowcaseEditedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = valueObj.dNewValue; - jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"]; - NSString *previousValue = valueDict[@"previous_value"]; ++ (DBTEAMLOGShowcaseEditedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGGroupChangeExternalIdDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseEditedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMCOMMONGroupManagementType.h" -#import "DBTEAMLOGGroupChangeManagementTypeDetails.h" +#import "DBTEAMLOGShowcaseEditedType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupChangeManagementTypeDetails +@implementation DBTEAMLOGShowcaseEditedType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue - previousValue:(DBTEAMCOMMONGroupManagementType *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMCOMMONGroupManagementType *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupChangeManagementTypeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseEditedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupChangeManagementTypeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseEditedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupChangeManagementTypeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseEditedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32502,10 +161998,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -32519,22 +162012,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupChangeManagementTypeDetails:other]; + return [self isEqualToShowcaseEditedType:other]; } -- (BOOL)isEqualToGroupChangeManagementTypeDetails: - (DBTEAMLOGGroupChangeManagementTypeDetails *)aGroupChangeManagementTypeDetails { - if (self == aGroupChangeManagementTypeDetails) { +- (BOOL)isEqualToShowcaseEditedType:(DBTEAMLOGShowcaseEditedType *)aShowcaseEditedType { + if (self == aShowcaseEditedType) { return YES; } - if (![self.dNewValue isEqual:aGroupChangeManagementTypeDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseEditedType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aGroupChangeManagementTypeDetails.previousValue]) { - return NO; - } - } return YES; } @@ -32542,66 +162029,101 @@ - (BOOL)isEqualToGroupChangeManagementTypeDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupChangeManagementTypeDetailsSerializer +@implementation DBTEAMLOGShowcaseEditedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMCOMMONGroupManagementTypeSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMCOMMONGroupManagementType *dNewValue = - [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMCOMMONGroupManagementType *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMCOMMONGroupManagementTypeSerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseEditedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGroupChangeManagementTypeDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseEditedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupChangeMemberRoleDetails.h" +#import "DBTEAMLOGShowcaseEnabledPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupChangeMemberRoleDetails +@implementation DBTEAMLOGShowcaseEnabledPolicy #pragma mark - Constructors -- (instancetype)initWithIsGroupOwner:(NSNumber *)isGroupOwner { - [DBStoneValidators nonnullValidator:nil](isGroupOwner); +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGShowcaseEnabledPolicyDisabled; + } + return self; +} +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _isGroupOwner = isGroupOwner; + _tag = DBTEAMLOGShowcaseEnabledPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGShowcaseEnabledPolicyOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGShowcaseEnabledPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGShowcaseEnabledPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGShowcaseEnabledPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGShowcaseEnabledPolicyDisabled: + return @"DBTEAMLOGShowcaseEnabledPolicyDisabled"; + case DBTEAMLOGShowcaseEnabledPolicyEnabled: + return @"DBTEAMLOGShowcaseEnabledPolicyEnabled"; + case DBTEAMLOGShowcaseEnabledPolicyOther: + return @"DBTEAMLOGShowcaseEnabledPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseEnabledPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupChangeMemberRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseEnabledPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupChangeMemberRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseEnabledPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32618,7 +162140,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.isGroupOwner hash]; + switch (_tag) { + case DBTEAMLOGShowcaseEnabledPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGShowcaseEnabledPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGShowcaseEnabledPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -32632,16 +162164,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupChangeMemberRoleDetails:other]; + return [self isEqualToShowcaseEnabledPolicy:other]; } -- (BOOL)isEqualToGroupChangeMemberRoleDetails:(DBTEAMLOGGroupChangeMemberRoleDetails *)aGroupChangeMemberRoleDetails { - if (self == aGroupChangeMemberRoleDetails) { +- (BOOL)isEqualToShowcaseEnabledPolicy:(DBTEAMLOGShowcaseEnabledPolicy *)aShowcaseEnabledPolicy { + if (self == aShowcaseEnabledPolicy) { return YES; } - if (![self.isGroupOwner isEqual:aGroupChangeMemberRoleDetails.isGroupOwner]) { + if (self.tag != aShowcaseEnabledPolicy.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGShowcaseEnabledPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + case DBTEAMLOGShowcaseEnabledPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + case DBTEAMLOGShowcaseEnabledPolicyOther: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + } return YES; } @@ -32649,65 +162189,117 @@ - (BOOL)isEqualToGroupChangeMemberRoleDetails:(DBTEAMLOGGroupChangeMemberRoleDet #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupChangeMemberRoleDetailsSerializer +@implementation DBTEAMLOGShowcaseEnabledPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseEnabledPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"is_group_owner"] = valueObj.isGroupOwner; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *isGroupOwner = valueDict[@"is_group_owner"]; ++ (DBTEAMLOGShowcaseEnabledPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGGroupChangeMemberRoleDetails alloc] initWithIsGroupOwner:isGroupOwner]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGShowcaseEnabledPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGShowcaseEnabledPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGShowcaseEnabledPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGShowcaseEnabledPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupCreateDetails.h" -#import "DBTEAMLOGGroupJoinPolicy.h" +#import "DBTEAMLOGShowcaseExternalSharingPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupCreateDetails +@implementation DBTEAMLOGShowcaseExternalSharingPolicy #pragma mark - Constructors -- (instancetype)initWithJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy - isCompanyManaged:(NSNumber *)isCompanyManaged { - [DBStoneValidators nonnullValidator:nil](joinPolicy); +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGShowcaseExternalSharingPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGShowcaseExternalSharingPolicyEnabled; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { - _isCompanyManaged = isCompanyManaged; - _joinPolicy = joinPolicy; + _tag = DBTEAMLOGShowcaseExternalSharingPolicyOther; } return self; } -- (instancetype)initWithJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy { - return [self initWithJoinPolicy:joinPolicy isCompanyManaged:nil]; +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGShowcaseExternalSharingPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGShowcaseExternalSharingPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGShowcaseExternalSharingPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGShowcaseExternalSharingPolicyDisabled: + return @"DBTEAMLOGShowcaseExternalSharingPolicyDisabled"; + case DBTEAMLOGShowcaseExternalSharingPolicyEnabled: + return @"DBTEAMLOGShowcaseExternalSharingPolicyEnabled"; + case DBTEAMLOGShowcaseExternalSharingPolicyOther: + return @"DBTEAMLOGShowcaseExternalSharingPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseExternalSharingPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseExternalSharingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32724,9 +162316,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.joinPolicy hash]; - if (self.isCompanyManaged != nil) { - result = prime * result + [self.isCompanyManaged hash]; + switch (_tag) { + case DBTEAMLOGShowcaseExternalSharingPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGShowcaseExternalSharingPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGShowcaseExternalSharingPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -32741,20 +162340,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupCreateDetails:other]; + return [self isEqualToShowcaseExternalSharingPolicy:other]; } -- (BOOL)isEqualToGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)aGroupCreateDetails { - if (self == aGroupCreateDetails) { +- (BOOL)isEqualToShowcaseExternalSharingPolicy: + (DBTEAMLOGShowcaseExternalSharingPolicy *)aShowcaseExternalSharingPolicy { + if (self == aShowcaseExternalSharingPolicy) { return YES; } - if (![self.joinPolicy isEqual:aGroupCreateDetails.joinPolicy]) { + if (self.tag != aShowcaseExternalSharingPolicy.tag) { return NO; } - if (self.isCompanyManaged) { - if (![self.isCompanyManaged isEqual:aGroupCreateDetails.isCompanyManaged]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGShowcaseExternalSharingPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; + case DBTEAMLOGShowcaseExternalSharingPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; + case DBTEAMLOGShowcaseExternalSharingPolicyOther: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; } return YES; } @@ -32763,65 +162366,74 @@ - (BOOL)isEqualToGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)aGroupCreateD #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupCreateDetailsSerializer +@implementation DBTEAMLOGShowcaseExternalSharingPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseExternalSharingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"join_policy"] = [DBTEAMLOGGroupJoinPolicySerializer serialize:valueObj.joinPolicy]; - if (valueObj.isCompanyManaged) { - jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGGroupJoinPolicy *joinPolicy = [DBTEAMLOGGroupJoinPolicySerializer deserialize:valueDict[@"join_policy"]]; - NSNumber *isCompanyManaged = valueDict[@"is_company_managed"] ?: nil; ++ (DBTEAMLOGShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGGroupCreateDetails alloc] initWithJoinPolicy:joinPolicy isCompanyManaged:isCompanyManaged]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGShowcaseExternalSharingPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGShowcaseExternalSharingPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGShowcaseExternalSharingPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGShowcaseExternalSharingPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupDeleteDetails.h" +#import "DBTEAMLOGShowcaseFileAddedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupDeleteDetails +@implementation DBTEAMLOGShowcaseFileAddedDetails #pragma mark - Constructors -- (instancetype)initWithIsCompanyManaged:(NSNumber *)isCompanyManaged { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _isCompanyManaged = isCompanyManaged; + _eventUuid = eventUuid; } return self; } -- (instancetype)initDefault { - return [self initWithIsCompanyManaged:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupDeleteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileAddedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupDeleteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileAddedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupDeleteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileAddedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32838,9 +162450,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.isCompanyManaged != nil) { - result = prime * result + [self.isCompanyManaged hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -32854,17 +162464,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupDeleteDetails:other]; + return [self isEqualToShowcaseFileAddedDetails:other]; } -- (BOOL)isEqualToGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)aGroupDeleteDetails { - if (self == aGroupDeleteDetails) { +- (BOOL)isEqualToShowcaseFileAddedDetails:(DBTEAMLOGShowcaseFileAddedDetails *)aShowcaseFileAddedDetails { + if (self == aShowcaseFileAddedDetails) { return YES; } - if (self.isCompanyManaged) { - if (![self.isCompanyManaged isEqual:aGroupDeleteDetails.isCompanyManaged]) { - return NO; - } + if (![self.eventUuid isEqual:aShowcaseFileAddedDetails.eventUuid]) { + return NO; } return YES; } @@ -32873,103 +162481,58 @@ - (BOOL)isEqualToGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)aGroupDeleteD #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupDeleteDetailsSerializer +@implementation DBTEAMLOGShowcaseFileAddedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupDeleteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.isCompanyManaged) { - jsonDict[@"is_company_managed"] = valueObj.isCompanyManaged; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *isCompanyManaged = valueDict[@"is_company_managed"] ?: nil; ++ (DBTEAMLOGShowcaseFileAddedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGGroupDeleteDetails alloc] initWithIsCompanyManaged:isCompanyManaged]; + return [[DBTEAMLOGShowcaseFileAddedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupJoinPolicy.h" +#import "DBTEAMLOGShowcaseFileAddedType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupJoinPolicy +@implementation DBTEAMLOGShowcaseFileAddedType #pragma mark - Constructors -- (instancetype)initWithOpen { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGroupJoinPolicyOpen; - } - return self; -} - -- (instancetype)initWithRequestToJoin { - self = [super init]; - if (self) { - _tag = DBTEAMLOGGroupJoinPolicyRequestToJoin; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGGroupJoinPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isOpen { - return _tag == DBTEAMLOGGroupJoinPolicyOpen; -} - -- (BOOL)isRequestToJoin { - return _tag == DBTEAMLOGGroupJoinPolicyRequestToJoin; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGGroupJoinPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGGroupJoinPolicyOpen: - return @"DBTEAMLOGGroupJoinPolicyOpen"; - case DBTEAMLOGGroupJoinPolicyRequestToJoin: - return @"DBTEAMLOGGroupJoinPolicyRequestToJoin"; - case DBTEAMLOGGroupJoinPolicyOther: - return @"DBTEAMLOGGroupJoinPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupJoinPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileAddedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupJoinPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileAddedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupJoinPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileAddedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -32986,14 +162549,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGGroupJoinPolicyOpen: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGroupJoinPolicyRequestToJoin: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGGroupJoinPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -33007,24 +162563,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupJoinPolicy:other]; + return [self isEqualToShowcaseFileAddedType:other]; } -- (BOOL)isEqualToGroupJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)aGroupJoinPolicy { - if (self == aGroupJoinPolicy) { +- (BOOL)isEqualToShowcaseFileAddedType:(DBTEAMLOGShowcaseFileAddedType *)aShowcaseFileAddedType { + if (self == aShowcaseFileAddedType) { return YES; } - if (self.tag != aGroupJoinPolicy.tag) { + if (![self.description_ isEqual:aShowcaseFileAddedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGGroupJoinPolicyOpen: - return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; - case DBTEAMLOGGroupJoinPolicyRequestToJoin: - return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; - case DBTEAMLOGGroupJoinPolicyOther: - return [[self tagName] isEqual:[aGroupJoinPolicy tagName]]; - } return YES; } @@ -33032,82 +162580,60 @@ - (BOOL)isEqualToGroupJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)aGroupJoinPolicy { #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupJoinPolicySerializer +@implementation DBTEAMLOGShowcaseFileAddedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOpen]) { - jsonDict[@".tag"] = @"open"; - } else if ([valueObj isRequestToJoin]) { - jsonDict[@".tag"] = @"request_to_join"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcaseFileAddedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"open"]) { - return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOpen]; - } else if ([tag isEqualToString:@"request_to_join"]) { - return [[DBTEAMLOGGroupJoinPolicy alloc] initWithRequestToJoin]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGGroupJoinPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGShowcaseFileAddedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupLogInfo.h" +#import "DBTEAMLOGShowcaseFileDownloadDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupLogInfo +@implementation DBTEAMLOGShowcaseFileDownloadDetails #pragma mark - Constructors -- (instancetype)initWithDisplayName:(NSString *)displayName - groupId:(NSString *)groupId - externalId:(NSString *)externalId { - [DBStoneValidators nonnullValidator:nil](displayName); +- (instancetype)initWithEventUuid:(NSString *)eventUuid downloadType:(NSString *)downloadType { + [DBStoneValidators nonnullValidator:nil](eventUuid); + [DBStoneValidators nonnullValidator:nil](downloadType); self = [super init]; if (self) { - _groupId = groupId; - _displayName = displayName; - _externalId = externalId; + _eventUuid = eventUuid; + _downloadType = downloadType; } return self; } -- (instancetype)initWithDisplayName:(NSString *)displayName { - return [self initWithDisplayName:displayName groupId:nil externalId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileDownloadDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileDownloadDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileDownloadDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33124,13 +162650,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.displayName hash]; - if (self.groupId != nil) { - result = prime * result + [self.groupId hash]; - } - if (self.externalId != nil) { - result = prime * result + [self.externalId hash]; - } + result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.downloadType hash]; return prime * result; } @@ -33144,25 +162665,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupLogInfo:other]; + return [self isEqualToShowcaseFileDownloadDetails:other]; } -- (BOOL)isEqualToGroupLogInfo:(DBTEAMLOGGroupLogInfo *)aGroupLogInfo { - if (self == aGroupLogInfo) { +- (BOOL)isEqualToShowcaseFileDownloadDetails:(DBTEAMLOGShowcaseFileDownloadDetails *)aShowcaseFileDownloadDetails { + if (self == aShowcaseFileDownloadDetails) { return YES; } - if (![self.displayName isEqual:aGroupLogInfo.displayName]) { + if (![self.eventUuid isEqual:aShowcaseFileDownloadDetails.eventUuid]) { return NO; } - if (self.groupId) { - if (![self.groupId isEqual:aGroupLogInfo.groupId]) { - return NO; - } - } - if (self.externalId) { - if (![self.externalId isEqual:aGroupLogInfo.externalId]) { - return NO; - } + if (![self.downloadType isEqual:aShowcaseFileDownloadDetails.downloadType]) { + return NO; } return YES; } @@ -33171,64 +162685,60 @@ - (BOOL)isEqualToGroupLogInfo:(DBTEAMLOGGroupLogInfo *)aGroupLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupLogInfoSerializer +@implementation DBTEAMLOGShowcaseFileDownloadDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"display_name"] = valueObj.displayName; - if (valueObj.groupId) { - jsonDict[@"group_id"] = valueObj.groupId; - } - if (valueObj.externalId) { - jsonDict[@"external_id"] = valueObj.externalId; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"download_type"] = valueObj.downloadType; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *displayName = valueDict[@"display_name"]; - NSString *groupId = valueDict[@"group_id"] ?: nil; - NSString *externalId = valueDict[@"external_id"] ?: nil; ++ (DBTEAMLOGShowcaseFileDownloadDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *downloadType = valueDict[@"download_type"]; - return [[DBTEAMLOGGroupLogInfo alloc] initWithDisplayName:displayName groupId:groupId externalId:externalId]; + return [[DBTEAMLOGShowcaseFileDownloadDetails alloc] initWithEventUuid:eventUuid downloadType:downloadType]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupMovedDetails.h" +#import "DBTEAMLOGShowcaseFileDownloadType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupMovedDetails +@implementation DBTEAMLOGShowcaseFileDownloadType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupMovedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileDownloadTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupMovedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileDownloadTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupMovedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileDownloadTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33245,6 +162755,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -33257,13 +162769,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupMovedDetails:other]; + return [self isEqualToShowcaseFileDownloadType:other]; } -- (BOOL)isEqualToGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)aGroupMovedDetails { - if (self == aGroupMovedDetails) { +- (BOOL)isEqualToShowcaseFileDownloadType:(DBTEAMLOGShowcaseFileDownloadType *)aShowcaseFileDownloadType { + if (self == aShowcaseFileDownloadType) { return YES; } + if (![self.description_ isEqual:aShowcaseFileDownloadType.description_]) { + return NO; + } return YES; } @@ -33271,57 +162786,58 @@ - (BOOL)isEqualToGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)aGroupMovedDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupMovedDetailsSerializer +@implementation DBTEAMLOGShowcaseFileDownloadTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupMovedDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseFileDownloadType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGroupMovedDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseFileDownloadType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupRemoveExternalIdDetails.h" +#import "DBTEAMLOGShowcaseFileRemovedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupRemoveExternalIdDetails +@implementation DBTEAMLOGShowcaseFileRemovedDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue { - [DBStoneValidators nonnullValidator:nil](previousValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _previousValue = previousValue; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileRemovedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupRemoveExternalIdDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileRemovedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupRemoveExternalIdDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileRemovedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33338,7 +162854,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -33352,14 +162868,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupRemoveExternalIdDetails:other]; + return [self isEqualToShowcaseFileRemovedDetails:other]; } -- (BOOL)isEqualToGroupRemoveExternalIdDetails:(DBTEAMLOGGroupRemoveExternalIdDetails *)aGroupRemoveExternalIdDetails { - if (self == aGroupRemoveExternalIdDetails) { +- (BOOL)isEqualToShowcaseFileRemovedDetails:(DBTEAMLOGShowcaseFileRemovedDetails *)aShowcaseFileRemovedDetails { + if (self == aShowcaseFileRemovedDetails) { return YES; } - if (![self.previousValue isEqual:aGroupRemoveExternalIdDetails.previousValue]) { + if (![self.eventUuid isEqual:aShowcaseFileRemovedDetails.eventUuid]) { return NO; } return YES; @@ -33369,56 +162885,58 @@ - (BOOL)isEqualToGroupRemoveExternalIdDetails:(DBTEAMLOGGroupRemoveExternalIdDet #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupRemoveExternalIdDetailsSerializer +@implementation DBTEAMLOGShowcaseFileRemovedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"]; ++ (DBTEAMLOGShowcaseFileRemovedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGGroupRemoveExternalIdDetails alloc] initWithPreviousValue:previousValue]; + return [[DBTEAMLOGShowcaseFileRemovedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupRemoveMemberDetails.h" +#import "DBTEAMLOGShowcaseFileRemovedType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupRemoveMemberDetails +@implementation DBTEAMLOGShowcaseFileRemovedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileRemovedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupRemoveMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileRemovedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupRemoveMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileRemovedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33435,6 +162953,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -33447,13 +162967,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupRemoveMemberDetails:other]; + return [self isEqualToShowcaseFileRemovedType:other]; } -- (BOOL)isEqualToGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)aGroupRemoveMemberDetails { - if (self == aGroupRemoveMemberDetails) { +- (BOOL)isEqualToShowcaseFileRemovedType:(DBTEAMLOGShowcaseFileRemovedType *)aShowcaseFileRemovedType { + if (self == aShowcaseFileRemovedType) { return YES; } + if (![self.description_ isEqual:aShowcaseFileRemovedType.description_]) { + return NO; + } return YES; } @@ -33461,59 +162984,58 @@ - (BOOL)isEqualToGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupRemoveMemberDetailsSerializer +@implementation DBTEAMLOGShowcaseFileRemovedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseFileRemovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGGroupRemoveMemberDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseFileRemovedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupRenameDetails.h" +#import "DBTEAMLOGShowcaseFileViewDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupRenameDetails +@implementation DBTEAMLOGShowcaseFileViewDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupRenameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileViewDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupRenameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileViewDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupRenameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33530,8 +163052,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -33545,17 +163066,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupRenameDetails:other]; + return [self isEqualToShowcaseFileViewDetails:other]; } -- (BOOL)isEqualToGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)aGroupRenameDetails { - if (self == aGroupRenameDetails) { +- (BOOL)isEqualToShowcaseFileViewDetails:(DBTEAMLOGShowcaseFileViewDetails *)aShowcaseFileViewDetails { + if (self == aShowcaseFileViewDetails) { return YES; } - if (![self.previousValue isEqual:aGroupRenameDetails.previousValue]) { - return NO; - } - if (![self.dNewValue isEqual:aGroupRenameDetails.dNewValue]) { + if (![self.eventUuid isEqual:aShowcaseFileViewDetails.eventUuid]) { return NO; } return YES; @@ -33565,67 +163083,58 @@ - (BOOL)isEqualToGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)aGroupRenameD #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupRenameDetailsSerializer +@implementation DBTEAMLOGShowcaseFileViewDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupRenameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; - jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"]; - NSString *dNewValue = valueDict[@"new_value"]; ++ (DBTEAMLOGShowcaseFileViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGGroupRenameDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGShowcaseFileViewDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupUserManagementChangePolicyDetails.h" -#import "DBTEAMPOLICIESGroupCreation.h" +#import "DBTEAMLOGShowcaseFileViewType.h" #pragma mark - API Object -@implementation DBTEAMLOGGroupUserManagementChangePolicyDetails +@implementation DBTEAMLOGShowcaseFileViewType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue - previousValue:(DBTEAMPOLICIESGroupCreation *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESGroupCreation *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseFileViewTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseFileViewTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseFileViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33642,10 +163151,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -33659,22 +163165,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupUserManagementChangePolicyDetails:other]; + return [self isEqualToShowcaseFileViewType:other]; } -- (BOOL)isEqualToGroupUserManagementChangePolicyDetails: - (DBTEAMLOGGroupUserManagementChangePolicyDetails *)aGroupUserManagementChangePolicyDetails { - if (self == aGroupUserManagementChangePolicyDetails) { +- (BOOL)isEqualToShowcaseFileViewType:(DBTEAMLOGShowcaseFileViewType *)aShowcaseFileViewType { + if (self == aShowcaseFileViewType) { return YES; } - if (![self.dNewValue isEqual:aGroupUserManagementChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseFileViewType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aGroupUserManagementChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -33682,83 +163182,58 @@ - (BOOL)isEqualToGroupUserManagementChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGGroupUserManagementChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseFileViewTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESGroupCreation *dNewValue = [DBTEAMPOLICIESGroupCreationSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESGroupCreation *previousValue = - valueDict[@"previous_value"] ? [DBTEAMPOLICIESGroupCreationSerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseFileViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return - [[DBTEAMLOGGroupUserManagementChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseFileViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGDeviceLogInfo.h" -#import "DBTEAMLOGFolderLogInfo.h" -#import "DBTEAMLOGJoinTeamDetails.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGJoinTeamDetails +@implementation DBTEAMLOGShowcasePermanentlyDeletedDetails #pragma mark - Constructors -- (instancetype)initWithLinkedApps:(NSArray *)linkedApps - linkedDevices:(NSArray *)linkedDevices - linkedSharedFolders:(NSArray *)linkedSharedFolders { - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedApps); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedDevices); - [DBStoneValidators - nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](linkedSharedFolders); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _linkedApps = linkedApps; - _linkedDevices = linkedDevices; - _linkedSharedFolders = linkedSharedFolders; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGJoinTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGJoinTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGJoinTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33775,9 +163250,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.linkedApps hash]; - result = prime * result + [self.linkedDevices hash]; - result = prime * result + [self.linkedSharedFolders hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -33791,20 +163264,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToJoinTeamDetails:other]; + return [self isEqualToShowcasePermanentlyDeletedDetails:other]; } -- (BOOL)isEqualToJoinTeamDetails:(DBTEAMLOGJoinTeamDetails *)aJoinTeamDetails { - if (self == aJoinTeamDetails) { +- (BOOL)isEqualToShowcasePermanentlyDeletedDetails: + (DBTEAMLOGShowcasePermanentlyDeletedDetails *)aShowcasePermanentlyDeletedDetails { + if (self == aShowcasePermanentlyDeletedDetails) { return YES; } - if (![self.linkedApps isEqual:aJoinTeamDetails.linkedApps]) { - return NO; - } - if (![self.linkedDevices isEqual:aJoinTeamDetails.linkedDevices]) { - return NO; - } - if (![self.linkedSharedFolders isEqual:aJoinTeamDetails.linkedSharedFolders]) { + if (![self.eventUuid isEqual:aShowcasePermanentlyDeletedDetails.eventUuid]) { return NO; } return YES; @@ -33814,142 +163282,58 @@ - (BOOL)isEqualToJoinTeamDetails:(DBTEAMLOGJoinTeamDetails *)aJoinTeamDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGJoinTeamDetailsSerializer +@implementation DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGJoinTeamDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"linked_apps"] = [DBArraySerializer serialize:valueObj.linkedApps - withBlock:^id(id elem0) { - return [DBTEAMLOGAppLogInfoSerializer serialize:elem0]; - }]; - jsonDict[@"linked_devices"] = [DBArraySerializer serialize:valueObj.linkedDevices - withBlock:^id(id elem0) { - return [DBTEAMLOGDeviceLogInfoSerializer serialize:elem0]; - }]; - jsonDict[@"linked_shared_folders"] = [DBArraySerializer serialize:valueObj.linkedSharedFolders - withBlock:^id(id elem0) { - return [DBTEAMLOGFolderLogInfoSerializer serialize:elem0]; - }]; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *linkedApps = - [DBArraySerializer deserialize:valueDict[@"linked_apps"] - withBlock:^id(id elem0) { - return [DBTEAMLOGAppLogInfoSerializer deserialize:elem0]; - }]; - NSArray *linkedDevices = - [DBArraySerializer deserialize:valueDict[@"linked_devices"] - withBlock:^id(id elem0) { - return [DBTEAMLOGDeviceLogInfoSerializer deserialize:elem0]; - }]; - NSArray *linkedSharedFolders = - [DBArraySerializer deserialize:valueDict[@"linked_shared_folders"] - withBlock:^id(id elem0) { - return [DBTEAMLOGFolderLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGShowcasePermanentlyDeletedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGJoinTeamDetails alloc] initWithLinkedApps:linkedApps - linkedDevices:linkedDevices - linkedSharedFolders:linkedSharedFolders]; + return [[DBTEAMLOGShowcasePermanentlyDeletedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGLinkAudience.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedType.h" #pragma mark - API Object -@implementation DBTEAMLOGLinkAudience +@implementation DBTEAMLOGShowcasePermanentlyDeletedType #pragma mark - Constructors -- (instancetype)initWithPublic { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLinkAudiencePublic; - } - return self; -} - -- (instancetype)initWithTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLinkAudienceTeam; - } - return self; -} - -- (instancetype)initWithMembers { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLinkAudienceMembers; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGLinkAudienceOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isPublic { - return _tag == DBTEAMLOGLinkAudiencePublic; -} - -- (BOOL)isTeam { - return _tag == DBTEAMLOGLinkAudienceTeam; -} - -- (BOOL)isMembers { - return _tag == DBTEAMLOGLinkAudienceMembers; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGLinkAudienceOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGLinkAudiencePublic: - return @"DBTEAMLOGLinkAudiencePublic"; - case DBTEAMLOGLinkAudienceTeam: - return @"DBTEAMLOGLinkAudienceTeam"; - case DBTEAMLOGLinkAudienceMembers: - return @"DBTEAMLOGLinkAudienceMembers"; - case DBTEAMLOGLinkAudienceOther: - return @"DBTEAMLOGLinkAudienceOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGLinkAudienceSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGLinkAudienceSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGLinkAudienceSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -33966,16 +163350,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGLinkAudiencePublic: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLinkAudienceTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLinkAudienceMembers: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLinkAudienceOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -33989,26 +163364,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLinkAudience:other]; + return [self isEqualToShowcasePermanentlyDeletedType:other]; } -- (BOOL)isEqualToLinkAudience:(DBTEAMLOGLinkAudience *)aLinkAudience { - if (self == aLinkAudience) { +- (BOOL)isEqualToShowcasePermanentlyDeletedType: + (DBTEAMLOGShowcasePermanentlyDeletedType *)aShowcasePermanentlyDeletedType { + if (self == aShowcasePermanentlyDeletedType) { return YES; } - if (self.tag != aLinkAudience.tag) { + if (![self.description_ isEqual:aShowcasePermanentlyDeletedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGLinkAudiencePublic: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBTEAMLOGLinkAudienceTeam: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBTEAMLOGLinkAudienceMembers: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - case DBTEAMLOGLinkAudienceOther: - return [[self tagName] isEqual:[aLinkAudience tagName]]; - } return YES; } @@ -34016,90 +163382,63 @@ - (BOOL)isEqualToLinkAudience:(DBTEAMLOGLinkAudience *)aLinkAudience { #pragma mark - Serializer Object -@implementation DBTEAMLOGLinkAudienceSerializer +@implementation DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGLinkAudience *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPublic]) { - jsonDict[@".tag"] = @"public"; - } else if ([valueObj isTeam]) { - jsonDict[@".tag"] = @"team"; - } else if ([valueObj isMembers]) { - jsonDict[@".tag"] = @"members"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGLinkAudience *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcasePermanentlyDeletedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"public"]) { - return [[DBTEAMLOGLinkAudience alloc] initWithPublic]; - } else if ([tag isEqualToString:@"team"]) { - return [[DBTEAMLOGLinkAudience alloc] initWithTeam]; - } else if ([tag isEqualToString:@"members"]) { - return [[DBTEAMLOGLinkAudience alloc] initWithMembers]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGLinkAudience alloc] initWithOther]; - } else { - return [[DBTEAMLOGLinkAudience alloc] initWithOther]; - } + return [[DBTEAMLOGShowcasePermanentlyDeletedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFailureDetailsLogInfo.h" -#import "DBTEAMLOGLoginFailDetails.h" -#import "DBTEAMLOGLoginMethod.h" +#import "DBTEAMLOGShowcasePostCommentDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGLoginFailDetails +@implementation DBTEAMLOGShowcasePostCommentDetails #pragma mark - Constructors -- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod - errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails - isEmmManaged:(NSNumber *)isEmmManaged { - [DBStoneValidators nonnullValidator:nil](loginMethod); - [DBStoneValidators nonnullValidator:nil](errorDetails); +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _isEmmManaged = isEmmManaged; - _loginMethod = loginMethod; - _errorDetails = errorDetails; + _eventUuid = eventUuid; + _commentText = commentText; } return self; } -- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod - errorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { - return [self initWithLoginMethod:loginMethod errorDetails:errorDetails isEmmManaged:nil]; +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGLoginFailDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcasePostCommentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGLoginFailDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcasePostCommentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGLoginFailDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcasePostCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34116,10 +163455,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.loginMethod hash]; - result = prime * result + [self.errorDetails hash]; - if (self.isEmmManaged != nil) { - result = prime * result + [self.isEmmManaged hash]; + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; } return prime * result; @@ -34134,21 +163472,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLoginFailDetails:other]; + return [self isEqualToShowcasePostCommentDetails:other]; } -- (BOOL)isEqualToLoginFailDetails:(DBTEAMLOGLoginFailDetails *)aLoginFailDetails { - if (self == aLoginFailDetails) { +- (BOOL)isEqualToShowcasePostCommentDetails:(DBTEAMLOGShowcasePostCommentDetails *)aShowcasePostCommentDetails { + if (self == aShowcasePostCommentDetails) { return YES; } - if (![self.loginMethod isEqual:aLoginFailDetails.loginMethod]) { - return NO; - } - if (![self.errorDetails isEqual:aLoginFailDetails.errorDetails]) { + if (![self.eventUuid isEqual:aShowcasePostCommentDetails.eventUuid]) { return NO; } - if (self.isEmmManaged) { - if (![self.isEmmManaged isEqual:aLoginFailDetails.isEmmManaged]) { + if (self.commentText) { + if (![self.commentText isEqual:aShowcasePostCommentDetails.commentText]) { return NO; } } @@ -34159,124 +163494,62 @@ - (BOOL)isEqualToLoginFailDetails:(DBTEAMLOGLoginFailDetails *)aLoginFailDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGLoginFailDetailsSerializer +@implementation DBTEAMLOGShowcasePostCommentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGLoginFailDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"login_method"] = [DBTEAMLOGLoginMethodSerializer serialize:valueObj.loginMethod]; - jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; - if (valueObj.isEmmManaged) { - jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; - } - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGLoginMethod *loginMethod = [DBTEAMLOGLoginMethodSerializer deserialize:valueDict[@"login_method"]]; - DBTEAMLOGFailureDetailsLogInfo *errorDetails = - [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; - NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; - - return [[DBTEAMLOGLoginFailDetails alloc] initWithLoginMethod:loginMethod - errorDetails:errorDetails - isEmmManaged:isEmmManaged]; -} - -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGLoginMethod.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGLoginMethod - -#pragma mark - Constructors - -- (instancetype)initWithPassword { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLoginMethodPassword; - } - return self; -} - -- (instancetype)initWithTwoFactorAuthentication { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLoginMethodTwoFactorAuthentication; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; } - return self; -} -- (instancetype)initWithSaml { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLoginMethodSaml; - } - return self; + return jsonDict; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGLoginMethodOther; - } - return self; ++ (DBTEAMLOGShowcasePostCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; + + return [[DBTEAMLOGShowcasePostCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } -#pragma mark - Instance field accessors +@end -#pragma mark - Tag state methods +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGShowcasePostCommentType.h" -- (BOOL)isPassword { - return _tag == DBTEAMLOGLoginMethodPassword; -} +#pragma mark - API Object -- (BOOL)isTwoFactorAuthentication { - return _tag == DBTEAMLOGLoginMethodTwoFactorAuthentication; -} +@implementation DBTEAMLOGShowcasePostCommentType -- (BOOL)isSaml { - return _tag == DBTEAMLOGLoginMethodSaml; -} +#pragma mark - Constructors -- (BOOL)isOther { - return _tag == DBTEAMLOGLoginMethodOther; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGLoginMethodPassword: - return @"DBTEAMLOGLoginMethodPassword"; - case DBTEAMLOGLoginMethodTwoFactorAuthentication: - return @"DBTEAMLOGLoginMethodTwoFactorAuthentication"; - case DBTEAMLOGLoginMethodSaml: - return @"DBTEAMLOGLoginMethodSaml"; - case DBTEAMLOGLoginMethodOther: - return @"DBTEAMLOGLoginMethodOther"; + self = [super init]; + if (self) { + _description_ = description_; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGLoginMethodSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcasePostCommentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGLoginMethodSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcasePostCommentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGLoginMethodSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcasePostCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34293,16 +163566,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGLoginMethodPassword: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLoginMethodTwoFactorAuthentication: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLoginMethodSaml: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGLoginMethodOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -34316,26 +163580,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLoginMethod:other]; + return [self isEqualToShowcasePostCommentType:other]; } -- (BOOL)isEqualToLoginMethod:(DBTEAMLOGLoginMethod *)aLoginMethod { - if (self == aLoginMethod) { +- (BOOL)isEqualToShowcasePostCommentType:(DBTEAMLOGShowcasePostCommentType *)aShowcasePostCommentType { + if (self == aShowcasePostCommentType) { return YES; } - if (self.tag != aLoginMethod.tag) { + if (![self.description_ isEqual:aShowcasePostCommentType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGLoginMethodPassword: - return [[self tagName] isEqual:[aLoginMethod tagName]]; - case DBTEAMLOGLoginMethodTwoFactorAuthentication: - return [[self tagName] isEqual:[aLoginMethod tagName]]; - case DBTEAMLOGLoginMethodSaml: - return [[self tagName] isEqual:[aLoginMethod tagName]]; - case DBTEAMLOGLoginMethodOther: - return [[self tagName] isEqual:[aLoginMethod tagName]]; - } return YES; } @@ -34343,84 +163597,58 @@ - (BOOL)isEqualToLoginMethod:(DBTEAMLOGLoginMethod *)aLoginMethod { #pragma mark - Serializer Object -@implementation DBTEAMLOGLoginMethodSerializer +@implementation DBTEAMLOGShowcasePostCommentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGLoginMethod *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isPassword]) { - jsonDict[@".tag"] = @"password"; - } else if ([valueObj isTwoFactorAuthentication]) { - jsonDict[@".tag"] = @"two_factor_authentication"; - } else if ([valueObj isSaml]) { - jsonDict[@".tag"] = @"saml"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcasePostCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"password"]) { - return [[DBTEAMLOGLoginMethod alloc] initWithPassword]; - } else if ([tag isEqualToString:@"two_factor_authentication"]) { - return [[DBTEAMLOGLoginMethod alloc] initWithTwoFactorAuthentication]; - } else if ([tag isEqualToString:@"saml"]) { - return [[DBTEAMLOGLoginMethod alloc] initWithSaml]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGLoginMethod alloc] initWithOther]; - } else { - return [[DBTEAMLOGLoginMethod alloc] initWithOther]; - } + return [[DBTEAMLOGShowcasePostCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGLoginMethod.h" -#import "DBTEAMLOGLoginSuccessDetails.h" +#import "DBTEAMLOGShowcaseRemoveMemberDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGLoginSuccessDetails +@implementation DBTEAMLOGShowcaseRemoveMemberDetails #pragma mark - Constructors -- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod isEmmManaged:(NSNumber *)isEmmManaged { - [DBStoneValidators nonnullValidator:nil](loginMethod); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _isEmmManaged = isEmmManaged; - _loginMethod = loginMethod; + _eventUuid = eventUuid; } return self; } -- (instancetype)initWithLoginMethod:(DBTEAMLOGLoginMethod *)loginMethod { - return [self initWithLoginMethod:loginMethod isEmmManaged:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGLoginSuccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRemoveMemberDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGLoginSuccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRemoveMemberDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGLoginSuccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRemoveMemberDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34437,10 +163665,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.loginMethod hash]; - if (self.isEmmManaged != nil) { - result = prime * result + [self.isEmmManaged hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -34454,21 +163679,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLoginSuccessDetails:other]; + return [self isEqualToShowcaseRemoveMemberDetails:other]; } -- (BOOL)isEqualToLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)aLoginSuccessDetails { - if (self == aLoginSuccessDetails) { +- (BOOL)isEqualToShowcaseRemoveMemberDetails:(DBTEAMLOGShowcaseRemoveMemberDetails *)aShowcaseRemoveMemberDetails { + if (self == aShowcaseRemoveMemberDetails) { return YES; } - if (![self.loginMethod isEqual:aLoginSuccessDetails.loginMethod]) { + if (![self.eventUuid isEqual:aShowcaseRemoveMemberDetails.eventUuid]) { return NO; } - if (self.isEmmManaged) { - if (![self.isEmmManaged isEqual:aLoginSuccessDetails.isEmmManaged]) { - return NO; - } - } return YES; } @@ -34476,60 +163696,58 @@ - (BOOL)isEqualToLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)aLoginSucce #pragma mark - Serializer Object -@implementation DBTEAMLOGLoginSuccessDetailsSerializer +@implementation DBTEAMLOGShowcaseRemoveMemberDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGLoginSuccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"login_method"] = [DBTEAMLOGLoginMethodSerializer serialize:valueObj.loginMethod]; - if (valueObj.isEmmManaged) { - jsonDict[@"is_emm_managed"] = valueObj.isEmmManaged; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGLoginMethod *loginMethod = [DBTEAMLOGLoginMethodSerializer deserialize:valueDict[@"login_method"]]; - NSNumber *isEmmManaged = valueDict[@"is_emm_managed"] ?: nil; ++ (DBTEAMLOGShowcaseRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGLoginSuccessDetails alloc] initWithLoginMethod:loginMethod isEmmManaged:isEmmManaged]; + return [[DBTEAMLOGShowcaseRemoveMemberDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGLogoutDetails.h" +#import "DBTEAMLOGShowcaseRemoveMemberType.h" #pragma mark - API Object -@implementation DBTEAMLOGLogoutDetails +@implementation DBTEAMLOGShowcaseRemoveMemberType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGLogoutDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRemoveMemberTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGLogoutDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRemoveMemberTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGLogoutDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRemoveMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34546,6 +163764,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -34558,13 +163778,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToLogoutDetails:other]; + return [self isEqualToShowcaseRemoveMemberType:other]; } -- (BOOL)isEqualToLogoutDetails:(DBTEAMLOGLogoutDetails *)aLogoutDetails { - if (self == aLogoutDetails) { +- (BOOL)isEqualToShowcaseRemoveMemberType:(DBTEAMLOGShowcaseRemoveMemberType *)aShowcaseRemoveMemberType { + if (self == aShowcaseRemoveMemberType) { return YES; } + if (![self.description_ isEqual:aShowcaseRemoveMemberType.description_]) { + return NO; + } return YES; } @@ -34572,58 +163795,58 @@ - (BOOL)isEqualToLogoutDetails:(DBTEAMLOGLogoutDetails *)aLogoutDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGLogoutDetailsSerializer +@implementation DBTEAMLOGShowcaseRemoveMemberTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGLogoutDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseRemoveMemberType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGLogoutDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseRemoveMemberType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberAddNameDetails.h" -#import "DBTEAMLOGUserNameLogInfo.h" +#import "DBTEAMLOGShowcaseRenamedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberAddNameDetails +@implementation DBTEAMLOGShowcaseRenamedDetails #pragma mark - Constructors -- (instancetype)initWithValue:(DBTEAMLOGUserNameLogInfo *)value { - [DBStoneValidators nonnullValidator:nil](value); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _value = value; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberAddNameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRenamedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberAddNameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRenamedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberAddNameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRenamedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34640,7 +163863,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.value hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -34654,14 +163877,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberAddNameDetails:other]; + return [self isEqualToShowcaseRenamedDetails:other]; } -- (BOOL)isEqualToMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)aMemberAddNameDetails { - if (self == aMemberAddNameDetails) { +- (BOOL)isEqualToShowcaseRenamedDetails:(DBTEAMLOGShowcaseRenamedDetails *)aShowcaseRenamedDetails { + if (self == aShowcaseRenamedDetails) { return YES; } - if (![self.value isEqual:aMemberAddNameDetails.value]) { + if (![self.eventUuid isEqual:aShowcaseRenamedDetails.eventUuid]) { return NO; } return YES; @@ -34671,63 +163894,58 @@ - (BOOL)isEqualToMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)aMemberAd #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberAddNameDetailsSerializer +@implementation DBTEAMLOGShowcaseRenamedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberAddNameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.value]; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGUserNameLogInfo *value = [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"value"]]; ++ (DBTEAMLOGShowcaseRenamedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGMemberAddNameDetails alloc] initWithValue:value]; + return [[DBTEAMLOGShowcaseRenamedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAdminRole.h" -#import "DBTEAMLOGMemberChangeAdminRoleDetails.h" +#import "DBTEAMLOGShowcaseRenamedType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberChangeAdminRoleDetails +@implementation DBTEAMLOGShowcaseRenamedType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGAdminRole *)dNewValue previousValue:(DBTEAMLOGAdminRole *)previousValue { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithDNewValue:nil previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRenamedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberChangeAdminRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRenamedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberChangeAdminRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRenamedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34744,12 +163962,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -34763,22 +163976,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberChangeAdminRoleDetails:other]; + return [self isEqualToShowcaseRenamedType:other]; } -- (BOOL)isEqualToMemberChangeAdminRoleDetails:(DBTEAMLOGMemberChangeAdminRoleDetails *)aMemberChangeAdminRoleDetails { - if (self == aMemberChangeAdminRoleDetails) { +- (BOOL)isEqualToShowcaseRenamedType:(DBTEAMLOGShowcaseRenamedType *)aShowcaseRenamedType { + if (self == aShowcaseRenamedType) { return YES; } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aMemberChangeAdminRoleDetails.dNewValue]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberChangeAdminRoleDetails.previousValue]) { - return NO; - } + if (![self.description_ isEqual:aShowcaseRenamedType.description_]) { + return NO; } return YES; } @@ -34787,79 +163993,58 @@ - (BOOL)isEqualToMemberChangeAdminRoleDetails:(DBTEAMLOGMemberChangeAdminRoleDet #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberChangeAdminRoleDetailsSerializer +@implementation DBTEAMLOGShowcaseRenamedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = [DBTEAMLOGAdminRoleSerializer serialize:valueObj.dNewValue]; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGAdminRoleSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAdminRole *dNewValue = - valueDict[@"new_value"] ? [DBTEAMLOGAdminRoleSerializer deserialize:valueDict[@"new_value"]] : nil; - DBTEAMLOGAdminRole *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGAdminRoleSerializer deserialize:valueDict[@"previous_value"]] : nil; ++ (DBTEAMLOGShowcaseRenamedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberChangeAdminRoleDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseRenamedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberChangeEmailDetails.h" +#import "DBTEAMLOGShowcaseRequestAccessDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberChangeEmailDetails +@implementation DBTEAMLOGShowcaseRequestAccessDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { - [DBStoneValidators - nonnullValidator:[DBStoneValidators - stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$"]](dNewValue); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-" - @"9.-]*.[A-Za-z]{2,15}$"]](previousValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _eventUuid = eventUuid; } return self; } -- (instancetype)initWithDNewValue:(NSString *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberChangeEmailDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRequestAccessDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberChangeEmailDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRequestAccessDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberChangeEmailDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRequestAccessDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34876,10 +164061,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -34893,21 +164075,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberChangeEmailDetails:other]; + return [self isEqualToShowcaseRequestAccessDetails:other]; } -- (BOOL)isEqualToMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)aMemberChangeEmailDetails { - if (self == aMemberChangeEmailDetails) { +- (BOOL)isEqualToShowcaseRequestAccessDetails:(DBTEAMLOGShowcaseRequestAccessDetails *)aShowcaseRequestAccessDetails { + if (self == aShowcaseRequestAccessDetails) { return YES; } - if (![self.dNewValue isEqual:aMemberChangeEmailDetails.dNewValue]) { + if (![self.eventUuid isEqual:aShowcaseRequestAccessDetails.eventUuid]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberChangeEmailDetails.previousValue]) { - return NO; - } - } return YES; } @@ -34915,66 +164092,58 @@ - (BOOL)isEqualToMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberChangeEmailDetailsSerializer +@implementation DBTEAMLOGShowcaseRequestAccessDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = valueObj.dNewValue; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = valueObj.previousValue; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"]; - NSString *previousValue = valueDict[@"previous_value"] ?: nil; ++ (DBTEAMLOGShowcaseRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGMemberChangeEmailDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseRequestAccessDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberChangeMembershipTypeDetails.h" -#import "DBTEAMLOGTeamMembershipType.h" +#import "DBTEAMLOGShowcaseRequestAccessType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberChangeMembershipTypeDetails +@implementation DBTEAMLOGShowcaseRequestAccessType #pragma mark - Constructors -- (instancetype)initWithPrevValue:(DBTEAMLOGTeamMembershipType *)prevValue - dNewValue:(DBTEAMLOGTeamMembershipType *)dNewValue { - [DBStoneValidators nonnullValidator:nil](prevValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _prevValue = prevValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRequestAccessTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRequestAccessTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRequestAccessTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -34991,8 +164160,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.prevValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -35006,18 +164174,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberChangeMembershipTypeDetails:other]; + return [self isEqualToShowcaseRequestAccessType:other]; } -- (BOOL)isEqualToMemberChangeMembershipTypeDetails: - (DBTEAMLOGMemberChangeMembershipTypeDetails *)aMemberChangeMembershipTypeDetails { - if (self == aMemberChangeMembershipTypeDetails) { +- (BOOL)isEqualToShowcaseRequestAccessType:(DBTEAMLOGShowcaseRequestAccessType *)aShowcaseRequestAccessType { + if (self == aShowcaseRequestAccessType) { return YES; } - if (![self.prevValue isEqual:aMemberChangeMembershipTypeDetails.prevValue]) { - return NO; - } - if (![self.dNewValue isEqual:aMemberChangeMembershipTypeDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseRequestAccessType.description_]) { return NO; } return YES; @@ -35027,67 +164191,63 @@ - (BOOL)isEqualToMemberChangeMembershipTypeDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberChangeMembershipTypeDetailsSerializer +@implementation DBTEAMLOGShowcaseRequestAccessTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"prev_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.prevValue]; - jsonDict[@"new_value"] = [DBTEAMLOGTeamMembershipTypeSerializer serialize:valueObj.dNewValue]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTeamMembershipType *prevValue = [DBTEAMLOGTeamMembershipTypeSerializer deserialize:valueDict[@"prev_value"]]; - DBTEAMLOGTeamMembershipType *dNewValue = [DBTEAMLOGTeamMembershipTypeSerializer deserialize:valueDict[@"new_value"]]; ++ (DBTEAMLOGShowcaseRequestAccessType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberChangeMembershipTypeDetails alloc] initWithPrevValue:prevValue dNewValue:dNewValue]; + return [[DBTEAMLOGShowcaseRequestAccessType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberChangeNameDetails.h" -#import "DBTEAMLOGUserNameLogInfo.h" +#import "DBTEAMLOGShowcaseResolveCommentDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberChangeNameDetails +@implementation DBTEAMLOGShowcaseResolveCommentDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue - previousValue:(DBTEAMLOGUserNameLogInfo *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _eventUuid = eventUuid; + _commentText = commentText; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberChangeNameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseResolveCommentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberChangeNameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseResolveCommentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberChangeNameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseResolveCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35104,9 +164264,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; } return prime * result; @@ -35121,18 +164281,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberChangeNameDetails:other]; + return [self isEqualToShowcaseResolveCommentDetails:other]; } -- (BOOL)isEqualToMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)aMemberChangeNameDetails { - if (self == aMemberChangeNameDetails) { +- (BOOL)isEqualToShowcaseResolveCommentDetails: + (DBTEAMLOGShowcaseResolveCommentDetails *)aShowcaseResolveCommentDetails { + if (self == aShowcaseResolveCommentDetails) { return YES; } - if (![self.dNewValue isEqual:aMemberChangeNameDetails.dNewValue]) { + if (![self.eventUuid isEqual:aShowcaseResolveCommentDetails.eventUuid]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberChangeNameDetails.previousValue]) { + if (self.commentText) { + if (![self.commentText isEqual:aShowcaseResolveCommentDetails.commentText]) { return NO; } } @@ -35143,74 +164304,62 @@ - (BOOL)isEqualToMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)aMe #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberChangeNameDetailsSerializer +@implementation DBTEAMLOGShowcaseResolveCommentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGUserNameLogInfoSerializer serialize:valueObj.previousValue]; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGUserNameLogInfo *dNewValue = [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGUserNameLogInfo *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGUserNameLogInfoSerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; - return [[DBTEAMLOGMemberChangeNameDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseResolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGJoinTeamDetails.h" -#import "DBTEAMLOGMemberChangeStatusDetails.h" -#import "DBTEAMLOGMemberStatus.h" +#import "DBTEAMLOGShowcaseResolveCommentType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberChangeStatusDetails +@implementation DBTEAMLOGShowcaseResolveCommentType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue - previousValue:(DBTEAMLOGMemberStatus *)previousValue - teamJoinDetails:(DBTEAMLOGJoinTeamDetails *)teamJoinDetails { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; - _teamJoinDetails = teamJoinDetails; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil teamJoinDetails:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberChangeStatusDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseResolveCommentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberChangeStatusDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseResolveCommentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberChangeStatusDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseResolveCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35227,13 +164376,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } - if (self.teamJoinDetails != nil) { - result = prime * result + [self.teamJoinDetails hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -35247,26 +164390,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberChangeStatusDetails:other]; + return [self isEqualToShowcaseResolveCommentType:other]; } -- (BOOL)isEqualToMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)aMemberChangeStatusDetails { - if (self == aMemberChangeStatusDetails) { +- (BOOL)isEqualToShowcaseResolveCommentType:(DBTEAMLOGShowcaseResolveCommentType *)aShowcaseResolveCommentType { + if (self == aShowcaseResolveCommentType) { return YES; } - if (![self.dNewValue isEqual:aMemberChangeStatusDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseResolveCommentType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberChangeStatusDetails.previousValue]) { - return NO; - } - } - if (self.teamJoinDetails) { - if (![self.teamJoinDetails isEqual:aMemberChangeStatusDetails.teamJoinDetails]) { - return NO; - } - } return YES; } @@ -35274,69 +164407,58 @@ - (BOOL)isEqualToMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberChangeStatusDetailsSerializer +@implementation DBTEAMLOGShowcaseResolveCommentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGMemberStatusSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGMemberStatusSerializer serialize:valueObj.previousValue]; - } - if (valueObj.teamJoinDetails) { - jsonDict[@"team_join_details"] = [DBTEAMLOGJoinTeamDetailsSerializer serialize:valueObj.teamJoinDetails]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGMemberStatus *dNewValue = [DBTEAMLOGMemberStatusSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGMemberStatus *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGMemberStatusSerializer deserialize:valueDict[@"previous_value"]] : nil; - DBTEAMLOGJoinTeamDetails *teamJoinDetails = - valueDict[@"team_join_details"] ? [DBTEAMLOGJoinTeamDetailsSerializer deserialize:valueDict[@"team_join_details"]] - : nil; ++ (DBTEAMLOGShowcaseResolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberChangeStatusDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue - teamJoinDetails:teamJoinDetails]; + return [[DBTEAMLOGShowcaseResolveCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h" +#import "DBTEAMLOGShowcaseRestoredDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails +@implementation DBTEAMLOGShowcaseRestoredDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRestoredDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRestoredDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRestoredDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35353,6 +164475,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.eventUuid hash]; + return prime * result; } @@ -35365,14 +164489,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberPermanentlyDeleteAccountContentsDetails:other]; + return [self isEqualToShowcaseRestoredDetails:other]; } -- (BOOL)isEqualToMemberPermanentlyDeleteAccountContentsDetails: - (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)aMemberPermanentlyDeleteAccountContentsDetails { - if (self == aMemberPermanentlyDeleteAccountContentsDetails) { +- (BOOL)isEqualToShowcaseRestoredDetails:(DBTEAMLOGShowcaseRestoredDetails *)aShowcaseRestoredDetails { + if (self == aShowcaseRestoredDetails) { return YES; } + if (![self.eventUuid isEqual:aShowcaseRestoredDetails.eventUuid]) { + return NO; + } return YES; } @@ -35380,64 +164506,58 @@ - (BOOL)isEqualToMemberPermanentlyDeleteAccountContentsDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetailsSerializer +@implementation DBTEAMLOGShowcaseRestoredDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; } -+ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseRestoredDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseRestoredDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberRequestsChangePolicyDetails.h" -#import "DBTEAMLOGMemberRequestsPolicy.h" +#import "DBTEAMLOGShowcaseRestoredType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberRequestsChangePolicyDetails +@implementation DBTEAMLOGShowcaseRestoredType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue - previousValue:(DBTEAMLOGMemberRequestsPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberRequestsPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseRestoredTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseRestoredTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseRestoredTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35454,10 +164574,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -35471,22 +164588,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberRequestsChangePolicyDetails:other]; + return [self isEqualToShowcaseRestoredType:other]; } -- (BOOL)isEqualToMemberRequestsChangePolicyDetails: - (DBTEAMLOGMemberRequestsChangePolicyDetails *)aMemberRequestsChangePolicyDetails { - if (self == aMemberRequestsChangePolicyDetails) { +- (BOOL)isEqualToShowcaseRestoredType:(DBTEAMLOGShowcaseRestoredType *)aShowcaseRestoredType { + if (self == aShowcaseRestoredType) { return YES; } - if (![self.dNewValue isEqual:aMemberRequestsChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseRestoredType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberRequestsChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -35494,122 +164605,158 @@ - (BOOL)isEqualToMemberRequestsChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberRequestsChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseRestoredTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGMemberRequestsPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGMemberRequestsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGMemberRequestsPolicy *dNewValue = - [DBTEAMLOGMemberRequestsPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGMemberRequestsPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGMemberRequestsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseRestoredType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberRequestsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseRestoredType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberRequestsPolicy.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberRequestsPolicy +@implementation DBTEAMLOGShowcaseTrashedDeprecatedDetails #pragma mark - Constructors -- (instancetype)initWithAutoAccept { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); + self = [super init]; if (self) { - _tag = DBTEAMLOGMemberRequestsPolicyAutoAccept; + _eventUuid = eventUuid; } return self; } -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberRequestsPolicyDisabled; - } +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -- (instancetype)initWithRequireApproval { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberRequestsPolicyRequireApproval; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.eventUuid hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; } - return self; + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToShowcaseTrashedDeprecatedDetails:other]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberRequestsPolicyOther; +- (BOOL)isEqualToShowcaseTrashedDeprecatedDetails: + (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)aShowcaseTrashedDeprecatedDetails { + if (self == aShowcaseTrashedDeprecatedDetails) { + return YES; } - return self; + if (![self.eventUuid isEqual:aShowcaseTrashedDeprecatedDetails.eventUuid]) { + return NO; + } + return YES; } -#pragma mark - Instance field accessors +@end -#pragma mark - Tag state methods +#pragma mark - Serializer Object -- (BOOL)isAutoAccept { - return _tag == DBTEAMLOGMemberRequestsPolicyAutoAccept; -} +@implementation DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer -- (BOOL)isDisabled { - return _tag == DBTEAMLOGMemberRequestsPolicyDisabled; ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; } -- (BOOL)isRequireApproval { - return _tag == DBTEAMLOGMemberRequestsPolicyRequireApproval; ++ (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + + return [[DBTEAMLOGShowcaseTrashedDeprecatedDetails alloc] initWithEventUuid:eventUuid]; } -- (BOOL)isOther { - return _tag == DBTEAMLOGMemberRequestsPolicyOther; -} +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGShowcaseTrashedDeprecatedType + +#pragma mark - Constructors -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGMemberRequestsPolicyAutoAccept: - return @"DBTEAMLOGMemberRequestsPolicyAutoAccept"; - case DBTEAMLOGMemberRequestsPolicyDisabled: - return @"DBTEAMLOGMemberRequestsPolicyDisabled"; - case DBTEAMLOGMemberRequestsPolicyRequireApproval: - return @"DBTEAMLOGMemberRequestsPolicyRequireApproval"; - case DBTEAMLOGMemberRequestsPolicyOther: - return @"DBTEAMLOGMemberRequestsPolicyOther"; - } +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberRequestsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberRequestsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberRequestsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35626,16 +164773,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGMemberRequestsPolicyAutoAccept: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberRequestsPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberRequestsPolicyRequireApproval: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberRequestsPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -35649,26 +164787,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberRequestsPolicy:other]; + return [self isEqualToShowcaseTrashedDeprecatedType:other]; } -- (BOOL)isEqualToMemberRequestsPolicy:(DBTEAMLOGMemberRequestsPolicy *)aMemberRequestsPolicy { - if (self == aMemberRequestsPolicy) { +- (BOOL)isEqualToShowcaseTrashedDeprecatedType: + (DBTEAMLOGShowcaseTrashedDeprecatedType *)aShowcaseTrashedDeprecatedType { + if (self == aShowcaseTrashedDeprecatedType) { return YES; } - if (self.tag != aMemberRequestsPolicy.tag) { + if (![self.description_ isEqual:aShowcaseTrashedDeprecatedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGMemberRequestsPolicyAutoAccept: - return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; - case DBTEAMLOGMemberRequestsPolicyDisabled: - return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; - case DBTEAMLOGMemberRequestsPolicyRequireApproval: - return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; - case DBTEAMLOGMemberRequestsPolicyOther: - return [[self tagName] isEqual:[aMemberRequestsPolicy tagName]]; - } return YES; } @@ -35676,76 +164805,58 @@ - (BOOL)isEqualToMemberRequestsPolicy:(DBTEAMLOGMemberRequestsPolicy *)aMemberRe #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberRequestsPolicySerializer +@implementation DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberRequestsPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAutoAccept]) { - jsonDict[@".tag"] = @"auto_accept"; - } else if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isRequireApproval]) { - jsonDict[@".tag"] = @"require_approval"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcaseTrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"auto_accept"]) { - return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithAutoAccept]; - } else if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"require_approval"]) { - return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithRequireApproval]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGMemberRequestsPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGShowcaseTrashedDeprecatedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h" +#import "DBTEAMLOGShowcaseTrashedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionDetails +@implementation DBTEAMLOGShowcaseTrashedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseTrashedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseTrashedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseTrashedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35762,6 +164873,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.eventUuid hash]; + return prime * result; } @@ -35774,14 +164887,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSpaceLimitsAddExceptionDetails:other]; + return [self isEqualToShowcaseTrashedDetails:other]; } -- (BOOL)isEqualToMemberSpaceLimitsAddExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)aMemberSpaceLimitsAddExceptionDetails { - if (self == aMemberSpaceLimitsAddExceptionDetails) { +- (BOOL)isEqualToShowcaseTrashedDetails:(DBTEAMLOGShowcaseTrashedDetails *)aShowcaseTrashedDetails { + if (self == aShowcaseTrashedDetails) { return YES; } + if (![self.eventUuid isEqual:aShowcaseTrashedDetails.eventUuid]) { + return NO; + } return YES; } @@ -35789,61 +164904,58 @@ - (BOOL)isEqualToMemberSpaceLimitsAddExceptionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSpaceLimitsAddExceptionDetailsSerializer +@implementation DBTEAMLOGShowcaseTrashedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + + return jsonDict; } -+ (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseTrashedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGMemberSpaceLimitsAddExceptionDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseTrashedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h" +#import "DBTEAMLOGShowcaseTrashedType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyDetails +@implementation DBTEAMLOGShowcaseTrashedType #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithPreviousValue:nil dNewValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseTrashedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseTrashedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseTrashedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35860,12 +164972,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -35879,23 +164986,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSpaceLimitsChangePolicyDetails:other]; + return [self isEqualToShowcaseTrashedType:other]; } -- (BOOL)isEqualToMemberSpaceLimitsChangePolicyDetails: - (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)aMemberSpaceLimitsChangePolicyDetails { - if (self == aMemberSpaceLimitsChangePolicyDetails) { +- (BOOL)isEqualToShowcaseTrashedType:(DBTEAMLOGShowcaseTrashedType *)aShowcaseTrashedType { + if (self == aShowcaseTrashedType) { return YES; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberSpaceLimitsChangePolicyDetails.previousValue]) { - return NO; - } - } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aMemberSpaceLimitsChangePolicyDetails.dNewValue]) { - return NO; - } + if (![self.description_ isEqual:aShowcaseTrashedType.description_]) { + return NO; } return YES; } @@ -35904,69 +165003,63 @@ - (BOOL)isEqualToMemberSpaceLimitsChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSpaceLimitsChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseTrashedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = valueObj.previousValue; - } - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = valueObj.dNewValue; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *previousValue = valueDict[@"previous_value"] ?: nil; - NSNumber *dNewValue = valueDict[@"new_value"] ?: nil; ++ (DBTEAMLOGShowcaseTrashedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return - [[DBTEAMLOGMemberSpaceLimitsChangePolicyDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGShowcaseTrashedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h" -#import "DBTEAMLOGSpaceLimitsStatus.h" +#import "DBTEAMLOGShowcaseUnresolveCommentDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusDetails +@implementation DBTEAMLOGShowcaseUnresolveCommentDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(DBTEAMLOGSpaceLimitsStatus *)previousValue - dNewValue:(DBTEAMLOGSpaceLimitsStatus *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _eventUuid = eventUuid; + _commentText = commentText; } return self; } +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + return [self initWithEventUuid:eventUuid commentText:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -35983,8 +165076,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.eventUuid hash]; + if (self.commentText != nil) { + result = prime * result + [self.commentText hash]; + } return prime * result; } @@ -35998,19 +165093,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSpaceLimitsChangeStatusDetails:other]; + return [self isEqualToShowcaseUnresolveCommentDetails:other]; } -- (BOOL)isEqualToMemberSpaceLimitsChangeStatusDetails: - (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)aMemberSpaceLimitsChangeStatusDetails { - if (self == aMemberSpaceLimitsChangeStatusDetails) { +- (BOOL)isEqualToShowcaseUnresolveCommentDetails: + (DBTEAMLOGShowcaseUnresolveCommentDetails *)aShowcaseUnresolveCommentDetails { + if (self == aShowcaseUnresolveCommentDetails) { return YES; } - if (![self.previousValue isEqual:aMemberSpaceLimitsChangeStatusDetails.previousValue]) { + if (![self.eventUuid isEqual:aShowcaseUnresolveCommentDetails.eventUuid]) { return NO; } - if (![self.dNewValue isEqual:aMemberSpaceLimitsChangeStatusDetails.dNewValue]) { - return NO; + if (self.commentText) { + if (![self.commentText isEqual:aShowcaseUnresolveCommentDetails.commentText]) { + return NO; + } } return YES; } @@ -36019,60 +165116,62 @@ - (BOOL)isEqualToMemberSpaceLimitsChangeStatusDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSpaceLimitsChangeStatusDetailsSerializer +@implementation DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.previousValue]; - jsonDict[@"new_value"] = [DBTEAMLOGSpaceLimitsStatusSerializer serialize:valueObj.dNewValue]; + jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.commentText) { + jsonDict[@"comment_text"] = valueObj.commentText; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSpaceLimitsStatus *previousValue = - [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:valueDict[@"previous_value"]]; - DBTEAMLOGSpaceLimitsStatus *dNewValue = [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:valueDict[@"new_value"]]; ++ (DBTEAMLOGShowcaseUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; + NSString *commentText = valueDict[@"comment_text"] ?: nil; - return - [[DBTEAMLOGMemberSpaceLimitsChangeStatusDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGShowcaseUnresolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h" +#import "DBTEAMLOGShowcaseUnresolveCommentType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails +@implementation DBTEAMLOGShowcaseUnresolveCommentType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUnresolveCommentTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUnresolveCommentTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUnresolveCommentTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36089,6 +165188,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -36101,14 +165202,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSpaceLimitsRemoveExceptionDetails:other]; + return [self isEqualToShowcaseUnresolveCommentType:other]; } -- (BOOL)isEqualToMemberSpaceLimitsRemoveExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)aMemberSpaceLimitsRemoveExceptionDetails { - if (self == aMemberSpaceLimitsRemoveExceptionDetails) { +- (BOOL)isEqualToShowcaseUnresolveCommentType:(DBTEAMLOGShowcaseUnresolveCommentType *)aShowcaseUnresolveCommentType { + if (self == aShowcaseUnresolveCommentType) { return YES; } + if (![self.description_ isEqual:aShowcaseUnresolveCommentType.description_]) { + return NO; + } return YES; } @@ -36116,142 +165219,58 @@ - (BOOL)isEqualToMemberSpaceLimitsRemoveExceptionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetailsSerializer +@implementation DBTEAMLOGShowcaseUnresolveCommentTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseUnresolveCommentType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseUnresolveCommentType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberStatus.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberStatus +@implementation DBTEAMLOGShowcaseUntrashedDeprecatedDetails #pragma mark - Constructors -- (instancetype)initWithNotJoined { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberStatusNotJoined; - } - return self; -} - -- (instancetype)initWithInvited { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberStatusInvited; - } - return self; -} - -- (instancetype)initWithActive { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberStatusActive; - } - return self; -} - -- (instancetype)initWithSuspended { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberStatusSuspended; - } - return self; -} - -- (instancetype)initWithRemoved { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberStatusRemoved; - } - return self; -} +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGMemberStatusOther; + _eventUuid = eventUuid; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isNotJoined { - return _tag == DBTEAMLOGMemberStatusNotJoined; -} - -- (BOOL)isInvited { - return _tag == DBTEAMLOGMemberStatusInvited; -} - -- (BOOL)isActive { - return _tag == DBTEAMLOGMemberStatusActive; -} - -- (BOOL)isSuspended { - return _tag == DBTEAMLOGMemberStatusSuspended; -} - -- (BOOL)isRemoved { - return _tag == DBTEAMLOGMemberStatusRemoved; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGMemberStatusOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGMemberStatusNotJoined: - return @"DBTEAMLOGMemberStatusNotJoined"; - case DBTEAMLOGMemberStatusInvited: - return @"DBTEAMLOGMemberStatusInvited"; - case DBTEAMLOGMemberStatusActive: - return @"DBTEAMLOGMemberStatusActive"; - case DBTEAMLOGMemberStatusSuspended: - return @"DBTEAMLOGMemberStatusSuspended"; - case DBTEAMLOGMemberStatusRemoved: - return @"DBTEAMLOGMemberStatusRemoved"; - case DBTEAMLOGMemberStatusOther: - return @"DBTEAMLOGMemberStatusOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36268,20 +165287,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGMemberStatusNotJoined: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberStatusInvited: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberStatusActive: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberStatusSuspended: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberStatusRemoved: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberStatusOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -36295,30 +165301,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberStatus:other]; + return [self isEqualToShowcaseUntrashedDeprecatedDetails:other]; } -- (BOOL)isEqualToMemberStatus:(DBTEAMLOGMemberStatus *)aMemberStatus { - if (self == aMemberStatus) { +- (BOOL)isEqualToShowcaseUntrashedDeprecatedDetails: + (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)aShowcaseUntrashedDeprecatedDetails { + if (self == aShowcaseUntrashedDeprecatedDetails) { return YES; } - if (self.tag != aMemberStatus.tag) { + if (![self.eventUuid isEqual:aShowcaseUntrashedDeprecatedDetails.eventUuid]) { return NO; } - switch (_tag) { - case DBTEAMLOGMemberStatusNotJoined: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - case DBTEAMLOGMemberStatusInvited: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - case DBTEAMLOGMemberStatusActive: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - case DBTEAMLOGMemberStatusSuspended: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - case DBTEAMLOGMemberStatusRemoved: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - case DBTEAMLOGMemberStatusOther: - return [[self tagName] isEqual:[aMemberStatus tagName]]; - } return YES; } @@ -36326,84 +165319,58 @@ - (BOOL)isEqualToMemberStatus:(DBTEAMLOGMemberStatus *)aMemberStatus { #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberStatusSerializer +@implementation DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isNotJoined]) { - jsonDict[@".tag"] = @"not_joined"; - } else if ([valueObj isInvited]) { - jsonDict[@".tag"] = @"invited"; - } else if ([valueObj isActive]) { - jsonDict[@".tag"] = @"active"; - } else if ([valueObj isSuspended]) { - jsonDict[@".tag"] = @"suspended"; - } else if ([valueObj isRemoved]) { - jsonDict[@".tag"] = @"removed"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - if ([tag isEqualToString:@"not_joined"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithNotJoined]; - } else if ([tag isEqualToString:@"invited"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithInvited]; - } else if ([tag isEqualToString:@"active"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithActive]; - } else if ([tag isEqualToString:@"suspended"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithSuspended]; - } else if ([tag isEqualToString:@"removed"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithRemoved]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGMemberStatus alloc] initWithOther]; - } else { - return [[DBTEAMLOGMemberStatus alloc] initWithOther]; - } + return [[DBTEAMLOGShowcaseUntrashedDeprecatedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSuggestDetails.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSuggestDetails +@implementation DBTEAMLOGShowcaseUntrashedDeprecatedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSuggestDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSuggestDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSuggestDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36420,6 +165387,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -36432,13 +165401,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSuggestDetails:other]; + return [self isEqualToShowcaseUntrashedDeprecatedType:other]; } -- (BOOL)isEqualToMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)aMemberSuggestDetails { - if (self == aMemberSuggestDetails) { +- (BOOL)isEqualToShowcaseUntrashedDeprecatedType: + (DBTEAMLOGShowcaseUntrashedDeprecatedType *)aShowcaseUntrashedDeprecatedType { + if (self == aShowcaseUntrashedDeprecatedType) { return YES; } + if (![self.description_ isEqual:aShowcaseUntrashedDeprecatedType.description_]) { + return NO; + } return YES; } @@ -36446,64 +165419,58 @@ - (BOOL)isEqualToMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)aMemberSu #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSuggestDetailsSerializer +@implementation DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGShowcaseUntrashedDeprecatedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMemberSuggestDetails alloc] initDefault]; + return [[DBTEAMLOGShowcaseUntrashedDeprecatedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSuggestionsChangePolicyDetails.h" -#import "DBTEAMLOGMemberSuggestionsPolicy.h" +#import "DBTEAMLOGShowcaseUntrashedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSuggestionsChangePolicyDetails +@implementation DBTEAMLOGShowcaseUntrashedDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue - previousValue:(DBTEAMLOGMemberSuggestionsPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _eventUuid = eventUuid; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSuggestionsPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUntrashedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUntrashedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUntrashedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36520,10 +165487,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -36537,22 +165501,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSuggestionsChangePolicyDetails:other]; + return [self isEqualToShowcaseUntrashedDetails:other]; } -- (BOOL)isEqualToMemberSuggestionsChangePolicyDetails: - (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)aMemberSuggestionsChangePolicyDetails { - if (self == aMemberSuggestionsChangePolicyDetails) { +- (BOOL)isEqualToShowcaseUntrashedDetails:(DBTEAMLOGShowcaseUntrashedDetails *)aShowcaseUntrashedDetails { + if (self == aShowcaseUntrashedDetails) { return YES; } - if (![self.dNewValue isEqual:aMemberSuggestionsChangePolicyDetails.dNewValue]) { + if (![self.eventUuid isEqual:aShowcaseUntrashedDetails.eventUuid]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMemberSuggestionsChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -36560,110 +165518,58 @@ - (BOOL)isEqualToMemberSuggestionsChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSuggestionsChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseUntrashedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGMemberSuggestionsPolicy *dNewValue = - [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGMemberSuggestionsPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseUntrashedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return - [[DBTEAMLOGMemberSuggestionsChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGShowcaseUntrashedDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberSuggestionsPolicy.h" +#import "DBTEAMLOGShowcaseUntrashedType.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberSuggestionsPolicy +@implementation DBTEAMLOGShowcaseUntrashedType #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberSuggestionsPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMemberSuggestionsPolicyEnabled; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGMemberSuggestionsPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGMemberSuggestionsPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGMemberSuggestionsPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGMemberSuggestionsPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGMemberSuggestionsPolicyDisabled: - return @"DBTEAMLOGMemberSuggestionsPolicyDisabled"; - case DBTEAMLOGMemberSuggestionsPolicyEnabled: - return @"DBTEAMLOGMemberSuggestionsPolicyEnabled"; - case DBTEAMLOGMemberSuggestionsPolicyOther: - return @"DBTEAMLOGMemberSuggestionsPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberSuggestionsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseUntrashedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberSuggestionsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseUntrashedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberSuggestionsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseUntrashedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36680,14 +165586,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGMemberSuggestionsPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberSuggestionsPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMemberSuggestionsPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -36701,24 +165600,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberSuggestionsPolicy:other]; + return [self isEqualToShowcaseUntrashedType:other]; } -- (BOOL)isEqualToMemberSuggestionsPolicy:(DBTEAMLOGMemberSuggestionsPolicy *)aMemberSuggestionsPolicy { - if (self == aMemberSuggestionsPolicy) { +- (BOOL)isEqualToShowcaseUntrashedType:(DBTEAMLOGShowcaseUntrashedType *)aShowcaseUntrashedType { + if (self == aShowcaseUntrashedType) { return YES; } - if (self.tag != aMemberSuggestionsPolicy.tag) { + if (![self.description_ isEqual:aShowcaseUntrashedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGMemberSuggestionsPolicyDisabled: - return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; - case DBTEAMLOGMemberSuggestionsPolicyEnabled: - return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; - case DBTEAMLOGMemberSuggestionsPolicyOther: - return [[self tagName] isEqual:[aMemberSuggestionsPolicy tagName]]; - } return YES; } @@ -36726,77 +165617,58 @@ - (BOOL)isEqualToMemberSuggestionsPolicy:(DBTEAMLOGMemberSuggestionsPolicy *)aMe #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberSuggestionsPolicySerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsPolicy *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +@implementation DBTEAMLOGShowcaseUntrashedTypeSerializer - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGShowcaseUntrashedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGMemberSuggestionsPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGShowcaseUntrashedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMemberTransferAccountContentsDetails.h" +#import "DBTEAMLOGShowcaseViewDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMemberTransferAccountContentsDetails +@implementation DBTEAMLOGShowcaseViewDetails #pragma mark - Constructors -- (instancetype)initWithSrcParticipantIndex:(NSNumber *)srcParticipantIndex - destParticipantIndex:(NSNumber *)destParticipantIndex { - [DBStoneValidators nonnullValidator:nil](srcParticipantIndex); - [DBStoneValidators nonnullValidator:nil](destParticipantIndex); +- (instancetype)initWithEventUuid:(NSString *)eventUuid { + [DBStoneValidators nonnullValidator:nil](eventUuid); self = [super init]; if (self) { - _srcParticipantIndex = srcParticipantIndex; - _destParticipantIndex = destParticipantIndex; + _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseViewDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMemberTransferAccountContentsDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseViewDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMemberTransferAccountContentsDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseViewDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36813,8 +165685,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.srcParticipantIndex hash]; - result = prime * result + [self.destParticipantIndex hash]; + result = prime * result + [self.eventUuid hash]; return prime * result; } @@ -36828,18 +165699,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMemberTransferAccountContentsDetails:other]; + return [self isEqualToShowcaseViewDetails:other]; } -- (BOOL)isEqualToMemberTransferAccountContentsDetails: - (DBTEAMLOGMemberTransferAccountContentsDetails *)aMemberTransferAccountContentsDetails { - if (self == aMemberTransferAccountContentsDetails) { +- (BOOL)isEqualToShowcaseViewDetails:(DBTEAMLOGShowcaseViewDetails *)aShowcaseViewDetails { + if (self == aShowcaseViewDetails) { return YES; } - if (![self.srcParticipantIndex isEqual:aMemberTransferAccountContentsDetails.srcParticipantIndex]) { - return NO; - } - if (![self.destParticipantIndex isEqual:aMemberTransferAccountContentsDetails.destParticipantIndex]) { + if (![self.eventUuid isEqual:aShowcaseViewDetails.eventUuid]) { return NO; } return YES; @@ -36849,68 +165716,58 @@ - (BOOL)isEqualToMemberTransferAccountContentsDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMemberTransferAccountContentsDetailsSerializer +@implementation DBTEAMLOGShowcaseViewDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseViewDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"src_participant_index"] = valueObj.srcParticipantIndex; - jsonDict[@"dest_participant_index"] = valueObj.destParticipantIndex; + jsonDict[@"event_uuid"] = valueObj.eventUuid; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *srcParticipantIndex = valueDict[@"src_participant_index"]; - NSNumber *destParticipantIndex = valueDict[@"dest_participant_index"]; ++ (DBTEAMLOGShowcaseViewDetails *)deserialize:(NSDictionary *)valueDict { + NSString *eventUuid = valueDict[@"event_uuid"]; - return [[DBTEAMLOGMemberTransferAccountContentsDetails alloc] initWithSrcParticipantIndex:srcParticipantIndex - destParticipantIndex:destParticipantIndex]; + return [[DBTEAMLOGShowcaseViewDetails alloc] initWithEventUuid:eventUuid]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h" -#import "DBTEAMLOGMicrosoftOfficeAddinPolicy.h" +#import "DBTEAMLOGShowcaseViewType.h" #pragma mark - API Object -@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails +@implementation DBTEAMLOGShowcaseViewType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue - previousValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGShowcaseViewTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGShowcaseViewTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGShowcaseViewTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -36927,10 +165784,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -36944,22 +165798,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMicrosoftOfficeAddinChangePolicyDetails:other]; + return [self isEqualToShowcaseViewType:other]; } -- (BOOL)isEqualToMicrosoftOfficeAddinChangePolicyDetails: - (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)aMicrosoftOfficeAddinChangePolicyDetails { - if (self == aMicrosoftOfficeAddinChangePolicyDetails) { +- (BOOL)isEqualToShowcaseViewType:(DBTEAMLOGShowcaseViewType *)aShowcaseViewType { + if (self == aShowcaseViewType) { return YES; } - if (![self.dNewValue isEqual:aMicrosoftOfficeAddinChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aShowcaseViewType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aMicrosoftOfficeAddinChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -36967,110 +165815,56 @@ - (BOOL)isEqualToMicrosoftOfficeAddinChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetailsSerializer +@implementation DBTEAMLOGShowcaseViewTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGShowcaseViewType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGMicrosoftOfficeAddinPolicy *dNewValue = - [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGMicrosoftOfficeAddinPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGShowcaseViewType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGShowcaseViewType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMicrosoftOfficeAddinPolicy.h" +#import "DBTEAMLOGSignInAsSessionEndDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMicrosoftOfficeAddinPolicy +@implementation DBTEAMLOGSignInAsSessionEndDetails #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled; - } - return self; -} +- (instancetype)initDefault { -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGMicrosoftOfficeAddinPolicyOther; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGMicrosoftOfficeAddinPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: - return @"DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled"; - case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: - return @"DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled"; - case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: - return @"DBTEAMLOGMicrosoftOfficeAddinPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMicrosoftOfficeAddinPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSignInAsSessionEndDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMicrosoftOfficeAddinPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37087,15 +165881,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: - result = prime * result + [[self tagName] hash]; - } - return prime * result; } @@ -37108,24 +165893,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMicrosoftOfficeAddinPolicy:other]; + return [self isEqualToSignInAsSessionEndDetails:other]; } -- (BOOL)isEqualToMicrosoftOfficeAddinPolicy:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)aMicrosoftOfficeAddinPolicy { - if (self == aMicrosoftOfficeAddinPolicy) { +- (BOOL)isEqualToSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)aSignInAsSessionEndDetails { + if (self == aSignInAsSessionEndDetails) { return YES; } - if (self.tag != aMicrosoftOfficeAddinPolicy.tag) { - return NO; - } - switch (_tag) { - case DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled: - return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; - case DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled: - return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; - case DBTEAMLOGMicrosoftOfficeAddinPolicyOther: - return [[self tagName] isEqual:[aMicrosoftOfficeAddinPolicy tagName]]; - } return YES; } @@ -37133,72 +165907,57 @@ - (BOOL)isEqualToMicrosoftOfficeAddinPolicy:(DBTEAMLOGMicrosoftOfficeAddinPolicy #pragma mark - Serializer Object -@implementation DBTEAMLOGMicrosoftOfficeAddinPolicySerializer +@implementation DBTEAMLOGSignInAsSessionEndDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGMicrosoftOfficeAddinPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGSignInAsSessionEndDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMissingDetails.h" +#import "DBTEAMLOGSignInAsSessionEndType.h" #pragma mark - API Object -@implementation DBTEAMLOGMissingDetails +@implementation DBTEAMLOGSignInAsSessionEndType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMissingDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSignInAsSessionEndTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMissingDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSignInAsSessionEndTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMissingDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSignInAsSessionEndTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37215,6 +165974,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -37227,13 +165988,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMissingDetails:other]; + return [self isEqualToSignInAsSessionEndType:other]; } -- (BOOL)isEqualToMissingDetails:(DBTEAMLOGMissingDetails *)aMissingDetails { - if (self == aMissingDetails) { +- (BOOL)isEqualToSignInAsSessionEndType:(DBTEAMLOGSignInAsSessionEndType *)aSignInAsSessionEndType { + if (self == aSignInAsSessionEndType) { return YES; } + if (![self.description_ isEqual:aSignInAsSessionEndType.description_]) { + return NO; + } return YES; } @@ -37241,60 +166005,56 @@ - (BOOL)isEqualToMissingDetails:(DBTEAMLOGMissingDetails *)aMissingDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGMissingDetailsSerializer +@implementation DBTEAMLOGSignInAsSessionEndTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMissingDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSignInAsSessionEndType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGMissingDetails alloc] initDefault]; + return [[DBTEAMLOGSignInAsSessionEndType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGMobileSessionLogInfo.h" -#import "DBTEAMLOGSessionLogInfo.h" +#import "DBTEAMLOGSignInAsSessionStartDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGMobileSessionLogInfo +@implementation DBTEAMLOGSignInAsSessionStartDetails #pragma mark - Constructors -- (instancetype)initWithSessionId:(NSString *)sessionId { +- (instancetype)initDefault { - self = [super initWithSessionId:sessionId]; + self = [super init]; if (self) { } return self; } -- (instancetype)initDefault { - return [self initWithSessionId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGMobileSessionLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGMobileSessionLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSignInAsSessionStartDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGMobileSessionLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37311,10 +166071,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sessionId != nil) { - result = prime * result + [self.sessionId hash]; - } - return prime * result; } @@ -37327,18 +166083,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToMobileSessionLogInfo:other]; + return [self isEqualToSignInAsSessionStartDetails:other]; } -- (BOOL)isEqualToMobileSessionLogInfo:(DBTEAMLOGMobileSessionLogInfo *)aMobileSessionLogInfo { - if (self == aMobileSessionLogInfo) { +- (BOOL)isEqualToSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetails *)aSignInAsSessionStartDetails { + if (self == aSignInAsSessionStartDetails) { return YES; } - if (self.sessionId) { - if (![self.sessionId isEqual:aMobileSessionLogInfo.sessionId]) { - return NO; - } - } return YES; } @@ -37346,66 +166097,57 @@ - (BOOL)isEqualToMobileSessionLogInfo:(DBTEAMLOGMobileSessionLogInfo *)aMobileSe #pragma mark - Serializer Object -@implementation DBTEAMLOGMobileSessionLogInfoSerializer +@implementation DBTEAMLOGSignInAsSessionStartDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGMobileSessionLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sessionId) { - jsonDict[@"session_id"] = valueObj.sessionId; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *sessionId = valueDict[@"session_id"] ?: nil; ++ (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGMobileSessionLogInfo alloc] initWithSessionId:sessionId]; + return [[DBTEAMLOGSignInAsSessionStartDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNamespaceRelativePathLogInfo.h" +#import "DBTEAMLOGSignInAsSessionStartType.h" #pragma mark - API Object -@implementation DBTEAMLOGNamespaceRelativePathLogInfo +@implementation DBTEAMLOGSignInAsSessionStartType #pragma mark - Constructors -- (instancetype)initWithNsId:(NSString *)nsId relativePath:(NSString *)relativePath { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](nsId); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _nsId = nsId; - _relativePath = relativePath; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithNsId:nil relativePath:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSignInAsSessionStartTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNamespaceRelativePathLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSignInAsSessionStartTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSignInAsSessionStartTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37422,12 +166164,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.nsId != nil) { - result = prime * result + [self.nsId hash]; - } - if (self.relativePath != nil) { - result = prime * result + [self.relativePath hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -37441,22 +166178,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNamespaceRelativePathLogInfo:other]; + return [self isEqualToSignInAsSessionStartType:other]; } -- (BOOL)isEqualToNamespaceRelativePathLogInfo:(DBTEAMLOGNamespaceRelativePathLogInfo *)aNamespaceRelativePathLogInfo { - if (self == aNamespaceRelativePathLogInfo) { +- (BOOL)isEqualToSignInAsSessionStartType:(DBTEAMLOGSignInAsSessionStartType *)aSignInAsSessionStartType { + if (self == aSignInAsSessionStartType) { return YES; } - if (self.nsId) { - if (![self.nsId isEqual:aNamespaceRelativePathLogInfo.nsId]) { - return NO; - } - } - if (self.relativePath) { - if (![self.relativePath isEqual:aNamespaceRelativePathLogInfo.relativePath]) { - return NO; - } + if (![self.description_ isEqual:aSignInAsSessionStartType.description_]) { + return NO; } return YES; } @@ -37465,44 +166195,37 @@ - (BOOL)isEqualToNamespaceRelativePathLogInfo:(DBTEAMLOGNamespaceRelativePathLog #pragma mark - Serializer Object -@implementation DBTEAMLOGNamespaceRelativePathLogInfoSerializer +@implementation DBTEAMLOGSignInAsSessionStartTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNamespaceRelativePathLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.nsId) { - jsonDict[@"ns_id"] = valueObj.nsId; - } - if (valueObj.relativePath) { - jsonDict[@"relative_path"] = valueObj.relativePath; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *nsId = valueDict[@"ns_id"] ?: nil; - NSString *relativePath = valueDict[@"relative_path"] ?: nil; ++ (DBTEAMLOGSignInAsSessionStartType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGNamespaceRelativePathLogInfo alloc] initWithNsId:nsId relativePath:relativePath]; + return [[DBTEAMLOGSignInAsSessionStartType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNetworkControlChangePolicyDetails.h" -#import "DBTEAMLOGNetworkControlPolicy.h" +#import "DBTEAMLOGSmartSyncChangePolicyDetails.h" +#import "DBTEAMPOLICIESSmartSyncPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGNetworkControlChangePolicyDetails +@implementation DBTEAMLOGSmartSyncChangePolicyDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue - previousValue:(DBTEAMLOGNetworkControlPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue + previousValue:(DBTEAMPOLICIESSmartSyncPolicy *)previousValue { self = [super init]; if (self) { @@ -37512,24 +166235,24 @@ - (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGNetworkControlPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; +- (instancetype)initDefault { + return [self initWithDNewValue:nil previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNetworkControlChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNetworkControlChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNetworkControlChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37546,7 +166269,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } if (self.previousValue != nil) { result = prime * result + [self.previousValue hash]; } @@ -37563,19 +166288,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNetworkControlChangePolicyDetails:other]; + return [self isEqualToSmartSyncChangePolicyDetails:other]; } -- (BOOL)isEqualToNetworkControlChangePolicyDetails: - (DBTEAMLOGNetworkControlChangePolicyDetails *)aNetworkControlChangePolicyDetails { - if (self == aNetworkControlChangePolicyDetails) { +- (BOOL)isEqualToSmartSyncChangePolicyDetails:(DBTEAMLOGSmartSyncChangePolicyDetails *)aSmartSyncChangePolicyDetails { + if (self == aSmartSyncChangePolicyDetails) { return YES; } - if (![self.dNewValue isEqual:aNetworkControlChangePolicyDetails.dNewValue]) { - return NO; + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSmartSyncChangePolicyDetails.dNewValue]) { + return NO; + } } if (self.previousValue) { - if (![self.previousValue isEqual:aNetworkControlChangePolicyDetails.previousValue]) { + if (![self.previousValue isEqual:aSmartSyncChangePolicyDetails.previousValue]) { return NO; } } @@ -37586,108 +166312,67 @@ - (BOOL)isEqualToNetworkControlChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGNetworkControlChangePolicyDetailsSerializer +@implementation DBTEAMLOGSmartSyncChangePolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGNetworkControlPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.dNewValue]; + } if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGNetworkControlPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGNetworkControlPolicy *dNewValue = - [DBTEAMLOGNetworkControlPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGNetworkControlPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGNetworkControlPolicySerializer deserialize:valueDict[@"previous_value"]] ++ (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESSmartSyncPolicy *dNewValue = + valueDict[@"new_value"] ? [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:valueDict[@"new_value"]] : nil; + DBTEAMPOLICIESSmartSyncPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; - return [[DBTEAMLOGNetworkControlChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGSmartSyncChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNetworkControlPolicy.h" +#import "DBTEAMLOGSmartSyncChangePolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGNetworkControlPolicy +@implementation DBTEAMLOGSmartSyncChangePolicyType #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGNetworkControlPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGNetworkControlPolicyEnabled; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGNetworkControlPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGNetworkControlPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGNetworkControlPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGNetworkControlPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGNetworkControlPolicyDisabled: - return @"DBTEAMLOGNetworkControlPolicyDisabled"; - case DBTEAMLOGNetworkControlPolicyEnabled: - return @"DBTEAMLOGNetworkControlPolicyEnabled"; - case DBTEAMLOGNetworkControlPolicyOther: - return @"DBTEAMLOGNetworkControlPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNetworkControlPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncChangePolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNetworkControlPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncChangePolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNetworkControlPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37704,14 +166389,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGNetworkControlPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGNetworkControlPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGNetworkControlPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -37725,24 +166403,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNetworkControlPolicy:other]; + return [self isEqualToSmartSyncChangePolicyType:other]; } -- (BOOL)isEqualToNetworkControlPolicy:(DBTEAMLOGNetworkControlPolicy *)aNetworkControlPolicy { - if (self == aNetworkControlPolicy) { +- (BOOL)isEqualToSmartSyncChangePolicyType:(DBTEAMLOGSmartSyncChangePolicyType *)aSmartSyncChangePolicyType { + if (self == aSmartSyncChangePolicyType) { return YES; } - if (self.tag != aNetworkControlPolicy.tag) { + if (![self.description_ isEqual:aSmartSyncChangePolicyType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGNetworkControlPolicyDisabled: - return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; - case DBTEAMLOGNetworkControlPolicyEnabled: - return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; - case DBTEAMLOGNetworkControlPolicyOther: - return [[self tagName] isEqual:[aNetworkControlPolicy tagName]]; - } return YES; } @@ -37750,89 +166420,56 @@ - (BOOL)isEqualToNetworkControlPolicy:(DBTEAMLOGNetworkControlPolicy *)aNetworkC #pragma mark - Serializer Object -@implementation DBTEAMLOGNetworkControlPolicySerializer +@implementation DBTEAMLOGSmartSyncChangePolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNetworkControlPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGSmartSyncChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGNetworkControlPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGNetworkControlPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGNetworkControlPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGNetworkControlPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGSmartSyncChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNonTeamMemberLogInfo.h" -#import "DBTEAMLOGTeamMemberLogInfo.h" -#import "DBTEAMLOGUserLogInfo.h" +#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGUserLogInfo +@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails #pragma mark - Constructors -- (instancetype)initWithAccountId:(NSString *)accountId displayName:(NSString *)displayName email:(NSString *)email { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](displayName); - [DBStoneValidators - nullableValidator:[DBStoneValidators - stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$"]](email); +- (instancetype)initDefault { self = [super init]; if (self) { - _accountId = accountId; - _displayName = displayName; - _email = email; } return self; } -- (instancetype)initDefault { - return [self initWithAccountId:nil displayName:nil email:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGUserLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGUserLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGUserLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -37849,16 +166486,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.accountId != nil) { - result = prime * result + [self.accountId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.email != nil) { - result = prime * result + [self.email hash]; - } - return prime * result; } @@ -37871,28 +166498,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserLogInfo:other]; + return [self isEqualToSmartSyncCreateAdminPrivilegeReportDetails:other]; } -- (BOOL)isEqualToUserLogInfo:(DBTEAMLOGUserLogInfo *)anUserLogInfo { - if (self == anUserLogInfo) { +- (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportDetails: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)aSmartSyncCreateAdminPrivilegeReportDetails { + if (self == aSmartSyncCreateAdminPrivilegeReportDetails) { return YES; } - if (self.accountId) { - if (![self.accountId isEqual:anUserLogInfo.accountId]) { - return NO; - } - } - if (self.displayName) { - if (![self.displayName isEqual:anUserLogInfo.displayName]) { - return NO; - } - } - if (self.email) { - if (![self.email isEqual:anUserLogInfo.email]) { - return NO; - } - } return YES; } @@ -37900,102 +166513,57 @@ - (BOOL)isEqualToUserLogInfo:(DBTEAMLOGUserLogInfo *)anUserLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGUserLogInfoSerializer +@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGUserLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.accountId) { - jsonDict[@"account_id"] = valueObj.accountId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.email) { - jsonDict[@"email"] = valueObj.email; - } - - if ([valueObj isKindOfClass:[DBTEAMLOGTeamMemberLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGTeamMemberLogInfoSerializer serialize:(DBTEAMLOGTeamMemberLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"teamMember"; - } else if ([valueObj isKindOfClass:[DBTEAMLOGNonTeamMemberLogInfo class]]) { - NSDictionary *subTypeFields = - [DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:(DBTEAMLOGNonTeamMemberLogInfo *)valueObj]; - for (NSString *key in subTypeFields) { - jsonDict[key] = subTypeFields[key]; - } - jsonDict[@".tag"] = @"nonTeamMember"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)valueDict { - if ([valueDict[@".tag"] isEqualToString:@"team_member"]) { - return [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:valueDict]; - } - if ([valueDict[@".tag"] isEqualToString:@"non_team_member"]) { - return [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:valueDict]; - } - - NSString *accountId = valueDict[@"account_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSString *email = valueDict[@"email"] ?: nil; ++ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGUserLogInfo alloc] initWithAccountId:accountId displayName:displayName email:email]; + return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNonTeamMemberLogInfo.h" -#import "DBTEAMLOGUserLogInfo.h" +#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h" #pragma mark - API Object -@implementation DBTEAMLOGNonTeamMemberLogInfo +@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType #pragma mark - Constructors -- (instancetype)initWithAccountId:(NSString *)accountId displayName:(NSString *)displayName email:(NSString *)email { - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](displayName); - [DBStoneValidators - nullableValidator:[DBStoneValidators - stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$"]](email); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); - self = [super initWithAccountId:accountId displayName:displayName email:email]; + self = [super init]; if (self) { + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithAccountId:nil displayName:nil email:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38012,15 +166580,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.accountId != nil) { - result = prime * result + [self.accountId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } - if (self.email != nil) { - result = prime * result + [self.email hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -38034,27 +166594,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNonTeamMemberLogInfo:other]; + return [self isEqualToSmartSyncCreateAdminPrivilegeReportType:other]; } -- (BOOL)isEqualToNonTeamMemberLogInfo:(DBTEAMLOGNonTeamMemberLogInfo *)aNonTeamMemberLogInfo { - if (self == aNonTeamMemberLogInfo) { +- (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportType: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)aSmartSyncCreateAdminPrivilegeReportType { + if (self == aSmartSyncCreateAdminPrivilegeReportType) { return YES; } - if (self.accountId) { - if (![self.accountId isEqual:aNonTeamMemberLogInfo.accountId]) { - return NO; - } - } - if (self.displayName) { - if (![self.displayName isEqual:aNonTeamMemberLogInfo.displayName]) { - return NO; - } - } - if (self.email) { - if (![self.email isEqual:aNonTeamMemberLogInfo.email]) { - return NO; - } + if (![self.description_ isEqual:aSmartSyncCreateAdminPrivilegeReportType.description_]) { + return NO; } return YES; } @@ -38063,66 +166612,62 @@ - (BOOL)isEqualToNonTeamMemberLogInfo:(DBTEAMLOGNonTeamMemberLogInfo *)aNonTeamM #pragma mark - Serializer Object -@implementation DBTEAMLOGNonTeamMemberLogInfoSerializer +@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNonTeamMemberLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.accountId) { - jsonDict[@"account_id"] = valueObj.accountId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } - if (valueObj.email) { - jsonDict[@"email"] = valueObj.email; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *accountId = valueDict[@"account_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; - NSString *email = valueDict[@"email"] ?: nil; ++ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGNonTeamMemberLogInfo alloc] initWithAccountId:accountId displayName:displayName email:email]; + return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNoteAclInviteOnlyDetails.h" +#import "DBTEAMLOGSmartSyncNotOptOutDetails.h" +#import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGNoteAclInviteOnlyDetails +@implementation DBTEAMLOGSmartSyncNotOptOutDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue + dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNoteAclInviteOnlyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNoteAclInviteOnlyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38139,6 +166684,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + return prime * result; } @@ -38151,13 +166699,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNoteAclInviteOnlyDetails:other]; + return [self isEqualToSmartSyncNotOptOutDetails:other]; } -- (BOOL)isEqualToNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)aNoteAclInviteOnlyDetails { - if (self == aNoteAclInviteOnlyDetails) { +- (BOOL)isEqualToSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)aSmartSyncNotOptOutDetails { + if (self == aSmartSyncNotOptOutDetails) { return YES; } + if (![self.previousValue isEqual:aSmartSyncNotOptOutDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aSmartSyncNotOptOutDetails.dNewValue]) { + return NO; + } return YES; } @@ -38165,55 +166719,62 @@ - (BOOL)isEqualToNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGNoteAclInviteOnlyDetailsSerializer +@implementation DBTEAMLOGSmartSyncNotOptOutDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -+ (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSmartSyncOptOutPolicy *previousValue = + [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = + [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGNoteAclInviteOnlyDetails alloc] initDefault]; + return [[DBTEAMLOGSmartSyncNotOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNoteAclLinkDetails.h" +#import "DBTEAMLOGSmartSyncNotOptOutType.h" #pragma mark - API Object -@implementation DBTEAMLOGNoteAclLinkDetails +@implementation DBTEAMLOGSmartSyncNotOptOutType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNoteAclLinkDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncNotOptOutTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNoteAclLinkDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncNotOptOutTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNoteAclLinkDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncNotOptOutTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38230,6 +166791,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -38242,13 +166805,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNoteAclLinkDetails:other]; + return [self isEqualToSmartSyncNotOptOutType:other]; } -- (BOOL)isEqualToNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)aNoteAclLinkDetails { - if (self == aNoteAclLinkDetails) { +- (BOOL)isEqualToSmartSyncNotOptOutType:(DBTEAMLOGSmartSyncNotOptOutType *)aSmartSyncNotOptOutType { + if (self == aSmartSyncNotOptOutType) { return YES; } + if (![self.description_ isEqual:aSmartSyncNotOptOutType.description_]) { + return NO; + } return YES; } @@ -38256,55 +166822,62 @@ - (BOOL)isEqualToNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)aNoteAclLinkD #pragma mark - Serializer Object -@implementation DBTEAMLOGNoteAclLinkDetailsSerializer +@implementation DBTEAMLOGSmartSyncNotOptOutTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmartSyncNotOptOutType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGNoteAclLinkDetails alloc] initDefault]; + return [[DBTEAMLOGSmartSyncNotOptOutType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNoteAclTeamLinkDetails.h" +#import "DBTEAMLOGSmartSyncOptOutDetails.h" +#import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGNoteAclTeamLinkDetails +@implementation DBTEAMLOGSmartSyncOptOutDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue + dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNoteAclTeamLinkDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncOptOutDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNoteAclTeamLinkDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38321,6 +166894,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + return prime * result; } @@ -38333,13 +166909,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNoteAclTeamLinkDetails:other]; + return [self isEqualToSmartSyncOptOutDetails:other]; } -- (BOOL)isEqualToNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)aNoteAclTeamLinkDetails { - if (self == aNoteAclTeamLinkDetails) { +- (BOOL)isEqualToSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)aSmartSyncOptOutDetails { + if (self == aSmartSyncOptOutDetails) { return YES; } + if (![self.previousValue isEqual:aSmartSyncOptOutDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aSmartSyncOptOutDetails.dNewValue]) { + return NO; + } return YES; } @@ -38347,55 +166929,105 @@ - (BOOL)isEqualToNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)aNote #pragma mark - Serializer Object -@implementation DBTEAMLOGNoteAclTeamLinkDetailsSerializer +@implementation DBTEAMLOGSmartSyncOptOutDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -+ (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGSmartSyncOptOutPolicy *previousValue = + [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = + [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGNoteAclTeamLinkDetails alloc] initDefault]; + return [[DBTEAMLOGSmartSyncOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNoteShareReceiveDetails.h" +#import "DBTEAMLOGSmartSyncOptOutPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGNoteShareReceiveDetails +@implementation DBTEAMLOGSmartSyncOptOutPolicy #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSmartSyncOptOutPolicyDefault_; + } + return self; +} +- (instancetype)initWithOptedOut { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSmartSyncOptOutPolicyOptedOut; + } + return self; +} + +- (instancetype)initWithOther { self = [super init]; if (self) { + _tag = DBTEAMLOGSmartSyncOptOutPolicyOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefault_ { + return _tag == DBTEAMLOGSmartSyncOptOutPolicyDefault_; +} + +- (BOOL)isOptedOut { + return _tag == DBTEAMLOGSmartSyncOptOutPolicyOptedOut; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGSmartSyncOptOutPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSmartSyncOptOutPolicyDefault_: + return @"DBTEAMLOGSmartSyncOptOutPolicyDefault_"; + case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: + return @"DBTEAMLOGSmartSyncOptOutPolicyOptedOut"; + case DBTEAMLOGSmartSyncOptOutPolicyOther: + return @"DBTEAMLOGSmartSyncOptOutPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNoteShareReceiveDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNoteShareReceiveDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38412,6 +167044,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGSmartSyncOptOutPolicyDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSmartSyncOptOutPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + return prime * result; } @@ -38424,13 +167068,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNoteShareReceiveDetails:other]; + return [self isEqualToSmartSyncOptOutPolicy:other]; } -- (BOOL)isEqualToNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)aNoteShareReceiveDetails { - if (self == aNoteShareReceiveDetails) { +- (BOOL)isEqualToSmartSyncOptOutPolicy:(DBTEAMLOGSmartSyncOptOutPolicy *)aSmartSyncOptOutPolicy { + if (self == aSmartSyncOptOutPolicy) { return YES; } + if (self.tag != aSmartSyncOptOutPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGSmartSyncOptOutPolicyDefault_: + return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; + case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: + return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; + case DBTEAMLOGSmartSyncOptOutPolicyOther: + return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; + } return YES; } @@ -38438,55 +167093,74 @@ - (BOOL)isEqualToNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)aNo #pragma mark - Serializer Object -@implementation DBTEAMLOGNoteShareReceiveDetailsSerializer +@implementation DBTEAMLOGSmartSyncOptOutPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isOptedOut]) { + jsonDict[@".tag"] = @"opted_out"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; } -+ (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGNoteShareReceiveDetails alloc] initDefault]; + if ([tag isEqualToString:@"default"]) { + return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"opted_out"]) { + return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOptedOut]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNoteSharedDetails.h" +#import "DBTEAMLOGSmartSyncOptOutType.h" #pragma mark - API Object -@implementation DBTEAMLOGNoteSharedDetails +@implementation DBTEAMLOGSmartSyncOptOutType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGNoteSharedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmartSyncOptOutTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGNoteSharedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmartSyncOptOutTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGNoteSharedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmartSyncOptOutTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38503,6 +167177,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -38515,13 +167191,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToNoteSharedDetails:other]; + return [self isEqualToSmartSyncOptOutType:other]; } -- (BOOL)isEqualToNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)aNoteSharedDetails { - if (self == aNoteSharedDetails) { +- (BOOL)isEqualToSmartSyncOptOutType:(DBTEAMLOGSmartSyncOptOutType *)aSmartSyncOptOutType { + if (self == aSmartSyncOptOutType) { return YES; } + if (![self.description_ isEqual:aSmartSyncOptOutType.description_]) { + return NO; + } return YES; } @@ -38529,55 +167208,62 @@ - (BOOL)isEqualToNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)aNoteSharedDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGNoteSharedDetailsSerializer +@implementation DBTEAMLOGSmartSyncOptOutTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGNoteSharedDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmartSyncOptOutType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGNoteSharedDetails alloc] initDefault]; + return [[DBTEAMLOGSmartSyncOptOutType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGOpenNoteSharedDetails.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h" +#import "DBTEAMPOLICIESSmarterSmartSyncPolicyState.h" #pragma mark - API Object -@implementation DBTEAMLOGOpenNoteSharedDetails +@implementation DBTEAMLOGSmarterSmartSyncPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPreviousValue:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)previousValue + dNewValue:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGOpenNoteSharedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGOpenNoteSharedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38594,6 +167280,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + return prime * result; } @@ -38606,13 +167295,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToOpenNoteSharedDetails:other]; + return [self isEqualToSmarterSmartSyncPolicyChangedDetails:other]; } -- (BOOL)isEqualToOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)anOpenNoteSharedDetails { - if (self == anOpenNoteSharedDetails) { +- (BOOL)isEqualToSmarterSmartSyncPolicyChangedDetails: + (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)aSmarterSmartSyncPolicyChangedDetails { + if (self == aSmarterSmartSyncPolicyChangedDetails) { return YES; } + if (![self.previousValue isEqual:aSmarterSmartSyncPolicyChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aSmarterSmartSyncPolicyChangedDetails.dNewValue]) { + return NO; + } return YES; } @@ -38620,65 +167316,63 @@ - (BOOL)isEqualToOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)anOpenN #pragma mark - Serializer Object -@implementation DBTEAMLOGOpenNoteSharedDetailsSerializer +@implementation DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -+ (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESSmarterSmartSyncPolicyState *previousValue = + [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMPOLICIESSmarterSmartSyncPolicyState *dNewValue = + [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGOpenNoteSharedDetails alloc] initDefault]; + return + [[DBTEAMLOGSmarterSmartSyncPolicyChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAccessMethodLogInfo.h" -#import "DBTEAMLOGGeoLocationLogInfo.h" -#import "DBTEAMLOGOriginLogInfo.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGOriginLogInfo +@implementation DBTEAMLOGSmarterSmartSyncPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod - geoLocation:(DBTEAMLOGGeoLocationLogInfo *)geoLocation { - [DBStoneValidators nonnullValidator:nil](accessMethod); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _geoLocation = geoLocation; - _accessMethod = accessMethod; + _description_ = description_; } return self; } -- (instancetype)initWithAccessMethod:(DBTEAMLOGAccessMethodLogInfo *)accessMethod { - return [self initWithAccessMethod:accessMethod geoLocation:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGOriginLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGOriginLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGOriginLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38695,10 +167389,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.accessMethod hash]; - if (self.geoLocation != nil) { - result = prime * result + [self.geoLocation hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -38712,21 +167403,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToOriginLogInfo:other]; + return [self isEqualToSmarterSmartSyncPolicyChangedType:other]; } -- (BOOL)isEqualToOriginLogInfo:(DBTEAMLOGOriginLogInfo *)anOriginLogInfo { - if (self == anOriginLogInfo) { +- (BOOL)isEqualToSmarterSmartSyncPolicyChangedType: + (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)aSmarterSmartSyncPolicyChangedType { + if (self == aSmarterSmartSyncPolicyChangedType) { return YES; } - if (![self.accessMethod isEqual:anOriginLogInfo.accessMethod]) { + if (![self.description_ isEqual:aSmarterSmartSyncPolicyChangedType.description_]) { return NO; } - if (self.geoLocation) { - if (![self.geoLocation isEqual:anOriginLogInfo.geoLocation]) { - return NO; - } - } return YES; } @@ -38734,60 +167421,54 @@ - (BOOL)isEqualToOriginLogInfo:(DBTEAMLOGOriginLogInfo *)anOriginLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGOriginLogInfoSerializer +@implementation DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGOriginLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"access_method"] = [DBTEAMLOGAccessMethodLogInfoSerializer serialize:valueObj.accessMethod]; - if (valueObj.geoLocation) { - jsonDict[@"geo_location"] = [DBTEAMLOGGeoLocationLogInfoSerializer serialize:valueObj.geoLocation]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGAccessMethodLogInfo *accessMethod = - [DBTEAMLOGAccessMethodLogInfoSerializer deserialize:valueDict[@"access_method"]]; - DBTEAMLOGGeoLocationLogInfo *geoLocation = - valueDict[@"geo_location"] ? [DBTEAMLOGGeoLocationLogInfoSerializer deserialize:valueDict[@"geo_location"]] : nil; ++ (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGOriginLogInfo alloc] initWithAccessMethod:accessMethod geoLocation:geoLocation]; + return [[DBTEAMLOGSmarterSmartSyncPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperAccessType.h" +#import "DBTEAMLOGSpaceCapsType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperAccessType +@implementation DBTEAMLOGSpaceCapsType #pragma mark - Constructors -- (instancetype)initWithViewer { +- (instancetype)initWithHard { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperAccessTypeViewer; + _tag = DBTEAMLOGSpaceCapsTypeHard; } return self; } -- (instancetype)initWithCommenter { +- (instancetype)initWithOff { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperAccessTypeCommenter; + _tag = DBTEAMLOGSpaceCapsTypeOff; } return self; } -- (instancetype)initWithEditor { +- (instancetype)initWithSoft { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperAccessTypeEditor; + _tag = DBTEAMLOGSpaceCapsTypeSoft; } return self; } @@ -38795,7 +167476,7 @@ - (instancetype)initWithEditor { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperAccessTypeOther; + _tag = DBTEAMLOGSpaceCapsTypeOther; } return self; } @@ -38804,32 +167485,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isViewer { - return _tag == DBTEAMLOGPaperAccessTypeViewer; +- (BOOL)isHard { + return _tag == DBTEAMLOGSpaceCapsTypeHard; } -- (BOOL)isCommenter { - return _tag == DBTEAMLOGPaperAccessTypeCommenter; +- (BOOL)isOff { + return _tag == DBTEAMLOGSpaceCapsTypeOff; } -- (BOOL)isEditor { - return _tag == DBTEAMLOGPaperAccessTypeEditor; +- (BOOL)isSoft { + return _tag == DBTEAMLOGSpaceCapsTypeSoft; } - (BOOL)isOther { - return _tag == DBTEAMLOGPaperAccessTypeOther; + return _tag == DBTEAMLOGSpaceCapsTypeOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGPaperAccessTypeViewer: - return @"DBTEAMLOGPaperAccessTypeViewer"; - case DBTEAMLOGPaperAccessTypeCommenter: - return @"DBTEAMLOGPaperAccessTypeCommenter"; - case DBTEAMLOGPaperAccessTypeEditor: - return @"DBTEAMLOGPaperAccessTypeEditor"; - case DBTEAMLOGPaperAccessTypeOther: - return @"DBTEAMLOGPaperAccessTypeOther"; + case DBTEAMLOGSpaceCapsTypeHard: + return @"DBTEAMLOGSpaceCapsTypeHard"; + case DBTEAMLOGSpaceCapsTypeOff: + return @"DBTEAMLOGSpaceCapsTypeOff"; + case DBTEAMLOGSpaceCapsTypeSoft: + return @"DBTEAMLOGSpaceCapsTypeSoft"; + case DBTEAMLOGSpaceCapsTypeOther: + return @"DBTEAMLOGSpaceCapsTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -38837,18 +167518,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperAccessTypeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSpaceCapsTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperAccessTypeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSpaceCapsTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperAccessTypeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSpaceCapsTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -38866,14 +167547,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGPaperAccessTypeViewer: + case DBTEAMLOGSpaceCapsTypeHard: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperAccessTypeCommenter: + break; + case DBTEAMLOGSpaceCapsTypeOff: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperAccessTypeEditor: + break; + case DBTEAMLOGSpaceCapsTypeSoft: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperAccessTypeOther: + break; + case DBTEAMLOGSpaceCapsTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -38888,25 +167573,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperAccessType:other]; + return [self isEqualToSpaceCapsType:other]; } -- (BOOL)isEqualToPaperAccessType:(DBTEAMLOGPaperAccessType *)aPaperAccessType { - if (self == aPaperAccessType) { +- (BOOL)isEqualToSpaceCapsType:(DBTEAMLOGSpaceCapsType *)aSpaceCapsType { + if (self == aSpaceCapsType) { return YES; } - if (self.tag != aPaperAccessType.tag) { + if (self.tag != aSpaceCapsType.tag) { return NO; } switch (_tag) { - case DBTEAMLOGPaperAccessTypeViewer: - return [[self tagName] isEqual:[aPaperAccessType tagName]]; - case DBTEAMLOGPaperAccessTypeCommenter: - return [[self tagName] isEqual:[aPaperAccessType tagName]]; - case DBTEAMLOGPaperAccessTypeEditor: - return [[self tagName] isEqual:[aPaperAccessType tagName]]; - case DBTEAMLOGPaperAccessTypeOther: - return [[self tagName] isEqual:[aPaperAccessType tagName]]; + case DBTEAMLOGSpaceCapsTypeHard: + return [[self tagName] isEqual:[aSpaceCapsType tagName]]; + case DBTEAMLOGSpaceCapsTypeOff: + return [[self tagName] isEqual:[aSpaceCapsType tagName]]; + case DBTEAMLOGSpaceCapsTypeSoft: + return [[self tagName] isEqual:[aSpaceCapsType tagName]]; + case DBTEAMLOGSpaceCapsTypeOther: + return [[self tagName] isEqual:[aSpaceCapsType tagName]]; } return YES; } @@ -38915,39 +167600,39 @@ - (BOOL)isEqualToPaperAccessType:(DBTEAMLOGPaperAccessType *)aPaperAccessType { #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperAccessTypeSerializer +@implementation DBTEAMLOGSpaceCapsTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperAccessType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSpaceCapsType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isViewer]) { - jsonDict[@".tag"] = @"viewer"; - } else if ([valueObj isCommenter]) { - jsonDict[@".tag"] = @"commenter"; - } else if ([valueObj isEditor]) { - jsonDict[@".tag"] = @"editor"; + if ([valueObj isHard]) { + jsonDict[@".tag"] = @"hard"; + } else if ([valueObj isOff]) { + jsonDict[@".tag"] = @"off"; + } else if ([valueObj isSoft]) { + jsonDict[@".tag"] = @"soft"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGSpaceCapsType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"viewer"]) { - return [[DBTEAMLOGPaperAccessType alloc] initWithViewer]; - } else if ([tag isEqualToString:@"commenter"]) { - return [[DBTEAMLOGPaperAccessType alloc] initWithCommenter]; - } else if ([tag isEqualToString:@"editor"]) { - return [[DBTEAMLOGPaperAccessType alloc] initWithEditor]; + if ([tag isEqualToString:@"hard"]) { + return [[DBTEAMLOGSpaceCapsType alloc] initWithHard]; + } else if ([tag isEqualToString:@"off"]) { + return [[DBTEAMLOGSpaceCapsType alloc] initWithOff]; + } else if ([tag isEqualToString:@"soft"]) { + return [[DBTEAMLOGSpaceCapsType alloc] initWithSoft]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGPaperAccessType alloc] initWithOther]; + return [[DBTEAMLOGSpaceCapsType alloc] initWithOther]; } else { - return [[DBTEAMLOGPaperAccessType alloc] initWithOther]; + return [[DBTEAMLOGSpaceCapsType alloc] initWithOther]; } } @@ -38955,136 +167640,95 @@ + (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperAdminExportStartDetails.h" +#import "DBTEAMLOGSpaceLimitsStatus.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperAdminExportStartDetails +@implementation DBTEAMLOGSpaceLimitsStatus #pragma mark - Constructors -- (instancetype)initDefault { - +- (instancetype)initWithNearQuota { self = [super init]; if (self) { + _tag = DBTEAMLOGSpaceLimitsStatusNearQuota; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperAdminExportStartDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperAdminExportStartDetailsSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGPaperAdminExportStartDetailsSerializer serialize:self] description]; -} - -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithOverQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSpaceLimitsStatusOverQuota; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - return prime * result; -} - -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithWithinQuota { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSpaceLimitsStatusWithinQuota; } - return [self isEqualToPaperAdminExportStartDetails:other]; + return self; } -- (BOOL)isEqualToPaperAdminExportStartDetails:(DBTEAMLOGPaperAdminExportStartDetails *)aPaperAdminExportStartDetails { - if (self == aPaperAdminExportStartDetails) { - return YES; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGSpaceLimitsStatusOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGPaperAdminExportStartDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartDetails *)valueObj { -#pragma unused(valueObj) - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} +#pragma mark - Instance field accessors -+ (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) +#pragma mark - Tag state methods - return [[DBTEAMLOGPaperAdminExportStartDetails alloc] initDefault]; +- (BOOL)isNearQuota { + return _tag == DBTEAMLOGSpaceLimitsStatusNearQuota; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGPaperChangeDeploymentPolicyDetails.h" -#import "DBTEAMPOLICIESPaperDeploymentPolicy.h" - -#pragma mark - API Object - -@implementation DBTEAMLOGPaperChangeDeploymentPolicyDetails +- (BOOL)isOverQuota { + return _tag == DBTEAMLOGSpaceLimitsStatusOverQuota; +} -#pragma mark - Constructors +- (BOOL)isWithinQuota { + return _tag == DBTEAMLOGSpaceLimitsStatusWithinQuota; +} -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue - previousValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (BOOL)isOther { + return _tag == DBTEAMLOGSpaceLimitsStatusOther; +} - self = [super init]; - if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGSpaceLimitsStatusNearQuota: + return @"DBTEAMLOGSpaceLimitsStatusNearQuota"; + case DBTEAMLOGSpaceLimitsStatusOverQuota: + return @"DBTEAMLOGSpaceLimitsStatusOverQuota"; + case DBTEAMLOGSpaceLimitsStatusWithinQuota: + return @"DBTEAMLOGSpaceLimitsStatusWithinQuota"; + case DBTEAMLOGSpaceLimitsStatusOther: + return @"DBTEAMLOGSpaceLimitsStatusOther"; } - return self; -} -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperDeploymentPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSpaceLimitsStatusSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSpaceLimitsStatusSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39101,9 +167745,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + switch (_tag) { + case DBTEAMLOGSpaceLimitsStatusNearQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSpaceLimitsStatusOverQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSpaceLimitsStatusWithinQuota: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGSpaceLimitsStatusOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -39118,21 +167772,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperChangeDeploymentPolicyDetails:other]; + return [self isEqualToSpaceLimitsStatus:other]; } -- (BOOL)isEqualToPaperChangeDeploymentPolicyDetails: - (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)aPaperChangeDeploymentPolicyDetails { - if (self == aPaperChangeDeploymentPolicyDetails) { +- (BOOL)isEqualToSpaceLimitsStatus:(DBTEAMLOGSpaceLimitsStatus *)aSpaceLimitsStatus { + if (self == aSpaceLimitsStatus) { return YES; } - if (![self.dNewValue isEqual:aPaperChangeDeploymentPolicyDetails.dNewValue]) { + if (self.tag != aSpaceLimitsStatus.tag) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aPaperChangeDeploymentPolicyDetails.previousValue]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGSpaceLimitsStatusNearQuota: + return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; + case DBTEAMLOGSpaceLimitsStatusOverQuota: + return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; + case DBTEAMLOGSpaceLimitsStatusWithinQuota: + return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; + case DBTEAMLOGSpaceLimitsStatusOther: + return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; } return YES; } @@ -39141,67 +167799,79 @@ - (BOOL)isEqualToPaperChangeDeploymentPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperChangeDeploymentPolicyDetailsSerializer +@implementation DBTEAMLOGSpaceLimitsStatusSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:valueObj.previousValue]; + if ([valueObj isNearQuota]) { + jsonDict[@".tag"] = @"near_quota"; + } else if ([valueObj isOverQuota]) { + jsonDict[@".tag"] = @"over_quota"; + } else if ([valueObj isWithinQuota]) { + jsonDict[@".tag"] = @"within_quota"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESPaperDeploymentPolicy *dNewValue = - [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESPaperDeploymentPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGPaperChangeDeploymentPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + if ([tag isEqualToString:@"near_quota"]) { + return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithNearQuota]; + } else if ([tag isEqualToString:@"over_quota"]) { + return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOverQuota]; + } else if ([tag isEqualToString:@"within_quota"]) { + return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithWithinQuota]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOther]; + } else { + return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h" -#import "DBTEAMLOGPaperMemberPolicy.h" +#import "DBTEAMLOGCertificate.h" +#import "DBTEAMLOGSsoAddCertDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperChangeMemberLinkPolicyDetails +@implementation DBTEAMLOGSsoAddCertDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithCertificateDetails:(DBTEAMLOGCertificate *)certificateDetails { + [DBStoneValidators nonnullValidator:nil](certificateDetails); self = [super init]; if (self) { - _dNewValue = dNewValue; + _certificateDetails = certificateDetails; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddCertDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddCertDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39218,7 +167888,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.certificateDetails hash]; return prime * result; } @@ -39232,15 +167902,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperChangeMemberLinkPolicyDetails:other]; + return [self isEqualToSsoAddCertDetails:other]; } -- (BOOL)isEqualToPaperChangeMemberLinkPolicyDetails: - (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)aPaperChangeMemberLinkPolicyDetails { - if (self == aPaperChangeMemberLinkPolicyDetails) { +- (BOOL)isEqualToSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)aSsoAddCertDetails { + if (self == aSsoAddCertDetails) { return YES; } - if (![self.dNewValue isEqual:aPaperChangeMemberLinkPolicyDetails.dNewValue]) { + if (![self.certificateDetails isEqual:aSsoAddCertDetails.certificateDetails]) { return NO; } return YES; @@ -39250,65 +167919,59 @@ - (BOOL)isEqualToPaperChangeMemberLinkPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperChangeMemberLinkPolicyDetailsSerializer +@implementation DBTEAMLOGSsoAddCertDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.certificateDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPaperMemberPolicy *dNewValue = [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"new_value"]]; ++ (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGCertificate *certificateDetails = + [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"certificate_details"]]; - return [[DBTEAMLOGPaperChangeMemberLinkPolicyDetails alloc] initWithDNewValue:dNewValue]; + return [[DBTEAMLOGSsoAddCertDetails alloc] initWithCertificateDetails:certificateDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperChangeMemberPolicyDetails.h" -#import "DBTEAMLOGPaperMemberPolicy.h" +#import "DBTEAMLOGSsoAddCertType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperChangeMemberPolicyDetails +@implementation DBTEAMLOGSsoAddCertType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue - previousValue:(DBTEAMLOGPaperMemberPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGPaperMemberPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddCertTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddCertTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39325,10 +167988,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -39342,22 +168002,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperChangeMemberPolicyDetails:other]; + return [self isEqualToSsoAddCertType:other]; } -- (BOOL)isEqualToPaperChangeMemberPolicyDetails: - (DBTEAMLOGPaperChangeMemberPolicyDetails *)aPaperChangeMemberPolicyDetails { - if (self == aPaperChangeMemberPolicyDetails) { +- (BOOL)isEqualToSsoAddCertType:(DBTEAMLOGSsoAddCertType *)aSsoAddCertType { + if (self == aSsoAddCertType) { return YES; } - if (![self.dNewValue isEqual:aPaperChangeMemberPolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aSsoAddCertType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aPaperChangeMemberPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -39365,71 +168019,58 @@ - (BOOL)isEqualToPaperChangeMemberPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperChangeMemberPolicyDetailsSerializer +@implementation DBTEAMLOGSsoAddCertTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGPaperMemberPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGPaperMemberPolicy *dNewValue = [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGPaperMemberPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGPaperMemberPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGSsoAddCertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperChangeMemberPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGSsoAddCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperChangePolicyDetails.h" -#import "DBTEAMPOLICIESPaperEnabledPolicy.h" +#import "DBTEAMLOGSsoAddLoginUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperChangePolicyDetails +@implementation DBTEAMLOGSsoAddLoginUrlDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue - previousValue:(DBTEAMPOLICIESPaperEnabledPolicy *)previousValue { +- (instancetype)initWithDNewValue:(NSString *)dNewValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { _dNewValue = dNewValue; - _previousValue = previousValue; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESPaperEnabledPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddLoginUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39447,9 +168088,6 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } return prime * result; } @@ -39463,21 +168101,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperChangePolicyDetails:other]; + return [self isEqualToSsoAddLoginUrlDetails:other]; } -- (BOOL)isEqualToPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)aPaperChangePolicyDetails { - if (self == aPaperChangePolicyDetails) { +- (BOOL)isEqualToSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)aSsoAddLoginUrlDetails { + if (self == aSsoAddLoginUrlDetails) { return YES; } - if (![self.dNewValue isEqual:aPaperChangePolicyDetails.dNewValue]) { + if (![self.dNewValue isEqual:aSsoAddLoginUrlDetails.dNewValue]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aPaperChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -39485,66 +168118,58 @@ - (BOOL)isEqualToPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperChangePolicyDetailsSerializer +@implementation DBTEAMLOGSsoAddLoginUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESPaperEnabledPolicy *dNewValue = - [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESPaperEnabledPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; - return [[DBTEAMLOGPaperChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGSsoAddLoginUrlDetails alloc] initWithDNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentAddMemberDetails.h" +#import "DBTEAMLOGSsoAddLoginUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentAddMemberDetails +@implementation DBTEAMLOGSsoAddLoginUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddLoginUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentAddMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddLoginUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentAddMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39561,7 +168186,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -39575,14 +168200,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentAddMemberDetails:other]; + return [self isEqualToSsoAddLoginUrlType:other]; } -- (BOOL)isEqualToPaperContentAddMemberDetails:(DBTEAMLOGPaperContentAddMemberDetails *)aPaperContentAddMemberDetails { - if (self == aPaperContentAddMemberDetails) { +- (BOOL)isEqualToSsoAddLoginUrlType:(DBTEAMLOGSsoAddLoginUrlType *)aSsoAddLoginUrlType { + if (self == aSsoAddLoginUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperContentAddMemberDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoAddLoginUrlType.description_]) { return NO; } return YES; @@ -39592,64 +168217,61 @@ - (BOOL)isEqualToPaperContentAddMemberDetails:(DBTEAMLOGPaperContentAddMemberDet #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentAddMemberDetailsSerializer +@implementation DBTEAMLOGSsoAddLoginUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoAddLoginUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperContentAddMemberDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoAddLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentAddToFolderDetails.h" +#import "DBTEAMLOGSsoAddLogoutUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentAddToFolderDetails +@implementation DBTEAMLOGSsoAddLogoutUrlDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid - targetAssetIndex:(NSNumber *)targetAssetIndex - parentAssetIndex:(NSNumber *)parentAssetIndex { - [DBStoneValidators nonnullValidator:nil](eventUuid); - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](parentAssetIndex); +- (instancetype)initWithDNewValue:(NSString *)dNewValue { self = [super init]; if (self) { - _eventUuid = eventUuid; - _targetAssetIndex = targetAssetIndex; - _parentAssetIndex = parentAssetIndex; + _dNewValue = dNewValue; } return self; } +- (instancetype)initDefault { + return [self initWithDNewValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentAddToFolderDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentAddToFolderDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentAddToFolderDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39666,9 +168288,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.parentAssetIndex hash]; + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } return prime * result; } @@ -39682,22 +168304,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentAddToFolderDetails:other]; + return [self isEqualToSsoAddLogoutUrlDetails:other]; } -- (BOOL)isEqualToPaperContentAddToFolderDetails: - (DBTEAMLOGPaperContentAddToFolderDetails *)aPaperContentAddToFolderDetails { - if (self == aPaperContentAddToFolderDetails) { +- (BOOL)isEqualToSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)aSsoAddLogoutUrlDetails { + if (self == aSsoAddLogoutUrlDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperContentAddToFolderDetails.eventUuid]) { - return NO; - } - if (![self.targetAssetIndex isEqual:aPaperContentAddToFolderDetails.targetAssetIndex]) { - return NO; - } - if (![self.parentAssetIndex isEqual:aPaperContentAddToFolderDetails.parentAssetIndex]) { - return NO; + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSsoAddLogoutUrlDetails.dNewValue]) { + return NO; + } } return YES; } @@ -39706,64 +168323,60 @@ - (BOOL)isEqualToPaperContentAddToFolderDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentAddToFolderDetailsSerializer +@implementation DBTEAMLOGSsoAddLogoutUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"parent_asset_index"] = valueObj.parentAssetIndex; + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = valueObj.dNewValue; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSNumber *parentAssetIndex = valueDict[@"parent_asset_index"]; ++ (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"] ?: nil; - return [[DBTEAMLOGPaperContentAddToFolderDetails alloc] initWithEventUuid:eventUuid - targetAssetIndex:targetAssetIndex - parentAssetIndex:parentAssetIndex]; + return [[DBTEAMLOGSsoAddLogoutUrlDetails alloc] initWithDNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentArchiveDetails.h" +#import "DBTEAMLOGSsoAddLogoutUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentArchiveDetails +@implementation DBTEAMLOGSsoAddLogoutUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoAddLogoutUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentArchiveDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoAddLogoutUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentArchiveDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoAddLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39780,7 +168393,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -39794,14 +168407,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentArchiveDetails:other]; + return [self isEqualToSsoAddLogoutUrlType:other]; } -- (BOOL)isEqualToPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)aPaperContentArchiveDetails { - if (self == aPaperContentArchiveDetails) { +- (BOOL)isEqualToSsoAddLogoutUrlType:(DBTEAMLOGSsoAddLogoutUrlType *)aSsoAddLogoutUrlType { + if (self == aSsoAddLogoutUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperContentArchiveDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoAddLogoutUrlType.description_]) { return NO; } return YES; @@ -39811,58 +168424,65 @@ - (BOOL)isEqualToPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentArchiveDetailsSerializer +@implementation DBTEAMLOGSsoAddLogoutUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoAddLogoutUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperContentArchiveDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoAddLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentCreateDetails.h" +#import "DBTEAMLOGCertificate.h" +#import "DBTEAMLOGSsoChangeCertDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentCreateDetails +@implementation DBTEAMLOGSsoChangeCertDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails + previousCertificateDetails:(DBTEAMLOGCertificate *)previousCertificateDetails { + [DBStoneValidators nonnullValidator:nil](dNewCertificateDetails); self = [super init]; if (self) { - _eventUuid = eventUuid; + _previousCertificateDetails = previousCertificateDetails; + _dNewCertificateDetails = dNewCertificateDetails; } return self; } +- (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails { + return [self initWithDNewCertificateDetails:dNewCertificateDetails previousCertificateDetails:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeCertDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeCertDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39879,7 +168499,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewCertificateDetails hash]; + if (self.previousCertificateDetails != nil) { + result = prime * result + [self.previousCertificateDetails hash]; + } return prime * result; } @@ -39893,16 +168516,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentCreateDetails:other]; + return [self isEqualToSsoChangeCertDetails:other]; } -- (BOOL)isEqualToPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)aPaperContentCreateDetails { - if (self == aPaperContentCreateDetails) { +- (BOOL)isEqualToSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)aSsoChangeCertDetails { + if (self == aSsoChangeCertDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperContentCreateDetails.eventUuid]) { + if (![self.dNewCertificateDetails isEqual:aSsoChangeCertDetails.dNewCertificateDetails]) { return NO; } + if (self.previousCertificateDetails) { + if (![self.previousCertificateDetails isEqual:aSsoChangeCertDetails.previousCertificateDetails]) { + return NO; + } + } return YES; } @@ -39910,58 +168538,68 @@ - (BOOL)isEqualToPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentCreateDetailsSerializer +@implementation DBTEAMLOGSsoChangeCertDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.dNewCertificateDetails]; + if (valueObj.previousCertificateDetails) { + jsonDict[@"previous_certificate_details"] = + [DBTEAMLOGCertificateSerializer serialize:valueObj.previousCertificateDetails]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGCertificate *dNewCertificateDetails = + [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"new_certificate_details"]]; + DBTEAMLOGCertificate *previousCertificateDetails = + valueDict[@"previous_certificate_details"] + ? [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"previous_certificate_details"]] + : nil; - return [[DBTEAMLOGPaperContentCreateDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeCertDetails alloc] initWithDNewCertificateDetails:dNewCertificateDetails + previousCertificateDetails:previousCertificateDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentPermanentlyDeleteDetails.h" +#import "DBTEAMLOGSsoChangeCertType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentPermanentlyDeleteDetails +@implementation DBTEAMLOGSsoChangeCertType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeCertTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeCertTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -39978,7 +168616,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -39992,15 +168630,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentPermanentlyDeleteDetails:other]; + return [self isEqualToSsoChangeCertType:other]; } -- (BOOL)isEqualToPaperContentPermanentlyDeleteDetails: - (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)aPaperContentPermanentlyDeleteDetails { - if (self == aPaperContentPermanentlyDeleteDetails) { +- (BOOL)isEqualToSsoChangeCertType:(DBTEAMLOGSsoChangeCertType *)aSsoChangeCertType { + if (self == aSsoChangeCertType) { return YES; } - if (![self.eventUuid isEqual:aPaperContentPermanentlyDeleteDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoChangeCertType.description_]) { return NO; } return YES; @@ -40010,58 +168647,60 @@ - (BOOL)isEqualToPaperContentPermanentlyDeleteDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentPermanentlyDeleteDetailsSerializer +@implementation DBTEAMLOGSsoChangeCertTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeCertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperContentPermanentlyDeleteDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentRemoveFromFolderDetails.h" +#import "DBTEAMLOGSsoChangeLoginUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentRemoveFromFolderDetails +@implementation DBTEAMLOGSsoChangeLoginUrlDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _eventUuid = eventUuid; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40078,7 +168717,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; return prime * result; } @@ -40092,15 +168732,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentRemoveFromFolderDetails:other]; + return [self isEqualToSsoChangeLoginUrlDetails:other]; } -- (BOOL)isEqualToPaperContentRemoveFromFolderDetails: - (DBTEAMLOGPaperContentRemoveFromFolderDetails *)aPaperContentRemoveFromFolderDetails { - if (self == aPaperContentRemoveFromFolderDetails) { +- (BOOL)isEqualToSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)aSsoChangeLoginUrlDetails { + if (self == aSsoChangeLoginUrlDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperContentRemoveFromFolderDetails.eventUuid]) { + if (![self.previousValue isEqual:aSsoChangeLoginUrlDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aSsoChangeLoginUrlDetails.dNewValue]) { return NO; } return YES; @@ -40110,58 +168752,60 @@ - (BOOL)isEqualToPaperContentRemoveFromFolderDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentRemoveFromFolderDetailsSerializer +@implementation DBTEAMLOGSsoChangeLoginUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; - return [[DBTEAMLOGPaperContentRemoveFromFolderDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeLoginUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentRemoveMemberDetails.h" +#import "DBTEAMLOGSsoChangeLoginUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentRemoveMemberDetails +@implementation DBTEAMLOGSsoChangeLoginUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentRemoveMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeLoginUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentRemoveMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeLoginUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentRemoveMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40178,7 +168822,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -40192,15 +168836,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentRemoveMemberDetails:other]; + return [self isEqualToSsoChangeLoginUrlType:other]; } -- (BOOL)isEqualToPaperContentRemoveMemberDetails: - (DBTEAMLOGPaperContentRemoveMemberDetails *)aPaperContentRemoveMemberDetails { - if (self == aPaperContentRemoveMemberDetails) { +- (BOOL)isEqualToSsoChangeLoginUrlType:(DBTEAMLOGSsoChangeLoginUrlType *)aSsoChangeLoginUrlType { + if (self == aSsoChangeLoginUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperContentRemoveMemberDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoChangeLoginUrlType.description_]) { return NO; } return YES; @@ -40210,58 +168853,62 @@ - (BOOL)isEqualToPaperContentRemoveMemberDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentRemoveMemberDetailsSerializer +@implementation DBTEAMLOGSsoChangeLoginUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeLoginUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperContentRemoveMemberDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentRenameDetails.h" +#import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentRenameDetails +@implementation DBTEAMLOGSsoChangeLogoutUrlDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { self = [super init]; if (self) { - _eventUuid = eventUuid; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } +- (instancetype)initDefault { + return [self initWithPreviousValue:nil dNewValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentRenameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentRenameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentRenameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40278,7 +168925,12 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + if (self.dNewValue != nil) { + result = prime * result + [self.dNewValue hash]; + } return prime * result; } @@ -40292,15 +168944,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentRenameDetails:other]; + return [self isEqualToSsoChangeLogoutUrlDetails:other]; } -- (BOOL)isEqualToPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)aPaperContentRenameDetails { - if (self == aPaperContentRenameDetails) { +- (BOOL)isEqualToSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)aSsoChangeLogoutUrlDetails { + if (self == aSsoChangeLogoutUrlDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperContentRenameDetails.eventUuid]) { - return NO; + if (self.previousValue) { + if (![self.previousValue isEqual:aSsoChangeLogoutUrlDetails.previousValue]) { + return NO; + } + } + if (self.dNewValue) { + if (![self.dNewValue isEqual:aSsoChangeLogoutUrlDetails.dNewValue]) { + return NO; + } } return YES; } @@ -40309,58 +168968,64 @@ - (BOOL)isEqualToPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentRenameDetailsSerializer +@implementation DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = valueObj.previousValue; + } + if (valueObj.dNewValue) { + jsonDict[@"new_value"] = valueObj.dNewValue; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"] ?: nil; + NSString *dNewValue = valueDict[@"new_value"] ?: nil; - return [[DBTEAMLOGPaperContentRenameDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeLogoutUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperContentRestoreDetails.h" +#import "DBTEAMLOGSsoChangeLogoutUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperContentRestoreDetails +@implementation DBTEAMLOGSsoChangeLogoutUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeLogoutUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperContentRestoreDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeLogoutUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperContentRestoreDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40377,7 +169042,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -40391,14 +169056,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperContentRestoreDetails:other]; + return [self isEqualToSsoChangeLogoutUrlType:other]; } -- (BOOL)isEqualToPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)aPaperContentRestoreDetails { - if (self == aPaperContentRestoreDetails) { +- (BOOL)isEqualToSsoChangeLogoutUrlType:(DBTEAMLOGSsoChangeLogoutUrlType *)aSsoChangeLogoutUrlType { + if (self == aSsoChangeLogoutUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperContentRestoreDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoChangeLogoutUrlType.description_]) { return NO; } return YES; @@ -40408,63 +169073,65 @@ - (BOOL)isEqualToPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperContentRestoreDetailsSerializer +@implementation DBTEAMLOGSsoChangeLogoutUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoChangeLogoutUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperContentRestoreDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoChangeLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocAddCommentDetails.h" +#import "DBTEAMLOGSsoChangePolicyDetails.h" +#import "DBTEAMPOLICIESSsoPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocAddCommentDetails +@implementation DBTEAMLOGSsoChangePolicyDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue + previousValue:(DBTEAMPOLICIESSsoPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _eventUuid = eventUuid; - _commentText = commentText; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid commentText:nil]; +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocAddCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangePolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocAddCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40481,9 +169148,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; } return prime * result; @@ -40498,18 +169165,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocAddCommentDetails:other]; + return [self isEqualToSsoChangePolicyDetails:other]; } -- (BOOL)isEqualToPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)aPaperDocAddCommentDetails { - if (self == aPaperDocAddCommentDetails) { +- (BOOL)isEqualToSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)aSsoChangePolicyDetails { + if (self == aSsoChangePolicyDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocAddCommentDetails.eventUuid]) { + if (![self.dNewValue isEqual:aSsoChangePolicyDetails.dNewValue]) { return NO; } - if (self.commentText) { - if (![self.commentText isEqual:aPaperDocAddCommentDetails.commentText]) { + if (self.previousValue) { + if (![self.previousValue isEqual:aSsoChangePolicyDetails.previousValue]) { return NO; } } @@ -40520,65 +169187,63 @@ - (BOOL)isEqualToPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocAddCommentDetailsSerializer +@implementation DBTEAMLOGSsoChangePolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; + jsonDict[@"new_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESSsoPolicy *dNewValue = [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESSsoPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; - return [[DBTEAMLOGPaperDocAddCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; + return [[DBTEAMLOGSsoChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperAccessType.h" -#import "DBTEAMLOGPaperDocChangeMemberRoleDetails.h" +#import "DBTEAMLOGSsoChangePolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocChangeMemberRoleDetails +@implementation DBTEAMLOGSsoChangePolicyType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid accessType:(DBTEAMLOGPaperAccessType *)accessType { - [DBStoneValidators nonnullValidator:nil](eventUuid); - [DBStoneValidators nonnullValidator:nil](accessType); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; - _accessType = accessType; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangePolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangePolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40595,8 +169260,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - result = prime * result + [self.accessType hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -40610,18 +169274,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocChangeMemberRoleDetails:other]; + return [self isEqualToSsoChangePolicyType:other]; } -- (BOOL)isEqualToPaperDocChangeMemberRoleDetails: - (DBTEAMLOGPaperDocChangeMemberRoleDetails *)aPaperDocChangeMemberRoleDetails { - if (self == aPaperDocChangeMemberRoleDetails) { +- (BOOL)isEqualToSsoChangePolicyType:(DBTEAMLOGSsoChangePolicyType *)aSsoChangePolicyType { + if (self == aSsoChangePolicyType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocChangeMemberRoleDetails.eventUuid]) { - return NO; - } - if (![self.accessType isEqual:aPaperDocChangeMemberRoleDetails.accessType]) { + if (![self.description_ isEqual:aSsoChangePolicyType.description_]) { return NO; } return YES; @@ -40631,68 +169291,60 @@ - (BOOL)isEqualToPaperDocChangeMemberRoleDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocChangeMemberRoleDetailsSerializer +@implementation DBTEAMLOGSsoChangePolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - jsonDict[@"access_type"] = [DBTEAMLOGPaperAccessTypeSerializer serialize:valueObj.accessType]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - DBTEAMLOGPaperAccessType *accessType = [DBTEAMLOGPaperAccessTypeSerializer deserialize:valueDict[@"access_type"]]; ++ (DBTEAMLOGSsoChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocChangeMemberRoleDetails alloc] initWithEventUuid:eventUuid accessType:accessType]; + return [[DBTEAMLOGSsoChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocChangeSharingPolicyDetails.h" +#import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocChangeSharingPolicyDetails +@implementation DBTEAMLOGSsoChangeSamlIdentityModeDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid - publicSharingPolicy:(NSString *)publicSharingPolicy - teamSharingPolicy:(NSString *)teamSharingPolicy { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _eventUuid = eventUuid; - _publicSharingPolicy = publicSharingPolicy; - _teamSharingPolicy = teamSharingPolicy; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid publicSharingPolicy:nil teamSharingPolicy:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40709,13 +169361,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.publicSharingPolicy != nil) { - result = prime * result + [self.publicSharingPolicy hash]; - } - if (self.teamSharingPolicy != nil) { - result = prime * result + [self.teamSharingPolicy hash]; - } + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; return prime * result; } @@ -40729,26 +169376,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocChangeSharingPolicyDetails:other]; + return [self isEqualToSsoChangeSamlIdentityModeDetails:other]; } -- (BOOL)isEqualToPaperDocChangeSharingPolicyDetails: - (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)aPaperDocChangeSharingPolicyDetails { - if (self == aPaperDocChangeSharingPolicyDetails) { +- (BOOL)isEqualToSsoChangeSamlIdentityModeDetails: + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)aSsoChangeSamlIdentityModeDetails { + if (self == aSsoChangeSamlIdentityModeDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocChangeSharingPolicyDetails.eventUuid]) { + if (![self.previousValue isEqual:aSsoChangeSamlIdentityModeDetails.previousValue]) { return NO; } - if (self.publicSharingPolicy) { - if (![self.publicSharingPolicy isEqual:aPaperDocChangeSharingPolicyDetails.publicSharingPolicy]) { - return NO; - } - } - if (self.teamSharingPolicy) { - if (![self.teamSharingPolicy isEqual:aPaperDocChangeSharingPolicyDetails.teamSharingPolicy]) { - return NO; - } + if (![self.dNewValue isEqual:aSsoChangeSamlIdentityModeDetails.dNewValue]) { + return NO; } return YES; } @@ -40757,77 +169397,60 @@ - (BOOL)isEqualToPaperDocChangeSharingPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocChangeSharingPolicyDetailsSerializer +@implementation DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.publicSharingPolicy) { - jsonDict[@"public_sharing_policy"] = valueObj.publicSharingPolicy; - } - if (valueObj.teamSharingPolicy) { - jsonDict[@"team_sharing_policy"] = valueObj.teamSharingPolicy; - } + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *publicSharingPolicy = valueDict[@"public_sharing_policy"] ?: nil; - NSString *teamSharingPolicy = valueDict[@"team_sharing_policy"] ?: nil; ++ (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)valueDict { + NSNumber *previousValue = valueDict[@"previous_value"]; + NSNumber *dNewValue = valueDict[@"new_value"]; - return [[DBTEAMLOGPaperDocChangeSharingPolicyDetails alloc] initWithEventUuid:eventUuid - publicSharingPolicy:publicSharingPolicy - teamSharingPolicy:teamSharingPolicy]; + return [[DBTEAMLOGSsoChangeSamlIdentityModeDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocChangeSubscriptionDetails.h" +#import "DBTEAMLOGSsoChangeSamlIdentityModeType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocChangeSubscriptionDetails +@implementation DBTEAMLOGSsoChangeSamlIdentityModeType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid - dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel - previousSubscriptionLevel:(NSString *)previousSubscriptionLevel { - [DBStoneValidators nonnullValidator:nil](eventUuid); - [DBStoneValidators nonnullValidator:nil](dNewSubscriptionLevel); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; - _dNewSubscriptionLevel = dNewSubscriptionLevel; - _previousSubscriptionLevel = previousSubscriptionLevel; + _description_ = description_; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel { - return [self initWithEventUuid:eventUuid dNewSubscriptionLevel:dNewSubscriptionLevel previousSubscriptionLevel:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40844,11 +169467,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - result = prime * result + [self.dNewSubscriptionLevel hash]; - if (self.previousSubscriptionLevel != nil) { - result = prime * result + [self.previousSubscriptionLevel hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -40862,25 +169481,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocChangeSubscriptionDetails:other]; + return [self isEqualToSsoChangeSamlIdentityModeType:other]; } -- (BOOL)isEqualToPaperDocChangeSubscriptionDetails: - (DBTEAMLOGPaperDocChangeSubscriptionDetails *)aPaperDocChangeSubscriptionDetails { - if (self == aPaperDocChangeSubscriptionDetails) { +- (BOOL)isEqualToSsoChangeSamlIdentityModeType: + (DBTEAMLOGSsoChangeSamlIdentityModeType *)aSsoChangeSamlIdentityModeType { + if (self == aSsoChangeSamlIdentityModeType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocChangeSubscriptionDetails.eventUuid]) { - return NO; - } - if (![self.dNewSubscriptionLevel isEqual:aPaperDocChangeSubscriptionDetails.dNewSubscriptionLevel]) { + if (![self.description_ isEqual:aSsoChangeSamlIdentityModeType.description_]) { return NO; } - if (self.previousSubscriptionLevel) { - if (![self.previousSubscriptionLevel isEqual:aPaperDocChangeSubscriptionDetails.previousSubscriptionLevel]) { - return NO; - } - } return YES; } @@ -40888,71 +169499,59 @@ - (BOOL)isEqualToPaperDocChangeSubscriptionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocChangeSubscriptionDetailsSerializer +@implementation DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - jsonDict[@"new_subscription_level"] = valueObj.dNewSubscriptionLevel; - if (valueObj.previousSubscriptionLevel) { - jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *dNewSubscriptionLevel = valueDict[@"new_subscription_level"]; - NSString *previousSubscriptionLevel = valueDict[@"previous_subscription_level"] ?: nil; ++ (DBTEAMLOGSsoChangeSamlIdentityModeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocChangeSubscriptionDetails alloc] initWithEventUuid:eventUuid - dNewSubscriptionLevel:dNewSubscriptionLevel - previousSubscriptionLevel:previousSubscriptionLevel]; + return [[DBTEAMLOGSsoChangeSamlIdentityModeType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocDeleteCommentDetails.h" +#import "DBTEAMLOGFailureDetailsLogInfo.h" +#import "DBTEAMLOGSsoErrorDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocDeleteCommentDetails +@implementation DBTEAMLOGSsoErrorDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { + [DBStoneValidators nonnullValidator:nil](errorDetails); self = [super init]; if (self) { - _eventUuid = eventUuid; - _commentText = commentText; + _errorDetails = errorDetails; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid commentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoErrorDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocDeleteCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoErrorDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocDeleteCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoErrorDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -40969,10 +169568,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.errorDetails hash]; return prime * result; } @@ -40986,21 +169582,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocDeleteCommentDetails:other]; + return [self isEqualToSsoErrorDetails:other]; } -- (BOOL)isEqualToPaperDocDeleteCommentDetails:(DBTEAMLOGPaperDocDeleteCommentDetails *)aPaperDocDeleteCommentDetails { - if (self == aPaperDocDeleteCommentDetails) { +- (BOOL)isEqualToSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)aSsoErrorDetails { + if (self == aSsoErrorDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocDeleteCommentDetails.eventUuid]) { + if (![self.errorDetails isEqual:aSsoErrorDetails.errorDetails]) { return NO; } - if (self.commentText) { - if (![self.commentText isEqual:aPaperDocDeleteCommentDetails.commentText]) { - return NO; - } - } return YES; } @@ -41008,62 +169599,59 @@ - (BOOL)isEqualToPaperDocDeleteCommentDetails:(DBTEAMLOGPaperDocDeleteCommentDet #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocDeleteCommentDetailsSerializer +@implementation DBTEAMLOGSsoErrorDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFailureDetailsLogInfo *errorDetails = + [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; - return [[DBTEAMLOGPaperDocDeleteCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; + return [[DBTEAMLOGSsoErrorDetails alloc] initWithErrorDetails:errorDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocDeletedDetails.h" +#import "DBTEAMLOGSsoErrorType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocDeletedDetails +@implementation DBTEAMLOGSsoErrorType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoErrorTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocDeletedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoErrorTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocDeletedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoErrorTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41080,7 +169668,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -41094,14 +169682,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocDeletedDetails:other]; + return [self isEqualToSsoErrorType:other]; } -- (BOOL)isEqualToPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)aPaperDocDeletedDetails { - if (self == aPaperDocDeletedDetails) { +- (BOOL)isEqualToSsoErrorType:(DBTEAMLOGSsoErrorType *)aSsoErrorType { + if (self == aSsoErrorType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocDeletedDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoErrorType.description_]) { return NO; } return YES; @@ -41111,62 +169699,56 @@ - (BOOL)isEqualToPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)aPape #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocDeletedDetailsSerializer +@implementation DBTEAMLOGSsoErrorTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoErrorType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoErrorType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocDeletedDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoErrorType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocDownloadDetails.h" -#import "DBTEAMLOGPaperDownloadFormat.h" +#import "DBTEAMLOGSsoRemoveCertDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocDownloadDetails +@implementation DBTEAMLOGSsoRemoveCertDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid - exportFileFormat:(DBTEAMLOGPaperDownloadFormat *)exportFileFormat { - [DBStoneValidators nonnullValidator:nil](eventUuid); - [DBStoneValidators nonnullValidator:nil](exportFileFormat); +- (instancetype)initDefault { self = [super init]; if (self) { - _eventUuid = eventUuid; - _exportFileFormat = exportFileFormat; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocDownloadDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveCertDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocDownloadDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41183,9 +169765,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - result = prime * result + [self.exportFileFormat hash]; - return prime * result; } @@ -41198,19 +169777,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocDownloadDetails:other]; + return [self isEqualToSsoRemoveCertDetails:other]; } -- (BOOL)isEqualToPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)aPaperDocDownloadDetails { - if (self == aPaperDocDownloadDetails) { +- (BOOL)isEqualToSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)aSsoRemoveCertDetails { + if (self == aSsoRemoveCertDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocDownloadDetails.eventUuid]) { - return NO; - } - if (![self.exportFileFormat isEqual:aPaperDocDownloadDetails.exportFileFormat]) { - return NO; - } return YES; } @@ -41218,66 +169791,57 @@ - (BOOL)isEqualToPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)aPa #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocDownloadDetailsSerializer +@implementation DBTEAMLOGSsoRemoveCertDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - jsonDict[@"export_file_format"] = [DBTEAMLOGPaperDownloadFormatSerializer serialize:valueObj.exportFileFormat]; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - DBTEAMLOGPaperDownloadFormat *exportFileFormat = - [DBTEAMLOGPaperDownloadFormatSerializer deserialize:valueDict[@"export_file_format"]]; ++ (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGPaperDocDownloadDetails alloc] initWithEventUuid:eventUuid exportFileFormat:exportFileFormat]; + return [[DBTEAMLOGSsoRemoveCertDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocEditCommentDetails.h" +#import "DBTEAMLOGSsoRemoveCertType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocEditCommentDetails +@implementation DBTEAMLOGSsoRemoveCertType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid commentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveCertTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocEditCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveCertTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocEditCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveCertTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41294,10 +169858,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -41311,21 +169872,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocEditCommentDetails:other]; + return [self isEqualToSsoRemoveCertType:other]; } -- (BOOL)isEqualToPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)aPaperDocEditCommentDetails { - if (self == aPaperDocEditCommentDetails) { +- (BOOL)isEqualToSsoRemoveCertType:(DBTEAMLOGSsoRemoveCertType *)aSsoRemoveCertType { + if (self == aSsoRemoveCertType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocEditCommentDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoRemoveCertType.description_]) { return NO; } - if (self.commentText) { - if (![self.commentText isEqual:aPaperDocEditCommentDetails.commentText]) { - return NO; - } - } return YES; } @@ -41333,62 +169889,58 @@ - (BOOL)isEqualToPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocEditCommentDetailsSerializer +@implementation DBTEAMLOGSsoRemoveCertTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGSsoRemoveCertType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocEditCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; + return [[DBTEAMLOGSsoRemoveCertType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocEditDetails.h" +#import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocEditDetails +@implementation DBTEAMLOGSsoRemoveLoginUrlDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithPreviousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _eventUuid = eventUuid; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocEditDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocEditDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocEditDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41405,7 +169957,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -41419,14 +169971,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocEditDetails:other]; + return [self isEqualToSsoRemoveLoginUrlDetails:other]; } -- (BOOL)isEqualToPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)aPaperDocEditDetails { - if (self == aPaperDocEditDetails) { +- (BOOL)isEqualToSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)aSsoRemoveLoginUrlDetails { + if (self == aSsoRemoveLoginUrlDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocEditDetails.eventUuid]) { + if (![self.previousValue isEqual:aSsoRemoveLoginUrlDetails.previousValue]) { return NO; } return YES; @@ -41436,58 +169988,58 @@ - (BOOL)isEqualToPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)aPaperDocEd #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocEditDetailsSerializer +@implementation DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocEditDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; - return [[DBTEAMLOGPaperDocEditDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoRemoveLoginUrlDetails alloc] initWithPreviousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocFollowedDetails.h" +#import "DBTEAMLOGSsoRemoveLoginUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocFollowedDetails +@implementation DBTEAMLOGSsoRemoveLoginUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveLoginUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocFollowedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveLoginUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocFollowedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveLoginUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41504,7 +170056,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -41518,14 +170070,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocFollowedDetails:other]; + return [self isEqualToSsoRemoveLoginUrlType:other]; } -- (BOOL)isEqualToPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)aPaperDocFollowedDetails { - if (self == aPaperDocFollowedDetails) { +- (BOOL)isEqualToSsoRemoveLoginUrlType:(DBTEAMLOGSsoRemoveLoginUrlType *)aSsoRemoveLoginUrlType { + if (self == aSsoRemoveLoginUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocFollowedDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoRemoveLoginUrlType.description_]) { return NO; } return YES; @@ -41535,58 +170087,58 @@ - (BOOL)isEqualToPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)aPa #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocFollowedDetailsSerializer +@implementation DBTEAMLOGSsoRemoveLoginUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoRemoveLoginUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocFollowedDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoRemoveLoginUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocMentionDetails.h" +#import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocMentionDetails +@implementation DBTEAMLOGSsoRemoveLogoutUrlDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithPreviousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _eventUuid = eventUuid; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocMentionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocMentionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocMentionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41603,7 +170155,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -41617,14 +170169,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocMentionDetails:other]; + return [self isEqualToSsoRemoveLogoutUrlDetails:other]; } -- (BOOL)isEqualToPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)aPaperDocMentionDetails { - if (self == aPaperDocMentionDetails) { +- (BOOL)isEqualToSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)aSsoRemoveLogoutUrlDetails { + if (self == aSsoRemoveLogoutUrlDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocMentionDetails.eventUuid]) { + if (![self.previousValue isEqual:aSsoRemoveLogoutUrlDetails.previousValue]) { return NO; } return YES; @@ -41634,58 +170186,58 @@ - (BOOL)isEqualToPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)aPape #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocMentionDetailsSerializer +@implementation DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; - return [[DBTEAMLOGPaperDocMentionDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoRemoveLogoutUrlDetails alloc] initWithPreviousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocRequestAccessDetails.h" +#import "DBTEAMLOGSsoRemoveLogoutUrlType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocRequestAccessDetails +@implementation DBTEAMLOGSsoRemoveLogoutUrlType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocRequestAccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocRequestAccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41702,7 +170254,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -41716,14 +170268,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocRequestAccessDetails:other]; + return [self isEqualToSsoRemoveLogoutUrlType:other]; } -- (BOOL)isEqualToPaperDocRequestAccessDetails:(DBTEAMLOGPaperDocRequestAccessDetails *)aPaperDocRequestAccessDetails { - if (self == aPaperDocRequestAccessDetails) { +- (BOOL)isEqualToSsoRemoveLogoutUrlType:(DBTEAMLOGSsoRemoveLogoutUrlType *)aSsoRemoveLogoutUrlType { + if (self == aSsoRemoveLogoutUrlType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocRequestAccessDetails.eventUuid]) { + if (![self.description_ isEqual:aSsoRemoveLogoutUrlType.description_]) { return NO; } return YES; @@ -41733,63 +170285,59 @@ - (BOOL)isEqualToPaperDocRequestAccessDetails:(DBTEAMLOGPaperDocRequestAccessDet #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocRequestAccessDetailsSerializer +@implementation DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGSsoRemoveLogoutUrlType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocRequestAccessDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGSsoRemoveLogoutUrlType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocResolveCommentDetails.h" +#import "DBTEAMLOGFedExtraDetails.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocResolveCommentDetails +@implementation DBTEAMLOGStartedEnterpriseAdminSessionDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithFederationExtraDetails:(DBTEAMLOGFedExtraDetails *)federationExtraDetails { + [DBStoneValidators nonnullValidator:nil](federationExtraDetails); self = [super init]; if (self) { - _eventUuid = eventUuid; - _commentText = commentText; + _federationExtraDetails = federationExtraDetails; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid commentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocResolveCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocResolveCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocResolveCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41806,10 +170354,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.federationExtraDetails hash]; return prime * result; } @@ -41823,21 +170368,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocResolveCommentDetails:other]; + return [self isEqualToStartedEnterpriseAdminSessionDetails:other]; } -- (BOOL)isEqualToPaperDocResolveCommentDetails: - (DBTEAMLOGPaperDocResolveCommentDetails *)aPaperDocResolveCommentDetails { - if (self == aPaperDocResolveCommentDetails) { +- (BOOL)isEqualToStartedEnterpriseAdminSessionDetails: + (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)aStartedEnterpriseAdminSessionDetails { + if (self == aStartedEnterpriseAdminSessionDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocResolveCommentDetails.eventUuid]) { - return NO; - } - if (self.commentText) { - if (![self.commentText isEqual:aPaperDocResolveCommentDetails.commentText]) { - return NO; - } + if (![self.federationExtraDetails isEqual:aStartedEnterpriseAdminSessionDetails.federationExtraDetails]) { + return NO; } return YES; } @@ -41846,62 +170386,60 @@ - (BOOL)isEqualToPaperDocResolveCommentDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocResolveCommentDetailsSerializer +@implementation DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"federation_extra_details"] = + [DBTEAMLOGFedExtraDetailsSerializer serialize:valueObj.federationExtraDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGFedExtraDetails *federationExtraDetails = + [DBTEAMLOGFedExtraDetailsSerializer deserialize:valueDict[@"federation_extra_details"]]; - return [[DBTEAMLOGPaperDocResolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; + return [[DBTEAMLOGStartedEnterpriseAdminSessionDetails alloc] initWithFederationExtraDetails:federationExtraDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocRevertDetails.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocRevertDetails +@implementation DBTEAMLOGStartedEnterpriseAdminSessionType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocRevertDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocRevertDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocRevertDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -41918,7 +170456,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -41932,14 +170470,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocRevertDetails:other]; + return [self isEqualToStartedEnterpriseAdminSessionType:other]; } -- (BOOL)isEqualToPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)aPaperDocRevertDetails { - if (self == aPaperDocRevertDetails) { +- (BOOL)isEqualToStartedEnterpriseAdminSessionType: + (DBTEAMLOGStartedEnterpriseAdminSessionType *)aStartedEnterpriseAdminSessionType { + if (self == aStartedEnterpriseAdminSessionType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocRevertDetails.eventUuid]) { + if (![self.description_ isEqual:aStartedEnterpriseAdminSessionType.description_]) { return NO; } return YES; @@ -41949,58 +170488,60 @@ - (BOOL)isEqualToPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)aPaperD #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocRevertDetailsSerializer +@implementation DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGStartedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocRevertDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGStartedEnterpriseAdminSessionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocSlackShareDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocSlackShareDetails +@implementation DBTEAMLOGTeamActivityCreateReportDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { + [DBStoneValidators nonnullValidator:nil](startDate); + [DBStoneValidators nonnullValidator:nil](endDate); self = [super init]; if (self) { - _eventUuid = eventUuid; + _startDate = startDate; + _endDate = endDate; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocSlackShareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamActivityCreateReportDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocSlackShareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42017,7 +170558,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.startDate hash]; + result = prime * result + [self.endDate hash]; return prime * result; } @@ -42031,14 +170573,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocSlackShareDetails:other]; + return [self isEqualToTeamActivityCreateReportDetails:other]; } -- (BOOL)isEqualToPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)aPaperDocSlackShareDetails { - if (self == aPaperDocSlackShareDetails) { +- (BOOL)isEqualToTeamActivityCreateReportDetails: + (DBTEAMLOGTeamActivityCreateReportDetails *)aTeamActivityCreateReportDetails { + if (self == aTeamActivityCreateReportDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocSlackShareDetails.eventUuid]) { + if (![self.startDate isEqual:aTeamActivityCreateReportDetails.startDate]) { + return NO; + } + if (![self.endDate isEqual:aTeamActivityCreateReportDetails.endDate]) { return NO; } return YES; @@ -42048,58 +170594,61 @@ - (BOOL)isEqualToPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocSlackShareDetailsSerializer +@implementation DBTEAMLOGTeamActivityCreateReportDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)valueDict { + NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - return [[DBTEAMLOGPaperDocSlackShareDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamActivityCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocTeamInviteDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportFailDetails.h" +#import "DBTEAMTeamReportFailureReason.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocTeamInviteDetails +@implementation DBTEAMLOGTeamActivityCreateReportFailDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason { + [DBStoneValidators nonnullValidator:nil](failureReason); self = [super init]; if (self) { - _eventUuid = eventUuid; + _failureReason = failureReason; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocTeamInviteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocTeamInviteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42116,7 +170665,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.failureReason hash]; return prime * result; } @@ -42130,14 +170679,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocTeamInviteDetails:other]; + return [self isEqualToTeamActivityCreateReportFailDetails:other]; } -- (BOOL)isEqualToPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)aPaperDocTeamInviteDetails { - if (self == aPaperDocTeamInviteDetails) { +- (BOOL)isEqualToTeamActivityCreateReportFailDetails: + (DBTEAMLOGTeamActivityCreateReportFailDetails *)aTeamActivityCreateReportFailDetails { + if (self == aTeamActivityCreateReportFailDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocTeamInviteDetails.eventUuid]) { + if (![self.failureReason isEqual:aTeamActivityCreateReportFailDetails.failureReason]) { return NO; } return YES; @@ -42147,58 +170697,59 @@ - (BOOL)isEqualToPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocTeamInviteDetailsSerializer +@implementation DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"failure_reason"] = [DBTEAMTeamReportFailureReasonSerializer serialize:valueObj.failureReason]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamActivityCreateReportFailDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamReportFailureReason *failureReason = + [DBTEAMTeamReportFailureReasonSerializer deserialize:valueDict[@"failure_reason"]]; - return [[DBTEAMLOGPaperDocTeamInviteDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamActivityCreateReportFailDetails alloc] initWithFailureReason:failureReason]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocTrashedDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportFailType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocTrashedDetails +@implementation DBTEAMLOGTeamActivityCreateReportFailType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamActivityCreateReportFailTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocTrashedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamActivityCreateReportFailTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocTrashedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamActivityCreateReportFailTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42215,7 +170766,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -42229,14 +170780,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocTrashedDetails:other]; + return [self isEqualToTeamActivityCreateReportFailType:other]; } -- (BOOL)isEqualToPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)aPaperDocTrashedDetails { - if (self == aPaperDocTrashedDetails) { +- (BOOL)isEqualToTeamActivityCreateReportFailType: + (DBTEAMLOGTeamActivityCreateReportFailType *)aTeamActivityCreateReportFailType { + if (self == aTeamActivityCreateReportFailType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocTrashedDetails.eventUuid]) { + if (![self.description_ isEqual:aTeamActivityCreateReportFailType.description_]) { return NO; } return YES; @@ -42246,63 +170798,58 @@ - (BOOL)isEqualToPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)aPape #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocTrashedDetailsSerializer +@implementation DBTEAMLOGTeamActivityCreateReportFailTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamActivityCreateReportFailType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocTrashedDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamActivityCreateReportFailType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocUnresolveCommentDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocUnresolveCommentDetails +@implementation DBTEAMLOGTeamActivityCreateReportType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(NSString *)commentText { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; - _commentText = commentText; + _description_ = description_; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - return [self initWithEventUuid:eventUuid commentText:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamActivityCreateReportTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamActivityCreateReportTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamActivityCreateReportTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42319,10 +170866,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - if (self.commentText != nil) { - result = prime * result + [self.commentText hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -42336,22 +170880,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocUnresolveCommentDetails:other]; + return [self isEqualToTeamActivityCreateReportType:other]; } -- (BOOL)isEqualToPaperDocUnresolveCommentDetails: - (DBTEAMLOGPaperDocUnresolveCommentDetails *)aPaperDocUnresolveCommentDetails { - if (self == aPaperDocUnresolveCommentDetails) { +- (BOOL)isEqualToTeamActivityCreateReportType:(DBTEAMLOGTeamActivityCreateReportType *)aTeamActivityCreateReportType { + if (self == aTeamActivityCreateReportType) { return YES; } - if (![self.eventUuid isEqual:aPaperDocUnresolveCommentDetails.eventUuid]) { + if (![self.description_ isEqual:aTeamActivityCreateReportType.description_]) { return NO; } - if (self.commentText) { - if (![self.commentText isEqual:aPaperDocUnresolveCommentDetails.commentText]) { - return NO; - } - } return YES; } @@ -42359,62 +170897,101 @@ - (BOOL)isEqualToPaperDocUnresolveCommentDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocUnresolveCommentDetailsSerializer +@implementation DBTEAMLOGTeamActivityCreateReportTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - if (valueObj.commentText) { - jsonDict[@"comment_text"] = valueObj.commentText; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *commentText = valueDict[@"comment_text"] ?: nil; ++ (DBTEAMLOGTeamActivityCreateReportType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocUnresolveCommentDetails alloc] initWithEventUuid:eventUuid commentText:commentText]; + return [[DBTEAMLOGTeamActivityCreateReportType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocUntrashedDetails.h" +#import "DBTEAMLOGTeamBrandingPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocUntrashedDetails +@implementation DBTEAMLOGTeamBrandingPolicy #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamBrandingPolicyDisabled; + } + return self; +} +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _eventUuid = eventUuid; + _tag = DBTEAMLOGTeamBrandingPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamBrandingPolicyOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGTeamBrandingPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGTeamBrandingPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamBrandingPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamBrandingPolicyDisabled: + return @"DBTEAMLOGTeamBrandingPolicyDisabled"; + case DBTEAMLOGTeamBrandingPolicyEnabled: + return @"DBTEAMLOGTeamBrandingPolicyEnabled"; + case DBTEAMLOGTeamBrandingPolicyOther: + return @"DBTEAMLOGTeamBrandingPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamBrandingPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocUntrashedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamBrandingPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocUntrashedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamBrandingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42431,7 +171008,17 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + switch (_tag) { + case DBTEAMLOGTeamBrandingPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamBrandingPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamBrandingPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -42445,16 +171032,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocUntrashedDetails:other]; + return [self isEqualToTeamBrandingPolicy:other]; } -- (BOOL)isEqualToPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)aPaperDocUntrashedDetails { - if (self == aPaperDocUntrashedDetails) { +- (BOOL)isEqualToTeamBrandingPolicy:(DBTEAMLOGTeamBrandingPolicy *)aTeamBrandingPolicy { + if (self == aTeamBrandingPolicy) { return YES; } - if (![self.eventUuid isEqual:aPaperDocUntrashedDetails.eventUuid]) { + if (self.tag != aTeamBrandingPolicy.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGTeamBrandingPolicyDisabled: + return [[self tagName] isEqual:[aTeamBrandingPolicy tagName]]; + case DBTEAMLOGTeamBrandingPolicyEnabled: + return [[self tagName] isEqual:[aTeamBrandingPolicy tagName]]; + case DBTEAMLOGTeamBrandingPolicyOther: + return [[self tagName] isEqual:[aTeamBrandingPolicy tagName]]; + } return YES; } @@ -42462,58 +171057,78 @@ - (BOOL)isEqualToPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocUntrashedDetailsSerializer +@implementation DBTEAMLOGTeamBrandingPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamBrandingPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGPaperDocUntrashedDetails alloc] initWithEventUuid:eventUuid]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGTeamBrandingPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGTeamBrandingPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamBrandingPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamBrandingPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocViewDetails.h" +#import "DBTEAMLOGTeamBrandingPolicy.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocViewDetails +@implementation DBTEAMLOGTeamBrandingPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamBrandingPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamBrandingPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { - _eventUuid = eventUuid; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocViewDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocViewDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocViewDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42530,7 +171145,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -42544,14 +171160,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocViewDetails:other]; + return [self isEqualToTeamBrandingPolicyChangedDetails:other]; } -- (BOOL)isEqualToPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)aPaperDocViewDetails { - if (self == aPaperDocViewDetails) { +- (BOOL)isEqualToTeamBrandingPolicyChangedDetails: + (DBTEAMLOGTeamBrandingPolicyChangedDetails *)aTeamBrandingPolicyChangedDetails { + if (self == aTeamBrandingPolicyChangedDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperDocViewDetails.eventUuid]) { + if (![self.dNewValue isEqual:aTeamBrandingPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aTeamBrandingPolicyChangedDetails.previousValue]) { return NO; } return YES; @@ -42561,60 +171181,61 @@ - (BOOL)isEqualToPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)aPaperDocVi #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocViewDetailsSerializer +@implementation DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocViewDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"new_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGTeamBrandingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamBrandingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamBrandingPolicy *dNewValue = [DBTEAMLOGTeamBrandingPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTeamBrandingPolicy *previousValue = + [DBTEAMLOGTeamBrandingPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGPaperDocViewDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamBrandingPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDocumentLogInfo.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDocumentLogInfo +@implementation DBTEAMLOGTeamBrandingPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithDocId:(NSString *)docId docTitle:(NSString *)docTitle { - [DBStoneValidators nonnullValidator:nil](docId); - [DBStoneValidators nonnullValidator:nil](docTitle); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _docId = docId; - _docTitle = docTitle; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDocumentLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDocumentLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDocumentLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42631,8 +171252,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.docId hash]; - result = prime * result + [self.docTitle hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -42646,17 +171266,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDocumentLogInfo:other]; + return [self isEqualToTeamBrandingPolicyChangedType:other]; } -- (BOOL)isEqualToPaperDocumentLogInfo:(DBTEAMLOGPaperDocumentLogInfo *)aPaperDocumentLogInfo { - if (self == aPaperDocumentLogInfo) { +- (BOOL)isEqualToTeamBrandingPolicyChangedType: + (DBTEAMLOGTeamBrandingPolicyChangedType *)aTeamBrandingPolicyChangedType { + if (self == aTeamBrandingPolicyChangedType) { return YES; } - if (![self.docId isEqual:aPaperDocumentLogInfo.docId]) { - return NO; - } - if (![self.docTitle isEqual:aPaperDocumentLogInfo.docTitle]) { + if (![self.description_ isEqual:aTeamBrandingPolicyChangedType.description_]) { return NO; } return YES; @@ -42666,117 +171284,58 @@ - (BOOL)isEqualToPaperDocumentLogInfo:(DBTEAMLOGPaperDocumentLogInfo *)aPaperDoc #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDocumentLogInfoSerializer +@implementation DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDocumentLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"doc_id"] = valueObj.docId; - jsonDict[@"doc_title"] = valueObj.docTitle; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *docId = valueDict[@"doc_id"]; - NSString *docTitle = valueDict[@"doc_title"]; ++ (DBTEAMLOGTeamBrandingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperDocumentLogInfo alloc] initWithDocId:docId docTitle:docTitle]; + return [[DBTEAMLOGTeamBrandingPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperDownloadFormat.h" +#import "DBTEAMLOGTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperDownloadFormat +@implementation DBTEAMLOGTeamDetails #pragma mark - Constructors -- (instancetype)initWithDocx { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperDownloadFormatDocx; - } - return self; -} - -- (instancetype)initWithHtml { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperDownloadFormatHtml; - } - return self; -} - -- (instancetype)initWithMarkdown { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperDownloadFormatMarkdown; - } - return self; -} +- (instancetype)initWithTeam:(NSString *)team { + [DBStoneValidators nonnullValidator:nil](team); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperDownloadFormatOther; + _team = team; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDocx { - return _tag == DBTEAMLOGPaperDownloadFormatDocx; -} - -- (BOOL)isHtml { - return _tag == DBTEAMLOGPaperDownloadFormatHtml; -} - -- (BOOL)isMarkdown { - return _tag == DBTEAMLOGPaperDownloadFormatMarkdown; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGPaperDownloadFormatOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGPaperDownloadFormatDocx: - return @"DBTEAMLOGPaperDownloadFormatDocx"; - case DBTEAMLOGPaperDownloadFormatHtml: - return @"DBTEAMLOGPaperDownloadFormatHtml"; - case DBTEAMLOGPaperDownloadFormatMarkdown: - return @"DBTEAMLOGPaperDownloadFormatMarkdown"; - case DBTEAMLOGPaperDownloadFormatOther: - return @"DBTEAMLOGPaperDownloadFormatOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperDownloadFormatSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperDownloadFormatSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperDownloadFormatSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42793,16 +171352,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGPaperDownloadFormatDocx: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperDownloadFormatHtml: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperDownloadFormatMarkdown: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperDownloadFormatOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.team hash]; return prime * result; } @@ -42816,26 +171366,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDownloadFormat:other]; + return [self isEqualToTeamDetails:other]; } -- (BOOL)isEqualToPaperDownloadFormat:(DBTEAMLOGPaperDownloadFormat *)aPaperDownloadFormat { - if (self == aPaperDownloadFormat) { +- (BOOL)isEqualToTeamDetails:(DBTEAMLOGTeamDetails *)aTeamDetails { + if (self == aTeamDetails) { return YES; } - if (self.tag != aPaperDownloadFormat.tag) { + if (![self.team isEqual:aTeamDetails.team]) { return NO; } - switch (_tag) { - case DBTEAMLOGPaperDownloadFormatDocx: - return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; - case DBTEAMLOGPaperDownloadFormatHtml: - return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; - case DBTEAMLOGPaperDownloadFormatMarkdown: - return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; - case DBTEAMLOGPaperDownloadFormatOther: - return [[self tagName] isEqual:[aPaperDownloadFormat tagName]]; - } return YES; } @@ -42843,51 +171383,31 @@ - (BOOL)isEqualToPaperDownloadFormat:(DBTEAMLOGPaperDownloadFormat *)aPaperDownl #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperDownloadFormatSerializer +@implementation DBTEAMLOGTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperDownloadFormat *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDocx]) { - jsonDict[@".tag"] = @"docx"; - } else if ([valueObj isHtml]) { - jsonDict[@".tag"] = @"html"; - } else if ([valueObj isMarkdown]) { - jsonDict[@".tag"] = @"markdown"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *team = valueDict[@"team"]; - if ([tag isEqualToString:@"docx"]) { - return [[DBTEAMLOGPaperDownloadFormat alloc] initWithDocx]; - } else if ([tag isEqualToString:@"html"]) { - return [[DBTEAMLOGPaperDownloadFormat alloc] initWithHtml]; - } else if ([tag isEqualToString:@"markdown"]) { - return [[DBTEAMLOGPaperDownloadFormat alloc] initWithMarkdown]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGPaperDownloadFormat alloc] initWithOther]; - } else { - return [[DBTEAMLOGPaperDownloadFormat alloc] initWithOther]; - } + return [[DBTEAMLOGTeamDetails alloc] initWithTeam:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionDetails +@implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails #pragma mark - Constructors @@ -42901,18 +171421,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -42941,12 +171461,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperEnabledUsersGroupAdditionDetails:other]; + return [self isEqualToTeamEncryptionKeyCancelKeyDeletionDetails:other]; } -- (BOOL)isEqualToPaperEnabledUsersGroupAdditionDetails: - (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)aPaperEnabledUsersGroupAdditionDetails { - if (self == aPaperEnabledUsersGroupAdditionDetails) { +- (BOOL)isEqualToTeamEncryptionKeyCancelKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)aTeamEncryptionKeyCancelKeyDeletionDetails { + if (self == aTeamEncryptionKeyCancelKeyDeletionDetails) { return YES; } return YES; @@ -42956,55 +171476,57 @@ - (BOOL)isEqualToPaperEnabledUsersGroupAdditionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperEnabledUsersGroupAdditionDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGPaperEnabledUsersGroupAdditionDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalDetails +@implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43021,6 +171543,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -43033,14 +171557,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperEnabledUsersGroupRemovalDetails:other]; + return [self isEqualToTeamEncryptionKeyCancelKeyDeletionType:other]; } -- (BOOL)isEqualToPaperEnabledUsersGroupRemovalDetails: - (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)aPaperEnabledUsersGroupRemovalDetails { - if (self == aPaperEnabledUsersGroupRemovalDetails) { +- (BOOL)isEqualToTeamEncryptionKeyCancelKeyDeletionType: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)aTeamEncryptionKeyCancelKeyDeletionType { + if (self == aTeamEncryptionKeyCancelKeyDeletionType) { return YES; } + if (![self.description_ isEqual:aTeamEncryptionKeyCancelKeyDeletionType.description_]) { + return NO; + } return YES; } @@ -43048,30 +171575,31 @@ - (BOOL)isEqualToPaperEnabledUsersGroupRemovalDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperEnabledUsersGroupRemovalDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperEnabledUsersGroupRemovalDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperExternalViewAllowDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperExternalViewAllowDetails +@implementation DBTEAMLOGTeamEncryptionKeyCreateKeyDetails #pragma mark - Constructors @@ -43085,18 +171613,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperExternalViewAllowDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperExternalViewAllowDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperExternalViewAllowDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43125,12 +171653,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperExternalViewAllowDetails:other]; + return [self isEqualToTeamEncryptionKeyCreateKeyDetails:other]; } -- (BOOL)isEqualToPaperExternalViewAllowDetails: - (DBTEAMLOGPaperExternalViewAllowDetails *)aPaperExternalViewAllowDetails { - if (self == aPaperExternalViewAllowDetails) { +- (BOOL)isEqualToTeamEncryptionKeyCreateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)aTeamEncryptionKeyCreateKeyDetails { + if (self == aTeamEncryptionKeyCreateKeyDetails) { return YES; } return YES; @@ -43140,55 +171668,57 @@ - (BOOL)isEqualToPaperExternalViewAllowDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperExternalViewAllowDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGPaperExternalViewAllowDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyCreateKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperExternalViewDefaultTeamDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperExternalViewDefaultTeamDetails +@implementation DBTEAMLOGTeamEncryptionKeyCreateKeyType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43205,6 +171735,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -43217,14 +171749,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperExternalViewDefaultTeamDetails:other]; + return [self isEqualToTeamEncryptionKeyCreateKeyType:other]; } -- (BOOL)isEqualToPaperExternalViewDefaultTeamDetails: - (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)aPaperExternalViewDefaultTeamDetails { - if (self == aPaperExternalViewDefaultTeamDetails) { +- (BOOL)isEqualToTeamEncryptionKeyCreateKeyType: + (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)aTeamEncryptionKeyCreateKeyType { + if (self == aTeamEncryptionKeyCreateKeyType) { return YES; } + if (![self.description_ isEqual:aTeamEncryptionKeyCreateKeyType.description_]) { + return NO; + } return YES; } @@ -43232,30 +171767,31 @@ - (BOOL)isEqualToPaperExternalViewDefaultTeamDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperExternalViewDefaultTeamDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperExternalViewDefaultTeamDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyCreateKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperExternalViewForbidDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperExternalViewForbidDetails +@implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails #pragma mark - Constructors @@ -43269,18 +171805,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperExternalViewForbidDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperExternalViewForbidDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperExternalViewForbidDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43309,12 +171845,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperExternalViewForbidDetails:other]; + return [self isEqualToTeamEncryptionKeyDeleteKeyDetails:other]; } -- (BOOL)isEqualToPaperExternalViewForbidDetails: - (DBTEAMLOGPaperExternalViewForbidDetails *)aPaperExternalViewForbidDetails { - if (self == aPaperExternalViewForbidDetails) { +- (BOOL)isEqualToTeamEncryptionKeyDeleteKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)aTeamEncryptionKeyDeleteKeyDetails { + if (self == aTeamEncryptionKeyDeleteKeyDetails) { return YES; } return YES; @@ -43324,66 +171860,57 @@ - (BOOL)isEqualToPaperExternalViewForbidDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperExternalViewForbidDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGPaperExternalViewForbidDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperFolderChangeSubscriptionDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperFolderChangeSubscriptionDetails +@implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid - dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel - previousSubscriptionLevel:(NSString *)previousSubscriptionLevel { - [DBStoneValidators nonnullValidator:nil](eventUuid); - [DBStoneValidators nonnullValidator:nil](dNewSubscriptionLevel); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; - _dNewSubscriptionLevel = dNewSubscriptionLevel; - _previousSubscriptionLevel = previousSubscriptionLevel; + _description_ = description_; } return self; } -- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewSubscriptionLevel:(NSString *)dNewSubscriptionLevel { - return [self initWithEventUuid:eventUuid dNewSubscriptionLevel:dNewSubscriptionLevel previousSubscriptionLevel:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43400,11 +171927,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - result = prime * result + [self.dNewSubscriptionLevel hash]; - if (self.previousSubscriptionLevel != nil) { - result = prime * result + [self.previousSubscriptionLevel hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -43418,25 +171941,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperFolderChangeSubscriptionDetails:other]; + return [self isEqualToTeamEncryptionKeyDeleteKeyType:other]; } -- (BOOL)isEqualToPaperFolderChangeSubscriptionDetails: - (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)aPaperFolderChangeSubscriptionDetails { - if (self == aPaperFolderChangeSubscriptionDetails) { +- (BOOL)isEqualToTeamEncryptionKeyDeleteKeyType: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)aTeamEncryptionKeyDeleteKeyType { + if (self == aTeamEncryptionKeyDeleteKeyType) { return YES; } - if (![self.eventUuid isEqual:aPaperFolderChangeSubscriptionDetails.eventUuid]) { - return NO; - } - if (![self.dNewSubscriptionLevel isEqual:aPaperFolderChangeSubscriptionDetails.dNewSubscriptionLevel]) { + if (![self.description_ isEqual:aTeamEncryptionKeyDeleteKeyType.description_]) { return NO; } - if (self.previousSubscriptionLevel) { - if (![self.previousSubscriptionLevel isEqual:aPaperFolderChangeSubscriptionDetails.previousSubscriptionLevel]) { - return NO; - } - } return YES; } @@ -43444,66 +171959,56 @@ - (BOOL)isEqualToPaperFolderChangeSubscriptionDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperFolderChangeSubscriptionDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - jsonDict[@"new_subscription_level"] = valueObj.dNewSubscriptionLevel; - if (valueObj.previousSubscriptionLevel) { - jsonDict[@"previous_subscription_level"] = valueObj.previousSubscriptionLevel; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; - NSString *dNewSubscriptionLevel = valueDict[@"new_subscription_level"]; - NSString *previousSubscriptionLevel = valueDict[@"previous_subscription_level"] ?: nil; ++ (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperFolderChangeSubscriptionDetails alloc] initWithEventUuid:eventUuid - dNewSubscriptionLevel:dNewSubscriptionLevel - previousSubscriptionLevel:previousSubscriptionLevel]; + return [[DBTEAMLOGTeamEncryptionKeyDeleteKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperFolderDeletedDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperFolderDeletedDetails +@implementation DBTEAMLOGTeamEncryptionKeyDisableKeyDetails #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initDefault { self = [super init]; if (self) { - _eventUuid = eventUuid; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperFolderDeletedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperFolderDeletedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43520,8 +172025,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; - return prime * result; } @@ -43534,16 +172037,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperFolderDeletedDetails:other]; + return [self isEqualToTeamEncryptionKeyDisableKeyDetails:other]; } -- (BOOL)isEqualToPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)aPaperFolderDeletedDetails { - if (self == aPaperFolderDeletedDetails) { +- (BOOL)isEqualToTeamEncryptionKeyDisableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)aTeamEncryptionKeyDisableKeyDetails { + if (self == aTeamEncryptionKeyDisableKeyDetails) { return YES; } - if (![self.eventUuid isEqual:aPaperFolderDeletedDetails.eventUuid]) { - return NO; - } return YES; } @@ -43551,58 +172052,57 @@ - (BOOL)isEqualToPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperFolderDeletedDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGPaperFolderDeletedDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamEncryptionKeyDisableKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperFolderFollowedDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperFolderFollowedDetails +@implementation DBTEAMLOGTeamEncryptionKeyDisableKeyType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperFolderFollowedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperFolderFollowedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43619,7 +172119,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -43633,14 +172133,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperFolderFollowedDetails:other]; + return [self isEqualToTeamEncryptionKeyDisableKeyType:other]; } -- (BOOL)isEqualToPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)aPaperFolderFollowedDetails { - if (self == aPaperFolderFollowedDetails) { +- (BOOL)isEqualToTeamEncryptionKeyDisableKeyType: + (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)aTeamEncryptionKeyDisableKeyType { + if (self == aTeamEncryptionKeyDisableKeyType) { return YES; } - if (![self.eventUuid isEqual:aPaperFolderFollowedDetails.eventUuid]) { + if (![self.description_ isEqual:aTeamEncryptionKeyDisableKeyType.description_]) { return NO; } return YES; @@ -43650,60 +172151,56 @@ - (BOOL)isEqualToPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperFolderFollowedDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperFolderFollowedDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamEncryptionKeyDisableKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperFolderLogInfo.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperFolderLogInfo +@implementation DBTEAMLOGTeamEncryptionKeyEnableKeyDetails #pragma mark - Constructors -- (instancetype)initWithFolderId:(NSString *)folderId folderName:(NSString *)folderName { - [DBStoneValidators nonnullValidator:nil](folderId); - [DBStoneValidators nonnullValidator:nil](folderName); +- (instancetype)initDefault { self = [super init]; if (self) { - _folderId = folderId; - _folderName = folderName; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperFolderLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperFolderLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperFolderLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43720,9 +172217,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.folderId hash]; - result = prime * result + [self.folderName hash]; - return prime * result; } @@ -43735,19 +172229,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperFolderLogInfo:other]; + return [self isEqualToTeamEncryptionKeyEnableKeyDetails:other]; } -- (BOOL)isEqualToPaperFolderLogInfo:(DBTEAMLOGPaperFolderLogInfo *)aPaperFolderLogInfo { - if (self == aPaperFolderLogInfo) { +- (BOOL)isEqualToTeamEncryptionKeyEnableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)aTeamEncryptionKeyEnableKeyDetails { + if (self == aTeamEncryptionKeyEnableKeyDetails) { return YES; } - if (![self.folderId isEqual:aPaperFolderLogInfo.folderId]) { - return NO; - } - if (![self.folderName isEqual:aPaperFolderLogInfo.folderName]) { - return NO; - } return YES; } @@ -43755,60 +172244,57 @@ - (BOOL)isEqualToPaperFolderLogInfo:(DBTEAMLOGPaperFolderLogInfo *)aPaperFolderL #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperFolderLogInfoSerializer +@implementation DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"folder_id"] = valueObj.folderId; - jsonDict[@"folder_name"] = valueObj.folderName; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *folderId = valueDict[@"folder_id"]; - NSString *folderName = valueDict[@"folder_name"]; ++ (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGPaperFolderLogInfo alloc] initWithFolderId:folderId folderName:folderName]; + return [[DBTEAMLOGTeamEncryptionKeyEnableKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperFolderTeamInviteDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperFolderTeamInviteDetails +@implementation DBTEAMLOGTeamEncryptionKeyEnableKeyType #pragma mark - Constructors -- (instancetype)initWithEventUuid:(NSString *)eventUuid { - [DBStoneValidators nonnullValidator:nil](eventUuid); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _eventUuid = eventUuid; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperFolderTeamInviteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperFolderTeamInviteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperFolderTeamInviteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43825,7 +172311,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.eventUuid hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -43839,14 +172325,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperFolderTeamInviteDetails:other]; + return [self isEqualToTeamEncryptionKeyEnableKeyType:other]; } -- (BOOL)isEqualToPaperFolderTeamInviteDetails:(DBTEAMLOGPaperFolderTeamInviteDetails *)aPaperFolderTeamInviteDetails { - if (self == aPaperFolderTeamInviteDetails) { +- (BOOL)isEqualToTeamEncryptionKeyEnableKeyType: + (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)aTeamEncryptionKeyEnableKeyType { + if (self == aTeamEncryptionKeyEnableKeyType) { return YES; } - if (![self.eventUuid isEqual:aPaperFolderTeamInviteDetails.eventUuid]) { + if (![self.description_ isEqual:aTeamEncryptionKeyEnableKeyType.description_]) { return NO; } return YES; @@ -43856,115 +172343,56 @@ - (BOOL)isEqualToPaperFolderTeamInviteDetails:(DBTEAMLOGPaperFolderTeamInviteDet #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperFolderTeamInviteDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"event_uuid"] = valueObj.eventUuid; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { - NSString *eventUuid = valueDict[@"event_uuid"]; ++ (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPaperFolderTeamInviteDetails alloc] initWithEventUuid:eventUuid]; + return [[DBTEAMLOGTeamEncryptionKeyEnableKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPaperMemberPolicy.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPaperMemberPolicy +@implementation DBTEAMLOGTeamEncryptionKeyRotateKeyDetails #pragma mark - Constructors -- (instancetype)initWithAnyoneWithLink { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperMemberPolicyAnyoneWithLink; - } - return self; -} - -- (instancetype)initWithOnlyTeam { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperMemberPolicyOnlyTeam; - } - return self; -} - -- (instancetype)initWithTeamAndExplicitlyShared { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared; - } - return self; -} +- (instancetype)initDefault { -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGPaperMemberPolicyOther; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isAnyoneWithLink { - return _tag == DBTEAMLOGPaperMemberPolicyAnyoneWithLink; -} - -- (BOOL)isOnlyTeam { - return _tag == DBTEAMLOGPaperMemberPolicyOnlyTeam; -} - -- (BOOL)isTeamAndExplicitlyShared { - return _tag == DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGPaperMemberPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: - return @"DBTEAMLOGPaperMemberPolicyAnyoneWithLink"; - case DBTEAMLOGPaperMemberPolicyOnlyTeam: - return @"DBTEAMLOGPaperMemberPolicyOnlyTeam"; - case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: - return @"DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared"; - case DBTEAMLOGPaperMemberPolicyOther: - return @"DBTEAMLOGPaperMemberPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPaperMemberPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPaperMemberPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPaperMemberPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -43981,17 +172409,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperMemberPolicyOnlyTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPaperMemberPolicyOther: - result = prime * result + [[self tagName] hash]; - } - return prime * result; } @@ -44004,26 +172421,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperMemberPolicy:other]; + return [self isEqualToTeamEncryptionKeyRotateKeyDetails:other]; } -- (BOOL)isEqualToPaperMemberPolicy:(DBTEAMLOGPaperMemberPolicy *)aPaperMemberPolicy { - if (self == aPaperMemberPolicy) { +- (BOOL)isEqualToTeamEncryptionKeyRotateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)aTeamEncryptionKeyRotateKeyDetails { + if (self == aTeamEncryptionKeyRotateKeyDetails) { return YES; } - if (self.tag != aPaperMemberPolicy.tag) { - return NO; - } - switch (_tag) { - case DBTEAMLOGPaperMemberPolicyAnyoneWithLink: - return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; - case DBTEAMLOGPaperMemberPolicyOnlyTeam: - return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; - case DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared: - return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; - case DBTEAMLOGPaperMemberPolicyOther: - return [[self tagName] isEqual:[aPaperMemberPolicy tagName]]; - } return YES; } @@ -44031,144 +172436,57 @@ - (BOOL)isEqualToPaperMemberPolicy:(DBTEAMLOGPaperMemberPolicy *)aPaperMemberPol #pragma mark - Serializer Object -@implementation DBTEAMLOGPaperMemberPolicySerializer +@implementation DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAnyoneWithLink]) { - jsonDict[@".tag"] = @"anyone_with_link"; - } else if ([valueObj isOnlyTeam]) { - jsonDict[@".tag"] = @"only_team"; - } else if ([valueObj isTeamAndExplicitlyShared]) { - jsonDict[@".tag"] = @"team_and_explicitly_shared"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - if ([tag isEqualToString:@"anyone_with_link"]) { - return [[DBTEAMLOGPaperMemberPolicy alloc] initWithAnyoneWithLink]; - } else if ([tag isEqualToString:@"only_team"]) { - return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOnlyTeam]; - } else if ([tag isEqualToString:@"team_and_explicitly_shared"]) { - return [[DBTEAMLOGPaperMemberPolicy alloc] initWithTeamAndExplicitlyShared]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGPaperMemberPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamEncryptionKeyRotateKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGGroupLogInfo.h" -#import "DBTEAMLOGParticipantLogInfo.h" -#import "DBTEAMLOGUserLogInfo.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGParticipantLogInfo - -@synthesize user = _user; -@synthesize group = _group; +@implementation DBTEAMLOGTeamEncryptionKeyRotateKeyType #pragma mark - Constructors -- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user { - self = [super init]; - if (self) { - _tag = DBTEAMLOGParticipantLogInfoUser; - _user = user; - } - return self; -} - -- (instancetype)initWithGroup:(DBTEAMLOGGroupLogInfo *)group { - self = [super init]; - if (self) { - _tag = DBTEAMLOGParticipantLogInfoGroup; - _group = group; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGParticipantLogInfoOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -- (DBTEAMLOGUserLogInfo *)user { - if (![self isUser]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGParticipantLogInfoUser, but was %@.", [self tagName]]; - } - return _user; -} - -- (DBTEAMLOGGroupLogInfo *)group { - if (![self isGroup]) { - [NSException raise:@"IllegalStateException" - format:@"Invalid tag: required DBTEAMLOGParticipantLogInfoGroup, but was %@.", [self tagName]]; - } - return _group; -} - -#pragma mark - Tag state methods - -- (BOOL)isUser { - return _tag == DBTEAMLOGParticipantLogInfoUser; -} - -- (BOOL)isGroup { - return _tag == DBTEAMLOGParticipantLogInfoGroup; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGParticipantLogInfoOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGParticipantLogInfoUser: - return @"DBTEAMLOGParticipantLogInfoUser"; - case DBTEAMLOGParticipantLogInfoGroup: - return @"DBTEAMLOGParticipantLogInfoGroup"; - case DBTEAMLOGParticipantLogInfoOther: - return @"DBTEAMLOGParticipantLogInfoOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGParticipantLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGParticipantLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGParticipantLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44185,14 +172503,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGParticipantLogInfoUser: - result = prime * result + [self.user hash]; - case DBTEAMLOGParticipantLogInfoGroup: - result = prime * result + [self.group hash]; - case DBTEAMLOGParticipantLogInfoOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -44206,24 +172517,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToParticipantLogInfo:other]; + return [self isEqualToTeamEncryptionKeyRotateKeyType:other]; } -- (BOOL)isEqualToParticipantLogInfo:(DBTEAMLOGParticipantLogInfo *)aParticipantLogInfo { - if (self == aParticipantLogInfo) { +- (BOOL)isEqualToTeamEncryptionKeyRotateKeyType: + (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)aTeamEncryptionKeyRotateKeyType { + if (self == aTeamEncryptionKeyRotateKeyType) { return YES; } - if (self.tag != aParticipantLogInfo.tag) { + if (![self.description_ isEqual:aTeamEncryptionKeyRotateKeyType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGParticipantLogInfoUser: - return [self.user isEqual:aParticipantLogInfo.user]; - case DBTEAMLOGParticipantLogInfoGroup: - return [self.group isEqual:aParticipantLogInfo.group]; - case DBTEAMLOGParticipantLogInfoOther: - return [[self tagName] isEqual:[aParticipantLogInfo tagName]]; - } return YES; } @@ -44231,51 +172535,31 @@ - (BOOL)isEqualToParticipantLogInfo:(DBTEAMLOGParticipantLogInfo *)aParticipantL #pragma mark - Serializer Object -@implementation DBTEAMLOGParticipantLogInfoSerializer +@implementation DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGParticipantLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUser]) { - jsonDict[@"user"] = [[DBTEAMLOGUserLogInfoSerializer serialize:valueObj.user] mutableCopy]; - jsonDict[@".tag"] = @"user"; - } else if ([valueObj isGroup]) { - jsonDict[@"group"] = [[DBTEAMLOGGroupLogInfoSerializer serialize:valueObj.group] mutableCopy]; - jsonDict[@".tag"] = @"group"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"user"]) { - DBTEAMLOGUserLogInfo *user = [DBTEAMLOGUserLogInfoSerializer deserialize:valueDict[@"user"]]; - return [[DBTEAMLOGParticipantLogInfo alloc] initWithUser:user]; - } else if ([tag isEqualToString:@"group"]) { - DBTEAMLOGGroupLogInfo *group = [DBTEAMLOGGroupLogInfoSerializer deserialize:valueDict]; - return [[DBTEAMLOGParticipantLogInfo alloc] initWithGroup:group]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGParticipantLogInfo alloc] initWithOther]; - } else { - return [[DBTEAMLOGParticipantLogInfo alloc] initWithOther]; - } + return [[DBTEAMLOGTeamEncryptionKeyRotateKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPasswordChangeDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPasswordChangeDetails +@implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails #pragma mark - Constructors @@ -44289,18 +172573,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPasswordChangeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPasswordChangeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPasswordChangeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44329,11 +172613,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPasswordChangeDetails:other]; + return [self isEqualToTeamEncryptionKeyScheduleKeyDeletionDetails:other]; } -- (BOOL)isEqualToPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)aPasswordChangeDetails { - if (self == aPasswordChangeDetails) { +- (BOOL)isEqualToTeamEncryptionKeyScheduleKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)aTeamEncryptionKeyScheduleKeyDeletionDetails { + if (self == aTeamEncryptionKeyScheduleKeyDeletionDetails) { return YES; } return YES; @@ -44343,55 +172628,57 @@ - (BOOL)isEqualToPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)aPasswo #pragma mark - Serializer Object -@implementation DBTEAMLOGPasswordChangeDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPasswordChangeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGPasswordChangeDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPasswordResetAllDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h" #pragma mark - API Object -@implementation DBTEAMLOGPasswordResetAllDetails +@implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPasswordResetAllDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPasswordResetAllDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPasswordResetAllDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44408,6 +172695,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -44420,13 +172709,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPasswordResetAllDetails:other]; + return [self isEqualToTeamEncryptionKeyScheduleKeyDeletionType:other]; } -- (BOOL)isEqualToPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)aPasswordResetAllDetails { - if (self == aPasswordResetAllDetails) { +- (BOOL)isEqualToTeamEncryptionKeyScheduleKeyDeletionType: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)aTeamEncryptionKeyScheduleKeyDeletionType { + if (self == aTeamEncryptionKeyScheduleKeyDeletionType) { return YES; } + if (![self.description_ isEqual:aTeamEncryptionKeyScheduleKeyDeletionType.description_]) { + return NO; + } return YES; } @@ -44434,55 +172727,111 @@ - (BOOL)isEqualToPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)aPa #pragma mark - Serializer Object -@implementation DBTEAMLOGPasswordResetAllDetailsSerializer +@implementation DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGPasswordResetAllDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPasswordResetDetails.h" +#import "DBTEAMLOGActorLogInfo.h" +#import "DBTEAMLOGAssetLogInfo.h" +#import "DBTEAMLOGContextLogInfo.h" +#import "DBTEAMLOGEventCategory.h" +#import "DBTEAMLOGEventDetails.h" +#import "DBTEAMLOGEventType.h" +#import "DBTEAMLOGOriginLogInfo.h" +#import "DBTEAMLOGParticipantLogInfo.h" +#import "DBTEAMLOGTeamEvent.h" #pragma mark - API Object -@implementation DBTEAMLOGPasswordResetDetails +@implementation DBTEAMLOGTeamEvent #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithTimestamp:(NSDate *)timestamp + eventCategory:(DBTEAMLOGEventCategory *)eventCategory + eventType:(DBTEAMLOGEventType *)eventType + details:(DBTEAMLOGEventDetails *)details + actor:(DBTEAMLOGActorLogInfo *)actor + origin:(DBTEAMLOGOriginLogInfo *)origin + involveNonTeamMember:(NSNumber *)involveNonTeamMember + context:(DBTEAMLOGContextLogInfo *)context + participants:(NSArray *)participants + assets:(NSArray *)assets { + [DBStoneValidators nonnullValidator:nil](timestamp); + [DBStoneValidators nonnullValidator:nil](eventCategory); + [DBStoneValidators nonnullValidator:nil](eventType); + [DBStoneValidators nonnullValidator:nil](details); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](participants); + [DBStoneValidators + nullableValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](assets); self = [super init]; if (self) { + _timestamp = timestamp; + _eventCategory = eventCategory; + _actor = actor; + _origin = origin; + _involveNonTeamMember = involveNonTeamMember; + _context = context; + _participants = participants; + _assets = assets; + _eventType = eventType; + _details = details; } return self; } +- (instancetype)initWithTimestamp:(NSDate *)timestamp + eventCategory:(DBTEAMLOGEventCategory *)eventCategory + eventType:(DBTEAMLOGEventType *)eventType + details:(DBTEAMLOGEventDetails *)details { + return [self initWithTimestamp:timestamp + eventCategory:eventCategory + eventType:eventType + details:details + actor:nil + origin:nil + involveNonTeamMember:nil + context:nil + participants:nil + assets:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPasswordResetDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamEventSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPasswordResetDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamEventSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPasswordResetDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamEventSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44499,6 +172848,29 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.timestamp hash]; + result = prime * result + [self.eventCategory hash]; + result = prime * result + [self.eventType hash]; + result = prime * result + [self.details hash]; + if (self.actor != nil) { + result = prime * result + [self.actor hash]; + } + if (self.origin != nil) { + result = prime * result + [self.origin hash]; + } + if (self.involveNonTeamMember != nil) { + result = prime * result + [self.involveNonTeamMember hash]; + } + if (self.context != nil) { + result = prime * result + [self.context hash]; + } + if (self.participants != nil) { + result = prime * result + [self.participants hash]; + } + if (self.assets != nil) { + result = prime * result + [self.assets hash]; + } + return prime * result; } @@ -44511,13 +172883,55 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPasswordResetDetails:other]; + return [self isEqualToTeamEvent:other]; } -- (BOOL)isEqualToPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)aPasswordResetDetails { - if (self == aPasswordResetDetails) { +- (BOOL)isEqualToTeamEvent:(DBTEAMLOGTeamEvent *)aTeamEvent { + if (self == aTeamEvent) { return YES; } + if (![self.timestamp isEqual:aTeamEvent.timestamp]) { + return NO; + } + if (![self.eventCategory isEqual:aTeamEvent.eventCategory]) { + return NO; + } + if (![self.eventType isEqual:aTeamEvent.eventType]) { + return NO; + } + if (![self.details isEqual:aTeamEvent.details]) { + return NO; + } + if (self.actor) { + if (![self.actor isEqual:aTeamEvent.actor]) { + return NO; + } + } + if (self.origin) { + if (![self.origin isEqual:aTeamEvent.origin]) { + return NO; + } + } + if (self.involveNonTeamMember) { + if (![self.involveNonTeamMember isEqual:aTeamEvent.involveNonTeamMember]) { + return NO; + } + } + if (self.context) { + if (![self.context isEqual:aTeamEvent.context]) { + return NO; + } + } + if (self.participants) { + if (![self.participants isEqual:aTeamEvent.participants]) { + return NO; + } + } + if (self.assets) { + if (![self.assets isEqual:aTeamEvent.assets]) { + return NO; + } + } return YES; } @@ -44525,64 +172939,160 @@ - (BOOL)isEqualToPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)aPassword #pragma mark - Serializer Object -@implementation DBTEAMLOGPasswordResetDetailsSerializer +@implementation DBTEAMLOGTeamEventSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPasswordResetDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"timestamp"] = [DBNSDateSerializer serialize:valueObj.timestamp dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"event_category"] = [DBTEAMLOGEventCategorySerializer serialize:valueObj.eventCategory]; + jsonDict[@"event_type"] = [DBTEAMLOGEventTypeSerializer serialize:valueObj.eventType]; + jsonDict[@"details"] = [DBTEAMLOGEventDetailsSerializer serialize:valueObj.details]; + if (valueObj.actor) { + jsonDict[@"actor"] = [DBTEAMLOGActorLogInfoSerializer serialize:valueObj.actor]; + } + if (valueObj.origin) { + jsonDict[@"origin"] = [DBTEAMLOGOriginLogInfoSerializer serialize:valueObj.origin]; + } + if (valueObj.involveNonTeamMember) { + jsonDict[@"involve_non_team_member"] = valueObj.involveNonTeamMember; + } + if (valueObj.context) { + jsonDict[@"context"] = [DBTEAMLOGContextLogInfoSerializer serialize:valueObj.context]; + } + if (valueObj.participants) { + jsonDict[@"participants"] = [DBArraySerializer serialize:valueObj.participants + withBlock:^id(id elem0) { + return [DBTEAMLOGParticipantLogInfoSerializer serialize:elem0]; + }]; + } + if (valueObj.assets) { + jsonDict[@"assets"] = [DBArraySerializer serialize:valueObj.assets + withBlock:^id(id elem0) { + return [DBTEAMLOGAssetLogInfoSerializer serialize:elem0]; + }]; + } + + return jsonDict; } -+ (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)valueDict { + NSDate *timestamp = [DBNSDateSerializer deserialize:valueDict[@"timestamp"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + DBTEAMLOGEventCategory *eventCategory = [DBTEAMLOGEventCategorySerializer deserialize:valueDict[@"event_category"]]; + DBTEAMLOGEventType *eventType = [DBTEAMLOGEventTypeSerializer deserialize:valueDict[@"event_type"]]; + DBTEAMLOGEventDetails *details = [DBTEAMLOGEventDetailsSerializer deserialize:valueDict[@"details"]]; + DBTEAMLOGActorLogInfo *actor = + valueDict[@"actor"] ? [DBTEAMLOGActorLogInfoSerializer deserialize:valueDict[@"actor"]] : nil; + DBTEAMLOGOriginLogInfo *origin = + valueDict[@"origin"] ? [DBTEAMLOGOriginLogInfoSerializer deserialize:valueDict[@"origin"]] : nil; + NSNumber *involveNonTeamMember = valueDict[@"involve_non_team_member"] ?: nil; + DBTEAMLOGContextLogInfo *context = + valueDict[@"context"] ? [DBTEAMLOGContextLogInfoSerializer deserialize:valueDict[@"context"]] : nil; + NSArray *participants = + valueDict[@"participants"] + ? [DBArraySerializer deserialize:valueDict[@"participants"] + withBlock:^id(id elem0) { + return [DBTEAMLOGParticipantLogInfoSerializer deserialize:elem0]; + }] + : nil; + NSArray *assets = + valueDict[@"assets"] ? [DBArraySerializer deserialize:valueDict[@"assets"] + withBlock:^id(id elem0) { + return [DBTEAMLOGAssetLogInfoSerializer deserialize:elem0]; + }] + : nil; - return [[DBTEAMLOGPasswordResetDetails alloc] initDefault]; + return [[DBTEAMLOGTeamEvent alloc] initWithTimestamp:timestamp + eventCategory:eventCategory + eventType:eventType + details:details + actor:actor + origin:origin + involveNonTeamMember:involveNonTeamMember + context:context + participants:participants + assets:assets]; } @end #import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGNamespaceRelativePathLogInfo.h" -#import "DBTEAMLOGPathLogInfo.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTeamExtensionsPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGPathLogInfo +@implementation DBTEAMLOGTeamExtensionsPolicy #pragma mark - Constructors -- (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative - contextual:(NSString *)contextual { - [DBStoneValidators nonnullValidator:nil](namespaceRelative); +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamExtensionsPolicyDisabled; + } + return self; +} +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _contextual = contextual; - _namespaceRelative = namespaceRelative; + _tag = DBTEAMLOGTeamExtensionsPolicyEnabled; } return self; } -- (instancetype)initWithNamespaceRelative:(DBTEAMLOGNamespaceRelativePathLogInfo *)namespaceRelative { - return [self initWithNamespaceRelative:namespaceRelative contextual:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamExtensionsPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGTeamExtensionsPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGTeamExtensionsPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamExtensionsPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamExtensionsPolicyDisabled: + return @"DBTEAMLOGTeamExtensionsPolicyDisabled"; + case DBTEAMLOGTeamExtensionsPolicyEnabled: + return @"DBTEAMLOGTeamExtensionsPolicyEnabled"; + case DBTEAMLOGTeamExtensionsPolicyOther: + return @"DBTEAMLOGTeamExtensionsPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPathLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamExtensionsPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPathLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPathLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamExtensionsPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44599,9 +173109,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.namespaceRelative hash]; - if (self.contextual != nil) { - result = prime * result + [self.contextual hash]; + switch (_tag) { + case DBTEAMLOGTeamExtensionsPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamExtensionsPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamExtensionsPolicyOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -44616,20 +173133,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPathLogInfo:other]; + return [self isEqualToTeamExtensionsPolicy:other]; } -- (BOOL)isEqualToPathLogInfo:(DBTEAMLOGPathLogInfo *)aPathLogInfo { - if (self == aPathLogInfo) { +- (BOOL)isEqualToTeamExtensionsPolicy:(DBTEAMLOGTeamExtensionsPolicy *)aTeamExtensionsPolicy { + if (self == aTeamExtensionsPolicy) { return YES; } - if (![self.namespaceRelative isEqual:aPathLogInfo.namespaceRelative]) { + if (self.tag != aTeamExtensionsPolicy.tag) { return NO; } - if (self.contextual) { - if (![self.contextual isEqual:aPathLogInfo.contextual]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTeamExtensionsPolicyDisabled: + return [[self tagName] isEqual:[aTeamExtensionsPolicy tagName]]; + case DBTEAMLOGTeamExtensionsPolicyEnabled: + return [[self tagName] isEqual:[aTeamExtensionsPolicy tagName]]; + case DBTEAMLOGTeamExtensionsPolicyOther: + return [[self tagName] isEqual:[aTeamExtensionsPolicy tagName]]; } return YES; } @@ -44638,44 +173158,55 @@ - (BOOL)isEqualToPathLogInfo:(DBTEAMLOGPathLogInfo *)aPathLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGPathLogInfoSerializer +@implementation DBTEAMLOGTeamExtensionsPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPathLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"namespace_relative"] = - [DBTEAMLOGNamespaceRelativePathLogInfoSerializer serialize:valueObj.namespaceRelative]; - if (valueObj.contextual) { - jsonDict[@"contextual"] = valueObj.contextual; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGNamespaceRelativePathLogInfo *namespaceRelative = - [DBTEAMLOGNamespaceRelativePathLogInfoSerializer deserialize:valueDict[@"namespace_relative"]]; - NSString *contextual = valueDict[@"contextual"] ?: nil; ++ (DBTEAMLOGTeamExtensionsPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGPathLogInfo alloc] initWithNamespaceRelative:namespaceRelative contextual:contextual]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGTeamExtensionsPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGTeamExtensionsPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamExtensionsPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamExtensionsPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGContentPermanentDeletePolicy.h" -#import "DBTEAMLOGPermanentDeleteChangePolicyDetails.h" +#import "DBTEAMLOGTeamExtensionsPolicy.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGPermanentDeleteChangePolicyDetails +@implementation DBTEAMLOGTeamExtensionsPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue - previousValue:(DBTEAMLOGContentPermanentDeletePolicy *)previousValue { +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamExtensionsPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamExtensionsPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { @@ -44685,24 +173216,20 @@ - (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewV return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGContentPermanentDeletePolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44720,9 +173247,7 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -44736,21 +173261,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPermanentDeleteChangePolicyDetails:other]; + return [self isEqualToTeamExtensionsPolicyChangedDetails:other]; } -- (BOOL)isEqualToPermanentDeleteChangePolicyDetails: - (DBTEAMLOGPermanentDeleteChangePolicyDetails *)aPermanentDeleteChangePolicyDetails { - if (self == aPermanentDeleteChangePolicyDetails) { +- (BOOL)isEqualToTeamExtensionsPolicyChangedDetails: + (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)aTeamExtensionsPolicyChangedDetails { + if (self == aTeamExtensionsPolicyChangedDetails) { return YES; } - if (![self.dNewValue isEqual:aPermanentDeleteChangePolicyDetails.dNewValue]) { + if (![self.dNewValue isEqual:aTeamExtensionsPolicyChangedDetails.dNewValue]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aPermanentDeleteChangePolicyDetails.previousValue]) { - return NO; - } + if (![self.previousValue isEqual:aTeamExtensionsPolicyChangedDetails.previousValue]) { + return NO; } return YES; } @@ -44759,109 +173282,62 @@ - (BOOL)isEqualToPermanentDeleteChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGPermanentDeleteChangePolicyDetailsSerializer +@implementation DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGContentPermanentDeletePolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"new_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGTeamExtensionsPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGContentPermanentDeletePolicy *dNewValue = - [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGContentPermanentDeletePolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGContentPermanentDeletePolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamExtensionsPolicy *dNewValue = + [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTeamExtensionsPolicy *previousValue = + [DBTEAMLOGTeamExtensionsPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGPermanentDeleteChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTeamExtensionsPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGPlacementRestriction.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGPlacementRestriction +@implementation DBTEAMLOGTeamExtensionsPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithEuropeOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPlacementRestrictionEuropeOnly; - } - return self; -} - -- (instancetype)initWithNone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGPlacementRestrictionNone; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGPlacementRestrictionOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isEuropeOnly { - return _tag == DBTEAMLOGPlacementRestrictionEuropeOnly; -} - -- (BOOL)isNone { - return _tag == DBTEAMLOGPlacementRestrictionNone; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGPlacementRestrictionOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGPlacementRestrictionEuropeOnly: - return @"DBTEAMLOGPlacementRestrictionEuropeOnly"; - case DBTEAMLOGPlacementRestrictionNone: - return @"DBTEAMLOGPlacementRestrictionNone"; - case DBTEAMLOGPlacementRestrictionOther: - return @"DBTEAMLOGPlacementRestrictionOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGPlacementRestrictionSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGPlacementRestrictionSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGPlacementRestrictionSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -44878,14 +173354,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGPlacementRestrictionEuropeOnly: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPlacementRestrictionNone: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGPlacementRestrictionOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -44899,24 +173368,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPlacementRestriction:other]; + return [self isEqualToTeamExtensionsPolicyChangedType:other]; } -- (BOOL)isEqualToPlacementRestriction:(DBTEAMLOGPlacementRestriction *)aPlacementRestriction { - if (self == aPlacementRestriction) { +- (BOOL)isEqualToTeamExtensionsPolicyChangedType: + (DBTEAMLOGTeamExtensionsPolicyChangedType *)aTeamExtensionsPolicyChangedType { + if (self == aTeamExtensionsPolicyChangedType) { return YES; } - if (self.tag != aPlacementRestriction.tag) { + if (![self.description_ isEqual:aTeamExtensionsPolicyChangedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGPlacementRestrictionEuropeOnly: - return [[self tagName] isEqual:[aPlacementRestriction tagName]]; - case DBTEAMLOGPlacementRestrictionNone: - return [[self tagName] isEqual:[aPlacementRestriction tagName]]; - case DBTEAMLOGPlacementRestrictionOther: - return [[self tagName] isEqual:[aPlacementRestriction tagName]]; - } return YES; } @@ -44924,76 +173386,65 @@ - (BOOL)isEqualToPlacementRestriction:(DBTEAMLOGPlacementRestriction *)aPlacemen #pragma mark - Serializer Object -@implementation DBTEAMLOGPlacementRestrictionSerializer +@implementation DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGPlacementRestriction *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isEuropeOnly]) { - jsonDict[@".tag"] = @"europe_only"; - } else if ([valueObj isNone]) { - jsonDict[@".tag"] = @"none"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamExtensionsPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"europe_only"]) { - return [[DBTEAMLOGPlacementRestriction alloc] initWithEuropeOnly]; - } else if ([tag isEqualToString:@"none"]) { - return [[DBTEAMLOGPlacementRestriction alloc] initWithNone]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGPlacementRestriction alloc] initWithOther]; - } else { - return [[DBTEAMLOGPlacementRestriction alloc] initWithOther]; - } + return [[DBTEAMLOGTeamExtensionsPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGTeamFolderChangeStatusDetails.h" +#import "DBTEAMTeamFolderStatus.h" #pragma mark - API Object -@implementation DBTEAMLOGRelocateAssetReferencesLogInfo +@implementation DBTEAMLOGTeamFolderChangeStatusDetails #pragma mark - Constructors -- (instancetype)initWithSrcAssetIndex:(NSNumber *)srcAssetIndex destAssetIndex:(NSNumber *)destAssetIndex { - [DBStoneValidators nonnullValidator:nil](srcAssetIndex); - [DBStoneValidators nonnullValidator:nil](destAssetIndex); +- (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue + previousValue:(DBTEAMTeamFolderStatus *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _srcAssetIndex = srcAssetIndex; - _destAssetIndex = destAssetIndex; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45010,8 +173461,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.srcAssetIndex hash]; - result = prime * result + [self.destAssetIndex hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } return prime * result; } @@ -45025,19 +173478,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRelocateAssetReferencesLogInfo:other]; + return [self isEqualToTeamFolderChangeStatusDetails:other]; } -- (BOOL)isEqualToRelocateAssetReferencesLogInfo: - (DBTEAMLOGRelocateAssetReferencesLogInfo *)aRelocateAssetReferencesLogInfo { - if (self == aRelocateAssetReferencesLogInfo) { +- (BOOL)isEqualToTeamFolderChangeStatusDetails: + (DBTEAMLOGTeamFolderChangeStatusDetails *)aTeamFolderChangeStatusDetails { + if (self == aTeamFolderChangeStatusDetails) { return YES; } - if (![self.srcAssetIndex isEqual:aRelocateAssetReferencesLogInfo.srcAssetIndex]) { + if (![self.dNewValue isEqual:aTeamFolderChangeStatusDetails.dNewValue]) { return NO; } - if (![self.destAssetIndex isEqual:aRelocateAssetReferencesLogInfo.destAssetIndex]) { - return NO; + if (self.previousValue) { + if (![self.previousValue isEqual:aTeamFolderChangeStatusDetails.previousValue]) { + return NO; + } } return YES; } @@ -45046,66 +173501,63 @@ - (BOOL)isEqualToRelocateAssetReferencesLogInfo: #pragma mark - Serializer Object -@implementation DBTEAMLOGRelocateAssetReferencesLogInfoSerializer +@implementation DBTEAMLOGTeamFolderChangeStatusDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGRelocateAssetReferencesLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"src_asset_index"] = valueObj.srcAssetIndex; - jsonDict[@"dest_asset_index"] = valueObj.destAssetIndex; + jsonDict[@"new_value"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMTeamFolderStatusSerializer serialize:valueObj.previousValue]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)valueDict { - NSNumber *srcAssetIndex = valueDict[@"src_asset_index"]; - NSNumber *destAssetIndex = valueDict[@"dest_asset_index"]; ++ (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMTeamFolderStatus *dNewValue = [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMTeamFolderStatus *previousValue = + valueDict[@"previous_value"] ? [DBTEAMTeamFolderStatusSerializer deserialize:valueDict[@"previous_value"]] : nil; - return [[DBTEAMLOGRelocateAssetReferencesLogInfo alloc] initWithSrcAssetIndex:srcAssetIndex - destAssetIndex:destAssetIndex]; + return [[DBTEAMLOGTeamFolderChangeStatusDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGResellerLogInfo.h" +#import "DBTEAMLOGTeamFolderChangeStatusType.h" #pragma mark - API Object -@implementation DBTEAMLOGResellerLogInfo +@implementation DBTEAMLOGTeamFolderChangeStatusType #pragma mark - Constructors -- (instancetype)initWithResellerName:(NSString *)resellerName resellerEmail:(NSString *)resellerEmail { - [DBStoneValidators nonnullValidator:nil](resellerName); - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9." - @"-]*.[A-Za-z]{2,15}$"]](resellerEmail); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _resellerName = resellerName; - _resellerEmail = resellerEmail; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGResellerLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderChangeStatusTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGResellerLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderChangeStatusTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGResellerLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderChangeStatusTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45122,8 +173574,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.resellerName hash]; - result = prime * result + [self.resellerEmail hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -45137,17 +173588,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToResellerLogInfo:other]; + return [self isEqualToTeamFolderChangeStatusType:other]; } -- (BOOL)isEqualToResellerLogInfo:(DBTEAMLOGResellerLogInfo *)aResellerLogInfo { - if (self == aResellerLogInfo) { +- (BOOL)isEqualToTeamFolderChangeStatusType:(DBTEAMLOGTeamFolderChangeStatusType *)aTeamFolderChangeStatusType { + if (self == aTeamFolderChangeStatusType) { return YES; } - if (![self.resellerName isEqual:aResellerLogInfo.resellerName]) { - return NO; - } - if (![self.resellerEmail isEqual:aResellerLogInfo.resellerEmail]) { + if (![self.description_ isEqual:aTeamFolderChangeStatusType.description_]) { return NO; } return YES; @@ -45157,33 +173605,31 @@ - (BOOL)isEqualToResellerLogInfo:(DBTEAMLOGResellerLogInfo *)aResellerLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGResellerLogInfoSerializer +@implementation DBTEAMLOGTeamFolderChangeStatusTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGResellerLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"reseller_name"] = valueObj.resellerName; - jsonDict[@"reseller_email"] = valueObj.resellerEmail; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *resellerName = valueDict[@"reseller_name"]; - NSString *resellerEmail = valueDict[@"reseller_email"]; ++ (DBTEAMLOGTeamFolderChangeStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGResellerLogInfo alloc] initWithResellerName:resellerName resellerEmail:resellerEmail]; + return [[DBTEAMLOGTeamFolderChangeStatusType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGResellerSupportSessionEndDetails.h" +#import "DBTEAMLOGTeamFolderCreateDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGResellerSupportSessionEndDetails +@implementation DBTEAMLOGTeamFolderCreateDetails #pragma mark - Constructors @@ -45197,18 +173643,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGResellerSupportSessionEndDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGResellerSupportSessionEndDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderCreateDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGResellerSupportSessionEndDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45237,12 +173683,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToResellerSupportSessionEndDetails:other]; + return [self isEqualToTeamFolderCreateDetails:other]; } -- (BOOL)isEqualToResellerSupportSessionEndDetails: - (DBTEAMLOGResellerSupportSessionEndDetails *)aResellerSupportSessionEndDetails { - if (self == aResellerSupportSessionEndDetails) { +- (BOOL)isEqualToTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)aTeamFolderCreateDetails { + if (self == aTeamFolderCreateDetails) { return YES; } return YES; @@ -45252,55 +173697,57 @@ - (BOOL)isEqualToResellerSupportSessionEndDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGResellerSupportSessionEndDetailsSerializer +@implementation DBTEAMLOGTeamFolderCreateDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGResellerSupportSessionEndDetails alloc] initDefault]; + return [[DBTEAMLOGTeamFolderCreateDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGResellerSupportSessionStartDetails.h" +#import "DBTEAMLOGTeamFolderCreateType.h" #pragma mark - API Object -@implementation DBTEAMLOGResellerSupportSessionStartDetails +@implementation DBTEAMLOGTeamFolderCreateType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGResellerSupportSessionStartDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderCreateTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGResellerSupportSessionStartDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderCreateTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGResellerSupportSessionStartDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderCreateTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45317,6 +173764,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -45329,14 +173778,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToResellerSupportSessionStartDetails:other]; + return [self isEqualToTeamFolderCreateType:other]; } -- (BOOL)isEqualToResellerSupportSessionStartDetails: - (DBTEAMLOGResellerSupportSessionStartDetails *)aResellerSupportSessionStartDetails { - if (self == aResellerSupportSessionStartDetails) { +- (BOOL)isEqualToTeamFolderCreateType:(DBTEAMLOGTeamFolderCreateType *)aTeamFolderCreateType { + if (self == aTeamFolderCreateType) { return YES; } + if (![self.description_ isEqual:aTeamFolderCreateType.description_]) { + return NO; + } return YES; } @@ -45344,74 +173795,58 @@ - (BOOL)isEqualToResellerSupportSessionStartDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGResellerSupportSessionStartDetailsSerializer +@implementation DBTEAMLOGTeamFolderCreateTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamFolderCreateType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGResellerSupportSessionStartDetails alloc] initDefault]; + return [[DBTEAMLOGTeamFolderCreateType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfAddGroupDetails.h" +#import "DBTEAMLOGTeamFolderDowngradeDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSfAddGroupDetails +@implementation DBTEAMLOGTeamFolderDowngradeDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - teamName:(NSString *)teamName - sharingPermission:(NSString *)sharingPermission { +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators nonnullValidator:nil](teamName); self = [super init]; if (self) { _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharingPermission = sharingPermission; - _teamName = teamName; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - teamName:(NSString *)teamName { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - teamName:teamName - sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfAddGroupDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfAddGroupDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderDowngradeDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfAddGroupDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45429,11 +173864,6 @@ - (NSUInteger)hash { NSUInteger result = 1; result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - result = prime * result + [self.teamName hash]; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } return prime * result; } @@ -45447,27 +173877,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfAddGroupDetails:other]; + return [self isEqualToTeamFolderDowngradeDetails:other]; } -- (BOOL)isEqualToSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)aSfAddGroupDetails { - if (self == aSfAddGroupDetails) { +- (BOOL)isEqualToTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)aTeamFolderDowngradeDetails { + if (self == aTeamFolderDowngradeDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSfAddGroupDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfAddGroupDetails.originalFolderName]) { - return NO; - } - if (![self.teamName isEqual:aSfAddGroupDetails.teamName]) { + if (![self.targetAssetIndex isEqual:aTeamFolderDowngradeDetails.targetAssetIndex]) { return NO; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSfAddGroupDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -45475,79 +173894,58 @@ - (BOOL)isEqualToSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)aSfAddGroupDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGSfAddGroupDetailsSerializer +@implementation DBTEAMLOGTeamFolderDowngradeDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfAddGroupDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - jsonDict[@"team_name"] = valueObj.teamName; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)valueDict { NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *teamName = valueDict[@"team_name"]; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - return [[DBTEAMLOGSfAddGroupDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - teamName:teamName - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamFolderDowngradeDetails alloc] initWithTargetAssetIndex:targetAssetIndex]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h" +#import "DBTEAMLOGTeamFolderDowngradeType.h" #pragma mark - API Object -@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails +@implementation DBTEAMLOGTeamFolderDowngradeType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:originalFolderName sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderDowngradeTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderDowngradeTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderDowngradeTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45564,11 +173962,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -45582,25 +173976,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfAllowNonMembersToViewSharedLinksDetails:other]; + return [self isEqualToTeamFolderDowngradeType:other]; } -- (BOOL)isEqualToSfAllowNonMembersToViewSharedLinksDetails: - (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)aSfAllowNonMembersToViewSharedLinksDetails { - if (self == aSfAllowNonMembersToViewSharedLinksDetails) { +- (BOOL)isEqualToTeamFolderDowngradeType:(DBTEAMLOGTeamFolderDowngradeType *)aTeamFolderDowngradeType { + if (self == aTeamFolderDowngradeType) { return YES; } - if (![self.targetAssetIndex isEqual:aSfAllowNonMembersToViewSharedLinksDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfAllowNonMembersToViewSharedLinksDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamFolderDowngradeType.description_]) { return NO; } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSfAllowNonMembersToViewSharedLinksDetails.sharedFolderType]) { - return NO; - } - } return YES; } @@ -45608,39 +173993,31 @@ - (BOOL)isEqualToSfAllowNonMembersToViewSharedLinksDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetailsSerializer +@implementation DBTEAMLOGTeamFolderDowngradeTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamFolderDowngradeType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamFolderDowngradeType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfExternalInviteWarnDetails.h" +#import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSfExternalInviteWarnDetails +@implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetails #pragma mark - Constructors @@ -45654,18 +174031,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfExternalInviteWarnDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfExternalInviteWarnDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfExternalInviteWarnDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45694,11 +174071,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfExternalInviteWarnDetails:other]; + return [self isEqualToTeamFolderPermanentlyDeleteDetails:other]; } -- (BOOL)isEqualToSfExternalInviteWarnDetails:(DBTEAMLOGSfExternalInviteWarnDetails *)aSfExternalInviteWarnDetails { - if (self == aSfExternalInviteWarnDetails) { +- (BOOL)isEqualToTeamFolderPermanentlyDeleteDetails: + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)aTeamFolderPermanentlyDeleteDetails { + if (self == aTeamFolderPermanentlyDeleteDetails) { return YES; } return YES; @@ -45708,57 +174086,57 @@ - (BOOL)isEqualToSfExternalInviteWarnDetails:(DBTEAMLOGSfExternalInviteWarnDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGSfExternalInviteWarnDetailsSerializer +@implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGSfExternalInviteWarnDetails alloc] initDefault]; + return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfInviteGroupDetails.h" +#import "DBTEAMLOGTeamFolderPermanentlyDeleteType.h" #pragma mark - API Object -@implementation DBTEAMLOGSfInviteGroupDetails +@implementation DBTEAMLOGTeamFolderPermanentlyDeleteType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfInviteGroupDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfInviteGroupDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfInviteGroupDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45775,7 +174153,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -45789,14 +174167,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfInviteGroupDetails:other]; + return [self isEqualToTeamFolderPermanentlyDeleteType:other]; } -- (BOOL)isEqualToSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)aSfInviteGroupDetails { - if (self == aSfInviteGroupDetails) { +- (BOOL)isEqualToTeamFolderPermanentlyDeleteType: + (DBTEAMLOGTeamFolderPermanentlyDeleteType *)aTeamFolderPermanentlyDeleteType { + if (self == aTeamFolderPermanentlyDeleteType) { return YES; } - if (![self.targetAssetIndex isEqual:aSfInviteGroupDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamFolderPermanentlyDeleteType.description_]) { return NO; } return YES; @@ -45806,77 +174185,60 @@ - (BOOL)isEqualToSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)aSfInvite #pragma mark - Serializer Object -@implementation DBTEAMLOGSfInviteGroupDetailsSerializer +@implementation DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; ++ (DBTEAMLOGTeamFolderPermanentlyDeleteType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSfInviteGroupDetails alloc] initWithTargetAssetIndex:targetAssetIndex]; + return [[DBTEAMLOGTeamFolderPermanentlyDeleteType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfNestDetails.h" +#import "DBTEAMLOGTeamFolderRenameDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSfNestDetails +@implementation DBTEAMLOGTeamFolderRenameDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - prevParentNsId:(NSString *)prevParentNsId - dNewParentNsId:(NSString *)dNewParentNsId { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](prevParentNsId); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](dNewParentNsId); +- (instancetype)initWithPreviousFolderName:(NSString *)previousFolderName dNewFolderName:(NSString *)dNewFolderName { + [DBStoneValidators nonnullValidator:nil](previousFolderName); + [DBStoneValidators nonnullValidator:nil](dNewFolderName); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _prevParentNsId = prevParentNsId; - _dNewParentNsId = dNewParentNsId; + _previousFolderName = previousFolderName; + _dNewFolderName = dNewFolderName; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - prevParentNsId:nil - dNewParentNsId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfNestDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfNestDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderRenameDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfNestDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -45889,19 +174251,13 @@ - (instancetype)copyWithZone:(NSZone *)zone { #pragma mark - Hash method -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.prevParentNsId != nil) { - result = prime * result + [self.prevParentNsId hash]; - } - if (self.dNewParentNsId != nil) { - result = prime * result + [self.dNewParentNsId hash]; - } - +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousFolderName hash]; + result = prime * result + [self.dNewFolderName hash]; + return prime * result; } @@ -45914,29 +174270,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfNestDetails:other]; + return [self isEqualToTeamFolderRenameDetails:other]; } -- (BOOL)isEqualToSfNestDetails:(DBTEAMLOGSfNestDetails *)aSfNestDetails { - if (self == aSfNestDetails) { +- (BOOL)isEqualToTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)aTeamFolderRenameDetails { + if (self == aTeamFolderRenameDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSfNestDetails.targetAssetIndex]) { + if (![self.previousFolderName isEqual:aTeamFolderRenameDetails.previousFolderName]) { return NO; } - if (![self.originalFolderName isEqual:aSfNestDetails.originalFolderName]) { + if (![self.dNewFolderName isEqual:aTeamFolderRenameDetails.dNewFolderName]) { return NO; } - if (self.prevParentNsId) { - if (![self.prevParentNsId isEqual:aSfNestDetails.prevParentNsId]) { - return NO; - } - } - if (self.dNewParentNsId) { - if (![self.dNewParentNsId isEqual:aSfNestDetails.dNewParentNsId]) { - return NO; - } - } return YES; } @@ -45944,74 +174290,61 @@ - (BOOL)isEqualToSfNestDetails:(DBTEAMLOGSfNestDetails *)aSfNestDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGSfNestDetailsSerializer +@implementation DBTEAMLOGTeamFolderRenameDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfNestDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.prevParentNsId) { - jsonDict[@"prev_parent_ns_id"] = valueObj.prevParentNsId; - } - if (valueObj.dNewParentNsId) { - jsonDict[@"new_parent_ns_id"] = valueObj.dNewParentNsId; - } + jsonDict[@"previous_folder_name"] = valueObj.previousFolderName; + jsonDict[@"new_folder_name"] = valueObj.dNewFolderName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfNestDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *prevParentNsId = valueDict[@"prev_parent_ns_id"] ?: nil; - NSString *dNewParentNsId = valueDict[@"new_parent_ns_id"] ?: nil; ++ (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousFolderName = valueDict[@"previous_folder_name"]; + NSString *dNewFolderName = valueDict[@"new_folder_name"]; - return [[DBTEAMLOGSfNestDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - prevParentNsId:prevParentNsId - dNewParentNsId:dNewParentNsId]; + return [[DBTEAMLOGTeamFolderRenameDetails alloc] initWithPreviousFolderName:previousFolderName + dNewFolderName:dNewFolderName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamDeclineDetails.h" +#import "DBTEAMLOGTeamFolderRenameType.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamDeclineDetails +@implementation DBTEAMLOGTeamFolderRenameType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamDeclineDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamFolderRenameTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamDeclineDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamFolderRenameTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamDeclineDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamFolderRenameTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46028,8 +174361,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -46043,17 +174375,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamDeclineDetails:other]; + return [self isEqualToTeamFolderRenameType:other]; } -- (BOOL)isEqualToSfTeamDeclineDetails:(DBTEAMLOGSfTeamDeclineDetails *)aSfTeamDeclineDetails { - if (self == aSfTeamDeclineDetails) { +- (BOOL)isEqualToTeamFolderRenameType:(DBTEAMLOGTeamFolderRenameType *)aTeamFolderRenameType { + if (self == aTeamFolderRenameType) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamDeclineDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfTeamDeclineDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamFolderRenameType.description_]) { return NO; } return YES; @@ -46063,64 +174392,65 @@ - (BOOL)isEqualToSfTeamDeclineDetails:(DBTEAMLOGSfTeamDeclineDetails *)aSfTeamDe #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamDeclineDetailsSerializer +@implementation DBTEAMLOGTeamFolderRenameTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamDeclineDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamDeclineDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamFolderRenameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSfTeamDeclineDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamFolderRenameType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamGrantAccessDetails.h" +#import "DBTEAMLOGInviteMethod.h" +#import "DBTEAMLOGTeamInviteDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamGrantAccessDetails +@implementation DBTEAMLOGTeamInviteDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithInviteMethod:(DBTEAMLOGInviteMethod *)inviteMethod + additionalLicensePurchase:(NSNumber *)additionalLicensePurchase { + [DBStoneValidators nonnullValidator:nil](inviteMethod); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _inviteMethod = inviteMethod; + _additionalLicensePurchase = additionalLicensePurchase; } return self; } +- (instancetype)initWithInviteMethod:(DBTEAMLOGInviteMethod *)inviteMethod { + return [self initWithInviteMethod:inviteMethod additionalLicensePurchase:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamInviteDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamGrantAccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamInviteDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamGrantAccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamInviteDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46137,8 +174467,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.inviteMethod hash]; + if (self.additionalLicensePurchase != nil) { + result = prime * result + [self.additionalLicensePurchase hash]; + } return prime * result; } @@ -46152,18 +174484,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamGrantAccessDetails:other]; + return [self isEqualToTeamInviteDetails:other]; } -- (BOOL)isEqualToSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)aSfTeamGrantAccessDetails { - if (self == aSfTeamGrantAccessDetails) { +- (BOOL)isEqualToTeamInviteDetails:(DBTEAMLOGTeamInviteDetails *)aTeamInviteDetails { + if (self == aTeamInviteDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamGrantAccessDetails.targetAssetIndex]) { + if (![self.inviteMethod isEqual:aTeamInviteDetails.inviteMethod]) { return NO; } - if (![self.originalFolderName isEqual:aSfTeamGrantAccessDetails.originalFolderName]) { - return NO; + if (self.additionalLicensePurchase) { + if (![self.additionalLicensePurchase isEqual:aTeamInviteDetails.additionalLicensePurchase]) { + return NO; + } } return YES; } @@ -46172,76 +174506,66 @@ - (BOOL)isEqualToSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamGrantAccessDetailsSerializer +@implementation DBTEAMLOGTeamInviteDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamInviteDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"invite_method"] = [DBTEAMLOGInviteMethodSerializer serialize:valueObj.inviteMethod]; + if (valueObj.additionalLicensePurchase) { + jsonDict[@"additional_license_purchase"] = valueObj.additionalLicensePurchase; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGInviteMethod *inviteMethod = [DBTEAMLOGInviteMethodSerializer deserialize:valueDict[@"invite_method"]]; + NSNumber *additionalLicensePurchase = valueDict[@"additional_license_purchase"] ?: nil; - return [[DBTEAMLOGSfTeamGrantAccessDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamInviteDetails alloc] initWithInviteMethod:inviteMethod + additionalLicensePurchase:additionalLicensePurchase]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamInviteChangeRoleDetails.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGTeamLinkedAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamInviteChangeRoleDetails +@implementation DBTEAMLOGTeamLinkedAppLogInfo #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewSharingPermission:(NSString *)dNewSharingPermission - previousSharingPermission:(NSString *)previousSharingPermission { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { - self = [super init]; + self = [super initWithAppId:appId displayName:displayName]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _dNewSharingPermission = dNewSharingPermission; - _previousSharingPermission = previousSharingPermission; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewSharingPermission:nil - previousSharingPermission:nil]; +- (instancetype)initDefault { + return [self initWithAppId:nil displayName:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamLinkedAppLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46258,13 +174582,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.dNewSharingPermission != nil) { - result = prime * result + [self.dNewSharingPermission hash]; + if (self.appId != nil) { + result = prime * result + [self.appId hash]; } - if (self.previousSharingPermission != nil) { - result = prime * result + [self.previousSharingPermission hash]; + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; } return prime * result; @@ -46279,27 +174601,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamInviteChangeRoleDetails:other]; + return [self isEqualToTeamLinkedAppLogInfo:other]; } -- (BOOL)isEqualToSfTeamInviteChangeRoleDetails: - (DBTEAMLOGSfTeamInviteChangeRoleDetails *)aSfTeamInviteChangeRoleDetails { - if (self == aSfTeamInviteChangeRoleDetails) { +- (BOOL)isEqualToTeamLinkedAppLogInfo:(DBTEAMLOGTeamLinkedAppLogInfo *)aTeamLinkedAppLogInfo { + if (self == aTeamLinkedAppLogInfo) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamInviteChangeRoleDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfTeamInviteChangeRoleDetails.originalFolderName]) { - return NO; - } - if (self.dNewSharingPermission) { - if (![self.dNewSharingPermission isEqual:aSfTeamInviteChangeRoleDetails.dNewSharingPermission]) { + if (self.appId) { + if (![self.appId isEqual:aTeamLinkedAppLogInfo.appId]) { return NO; } } - if (self.previousSharingPermission) { - if (![self.previousSharingPermission isEqual:aSfTeamInviteChangeRoleDetails.previousSharingPermission]) { + if (self.displayName) { + if (![self.displayName isEqual:aTeamLinkedAppLogInfo.displayName]) { return NO; } } @@ -46310,81 +174625,64 @@ - (BOOL)isEqualToSfTeamInviteChangeRoleDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamInviteChangeRoleDetailsSerializer +@implementation DBTEAMLOGTeamLinkedAppLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.dNewSharingPermission) { - jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; + if (valueObj.appId) { + jsonDict[@"app_id"] = valueObj.appId; } - if (valueObj.previousSharingPermission) { - jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; - NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *appId = valueDict[@"app_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; - return [[DBTEAMLOGSfTeamInviteChangeRoleDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewSharingPermission:dNewSharingPermission - previousSharingPermission:previousSharingPermission]; + return [[DBTEAMLOGTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamInviteDetails.h" +#import "DBTEAMLOGTeamLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamInviteDetails +@implementation DBTEAMLOGTeamLogInfo #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDisplayName:(NSString *)displayName { + [DBStoneValidators nonnullValidator:nil](displayName); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharingPermission = sharingPermission; + _displayName = displayName; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:originalFolderName sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamInviteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamInviteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamInviteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46401,11 +174699,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } + result = prime * result + [self.displayName hash]; return prime * result; } @@ -46419,24 +174713,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamInviteDetails:other]; + return [self isEqualToTeamLogInfo:other]; } -- (BOOL)isEqualToSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)aSfTeamInviteDetails { - if (self == aSfTeamInviteDetails) { +- (BOOL)isEqualToTeamLogInfo:(DBTEAMLOGTeamLogInfo *)aTeamLogInfo { + if (self == aTeamLogInfo) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamInviteDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfTeamInviteDetails.originalFolderName]) { + if (![self.displayName isEqual:aTeamLogInfo.displayName]) { return NO; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSfTeamInviteDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -46444,69 +174730,75 @@ - (BOOL)isEqualToSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)aSfTeamInvi #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamInviteDetailsSerializer +@implementation DBTEAMLOGTeamLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } + jsonDict[@"display_name"] = valueObj.displayName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *displayName = valueDict[@"display_name"]; - return [[DBTEAMLOGSfTeamInviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamLogInfo alloc] initWithDisplayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamJoinDetails.h" +#import "DBTEAMLOGTeamLogInfo.h" +#import "DBTEAMLOGTeamMemberLogInfo.h" +#import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamJoinDetails +@implementation DBTEAMLOGTeamMemberLogInfo #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithAccountId:(NSString *)accountId + displayName:(NSString *)displayName + email:(NSString *)email + teamMemberId:(NSString *)teamMemberId + memberExternalId:(NSString *)memberExternalId + team:(DBTEAMLOGTeamLogInfo *)team { + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](email); + [DBStoneValidators + nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); - self = [super init]; + self = [super initWithAccountId:accountId displayName:displayName email:email]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _teamMemberId = teamMemberId; + _memberExternalId = memberExternalId; + _team = team; } return self; } +- (instancetype)initDefault { + return [self initWithAccountId:nil displayName:nil email:nil teamMemberId:nil memberExternalId:nil team:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamJoinDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMemberLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamJoinDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamJoinDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMemberLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46523,8 +174815,24 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + if (self.accountId != nil) { + result = prime * result + [self.accountId hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + if (self.email != nil) { + result = prime * result + [self.email hash]; + } + if (self.teamMemberId != nil) { + result = prime * result + [self.teamMemberId hash]; + } + if (self.memberExternalId != nil) { + result = prime * result + [self.memberExternalId hash]; + } + if (self.team != nil) { + result = prime * result + [self.team hash]; + } return prime * result; } @@ -46538,18 +174846,42 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamJoinDetails:other]; + return [self isEqualToTeamMemberLogInfo:other]; } -- (BOOL)isEqualToSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)aSfTeamJoinDetails { - if (self == aSfTeamJoinDetails) { +- (BOOL)isEqualToTeamMemberLogInfo:(DBTEAMLOGTeamMemberLogInfo *)aTeamMemberLogInfo { + if (self == aTeamMemberLogInfo) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamJoinDetails.targetAssetIndex]) { - return NO; + if (self.accountId) { + if (![self.accountId isEqual:aTeamMemberLogInfo.accountId]) { + return NO; + } } - if (![self.originalFolderName isEqual:aSfTeamJoinDetails.originalFolderName]) { - return NO; + if (self.displayName) { + if (![self.displayName isEqual:aTeamMemberLogInfo.displayName]) { + return NO; + } + } + if (self.email) { + if (![self.email isEqual:aTeamMemberLogInfo.email]) { + return NO; + } + } + if (self.teamMemberId) { + if (![self.teamMemberId isEqual:aTeamMemberLogInfo.teamMemberId]) { + return NO; + } + } + if (self.memberExternalId) { + if (![self.memberExternalId isEqual:aTeamMemberLogInfo.memberExternalId]) { + return NO; + } + } + if (self.team) { + if (![self.team isEqual:aTeamMemberLogInfo.team]) { + return NO; + } } return YES; } @@ -46558,76 +174890,143 @@ - (BOOL)isEqualToSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)aSfTeamJoinDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamJoinDetailsSerializer +@implementation DBTEAMLOGTeamMemberLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + if (valueObj.accountId) { + jsonDict[@"account_id"] = valueObj.accountId; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + if (valueObj.email) { + jsonDict[@"email"] = valueObj.email; + } + if (valueObj.teamMemberId) { + jsonDict[@"team_member_id"] = valueObj.teamMemberId; + } + if (valueObj.memberExternalId) { + jsonDict[@"member_external_id"] = valueObj.memberExternalId; + } + if (valueObj.team) { + jsonDict[@"team"] = [DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.team]; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *accountId = valueDict[@"account_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; + NSString *email = valueDict[@"email"] ?: nil; + NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; + NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; + DBTEAMLOGTeamLogInfo *team = + valueDict[@"team"] ? [DBTEAMLOGTeamLogInfoSerializer deserialize:valueDict[@"team"]] : nil; - return [[DBTEAMLOGSfTeamJoinDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMemberLogInfo alloc] initWithAccountId:accountId + displayName:displayName + email:email + teamMemberId:teamMemberId + memberExternalId:memberExternalId + team:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamJoinFromOobLinkDetails.h" +#import "DBTEAMLOGTeamMembershipType.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamJoinFromOobLinkDetails +@implementation DBTEAMLOGTeamMembershipType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - tokenKey:(NSString *)tokenKey - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithFree { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMembershipTypeFree; + } + return self; +} +- (instancetype)initWithFull { self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _tokenKey = tokenKey; - _sharingPermission = sharingPermission; + _tag = DBTEAMLOGTeamMembershipTypeFull; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - tokenKey:nil - sharingPermission:nil]; +- (instancetype)initWithGuest { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMembershipTypeGuest; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMembershipTypeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isFree { + return _tag == DBTEAMLOGTeamMembershipTypeFree; +} + +- (BOOL)isFull { + return _tag == DBTEAMLOGTeamMembershipTypeFull; +} + +- (BOOL)isGuest { + return _tag == DBTEAMLOGTeamMembershipTypeGuest; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamMembershipTypeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamMembershipTypeFree: + return @"DBTEAMLOGTeamMembershipTypeFree"; + case DBTEAMLOGTeamMembershipTypeFull: + return @"DBTEAMLOGTeamMembershipTypeFull"; + case DBTEAMLOGTeamMembershipTypeGuest: + return @"DBTEAMLOGTeamMembershipTypeGuest"; + case DBTEAMLOGTeamMembershipTypeOther: + return @"DBTEAMLOGTeamMembershipTypeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMembershipTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMembershipTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMembershipTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46644,13 +175043,19 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.tokenKey != nil) { - result = prime * result + [self.tokenKey hash]; - } - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; + switch (_tag) { + case DBTEAMLOGTeamMembershipTypeFree: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamMembershipTypeFull: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamMembershipTypeGuest: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamMembershipTypeOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -46665,28 +175070,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamJoinFromOobLinkDetails:other]; + return [self isEqualToTeamMembershipType:other]; } -- (BOOL)isEqualToSfTeamJoinFromOobLinkDetails:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)aSfTeamJoinFromOobLinkDetails { - if (self == aSfTeamJoinFromOobLinkDetails) { +- (BOOL)isEqualToTeamMembershipType:(DBTEAMLOGTeamMembershipType *)aTeamMembershipType { + if (self == aTeamMembershipType) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamJoinFromOobLinkDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfTeamJoinFromOobLinkDetails.originalFolderName]) { + if (self.tag != aTeamMembershipType.tag) { return NO; } - if (self.tokenKey) { - if (![self.tokenKey isEqual:aSfTeamJoinFromOobLinkDetails.tokenKey]) { - return NO; - } - } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSfTeamJoinFromOobLinkDetails.sharingPermission]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTeamMembershipTypeFree: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; + case DBTEAMLOGTeamMembershipTypeFull: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; + case DBTEAMLOGTeamMembershipTypeGuest: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; + case DBTEAMLOGTeamMembershipTypeOther: + return [[self tagName] isEqual:[aTeamMembershipType tagName]]; } return YES; } @@ -46695,74 +175097,78 @@ - (BOOL)isEqualToSfTeamJoinFromOobLinkDetails:(DBTEAMLOGSfTeamJoinFromOobLinkDet #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamJoinFromOobLinkDetailsSerializer +@implementation DBTEAMLOGTeamMembershipTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.tokenKey) { - jsonDict[@"token_key"] = valueObj.tokenKey; - } - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; + if ([valueObj isFree]) { + jsonDict[@".tag"] = @"free"; + } else if ([valueObj isFull]) { + jsonDict[@".tag"] = @"full"; + } else if ([valueObj isGuest]) { + jsonDict[@".tag"] = @"guest"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *tokenKey = valueDict[@"token_key"] ?: nil; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSfTeamJoinFromOobLinkDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - tokenKey:tokenKey - sharingPermission:sharingPermission]; + if ([tag isEqualToString:@"free"]) { + return [[DBTEAMLOGTeamMembershipType alloc] initWithFree]; + } else if ([tag isEqualToString:@"full"]) { + return [[DBTEAMLOGTeamMembershipType alloc] initWithFull]; + } else if ([tag isEqualToString:@"guest"]) { + return [[DBTEAMLOGTeamMembershipType alloc] initWithGuest]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamMembershipType alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamMembershipType alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSfTeamUninviteDetails.h" +#import "DBTEAMLOGTeamMergeFromDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSfTeamUninviteDetails +@implementation DBTEAMLOGTeamMergeFromDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithTeamName:(NSString *)teamName { + [DBStoneValidators nonnullValidator:nil](teamName); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _teamName = teamName; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeFromDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSfTeamUninviteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeFromDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSfTeamUninviteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeFromDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46779,8 +175185,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.teamName hash]; return prime * result; } @@ -46794,17 +175199,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSfTeamUninviteDetails:other]; + return [self isEqualToTeamMergeFromDetails:other]; } -- (BOOL)isEqualToSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)aSfTeamUninviteDetails { - if (self == aSfTeamUninviteDetails) { +- (BOOL)isEqualToTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)aTeamMergeFromDetails { + if (self == aTeamMergeFromDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSfTeamUninviteDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSfTeamUninviteDetails.originalFolderName]) { + if (![self.teamName isEqual:aTeamMergeFromDetails.teamName]) { return NO; } return YES; @@ -46814,69 +175216,58 @@ - (BOOL)isEqualToSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)aSfTeam #pragma mark - Serializer Object -@implementation DBTEAMLOGSfTeamUninviteDetailsSerializer +@implementation DBTEAMLOGTeamMergeFromDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"team_name"] = valueObj.teamName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)valueDict { + NSString *teamName = valueDict[@"team_name"]; - return [[DBTEAMLOGSfTeamUninviteDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeFromDetails alloc] initWithTeamName:teamName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentAddInviteesDetails.h" +#import "DBTEAMLOGTeamMergeFromType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentAddInviteesDetails +@implementation DBTEAMLOGTeamMergeFromType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharingPermission = sharingPermission; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentAddInviteesDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeFromTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentAddInviteesDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeFromTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentAddInviteesDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeFromTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -46893,13 +175284,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -46913,27 +175298,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentAddInviteesDetails:other]; + return [self isEqualToTeamMergeFromType:other]; } -- (BOOL)isEqualToSharedContentAddInviteesDetails: - (DBTEAMLOGSharedContentAddInviteesDetails *)aSharedContentAddInviteesDetails { - if (self == aSharedContentAddInviteesDetails) { +- (BOOL)isEqualToTeamMergeFromType:(DBTEAMLOGTeamMergeFromType *)aTeamMergeFromType { + if (self == aTeamMergeFromType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentAddInviteesDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeFromType.description_]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentAddInviteesDetails.originalFolderName]) { - return NO; - } - } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentAddInviteesDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -46941,88 +175315,59 @@ - (BOOL)isEqualToSharedContentAddInviteesDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentAddInviteesDetailsSerializer +@implementation DBTEAMLOGTeamMergeFromTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMergeFromType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentAddInviteesDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamMergeFromType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentAddLinkExpiryDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentAddLinkExpiryDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](expirationStartDate); - [DBStoneValidators nonnullValidator:nil](expirationDays); +- (instancetype)initWithRequestAcceptedDetails:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)requestAcceptedDetails { + [DBStoneValidators nonnullValidator:nil](requestAcceptedDetails); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _expirationStartDate = expirationStartDate; - _expirationDays = expirationDays; + _requestAcceptedDetails = requestAcceptedDetails; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays { - return [self initWithTargetAssetIndex:targetAssetIndex - expirationStartDate:expirationStartDate - expirationDays:expirationDays - originalFolderName:nil - sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47039,15 +175384,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.expirationStartDate hash]; - result = prime * result + [self.expirationDays hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.requestAcceptedDetails hash]; return prime * result; } @@ -47061,33 +175398,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentAddLinkExpiryDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedDetails:other]; } -- (BOOL)isEqualToSharedContentAddLinkExpiryDetails: - (DBTEAMLOGSharedContentAddLinkExpiryDetails *)aSharedContentAddLinkExpiryDetails { - if (self == aSharedContentAddLinkExpiryDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedDetails: + (DBTEAMLOGTeamMergeRequestAcceptedDetails *)aTeamMergeRequestAcceptedDetails { + if (self == aTeamMergeRequestAcceptedDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentAddLinkExpiryDetails.targetAssetIndex]) { - return NO; - } - if (![self.expirationStartDate isEqual:aSharedContentAddLinkExpiryDetails.expirationStartDate]) { - return NO; - } - if (![self.expirationDays isEqual:aSharedContentAddLinkExpiryDetails.expirationDays]) { + if (![self.requestAcceptedDetails isEqual:aTeamMergeRequestAcceptedDetails.requestAcceptedDetails]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentAddLinkExpiryDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentAddLinkExpiryDetails.sharedFolderType]) { - return NO; - } - } return YES; } @@ -47095,82 +175416,128 @@ - (BOOL)isEqualToSharedContentAddLinkExpiryDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentAddLinkExpiryDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"expiration_start_date"] = valueObj.expirationStartDate; - jsonDict[@"expiration_days"] = valueObj.expirationDays; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"request_accepted_details"] = + [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:valueObj.requestAcceptedDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *expirationStartDate = valueDict[@"expiration_start_date"]; - NSNumber *expirationDays = valueDict[@"expiration_days"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *requestAcceptedDetails = + [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer deserialize:valueDict[@"request_accepted_details"]]; - return [[DBTEAMLOGSharedContentAddLinkExpiryDetails alloc] initWithTargetAssetIndex:targetAssetIndex - expirationStartDate:expirationStartDate - expirationDays:expirationDays - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestAcceptedDetails alloc] initWithRequestAcceptedDetails:requestAcceptedDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentAddLinkPasswordDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentAddLinkPasswordDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedExtraDetails + +@synthesize primaryTeam = _primaryTeam; +@synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)primaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam; + _primaryTeam = primaryTeam; + } + return self; +} +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)secondaryTeam { self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; + _tag = DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam; + _secondaryTeam = secondaryTeam; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedFolderType:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)primaryTeam { + if (![self isPrimaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam, but was %@.", + [self tagName]]; + } + return _primaryTeam; +} + +- (DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)secondaryTeam { + if (![self isSecondaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam, but was %@.", + [self tagName]]; + } + return _secondaryTeam; +} + +#pragma mark - Tag state methods + +- (BOOL)isPrimaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam; +} + +- (BOOL)isSecondaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam: + return @"DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam"; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam: + return @"DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam"; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther: + return @"DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47187,12 +175554,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; + switch (_tag) { + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam: + result = prime * result + [self.primaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam: + result = prime * result + [self.secondaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -47207,26 +175578,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentAddLinkPasswordDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedExtraDetails:other]; } -- (BOOL)isEqualToSharedContentAddLinkPasswordDetails: - (DBTEAMLOGSharedContentAddLinkPasswordDetails *)aSharedContentAddLinkPasswordDetails { - if (self == aSharedContentAddLinkPasswordDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedExtraDetails: + (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)aTeamMergeRequestAcceptedExtraDetails { + if (self == aTeamMergeRequestAcceptedExtraDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentAddLinkPasswordDetails.targetAssetIndex]) { + if (self.tag != aTeamMergeRequestAcceptedExtraDetails.tag) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentAddLinkPasswordDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentAddLinkPasswordDetails.sharedFolderType]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam: + return [self.primaryTeam isEqual:aTeamMergeRequestAcceptedExtraDetails.primaryTeam]; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam: + return [self.secondaryTeam isEqual:aTeamMergeRequestAcceptedExtraDetails.secondaryTeam]; + case DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther: + return [[self tagName] isEqual:[aTeamMergeRequestAcceptedExtraDetails tagName]]; } return YES; } @@ -47235,81 +175604,84 @@ - (BOOL)isEqualToSharedContentAddLinkPasswordDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentAddLinkPasswordDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; + if ([valueObj isPrimaryTeam]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer serialize:valueObj.primaryTeam]]; + jsonDict[@".tag"] = @"primary_team"; + } else if ([valueObj isSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer + serialize:valueObj.secondaryTeam]]; + jsonDict[@".tag"] = @"secondary_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSharedContentAddLinkPasswordDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + if ([tag isEqualToString:@"primary_team"]) { + DBTEAMLOGPrimaryTeamRequestAcceptedDetails *primaryTeam = + [DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetails alloc] initWithPrimaryTeam:primaryTeam]; + } else if ([tag isEqualToString:@"secondary_team"]) { + DBTEAMLOGSecondaryTeamRequestAcceptedDetails *secondaryTeam = + [DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetails alloc] initWithSecondaryTeam:secondaryTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetails alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamMergeRequestAcceptedExtraDetails alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentAddMemberDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentAddMemberDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharingPermission:(NSString *)sharingPermission - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharingPermission = sharingPermission; - _sharedFolderType = sharedFolderType; + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:nil - sharingPermission:nil - sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentAddMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentAddMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentAddMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47326,16 +175698,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -47349,31 +175713,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentAddMemberDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentAddMemberDetails: - (DBTEAMLOGSharedContentAddMemberDetails *)aSharedContentAddMemberDetails { - if (self == aSharedContentAddMemberDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)aTeamMergeRequestAcceptedShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestAcceptedShownToPrimaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentAddMemberDetails.targetAssetIndex]) { + if (![self.secondaryTeam isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentAddMemberDetails.originalFolderName]) { - return NO; - } - } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentAddMemberDetails.sharingPermission]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentAddMemberDetails.sharedFolderType]) { - return NO; - } + if (![self.sentBy isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamDetails.sentBy]) { + return NO; } return YES; } @@ -47382,92 +175734,61 @@ - (BOOL)isEqualToSharedContentAddMemberDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentAddMemberDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedContentAddMemberDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharingPermission:sharingPermission - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h" -#import "DBTEAMLOGSharedContentDownloadsPolicy.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentDownloadsPolicy *)dNewValue - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGSharedContentDownloadsPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentDownloadsPolicy *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:nil - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47484,17 +175805,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.dNewValue hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -47508,35 +175819,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeDownloadsPolicyDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharedContentChangeDownloadsPolicyDetails: - (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)aSharedContentChangeDownloadsPolicyDetails { - if (self == aSharedContentChangeDownloadsPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)aTeamMergeRequestAcceptedShownToPrimaryTeamType { + if (self == aTeamMergeRequestAcceptedShownToPrimaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeDownloadsPolicyDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeRequestAcceptedShownToPrimaryTeamType.description_]) { return NO; } - if (![self.dNewValue isEqual:aSharedContentChangeDownloadsPolicyDetails.dNewValue]) { - return NO; - } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeDownloadsPolicyDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeDownloadsPolicyDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedContentChangeDownloadsPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -47544,95 +175837,60 @@ - (BOOL)isEqualToSharedContentChangeDownloadsPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeDownloadsPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"new_value"] = [DBTEAMLOGSharedContentDownloadsPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharedContentDownloadsPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - DBTEAMLOGSharedContentDownloadsPolicy *dNewValue = - [DBTEAMLOGSharedContentDownloadsPolicySerializer deserialize:valueDict[@"new_value"]]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGSharedContentDownloadsPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharedContentDownloadsPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentChangeDownloadsPolicyDetails alloc] initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeInviteeRoleDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeInviteeRoleDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewSharingPermission:(NSString *)dNewSharingPermission - previousSharingPermission:(NSString *)previousSharingPermission { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithPrimaryTeam:(NSString *)primaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](primaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _dNewSharingPermission = dNewSharingPermission; - _previousSharingPermission = previousSharingPermission; + _primaryTeam = primaryTeam; + _sentBy = sentBy; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewSharingPermission:nil - previousSharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47649,14 +175907,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - if (self.dNewSharingPermission != nil) { - result = prime * result + [self.dNewSharingPermission hash]; - } - if (self.previousSharingPermission != nil) { - result = prime * result + [self.previousSharingPermission hash]; - } + result = prime * result + [self.primaryTeam hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -47670,30 +175922,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeInviteeRoleDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentChangeInviteeRoleDetails: - (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)aSharedContentChangeInviteeRoleDetails { - if (self == aSharedContentChangeInviteeRoleDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *) + aTeamMergeRequestAcceptedShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestAcceptedShownToSecondaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeInviteeRoleDetails.targetAssetIndex]) { + if (![self.primaryTeam isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamDetails.primaryTeam]) { return NO; } - if (![self.originalFolderName isEqual:aSharedContentChangeInviteeRoleDetails.originalFolderName]) { + if (![self.sentBy isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamDetails.sentBy]) { return NO; } - if (self.dNewSharingPermission) { - if (![self.dNewSharingPermission isEqual:aSharedContentChangeInviteeRoleDetails.dNewSharingPermission]) { - return NO; - } - } - if (self.previousSharingPermission) { - if (![self.previousSharingPermission isEqual:aSharedContentChangeInviteeRoleDetails.previousSharingPermission]) { - return NO; - } - } return YES; } @@ -47701,89 +175944,62 @@ - (BOOL)isEqualToSharedContentChangeInviteeRoleDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeInviteeRoleDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - if (valueObj.dNewSharingPermission) { - jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; - } - if (valueObj.previousSharingPermission) { - jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; - } + jsonDict[@"primary_team"] = valueObj.primaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; - NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)deserialize: + (NSDictionary *)valueDict { + NSString *primaryTeam = valueDict[@"primary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedContentChangeInviteeRoleDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewSharingPermission:dNewSharingPermission - previousSharingPermission:previousSharingPermission]; + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails alloc] initWithPrimaryTeam:primaryTeam + sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGLinkAudience.h" -#import "DBTEAMLOGSharedContentChangeLinkAudienceDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeLinkAudienceDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGLinkAudience *)dNewValue - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGLinkAudience *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex dNewValue:(DBTEAMLOGLinkAudience *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:nil - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47800,17 +176016,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.dNewValue hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -47824,35 +176030,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeLinkAudienceDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharedContentChangeLinkAudienceDetails: - (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)aSharedContentChangeLinkAudienceDetails { - if (self == aSharedContentChangeLinkAudienceDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)aTeamMergeRequestAcceptedShownToSecondaryTeamType { + if (self == aTeamMergeRequestAcceptedShownToSecondaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeLinkAudienceDetails.targetAssetIndex]) { - return NO; - } - if (![self.dNewValue isEqual:aSharedContentChangeLinkAudienceDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamMergeRequestAcceptedShownToSecondaryTeamType.description_]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeLinkAudienceDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeLinkAudienceDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedContentChangeLinkAudienceDetails.previousValue]) { - return NO; - } - } return YES; } @@ -47860,97 +176048,58 @@ - (BOOL)isEqualToSharedContentChangeLinkAudienceDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeLinkAudienceDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"new_value"] = [DBTEAMLOGLinkAudienceSerializer serialize:valueObj.dNewValue]; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGLinkAudienceSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - DBTEAMLOGLinkAudience *dNewValue = [DBTEAMLOGLinkAudienceSerializer deserialize:valueDict[@"new_value"]]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGLinkAudience *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGLinkAudienceSerializer deserialize:valueDict[@"previous_value"]] : nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentChangeLinkAudienceDetails alloc] initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeLinkExpiryDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeLinkExpiryDetails +@implementation DBTEAMLOGTeamMergeRequestAcceptedType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](expirationStartDate); - [DBStoneValidators nonnullValidator:nil](expirationDays); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _expirationStartDate = expirationStartDate; - _expirationDays = expirationDays; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays { - return [self initWithTargetAssetIndex:targetAssetIndex - expirationStartDate:expirationStartDate - expirationDays:expirationDays - originalFolderName:nil - sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -47967,15 +176116,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.expirationStartDate hash]; - result = prime * result + [self.expirationDays hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -47989,33 +176130,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeLinkExpiryDetails:other]; + return [self isEqualToTeamMergeRequestAcceptedType:other]; } -- (BOOL)isEqualToSharedContentChangeLinkExpiryDetails: - (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)aSharedContentChangeLinkExpiryDetails { - if (self == aSharedContentChangeLinkExpiryDetails) { +- (BOOL)isEqualToTeamMergeRequestAcceptedType:(DBTEAMLOGTeamMergeRequestAcceptedType *)aTeamMergeRequestAcceptedType { + if (self == aTeamMergeRequestAcceptedType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeLinkExpiryDetails.targetAssetIndex]) { - return NO; - } - if (![self.expirationStartDate isEqual:aSharedContentChangeLinkExpiryDetails.expirationStartDate]) { + if (![self.description_ isEqual:aTeamMergeRequestAcceptedType.description_]) { return NO; } - if (![self.expirationDays isEqual:aSharedContentChangeLinkExpiryDetails.expirationDays]) { - return NO; - } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeLinkExpiryDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeLinkExpiryDetails.sharedFolderType]) { - return NO; - } - } return YES; } @@ -48023,82 +176147,61 @@ - (BOOL)isEqualToSharedContentChangeLinkExpiryDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeLinkExpiryDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"expiration_start_date"] = valueObj.expirationStartDate; - jsonDict[@"expiration_days"] = valueObj.expirationDays; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *expirationStartDate = valueDict[@"expiration_start_date"]; - NSNumber *expirationDays = valueDict[@"expiration_days"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAcceptedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentChangeLinkExpiryDetails alloc] initWithTargetAssetIndex:targetAssetIndex - expirationStartDate:expirationStartDate - expirationDays:expirationDays - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestAcceptedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeLinkPasswordDetails.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeLinkPasswordDetails +@implementation DBTEAMLOGTeamMergeRequestAutoCanceledDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDetails:(NSString *)details { self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; + _details = details; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedFolderType:nil]; +- (instancetype)initDefault { + return [self initWithDetails:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48115,12 +176218,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; + if (self.details != nil) { + result = prime * result + [self.details hash]; } return prime * result; @@ -48135,24 +176234,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeLinkPasswordDetails:other]; + return [self isEqualToTeamMergeRequestAutoCanceledDetails:other]; } -- (BOOL)isEqualToSharedContentChangeLinkPasswordDetails: - (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)aSharedContentChangeLinkPasswordDetails { - if (self == aSharedContentChangeLinkPasswordDetails) { +- (BOOL)isEqualToTeamMergeRequestAutoCanceledDetails: + (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)aTeamMergeRequestAutoCanceledDetails { + if (self == aTeamMergeRequestAutoCanceledDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeLinkPasswordDetails.targetAssetIndex]) { - return NO; - } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeLinkPasswordDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeLinkPasswordDetails.sharedFolderType]) { + if (self.details) { + if (![self.details isEqual:aTeamMergeRequestAutoCanceledDetails.details]) { return NO; } } @@ -48163,84 +176254,60 @@ - (BOOL)isEqualToSharedContentChangeLinkPasswordDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeLinkPasswordDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; + if (valueObj.details) { + jsonDict[@"details"] = valueObj.details; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)deserialize:(NSDictionary *)valueDict { + NSString *details = valueDict[@"details"] ?: nil; - return [[DBTEAMLOGSharedContentChangeLinkPasswordDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestAutoCanceledDetails alloc] initWithDetails:details]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeMemberRoleDetails.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeMemberRoleDetails +@implementation DBTEAMLOGTeamMergeRequestAutoCanceledType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewSharingPermission:(NSString *)dNewSharingPermission - previousSharingPermission:(NSString *)previousSharingPermission - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - - self = [super init]; - if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _dNewSharingPermission = dNewSharingPermission; - _previousSharingPermission = previousSharingPermission; - _sharedFolderType = sharedFolderType; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:nil - dNewSharingPermission:nil - previousSharingPermission:nil - sharedFolderType:nil]; + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48257,19 +176324,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.dNewSharingPermission != nil) { - result = prime * result + [self.dNewSharingPermission hash]; - } - if (self.previousSharingPermission != nil) { - result = prime * result + [self.previousSharingPermission hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -48283,37 +176338,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeMemberRoleDetails:other]; + return [self isEqualToTeamMergeRequestAutoCanceledType:other]; } -- (BOOL)isEqualToSharedContentChangeMemberRoleDetails: - (DBTEAMLOGSharedContentChangeMemberRoleDetails *)aSharedContentChangeMemberRoleDetails { - if (self == aSharedContentChangeMemberRoleDetails) { +- (BOOL)isEqualToTeamMergeRequestAutoCanceledType: + (DBTEAMLOGTeamMergeRequestAutoCanceledType *)aTeamMergeRequestAutoCanceledType { + if (self == aTeamMergeRequestAutoCanceledType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeMemberRoleDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeRequestAutoCanceledType.description_]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeMemberRoleDetails.originalFolderName]) { - return NO; - } - } - if (self.dNewSharingPermission) { - if (![self.dNewSharingPermission isEqual:aSharedContentChangeMemberRoleDetails.dNewSharingPermission]) { - return NO; - } - } - if (self.previousSharingPermission) { - if (![self.previousSharingPermission isEqual:aSharedContentChangeMemberRoleDetails.previousSharingPermission]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeMemberRoleDetails.sharedFolderType]) { - return NO; - } - } return YES; } @@ -48321,97 +176356,59 @@ - (BOOL)isEqualToSharedContentChangeMemberRoleDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeMemberRoleDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.dNewSharingPermission) { - jsonDict[@"new_sharing_permission"] = valueObj.dNewSharingPermission; - } - if (valueObj.previousSharingPermission) { - jsonDict[@"previous_sharing_permission"] = valueObj.previousSharingPermission; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *dNewSharingPermission = valueDict[@"new_sharing_permission"] ?: nil; - NSString *previousSharingPermission = valueDict[@"previous_sharing_permission"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestAutoCanceledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentChangeMemberRoleDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewSharingPermission:dNewSharingPermission - previousSharingPermission:previousSharingPermission - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestAutoCanceledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h" -#import "DBTEAMLOGSharedContentViewerInfoPolicy.h" +#import "DBTEAMLOGTeamMergeRequestCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentViewerInfoPolicy *)dNewValue - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGSharedContentViewerInfoPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithRequestCanceledDetails:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)requestCanceledDetails { + [DBStoneValidators nonnullValidator:nil](requestCanceledDetails); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _requestCanceledDetails = requestCanceledDetails; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentViewerInfoPolicy *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:nil - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48428,17 +176425,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.dNewValue hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.requestCanceledDetails hash]; return prime * result; } @@ -48452,35 +176439,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentChangeViewerInfoPolicyDetails:other]; + return [self isEqualToTeamMergeRequestCanceledDetails:other]; } -- (BOOL)isEqualToSharedContentChangeViewerInfoPolicyDetails: - (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)aSharedContentChangeViewerInfoPolicyDetails { - if (self == aSharedContentChangeViewerInfoPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledDetails: + (DBTEAMLOGTeamMergeRequestCanceledDetails *)aTeamMergeRequestCanceledDetails { + if (self == aTeamMergeRequestCanceledDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentChangeViewerInfoPolicyDetails.targetAssetIndex]) { + if (![self.requestCanceledDetails isEqual:aTeamMergeRequestCanceledDetails.requestCanceledDetails]) { return NO; } - if (![self.dNewValue isEqual:aSharedContentChangeViewerInfoPolicyDetails.dNewValue]) { - return NO; - } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentChangeViewerInfoPolicyDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentChangeViewerInfoPolicyDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedContentChangeViewerInfoPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -48488,88 +176457,128 @@ - (BOOL)isEqualToSharedContentChangeViewerInfoPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentChangeViewerInfoPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"new_value"] = [DBTEAMLOGSharedContentViewerInfoPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharedContentViewerInfoPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"request_canceled_details"] = + [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:valueObj.requestCanceledDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - DBTEAMLOGSharedContentViewerInfoPolicy *dNewValue = - [DBTEAMLOGSharedContentViewerInfoPolicySerializer deserialize:valueDict[@"new_value"]]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGSharedContentViewerInfoPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharedContentViewerInfoPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestCanceledDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamMergeRequestCanceledExtraDetails *requestCanceledDetails = + [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer deserialize:valueDict[@"request_canceled_details"]]; - return [[DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails alloc] initWithTargetAssetIndex:targetAssetIndex - dNewValue:dNewValue - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestCanceledDetails alloc] initWithRequestCanceledDetails:requestCanceledDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentClaimInvitationDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestCanceledDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentClaimInvitationDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledExtraDetails + +@synthesize primaryTeam = _primaryTeam; +@synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedContentLink:(NSString *)sharedContentLink { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestCanceledDetails *)primaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam; + _primaryTeam = primaryTeam; + } + return self; +} +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestCanceledDetails *)secondaryTeam { self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedContentLink = sharedContentLink; + _tag = DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam; + _secondaryTeam = secondaryTeam; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedContentLink:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGPrimaryTeamRequestCanceledDetails *)primaryTeam { + if (![self isPrimaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam, but was %@.", + [self tagName]]; + } + return _primaryTeam; +} + +- (DBTEAMLOGSecondaryTeamRequestCanceledDetails *)secondaryTeam { + if (![self isSecondaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam, but was %@.", + [self tagName]]; + } + return _secondaryTeam; +} + +#pragma mark - Tag state methods + +- (BOOL)isPrimaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam; +} + +- (BOOL)isSecondaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam: + return @"DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam"; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam: + return @"DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam"; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther: + return @"DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentClaimInvitationDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentClaimInvitationDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentClaimInvitationDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48586,12 +176595,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedContentLink != nil) { - result = prime * result + [self.sharedContentLink hash]; + switch (_tag) { + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam: + result = prime * result + [self.primaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam: + result = prime * result + [self.secondaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -48606,26 +176619,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentClaimInvitationDetails:other]; + return [self isEqualToTeamMergeRequestCanceledExtraDetails:other]; } -- (BOOL)isEqualToSharedContentClaimInvitationDetails: - (DBTEAMLOGSharedContentClaimInvitationDetails *)aSharedContentClaimInvitationDetails { - if (self == aSharedContentClaimInvitationDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledExtraDetails: + (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)aTeamMergeRequestCanceledExtraDetails { + if (self == aTeamMergeRequestCanceledExtraDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentClaimInvitationDetails.targetAssetIndex]) { + if (self.tag != aTeamMergeRequestCanceledExtraDetails.tag) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentClaimInvitationDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedContentLink) { - if (![self.sharedContentLink isEqual:aSharedContentClaimInvitationDetails.sharedContentLink]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam: + return [self.primaryTeam isEqual:aTeamMergeRequestCanceledExtraDetails.primaryTeam]; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam: + return [self.secondaryTeam isEqual:aTeamMergeRequestCanceledExtraDetails.secondaryTeam]; + case DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther: + return [[self tagName] isEqual:[aTeamMergeRequestCanceledExtraDetails tagName]]; } return YES; } @@ -48634,86 +176645,84 @@ - (BOOL)isEqualToSharedContentClaimInvitationDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentClaimInvitationDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedContentLink) { - jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; + if ([valueObj isPrimaryTeam]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer serialize:valueObj.primaryTeam]]; + jsonDict[@".tag"] = @"primary_team"; + } else if ([valueObj isSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer + serialize:valueObj.secondaryTeam]]; + jsonDict[@".tag"] = @"secondary_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSharedContentClaimInvitationDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedContentLink:sharedContentLink]; + if ([tag isEqualToString:@"primary_team"]) { + DBTEAMLOGPrimaryTeamRequestCanceledDetails *primaryTeam = + [DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetails alloc] initWithPrimaryTeam:primaryTeam]; + } else if ([tag isEqualToString:@"secondary_team"]) { + DBTEAMLOGSecondaryTeamRequestCanceledDetails *secondaryTeam = + [DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetails alloc] initWithSecondaryTeam:secondaryTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetails alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamMergeRequestCanceledExtraDetails alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" -#import "DBTEAMLOGSharedContentCopyDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentCopyDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - relocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](sharedContentLink); - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](relocateActionDetails); +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _sharedContentLink = sharedContentLink; - _sharingPermission = sharingPermission; - _targetAssetIndex = targetAssetIndex; - _relocateActionDetails = relocateActionDetails; + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; } return self; } -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - relocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails { - return [self initWithSharedContentLink:sharedContentLink - targetAssetIndex:targetAssetIndex - relocateActionDetails:relocateActionDetails - sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentCopyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentCopyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentCopyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48730,12 +176739,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharedContentLink hash]; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.relocateActionDetails hash]; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -48749,27 +176754,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentCopyDetails:other]; + return [self isEqualToTeamMergeRequestCanceledShownToPrimaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)aSharedContentCopyDetails { - if (self == aSharedContentCopyDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)aTeamMergeRequestCanceledShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestCanceledShownToPrimaryTeamDetails) { return YES; } - if (![self.sharedContentLink isEqual:aSharedContentCopyDetails.sharedContentLink]) { - return NO; - } - if (![self.targetAssetIndex isEqual:aSharedContentCopyDetails.targetAssetIndex]) { + if (![self.secondaryTeam isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } - if (![self.relocateActionDetails isEqual:aSharedContentCopyDetails.relocateActionDetails]) { + if (![self.sentBy isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamDetails.sentBy]) { return NO; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentCopyDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -48777,80 +176775,61 @@ - (BOOL)isEqualToSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentCopyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"relocate_action_details"] = - [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:valueObj.relocateActionDetails]; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharedContentLink = valueDict[@"shared_content_link"]; - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - DBTEAMLOGRelocateAssetReferencesLogInfo *relocateActionDetails = - [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:valueDict[@"relocate_action_details"]]; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedContentCopyDetails alloc] initWithSharedContentLink:sharedContentLink - targetAssetIndex:targetAssetIndex - relocateActionDetails:relocateActionDetails - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentDownloadDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentDownloadDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType #pragma mark - Constructors -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](sharedContentLink); - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _sharedContentLink = sharedContentLink; - _sharingPermission = sharingPermission; - _targetAssetIndex = targetAssetIndex; + _description_ = description_; } return self; } -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink targetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithSharedContentLink:sharedContentLink targetAssetIndex:targetAssetIndex sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentDownloadDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentDownloadDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -48867,11 +176846,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharedContentLink hash]; - result = prime * result + [self.targetAssetIndex hash]; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -48885,24 +176860,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentDownloadDetails:other]; + return [self isEqualToTeamMergeRequestCanceledShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharedContentDownloadDetails:(DBTEAMLOGSharedContentDownloadDetails *)aSharedContentDownloadDetails { - if (self == aSharedContentDownloadDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)aTeamMergeRequestCanceledShownToPrimaryTeamType { + if (self == aTeamMergeRequestCanceledShownToPrimaryTeamType) { return YES; } - if (![self.sharedContentLink isEqual:aSharedContentDownloadDetails.sharedContentLink]) { - return NO; - } - if (![self.targetAssetIndex isEqual:aSharedContentDownloadDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeRequestCanceledShownToPrimaryTeamType.description_]) { return NO; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentDownloadDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -48910,109 +176878,60 @@ - (BOOL)isEqualToSharedContentDownloadDetails:(DBTEAMLOGSharedContentDownloadDet #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentDownloadDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharedContentLink = valueDict[@"shared_content_link"]; - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentDownloadDetails alloc] initWithSharedContentLink:sharedContentLink - targetAssetIndex:targetAssetIndex - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentDownloadsPolicy.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentDownloadsPolicy +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedContentDownloadsPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedContentDownloadsPolicyEnabled; - } - return self; -} +- (instancetype)initWithSentTo:(NSString *)sentTo sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](sentTo); + [DBStoneValidators nonnullValidator:nil](sentBy); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharedContentDownloadsPolicyOther; + _sentTo = sentTo; + _sentBy = sentBy; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGSharedContentDownloadsPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGSharedContentDownloadsPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSharedContentDownloadsPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharedContentDownloadsPolicyDisabled: - return @"DBTEAMLOGSharedContentDownloadsPolicyDisabled"; - case DBTEAMLOGSharedContentDownloadsPolicyEnabled: - return @"DBTEAMLOGSharedContentDownloadsPolicyEnabled"; - case DBTEAMLOGSharedContentDownloadsPolicyOther: - return @"DBTEAMLOGSharedContentDownloadsPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentDownloadsPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentDownloadsPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentDownloadsPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49029,14 +176948,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharedContentDownloadsPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedContentDownloadsPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedContentDownloadsPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.sentTo hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -49050,23 +176963,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentDownloadsPolicy:other]; + return [self isEqualToTeamMergeRequestCanceledShownToSecondaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentDownloadsPolicy:(DBTEAMLOGSharedContentDownloadsPolicy *)aSharedContentDownloadsPolicy { - if (self == aSharedContentDownloadsPolicy) { +- (BOOL)isEqualToTeamMergeRequestCanceledShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *) + aTeamMergeRequestCanceledShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestCanceledShownToSecondaryTeamDetails) { return YES; } - if (self.tag != aSharedContentDownloadsPolicy.tag) { + if (![self.sentTo isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamDetails.sentTo]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharedContentDownloadsPolicyDisabled: - return [[self tagName] isEqual:[aSharedContentDownloadsPolicy tagName]]; - case DBTEAMLOGSharedContentDownloadsPolicyEnabled: - return [[self tagName] isEqual:[aSharedContentDownloadsPolicy tagName]]; - case DBTEAMLOGSharedContentDownloadsPolicyOther: - return [[self tagName] isEqual:[aSharedContentDownloadsPolicy tagName]]; + if (![self.sentBy isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamDetails.sentBy]) { + return NO; } return YES; } @@ -49075,77 +176985,61 @@ - (BOOL)isEqualToSharedContentDownloadsPolicy:(DBTEAMLOGSharedContentDownloadsPo #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentDownloadsPolicySerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadsPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"sent_to"] = valueObj.sentTo; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentDownloadsPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)deserialize: + (NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; + NSString *sentBy = valueDict[@"sent_by"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGSharedContentDownloadsPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGSharedContentDownloadsPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharedContentDownloadsPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharedContentDownloadsPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRelinquishMembershipDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRelinquishMembershipDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49162,8 +177056,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -49177,18 +177070,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRelinquishMembershipDetails:other]; + return [self isEqualToTeamMergeRequestCanceledShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharedContentRelinquishMembershipDetails: - (DBTEAMLOGSharedContentRelinquishMembershipDetails *)aSharedContentRelinquishMembershipDetails { - if (self == aSharedContentRelinquishMembershipDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)aTeamMergeRequestCanceledShownToSecondaryTeamType { + if (self == aTeamMergeRequestCanceledShownToSecondaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRelinquishMembershipDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedContentRelinquishMembershipDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamMergeRequestCanceledShownToSecondaryTeamType.description_]) { return NO; } return YES; @@ -49198,64 +177088,58 @@ - (BOOL)isEqualToSharedContentRelinquishMembershipDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRelinquishMembershipDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentRelinquishMembershipDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRemoveInviteeDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRemoveInviteeDetails +@implementation DBTEAMLOGTeamMergeRequestCanceledType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestCanceledTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestCanceledTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestCanceledTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49272,8 +177156,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -49287,18 +177170,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRemoveInviteeDetails:other]; + return [self isEqualToTeamMergeRequestCanceledType:other]; } -- (BOOL)isEqualToSharedContentRemoveInviteeDetails: - (DBTEAMLOGSharedContentRemoveInviteeDetails *)aSharedContentRemoveInviteeDetails { - if (self == aSharedContentRemoveInviteeDetails) { +- (BOOL)isEqualToTeamMergeRequestCanceledType:(DBTEAMLOGTeamMergeRequestCanceledType *)aTeamMergeRequestCanceledType { + if (self == aTeamMergeRequestCanceledType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRemoveInviteeDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedContentRemoveInviteeDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamMergeRequestCanceledType.description_]) { return NO; } return YES; @@ -49308,69 +177187,59 @@ - (BOOL)isEqualToSharedContentRemoveInviteeDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestCanceledTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRemoveInviteeDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeRequestCanceledType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentRemoveInviteeDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestCanceledType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRemoveLinkExpiryDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithRequestExpiredDetails:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)requestExpiredDetails { + [DBStoneValidators nonnullValidator:nil](requestExpiredDetails); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; + _requestExpiredDetails = requestExpiredDetails; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49387,13 +177256,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.requestExpiredDetails hash]; return prime * result; } @@ -49407,27 +177270,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRemoveLinkExpiryDetails:other]; + return [self isEqualToTeamMergeRequestExpiredDetails:other]; } -- (BOOL)isEqualToSharedContentRemoveLinkExpiryDetails: - (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)aSharedContentRemoveLinkExpiryDetails { - if (self == aSharedContentRemoveLinkExpiryDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredDetails: + (DBTEAMLOGTeamMergeRequestExpiredDetails *)aTeamMergeRequestExpiredDetails { + if (self == aTeamMergeRequestExpiredDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRemoveLinkExpiryDetails.targetAssetIndex]) { + if (![self.requestExpiredDetails isEqual:aTeamMergeRequestExpiredDetails.requestExpiredDetails]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentRemoveLinkExpiryDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentRemoveLinkExpiryDetails.sharedFolderType]) { - return NO; - } - } return YES; } @@ -49435,76 +177288,128 @@ - (BOOL)isEqualToSharedContentRemoveLinkExpiryDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRemoveLinkExpiryDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"request_expired_details"] = + [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:valueObj.requestExpiredDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamMergeRequestExpiredExtraDetails *requestExpiredDetails = + [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer deserialize:valueDict[@"request_expired_details"]]; - return [[DBTEAMLOGSharedContentRemoveLinkExpiryDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestExpiredDetails alloc] initWithRequestExpiredDetails:requestExpiredDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestExpiredDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestExpiredDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRemoveLinkPasswordDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredExtraDetails + +@synthesize primaryTeam = _primaryTeam; +@synthesize secondaryTeam = _secondaryTeam; #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestExpiredDetails *)primaryTeam { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam; + _primaryTeam = primaryTeam; + } + return self; +} +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestExpiredDetails *)secondaryTeam { self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; + _tag = DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam; + _secondaryTeam = secondaryTeam; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedFolderType:nil]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBTEAMLOGPrimaryTeamRequestExpiredDetails *)primaryTeam { + if (![self isPrimaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam, but was %@.", + [self tagName]]; + } + return _primaryTeam; +} + +- (DBTEAMLOGSecondaryTeamRequestExpiredDetails *)secondaryTeam { + if (![self isSecondaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam, but was %@.", + [self tagName]]; + } + return _secondaryTeam; +} + +#pragma mark - Tag state methods + +- (BOOL)isPrimaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam; +} + +- (BOOL)isSecondaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam: + return @"DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam"; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam: + return @"DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam"; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther: + return @"DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49521,12 +177426,16 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; + switch (_tag) { + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam: + result = prime * result + [self.primaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam: + result = prime * result + [self.secondaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -49541,26 +177450,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRemoveLinkPasswordDetails:other]; + return [self isEqualToTeamMergeRequestExpiredExtraDetails:other]; } -- (BOOL)isEqualToSharedContentRemoveLinkPasswordDetails: - (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)aSharedContentRemoveLinkPasswordDetails { - if (self == aSharedContentRemoveLinkPasswordDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredExtraDetails: + (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)aTeamMergeRequestExpiredExtraDetails { + if (self == aTeamMergeRequestExpiredExtraDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRemoveLinkPasswordDetails.targetAssetIndex]) { + if (self.tag != aTeamMergeRequestExpiredExtraDetails.tag) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentRemoveLinkPasswordDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentRemoveLinkPasswordDetails.sharedFolderType]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam: + return [self.primaryTeam isEqual:aTeamMergeRequestExpiredExtraDetails.primaryTeam]; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam: + return [self.secondaryTeam isEqual:aTeamMergeRequestExpiredExtraDetails.secondaryTeam]; + case DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther: + return [[self tagName] isEqual:[aTeamMergeRequestExpiredExtraDetails tagName]]; } return YES; } @@ -49569,81 +177476,84 @@ - (BOOL)isEqualToSharedContentRemoveLinkPasswordDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRemoveLinkPasswordDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; + if ([valueObj isPrimaryTeam]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer serialize:valueObj.primaryTeam]]; + jsonDict[@".tag"] = @"primary_team"; + } else if ([valueObj isSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer + serialize:valueObj.secondaryTeam]]; + jsonDict[@".tag"] = @"secondary_team"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSharedContentRemoveLinkPasswordDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedFolderType:sharedFolderType]; + if ([tag isEqualToString:@"primary_team"]) { + DBTEAMLOGPrimaryTeamRequestExpiredDetails *primaryTeam = + [DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetails alloc] initWithPrimaryTeam:primaryTeam]; + } else if ([tag isEqualToString:@"secondary_team"]) { + DBTEAMLOGSecondaryTeamRequestExpiredDetails *secondaryTeam = + [DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetails alloc] initWithSecondaryTeam:secondaryTeam]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetails alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamMergeRequestExpiredExtraDetails alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRemoveMemberDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRemoveMemberDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharingPermission:(NSString *)sharingPermission - sharedFolderType:(NSString *)sharedFolderType { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharingPermission = sharingPermission; - _sharedFolderType = sharedFolderType; + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:nil - sharingPermission:nil - sharedFolderType:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRemoveMemberDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRemoveMemberDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRemoveMemberDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49660,16 +177570,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -49683,31 +177585,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRemoveMemberDetails:other]; + return [self isEqualToTeamMergeRequestExpiredShownToPrimaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentRemoveMemberDetails: - (DBTEAMLOGSharedContentRemoveMemberDetails *)aSharedContentRemoveMemberDetails { - if (self == aSharedContentRemoveMemberDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)aTeamMergeRequestExpiredShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestExpiredShownToPrimaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRemoveMemberDetails.targetAssetIndex]) { + if (![self.secondaryTeam isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentRemoveMemberDetails.originalFolderName]) { - return NO; - } - } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentRemoveMemberDetails.sharingPermission]) { - return NO; - } - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedContentRemoveMemberDetails.sharedFolderType]) { - return NO; - } + if (![self.sentBy isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamDetails.sentBy]) { + return NO; } return YES; } @@ -49716,81 +177606,61 @@ - (BOOL)isEqualToSharedContentRemoveMemberDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRemoveMemberDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedContentRemoveMemberDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharingPermission:sharingPermission - sharedFolderType:sharedFolderType]; + return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentRequestAccessDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentRequestAccessDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - sharedContentLink:(NSString *)sharedContentLink { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedContentLink = sharedContentLink; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil sharedContentLink:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentRequestAccessDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentRequestAccessDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentRequestAccessDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49807,13 +177677,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } - if (self.sharedContentLink != nil) { - result = prime * result + [self.sharedContentLink hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -49827,27 +177691,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentRequestAccessDetails:other]; + return [self isEqualToTeamMergeRequestExpiredShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharedContentRequestAccessDetails: - (DBTEAMLOGSharedContentRequestAccessDetails *)aSharedContentRequestAccessDetails { - if (self == aSharedContentRequestAccessDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)aTeamMergeRequestExpiredShownToPrimaryTeamType { + if (self == aTeamMergeRequestExpiredShownToPrimaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentRequestAccessDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeRequestExpiredShownToPrimaryTeamType.description_]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentRequestAccessDetails.originalFolderName]) { - return NO; - } - } - if (self.sharedContentLink) { - if (![self.sharedContentLink isEqual:aSharedContentRequestAccessDetails.sharedContentLink]) { - return NO; - } - } return YES; } @@ -49855,74 +177709,58 @@ - (BOOL)isEqualToSharedContentRequestAccessDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentRequestAccessDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } - if (valueObj.sharedContentLink) { - jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; - NSString *sharedContentLink = valueDict[@"shared_content_link"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentRequestAccessDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - sharedContentLink:sharedContentLink]; + return [[DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentUnshareDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentUnshareDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithSentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](sentTo); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _sentTo = sentTo; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex originalFolderName:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentUnshareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentUnshareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -49939,10 +177777,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.originalFolderName != nil) { - result = prime * result + [self.originalFolderName hash]; - } + result = prime * result + [self.sentTo hash]; return prime * result; } @@ -49956,21 +177791,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentUnshareDetails:other]; + return [self isEqualToTeamMergeRequestExpiredShownToSecondaryTeamDetails:other]; } -- (BOOL)isEqualToSharedContentUnshareDetails:(DBTEAMLOGSharedContentUnshareDetails *)aSharedContentUnshareDetails { - if (self == aSharedContentUnshareDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)aTeamMergeRequestExpiredShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestExpiredShownToSecondaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedContentUnshareDetails.targetAssetIndex]) { + if (![self.sentTo isEqual:aTeamMergeRequestExpiredShownToSecondaryTeamDetails.sentTo]) { return NO; } - if (self.originalFolderName) { - if (![self.originalFolderName isEqual:aSharedContentUnshareDetails.originalFolderName]) { - return NO; - } - } return YES; } @@ -49978,72 +177809,58 @@ - (BOOL)isEqualToSharedContentUnshareDetails:(DBTEAMLOGSharedContentUnshareDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentUnshareDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.originalFolderName) { - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - } + jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; - return [[DBTEAMLOGSharedContentUnshareDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentViewDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentViewDetails +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType #pragma mark - Constructors -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - sharingPermission:(NSString *)sharingPermission { - [DBStoneValidators nonnullValidator:nil](sharedContentLink); - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _sharedContentLink = sharedContentLink; - _sharingPermission = sharingPermission; - _targetAssetIndex = targetAssetIndex; + _description_ = description_; } return self; } -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink targetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithSharedContentLink:sharedContentLink targetAssetIndex:targetAssetIndex sharingPermission:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentViewDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentViewDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentViewDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50060,11 +177877,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharedContentLink hash]; - result = prime * result + [self.targetAssetIndex hash]; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -50078,24 +177891,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentViewDetails:other]; + return [self isEqualToTeamMergeRequestExpiredShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)aSharedContentViewDetails { - if (self == aSharedContentViewDetails) { +- (BOOL)isEqualToTeamMergeRequestExpiredShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)aTeamMergeRequestExpiredShownToSecondaryTeamType { + if (self == aTeamMergeRequestExpiredShownToSecondaryTeamType) { return YES; } - if (![self.sharedContentLink isEqual:aSharedContentViewDetails.sharedContentLink]) { - return NO; - } - if (![self.targetAssetIndex isEqual:aSharedContentViewDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTeamMergeRequestExpiredShownToSecondaryTeamType.description_]) { return NO; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aSharedContentViewDetails.sharingPermission]) { - return NO; - } - } return YES; } @@ -50103,109 +177909,58 @@ - (BOOL)isEqualToSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentViewDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentViewDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"shared_content_link"] = valueObj.sharedContentLink; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharedContentLink = valueDict[@"shared_content_link"]; - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedContentViewDetails alloc] initWithSharedContentLink:sharedContentLink - targetAssetIndex:targetAssetIndex - sharingPermission:sharingPermission]; + return [[DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedContentViewerInfoPolicy.h" +#import "DBTEAMLOGTeamMergeRequestExpiredType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedContentViewerInfoPolicy +@implementation DBTEAMLOGTeamMergeRequestExpiredType #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedContentViewerInfoPolicyDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedContentViewerInfoPolicyEnabled; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharedContentViewerInfoPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGSharedContentViewerInfoPolicyDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGSharedContentViewerInfoPolicyEnabled; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSharedContentViewerInfoPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharedContentViewerInfoPolicyDisabled: - return @"DBTEAMLOGSharedContentViewerInfoPolicyDisabled"; - case DBTEAMLOGSharedContentViewerInfoPolicyEnabled: - return @"DBTEAMLOGSharedContentViewerInfoPolicyEnabled"; - case DBTEAMLOGSharedContentViewerInfoPolicyOther: - return @"DBTEAMLOGSharedContentViewerInfoPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedContentViewerInfoPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestExpiredTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedContentViewerInfoPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestExpiredTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedContentViewerInfoPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestExpiredTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50222,14 +177977,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharedContentViewerInfoPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedContentViewerInfoPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedContentViewerInfoPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -50243,25 +177991,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedContentViewerInfoPolicy:other]; + return [self isEqualToTeamMergeRequestExpiredType:other]; } -- (BOOL)isEqualToSharedContentViewerInfoPolicy: - (DBTEAMLOGSharedContentViewerInfoPolicy *)aSharedContentViewerInfoPolicy { - if (self == aSharedContentViewerInfoPolicy) { +- (BOOL)isEqualToTeamMergeRequestExpiredType:(DBTEAMLOGTeamMergeRequestExpiredType *)aTeamMergeRequestExpiredType { + if (self == aTeamMergeRequestExpiredType) { return YES; } - if (self.tag != aSharedContentViewerInfoPolicy.tag) { + if (![self.description_ isEqual:aTeamMergeRequestExpiredType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharedContentViewerInfoPolicyDisabled: - return [[self tagName] isEqual:[aSharedContentViewerInfoPolicy tagName]]; - case DBTEAMLOGSharedContentViewerInfoPolicyEnabled: - return [[self tagName] isEqual:[aSharedContentViewerInfoPolicy tagName]]; - case DBTEAMLOGSharedContentViewerInfoPolicyOther: - return [[self tagName] isEqual:[aSharedContentViewerInfoPolicy tagName]]; - } return YES; } @@ -50269,92 +178008,60 @@ - (BOOL)isEqualToSharedContentViewerInfoPolicy: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedContentViewerInfoPolicySerializer +@implementation DBTEAMLOGTeamMergeRequestExpiredTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedContentViewerInfoPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedContentViewerInfoPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeRequestExpiredType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGSharedContentViewerInfoPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGSharedContentViewerInfoPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharedContentViewerInfoPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharedContentViewerInfoPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeRequestExpiredType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGConfidentiality.h" -#import "DBTEAMLOGSharedFolderChangeConfidentialityDetails.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderChangeConfidentialityDetails +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGConfidentiality *)dNewValue - previousValue:(DBTEAMLOGConfidentiality *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _dNewValue = dNewValue; - _previousValue = previousValue; + _secondaryTeam = secondaryTeam; + _sentBy = sentBy; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGConfidentiality *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50371,12 +178078,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -50390,28 +178093,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderChangeConfidentialityDetails:other]; + return [self isEqualToTeamMergeRequestRejectedShownToPrimaryTeamDetails:other]; } -- (BOOL)isEqualToSharedFolderChangeConfidentialityDetails: - (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)aSharedFolderChangeConfidentialityDetails { - if (self == aSharedFolderChangeConfidentialityDetails) { +- (BOOL)isEqualToTeamMergeRequestRejectedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)aTeamMergeRequestRejectedShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestRejectedShownToPrimaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderChangeConfidentialityDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderChangeConfidentialityDetails.originalFolderName]) { + if (![self.secondaryTeam isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamDetails.secondaryTeam]) { return NO; } - if (![self.dNewValue isEqual:aSharedFolderChangeConfidentialityDetails.dNewValue]) { + if (![self.sentBy isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamDetails.sentBy]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedFolderChangeConfidentialityDetails.previousValue]) { - return NO; - } - } return YES; } @@ -50419,92 +178114,61 @@ - (BOOL)isEqualToSharedFolderChangeConfidentialityDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeConfidentialityDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - jsonDict[@"new_value"] = [DBTEAMLOGConfidentialitySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGConfidentialitySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - DBTEAMLOGConfidentiality *dNewValue = [DBTEAMLOGConfidentialitySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGConfidentiality *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGConfidentialitySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedFolderChangeConfidentialityDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h" -#import "DBTEAMLOGSharedFolderLinkPolicy.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderChangeLinkPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderLinkPolicy *)dNewValue - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGSharedFolderLinkPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderLinkPolicy *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50521,15 +178185,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - result = prime * result + [self.dNewValue hash]; - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -50543,33 +178199,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderChangeLinkPolicyDetails:other]; + return [self isEqualToTeamMergeRequestRejectedShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharedFolderChangeLinkPolicyDetails: - (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)aSharedFolderChangeLinkPolicyDetails { - if (self == aSharedFolderChangeLinkPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestRejectedShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)aTeamMergeRequestRejectedShownToPrimaryTeamType { + if (self == aTeamMergeRequestRejectedShownToPrimaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderChangeLinkPolicyDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderChangeLinkPolicyDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamMergeRequestRejectedShownToPrimaryTeamType.description_]) { return NO; } - if (![self.dNewValue isEqual:aSharedFolderChangeLinkPolicyDetails.dNewValue]) { - return NO; - } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedFolderChangeLinkPolicyDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedFolderChangeLinkPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -50577,99 +178217,58 @@ - (BOOL)isEqualToSharedFolderChangeLinkPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderChangeLinkPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - jsonDict[@"new_value"] = [DBTEAMLOGSharedFolderLinkPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharedFolderLinkPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - DBTEAMLOGSharedFolderLinkPolicy *dNewValue = - [DBTEAMLOGSharedFolderLinkPolicySerializer deserialize:valueDict[@"new_value"]]; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGSharedFolderLinkPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharedFolderLinkPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedFolderChangeLinkPolicyDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h" -#import "DBTEAMLOGSharedFolderMembershipManagementPolicy.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)dNewValue - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithSentBy:(NSString *)sentBy { + [DBStoneValidators nonnullValidator:nil](sentBy); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _sentBy = sentBy; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50686,15 +178285,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - result = prime * result + [self.dNewValue hash]; - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.sentBy hash]; return prime * result; } @@ -50708,33 +178299,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderChangeMemberManagementPolicyDetails:other]; + return [self isEqualToTeamMergeRequestRejectedShownToSecondaryTeamDetails:other]; } -- (BOOL)isEqualToSharedFolderChangeMemberManagementPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)aSharedFolderChangeMemberManagementPolicyDetails { - if (self == aSharedFolderChangeMemberManagementPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestRejectedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *) + aTeamMergeRequestRejectedShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestRejectedShownToSecondaryTeamDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderChangeMemberManagementPolicyDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderChangeMemberManagementPolicyDetails.originalFolderName]) { - return NO; - } - if (![self.dNewValue isEqual:aSharedFolderChangeMemberManagementPolicyDetails.dNewValue]) { + if (![self.sentBy isEqual:aTeamMergeRequestRejectedShownToSecondaryTeamDetails.sentBy]) { return NO; } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedFolderChangeMemberManagementPolicyDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedFolderChangeMemberManagementPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -50742,100 +178318,59 @@ - (BOOL)isEqualToSharedFolderChangeMemberManagementPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - jsonDict[@"new_value"] = [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = - [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"sent_by"] = valueObj.sentBy; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - DBTEAMLOGSharedFolderMembershipManagementPolicy *dNewValue = - [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer deserialize:valueDict[@"new_value"]]; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGSharedFolderMembershipManagementPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)deserialize: + (NSDictionary *)valueDict { + NSString *sentBy = valueDict[@"sent_by"]; - return [[DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails alloc] initWithSentBy:sentBy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h" -#import "DBTEAMLOGSharedFolderMemberPolicy.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderChangeMemberPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMemberPolicy *)dNewValue - sharedFolderType:(NSString *)sharedFolderType - previousValue:(DBTEAMLOGSharedFolderMemberPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; - _sharedFolderType = sharedFolderType; - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMemberPolicy *)dNewValue { - return [self initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:nil - previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -50852,15 +178387,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; - result = prime * result + [self.dNewValue hash]; - if (self.sharedFolderType != nil) { - result = prime * result + [self.sharedFolderType hash]; - } - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -50874,33 +178401,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderChangeMemberPolicyDetails:other]; + return [self isEqualToTeamMergeRequestRejectedShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharedFolderChangeMemberPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)aSharedFolderChangeMemberPolicyDetails { - if (self == aSharedFolderChangeMemberPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestRejectedShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)aTeamMergeRequestRejectedShownToSecondaryTeamType { + if (self == aTeamMergeRequestRejectedShownToSecondaryTeamType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderChangeMemberPolicyDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderChangeMemberPolicyDetails.originalFolderName]) { - return NO; - } - if (![self.dNewValue isEqual:aSharedFolderChangeMemberPolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamMergeRequestRejectedShownToSecondaryTeamType.description_]) { return NO; } - if (self.sharedFolderType) { - if (![self.sharedFolderType isEqual:aSharedFolderChangeMemberPolicyDetails.sharedFolderType]) { - return NO; - } - } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharedFolderChangeMemberPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -50908,85 +178419,59 @@ - (BOOL)isEqualToSharedFolderChangeMemberPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; - jsonDict[@"new_value"] = [DBTEAMLOGSharedFolderMemberPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.sharedFolderType) { - jsonDict[@"shared_folder_type"] = valueObj.sharedFolderType; - } - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharedFolderMemberPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; - DBTEAMLOGSharedFolderMemberPolicy *dNewValue = - [DBTEAMLOGSharedFolderMemberPolicySerializer deserialize:valueDict[@"new_value"]]; - NSString *sharedFolderType = valueDict[@"shared_folder_type"] ?: nil; - DBTEAMLOGSharedFolderMemberPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharedFolderMemberPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedFolderChangeMemberPolicyDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName - dNewValue:dNewValue - sharedFolderType:sharedFolderType - previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderCreateDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderCreateDetails +@implementation DBTEAMLOGTeamMergeRequestReminderDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex parentNsId:(NSString *)parentNsId { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:nil pattern:@"[-_0-9a-zA-Z:]+"]](parentNsId); +- (instancetype)initWithRequestReminderDetails:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)requestReminderDetails { + [DBStoneValidators nonnullValidator:nil](requestReminderDetails); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _parentNsId = parentNsId; + _requestReminderDetails = requestReminderDetails; } return self; } -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - return [self initWithTargetAssetIndex:targetAssetIndex parentNsId:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51003,10 +178488,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - if (self.parentNsId != nil) { - result = prime * result + [self.parentNsId hash]; - } + result = prime * result + [self.requestReminderDetails hash]; return prime * result; } @@ -51020,21 +178502,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderCreateDetails:other]; + return [self isEqualToTeamMergeRequestReminderDetails:other]; } -- (BOOL)isEqualToSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)aSharedFolderCreateDetails { - if (self == aSharedFolderCreateDetails) { +- (BOOL)isEqualToTeamMergeRequestReminderDetails: + (DBTEAMLOGTeamMergeRequestReminderDetails *)aTeamMergeRequestReminderDetails { + if (self == aTeamMergeRequestReminderDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderCreateDetails.targetAssetIndex]) { + if (![self.requestReminderDetails isEqual:aTeamMergeRequestReminderDetails.requestReminderDetails]) { return NO; } - if (self.parentNsId) { - if (![self.parentNsId isEqual:aSharedFolderCreateDetails.parentNsId]) { - return NO; - } - } return YES; } @@ -51042,58 +178520,55 @@ - (BOOL)isEqualToSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderCreateDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestReminderDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - if (valueObj.parentNsId) { - jsonDict[@"parent_ns_id"] = valueObj.parentNsId; - } + jsonDict[@"request_reminder_details"] = + [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:valueObj.requestReminderDetails]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *parentNsId = valueDict[@"parent_ns_id"] ?: nil; ++ (DBTEAMLOGTeamMergeRequestReminderDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamMergeRequestReminderExtraDetails *requestReminderDetails = + [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer deserialize:valueDict[@"request_reminder_details"]]; - return [[DBTEAMLOGSharedFolderCreateDetails alloc] initWithTargetAssetIndex:targetAssetIndex parentNsId:parentNsId]; + return [[DBTEAMLOGTeamMergeRequestReminderDetails alloc] initWithRequestReminderDetails:requestReminderDetails]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderLinkPolicy.h" +#import "DBTEAMLOGPrimaryTeamRequestReminderDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestReminderDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderExtraDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderLinkPolicy +@implementation DBTEAMLOGTeamMergeRequestReminderExtraDetails -#pragma mark - Constructors +@synthesize primaryTeam = _primaryTeam; +@synthesize secondaryTeam = _secondaryTeam; -- (instancetype)initWithMembersOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedFolderLinkPolicyMembersOnly; - } - return self; -} +#pragma mark - Constructors -- (instancetype)initWithMembersAndTeam { +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestReminderDetails *)primaryTeam { self = [super init]; if (self) { - _tag = DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam; + _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam; + _primaryTeam = primaryTeam; } return self; } -- (instancetype)initWithAnyone { +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestReminderDetails *)secondaryTeam { self = [super init]; if (self) { - _tag = DBTEAMLOGSharedFolderLinkPolicyAnyone; + _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam; + _secondaryTeam = secondaryTeam; } return self; } @@ -51101,41 +178576,53 @@ - (instancetype)initWithAnyone { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharedFolderLinkPolicyOther; + _tag = DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther; } return self; } #pragma mark - Instance field accessors -#pragma mark - Tag state methods +- (DBTEAMLOGPrimaryTeamRequestReminderDetails *)primaryTeam { + if (![self isPrimaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam, but was %@.", + [self tagName]]; + } + return _primaryTeam; +} -- (BOOL)isMembersOnly { - return _tag == DBTEAMLOGSharedFolderLinkPolicyMembersOnly; +- (DBTEAMLOGSecondaryTeamRequestReminderDetails *)secondaryTeam { + if (![self isSecondaryTeam]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam, but was %@.", + [self tagName]]; + } + return _secondaryTeam; } -- (BOOL)isMembersAndTeam { - return _tag == DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam; +#pragma mark - Tag state methods + +- (BOOL)isPrimaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam; } -- (BOOL)isAnyone { - return _tag == DBTEAMLOGSharedFolderLinkPolicyAnyone; +- (BOOL)isSecondaryTeam { + return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam; } - (BOOL)isOther { - return _tag == DBTEAMLOGSharedFolderLinkPolicyOther; + return _tag == DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGSharedFolderLinkPolicyMembersOnly: - return @"DBTEAMLOGSharedFolderLinkPolicyMembersOnly"; - case DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam: - return @"DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam"; - case DBTEAMLOGSharedFolderLinkPolicyAnyone: - return @"DBTEAMLOGSharedFolderLinkPolicyAnyone"; - case DBTEAMLOGSharedFolderLinkPolicyOther: - return @"DBTEAMLOGSharedFolderLinkPolicyOther"; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam: + return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam"; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam: + return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam"; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther: + return @"DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -51143,18 +178630,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderLinkPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderLinkPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderLinkPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51172,14 +178659,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGSharedFolderLinkPolicyMembersOnly: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderLinkPolicyAnyone: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderLinkPolicyOther: + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam: + result = prime * result + [self.primaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam: + result = prime * result + [self.secondaryTeam hash]; + break; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -51194,25 +178682,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderLinkPolicy:other]; + return [self isEqualToTeamMergeRequestReminderExtraDetails:other]; } -- (BOOL)isEqualToSharedFolderLinkPolicy:(DBTEAMLOGSharedFolderLinkPolicy *)aSharedFolderLinkPolicy { - if (self == aSharedFolderLinkPolicy) { +- (BOOL)isEqualToTeamMergeRequestReminderExtraDetails: + (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)aTeamMergeRequestReminderExtraDetails { + if (self == aTeamMergeRequestReminderExtraDetails) { return YES; } - if (self.tag != aSharedFolderLinkPolicy.tag) { + if (self.tag != aTeamMergeRequestReminderExtraDetails.tag) { return NO; } switch (_tag) { - case DBTEAMLOGSharedFolderLinkPolicyMembersOnly: - return [[self tagName] isEqual:[aSharedFolderLinkPolicy tagName]]; - case DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam: - return [[self tagName] isEqual:[aSharedFolderLinkPolicy tagName]]; - case DBTEAMLOGSharedFolderLinkPolicyAnyone: - return [[self tagName] isEqual:[aSharedFolderLinkPolicy tagName]]; - case DBTEAMLOGSharedFolderLinkPolicyOther: - return [[self tagName] isEqual:[aSharedFolderLinkPolicy tagName]]; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam: + return [self.primaryTeam isEqual:aTeamMergeRequestReminderExtraDetails.primaryTeam]; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam: + return [self.secondaryTeam isEqual:aTeamMergeRequestReminderExtraDetails.secondaryTeam]; + case DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther: + return [[self tagName] isEqual:[aTeamMergeRequestReminderExtraDetails tagName]]; } return YES; } @@ -51221,39 +178708,43 @@ - (BOOL)isEqualToSharedFolderLinkPolicy:(DBTEAMLOGSharedFolderLinkPolicy *)aShar #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderLinkPolicySerializer +@implementation DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderLinkPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMembersOnly]) { - jsonDict[@".tag"] = @"members_only"; - } else if ([valueObj isMembersAndTeam]) { - jsonDict[@".tag"] = @"members_and_team"; - } else if ([valueObj isAnyone]) { - jsonDict[@".tag"] = @"anyone"; + if ([valueObj isPrimaryTeam]) { + [jsonDict + addEntriesFromDictionary:[DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer serialize:valueObj.primaryTeam]]; + jsonDict[@".tag"] = @"primary_team"; + } else if ([valueObj isSecondaryTeam]) { + [jsonDict addEntriesFromDictionary:[DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer + serialize:valueObj.secondaryTeam]]; + jsonDict[@".tag"] = @"secondary_team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderLinkPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"members_only"]) { - return [[DBTEAMLOGSharedFolderLinkPolicy alloc] initWithMembersOnly]; - } else if ([tag isEqualToString:@"members_and_team"]) { - return [[DBTEAMLOGSharedFolderLinkPolicy alloc] initWithMembersAndTeam]; - } else if ([tag isEqualToString:@"anyone"]) { - return [[DBTEAMLOGSharedFolderLinkPolicy alloc] initWithAnyone]; + if ([tag isEqualToString:@"primary_team"]) { + DBTEAMLOGPrimaryTeamRequestReminderDetails *primaryTeam = + [DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithPrimaryTeam:primaryTeam]; + } else if ([tag isEqualToString:@"secondary_team"]) { + DBTEAMLOGSecondaryTeamRequestReminderDetails *secondaryTeam = + [DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer deserialize:valueDict]; + return [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithSecondaryTeam:secondaryTeam]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharedFolderLinkPolicy alloc] initWithOther]; + return [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithOther]; } else { - return [[DBTEAMLOGSharedFolderLinkPolicy alloc] initWithOther]; + return [[DBTEAMLOGTeamMergeRequestReminderExtraDetails alloc] initWithOther]; } } @@ -51261,81 +178752,147 @@ + (DBTEAMLOGSharedFolderLinkPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderMemberPolicy.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderMemberPolicy +@implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithTeamOnly { +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentTo); + self = [super init]; if (self) { - _tag = DBTEAMLOGSharedFolderMemberPolicyTeamOnly; + _secondaryTeam = secondaryTeam; + _sentTo = sentTo; } return self; } -- (instancetype)initWithAnyone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedFolderMemberPolicyAnyone; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer serialize:instance]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedFolderMemberPolicyOther; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Instance field accessors +#pragma mark - Debug Description method -#pragma mark - Tag state methods +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer serialize:self] description]; +} -- (BOOL)isTeamOnly { - return _tag == DBTEAMLOGSharedFolderMemberPolicyTeamOnly; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isAnyone { - return _tag == DBTEAMLOGSharedFolderMemberPolicyAnyone; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentTo hash]; + + return prime * result; } -- (BOOL)isOther { - return _tag == DBTEAMLOGSharedFolderMemberPolicyOther; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamMergeRequestReminderShownToPrimaryTeamDetails:other]; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharedFolderMemberPolicyTeamOnly: - return @"DBTEAMLOGSharedFolderMemberPolicyTeamOnly"; - case DBTEAMLOGSharedFolderMemberPolicyAnyone: - return @"DBTEAMLOGSharedFolderMemberPolicyAnyone"; - case DBTEAMLOGSharedFolderMemberPolicyOther: - return @"DBTEAMLOGSharedFolderMemberPolicyOther"; +- (BOOL)isEqualToTeamMergeRequestReminderShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)aTeamMergeRequestReminderShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestReminderShownToPrimaryTeamDetails) { + return YES; + } + if (![self.secondaryTeam isEqual:aTeamMergeRequestReminderShownToPrimaryTeamDetails.secondaryTeam]) { + return NO; + } + if (![self.sentTo isEqual:aTeamMergeRequestReminderShownToPrimaryTeamDetails.sentTo]) { + return NO; } + return YES; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; +} + ++ (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentTo = valueDict[@"sent_to"]; + + return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentTo:sentTo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderMemberPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderMemberPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderMemberPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51352,14 +178909,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharedFolderMemberPolicyTeamOnly: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderMemberPolicyAnyone: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderMemberPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -51373,24 +178923,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderMemberPolicy:other]; + return [self isEqualToTeamMergeRequestReminderShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharedFolderMemberPolicy:(DBTEAMLOGSharedFolderMemberPolicy *)aSharedFolderMemberPolicy { - if (self == aSharedFolderMemberPolicy) { +- (BOOL)isEqualToTeamMergeRequestReminderShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)aTeamMergeRequestReminderShownToPrimaryTeamType { + if (self == aTeamMergeRequestReminderShownToPrimaryTeamType) { return YES; } - if (self.tag != aSharedFolderMemberPolicy.tag) { + if (![self.description_ isEqual:aTeamMergeRequestReminderShownToPrimaryTeamType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharedFolderMemberPolicyTeamOnly: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; - case DBTEAMLOGSharedFolderMemberPolicyAnyone: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; - case DBTEAMLOGSharedFolderMemberPolicyOther: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; - } return YES; } @@ -51398,117 +178941,160 @@ - (BOOL)isEqualToSharedFolderMemberPolicy:(DBTEAMLOGSharedFolderMemberPolicy *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderMemberPolicySerializer +@implementation DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMemberPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTeamOnly]) { - jsonDict[@".tag"] = @"team_only"; - } else if ([valueObj isAnyone]) { - jsonDict[@".tag"] = @"anyone"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderMemberPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"team_only"]) { - return [[DBTEAMLOGSharedFolderMemberPolicy alloc] initWithTeamOnly]; - } else if ([tag isEqualToString:@"anyone"]) { - return [[DBTEAMLOGSharedFolderMemberPolicy alloc] initWithAnyone]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharedFolderMemberPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharedFolderMemberPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderMembershipManagementPolicy.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderMembershipManagementPolicy +@implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithOwner { +- (instancetype)initWithSentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](sentTo); + self = [super init]; if (self) { - _tag = DBTEAMLOGSharedFolderMembershipManagementPolicyOwner; + _sentTo = sentTo; } return self; } -- (instancetype)initWithEditors { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedFolderMembershipManagementPolicyEditors; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer serialize:instance]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharedFolderMembershipManagementPolicyOther; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Instance field accessors +#pragma mark - Debug Description method -#pragma mark - Tag state methods +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer serialize:self] description]; +} -- (BOOL)isOwner { - return _tag == DBTEAMLOGSharedFolderMembershipManagementPolicyOwner; +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; } -- (BOOL)isEditors { - return _tag == DBTEAMLOGSharedFolderMembershipManagementPolicyEditors; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.sentTo hash]; + + return prime * result; } -- (BOOL)isOther { - return _tag == DBTEAMLOGSharedFolderMembershipManagementPolicyOther; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamMergeRequestReminderShownToSecondaryTeamDetails:other]; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharedFolderMembershipManagementPolicyOwner: - return @"DBTEAMLOGSharedFolderMembershipManagementPolicyOwner"; - case DBTEAMLOGSharedFolderMembershipManagementPolicyEditors: - return @"DBTEAMLOGSharedFolderMembershipManagementPolicyEditors"; - case DBTEAMLOGSharedFolderMembershipManagementPolicyOther: - return @"DBTEAMLOGSharedFolderMembershipManagementPolicyOther"; +- (BOOL)isEqualToTeamMergeRequestReminderShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *) + aTeamMergeRequestReminderShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestReminderShownToSecondaryTeamDetails) { + return YES; + } + if (![self.sentTo isEqual:aTeamMergeRequestReminderShownToSecondaryTeamDetails.sentTo]) { + return NO; } + return YES; +} - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; +} + ++ (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)deserialize: + (NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; + + return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderMembershipManagementPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderMembershipManagementPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51525,14 +179111,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharedFolderMembershipManagementPolicyOwner: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderMembershipManagementPolicyEditors: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharedFolderMembershipManagementPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -51546,25 +179125,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderMembershipManagementPolicy:other]; + return [self isEqualToTeamMergeRequestReminderShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharedFolderMembershipManagementPolicy: - (DBTEAMLOGSharedFolderMembershipManagementPolicy *)aSharedFolderMembershipManagementPolicy { - if (self == aSharedFolderMembershipManagementPolicy) { +- (BOOL)isEqualToTeamMergeRequestReminderShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)aTeamMergeRequestReminderShownToSecondaryTeamType { + if (self == aTeamMergeRequestReminderShownToSecondaryTeamType) { return YES; } - if (self.tag != aSharedFolderMembershipManagementPolicy.tag) { + if (![self.description_ isEqual:aTeamMergeRequestReminderShownToSecondaryTeamType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharedFolderMembershipManagementPolicyOwner: - return [[self tagName] isEqual:[aSharedFolderMembershipManagementPolicy tagName]]; - case DBTEAMLOGSharedFolderMembershipManagementPolicyEditors: - return [[self tagName] isEqual:[aSharedFolderMembershipManagementPolicy tagName]]; - case DBTEAMLOGSharedFolderMembershipManagementPolicyOther: - return [[self tagName] isEqual:[aSharedFolderMembershipManagementPolicy tagName]]; - } return YES; } @@ -51572,77 +179143,58 @@ - (BOOL)isEqualToSharedFolderMembershipManagementPolicy: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderMembershipManagementPolicySerializer +@implementation DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isOwner]) { - jsonDict[@".tag"] = @"owner"; - } else if ([valueObj isEditors]) { - jsonDict[@".tag"] = @"editors"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderMembershipManagementPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"owner"]) { - return [[DBTEAMLOGSharedFolderMembershipManagementPolicy alloc] initWithOwner]; - } else if ([tag isEqualToString:@"editors"]) { - return [[DBTEAMLOGSharedFolderMembershipManagementPolicy alloc] initWithEditors]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharedFolderMembershipManagementPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharedFolderMembershipManagementPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderMountDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderMountDetails +@implementation DBTEAMLOGTeamMergeRequestReminderType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderMountDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestReminderTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderMountDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestReminderTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderMountDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestReminderTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51659,8 +179211,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -51674,17 +179225,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderMountDetails:other]; + return [self isEqualToTeamMergeRequestReminderType:other]; } -- (BOOL)isEqualToSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)aSharedFolderMountDetails { - if (self == aSharedFolderMountDetails) { +- (BOOL)isEqualToTeamMergeRequestReminderType:(DBTEAMLOGTeamMergeRequestReminderType *)aTeamMergeRequestReminderType { + if (self == aTeamMergeRequestReminderType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderMountDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderMountDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamMergeRequestReminderType.description_]) { return NO; } return YES; @@ -51694,64 +179242,58 @@ - (BOOL)isEqualToSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderMountDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestReminderTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeRequestReminderType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedFolderMountDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestReminderType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderTransferOwnershipDetails.h" +#import "DBTEAMLOGTeamMergeRequestRevokedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderTransferOwnershipDetails +@implementation DBTEAMLOGTeamMergeRequestRevokedDetails #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithTeam:(NSString *)team { + [DBStoneValidators nonnullValidator:nil](team); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _team = team; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51768,8 +179310,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.team hash]; return prime * result; } @@ -51783,18 +179324,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderTransferOwnershipDetails:other]; + return [self isEqualToTeamMergeRequestRevokedDetails:other]; } -- (BOOL)isEqualToSharedFolderTransferOwnershipDetails: - (DBTEAMLOGSharedFolderTransferOwnershipDetails *)aSharedFolderTransferOwnershipDetails { - if (self == aSharedFolderTransferOwnershipDetails) { +- (BOOL)isEqualToTeamMergeRequestRevokedDetails: + (DBTEAMLOGTeamMergeRequestRevokedDetails *)aTeamMergeRequestRevokedDetails { + if (self == aTeamMergeRequestRevokedDetails) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderTransferOwnershipDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderTransferOwnershipDetails.originalFolderName]) { + if (![self.team isEqual:aTeamMergeRequestRevokedDetails.team]) { return NO; } return YES; @@ -51804,64 +179342,58 @@ - (BOOL)isEqualToSharedFolderTransferOwnershipDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderTransferOwnershipDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"team"] = valueObj.team; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeRequestRevokedDetails *)deserialize:(NSDictionary *)valueDict { + NSString *team = valueDict[@"team"]; - return [[DBTEAMLOGSharedFolderTransferOwnershipDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestRevokedDetails alloc] initWithTeam:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedFolderUnmountDetails.h" +#import "DBTEAMLOGTeamMergeRequestRevokedType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedFolderUnmountDetails +@implementation DBTEAMLOGTeamMergeRequestRevokedType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); - [DBStoneValidators nonnullValidator:nil](originalFolderName); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; - _originalFolderName = originalFolderName; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedFolderUnmountDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestRevokedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedFolderUnmountDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestRevokedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedFolderUnmountDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestRevokedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51878,8 +179410,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; - result = prime * result + [self.originalFolderName hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -51893,17 +179424,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderUnmountDetails:other]; + return [self isEqualToTeamMergeRequestRevokedType:other]; } -- (BOOL)isEqualToSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)aSharedFolderUnmountDetails { - if (self == aSharedFolderUnmountDetails) { +- (BOOL)isEqualToTeamMergeRequestRevokedType:(DBTEAMLOGTeamMergeRequestRevokedType *)aTeamMergeRequestRevokedType { + if (self == aTeamMergeRequestRevokedType) { return YES; } - if (![self.targetAssetIndex isEqual:aSharedFolderUnmountDetails.targetAssetIndex]) { - return NO; - } - if (![self.originalFolderName isEqual:aSharedFolderUnmountDetails.originalFolderName]) { + if (![self.description_ isEqual:aTeamMergeRequestRevokedType.description_]) { return NO; } return YES; @@ -51913,59 +179441,60 @@ - (BOOL)isEqualToSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedFolderUnmountDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestRevokedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; - jsonDict[@"original_folder_name"] = valueObj.originalFolderName; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; - NSString *originalFolderName = valueDict[@"original_folder_name"]; ++ (DBTEAMLOGTeamMergeRequestRevokedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharedFolderUnmountDetails alloc] initWithTargetAssetIndex:targetAssetIndex - originalFolderName:originalFolderName]; + return [[DBTEAMLOGTeamMergeRequestRevokedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharedNoteOpenedDetails.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharedNoteOpenedDetails +@implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](secondaryTeam); + [DBStoneValidators nonnullValidator:nil](sentTo); self = [super init]; if (self) { + _secondaryTeam = secondaryTeam; + _sentTo = sentTo; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharedNoteOpenedDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharedNoteOpenedDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -51982,6 +179511,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.secondaryTeam hash]; + result = prime * result + [self.sentTo hash]; + return prime * result; } @@ -51994,13 +179526,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedNoteOpenedDetails:other]; + return [self isEqualToTeamMergeRequestSentShownToPrimaryTeamDetails:other]; } -- (BOOL)isEqualToSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)aSharedNoteOpenedDetails { - if (self == aSharedNoteOpenedDetails) { +- (BOOL)isEqualToTeamMergeRequestSentShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)aTeamMergeRequestSentShownToPrimaryTeamDetails { + if (self == aTeamMergeRequestSentShownToPrimaryTeamDetails) { return YES; } + if (![self.secondaryTeam isEqual:aTeamMergeRequestSentShownToPrimaryTeamDetails.secondaryTeam]) { + return NO; + } + if (![self.sentTo isEqual:aTeamMergeRequestSentShownToPrimaryTeamDetails.sentTo]) { + return NO; + } return YES; } @@ -52008,64 +179547,61 @@ - (BOOL)isEqualToSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)aSh #pragma mark - Serializer Object -@implementation DBTEAMLOGSharedNoteOpenedDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"secondary_team"] = valueObj.secondaryTeam; + jsonDict[@"sent_to"] = valueObj.sentTo; + + return jsonDict; } -+ (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *secondaryTeam = valueDict[@"secondary_team"]; + NSString *sentTo = valueDict[@"sent_to"]; - return [[DBTEAMLOGSharedNoteOpenedDetails alloc] initDefault]; + return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails alloc] initWithSecondaryTeam:secondaryTeam + sentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" -#import "DBTEAMLOGSharingFolderJoinPolicy.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue - previousValue:(DBTEAMLOGSharingFolderJoinPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingFolderJoinPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52082,10 +179618,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -52099,22 +179632,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingChangeFolderJoinPolicyDetails:other]; + return [self isEqualToTeamMergeRequestSentShownToPrimaryTeamType:other]; } -- (BOOL)isEqualToSharingChangeFolderJoinPolicyDetails: - (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)aSharingChangeFolderJoinPolicyDetails { - if (self == aSharingChangeFolderJoinPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestSentShownToPrimaryTeamType: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)aTeamMergeRequestSentShownToPrimaryTeamType { + if (self == aTeamMergeRequestSentShownToPrimaryTeamType) { return YES; } - if (![self.dNewValue isEqual:aSharingChangeFolderJoinPolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamMergeRequestSentShownToPrimaryTeamType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharingChangeFolderJoinPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -52122,74 +179650,58 @@ - (BOOL)isEqualToSharingChangeFolderJoinPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingChangeFolderJoinPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSharingFolderJoinPolicy *dNewValue = - [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGSharingFolderJoinPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return - [[DBTEAMLOGSharingChangeFolderJoinPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" -#import "DBTEAMLOGSharingLinkPolicy.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingChangeLinkPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue - previousValue:(DBTEAMLOGSharingLinkPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithSentTo:(NSString *)sentTo { + [DBStoneValidators nonnullValidator:nil](sentTo); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _sentTo = sentTo; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingLinkPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52206,10 +179718,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.sentTo hash]; return prime * result; } @@ -52223,22 +179732,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingChangeLinkPolicyDetails:other]; + return [self isEqualToTeamMergeRequestSentShownToSecondaryTeamDetails:other]; } -- (BOOL)isEqualToSharingChangeLinkPolicyDetails: - (DBTEAMLOGSharingChangeLinkPolicyDetails *)aSharingChangeLinkPolicyDetails { - if (self == aSharingChangeLinkPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestSentShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)aTeamMergeRequestSentShownToSecondaryTeamDetails { + if (self == aTeamMergeRequestSentShownToSecondaryTeamDetails) { return YES; } - if (![self.dNewValue isEqual:aSharingChangeLinkPolicyDetails.dNewValue]) { + if (![self.sentTo isEqual:aTeamMergeRequestSentShownToSecondaryTeamDetails.sentTo]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharingChangeLinkPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -52246,71 +179750,58 @@ - (BOOL)isEqualToSharingChangeLinkPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingChangeLinkPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharingLinkPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"sent_to"] = valueObj.sentTo; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSharingLinkPolicy *dNewValue = [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGSharingLinkPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGSharingLinkPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)valueDict { + NSString *sentTo = valueDict[@"sent_to"]; - return [[DBTEAMLOGSharingChangeLinkPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails alloc] initWithSentTo:sentTo]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" -#import "DBTEAMLOGSharingMemberPolicy.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingChangeMemberPolicyDetails +@implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingMemberPolicy *)dNewValue - previousValue:(DBTEAMLOGSharingMemberPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGSharingMemberPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52327,10 +179818,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -52344,22 +179832,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingChangeMemberPolicyDetails:other]; + return [self isEqualToTeamMergeRequestSentShownToSecondaryTeamType:other]; } -- (BOOL)isEqualToSharingChangeMemberPolicyDetails: - (DBTEAMLOGSharingChangeMemberPolicyDetails *)aSharingChangeMemberPolicyDetails { - if (self == aSharingChangeMemberPolicyDetails) { +- (BOOL)isEqualToTeamMergeRequestSentShownToSecondaryTeamType: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)aTeamMergeRequestSentShownToSecondaryTeamType { + if (self == aTeamMergeRequestSentShownToSecondaryTeamType) { return YES; } - if (![self.dNewValue isEqual:aSharingChangeMemberPolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamMergeRequestSentShownToSecondaryTeamType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSharingChangeMemberPolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -52367,108 +179850,58 @@ - (BOOL)isEqualToSharingChangeMemberPolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingChangeMemberPolicyDetailsSerializer +@implementation DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGSharingMemberPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSharingMemberPolicy *dNewValue = - [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGSharingMemberPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGSharingMemberPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSharingChangeMemberPolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingFolderJoinPolicy.h" +#import "DBTEAMLOGTeamMergeToDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingFolderJoinPolicy +@implementation DBTEAMLOGTeamMergeToDetails #pragma mark - Constructors -- (instancetype)initWithFromAnyone { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingFolderJoinPolicyFromAnyone; - } - return self; -} - -- (instancetype)initWithFromTeamOnly { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly; - } - return self; -} +- (instancetype)initWithTeamName:(NSString *)teamName { + [DBStoneValidators nonnullValidator:nil](teamName); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharingFolderJoinPolicyOther; + _teamName = teamName; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isFromAnyone { - return _tag == DBTEAMLOGSharingFolderJoinPolicyFromAnyone; -} - -- (BOOL)isFromTeamOnly { - return _tag == DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSharingFolderJoinPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: - return @"DBTEAMLOGSharingFolderJoinPolicyFromAnyone"; - case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: - return @"DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly"; - case DBTEAMLOGSharingFolderJoinPolicyOther: - return @"DBTEAMLOGSharingFolderJoinPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingFolderJoinPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeToDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingFolderJoinPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeToDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingFolderJoinPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeToDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52485,14 +179918,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingFolderJoinPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.teamName hash]; return prime * result; } @@ -52506,24 +179932,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingFolderJoinPolicy:other]; + return [self isEqualToTeamMergeToDetails:other]; } -- (BOOL)isEqualToSharingFolderJoinPolicy:(DBTEAMLOGSharingFolderJoinPolicy *)aSharingFolderJoinPolicy { - if (self == aSharingFolderJoinPolicy) { +- (BOOL)isEqualToTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)aTeamMergeToDetails { + if (self == aTeamMergeToDetails) { return YES; } - if (self.tag != aSharingFolderJoinPolicy.tag) { + if (![self.teamName isEqual:aTeamMergeToDetails.teamName]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharingFolderJoinPolicyFromAnyone: - return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; - case DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly: - return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; - case DBTEAMLOGSharingFolderJoinPolicyOther: - return [[self tagName] isEqual:[aSharingFolderJoinPolicy tagName]]; - } return YES; } @@ -52531,131 +179949,58 @@ - (BOOL)isEqualToSharingFolderJoinPolicy:(DBTEAMLOGSharingFolderJoinPolicy *)aSh #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingFolderJoinPolicySerializer +@implementation DBTEAMLOGTeamMergeToDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFromAnyone]) { - jsonDict[@".tag"] = @"from_anyone"; - } else if ([valueObj isFromTeamOnly]) { - jsonDict[@".tag"] = @"from_team_only"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"team_name"] = valueObj.teamName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)valueDict { + NSString *teamName = valueDict[@"team_name"]; - if ([tag isEqualToString:@"from_anyone"]) { - return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithFromAnyone]; - } else if ([tag isEqualToString:@"from_team_only"]) { - return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithFromTeamOnly]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharingFolderJoinPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeToDetails alloc] initWithTeamName:teamName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingLinkPolicy.h" +#import "DBTEAMLOGTeamMergeToType.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingLinkPolicy +@implementation DBTEAMLOGTeamMergeToType #pragma mark - Constructors -- (instancetype)initWithDefaultPrivate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingLinkPolicyDefaultPrivate; - } - return self; -} - -- (instancetype)initWithDefaultPublic { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingLinkPolicyDefaultPublic; - } - return self; -} - -- (instancetype)initWithOnlyPrivate { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingLinkPolicyOnlyPrivate; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharingLinkPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDefaultPrivate { - return _tag == DBTEAMLOGSharingLinkPolicyDefaultPrivate; -} - -- (BOOL)isDefaultPublic { - return _tag == DBTEAMLOGSharingLinkPolicyDefaultPublic; -} - -- (BOOL)isOnlyPrivate { - return _tag == DBTEAMLOGSharingLinkPolicyOnlyPrivate; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSharingLinkPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharingLinkPolicyDefaultPrivate: - return @"DBTEAMLOGSharingLinkPolicyDefaultPrivate"; - case DBTEAMLOGSharingLinkPolicyDefaultPublic: - return @"DBTEAMLOGSharingLinkPolicyDefaultPublic"; - case DBTEAMLOGSharingLinkPolicyOnlyPrivate: - return @"DBTEAMLOGSharingLinkPolicyOnlyPrivate"; - case DBTEAMLOGSharingLinkPolicyOther: - return @"DBTEAMLOGSharingLinkPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingLinkPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamMergeToTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingLinkPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamMergeToTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingLinkPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamMergeToTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52672,16 +180017,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharingLinkPolicyDefaultPrivate: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingLinkPolicyDefaultPublic: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingLinkPolicyOnlyPrivate: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingLinkPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -52695,26 +180031,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingLinkPolicy:other]; + return [self isEqualToTeamMergeToType:other]; } -- (BOOL)isEqualToSharingLinkPolicy:(DBTEAMLOGSharingLinkPolicy *)aSharingLinkPolicy { - if (self == aSharingLinkPolicy) { +- (BOOL)isEqualToTeamMergeToType:(DBTEAMLOGTeamMergeToType *)aTeamMergeToType { + if (self == aTeamMergeToType) { return YES; } - if (self.tag != aSharingLinkPolicy.tag) { + if (![self.description_ isEqual:aTeamMergeToType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharingLinkPolicyDefaultPrivate: - return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; - case DBTEAMLOGSharingLinkPolicyDefaultPublic: - return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; - case DBTEAMLOGSharingLinkPolicyOnlyPrivate: - return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; - case DBTEAMLOGSharingLinkPolicyOther: - return [[self tagName] isEqual:[aSharingLinkPolicy tagName]]; - } return YES; } @@ -52722,121 +180048,60 @@ - (BOOL)isEqualToSharingLinkPolicy:(DBTEAMLOGSharingLinkPolicy *)aSharingLinkPol #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingLinkPolicySerializer +@implementation DBTEAMLOGTeamMergeToTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeToType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDefaultPrivate]) { - jsonDict[@".tag"] = @"default_private"; - } else if ([valueObj isDefaultPublic]) { - jsonDict[@".tag"] = @"default_public"; - } else if ([valueObj isOnlyPrivate]) { - jsonDict[@".tag"] = @"only_private"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamMergeToType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"default_private"]) { - return [[DBTEAMLOGSharingLinkPolicy alloc] initWithDefaultPrivate]; - } else if ([tag isEqualToString:@"default_public"]) { - return [[DBTEAMLOGSharingLinkPolicy alloc] initWithDefaultPublic]; - } else if ([tag isEqualToString:@"only_private"]) { - return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOnlyPrivate]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharingLinkPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamMergeToType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSharingMemberPolicy.h" +#import "DBTEAMLOGTeamName.h" #pragma mark - API Object -@implementation DBTEAMLOGSharingMemberPolicy +@implementation DBTEAMLOGTeamName #pragma mark - Constructors -- (instancetype)initWithAllow { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingMemberPolicyAllow; - } - return self; -} - -- (instancetype)initWithForbid { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSharingMemberPolicyForbid; - } - return self; -} +- (instancetype)initWithTeamDisplayName:(NSString *)teamDisplayName teamLegalName:(NSString *)teamLegalName { + [DBStoneValidators nonnullValidator:nil](teamDisplayName); + [DBStoneValidators nonnullValidator:nil](teamLegalName); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSharingMemberPolicyOther; + _teamDisplayName = teamDisplayName; + _teamLegalName = teamLegalName; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isAllow { - return _tag == DBTEAMLOGSharingMemberPolicyAllow; -} - -- (BOOL)isForbid { - return _tag == DBTEAMLOGSharingMemberPolicyForbid; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSharingMemberPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSharingMemberPolicyAllow: - return @"DBTEAMLOGSharingMemberPolicyAllow"; - case DBTEAMLOGSharingMemberPolicyForbid: - return @"DBTEAMLOGSharingMemberPolicyForbid"; - case DBTEAMLOGSharingMemberPolicyOther: - return @"DBTEAMLOGSharingMemberPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSharingMemberPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamNameSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSharingMemberPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamNameSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSharingMemberPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamNameSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52853,14 +180118,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSharingMemberPolicyAllow: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingMemberPolicyForbid: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSharingMemberPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.teamDisplayName hash]; + result = prime * result + [self.teamLegalName hash]; return prime * result; } @@ -52874,23 +180133,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharingMemberPolicy:other]; + return [self isEqualToTeamName:other]; } -- (BOOL)isEqualToSharingMemberPolicy:(DBTEAMLOGSharingMemberPolicy *)aSharingMemberPolicy { - if (self == aSharingMemberPolicy) { +- (BOOL)isEqualToTeamName:(DBTEAMLOGTeamName *)aTeamName { + if (self == aTeamName) { return YES; } - if (self.tag != aSharingMemberPolicy.tag) { + if (![self.teamDisplayName isEqual:aTeamName.teamDisplayName]) { return NO; } - switch (_tag) { - case DBTEAMLOGSharingMemberPolicyAllow: - return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; - case DBTEAMLOGSharingMemberPolicyForbid: - return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; - case DBTEAMLOGSharingMemberPolicyOther: - return [[self tagName] isEqual:[aSharingMemberPolicy tagName]]; + if (![self.teamLegalName isEqual:aTeamName.teamLegalName]) { + return NO; } return YES; } @@ -52899,78 +180153,58 @@ - (BOOL)isEqualToSharingMemberPolicy:(DBTEAMLOGSharingMemberPolicy *)aSharingMem #pragma mark - Serializer Object -@implementation DBTEAMLOGSharingMemberPolicySerializer +@implementation DBTEAMLOGTeamNameSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamName *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAllow]) { - jsonDict[@".tag"] = @"allow"; - } else if ([valueObj isForbid]) { - jsonDict[@".tag"] = @"forbid"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"team_display_name"] = valueObj.teamDisplayName; + jsonDict[@"team_legal_name"] = valueObj.teamLegalName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)valueDict { + NSString *teamDisplayName = valueDict[@"team_display_name"]; + NSString *teamLegalName = valueDict[@"team_legal_name"]; - if ([tag isEqualToString:@"allow"]) { - return [[DBTEAMLOGSharingMemberPolicy alloc] initWithAllow]; - } else if ([tag isEqualToString:@"forbid"]) { - return [[DBTEAMLOGSharingMemberPolicy alloc] initWithForbid]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSharingMemberPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSharingMemberPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamName alloc] initWithTeamDisplayName:teamDisplayName teamLegalName:teamLegalName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelAppCreateDetails.h" +#import "DBTEAMLOGTeamProfileAddBackgroundDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelAppCreateDetails +@implementation DBTEAMLOGTeamProfileAddBackgroundDetails #pragma mark - Constructors -- (instancetype)initWithSharingPermission:(NSString *)sharingPermission tokenKey:(NSString *)tokenKey { +- (instancetype)initDefault { self = [super init]; if (self) { - _sharingPermission = sharingPermission; - _tokenKey = tokenKey; } return self; } -- (instancetype)initDefault { - return [self initWithSharingPermission:nil tokenKey:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelAppCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelAppCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelAppCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -52987,13 +180221,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } - if (self.tokenKey != nil) { - result = prime * result + [self.tokenKey hash]; - } - return prime * result; } @@ -53006,23 +180233,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelAppCreateDetails:other]; + return [self isEqualToTeamProfileAddBackgroundDetails:other]; } -- (BOOL)isEqualToShmodelAppCreateDetails:(DBTEAMLOGShmodelAppCreateDetails *)aShmodelAppCreateDetails { - if (self == aShmodelAppCreateDetails) { +- (BOOL)isEqualToTeamProfileAddBackgroundDetails: + (DBTEAMLOGTeamProfileAddBackgroundDetails *)aTeamProfileAddBackgroundDetails { + if (self == aTeamProfileAddBackgroundDetails) { return YES; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aShmodelAppCreateDetails.sharingPermission]) { - return NO; - } - } - if (self.tokenKey) { - if (![self.tokenKey isEqual:aShmodelAppCreateDetails.tokenKey]) { - return NO; - } - } return YES; } @@ -53030,68 +180248,57 @@ - (BOOL)isEqualToShmodelAppCreateDetails:(DBTEAMLOGShmodelAppCreateDetails *)aSh #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelAppCreateDetailsSerializer +@implementation DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelAppCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - if (valueObj.tokenKey) { - jsonDict[@"token_key"] = valueObj.tokenKey; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelAppCreateDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - NSString *tokenKey = valueDict[@"token_key"] ?: nil; ++ (DBTEAMLOGTeamProfileAddBackgroundDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGShmodelAppCreateDetails alloc] initWithSharingPermission:sharingPermission tokenKey:tokenKey]; + return [[DBTEAMLOGTeamProfileAddBackgroundDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelCreateDetails.h" +#import "DBTEAMLOGTeamProfileAddBackgroundType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelCreateDetails +@implementation DBTEAMLOGTeamProfileAddBackgroundType #pragma mark - Constructors -- (instancetype)initWithSharingPermission:(NSString *)sharingPermission tokenKey:(NSString *)tokenKey { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _sharingPermission = sharingPermission; - _tokenKey = tokenKey; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithSharingPermission:nil tokenKey:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileAddBackgroundTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileAddBackgroundTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileAddBackgroundTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53108,12 +180315,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } - if (self.tokenKey != nil) { - result = prime * result + [self.tokenKey hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -53127,22 +180329,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelCreateDetails:other]; + return [self isEqualToTeamProfileAddBackgroundType:other]; } -- (BOOL)isEqualToShmodelCreateDetails:(DBTEAMLOGShmodelCreateDetails *)aShmodelCreateDetails { - if (self == aShmodelCreateDetails) { +- (BOOL)isEqualToTeamProfileAddBackgroundType:(DBTEAMLOGTeamProfileAddBackgroundType *)aTeamProfileAddBackgroundType { + if (self == aTeamProfileAddBackgroundType) { return YES; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aShmodelCreateDetails.sharingPermission]) { - return NO; - } - } - if (self.tokenKey) { - if (![self.tokenKey isEqual:aShmodelCreateDetails.tokenKey]) { - return NO; - } + if (![self.description_ isEqual:aTeamProfileAddBackgroundType.description_]) { + return NO; } return YES; } @@ -53151,68 +180346,56 @@ - (BOOL)isEqualToShmodelCreateDetails:(DBTEAMLOGShmodelCreateDetails *)aShmodelC #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelCreateDetailsSerializer +@implementation DBTEAMLOGTeamProfileAddBackgroundTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - if (valueObj.tokenKey) { - jsonDict[@"token_key"] = valueObj.tokenKey; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelCreateDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - NSString *tokenKey = valueDict[@"token_key"] ?: nil; ++ (DBTEAMLOGTeamProfileAddBackgroundType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelCreateDetails alloc] initWithSharingPermission:sharingPermission tokenKey:tokenKey]; + return [[DBTEAMLOGTeamProfileAddBackgroundType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelDisableDetails.h" +#import "DBTEAMLOGTeamProfileAddLogoDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelDisableDetails +@implementation DBTEAMLOGTeamProfileAddLogoDetails #pragma mark - Constructors -- (instancetype)initWithSharingPermission:(NSString *)sharingPermission tokenKey:(NSString *)tokenKey { +- (instancetype)initDefault { self = [super init]; if (self) { - _sharingPermission = sharingPermission; - _tokenKey = tokenKey; } return self; } -- (instancetype)initDefault { - return [self initWithSharingPermission:nil tokenKey:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelDisableDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelDisableDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelDisableDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53229,13 +180412,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.sharingPermission != nil) { - result = prime * result + [self.sharingPermission hash]; - } - if (self.tokenKey != nil) { - result = prime * result + [self.tokenKey hash]; - } - return prime * result; } @@ -53248,23 +180424,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelDisableDetails:other]; + return [self isEqualToTeamProfileAddLogoDetails:other]; } -- (BOOL)isEqualToShmodelDisableDetails:(DBTEAMLOGShmodelDisableDetails *)aShmodelDisableDetails { - if (self == aShmodelDisableDetails) { +- (BOOL)isEqualToTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)aTeamProfileAddLogoDetails { + if (self == aTeamProfileAddLogoDetails) { return YES; } - if (self.sharingPermission) { - if (![self.sharingPermission isEqual:aShmodelDisableDetails.sharingPermission]) { - return NO; - } - } - if (self.tokenKey) { - if (![self.tokenKey isEqual:aShmodelDisableDetails.tokenKey]) { - return NO; - } - } return YES; } @@ -53272,69 +180438,57 @@ - (BOOL)isEqualToShmodelDisableDetails:(DBTEAMLOGShmodelDisableDetails *)aShmode #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelDisableDetailsSerializer +@implementation DBTEAMLOGTeamProfileAddLogoDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.sharingPermission) { - jsonDict[@"sharing_permission"] = valueObj.sharingPermission; - } - if (valueObj.tokenKey) { - jsonDict[@"token_key"] = valueObj.tokenKey; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelDisableDetails *)deserialize:(NSDictionary *)valueDict { - NSString *sharingPermission = valueDict[@"sharing_permission"] ?: nil; - NSString *tokenKey = valueDict[@"token_key"] ?: nil; ++ (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGShmodelDisableDetails alloc] initWithSharingPermission:sharingPermission tokenKey:tokenKey]; + return [[DBTEAMLOGTeamProfileAddLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGNonTeamMemberLogInfo.h" -#import "DBTEAMLOGShmodelFbShareDetails.h" +#import "DBTEAMLOGTeamProfileAddLogoType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelFbShareDetails +@implementation DBTEAMLOGTeamProfileAddLogoType #pragma mark - Constructors -- (instancetype)initWithSharingNonMemberRecipients: - (NSArray *)sharingNonMemberRecipients { - [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]]( - sharingNonMemberRecipients); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _sharingNonMemberRecipients = sharingNonMemberRecipients; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelFbShareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileAddLogoTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelFbShareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileAddLogoTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelFbShareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileAddLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53351,7 +180505,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.sharingNonMemberRecipients hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -53365,14 +180519,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelFbShareDetails:other]; + return [self isEqualToTeamProfileAddLogoType:other]; } -- (BOOL)isEqualToShmodelFbShareDetails:(DBTEAMLOGShmodelFbShareDetails *)aShmodelFbShareDetails { - if (self == aShmodelFbShareDetails) { +- (BOOL)isEqualToTeamProfileAddLogoType:(DBTEAMLOGTeamProfileAddLogoType *)aTeamProfileAddLogoType { + if (self == aTeamProfileAddLogoType) { return YES; } - if (![self.sharingNonMemberRecipients isEqual:aShmodelFbShareDetails.sharingNonMemberRecipients]) { + if (![self.description_ isEqual:aTeamProfileAddLogoType.description_]) { return NO; } return YES; @@ -53382,39 +180536,31 @@ - (BOOL)isEqualToShmodelFbShareDetails:(DBTEAMLOGShmodelFbShareDetails *)aShmode #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelFbShareDetailsSerializer +@implementation DBTEAMLOGTeamProfileAddLogoTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelFbShareDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"sharing_non_member_recipients"] = - [DBArraySerializer serialize:valueObj.sharingNonMemberRecipients - withBlock:^id(id elem0) { - return [DBTEAMLOGNonTeamMemberLogInfoSerializer serialize:elem0]; - }]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelFbShareDetails *)deserialize:(NSDictionary *)valueDict { - NSArray *sharingNonMemberRecipients = - [DBArraySerializer deserialize:valueDict[@"sharing_non_member_recipients"] - withBlock:^id(id elem0) { - return [DBTEAMLOGNonTeamMemberLogInfoSerializer deserialize:elem0]; - }]; ++ (DBTEAMLOGTeamProfileAddLogoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelFbShareDetails alloc] initWithSharingNonMemberRecipients:sharingNonMemberRecipients]; + return [[DBTEAMLOGTeamProfileAddLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelGroupShareDetails.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelGroupShareDetails +@implementation DBTEAMLOGTeamProfileChangeBackgroundDetails #pragma mark - Constructors @@ -53428,18 +180574,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelGroupShareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelGroupShareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53468,11 +180614,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelGroupShareDetails:other]; + return [self isEqualToTeamProfileChangeBackgroundDetails:other]; } -- (BOOL)isEqualToShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)aShmodelGroupShareDetails { - if (self == aShmodelGroupShareDetails) { +- (BOOL)isEqualToTeamProfileChangeBackgroundDetails: + (DBTEAMLOGTeamProfileChangeBackgroundDetails *)aTeamProfileChangeBackgroundDetails { + if (self == aTeamProfileChangeBackgroundDetails) { return YES; } return YES; @@ -53482,55 +180629,57 @@ - (BOOL)isEqualToShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelGroupShareDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamProfileChangeBackgroundDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGShmodelGroupShareDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileChangeBackgroundDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelRemoveExpirationDetails.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelRemoveExpirationDetails +@implementation DBTEAMLOGTeamProfileChangeBackgroundType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelRemoveExpirationDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelRemoveExpirationDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelRemoveExpirationDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53547,6 +180696,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -53559,14 +180710,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelRemoveExpirationDetails:other]; + return [self isEqualToTeamProfileChangeBackgroundType:other]; } -- (BOOL)isEqualToShmodelRemoveExpirationDetails: - (DBTEAMLOGShmodelRemoveExpirationDetails *)aShmodelRemoveExpirationDetails { - if (self == aShmodelRemoveExpirationDetails) { +- (BOOL)isEqualToTeamProfileChangeBackgroundType: + (DBTEAMLOGTeamProfileChangeBackgroundType *)aTeamProfileChangeBackgroundType { + if (self == aTeamProfileChangeBackgroundType) { return YES; } + if (![self.description_ isEqual:aTeamProfileChangeBackgroundType.description_]) { + return NO; + } return YES; } @@ -53574,59 +180728,61 @@ - (BOOL)isEqualToShmodelRemoveExpirationDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelRemoveExpirationDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelRemoveExpirationDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGShmodelRemoveExpirationDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamProfileChangeBackgroundType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelRemoveExpirationDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileChangeBackgroundType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelSetExpirationDetails.h" +#import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelSetExpirationDetails +@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetails #pragma mark - Constructors -- (instancetype)initWithExpirationStartDate:(NSString *)expirationStartDate expirationDays:(NSNumber *)expirationDays { - [DBStoneValidators nonnullValidator:nil](expirationStartDate); - [DBStoneValidators nonnullValidator:nil](expirationDays); +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { + [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(2) maxLength:nil pattern:nil]](dNewValue); + [DBStoneValidators + nonnullValidator:[DBStoneValidators stringValidator:@(2) maxLength:nil pattern:nil]](previousValue); self = [super init]; if (self) { - _expirationStartDate = expirationStartDate; - _expirationDays = expirationDays; + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelSetExpirationDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelSetExpirationDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelSetExpirationDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53643,8 +180799,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.expirationStartDate hash]; - result = prime * result + [self.expirationDays hash]; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -53658,17 +180814,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelSetExpirationDetails:other]; + return [self isEqualToTeamProfileChangeDefaultLanguageDetails:other]; } -- (BOOL)isEqualToShmodelSetExpirationDetails:(DBTEAMLOGShmodelSetExpirationDetails *)aShmodelSetExpirationDetails { - if (self == aShmodelSetExpirationDetails) { +- (BOOL)isEqualToTeamProfileChangeDefaultLanguageDetails: + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)aTeamProfileChangeDefaultLanguageDetails { + if (self == aTeamProfileChangeDefaultLanguageDetails) { return YES; } - if (![self.expirationStartDate isEqual:aShmodelSetExpirationDetails.expirationStartDate]) { + if (![self.dNewValue isEqual:aTeamProfileChangeDefaultLanguageDetails.dNewValue]) { return NO; } - if (![self.expirationDays isEqual:aShmodelSetExpirationDetails.expirationDays]) { + if (![self.previousValue isEqual:aTeamProfileChangeDefaultLanguageDetails.previousValue]) { return NO; } return YES; @@ -53678,59 +180835,61 @@ - (BOOL)isEqualToShmodelSetExpirationDetails:(DBTEAMLOGShmodelSetExpirationDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelSetExpirationDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelSetExpirationDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"expiration_start_date"] = valueObj.expirationStartDate; - jsonDict[@"expiration_days"] = valueObj.expirationDays; + jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"previous_value"] = valueObj.previousValue; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelSetExpirationDetails *)deserialize:(NSDictionary *)valueDict { - NSString *expirationStartDate = valueDict[@"expiration_start_date"]; - NSNumber *expirationDays = valueDict[@"expiration_days"]; ++ (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)valueDict { + NSString *dNewValue = valueDict[@"new_value"]; + NSString *previousValue = valueDict[@"previous_value"]; - return [[DBTEAMLOGShmodelSetExpirationDetails alloc] initWithExpirationStartDate:expirationStartDate - expirationDays:expirationDays]; + return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelTeamCopyDetails.h" +#import "DBTEAMLOGTeamProfileChangeDefaultLanguageType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelTeamCopyDetails +@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelTeamCopyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelTeamCopyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelTeamCopyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53747,6 +180906,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -53759,13 +180920,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelTeamCopyDetails:other]; + return [self isEqualToTeamProfileChangeDefaultLanguageType:other]; } -- (BOOL)isEqualToShmodelTeamCopyDetails:(DBTEAMLOGShmodelTeamCopyDetails *)aShmodelTeamCopyDetails { - if (self == aShmodelTeamCopyDetails) { +- (BOOL)isEqualToTeamProfileChangeDefaultLanguageType: + (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)aTeamProfileChangeDefaultLanguageType { + if (self == aTeamProfileChangeDefaultLanguageType) { return YES; } + if (![self.description_ isEqual:aTeamProfileChangeDefaultLanguageType.description_]) { + return NO; + } return YES; } @@ -53773,30 +180938,31 @@ - (BOOL)isEqualToShmodelTeamCopyDetails:(DBTEAMLOGShmodelTeamCopyDetails *)aShmo #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelTeamCopyDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelTeamCopyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGShmodelTeamCopyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelTeamCopyDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileChangeDefaultLanguageType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelTeamDownloadDetails.h" +#import "DBTEAMLOGTeamProfileChangeLogoDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelTeamDownloadDetails +@implementation DBTEAMLOGTeamProfileChangeLogoDetails #pragma mark - Constructors @@ -53810,18 +180976,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelTeamDownloadDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelTeamDownloadDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelTeamDownloadDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53850,11 +181016,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelTeamDownloadDetails:other]; + return [self isEqualToTeamProfileChangeLogoDetails:other]; } -- (BOOL)isEqualToShmodelTeamDownloadDetails:(DBTEAMLOGShmodelTeamDownloadDetails *)aShmodelTeamDownloadDetails { - if (self == aShmodelTeamDownloadDetails) { +- (BOOL)isEqualToTeamProfileChangeLogoDetails:(DBTEAMLOGTeamProfileChangeLogoDetails *)aTeamProfileChangeLogoDetails { + if (self == aTeamProfileChangeLogoDetails) { return YES; } return YES; @@ -53864,55 +181030,57 @@ - (BOOL)isEqualToShmodelTeamDownloadDetails:(DBTEAMLOGShmodelTeamDownloadDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelTeamDownloadDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeLogoDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelTeamDownloadDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelTeamDownloadDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGShmodelTeamDownloadDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileChangeLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelTeamShareDetails.h" +#import "DBTEAMLOGTeamProfileChangeLogoType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelTeamShareDetails +@implementation DBTEAMLOGTeamProfileChangeLogoType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelTeamShareDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeLogoTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelTeamShareDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeLogoTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelTeamShareDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -53929,6 +181097,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -53941,13 +181111,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelTeamShareDetails:other]; + return [self isEqualToTeamProfileChangeLogoType:other]; } -- (BOOL)isEqualToShmodelTeamShareDetails:(DBTEAMLOGShmodelTeamShareDetails *)aShmodelTeamShareDetails { - if (self == aShmodelTeamShareDetails) { +- (BOOL)isEqualToTeamProfileChangeLogoType:(DBTEAMLOGTeamProfileChangeLogoType *)aTeamProfileChangeLogoType { + if (self == aTeamProfileChangeLogoType) { return YES; } + if (![self.description_ isEqual:aTeamProfileChangeLogoType.description_]) { + return NO; + } return YES; } @@ -53955,55 +181128,64 @@ - (BOOL)isEqualToShmodelTeamShareDetails:(DBTEAMLOGShmodelTeamShareDetails *)aSh #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelTeamShareDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeLogoTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelTeamShareDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGShmodelTeamShareDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamProfileChangeLogoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelTeamShareDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileChangeLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelTeamViewDetails.h" +#import "DBTEAMLOGTeamName.h" +#import "DBTEAMLOGTeamProfileChangeNameDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelTeamViewDetails +@implementation DBTEAMLOGTeamProfileChangeNameDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue previousValue:(DBTEAMLOGTeamName *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelTeamViewDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelTeamViewDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeNameDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelTeamViewDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54020,6 +181202,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + return prime * result; } @@ -54032,13 +181219,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelTeamViewDetails:other]; + return [self isEqualToTeamProfileChangeNameDetails:other]; } -- (BOOL)isEqualToShmodelTeamViewDetails:(DBTEAMLOGShmodelTeamViewDetails *)aShmodelTeamViewDetails { - if (self == aShmodelTeamViewDetails) { +- (BOOL)isEqualToTeamProfileChangeNameDetails:(DBTEAMLOGTeamProfileChangeNameDetails *)aTeamProfileChangeNameDetails { + if (self == aTeamProfileChangeNameDetails) { return YES; } + if (![self.dNewValue isEqual:aTeamProfileChangeNameDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aTeamProfileChangeNameDetails.previousValue]) { + return NO; + } + } return YES; } @@ -54046,30 +181241,135 @@ - (BOOL)isEqualToShmodelTeamViewDetails:(DBTEAMLOGShmodelTeamViewDetails *)aShmo #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelTeamViewDetailsSerializer +@implementation DBTEAMLOGTeamProfileChangeNameDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelTeamViewDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGTeamNameSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGTeamNameSerializer serialize:valueObj.previousValue]; + } + + return jsonDict; } -+ (DBTEAMLOGShmodelTeamViewDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamName *dNewValue = [DBTEAMLOGTeamNameSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTeamName *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGTeamNameSerializer deserialize:valueDict[@"previous_value"]] : nil; + + return [[DBTEAMLOGTeamProfileChangeNameDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTeamProfileChangeNameType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGTeamProfileChangeNameType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileChangeNameTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileChangeNameTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileChangeNameTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} - return [[DBTEAMLOGShmodelTeamViewDetails alloc] initDefault]; +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamProfileChangeNameType:other]; +} + +- (BOOL)isEqualToTeamProfileChangeNameType:(DBTEAMLOGTeamProfileChangeNameType *)aTeamProfileChangeNameType { + if (self == aTeamProfileChangeNameType) { + return YES; + } + if (![self.description_ isEqual:aTeamProfileChangeNameType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGTeamProfileChangeNameTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGTeamProfileChangeNameType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGTeamProfileChangeNameType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelVisibilityPasswordDetails.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelVisibilityPasswordDetails +@implementation DBTEAMLOGTeamProfileRemoveBackgroundDetails #pragma mark - Constructors @@ -54083,18 +181383,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54123,12 +181423,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelVisibilityPasswordDetails:other]; + return [self isEqualToTeamProfileRemoveBackgroundDetails:other]; } -- (BOOL)isEqualToShmodelVisibilityPasswordDetails: - (DBTEAMLOGShmodelVisibilityPasswordDetails *)aShmodelVisibilityPasswordDetails { - if (self == aShmodelVisibilityPasswordDetails) { +- (BOOL)isEqualToTeamProfileRemoveBackgroundDetails: + (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)aTeamProfileRemoveBackgroundDetails { + if (self == aTeamProfileRemoveBackgroundDetails) { return YES; } return YES; @@ -54138,30 +181438,130 @@ - (BOOL)isEqualToShmodelVisibilityPasswordDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer +@implementation DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityPasswordDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveBackgroundDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelVisibilityPasswordDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGShmodelVisibilityPasswordDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileRemoveBackgroundDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGTeamProfileRemoveBackgroundType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTeamProfileRemoveBackgroundType:other]; +} + +- (BOOL)isEqualToTeamProfileRemoveBackgroundType: + (DBTEAMLOGTeamProfileRemoveBackgroundType *)aTeamProfileRemoveBackgroundType { + if (self == aTeamProfileRemoveBackgroundType) { + return YES; + } + if (![self.description_ isEqual:aTeamProfileRemoveBackgroundType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveBackgroundType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGTeamProfileRemoveBackgroundType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGTeamProfileRemoveBackgroundType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelVisibilityPublicDetails.h" +#import "DBTEAMLOGTeamProfileRemoveLogoDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelVisibilityPublicDetails +@implementation DBTEAMLOGTeamProfileRemoveLogoDetails #pragma mark - Constructors @@ -54175,18 +181575,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelVisibilityPublicDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelVisibilityPublicDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelVisibilityPublicDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54215,12 +181615,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelVisibilityPublicDetails:other]; + return [self isEqualToTeamProfileRemoveLogoDetails:other]; } -- (BOOL)isEqualToShmodelVisibilityPublicDetails: - (DBTEAMLOGShmodelVisibilityPublicDetails *)aShmodelVisibilityPublicDetails { - if (self == aShmodelVisibilityPublicDetails) { +- (BOOL)isEqualToTeamProfileRemoveLogoDetails:(DBTEAMLOGTeamProfileRemoveLogoDetails *)aTeamProfileRemoveLogoDetails { + if (self == aTeamProfileRemoveLogoDetails) { return YES; } return YES; @@ -54230,55 +181629,57 @@ - (BOOL)isEqualToShmodelVisibilityPublicDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelVisibilityPublicDetailsSerializer +@implementation DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityPublicDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGShmodelVisibilityPublicDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGShmodelVisibilityPublicDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileRemoveLogoDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h" +#import "DBTEAMLOGTeamProfileRemoveLogoType.h" #pragma mark - API Object -@implementation DBTEAMLOGShmodelVisibilityTeamOnlyDetails +@implementation DBTEAMLOGTeamProfileRemoveLogoType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamProfileRemoveLogoTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamProfileRemoveLogoTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamProfileRemoveLogoTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54295,6 +181696,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -54307,14 +181710,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToShmodelVisibilityTeamOnlyDetails:other]; + return [self isEqualToTeamProfileRemoveLogoType:other]; } -- (BOOL)isEqualToShmodelVisibilityTeamOnlyDetails: - (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)aShmodelVisibilityTeamOnlyDetails { - if (self == aShmodelVisibilityTeamOnlyDetails) { +- (BOOL)isEqualToTeamProfileRemoveLogoType:(DBTEAMLOGTeamProfileRemoveLogoType *)aTeamProfileRemoveLogoType { + if (self == aTeamProfileRemoveLogoType) { return YES; } + if (![self.description_ isEqual:aTeamProfileRemoveLogoType.description_]) { + return NO; + } return YES; } @@ -54322,55 +181727,101 @@ - (BOOL)isEqualToShmodelVisibilityTeamOnlyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer +@implementation DBTEAMLOGTeamProfileRemoveLogoTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamProfileRemoveLogoType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGShmodelVisibilityTeamOnlyDetails alloc] initDefault]; + return [[DBTEAMLOGTeamProfileRemoveLogoType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSignInAsSessionEndDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGSignInAsSessionEndDetails +@implementation DBTEAMLOGTeamSelectiveSyncPolicy #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamSelectiveSyncPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTeamSelectiveSyncPolicyEnabled; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { + _tag = DBTEAMLOGTeamSelectiveSyncPolicyOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGTeamSelectiveSyncPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGTeamSelectiveSyncPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTeamSelectiveSyncPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTeamSelectiveSyncPolicyDisabled: + return @"DBTEAMLOGTeamSelectiveSyncPolicyDisabled"; + case DBTEAMLOGTeamSelectiveSyncPolicyEnabled: + return @"DBTEAMLOGTeamSelectiveSyncPolicyEnabled"; + case DBTEAMLOGTeamSelectiveSyncPolicyOther: + return @"DBTEAMLOGTeamSelectiveSyncPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSignInAsSessionEndDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSignInAsSessionEndDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54387,6 +181838,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGTeamSelectiveSyncPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamSelectiveSyncPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTeamSelectiveSyncPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + return prime * result; } @@ -54399,13 +181862,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSignInAsSessionEndDetails:other]; + return [self isEqualToTeamSelectiveSyncPolicy:other]; } -- (BOOL)isEqualToSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)aSignInAsSessionEndDetails { - if (self == aSignInAsSessionEndDetails) { +- (BOOL)isEqualToTeamSelectiveSyncPolicy:(DBTEAMLOGTeamSelectiveSyncPolicy *)aTeamSelectiveSyncPolicy { + if (self == aTeamSelectiveSyncPolicy) { return YES; } + if (self.tag != aTeamSelectiveSyncPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGTeamSelectiveSyncPolicyDisabled: + return [[self tagName] isEqual:[aTeamSelectiveSyncPolicy tagName]]; + case DBTEAMLOGTeamSelectiveSyncPolicyEnabled: + return [[self tagName] isEqual:[aTeamSelectiveSyncPolicy tagName]]; + case DBTEAMLOGTeamSelectiveSyncPolicyOther: + return [[self tagName] isEqual:[aTeamSelectiveSyncPolicy tagName]]; + } return YES; } @@ -54413,55 +181887,78 @@ - (BOOL)isEqualToSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGSignInAsSessionEndDetailsSerializer +@implementation DBTEAMLOGTeamSelectiveSyncPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; } -+ (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamSelectiveSyncPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSignInAsSessionEndDetails alloc] initDefault]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGTeamSelectiveSyncPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGTeamSelectiveSyncPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTeamSelectiveSyncPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGTeamSelectiveSyncPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSignInAsSessionStartDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicy.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSignInAsSessionStartDetails +@implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamSelectiveSyncPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamSelectiveSyncPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSignInAsSessionStartDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSignInAsSessionStartDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54478,6 +181975,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; + return prime * result; } @@ -54490,13 +181990,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSignInAsSessionStartDetails:other]; + return [self isEqualToTeamSelectiveSyncPolicyChangedDetails:other]; } -- (BOOL)isEqualToSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetails *)aSignInAsSessionStartDetails { - if (self == aSignInAsSessionStartDetails) { +- (BOOL)isEqualToTeamSelectiveSyncPolicyChangedDetails: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)aTeamSelectiveSyncPolicyChangedDetails { + if (self == aTeamSelectiveSyncPolicyChangedDetails) { return YES; } + if (![self.dNewValue isEqual:aTeamSelectiveSyncPolicyChangedDetails.dNewValue]) { + return NO; + } + if (![self.previousValue isEqual:aTeamSelectiveSyncPolicyChangedDetails.previousValue]) { + return NO; + } return YES; } @@ -54504,64 +182011,63 @@ - (BOOL)isEqualToSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGSignInAsSessionStartDetailsSerializer +@implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGTeamSelectiveSyncPolicySerializer serialize:valueObj.previousValue]; + + return jsonDict; } -+ (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTeamSelectiveSyncPolicy *dNewValue = + [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTeamSelectiveSyncPolicy *previousValue = + [DBTEAMLOGTeamSelectiveSyncPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGSignInAsSessionStartDetails alloc] initDefault]; + return + [[DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSmartSyncChangePolicyDetails.h" -#import "DBTEAMPOLICIESSmartSyncPolicy.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGSmartSyncChangePolicyDetails +@implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue - previousValue:(DBTEAMPOLICIESSmartSyncPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSmartSyncChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSmartSyncChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54578,10 +182084,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -54595,21 +182098,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncChangePolicyDetails:other]; + return [self isEqualToTeamSelectiveSyncPolicyChangedType:other]; } -- (BOOL)isEqualToSmartSyncChangePolicyDetails:(DBTEAMLOGSmartSyncChangePolicyDetails *)aSmartSyncChangePolicyDetails { - if (self == aSmartSyncChangePolicyDetails) { +- (BOOL)isEqualToTeamSelectiveSyncPolicyChangedType: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)aTeamSelectiveSyncPolicyChangedType { + if (self == aTeamSelectiveSyncPolicyChangedType) { return YES; } - if (![self.dNewValue isEqual:aSmartSyncChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamSelectiveSyncPolicyChangedType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSmartSyncChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -54617,63 +182116,61 @@ - (BOOL)isEqualToSmartSyncChangePolicyDetails:(DBTEAMLOGSmartSyncChangePolicyDet #pragma mark - Serializer Object -@implementation DBTEAMLOGSmartSyncChangePolicyDetailsSerializer +@implementation DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESSmartSyncPolicy *dNewValue = - [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESSmartSyncPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSmartSyncChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTeamSelectiveSyncPolicyChangedType alloc] initWithDescription_:description_]; } @end +#import "DBFILESSyncSetting.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails +@implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithPreviousValue:(DBFILESSyncSetting *)previousValue dNewValue:(DBFILESSyncSetting *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54690,6 +182187,9 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + return prime * result; } @@ -54702,14 +182202,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncCreateAdminPrivilegeReportDetails:other]; + return [self isEqualToTeamSelectiveSyncSettingsChangedDetails:other]; } -- (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportDetails: - (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)aSmartSyncCreateAdminPrivilegeReportDetails { - if (self == aSmartSyncCreateAdminPrivilegeReportDetails) { +- (BOOL)isEqualToTeamSelectiveSyncSettingsChangedDetails: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)aTeamSelectiveSyncSettingsChangedDetails { + if (self == aTeamSelectiveSyncSettingsChangedDetails) { return YES; } + if (![self.previousValue isEqual:aTeamSelectiveSyncSettingsChangedDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aTeamSelectiveSyncSettingsChangedDetails.dNewValue]) { + return NO; + } return YES; } @@ -54717,61 +182223,61 @@ - (BOOL)isEqualToSmartSyncCreateAdminPrivilegeReportDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetailsSerializer +@implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"previous_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBFILESSyncSettingSerializer serialize:valueObj.dNewValue]; + + return jsonDict; } -+ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBFILESSyncSetting *previousValue = [DBFILESSyncSettingSerializer deserialize:valueDict[@"previous_value"]]; + DBFILESSyncSetting *dNewValue = [DBFILESSyncSettingSerializer deserialize:valueDict[@"new_value"]]; - return [[DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails alloc] initDefault]; + return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSmartSyncNotOptOutDetails.h" -#import "DBTEAMLOGSmartSyncOptOutPolicy.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGSmartSyncNotOptOutDetails +@implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedType #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue - dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSmartSyncNotOptOutDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSmartSyncNotOptOutDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54788,8 +182294,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -54803,17 +182308,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncNotOptOutDetails:other]; + return [self isEqualToTeamSelectiveSyncSettingsChangedType:other]; } -- (BOOL)isEqualToSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)aSmartSyncNotOptOutDetails { - if (self == aSmartSyncNotOptOutDetails) { +- (BOOL)isEqualToTeamSelectiveSyncSettingsChangedType: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)aTeamSelectiveSyncSettingsChangedType { + if (self == aTeamSelectiveSyncSettingsChangedType) { return YES; } - if (![self.previousValue isEqual:aSmartSyncNotOptOutDetails.previousValue]) { - return NO; - } - if (![self.dNewValue isEqual:aSmartSyncNotOptOutDetails.dNewValue]) { + if (![self.description_ isEqual:aTeamSelectiveSyncSettingsChangedType.description_]) { return NO; } return YES; @@ -54823,66 +182326,67 @@ - (BOOL)isEqualToSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGSmartSyncNotOptOutDetailsSerializer +@implementation DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; - jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSmartSyncOptOutPolicy *previousValue = - [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; - DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = - [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; ++ (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSmartSyncNotOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGTeamSelectiveSyncSettingsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSmartSyncOptOutDetails.h" -#import "DBTEAMLOGSmartSyncOptOutPolicy.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSmartSyncOptOutDetails +@implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(DBTEAMLOGSmartSyncOptOutPolicy *)previousValue - dNewValue:(DBTEAMLOGSmartSyncOptOutPolicy *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithAddedWhitelistSubjects:(NSArray *)addedWhitelistSubjects + removedWhitelistSubjects:(NSArray *)removedWhitelistSubjects { + [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]]( + addedWhitelistSubjects); + [DBStoneValidators nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]]( + removedWhitelistSubjects); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _addedWhitelistSubjects = addedWhitelistSubjects; + _removedWhitelistSubjects = removedWhitelistSubjects; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSmartSyncOptOutDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSmartSyncOptOutDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -54899,8 +182403,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.addedWhitelistSubjects hash]; + result = prime * result + [self.removedWhitelistSubjects hash]; return prime * result; } @@ -54914,17 +182418,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncOptOutDetails:other]; + return [self isEqualToTeamSharingWhitelistSubjectsChangedDetails:other]; } -- (BOOL)isEqualToSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)aSmartSyncOptOutDetails { - if (self == aSmartSyncOptOutDetails) { +- (BOOL)isEqualToTeamSharingWhitelistSubjectsChangedDetails: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)aTeamSharingWhitelistSubjectsChangedDetails { + if (self == aTeamSharingWhitelistSubjectsChangedDetails) { return YES; } - if (![self.previousValue isEqual:aSmartSyncOptOutDetails.previousValue]) { + if (![self.addedWhitelistSubjects isEqual:aTeamSharingWhitelistSubjectsChangedDetails.addedWhitelistSubjects]) { return NO; } - if (![self.dNewValue isEqual:aSmartSyncOptOutDetails.dNewValue]) { + if (![self.removedWhitelistSubjects isEqual:aTeamSharingWhitelistSubjectsChangedDetails.removedWhitelistSubjects]) { return NO; } return YES; @@ -54934,105 +182439,75 @@ - (BOOL)isEqualToSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)aSmar #pragma mark - Serializer Object -@implementation DBTEAMLOGSmartSyncOptOutDetailsSerializer +@implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.previousValue]; - jsonDict[@"new_value"] = [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:valueObj.dNewValue]; - - return [jsonDict count] > 0 ? jsonDict : nil; -} - -+ (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGSmartSyncOptOutPolicy *previousValue = - [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"previous_value"]]; - DBTEAMLOGSmartSyncOptOutPolicy *dNewValue = - [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:valueDict[@"new_value"]]; + jsonDict[@"added_whitelist_subjects"] = [DBArraySerializer serialize:valueObj.addedWhitelistSubjects + withBlock:^id(id elem0) { + return elem0; + }]; + jsonDict[@"removed_whitelist_subjects"] = [DBArraySerializer serialize:valueObj.removedWhitelistSubjects + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; +} + ++ (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *addedWhitelistSubjects = [DBArraySerializer deserialize:valueDict[@"added_whitelist_subjects"] + withBlock:^id(id elem0) { + return elem0; + }]; + NSArray *removedWhitelistSubjects = + [DBArraySerializer deserialize:valueDict[@"removed_whitelist_subjects"] + withBlock:^id(id elem0) { + return elem0; + }]; - return [[DBTEAMLOGSmartSyncOptOutDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails alloc] + initWithAddedWhitelistSubjects:addedWhitelistSubjects + removedWhitelistSubjects:removedWhitelistSubjects]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSmartSyncOptOutPolicy.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGSmartSyncOptOutPolicy +@implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedType #pragma mark - Constructors -- (instancetype)initWithDefault_ { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSmartSyncOptOutPolicyDefault_; - } - return self; -} - -- (instancetype)initWithOptedOut { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSmartSyncOptOutPolicyOptedOut; - } - return self; -} +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGSmartSyncOptOutPolicyOther; + _description_ = description_; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDefault_ { - return _tag == DBTEAMLOGSmartSyncOptOutPolicyDefault_; -} - -- (BOOL)isOptedOut { - return _tag == DBTEAMLOGSmartSyncOptOutPolicyOptedOut; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGSmartSyncOptOutPolicyOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSmartSyncOptOutPolicyDefault_: - return @"DBTEAMLOGSmartSyncOptOutPolicyDefault_"; - case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: - return @"DBTEAMLOGSmartSyncOptOutPolicyOptedOut"; - case DBTEAMLOGSmartSyncOptOutPolicyOther: - return @"DBTEAMLOGSmartSyncOptOutPolicyOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSmartSyncOptOutPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSmartSyncOptOutPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55049,14 +182524,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSmartSyncOptOutPolicyDefault_: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSmartSyncOptOutPolicyOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -55070,24 +182538,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncOptOutPolicy:other]; + return [self isEqualToTeamSharingWhitelistSubjectsChangedType:other]; } -- (BOOL)isEqualToSmartSyncOptOutPolicy:(DBTEAMLOGSmartSyncOptOutPolicy *)aSmartSyncOptOutPolicy { - if (self == aSmartSyncOptOutPolicy) { +- (BOOL)isEqualToTeamSharingWhitelistSubjectsChangedType: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)aTeamSharingWhitelistSubjectsChangedType { + if (self == aTeamSharingWhitelistSubjectsChangedType) { return YES; } - if (self.tag != aSmartSyncOptOutPolicy.tag) { + if (![self.description_ isEqual:aTeamSharingWhitelistSubjectsChangedType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSmartSyncOptOutPolicyDefault_: - return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; - case DBTEAMLOGSmartSyncOptOutPolicyOptedOut: - return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; - case DBTEAMLOGSmartSyncOptOutPolicyOther: - return [[self tagName] isEqual:[aSmartSyncOptOutPolicy tagName]]; - } return YES; } @@ -55095,131 +182556,149 @@ - (BOOL)isEqualToSmartSyncOptOutPolicy:(DBTEAMLOGSmartSyncOptOutPolicy *)aSmartS #pragma mark - Serializer Object -@implementation DBTEAMLOGSmartSyncOptOutPolicySerializer +@implementation DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDefault_]) { - jsonDict[@".tag"] = @"default"; - } else if ([valueObj isOptedOut]) { - jsonDict[@".tag"] = @"opted_out"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"default"]) { - return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithDefault_]; - } else if ([tag isEqualToString:@"opted_out"]) { - return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOptedOut]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOther]; - } else { - return [[DBTEAMLOGSmartSyncOptOutPolicy alloc] initWithOther]; - } + return [[DBTEAMLOGTeamSharingWhitelistSubjectsChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSpaceLimitsStatus.h" +#import "DBTEAMLOGTfaAddBackupPhoneDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSpaceLimitsStatus +@implementation DBTEAMLOGTfaAddBackupPhoneDetails #pragma mark - Constructors -- (instancetype)initWithWithinQuota { +- (instancetype)initDefault { + self = [super init]; if (self) { - _tag = DBTEAMLOGSpaceLimitsStatusWithinQuota; } return self; } -- (instancetype)initWithNearQuota { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSpaceLimitsStatusNearQuota; - } - return self; +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:instance]; } -- (instancetype)initWithOverQuota { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSpaceLimitsStatusOverQuota; - } - return self; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer deserialize:dict]; } -- (instancetype)initWithOther { - self = [super init]; - if (self) { - _tag = DBTEAMLOGSpaceLimitsStatusOther; - } +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable return self; } -#pragma mark - Instance field accessors +#pragma mark - Hash method -#pragma mark - Tag state methods +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; -- (BOOL)isWithinQuota { - return _tag == DBTEAMLOGSpaceLimitsStatusWithinQuota; + return prime * result; } -- (BOOL)isNearQuota { - return _tag == DBTEAMLOGSpaceLimitsStatusNearQuota; +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTfaAddBackupPhoneDetails:other]; } -- (BOOL)isOverQuota { - return _tag == DBTEAMLOGSpaceLimitsStatusOverQuota; +- (BOOL)isEqualToTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)aTfaAddBackupPhoneDetails { + if (self == aTfaAddBackupPhoneDetails) { + return YES; + } + return YES; } -- (BOOL)isOther { - return _tag == DBTEAMLOGSpaceLimitsStatusOther; +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGTfaAddBackupPhoneDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)valueObj { +#pragma unused(valueObj) + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + return jsonDict; } -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGSpaceLimitsStatusWithinQuota: - return @"DBTEAMLOGSpaceLimitsStatusWithinQuota"; - case DBTEAMLOGSpaceLimitsStatusNearQuota: - return @"DBTEAMLOGSpaceLimitsStatusNearQuota"; - case DBTEAMLOGSpaceLimitsStatusOverQuota: - return @"DBTEAMLOGSpaceLimitsStatusOverQuota"; - case DBTEAMLOGSpaceLimitsStatusOther: - return @"DBTEAMLOGSpaceLimitsStatusOther"; - } ++ (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); + return [[DBTEAMLOGTfaAddBackupPhoneDetails alloc] initDefault]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGTfaAddBackupPhoneType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGTfaAddBackupPhoneType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSpaceLimitsStatusSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddBackupPhoneTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSpaceLimitsStatusSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddBackupPhoneTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSpaceLimitsStatusSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55236,16 +182715,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGSpaceLimitsStatusWithinQuota: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSpaceLimitsStatusNearQuota: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSpaceLimitsStatusOverQuota: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGSpaceLimitsStatusOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -55259,26 +182729,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSpaceLimitsStatus:other]; + return [self isEqualToTfaAddBackupPhoneType:other]; } -- (BOOL)isEqualToSpaceLimitsStatus:(DBTEAMLOGSpaceLimitsStatus *)aSpaceLimitsStatus { - if (self == aSpaceLimitsStatus) { +- (BOOL)isEqualToTfaAddBackupPhoneType:(DBTEAMLOGTfaAddBackupPhoneType *)aTfaAddBackupPhoneType { + if (self == aTfaAddBackupPhoneType) { return YES; } - if (self.tag != aSpaceLimitsStatus.tag) { + if (![self.description_ isEqual:aTfaAddBackupPhoneType.description_]) { return NO; } - switch (_tag) { - case DBTEAMLOGSpaceLimitsStatusWithinQuota: - return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; - case DBTEAMLOGSpaceLimitsStatusNearQuota: - return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; - case DBTEAMLOGSpaceLimitsStatusOverQuota: - return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; - case DBTEAMLOGSpaceLimitsStatusOther: - return [[self tagName] isEqual:[aSpaceLimitsStatus tagName]]; - } return YES; } @@ -55286,79 +182746,56 @@ - (BOOL)isEqualToSpaceLimitsStatus:(DBTEAMLOGSpaceLimitsStatus *)aSpaceLimitsSta #pragma mark - Serializer Object -@implementation DBTEAMLOGSpaceLimitsStatusSerializer +@implementation DBTEAMLOGTfaAddBackupPhoneTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isWithinQuota]) { - jsonDict[@".tag"] = @"within_quota"; - } else if ([valueObj isNearQuota]) { - jsonDict[@".tag"] = @"near_quota"; - } else if ([valueObj isOverQuota]) { - jsonDict[@".tag"] = @"over_quota"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGTfaAddBackupPhoneType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - if ([tag isEqualToString:@"within_quota"]) { - return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithWithinQuota]; - } else if ([tag isEqualToString:@"near_quota"]) { - return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithNearQuota]; - } else if ([tag isEqualToString:@"over_quota"]) { - return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOverQuota]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOther]; - } else { - return [[DBTEAMLOGSpaceLimitsStatus alloc] initWithOther]; - } + return [[DBTEAMLOGTfaAddBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGCertificate.h" -#import "DBTEAMLOGSsoAddCertDetails.h" +#import "DBTEAMLOGTfaAddExceptionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoAddCertDetails +@implementation DBTEAMLOGTfaAddExceptionDetails #pragma mark - Constructors -- (instancetype)initWithCertificateDetails:(DBTEAMLOGCertificate *)certificateDetails { - [DBStoneValidators nonnullValidator:nil](certificateDetails); +- (instancetype)initDefault { self = [super init]; if (self) { - _certificateDetails = certificateDetails; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoAddCertDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddExceptionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoAddCertDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddExceptionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoAddCertDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddExceptionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55375,8 +182812,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.certificateDetails hash]; - return prime * result; } @@ -55389,16 +182824,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoAddCertDetails:other]; + return [self isEqualToTfaAddExceptionDetails:other]; } -- (BOOL)isEqualToSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)aSsoAddCertDetails { - if (self == aSsoAddCertDetails) { +- (BOOL)isEqualToTfaAddExceptionDetails:(DBTEAMLOGTfaAddExceptionDetails *)aTfaAddExceptionDetails { + if (self == aTfaAddExceptionDetails) { return YES; } - if (![self.certificateDetails isEqual:aSsoAddCertDetails.certificateDetails]) { - return NO; - } return YES; } @@ -55406,59 +182838,57 @@ - (BOOL)isEqualToSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)aSsoAddCertDeta #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoAddCertDetailsSerializer +@implementation DBTEAMLOGTfaAddExceptionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.certificateDetails]; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGCertificate *certificateDetails = - [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"certificate_details"]]; ++ (DBTEAMLOGTfaAddExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGSsoAddCertDetails alloc] initWithCertificateDetails:certificateDetails]; + return [[DBTEAMLOGTfaAddExceptionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoAddLoginUrlDetails.h" +#import "DBTEAMLOGTfaAddExceptionType.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoAddLoginUrlDetails +@implementation DBTEAMLOGTfaAddExceptionType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddExceptionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoAddLoginUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddExceptionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoAddLoginUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddExceptionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55475,7 +182905,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -55489,14 +182919,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoAddLoginUrlDetails:other]; + return [self isEqualToTfaAddExceptionType:other]; } -- (BOOL)isEqualToSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)aSsoAddLoginUrlDetails { - if (self == aSsoAddLoginUrlDetails) { +- (BOOL)isEqualToTfaAddExceptionType:(DBTEAMLOGTfaAddExceptionType *)aTfaAddExceptionType { + if (self == aTfaAddExceptionType) { return YES; } - if (![self.dNewValue isEqual:aSsoAddLoginUrlDetails.dNewValue]) { + if (![self.description_ isEqual:aTfaAddExceptionType.description_]) { return NO; } return YES; @@ -55506,61 +182936,56 @@ - (BOOL)isEqualToSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)aSsoAdd #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoAddLoginUrlDetailsSerializer +@implementation DBTEAMLOGTfaAddExceptionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"]; ++ (DBTEAMLOGTfaAddExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSsoAddLoginUrlDetails alloc] initWithDNewValue:dNewValue]; + return [[DBTEAMLOGTfaAddExceptionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoAddLogoutUrlDetails.h" +#import "DBTEAMLOGTfaAddSecurityKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoAddLogoutUrlDetails +@implementation DBTEAMLOGTfaAddSecurityKeyDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue { +- (instancetype)initDefault { self = [super init]; if (self) { - _dNewValue = dNewValue; } return self; } -- (instancetype)initDefault { - return [self initWithDNewValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoAddLogoutUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoAddLogoutUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55577,10 +183002,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } - return prime * result; } @@ -55593,18 +183014,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoAddLogoutUrlDetails:other]; + return [self isEqualToTfaAddSecurityKeyDetails:other]; } -- (BOOL)isEqualToSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)aSsoAddLogoutUrlDetails { - if (self == aSsoAddLogoutUrlDetails) { +- (BOOL)isEqualToTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)aTfaAddSecurityKeyDetails { + if (self == aTfaAddSecurityKeyDetails) { return YES; } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aSsoAddLogoutUrlDetails.dNewValue]) { - return NO; - } - } return YES; } @@ -55612,67 +183028,57 @@ - (BOOL)isEqualToSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)aSsoA #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoAddLogoutUrlDetailsSerializer +@implementation DBTEAMLOGTfaAddSecurityKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = valueObj.dNewValue; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"] ?: nil; ++ (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGSsoAddLogoutUrlDetails alloc] initWithDNewValue:dNewValue]; + return [[DBTEAMLOGTfaAddSecurityKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGCertificate.h" -#import "DBTEAMLOGSsoChangeCertDetails.h" +#import "DBTEAMLOGTfaAddSecurityKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoChangeCertDetails +@implementation DBTEAMLOGTfaAddSecurityKeyType #pragma mark - Constructors -- (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails - previousCertificateDetails:(DBTEAMLOGCertificate *)previousCertificateDetails { - [DBStoneValidators nonnullValidator:nil](dNewCertificateDetails); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousCertificateDetails = previousCertificateDetails; - _dNewCertificateDetails = dNewCertificateDetails; + _description_ = description_; } return self; } -- (instancetype)initWithDNewCertificateDetails:(DBTEAMLOGCertificate *)dNewCertificateDetails { - return [self initWithDNewCertificateDetails:dNewCertificateDetails previousCertificateDetails:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoChangeCertDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaAddSecurityKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoChangeCertDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaAddSecurityKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoChangeCertDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaAddSecurityKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55689,10 +183095,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewCertificateDetails hash]; - if (self.previousCertificateDetails != nil) { - result = prime * result + [self.previousCertificateDetails hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -55706,21 +183109,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoChangeCertDetails:other]; + return [self isEqualToTfaAddSecurityKeyType:other]; } -- (BOOL)isEqualToSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)aSsoChangeCertDetails { - if (self == aSsoChangeCertDetails) { +- (BOOL)isEqualToTfaAddSecurityKeyType:(DBTEAMLOGTfaAddSecurityKeyType *)aTfaAddSecurityKeyType { + if (self == aTfaAddSecurityKeyType) { return YES; } - if (![self.dNewCertificateDetails isEqual:aSsoChangeCertDetails.dNewCertificateDetails]) { + if (![self.description_ isEqual:aTfaAddSecurityKeyType.description_]) { return NO; } - if (self.previousCertificateDetails) { - if (![self.previousCertificateDetails isEqual:aSsoChangeCertDetails.previousCertificateDetails]) { - return NO; - } - } return YES; } @@ -55728,70 +183126,56 @@ - (BOOL)isEqualToSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)aSsoChang #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoChangeCertDetailsSerializer +@implementation DBTEAMLOGTfaAddSecurityKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_certificate_details"] = [DBTEAMLOGCertificateSerializer serialize:valueObj.dNewCertificateDetails]; - if (valueObj.previousCertificateDetails) { - jsonDict[@"previous_certificate_details"] = - [DBTEAMLOGCertificateSerializer serialize:valueObj.previousCertificateDetails]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGCertificate *dNewCertificateDetails = - [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"new_certificate_details"]]; - DBTEAMLOGCertificate *previousCertificateDetails = - valueDict[@"previous_certificate_details"] - ? [DBTEAMLOGCertificateSerializer deserialize:valueDict[@"previous_certificate_details"]] - : nil; ++ (DBTEAMLOGTfaAddSecurityKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSsoChangeCertDetails alloc] initWithDNewCertificateDetails:dNewCertificateDetails - previousCertificateDetails:previousCertificateDetails]; + return [[DBTEAMLOGTfaAddSecurityKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoChangeLoginUrlDetails.h" +#import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoChangeLoginUrlDetails +@implementation DBTEAMLOGTfaChangeBackupPhoneDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initDefault { self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoChangeLoginUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoChangeLoginUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55808,9 +183192,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; - return prime * result; } @@ -55823,19 +183204,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoChangeLoginUrlDetails:other]; + return [self isEqualToTfaChangeBackupPhoneDetails:other]; } -- (BOOL)isEqualToSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)aSsoChangeLoginUrlDetails { - if (self == aSsoChangeLoginUrlDetails) { +- (BOOL)isEqualToTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)aTfaChangeBackupPhoneDetails { + if (self == aTfaChangeBackupPhoneDetails) { return YES; } - if (![self.previousValue isEqual:aSsoChangeLoginUrlDetails.previousValue]) { - return NO; - } - if (![self.dNewValue isEqual:aSsoChangeLoginUrlDetails.dNewValue]) { - return NO; - } return YES; } @@ -55843,64 +183218,57 @@ - (BOOL)isEqualToSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoChangeLoginUrlDetailsSerializer +@implementation DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; - jsonDict[@"new_value"] = valueObj.dNewValue; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"]; - NSString *dNewValue = valueDict[@"new_value"]; ++ (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGSsoChangeLoginUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGTfaChangeBackupPhoneDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" +#import "DBTEAMLOGTfaChangeBackupPhoneType.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoChangeLogoutUrlDetails +@implementation DBTEAMLOGTfaChangeBackupPhoneType #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } -- (instancetype)initDefault { - return [self initWithPreviousValue:nil dNewValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangeBackupPhoneTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangeBackupPhoneTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangeBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -55917,12 +183285,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } - if (self.dNewValue != nil) { - result = prime * result + [self.dNewValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -55936,22 +183299,15 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoChangeLogoutUrlDetails:other]; + return [self isEqualToTfaChangeBackupPhoneType:other]; } -- (BOOL)isEqualToSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)aSsoChangeLogoutUrlDetails { - if (self == aSsoChangeLogoutUrlDetails) { +- (BOOL)isEqualToTfaChangeBackupPhoneType:(DBTEAMLOGTfaChangeBackupPhoneType *)aTfaChangeBackupPhoneType { + if (self == aTfaChangeBackupPhoneType) { return YES; } - if (self.previousValue) { - if (![self.previousValue isEqual:aSsoChangeLogoutUrlDetails.previousValue]) { - return NO; - } - } - if (self.dNewValue) { - if (![self.dNewValue isEqual:aSsoChangeLogoutUrlDetails.dNewValue]) { - return NO; - } + if (![self.description_ isEqual:aTfaChangeBackupPhoneType.description_]) { + return NO; } return YES; } @@ -55960,43 +183316,37 @@ - (BOOL)isEqualToSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoChangeLogoutUrlDetailsSerializer +@implementation DBTEAMLOGTfaChangeBackupPhoneTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = valueObj.previousValue; - } - if (valueObj.dNewValue) { - jsonDict[@"new_value"] = valueObj.dNewValue; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"] ?: nil; - NSString *dNewValue = valueDict[@"new_value"] ?: nil; ++ (DBTEAMLOGTfaChangeBackupPhoneType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSsoChangeLogoutUrlDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGTfaChangeBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoChangePolicyDetails.h" -#import "DBTEAMPOLICIESSsoPolicy.h" +#import "DBTEAMLOGTfaChangePolicyDetails.h" +#import "DBTEAMPOLICIESTwoStepVerificationPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoChangePolicyDetails +@implementation DBTEAMLOGTfaChangePolicyDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue - previousValue:(DBTEAMPOLICIESSsoPolicy *)previousValue { +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue + previousValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)previousValue { [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; @@ -56007,24 +183357,24 @@ - (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSsoPolicy *)dNewValue { +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue { return [self initWithDNewValue:dNewValue previousValue:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangePolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56058,18 +183408,18 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoChangePolicyDetails:other]; + return [self isEqualToTfaChangePolicyDetails:other]; } -- (BOOL)isEqualToSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)aSsoChangePolicyDetails { - if (self == aSsoChangePolicyDetails) { +- (BOOL)isEqualToTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)aTfaChangePolicyDetails { + if (self == aTfaChangePolicyDetails) { return YES; } - if (![self.dNewValue isEqual:aSsoChangePolicyDetails.dNewValue]) { + if (![self.dNewValue isEqual:aTfaChangePolicyDetails.dNewValue]) { return NO; } if (self.previousValue) { - if (![self.previousValue isEqual:aSsoChangePolicyDetails.previousValue]) { + if (![self.previousValue isEqual:aTfaChangePolicyDetails.previousValue]) { return NO; } } @@ -56080,65 +183430,66 @@ - (BOOL)isEqualToSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)aSsoC #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoChangePolicyDetailsSerializer +@implementation DBTEAMLOGTfaChangePolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"new_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.dNewValue]; if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESSsoPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"previous_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESSsoPolicy *dNewValue = [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESSsoPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMPOLICIESSsoPolicySerializer deserialize:valueDict[@"previous_value"]] : nil; ++ (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMPOLICIESTwoStepVerificationPolicy *dNewValue = + [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMPOLICIESTwoStepVerificationPolicy *previousValue = + valueDict[@"previous_value"] + ? [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGSsoChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTfaChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" +#import "DBTEAMLOGTfaChangePolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoChangeSamlIdentityModeDetails +@implementation DBTEAMLOGTfaChangePolicyType #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue { - [DBStoneValidators nonnullValidator:nil](previousValue); - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangePolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangePolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56155,8 +183506,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -56170,18 +183520,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoChangeSamlIdentityModeDetails:other]; + return [self isEqualToTfaChangePolicyType:other]; } -- (BOOL)isEqualToSsoChangeSamlIdentityModeDetails: - (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)aSsoChangeSamlIdentityModeDetails { - if (self == aSsoChangeSamlIdentityModeDetails) { +- (BOOL)isEqualToTfaChangePolicyType:(DBTEAMLOGTfaChangePolicyType *)aTfaChangePolicyType { + if (self == aTfaChangePolicyType) { return YES; } - if (![self.previousValue isEqual:aSsoChangeSamlIdentityModeDetails.previousValue]) { - return NO; - } - if (![self.dNewValue isEqual:aSsoChangeSamlIdentityModeDetails.dNewValue]) { + if (![self.description_ isEqual:aTfaChangePolicyType.description_]) { return NO; } return YES; @@ -56191,61 +183537,67 @@ - (BOOL)isEqualToSsoChangeSamlIdentityModeDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoChangeSamlIdentityModeDetailsSerializer +@implementation DBTEAMLOGTfaChangePolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; - jsonDict[@"new_value"] = valueObj.dNewValue; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *previousValue = valueDict[@"previous_value"]; - NSNumber *dNewValue = valueDict[@"new_value"]; ++ (DBTEAMLOGTfaChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSsoChangeSamlIdentityModeDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; + return [[DBTEAMLOGTfaChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGFailureDetailsLogInfo.h" -#import "DBTEAMLOGSsoErrorDetails.h" +#import "DBTEAMLOGTfaChangeStatusDetails.h" +#import "DBTEAMLOGTfaConfiguration.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoErrorDetails +@implementation DBTEAMLOGTfaChangeStatusDetails #pragma mark - Constructors -- (instancetype)initWithErrorDetails:(DBTEAMLOGFailureDetailsLogInfo *)errorDetails { - [DBStoneValidators nonnullValidator:nil](errorDetails); +- (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue + previousValue:(DBTEAMLOGTfaConfiguration *)previousValue + usedRescueCode:(NSNumber *)usedRescueCode { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { - _errorDetails = errorDetails; + _dNewValue = dNewValue; + _previousValue = previousValue; + _usedRescueCode = usedRescueCode; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil usedRescueCode:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoErrorDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoErrorDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangeStatusDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoErrorDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56262,7 +183614,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.errorDetails hash]; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + if (self.usedRescueCode != nil) { + result = prime * result + [self.usedRescueCode hash]; + } return prime * result; } @@ -56276,16 +183634,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoErrorDetails:other]; + return [self isEqualToTfaChangeStatusDetails:other]; } -- (BOOL)isEqualToSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)aSsoErrorDetails { - if (self == aSsoErrorDetails) { +- (BOOL)isEqualToTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)aTfaChangeStatusDetails { + if (self == aTfaChangeStatusDetails) { return YES; } - if (![self.errorDetails isEqual:aSsoErrorDetails.errorDetails]) { + if (![self.dNewValue isEqual:aTfaChangeStatusDetails.dNewValue]) { return NO; } + if (self.previousValue) { + if (![self.previousValue isEqual:aTfaChangeStatusDetails.previousValue]) { + return NO; + } + } + if (self.usedRescueCode) { + if (![self.usedRescueCode isEqual:aTfaChangeStatusDetails.usedRescueCode]) { + return NO; + } + } return YES; } @@ -56293,57 +183661,70 @@ - (BOOL)isEqualToSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)aSsoErrorDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoErrorDetailsSerializer +@implementation DBTEAMLOGTfaChangeStatusDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"error_details"] = [DBTEAMLOGFailureDetailsLogInfoSerializer serialize:valueObj.errorDetails]; + jsonDict[@"new_value"] = [DBTEAMLOGTfaConfigurationSerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGTfaConfigurationSerializer serialize:valueObj.previousValue]; + } + if (valueObj.usedRescueCode) { + jsonDict[@"used_rescue_code"] = valueObj.usedRescueCode; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGFailureDetailsLogInfo *errorDetails = - [DBTEAMLOGFailureDetailsLogInfoSerializer deserialize:valueDict[@"error_details"]]; ++ (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTfaConfiguration *dNewValue = [DBTEAMLOGTfaConfigurationSerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTfaConfiguration *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGTfaConfigurationSerializer deserialize:valueDict[@"previous_value"]] + : nil; + NSNumber *usedRescueCode = valueDict[@"used_rescue_code"] ?: nil; - return [[DBTEAMLOGSsoErrorDetails alloc] initWithErrorDetails:errorDetails]; + return [[DBTEAMLOGTfaChangeStatusDetails alloc] initWithDNewValue:dNewValue + previousValue:previousValue + usedRescueCode:usedRescueCode]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoRemoveCertDetails.h" +#import "DBTEAMLOGTfaChangeStatusType.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoRemoveCertDetails +@implementation DBTEAMLOGTfaChangeStatusType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaChangeStatusTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoRemoveCertDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaChangeStatusTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoRemoveCertDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaChangeStatusTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56360,6 +183741,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -56372,13 +183755,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoRemoveCertDetails:other]; + return [self isEqualToTfaChangeStatusType:other]; } -- (BOOL)isEqualToSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)aSsoRemoveCertDetails { - if (self == aSsoRemoveCertDetails) { +- (BOOL)isEqualToTfaChangeStatusType:(DBTEAMLOGTfaChangeStatusType *)aTfaChangeStatusType { + if (self == aTfaChangeStatusType) { return YES; } + if (![self.description_ isEqual:aTfaChangeStatusType.description_]) { + return NO; + } return YES; } @@ -56386,57 +183772,129 @@ - (BOOL)isEqualToSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)aSsoRemov #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoRemoveCertDetailsSerializer +@implementation DBTEAMLOGTfaChangeStatusTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTfaChangeStatusType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGSsoRemoveCertDetails alloc] initDefault]; + return [[DBTEAMLOGTfaChangeStatusType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" +#import "DBTEAMLOGTfaConfiguration.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoRemoveLoginUrlDetails +@implementation DBTEAMLOGTfaConfiguration #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue { - [DBStoneValidators nonnullValidator:nil](previousValue); +- (instancetype)initWithAuthenticator { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTfaConfigurationAuthenticator; + } + return self; +} +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _previousValue = previousValue; + _tag = DBTEAMLOGTfaConfigurationDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTfaConfigurationEnabled; + } + return self; +} + +- (instancetype)initWithSms { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTfaConfigurationSms; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTfaConfigurationOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isAuthenticator { + return _tag == DBTEAMLOGTfaConfigurationAuthenticator; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGTfaConfigurationDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGTfaConfigurationEnabled; +} + +- (BOOL)isSms { + return _tag == DBTEAMLOGTfaConfigurationSms; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTfaConfigurationOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTfaConfigurationAuthenticator: + return @"DBTEAMLOGTfaConfigurationAuthenticator"; + case DBTEAMLOGTfaConfigurationDisabled: + return @"DBTEAMLOGTfaConfigurationDisabled"; + case DBTEAMLOGTfaConfigurationEnabled: + return @"DBTEAMLOGTfaConfigurationEnabled"; + case DBTEAMLOGTfaConfigurationSms: + return @"DBTEAMLOGTfaConfigurationSms"; + case DBTEAMLOGTfaConfigurationOther: + return @"DBTEAMLOGTfaConfigurationOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaConfigurationSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaConfigurationSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaConfigurationSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56453,7 +183911,23 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; + switch (_tag) { + case DBTEAMLOGTfaConfigurationAuthenticator: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTfaConfigurationDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTfaConfigurationEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTfaConfigurationSms: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTfaConfigurationOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -56467,16 +183941,28 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoRemoveLoginUrlDetails:other]; + return [self isEqualToTfaConfiguration:other]; } -- (BOOL)isEqualToSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)aSsoRemoveLoginUrlDetails { - if (self == aSsoRemoveLoginUrlDetails) { +- (BOOL)isEqualToTfaConfiguration:(DBTEAMLOGTfaConfiguration *)aTfaConfiguration { + if (self == aTfaConfiguration) { return YES; } - if (![self.previousValue isEqual:aSsoRemoveLoginUrlDetails.previousValue]) { + if (self.tag != aTfaConfiguration.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGTfaConfigurationAuthenticator: + return [[self tagName] isEqual:[aTfaConfiguration tagName]]; + case DBTEAMLOGTfaConfigurationDisabled: + return [[self tagName] isEqual:[aTfaConfiguration tagName]]; + case DBTEAMLOGTfaConfigurationEnabled: + return [[self tagName] isEqual:[aTfaConfiguration tagName]]; + case DBTEAMLOGTfaConfigurationSms: + return [[self tagName] isEqual:[aTfaConfiguration tagName]]; + case DBTEAMLOGTfaConfigurationOther: + return [[self tagName] isEqual:[aTfaConfiguration tagName]]; + } return YES; } @@ -56484,58 +183970,80 @@ - (BOOL)isEqualToSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoRemoveLoginUrlDetailsSerializer +@implementation DBTEAMLOGTfaConfigurationSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; + if ([valueObj isAuthenticator]) { + jsonDict[@".tag"] = @"authenticator"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isSms]) { + jsonDict[@".tag"] = @"sms"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"]; ++ (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGSsoRemoveLoginUrlDetails alloc] initWithPreviousValue:previousValue]; + if ([tag isEqualToString:@"authenticator"]) { + return [[DBTEAMLOGTfaConfiguration alloc] initWithAuthenticator]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGTfaConfiguration alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGTfaConfiguration alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"sms"]) { + return [[DBTEAMLOGTfaConfiguration alloc] initWithSms]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTfaConfiguration alloc] initWithOther]; + } else { + return [[DBTEAMLOGTfaConfiguration alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" +#import "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGSsoRemoveLogoutUrlDetails +@implementation DBTEAMLOGTfaRemoveBackupPhoneDetails #pragma mark - Constructors -- (instancetype)initWithPreviousValue:(NSString *)previousValue { - [DBStoneValidators nonnullValidator:nil](previousValue); +- (instancetype)initDefault { self = [super init]; if (self) { - _previousValue = previousValue; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56552,8 +184060,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.previousValue hash]; - return prime * result; } @@ -56566,16 +184072,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoRemoveLogoutUrlDetails:other]; + return [self isEqualToTfaRemoveBackupPhoneDetails:other]; } -- (BOOL)isEqualToSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)aSsoRemoveLogoutUrlDetails { - if (self == aSsoRemoveLogoutUrlDetails) { +- (BOOL)isEqualToTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)aTfaRemoveBackupPhoneDetails { + if (self == aTfaRemoveBackupPhoneDetails) { return YES; } - if (![self.previousValue isEqual:aSsoRemoveLogoutUrlDetails.previousValue]) { - return NO; - } return YES; } @@ -56583,60 +184086,57 @@ - (BOOL)isEqualToSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGSsoRemoveLogoutUrlDetailsSerializer +@implementation DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"previous_value"] = valueObj.previousValue; - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)valueDict { - NSString *previousValue = valueDict[@"previous_value"]; ++ (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGSsoRemoveLogoutUrlDetails alloc] initWithPreviousValue:previousValue]; + return [[DBTEAMLOGTfaRemoveBackupPhoneDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamActivityCreateReportDetails.h" +#import "DBTEAMLOGTfaRemoveBackupPhoneType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamActivityCreateReportDetails +@implementation DBTEAMLOGTfaRemoveBackupPhoneType #pragma mark - Constructors -- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate { - [DBStoneValidators nonnullValidator:nil](startDate); - [DBStoneValidators nonnullValidator:nil](endDate); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _startDate = startDate; - _endDate = endDate; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamActivityCreateReportDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamActivityCreateReportDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56653,8 +184153,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.startDate hash]; - result = prime * result + [self.endDate hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -56668,18 +184167,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamActivityCreateReportDetails:other]; + return [self isEqualToTfaRemoveBackupPhoneType:other]; } -- (BOOL)isEqualToTeamActivityCreateReportDetails: - (DBTEAMLOGTeamActivityCreateReportDetails *)aTeamActivityCreateReportDetails { - if (self == aTeamActivityCreateReportDetails) { +- (BOOL)isEqualToTfaRemoveBackupPhoneType:(DBTEAMLOGTfaRemoveBackupPhoneType *)aTfaRemoveBackupPhoneType { + if (self == aTfaRemoveBackupPhoneType) { return YES; } - if (![self.startDate isEqual:aTeamActivityCreateReportDetails.startDate]) { - return NO; - } - if (![self.endDate isEqual:aTeamActivityCreateReportDetails.endDate]) { + if (![self.description_ isEqual:aTfaRemoveBackupPhoneType.description_]) { return NO; } return YES; @@ -56689,119 +184184,56 @@ - (BOOL)isEqualToTeamActivityCreateReportDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamActivityCreateReportDetailsSerializer +@implementation DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"start_date"] = [DBNSDateSerializer serialize:valueObj.startDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"end_date"] = [DBNSDateSerializer serialize:valueObj.endDate dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)valueDict { - NSDate *startDate = [DBNSDateSerializer deserialize:valueDict[@"start_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - NSDate *endDate = [DBNSDateSerializer deserialize:valueDict[@"end_date"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; ++ (DBTEAMLOGTfaRemoveBackupPhoneType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamActivityCreateReportDetails alloc] initWithStartDate:startDate endDate:endDate]; + return [[DBTEAMLOGTfaRemoveBackupPhoneType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGActorLogInfo.h" -#import "DBTEAMLOGAssetLogInfo.h" -#import "DBTEAMLOGContextLogInfo.h" -#import "DBTEAMLOGEventCategory.h" -#import "DBTEAMLOGEventDetails.h" -#import "DBTEAMLOGEventType.h" -#import "DBTEAMLOGOriginLogInfo.h" -#import "DBTEAMLOGParticipantLogInfo.h" -#import "DBTEAMLOGTeamEvent.h" +#import "DBTEAMLOGTfaRemoveExceptionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamEvent +@implementation DBTEAMLOGTfaRemoveExceptionDetails #pragma mark - Constructors -- (instancetype)initWithTimestamp:(NSDate *)timestamp - eventCategory:(DBTEAMLOGEventCategory *)eventCategory - actor:(DBTEAMLOGActorLogInfo *)actor - involveNonTeamMember:(NSNumber *)involveNonTeamMember - context:(DBTEAMLOGContextLogInfo *)context - eventType:(DBTEAMLOGEventType *)eventType - details:(DBTEAMLOGEventDetails *)details - origin:(DBTEAMLOGOriginLogInfo *)origin - participants:(NSArray *)participants - assets:(NSArray *)assets { - [DBStoneValidators nonnullValidator:nil](timestamp); - [DBStoneValidators nonnullValidator:nil](eventCategory); - [DBStoneValidators nonnullValidator:nil](actor); - [DBStoneValidators nonnullValidator:nil](involveNonTeamMember); - [DBStoneValidators nonnullValidator:nil](context); - [DBStoneValidators nonnullValidator:nil](eventType); - [DBStoneValidators nonnullValidator:nil](details); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](participants); - [DBStoneValidators - nullableValidator:[DBStoneValidators arrayValidator:nil - maxItems:nil - itemValidator:[DBStoneValidators nonnullValidator:nil]]](assets); +- (instancetype)initDefault { self = [super init]; if (self) { - _timestamp = timestamp; - _eventCategory = eventCategory; - _actor = actor; - _origin = origin; - _involveNonTeamMember = involveNonTeamMember; - _context = context; - _participants = participants; - _assets = assets; - _eventType = eventType; - _details = details; } return self; } -- (instancetype)initWithTimestamp:(NSDate *)timestamp - eventCategory:(DBTEAMLOGEventCategory *)eventCategory - actor:(DBTEAMLOGActorLogInfo *)actor - involveNonTeamMember:(NSNumber *)involveNonTeamMember - context:(DBTEAMLOGContextLogInfo *)context - eventType:(DBTEAMLOGEventType *)eventType - details:(DBTEAMLOGEventDetails *)details { - return [self initWithTimestamp:timestamp - eventCategory:eventCategory - actor:actor - involveNonTeamMember:involveNonTeamMember - context:context - eventType:eventType - details:details - origin:nil - participants:nil - assets:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamEventSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveExceptionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamEventSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveExceptionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamEventSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveExceptionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -56818,23 +184250,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.timestamp hash]; - result = prime * result + [self.eventCategory hash]; - result = prime * result + [self.actor hash]; - result = prime * result + [self.involveNonTeamMember hash]; - result = prime * result + [self.context hash]; - result = prime * result + [self.eventType hash]; - result = prime * result + [self.details hash]; - if (self.origin != nil) { - result = prime * result + [self.origin hash]; - } - if (self.participants != nil) { - result = prime * result + [self.participants hash]; - } - if (self.assets != nil) { - result = prime * result + [self.assets hash]; - } - return prime * result; } @@ -56847,49 +184262,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamEvent:other]; + return [self isEqualToTfaRemoveExceptionDetails:other]; } -- (BOOL)isEqualToTeamEvent:(DBTEAMLOGTeamEvent *)aTeamEvent { - if (self == aTeamEvent) { +- (BOOL)isEqualToTfaRemoveExceptionDetails:(DBTEAMLOGTfaRemoveExceptionDetails *)aTfaRemoveExceptionDetails { + if (self == aTfaRemoveExceptionDetails) { return YES; } - if (![self.timestamp isEqual:aTeamEvent.timestamp]) { - return NO; - } - if (![self.eventCategory isEqual:aTeamEvent.eventCategory]) { - return NO; - } - if (![self.actor isEqual:aTeamEvent.actor]) { - return NO; - } - if (![self.involveNonTeamMember isEqual:aTeamEvent.involveNonTeamMember]) { - return NO; - } - if (![self.context isEqual:aTeamEvent.context]) { - return NO; - } - if (![self.eventType isEqual:aTeamEvent.eventType]) { - return NO; - } - if (![self.details isEqual:aTeamEvent.details]) { - return NO; - } - if (self.origin) { - if (![self.origin isEqual:aTeamEvent.origin]) { - return NO; - } - } - if (self.participants) { - if (![self.participants isEqual:aTeamEvent.participants]) { - return NO; - } - } - if (self.assets) { - if (![self.assets isEqual:aTeamEvent.assets]) { - return NO; - } - } return YES; } @@ -56897,116 +184276,57 @@ - (BOOL)isEqualToTeamEvent:(DBTEAMLOGTeamEvent *)aTeamEvent { #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamEventSerializer +@implementation DBTEAMLOGTfaRemoveExceptionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"timestamp"] = [DBNSDateSerializer serialize:valueObj.timestamp dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - jsonDict[@"event_category"] = [DBTEAMLOGEventCategorySerializer serialize:valueObj.eventCategory]; - jsonDict[@"actor"] = [DBTEAMLOGActorLogInfoSerializer serialize:valueObj.actor]; - jsonDict[@"involve_non_team_member"] = valueObj.involveNonTeamMember; - jsonDict[@"context"] = [DBTEAMLOGContextLogInfoSerializer serialize:valueObj.context]; - jsonDict[@"event_type"] = [DBTEAMLOGEventTypeSerializer serialize:valueObj.eventType]; - jsonDict[@"details"] = [DBTEAMLOGEventDetailsSerializer serialize:valueObj.details]; - if (valueObj.origin) { - jsonDict[@"origin"] = [DBTEAMLOGOriginLogInfoSerializer serialize:valueObj.origin]; - } - if (valueObj.participants) { - jsonDict[@"participants"] = [DBArraySerializer serialize:valueObj.participants - withBlock:^id(id elem0) { - return [DBTEAMLOGParticipantLogInfoSerializer serialize:elem0]; - }]; - } - if (valueObj.assets) { - jsonDict[@"assets"] = [DBArraySerializer serialize:valueObj.assets - withBlock:^id(id elem0) { - return [DBTEAMLOGAssetLogInfoSerializer serialize:elem0]; - }]; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)valueDict { - NSDate *timestamp = [DBNSDateSerializer deserialize:valueDict[@"timestamp"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; - DBTEAMLOGEventCategory *eventCategory = [DBTEAMLOGEventCategorySerializer deserialize:valueDict[@"event_category"]]; - DBTEAMLOGActorLogInfo *actor = [DBTEAMLOGActorLogInfoSerializer deserialize:valueDict[@"actor"]]; - NSNumber *involveNonTeamMember = valueDict[@"involve_non_team_member"]; - DBTEAMLOGContextLogInfo *context = [DBTEAMLOGContextLogInfoSerializer deserialize:valueDict[@"context"]]; - DBTEAMLOGEventType *eventType = [DBTEAMLOGEventTypeSerializer deserialize:valueDict[@"event_type"]]; - DBTEAMLOGEventDetails *details = [DBTEAMLOGEventDetailsSerializer deserialize:valueDict[@"details"]]; - DBTEAMLOGOriginLogInfo *origin = - valueDict[@"origin"] ? [DBTEAMLOGOriginLogInfoSerializer deserialize:valueDict[@"origin"]] : nil; - NSArray *participants = - valueDict[@"participants"] - ? [DBArraySerializer deserialize:valueDict[@"participants"] - withBlock:^id(id elem0) { - return [DBTEAMLOGParticipantLogInfoSerializer deserialize:elem0]; - }] - : nil; - NSArray *assets = - valueDict[@"assets"] ? [DBArraySerializer deserialize:valueDict[@"assets"] - withBlock:^id(id elem0) { - return [DBTEAMLOGAssetLogInfoSerializer deserialize:elem0]; - }] - : nil; ++ (DBTEAMLOGTfaRemoveExceptionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGTeamEvent alloc] initWithTimestamp:timestamp - eventCategory:eventCategory - actor:actor - involveNonTeamMember:involveNonTeamMember - context:context - eventType:eventType - details:details - origin:origin - participants:participants - assets:assets]; + return [[DBTEAMLOGTfaRemoveExceptionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamFolderChangeStatusDetails.h" -#import "DBTEAMLOGTeamFolderStatus.h" +#import "DBTEAMLOGTfaRemoveExceptionType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderChangeStatusDetails +@implementation DBTEAMLOGTfaRemoveExceptionType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamFolderStatus *)dNewValue - previousValue:(DBTEAMLOGTeamFolderStatus *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamFolderStatus *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveExceptionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderChangeStatusDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveExceptionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamFolderChangeStatusDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveExceptionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57023,10 +184343,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -57040,22 +184357,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderChangeStatusDetails:other]; + return [self isEqualToTfaRemoveExceptionType:other]; } -- (BOOL)isEqualToTeamFolderChangeStatusDetails: - (DBTEAMLOGTeamFolderChangeStatusDetails *)aTeamFolderChangeStatusDetails { - if (self == aTeamFolderChangeStatusDetails) { +- (BOOL)isEqualToTfaRemoveExceptionType:(DBTEAMLOGTfaRemoveExceptionType *)aTfaRemoveExceptionType { + if (self == aTfaRemoveExceptionType) { return YES; } - if (![self.dNewValue isEqual:aTeamFolderChangeStatusDetails.dNewValue]) { + if (![self.description_ isEqual:aTfaRemoveExceptionType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aTeamFolderChangeStatusDetails.previousValue]) { - return NO; - } - } return YES; } @@ -57063,37 +184374,31 @@ - (BOOL)isEqualToTeamFolderChangeStatusDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamFolderChangeStatusDetailsSerializer +@implementation DBTEAMLOGTfaRemoveExceptionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGTeamFolderStatusSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGTeamFolderStatusSerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTeamFolderStatus *dNewValue = [DBTEAMLOGTeamFolderStatusSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGTeamFolderStatus *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGTeamFolderStatusSerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGTfaRemoveExceptionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamFolderChangeStatusDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGTfaRemoveExceptionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamFolderCreateDetails.h" +#import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderCreateDetails +@implementation DBTEAMLOGTfaRemoveSecurityKeyDetails #pragma mark - Constructors @@ -57107,18 +184412,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderCreateDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamFolderCreateDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57147,11 +184452,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderCreateDetails:other]; + return [self isEqualToTfaRemoveSecurityKeyDetails:other]; } -- (BOOL)isEqualToTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)aTeamFolderCreateDetails { - if (self == aTeamFolderCreateDetails) { +- (BOOL)isEqualToTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)aTfaRemoveSecurityKeyDetails { + if (self == aTfaRemoveSecurityKeyDetails) { return YES; } return YES; @@ -57161,57 +184466,57 @@ - (BOOL)isEqualToTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)aTe #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamFolderCreateDetailsSerializer +@implementation DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGTeamFolderCreateDetails alloc] initDefault]; + return [[DBTEAMLOGTfaRemoveSecurityKeyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamFolderDowngradeDetails.h" +#import "DBTEAMLOGTfaRemoveSecurityKeyType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderDowngradeDetails +@implementation DBTEAMLOGTfaRemoveSecurityKeyType #pragma mark - Constructors -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex { - [DBStoneValidators nonnullValidator:nil](targetAssetIndex); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _targetAssetIndex = targetAssetIndex; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderDowngradeDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamFolderDowngradeDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57228,7 +184533,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.targetAssetIndex hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -57242,14 +184547,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderDowngradeDetails:other]; + return [self isEqualToTfaRemoveSecurityKeyType:other]; } -- (BOOL)isEqualToTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)aTeamFolderDowngradeDetails { - if (self == aTeamFolderDowngradeDetails) { +- (BOOL)isEqualToTfaRemoveSecurityKeyType:(DBTEAMLOGTfaRemoveSecurityKeyType *)aTfaRemoveSecurityKeyType { + if (self == aTfaRemoveSecurityKeyType) { return YES; } - if (![self.targetAssetIndex isEqual:aTeamFolderDowngradeDetails.targetAssetIndex]) { + if (![self.description_ isEqual:aTfaRemoveSecurityKeyType.description_]) { return NO; } return YES; @@ -57259,31 +184564,31 @@ - (BOOL)isEqualToTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamFolderDowngradeDetailsSerializer +@implementation DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"target_asset_index"] = valueObj.targetAssetIndex; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)valueDict { - NSNumber *targetAssetIndex = valueDict[@"target_asset_index"]; ++ (DBTEAMLOGTfaRemoveSecurityKeyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamFolderDowngradeDetails alloc] initWithTargetAssetIndex:targetAssetIndex]; + return [[DBTEAMLOGTfaRemoveSecurityKeyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" +#import "DBTEAMLOGTfaResetDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetails +@implementation DBTEAMLOGTfaResetDetails #pragma mark - Constructors @@ -57297,18 +184602,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaResetDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaResetDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaResetDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57337,12 +184642,11 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderPermanentlyDeleteDetails:other]; + return [self isEqualToTfaResetDetails:other]; } -- (BOOL)isEqualToTeamFolderPermanentlyDeleteDetails: - (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)aTeamFolderPermanentlyDeleteDetails { - if (self == aTeamFolderPermanentlyDeleteDetails) { +- (BOOL)isEqualToTfaResetDetails:(DBTEAMLOGTfaResetDetails *)aTfaResetDetails { + if (self == aTfaResetDetails) { return YES; } return YES; @@ -57352,58 +184656,57 @@ - (BOOL)isEqualToTeamFolderPermanentlyDeleteDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamFolderPermanentlyDeleteDetailsSerializer +@implementation DBTEAMLOGTfaResetDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGTeamFolderPermanentlyDeleteDetails alloc] initDefault]; + return [[DBTEAMLOGTfaResetDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" -#import "DBTEAMLOGTeamFolderRenameDetails.h" +#import "DBTEAMLOGTfaResetType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderRenameDetails +@implementation DBTEAMLOGTfaResetType #pragma mark - Constructors -- (instancetype)initWithRelocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails { - [DBStoneValidators nonnullValidator:nil](relocateActionDetails); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _relocateActionDetails = relocateActionDetails; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTfaResetTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderRenameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTfaResetTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamFolderRenameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTfaResetTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57420,7 +184723,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.relocateActionDetails hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -57434,14 +184737,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamFolderRenameDetails:other]; + return [self isEqualToTfaResetType:other]; } -- (BOOL)isEqualToTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)aTeamFolderRenameDetails { - if (self == aTeamFolderRenameDetails) { +- (BOOL)isEqualToTfaResetType:(DBTEAMLOGTfaResetType *)aTfaResetType { + if (self == aTfaResetType) { return YES; } - if (![self.relocateActionDetails isEqual:aTeamFolderRenameDetails.relocateActionDetails]) { + if (![self.description_ isEqual:aTfaResetType.description_]) { return NO; } return YES; @@ -57451,236 +184754,185 @@ - (BOOL)isEqualToTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)aTe #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamFolderRenameDetailsSerializer +@implementation DBTEAMLOGTfaResetTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTfaResetType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"relocate_action_details"] = - [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer serialize:valueObj.relocateActionDetails]; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGRelocateAssetReferencesLogInfo *relocateActionDetails = - [DBTEAMLOGRelocateAssetReferencesLogInfoSerializer deserialize:valueDict[@"relocate_action_details"]]; ++ (DBTEAMLOGTfaResetType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamFolderRenameDetails alloc] initWithRelocateActionDetails:relocateActionDetails]; + return [[DBTEAMLOGTfaResetType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamFolderStatus.h" +#import "DBTEAMLOGTimeUnit.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamFolderStatus +@implementation DBTEAMLOGTimeUnit #pragma mark - Constructors -- (instancetype)initWithArchive { +- (instancetype)initWithDays { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamFolderStatusArchive; + _tag = DBTEAMLOGTimeUnitDays; } return self; } -- (instancetype)initWithUnarchive { +- (instancetype)initWithHours { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamFolderStatusUnarchive; + _tag = DBTEAMLOGTimeUnitHours; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithMilliseconds { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamFolderStatusOther; + _tag = DBTEAMLOGTimeUnitMilliseconds; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isArchive { - return _tag == DBTEAMLOGTeamFolderStatusArchive; -} - -- (BOOL)isUnarchive { - return _tag == DBTEAMLOGTeamFolderStatusUnarchive; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGTeamFolderStatusOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGTeamFolderStatusArchive: - return @"DBTEAMLOGTeamFolderStatusArchive"; - case DBTEAMLOGTeamFolderStatusUnarchive: - return @"DBTEAMLOGTeamFolderStatusUnarchive"; - case DBTEAMLOGTeamFolderStatusOther: - return @"DBTEAMLOGTeamFolderStatusOther"; +- (instancetype)initWithMinutes { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitMinutes; } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamFolderStatusSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamFolderStatusSerializer deserialize:dict]; + return self; } -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGTeamFolderStatusSerializer serialize:self] description]; +- (instancetype)initWithMonths { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitMonths; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithSeconds { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitSeconds; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - switch (_tag) { - case DBTEAMLOGTeamFolderStatusArchive: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTeamFolderStatusUnarchive: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTeamFolderStatusOther: - result = prime * result + [[self tagName] hash]; +- (instancetype)initWithWeeks { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitWeeks; } - - return prime * result; + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithYears { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitYears; } - return [self isEqualToTeamFolderStatus:other]; + return self; } -- (BOOL)isEqualToTeamFolderStatus:(DBTEAMLOGTeamFolderStatus *)aTeamFolderStatus { - if (self == aTeamFolderStatus) { - return YES; - } - if (self.tag != aTeamFolderStatus.tag) { - return NO; - } - switch (_tag) { - case DBTEAMLOGTeamFolderStatusArchive: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; - case DBTEAMLOGTeamFolderStatusUnarchive: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; - case DBTEAMLOGTeamFolderStatusOther: - return [[self tagName] isEqual:[aTeamFolderStatus tagName]]; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTimeUnitOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGTeamFolderStatusSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGTeamFolderStatus *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +#pragma mark - Instance field accessors - if ([valueObj isArchive]) { - jsonDict[@".tag"] = @"archive"; - } else if ([valueObj isUnarchive]) { - jsonDict[@".tag"] = @"unarchive"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isDays { + return _tag == DBTEAMLOGTimeUnitDays; } -+ (DBTEAMLOGTeamFolderStatus *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; +- (BOOL)isHours { + return _tag == DBTEAMLOGTimeUnitHours; +} - if ([tag isEqualToString:@"archive"]) { - return [[DBTEAMLOGTeamFolderStatus alloc] initWithArchive]; - } else if ([tag isEqualToString:@"unarchive"]) { - return [[DBTEAMLOGTeamFolderStatus alloc] initWithUnarchive]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGTeamFolderStatus alloc] initWithOther]; - } else { - return [[DBTEAMLOGTeamFolderStatus alloc] initWithOther]; - } +- (BOOL)isMilliseconds { + return _tag == DBTEAMLOGTimeUnitMilliseconds; } -@end +- (BOOL)isMinutes { + return _tag == DBTEAMLOGTimeUnitMinutes; +} -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGTeamLinkedAppLogInfo.h" +- (BOOL)isMonths { + return _tag == DBTEAMLOGTimeUnitMonths; +} -#pragma mark - API Object +- (BOOL)isSeconds { + return _tag == DBTEAMLOGTimeUnitSeconds; +} -@implementation DBTEAMLOGTeamLinkedAppLogInfo +- (BOOL)isWeeks { + return _tag == DBTEAMLOGTimeUnitWeeks; +} -#pragma mark - Constructors +- (BOOL)isYears { + return _tag == DBTEAMLOGTimeUnitYears; +} -- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { +- (BOOL)isOther { + return _tag == DBTEAMLOGTimeUnitOther; +} - self = [super initWithAppId:appId displayName:displayName]; - if (self) { +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTimeUnitDays: + return @"DBTEAMLOGTimeUnitDays"; + case DBTEAMLOGTimeUnitHours: + return @"DBTEAMLOGTimeUnitHours"; + case DBTEAMLOGTimeUnitMilliseconds: + return @"DBTEAMLOGTimeUnitMilliseconds"; + case DBTEAMLOGTimeUnitMinutes: + return @"DBTEAMLOGTimeUnitMinutes"; + case DBTEAMLOGTimeUnitMonths: + return @"DBTEAMLOGTimeUnitMonths"; + case DBTEAMLOGTimeUnitSeconds: + return @"DBTEAMLOGTimeUnitSeconds"; + case DBTEAMLOGTimeUnitWeeks: + return @"DBTEAMLOGTimeUnitWeeks"; + case DBTEAMLOGTimeUnitYears: + return @"DBTEAMLOGTimeUnitYears"; + case DBTEAMLOGTimeUnitOther: + return @"DBTEAMLOGTimeUnitOther"; } - return self; -} -- (instancetype)initDefault { - return [self initWithAppId:nil displayName:nil]; + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTimeUnitSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamLinkedAppLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTimeUnitSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamLinkedAppLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTimeUnitSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57697,11 +184949,34 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.appId != nil) { - result = prime * result + [self.appId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; + switch (_tag) { + case DBTEAMLOGTimeUnitDays: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitHours: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitMilliseconds: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitMinutes: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitMonths: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitSeconds: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitWeeks: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitYears: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTimeUnitOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -57716,22 +184991,35 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamLinkedAppLogInfo:other]; + return [self isEqualToTimeUnit:other]; } -- (BOOL)isEqualToTeamLinkedAppLogInfo:(DBTEAMLOGTeamLinkedAppLogInfo *)aTeamLinkedAppLogInfo { - if (self == aTeamLinkedAppLogInfo) { +- (BOOL)isEqualToTimeUnit:(DBTEAMLOGTimeUnit *)aTimeUnit { + if (self == aTimeUnit) { return YES; } - if (self.appId) { - if (![self.appId isEqual:aTeamLinkedAppLogInfo.appId]) { - return NO; - } + if (self.tag != aTimeUnit.tag) { + return NO; } - if (self.displayName) { - if (![self.displayName isEqual:aTeamLinkedAppLogInfo.displayName]) { - return NO; - } + switch (_tag) { + case DBTEAMLOGTimeUnitDays: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitHours: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitMilliseconds: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitMinutes: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitMonths: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitSeconds: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitWeeks: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitYears: + return [[self tagName] isEqual:[aTimeUnit tagName]]; + case DBTEAMLOGTimeUnitOther: + return [[self tagName] isEqual:[aTimeUnit tagName]]; } return YES; } @@ -57740,83 +185028,114 @@ - (BOOL)isEqualToTeamLinkedAppLogInfo:(DBTEAMLOGTeamLinkedAppLogInfo *)aTeamLink #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamLinkedAppLogInfoSerializer +@implementation DBTEAMLOGTimeUnitSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.appId) { - jsonDict[@"app_id"] = valueObj.appId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; + if ([valueObj isDays]) { + jsonDict[@".tag"] = @"days"; + } else if ([valueObj isHours]) { + jsonDict[@".tag"] = @"hours"; + } else if ([valueObj isMilliseconds]) { + jsonDict[@".tag"] = @"milliseconds"; + } else if ([valueObj isMinutes]) { + jsonDict[@".tag"] = @"minutes"; + } else if ([valueObj isMonths]) { + jsonDict[@".tag"] = @"months"; + } else if ([valueObj isSeconds]) { + jsonDict[@".tag"] = @"seconds"; + } else if ([valueObj isWeeks]) { + jsonDict[@".tag"] = @"weeks"; + } else if ([valueObj isYears]) { + jsonDict[@".tag"] = @"years"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *appId = valueDict[@"app_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; ++ (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; + if ([tag isEqualToString:@"days"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithDays]; + } else if ([tag isEqualToString:@"hours"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithHours]; + } else if ([tag isEqualToString:@"milliseconds"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithMilliseconds]; + } else if ([tag isEqualToString:@"minutes"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithMinutes]; + } else if ([tag isEqualToString:@"months"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithMonths]; + } else if ([tag isEqualToString:@"seconds"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithSeconds]; + } else if ([tag isEqualToString:@"weeks"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithWeeks]; + } else if ([tag isEqualToString:@"years"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithYears]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTimeUnit alloc] initWithOther]; + } else { + return [[DBTEAMLOGTimeUnit alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamMemberLogInfo.h" +#import "DBTEAMLOGTeamLogInfo.h" +#import "DBTEAMLOGTrustedNonTeamMemberLogInfo.h" +#import "DBTEAMLOGTrustedNonTeamMemberType.h" #import "DBTEAMLOGUserLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamMemberLogInfo +@implementation DBTEAMLOGTrustedNonTeamMemberLogInfo #pragma mark - Constructors -- (instancetype)initWithAccountId:(NSString *)accountId - displayName:(NSString *)displayName - email:(NSString *)email - teamMemberId:(NSString *)teamMemberId - memberExternalId:(NSString *)memberExternalId { +- (instancetype)initWithTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)trustedNonTeamMemberType + accountId:(NSString *)accountId + displayName:(NSString *)displayName + email:(NSString *)email + team:(DBTEAMLOGTeamLogInfo *)team { + [DBStoneValidators nonnullValidator:nil](trustedNonTeamMemberType); [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(40) maxLength:@(40) pattern:nil]](accountId); - [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:@(1) maxLength:nil pattern:nil]](displayName); - [DBStoneValidators - nullableValidator:[DBStoneValidators - stringValidator:nil - maxLength:@(255) - pattern:@"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$"]](email); - [DBStoneValidators - nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(64) pattern:nil]](memberExternalId); + [DBStoneValidators nullableValidator:[DBStoneValidators stringValidator:nil maxLength:@(255) pattern:nil]](email); self = [super initWithAccountId:accountId displayName:displayName email:email]; if (self) { - _teamMemberId = teamMemberId; - _memberExternalId = memberExternalId; + _trustedNonTeamMemberType = trustedNonTeamMemberType; + _team = team; } return self; } -- (instancetype)initDefault { - return [self initWithAccountId:nil displayName:nil email:nil teamMemberId:nil memberExternalId:nil]; +- (instancetype)initWithTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)trustedNonTeamMemberType { + return + [self initWithTrustedNonTeamMemberType:trustedNonTeamMemberType accountId:nil displayName:nil email:nil team:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamMemberLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamMemberLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamMemberLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -57833,6 +185152,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.trustedNonTeamMemberType hash]; if (self.accountId != nil) { result = prime * result + [self.accountId hash]; } @@ -57842,11 +185162,8 @@ - (NSUInteger)hash { if (self.email != nil) { result = prime * result + [self.email hash]; } - if (self.teamMemberId != nil) { - result = prime * result + [self.teamMemberId hash]; - } - if (self.memberExternalId != nil) { - result = prime * result + [self.memberExternalId hash]; + if (self.team != nil) { + result = prime * result + [self.team hash]; } return prime * result; @@ -57861,35 +185178,33 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMemberLogInfo:other]; + return [self isEqualToTrustedNonTeamMemberLogInfo:other]; } -- (BOOL)isEqualToTeamMemberLogInfo:(DBTEAMLOGTeamMemberLogInfo *)aTeamMemberLogInfo { - if (self == aTeamMemberLogInfo) { +- (BOOL)isEqualToTrustedNonTeamMemberLogInfo:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)aTrustedNonTeamMemberLogInfo { + if (self == aTrustedNonTeamMemberLogInfo) { return YES; } + if (![self.trustedNonTeamMemberType isEqual:aTrustedNonTeamMemberLogInfo.trustedNonTeamMemberType]) { + return NO; + } if (self.accountId) { - if (![self.accountId isEqual:aTeamMemberLogInfo.accountId]) { + if (![self.accountId isEqual:aTrustedNonTeamMemberLogInfo.accountId]) { return NO; } } if (self.displayName) { - if (![self.displayName isEqual:aTeamMemberLogInfo.displayName]) { + if (![self.displayName isEqual:aTrustedNonTeamMemberLogInfo.displayName]) { return NO; } } if (self.email) { - if (![self.email isEqual:aTeamMemberLogInfo.email]) { - return NO; - } - } - if (self.teamMemberId) { - if (![self.teamMemberId isEqual:aTeamMemberLogInfo.teamMemberId]) { + if (![self.email isEqual:aTrustedNonTeamMemberLogInfo.email]) { return NO; } } - if (self.memberExternalId) { - if (![self.memberExternalId isEqual:aTeamMemberLogInfo.memberExternalId]) { + if (self.team) { + if (![self.team isEqual:aTrustedNonTeamMemberLogInfo.team]) { return NO; } } @@ -57900,11 +185215,13 @@ - (BOOL)isEqualToTeamMemberLogInfo:(DBTEAMLOGTeamMemberLogInfo *)aTeamMemberLogI #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamMemberLogInfoSerializer +@implementation DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + jsonDict[@"trusted_non_team_member_type"] = + [DBTEAMLOGTrustedNonTeamMemberTypeSerializer serialize:valueObj.trustedNonTeamMemberType]; if (valueObj.accountId) { jsonDict[@"account_id"] = valueObj.accountId; } @@ -57914,54 +185231,53 @@ + (NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)valueObj { if (valueObj.email) { jsonDict[@"email"] = valueObj.email; } - if (valueObj.teamMemberId) { - jsonDict[@"team_member_id"] = valueObj.teamMemberId; - } - if (valueObj.memberExternalId) { - jsonDict[@"member_external_id"] = valueObj.memberExternalId; + if (valueObj.team) { + jsonDict[@"team"] = [DBTEAMLOGTeamLogInfoSerializer serialize:valueObj.team]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTrustedNonTeamMemberLogInfo *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTrustedNonTeamMemberType *trustedNonTeamMemberType = + [DBTEAMLOGTrustedNonTeamMemberTypeSerializer deserialize:valueDict[@"trusted_non_team_member_type"]]; NSString *accountId = valueDict[@"account_id"] ?: nil; NSString *displayName = valueDict[@"display_name"] ?: nil; NSString *email = valueDict[@"email"] ?: nil; - NSString *teamMemberId = valueDict[@"team_member_id"] ?: nil; - NSString *memberExternalId = valueDict[@"member_external_id"] ?: nil; + DBTEAMLOGTeamLogInfo *team = + valueDict[@"team"] ? [DBTEAMLOGTeamLogInfoSerializer deserialize:valueDict[@"team"]] : nil; - return [[DBTEAMLOGTeamMemberLogInfo alloc] initWithAccountId:accountId - displayName:displayName - email:email - teamMemberId:teamMemberId - memberExternalId:memberExternalId]; + return [[DBTEAMLOGTrustedNonTeamMemberLogInfo alloc] initWithTrustedNonTeamMemberType:trustedNonTeamMemberType + accountId:accountId + displayName:displayName + email:email + team:team]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamMembershipType.h" +#import "DBTEAMLOGTrustedNonTeamMemberType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamMembershipType +@implementation DBTEAMLOGTrustedNonTeamMemberType #pragma mark - Constructors -- (instancetype)initWithFree { +- (instancetype)initWithEnterpriseAdmin { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamMembershipTypeFree; + _tag = DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin; } return self; } -- (instancetype)initWithFull { +- (instancetype)initWithMultiInstanceAdmin { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamMembershipTypeFull; + _tag = DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin; } return self; } @@ -57969,7 +185285,7 @@ - (instancetype)initWithFull { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGTeamMembershipTypeOther; + _tag = DBTEAMLOGTrustedNonTeamMemberTypeOther; } return self; } @@ -57978,26 +185294,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isFree { - return _tag == DBTEAMLOGTeamMembershipTypeFree; +- (BOOL)isEnterpriseAdmin { + return _tag == DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin; } -- (BOOL)isFull { - return _tag == DBTEAMLOGTeamMembershipTypeFull; +- (BOOL)isMultiInstanceAdmin { + return _tag == DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin; } - (BOOL)isOther { - return _tag == DBTEAMLOGTeamMembershipTypeOther; + return _tag == DBTEAMLOGTrustedNonTeamMemberTypeOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGTeamMembershipTypeFree: - return @"DBTEAMLOGTeamMembershipTypeFree"; - case DBTEAMLOGTeamMembershipTypeFull: - return @"DBTEAMLOGTeamMembershipTypeFull"; - case DBTEAMLOGTeamMembershipTypeOther: - return @"DBTEAMLOGTeamMembershipTypeOther"; + case DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin: + return @"DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin"; + case DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin: + return @"DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin"; + case DBTEAMLOGTrustedNonTeamMemberTypeOther: + return @"DBTEAMLOGTrustedNonTeamMemberTypeOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -58005,18 +185321,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamMembershipTypeSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTrustedNonTeamMemberTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamMembershipTypeSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTrustedNonTeamMemberTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamMembershipTypeSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTrustedNonTeamMemberTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58034,12 +185350,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGTeamMembershipTypeFree: + case DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTeamMembershipTypeFull: + break; + case DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTeamMembershipTypeOther: + break; + case DBTEAMLOGTrustedNonTeamMemberTypeOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -58054,23 +185373,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMembershipType:other]; + return [self isEqualToTrustedNonTeamMemberType:other]; } -- (BOOL)isEqualToTeamMembershipType:(DBTEAMLOGTeamMembershipType *)aTeamMembershipType { - if (self == aTeamMembershipType) { +- (BOOL)isEqualToTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)aTrustedNonTeamMemberType { + if (self == aTrustedNonTeamMemberType) { return YES; } - if (self.tag != aTeamMembershipType.tag) { + if (self.tag != aTrustedNonTeamMemberType.tag) { return NO; } switch (_tag) { - case DBTEAMLOGTeamMembershipTypeFree: - return [[self tagName] isEqual:[aTeamMembershipType tagName]]; - case DBTEAMLOGTeamMembershipTypeFull: - return [[self tagName] isEqual:[aTeamMembershipType tagName]]; - case DBTEAMLOGTeamMembershipTypeOther: - return [[self tagName] isEqual:[aTeamMembershipType tagName]]; + case DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin: + return [[self tagName] isEqual:[aTrustedNonTeamMemberType tagName]]; + case DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin: + return [[self tagName] isEqual:[aTrustedNonTeamMemberType tagName]]; + case DBTEAMLOGTrustedNonTeamMemberTypeOther: + return [[self tagName] isEqual:[aTrustedNonTeamMemberType tagName]]; } return YES; } @@ -58079,35 +185398,35 @@ - (BOOL)isEqualToTeamMembershipType:(DBTEAMLOGTeamMembershipType *)aTeamMembersh #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamMembershipTypeSerializer +@implementation DBTEAMLOGTrustedNonTeamMemberTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTrustedNonTeamMemberType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFree]) { - jsonDict[@".tag"] = @"free"; - } else if ([valueObj isFull]) { - jsonDict[@".tag"] = @"full"; + if ([valueObj isEnterpriseAdmin]) { + jsonDict[@".tag"] = @"enterprise_admin"; + } else if ([valueObj isMultiInstanceAdmin]) { + jsonDict[@".tag"] = @"multi_instance_admin"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGTrustedNonTeamMemberType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"free"]) { - return [[DBTEAMLOGTeamMembershipType alloc] initWithFree]; - } else if ([tag isEqualToString:@"full"]) { - return [[DBTEAMLOGTeamMembershipType alloc] initWithFull]; + if ([tag isEqualToString:@"enterprise_admin"]) { + return [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithEnterpriseAdmin]; + } else if ([tag isEqualToString:@"multi_instance_admin"]) { + return [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithMultiInstanceAdmin]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGTeamMembershipType alloc] initWithOther]; + return [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithOther]; } else { - return [[DBTEAMLOGTeamMembershipType alloc] initWithOther]; + return [[DBTEAMLOGTrustedNonTeamMemberType alloc] initWithOther]; } } @@ -58115,137 +185434,123 @@ + (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamMergeFromDetails.h" +#import "DBTEAMLOGTrustedTeamsRequestAction.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamMergeFromDetails +@implementation DBTEAMLOGTrustedTeamsRequestAction #pragma mark - Constructors -- (instancetype)initWithTeamName:(NSString *)teamName { - [DBStoneValidators nonnullValidator:nil](teamName); - +- (instancetype)initWithAccepted { self = [super init]; if (self) { - _teamName = teamName; + _tag = DBTEAMLOGTrustedTeamsRequestActionAccepted; } return self; } -#pragma mark - Serialization methods - -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamMergeFromDetailsSerializer serialize:instance]; -} - -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamMergeFromDetailsSerializer deserialize:dict]; -} - -#pragma mark - Description method - -- (NSString *)description { - return [[DBTEAMLOGTeamMergeFromDetailsSerializer serialize:self] description]; +- (instancetype)initWithDeclined { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestActionDeclined; + } + return self; } -#pragma mark - Copyable method - -- (instancetype)copyWithZone:(NSZone *)zone { -#pragma unused(zone) - /// object is immutable +- (instancetype)initWithExpired { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestActionExpired; + } return self; } -#pragma mark - Hash method - -- (NSUInteger)hash { - NSUInteger prime = 31; - NSUInteger result = 1; - - result = prime * result + [self.teamName hash]; - - return prime * result; +- (instancetype)initWithInvited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestActionInvited; + } + return self; } -#pragma mark - Equality method - -- (BOOL)isEqual:(id)other { - if (other == self) { - return YES; - } - if (!other || ![other isKindOfClass:[self class]]) { - return NO; +- (instancetype)initWithRevoked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestActionRevoked; } - return [self isEqualToTeamMergeFromDetails:other]; + return self; } -- (BOOL)isEqualToTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)aTeamMergeFromDetails { - if (self == aTeamMergeFromDetails) { - return YES; - } - if (![self.teamName isEqual:aTeamMergeFromDetails.teamName]) { - return NO; +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestActionOther; } - return YES; + return self; } -@end - -#pragma mark - Serializer Object - -@implementation DBTEAMLOGTeamMergeFromDetailsSerializer - -+ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)valueObj { - NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; +#pragma mark - Instance field accessors - jsonDict[@"team_name"] = valueObj.teamName; +#pragma mark - Tag state methods - return [jsonDict count] > 0 ? jsonDict : nil; +- (BOOL)isAccepted { + return _tag == DBTEAMLOGTrustedTeamsRequestActionAccepted; } -+ (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)valueDict { - NSString *teamName = valueDict[@"team_name"]; - - return [[DBTEAMLOGTeamMergeFromDetails alloc] initWithTeamName:teamName]; +- (BOOL)isDeclined { + return _tag == DBTEAMLOGTrustedTeamsRequestActionDeclined; } -@end - -#import "DBStoneSerializers.h" -#import "DBStoneValidators.h" -#import "DBTEAMLOGTeamMergeToDetails.h" - -#pragma mark - API Object +- (BOOL)isExpired { + return _tag == DBTEAMLOGTrustedTeamsRequestActionExpired; +} -@implementation DBTEAMLOGTeamMergeToDetails +- (BOOL)isInvited { + return _tag == DBTEAMLOGTrustedTeamsRequestActionInvited; +} -#pragma mark - Constructors +- (BOOL)isRevoked { + return _tag == DBTEAMLOGTrustedTeamsRequestActionRevoked; +} -- (instancetype)initWithTeamName:(NSString *)teamName { - [DBStoneValidators nonnullValidator:nil](teamName); +- (BOOL)isOther { + return _tag == DBTEAMLOGTrustedTeamsRequestActionOther; +} - self = [super init]; - if (self) { - _teamName = teamName; +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestActionAccepted: + return @"DBTEAMLOGTrustedTeamsRequestActionAccepted"; + case DBTEAMLOGTrustedTeamsRequestActionDeclined: + return @"DBTEAMLOGTrustedTeamsRequestActionDeclined"; + case DBTEAMLOGTrustedTeamsRequestActionExpired: + return @"DBTEAMLOGTrustedTeamsRequestActionExpired"; + case DBTEAMLOGTrustedTeamsRequestActionInvited: + return @"DBTEAMLOGTrustedTeamsRequestActionInvited"; + case DBTEAMLOGTrustedTeamsRequestActionRevoked: + return @"DBTEAMLOGTrustedTeamsRequestActionRevoked"; + case DBTEAMLOGTrustedTeamsRequestActionOther: + return @"DBTEAMLOGTrustedTeamsRequestActionOther"; } - return self; + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamMergeToDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTrustedTeamsRequestActionSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamMergeToDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTrustedTeamsRequestActionSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamMergeToDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTrustedTeamsRequestActionSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58262,7 +185567,26 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamName hash]; + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestActionAccepted: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestActionDeclined: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestActionExpired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestActionInvited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestActionRevoked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestActionOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -58276,16 +185600,30 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamMergeToDetails:other]; + return [self isEqualToTrustedTeamsRequestAction:other]; } -- (BOOL)isEqualToTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)aTeamMergeToDetails { - if (self == aTeamMergeToDetails) { +- (BOOL)isEqualToTrustedTeamsRequestAction:(DBTEAMLOGTrustedTeamsRequestAction *)aTrustedTeamsRequestAction { + if (self == aTrustedTeamsRequestAction) { return YES; } - if (![self.teamName isEqual:aTeamMergeToDetails.teamName]) { + if (self.tag != aTrustedTeamsRequestAction.tag) { return NO; } + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestActionAccepted: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + case DBTEAMLOGTrustedTeamsRequestActionDeclined: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + case DBTEAMLOGTrustedTeamsRequestActionExpired: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + case DBTEAMLOGTrustedTeamsRequestActionInvited: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + case DBTEAMLOGTrustedTeamsRequestActionRevoked: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + case DBTEAMLOGTrustedTeamsRequestActionOther: + return [[self tagName] isEqual:[aTrustedTeamsRequestAction tagName]]; + } return YES; } @@ -58293,60 +185631,143 @@ - (BOOL)isEqualToTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)aTeamMergeToD #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamMergeToDetailsSerializer +@implementation DBTEAMLOGTrustedTeamsRequestActionSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestAction *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_name"] = valueObj.teamName; + if ([valueObj isAccepted]) { + jsonDict[@".tag"] = @"accepted"; + } else if ([valueObj isDeclined]) { + jsonDict[@".tag"] = @"declined"; + } else if ([valueObj isExpired]) { + jsonDict[@".tag"] = @"expired"; + } else if ([valueObj isInvited]) { + jsonDict[@".tag"] = @"invited"; + } else if ([valueObj isRevoked]) { + jsonDict[@".tag"] = @"revoked"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)valueDict { - NSString *teamName = valueDict[@"team_name"]; ++ (DBTEAMLOGTrustedTeamsRequestAction *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGTeamMergeToDetails alloc] initWithTeamName:teamName]; + if ([tag isEqualToString:@"accepted"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithAccepted]; + } else if ([tag isEqualToString:@"declined"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithDeclined]; + } else if ([tag isEqualToString:@"expired"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithExpired]; + } else if ([tag isEqualToString:@"invited"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithInvited]; + } else if ([tag isEqualToString:@"revoked"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithRevoked]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithOther]; + } else { + return [[DBTEAMLOGTrustedTeamsRequestAction alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamName.h" +#import "DBTEAMLOGTrustedTeamsRequestState.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamName +@implementation DBTEAMLOGTrustedTeamsRequestState #pragma mark - Constructors -- (instancetype)initWithTeamDisplayName:(NSString *)teamDisplayName teamLegalName:(NSString *)teamLegalName { - [DBStoneValidators nonnullValidator:nil](teamDisplayName); - [DBStoneValidators nonnullValidator:nil](teamLegalName); +- (instancetype)initWithInvited { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestStateInvited; + } + return self; +} +- (instancetype)initWithLinked { self = [super init]; if (self) { - _teamDisplayName = teamDisplayName; - _teamLegalName = teamLegalName; + _tag = DBTEAMLOGTrustedTeamsRequestStateLinked; + } + return self; +} + +- (instancetype)initWithUnlinked { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestStateUnlinked; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTrustedTeamsRequestStateOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isInvited { + return _tag == DBTEAMLOGTrustedTeamsRequestStateInvited; +} + +- (BOOL)isLinked { + return _tag == DBTEAMLOGTrustedTeamsRequestStateLinked; +} + +- (BOOL)isUnlinked { + return _tag == DBTEAMLOGTrustedTeamsRequestStateUnlinked; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTrustedTeamsRequestStateOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestStateInvited: + return @"DBTEAMLOGTrustedTeamsRequestStateInvited"; + case DBTEAMLOGTrustedTeamsRequestStateLinked: + return @"DBTEAMLOGTrustedTeamsRequestStateLinked"; + case DBTEAMLOGTrustedTeamsRequestStateUnlinked: + return @"DBTEAMLOGTrustedTeamsRequestStateUnlinked"; + case DBTEAMLOGTrustedTeamsRequestStateOther: + return @"DBTEAMLOGTrustedTeamsRequestStateOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamNameSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamNameSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTrustedTeamsRequestStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamNameSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTrustedTeamsRequestStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58363,8 +185784,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.teamDisplayName hash]; - result = prime * result + [self.teamLegalName hash]; + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestStateInvited: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestStateLinked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestStateUnlinked: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTrustedTeamsRequestStateOther: + result = prime * result + [[self tagName] hash]; + break; + } return prime * result; } @@ -58378,18 +185811,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamName:other]; + return [self isEqualToTrustedTeamsRequestState:other]; } -- (BOOL)isEqualToTeamName:(DBTEAMLOGTeamName *)aTeamName { - if (self == aTeamName) { +- (BOOL)isEqualToTrustedTeamsRequestState:(DBTEAMLOGTrustedTeamsRequestState *)aTrustedTeamsRequestState { + if (self == aTrustedTeamsRequestState) { return YES; } - if (![self.teamDisplayName isEqual:aTeamName.teamDisplayName]) { + if (self.tag != aTrustedTeamsRequestState.tag) { return NO; } - if (![self.teamLegalName isEqual:aTeamName.teamLegalName]) { - return NO; + switch (_tag) { + case DBTEAMLOGTrustedTeamsRequestStateInvited: + return [[self tagName] isEqual:[aTrustedTeamsRequestState tagName]]; + case DBTEAMLOGTrustedTeamsRequestStateLinked: + return [[self tagName] isEqual:[aTrustedTeamsRequestState tagName]]; + case DBTEAMLOGTrustedTeamsRequestStateUnlinked: + return [[self tagName] isEqual:[aTrustedTeamsRequestState tagName]]; + case DBTEAMLOGTrustedTeamsRequestStateOther: + return [[self tagName] isEqual:[aTrustedTeamsRequestState tagName]]; } return YES; } @@ -58398,58 +185838,85 @@ - (BOOL)isEqualToTeamName:(DBTEAMLOGTeamName *)aTeamName { #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamNameSerializer +@implementation DBTEAMLOGTrustedTeamsRequestStateSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamName *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"team_display_name"] = valueObj.teamDisplayName; - jsonDict[@"team_legal_name"] = valueObj.teamLegalName; + if ([valueObj isInvited]) { + jsonDict[@".tag"] = @"invited"; + } else if ([valueObj isLinked]) { + jsonDict[@".tag"] = @"linked"; + } else if ([valueObj isUnlinked]) { + jsonDict[@".tag"] = @"unlinked"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)valueDict { - NSString *teamDisplayName = valueDict[@"team_display_name"]; - NSString *teamLegalName = valueDict[@"team_legal_name"]; ++ (DBTEAMLOGTrustedTeamsRequestState *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGTeamName alloc] initWithTeamDisplayName:teamDisplayName teamLegalName:teamLegalName]; + if ([tag isEqualToString:@"invited"]) { + return [[DBTEAMLOGTrustedTeamsRequestState alloc] initWithInvited]; + } else if ([tag isEqualToString:@"linked"]) { + return [[DBTEAMLOGTrustedTeamsRequestState alloc] initWithLinked]; + } else if ([tag isEqualToString:@"unlinked"]) { + return [[DBTEAMLOGTrustedTeamsRequestState alloc] initWithUnlinked]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTrustedTeamsRequestState alloc] initWithOther]; + } else { + return [[DBTEAMLOGTrustedTeamsRequestState alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamProfileAddLogoDetails.h" +#import "DBTEAMLOGTwoAccountChangePolicyDetails.h" +#import "DBTEAMLOGTwoAccountPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamProfileAddLogoDetails +@implementation DBTEAMLOGTwoAccountChangePolicyDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue + previousValue:(DBTEAMLOGTwoAccountPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } +- (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue { + return [self initWithDNewValue:dNewValue previousValue:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamProfileAddLogoDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamProfileAddLogoDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58466,6 +185933,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.dNewValue hash]; + if (self.previousValue != nil) { + result = prime * result + [self.previousValue hash]; + } + return prime * result; } @@ -58478,13 +185950,22 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamProfileAddLogoDetails:other]; + return [self isEqualToTwoAccountChangePolicyDetails:other]; } -- (BOOL)isEqualToTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)aTeamProfileAddLogoDetails { - if (self == aTeamProfileAddLogoDetails) { +- (BOOL)isEqualToTwoAccountChangePolicyDetails: + (DBTEAMLOGTwoAccountChangePolicyDetails *)aTwoAccountChangePolicyDetails { + if (self == aTwoAccountChangePolicyDetails) { return YES; } + if (![self.dNewValue isEqual:aTwoAccountChangePolicyDetails.dNewValue]) { + return NO; + } + if (self.previousValue) { + if (![self.previousValue isEqual:aTwoAccountChangePolicyDetails.previousValue]) { + return NO; + } + } return YES; } @@ -58492,60 +185973,64 @@ - (BOOL)isEqualToTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails * #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamProfileAddLogoDetailsSerializer +@implementation DBTEAMLOGTwoAccountChangePolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"new_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.dNewValue]; + if (valueObj.previousValue) { + jsonDict[@"previous_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.previousValue]; + } + + return jsonDict; } -+ (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGTwoAccountPolicy *dNewValue = [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGTwoAccountPolicy *previousValue = + valueDict[@"previous_value"] ? [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"previous_value"]] + : nil; - return [[DBTEAMLOGTeamProfileAddLogoDetails alloc] initDefault]; + return [[DBTEAMLOGTwoAccountChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" +#import "DBTEAMLOGTwoAccountChangePolicyType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetails +@implementation DBTEAMLOGTwoAccountChangePolicyType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue { - [DBStoneValidators nonnullValidator:[DBStoneValidators stringValidator:@(2) maxLength:nil pattern:nil]](dNewValue); - [DBStoneValidators - nonnullValidator:[DBStoneValidators stringValidator:@(2) maxLength:nil pattern:nil]](previousValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTwoAccountChangePolicyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTwoAccountChangePolicyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTwoAccountChangePolicyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58562,8 +186047,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - result = prime * result + [self.previousValue hash]; + result = prime * result + [self.description_ hash]; return prime * result; } @@ -58577,18 +186061,14 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamProfileChangeDefaultLanguageDetails:other]; + return [self isEqualToTwoAccountChangePolicyType:other]; } -- (BOOL)isEqualToTeamProfileChangeDefaultLanguageDetails: - (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)aTeamProfileChangeDefaultLanguageDetails { - if (self == aTeamProfileChangeDefaultLanguageDetails) { +- (BOOL)isEqualToTwoAccountChangePolicyType:(DBTEAMLOGTwoAccountChangePolicyType *)aTwoAccountChangePolicyType { + if (self == aTwoAccountChangePolicyType) { return YES; } - if (![self.dNewValue isEqual:aTeamProfileChangeDefaultLanguageDetails.dNewValue]) { - return NO; - } - if (![self.previousValue isEqual:aTeamProfileChangeDefaultLanguageDetails.previousValue]) { + if (![self.description_ isEqual:aTwoAccountChangePolicyType.description_]) { return NO; } return YES; @@ -58598,59 +186078,101 @@ - (BOOL)isEqualToTeamProfileChangeDefaultLanguageDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamProfileChangeDefaultLanguageDetailsSerializer +@implementation DBTEAMLOGTwoAccountChangePolicyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = valueObj.dNewValue; - jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)valueDict { - NSString *dNewValue = valueDict[@"new_value"]; - NSString *previousValue = valueDict[@"previous_value"]; ++ (DBTEAMLOGTwoAccountChangePolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamProfileChangeDefaultLanguageDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue]; + return [[DBTEAMLOGTwoAccountChangePolicyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamProfileChangeLogoDetails.h" +#import "DBTEAMLOGTwoAccountPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamProfileChangeLogoDetails +@implementation DBTEAMLOGTwoAccountPolicy #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTwoAccountPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMLOGTwoAccountPolicyEnabled; + } + return self; +} +- (instancetype)initWithOther { self = [super init]; if (self) { + _tag = DBTEAMLOGTwoAccountPolicyOther; } return self; } +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMLOGTwoAccountPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMLOGTwoAccountPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMLOGTwoAccountPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMLOGTwoAccountPolicyDisabled: + return @"DBTEAMLOGTwoAccountPolicyDisabled"; + case DBTEAMLOGTwoAccountPolicyEnabled: + return @"DBTEAMLOGTwoAccountPolicyEnabled"; + case DBTEAMLOGTwoAccountPolicyOther: + return @"DBTEAMLOGTwoAccountPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGTwoAccountPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamProfileChangeLogoDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGTwoAccountPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamProfileChangeLogoDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGTwoAccountPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58667,6 +186189,18 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + switch (_tag) { + case DBTEAMLOGTwoAccountPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTwoAccountPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMLOGTwoAccountPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + return prime * result; } @@ -58679,13 +186213,24 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamProfileChangeLogoDetails:other]; + return [self isEqualToTwoAccountPolicy:other]; } -- (BOOL)isEqualToTeamProfileChangeLogoDetails:(DBTEAMLOGTeamProfileChangeLogoDetails *)aTeamProfileChangeLogoDetails { - if (self == aTeamProfileChangeLogoDetails) { +- (BOOL)isEqualToTwoAccountPolicy:(DBTEAMLOGTwoAccountPolicy *)aTwoAccountPolicy { + if (self == aTwoAccountPolicy) { return YES; } + if (self.tag != aTwoAccountPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMLOGTwoAccountPolicyDisabled: + return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; + case DBTEAMLOGTwoAccountPolicyEnabled: + return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; + case DBTEAMLOGTwoAccountPolicyOther: + return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; + } return YES; } @@ -58693,63 +186238,72 @@ - (BOOL)isEqualToTeamProfileChangeLogoDetails:(DBTEAMLOGTeamProfileChangeLogoDet #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamProfileChangeLogoDetailsSerializer +@implementation DBTEAMLOGTwoAccountPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; } -+ (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; - return [[DBTEAMLOGTeamProfileChangeLogoDetails alloc] initDefault]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMLOGTwoAccountPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMLOGTwoAccountPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMLOGTwoAccountPolicy alloc] initWithOther]; + } else { + return [[DBTEAMLOGTwoAccountPolicy alloc] initWithOther]; + } } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamName.h" -#import "DBTEAMLOGTeamProfileChangeNameDetails.h" +#import "DBTEAMLOGUndoNamingConventionDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamProfileChangeNameDetails +@implementation DBTEAMLOGUndoNamingConventionDetails #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue previousValue:(DBTEAMLOGTeamName *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initDefault { self = [super init]; if (self) { - _previousValue = previousValue; - _dNewValue = dNewValue; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamName *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUndoNamingConventionDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamProfileChangeNameDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUndoNamingConventionDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamProfileChangeNameDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUndoNamingConventionDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58766,11 +186320,6 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } - return prime * result; } @@ -58783,21 +186332,13 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamProfileChangeNameDetails:other]; + return [self isEqualToUndoNamingConventionDetails:other]; } -- (BOOL)isEqualToTeamProfileChangeNameDetails:(DBTEAMLOGTeamProfileChangeNameDetails *)aTeamProfileChangeNameDetails { - if (self == aTeamProfileChangeNameDetails) { +- (BOOL)isEqualToUndoNamingConventionDetails:(DBTEAMLOGUndoNamingConventionDetails *)anUndoNamingConventionDetails { + if (self == anUndoNamingConventionDetails) { return YES; } - if (![self.dNewValue isEqual:aTeamProfileChangeNameDetails.dNewValue]) { - return NO; - } - if (self.previousValue) { - if (![self.previousValue isEqual:aTeamProfileChangeNameDetails.previousValue]) { - return NO; - } - } return YES; } @@ -58805,61 +186346,57 @@ - (BOOL)isEqualToTeamProfileChangeNameDetails:(DBTEAMLOGTeamProfileChangeNameDet #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamProfileChangeNameDetailsSerializer +@implementation DBTEAMLOGUndoNamingConventionDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionDetails *)valueObj { +#pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGTeamNameSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGTeamNameSerializer serialize:valueObj.previousValue]; - } - - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTeamName *dNewValue = [DBTEAMLOGTeamNameSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGTeamName *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGTeamNameSerializer deserialize:valueDict[@"previous_value"]] : nil; ++ (DBTEAMLOGUndoNamingConventionDetails *)deserialize:(NSDictionary *)valueDict { +#pragma unused(valueDict) - return [[DBTEAMLOGTeamProfileChangeNameDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGUndoNamingConventionDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTeamProfileRemoveLogoDetails.h" +#import "DBTEAMLOGUndoNamingConventionType.h" #pragma mark - API Object -@implementation DBTEAMLOGTeamProfileRemoveLogoDetails +@implementation DBTEAMLOGUndoNamingConventionType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUndoNamingConventionTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUndoNamingConventionTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUndoNamingConventionTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58876,6 +186413,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -58888,13 +186427,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTeamProfileRemoveLogoDetails:other]; + return [self isEqualToUndoNamingConventionType:other]; } -- (BOOL)isEqualToTeamProfileRemoveLogoDetails:(DBTEAMLOGTeamProfileRemoveLogoDetails *)aTeamProfileRemoveLogoDetails { - if (self == aTeamProfileRemoveLogoDetails) { +- (BOOL)isEqualToUndoNamingConventionType:(DBTEAMLOGUndoNamingConventionType *)anUndoNamingConventionType { + if (self == anUndoNamingConventionType) { return YES; } + if (![self.description_ isEqual:anUndoNamingConventionType.description_]) { + return NO; + } return YES; } @@ -58902,30 +186444,31 @@ - (BOOL)isEqualToTeamProfileRemoveLogoDetails:(DBTEAMLOGTeamProfileRemoveLogoDet #pragma mark - Serializer Object -@implementation DBTEAMLOGTeamProfileRemoveLogoDetailsSerializer +@implementation DBTEAMLOGUndoNamingConventionTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUndoNamingConventionType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTeamProfileRemoveLogoDetails alloc] initDefault]; + return [[DBTEAMLOGUndoNamingConventionType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaAddBackupPhoneDetails.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaAddBackupPhoneDetails +@implementation DBTEAMLOGUndoOrganizeFolderWithTidyDetails #pragma mark - Constructors @@ -58939,18 +186482,18 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaAddBackupPhoneDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaAddBackupPhoneDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -58979,11 +186522,12 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaAddBackupPhoneDetails:other]; + return [self isEqualToUndoOrganizeFolderWithTidyDetails:other]; } -- (BOOL)isEqualToTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)aTfaAddBackupPhoneDetails { - if (self == aTfaAddBackupPhoneDetails) { +- (BOOL)isEqualToUndoOrganizeFolderWithTidyDetails: + (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)anUndoOrganizeFolderWithTidyDetails { + if (self == anUndoOrganizeFolderWithTidyDetails) { return YES; } return YES; @@ -58993,55 +186537,57 @@ - (BOOL)isEqualToTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaAddBackupPhoneDetailsSerializer +@implementation DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)valueObj { #pragma unused(valueObj) NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)valueDict { #pragma unused(valueDict) - return [[DBTEAMLOGTfaAddBackupPhoneDetails alloc] initDefault]; + return [[DBTEAMLOGUndoOrganizeFolderWithTidyDetails alloc] initDefault]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaAddSecurityKeyDetails.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyType.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaAddSecurityKeyDetails +@implementation DBTEAMLOGUndoOrganizeFolderWithTidyType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaAddSecurityKeyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaAddSecurityKeyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59058,6 +186604,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -59070,13 +186618,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaAddSecurityKeyDetails:other]; + return [self isEqualToUndoOrganizeFolderWithTidyType:other]; } -- (BOOL)isEqualToTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)aTfaAddSecurityKeyDetails { - if (self == aTfaAddSecurityKeyDetails) { +- (BOOL)isEqualToUndoOrganizeFolderWithTidyType: + (DBTEAMLOGUndoOrganizeFolderWithTidyType *)anUndoOrganizeFolderWithTidyType { + if (self == anUndoOrganizeFolderWithTidyType) { return YES; } + if (![self.description_ isEqual:anUndoOrganizeFolderWithTidyType.description_]) { + return NO; + } return YES; } @@ -59084,55 +186636,61 @@ - (BOOL)isEqualToTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)a #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaAddSecurityKeyDetailsSerializer +@implementation DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUndoOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTfaAddSecurityKeyDetails alloc] initDefault]; + return [[DBTEAMLOGUndoOrganizeFolderWithTidyType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGUserLinkedAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaChangeBackupPhoneDetails +@implementation DBTEAMLOGUserLinkedAppLogInfo #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { - self = [super init]; + self = [super initWithAppId:appId displayName:displayName]; if (self) { } return self; } +- (instancetype)initDefault { + return [self initWithAppId:nil displayName:nil]; +} + #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59149,6 +186707,13 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + if (self.appId != nil) { + result = prime * result + [self.appId hash]; + } + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; + } + return prime * result; } @@ -59161,13 +186726,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaChangeBackupPhoneDetails:other]; + return [self isEqualToUserLinkedAppLogInfo:other]; } -- (BOOL)isEqualToTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)aTfaChangeBackupPhoneDetails { - if (self == aTfaChangeBackupPhoneDetails) { +- (BOOL)isEqualToUserLinkedAppLogInfo:(DBTEAMLOGUserLinkedAppLogInfo *)anUserLinkedAppLogInfo { + if (self == anUserLinkedAppLogInfo) { return YES; } + if (self.appId) { + if (![self.appId isEqual:anUserLinkedAppLogInfo.appId]) { + return NO; + } + } + if (self.displayName) { + if (![self.displayName isEqual:anUserLinkedAppLogInfo.displayName]) { + return NO; + } + } return YES; } @@ -59175,64 +186750,71 @@ - (BOOL)isEqualToTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaChangeBackupPhoneDetailsSerializer +@implementation DBTEAMLOGUserLinkedAppLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + if (valueObj.appId) { + jsonDict[@"app_id"] = valueObj.appId; + } + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; + } + + return jsonDict; } -+ (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *appId = valueDict[@"app_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; - return [[DBTEAMLOGTfaChangeBackupPhoneDetails alloc] initDefault]; + return [[DBTEAMLOGUserLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaChangePolicyDetails.h" -#import "DBTEAMPOLICIESTwoStepVerificationPolicy.h" +#import "DBTEAMLOGUserNameLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaChangePolicyDetails +@implementation DBTEAMLOGUserNameLogInfo #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue - previousValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname locale:(NSString *)locale { + [DBStoneValidators nonnullValidator:nil](givenName); + [DBStoneValidators nonnullValidator:nil](surname); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _givenName = givenName; + _surname = surname; + _locale = locale; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESTwoStepVerificationPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; +- (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname { + return [self initWithGivenName:givenName surname:surname locale:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserNameLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserNameLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserNameLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59249,9 +186831,10 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + result = prime * result + [self.givenName hash]; + result = prime * result + [self.surname hash]; + if (self.locale != nil) { + result = prime * result + [self.locale hash]; } return prime * result; @@ -59266,18 +186849,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaChangePolicyDetails:other]; + return [self isEqualToUserNameLogInfo:other]; } -- (BOOL)isEqualToTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)aTfaChangePolicyDetails { - if (self == aTfaChangePolicyDetails) { +- (BOOL)isEqualToUserNameLogInfo:(DBTEAMLOGUserNameLogInfo *)anUserNameLogInfo { + if (self == anUserNameLogInfo) { return YES; } - if (![self.dNewValue isEqual:aTfaChangePolicyDetails.dNewValue]) { + if (![self.givenName isEqual:anUserNameLogInfo.givenName]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aTfaChangePolicyDetails.previousValue]) { + if (![self.surname isEqual:anUserNameLogInfo.surname]) { + return NO; + } + if (self.locale) { + if (![self.locale isEqual:anUserNameLogInfo.locale]) { return NO; } } @@ -59288,75 +186874,67 @@ - (BOOL)isEqualToTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)aTfaC #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaChangePolicyDetailsSerializer +@implementation DBTEAMLOGUserNameLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"given_name"] = valueObj.givenName; + jsonDict[@"surname"] = valueObj.surname; + if (valueObj.locale) { + jsonDict[@"locale"] = valueObj.locale; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMPOLICIESTwoStepVerificationPolicy *dNewValue = - [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMPOLICIESTwoStepVerificationPolicy *previousValue = - valueDict[@"previous_value"] - ? [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *givenName = valueDict[@"given_name"]; + NSString *surname = valueDict[@"surname"]; + NSString *locale = valueDict[@"locale"] ?: nil; - return [[DBTEAMLOGTfaChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGUserNameLogInfo alloc] initWithGivenName:givenName surname:surname locale:locale]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaChangeStatusDetails.h" -#import "DBTEAMLOGTfaConfiguration.h" +#import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaChangeStatusDetails +@implementation DBTEAMLOGUserOrTeamLinkedAppLogInfo #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue - previousValue:(DBTEAMLOGTfaConfiguration *)previousValue - usedRescueCode:(NSNumber *)usedRescueCode { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { - self = [super init]; + self = [super initWithAppId:appId displayName:displayName]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; - _usedRescueCode = usedRescueCode; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGTfaConfiguration *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil usedRescueCode:nil]; +- (instancetype)initDefault { + return [self initWithAppId:nil displayName:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaChangeStatusDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaChangeStatusDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59373,12 +186951,11 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; + if (self.appId != nil) { + result = prime * result + [self.appId hash]; } - if (self.usedRescueCode != nil) { - result = prime * result + [self.usedRescueCode hash]; + if (self.displayName != nil) { + result = prime * result + [self.displayName hash]; } return prime * result; @@ -59393,23 +186970,20 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaChangeStatusDetails:other]; + return [self isEqualToUserOrTeamLinkedAppLogInfo:other]; } -- (BOOL)isEqualToTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)aTfaChangeStatusDetails { - if (self == aTfaChangeStatusDetails) { +- (BOOL)isEqualToUserOrTeamLinkedAppLogInfo:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)anUserOrTeamLinkedAppLogInfo { + if (self == anUserOrTeamLinkedAppLogInfo) { return YES; } - if (![self.dNewValue isEqual:aTfaChangeStatusDetails.dNewValue]) { - return NO; - } - if (self.previousValue) { - if (![self.previousValue isEqual:aTfaChangeStatusDetails.previousValue]) { + if (self.appId) { + if (![self.appId isEqual:anUserOrTeamLinkedAppLogInfo.appId]) { return NO; } } - if (self.usedRescueCode) { - if (![self.usedRescueCode isEqual:aTfaChangeStatusDetails.usedRescueCode]) { + if (self.displayName) { + if (![self.displayName isEqual:anUserOrTeamLinkedAppLogInfo.displayName]) { return NO; } } @@ -59420,141 +186994,67 @@ - (BOOL)isEqualToTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)aTfaC #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaChangeStatusDetailsSerializer +@implementation DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGTfaConfigurationSerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGTfaConfigurationSerializer serialize:valueObj.previousValue]; + if (valueObj.appId) { + jsonDict[@"app_id"] = valueObj.appId; } - if (valueObj.usedRescueCode) { - jsonDict[@"used_rescue_code"] = valueObj.usedRescueCode; + if (valueObj.displayName) { + jsonDict[@"display_name"] = valueObj.displayName; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTfaConfiguration *dNewValue = [DBTEAMLOGTfaConfigurationSerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGTfaConfiguration *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGTfaConfigurationSerializer deserialize:valueDict[@"previous_value"]] - : nil; - NSNumber *usedRescueCode = valueDict[@"used_rescue_code"] ?: nil; ++ (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *appId = valueDict[@"app_id"] ?: nil; + NSString *displayName = valueDict[@"display_name"] ?: nil; - return [[DBTEAMLOGTfaChangeStatusDetails alloc] initWithDNewValue:dNewValue - previousValue:previousValue - usedRescueCode:usedRescueCode]; + return [[DBTEAMLOGUserOrTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaConfiguration.h" +#import "DBTEAMLOGUserTagsAddedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaConfiguration +@implementation DBTEAMLOGUserTagsAddedDetails #pragma mark - Constructors -- (instancetype)initWithDisabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTfaConfigurationDisabled; - } - return self; -} - -- (instancetype)initWithEnabled { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTfaConfigurationEnabled; - } - return self; -} - -- (instancetype)initWithSms { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTfaConfigurationSms; - } - return self; -} - -- (instancetype)initWithAuthenticator { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTfaConfigurationAuthenticator; - } - return self; -} +- (instancetype)initWithValues:(NSArray *)values { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](values); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGTfaConfigurationOther; + _values = values; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isDisabled { - return _tag == DBTEAMLOGTfaConfigurationDisabled; -} - -- (BOOL)isEnabled { - return _tag == DBTEAMLOGTfaConfigurationEnabled; -} - -- (BOOL)isSms { - return _tag == DBTEAMLOGTfaConfigurationSms; -} - -- (BOOL)isAuthenticator { - return _tag == DBTEAMLOGTfaConfigurationAuthenticator; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGTfaConfigurationOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGTfaConfigurationDisabled: - return @"DBTEAMLOGTfaConfigurationDisabled"; - case DBTEAMLOGTfaConfigurationEnabled: - return @"DBTEAMLOGTfaConfigurationEnabled"; - case DBTEAMLOGTfaConfigurationSms: - return @"DBTEAMLOGTfaConfigurationSms"; - case DBTEAMLOGTfaConfigurationAuthenticator: - return @"DBTEAMLOGTfaConfigurationAuthenticator"; - case DBTEAMLOGTfaConfigurationOther: - return @"DBTEAMLOGTfaConfigurationOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaConfigurationSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserTagsAddedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaConfigurationSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserTagsAddedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaConfigurationSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserTagsAddedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59571,18 +187071,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGTfaConfigurationDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTfaConfigurationEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTfaConfigurationSms: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTfaConfigurationAuthenticator: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTfaConfigurationOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.values hash]; return prime * result; } @@ -59596,28 +187085,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaConfiguration:other]; + return [self isEqualToUserTagsAddedDetails:other]; } -- (BOOL)isEqualToTfaConfiguration:(DBTEAMLOGTfaConfiguration *)aTfaConfiguration { - if (self == aTfaConfiguration) { +- (BOOL)isEqualToUserTagsAddedDetails:(DBTEAMLOGUserTagsAddedDetails *)anUserTagsAddedDetails { + if (self == anUserTagsAddedDetails) { return YES; } - if (self.tag != aTfaConfiguration.tag) { + if (![self.values isEqual:anUserTagsAddedDetails.values]) { return NO; } - switch (_tag) { - case DBTEAMLOGTfaConfigurationDisabled: - return [[self tagName] isEqual:[aTfaConfiguration tagName]]; - case DBTEAMLOGTfaConfigurationEnabled: - return [[self tagName] isEqual:[aTfaConfiguration tagName]]; - case DBTEAMLOGTfaConfigurationSms: - return [[self tagName] isEqual:[aTfaConfiguration tagName]]; - case DBTEAMLOGTfaConfigurationAuthenticator: - return [[self tagName] isEqual:[aTfaConfiguration tagName]]; - case DBTEAMLOGTfaConfigurationOther: - return [[self tagName] isEqual:[aTfaConfiguration tagName]]; - } return YES; } @@ -59625,80 +187102,64 @@ - (BOOL)isEqualToTfaConfiguration:(DBTEAMLOGTfaConfiguration *)aTfaConfiguration #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaConfigurationSerializer +@implementation DBTEAMLOGUserTagsAddedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDisabled]) { - jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isSms]) { - jsonDict[@".tag"] = @"sms"; - } else if ([valueObj isAuthenticator]) { - jsonDict[@".tag"] = @"authenticator"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values + withBlock:^id(id elem0) { + return elem0; + }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGUserTagsAddedDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] + withBlock:^id(id elem0) { + return elem0; + }]; - if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGTfaConfiguration alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGTfaConfiguration alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"sms"]) { - return [[DBTEAMLOGTfaConfiguration alloc] initWithSms]; - } else if ([tag isEqualToString:@"authenticator"]) { - return [[DBTEAMLOGTfaConfiguration alloc] initWithAuthenticator]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGTfaConfiguration alloc] initWithOther]; - } else { - return [[DBTEAMLOGTfaConfiguration alloc] initWithOther]; - } + return [[DBTEAMLOGUserTagsAddedDetails alloc] initWithValues:values]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" +#import "DBTEAMLOGUserTagsAddedType.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaRemoveBackupPhoneDetails +@implementation DBTEAMLOGUserTagsAddedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserTagsAddedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserTagsAddedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserTagsAddedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59715,6 +187176,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -59727,13 +187190,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaRemoveBackupPhoneDetails:other]; + return [self isEqualToUserTagsAddedType:other]; } -- (BOOL)isEqualToTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)aTfaRemoveBackupPhoneDetails { - if (self == aTfaRemoveBackupPhoneDetails) { +- (BOOL)isEqualToUserTagsAddedType:(DBTEAMLOGUserTagsAddedType *)anUserTagsAddedType { + if (self == anUserTagsAddedType) { return YES; } + if (![self.description_ isEqual:anUserTagsAddedType.description_]) { + return NO; + } return YES; } @@ -59741,55 +187207,61 @@ - (BOOL)isEqualToTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaRemoveBackupPhoneDetailsSerializer +@implementation DBTEAMLOGUserTagsAddedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUserTagsAddedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTfaRemoveBackupPhoneDetails alloc] initDefault]; + return [[DBTEAMLOGUserTagsAddedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" +#import "DBTEAMLOGUserTagsRemovedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaRemoveSecurityKeyDetails +@implementation DBTEAMLOGUserTagsRemovedDetails #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithValues:(NSArray *)values { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](values); self = [super init]; if (self) { + _values = values; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserTagsRemovedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserTagsRemovedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserTagsRemovedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59806,6 +187278,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.values hash]; + return prime * result; } @@ -59818,13 +187292,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaRemoveSecurityKeyDetails:other]; + return [self isEqualToUserTagsRemovedDetails:other]; } -- (BOOL)isEqualToTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)aTfaRemoveSecurityKeyDetails { - if (self == aTfaRemoveSecurityKeyDetails) { +- (BOOL)isEqualToUserTagsRemovedDetails:(DBTEAMLOGUserTagsRemovedDetails *)anUserTagsRemovedDetails { + if (self == anUserTagsRemovedDetails) { return YES; } + if (![self.values isEqual:anUserTagsRemovedDetails.values]) { + return NO; + } return YES; } @@ -59832,55 +187309,64 @@ - (BOOL)isEqualToTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetai #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaRemoveSecurityKeyDetailsSerializer +@implementation DBTEAMLOGUserTagsRemovedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values + withBlock:^id(id elem0) { + return elem0; + }]; + + return jsonDict; } -+ (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUserTagsRemovedDetails *)deserialize:(NSDictionary *)valueDict { + NSArray *values = [DBArraySerializer deserialize:valueDict[@"values"] + withBlock:^id(id elem0) { + return elem0; + }]; - return [[DBTEAMLOGTfaRemoveSecurityKeyDetails alloc] initDefault]; + return [[DBTEAMLOGUserTagsRemovedDetails alloc] initWithValues:values]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTfaResetDetails.h" +#import "DBTEAMLOGUserTagsRemovedType.h" #pragma mark - API Object -@implementation DBTEAMLOGTfaResetDetails +@implementation DBTEAMLOGUserTagsRemovedType #pragma mark - Constructors -- (instancetype)initDefault { +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { + _description_ = description_; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTfaResetDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGUserTagsRemovedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTfaResetDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGUserTagsRemovedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTfaResetDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGUserTagsRemovedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -59897,6 +187383,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; + result = prime * result + [self.description_ hash]; + return prime * result; } @@ -59909,13 +187397,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTfaResetDetails:other]; + return [self isEqualToUserTagsRemovedType:other]; } -- (BOOL)isEqualToTfaResetDetails:(DBTEAMLOGTfaResetDetails *)aTfaResetDetails { - if (self == aTfaResetDetails) { +- (BOOL)isEqualToUserTagsRemovedType:(DBTEAMLOGUserTagsRemovedType *)anUserTagsRemovedType { + if (self == anUserTagsRemovedType) { return YES; } + if (![self.description_ isEqual:anUserTagsRemovedType.description_]) { + return NO; + } return YES; } @@ -59923,184 +187414,61 @@ - (BOOL)isEqualToTfaResetDetails:(DBTEAMLOGTfaResetDetails *)aTfaResetDetails { #pragma mark - Serializer Object -@implementation DBTEAMLOGTfaResetDetailsSerializer +@implementation DBTEAMLOGUserTagsRemovedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)valueObj { -#pragma unused(valueObj) ++ (NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - return [jsonDict count] > 0 ? jsonDict : nil; + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; } -+ (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)valueDict { -#pragma unused(valueDict) ++ (DBTEAMLOGUserTagsRemovedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTfaResetDetails alloc] initDefault]; + return [[DBTEAMLOGUserTagsRemovedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTimeUnit.h" +#import "DBTEAMLOGPassPolicy.h" +#import "DBTEAMLOGViewerInfoPolicyChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGTimeUnit +@implementation DBTEAMLOGViewerInfoPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initWithMilliseconds { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitMilliseconds; - } - return self; -} - -- (instancetype)initWithSeconds { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitSeconds; - } - return self; -} - -- (instancetype)initWithMinutes { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitMinutes; - } - return self; -} - -- (instancetype)initWithHours { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitHours; - } - return self; -} - -- (instancetype)initWithDays { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitDays; - } - return self; -} - -- (instancetype)initWithWeeks { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitWeeks; - } - return self; -} - -- (instancetype)initWithMonths { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitMonths; - } - return self; -} - -- (instancetype)initWithYears { - self = [super init]; - if (self) { - _tag = DBTEAMLOGTimeUnitYears; - } - return self; -} +- (instancetype)initWithPreviousValue:(DBTEAMLOGPassPolicy *)previousValue dNewValue:(DBTEAMLOGPassPolicy *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); -- (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGTimeUnitOther; + _previousValue = previousValue; + _dNewValue = dNewValue; } return self; } -#pragma mark - Instance field accessors - -#pragma mark - Tag state methods - -- (BOOL)isMilliseconds { - return _tag == DBTEAMLOGTimeUnitMilliseconds; -} - -- (BOOL)isSeconds { - return _tag == DBTEAMLOGTimeUnitSeconds; -} - -- (BOOL)isMinutes { - return _tag == DBTEAMLOGTimeUnitMinutes; -} - -- (BOOL)isHours { - return _tag == DBTEAMLOGTimeUnitHours; -} - -- (BOOL)isDays { - return _tag == DBTEAMLOGTimeUnitDays; -} - -- (BOOL)isWeeks { - return _tag == DBTEAMLOGTimeUnitWeeks; -} - -- (BOOL)isMonths { - return _tag == DBTEAMLOGTimeUnitMonths; -} - -- (BOOL)isYears { - return _tag == DBTEAMLOGTimeUnitYears; -} - -- (BOOL)isOther { - return _tag == DBTEAMLOGTimeUnitOther; -} - -- (NSString *)tagName { - switch (_tag) { - case DBTEAMLOGTimeUnitMilliseconds: - return @"DBTEAMLOGTimeUnitMilliseconds"; - case DBTEAMLOGTimeUnitSeconds: - return @"DBTEAMLOGTimeUnitSeconds"; - case DBTEAMLOGTimeUnitMinutes: - return @"DBTEAMLOGTimeUnitMinutes"; - case DBTEAMLOGTimeUnitHours: - return @"DBTEAMLOGTimeUnitHours"; - case DBTEAMLOGTimeUnitDays: - return @"DBTEAMLOGTimeUnitDays"; - case DBTEAMLOGTimeUnitWeeks: - return @"DBTEAMLOGTimeUnitWeeks"; - case DBTEAMLOGTimeUnitMonths: - return @"DBTEAMLOGTimeUnitMonths"; - case DBTEAMLOGTimeUnitYears: - return @"DBTEAMLOGTimeUnitYears"; - case DBTEAMLOGTimeUnitOther: - return @"DBTEAMLOGTimeUnitOther"; - } - - @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTimeUnitSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTimeUnitSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTimeUnitSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60117,26 +187485,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - switch (_tag) { - case DBTEAMLOGTimeUnitMilliseconds: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitSeconds: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitMinutes: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitHours: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitDays: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitWeeks: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitMonths: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitYears: - result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTimeUnitOther: - result = prime * result + [[self tagName] hash]; - } + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; return prime * result; } @@ -60150,35 +187500,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTimeUnit:other]; + return [self isEqualToViewerInfoPolicyChangedDetails:other]; } -- (BOOL)isEqualToTimeUnit:(DBTEAMLOGTimeUnit *)aTimeUnit { - if (self == aTimeUnit) { +- (BOOL)isEqualToViewerInfoPolicyChangedDetails: + (DBTEAMLOGViewerInfoPolicyChangedDetails *)aViewerInfoPolicyChangedDetails { + if (self == aViewerInfoPolicyChangedDetails) { return YES; } - if (self.tag != aTimeUnit.tag) { + if (![self.previousValue isEqual:aViewerInfoPolicyChangedDetails.previousValue]) { return NO; } - switch (_tag) { - case DBTEAMLOGTimeUnitMilliseconds: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitSeconds: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitMinutes: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitHours: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitDays: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitWeeks: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitMonths: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitYears: - return [[self tagName] isEqual:[aTimeUnit tagName]]; - case DBTEAMLOGTimeUnitOther: - return [[self tagName] isEqual:[aTimeUnit tagName]]; + if (![self.dNewValue isEqual:aViewerInfoPolicyChangedDetails.dNewValue]) { + return NO; } return YES; } @@ -60187,105 +187521,60 @@ - (BOOL)isEqualToTimeUnit:(DBTEAMLOGTimeUnit *)aTimeUnit { #pragma mark - Serializer Object -@implementation DBTEAMLOGTimeUnitSerializer +@implementation DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMilliseconds]) { - jsonDict[@".tag"] = @"milliseconds"; - } else if ([valueObj isSeconds]) { - jsonDict[@".tag"] = @"seconds"; - } else if ([valueObj isMinutes]) { - jsonDict[@".tag"] = @"minutes"; - } else if ([valueObj isHours]) { - jsonDict[@".tag"] = @"hours"; - } else if ([valueObj isDays]) { - jsonDict[@".tag"] = @"days"; - } else if ([valueObj isWeeks]) { - jsonDict[@".tag"] = @"weeks"; - } else if ([valueObj isMonths]) { - jsonDict[@".tag"] = @"months"; - } else if ([valueObj isYears]) { - jsonDict[@".tag"] = @"years"; - } else if ([valueObj isOther]) { - jsonDict[@".tag"] = @"other"; - } else { - jsonDict[@".tag"] = @"other"; - } + jsonDict[@"previous_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.previousValue]; + jsonDict[@"new_value"] = [DBTEAMLOGPassPolicySerializer serialize:valueObj.dNewValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)valueDict { - NSString *tag = valueDict[@".tag"]; ++ (DBTEAMLOGViewerInfoPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGPassPolicy *previousValue = [DBTEAMLOGPassPolicySerializer deserialize:valueDict[@"previous_value"]]; + DBTEAMLOGPassPolicy *dNewValue = [DBTEAMLOGPassPolicySerializer deserialize:valueDict[@"new_value"]]; - if ([tag isEqualToString:@"milliseconds"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithMilliseconds]; - } else if ([tag isEqualToString:@"seconds"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithSeconds]; - } else if ([tag isEqualToString:@"minutes"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithMinutes]; - } else if ([tag isEqualToString:@"hours"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithHours]; - } else if ([tag isEqualToString:@"days"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithDays]; - } else if ([tag isEqualToString:@"weeks"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithWeeks]; - } else if ([tag isEqualToString:@"months"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithMonths]; - } else if ([tag isEqualToString:@"years"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithYears]; - } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGTimeUnit alloc] initWithOther]; - } else { - return [[DBTEAMLOGTimeUnit alloc] initWithOther]; - } + return [[DBTEAMLOGViewerInfoPolicyChangedDetails alloc] initWithPreviousValue:previousValue dNewValue:dNewValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTwoAccountChangePolicyDetails.h" -#import "DBTEAMLOGTwoAccountPolicy.h" +#import "DBTEAMLOGViewerInfoPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGTwoAccountChangePolicyDetails +@implementation DBTEAMLOGViewerInfoPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue - previousValue:(DBTEAMLOGTwoAccountPolicy *)previousValue { - [DBStoneValidators nonnullValidator:nil](dNewValue); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _dNewValue = dNewValue; - _previousValue = previousValue; + _description_ = description_; } return self; } -- (instancetype)initWithDNewValue:(DBTEAMLOGTwoAccountPolicy *)dNewValue { - return [self initWithDNewValue:dNewValue previousValue:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGViewerInfoPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTwoAccountChangePolicyDetailsSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGViewerInfoPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTwoAccountChangePolicyDetailsSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGViewerInfoPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60302,10 +187591,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.dNewValue hash]; - if (self.previousValue != nil) { - result = prime * result + [self.previousValue hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -60319,22 +187605,16 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTwoAccountChangePolicyDetails:other]; + return [self isEqualToViewerInfoPolicyChangedType:other]; } - -- (BOOL)isEqualToTwoAccountChangePolicyDetails: - (DBTEAMLOGTwoAccountChangePolicyDetails *)aTwoAccountChangePolicyDetails { - if (self == aTwoAccountChangePolicyDetails) { + +- (BOOL)isEqualToViewerInfoPolicyChangedType:(DBTEAMLOGViewerInfoPolicyChangedType *)aViewerInfoPolicyChangedType { + if (self == aViewerInfoPolicyChangedType) { return YES; } - if (![self.dNewValue isEqual:aTwoAccountChangePolicyDetails.dNewValue]) { + if (![self.description_ isEqual:aViewerInfoPolicyChangedType.description_]) { return NO; } - if (self.previousValue) { - if (![self.previousValue isEqual:aTwoAccountChangePolicyDetails.previousValue]) { - return NO; - } - } return YES; } @@ -60342,44 +187622,38 @@ - (BOOL)isEqualToTwoAccountChangePolicyDetails: #pragma mark - Serializer Object -@implementation DBTEAMLOGTwoAccountChangePolicyDetailsSerializer +@implementation DBTEAMLOGViewerInfoPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"new_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.dNewValue]; - if (valueObj.previousValue) { - jsonDict[@"previous_value"] = [DBTEAMLOGTwoAccountPolicySerializer serialize:valueObj.previousValue]; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)valueDict { - DBTEAMLOGTwoAccountPolicy *dNewValue = [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"new_value"]]; - DBTEAMLOGTwoAccountPolicy *previousValue = - valueDict[@"previous_value"] ? [DBTEAMLOGTwoAccountPolicySerializer deserialize:valueDict[@"previous_value"]] - : nil; ++ (DBTEAMLOGViewerInfoPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGTwoAccountChangePolicyDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; + return [[DBTEAMLOGViewerInfoPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGTwoAccountPolicy.h" +#import "DBTEAMLOGWatermarkingPolicy.h" #pragma mark - API Object -@implementation DBTEAMLOGTwoAccountPolicy +@implementation DBTEAMLOGWatermarkingPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMLOGTwoAccountPolicyDisabled; + _tag = DBTEAMLOGWatermarkingPolicyDisabled; } return self; } @@ -60387,7 +187661,7 @@ - (instancetype)initWithDisabled { - (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMLOGTwoAccountPolicyEnabled; + _tag = DBTEAMLOGWatermarkingPolicyEnabled; } return self; } @@ -60395,7 +187669,7 @@ - (instancetype)initWithEnabled { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMLOGTwoAccountPolicyOther; + _tag = DBTEAMLOGWatermarkingPolicyOther; } return self; } @@ -60405,25 +187679,25 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMLOGTwoAccountPolicyDisabled; + return _tag == DBTEAMLOGWatermarkingPolicyDisabled; } - (BOOL)isEnabled { - return _tag == DBTEAMLOGTwoAccountPolicyEnabled; + return _tag == DBTEAMLOGWatermarkingPolicyEnabled; } - (BOOL)isOther { - return _tag == DBTEAMLOGTwoAccountPolicyOther; + return _tag == DBTEAMLOGWatermarkingPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMLOGTwoAccountPolicyDisabled: - return @"DBTEAMLOGTwoAccountPolicyDisabled"; - case DBTEAMLOGTwoAccountPolicyEnabled: - return @"DBTEAMLOGTwoAccountPolicyEnabled"; - case DBTEAMLOGTwoAccountPolicyOther: - return @"DBTEAMLOGTwoAccountPolicyOther"; + case DBTEAMLOGWatermarkingPolicyDisabled: + return @"DBTEAMLOGWatermarkingPolicyDisabled"; + case DBTEAMLOGWatermarkingPolicyEnabled: + return @"DBTEAMLOGWatermarkingPolicyEnabled"; + case DBTEAMLOGWatermarkingPolicyOther: + return @"DBTEAMLOGWatermarkingPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -60431,18 +187705,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGTwoAccountPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWatermarkingPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGTwoAccountPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWatermarkingPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGTwoAccountPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGWatermarkingPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60460,12 +187734,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMLOGTwoAccountPolicyDisabled: + case DBTEAMLOGWatermarkingPolicyDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTwoAccountPolicyEnabled: + break; + case DBTEAMLOGWatermarkingPolicyEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMLOGTwoAccountPolicyOther: + break; + case DBTEAMLOGWatermarkingPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -60480,23 +187757,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToTwoAccountPolicy:other]; + return [self isEqualToWatermarkingPolicy:other]; } -- (BOOL)isEqualToTwoAccountPolicy:(DBTEAMLOGTwoAccountPolicy *)aTwoAccountPolicy { - if (self == aTwoAccountPolicy) { +- (BOOL)isEqualToWatermarkingPolicy:(DBTEAMLOGWatermarkingPolicy *)aWatermarkingPolicy { + if (self == aWatermarkingPolicy) { return YES; } - if (self.tag != aTwoAccountPolicy.tag) { + if (self.tag != aWatermarkingPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMLOGTwoAccountPolicyDisabled: - return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; - case DBTEAMLOGTwoAccountPolicyEnabled: - return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; - case DBTEAMLOGTwoAccountPolicyOther: - return [[self tagName] isEqual:[aTwoAccountPolicy tagName]]; + case DBTEAMLOGWatermarkingPolicyDisabled: + return [[self tagName] isEqual:[aWatermarkingPolicy tagName]]; + case DBTEAMLOGWatermarkingPolicyEnabled: + return [[self tagName] isEqual:[aWatermarkingPolicy tagName]]; + case DBTEAMLOGWatermarkingPolicyOther: + return [[self tagName] isEqual:[aWatermarkingPolicy tagName]]; } return YES; } @@ -60505,9 +187782,9 @@ - (BOOL)isEqualToTwoAccountPolicy:(DBTEAMLOGTwoAccountPolicy *)aTwoAccountPolicy #pragma mark - Serializer Object -@implementation DBTEAMLOGTwoAccountPolicySerializer +@implementation DBTEAMLOGWatermarkingPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { @@ -60520,20 +187797,20 @@ + (NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWatermarkingPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMLOGTwoAccountPolicy alloc] initWithDisabled]; + return [[DBTEAMLOGWatermarkingPolicy alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMLOGTwoAccountPolicy alloc] initWithEnabled]; + return [[DBTEAMLOGWatermarkingPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMLOGTwoAccountPolicy alloc] initWithOther]; + return [[DBTEAMLOGWatermarkingPolicy alloc] initWithOther]; } else { - return [[DBTEAMLOGTwoAccountPolicy alloc] initWithOther]; + return [[DBTEAMLOGWatermarkingPolicy alloc] initWithOther]; } } @@ -60541,41 +187818,42 @@ + (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGUserLinkedAppLogInfo.h" +#import "DBTEAMLOGWatermarkingPolicy.h" +#import "DBTEAMLOGWatermarkingPolicyChangedDetails.h" #pragma mark - API Object -@implementation DBTEAMLOGUserLinkedAppLogInfo +@implementation DBTEAMLOGWatermarkingPolicyChangedDetails #pragma mark - Constructors -- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { +- (instancetype)initWithDNewValue:(DBTEAMLOGWatermarkingPolicy *)dNewValue + previousValue:(DBTEAMLOGWatermarkingPolicy *)previousValue { + [DBStoneValidators nonnullValidator:nil](dNewValue); + [DBStoneValidators nonnullValidator:nil](previousValue); - self = [super initWithAppId:appId displayName:displayName]; + self = [super init]; if (self) { + _dNewValue = dNewValue; + _previousValue = previousValue; } return self; } -- (instancetype)initDefault { - return [self initWithAppId:nil displayName:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGUserLinkedAppLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGUserLinkedAppLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60592,12 +187870,8 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.appId != nil) { - result = prime * result + [self.appId hash]; - } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; - } + result = prime * result + [self.dNewValue hash]; + result = prime * result + [self.previousValue hash]; return prime * result; } @@ -60611,22 +187885,19 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserLinkedAppLogInfo:other]; + return [self isEqualToWatermarkingPolicyChangedDetails:other]; } -- (BOOL)isEqualToUserLinkedAppLogInfo:(DBTEAMLOGUserLinkedAppLogInfo *)anUserLinkedAppLogInfo { - if (self == anUserLinkedAppLogInfo) { +- (BOOL)isEqualToWatermarkingPolicyChangedDetails: + (DBTEAMLOGWatermarkingPolicyChangedDetails *)aWatermarkingPolicyChangedDetails { + if (self == aWatermarkingPolicyChangedDetails) { return YES; } - if (self.appId) { - if (![self.appId isEqual:anUserLinkedAppLogInfo.appId]) { - return NO; - } + if (![self.dNewValue isEqual:aWatermarkingPolicyChangedDetails.dNewValue]) { + return NO; } - if (self.displayName) { - if (![self.displayName isEqual:anUserLinkedAppLogInfo.displayName]) { - return NO; - } + if (![self.previousValue isEqual:aWatermarkingPolicyChangedDetails.previousValue]) { + return NO; } return YES; } @@ -60635,71 +187906,61 @@ - (BOOL)isEqualToUserLinkedAppLogInfo:(DBTEAMLOGUserLinkedAppLogInfo *)anUserLin #pragma mark - Serializer Object -@implementation DBTEAMLOGUserLinkedAppLogInfoSerializer +@implementation DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.appId) { - jsonDict[@"app_id"] = valueObj.appId; - } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; - } + jsonDict[@"new_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.dNewValue]; + jsonDict[@"previous_value"] = [DBTEAMLOGWatermarkingPolicySerializer serialize:valueObj.previousValue]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *appId = valueDict[@"app_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; ++ (DBTEAMLOGWatermarkingPolicyChangedDetails *)deserialize:(NSDictionary *)valueDict { + DBTEAMLOGWatermarkingPolicy *dNewValue = [DBTEAMLOGWatermarkingPolicySerializer deserialize:valueDict[@"new_value"]]; + DBTEAMLOGWatermarkingPolicy *previousValue = + [DBTEAMLOGWatermarkingPolicySerializer deserialize:valueDict[@"previous_value"]]; - return [[DBTEAMLOGUserLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; + return [[DBTEAMLOGWatermarkingPolicyChangedDetails alloc] initWithDNewValue:dNewValue previousValue:previousValue]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGUserNameLogInfo.h" +#import "DBTEAMLOGWatermarkingPolicyChangedType.h" #pragma mark - API Object -@implementation DBTEAMLOGUserNameLogInfo +@implementation DBTEAMLOGWatermarkingPolicyChangedType #pragma mark - Constructors -- (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname locale:(NSString *)locale { - [DBStoneValidators nonnullValidator:nil](givenName); - [DBStoneValidators nonnullValidator:nil](surname); +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); self = [super init]; if (self) { - _givenName = givenName; - _surname = surname; - _locale = locale; + _description_ = description_; } return self; } -- (instancetype)initWithGivenName:(NSString *)givenName surname:(NSString *)surname { - return [self initWithGivenName:givenName surname:surname locale:nil]; -} - #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGUserNameLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWatermarkingPolicyChangedTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGUserNameLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWatermarkingPolicyChangedTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGUserNameLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGWatermarkingPolicyChangedTypeSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60716,11 +187977,7 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - result = prime * result + [self.givenName hash]; - result = prime * result + [self.surname hash]; - if (self.locale != nil) { - result = prime * result + [self.locale hash]; - } + result = prime * result + [self.description_ hash]; return prime * result; } @@ -60734,24 +187991,17 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserNameLogInfo:other]; + return [self isEqualToWatermarkingPolicyChangedType:other]; } -- (BOOL)isEqualToUserNameLogInfo:(DBTEAMLOGUserNameLogInfo *)anUserNameLogInfo { - if (self == anUserNameLogInfo) { +- (BOOL)isEqualToWatermarkingPolicyChangedType: + (DBTEAMLOGWatermarkingPolicyChangedType *)aWatermarkingPolicyChangedType { + if (self == aWatermarkingPolicyChangedType) { return YES; } - if (![self.givenName isEqual:anUserNameLogInfo.givenName]) { - return NO; - } - if (![self.surname isEqual:anUserNameLogInfo.surname]) { + if (![self.description_ isEqual:aWatermarkingPolicyChangedType.description_]) { return NO; } - if (self.locale) { - if (![self.locale isEqual:anUserNameLogInfo.locale]) { - return NO; - } - } return YES; } @@ -60759,67 +188009,75 @@ - (BOOL)isEqualToUserNameLogInfo:(DBTEAMLOGUserNameLogInfo *)anUserNameLogInfo { #pragma mark - Serializer Object -@implementation DBTEAMLOGUserNameLogInfoSerializer +@implementation DBTEAMLOGWatermarkingPolicyChangedTypeSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - jsonDict[@"given_name"] = valueObj.givenName; - jsonDict[@"surname"] = valueObj.surname; - if (valueObj.locale) { - jsonDict[@"locale"] = valueObj.locale; - } + jsonDict[@"description"] = valueObj.description_; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *givenName = valueDict[@"given_name"]; - NSString *surname = valueDict[@"surname"]; - NSString *locale = valueDict[@"locale"] ?: nil; ++ (DBTEAMLOGWatermarkingPolicyChangedType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; - return [[DBTEAMLOGUserNameLogInfo alloc] initWithGivenName:givenName surname:surname locale:locale]; + return [[DBTEAMLOGWatermarkingPolicyChangedType alloc] initWithDescription_:description_]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMLOGAppLogInfo.h" -#import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" +#import "DBTEAMLOGWebDeviceSessionLogInfo.h" +#import "DBTEAMLOGWebSessionLogInfo.h" #pragma mark - API Object -@implementation DBTEAMLOGUserOrTeamLinkedAppLogInfo +@implementation DBTEAMLOGWebDeviceSessionLogInfo #pragma mark - Constructors -- (instancetype)initWithAppId:(NSString *)appId displayName:(NSString *)displayName { +- (instancetype)initWithUserAgent:(NSString *)userAgent + os:(NSString *)os + browser:(NSString *)browser + ipAddress:(NSString *)ipAddress + created:(NSDate *)created + updated:(NSDate *)updated + sessionInfo:(DBTEAMLOGWebSessionLogInfo *)sessionInfo { + [DBStoneValidators nonnullValidator:nil](userAgent); + [DBStoneValidators nonnullValidator:nil](os); + [DBStoneValidators nonnullValidator:nil](browser); - self = [super initWithAppId:appId displayName:displayName]; + self = [super initWithIpAddress:ipAddress created:created updated:updated]; if (self) { + _sessionInfo = sessionInfo; + _userAgent = userAgent; + _os = os; + _browser = browser; } return self; } -- (instancetype)initDefault { - return [self initWithAppId:nil displayName:nil]; +- (instancetype)initWithUserAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser { + return [self initWithUserAgent:userAgent os:os browser:browser ipAddress:nil created:nil updated:nil sessionInfo:nil]; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWebDeviceSessionLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMLOGWebDeviceSessionLogInfoSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -60836,11 +188094,20 @@ - (NSUInteger)hash { NSUInteger prime = 31; NSUInteger result = 1; - if (self.appId != nil) { - result = prime * result + [self.appId hash]; + result = prime * result + [self.userAgent hash]; + result = prime * result + [self.os hash]; + result = prime * result + [self.browser hash]; + if (self.ipAddress != nil) { + result = prime * result + [self.ipAddress hash]; } - if (self.displayName != nil) { - result = prime * result + [self.displayName hash]; + if (self.created != nil) { + result = prime * result + [self.created hash]; + } + if (self.updated != nil) { + result = prime * result + [self.updated hash]; + } + if (self.sessionInfo != nil) { + result = prime * result + [self.sessionInfo hash]; } return prime * result; @@ -60855,20 +188122,39 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToUserOrTeamLinkedAppLogInfo:other]; + return [self isEqualToWebDeviceSessionLogInfo:other]; } -- (BOOL)isEqualToUserOrTeamLinkedAppLogInfo:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)anUserOrTeamLinkedAppLogInfo { - if (self == anUserOrTeamLinkedAppLogInfo) { +- (BOOL)isEqualToWebDeviceSessionLogInfo:(DBTEAMLOGWebDeviceSessionLogInfo *)aWebDeviceSessionLogInfo { + if (self == aWebDeviceSessionLogInfo) { return YES; } - if (self.appId) { - if (![self.appId isEqual:anUserOrTeamLinkedAppLogInfo.appId]) { + if (![self.userAgent isEqual:aWebDeviceSessionLogInfo.userAgent]) { + return NO; + } + if (![self.os isEqual:aWebDeviceSessionLogInfo.os]) { + return NO; + } + if (![self.browser isEqual:aWebDeviceSessionLogInfo.browser]) { + return NO; + } + if (self.ipAddress) { + if (![self.ipAddress isEqual:aWebDeviceSessionLogInfo.ipAddress]) { return NO; } } - if (self.displayName) { - if (![self.displayName isEqual:anUserOrTeamLinkedAppLogInfo.displayName]) { + if (self.created) { + if (![self.created isEqual:aWebDeviceSessionLogInfo.created]) { + return NO; + } + } + if (self.updated) { + if (![self.updated isEqual:aWebDeviceSessionLogInfo.updated]) { + return NO; + } + } + if (self.sessionInfo) { + if (![self.sessionInfo isEqual:aWebDeviceSessionLogInfo.sessionInfo]) { return NO; } } @@ -60879,26 +188165,51 @@ - (BOOL)isEqualToUserOrTeamLinkedAppLogInfo:(DBTEAMLOGUserOrTeamLinkedAppLogInfo #pragma mark - Serializer Object -@implementation DBTEAMLOGUserOrTeamLinkedAppLogInfoSerializer +@implementation DBTEAMLOGWebDeviceSessionLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebDeviceSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if (valueObj.appId) { - jsonDict[@"app_id"] = valueObj.appId; + jsonDict[@"user_agent"] = valueObj.userAgent; + jsonDict[@"os"] = valueObj.os; + jsonDict[@"browser"] = valueObj.browser; + if (valueObj.ipAddress) { + jsonDict[@"ip_address"] = valueObj.ipAddress; } - if (valueObj.displayName) { - jsonDict[@"display_name"] = valueObj.displayName; + if (valueObj.created) { + jsonDict[@"created"] = [DBNSDateSerializer serialize:valueObj.created dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.updated) { + jsonDict[@"updated"] = [DBNSDateSerializer serialize:valueObj.updated dateFormat:@"%Y-%m-%dT%H:%M:%SZ"]; + } + if (valueObj.sessionInfo) { + jsonDict[@"session_info"] = [DBTEAMLOGWebSessionLogInfoSerializer serialize:valueObj.sessionInfo]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)valueDict { - NSString *appId = valueDict[@"app_id"] ?: nil; - NSString *displayName = valueDict[@"display_name"] ?: nil; ++ (DBTEAMLOGWebDeviceSessionLogInfo *)deserialize:(NSDictionary *)valueDict { + NSString *userAgent = valueDict[@"user_agent"]; + NSString *os = valueDict[@"os"]; + NSString *browser = valueDict[@"browser"]; + NSString *ipAddress = valueDict[@"ip_address"] ?: nil; + NSDate *created = valueDict[@"created"] + ? [DBNSDateSerializer deserialize:valueDict[@"created"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + NSDate *updated = valueDict[@"updated"] + ? [DBNSDateSerializer deserialize:valueDict[@"updated"] dateFormat:@"%Y-%m-%dT%H:%M:%SZ"] + : nil; + DBTEAMLOGWebSessionLogInfo *sessionInfo = + valueDict[@"session_info"] ? [DBTEAMLOGWebSessionLogInfoSerializer deserialize:valueDict[@"session_info"]] : nil; - return [[DBTEAMLOGUserOrTeamLinkedAppLogInfo alloc] initWithAppId:appId displayName:displayName]; + return [[DBTEAMLOGWebDeviceSessionLogInfo alloc] initWithUserAgent:userAgent + os:os + browser:browser + ipAddress:ipAddress + created:created + updated:updated + sessionInfo:sessionInfo]; } @end @@ -60928,17 +188239,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionLogInfoSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionLogInfoSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGWebSessionLogInfoSerializer serialize:self] description]; } @@ -60993,17 +188304,17 @@ - (BOOL)isEqualToWebSessionLogInfo:(DBTEAMLOGWebSessionLogInfo *)aWebSessionLogI @implementation DBTEAMLOGWebSessionLogInfoSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.sessionId) { jsonDict[@"session_id"] = valueObj.sessionId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)valueDict { NSString *sessionId = valueDict[@"session_id"] ?: nil; return [[DBTEAMLOGWebSessionLogInfo alloc] initWithSessionId:sessionId]; @@ -61011,6 +188322,215 @@ + (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)valueDict { @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails + +#pragma mark - Constructors + +- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue { + [DBStoneValidators nonnullValidator:nil](previousValue); + [DBStoneValidators nonnullValidator:nil](dNewValue); + + self = [super init]; + if (self) { + _previousValue = previousValue; + _dNewValue = dNewValue; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.previousValue hash]; + result = prime * result + [self.dNewValue hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToWebSessionsChangeActiveSessionLimitDetails:other]; +} + +- (BOOL)isEqualToWebSessionsChangeActiveSessionLimitDetails: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)aWebSessionsChangeActiveSessionLimitDetails { + if (self == aWebSessionsChangeActiveSessionLimitDetails) { + return YES; + } + if (![self.previousValue isEqual:aWebSessionsChangeActiveSessionLimitDetails.previousValue]) { + return NO; + } + if (![self.dNewValue isEqual:aWebSessionsChangeActiveSessionLimitDetails.dNewValue]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"previous_value"] = valueObj.previousValue; + jsonDict[@"new_value"] = valueObj.dNewValue; + + return jsonDict; +} + ++ (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)deserialize:(NSDictionary *)valueDict { + NSString *previousValue = valueDict[@"previous_value"]; + NSString *dNewValue = valueDict[@"new_value"]; + + return [[DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails alloc] initWithPreviousValue:previousValue + dNewValue:dNewValue]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToWebSessionsChangeActiveSessionLimitType:other]; +} + +- (BOOL)isEqualToWebSessionsChangeActiveSessionLimitType: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)aWebSessionsChangeActiveSessionLimitType { + if (self == aWebSessionsChangeActiveSessionLimitType) { + return YES; + } + if (![self.description_ isEqual:aWebSessionsChangeActiveSessionLimitType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGWebSessionsChangeActiveSessionLimitType alloc] initWithDescription_:description_]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h" @@ -61039,17 +188559,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer serialize:self] description]; } @@ -61113,7 +188633,7 @@ - (BOOL)isEqualToWebSessionsChangeFixedLengthPolicyDetails: @implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { @@ -61123,10 +188643,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGWebSessionsFixedLengthPolicy *dNewValue = valueDict[@"new_value"] ? [DBTEAMLOGWebSessionsFixedLengthPolicySerializer deserialize:valueDict[@"new_value"]] : nil; @@ -61141,6 +188661,106 @@ + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionar @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToWebSessionsChangeFixedLengthPolicyType:other]; +} + +- (BOOL)isEqualToWebSessionsChangeFixedLengthPolicyType: + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)aWebSessionsChangeFixedLengthPolicyType { + if (self == aWebSessionsChangeFixedLengthPolicyType) { + return YES; + } + if (![self.description_ isEqual:aWebSessionsChangeFixedLengthPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGWebSessionsChangeFixedLengthPolicyType alloc] initWithDescription_:description_]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h" @@ -61169,17 +188789,17 @@ - (instancetype)initDefault { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer serialize:self] description]; } @@ -61243,7 +188863,7 @@ - (BOOL)isEqualToWebSessionsChangeIdleLengthPolicyDetails: @implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetailsSerializer -+ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if (valueObj.dNewValue) { @@ -61253,10 +188873,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails * jsonDict[@"previous_value"] = [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:valueObj.previousValue]; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)valueDict { DBTEAMLOGWebSessionsIdleLengthPolicy *dNewValue = valueDict[@"new_value"] ? [DBTEAMLOGWebSessionsIdleLengthPolicySerializer deserialize:valueDict[@"new_value"]] : nil; @@ -61271,6 +188891,106 @@ + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h" + +#pragma mark - API Object + +@implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyType + +#pragma mark - Constructors + +- (instancetype)initWithDescription_:(NSString *)description_ { + [DBStoneValidators nonnullValidator:nil](description_); + + self = [super init]; + if (self) { + _description_ = description_; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.description_ hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToWebSessionsChangeIdleLengthPolicyType:other]; +} + +- (BOOL)isEqualToWebSessionsChangeIdleLengthPolicyType: + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)aWebSessionsChangeIdleLengthPolicyType { + if (self == aWebSessionsChangeIdleLengthPolicyType) { + return YES; + } + if (![self.description_ isEqual:aWebSessionsChangeIdleLengthPolicyType.description_]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer + ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"description"] = valueObj.description_; + + return jsonDict; +} + ++ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)deserialize:(NSDictionary *)valueDict { + NSString *description_ = valueDict[@"description"]; + + return [[DBTEAMLOGWebSessionsChangeIdleLengthPolicyType alloc] initWithDescription_:description_]; +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBTEAMLOGDurationLogInfo.h" @@ -61349,17 +189069,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsFixedLengthPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsFixedLengthPolicySerializer serialize:self] description]; } @@ -61380,10 +189100,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMLOGWebSessionsFixedLengthPolicyDefined: result = prime * result + [self.defined hash]; + break; case DBTEAMLOGWebSessionsFixedLengthPolicyUndefined: result = prime * result + [[self tagName] hash]; + break; case DBTEAMLOGWebSessionsFixedLengthPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -61425,11 +189148,11 @@ - (BOOL)isEqualToWebSessionsFixedLengthPolicy:(DBTEAMLOGWebSessionsFixedLengthPo @implementation DBTEAMLOGWebSessionsFixedLengthPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefined]) { - jsonDict[@"defined"] = [[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined]]; jsonDict[@".tag"] = @"defined"; } else if ([valueObj isUndefined]) { jsonDict[@".tag"] = @"undefined"; @@ -61439,10 +189162,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"defined"]) { @@ -61537,17 +189260,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMLOGWebSessionsIdleLengthPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMLOGWebSessionsIdleLengthPolicySerializer serialize:self] description]; } @@ -61568,10 +189291,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMLOGWebSessionsIdleLengthPolicyDefined: result = prime * result + [self.defined hash]; + break; case DBTEAMLOGWebSessionsIdleLengthPolicyUndefined: result = prime * result + [[self tagName] hash]; + break; case DBTEAMLOGWebSessionsIdleLengthPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -61613,11 +189339,11 @@ - (BOOL)isEqualToWebSessionsIdleLengthPolicy:(DBTEAMLOGWebSessionsIdleLengthPoli @implementation DBTEAMLOGWebSessionsIdleLengthPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDefined]) { - jsonDict[@"defined"] = [[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBTEAMLOGDurationLogInfoSerializer serialize:valueObj.defined]]; jsonDict[@".tag"] = @"defined"; } else if ([valueObj isUndefined]) { jsonDict[@".tag"] = @"undefined"; @@ -61627,10 +189353,10 @@ + (NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"defined"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccessMethodLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccessMethodLogInfo.h index c5dfba62e..f1a981c64 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccessMethodLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccessMethodLogInfo.h @@ -32,42 +32,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGAccessMethodLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGAccessMethodLogInfo` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { - /// End user session details. - DBTEAMLOGAccessMethodLogInfoEndUser, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag){ + /// Admin console session details. + DBTEAMLOGAccessMethodLogInfoAdminConsole, - /// Sign in as session details. - DBTEAMLOGAccessMethodLogInfoSignInAs, + /// Api session details. + DBTEAMLOGAccessMethodLogInfoApi, - /// Content manager session details. - DBTEAMLOGAccessMethodLogInfoContentManager, + /// Content manager session details. + DBTEAMLOGAccessMethodLogInfoContentManager, - /// Admin console session details. - DBTEAMLOGAccessMethodLogInfoAdminConsole, + /// End user session details. + DBTEAMLOGAccessMethodLogInfoEndUser, - /// Api session details. - DBTEAMLOGAccessMethodLogInfoApi, + /// Enterprise console session details. + DBTEAMLOGAccessMethodLogInfoEnterpriseConsole, - /// (no description). - DBTEAMLOGAccessMethodLogInfoOther, + /// Sign in as session details. + DBTEAMLOGAccessMethodLogInfoSignInAs, + + /// (no description). + DBTEAMLOGAccessMethodLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGAccessMethodLogInfoTag tag; -/// End user session details. @note Ensure the `isEndUser` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSessionLogInfo *endUser; - -/// Sign in as session details. @note Ensure the `isSignInAs` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *signInAs; - -/// Content manager session details. @note Ensure the `isContentManager` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *contentManager; - /// Admin console session details. @note Ensure the `isAdminConsole` method /// returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *adminConsole; @@ -76,29 +67,46 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGApiSessionLogInfo *api; +/// Content manager session details. @note Ensure the `isContentManager` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *contentManager; + +/// End user session details. @note Ensure the `isEndUser` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSessionLogInfo *endUser; + +/// Enterprise console session details. @note Ensure the `isEnterpriseConsole` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *enterpriseConsole; + +/// Sign in as session details. @note Ensure the `isSignInAs` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *signInAs; + #pragma mark - Constructors /// -/// Initializes union class with tag state of "end_user". +/// Initializes union class with tag state of "admin_console". /// -/// Description of the "end_user" tag state: End user session details. +/// Description of the "admin_console" tag state: Admin console session details. /// -/// @param endUser End user session details. +/// @param adminConsole Admin console session details. /// /// @return An initialized instance. /// -- (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser; +- (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole; /// -/// Initializes union class with tag state of "sign_in_as". +/// Initializes union class with tag state of "api". /// -/// Description of the "sign_in_as" tag state: Sign in as session details. +/// Description of the "api" tag state: Api session details. /// -/// @param signInAs Sign in as session details. +/// @param api Api session details. /// /// @return An initialized instance. /// -- (instancetype)initWithSignInAs:(DBTEAMLOGWebSessionLogInfo *)signInAs; +- (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api; /// /// Initializes union class with tag state of "content_manager". @@ -113,26 +121,38 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { - (instancetype)initWithContentManager:(DBTEAMLOGWebSessionLogInfo *)contentManager; /// -/// Initializes union class with tag state of "admin_console". +/// Initializes union class with tag state of "end_user". /// -/// Description of the "admin_console" tag state: Admin console session details. +/// Description of the "end_user" tag state: End user session details. /// -/// @param adminConsole Admin console session details. +/// @param endUser End user session details. /// /// @return An initialized instance. /// -- (instancetype)initWithAdminConsole:(DBTEAMLOGWebSessionLogInfo *)adminConsole; +- (instancetype)initWithEndUser:(DBTEAMLOGSessionLogInfo *)endUser; /// -/// Initializes union class with tag state of "api". +/// Initializes union class with tag state of "enterprise_console". /// -/// Description of the "api" tag state: Api session details. +/// Description of the "enterprise_console" tag state: Enterprise console +/// session details. /// -/// @param api Api session details. +/// @param enterpriseConsole Enterprise console session details. /// /// @return An initialized instance. /// -- (instancetype)initWithApi:(DBTEAMLOGApiSessionLogInfo *)api; +- (instancetype)initWithEnterpriseConsole:(DBTEAMLOGWebSessionLogInfo *)enterpriseConsole; + +/// +/// Initializes union class with tag state of "sign_in_as". +/// +/// Description of the "sign_in_as" tag state: Sign in as session details. +/// +/// @param signInAs Sign in as session details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAs:(DBTEAMLOGWebSessionLogInfo *)signInAs; /// /// Initializes union class with tag state of "other". @@ -146,24 +166,24 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "end_user". +/// Retrieves whether the union's current tag state has value "admin_console". /// /// @note Call this method and ensure it returns true before accessing the -/// `endUser` property, otherwise a runtime exception will be thrown. +/// `adminConsole` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "end_user". +/// @return Whether the union's current tag state has value "admin_console". /// -- (BOOL)isEndUser; +- (BOOL)isAdminConsole; /// -/// Retrieves whether the union's current tag state has value "sign_in_as". +/// Retrieves whether the union's current tag state has value "api". /// -/// @note Call this method and ensure it returns true before accessing the -/// `signInAs` property, otherwise a runtime exception will be thrown. +/// @note Call this method and ensure it returns true before accessing the `api` +/// property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "sign_in_as". +/// @return Whether the union's current tag state has value "api". /// -- (BOOL)isSignInAs; +- (BOOL)isApi; /// /// Retrieves whether the union's current tag state has value "content_manager". @@ -176,24 +196,36 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { - (BOOL)isContentManager; /// -/// Retrieves whether the union's current tag state has value "admin_console". +/// Retrieves whether the union's current tag state has value "end_user". /// /// @note Call this method and ensure it returns true before accessing the -/// `adminConsole` property, otherwise a runtime exception will be thrown. +/// `endUser` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "admin_console". +/// @return Whether the union's current tag state has value "end_user". /// -- (BOOL)isAdminConsole; +- (BOOL)isEndUser; /// -/// Retrieves whether the union's current tag state has value "api". +/// Retrieves whether the union's current tag state has value +/// "enterprise_console". /// -/// @note Call this method and ensure it returns true before accessing the `api` -/// property, otherwise a runtime exception will be thrown. +/// @note Call this method and ensure it returns true before accessing the +/// `enterpriseConsole` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "api". +/// @return Whether the union's current tag state has value +/// "enterprise_console". /// -- (BOOL)isApi; +- (BOOL)isEnterpriseConsole; + +/// +/// Retrieves whether the union's current tag state has value "sign_in_as". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `signInAs` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "sign_in_as". +/// +- (BOOL)isSignInAs; /// /// Retrieves whether the union's current tag state has value "other". @@ -227,7 +259,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccessMethodLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccessMethodLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAccessMethodLogInfo` instances. @@ -237,7 +269,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccessMethodLogInfoTag) { /// /// @return An instantiation of the `DBTEAMLOGAccessMethodLogInfo` object. /// -+ (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccessMethodLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureAvailability.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureAvailability.h index 58ce8ad53..e016e1bc4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureAvailability.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureAvailability.h @@ -28,15 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGAccountCaptureAvailabilityTag` enum type represents the /// possible tag states with which the `DBTEAMLOGAccountCaptureAvailability` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag) { - /// (no description). - DBTEAMLOGAccountCaptureAvailabilityUnavailable, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag){ + /// (no description). + DBTEAMLOGAccountCaptureAvailabilityAvailable, - /// (no description). - DBTEAMLOGAccountCaptureAvailabilityAvailable, + /// (no description). + DBTEAMLOGAccountCaptureAvailabilityUnavailable, - /// (no description). - DBTEAMLOGAccountCaptureAvailabilityOther, + /// (no description). + DBTEAMLOGAccountCaptureAvailabilityOther, }; @@ -46,18 +46,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "unavailable". +/// Initializes union class with tag state of "available". /// /// @return An initialized instance. /// -- (instancetype)initWithUnavailable; +- (instancetype)initWithAvailable; /// -/// Initializes union class with tag state of "available". +/// Initializes union class with tag state of "unavailable". /// /// @return An initialized instance. /// -- (instancetype)initWithAvailable; +- (instancetype)initWithUnavailable; /// /// Initializes union class with tag state of "other". @@ -71,18 +71,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "unavailable". +/// Retrieves whether the union's current tag state has value "available". /// -/// @return Whether the union's current tag state has value "unavailable". +/// @return Whether the union's current tag state has value "available". /// -- (BOOL)isUnavailable; +- (BOOL)isAvailable; /// -/// Retrieves whether the union's current tag state has value "available". +/// Retrieves whether the union's current tag state has value "unavailable". /// -/// @return Whether the union's current tag state has value "available". +/// @return Whether the union's current tag state has value "unavailable". /// -- (BOOL)isAvailable; +- (BOOL)isUnavailable; /// /// Retrieves whether the union's current tag state has value "other". @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureAvailability` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureAvailability *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureAvailability` instances. @@ -127,7 +127,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCaptureAvailabilityTag) { /// @return An instantiation of the `DBTEAMLOGAccountCaptureAvailability` /// object. /// -+ (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCaptureAvailability *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h index 19f749f8c..9493d9745 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AccountCaptureChangeAvailabilityDetails` struct. /// -/// Granted or revoked the option to enable account capture on domains belonging -/// to the team. +/// Granted/revoked option to enable account capture on team domains. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` instances. @@ -92,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureChangeAvailabilityDetails` object. /// -+ (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityType.h new file mode 100644 index 000000000..14a72aba9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangeAvailabilityType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureChangeAvailabilityType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureChangeAvailabilityType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureChangeAvailabilityType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountCaptureChangeAvailabilityType` +/// struct. +/// +@interface DBTEAMLOGAccountCaptureChangeAvailabilityTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureChangeAvailabilityType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAccountCaptureChangeAvailabilityType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureChangeAvailabilityType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangeAvailabilityType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureChangeAvailabilityType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureChangeAvailabilityType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAccountCaptureChangeAvailabilityType` object. +/// ++ (DBTEAMLOGAccountCaptureChangeAvailabilityType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyDetails.h index a5d744ca2..651800567 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AccountCaptureChangePolicyDetails` struct. /// -/// Changed the account capture policy on a domain belonging to the team. +/// Changed account capture setting on team domain. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGAccountCaptureChangePolicyDetails` /// object. /// -+ (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCaptureChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyType.h new file mode 100644 index 000000000..f7a46a8f4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountCaptureChangePolicyType` struct. +/// +@interface DBTEAMLOGAccountCaptureChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAccountCaptureChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountCaptureChangePolicyType` +/// object. +/// ++ (DBTEAMLOGAccountCaptureChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountDetails.h index 95260f9cb..37300adc4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AccountCaptureMigrateAccountDetails` struct. /// -/// Account captured user migrated their account to the team. +/// Account-captured user migrated account to team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureMigrateAccountDetails` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureMigrateAccountDetails` object. /// -+ (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCaptureMigrateAccountDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountType.h new file mode 100644 index 000000000..4ccc1076c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureMigrateAccountType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureMigrateAccountType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureMigrateAccountType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureMigrateAccountType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountCaptureMigrateAccountType` struct. +/// +@interface DBTEAMLOGAccountCaptureMigrateAccountTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureMigrateAccountType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAccountCaptureMigrateAccountType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureMigrateAccountType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureMigrateAccountType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureMigrateAccountType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureMigrateAccountType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountCaptureMigrateAccountType` +/// object. +/// ++ (DBTEAMLOGAccountCaptureMigrateAccountType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h new file mode 100644 index 000000000..bd7d76568 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h @@ -0,0 +1,97 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureNotificationEmailsSentDetails; +@class DBTEAMLOGAccountCaptureNotificationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureNotificationEmailsSentDetails` struct. +/// +/// Sent account capture email to all unmanaged members. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureNotificationEmailsSentDetails : NSObject + +#pragma mark - Instance fields + +/// Domain name. +@property (nonatomic, readonly, copy) NSString *domainName; + +/// Account-capture email notification type. +@property (nonatomic, readonly, nullable) DBTEAMLOGAccountCaptureNotificationType *notificationType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param domainName Domain name. +/// @param notificationType Account-capture email notification type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainName:(NSString *)domainName + notificationType:(nullable DBTEAMLOGAccountCaptureNotificationType *)notificationType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param domainName Domain name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainName:(NSString *)domainName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `AccountCaptureNotificationEmailsSentDetails` struct. +/// +@interface DBTEAMLOGAccountCaptureNotificationEmailsSentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentDetails` object. +/// ++ (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentType.h new file mode 100644 index 000000000..af3a9f9e2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationEmailsSentType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureNotificationEmailsSentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureNotificationEmailsSentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureNotificationEmailsSentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountCaptureNotificationEmailsSentType` +/// struct. +/// +@interface DBTEAMLOGAccountCaptureNotificationEmailsSentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureNotificationEmailsSentType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationEmailsSentType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureNotificationEmailsSentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAccountCaptureNotificationEmailsSentType` object. +/// ++ (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationType.h new file mode 100644 index 000000000..8f002520b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureNotificationType.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureNotificationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureNotificationType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureNotificationType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAccountCaptureNotificationTypeTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAccountCaptureNotificationType` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountCaptureNotificationTypeTag){ + /// (no description). + DBTEAMLOGAccountCaptureNotificationTypeActionableNotification, + + /// (no description). + DBTEAMLOGAccountCaptureNotificationTypeProactiveWarningNotification, + + /// (no description). + DBTEAMLOGAccountCaptureNotificationTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureNotificationTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "actionable_notification". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithActionableNotification; + +/// +/// Initializes union class with tag state of "proactive_warning_notification". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithProactiveWarningNotification; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "actionable_notification". +/// +/// @return Whether the union's current tag state has value +/// "actionable_notification". +/// +- (BOOL)isActionableNotification; + +/// +/// Retrieves whether the union's current tag state has value +/// "proactive_warning_notification". +/// +/// @return Whether the union's current tag state has value +/// "proactive_warning_notification". +/// +- (BOOL)isProactiveWarningNotification; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAccountCaptureNotificationType` +/// union. +/// +@interface DBTEAMLOGAccountCaptureNotificationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureNotificationType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAccountCaptureNotificationType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureNotificationType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureNotificationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureNotificationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountCaptureNotificationType` +/// object. +/// ++ (DBTEAMLOGAccountCaptureNotificationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCapturePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCapturePolicy.h index 98c9c4ff5..efc06dde5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCapturePolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCapturePolicy.h @@ -27,18 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGAccountCapturePolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGAccountCapturePolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { - /// (no description). - DBTEAMLOGAccountCapturePolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag){ + /// (no description). + DBTEAMLOGAccountCapturePolicyAllUsers, - /// (no description). - DBTEAMLOGAccountCapturePolicyInvitedUsers, + /// (no description). + DBTEAMLOGAccountCapturePolicyDisabled, - /// (no description). - DBTEAMLOGAccountCapturePolicyAllUsers, + /// (no description). + DBTEAMLOGAccountCapturePolicyInvitedUsers, - /// (no description). - DBTEAMLOGAccountCapturePolicyOther, + /// (no description). + DBTEAMLOGAccountCapturePolicyPreventPersonalCreation, + + /// (no description). + DBTEAMLOGAccountCapturePolicyOther, }; @@ -47,6 +50,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { #pragma mark - Constructors +/// +/// Initializes union class with tag state of "all_users". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllUsers; + /// /// Initializes union class with tag state of "disabled". /// @@ -62,11 +72,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { - (instancetype)initWithInvitedUsers; /// -/// Initializes union class with tag state of "all_users". +/// Initializes union class with tag state of "prevent_personal_creation". /// /// @return An initialized instance. /// -- (instancetype)initWithAllUsers; +- (instancetype)initWithPreventPersonalCreation; /// /// Initializes union class with tag state of "other". @@ -79,6 +89,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { #pragma mark - Tag state methods +/// +/// Retrieves whether the union's current tag state has value "all_users". +/// +/// @return Whether the union's current tag state has value "all_users". +/// +- (BOOL)isAllUsers; + /// /// Retrieves whether the union's current tag state has value "disabled". /// @@ -94,11 +111,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { - (BOOL)isInvitedUsers; /// -/// Retrieves whether the union's current tag state has value "all_users". +/// Retrieves whether the union's current tag state has value +/// "prevent_personal_creation". /// -/// @return Whether the union's current tag state has value "all_users". +/// @return Whether the union's current tag state has value +/// "prevent_personal_creation". /// -- (BOOL)isAllUsers; +- (BOOL)isPreventPersonalCreation; /// /// Retrieves whether the union's current tag state has value "other". @@ -132,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCapturePolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCapturePolicy *)instance; /// /// Deserializes `DBTEAMLOGAccountCapturePolicy` instances. @@ -142,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAccountCapturePolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGAccountCapturePolicy` object. /// -+ (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCapturePolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountDetails.h index 6078a45f1..403cd6ffa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AccountCaptureRelinquishAccountDetails` struct. /// -/// Account captured user relinquished their account by changing the email -/// address associated with it. +/// Account-captured user changed account email to personal email. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -63,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountDetails *)instance; /// /// Deserializes `DBTEAMLOGAccountCaptureRelinquishAccountDetails` instances. @@ -74,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGAccountCaptureRelinquishAccountDetails` object. /// -+ (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountType.h new file mode 100644 index 000000000..b7857aa9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountCaptureRelinquishAccountType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountCaptureRelinquishAccountType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountCaptureRelinquishAccountType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountCaptureRelinquishAccountType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountCaptureRelinquishAccountType` +/// struct. +/// +@interface DBTEAMLOGAccountCaptureRelinquishAccountTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountCaptureRelinquishAccountType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAccountCaptureRelinquishAccountType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureRelinquishAccountType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountCaptureRelinquishAccountType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountCaptureRelinquishAccountType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountCaptureRelinquishAccountType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAccountCaptureRelinquishAccountType` object. +/// ++ (DBTEAMLOGAccountCaptureRelinquishAccountType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedDetails.h new file mode 100644 index 000000000..b08386404 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountLockOrUnlockedDetails; +@class DBTEAMLOGAccountState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountLockOrUnlockedDetails` struct. +/// +/// Unlocked/locked account after failed sign in attempts. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountLockOrUnlockedDetails : NSObject + +#pragma mark - Instance fields + +/// The previous account status. +@property (nonatomic, readonly) DBTEAMLOGAccountState *previousValue; + +/// The new account status. +@property (nonatomic, readonly) DBTEAMLOGAccountState *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue The previous account status. +/// @param dNewValue The new account status. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGAccountState *)previousValue + dNewValue:(DBTEAMLOGAccountState *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountLockOrUnlockedDetails` struct. +/// +@interface DBTEAMLOGAccountLockOrUnlockedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountLockOrUnlockedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAccountLockOrUnlockedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountLockOrUnlockedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountLockOrUnlockedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountLockOrUnlockedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountLockOrUnlockedDetails` +/// object. +/// ++ (DBTEAMLOGAccountLockOrUnlockedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedType.h new file mode 100644 index 000000000..f51f4036b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountLockOrUnlockedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountLockOrUnlockedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountLockOrUnlockedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountLockOrUnlockedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AccountLockOrUnlockedType` struct. +/// +@interface DBTEAMLOGAccountLockOrUnlockedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountLockOrUnlockedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAccountLockOrUnlockedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountLockOrUnlockedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountLockOrUnlockedType *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountLockOrUnlockedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountLockOrUnlockedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountLockOrUnlockedType` object. +/// ++ (DBTEAMLOGAccountLockOrUnlockedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountState.h new file mode 100644 index 000000000..070399ec6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAccountState.h @@ -0,0 +1,131 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAccountState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AccountState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAccountState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAccountStateTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGAccountState` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAccountStateTag){ + /// (no description). + DBTEAMLOGAccountStateLocked, + + /// (no description). + DBTEAMLOGAccountStateUnlocked, + + /// (no description). + DBTEAMLOGAccountStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAccountStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "locked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLocked; + +/// +/// Initializes union class with tag state of "unlocked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlocked; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "locked". +/// +/// @return Whether the union's current tag state has value "locked". +/// +- (BOOL)isLocked; + +/// +/// Retrieves whether the union's current tag state has value "unlocked". +/// +/// @return Whether the union's current tag state has value "unlocked". +/// +- (BOOL)isUnlocked; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAccountState` union. +/// +@interface DBTEAMLOGAccountStateSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAccountState` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAccountState` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAccountState *)instance; + +/// +/// Deserializes `DBTEAMLOGAccountState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAccountState` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAccountState` object. +/// ++ (DBTEAMLOGAccountState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActionDetails.h new file mode 100644 index 000000000..b3336f6a2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActionDetails.h @@ -0,0 +1,198 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGActionDetails; +@class DBTEAMLOGJoinTeamDetails; +@class DBTEAMLOGMemberRemoveActionType; +@class DBTEAMLOGTeamInviteDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ActionDetails` union. +/// +/// Additional information indicating the action taken that caused status +/// change. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGActionDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGActionDetailsTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGActionDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGActionDetailsTag){ + /// Define how the user was removed from the team. + DBTEAMLOGActionDetailsRemoveAction, + + /// Additional information relevant when someone is invited to the team. + DBTEAMLOGActionDetailsTeamInviteDetails, + + /// Additional information relevant when a new member joins the team. + DBTEAMLOGActionDetailsTeamJoinDetails, + + /// (no description). + DBTEAMLOGActionDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGActionDetailsTag tag; + +/// Define how the user was removed from the team. @note Ensure the +/// `isRemoveAction` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberRemoveActionType *removeAction; + +/// Additional information relevant when someone is invited to the team. @note +/// Ensure the `isTeamInviteDetails` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamInviteDetails *teamInviteDetails; + +/// Additional information relevant when a new member joins the team. @note +/// Ensure the `isTeamJoinDetails` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGJoinTeamDetails *teamJoinDetails; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "remove_action". +/// +/// Description of the "remove_action" tag state: Define how the user was +/// removed from the team. +/// +/// @param removeAction Define how the user was removed from the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemoveAction:(DBTEAMLOGMemberRemoveActionType *)removeAction; + +/// +/// Initializes union class with tag state of "team_invite_details". +/// +/// Description of the "team_invite_details" tag state: Additional information +/// relevant when someone is invited to the team. +/// +/// @param teamInviteDetails Additional information relevant when someone is +/// invited to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamInviteDetails:(DBTEAMLOGTeamInviteDetails *)teamInviteDetails; + +/// +/// Initializes union class with tag state of "team_join_details". +/// +/// Description of the "team_join_details" tag state: Additional information +/// relevant when a new member joins the team. +/// +/// @param teamJoinDetails Additional information relevant when a new member +/// joins the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamJoinDetails:(DBTEAMLOGJoinTeamDetails *)teamJoinDetails; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "remove_action". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `removeAction` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "remove_action". +/// +- (BOOL)isRemoveAction; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_invite_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamInviteDetails` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "team_invite_details". +/// +- (BOOL)isTeamInviteDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_join_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamJoinDetails` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "team_join_details". +/// +- (BOOL)isTeamJoinDetails; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGActionDetails` union. +/// +@interface DBTEAMLOGActionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGActionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGActionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGActionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGActionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGActionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGActionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGActionDetails` object. +/// ++ (DBTEAMLOGActionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActorLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActorLogInfo.h index d585e6ed4..54ba640fe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActorLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGActorLogInfo.h @@ -32,34 +32,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGActorLogInfoTag` enum type represents the possible tag states /// with which the `DBTEAMLOGActorLogInfo` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { - /// The user who did the action. - DBTEAMLOGActorLogInfoUser, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag){ + /// The admin who did the action. + DBTEAMLOGActorLogInfoAdmin, - /// The admin who did the action. - DBTEAMLOGActorLogInfoAdmin, + /// Anonymous actor. + DBTEAMLOGActorLogInfoAnonymous, - /// The application who did the action. - DBTEAMLOGActorLogInfoApp, + /// The application who did the action. + DBTEAMLOGActorLogInfoApp, - /// Action done by reseller. - DBTEAMLOGActorLogInfoReseller, + /// Action done by Dropbox. + DBTEAMLOGActorLogInfoDropbox, - /// Action done by Dropbox. - DBTEAMLOGActorLogInfoDropbox, + /// Action done by reseller. + DBTEAMLOGActorLogInfoReseller, - /// (no description). - DBTEAMLOGActorLogInfoOther, + /// The user who did the action. + DBTEAMLOGActorLogInfoUser, + + /// (no description). + DBTEAMLOGActorLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGActorLogInfoTag tag; -/// The user who did the action. @note Ensure the `isUser` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGUserLogInfo *user; - /// The admin who did the action. @note Ensure the `isAdmin` method returns true /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGUserLogInfo *admin; @@ -72,29 +71,31 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGResellerLogInfo *reseller; +/// The user who did the action. @note Ensure the `isUser` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserLogInfo *user; + #pragma mark - Constructors /// -/// Initializes union class with tag state of "user". +/// Initializes union class with tag state of "admin". /// -/// Description of the "user" tag state: The user who did the action. +/// Description of the "admin" tag state: The admin who did the action. /// -/// @param user The user who did the action. +/// @param admin The admin who did the action. /// /// @return An initialized instance. /// -- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user; +- (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin; /// -/// Initializes union class with tag state of "admin". +/// Initializes union class with tag state of "anonymous". /// -/// Description of the "admin" tag state: The admin who did the action. -/// -/// @param admin The admin who did the action. +/// Description of the "anonymous" tag state: Anonymous actor. /// /// @return An initialized instance. /// -- (instancetype)initWithAdmin:(DBTEAMLOGUserLogInfo *)admin; +- (instancetype)initWithAnonymous; /// /// Initializes union class with tag state of "app". @@ -107,6 +108,15 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// - (instancetype)initWithApp:(DBTEAMLOGAppLogInfo *)app; +/// +/// Initializes union class with tag state of "dropbox". +/// +/// Description of the "dropbox" tag state: Action done by Dropbox. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropbox; + /// /// Initializes union class with tag state of "reseller". /// @@ -119,13 +129,15 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { - (instancetype)initWithReseller:(DBTEAMLOGResellerLogInfo *)reseller; /// -/// Initializes union class with tag state of "dropbox". +/// Initializes union class with tag state of "user". /// -/// Description of the "dropbox" tag state: Action done by Dropbox. +/// Description of the "user" tag state: The user who did the action. +/// +/// @param user The user who did the action. /// /// @return An initialized instance. /// -- (instancetype)initWithDropbox; +- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user; /// /// Initializes union class with tag state of "other". @@ -138,16 +150,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { #pragma mark - Tag state methods -/// -/// Retrieves whether the union's current tag state has value "user". -/// -/// @note Call this method and ensure it returns true before accessing the -/// `user` property, otherwise a runtime exception will be thrown. -/// -/// @return Whether the union's current tag state has value "user". -/// -- (BOOL)isUser; - /// /// Retrieves whether the union's current tag state has value "admin". /// @@ -158,6 +160,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// - (BOOL)isAdmin; +/// +/// Retrieves whether the union's current tag state has value "anonymous". +/// +/// @return Whether the union's current tag state has value "anonymous". +/// +- (BOOL)isAnonymous; + /// /// Retrieves whether the union's current tag state has value "app". /// @@ -168,6 +177,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// - (BOOL)isApp; +/// +/// Retrieves whether the union's current tag state has value "dropbox". +/// +/// @return Whether the union's current tag state has value "dropbox". +/// +- (BOOL)isDropbox; + /// /// Retrieves whether the union's current tag state has value "reseller". /// @@ -179,11 +195,14 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { - (BOOL)isReseller; /// -/// Retrieves whether the union's current tag state has value "dropbox". +/// Retrieves whether the union's current tag state has value "user". /// -/// @return Whether the union's current tag state has value "dropbox". +/// @note Call this method and ensure it returns true before accessing the +/// `user` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDropbox; +/// @return Whether the union's current tag state has value "user". +/// +- (BOOL)isUser; /// /// Retrieves whether the union's current tag state has value "other". @@ -216,7 +235,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGActorLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGActorLogInfo *)instance; /// /// Deserializes `DBTEAMLOGActorLogInfo` instances. @@ -226,7 +245,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGActorLogInfoTag) { /// /// @return An instantiation of the `DBTEAMLOGActorLogInfo` object. /// -+ (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGActorLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertCategoryEnum.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertCategoryEnum.h new file mode 100644 index 000000000..cc66e9ad8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertCategoryEnum.h @@ -0,0 +1,227 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertCategoryEnum; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertCategoryEnum` union. +/// +/// Alert category +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertCategoryEnum : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminAlertCategoryEnumTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGAdminAlertCategoryEnum` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminAlertCategoryEnumTag){ + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumAccountTakeover, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumDataLossProtection, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumInformationGovernance, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumMalwareSharing, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumMassiveFileOperation, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumNa, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumThreatManagement, + + /// (no description). + DBTEAMLOGAdminAlertCategoryEnumOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertCategoryEnumTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "account_takeover". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountTakeover; + +/// +/// Initializes union class with tag state of "data_loss_protection". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataLossProtection; + +/// +/// Initializes union class with tag state of "information_governance". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInformationGovernance; + +/// +/// Initializes union class with tag state of "malware_sharing". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMalwareSharing; + +/// +/// Initializes union class with tag state of "massive_file_operation". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMassiveFileOperation; + +/// +/// Initializes union class with tag state of "na". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNa; + +/// +/// Initializes union class with tag state of "threat_management". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithThreatManagement; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "account_takeover". +/// +/// @return Whether the union's current tag state has value "account_takeover". +/// +- (BOOL)isAccountTakeover; + +/// +/// Retrieves whether the union's current tag state has value +/// "data_loss_protection". +/// +/// @return Whether the union's current tag state has value +/// "data_loss_protection". +/// +- (BOOL)isDataLossProtection; + +/// +/// Retrieves whether the union's current tag state has value +/// "information_governance". +/// +/// @return Whether the union's current tag state has value +/// "information_governance". +/// +- (BOOL)isInformationGovernance; + +/// +/// Retrieves whether the union's current tag state has value "malware_sharing". +/// +/// @return Whether the union's current tag state has value "malware_sharing". +/// +- (BOOL)isMalwareSharing; + +/// +/// Retrieves whether the union's current tag state has value +/// "massive_file_operation". +/// +/// @return Whether the union's current tag state has value +/// "massive_file_operation". +/// +- (BOOL)isMassiveFileOperation; + +/// +/// Retrieves whether the union's current tag state has value "na". +/// +/// @return Whether the union's current tag state has value "na". +/// +- (BOOL)isNa; + +/// +/// Retrieves whether the union's current tag state has value +/// "threat_management". +/// +/// @return Whether the union's current tag state has value "threat_management". +/// +- (BOOL)isThreatManagement; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminAlertCategoryEnum` union. +/// +@interface DBTEAMLOGAdminAlertCategoryEnumSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertCategoryEnum` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminAlertCategoryEnum` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertCategoryEnum` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertCategoryEnum *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertCategoryEnum` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertCategoryEnum` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertCategoryEnum` object. +/// ++ (DBTEAMLOGAdminAlertCategoryEnum *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertGeneralStateEnum.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertGeneralStateEnum.h new file mode 100644 index 000000000..8740f39af --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertGeneralStateEnum.h @@ -0,0 +1,187 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertGeneralStateEnum; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertGeneralStateEnum` union. +/// +/// Alert state +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertGeneralStateEnum : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminAlertGeneralStateEnumTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAdminAlertGeneralStateEnum` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminAlertGeneralStateEnumTag){ + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumActive, + + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumDismissed, + + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumInProgress, + + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumNa, + + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumResolved, + + /// (no description). + DBTEAMLOGAdminAlertGeneralStateEnumOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertGeneralStateEnumTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "active". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithActive; + +/// +/// Initializes union class with tag state of "dismissed". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDismissed; + +/// +/// Initializes union class with tag state of "in_progress". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInProgress; + +/// +/// Initializes union class with tag state of "na". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNa; + +/// +/// Initializes union class with tag state of "resolved". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResolved; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "active". +/// +/// @return Whether the union's current tag state has value "active". +/// +- (BOOL)isActive; + +/// +/// Retrieves whether the union's current tag state has value "dismissed". +/// +/// @return Whether the union's current tag state has value "dismissed". +/// +- (BOOL)isDismissed; + +/// +/// Retrieves whether the union's current tag state has value "in_progress". +/// +/// @return Whether the union's current tag state has value "in_progress". +/// +- (BOOL)isInProgress; + +/// +/// Retrieves whether the union's current tag state has value "na". +/// +/// @return Whether the union's current tag state has value "na". +/// +- (BOOL)isNa; + +/// +/// Retrieves whether the union's current tag state has value "resolved". +/// +/// @return Whether the union's current tag state has value "resolved". +/// +- (BOOL)isResolved; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminAlertGeneralStateEnum` union. +/// +@interface DBTEAMLOGAdminAlertGeneralStateEnumSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertGeneralStateEnum` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminAlertGeneralStateEnum` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertGeneralStateEnum` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertGeneralStateEnum *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertGeneralStateEnum` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertGeneralStateEnum` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertGeneralStateEnum` +/// object. +/// ++ (DBTEAMLOGAdminAlertGeneralStateEnum *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertSeverityEnum.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertSeverityEnum.h new file mode 100644 index 000000000..91b16397d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertSeverityEnum.h @@ -0,0 +1,185 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertSeverityEnum; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertSeverityEnum` union. +/// +/// Alert severity +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertSeverityEnum : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminAlertSeverityEnumTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGAdminAlertSeverityEnum` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminAlertSeverityEnumTag){ + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumHigh, + + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumInfo, + + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumLow, + + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumMedium, + + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumNa, + + /// (no description). + DBTEAMLOGAdminAlertSeverityEnumOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertSeverityEnumTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "high". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHigh; + +/// +/// Initializes union class with tag state of "info". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInfo; + +/// +/// Initializes union class with tag state of "low". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLow; + +/// +/// Initializes union class with tag state of "medium". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMedium; + +/// +/// Initializes union class with tag state of "na". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNa; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "high". +/// +/// @return Whether the union's current tag state has value "high". +/// +- (BOOL)isHigh; + +/// +/// Retrieves whether the union's current tag state has value "info". +/// +/// @return Whether the union's current tag state has value "info". +/// +- (BOOL)isInfo; + +/// +/// Retrieves whether the union's current tag state has value "low". +/// +/// @return Whether the union's current tag state has value "low". +/// +- (BOOL)isLow; + +/// +/// Retrieves whether the union's current tag state has value "medium". +/// +/// @return Whether the union's current tag state has value "medium". +/// +- (BOOL)isMedium; + +/// +/// Retrieves whether the union's current tag state has value "na". +/// +/// @return Whether the union's current tag state has value "na". +/// +- (BOOL)isNa; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminAlertSeverityEnum` union. +/// +@interface DBTEAMLOGAdminAlertSeverityEnumSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertSeverityEnum` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminAlertSeverityEnum` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertSeverityEnum` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertSeverityEnum *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertSeverityEnum` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertSeverityEnum` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertSeverityEnum` object. +/// ++ (DBTEAMLOGAdminAlertSeverityEnum *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertConfiguration.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertConfiguration.h new file mode 100644 index 000000000..9b22d42ba --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertConfiguration.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingAlertConfiguration; +@class DBTEAMLOGAdminAlertingAlertSensitivity; +@class DBTEAMLOGAdminAlertingAlertStatePolicy; +@class DBTEAMLOGRecipientsConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingAlertConfiguration` struct. +/// +/// Alert configurations +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingAlertConfiguration : NSObject + +#pragma mark - Instance fields + +/// Alert state. +@property (nonatomic, readonly, nullable) DBTEAMLOGAdminAlertingAlertStatePolicy *alertState; + +/// Sensitivity level. +@property (nonatomic, readonly, nullable) DBTEAMLOGAdminAlertingAlertSensitivity *sensitivityLevel; + +/// Recipient settings. +@property (nonatomic, readonly, nullable) DBTEAMLOGRecipientsConfiguration *recipientsSettings; + +/// Text. +@property (nonatomic, readonly, copy, nullable) NSString *text; + +/// Excluded file extensions. +@property (nonatomic, readonly, copy, nullable) NSString *excludedFileExtensions; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param alertState Alert state. +/// @param sensitivityLevel Sensitivity level. +/// @param recipientsSettings Recipient settings. +/// @param text Text. +/// @param excludedFileExtensions Excluded file extensions. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlertState:(nullable DBTEAMLOGAdminAlertingAlertStatePolicy *)alertState + sensitivityLevel:(nullable DBTEAMLOGAdminAlertingAlertSensitivity *)sensitivityLevel + recipientsSettings:(nullable DBTEAMLOGRecipientsConfiguration *)recipientsSettings + text:(nullable NSString *)text + excludedFileExtensions:(nullable NSString *)excludedFileExtensions; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingAlertConfiguration` struct. +/// +@interface DBTEAMLOGAdminAlertingAlertConfigurationSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingAlertConfiguration` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingAlertConfiguration` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertConfiguration` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertConfiguration *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingAlertConfiguration` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertConfiguration` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertingAlertConfiguration` +/// object. +/// ++ (DBTEAMLOGAdminAlertingAlertConfiguration *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertSensitivity.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertSensitivity.h new file mode 100644 index 000000000..6d8dad98f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertSensitivity.h @@ -0,0 +1,205 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingAlertSensitivity; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingAlertSensitivity` union. +/// +/// Alert sensitivity +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingAlertSensitivity : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminAlertingAlertSensitivityTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAdminAlertingAlertSensitivity` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminAlertingAlertSensitivityTag){ + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityHigh, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityHighest, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityInvalid, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityLow, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityLowest, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityMedium, + + /// (no description). + DBTEAMLOGAdminAlertingAlertSensitivityOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertSensitivityTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "high". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHigh; + +/// +/// Initializes union class with tag state of "highest". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHighest; + +/// +/// Initializes union class with tag state of "invalid". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalid; + +/// +/// Initializes union class with tag state of "low". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLow; + +/// +/// Initializes union class with tag state of "lowest". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLowest; + +/// +/// Initializes union class with tag state of "medium". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMedium; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "high". +/// +/// @return Whether the union's current tag state has value "high". +/// +- (BOOL)isHigh; + +/// +/// Retrieves whether the union's current tag state has value "highest". +/// +/// @return Whether the union's current tag state has value "highest". +/// +- (BOOL)isHighest; + +/// +/// Retrieves whether the union's current tag state has value "invalid". +/// +/// @return Whether the union's current tag state has value "invalid". +/// +- (BOOL)isInvalid; + +/// +/// Retrieves whether the union's current tag state has value "low". +/// +/// @return Whether the union's current tag state has value "low". +/// +- (BOOL)isLow; + +/// +/// Retrieves whether the union's current tag state has value "lowest". +/// +/// @return Whether the union's current tag state has value "lowest". +/// +- (BOOL)isLowest; + +/// +/// Retrieves whether the union's current tag state has value "medium". +/// +/// @return Whether the union's current tag state has value "medium". +/// +- (BOOL)isMedium; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminAlertingAlertSensitivity` +/// union. +/// +@interface DBTEAMLOGAdminAlertingAlertSensitivitySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingAlertSensitivity` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminAlertingAlertSensitivity` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertSensitivity` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertSensitivity *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingAlertSensitivity` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertSensitivity` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertingAlertSensitivity` +/// object. +/// ++ (DBTEAMLOGAdminAlertingAlertSensitivity *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedDetails.h new file mode 100644 index 000000000..54d9955f6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedDetails.h @@ -0,0 +1,108 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertCategoryEnum; +@class DBTEAMLOGAdminAlertGeneralStateEnum; +@class DBTEAMLOGAdminAlertSeverityEnum; +@class DBTEAMLOGAdminAlertingAlertStateChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingAlertStateChangedDetails` struct. +/// +/// Changed an alert state. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingAlertStateChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Alert name. +@property (nonatomic, readonly, copy) NSString *alertName; + +/// Alert severity. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertSeverityEnum *alertSeverity; + +/// Alert category. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertCategoryEnum *alertCategory; + +/// Alert ID. +@property (nonatomic, readonly, copy) NSString *alertInstanceId; + +/// Alert state before the change. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertGeneralStateEnum *previousValue; + +/// Alert state after the change. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertGeneralStateEnum *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param alertName Alert name. +/// @param alertSeverity Alert severity. +/// @param alertCategory Alert category. +/// @param alertInstanceId Alert ID. +/// @param previousValue Alert state before the change. +/// @param dNewValue Alert state after the change. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlertName:(NSString *)alertName + alertSeverity:(DBTEAMLOGAdminAlertSeverityEnum *)alertSeverity + alertCategory:(DBTEAMLOGAdminAlertCategoryEnum *)alertCategory + alertInstanceId:(NSString *)alertInstanceId + previousValue:(DBTEAMLOGAdminAlertGeneralStateEnum *)previousValue + dNewValue:(DBTEAMLOGAdminAlertGeneralStateEnum *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingAlertStateChangedDetails` +/// struct. +/// +@interface DBTEAMLOGAdminAlertingAlertStateChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingAlertStateChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingAlertStateChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedDetails` object. +/// ++ (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedType.h new file mode 100644 index 000000000..a607aab0b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStateChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingAlertStateChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingAlertStateChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingAlertStateChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingAlertStateChangedType` struct. +/// +@interface DBTEAMLOGAdminAlertingAlertStateChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingAlertStateChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStateChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingAlertStateChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAdminAlertingAlertStateChangedType` object. +/// ++ (DBTEAMLOGAdminAlertingAlertStateChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStatePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStatePolicy.h new file mode 100644 index 000000000..114d324e7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingAlertStatePolicy.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingAlertStatePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingAlertStatePolicy` union. +/// +/// Policy for controlling whether an alert can be triggered or not +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingAlertStatePolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminAlertingAlertStatePolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAdminAlertingAlertStatePolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminAlertingAlertStatePolicyTag){ + /// (no description). + DBTEAMLOGAdminAlertingAlertStatePolicyOff, + + /// (no description). + DBTEAMLOGAdminAlertingAlertStatePolicyOn, + + /// (no description). + DBTEAMLOGAdminAlertingAlertStatePolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertStatePolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "off". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOff; + +/// +/// Initializes union class with tag state of "on". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOn; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "off". +/// +/// @return Whether the union's current tag state has value "off". +/// +- (BOOL)isOff; + +/// +/// Retrieves whether the union's current tag state has value "on". +/// +/// @return Whether the union's current tag state has value "on". +/// +- (BOOL)isOn; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminAlertingAlertStatePolicy` +/// union. +/// +@interface DBTEAMLOGAdminAlertingAlertStatePolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingAlertStatePolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminAlertingAlertStatePolicy` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStatePolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingAlertStatePolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingAlertStatePolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingAlertStatePolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertingAlertStatePolicy` +/// object. +/// ++ (DBTEAMLOGAdminAlertingAlertStatePolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h new file mode 100644 index 000000000..c73f27457 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h @@ -0,0 +1,91 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingAlertConfiguration; +@class DBTEAMLOGAdminAlertingChangedAlertConfigDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingChangedAlertConfigDetails` struct. +/// +/// Changed an alert setting. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingChangedAlertConfigDetails : NSObject + +#pragma mark - Instance fields + +/// Alert Name. +@property (nonatomic, readonly, copy) NSString *alertName; + +/// Previous alert configuration. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertConfiguration *previousAlertConfig; + +/// New alert configuration. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertConfiguration *dNewAlertConfig; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param alertName Alert Name. +/// @param previousAlertConfig Previous alert configuration. +/// @param dNewAlertConfig New alert configuration. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlertName:(NSString *)alertName + previousAlertConfig:(DBTEAMLOGAdminAlertingAlertConfiguration *)previousAlertConfig + dNewAlertConfig:(DBTEAMLOGAdminAlertingAlertConfiguration *)dNewAlertConfig; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingChangedAlertConfigDetails` +/// struct. +/// +@interface DBTEAMLOGAdminAlertingChangedAlertConfigDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigDetails` object. +/// ++ (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigType.h new file mode 100644 index 000000000..69cc8d5ac --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingChangedAlertConfigType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingChangedAlertConfigType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingChangedAlertConfigType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingChangedAlertConfigType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingChangedAlertConfigType` +/// struct. +/// +@interface DBTEAMLOGAdminAlertingChangedAlertConfigTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingChangedAlertConfigType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingChangedAlertConfigType *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingChangedAlertConfigType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAdminAlertingChangedAlertConfigType` object. +/// ++ (DBTEAMLOGAdminAlertingChangedAlertConfigType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertDetails.h new file mode 100644 index 000000000..09b45a89f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertCategoryEnum; +@class DBTEAMLOGAdminAlertSeverityEnum; +@class DBTEAMLOGAdminAlertingTriggeredAlertDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingTriggeredAlertDetails` struct. +/// +/// Triggered security alert. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingTriggeredAlertDetails : NSObject + +#pragma mark - Instance fields + +/// Alert name. +@property (nonatomic, readonly, copy) NSString *alertName; + +/// Alert severity. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertSeverityEnum *alertSeverity; + +/// Alert category. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertCategoryEnum *alertCategory; + +/// Alert ID. +@property (nonatomic, readonly, copy) NSString *alertInstanceId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param alertName Alert name. +/// @param alertSeverity Alert severity. +/// @param alertCategory Alert category. +/// @param alertInstanceId Alert ID. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAlertName:(NSString *)alertName + alertSeverity:(DBTEAMLOGAdminAlertSeverityEnum *)alertSeverity + alertCategory:(DBTEAMLOGAdminAlertCategoryEnum *)alertCategory + alertInstanceId:(NSString *)alertInstanceId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingTriggeredAlertDetails` struct. +/// +@interface DBTEAMLOGAdminAlertingTriggeredAlertDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingTriggeredAlertDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingTriggeredAlertDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertDetails` object. +/// ++ (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertType.h new file mode 100644 index 000000000..b82fd295a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminAlertingTriggeredAlertType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminAlertingTriggeredAlertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminAlertingTriggeredAlertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminAlertingTriggeredAlertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminAlertingTriggeredAlertType` struct. +/// +@interface DBTEAMLOGAdminAlertingTriggeredAlertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminAlertingTriggeredAlertType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminAlertingTriggeredAlertType *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminAlertingTriggeredAlertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminAlertingTriggeredAlertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminAlertingTriggeredAlertType` +/// object. +/// ++ (DBTEAMLOGAdminAlertingTriggeredAlertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPermission.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPermission.h new file mode 100644 index 000000000..f093abb69 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPermission.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminConsoleAppPermission; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminConsoleAppPermission` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminConsoleAppPermission : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminConsoleAppPermissionTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAdminConsoleAppPermission` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminConsoleAppPermissionTag){ + /// (no description). + DBTEAMLOGAdminConsoleAppPermissionDefaultForListedApps, + + /// (no description). + DBTEAMLOGAdminConsoleAppPermissionDefaultForUnlistedApps, + + /// (no description). + DBTEAMLOGAdminConsoleAppPermissionOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPermissionTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default_for_listed_apps". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefaultForListedApps; + +/// +/// Initializes union class with tag state of "default_for_unlisted_apps". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefaultForUnlistedApps; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "default_for_listed_apps". +/// +/// @return Whether the union's current tag state has value +/// "default_for_listed_apps". +/// +- (BOOL)isDefaultForListedApps; + +/// +/// Retrieves whether the union's current tag state has value +/// "default_for_unlisted_apps". +/// +/// @return Whether the union's current tag state has value +/// "default_for_unlisted_apps". +/// +- (BOOL)isDefaultForUnlistedApps; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminConsoleAppPermission` union. +/// +@interface DBTEAMLOGAdminConsoleAppPermissionSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminConsoleAppPermission` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminConsoleAppPermission` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminConsoleAppPermission` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPermission *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminConsoleAppPermission` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminConsoleAppPermission` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminConsoleAppPermission` object. +/// ++ (DBTEAMLOGAdminConsoleAppPermission *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPolicy.h new file mode 100644 index 000000000..b5450aaf0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminConsoleAppPolicy.h @@ -0,0 +1,149 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminConsoleAppPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminConsoleAppPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminConsoleAppPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminConsoleAppPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGAdminConsoleAppPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminConsoleAppPolicyTag){ + /// (no description). + DBTEAMLOGAdminConsoleAppPolicyAllow, + + /// (no description). + DBTEAMLOGAdminConsoleAppPolicyBlock, + + /// (no description). + DBTEAMLOGAdminConsoleAppPolicyDefault_, + + /// (no description). + DBTEAMLOGAdminConsoleAppPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "allow". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllow; + +/// +/// Initializes union class with tag state of "block". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBlock; + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "allow". +/// +/// @return Whether the union's current tag state has value "allow". +/// +- (BOOL)isAllow; + +/// +/// Retrieves whether the union's current tag state has value "block". +/// +/// @return Whether the union's current tag state has value "block". +/// +- (BOOL)isBlock; + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminConsoleAppPolicy` union. +/// +@interface DBTEAMLOGAdminConsoleAppPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminConsoleAppPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminConsoleAppPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminConsoleAppPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminConsoleAppPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminConsoleAppPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminConsoleAppPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminConsoleAppPolicy` object. +/// ++ (DBTEAMLOGAdminConsoleAppPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedDetails.h new file mode 100644 index 000000000..f72b95592 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminEmailRemindersChangedDetails; +@class DBTEAMLOGAdminEmailRemindersPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminEmailRemindersChangedDetails` struct. +/// +/// Changed admin reminder settings for requests to join the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminEmailRemindersChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGAdminEmailRemindersPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGAdminEmailRemindersPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGAdminEmailRemindersPolicy *)dNewValue + previousValue:(DBTEAMLOGAdminEmailRemindersPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminEmailRemindersChangedDetails` struct. +/// +@interface DBTEAMLOGAdminEmailRemindersChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminEmailRemindersChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGAdminEmailRemindersChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminEmailRemindersChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminEmailRemindersChangedDetails` +/// object. +/// ++ (DBTEAMLOGAdminEmailRemindersChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedType.h new file mode 100644 index 000000000..55f0a2135 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminEmailRemindersChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminEmailRemindersChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminEmailRemindersChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AdminEmailRemindersChangedType` struct. +/// +@interface DBTEAMLOGAdminEmailRemindersChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminEmailRemindersChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminEmailRemindersChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminEmailRemindersChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminEmailRemindersChangedType` +/// object. +/// ++ (DBTEAMLOGAdminEmailRemindersChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersPolicy.h new file mode 100644 index 000000000..677375f9e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminEmailRemindersPolicy.h @@ -0,0 +1,153 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminEmailRemindersPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AdminEmailRemindersPolicy` union. +/// +/// Policy for deciding whether team admins receive reminder emails for requests +/// to join the team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAdminEmailRemindersPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAdminEmailRemindersPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAdminEmailRemindersPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminEmailRemindersPolicyTag){ + /// (no description). + DBTEAMLOGAdminEmailRemindersPolicyDefault_, + + /// (no description). + DBTEAMLOGAdminEmailRemindersPolicyDisabled, + + /// (no description). + DBTEAMLOGAdminEmailRemindersPolicyEnabled, + + /// (no description). + DBTEAMLOGAdminEmailRemindersPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAdminEmailRemindersPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAdminEmailRemindersPolicy` union. +/// +@interface DBTEAMLOGAdminEmailRemindersPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAdminEmailRemindersPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAdminEmailRemindersPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminEmailRemindersPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGAdminEmailRemindersPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAdminEmailRemindersPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAdminEmailRemindersPolicy` object. +/// ++ (DBTEAMLOGAdminEmailRemindersPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminRole.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminRole.h index 972b41ce5..44a117a1b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminRole.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAdminRole.h @@ -27,24 +27,39 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGAdminRoleTag` enum type represents the possible tag states /// with which the `DBTEAMLOGAdminRole` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { - /// (no description). - DBTEAMLOGAdminRoleUser, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAdminRoleTag){ + /// (no description). + DBTEAMLOGAdminRoleBillingAdmin, - /// (no description). - DBTEAMLOGAdminRoleLimitedAdmin, + /// (no description). + DBTEAMLOGAdminRoleComplianceAdmin, - /// (no description). - DBTEAMLOGAdminRoleSupportAdmin, + /// (no description). + DBTEAMLOGAdminRoleContentAdmin, - /// (no description). - DBTEAMLOGAdminRoleUserManagementAdmin, + /// (no description). + DBTEAMLOGAdminRoleLimitedAdmin, - /// (no description). - DBTEAMLOGAdminRoleTeamAdmin, + /// (no description). + DBTEAMLOGAdminRoleMemberOnly, - /// (no description). - DBTEAMLOGAdminRoleOther, + /// (no description). + DBTEAMLOGAdminRoleReportingAdmin, + + /// (no description). + DBTEAMLOGAdminRoleSecurityAdmin, + + /// (no description). + DBTEAMLOGAdminRoleSupportAdmin, + + /// (no description). + DBTEAMLOGAdminRoleTeamAdmin, + + /// (no description). + DBTEAMLOGAdminRoleUserManagementAdmin, + + /// (no description). + DBTEAMLOGAdminRoleOther, }; @@ -54,11 +69,25 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "user". +/// Initializes union class with tag state of "billing_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBillingAdmin; + +/// +/// Initializes union class with tag state of "compliance_admin". /// /// @return An initialized instance. /// -- (instancetype)initWithUser; +- (instancetype)initWithComplianceAdmin; + +/// +/// Initializes union class with tag state of "content_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentAdmin; /// /// Initializes union class with tag state of "limited_admin". @@ -68,18 +97,32 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { - (instancetype)initWithLimitedAdmin; /// -/// Initializes union class with tag state of "support_admin". +/// Initializes union class with tag state of "member_only". /// /// @return An initialized instance. /// -- (instancetype)initWithSupportAdmin; +- (instancetype)initWithMemberOnly; /// -/// Initializes union class with tag state of "user_management_admin". +/// Initializes union class with tag state of "reporting_admin". /// /// @return An initialized instance. /// -- (instancetype)initWithUserManagementAdmin; +- (instancetype)initWithReportingAdmin; + +/// +/// Initializes union class with tag state of "security_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecurityAdmin; + +/// +/// Initializes union class with tag state of "support_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSupportAdmin; /// /// Initializes union class with tag state of "team_admin". @@ -88,6 +131,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// - (instancetype)initWithTeamAdmin; +/// +/// Initializes union class with tag state of "user_management_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserManagementAdmin; + /// /// Initializes union class with tag state of "other". /// @@ -100,11 +150,26 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "user". +/// Retrieves whether the union's current tag state has value "billing_admin". +/// +/// @return Whether the union's current tag state has value "billing_admin". +/// +- (BOOL)isBillingAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "compliance_admin". +/// +/// @return Whether the union's current tag state has value "compliance_admin". +/// +- (BOOL)isComplianceAdmin; + +/// +/// Retrieves whether the union's current tag state has value "content_admin". /// -/// @return Whether the union's current tag state has value "user". +/// @return Whether the union's current tag state has value "content_admin". /// -- (BOOL)isUser; +- (BOOL)isContentAdmin; /// /// Retrieves whether the union's current tag state has value "limited_admin". @@ -113,6 +178,27 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// - (BOOL)isLimitedAdmin; +/// +/// Retrieves whether the union's current tag state has value "member_only". +/// +/// @return Whether the union's current tag state has value "member_only". +/// +- (BOOL)isMemberOnly; + +/// +/// Retrieves whether the union's current tag state has value "reporting_admin". +/// +/// @return Whether the union's current tag state has value "reporting_admin". +/// +- (BOOL)isReportingAdmin; + +/// +/// Retrieves whether the union's current tag state has value "security_admin". +/// +/// @return Whether the union's current tag state has value "security_admin". +/// +- (BOOL)isSecurityAdmin; + /// /// Retrieves whether the union's current tag state has value "support_admin". /// @@ -120,6 +206,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// - (BOOL)isSupportAdmin; +/// +/// Retrieves whether the union's current tag state has value "team_admin". +/// +/// @return Whether the union's current tag state has value "team_admin". +/// +- (BOOL)isTeamAdmin; + /// /// Retrieves whether the union's current tag state has value /// "user_management_admin". @@ -129,13 +222,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// - (BOOL)isUserManagementAdmin; -/// -/// Retrieves whether the union's current tag state has value "team_admin". -/// -/// @return Whether the union's current tag state has value "team_admin". -/// -- (BOOL)isTeamAdmin; - /// /// Retrieves whether the union's current tag state has value "other". /// @@ -167,7 +253,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAdminRole` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminRole *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAdminRole *)instance; /// /// Deserializes `DBTEAMLOGAdminRole` instances. @@ -177,7 +263,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAdminRoleTag) { /// /// @return An instantiation of the `DBTEAMLOGAdminRole` object. /// -+ (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAdminRole *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAlertRecipientsSettingType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAlertRecipientsSettingType.h new file mode 100644 index 000000000..40c3907fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAlertRecipientsSettingType.h @@ -0,0 +1,170 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAlertRecipientsSettingType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AlertRecipientsSettingType` union. +/// +/// Alert recipients setting type +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAlertRecipientsSettingType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGAlertRecipientsSettingTypeTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGAlertRecipientsSettingType` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAlertRecipientsSettingTypeTag){ + /// (no description). + DBTEAMLOGAlertRecipientsSettingTypeCustomList, + + /// (no description). + DBTEAMLOGAlertRecipientsSettingTypeInvalid, + + /// (no description). + DBTEAMLOGAlertRecipientsSettingTypeNone, + + /// (no description). + DBTEAMLOGAlertRecipientsSettingTypeTeamAdmins, + + /// (no description). + DBTEAMLOGAlertRecipientsSettingTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGAlertRecipientsSettingTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "custom_list". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCustomList; + +/// +/// Initializes union class with tag state of "invalid". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalid; + +/// +/// Initializes union class with tag state of "none". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNone; + +/// +/// Initializes union class with tag state of "team_admins". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamAdmins; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "custom_list". +/// +/// @return Whether the union's current tag state has value "custom_list". +/// +- (BOOL)isCustomList; + +/// +/// Retrieves whether the union's current tag state has value "invalid". +/// +/// @return Whether the union's current tag state has value "invalid". +/// +- (BOOL)isInvalid; + +/// +/// Retrieves whether the union's current tag state has value "none". +/// +/// @return Whether the union's current tag state has value "none". +/// +- (BOOL)isNone; + +/// +/// Retrieves whether the union's current tag state has value "team_admins". +/// +/// @return Whether the union's current tag state has value "team_admins". +/// +- (BOOL)isTeamAdmins; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGAlertRecipientsSettingType` union. +/// +@interface DBTEAMLOGAlertRecipientsSettingTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAlertRecipientsSettingType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAlertRecipientsSettingType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAlertRecipientsSettingType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAlertRecipientsSettingType *)instance; + +/// +/// Deserializes `DBTEAMLOGAlertRecipientsSettingType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAlertRecipientsSettingType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAlertRecipientsSettingType` +/// object. +/// ++ (DBTEAMLOGAlertRecipientsSettingType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledDetails.h index a26ad6d47..2d1292f57 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AllowDownloadDisabledDetails` struct. /// -/// Disabled allow downloads. +/// Disabled downloads. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadDisabledDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledDetails *)instance; /// /// Deserializes `DBTEAMLOGAllowDownloadDisabledDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGAllowDownloadDisabledDetails` /// object. /// -+ (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledType.h new file mode 100644 index 000000000..65ba65714 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadDisabledType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAllowDownloadDisabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AllowDownloadDisabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAllowDownloadDisabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AllowDownloadDisabledType` struct. +/// +@interface DBTEAMLOGAllowDownloadDisabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAllowDownloadDisabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAllowDownloadDisabledType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAllowDownloadDisabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadDisabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGAllowDownloadDisabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAllowDownloadDisabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAllowDownloadDisabledType` object. +/// ++ (DBTEAMLOGAllowDownloadDisabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledDetails.h index b01305360..840cb489b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AllowDownloadEnabledDetails` struct. /// -/// Enabled allow downloads. +/// Enabled downloads. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAllowDownloadEnabledDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGAllowDownloadEnabledDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGAllowDownloadEnabledDetails` /// object. /// -+ (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledType.h new file mode 100644 index 000000000..ce5dde523 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAllowDownloadEnabledType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAllowDownloadEnabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AllowDownloadEnabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAllowDownloadEnabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AllowDownloadEnabledType` struct. +/// +@interface DBTEAMLOGAllowDownloadEnabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAllowDownloadEnabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAllowDownloadEnabledType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAllowDownloadEnabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAllowDownloadEnabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGAllowDownloadEnabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAllowDownloadEnabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAllowDownloadEnabledType` object. +/// ++ (DBTEAMLOGAllowDownloadEnabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApiSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApiSessionLogInfo.h index 003d88233..712eb18e0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApiSessionLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApiSessionLogInfo.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGApiSessionLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGApiSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGApiSessionLogInfo` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGApiSessionLogInfo` object. /// -+ (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGApiSessionLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsDetails.h new file mode 100644 index 000000000..908a84959 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppBlockedByPermissionsDetails; +@class DBTEAMLOGAppLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppBlockedByPermissionsDetails` struct. +/// +/// Failed to connect app for member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppBlockedByPermissionsDetails : NSObject + +#pragma mark - Instance fields + +/// Relevant application details. +@property (nonatomic, readonly) DBTEAMLOGAppLogInfo *appInfo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param appInfo Relevant application details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppInfo:(DBTEAMLOGAppLogInfo *)appInfo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppBlockedByPermissionsDetails` struct. +/// +@interface DBTEAMLOGAppBlockedByPermissionsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppBlockedByPermissionsDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppBlockedByPermissionsDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppBlockedByPermissionsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAppBlockedByPermissionsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppBlockedByPermissionsDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppBlockedByPermissionsDetails` +/// object. +/// ++ (DBTEAMLOGAppBlockedByPermissionsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsType.h new file mode 100644 index 000000000..ea286dd06 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppBlockedByPermissionsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppBlockedByPermissionsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppBlockedByPermissionsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppBlockedByPermissionsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppBlockedByPermissionsType` struct. +/// +@interface DBTEAMLOGAppBlockedByPermissionsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppBlockedByPermissionsType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppBlockedByPermissionsType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppBlockedByPermissionsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppBlockedByPermissionsType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppBlockedByPermissionsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppBlockedByPermissionsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppBlockedByPermissionsType` +/// object. +/// ++ (DBTEAMLOGAppBlockedByPermissionsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamDetails.h index 96c089ffc..3daaa72cf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AppLinkTeamDetails` struct. /// -/// Linked an app for team. +/// Linked app for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGAppLinkTeamDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGAppLinkTeamDetails` object. /// -+ (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAppLinkTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamType.h new file mode 100644 index 000000000..60121754e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkTeamType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppLinkTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppLinkTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppLinkTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppLinkTeamType` struct. +/// +@interface DBTEAMLOGAppLinkTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppLinkTeamType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppLinkTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppLinkTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppLinkTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppLinkTeamType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppLinkTeamType` object. +/// ++ (DBTEAMLOGAppLinkTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserDetails.h index 0a5bbae36..1a7cd470d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AppLinkUserDetails` struct. /// -/// Linked an app for team member. +/// Linked app for member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLinkUserDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkUserDetails *)instance; /// /// Deserializes `DBTEAMLOGAppLinkUserDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGAppLinkUserDetails` object. /// -+ (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAppLinkUserDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserType.h new file mode 100644 index 000000000..dcdf9f587 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLinkUserType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppLinkUserType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppLinkUserType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppLinkUserType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppLinkUserType` struct. +/// +@interface DBTEAMLOGAppLinkUserTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppLinkUserType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppLinkUserType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppLinkUserType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLinkUserType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppLinkUserType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppLinkUserType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppLinkUserType` object. +/// ++ (DBTEAMLOGAppLinkUserType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLogInfo.h index 273aaa38c..6ea5bd668 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppLogInfo.h @@ -27,10 +27,10 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// App unique ID. Might be missing due to historical data gap. +/// App unique ID. @property (nonatomic, readonly, copy, nullable) NSString *appId; -/// App display name. Might be missing due to historical data gap. +/// App display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; #pragma mark - Constructors @@ -38,9 +38,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param appId App unique ID. Might be missing due to historical data gap. -/// @param displayName App display name. Might be missing due to historical data -/// gap. +/// @param appId App unique ID. +/// @param displayName App display name. /// /// @return An initialized instance. /// @@ -74,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAppLogInfo` instances. @@ -84,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGAppLogInfo` object. /// -+ (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAppLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedDetails.h new file mode 100644 index 000000000..b20108318 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedDetails.h @@ -0,0 +1,108 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAdminConsoleAppPermission; +@class DBTEAMLOGAdminConsoleAppPolicy; +@class DBTEAMLOGAppPermissionsChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppPermissionsChangedDetails` struct. +/// +/// Changed app permissions. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppPermissionsChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Name of the app. +@property (nonatomic, readonly, copy, nullable) NSString *appName; + +/// Permission that was changed. +@property (nonatomic, readonly, nullable) DBTEAMLOGAdminConsoleAppPermission *permission; + +/// Previous policy. +@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPolicy *previousValue; + +/// New policy. +@property (nonatomic, readonly) DBTEAMLOGAdminConsoleAppPolicy *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous policy. +/// @param dNewValue New policy. +/// @param appName Name of the app. +/// @param permission Permission that was changed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGAdminConsoleAppPolicy *)previousValue + dNewValue:(DBTEAMLOGAdminConsoleAppPolicy *)dNewValue + appName:(nullable NSString *)appName + permission:(nullable DBTEAMLOGAdminConsoleAppPermission *)permission; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param previousValue Previous policy. +/// @param dNewValue New policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGAdminConsoleAppPolicy *)previousValue + dNewValue:(DBTEAMLOGAdminConsoleAppPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppPermissionsChangedDetails` struct. +/// +@interface DBTEAMLOGAppPermissionsChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppPermissionsChangedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppPermissionsChangedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppPermissionsChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGAppPermissionsChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppPermissionsChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppPermissionsChangedDetails` +/// object. +/// ++ (DBTEAMLOGAppPermissionsChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedType.h new file mode 100644 index 000000000..8cceccc2e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppPermissionsChangedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppPermissionsChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppPermissionsChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppPermissionsChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppPermissionsChangedType` struct. +/// +@interface DBTEAMLOGAppPermissionsChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppPermissionsChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppPermissionsChangedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppPermissionsChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppPermissionsChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppPermissionsChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppPermissionsChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppPermissionsChangedType` object. +/// ++ (DBTEAMLOGAppPermissionsChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamDetails.h index 39f0eeb2c..22794bbbe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AppUnlinkTeamDetails` struct. /// -/// Unlinked an app for team. +/// Unlinked app for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGAppUnlinkTeamDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGAppUnlinkTeamDetails` object. /// -+ (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAppUnlinkTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamType.h new file mode 100644 index 000000000..c7c31cb00 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkTeamType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppUnlinkTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppUnlinkTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppUnlinkTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppUnlinkTeamType` struct. +/// +@interface DBTEAMLOGAppUnlinkTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppUnlinkTeamType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppUnlinkTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppUnlinkTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppUnlinkTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppUnlinkTeamType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppUnlinkTeamType` object. +/// ++ (DBTEAMLOGAppUnlinkTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserDetails.h index d066d41ba..3f52efd8e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `AppUnlinkUserDetails` struct. /// -/// Unlinked an app for team member. +/// Unlinked app for member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAppUnlinkUserDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserDetails *)instance; /// /// Deserializes `DBTEAMLOGAppUnlinkUserDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGAppUnlinkUserDetails` object. /// -+ (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAppUnlinkUserDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserType.h new file mode 100644 index 000000000..46581db3c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAppUnlinkUserType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAppUnlinkUserType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `AppUnlinkUserType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGAppUnlinkUserType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `AppUnlinkUserType` struct. +/// +@interface DBTEAMLOGAppUnlinkUserTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGAppUnlinkUserType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGAppUnlinkUserType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGAppUnlinkUserType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAppUnlinkUserType *)instance; + +/// +/// Deserializes `DBTEAMLOGAppUnlinkUserType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGAppUnlinkUserType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGAppUnlinkUserType` object. +/// ++ (DBTEAMLOGAppUnlinkUserType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionDetails.h new file mode 100644 index 000000000..b8aa726d3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGApplyNamingConventionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ApplyNamingConventionDetails` struct. +/// +/// Applied naming convention. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGApplyNamingConventionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ApplyNamingConventionDetails` struct. +/// +@interface DBTEAMLOGApplyNamingConventionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGApplyNamingConventionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGApplyNamingConventionDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGApplyNamingConventionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGApplyNamingConventionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGApplyNamingConventionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGApplyNamingConventionDetails` +/// object. +/// ++ (DBTEAMLOGApplyNamingConventionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionType.h new file mode 100644 index 000000000..0a51b6d6c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGApplyNamingConventionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGApplyNamingConventionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ApplyNamingConventionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGApplyNamingConventionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ApplyNamingConventionType` struct. +/// +@interface DBTEAMLOGApplyNamingConventionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGApplyNamingConventionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGApplyNamingConventionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGApplyNamingConventionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGApplyNamingConventionType *)instance; + +/// +/// Deserializes `DBTEAMLOGApplyNamingConventionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGApplyNamingConventionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGApplyNamingConventionType` object. +/// ++ (DBTEAMLOGApplyNamingConventionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAssetLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAssetLogInfo.h index 06d143327..f962a5173 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAssetLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGAssetLogInfo.h @@ -13,6 +13,7 @@ @class DBTEAMLOGFolderLogInfo; @class DBTEAMLOGPaperDocumentLogInfo; @class DBTEAMLOGPaperFolderLogInfo; +@class DBTEAMLOGShowcaseDocumentLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -33,21 +34,24 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGAssetLogInfoTag` enum type represents the possible tag states /// with which the `DBTEAMLOGAssetLogInfo` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { - /// File's details. - DBTEAMLOGAssetLogInfoFile, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag){ + /// File's details. + DBTEAMLOGAssetLogInfoFile, - /// Folder's details. - DBTEAMLOGAssetLogInfoFolder, + /// Folder's details. + DBTEAMLOGAssetLogInfoFolder, - /// Paper docuement's details. - DBTEAMLOGAssetLogInfoPaperDocument, + /// Paper document's details. + DBTEAMLOGAssetLogInfoPaperDocument, - /// Paper folder's details. - DBTEAMLOGAssetLogInfoPaperFolder, + /// Paper folder's details. + DBTEAMLOGAssetLogInfoPaperFolder, - /// (no description). - DBTEAMLOGAssetLogInfoOther, + /// Showcase document's details. + DBTEAMLOGAssetLogInfoShowcaseDocument, + + /// (no description). + DBTEAMLOGAssetLogInfoOther, }; @@ -62,7 +66,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGFolderLogInfo *folder; -/// Paper docuement's details. @note Ensure the `isPaperDocument` method returns +/// Paper document's details. @note Ensure the `isPaperDocument` method returns /// true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGPaperDocumentLogInfo *paperDocument; @@ -70,6 +74,10 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGPaperFolderLogInfo *paperFolder; +/// Showcase document's details. @note Ensure the `isShowcaseDocument` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDocumentLogInfo *showcaseDocument; + #pragma mark - Constructors /// @@ -97,9 +105,9 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// /// Initializes union class with tag state of "paper_document". /// -/// Description of the "paper_document" tag state: Paper docuement's details. +/// Description of the "paper_document" tag state: Paper document's details. /// -/// @param paperDocument Paper docuement's details. +/// @param paperDocument Paper document's details. /// /// @return An initialized instance. /// @@ -116,6 +124,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// - (instancetype)initWithPaperFolder:(DBTEAMLOGPaperFolderLogInfo *)paperFolder; +/// +/// Initializes union class with tag state of "showcase_document". +/// +/// Description of the "showcase_document" tag state: Showcase document's +/// details. +/// +/// @param showcaseDocument Showcase document's details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseDocument:(DBTEAMLOGShowcaseDocumentLogInfo *)showcaseDocument; + /// /// Initializes union class with tag state of "other". /// @@ -167,6 +187,17 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// - (BOOL)isPaperFolder; +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_document". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseDocument` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "showcase_document". +/// +- (BOOL)isShowcaseDocument; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -198,7 +229,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGAssetLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGAssetLogInfo *)instance; /// /// Deserializes `DBTEAMLOGAssetLogInfo` instances. @@ -208,7 +239,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGAssetLogInfoTag) { /// /// @return An instantiation of the `DBTEAMLOGAssetLogInfo` object. /// -+ (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGAssetLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentDetails.h similarity index 52% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPasswordDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentDetails.h index 0525b0045..de277eef9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPasswordDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelVisibilityPasswordDetails; +@class DBTEAMLOGBackupAdminInvitationSentDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelVisibilityPasswordDetails` struct. +/// The `BackupAdminInvitationSentDetails` struct. /// -/// Password-protected a link. +/// Invited members to activate Backup. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelVisibilityPasswordDetails : NSObject +@interface DBTEAMLOGBackupAdminInvitationSentDetails : NSObject #pragma mark - Instance fields @@ -43,31 +43,31 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelVisibilityPasswordDetails` struct. +/// The serialization class for the `BackupAdminInvitationSentDetails` struct. /// -@interface DBTEAMLOGShmodelVisibilityPasswordDetailsSerializer : NSObject +@interface DBTEAMLOGBackupAdminInvitationSentDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelVisibilityPasswordDetails` instances. +/// Serializes `DBTEAMLOGBackupAdminInvitationSentDetails` instances. /// /// @param instance An instance of the -/// `DBTEAMLOGShmodelVisibilityPasswordDetails` API object. +/// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityPasswordDetails` API object. +/// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityPasswordDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelVisibilityPasswordDetails` instances. +/// Deserializes `DBTEAMLOGBackupAdminInvitationSentDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityPasswordDetails` API object. +/// `DBTEAMLOGBackupAdminInvitationSentDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelVisibilityPasswordDetails` +/// @return An instantiation of the `DBTEAMLOGBackupAdminInvitationSentDetails` /// object. /// -+ (DBTEAMLOGShmodelVisibilityPasswordDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGBackupAdminInvitationSentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentType.h new file mode 100644 index 000000000..39ab4c09d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupAdminInvitationSentType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBackupAdminInvitationSentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BackupAdminInvitationSentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBackupAdminInvitationSentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BackupAdminInvitationSentType` struct. +/// +@interface DBTEAMLOGBackupAdminInvitationSentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBackupAdminInvitationSentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBackupAdminInvitationSentType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupAdminInvitationSentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBackupAdminInvitationSentType *)instance; + +/// +/// Deserializes `DBTEAMLOGBackupAdminInvitationSentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupAdminInvitationSentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBackupAdminInvitationSentType` +/// object. +/// ++ (DBTEAMLOGBackupAdminInvitationSentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedDetails.h new file mode 100644 index 000000000..d4cef9d9d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBackupInvitationOpenedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BackupInvitationOpenedDetails` struct. +/// +/// Opened Backup invite. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBackupInvitationOpenedDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BackupInvitationOpenedDetails` struct. +/// +@interface DBTEAMLOGBackupInvitationOpenedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBackupInvitationOpenedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBackupInvitationOpenedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupInvitationOpenedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBackupInvitationOpenedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupInvitationOpenedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBackupInvitationOpenedDetails` +/// object. +/// ++ (DBTEAMLOGBackupInvitationOpenedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedType.h new file mode 100644 index 000000000..886e5fec0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupInvitationOpenedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBackupInvitationOpenedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BackupInvitationOpenedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBackupInvitationOpenedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BackupInvitationOpenedType` struct. +/// +@interface DBTEAMLOGBackupInvitationOpenedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBackupInvitationOpenedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBackupInvitationOpenedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupInvitationOpenedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBackupInvitationOpenedType *)instance; + +/// +/// Deserializes `DBTEAMLOGBackupInvitationOpenedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupInvitationOpenedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBackupInvitationOpenedType` +/// object. +/// ++ (DBTEAMLOGBackupInvitationOpenedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupStatus.h new file mode 100644 index 000000000..1eb063d37 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBackupStatus.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBackupStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BackupStatus` union. +/// +/// Backup status +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBackupStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGBackupStatusTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGBackupStatus` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGBackupStatusTag){ + /// (no description). + DBTEAMLOGBackupStatusDisabled, + + /// (no description). + DBTEAMLOGBackupStatusEnabled, + + /// (no description). + DBTEAMLOGBackupStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGBackupStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGBackupStatus` union. +/// +@interface DBTEAMLOGBackupStatusSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBackupStatus` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBackupStatus` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBackupStatus *)instance; + +/// +/// Deserializes `DBTEAMLOGBackupStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBackupStatus` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBackupStatus` object. +/// ++ (DBTEAMLOGBackupStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageDetails.h new file mode 100644 index 000000000..f0cc0ee4a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderAddPageDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderAddPageDetails` struct. +/// +/// Added Binder page. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderAddPageDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderAddPageDetails` struct. +/// +@interface DBTEAMLOGBinderAddPageDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderAddPageDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderAddPageDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddPageDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderAddPageDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderAddPageDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddPageDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderAddPageDetails` object. +/// ++ (DBTEAMLOGBinderAddPageDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageType.h new file mode 100644 index 000000000..8919635c3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddPageType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderAddPageType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderAddPageType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderAddPageType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderAddPageType` struct. +/// +@interface DBTEAMLOGBinderAddPageTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderAddPageType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderAddPageType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddPageType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderAddPageType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderAddPageType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddPageType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderAddPageType` object. +/// ++ (DBTEAMLOGBinderAddPageType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionDetails.h new file mode 100644 index 000000000..89fb5b9fa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderAddSectionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderAddSectionDetails` struct. +/// +/// Added Binder section. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderAddSectionDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderAddSectionDetails` struct. +/// +@interface DBTEAMLOGBinderAddSectionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderAddSectionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderAddSectionDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddSectionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderAddSectionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderAddSectionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddSectionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderAddSectionDetails` object. +/// ++ (DBTEAMLOGBinderAddSectionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionType.h new file mode 100644 index 000000000..1abd43eee --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderAddSectionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderAddSectionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderAddSectionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderAddSectionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderAddSectionType` struct. +/// +@interface DBTEAMLOGBinderAddSectionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderAddSectionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderAddSectionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddSectionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderAddSectionType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderAddSectionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderAddSectionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderAddSectionType` object. +/// ++ (DBTEAMLOGBinderAddSectionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageDetails.h new file mode 100644 index 000000000..f52aa6a6d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRemovePageDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRemovePageDetails` struct. +/// +/// Removed Binder page. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRemovePageDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRemovePageDetails` struct. +/// +@interface DBTEAMLOGBinderRemovePageDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRemovePageDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRemovePageDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemovePageDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRemovePageDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRemovePageDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemovePageDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRemovePageDetails` object. +/// ++ (DBTEAMLOGBinderRemovePageDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageType.h new file mode 100644 index 000000000..b2a0b7229 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemovePageType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRemovePageType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRemovePageType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRemovePageType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRemovePageType` struct. +/// +@interface DBTEAMLOGBinderRemovePageTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRemovePageType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRemovePageType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemovePageType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRemovePageType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRemovePageType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemovePageType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRemovePageType` object. +/// ++ (DBTEAMLOGBinderRemovePageType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionDetails.h new file mode 100644 index 000000000..e70a18099 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRemoveSectionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRemoveSectionDetails` struct. +/// +/// Removed Binder section. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRemoveSectionDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRemoveSectionDetails` struct. +/// +@interface DBTEAMLOGBinderRemoveSectionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRemoveSectionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRemoveSectionDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemoveSectionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRemoveSectionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRemoveSectionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemoveSectionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRemoveSectionDetails` +/// object. +/// ++ (DBTEAMLOGBinderRemoveSectionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionType.h new file mode 100644 index 000000000..ad2a28916 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRemoveSectionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRemoveSectionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRemoveSectionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRemoveSectionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRemoveSectionType` struct. +/// +@interface DBTEAMLOGBinderRemoveSectionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRemoveSectionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRemoveSectionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemoveSectionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRemoveSectionType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRemoveSectionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRemoveSectionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRemoveSectionType` object. +/// ++ (DBTEAMLOGBinderRemoveSectionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageDetails.h new file mode 100644 index 000000000..50d2942be --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageDetails.h @@ -0,0 +1,107 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRenamePageDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRenamePageDetails` struct. +/// +/// Renamed Binder page. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRenamePageDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +/// Previous name of the Binder page/section. +@property (nonatomic, readonly, copy, nullable) NSString *previousBinderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// @param previousBinderItemName Previous name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName + previousBinderItemName:(nullable NSString *)previousBinderItemName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRenamePageDetails` struct. +/// +@interface DBTEAMLOGBinderRenamePageDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRenamePageDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRenamePageDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenamePageDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRenamePageDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRenamePageDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenamePageDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRenamePageDetails` object. +/// ++ (DBTEAMLOGBinderRenamePageDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageType.h new file mode 100644 index 000000000..c3c990e80 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenamePageType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRenamePageType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRenamePageType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRenamePageType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRenamePageType` struct. +/// +@interface DBTEAMLOGBinderRenamePageTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRenamePageType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRenamePageType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenamePageType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRenamePageType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRenamePageType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenamePageType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRenamePageType` object. +/// ++ (DBTEAMLOGBinderRenamePageType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionDetails.h new file mode 100644 index 000000000..d348f372b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionDetails.h @@ -0,0 +1,108 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRenameSectionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRenameSectionDetails` struct. +/// +/// Renamed Binder section. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRenameSectionDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +/// Previous name of the Binder page/section. +@property (nonatomic, readonly, copy, nullable) NSString *previousBinderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// @param previousBinderItemName Previous name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName + previousBinderItemName:(nullable NSString *)previousBinderItemName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRenameSectionDetails` struct. +/// +@interface DBTEAMLOGBinderRenameSectionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRenameSectionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRenameSectionDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenameSectionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRenameSectionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRenameSectionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenameSectionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRenameSectionDetails` +/// object. +/// ++ (DBTEAMLOGBinderRenameSectionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionType.h new file mode 100644 index 000000000..52f0ca4d3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderRenameSectionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderRenameSectionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderRenameSectionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderRenameSectionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderRenameSectionType` struct. +/// +@interface DBTEAMLOGBinderRenameSectionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderRenameSectionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderRenameSectionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenameSectionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderRenameSectionType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderRenameSectionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderRenameSectionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderRenameSectionType` object. +/// ++ (DBTEAMLOGBinderRenameSectionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageDetails.h new file mode 100644 index 000000000..671b6843e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderReorderPageDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderReorderPageDetails` struct. +/// +/// Reordered Binder page. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderReorderPageDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderReorderPageDetails` struct. +/// +@interface DBTEAMLOGBinderReorderPageDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderReorderPageDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderReorderPageDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderPageDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderReorderPageDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderReorderPageDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderPageDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderReorderPageDetails` object. +/// ++ (DBTEAMLOGBinderReorderPageDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageType.h new file mode 100644 index 000000000..6d78c8202 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderPageType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderReorderPageType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderReorderPageType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderReorderPageType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderReorderPageType` struct. +/// +@interface DBTEAMLOGBinderReorderPageTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderReorderPageType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderReorderPageType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderPageType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderReorderPageType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderReorderPageType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderPageType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderReorderPageType` object. +/// ++ (DBTEAMLOGBinderReorderPageType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionDetails.h new file mode 100644 index 000000000..70ccfe7bc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderReorderSectionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderReorderSectionDetails` struct. +/// +/// Reordered Binder section. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderReorderSectionDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Title of the Binder doc. +@property (nonatomic, readonly, copy) NSString *docTitle; + +/// Name of the Binder page/section. +@property (nonatomic, readonly, copy) NSString *binderItemName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param docTitle Title of the Binder doc. +/// @param binderItemName Name of the Binder page/section. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + docTitle:(NSString *)docTitle + binderItemName:(NSString *)binderItemName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderReorderSectionDetails` struct. +/// +@interface DBTEAMLOGBinderReorderSectionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderReorderSectionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderReorderSectionDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderSectionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderReorderSectionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderReorderSectionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderSectionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderReorderSectionDetails` +/// object. +/// ++ (DBTEAMLOGBinderReorderSectionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionType.h new file mode 100644 index 000000000..cf2e6d1e2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGBinderReorderSectionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBinderReorderSectionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `BinderReorderSectionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGBinderReorderSectionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `BinderReorderSectionType` struct. +/// +@interface DBTEAMLOGBinderReorderSectionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGBinderReorderSectionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGBinderReorderSectionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderSectionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGBinderReorderSectionType *)instance; + +/// +/// Deserializes `DBTEAMLOGBinderReorderSectionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGBinderReorderSectionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGBinderReorderSectionType` object. +/// ++ (DBTEAMLOGBinderReorderSectionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicy.h new file mode 100644 index 000000000..5a450733e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCameraUploadsPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CameraUploadsPolicy` union. +/// +/// Policy for controlling if team members can activate camera uploads +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCameraUploadsPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGCameraUploadsPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGCameraUploadsPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGCameraUploadsPolicyTag){ + /// (no description). + DBTEAMLOGCameraUploadsPolicyDisabled, + + /// (no description). + DBTEAMLOGCameraUploadsPolicyEnabled, + + /// (no description). + DBTEAMLOGCameraUploadsPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGCameraUploadsPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGCameraUploadsPolicy` union. +/// +@interface DBTEAMLOGCameraUploadsPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCameraUploadsPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCameraUploadsPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGCameraUploadsPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCameraUploadsPolicy` object. +/// ++ (DBTEAMLOGCameraUploadsPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedDetails.h new file mode 100644 index 000000000..7d06f7b7f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCameraUploadsPolicy; +@class DBTEAMLOGCameraUploadsPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CameraUploadsPolicyChangedDetails` struct. +/// +/// Changed camera uploads setting for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCameraUploadsPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New camera uploads setting. +@property (nonatomic, readonly) DBTEAMLOGCameraUploadsPolicy *dNewValue; + +/// Previous camera uploads setting. +@property (nonatomic, readonly) DBTEAMLOGCameraUploadsPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New camera uploads setting. +/// @param previousValue Previous camera uploads setting. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGCameraUploadsPolicy *)dNewValue + previousValue:(DBTEAMLOGCameraUploadsPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CameraUploadsPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGCameraUploadsPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCameraUploadsPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGCameraUploadsPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGCameraUploadsPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCameraUploadsPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGCameraUploadsPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedType.h new file mode 100644 index 000000000..55757c515 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCameraUploadsPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCameraUploadsPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CameraUploadsPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCameraUploadsPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CameraUploadsPolicyChangedType` struct. +/// +@interface DBTEAMLOGCameraUploadsPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCameraUploadsPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCameraUploadsPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCameraUploadsPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGCameraUploadsPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCameraUploadsPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCameraUploadsPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGCameraUploadsPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicy.h new file mode 100644 index 000000000..667a856c0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicy.h @@ -0,0 +1,152 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCaptureTranscriptPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CaptureTranscriptPolicy` union. +/// +/// Policy for deciding whether team users can transcription in Capture +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCaptureTranscriptPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGCaptureTranscriptPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGCaptureTranscriptPolicy` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGCaptureTranscriptPolicyTag){ + /// (no description). + DBTEAMLOGCaptureTranscriptPolicyDefault_, + + /// (no description). + DBTEAMLOGCaptureTranscriptPolicyDisabled, + + /// (no description). + DBTEAMLOGCaptureTranscriptPolicyEnabled, + + /// (no description). + DBTEAMLOGCaptureTranscriptPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGCaptureTranscriptPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGCaptureTranscriptPolicy` union. +/// +@interface DBTEAMLOGCaptureTranscriptPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCaptureTranscriptPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCaptureTranscriptPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGCaptureTranscriptPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCaptureTranscriptPolicy` object. +/// ++ (DBTEAMLOGCaptureTranscriptPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h new file mode 100644 index 000000000..31bb33143 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCaptureTranscriptPolicy; +@class DBTEAMLOGCaptureTranscriptPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CaptureTranscriptPolicyChangedDetails` struct. +/// +/// Changed Capture transcription policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCaptureTranscriptPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGCaptureTranscriptPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGCaptureTranscriptPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGCaptureTranscriptPolicy *)dNewValue + previousValue:(DBTEAMLOGCaptureTranscriptPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CaptureTranscriptPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGCaptureTranscriptPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedDetails` object. +/// ++ (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedType.h new file mode 100644 index 000000000..fb478d4dc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCaptureTranscriptPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCaptureTranscriptPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CaptureTranscriptPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCaptureTranscriptPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CaptureTranscriptPolicyChangedType` struct. +/// +@interface DBTEAMLOGCaptureTranscriptPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCaptureTranscriptPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCaptureTranscriptPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGCaptureTranscriptPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGCaptureTranscriptPolicyChangedType` object. +/// ++ (DBTEAMLOGCaptureTranscriptPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCertificate.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCertificate.h index 57459fbe5..5d80d903b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCertificate.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCertificate.h @@ -110,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCertificate` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGCertificate *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCertificate *)instance; /// /// Deserializes `DBTEAMLOGCertificate` instances. @@ -120,7 +120,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGCertificate` object. /// -+ (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGCertificate *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangeLinkExpirationPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangeLinkExpirationPolicy.h new file mode 100644 index 000000000..5a3f9d3d1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangeLinkExpirationPolicy.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangeLinkExpirationPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ChangeLinkExpirationPolicy` union. +/// +/// Policy for deciding whether the team's default expiration days policy must +/// be enforced when an externally shared link is updated +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGChangeLinkExpirationPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGChangeLinkExpirationPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGChangeLinkExpirationPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGChangeLinkExpirationPolicyTag){ + /// (no description). + DBTEAMLOGChangeLinkExpirationPolicyAllowed, + + /// (no description). + DBTEAMLOGChangeLinkExpirationPolicyNotAllowed, + + /// (no description). + DBTEAMLOGChangeLinkExpirationPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGChangeLinkExpirationPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "allowed". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowed; + +/// +/// Initializes union class with tag state of "not_allowed". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotAllowed; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "allowed". +/// +/// @return Whether the union's current tag state has value "allowed". +/// +- (BOOL)isAllowed; + +/// +/// Retrieves whether the union's current tag state has value "not_allowed". +/// +/// @return Whether the union's current tag state has value "not_allowed". +/// +- (BOOL)isNotAllowed; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGChangeLinkExpirationPolicy` union. +/// +@interface DBTEAMLOGChangeLinkExpirationPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGChangeLinkExpirationPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGChangeLinkExpirationPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGChangeLinkExpirationPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGChangeLinkExpirationPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGChangeLinkExpirationPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGChangeLinkExpirationPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGChangeLinkExpirationPolicy` +/// object. +/// ++ (DBTEAMLOGChangeLinkExpirationPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleDetails.h new file mode 100644 index 000000000..3f1484439 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangedEnterpriseAdminRoleDetails; +@class DBTEAMLOGFedAdminRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ChangedEnterpriseAdminRoleDetails` struct. +/// +/// Changed enterprise admin role. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGChangedEnterpriseAdminRoleDetails : NSObject + +#pragma mark - Instance fields + +/// The member’s previous enterprise admin role. +@property (nonatomic, readonly) DBTEAMLOGFedAdminRole *previousValue; + +/// The member’s new enterprise admin role. +@property (nonatomic, readonly) DBTEAMLOGFedAdminRole *dNewValue; + +/// The name of the member’s team. +@property (nonatomic, readonly, copy) NSString *teamName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue The member’s previous enterprise admin role. +/// @param dNewValue The member’s new enterprise admin role. +/// @param teamName The name of the member’s team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGFedAdminRole *)previousValue + dNewValue:(DBTEAMLOGFedAdminRole *)dNewValue + teamName:(NSString *)teamName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ChangedEnterpriseAdminRoleDetails` struct. +/// +@interface DBTEAMLOGChangedEnterpriseAdminRoleDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGChangedEnterpriseAdminRoleDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGChangedEnterpriseAdminRoleDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseAdminRoleDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseAdminRoleDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGChangedEnterpriseAdminRoleDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseAdminRoleDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGChangedEnterpriseAdminRoleDetails` +/// object. +/// ++ (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleType.h new file mode 100644 index 000000000..ae03a5e03 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseAdminRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangedEnterpriseAdminRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ChangedEnterpriseAdminRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGChangedEnterpriseAdminRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ChangedEnterpriseAdminRoleType` struct. +/// +@interface DBTEAMLOGChangedEnterpriseAdminRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGChangedEnterpriseAdminRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGChangedEnterpriseAdminRoleType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseAdminRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseAdminRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGChangedEnterpriseAdminRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseAdminRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGChangedEnterpriseAdminRoleType` +/// object. +/// ++ (DBTEAMLOGChangedEnterpriseAdminRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h new file mode 100644 index 000000000..77f8c0a69 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h @@ -0,0 +1,99 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails; +@class DBTEAMLOGFedHandshakeAction; +@class DBTEAMLOGFederationStatusChangeAdditionalInfo; +@class DBTEAMLOGTrustedTeamsRequestState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ChangedEnterpriseConnectedTeamStatusDetails` struct. +/// +/// Changed enterprise-connected team status. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails : NSObject + +#pragma mark - Instance fields + +/// The preformed change in the team’s connection status. +@property (nonatomic, readonly) DBTEAMLOGFedHandshakeAction *action; + +/// Additional information about the organization or team. +@property (nonatomic, readonly) DBTEAMLOGFederationStatusChangeAdditionalInfo *additionalInfo; + +/// Previous request state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *previousValue; + +/// New request state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param action The preformed change in the team’s connection status. +/// @param additionalInfo Additional information about the organization or team. +/// @param previousValue Previous request state. +/// @param dNewValue New request state. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAction:(DBTEAMLOGFedHandshakeAction *)action + additionalInfo:(DBTEAMLOGFederationStatusChangeAdditionalInfo *)additionalInfo + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `ChangedEnterpriseConnectedTeamStatusDetails` struct. +/// +@interface DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails` object. +/// ++ (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h new file mode 100644 index 000000000..b0f2be089 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangedEnterpriseConnectedTeamStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ChangedEnterpriseConnectedTeamStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGChangedEnterpriseConnectedTeamStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ChangedEnterpriseConnectedTeamStatusType` +/// struct. +/// +@interface DBTEAMLOGChangedEnterpriseConnectedTeamStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGChangedEnterpriseConnectedTeamStatusType` object. +/// ++ (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyDetails.h new file mode 100644 index 000000000..3f40e1507 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyDetails.h @@ -0,0 +1,91 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationChangePolicyDetails; +@class DBTEAMLOGClassificationPolicyEnumWrapper; +@class DBTEAMLOGClassificationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationChangePolicyDetails` struct. +/// +/// Changed classification policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationChangePolicyDetails : NSObject + +#pragma mark - Instance fields + +/// Previous classification policy. +@property (nonatomic, readonly) DBTEAMLOGClassificationPolicyEnumWrapper *previousValue; + +/// New classification policy. +@property (nonatomic, readonly) DBTEAMLOGClassificationPolicyEnumWrapper *dNewValue; + +/// Policy type. +@property (nonatomic, readonly) DBTEAMLOGClassificationType *classificationType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous classification policy. +/// @param dNewValue New classification policy. +/// @param classificationType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGClassificationPolicyEnumWrapper *)previousValue + dNewValue:(DBTEAMLOGClassificationPolicyEnumWrapper *)dNewValue + classificationType:(DBTEAMLOGClassificationType *)classificationType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationChangePolicyDetails` struct. +/// +@interface DBTEAMLOGClassificationChangePolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationChangePolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGClassificationChangePolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationChangePolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationChangePolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationChangePolicyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationChangePolicyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationChangePolicyDetails` +/// object. +/// ++ (DBTEAMLOGClassificationChangePolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyType.h new file mode 100644 index 000000000..90bd04aa4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationChangePolicyType` struct. +/// +@interface DBTEAMLOGClassificationChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGClassificationChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationChangePolicyType` +/// object. +/// ++ (DBTEAMLOGClassificationChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportDetails.h new file mode 100644 index 000000000..281cf4c6b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationCreateReportDetails` struct. +/// +/// Created Classification report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationCreateReportDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationCreateReportDetails` struct. +/// +@interface DBTEAMLOGClassificationCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGClassificationCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationCreateReportDetails` +/// object. +/// ++ (DBTEAMLOGClassificationCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailDetails.h new file mode 100644 index 000000000..0fb0a0f1e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationCreateReportFailDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationCreateReportFailDetails` struct. +/// +/// Couldn't create Classification report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationCreateReportFailDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationCreateReportFailDetails` +/// struct. +/// +@interface DBTEAMLOGClassificationCreateReportFailDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationCreateReportFailDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGClassificationCreateReportFailDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportFailDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportFailDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationCreateReportFailDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportFailDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGClassificationCreateReportFailDetails` object. +/// ++ (DBTEAMLOGClassificationCreateReportFailDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailType.h new file mode 100644 index 000000000..159268a22 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportFailType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationCreateReportFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationCreateReportFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationCreateReportFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationCreateReportFailType` struct. +/// +@interface DBTEAMLOGClassificationCreateReportFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationCreateReportFailType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGClassificationCreateReportFailType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationCreateReportFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportFailType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGClassificationCreateReportFailType` object. +/// ++ (DBTEAMLOGClassificationCreateReportFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportType.h new file mode 100644 index 000000000..a0511d2ce --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ClassificationCreateReportType` struct. +/// +@interface DBTEAMLOGClassificationCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationCreateReportType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGClassificationCreateReportType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationCreateReportType` +/// object. +/// ++ (DBTEAMLOGClassificationCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationPolicyEnumWrapper.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationPolicyEnumWrapper.h new file mode 100644 index 000000000..f5b5bdf85 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationPolicyEnumWrapper.h @@ -0,0 +1,173 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationPolicyEnumWrapper; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationPolicyEnumWrapper` union. +/// +/// Policy for controlling team access to the classification feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationPolicyEnumWrapper : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGClassificationPolicyEnumWrapperTag` enum type represents the +/// possible tag states with which the +/// `DBTEAMLOGClassificationPolicyEnumWrapper` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGClassificationPolicyEnumWrapperTag){ + /// (no description). + DBTEAMLOGClassificationPolicyEnumWrapperDisabled, + + /// (no description). + DBTEAMLOGClassificationPolicyEnumWrapperEnabled, + + /// (no description). + DBTEAMLOGClassificationPolicyEnumWrapperMemberAndTeamFolders, + + /// (no description). + DBTEAMLOGClassificationPolicyEnumWrapperTeamFolders, + + /// (no description). + DBTEAMLOGClassificationPolicyEnumWrapperOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGClassificationPolicyEnumWrapperTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "member_and_team_folders". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAndTeamFolders; + +/// +/// Initializes union class with tag state of "team_folders". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolders; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_and_team_folders". +/// +/// @return Whether the union's current tag state has value +/// "member_and_team_folders". +/// +- (BOOL)isMemberAndTeamFolders; + +/// +/// Retrieves whether the union's current tag state has value "team_folders". +/// +/// @return Whether the union's current tag state has value "team_folders". +/// +- (BOOL)isTeamFolders; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGClassificationPolicyEnumWrapper` +/// union. +/// +@interface DBTEAMLOGClassificationPolicyEnumWrapperSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationPolicyEnumWrapper` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGClassificationPolicyEnumWrapper` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationPolicyEnumWrapper` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationPolicyEnumWrapper *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationPolicyEnumWrapper` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationPolicyEnumWrapper` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationPolicyEnumWrapper` +/// object. +/// ++ (DBTEAMLOGClassificationPolicyEnumWrapper *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationType.h new file mode 100644 index 000000000..cdad254cd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGClassificationType.h @@ -0,0 +1,135 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGClassificationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ClassificationType` union. +/// +/// The type of classification (currently only personal information) +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGClassificationType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGClassificationTypeTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGClassificationType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGClassificationTypeTag){ + /// (no description). + DBTEAMLOGClassificationTypePersonalInformation, + + /// (no description). + DBTEAMLOGClassificationTypePii, + + /// (no description). + DBTEAMLOGClassificationTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGClassificationTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "personal_information". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPersonalInformation; + +/// +/// Initializes union class with tag state of "pii". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPii; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "personal_information". +/// +/// @return Whether the union's current tag state has value +/// "personal_information". +/// +- (BOOL)isPersonalInformation; + +/// +/// Retrieves whether the union's current tag state has value "pii". +/// +/// @return Whether the union's current tag state has value "pii". +/// +- (BOOL)isPii; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGClassificationType` union. +/// +@interface DBTEAMLOGClassificationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGClassificationType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGClassificationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGClassificationType *)instance; + +/// +/// Deserializes `DBTEAMLOGClassificationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGClassificationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGClassificationType` object. +/// ++ (DBTEAMLOGClassificationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareDetails.h index 099010598..7de946655 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `CollectionShareDetails` struct. /// -/// Shared an album. +/// Shared album. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCollectionShareDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCollectionShareDetails *)instance; /// /// Deserializes `DBTEAMLOGCollectionShareDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGCollectionShareDetails` object. /// -+ (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGCollectionShareDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareType.h new file mode 100644 index 000000000..efc8c7742 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCollectionShareType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCollectionShareType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CollectionShareType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCollectionShareType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CollectionShareType` struct. +/// +@interface DBTEAMLOGCollectionShareTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCollectionShareType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCollectionShareType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCollectionShareType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCollectionShareType *)instance; + +/// +/// Deserializes `DBTEAMLOGCollectionShareType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCollectionShareType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCollectionShareType` object. +/// ++ (DBTEAMLOGCollectionShareType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicy.h new file mode 100644 index 000000000..43ef5bb76 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicy.h @@ -0,0 +1,151 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGComputerBackupPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ComputerBackupPolicy` union. +/// +/// Policy for controlling team access to computer backup feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGComputerBackupPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGComputerBackupPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGComputerBackupPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGComputerBackupPolicyTag){ + /// (no description). + DBTEAMLOGComputerBackupPolicyDefault_, + + /// (no description). + DBTEAMLOGComputerBackupPolicyDisabled, + + /// (no description). + DBTEAMLOGComputerBackupPolicyEnabled, + + /// (no description). + DBTEAMLOGComputerBackupPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGComputerBackupPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGComputerBackupPolicy` union. +/// +@interface DBTEAMLOGComputerBackupPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGComputerBackupPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGComputerBackupPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGComputerBackupPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGComputerBackupPolicy` object. +/// ++ (DBTEAMLOGComputerBackupPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedDetails.h new file mode 100644 index 000000000..6da1cdbff --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGComputerBackupPolicy; +@class DBTEAMLOGComputerBackupPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ComputerBackupPolicyChangedDetails` struct. +/// +/// Changed computer backup policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGComputerBackupPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New computer backup policy. +@property (nonatomic, readonly) DBTEAMLOGComputerBackupPolicy *dNewValue; + +/// Previous computer backup policy. +@property (nonatomic, readonly) DBTEAMLOGComputerBackupPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New computer backup policy. +/// @param previousValue Previous computer backup policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGComputerBackupPolicy *)dNewValue + previousValue:(DBTEAMLOGComputerBackupPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ComputerBackupPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGComputerBackupPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGComputerBackupPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGComputerBackupPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGComputerBackupPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGComputerBackupPolicyChangedDetails` object. +/// ++ (DBTEAMLOGComputerBackupPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedType.h new file mode 100644 index 000000000..a11edb347 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGComputerBackupPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGComputerBackupPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ComputerBackupPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGComputerBackupPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ComputerBackupPolicyChangedType` struct. +/// +@interface DBTEAMLOGComputerBackupPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGComputerBackupPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGComputerBackupPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGComputerBackupPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGComputerBackupPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGComputerBackupPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGComputerBackupPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGComputerBackupPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConfidentiality.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConfidentiality.h deleted file mode 100644 index 35a2726da..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConfidentiality.h +++ /dev/null @@ -1,132 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGConfidentiality; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `Confidentiality` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGConfidentiality : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGConfidentialityTag` enum type represents the possible tag -/// states with which the `DBTEAMLOGConfidentiality` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGConfidentialityTag) { - /// (no description). - DBTEAMLOGConfidentialityConfidential, - - /// (no description). - DBTEAMLOGConfidentialityNonConfidential, - - /// (no description). - DBTEAMLOGConfidentialityOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGConfidentialityTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "confidential". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithConfidential; - -/// -/// Initializes union class with tag state of "non_confidential". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithNonConfidential; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "confidential". -/// -/// @return Whether the union's current tag state has value "confidential". -/// -- (BOOL)isConfidential; - -/// -/// Retrieves whether the union's current tag state has value -/// "non_confidential". -/// -/// @return Whether the union's current tag state has value "non_confidential". -/// -- (BOOL)isNonConfidential; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBTEAMLOGConfidentiality` union. -/// -@interface DBTEAMLOGConfidentialitySerializer : NSObject - -/// -/// Serializes `DBTEAMLOGConfidentiality` instances. -/// -/// @param instance An instance of the `DBTEAMLOGConfidentiality` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGConfidentiality` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGConfidentiality *)instance; - -/// -/// Deserializes `DBTEAMLOGConfidentiality` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGConfidentiality` API object. -/// -/// @return An instantiation of the `DBTEAMLOGConfidentiality` object. -/// -+ (DBTEAMLOGConfidentiality *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConnectedTeamName.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConnectedTeamName.h new file mode 100644 index 000000000..4a74d59ad --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGConnectedTeamName.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGConnectedTeamName; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ConnectedTeamName` struct. +/// +/// The name of the team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGConnectedTeamName : NSObject + +#pragma mark - Instance fields + +/// The name of the team. +@property (nonatomic, readonly, copy) NSString *team; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param team The name of the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeam:(NSString *)team; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ConnectedTeamName` struct. +/// +@interface DBTEAMLOGConnectedTeamNameSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGConnectedTeamName` instances. +/// +/// @param instance An instance of the `DBTEAMLOGConnectedTeamName` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGConnectedTeamName` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGConnectedTeamName *)instance; + +/// +/// Deserializes `DBTEAMLOGConnectedTeamName` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGConnectedTeamName` API object. +/// +/// @return An instantiation of the `DBTEAMLOGConnectedTeamName` object. +/// ++ (DBTEAMLOGConnectedTeamName *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedDetails.h new file mode 100644 index 000000000..71f01d071 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGContentAdministrationPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ContentAdministrationPolicyChangedDetails` struct. +/// +/// Changed content management setting. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGContentAdministrationPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New content administration policy. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +/// Previous content administration policy. +@property (nonatomic, readonly, copy) NSString *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New content administration policy. +/// @param previousValue Previous content administration policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ContentAdministrationPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGContentAdministrationPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGContentAdministrationPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGContentAdministrationPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGContentAdministrationPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGContentAdministrationPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedDetails` object. +/// ++ (DBTEAMLOGContentAdministrationPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedType.h new file mode 100644 index 000000000..8bdcc6991 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentAdministrationPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGContentAdministrationPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ContentAdministrationPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGContentAdministrationPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ContentAdministrationPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGContentAdministrationPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGContentAdministrationPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGContentAdministrationPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGContentAdministrationPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGContentAdministrationPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGContentAdministrationPolicyChangedType` object. +/// ++ (DBTEAMLOGContentAdministrationPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentPermanentDeletePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentPermanentDeletePolicy.h index 2d8ab7def..16dc43241 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentPermanentDeletePolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContentPermanentDeletePolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGContentPermanentDeletePolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGContentPermanentDeletePolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGContentPermanentDeletePolicyTag) { - /// (no description). - DBTEAMLOGContentPermanentDeletePolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGContentPermanentDeletePolicyTag){ + /// (no description). + DBTEAMLOGContentPermanentDeletePolicyDisabled, - /// (no description). - DBTEAMLOGContentPermanentDeletePolicyEnabled, + /// (no description). + DBTEAMLOGContentPermanentDeletePolicyEnabled, - /// (no description). - DBTEAMLOGContentPermanentDeletePolicyOther, + /// (no description). + DBTEAMLOGContentPermanentDeletePolicyOther, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContentPermanentDeletePolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGContentPermanentDeletePolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGContentPermanentDeletePolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGContentPermanentDeletePolicy *)instance; /// /// Deserializes `DBTEAMLOGContentPermanentDeletePolicy` instances. @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContentPermanentDeletePolicyTag) { /// @return An instantiation of the `DBTEAMLOGContentPermanentDeletePolicy` /// object. /// -+ (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGContentPermanentDeletePolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContextLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContextLogInfo.h index 71058b737..9d3cf3c29 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContextLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGContextLogInfo.h @@ -10,7 +10,9 @@ @class DBTEAMLOGContextLogInfo; @class DBTEAMLOGNonTeamMemberLogInfo; +@class DBTEAMLOGTeamLogInfo; @class DBTEAMLOGTeamMemberLogInfo; +@class DBTEAMLOGTrustedNonTeamMemberLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -31,47 +33,63 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGContextLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGContextLogInfo` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { - /// Action was done on behalf of a team member. - DBTEAMLOGContextLogInfoTeamMember, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag){ + /// Anonymous context. + DBTEAMLOGContextLogInfoAnonymous, - /// Action was done on behalf of a non team member. - DBTEAMLOGContextLogInfoNonTeamMember, + /// Action was done on behalf of a non team member. + DBTEAMLOGContextLogInfoNonTeamMember, - /// Action was done on behalf of the team. - DBTEAMLOGContextLogInfoTeam, + /// Action was done on behalf of a team that's part of an organization. + DBTEAMLOGContextLogInfoOrganizationTeam, - /// (no description). - DBTEAMLOGContextLogInfoOther, + /// Action was done on behalf of the team. + DBTEAMLOGContextLogInfoTeam, + + /// Action was done on behalf of a team member. + DBTEAMLOGContextLogInfoTeamMember, + + /// Action was done on behalf of a trusted non team member. + DBTEAMLOGContextLogInfoTrustedNonTeamMember, + + /// (no description). + DBTEAMLOGContextLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGContextLogInfoTag tag; +/// Action was done on behalf of a non team member. @note Ensure the +/// `isNonTeamMember` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNonTeamMemberLogInfo *nonTeamMember; + +/// Action was done on behalf of a team that's part of an organization. @note +/// Ensure the `isOrganizationTeam` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamLogInfo *organizationTeam; + /// Action was done on behalf of a team member. @note Ensure the `isTeamMember` /// method returns true before accessing, otherwise a runtime exception will be /// raised. @property (nonatomic, readonly) DBTEAMLOGTeamMemberLogInfo *teamMember; -/// Action was done on behalf of a non team member. @note Ensure the -/// `isNonTeamMember` method returns true before accessing, otherwise a runtime -/// exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNonTeamMemberLogInfo *nonTeamMember; +/// Action was done on behalf of a trusted non team member. @note Ensure the +/// `isTrustedNonTeamMember` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTrustedNonTeamMemberLogInfo *trustedNonTeamMember; #pragma mark - Constructors /// -/// Initializes union class with tag state of "team_member". +/// Initializes union class with tag state of "anonymous". /// -/// Description of the "team_member" tag state: Action was done on behalf of a -/// team member. -/// -/// @param teamMember Action was done on behalf of a team member. +/// Description of the "anonymous" tag state: Anonymous context. /// /// @return An initialized instance. /// -- (instancetype)initWithTeamMember:(DBTEAMLOGTeamMemberLogInfo *)teamMember; +- (instancetype)initWithAnonymous; /// /// Initializes union class with tag state of "non_team_member". @@ -85,6 +103,19 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// - (instancetype)initWithNonTeamMember:(DBTEAMLOGNonTeamMemberLogInfo *)nonTeamMember; +/// +/// Initializes union class with tag state of "organization_team". +/// +/// Description of the "organization_team" tag state: Action was done on behalf +/// of a team that's part of an organization. +/// +/// @param organizationTeam Action was done on behalf of a team that's part of +/// an organization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganizationTeam:(DBTEAMLOGTeamLogInfo *)organizationTeam; + /// /// Initializes union class with tag state of "team". /// @@ -94,6 +125,31 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// - (instancetype)initWithTeam; +/// +/// Initializes union class with tag state of "team_member". +/// +/// Description of the "team_member" tag state: Action was done on behalf of a +/// team member. +/// +/// @param teamMember Action was done on behalf of a team member. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMember:(DBTEAMLOGTeamMemberLogInfo *)teamMember; + +/// +/// Initializes union class with tag state of "trusted_non_team_member". +/// +/// Description of the "trusted_non_team_member" tag state: Action was done on +/// behalf of a trusted non team member. +/// +/// @param trustedNonTeamMember Action was done on behalf of a trusted non team +/// member. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTrustedNonTeamMember:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)trustedNonTeamMember; + /// /// Initializes union class with tag state of "other". /// @@ -106,14 +162,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "team_member". -/// -/// @note Call this method and ensure it returns true before accessing the -/// `teamMember` property, otherwise a runtime exception will be thrown. +/// Retrieves whether the union's current tag state has value "anonymous". /// -/// @return Whether the union's current tag state has value "team_member". +/// @return Whether the union's current tag state has value "anonymous". /// -- (BOOL)isTeamMember; +- (BOOL)isAnonymous; /// /// Retrieves whether the union's current tag state has value "non_team_member". @@ -125,6 +178,17 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// - (BOOL)isNonTeamMember; +/// +/// Retrieves whether the union's current tag state has value +/// "organization_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `organizationTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "organization_team". +/// +- (BOOL)isOrganizationTeam; + /// /// Retrieves whether the union's current tag state has value "team". /// @@ -132,6 +196,29 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// - (BOOL)isTeam; +/// +/// Retrieves whether the union's current tag state has value "team_member". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMember` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "team_member". +/// +- (BOOL)isTeamMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "trusted_non_team_member". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `trustedNonTeamMember` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "trusted_non_team_member". +/// +- (BOOL)isTrustedNonTeamMember; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -163,7 +250,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGContextLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGContextLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGContextLogInfo *)instance; /// /// Deserializes `DBTEAMLOGContextLogInfo` instances. @@ -173,7 +260,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGContextLogInfoTag) { /// /// @return An instantiation of the `DBTEAMLOGContextLogInfo` object. /// -+ (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGContextLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderDetails.h index 2f0b5ad26..c7d5b1372 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGCreateFolderDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCreateFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGCreateFolderDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGCreateFolderDetails` object. /// -+ (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGCreateFolderDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderType.h new file mode 100644 index 000000000..1cc2c7856 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateFolderType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCreateFolderType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateFolderType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCreateFolderType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateFolderType` struct. +/// +@interface DBTEAMLOGCreateFolderTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCreateFolderType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCreateFolderType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateFolderType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCreateFolderType *)instance; + +/// +/// Deserializes `DBTEAMLOGCreateFolderType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateFolderType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCreateFolderType` object. +/// ++ (DBTEAMLOGCreateFolderType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkDetails.h new file mode 100644 index 000000000..ad68b43ac --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCreateTeamInviteLinkDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateTeamInviteLinkDetails` struct. +/// +/// Created team invite link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCreateTeamInviteLinkDetails : NSObject + +#pragma mark - Instance fields + +/// The invite link url that was created. +@property (nonatomic, readonly, copy) NSString *linkUrl; + +/// The expiration date of the invite link. +@property (nonatomic, readonly, copy) NSString *expiryDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param linkUrl The invite link url that was created. +/// @param expiryDate The expiration date of the invite link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLinkUrl:(NSString *)linkUrl expiryDate:(NSString *)expiryDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateTeamInviteLinkDetails` struct. +/// +@interface DBTEAMLOGCreateTeamInviteLinkDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCreateTeamInviteLinkDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCreateTeamInviteLinkDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateTeamInviteLinkDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCreateTeamInviteLinkDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGCreateTeamInviteLinkDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateTeamInviteLinkDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCreateTeamInviteLinkDetails` +/// object. +/// ++ (DBTEAMLOGCreateTeamInviteLinkDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkType.h new file mode 100644 index 000000000..63fa7e594 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGCreateTeamInviteLinkType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGCreateTeamInviteLinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CreateTeamInviteLinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGCreateTeamInviteLinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `CreateTeamInviteLinkType` struct. +/// +@interface DBTEAMLOGCreateTeamInviteLinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGCreateTeamInviteLinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGCreateTeamInviteLinkType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateTeamInviteLinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGCreateTeamInviteLinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGCreateTeamInviteLinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGCreateTeamInviteLinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGCreateTeamInviteLinkType` object. +/// ++ (DBTEAMLOGCreateTeamInviteLinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h index fc141ffe8..720497f47 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DataPlacementRestrictionChangePolicyDetails` struct. /// -/// Set a restriction policy regarding the location of data centers where team -/// data resides. +/// Set restrictions on data center locations where team data resides. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -69,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDataPlacementRestrictionChangePolicyDetails` object. /// -+ (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyType.h new file mode 100644 index 000000000..8799c6fb2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionChangePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataPlacementRestrictionChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataPlacementRestrictionChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataPlacementRestrictionChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DataPlacementRestrictionChangePolicyType` +/// struct. +/// +@interface DBTEAMLOGDataPlacementRestrictionChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataPlacementRestrictionChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataPlacementRestrictionChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataPlacementRestrictionChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGDataPlacementRestrictionChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataPlacementRestrictionChangePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataPlacementRestrictionChangePolicyType` object. +/// ++ (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h index 4f85db70b..77c54d678 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h @@ -18,9 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DataPlacementRestrictionSatisfyPolicyDetails` struct. /// -/// Satisfied a previously set restriction policy regarding the location of data -/// centers where team data resides (i.e. all data have been migrated according -/// to the restriction placed). +/// Completed restrictions on data center locations where team data resides. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -66,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` @@ -78,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails` object. /// -+ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h new file mode 100644 index 000000000..e46f884c5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataPlacementRestrictionSatisfyPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DataPlacementRestrictionSatisfyPolicyType` +/// struct. +/// +@interface DBTEAMLOGDataPlacementRestrictionSatisfyPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType` object. +/// ++ (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h new file mode 100644 index 000000000..f4e867e39 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataResidencyMigrationRequestSuccessfulDetails` struct. +/// +/// Requested data residency migration for team data. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DataResidencyMigrationRequestSuccessfulDetails` struct. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails` object. +/// ++ (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h new file mode 100644 index 000000000..47216db15 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataResidencyMigrationRequestSuccessfulType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataResidencyMigrationRequestSuccessfulType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestSuccessfulType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DataResidencyMigrationRequestSuccessfulType` struct. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestSuccessfulTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)instance; + +/// +/// Deserializes `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataResidencyMigrationRequestSuccessfulType` object. +/// ++ (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h new file mode 100644 index 000000000..c51e9e3e3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataResidencyMigrationRequestUnsuccessfulDetails` struct. +/// +/// Request for data residency migration for team data has failed. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DataResidencyMigrationRequestUnsuccessfulDetails` struct. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails` object. +/// ++ (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h new file mode 100644 index 000000000..b816a3811 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DataResidencyMigrationRequestUnsuccessfulType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DataResidencyMigrationRequestUnsuccessfulType` struct. +/// +@interface DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)instance; + +/// +/// Deserializes `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType` object. +/// ++ (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h new file mode 100644 index 000000000..286b19866 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h @@ -0,0 +1,240 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDefaultLinkExpirationDaysPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DefaultLinkExpirationDaysPolicy` union. +/// +/// Policy for the default number of days until an externally shared link +/// expires +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDefaultLinkExpirationDaysPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGDefaultLinkExpirationDaysPolicyTag` enum type represents the +/// possible tag states with which the +/// `DBTEAMLOGDefaultLinkExpirationDaysPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDefaultLinkExpirationDaysPolicyTag){ + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay1, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay180, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay3, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay30, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay7, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyDay90, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyNone, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyYear1, + + /// (no description). + DBTEAMLOGDefaultLinkExpirationDaysPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGDefaultLinkExpirationDaysPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "day_1". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay1; + +/// +/// Initializes union class with tag state of "day_180". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay180; + +/// +/// Initializes union class with tag state of "day_3". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay3; + +/// +/// Initializes union class with tag state of "day_30". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay30; + +/// +/// Initializes union class with tag state of "day_7". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay7; + +/// +/// Initializes union class with tag state of "day_90". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDay90; + +/// +/// Initializes union class with tag state of "none". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNone; + +/// +/// Initializes union class with tag state of "year_1". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithYear1; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "day_1". +/// +/// @return Whether the union's current tag state has value "day_1". +/// +- (BOOL)isDay1; + +/// +/// Retrieves whether the union's current tag state has value "day_180". +/// +/// @return Whether the union's current tag state has value "day_180". +/// +- (BOOL)isDay180; + +/// +/// Retrieves whether the union's current tag state has value "day_3". +/// +/// @return Whether the union's current tag state has value "day_3". +/// +- (BOOL)isDay3; + +/// +/// Retrieves whether the union's current tag state has value "day_30". +/// +/// @return Whether the union's current tag state has value "day_30". +/// +- (BOOL)isDay30; + +/// +/// Retrieves whether the union's current tag state has value "day_7". +/// +/// @return Whether the union's current tag state has value "day_7". +/// +- (BOOL)isDay7; + +/// +/// Retrieves whether the union's current tag state has value "day_90". +/// +/// @return Whether the union's current tag state has value "day_90". +/// +- (BOOL)isDay90; + +/// +/// Retrieves whether the union's current tag state has value "none". +/// +/// @return Whether the union's current tag state has value "none". +/// +- (BOOL)isNone; + +/// +/// Retrieves whether the union's current tag state has value "year_1". +/// +/// @return Whether the union's current tag state has value "year_1". +/// +- (BOOL)isYear1; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGDefaultLinkExpirationDaysPolicy` +/// union. +/// +@interface DBTEAMLOGDefaultLinkExpirationDaysPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDefaultLinkExpirationDaysPolicy` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDefaultLinkExpirationDaysPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDefaultLinkExpirationDaysPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGDefaultLinkExpirationDaysPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDefaultLinkExpirationDaysPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDefaultLinkExpirationDaysPolicy` +/// object. +/// ++ (DBTEAMLOGDefaultLinkExpirationDaysPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkDetails.h new file mode 100644 index 000000000..8355c7464 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeleteTeamInviteLinkDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteTeamInviteLinkDetails` struct. +/// +/// Deleted team invite link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeleteTeamInviteLinkDetails : NSObject + +#pragma mark - Instance fields + +/// The invite link url that was deleted. +@property (nonatomic, readonly, copy) NSString *linkUrl; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param linkUrl The invite link url that was deleted. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLinkUrl:(NSString *)linkUrl; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteTeamInviteLinkDetails` struct. +/// +@interface DBTEAMLOGDeleteTeamInviteLinkDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeleteTeamInviteLinkDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeleteTeamInviteLinkDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeleteTeamInviteLinkDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDeleteTeamInviteLinkDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeleteTeamInviteLinkDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeleteTeamInviteLinkDetails` +/// object. +/// ++ (DBTEAMLOGDeleteTeamInviteLinkDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkType.h new file mode 100644 index 000000000..51b93b042 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeleteTeamInviteLinkType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeleteTeamInviteLinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeleteTeamInviteLinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeleteTeamInviteLinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeleteTeamInviteLinkType` struct. +/// +@interface DBTEAMLOGDeleteTeamInviteLinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeleteTeamInviteLinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeleteTeamInviteLinkType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeleteTeamInviteLinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeleteTeamInviteLinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeleteTeamInviteLinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeleteTeamInviteLinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeleteTeamInviteLinkType` object. +/// ++ (DBTEAMLOGDeleteTeamInviteLinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopDeviceSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopDeviceSessionLogInfo.h new file mode 100644 index 000000000..d58166fe6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopDeviceSessionLogInfo.h @@ -0,0 +1,129 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +@class DBTEAMDesktopPlatform; +@class DBTEAMLOGDesktopDeviceSessionLogInfo; +@class DBTEAMLOGDesktopSessionLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DesktopDeviceSessionLogInfo` struct. +/// +/// Information about linked Dropbox desktop client sessions +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDesktopDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo + +#pragma mark - Instance fields + +/// Desktop session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGDesktopSessionLogInfo *sessionInfo; + +/// Name of the hosting desktop. +@property (nonatomic, readonly, copy) NSString *hostName; + +/// The Dropbox desktop client type. +@property (nonatomic, readonly) DBTEAMDesktopPlatform *clientType; + +/// The Dropbox client version. +@property (nonatomic, readonly, copy, nullable) NSString *clientVersion; + +/// Information on the hosting platform. +@property (nonatomic, readonly, copy) NSString *platform; + +/// Whether itu2019s possible to delete all of the account files upon unlinking. +@property (nonatomic, readonly) NSNumber *isDeleteOnUnlinkSupported; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param hostName Name of the hosting desktop. +/// @param clientType The Dropbox desktop client type. +/// @param platform Information on the hosting platform. +/// @param isDeleteOnUnlinkSupported Whether itu2019s possible to delete all of +/// the account files upon unlinking. +/// @param ipAddress The IP address of the last activity from this session. +/// @param created The time this session was created. +/// @param updated The time of the last activity from this session. +/// @param sessionInfo Desktop session unique id. +/// @param clientVersion The Dropbox client version. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHostName:(NSString *)hostName + clientType:(DBTEAMDesktopPlatform *)clientType + platform:(NSString *)platform + isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported + ipAddress:(nullable NSString *)ipAddress + created:(nullable NSDate *)created + updated:(nullable NSDate *)updated + sessionInfo:(nullable DBTEAMLOGDesktopSessionLogInfo *)sessionInfo + clientVersion:(nullable NSString *)clientVersion; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param hostName Name of the hosting desktop. +/// @param clientType The Dropbox desktop client type. +/// @param platform Information on the hosting platform. +/// @param isDeleteOnUnlinkSupported Whether itu2019s possible to delete all of +/// the account files upon unlinking. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHostName:(NSString *)hostName + clientType:(DBTEAMDesktopPlatform *)clientType + platform:(NSString *)platform + isDeleteOnUnlinkSupported:(NSNumber *)isDeleteOnUnlinkSupported; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DesktopDeviceSessionLogInfo` struct. +/// +@interface DBTEAMLOGDesktopDeviceSessionLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDesktopDeviceSessionLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDesktopDeviceSessionLogInfo` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDesktopDeviceSessionLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDesktopDeviceSessionLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGDesktopDeviceSessionLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDesktopDeviceSessionLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDesktopDeviceSessionLogInfo` +/// object. +/// ++ (DBTEAMLOGDesktopDeviceSessionLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopSessionLogInfo.h index 9e29a85d8..895ccac82 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopSessionLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDesktopSessionLogInfo.h @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param sessionId Session ID. Might be missing due to historical data gap. +/// @param sessionId Session ID. /// /// @return An initialized instance. /// @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDesktopSessionLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDesktopSessionLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDesktopSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGDesktopSessionLogInfo` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDesktopSessionLogInfo` object. /// -+ (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDesktopSessionLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionDetails.h new file mode 100644 index 000000000..bf6a7bd26 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsAddExceptionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsAddExceptionDetails` struct. +/// +/// Added members to device approvals exception list. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsAddExceptionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsAddExceptionDetails` struct. +/// +@interface DBTEAMLOGDeviceApprovalsAddExceptionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsAddExceptionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsAddExceptionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsAddExceptionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionDetails` object. +/// ++ (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionType.h new file mode 100644 index 000000000..1c51aac11 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsAddExceptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsAddExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsAddExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsAddExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsAddExceptionType` struct. +/// +@interface DBTEAMLOGDeviceApprovalsAddExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsAddExceptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsAddExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsAddExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsAddExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceApprovalsAddExceptionType` +/// object. +/// ++ (DBTEAMLOGDeviceApprovalsAddExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h index 7708af762..4dfcbbfd3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceApprovalsChangeDesktopPolicyDetails` struct. /// -/// Set or removed a limit on the number of computers each team member can link -/// to their work Dropbox account. +/// Set/removed limit on number of computers member can link to team Dropbox +/// account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails` object. /// -+ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h new file mode 100644 index 000000000..e4eb31675 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsChangeDesktopPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsChangeDesktopPolicyType` +/// struct. +/// +@interface DBTEAMLOGDeviceApprovalsChangeDesktopPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType` object. +/// ++ (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h index 9af422e8e..5f570b07f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceApprovalsChangeMobilePolicyDetails` struct. /// -/// Set or removed a limit on the number of mobiles devices each team member can -/// link to their work Dropbox account. +/// Set/removed limit on number of mobile devices member can link to team +/// Dropbox account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` instances. @@ -93,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails` object. /// -+ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h new file mode 100644 index 000000000..9ec568c13 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsChangeMobilePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsChangeMobilePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsChangeMobilePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsChangeMobilePolicyType` +/// struct. +/// +@interface DBTEAMLOGDeviceApprovalsChangeMobilePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsChangeMobilePolicyType` object. +/// ++ (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h index afdaceffa..f62532053 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceApprovalsChangeOverageActionDetails` struct. /// -/// Changed the action taken when a team member is already over the limits (e.g -/// when they join the team, an admin lowers limits, etc.). +/// Changed device approvals setting when member is over limit. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeOverageActionDetails` object. /// -+ (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionType.h new file mode 100644 index 000000000..1c7817a33 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeOverageActionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsChangeOverageActionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsChangeOverageActionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsChangeOverageActionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsChangeOverageActionType` +/// struct. +/// +@interface DBTEAMLOGDeviceApprovalsChangeOverageActionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsChangeOverageActionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsChangeOverageActionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeOverageActionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeOverageActionType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsChangeOverageActionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeOverageActionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsChangeOverageActionType` object. +/// ++ (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h index 340bf2764..356fba6fd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceApprovalsChangeUnlinkActionDetails` struct. /// -/// Changed the action taken with respect to approval limits when a team member -/// unlinks an approved device. +/// Changed device approvals setting when member unlinks approved device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails` object. /// -+ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h new file mode 100644 index 000000000..c0b6059a3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsChangeUnlinkActionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsChangeUnlinkActionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsChangeUnlinkActionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsChangeUnlinkActionType` +/// struct. +/// +@interface DBTEAMLOGDeviceApprovalsChangeUnlinkActionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsChangeUnlinkActionType` object. +/// ++ (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsPolicy.h index d8c44b7b6..2f67710fc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGDeviceApprovalsPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGDeviceApprovalsPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag) { - /// (no description). - DBTEAMLOGDeviceApprovalsPolicyUnlimited, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag){ + /// (no description). + DBTEAMLOGDeviceApprovalsPolicyLimited, - /// (no description). - DBTEAMLOGDeviceApprovalsPolicyLimited, + /// (no description). + DBTEAMLOGDeviceApprovalsPolicyUnlimited, - /// (no description). - DBTEAMLOGDeviceApprovalsPolicyOther, + /// (no description). + DBTEAMLOGDeviceApprovalsPolicyOther, }; @@ -45,18 +45,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "unlimited". +/// Initializes union class with tag state of "limited". /// /// @return An initialized instance. /// -- (instancetype)initWithUnlimited; +- (instancetype)initWithLimited; /// -/// Initializes union class with tag state of "limited". +/// Initializes union class with tag state of "unlimited". /// /// @return An initialized instance. /// -- (instancetype)initWithLimited; +- (instancetype)initWithUnlimited; /// /// Initializes union class with tag state of "other". @@ -70,18 +70,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "unlimited". +/// Retrieves whether the union's current tag state has value "limited". /// -/// @return Whether the union's current tag state has value "unlimited". +/// @return Whether the union's current tag state has value "limited". /// -- (BOOL)isUnlimited; +- (BOOL)isLimited; /// -/// Retrieves whether the union's current tag state has value "limited". +/// Retrieves whether the union's current tag state has value "unlimited". /// -/// @return Whether the union's current tag state has value "limited". +/// @return Whether the union's current tag state has value "unlimited". /// -- (BOOL)isLimited; +- (BOOL)isUnlimited; /// /// Retrieves whether the union's current tag state has value "other". @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceApprovalsPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsPolicy *)instance; /// /// Deserializes `DBTEAMLOGDeviceApprovalsPolicy` instances. @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceApprovalsPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGDeviceApprovalsPolicy` object. /// -+ (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceApprovalsPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h new file mode 100644 index 000000000..3db84e7bb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsRemoveExceptionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsRemoveExceptionDetails` struct. +/// +/// Removed members from device approvals exception list. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsRemoveExceptionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsRemoveExceptionDetails` +/// struct. +/// +@interface DBTEAMLOGDeviceApprovalsRemoveExceptionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionDetails` object. +/// ++ (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionType.h new file mode 100644 index 000000000..c922e8f8d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceApprovalsRemoveExceptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceApprovalsRemoveExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceApprovalsRemoveExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceApprovalsRemoveExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceApprovalsRemoveExceptionType` struct. +/// +@interface DBTEAMLOGDeviceApprovalsRemoveExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceApprovalsRemoveExceptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceApprovalsRemoveExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceApprovalsRemoveExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceApprovalsRemoveExceptionType` object. +/// ++ (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopDetails.h index acf5954ee..a95287be2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpDesktopDetails; -@class DBTEAMLOGDeviceLogInfo; +@class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceChangeIpDesktopDetails` struct. /// -/// IP address associated with active desktop session changed. +/// Changed IP address associated with active desktop session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,19 +28,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Device's session logged information. +@property (nonatomic, readonly) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo; +- (instancetype)initWithDeviceSessionInfo:(DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpDesktopDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpDesktopDetails` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpDesktopDetails` /// object. /// -+ (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceChangeIpDesktopDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopType.h new file mode 100644 index 000000000..e31e95f49 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpDesktopType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceChangeIpDesktopType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceChangeIpDesktopType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceChangeIpDesktopType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceChangeIpDesktopType` struct. +/// +@interface DBTEAMLOGDeviceChangeIpDesktopTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceChangeIpDesktopType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceChangeIpDesktopType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpDesktopType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpDesktopType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceChangeIpDesktopType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpDesktopType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceChangeIpDesktopType` object. +/// ++ (DBTEAMLOGDeviceChangeIpDesktopType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileDetails.h index 3309fa269..f6c4b5dd1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpMobileDetails; -@class DBTEAMLOGDeviceLogInfo; +@class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceChangeIpMobileDetails` struct. /// -/// IP address associated with active mobile session changed. +/// Changed IP address associated with active mobile session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,19 +28,28 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Device's session logged information. +@property (nonatomic, readonly, nullable) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo; +- (instancetype)initWithDeviceSessionInfo:(nullable DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpMobileDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpMobileDetails` instances. @@ -73,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpMobileDetails` /// object. /// -+ (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceChangeIpMobileDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileType.h new file mode 100644 index 000000000..864a7d23f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpMobileType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceChangeIpMobileType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceChangeIpMobileType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceChangeIpMobileType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceChangeIpMobileType` struct. +/// +@interface DBTEAMLOGDeviceChangeIpMobileTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceChangeIpMobileType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceChangeIpMobileType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpMobileType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpMobileType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceChangeIpMobileType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpMobileType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceChangeIpMobileType` object. +/// ++ (DBTEAMLOGDeviceChangeIpMobileType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebDetails.h index 811f85d9f..dd7581182 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebDetails.h @@ -9,7 +9,6 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceChangeIpWebDetails; -@class DBTEAMLOGDeviceLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceChangeIpWebDetails` struct. /// -/// IP address associated with active Web session changed. +/// Changed IP address associated with active web session. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,9 +27,6 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGDeviceLogInfo *deviceInfo; - /// Web browser name. @property (nonatomic, readonly, copy) NSString *userAgent; @@ -40,18 +36,6 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param userAgent Web browser name. -/// @param deviceInfo Device information. Might be missing due to historical -/// data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithUserAgent:(NSString *)userAgent deviceInfo:(nullable DBTEAMLOGDeviceLogInfo *)deviceInfo; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param userAgent Web browser name. /// /// @return An initialized instance. /// @@ -77,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceChangeIpWebDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceChangeIpWebDetails` instances. @@ -87,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDeviceChangeIpWebDetails` object. /// -+ (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceChangeIpWebDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebType.h new file mode 100644 index 000000000..c152b9427 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceChangeIpWebType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceChangeIpWebType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceChangeIpWebType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceChangeIpWebType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceChangeIpWebType` struct. +/// +@interface DBTEAMLOGDeviceChangeIpWebTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceChangeIpWebType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceChangeIpWebType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpWebType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceChangeIpWebType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceChangeIpWebType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceChangeIpWebType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceChangeIpWebType` object. +/// ++ (DBTEAMLOGDeviceChangeIpWebType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h index df8a275d7..29b4d7647 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceDeleteOnUnlinkFailDetails; -@class DBTEAMLOGDeviceLogInfo; +@class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceDeleteOnUnlinkFailDetails` struct. /// -/// Failed to delete all files from an unlinked device. +/// Failed to delete all files from unlinked device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,8 +28,11 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGSessionLogInfo *sessionInfo; + +/// The device name. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *displayName; /// The number of times that remote file deletion failed. @property (nonatomic, readonly) NSNumber *numFailures; @@ -39,12 +42,26 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param numFailures The number of times that remote file deletion failed. +/// @param sessionInfo Session unique id. +/// @param displayName The device name. Might be missing due to historical data +/// gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNumFailures:(NSNumber *)numFailures + sessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(nullable NSString *)displayName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// /// @param numFailures The number of times that remote file deletion failed. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo numFailures:(NSNumber *)numFailures; +- (instancetype)initWithNumFailures:(NSNumber *)numFailures; - (instancetype)init NS_UNAVAILABLE; @@ -66,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` instances. @@ -77,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDeviceDeleteOnUnlinkFailDetails` /// object. /// -+ (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailType.h new file mode 100644 index 000000000..07f986540 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkFailType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceDeleteOnUnlinkFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceDeleteOnUnlinkFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceDeleteOnUnlinkFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceDeleteOnUnlinkFailType` struct. +/// +@interface DBTEAMLOGDeviceDeleteOnUnlinkFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceDeleteOnUnlinkFailType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceDeleteOnUnlinkFailType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceDeleteOnUnlinkFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceDeleteOnUnlinkFailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceDeleteOnUnlinkFailType` +/// object. +/// ++ (DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h index fc0c86a27..25d3e76b7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails; -@class DBTEAMLOGDeviceLogInfo; +@class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceDeleteOnUnlinkSuccessDetails` struct. /// -/// Deleted all files from an unlinked device. +/// Deleted all files from unlinked device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,19 +28,34 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGSessionLogInfo *sessionInfo; + +/// The device name. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *displayName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param sessionInfo Session unique id. +/// @param displayName The device name. Might be missing due to historical data +/// gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(nullable NSString *)displayName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` instances. @@ -73,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails` object. /// -+ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h new file mode 100644 index 000000000..7691b2876 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceDeleteOnUnlinkSuccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceDeleteOnUnlinkSuccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceDeleteOnUnlinkSuccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceDeleteOnUnlinkSuccessType` struct. +/// +@interface DBTEAMLOGDeviceDeleteOnUnlinkSuccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceDeleteOnUnlinkSuccessType` +/// object. +/// ++ (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailDetails.h index 5cb83f258..512a743ff 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailDetails.h @@ -9,7 +9,6 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceLinkFailDetails; -@class DBTEAMLOGDeviceLogInfo; @class DBTEAMLOGDeviceType; NS_ASSUME_NONNULL_BEGIN @@ -19,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceLinkFailDetails` struct. /// -/// Failed to link a device. +/// Failed to link device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -29,8 +28,8 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// IP address. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *ipAddress; /// A description of the device used while user approval blocked. @property (nonatomic, readonly) DBTEAMLOGDeviceType *deviceType; @@ -42,13 +41,11 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param deviceType A description of the device used while user approval /// blocked. -/// @param deviceInfo Device information. Might be missing due to historical -/// data gap. +/// @param ipAddress IP address. Might be missing due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType - deviceInfo:(nullable DBTEAMLOGDeviceLogInfo *)deviceInfo; +- (instancetype)initWithDeviceType:(DBTEAMLOGDeviceType *)deviceType ipAddress:(nullable NSString *)ipAddress; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -81,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkFailDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceLinkFailDetails` instances. @@ -91,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDeviceLinkFailDetails` object. /// -+ (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceLinkFailDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailType.h new file mode 100644 index 000000000..d6610fdc5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkFailType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceLinkFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceLinkFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceLinkFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceLinkFailType` struct. +/// +@interface DBTEAMLOGDeviceLinkFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceLinkFailType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceLinkFailType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceLinkFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceLinkFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceLinkFailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceLinkFailType` object. +/// ++ (DBTEAMLOGDeviceLinkFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessDetails.h index c5bd5b412..f7adb0971 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGDeviceLinkSuccessDetails; -@class DBTEAMLOGDeviceLogInfo; +@class DBTEAMLOGDeviceSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceLinkSuccessDetails` struct. /// -/// Linked a device. +/// Linked device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,19 +28,28 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Device's session logged information. +@property (nonatomic, readonly, nullable) DBTEAMLOGDeviceSessionLogInfo *deviceSessionInfo; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param deviceSessionInfo Device's session logged information. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo; +- (instancetype)initWithDeviceSessionInfo:(nullable DBTEAMLOGDeviceSessionLogInfo *)deviceSessionInfo; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceLinkSuccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceLinkSuccessDetails` instances. @@ -72,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDeviceLinkSuccessDetails` object. /// -+ (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceLinkSuccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessType.h new file mode 100644 index 000000000..2c2dbd7ff --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLinkSuccessType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceLinkSuccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceLinkSuccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceLinkSuccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceLinkSuccessType` struct. +/// +@interface DBTEAMLOGDeviceLinkSuccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceLinkSuccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceLinkSuccessType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceLinkSuccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLinkSuccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceLinkSuccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceLinkSuccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceLinkSuccessType` object. +/// ++ (DBTEAMLOGDeviceLinkSuccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLogInfo.h deleted file mode 100644 index 5df73be1b..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceLogInfo.h +++ /dev/null @@ -1,140 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGDeviceLogInfo; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `DeviceLogInfo` struct. -/// -/// Device's logged information. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGDeviceLogInfo : NSObject - -#pragma mark - Instance fields - -/// Device unique id. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *deviceId; - -/// Device display name. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *displayName; - -/// True if this device is emm managed, false otherwise. Might be missing due to -/// historical data gap. -@property (nonatomic, readonly, nullable) NSNumber *isEmmManaged; - -/// Device platform name. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *platform; - -/// Device mac address. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *macAddress; - -/// Device OS version. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *osVersion; - -/// Device type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *deviceType; - -/// IP address. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *ipAddress; - -/// Last activity. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *lastActivity; - -/// Linking app version. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *appVersion; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param deviceId Device unique id. Might be missing due to historical data -/// gap. -/// @param displayName Device display name. Might be missing due to historical -/// data gap. -/// @param isEmmManaged True if this device is emm managed, false otherwise. -/// Might be missing due to historical data gap. -/// @param platform Device platform name. Might be missing due to historical -/// data gap. -/// @param macAddress Device mac address. Might be missing due to historical -/// data gap. -/// @param osVersion Device OS version. Might be missing due to historical data -/// gap. -/// @param deviceType Device type. Might be missing due to historical data gap. -/// @param ipAddress IP address. Might be missing due to historical data gap. -/// @param lastActivity Last activity. Might be missing due to historical data -/// gap. -/// @param appVersion Linking app version. Might be missing due to historical -/// data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithDeviceId:(nullable NSString *)deviceId - displayName:(nullable NSString *)displayName - isEmmManaged:(nullable NSNumber *)isEmmManaged - platform:(nullable NSString *)platform - macAddress:(nullable NSString *)macAddress - osVersion:(nullable NSString *)osVersion - deviceType:(nullable NSString *)deviceType - ipAddress:(nullable NSString *)ipAddress - lastActivity:(nullable NSString *)lastActivity - appVersion:(nullable NSString *)appVersion; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DeviceLogInfo` struct. -/// -@interface DBTEAMLOGDeviceLogInfoSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGDeviceLogInfo` instances. -/// -/// @param instance An instance of the `DBTEAMLOGDeviceLogInfo` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGDeviceLogInfo` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceLogInfo *)instance; - -/// -/// Deserializes `DBTEAMLOGDeviceLogInfo` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGDeviceLogInfo` API object. -/// -/// @return An instantiation of the `DBTEAMLOGDeviceLogInfo` object. -/// -+ (DBTEAMLOGDeviceLogInfo *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledDetails.h index e6624979a..52d2b3e17 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceManagementDisabledDetails` struct. /// -/// Disable Device Management. +/// Disabled device management. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementDisabledDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceManagementDisabledDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDeviceManagementDisabledDetails` /// object. /// -+ (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceManagementDisabledDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledType.h new file mode 100644 index 000000000..354fc0a5d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementDisabledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceManagementDisabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceManagementDisabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceManagementDisabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceManagementDisabledType` struct. +/// +@interface DBTEAMLOGDeviceManagementDisabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceManagementDisabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceManagementDisabledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceManagementDisabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementDisabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceManagementDisabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceManagementDisabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceManagementDisabledType` +/// object. +/// ++ (DBTEAMLOGDeviceManagementDisabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledDetails.h index a138e047e..5839affe4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceManagementEnabledDetails` struct. /// -/// Enable Device Management. +/// Enabled device management. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceManagementEnabledDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceManagementEnabledDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDeviceManagementEnabledDetails` /// object. /// -+ (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceManagementEnabledDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledType.h new file mode 100644 index 000000000..379eaa70e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceManagementEnabledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceManagementEnabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceManagementEnabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceManagementEnabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceManagementEnabledType` struct. +/// +@interface DBTEAMLOGDeviceManagementEnabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceManagementEnabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceManagementEnabledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceManagementEnabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceManagementEnabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceManagementEnabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceManagementEnabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceManagementEnabledType` +/// object. +/// ++ (DBTEAMLOGDeviceManagementEnabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSessionLogInfo.h new file mode 100644 index 000000000..fdbd48dea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSessionLogInfo.h @@ -0,0 +1,97 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceSessionLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceSessionLogInfo` struct. +/// +/// Device's session logged information. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceSessionLogInfo : NSObject + +#pragma mark - Instance fields + +/// The IP address of the last activity from this session. +@property (nonatomic, readonly, copy, nullable) NSString *ipAddress; + +/// The time this session was created. +@property (nonatomic, readonly, nullable) NSDate *created; + +/// The time of the last activity from this session. +@property (nonatomic, readonly, nullable) NSDate *updated; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param ipAddress The IP address of the last activity from this session. +/// @param created The time this session was created. +/// @param updated The time of the last activity from this session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIpAddress:(nullable NSString *)ipAddress + created:(nullable NSDate *)created + updated:(nullable NSDate *)updated; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceSessionLogInfo` struct. +/// +@interface DBTEAMLOGDeviceSessionLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceSessionLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceSessionLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSessionLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceSessionLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceSessionLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSessionLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceSessionLogInfo` object. +/// ++ (DBTEAMLOGDeviceSessionLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h new file mode 100644 index 000000000..0b0aa2f8b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h @@ -0,0 +1,92 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGBackupStatus; +@class DBTEAMLOGDesktopDeviceSessionLogInfo; +@class DBTEAMLOGDeviceSyncBackupStatusChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceSyncBackupStatusChangedDetails` struct. +/// +/// Enabled/disabled backup for computer. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceSyncBackupStatusChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Device's session logged information. +@property (nonatomic, readonly) DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo; + +/// Previous status of computer backup on the device. +@property (nonatomic, readonly) DBTEAMLOGBackupStatus *previousValue; + +/// Next status of computer backup on the device. +@property (nonatomic, readonly) DBTEAMLOGBackupStatus *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param desktopDeviceSessionInfo Device's session logged information. +/// @param previousValue Previous status of computer backup on the device. +/// @param dNewValue Next status of computer backup on the device. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + previousValue:(DBTEAMLOGBackupStatus *)previousValue + dNewValue:(DBTEAMLOGBackupStatus *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceSyncBackupStatusChangedDetails` +/// struct. +/// +@interface DBTEAMLOGDeviceSyncBackupStatusChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedDetails` object. +/// ++ (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedType.h new file mode 100644 index 000000000..84b657ef8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceSyncBackupStatusChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceSyncBackupStatusChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceSyncBackupStatusChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceSyncBackupStatusChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceSyncBackupStatusChangedType` struct. +/// +@interface DBTEAMLOGDeviceSyncBackupStatusChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceSyncBackupStatusChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceSyncBackupStatusChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceSyncBackupStatusChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceSyncBackupStatusChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceSyncBackupStatusChangedType` +/// object. +/// ++ (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceType.h index 2a73ca5ce..c0817ebb9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceType.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGDeviceTypeTag` enum type represents the possible tag states /// with which the `DBTEAMLOGDeviceType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceTypeTag) { - /// (no description). - DBTEAMLOGDeviceTypeDesktop, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceTypeTag){ + /// (no description). + DBTEAMLOGDeviceTypeDesktop, - /// (no description). - DBTEAMLOGDeviceTypeMobile, + /// (no description). + DBTEAMLOGDeviceTypeMobile, - /// (no description). - DBTEAMLOGDeviceTypeOther, + /// (no description). + DBTEAMLOGDeviceTypeOther, }; @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceType *)instance; /// /// Deserializes `DBTEAMLOGDeviceType` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceTypeTag) { /// /// @return An instantiation of the `DBTEAMLOGDeviceType` object. /// -+ (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkDetails.h index a9adcd373..027fd455b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkDetails.h @@ -8,8 +8,8 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGDeviceLogInfo; @class DBTEAMLOGDeviceUnlinkDetails; +@class DBTEAMLOGSessionLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DeviceUnlinkDetails` struct. /// -/// Disconnected a device. +/// Disconnected device. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,8 +28,11 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Device information. -@property (nonatomic, readonly) DBTEAMLOGDeviceLogInfo *deviceInfo; +/// Session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGSessionLogInfo *sessionInfo; + +/// The device name. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *displayName; /// True if the user requested to delete data after device unlink, false /// otherwise. @@ -40,13 +43,28 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param deviceInfo Device information. +/// @param deleteData True if the user requested to delete data after device +/// unlink, false otherwise. +/// @param sessionInfo Session unique id. +/// @param displayName The device name. Might be missing due to historical data +/// gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteData:(NSNumber *)deleteData + sessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(nullable NSString *)displayName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// /// @param deleteData True if the user requested to delete data after device /// unlink, false otherwise. /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceInfo:(DBTEAMLOGDeviceLogInfo *)deviceInfo deleteData:(NSNumber *)deleteData; +- (instancetype)initWithDeleteData:(NSNumber *)deleteData; - (instancetype)init NS_UNAVAILABLE; @@ -68,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkDetails *)instance; /// /// Deserializes `DBTEAMLOGDeviceUnlinkDetails` instances. @@ -78,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDeviceUnlinkDetails` object. /// -+ (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceUnlinkDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkPolicy.h index d10b21e96..a2b2d9865 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGDeviceUnlinkPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGDeviceUnlinkPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag) { - /// (no description). - DBTEAMLOGDeviceUnlinkPolicyRemove, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag){ + /// (no description). + DBTEAMLOGDeviceUnlinkPolicyKeep, - /// (no description). - DBTEAMLOGDeviceUnlinkPolicyKeep, + /// (no description). + DBTEAMLOGDeviceUnlinkPolicyRemove, - /// (no description). - DBTEAMLOGDeviceUnlinkPolicyOther, + /// (no description). + DBTEAMLOGDeviceUnlinkPolicyOther, }; @@ -45,18 +45,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "remove". +/// Initializes union class with tag state of "keep". /// /// @return An initialized instance. /// -- (instancetype)initWithRemove; +- (instancetype)initWithKeep; /// -/// Initializes union class with tag state of "keep". +/// Initializes union class with tag state of "remove". /// /// @return An initialized instance. /// -- (instancetype)initWithKeep; +- (instancetype)initWithRemove; /// /// Initializes union class with tag state of "other". @@ -70,18 +70,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "remove". +/// Retrieves whether the union's current tag state has value "keep". /// -/// @return Whether the union's current tag state has value "remove". +/// @return Whether the union's current tag state has value "keep". /// -- (BOOL)isRemove; +- (BOOL)isKeep; /// -/// Retrieves whether the union's current tag state has value "keep". +/// Retrieves whether the union's current tag state has value "remove". /// -/// @return Whether the union's current tag state has value "keep". +/// @return Whether the union's current tag state has value "remove". /// -- (BOOL)isKeep; +- (BOOL)isRemove; /// /// Retrieves whether the union's current tag state has value "other". @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDeviceUnlinkPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkPolicy *)instance; /// /// Deserializes `DBTEAMLOGDeviceUnlinkPolicy` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGDeviceUnlinkPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGDeviceUnlinkPolicy` object. /// -+ (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDeviceUnlinkPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkType.h new file mode 100644 index 000000000..26fd661d1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDeviceUnlinkType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDeviceUnlinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DeviceUnlinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDeviceUnlinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DeviceUnlinkType` struct. +/// +@interface DBTEAMLOGDeviceUnlinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDeviceUnlinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDeviceUnlinkType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceUnlinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDeviceUnlinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGDeviceUnlinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDeviceUnlinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDeviceUnlinkType` object. +/// ++ (DBTEAMLOGDeviceUnlinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h new file mode 100644 index 000000000..6b221a8fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDirectoryRestrictionsAddMembersDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DirectoryRestrictionsAddMembersDetails` struct. +/// +/// Added members to directory restrictions list. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDirectoryRestrictionsAddMembersDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DirectoryRestrictionsAddMembersDetails` +/// struct. +/// +@interface DBTEAMLOGDirectoryRestrictionsAddMembersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersDetails` object. +/// ++ (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersType.h new file mode 100644 index 000000000..63caa3b5d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsAddMembersType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDirectoryRestrictionsAddMembersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DirectoryRestrictionsAddMembersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDirectoryRestrictionsAddMembersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DirectoryRestrictionsAddMembersType` +/// struct. +/// +@interface DBTEAMLOGDirectoryRestrictionsAddMembersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDirectoryRestrictionsAddMembersType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsAddMembersType *)instance; + +/// +/// Deserializes `DBTEAMLOGDirectoryRestrictionsAddMembersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDirectoryRestrictionsAddMembersType` object. +/// ++ (DBTEAMLOGDirectoryRestrictionsAddMembersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h new file mode 100644 index 000000000..4ad626054 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DirectoryRestrictionsRemoveMembersDetails` struct. +/// +/// Removed members from directory restrictions list. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DirectoryRestrictionsRemoveMembersDetails` +/// struct. +/// +@interface DBTEAMLOGDirectoryRestrictionsRemoveMembersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails` object. +/// ++ (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h new file mode 100644 index 000000000..1ee2af2f2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDirectoryRestrictionsRemoveMembersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DirectoryRestrictionsRemoveMembersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDirectoryRestrictionsRemoveMembersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DirectoryRestrictionsRemoveMembersType` +/// struct. +/// +@interface DBTEAMLOGDirectoryRestrictionsRemoveMembersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)instance; + +/// +/// Deserializes `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDirectoryRestrictionsRemoveMembersType` object. +/// ++ (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesDetails.h index 585edb0b0..888602416 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDisabledDomainInvitesDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesDetails *)instance; /// /// Deserializes `DBTEAMLOGDisabledDomainInvitesDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGDisabledDomainInvitesDetails` /// object. /// -+ (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDisabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesType.h new file mode 100644 index 000000000..b1261c0cc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDisabledDomainInvitesType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDisabledDomainInvitesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DisabledDomainInvitesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDisabledDomainInvitesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DisabledDomainInvitesType` struct. +/// +@interface DBTEAMLOGDisabledDomainInvitesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDisabledDomainInvitesType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDisabledDomainInvitesType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDisabledDomainInvitesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDisabledDomainInvitesType *)instance; + +/// +/// Deserializes `DBTEAMLOGDisabledDomainInvitesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDisabledDomainInvitesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDisabledDomainInvitesType` object. +/// ++ (DBTEAMLOGDisabledDomainInvitesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDispositionActionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDispositionActionType.h new file mode 100644 index 000000000..10cfebd03 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDispositionActionType.h @@ -0,0 +1,135 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDispositionActionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DispositionActionType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDispositionActionType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGDispositionActionTypeTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGDispositionActionType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDispositionActionTypeTag){ + /// (no description). + DBTEAMLOGDispositionActionTypeAutomaticDelete, + + /// (no description). + DBTEAMLOGDispositionActionTypeAutomaticPermanentlyDelete, + + /// (no description). + DBTEAMLOGDispositionActionTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGDispositionActionTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "automatic_delete". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAutomaticDelete; + +/// +/// Initializes union class with tag state of "automatic_permanently_delete". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAutomaticPermanentlyDelete; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "automatic_delete". +/// +/// @return Whether the union's current tag state has value "automatic_delete". +/// +- (BOOL)isAutomaticDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "automatic_permanently_delete". +/// +/// @return Whether the union's current tag state has value +/// "automatic_permanently_delete". +/// +- (BOOL)isAutomaticPermanentlyDelete; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGDispositionActionType` union. +/// +@interface DBTEAMLOGDispositionActionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDispositionActionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDispositionActionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDispositionActionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDispositionActionType *)instance; + +/// +/// Deserializes `DBTEAMLOGDispositionActionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDispositionActionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDispositionActionType` object. +/// ++ (DBTEAMLOGDispositionActionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h index bfc81f8d9..431d79d2e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainInvitesApproveRequestToJoinTeamDetails` struct. /// -/// Approved a member's request to join the team. +/// Approved user's request to join team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails` object. /// -+ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h new file mode 100644 index 000000000..3d8988511 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesApproveRequestToJoinTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesApproveRequestToJoinTeamType` +/// struct. +/// +@interface DBTEAMLOGDomainInvitesApproveRequestToJoinTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType` object. +/// ++ (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h index f309bd4be..960b49dfb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainInvitesDeclineRequestToJoinTeamDetails` struct. /// -/// Declined a user's request to join the team. +/// Declined user's request to join team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails` object. /// -+ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h new file mode 100644 index 000000000..e8823f58d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesDeclineRequestToJoinTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesDeclineRequestToJoinTeamType` +/// struct. +/// +@interface DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType` object. +/// ++ (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h index 234e9d840..a70362c1f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields /// Domain names. -@property (nonatomic, readonly) NSArray *domainName; +@property (nonatomic, readonly, copy) NSString *domainName; /// Number of recipients. @property (nonatomic, readonly) NSNumber *numRecipients; @@ -43,7 +43,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An initialized instance. /// -- (instancetype)initWithDomainName:(NSArray *)domainName numRecipients:(NSNumber *)numRecipients; +- (instancetype)initWithDomainName:(NSString *)domainName numRecipients:(NSNumber *)numRecipients; - (instancetype)init NS_UNAVAILABLE; @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesEmailExistingUsersDetails` object. /// -+ (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersType.h new file mode 100644 index 000000000..6276c6a72 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesEmailExistingUsersType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesEmailExistingUsersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesEmailExistingUsersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesEmailExistingUsersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesEmailExistingUsersType` +/// struct. +/// +@interface DBTEAMLOGDomainInvitesEmailExistingUsersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesEmailExistingUsersType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesEmailExistingUsersType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesEmailExistingUsersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesEmailExistingUsersType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesEmailExistingUsersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesEmailExistingUsersType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesEmailExistingUsersType` object. +/// ++ (DBTEAMLOGDomainInvitesEmailExistingUsersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h index 60e0c30f7..10c2aa2df 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainInvitesRequestToJoinTeamDetails` struct. /// -/// Asked to join the team. +/// Requested to join team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesRequestToJoinTeamDetails` object. /// -+ (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamType.h new file mode 100644 index 000000000..e760d8d0a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesRequestToJoinTeamType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesRequestToJoinTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesRequestToJoinTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesRequestToJoinTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesRequestToJoinTeamType` struct. +/// +@interface DBTEAMLOGDomainInvitesRequestToJoinTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesRequestToJoinTeamType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesRequestToJoinTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesRequestToJoinTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesRequestToJoinTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesRequestToJoinTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesRequestToJoinTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesRequestToJoinTeamType` object. +/// ++ (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h index 91ad8bbf6..8be5584de 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainInvitesSetInviteNewUserPrefToNoDetails` struct. /// -/// Turned off u201cAutomatically invite new usersu201d. +/// Disabled "Automatically invite new users". /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails` object. /// -+ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h new file mode 100644 index 000000000..9457330ca --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesSetInviteNewUserPrefToNoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesSetInviteNewUserPrefToNoType` +/// struct. +/// +@interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType` object. +/// ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h index bdb87b7a8..60202aab9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainInvitesSetInviteNewUserPrefToYesDetails` struct. /// -/// Turned on u201cAutomatically invite new usersu201d. +/// Enabled "Automatically invite new users". /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails` object. /// -+ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h new file mode 100644 index 000000000..87d557b6b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainInvitesSetInviteNewUserPrefToYesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainInvitesSetInviteNewUserPrefToYesType` +/// struct. +/// +@interface DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType` object. +/// ++ (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailDetails.h index 2dcb86307..48e6e8453 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainVerificationAddDomainFailDetails` struct. /// -/// Failed to verify a domain belonging to the team. +/// Failed to verify team domain. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationAddDomainFailDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationAddDomainFailDetails` object. /// -+ (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainVerificationAddDomainFailDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailType.h new file mode 100644 index 000000000..790d3f55b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainFailType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainVerificationAddDomainFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainVerificationAddDomainFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainVerificationAddDomainFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainVerificationAddDomainFailType` +/// struct. +/// +@interface DBTEAMLOGDomainVerificationAddDomainFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainVerificationAddDomainFailType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainVerificationAddDomainFailType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationAddDomainFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainVerificationAddDomainFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationAddDomainFailType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainVerificationAddDomainFailType` object. +/// ++ (DBTEAMLOGDomainVerificationAddDomainFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h index 5bb52e4db..5b6cf93fe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainVerificationAddDomainSuccessDetails` struct. /// -/// Verified a domain belonging to the team. +/// Verified team domain. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationAddDomainSuccessDetails` object. /// -+ (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessType.h new file mode 100644 index 000000000..7f83d036a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationAddDomainSuccessType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainVerificationAddDomainSuccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainVerificationAddDomainSuccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainVerificationAddDomainSuccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainVerificationAddDomainSuccessType` +/// struct. +/// +@interface DBTEAMLOGDomainVerificationAddDomainSuccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainVerificationAddDomainSuccessType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainVerificationAddDomainSuccessType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationAddDomainSuccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationAddDomainSuccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainVerificationAddDomainSuccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationAddDomainSuccessType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainVerificationAddDomainSuccessType` object. +/// ++ (DBTEAMLOGDomainVerificationAddDomainSuccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainDetails.h index 8c12b5853..120a2f2ed 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `DomainVerificationRemoveDomainDetails` struct. /// -/// Removed a domain from the list of verified domains belonging to the team. +/// Removed domain from list of verified team domains. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainDetails *)instance; /// /// Deserializes `DBTEAMLOGDomainVerificationRemoveDomainDetails` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGDomainVerificationRemoveDomainDetails` object. /// -+ (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDomainVerificationRemoveDomainDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainType.h new file mode 100644 index 000000000..766c12d8d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDomainVerificationRemoveDomainType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDomainVerificationRemoveDomainType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DomainVerificationRemoveDomainType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDomainVerificationRemoveDomainType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DomainVerificationRemoveDomainType` struct. +/// +@interface DBTEAMLOGDomainVerificationRemoveDomainTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDomainVerificationRemoveDomainType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDomainVerificationRemoveDomainType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationRemoveDomainType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDomainVerificationRemoveDomainType *)instance; + +/// +/// Deserializes `DBTEAMLOGDomainVerificationRemoveDomainType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDomainVerificationRemoveDomainType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDomainVerificationRemoveDomainType` object. +/// ++ (DBTEAMLOGDomainVerificationRemoveDomainType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDownloadPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDownloadPolicyType.h new file mode 100644 index 000000000..07471f008 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDownloadPolicyType.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDownloadPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DownloadPolicyType` union. +/// +/// Shared content downloads policy +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDownloadPolicyType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGDownloadPolicyTypeTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGDownloadPolicyType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDownloadPolicyTypeTag){ + /// (no description). + DBTEAMLOGDownloadPolicyTypeAllow, + + /// (no description). + DBTEAMLOGDownloadPolicyTypeDisallow, + + /// (no description). + DBTEAMLOGDownloadPolicyTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGDownloadPolicyTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "allow". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllow; + +/// +/// Initializes union class with tag state of "disallow". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisallow; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "allow". +/// +/// @return Whether the union's current tag state has value "allow". +/// +- (BOOL)isAllow; + +/// +/// Retrieves whether the union's current tag state has value "disallow". +/// +/// @return Whether the union's current tag state has value "disallow". +/// +- (BOOL)isDisallow; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGDownloadPolicyType` union. +/// +@interface DBTEAMLOGDownloadPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDownloadPolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDownloadPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDownloadPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDownloadPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGDownloadPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDownloadPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDownloadPolicyType` object. +/// ++ (DBTEAMLOGDownloadPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedDetails.h new file mode 100644 index 000000000..4ba111d99 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsExportedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsExportedDetails` struct. +/// +/// Exported passwords. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsExportedDetails : NSObject + +#pragma mark - Instance fields + +/// The platform the device runs export. +@property (nonatomic, readonly, copy) NSString *platform; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param platform The platform the device runs export. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPlatform:(NSString *)platform; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsExportedDetails` struct. +/// +@interface DBTEAMLOGDropboxPasswordsExportedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsExportedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDropboxPasswordsExportedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsExportedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsExportedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsExportedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsExportedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDropboxPasswordsExportedDetails` +/// object. +/// ++ (DBTEAMLOGDropboxPasswordsExportedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedType.h new file mode 100644 index 000000000..0b7470857 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsExportedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsExportedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsExportedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsExportedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsExportedType` struct. +/// +@interface DBTEAMLOGDropboxPasswordsExportedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsExportedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDropboxPasswordsExportedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsExportedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsExportedType *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsExportedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsExportedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDropboxPasswordsExportedType` +/// object. +/// ++ (DBTEAMLOGDropboxPasswordsExportedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h new file mode 100644 index 000000000..ab821ded0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsNewDeviceEnrolledDetails` struct. +/// +/// Enrolled new Dropbox Passwords device. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails : NSObject + +#pragma mark - Instance fields + +/// Whether it's a first device enrolled. +@property (nonatomic, readonly) NSNumber *isFirstDevice; + +/// The platform the device is enrolled. +@property (nonatomic, readonly, copy) NSString *platform; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param isFirstDevice Whether it's a first device enrolled. +/// @param platform The platform the device is enrolled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsFirstDevice:(NSNumber *)isFirstDevice platform:(NSString *)platform; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsNewDeviceEnrolledDetails` +/// struct. +/// +@interface DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails` object. +/// ++ (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h new file mode 100644 index 000000000..959079bae --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsNewDeviceEnrolledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsNewDeviceEnrolledType` +/// struct. +/// +@interface DBTEAMLOGDropboxPasswordsNewDeviceEnrolledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType` object. +/// ++ (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicy.h new file mode 100644 index 000000000..5a46e4253 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicy.h @@ -0,0 +1,151 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsPolicy` union. +/// +/// Policy for deciding whether team users can use Dropbox Passwords +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGDropboxPasswordsPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGDropboxPasswordsPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGDropboxPasswordsPolicyTag){ + /// (no description). + DBTEAMLOGDropboxPasswordsPolicyDefault_, + + /// (no description). + DBTEAMLOGDropboxPasswordsPolicyDisabled, + + /// (no description). + DBTEAMLOGDropboxPasswordsPolicyEnabled, + + /// (no description). + DBTEAMLOGDropboxPasswordsPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGDropboxPasswordsPolicy` union. +/// +@interface DBTEAMLOGDropboxPasswordsPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGDropboxPasswordsPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDropboxPasswordsPolicy` object. +/// ++ (DBTEAMLOGDropboxPasswordsPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h new file mode 100644 index 000000000..d2240bd86 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsPolicy; +@class DBTEAMLOGDropboxPasswordsPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsPolicyChangedDetails` struct. +/// +/// Changed Dropbox Passwords policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGDropboxPasswordsPolicy *)dNewValue + previousValue:(DBTEAMLOGDropboxPasswordsPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGDropboxPasswordsPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedDetails` object. +/// ++ (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedType.h new file mode 100644 index 000000000..86dd23741 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDropboxPasswordsPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDropboxPasswordsPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `DropboxPasswordsPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGDropboxPasswordsPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DropboxPasswordsPolicyChangedType` struct. +/// +@interface DBTEAMLOGDropboxPasswordsPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGDropboxPasswordsPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDropboxPasswordsPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGDropboxPasswordsPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGDropboxPasswordsPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGDropboxPasswordsPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGDropboxPasswordsPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDurationLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDurationLogInfo.h index 9055d20bb..60fa21e7f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDurationLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDurationLogInfo.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGDurationLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGDurationLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGDurationLogInfo *)instance; /// /// Deserializes `DBTEAMLOGDurationLogInfo` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGDurationLogInfo` object. /// -+ (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGDurationLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicy.h new file mode 100644 index 000000000..20b0d4541 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmailIngestPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmailIngestPolicy` union. +/// +/// Policy for deciding whether a team can use Email to Dropbox feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmailIngestPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGEmailIngestPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGEmailIngestPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEmailIngestPolicyTag){ + /// (no description). + DBTEAMLOGEmailIngestPolicyDisabled, + + /// (no description). + DBTEAMLOGEmailIngestPolicyEnabled, + + /// (no description). + DBTEAMLOGEmailIngestPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGEmailIngestPolicy` union. +/// +@interface DBTEAMLOGEmailIngestPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmailIngestPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmailIngestPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGEmailIngestPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmailIngestPolicy` object. +/// ++ (DBTEAMLOGEmailIngestPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedDetails.h new file mode 100644 index 000000000..cc9f77ada --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmailIngestPolicy; +@class DBTEAMLOGEmailIngestPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmailIngestPolicyChangedDetails` struct. +/// +/// Changed email to Dropbox policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmailIngestPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGEmailIngestPolicy *)dNewValue + previousValue:(DBTEAMLOGEmailIngestPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmailIngestPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGEmailIngestPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmailIngestPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEmailIngestPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGEmailIngestPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmailIngestPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGEmailIngestPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedType.h new file mode 100644 index 000000000..e71e2e552 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmailIngestPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmailIngestPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmailIngestPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmailIngestPolicyChangedType` struct. +/// +@interface DBTEAMLOGEmailIngestPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmailIngestPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmailIngestPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmailIngestPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmailIngestPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmailIngestPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGEmailIngestPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileDetails.h new file mode 100644 index 000000000..6f7b9960b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileDetails.h @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmailIngestReceiveFileDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmailIngestReceiveFileDetails` struct. +/// +/// Received files via Email to Dropbox. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmailIngestReceiveFileDetails : NSObject + +#pragma mark - Instance fields + +/// Inbox name. +@property (nonatomic, readonly, copy) NSString *inboxName; + +/// Submitted file names. +@property (nonatomic, readonly) NSArray *attachmentNames; + +/// Subject of the email. +@property (nonatomic, readonly, copy, nullable) NSString *subject; + +/// The name as provided by the submitter. +@property (nonatomic, readonly, copy, nullable) NSString *fromName; + +/// The email as provided by the submitter. +@property (nonatomic, readonly, copy, nullable) NSString *fromEmail; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param inboxName Inbox name. +/// @param attachmentNames Submitted file names. +/// @param subject Subject of the email. +/// @param fromName The name as provided by the submitter. +/// @param fromEmail The email as provided by the submitter. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInboxName:(NSString *)inboxName + attachmentNames:(NSArray *)attachmentNames + subject:(nullable NSString *)subject + fromName:(nullable NSString *)fromName + fromEmail:(nullable NSString *)fromEmail; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param inboxName Inbox name. +/// @param attachmentNames Submitted file names. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInboxName:(NSString *)inboxName attachmentNames:(NSArray *)attachmentNames; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmailIngestReceiveFileDetails` struct. +/// +@interface DBTEAMLOGEmailIngestReceiveFileDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmailIngestReceiveFileDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmailIngestReceiveFileDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestReceiveFileDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmailIngestReceiveFileDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGEmailIngestReceiveFileDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestReceiveFileDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmailIngestReceiveFileDetails` +/// object. +/// ++ (DBTEAMLOGEmailIngestReceiveFileDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileType.h new file mode 100644 index 000000000..0f7066886 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmailIngestReceiveFileType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmailIngestReceiveFileType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmailIngestReceiveFileType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmailIngestReceiveFileType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmailIngestReceiveFileType` struct. +/// +@interface DBTEAMLOGEmailIngestReceiveFileTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmailIngestReceiveFileType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmailIngestReceiveFileType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestReceiveFileType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmailIngestReceiveFileType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmailIngestReceiveFileType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmailIngestReceiveFileType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmailIngestReceiveFileType` +/// object. +/// ++ (DBTEAMLOGEmailIngestReceiveFileType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionDetails.h index 67b17b360..f4f043bbf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmAddExceptionDetails` struct. /// -/// Added an exception for one or more team members to optionally use the -/// regular Dropbox app when EMM is enabled. +/// Added members to EMM exception list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmAddExceptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmAddExceptionDetails` instances. @@ -67,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGEmmAddExceptionDetails` object. /// -+ (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionType.h new file mode 100644 index 000000000..3a0411ebf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmAddExceptionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmAddExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmAddExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmAddExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmAddExceptionType` struct. +/// +@interface DBTEAMLOGEmmAddExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmAddExceptionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmAddExceptionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmAddExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmAddExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmAddExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmAddExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmAddExceptionType` object. +/// ++ (DBTEAMLOGEmmAddExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyDetails.h index 5eac42a9c..22b1802f9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmChangePolicyDetails` struct. /// -/// Enabled or disabled enterprise mobility management for team members. +/// Enabled/disabled enterprise mobility management for members. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmChangePolicyDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGEmmChangePolicyDetails` object. /// -+ (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyType.h new file mode 100644 index 000000000..9bce78b83 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmChangePolicyType` struct. +/// +@interface DBTEAMLOGEmmChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmChangePolicyType` object. +/// ++ (DBTEAMLOGEmmChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportDetails.h index a3c0d5596..ba08dcec2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmCreateExceptionsReportDetails` struct. /// -/// EMM excluded users report created. +/// Created EMM-excluded users report. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateExceptionsReportDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmCreateExceptionsReportDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGEmmCreateExceptionsReportDetails` /// object. /// -+ (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmCreateExceptionsReportDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportType.h new file mode 100644 index 000000000..81682c2df --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateExceptionsReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmCreateExceptionsReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmCreateExceptionsReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmCreateExceptionsReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmCreateExceptionsReportType` struct. +/// +@interface DBTEAMLOGEmmCreateExceptionsReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmCreateExceptionsReportType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmCreateExceptionsReportType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmCreateExceptionsReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateExceptionsReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmCreateExceptionsReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmCreateExceptionsReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmCreateExceptionsReportType` +/// object. +/// ++ (DBTEAMLOGEmmCreateExceptionsReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportDetails.h index 0662cc706..14fb38f10 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmCreateUsageReportDetails` struct. /// -/// EMM mobile app usage report created. +/// Created EMM mobile app usage report. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmCreateUsageReportDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmCreateUsageReportDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGEmmCreateUsageReportDetails` /// object. /// -+ (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmCreateUsageReportDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportType.h new file mode 100644 index 000000000..e776e7e0b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmCreateUsageReportType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmCreateUsageReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmCreateUsageReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmCreateUsageReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmCreateUsageReportType` struct. +/// +@interface DBTEAMLOGEmmCreateUsageReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmCreateUsageReportType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmCreateUsageReportType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmCreateUsageReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmCreateUsageReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmCreateUsageReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmCreateUsageReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmCreateUsageReportType` object. +/// ++ (DBTEAMLOGEmmCreateUsageReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorDetails.h index 4ee058f85..c8da0f383 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorDetails.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmErrorDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmErrorDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmErrorDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmErrorDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGEmmErrorDetails` object. /// -+ (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmErrorDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorType.h new file mode 100644 index 000000000..36e446979 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmErrorType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmErrorType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmErrorType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmErrorType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmErrorType` struct. +/// +@interface DBTEAMLOGEmmErrorTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmErrorType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmErrorType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmErrorType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmErrorType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmErrorType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmErrorType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmErrorType` object. +/// ++ (DBTEAMLOGEmmErrorType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenDetails.h index 1022975d7..a6f39b808 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmRefreshAuthTokenDetails` struct. /// -/// Refreshed the auth token used for setting up enterprise mobility management. +/// Refreshed auth token used for setting up EMM. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRefreshAuthTokenDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmRefreshAuthTokenDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGEmmRefreshAuthTokenDetails` /// object. /// -+ (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmRefreshAuthTokenDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenType.h new file mode 100644 index 000000000..fd8505406 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRefreshAuthTokenType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmRefreshAuthTokenType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmRefreshAuthTokenType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmRefreshAuthTokenType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmRefreshAuthTokenType` struct. +/// +@interface DBTEAMLOGEmmRefreshAuthTokenTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmRefreshAuthTokenType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmRefreshAuthTokenType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmRefreshAuthTokenType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRefreshAuthTokenType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmRefreshAuthTokenType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmRefreshAuthTokenType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmRefreshAuthTokenType` object. +/// ++ (DBTEAMLOGEmmRefreshAuthTokenType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionDetails.h index 9d136cdff..6b6a381cb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EmmRemoveExceptionDetails` struct. /// -/// Removed an exception for one or more team members to optionally use the -/// regular Dropbox app when EMM is enabled. +/// Removed members from EMM exception list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEmmRemoveExceptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGEmmRemoveExceptionDetails` instances. @@ -67,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGEmmRemoveExceptionDetails` object. /// -+ (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEmmRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionType.h new file mode 100644 index 000000000..3f54c63bf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEmmRemoveExceptionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEmmRemoveExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EmmRemoveExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEmmRemoveExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EmmRemoveExceptionType` struct. +/// +@interface DBTEAMLOGEmmRemoveExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEmmRemoveExceptionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEmmRemoveExceptionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmRemoveExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEmmRemoveExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGEmmRemoveExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEmmRemoveExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEmmRemoveExceptionType` object. +/// ++ (DBTEAMLOGEmmRemoveExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesDetails.h index e44723ce0..3cf7511fb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEnabledDomainInvitesDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesDetails *)instance; /// /// Deserializes `DBTEAMLOGEnabledDomainInvitesDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGEnabledDomainInvitesDetails` /// object. /// -+ (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEnabledDomainInvitesDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesType.h new file mode 100644 index 000000000..bbd796cc1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnabledDomainInvitesType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEnabledDomainInvitesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EnabledDomainInvitesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEnabledDomainInvitesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EnabledDomainInvitesType` struct. +/// +@interface DBTEAMLOGEnabledDomainInvitesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEnabledDomainInvitesType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEnabledDomainInvitesType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEnabledDomainInvitesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEnabledDomainInvitesType *)instance; + +/// +/// Deserializes `DBTEAMLOGEnabledDomainInvitesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEnabledDomainInvitesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEnabledDomainInvitesType` object. +/// ++ (DBTEAMLOGEnabledDomainInvitesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h new file mode 100644 index 000000000..f2234ea89 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails; +@class DBTEAMLOGFedExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EndedEnterpriseAdminSessionDeprecatedDetails` struct. +/// +/// Ended enterprise admin session. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails : NSObject + +#pragma mark - Instance fields + +/// More information about the organization or team. +@property (nonatomic, readonly) DBTEAMLOGFedExtraDetails *federationExtraDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param federationExtraDetails More information about the organization or +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFederationExtraDetails:(DBTEAMLOGFedExtraDetails *)federationExtraDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `EndedEnterpriseAdminSessionDeprecatedDetails` struct. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails` object. +/// ++ (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h new file mode 100644 index 000000000..58ab2efd9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EndedEnterpriseAdminSessionDeprecatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EndedEnterpriseAdminSessionDeprecatedType` +/// struct. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType` object. +/// ++ (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDetails.h new file mode 100644 index 000000000..f767c788d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEndedEnterpriseAdminSessionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EndedEnterpriseAdminSessionDetails` struct. +/// +/// Ended enterprise admin session. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EndedEnterpriseAdminSessionDetails` struct. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEndedEnterpriseAdminSessionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGEndedEnterpriseAdminSessionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionDetails` object. +/// ++ (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionType.h new file mode 100644 index 000000000..e130cfc16 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEndedEnterpriseAdminSessionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEndedEnterpriseAdminSessionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EndedEnterpriseAdminSessionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EndedEnterpriseAdminSessionType` struct. +/// +@interface DBTEAMLOGEndedEnterpriseAdminSessionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEndedEnterpriseAdminSessionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEndedEnterpriseAdminSessionType *)instance; + +/// +/// Deserializes `DBTEAMLOGEndedEnterpriseAdminSessionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEndedEnterpriseAdminSessionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEndedEnterpriseAdminSessionType` +/// object. +/// ++ (DBTEAMLOGEndedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnforceLinkPasswordPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnforceLinkPasswordPolicy.h new file mode 100644 index 000000000..3e18c8b01 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnforceLinkPasswordPolicy.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEnforceLinkPasswordPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EnforceLinkPasswordPolicy` union. +/// +/// Policy for deciding whether password must be enforced when an externally +/// shared link is updated +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEnforceLinkPasswordPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGEnforceLinkPasswordPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGEnforceLinkPasswordPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEnforceLinkPasswordPolicyTag){ + /// (no description). + DBTEAMLOGEnforceLinkPasswordPolicyOptional, + + /// (no description). + DBTEAMLOGEnforceLinkPasswordPolicyRequired, + + /// (no description). + DBTEAMLOGEnforceLinkPasswordPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGEnforceLinkPasswordPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "optional". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOptional; + +/// +/// Initializes union class with tag state of "required". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequired; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "optional". +/// +/// @return Whether the union's current tag state has value "optional". +/// +- (BOOL)isOptional; + +/// +/// Retrieves whether the union's current tag state has value "required". +/// +/// @return Whether the union's current tag state has value "required". +/// +- (BOOL)isRequired; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGEnforceLinkPasswordPolicy` union. +/// +@interface DBTEAMLOGEnforceLinkPasswordPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEnforceLinkPasswordPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEnforceLinkPasswordPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEnforceLinkPasswordPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEnforceLinkPasswordPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGEnforceLinkPasswordPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEnforceLinkPasswordPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEnforceLinkPasswordPolicy` object. +/// ++ (DBTEAMLOGEnforceLinkPasswordPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingDetails.h new file mode 100644 index 000000000..fa14b0a24 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingDetails.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEnterpriseSettingsLockingDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EnterpriseSettingsLockingDetails` struct. +/// +/// Changed who can update a setting. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEnterpriseSettingsLockingDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *teamName; + +/// Settings page name. +@property (nonatomic, readonly, copy) NSString *settingsPageName; + +/// Previous locked settings page state. +@property (nonatomic, readonly, copy) NSString *previousSettingsPageLockingState; + +/// New locked settings page state. +@property (nonatomic, readonly, copy) NSString *dNewSettingsPageLockingState; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamName The secondary team name. +/// @param settingsPageName Settings page name. +/// @param previousSettingsPageLockingState Previous locked settings page state. +/// @param dNewSettingsPageLockingState New locked settings page state. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamName:(NSString *)teamName + settingsPageName:(NSString *)settingsPageName + previousSettingsPageLockingState:(NSString *)previousSettingsPageLockingState + dNewSettingsPageLockingState:(NSString *)dNewSettingsPageLockingState; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EnterpriseSettingsLockingDetails` struct. +/// +@interface DBTEAMLOGEnterpriseSettingsLockingDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEnterpriseSettingsLockingDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGEnterpriseSettingsLockingDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEnterpriseSettingsLockingDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEnterpriseSettingsLockingDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGEnterpriseSettingsLockingDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEnterpriseSettingsLockingDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEnterpriseSettingsLockingDetails` +/// object. +/// ++ (DBTEAMLOGEnterpriseSettingsLockingDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingType.h new file mode 100644 index 000000000..d83cfffd5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEnterpriseSettingsLockingType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEnterpriseSettingsLockingType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EnterpriseSettingsLockingType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEnterpriseSettingsLockingType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `EnterpriseSettingsLockingType` struct. +/// +@interface DBTEAMLOGEnterpriseSettingsLockingTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEnterpriseSettingsLockingType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEnterpriseSettingsLockingType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEnterpriseSettingsLockingType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEnterpriseSettingsLockingType *)instance; + +/// +/// Deserializes `DBTEAMLOGEnterpriseSettingsLockingType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEnterpriseSettingsLockingType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEnterpriseSettingsLockingType` +/// object. +/// ++ (DBTEAMLOGEnterpriseSettingsLockingType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventCategory.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventCategory.h index c2ec8f24f..9de738a5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventCategory.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventCategory.h @@ -29,116 +29,84 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGEventCategoryTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventCategory` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - /// Events that have to do with account capture and invite enforcement on - /// team-owned domains. - DBTEAMLOGEventCategoryAccountCapture, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventCategoryTag){ + /// Events that involve team related alerts. + DBTEAMLOGEventCategoryAdminAlerting, - /// Events that relate to team and team member account administration or - /// team administration. Note that these actions are not necessarily - /// performed by team admins. They might also be performed by Dropbox - /// Support or System or by team members on their own accounts. - DBTEAMLOGEventCategoryAdministration, + /// Events that apply to management of linked apps. + DBTEAMLOGEventCategoryApps, - /// Events that apply to management of linked apps. - DBTEAMLOGEventCategoryApps, + /// Events that have to do with comments on files and Paper documents. + DBTEAMLOGEventCategoryComments, - /// Events that apply to user authentication in some way. - DBTEAMLOGEventCategoryAuthentication, + /// Events that involve data governance actions + DBTEAMLOGEventCategoryDataGovernance, - /// Events that have to do with comments on files and Paper documents. - DBTEAMLOGEventCategoryComments, + /// Events that apply to linked devices on mobile, desktop and Web + /// platforms. + DBTEAMLOGEventCategoryDevices, - /// Events that apply to changes how people can access content on Dropbox as - /// well as actions that represent actually accessing content. - DBTEAMLOGEventCategoryContentAccess, + /// Events that involve domain management feature: domain verification, + /// invite enforcement and account capture. + DBTEAMLOGEventCategoryDomains, - /// Events that apply to linked devices on mobile, desktop and Web - /// platforms. - DBTEAMLOGEventCategoryDevices, + /// Events that involve encryption. + DBTEAMLOGEventCategoryEncryption, - /// Events that concern device approvals and device management. - DBTEAMLOGEventCategoryDeviceApprovals, + /// Events that have to do with filesystem operations on files and folders: + /// copy, move, delete, etc. + DBTEAMLOGEventCategoryFileOperations, - /// Events that involve domain management feature: domain verification, - /// invite enforcement and account capture. - DBTEAMLOGEventCategoryDomains, + /// Events that apply to the file requests feature. + DBTEAMLOGEventCategoryFileRequests, - /// Events that involve enterprise mobility management and the Dropbox EMM - /// app. - DBTEAMLOGEventCategoryEmm, + /// Events that involve group management. + DBTEAMLOGEventCategoryGroups, - /// Events that mark some type of unexpected outcome. - DBTEAMLOGEventCategoryErrors, + /// Events that involve users signing in to or out of Dropbox. + DBTEAMLOGEventCategoryLogins, - /// Events that mark a user's interaction with files and folders on Dropbox. - DBTEAMLOGEventCategoryFiles, + /// Events that involve team member management. + DBTEAMLOGEventCategoryMembers, - /// Events that have to do with filesystem operations on files and folders: - /// copy, move, delete, etc. - DBTEAMLOGEventCategoryFileOperations, + /// Events that apply to Dropbox Paper. + DBTEAMLOGEventCategoryPaper, - /// Events that apply to the file requests feature. - DBTEAMLOGEventCategoryFileRequests, + /// Events that involve using, changing or resetting passwords. + DBTEAMLOGEventCategoryPasswords, - /// Events that involve group management. - DBTEAMLOGEventCategoryGroups, + /// Events that concern generation of admin reports, including team activity + /// and device usage. + DBTEAMLOGEventCategoryReports, - /// Events that involve users signing in to or out of Dropbox. - DBTEAMLOGEventCategoryLogins, + /// Events that apply to all types of sharing and collaboration. + DBTEAMLOGEventCategorySharing, - /// Events that involve team member management. - DBTEAMLOGEventCategoryMembers, + /// Events that apply to Dropbox Showcase. + DBTEAMLOGEventCategoryShowcase, - /// Events that apply to Dropbox Paper. - DBTEAMLOGEventCategoryPaper, + /// Events that involve using or configuring single sign-on as well as + /// administrative policies concerning single sign-on. + DBTEAMLOGEventCategorySso, - /// Events that involve using, changing or resetting passwords. - DBTEAMLOGEventCategoryPasswords, + /// Events that involve team folder management. + DBTEAMLOGEventCategoryTeamFolders, - /// Events that concern generation of admin reports, including team activity - /// and device usage. - DBTEAMLOGEventCategoryReports, + /// Events that involve a change in team-wide policies. + DBTEAMLOGEventCategoryTeamPolicies, - /// Events that mark the beginning or end of sessions as well as those that - /// apply to an ongoing session. - DBTEAMLOGEventCategorySessions, + /// Events that involve a change in the team profile. + DBTEAMLOGEventCategoryTeamProfile, - /// Events that specifically apply to shared files. - DBTEAMLOGEventCategorySharedFiles, + /// Events that involve using or configuring two factor authentication as + /// well as administrative policies concerning two factor authentication. + DBTEAMLOGEventCategoryTfa, - /// Events that specifically apply to shared folders. - DBTEAMLOGEventCategorySharedFolders, + /// Events that apply to cross-team trust establishment. + DBTEAMLOGEventCategoryTrustedTeams, - /// Events that specifically apply to link sharing. - DBTEAMLOGEventCategorySharedLinks, - - /// Events that apply to all types of sharing and collaboration. - DBTEAMLOGEventCategorySharing, - - /// Events that concern policies that affect sharing - both at the team - /// level and at the folder level. - DBTEAMLOGEventCategorySharingPolicies, - - /// Events that involve using or configuring single sign-on as well as - /// administrative policies concerning single sign-on. - DBTEAMLOGEventCategorySso, - - /// Events that involve team folder management. - DBTEAMLOGEventCategoryTeamFolders, - - /// Events that involve a change in team-wide policies. - DBTEAMLOGEventCategoryTeamPolicies, - - /// Events that involve a change in the team profile. - DBTEAMLOGEventCategoryTeamProfile, - - /// Events that involve using or configuring two factor authentication as - /// well as administrative policies concerning two factor authentication. - DBTEAMLOGEventCategoryTfa, - - /// (no description). - DBTEAMLOGEventCategoryOther, + /// (no description). + DBTEAMLOGEventCategoryOther, }; @@ -148,27 +116,14 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "account_capture". -/// -/// Description of the "account_capture" tag state: Events that have to do with -/// account capture and invite enforcement on team-owned domains. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithAccountCapture; - -/// -/// Initializes union class with tag state of "administration". +/// Initializes union class with tag state of "admin_alerting". /// -/// Description of the "administration" tag state: Events that relate to team -/// and team member account administration or team administration. Note that -/// these actions are not necessarily performed by team admins. They might also -/// be performed by Dropbox Support or System or by team members on their own -/// accounts. +/// Description of the "admin_alerting" tag state: Events that involve team +/// related alerts. /// /// @return An initialized instance. /// -- (instancetype)initWithAdministration; +- (instancetype)initWithAdminAlerting; /// /// Initializes union class with tag state of "apps". @@ -180,16 +135,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (instancetype)initWithApps; -/// -/// Initializes union class with tag state of "authentication". -/// -/// Description of the "authentication" tag state: Events that apply to user -/// authentication in some way. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithAuthentication; - /// /// Initializes union class with tag state of "comments". /// @@ -201,15 +146,14 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (instancetype)initWithComments; /// -/// Initializes union class with tag state of "content_access". +/// Initializes union class with tag state of "data_governance". /// -/// Description of the "content_access" tag state: Events that apply to changes -/// how people can access content on Dropbox as well as actions that represent -/// actually accessing content. +/// Description of the "data_governance" tag state: Events that involve data +/// governance actions /// /// @return An initialized instance. /// -- (instancetype)initWithContentAccess; +- (instancetype)initWithDataGovernance; /// /// Initializes union class with tag state of "devices". @@ -221,16 +165,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (instancetype)initWithDevices; -/// -/// Initializes union class with tag state of "device_approvals". -/// -/// Description of the "device_approvals" tag state: Events that concern device -/// approvals and device management. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithDeviceApprovals; - /// /// Initializes union class with tag state of "domains". /// @@ -243,34 +177,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (instancetype)initWithDomains; /// -/// Initializes union class with tag state of "emm". -/// -/// Description of the "emm" tag state: Events that involve enterprise mobility -/// management and the Dropbox EMM app. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithEmm; - -/// -/// Initializes union class with tag state of "errors". -/// -/// Description of the "errors" tag state: Events that mark some type of -/// unexpected outcome. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithErrors; - -/// -/// Initializes union class with tag state of "files". +/// Initializes union class with tag state of "encryption". /// -/// Description of the "files" tag state: Events that mark a user's interaction -/// with files and folders on Dropbox. +/// Description of the "encryption" tag state: Events that involve encryption. /// /// @return An initialized instance. /// -- (instancetype)initWithFiles; +- (instancetype)initWithEncryption; /// /// Initializes union class with tag state of "file_operations". @@ -350,46 +263,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (instancetype)initWithReports; -/// -/// Initializes union class with tag state of "sessions". -/// -/// Description of the "sessions" tag state: Events that mark the beginning or -/// end of sessions as well as those that apply to an ongoing session. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSessions; - -/// -/// Initializes union class with tag state of "shared_files". -/// -/// Description of the "shared_files" tag state: Events that specifically apply -/// to shared files. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharedFiles; - -/// -/// Initializes union class with tag state of "shared_folders". -/// -/// Description of the "shared_folders" tag state: Events that specifically -/// apply to shared folders. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharedFolders; - -/// -/// Initializes union class with tag state of "shared_links". -/// -/// Description of the "shared_links" tag state: Events that specifically apply -/// to link sharing. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharedLinks; - /// /// Initializes union class with tag state of "sharing". /// @@ -401,15 +274,14 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (instancetype)initWithSharing; /// -/// Initializes union class with tag state of "sharing_policies". +/// Initializes union class with tag state of "showcase". /// -/// Description of the "sharing_policies" tag state: Events that concern -/// policies that affect sharing - both at the team level and at the folder -/// level. +/// Description of the "showcase" tag state: Events that apply to Dropbox +/// Showcase. /// /// @return An initialized instance. /// -- (instancetype)initWithSharingPolicies; +- (instancetype)initWithShowcase; /// /// Initializes union class with tag state of "sso". @@ -462,6 +334,16 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (instancetype)initWithTfa; +/// +/// Initializes union class with tag state of "trusted_teams". +/// +/// Description of the "trusted_teams" tag state: Events that apply to +/// cross-team trust establishment. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTrustedTeams; + /// /// Initializes union class with tag state of "other". /// @@ -474,18 +356,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "account_capture". +/// Retrieves whether the union's current tag state has value "admin_alerting". /// -/// @return Whether the union's current tag state has value "account_capture". +/// @return Whether the union's current tag state has value "admin_alerting". /// -- (BOOL)isAccountCapture; - -/// -/// Retrieves whether the union's current tag state has value "administration". -/// -/// @return Whether the union's current tag state has value "administration". -/// -- (BOOL)isAdministration; +- (BOOL)isAdminAlerting; /// /// Retrieves whether the union's current tag state has value "apps". @@ -494,13 +369,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (BOOL)isApps; -/// -/// Retrieves whether the union's current tag state has value "authentication". -/// -/// @return Whether the union's current tag state has value "authentication". -/// -- (BOOL)isAuthentication; - /// /// Retrieves whether the union's current tag state has value "comments". /// @@ -509,11 +377,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (BOOL)isComments; /// -/// Retrieves whether the union's current tag state has value "content_access". +/// Retrieves whether the union's current tag state has value "data_governance". /// -/// @return Whether the union's current tag state has value "content_access". +/// @return Whether the union's current tag state has value "data_governance". /// -- (BOOL)isContentAccess; +- (BOOL)isDataGovernance; /// /// Retrieves whether the union's current tag state has value "devices". @@ -522,14 +390,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (BOOL)isDevices; -/// -/// Retrieves whether the union's current tag state has value -/// "device_approvals". -/// -/// @return Whether the union's current tag state has value "device_approvals". -/// -- (BOOL)isDeviceApprovals; - /// /// Retrieves whether the union's current tag state has value "domains". /// @@ -538,25 +398,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (BOOL)isDomains; /// -/// Retrieves whether the union's current tag state has value "emm". -/// -/// @return Whether the union's current tag state has value "emm". -/// -- (BOOL)isEmm; - -/// -/// Retrieves whether the union's current tag state has value "errors". -/// -/// @return Whether the union's current tag state has value "errors". -/// -- (BOOL)isErrors; - -/// -/// Retrieves whether the union's current tag state has value "files". +/// Retrieves whether the union's current tag state has value "encryption". /// -/// @return Whether the union's current tag state has value "files". +/// @return Whether the union's current tag state has value "encryption". /// -- (BOOL)isFiles; +- (BOOL)isEncryption; /// /// Retrieves whether the union's current tag state has value "file_operations". @@ -614,34 +460,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (BOOL)isReports; -/// -/// Retrieves whether the union's current tag state has value "sessions". -/// -/// @return Whether the union's current tag state has value "sessions". -/// -- (BOOL)isSessions; - -/// -/// Retrieves whether the union's current tag state has value "shared_files". -/// -/// @return Whether the union's current tag state has value "shared_files". -/// -- (BOOL)isSharedFiles; - -/// -/// Retrieves whether the union's current tag state has value "shared_folders". -/// -/// @return Whether the union's current tag state has value "shared_folders". -/// -- (BOOL)isSharedFolders; - -/// -/// Retrieves whether the union's current tag state has value "shared_links". -/// -/// @return Whether the union's current tag state has value "shared_links". -/// -- (BOOL)isSharedLinks; - /// /// Retrieves whether the union's current tag state has value "sharing". /// @@ -650,12 +468,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { - (BOOL)isSharing; /// -/// Retrieves whether the union's current tag state has value -/// "sharing_policies". +/// Retrieves whether the union's current tag state has value "showcase". /// -/// @return Whether the union's current tag state has value "sharing_policies". +/// @return Whether the union's current tag state has value "showcase". /// -- (BOOL)isSharingPolicies; +- (BOOL)isShowcase; /// /// Retrieves whether the union's current tag state has value "sso". @@ -692,6 +509,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// - (BOOL)isTfa; +/// +/// Retrieves whether the union's current tag state has value "trusted_teams". +/// +/// @return Whether the union's current tag state has value "trusted_teams". +/// +- (BOOL)isTrustedTeams; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -723,7 +547,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventCategory` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEventCategory *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEventCategory *)instance; /// /// Deserializes `DBTEAMLOGEventCategory` instances. @@ -733,7 +557,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventCategoryTag) { /// /// @return An instantiation of the `DBTEAMLOGEventCategory` object. /// -+ (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEventCategory *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h index 23ec0e500..951eebb23 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventDetails.h @@ -11,21 +11,55 @@ @class DBTEAMLOGAccountCaptureChangeAvailabilityDetails; @class DBTEAMLOGAccountCaptureChangePolicyDetails; @class DBTEAMLOGAccountCaptureMigrateAccountDetails; +@class DBTEAMLOGAccountCaptureNotificationEmailsSentDetails; @class DBTEAMLOGAccountCaptureRelinquishAccountDetails; +@class DBTEAMLOGAccountLockOrUnlockedDetails; +@class DBTEAMLOGAdminAlertingAlertStateChangedDetails; +@class DBTEAMLOGAdminAlertingChangedAlertConfigDetails; +@class DBTEAMLOGAdminAlertingTriggeredAlertDetails; +@class DBTEAMLOGAdminEmailRemindersChangedDetails; @class DBTEAMLOGAllowDownloadDisabledDetails; @class DBTEAMLOGAllowDownloadEnabledDetails; +@class DBTEAMLOGAppBlockedByPermissionsDetails; @class DBTEAMLOGAppLinkTeamDetails; @class DBTEAMLOGAppLinkUserDetails; +@class DBTEAMLOGAppPermissionsChangedDetails; @class DBTEAMLOGAppUnlinkTeamDetails; @class DBTEAMLOGAppUnlinkUserDetails; +@class DBTEAMLOGApplyNamingConventionDetails; +@class DBTEAMLOGBackupAdminInvitationSentDetails; +@class DBTEAMLOGBackupInvitationOpenedDetails; +@class DBTEAMLOGBinderAddPageDetails; +@class DBTEAMLOGBinderAddSectionDetails; +@class DBTEAMLOGBinderRemovePageDetails; +@class DBTEAMLOGBinderRemoveSectionDetails; +@class DBTEAMLOGBinderRenamePageDetails; +@class DBTEAMLOGBinderRenameSectionDetails; +@class DBTEAMLOGBinderReorderPageDetails; +@class DBTEAMLOGBinderReorderSectionDetails; +@class DBTEAMLOGCameraUploadsPolicyChangedDetails; +@class DBTEAMLOGCaptureTranscriptPolicyChangedDetails; +@class DBTEAMLOGChangedEnterpriseAdminRoleDetails; +@class DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails; +@class DBTEAMLOGClassificationChangePolicyDetails; +@class DBTEAMLOGClassificationCreateReportDetails; +@class DBTEAMLOGClassificationCreateReportFailDetails; @class DBTEAMLOGCollectionShareDetails; +@class DBTEAMLOGComputerBackupPolicyChangedDetails; +@class DBTEAMLOGContentAdministrationPolicyChangedDetails; @class DBTEAMLOGCreateFolderDetails; +@class DBTEAMLOGCreateTeamInviteLinkDetails; @class DBTEAMLOGDataPlacementRestrictionChangePolicyDetails; @class DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails; +@class DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails; +@class DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails; +@class DBTEAMLOGDeleteTeamInviteLinkDetails; +@class DBTEAMLOGDeviceApprovalsAddExceptionDetails; @class DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails; @class DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails; @class DBTEAMLOGDeviceApprovalsChangeOverageActionDetails; @class DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails; +@class DBTEAMLOGDeviceApprovalsRemoveExceptionDetails; @class DBTEAMLOGDeviceChangeIpDesktopDetails; @class DBTEAMLOGDeviceChangeIpMobileDetails; @class DBTEAMLOGDeviceChangeIpWebDetails; @@ -35,7 +69,10 @@ @class DBTEAMLOGDeviceLinkSuccessDetails; @class DBTEAMLOGDeviceManagementDisabledDetails; @class DBTEAMLOGDeviceManagementEnabledDetails; +@class DBTEAMLOGDeviceSyncBackupStatusChangedDetails; @class DBTEAMLOGDeviceUnlinkDetails; +@class DBTEAMLOGDirectoryRestrictionsAddMembersDetails; +@class DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails; @class DBTEAMLOGDisabledDomainInvitesDetails; @class DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails; @class DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails; @@ -46,6 +83,11 @@ @class DBTEAMLOGDomainVerificationAddDomainFailDetails; @class DBTEAMLOGDomainVerificationAddDomainSuccessDetails; @class DBTEAMLOGDomainVerificationRemoveDomainDetails; +@class DBTEAMLOGDropboxPasswordsExportedDetails; +@class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails; +@class DBTEAMLOGDropboxPasswordsPolicyChangedDetails; +@class DBTEAMLOGEmailIngestPolicyChangedDetails; +@class DBTEAMLOGEmailIngestReceiveFileDetails; @class DBTEAMLOGEmmAddExceptionDetails; @class DBTEAMLOGEmmChangePolicyDetails; @class DBTEAMLOGEmmCreateExceptionsReportDetails; @@ -54,31 +96,43 @@ @class DBTEAMLOGEmmRefreshAuthTokenDetails; @class DBTEAMLOGEmmRemoveExceptionDetails; @class DBTEAMLOGEnabledDomainInvitesDetails; +@class DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails; +@class DBTEAMLOGEndedEnterpriseAdminSessionDetails; +@class DBTEAMLOGEnterpriseSettingsLockingDetails; @class DBTEAMLOGEventDetails; +@class DBTEAMLOGExportMembersReportDetails; +@class DBTEAMLOGExportMembersReportFailDetails; @class DBTEAMLOGExtendedVersionHistoryChangePolicyDetails; +@class DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails; +@class DBTEAMLOGExternalDriveBackupPolicyChangedDetails; +@class DBTEAMLOGExternalDriveBackupStatusChangedDetails; +@class DBTEAMLOGExternalSharingCreateReportDetails; +@class DBTEAMLOGExternalSharingReportFailedDetails; @class DBTEAMLOGFileAddCommentDetails; @class DBTEAMLOGFileAddDetails; +@class DBTEAMLOGFileAddFromAutomationDetails; @class DBTEAMLOGFileChangeCommentSubscriptionDetails; @class DBTEAMLOGFileCommentsChangePolicyDetails; @class DBTEAMLOGFileCopyDetails; @class DBTEAMLOGFileDeleteCommentDetails; @class DBTEAMLOGFileDeleteDetails; @class DBTEAMLOGFileDownloadDetails; +@class DBTEAMLOGFileEditCommentDetails; @class DBTEAMLOGFileEditDetails; @class DBTEAMLOGFileGetCopyReferenceDetails; @class DBTEAMLOGFileLikeCommentDetails; +@class DBTEAMLOGFileLockingLockStatusChangedDetails; +@class DBTEAMLOGFileLockingPolicyChangedDetails; @class DBTEAMLOGFileMoveDetails; @class DBTEAMLOGFilePermanentlyDeleteDetails; @class DBTEAMLOGFilePreviewDetails; +@class DBTEAMLOGFileProviderMigrationPolicyChangedDetails; @class DBTEAMLOGFileRenameDetails; -@class DBTEAMLOGFileRequestAddDeadlineDetails; @class DBTEAMLOGFileRequestChangeDetails; -@class DBTEAMLOGFileRequestChangeFolderDetails; @class DBTEAMLOGFileRequestCloseDetails; @class DBTEAMLOGFileRequestCreateDetails; +@class DBTEAMLOGFileRequestDeleteDetails; @class DBTEAMLOGFileRequestReceiveFileDetails; -@class DBTEAMLOGFileRequestRemoveDeadlineDetails; -@class DBTEAMLOGFileRequestSendDetails; @class DBTEAMLOGFileRequestsChangePolicyDetails; @class DBTEAMLOGFileRequestsEmailsEnabledDetails; @class DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails; @@ -87,9 +141,31 @@ @class DBTEAMLOGFileRevertDetails; @class DBTEAMLOGFileRollbackChangesDetails; @class DBTEAMLOGFileSaveCopyReferenceDetails; +@class DBTEAMLOGFileTransfersFileAddDetails; +@class DBTEAMLOGFileTransfersPolicyChangedDetails; +@class DBTEAMLOGFileTransfersTransferDeleteDetails; +@class DBTEAMLOGFileTransfersTransferDownloadDetails; +@class DBTEAMLOGFileTransfersTransferSendDetails; +@class DBTEAMLOGFileTransfersTransferViewDetails; @class DBTEAMLOGFileUnlikeCommentDetails; @class DBTEAMLOGFileUnresolveCommentDetails; +@class DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails; +@class DBTEAMLOGFolderOverviewDescriptionChangedDetails; +@class DBTEAMLOGFolderOverviewItemPinnedDetails; +@class DBTEAMLOGFolderOverviewItemUnpinnedDetails; @class DBTEAMLOGGoogleSsoChangePolicyDetails; +@class DBTEAMLOGGovernancePolicyAddFolderFailedDetails; +@class DBTEAMLOGGovernancePolicyAddFoldersDetails; +@class DBTEAMLOGGovernancePolicyContentDisposedDetails; +@class DBTEAMLOGGovernancePolicyCreateDetails; +@class DBTEAMLOGGovernancePolicyDeleteDetails; +@class DBTEAMLOGGovernancePolicyEditDetailsDetails; +@class DBTEAMLOGGovernancePolicyEditDurationDetails; +@class DBTEAMLOGGovernancePolicyExportCreatedDetails; +@class DBTEAMLOGGovernancePolicyExportRemovedDetails; +@class DBTEAMLOGGovernancePolicyRemoveFoldersDetails; +@class DBTEAMLOGGovernancePolicyReportCreatedDetails; +@class DBTEAMLOGGovernancePolicyZipPartDownloadedDetails; @class DBTEAMLOGGroupAddExternalIdDetails; @class DBTEAMLOGGroupAddMemberDetails; @class DBTEAMLOGGroupChangeExternalIdDetails; @@ -97,25 +173,57 @@ @class DBTEAMLOGGroupChangeMemberRoleDetails; @class DBTEAMLOGGroupCreateDetails; @class DBTEAMLOGGroupDeleteDetails; +@class DBTEAMLOGGroupDescriptionUpdatedDetails; +@class DBTEAMLOGGroupJoinPolicyUpdatedDetails; @class DBTEAMLOGGroupMovedDetails; @class DBTEAMLOGGroupRemoveExternalIdDetails; @class DBTEAMLOGGroupRemoveMemberDetails; @class DBTEAMLOGGroupRenameDetails; @class DBTEAMLOGGroupUserManagementChangePolicyDetails; +@class DBTEAMLOGGuestAdminChangeStatusDetails; +@class DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails; +@class DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails; +@class DBTEAMLOGIntegrationConnectedDetails; +@class DBTEAMLOGIntegrationDisconnectedDetails; +@class DBTEAMLOGIntegrationPolicyChangedDetails; +@class DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails; +@class DBTEAMLOGLegalHoldsActivateAHoldDetails; +@class DBTEAMLOGLegalHoldsAddMembersDetails; +@class DBTEAMLOGLegalHoldsChangeHoldDetailsDetails; +@class DBTEAMLOGLegalHoldsChangeHoldNameDetails; +@class DBTEAMLOGLegalHoldsExportAHoldDetails; +@class DBTEAMLOGLegalHoldsExportCancelledDetails; +@class DBTEAMLOGLegalHoldsExportDownloadedDetails; +@class DBTEAMLOGLegalHoldsExportRemovedDetails; +@class DBTEAMLOGLegalHoldsReleaseAHoldDetails; +@class DBTEAMLOGLegalHoldsRemoveMembersDetails; +@class DBTEAMLOGLegalHoldsReportAHoldDetails; @class DBTEAMLOGLoginFailDetails; @class DBTEAMLOGLoginSuccessDetails; @class DBTEAMLOGLogoutDetails; +@class DBTEAMLOGMemberAddExternalIdDetails; @class DBTEAMLOGMemberAddNameDetails; @class DBTEAMLOGMemberChangeAdminRoleDetails; @class DBTEAMLOGMemberChangeEmailDetails; +@class DBTEAMLOGMemberChangeExternalIdDetails; @class DBTEAMLOGMemberChangeMembershipTypeDetails; @class DBTEAMLOGMemberChangeNameDetails; +@class DBTEAMLOGMemberChangeResellerRoleDetails; @class DBTEAMLOGMemberChangeStatusDetails; +@class DBTEAMLOGMemberDeleteManualContactsDetails; +@class DBTEAMLOGMemberDeleteProfilePhotoDetails; @class DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails; +@class DBTEAMLOGMemberRemoveExternalIdDetails; @class DBTEAMLOGMemberRequestsChangePolicyDetails; +@class DBTEAMLOGMemberSendInvitePolicyChangedDetails; +@class DBTEAMLOGMemberSetProfilePhotoDetails; +@class DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails; @class DBTEAMLOGMemberSpaceLimitsAddExceptionDetails; +@class DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails; +@class DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails; @class DBTEAMLOGMemberSpaceLimitsChangePolicyDetails; @class DBTEAMLOGMemberSpaceLimitsChangeStatusDetails; +@class DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails; @class DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails; @class DBTEAMLOGMemberSuggestDetails; @class DBTEAMLOGMemberSuggestionsChangePolicyDetails; @@ -123,12 +231,24 @@ @class DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails; @class DBTEAMLOGMissingDetails; @class DBTEAMLOGNetworkControlChangePolicyDetails; +@class DBTEAMLOGNoExpirationLinkGenCreateReportDetails; +@class DBTEAMLOGNoExpirationLinkGenReportFailedDetails; +@class DBTEAMLOGNoPasswordLinkGenCreateReportDetails; +@class DBTEAMLOGNoPasswordLinkGenReportFailedDetails; +@class DBTEAMLOGNoPasswordLinkViewCreateReportDetails; +@class DBTEAMLOGNoPasswordLinkViewReportFailedDetails; @class DBTEAMLOGNoteAclInviteOnlyDetails; @class DBTEAMLOGNoteAclLinkDetails; @class DBTEAMLOGNoteAclTeamLinkDetails; @class DBTEAMLOGNoteShareReceiveDetails; @class DBTEAMLOGNoteSharedDetails; +@class DBTEAMLOGObjectLabelAddedDetails; +@class DBTEAMLOGObjectLabelRemovedDetails; +@class DBTEAMLOGObjectLabelUpdatedValueDetails; @class DBTEAMLOGOpenNoteSharedDetails; +@class DBTEAMLOGOrganizeFolderWithTidyDetails; +@class DBTEAMLOGOutdatedLinkViewCreateReportDetails; +@class DBTEAMLOGOutdatedLinkViewReportFailedDetails; @class DBTEAMLOGPaperAdminExportStartDetails; @class DBTEAMLOGPaperChangeDeploymentPolicyDetails; @class DBTEAMLOGPaperChangeMemberLinkPolicyDetails; @@ -143,6 +263,8 @@ @class DBTEAMLOGPaperContentRemoveMemberDetails; @class DBTEAMLOGPaperContentRenameDetails; @class DBTEAMLOGPaperContentRestoreDetails; +@class DBTEAMLOGPaperDefaultFolderPolicyChangedDetails; +@class DBTEAMLOGPaperDesktopPolicyChangedDetails; @class DBTEAMLOGPaperDocAddCommentDetails; @class DBTEAMLOGPaperDocChangeMemberRoleDetails; @class DBTEAMLOGPaperDocChangeSharingPolicyDetails; @@ -154,6 +276,7 @@ @class DBTEAMLOGPaperDocEditDetails; @class DBTEAMLOGPaperDocFollowedDetails; @class DBTEAMLOGPaperDocMentionDetails; +@class DBTEAMLOGPaperDocOwnershipChangedDetails; @class DBTEAMLOGPaperDocRequestAccessDetails; @class DBTEAMLOGPaperDocResolveCommentDetails; @class DBTEAMLOGPaperDocRevertDetails; @@ -172,18 +295,41 @@ @class DBTEAMLOGPaperFolderDeletedDetails; @class DBTEAMLOGPaperFolderFollowedDetails; @class DBTEAMLOGPaperFolderTeamInviteDetails; +@class DBTEAMLOGPaperPublishedLinkChangePermissionDetails; +@class DBTEAMLOGPaperPublishedLinkCreateDetails; +@class DBTEAMLOGPaperPublishedLinkDisabledDetails; +@class DBTEAMLOGPaperPublishedLinkViewDetails; @class DBTEAMLOGPasswordChangeDetails; @class DBTEAMLOGPasswordResetAllDetails; @class DBTEAMLOGPasswordResetDetails; +@class DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails; +@class DBTEAMLOGPendingSecondaryEmailAddedDetails; @class DBTEAMLOGPermanentDeleteChangePolicyDetails; +@class DBTEAMLOGRansomwareAlertCreateReportDetails; +@class DBTEAMLOGRansomwareAlertCreateReportFailedDetails; +@class DBTEAMLOGRansomwareRestoreProcessCompletedDetails; +@class DBTEAMLOGRansomwareRestoreProcessStartedDetails; +@class DBTEAMLOGReplayFileDeleteDetails; +@class DBTEAMLOGReplayFileSharedLinkCreatedDetails; +@class DBTEAMLOGReplayFileSharedLinkModifiedDetails; +@class DBTEAMLOGReplayProjectTeamAddDetails; +@class DBTEAMLOGReplayProjectTeamDeleteDetails; +@class DBTEAMLOGResellerSupportChangePolicyDetails; @class DBTEAMLOGResellerSupportSessionEndDetails; @class DBTEAMLOGResellerSupportSessionStartDetails; +@class DBTEAMLOGRewindFolderDetails; +@class DBTEAMLOGRewindPolicyChangedDetails; +@class DBTEAMLOGSecondaryEmailDeletedDetails; +@class DBTEAMLOGSecondaryEmailVerifiedDetails; +@class DBTEAMLOGSecondaryMailsPolicyChangedDetails; +@class DBTEAMLOGSendForSignaturePolicyChangedDetails; @class DBTEAMLOGSfAddGroupDetails; @class DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails; @class DBTEAMLOGSfExternalInviteWarnDetails; +@class DBTEAMLOGSfFbInviteChangeRoleDetails; +@class DBTEAMLOGSfFbInviteDetails; +@class DBTEAMLOGSfFbUninviteDetails; @class DBTEAMLOGSfInviteGroupDetails; -@class DBTEAMLOGSfNestDetails; -@class DBTEAMLOGSfTeamDeclineDetails; @class DBTEAMLOGSfTeamGrantAccessDetails; @class DBTEAMLOGSfTeamInviteChangeRoleDetails; @class DBTEAMLOGSfTeamInviteDetails; @@ -205,45 +351,88 @@ @class DBTEAMLOGSharedContentCopyDetails; @class DBTEAMLOGSharedContentDownloadDetails; @class DBTEAMLOGSharedContentRelinquishMembershipDetails; -@class DBTEAMLOGSharedContentRemoveInviteeDetails; +@class DBTEAMLOGSharedContentRemoveInviteesDetails; @class DBTEAMLOGSharedContentRemoveLinkExpiryDetails; @class DBTEAMLOGSharedContentRemoveLinkPasswordDetails; @class DBTEAMLOGSharedContentRemoveMemberDetails; @class DBTEAMLOGSharedContentRequestAccessDetails; +@class DBTEAMLOGSharedContentRestoreInviteesDetails; +@class DBTEAMLOGSharedContentRestoreMemberDetails; @class DBTEAMLOGSharedContentUnshareDetails; @class DBTEAMLOGSharedContentViewDetails; -@class DBTEAMLOGSharedFolderChangeConfidentialityDetails; @class DBTEAMLOGSharedFolderChangeLinkPolicyDetails; -@class DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails; -@class DBTEAMLOGSharedFolderChangeMemberPolicyDetails; +@class DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails; +@class DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails; +@class DBTEAMLOGSharedFolderChangeMembersPolicyDetails; @class DBTEAMLOGSharedFolderCreateDetails; +@class DBTEAMLOGSharedFolderDeclineInvitationDetails; @class DBTEAMLOGSharedFolderMountDetails; +@class DBTEAMLOGSharedFolderNestDetails; @class DBTEAMLOGSharedFolderTransferOwnershipDetails; @class DBTEAMLOGSharedFolderUnmountDetails; +@class DBTEAMLOGSharedLinkAddExpiryDetails; +@class DBTEAMLOGSharedLinkChangeExpiryDetails; +@class DBTEAMLOGSharedLinkChangeVisibilityDetails; +@class DBTEAMLOGSharedLinkCopyDetails; +@class DBTEAMLOGSharedLinkCreateDetails; +@class DBTEAMLOGSharedLinkDisableDetails; +@class DBTEAMLOGSharedLinkDownloadDetails; +@class DBTEAMLOGSharedLinkRemoveExpiryDetails; +@class DBTEAMLOGSharedLinkSettingsAddExpirationDetails; +@class DBTEAMLOGSharedLinkSettingsAddPasswordDetails; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails; +@class DBTEAMLOGSharedLinkSettingsChangeAudienceDetails; +@class DBTEAMLOGSharedLinkSettingsChangeExpirationDetails; +@class DBTEAMLOGSharedLinkSettingsChangePasswordDetails; +@class DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails; +@class DBTEAMLOGSharedLinkSettingsRemovePasswordDetails; +@class DBTEAMLOGSharedLinkShareDetails; +@class DBTEAMLOGSharedLinkViewDetails; @class DBTEAMLOGSharedNoteOpenedDetails; @class DBTEAMLOGSharingChangeFolderJoinPolicyDetails; +@class DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails; +@class DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails; +@class DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails; @class DBTEAMLOGSharingChangeLinkPolicyDetails; @class DBTEAMLOGSharingChangeMemberPolicyDetails; -@class DBTEAMLOGShmodelAppCreateDetails; -@class DBTEAMLOGShmodelCreateDetails; -@class DBTEAMLOGShmodelDisableDetails; -@class DBTEAMLOGShmodelFbShareDetails; +@class DBTEAMLOGShmodelDisableDownloadsDetails; +@class DBTEAMLOGShmodelEnableDownloadsDetails; @class DBTEAMLOGShmodelGroupShareDetails; -@class DBTEAMLOGShmodelRemoveExpirationDetails; -@class DBTEAMLOGShmodelSetExpirationDetails; -@class DBTEAMLOGShmodelTeamCopyDetails; -@class DBTEAMLOGShmodelTeamDownloadDetails; -@class DBTEAMLOGShmodelTeamShareDetails; -@class DBTEAMLOGShmodelTeamViewDetails; -@class DBTEAMLOGShmodelVisibilityPasswordDetails; -@class DBTEAMLOGShmodelVisibilityPublicDetails; -@class DBTEAMLOGShmodelVisibilityTeamOnlyDetails; +@class DBTEAMLOGShowcaseAccessGrantedDetails; +@class DBTEAMLOGShowcaseAddMemberDetails; +@class DBTEAMLOGShowcaseArchivedDetails; +@class DBTEAMLOGShowcaseChangeDownloadPolicyDetails; +@class DBTEAMLOGShowcaseChangeEnabledPolicyDetails; +@class DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails; +@class DBTEAMLOGShowcaseCreatedDetails; +@class DBTEAMLOGShowcaseDeleteCommentDetails; +@class DBTEAMLOGShowcaseEditCommentDetails; +@class DBTEAMLOGShowcaseEditedDetails; +@class DBTEAMLOGShowcaseFileAddedDetails; +@class DBTEAMLOGShowcaseFileDownloadDetails; +@class DBTEAMLOGShowcaseFileRemovedDetails; +@class DBTEAMLOGShowcaseFileViewDetails; +@class DBTEAMLOGShowcasePermanentlyDeletedDetails; +@class DBTEAMLOGShowcasePostCommentDetails; +@class DBTEAMLOGShowcaseRemoveMemberDetails; +@class DBTEAMLOGShowcaseRenamedDetails; +@class DBTEAMLOGShowcaseRequestAccessDetails; +@class DBTEAMLOGShowcaseResolveCommentDetails; +@class DBTEAMLOGShowcaseRestoredDetails; +@class DBTEAMLOGShowcaseTrashedDeprecatedDetails; +@class DBTEAMLOGShowcaseTrashedDetails; +@class DBTEAMLOGShowcaseUnresolveCommentDetails; +@class DBTEAMLOGShowcaseUntrashedDeprecatedDetails; +@class DBTEAMLOGShowcaseUntrashedDetails; +@class DBTEAMLOGShowcaseViewDetails; @class DBTEAMLOGSignInAsSessionEndDetails; @class DBTEAMLOGSignInAsSessionStartDetails; @class DBTEAMLOGSmartSyncChangePolicyDetails; @class DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails; @class DBTEAMLOGSmartSyncNotOptOutDetails; @class DBTEAMLOGSmartSyncOptOutDetails; +@class DBTEAMLOGSmarterSmartSyncPolicyChangedDetails; @class DBTEAMLOGSsoAddCertDetails; @class DBTEAMLOGSsoAddLoginUrlDetails; @class DBTEAMLOGSsoAddLogoutUrlDetails; @@ -256,28 +445,72 @@ @class DBTEAMLOGSsoRemoveCertDetails; @class DBTEAMLOGSsoRemoveLoginUrlDetails; @class DBTEAMLOGSsoRemoveLogoutUrlDetails; +@class DBTEAMLOGStartedEnterpriseAdminSessionDetails; @class DBTEAMLOGTeamActivityCreateReportDetails; +@class DBTEAMLOGTeamActivityCreateReportFailDetails; +@class DBTEAMLOGTeamBrandingPolicyChangedDetails; +@class DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails; +@class DBTEAMLOGTeamEncryptionKeyCreateKeyDetails; +@class DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails; +@class DBTEAMLOGTeamEncryptionKeyDisableKeyDetails; +@class DBTEAMLOGTeamEncryptionKeyEnableKeyDetails; +@class DBTEAMLOGTeamEncryptionKeyRotateKeyDetails; +@class DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails; +@class DBTEAMLOGTeamExtensionsPolicyChangedDetails; @class DBTEAMLOGTeamFolderChangeStatusDetails; @class DBTEAMLOGTeamFolderCreateDetails; @class DBTEAMLOGTeamFolderDowngradeDetails; @class DBTEAMLOGTeamFolderPermanentlyDeleteDetails; @class DBTEAMLOGTeamFolderRenameDetails; @class DBTEAMLOGTeamMergeFromDetails; +@class DBTEAMLOGTeamMergeRequestAcceptedDetails; +@class DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestAutoCanceledDetails; +@class DBTEAMLOGTeamMergeRequestCanceledDetails; +@class DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestExpiredDetails; +@class DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestReminderDetails; +@class DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestRevokedDetails; +@class DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails; +@class DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails; @class DBTEAMLOGTeamMergeToDetails; +@class DBTEAMLOGTeamProfileAddBackgroundDetails; @class DBTEAMLOGTeamProfileAddLogoDetails; +@class DBTEAMLOGTeamProfileChangeBackgroundDetails; @class DBTEAMLOGTeamProfileChangeDefaultLanguageDetails; @class DBTEAMLOGTeamProfileChangeLogoDetails; @class DBTEAMLOGTeamProfileChangeNameDetails; +@class DBTEAMLOGTeamProfileRemoveBackgroundDetails; @class DBTEAMLOGTeamProfileRemoveLogoDetails; +@class DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails; +@class DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails; +@class DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails; @class DBTEAMLOGTfaAddBackupPhoneDetails; +@class DBTEAMLOGTfaAddExceptionDetails; @class DBTEAMLOGTfaAddSecurityKeyDetails; @class DBTEAMLOGTfaChangeBackupPhoneDetails; @class DBTEAMLOGTfaChangePolicyDetails; @class DBTEAMLOGTfaChangeStatusDetails; @class DBTEAMLOGTfaRemoveBackupPhoneDetails; +@class DBTEAMLOGTfaRemoveExceptionDetails; @class DBTEAMLOGTfaRemoveSecurityKeyDetails; @class DBTEAMLOGTfaResetDetails; @class DBTEAMLOGTwoAccountChangePolicyDetails; +@class DBTEAMLOGUndoNamingConventionDetails; +@class DBTEAMLOGUndoOrganizeFolderWithTidyDetails; +@class DBTEAMLOGUserTagsAddedDetails; +@class DBTEAMLOGUserTagsRemovedDetails; +@class DBTEAMLOGViewerInfoPolicyChangedDetails; +@class DBTEAMLOGWatermarkingPolicyChangedDetails; +@class DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails; @class DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails; @class DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails; @@ -300,9368 +533,15559 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGEventDetailsTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventDetails` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) { - /// Changed the membership type (limited vs full) for team member. - DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventDetailsTag){ + /// (no description). + DBTEAMLOGEventDetailsAdminAlertingAlertStateChangedDetails, - /// Permanently deleted contents of a removed team member account. - DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails, + /// (no description). + DBTEAMLOGEventDetailsAdminAlertingChangedAlertConfigDetails, - /// Changed the status with respect to whether the team member is under or - /// over storage quota specified by policy. - DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails, + /// (no description). + DBTEAMLOGEventDetailsAdminAlertingTriggeredAlertDetails, - /// Transferred contents of a removed team member account to another member. - DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails, + /// (no description). + DBTEAMLOGEventDetailsRansomwareRestoreProcessCompletedDetails, - /// Exported all Paper documents in the team. - DBTEAMLOGEventDetailsPaperAdminExportStartDetails, + /// (no description). + DBTEAMLOGEventDetailsRansomwareRestoreProcessStartedDetails, - /// Users added to Paper enabled users list. - DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails, + /// (no description). + DBTEAMLOGEventDetailsAppBlockedByPermissionsDetails, - /// Users removed from Paper enabled users list. - DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails, + /// (no description). + DBTEAMLOGEventDetailsAppLinkTeamDetails, - /// Paper external sharing policy changed: anyone. - DBTEAMLOGEventDetailsPaperExternalViewAllowDetails, + /// (no description). + DBTEAMLOGEventDetailsAppLinkUserDetails, - /// Paper external sharing policy changed: default team. - DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsAppUnlinkTeamDetails, - /// Paper external sharing policy changed: team-only. - DBTEAMLOGEventDetailsPaperExternalViewForbidDetails, + /// (no description). + DBTEAMLOGEventDetailsAppUnlinkUserDetails, - /// Admin settings: team members see a warning before sharing folders - /// outside the team (DEPRECATED FEATURE). - DBTEAMLOGEventDetailsSfExternalInviteWarnDetails, + /// (no description). + DBTEAMLOGEventDetailsIntegrationConnectedDetails, - /// Merged another team into this team. - DBTEAMLOGEventDetailsTeamMergeFromDetails, + /// (no description). + DBTEAMLOGEventDetailsIntegrationDisconnectedDetails, - /// Merged this team into another team. - DBTEAMLOGEventDetailsTeamMergeToDetails, + /// (no description). + DBTEAMLOGEventDetailsFileAddCommentDetails, - /// Linked an app for team. - DBTEAMLOGEventDetailsAppLinkTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails, - /// Linked an app for team member. - DBTEAMLOGEventDetailsAppLinkUserDetails, + /// (no description). + DBTEAMLOGEventDetailsFileDeleteCommentDetails, - /// Unlinked an app for team. - DBTEAMLOGEventDetailsAppUnlinkTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsFileEditCommentDetails, - /// Unlinked an app for team member. - DBTEAMLOGEventDetailsAppUnlinkUserDetails, + /// (no description). + DBTEAMLOGEventDetailsFileLikeCommentDetails, - /// Added a file comment. - DBTEAMLOGEventDetailsFileAddCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsFileResolveCommentDetails, - /// Subscribed to or unsubscribed from comment notifications for file. - DBTEAMLOGEventDetailsFileChangeCommentSubscriptionDetails, + /// (no description). + DBTEAMLOGEventDetailsFileUnlikeCommentDetails, - /// Deleted a file comment. - DBTEAMLOGEventDetailsFileDeleteCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsFileUnresolveCommentDetails, - /// Liked a file comment. - DBTEAMLOGEventDetailsFileLikeCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyAddFoldersDetails, - /// Resolved a file comment. - DBTEAMLOGEventDetailsFileResolveCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyAddFolderFailedDetails, - /// Unliked a file comment. - DBTEAMLOGEventDetailsFileUnlikeCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyContentDisposedDetails, - /// Unresolved a file comment. - DBTEAMLOGEventDetailsFileUnresolveCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyCreateDetails, - /// IP address associated with active desktop session changed. - DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyDeleteDetails, - /// IP address associated with active mobile session changed. - DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyEditDetailsDetails, - /// IP address associated with active Web session changed. - DBTEAMLOGEventDetailsDeviceChangeIpWebDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyEditDurationDetails, - /// Failed to delete all files from an unlinked device. - DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyExportCreatedDetails, - /// Deleted all files from an unlinked device. - DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyExportRemovedDetails, - /// Failed to link a device. - DBTEAMLOGEventDetailsDeviceLinkFailDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyRemoveFoldersDetails, - /// Linked a device. - DBTEAMLOGEventDetailsDeviceLinkSuccessDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyReportCreatedDetails, - /// Disable Device Management. - DBTEAMLOGEventDetailsDeviceManagementDisabledDetails, + /// (no description). + DBTEAMLOGEventDetailsGovernancePolicyZipPartDownloadedDetails, - /// Enable Device Management. - DBTEAMLOGEventDetailsDeviceManagementEnabledDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsActivateAHoldDetails, - /// Disconnected a device. - DBTEAMLOGEventDetailsDeviceUnlinkDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsAddMembersDetails, - /// Refreshed the auth token used for setting up enterprise mobility - /// management. - DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsChangeHoldDetailsDetails, - /// Granted or revoked the option to enable account capture on domains - /// belonging to the team. - DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsChangeHoldNameDetails, - /// Account captured user migrated their account to the team. - DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsExportAHoldDetails, - /// Account captured user relinquished their account by changing the email - /// address associated with it. - DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsExportCancelledDetails, - /// Disabled domain invites. - DBTEAMLOGEventDetailsDisabledDomainInvitesDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsExportDownloadedDetails, - /// Approved a member's request to join the team. - DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsExportRemovedDetails, - /// Declined a user's request to join the team. - DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsReleaseAHoldDetails, - /// Sent domain invites to existing domain accounts. - DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsRemoveMembersDetails, - /// Asked to join the team. - DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails, + /// (no description). + DBTEAMLOGEventDetailsLegalHoldsReportAHoldDetails, - /// Turned off u201cAutomatically invite new usersu201d. - DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceChangeIpDesktopDetails, - /// Turned on u201cAutomatically invite new usersu201d. - DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceChangeIpMobileDetails, - /// Failed to verify a domain belonging to the team. - DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceChangeIpWebDetails, - /// Verified a domain belonging to the team. - DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkFailDetails, - /// Removed a domain from the list of verified domains belonging to the - /// team. - DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceDeleteOnUnlinkSuccessDetails, - /// Enabled domain invites. - DBTEAMLOGEventDetailsEnabledDomainInvitesDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceLinkFailDetails, - /// Created folders. - DBTEAMLOGEventDetailsCreateFolderDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceLinkSuccessDetails, - /// Added files and/or folders. - DBTEAMLOGEventDetailsFileAddDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceManagementDisabledDetails, - /// Copied files and/or folders. - DBTEAMLOGEventDetailsFileCopyDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceManagementEnabledDetails, - /// Deleted files and/or folders. - DBTEAMLOGEventDetailsFileDeleteDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceSyncBackupStatusChangedDetails, - /// Downloaded files and/or folders. - DBTEAMLOGEventDetailsFileDownloadDetails, + /// (no description). + DBTEAMLOGEventDetailsDeviceUnlinkDetails, - /// Edited files. - DBTEAMLOGEventDetailsFileEditDetails, + /// (no description). + DBTEAMLOGEventDetailsDropboxPasswordsExportedDetails, - /// Create a copy reference to a file or folder. - DBTEAMLOGEventDetailsFileGetCopyReferenceDetails, + /// (no description). + DBTEAMLOGEventDetailsDropboxPasswordsNewDeviceEnrolledDetails, - /// Moved files and/or folders. - DBTEAMLOGEventDetailsFileMoveDetails, + /// (no description). + DBTEAMLOGEventDetailsEmmRefreshAuthTokenDetails, - /// Permanently deleted files and/or folders. - DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails, + /// (no description). + DBTEAMLOGEventDetailsExternalDriveBackupEligibilityStatusCheckedDetails, - /// Previewed files and/or folders. - DBTEAMLOGEventDetailsFilePreviewDetails, + /// (no description). + DBTEAMLOGEventDetailsExternalDriveBackupStatusChangedDetails, - /// Renamed files and/or folders. - DBTEAMLOGEventDetailsFileRenameDetails, + /// (no description). + DBTEAMLOGEventDetailsAccountCaptureChangeAvailabilityDetails, - /// Restored deleted files and/or folders. - DBTEAMLOGEventDetailsFileRestoreDetails, + /// (no description). + DBTEAMLOGEventDetailsAccountCaptureMigrateAccountDetails, - /// Reverted files to a previous version. - DBTEAMLOGEventDetailsFileRevertDetails, + /// (no description). + DBTEAMLOGEventDetailsAccountCaptureNotificationEmailsSentDetails, - /// Rolled back file change location changes. - DBTEAMLOGEventDetailsFileRollbackChangesDetails, + /// (no description). + DBTEAMLOGEventDetailsAccountCaptureRelinquishAccountDetails, - /// Save a file or folder using a copy reference. - DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails, + /// (no description). + DBTEAMLOGEventDetailsDisabledDomainInvitesDetails, - /// Added a deadline to a file request. - DBTEAMLOGEventDetailsFileRequestAddDeadlineDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesApproveRequestToJoinTeamDetails, - /// Change a file request. - DBTEAMLOGEventDetailsFileRequestChangeDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesDeclineRequestToJoinTeamDetails, - /// Changed the file request folder. - DBTEAMLOGEventDetailsFileRequestChangeFolderDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesEmailExistingUsersDetails, - /// Closed a file request. - DBTEAMLOGEventDetailsFileRequestCloseDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesRequestToJoinTeamDetails, - /// Created a file request. - DBTEAMLOGEventDetailsFileRequestCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToNoDetails, - /// Received files for a file request. - DBTEAMLOGEventDetailsFileRequestReceiveFileDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainInvitesSetInviteNewUserPrefToYesDetails, - /// Removed the file request deadline. - DBTEAMLOGEventDetailsFileRequestRemoveDeadlineDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainVerificationAddDomainFailDetails, - /// Sent file request to users via email. - DBTEAMLOGEventDetailsFileRequestSendDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainVerificationAddDomainSuccessDetails, - /// Added an external ID for group. - DBTEAMLOGEventDetailsGroupAddExternalIdDetails, + /// (no description). + DBTEAMLOGEventDetailsDomainVerificationRemoveDomainDetails, - /// Added team members to a group. - DBTEAMLOGEventDetailsGroupAddMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsEnabledDomainInvitesDetails, - /// Changed the external ID for group. - DBTEAMLOGEventDetailsGroupChangeExternalIdDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyCancelKeyDeletionDetails, - /// Changed group management type. - DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyCreateKeyDetails, - /// Changed the manager permissions belonging to a group member. - DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyDeleteKeyDetails, - /// Created a group. - DBTEAMLOGEventDetailsGroupCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyDisableKeyDetails, - /// Deleted a group. - DBTEAMLOGEventDetailsGroupDeleteDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyEnableKeyDetails, - /// Moved a group. - DBTEAMLOGEventDetailsGroupMovedDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyRotateKeyDetails, - /// Removed the external ID for group. - DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamEncryptionKeyScheduleKeyDeletionDetails, - /// Removed team members from a group. - DBTEAMLOGEventDetailsGroupRemoveMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsApplyNamingConventionDetails, - /// Renamed a group. - DBTEAMLOGEventDetailsGroupRenameDetails, + /// (no description). + DBTEAMLOGEventDetailsCreateFolderDetails, - /// Failed to sign in via EMM. - DBTEAMLOGEventDetailsEmmErrorDetails, + /// (no description). + DBTEAMLOGEventDetailsFileAddDetails, - /// Failed to sign in. - DBTEAMLOGEventDetailsLoginFailDetails, + /// (no description). + DBTEAMLOGEventDetailsFileAddFromAutomationDetails, - /// Signed in. - DBTEAMLOGEventDetailsLoginSuccessDetails, + /// (no description). + DBTEAMLOGEventDetailsFileCopyDetails, - /// Signed out. - DBTEAMLOGEventDetailsLogoutDetails, + /// (no description). + DBTEAMLOGEventDetailsFileDeleteDetails, - /// Ended reseller support session. - DBTEAMLOGEventDetailsResellerSupportSessionEndDetails, + /// (no description). + DBTEAMLOGEventDetailsFileDownloadDetails, - /// Started reseller support session. - DBTEAMLOGEventDetailsResellerSupportSessionStartDetails, + /// (no description). + DBTEAMLOGEventDetailsFileEditDetails, - /// Ended admin sign-in-as session. - DBTEAMLOGEventDetailsSignInAsSessionEndDetails, + /// (no description). + DBTEAMLOGEventDetailsFileGetCopyReferenceDetails, - /// Started admin sign-in-as session. - DBTEAMLOGEventDetailsSignInAsSessionStartDetails, + /// (no description). + DBTEAMLOGEventDetailsFileLockingLockStatusChangedDetails, - /// Failed to sign in via SSO. - DBTEAMLOGEventDetailsSsoErrorDetails, + /// (no description). + DBTEAMLOGEventDetailsFileMoveDetails, - /// Set team member name when joining team. - DBTEAMLOGEventDetailsMemberAddNameDetails, + /// (no description). + DBTEAMLOGEventDetailsFilePermanentlyDeleteDetails, - /// Change the admin role belonging to team member. - DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsFilePreviewDetails, - /// Changed team member email address. - DBTEAMLOGEventDetailsMemberChangeEmailDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRenameDetails, - /// Changed team member name. - DBTEAMLOGEventDetailsMemberChangeNameDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRestoreDetails, - /// Changed the membership status of a team member. - DBTEAMLOGEventDetailsMemberChangeStatusDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRevertDetails, - /// Suggested a new team member to be added to the team. - DBTEAMLOGEventDetailsMemberSuggestDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRollbackChangesDetails, - /// Added users to the membership of a Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentAddMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsFileSaveCopyReferenceDetails, - /// Added Paper doc or folder to a folder. - DBTEAMLOGEventDetailsPaperContentAddToFolderDetails, + /// (no description). + DBTEAMLOGEventDetailsFolderOverviewDescriptionChangedDetails, - /// Archived Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentArchiveDetails, + /// (no description). + DBTEAMLOGEventDetailsFolderOverviewItemPinnedDetails, - /// Created a Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsFolderOverviewItemUnpinnedDetails, - /// Permanently deleted a Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails, + /// (no description). + DBTEAMLOGEventDetailsObjectLabelAddedDetails, - /// Removed Paper doc or folder from a folder. - DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails, + /// (no description). + DBTEAMLOGEventDetailsObjectLabelRemovedDetails, - /// Removed a user from the membership of a Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsObjectLabelUpdatedValueDetails, - /// Renamed Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentRenameDetails, + /// (no description). + DBTEAMLOGEventDetailsOrganizeFolderWithTidyDetails, - /// Restored an archived Paper doc or folder. - DBTEAMLOGEventDetailsPaperContentRestoreDetails, + /// (no description). + DBTEAMLOGEventDetailsReplayFileDeleteDetails, - /// Added a Paper doc comment. - DBTEAMLOGEventDetailsPaperDocAddCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsRewindFolderDetails, - /// Changed the access type of a Paper doc member. - DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsUndoNamingConventionDetails, - /// Changed the sharing policy for Paper doc. - DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsUndoOrganizeFolderWithTidyDetails, - /// Followed or unfollowed a Paper doc. - DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails, + /// (no description). + DBTEAMLOGEventDetailsUserTagsAddedDetails, - /// Paper doc archived. - DBTEAMLOGEventDetailsPaperDocDeletedDetails, + /// (no description). + DBTEAMLOGEventDetailsUserTagsRemovedDetails, - /// Deleted a Paper doc comment. - DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsEmailIngestReceiveFileDetails, - /// Downloaded a Paper doc in a particular output format. - DBTEAMLOGEventDetailsPaperDocDownloadDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRequestChangeDetails, - /// Edited a Paper doc. - DBTEAMLOGEventDetailsPaperDocEditDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRequestCloseDetails, - /// Edited a Paper doc comment. - DBTEAMLOGEventDetailsPaperDocEditCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRequestCreateDetails, - /// Followed a Paper doc. - DBTEAMLOGEventDetailsPaperDocFollowedDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRequestDeleteDetails, - /// Mentioned a member in a Paper doc. - DBTEAMLOGEventDetailsPaperDocMentionDetails, + /// (no description). + DBTEAMLOGEventDetailsFileRequestReceiveFileDetails, - /// Requested to be a member on a Paper doc. - DBTEAMLOGEventDetailsPaperDocRequestAccessDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupAddExternalIdDetails, - /// Paper doc comment resolved. - DBTEAMLOGEventDetailsPaperDocResolveCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupAddMemberDetails, - /// Restored a Paper doc to previous revision. - DBTEAMLOGEventDetailsPaperDocRevertDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupChangeExternalIdDetails, - /// Paper doc link shared via slack. - DBTEAMLOGEventDetailsPaperDocSlackShareDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupChangeManagementTypeDetails, - /// Paper doc shared with team member. - DBTEAMLOGEventDetailsPaperDocTeamInviteDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupChangeMemberRoleDetails, - /// Paper doc trashed. - DBTEAMLOGEventDetailsPaperDocTrashedDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupCreateDetails, - /// Unresolved a Paper doc comment. - DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupDeleteDetails, - /// Paper doc untrashed. - DBTEAMLOGEventDetailsPaperDocUntrashedDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupDescriptionUpdatedDetails, - /// Viewed Paper doc. - DBTEAMLOGEventDetailsPaperDocViewDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupJoinPolicyUpdatedDetails, - /// Followed or unfollowed a Paper folder. - DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupMovedDetails, - /// Paper folder archived. - DBTEAMLOGEventDetailsPaperFolderDeletedDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupRemoveExternalIdDetails, - /// Followed a Paper folder. - DBTEAMLOGEventDetailsPaperFolderFollowedDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupRemoveMemberDetails, - /// Paper folder shared with team member. - DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails, + /// (no description). + DBTEAMLOGEventDetailsGroupRenameDetails, - /// Changed password. - DBTEAMLOGEventDetailsPasswordChangeDetails, + /// (no description). + DBTEAMLOGEventDetailsAccountLockOrUnlockedDetails, - /// Reset password. - DBTEAMLOGEventDetailsPasswordResetDetails, + /// (no description). + DBTEAMLOGEventDetailsEmmErrorDetails, - /// Reset all team member passwords. - DBTEAMLOGEventDetailsPasswordResetAllDetails, + /// (no description). + DBTEAMLOGEventDetailsGuestAdminSignedInViaTrustedTeamsDetails, - /// EMM excluded users report created. - DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails, + /// (no description). + DBTEAMLOGEventDetailsGuestAdminSignedOutViaTrustedTeamsDetails, - /// EMM mobile app usage report created. - DBTEAMLOGEventDetailsEmmCreateUsageReportDetails, + /// (no description). + DBTEAMLOGEventDetailsLoginFailDetails, - /// Smart Sync non-admin devices report created. - DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails, + /// (no description). + DBTEAMLOGEventDetailsLoginSuccessDetails, - /// Created a team activity report. - DBTEAMLOGEventDetailsTeamActivityCreateReportDetails, + /// (no description). + DBTEAMLOGEventDetailsLogoutDetails, - /// Shared an album. - DBTEAMLOGEventDetailsCollectionShareDetails, + /// (no description). + DBTEAMLOGEventDetailsResellerSupportSessionEndDetails, - /// Changed a Paper document to be invite-only. - DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails, + /// (no description). + DBTEAMLOGEventDetailsResellerSupportSessionStartDetails, - /// Changed a Paper document to be link accessible. - DBTEAMLOGEventDetailsNoteAclLinkDetails, + /// (no description). + DBTEAMLOGEventDetailsSignInAsSessionEndDetails, - /// Changed a Paper document to be link accessible for the team. - DBTEAMLOGEventDetailsNoteAclTeamLinkDetails, + /// (no description). + DBTEAMLOGEventDetailsSignInAsSessionStartDetails, - /// Shared a Paper doc. - DBTEAMLOGEventDetailsNoteSharedDetails, + /// (no description). + DBTEAMLOGEventDetailsSsoErrorDetails, - /// Shared Paper document received. - DBTEAMLOGEventDetailsNoteShareReceiveDetails, + /// (no description). + DBTEAMLOGEventDetailsBackupAdminInvitationSentDetails, - /// Opened a shared Paper doc. - DBTEAMLOGEventDetailsOpenNoteSharedDetails, + /// (no description). + DBTEAMLOGEventDetailsBackupInvitationOpenedDetails, - /// Added the team to a shared folder. - DBTEAMLOGEventDetailsSfAddGroupDetails, + /// (no description). + DBTEAMLOGEventDetailsCreateTeamInviteLinkDetails, - /// Allowed non collaborators to view links to files in a shared folder. - DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails, + /// (no description). + DBTEAMLOGEventDetailsDeleteTeamInviteLinkDetails, - /// Invited a group to a shared folder. - DBTEAMLOGEventDetailsSfInviteGroupDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberAddExternalIdDetails, - /// Changed parent of shared folder. - DBTEAMLOGEventDetailsSfNestDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberAddNameDetails, - /// Declined a team member's invitation to a shared folder. - DBTEAMLOGEventDetailsSfTeamDeclineDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeAdminRoleDetails, - /// Granted access to a shared folder. - DBTEAMLOGEventDetailsSfTeamGrantAccessDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeEmailDetails, - /// Invited team members to a shared folder. - DBTEAMLOGEventDetailsSfTeamInviteDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeExternalIdDetails, - /// Changed a team member's role in a shared folder. - DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeMembershipTypeDetails, - /// Joined a team member's shared folder. - DBTEAMLOGEventDetailsSfTeamJoinDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeNameDetails, - /// Joined a team member's shared folder from a link. - DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeResellerRoleDetails, - /// Unshared a folder with a team member. - DBTEAMLOGEventDetailsSfTeamUninviteDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberChangeStatusDetails, - /// Sent an email invitation to the membership of a shared file or folder. - DBTEAMLOGEventDetailsSharedContentAddInviteesDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberDeleteManualContactsDetails, - /// Added an expiry to the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberDeleteProfilePhotoDetails, - /// Added a password to the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberPermanentlyDeleteAccountContentsDetails, - /// Added users and/or groups to the membership of a shared file or folder. - DBTEAMLOGEventDetailsSharedContentAddMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberRemoveExternalIdDetails, - /// Changed whether members can download the shared file or folder. - DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSetProfilePhotoDetails, - /// Changed the access type of an invitee to a shared file or folder before - /// the invitation was claimed. - DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsAddCustomQuotaDetails, - /// Changed the audience of the link for a shared file or folder. - DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCustomQuotaDetails, - /// Changed the expiry of the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsChangeStatusDetails, - /// Changed the password on the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveCustomQuotaDetails, - /// Changed the access type of a shared file or folder member. - DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberSuggestDetails, - /// Changed whether members can see who viewed the shared file or folder. - DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsMemberTransferAccountContentsDetails, - /// Claimed membership to a team member's shared folder. - DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails, + /// (no description). + DBTEAMLOGEventDetailsPendingSecondaryEmailAddedDetails, - /// Copied the shared file or folder to own Dropbox. - DBTEAMLOGEventDetailsSharedContentCopyDetails, + /// (no description). + DBTEAMLOGEventDetailsSecondaryEmailDeletedDetails, - /// Downloaded the shared file or folder. - DBTEAMLOGEventDetailsSharedContentDownloadDetails, + /// (no description). + DBTEAMLOGEventDetailsSecondaryEmailVerifiedDetails, - /// Left the membership of a shared file or folder. - DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails, + /// (no description). + DBTEAMLOGEventDetailsSecondaryMailsPolicyChangedDetails, - /// Removed an invitee from the membership of a shared file or folder before - /// it was claimed. - DBTEAMLOGEventDetailsSharedContentRemoveInviteeDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderAddPageDetails, - /// Removed the expiry of the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderAddSectionDetails, - /// Removed the password on the link for the shared file or folder. - DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderRemovePageDetails, - /// Removed a user or a group from the membership of a shared file or - /// folder. - DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderRemoveSectionDetails, - /// Requested to be on the membership of a shared file or folder. - DBTEAMLOGEventDetailsSharedContentRequestAccessDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderRenamePageDetails, - /// Unshared a shared file or folder by clearing its membership and turning - /// off its link. - DBTEAMLOGEventDetailsSharedContentUnshareDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderRenameSectionDetails, - /// Previewed the shared file or folder. - DBTEAMLOGEventDetailsSharedContentViewDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderReorderPageDetails, - /// Set or unset the confidential flag on a shared folder. - DBTEAMLOGEventDetailsSharedFolderChangeConfidentialityDetails, + /// (no description). + DBTEAMLOGEventDetailsBinderReorderSectionDetails, - /// Changed who can access the shared folder via a link. - DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentAddMemberDetails, - /// Changed who can manage the membership of a shared folder. - DBTEAMLOGEventDetailsSharedFolderChangeMemberManagementPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentAddToFolderDetails, - /// Changed who can become a member of the shared folder. - DBTEAMLOGEventDetailsSharedFolderChangeMemberPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentArchiveDetails, - /// Created a shared folder. - DBTEAMLOGEventDetailsSharedFolderCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentCreateDetails, - /// Added a shared folder to own Dropbox. - DBTEAMLOGEventDetailsSharedFolderMountDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentPermanentlyDeleteDetails, - /// Transferred the ownership of a shared folder to another member. - DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentRemoveFromFolderDetails, - /// Deleted a shared folder from Dropbox. - DBTEAMLOGEventDetailsSharedFolderUnmountDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentRemoveMemberDetails, - /// Shared Paper document was opened. - DBTEAMLOGEventDetailsSharedNoteOpenedDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentRenameDetails, - /// Created a link to a file using an app. - DBTEAMLOGEventDetailsShmodelAppCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperContentRestoreDetails, - /// Created a new link. - DBTEAMLOGEventDetailsShmodelCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocAddCommentDetails, - /// Removed a link. - DBTEAMLOGEventDetailsShmodelDisableDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocChangeMemberRoleDetails, - /// Shared a link with Facebook users. - DBTEAMLOGEventDetailsShmodelFbShareDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocChangeSharingPolicyDetails, - /// Shared a link with a group. - DBTEAMLOGEventDetailsShmodelGroupShareDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocChangeSubscriptionDetails, - /// Removed the expiration date from a link. - DBTEAMLOGEventDetailsShmodelRemoveExpirationDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocDeletedDetails, - /// Added an expiration date to a link. - DBTEAMLOGEventDetailsShmodelSetExpirationDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocDeleteCommentDetails, - /// Added a team member's file/folder to their Dropbox from a link. - DBTEAMLOGEventDetailsShmodelTeamCopyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocDownloadDetails, - /// Downloaded a team member's file/folder from a link. - DBTEAMLOGEventDetailsShmodelTeamDownloadDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocEditDetails, - /// Shared a link with team members. - DBTEAMLOGEventDetailsShmodelTeamShareDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocEditCommentDetails, - /// Opened a team member's link. - DBTEAMLOGEventDetailsShmodelTeamViewDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocFollowedDetails, - /// Password-protected a link. - DBTEAMLOGEventDetailsShmodelVisibilityPasswordDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocMentionDetails, - /// Made a file/folder visible to anyone with the link. - DBTEAMLOGEventDetailsShmodelVisibilityPublicDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocOwnershipChangedDetails, - /// Made a file/folder visible only to team members with the link. - DBTEAMLOGEventDetailsShmodelVisibilityTeamOnlyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocRequestAccessDetails, - /// Added the X.509 certificate for SSO. - DBTEAMLOGEventDetailsSsoAddCertDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocResolveCommentDetails, - /// Added sign-in URL for SSO. - DBTEAMLOGEventDetailsSsoAddLoginUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocRevertDetails, - /// Added sign-out URL for SSO. - DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocSlackShareDetails, - /// Changed the X.509 certificate for SSO. - DBTEAMLOGEventDetailsSsoChangeCertDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocTeamInviteDetails, - /// Changed the sign-in URL for SSO. - DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocTrashedDetails, - /// Changed the sign-out URL for SSO. - DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocUnresolveCommentDetails, - /// Changed the SAML identity mode for SSO. - DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocUntrashedDetails, - /// Removed the X.509 certificate for SSO. - DBTEAMLOGEventDetailsSsoRemoveCertDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperDocViewDetails, - /// Removed the sign-in URL for SSO. - DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperExternalViewAllowDetails, - /// Removed single sign-on logout URL. - DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperExternalViewDefaultTeamDetails, - /// Changed the archival status of a team folder. - DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperExternalViewForbidDetails, - /// Created a new team folder in active status. - DBTEAMLOGEventDetailsTeamFolderCreateDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperFolderChangeSubscriptionDetails, - /// Downgraded a team folder to a regular shared folder. - DBTEAMLOGEventDetailsTeamFolderDowngradeDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperFolderDeletedDetails, - /// Permanently deleted an archived team folder. - DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperFolderFollowedDetails, - /// Renamed an active or archived team folder. - DBTEAMLOGEventDetailsTeamFolderRenameDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperFolderTeamInviteDetails, - /// Changed the account capture policy on a domain belonging to the team. - DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperPublishedLinkChangePermissionDetails, - /// Disabled allow downloads. - DBTEAMLOGEventDetailsAllowDownloadDisabledDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperPublishedLinkCreateDetails, - /// Enabled allow downloads. - DBTEAMLOGEventDetailsAllowDownloadEnabledDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperPublishedLinkDisabledDetails, - /// Set a restriction policy regarding the location of data centers where - /// team data resides. - DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperPublishedLinkViewDetails, - /// Satisfied a previously set restriction policy regarding the location of - /// data centers where team data resides (i.e. all data have been migrated - /// according to the restriction placed). - DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPasswordChangeDetails, - /// Set or removed a limit on the number of computers each team member can - /// link to their work Dropbox account. - DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPasswordResetDetails, - /// Set or removed a limit on the number of mobiles devices each team member - /// can link to their work Dropbox account. - DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPasswordResetAllDetails, - /// Changed the action taken when a team member is already over the limits - /// (e.g when they join the team, an admin lowers limits, etc.). - DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails, + /// (no description). + DBTEAMLOGEventDetailsClassificationCreateReportDetails, - /// Changed the action taken with respect to approval limits when a team - /// member unlinks an approved device. - DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails, + /// (no description). + DBTEAMLOGEventDetailsClassificationCreateReportFailDetails, - /// Added an exception for one or more team members to optionally use the - /// regular Dropbox app when EMM is enabled. - DBTEAMLOGEventDetailsEmmAddExceptionDetails, + /// (no description). + DBTEAMLOGEventDetailsEmmCreateExceptionsReportDetails, - /// Enabled or disabled enterprise mobility management for team members. - DBTEAMLOGEventDetailsEmmChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsEmmCreateUsageReportDetails, - /// Removed an exception for one or more team members to optionally use the - /// regular Dropbox app when EMM is enabled. - DBTEAMLOGEventDetailsEmmRemoveExceptionDetails, + /// (no description). + DBTEAMLOGEventDetailsExportMembersReportDetails, - /// Accepted or opted out of extended version history. - DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsExportMembersReportFailDetails, - /// Enabled or disabled commenting on team files. - DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsExternalSharingCreateReportDetails, - /// Enabled or disabled file requests. - DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsExternalSharingReportFailedDetails, - /// Enabled file request emails for everyone. - DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails, + /// (no description). + DBTEAMLOGEventDetailsNoExpirationLinkGenCreateReportDetails, - /// Allowed file request emails for the team. - DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoExpirationLinkGenReportFailedDetails, - /// Enabled or disabled Google single sign-on for the team. - DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoPasswordLinkGenCreateReportDetails, - /// Changed who can create groups. - DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoPasswordLinkGenReportFailedDetails, - /// Changed whether users can find the team when not invited. - DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoPasswordLinkViewCreateReportDetails, - /// Added an exception for one or more team members to bypass space limits - /// imposed by policy. - DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails, + /// (no description). + DBTEAMLOGEventDetailsNoPasswordLinkViewReportFailedDetails, - /// Changed the team default limit level. - DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsOutdatedLinkViewCreateReportDetails, - /// Removed an exception for one or more team members to bypass space limits - /// imposed by policy. - DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails, + /// (no description). + DBTEAMLOGEventDetailsOutdatedLinkViewReportFailedDetails, - /// Enabled or disabled the option for team members to suggest new members - /// to add to the team. - DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsPaperAdminExportStartDetails, - /// Enabled or disabled the Microsoft Office add-in, which lets team members - /// save files to Dropbox directly from Microsoft Office. - DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsRansomwareAlertCreateReportDetails, - /// Enabled or disabled network control. - DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsRansomwareAlertCreateReportFailedDetails, - /// Changed whether Dropbox Paper, when enabled, is deployed to all teams or - /// to specific members of the team. - DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsSmartSyncCreateAdminPrivilegeReportDetails, - /// Changed whether non team members can view Paper documents using a link. - DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamActivityCreateReportDetails, - /// Changed whether team members can share Paper documents externally (i.e. - /// outside the team), and if so, whether they should be accessible only by - /// team members or anyone by default. - DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsTeamActivityCreateReportFailDetails, - /// Enabled or disabled Dropbox Paper for the team. - DBTEAMLOGEventDetailsPaperChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsCollectionShareDetails, - /// Enabled or disabled the ability of team members to permanently delete - /// content. - DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsFileTransfersFileAddDetails, - /// Changed whether team members can join shared folders owned externally - /// (i.e. outside the team). - DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsFileTransfersTransferDeleteDetails, - /// Changed whether team members can share links externally (i.e. outside - /// the team), and if so, whether links should be accessible only by team - /// members or anyone by default. - DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsFileTransfersTransferDownloadDetails, - /// Changed whether team members can share files and folders externally - /// (i.e. outside the team). - DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsFileTransfersTransferSendDetails, - /// Changed the default Smart Sync policy for team members. - DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsFileTransfersTransferViewDetails, - /// Opted team into Smart Sync. - DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails, + /// (no description). + DBTEAMLOGEventDetailsNoteAclInviteOnlyDetails, - /// Opted team out of Smart Sync. - DBTEAMLOGEventDetailsSmartSyncOptOutDetails, + /// (no description). + DBTEAMLOGEventDetailsNoteAclLinkDetails, - /// Change the single sign-on policy for the team. - DBTEAMLOGEventDetailsSsoChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoteAclTeamLinkDetails, - /// Change two-step verification policy for the team. - DBTEAMLOGEventDetailsTfaChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoteSharedDetails, - /// Enabled or disabled the option for team members to link a personal - /// Dropbox account in addition to their work account to the same computer. - DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsNoteShareReceiveDetails, - /// Changed how long team members can stay signed in to Dropbox on the web. - DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsOpenNoteSharedDetails, - /// Changed how long team members can be idle while signed in to Dropbox on - /// the web. - DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails, + /// (no description). + DBTEAMLOGEventDetailsReplayFileSharedLinkCreatedDetails, - /// Added a team logo to be displayed on shared link headers. - DBTEAMLOGEventDetailsTeamProfileAddLogoDetails, + /// (no description). + DBTEAMLOGEventDetailsReplayFileSharedLinkModifiedDetails, - /// Changed the default language for the team. - DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails, + /// (no description). + DBTEAMLOGEventDetailsReplayProjectTeamAddDetails, - /// Changed the team logo to be displayed on shared link headers. - DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails, + /// (no description). + DBTEAMLOGEventDetailsReplayProjectTeamDeleteDetails, - /// Changed the team name. - DBTEAMLOGEventDetailsTeamProfileChangeNameDetails, + /// (no description). + DBTEAMLOGEventDetailsSfAddGroupDetails, - /// Removed the team logo to be displayed on shared link headers. - DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails, + /// (no description). + DBTEAMLOGEventDetailsSfAllowNonMembersToViewSharedLinksDetails, - /// Added a backup phone for two-step verification. - DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails, + /// (no description). + DBTEAMLOGEventDetailsSfExternalInviteWarnDetails, - /// Added a security key for two-step verification. - DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails, + /// (no description). + DBTEAMLOGEventDetailsSfFbInviteDetails, - /// Changed the backup phone for two-step verification. - DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails, + /// (no description). + DBTEAMLOGEventDetailsSfFbInviteChangeRoleDetails, - /// Enabled, disabled or changed the configuration for two-step - /// verification. - DBTEAMLOGEventDetailsTfaChangeStatusDetails, + /// (no description). + DBTEAMLOGEventDetailsSfFbUninviteDetails, - /// Removed the backup phone for two-step verification. - DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails, + /// (no description). + DBTEAMLOGEventDetailsSfInviteGroupDetails, - /// Removed a security key for two-step verification. - DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails, + /// (no description). + DBTEAMLOGEventDetailsSfTeamGrantAccessDetails, - /// Reset two-step verification for team member. - DBTEAMLOGEventDetailsTfaResetDetails, + /// (no description). + DBTEAMLOGEventDetailsSfTeamInviteDetails, - /// Hints that this event was returned with missing details due to an - /// internal error. - DBTEAMLOGEventDetailsMissingDetails, + /// (no description). + DBTEAMLOGEventDetailsSfTeamInviteChangeRoleDetails, - /// (no description). - DBTEAMLOGEventDetailsOther, + /// (no description). + DBTEAMLOGEventDetailsSfTeamJoinDetails, -}; + /// (no description). + DBTEAMLOGEventDetailsSfTeamJoinFromOobLinkDetails, -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGEventDetailsTag tag; + /// (no description). + DBTEAMLOGEventDetailsSfTeamUninviteDetails, -/// Changed the membership type (limited vs full) for team member. @note Ensure -/// the `isMemberChangeMembershipTypeDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberChangeMembershipTypeDetails *memberChangeMembershipTypeDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentAddInviteesDetails, -/// Permanently deleted contents of a removed team member account. @note Ensure -/// the `isMemberPermanentlyDeleteAccountContentsDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *memberPermanentlyDeleteAccountContentsDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentAddLinkExpiryDetails, -/// Changed the status with respect to whether the team member is under or over -/// storage quota specified by policy. @note Ensure the -/// `isMemberSpaceLimitsChangeStatusDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *memberSpaceLimitsChangeStatusDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentAddLinkPasswordDetails, -/// Transferred contents of a removed team member account to another member. -/// @note Ensure the `isMemberTransferAccountContentsDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberTransferAccountContentsDetails *memberTransferAccountContentsDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentAddMemberDetails, -/// Exported all Paper documents in the team. @note Ensure the -/// `isPaperAdminExportStartDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperAdminExportStartDetails *paperAdminExportStartDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeDownloadsPolicyDetails, -/// Users added to Paper enabled users list. @note Ensure the -/// `isPaperEnabledUsersGroupAdditionDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *paperEnabledUsersGroupAdditionDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeInviteeRoleDetails, -/// Users removed from Paper enabled users list. @note Ensure the -/// `isPaperEnabledUsersGroupRemovalDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *paperEnabledUsersGroupRemovalDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeLinkAudienceDetails, -/// Paper external sharing policy changed: anyone. @note Ensure the -/// `isPaperExternalViewAllowDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewAllowDetails *paperExternalViewAllowDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeLinkExpiryDetails, -/// Paper external sharing policy changed: default team. @note Ensure the -/// `isPaperExternalViewDefaultTeamDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewDefaultTeamDetails *paperExternalViewDefaultTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeLinkPasswordDetails, -/// Paper external sharing policy changed: team-only. @note Ensure the -/// `isPaperExternalViewForbidDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewForbidDetails *paperExternalViewForbidDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeMemberRoleDetails, -/// Admin settings: team members see a warning before sharing folders outside -/// the team (DEPRECATED FEATURE). @note Ensure the -/// `isSfExternalInviteWarnDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfExternalInviteWarnDetails *sfExternalInviteWarnDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentChangeViewerInfoPolicyDetails, -/// Merged another team into this team. @note Ensure the -/// `isTeamMergeFromDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamMergeFromDetails *teamMergeFromDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentClaimInvitationDetails, -/// Merged this team into another team. @note Ensure the `isTeamMergeToDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGTeamMergeToDetails *teamMergeToDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentCopyDetails, -/// Linked an app for team. @note Ensure the `isAppLinkTeamDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGAppLinkTeamDetails *appLinkTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentDownloadDetails, -/// Linked an app for team member. @note Ensure the `isAppLinkUserDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGAppLinkUserDetails *appLinkUserDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRelinquishMembershipDetails, -/// Unlinked an app for team. @note Ensure the `isAppUnlinkTeamDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGAppUnlinkTeamDetails *appUnlinkTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRemoveInviteesDetails, -/// Unlinked an app for team member. @note Ensure the `isAppUnlinkUserDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGAppUnlinkUserDetails *appUnlinkUserDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRemoveLinkExpiryDetails, -/// Added a file comment. @note Ensure the `isFileAddCommentDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileAddCommentDetails *fileAddCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRemoveLinkPasswordDetails, -/// Subscribed to or unsubscribed from comment notifications for file. @note -/// Ensure the `isFileChangeCommentSubscriptionDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileChangeCommentSubscriptionDetails *fileChangeCommentSubscriptionDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRemoveMemberDetails, -/// Deleted a file comment. @note Ensure the `isFileDeleteCommentDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileDeleteCommentDetails *fileDeleteCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRequestAccessDetails, -/// Liked a file comment. @note Ensure the `isFileLikeCommentDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileLikeCommentDetails *fileLikeCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRestoreInviteesDetails, -/// Resolved a file comment. @note Ensure the `isFileResolveCommentDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGFileResolveCommentDetails *fileResolveCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentRestoreMemberDetails, -/// Unliked a file comment. @note Ensure the `isFileUnlikeCommentDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileUnlikeCommentDetails *fileUnlikeCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentUnshareDetails, -/// Unresolved a file comment. @note Ensure the `isFileUnresolveCommentDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGFileUnresolveCommentDetails *fileUnresolveCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedContentViewDetails, -/// IP address associated with active desktop session changed. @note Ensure the -/// `isDeviceChangeIpDesktopDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpDesktopDetails *deviceChangeIpDesktopDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderChangeLinkPolicyDetails, -/// IP address associated with active mobile session changed. @note Ensure the -/// `isDeviceChangeIpMobileDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpMobileDetails *deviceChangeIpMobileDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderChangeMembersInheritancePolicyDetails, -/// IP address associated with active Web session changed. @note Ensure the -/// `isDeviceChangeIpWebDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpWebDetails *deviceChangeIpWebDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderChangeMembersManagementPolicyDetails, -/// Failed to delete all files from an unlinked device. @note Ensure the -/// `isDeviceDeleteOnUnlinkFailDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *deviceDeleteOnUnlinkFailDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderChangeMembersPolicyDetails, -/// Deleted all files from an unlinked device. @note Ensure the -/// `isDeviceDeleteOnUnlinkSuccessDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *deviceDeleteOnUnlinkSuccessDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderCreateDetails, -/// Failed to link a device. @note Ensure the `isDeviceLinkFailDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceLinkFailDetails *deviceLinkFailDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderDeclineInvitationDetails, -/// Linked a device. @note Ensure the `isDeviceLinkSuccessDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceLinkSuccessDetails *deviceLinkSuccessDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderMountDetails, -/// Disable Device Management. @note Ensure the -/// `isDeviceManagementDisabledDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceManagementDisabledDetails *deviceManagementDisabledDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderNestDetails, -/// Enable Device Management. @note Ensure the -/// `isDeviceManagementEnabledDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceManagementEnabledDetails *deviceManagementEnabledDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderTransferOwnershipDetails, -/// Disconnected a device. @note Ensure the `isDeviceUnlinkDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDeviceUnlinkDetails *deviceUnlinkDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedFolderUnmountDetails, -/// Refreshed the auth token used for setting up enterprise mobility management. -/// @note Ensure the `isEmmRefreshAuthTokenDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmRefreshAuthTokenDetails *emmRefreshAuthTokenDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkAddExpiryDetails, -/// Granted or revoked the option to enable account capture on domains belonging -/// to the team. @note Ensure the `isAccountCaptureChangeAvailabilityDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) - DBTEAMLOGAccountCaptureChangeAvailabilityDetails *accountCaptureChangeAvailabilityDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkChangeExpiryDetails, -/// Account captured user migrated their account to the team. @note Ensure the -/// `isAccountCaptureMigrateAccountDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGAccountCaptureMigrateAccountDetails *accountCaptureMigrateAccountDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkChangeVisibilityDetails, -/// Account captured user relinquished their account by changing the email -/// address associated with it. @note Ensure the -/// `isAccountCaptureRelinquishAccountDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGAccountCaptureRelinquishAccountDetails *accountCaptureRelinquishAccountDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkCopyDetails, -/// Disabled domain invites. @note Ensure the `isDisabledDomainInvitesDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGDisabledDomainInvitesDetails *disabledDomainInvitesDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkCreateDetails, -/// Approved a member's request to join the team. @note Ensure the -/// `isDomainInvitesApproveRequestToJoinTeamDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *domainInvitesApproveRequestToJoinTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkDisableDetails, -/// Declined a user's request to join the team. @note Ensure the -/// `isDomainInvitesDeclineRequestToJoinTeamDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *domainInvitesDeclineRequestToJoinTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkDownloadDetails, -/// Sent domain invites to existing domain accounts. @note Ensure the -/// `isDomainInvitesEmailExistingUsersDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDomainInvitesEmailExistingUsersDetails *domainInvitesEmailExistingUsersDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkRemoveExpiryDetails, -/// Asked to join the team. @note Ensure the -/// `isDomainInvitesRequestToJoinTeamDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *domainInvitesRequestToJoinTeamDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsAddExpirationDetails, -/// Turned off u201cAutomatically invite new usersu201d. @note Ensure the -/// `isDomainInvitesSetInviteNewUserPrefToNoDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *domainInvitesSetInviteNewUserPrefToNoDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsAddPasswordDetails, -/// Turned on u201cAutomatically invite new usersu201d. @note Ensure the -/// `isDomainInvitesSetInviteNewUserPrefToYesDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *domainInvitesSetInviteNewUserPrefToYesDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadDisabledDetails, -/// Failed to verify a domain belonging to the team. @note Ensure the -/// `isDomainVerificationAddDomainFailDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDomainVerificationAddDomainFailDetails *domainVerificationAddDomainFailDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsAllowDownloadEnabledDetails, -/// Verified a domain belonging to the team. @note Ensure the -/// `isDomainVerificationAddDomainSuccessDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDomainVerificationAddDomainSuccessDetails *domainVerificationAddDomainSuccessDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsChangeAudienceDetails, -/// Removed a domain from the list of verified domains belonging to the team. -/// @note Ensure the `isDomainVerificationRemoveDomainDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGDomainVerificationRemoveDomainDetails *domainVerificationRemoveDomainDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsChangeExpirationDetails, -/// Enabled domain invites. @note Ensure the `isEnabledDomainInvitesDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGEnabledDomainInvitesDetails *enabledDomainInvitesDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsChangePasswordDetails, -/// Created folders. @note Ensure the `isCreateFolderDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGCreateFolderDetails *createFolderDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsRemoveExpirationDetails, -/// Added files and/or folders. @note Ensure the `isFileAddDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileAddDetails *fileAddDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkSettingsRemovePasswordDetails, -/// Copied files and/or folders. @note Ensure the `isFileCopyDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileCopyDetails *fileCopyDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkShareDetails, -/// Deleted files and/or folders. @note Ensure the `isFileDeleteDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileDeleteDetails *fileDeleteDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedLinkViewDetails, -/// Downloaded files and/or folders. @note Ensure the `isFileDownloadDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGFileDownloadDetails *fileDownloadDetails; + /// (no description). + DBTEAMLOGEventDetailsSharedNoteOpenedDetails, -/// Edited files. @note Ensure the `isFileEditDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileEditDetails *fileEditDetails; + /// (no description). + DBTEAMLOGEventDetailsShmodelDisableDownloadsDetails, -/// Create a copy reference to a file or folder. @note Ensure the -/// `isFileGetCopyReferenceDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileGetCopyReferenceDetails *fileGetCopyReferenceDetails; + /// (no description). + DBTEAMLOGEventDetailsShmodelEnableDownloadsDetails, -/// Moved files and/or folders. @note Ensure the `isFileMoveDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileMoveDetails *fileMoveDetails; + /// (no description). + DBTEAMLOGEventDetailsShmodelGroupShareDetails, -/// Permanently deleted files and/or folders. @note Ensure the -/// `isFilePermanentlyDeleteDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFilePermanentlyDeleteDetails *filePermanentlyDeleteDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseAccessGrantedDetails, -/// Previewed files and/or folders. @note Ensure the `isFilePreviewDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGFilePreviewDetails *filePreviewDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseAddMemberDetails, -/// Renamed files and/or folders. @note Ensure the `isFileRenameDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRenameDetails *fileRenameDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseArchivedDetails, -/// Restored deleted files and/or folders. @note Ensure the -/// `isFileRestoreDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRestoreDetails *fileRestoreDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseCreatedDetails, -/// Reverted files to a previous version. @note Ensure the `isFileRevertDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGFileRevertDetails *fileRevertDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseDeleteCommentDetails, -/// Rolled back file change location changes. @note Ensure the -/// `isFileRollbackChangesDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRollbackChangesDetails *fileRollbackChangesDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseEditedDetails, -/// Save a file or folder using a copy reference. @note Ensure the -/// `isFileSaveCopyReferenceDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileSaveCopyReferenceDetails *fileSaveCopyReferenceDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseEditCommentDetails, -/// Added a deadline to a file request. @note Ensure the -/// `isFileRequestAddDeadlineDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestAddDeadlineDetails *fileRequestAddDeadlineDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseFileAddedDetails, -/// Change a file request. @note Ensure the `isFileRequestChangeDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestChangeDetails *fileRequestChangeDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseFileDownloadDetails, -/// Changed the file request folder. @note Ensure the -/// `isFileRequestChangeFolderDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestChangeFolderDetails *fileRequestChangeFolderDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseFileRemovedDetails, -/// Closed a file request. @note Ensure the `isFileRequestCloseDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestCloseDetails *fileRequestCloseDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseFileViewDetails, -/// Created a file request. @note Ensure the `isFileRequestCreateDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestCreateDetails *fileRequestCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcasePermanentlyDeletedDetails, -/// Received files for a file request. @note Ensure the -/// `isFileRequestReceiveFileDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestReceiveFileDetails *fileRequestReceiveFileDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcasePostCommentDetails, -/// Removed the file request deadline. @note Ensure the -/// `isFileRequestRemoveDeadlineDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestRemoveDeadlineDetails *fileRequestRemoveDeadlineDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseRemoveMemberDetails, -/// Sent file request to users via email. @note Ensure the -/// `isFileRequestSendDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestSendDetails *fileRequestSendDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseRenamedDetails, -/// Added an external ID for group. @note Ensure the -/// `isGroupAddExternalIdDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupAddExternalIdDetails *groupAddExternalIdDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseRequestAccessDetails, -/// Added team members to a group. @note Ensure the `isGroupAddMemberDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGGroupAddMemberDetails *groupAddMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseResolveCommentDetails, -/// Changed the external ID for group. @note Ensure the -/// `isGroupChangeExternalIdDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupChangeExternalIdDetails *groupChangeExternalIdDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseRestoredDetails, -/// Changed group management type. @note Ensure the -/// `isGroupChangeManagementTypeDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupChangeManagementTypeDetails *groupChangeManagementTypeDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseTrashedDetails, -/// Changed the manager permissions belonging to a group member. @note Ensure -/// the `isGroupChangeMemberRoleDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupChangeMemberRoleDetails *groupChangeMemberRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseTrashedDeprecatedDetails, -/// Created a group. @note Ensure the `isGroupCreateDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupCreateDetails *groupCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseUnresolveCommentDetails, -/// Deleted a group. @note Ensure the `isGroupDeleteDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupDeleteDetails *groupDeleteDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseUntrashedDetails, -/// Moved a group. @note Ensure the `isGroupMovedDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupMovedDetails *groupMovedDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseUntrashedDeprecatedDetails, -/// Removed the external ID for group. @note Ensure the -/// `isGroupRemoveExternalIdDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupRemoveExternalIdDetails *groupRemoveExternalIdDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseViewDetails, -/// Removed team members from a group. @note Ensure the -/// `isGroupRemoveMemberDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupRemoveMemberDetails *groupRemoveMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoAddCertDetails, -/// Renamed a group. @note Ensure the `isGroupRenameDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupRenameDetails *groupRenameDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoAddLoginUrlDetails, -/// Failed to sign in via EMM. @note Ensure the `isEmmErrorDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmErrorDetails *emmErrorDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoAddLogoutUrlDetails, -/// Failed to sign in. @note Ensure the `isLoginFailDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGLoginFailDetails *loginFailDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoChangeCertDetails, -/// Signed in. @note Ensure the `isLoginSuccessDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGLoginSuccessDetails *loginSuccessDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoChangeLoginUrlDetails, -/// Signed out. @note Ensure the `isLogoutDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGLogoutDetails *logoutDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoChangeLogoutUrlDetails, -/// Ended reseller support session. @note Ensure the -/// `isResellerSupportSessionEndDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionEndDetails *resellerSupportSessionEndDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoChangeSamlIdentityModeDetails, -/// Started reseller support session. @note Ensure the -/// `isResellerSupportSessionStartDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionStartDetails *resellerSupportSessionStartDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoRemoveCertDetails, -/// Ended admin sign-in-as session. @note Ensure the -/// `isSignInAsSessionEndDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionEndDetails *signInAsSessionEndDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoRemoveLoginUrlDetails, -/// Started admin sign-in-as session. @note Ensure the -/// `isSignInAsSessionStartDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionStartDetails *signInAsSessionStartDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoRemoveLogoutUrlDetails, -/// Failed to sign in via SSO. @note Ensure the `isSsoErrorDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoErrorDetails *ssoErrorDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamFolderChangeStatusDetails, -/// Set team member name when joining team. @note Ensure the -/// `isMemberAddNameDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberAddNameDetails *memberAddNameDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamFolderCreateDetails, -/// Change the admin role belonging to team member. @note Ensure the -/// `isMemberChangeAdminRoleDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberChangeAdminRoleDetails *memberChangeAdminRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamFolderDowngradeDetails, -/// Changed team member email address. @note Ensure the -/// `isMemberChangeEmailDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberChangeEmailDetails *memberChangeEmailDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamFolderPermanentlyDeleteDetails, -/// Changed team member name. @note Ensure the `isMemberChangeNameDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGMemberChangeNameDetails *memberChangeNameDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamFolderRenameDetails, -/// Changed the membership status of a team member. @note Ensure the -/// `isMemberChangeStatusDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberChangeStatusDetails *memberChangeStatusDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamSelectiveSyncSettingsChangedDetails, -/// Suggested a new team member to be added to the team. @note Ensure the -/// `isMemberSuggestDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberSuggestDetails *memberSuggestDetails; + /// (no description). + DBTEAMLOGEventDetailsAccountCaptureChangePolicyDetails, -/// Added users to the membership of a Paper doc or folder. @note Ensure the -/// `isPaperContentAddMemberDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentAddMemberDetails *paperContentAddMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsAdminEmailRemindersChangedDetails, -/// Added Paper doc or folder to a folder. @note Ensure the -/// `isPaperContentAddToFolderDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentAddToFolderDetails *paperContentAddToFolderDetails; + /// (no description). + DBTEAMLOGEventDetailsAllowDownloadDisabledDetails, -/// Archived Paper doc or folder. @note Ensure the -/// `isPaperContentArchiveDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentArchiveDetails *paperContentArchiveDetails; + /// (no description). + DBTEAMLOGEventDetailsAllowDownloadEnabledDetails, -/// Created a Paper doc or folder. @note Ensure the -/// `isPaperContentCreateDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentCreateDetails *paperContentCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsAppPermissionsChangedDetails, -/// Permanently deleted a Paper doc or folder. @note Ensure the -/// `isPaperContentPermanentlyDeleteDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentPermanentlyDeleteDetails *paperContentPermanentlyDeleteDetails; + /// (no description). + DBTEAMLOGEventDetailsCameraUploadsPolicyChangedDetails, -/// Removed Paper doc or folder from a folder. @note Ensure the -/// `isPaperContentRemoveFromFolderDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveFromFolderDetails *paperContentRemoveFromFolderDetails; + /// (no description). + DBTEAMLOGEventDetailsCaptureTranscriptPolicyChangedDetails, -/// Removed a user from the membership of a Paper doc or folder. @note Ensure -/// the `isPaperContentRemoveMemberDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveMemberDetails *paperContentRemoveMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsClassificationChangePolicyDetails, -/// Renamed Paper doc or folder. @note Ensure the `isPaperContentRenameDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentRenameDetails *paperContentRenameDetails; + /// (no description). + DBTEAMLOGEventDetailsComputerBackupPolicyChangedDetails, -/// Restored an archived Paper doc or folder. @note Ensure the -/// `isPaperContentRestoreDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperContentRestoreDetails *paperContentRestoreDetails; + /// (no description). + DBTEAMLOGEventDetailsContentAdministrationPolicyChangedDetails, -/// Added a Paper doc comment. @note Ensure the `isPaperDocAddCommentDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocAddCommentDetails *paperDocAddCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsDataPlacementRestrictionChangePolicyDetails, -/// Changed the access type of a Paper doc member. @note Ensure the -/// `isPaperDocChangeMemberRoleDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeMemberRoleDetails *paperDocChangeMemberRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsDataPlacementRestrictionSatisfyPolicyDetails, -/// Changed the sharing policy for Paper doc. @note Ensure the -/// `isPaperDocChangeSharingPolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSharingPolicyDetails *paperDocChangeSharingPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsAddExceptionDetails, -/// Followed or unfollowed a Paper doc. @note Ensure the -/// `isPaperDocChangeSubscriptionDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSubscriptionDetails *paperDocChangeSubscriptionDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsChangeDesktopPolicyDetails, -/// Paper doc archived. @note Ensure the `isPaperDocDeletedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocDeletedDetails *paperDocDeletedDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsChangeMobilePolicyDetails, -/// Deleted a Paper doc comment. @note Ensure the -/// `isPaperDocDeleteCommentDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocDeleteCommentDetails *paperDocDeleteCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsChangeOverageActionDetails, -/// Downloaded a Paper doc in a particular output format. @note Ensure the -/// `isPaperDocDownloadDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocDownloadDetails *paperDocDownloadDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsChangeUnlinkActionDetails, -/// Edited a Paper doc. @note Ensure the `isPaperDocEditDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocEditDetails *paperDocEditDetails; + /// (no description). + DBTEAMLOGEventDetailsDeviceApprovalsRemoveExceptionDetails, -/// Edited a Paper doc comment. @note Ensure the `isPaperDocEditCommentDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocEditCommentDetails *paperDocEditCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsDirectoryRestrictionsAddMembersDetails, -/// Followed a Paper doc. @note Ensure the `isPaperDocFollowedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocFollowedDetails *paperDocFollowedDetails; + /// (no description). + DBTEAMLOGEventDetailsDirectoryRestrictionsRemoveMembersDetails, -/// Mentioned a member in a Paper doc. @note Ensure the -/// `isPaperDocMentionDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocMentionDetails *paperDocMentionDetails; + /// (no description). + DBTEAMLOGEventDetailsDropboxPasswordsPolicyChangedDetails, -/// Requested to be a member on a Paper doc. @note Ensure the -/// `isPaperDocRequestAccessDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocRequestAccessDetails *paperDocRequestAccessDetails; + /// (no description). + DBTEAMLOGEventDetailsEmailIngestPolicyChangedDetails, -/// Paper doc comment resolved. @note Ensure the -/// `isPaperDocResolveCommentDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocResolveCommentDetails *paperDocResolveCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsEmmAddExceptionDetails, -/// Restored a Paper doc to previous revision. @note Ensure the -/// `isPaperDocRevertDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocRevertDetails *paperDocRevertDetails; + /// (no description). + DBTEAMLOGEventDetailsEmmChangePolicyDetails, -/// Paper doc link shared via slack. @note Ensure the -/// `isPaperDocSlackShareDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocSlackShareDetails *paperDocSlackShareDetails; + /// (no description). + DBTEAMLOGEventDetailsEmmRemoveExceptionDetails, -/// Paper doc shared with team member. @note Ensure the -/// `isPaperDocTeamInviteDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocTeamInviteDetails *paperDocTeamInviteDetails; + /// (no description). + DBTEAMLOGEventDetailsExtendedVersionHistoryChangePolicyDetails, -/// Paper doc trashed. @note Ensure the `isPaperDocTrashedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocTrashedDetails *paperDocTrashedDetails; + /// (no description). + DBTEAMLOGEventDetailsExternalDriveBackupPolicyChangedDetails, -/// Unresolved a Paper doc comment. @note Ensure the -/// `isPaperDocUnresolveCommentDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocUnresolveCommentDetails *paperDocUnresolveCommentDetails; + /// (no description). + DBTEAMLOGEventDetailsFileCommentsChangePolicyDetails, -/// Paper doc untrashed. @note Ensure the `isPaperDocUntrashedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocUntrashedDetails *paperDocUntrashedDetails; + /// (no description). + DBTEAMLOGEventDetailsFileLockingPolicyChangedDetails, -/// Viewed Paper doc. @note Ensure the `isPaperDocViewDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperDocViewDetails *paperDocViewDetails; + /// (no description). + DBTEAMLOGEventDetailsFileProviderMigrationPolicyChangedDetails, -/// Followed or unfollowed a Paper folder. @note Ensure the -/// `isPaperFolderChangeSubscriptionDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperFolderChangeSubscriptionDetails *paperFolderChangeSubscriptionDetails; + /// (no description). + DBTEAMLOGEventDetailsFileRequestsChangePolicyDetails, -/// Paper folder archived. @note Ensure the `isPaperFolderDeletedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperFolderDeletedDetails *paperFolderDeletedDetails; + /// (no description). + DBTEAMLOGEventDetailsFileRequestsEmailsEnabledDetails, -/// Followed a Paper folder. @note Ensure the `isPaperFolderFollowedDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGPaperFolderFollowedDetails *paperFolderFollowedDetails; + /// (no description). + DBTEAMLOGEventDetailsFileRequestsEmailsRestrictedToTeamOnlyDetails, -/// Paper folder shared with team member. @note Ensure the -/// `isPaperFolderTeamInviteDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperFolderTeamInviteDetails *paperFolderTeamInviteDetails; + /// (no description). + DBTEAMLOGEventDetailsFileTransfersPolicyChangedDetails, -/// Changed password. @note Ensure the `isPasswordChangeDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPasswordChangeDetails *passwordChangeDetails; + /// (no description). + DBTEAMLOGEventDetailsFolderLinkRestrictionPolicyChangedDetails, -/// Reset password. @note Ensure the `isPasswordResetDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPasswordResetDetails *passwordResetDetails; + /// (no description). + DBTEAMLOGEventDetailsGoogleSsoChangePolicyDetails, -/// Reset all team member passwords. @note Ensure the -/// `isPasswordResetAllDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPasswordResetAllDetails *passwordResetAllDetails; + /// (no description). + DBTEAMLOGEventDetailsGroupUserManagementChangePolicyDetails, -/// EMM excluded users report created. @note Ensure the -/// `isEmmCreateExceptionsReportDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmCreateExceptionsReportDetails *emmCreateExceptionsReportDetails; + /// (no description). + DBTEAMLOGEventDetailsIntegrationPolicyChangedDetails, -/// EMM mobile app usage report created. @note Ensure the -/// `isEmmCreateUsageReportDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmCreateUsageReportDetails *emmCreateUsageReportDetails; + /// (no description). + DBTEAMLOGEventDetailsInviteAcceptanceEmailPolicyChangedDetails, -/// Smart Sync non-admin devices report created. @note Ensure the -/// `isSmartSyncCreateAdminPrivilegeReportDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *smartSyncCreateAdminPrivilegeReportDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberRequestsChangePolicyDetails, -/// Created a team activity report. @note Ensure the -/// `isTeamActivityCreateReportDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamActivityCreateReportDetails *teamActivityCreateReportDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSendInvitePolicyChangedDetails, -/// Shared an album. @note Ensure the `isCollectionShareDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGCollectionShareDetails *collectionShareDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsAddExceptionDetails, -/// Changed a Paper document to be invite-only. @note Ensure the -/// `isNoteAclInviteOnlyDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNoteAclInviteOnlyDetails *noteAclInviteOnlyDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsChangeCapsTypePolicyDetails, -/// Changed a Paper document to be link accessible. @note Ensure the -/// `isNoteAclLinkDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNoteAclLinkDetails *noteAclLinkDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsChangePolicyDetails, -/// Changed a Paper document to be link accessible for the team. @note Ensure -/// the `isNoteAclTeamLinkDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNoteAclTeamLinkDetails *noteAclTeamLinkDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSpaceLimitsRemoveExceptionDetails, -/// Shared a Paper doc. @note Ensure the `isNoteSharedDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNoteSharedDetails *noteSharedDetails; + /// (no description). + DBTEAMLOGEventDetailsMemberSuggestionsChangePolicyDetails, -/// Shared Paper document received. @note Ensure the `isNoteShareReceiveDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGNoteShareReceiveDetails *noteShareReceiveDetails; + /// (no description). + DBTEAMLOGEventDetailsMicrosoftOfficeAddinChangePolicyDetails, -/// Opened a shared Paper doc. @note Ensure the `isOpenNoteSharedDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGOpenNoteSharedDetails *openNoteSharedDetails; + /// (no description). + DBTEAMLOGEventDetailsNetworkControlChangePolicyDetails, -/// Added the team to a shared folder. @note Ensure the `isSfAddGroupDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSfAddGroupDetails *sfAddGroupDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperChangeDeploymentPolicyDetails, -/// Allowed non collaborators to view links to files in a shared folder. @note -/// Ensure the `isSfAllowNonMembersToViewSharedLinksDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *sfAllowNonMembersToViewSharedLinksDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperChangeMemberLinkPolicyDetails, -/// Invited a group to a shared folder. @note Ensure the -/// `isSfInviteGroupDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfInviteGroupDetails *sfInviteGroupDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperChangeMemberPolicyDetails, -/// Changed parent of shared folder. @note Ensure the `isSfNestDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfNestDetails *sfNestDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperChangePolicyDetails, -/// Declined a team member's invitation to a shared folder. @note Ensure the -/// `isSfTeamDeclineDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamDeclineDetails *sfTeamDeclineDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperDefaultFolderPolicyChangedDetails, -/// Granted access to a shared folder. @note Ensure the -/// `isSfTeamGrantAccessDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamGrantAccessDetails *sfTeamGrantAccessDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperDesktopPolicyChangedDetails, -/// Invited team members to a shared folder. @note Ensure the -/// `isSfTeamInviteDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteDetails *sfTeamInviteDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperEnabledUsersGroupAdditionDetails, -/// Changed a team member's role in a shared folder. @note Ensure the -/// `isSfTeamInviteChangeRoleDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteChangeRoleDetails *sfTeamInviteChangeRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsPaperEnabledUsersGroupRemovalDetails, -/// Joined a team member's shared folder. @note Ensure the `isSfTeamJoinDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinDetails *sfTeamJoinDetails; + /// (no description). + DBTEAMLOGEventDetailsPasswordStrengthRequirementsChangePolicyDetails, -/// Joined a team member's shared folder from a link. @note Ensure the -/// `isSfTeamJoinFromOobLinkDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinFromOobLinkDetails *sfTeamJoinFromOobLinkDetails; + /// (no description). + DBTEAMLOGEventDetailsPermanentDeleteChangePolicyDetails, -/// Unshared a folder with a team member. @note Ensure the -/// `isSfTeamUninviteDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSfTeamUninviteDetails *sfTeamUninviteDetails; + /// (no description). + DBTEAMLOGEventDetailsResellerSupportChangePolicyDetails, -/// Sent an email invitation to the membership of a shared file or folder. @note -/// Ensure the `isSharedContentAddInviteesDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentAddInviteesDetails *sharedContentAddInviteesDetails; + /// (no description). + DBTEAMLOGEventDetailsRewindPolicyChangedDetails, -/// Added an expiry to the link for the shared file or folder. @note Ensure the -/// `isSharedContentAddLinkExpiryDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkExpiryDetails *sharedContentAddLinkExpiryDetails; + /// (no description). + DBTEAMLOGEventDetailsSendForSignaturePolicyChangedDetails, -/// Added a password to the link for the shared file or folder. @note Ensure the -/// `isSharedContentAddLinkPasswordDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkPasswordDetails *sharedContentAddLinkPasswordDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeFolderJoinPolicyDetails, -/// Added users and/or groups to the membership of a shared file or folder. -/// @note Ensure the `isSharedContentAddMemberDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentAddMemberDetails *sharedContentAddMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeLinkAllowChangeExpirationPolicyDetails, -/// Changed whether members can download the shared file or folder. @note Ensure -/// the `isSharedContentChangeDownloadsPolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *sharedContentChangeDownloadsPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeLinkDefaultExpirationPolicyDetails, -/// Changed the access type of an invitee to a shared file or folder before the -/// invitation was claimed. @note Ensure the -/// `isSharedContentChangeInviteeRoleDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeInviteeRoleDetails *sharedContentChangeInviteeRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeLinkEnforcePasswordPolicyDetails, -/// Changed the audience of the link for a shared file or folder. @note Ensure -/// the `isSharedContentChangeLinkAudienceDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkAudienceDetails *sharedContentChangeLinkAudienceDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeLinkPolicyDetails, -/// Changed the expiry of the link for the shared file or folder. @note Ensure -/// the `isSharedContentChangeLinkExpiryDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkExpiryDetails *sharedContentChangeLinkExpiryDetails; + /// (no description). + DBTEAMLOGEventDetailsSharingChangeMemberPolicyDetails, -/// Changed the password on the link for the shared file or folder. @note Ensure -/// the `isSharedContentChangeLinkPasswordDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkPasswordDetails *sharedContentChangeLinkPasswordDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseChangeDownloadPolicyDetails, -/// Changed the access type of a shared file or folder member. @note Ensure the -/// `isSharedContentChangeMemberRoleDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeMemberRoleDetails *sharedContentChangeMemberRoleDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseChangeEnabledPolicyDetails, -/// Changed whether members can see who viewed the shared file or folder. @note -/// Ensure the `isSharedContentChangeViewerInfoPolicyDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *sharedContentChangeViewerInfoPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsShowcaseChangeExternalSharingPolicyDetails, -/// Claimed membership to a team member's shared folder. @note Ensure the -/// `isSharedContentClaimInvitationDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentClaimInvitationDetails *sharedContentClaimInvitationDetails; + /// (no description). + DBTEAMLOGEventDetailsSmarterSmartSyncPolicyChangedDetails, -/// Copied the shared file or folder to own Dropbox. @note Ensure the -/// `isSharedContentCopyDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentCopyDetails *sharedContentCopyDetails; + /// (no description). + DBTEAMLOGEventDetailsSmartSyncChangePolicyDetails, -/// Downloaded the shared file or folder. @note Ensure the -/// `isSharedContentDownloadDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentDownloadDetails *sharedContentDownloadDetails; + /// (no description). + DBTEAMLOGEventDetailsSmartSyncNotOptOutDetails, -/// Left the membership of a shared file or folder. @note Ensure the -/// `isSharedContentRelinquishMembershipDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSharedContentRelinquishMembershipDetails *sharedContentRelinquishMembershipDetails; + /// (no description). + DBTEAMLOGEventDetailsSmartSyncOptOutDetails, -/// Removed an invitee from the membership of a shared file or folder before it -/// was claimed. @note Ensure the `isSharedContentRemoveInviteeDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveInviteeDetails *sharedContentRemoveInviteeDetails; + /// (no description). + DBTEAMLOGEventDetailsSsoChangePolicyDetails, -/// Removed the expiry of the link for the shared file or folder. @note Ensure -/// the `isSharedContentRemoveLinkExpiryDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkExpiryDetails *sharedContentRemoveLinkExpiryDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamBrandingPolicyChangedDetails, -/// Removed the password on the link for the shared file or folder. @note Ensure -/// the `isSharedContentRemoveLinkPasswordDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkPasswordDetails *sharedContentRemoveLinkPasswordDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamExtensionsPolicyChangedDetails, -/// Removed a user or a group from the membership of a shared file or folder. -/// @note Ensure the `isSharedContentRemoveMemberDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveMemberDetails *sharedContentRemoveMemberDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamSelectiveSyncPolicyChangedDetails, -/// Requested to be on the membership of a shared file or folder. @note Ensure -/// the `isSharedContentRequestAccessDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentRequestAccessDetails *sharedContentRequestAccessDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamSharingWhitelistSubjectsChangedDetails, -/// Unshared a shared file or folder by clearing its membership and turning off -/// its link. @note Ensure the `isSharedContentUnshareDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentUnshareDetails *sharedContentUnshareDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaAddExceptionDetails, -/// Previewed the shared file or folder. @note Ensure the -/// `isSharedContentViewDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedContentViewDetails *sharedContentViewDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaChangePolicyDetails, -/// Set or unset the confidential flag on a shared folder. @note Ensure the -/// `isSharedFolderChangeConfidentialityDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSharedFolderChangeConfidentialityDetails *sharedFolderChangeConfidentialityDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaRemoveExceptionDetails, -/// Changed who can access the shared folder via a link. @note Ensure the -/// `isSharedFolderChangeLinkPolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeLinkPolicyDetails *sharedFolderChangeLinkPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsTwoAccountChangePolicyDetails, -/// Changed who can manage the membership of a shared folder. @note Ensure the -/// `isSharedFolderChangeMemberManagementPolicyDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *sharedFolderChangeMemberManagementPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsViewerInfoPolicyChangedDetails, -/// Changed who can become a member of the shared folder. @note Ensure the -/// `isSharedFolderChangeMemberPolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeMemberPolicyDetails *sharedFolderChangeMemberPolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsWatermarkingPolicyChangedDetails, -/// Created a shared folder. @note Ensure the `isSharedFolderCreateDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderCreateDetails *sharedFolderCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsWebSessionsChangeActiveSessionLimitDetails, -/// Added a shared folder to own Dropbox. @note Ensure the -/// `isSharedFolderMountDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderMountDetails *sharedFolderMountDetails; + /// (no description). + DBTEAMLOGEventDetailsWebSessionsChangeFixedLengthPolicyDetails, -/// Transferred the ownership of a shared folder to another member. @note Ensure -/// the `isSharedFolderTransferOwnershipDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderTransferOwnershipDetails *sharedFolderTransferOwnershipDetails; + /// (no description). + DBTEAMLOGEventDetailsWebSessionsChangeIdleLengthPolicyDetails, -/// Deleted a shared folder from Dropbox. @note Ensure the -/// `isSharedFolderUnmountDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderUnmountDetails *sharedFolderUnmountDetails; + /// (no description). + DBTEAMLOGEventDetailsDataResidencyMigrationRequestSuccessfulDetails, -/// Shared Paper document was opened. @note Ensure the -/// `isSharedNoteOpenedDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSharedNoteOpenedDetails *sharedNoteOpenedDetails; + /// (no description). + DBTEAMLOGEventDetailsDataResidencyMigrationRequestUnsuccessfulDetails, -/// Created a link to a file using an app. @note Ensure the -/// `isShmodelAppCreateDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelAppCreateDetails *shmodelAppCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeFromDetails, -/// Created a new link. @note Ensure the `isShmodelCreateDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelCreateDetails *shmodelCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeToDetails, -/// Removed a link. @note Ensure the `isShmodelDisableDetails` method returns -/// true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelDisableDetails *shmodelDisableDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileAddBackgroundDetails, -/// Shared a link with Facebook users. @note Ensure the -/// `isShmodelFbShareDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelFbShareDetails *shmodelFbShareDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileAddLogoDetails, -/// Shared a link with a group. @note Ensure the `isShmodelGroupShareDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelGroupShareDetails *shmodelGroupShareDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileChangeBackgroundDetails, -/// Removed the expiration date from a link. @note Ensure the -/// `isShmodelRemoveExpirationDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelRemoveExpirationDetails *shmodelRemoveExpirationDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileChangeDefaultLanguageDetails, -/// Added an expiration date to a link. @note Ensure the -/// `isShmodelSetExpirationDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelSetExpirationDetails *shmodelSetExpirationDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileChangeLogoDetails, -/// Added a team member's file/folder to their Dropbox from a link. @note Ensure -/// the `isShmodelTeamCopyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelTeamCopyDetails *shmodelTeamCopyDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileChangeNameDetails, -/// Downloaded a team member's file/folder from a link. @note Ensure the -/// `isShmodelTeamDownloadDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelTeamDownloadDetails *shmodelTeamDownloadDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileRemoveBackgroundDetails, -/// Shared a link with team members. @note Ensure the -/// `isShmodelTeamShareDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelTeamShareDetails *shmodelTeamShareDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamProfileRemoveLogoDetails, -/// Opened a team member's link. @note Ensure the `isShmodelTeamViewDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelTeamViewDetails *shmodelTeamViewDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaAddBackupPhoneDetails, -/// Password-protected a link. @note Ensure the -/// `isShmodelVisibilityPasswordDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelVisibilityPasswordDetails *shmodelVisibilityPasswordDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaAddSecurityKeyDetails, -/// Made a file/folder visible to anyone with the link. @note Ensure the -/// `isShmodelVisibilityPublicDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelVisibilityPublicDetails *shmodelVisibilityPublicDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaChangeBackupPhoneDetails, -/// Made a file/folder visible only to team members with the link. @note Ensure -/// the `isShmodelVisibilityTeamOnlyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGShmodelVisibilityTeamOnlyDetails *shmodelVisibilityTeamOnlyDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaChangeStatusDetails, -/// Added the X.509 certificate for SSO. @note Ensure the `isSsoAddCertDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSsoAddCertDetails *ssoAddCertDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaRemoveBackupPhoneDetails, -/// Added sign-in URL for SSO. @note Ensure the `isSsoAddLoginUrlDetails` method -/// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoAddLoginUrlDetails *ssoAddLoginUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaRemoveSecurityKeyDetails, -/// Added sign-out URL for SSO. @note Ensure the `isSsoAddLogoutUrlDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSsoAddLogoutUrlDetails *ssoAddLogoutUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsTfaResetDetails, -/// Changed the X.509 certificate for SSO. @note Ensure the -/// `isSsoChangeCertDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoChangeCertDetails *ssoChangeCertDetails; + /// (no description). + DBTEAMLOGEventDetailsChangedEnterpriseAdminRoleDetails, -/// Changed the sign-in URL for SSO. @note Ensure the -/// `isSsoChangeLoginUrlDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoChangeLoginUrlDetails *ssoChangeLoginUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsChangedEnterpriseConnectedTeamStatusDetails, -/// Changed the sign-out URL for SSO. @note Ensure the -/// `isSsoChangeLogoutUrlDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoChangeLogoutUrlDetails *ssoChangeLogoutUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDetails, -/// Changed the SAML identity mode for SSO. @note Ensure the -/// `isSsoChangeSamlIdentityModeDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoChangeSamlIdentityModeDetails *ssoChangeSamlIdentityModeDetails; + /// (no description). + DBTEAMLOGEventDetailsEndedEnterpriseAdminSessionDeprecatedDetails, -/// Removed the X.509 certificate for SSO. @note Ensure the -/// `isSsoRemoveCertDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoRemoveCertDetails *ssoRemoveCertDetails; + /// (no description). + DBTEAMLOGEventDetailsEnterpriseSettingsLockingDetails, -/// Removed the sign-in URL for SSO. @note Ensure the -/// `isSsoRemoveLoginUrlDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLoginUrlDetails *ssoRemoveLoginUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsGuestAdminChangeStatusDetails, -/// Removed single sign-on logout URL. @note Ensure the -/// `isSsoRemoveLogoutUrlDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLogoutUrlDetails *ssoRemoveLogoutUrlDetails; + /// (no description). + DBTEAMLOGEventDetailsStartedEnterpriseAdminSessionDetails, -/// Changed the archival status of a team folder. @note Ensure the -/// `isTeamFolderChangeStatusDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderChangeStatusDetails *teamFolderChangeStatusDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestAcceptedDetails, -/// Created a new team folder in active status. @note Ensure the -/// `isTeamFolderCreateDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderCreateDetails *teamFolderCreateDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToPrimaryTeamDetails, -/// Downgraded a team folder to a regular shared folder. @note Ensure the -/// `isTeamFolderDowngradeDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderDowngradeDetails *teamFolderDowngradeDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestAcceptedShownToSecondaryTeamDetails, -/// Permanently deleted an archived team folder. @note Ensure the -/// `isTeamFolderPermanentlyDeleteDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderPermanentlyDeleteDetails *teamFolderPermanentlyDeleteDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestAutoCanceledDetails, -/// Renamed an active or archived team folder. @note Ensure the -/// `isTeamFolderRenameDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderRenameDetails *teamFolderRenameDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestCanceledDetails, -/// Changed the account capture policy on a domain belonging to the team. @note -/// Ensure the `isAccountCaptureChangePolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGAccountCaptureChangePolicyDetails *accountCaptureChangePolicyDetails; + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToPrimaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestCanceledShownToSecondaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestExpiredDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToPrimaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestExpiredShownToSecondaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToPrimaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestRejectedShownToSecondaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestReminderDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToPrimaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestReminderShownToSecondaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestRevokedDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestSentShownToPrimaryTeamDetails, + + /// (no description). + DBTEAMLOGEventDetailsTeamMergeRequestSentShownToSecondaryTeamDetails, + + /// Hints that this event was returned with missing details due to an + /// internal error. + DBTEAMLOGEventDetailsMissingDetails, + + /// (no description). + DBTEAMLOGEventDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGEventDetailsTag tag; -/// Disabled allow downloads. @note Ensure the `isAllowDownloadDisabledDetails` +/// (no description). @note Ensure the `isAdminAlertingAlertStateChangedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGAllowDownloadDisabledDetails *allowDownloadDisabledDetails; +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertStateChangedDetails *adminAlertingAlertStateChangedDetails; + +/// (no description). @note Ensure the +/// `isAdminAlertingChangedAlertConfigDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingChangedAlertConfigDetails *adminAlertingChangedAlertConfigDetails; -/// Enabled allow downloads. @note Ensure the `isAllowDownloadEnabledDetails` +/// (no description). @note Ensure the `isAdminAlertingTriggeredAlertDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGAllowDownloadEnabledDetails *allowDownloadEnabledDetails; +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingTriggeredAlertDetails *adminAlertingTriggeredAlertDetails; -/// Set a restriction policy regarding the location of data centers where team -/// data resides. @note Ensure the -/// `isDataPlacementRestrictionChangePolicyDetails` method returns true before +/// (no description). @note Ensure the +/// `isRansomwareRestoreProcessCompletedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) - DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *dataPlacementRestrictionChangePolicyDetails; + DBTEAMLOGRansomwareRestoreProcessCompletedDetails *ransomwareRestoreProcessCompletedDetails; -/// Satisfied a previously set restriction policy regarding the location of data -/// centers where team data resides (i.e. all data have been migrated according -/// to the restriction placed). @note Ensure the -/// `isDataPlacementRestrictionSatisfyPolicyDetails` method returns true before +/// (no description). @note Ensure the +/// `isRansomwareRestoreProcessStartedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *dataPlacementRestrictionSatisfyPolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGRansomwareRestoreProcessStartedDetails *ransomwareRestoreProcessStartedDetails; -/// Set or removed a limit on the number of computers each team member can link -/// to their work Dropbox account. @note Ensure the -/// `isDeviceApprovalsChangeDesktopPolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *deviceApprovalsChangeDesktopPolicyDetails; +/// (no description). @note Ensure the `isAppBlockedByPermissionsDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppBlockedByPermissionsDetails *appBlockedByPermissionsDetails; -/// Set or removed a limit on the number of mobiles devices each team member can -/// link to their work Dropbox account. @note Ensure the -/// `isDeviceApprovalsChangeMobilePolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *deviceApprovalsChangeMobilePolicyDetails; +/// (no description). @note Ensure the `isAppLinkTeamDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppLinkTeamDetails *appLinkTeamDetails; -/// Changed the action taken when a team member is already over the limits (e.g -/// when they join the team, an admin lowers limits, etc.). @note Ensure the -/// `isDeviceApprovalsChangeOverageActionDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *deviceApprovalsChangeOverageActionDetails; +/// (no description). @note Ensure the `isAppLinkUserDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppLinkUserDetails *appLinkUserDetails; -/// Changed the action taken with respect to approval limits when a team member -/// unlinks an approved device. @note Ensure the -/// `isDeviceApprovalsChangeUnlinkActionDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *deviceApprovalsChangeUnlinkActionDetails; +/// (no description). @note Ensure the `isAppUnlinkTeamDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppUnlinkTeamDetails *appUnlinkTeamDetails; -/// Added an exception for one or more team members to optionally use the -/// regular Dropbox app when EMM is enabled. @note Ensure the -/// `isEmmAddExceptionDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmAddExceptionDetails *emmAddExceptionDetails; +/// (no description). @note Ensure the `isAppUnlinkUserDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppUnlinkUserDetails *appUnlinkUserDetails; -/// Enabled or disabled enterprise mobility management for team members. @note -/// Ensure the `isEmmChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmChangePolicyDetails *emmChangePolicyDetails; +/// (no description). @note Ensure the `isIntegrationConnectedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationConnectedDetails *integrationConnectedDetails; -/// Removed an exception for one or more team members to optionally use the -/// regular Dropbox app when EMM is enabled. @note Ensure the -/// `isEmmRemoveExceptionDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGEmmRemoveExceptionDetails *emmRemoveExceptionDetails; +/// (no description). @note Ensure the `isIntegrationDisconnectedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationDisconnectedDetails *integrationDisconnectedDetails; -/// Accepted or opted out of extended version history. @note Ensure the -/// `isExtendedVersionHistoryChangePolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *extendedVersionHistoryChangePolicyDetails; +/// (no description). @note Ensure the `isFileAddCommentDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddCommentDetails *fileAddCommentDetails; -/// Enabled or disabled commenting on team files. @note Ensure the -/// `isFileCommentsChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileCommentsChangePolicyDetails *fileCommentsChangePolicyDetails; +/// (no description). @note Ensure the `isFileChangeCommentSubscriptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileChangeCommentSubscriptionDetails *fileChangeCommentSubscriptionDetails; -/// Enabled or disabled file requests. @note Ensure the -/// `isFileRequestsChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestsChangePolicyDetails *fileRequestsChangePolicyDetails; +/// (no description). @note Ensure the `isFileDeleteCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileDeleteCommentDetails *fileDeleteCommentDetails; -/// Enabled file request emails for everyone. @note Ensure the -/// `isFileRequestsEmailsEnabledDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGFileRequestsEmailsEnabledDetails *fileRequestsEmailsEnabledDetails; +/// (no description). @note Ensure the `isFileEditCommentDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileEditCommentDetails *fileEditCommentDetails; -/// Allowed file request emails for the team. @note Ensure the -/// `isFileRequestsEmailsRestrictedToTeamOnlyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *fileRequestsEmailsRestrictedToTeamOnlyDetails; +/// (no description). @note Ensure the `isFileLikeCommentDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileLikeCommentDetails *fileLikeCommentDetails; -/// Enabled or disabled Google single sign-on for the team. @note Ensure the -/// `isGoogleSsoChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGoogleSsoChangePolicyDetails *googleSsoChangePolicyDetails; +/// (no description). @note Ensure the `isFileResolveCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileResolveCommentDetails *fileResolveCommentDetails; -/// Changed who can create groups. @note Ensure the -/// `isGroupUserManagementChangePolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGGroupUserManagementChangePolicyDetails *groupUserManagementChangePolicyDetails; +/// (no description). @note Ensure the `isFileUnlikeCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileUnlikeCommentDetails *fileUnlikeCommentDetails; -/// Changed whether users can find the team when not invited. @note Ensure the -/// `isMemberRequestsChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberRequestsChangePolicyDetails *memberRequestsChangePolicyDetails; +/// (no description). @note Ensure the `isFileUnresolveCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileUnresolveCommentDetails *fileUnresolveCommentDetails; -/// Added an exception for one or more team members to bypass space limits -/// imposed by policy. @note Ensure the `isMemberSpaceLimitsAddExceptionDetails` +/// (no description). @note Ensure the `isGovernancePolicyAddFoldersDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *memberSpaceLimitsAddExceptionDetails; +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFoldersDetails *governancePolicyAddFoldersDetails; -/// Changed the team default limit level. @note Ensure the -/// `isMemberSpaceLimitsChangePolicyDetails` method returns true before +/// (no description). @note Ensure the +/// `isGovernancePolicyAddFolderFailedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *memberSpaceLimitsChangePolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFolderFailedDetails *governancePolicyAddFolderFailedDetails; -/// Removed an exception for one or more team members to bypass space limits -/// imposed by policy. @note Ensure the -/// `isMemberSpaceLimitsRemoveExceptionDetails` method returns true before +/// (no description). @note Ensure the +/// `isGovernancePolicyContentDisposedDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *memberSpaceLimitsRemoveExceptionDetails; +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyContentDisposedDetails *governancePolicyContentDisposedDetails; + +/// (no description). @note Ensure the `isGovernancePolicyCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyCreateDetails *governancePolicyCreateDetails; + +/// (no description). @note Ensure the `isGovernancePolicyDeleteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyDeleteDetails *governancePolicyDeleteDetails; -/// Enabled or disabled the option for team members to suggest new members to -/// add to the team. @note Ensure the `isMemberSuggestionsChangePolicyDetails` +/// (no description). @note Ensure the `isGovernancePolicyEditDetailsDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGMemberSuggestionsChangePolicyDetails *memberSuggestionsChangePolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDetailsDetails *governancePolicyEditDetailsDetails; -/// Enabled or disabled the Microsoft Office add-in, which lets team members -/// save files to Dropbox directly from Microsoft Office. @note Ensure the -/// `isMicrosoftOfficeAddinChangePolicyDetails` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *microsoftOfficeAddinChangePolicyDetails; +/// (no description). @note Ensure the `isGovernancePolicyEditDurationDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDurationDetails *governancePolicyEditDurationDetails; -/// Enabled or disabled network control. @note Ensure the -/// `isNetworkControlChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGNetworkControlChangePolicyDetails *networkControlChangePolicyDetails; +/// (no description). @note Ensure the `isGovernancePolicyExportCreatedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportCreatedDetails *governancePolicyExportCreatedDetails; -/// Changed whether Dropbox Paper, when enabled, is deployed to all teams or to -/// specific members of the team. @note Ensure the -/// `isPaperChangeDeploymentPolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperChangeDeploymentPolicyDetails *paperChangeDeploymentPolicyDetails; +/// (no description). @note Ensure the `isGovernancePolicyExportRemovedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportRemovedDetails *governancePolicyExportRemovedDetails; -/// Changed whether non team members can view Paper documents using a link. -/// @note Ensure the `isPaperChangeMemberLinkPolicyDetails` method returns true -/// before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberLinkPolicyDetails *paperChangeMemberLinkPolicyDetails; +/// (no description). @note Ensure the `isGovernancePolicyRemoveFoldersDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyRemoveFoldersDetails *governancePolicyRemoveFoldersDetails; -/// Changed whether team members can share Paper documents externally (i.e. -/// outside the team), and if so, whether they should be accessible only by team -/// members or anyone by default. @note Ensure the -/// `isPaperChangeMemberPolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberPolicyDetails *paperChangeMemberPolicyDetails; +/// (no description). @note Ensure the `isGovernancePolicyReportCreatedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyReportCreatedDetails *governancePolicyReportCreatedDetails; -/// Enabled or disabled Dropbox Paper for the team. @note Ensure the -/// `isPaperChangePolicyDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPaperChangePolicyDetails *paperChangePolicyDetails; +/// (no description). @note Ensure the +/// `isGovernancePolicyZipPartDownloadedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *governancePolicyZipPartDownloadedDetails; -/// Enabled or disabled the ability of team members to permanently delete -/// content. @note Ensure the `isPermanentDeleteChangePolicyDetails` method +/// (no description). @note Ensure the `isLegalHoldsActivateAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGPermanentDeleteChangePolicyDetails *permanentDeleteChangePolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsActivateAHoldDetails *legalHoldsActivateAHoldDetails; -/// Changed whether team members can join shared folders owned externally (i.e. -/// outside the team). @note Ensure the `isSharingChangeFolderJoinPolicyDetails` -/// method returns true before accessing, otherwise a runtime exception will be -/// raised. -@property (nonatomic, readonly) DBTEAMLOGSharingChangeFolderJoinPolicyDetails *sharingChangeFolderJoinPolicyDetails; +/// (no description). @note Ensure the `isLegalHoldsAddMembersDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsAddMembersDetails *legalHoldsAddMembersDetails; -/// Changed whether team members can share links externally (i.e. outside the -/// team), and if so, whether links should be accessible only by team members or -/// anyone by default. @note Ensure the `isSharingChangeLinkPolicyDetails` +/// (no description). @note Ensure the `isLegalHoldsChangeHoldDetailsDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGSharingChangeLinkPolicyDetails *sharingChangeLinkPolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *legalHoldsChangeHoldDetailsDetails; -/// Changed whether team members can share files and folders externally (i.e. -/// outside the team). @note Ensure the `isSharingChangeMemberPolicyDetails` +/// (no description). @note Ensure the `isLegalHoldsChangeHoldNameDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGSharingChangeMemberPolicyDetails *sharingChangeMemberPolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldNameDetails *legalHoldsChangeHoldNameDetails; -/// Changed the default Smart Sync policy for team members. @note Ensure the -/// `isSmartSyncChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSmartSyncChangePolicyDetails *smartSyncChangePolicyDetails; +/// (no description). @note Ensure the `isLegalHoldsExportAHoldDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportAHoldDetails *legalHoldsExportAHoldDetails; -/// Opted team into Smart Sync. @note Ensure the `isSmartSyncNotOptOutDetails` +/// (no description). @note Ensure the `isLegalHoldsExportCancelledDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGSmartSyncNotOptOutDetails *smartSyncNotOptOutDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportCancelledDetails *legalHoldsExportCancelledDetails; -/// Opted team out of Smart Sync. @note Ensure the `isSmartSyncOptOutDetails` +/// (no description). @note Ensure the `isLegalHoldsExportDownloadedDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutDetails *smartSyncOptOutDetails; - -/// Change the single sign-on policy for the team. @note Ensure the -/// `isSsoChangePolicyDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGSsoChangePolicyDetails *ssoChangePolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportDownloadedDetails *legalHoldsExportDownloadedDetails; -/// Change two-step verification policy for the team. @note Ensure the -/// `isTfaChangePolicyDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaChangePolicyDetails *tfaChangePolicyDetails; +/// (no description). @note Ensure the `isLegalHoldsExportRemovedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportRemovedDetails *legalHoldsExportRemovedDetails; -/// Enabled or disabled the option for team members to link a personal Dropbox -/// account in addition to their work account to the same computer. @note Ensure -/// the `isTwoAccountChangePolicyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTwoAccountChangePolicyDetails *twoAccountChangePolicyDetails; +/// (no description). @note Ensure the `isLegalHoldsReleaseAHoldDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsReleaseAHoldDetails *legalHoldsReleaseAHoldDetails; -/// Changed how long team members can stay signed in to Dropbox on the web. -/// @note Ensure the `isWebSessionsChangeFixedLengthPolicyDetails` method +/// (no description). @note Ensure the `isLegalHoldsRemoveMembersDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *webSessionsChangeFixedLengthPolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsRemoveMembersDetails *legalHoldsRemoveMembersDetails; -/// Changed how long team members can be idle while signed in to Dropbox on the -/// web. @note Ensure the `isWebSessionsChangeIdleLengthPolicyDetails` method +/// (no description). @note Ensure the `isLegalHoldsReportAHoldDetails` method /// returns true before accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) - DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *webSessionsChangeIdleLengthPolicyDetails; +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsReportAHoldDetails *legalHoldsReportAHoldDetails; -/// Added a team logo to be displayed on shared link headers. @note Ensure the -/// `isTeamProfileAddLogoDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamProfileAddLogoDetails *teamProfileAddLogoDetails; +/// (no description). @note Ensure the `isDeviceChangeIpDesktopDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpDesktopDetails *deviceChangeIpDesktopDetails; -/// Changed the default language for the team. @note Ensure the -/// `isTeamProfileChangeDefaultLanguageDetails` method returns true before +/// (no description). @note Ensure the `isDeviceChangeIpMobileDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpMobileDetails *deviceChangeIpMobileDetails; + +/// (no description). @note Ensure the `isDeviceChangeIpWebDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpWebDetails *deviceChangeIpWebDetails; + +/// (no description). @note Ensure the `isDeviceDeleteOnUnlinkFailDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *deviceDeleteOnUnlinkFailDetails; + +/// (no description). @note Ensure the `isDeviceDeleteOnUnlinkSuccessDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *deviceDeleteOnUnlinkSuccessDetails; + +/// (no description). @note Ensure the `isDeviceLinkFailDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceLinkFailDetails *deviceLinkFailDetails; + +/// (no description). @note Ensure the `isDeviceLinkSuccessDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceLinkSuccessDetails *deviceLinkSuccessDetails; + +/// (no description). @note Ensure the `isDeviceManagementDisabledDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceManagementDisabledDetails *deviceManagementDisabledDetails; + +/// (no description). @note Ensure the `isDeviceManagementEnabledDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceManagementEnabledDetails *deviceManagementEnabledDetails; + +/// (no description). @note Ensure the `isDeviceSyncBackupStatusChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceSyncBackupStatusChangedDetails *deviceSyncBackupStatusChangedDetails; + +/// (no description). @note Ensure the `isDeviceUnlinkDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceUnlinkDetails *deviceUnlinkDetails; + +/// (no description). @note Ensure the `isDropboxPasswordsExportedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsExportedDetails *dropboxPasswordsExportedDetails; + +/// (no description). @note Ensure the +/// `isDropboxPasswordsNewDeviceEnrolledDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) - DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *teamProfileChangeDefaultLanguageDetails; + DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *dropboxPasswordsNewDeviceEnrolledDetails; -/// Changed the team logo to be displayed on shared link headers. @note Ensure -/// the `isTeamProfileChangeLogoDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeLogoDetails *teamProfileChangeLogoDetails; +/// (no description). @note Ensure the `isEmmRefreshAuthTokenDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmRefreshAuthTokenDetails *emmRefreshAuthTokenDetails; + +/// (no description). @note Ensure the +/// `isExternalDriveBackupEligibilityStatusCheckedDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *externalDriveBackupEligibilityStatusCheckedDetails; + +/// (no description). @note Ensure the +/// `isExternalDriveBackupStatusChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGExternalDriveBackupStatusChangedDetails *externalDriveBackupStatusChangedDetails; + +/// (no description). @note Ensure the +/// `isAccountCaptureChangeAvailabilityDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGAccountCaptureChangeAvailabilityDetails *accountCaptureChangeAvailabilityDetails; -/// Changed the team name. @note Ensure the `isTeamProfileChangeNameDetails` +/// (no description). @note Ensure the `isAccountCaptureMigrateAccountDetails` /// method returns true before accessing, otherwise a runtime exception will be /// raised. -@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeNameDetails *teamProfileChangeNameDetails; +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureMigrateAccountDetails *accountCaptureMigrateAccountDetails; -/// Removed the team logo to be displayed on shared link headers. @note Ensure -/// the `isTeamProfileRemoveLogoDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTeamProfileRemoveLogoDetails *teamProfileRemoveLogoDetails; +/// (no description). @note Ensure the +/// `isAccountCaptureNotificationEmailsSentDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *accountCaptureNotificationEmailsSentDetails; -/// Added a backup phone for two-step verification. @note Ensure the -/// `isTfaAddBackupPhoneDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaAddBackupPhoneDetails *tfaAddBackupPhoneDetails; +/// (no description). @note Ensure the +/// `isAccountCaptureRelinquishAccountDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureRelinquishAccountDetails *accountCaptureRelinquishAccountDetails; -/// Added a security key for two-step verification. @note Ensure the -/// `isTfaAddSecurityKeyDetails` method returns true before accessing, otherwise -/// a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaAddSecurityKeyDetails *tfaAddSecurityKeyDetails; +/// (no description). @note Ensure the `isDisabledDomainInvitesDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDisabledDomainInvitesDetails *disabledDomainInvitesDetails; -/// Changed the backup phone for two-step verification. @note Ensure the -/// `isTfaChangeBackupPhoneDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaChangeBackupPhoneDetails *tfaChangeBackupPhoneDetails; +/// (no description). @note Ensure the +/// `isDomainInvitesApproveRequestToJoinTeamDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *domainInvitesApproveRequestToJoinTeamDetails; -/// Enabled, disabled or changed the configuration for two-step verification. -/// @note Ensure the `isTfaChangeStatusDetails` method returns true before +/// (no description). @note Ensure the +/// `isDomainInvitesDeclineRequestToJoinTeamDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaChangeStatusDetails *tfaChangeStatusDetails; +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *domainInvitesDeclineRequestToJoinTeamDetails; -/// Removed the backup phone for two-step verification. @note Ensure the -/// `isTfaRemoveBackupPhoneDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaRemoveBackupPhoneDetails *tfaRemoveBackupPhoneDetails; +/// (no description). @note Ensure the +/// `isDomainInvitesEmailExistingUsersDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainInvitesEmailExistingUsersDetails *domainInvitesEmailExistingUsersDetails; -/// Removed a security key for two-step verification. @note Ensure the -/// `isTfaRemoveSecurityKeyDetails` method returns true before accessing, -/// otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaRemoveSecurityKeyDetails *tfaRemoveSecurityKeyDetails; +/// (no description). @note Ensure the `isDomainInvitesRequestToJoinTeamDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *domainInvitesRequestToJoinTeamDetails; -/// Reset two-step verification for team member. @note Ensure the -/// `isTfaResetDetails` method returns true before accessing, otherwise a -/// runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGTfaResetDetails *tfaResetDetails; +/// (no description). @note Ensure the +/// `isDomainInvitesSetInviteNewUserPrefToNoDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *domainInvitesSetInviteNewUserPrefToNoDetails; -/// Hints that this event was returned with missing details due to an internal -/// error. @note Ensure the `isMissingDetails` method returns true before +/// (no description). @note Ensure the +/// `isDomainInvitesSetInviteNewUserPrefToYesDetails` method returns true before /// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGMissingDetails *missingDetails; +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *domainInvitesSetInviteNewUserPrefToYesDetails; -#pragma mark - Constructors +/// (no description). @note Ensure the +/// `isDomainVerificationAddDomainFailDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainVerificationAddDomainFailDetails *domainVerificationAddDomainFailDetails; + +/// (no description). @note Ensure the +/// `isDomainVerificationAddDomainSuccessDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainVerificationAddDomainSuccessDetails *domainVerificationAddDomainSuccessDetails; + +/// (no description). @note Ensure the `isDomainVerificationRemoveDomainDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDomainVerificationRemoveDomainDetails *domainVerificationRemoveDomainDetails; + +/// (no description). @note Ensure the `isEnabledDomainInvitesDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEnabledDomainInvitesDetails *enabledDomainInvitesDetails; + +/// (no description). @note Ensure the +/// `isTeamEncryptionKeyCancelKeyDeletionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *teamEncryptionKeyCancelKeyDeletionDetails; + +/// (no description). @note Ensure the `isTeamEncryptionKeyCreateKeyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *teamEncryptionKeyCreateKeyDetails; + +/// (no description). @note Ensure the `isTeamEncryptionKeyDeleteKeyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *teamEncryptionKeyDeleteKeyDetails; + +/// (no description). @note Ensure the `isTeamEncryptionKeyDisableKeyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *teamEncryptionKeyDisableKeyDetails; + +/// (no description). @note Ensure the `isTeamEncryptionKeyEnableKeyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *teamEncryptionKeyEnableKeyDetails; + +/// (no description). @note Ensure the `isTeamEncryptionKeyRotateKeyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *teamEncryptionKeyRotateKeyDetails; + +/// (no description). @note Ensure the +/// `isTeamEncryptionKeyScheduleKeyDeletionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *teamEncryptionKeyScheduleKeyDeletionDetails; + +/// (no description). @note Ensure the `isApplyNamingConventionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGApplyNamingConventionDetails *applyNamingConventionDetails; + +/// (no description). @note Ensure the `isCreateFolderDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCreateFolderDetails *createFolderDetails; + +/// (no description). @note Ensure the `isFileAddDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddDetails *fileAddDetails; + +/// (no description). @note Ensure the `isFileAddFromAutomationDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddFromAutomationDetails *fileAddFromAutomationDetails; + +/// (no description). @note Ensure the `isFileCopyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileCopyDetails *fileCopyDetails; + +/// (no description). @note Ensure the `isFileDeleteDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileDeleteDetails *fileDeleteDetails; + +/// (no description). @note Ensure the `isFileDownloadDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileDownloadDetails *fileDownloadDetails; + +/// (no description). @note Ensure the `isFileEditDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileEditDetails *fileEditDetails; + +/// (no description). @note Ensure the `isFileGetCopyReferenceDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileGetCopyReferenceDetails *fileGetCopyReferenceDetails; + +/// (no description). @note Ensure the `isFileLockingLockStatusChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileLockingLockStatusChangedDetails *fileLockingLockStatusChangedDetails; + +/// (no description). @note Ensure the `isFileMoveDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileMoveDetails *fileMoveDetails; + +/// (no description). @note Ensure the `isFilePermanentlyDeleteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFilePermanentlyDeleteDetails *filePermanentlyDeleteDetails; + +/// (no description). @note Ensure the `isFilePreviewDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFilePreviewDetails *filePreviewDetails; + +/// (no description). @note Ensure the `isFileRenameDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRenameDetails *fileRenameDetails; + +/// (no description). @note Ensure the `isFileRestoreDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRestoreDetails *fileRestoreDetails; + +/// (no description). @note Ensure the `isFileRevertDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRevertDetails *fileRevertDetails; + +/// (no description). @note Ensure the `isFileRollbackChangesDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRollbackChangesDetails *fileRollbackChangesDetails; + +/// (no description). @note Ensure the `isFileSaveCopyReferenceDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileSaveCopyReferenceDetails *fileSaveCopyReferenceDetails; + +/// (no description). @note Ensure the +/// `isFolderOverviewDescriptionChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGFolderOverviewDescriptionChangedDetails *folderOverviewDescriptionChangedDetails; + +/// (no description). @note Ensure the `isFolderOverviewItemPinnedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFolderOverviewItemPinnedDetails *folderOverviewItemPinnedDetails; + +/// (no description). @note Ensure the `isFolderOverviewItemUnpinnedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFolderOverviewItemUnpinnedDetails *folderOverviewItemUnpinnedDetails; + +/// (no description). @note Ensure the `isObjectLabelAddedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelAddedDetails *objectLabelAddedDetails; + +/// (no description). @note Ensure the `isObjectLabelRemovedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelRemovedDetails *objectLabelRemovedDetails; + +/// (no description). @note Ensure the `isObjectLabelUpdatedValueDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelUpdatedValueDetails *objectLabelUpdatedValueDetails; + +/// (no description). @note Ensure the `isOrganizeFolderWithTidyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOrganizeFolderWithTidyDetails *organizeFolderWithTidyDetails; + +/// (no description). @note Ensure the `isReplayFileDeleteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileDeleteDetails *replayFileDeleteDetails; + +/// (no description). @note Ensure the `isRewindFolderDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRewindFolderDetails *rewindFolderDetails; + +/// (no description). @note Ensure the `isUndoNamingConventionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUndoNamingConventionDetails *undoNamingConventionDetails; + +/// (no description). @note Ensure the `isUndoOrganizeFolderWithTidyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGUndoOrganizeFolderWithTidyDetails *undoOrganizeFolderWithTidyDetails; + +/// (no description). @note Ensure the `isUserTagsAddedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserTagsAddedDetails *userTagsAddedDetails; + +/// (no description). @note Ensure the `isUserTagsRemovedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserTagsRemovedDetails *userTagsRemovedDetails; + +/// (no description). @note Ensure the `isEmailIngestReceiveFileDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestReceiveFileDetails *emailIngestReceiveFileDetails; + +/// (no description). @note Ensure the `isFileRequestChangeDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestChangeDetails *fileRequestChangeDetails; + +/// (no description). @note Ensure the `isFileRequestCloseDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestCloseDetails *fileRequestCloseDetails; + +/// (no description). @note Ensure the `isFileRequestCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestCreateDetails *fileRequestCreateDetails; + +/// (no description). @note Ensure the `isFileRequestDeleteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestDeleteDetails *fileRequestDeleteDetails; + +/// (no description). @note Ensure the `isFileRequestReceiveFileDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestReceiveFileDetails *fileRequestReceiveFileDetails; + +/// (no description). @note Ensure the `isGroupAddExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupAddExternalIdDetails *groupAddExternalIdDetails; + +/// (no description). @note Ensure the `isGroupAddMemberDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupAddMemberDetails *groupAddMemberDetails; + +/// (no description). @note Ensure the `isGroupChangeExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeExternalIdDetails *groupChangeExternalIdDetails; + +/// (no description). @note Ensure the `isGroupChangeManagementTypeDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeManagementTypeDetails *groupChangeManagementTypeDetails; + +/// (no description). @note Ensure the `isGroupChangeMemberRoleDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeMemberRoleDetails *groupChangeMemberRoleDetails; + +/// (no description). @note Ensure the `isGroupCreateDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupCreateDetails *groupCreateDetails; + +/// (no description). @note Ensure the `isGroupDeleteDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupDeleteDetails *groupDeleteDetails; + +/// (no description). @note Ensure the `isGroupDescriptionUpdatedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupDescriptionUpdatedDetails *groupDescriptionUpdatedDetails; + +/// (no description). @note Ensure the `isGroupJoinPolicyUpdatedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupJoinPolicyUpdatedDetails *groupJoinPolicyUpdatedDetails; + +/// (no description). @note Ensure the `isGroupMovedDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupMovedDetails *groupMovedDetails; + +/// (no description). @note Ensure the `isGroupRemoveExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRemoveExternalIdDetails *groupRemoveExternalIdDetails; + +/// (no description). @note Ensure the `isGroupRemoveMemberDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRemoveMemberDetails *groupRemoveMemberDetails; + +/// (no description). @note Ensure the `isGroupRenameDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRenameDetails *groupRenameDetails; + +/// (no description). @note Ensure the `isAccountLockOrUnlockedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountLockOrUnlockedDetails *accountLockOrUnlockedDetails; + +/// (no description). @note Ensure the `isEmmErrorDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmErrorDetails *emmErrorDetails; + +/// (no description). @note Ensure the +/// `isGuestAdminSignedInViaTrustedTeamsDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *guestAdminSignedInViaTrustedTeamsDetails; + +/// (no description). @note Ensure the +/// `isGuestAdminSignedOutViaTrustedTeamsDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *guestAdminSignedOutViaTrustedTeamsDetails; + +/// (no description). @note Ensure the `isLoginFailDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLoginFailDetails *loginFailDetails; + +/// (no description). @note Ensure the `isLoginSuccessDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLoginSuccessDetails *loginSuccessDetails; + +/// (no description). @note Ensure the `isLogoutDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLogoutDetails *logoutDetails; + +/// (no description). @note Ensure the `isResellerSupportSessionEndDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionEndDetails *resellerSupportSessionEndDetails; + +/// (no description). @note Ensure the `isResellerSupportSessionStartDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionStartDetails *resellerSupportSessionStartDetails; + +/// (no description). @note Ensure the `isSignInAsSessionEndDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionEndDetails *signInAsSessionEndDetails; + +/// (no description). @note Ensure the `isSignInAsSessionStartDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionStartDetails *signInAsSessionStartDetails; + +/// (no description). @note Ensure the `isSsoErrorDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoErrorDetails *ssoErrorDetails; + +/// (no description). @note Ensure the `isBackupAdminInvitationSentDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGBackupAdminInvitationSentDetails *backupAdminInvitationSentDetails; + +/// (no description). @note Ensure the `isBackupInvitationOpenedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBackupInvitationOpenedDetails *backupInvitationOpenedDetails; + +/// (no description). @note Ensure the `isCreateTeamInviteLinkDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCreateTeamInviteLinkDetails *createTeamInviteLinkDetails; + +/// (no description). @note Ensure the `isDeleteTeamInviteLinkDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeleteTeamInviteLinkDetails *deleteTeamInviteLinkDetails; + +/// (no description). @note Ensure the `isMemberAddExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberAddExternalIdDetails *memberAddExternalIdDetails; + +/// (no description). @note Ensure the `isMemberAddNameDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberAddNameDetails *memberAddNameDetails; + +/// (no description). @note Ensure the `isMemberChangeAdminRoleDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeAdminRoleDetails *memberChangeAdminRoleDetails; + +/// (no description). @note Ensure the `isMemberChangeEmailDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeEmailDetails *memberChangeEmailDetails; + +/// (no description). @note Ensure the `isMemberChangeExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeExternalIdDetails *memberChangeExternalIdDetails; + +/// (no description). @note Ensure the `isMemberChangeMembershipTypeDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeMembershipTypeDetails *memberChangeMembershipTypeDetails; + +/// (no description). @note Ensure the `isMemberChangeNameDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeNameDetails *memberChangeNameDetails; + +/// (no description). @note Ensure the `isMemberChangeResellerRoleDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeResellerRoleDetails *memberChangeResellerRoleDetails; + +/// (no description). @note Ensure the `isMemberChangeStatusDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeStatusDetails *memberChangeStatusDetails; + +/// (no description). @note Ensure the `isMemberDeleteManualContactsDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberDeleteManualContactsDetails *memberDeleteManualContactsDetails; + +/// (no description). @note Ensure the `isMemberDeleteProfilePhotoDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberDeleteProfilePhotoDetails *memberDeleteProfilePhotoDetails; + +/// (no description). @note Ensure the +/// `isMemberPermanentlyDeleteAccountContentsDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *memberPermanentlyDeleteAccountContentsDetails; + +/// (no description). @note Ensure the `isMemberRemoveExternalIdDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberRemoveExternalIdDetails *memberRemoveExternalIdDetails; + +/// (no description). @note Ensure the `isMemberSetProfilePhotoDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSetProfilePhotoDetails *memberSetProfilePhotoDetails; + +/// (no description). @note Ensure the +/// `isMemberSpaceLimitsAddCustomQuotaDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *memberSpaceLimitsAddCustomQuotaDetails; + +/// (no description). @note Ensure the +/// `isMemberSpaceLimitsChangeCustomQuotaDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *memberSpaceLimitsChangeCustomQuotaDetails; + +/// (no description). @note Ensure the `isMemberSpaceLimitsChangeStatusDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *memberSpaceLimitsChangeStatusDetails; + +/// (no description). @note Ensure the +/// `isMemberSpaceLimitsRemoveCustomQuotaDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *memberSpaceLimitsRemoveCustomQuotaDetails; + +/// (no description). @note Ensure the `isMemberSuggestDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSuggestDetails *memberSuggestDetails; + +/// (no description). @note Ensure the `isMemberTransferAccountContentsDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberTransferAccountContentsDetails *memberTransferAccountContentsDetails; + +/// (no description). @note Ensure the `isPendingSecondaryEmailAddedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPendingSecondaryEmailAddedDetails *pendingSecondaryEmailAddedDetails; + +/// (no description). @note Ensure the `isSecondaryEmailDeletedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryEmailDeletedDetails *secondaryEmailDeletedDetails; + +/// (no description). @note Ensure the `isSecondaryEmailVerifiedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryEmailVerifiedDetails *secondaryEmailVerifiedDetails; + +/// (no description). @note Ensure the `isSecondaryMailsPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryMailsPolicyChangedDetails *secondaryMailsPolicyChangedDetails; + +/// (no description). @note Ensure the `isBinderAddPageDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderAddPageDetails *binderAddPageDetails; + +/// (no description). @note Ensure the `isBinderAddSectionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderAddSectionDetails *binderAddSectionDetails; + +/// (no description). @note Ensure the `isBinderRemovePageDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRemovePageDetails *binderRemovePageDetails; + +/// (no description). @note Ensure the `isBinderRemoveSectionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRemoveSectionDetails *binderRemoveSectionDetails; + +/// (no description). @note Ensure the `isBinderRenamePageDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRenamePageDetails *binderRenamePageDetails; + +/// (no description). @note Ensure the `isBinderRenameSectionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRenameSectionDetails *binderRenameSectionDetails; + +/// (no description). @note Ensure the `isBinderReorderPageDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderReorderPageDetails *binderReorderPageDetails; + +/// (no description). @note Ensure the `isBinderReorderSectionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderReorderSectionDetails *binderReorderSectionDetails; + +/// (no description). @note Ensure the `isPaperContentAddMemberDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentAddMemberDetails *paperContentAddMemberDetails; + +/// (no description). @note Ensure the `isPaperContentAddToFolderDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentAddToFolderDetails *paperContentAddToFolderDetails; + +/// (no description). @note Ensure the `isPaperContentArchiveDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentArchiveDetails *paperContentArchiveDetails; + +/// (no description). @note Ensure the `isPaperContentCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentCreateDetails *paperContentCreateDetails; + +/// (no description). @note Ensure the `isPaperContentPermanentlyDeleteDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentPermanentlyDeleteDetails *paperContentPermanentlyDeleteDetails; + +/// (no description). @note Ensure the `isPaperContentRemoveFromFolderDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveFromFolderDetails *paperContentRemoveFromFolderDetails; + +/// (no description). @note Ensure the `isPaperContentRemoveMemberDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveMemberDetails *paperContentRemoveMemberDetails; + +/// (no description). @note Ensure the `isPaperContentRenameDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRenameDetails *paperContentRenameDetails; + +/// (no description). @note Ensure the `isPaperContentRestoreDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRestoreDetails *paperContentRestoreDetails; + +/// (no description). @note Ensure the `isPaperDocAddCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocAddCommentDetails *paperDocAddCommentDetails; + +/// (no description). @note Ensure the `isPaperDocChangeMemberRoleDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeMemberRoleDetails *paperDocChangeMemberRoleDetails; + +/// (no description). @note Ensure the `isPaperDocChangeSharingPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSharingPolicyDetails *paperDocChangeSharingPolicyDetails; + +/// (no description). @note Ensure the `isPaperDocChangeSubscriptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSubscriptionDetails *paperDocChangeSubscriptionDetails; + +/// (no description). @note Ensure the `isPaperDocDeletedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDeletedDetails *paperDocDeletedDetails; + +/// (no description). @note Ensure the `isPaperDocDeleteCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDeleteCommentDetails *paperDocDeleteCommentDetails; + +/// (no description). @note Ensure the `isPaperDocDownloadDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDownloadDetails *paperDocDownloadDetails; + +/// (no description). @note Ensure the `isPaperDocEditDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocEditDetails *paperDocEditDetails; + +/// (no description). @note Ensure the `isPaperDocEditCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocEditCommentDetails *paperDocEditCommentDetails; + +/// (no description). @note Ensure the `isPaperDocFollowedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocFollowedDetails *paperDocFollowedDetails; + +/// (no description). @note Ensure the `isPaperDocMentionDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocMentionDetails *paperDocMentionDetails; + +/// (no description). @note Ensure the `isPaperDocOwnershipChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocOwnershipChangedDetails *paperDocOwnershipChangedDetails; + +/// (no description). @note Ensure the `isPaperDocRequestAccessDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocRequestAccessDetails *paperDocRequestAccessDetails; + +/// (no description). @note Ensure the `isPaperDocResolveCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocResolveCommentDetails *paperDocResolveCommentDetails; + +/// (no description). @note Ensure the `isPaperDocRevertDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocRevertDetails *paperDocRevertDetails; + +/// (no description). @note Ensure the `isPaperDocSlackShareDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocSlackShareDetails *paperDocSlackShareDetails; + +/// (no description). @note Ensure the `isPaperDocTeamInviteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocTeamInviteDetails *paperDocTeamInviteDetails; + +/// (no description). @note Ensure the `isPaperDocTrashedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocTrashedDetails *paperDocTrashedDetails; + +/// (no description). @note Ensure the `isPaperDocUnresolveCommentDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocUnresolveCommentDetails *paperDocUnresolveCommentDetails; + +/// (no description). @note Ensure the `isPaperDocUntrashedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocUntrashedDetails *paperDocUntrashedDetails; + +/// (no description). @note Ensure the `isPaperDocViewDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocViewDetails *paperDocViewDetails; + +/// (no description). @note Ensure the `isPaperExternalViewAllowDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewAllowDetails *paperExternalViewAllowDetails; + +/// (no description). @note Ensure the `isPaperExternalViewDefaultTeamDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewDefaultTeamDetails *paperExternalViewDefaultTeamDetails; + +/// (no description). @note Ensure the `isPaperExternalViewForbidDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewForbidDetails *paperExternalViewForbidDetails; + +/// (no description). @note Ensure the `isPaperFolderChangeSubscriptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderChangeSubscriptionDetails *paperFolderChangeSubscriptionDetails; + +/// (no description). @note Ensure the `isPaperFolderDeletedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderDeletedDetails *paperFolderDeletedDetails; + +/// (no description). @note Ensure the `isPaperFolderFollowedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderFollowedDetails *paperFolderFollowedDetails; + +/// (no description). @note Ensure the `isPaperFolderTeamInviteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderTeamInviteDetails *paperFolderTeamInviteDetails; + +/// (no description). @note Ensure the +/// `isPaperPublishedLinkChangePermissionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGPaperPublishedLinkChangePermissionDetails *paperPublishedLinkChangePermissionDetails; + +/// (no description). @note Ensure the `isPaperPublishedLinkCreateDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkCreateDetails *paperPublishedLinkCreateDetails; + +/// (no description). @note Ensure the `isPaperPublishedLinkDisabledDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkDisabledDetails *paperPublishedLinkDisabledDetails; + +/// (no description). @note Ensure the `isPaperPublishedLinkViewDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkViewDetails *paperPublishedLinkViewDetails; + +/// (no description). @note Ensure the `isPasswordChangeDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordChangeDetails *passwordChangeDetails; + +/// (no description). @note Ensure the `isPasswordResetDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordResetDetails *passwordResetDetails; + +/// (no description). @note Ensure the `isPasswordResetAllDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordResetAllDetails *passwordResetAllDetails; + +/// (no description). @note Ensure the `isClassificationCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationCreateReportDetails *classificationCreateReportDetails; + +/// (no description). @note Ensure the `isClassificationCreateReportFailDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationCreateReportFailDetails *classificationCreateReportFailDetails; + +/// (no description). @note Ensure the `isEmmCreateExceptionsReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGEmmCreateExceptionsReportDetails *emmCreateExceptionsReportDetails; + +/// (no description). @note Ensure the `isEmmCreateUsageReportDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmCreateUsageReportDetails *emmCreateUsageReportDetails; + +/// (no description). @note Ensure the `isExportMembersReportDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExportMembersReportDetails *exportMembersReportDetails; + +/// (no description). @note Ensure the `isExportMembersReportFailDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExportMembersReportFailDetails *exportMembersReportFailDetails; + +/// (no description). @note Ensure the `isExternalSharingCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGExternalSharingCreateReportDetails *externalSharingCreateReportDetails; + +/// (no description). @note Ensure the `isExternalSharingReportFailedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGExternalSharingReportFailedDetails *externalSharingReportFailedDetails; + +/// (no description). @note Ensure the +/// `isNoExpirationLinkGenCreateReportDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoExpirationLinkGenCreateReportDetails *noExpirationLinkGenCreateReportDetails; + +/// (no description). @note Ensure the +/// `isNoExpirationLinkGenReportFailedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoExpirationLinkGenReportFailedDetails *noExpirationLinkGenReportFailedDetails; + +/// (no description). @note Ensure the `isNoPasswordLinkGenCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkGenCreateReportDetails *noPasswordLinkGenCreateReportDetails; + +/// (no description). @note Ensure the `isNoPasswordLinkGenReportFailedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkGenReportFailedDetails *noPasswordLinkGenReportFailedDetails; + +/// (no description). @note Ensure the `isNoPasswordLinkViewCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkViewCreateReportDetails *noPasswordLinkViewCreateReportDetails; + +/// (no description). @note Ensure the `isNoPasswordLinkViewReportFailedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkViewReportFailedDetails *noPasswordLinkViewReportFailedDetails; + +/// (no description). @note Ensure the `isOutdatedLinkViewCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGOutdatedLinkViewCreateReportDetails *outdatedLinkViewCreateReportDetails; + +/// (no description). @note Ensure the `isOutdatedLinkViewReportFailedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGOutdatedLinkViewReportFailedDetails *outdatedLinkViewReportFailedDetails; + +/// (no description). @note Ensure the `isPaperAdminExportStartDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperAdminExportStartDetails *paperAdminExportStartDetails; + +/// (no description). @note Ensure the `isRansomwareAlertCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGRansomwareAlertCreateReportDetails *ransomwareAlertCreateReportDetails; + +/// (no description). @note Ensure the +/// `isRansomwareAlertCreateReportFailedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGRansomwareAlertCreateReportFailedDetails *ransomwareAlertCreateReportFailedDetails; + +/// (no description). @note Ensure the +/// `isSmartSyncCreateAdminPrivilegeReportDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *smartSyncCreateAdminPrivilegeReportDetails; + +/// (no description). @note Ensure the `isTeamActivityCreateReportDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamActivityCreateReportDetails *teamActivityCreateReportDetails; + +/// (no description). @note Ensure the `isTeamActivityCreateReportFailDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamActivityCreateReportFailDetails *teamActivityCreateReportFailDetails; + +/// (no description). @note Ensure the `isCollectionShareDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCollectionShareDetails *collectionShareDetails; + +/// (no description). @note Ensure the `isFileTransfersFileAddDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersFileAddDetails *fileTransfersFileAddDetails; + +/// (no description). @note Ensure the `isFileTransfersTransferDeleteDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferDeleteDetails *fileTransfersTransferDeleteDetails; + +/// (no description). @note Ensure the `isFileTransfersTransferDownloadDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferDownloadDetails *fileTransfersTransferDownloadDetails; + +/// (no description). @note Ensure the `isFileTransfersTransferSendDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferSendDetails *fileTransfersTransferSendDetails; + +/// (no description). @note Ensure the `isFileTransfersTransferViewDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferViewDetails *fileTransfersTransferViewDetails; + +/// (no description). @note Ensure the `isNoteAclInviteOnlyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclInviteOnlyDetails *noteAclInviteOnlyDetails; + +/// (no description). @note Ensure the `isNoteAclLinkDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclLinkDetails *noteAclLinkDetails; + +/// (no description). @note Ensure the `isNoteAclTeamLinkDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclTeamLinkDetails *noteAclTeamLinkDetails; + +/// (no description). @note Ensure the `isNoteSharedDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteSharedDetails *noteSharedDetails; + +/// (no description). @note Ensure the `isNoteShareReceiveDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteShareReceiveDetails *noteShareReceiveDetails; + +/// (no description). @note Ensure the `isOpenNoteSharedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOpenNoteSharedDetails *openNoteSharedDetails; + +/// (no description). @note Ensure the `isReplayFileSharedLinkCreatedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileSharedLinkCreatedDetails *replayFileSharedLinkCreatedDetails; + +/// (no description). @note Ensure the `isReplayFileSharedLinkModifiedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileSharedLinkModifiedDetails *replayFileSharedLinkModifiedDetails; + +/// (no description). @note Ensure the `isReplayProjectTeamAddDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayProjectTeamAddDetails *replayProjectTeamAddDetails; + +/// (no description). @note Ensure the `isReplayProjectTeamDeleteDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayProjectTeamDeleteDetails *replayProjectTeamDeleteDetails; + +/// (no description). @note Ensure the `isSfAddGroupDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfAddGroupDetails *sfAddGroupDetails; + +/// (no description). @note Ensure the +/// `isSfAllowNonMembersToViewSharedLinksDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *sfAllowNonMembersToViewSharedLinksDetails; + +/// (no description). @note Ensure the `isSfExternalInviteWarnDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfExternalInviteWarnDetails *sfExternalInviteWarnDetails; + +/// (no description). @note Ensure the `isSfFbInviteDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbInviteDetails *sfFbInviteDetails; + +/// (no description). @note Ensure the `isSfFbInviteChangeRoleDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbInviteChangeRoleDetails *sfFbInviteChangeRoleDetails; + +/// (no description). @note Ensure the `isSfFbUninviteDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbUninviteDetails *sfFbUninviteDetails; + +/// (no description). @note Ensure the `isSfInviteGroupDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfInviteGroupDetails *sfInviteGroupDetails; + +/// (no description). @note Ensure the `isSfTeamGrantAccessDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamGrantAccessDetails *sfTeamGrantAccessDetails; + +/// (no description). @note Ensure the `isSfTeamInviteDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteDetails *sfTeamInviteDetails; + +/// (no description). @note Ensure the `isSfTeamInviteChangeRoleDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteChangeRoleDetails *sfTeamInviteChangeRoleDetails; + +/// (no description). @note Ensure the `isSfTeamJoinDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinDetails *sfTeamJoinDetails; + +/// (no description). @note Ensure the `isSfTeamJoinFromOobLinkDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinFromOobLinkDetails *sfTeamJoinFromOobLinkDetails; + +/// (no description). @note Ensure the `isSfTeamUninviteDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamUninviteDetails *sfTeamUninviteDetails; + +/// (no description). @note Ensure the `isSharedContentAddInviteesDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddInviteesDetails *sharedContentAddInviteesDetails; + +/// (no description). @note Ensure the `isSharedContentAddLinkExpiryDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkExpiryDetails *sharedContentAddLinkExpiryDetails; + +/// (no description). @note Ensure the `isSharedContentAddLinkPasswordDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkPasswordDetails *sharedContentAddLinkPasswordDetails; + +/// (no description). @note Ensure the `isSharedContentAddMemberDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddMemberDetails *sharedContentAddMemberDetails; + +/// (no description). @note Ensure the +/// `isSharedContentChangeDownloadsPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *sharedContentChangeDownloadsPolicyDetails; + +/// (no description). @note Ensure the `isSharedContentChangeInviteeRoleDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeInviteeRoleDetails *sharedContentChangeInviteeRoleDetails; + +/// (no description). @note Ensure the +/// `isSharedContentChangeLinkAudienceDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkAudienceDetails *sharedContentChangeLinkAudienceDetails; + +/// (no description). @note Ensure the `isSharedContentChangeLinkExpiryDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkExpiryDetails *sharedContentChangeLinkExpiryDetails; + +/// (no description). @note Ensure the +/// `isSharedContentChangeLinkPasswordDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkPasswordDetails *sharedContentChangeLinkPasswordDetails; + +/// (no description). @note Ensure the `isSharedContentChangeMemberRoleDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeMemberRoleDetails *sharedContentChangeMemberRoleDetails; + +/// (no description). @note Ensure the +/// `isSharedContentChangeViewerInfoPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *sharedContentChangeViewerInfoPolicyDetails; + +/// (no description). @note Ensure the `isSharedContentClaimInvitationDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentClaimInvitationDetails *sharedContentClaimInvitationDetails; + +/// (no description). @note Ensure the `isSharedContentCopyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentCopyDetails *sharedContentCopyDetails; + +/// (no description). @note Ensure the `isSharedContentDownloadDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentDownloadDetails *sharedContentDownloadDetails; + +/// (no description). @note Ensure the +/// `isSharedContentRelinquishMembershipDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedContentRelinquishMembershipDetails *sharedContentRelinquishMembershipDetails; + +/// (no description). @note Ensure the `isSharedContentRemoveInviteesDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveInviteesDetails *sharedContentRemoveInviteesDetails; + +/// (no description). @note Ensure the `isSharedContentRemoveLinkExpiryDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkExpiryDetails *sharedContentRemoveLinkExpiryDetails; + +/// (no description). @note Ensure the +/// `isSharedContentRemoveLinkPasswordDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkPasswordDetails *sharedContentRemoveLinkPasswordDetails; + +/// (no description). @note Ensure the `isSharedContentRemoveMemberDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveMemberDetails *sharedContentRemoveMemberDetails; + +/// (no description). @note Ensure the `isSharedContentRequestAccessDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRequestAccessDetails *sharedContentRequestAccessDetails; + +/// (no description). @note Ensure the `isSharedContentRestoreInviteesDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRestoreInviteesDetails *sharedContentRestoreInviteesDetails; + +/// (no description). @note Ensure the `isSharedContentRestoreMemberDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRestoreMemberDetails *sharedContentRestoreMemberDetails; + +/// (no description). @note Ensure the `isSharedContentUnshareDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentUnshareDetails *sharedContentUnshareDetails; + +/// (no description). @note Ensure the `isSharedContentViewDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentViewDetails *sharedContentViewDetails; + +/// (no description). @note Ensure the `isSharedFolderChangeLinkPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeLinkPolicyDetails *sharedFolderChangeLinkPolicyDetails; + +/// (no description). @note Ensure the +/// `isSharedFolderChangeMembersInheritancePolicyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *sharedFolderChangeMembersInheritancePolicyDetails; + +/// (no description). @note Ensure the +/// `isSharedFolderChangeMembersManagementPolicyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *sharedFolderChangeMembersManagementPolicyDetails; + +/// (no description). @note Ensure the +/// `isSharedFolderChangeMembersPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeMembersPolicyDetails *sharedFolderChangeMembersPolicyDetails; + +/// (no description). @note Ensure the `isSharedFolderCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderCreateDetails *sharedFolderCreateDetails; + +/// (no description). @note Ensure the `isSharedFolderDeclineInvitationDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderDeclineInvitationDetails *sharedFolderDeclineInvitationDetails; + +/// (no description). @note Ensure the `isSharedFolderMountDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderMountDetails *sharedFolderMountDetails; + +/// (no description). @note Ensure the `isSharedFolderNestDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderNestDetails *sharedFolderNestDetails; + +/// (no description). @note Ensure the `isSharedFolderTransferOwnershipDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderTransferOwnershipDetails *sharedFolderTransferOwnershipDetails; + +/// (no description). @note Ensure the `isSharedFolderUnmountDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderUnmountDetails *sharedFolderUnmountDetails; + +/// (no description). @note Ensure the `isSharedLinkAddExpiryDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkAddExpiryDetails *sharedLinkAddExpiryDetails; + +/// (no description). @note Ensure the `isSharedLinkChangeExpiryDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkChangeExpiryDetails *sharedLinkChangeExpiryDetails; + +/// (no description). @note Ensure the `isSharedLinkChangeVisibilityDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkChangeVisibilityDetails *sharedLinkChangeVisibilityDetails; + +/// (no description). @note Ensure the `isSharedLinkCopyDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkCopyDetails *sharedLinkCopyDetails; + +/// (no description). @note Ensure the `isSharedLinkCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkCreateDetails *sharedLinkCreateDetails; + +/// (no description). @note Ensure the `isSharedLinkDisableDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkDisableDetails *sharedLinkDisableDetails; + +/// (no description). @note Ensure the `isSharedLinkDownloadDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkDownloadDetails *sharedLinkDownloadDetails; + +/// (no description). @note Ensure the `isSharedLinkRemoveExpiryDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkRemoveExpiryDetails *sharedLinkRemoveExpiryDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsAddExpirationDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsAddExpirationDetails *sharedLinkSettingsAddExpirationDetails; + +/// (no description). @note Ensure the `isSharedLinkSettingsAddPasswordDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsAddPasswordDetails *sharedLinkSettingsAddPasswordDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsAllowDownloadDisabledDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *sharedLinkSettingsAllowDownloadDisabledDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsAllowDownloadEnabledDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *sharedLinkSettingsAllowDownloadEnabledDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsChangeAudienceDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *sharedLinkSettingsChangeAudienceDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsChangeExpirationDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *sharedLinkSettingsChangeExpirationDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsChangePasswordDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsChangePasswordDetails *sharedLinkSettingsChangePasswordDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsRemoveExpirationDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *sharedLinkSettingsRemoveExpirationDetails; + +/// (no description). @note Ensure the +/// `isSharedLinkSettingsRemovePasswordDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *sharedLinkSettingsRemovePasswordDetails; + +/// (no description). @note Ensure the `isSharedLinkShareDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkShareDetails *sharedLinkShareDetails; + +/// (no description). @note Ensure the `isSharedLinkViewDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkViewDetails *sharedLinkViewDetails; + +/// (no description). @note Ensure the `isSharedNoteOpenedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedNoteOpenedDetails *sharedNoteOpenedDetails; + +/// (no description). @note Ensure the `isShmodelDisableDownloadsDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelDisableDownloadsDetails *shmodelDisableDownloadsDetails; + +/// (no description). @note Ensure the `isShmodelEnableDownloadsDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelEnableDownloadsDetails *shmodelEnableDownloadsDetails; + +/// (no description). @note Ensure the `isShmodelGroupShareDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelGroupShareDetails *shmodelGroupShareDetails; + +/// (no description). @note Ensure the `isShowcaseAccessGrantedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseAccessGrantedDetails *showcaseAccessGrantedDetails; + +/// (no description). @note Ensure the `isShowcaseAddMemberDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseAddMemberDetails *showcaseAddMemberDetails; + +/// (no description). @note Ensure the `isShowcaseArchivedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseArchivedDetails *showcaseArchivedDetails; + +/// (no description). @note Ensure the `isShowcaseCreatedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseCreatedDetails *showcaseCreatedDetails; + +/// (no description). @note Ensure the `isShowcaseDeleteCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDeleteCommentDetails *showcaseDeleteCommentDetails; + +/// (no description). @note Ensure the `isShowcaseEditedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEditedDetails *showcaseEditedDetails; + +/// (no description). @note Ensure the `isShowcaseEditCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEditCommentDetails *showcaseEditCommentDetails; + +/// (no description). @note Ensure the `isShowcaseFileAddedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileAddedDetails *showcaseFileAddedDetails; + +/// (no description). @note Ensure the `isShowcaseFileDownloadDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileDownloadDetails *showcaseFileDownloadDetails; + +/// (no description). @note Ensure the `isShowcaseFileRemovedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileRemovedDetails *showcaseFileRemovedDetails; + +/// (no description). @note Ensure the `isShowcaseFileViewDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileViewDetails *showcaseFileViewDetails; + +/// (no description). @note Ensure the `isShowcasePermanentlyDeletedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcasePermanentlyDeletedDetails *showcasePermanentlyDeletedDetails; + +/// (no description). @note Ensure the `isShowcasePostCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcasePostCommentDetails *showcasePostCommentDetails; + +/// (no description). @note Ensure the `isShowcaseRemoveMemberDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRemoveMemberDetails *showcaseRemoveMemberDetails; + +/// (no description). @note Ensure the `isShowcaseRenamedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRenamedDetails *showcaseRenamedDetails; + +/// (no description). @note Ensure the `isShowcaseRequestAccessDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRequestAccessDetails *showcaseRequestAccessDetails; + +/// (no description). @note Ensure the `isShowcaseResolveCommentDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseResolveCommentDetails *showcaseResolveCommentDetails; + +/// (no description). @note Ensure the `isShowcaseRestoredDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRestoredDetails *showcaseRestoredDetails; + +/// (no description). @note Ensure the `isShowcaseTrashedDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseTrashedDetails *showcaseTrashedDetails; + +/// (no description). @note Ensure the `isShowcaseTrashedDeprecatedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseTrashedDeprecatedDetails *showcaseTrashedDeprecatedDetails; + +/// (no description). @note Ensure the `isShowcaseUnresolveCommentDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUnresolveCommentDetails *showcaseUnresolveCommentDetails; + +/// (no description). @note Ensure the `isShowcaseUntrashedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUntrashedDetails *showcaseUntrashedDetails; + +/// (no description). @note Ensure the `isShowcaseUntrashedDeprecatedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUntrashedDeprecatedDetails *showcaseUntrashedDeprecatedDetails; + +/// (no description). @note Ensure the `isShowcaseViewDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseViewDetails *showcaseViewDetails; + +/// (no description). @note Ensure the `isSsoAddCertDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddCertDetails *ssoAddCertDetails; + +/// (no description). @note Ensure the `isSsoAddLoginUrlDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddLoginUrlDetails *ssoAddLoginUrlDetails; + +/// (no description). @note Ensure the `isSsoAddLogoutUrlDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddLogoutUrlDetails *ssoAddLogoutUrlDetails; + +/// (no description). @note Ensure the `isSsoChangeCertDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeCertDetails *ssoChangeCertDetails; + +/// (no description). @note Ensure the `isSsoChangeLoginUrlDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeLoginUrlDetails *ssoChangeLoginUrlDetails; + +/// (no description). @note Ensure the `isSsoChangeLogoutUrlDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeLogoutUrlDetails *ssoChangeLogoutUrlDetails; + +/// (no description). @note Ensure the `isSsoChangeSamlIdentityModeDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeSamlIdentityModeDetails *ssoChangeSamlIdentityModeDetails; + +/// (no description). @note Ensure the `isSsoRemoveCertDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveCertDetails *ssoRemoveCertDetails; + +/// (no description). @note Ensure the `isSsoRemoveLoginUrlDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLoginUrlDetails *ssoRemoveLoginUrlDetails; + +/// (no description). @note Ensure the `isSsoRemoveLogoutUrlDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLogoutUrlDetails *ssoRemoveLogoutUrlDetails; + +/// (no description). @note Ensure the `isTeamFolderChangeStatusDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderChangeStatusDetails *teamFolderChangeStatusDetails; + +/// (no description). @note Ensure the `isTeamFolderCreateDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderCreateDetails *teamFolderCreateDetails; + +/// (no description). @note Ensure the `isTeamFolderDowngradeDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderDowngradeDetails *teamFolderDowngradeDetails; + +/// (no description). @note Ensure the `isTeamFolderPermanentlyDeleteDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderPermanentlyDeleteDetails *teamFolderPermanentlyDeleteDetails; + +/// (no description). @note Ensure the `isTeamFolderRenameDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderRenameDetails *teamFolderRenameDetails; + +/// (no description). @note Ensure the +/// `isTeamSelectiveSyncSettingsChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *teamSelectiveSyncSettingsChangedDetails; + +/// (no description). @note Ensure the `isAccountCaptureChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureChangePolicyDetails *accountCaptureChangePolicyDetails; + +/// (no description). @note Ensure the `isAdminEmailRemindersChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGAdminEmailRemindersChangedDetails *adminEmailRemindersChangedDetails; + +/// (no description). @note Ensure the `isAllowDownloadDisabledDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAllowDownloadDisabledDetails *allowDownloadDisabledDetails; + +/// (no description). @note Ensure the `isAllowDownloadEnabledDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAllowDownloadEnabledDetails *allowDownloadEnabledDetails; + +/// (no description). @note Ensure the `isAppPermissionsChangedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppPermissionsChangedDetails *appPermissionsChangedDetails; + +/// (no description). @note Ensure the `isCameraUploadsPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGCameraUploadsPolicyChangedDetails *cameraUploadsPolicyChangedDetails; + +/// (no description). @note Ensure the `isCaptureTranscriptPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGCaptureTranscriptPolicyChangedDetails *captureTranscriptPolicyChangedDetails; + +/// (no description). @note Ensure the `isClassificationChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationChangePolicyDetails *classificationChangePolicyDetails; + +/// (no description). @note Ensure the `isComputerBackupPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGComputerBackupPolicyChangedDetails *computerBackupPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isContentAdministrationPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGContentAdministrationPolicyChangedDetails *contentAdministrationPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isDataPlacementRestrictionChangePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *dataPlacementRestrictionChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isDataPlacementRestrictionSatisfyPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *dataPlacementRestrictionSatisfyPolicyDetails; + +/// (no description). @note Ensure the `isDeviceApprovalsAddExceptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsAddExceptionDetails *deviceApprovalsAddExceptionDetails; + +/// (no description). @note Ensure the +/// `isDeviceApprovalsChangeDesktopPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *deviceApprovalsChangeDesktopPolicyDetails; + +/// (no description). @note Ensure the +/// `isDeviceApprovalsChangeMobilePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *deviceApprovalsChangeMobilePolicyDetails; + +/// (no description). @note Ensure the +/// `isDeviceApprovalsChangeOverageActionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *deviceApprovalsChangeOverageActionDetails; + +/// (no description). @note Ensure the +/// `isDeviceApprovalsChangeUnlinkActionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *deviceApprovalsChangeUnlinkActionDetails; + +/// (no description). @note Ensure the `isDeviceApprovalsRemoveExceptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *deviceApprovalsRemoveExceptionDetails; + +/// (no description). @note Ensure the +/// `isDirectoryRestrictionsAddMembersDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDirectoryRestrictionsAddMembersDetails *directoryRestrictionsAddMembersDetails; + +/// (no description). @note Ensure the +/// `isDirectoryRestrictionsRemoveMembersDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *directoryRestrictionsRemoveMembersDetails; + +/// (no description). @note Ensure the `isDropboxPasswordsPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsPolicyChangedDetails *dropboxPasswordsPolicyChangedDetails; + +/// (no description). @note Ensure the `isEmailIngestPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestPolicyChangedDetails *emailIngestPolicyChangedDetails; + +/// (no description). @note Ensure the `isEmmAddExceptionDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmAddExceptionDetails *emmAddExceptionDetails; + +/// (no description). @note Ensure the `isEmmChangePolicyDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmChangePolicyDetails *emmChangePolicyDetails; + +/// (no description). @note Ensure the `isEmmRemoveExceptionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmRemoveExceptionDetails *emmRemoveExceptionDetails; + +/// (no description). @note Ensure the +/// `isExtendedVersionHistoryChangePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *extendedVersionHistoryChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isExternalDriveBackupPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGExternalDriveBackupPolicyChangedDetails *externalDriveBackupPolicyChangedDetails; + +/// (no description). @note Ensure the `isFileCommentsChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileCommentsChangePolicyDetails *fileCommentsChangePolicyDetails; + +/// (no description). @note Ensure the `isFileLockingPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileLockingPolicyChangedDetails *fileLockingPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isFileProviderMigrationPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGFileProviderMigrationPolicyChangedDetails *fileProviderMigrationPolicyChangedDetails; + +/// (no description). @note Ensure the `isFileRequestsChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestsChangePolicyDetails *fileRequestsChangePolicyDetails; + +/// (no description). @note Ensure the `isFileRequestsEmailsEnabledDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestsEmailsEnabledDetails *fileRequestsEmailsEnabledDetails; + +/// (no description). @note Ensure the +/// `isFileRequestsEmailsRestrictedToTeamOnlyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *fileRequestsEmailsRestrictedToTeamOnlyDetails; + +/// (no description). @note Ensure the `isFileTransfersPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersPolicyChangedDetails *fileTransfersPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isFolderLinkRestrictionPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *folderLinkRestrictionPolicyChangedDetails; + +/// (no description). @note Ensure the `isGoogleSsoChangePolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGoogleSsoChangePolicyDetails *googleSsoChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isGroupUserManagementChangePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupUserManagementChangePolicyDetails *groupUserManagementChangePolicyDetails; + +/// (no description). @note Ensure the `isIntegrationPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationPolicyChangedDetails *integrationPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isInviteAcceptanceEmailPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *inviteAcceptanceEmailPolicyChangedDetails; + +/// (no description). @note Ensure the `isMemberRequestsChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberRequestsChangePolicyDetails *memberRequestsChangePolicyDetails; + +/// (no description). @note Ensure the `isMemberSendInvitePolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSendInvitePolicyChangedDetails *memberSendInvitePolicyChangedDetails; + +/// (no description). @note Ensure the `isMemberSpaceLimitsAddExceptionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *memberSpaceLimitsAddExceptionDetails; + +/// (no description). @note Ensure the +/// `isMemberSpaceLimitsChangeCapsTypePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *memberSpaceLimitsChangeCapsTypePolicyDetails; + +/// (no description). @note Ensure the `isMemberSpaceLimitsChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *memberSpaceLimitsChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isMemberSpaceLimitsRemoveExceptionDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *memberSpaceLimitsRemoveExceptionDetails; + +/// (no description). @note Ensure the `isMemberSuggestionsChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSuggestionsChangePolicyDetails *memberSuggestionsChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isMicrosoftOfficeAddinChangePolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *microsoftOfficeAddinChangePolicyDetails; + +/// (no description). @note Ensure the `isNetworkControlChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGNetworkControlChangePolicyDetails *networkControlChangePolicyDetails; + +/// (no description). @note Ensure the `isPaperChangeDeploymentPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeDeploymentPolicyDetails *paperChangeDeploymentPolicyDetails; + +/// (no description). @note Ensure the `isPaperChangeMemberLinkPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberLinkPolicyDetails *paperChangeMemberLinkPolicyDetails; + +/// (no description). @note Ensure the `isPaperChangeMemberPolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberPolicyDetails *paperChangeMemberPolicyDetails; + +/// (no description). @note Ensure the `isPaperChangePolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangePolicyDetails *paperChangePolicyDetails; + +/// (no description). @note Ensure the +/// `isPaperDefaultFolderPolicyChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *paperDefaultFolderPolicyChangedDetails; + +/// (no description). @note Ensure the `isPaperDesktopPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDesktopPolicyChangedDetails *paperDesktopPolicyChangedDetails; + +/// (no description). @note Ensure the `isPaperEnabledUsersGroupAdditionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *paperEnabledUsersGroupAdditionDetails; + +/// (no description). @note Ensure the `isPaperEnabledUsersGroupRemovalDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *paperEnabledUsersGroupRemovalDetails; + +/// (no description). @note Ensure the +/// `isPasswordStrengthRequirementsChangePolicyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *passwordStrengthRequirementsChangePolicyDetails; + +/// (no description). @note Ensure the `isPermanentDeleteChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPermanentDeleteChangePolicyDetails *permanentDeleteChangePolicyDetails; + +/// (no description). @note Ensure the `isResellerSupportChangePolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportChangePolicyDetails *resellerSupportChangePolicyDetails; + +/// (no description). @note Ensure the `isRewindPolicyChangedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRewindPolicyChangedDetails *rewindPolicyChangedDetails; + +/// (no description). @note Ensure the `isSendForSignaturePolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSendForSignaturePolicyChangedDetails *sendForSignaturePolicyChangedDetails; + +/// (no description). @note Ensure the `isSharingChangeFolderJoinPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeFolderJoinPolicyDetails *sharingChangeFolderJoinPolicyDetails; + +/// (no description). @note Ensure the +/// `isSharingChangeLinkAllowChangeExpirationPolicyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *sharingChangeLinkAllowChangeExpirationPolicyDetails; + +/// (no description). @note Ensure the +/// `isSharingChangeLinkDefaultExpirationPolicyDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *sharingChangeLinkDefaultExpirationPolicyDetails; + +/// (no description). @note Ensure the +/// `isSharingChangeLinkEnforcePasswordPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *sharingChangeLinkEnforcePasswordPolicyDetails; + +/// (no description). @note Ensure the `isSharingChangeLinkPolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeLinkPolicyDetails *sharingChangeLinkPolicyDetails; + +/// (no description). @note Ensure the `isSharingChangeMemberPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeMemberPolicyDetails *sharingChangeMemberPolicyDetails; + +/// (no description). @note Ensure the `isShowcaseChangeDownloadPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseChangeDownloadPolicyDetails *showcaseChangeDownloadPolicyDetails; + +/// (no description). @note Ensure the `isShowcaseChangeEnabledPolicyDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseChangeEnabledPolicyDetails *showcaseChangeEnabledPolicyDetails; + +/// (no description). @note Ensure the +/// `isShowcaseChangeExternalSharingPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *showcaseChangeExternalSharingPolicyDetails; + +/// (no description). @note Ensure the `isSmarterSmartSyncPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *smarterSmartSyncPolicyChangedDetails; + +/// (no description). @note Ensure the `isSmartSyncChangePolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncChangePolicyDetails *smartSyncChangePolicyDetails; + +/// (no description). @note Ensure the `isSmartSyncNotOptOutDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncNotOptOutDetails *smartSyncNotOptOutDetails; + +/// (no description). @note Ensure the `isSmartSyncOptOutDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutDetails *smartSyncOptOutDetails; + +/// (no description). @note Ensure the `isSsoChangePolicyDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangePolicyDetails *ssoChangePolicyDetails; + +/// (no description). @note Ensure the `isTeamBrandingPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamBrandingPolicyChangedDetails *teamBrandingPolicyChangedDetails; + +/// (no description). @note Ensure the `isTeamExtensionsPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamExtensionsPolicyChangedDetails *teamExtensionsPolicyChangedDetails; + +/// (no description). @note Ensure the `isTeamSelectiveSyncPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *teamSelectiveSyncPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isTeamSharingWhitelistSubjectsChangedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *teamSharingWhitelistSubjectsChangedDetails; + +/// (no description). @note Ensure the `isTfaAddExceptionDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddExceptionDetails *tfaAddExceptionDetails; + +/// (no description). @note Ensure the `isTfaChangePolicyDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangePolicyDetails *tfaChangePolicyDetails; + +/// (no description). @note Ensure the `isTfaRemoveExceptionDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveExceptionDetails *tfaRemoveExceptionDetails; + +/// (no description). @note Ensure the `isTwoAccountChangePolicyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTwoAccountChangePolicyDetails *twoAccountChangePolicyDetails; + +/// (no description). @note Ensure the `isViewerInfoPolicyChangedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGViewerInfoPolicyChangedDetails *viewerInfoPolicyChangedDetails; + +/// (no description). @note Ensure the `isWatermarkingPolicyChangedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGWatermarkingPolicyChangedDetails *watermarkingPolicyChangedDetails; + +/// (no description). @note Ensure the +/// `isWebSessionsChangeActiveSessionLimitDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *webSessionsChangeActiveSessionLimitDetails; + +/// (no description). @note Ensure the +/// `isWebSessionsChangeFixedLengthPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *webSessionsChangeFixedLengthPolicyDetails; + +/// (no description). @note Ensure the +/// `isWebSessionsChangeIdleLengthPolicyDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *webSessionsChangeIdleLengthPolicyDetails; + +/// (no description). @note Ensure the +/// `isDataResidencyMigrationRequestSuccessfulDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *dataResidencyMigrationRequestSuccessfulDetails; + +/// (no description). @note Ensure the +/// `isDataResidencyMigrationRequestUnsuccessfulDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *dataResidencyMigrationRequestUnsuccessfulDetails; + +/// (no description). @note Ensure the `isTeamMergeFromDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeFromDetails *teamMergeFromDetails; + +/// (no description). @note Ensure the `isTeamMergeToDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeToDetails *teamMergeToDetails; + +/// (no description). @note Ensure the `isTeamProfileAddBackgroundDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileAddBackgroundDetails *teamProfileAddBackgroundDetails; + +/// (no description). @note Ensure the `isTeamProfileAddLogoDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileAddLogoDetails *teamProfileAddLogoDetails; + +/// (no description). @note Ensure the `isTeamProfileChangeBackgroundDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeBackgroundDetails *teamProfileChangeBackgroundDetails; + +/// (no description). @note Ensure the +/// `isTeamProfileChangeDefaultLanguageDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *teamProfileChangeDefaultLanguageDetails; + +/// (no description). @note Ensure the `isTeamProfileChangeLogoDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeLogoDetails *teamProfileChangeLogoDetails; + +/// (no description). @note Ensure the `isTeamProfileChangeNameDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeNameDetails *teamProfileChangeNameDetails; + +/// (no description). @note Ensure the `isTeamProfileRemoveBackgroundDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileRemoveBackgroundDetails *teamProfileRemoveBackgroundDetails; + +/// (no description). @note Ensure the `isTeamProfileRemoveLogoDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileRemoveLogoDetails *teamProfileRemoveLogoDetails; + +/// (no description). @note Ensure the `isTfaAddBackupPhoneDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddBackupPhoneDetails *tfaAddBackupPhoneDetails; + +/// (no description). @note Ensure the `isTfaAddSecurityKeyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddSecurityKeyDetails *tfaAddSecurityKeyDetails; + +/// (no description). @note Ensure the `isTfaChangeBackupPhoneDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangeBackupPhoneDetails *tfaChangeBackupPhoneDetails; + +/// (no description). @note Ensure the `isTfaChangeStatusDetails` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangeStatusDetails *tfaChangeStatusDetails; + +/// (no description). @note Ensure the `isTfaRemoveBackupPhoneDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveBackupPhoneDetails *tfaRemoveBackupPhoneDetails; + +/// (no description). @note Ensure the `isTfaRemoveSecurityKeyDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveSecurityKeyDetails *tfaRemoveSecurityKeyDetails; + +/// (no description). @note Ensure the `isTfaResetDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaResetDetails *tfaResetDetails; + +/// (no description). @note Ensure the `isChangedEnterpriseAdminRoleDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGChangedEnterpriseAdminRoleDetails *changedEnterpriseAdminRoleDetails; + +/// (no description). @note Ensure the +/// `isChangedEnterpriseConnectedTeamStatusDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *changedEnterpriseConnectedTeamStatusDetails; + +/// (no description). @note Ensure the `isEndedEnterpriseAdminSessionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGEndedEnterpriseAdminSessionDetails *endedEnterpriseAdminSessionDetails; + +/// (no description). @note Ensure the +/// `isEndedEnterpriseAdminSessionDeprecatedDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *endedEnterpriseAdminSessionDeprecatedDetails; + +/// (no description). @note Ensure the `isEnterpriseSettingsLockingDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGEnterpriseSettingsLockingDetails *enterpriseSettingsLockingDetails; + +/// (no description). @note Ensure the `isGuestAdminChangeStatusDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGuestAdminChangeStatusDetails *guestAdminChangeStatusDetails; + +/// (no description). @note Ensure the `isStartedEnterpriseAdminSessionDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGStartedEnterpriseAdminSessionDetails *startedEnterpriseAdminSessionDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestAcceptedDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAcceptedDetails *teamMergeRequestAcceptedDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestAcceptedShownToPrimaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *teamMergeRequestAcceptedShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestAcceptedShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *teamMergeRequestAcceptedShownToSecondaryTeamDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestAutoCanceledDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAutoCanceledDetails *teamMergeRequestAutoCanceledDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestCanceledDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestCanceledDetails *teamMergeRequestCanceledDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestCanceledShownToPrimaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *teamMergeRequestCanceledShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestCanceledShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *teamMergeRequestCanceledShownToSecondaryTeamDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestExpiredDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestExpiredDetails *teamMergeRequestExpiredDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestExpiredShownToPrimaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *teamMergeRequestExpiredShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestExpiredShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *teamMergeRequestExpiredShownToSecondaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestRejectedShownToPrimaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *teamMergeRequestRejectedShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestRejectedShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *teamMergeRequestRejectedShownToSecondaryTeamDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestReminderDetails` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestReminderDetails *teamMergeRequestReminderDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestReminderShownToPrimaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *teamMergeRequestReminderShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestReminderShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *teamMergeRequestReminderShownToSecondaryTeamDetails; + +/// (no description). @note Ensure the `isTeamMergeRequestRevokedDetails` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestRevokedDetails *teamMergeRequestRevokedDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestSentShownToPrimaryTeamDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *teamMergeRequestSentShownToPrimaryTeamDetails; + +/// (no description). @note Ensure the +/// `isTeamMergeRequestSentShownToSecondaryTeamDetails` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *teamMergeRequestSentShownToSecondaryTeamDetails; + +/// Hints that this event was returned with missing details due to an internal +/// error. @note Ensure the `isMissingDetails` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMissingDetails *missingDetails; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of +/// "admin_alerting_alert_state_changed_details". +/// +/// @param adminAlertingAlertStateChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingAlertStateChangedDetails: + (DBTEAMLOGAdminAlertingAlertStateChangedDetails *)adminAlertingAlertStateChangedDetails; + +/// +/// Initializes union class with tag state of +/// "admin_alerting_changed_alert_config_details". +/// +/// @param adminAlertingChangedAlertConfigDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingChangedAlertConfigDetails: + (DBTEAMLOGAdminAlertingChangedAlertConfigDetails *)adminAlertingChangedAlertConfigDetails; + +/// +/// Initializes union class with tag state of +/// "admin_alerting_triggered_alert_details". +/// +/// @param adminAlertingTriggeredAlertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingTriggeredAlertDetails: + (DBTEAMLOGAdminAlertingTriggeredAlertDetails *)adminAlertingTriggeredAlertDetails; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_completed_details". +/// +/// @param ransomwareRestoreProcessCompletedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessCompletedDetails: + (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)ransomwareRestoreProcessCompletedDetails; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_started_details". +/// +/// @param ransomwareRestoreProcessStartedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessStartedDetails: + (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)ransomwareRestoreProcessStartedDetails; + +/// +/// Initializes union class with tag state of +/// "app_blocked_by_permissions_details". +/// +/// @param appBlockedByPermissionsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppBlockedByPermissionsDetails: + (DBTEAMLOGAppBlockedByPermissionsDetails *)appBlockedByPermissionsDetails; + +/// +/// Initializes union class with tag state of "app_link_team_details". +/// +/// @param appLinkTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails; + +/// +/// Initializes union class with tag state of "app_link_user_details". +/// +/// @param appLinkUserDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails; + +/// +/// Initializes union class with tag state of "app_unlink_team_details". +/// +/// @param appUnlinkTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails; + +/// +/// Initializes union class with tag state of "app_unlink_user_details". +/// +/// @param appUnlinkUserDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails; + +/// +/// Initializes union class with tag state of "integration_connected_details". +/// +/// @param integrationConnectedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationConnectedDetails:(DBTEAMLOGIntegrationConnectedDetails *)integrationConnectedDetails; + +/// +/// Initializes union class with tag state of +/// "integration_disconnected_details". +/// +/// @param integrationDisconnectedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationDisconnectedDetails: + (DBTEAMLOGIntegrationDisconnectedDetails *)integrationDisconnectedDetails; + +/// +/// Initializes union class with tag state of "file_add_comment_details". +/// +/// @param fileAddCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails; + +/// +/// Initializes union class with tag state of +/// "file_change_comment_subscription_details". +/// +/// @param fileChangeCommentSubscriptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileChangeCommentSubscriptionDetails: + (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails; + +/// +/// Initializes union class with tag state of "file_delete_comment_details". +/// +/// @param fileDeleteCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails; + +/// +/// Initializes union class with tag state of "file_edit_comment_details". +/// +/// @param fileEditCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEditCommentDetails:(DBTEAMLOGFileEditCommentDetails *)fileEditCommentDetails; + +/// +/// Initializes union class with tag state of "file_like_comment_details". +/// +/// @param fileLikeCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails; + +/// +/// Initializes union class with tag state of "file_resolve_comment_details". +/// +/// @param fileResolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails; + +/// +/// Initializes union class with tag state of "file_unlike_comment_details". +/// +/// @param fileUnlikeCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails; + +/// +/// Initializes union class with tag state of "file_unresolve_comment_details". +/// +/// @param fileUnresolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnresolveCommentDetails:(DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_add_folders_details". +/// +/// @param governancePolicyAddFoldersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFoldersDetails: + (DBTEAMLOGGovernancePolicyAddFoldersDetails *)governancePolicyAddFoldersDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_add_folder_failed_details". +/// +/// @param governancePolicyAddFolderFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFolderFailedDetails: + (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)governancePolicyAddFolderFailedDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_content_disposed_details". +/// +/// @param governancePolicyContentDisposedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyContentDisposedDetails: + (DBTEAMLOGGovernancePolicyContentDisposedDetails *)governancePolicyContentDisposedDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_create_details". +/// +/// @param governancePolicyCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyCreateDetails: + (DBTEAMLOGGovernancePolicyCreateDetails *)governancePolicyCreateDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_delete_details". +/// +/// @param governancePolicyDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyDeleteDetails: + (DBTEAMLOGGovernancePolicyDeleteDetails *)governancePolicyDeleteDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_edit_details_details". +/// +/// @param governancePolicyEditDetailsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDetailsDetails: + (DBTEAMLOGGovernancePolicyEditDetailsDetails *)governancePolicyEditDetailsDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_edit_duration_details". +/// +/// @param governancePolicyEditDurationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDurationDetails: + (DBTEAMLOGGovernancePolicyEditDurationDetails *)governancePolicyEditDurationDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_created_details". +/// +/// @param governancePolicyExportCreatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportCreatedDetails: + (DBTEAMLOGGovernancePolicyExportCreatedDetails *)governancePolicyExportCreatedDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_removed_details". +/// +/// @param governancePolicyExportRemovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportRemovedDetails: + (DBTEAMLOGGovernancePolicyExportRemovedDetails *)governancePolicyExportRemovedDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_remove_folders_details". +/// +/// @param governancePolicyRemoveFoldersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyRemoveFoldersDetails: + (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)governancePolicyRemoveFoldersDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_report_created_details". +/// +/// @param governancePolicyReportCreatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyReportCreatedDetails: + (DBTEAMLOGGovernancePolicyReportCreatedDetails *)governancePolicyReportCreatedDetails; + +/// +/// Initializes union class with tag state of +/// "governance_policy_zip_part_downloaded_details". +/// +/// @param governancePolicyZipPartDownloadedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyZipPartDownloadedDetails: + (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)governancePolicyZipPartDownloadedDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_activate_a_hold_details". +/// +/// @param legalHoldsActivateAHoldDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsActivateAHoldDetails: + (DBTEAMLOGLegalHoldsActivateAHoldDetails *)legalHoldsActivateAHoldDetails; + +/// +/// Initializes union class with tag state of "legal_holds_add_members_details". +/// +/// @param legalHoldsAddMembersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsAddMembersDetails:(DBTEAMLOGLegalHoldsAddMembersDetails *)legalHoldsAddMembersDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_change_hold_details_details". +/// +/// @param legalHoldsChangeHoldDetailsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldDetailsDetails: + (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)legalHoldsChangeHoldDetailsDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_change_hold_name_details". +/// +/// @param legalHoldsChangeHoldNameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldNameDetails: + (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)legalHoldsChangeHoldNameDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_export_a_hold_details". +/// +/// @param legalHoldsExportAHoldDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportAHoldDetails: + (DBTEAMLOGLegalHoldsExportAHoldDetails *)legalHoldsExportAHoldDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_export_cancelled_details". +/// +/// @param legalHoldsExportCancelledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportCancelledDetails: + (DBTEAMLOGLegalHoldsExportCancelledDetails *)legalHoldsExportCancelledDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_export_downloaded_details". +/// +/// @param legalHoldsExportDownloadedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportDownloadedDetails: + (DBTEAMLOGLegalHoldsExportDownloadedDetails *)legalHoldsExportDownloadedDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_export_removed_details". +/// +/// @param legalHoldsExportRemovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportRemovedDetails: + (DBTEAMLOGLegalHoldsExportRemovedDetails *)legalHoldsExportRemovedDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_release_a_hold_details". +/// +/// @param legalHoldsReleaseAHoldDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReleaseAHoldDetails: + (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)legalHoldsReleaseAHoldDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_remove_members_details". +/// +/// @param legalHoldsRemoveMembersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsRemoveMembersDetails: + (DBTEAMLOGLegalHoldsRemoveMembersDetails *)legalHoldsRemoveMembersDetails; + +/// +/// Initializes union class with tag state of +/// "legal_holds_report_a_hold_details". +/// +/// @param legalHoldsReportAHoldDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReportAHoldDetails: + (DBTEAMLOGLegalHoldsReportAHoldDetails *)legalHoldsReportAHoldDetails; + +/// +/// Initializes union class with tag state of +/// "device_change_ip_desktop_details". +/// +/// @param deviceChangeIpDesktopDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpDesktopDetails: + (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails; + +/// +/// Initializes union class with tag state of "device_change_ip_mobile_details". +/// +/// @param deviceChangeIpMobileDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpMobileDetails:(DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails; + +/// +/// Initializes union class with tag state of "device_change_ip_web_details". +/// +/// @param deviceChangeIpWebDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails; + +/// +/// Initializes union class with tag state of +/// "device_delete_on_unlink_fail_details". +/// +/// @param deviceDeleteOnUnlinkFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkFailDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails; + +/// +/// Initializes union class with tag state of +/// "device_delete_on_unlink_success_details". +/// +/// @param deviceDeleteOnUnlinkSuccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkSuccessDetails: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails; + +/// +/// Initializes union class with tag state of "device_link_fail_details". +/// +/// @param deviceLinkFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails; + +/// +/// Initializes union class with tag state of "device_link_success_details". +/// +/// @param deviceLinkSuccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails; + +/// +/// Initializes union class with tag state of +/// "device_management_disabled_details". +/// +/// @param deviceManagementDisabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementDisabledDetails: + (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails; + +/// +/// Initializes union class with tag state of +/// "device_management_enabled_details". +/// +/// @param deviceManagementEnabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementEnabledDetails: + (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails; + +/// +/// Initializes union class with tag state of +/// "device_sync_backup_status_changed_details". +/// +/// @param deviceSyncBackupStatusChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceSyncBackupStatusChangedDetails: + (DBTEAMLOGDeviceSyncBackupStatusChangedDetails *)deviceSyncBackupStatusChangedDetails; + +/// +/// Initializes union class with tag state of "device_unlink_details". +/// +/// @param deviceUnlinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_exported_details". +/// +/// @param dropboxPasswordsExportedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsExportedDetails: + (DBTEAMLOGDropboxPasswordsExportedDetails *)dropboxPasswordsExportedDetails; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_new_device_enrolled_details". +/// +/// @param dropboxPasswordsNewDeviceEnrolledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolledDetails: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails *)dropboxPasswordsNewDeviceEnrolledDetails; + +/// +/// Initializes union class with tag state of "emm_refresh_auth_token_details". +/// +/// @param emmRefreshAuthTokenDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_eligibility_status_checked_details". +/// +/// @param externalDriveBackupEligibilityStatusCheckedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupEligibilityStatusCheckedDetails: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)externalDriveBackupEligibilityStatusCheckedDetails; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_status_changed_details". +/// +/// @param externalDriveBackupStatusChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupStatusChangedDetails: + (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)externalDriveBackupStatusChangedDetails; + +/// +/// Initializes union class with tag state of +/// "account_capture_change_availability_details". +/// +/// @param accountCaptureChangeAvailabilityDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangeAvailabilityDetails: + (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails; + +/// +/// Initializes union class with tag state of +/// "account_capture_migrate_account_details". +/// +/// @param accountCaptureMigrateAccountDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureMigrateAccountDetails: + (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails; + +/// +/// Initializes union class with tag state of +/// "account_capture_notification_emails_sent_details". +/// +/// @param accountCaptureNotificationEmailsSentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureNotificationEmailsSentDetails: + (DBTEAMLOGAccountCaptureNotificationEmailsSentDetails *)accountCaptureNotificationEmailsSentDetails; + +/// +/// Initializes union class with tag state of +/// "account_capture_relinquish_account_details". +/// +/// @param accountCaptureRelinquishAccountDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureRelinquishAccountDetails: + (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails; + +/// +/// Initializes union class with tag state of "disabled_domain_invites_details". +/// +/// @param disabledDomainInvitesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledDomainInvitesDetails: + (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_approve_request_to_join_team_details". +/// +/// @param domainInvitesApproveRequestToJoinTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_decline_request_to_join_team_details". +/// +/// @param domainInvitesDeclineRequestToJoinTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_email_existing_users_details". +/// +/// @param domainInvitesEmailExistingUsersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesEmailExistingUsersDetails: + (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_request_to_join_team_details". +/// +/// @param domainInvitesRequestToJoinTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesRequestToJoinTeamDetails: + (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_no_details". +/// +/// @param domainInvitesSetInviteNewUserPrefToNoDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNoDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_yes_details". +/// +/// @param domainInvitesSetInviteNewUserPrefToYesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYesDetails: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_fail_details". +/// +/// @param domainVerificationAddDomainFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainFailDetails: + (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_success_details". +/// +/// @param domainVerificationAddDomainSuccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainSuccessDetails: + (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails; + +/// +/// Initializes union class with tag state of +/// "domain_verification_remove_domain_details". +/// +/// @param domainVerificationRemoveDomainDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationRemoveDomainDetails: + (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails; + +/// +/// Initializes union class with tag state of "enabled_domain_invites_details". +/// +/// @param enabledDomainInvitesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabledDomainInvitesDetails:(DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_cancel_key_deletion_details". +/// +/// @param teamEncryptionKeyCancelKeyDeletionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)teamEncryptionKeyCancelKeyDeletionDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_create_key_details". +/// +/// @param teamEncryptionKeyCreateKeyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCreateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)teamEncryptionKeyCreateKeyDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_delete_key_details". +/// +/// @param teamEncryptionKeyDeleteKeyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDeleteKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)teamEncryptionKeyDeleteKeyDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_disable_key_details". +/// +/// @param teamEncryptionKeyDisableKeyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDisableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)teamEncryptionKeyDisableKeyDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_enable_key_details". +/// +/// @param teamEncryptionKeyEnableKeyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyEnableKeyDetails: + (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)teamEncryptionKeyEnableKeyDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_rotate_key_details". +/// +/// @param teamEncryptionKeyRotateKeyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyRotateKeyDetails: + (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)teamEncryptionKeyRotateKeyDetails; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_schedule_key_deletion_details". +/// +/// @param teamEncryptionKeyScheduleKeyDeletionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletionDetails: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)teamEncryptionKeyScheduleKeyDeletionDetails; + +/// +/// Initializes union class with tag state of "apply_naming_convention_details". +/// +/// @param applyNamingConventionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithApplyNamingConventionDetails: + (DBTEAMLOGApplyNamingConventionDetails *)applyNamingConventionDetails; + +/// +/// Initializes union class with tag state of "create_folder_details". +/// +/// @param createFolderDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)createFolderDetails; + +/// +/// Initializes union class with tag state of "file_add_details". +/// +/// @param fileAddDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddDetails:(DBTEAMLOGFileAddDetails *)fileAddDetails; + +/// +/// Initializes union class with tag state of +/// "file_add_from_automation_details". +/// +/// @param fileAddFromAutomationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddFromAutomationDetails: + (DBTEAMLOGFileAddFromAutomationDetails *)fileAddFromAutomationDetails; + +/// +/// Initializes union class with tag state of "file_copy_details". +/// +/// @param fileCopyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCopyDetails:(DBTEAMLOGFileCopyDetails *)fileCopyDetails; + +/// +/// Initializes union class with tag state of "file_delete_details". +/// +/// @param fileDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)fileDeleteDetails; + +/// +/// Initializes union class with tag state of "file_download_details". +/// +/// @param fileDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)fileDownloadDetails; + +/// +/// Initializes union class with tag state of "file_edit_details". +/// +/// @param fileEditDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEditDetails:(DBTEAMLOGFileEditDetails *)fileEditDetails; + +/// +/// Initializes union class with tag state of "file_get_copy_reference_details". +/// +/// @param fileGetCopyReferenceDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileGetCopyReferenceDetails:(DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails; + +/// +/// Initializes union class with tag state of +/// "file_locking_lock_status_changed_details". +/// +/// @param fileLockingLockStatusChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingLockStatusChangedDetails: + (DBTEAMLOGFileLockingLockStatusChangedDetails *)fileLockingLockStatusChangedDetails; + +/// +/// Initializes union class with tag state of "file_move_details". +/// +/// @param fileMoveDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileMoveDetails:(DBTEAMLOGFileMoveDetails *)fileMoveDetails; + +/// +/// Initializes union class with tag state of "file_permanently_delete_details". +/// +/// @param filePermanentlyDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePermanentlyDeleteDetails: + (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails; + +/// +/// Initializes union class with tag state of "file_preview_details". +/// +/// @param filePreviewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)filePreviewDetails; + +/// +/// Initializes union class with tag state of "file_rename_details". +/// +/// @param fileRenameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRenameDetails:(DBTEAMLOGFileRenameDetails *)fileRenameDetails; + +/// +/// Initializes union class with tag state of "file_restore_details". +/// +/// @param fileRestoreDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)fileRestoreDetails; + +/// +/// Initializes union class with tag state of "file_revert_details". +/// +/// @param fileRevertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRevertDetails:(DBTEAMLOGFileRevertDetails *)fileRevertDetails; + +/// +/// Initializes union class with tag state of "file_rollback_changes_details". +/// +/// @param fileRollbackChangesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails; + +/// +/// Initializes union class with tag state of +/// "file_save_copy_reference_details". +/// +/// @param fileSaveCopyReferenceDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileSaveCopyReferenceDetails: + (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails; + +/// +/// Initializes union class with tag state of +/// "folder_overview_description_changed_details". +/// +/// @param folderOverviewDescriptionChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewDescriptionChangedDetails: + (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)folderOverviewDescriptionChangedDetails; + +/// +/// Initializes union class with tag state of +/// "folder_overview_item_pinned_details". +/// +/// @param folderOverviewItemPinnedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemPinnedDetails: + (DBTEAMLOGFolderOverviewItemPinnedDetails *)folderOverviewItemPinnedDetails; + +/// +/// Initializes union class with tag state of +/// "folder_overview_item_unpinned_details". +/// +/// @param folderOverviewItemUnpinnedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemUnpinnedDetails: + (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)folderOverviewItemUnpinnedDetails; + +/// +/// Initializes union class with tag state of "object_label_added_details". +/// +/// @param objectLabelAddedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelAddedDetails:(DBTEAMLOGObjectLabelAddedDetails *)objectLabelAddedDetails; + +/// +/// Initializes union class with tag state of "object_label_removed_details". +/// +/// @param objectLabelRemovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelRemovedDetails:(DBTEAMLOGObjectLabelRemovedDetails *)objectLabelRemovedDetails; + +/// +/// Initializes union class with tag state of +/// "object_label_updated_value_details". +/// +/// @param objectLabelUpdatedValueDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelUpdatedValueDetails: + (DBTEAMLOGObjectLabelUpdatedValueDetails *)objectLabelUpdatedValueDetails; + +/// +/// Initializes union class with tag state of +/// "organize_folder_with_tidy_details". +/// +/// @param organizeFolderWithTidyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganizeFolderWithTidyDetails: + (DBTEAMLOGOrganizeFolderWithTidyDetails *)organizeFolderWithTidyDetails; + +/// +/// Initializes union class with tag state of "replay_file_delete_details". +/// +/// @param replayFileDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileDeleteDetails:(DBTEAMLOGReplayFileDeleteDetails *)replayFileDeleteDetails; + +/// +/// Initializes union class with tag state of "rewind_folder_details". +/// +/// @param rewindFolderDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindFolderDetails:(DBTEAMLOGRewindFolderDetails *)rewindFolderDetails; + +/// +/// Initializes union class with tag state of "undo_naming_convention_details". +/// +/// @param undoNamingConventionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoNamingConventionDetails:(DBTEAMLOGUndoNamingConventionDetails *)undoNamingConventionDetails; + +/// +/// Initializes union class with tag state of +/// "undo_organize_folder_with_tidy_details". +/// +/// @param undoOrganizeFolderWithTidyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoOrganizeFolderWithTidyDetails: + (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)undoOrganizeFolderWithTidyDetails; + +/// +/// Initializes union class with tag state of "user_tags_added_details". +/// +/// @param userTagsAddedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsAddedDetails:(DBTEAMLOGUserTagsAddedDetails *)userTagsAddedDetails; + +/// +/// Initializes union class with tag state of "user_tags_removed_details". +/// +/// @param userTagsRemovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsRemovedDetails:(DBTEAMLOGUserTagsRemovedDetails *)userTagsRemovedDetails; + +/// +/// Initializes union class with tag state of +/// "email_ingest_receive_file_details". +/// +/// @param emailIngestReceiveFileDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestReceiveFileDetails: + (DBTEAMLOGEmailIngestReceiveFileDetails *)emailIngestReceiveFileDetails; + +/// +/// Initializes union class with tag state of "file_request_change_details". +/// +/// @param fileRequestChangeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails; + +/// +/// Initializes union class with tag state of "file_request_close_details". +/// +/// @param fileRequestCloseDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails; + +/// +/// Initializes union class with tag state of "file_request_create_details". +/// +/// @param fileRequestCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails; + +/// +/// Initializes union class with tag state of "file_request_delete_details". +/// +/// @param fileRequestDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestDeleteDetails:(DBTEAMLOGFileRequestDeleteDetails *)fileRequestDeleteDetails; + +/// +/// Initializes union class with tag state of +/// "file_request_receive_file_details". +/// +/// @param fileRequestReceiveFileDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestReceiveFileDetails: + (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails; + +/// +/// Initializes union class with tag state of "group_add_external_id_details". +/// +/// @param groupAddExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails; + +/// +/// Initializes union class with tag state of "group_add_member_details". +/// +/// @param groupAddMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails; + +/// +/// Initializes union class with tag state of +/// "group_change_external_id_details". +/// +/// @param groupChangeExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeExternalIdDetails: + (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails; + +/// +/// Initializes union class with tag state of +/// "group_change_management_type_details". +/// +/// @param groupChangeManagementTypeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeManagementTypeDetails: + (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails; + +/// +/// Initializes union class with tag state of +/// "group_change_member_role_details". +/// +/// @param groupChangeMemberRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeMemberRoleDetails: + (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails; + +/// +/// Initializes union class with tag state of "group_create_details". +/// +/// @param groupCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)groupCreateDetails; + +/// +/// Initializes union class with tag state of "group_delete_details". +/// +/// @param groupDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails; + +/// +/// Initializes union class with tag state of +/// "group_description_updated_details". +/// +/// @param groupDescriptionUpdatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDescriptionUpdatedDetails: + (DBTEAMLOGGroupDescriptionUpdatedDetails *)groupDescriptionUpdatedDetails; + +/// +/// Initializes union class with tag state of +/// "group_join_policy_updated_details". +/// +/// @param groupJoinPolicyUpdatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupJoinPolicyUpdatedDetails: + (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)groupJoinPolicyUpdatedDetails; + +/// +/// Initializes union class with tag state of "group_moved_details". +/// +/// @param groupMovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)groupMovedDetails; + +/// +/// Initializes union class with tag state of +/// "group_remove_external_id_details". +/// +/// @param groupRemoveExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveExternalIdDetails: + (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails; + +/// +/// Initializes union class with tag state of "group_remove_member_details". +/// +/// @param groupRemoveMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails; + +/// +/// Initializes union class with tag state of "group_rename_details". +/// +/// @param groupRenameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)groupRenameDetails; + +/// +/// Initializes union class with tag state of +/// "account_lock_or_unlocked_details". +/// +/// @param accountLockOrUnlockedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountLockOrUnlockedDetails: + (DBTEAMLOGAccountLockOrUnlockedDetails *)accountLockOrUnlockedDetails; + +/// +/// Initializes union class with tag state of "emm_error_details". +/// +/// @param emmErrorDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)emmErrorDetails; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_in_via_trusted_teams_details". +/// +/// @param guestAdminSignedInViaTrustedTeamsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedInViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)guestAdminSignedInViaTrustedTeamsDetails; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_out_via_trusted_teams_details". +/// +/// @param guestAdminSignedOutViaTrustedTeamsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeamsDetails: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)guestAdminSignedOutViaTrustedTeamsDetails; + +/// +/// Initializes union class with tag state of "login_fail_details". +/// +/// @param loginFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginFailDetails:(DBTEAMLOGLoginFailDetails *)loginFailDetails; + +/// +/// Initializes union class with tag state of "login_success_details". +/// +/// @param loginSuccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails; + +/// +/// Initializes union class with tag state of "logout_details". +/// +/// @param logoutDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLogoutDetails:(DBTEAMLOGLogoutDetails *)logoutDetails; + +/// +/// Initializes union class with tag state of +/// "reseller_support_session_end_details". +/// +/// @param resellerSupportSessionEndDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionEndDetails: + (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails; + +/// +/// Initializes union class with tag state of +/// "reseller_support_session_start_details". +/// +/// @param resellerSupportSessionStartDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionStartDetails: + (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails; + +/// +/// Initializes union class with tag state of "sign_in_as_session_end_details". +/// +/// @param signInAsSessionEndDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails; + +/// +/// Initializes union class with tag state of +/// "sign_in_as_session_start_details". +/// +/// @param signInAsSessionStartDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails; + +/// +/// Initializes union class with tag state of "sso_error_details". +/// +/// @param ssoErrorDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)ssoErrorDetails; + +/// +/// Initializes union class with tag state of +/// "backup_admin_invitation_sent_details". +/// +/// @param backupAdminInvitationSentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupAdminInvitationSentDetails: + (DBTEAMLOGBackupAdminInvitationSentDetails *)backupAdminInvitationSentDetails; + +/// +/// Initializes union class with tag state of +/// "backup_invitation_opened_details". +/// +/// @param backupInvitationOpenedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupInvitationOpenedDetails: + (DBTEAMLOGBackupInvitationOpenedDetails *)backupInvitationOpenedDetails; + +/// +/// Initializes union class with tag state of "create_team_invite_link_details". +/// +/// @param createTeamInviteLinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateTeamInviteLinkDetails:(DBTEAMLOGCreateTeamInviteLinkDetails *)createTeamInviteLinkDetails; + +/// +/// Initializes union class with tag state of "delete_team_invite_link_details". +/// +/// @param deleteTeamInviteLinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteTeamInviteLinkDetails:(DBTEAMLOGDeleteTeamInviteLinkDetails *)deleteTeamInviteLinkDetails; + +/// +/// Initializes union class with tag state of "member_add_external_id_details". +/// +/// @param memberAddExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddExternalIdDetails:(DBTEAMLOGMemberAddExternalIdDetails *)memberAddExternalIdDetails; + +/// +/// Initializes union class with tag state of "member_add_name_details". +/// +/// @param memberAddNameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails; + +/// +/// Initializes union class with tag state of +/// "member_change_admin_role_details". +/// +/// @param memberChangeAdminRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeAdminRoleDetails: + (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails; + +/// +/// Initializes union class with tag state of "member_change_email_details". +/// +/// @param memberChangeEmailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails; + +/// +/// Initializes union class with tag state of +/// "member_change_external_id_details". +/// +/// @param memberChangeExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeExternalIdDetails: + (DBTEAMLOGMemberChangeExternalIdDetails *)memberChangeExternalIdDetails; + +/// +/// Initializes union class with tag state of +/// "member_change_membership_type_details". +/// +/// @param memberChangeMembershipTypeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeMembershipTypeDetails: + (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails; + +/// +/// Initializes union class with tag state of "member_change_name_details". +/// +/// @param memberChangeNameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails; + +/// +/// Initializes union class with tag state of +/// "member_change_reseller_role_details". +/// +/// @param memberChangeResellerRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeResellerRoleDetails: + (DBTEAMLOGMemberChangeResellerRoleDetails *)memberChangeResellerRoleDetails; + +/// +/// Initializes union class with tag state of "member_change_status_details". +/// +/// @param memberChangeStatusDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails; + +/// +/// Initializes union class with tag state of +/// "member_delete_manual_contacts_details". +/// +/// @param memberDeleteManualContactsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteManualContactsDetails: + (DBTEAMLOGMemberDeleteManualContactsDetails *)memberDeleteManualContactsDetails; + +/// +/// Initializes union class with tag state of +/// "member_delete_profile_photo_details". +/// +/// @param memberDeleteProfilePhotoDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteProfilePhotoDetails: + (DBTEAMLOGMemberDeleteProfilePhotoDetails *)memberDeleteProfilePhotoDetails; + +/// +/// Initializes union class with tag state of +/// "member_permanently_delete_account_contents_details". +/// +/// @param memberPermanentlyDeleteAccountContentsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberPermanentlyDeleteAccountContentsDetails: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails; + +/// +/// Initializes union class with tag state of +/// "member_remove_external_id_details". +/// +/// @param memberRemoveExternalIdDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRemoveExternalIdDetails: + (DBTEAMLOGMemberRemoveExternalIdDetails *)memberRemoveExternalIdDetails; + +/// +/// Initializes union class with tag state of +/// "member_set_profile_photo_details". +/// +/// @param memberSetProfilePhotoDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSetProfilePhotoDetails: + (DBTEAMLOGMemberSetProfilePhotoDetails *)memberSetProfilePhotoDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_custom_quota_details". +/// +/// @param memberSpaceLimitsAddCustomQuotaDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)memberSpaceLimitsAddCustomQuotaDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_custom_quota_details". +/// +/// @param memberSpaceLimitsChangeCustomQuotaDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)memberSpaceLimitsChangeCustomQuotaDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_status_details". +/// +/// @param memberSpaceLimitsChangeStatusDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeStatusDetails: + (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_custom_quota_details". +/// +/// @param memberSpaceLimitsRemoveCustomQuotaDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuotaDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)memberSpaceLimitsRemoveCustomQuotaDetails; + +/// +/// Initializes union class with tag state of "member_suggest_details". +/// +/// @param memberSuggestDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails; + +/// +/// Initializes union class with tag state of +/// "member_transfer_account_contents_details". +/// +/// @param memberTransferAccountContentsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberTransferAccountContentsDetails: + (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails; + +/// +/// Initializes union class with tag state of +/// "pending_secondary_email_added_details". +/// +/// @param pendingSecondaryEmailAddedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPendingSecondaryEmailAddedDetails: + (DBTEAMLOGPendingSecondaryEmailAddedDetails *)pendingSecondaryEmailAddedDetails; + +/// +/// Initializes union class with tag state of "secondary_email_deleted_details". +/// +/// @param secondaryEmailDeletedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailDeletedDetails: + (DBTEAMLOGSecondaryEmailDeletedDetails *)secondaryEmailDeletedDetails; + +/// +/// Initializes union class with tag state of +/// "secondary_email_verified_details". +/// +/// @param secondaryEmailVerifiedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailVerifiedDetails: + (DBTEAMLOGSecondaryEmailVerifiedDetails *)secondaryEmailVerifiedDetails; + +/// +/// Initializes union class with tag state of +/// "secondary_mails_policy_changed_details". +/// +/// @param secondaryMailsPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryMailsPolicyChangedDetails: + (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)secondaryMailsPolicyChangedDetails; + +/// +/// Initializes union class with tag state of "binder_add_page_details". +/// +/// @param binderAddPageDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddPageDetails:(DBTEAMLOGBinderAddPageDetails *)binderAddPageDetails; + +/// +/// Initializes union class with tag state of "binder_add_section_details". +/// +/// @param binderAddSectionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddSectionDetails:(DBTEAMLOGBinderAddSectionDetails *)binderAddSectionDetails; + +/// +/// Initializes union class with tag state of "binder_remove_page_details". +/// +/// @param binderRemovePageDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemovePageDetails:(DBTEAMLOGBinderRemovePageDetails *)binderRemovePageDetails; + +/// +/// Initializes union class with tag state of "binder_remove_section_details". +/// +/// @param binderRemoveSectionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemoveSectionDetails:(DBTEAMLOGBinderRemoveSectionDetails *)binderRemoveSectionDetails; + +/// +/// Initializes union class with tag state of "binder_rename_page_details". +/// +/// @param binderRenamePageDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenamePageDetails:(DBTEAMLOGBinderRenamePageDetails *)binderRenamePageDetails; + +/// +/// Initializes union class with tag state of "binder_rename_section_details". +/// +/// @param binderRenameSectionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenameSectionDetails:(DBTEAMLOGBinderRenameSectionDetails *)binderRenameSectionDetails; + +/// +/// Initializes union class with tag state of "binder_reorder_page_details". +/// +/// @param binderReorderPageDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderPageDetails:(DBTEAMLOGBinderReorderPageDetails *)binderReorderPageDetails; + +/// +/// Initializes union class with tag state of "binder_reorder_section_details". +/// +/// @param binderReorderSectionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderSectionDetails:(DBTEAMLOGBinderReorderSectionDetails *)binderReorderSectionDetails; + +/// +/// Initializes union class with tag state of +/// "paper_content_add_member_details". +/// +/// @param paperContentAddMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddMemberDetails: + (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails; + +/// +/// Initializes union class with tag state of +/// "paper_content_add_to_folder_details". +/// +/// @param paperContentAddToFolderDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddToFolderDetails: + (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails; + +/// +/// Initializes union class with tag state of "paper_content_archive_details". +/// +/// @param paperContentArchiveDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails; + +/// +/// Initializes union class with tag state of "paper_content_create_details". +/// +/// @param paperContentCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails; + +/// +/// Initializes union class with tag state of +/// "paper_content_permanently_delete_details". +/// +/// @param paperContentPermanentlyDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentPermanentlyDeleteDetails: + (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails; + +/// +/// Initializes union class with tag state of +/// "paper_content_remove_from_folder_details". +/// +/// @param paperContentRemoveFromFolderDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveFromFolderDetails: + (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails; + +/// +/// Initializes union class with tag state of +/// "paper_content_remove_member_details". +/// +/// @param paperContentRemoveMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveMemberDetails: + (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails; + +/// +/// Initializes union class with tag state of "paper_content_rename_details". +/// +/// @param paperContentRenameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails; + +/// +/// Initializes union class with tag state of "paper_content_restore_details". +/// +/// @param paperContentRestoreDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails; + +/// +/// Initializes union class with tag state of "paper_doc_add_comment_details". +/// +/// @param paperDocAddCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_change_member_role_details". +/// +/// @param paperDocChangeMemberRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeMemberRoleDetails: + (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_change_sharing_policy_details". +/// +/// @param paperDocChangeSharingPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSharingPolicyDetails: + (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_change_subscription_details". +/// +/// @param paperDocChangeSubscriptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSubscriptionDetails: + (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails; + +/// +/// Initializes union class with tag state of "paper_doc_deleted_details". +/// +/// @param paperDocDeletedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_delete_comment_details". +/// +/// @param paperDocDeleteCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeleteCommentDetails: + (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails; + +/// +/// Initializes union class with tag state of "paper_doc_download_details". +/// +/// @param paperDocDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails; + +/// +/// Initializes union class with tag state of "paper_doc_edit_details". +/// +/// @param paperDocEditDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails; + +/// +/// Initializes union class with tag state of "paper_doc_edit_comment_details". +/// +/// @param paperDocEditCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails; + +/// +/// Initializes union class with tag state of "paper_doc_followed_details". +/// +/// @param paperDocFollowedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails; + +/// +/// Initializes union class with tag state of "paper_doc_mention_details". +/// +/// @param paperDocMentionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_ownership_changed_details". +/// +/// @param paperDocOwnershipChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocOwnershipChangedDetails: + (DBTEAMLOGPaperDocOwnershipChangedDetails *)paperDocOwnershipChangedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_request_access_details". +/// +/// @param paperDocRequestAccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRequestAccessDetails: + (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_resolve_comment_details". +/// +/// @param paperDocResolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocResolveCommentDetails: + (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails; + +/// +/// Initializes union class with tag state of "paper_doc_revert_details". +/// +/// @param paperDocRevertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails; + +/// +/// Initializes union class with tag state of "paper_doc_slack_share_details". +/// +/// @param paperDocSlackShareDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails; + +/// +/// Initializes union class with tag state of "paper_doc_team_invite_details". +/// +/// @param paperDocTeamInviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails; + +/// +/// Initializes union class with tag state of "paper_doc_trashed_details". +/// +/// @param paperDocTrashedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_doc_unresolve_comment_details". +/// +/// @param paperDocUnresolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUnresolveCommentDetails: + (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails; + +/// +/// Initializes union class with tag state of "paper_doc_untrashed_details". +/// +/// @param paperDocUntrashedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails; + +/// +/// Initializes union class with tag state of "paper_doc_view_details". +/// +/// @param paperDocViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails; + +/// +/// Initializes union class with tag state of +/// "paper_external_view_allow_details". +/// +/// @param paperExternalViewAllowDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewAllowDetails: + (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails; + +/// +/// Initializes union class with tag state of +/// "paper_external_view_default_team_details". +/// +/// @param paperExternalViewDefaultTeamDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewDefaultTeamDetails: + (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails; + +/// +/// Initializes union class with tag state of +/// "paper_external_view_forbid_details". +/// +/// @param paperExternalViewForbidDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewForbidDetails: + (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails; + +/// +/// Initializes union class with tag state of +/// "paper_folder_change_subscription_details". +/// +/// @param paperFolderChangeSubscriptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderChangeSubscriptionDetails: + (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails; + +/// +/// Initializes union class with tag state of "paper_folder_deleted_details". +/// +/// @param paperFolderDeletedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails; + +/// +/// Initializes union class with tag state of "paper_folder_followed_details". +/// +/// @param paperFolderFollowedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_folder_team_invite_details". +/// +/// @param paperFolderTeamInviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderTeamInviteDetails: + (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_change_permission_details". +/// +/// @param paperPublishedLinkChangePermissionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkChangePermissionDetails: + (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)paperPublishedLinkChangePermissionDetails; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_create_details". +/// +/// @param paperPublishedLinkCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkCreateDetails: + (DBTEAMLOGPaperPublishedLinkCreateDetails *)paperPublishedLinkCreateDetails; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_disabled_details". +/// +/// @param paperPublishedLinkDisabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkDisabledDetails: + (DBTEAMLOGPaperPublishedLinkDisabledDetails *)paperPublishedLinkDisabledDetails; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_view_details". +/// +/// @param paperPublishedLinkViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkViewDetails: + (DBTEAMLOGPaperPublishedLinkViewDetails *)paperPublishedLinkViewDetails; + +/// +/// Initializes union class with tag state of "password_change_details". +/// +/// @param passwordChangeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails; + +/// +/// Initializes union class with tag state of "password_reset_details". +/// +/// @param passwordResetDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)passwordResetDetails; + +/// +/// Initializes union class with tag state of "password_reset_all_details". +/// +/// @param passwordResetAllDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails; + +/// +/// Initializes union class with tag state of +/// "classification_create_report_details". +/// +/// @param classificationCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReportDetails: + (DBTEAMLOGClassificationCreateReportDetails *)classificationCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "classification_create_report_fail_details". +/// +/// @param classificationCreateReportFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReportFailDetails: + (DBTEAMLOGClassificationCreateReportFailDetails *)classificationCreateReportFailDetails; + +/// +/// Initializes union class with tag state of +/// "emm_create_exceptions_report_details". +/// +/// @param emmCreateExceptionsReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateExceptionsReportDetails: + (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails; + +/// +/// Initializes union class with tag state of "emm_create_usage_report_details". +/// +/// @param emmCreateUsageReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateUsageReportDetails:(DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails; + +/// +/// Initializes union class with tag state of "export_members_report_details". +/// +/// @param exportMembersReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReportDetails:(DBTEAMLOGExportMembersReportDetails *)exportMembersReportDetails; + +/// +/// Initializes union class with tag state of +/// "export_members_report_fail_details". +/// +/// @param exportMembersReportFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReportFailDetails: + (DBTEAMLOGExportMembersReportFailDetails *)exportMembersReportFailDetails; + +/// +/// Initializes union class with tag state of +/// "external_sharing_create_report_details". +/// +/// @param externalSharingCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingCreateReportDetails: + (DBTEAMLOGExternalSharingCreateReportDetails *)externalSharingCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "external_sharing_report_failed_details". +/// +/// @param externalSharingReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingReportFailedDetails: + (DBTEAMLOGExternalSharingReportFailedDetails *)externalSharingReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_create_report_details". +/// +/// @param noExpirationLinkGenCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenCreateReportDetails: + (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)noExpirationLinkGenCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_report_failed_details". +/// +/// @param noExpirationLinkGenReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenReportFailedDetails: + (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)noExpirationLinkGenReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_create_report_details". +/// +/// @param noPasswordLinkGenCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenCreateReportDetails: + (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)noPasswordLinkGenCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_report_failed_details". +/// +/// @param noPasswordLinkGenReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenReportFailedDetails: + (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)noPasswordLinkGenReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_create_report_details". +/// +/// @param noPasswordLinkViewCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewCreateReportDetails: + (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)noPasswordLinkViewCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_report_failed_details". +/// +/// @param noPasswordLinkViewReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewReportFailedDetails: + (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)noPasswordLinkViewReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_create_report_details". +/// +/// @param outdatedLinkViewCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewCreateReportDetails: + (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)outdatedLinkViewCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_report_failed_details". +/// +/// @param outdatedLinkViewReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewReportFailedDetails: + (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)outdatedLinkViewReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_admin_export_start_details". +/// +/// @param paperAdminExportStartDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperAdminExportStartDetails: + (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails; + +/// +/// Initializes union class with tag state of +/// "ransomware_alert_create_report_details". +/// +/// @param ransomwareAlertCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReportDetails: + (DBTEAMLOGRansomwareAlertCreateReportDetails *)ransomwareAlertCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "ransomware_alert_create_report_failed_details". +/// +/// @param ransomwareAlertCreateReportFailedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReportFailedDetails: + (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)ransomwareAlertCreateReportFailedDetails; + +/// +/// Initializes union class with tag state of +/// "smart_sync_create_admin_privilege_report_details". +/// +/// @param smartSyncCreateAdminPrivilegeReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReportDetails: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails; + +/// +/// Initializes union class with tag state of +/// "team_activity_create_report_details". +/// +/// @param teamActivityCreateReportDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReportDetails: + (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails; + +/// +/// Initializes union class with tag state of +/// "team_activity_create_report_fail_details". +/// +/// @param teamActivityCreateReportFailDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReportFailDetails: + (DBTEAMLOGTeamActivityCreateReportFailDetails *)teamActivityCreateReportFailDetails; + +/// +/// Initializes union class with tag state of "collection_share_details". +/// +/// @param collectionShareDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)collectionShareDetails; + +/// +/// Initializes union class with tag state of "file_transfers_file_add_details". +/// +/// @param fileTransfersFileAddDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersFileAddDetails:(DBTEAMLOGFileTransfersFileAddDetails *)fileTransfersFileAddDetails; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_delete_details". +/// +/// @param fileTransfersTransferDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDeleteDetails: + (DBTEAMLOGFileTransfersTransferDeleteDetails *)fileTransfersTransferDeleteDetails; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_download_details". +/// +/// @param fileTransfersTransferDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDownloadDetails: + (DBTEAMLOGFileTransfersTransferDownloadDetails *)fileTransfersTransferDownloadDetails; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_send_details". +/// +/// @param fileTransfersTransferSendDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferSendDetails: + (DBTEAMLOGFileTransfersTransferSendDetails *)fileTransfersTransferSendDetails; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_view_details". +/// +/// @param fileTransfersTransferViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferViewDetails: + (DBTEAMLOGFileTransfersTransferViewDetails *)fileTransfersTransferViewDetails; + +/// +/// Initializes union class with tag state of "note_acl_invite_only_details". +/// +/// @param noteAclInviteOnlyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails; + +/// +/// Initializes union class with tag state of "note_acl_link_details". +/// +/// @param noteAclLinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails; + +/// +/// Initializes union class with tag state of "note_acl_team_link_details". +/// +/// @param noteAclTeamLinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails; + +/// +/// Initializes union class with tag state of "note_shared_details". +/// +/// @param noteSharedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)noteSharedDetails; + +/// +/// Initializes union class with tag state of "note_share_receive_details". +/// +/// @param noteShareReceiveDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails; + +/// +/// Initializes union class with tag state of "open_note_shared_details". +/// +/// @param openNoteSharedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails; + +/// +/// Initializes union class with tag state of +/// "replay_file_shared_link_created_details". +/// +/// @param replayFileSharedLinkCreatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkCreatedDetails: + (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)replayFileSharedLinkCreatedDetails; + +/// +/// Initializes union class with tag state of +/// "replay_file_shared_link_modified_details". +/// +/// @param replayFileSharedLinkModifiedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkModifiedDetails: + (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)replayFileSharedLinkModifiedDetails; + +/// +/// Initializes union class with tag state of "replay_project_team_add_details". +/// +/// @param replayProjectTeamAddDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamAddDetails:(DBTEAMLOGReplayProjectTeamAddDetails *)replayProjectTeamAddDetails; + +/// +/// Initializes union class with tag state of +/// "replay_project_team_delete_details". +/// +/// @param replayProjectTeamDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamDeleteDetails: + (DBTEAMLOGReplayProjectTeamDeleteDetails *)replayProjectTeamDeleteDetails; + +/// +/// Initializes union class with tag state of "sf_add_group_details". +/// +/// @param sfAddGroupDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails; + +/// +/// Initializes union class with tag state of +/// "sf_allow_non_members_to_view_shared_links_details". +/// +/// @param sfAllowNonMembersToViewSharedLinksDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAllowNonMembersToViewSharedLinksDetails: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails; + +/// +/// Initializes union class with tag state of "sf_external_invite_warn_details". +/// +/// @param sfExternalInviteWarnDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfExternalInviteWarnDetails:(DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails; + +/// +/// Initializes union class with tag state of "sf_fb_invite_details". +/// +/// @param sfFbInviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInviteDetails:(DBTEAMLOGSfFbInviteDetails *)sfFbInviteDetails; + +/// +/// Initializes union class with tag state of +/// "sf_fb_invite_change_role_details". +/// +/// @param sfFbInviteChangeRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInviteChangeRoleDetails:(DBTEAMLOGSfFbInviteChangeRoleDetails *)sfFbInviteChangeRoleDetails; + +/// +/// Initializes union class with tag state of "sf_fb_uninvite_details". +/// +/// @param sfFbUninviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbUninviteDetails:(DBTEAMLOGSfFbUninviteDetails *)sfFbUninviteDetails; + +/// +/// Initializes union class with tag state of "sf_invite_group_details". +/// +/// @param sfInviteGroupDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails; + +/// +/// Initializes union class with tag state of "sf_team_grant_access_details". +/// +/// @param sfTeamGrantAccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails; + +/// +/// Initializes union class with tag state of "sf_team_invite_details". +/// +/// @param sfTeamInviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails; + +/// +/// Initializes union class with tag state of +/// "sf_team_invite_change_role_details". +/// +/// @param sfTeamInviteChangeRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInviteChangeRoleDetails: + (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails; + +/// +/// Initializes union class with tag state of "sf_team_join_details". +/// +/// @param sfTeamJoinDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails; + +/// +/// Initializes union class with tag state of +/// "sf_team_join_from_oob_link_details". +/// +/// @param sfTeamJoinFromOobLinkDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoinFromOobLinkDetails: + (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails; + +/// +/// Initializes union class with tag state of "sf_team_uninvite_details". +/// +/// @param sfTeamUninviteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_invitees_details". +/// +/// @param sharedContentAddInviteesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddInviteesDetails: + (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_link_expiry_details". +/// +/// @param sharedContentAddLinkExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkExpiryDetails: + (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_link_password_details". +/// +/// @param sharedContentAddLinkPasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkPasswordDetails: + (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_member_details". +/// +/// @param sharedContentAddMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddMemberDetails: + (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_downloads_policy_details". +/// +/// @param sharedContentChangeDownloadsPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeDownloadsPolicyDetails: + (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_invitee_role_details". +/// +/// @param sharedContentChangeInviteeRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeInviteeRoleDetails: + (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_audience_details". +/// +/// @param sharedContentChangeLinkAudienceDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkAudienceDetails: + (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_expiry_details". +/// +/// @param sharedContentChangeLinkExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkExpiryDetails: + (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_password_details". +/// +/// @param sharedContentChangeLinkPasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkPasswordDetails: + (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_member_role_details". +/// +/// @param sharedContentChangeMemberRoleDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeMemberRoleDetails: + (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_viewer_info_policy_details". +/// +/// @param sharedContentChangeViewerInfoPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeViewerInfoPolicyDetails: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_claim_invitation_details". +/// +/// @param sharedContentClaimInvitationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentClaimInvitationDetails: + (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails; + +/// +/// Initializes union class with tag state of "shared_content_copy_details". +/// +/// @param sharedContentCopyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails; + +/// +/// Initializes union class with tag state of "shared_content_download_details". +/// +/// @param sharedContentDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentDownloadDetails: + (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_relinquish_membership_details". +/// +/// @param sharedContentRelinquishMembershipDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRelinquishMembershipDetails: + (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_invitees_details". +/// +/// @param sharedContentRemoveInviteesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveInviteesDetails: + (DBTEAMLOGSharedContentRemoveInviteesDetails *)sharedContentRemoveInviteesDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_expiry_details". +/// +/// @param sharedContentRemoveLinkExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkExpiryDetails: + (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_password_details". +/// +/// @param sharedContentRemoveLinkPasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkPasswordDetails: + (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_member_details". +/// +/// @param sharedContentRemoveMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveMemberDetails: + (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_request_access_details". +/// +/// @param sharedContentRequestAccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRequestAccessDetails: + (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_restore_invitees_details". +/// +/// @param sharedContentRestoreInviteesDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreInviteesDetails: + (DBTEAMLOGSharedContentRestoreInviteesDetails *)sharedContentRestoreInviteesDetails; + +/// +/// Initializes union class with tag state of +/// "shared_content_restore_member_details". +/// +/// @param sharedContentRestoreMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreMemberDetails: + (DBTEAMLOGSharedContentRestoreMemberDetails *)sharedContentRestoreMemberDetails; + +/// +/// Initializes union class with tag state of "shared_content_unshare_details". +/// +/// @param sharedContentUnshareDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentUnshareDetails:(DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails; + +/// +/// Initializes union class with tag state of "shared_content_view_details". +/// +/// @param sharedContentViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_link_policy_details". +/// +/// @param sharedFolderChangeLinkPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeLinkPolicyDetails: + (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_inheritance_policy_details". +/// +/// @param sharedFolderChangeMembersInheritancePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)sharedFolderChangeMembersInheritancePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_management_policy_details". +/// +/// @param sharedFolderChangeMembersManagementPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersManagementPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)sharedFolderChangeMembersManagementPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_policy_details". +/// +/// @param sharedFolderChangeMembersPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersPolicyDetails: + (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)sharedFolderChangeMembersPolicyDetails; + +/// +/// Initializes union class with tag state of "shared_folder_create_details". +/// +/// @param sharedFolderCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_decline_invitation_details". +/// +/// @param sharedFolderDeclineInvitationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderDeclineInvitationDetails: + (DBTEAMLOGSharedFolderDeclineInvitationDetails *)sharedFolderDeclineInvitationDetails; + +/// +/// Initializes union class with tag state of "shared_folder_mount_details". +/// +/// @param sharedFolderMountDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails; + +/// +/// Initializes union class with tag state of "shared_folder_nest_details". +/// +/// @param sharedFolderNestDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderNestDetails:(DBTEAMLOGSharedFolderNestDetails *)sharedFolderNestDetails; + +/// +/// Initializes union class with tag state of +/// "shared_folder_transfer_ownership_details". +/// +/// @param sharedFolderTransferOwnershipDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderTransferOwnershipDetails: + (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails; + +/// +/// Initializes union class with tag state of "shared_folder_unmount_details". +/// +/// @param sharedFolderUnmountDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails; + +/// +/// Initializes union class with tag state of "shared_link_add_expiry_details". +/// +/// @param sharedLinkAddExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkAddExpiryDetails:(DBTEAMLOGSharedLinkAddExpiryDetails *)sharedLinkAddExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_change_expiry_details". +/// +/// @param sharedLinkChangeExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeExpiryDetails: + (DBTEAMLOGSharedLinkChangeExpiryDetails *)sharedLinkChangeExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_change_visibility_details". +/// +/// @param sharedLinkChangeVisibilityDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeVisibilityDetails: + (DBTEAMLOGSharedLinkChangeVisibilityDetails *)sharedLinkChangeVisibilityDetails; + +/// +/// Initializes union class with tag state of "shared_link_copy_details". +/// +/// @param sharedLinkCopyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCopyDetails:(DBTEAMLOGSharedLinkCopyDetails *)sharedLinkCopyDetails; + +/// +/// Initializes union class with tag state of "shared_link_create_details". +/// +/// @param sharedLinkCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCreateDetails:(DBTEAMLOGSharedLinkCreateDetails *)sharedLinkCreateDetails; + +/// +/// Initializes union class with tag state of "shared_link_disable_details". +/// +/// @param sharedLinkDisableDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDisableDetails:(DBTEAMLOGSharedLinkDisableDetails *)sharedLinkDisableDetails; + +/// +/// Initializes union class with tag state of "shared_link_download_details". +/// +/// @param sharedLinkDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDownloadDetails:(DBTEAMLOGSharedLinkDownloadDetails *)sharedLinkDownloadDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_remove_expiry_details". +/// +/// @param sharedLinkRemoveExpiryDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkRemoveExpiryDetails: + (DBTEAMLOGSharedLinkRemoveExpiryDetails *)sharedLinkRemoveExpiryDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_expiration_details". +/// +/// @param sharedLinkSettingsAddExpirationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddExpirationDetails: + (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)sharedLinkSettingsAddExpirationDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_password_details". +/// +/// @param sharedLinkSettingsAddPasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddPasswordDetails: + (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)sharedLinkSettingsAddPasswordDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_disabled_details". +/// +/// @param sharedLinkSettingsAllowDownloadDisabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)sharedLinkSettingsAllowDownloadDisabledDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_enabled_details". +/// +/// @param sharedLinkSettingsAllowDownloadEnabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabledDetails: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)sharedLinkSettingsAllowDownloadEnabledDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_audience_details". +/// +/// @param sharedLinkSettingsChangeAudienceDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeAudienceDetails: + (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)sharedLinkSettingsChangeAudienceDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_expiration_details". +/// +/// @param sharedLinkSettingsChangeExpirationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeExpirationDetails: + (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)sharedLinkSettingsChangeExpirationDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_password_details". +/// +/// @param sharedLinkSettingsChangePasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangePasswordDetails: + (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)sharedLinkSettingsChangePasswordDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_expiration_details". +/// +/// @param sharedLinkSettingsRemoveExpirationDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemoveExpirationDetails: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)sharedLinkSettingsRemoveExpirationDetails; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_password_details". +/// +/// @param sharedLinkSettingsRemovePasswordDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemovePasswordDetails: + (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)sharedLinkSettingsRemovePasswordDetails; + +/// +/// Initializes union class with tag state of "shared_link_share_details". +/// +/// @param sharedLinkShareDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkShareDetails:(DBTEAMLOGSharedLinkShareDetails *)sharedLinkShareDetails; + +/// +/// Initializes union class with tag state of "shared_link_view_details". +/// +/// @param sharedLinkViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkViewDetails:(DBTEAMLOGSharedLinkViewDetails *)sharedLinkViewDetails; + +/// +/// Initializes union class with tag state of "shared_note_opened_details". +/// +/// @param sharedNoteOpenedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails; + +/// +/// Initializes union class with tag state of +/// "shmodel_disable_downloads_details". +/// +/// @param shmodelDisableDownloadsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelDisableDownloadsDetails: + (DBTEAMLOGShmodelDisableDownloadsDetails *)shmodelDisableDownloadsDetails; + +/// +/// Initializes union class with tag state of +/// "shmodel_enable_downloads_details". +/// +/// @param shmodelEnableDownloadsDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelEnableDownloadsDetails: + (DBTEAMLOGShmodelEnableDownloadsDetails *)shmodelEnableDownloadsDetails; + +/// +/// Initializes union class with tag state of "shmodel_group_share_details". +/// +/// @param shmodelGroupShareDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails; + +/// +/// Initializes union class with tag state of "showcase_access_granted_details". +/// +/// @param showcaseAccessGrantedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAccessGrantedDetails: + (DBTEAMLOGShowcaseAccessGrantedDetails *)showcaseAccessGrantedDetails; + +/// +/// Initializes union class with tag state of "showcase_add_member_details". +/// +/// @param showcaseAddMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAddMemberDetails:(DBTEAMLOGShowcaseAddMemberDetails *)showcaseAddMemberDetails; + +/// +/// Initializes union class with tag state of "showcase_archived_details". +/// +/// @param showcaseArchivedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseArchivedDetails:(DBTEAMLOGShowcaseArchivedDetails *)showcaseArchivedDetails; + +/// +/// Initializes union class with tag state of "showcase_created_details". +/// +/// @param showcaseCreatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseCreatedDetails:(DBTEAMLOGShowcaseCreatedDetails *)showcaseCreatedDetails; + +/// +/// Initializes union class with tag state of "showcase_delete_comment_details". +/// +/// @param showcaseDeleteCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseDeleteCommentDetails: + (DBTEAMLOGShowcaseDeleteCommentDetails *)showcaseDeleteCommentDetails; + +/// +/// Initializes union class with tag state of "showcase_edited_details". +/// +/// @param showcaseEditedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEditedDetails:(DBTEAMLOGShowcaseEditedDetails *)showcaseEditedDetails; + +/// +/// Initializes union class with tag state of "showcase_edit_comment_details". +/// +/// @param showcaseEditCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEditCommentDetails:(DBTEAMLOGShowcaseEditCommentDetails *)showcaseEditCommentDetails; + +/// +/// Initializes union class with tag state of "showcase_file_added_details". +/// +/// @param showcaseFileAddedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileAddedDetails:(DBTEAMLOGShowcaseFileAddedDetails *)showcaseFileAddedDetails; + +/// +/// Initializes union class with tag state of "showcase_file_download_details". +/// +/// @param showcaseFileDownloadDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileDownloadDetails:(DBTEAMLOGShowcaseFileDownloadDetails *)showcaseFileDownloadDetails; + +/// +/// Initializes union class with tag state of "showcase_file_removed_details". +/// +/// @param showcaseFileRemovedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileRemovedDetails:(DBTEAMLOGShowcaseFileRemovedDetails *)showcaseFileRemovedDetails; + +/// +/// Initializes union class with tag state of "showcase_file_view_details". +/// +/// @param showcaseFileViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileViewDetails:(DBTEAMLOGShowcaseFileViewDetails *)showcaseFileViewDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_permanently_deleted_details". +/// +/// @param showcasePermanentlyDeletedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePermanentlyDeletedDetails: + (DBTEAMLOGShowcasePermanentlyDeletedDetails *)showcasePermanentlyDeletedDetails; + +/// +/// Initializes union class with tag state of "showcase_post_comment_details". +/// +/// @param showcasePostCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePostCommentDetails:(DBTEAMLOGShowcasePostCommentDetails *)showcasePostCommentDetails; + +/// +/// Initializes union class with tag state of "showcase_remove_member_details". +/// +/// @param showcaseRemoveMemberDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRemoveMemberDetails:(DBTEAMLOGShowcaseRemoveMemberDetails *)showcaseRemoveMemberDetails; + +/// +/// Initializes union class with tag state of "showcase_renamed_details". +/// +/// @param showcaseRenamedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRenamedDetails:(DBTEAMLOGShowcaseRenamedDetails *)showcaseRenamedDetails; + +/// +/// Initializes union class with tag state of "showcase_request_access_details". +/// +/// @param showcaseRequestAccessDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRequestAccessDetails: + (DBTEAMLOGShowcaseRequestAccessDetails *)showcaseRequestAccessDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_resolve_comment_details". +/// +/// @param showcaseResolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseResolveCommentDetails: + (DBTEAMLOGShowcaseResolveCommentDetails *)showcaseResolveCommentDetails; + +/// +/// Initializes union class with tag state of "showcase_restored_details". +/// +/// @param showcaseRestoredDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRestoredDetails:(DBTEAMLOGShowcaseRestoredDetails *)showcaseRestoredDetails; + +/// +/// Initializes union class with tag state of "showcase_trashed_details". +/// +/// @param showcaseTrashedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashedDetails:(DBTEAMLOGShowcaseTrashedDetails *)showcaseTrashedDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_trashed_deprecated_details". +/// +/// @param showcaseTrashedDeprecatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashedDeprecatedDetails: + (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)showcaseTrashedDeprecatedDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_unresolve_comment_details". +/// +/// @param showcaseUnresolveCommentDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUnresolveCommentDetails: + (DBTEAMLOGShowcaseUnresolveCommentDetails *)showcaseUnresolveCommentDetails; + +/// +/// Initializes union class with tag state of "showcase_untrashed_details". +/// +/// @param showcaseUntrashedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashedDetails:(DBTEAMLOGShowcaseUntrashedDetails *)showcaseUntrashedDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_untrashed_deprecated_details". +/// +/// @param showcaseUntrashedDeprecatedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashedDeprecatedDetails: + (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)showcaseUntrashedDeprecatedDetails; + +/// +/// Initializes union class with tag state of "showcase_view_details". +/// +/// @param showcaseViewDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseViewDetails:(DBTEAMLOGShowcaseViewDetails *)showcaseViewDetails; + +/// +/// Initializes union class with tag state of "sso_add_cert_details". +/// +/// @param ssoAddCertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails; + +/// +/// Initializes union class with tag state of "sso_add_login_url_details". +/// +/// @param ssoAddLoginUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails; + +/// +/// Initializes union class with tag state of "sso_add_logout_url_details". +/// +/// @param ssoAddLogoutUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails; + +/// +/// Initializes union class with tag state of "sso_change_cert_details". +/// +/// @param ssoChangeCertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails; + +/// +/// Initializes union class with tag state of "sso_change_login_url_details". +/// +/// @param ssoChangeLoginUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails; + +/// +/// Initializes union class with tag state of "sso_change_logout_url_details". +/// +/// @param ssoChangeLogoutUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails; + +/// +/// Initializes union class with tag state of +/// "sso_change_saml_identity_mode_details". +/// +/// @param ssoChangeSamlIdentityModeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeSamlIdentityModeDetails: + (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails; + +/// +/// Initializes union class with tag state of "sso_remove_cert_details". +/// +/// @param ssoRemoveCertDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails; + +/// +/// Initializes union class with tag state of "sso_remove_login_url_details". +/// +/// @param ssoRemoveLoginUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails; + +/// +/// Initializes union class with tag state of "sso_remove_logout_url_details". +/// +/// @param ssoRemoveLogoutUrlDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails; + +/// +/// Initializes union class with tag state of +/// "team_folder_change_status_details". +/// +/// @param teamFolderChangeStatusDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderChangeStatusDetails: + (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails; + +/// +/// Initializes union class with tag state of "team_folder_create_details". +/// +/// @param teamFolderCreateDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails; + +/// +/// Initializes union class with tag state of "team_folder_downgrade_details". +/// +/// @param teamFolderDowngradeDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails; + +/// +/// Initializes union class with tag state of +/// "team_folder_permanently_delete_details". +/// +/// @param teamFolderPermanentlyDeleteDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderPermanentlyDeleteDetails: + (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails; + +/// +/// Initializes union class with tag state of "team_folder_rename_details". +/// +/// @param teamFolderRenameDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_settings_changed_details". +/// +/// @param teamSelectiveSyncSettingsChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncSettingsChangedDetails: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)teamSelectiveSyncSettingsChangedDetails; + +/// +/// Initializes union class with tag state of +/// "account_capture_change_policy_details". +/// +/// @param accountCaptureChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangePolicyDetails: + (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "admin_email_reminders_changed_details". +/// +/// @param adminEmailRemindersChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminEmailRemindersChangedDetails: + (DBTEAMLOGAdminEmailRemindersChangedDetails *)adminEmailRemindersChangedDetails; + +/// +/// Initializes union class with tag state of "allow_download_disabled_details". +/// +/// @param allowDownloadDisabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadDisabledDetails: + (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails; + +/// +/// Initializes union class with tag state of "allow_download_enabled_details". +/// +/// @param allowDownloadEnabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails; + +/// +/// Initializes union class with tag state of "app_permissions_changed_details". +/// +/// @param appPermissionsChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppPermissionsChangedDetails: + (DBTEAMLOGAppPermissionsChangedDetails *)appPermissionsChangedDetails; + +/// +/// Initializes union class with tag state of +/// "camera_uploads_policy_changed_details". +/// +/// @param cameraUploadsPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCameraUploadsPolicyChangedDetails: + (DBTEAMLOGCameraUploadsPolicyChangedDetails *)cameraUploadsPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "capture_transcript_policy_changed_details". +/// +/// @param captureTranscriptPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCaptureTranscriptPolicyChangedDetails: + (DBTEAMLOGCaptureTranscriptPolicyChangedDetails *)captureTranscriptPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "classification_change_policy_details". +/// +/// @param classificationChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationChangePolicyDetails: + (DBTEAMLOGClassificationChangePolicyDetails *)classificationChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "computer_backup_policy_changed_details". +/// +/// @param computerBackupPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComputerBackupPolicyChangedDetails: + (DBTEAMLOGComputerBackupPolicyChangedDetails *)computerBackupPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "content_administration_policy_changed_details". +/// +/// @param contentAdministrationPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentAdministrationPolicyChangedDetails: + (DBTEAMLOGContentAdministrationPolicyChangedDetails *)contentAdministrationPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_change_policy_details". +/// +/// @param dataPlacementRestrictionChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionChangePolicyDetails: + (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_satisfy_policy_details". +/// +/// @param dataPlacementRestrictionSatisfyPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicyDetails: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_add_exception_details". +/// +/// @param deviceApprovalsAddExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsAddExceptionDetails: + (DBTEAMLOGDeviceApprovalsAddExceptionDetails *)deviceApprovalsAddExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_desktop_policy_details". +/// +/// @param deviceApprovalsChangeDesktopPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_mobile_policy_details". +/// +/// @param deviceApprovalsChangeMobilePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeMobilePolicyDetails: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_overage_action_details". +/// +/// @param deviceApprovalsChangeOverageActionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeOverageActionDetails: + (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_unlink_action_details". +/// +/// @param deviceApprovalsChangeUnlinkActionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeUnlinkActionDetails: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails; + +/// +/// Initializes union class with tag state of +/// "device_approvals_remove_exception_details". +/// +/// @param deviceApprovalsRemoveExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsRemoveExceptionDetails: + (DBTEAMLOGDeviceApprovalsRemoveExceptionDetails *)deviceApprovalsRemoveExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_add_members_details". +/// +/// @param directoryRestrictionsAddMembersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsAddMembersDetails: + (DBTEAMLOGDirectoryRestrictionsAddMembersDetails *)directoryRestrictionsAddMembersDetails; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_remove_members_details". +/// +/// @param directoryRestrictionsRemoveMembersDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsRemoveMembersDetails: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails *)directoryRestrictionsRemoveMembersDetails; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_policy_changed_details". +/// +/// @param dropboxPasswordsPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsPolicyChangedDetails: + (DBTEAMLOGDropboxPasswordsPolicyChangedDetails *)dropboxPasswordsPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "email_ingest_policy_changed_details". +/// +/// @param emailIngestPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestPolicyChangedDetails: + (DBTEAMLOGEmailIngestPolicyChangedDetails *)emailIngestPolicyChangedDetails; + +/// +/// Initializes union class with tag state of "emm_add_exception_details". +/// +/// @param emmAddExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails; + +/// +/// Initializes union class with tag state of "emm_change_policy_details". +/// +/// @param emmChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails; + +/// +/// Initializes union class with tag state of "emm_remove_exception_details". +/// +/// @param emmRemoveExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "extended_version_history_change_policy_details". +/// +/// @param extendedVersionHistoryChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExtendedVersionHistoryChangePolicyDetails: + (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_policy_changed_details". +/// +/// @param externalDriveBackupPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupPolicyChangedDetails: + (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)externalDriveBackupPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "file_comments_change_policy_details". +/// +/// @param fileCommentsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCommentsChangePolicyDetails: + (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "file_locking_policy_changed_details". +/// +/// @param fileLockingPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingPolicyChangedDetails: + (DBTEAMLOGFileLockingPolicyChangedDetails *)fileLockingPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "file_provider_migration_policy_changed_details". +/// +/// @param fileProviderMigrationPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileProviderMigrationPolicyChangedDetails: + (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)fileProviderMigrationPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "file_requests_change_policy_details". +/// +/// @param fileRequestsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsChangePolicyDetails: + (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "file_requests_emails_enabled_details". +/// +/// @param fileRequestsEmailsEnabledDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsEnabledDetails: + (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails; + +/// +/// Initializes union class with tag state of +/// "file_requests_emails_restricted_to_team_only_details". +/// +/// @param fileRequestsEmailsRestrictedToTeamOnlyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnlyDetails: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails; + +/// +/// Initializes union class with tag state of +/// "file_transfers_policy_changed_details". +/// +/// @param fileTransfersPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersPolicyChangedDetails: + (DBTEAMLOGFileTransfersPolicyChangedDetails *)fileTransfersPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "folder_link_restriction_policy_changed_details". +/// +/// @param folderLinkRestrictionPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderLinkRestrictionPolicyChangedDetails: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)folderLinkRestrictionPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "google_sso_change_policy_details". +/// +/// @param googleSsoChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGoogleSsoChangePolicyDetails: + (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "group_user_management_change_policy_details". +/// +/// @param groupUserManagementChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupUserManagementChangePolicyDetails: + (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "integration_policy_changed_details". +/// +/// @param integrationPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationPolicyChangedDetails: + (DBTEAMLOGIntegrationPolicyChangedDetails *)integrationPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "invite_acceptance_email_policy_changed_details". +/// +/// @param inviteAcceptanceEmailPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteAcceptanceEmailPolicyChangedDetails: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)inviteAcceptanceEmailPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "member_requests_change_policy_details". +/// +/// @param memberRequestsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRequestsChangePolicyDetails: + (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "member_send_invite_policy_changed_details". +/// +/// @param memberSendInvitePolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSendInvitePolicyChangedDetails: + (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)memberSendInvitePolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_exception_details". +/// +/// @param memberSpaceLimitsAddExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_caps_type_policy_details". +/// +/// @param memberSpaceLimitsChangeCapsTypePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)memberSpaceLimitsChangeCapsTypePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_policy_details". +/// +/// @param memberSpaceLimitsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangePolicyDetails: + (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_exception_details". +/// +/// @param memberSpaceLimitsRemoveExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveExceptionDetails: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "member_suggestions_change_policy_details". +/// +/// @param memberSuggestionsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggestionsChangePolicyDetails: + (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "microsoft_office_addin_change_policy_details". +/// +/// @param microsoftOfficeAddinChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMicrosoftOfficeAddinChangePolicyDetails: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "network_control_change_policy_details". +/// +/// @param networkControlChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNetworkControlChangePolicyDetails: + (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "paper_change_deployment_policy_details". +/// +/// @param paperChangeDeploymentPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeDeploymentPolicyDetails: + (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "paper_change_member_link_policy_details". +/// +/// @param paperChangeMemberLinkPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberLinkPolicyDetails: + (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "paper_change_member_policy_details". +/// +/// @param paperChangeMemberPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberPolicyDetails: + (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails; + +/// +/// Initializes union class with tag state of "paper_change_policy_details". +/// +/// @param paperChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "paper_default_folder_policy_changed_details". +/// +/// @param paperDefaultFolderPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDefaultFolderPolicyChangedDetails: + (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)paperDefaultFolderPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_desktop_policy_changed_details". +/// +/// @param paperDesktopPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDesktopPolicyChangedDetails: + (DBTEAMLOGPaperDesktopPolicyChangedDetails *)paperDesktopPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_addition_details". +/// +/// @param paperEnabledUsersGroupAdditionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupAdditionDetails: + (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_removal_details". +/// +/// @param paperEnabledUsersGroupRemovalDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupRemovalDetails: + (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails; + +/// +/// Initializes union class with tag state of +/// "password_strength_requirements_change_policy_details". +/// +/// @param passwordStrengthRequirementsChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordStrengthRequirementsChangePolicyDetails: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)passwordStrengthRequirementsChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "permanent_delete_change_policy_details". +/// +/// @param permanentDeleteChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPermanentDeleteChangePolicyDetails: + (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "reseller_support_change_policy_details". +/// +/// @param resellerSupportChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportChangePolicyDetails: + (DBTEAMLOGResellerSupportChangePolicyDetails *)resellerSupportChangePolicyDetails; + +/// +/// Initializes union class with tag state of "rewind_policy_changed_details". +/// +/// @param rewindPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindPolicyChangedDetails:(DBTEAMLOGRewindPolicyChangedDetails *)rewindPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "send_for_signature_policy_changed_details". +/// +/// @param sendForSignaturePolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSendForSignaturePolicyChangedDetails: + (DBTEAMLOGSendForSignaturePolicyChangedDetails *)sendForSignaturePolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_folder_join_policy_details". +/// +/// @param sharingChangeFolderJoinPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeFolderJoinPolicyDetails: + (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_allow_change_expiration_policy_details". +/// +/// @param sharingChangeLinkAllowChangeExpirationPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)sharingChangeLinkAllowChangeExpirationPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_default_expiration_policy_details". +/// +/// @param sharingChangeLinkDefaultExpirationPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicyDetails: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)sharingChangeLinkDefaultExpirationPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_enforce_password_policy_details". +/// +/// @param sharingChangeLinkEnforcePasswordPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicyDetails: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)sharingChangeLinkEnforcePasswordPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_policy_details". +/// +/// @param sharingChangeLinkPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkPolicyDetails: + (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "sharing_change_member_policy_details". +/// +/// @param sharingChangeMemberPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeMemberPolicyDetails: + (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_change_download_policy_details". +/// +/// @param showcaseChangeDownloadPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeDownloadPolicyDetails: + (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)showcaseChangeDownloadPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_change_enabled_policy_details". +/// +/// @param showcaseChangeEnabledPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeEnabledPolicyDetails: + (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)showcaseChangeEnabledPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "showcase_change_external_sharing_policy_details". +/// +/// @param showcaseChangeExternalSharingPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeExternalSharingPolicyDetails: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)showcaseChangeExternalSharingPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "smarter_smart_sync_policy_changed_details". +/// +/// @param smarterSmartSyncPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmarterSmartSyncPolicyChangedDetails: + (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)smarterSmartSyncPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "smart_sync_change_policy_details". +/// +/// @param smartSyncChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncChangePolicyDetails: + (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails; + +/// +/// Initializes union class with tag state of "smart_sync_not_opt_out_details". +/// +/// @param smartSyncNotOptOutDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails; + +/// +/// Initializes union class with tag state of "smart_sync_opt_out_details". +/// +/// @param smartSyncOptOutDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails; + +/// +/// Initializes union class with tag state of "sso_change_policy_details". +/// +/// @param ssoChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "team_branding_policy_changed_details". +/// +/// @param teamBrandingPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamBrandingPolicyChangedDetails: + (DBTEAMLOGTeamBrandingPolicyChangedDetails *)teamBrandingPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "team_extensions_policy_changed_details". +/// +/// @param teamExtensionsPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamExtensionsPolicyChangedDetails: + (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)teamExtensionsPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_policy_changed_details". +/// +/// @param teamSelectiveSyncPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncPolicyChangedDetails: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)teamSelectiveSyncPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "team_sharing_whitelist_subjects_changed_details". +/// +/// @param teamSharingWhitelistSubjectsChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSharingWhitelistSubjectsChangedDetails: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)teamSharingWhitelistSubjectsChangedDetails; + +/// +/// Initializes union class with tag state of "tfa_add_exception_details". +/// +/// @param tfaAddExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaAddExceptionDetails:(DBTEAMLOGTfaAddExceptionDetails *)tfaAddExceptionDetails; + +/// +/// Initializes union class with tag state of "tfa_change_policy_details". +/// +/// @param tfaChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails; + +/// +/// Initializes union class with tag state of "tfa_remove_exception_details". +/// +/// @param tfaRemoveExceptionDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveExceptionDetails:(DBTEAMLOGTfaRemoveExceptionDetails *)tfaRemoveExceptionDetails; + +/// +/// Initializes union class with tag state of +/// "two_account_change_policy_details". +/// +/// @param twoAccountChangePolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTwoAccountChangePolicyDetails: + (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails; + +/// +/// Initializes union class with tag state of +/// "viewer_info_policy_changed_details". +/// +/// @param viewerInfoPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithViewerInfoPolicyChangedDetails: + (DBTEAMLOGViewerInfoPolicyChangedDetails *)viewerInfoPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "watermarking_policy_changed_details". +/// +/// @param watermarkingPolicyChangedDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWatermarkingPolicyChangedDetails: + (DBTEAMLOGWatermarkingPolicyChangedDetails *)watermarkingPolicyChangedDetails; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_active_session_limit_details". +/// +/// @param webSessionsChangeActiveSessionLimitDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeActiveSessionLimitDetails: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)webSessionsChangeActiveSessionLimitDetails; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_fixed_length_policy_details". +/// +/// @param webSessionsChangeFixedLengthPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeFixedLengthPolicyDetails: + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_idle_length_policy_details". +/// +/// @param webSessionsChangeIdleLengthPolicyDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeIdleLengthPolicyDetails: + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails; /// /// Initializes union class with tag state of -/// "member_change_membership_type_details". +/// "data_residency_migration_request_successful_details". /// -/// Description of the "member_change_membership_type_details" tag state: -/// Changed the membership type (limited vs full) for team member. -/// -/// @param memberChangeMembershipTypeDetails Changed the membership type -/// (limited vs full) for team member. +/// @param dataResidencyMigrationRequestSuccessfulDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithMemberChangeMembershipTypeDetails: - (DBTEAMLOGMemberChangeMembershipTypeDetails *)memberChangeMembershipTypeDetails; +- (instancetype)initWithDataResidencyMigrationRequestSuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails *)dataResidencyMigrationRequestSuccessfulDetails; /// /// Initializes union class with tag state of -/// "member_permanently_delete_account_contents_details". +/// "data_residency_migration_request_unsuccessful_details". /// -/// Description of the "member_permanently_delete_account_contents_details" tag -/// state: Permanently deleted contents of a removed team member account. -/// -/// @param memberPermanentlyDeleteAccountContentsDetails Permanently deleted -/// contents of a removed team member account. +/// @param dataResidencyMigrationRequestUnsuccessfulDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithMemberPermanentlyDeleteAccountContentsDetails: - (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)memberPermanentlyDeleteAccountContentsDetails; +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessfulDetails: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails *)dataResidencyMigrationRequestUnsuccessfulDetails; /// -/// Initializes union class with tag state of -/// "member_space_limits_change_status_details". +/// Initializes union class with tag state of "team_merge_from_details". +/// +/// @param teamMergeFromDetails (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails; + /// -/// Description of the "member_space_limits_change_status_details" tag state: -/// Changed the status with respect to whether the team member is under or over -/// storage quota specified by policy. +/// Initializes union class with tag state of "team_merge_to_details". /// -/// @param memberSpaceLimitsChangeStatusDetails Changed the status with respect -/// to whether the team member is under or over storage quota specified by -/// policy. +/// @param teamMergeToDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithMemberSpaceLimitsChangeStatusDetails: - (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)memberSpaceLimitsChangeStatusDetails; +- (instancetype)initWithTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails; /// /// Initializes union class with tag state of -/// "member_transfer_account_contents_details". +/// "team_profile_add_background_details". +/// +/// @param teamProfileAddBackgroundDetails (no description). +/// +/// @return An initialized instance. /// -/// Description of the "member_transfer_account_contents_details" tag state: -/// Transferred contents of a removed team member account to another member. +- (instancetype)initWithTeamProfileAddBackgroundDetails: + (DBTEAMLOGTeamProfileAddBackgroundDetails *)teamProfileAddBackgroundDetails; + +/// +/// Initializes union class with tag state of "team_profile_add_logo_details". /// -/// @param memberTransferAccountContentsDetails Transferred contents of a -/// removed team member account to another member. +/// @param teamProfileAddLogoDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithMemberTransferAccountContentsDetails: - (DBTEAMLOGMemberTransferAccountContentsDetails *)memberTransferAccountContentsDetails; +- (instancetype)initWithTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails; /// /// Initializes union class with tag state of -/// "paper_admin_export_start_details". -/// -/// Description of the "paper_admin_export_start_details" tag state: Exported -/// all Paper documents in the team. +/// "team_profile_change_background_details". /// -/// @param paperAdminExportStartDetails Exported all Paper documents in the -/// team. +/// @param teamProfileChangeBackgroundDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperAdminExportStartDetails: - (DBTEAMLOGPaperAdminExportStartDetails *)paperAdminExportStartDetails; +- (instancetype)initWithTeamProfileChangeBackgroundDetails: + (DBTEAMLOGTeamProfileChangeBackgroundDetails *)teamProfileChangeBackgroundDetails; /// /// Initializes union class with tag state of -/// "paper_enabled_users_group_addition_details". -/// -/// Description of the "paper_enabled_users_group_addition_details" tag state: -/// Users added to Paper enabled users list. +/// "team_profile_change_default_language_details". /// -/// @param paperEnabledUsersGroupAdditionDetails Users added to Paper enabled -/// users list. +/// @param teamProfileChangeDefaultLanguageDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperEnabledUsersGroupAdditionDetails: - (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)paperEnabledUsersGroupAdditionDetails; +- (instancetype)initWithTeamProfileChangeDefaultLanguageDetails: + (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails; /// /// Initializes union class with tag state of -/// "paper_enabled_users_group_removal_details". -/// -/// Description of the "paper_enabled_users_group_removal_details" tag state: -/// Users removed from Paper enabled users list. +/// "team_profile_change_logo_details". /// -/// @param paperEnabledUsersGroupRemovalDetails Users removed from Paper enabled -/// users list. +/// @param teamProfileChangeLogoDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperEnabledUsersGroupRemovalDetails: - (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)paperEnabledUsersGroupRemovalDetails; +- (instancetype)initWithTeamProfileChangeLogoDetails: + (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails; /// /// Initializes union class with tag state of -/// "paper_external_view_allow_details". -/// -/// Description of the "paper_external_view_allow_details" tag state: Paper -/// external sharing policy changed: anyone. +/// "team_profile_change_name_details". /// -/// @param paperExternalViewAllowDetails Paper external sharing policy changed: -/// anyone. +/// @param teamProfileChangeNameDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewAllowDetails: - (DBTEAMLOGPaperExternalViewAllowDetails *)paperExternalViewAllowDetails; +- (instancetype)initWithTeamProfileChangeNameDetails: + (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails; /// /// Initializes union class with tag state of -/// "paper_external_view_default_team_details". +/// "team_profile_remove_background_details". /// -/// Description of the "paper_external_view_default_team_details" tag state: -/// Paper external sharing policy changed: default team. -/// -/// @param paperExternalViewDefaultTeamDetails Paper external sharing policy -/// changed: default team. +/// @param teamProfileRemoveBackgroundDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewDefaultTeamDetails: - (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)paperExternalViewDefaultTeamDetails; +- (instancetype)initWithTeamProfileRemoveBackgroundDetails: + (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)teamProfileRemoveBackgroundDetails; /// /// Initializes union class with tag state of -/// "paper_external_view_forbid_details". -/// -/// Description of the "paper_external_view_forbid_details" tag state: Paper -/// external sharing policy changed: team-only. +/// "team_profile_remove_logo_details". /// -/// @param paperExternalViewForbidDetails Paper external sharing policy changed: -/// team-only. +/// @param teamProfileRemoveLogoDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewForbidDetails: - (DBTEAMLOGPaperExternalViewForbidDetails *)paperExternalViewForbidDetails; +- (instancetype)initWithTeamProfileRemoveLogoDetails: + (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails; /// -/// Initializes union class with tag state of "sf_external_invite_warn_details". -/// -/// Description of the "sf_external_invite_warn_details" tag state: Admin -/// settings: team members see a warning before sharing folders outside the team -/// (DEPRECATED FEATURE). +/// Initializes union class with tag state of "tfa_add_backup_phone_details". /// -/// @param sfExternalInviteWarnDetails Admin settings: team members see a -/// warning before sharing folders outside the team (DEPRECATED FEATURE). +/// @param tfaAddBackupPhoneDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithSfExternalInviteWarnDetails:(DBTEAMLOGSfExternalInviteWarnDetails *)sfExternalInviteWarnDetails; +- (instancetype)initWithTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails; /// -/// Initializes union class with tag state of "team_merge_from_details". -/// -/// Description of the "team_merge_from_details" tag state: Merged another team -/// into this team. +/// Initializes union class with tag state of "tfa_add_security_key_details". /// -/// @param teamMergeFromDetails Merged another team into this team. +/// @param tfaAddSecurityKeyDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithTeamMergeFromDetails:(DBTEAMLOGTeamMergeFromDetails *)teamMergeFromDetails; +- (instancetype)initWithTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails; /// -/// Initializes union class with tag state of "team_merge_to_details". -/// -/// Description of the "team_merge_to_details" tag state: Merged this team into -/// another team. +/// Initializes union class with tag state of "tfa_change_backup_phone_details". /// -/// @param teamMergeToDetails Merged this team into another team. +/// @param tfaChangeBackupPhoneDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithTeamMergeToDetails:(DBTEAMLOGTeamMergeToDetails *)teamMergeToDetails; +- (instancetype)initWithTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails; /// -/// Initializes union class with tag state of "app_link_team_details". -/// -/// Description of the "app_link_team_details" tag state: Linked an app for -/// team. +/// Initializes union class with tag state of "tfa_change_status_details". /// -/// @param appLinkTeamDetails Linked an app for team. +/// @param tfaChangeStatusDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAppLinkTeamDetails:(DBTEAMLOGAppLinkTeamDetails *)appLinkTeamDetails; +- (instancetype)initWithTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails; /// -/// Initializes union class with tag state of "app_link_user_details". -/// -/// Description of the "app_link_user_details" tag state: Linked an app for team -/// member. +/// Initializes union class with tag state of "tfa_remove_backup_phone_details". /// -/// @param appLinkUserDetails Linked an app for team member. +/// @param tfaRemoveBackupPhoneDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAppLinkUserDetails:(DBTEAMLOGAppLinkUserDetails *)appLinkUserDetails; +- (instancetype)initWithTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails; /// -/// Initializes union class with tag state of "app_unlink_team_details". -/// -/// Description of the "app_unlink_team_details" tag state: Unlinked an app for -/// team. +/// Initializes union class with tag state of "tfa_remove_security_key_details". /// -/// @param appUnlinkTeamDetails Unlinked an app for team. +/// @param tfaRemoveSecurityKeyDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAppUnlinkTeamDetails:(DBTEAMLOGAppUnlinkTeamDetails *)appUnlinkTeamDetails; +- (instancetype)initWithTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails; /// -/// Initializes union class with tag state of "app_unlink_user_details". -/// -/// Description of the "app_unlink_user_details" tag state: Unlinked an app for -/// team member. +/// Initializes union class with tag state of "tfa_reset_details". /// -/// @param appUnlinkUserDetails Unlinked an app for team member. +/// @param tfaResetDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAppUnlinkUserDetails:(DBTEAMLOGAppUnlinkUserDetails *)appUnlinkUserDetails; +- (instancetype)initWithTfaResetDetails:(DBTEAMLOGTfaResetDetails *)tfaResetDetails; /// -/// Initializes union class with tag state of "file_add_comment_details". -/// -/// Description of the "file_add_comment_details" tag state: Added a file -/// comment. +/// Initializes union class with tag state of +/// "changed_enterprise_admin_role_details". /// -/// @param fileAddCommentDetails Added a file comment. +/// @param changedEnterpriseAdminRoleDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileAddCommentDetails:(DBTEAMLOGFileAddCommentDetails *)fileAddCommentDetails; +- (instancetype)initWithChangedEnterpriseAdminRoleDetails: + (DBTEAMLOGChangedEnterpriseAdminRoleDetails *)changedEnterpriseAdminRoleDetails; /// /// Initializes union class with tag state of -/// "file_change_comment_subscription_details". +/// "changed_enterprise_connected_team_status_details". /// -/// Description of the "file_change_comment_subscription_details" tag state: -/// Subscribed to or unsubscribed from comment notifications for file. -/// -/// @param fileChangeCommentSubscriptionDetails Subscribed to or unsubscribed -/// from comment notifications for file. +/// @param changedEnterpriseConnectedTeamStatusDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileChangeCommentSubscriptionDetails: - (DBTEAMLOGFileChangeCommentSubscriptionDetails *)fileChangeCommentSubscriptionDetails; +- (instancetype)initWithChangedEnterpriseConnectedTeamStatusDetails: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails *)changedEnterpriseConnectedTeamStatusDetails; /// -/// Initializes union class with tag state of "file_delete_comment_details". -/// -/// Description of the "file_delete_comment_details" tag state: Deleted a file -/// comment. +/// Initializes union class with tag state of +/// "ended_enterprise_admin_session_details". /// -/// @param fileDeleteCommentDetails Deleted a file comment. +/// @param endedEnterpriseAdminSessionDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileDeleteCommentDetails:(DBTEAMLOGFileDeleteCommentDetails *)fileDeleteCommentDetails; +- (instancetype)initWithEndedEnterpriseAdminSessionDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDetails *)endedEnterpriseAdminSessionDetails; /// -/// Initializes union class with tag state of "file_like_comment_details". -/// -/// Description of the "file_like_comment_details" tag state: Liked a file -/// comment. +/// Initializes union class with tag state of +/// "ended_enterprise_admin_session_deprecated_details". /// -/// @param fileLikeCommentDetails Liked a file comment. +/// @param endedEnterpriseAdminSessionDeprecatedDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileLikeCommentDetails:(DBTEAMLOGFileLikeCommentDetails *)fileLikeCommentDetails; +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecatedDetails: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails *)endedEnterpriseAdminSessionDeprecatedDetails; /// -/// Initializes union class with tag state of "file_resolve_comment_details". -/// -/// Description of the "file_resolve_comment_details" tag state: Resolved a file -/// comment. +/// Initializes union class with tag state of +/// "enterprise_settings_locking_details". /// -/// @param fileResolveCommentDetails Resolved a file comment. +/// @param enterpriseSettingsLockingDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileResolveCommentDetails:(DBTEAMLOGFileResolveCommentDetails *)fileResolveCommentDetails; +- (instancetype)initWithEnterpriseSettingsLockingDetails: + (DBTEAMLOGEnterpriseSettingsLockingDetails *)enterpriseSettingsLockingDetails; /// -/// Initializes union class with tag state of "file_unlike_comment_details". -/// -/// Description of the "file_unlike_comment_details" tag state: Unliked a file -/// comment. +/// Initializes union class with tag state of +/// "guest_admin_change_status_details". /// -/// @param fileUnlikeCommentDetails Unliked a file comment. +/// @param guestAdminChangeStatusDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileUnlikeCommentDetails:(DBTEAMLOGFileUnlikeCommentDetails *)fileUnlikeCommentDetails; +- (instancetype)initWithGuestAdminChangeStatusDetails: + (DBTEAMLOGGuestAdminChangeStatusDetails *)guestAdminChangeStatusDetails; /// -/// Initializes union class with tag state of "file_unresolve_comment_details". -/// -/// Description of the "file_unresolve_comment_details" tag state: Unresolved a -/// file comment. +/// Initializes union class with tag state of +/// "started_enterprise_admin_session_details". /// -/// @param fileUnresolveCommentDetails Unresolved a file comment. +/// @param startedEnterpriseAdminSessionDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithFileUnresolveCommentDetails:(DBTEAMLOGFileUnresolveCommentDetails *)fileUnresolveCommentDetails; +- (instancetype)initWithStartedEnterpriseAdminSessionDetails: + (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)startedEnterpriseAdminSessionDetails; /// /// Initializes union class with tag state of -/// "device_change_ip_desktop_details". +/// "team_merge_request_accepted_details". /// -/// Description of the "device_change_ip_desktop_details" tag state: IP address -/// associated with active desktop session changed. -/// -/// @param deviceChangeIpDesktopDetails IP address associated with active -/// desktop session changed. +/// @param teamMergeRequestAcceptedDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpDesktopDetails: - (DBTEAMLOGDeviceChangeIpDesktopDetails *)deviceChangeIpDesktopDetails; +- (instancetype)initWithTeamMergeRequestAcceptedDetails: + (DBTEAMLOGTeamMergeRequestAcceptedDetails *)teamMergeRequestAcceptedDetails; /// -/// Initializes union class with tag state of "device_change_ip_mobile_details". -/// -/// Description of the "device_change_ip_mobile_details" tag state: IP address -/// associated with active mobile session changed. +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_primary_team_details". /// -/// @param deviceChangeIpMobileDetails IP address associated with active mobile -/// session changed. +/// @param teamMergeRequestAcceptedShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpMobileDetails:(DBTEAMLOGDeviceChangeIpMobileDetails *)deviceChangeIpMobileDetails; +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)teamMergeRequestAcceptedShownToPrimaryTeamDetails; /// -/// Initializes union class with tag state of "device_change_ip_web_details". -/// -/// Description of the "device_change_ip_web_details" tag state: IP address -/// associated with active Web session changed. +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_secondary_team_details". /// -/// @param deviceChangeIpWebDetails IP address associated with active Web -/// session changed. +/// @param teamMergeRequestAcceptedShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpWebDetails:(DBTEAMLOGDeviceChangeIpWebDetails *)deviceChangeIpWebDetails; +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)teamMergeRequestAcceptedShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of -/// "device_delete_on_unlink_fail_details". +/// "team_merge_request_auto_canceled_details". /// -/// Description of the "device_delete_on_unlink_fail_details" tag state: Failed -/// to delete all files from an unlinked device. -/// -/// @param deviceDeleteOnUnlinkFailDetails Failed to delete all files from an -/// unlinked device. +/// @param teamMergeRequestAutoCanceledDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceDeleteOnUnlinkFailDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkFailDetails *)deviceDeleteOnUnlinkFailDetails; +- (instancetype)initWithTeamMergeRequestAutoCanceledDetails: + (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)teamMergeRequestAutoCanceledDetails; /// /// Initializes union class with tag state of -/// "device_delete_on_unlink_success_details". +/// "team_merge_request_canceled_details". /// -/// Description of the "device_delete_on_unlink_success_details" tag state: -/// Deleted all files from an unlinked device. -/// -/// @param deviceDeleteOnUnlinkSuccessDetails Deleted all files from an unlinked -/// device. +/// @param teamMergeRequestCanceledDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceDeleteOnUnlinkSuccessDetails: - (DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails *)deviceDeleteOnUnlinkSuccessDetails; +- (instancetype)initWithTeamMergeRequestCanceledDetails: + (DBTEAMLOGTeamMergeRequestCanceledDetails *)teamMergeRequestCanceledDetails; /// -/// Initializes union class with tag state of "device_link_fail_details". -/// -/// Description of the "device_link_fail_details" tag state: Failed to link a -/// device. +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_primary_team_details". /// -/// @param deviceLinkFailDetails Failed to link a device. +/// @param teamMergeRequestCanceledShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceLinkFailDetails:(DBTEAMLOGDeviceLinkFailDetails *)deviceLinkFailDetails; +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)teamMergeRequestCanceledShownToPrimaryTeamDetails; /// -/// Initializes union class with tag state of "device_link_success_details". -/// -/// Description of the "device_link_success_details" tag state: Linked a device. +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_secondary_team_details". /// -/// @param deviceLinkSuccessDetails Linked a device. +/// @param teamMergeRequestCanceledShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceLinkSuccessDetails:(DBTEAMLOGDeviceLinkSuccessDetails *)deviceLinkSuccessDetails; +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)teamMergeRequestCanceledShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of -/// "device_management_disabled_details". +/// "team_merge_request_expired_details". /// -/// Description of the "device_management_disabled_details" tag state: Disable -/// Device Management. -/// -/// @param deviceManagementDisabledDetails Disable Device Management. +/// @param teamMergeRequestExpiredDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceManagementDisabledDetails: - (DBTEAMLOGDeviceManagementDisabledDetails *)deviceManagementDisabledDetails; +- (instancetype)initWithTeamMergeRequestExpiredDetails: + (DBTEAMLOGTeamMergeRequestExpiredDetails *)teamMergeRequestExpiredDetails; /// /// Initializes union class with tag state of -/// "device_management_enabled_details". +/// "team_merge_request_expired_shown_to_primary_team_details". /// -/// Description of the "device_management_enabled_details" tag state: Enable -/// Device Management. -/// -/// @param deviceManagementEnabledDetails Enable Device Management. +/// @param teamMergeRequestExpiredShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceManagementEnabledDetails: - (DBTEAMLOGDeviceManagementEnabledDetails *)deviceManagementEnabledDetails; +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)teamMergeRequestExpiredShownToPrimaryTeamDetails; /// -/// Initializes union class with tag state of "device_unlink_details". -/// -/// Description of the "device_unlink_details" tag state: Disconnected a device. +/// Initializes union class with tag state of +/// "team_merge_request_expired_shown_to_secondary_team_details". /// -/// @param deviceUnlinkDetails Disconnected a device. +/// @param teamMergeRequestExpiredShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceUnlinkDetails:(DBTEAMLOGDeviceUnlinkDetails *)deviceUnlinkDetails; +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)teamMergeRequestExpiredShownToSecondaryTeamDetails; /// -/// Initializes union class with tag state of "emm_refresh_auth_token_details". -/// -/// Description of the "emm_refresh_auth_token_details" tag state: Refreshed the -/// auth token used for setting up enterprise mobility management. +/// Initializes union class with tag state of +/// "team_merge_request_rejected_shown_to_primary_team_details". /// -/// @param emmRefreshAuthTokenDetails Refreshed the auth token used for setting -/// up enterprise mobility management. +/// @param teamMergeRequestRejectedShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithEmmRefreshAuthTokenDetails:(DBTEAMLOGEmmRefreshAuthTokenDetails *)emmRefreshAuthTokenDetails; +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)teamMergeRequestRejectedShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of -/// "account_capture_change_availability_details". +/// "team_merge_request_rejected_shown_to_secondary_team_details". /// -/// Description of the "account_capture_change_availability_details" tag state: -/// Granted or revoked the option to enable account capture on domains belonging -/// to the team. -/// -/// @param accountCaptureChangeAvailabilityDetails Granted or revoked the option -/// to enable account capture on domains belonging to the team. +/// @param teamMergeRequestRejectedShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAccountCaptureChangeAvailabilityDetails: - (DBTEAMLOGAccountCaptureChangeAvailabilityDetails *)accountCaptureChangeAvailabilityDetails; +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)teamMergeRequestRejectedShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of -/// "account_capture_migrate_account_details". +/// "team_merge_request_reminder_details". /// -/// Description of the "account_capture_migrate_account_details" tag state: -/// Account captured user migrated their account to the team. -/// -/// @param accountCaptureMigrateAccountDetails Account captured user migrated -/// their account to the team. +/// @param teamMergeRequestReminderDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAccountCaptureMigrateAccountDetails: - (DBTEAMLOGAccountCaptureMigrateAccountDetails *)accountCaptureMigrateAccountDetails; +- (instancetype)initWithTeamMergeRequestReminderDetails: + (DBTEAMLOGTeamMergeRequestReminderDetails *)teamMergeRequestReminderDetails; /// /// Initializes union class with tag state of -/// "account_capture_relinquish_account_details". +/// "team_merge_request_reminder_shown_to_primary_team_details". /// -/// Description of the "account_capture_relinquish_account_details" tag state: -/// Account captured user relinquished their account by changing the email -/// address associated with it. -/// -/// @param accountCaptureRelinquishAccountDetails Account captured user -/// relinquished their account by changing the email address associated with it. +/// @param teamMergeRequestReminderShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithAccountCaptureRelinquishAccountDetails: - (DBTEAMLOGAccountCaptureRelinquishAccountDetails *)accountCaptureRelinquishAccountDetails; +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)teamMergeRequestReminderShownToPrimaryTeamDetails; /// -/// Initializes union class with tag state of "disabled_domain_invites_details". -/// -/// Description of the "disabled_domain_invites_details" tag state: Disabled -/// domain invites. +/// Initializes union class with tag state of +/// "team_merge_request_reminder_shown_to_secondary_team_details". /// -/// @param disabledDomainInvitesDetails Disabled domain invites. +/// @param teamMergeRequestReminderShownToSecondaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDisabledDomainInvitesDetails: - (DBTEAMLOGDisabledDomainInvitesDetails *)disabledDomainInvitesDetails; +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)teamMergeRequestReminderShownToSecondaryTeamDetails; /// /// Initializes union class with tag state of -/// "domain_invites_approve_request_to_join_team_details". -/// -/// Description of the "domain_invites_approve_request_to_join_team_details" tag -/// state: Approved a member's request to join the team. +/// "team_merge_request_revoked_details". /// -/// @param domainInvitesApproveRequestToJoinTeamDetails Approved a member's -/// request to join the team. +/// @param teamMergeRequestRevokedDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDomainInvitesApproveRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails *)domainInvitesApproveRequestToJoinTeamDetails; +- (instancetype)initWithTeamMergeRequestRevokedDetails: + (DBTEAMLOGTeamMergeRequestRevokedDetails *)teamMergeRequestRevokedDetails; /// /// Initializes union class with tag state of -/// "domain_invites_decline_request_to_join_team_details". -/// -/// Description of the "domain_invites_decline_request_to_join_team_details" tag -/// state: Declined a user's request to join the team. +/// "team_merge_request_sent_shown_to_primary_team_details". /// -/// @param domainInvitesDeclineRequestToJoinTeamDetails Declined a user's -/// request to join the team. +/// @param teamMergeRequestSentShownToPrimaryTeamDetails (no description). /// /// @return An initialized instance. /// -- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails *)domainInvitesDeclineRequestToJoinTeamDetails; +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)teamMergeRequestSentShownToPrimaryTeamDetails; /// /// Initializes union class with tag state of -/// "domain_invites_email_existing_users_details". +/// "team_merge_request_sent_shown_to_secondary_team_details". +/// +/// @param teamMergeRequestSentShownToSecondaryTeamDetails (no description). /// -/// Description of the "domain_invites_email_existing_users_details" tag state: -/// Sent domain invites to existing domain accounts. +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeamDetails: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)teamMergeRequestSentShownToSecondaryTeamDetails; + +/// +/// Initializes union class with tag state of "missing_details". +/// +/// Description of the "missing_details" tag state: Hints that this event was +/// returned with missing details due to an internal error. +/// +/// @param missingDetails Hints that this event was returned with missing +/// details due to an internal error. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMissingDetails:(DBTEAMLOGMissingDetails *)missingDetails; + /// -/// @param domainInvitesEmailExistingUsersDetails Sent domain invites to -/// existing domain accounts. +/// Initializes union class with tag state of "other". /// /// @return An initialized instance. /// -- (instancetype)initWithDomainInvitesEmailExistingUsersDetails: - (DBTEAMLOGDomainInvitesEmailExistingUsersDetails *)domainInvitesEmailExistingUsersDetails; +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_alert_state_changed_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingAlertStateChangedDetails` property, otherwise a runtime +/// exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_alert_state_changed_details". +/// +- (BOOL)isAdminAlertingAlertStateChangedDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_changed_alert_config_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingChangedAlertConfigDetails` property, otherwise a runtime +/// exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_changed_alert_config_details". +/// +- (BOOL)isAdminAlertingChangedAlertConfigDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_triggered_alert_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingTriggeredAlertDetails` property, otherwise a runtime exception +/// will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_triggered_alert_details". +/// +- (BOOL)isAdminAlertingTriggeredAlertDetails; /// -/// Initializes union class with tag state of -/// "domain_invites_request_to_join_team_details". -/// -/// Description of the "domain_invites_request_to_join_team_details" tag state: -/// Asked to join the team. +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_completed_details". /// -/// @param domainInvitesRequestToJoinTeamDetails Asked to join the team. +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareRestoreProcessCompletedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_completed_details". /// -- (instancetype)initWithDomainInvitesRequestToJoinTeamDetails: - (DBTEAMLOGDomainInvitesRequestToJoinTeamDetails *)domainInvitesRequestToJoinTeamDetails; +- (BOOL)isRansomwareRestoreProcessCompletedDetails; /// -/// Initializes union class with tag state of -/// "domain_invites_set_invite_new_user_pref_to_no_details". -/// -/// Description of the "domain_invites_set_invite_new_user_pref_to_no_details" -/// tag state: Turned off u201cAutomatically invite new usersu201d. +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_started_details". /// -/// @param domainInvitesSetInviteNewUserPrefToNoDetails Turned off -/// u201cAutomatically invite new usersu201d. +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareRestoreProcessStartedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_started_details". /// -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNoDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails *)domainInvitesSetInviteNewUserPrefToNoDetails; +- (BOOL)isRansomwareRestoreProcessStartedDetails; /// -/// Initializes union class with tag state of -/// "domain_invites_set_invite_new_user_pref_to_yes_details". -/// -/// Description of the "domain_invites_set_invite_new_user_pref_to_yes_details" -/// tag state: Turned on u201cAutomatically invite new usersu201d. +/// Retrieves whether the union's current tag state has value +/// "app_blocked_by_permissions_details". /// -/// @param domainInvitesSetInviteNewUserPrefToYesDetails Turned on -/// u201cAutomatically invite new usersu201d. +/// @note Call this method and ensure it returns true before accessing the +/// `appBlockedByPermissionsDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_blocked_by_permissions_details". /// -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYesDetails: - (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails *)domainInvitesSetInviteNewUserPrefToYesDetails; +- (BOOL)isAppBlockedByPermissionsDetails; /// -/// Initializes union class with tag state of -/// "domain_verification_add_domain_fail_details". -/// -/// Description of the "domain_verification_add_domain_fail_details" tag state: -/// Failed to verify a domain belonging to the team. +/// Retrieves whether the union's current tag state has value +/// "app_link_team_details". /// -/// @param domainVerificationAddDomainFailDetails Failed to verify a domain -/// belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appLinkTeamDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_link_team_details". /// -- (instancetype)initWithDomainVerificationAddDomainFailDetails: - (DBTEAMLOGDomainVerificationAddDomainFailDetails *)domainVerificationAddDomainFailDetails; +- (BOOL)isAppLinkTeamDetails; /// -/// Initializes union class with tag state of -/// "domain_verification_add_domain_success_details". -/// -/// Description of the "domain_verification_add_domain_success_details" tag -/// state: Verified a domain belonging to the team. +/// Retrieves whether the union's current tag state has value +/// "app_link_user_details". /// -/// @param domainVerificationAddDomainSuccessDetails Verified a domain belonging -/// to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appLinkUserDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_link_user_details". /// -- (instancetype)initWithDomainVerificationAddDomainSuccessDetails: - (DBTEAMLOGDomainVerificationAddDomainSuccessDetails *)domainVerificationAddDomainSuccessDetails; +- (BOOL)isAppLinkUserDetails; /// -/// Initializes union class with tag state of -/// "domain_verification_remove_domain_details". -/// -/// Description of the "domain_verification_remove_domain_details" tag state: -/// Removed a domain from the list of verified domains belonging to the team. +/// Retrieves whether the union's current tag state has value +/// "app_unlink_team_details". /// -/// @param domainVerificationRemoveDomainDetails Removed a domain from the list -/// of verified domains belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appUnlinkTeamDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_unlink_team_details". /// -- (instancetype)initWithDomainVerificationRemoveDomainDetails: - (DBTEAMLOGDomainVerificationRemoveDomainDetails *)domainVerificationRemoveDomainDetails; +- (BOOL)isAppUnlinkTeamDetails; /// -/// Initializes union class with tag state of "enabled_domain_invites_details". -/// -/// Description of the "enabled_domain_invites_details" tag state: Enabled -/// domain invites. +/// Retrieves whether the union's current tag state has value +/// "app_unlink_user_details". /// -/// @param enabledDomainInvitesDetails Enabled domain invites. +/// @note Call this method and ensure it returns true before accessing the +/// `appUnlinkUserDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_unlink_user_details". /// -- (instancetype)initWithEnabledDomainInvitesDetails:(DBTEAMLOGEnabledDomainInvitesDetails *)enabledDomainInvitesDetails; +- (BOOL)isAppUnlinkUserDetails; /// -/// Initializes union class with tag state of "create_folder_details". -/// -/// Description of the "create_folder_details" tag state: Created folders. +/// Retrieves whether the union's current tag state has value +/// "integration_connected_details". /// -/// @param createFolderDetails Created folders. +/// @note Call this method and ensure it returns true before accessing the +/// `integrationConnectedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "integration_connected_details". /// -- (instancetype)initWithCreateFolderDetails:(DBTEAMLOGCreateFolderDetails *)createFolderDetails; +- (BOOL)isIntegrationConnectedDetails; /// -/// Initializes union class with tag state of "file_add_details". -/// -/// Description of the "file_add_details" tag state: Added files and/or folders. +/// Retrieves whether the union's current tag state has value +/// "integration_disconnected_details". /// -/// @param fileAddDetails Added files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `integrationDisconnectedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "integration_disconnected_details". /// -- (instancetype)initWithFileAddDetails:(DBTEAMLOGFileAddDetails *)fileAddDetails; +- (BOOL)isIntegrationDisconnectedDetails; /// -/// Initializes union class with tag state of "file_copy_details". -/// -/// Description of the "file_copy_details" tag state: Copied files and/or -/// folders. +/// Retrieves whether the union's current tag state has value +/// "file_add_comment_details". /// -/// @param fileCopyDetails Copied files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAddCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_add_comment_details". /// -- (instancetype)initWithFileCopyDetails:(DBTEAMLOGFileCopyDetails *)fileCopyDetails; +- (BOOL)isFileAddCommentDetails; /// -/// Initializes union class with tag state of "file_delete_details". -/// -/// Description of the "file_delete_details" tag state: Deleted files and/or -/// folders. +/// Retrieves whether the union's current tag state has value +/// "file_change_comment_subscription_details". /// -/// @param fileDeleteDetails Deleted files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileChangeCommentSubscriptionDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_change_comment_subscription_details". /// -- (instancetype)initWithFileDeleteDetails:(DBTEAMLOGFileDeleteDetails *)fileDeleteDetails; +- (BOOL)isFileChangeCommentSubscriptionDetails; /// -/// Initializes union class with tag state of "file_download_details". -/// -/// Description of the "file_download_details" tag state: Downloaded files -/// and/or folders. +/// Retrieves whether the union's current tag state has value +/// "file_delete_comment_details". /// -/// @param fileDownloadDetails Downloaded files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDeleteCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_delete_comment_details". /// -- (instancetype)initWithFileDownloadDetails:(DBTEAMLOGFileDownloadDetails *)fileDownloadDetails; +- (BOOL)isFileDeleteCommentDetails; /// -/// Initializes union class with tag state of "file_edit_details". -/// -/// Description of the "file_edit_details" tag state: Edited files. +/// Retrieves whether the union's current tag state has value +/// "file_edit_comment_details". /// -/// @param fileEditDetails Edited files. +/// @note Call this method and ensure it returns true before accessing the +/// `fileEditCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_edit_comment_details". /// -- (instancetype)initWithFileEditDetails:(DBTEAMLOGFileEditDetails *)fileEditDetails; +- (BOOL)isFileEditCommentDetails; /// -/// Initializes union class with tag state of "file_get_copy_reference_details". -/// -/// Description of the "file_get_copy_reference_details" tag state: Create a -/// copy reference to a file or folder. +/// Retrieves whether the union's current tag state has value +/// "file_like_comment_details". /// -/// @param fileGetCopyReferenceDetails Create a copy reference to a file or -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileLikeCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_like_comment_details". /// -- (instancetype)initWithFileGetCopyReferenceDetails:(DBTEAMLOGFileGetCopyReferenceDetails *)fileGetCopyReferenceDetails; +- (BOOL)isFileLikeCommentDetails; /// -/// Initializes union class with tag state of "file_move_details". -/// -/// Description of the "file_move_details" tag state: Moved files and/or -/// folders. +/// Retrieves whether the union's current tag state has value +/// "file_resolve_comment_details". /// -/// @param fileMoveDetails Moved files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileResolveCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_resolve_comment_details". /// -- (instancetype)initWithFileMoveDetails:(DBTEAMLOGFileMoveDetails *)fileMoveDetails; +- (BOOL)isFileResolveCommentDetails; /// -/// Initializes union class with tag state of "file_permanently_delete_details". -/// -/// Description of the "file_permanently_delete_details" tag state: Permanently -/// deleted files and/or folders. +/// Retrieves whether the union's current tag state has value +/// "file_unlike_comment_details". /// -/// @param filePermanentlyDeleteDetails Permanently deleted files and/or -/// folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileUnlikeCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_unlike_comment_details". /// -- (instancetype)initWithFilePermanentlyDeleteDetails: - (DBTEAMLOGFilePermanentlyDeleteDetails *)filePermanentlyDeleteDetails; +- (BOOL)isFileUnlikeCommentDetails; /// -/// Initializes union class with tag state of "file_preview_details". -/// -/// Description of the "file_preview_details" tag state: Previewed files and/or -/// folders. +/// Retrieves whether the union's current tag state has value +/// "file_unresolve_comment_details". /// -/// @param filePreviewDetails Previewed files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileUnresolveCommentDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_unresolve_comment_details". /// -- (instancetype)initWithFilePreviewDetails:(DBTEAMLOGFilePreviewDetails *)filePreviewDetails; +- (BOOL)isFileUnresolveCommentDetails; /// -/// Initializes union class with tag state of "file_rename_details". -/// -/// Description of the "file_rename_details" tag state: Renamed files and/or -/// folders. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folders_details". /// -/// @param fileRenameDetails Renamed files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyAddFoldersDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folders_details". /// -- (instancetype)initWithFileRenameDetails:(DBTEAMLOGFileRenameDetails *)fileRenameDetails; +- (BOOL)isGovernancePolicyAddFoldersDetails; /// -/// Initializes union class with tag state of "file_restore_details". -/// -/// Description of the "file_restore_details" tag state: Restored deleted files -/// and/or folders. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folder_failed_details". /// -/// @param fileRestoreDetails Restored deleted files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyAddFolderFailedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folder_failed_details". /// -- (instancetype)initWithFileRestoreDetails:(DBTEAMLOGFileRestoreDetails *)fileRestoreDetails; +- (BOOL)isGovernancePolicyAddFolderFailedDetails; /// -/// Initializes union class with tag state of "file_revert_details". -/// -/// Description of the "file_revert_details" tag state: Reverted files to a -/// previous version. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_content_disposed_details". /// -/// @param fileRevertDetails Reverted files to a previous version. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyContentDisposedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_content_disposed_details". /// -- (instancetype)initWithFileRevertDetails:(DBTEAMLOGFileRevertDetails *)fileRevertDetails; +- (BOOL)isGovernancePolicyContentDisposedDetails; /// -/// Initializes union class with tag state of "file_rollback_changes_details". -/// -/// Description of the "file_rollback_changes_details" tag state: Rolled back -/// file change location changes. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_create_details". /// -/// @param fileRollbackChangesDetails Rolled back file change location changes. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyCreateDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_create_details". /// -- (instancetype)initWithFileRollbackChangesDetails:(DBTEAMLOGFileRollbackChangesDetails *)fileRollbackChangesDetails; +- (BOOL)isGovernancePolicyCreateDetails; /// -/// Initializes union class with tag state of -/// "file_save_copy_reference_details". -/// -/// Description of the "file_save_copy_reference_details" tag state: Save a file -/// or folder using a copy reference. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_delete_details". /// -/// @param fileSaveCopyReferenceDetails Save a file or folder using a copy -/// reference. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyDeleteDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_delete_details". /// -- (instancetype)initWithFileSaveCopyReferenceDetails: - (DBTEAMLOGFileSaveCopyReferenceDetails *)fileSaveCopyReferenceDetails; +- (BOOL)isGovernancePolicyDeleteDetails; /// -/// Initializes union class with tag state of -/// "file_request_add_deadline_details". -/// -/// Description of the "file_request_add_deadline_details" tag state: Added a -/// deadline to a file request. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_details_details". /// -/// @param fileRequestAddDeadlineDetails Added a deadline to a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyEditDetailsDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_details_details". /// -- (instancetype)initWithFileRequestAddDeadlineDetails: - (DBTEAMLOGFileRequestAddDeadlineDetails *)fileRequestAddDeadlineDetails; +- (BOOL)isGovernancePolicyEditDetailsDetails; /// -/// Initializes union class with tag state of "file_request_change_details". -/// -/// Description of the "file_request_change_details" tag state: Change a file -/// request. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_duration_details". /// -/// @param fileRequestChangeDetails Change a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyEditDurationDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_duration_details". /// -- (instancetype)initWithFileRequestChangeDetails:(DBTEAMLOGFileRequestChangeDetails *)fileRequestChangeDetails; +- (BOOL)isGovernancePolicyEditDurationDetails; /// -/// Initializes union class with tag state of -/// "file_request_change_folder_details". -/// -/// Description of the "file_request_change_folder_details" tag state: Changed -/// the file request folder. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_created_details". /// -/// @param fileRequestChangeFolderDetails Changed the file request folder. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyExportCreatedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_export_created_details". /// -- (instancetype)initWithFileRequestChangeFolderDetails: - (DBTEAMLOGFileRequestChangeFolderDetails *)fileRequestChangeFolderDetails; +- (BOOL)isGovernancePolicyExportCreatedDetails; /// -/// Initializes union class with tag state of "file_request_close_details". -/// -/// Description of the "file_request_close_details" tag state: Closed a file -/// request. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_removed_details". /// -/// @param fileRequestCloseDetails Closed a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyExportRemovedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_export_removed_details". /// -- (instancetype)initWithFileRequestCloseDetails:(DBTEAMLOGFileRequestCloseDetails *)fileRequestCloseDetails; +- (BOOL)isGovernancePolicyExportRemovedDetails; /// -/// Initializes union class with tag state of "file_request_create_details". -/// -/// Description of the "file_request_create_details" tag state: Created a file -/// request. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_remove_folders_details". /// -/// @param fileRequestCreateDetails Created a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyRemoveFoldersDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_remove_folders_details". /// -- (instancetype)initWithFileRequestCreateDetails:(DBTEAMLOGFileRequestCreateDetails *)fileRequestCreateDetails; +- (BOOL)isGovernancePolicyRemoveFoldersDetails; /// -/// Initializes union class with tag state of -/// "file_request_receive_file_details". -/// -/// Description of the "file_request_receive_file_details" tag state: Received -/// files for a file request. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_report_created_details". /// -/// @param fileRequestReceiveFileDetails Received files for a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyReportCreatedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_report_created_details". /// -- (instancetype)initWithFileRequestReceiveFileDetails: - (DBTEAMLOGFileRequestReceiveFileDetails *)fileRequestReceiveFileDetails; +- (BOOL)isGovernancePolicyReportCreatedDetails; /// -/// Initializes union class with tag state of -/// "file_request_remove_deadline_details". -/// -/// Description of the "file_request_remove_deadline_details" tag state: Removed -/// the file request deadline. +/// Retrieves whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded_details". /// -/// @param fileRequestRemoveDeadlineDetails Removed the file request deadline. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyZipPartDownloadedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded_details". /// -- (instancetype)initWithFileRequestRemoveDeadlineDetails: - (DBTEAMLOGFileRequestRemoveDeadlineDetails *)fileRequestRemoveDeadlineDetails; +- (BOOL)isGovernancePolicyZipPartDownloadedDetails; /// -/// Initializes union class with tag state of "file_request_send_details". -/// -/// Description of the "file_request_send_details" tag state: Sent file request -/// to users via email. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_activate_a_hold_details". /// -/// @param fileRequestSendDetails Sent file request to users via email. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsActivateAHoldDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_activate_a_hold_details". /// -- (instancetype)initWithFileRequestSendDetails:(DBTEAMLOGFileRequestSendDetails *)fileRequestSendDetails; +- (BOOL)isLegalHoldsActivateAHoldDetails; /// -/// Initializes union class with tag state of "group_add_external_id_details". -/// -/// Description of the "group_add_external_id_details" tag state: Added an -/// external ID for group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_add_members_details". /// -/// @param groupAddExternalIdDetails Added an external ID for group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsAddMembersDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_add_members_details". /// -- (instancetype)initWithGroupAddExternalIdDetails:(DBTEAMLOGGroupAddExternalIdDetails *)groupAddExternalIdDetails; +- (BOOL)isLegalHoldsAddMembersDetails; /// -/// Initializes union class with tag state of "group_add_member_details". -/// -/// Description of the "group_add_member_details" tag state: Added team members -/// to a group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_details_details". /// -/// @param groupAddMemberDetails Added team members to a group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsChangeHoldDetailsDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_details_details". /// -- (instancetype)initWithGroupAddMemberDetails:(DBTEAMLOGGroupAddMemberDetails *)groupAddMemberDetails; +- (BOOL)isLegalHoldsChangeHoldDetailsDetails; /// -/// Initializes union class with tag state of -/// "group_change_external_id_details". -/// -/// Description of the "group_change_external_id_details" tag state: Changed the -/// external ID for group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_name_details". /// -/// @param groupChangeExternalIdDetails Changed the external ID for group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsChangeHoldNameDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_name_details". /// -- (instancetype)initWithGroupChangeExternalIdDetails: - (DBTEAMLOGGroupChangeExternalIdDetails *)groupChangeExternalIdDetails; +- (BOOL)isLegalHoldsChangeHoldNameDetails; /// -/// Initializes union class with tag state of -/// "group_change_management_type_details". -/// -/// Description of the "group_change_management_type_details" tag state: Changed -/// group management type. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_a_hold_details". /// -/// @param groupChangeManagementTypeDetails Changed group management type. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportAHoldDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_a_hold_details". /// -- (instancetype)initWithGroupChangeManagementTypeDetails: - (DBTEAMLOGGroupChangeManagementTypeDetails *)groupChangeManagementTypeDetails; +- (BOOL)isLegalHoldsExportAHoldDetails; /// -/// Initializes union class with tag state of -/// "group_change_member_role_details". -/// -/// Description of the "group_change_member_role_details" tag state: Changed the -/// manager permissions belonging to a group member. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_cancelled_details". /// -/// @param groupChangeMemberRoleDetails Changed the manager permissions -/// belonging to a group member. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportCancelledDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_cancelled_details". /// -- (instancetype)initWithGroupChangeMemberRoleDetails: - (DBTEAMLOGGroupChangeMemberRoleDetails *)groupChangeMemberRoleDetails; +- (BOOL)isLegalHoldsExportCancelledDetails; /// -/// Initializes union class with tag state of "group_create_details". -/// -/// Description of the "group_create_details" tag state: Created a group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_downloaded_details". /// -/// @param groupCreateDetails Created a group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportDownloadedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_downloaded_details". /// -- (instancetype)initWithGroupCreateDetails:(DBTEAMLOGGroupCreateDetails *)groupCreateDetails; +- (BOOL)isLegalHoldsExportDownloadedDetails; /// -/// Initializes union class with tag state of "group_delete_details". -/// -/// Description of the "group_delete_details" tag state: Deleted a group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_removed_details". /// -/// @param groupDeleteDetails Deleted a group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportRemovedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_removed_details". /// -- (instancetype)initWithGroupDeleteDetails:(DBTEAMLOGGroupDeleteDetails *)groupDeleteDetails; +- (BOOL)isLegalHoldsExportRemovedDetails; /// -/// Initializes union class with tag state of "group_moved_details". -/// -/// Description of the "group_moved_details" tag state: Moved a group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_release_a_hold_details". /// -/// @param groupMovedDetails Moved a group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsReleaseAHoldDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_release_a_hold_details". /// -- (instancetype)initWithGroupMovedDetails:(DBTEAMLOGGroupMovedDetails *)groupMovedDetails; +- (BOOL)isLegalHoldsReleaseAHoldDetails; /// -/// Initializes union class with tag state of -/// "group_remove_external_id_details". -/// -/// Description of the "group_remove_external_id_details" tag state: Removed the -/// external ID for group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_remove_members_details". /// -/// @param groupRemoveExternalIdDetails Removed the external ID for group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsRemoveMembersDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_remove_members_details". /// -- (instancetype)initWithGroupRemoveExternalIdDetails: - (DBTEAMLOGGroupRemoveExternalIdDetails *)groupRemoveExternalIdDetails; +- (BOOL)isLegalHoldsRemoveMembersDetails; /// -/// Initializes union class with tag state of "group_remove_member_details". -/// -/// Description of the "group_remove_member_details" tag state: Removed team -/// members from a group. +/// Retrieves whether the union's current tag state has value +/// "legal_holds_report_a_hold_details". /// -/// @param groupRemoveMemberDetails Removed team members from a group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsReportAHoldDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_report_a_hold_details". /// -- (instancetype)initWithGroupRemoveMemberDetails:(DBTEAMLOGGroupRemoveMemberDetails *)groupRemoveMemberDetails; +- (BOOL)isLegalHoldsReportAHoldDetails; /// -/// Initializes union class with tag state of "group_rename_details". -/// -/// Description of the "group_rename_details" tag state: Renamed a group. +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_desktop_details". /// -/// @param groupRenameDetails Renamed a group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpDesktopDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_desktop_details". /// -- (instancetype)initWithGroupRenameDetails:(DBTEAMLOGGroupRenameDetails *)groupRenameDetails; +- (BOOL)isDeviceChangeIpDesktopDetails; /// -/// Initializes union class with tag state of "emm_error_details". -/// -/// Description of the "emm_error_details" tag state: Failed to sign in via EMM. +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_mobile_details". /// -/// @param emmErrorDetails Failed to sign in via EMM. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpMobileDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_mobile_details". /// -- (instancetype)initWithEmmErrorDetails:(DBTEAMLOGEmmErrorDetails *)emmErrorDetails; +- (BOOL)isDeviceChangeIpMobileDetails; /// -/// Initializes union class with tag state of "login_fail_details". -/// -/// Description of the "login_fail_details" tag state: Failed to sign in. +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_web_details". /// -/// @param loginFailDetails Failed to sign in. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpWebDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_web_details". /// -- (instancetype)initWithLoginFailDetails:(DBTEAMLOGLoginFailDetails *)loginFailDetails; +- (BOOL)isDeviceChangeIpWebDetails; /// -/// Initializes union class with tag state of "login_success_details". -/// -/// Description of the "login_success_details" tag state: Signed in. +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_fail_details". /// -/// @param loginSuccessDetails Signed in. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceDeleteOnUnlinkFailDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_fail_details". /// -- (instancetype)initWithLoginSuccessDetails:(DBTEAMLOGLoginSuccessDetails *)loginSuccessDetails; +- (BOOL)isDeviceDeleteOnUnlinkFailDetails; /// -/// Initializes union class with tag state of "logout_details". -/// -/// Description of the "logout_details" tag state: Signed out. +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_success_details". /// -/// @param logoutDetails Signed out. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceDeleteOnUnlinkSuccessDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_success_details". /// -- (instancetype)initWithLogoutDetails:(DBTEAMLOGLogoutDetails *)logoutDetails; +- (BOOL)isDeviceDeleteOnUnlinkSuccessDetails; /// -/// Initializes union class with tag state of -/// "reseller_support_session_end_details". -/// -/// Description of the "reseller_support_session_end_details" tag state: Ended -/// reseller support session. +/// Retrieves whether the union's current tag state has value +/// "device_link_fail_details". /// -/// @param resellerSupportSessionEndDetails Ended reseller support session. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceLinkFailDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_link_fail_details". /// -- (instancetype)initWithResellerSupportSessionEndDetails: - (DBTEAMLOGResellerSupportSessionEndDetails *)resellerSupportSessionEndDetails; +- (BOOL)isDeviceLinkFailDetails; /// -/// Initializes union class with tag state of -/// "reseller_support_session_start_details". -/// -/// Description of the "reseller_support_session_start_details" tag state: -/// Started reseller support session. +/// Retrieves whether the union's current tag state has value +/// "device_link_success_details". /// -/// @param resellerSupportSessionStartDetails Started reseller support session. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceLinkSuccessDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_link_success_details". /// -- (instancetype)initWithResellerSupportSessionStartDetails: - (DBTEAMLOGResellerSupportSessionStartDetails *)resellerSupportSessionStartDetails; +- (BOOL)isDeviceLinkSuccessDetails; /// -/// Initializes union class with tag state of "sign_in_as_session_end_details". -/// -/// Description of the "sign_in_as_session_end_details" tag state: Ended admin -/// sign-in-as session. +/// Retrieves whether the union's current tag state has value +/// "device_management_disabled_details". /// -/// @param signInAsSessionEndDetails Ended admin sign-in-as session. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceManagementDisabledDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_management_disabled_details". /// -- (instancetype)initWithSignInAsSessionEndDetails:(DBTEAMLOGSignInAsSessionEndDetails *)signInAsSessionEndDetails; +- (BOOL)isDeviceManagementDisabledDetails; /// -/// Initializes union class with tag state of -/// "sign_in_as_session_start_details". -/// -/// Description of the "sign_in_as_session_start_details" tag state: Started -/// admin sign-in-as session. +/// Retrieves whether the union's current tag state has value +/// "device_management_enabled_details". /// -/// @param signInAsSessionStartDetails Started admin sign-in-as session. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceManagementEnabledDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_management_enabled_details". /// -- (instancetype)initWithSignInAsSessionStartDetails:(DBTEAMLOGSignInAsSessionStartDetails *)signInAsSessionStartDetails; +- (BOOL)isDeviceManagementEnabledDetails; /// -/// Initializes union class with tag state of "sso_error_details". -/// -/// Description of the "sso_error_details" tag state: Failed to sign in via SSO. +/// Retrieves whether the union's current tag state has value +/// "device_sync_backup_status_changed_details". /// -/// @param ssoErrorDetails Failed to sign in via SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceSyncBackupStatusChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_sync_backup_status_changed_details". /// -- (instancetype)initWithSsoErrorDetails:(DBTEAMLOGSsoErrorDetails *)ssoErrorDetails; +- (BOOL)isDeviceSyncBackupStatusChangedDetails; /// -/// Initializes union class with tag state of "member_add_name_details". -/// -/// Description of the "member_add_name_details" tag state: Set team member name -/// when joining team. +/// Retrieves whether the union's current tag state has value +/// "device_unlink_details". /// -/// @param memberAddNameDetails Set team member name when joining team. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceUnlinkDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_unlink_details". /// -- (instancetype)initWithMemberAddNameDetails:(DBTEAMLOGMemberAddNameDetails *)memberAddNameDetails; +- (BOOL)isDeviceUnlinkDetails; /// -/// Initializes union class with tag state of -/// "member_change_admin_role_details". -/// -/// Description of the "member_change_admin_role_details" tag state: Change the -/// admin role belonging to team member. +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_exported_details". /// -/// @param memberChangeAdminRoleDetails Change the admin role belonging to team -/// member. +/// @note Call this method and ensure it returns true before accessing the +/// `dropboxPasswordsExportedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_exported_details". /// -- (instancetype)initWithMemberChangeAdminRoleDetails: - (DBTEAMLOGMemberChangeAdminRoleDetails *)memberChangeAdminRoleDetails; +- (BOOL)isDropboxPasswordsExportedDetails; /// -/// Initializes union class with tag state of "member_change_email_details". -/// -/// Description of the "member_change_email_details" tag state: Changed team -/// member email address. +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled_details". /// -/// @param memberChangeEmailDetails Changed team member email address. +/// @note Call this method and ensure it returns true before accessing the +/// `dropboxPasswordsNewDeviceEnrolledDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled_details". /// -- (instancetype)initWithMemberChangeEmailDetails:(DBTEAMLOGMemberChangeEmailDetails *)memberChangeEmailDetails; +- (BOOL)isDropboxPasswordsNewDeviceEnrolledDetails; /// -/// Initializes union class with tag state of "member_change_name_details". -/// -/// Description of the "member_change_name_details" tag state: Changed team -/// member name. +/// Retrieves whether the union's current tag state has value +/// "emm_refresh_auth_token_details". /// -/// @param memberChangeNameDetails Changed team member name. +/// @note Call this method and ensure it returns true before accessing the +/// `emmRefreshAuthTokenDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_refresh_auth_token_details". /// -- (instancetype)initWithMemberChangeNameDetails:(DBTEAMLOGMemberChangeNameDetails *)memberChangeNameDetails; +- (BOOL)isEmmRefreshAuthTokenDetails; /// -/// Initializes union class with tag state of "member_change_status_details". -/// -/// Description of the "member_change_status_details" tag state: Changed the -/// membership status of a team member. +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked_details". /// -/// @param memberChangeStatusDetails Changed the membership status of a team -/// member. +/// @note Call this method and ensure it returns true before accessing the +/// `externalDriveBackupEligibilityStatusCheckedDetails` property, otherwise a +/// runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked_details". /// -- (instancetype)initWithMemberChangeStatusDetails:(DBTEAMLOGMemberChangeStatusDetails *)memberChangeStatusDetails; +- (BOOL)isExternalDriveBackupEligibilityStatusCheckedDetails; /// -/// Initializes union class with tag state of "member_suggest_details". -/// -/// Description of the "member_suggest_details" tag state: Suggested a new team -/// member to be added to the team. +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_status_changed_details". /// -/// @param memberSuggestDetails Suggested a new team member to be added to the -/// team. +/// @note Call this method and ensure it returns true before accessing the +/// `externalDriveBackupStatusChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_drive_backup_status_changed_details". /// -- (instancetype)initWithMemberSuggestDetails:(DBTEAMLOGMemberSuggestDetails *)memberSuggestDetails; +- (BOOL)isExternalDriveBackupStatusChangedDetails; /// -/// Initializes union class with tag state of -/// "paper_content_add_member_details". -/// -/// Description of the "paper_content_add_member_details" tag state: Added users -/// to the membership of a Paper doc or folder. +/// Retrieves whether the union's current tag state has value +/// "account_capture_change_availability_details". /// -/// @param paperContentAddMemberDetails Added users to the membership of a Paper -/// doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureChangeAvailabilityDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_change_availability_details". /// -- (instancetype)initWithPaperContentAddMemberDetails: - (DBTEAMLOGPaperContentAddMemberDetails *)paperContentAddMemberDetails; +- (BOOL)isAccountCaptureChangeAvailabilityDetails; /// -/// Initializes union class with tag state of -/// "paper_content_add_to_folder_details". -/// -/// Description of the "paper_content_add_to_folder_details" tag state: Added -/// Paper doc or folder to a folder. +/// Retrieves whether the union's current tag state has value +/// "account_capture_migrate_account_details". /// -/// @param paperContentAddToFolderDetails Added Paper doc or folder to a folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureMigrateAccountDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_migrate_account_details". /// -- (instancetype)initWithPaperContentAddToFolderDetails: - (DBTEAMLOGPaperContentAddToFolderDetails *)paperContentAddToFolderDetails; +- (BOOL)isAccountCaptureMigrateAccountDetails; /// -/// Initializes union class with tag state of "paper_content_archive_details". -/// -/// Description of the "paper_content_archive_details" tag state: Archived Paper -/// doc or folder. +/// Retrieves whether the union's current tag state has value +/// "account_capture_notification_emails_sent_details". /// -/// @param paperContentArchiveDetails Archived Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureNotificationEmailsSentDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_notification_emails_sent_details". /// -- (instancetype)initWithPaperContentArchiveDetails:(DBTEAMLOGPaperContentArchiveDetails *)paperContentArchiveDetails; +- (BOOL)isAccountCaptureNotificationEmailsSentDetails; /// -/// Initializes union class with tag state of "paper_content_create_details". -/// -/// Description of the "paper_content_create_details" tag state: Created a Paper -/// doc or folder. +/// Retrieves whether the union's current tag state has value +/// "account_capture_relinquish_account_details". /// -/// @param paperContentCreateDetails Created a Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureRelinquishAccountDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_relinquish_account_details". /// -- (instancetype)initWithPaperContentCreateDetails:(DBTEAMLOGPaperContentCreateDetails *)paperContentCreateDetails; +- (BOOL)isAccountCaptureRelinquishAccountDetails; /// -/// Initializes union class with tag state of -/// "paper_content_permanently_delete_details". -/// -/// Description of the "paper_content_permanently_delete_details" tag state: -/// Permanently deleted a Paper doc or folder. +/// Retrieves whether the union's current tag state has value +/// "disabled_domain_invites_details". /// -/// @param paperContentPermanentlyDeleteDetails Permanently deleted a Paper doc -/// or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `disabledDomainInvitesDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "disabled_domain_invites_details". /// -- (instancetype)initWithPaperContentPermanentlyDeleteDetails: - (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)paperContentPermanentlyDeleteDetails; +- (BOOL)isDisabledDomainInvitesDetails; /// -/// Initializes union class with tag state of -/// "paper_content_remove_from_folder_details". -/// -/// Description of the "paper_content_remove_from_folder_details" tag state: -/// Removed Paper doc or folder from a folder. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team_details". /// -/// @param paperContentRemoveFromFolderDetails Removed Paper doc or folder from -/// a folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesApproveRequestToJoinTeamDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team_details". /// -- (instancetype)initWithPaperContentRemoveFromFolderDetails: - (DBTEAMLOGPaperContentRemoveFromFolderDetails *)paperContentRemoveFromFolderDetails; +- (BOOL)isDomainInvitesApproveRequestToJoinTeamDetails; /// -/// Initializes union class with tag state of -/// "paper_content_remove_member_details". -/// -/// Description of the "paper_content_remove_member_details" tag state: Removed -/// a user from the membership of a Paper doc or folder. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team_details". /// -/// @param paperContentRemoveMemberDetails Removed a user from the membership of -/// a Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesDeclineRequestToJoinTeamDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team_details". /// -- (instancetype)initWithPaperContentRemoveMemberDetails: - (DBTEAMLOGPaperContentRemoveMemberDetails *)paperContentRemoveMemberDetails; +- (BOOL)isDomainInvitesDeclineRequestToJoinTeamDetails; /// -/// Initializes union class with tag state of "paper_content_rename_details". -/// -/// Description of the "paper_content_rename_details" tag state: Renamed Paper -/// doc or folder. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_email_existing_users_details". /// -/// @param paperContentRenameDetails Renamed Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesEmailExistingUsersDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_email_existing_users_details". /// -- (instancetype)initWithPaperContentRenameDetails:(DBTEAMLOGPaperContentRenameDetails *)paperContentRenameDetails; +- (BOOL)isDomainInvitesEmailExistingUsersDetails; /// -/// Initializes union class with tag state of "paper_content_restore_details". -/// -/// Description of the "paper_content_restore_details" tag state: Restored an -/// archived Paper doc or folder. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_request_to_join_team_details". /// -/// @param paperContentRestoreDetails Restored an archived Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesRequestToJoinTeamDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_request_to_join_team_details". /// -- (instancetype)initWithPaperContentRestoreDetails:(DBTEAMLOGPaperContentRestoreDetails *)paperContentRestoreDetails; +- (BOOL)isDomainInvitesRequestToJoinTeamDetails; /// -/// Initializes union class with tag state of "paper_doc_add_comment_details". -/// -/// Description of the "paper_doc_add_comment_details" tag state: Added a Paper -/// doc comment. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no_details". /// -/// @param paperDocAddCommentDetails Added a Paper doc comment. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesSetInviteNewUserPrefToNoDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no_details". /// -- (instancetype)initWithPaperDocAddCommentDetails:(DBTEAMLOGPaperDocAddCommentDetails *)paperDocAddCommentDetails; +- (BOOL)isDomainInvitesSetInviteNewUserPrefToNoDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_change_member_role_details". -/// -/// Description of the "paper_doc_change_member_role_details" tag state: Changed -/// the access type of a Paper doc member. +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes_details". /// -/// @param paperDocChangeMemberRoleDetails Changed the access type of a Paper -/// doc member. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesSetInviteNewUserPrefToYesDetails` property, otherwise a +/// runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes_details". /// -- (instancetype)initWithPaperDocChangeMemberRoleDetails: - (DBTEAMLOGPaperDocChangeMemberRoleDetails *)paperDocChangeMemberRoleDetails; +- (BOOL)isDomainInvitesSetInviteNewUserPrefToYesDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_change_sharing_policy_details". -/// -/// Description of the "paper_doc_change_sharing_policy_details" tag state: -/// Changed the sharing policy for Paper doc. +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_fail_details". /// -/// @param paperDocChangeSharingPolicyDetails Changed the sharing policy for -/// Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationAddDomainFailDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_fail_details". /// -- (instancetype)initWithPaperDocChangeSharingPolicyDetails: - (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)paperDocChangeSharingPolicyDetails; +- (BOOL)isDomainVerificationAddDomainFailDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_change_subscription_details". -/// -/// Description of the "paper_doc_change_subscription_details" tag state: -/// Followed or unfollowed a Paper doc. +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_success_details". /// -/// @param paperDocChangeSubscriptionDetails Followed or unfollowed a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationAddDomainSuccessDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_success_details". /// -- (instancetype)initWithPaperDocChangeSubscriptionDetails: - (DBTEAMLOGPaperDocChangeSubscriptionDetails *)paperDocChangeSubscriptionDetails; +- (BOOL)isDomainVerificationAddDomainSuccessDetails; /// -/// Initializes union class with tag state of "paper_doc_deleted_details". -/// -/// Description of the "paper_doc_deleted_details" tag state: Paper doc -/// archived. +/// Retrieves whether the union's current tag state has value +/// "domain_verification_remove_domain_details". /// -/// @param paperDocDeletedDetails Paper doc archived. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationRemoveDomainDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_remove_domain_details". /// -- (instancetype)initWithPaperDocDeletedDetails:(DBTEAMLOGPaperDocDeletedDetails *)paperDocDeletedDetails; +- (BOOL)isDomainVerificationRemoveDomainDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_delete_comment_details". -/// -/// Description of the "paper_doc_delete_comment_details" tag state: Deleted a -/// Paper doc comment. +/// Retrieves whether the union's current tag state has value +/// "enabled_domain_invites_details". /// -/// @param paperDocDeleteCommentDetails Deleted a Paper doc comment. +/// @note Call this method and ensure it returns true before accessing the +/// `enabledDomainInvitesDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "enabled_domain_invites_details". /// -- (instancetype)initWithPaperDocDeleteCommentDetails: - (DBTEAMLOGPaperDocDeleteCommentDetails *)paperDocDeleteCommentDetails; +- (BOOL)isEnabledDomainInvitesDetails; /// -/// Initializes union class with tag state of "paper_doc_download_details". -/// -/// Description of the "paper_doc_download_details" tag state: Downloaded a -/// Paper doc in a particular output format. -/// -/// @param paperDocDownloadDetails Downloaded a Paper doc in a particular output -/// format. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion_details". /// -/// @return An initialized instance. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyCancelKeyDeletionDetails` property, otherwise a runtime +/// exception will be thrown. /// -- (instancetype)initWithPaperDocDownloadDetails:(DBTEAMLOGPaperDocDownloadDetails *)paperDocDownloadDetails; - +/// @return Whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion_details". /// -/// Initializes union class with tag state of "paper_doc_edit_details". +- (BOOL)isTeamEncryptionKeyCancelKeyDeletionDetails; + /// -/// Description of the "paper_doc_edit_details" tag state: Edited a Paper doc. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_create_key_details". /// -/// @param paperDocEditDetails Edited a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyCreateKeyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_create_key_details". /// -- (instancetype)initWithPaperDocEditDetails:(DBTEAMLOGPaperDocEditDetails *)paperDocEditDetails; +- (BOOL)isTeamEncryptionKeyCreateKeyDetails; /// -/// Initializes union class with tag state of "paper_doc_edit_comment_details". -/// -/// Description of the "paper_doc_edit_comment_details" tag state: Edited a -/// Paper doc comment. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_delete_key_details". /// -/// @param paperDocEditCommentDetails Edited a Paper doc comment. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyDeleteKeyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_delete_key_details". /// -- (instancetype)initWithPaperDocEditCommentDetails:(DBTEAMLOGPaperDocEditCommentDetails *)paperDocEditCommentDetails; +- (BOOL)isTeamEncryptionKeyDeleteKeyDetails; /// -/// Initializes union class with tag state of "paper_doc_followed_details". -/// -/// Description of the "paper_doc_followed_details" tag state: Followed a Paper -/// doc. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_disable_key_details". /// -/// @param paperDocFollowedDetails Followed a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyDisableKeyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_disable_key_details". /// -- (instancetype)initWithPaperDocFollowedDetails:(DBTEAMLOGPaperDocFollowedDetails *)paperDocFollowedDetails; +- (BOOL)isTeamEncryptionKeyDisableKeyDetails; /// -/// Initializes union class with tag state of "paper_doc_mention_details". -/// -/// Description of the "paper_doc_mention_details" tag state: Mentioned a member -/// in a Paper doc. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_enable_key_details". /// -/// @param paperDocMentionDetails Mentioned a member in a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyEnableKeyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_enable_key_details". /// -- (instancetype)initWithPaperDocMentionDetails:(DBTEAMLOGPaperDocMentionDetails *)paperDocMentionDetails; +- (BOOL)isTeamEncryptionKeyEnableKeyDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_request_access_details". -/// -/// Description of the "paper_doc_request_access_details" tag state: Requested -/// to be a member on a Paper doc. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_rotate_key_details". /// -/// @param paperDocRequestAccessDetails Requested to be a member on a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyRotateKeyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_rotate_key_details". /// -- (instancetype)initWithPaperDocRequestAccessDetails: - (DBTEAMLOGPaperDocRequestAccessDetails *)paperDocRequestAccessDetails; +- (BOOL)isTeamEncryptionKeyRotateKeyDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_resolve_comment_details". -/// -/// Description of the "paper_doc_resolve_comment_details" tag state: Paper doc -/// comment resolved. +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion_details". /// -/// @param paperDocResolveCommentDetails Paper doc comment resolved. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyScheduleKeyDeletionDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion_details". /// -- (instancetype)initWithPaperDocResolveCommentDetails: - (DBTEAMLOGPaperDocResolveCommentDetails *)paperDocResolveCommentDetails; +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletionDetails; /// -/// Initializes union class with tag state of "paper_doc_revert_details". -/// -/// Description of the "paper_doc_revert_details" tag state: Restored a Paper -/// doc to previous revision. +/// Retrieves whether the union's current tag state has value +/// "apply_naming_convention_details". /// -/// @param paperDocRevertDetails Restored a Paper doc to previous revision. +/// @note Call this method and ensure it returns true before accessing the +/// `applyNamingConventionDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "apply_naming_convention_details". /// -- (instancetype)initWithPaperDocRevertDetails:(DBTEAMLOGPaperDocRevertDetails *)paperDocRevertDetails; +- (BOOL)isApplyNamingConventionDetails; /// -/// Initializes union class with tag state of "paper_doc_slack_share_details". -/// -/// Description of the "paper_doc_slack_share_details" tag state: Paper doc link -/// shared via slack. +/// Retrieves whether the union's current tag state has value +/// "create_folder_details". /// -/// @param paperDocSlackShareDetails Paper doc link shared via slack. +/// @note Call this method and ensure it returns true before accessing the +/// `createFolderDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "create_folder_details". /// -- (instancetype)initWithPaperDocSlackShareDetails:(DBTEAMLOGPaperDocSlackShareDetails *)paperDocSlackShareDetails; +- (BOOL)isCreateFolderDetails; /// -/// Initializes union class with tag state of "paper_doc_team_invite_details". -/// -/// Description of the "paper_doc_team_invite_details" tag state: Paper doc -/// shared with team member. +/// Retrieves whether the union's current tag state has value +/// "file_add_details". /// -/// @param paperDocTeamInviteDetails Paper doc shared with team member. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAddDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_add_details". /// -- (instancetype)initWithPaperDocTeamInviteDetails:(DBTEAMLOGPaperDocTeamInviteDetails *)paperDocTeamInviteDetails; +- (BOOL)isFileAddDetails; /// -/// Initializes union class with tag state of "paper_doc_trashed_details". -/// -/// Description of the "paper_doc_trashed_details" tag state: Paper doc trashed. +/// Retrieves whether the union's current tag state has value +/// "file_add_from_automation_details". /// -/// @param paperDocTrashedDetails Paper doc trashed. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAddFromAutomationDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_add_from_automation_details". /// -- (instancetype)initWithPaperDocTrashedDetails:(DBTEAMLOGPaperDocTrashedDetails *)paperDocTrashedDetails; +- (BOOL)isFileAddFromAutomationDetails; /// -/// Initializes union class with tag state of -/// "paper_doc_unresolve_comment_details". -/// -/// Description of the "paper_doc_unresolve_comment_details" tag state: -/// Unresolved a Paper doc comment. +/// Retrieves whether the union's current tag state has value +/// "file_copy_details". /// -/// @param paperDocUnresolveCommentDetails Unresolved a Paper doc comment. +/// @note Call this method and ensure it returns true before accessing the +/// `fileCopyDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_copy_details". /// -- (instancetype)initWithPaperDocUnresolveCommentDetails: - (DBTEAMLOGPaperDocUnresolveCommentDetails *)paperDocUnresolveCommentDetails; +- (BOOL)isFileCopyDetails; /// -/// Initializes union class with tag state of "paper_doc_untrashed_details". -/// -/// Description of the "paper_doc_untrashed_details" tag state: Paper doc -/// untrashed. +/// Retrieves whether the union's current tag state has value +/// "file_delete_details". /// -/// @param paperDocUntrashedDetails Paper doc untrashed. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDeleteDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_delete_details". /// -- (instancetype)initWithPaperDocUntrashedDetails:(DBTEAMLOGPaperDocUntrashedDetails *)paperDocUntrashedDetails; +- (BOOL)isFileDeleteDetails; /// -/// Initializes union class with tag state of "paper_doc_view_details". -/// -/// Description of the "paper_doc_view_details" tag state: Viewed Paper doc. +/// Retrieves whether the union's current tag state has value +/// "file_download_details". /// -/// @param paperDocViewDetails Viewed Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDownloadDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_download_details". /// -- (instancetype)initWithPaperDocViewDetails:(DBTEAMLOGPaperDocViewDetails *)paperDocViewDetails; +- (BOOL)isFileDownloadDetails; /// -/// Initializes union class with tag state of -/// "paper_folder_change_subscription_details". -/// -/// Description of the "paper_folder_change_subscription_details" tag state: -/// Followed or unfollowed a Paper folder. +/// Retrieves whether the union's current tag state has value +/// "file_edit_details". /// -/// @param paperFolderChangeSubscriptionDetails Followed or unfollowed a Paper -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileEditDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_edit_details". /// -- (instancetype)initWithPaperFolderChangeSubscriptionDetails: - (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)paperFolderChangeSubscriptionDetails; +- (BOOL)isFileEditDetails; /// -/// Initializes union class with tag state of "paper_folder_deleted_details". -/// -/// Description of the "paper_folder_deleted_details" tag state: Paper folder -/// archived. +/// Retrieves whether the union's current tag state has value +/// "file_get_copy_reference_details". /// -/// @param paperFolderDeletedDetails Paper folder archived. +/// @note Call this method and ensure it returns true before accessing the +/// `fileGetCopyReferenceDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_get_copy_reference_details". /// -- (instancetype)initWithPaperFolderDeletedDetails:(DBTEAMLOGPaperFolderDeletedDetails *)paperFolderDeletedDetails; +- (BOOL)isFileGetCopyReferenceDetails; /// -/// Initializes union class with tag state of "paper_folder_followed_details". -/// -/// Description of the "paper_folder_followed_details" tag state: Followed a -/// Paper folder. +/// Retrieves whether the union's current tag state has value +/// "file_locking_lock_status_changed_details". /// -/// @param paperFolderFollowedDetails Followed a Paper folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileLockingLockStatusChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_locking_lock_status_changed_details". /// -- (instancetype)initWithPaperFolderFollowedDetails:(DBTEAMLOGPaperFolderFollowedDetails *)paperFolderFollowedDetails; +- (BOOL)isFileLockingLockStatusChangedDetails; /// -/// Initializes union class with tag state of -/// "paper_folder_team_invite_details". -/// -/// Description of the "paper_folder_team_invite_details" tag state: Paper -/// folder shared with team member. +/// Retrieves whether the union's current tag state has value +/// "file_move_details". /// -/// @param paperFolderTeamInviteDetails Paper folder shared with team member. +/// @note Call this method and ensure it returns true before accessing the +/// `fileMoveDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_move_details". /// -- (instancetype)initWithPaperFolderTeamInviteDetails: - (DBTEAMLOGPaperFolderTeamInviteDetails *)paperFolderTeamInviteDetails; +- (BOOL)isFileMoveDetails; /// -/// Initializes union class with tag state of "password_change_details". -/// -/// Description of the "password_change_details" tag state: Changed password. +/// Retrieves whether the union's current tag state has value +/// "file_permanently_delete_details". /// -/// @param passwordChangeDetails Changed password. +/// @note Call this method and ensure it returns true before accessing the +/// `filePermanentlyDeleteDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_permanently_delete_details". /// -- (instancetype)initWithPasswordChangeDetails:(DBTEAMLOGPasswordChangeDetails *)passwordChangeDetails; +- (BOOL)isFilePermanentlyDeleteDetails; /// -/// Initializes union class with tag state of "password_reset_details". -/// -/// Description of the "password_reset_details" tag state: Reset password. +/// Retrieves whether the union's current tag state has value +/// "file_preview_details". /// -/// @param passwordResetDetails Reset password. +/// @note Call this method and ensure it returns true before accessing the +/// `filePreviewDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_preview_details". /// -- (instancetype)initWithPasswordResetDetails:(DBTEAMLOGPasswordResetDetails *)passwordResetDetails; +- (BOOL)isFilePreviewDetails; /// -/// Initializes union class with tag state of "password_reset_all_details". -/// -/// Description of the "password_reset_all_details" tag state: Reset all team -/// member passwords. +/// Retrieves whether the union's current tag state has value +/// "file_rename_details". /// -/// @param passwordResetAllDetails Reset all team member passwords. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRenameDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_rename_details". /// -- (instancetype)initWithPasswordResetAllDetails:(DBTEAMLOGPasswordResetAllDetails *)passwordResetAllDetails; +- (BOOL)isFileRenameDetails; /// -/// Initializes union class with tag state of -/// "emm_create_exceptions_report_details". -/// -/// Description of the "emm_create_exceptions_report_details" tag state: EMM -/// excluded users report created. +/// Retrieves whether the union's current tag state has value +/// "file_restore_details". /// -/// @param emmCreateExceptionsReportDetails EMM excluded users report created. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRestoreDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_restore_details". /// -- (instancetype)initWithEmmCreateExceptionsReportDetails: - (DBTEAMLOGEmmCreateExceptionsReportDetails *)emmCreateExceptionsReportDetails; +- (BOOL)isFileRestoreDetails; /// -/// Initializes union class with tag state of "emm_create_usage_report_details". -/// -/// Description of the "emm_create_usage_report_details" tag state: EMM mobile -/// app usage report created. +/// Retrieves whether the union's current tag state has value +/// "file_revert_details". /// -/// @param emmCreateUsageReportDetails EMM mobile app usage report created. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRevertDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_revert_details". /// -- (instancetype)initWithEmmCreateUsageReportDetails:(DBTEAMLOGEmmCreateUsageReportDetails *)emmCreateUsageReportDetails; +- (BOOL)isFileRevertDetails; /// -/// Initializes union class with tag state of -/// "smart_sync_create_admin_privilege_report_details". -/// -/// Description of the "smart_sync_create_admin_privilege_report_details" tag -/// state: Smart Sync non-admin devices report created. +/// Retrieves whether the union's current tag state has value +/// "file_rollback_changes_details". /// -/// @param smartSyncCreateAdminPrivilegeReportDetails Smart Sync non-admin -/// devices report created. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRollbackChangesDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_rollback_changes_details". /// -- (instancetype)initWithSmartSyncCreateAdminPrivilegeReportDetails: - (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)smartSyncCreateAdminPrivilegeReportDetails; +- (BOOL)isFileRollbackChangesDetails; /// -/// Initializes union class with tag state of -/// "team_activity_create_report_details". -/// -/// Description of the "team_activity_create_report_details" tag state: Created -/// a team activity report. -/// -/// @param teamActivityCreateReportDetails Created a team activity report. +/// Retrieves whether the union's current tag state has value +/// "file_save_copy_reference_details". /// -/// @return An initialized instance. +/// @note Call this method and ensure it returns true before accessing the +/// `fileSaveCopyReferenceDetails` property, otherwise a runtime exception will +/// be thrown. /// -- (instancetype)initWithTeamActivityCreateReportDetails: - (DBTEAMLOGTeamActivityCreateReportDetails *)teamActivityCreateReportDetails; - +/// @return Whether the union's current tag state has value +/// "file_save_copy_reference_details". /// -/// Initializes union class with tag state of "collection_share_details". +- (BOOL)isFileSaveCopyReferenceDetails; + /// -/// Description of the "collection_share_details" tag state: Shared an album. +/// Retrieves whether the union's current tag state has value +/// "folder_overview_description_changed_details". /// -/// @param collectionShareDetails Shared an album. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewDescriptionChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_description_changed_details". /// -- (instancetype)initWithCollectionShareDetails:(DBTEAMLOGCollectionShareDetails *)collectionShareDetails; +- (BOOL)isFolderOverviewDescriptionChangedDetails; /// -/// Initializes union class with tag state of "note_acl_invite_only_details". -/// -/// Description of the "note_acl_invite_only_details" tag state: Changed a Paper -/// document to be invite-only. +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_pinned_details". /// -/// @param noteAclInviteOnlyDetails Changed a Paper document to be invite-only. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewItemPinnedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_item_pinned_details". /// -- (instancetype)initWithNoteAclInviteOnlyDetails:(DBTEAMLOGNoteAclInviteOnlyDetails *)noteAclInviteOnlyDetails; +- (BOOL)isFolderOverviewItemPinnedDetails; /// -/// Initializes union class with tag state of "note_acl_link_details". -/// -/// Description of the "note_acl_link_details" tag state: Changed a Paper -/// document to be link accessible. +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_unpinned_details". /// -/// @param noteAclLinkDetails Changed a Paper document to be link accessible. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewItemUnpinnedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_item_unpinned_details". /// -- (instancetype)initWithNoteAclLinkDetails:(DBTEAMLOGNoteAclLinkDetails *)noteAclLinkDetails; +- (BOOL)isFolderOverviewItemUnpinnedDetails; /// -/// Initializes union class with tag state of "note_acl_team_link_details". -/// -/// Description of the "note_acl_team_link_details" tag state: Changed a Paper -/// document to be link accessible for the team. +/// Retrieves whether the union's current tag state has value +/// "object_label_added_details". /// -/// @param noteAclTeamLinkDetails Changed a Paper document to be link accessible -/// for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelAddedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_added_details". /// -- (instancetype)initWithNoteAclTeamLinkDetails:(DBTEAMLOGNoteAclTeamLinkDetails *)noteAclTeamLinkDetails; +- (BOOL)isObjectLabelAddedDetails; /// -/// Initializes union class with tag state of "note_shared_details". -/// -/// Description of the "note_shared_details" tag state: Shared a Paper doc. +/// Retrieves whether the union's current tag state has value +/// "object_label_removed_details". /// -/// @param noteSharedDetails Shared a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelRemovedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_removed_details". /// -- (instancetype)initWithNoteSharedDetails:(DBTEAMLOGNoteSharedDetails *)noteSharedDetails; +- (BOOL)isObjectLabelRemovedDetails; /// -/// Initializes union class with tag state of "note_share_receive_details". -/// -/// Description of the "note_share_receive_details" tag state: Shared Paper -/// document received. +/// Retrieves whether the union's current tag state has value +/// "object_label_updated_value_details". /// -/// @param noteShareReceiveDetails Shared Paper document received. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelUpdatedValueDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_updated_value_details". /// -- (instancetype)initWithNoteShareReceiveDetails:(DBTEAMLOGNoteShareReceiveDetails *)noteShareReceiveDetails; +- (BOOL)isObjectLabelUpdatedValueDetails; /// -/// Initializes union class with tag state of "open_note_shared_details". -/// -/// Description of the "open_note_shared_details" tag state: Opened a shared -/// Paper doc. +/// Retrieves whether the union's current tag state has value +/// "organize_folder_with_tidy_details". /// -/// @param openNoteSharedDetails Opened a shared Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `organizeFolderWithTidyDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "organize_folder_with_tidy_details". /// -- (instancetype)initWithOpenNoteSharedDetails:(DBTEAMLOGOpenNoteSharedDetails *)openNoteSharedDetails; +- (BOOL)isOrganizeFolderWithTidyDetails; /// -/// Initializes union class with tag state of "sf_add_group_details". -/// -/// Description of the "sf_add_group_details" tag state: Added the team to a -/// shared folder. +/// Retrieves whether the union's current tag state has value +/// "replay_file_delete_details". /// -/// @param sfAddGroupDetails Added the team to a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `replayFileDeleteDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "replay_file_delete_details". /// -- (instancetype)initWithSfAddGroupDetails:(DBTEAMLOGSfAddGroupDetails *)sfAddGroupDetails; +- (BOOL)isReplayFileDeleteDetails; /// -/// Initializes union class with tag state of -/// "sf_allow_non_members_to_view_shared_links_details". -/// -/// Description of the "sf_allow_non_members_to_view_shared_links_details" tag -/// state: Allowed non collaborators to view links to files in a shared folder. +/// Retrieves whether the union's current tag state has value +/// "rewind_folder_details". /// -/// @param sfAllowNonMembersToViewSharedLinksDetails Allowed non collaborators -/// to view links to files in a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `rewindFolderDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "rewind_folder_details". /// -- (instancetype)initWithSfAllowNonMembersToViewSharedLinksDetails: - (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)sfAllowNonMembersToViewSharedLinksDetails; +- (BOOL)isRewindFolderDetails; /// -/// Initializes union class with tag state of "sf_invite_group_details". -/// -/// Description of the "sf_invite_group_details" tag state: Invited a group to a -/// shared folder. +/// Retrieves whether the union's current tag state has value +/// "undo_naming_convention_details". /// -/// @param sfInviteGroupDetails Invited a group to a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `undoNamingConventionDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "undo_naming_convention_details". /// -- (instancetype)initWithSfInviteGroupDetails:(DBTEAMLOGSfInviteGroupDetails *)sfInviteGroupDetails; +- (BOOL)isUndoNamingConventionDetails; /// -/// Initializes union class with tag state of "sf_nest_details". -/// -/// Description of the "sf_nest_details" tag state: Changed parent of shared -/// folder. +/// Retrieves whether the union's current tag state has value +/// "undo_organize_folder_with_tidy_details". /// -/// @param sfNestDetails Changed parent of shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `undoOrganizeFolderWithTidyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "undo_organize_folder_with_tidy_details". /// -- (instancetype)initWithSfNestDetails:(DBTEAMLOGSfNestDetails *)sfNestDetails; +- (BOOL)isUndoOrganizeFolderWithTidyDetails; /// -/// Initializes union class with tag state of "sf_team_decline_details". -/// -/// Description of the "sf_team_decline_details" tag state: Declined a team -/// member's invitation to a shared folder. +/// Retrieves whether the union's current tag state has value +/// "user_tags_added_details". /// -/// @param sfTeamDeclineDetails Declined a team member's invitation to a shared -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `userTagsAddedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "user_tags_added_details". /// -- (instancetype)initWithSfTeamDeclineDetails:(DBTEAMLOGSfTeamDeclineDetails *)sfTeamDeclineDetails; +- (BOOL)isUserTagsAddedDetails; /// -/// Initializes union class with tag state of "sf_team_grant_access_details". -/// -/// Description of the "sf_team_grant_access_details" tag state: Granted access -/// to a shared folder. +/// Retrieves whether the union's current tag state has value +/// "user_tags_removed_details". /// -/// @param sfTeamGrantAccessDetails Granted access to a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `userTagsRemovedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "user_tags_removed_details". /// -- (instancetype)initWithSfTeamGrantAccessDetails:(DBTEAMLOGSfTeamGrantAccessDetails *)sfTeamGrantAccessDetails; +- (BOOL)isUserTagsRemovedDetails; /// -/// Initializes union class with tag state of "sf_team_invite_details". -/// -/// Description of the "sf_team_invite_details" tag state: Invited team members -/// to a shared folder. +/// Retrieves whether the union's current tag state has value +/// "email_ingest_receive_file_details". /// -/// @param sfTeamInviteDetails Invited team members to a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `emailIngestReceiveFileDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "email_ingest_receive_file_details". /// -- (instancetype)initWithSfTeamInviteDetails:(DBTEAMLOGSfTeamInviteDetails *)sfTeamInviteDetails; +- (BOOL)isEmailIngestReceiveFileDetails; /// -/// Initializes union class with tag state of -/// "sf_team_invite_change_role_details". -/// -/// Description of the "sf_team_invite_change_role_details" tag state: Changed a -/// team member's role in a shared folder. +/// Retrieves whether the union's current tag state has value +/// "file_request_change_details". /// -/// @param sfTeamInviteChangeRoleDetails Changed a team member's role in a -/// shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestChangeDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_change_details". /// -- (instancetype)initWithSfTeamInviteChangeRoleDetails: - (DBTEAMLOGSfTeamInviteChangeRoleDetails *)sfTeamInviteChangeRoleDetails; +- (BOOL)isFileRequestChangeDetails; /// -/// Initializes union class with tag state of "sf_team_join_details". -/// -/// Description of the "sf_team_join_details" tag state: Joined a team member's -/// shared folder. +/// Retrieves whether the union's current tag state has value +/// "file_request_close_details". /// -/// @param sfTeamJoinDetails Joined a team member's shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestCloseDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_close_details". /// -- (instancetype)initWithSfTeamJoinDetails:(DBTEAMLOGSfTeamJoinDetails *)sfTeamJoinDetails; +- (BOOL)isFileRequestCloseDetails; /// -/// Initializes union class with tag state of -/// "sf_team_join_from_oob_link_details". -/// -/// Description of the "sf_team_join_from_oob_link_details" tag state: Joined a -/// team member's shared folder from a link. +/// Retrieves whether the union's current tag state has value +/// "file_request_create_details". /// -/// @param sfTeamJoinFromOobLinkDetails Joined a team member's shared folder -/// from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestCreateDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_create_details". /// -- (instancetype)initWithSfTeamJoinFromOobLinkDetails: - (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)sfTeamJoinFromOobLinkDetails; +- (BOOL)isFileRequestCreateDetails; /// -/// Initializes union class with tag state of "sf_team_uninvite_details". -/// -/// Description of the "sf_team_uninvite_details" tag state: Unshared a folder -/// with a team member. +/// Retrieves whether the union's current tag state has value +/// "file_request_delete_details". /// -/// @param sfTeamUninviteDetails Unshared a folder with a team member. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestDeleteDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_delete_details". /// -- (instancetype)initWithSfTeamUninviteDetails:(DBTEAMLOGSfTeamUninviteDetails *)sfTeamUninviteDetails; +- (BOOL)isFileRequestDeleteDetails; /// -/// Initializes union class with tag state of -/// "shared_content_add_invitees_details". -/// -/// Description of the "shared_content_add_invitees_details" tag state: Sent an -/// email invitation to the membership of a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "file_request_receive_file_details". /// -/// @param sharedContentAddInviteesDetails Sent an email invitation to the -/// membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestReceiveFileDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_receive_file_details". /// -- (instancetype)initWithSharedContentAddInviteesDetails: - (DBTEAMLOGSharedContentAddInviteesDetails *)sharedContentAddInviteesDetails; +- (BOOL)isFileRequestReceiveFileDetails; /// -/// Initializes union class with tag state of -/// "shared_content_add_link_expiry_details". -/// -/// Description of the "shared_content_add_link_expiry_details" tag state: Added -/// an expiry to the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_add_external_id_details". /// -/// @param sharedContentAddLinkExpiryDetails Added an expiry to the link for the -/// shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupAddExternalIdDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_add_external_id_details". /// -- (instancetype)initWithSharedContentAddLinkExpiryDetails: - (DBTEAMLOGSharedContentAddLinkExpiryDetails *)sharedContentAddLinkExpiryDetails; +- (BOOL)isGroupAddExternalIdDetails; /// -/// Initializes union class with tag state of -/// "shared_content_add_link_password_details". -/// -/// Description of the "shared_content_add_link_password_details" tag state: -/// Added a password to the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_add_member_details". /// -/// @param sharedContentAddLinkPasswordDetails Added a password to the link for -/// the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupAddMemberDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_add_member_details". /// -- (instancetype)initWithSharedContentAddLinkPasswordDetails: - (DBTEAMLOGSharedContentAddLinkPasswordDetails *)sharedContentAddLinkPasswordDetails; +- (BOOL)isGroupAddMemberDetails; /// -/// Initializes union class with tag state of -/// "shared_content_add_member_details". -/// -/// Description of the "shared_content_add_member_details" tag state: Added -/// users and/or groups to the membership of a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_change_external_id_details". /// -/// @param sharedContentAddMemberDetails Added users and/or groups to the -/// membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeExternalIdDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_external_id_details". /// -- (instancetype)initWithSharedContentAddMemberDetails: - (DBTEAMLOGSharedContentAddMemberDetails *)sharedContentAddMemberDetails; +- (BOOL)isGroupChangeExternalIdDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_downloads_policy_details". -/// -/// Description of the "shared_content_change_downloads_policy_details" tag -/// state: Changed whether members can download the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_change_management_type_details". /// -/// @param sharedContentChangeDownloadsPolicyDetails Changed whether members can -/// download the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeManagementTypeDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_management_type_details". /// -- (instancetype)initWithSharedContentChangeDownloadsPolicyDetails: - (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)sharedContentChangeDownloadsPolicyDetails; +- (BOOL)isGroupChangeManagementTypeDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_invitee_role_details". -/// -/// Description of the "shared_content_change_invitee_role_details" tag state: -/// Changed the access type of an invitee to a shared file or folder before the -/// invitation was claimed. +/// Retrieves whether the union's current tag state has value +/// "group_change_member_role_details". /// -/// @param sharedContentChangeInviteeRoleDetails Changed the access type of an -/// invitee to a shared file or folder before the invitation was claimed. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeMemberRoleDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_member_role_details". /// -- (instancetype)initWithSharedContentChangeInviteeRoleDetails: - (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)sharedContentChangeInviteeRoleDetails; +- (BOOL)isGroupChangeMemberRoleDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_link_audience_details". -/// -/// Description of the "shared_content_change_link_audience_details" tag state: -/// Changed the audience of the link for a shared file or folder. -/// -/// @param sharedContentChangeLinkAudienceDetails Changed the audience of the -/// link for a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_create_details". /// -/// @return An initialized instance. +/// @note Call this method and ensure it returns true before accessing the +/// `groupCreateDetails` property, otherwise a runtime exception will be thrown. /// -- (instancetype)initWithSharedContentChangeLinkAudienceDetails: - (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)sharedContentChangeLinkAudienceDetails; - +/// @return Whether the union's current tag state has value +/// "group_create_details". /// -/// Initializes union class with tag state of -/// "shared_content_change_link_expiry_details". +- (BOOL)isGroupCreateDetails; + /// -/// Description of the "shared_content_change_link_expiry_details" tag state: -/// Changed the expiry of the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_delete_details". /// -/// @param sharedContentChangeLinkExpiryDetails Changed the expiry of the link -/// for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupDeleteDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_delete_details". /// -- (instancetype)initWithSharedContentChangeLinkExpiryDetails: - (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)sharedContentChangeLinkExpiryDetails; +- (BOOL)isGroupDeleteDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_link_password_details". -/// -/// Description of the "shared_content_change_link_password_details" tag state: -/// Changed the password on the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_description_updated_details". /// -/// @param sharedContentChangeLinkPasswordDetails Changed the password on the -/// link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupDescriptionUpdatedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_description_updated_details". /// -- (instancetype)initWithSharedContentChangeLinkPasswordDetails: - (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)sharedContentChangeLinkPasswordDetails; +- (BOOL)isGroupDescriptionUpdatedDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_member_role_details". -/// -/// Description of the "shared_content_change_member_role_details" tag state: -/// Changed the access type of a shared file or folder member. +/// Retrieves whether the union's current tag state has value +/// "group_join_policy_updated_details". /// -/// @param sharedContentChangeMemberRoleDetails Changed the access type of a -/// shared file or folder member. +/// @note Call this method and ensure it returns true before accessing the +/// `groupJoinPolicyUpdatedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_join_policy_updated_details". /// -- (instancetype)initWithSharedContentChangeMemberRoleDetails: - (DBTEAMLOGSharedContentChangeMemberRoleDetails *)sharedContentChangeMemberRoleDetails; +- (BOOL)isGroupJoinPolicyUpdatedDetails; /// -/// Initializes union class with tag state of -/// "shared_content_change_viewer_info_policy_details". -/// -/// Description of the "shared_content_change_viewer_info_policy_details" tag -/// state: Changed whether members can see who viewed the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_moved_details". /// -/// @param sharedContentChangeViewerInfoPolicyDetails Changed whether members -/// can see who viewed the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupMovedDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_moved_details". /// -- (instancetype)initWithSharedContentChangeViewerInfoPolicyDetails: - (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)sharedContentChangeViewerInfoPolicyDetails; +- (BOOL)isGroupMovedDetails; /// -/// Initializes union class with tag state of -/// "shared_content_claim_invitation_details". -/// -/// Description of the "shared_content_claim_invitation_details" tag state: -/// Claimed membership to a team member's shared folder. +/// Retrieves whether the union's current tag state has value +/// "group_remove_external_id_details". /// -/// @param sharedContentClaimInvitationDetails Claimed membership to a team -/// member's shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRemoveExternalIdDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_remove_external_id_details". /// -- (instancetype)initWithSharedContentClaimInvitationDetails: - (DBTEAMLOGSharedContentClaimInvitationDetails *)sharedContentClaimInvitationDetails; +- (BOOL)isGroupRemoveExternalIdDetails; /// -/// Initializes union class with tag state of "shared_content_copy_details". -/// -/// Description of the "shared_content_copy_details" tag state: Copied the -/// shared file or folder to own Dropbox. +/// Retrieves whether the union's current tag state has value +/// "group_remove_member_details". /// -/// @param sharedContentCopyDetails Copied the shared file or folder to own -/// Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRemoveMemberDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_remove_member_details". /// -- (instancetype)initWithSharedContentCopyDetails:(DBTEAMLOGSharedContentCopyDetails *)sharedContentCopyDetails; +- (BOOL)isGroupRemoveMemberDetails; /// -/// Initializes union class with tag state of "shared_content_download_details". -/// -/// Description of the "shared_content_download_details" tag state: Downloaded -/// the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "group_rename_details". /// -/// @param sharedContentDownloadDetails Downloaded the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRenameDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_rename_details". /// -- (instancetype)initWithSharedContentDownloadDetails: - (DBTEAMLOGSharedContentDownloadDetails *)sharedContentDownloadDetails; +- (BOOL)isGroupRenameDetails; /// -/// Initializes union class with tag state of -/// "shared_content_relinquish_membership_details". -/// -/// Description of the "shared_content_relinquish_membership_details" tag state: -/// Left the membership of a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "account_lock_or_unlocked_details". /// -/// @param sharedContentRelinquishMembershipDetails Left the membership of a -/// shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountLockOrUnlockedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_lock_or_unlocked_details". /// -- (instancetype)initWithSharedContentRelinquishMembershipDetails: - (DBTEAMLOGSharedContentRelinquishMembershipDetails *)sharedContentRelinquishMembershipDetails; +- (BOOL)isAccountLockOrUnlockedDetails; /// -/// Initializes union class with tag state of -/// "shared_content_remove_invitee_details". -/// -/// Description of the "shared_content_remove_invitee_details" tag state: -/// Removed an invitee from the membership of a shared file or folder before it -/// was claimed. +/// Retrieves whether the union's current tag state has value +/// "emm_error_details". /// -/// @param sharedContentRemoveInviteeDetails Removed an invitee from the -/// membership of a shared file or folder before it was claimed. +/// @note Call this method and ensure it returns true before accessing the +/// `emmErrorDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "emm_error_details". /// -- (instancetype)initWithSharedContentRemoveInviteeDetails: - (DBTEAMLOGSharedContentRemoveInviteeDetails *)sharedContentRemoveInviteeDetails; +- (BOOL)isEmmErrorDetails; /// -/// Initializes union class with tag state of -/// "shared_content_remove_link_expiry_details". -/// -/// Description of the "shared_content_remove_link_expiry_details" tag state: -/// Removed the expiry of the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams_details". /// -/// @param sharedContentRemoveLinkExpiryDetails Removed the expiry of the link -/// for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `guestAdminSignedInViaTrustedTeamsDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams_details". /// -- (instancetype)initWithSharedContentRemoveLinkExpiryDetails: - (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)sharedContentRemoveLinkExpiryDetails; +- (BOOL)isGuestAdminSignedInViaTrustedTeamsDetails; /// -/// Initializes union class with tag state of -/// "shared_content_remove_link_password_details". -/// -/// Description of the "shared_content_remove_link_password_details" tag state: -/// Removed the password on the link for the shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams_details". /// -/// @param sharedContentRemoveLinkPasswordDetails Removed the password on the -/// link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `guestAdminSignedOutViaTrustedTeamsDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams_details". /// -- (instancetype)initWithSharedContentRemoveLinkPasswordDetails: - (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)sharedContentRemoveLinkPasswordDetails; +- (BOOL)isGuestAdminSignedOutViaTrustedTeamsDetails; /// -/// Initializes union class with tag state of -/// "shared_content_remove_member_details". -/// -/// Description of the "shared_content_remove_member_details" tag state: Removed -/// a user or a group from the membership of a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "login_fail_details". /// -/// @param sharedContentRemoveMemberDetails Removed a user or a group from the -/// membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `loginFailDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "login_fail_details". /// -- (instancetype)initWithSharedContentRemoveMemberDetails: - (DBTEAMLOGSharedContentRemoveMemberDetails *)sharedContentRemoveMemberDetails; +- (BOOL)isLoginFailDetails; /// -/// Initializes union class with tag state of -/// "shared_content_request_access_details". -/// -/// Description of the "shared_content_request_access_details" tag state: -/// Requested to be on the membership of a shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "login_success_details". /// -/// @param sharedContentRequestAccessDetails Requested to be on the membership -/// of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `loginSuccessDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "login_success_details". /// -- (instancetype)initWithSharedContentRequestAccessDetails: - (DBTEAMLOGSharedContentRequestAccessDetails *)sharedContentRequestAccessDetails; +- (BOOL)isLoginSuccessDetails; /// -/// Initializes union class with tag state of "shared_content_unshare_details". -/// -/// Description of the "shared_content_unshare_details" tag state: Unshared a -/// shared file or folder by clearing its membership and turning off its link. +/// Retrieves whether the union's current tag state has value "logout_details". /// -/// @param sharedContentUnshareDetails Unshared a shared file or folder by -/// clearing its membership and turning off its link. +/// @note Call this method and ensure it returns true before accessing the +/// `logoutDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "logout_details". /// -- (instancetype)initWithSharedContentUnshareDetails:(DBTEAMLOGSharedContentUnshareDetails *)sharedContentUnshareDetails; +- (BOOL)isLogoutDetails; /// -/// Initializes union class with tag state of "shared_content_view_details". -/// -/// Description of the "shared_content_view_details" tag state: Previewed the -/// shared file or folder. +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_end_details". /// -/// @param sharedContentViewDetails Previewed the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `resellerSupportSessionEndDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "reseller_support_session_end_details". /// -- (instancetype)initWithSharedContentViewDetails:(DBTEAMLOGSharedContentViewDetails *)sharedContentViewDetails; +- (BOOL)isResellerSupportSessionEndDetails; /// -/// Initializes union class with tag state of -/// "shared_folder_change_confidentiality_details". -/// -/// Description of the "shared_folder_change_confidentiality_details" tag state: -/// Set or unset the confidential flag on a shared folder. +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_start_details". /// -/// @param sharedFolderChangeConfidentialityDetails Set or unset the -/// confidential flag on a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `resellerSupportSessionStartDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "reseller_support_session_start_details". /// -- (instancetype)initWithSharedFolderChangeConfidentialityDetails: - (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)sharedFolderChangeConfidentialityDetails; +- (BOOL)isResellerSupportSessionStartDetails; /// -/// Initializes union class with tag state of -/// "shared_folder_change_link_policy_details". -/// -/// Description of the "shared_folder_change_link_policy_details" tag state: -/// Changed who can access the shared folder via a link. +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_end_details". /// -/// @param sharedFolderChangeLinkPolicyDetails Changed who can access the shared -/// folder via a link. +/// @note Call this method and ensure it returns true before accessing the +/// `signInAsSessionEndDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_end_details". /// -- (instancetype)initWithSharedFolderChangeLinkPolicyDetails: - (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)sharedFolderChangeLinkPolicyDetails; +- (BOOL)isSignInAsSessionEndDetails; /// -/// Initializes union class with tag state of -/// "shared_folder_change_member_management_policy_details". -/// -/// Description of the "shared_folder_change_member_management_policy_details" -/// tag state: Changed who can manage the membership of a shared folder. +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_start_details". /// -/// @param sharedFolderChangeMemberManagementPolicyDetails Changed who can -/// manage the membership of a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `signInAsSessionStartDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_start_details". /// -- (instancetype)initWithSharedFolderChangeMemberManagementPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)sharedFolderChangeMemberManagementPolicyDetails; +- (BOOL)isSignInAsSessionStartDetails; /// -/// Initializes union class with tag state of -/// "shared_folder_change_member_policy_details". -/// -/// Description of the "shared_folder_change_member_policy_details" tag state: -/// Changed who can become a member of the shared folder. +/// Retrieves whether the union's current tag state has value +/// "sso_error_details". /// -/// @param sharedFolderChangeMemberPolicyDetails Changed who can become a member -/// of the shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `ssoErrorDetails` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "sso_error_details". /// -- (instancetype)initWithSharedFolderChangeMemberPolicyDetails: - (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)sharedFolderChangeMemberPolicyDetails; +- (BOOL)isSsoErrorDetails; /// -/// Initializes union class with tag state of "shared_folder_create_details". -/// -/// Description of the "shared_folder_create_details" tag state: Created a -/// shared folder. +/// Retrieves whether the union's current tag state has value +/// "backup_admin_invitation_sent_details". /// -/// @param sharedFolderCreateDetails Created a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `backupAdminInvitationSentDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "backup_admin_invitation_sent_details". /// -- (instancetype)initWithSharedFolderCreateDetails:(DBTEAMLOGSharedFolderCreateDetails *)sharedFolderCreateDetails; +- (BOOL)isBackupAdminInvitationSentDetails; /// -/// Initializes union class with tag state of "shared_folder_mount_details". -/// -/// Description of the "shared_folder_mount_details" tag state: Added a shared -/// folder to own Dropbox. +/// Retrieves whether the union's current tag state has value +/// "backup_invitation_opened_details". /// -/// @param sharedFolderMountDetails Added a shared folder to own Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `backupInvitationOpenedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "backup_invitation_opened_details". /// -- (instancetype)initWithSharedFolderMountDetails:(DBTEAMLOGSharedFolderMountDetails *)sharedFolderMountDetails; +- (BOOL)isBackupInvitationOpenedDetails; /// -/// Initializes union class with tag state of -/// "shared_folder_transfer_ownership_details". -/// -/// Description of the "shared_folder_transfer_ownership_details" tag state: -/// Transferred the ownership of a shared folder to another member. +/// Retrieves whether the union's current tag state has value +/// "create_team_invite_link_details". /// -/// @param sharedFolderTransferOwnershipDetails Transferred the ownership of a -/// shared folder to another member. +/// @note Call this method and ensure it returns true before accessing the +/// `createTeamInviteLinkDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "create_team_invite_link_details". /// -- (instancetype)initWithSharedFolderTransferOwnershipDetails: - (DBTEAMLOGSharedFolderTransferOwnershipDetails *)sharedFolderTransferOwnershipDetails; +- (BOOL)isCreateTeamInviteLinkDetails; /// -/// Initializes union class with tag state of "shared_folder_unmount_details". -/// -/// Description of the "shared_folder_unmount_details" tag state: Deleted a -/// shared folder from Dropbox. +/// Retrieves whether the union's current tag state has value +/// "delete_team_invite_link_details". /// -/// @param sharedFolderUnmountDetails Deleted a shared folder from Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `deleteTeamInviteLinkDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "delete_team_invite_link_details". /// -- (instancetype)initWithSharedFolderUnmountDetails:(DBTEAMLOGSharedFolderUnmountDetails *)sharedFolderUnmountDetails; +- (BOOL)isDeleteTeamInviteLinkDetails; /// -/// Initializes union class with tag state of "shared_note_opened_details". -/// -/// Description of the "shared_note_opened_details" tag state: Shared Paper -/// document was opened. +/// Retrieves whether the union's current tag state has value +/// "member_add_external_id_details". /// -/// @param sharedNoteOpenedDetails Shared Paper document was opened. +/// @note Call this method and ensure it returns true before accessing the +/// `memberAddExternalIdDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_add_external_id_details". /// -- (instancetype)initWithSharedNoteOpenedDetails:(DBTEAMLOGSharedNoteOpenedDetails *)sharedNoteOpenedDetails; +- (BOOL)isMemberAddExternalIdDetails; /// -/// Initializes union class with tag state of "shmodel_app_create_details". -/// -/// Description of the "shmodel_app_create_details" tag state: Created a link to -/// a file using an app. +/// Retrieves whether the union's current tag state has value +/// "member_add_name_details". /// -/// @param shmodelAppCreateDetails Created a link to a file using an app. +/// @note Call this method and ensure it returns true before accessing the +/// `memberAddNameDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_add_name_details". /// -- (instancetype)initWithShmodelAppCreateDetails:(DBTEAMLOGShmodelAppCreateDetails *)shmodelAppCreateDetails; +- (BOOL)isMemberAddNameDetails; /// -/// Initializes union class with tag state of "shmodel_create_details". -/// -/// Description of the "shmodel_create_details" tag state: Created a new link. +/// Retrieves whether the union's current tag state has value +/// "member_change_admin_role_details". /// -/// @param shmodelCreateDetails Created a new link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeAdminRoleDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_admin_role_details". /// -- (instancetype)initWithShmodelCreateDetails:(DBTEAMLOGShmodelCreateDetails *)shmodelCreateDetails; +- (BOOL)isMemberChangeAdminRoleDetails; /// -/// Initializes union class with tag state of "shmodel_disable_details". -/// -/// Description of the "shmodel_disable_details" tag state: Removed a link. +/// Retrieves whether the union's current tag state has value +/// "member_change_email_details". /// -/// @param shmodelDisableDetails Removed a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeEmailDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_email_details". /// -- (instancetype)initWithShmodelDisableDetails:(DBTEAMLOGShmodelDisableDetails *)shmodelDisableDetails; +- (BOOL)isMemberChangeEmailDetails; /// -/// Initializes union class with tag state of "shmodel_fb_share_details". -/// -/// Description of the "shmodel_fb_share_details" tag state: Shared a link with -/// Facebook users. +/// Retrieves whether the union's current tag state has value +/// "member_change_external_id_details". /// -/// @param shmodelFbShareDetails Shared a link with Facebook users. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeExternalIdDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_external_id_details". /// -- (instancetype)initWithShmodelFbShareDetails:(DBTEAMLOGShmodelFbShareDetails *)shmodelFbShareDetails; +- (BOOL)isMemberChangeExternalIdDetails; /// -/// Initializes union class with tag state of "shmodel_group_share_details". -/// -/// Description of the "shmodel_group_share_details" tag state: Shared a link -/// with a group. +/// Retrieves whether the union's current tag state has value +/// "member_change_membership_type_details". /// -/// @param shmodelGroupShareDetails Shared a link with a group. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeMembershipTypeDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_membership_type_details". /// -- (instancetype)initWithShmodelGroupShareDetails:(DBTEAMLOGShmodelGroupShareDetails *)shmodelGroupShareDetails; +- (BOOL)isMemberChangeMembershipTypeDetails; /// -/// Initializes union class with tag state of -/// "shmodel_remove_expiration_details". -/// -/// Description of the "shmodel_remove_expiration_details" tag state: Removed -/// the expiration date from a link. +/// Retrieves whether the union's current tag state has value +/// "member_change_name_details". /// -/// @param shmodelRemoveExpirationDetails Removed the expiration date from a -/// link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeNameDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_name_details". /// -- (instancetype)initWithShmodelRemoveExpirationDetails: - (DBTEAMLOGShmodelRemoveExpirationDetails *)shmodelRemoveExpirationDetails; +- (BOOL)isMemberChangeNameDetails; /// -/// Initializes union class with tag state of "shmodel_set_expiration_details". -/// -/// Description of the "shmodel_set_expiration_details" tag state: Added an -/// expiration date to a link. +/// Retrieves whether the union's current tag state has value +/// "member_change_reseller_role_details". /// -/// @param shmodelSetExpirationDetails Added an expiration date to a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeResellerRoleDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_reseller_role_details". /// -- (instancetype)initWithShmodelSetExpirationDetails:(DBTEAMLOGShmodelSetExpirationDetails *)shmodelSetExpirationDetails; +- (BOOL)isMemberChangeResellerRoleDetails; /// -/// Initializes union class with tag state of "shmodel_team_copy_details". -/// -/// Description of the "shmodel_team_copy_details" tag state: Added a team -/// member's file/folder to their Dropbox from a link. +/// Retrieves whether the union's current tag state has value +/// "member_change_status_details". /// -/// @param shmodelTeamCopyDetails Added a team member's file/folder to their -/// Dropbox from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeStatusDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_status_details". /// -- (instancetype)initWithShmodelTeamCopyDetails:(DBTEAMLOGShmodelTeamCopyDetails *)shmodelTeamCopyDetails; +- (BOOL)isMemberChangeStatusDetails; /// -/// Initializes union class with tag state of "shmodel_team_download_details". -/// -/// Description of the "shmodel_team_download_details" tag state: Downloaded a -/// team member's file/folder from a link. +/// Retrieves whether the union's current tag state has value +/// "member_delete_manual_contacts_details". /// -/// @param shmodelTeamDownloadDetails Downloaded a team member's file/folder -/// from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberDeleteManualContactsDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_delete_manual_contacts_details". /// -- (instancetype)initWithShmodelTeamDownloadDetails:(DBTEAMLOGShmodelTeamDownloadDetails *)shmodelTeamDownloadDetails; +- (BOOL)isMemberDeleteManualContactsDetails; /// -/// Initializes union class with tag state of "shmodel_team_share_details". -/// -/// Description of the "shmodel_team_share_details" tag state: Shared a link -/// with team members. +/// Retrieves whether the union's current tag state has value +/// "member_delete_profile_photo_details". /// -/// @param shmodelTeamShareDetails Shared a link with team members. +/// @note Call this method and ensure it returns true before accessing the +/// `memberDeleteProfilePhotoDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_delete_profile_photo_details". /// -- (instancetype)initWithShmodelTeamShareDetails:(DBTEAMLOGShmodelTeamShareDetails *)shmodelTeamShareDetails; +- (BOOL)isMemberDeleteProfilePhotoDetails; /// -/// Initializes union class with tag state of "shmodel_team_view_details". -/// -/// Description of the "shmodel_team_view_details" tag state: Opened a team -/// member's link. +/// Retrieves whether the union's current tag state has value +/// "member_permanently_delete_account_contents_details". /// -/// @param shmodelTeamViewDetails Opened a team member's link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberPermanentlyDeleteAccountContentsDetails` property, otherwise a +/// runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_permanently_delete_account_contents_details". /// -- (instancetype)initWithShmodelTeamViewDetails:(DBTEAMLOGShmodelTeamViewDetails *)shmodelTeamViewDetails; +- (BOOL)isMemberPermanentlyDeleteAccountContentsDetails; /// -/// Initializes union class with tag state of -/// "shmodel_visibility_password_details". -/// -/// Description of the "shmodel_visibility_password_details" tag state: -/// Password-protected a link. +/// Retrieves whether the union's current tag state has value +/// "member_remove_external_id_details". /// -/// @param shmodelVisibilityPasswordDetails Password-protected a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberRemoveExternalIdDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_remove_external_id_details". /// -- (instancetype)initWithShmodelVisibilityPasswordDetails: - (DBTEAMLOGShmodelVisibilityPasswordDetails *)shmodelVisibilityPasswordDetails; +- (BOOL)isMemberRemoveExternalIdDetails; /// -/// Initializes union class with tag state of -/// "shmodel_visibility_public_details". -/// -/// Description of the "shmodel_visibility_public_details" tag state: Made a -/// file/folder visible to anyone with the link. +/// Retrieves whether the union's current tag state has value +/// "member_set_profile_photo_details". /// -/// @param shmodelVisibilityPublicDetails Made a file/folder visible to anyone -/// with the link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSetProfilePhotoDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_set_profile_photo_details". /// -- (instancetype)initWithShmodelVisibilityPublicDetails: - (DBTEAMLOGShmodelVisibilityPublicDetails *)shmodelVisibilityPublicDetails; +- (BOOL)isMemberSetProfilePhotoDetails; /// -/// Initializes union class with tag state of -/// "shmodel_visibility_team_only_details". -/// -/// Description of the "shmodel_visibility_team_only_details" tag state: Made a -/// file/folder visible only to team members with the link. +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_add_custom_quota_details". /// -/// @param shmodelVisibilityTeamOnlyDetails Made a file/folder visible only to -/// team members with the link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsAddCustomQuotaDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_add_custom_quota_details". /// -- (instancetype)initWithShmodelVisibilityTeamOnlyDetails: - (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)shmodelVisibilityTeamOnlyDetails; +- (BOOL)isMemberSpaceLimitsAddCustomQuotaDetails; /// -/// Initializes union class with tag state of "sso_add_cert_details". -/// -/// Description of the "sso_add_cert_details" tag state: Added the X.509 -/// certificate for SSO. +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_custom_quota_details". /// -/// @param ssoAddCertDetails Added the X.509 certificate for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangeCustomQuotaDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_custom_quota_details". /// -- (instancetype)initWithSsoAddCertDetails:(DBTEAMLOGSsoAddCertDetails *)ssoAddCertDetails; +- (BOOL)isMemberSpaceLimitsChangeCustomQuotaDetails; /// -/// Initializes union class with tag state of "sso_add_login_url_details". -/// -/// Description of the "sso_add_login_url_details" tag state: Added sign-in URL -/// for SSO. +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_status_details". /// -/// @param ssoAddLoginUrlDetails Added sign-in URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangeStatusDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_status_details". /// -- (instancetype)initWithSsoAddLoginUrlDetails:(DBTEAMLOGSsoAddLoginUrlDetails *)ssoAddLoginUrlDetails; +- (BOOL)isMemberSpaceLimitsChangeStatusDetails; /// -/// Initializes union class with tag state of "sso_add_logout_url_details". -/// -/// Description of the "sso_add_logout_url_details" tag state: Added sign-out -/// URL for SSO. +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota_details". /// -/// @param ssoAddLogoutUrlDetails Added sign-out URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsRemoveCustomQuotaDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota_details". /// -- (instancetype)initWithSsoAddLogoutUrlDetails:(DBTEAMLOGSsoAddLogoutUrlDetails *)ssoAddLogoutUrlDetails; +- (BOOL)isMemberSpaceLimitsRemoveCustomQuotaDetails; /// -/// Initializes union class with tag state of "sso_change_cert_details". -/// -/// Description of the "sso_change_cert_details" tag state: Changed the X.509 -/// certificate for SSO. +/// Retrieves whether the union's current tag state has value +/// "member_suggest_details". /// -/// @param ssoChangeCertDetails Changed the X.509 certificate for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSuggestDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_suggest_details". /// -- (instancetype)initWithSsoChangeCertDetails:(DBTEAMLOGSsoChangeCertDetails *)ssoChangeCertDetails; +- (BOOL)isMemberSuggestDetails; /// -/// Initializes union class with tag state of "sso_change_login_url_details". -/// -/// Description of the "sso_change_login_url_details" tag state: Changed the -/// sign-in URL for SSO. +/// Retrieves whether the union's current tag state has value +/// "member_transfer_account_contents_details". /// -/// @param ssoChangeLoginUrlDetails Changed the sign-in URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `memberTransferAccountContentsDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_transfer_account_contents_details". /// -- (instancetype)initWithSsoChangeLoginUrlDetails:(DBTEAMLOGSsoChangeLoginUrlDetails *)ssoChangeLoginUrlDetails; +- (BOOL)isMemberTransferAccountContentsDetails; /// -/// Initializes union class with tag state of "sso_change_logout_url_details". -/// -/// Description of the "sso_change_logout_url_details" tag state: Changed the -/// sign-out URL for SSO. +/// Retrieves whether the union's current tag state has value +/// "pending_secondary_email_added_details". /// -/// @param ssoChangeLogoutUrlDetails Changed the sign-out URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `pendingSecondaryEmailAddedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "pending_secondary_email_added_details". /// -- (instancetype)initWithSsoChangeLogoutUrlDetails:(DBTEAMLOGSsoChangeLogoutUrlDetails *)ssoChangeLogoutUrlDetails; +- (BOOL)isPendingSecondaryEmailAddedDetails; /// -/// Initializes union class with tag state of -/// "sso_change_saml_identity_mode_details". -/// -/// Description of the "sso_change_saml_identity_mode_details" tag state: -/// Changed the SAML identity mode for SSO. +/// Retrieves whether the union's current tag state has value +/// "secondary_email_deleted_details". /// -/// @param ssoChangeSamlIdentityModeDetails Changed the SAML identity mode for -/// SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryEmailDeletedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_email_deleted_details". /// -- (instancetype)initWithSsoChangeSamlIdentityModeDetails: - (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)ssoChangeSamlIdentityModeDetails; +- (BOOL)isSecondaryEmailDeletedDetails; /// -/// Initializes union class with tag state of "sso_remove_cert_details". -/// -/// Description of the "sso_remove_cert_details" tag state: Removed the X.509 -/// certificate for SSO. +/// Retrieves whether the union's current tag state has value +/// "secondary_email_verified_details". /// -/// @param ssoRemoveCertDetails Removed the X.509 certificate for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryEmailVerifiedDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_email_verified_details". /// -- (instancetype)initWithSsoRemoveCertDetails:(DBTEAMLOGSsoRemoveCertDetails *)ssoRemoveCertDetails; +- (BOOL)isSecondaryEmailVerifiedDetails; /// -/// Initializes union class with tag state of "sso_remove_login_url_details". -/// -/// Description of the "sso_remove_login_url_details" tag state: Removed the -/// sign-in URL for SSO. +/// Retrieves whether the union's current tag state has value +/// "secondary_mails_policy_changed_details". /// -/// @param ssoRemoveLoginUrlDetails Removed the sign-in URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryMailsPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_mails_policy_changed_details". /// -- (instancetype)initWithSsoRemoveLoginUrlDetails:(DBTEAMLOGSsoRemoveLoginUrlDetails *)ssoRemoveLoginUrlDetails; +- (BOOL)isSecondaryMailsPolicyChangedDetails; /// -/// Initializes union class with tag state of "sso_remove_logout_url_details". -/// -/// Description of the "sso_remove_logout_url_details" tag state: Removed single -/// sign-on logout URL. +/// Retrieves whether the union's current tag state has value +/// "binder_add_page_details". /// -/// @param ssoRemoveLogoutUrlDetails Removed single sign-on logout URL. +/// @note Call this method and ensure it returns true before accessing the +/// `binderAddPageDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_add_page_details". /// -- (instancetype)initWithSsoRemoveLogoutUrlDetails:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)ssoRemoveLogoutUrlDetails; +- (BOOL)isBinderAddPageDetails; /// -/// Initializes union class with tag state of -/// "team_folder_change_status_details". -/// -/// Description of the "team_folder_change_status_details" tag state: Changed -/// the archival status of a team folder. +/// Retrieves whether the union's current tag state has value +/// "binder_add_section_details". /// -/// @param teamFolderChangeStatusDetails Changed the archival status of a team -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `binderAddSectionDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_add_section_details". /// -- (instancetype)initWithTeamFolderChangeStatusDetails: - (DBTEAMLOGTeamFolderChangeStatusDetails *)teamFolderChangeStatusDetails; +- (BOOL)isBinderAddSectionDetails; /// -/// Initializes union class with tag state of "team_folder_create_details". -/// -/// Description of the "team_folder_create_details" tag state: Created a new -/// team folder in active status. +/// Retrieves whether the union's current tag state has value +/// "binder_remove_page_details". /// -/// @param teamFolderCreateDetails Created a new team folder in active status. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRemovePageDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_remove_page_details". /// -- (instancetype)initWithTeamFolderCreateDetails:(DBTEAMLOGTeamFolderCreateDetails *)teamFolderCreateDetails; +- (BOOL)isBinderRemovePageDetails; /// -/// Initializes union class with tag state of "team_folder_downgrade_details". -/// -/// Description of the "team_folder_downgrade_details" tag state: Downgraded a -/// team folder to a regular shared folder. +/// Retrieves whether the union's current tag state has value +/// "binder_remove_section_details". /// -/// @param teamFolderDowngradeDetails Downgraded a team folder to a regular -/// shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRemoveSectionDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_remove_section_details". /// -- (instancetype)initWithTeamFolderDowngradeDetails:(DBTEAMLOGTeamFolderDowngradeDetails *)teamFolderDowngradeDetails; +- (BOOL)isBinderRemoveSectionDetails; /// -/// Initializes union class with tag state of -/// "team_folder_permanently_delete_details". -/// -/// Description of the "team_folder_permanently_delete_details" tag state: -/// Permanently deleted an archived team folder. +/// Retrieves whether the union's current tag state has value +/// "binder_rename_page_details". /// -/// @param teamFolderPermanentlyDeleteDetails Permanently deleted an archived -/// team folder. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRenamePageDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_rename_page_details". /// -- (instancetype)initWithTeamFolderPermanentlyDeleteDetails: - (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)teamFolderPermanentlyDeleteDetails; +- (BOOL)isBinderRenamePageDetails; /// -/// Initializes union class with tag state of "team_folder_rename_details". -/// -/// Description of the "team_folder_rename_details" tag state: Renamed an active -/// or archived team folder. +/// Retrieves whether the union's current tag state has value +/// "binder_rename_section_details". /// -/// @param teamFolderRenameDetails Renamed an active or archived team folder. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRenameSectionDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_rename_section_details". /// -- (instancetype)initWithTeamFolderRenameDetails:(DBTEAMLOGTeamFolderRenameDetails *)teamFolderRenameDetails; +- (BOOL)isBinderRenameSectionDetails; /// -/// Initializes union class with tag state of -/// "account_capture_change_policy_details". -/// -/// Description of the "account_capture_change_policy_details" tag state: -/// Changed the account capture policy on a domain belonging to the team. +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_page_details". /// -/// @param accountCaptureChangePolicyDetails Changed the account capture policy -/// on a domain belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `binderReorderPageDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_reorder_page_details". /// -- (instancetype)initWithAccountCaptureChangePolicyDetails: - (DBTEAMLOGAccountCaptureChangePolicyDetails *)accountCaptureChangePolicyDetails; +- (BOOL)isBinderReorderPageDetails; /// -/// Initializes union class with tag state of "allow_download_disabled_details". -/// -/// Description of the "allow_download_disabled_details" tag state: Disabled -/// allow downloads. +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_section_details". /// -/// @param allowDownloadDisabledDetails Disabled allow downloads. +/// @note Call this method and ensure it returns true before accessing the +/// `binderReorderSectionDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_reorder_section_details". /// -- (instancetype)initWithAllowDownloadDisabledDetails: - (DBTEAMLOGAllowDownloadDisabledDetails *)allowDownloadDisabledDetails; +- (BOOL)isBinderReorderSectionDetails; /// -/// Initializes union class with tag state of "allow_download_enabled_details". -/// -/// Description of the "allow_download_enabled_details" tag state: Enabled allow -/// downloads. +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_member_details". /// -/// @param allowDownloadEnabledDetails Enabled allow downloads. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentAddMemberDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_add_member_details". /// -- (instancetype)initWithAllowDownloadEnabledDetails:(DBTEAMLOGAllowDownloadEnabledDetails *)allowDownloadEnabledDetails; +- (BOOL)isPaperContentAddMemberDetails; /// -/// Initializes union class with tag state of -/// "data_placement_restriction_change_policy_details". -/// -/// Description of the "data_placement_restriction_change_policy_details" tag -/// state: Set a restriction policy regarding the location of data centers where -/// team data resides. +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_to_folder_details". /// -/// @param dataPlacementRestrictionChangePolicyDetails Set a restriction policy -/// regarding the location of data centers where team data resides. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentAddToFolderDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_add_to_folder_details". /// -- (instancetype)initWithDataPlacementRestrictionChangePolicyDetails: - (DBTEAMLOGDataPlacementRestrictionChangePolicyDetails *)dataPlacementRestrictionChangePolicyDetails; +- (BOOL)isPaperContentAddToFolderDetails; /// -/// Initializes union class with tag state of -/// "data_placement_restriction_satisfy_policy_details". -/// -/// Description of the "data_placement_restriction_satisfy_policy_details" tag -/// state: Satisfied a previously set restriction policy regarding the location -/// of data centers where team data resides (i.e. all data have been migrated -/// according to the restriction placed). +/// Retrieves whether the union's current tag state has value +/// "paper_content_archive_details". /// -/// @param dataPlacementRestrictionSatisfyPolicyDetails Satisfied a previously -/// set restriction policy regarding the location of data centers where team -/// data resides (i.e. all data have been migrated according to the restriction -/// placed). +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentArchiveDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_archive_details". /// -- (instancetype)initWithDataPlacementRestrictionSatisfyPolicyDetails: - (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails *)dataPlacementRestrictionSatisfyPolicyDetails; +- (BOOL)isPaperContentArchiveDetails; /// -/// Initializes union class with tag state of -/// "device_approvals_change_desktop_policy_details". -/// -/// Description of the "device_approvals_change_desktop_policy_details" tag -/// state: Set or removed a limit on the number of computers each team member -/// can link to their work Dropbox account. +/// Retrieves whether the union's current tag state has value +/// "paper_content_create_details". /// -/// @param deviceApprovalsChangeDesktopPolicyDetails Set or removed a limit on -/// the number of computers each team member can link to their work Dropbox -/// account. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentCreateDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_create_details". /// -- (instancetype)initWithDeviceApprovalsChangeDesktopPolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails *)deviceApprovalsChangeDesktopPolicyDetails; +- (BOOL)isPaperContentCreateDetails; /// -/// Initializes union class with tag state of -/// "device_approvals_change_mobile_policy_details". -/// -/// Description of the "device_approvals_change_mobile_policy_details" tag -/// state: Set or removed a limit on the number of mobiles devices each team -/// member can link to their work Dropbox account. +/// Retrieves whether the union's current tag state has value +/// "paper_content_permanently_delete_details". /// -/// @param deviceApprovalsChangeMobilePolicyDetails Set or removed a limit on -/// the number of mobiles devices each team member can link to their work -/// Dropbox account. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentPermanentlyDeleteDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_permanently_delete_details". /// -- (instancetype)initWithDeviceApprovalsChangeMobilePolicyDetails: - (DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails *)deviceApprovalsChangeMobilePolicyDetails; +- (BOOL)isPaperContentPermanentlyDeleteDetails; /// -/// Initializes union class with tag state of -/// "device_approvals_change_overage_action_details". -/// -/// Description of the "device_approvals_change_overage_action_details" tag -/// state: Changed the action taken when a team member is already over the -/// limits (e.g when they join the team, an admin lowers limits, etc.). +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_from_folder_details". /// -/// @param deviceApprovalsChangeOverageActionDetails Changed the action taken -/// when a team member is already over the limits (e.g when they join the team, -/// an admin lowers limits, etc.). +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRemoveFromFolderDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_remove_from_folder_details". /// -- (instancetype)initWithDeviceApprovalsChangeOverageActionDetails: - (DBTEAMLOGDeviceApprovalsChangeOverageActionDetails *)deviceApprovalsChangeOverageActionDetails; +- (BOOL)isPaperContentRemoveFromFolderDetails; /// -/// Initializes union class with tag state of -/// "device_approvals_change_unlink_action_details". -/// -/// Description of the "device_approvals_change_unlink_action_details" tag -/// state: Changed the action taken with respect to approval limits when a team -/// member unlinks an approved device. +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_member_details". /// -/// @param deviceApprovalsChangeUnlinkActionDetails Changed the action taken -/// with respect to approval limits when a team member unlinks an approved -/// device. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRemoveMemberDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_remove_member_details". /// -- (instancetype)initWithDeviceApprovalsChangeUnlinkActionDetails: - (DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails *)deviceApprovalsChangeUnlinkActionDetails; +- (BOOL)isPaperContentRemoveMemberDetails; /// -/// Initializes union class with tag state of "emm_add_exception_details". -/// -/// Description of the "emm_add_exception_details" tag state: Added an exception -/// for one or more team members to optionally use the regular Dropbox app when -/// EMM is enabled. +/// Retrieves whether the union's current tag state has value +/// "paper_content_rename_details". /// -/// @param emmAddExceptionDetails Added an exception for one or more team -/// members to optionally use the regular Dropbox app when EMM is enabled. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRenameDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_rename_details". /// -- (instancetype)initWithEmmAddExceptionDetails:(DBTEAMLOGEmmAddExceptionDetails *)emmAddExceptionDetails; +- (BOOL)isPaperContentRenameDetails; /// -/// Initializes union class with tag state of "emm_change_policy_details". -/// -/// Description of the "emm_change_policy_details" tag state: Enabled or -/// disabled enterprise mobility management for team members. +/// Retrieves whether the union's current tag state has value +/// "paper_content_restore_details". /// -/// @param emmChangePolicyDetails Enabled or disabled enterprise mobility -/// management for team members. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRestoreDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_restore_details". /// -- (instancetype)initWithEmmChangePolicyDetails:(DBTEAMLOGEmmChangePolicyDetails *)emmChangePolicyDetails; +- (BOOL)isPaperContentRestoreDetails; /// -/// Initializes union class with tag state of "emm_remove_exception_details". -/// -/// Description of the "emm_remove_exception_details" tag state: Removed an -/// exception for one or more team members to optionally use the regular Dropbox -/// app when EMM is enabled. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_add_comment_details". /// -/// @param emmRemoveExceptionDetails Removed an exception for one or more team -/// members to optionally use the regular Dropbox app when EMM is enabled. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocAddCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_add_comment_details". /// -- (instancetype)initWithEmmRemoveExceptionDetails:(DBTEAMLOGEmmRemoveExceptionDetails *)emmRemoveExceptionDetails; +- (BOOL)isPaperDocAddCommentDetails; /// -/// Initializes union class with tag state of -/// "extended_version_history_change_policy_details". -/// -/// Description of the "extended_version_history_change_policy_details" tag -/// state: Accepted or opted out of extended version history. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_member_role_details". /// -/// @param extendedVersionHistoryChangePolicyDetails Accepted or opted out of -/// extended version history. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeMemberRoleDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_member_role_details". /// -- (instancetype)initWithExtendedVersionHistoryChangePolicyDetails: - (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)extendedVersionHistoryChangePolicyDetails; +- (BOOL)isPaperDocChangeMemberRoleDetails; /// -/// Initializes union class with tag state of -/// "file_comments_change_policy_details". -/// -/// Description of the "file_comments_change_policy_details" tag state: Enabled -/// or disabled commenting on team files. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_sharing_policy_details". /// -/// @param fileCommentsChangePolicyDetails Enabled or disabled commenting on -/// team files. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeSharingPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_sharing_policy_details". /// -- (instancetype)initWithFileCommentsChangePolicyDetails: - (DBTEAMLOGFileCommentsChangePolicyDetails *)fileCommentsChangePolicyDetails; +- (BOOL)isPaperDocChangeSharingPolicyDetails; /// -/// Initializes union class with tag state of -/// "file_requests_change_policy_details". -/// -/// Description of the "file_requests_change_policy_details" tag state: Enabled -/// or disabled file requests. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_subscription_details". /// -/// @param fileRequestsChangePolicyDetails Enabled or disabled file requests. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeSubscriptionDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_subscription_details". /// -- (instancetype)initWithFileRequestsChangePolicyDetails: - (DBTEAMLOGFileRequestsChangePolicyDetails *)fileRequestsChangePolicyDetails; +- (BOOL)isPaperDocChangeSubscriptionDetails; /// -/// Initializes union class with tag state of -/// "file_requests_emails_enabled_details". -/// -/// Description of the "file_requests_emails_enabled_details" tag state: Enabled -/// file request emails for everyone. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_deleted_details". /// -/// @param fileRequestsEmailsEnabledDetails Enabled file request emails for -/// everyone. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDeletedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_deleted_details". /// -- (instancetype)initWithFileRequestsEmailsEnabledDetails: - (DBTEAMLOGFileRequestsEmailsEnabledDetails *)fileRequestsEmailsEnabledDetails; +- (BOOL)isPaperDocDeletedDetails; /// -/// Initializes union class with tag state of -/// "file_requests_emails_restricted_to_team_only_details". -/// -/// Description of the "file_requests_emails_restricted_to_team_only_details" -/// tag state: Allowed file request emails for the team. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_delete_comment_details". /// -/// @param fileRequestsEmailsRestrictedToTeamOnlyDetails Allowed file request -/// emails for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDeleteCommentDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_delete_comment_details". /// -- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnlyDetails: - (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)fileRequestsEmailsRestrictedToTeamOnlyDetails; +- (BOOL)isPaperDocDeleteCommentDetails; /// -/// Initializes union class with tag state of -/// "google_sso_change_policy_details". -/// -/// Description of the "google_sso_change_policy_details" tag state: Enabled or -/// disabled Google single sign-on for the team. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_download_details". /// -/// @param googleSsoChangePolicyDetails Enabled or disabled Google single -/// sign-on for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDownloadDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_download_details". /// -- (instancetype)initWithGoogleSsoChangePolicyDetails: - (DBTEAMLOGGoogleSsoChangePolicyDetails *)googleSsoChangePolicyDetails; +- (BOOL)isPaperDocDownloadDetails; /// -/// Initializes union class with tag state of -/// "group_user_management_change_policy_details". -/// -/// Description of the "group_user_management_change_policy_details" tag state: -/// Changed who can create groups. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_edit_details". /// -/// @param groupUserManagementChangePolicyDetails Changed who can create groups. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocEditDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_edit_details". /// -- (instancetype)initWithGroupUserManagementChangePolicyDetails: - (DBTEAMLOGGroupUserManagementChangePolicyDetails *)groupUserManagementChangePolicyDetails; +- (BOOL)isPaperDocEditDetails; /// -/// Initializes union class with tag state of -/// "member_requests_change_policy_details". -/// -/// Description of the "member_requests_change_policy_details" tag state: -/// Changed whether users can find the team when not invited. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_edit_comment_details". /// -/// @param memberRequestsChangePolicyDetails Changed whether users can find the -/// team when not invited. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocEditCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_edit_comment_details". /// -- (instancetype)initWithMemberRequestsChangePolicyDetails: - (DBTEAMLOGMemberRequestsChangePolicyDetails *)memberRequestsChangePolicyDetails; +- (BOOL)isPaperDocEditCommentDetails; /// -/// Initializes union class with tag state of -/// "member_space_limits_add_exception_details". -/// -/// Description of the "member_space_limits_add_exception_details" tag state: -/// Added an exception for one or more team members to bypass space limits -/// imposed by policy. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_followed_details". /// -/// @param memberSpaceLimitsAddExceptionDetails Added an exception for one or -/// more team members to bypass space limits imposed by policy. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocFollowedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_followed_details". /// -- (instancetype)initWithMemberSpaceLimitsAddExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)memberSpaceLimitsAddExceptionDetails; +- (BOOL)isPaperDocFollowedDetails; /// -/// Initializes union class with tag state of -/// "member_space_limits_change_policy_details". -/// -/// Description of the "member_space_limits_change_policy_details" tag state: -/// Changed the team default limit level. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_mention_details". /// -/// @param memberSpaceLimitsChangePolicyDetails Changed the team default limit -/// level. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocMentionDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_mention_details". /// -- (instancetype)initWithMemberSpaceLimitsChangePolicyDetails: - (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)memberSpaceLimitsChangePolicyDetails; +- (BOOL)isPaperDocMentionDetails; /// -/// Initializes union class with tag state of -/// "member_space_limits_remove_exception_details". -/// -/// Description of the "member_space_limits_remove_exception_details" tag state: -/// Removed an exception for one or more team members to bypass space limits -/// imposed by policy. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_ownership_changed_details". /// -/// @param memberSpaceLimitsRemoveExceptionDetails Removed an exception for one -/// or more team members to bypass space limits imposed by policy. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocOwnershipChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_ownership_changed_details". /// -- (instancetype)initWithMemberSpaceLimitsRemoveExceptionDetails: - (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)memberSpaceLimitsRemoveExceptionDetails; +- (BOOL)isPaperDocOwnershipChangedDetails; /// -/// Initializes union class with tag state of -/// "member_suggestions_change_policy_details". -/// -/// Description of the "member_suggestions_change_policy_details" tag state: -/// Enabled or disabled the option for team members to suggest new members to -/// add to the team. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_request_access_details". /// -/// @param memberSuggestionsChangePolicyDetails Enabled or disabled the option -/// for team members to suggest new members to add to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocRequestAccessDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_request_access_details". /// -- (instancetype)initWithMemberSuggestionsChangePolicyDetails: - (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)memberSuggestionsChangePolicyDetails; +- (BOOL)isPaperDocRequestAccessDetails; /// -/// Initializes union class with tag state of -/// "microsoft_office_addin_change_policy_details". -/// -/// Description of the "microsoft_office_addin_change_policy_details" tag state: -/// Enabled or disabled the Microsoft Office add-in, which lets team members -/// save files to Dropbox directly from Microsoft Office. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_resolve_comment_details". /// -/// @param microsoftOfficeAddinChangePolicyDetails Enabled or disabled the -/// Microsoft Office add-in, which lets team members save files to Dropbox -/// directly from Microsoft Office. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocResolveCommentDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_resolve_comment_details". /// -- (instancetype)initWithMicrosoftOfficeAddinChangePolicyDetails: - (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)microsoftOfficeAddinChangePolicyDetails; +- (BOOL)isPaperDocResolveCommentDetails; /// -/// Initializes union class with tag state of -/// "network_control_change_policy_details". -/// -/// Description of the "network_control_change_policy_details" tag state: -/// Enabled or disabled network control. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_revert_details". /// -/// @param networkControlChangePolicyDetails Enabled or disabled network -/// control. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocRevertDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_revert_details". /// -- (instancetype)initWithNetworkControlChangePolicyDetails: - (DBTEAMLOGNetworkControlChangePolicyDetails *)networkControlChangePolicyDetails; +- (BOOL)isPaperDocRevertDetails; /// -/// Initializes union class with tag state of -/// "paper_change_deployment_policy_details". -/// -/// Description of the "paper_change_deployment_policy_details" tag state: -/// Changed whether Dropbox Paper, when enabled, is deployed to all teams or to -/// specific members of the team. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_slack_share_details". /// -/// @param paperChangeDeploymentPolicyDetails Changed whether Dropbox Paper, -/// when enabled, is deployed to all teams or to specific members of the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocSlackShareDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_slack_share_details". /// -- (instancetype)initWithPaperChangeDeploymentPolicyDetails: - (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)paperChangeDeploymentPolicyDetails; +- (BOOL)isPaperDocSlackShareDetails; /// -/// Initializes union class with tag state of -/// "paper_change_member_link_policy_details". -/// -/// Description of the "paper_change_member_link_policy_details" tag state: -/// Changed whether non team members can view Paper documents using a link. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_team_invite_details". /// -/// @param paperChangeMemberLinkPolicyDetails Changed whether non team members -/// can view Paper documents using a link. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocTeamInviteDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_team_invite_details". /// -- (instancetype)initWithPaperChangeMemberLinkPolicyDetails: - (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)paperChangeMemberLinkPolicyDetails; +- (BOOL)isPaperDocTeamInviteDetails; /// -/// Initializes union class with tag state of -/// "paper_change_member_policy_details". -/// -/// Description of the "paper_change_member_policy_details" tag state: Changed -/// whether team members can share Paper documents externally (i.e. outside the -/// team), and if so, whether they should be accessible only by team members or -/// anyone by default. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_trashed_details". /// -/// @param paperChangeMemberPolicyDetails Changed whether team members can share -/// Paper documents externally (i.e. outside the team), and if so, whether they -/// should be accessible only by team members or anyone by default. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocTrashedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_trashed_details". /// -- (instancetype)initWithPaperChangeMemberPolicyDetails: - (DBTEAMLOGPaperChangeMemberPolicyDetails *)paperChangeMemberPolicyDetails; +- (BOOL)isPaperDocTrashedDetails; /// -/// Initializes union class with tag state of "paper_change_policy_details". -/// -/// Description of the "paper_change_policy_details" tag state: Enabled or -/// disabled Dropbox Paper for the team. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_unresolve_comment_details". /// -/// @param paperChangePolicyDetails Enabled or disabled Dropbox Paper for the -/// team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocUnresolveCommentDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_unresolve_comment_details". /// -- (instancetype)initWithPaperChangePolicyDetails:(DBTEAMLOGPaperChangePolicyDetails *)paperChangePolicyDetails; +- (BOOL)isPaperDocUnresolveCommentDetails; /// -/// Initializes union class with tag state of -/// "permanent_delete_change_policy_details". -/// -/// Description of the "permanent_delete_change_policy_details" tag state: -/// Enabled or disabled the ability of team members to permanently delete -/// content. +/// Retrieves whether the union's current tag state has value +/// "paper_doc_untrashed_details". /// -/// @param permanentDeleteChangePolicyDetails Enabled or disabled the ability of -/// team members to permanently delete content. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocUntrashedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_untrashed_details". /// -- (instancetype)initWithPermanentDeleteChangePolicyDetails: - (DBTEAMLOGPermanentDeleteChangePolicyDetails *)permanentDeleteChangePolicyDetails; +- (BOOL)isPaperDocUntrashedDetails; /// -/// Initializes union class with tag state of -/// "sharing_change_folder_join_policy_details". -/// -/// Description of the "sharing_change_folder_join_policy_details" tag state: -/// Changed whether team members can join shared folders owned externally (i.e. -/// outside the team). +/// Retrieves whether the union's current tag state has value +/// "paper_doc_view_details". /// -/// @param sharingChangeFolderJoinPolicyDetails Changed whether team members can -/// join shared folders owned externally (i.e. outside the team). +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocViewDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_view_details". /// -- (instancetype)initWithSharingChangeFolderJoinPolicyDetails: - (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)sharingChangeFolderJoinPolicyDetails; +- (BOOL)isPaperDocViewDetails; /// -/// Initializes union class with tag state of -/// "sharing_change_link_policy_details". -/// -/// Description of the "sharing_change_link_policy_details" tag state: Changed -/// whether team members can share links externally (i.e. outside the team), and -/// if so, whether links should be accessible only by team members or anyone by -/// default. +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_allow_details". /// -/// @param sharingChangeLinkPolicyDetails Changed whether team members can share -/// links externally (i.e. outside the team), and if so, whether links should be -/// accessible only by team members or anyone by default. +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewAllowDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_allow_details". /// -- (instancetype)initWithSharingChangeLinkPolicyDetails: - (DBTEAMLOGSharingChangeLinkPolicyDetails *)sharingChangeLinkPolicyDetails; +- (BOOL)isPaperExternalViewAllowDetails; /// -/// Initializes union class with tag state of -/// "sharing_change_member_policy_details". -/// -/// Description of the "sharing_change_member_policy_details" tag state: Changed -/// whether team members can share files and folders externally (i.e. outside -/// the team). +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_default_team_details". /// -/// @param sharingChangeMemberPolicyDetails Changed whether team members can -/// share files and folders externally (i.e. outside the team). +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewDefaultTeamDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_default_team_details". /// -- (instancetype)initWithSharingChangeMemberPolicyDetails: - (DBTEAMLOGSharingChangeMemberPolicyDetails *)sharingChangeMemberPolicyDetails; +- (BOOL)isPaperExternalViewDefaultTeamDetails; /// -/// Initializes union class with tag state of -/// "smart_sync_change_policy_details". -/// -/// Description of the "smart_sync_change_policy_details" tag state: Changed the -/// default Smart Sync policy for team members. +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_forbid_details". /// -/// @param smartSyncChangePolicyDetails Changed the default Smart Sync policy -/// for team members. +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewForbidDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_forbid_details". /// -- (instancetype)initWithSmartSyncChangePolicyDetails: - (DBTEAMLOGSmartSyncChangePolicyDetails *)smartSyncChangePolicyDetails; +- (BOOL)isPaperExternalViewForbidDetails; /// -/// Initializes union class with tag state of "smart_sync_not_opt_out_details". -/// -/// Description of the "smart_sync_not_opt_out_details" tag state: Opted team -/// into Smart Sync. +/// Retrieves whether the union's current tag state has value +/// "paper_folder_change_subscription_details". /// -/// @param smartSyncNotOptOutDetails Opted team into Smart Sync. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderChangeSubscriptionDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_change_subscription_details". /// -- (instancetype)initWithSmartSyncNotOptOutDetails:(DBTEAMLOGSmartSyncNotOptOutDetails *)smartSyncNotOptOutDetails; +- (BOOL)isPaperFolderChangeSubscriptionDetails; /// -/// Initializes union class with tag state of "smart_sync_opt_out_details". -/// -/// Description of the "smart_sync_opt_out_details" tag state: Opted team out of -/// Smart Sync. +/// Retrieves whether the union's current tag state has value +/// "paper_folder_deleted_details". /// -/// @param smartSyncOptOutDetails Opted team out of Smart Sync. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderDeletedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_deleted_details". /// -- (instancetype)initWithSmartSyncOptOutDetails:(DBTEAMLOGSmartSyncOptOutDetails *)smartSyncOptOutDetails; +- (BOOL)isPaperFolderDeletedDetails; /// -/// Initializes union class with tag state of "sso_change_policy_details". -/// -/// Description of the "sso_change_policy_details" tag state: Change the single -/// sign-on policy for the team. +/// Retrieves whether the union's current tag state has value +/// "paper_folder_followed_details". /// -/// @param ssoChangePolicyDetails Change the single sign-on policy for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderFollowedDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_followed_details". /// -- (instancetype)initWithSsoChangePolicyDetails:(DBTEAMLOGSsoChangePolicyDetails *)ssoChangePolicyDetails; +- (BOOL)isPaperFolderFollowedDetails; /// -/// Initializes union class with tag state of "tfa_change_policy_details". -/// -/// Description of the "tfa_change_policy_details" tag state: Change two-step -/// verification policy for the team. +/// Retrieves whether the union's current tag state has value +/// "paper_folder_team_invite_details". /// -/// @param tfaChangePolicyDetails Change two-step verification policy for the -/// team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderTeamInviteDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_team_invite_details". /// -- (instancetype)initWithTfaChangePolicyDetails:(DBTEAMLOGTfaChangePolicyDetails *)tfaChangePolicyDetails; +- (BOOL)isPaperFolderTeamInviteDetails; /// -/// Initializes union class with tag state of -/// "two_account_change_policy_details". -/// -/// Description of the "two_account_change_policy_details" tag state: Enabled or -/// disabled the option for team members to link a personal Dropbox account in -/// addition to their work account to the same computer. +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_change_permission_details". /// -/// @param twoAccountChangePolicyDetails Enabled or disabled the option for team -/// members to link a personal Dropbox account in addition to their work account -/// to the same computer. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkChangePermissionDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_change_permission_details". /// -- (instancetype)initWithTwoAccountChangePolicyDetails: - (DBTEAMLOGTwoAccountChangePolicyDetails *)twoAccountChangePolicyDetails; +- (BOOL)isPaperPublishedLinkChangePermissionDetails; /// -/// Initializes union class with tag state of -/// "web_sessions_change_fixed_length_policy_details". -/// -/// Description of the "web_sessions_change_fixed_length_policy_details" tag -/// state: Changed how long team members can stay signed in to Dropbox on the -/// web. +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_create_details". /// -/// @param webSessionsChangeFixedLengthPolicyDetails Changed how long team -/// members can stay signed in to Dropbox on the web. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkCreateDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_create_details". /// -- (instancetype)initWithWebSessionsChangeFixedLengthPolicyDetails: - (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)webSessionsChangeFixedLengthPolicyDetails; +- (BOOL)isPaperPublishedLinkCreateDetails; /// -/// Initializes union class with tag state of -/// "web_sessions_change_idle_length_policy_details". -/// -/// Description of the "web_sessions_change_idle_length_policy_details" tag -/// state: Changed how long team members can be idle while signed in to Dropbox -/// on the web. +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_disabled_details". /// -/// @param webSessionsChangeIdleLengthPolicyDetails Changed how long team -/// members can be idle while signed in to Dropbox on the web. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkDisabledDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_disabled_details". /// -- (instancetype)initWithWebSessionsChangeIdleLengthPolicyDetails: - (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)webSessionsChangeIdleLengthPolicyDetails; +- (BOOL)isPaperPublishedLinkDisabledDetails; /// -/// Initializes union class with tag state of "team_profile_add_logo_details". -/// -/// Description of the "team_profile_add_logo_details" tag state: Added a team -/// logo to be displayed on shared link headers. +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_view_details". /// -/// @param teamProfileAddLogoDetails Added a team logo to be displayed on shared -/// link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkViewDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_view_details". /// -- (instancetype)initWithTeamProfileAddLogoDetails:(DBTEAMLOGTeamProfileAddLogoDetails *)teamProfileAddLogoDetails; +- (BOOL)isPaperPublishedLinkViewDetails; /// -/// Initializes union class with tag state of -/// "team_profile_change_default_language_details". -/// -/// Description of the "team_profile_change_default_language_details" tag state: -/// Changed the default language for the team. +/// Retrieves whether the union's current tag state has value +/// "password_change_details". /// -/// @param teamProfileChangeDefaultLanguageDetails Changed the default language -/// for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordChangeDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "password_change_details". /// -- (instancetype)initWithTeamProfileChangeDefaultLanguageDetails: - (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)teamProfileChangeDefaultLanguageDetails; +- (BOOL)isPasswordChangeDetails; /// -/// Initializes union class with tag state of -/// "team_profile_change_logo_details". -/// -/// Description of the "team_profile_change_logo_details" tag state: Changed the -/// team logo to be displayed on shared link headers. +/// Retrieves whether the union's current tag state has value +/// "password_reset_details". /// -/// @param teamProfileChangeLogoDetails Changed the team logo to be displayed on -/// shared link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordResetDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "password_reset_details". /// -- (instancetype)initWithTeamProfileChangeLogoDetails: - (DBTEAMLOGTeamProfileChangeLogoDetails *)teamProfileChangeLogoDetails; +- (BOOL)isPasswordResetDetails; /// -/// Initializes union class with tag state of -/// "team_profile_change_name_details". -/// -/// Description of the "team_profile_change_name_details" tag state: Changed the -/// team name. +/// Retrieves whether the union's current tag state has value +/// "password_reset_all_details". /// -/// @param teamProfileChangeNameDetails Changed the team name. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordResetAllDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "password_reset_all_details". /// -- (instancetype)initWithTeamProfileChangeNameDetails: - (DBTEAMLOGTeamProfileChangeNameDetails *)teamProfileChangeNameDetails; +- (BOOL)isPasswordResetAllDetails; /// -/// Initializes union class with tag state of -/// "team_profile_remove_logo_details". -/// -/// Description of the "team_profile_remove_logo_details" tag state: Removed the -/// team logo to be displayed on shared link headers. +/// Retrieves whether the union's current tag state has value +/// "classification_create_report_details". /// -/// @param teamProfileRemoveLogoDetails Removed the team logo to be displayed on -/// shared link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `classificationCreateReportDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "classification_create_report_details". /// -- (instancetype)initWithTeamProfileRemoveLogoDetails: - (DBTEAMLOGTeamProfileRemoveLogoDetails *)teamProfileRemoveLogoDetails; +- (BOOL)isClassificationCreateReportDetails; /// -/// Initializes union class with tag state of "tfa_add_backup_phone_details". -/// -/// Description of the "tfa_add_backup_phone_details" tag state: Added a backup -/// phone for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "classification_create_report_fail_details". /// -/// @param tfaAddBackupPhoneDetails Added a backup phone for two-step -/// verification. +/// @note Call this method and ensure it returns true before accessing the +/// `classificationCreateReportFailDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "classification_create_report_fail_details". /// -- (instancetype)initWithTfaAddBackupPhoneDetails:(DBTEAMLOGTfaAddBackupPhoneDetails *)tfaAddBackupPhoneDetails; +- (BOOL)isClassificationCreateReportFailDetails; /// -/// Initializes union class with tag state of "tfa_add_security_key_details". -/// -/// Description of the "tfa_add_security_key_details" tag state: Added a -/// security key for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "emm_create_exceptions_report_details". /// -/// @param tfaAddSecurityKeyDetails Added a security key for two-step -/// verification. +/// @note Call this method and ensure it returns true before accessing the +/// `emmCreateExceptionsReportDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_create_exceptions_report_details". /// -- (instancetype)initWithTfaAddSecurityKeyDetails:(DBTEAMLOGTfaAddSecurityKeyDetails *)tfaAddSecurityKeyDetails; +- (BOOL)isEmmCreateExceptionsReportDetails; /// -/// Initializes union class with tag state of "tfa_change_backup_phone_details". -/// -/// Description of the "tfa_change_backup_phone_details" tag state: Changed the -/// backup phone for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "emm_create_usage_report_details". /// -/// @param tfaChangeBackupPhoneDetails Changed the backup phone for two-step -/// verification. +/// @note Call this method and ensure it returns true before accessing the +/// `emmCreateUsageReportDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_create_usage_report_details". /// -- (instancetype)initWithTfaChangeBackupPhoneDetails:(DBTEAMLOGTfaChangeBackupPhoneDetails *)tfaChangeBackupPhoneDetails; +- (BOOL)isEmmCreateUsageReportDetails; /// -/// Initializes union class with tag state of "tfa_change_status_details". -/// -/// Description of the "tfa_change_status_details" tag state: Enabled, disabled -/// or changed the configuration for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "export_members_report_details". /// -/// @param tfaChangeStatusDetails Enabled, disabled or changed the configuration -/// for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `exportMembersReportDetails` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "export_members_report_details". /// -- (instancetype)initWithTfaChangeStatusDetails:(DBTEAMLOGTfaChangeStatusDetails *)tfaChangeStatusDetails; +- (BOOL)isExportMembersReportDetails; /// -/// Initializes union class with tag state of "tfa_remove_backup_phone_details". -/// -/// Description of the "tfa_remove_backup_phone_details" tag state: Removed the -/// backup phone for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "export_members_report_fail_details". /// -/// @param tfaRemoveBackupPhoneDetails Removed the backup phone for two-step -/// verification. +/// @note Call this method and ensure it returns true before accessing the +/// `exportMembersReportFailDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "export_members_report_fail_details". /// -- (instancetype)initWithTfaRemoveBackupPhoneDetails:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)tfaRemoveBackupPhoneDetails; +- (BOOL)isExportMembersReportFailDetails; /// -/// Initializes union class with tag state of "tfa_remove_security_key_details". -/// -/// Description of the "tfa_remove_security_key_details" tag state: Removed a -/// security key for two-step verification. +/// Retrieves whether the union's current tag state has value +/// "external_sharing_create_report_details". /// -/// @param tfaRemoveSecurityKeyDetails Removed a security key for two-step -/// verification. +/// @note Call this method and ensure it returns true before accessing the +/// `externalSharingCreateReportDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_sharing_create_report_details". /// -- (instancetype)initWithTfaRemoveSecurityKeyDetails:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)tfaRemoveSecurityKeyDetails; +- (BOOL)isExternalSharingCreateReportDetails; /// -/// Initializes union class with tag state of "tfa_reset_details". -/// -/// Description of the "tfa_reset_details" tag state: Reset two-step -/// verification for team member. +/// Retrieves whether the union's current tag state has value +/// "external_sharing_report_failed_details". /// -/// @param tfaResetDetails Reset two-step verification for team member. +/// @note Call this method and ensure it returns true before accessing the +/// `externalSharingReportFailedDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_sharing_report_failed_details". /// -- (instancetype)initWithTfaResetDetails:(DBTEAMLOGTfaResetDetails *)tfaResetDetails; +- (BOOL)isExternalSharingReportFailedDetails; /// -/// Initializes union class with tag state of "missing_details". -/// -/// Description of the "missing_details" tag state: Hints that this event was -/// returned with missing details due to an internal error. +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_create_report_details". /// -/// @param missingDetails Hints that this event was returned with missing -/// details due to an internal error. +/// @note Call this method and ensure it returns true before accessing the +/// `noExpirationLinkGenCreateReportDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_create_report_details". /// -- (instancetype)initWithMissingDetails:(DBTEAMLOGMissingDetails *)missingDetails; +- (BOOL)isNoExpirationLinkGenCreateReportDetails; /// -/// Initializes union class with tag state of "other". +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed_details". /// -/// @return An initialized instance. +/// @note Call this method and ensure it returns true before accessing the +/// `noExpirationLinkGenReportFailedDetails` property, otherwise a runtime +/// exception will be thrown. /// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed_details". +/// +- (BOOL)isNoExpirationLinkGenReportFailedDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_change_membership_type_details". +/// "no_password_link_gen_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberChangeMembershipTypeDetails` property, otherwise a runtime exception -/// will be thrown. +/// `noPasswordLinkGenCreateReportDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_membership_type_details". +/// "no_password_link_gen_create_report_details". /// -- (BOOL)isMemberChangeMembershipTypeDetails; +- (BOOL)isNoPasswordLinkGenCreateReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_permanently_delete_account_contents_details". +/// "no_password_link_gen_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberPermanentlyDeleteAccountContentsDetails` property, otherwise a -/// runtime exception will be thrown. +/// `noPasswordLinkGenReportFailedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_permanently_delete_account_contents_details". +/// "no_password_link_gen_report_failed_details". /// -- (BOOL)isMemberPermanentlyDeleteAccountContentsDetails; +- (BOOL)isNoPasswordLinkGenReportFailedDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_change_status_details". +/// "no_password_link_view_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSpaceLimitsChangeStatusDetails` property, otherwise a runtime +/// `noPasswordLinkViewCreateReportDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_change_status_details". +/// "no_password_link_view_create_report_details". /// -- (BOOL)isMemberSpaceLimitsChangeStatusDetails; +- (BOOL)isNoPasswordLinkViewCreateReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_transfer_account_contents_details". +/// "no_password_link_view_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberTransferAccountContentsDetails` property, otherwise a runtime +/// `noPasswordLinkViewReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_transfer_account_contents_details". +/// "no_password_link_view_report_failed_details". /// -- (BOOL)isMemberTransferAccountContentsDetails; +- (BOOL)isNoPasswordLinkViewReportFailedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_admin_export_start_details". +/// "outdated_link_view_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperAdminExportStartDetails` property, otherwise a runtime exception will -/// be thrown. +/// `outdatedLinkViewCreateReportDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_admin_export_start_details". +/// "outdated_link_view_create_report_details". /// -- (BOOL)isPaperAdminExportStartDetails; +- (BOOL)isOutdatedLinkViewCreateReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_enabled_users_group_addition_details". +/// "outdated_link_view_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperEnabledUsersGroupAdditionDetails` property, otherwise a runtime +/// `outdatedLinkViewReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_enabled_users_group_addition_details". +/// "outdated_link_view_report_failed_details". /// -- (BOOL)isPaperEnabledUsersGroupAdditionDetails; +- (BOOL)isOutdatedLinkViewReportFailedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_enabled_users_group_removal_details". +/// "paper_admin_export_start_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperEnabledUsersGroupRemovalDetails` property, otherwise a runtime -/// exception will be thrown. +/// `paperAdminExportStartDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_enabled_users_group_removal_details". +/// "paper_admin_export_start_details". /// -- (BOOL)isPaperEnabledUsersGroupRemovalDetails; +- (BOOL)isPaperAdminExportStartDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_allow_details". +/// "ransomware_alert_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperExternalViewAllowDetails` property, otherwise a runtime exception will -/// be thrown. +/// `ransomwareAlertCreateReportDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_external_view_allow_details". +/// "ransomware_alert_create_report_details". /// -- (BOOL)isPaperExternalViewAllowDetails; +- (BOOL)isRansomwareAlertCreateReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_default_team_details". +/// "ransomware_alert_create_report_failed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperExternalViewDefaultTeamDetails` property, otherwise a runtime +/// `ransomwareAlertCreateReportFailedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_external_view_default_team_details". +/// "ransomware_alert_create_report_failed_details". /// -- (BOOL)isPaperExternalViewDefaultTeamDetails; +- (BOOL)isRansomwareAlertCreateReportFailedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_forbid_details". +/// "smart_sync_create_admin_privilege_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperExternalViewForbidDetails` property, otherwise a runtime exception -/// will be thrown. +/// `smartSyncCreateAdminPrivilegeReportDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_external_view_forbid_details". +/// "smart_sync_create_admin_privilege_report_details". /// -- (BOOL)isPaperExternalViewForbidDetails; +- (BOOL)isSmartSyncCreateAdminPrivilegeReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_external_invite_warn_details". +/// "team_activity_create_report_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfExternalInviteWarnDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamActivityCreateReportDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_external_invite_warn_details". +/// "team_activity_create_report_details". /// -- (BOOL)isSfExternalInviteWarnDetails; +- (BOOL)isTeamActivityCreateReportDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_merge_from_details". +/// "team_activity_create_report_fail_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamMergeFromDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamActivityCreateReportFailDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_merge_from_details". +/// "team_activity_create_report_fail_details". /// -- (BOOL)isTeamMergeFromDetails; +- (BOOL)isTeamActivityCreateReportFailDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_merge_to_details". +/// "collection_share_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamMergeToDetails` property, otherwise a runtime exception will be thrown. +/// `collectionShareDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "team_merge_to_details". +/// "collection_share_details". /// -- (BOOL)isTeamMergeToDetails; +- (BOOL)isCollectionShareDetails; /// /// Retrieves whether the union's current tag state has value -/// "app_link_team_details". +/// "file_transfers_file_add_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `appLinkTeamDetails` property, otherwise a runtime exception will be thrown. +/// `fileTransfersFileAddDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "app_link_team_details". +/// "file_transfers_file_add_details". /// -- (BOOL)isAppLinkTeamDetails; +- (BOOL)isFileTransfersFileAddDetails; /// /// Retrieves whether the union's current tag state has value -/// "app_link_user_details". +/// "file_transfers_transfer_delete_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `appLinkUserDetails` property, otherwise a runtime exception will be thrown. +/// `fileTransfersTransferDeleteDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "app_link_user_details". +/// "file_transfers_transfer_delete_details". /// -- (BOOL)isAppLinkUserDetails; +- (BOOL)isFileTransfersTransferDeleteDetails; /// /// Retrieves whether the union's current tag state has value -/// "app_unlink_team_details". +/// "file_transfers_transfer_download_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `appUnlinkTeamDetails` property, otherwise a runtime exception will be -/// thrown. +/// `fileTransfersTransferDownloadDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "app_unlink_team_details". +/// "file_transfers_transfer_download_details". /// -- (BOOL)isAppUnlinkTeamDetails; +- (BOOL)isFileTransfersTransferDownloadDetails; /// /// Retrieves whether the union's current tag state has value -/// "app_unlink_user_details". +/// "file_transfers_transfer_send_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `appUnlinkUserDetails` property, otherwise a runtime exception will be -/// thrown. +/// `fileTransfersTransferSendDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "app_unlink_user_details". +/// "file_transfers_transfer_send_details". /// -- (BOOL)isAppUnlinkUserDetails; +- (BOOL)isFileTransfersTransferSendDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_add_comment_details". +/// "file_transfers_transfer_view_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileAddCommentDetails` property, otherwise a runtime exception will be -/// thrown. +/// `fileTransfersTransferViewDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_add_comment_details". +/// "file_transfers_transfer_view_details". /// -- (BOOL)isFileAddCommentDetails; +- (BOOL)isFileTransfersTransferViewDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_change_comment_subscription_details". +/// "note_acl_invite_only_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileChangeCommentSubscriptionDetails` property, otherwise a runtime -/// exception will be thrown. +/// `noteAclInviteOnlyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_change_comment_subscription_details". +/// "note_acl_invite_only_details". /// -- (BOOL)isFileChangeCommentSubscriptionDetails; +- (BOOL)isNoteAclInviteOnlyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_delete_comment_details". +/// "note_acl_link_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileDeleteCommentDetails` property, otherwise a runtime exception will be -/// thrown. +/// `noteAclLinkDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_delete_comment_details". +/// "note_acl_link_details". /// -- (BOOL)isFileDeleteCommentDetails; +- (BOOL)isNoteAclLinkDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_like_comment_details". +/// "note_acl_team_link_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileLikeCommentDetails` property, otherwise a runtime exception will be +/// `noteAclTeamLinkDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "file_like_comment_details". +/// "note_acl_team_link_details". /// -- (BOOL)isFileLikeCommentDetails; +- (BOOL)isNoteAclTeamLinkDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_resolve_comment_details". +/// "note_shared_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileResolveCommentDetails` property, otherwise a runtime exception will be -/// thrown. +/// `noteSharedDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_resolve_comment_details". +/// "note_shared_details". /// -- (BOOL)isFileResolveCommentDetails; +- (BOOL)isNoteSharedDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_unlike_comment_details". +/// "note_share_receive_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileUnlikeCommentDetails` property, otherwise a runtime exception will be +/// `noteShareReceiveDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "file_unlike_comment_details". +/// "note_share_receive_details". /// -- (BOOL)isFileUnlikeCommentDetails; +- (BOOL)isNoteShareReceiveDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_unresolve_comment_details". +/// "open_note_shared_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileUnresolveCommentDetails` property, otherwise a runtime exception will -/// be thrown. +/// `openNoteSharedDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_unresolve_comment_details". +/// "open_note_shared_details". /// -- (BOOL)isFileUnresolveCommentDetails; +- (BOOL)isOpenNoteSharedDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_change_ip_desktop_details". +/// "replay_file_shared_link_created_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceChangeIpDesktopDetails` property, otherwise a runtime exception will -/// be thrown. +/// `replayFileSharedLinkCreatedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_change_ip_desktop_details". +/// "replay_file_shared_link_created_details". /// -- (BOOL)isDeviceChangeIpDesktopDetails; +- (BOOL)isReplayFileSharedLinkCreatedDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_change_ip_mobile_details". +/// "replay_file_shared_link_modified_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceChangeIpMobileDetails` property, otherwise a runtime exception will -/// be thrown. +/// `replayFileSharedLinkModifiedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_change_ip_mobile_details". +/// "replay_file_shared_link_modified_details". /// -- (BOOL)isDeviceChangeIpMobileDetails; +- (BOOL)isReplayFileSharedLinkModifiedDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_change_ip_web_details". +/// "replay_project_team_add_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceChangeIpWebDetails` property, otherwise a runtime exception will be -/// thrown. +/// `replayProjectTeamAddDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "device_change_ip_web_details". +/// "replay_project_team_add_details". /// -- (BOOL)isDeviceChangeIpWebDetails; +- (BOOL)isReplayProjectTeamAddDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_delete_on_unlink_fail_details". +/// "replay_project_team_delete_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceDeleteOnUnlinkFailDetails` property, otherwise a runtime exception +/// `replayProjectTeamDeleteDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_delete_on_unlink_fail_details". +/// "replay_project_team_delete_details". /// -- (BOOL)isDeviceDeleteOnUnlinkFailDetails; +- (BOOL)isReplayProjectTeamDeleteDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_delete_on_unlink_success_details". +/// "sf_add_group_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceDeleteOnUnlinkSuccessDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sfAddGroupDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_delete_on_unlink_success_details". +/// "sf_add_group_details". /// -- (BOOL)isDeviceDeleteOnUnlinkSuccessDetails; +- (BOOL)isSfAddGroupDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_link_fail_details". +/// "sf_allow_non_members_to_view_shared_links_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceLinkFailDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sfAllowNonMembersToViewSharedLinksDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_link_fail_details". +/// "sf_allow_non_members_to_view_shared_links_details". /// -- (BOOL)isDeviceLinkFailDetails; +- (BOOL)isSfAllowNonMembersToViewSharedLinksDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_link_success_details". +/// "sf_external_invite_warn_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceLinkSuccessDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sfExternalInviteWarnDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "device_link_success_details". +/// "sf_external_invite_warn_details". /// -- (BOOL)isDeviceLinkSuccessDetails; +- (BOOL)isSfExternalInviteWarnDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_management_disabled_details". +/// "sf_fb_invite_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceManagementDisabledDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sfFbInviteDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_management_disabled_details". +/// "sf_fb_invite_details". /// -- (BOOL)isDeviceManagementDisabledDetails; +- (BOOL)isSfFbInviteDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_management_enabled_details". +/// "sf_fb_invite_change_role_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceManagementEnabledDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sfFbInviteChangeRoleDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "device_management_enabled_details". +/// "sf_fb_invite_change_role_details". /// -- (BOOL)isDeviceManagementEnabledDetails; +- (BOOL)isSfFbInviteChangeRoleDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_unlink_details". +/// "sf_fb_uninvite_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceUnlinkDetails` property, otherwise a runtime exception will be +/// `sfFbUninviteDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "device_unlink_details". +/// "sf_fb_uninvite_details". /// -- (BOOL)isDeviceUnlinkDetails; +- (BOOL)isSfFbUninviteDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_refresh_auth_token_details". +/// "sf_invite_group_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmRefreshAuthTokenDetails` property, otherwise a runtime exception will be +/// `sfInviteGroupDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "emm_refresh_auth_token_details". +/// "sf_invite_group_details". /// -- (BOOL)isEmmRefreshAuthTokenDetails; +- (BOOL)isSfInviteGroupDetails; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_change_availability_details". +/// "sf_team_grant_access_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `accountCaptureChangeAvailabilityDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sfTeamGrantAccessDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_change_availability_details". +/// "sf_team_grant_access_details". /// -- (BOOL)isAccountCaptureChangeAvailabilityDetails; +- (BOOL)isSfTeamGrantAccessDetails; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_migrate_account_details". +/// "sf_team_invite_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `accountCaptureMigrateAccountDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sfTeamInviteDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_migrate_account_details". +/// "sf_team_invite_details". /// -- (BOOL)isAccountCaptureMigrateAccountDetails; +- (BOOL)isSfTeamInviteDetails; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_relinquish_account_details". +/// "sf_team_invite_change_role_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `accountCaptureRelinquishAccountDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sfTeamInviteChangeRoleDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_relinquish_account_details". +/// "sf_team_invite_change_role_details". /// -- (BOOL)isAccountCaptureRelinquishAccountDetails; +- (BOOL)isSfTeamInviteChangeRoleDetails; /// /// Retrieves whether the union's current tag state has value -/// "disabled_domain_invites_details". +/// "sf_team_join_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `disabledDomainInvitesDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sfTeamJoinDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "disabled_domain_invites_details". +/// "sf_team_join_details". /// -- (BOOL)isDisabledDomainInvitesDetails; +- (BOOL)isSfTeamJoinDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_approve_request_to_join_team_details". +/// "sf_team_join_from_oob_link_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesApproveRequestToJoinTeamDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sfTeamJoinFromOobLinkDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_approve_request_to_join_team_details". +/// "sf_team_join_from_oob_link_details". /// -- (BOOL)isDomainInvitesApproveRequestToJoinTeamDetails; +- (BOOL)isSfTeamJoinFromOobLinkDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_decline_request_to_join_team_details". +/// "sf_team_uninvite_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesDeclineRequestToJoinTeamDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sfTeamUninviteDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_decline_request_to_join_team_details". +/// "sf_team_uninvite_details". /// -- (BOOL)isDomainInvitesDeclineRequestToJoinTeamDetails; +- (BOOL)isSfTeamUninviteDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_email_existing_users_details". +/// "shared_content_add_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesEmailExistingUsersDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sharedContentAddInviteesDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_email_existing_users_details". +/// "shared_content_add_invitees_details". /// -- (BOOL)isDomainInvitesEmailExistingUsersDetails; +- (BOOL)isSharedContentAddInviteesDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_request_to_join_team_details". +/// "shared_content_add_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesRequestToJoinTeamDetails` property, otherwise a runtime -/// exception will be thrown. +/// `sharedContentAddLinkExpiryDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_request_to_join_team_details". +/// "shared_content_add_link_expiry_details". /// -- (BOOL)isDomainInvitesRequestToJoinTeamDetails; +- (BOOL)isSharedContentAddLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_no_details". +/// "shared_content_add_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesSetInviteNewUserPrefToNoDetails` property, otherwise a runtime +/// `sharedContentAddLinkPasswordDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_no_details". +/// "shared_content_add_link_password_details". /// -- (BOOL)isDomainInvitesSetInviteNewUserPrefToNoDetails; +- (BOOL)isSharedContentAddLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_yes_details". +/// "shared_content_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainInvitesSetInviteNewUserPrefToYesDetails` property, otherwise a -/// runtime exception will be thrown. +/// `sharedContentAddMemberDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_yes_details". +/// "shared_content_add_member_details". /// -- (BOOL)isDomainInvitesSetInviteNewUserPrefToYesDetails; +- (BOOL)isSharedContentAddMemberDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_add_domain_fail_details". +/// "shared_content_change_downloads_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainVerificationAddDomainFailDetails` property, otherwise a runtime +/// `sharedContentChangeDownloadsPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_add_domain_fail_details". +/// "shared_content_change_downloads_policy_details". /// -- (BOOL)isDomainVerificationAddDomainFailDetails; +- (BOOL)isSharedContentChangeDownloadsPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_add_domain_success_details". +/// "shared_content_change_invitee_role_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainVerificationAddDomainSuccessDetails` property, otherwise a runtime +/// `sharedContentChangeInviteeRoleDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_add_domain_success_details". +/// "shared_content_change_invitee_role_details". /// -- (BOOL)isDomainVerificationAddDomainSuccessDetails; +- (BOOL)isSharedContentChangeInviteeRoleDetails; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_remove_domain_details". +/// "shared_content_change_link_audience_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `domainVerificationRemoveDomainDetails` property, otherwise a runtime +/// `sharedContentChangeLinkAudienceDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_remove_domain_details". +/// "shared_content_change_link_audience_details". /// -- (BOOL)isDomainVerificationRemoveDomainDetails; +- (BOOL)isSharedContentChangeLinkAudienceDetails; /// /// Retrieves whether the union's current tag state has value -/// "enabled_domain_invites_details". +/// "shared_content_change_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `enabledDomainInvitesDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedContentChangeLinkExpiryDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "enabled_domain_invites_details". +/// "shared_content_change_link_expiry_details". /// -- (BOOL)isEnabledDomainInvitesDetails; +- (BOOL)isSharedContentChangeLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "create_folder_details". +/// "shared_content_change_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `createFolderDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedContentChangeLinkPasswordDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "create_folder_details". +/// "shared_content_change_link_password_details". /// -- (BOOL)isCreateFolderDetails; +- (BOOL)isSharedContentChangeLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_add_details". +/// "shared_content_change_member_role_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileAddDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentChangeMemberRoleDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "file_add_details". +/// @return Whether the union's current tag state has value +/// "shared_content_change_member_role_details". /// -- (BOOL)isFileAddDetails; +- (BOOL)isSharedContentChangeMemberRoleDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_copy_details". +/// "shared_content_change_viewer_info_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileCopyDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentChangeViewerInfoPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "file_copy_details". +/// @return Whether the union's current tag state has value +/// "shared_content_change_viewer_info_policy_details". /// -- (BOOL)isFileCopyDetails; +- (BOOL)isSharedContentChangeViewerInfoPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_delete_details". +/// "shared_content_claim_invitation_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileDeleteDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentClaimInvitationDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_delete_details". +/// "shared_content_claim_invitation_details". /// -- (BOOL)isFileDeleteDetails; +- (BOOL)isSharedContentClaimInvitationDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_download_details". +/// "shared_content_copy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileDownloadDetails` property, otherwise a runtime exception will be +/// `sharedContentCopyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "file_download_details". +/// "shared_content_copy_details". /// -- (BOOL)isFileDownloadDetails; +- (BOOL)isSharedContentCopyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_edit_details". +/// "shared_content_download_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileEditDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentDownloadDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return Whether the union's current tag state has value "file_edit_details". +/// @return Whether the union's current tag state has value +/// "shared_content_download_details". /// -- (BOOL)isFileEditDetails; +- (BOOL)isSharedContentDownloadDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_get_copy_reference_details". +/// "shared_content_relinquish_membership_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileGetCopyReferenceDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedContentRelinquishMembershipDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_get_copy_reference_details". +/// "shared_content_relinquish_membership_details". /// -- (BOOL)isFileGetCopyReferenceDetails; +- (BOOL)isSharedContentRelinquishMembershipDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_move_details". +/// "shared_content_remove_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileMoveDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentRemoveInviteesDetails` property, otherwise a runtime exception +/// will be thrown. /// -/// @return Whether the union's current tag state has value "file_move_details". +/// @return Whether the union's current tag state has value +/// "shared_content_remove_invitees_details". /// -- (BOOL)isFileMoveDetails; +- (BOOL)isSharedContentRemoveInviteesDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_permanently_delete_details". +/// "shared_content_remove_link_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `filePermanentlyDeleteDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedContentRemoveLinkExpiryDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_permanently_delete_details". +/// "shared_content_remove_link_expiry_details". /// -- (BOOL)isFilePermanentlyDeleteDetails; +- (BOOL)isSharedContentRemoveLinkExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_preview_details". +/// "shared_content_remove_link_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `filePreviewDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentRemoveLinkPasswordDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_preview_details". +/// "shared_content_remove_link_password_details". /// -- (BOOL)isFilePreviewDetails; +- (BOOL)isSharedContentRemoveLinkPasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_rename_details". +/// "shared_content_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRenameDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentRemoveMemberDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_rename_details". +/// "shared_content_remove_member_details". /// -- (BOOL)isFileRenameDetails; +- (BOOL)isSharedContentRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_restore_details". +/// "shared_content_request_access_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRestoreDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentRequestAccessDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_restore_details". +/// "shared_content_request_access_details". /// -- (BOOL)isFileRestoreDetails; +- (BOOL)isSharedContentRequestAccessDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_revert_details". +/// "shared_content_restore_invitees_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRevertDetails` property, otherwise a runtime exception will be thrown. +/// `sharedContentRestoreInviteesDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_revert_details". +/// "shared_content_restore_invitees_details". /// -- (BOOL)isFileRevertDetails; +- (BOOL)isSharedContentRestoreInviteesDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_rollback_changes_details". +/// "shared_content_restore_member_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRollbackChangesDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedContentRestoreMemberDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_rollback_changes_details". +/// "shared_content_restore_member_details". /// -- (BOOL)isFileRollbackChangesDetails; +- (BOOL)isSharedContentRestoreMemberDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_save_copy_reference_details". +/// "shared_content_unshare_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileSaveCopyReferenceDetails` property, otherwise a runtime exception will +/// `sharedContentUnshareDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "file_save_copy_reference_details". +/// "shared_content_unshare_details". /// -- (BOOL)isFileSaveCopyReferenceDetails; +- (BOOL)isSharedContentUnshareDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_add_deadline_details". +/// "shared_content_view_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestAddDeadlineDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedContentViewDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_add_deadline_details". +/// "shared_content_view_details". /// -- (BOOL)isFileRequestAddDeadlineDetails; +- (BOOL)isSharedContentViewDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_change_details". +/// "shared_folder_change_link_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestChangeDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedFolderChangeLinkPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_change_details". +/// "shared_folder_change_link_policy_details". /// -- (BOOL)isFileRequestChangeDetails; +- (BOOL)isSharedFolderChangeLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_change_folder_details". +/// "shared_folder_change_members_inheritance_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestChangeFolderDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharedFolderChangeMembersInheritancePolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_change_folder_details". +/// "shared_folder_change_members_inheritance_policy_details". /// -- (BOOL)isFileRequestChangeFolderDetails; +- (BOOL)isSharedFolderChangeMembersInheritancePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_close_details". +/// "shared_folder_change_members_management_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestCloseDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedFolderChangeMembersManagementPolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_close_details". +/// "shared_folder_change_members_management_policy_details". /// -- (BOOL)isFileRequestCloseDetails; +- (BOOL)isSharedFolderChangeMembersManagementPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_create_details". +/// "shared_folder_change_members_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestCreateDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedFolderChangeMembersPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_create_details". +/// "shared_folder_change_members_policy_details". /// -- (BOOL)isFileRequestCreateDetails; +- (BOOL)isSharedFolderChangeMembersPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_receive_file_details". +/// "shared_folder_create_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestReceiveFileDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedFolderCreateDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_receive_file_details". +/// "shared_folder_create_details". /// -- (BOOL)isFileRequestReceiveFileDetails; +- (BOOL)isSharedFolderCreateDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_remove_deadline_details". +/// "shared_folder_decline_invitation_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestRemoveDeadlineDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharedFolderDeclineInvitationDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_remove_deadline_details". +/// "shared_folder_decline_invitation_details". /// -- (BOOL)isFileRequestRemoveDeadlineDetails; +- (BOOL)isSharedFolderDeclineInvitationDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_request_send_details". +/// "shared_folder_mount_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestSendDetails` property, otherwise a runtime exception will be +/// `sharedFolderMountDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_send_details". +/// "shared_folder_mount_details". /// -- (BOOL)isFileRequestSendDetails; +- (BOOL)isSharedFolderMountDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_add_external_id_details". +/// "shared_folder_nest_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupAddExternalIdDetails` property, otherwise a runtime exception will be +/// `sharedFolderNestDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "group_add_external_id_details". +/// "shared_folder_nest_details". /// -- (BOOL)isGroupAddExternalIdDetails; +- (BOOL)isSharedFolderNestDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_add_member_details". +/// "shared_folder_transfer_ownership_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupAddMemberDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedFolderTransferOwnershipDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "group_add_member_details". +/// "shared_folder_transfer_ownership_details". /// -- (BOOL)isGroupAddMemberDetails; +- (BOOL)isSharedFolderTransferOwnershipDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_change_external_id_details". +/// "shared_folder_unmount_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupChangeExternalIdDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedFolderUnmountDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_external_id_details". +/// "shared_folder_unmount_details". /// -- (BOOL)isGroupChangeExternalIdDetails; +- (BOOL)isSharedFolderUnmountDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_change_management_type_details". +/// "shared_link_add_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupChangeManagementTypeDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharedLinkAddExpiryDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_management_type_details". +/// "shared_link_add_expiry_details". /// -- (BOOL)isGroupChangeManagementTypeDetails; +- (BOOL)isSharedLinkAddExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_change_member_role_details". +/// "shared_link_change_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupChangeMemberRoleDetails` property, otherwise a runtime exception will +/// `sharedLinkChangeExpiryDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_member_role_details". +/// "shared_link_change_expiry_details". /// -- (BOOL)isGroupChangeMemberRoleDetails; +- (BOOL)isSharedLinkChangeExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_create_details". +/// "shared_link_change_visibility_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupCreateDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkChangeVisibilityDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "group_create_details". +/// "shared_link_change_visibility_details". /// -- (BOOL)isGroupCreateDetails; +- (BOOL)isSharedLinkChangeVisibilityDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_delete_details". +/// "shared_link_copy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupDeleteDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkCopyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_delete_details". +/// "shared_link_copy_details". /// -- (BOOL)isGroupDeleteDetails; +- (BOOL)isSharedLinkCopyDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_moved_details". +/// "shared_link_create_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupMovedDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkCreateDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_moved_details". +/// "shared_link_create_details". /// -- (BOOL)isGroupMovedDetails; +- (BOOL)isSharedLinkCreateDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_remove_external_id_details". +/// "shared_link_disable_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupRemoveExternalIdDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedLinkDisableDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_remove_external_id_details". +/// "shared_link_disable_details". /// -- (BOOL)isGroupRemoveExternalIdDetails; +- (BOOL)isSharedLinkDisableDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_remove_member_details". +/// "shared_link_download_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupRemoveMemberDetails` property, otherwise a runtime exception will be +/// `sharedLinkDownloadDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "group_remove_member_details". +/// "shared_link_download_details". /// -- (BOOL)isGroupRemoveMemberDetails; +- (BOOL)isSharedLinkDownloadDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_rename_details". +/// "shared_link_remove_expiry_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupRenameDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkRemoveExpiryDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "group_rename_details". +/// "shared_link_remove_expiry_details". /// -- (BOOL)isGroupRenameDetails; +- (BOOL)isSharedLinkRemoveExpiryDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_error_details". +/// "shared_link_settings_add_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmErrorDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkSettingsAddExpirationDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "emm_error_details". +/// @return Whether the union's current tag state has value +/// "shared_link_settings_add_expiration_details". /// -- (BOOL)isEmmErrorDetails; +- (BOOL)isSharedLinkSettingsAddExpirationDetails; /// /// Retrieves whether the union's current tag state has value -/// "login_fail_details". +/// "shared_link_settings_add_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `loginFailDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkSettingsAddPasswordDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "login_fail_details". +/// "shared_link_settings_add_password_details". /// -- (BOOL)isLoginFailDetails; +- (BOOL)isSharedLinkSettingsAddPasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "login_success_details". +/// "shared_link_settings_allow_download_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `loginSuccessDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedLinkSettingsAllowDownloadDisabledDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "login_success_details". +/// "shared_link_settings_allow_download_disabled_details". /// -- (BOOL)isLoginSuccessDetails; +- (BOOL)isSharedLinkSettingsAllowDownloadDisabledDetails; /// -/// Retrieves whether the union's current tag state has value "logout_details". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `logoutDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkSettingsAllowDownloadEnabledDetails` property, otherwise a +/// runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "logout_details". +/// @return Whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled_details". /// -- (BOOL)isLogoutDetails; +- (BOOL)isSharedLinkSettingsAllowDownloadEnabledDetails; /// /// Retrieves whether the union's current tag state has value -/// "reseller_support_session_end_details". +/// "shared_link_settings_change_audience_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `resellerSupportSessionEndDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharedLinkSettingsChangeAudienceDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "reseller_support_session_end_details". +/// "shared_link_settings_change_audience_details". /// -- (BOOL)isResellerSupportSessionEndDetails; +- (BOOL)isSharedLinkSettingsChangeAudienceDetails; /// /// Retrieves whether the union's current tag state has value -/// "reseller_support_session_start_details". +/// "shared_link_settings_change_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `resellerSupportSessionStartDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharedLinkSettingsChangeExpirationDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "reseller_support_session_start_details". +/// "shared_link_settings_change_expiration_details". /// -- (BOOL)isResellerSupportSessionStartDetails; +- (BOOL)isSharedLinkSettingsChangeExpirationDetails; /// /// Retrieves whether the union's current tag state has value -/// "sign_in_as_session_end_details". +/// "shared_link_settings_change_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `signInAsSessionEndDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharedLinkSettingsChangePasswordDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sign_in_as_session_end_details". +/// "shared_link_settings_change_password_details". /// -- (BOOL)isSignInAsSessionEndDetails; +- (BOOL)isSharedLinkSettingsChangePasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "sign_in_as_session_start_details". +/// "shared_link_settings_remove_expiration_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `signInAsSessionStartDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedLinkSettingsRemoveExpirationDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sign_in_as_session_start_details". +/// "shared_link_settings_remove_expiration_details". /// -- (BOOL)isSignInAsSessionStartDetails; +- (BOOL)isSharedLinkSettingsRemoveExpirationDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_error_details". +/// "shared_link_settings_remove_password_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoErrorDetails` property, otherwise a runtime exception will be thrown. +/// `sharedLinkSettingsRemovePasswordDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "sso_error_details". +/// @return Whether the union's current tag state has value +/// "shared_link_settings_remove_password_details". /// -- (BOOL)isSsoErrorDetails; +- (BOOL)isSharedLinkSettingsRemovePasswordDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_add_name_details". +/// "shared_link_share_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberAddNameDetails` property, otherwise a runtime exception will be +/// `sharedLinkShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "member_add_name_details". +/// "shared_link_share_details". /// -- (BOOL)isMemberAddNameDetails; +- (BOOL)isSharedLinkShareDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_change_admin_role_details". +/// "shared_link_view_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberChangeAdminRoleDetails` property, otherwise a runtime exception will -/// be thrown. +/// `sharedLinkViewDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_admin_role_details". +/// "shared_link_view_details". /// -- (BOOL)isMemberChangeAdminRoleDetails; +- (BOOL)isSharedLinkViewDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_change_email_details". +/// "shared_note_opened_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberChangeEmailDetails` property, otherwise a runtime exception will be +/// `sharedNoteOpenedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_email_details". +/// "shared_note_opened_details". /// -- (BOOL)isMemberChangeEmailDetails; +- (BOOL)isSharedNoteOpenedDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_change_name_details". +/// "shmodel_disable_downloads_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberChangeNameDetails` property, otherwise a runtime exception will be -/// thrown. +/// `shmodelDisableDownloadsDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_name_details". +/// "shmodel_disable_downloads_details". /// -- (BOOL)isMemberChangeNameDetails; +- (BOOL)isShmodelDisableDownloadsDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_change_status_details". +/// "shmodel_enable_downloads_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberChangeStatusDetails` property, otherwise a runtime exception will be -/// thrown. +/// `shmodelEnableDownloadsDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_status_details". +/// "shmodel_enable_downloads_details". /// -- (BOOL)isMemberChangeStatusDetails; +- (BOOL)isShmodelEnableDownloadsDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_suggest_details". +/// "shmodel_group_share_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSuggestDetails` property, otherwise a runtime exception will be +/// `shmodelGroupShareDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "member_suggest_details". +/// "shmodel_group_share_details". /// -- (BOOL)isMemberSuggestDetails; +- (BOOL)isShmodelGroupShareDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_add_member_details". +/// "showcase_access_granted_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentAddMemberDetails` property, otherwise a runtime exception will +/// `showcaseAccessGrantedDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_add_member_details". +/// "showcase_access_granted_details". /// -- (BOOL)isPaperContentAddMemberDetails; +- (BOOL)isShowcaseAccessGrantedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_add_to_folder_details". +/// "showcase_add_member_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentAddToFolderDetails` property, otherwise a runtime exception -/// will be thrown. +/// `showcaseAddMemberDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_add_to_folder_details". +/// "showcase_add_member_details". /// -- (BOOL)isPaperContentAddToFolderDetails; +- (BOOL)isShowcaseAddMemberDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_archive_details". +/// "showcase_archived_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentArchiveDetails` property, otherwise a runtime exception will be +/// `showcaseArchivedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_archive_details". +/// "showcase_archived_details". /// -- (BOOL)isPaperContentArchiveDetails; +- (BOOL)isShowcaseArchivedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_create_details". +/// "showcase_created_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentCreateDetails` property, otherwise a runtime exception will be +/// `showcaseCreatedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_create_details". +/// "showcase_created_details". /// -- (BOOL)isPaperContentCreateDetails; +- (BOOL)isShowcaseCreatedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_permanently_delete_details". +/// "showcase_delete_comment_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentPermanentlyDeleteDetails` property, otherwise a runtime -/// exception will be thrown. +/// `showcaseDeleteCommentDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_permanently_delete_details". +/// "showcase_delete_comment_details". /// -- (BOOL)isPaperContentPermanentlyDeleteDetails; +- (BOOL)isShowcaseDeleteCommentDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_remove_from_folder_details". +/// "showcase_edited_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentRemoveFromFolderDetails` property, otherwise a runtime -/// exception will be thrown. +/// `showcaseEditedDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_remove_from_folder_details". +/// "showcase_edited_details". /// -- (BOOL)isPaperContentRemoveFromFolderDetails; +- (BOOL)isShowcaseEditedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_remove_member_details". +/// "showcase_edit_comment_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentRemoveMemberDetails` property, otherwise a runtime exception -/// will be thrown. +/// `showcaseEditCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_remove_member_details". +/// "showcase_edit_comment_details". /// -- (BOOL)isPaperContentRemoveMemberDetails; +- (BOOL)isShowcaseEditCommentDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_rename_details". +/// "showcase_file_added_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentRenameDetails` property, otherwise a runtime exception will be +/// `showcaseFileAddedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_rename_details". +/// "showcase_file_added_details". /// -- (BOOL)isPaperContentRenameDetails; +- (BOOL)isShowcaseFileAddedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_restore_details". +/// "showcase_file_download_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperContentRestoreDetails` property, otherwise a runtime exception will be +/// `showcaseFileDownloadDetails` property, otherwise a runtime exception will +/// be thrown. +/// +/// @return Whether the union's current tag state has value +/// "showcase_file_download_details". +/// +- (BOOL)isShowcaseFileDownloadDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_file_removed_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseFileRemovedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_restore_details". +/// "showcase_file_removed_details". /// -- (BOOL)isPaperContentRestoreDetails; +- (BOOL)isShowcaseFileRemovedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_add_comment_details". +/// "showcase_file_view_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocAddCommentDetails` property, otherwise a runtime exception will be +/// `showcaseFileViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_add_comment_details". +/// "showcase_file_view_details". /// -- (BOOL)isPaperDocAddCommentDetails; +- (BOOL)isShowcaseFileViewDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_member_role_details". +/// "showcase_permanently_deleted_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocChangeMemberRoleDetails` property, otherwise a runtime exception +/// `showcasePermanentlyDeletedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_member_role_details". +/// "showcase_permanently_deleted_details". /// -- (BOOL)isPaperDocChangeMemberRoleDetails; +- (BOOL)isShowcasePermanentlyDeletedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_sharing_policy_details". +/// "showcase_post_comment_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocChangeSharingPolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `showcasePostCommentDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_sharing_policy_details". +/// "showcase_post_comment_details". /// -- (BOOL)isPaperDocChangeSharingPolicyDetails; +- (BOOL)isShowcasePostCommentDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_subscription_details". +/// "showcase_remove_member_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocChangeSubscriptionDetails` property, otherwise a runtime exception -/// will be thrown. +/// `showcaseRemoveMemberDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_subscription_details". +/// "showcase_remove_member_details". /// -- (BOOL)isPaperDocChangeSubscriptionDetails; +- (BOOL)isShowcaseRemoveMemberDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_deleted_details". +/// "showcase_renamed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocDeletedDetails` property, otherwise a runtime exception will be +/// `showcaseRenamedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_deleted_details". +/// "showcase_renamed_details". /// -- (BOOL)isPaperDocDeletedDetails; +- (BOOL)isShowcaseRenamedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_delete_comment_details". +/// "showcase_request_access_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocDeleteCommentDetails` property, otherwise a runtime exception will +/// `showcaseRequestAccessDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_delete_comment_details". +/// "showcase_request_access_details". /// -- (BOOL)isPaperDocDeleteCommentDetails; +- (BOOL)isShowcaseRequestAccessDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_download_details". +/// "showcase_resolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocDownloadDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseResolveCommentDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_download_details". +/// "showcase_resolve_comment_details". /// -- (BOOL)isPaperDocDownloadDetails; +- (BOOL)isShowcaseResolveCommentDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_edit_details". +/// "showcase_restored_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocEditDetails` property, otherwise a runtime exception will be +/// `showcaseRestoredDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_edit_details". +/// "showcase_restored_details". /// -- (BOOL)isPaperDocEditDetails; +- (BOOL)isShowcaseRestoredDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_edit_comment_details". +/// "showcase_trashed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocEditCommentDetails` property, otherwise a runtime exception will be +/// `showcaseTrashedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_edit_comment_details". +/// "showcase_trashed_details". /// -- (BOOL)isPaperDocEditCommentDetails; +- (BOOL)isShowcaseTrashedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_followed_details". +/// "showcase_trashed_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocFollowedDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseTrashedDeprecatedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_followed_details". +/// "showcase_trashed_deprecated_details". /// -- (BOOL)isPaperDocFollowedDetails; +- (BOOL)isShowcaseTrashedDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_mention_details". +/// "showcase_unresolve_comment_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocMentionDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseUnresolveCommentDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_mention_details". +/// "showcase_unresolve_comment_details". /// -- (BOOL)isPaperDocMentionDetails; +- (BOOL)isShowcaseUnresolveCommentDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_request_access_details". +/// "showcase_untrashed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocRequestAccessDetails` property, otherwise a runtime exception will -/// be thrown. +/// `showcaseUntrashedDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_request_access_details". +/// "showcase_untrashed_details". /// -- (BOOL)isPaperDocRequestAccessDetails; +- (BOOL)isShowcaseUntrashedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_resolve_comment_details". +/// "showcase_untrashed_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocResolveCommentDetails` property, otherwise a runtime exception will -/// be thrown. +/// `showcaseUntrashedDeprecatedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_resolve_comment_details". +/// "showcase_untrashed_deprecated_details". /// -- (BOOL)isPaperDocResolveCommentDetails; +- (BOOL)isShowcaseUntrashedDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_revert_details". +/// "showcase_view_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocRevertDetails` property, otherwise a runtime exception will be +/// `showcaseViewDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_revert_details". +/// "showcase_view_details". /// -- (BOOL)isPaperDocRevertDetails; +- (BOOL)isShowcaseViewDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_slack_share_details". +/// "sso_add_cert_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocSlackShareDetails` property, otherwise a runtime exception will be -/// thrown. +/// `ssoAddCertDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_slack_share_details". +/// "sso_add_cert_details". /// -- (BOOL)isPaperDocSlackShareDetails; +- (BOOL)isSsoAddCertDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_team_invite_details". +/// "sso_add_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocTeamInviteDetails` property, otherwise a runtime exception will be +/// `ssoAddLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_team_invite_details". +/// "sso_add_login_url_details". /// -- (BOOL)isPaperDocTeamInviteDetails; +- (BOOL)isSsoAddLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_trashed_details". +/// "sso_add_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocTrashedDetails` property, otherwise a runtime exception will be +/// `ssoAddLogoutUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_trashed_details". +/// "sso_add_logout_url_details". /// -- (BOOL)isPaperDocTrashedDetails; +- (BOOL)isSsoAddLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_unresolve_comment_details". +/// "sso_change_cert_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocUnresolveCommentDetails` property, otherwise a runtime exception -/// will be thrown. +/// `ssoChangeCertDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_unresolve_comment_details". +/// "sso_change_cert_details". /// -- (BOOL)isPaperDocUnresolveCommentDetails; +- (BOOL)isSsoChangeCertDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_untrashed_details". +/// "sso_change_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocUntrashedDetails` property, otherwise a runtime exception will be +/// `ssoChangeLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_untrashed_details". +/// "sso_change_login_url_details". /// -- (BOOL)isPaperDocUntrashedDetails; +- (BOOL)isSsoChangeLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_view_details". +/// "sso_change_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperDocViewDetails` property, otherwise a runtime exception will be +/// `ssoChangeLogoutUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_view_details". +/// "sso_change_logout_url_details". /// -- (BOOL)isPaperDocViewDetails; +- (BOOL)isSsoChangeLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_change_subscription_details". +/// "sso_change_saml_identity_mode_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperFolderChangeSubscriptionDetails` property, otherwise a runtime -/// exception will be thrown. +/// `ssoChangeSamlIdentityModeDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_change_subscription_details". +/// "sso_change_saml_identity_mode_details". /// -- (BOOL)isPaperFolderChangeSubscriptionDetails; +- (BOOL)isSsoChangeSamlIdentityModeDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_deleted_details". +/// "sso_remove_cert_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperFolderDeletedDetails` property, otherwise a runtime exception will be +/// `ssoRemoveCertDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_deleted_details". +/// "sso_remove_cert_details". /// -- (BOOL)isPaperFolderDeletedDetails; +- (BOOL)isSsoRemoveCertDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_followed_details". +/// "sso_remove_login_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperFolderFollowedDetails` property, otherwise a runtime exception will be +/// `ssoRemoveLoginUrlDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_followed_details". +/// "sso_remove_login_url_details". /// -- (BOOL)isPaperFolderFollowedDetails; +- (BOOL)isSsoRemoveLoginUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_team_invite_details". +/// "sso_remove_logout_url_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperFolderTeamInviteDetails` property, otherwise a runtime exception will -/// be thrown. +/// `ssoRemoveLogoutUrlDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_team_invite_details". +/// "sso_remove_logout_url_details". /// -- (BOOL)isPaperFolderTeamInviteDetails; +- (BOOL)isSsoRemoveLogoutUrlDetails; /// /// Retrieves whether the union's current tag state has value -/// "password_change_details". +/// "team_folder_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `passwordChangeDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamFolderChangeStatusDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "password_change_details". +/// "team_folder_change_status_details". /// -- (BOOL)isPasswordChangeDetails; +- (BOOL)isTeamFolderChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value -/// "password_reset_details". +/// "team_folder_create_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `passwordResetDetails` property, otherwise a runtime exception will be +/// `teamFolderCreateDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "password_reset_details". +/// "team_folder_create_details". /// -- (BOOL)isPasswordResetDetails; +- (BOOL)isTeamFolderCreateDetails; /// /// Retrieves whether the union's current tag state has value -/// "password_reset_all_details". +/// "team_folder_downgrade_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `passwordResetAllDetails` property, otherwise a runtime exception will be +/// `teamFolderDowngradeDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "password_reset_all_details". +/// "team_folder_downgrade_details". /// -- (BOOL)isPasswordResetAllDetails; +- (BOOL)isTeamFolderDowngradeDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_create_exceptions_report_details". +/// "team_folder_permanently_delete_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmCreateExceptionsReportDetails` property, otherwise a runtime exception +/// `teamFolderPermanentlyDeleteDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_create_exceptions_report_details". +/// "team_folder_permanently_delete_details". /// -- (BOOL)isEmmCreateExceptionsReportDetails; +- (BOOL)isTeamFolderPermanentlyDeleteDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_create_usage_report_details". +/// "team_folder_rename_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmCreateUsageReportDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamFolderRenameDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "emm_create_usage_report_details". +/// "team_folder_rename_details". /// -- (BOOL)isEmmCreateUsageReportDetails; +- (BOOL)isTeamFolderRenameDetails; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_create_admin_privilege_report_details". +/// "team_selective_sync_settings_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `smartSyncCreateAdminPrivilegeReportDetails` property, otherwise a runtime +/// `teamSelectiveSyncSettingsChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_create_admin_privilege_report_details". +/// "team_selective_sync_settings_changed_details". /// -- (BOOL)isSmartSyncCreateAdminPrivilegeReportDetails; +- (BOOL)isTeamSelectiveSyncSettingsChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_activity_create_report_details". +/// "account_capture_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamActivityCreateReportDetails` property, otherwise a runtime exception +/// `accountCaptureChangePolicyDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_activity_create_report_details". +/// "account_capture_change_policy_details". /// -- (BOOL)isTeamActivityCreateReportDetails; +- (BOOL)isAccountCaptureChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "collection_share_details". +/// "admin_email_reminders_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `collectionShareDetails` property, otherwise a runtime exception will be -/// thrown. +/// `adminEmailRemindersChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "collection_share_details". +/// "admin_email_reminders_changed_details". /// -- (BOOL)isCollectionShareDetails; +- (BOOL)isAdminEmailRemindersChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "note_acl_invite_only_details". +/// "allow_download_disabled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `noteAclInviteOnlyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `allowDownloadDisabledDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "note_acl_invite_only_details". +/// "allow_download_disabled_details". /// -- (BOOL)isNoteAclInviteOnlyDetails; +- (BOOL)isAllowDownloadDisabledDetails; /// /// Retrieves whether the union's current tag state has value -/// "note_acl_link_details". +/// "allow_download_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `noteAclLinkDetails` property, otherwise a runtime exception will be thrown. +/// `allowDownloadEnabledDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "note_acl_link_details". +/// "allow_download_enabled_details". /// -- (BOOL)isNoteAclLinkDetails; +- (BOOL)isAllowDownloadEnabledDetails; /// /// Retrieves whether the union's current tag state has value -/// "note_acl_team_link_details". +/// "app_permissions_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `noteAclTeamLinkDetails` property, otherwise a runtime exception will be -/// thrown. +/// `appPermissionsChangedDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "note_acl_team_link_details". +/// "app_permissions_changed_details". /// -- (BOOL)isNoteAclTeamLinkDetails; +- (BOOL)isAppPermissionsChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "note_shared_details". +/// "camera_uploads_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `noteSharedDetails` property, otherwise a runtime exception will be thrown. +/// `cameraUploadsPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "note_shared_details". +/// "camera_uploads_policy_changed_details". /// -- (BOOL)isNoteSharedDetails; +- (BOOL)isCameraUploadsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "note_share_receive_details". +/// "capture_transcript_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `noteShareReceiveDetails` property, otherwise a runtime exception will be -/// thrown. +/// `captureTranscriptPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "note_share_receive_details". +/// "capture_transcript_policy_changed_details". /// -- (BOOL)isNoteShareReceiveDetails; +- (BOOL)isCaptureTranscriptPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "open_note_shared_details". +/// "classification_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `openNoteSharedDetails` property, otherwise a runtime exception will be -/// thrown. +/// `classificationChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "open_note_shared_details". +/// "classification_change_policy_details". /// -- (BOOL)isOpenNoteSharedDetails; +- (BOOL)isClassificationChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_add_group_details". +/// "computer_backup_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfAddGroupDetails` property, otherwise a runtime exception will be thrown. +/// `computerBackupPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_add_group_details". +/// "computer_backup_policy_changed_details". /// -- (BOOL)isSfAddGroupDetails; +- (BOOL)isComputerBackupPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_allow_non_members_to_view_shared_links_details". +/// "content_administration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfAllowNonMembersToViewSharedLinksDetails` property, otherwise a runtime +/// `contentAdministrationPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_allow_non_members_to_view_shared_links_details". +/// "content_administration_policy_changed_details". /// -- (BOOL)isSfAllowNonMembersToViewSharedLinksDetails; +- (BOOL)isContentAdministrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_invite_group_details". +/// "data_placement_restriction_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfInviteGroupDetails` property, otherwise a runtime exception will be -/// thrown. +/// `dataPlacementRestrictionChangePolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_invite_group_details". +/// "data_placement_restriction_change_policy_details". /// -- (BOOL)isSfInviteGroupDetails; +- (BOOL)isDataPlacementRestrictionChangePolicyDetails; /// -/// Retrieves whether the union's current tag state has value "sf_nest_details". +/// Retrieves whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfNestDetails` property, otherwise a runtime exception will be thrown. +/// `dataPlacementRestrictionSatisfyPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "sf_nest_details". +/// @return Whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy_details". /// -- (BOOL)isSfNestDetails; +- (BOOL)isDataPlacementRestrictionSatisfyPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_decline_details". +/// "device_approvals_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamDeclineDetails` property, otherwise a runtime exception will be -/// thrown. +/// `deviceApprovalsAddExceptionDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_decline_details". +/// "device_approvals_add_exception_details". /// -- (BOOL)isSfTeamDeclineDetails; +- (BOOL)isDeviceApprovalsAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_grant_access_details". +/// "device_approvals_change_desktop_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamGrantAccessDetails` property, otherwise a runtime exception will be -/// thrown. +/// `deviceApprovalsChangeDesktopPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_grant_access_details". +/// "device_approvals_change_desktop_policy_details". /// -- (BOOL)isSfTeamGrantAccessDetails; +- (BOOL)isDeviceApprovalsChangeDesktopPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_invite_details". +/// "device_approvals_change_mobile_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamInviteDetails` property, otherwise a runtime exception will be -/// thrown. +/// `deviceApprovalsChangeMobilePolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_invite_details". +/// "device_approvals_change_mobile_policy_details". /// -- (BOOL)isSfTeamInviteDetails; +- (BOOL)isDeviceApprovalsChangeMobilePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_invite_change_role_details". +/// "device_approvals_change_overage_action_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamInviteChangeRoleDetails` property, otherwise a runtime exception will -/// be thrown. +/// `deviceApprovalsChangeOverageActionDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_invite_change_role_details". +/// "device_approvals_change_overage_action_details". /// -- (BOOL)isSfTeamInviteChangeRoleDetails; +- (BOOL)isDeviceApprovalsChangeOverageActionDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_join_details". +/// "device_approvals_change_unlink_action_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamJoinDetails` property, otherwise a runtime exception will be thrown. +/// `deviceApprovalsChangeUnlinkActionDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_join_details". +/// "device_approvals_change_unlink_action_details". /// -- (BOOL)isSfTeamJoinDetails; +- (BOOL)isDeviceApprovalsChangeUnlinkActionDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_join_from_oob_link_details". +/// "device_approvals_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamJoinFromOobLinkDetails` property, otherwise a runtime exception will -/// be thrown. +/// `deviceApprovalsRemoveExceptionDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_join_from_oob_link_details". +/// "device_approvals_remove_exception_details". /// -- (BOOL)isSfTeamJoinFromOobLinkDetails; +- (BOOL)isDeviceApprovalsRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_uninvite_details". +/// "directory_restrictions_add_members_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sfTeamUninviteDetails` property, otherwise a runtime exception will be -/// thrown. +/// `directoryRestrictionsAddMembersDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_uninvite_details". +/// "directory_restrictions_add_members_details". /// -- (BOOL)isSfTeamUninviteDetails; +- (BOOL)isDirectoryRestrictionsAddMembersDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_invitees_details". +/// "directory_restrictions_remove_members_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentAddInviteesDetails` property, otherwise a runtime exception -/// will be thrown. +/// `directoryRestrictionsRemoveMembersDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_invitees_details". +/// "directory_restrictions_remove_members_details". /// -- (BOOL)isSharedContentAddInviteesDetails; +- (BOOL)isDirectoryRestrictionsRemoveMembersDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_link_expiry_details". +/// "dropbox_passwords_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentAddLinkExpiryDetails` property, otherwise a runtime exception -/// will be thrown. +/// `dropboxPasswordsPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_link_expiry_details". +/// "dropbox_passwords_policy_changed_details". /// -- (BOOL)isSharedContentAddLinkExpiryDetails; +- (BOOL)isDropboxPasswordsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_link_password_details". +/// "email_ingest_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentAddLinkPasswordDetails` property, otherwise a runtime -/// exception will be thrown. +/// `emailIngestPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_link_password_details". +/// "email_ingest_policy_changed_details". /// -- (BOOL)isSharedContentAddLinkPasswordDetails; +- (BOOL)isEmailIngestPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_member_details". +/// "emm_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentAddMemberDetails` property, otherwise a runtime exception will -/// be thrown. +/// `emmAddExceptionDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_member_details". +/// "emm_add_exception_details". /// -- (BOOL)isSharedContentAddMemberDetails; +- (BOOL)isEmmAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_downloads_policy_details". +/// "emm_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeDownloadsPolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `emmChangePolicyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_downloads_policy_details". +/// "emm_change_policy_details". /// -- (BOOL)isSharedContentChangeDownloadsPolicyDetails; +- (BOOL)isEmmChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_invitee_role_details". +/// "emm_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeInviteeRoleDetails` property, otherwise a runtime -/// exception will be thrown. +/// `emmRemoveExceptionDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_invitee_role_details". +/// "emm_remove_exception_details". /// -- (BOOL)isSharedContentChangeInviteeRoleDetails; +- (BOOL)isEmmRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_audience_details". +/// "extended_version_history_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeLinkAudienceDetails` property, otherwise a runtime +/// `extendedVersionHistoryChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_audience_details". +/// "extended_version_history_change_policy_details". /// -- (BOOL)isSharedContentChangeLinkAudienceDetails; +- (BOOL)isExtendedVersionHistoryChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_expiry_details". +/// "external_drive_backup_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeLinkExpiryDetails` property, otherwise a runtime +/// `externalDriveBackupPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_expiry_details". +/// "external_drive_backup_policy_changed_details". /// -- (BOOL)isSharedContentChangeLinkExpiryDetails; +- (BOOL)isExternalDriveBackupPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_password_details". +/// "file_comments_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeLinkPasswordDetails` property, otherwise a runtime -/// exception will be thrown. +/// `fileCommentsChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_password_details". +/// "file_comments_change_policy_details". /// -- (BOOL)isSharedContentChangeLinkPasswordDetails; +- (BOOL)isFileCommentsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_member_role_details". +/// "file_locking_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeMemberRoleDetails` property, otherwise a runtime -/// exception will be thrown. +/// `fileLockingPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_member_role_details". +/// "file_locking_policy_changed_details". /// -- (BOOL)isSharedContentChangeMemberRoleDetails; +- (BOOL)isFileLockingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_viewer_info_policy_details". +/// "file_provider_migration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentChangeViewerInfoPolicyDetails` property, otherwise a runtime +/// `fileProviderMigrationPolicyChangedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_viewer_info_policy_details". +/// "file_provider_migration_policy_changed_details". /// -- (BOOL)isSharedContentChangeViewerInfoPolicyDetails; +- (BOOL)isFileProviderMigrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_claim_invitation_details". +/// "file_requests_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentClaimInvitationDetails` property, otherwise a runtime -/// exception will be thrown. +/// `fileRequestsChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_claim_invitation_details". +/// "file_requests_change_policy_details". /// -- (BOOL)isSharedContentClaimInvitationDetails; +- (BOOL)isFileRequestsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_copy_details". +/// "file_requests_emails_enabled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentCopyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `fileRequestsEmailsEnabledDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_copy_details". +/// "file_requests_emails_enabled_details". /// -- (BOOL)isSharedContentCopyDetails; +- (BOOL)isFileRequestsEmailsEnabledDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_download_details". +/// "file_requests_emails_restricted_to_team_only_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentDownloadDetails` property, otherwise a runtime exception will -/// be thrown. +/// `fileRequestsEmailsRestrictedToTeamOnlyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_download_details". +/// "file_requests_emails_restricted_to_team_only_details". /// -- (BOOL)isSharedContentDownloadDetails; +- (BOOL)isFileRequestsEmailsRestrictedToTeamOnlyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_relinquish_membership_details". +/// "file_transfers_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRelinquishMembershipDetails` property, otherwise a runtime -/// exception will be thrown. +/// `fileTransfersPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_relinquish_membership_details". +/// "file_transfers_policy_changed_details". /// -- (BOOL)isSharedContentRelinquishMembershipDetails; +- (BOOL)isFileTransfersPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_invitee_details". +/// "folder_link_restriction_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRemoveInviteeDetails` property, otherwise a runtime exception -/// will be thrown. +/// `folderLinkRestrictionPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_invitee_details". +/// "folder_link_restriction_policy_changed_details". /// -- (BOOL)isSharedContentRemoveInviteeDetails; +- (BOOL)isFolderLinkRestrictionPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_link_expiry_details". +/// "google_sso_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRemoveLinkExpiryDetails` property, otherwise a runtime -/// exception will be thrown. +/// `googleSsoChangePolicyDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_link_expiry_details". +/// "google_sso_change_policy_details". /// -- (BOOL)isSharedContentRemoveLinkExpiryDetails; +- (BOOL)isGoogleSsoChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_link_password_details". +/// "group_user_management_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRemoveLinkPasswordDetails` property, otherwise a runtime +/// `groupUserManagementChangePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_link_password_details". +/// "group_user_management_change_policy_details". /// -- (BOOL)isSharedContentRemoveLinkPasswordDetails; +- (BOOL)isGroupUserManagementChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_member_details". +/// "integration_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRemoveMemberDetails` property, otherwise a runtime exception +/// `integrationPolicyChangedDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_member_details". +/// "integration_policy_changed_details". /// -- (BOOL)isSharedContentRemoveMemberDetails; +- (BOOL)isIntegrationPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_request_access_details". +/// "invite_acceptance_email_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentRequestAccessDetails` property, otherwise a runtime exception -/// will be thrown. +/// `inviteAcceptanceEmailPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_request_access_details". +/// "invite_acceptance_email_policy_changed_details". /// -- (BOOL)isSharedContentRequestAccessDetails; +- (BOOL)isInviteAcceptanceEmailPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_unshare_details". +/// "member_requests_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentUnshareDetails` property, otherwise a runtime exception will -/// be thrown. +/// `memberRequestsChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_unshare_details". +/// "member_requests_change_policy_details". /// -- (BOOL)isSharedContentUnshareDetails; +- (BOOL)isMemberRequestsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_view_details". +/// "member_send_invite_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedContentViewDetails` property, otherwise a runtime exception will be -/// thrown. +/// `memberSendInvitePolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_view_details". +/// "member_send_invite_policy_changed_details". /// -- (BOOL)isSharedContentViewDetails; +- (BOOL)isMemberSendInvitePolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_confidentiality_details". +/// "member_space_limits_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderChangeConfidentialityDetails` property, otherwise a runtime +/// `memberSpaceLimitsAddExceptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_confidentiality_details". +/// "member_space_limits_add_exception_details". /// -- (BOOL)isSharedFolderChangeConfidentialityDetails; +- (BOOL)isMemberSpaceLimitsAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_link_policy_details". +/// "member_space_limits_change_caps_type_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderChangeLinkPolicyDetails` property, otherwise a runtime +/// `memberSpaceLimitsChangeCapsTypePolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_link_policy_details". +/// "member_space_limits_change_caps_type_policy_details". /// -- (BOOL)isSharedFolderChangeLinkPolicyDetails; +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_member_management_policy_details". +/// "member_space_limits_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderChangeMemberManagementPolicyDetails` property, otherwise a -/// runtime exception will be thrown. +/// `memberSpaceLimitsChangePolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_member_management_policy_details". +/// "member_space_limits_change_policy_details". /// -- (BOOL)isSharedFolderChangeMemberManagementPolicyDetails; +- (BOOL)isMemberSpaceLimitsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_member_policy_details". +/// "member_space_limits_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderChangeMemberPolicyDetails` property, otherwise a runtime +/// `memberSpaceLimitsRemoveExceptionDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_member_policy_details". +/// "member_space_limits_remove_exception_details". /// -- (BOOL)isSharedFolderChangeMemberPolicyDetails; +- (BOOL)isMemberSpaceLimitsRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_create_details". +/// "member_suggestions_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderCreateDetails` property, otherwise a runtime exception will be -/// thrown. +/// `memberSuggestionsChangePolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_create_details". +/// "member_suggestions_change_policy_details". /// -- (BOOL)isSharedFolderCreateDetails; +- (BOOL)isMemberSuggestionsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_mount_details". +/// "microsoft_office_addin_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderMountDetails` property, otherwise a runtime exception will be -/// thrown. +/// `microsoftOfficeAddinChangePolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_mount_details". +/// "microsoft_office_addin_change_policy_details". /// -- (BOOL)isSharedFolderMountDetails; +- (BOOL)isMicrosoftOfficeAddinChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_transfer_ownership_details". +/// "network_control_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderTransferOwnershipDetails` property, otherwise a runtime -/// exception will be thrown. +/// `networkControlChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_transfer_ownership_details". +/// "network_control_change_policy_details". /// -- (BOOL)isSharedFolderTransferOwnershipDetails; +- (BOOL)isNetworkControlChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_unmount_details". +/// "paper_change_deployment_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedFolderUnmountDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperChangeDeploymentPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_unmount_details". +/// "paper_change_deployment_policy_details". /// -- (BOOL)isSharedFolderUnmountDetails; +- (BOOL)isPaperChangeDeploymentPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shared_note_opened_details". +/// "paper_change_member_link_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharedNoteOpenedDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperChangeMemberLinkPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_note_opened_details". +/// "paper_change_member_link_policy_details". /// -- (BOOL)isSharedNoteOpenedDetails; +- (BOOL)isPaperChangeMemberLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_app_create_details". +/// "paper_change_member_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelAppCreateDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperChangeMemberPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_app_create_details". +/// "paper_change_member_policy_details". /// -- (BOOL)isShmodelAppCreateDetails; +- (BOOL)isPaperChangeMemberPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_create_details". +/// "paper_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelCreateDetails` property, otherwise a runtime exception will be +/// `paperChangePolicyDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_create_details". +/// "paper_change_policy_details". /// -- (BOOL)isShmodelCreateDetails; +- (BOOL)isPaperChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_disable_details". +/// "paper_default_folder_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelDisableDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperDefaultFolderPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_disable_details". +/// "paper_default_folder_policy_changed_details". /// -- (BOOL)isShmodelDisableDetails; +- (BOOL)isPaperDefaultFolderPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_fb_share_details". +/// "paper_desktop_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelFbShareDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperDesktopPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_fb_share_details". +/// "paper_desktop_policy_changed_details". /// -- (BOOL)isShmodelFbShareDetails; +- (BOOL)isPaperDesktopPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_group_share_details". +/// "paper_enabled_users_group_addition_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelGroupShareDetails` property, otherwise a runtime exception will be -/// thrown. +/// `paperEnabledUsersGroupAdditionDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_group_share_details". +/// "paper_enabled_users_group_addition_details". /// -- (BOOL)isShmodelGroupShareDetails; +- (BOOL)isPaperEnabledUsersGroupAdditionDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_remove_expiration_details". +/// "paper_enabled_users_group_removal_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelRemoveExpirationDetails` property, otherwise a runtime exception -/// will be thrown. +/// `paperEnabledUsersGroupRemovalDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_remove_expiration_details". +/// "paper_enabled_users_group_removal_details". /// -- (BOOL)isShmodelRemoveExpirationDetails; +- (BOOL)isPaperEnabledUsersGroupRemovalDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_set_expiration_details". +/// "password_strength_requirements_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelSetExpirationDetails` property, otherwise a runtime exception will -/// be thrown. +/// `passwordStrengthRequirementsChangePolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_set_expiration_details". +/// "password_strength_requirements_change_policy_details". /// -- (BOOL)isShmodelSetExpirationDetails; +- (BOOL)isPasswordStrengthRequirementsChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_copy_details". +/// "permanent_delete_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelTeamCopyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `permanentDeleteChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_copy_details". +/// "permanent_delete_change_policy_details". /// -- (BOOL)isShmodelTeamCopyDetails; +- (BOOL)isPermanentDeleteChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_download_details". +/// "reseller_support_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelTeamDownloadDetails` property, otherwise a runtime exception will be -/// thrown. +/// `resellerSupportChangePolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_download_details". +/// "reseller_support_change_policy_details". /// -- (BOOL)isShmodelTeamDownloadDetails; +- (BOOL)isResellerSupportChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_share_details". +/// "rewind_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelTeamShareDetails` property, otherwise a runtime exception will be +/// `rewindPolicyChangedDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_share_details". +/// "rewind_policy_changed_details". /// -- (BOOL)isShmodelTeamShareDetails; +- (BOOL)isRewindPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_view_details". +/// "send_for_signature_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelTeamViewDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sendForSignaturePolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_view_details". +/// "send_for_signature_policy_changed_details". /// -- (BOOL)isShmodelTeamViewDetails; +- (BOOL)isSendForSignaturePolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_password_details". +/// "sharing_change_folder_join_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelVisibilityPasswordDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharingChangeFolderJoinPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_password_details". +/// "sharing_change_folder_join_policy_details". /// -- (BOOL)isShmodelVisibilityPasswordDetails; +- (BOOL)isSharingChangeFolderJoinPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_public_details". +/// "sharing_change_link_allow_change_expiration_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelVisibilityPublicDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharingChangeLinkAllowChangeExpirationPolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_public_details". +/// "sharing_change_link_allow_change_expiration_policy_details". /// -- (BOOL)isShmodelVisibilityPublicDetails; +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_team_only_details". +/// "sharing_change_link_default_expiration_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `shmodelVisibilityTeamOnlyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `sharingChangeLinkDefaultExpirationPolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_team_only_details". +/// "sharing_change_link_default_expiration_policy_details". /// -- (BOOL)isShmodelVisibilityTeamOnlyDetails; +- (BOOL)isSharingChangeLinkDefaultExpirationPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_add_cert_details". +/// "sharing_change_link_enforce_password_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoAddCertDetails` property, otherwise a runtime exception will be thrown. +/// `sharingChangeLinkEnforcePasswordPolicyDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_add_cert_details". +/// "sharing_change_link_enforce_password_policy_details". /// -- (BOOL)isSsoAddCertDetails; +- (BOOL)isSharingChangeLinkEnforcePasswordPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_add_login_url_details". +/// "sharing_change_link_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoAddLoginUrlDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharingChangeLinkPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_add_login_url_details". +/// "sharing_change_link_policy_details". /// -- (BOOL)isSsoAddLoginUrlDetails; +- (BOOL)isSharingChangeLinkPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_add_logout_url_details". +/// "sharing_change_member_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoAddLogoutUrlDetails` property, otherwise a runtime exception will be -/// thrown. +/// `sharingChangeMemberPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_add_logout_url_details". +/// "sharing_change_member_policy_details". /// -- (BOOL)isSsoAddLogoutUrlDetails; +- (BOOL)isSharingChangeMemberPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_cert_details". +/// "showcase_change_download_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoChangeCertDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseChangeDownloadPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_cert_details". +/// "showcase_change_download_policy_details". /// -- (BOOL)isSsoChangeCertDetails; +- (BOOL)isShowcaseChangeDownloadPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_login_url_details". +/// "showcase_change_enabled_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoChangeLoginUrlDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseChangeEnabledPolicyDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_login_url_details". +/// "showcase_change_enabled_policy_details". /// -- (BOOL)isSsoChangeLoginUrlDetails; +- (BOOL)isShowcaseChangeEnabledPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_logout_url_details". +/// "showcase_change_external_sharing_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoChangeLogoutUrlDetails` property, otherwise a runtime exception will be -/// thrown. +/// `showcaseChangeExternalSharingPolicyDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_logout_url_details". +/// "showcase_change_external_sharing_policy_details". /// -- (BOOL)isSsoChangeLogoutUrlDetails; +- (BOOL)isShowcaseChangeExternalSharingPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_saml_identity_mode_details". +/// "smarter_smart_sync_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoChangeSamlIdentityModeDetails` property, otherwise a runtime exception -/// will be thrown. +/// `smarterSmartSyncPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_saml_identity_mode_details". +/// "smarter_smart_sync_policy_changed_details". /// -- (BOOL)isSsoChangeSamlIdentityModeDetails; +- (BOOL)isSmarterSmartSyncPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_remove_cert_details". +/// "smart_sync_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoRemoveCertDetails` property, otherwise a runtime exception will be -/// thrown. +/// `smartSyncChangePolicyDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_remove_cert_details". +/// "smart_sync_change_policy_details". /// -- (BOOL)isSsoRemoveCertDetails; +- (BOOL)isSmartSyncChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_remove_login_url_details". +/// "smart_sync_not_opt_out_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoRemoveLoginUrlDetails` property, otherwise a runtime exception will be +/// `smartSyncNotOptOutDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "sso_remove_login_url_details". +/// "smart_sync_not_opt_out_details". /// -- (BOOL)isSsoRemoveLoginUrlDetails; +- (BOOL)isSmartSyncNotOptOutDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_remove_logout_url_details". +/// "smart_sync_opt_out_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoRemoveLogoutUrlDetails` property, otherwise a runtime exception will be +/// `smartSyncOptOutDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "sso_remove_logout_url_details". +/// "smart_sync_opt_out_details". /// -- (BOOL)isSsoRemoveLogoutUrlDetails; +- (BOOL)isSmartSyncOptOutDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_change_status_details". +/// "sso_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamFolderChangeStatusDetails` property, otherwise a runtime exception will -/// be thrown. +/// `ssoChangePolicyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_change_status_details". +/// "sso_change_policy_details". /// -- (BOOL)isTeamFolderChangeStatusDetails; +- (BOOL)isSsoChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_create_details". +/// "team_branding_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamFolderCreateDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamBrandingPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_create_details". +/// "team_branding_policy_changed_details". /// -- (BOOL)isTeamFolderCreateDetails; +- (BOOL)isTeamBrandingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_downgrade_details". +/// "team_extensions_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamFolderDowngradeDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamExtensionsPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_downgrade_details". +/// "team_extensions_policy_changed_details". /// -- (BOOL)isTeamFolderDowngradeDetails; +- (BOOL)isTeamExtensionsPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_permanently_delete_details". +/// "team_selective_sync_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamFolderPermanentlyDeleteDetails` property, otherwise a runtime exception -/// will be thrown. +/// `teamSelectiveSyncPolicyChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_permanently_delete_details". +/// "team_selective_sync_policy_changed_details". /// -- (BOOL)isTeamFolderPermanentlyDeleteDetails; +- (BOOL)isTeamSelectiveSyncPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_rename_details". +/// "team_sharing_whitelist_subjects_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamFolderRenameDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamSharingWhitelistSubjectsChangedDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_rename_details". +/// "team_sharing_whitelist_subjects_changed_details". /// -- (BOOL)isTeamFolderRenameDetails; +- (BOOL)isTeamSharingWhitelistSubjectsChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_change_policy_details". +/// "tfa_add_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `accountCaptureChangePolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `tfaAddExceptionDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_change_policy_details". +/// "tfa_add_exception_details". /// -- (BOOL)isAccountCaptureChangePolicyDetails; +- (BOOL)isTfaAddExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "allow_download_disabled_details". +/// "tfa_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `allowDownloadDisabledDetails` property, otherwise a runtime exception will -/// be thrown. +/// `tfaChangePolicyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "allow_download_disabled_details". +/// "tfa_change_policy_details". /// -- (BOOL)isAllowDownloadDisabledDetails; +- (BOOL)isTfaChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "allow_download_enabled_details". +/// "tfa_remove_exception_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `allowDownloadEnabledDetails` property, otherwise a runtime exception will -/// be thrown. +/// `tfaRemoveExceptionDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "allow_download_enabled_details". +/// "tfa_remove_exception_details". /// -- (BOOL)isAllowDownloadEnabledDetails; +- (BOOL)isTfaRemoveExceptionDetails; /// /// Retrieves whether the union's current tag state has value -/// "data_placement_restriction_change_policy_details". +/// "two_account_change_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `dataPlacementRestrictionChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `twoAccountChangePolicyDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "data_placement_restriction_change_policy_details". +/// "two_account_change_policy_details". /// -- (BOOL)isDataPlacementRestrictionChangePolicyDetails; +- (BOOL)isTwoAccountChangePolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "data_placement_restriction_satisfy_policy_details". +/// "viewer_info_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `dataPlacementRestrictionSatisfyPolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `viewerInfoPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "data_placement_restriction_satisfy_policy_details". +/// "viewer_info_policy_changed_details". /// -- (BOOL)isDataPlacementRestrictionSatisfyPolicyDetails; +- (BOOL)isViewerInfoPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_desktop_policy_details". +/// "watermarking_policy_changed_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceApprovalsChangeDesktopPolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `watermarkingPolicyChangedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_desktop_policy_details". +/// "watermarking_policy_changed_details". /// -- (BOOL)isDeviceApprovalsChangeDesktopPolicyDetails; +- (BOOL)isWatermarkingPolicyChangedDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_mobile_policy_details". +/// "web_sessions_change_active_session_limit_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceApprovalsChangeMobilePolicyDetails` property, otherwise a runtime +/// `webSessionsChangeActiveSessionLimitDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_mobile_policy_details". +/// "web_sessions_change_active_session_limit_details". /// -- (BOOL)isDeviceApprovalsChangeMobilePolicyDetails; +- (BOOL)isWebSessionsChangeActiveSessionLimitDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_overage_action_details". +/// "web_sessions_change_fixed_length_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceApprovalsChangeOverageActionDetails` property, otherwise a runtime +/// `webSessionsChangeFixedLengthPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_overage_action_details". +/// "web_sessions_change_fixed_length_policy_details". /// -- (BOOL)isDeviceApprovalsChangeOverageActionDetails; +- (BOOL)isWebSessionsChangeFixedLengthPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_unlink_action_details". +/// "web_sessions_change_idle_length_policy_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `deviceApprovalsChangeUnlinkActionDetails` property, otherwise a runtime +/// `webSessionsChangeIdleLengthPolicyDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_unlink_action_details". +/// "web_sessions_change_idle_length_policy_details". /// -- (BOOL)isDeviceApprovalsChangeUnlinkActionDetails; +- (BOOL)isWebSessionsChangeIdleLengthPolicyDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_add_exception_details". +/// "data_residency_migration_request_successful_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmAddExceptionDetails` property, otherwise a runtime exception will be -/// thrown. +/// `dataResidencyMigrationRequestSuccessfulDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_add_exception_details". +/// "data_residency_migration_request_successful_details". /// -- (BOOL)isEmmAddExceptionDetails; +- (BOOL)isDataResidencyMigrationRequestSuccessfulDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_change_policy_details". +/// "data_residency_migration_request_unsuccessful_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmChangePolicyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `dataResidencyMigrationRequestUnsuccessfulDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_change_policy_details". +/// "data_residency_migration_request_unsuccessful_details". /// -- (BOOL)isEmmChangePolicyDetails; +- (BOOL)isDataResidencyMigrationRequestUnsuccessfulDetails; /// /// Retrieves whether the union's current tag state has value -/// "emm_remove_exception_details". +/// "team_merge_from_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `emmRemoveExceptionDetails` property, otherwise a runtime exception will be +/// `teamMergeFromDetails` property, otherwise a runtime exception will be /// thrown. /// /// @return Whether the union's current tag state has value -/// "emm_remove_exception_details". +/// "team_merge_from_details". /// -- (BOOL)isEmmRemoveExceptionDetails; +- (BOOL)isTeamMergeFromDetails; /// /// Retrieves whether the union's current tag state has value -/// "extended_version_history_change_policy_details". +/// "team_merge_to_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `extendedVersionHistoryChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamMergeToDetails` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "extended_version_history_change_policy_details". +/// "team_merge_to_details". /// -- (BOOL)isExtendedVersionHistoryChangePolicyDetails; +- (BOOL)isTeamMergeToDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_comments_change_policy_details". +/// "team_profile_add_background_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileCommentsChangePolicyDetails` property, otherwise a runtime exception +/// `teamProfileAddBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_comments_change_policy_details". +/// "team_profile_add_background_details". /// -- (BOOL)isFileCommentsChangePolicyDetails; +- (BOOL)isTeamProfileAddBackgroundDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_change_policy_details". +/// "team_profile_add_logo_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestsChangePolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `teamProfileAddLogoDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_change_policy_details". +/// "team_profile_add_logo_details". /// -- (BOOL)isFileRequestsChangePolicyDetails; +- (BOOL)isTeamProfileAddLogoDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_emails_enabled_details". +/// "team_profile_change_background_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestsEmailsEnabledDetails` property, otherwise a runtime exception +/// `teamProfileChangeBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_emails_enabled_details". +/// "team_profile_change_background_details". /// -- (BOOL)isFileRequestsEmailsEnabledDetails; +- (BOOL)isTeamProfileChangeBackgroundDetails; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_emails_restricted_to_team_only_details". +/// "team_profile_change_default_language_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `fileRequestsEmailsRestrictedToTeamOnlyDetails` property, otherwise a -/// runtime exception will be thrown. +/// `teamProfileChangeDefaultLanguageDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_emails_restricted_to_team_only_details". +/// "team_profile_change_default_language_details". /// -- (BOOL)isFileRequestsEmailsRestrictedToTeamOnlyDetails; +- (BOOL)isTeamProfileChangeDefaultLanguageDetails; /// /// Retrieves whether the union's current tag state has value -/// "google_sso_change_policy_details". +/// "team_profile_change_logo_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `googleSsoChangePolicyDetails` property, otherwise a runtime exception will +/// `teamProfileChangeLogoDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "google_sso_change_policy_details". +/// "team_profile_change_logo_details". /// -- (BOOL)isGoogleSsoChangePolicyDetails; +- (BOOL)isTeamProfileChangeLogoDetails; /// /// Retrieves whether the union's current tag state has value -/// "group_user_management_change_policy_details". +/// "team_profile_change_name_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `groupUserManagementChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamProfileChangeNameDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "group_user_management_change_policy_details". +/// "team_profile_change_name_details". /// -- (BOOL)isGroupUserManagementChangePolicyDetails; +- (BOOL)isTeamProfileChangeNameDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_requests_change_policy_details". +/// "team_profile_remove_background_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberRequestsChangePolicyDetails` property, otherwise a runtime exception +/// `teamProfileRemoveBackgroundDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_requests_change_policy_details". +/// "team_profile_remove_background_details". /// -- (BOOL)isMemberRequestsChangePolicyDetails; +- (BOOL)isTeamProfileRemoveBackgroundDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_add_exception_details". +/// "team_profile_remove_logo_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSpaceLimitsAddExceptionDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamProfileRemoveLogoDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_add_exception_details". +/// "team_profile_remove_logo_details". /// -- (BOOL)isMemberSpaceLimitsAddExceptionDetails; +- (BOOL)isTeamProfileRemoveLogoDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_change_policy_details". +/// "tfa_add_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSpaceLimitsChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `tfaAddBackupPhoneDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_change_policy_details". +/// "tfa_add_backup_phone_details". /// -- (BOOL)isMemberSpaceLimitsChangePolicyDetails; +- (BOOL)isTfaAddBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_remove_exception_details". +/// "tfa_add_security_key_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSpaceLimitsRemoveExceptionDetails` property, otherwise a runtime -/// exception will be thrown. +/// `tfaAddSecurityKeyDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_remove_exception_details". +/// "tfa_add_security_key_details". /// -- (BOOL)isMemberSpaceLimitsRemoveExceptionDetails; +- (BOOL)isTfaAddSecurityKeyDetails; /// /// Retrieves whether the union's current tag state has value -/// "member_suggestions_change_policy_details". +/// "tfa_change_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `memberSuggestionsChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `tfaChangeBackupPhoneDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_suggestions_change_policy_details". +/// "tfa_change_backup_phone_details". /// -- (BOOL)isMemberSuggestionsChangePolicyDetails; +- (BOOL)isTfaChangeBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value -/// "microsoft_office_addin_change_policy_details". +/// "tfa_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `microsoftOfficeAddinChangePolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `tfaChangeStatusDetails` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "microsoft_office_addin_change_policy_details". +/// "tfa_change_status_details". /// -- (BOOL)isMicrosoftOfficeAddinChangePolicyDetails; +- (BOOL)isTfaChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value -/// "network_control_change_policy_details". +/// "tfa_remove_backup_phone_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `networkControlChangePolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `tfaRemoveBackupPhoneDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "network_control_change_policy_details". +/// "tfa_remove_backup_phone_details". /// -- (BOOL)isNetworkControlChangePolicyDetails; +- (BOOL)isTfaRemoveBackupPhoneDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_deployment_policy_details". +/// "tfa_remove_security_key_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperChangeDeploymentPolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `tfaRemoveSecurityKeyDetails` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_deployment_policy_details". +/// "tfa_remove_security_key_details". /// -- (BOOL)isPaperChangeDeploymentPolicyDetails; +- (BOOL)isTfaRemoveSecurityKeyDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_member_link_policy_details". +/// "tfa_reset_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperChangeMemberLinkPolicyDetails` property, otherwise a runtime exception -/// will be thrown. +/// `tfaResetDetails` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value -/// "paper_change_member_link_policy_details". +/// @return Whether the union's current tag state has value "tfa_reset_details". /// -- (BOOL)isPaperChangeMemberLinkPolicyDetails; +- (BOOL)isTfaResetDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_member_policy_details". +/// "changed_enterprise_admin_role_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperChangeMemberPolicyDetails` property, otherwise a runtime exception +/// `changedEnterpriseAdminRoleDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_member_policy_details". +/// "changed_enterprise_admin_role_details". /// -- (BOOL)isPaperChangeMemberPolicyDetails; +- (BOOL)isChangedEnterpriseAdminRoleDetails; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_policy_details". +/// "changed_enterprise_connected_team_status_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `paperChangePolicyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `changedEnterpriseConnectedTeamStatusDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_policy_details". +/// "changed_enterprise_connected_team_status_details". /// -- (BOOL)isPaperChangePolicyDetails; +- (BOOL)isChangedEnterpriseConnectedTeamStatusDetails; /// /// Retrieves whether the union's current tag state has value -/// "permanent_delete_change_policy_details". +/// "ended_enterprise_admin_session_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `permanentDeleteChangePolicyDetails` property, otherwise a runtime exception +/// `endedEnterpriseAdminSessionDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "permanent_delete_change_policy_details". +/// "ended_enterprise_admin_session_details". /// -- (BOOL)isPermanentDeleteChangePolicyDetails; +- (BOOL)isEndedEnterpriseAdminSessionDetails; /// /// Retrieves whether the union's current tag state has value -/// "sharing_change_folder_join_policy_details". +/// "ended_enterprise_admin_session_deprecated_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharingChangeFolderJoinPolicyDetails` property, otherwise a runtime +/// `endedEnterpriseAdminSessionDeprecatedDetails` property, otherwise a runtime /// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sharing_change_folder_join_policy_details". -/// -- (BOOL)isSharingChangeFolderJoinPolicyDetails; - -/// -/// Retrieves whether the union's current tag state has value -/// "sharing_change_link_policy_details". -/// -/// @note Call this method and ensure it returns true before accessing the -/// `sharingChangeLinkPolicyDetails` property, otherwise a runtime exception -/// will be thrown. -/// -/// @return Whether the union's current tag state has value -/// "sharing_change_link_policy_details". +/// "ended_enterprise_admin_session_deprecated_details". /// -- (BOOL)isSharingChangeLinkPolicyDetails; +- (BOOL)isEndedEnterpriseAdminSessionDeprecatedDetails; /// /// Retrieves whether the union's current tag state has value -/// "sharing_change_member_policy_details". +/// "enterprise_settings_locking_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `sharingChangeMemberPolicyDetails` property, otherwise a runtime exception +/// `enterpriseSettingsLockingDetails` property, otherwise a runtime exception /// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sharing_change_member_policy_details". +/// "enterprise_settings_locking_details". /// -- (BOOL)isSharingChangeMemberPolicyDetails; +- (BOOL)isEnterpriseSettingsLockingDetails; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_change_policy_details". +/// "guest_admin_change_status_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `smartSyncChangePolicyDetails` property, otherwise a runtime exception will +/// `guestAdminChangeStatusDetails` property, otherwise a runtime exception will /// be thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_change_policy_details". +/// "guest_admin_change_status_details". /// -- (BOOL)isSmartSyncChangePolicyDetails; +- (BOOL)isGuestAdminChangeStatusDetails; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_not_opt_out_details". +/// "started_enterprise_admin_session_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `smartSyncNotOptOutDetails` property, otherwise a runtime exception will be -/// thrown. +/// `startedEnterpriseAdminSessionDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_not_opt_out_details". +/// "started_enterprise_admin_session_details". /// -- (BOOL)isSmartSyncNotOptOutDetails; +- (BOOL)isStartedEnterpriseAdminSessionDetails; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_opt_out_details". +/// "team_merge_request_accepted_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `smartSyncOptOutDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestAcceptedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_opt_out_details". +/// "team_merge_request_accepted_details". /// -- (BOOL)isSmartSyncOptOutDetails; +- (BOOL)isTeamMergeRequestAcceptedDetails; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_policy_details". +/// "team_merge_request_accepted_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `ssoChangePolicyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestAcceptedShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_policy_details". +/// "team_merge_request_accepted_shown_to_primary_team_details". /// -- (BOOL)isSsoChangePolicyDetails; +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_policy_details". +/// "team_merge_request_accepted_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaChangePolicyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestAcceptedShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_change_policy_details". +/// "team_merge_request_accepted_shown_to_secondary_team_details". /// -- (BOOL)isTfaChangePolicyDetails; +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "two_account_change_policy_details". +/// "team_merge_request_auto_canceled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `twoAccountChangePolicyDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestAutoCanceledDetails` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "two_account_change_policy_details". +/// "team_merge_request_auto_canceled_details". /// -- (BOOL)isTwoAccountChangePolicyDetails; +- (BOOL)isTeamMergeRequestAutoCanceledDetails; /// /// Retrieves whether the union's current tag state has value -/// "web_sessions_change_fixed_length_policy_details". +/// "team_merge_request_canceled_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `webSessionsChangeFixedLengthPolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamMergeRequestCanceledDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "web_sessions_change_fixed_length_policy_details". +/// "team_merge_request_canceled_details". /// -- (BOOL)isWebSessionsChangeFixedLengthPolicyDetails; +- (BOOL)isTeamMergeRequestCanceledDetails; /// /// Retrieves whether the union's current tag state has value -/// "web_sessions_change_idle_length_policy_details". +/// "team_merge_request_canceled_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `webSessionsChangeIdleLengthPolicyDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamMergeRequestCanceledShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "web_sessions_change_idle_length_policy_details". +/// "team_merge_request_canceled_shown_to_primary_team_details". /// -- (BOOL)isWebSessionsChangeIdleLengthPolicyDetails; +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_add_logo_details". +/// "team_merge_request_canceled_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamProfileAddLogoDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestCanceledShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_add_logo_details". +/// "team_merge_request_canceled_shown_to_secondary_team_details". /// -- (BOOL)isTeamProfileAddLogoDetails; +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_default_language_details". +/// "team_merge_request_expired_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamProfileChangeDefaultLanguageDetails` property, otherwise a runtime -/// exception will be thrown. +/// `teamMergeRequestExpiredDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_default_language_details". +/// "team_merge_request_expired_details". /// -- (BOOL)isTeamProfileChangeDefaultLanguageDetails; +- (BOOL)isTeamMergeRequestExpiredDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_logo_details". +/// "team_merge_request_expired_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamProfileChangeLogoDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestExpiredShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_logo_details". +/// "team_merge_request_expired_shown_to_primary_team_details". /// -- (BOOL)isTeamProfileChangeLogoDetails; +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_name_details". +/// "team_merge_request_expired_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamProfileChangeNameDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestExpiredShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_name_details". +/// "team_merge_request_expired_shown_to_secondary_team_details". /// -- (BOOL)isTeamProfileChangeNameDetails; +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_remove_logo_details". +/// "team_merge_request_rejected_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `teamProfileRemoveLogoDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestRejectedShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_remove_logo_details". +/// "team_merge_request_rejected_shown_to_primary_team_details". /// -- (BOOL)isTeamProfileRemoveLogoDetails; +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_add_backup_phone_details". +/// "team_merge_request_rejected_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaAddBackupPhoneDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestRejectedShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_add_backup_phone_details". +/// "team_merge_request_rejected_shown_to_secondary_team_details". /// -- (BOOL)isTfaAddBackupPhoneDetails; +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_add_security_key_details". +/// "team_merge_request_reminder_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaAddSecurityKeyDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestReminderDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_add_security_key_details". +/// "team_merge_request_reminder_details". /// -- (BOOL)isTfaAddSecurityKeyDetails; +- (BOOL)isTeamMergeRequestReminderDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_backup_phone_details". +/// "team_merge_request_reminder_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaChangeBackupPhoneDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestReminderShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_change_backup_phone_details". +/// "team_merge_request_reminder_shown_to_primary_team_details". /// -- (BOOL)isTfaChangeBackupPhoneDetails; +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_status_details". +/// "team_merge_request_reminder_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaChangeStatusDetails` property, otherwise a runtime exception will be -/// thrown. +/// `teamMergeRequestReminderShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_change_status_details". +/// "team_merge_request_reminder_shown_to_secondary_team_details". /// -- (BOOL)isTfaChangeStatusDetails; +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_remove_backup_phone_details". +/// "team_merge_request_revoked_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaRemoveBackupPhoneDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestRevokedDetails` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_remove_backup_phone_details". +/// "team_merge_request_revoked_details". /// -- (BOOL)isTfaRemoveBackupPhoneDetails; +- (BOOL)isTeamMergeRequestRevokedDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_remove_security_key_details". +/// "team_merge_request_sent_shown_to_primary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaRemoveSecurityKeyDetails` property, otherwise a runtime exception will -/// be thrown. +/// `teamMergeRequestSentShownToPrimaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_remove_security_key_details". +/// "team_merge_request_sent_shown_to_primary_team_details". /// -- (BOOL)isTfaRemoveSecurityKeyDetails; +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeamDetails; /// /// Retrieves whether the union's current tag state has value -/// "tfa_reset_details". +/// "team_merge_request_sent_shown_to_secondary_team_details". /// /// @note Call this method and ensure it returns true before accessing the -/// `tfaResetDetails` property, otherwise a runtime exception will be thrown. +/// `teamMergeRequestSentShownToSecondaryTeamDetails` property, otherwise a +/// runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "tfa_reset_details". +/// @return Whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_secondary_team_details". /// -- (BOOL)isTfaResetDetails; +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeamDetails; /// /// Retrieves whether the union's current tag state has value "missing_details". @@ -9704,7 +16128,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEventDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEventDetails *)instance; /// /// Deserializes `DBTEAMLOGEventDetails` instances. @@ -9714,7 +16138,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventDetailsTag) { /// /// @return An instantiation of the `DBTEAMLOGEventDetails` object. /// -+ (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEventDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h index b3e7cc9d6..28e866e55 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventType.h @@ -8,7 +8,510 @@ #import "DBSerializableProtocol.h" +@class DBTEAMLOGAccountCaptureChangeAvailabilityType; +@class DBTEAMLOGAccountCaptureChangePolicyType; +@class DBTEAMLOGAccountCaptureMigrateAccountType; +@class DBTEAMLOGAccountCaptureNotificationEmailsSentType; +@class DBTEAMLOGAccountCaptureRelinquishAccountType; +@class DBTEAMLOGAccountLockOrUnlockedType; +@class DBTEAMLOGAdminAlertingAlertStateChangedType; +@class DBTEAMLOGAdminAlertingChangedAlertConfigType; +@class DBTEAMLOGAdminAlertingTriggeredAlertType; +@class DBTEAMLOGAdminEmailRemindersChangedType; +@class DBTEAMLOGAllowDownloadDisabledType; +@class DBTEAMLOGAllowDownloadEnabledType; +@class DBTEAMLOGAppBlockedByPermissionsType; +@class DBTEAMLOGAppLinkTeamType; +@class DBTEAMLOGAppLinkUserType; +@class DBTEAMLOGAppPermissionsChangedType; +@class DBTEAMLOGAppUnlinkTeamType; +@class DBTEAMLOGAppUnlinkUserType; +@class DBTEAMLOGApplyNamingConventionType; +@class DBTEAMLOGBackupAdminInvitationSentType; +@class DBTEAMLOGBackupInvitationOpenedType; +@class DBTEAMLOGBinderAddPageType; +@class DBTEAMLOGBinderAddSectionType; +@class DBTEAMLOGBinderRemovePageType; +@class DBTEAMLOGBinderRemoveSectionType; +@class DBTEAMLOGBinderRenamePageType; +@class DBTEAMLOGBinderRenameSectionType; +@class DBTEAMLOGBinderReorderPageType; +@class DBTEAMLOGBinderReorderSectionType; +@class DBTEAMLOGCameraUploadsPolicyChangedType; +@class DBTEAMLOGCaptureTranscriptPolicyChangedType; +@class DBTEAMLOGChangedEnterpriseAdminRoleType; +@class DBTEAMLOGChangedEnterpriseConnectedTeamStatusType; +@class DBTEAMLOGClassificationChangePolicyType; +@class DBTEAMLOGClassificationCreateReportFailType; +@class DBTEAMLOGClassificationCreateReportType; +@class DBTEAMLOGCollectionShareType; +@class DBTEAMLOGComputerBackupPolicyChangedType; +@class DBTEAMLOGContentAdministrationPolicyChangedType; +@class DBTEAMLOGCreateFolderType; +@class DBTEAMLOGCreateTeamInviteLinkType; +@class DBTEAMLOGDataPlacementRestrictionChangePolicyType; +@class DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType; +@class DBTEAMLOGDataResidencyMigrationRequestSuccessfulType; +@class DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType; +@class DBTEAMLOGDeleteTeamInviteLinkType; +@class DBTEAMLOGDeviceApprovalsAddExceptionType; +@class DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType; +@class DBTEAMLOGDeviceApprovalsChangeMobilePolicyType; +@class DBTEAMLOGDeviceApprovalsChangeOverageActionType; +@class DBTEAMLOGDeviceApprovalsChangeUnlinkActionType; +@class DBTEAMLOGDeviceApprovalsRemoveExceptionType; +@class DBTEAMLOGDeviceChangeIpDesktopType; +@class DBTEAMLOGDeviceChangeIpMobileType; +@class DBTEAMLOGDeviceChangeIpWebType; +@class DBTEAMLOGDeviceDeleteOnUnlinkFailType; +@class DBTEAMLOGDeviceDeleteOnUnlinkSuccessType; +@class DBTEAMLOGDeviceLinkFailType; +@class DBTEAMLOGDeviceLinkSuccessType; +@class DBTEAMLOGDeviceManagementDisabledType; +@class DBTEAMLOGDeviceManagementEnabledType; +@class DBTEAMLOGDeviceSyncBackupStatusChangedType; +@class DBTEAMLOGDeviceUnlinkType; +@class DBTEAMLOGDirectoryRestrictionsAddMembersType; +@class DBTEAMLOGDirectoryRestrictionsRemoveMembersType; +@class DBTEAMLOGDisabledDomainInvitesType; +@class DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType; +@class DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType; +@class DBTEAMLOGDomainInvitesEmailExistingUsersType; +@class DBTEAMLOGDomainInvitesRequestToJoinTeamType; +@class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType; +@class DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType; +@class DBTEAMLOGDomainVerificationAddDomainFailType; +@class DBTEAMLOGDomainVerificationAddDomainSuccessType; +@class DBTEAMLOGDomainVerificationRemoveDomainType; +@class DBTEAMLOGDropboxPasswordsExportedType; +@class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType; +@class DBTEAMLOGDropboxPasswordsPolicyChangedType; +@class DBTEAMLOGEmailIngestPolicyChangedType; +@class DBTEAMLOGEmailIngestReceiveFileType; +@class DBTEAMLOGEmmAddExceptionType; +@class DBTEAMLOGEmmChangePolicyType; +@class DBTEAMLOGEmmCreateExceptionsReportType; +@class DBTEAMLOGEmmCreateUsageReportType; +@class DBTEAMLOGEmmErrorType; +@class DBTEAMLOGEmmRefreshAuthTokenType; +@class DBTEAMLOGEmmRemoveExceptionType; +@class DBTEAMLOGEnabledDomainInvitesType; +@class DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType; +@class DBTEAMLOGEndedEnterpriseAdminSessionType; +@class DBTEAMLOGEnterpriseSettingsLockingType; @class DBTEAMLOGEventType; +@class DBTEAMLOGExportMembersReportFailType; +@class DBTEAMLOGExportMembersReportType; +@class DBTEAMLOGExtendedVersionHistoryChangePolicyType; +@class DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType; +@class DBTEAMLOGExternalDriveBackupPolicyChangedType; +@class DBTEAMLOGExternalDriveBackupStatusChangedType; +@class DBTEAMLOGExternalSharingCreateReportType; +@class DBTEAMLOGExternalSharingReportFailedType; +@class DBTEAMLOGFileAddCommentType; +@class DBTEAMLOGFileAddFromAutomationType; +@class DBTEAMLOGFileAddType; +@class DBTEAMLOGFileChangeCommentSubscriptionType; +@class DBTEAMLOGFileCommentsChangePolicyType; +@class DBTEAMLOGFileCopyType; +@class DBTEAMLOGFileDeleteCommentType; +@class DBTEAMLOGFileDeleteType; +@class DBTEAMLOGFileDownloadType; +@class DBTEAMLOGFileEditCommentType; +@class DBTEAMLOGFileEditType; +@class DBTEAMLOGFileGetCopyReferenceType; +@class DBTEAMLOGFileLikeCommentType; +@class DBTEAMLOGFileLockingLockStatusChangedType; +@class DBTEAMLOGFileLockingPolicyChangedType; +@class DBTEAMLOGFileMoveType; +@class DBTEAMLOGFilePermanentlyDeleteType; +@class DBTEAMLOGFilePreviewType; +@class DBTEAMLOGFileProviderMigrationPolicyChangedType; +@class DBTEAMLOGFileRenameType; +@class DBTEAMLOGFileRequestChangeType; +@class DBTEAMLOGFileRequestCloseType; +@class DBTEAMLOGFileRequestCreateType; +@class DBTEAMLOGFileRequestDeleteType; +@class DBTEAMLOGFileRequestReceiveFileType; +@class DBTEAMLOGFileRequestsChangePolicyType; +@class DBTEAMLOGFileRequestsEmailsEnabledType; +@class DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType; +@class DBTEAMLOGFileResolveCommentType; +@class DBTEAMLOGFileRestoreType; +@class DBTEAMLOGFileRevertType; +@class DBTEAMLOGFileRollbackChangesType; +@class DBTEAMLOGFileSaveCopyReferenceType; +@class DBTEAMLOGFileTransfersFileAddType; +@class DBTEAMLOGFileTransfersPolicyChangedType; +@class DBTEAMLOGFileTransfersTransferDeleteType; +@class DBTEAMLOGFileTransfersTransferDownloadType; +@class DBTEAMLOGFileTransfersTransferSendType; +@class DBTEAMLOGFileTransfersTransferViewType; +@class DBTEAMLOGFileUnlikeCommentType; +@class DBTEAMLOGFileUnresolveCommentType; +@class DBTEAMLOGFolderLinkRestrictionPolicyChangedType; +@class DBTEAMLOGFolderOverviewDescriptionChangedType; +@class DBTEAMLOGFolderOverviewItemPinnedType; +@class DBTEAMLOGFolderOverviewItemUnpinnedType; +@class DBTEAMLOGGoogleSsoChangePolicyType; +@class DBTEAMLOGGovernancePolicyAddFolderFailedType; +@class DBTEAMLOGGovernancePolicyAddFoldersType; +@class DBTEAMLOGGovernancePolicyContentDisposedType; +@class DBTEAMLOGGovernancePolicyCreateType; +@class DBTEAMLOGGovernancePolicyDeleteType; +@class DBTEAMLOGGovernancePolicyEditDetailsType; +@class DBTEAMLOGGovernancePolicyEditDurationType; +@class DBTEAMLOGGovernancePolicyExportCreatedType; +@class DBTEAMLOGGovernancePolicyExportRemovedType; +@class DBTEAMLOGGovernancePolicyRemoveFoldersType; +@class DBTEAMLOGGovernancePolicyReportCreatedType; +@class DBTEAMLOGGovernancePolicyZipPartDownloadedType; +@class DBTEAMLOGGroupAddExternalIdType; +@class DBTEAMLOGGroupAddMemberType; +@class DBTEAMLOGGroupChangeExternalIdType; +@class DBTEAMLOGGroupChangeManagementTypeType; +@class DBTEAMLOGGroupChangeMemberRoleType; +@class DBTEAMLOGGroupCreateType; +@class DBTEAMLOGGroupDeleteType; +@class DBTEAMLOGGroupDescriptionUpdatedType; +@class DBTEAMLOGGroupJoinPolicyUpdatedType; +@class DBTEAMLOGGroupMovedType; +@class DBTEAMLOGGroupRemoveExternalIdType; +@class DBTEAMLOGGroupRemoveMemberType; +@class DBTEAMLOGGroupRenameType; +@class DBTEAMLOGGroupUserManagementChangePolicyType; +@class DBTEAMLOGGuestAdminChangeStatusType; +@class DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType; +@class DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType; +@class DBTEAMLOGIntegrationConnectedType; +@class DBTEAMLOGIntegrationDisconnectedType; +@class DBTEAMLOGIntegrationPolicyChangedType; +@class DBTEAMLOGInviteAcceptanceEmailPolicyChangedType; +@class DBTEAMLOGLegalHoldsActivateAHoldType; +@class DBTEAMLOGLegalHoldsAddMembersType; +@class DBTEAMLOGLegalHoldsChangeHoldDetailsType; +@class DBTEAMLOGLegalHoldsChangeHoldNameType; +@class DBTEAMLOGLegalHoldsExportAHoldType; +@class DBTEAMLOGLegalHoldsExportCancelledType; +@class DBTEAMLOGLegalHoldsExportDownloadedType; +@class DBTEAMLOGLegalHoldsExportRemovedType; +@class DBTEAMLOGLegalHoldsReleaseAHoldType; +@class DBTEAMLOGLegalHoldsRemoveMembersType; +@class DBTEAMLOGLegalHoldsReportAHoldType; +@class DBTEAMLOGLoginFailType; +@class DBTEAMLOGLoginSuccessType; +@class DBTEAMLOGLogoutType; +@class DBTEAMLOGMemberAddExternalIdType; +@class DBTEAMLOGMemberAddNameType; +@class DBTEAMLOGMemberChangeAdminRoleType; +@class DBTEAMLOGMemberChangeEmailType; +@class DBTEAMLOGMemberChangeExternalIdType; +@class DBTEAMLOGMemberChangeMembershipTypeType; +@class DBTEAMLOGMemberChangeNameType; +@class DBTEAMLOGMemberChangeResellerRoleType; +@class DBTEAMLOGMemberChangeStatusType; +@class DBTEAMLOGMemberDeleteManualContactsType; +@class DBTEAMLOGMemberDeleteProfilePhotoType; +@class DBTEAMLOGMemberPermanentlyDeleteAccountContentsType; +@class DBTEAMLOGMemberRemoveExternalIdType; +@class DBTEAMLOGMemberRequestsChangePolicyType; +@class DBTEAMLOGMemberSendInvitePolicyChangedType; +@class DBTEAMLOGMemberSetProfilePhotoType; +@class DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType; +@class DBTEAMLOGMemberSpaceLimitsAddExceptionType; +@class DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType; +@class DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType; +@class DBTEAMLOGMemberSpaceLimitsChangePolicyType; +@class DBTEAMLOGMemberSpaceLimitsChangeStatusType; +@class DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType; +@class DBTEAMLOGMemberSpaceLimitsRemoveExceptionType; +@class DBTEAMLOGMemberSuggestType; +@class DBTEAMLOGMemberSuggestionsChangePolicyType; +@class DBTEAMLOGMemberTransferAccountContentsType; +@class DBTEAMLOGMicrosoftOfficeAddinChangePolicyType; +@class DBTEAMLOGNetworkControlChangePolicyType; +@class DBTEAMLOGNoExpirationLinkGenCreateReportType; +@class DBTEAMLOGNoExpirationLinkGenReportFailedType; +@class DBTEAMLOGNoPasswordLinkGenCreateReportType; +@class DBTEAMLOGNoPasswordLinkGenReportFailedType; +@class DBTEAMLOGNoPasswordLinkViewCreateReportType; +@class DBTEAMLOGNoPasswordLinkViewReportFailedType; +@class DBTEAMLOGNoteAclInviteOnlyType; +@class DBTEAMLOGNoteAclLinkType; +@class DBTEAMLOGNoteAclTeamLinkType; +@class DBTEAMLOGNoteShareReceiveType; +@class DBTEAMLOGNoteSharedType; +@class DBTEAMLOGObjectLabelAddedType; +@class DBTEAMLOGObjectLabelRemovedType; +@class DBTEAMLOGObjectLabelUpdatedValueType; +@class DBTEAMLOGOpenNoteSharedType; +@class DBTEAMLOGOrganizeFolderWithTidyType; +@class DBTEAMLOGOutdatedLinkViewCreateReportType; +@class DBTEAMLOGOutdatedLinkViewReportFailedType; +@class DBTEAMLOGPaperAdminExportStartType; +@class DBTEAMLOGPaperChangeDeploymentPolicyType; +@class DBTEAMLOGPaperChangeMemberLinkPolicyType; +@class DBTEAMLOGPaperChangeMemberPolicyType; +@class DBTEAMLOGPaperChangePolicyType; +@class DBTEAMLOGPaperContentAddMemberType; +@class DBTEAMLOGPaperContentAddToFolderType; +@class DBTEAMLOGPaperContentArchiveType; +@class DBTEAMLOGPaperContentCreateType; +@class DBTEAMLOGPaperContentPermanentlyDeleteType; +@class DBTEAMLOGPaperContentRemoveFromFolderType; +@class DBTEAMLOGPaperContentRemoveMemberType; +@class DBTEAMLOGPaperContentRenameType; +@class DBTEAMLOGPaperContentRestoreType; +@class DBTEAMLOGPaperDefaultFolderPolicyChangedType; +@class DBTEAMLOGPaperDesktopPolicyChangedType; +@class DBTEAMLOGPaperDocAddCommentType; +@class DBTEAMLOGPaperDocChangeMemberRoleType; +@class DBTEAMLOGPaperDocChangeSharingPolicyType; +@class DBTEAMLOGPaperDocChangeSubscriptionType; +@class DBTEAMLOGPaperDocDeleteCommentType; +@class DBTEAMLOGPaperDocDeletedType; +@class DBTEAMLOGPaperDocDownloadType; +@class DBTEAMLOGPaperDocEditCommentType; +@class DBTEAMLOGPaperDocEditType; +@class DBTEAMLOGPaperDocFollowedType; +@class DBTEAMLOGPaperDocMentionType; +@class DBTEAMLOGPaperDocOwnershipChangedType; +@class DBTEAMLOGPaperDocRequestAccessType; +@class DBTEAMLOGPaperDocResolveCommentType; +@class DBTEAMLOGPaperDocRevertType; +@class DBTEAMLOGPaperDocSlackShareType; +@class DBTEAMLOGPaperDocTeamInviteType; +@class DBTEAMLOGPaperDocTrashedType; +@class DBTEAMLOGPaperDocUnresolveCommentType; +@class DBTEAMLOGPaperDocUntrashedType; +@class DBTEAMLOGPaperDocViewType; +@class DBTEAMLOGPaperEnabledUsersGroupAdditionType; +@class DBTEAMLOGPaperEnabledUsersGroupRemovalType; +@class DBTEAMLOGPaperExternalViewAllowType; +@class DBTEAMLOGPaperExternalViewDefaultTeamType; +@class DBTEAMLOGPaperExternalViewForbidType; +@class DBTEAMLOGPaperFolderChangeSubscriptionType; +@class DBTEAMLOGPaperFolderDeletedType; +@class DBTEAMLOGPaperFolderFollowedType; +@class DBTEAMLOGPaperFolderTeamInviteType; +@class DBTEAMLOGPaperPublishedLinkChangePermissionType; +@class DBTEAMLOGPaperPublishedLinkCreateType; +@class DBTEAMLOGPaperPublishedLinkDisabledType; +@class DBTEAMLOGPaperPublishedLinkViewType; +@class DBTEAMLOGPasswordChangeType; +@class DBTEAMLOGPasswordResetAllType; +@class DBTEAMLOGPasswordResetType; +@class DBTEAMLOGPasswordStrengthRequirementsChangePolicyType; +@class DBTEAMLOGPendingSecondaryEmailAddedType; +@class DBTEAMLOGPermanentDeleteChangePolicyType; +@class DBTEAMLOGRansomwareAlertCreateReportFailedType; +@class DBTEAMLOGRansomwareAlertCreateReportType; +@class DBTEAMLOGRansomwareRestoreProcessCompletedType; +@class DBTEAMLOGRansomwareRestoreProcessStartedType; +@class DBTEAMLOGReplayFileDeleteType; +@class DBTEAMLOGReplayFileSharedLinkCreatedType; +@class DBTEAMLOGReplayFileSharedLinkModifiedType; +@class DBTEAMLOGReplayProjectTeamAddType; +@class DBTEAMLOGReplayProjectTeamDeleteType; +@class DBTEAMLOGResellerSupportChangePolicyType; +@class DBTEAMLOGResellerSupportSessionEndType; +@class DBTEAMLOGResellerSupportSessionStartType; +@class DBTEAMLOGRewindFolderType; +@class DBTEAMLOGRewindPolicyChangedType; +@class DBTEAMLOGSecondaryEmailDeletedType; +@class DBTEAMLOGSecondaryEmailVerifiedType; +@class DBTEAMLOGSecondaryMailsPolicyChangedType; +@class DBTEAMLOGSendForSignaturePolicyChangedType; +@class DBTEAMLOGSfAddGroupType; +@class DBTEAMLOGSfAllowNonMembersToViewSharedLinksType; +@class DBTEAMLOGSfExternalInviteWarnType; +@class DBTEAMLOGSfFbInviteChangeRoleType; +@class DBTEAMLOGSfFbInviteType; +@class DBTEAMLOGSfFbUninviteType; +@class DBTEAMLOGSfInviteGroupType; +@class DBTEAMLOGSfTeamGrantAccessType; +@class DBTEAMLOGSfTeamInviteChangeRoleType; +@class DBTEAMLOGSfTeamInviteType; +@class DBTEAMLOGSfTeamJoinFromOobLinkType; +@class DBTEAMLOGSfTeamJoinType; +@class DBTEAMLOGSfTeamUninviteType; +@class DBTEAMLOGSharedContentAddInviteesType; +@class DBTEAMLOGSharedContentAddLinkExpiryType; +@class DBTEAMLOGSharedContentAddLinkPasswordType; +@class DBTEAMLOGSharedContentAddMemberType; +@class DBTEAMLOGSharedContentChangeDownloadsPolicyType; +@class DBTEAMLOGSharedContentChangeInviteeRoleType; +@class DBTEAMLOGSharedContentChangeLinkAudienceType; +@class DBTEAMLOGSharedContentChangeLinkExpiryType; +@class DBTEAMLOGSharedContentChangeLinkPasswordType; +@class DBTEAMLOGSharedContentChangeMemberRoleType; +@class DBTEAMLOGSharedContentChangeViewerInfoPolicyType; +@class DBTEAMLOGSharedContentClaimInvitationType; +@class DBTEAMLOGSharedContentCopyType; +@class DBTEAMLOGSharedContentDownloadType; +@class DBTEAMLOGSharedContentRelinquishMembershipType; +@class DBTEAMLOGSharedContentRemoveInviteesType; +@class DBTEAMLOGSharedContentRemoveLinkExpiryType; +@class DBTEAMLOGSharedContentRemoveLinkPasswordType; +@class DBTEAMLOGSharedContentRemoveMemberType; +@class DBTEAMLOGSharedContentRequestAccessType; +@class DBTEAMLOGSharedContentRestoreInviteesType; +@class DBTEAMLOGSharedContentRestoreMemberType; +@class DBTEAMLOGSharedContentUnshareType; +@class DBTEAMLOGSharedContentViewType; +@class DBTEAMLOGSharedFolderChangeLinkPolicyType; +@class DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType; +@class DBTEAMLOGSharedFolderChangeMembersManagementPolicyType; +@class DBTEAMLOGSharedFolderChangeMembersPolicyType; +@class DBTEAMLOGSharedFolderCreateType; +@class DBTEAMLOGSharedFolderDeclineInvitationType; +@class DBTEAMLOGSharedFolderMountType; +@class DBTEAMLOGSharedFolderNestType; +@class DBTEAMLOGSharedFolderTransferOwnershipType; +@class DBTEAMLOGSharedFolderUnmountType; +@class DBTEAMLOGSharedLinkAddExpiryType; +@class DBTEAMLOGSharedLinkChangeExpiryType; +@class DBTEAMLOGSharedLinkChangeVisibilityType; +@class DBTEAMLOGSharedLinkCopyType; +@class DBTEAMLOGSharedLinkCreateType; +@class DBTEAMLOGSharedLinkDisableType; +@class DBTEAMLOGSharedLinkDownloadType; +@class DBTEAMLOGSharedLinkRemoveExpiryType; +@class DBTEAMLOGSharedLinkSettingsAddExpirationType; +@class DBTEAMLOGSharedLinkSettingsAddPasswordType; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType; +@class DBTEAMLOGSharedLinkSettingsChangeAudienceType; +@class DBTEAMLOGSharedLinkSettingsChangeExpirationType; +@class DBTEAMLOGSharedLinkSettingsChangePasswordType; +@class DBTEAMLOGSharedLinkSettingsRemoveExpirationType; +@class DBTEAMLOGSharedLinkSettingsRemovePasswordType; +@class DBTEAMLOGSharedLinkShareType; +@class DBTEAMLOGSharedLinkViewType; +@class DBTEAMLOGSharedNoteOpenedType; +@class DBTEAMLOGSharingChangeFolderJoinPolicyType; +@class DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType; +@class DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType; +@class DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType; +@class DBTEAMLOGSharingChangeLinkPolicyType; +@class DBTEAMLOGSharingChangeMemberPolicyType; +@class DBTEAMLOGShmodelDisableDownloadsType; +@class DBTEAMLOGShmodelEnableDownloadsType; +@class DBTEAMLOGShmodelGroupShareType; +@class DBTEAMLOGShowcaseAccessGrantedType; +@class DBTEAMLOGShowcaseAddMemberType; +@class DBTEAMLOGShowcaseArchivedType; +@class DBTEAMLOGShowcaseChangeDownloadPolicyType; +@class DBTEAMLOGShowcaseChangeEnabledPolicyType; +@class DBTEAMLOGShowcaseChangeExternalSharingPolicyType; +@class DBTEAMLOGShowcaseCreatedType; +@class DBTEAMLOGShowcaseDeleteCommentType; +@class DBTEAMLOGShowcaseEditCommentType; +@class DBTEAMLOGShowcaseEditedType; +@class DBTEAMLOGShowcaseFileAddedType; +@class DBTEAMLOGShowcaseFileDownloadType; +@class DBTEAMLOGShowcaseFileRemovedType; +@class DBTEAMLOGShowcaseFileViewType; +@class DBTEAMLOGShowcasePermanentlyDeletedType; +@class DBTEAMLOGShowcasePostCommentType; +@class DBTEAMLOGShowcaseRemoveMemberType; +@class DBTEAMLOGShowcaseRenamedType; +@class DBTEAMLOGShowcaseRequestAccessType; +@class DBTEAMLOGShowcaseResolveCommentType; +@class DBTEAMLOGShowcaseRestoredType; +@class DBTEAMLOGShowcaseTrashedDeprecatedType; +@class DBTEAMLOGShowcaseTrashedType; +@class DBTEAMLOGShowcaseUnresolveCommentType; +@class DBTEAMLOGShowcaseUntrashedDeprecatedType; +@class DBTEAMLOGShowcaseUntrashedType; +@class DBTEAMLOGShowcaseViewType; +@class DBTEAMLOGSignInAsSessionEndType; +@class DBTEAMLOGSignInAsSessionStartType; +@class DBTEAMLOGSmartSyncChangePolicyType; +@class DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType; +@class DBTEAMLOGSmartSyncNotOptOutType; +@class DBTEAMLOGSmartSyncOptOutType; +@class DBTEAMLOGSmarterSmartSyncPolicyChangedType; +@class DBTEAMLOGSsoAddCertType; +@class DBTEAMLOGSsoAddLoginUrlType; +@class DBTEAMLOGSsoAddLogoutUrlType; +@class DBTEAMLOGSsoChangeCertType; +@class DBTEAMLOGSsoChangeLoginUrlType; +@class DBTEAMLOGSsoChangeLogoutUrlType; +@class DBTEAMLOGSsoChangePolicyType; +@class DBTEAMLOGSsoChangeSamlIdentityModeType; +@class DBTEAMLOGSsoErrorType; +@class DBTEAMLOGSsoRemoveCertType; +@class DBTEAMLOGSsoRemoveLoginUrlType; +@class DBTEAMLOGSsoRemoveLogoutUrlType; +@class DBTEAMLOGStartedEnterpriseAdminSessionType; +@class DBTEAMLOGTeamActivityCreateReportFailType; +@class DBTEAMLOGTeamActivityCreateReportType; +@class DBTEAMLOGTeamBrandingPolicyChangedType; +@class DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType; +@class DBTEAMLOGTeamEncryptionKeyCreateKeyType; +@class DBTEAMLOGTeamEncryptionKeyDeleteKeyType; +@class DBTEAMLOGTeamEncryptionKeyDisableKeyType; +@class DBTEAMLOGTeamEncryptionKeyEnableKeyType; +@class DBTEAMLOGTeamEncryptionKeyRotateKeyType; +@class DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType; +@class DBTEAMLOGTeamExtensionsPolicyChangedType; +@class DBTEAMLOGTeamFolderChangeStatusType; +@class DBTEAMLOGTeamFolderCreateType; +@class DBTEAMLOGTeamFolderDowngradeType; +@class DBTEAMLOGTeamFolderPermanentlyDeleteType; +@class DBTEAMLOGTeamFolderRenameType; +@class DBTEAMLOGTeamMergeFromType; +@class DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeRequestAcceptedType; +@class DBTEAMLOGTeamMergeRequestAutoCanceledType; +@class DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeRequestCanceledType; +@class DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeRequestExpiredType; +@class DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeRequestReminderType; +@class DBTEAMLOGTeamMergeRequestRevokedType; +@class DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType; +@class DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType; +@class DBTEAMLOGTeamMergeToType; +@class DBTEAMLOGTeamProfileAddBackgroundType; +@class DBTEAMLOGTeamProfileAddLogoType; +@class DBTEAMLOGTeamProfileChangeBackgroundType; +@class DBTEAMLOGTeamProfileChangeDefaultLanguageType; +@class DBTEAMLOGTeamProfileChangeLogoType; +@class DBTEAMLOGTeamProfileChangeNameType; +@class DBTEAMLOGTeamProfileRemoveBackgroundType; +@class DBTEAMLOGTeamProfileRemoveLogoType; +@class DBTEAMLOGTeamSelectiveSyncPolicyChangedType; +@class DBTEAMLOGTeamSelectiveSyncSettingsChangedType; +@class DBTEAMLOGTeamSharingWhitelistSubjectsChangedType; +@class DBTEAMLOGTfaAddBackupPhoneType; +@class DBTEAMLOGTfaAddExceptionType; +@class DBTEAMLOGTfaAddSecurityKeyType; +@class DBTEAMLOGTfaChangeBackupPhoneType; +@class DBTEAMLOGTfaChangePolicyType; +@class DBTEAMLOGTfaChangeStatusType; +@class DBTEAMLOGTfaRemoveBackupPhoneType; +@class DBTEAMLOGTfaRemoveExceptionType; +@class DBTEAMLOGTfaRemoveSecurityKeyType; +@class DBTEAMLOGTfaResetType; +@class DBTEAMLOGTwoAccountChangePolicyType; +@class DBTEAMLOGUndoNamingConventionType; +@class DBTEAMLOGUndoOrganizeFolderWithTidyType; +@class DBTEAMLOGUserTagsAddedType; +@class DBTEAMLOGUserTagsRemovedType; +@class DBTEAMLOGViewerInfoPolicyChangedType; +@class DBTEAMLOGWatermarkingPolicyChangedType; +@class DBTEAMLOGWebSessionsChangeActiveSessionLimitType; +@class DBTEAMLOGWebSessionsChangeFixedLengthPolicyType; +@class DBTEAMLOGWebSessionsChangeIdleLengthPolicyType; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +520,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `EventType` union. /// -/// The type of the event. +/// The type of the event with description. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -29,6070 +532,17147 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGEventTypeTag` enum type represents the possible tag states /// with which the `DBTEAMLOGEventType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGEventTypeTag) { - /// Changed the membership type (limited vs full) for team member. This - /// event is deprecated and will not be logged going forward as the - /// associated product functionality no longer exists. - DBTEAMLOGEventTypeMemberChangeMembershipType, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeTag){ + /// (admin_alerting) Changed an alert state + DBTEAMLOGEventTypeAdminAlertingAlertStateChanged, - /// Permanently deleted contents of a removed team member account. - DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents, + /// (admin_alerting) Changed an alert setting + DBTEAMLOGEventTypeAdminAlertingChangedAlertConfig, - /// Changed the status with respect to whether the team member is under or - /// over storage quota specified by policy. - DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus, + /// (admin_alerting) Triggered security alert + DBTEAMLOGEventTypeAdminAlertingTriggeredAlert, - /// Transferred contents of a removed team member account to another member. - DBTEAMLOGEventTypeMemberTransferAccountContents, + /// (admin_alerting) Completed ransomware restore process + DBTEAMLOGEventTypeRansomwareRestoreProcessCompleted, - /// Exported all Paper documents in the team. - DBTEAMLOGEventTypePaperAdminExportStart, + /// (admin_alerting) Started ransomware restore process + DBTEAMLOGEventTypeRansomwareRestoreProcessStarted, - /// Users added to Paper enabled users list. - DBTEAMLOGEventTypePaperEnabledUsersGroupAddition, + /// (apps) Failed to connect app for member + DBTEAMLOGEventTypeAppBlockedByPermissions, - /// Users removed from Paper enabled users list. - DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval, + /// (apps) Linked app for team + DBTEAMLOGEventTypeAppLinkTeam, - /// Paper external sharing policy changed: anyone. This event is deprecated - /// and will not be logged going forward as the associated product - /// functionality no longer exists. - DBTEAMLOGEventTypePaperExternalViewAllow, + /// (apps) Linked app for member + DBTEAMLOGEventTypeAppLinkUser, - /// Paper external sharing policy changed: default team. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypePaperExternalViewDefaultTeam, + /// (apps) Unlinked app for team + DBTEAMLOGEventTypeAppUnlinkTeam, - /// Paper external sharing policy changed: team-only. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypePaperExternalViewForbid, + /// (apps) Unlinked app for member + DBTEAMLOGEventTypeAppUnlinkUser, - /// Admin settings: team members see a warning before sharing folders - /// outside the team (DEPRECATED FEATURE). This event is deprecated and will - /// not be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSfExternalInviteWarn, + /// (apps) Connected integration for member + DBTEAMLOGEventTypeIntegrationConnected, - /// Merged another team into this team. - DBTEAMLOGEventTypeTeamMergeFrom, + /// (apps) Disconnected integration for member + DBTEAMLOGEventTypeIntegrationDisconnected, - /// Merged this team into another team. - DBTEAMLOGEventTypeTeamMergeTo, + /// (comments) Added file comment + DBTEAMLOGEventTypeFileAddComment, - /// Linked an app for team. - DBTEAMLOGEventTypeAppLinkTeam, + /// (comments) Subscribed to or unsubscribed from comment notifications for + /// file + DBTEAMLOGEventTypeFileChangeCommentSubscription, - /// Linked an app for team member. - DBTEAMLOGEventTypeAppLinkUser, + /// (comments) Deleted file comment + DBTEAMLOGEventTypeFileDeleteComment, - /// Unlinked an app for team. - DBTEAMLOGEventTypeAppUnlinkTeam, + /// (comments) Edited file comment + DBTEAMLOGEventTypeFileEditComment, - /// Unlinked an app for team member. - DBTEAMLOGEventTypeAppUnlinkUser, + /// (comments) Liked file comment (deprecated, no longer logged) + DBTEAMLOGEventTypeFileLikeComment, - /// Added a file comment. - DBTEAMLOGEventTypeFileAddComment, + /// (comments) Resolved file comment + DBTEAMLOGEventTypeFileResolveComment, - /// Subscribed to or unsubscribed from comment notifications for file. - DBTEAMLOGEventTypeFileChangeCommentSubscription, + /// (comments) Unliked file comment (deprecated, no longer logged) + DBTEAMLOGEventTypeFileUnlikeComment, - /// Deleted a file comment. - DBTEAMLOGEventTypeFileDeleteComment, + /// (comments) Unresolved file comment + DBTEAMLOGEventTypeFileUnresolveComment, - /// Liked a file comment. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeFileLikeComment, + /// (data_governance) Added folders to policy + DBTEAMLOGEventTypeGovernancePolicyAddFolders, - /// Resolved a file comment. - DBTEAMLOGEventTypeFileResolveComment, + /// (data_governance) Couldn't add a folder to a policy + DBTEAMLOGEventTypeGovernancePolicyAddFolderFailed, - /// Unliked a file comment. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeFileUnlikeComment, + /// (data_governance) Content disposed + DBTEAMLOGEventTypeGovernancePolicyContentDisposed, - /// Unresolved a file comment. - DBTEAMLOGEventTypeFileUnresolveComment, + /// (data_governance) Activated a new policy + DBTEAMLOGEventTypeGovernancePolicyCreate, - /// IP address associated with active desktop session changed. - DBTEAMLOGEventTypeDeviceChangeIpDesktop, + /// (data_governance) Deleted a policy + DBTEAMLOGEventTypeGovernancePolicyDelete, - /// IP address associated with active mobile session changed. - DBTEAMLOGEventTypeDeviceChangeIpMobile, + /// (data_governance) Edited policy + DBTEAMLOGEventTypeGovernancePolicyEditDetails, - /// IP address associated with active Web session changed. - DBTEAMLOGEventTypeDeviceChangeIpWeb, + /// (data_governance) Changed policy duration + DBTEAMLOGEventTypeGovernancePolicyEditDuration, - /// Failed to delete all files from an unlinked device. - DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail, + /// (data_governance) Created a policy download + DBTEAMLOGEventTypeGovernancePolicyExportCreated, - /// Deleted all files from an unlinked device. - DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess, + /// (data_governance) Removed a policy download + DBTEAMLOGEventTypeGovernancePolicyExportRemoved, - /// Failed to link a device. - DBTEAMLOGEventTypeDeviceLinkFail, + /// (data_governance) Removed folders from policy + DBTEAMLOGEventTypeGovernancePolicyRemoveFolders, - /// Linked a device. - DBTEAMLOGEventTypeDeviceLinkSuccess, + /// (data_governance) Created a summary report for a policy + DBTEAMLOGEventTypeGovernancePolicyReportCreated, - /// Disable Device Management. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeDeviceManagementDisabled, + /// (data_governance) Downloaded content from a policy + DBTEAMLOGEventTypeGovernancePolicyZipPartDownloaded, - /// Enable Device Management. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeDeviceManagementEnabled, + /// (data_governance) Activated a hold + DBTEAMLOGEventTypeLegalHoldsActivateAHold, - /// Disconnected a device. - DBTEAMLOGEventTypeDeviceUnlink, + /// (data_governance) Added members to a hold + DBTEAMLOGEventTypeLegalHoldsAddMembers, - /// Refreshed the auth token used for setting up enterprise mobility - /// management. - DBTEAMLOGEventTypeEmmRefreshAuthToken, + /// (data_governance) Edited details for a hold + DBTEAMLOGEventTypeLegalHoldsChangeHoldDetails, - /// Granted or revoked the option to enable account capture on domains - /// belonging to the team. - DBTEAMLOGEventTypeAccountCaptureChangeAvailability, + /// (data_governance) Renamed a hold + DBTEAMLOGEventTypeLegalHoldsChangeHoldName, - /// Account captured user migrated their account to the team. - DBTEAMLOGEventTypeAccountCaptureMigrateAccount, + /// (data_governance) Exported hold + DBTEAMLOGEventTypeLegalHoldsExportAHold, - /// Account captured user relinquished their account by changing the email - /// address associated with it. - DBTEAMLOGEventTypeAccountCaptureRelinquishAccount, + /// (data_governance) Canceled export for a hold + DBTEAMLOGEventTypeLegalHoldsExportCancelled, - /// Disabled domain invites. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeDisabledDomainInvites, + /// (data_governance) Downloaded export for a hold + DBTEAMLOGEventTypeLegalHoldsExportDownloaded, - /// Approved a member's request to join the team. - DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam, + /// (data_governance) Removed export for a hold + DBTEAMLOGEventTypeLegalHoldsExportRemoved, - /// Declined a user's request to join the team. - DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam, + /// (data_governance) Released a hold + DBTEAMLOGEventTypeLegalHoldsReleaseAHold, - /// Sent domain invites to existing domain accounts. - DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers, + /// (data_governance) Removed members from a hold + DBTEAMLOGEventTypeLegalHoldsRemoveMembers, - /// Asked to join the team. - DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam, + /// (data_governance) Created a summary report for a hold + DBTEAMLOGEventTypeLegalHoldsReportAHold, - /// Turned off u201cAutomatically invite new usersu201d. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo, + /// (devices) Changed IP address associated with active desktop session + DBTEAMLOGEventTypeDeviceChangeIpDesktop, - /// Turned on u201cAutomatically invite new usersu201d. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes, + /// (devices) Changed IP address associated with active mobile session + DBTEAMLOGEventTypeDeviceChangeIpMobile, - /// Failed to verify a domain belonging to the team. - DBTEAMLOGEventTypeDomainVerificationAddDomainFail, + /// (devices) Changed IP address associated with active web session + DBTEAMLOGEventTypeDeviceChangeIpWeb, - /// Verified a domain belonging to the team. - DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess, + /// (devices) Failed to delete all files from unlinked device + DBTEAMLOGEventTypeDeviceDeleteOnUnlinkFail, - /// Removed a domain from the list of verified domains belonging to the - /// team. - DBTEAMLOGEventTypeDomainVerificationRemoveDomain, + /// (devices) Deleted all files from unlinked device + DBTEAMLOGEventTypeDeviceDeleteOnUnlinkSuccess, - /// Enabled domain invites. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeEnabledDomainInvites, + /// (devices) Failed to link device + DBTEAMLOGEventTypeDeviceLinkFail, - /// Created folders. This event is deprecated and will not be logged going - /// forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeCreateFolder, + /// (devices) Linked device + DBTEAMLOGEventTypeDeviceLinkSuccess, - /// Added files and/or folders. - DBTEAMLOGEventTypeFileAdd, + /// (devices) Disabled device management (deprecated, no longer logged) + DBTEAMLOGEventTypeDeviceManagementDisabled, - /// Copied files and/or folders. - DBTEAMLOGEventTypeFileCopy, + /// (devices) Enabled device management (deprecated, no longer logged) + DBTEAMLOGEventTypeDeviceManagementEnabled, - /// Deleted files and/or folders. - DBTEAMLOGEventTypeFileDelete, + /// (devices) Enabled/disabled backup for computer + DBTEAMLOGEventTypeDeviceSyncBackupStatusChanged, - /// Downloaded files and/or folders. - DBTEAMLOGEventTypeFileDownload, + /// (devices) Disconnected device + DBTEAMLOGEventTypeDeviceUnlink, - /// Edited files. - DBTEAMLOGEventTypeFileEdit, + /// (devices) Exported passwords + DBTEAMLOGEventTypeDropboxPasswordsExported, - /// Create a copy reference to a file or folder. - DBTEAMLOGEventTypeFileGetCopyReference, + /// (devices) Enrolled new Dropbox Passwords device + DBTEAMLOGEventTypeDropboxPasswordsNewDeviceEnrolled, - /// Moved files and/or folders. - DBTEAMLOGEventTypeFileMove, + /// (devices) Refreshed auth token used for setting up EMM + DBTEAMLOGEventTypeEmmRefreshAuthToken, - /// Permanently deleted files and/or folders. - DBTEAMLOGEventTypeFilePermanentlyDelete, + /// (devices) Checked external drive backup eligibility status + DBTEAMLOGEventTypeExternalDriveBackupEligibilityStatusChecked, - /// Previewed files and/or folders. - DBTEAMLOGEventTypeFilePreview, + /// (devices) Modified external drive backup + DBTEAMLOGEventTypeExternalDriveBackupStatusChanged, - /// Renamed files and/or folders. - DBTEAMLOGEventTypeFileRename, + /// (domains) Granted/revoked option to enable account capture on team + /// domains + DBTEAMLOGEventTypeAccountCaptureChangeAvailability, - /// Restored deleted files and/or folders. - DBTEAMLOGEventTypeFileRestore, + /// (domains) Account-captured user migrated account to team + DBTEAMLOGEventTypeAccountCaptureMigrateAccount, - /// Reverted files to a previous version. - DBTEAMLOGEventTypeFileRevert, + /// (domains) Sent account capture email to all unmanaged members + DBTEAMLOGEventTypeAccountCaptureNotificationEmailsSent, - /// Rolled back file change location changes. - DBTEAMLOGEventTypeFileRollbackChanges, + /// (domains) Account-captured user changed account email to personal email + DBTEAMLOGEventTypeAccountCaptureRelinquishAccount, - /// Save a file or folder using a copy reference. - DBTEAMLOGEventTypeFileSaveCopyReference, + /// (domains) Disabled domain invites (deprecated, no longer logged) + DBTEAMLOGEventTypeDisabledDomainInvites, - /// Added a deadline to a file request. This event is replaced by - /// file_request_change and will not be logged going forward. - DBTEAMLOGEventTypeFileRequestAddDeadline, + /// (domains) Approved user's request to join team + DBTEAMLOGEventTypeDomainInvitesApproveRequestToJoinTeam, - /// Change a file request. - DBTEAMLOGEventTypeFileRequestChange, + /// (domains) Declined user's request to join team + DBTEAMLOGEventTypeDomainInvitesDeclineRequestToJoinTeam, - /// Changed the file request folder. This event is replaced by - /// file_request_change and will not be logged going forward. - DBTEAMLOGEventTypeFileRequestChangeFolder, + /// (domains) Sent domain invites to existing domain accounts (deprecated, + /// no longer logged) + DBTEAMLOGEventTypeDomainInvitesEmailExistingUsers, - /// Closed a file request. - DBTEAMLOGEventTypeFileRequestClose, + /// (domains) Requested to join team + DBTEAMLOGEventTypeDomainInvitesRequestToJoinTeam, - /// Created a file request. - DBTEAMLOGEventTypeFileRequestCreate, + /// (domains) Disabled "Automatically invite new users" (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToNo, - /// Received files for a file request. - DBTEAMLOGEventTypeFileRequestReceiveFile, + /// (domains) Enabled "Automatically invite new users" (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeDomainInvitesSetInviteNewUserPrefToYes, - /// Removed the file request deadline. This event is replaced by - /// file_request_change and will not be logged going forward. - DBTEAMLOGEventTypeFileRequestRemoveDeadline, + /// (domains) Failed to verify team domain + DBTEAMLOGEventTypeDomainVerificationAddDomainFail, - /// Sent file request to users via email. This event is replaced by - /// file_request_change and will not be logged going forward. - DBTEAMLOGEventTypeFileRequestSend, + /// (domains) Verified team domain + DBTEAMLOGEventTypeDomainVerificationAddDomainSuccess, - /// Added an external ID for group. - DBTEAMLOGEventTypeGroupAddExternalId, + /// (domains) Removed domain from list of verified team domains + DBTEAMLOGEventTypeDomainVerificationRemoveDomain, - /// Added team members to a group. - DBTEAMLOGEventTypeGroupAddMember, + /// (domains) Enabled domain invites (deprecated, no longer logged) + DBTEAMLOGEventTypeEnabledDomainInvites, - /// Changed the external ID for group. - DBTEAMLOGEventTypeGroupChangeExternalId, + /// (encryption) Canceled team encryption key deletion + DBTEAMLOGEventTypeTeamEncryptionKeyCancelKeyDeletion, - /// Changed group management type. - DBTEAMLOGEventTypeGroupChangeManagementType, + /// (encryption) Created team encryption key + DBTEAMLOGEventTypeTeamEncryptionKeyCreateKey, - /// Changed the manager permissions belonging to a group member. - DBTEAMLOGEventTypeGroupChangeMemberRole, + /// (encryption) Deleted team encryption key + DBTEAMLOGEventTypeTeamEncryptionKeyDeleteKey, - /// Created a group. - DBTEAMLOGEventTypeGroupCreate, + /// (encryption) Disabled team encryption key + DBTEAMLOGEventTypeTeamEncryptionKeyDisableKey, - /// Deleted a group. - DBTEAMLOGEventTypeGroupDelete, + /// (encryption) Enabled team encryption key + DBTEAMLOGEventTypeTeamEncryptionKeyEnableKey, - /// Moved a group. This event is deprecated and will not be logged going - /// forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeGroupMoved, + /// (encryption) Rotated team encryption key (deprecated, no longer logged) + DBTEAMLOGEventTypeTeamEncryptionKeyRotateKey, - /// Removed the external ID for group. - DBTEAMLOGEventTypeGroupRemoveExternalId, + /// (encryption) Scheduled encryption key deletion + DBTEAMLOGEventTypeTeamEncryptionKeyScheduleKeyDeletion, - /// Removed team members from a group. - DBTEAMLOGEventTypeGroupRemoveMember, + /// (file_operations) Applied naming convention + DBTEAMLOGEventTypeApplyNamingConvention, - /// Renamed a group. - DBTEAMLOGEventTypeGroupRename, + /// (file_operations) Created folders (deprecated, no longer logged) + DBTEAMLOGEventTypeCreateFolder, - /// Failed to sign in via EMM. This event is replaced by login_fail and will - /// not be logged going forward. - DBTEAMLOGEventTypeEmmError, + /// (file_operations) Added files and/or folders + DBTEAMLOGEventTypeFileAdd, - /// Failed to sign in. - DBTEAMLOGEventTypeLoginFail, + /// (file_operations) Added files and/or folders from automation + DBTEAMLOGEventTypeFileAddFromAutomation, - /// Signed in. - DBTEAMLOGEventTypeLoginSuccess, + /// (file_operations) Copied files and/or folders + DBTEAMLOGEventTypeFileCopy, - /// Signed out. - DBTEAMLOGEventTypeLogout, + /// (file_operations) Deleted files and/or folders + DBTEAMLOGEventTypeFileDelete, - /// Ended reseller support session. - DBTEAMLOGEventTypeResellerSupportSessionEnd, + /// (file_operations) Downloaded files and/or folders + DBTEAMLOGEventTypeFileDownload, - /// Started reseller support session. - DBTEAMLOGEventTypeResellerSupportSessionStart, + /// (file_operations) Edited files + DBTEAMLOGEventTypeFileEdit, - /// Ended admin sign-in-as session. - DBTEAMLOGEventTypeSignInAsSessionEnd, + /// (file_operations) Created copy reference to file/folder + DBTEAMLOGEventTypeFileGetCopyReference, - /// Started admin sign-in-as session. - DBTEAMLOGEventTypeSignInAsSessionStart, + /// (file_operations) Locked/unlocked editing for a file + DBTEAMLOGEventTypeFileLockingLockStatusChanged, - /// Failed to sign in via SSO. This event is replaced by login_fail and will - /// not be logged going forward. - DBTEAMLOGEventTypeSsoError, + /// (file_operations) Moved files and/or folders + DBTEAMLOGEventTypeFileMove, - /// Set team member name when joining team. - DBTEAMLOGEventTypeMemberAddName, + /// (file_operations) Permanently deleted files and/or folders + DBTEAMLOGEventTypeFilePermanentlyDelete, - /// Change the admin role belonging to team member. - DBTEAMLOGEventTypeMemberChangeAdminRole, + /// (file_operations) Previewed files and/or folders + DBTEAMLOGEventTypeFilePreview, - /// Changed team member email address. - DBTEAMLOGEventTypeMemberChangeEmail, + /// (file_operations) Renamed files and/or folders + DBTEAMLOGEventTypeFileRename, - /// Changed team member name. - DBTEAMLOGEventTypeMemberChangeName, + /// (file_operations) Restored deleted files and/or folders + DBTEAMLOGEventTypeFileRestore, - /// Changed the membership status of a team member. - DBTEAMLOGEventTypeMemberChangeStatus, + /// (file_operations) Reverted files to previous version + DBTEAMLOGEventTypeFileRevert, - /// Suggested a new team member to be added to the team. - DBTEAMLOGEventTypeMemberSuggest, + /// (file_operations) Rolled back file actions + DBTEAMLOGEventTypeFileRollbackChanges, - /// Added users to the membership of a Paper doc or folder. - DBTEAMLOGEventTypePaperContentAddMember, + /// (file_operations) Saved file/folder using copy reference + DBTEAMLOGEventTypeFileSaveCopyReference, - /// Added Paper doc or folder to a folder. - DBTEAMLOGEventTypePaperContentAddToFolder, + /// (file_operations) Updated folder overview + DBTEAMLOGEventTypeFolderOverviewDescriptionChanged, - /// Archived Paper doc or folder. - DBTEAMLOGEventTypePaperContentArchive, + /// (file_operations) Pinned item to folder overview + DBTEAMLOGEventTypeFolderOverviewItemPinned, - /// Created a Paper doc or folder. - DBTEAMLOGEventTypePaperContentCreate, + /// (file_operations) Unpinned item from folder overview + DBTEAMLOGEventTypeFolderOverviewItemUnpinned, - /// Permanently deleted a Paper doc or folder. - DBTEAMLOGEventTypePaperContentPermanentlyDelete, + /// (file_operations) Added a label + DBTEAMLOGEventTypeObjectLabelAdded, - /// Removed Paper doc or folder from a folder. - DBTEAMLOGEventTypePaperContentRemoveFromFolder, + /// (file_operations) Removed a label + DBTEAMLOGEventTypeObjectLabelRemoved, - /// Removed a user from the membership of a Paper doc or folder. - DBTEAMLOGEventTypePaperContentRemoveMember, + /// (file_operations) Updated a label's value + DBTEAMLOGEventTypeObjectLabelUpdatedValue, - /// Renamed Paper doc or folder. - DBTEAMLOGEventTypePaperContentRename, + /// (file_operations) Organized a folder with multi-file organize + DBTEAMLOGEventTypeOrganizeFolderWithTidy, - /// Restored an archived Paper doc or folder. - DBTEAMLOGEventTypePaperContentRestore, + /// (file_operations) Deleted files in Replay + DBTEAMLOGEventTypeReplayFileDelete, - /// Added a Paper doc comment. - DBTEAMLOGEventTypePaperDocAddComment, + /// (file_operations) Rewound a folder + DBTEAMLOGEventTypeRewindFolder, - /// Changed the access type of a Paper doc member. - DBTEAMLOGEventTypePaperDocChangeMemberRole, + /// (file_operations) Reverted naming convention + DBTEAMLOGEventTypeUndoNamingConvention, - /// Changed the sharing policy for Paper doc. - DBTEAMLOGEventTypePaperDocChangeSharingPolicy, + /// (file_operations) Removed multi-file organize + DBTEAMLOGEventTypeUndoOrganizeFolderWithTidy, - /// Followed or unfollowed a Paper doc. - DBTEAMLOGEventTypePaperDocChangeSubscription, + /// (file_operations) Tagged a file + DBTEAMLOGEventTypeUserTagsAdded, - /// Paper doc archived. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypePaperDocDeleted, + /// (file_operations) Removed tags + DBTEAMLOGEventTypeUserTagsRemoved, - /// Deleted a Paper doc comment. - DBTEAMLOGEventTypePaperDocDeleteComment, + /// (file_requests) Received files via Email to Dropbox + DBTEAMLOGEventTypeEmailIngestReceiveFile, - /// Downloaded a Paper doc in a particular output format. - DBTEAMLOGEventTypePaperDocDownload, + /// (file_requests) Changed file request + DBTEAMLOGEventTypeFileRequestChange, - /// Edited a Paper doc. - DBTEAMLOGEventTypePaperDocEdit, + /// (file_requests) Closed file request + DBTEAMLOGEventTypeFileRequestClose, - /// Edited a Paper doc comment. - DBTEAMLOGEventTypePaperDocEditComment, + /// (file_requests) Created file request + DBTEAMLOGEventTypeFileRequestCreate, - /// Followed a Paper doc. This event is replaced by - /// paper_doc_change_subscription and will not be logged going forward. - DBTEAMLOGEventTypePaperDocFollowed, + /// (file_requests) Delete file request + DBTEAMLOGEventTypeFileRequestDelete, - /// Mentioned a member in a Paper doc. - DBTEAMLOGEventTypePaperDocMention, + /// (file_requests) Received files for file request + DBTEAMLOGEventTypeFileRequestReceiveFile, - /// Requested to be a member on a Paper doc. - DBTEAMLOGEventTypePaperDocRequestAccess, + /// (groups) Added external ID for group + DBTEAMLOGEventTypeGroupAddExternalId, - /// Paper doc comment resolved. - DBTEAMLOGEventTypePaperDocResolveComment, + /// (groups) Added team members to group + DBTEAMLOGEventTypeGroupAddMember, - /// Restored a Paper doc to previous revision. - DBTEAMLOGEventTypePaperDocRevert, + /// (groups) Changed external ID for group + DBTEAMLOGEventTypeGroupChangeExternalId, - /// Paper doc link shared via slack. - DBTEAMLOGEventTypePaperDocSlackShare, + /// (groups) Changed group management type + DBTEAMLOGEventTypeGroupChangeManagementType, - /// Paper doc shared with team member. This event is deprecated and will not - /// be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypePaperDocTeamInvite, + /// (groups) Changed manager permissions of group member + DBTEAMLOGEventTypeGroupChangeMemberRole, - /// Paper doc trashed. - DBTEAMLOGEventTypePaperDocTrashed, + /// (groups) Created group + DBTEAMLOGEventTypeGroupCreate, - /// Unresolved a Paper doc comment. - DBTEAMLOGEventTypePaperDocUnresolveComment, + /// (groups) Deleted group + DBTEAMLOGEventTypeGroupDelete, - /// Paper doc untrashed. - DBTEAMLOGEventTypePaperDocUntrashed, + /// (groups) Updated group (deprecated, no longer logged) + DBTEAMLOGEventTypeGroupDescriptionUpdated, - /// Viewed Paper doc. - DBTEAMLOGEventTypePaperDocView, + /// (groups) Updated group join policy (deprecated, no longer logged) + DBTEAMLOGEventTypeGroupJoinPolicyUpdated, - /// Followed or unfollowed a Paper folder. - DBTEAMLOGEventTypePaperFolderChangeSubscription, + /// (groups) Moved group (deprecated, no longer logged) + DBTEAMLOGEventTypeGroupMoved, - /// Paper folder archived. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypePaperFolderDeleted, + /// (groups) Removed external ID for group + DBTEAMLOGEventTypeGroupRemoveExternalId, - /// Followed a Paper folder. This event is replaced by - /// paper_folder_change_subscription and will not be logged going forward. - DBTEAMLOGEventTypePaperFolderFollowed, + /// (groups) Removed team members from group + DBTEAMLOGEventTypeGroupRemoveMember, - /// Paper folder shared with team member. This event is deprecated and will - /// not be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypePaperFolderTeamInvite, + /// (groups) Renamed group + DBTEAMLOGEventTypeGroupRename, - /// Changed password. - DBTEAMLOGEventTypePasswordChange, + /// (logins) Unlocked/locked account after failed sign in attempts + DBTEAMLOGEventTypeAccountLockOrUnlocked, - /// Reset password. - DBTEAMLOGEventTypePasswordReset, + /// (logins) Failed to sign in via EMM (deprecated, replaced by 'Failed to + /// sign in') + DBTEAMLOGEventTypeEmmError, - /// Reset all team member passwords. - DBTEAMLOGEventTypePasswordResetAll, + /// (logins) Started trusted team admin session + DBTEAMLOGEventTypeGuestAdminSignedInViaTrustedTeams, - /// EMM excluded users report created. - DBTEAMLOGEventTypeEmmCreateExceptionsReport, + /// (logins) Ended trusted team admin session + DBTEAMLOGEventTypeGuestAdminSignedOutViaTrustedTeams, - /// EMM mobile app usage report created. - DBTEAMLOGEventTypeEmmCreateUsageReport, + /// (logins) Failed to sign in + DBTEAMLOGEventTypeLoginFail, - /// Smart Sync non-admin devices report created. - DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport, + /// (logins) Signed in + DBTEAMLOGEventTypeLoginSuccess, - /// Created a team activity report. - DBTEAMLOGEventTypeTeamActivityCreateReport, + /// (logins) Signed out + DBTEAMLOGEventTypeLogout, - /// Shared an album. - DBTEAMLOGEventTypeCollectionShare, + /// (logins) Ended reseller support session + DBTEAMLOGEventTypeResellerSupportSessionEnd, - /// Changed a Paper document to be invite-only. This event is deprecated and - /// will not be logged going forward as the associated product functionality - /// no longer exists. - DBTEAMLOGEventTypeNoteAclInviteOnly, + /// (logins) Started reseller support session + DBTEAMLOGEventTypeResellerSupportSessionStart, - /// Changed a Paper document to be link accessible. This event is deprecated - /// and will not be logged going forward as the associated product - /// functionality no longer exists. - DBTEAMLOGEventTypeNoteAclLink, + /// (logins) Ended admin sign-in-as session + DBTEAMLOGEventTypeSignInAsSessionEnd, - /// Changed a Paper document to be link accessible for the team. This event - /// is deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypeNoteAclTeamLink, + /// (logins) Started admin sign-in-as session + DBTEAMLOGEventTypeSignInAsSessionStart, - /// Shared a Paper doc. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeNoteShared, + /// (logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to + /// sign in') + DBTEAMLOGEventTypeSsoError, - /// Shared Paper document received. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeNoteShareReceive, + /// (members) Invited members to activate Backup + DBTEAMLOGEventTypeBackupAdminInvitationSent, - /// Opened a shared Paper doc. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeOpenNoteShared, + /// (members) Opened Backup invite + DBTEAMLOGEventTypeBackupInvitationOpened, - /// Added the team to a shared folder. - DBTEAMLOGEventTypeSfAddGroup, + /// (members) Created team invite link + DBTEAMLOGEventTypeCreateTeamInviteLink, - /// Allowed non collaborators to view links to files in a shared folder. - /// This event is deprecated and will not be logged going forward as the - /// associated product functionality no longer exists. - DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks, + /// (members) Deleted team invite link + DBTEAMLOGEventTypeDeleteTeamInviteLink, - /// Invited a group to a shared folder. This event is deprecated and will - /// not be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSfInviteGroup, + /// (members) Added an external ID for team member + DBTEAMLOGEventTypeMemberAddExternalId, - /// Changed parent of shared folder. - DBTEAMLOGEventTypeSfNest, + /// (members) Added team member name + DBTEAMLOGEventTypeMemberAddName, - /// Declined a team member's invitation to a shared folder. - DBTEAMLOGEventTypeSfTeamDecline, + /// (members) Changed team member admin role + DBTEAMLOGEventTypeMemberChangeAdminRole, - /// Granted access to a shared folder. This event is deprecated and will not - /// be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSfTeamGrantAccess, + /// (members) Changed team member email + DBTEAMLOGEventTypeMemberChangeEmail, - /// Invited team members to a shared folder. This event is deprecated and - /// will not be logged going forward as the associated product functionality - /// no longer exists. - DBTEAMLOGEventTypeSfTeamInvite, + /// (members) Changed the external ID for team member + DBTEAMLOGEventTypeMemberChangeExternalId, - /// Changed a team member's role in a shared folder. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypeSfTeamInviteChangeRole, + /// (members) Changed membership type (limited/full) of member (deprecated, + /// no longer logged) + DBTEAMLOGEventTypeMemberChangeMembershipType, - /// Joined a team member's shared folder. This event is deprecated and will - /// not be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSfTeamJoin, + /// (members) Changed team member name + DBTEAMLOGEventTypeMemberChangeName, - /// Joined a team member's shared folder from a link. This event is - /// deprecated and will not be logged going forward as the associated - /// product functionality no longer exists. - DBTEAMLOGEventTypeSfTeamJoinFromOobLink, + /// (members) Changed team member reseller role + DBTEAMLOGEventTypeMemberChangeResellerRole, - /// Unshared a folder with a team member. This event is deprecated and will - /// not be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSfTeamUninvite, + /// (members) Changed member status (invited, joined, suspended, etc.) + DBTEAMLOGEventTypeMemberChangeStatus, - /// Sent an email invitation to the membership of a shared file or folder. - DBTEAMLOGEventTypeSharedContentAddInvitees, + /// (members) Cleared manually added contacts + DBTEAMLOGEventTypeMemberDeleteManualContacts, - /// Added an expiry to the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentAddLinkExpiry, + /// (members) Deleted team member profile photo + DBTEAMLOGEventTypeMemberDeleteProfilePhoto, - /// Added a password to the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentAddLinkPassword, + /// (members) Permanently deleted contents of deleted team member account + DBTEAMLOGEventTypeMemberPermanentlyDeleteAccountContents, - /// Added users and/or groups to the membership of a shared file or folder. - DBTEAMLOGEventTypeSharedContentAddMember, + /// (members) Removed the external ID for team member + DBTEAMLOGEventTypeMemberRemoveExternalId, - /// Changed whether members can download the shared file or folder. - DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy, + /// (members) Set team member profile photo + DBTEAMLOGEventTypeMemberSetProfilePhoto, - /// Changed the access type of an invitee to a shared file or folder before - /// the invitation was claimed. - DBTEAMLOGEventTypeSharedContentChangeInviteeRole, + /// (members) Set custom member space limit + DBTEAMLOGEventTypeMemberSpaceLimitsAddCustomQuota, - /// Changed the audience of the link for a shared file or folder. - DBTEAMLOGEventTypeSharedContentChangeLinkAudience, + /// (members) Changed custom member space limit + DBTEAMLOGEventTypeMemberSpaceLimitsChangeCustomQuota, - /// Changed the expiry of the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentChangeLinkExpiry, + /// (members) Changed space limit status + DBTEAMLOGEventTypeMemberSpaceLimitsChangeStatus, - /// Changed the password on the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentChangeLinkPassword, + /// (members) Removed custom member space limit + DBTEAMLOGEventTypeMemberSpaceLimitsRemoveCustomQuota, - /// Changed the access type of a shared file or folder member. - DBTEAMLOGEventTypeSharedContentChangeMemberRole, + /// (members) Suggested person to add to team + DBTEAMLOGEventTypeMemberSuggest, - /// Changed whether members can see who viewed the shared file or folder. - DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy, + /// (members) Transferred contents of deleted member account to another + /// member + DBTEAMLOGEventTypeMemberTransferAccountContents, - /// Claimed membership to a team member's shared folder. - DBTEAMLOGEventTypeSharedContentClaimInvitation, + /// (members) Added pending secondary email + DBTEAMLOGEventTypePendingSecondaryEmailAdded, - /// Copied the shared file or folder to own Dropbox. - DBTEAMLOGEventTypeSharedContentCopy, + /// (members) Deleted secondary email + DBTEAMLOGEventTypeSecondaryEmailDeleted, - /// Downloaded the shared file or folder. - DBTEAMLOGEventTypeSharedContentDownload, + /// (members) Verified secondary email + DBTEAMLOGEventTypeSecondaryEmailVerified, - /// Left the membership of a shared file or folder. - DBTEAMLOGEventTypeSharedContentRelinquishMembership, + /// (members) Secondary mails policy changed + DBTEAMLOGEventTypeSecondaryMailsPolicyChanged, - /// Removed an invitee from the membership of a shared file or folder before - /// it was claimed. - DBTEAMLOGEventTypeSharedContentRemoveInvitee, + /// (paper) Added Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderAddPage, - /// Removed the expiry of the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry, + /// (paper) Added Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderAddSection, - /// Removed the password on the link for the shared file or folder. - DBTEAMLOGEventTypeSharedContentRemoveLinkPassword, + /// (paper) Removed Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderRemovePage, - /// Removed a user or a group from the membership of a shared file or - /// folder. - DBTEAMLOGEventTypeSharedContentRemoveMember, + /// (paper) Removed Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderRemoveSection, - /// Requested to be on the membership of a shared file or folder. - DBTEAMLOGEventTypeSharedContentRequestAccess, + /// (paper) Renamed Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderRenamePage, - /// Unshared a shared file or folder by clearing its membership and turning - /// off its link. - DBTEAMLOGEventTypeSharedContentUnshare, + /// (paper) Renamed Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderRenameSection, - /// Previewed the shared file or folder. - DBTEAMLOGEventTypeSharedContentView, + /// (paper) Reordered Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeBinderReorderPage, - /// Set or unset the confidential flag on a shared folder. - DBTEAMLOGEventTypeSharedFolderChangeConfidentiality, + /// (paper) Reordered Binder section (deprecated, replaced by 'Edited + /// files') + DBTEAMLOGEventTypeBinderReorderSection, - /// Changed who can access the shared folder via a link. - DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy, + /// (paper) Added users and/or groups to Paper doc/folder + DBTEAMLOGEventTypePaperContentAddMember, - /// Changed who can manage the membership of a shared folder. - DBTEAMLOGEventTypeSharedFolderChangeMemberManagementPolicy, + /// (paper) Added Paper doc/folder to folder + DBTEAMLOGEventTypePaperContentAddToFolder, - /// Changed who can become a member of the shared folder. - DBTEAMLOGEventTypeSharedFolderChangeMemberPolicy, + /// (paper) Archived Paper doc/folder + DBTEAMLOGEventTypePaperContentArchive, - /// Created a shared folder. - DBTEAMLOGEventTypeSharedFolderCreate, + /// (paper) Created Paper doc/folder + DBTEAMLOGEventTypePaperContentCreate, - /// Added a shared folder to own Dropbox. - DBTEAMLOGEventTypeSharedFolderMount, + /// (paper) Permanently deleted Paper doc/folder + DBTEAMLOGEventTypePaperContentPermanentlyDelete, - /// Transferred the ownership of a shared folder to another member. - DBTEAMLOGEventTypeSharedFolderTransferOwnership, + /// (paper) Removed Paper doc/folder from folder + DBTEAMLOGEventTypePaperContentRemoveFromFolder, - /// Deleted a shared folder from Dropbox. - DBTEAMLOGEventTypeSharedFolderUnmount, + /// (paper) Removed users and/or groups from Paper doc/folder + DBTEAMLOGEventTypePaperContentRemoveMember, - /// Shared Paper document was opened. This event is deprecated and will not - /// be logged going forward as the associated product functionality no - /// longer exists. - DBTEAMLOGEventTypeSharedNoteOpened, + /// (paper) Renamed Paper doc/folder + DBTEAMLOGEventTypePaperContentRename, - /// Created a link to a file using an app. - DBTEAMLOGEventTypeShmodelAppCreate, + /// (paper) Restored archived Paper doc/folder + DBTEAMLOGEventTypePaperContentRestore, - /// Created a new link. - DBTEAMLOGEventTypeShmodelCreate, + /// (paper) Added Paper doc comment + DBTEAMLOGEventTypePaperDocAddComment, - /// Removed a link. - DBTEAMLOGEventTypeShmodelDisable, + /// (paper) Changed member permissions for Paper doc + DBTEAMLOGEventTypePaperDocChangeMemberRole, - /// Shared a link with Facebook users. - DBTEAMLOGEventTypeShmodelFbShare, + /// (paper) Changed sharing setting for Paper doc + DBTEAMLOGEventTypePaperDocChangeSharingPolicy, - /// Shared a link with a group. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeShmodelGroupShare, + /// (paper) Followed/unfollowed Paper doc + DBTEAMLOGEventTypePaperDocChangeSubscription, - /// Removed the expiration date from a link. - DBTEAMLOGEventTypeShmodelRemoveExpiration, + /// (paper) Archived Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypePaperDocDeleted, - /// Added an expiration date to a link. - DBTEAMLOGEventTypeShmodelSetExpiration, + /// (paper) Deleted Paper doc comment + DBTEAMLOGEventTypePaperDocDeleteComment, - /// Added a team member's file/folder to their Dropbox from a link. - DBTEAMLOGEventTypeShmodelTeamCopy, + /// (paper) Downloaded Paper doc in specific format + DBTEAMLOGEventTypePaperDocDownload, - /// Downloaded a team member's file/folder from a link. - DBTEAMLOGEventTypeShmodelTeamDownload, + /// (paper) Edited Paper doc + DBTEAMLOGEventTypePaperDocEdit, - /// Shared a link with team members. - DBTEAMLOGEventTypeShmodelTeamShare, + /// (paper) Edited Paper doc comment + DBTEAMLOGEventTypePaperDocEditComment, - /// Opened a team member's link. - DBTEAMLOGEventTypeShmodelTeamView, + /// (paper) Followed Paper doc (deprecated, replaced by 'Followed/unfollowed + /// Paper doc') + DBTEAMLOGEventTypePaperDocFollowed, - /// Password-protected a link. - DBTEAMLOGEventTypeShmodelVisibilityPassword, + /// (paper) Mentioned user in Paper doc + DBTEAMLOGEventTypePaperDocMention, - /// Made a file/folder visible to anyone with the link. - DBTEAMLOGEventTypeShmodelVisibilityPublic, + /// (paper) Transferred ownership of Paper doc + DBTEAMLOGEventTypePaperDocOwnershipChanged, - /// Made a file/folder visible only to team members with the link. - DBTEAMLOGEventTypeShmodelVisibilityTeamOnly, + /// (paper) Requested access to Paper doc + DBTEAMLOGEventTypePaperDocRequestAccess, - /// Added the X.509 certificate for SSO. - DBTEAMLOGEventTypeSsoAddCert, + /// (paper) Resolved Paper doc comment + DBTEAMLOGEventTypePaperDocResolveComment, - /// Added sign-in URL for SSO. - DBTEAMLOGEventTypeSsoAddLoginUrl, + /// (paper) Restored Paper doc to previous version + DBTEAMLOGEventTypePaperDocRevert, - /// Added sign-out URL for SSO. - DBTEAMLOGEventTypeSsoAddLogoutUrl, + /// (paper) Shared Paper doc via Slack + DBTEAMLOGEventTypePaperDocSlackShare, - /// Changed the X.509 certificate for SSO. - DBTEAMLOGEventTypeSsoChangeCert, + /// (paper) Shared Paper doc with users and/or groups (deprecated, no longer + /// logged) + DBTEAMLOGEventTypePaperDocTeamInvite, - /// Changed the sign-in URL for SSO. - DBTEAMLOGEventTypeSsoChangeLoginUrl, + /// (paper) Deleted Paper doc + DBTEAMLOGEventTypePaperDocTrashed, - /// Changed the sign-out URL for SSO. - DBTEAMLOGEventTypeSsoChangeLogoutUrl, + /// (paper) Unresolved Paper doc comment + DBTEAMLOGEventTypePaperDocUnresolveComment, - /// Changed the SAML identity mode for SSO. - DBTEAMLOGEventTypeSsoChangeSamlIdentityMode, + /// (paper) Restored Paper doc + DBTEAMLOGEventTypePaperDocUntrashed, - /// Removed the X.509 certificate for SSO. - DBTEAMLOGEventTypeSsoRemoveCert, + /// (paper) Viewed Paper doc + DBTEAMLOGEventTypePaperDocView, - /// Removed the sign-in URL for SSO. - DBTEAMLOGEventTypeSsoRemoveLoginUrl, + /// (paper) Changed Paper external sharing setting to anyone (deprecated, no + /// longer logged) + DBTEAMLOGEventTypePaperExternalViewAllow, - /// Removed single sign-on logout URL. - DBTEAMLOGEventTypeSsoRemoveLogoutUrl, + /// (paper) Changed Paper external sharing setting to default team + /// (deprecated, no longer logged) + DBTEAMLOGEventTypePaperExternalViewDefaultTeam, - /// Changed the archival status of a team folder. - DBTEAMLOGEventTypeTeamFolderChangeStatus, + /// (paper) Changed Paper external sharing setting to team-only (deprecated, + /// no longer logged) + DBTEAMLOGEventTypePaperExternalViewForbid, - /// Created a new team folder in active status. - DBTEAMLOGEventTypeTeamFolderCreate, + /// (paper) Followed/unfollowed Paper folder + DBTEAMLOGEventTypePaperFolderChangeSubscription, - /// Downgraded a team folder to a regular shared folder. - DBTEAMLOGEventTypeTeamFolderDowngrade, + /// (paper) Archived Paper folder (deprecated, no longer logged) + DBTEAMLOGEventTypePaperFolderDeleted, - /// Permanently deleted an archived team folder. - DBTEAMLOGEventTypeTeamFolderPermanentlyDelete, + /// (paper) Followed Paper folder (deprecated, replaced by + /// 'Followed/unfollowed Paper folder') + DBTEAMLOGEventTypePaperFolderFollowed, - /// Renamed an active or archived team folder. - DBTEAMLOGEventTypeTeamFolderRename, + /// (paper) Shared Paper folder with users and/or groups (deprecated, no + /// longer logged) + DBTEAMLOGEventTypePaperFolderTeamInvite, - /// Changed the account capture policy on a domain belonging to the team. - DBTEAMLOGEventTypeAccountCaptureChangePolicy, + /// (paper) Changed permissions for published doc + DBTEAMLOGEventTypePaperPublishedLinkChangePermission, - /// Disabled allow downloads. This event is deprecated and will not be - /// logged going forward as the associated product functionality no longer - /// exists. - DBTEAMLOGEventTypeAllowDownloadDisabled, + /// (paper) Published doc + DBTEAMLOGEventTypePaperPublishedLinkCreate, - /// Enabled allow downloads. This event is deprecated and will not be logged - /// going forward as the associated product functionality no longer exists. - DBTEAMLOGEventTypeAllowDownloadEnabled, + /// (paper) Unpublished doc + DBTEAMLOGEventTypePaperPublishedLinkDisabled, - /// Set a restriction policy regarding the location of data centers where - /// team data resides. - DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy, + /// (paper) Viewed published doc + DBTEAMLOGEventTypePaperPublishedLinkView, - /// Satisfied a previously set restriction policy regarding the location of - /// data centers where team data resides (i.e. all data have been migrated - /// according to the restriction placed). - DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy, + /// (passwords) Changed password + DBTEAMLOGEventTypePasswordChange, - /// Set or removed a limit on the number of computers each team member can - /// link to their work Dropbox account. - DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy, + /// (passwords) Reset password + DBTEAMLOGEventTypePasswordReset, - /// Set or removed a limit on the number of mobiles devices each team member - /// can link to their work Dropbox account. - DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy, + /// (passwords) Reset all team member passwords + DBTEAMLOGEventTypePasswordResetAll, - /// Changed the action taken when a team member is already over the limits - /// (e.g when they join the team, an admin lowers limits, etc.). - DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction, + /// (reports) Created Classification report + DBTEAMLOGEventTypeClassificationCreateReport, - /// Changed the action taken with respect to approval limits when a team - /// member unlinks an approved device. - DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction, + /// (reports) Couldn't create Classification report + DBTEAMLOGEventTypeClassificationCreateReportFail, - /// Added an exception for one or more team members to optionally use the - /// regular Dropbox app when EMM is enabled. - DBTEAMLOGEventTypeEmmAddException, + /// (reports) Created EMM-excluded users report + DBTEAMLOGEventTypeEmmCreateExceptionsReport, - /// Enabled or disabled enterprise mobility management for team members. - DBTEAMLOGEventTypeEmmChangePolicy, + /// (reports) Created EMM mobile app usage report + DBTEAMLOGEventTypeEmmCreateUsageReport, - /// Removed an exception for one or more team members to optionally use the - /// regular Dropbox app when EMM is enabled. - DBTEAMLOGEventTypeEmmRemoveException, + /// (reports) Created member data report + DBTEAMLOGEventTypeExportMembersReport, - /// Accepted or opted out of extended version history. - DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy, + /// (reports) Failed to create members data report + DBTEAMLOGEventTypeExportMembersReportFail, - /// Enabled or disabled commenting on team files. - DBTEAMLOGEventTypeFileCommentsChangePolicy, + /// (reports) Created External sharing report + DBTEAMLOGEventTypeExternalSharingCreateReport, - /// Enabled or disabled file requests. - DBTEAMLOGEventTypeFileRequestsChangePolicy, + /// (reports) Couldn't create External sharing report + DBTEAMLOGEventTypeExternalSharingReportFailed, - /// Enabled file request emails for everyone. This event is deprecated and - /// will not be logged going forward as the associated product functionality - /// no longer exists. - DBTEAMLOGEventTypeFileRequestsEmailsEnabled, + /// (reports) Report created: Links created with no expiration + DBTEAMLOGEventTypeNoExpirationLinkGenCreateReport, - /// Allowed file request emails for the team. This event is deprecated and - /// will not be logged going forward as the associated product functionality - /// no longer exists. - DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly, + /// (reports) Couldn't create report: Links created with no expiration + DBTEAMLOGEventTypeNoExpirationLinkGenReportFailed, - /// Enabled or disabled Google single sign-on for the team. - DBTEAMLOGEventTypeGoogleSsoChangePolicy, + /// (reports) Report created: Links created without passwords + DBTEAMLOGEventTypeNoPasswordLinkGenCreateReport, - /// Changed who can create groups. - DBTEAMLOGEventTypeGroupUserManagementChangePolicy, + /// (reports) Couldn't create report: Links created without passwords + DBTEAMLOGEventTypeNoPasswordLinkGenReportFailed, - /// Changed whether users can find the team when not invited. - DBTEAMLOGEventTypeMemberRequestsChangePolicy, + /// (reports) Report created: Views of links without passwords + DBTEAMLOGEventTypeNoPasswordLinkViewCreateReport, - /// Added an exception for one or more team members to bypass space limits - /// imposed by policy. - DBTEAMLOGEventTypeMemberSpaceLimitsAddException, + /// (reports) Couldn't create report: Views of links without passwords + DBTEAMLOGEventTypeNoPasswordLinkViewReportFailed, - /// Changed the team default limit level. - DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy, + /// (reports) Report created: Views of old links + DBTEAMLOGEventTypeOutdatedLinkViewCreateReport, - /// Removed an exception for one or more team members to bypass space limits - /// imposed by policy. - DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException, + /// (reports) Couldn't create report: Views of old links + DBTEAMLOGEventTypeOutdatedLinkViewReportFailed, - /// Enabled or disabled the option for team members to suggest new members - /// to add to the team. - DBTEAMLOGEventTypeMemberSuggestionsChangePolicy, + /// (reports) Exported all team Paper docs + DBTEAMLOGEventTypePaperAdminExportStart, - /// Enabled or disabled the Microsoft Office add-in, which lets team members - /// save files to Dropbox directly from Microsoft Office. - DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy, + /// (reports) Created ransomware report + DBTEAMLOGEventTypeRansomwareAlertCreateReport, - /// Enabled or disabled network control. - DBTEAMLOGEventTypeNetworkControlChangePolicy, + /// (reports) Couldn't generate ransomware report + DBTEAMLOGEventTypeRansomwareAlertCreateReportFailed, - /// Changed whether Dropbox Paper, when enabled, is deployed to all teams or - /// to specific members of the team. - DBTEAMLOGEventTypePaperChangeDeploymentPolicy, + /// (reports) Created Smart Sync non-admin devices report + DBTEAMLOGEventTypeSmartSyncCreateAdminPrivilegeReport, - /// Changed whether non team members can view Paper documents using a link. - /// This event is deprecated and will not be logged going forward as the - /// associated product functionality no longer exists. - DBTEAMLOGEventTypePaperChangeMemberLinkPolicy, + /// (reports) Created team activity report + DBTEAMLOGEventTypeTeamActivityCreateReport, - /// Changed whether team members can share Paper documents externally (i.e. - /// outside the team), and if so, whether they should be accessible only by - /// team members or anyone by default. - DBTEAMLOGEventTypePaperChangeMemberPolicy, + /// (reports) Couldn't generate team activity report + DBTEAMLOGEventTypeTeamActivityCreateReportFail, - /// Enabled or disabled Dropbox Paper for the team. - DBTEAMLOGEventTypePaperChangePolicy, + /// (sharing) Shared album + DBTEAMLOGEventTypeCollectionShare, - /// Enabled or disabled the ability of team members to permanently delete - /// content. - DBTEAMLOGEventTypePermanentDeleteChangePolicy, + /// (sharing) Transfer files added + DBTEAMLOGEventTypeFileTransfersFileAdd, - /// Changed whether team members can join shared folders owned externally - /// (i.e. outside the team). - DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy, + /// (sharing) Deleted transfer + DBTEAMLOGEventTypeFileTransfersTransferDelete, - /// Changed whether team members can share links externally (i.e. outside - /// the team), and if so, whether links should be accessible only by team - /// members or anyone by default. - DBTEAMLOGEventTypeSharingChangeLinkPolicy, + /// (sharing) Transfer downloaded + DBTEAMLOGEventTypeFileTransfersTransferDownload, - /// Changed whether team members can share files and folders externally - /// (i.e. outside the team). - DBTEAMLOGEventTypeSharingChangeMemberPolicy, + /// (sharing) Sent transfer + DBTEAMLOGEventTypeFileTransfersTransferSend, - /// Changed the default Smart Sync policy for team members. - DBTEAMLOGEventTypeSmartSyncChangePolicy, + /// (sharing) Viewed transfer + DBTEAMLOGEventTypeFileTransfersTransferView, - /// Opted team into Smart Sync. - DBTEAMLOGEventTypeSmartSyncNotOptOut, + /// (sharing) Changed Paper doc to invite-only (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeNoteAclInviteOnly, - /// Opted team out of Smart Sync. - DBTEAMLOGEventTypeSmartSyncOptOut, + /// (sharing) Changed Paper doc to link-accessible (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeNoteAclLink, - /// Change the single sign-on policy for the team. - DBTEAMLOGEventTypeSsoChangePolicy, + /// (sharing) Changed Paper doc to link-accessible for team (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeNoteAclTeamLink, - /// Change two-step verification policy for the team. - DBTEAMLOGEventTypeTfaChangePolicy, + /// (sharing) Shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeNoteShared, - /// Enabled or disabled the option for team members to link a personal - /// Dropbox account in addition to their work account to the same computer. - DBTEAMLOGEventTypeTwoAccountChangePolicy, + /// (sharing) Shared received Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeNoteShareReceive, - /// Changed how long team members can stay signed in to Dropbox on the web. - DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy, + /// (sharing) Opened shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeOpenNoteShared, - /// Changed how long team members can be idle while signed in to Dropbox on - /// the web. - DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy, + /// (sharing) Created shared link in Replay + DBTEAMLOGEventTypeReplayFileSharedLinkCreated, - /// Added a team logo to be displayed on shared link headers. - DBTEAMLOGEventTypeTeamProfileAddLogo, + /// (sharing) Modified shared link in Replay + DBTEAMLOGEventTypeReplayFileSharedLinkModified, - /// Changed the default language for the team. - DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage, + /// (sharing) Added member to Replay Project + DBTEAMLOGEventTypeReplayProjectTeamAdd, - /// Changed the team logo to be displayed on shared link headers. - DBTEAMLOGEventTypeTeamProfileChangeLogo, + /// (sharing) Removed member from Replay Project + DBTEAMLOGEventTypeReplayProjectTeamDelete, - /// Changed the team name. - DBTEAMLOGEventTypeTeamProfileChangeName, + /// (sharing) Added team to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeSfAddGroup, - /// Removed the team logo to be displayed on shared link headers. - DBTEAMLOGEventTypeTeamProfileRemoveLogo, + /// (sharing) Allowed non-collaborators to view links to files in shared + /// folder (deprecated, no longer logged) + DBTEAMLOGEventTypeSfAllowNonMembersToViewSharedLinks, - /// Added a backup phone for two-step verification. - DBTEAMLOGEventTypeTfaAddBackupPhone, + /// (sharing) Set team members to see warning before sharing folders outside + /// team (deprecated, no longer logged) + DBTEAMLOGEventTypeSfExternalInviteWarn, - /// Added a security key for two-step verification. - DBTEAMLOGEventTypeTfaAddSecurityKey, + /// (sharing) Invited Facebook users to shared folder (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeSfFbInvite, - /// Changed the backup phone for two-step verification. - DBTEAMLOGEventTypeTfaChangeBackupPhone, + /// (sharing) Changed Facebook user's role in shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSfFbInviteChangeRole, - /// Enabled, disabled or changed the configuration for two-step - /// verification. - DBTEAMLOGEventTypeTfaChangeStatus, + /// (sharing) Uninvited Facebook user from shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSfFbUninvite, - /// Removed the backup phone for two-step verification. - DBTEAMLOGEventTypeTfaRemoveBackupPhone, + /// (sharing) Invited group to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeSfInviteGroup, - /// Removed a security key for two-step verification. - DBTEAMLOGEventTypeTfaRemoveSecurityKey, + /// (sharing) Granted access to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeSfTeamGrantAccess, - /// Reset two-step verification for team member. - DBTEAMLOGEventTypeTfaReset, + /// (sharing) Invited team members to shared folder (deprecated, replaced by + /// 'Invited user to Dropbox and added them to shared file/folder') + DBTEAMLOGEventTypeSfTeamInvite, - /// (no description). - DBTEAMLOGEventTypeOther, + /// (sharing) Changed team member's role in shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSfTeamInviteChangeRole, + + /// (sharing) Joined team member's shared folder (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeSfTeamJoin, + + /// (sharing) Joined team member's shared folder from link (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSfTeamJoinFromOobLink, + + /// (sharing) Unshared folder with team member (deprecated, replaced by + /// 'Removed invitee from shared file/folder before invite was accepted') + DBTEAMLOGEventTypeSfTeamUninvite, + + /// (sharing) Invited user to Dropbox and added them to shared file/folder + DBTEAMLOGEventTypeSharedContentAddInvitees, + + /// (sharing) Added expiration date to link for shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeSharedContentAddLinkExpiry, + + /// (sharing) Added password to link for shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSharedContentAddLinkPassword, + + /// (sharing) Added users and/or groups to shared file/folder + DBTEAMLOGEventTypeSharedContentAddMember, + + /// (sharing) Changed whether members can download shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeSharedContentChangeDownloadsPolicy, + + /// (sharing) Changed access type of invitee to shared file/folder before + /// invite was accepted + DBTEAMLOGEventTypeSharedContentChangeInviteeRole, + + /// (sharing) Changed link audience of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSharedContentChangeLinkAudience, + + /// (sharing) Changed link expiration of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSharedContentChangeLinkExpiry, + + /// (sharing) Changed link password of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSharedContentChangeLinkPassword, + + /// (sharing) Changed access type of shared file/folder member + DBTEAMLOGEventTypeSharedContentChangeMemberRole, + + /// (sharing) Changed whether members can see who viewed shared file/folder + DBTEAMLOGEventTypeSharedContentChangeViewerInfoPolicy, + + /// (sharing) Acquired membership of shared file/folder by accepting invite + DBTEAMLOGEventTypeSharedContentClaimInvitation, + + /// (sharing) Copied shared file/folder to own Dropbox + DBTEAMLOGEventTypeSharedContentCopy, + + /// (sharing) Downloaded shared file/folder + DBTEAMLOGEventTypeSharedContentDownload, + + /// (sharing) Left shared file/folder + DBTEAMLOGEventTypeSharedContentRelinquishMembership, + + /// (sharing) Removed invitee from shared file/folder before invite was + /// accepted + DBTEAMLOGEventTypeSharedContentRemoveInvitees, + + /// (sharing) Removed link expiration date of shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeSharedContentRemoveLinkExpiry, + + /// (sharing) Removed link password of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeSharedContentRemoveLinkPassword, + + /// (sharing) Removed user/group from shared file/folder + DBTEAMLOGEventTypeSharedContentRemoveMember, + + /// (sharing) Requested access to shared file/folder + DBTEAMLOGEventTypeSharedContentRequestAccess, + + /// (sharing) Restored shared file/folder invitees + DBTEAMLOGEventTypeSharedContentRestoreInvitees, + + /// (sharing) Restored users and/or groups to membership of shared + /// file/folder + DBTEAMLOGEventTypeSharedContentRestoreMember, + + /// (sharing) Unshared file/folder by clearing membership + DBTEAMLOGEventTypeSharedContentUnshare, + + /// (sharing) Previewed shared file/folder + DBTEAMLOGEventTypeSharedContentView, + + /// (sharing) Changed who can access shared folder via link + DBTEAMLOGEventTypeSharedFolderChangeLinkPolicy, + + /// (sharing) Changed whether shared folder inherits members from parent + /// folder + DBTEAMLOGEventTypeSharedFolderChangeMembersInheritancePolicy, + + /// (sharing) Changed who can add/remove members of shared folder + DBTEAMLOGEventTypeSharedFolderChangeMembersManagementPolicy, + + /// (sharing) Changed who can become member of shared folder + DBTEAMLOGEventTypeSharedFolderChangeMembersPolicy, + + /// (sharing) Created shared folder + DBTEAMLOGEventTypeSharedFolderCreate, + + /// (sharing) Declined team member's invite to shared folder + DBTEAMLOGEventTypeSharedFolderDeclineInvitation, + + /// (sharing) Added shared folder to own Dropbox + DBTEAMLOGEventTypeSharedFolderMount, + + /// (sharing) Changed parent of shared folder + DBTEAMLOGEventTypeSharedFolderNest, + + /// (sharing) Transferred ownership of shared folder to another member + DBTEAMLOGEventTypeSharedFolderTransferOwnership, + + /// (sharing) Deleted shared folder from Dropbox + DBTEAMLOGEventTypeSharedFolderUnmount, + + /// (sharing) Added shared link expiration date + DBTEAMLOGEventTypeSharedLinkAddExpiry, + + /// (sharing) Changed shared link expiration date + DBTEAMLOGEventTypeSharedLinkChangeExpiry, + + /// (sharing) Changed visibility of shared link + DBTEAMLOGEventTypeSharedLinkChangeVisibility, + + /// (sharing) Added file/folder to Dropbox from shared link + DBTEAMLOGEventTypeSharedLinkCopy, + + /// (sharing) Created shared link + DBTEAMLOGEventTypeSharedLinkCreate, + + /// (sharing) Removed shared link + DBTEAMLOGEventTypeSharedLinkDisable, + + /// (sharing) Downloaded file/folder from shared link + DBTEAMLOGEventTypeSharedLinkDownload, + + /// (sharing) Removed shared link expiration date + DBTEAMLOGEventTypeSharedLinkRemoveExpiry, + + /// (sharing) Added an expiration date to the shared link + DBTEAMLOGEventTypeSharedLinkSettingsAddExpiration, + + /// (sharing) Added a password to the shared link + DBTEAMLOGEventTypeSharedLinkSettingsAddPassword, + + /// (sharing) Disabled downloads + DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadDisabled, + + /// (sharing) Enabled downloads + DBTEAMLOGEventTypeSharedLinkSettingsAllowDownloadEnabled, + + /// (sharing) Changed the audience of the shared link + DBTEAMLOGEventTypeSharedLinkSettingsChangeAudience, + + /// (sharing) Changed the expiration date of the shared link + DBTEAMLOGEventTypeSharedLinkSettingsChangeExpiration, + + /// (sharing) Changed the password of the shared link + DBTEAMLOGEventTypeSharedLinkSettingsChangePassword, + + /// (sharing) Removed the expiration date from the shared link + DBTEAMLOGEventTypeSharedLinkSettingsRemoveExpiration, + + /// (sharing) Removed the password from the shared link + DBTEAMLOGEventTypeSharedLinkSettingsRemovePassword, + + /// (sharing) Added members as audience of shared link + DBTEAMLOGEventTypeSharedLinkShare, + + /// (sharing) Opened shared link + DBTEAMLOGEventTypeSharedLinkView, + + /// (sharing) Opened shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeSharedNoteOpened, + + /// (sharing) Disabled downloads for link (deprecated, no longer logged) + DBTEAMLOGEventTypeShmodelDisableDownloads, + + /// (sharing) Enabled downloads for link (deprecated, no longer logged) + DBTEAMLOGEventTypeShmodelEnableDownloads, + + /// (sharing) Shared link with group (deprecated, no longer logged) + DBTEAMLOGEventTypeShmodelGroupShare, + + /// (showcase) Granted access to showcase + DBTEAMLOGEventTypeShowcaseAccessGranted, + + /// (showcase) Added member to showcase + DBTEAMLOGEventTypeShowcaseAddMember, + + /// (showcase) Archived showcase + DBTEAMLOGEventTypeShowcaseArchived, + + /// (showcase) Created showcase + DBTEAMLOGEventTypeShowcaseCreated, + + /// (showcase) Deleted showcase comment + DBTEAMLOGEventTypeShowcaseDeleteComment, + + /// (showcase) Edited showcase + DBTEAMLOGEventTypeShowcaseEdited, + + /// (showcase) Edited showcase comment + DBTEAMLOGEventTypeShowcaseEditComment, + + /// (showcase) Added file to showcase + DBTEAMLOGEventTypeShowcaseFileAdded, + + /// (showcase) Downloaded file from showcase + DBTEAMLOGEventTypeShowcaseFileDownload, + + /// (showcase) Removed file from showcase + DBTEAMLOGEventTypeShowcaseFileRemoved, + + /// (showcase) Viewed file in showcase + DBTEAMLOGEventTypeShowcaseFileView, + + /// (showcase) Permanently deleted showcase + DBTEAMLOGEventTypeShowcasePermanentlyDeleted, + + /// (showcase) Added showcase comment + DBTEAMLOGEventTypeShowcasePostComment, + + /// (showcase) Removed member from showcase + DBTEAMLOGEventTypeShowcaseRemoveMember, + + /// (showcase) Renamed showcase + DBTEAMLOGEventTypeShowcaseRenamed, + + /// (showcase) Requested access to showcase + DBTEAMLOGEventTypeShowcaseRequestAccess, + + /// (showcase) Resolved showcase comment + DBTEAMLOGEventTypeShowcaseResolveComment, + + /// (showcase) Unarchived showcase + DBTEAMLOGEventTypeShowcaseRestored, + + /// (showcase) Deleted showcase + DBTEAMLOGEventTypeShowcaseTrashed, + + /// (showcase) Deleted showcase (old version) (deprecated, replaced by + /// 'Deleted showcase') + DBTEAMLOGEventTypeShowcaseTrashedDeprecated, + + /// (showcase) Unresolved showcase comment + DBTEAMLOGEventTypeShowcaseUnresolveComment, + + /// (showcase) Restored showcase + DBTEAMLOGEventTypeShowcaseUntrashed, + + /// (showcase) Restored showcase (old version) (deprecated, replaced by + /// 'Restored showcase') + DBTEAMLOGEventTypeShowcaseUntrashedDeprecated, + + /// (showcase) Viewed showcase + DBTEAMLOGEventTypeShowcaseView, + + /// (sso) Added X.509 certificate for SSO + DBTEAMLOGEventTypeSsoAddCert, + + /// (sso) Added sign-in URL for SSO + DBTEAMLOGEventTypeSsoAddLoginUrl, + + /// (sso) Added sign-out URL for SSO + DBTEAMLOGEventTypeSsoAddLogoutUrl, + + /// (sso) Changed X.509 certificate for SSO + DBTEAMLOGEventTypeSsoChangeCert, + + /// (sso) Changed sign-in URL for SSO + DBTEAMLOGEventTypeSsoChangeLoginUrl, + + /// (sso) Changed sign-out URL for SSO + DBTEAMLOGEventTypeSsoChangeLogoutUrl, + + /// (sso) Changed SAML identity mode for SSO + DBTEAMLOGEventTypeSsoChangeSamlIdentityMode, + + /// (sso) Removed X.509 certificate for SSO + DBTEAMLOGEventTypeSsoRemoveCert, + + /// (sso) Removed sign-in URL for SSO + DBTEAMLOGEventTypeSsoRemoveLoginUrl, + + /// (sso) Removed sign-out URL for SSO + DBTEAMLOGEventTypeSsoRemoveLogoutUrl, + + /// (team_folders) Changed archival status of team folder + DBTEAMLOGEventTypeTeamFolderChangeStatus, + + /// (team_folders) Created team folder in active status + DBTEAMLOGEventTypeTeamFolderCreate, + + /// (team_folders) Downgraded team folder to regular shared folder + DBTEAMLOGEventTypeTeamFolderDowngrade, + + /// (team_folders) Permanently deleted archived team folder + DBTEAMLOGEventTypeTeamFolderPermanentlyDelete, + + /// (team_folders) Renamed active/archived team folder + DBTEAMLOGEventTypeTeamFolderRename, + + /// (team_folders) Changed sync default + DBTEAMLOGEventTypeTeamSelectiveSyncSettingsChanged, + + /// (team_policies) Changed account capture setting on team domain + DBTEAMLOGEventTypeAccountCaptureChangePolicy, + + /// (team_policies) Changed admin reminder settings for requests to join the + /// team + DBTEAMLOGEventTypeAdminEmailRemindersChanged, + + /// (team_policies) Disabled downloads (deprecated, no longer logged) + DBTEAMLOGEventTypeAllowDownloadDisabled, + + /// (team_policies) Enabled downloads (deprecated, no longer logged) + DBTEAMLOGEventTypeAllowDownloadEnabled, + + /// (team_policies) Changed app permissions + DBTEAMLOGEventTypeAppPermissionsChanged, + + /// (team_policies) Changed camera uploads setting for team + DBTEAMLOGEventTypeCameraUploadsPolicyChanged, + + /// (team_policies) Changed Capture transcription policy for team + DBTEAMLOGEventTypeCaptureTranscriptPolicyChanged, + + /// (team_policies) Changed classification policy for team + DBTEAMLOGEventTypeClassificationChangePolicy, + + /// (team_policies) Changed computer backup policy for team + DBTEAMLOGEventTypeComputerBackupPolicyChanged, + + /// (team_policies) Changed content management setting + DBTEAMLOGEventTypeContentAdministrationPolicyChanged, + + /// (team_policies) Set restrictions on data center locations where team + /// data resides + DBTEAMLOGEventTypeDataPlacementRestrictionChangePolicy, + + /// (team_policies) Completed restrictions on data center locations where + /// team data resides + DBTEAMLOGEventTypeDataPlacementRestrictionSatisfyPolicy, + + /// (team_policies) Added members to device approvals exception list + DBTEAMLOGEventTypeDeviceApprovalsAddException, + + /// (team_policies) Set/removed limit on number of computers member can link + /// to team Dropbox account + DBTEAMLOGEventTypeDeviceApprovalsChangeDesktopPolicy, + + /// (team_policies) Set/removed limit on number of mobile devices member can + /// link to team Dropbox account + DBTEAMLOGEventTypeDeviceApprovalsChangeMobilePolicy, + + /// (team_policies) Changed device approvals setting when member is over + /// limit + DBTEAMLOGEventTypeDeviceApprovalsChangeOverageAction, + + /// (team_policies) Changed device approvals setting when member unlinks + /// approved device + DBTEAMLOGEventTypeDeviceApprovalsChangeUnlinkAction, + + /// (team_policies) Removed members from device approvals exception list + DBTEAMLOGEventTypeDeviceApprovalsRemoveException, + + /// (team_policies) Added members to directory restrictions list + DBTEAMLOGEventTypeDirectoryRestrictionsAddMembers, + + /// (team_policies) Removed members from directory restrictions list + DBTEAMLOGEventTypeDirectoryRestrictionsRemoveMembers, + + /// (team_policies) Changed Dropbox Passwords policy for team + DBTEAMLOGEventTypeDropboxPasswordsPolicyChanged, + + /// (team_policies) Changed email to Dropbox policy for team + DBTEAMLOGEventTypeEmailIngestPolicyChanged, + + /// (team_policies) Added members to EMM exception list + DBTEAMLOGEventTypeEmmAddException, + + /// (team_policies) Enabled/disabled enterprise mobility management for + /// members + DBTEAMLOGEventTypeEmmChangePolicy, + + /// (team_policies) Removed members from EMM exception list + DBTEAMLOGEventTypeEmmRemoveException, + + /// (team_policies) Accepted/opted out of extended version history + DBTEAMLOGEventTypeExtendedVersionHistoryChangePolicy, + + /// (team_policies) Changed external drive backup policy for team + DBTEAMLOGEventTypeExternalDriveBackupPolicyChanged, + + /// (team_policies) Enabled/disabled commenting on team files + DBTEAMLOGEventTypeFileCommentsChangePolicy, + + /// (team_policies) Changed file locking policy for team + DBTEAMLOGEventTypeFileLockingPolicyChanged, + + /// (team_policies) Changed File Provider Migration policy for team + DBTEAMLOGEventTypeFileProviderMigrationPolicyChanged, + + /// (team_policies) Enabled/disabled file requests + DBTEAMLOGEventTypeFileRequestsChangePolicy, + + /// (team_policies) Enabled file request emails for everyone (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeFileRequestsEmailsEnabled, + + /// (team_policies) Enabled file request emails for team (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeFileRequestsEmailsRestrictedToTeamOnly, + + /// (team_policies) Changed file transfers policy for team + DBTEAMLOGEventTypeFileTransfersPolicyChanged, + + /// (team_policies) Changed folder link restrictions policy for team + DBTEAMLOGEventTypeFolderLinkRestrictionPolicyChanged, + + /// (team_policies) Enabled/disabled Google single sign-on for team + DBTEAMLOGEventTypeGoogleSsoChangePolicy, + + /// (team_policies) Changed who can create groups + DBTEAMLOGEventTypeGroupUserManagementChangePolicy, + + /// (team_policies) Changed integration policy for team + DBTEAMLOGEventTypeIntegrationPolicyChanged, + + /// (team_policies) Changed invite accept email policy for team + DBTEAMLOGEventTypeInviteAcceptanceEmailPolicyChanged, + + /// (team_policies) Changed whether users can find team when not invited + DBTEAMLOGEventTypeMemberRequestsChangePolicy, + + /// (team_policies) Changed member send invite policy for team + DBTEAMLOGEventTypeMemberSendInvitePolicyChanged, + + /// (team_policies) Added members to member space limit exception list + DBTEAMLOGEventTypeMemberSpaceLimitsAddException, + + /// (team_policies) Changed member space limit type for team + DBTEAMLOGEventTypeMemberSpaceLimitsChangeCapsTypePolicy, + + /// (team_policies) Changed team default member space limit + DBTEAMLOGEventTypeMemberSpaceLimitsChangePolicy, + + /// (team_policies) Removed members from member space limit exception list + DBTEAMLOGEventTypeMemberSpaceLimitsRemoveException, + + /// (team_policies) Enabled/disabled option for team members to suggest + /// people to add to team + DBTEAMLOGEventTypeMemberSuggestionsChangePolicy, + + /// (team_policies) Enabled/disabled Microsoft Office add-in + DBTEAMLOGEventTypeMicrosoftOfficeAddinChangePolicy, + + /// (team_policies) Enabled/disabled network control + DBTEAMLOGEventTypeNetworkControlChangePolicy, + + /// (team_policies) Changed whether Dropbox Paper, when enabled, is deployed + /// to all members or to specific members + DBTEAMLOGEventTypePaperChangeDeploymentPolicy, + + /// (team_policies) Changed whether non-members can view Paper docs with + /// link (deprecated, no longer logged) + DBTEAMLOGEventTypePaperChangeMemberLinkPolicy, + + /// (team_policies) Changed whether members can share Paper docs outside + /// team, and if docs are accessible only by team members or anyone by + /// default + DBTEAMLOGEventTypePaperChangeMemberPolicy, + + /// (team_policies) Enabled/disabled Dropbox Paper for team + DBTEAMLOGEventTypePaperChangePolicy, + + /// (team_policies) Changed Paper Default Folder Policy setting for team + DBTEAMLOGEventTypePaperDefaultFolderPolicyChanged, + + /// (team_policies) Enabled/disabled Paper Desktop for team + DBTEAMLOGEventTypePaperDesktopPolicyChanged, + + /// (team_policies) Added users to Paper-enabled users list + DBTEAMLOGEventTypePaperEnabledUsersGroupAddition, + + /// (team_policies) Removed users from Paper-enabled users list + DBTEAMLOGEventTypePaperEnabledUsersGroupRemoval, + + /// (team_policies) Changed team password strength requirements + DBTEAMLOGEventTypePasswordStrengthRequirementsChangePolicy, + + /// (team_policies) Enabled/disabled ability of team members to permanently + /// delete content + DBTEAMLOGEventTypePermanentDeleteChangePolicy, + + /// (team_policies) Enabled/disabled reseller support + DBTEAMLOGEventTypeResellerSupportChangePolicy, + + /// (team_policies) Changed Rewind policy for team + DBTEAMLOGEventTypeRewindPolicyChanged, + + /// (team_policies) Changed send for signature policy for team + DBTEAMLOGEventTypeSendForSignaturePolicyChanged, + + /// (team_policies) Changed whether team members can join shared folders + /// owned outside team + DBTEAMLOGEventTypeSharingChangeFolderJoinPolicy, + + /// (team_policies) Changed the allow remove or change expiration policy for + /// the links shared outside of the team + DBTEAMLOGEventTypeSharingChangeLinkAllowChangeExpirationPolicy, + + /// (team_policies) Changed the default expiration for the links shared + /// outside of the team + DBTEAMLOGEventTypeSharingChangeLinkDefaultExpirationPolicy, + + /// (team_policies) Changed the password requirement for the links shared + /// outside of the team + DBTEAMLOGEventTypeSharingChangeLinkEnforcePasswordPolicy, + + /// (team_policies) Changed whether members can share links outside team, + /// and if links are accessible only by team members or anyone by default + DBTEAMLOGEventTypeSharingChangeLinkPolicy, + + /// (team_policies) Changed whether members can share files/folders outside + /// team + DBTEAMLOGEventTypeSharingChangeMemberPolicy, + + /// (team_policies) Enabled/disabled downloading files from Dropbox Showcase + /// for team + DBTEAMLOGEventTypeShowcaseChangeDownloadPolicy, + + /// (team_policies) Enabled/disabled Dropbox Showcase for team + DBTEAMLOGEventTypeShowcaseChangeEnabledPolicy, + + /// (team_policies) Enabled/disabled sharing Dropbox Showcase externally for + /// team + DBTEAMLOGEventTypeShowcaseChangeExternalSharingPolicy, + + /// (team_policies) Changed automatic Smart Sync setting for team + DBTEAMLOGEventTypeSmarterSmartSyncPolicyChanged, + + /// (team_policies) Changed default Smart Sync setting for team members + DBTEAMLOGEventTypeSmartSyncChangePolicy, + + /// (team_policies) Opted team into Smart Sync + DBTEAMLOGEventTypeSmartSyncNotOptOut, + + /// (team_policies) Opted team out of Smart Sync + DBTEAMLOGEventTypeSmartSyncOptOut, + + /// (team_policies) Changed single sign-on setting for team + DBTEAMLOGEventTypeSsoChangePolicy, + + /// (team_policies) Changed team branding policy for team + DBTEAMLOGEventTypeTeamBrandingPolicyChanged, + + /// (team_policies) Changed App Integrations setting for team + DBTEAMLOGEventTypeTeamExtensionsPolicyChanged, + + /// (team_policies) Enabled/disabled Team Selective Sync for team + DBTEAMLOGEventTypeTeamSelectiveSyncPolicyChanged, + + /// (team_policies) Edited the approved list for sharing externally + DBTEAMLOGEventTypeTeamSharingWhitelistSubjectsChanged, + + /// (team_policies) Added members to two factor authentication exception + /// list + DBTEAMLOGEventTypeTfaAddException, + + /// (team_policies) Changed two-step verification setting for team + DBTEAMLOGEventTypeTfaChangePolicy, + + /// (team_policies) Removed members from two factor authentication exception + /// list + DBTEAMLOGEventTypeTfaRemoveException, + + /// (team_policies) Enabled/disabled option for members to link personal + /// Dropbox account and team account to same computer + DBTEAMLOGEventTypeTwoAccountChangePolicy, + + /// (team_policies) Changed team policy for viewer info + DBTEAMLOGEventTypeViewerInfoPolicyChanged, + + /// (team_policies) Changed watermarking policy for team + DBTEAMLOGEventTypeWatermarkingPolicyChanged, + + /// (team_policies) Changed limit on active sessions per member + DBTEAMLOGEventTypeWebSessionsChangeActiveSessionLimit, + + /// (team_policies) Changed how long members can stay signed in to + /// Dropbox.com + DBTEAMLOGEventTypeWebSessionsChangeFixedLengthPolicy, + + /// (team_policies) Changed how long team members can be idle while signed + /// in to Dropbox.com + DBTEAMLOGEventTypeWebSessionsChangeIdleLengthPolicy, + + /// (team_profile) Requested data residency migration for team data + DBTEAMLOGEventTypeDataResidencyMigrationRequestSuccessful, + + /// (team_profile) Request for data residency migration for team data has + /// failed + DBTEAMLOGEventTypeDataResidencyMigrationRequestUnsuccessful, + + /// (team_profile) Merged another team into this team + DBTEAMLOGEventTypeTeamMergeFrom, + + /// (team_profile) Merged this team into another team + DBTEAMLOGEventTypeTeamMergeTo, + + /// (team_profile) Added team background to display on shared link headers + DBTEAMLOGEventTypeTeamProfileAddBackground, + + /// (team_profile) Added team logo to display on shared link headers + DBTEAMLOGEventTypeTeamProfileAddLogo, + + /// (team_profile) Changed team background displayed on shared link headers + DBTEAMLOGEventTypeTeamProfileChangeBackground, + + /// (team_profile) Changed default language for team + DBTEAMLOGEventTypeTeamProfileChangeDefaultLanguage, + + /// (team_profile) Changed team logo displayed on shared link headers + DBTEAMLOGEventTypeTeamProfileChangeLogo, + + /// (team_profile) Changed team name + DBTEAMLOGEventTypeTeamProfileChangeName, + + /// (team_profile) Removed team background displayed on shared link headers + DBTEAMLOGEventTypeTeamProfileRemoveBackground, + + /// (team_profile) Removed team logo displayed on shared link headers + DBTEAMLOGEventTypeTeamProfileRemoveLogo, + + /// (tfa) Added backup phone for two-step verification + DBTEAMLOGEventTypeTfaAddBackupPhone, + + /// (tfa) Added security key for two-step verification + DBTEAMLOGEventTypeTfaAddSecurityKey, + + /// (tfa) Changed backup phone for two-step verification + DBTEAMLOGEventTypeTfaChangeBackupPhone, + + /// (tfa) Enabled/disabled/changed two-step verification setting + DBTEAMLOGEventTypeTfaChangeStatus, + + /// (tfa) Removed backup phone for two-step verification + DBTEAMLOGEventTypeTfaRemoveBackupPhone, + + /// (tfa) Removed security key for two-step verification + DBTEAMLOGEventTypeTfaRemoveSecurityKey, + + /// (tfa) Reset two-step verification for team member + DBTEAMLOGEventTypeTfaReset, + + /// (trusted_teams) Changed enterprise admin role + DBTEAMLOGEventTypeChangedEnterpriseAdminRole, + + /// (trusted_teams) Changed enterprise-connected team status + DBTEAMLOGEventTypeChangedEnterpriseConnectedTeamStatus, + + /// (trusted_teams) Ended enterprise admin session + DBTEAMLOGEventTypeEndedEnterpriseAdminSession, + + /// (trusted_teams) Ended enterprise admin session (deprecated, replaced by + /// 'Ended enterprise admin session') + DBTEAMLOGEventTypeEndedEnterpriseAdminSessionDeprecated, + + /// (trusted_teams) Changed who can update a setting + DBTEAMLOGEventTypeEnterpriseSettingsLocking, + + /// (trusted_teams) Changed guest team admin status + DBTEAMLOGEventTypeGuestAdminChangeStatus, + + /// (trusted_teams) Started enterprise admin session + DBTEAMLOGEventTypeStartedEnterpriseAdminSession, + + /// (trusted_teams) Accepted a team merge request + DBTEAMLOGEventTypeTeamMergeRequestAccepted, + + /// (trusted_teams) Accepted a team merge request (deprecated, replaced by + /// 'Accepted a team merge request') + DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToPrimaryTeam, + + /// (trusted_teams) Accepted a team merge request (deprecated, replaced by + /// 'Accepted a team merge request') + DBTEAMLOGEventTypeTeamMergeRequestAcceptedShownToSecondaryTeam, + + /// (trusted_teams) Automatically canceled team merge request + DBTEAMLOGEventTypeTeamMergeRequestAutoCanceled, + + /// (trusted_teams) Canceled a team merge request + DBTEAMLOGEventTypeTeamMergeRequestCanceled, + + /// (trusted_teams) Canceled a team merge request (deprecated, replaced by + /// 'Canceled a team merge request') + DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToPrimaryTeam, + + /// (trusted_teams) Canceled a team merge request (deprecated, replaced by + /// 'Canceled a team merge request') + DBTEAMLOGEventTypeTeamMergeRequestCanceledShownToSecondaryTeam, + + /// (trusted_teams) Team merge request expired + DBTEAMLOGEventTypeTeamMergeRequestExpired, + + /// (trusted_teams) Team merge request expired (deprecated, replaced by + /// 'Team merge request expired') + DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToPrimaryTeam, + + /// (trusted_teams) Team merge request expired (deprecated, replaced by + /// 'Team merge request expired') + DBTEAMLOGEventTypeTeamMergeRequestExpiredShownToSecondaryTeam, + + /// (trusted_teams) Rejected a team merge request (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToPrimaryTeam, + + /// (trusted_teams) Rejected a team merge request (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeTeamMergeRequestRejectedShownToSecondaryTeam, + + /// (trusted_teams) Sent a team merge request reminder + DBTEAMLOGEventTypeTeamMergeRequestReminder, + + /// (trusted_teams) Sent a team merge request reminder (deprecated, replaced + /// by 'Sent a team merge request reminder') + DBTEAMLOGEventTypeTeamMergeRequestReminderShownToPrimaryTeam, + + /// (trusted_teams) Sent a team merge request reminder (deprecated, replaced + /// by 'Sent a team merge request reminder') + DBTEAMLOGEventTypeTeamMergeRequestReminderShownToSecondaryTeam, + + /// (trusted_teams) Canceled the team merge + DBTEAMLOGEventTypeTeamMergeRequestRevoked, + + /// (trusted_teams) Requested to merge their Dropbox team into yours + DBTEAMLOGEventTypeTeamMergeRequestSentShownToPrimaryTeam, + + /// (trusted_teams) Requested to merge your team into another Dropbox team + DBTEAMLOGEventTypeTeamMergeRequestSentShownToSecondaryTeam, + + /// (no description). + DBTEAMLOGEventTypeOther, }; -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGEventTypeTag tag; +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGEventTypeTag tag; + +/// (admin_alerting) Changed an alert state @note Ensure the +/// `isAdminAlertingAlertStateChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingAlertStateChangedType *adminAlertingAlertStateChanged; + +/// (admin_alerting) Changed an alert setting @note Ensure the +/// `isAdminAlertingChangedAlertConfig` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingChangedAlertConfigType *adminAlertingChangedAlertConfig; + +/// (admin_alerting) Triggered security alert @note Ensure the +/// `isAdminAlertingTriggeredAlert` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAdminAlertingTriggeredAlertType *adminAlertingTriggeredAlert; + +/// (admin_alerting) Completed ransomware restore process @note Ensure the +/// `isRansomwareRestoreProcessCompleted` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRansomwareRestoreProcessCompletedType *ransomwareRestoreProcessCompleted; + +/// (admin_alerting) Started ransomware restore process @note Ensure the +/// `isRansomwareRestoreProcessStarted` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRansomwareRestoreProcessStartedType *ransomwareRestoreProcessStarted; + +/// (apps) Failed to connect app for member @note Ensure the +/// `isAppBlockedByPermissions` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppBlockedByPermissionsType *appBlockedByPermissions; + +/// (apps) Linked app for team @note Ensure the `isAppLinkTeam` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppLinkTeamType *appLinkTeam; + +/// (apps) Linked app for member @note Ensure the `isAppLinkUser` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppLinkUserType *appLinkUser; + +/// (apps) Unlinked app for team @note Ensure the `isAppUnlinkTeam` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppUnlinkTeamType *appUnlinkTeam; + +/// (apps) Unlinked app for member @note Ensure the `isAppUnlinkUser` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppUnlinkUserType *appUnlinkUser; + +/// (apps) Connected integration for member @note Ensure the +/// `isIntegrationConnected` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationConnectedType *integrationConnected; + +/// (apps) Disconnected integration for member @note Ensure the +/// `isIntegrationDisconnected` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationDisconnectedType *integrationDisconnected; + +/// (comments) Added file comment @note Ensure the `isFileAddComment` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddCommentType *fileAddComment; + +/// (comments) Subscribed to or unsubscribed from comment notifications for file +/// @note Ensure the `isFileChangeCommentSubscription` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileChangeCommentSubscriptionType *fileChangeCommentSubscription; + +/// (comments) Deleted file comment @note Ensure the `isFileDeleteComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileDeleteCommentType *fileDeleteComment; + +/// (comments) Edited file comment @note Ensure the `isFileEditComment` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileEditCommentType *fileEditComment; + +/// (comments) Liked file comment (deprecated, no longer logged) @note Ensure +/// the `isFileLikeComment` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileLikeCommentType *fileLikeComment; + +/// (comments) Resolved file comment @note Ensure the `isFileResolveComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileResolveCommentType *fileResolveComment; + +/// (comments) Unliked file comment (deprecated, no longer logged) @note Ensure +/// the `isFileUnlikeComment` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileUnlikeCommentType *fileUnlikeComment; + +/// (comments) Unresolved file comment @note Ensure the `isFileUnresolveComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileUnresolveCommentType *fileUnresolveComment; + +/// (data_governance) Added folders to policy @note Ensure the +/// `isGovernancePolicyAddFolders` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFoldersType *governancePolicyAddFolders; + +/// (data_governance) Couldn't add a folder to a policy @note Ensure the +/// `isGovernancePolicyAddFolderFailed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyAddFolderFailedType *governancePolicyAddFolderFailed; + +/// (data_governance) Content disposed @note Ensure the +/// `isGovernancePolicyContentDisposed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyContentDisposedType *governancePolicyContentDisposed; + +/// (data_governance) Activated a new policy @note Ensure the +/// `isGovernancePolicyCreate` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyCreateType *governancePolicyCreate; + +/// (data_governance) Deleted a policy @note Ensure the +/// `isGovernancePolicyDelete` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyDeleteType *governancePolicyDelete; + +/// (data_governance) Edited policy @note Ensure the +/// `isGovernancePolicyEditDetails` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDetailsType *governancePolicyEditDetails; + +/// (data_governance) Changed policy duration @note Ensure the +/// `isGovernancePolicyEditDuration` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyEditDurationType *governancePolicyEditDuration; + +/// (data_governance) Created a policy download @note Ensure the +/// `isGovernancePolicyExportCreated` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportCreatedType *governancePolicyExportCreated; + +/// (data_governance) Removed a policy download @note Ensure the +/// `isGovernancePolicyExportRemoved` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyExportRemovedType *governancePolicyExportRemoved; + +/// (data_governance) Removed folders from policy @note Ensure the +/// `isGovernancePolicyRemoveFolders` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyRemoveFoldersType *governancePolicyRemoveFolders; + +/// (data_governance) Created a summary report for a policy @note Ensure the +/// `isGovernancePolicyReportCreated` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyReportCreatedType *governancePolicyReportCreated; + +/// (data_governance) Downloaded content from a policy @note Ensure the +/// `isGovernancePolicyZipPartDownloaded` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGovernancePolicyZipPartDownloadedType *governancePolicyZipPartDownloaded; + +/// (data_governance) Activated a hold @note Ensure the +/// `isLegalHoldsActivateAHold` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsActivateAHoldType *legalHoldsActivateAHold; + +/// (data_governance) Added members to a hold @note Ensure the +/// `isLegalHoldsAddMembers` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsAddMembersType *legalHoldsAddMembers; + +/// (data_governance) Edited details for a hold @note Ensure the +/// `isLegalHoldsChangeHoldDetails` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldDetailsType *legalHoldsChangeHoldDetails; + +/// (data_governance) Renamed a hold @note Ensure the +/// `isLegalHoldsChangeHoldName` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsChangeHoldNameType *legalHoldsChangeHoldName; + +/// (data_governance) Exported hold @note Ensure the `isLegalHoldsExportAHold` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportAHoldType *legalHoldsExportAHold; + +/// (data_governance) Canceled export for a hold @note Ensure the +/// `isLegalHoldsExportCancelled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportCancelledType *legalHoldsExportCancelled; + +/// (data_governance) Downloaded export for a hold @note Ensure the +/// `isLegalHoldsExportDownloaded` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportDownloadedType *legalHoldsExportDownloaded; + +/// (data_governance) Removed export for a hold @note Ensure the +/// `isLegalHoldsExportRemoved` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsExportRemovedType *legalHoldsExportRemoved; + +/// (data_governance) Released a hold @note Ensure the +/// `isLegalHoldsReleaseAHold` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsReleaseAHoldType *legalHoldsReleaseAHold; + +/// (data_governance) Removed members from a hold @note Ensure the +/// `isLegalHoldsRemoveMembers` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsRemoveMembersType *legalHoldsRemoveMembers; + +/// (data_governance) Created a summary report for a hold @note Ensure the +/// `isLegalHoldsReportAHold` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLegalHoldsReportAHoldType *legalHoldsReportAHold; + +/// (devices) Changed IP address associated with active desktop session @note +/// Ensure the `isDeviceChangeIpDesktop` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpDesktopType *deviceChangeIpDesktop; + +/// (devices) Changed IP address associated with active mobile session @note +/// Ensure the `isDeviceChangeIpMobile` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpMobileType *deviceChangeIpMobile; + +/// (devices) Changed IP address associated with active web session @note Ensure +/// the `isDeviceChangeIpWeb` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceChangeIpWebType *deviceChangeIpWeb; + +/// (devices) Failed to delete all files from unlinked device @note Ensure the +/// `isDeviceDeleteOnUnlinkFail` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkFailType *deviceDeleteOnUnlinkFail; + +/// (devices) Deleted all files from unlinked device @note Ensure the +/// `isDeviceDeleteOnUnlinkSuccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *deviceDeleteOnUnlinkSuccess; + +/// (devices) Failed to link device @note Ensure the `isDeviceLinkFail` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceLinkFailType *deviceLinkFail; + +/// (devices) Linked device @note Ensure the `isDeviceLinkSuccess` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceLinkSuccessType *deviceLinkSuccess; + +/// (devices) Disabled device management (deprecated, no longer logged) @note +/// Ensure the `isDeviceManagementDisabled` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceManagementDisabledType *deviceManagementDisabled; + +/// (devices) Enabled device management (deprecated, no longer logged) @note +/// Ensure the `isDeviceManagementEnabled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceManagementEnabledType *deviceManagementEnabled; + +/// (devices) Enabled/disabled backup for computer @note Ensure the +/// `isDeviceSyncBackupStatusChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceSyncBackupStatusChangedType *deviceSyncBackupStatusChanged; + +/// (devices) Disconnected device @note Ensure the `isDeviceUnlink` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceUnlinkType *deviceUnlink; + +/// (devices) Exported passwords @note Ensure the `isDropboxPasswordsExported` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsExportedType *dropboxPasswordsExported; + +/// (devices) Enrolled new Dropbox Passwords device @note Ensure the +/// `isDropboxPasswordsNewDeviceEnrolled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *dropboxPasswordsNewDeviceEnrolled; + +/// (devices) Refreshed auth token used for setting up EMM @note Ensure the +/// `isEmmRefreshAuthToken` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmRefreshAuthTokenType *emmRefreshAuthToken; + +/// (devices) Checked external drive backup eligibility status @note Ensure the +/// `isExternalDriveBackupEligibilityStatusChecked` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *externalDriveBackupEligibilityStatusChecked; + +/// (devices) Modified external drive backup @note Ensure the +/// `isExternalDriveBackupStatusChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupStatusChangedType *externalDriveBackupStatusChanged; + +/// (domains) Granted/revoked option to enable account capture on team domains +/// @note Ensure the `isAccountCaptureChangeAvailability` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureChangeAvailabilityType *accountCaptureChangeAvailability; + +/// (domains) Account-captured user migrated account to team @note Ensure the +/// `isAccountCaptureMigrateAccount` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureMigrateAccountType *accountCaptureMigrateAccount; + +/// (domains) Sent account capture email to all unmanaged members @note Ensure +/// the `isAccountCaptureNotificationEmailsSent` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureNotificationEmailsSentType *accountCaptureNotificationEmailsSent; + +/// (domains) Account-captured user changed account email to personal email +/// @note Ensure the `isAccountCaptureRelinquishAccount` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureRelinquishAccountType *accountCaptureRelinquishAccount; + +/// (domains) Disabled domain invites (deprecated, no longer logged) @note +/// Ensure the `isDisabledDomainInvites` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDisabledDomainInvitesType *disabledDomainInvites; + +/// (domains) Approved user's request to join team @note Ensure the +/// `isDomainInvitesApproveRequestToJoinTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *domainInvitesApproveRequestToJoinTeam; + +/// (domains) Declined user's request to join team @note Ensure the +/// `isDomainInvitesDeclineRequestToJoinTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *domainInvitesDeclineRequestToJoinTeam; + +/// (domains) Sent domain invites to existing domain accounts (deprecated, no +/// longer logged) @note Ensure the `isDomainInvitesEmailExistingUsers` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainInvitesEmailExistingUsersType *domainInvitesEmailExistingUsers; + +/// (domains) Requested to join team @note Ensure the +/// `isDomainInvitesRequestToJoinTeam` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainInvitesRequestToJoinTeamType *domainInvitesRequestToJoinTeam; + +/// (domains) Disabled "Automatically invite new users" (deprecated, no longer +/// logged) @note Ensure the `isDomainInvitesSetInviteNewUserPrefToNo` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *domainInvitesSetInviteNewUserPrefToNo; + +/// (domains) Enabled "Automatically invite new users" (deprecated, no longer +/// logged) @note Ensure the `isDomainInvitesSetInviteNewUserPrefToYes` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *domainInvitesSetInviteNewUserPrefToYes; + +/// (domains) Failed to verify team domain @note Ensure the +/// `isDomainVerificationAddDomainFail` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainVerificationAddDomainFailType *domainVerificationAddDomainFail; + +/// (domains) Verified team domain @note Ensure the +/// `isDomainVerificationAddDomainSuccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainVerificationAddDomainSuccessType *domainVerificationAddDomainSuccess; + +/// (domains) Removed domain from list of verified team domains @note Ensure the +/// `isDomainVerificationRemoveDomain` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDomainVerificationRemoveDomainType *domainVerificationRemoveDomain; + +/// (domains) Enabled domain invites (deprecated, no longer logged) @note Ensure +/// the `isEnabledDomainInvites` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEnabledDomainInvitesType *enabledDomainInvites; + +/// (encryption) Canceled team encryption key deletion @note Ensure the +/// `isTeamEncryptionKeyCancelKeyDeletion` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *teamEncryptionKeyCancelKeyDeletion; + +/// (encryption) Created team encryption key @note Ensure the +/// `isTeamEncryptionKeyCreateKey` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyCreateKeyType *teamEncryptionKeyCreateKey; + +/// (encryption) Deleted team encryption key @note Ensure the +/// `isTeamEncryptionKeyDeleteKey` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyDeleteKeyType *teamEncryptionKeyDeleteKey; + +/// (encryption) Disabled team encryption key @note Ensure the +/// `isTeamEncryptionKeyDisableKey` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyDisableKeyType *teamEncryptionKeyDisableKey; + +/// (encryption) Enabled team encryption key @note Ensure the +/// `isTeamEncryptionKeyEnableKey` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyEnableKeyType *teamEncryptionKeyEnableKey; + +/// (encryption) Rotated team encryption key (deprecated, no longer logged) +/// @note Ensure the `isTeamEncryptionKeyRotateKey` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyRotateKeyType *teamEncryptionKeyRotateKey; + +/// (encryption) Scheduled encryption key deletion @note Ensure the +/// `isTeamEncryptionKeyScheduleKeyDeletion` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *teamEncryptionKeyScheduleKeyDeletion; + +/// (file_operations) Applied naming convention @note Ensure the +/// `isApplyNamingConvention` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGApplyNamingConventionType *applyNamingConvention; + +/// (file_operations) Created folders (deprecated, no longer logged) @note +/// Ensure the `isCreateFolder` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCreateFolderType *createFolder; + +/// (file_operations) Added files and/or folders @note Ensure the `isFileAdd` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddType *fileAdd; + +/// (file_operations) Added files and/or folders from automation @note Ensure +/// the `isFileAddFromAutomation` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileAddFromAutomationType *fileAddFromAutomation; + +/// (file_operations) Copied files and/or folders @note Ensure the `isFileCopy` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileCopyType *fileCopy; + +/// (file_operations) Deleted files and/or folders @note Ensure the +/// `isFileDelete` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileDeleteType *fileDelete; + +/// (file_operations) Downloaded files and/or folders @note Ensure the +/// `isFileDownload` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileDownloadType *fileDownload; + +/// (file_operations) Edited files @note Ensure the `isFileEdit` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileEditType *fileEdit; + +/// (file_operations) Created copy reference to file/folder @note Ensure the +/// `isFileGetCopyReference` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileGetCopyReferenceType *fileGetCopyReference; + +/// (file_operations) Locked/unlocked editing for a file @note Ensure the +/// `isFileLockingLockStatusChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileLockingLockStatusChangedType *fileLockingLockStatusChanged; + +/// (file_operations) Moved files and/or folders @note Ensure the `isFileMove` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileMoveType *fileMove; + +/// (file_operations) Permanently deleted files and/or folders @note Ensure the +/// `isFilePermanentlyDelete` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFilePermanentlyDeleteType *filePermanentlyDelete; + +/// (file_operations) Previewed files and/or folders @note Ensure the +/// `isFilePreview` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFilePreviewType *filePreview; + +/// (file_operations) Renamed files and/or folders @note Ensure the +/// `isFileRename` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRenameType *fileRename; + +/// (file_operations) Restored deleted files and/or folders @note Ensure the +/// `isFileRestore` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRestoreType *fileRestore; + +/// (file_operations) Reverted files to previous version @note Ensure the +/// `isFileRevert` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRevertType *fileRevert; + +/// (file_operations) Rolled back file actions @note Ensure the +/// `isFileRollbackChanges` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRollbackChangesType *fileRollbackChanges; + +/// (file_operations) Saved file/folder using copy reference @note Ensure the +/// `isFileSaveCopyReference` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileSaveCopyReferenceType *fileSaveCopyReference; + +/// (file_operations) Updated folder overview @note Ensure the +/// `isFolderOverviewDescriptionChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFolderOverviewDescriptionChangedType *folderOverviewDescriptionChanged; + +/// (file_operations) Pinned item to folder overview @note Ensure the +/// `isFolderOverviewItemPinned` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFolderOverviewItemPinnedType *folderOverviewItemPinned; + +/// (file_operations) Unpinned item from folder overview @note Ensure the +/// `isFolderOverviewItemUnpinned` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFolderOverviewItemUnpinnedType *folderOverviewItemUnpinned; + +/// (file_operations) Added a label @note Ensure the `isObjectLabelAdded` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelAddedType *objectLabelAdded; + +/// (file_operations) Removed a label @note Ensure the `isObjectLabelRemoved` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelRemovedType *objectLabelRemoved; + +/// (file_operations) Updated a label's value @note Ensure the +/// `isObjectLabelUpdatedValue` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGObjectLabelUpdatedValueType *objectLabelUpdatedValue; + +/// (file_operations) Organized a folder with multi-file organize @note Ensure +/// the `isOrganizeFolderWithTidy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOrganizeFolderWithTidyType *organizeFolderWithTidy; + +/// (file_operations) Deleted files in Replay @note Ensure the +/// `isReplayFileDelete` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileDeleteType *replayFileDelete; + +/// (file_operations) Rewound a folder @note Ensure the `isRewindFolder` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRewindFolderType *rewindFolder; + +/// (file_operations) Reverted naming convention @note Ensure the +/// `isUndoNamingConvention` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUndoNamingConventionType *undoNamingConvention; + +/// (file_operations) Removed multi-file organize @note Ensure the +/// `isUndoOrganizeFolderWithTidy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUndoOrganizeFolderWithTidyType *undoOrganizeFolderWithTidy; + +/// (file_operations) Tagged a file @note Ensure the `isUserTagsAdded` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserTagsAddedType *userTagsAdded; + +/// (file_operations) Removed tags @note Ensure the `isUserTagsRemoved` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserTagsRemovedType *userTagsRemoved; + +/// (file_requests) Received files via Email to Dropbox @note Ensure the +/// `isEmailIngestReceiveFile` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestReceiveFileType *emailIngestReceiveFile; + +/// (file_requests) Changed file request @note Ensure the `isFileRequestChange` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestChangeType *fileRequestChange; + +/// (file_requests) Closed file request @note Ensure the `isFileRequestClose` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestCloseType *fileRequestClose; + +/// (file_requests) Created file request @note Ensure the `isFileRequestCreate` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestCreateType *fileRequestCreate; + +/// (file_requests) Delete file request @note Ensure the `isFileRequestDelete` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestDeleteType *fileRequestDelete; + +/// (file_requests) Received files for file request @note Ensure the +/// `isFileRequestReceiveFile` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestReceiveFileType *fileRequestReceiveFile; + +/// (groups) Added external ID for group @note Ensure the `isGroupAddExternalId` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGroupAddExternalIdType *groupAddExternalId; + +/// (groups) Added team members to group @note Ensure the `isGroupAddMember` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGGroupAddMemberType *groupAddMember; + +/// (groups) Changed external ID for group @note Ensure the +/// `isGroupChangeExternalId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeExternalIdType *groupChangeExternalId; + +/// (groups) Changed group management type @note Ensure the +/// `isGroupChangeManagementType` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeManagementTypeType *groupChangeManagementType; + +/// (groups) Changed manager permissions of group member @note Ensure the +/// `isGroupChangeMemberRole` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupChangeMemberRoleType *groupChangeMemberRole; + +/// (groups) Created group @note Ensure the `isGroupCreate` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupCreateType *groupCreate; + +/// (groups) Deleted group @note Ensure the `isGroupDelete` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupDeleteType *groupDelete; + +/// (groups) Updated group (deprecated, no longer logged) @note Ensure the +/// `isGroupDescriptionUpdated` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupDescriptionUpdatedType *groupDescriptionUpdated; + +/// (groups) Updated group join policy (deprecated, no longer logged) @note +/// Ensure the `isGroupJoinPolicyUpdated` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupJoinPolicyUpdatedType *groupJoinPolicyUpdated; + +/// (groups) Moved group (deprecated, no longer logged) @note Ensure the +/// `isGroupMoved` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupMovedType *groupMoved; + +/// (groups) Removed external ID for group @note Ensure the +/// `isGroupRemoveExternalId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRemoveExternalIdType *groupRemoveExternalId; + +/// (groups) Removed team members from group @note Ensure the +/// `isGroupRemoveMember` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRemoveMemberType *groupRemoveMember; + +/// (groups) Renamed group @note Ensure the `isGroupRename` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupRenameType *groupRename; + +/// (logins) Unlocked/locked account after failed sign in attempts @note Ensure +/// the `isAccountLockOrUnlocked` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountLockOrUnlockedType *accountLockOrUnlocked; + +/// (logins) Failed to sign in via EMM (deprecated, replaced by 'Failed to sign +/// in') @note Ensure the `isEmmError` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmErrorType *emmError; + +/// (logins) Started trusted team admin session @note Ensure the +/// `isGuestAdminSignedInViaTrustedTeams` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *guestAdminSignedInViaTrustedTeams; + +/// (logins) Ended trusted team admin session @note Ensure the +/// `isGuestAdminSignedOutViaTrustedTeams` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *guestAdminSignedOutViaTrustedTeams; + +/// (logins) Failed to sign in @note Ensure the `isLoginFail` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLoginFailType *loginFail; + +/// (logins) Signed in @note Ensure the `isLoginSuccess` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLoginSuccessType *loginSuccess; + +/// (logins) Signed out @note Ensure the `isLogout` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGLogoutType *logout; + +/// (logins) Ended reseller support session @note Ensure the +/// `isResellerSupportSessionEnd` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionEndType *resellerSupportSessionEnd; + +/// (logins) Started reseller support session @note Ensure the +/// `isResellerSupportSessionStart` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportSessionStartType *resellerSupportSessionStart; + +/// (logins) Ended admin sign-in-as session @note Ensure the +/// `isSignInAsSessionEnd` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionEndType *signInAsSessionEnd; + +/// (logins) Started admin sign-in-as session @note Ensure the +/// `isSignInAsSessionStart` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSignInAsSessionStartType *signInAsSessionStart; + +/// (logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to sign +/// in') @note Ensure the `isSsoError` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoErrorType *ssoError; + +/// (members) Invited members to activate Backup @note Ensure the +/// `isBackupAdminInvitationSent` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBackupAdminInvitationSentType *backupAdminInvitationSent; + +/// (members) Opened Backup invite @note Ensure the `isBackupInvitationOpened` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGBackupInvitationOpenedType *backupInvitationOpened; + +/// (members) Created team invite link @note Ensure the `isCreateTeamInviteLink` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGCreateTeamInviteLinkType *createTeamInviteLink; + +/// (members) Deleted team invite link @note Ensure the `isDeleteTeamInviteLink` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeleteTeamInviteLinkType *deleteTeamInviteLink; + +/// (members) Added an external ID for team member @note Ensure the +/// `isMemberAddExternalId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberAddExternalIdType *memberAddExternalId; + +/// (members) Added team member name @note Ensure the `isMemberAddName` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberAddNameType *memberAddName; + +/// (members) Changed team member admin role @note Ensure the +/// `isMemberChangeAdminRole` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeAdminRoleType *memberChangeAdminRole; + +/// (members) Changed team member email @note Ensure the `isMemberChangeEmail` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeEmailType *memberChangeEmail; + +/// (members) Changed the external ID for team member @note Ensure the +/// `isMemberChangeExternalId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeExternalIdType *memberChangeExternalId; + +/// (members) Changed membership type (limited/full) of member (deprecated, no +/// longer logged) @note Ensure the `isMemberChangeMembershipType` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeMembershipTypeType *memberChangeMembershipType; + +/// (members) Changed team member name @note Ensure the `isMemberChangeName` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeNameType *memberChangeName; + +/// (members) Changed team member reseller role @note Ensure the +/// `isMemberChangeResellerRole` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeResellerRoleType *memberChangeResellerRole; + +/// (members) Changed member status (invited, joined, suspended, etc.) @note +/// Ensure the `isMemberChangeStatus` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberChangeStatusType *memberChangeStatus; + +/// (members) Cleared manually added contacts @note Ensure the +/// `isMemberDeleteManualContacts` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberDeleteManualContactsType *memberDeleteManualContacts; + +/// (members) Deleted team member profile photo @note Ensure the +/// `isMemberDeleteProfilePhoto` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberDeleteProfilePhotoType *memberDeleteProfilePhoto; + +/// (members) Permanently deleted contents of deleted team member account @note +/// Ensure the `isMemberPermanentlyDeleteAccountContents` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *memberPermanentlyDeleteAccountContents; + +/// (members) Removed the external ID for team member @note Ensure the +/// `isMemberRemoveExternalId` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberRemoveExternalIdType *memberRemoveExternalId; + +/// (members) Set team member profile photo @note Ensure the +/// `isMemberSetProfilePhoto` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSetProfilePhotoType *memberSetProfilePhoto; + +/// (members) Set custom member space limit @note Ensure the +/// `isMemberSpaceLimitsAddCustomQuota` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *memberSpaceLimitsAddCustomQuota; + +/// (members) Changed custom member space limit @note Ensure the +/// `isMemberSpaceLimitsChangeCustomQuota` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *memberSpaceLimitsChangeCustomQuota; + +/// (members) Changed space limit status @note Ensure the +/// `isMemberSpaceLimitsChangeStatus` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangeStatusType *memberSpaceLimitsChangeStatus; + +/// (members) Removed custom member space limit @note Ensure the +/// `isMemberSpaceLimitsRemoveCustomQuota` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *memberSpaceLimitsRemoveCustomQuota; + +/// (members) Suggested person to add to team @note Ensure the `isMemberSuggest` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSuggestType *memberSuggest; + +/// (members) Transferred contents of deleted member account to another member +/// @note Ensure the `isMemberTransferAccountContents` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberTransferAccountContentsType *memberTransferAccountContents; + +/// (members) Added pending secondary email @note Ensure the +/// `isPendingSecondaryEmailAdded` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPendingSecondaryEmailAddedType *pendingSecondaryEmailAdded; + +/// (members) Deleted secondary email @note Ensure the `isSecondaryEmailDeleted` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryEmailDeletedType *secondaryEmailDeleted; + +/// (members) Verified secondary email @note Ensure the +/// `isSecondaryEmailVerified` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryEmailVerifiedType *secondaryEmailVerified; + +/// (members) Secondary mails policy changed @note Ensure the +/// `isSecondaryMailsPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryMailsPolicyChangedType *secondaryMailsPolicyChanged; + +/// (paper) Added Binder page (deprecated, replaced by 'Edited files') @note +/// Ensure the `isBinderAddPage` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderAddPageType *binderAddPage; + +/// (paper) Added Binder section (deprecated, replaced by 'Edited files') @note +/// Ensure the `isBinderAddSection` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderAddSectionType *binderAddSection; + +/// (paper) Removed Binder page (deprecated, replaced by 'Edited files') @note +/// Ensure the `isBinderRemovePage` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRemovePageType *binderRemovePage; + +/// (paper) Removed Binder section (deprecated, replaced by 'Edited files') +/// @note Ensure the `isBinderRemoveSection` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRemoveSectionType *binderRemoveSection; + +/// (paper) Renamed Binder page (deprecated, replaced by 'Edited files') @note +/// Ensure the `isBinderRenamePage` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRenamePageType *binderRenamePage; + +/// (paper) Renamed Binder section (deprecated, replaced by 'Edited files') +/// @note Ensure the `isBinderRenameSection` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderRenameSectionType *binderRenameSection; + +/// (paper) Reordered Binder page (deprecated, replaced by 'Edited files') @note +/// Ensure the `isBinderReorderPage` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderReorderPageType *binderReorderPage; + +/// (paper) Reordered Binder section (deprecated, replaced by 'Edited files') +/// @note Ensure the `isBinderReorderSection` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGBinderReorderSectionType *binderReorderSection; + +/// (paper) Added users and/or groups to Paper doc/folder @note Ensure the +/// `isPaperContentAddMember` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentAddMemberType *paperContentAddMember; + +/// (paper) Added Paper doc/folder to folder @note Ensure the +/// `isPaperContentAddToFolder` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentAddToFolderType *paperContentAddToFolder; + +/// (paper) Archived Paper doc/folder @note Ensure the `isPaperContentArchive` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentArchiveType *paperContentArchive; + +/// (paper) Created Paper doc/folder @note Ensure the `isPaperContentCreate` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentCreateType *paperContentCreate; + +/// (paper) Permanently deleted Paper doc/folder @note Ensure the +/// `isPaperContentPermanentlyDelete` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentPermanentlyDeleteType *paperContentPermanentlyDelete; + +/// (paper) Removed Paper doc/folder from folder @note Ensure the +/// `isPaperContentRemoveFromFolder` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveFromFolderType *paperContentRemoveFromFolder; + +/// (paper) Removed users and/or groups from Paper doc/folder @note Ensure the +/// `isPaperContentRemoveMember` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRemoveMemberType *paperContentRemoveMember; + +/// (paper) Renamed Paper doc/folder @note Ensure the `isPaperContentRename` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRenameType *paperContentRename; + +/// (paper) Restored archived Paper doc/folder @note Ensure the +/// `isPaperContentRestore` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperContentRestoreType *paperContentRestore; + +/// (paper) Added Paper doc comment @note Ensure the `isPaperDocAddComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocAddCommentType *paperDocAddComment; + +/// (paper) Changed member permissions for Paper doc @note Ensure the +/// `isPaperDocChangeMemberRole` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeMemberRoleType *paperDocChangeMemberRole; + +/// (paper) Changed sharing setting for Paper doc @note Ensure the +/// `isPaperDocChangeSharingPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSharingPolicyType *paperDocChangeSharingPolicy; + +/// (paper) Followed/unfollowed Paper doc @note Ensure the +/// `isPaperDocChangeSubscription` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocChangeSubscriptionType *paperDocChangeSubscription; + +/// (paper) Archived Paper doc (deprecated, no longer logged) @note Ensure the +/// `isPaperDocDeleted` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDeletedType *paperDocDeleted; + +/// (paper) Deleted Paper doc comment @note Ensure the `isPaperDocDeleteComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDeleteCommentType *paperDocDeleteComment; + +/// (paper) Downloaded Paper doc in specific format @note Ensure the +/// `isPaperDocDownload` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocDownloadType *paperDocDownload; + +/// (paper) Edited Paper doc @note Ensure the `isPaperDocEdit` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocEditType *paperDocEdit; + +/// (paper) Edited Paper doc comment @note Ensure the `isPaperDocEditComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocEditCommentType *paperDocEditComment; + +/// (paper) Followed Paper doc (deprecated, replaced by 'Followed/unfollowed +/// Paper doc') @note Ensure the `isPaperDocFollowed` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocFollowedType *paperDocFollowed; + +/// (paper) Mentioned user in Paper doc @note Ensure the `isPaperDocMention` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocMentionType *paperDocMention; + +/// (paper) Transferred ownership of Paper doc @note Ensure the +/// `isPaperDocOwnershipChanged` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocOwnershipChangedType *paperDocOwnershipChanged; + +/// (paper) Requested access to Paper doc @note Ensure the +/// `isPaperDocRequestAccess` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocRequestAccessType *paperDocRequestAccess; + +/// (paper) Resolved Paper doc comment @note Ensure the +/// `isPaperDocResolveComment` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocResolveCommentType *paperDocResolveComment; + +/// (paper) Restored Paper doc to previous version @note Ensure the +/// `isPaperDocRevert` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocRevertType *paperDocRevert; + +/// (paper) Shared Paper doc via Slack @note Ensure the `isPaperDocSlackShare` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocSlackShareType *paperDocSlackShare; + +/// (paper) Shared Paper doc with users and/or groups (deprecated, no longer +/// logged) @note Ensure the `isPaperDocTeamInvite` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocTeamInviteType *paperDocTeamInvite; + +/// (paper) Deleted Paper doc @note Ensure the `isPaperDocTrashed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocTrashedType *paperDocTrashed; + +/// (paper) Unresolved Paper doc comment @note Ensure the +/// `isPaperDocUnresolveComment` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocUnresolveCommentType *paperDocUnresolveComment; + +/// (paper) Restored Paper doc @note Ensure the `isPaperDocUntrashed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocUntrashedType *paperDocUntrashed; + +/// (paper) Viewed Paper doc @note Ensure the `isPaperDocView` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDocViewType *paperDocView; + +/// (paper) Changed Paper external sharing setting to anyone (deprecated, no +/// longer logged) @note Ensure the `isPaperExternalViewAllow` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewAllowType *paperExternalViewAllow; + +/// (paper) Changed Paper external sharing setting to default team (deprecated, +/// no longer logged) @note Ensure the `isPaperExternalViewDefaultTeam` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewDefaultTeamType *paperExternalViewDefaultTeam; + +/// (paper) Changed Paper external sharing setting to team-only (deprecated, no +/// longer logged) @note Ensure the `isPaperExternalViewForbid` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperExternalViewForbidType *paperExternalViewForbid; + +/// (paper) Followed/unfollowed Paper folder @note Ensure the +/// `isPaperFolderChangeSubscription` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderChangeSubscriptionType *paperFolderChangeSubscription; + +/// (paper) Archived Paper folder (deprecated, no longer logged) @note Ensure +/// the `isPaperFolderDeleted` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderDeletedType *paperFolderDeleted; + +/// (paper) Followed Paper folder (deprecated, replaced by 'Followed/unfollowed +/// Paper folder') @note Ensure the `isPaperFolderFollowed` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderFollowedType *paperFolderFollowed; + +/// (paper) Shared Paper folder with users and/or groups (deprecated, no longer +/// logged) @note Ensure the `isPaperFolderTeamInvite` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperFolderTeamInviteType *paperFolderTeamInvite; + +/// (paper) Changed permissions for published doc @note Ensure the +/// `isPaperPublishedLinkChangePermission` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkChangePermissionType *paperPublishedLinkChangePermission; + +/// (paper) Published doc @note Ensure the `isPaperPublishedLinkCreate` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkCreateType *paperPublishedLinkCreate; + +/// (paper) Unpublished doc @note Ensure the `isPaperPublishedLinkDisabled` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkDisabledType *paperPublishedLinkDisabled; + +/// (paper) Viewed published doc @note Ensure the `isPaperPublishedLinkView` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGPaperPublishedLinkViewType *paperPublishedLinkView; + +/// (passwords) Changed password @note Ensure the `isPasswordChange` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordChangeType *passwordChange; + +/// (passwords) Reset password @note Ensure the `isPasswordReset` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordResetType *passwordReset; + +/// (passwords) Reset all team member passwords @note Ensure the +/// `isPasswordResetAll` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPasswordResetAllType *passwordResetAll; + +/// (reports) Created Classification report @note Ensure the +/// `isClassificationCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationCreateReportType *classificationCreateReport; + +/// (reports) Couldn't create Classification report @note Ensure the +/// `isClassificationCreateReportFail` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationCreateReportFailType *classificationCreateReportFail; + +/// (reports) Created EMM-excluded users report @note Ensure the +/// `isEmmCreateExceptionsReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmCreateExceptionsReportType *emmCreateExceptionsReport; + +/// (reports) Created EMM mobile app usage report @note Ensure the +/// `isEmmCreateUsageReport` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmCreateUsageReportType *emmCreateUsageReport; + +/// (reports) Created member data report @note Ensure the +/// `isExportMembersReport` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExportMembersReportType *exportMembersReport; + +/// (reports) Failed to create members data report @note Ensure the +/// `isExportMembersReportFail` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExportMembersReportFailType *exportMembersReportFail; + +/// (reports) Created External sharing report @note Ensure the +/// `isExternalSharingCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExternalSharingCreateReportType *externalSharingCreateReport; + +/// (reports) Couldn't create External sharing report @note Ensure the +/// `isExternalSharingReportFailed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExternalSharingReportFailedType *externalSharingReportFailed; + +/// (reports) Report created: Links created with no expiration @note Ensure the +/// `isNoExpirationLinkGenCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoExpirationLinkGenCreateReportType *noExpirationLinkGenCreateReport; + +/// (reports) Couldn't create report: Links created with no expiration @note +/// Ensure the `isNoExpirationLinkGenReportFailed` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoExpirationLinkGenReportFailedType *noExpirationLinkGenReportFailed; + +/// (reports) Report created: Links created without passwords @note Ensure the +/// `isNoPasswordLinkGenCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkGenCreateReportType *noPasswordLinkGenCreateReport; + +/// (reports) Couldn't create report: Links created without passwords @note +/// Ensure the `isNoPasswordLinkGenReportFailed` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkGenReportFailedType *noPasswordLinkGenReportFailed; + +/// (reports) Report created: Views of links without passwords @note Ensure the +/// `isNoPasswordLinkViewCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkViewCreateReportType *noPasswordLinkViewCreateReport; + +/// (reports) Couldn't create report: Views of links without passwords @note +/// Ensure the `isNoPasswordLinkViewReportFailed` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoPasswordLinkViewReportFailedType *noPasswordLinkViewReportFailed; + +/// (reports) Report created: Views of old links @note Ensure the +/// `isOutdatedLinkViewCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOutdatedLinkViewCreateReportType *outdatedLinkViewCreateReport; + +/// (reports) Couldn't create report: Views of old links @note Ensure the +/// `isOutdatedLinkViewReportFailed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOutdatedLinkViewReportFailedType *outdatedLinkViewReportFailed; + +/// (reports) Exported all team Paper docs @note Ensure the +/// `isPaperAdminExportStart` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperAdminExportStartType *paperAdminExportStart; + +/// (reports) Created ransomware report @note Ensure the +/// `isRansomwareAlertCreateReport` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRansomwareAlertCreateReportType *ransomwareAlertCreateReport; + +/// (reports) Couldn't generate ransomware report @note Ensure the +/// `isRansomwareAlertCreateReportFailed` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRansomwareAlertCreateReportFailedType *ransomwareAlertCreateReportFailed; + +/// (reports) Created Smart Sync non-admin devices report @note Ensure the +/// `isSmartSyncCreateAdminPrivilegeReport` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *smartSyncCreateAdminPrivilegeReport; + +/// (reports) Created team activity report @note Ensure the +/// `isTeamActivityCreateReport` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamActivityCreateReportType *teamActivityCreateReport; + +/// (reports) Couldn't generate team activity report @note Ensure the +/// `isTeamActivityCreateReportFail` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamActivityCreateReportFailType *teamActivityCreateReportFail; + +/// (sharing) Shared album @note Ensure the `isCollectionShare` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCollectionShareType *collectionShare; + +/// (sharing) Transfer files added @note Ensure the `isFileTransfersFileAdd` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersFileAddType *fileTransfersFileAdd; + +/// (sharing) Deleted transfer @note Ensure the `isFileTransfersTransferDelete` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferDeleteType *fileTransfersTransferDelete; + +/// (sharing) Transfer downloaded @note Ensure the +/// `isFileTransfersTransferDownload` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferDownloadType *fileTransfersTransferDownload; + +/// (sharing) Sent transfer @note Ensure the `isFileTransfersTransferSend` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferSendType *fileTransfersTransferSend; + +/// (sharing) Viewed transfer @note Ensure the `isFileTransfersTransferView` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersTransferViewType *fileTransfersTransferView; + +/// (sharing) Changed Paper doc to invite-only (deprecated, no longer logged) +/// @note Ensure the `isNoteAclInviteOnly` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclInviteOnlyType *noteAclInviteOnly; + +/// (sharing) Changed Paper doc to link-accessible (deprecated, no longer +/// logged) @note Ensure the `isNoteAclLink` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclLinkType *noteAclLink; + +/// (sharing) Changed Paper doc to link-accessible for team (deprecated, no +/// longer logged) @note Ensure the `isNoteAclTeamLink` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteAclTeamLinkType *noteAclTeamLink; + +/// (sharing) Shared Paper doc (deprecated, no longer logged) @note Ensure the +/// `isNoteShared` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteSharedType *noteShared; + +/// (sharing) Shared received Paper doc (deprecated, no longer logged) @note +/// Ensure the `isNoteShareReceive` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNoteShareReceiveType *noteShareReceive; + +/// (sharing) Opened shared Paper doc (deprecated, no longer logged) @note +/// Ensure the `isOpenNoteShared` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOpenNoteSharedType *openNoteShared; + +/// (sharing) Created shared link in Replay @note Ensure the +/// `isReplayFileSharedLinkCreated` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileSharedLinkCreatedType *replayFileSharedLinkCreated; + +/// (sharing) Modified shared link in Replay @note Ensure the +/// `isReplayFileSharedLinkModified` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayFileSharedLinkModifiedType *replayFileSharedLinkModified; + +/// (sharing) Added member to Replay Project @note Ensure the +/// `isReplayProjectTeamAdd` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayProjectTeamAddType *replayProjectTeamAdd; + +/// (sharing) Removed member from Replay Project @note Ensure the +/// `isReplayProjectTeamDelete` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGReplayProjectTeamDeleteType *replayProjectTeamDelete; + +/// (sharing) Added team to shared folder (deprecated, no longer logged) @note +/// Ensure the `isSfAddGroup` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfAddGroupType *sfAddGroup; + +/// (sharing) Allowed non-collaborators to view links to files in shared folder +/// (deprecated, no longer logged) @note Ensure the +/// `isSfAllowNonMembersToViewSharedLinks` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *sfAllowNonMembersToViewSharedLinks; + +/// (sharing) Set team members to see warning before sharing folders outside +/// team (deprecated, no longer logged) @note Ensure the +/// `isSfExternalInviteWarn` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfExternalInviteWarnType *sfExternalInviteWarn; + +/// (sharing) Invited Facebook users to shared folder (deprecated, no longer +/// logged) @note Ensure the `isSfFbInvite` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbInviteType *sfFbInvite; + +/// (sharing) Changed Facebook user's role in shared folder (deprecated, no +/// longer logged) @note Ensure the `isSfFbInviteChangeRole` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbInviteChangeRoleType *sfFbInviteChangeRole; + +/// (sharing) Uninvited Facebook user from shared folder (deprecated, no longer +/// logged) @note Ensure the `isSfFbUninvite` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfFbUninviteType *sfFbUninvite; + +/// (sharing) Invited group to shared folder (deprecated, no longer logged) +/// @note Ensure the `isSfInviteGroup` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfInviteGroupType *sfInviteGroup; + +/// (sharing) Granted access to shared folder (deprecated, no longer logged) +/// @note Ensure the `isSfTeamGrantAccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamGrantAccessType *sfTeamGrantAccess; + +/// (sharing) Invited team members to shared folder (deprecated, replaced by +/// 'Invited user to Dropbox and added them to shared file/folder') @note Ensure +/// the `isSfTeamInvite` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteType *sfTeamInvite; + +/// (sharing) Changed team member's role in shared folder (deprecated, no longer +/// logged) @note Ensure the `isSfTeamInviteChangeRole` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamInviteChangeRoleType *sfTeamInviteChangeRole; + +/// (sharing) Joined team member's shared folder (deprecated, no longer logged) +/// @note Ensure the `isSfTeamJoin` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinType *sfTeamJoin; + +/// (sharing) Joined team member's shared folder from link (deprecated, no +/// longer logged) @note Ensure the `isSfTeamJoinFromOobLink` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamJoinFromOobLinkType *sfTeamJoinFromOobLink; + +/// (sharing) Unshared folder with team member (deprecated, replaced by 'Removed +/// invitee from shared file/folder before invite was accepted') @note Ensure +/// the `isSfTeamUninvite` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSfTeamUninviteType *sfTeamUninvite; + +/// (sharing) Invited user to Dropbox and added them to shared file/folder @note +/// Ensure the `isSharedContentAddInvitees` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddInviteesType *sharedContentAddInvitees; + +/// (sharing) Added expiration date to link for shared file/folder (deprecated, +/// no longer logged) @note Ensure the `isSharedContentAddLinkExpiry` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkExpiryType *sharedContentAddLinkExpiry; + +/// (sharing) Added password to link for shared file/folder (deprecated, no +/// longer logged) @note Ensure the `isSharedContentAddLinkPassword` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddLinkPasswordType *sharedContentAddLinkPassword; + +/// (sharing) Added users and/or groups to shared file/folder @note Ensure the +/// `isSharedContentAddMember` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentAddMemberType *sharedContentAddMember; + +/// (sharing) Changed whether members can download shared file/folder +/// (deprecated, no longer logged) @note Ensure the +/// `isSharedContentChangeDownloadsPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeDownloadsPolicyType *sharedContentChangeDownloadsPolicy; + +/// (sharing) Changed access type of invitee to shared file/folder before invite +/// was accepted @note Ensure the `isSharedContentChangeInviteeRole` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeInviteeRoleType *sharedContentChangeInviteeRole; + +/// (sharing) Changed link audience of shared file/folder (deprecated, no longer +/// logged) @note Ensure the `isSharedContentChangeLinkAudience` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkAudienceType *sharedContentChangeLinkAudience; + +/// (sharing) Changed link expiration of shared file/folder (deprecated, no +/// longer logged) @note Ensure the `isSharedContentChangeLinkExpiry` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkExpiryType *sharedContentChangeLinkExpiry; + +/// (sharing) Changed link password of shared file/folder (deprecated, no longer +/// logged) @note Ensure the `isSharedContentChangeLinkPassword` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeLinkPasswordType *sharedContentChangeLinkPassword; + +/// (sharing) Changed access type of shared file/folder member @note Ensure the +/// `isSharedContentChangeMemberRole` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeMemberRoleType *sharedContentChangeMemberRole; + +/// (sharing) Changed whether members can see who viewed shared file/folder +/// @note Ensure the `isSharedContentChangeViewerInfoPolicy` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentChangeViewerInfoPolicyType *sharedContentChangeViewerInfoPolicy; + +/// (sharing) Acquired membership of shared file/folder by accepting invite +/// @note Ensure the `isSharedContentClaimInvitation` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentClaimInvitationType *sharedContentClaimInvitation; + +/// (sharing) Copied shared file/folder to own Dropbox @note Ensure the +/// `isSharedContentCopy` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentCopyType *sharedContentCopy; + +/// (sharing) Downloaded shared file/folder @note Ensure the +/// `isSharedContentDownload` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentDownloadType *sharedContentDownload; + +/// (sharing) Left shared file/folder @note Ensure the +/// `isSharedContentRelinquishMembership` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRelinquishMembershipType *sharedContentRelinquishMembership; + +/// (sharing) Removed invitee from shared file/folder before invite was accepted +/// @note Ensure the `isSharedContentRemoveInvitees` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveInviteesType *sharedContentRemoveInvitees; + +/// (sharing) Removed link expiration date of shared file/folder (deprecated, no +/// longer logged) @note Ensure the `isSharedContentRemoveLinkExpiry` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkExpiryType *sharedContentRemoveLinkExpiry; + +/// (sharing) Removed link password of shared file/folder (deprecated, no longer +/// logged) @note Ensure the `isSharedContentRemoveLinkPassword` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveLinkPasswordType *sharedContentRemoveLinkPassword; + +/// (sharing) Removed user/group from shared file/folder @note Ensure the +/// `isSharedContentRemoveMember` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRemoveMemberType *sharedContentRemoveMember; + +/// (sharing) Requested access to shared file/folder @note Ensure the +/// `isSharedContentRequestAccess` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRequestAccessType *sharedContentRequestAccess; + +/// (sharing) Restored shared file/folder invitees @note Ensure the +/// `isSharedContentRestoreInvitees` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRestoreInviteesType *sharedContentRestoreInvitees; + +/// (sharing) Restored users and/or groups to membership of shared file/folder +/// @note Ensure the `isSharedContentRestoreMember` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentRestoreMemberType *sharedContentRestoreMember; + +/// (sharing) Unshared file/folder by clearing membership @note Ensure the +/// `isSharedContentUnshare` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentUnshareType *sharedContentUnshare; + +/// (sharing) Previewed shared file/folder @note Ensure the +/// `isSharedContentView` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedContentViewType *sharedContentView; + +/// (sharing) Changed who can access shared folder via link @note Ensure the +/// `isSharedFolderChangeLinkPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeLinkPolicyType *sharedFolderChangeLinkPolicy; + +/// (sharing) Changed whether shared folder inherits members from parent folder +/// @note Ensure the `isSharedFolderChangeMembersInheritancePolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *sharedFolderChangeMembersInheritancePolicy; + +/// (sharing) Changed who can add/remove members of shared folder @note Ensure +/// the `isSharedFolderChangeMembersManagementPolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *sharedFolderChangeMembersManagementPolicy; + +/// (sharing) Changed who can become member of shared folder @note Ensure the +/// `isSharedFolderChangeMembersPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderChangeMembersPolicyType *sharedFolderChangeMembersPolicy; + +/// (sharing) Created shared folder @note Ensure the `isSharedFolderCreate` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderCreateType *sharedFolderCreate; + +/// (sharing) Declined team member's invite to shared folder @note Ensure the +/// `isSharedFolderDeclineInvitation` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderDeclineInvitationType *sharedFolderDeclineInvitation; + +/// (sharing) Added shared folder to own Dropbox @note Ensure the +/// `isSharedFolderMount` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderMountType *sharedFolderMount; + +/// (sharing) Changed parent of shared folder @note Ensure the +/// `isSharedFolderNest` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderNestType *sharedFolderNest; + +/// (sharing) Transferred ownership of shared folder to another member @note +/// Ensure the `isSharedFolderTransferOwnership` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderTransferOwnershipType *sharedFolderTransferOwnership; + +/// (sharing) Deleted shared folder from Dropbox @note Ensure the +/// `isSharedFolderUnmount` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderUnmountType *sharedFolderUnmount; + +/// (sharing) Added shared link expiration date @note Ensure the +/// `isSharedLinkAddExpiry` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkAddExpiryType *sharedLinkAddExpiry; + +/// (sharing) Changed shared link expiration date @note Ensure the +/// `isSharedLinkChangeExpiry` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkChangeExpiryType *sharedLinkChangeExpiry; + +/// (sharing) Changed visibility of shared link @note Ensure the +/// `isSharedLinkChangeVisibility` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkChangeVisibilityType *sharedLinkChangeVisibility; + +/// (sharing) Added file/folder to Dropbox from shared link @note Ensure the +/// `isSharedLinkCopy` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkCopyType *sharedLinkCopy; + +/// (sharing) Created shared link @note Ensure the `isSharedLinkCreate` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkCreateType *sharedLinkCreate; + +/// (sharing) Removed shared link @note Ensure the `isSharedLinkDisable` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkDisableType *sharedLinkDisable; + +/// (sharing) Downloaded file/folder from shared link @note Ensure the +/// `isSharedLinkDownload` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkDownloadType *sharedLinkDownload; + +/// (sharing) Removed shared link expiration date @note Ensure the +/// `isSharedLinkRemoveExpiry` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkRemoveExpiryType *sharedLinkRemoveExpiry; + +/// (sharing) Added an expiration date to the shared link @note Ensure the +/// `isSharedLinkSettingsAddExpiration` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsAddExpirationType *sharedLinkSettingsAddExpiration; + +/// (sharing) Added a password to the shared link @note Ensure the +/// `isSharedLinkSettingsAddPassword` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsAddPasswordType *sharedLinkSettingsAddPassword; + +/// (sharing) Disabled downloads @note Ensure the +/// `isSharedLinkSettingsAllowDownloadDisabled` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *sharedLinkSettingsAllowDownloadDisabled; + +/// (sharing) Enabled downloads @note Ensure the +/// `isSharedLinkSettingsAllowDownloadEnabled` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *sharedLinkSettingsAllowDownloadEnabled; + +/// (sharing) Changed the audience of the shared link @note Ensure the +/// `isSharedLinkSettingsChangeAudience` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsChangeAudienceType *sharedLinkSettingsChangeAudience; + +/// (sharing) Changed the expiration date of the shared link @note Ensure the +/// `isSharedLinkSettingsChangeExpiration` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsChangeExpirationType *sharedLinkSettingsChangeExpiration; + +/// (sharing) Changed the password of the shared link @note Ensure the +/// `isSharedLinkSettingsChangePassword` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsChangePasswordType *sharedLinkSettingsChangePassword; + +/// (sharing) Removed the expiration date from the shared link @note Ensure the +/// `isSharedLinkSettingsRemoveExpiration` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsRemoveExpirationType *sharedLinkSettingsRemoveExpiration; + +/// (sharing) Removed the password from the shared link @note Ensure the +/// `isSharedLinkSettingsRemovePassword` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkSettingsRemovePasswordType *sharedLinkSettingsRemovePassword; + +/// (sharing) Added members as audience of shared link @note Ensure the +/// `isSharedLinkShare` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkShareType *sharedLinkShare; + +/// (sharing) Opened shared link @note Ensure the `isSharedLinkView` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkViewType *sharedLinkView; + +/// (sharing) Opened shared Paper doc (deprecated, no longer logged) @note +/// Ensure the `isSharedNoteOpened` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharedNoteOpenedType *sharedNoteOpened; + +/// (sharing) Disabled downloads for link (deprecated, no longer logged) @note +/// Ensure the `isShmodelDisableDownloads` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelDisableDownloadsType *shmodelDisableDownloads; + +/// (sharing) Enabled downloads for link (deprecated, no longer logged) @note +/// Ensure the `isShmodelEnableDownloads` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelEnableDownloadsType *shmodelEnableDownloads; + +/// (sharing) Shared link with group (deprecated, no longer logged) @note Ensure +/// the `isShmodelGroupShare` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShmodelGroupShareType *shmodelGroupShare; + +/// (showcase) Granted access to showcase @note Ensure the +/// `isShowcaseAccessGranted` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseAccessGrantedType *showcaseAccessGranted; + +/// (showcase) Added member to showcase @note Ensure the `isShowcaseAddMember` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseAddMemberType *showcaseAddMember; + +/// (showcase) Archived showcase @note Ensure the `isShowcaseArchived` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseArchivedType *showcaseArchived; + +/// (showcase) Created showcase @note Ensure the `isShowcaseCreated` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseCreatedType *showcaseCreated; + +/// (showcase) Deleted showcase comment @note Ensure the +/// `isShowcaseDeleteComment` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDeleteCommentType *showcaseDeleteComment; + +/// (showcase) Edited showcase @note Ensure the `isShowcaseEdited` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEditedType *showcaseEdited; + +/// (showcase) Edited showcase comment @note Ensure the `isShowcaseEditComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEditCommentType *showcaseEditComment; + +/// (showcase) Added file to showcase @note Ensure the `isShowcaseFileAdded` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileAddedType *showcaseFileAdded; + +/// (showcase) Downloaded file from showcase @note Ensure the +/// `isShowcaseFileDownload` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileDownloadType *showcaseFileDownload; + +/// (showcase) Removed file from showcase @note Ensure the +/// `isShowcaseFileRemoved` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileRemovedType *showcaseFileRemoved; + +/// (showcase) Viewed file in showcase @note Ensure the `isShowcaseFileView` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseFileViewType *showcaseFileView; + +/// (showcase) Permanently deleted showcase @note Ensure the +/// `isShowcasePermanentlyDeleted` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcasePermanentlyDeletedType *showcasePermanentlyDeleted; + +/// (showcase) Added showcase comment @note Ensure the `isShowcasePostComment` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGShowcasePostCommentType *showcasePostComment; + +/// (showcase) Removed member from showcase @note Ensure the +/// `isShowcaseRemoveMember` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRemoveMemberType *showcaseRemoveMember; + +/// (showcase) Renamed showcase @note Ensure the `isShowcaseRenamed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRenamedType *showcaseRenamed; + +/// (showcase) Requested access to showcase @note Ensure the +/// `isShowcaseRequestAccess` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRequestAccessType *showcaseRequestAccess; + +/// (showcase) Resolved showcase comment @note Ensure the +/// `isShowcaseResolveComment` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseResolveCommentType *showcaseResolveComment; + +/// (showcase) Unarchived showcase @note Ensure the `isShowcaseRestored` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseRestoredType *showcaseRestored; + +/// (showcase) Deleted showcase @note Ensure the `isShowcaseTrashed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseTrashedType *showcaseTrashed; + +/// (showcase) Deleted showcase (old version) (deprecated, replaced by 'Deleted +/// showcase') @note Ensure the `isShowcaseTrashedDeprecated` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseTrashedDeprecatedType *showcaseTrashedDeprecated; + +/// (showcase) Unresolved showcase comment @note Ensure the +/// `isShowcaseUnresolveComment` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUnresolveCommentType *showcaseUnresolveComment; + +/// (showcase) Restored showcase @note Ensure the `isShowcaseUntrashed` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUntrashedType *showcaseUntrashed; + +/// (showcase) Restored showcase (old version) (deprecated, replaced by +/// 'Restored showcase') @note Ensure the `isShowcaseUntrashedDeprecated` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseUntrashedDeprecatedType *showcaseUntrashedDeprecated; + +/// (showcase) Viewed showcase @note Ensure the `isShowcaseView` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseViewType *showcaseView; + +/// (sso) Added X.509 certificate for SSO @note Ensure the `isSsoAddCert` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddCertType *ssoAddCert; + +/// (sso) Added sign-in URL for SSO @note Ensure the `isSsoAddLoginUrl` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddLoginUrlType *ssoAddLoginUrl; + +/// (sso) Added sign-out URL for SSO @note Ensure the `isSsoAddLogoutUrl` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoAddLogoutUrlType *ssoAddLogoutUrl; + +/// (sso) Changed X.509 certificate for SSO @note Ensure the `isSsoChangeCert` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeCertType *ssoChangeCert; + +/// (sso) Changed sign-in URL for SSO @note Ensure the `isSsoChangeLoginUrl` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeLoginUrlType *ssoChangeLoginUrl; + +/// (sso) Changed sign-out URL for SSO @note Ensure the `isSsoChangeLogoutUrl` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeLogoutUrlType *ssoChangeLogoutUrl; + +/// (sso) Changed SAML identity mode for SSO @note Ensure the +/// `isSsoChangeSamlIdentityMode` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangeSamlIdentityModeType *ssoChangeSamlIdentityMode; + +/// (sso) Removed X.509 certificate for SSO @note Ensure the `isSsoRemoveCert` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveCertType *ssoRemoveCert; + +/// (sso) Removed sign-in URL for SSO @note Ensure the `isSsoRemoveLoginUrl` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLoginUrlType *ssoRemoveLoginUrl; + +/// (sso) Removed sign-out URL for SSO @note Ensure the `isSsoRemoveLogoutUrl` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGSsoRemoveLogoutUrlType *ssoRemoveLogoutUrl; + +/// (team_folders) Changed archival status of team folder @note Ensure the +/// `isTeamFolderChangeStatus` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderChangeStatusType *teamFolderChangeStatus; + +/// (team_folders) Created team folder in active status @note Ensure the +/// `isTeamFolderCreate` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderCreateType *teamFolderCreate; + +/// (team_folders) Downgraded team folder to regular shared folder @note Ensure +/// the `isTeamFolderDowngrade` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderDowngradeType *teamFolderDowngrade; + +/// (team_folders) Permanently deleted archived team folder @note Ensure the +/// `isTeamFolderPermanentlyDelete` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderPermanentlyDeleteType *teamFolderPermanentlyDelete; + +/// (team_folders) Renamed active/archived team folder @note Ensure the +/// `isTeamFolderRename` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamFolderRenameType *teamFolderRename; + +/// (team_folders) Changed sync default @note Ensure the +/// `isTeamSelectiveSyncSettingsChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncSettingsChangedType *teamSelectiveSyncSettingsChanged; + +/// (team_policies) Changed account capture setting on team domain @note Ensure +/// the `isAccountCaptureChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAccountCaptureChangePolicyType *accountCaptureChangePolicy; + +/// (team_policies) Changed admin reminder settings for requests to join the +/// team @note Ensure the `isAdminEmailRemindersChanged` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAdminEmailRemindersChangedType *adminEmailRemindersChanged; + +/// (team_policies) Disabled downloads (deprecated, no longer logged) @note +/// Ensure the `isAllowDownloadDisabled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAllowDownloadDisabledType *allowDownloadDisabled; + +/// (team_policies) Enabled downloads (deprecated, no longer logged) @note +/// Ensure the `isAllowDownloadEnabled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAllowDownloadEnabledType *allowDownloadEnabled; + +/// (team_policies) Changed app permissions @note Ensure the +/// `isAppPermissionsChanged` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGAppPermissionsChangedType *appPermissionsChanged; + +/// (team_policies) Changed camera uploads setting for team @note Ensure the +/// `isCameraUploadsPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCameraUploadsPolicyChangedType *cameraUploadsPolicyChanged; + +/// (team_policies) Changed Capture transcription policy for team @note Ensure +/// the `isCaptureTranscriptPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGCaptureTranscriptPolicyChangedType *captureTranscriptPolicyChanged; + +/// (team_policies) Changed classification policy for team @note Ensure the +/// `isClassificationChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGClassificationChangePolicyType *classificationChangePolicy; + +/// (team_policies) Changed computer backup policy for team @note Ensure the +/// `isComputerBackupPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGComputerBackupPolicyChangedType *computerBackupPolicyChanged; + +/// (team_policies) Changed content management setting @note Ensure the +/// `isContentAdministrationPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGContentAdministrationPolicyChangedType *contentAdministrationPolicyChanged; + +/// (team_policies) Set restrictions on data center locations where team data +/// resides @note Ensure the `isDataPlacementRestrictionChangePolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDataPlacementRestrictionChangePolicyType *dataPlacementRestrictionChangePolicy; + +/// (team_policies) Completed restrictions on data center locations where team +/// data resides @note Ensure the `isDataPlacementRestrictionSatisfyPolicy` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) + DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *dataPlacementRestrictionSatisfyPolicy; + +/// (team_policies) Added members to device approvals exception list @note +/// Ensure the `isDeviceApprovalsAddException` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsAddExceptionType *deviceApprovalsAddException; + +/// (team_policies) Set/removed limit on number of computers member can link to +/// team Dropbox account @note Ensure the `isDeviceApprovalsChangeDesktopPolicy` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *deviceApprovalsChangeDesktopPolicy; + +/// (team_policies) Set/removed limit on number of mobile devices member can +/// link to team Dropbox account @note Ensure the +/// `isDeviceApprovalsChangeMobilePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *deviceApprovalsChangeMobilePolicy; + +/// (team_policies) Changed device approvals setting when member is over limit +/// @note Ensure the `isDeviceApprovalsChangeOverageAction` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsChangeOverageActionType *deviceApprovalsChangeOverageAction; + +/// (team_policies) Changed device approvals setting when member unlinks +/// approved device @note Ensure the `isDeviceApprovalsChangeUnlinkAction` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *deviceApprovalsChangeUnlinkAction; + +/// (team_policies) Removed members from device approvals exception list @note +/// Ensure the `isDeviceApprovalsRemoveException` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDeviceApprovalsRemoveExceptionType *deviceApprovalsRemoveException; + +/// (team_policies) Added members to directory restrictions list @note Ensure +/// the `isDirectoryRestrictionsAddMembers` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDirectoryRestrictionsAddMembersType *directoryRestrictionsAddMembers; + +/// (team_policies) Removed members from directory restrictions list @note +/// Ensure the `isDirectoryRestrictionsRemoveMembers` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDirectoryRestrictionsRemoveMembersType *directoryRestrictionsRemoveMembers; + +/// (team_policies) Changed Dropbox Passwords policy for team @note Ensure the +/// `isDropboxPasswordsPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGDropboxPasswordsPolicyChangedType *dropboxPasswordsPolicyChanged; + +/// (team_policies) Changed email to Dropbox policy for team @note Ensure the +/// `isEmailIngestPolicyChanged` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmailIngestPolicyChangedType *emailIngestPolicyChanged; + +/// (team_policies) Added members to EMM exception list @note Ensure the +/// `isEmmAddException` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmAddExceptionType *emmAddException; + +/// (team_policies) Enabled/disabled enterprise mobility management for members +/// @note Ensure the `isEmmChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmChangePolicyType *emmChangePolicy; + +/// (team_policies) Removed members from EMM exception list @note Ensure the +/// `isEmmRemoveException` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEmmRemoveExceptionType *emmRemoveException; + +/// (team_policies) Accepted/opted out of extended version history @note Ensure +/// the `isExtendedVersionHistoryChangePolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExtendedVersionHistoryChangePolicyType *extendedVersionHistoryChangePolicy; + +/// (team_policies) Changed external drive backup policy for team @note Ensure +/// the `isExternalDriveBackupPolicyChanged` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupPolicyChangedType *externalDriveBackupPolicyChanged; + +/// (team_policies) Enabled/disabled commenting on team files @note Ensure the +/// `isFileCommentsChangePolicy` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileCommentsChangePolicyType *fileCommentsChangePolicy; + +/// (team_policies) Changed file locking policy for team @note Ensure the +/// `isFileLockingPolicyChanged` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileLockingPolicyChangedType *fileLockingPolicyChanged; + +/// (team_policies) Changed File Provider Migration policy for team @note Ensure +/// the `isFileProviderMigrationPolicyChanged` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileProviderMigrationPolicyChangedType *fileProviderMigrationPolicyChanged; + +/// (team_policies) Enabled/disabled file requests @note Ensure the +/// `isFileRequestsChangePolicy` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestsChangePolicyType *fileRequestsChangePolicy; + +/// (team_policies) Enabled file request emails for everyone (deprecated, no +/// longer logged) @note Ensure the `isFileRequestsEmailsEnabled` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileRequestsEmailsEnabledType *fileRequestsEmailsEnabled; + +/// (team_policies) Enabled file request emails for team (deprecated, no longer +/// logged) @note Ensure the `isFileRequestsEmailsRestrictedToTeamOnly` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *fileRequestsEmailsRestrictedToTeamOnly; + +/// (team_policies) Changed file transfers policy for team @note Ensure the +/// `isFileTransfersPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersPolicyChangedType *fileTransfersPolicyChanged; + +/// (team_policies) Changed folder link restrictions policy for team @note +/// Ensure the `isFolderLinkRestrictionPolicyChanged` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGFolderLinkRestrictionPolicyChangedType *folderLinkRestrictionPolicyChanged; + +/// (team_policies) Enabled/disabled Google single sign-on for team @note Ensure +/// the `isGoogleSsoChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGoogleSsoChangePolicyType *googleSsoChangePolicy; + +/// (team_policies) Changed who can create groups @note Ensure the +/// `isGroupUserManagementChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGroupUserManagementChangePolicyType *groupUserManagementChangePolicy; + +/// (team_policies) Changed integration policy for team @note Ensure the +/// `isIntegrationPolicyChanged` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGIntegrationPolicyChangedType *integrationPolicyChanged; + +/// (team_policies) Changed invite accept email policy for team @note Ensure the +/// `isInviteAcceptanceEmailPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *inviteAcceptanceEmailPolicyChanged; + +/// (team_policies) Changed whether users can find team when not invited @note +/// Ensure the `isMemberRequestsChangePolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberRequestsChangePolicyType *memberRequestsChangePolicy; + +/// (team_policies) Changed member send invite policy for team @note Ensure the +/// `isMemberSendInvitePolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSendInvitePolicyChangedType *memberSendInvitePolicyChanged; + +/// (team_policies) Added members to member space limit exception list @note +/// Ensure the `isMemberSpaceLimitsAddException` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsAddExceptionType *memberSpaceLimitsAddException; + +/// (team_policies) Changed member space limit type for team @note Ensure the +/// `isMemberSpaceLimitsChangeCapsTypePolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *memberSpaceLimitsChangeCapsTypePolicy; + +/// (team_policies) Changed team default member space limit @note Ensure the +/// `isMemberSpaceLimitsChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsChangePolicyType *memberSpaceLimitsChangePolicy; + +/// (team_policies) Removed members from member space limit exception list @note +/// Ensure the `isMemberSpaceLimitsRemoveException` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *memberSpaceLimitsRemoveException; + +/// (team_policies) Enabled/disabled option for team members to suggest people +/// to add to team @note Ensure the `isMemberSuggestionsChangePolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMemberSuggestionsChangePolicyType *memberSuggestionsChangePolicy; + +/// (team_policies) Enabled/disabled Microsoft Office add-in @note Ensure the +/// `isMicrosoftOfficeAddinChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *microsoftOfficeAddinChangePolicy; + +/// (team_policies) Enabled/disabled network control @note Ensure the +/// `isNetworkControlChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNetworkControlChangePolicyType *networkControlChangePolicy; + +/// (team_policies) Changed whether Dropbox Paper, when enabled, is deployed to +/// all members or to specific members @note Ensure the +/// `isPaperChangeDeploymentPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeDeploymentPolicyType *paperChangeDeploymentPolicy; + +/// (team_policies) Changed whether non-members can view Paper docs with link +/// (deprecated, no longer logged) @note Ensure the +/// `isPaperChangeMemberLinkPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberLinkPolicyType *paperChangeMemberLinkPolicy; + +/// (team_policies) Changed whether members can share Paper docs outside team, +/// and if docs are accessible only by team members or anyone by default @note +/// Ensure the `isPaperChangeMemberPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangeMemberPolicyType *paperChangeMemberPolicy; + +/// (team_policies) Enabled/disabled Dropbox Paper for team @note Ensure the +/// `isPaperChangePolicy` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperChangePolicyType *paperChangePolicy; + +/// (team_policies) Changed Paper Default Folder Policy setting for team @note +/// Ensure the `isPaperDefaultFolderPolicyChanged` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDefaultFolderPolicyChangedType *paperDefaultFolderPolicyChanged; + +/// (team_policies) Enabled/disabled Paper Desktop for team @note Ensure the +/// `isPaperDesktopPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperDesktopPolicyChangedType *paperDesktopPolicyChanged; + +/// (team_policies) Added users to Paper-enabled users list @note Ensure the +/// `isPaperEnabledUsersGroupAddition` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupAdditionType *paperEnabledUsersGroupAddition; + +/// (team_policies) Removed users from Paper-enabled users list @note Ensure the +/// `isPaperEnabledUsersGroupRemoval` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPaperEnabledUsersGroupRemovalType *paperEnabledUsersGroupRemoval; + +/// (team_policies) Changed team password strength requirements @note Ensure the +/// `isPasswordStrengthRequirementsChangePolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *passwordStrengthRequirementsChangePolicy; + +/// (team_policies) Enabled/disabled ability of team members to permanently +/// delete content @note Ensure the `isPermanentDeleteChangePolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPermanentDeleteChangePolicyType *permanentDeleteChangePolicy; + +/// (team_policies) Enabled/disabled reseller support @note Ensure the +/// `isResellerSupportChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportChangePolicyType *resellerSupportChangePolicy; + +/// (team_policies) Changed Rewind policy for team @note Ensure the +/// `isRewindPolicyChanged` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGRewindPolicyChangedType *rewindPolicyChanged; + +/// (team_policies) Changed send for signature policy for team @note Ensure the +/// `isSendForSignaturePolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSendForSignaturePolicyChangedType *sendForSignaturePolicyChanged; + +/// (team_policies) Changed whether team members can join shared folders owned +/// outside team @note Ensure the `isSharingChangeFolderJoinPolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeFolderJoinPolicyType *sharingChangeFolderJoinPolicy; + +/// (team_policies) Changed the allow remove or change expiration policy for the +/// links shared outside of the team @note Ensure the +/// `isSharingChangeLinkAllowChangeExpirationPolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *sharingChangeLinkAllowChangeExpirationPolicy; + +/// (team_policies) Changed the default expiration for the links shared outside +/// of the team @note Ensure the `isSharingChangeLinkDefaultExpirationPolicy` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *sharingChangeLinkDefaultExpirationPolicy; + +/// (team_policies) Changed the password requirement for the links shared +/// outside of the team @note Ensure the +/// `isSharingChangeLinkEnforcePasswordPolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *sharingChangeLinkEnforcePasswordPolicy; + +/// (team_policies) Changed whether members can share links outside team, and if +/// links are accessible only by team members or anyone by default @note Ensure +/// the `isSharingChangeLinkPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeLinkPolicyType *sharingChangeLinkPolicy; + +/// (team_policies) Changed whether members can share files/folders outside team +/// @note Ensure the `isSharingChangeMemberPolicy` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSharingChangeMemberPolicyType *sharingChangeMemberPolicy; + +/// (team_policies) Enabled/disabled downloading files from Dropbox Showcase for +/// team @note Ensure the `isShowcaseChangeDownloadPolicy` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseChangeDownloadPolicyType *showcaseChangeDownloadPolicy; + +/// (team_policies) Enabled/disabled Dropbox Showcase for team @note Ensure the +/// `isShowcaseChangeEnabledPolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseChangeEnabledPolicyType *showcaseChangeEnabledPolicy; + +/// (team_policies) Enabled/disabled sharing Dropbox Showcase externally for +/// team @note Ensure the `isShowcaseChangeExternalSharingPolicy` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGShowcaseChangeExternalSharingPolicyType *showcaseChangeExternalSharingPolicy; + +/// (team_policies) Changed automatic Smart Sync setting for team @note Ensure +/// the `isSmarterSmartSyncPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmarterSmartSyncPolicyChangedType *smarterSmartSyncPolicyChanged; + +/// (team_policies) Changed default Smart Sync setting for team members @note +/// Ensure the `isSmartSyncChangePolicy` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncChangePolicyType *smartSyncChangePolicy; + +/// (team_policies) Opted team into Smart Sync @note Ensure the +/// `isSmartSyncNotOptOut` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncNotOptOutType *smartSyncNotOptOut; + +/// (team_policies) Opted team out of Smart Sync @note Ensure the +/// `isSmartSyncOptOut` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSmartSyncOptOutType *smartSyncOptOut; + +/// (team_policies) Changed single sign-on setting for team @note Ensure the +/// `isSsoChangePolicy` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSsoChangePolicyType *ssoChangePolicy; + +/// (team_policies) Changed team branding policy for team @note Ensure the +/// `isTeamBrandingPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamBrandingPolicyChangedType *teamBrandingPolicyChanged; + +/// (team_policies) Changed App Integrations setting for team @note Ensure the +/// `isTeamExtensionsPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamExtensionsPolicyChangedType *teamExtensionsPolicyChanged; + +/// (team_policies) Enabled/disabled Team Selective Sync for team @note Ensure +/// the `isTeamSelectiveSyncPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncPolicyChangedType *teamSelectiveSyncPolicyChanged; + +/// (team_policies) Edited the approved list for sharing externally @note Ensure +/// the `isTeamSharingWhitelistSubjectsChanged` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *teamSharingWhitelistSubjectsChanged; + +/// (team_policies) Added members to two factor authentication exception list +/// @note Ensure the `isTfaAddException` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddExceptionType *tfaAddException; + +/// (team_policies) Changed two-step verification setting for team @note Ensure +/// the `isTfaChangePolicy` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangePolicyType *tfaChangePolicy; + +/// (team_policies) Removed members from two factor authentication exception +/// list @note Ensure the `isTfaRemoveException` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveExceptionType *tfaRemoveException; + +/// (team_policies) Enabled/disabled option for members to link personal Dropbox +/// account and team account to same computer @note Ensure the +/// `isTwoAccountChangePolicy` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTwoAccountChangePolicyType *twoAccountChangePolicy; + +/// (team_policies) Changed team policy for viewer info @note Ensure the +/// `isViewerInfoPolicyChanged` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGViewerInfoPolicyChangedType *viewerInfoPolicyChanged; + +/// (team_policies) Changed watermarking policy for team @note Ensure the +/// `isWatermarkingPolicyChanged` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWatermarkingPolicyChangedType *watermarkingPolicyChanged; + +/// (team_policies) Changed limit on active sessions per member @note Ensure the +/// `isWebSessionsChangeActiveSessionLimit` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionsChangeActiveSessionLimitType *webSessionsChangeActiveSessionLimit; + +/// (team_policies) Changed how long members can stay signed in to Dropbox.com +/// @note Ensure the `isWebSessionsChangeFixedLengthPolicy` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *webSessionsChangeFixedLengthPolicy; + +/// (team_policies) Changed how long team members can be idle while signed in to +/// Dropbox.com @note Ensure the `isWebSessionsChangeIdleLengthPolicy` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *webSessionsChangeIdleLengthPolicy; + +/// (team_profile) Requested data residency migration for team data @note Ensure +/// the `isDataResidencyMigrationRequestSuccessful` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *dataResidencyMigrationRequestSuccessful; + +/// (team_profile) Request for data residency migration for team data has failed +/// @note Ensure the `isDataResidencyMigrationRequestUnsuccessful` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *dataResidencyMigrationRequestUnsuccessful; + +/// (team_profile) Merged another team into this team @note Ensure the +/// `isTeamMergeFrom` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeFromType *teamMergeFrom; + +/// (team_profile) Merged this team into another team @note Ensure the +/// `isTeamMergeTo` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeToType *teamMergeTo; + +/// (team_profile) Added team background to display on shared link headers @note +/// Ensure the `isTeamProfileAddBackground` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileAddBackgroundType *teamProfileAddBackground; + +/// (team_profile) Added team logo to display on shared link headers @note +/// Ensure the `isTeamProfileAddLogo` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileAddLogoType *teamProfileAddLogo; + +/// (team_profile) Changed team background displayed on shared link headers +/// @note Ensure the `isTeamProfileChangeBackground` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeBackgroundType *teamProfileChangeBackground; + +/// (team_profile) Changed default language for team @note Ensure the +/// `isTeamProfileChangeDefaultLanguage` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeDefaultLanguageType *teamProfileChangeDefaultLanguage; + +/// (team_profile) Changed team logo displayed on shared link headers @note +/// Ensure the `isTeamProfileChangeLogo` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeLogoType *teamProfileChangeLogo; + +/// (team_profile) Changed team name @note Ensure the `isTeamProfileChangeName` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileChangeNameType *teamProfileChangeName; + +/// (team_profile) Removed team background displayed on shared link headers +/// @note Ensure the `isTeamProfileRemoveBackground` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileRemoveBackgroundType *teamProfileRemoveBackground; + +/// (team_profile) Removed team logo displayed on shared link headers @note +/// Ensure the `isTeamProfileRemoveLogo` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamProfileRemoveLogoType *teamProfileRemoveLogo; + +/// (tfa) Added backup phone for two-step verification @note Ensure the +/// `isTfaAddBackupPhone` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddBackupPhoneType *tfaAddBackupPhone; + +/// (tfa) Added security key for two-step verification @note Ensure the +/// `isTfaAddSecurityKey` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaAddSecurityKeyType *tfaAddSecurityKey; + +/// (tfa) Changed backup phone for two-step verification @note Ensure the +/// `isTfaChangeBackupPhone` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangeBackupPhoneType *tfaChangeBackupPhone; + +/// (tfa) Enabled/disabled/changed two-step verification setting @note Ensure +/// the `isTfaChangeStatus` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaChangeStatusType *tfaChangeStatus; + +/// (tfa) Removed backup phone for two-step verification @note Ensure the +/// `isTfaRemoveBackupPhone` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveBackupPhoneType *tfaRemoveBackupPhone; + +/// (tfa) Removed security key for two-step verification @note Ensure the +/// `isTfaRemoveSecurityKey` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaRemoveSecurityKeyType *tfaRemoveSecurityKey; + +/// (tfa) Reset two-step verification for team member @note Ensure the +/// `isTfaReset` method returns true before accessing, otherwise a runtime +/// exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTfaResetType *tfaReset; + +/// (trusted_teams) Changed enterprise admin role @note Ensure the +/// `isChangedEnterpriseAdminRole` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGChangedEnterpriseAdminRoleType *changedEnterpriseAdminRole; + +/// (trusted_teams) Changed enterprise-connected team status @note Ensure the +/// `isChangedEnterpriseConnectedTeamStatus` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *changedEnterpriseConnectedTeamStatus; + +/// (trusted_teams) Ended enterprise admin session @note Ensure the +/// `isEndedEnterpriseAdminSession` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEndedEnterpriseAdminSessionType *endedEnterpriseAdminSession; + +/// (trusted_teams) Ended enterprise admin session (deprecated, replaced by +/// 'Ended enterprise admin session') @note Ensure the +/// `isEndedEnterpriseAdminSessionDeprecated` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *endedEnterpriseAdminSessionDeprecated; + +/// (trusted_teams) Changed who can update a setting @note Ensure the +/// `isEnterpriseSettingsLocking` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGEnterpriseSettingsLockingType *enterpriseSettingsLocking; + +/// (trusted_teams) Changed guest team admin status @note Ensure the +/// `isGuestAdminChangeStatus` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGGuestAdminChangeStatusType *guestAdminChangeStatus; + +/// (trusted_teams) Started enterprise admin session @note Ensure the +/// `isStartedEnterpriseAdminSession` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGStartedEnterpriseAdminSessionType *startedEnterpriseAdminSession; + +/// (trusted_teams) Accepted a team merge request @note Ensure the +/// `isTeamMergeRequestAccepted` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAcceptedType *teamMergeRequestAccepted; + +/// (trusted_teams) Accepted a team merge request (deprecated, replaced by +/// 'Accepted a team merge request') @note Ensure the +/// `isTeamMergeRequestAcceptedShownToPrimaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *teamMergeRequestAcceptedShownToPrimaryTeam; + +/// (trusted_teams) Accepted a team merge request (deprecated, replaced by +/// 'Accepted a team merge request') @note Ensure the +/// `isTeamMergeRequestAcceptedShownToSecondaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *teamMergeRequestAcceptedShownToSecondaryTeam; + +/// (trusted_teams) Automatically canceled team merge request @note Ensure the +/// `isTeamMergeRequestAutoCanceled` method returns true before accessing, +/// otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAutoCanceledType *teamMergeRequestAutoCanceled; + +/// (trusted_teams) Canceled a team merge request @note Ensure the +/// `isTeamMergeRequestCanceled` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestCanceledType *teamMergeRequestCanceled; + +/// (trusted_teams) Canceled a team merge request (deprecated, replaced by +/// 'Canceled a team merge request') @note Ensure the +/// `isTeamMergeRequestCanceledShownToPrimaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *teamMergeRequestCanceledShownToPrimaryTeam; + +/// (trusted_teams) Canceled a team merge request (deprecated, replaced by +/// 'Canceled a team merge request') @note Ensure the +/// `isTeamMergeRequestCanceledShownToSecondaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *teamMergeRequestCanceledShownToSecondaryTeam; + +/// (trusted_teams) Team merge request expired @note Ensure the +/// `isTeamMergeRequestExpired` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestExpiredType *teamMergeRequestExpired; + +/// (trusted_teams) Team merge request expired (deprecated, replaced by 'Team +/// merge request expired') @note Ensure the +/// `isTeamMergeRequestExpiredShownToPrimaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *teamMergeRequestExpiredShownToPrimaryTeam; + +/// (trusted_teams) Team merge request expired (deprecated, replaced by 'Team +/// merge request expired') @note Ensure the +/// `isTeamMergeRequestExpiredShownToSecondaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *teamMergeRequestExpiredShownToSecondaryTeam; + +/// (trusted_teams) Rejected a team merge request (deprecated, no longer logged) +/// @note Ensure the `isTeamMergeRequestRejectedShownToPrimaryTeam` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *teamMergeRequestRejectedShownToPrimaryTeam; + +/// (trusted_teams) Rejected a team merge request (deprecated, no longer logged) +/// @note Ensure the `isTeamMergeRequestRejectedShownToSecondaryTeam` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *teamMergeRequestRejectedShownToSecondaryTeam; + +/// (trusted_teams) Sent a team merge request reminder @note Ensure the +/// `isTeamMergeRequestReminder` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestReminderType *teamMergeRequestReminder; + +/// (trusted_teams) Sent a team merge request reminder (deprecated, replaced by +/// 'Sent a team merge request reminder') @note Ensure the +/// `isTeamMergeRequestReminderShownToPrimaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *teamMergeRequestReminderShownToPrimaryTeam; + +/// (trusted_teams) Sent a team merge request reminder (deprecated, replaced by +/// 'Sent a team merge request reminder') @note Ensure the +/// `isTeamMergeRequestReminderShownToSecondaryTeam` method returns true before +/// accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *teamMergeRequestReminderShownToSecondaryTeam; + +/// (trusted_teams) Canceled the team merge @note Ensure the +/// `isTeamMergeRequestRevoked` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestRevokedType *teamMergeRequestRevoked; + +/// (trusted_teams) Requested to merge their Dropbox team into yours @note +/// Ensure the `isTeamMergeRequestSentShownToPrimaryTeam` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *teamMergeRequestSentShownToPrimaryTeam; + +/// (trusted_teams) Requested to merge your team into another Dropbox team @note +/// Ensure the `isTeamMergeRequestSentShownToSecondaryTeam` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) + DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *teamMergeRequestSentShownToSecondaryTeam; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of +/// "admin_alerting_alert_state_changed". +/// +/// Description of the "admin_alerting_alert_state_changed" tag state: +/// (admin_alerting) Changed an alert state +/// +/// @param adminAlertingAlertStateChanged (admin_alerting) Changed an alert +/// state +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingAlertStateChanged: + (DBTEAMLOGAdminAlertingAlertStateChangedType *)adminAlertingAlertStateChanged; + +/// +/// Initializes union class with tag state of +/// "admin_alerting_changed_alert_config". +/// +/// Description of the "admin_alerting_changed_alert_config" tag state: +/// (admin_alerting) Changed an alert setting +/// +/// @param adminAlertingChangedAlertConfig (admin_alerting) Changed an alert +/// setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingChangedAlertConfig: + (DBTEAMLOGAdminAlertingChangedAlertConfigType *)adminAlertingChangedAlertConfig; + +/// +/// Initializes union class with tag state of "admin_alerting_triggered_alert". +/// +/// Description of the "admin_alerting_triggered_alert" tag state: +/// (admin_alerting) Triggered security alert +/// +/// @param adminAlertingTriggeredAlert (admin_alerting) Triggered security alert +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingTriggeredAlert: + (DBTEAMLOGAdminAlertingTriggeredAlertType *)adminAlertingTriggeredAlert; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_completed". +/// +/// Description of the "ransomware_restore_process_completed" tag state: +/// (admin_alerting) Completed ransomware restore process +/// +/// @param ransomwareRestoreProcessCompleted (admin_alerting) Completed +/// ransomware restore process +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessCompleted: + (DBTEAMLOGRansomwareRestoreProcessCompletedType *)ransomwareRestoreProcessCompleted; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_started". +/// +/// Description of the "ransomware_restore_process_started" tag state: +/// (admin_alerting) Started ransomware restore process +/// +/// @param ransomwareRestoreProcessStarted (admin_alerting) Started ransomware +/// restore process +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessStarted: + (DBTEAMLOGRansomwareRestoreProcessStartedType *)ransomwareRestoreProcessStarted; + +/// +/// Initializes union class with tag state of "app_blocked_by_permissions". +/// +/// Description of the "app_blocked_by_permissions" tag state: (apps) Failed to +/// connect app for member +/// +/// @param appBlockedByPermissions (apps) Failed to connect app for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppBlockedByPermissions:(DBTEAMLOGAppBlockedByPermissionsType *)appBlockedByPermissions; + +/// +/// Initializes union class with tag state of "app_link_team". +/// +/// Description of the "app_link_team" tag state: (apps) Linked app for team +/// +/// @param appLinkTeam (apps) Linked app for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkTeam:(DBTEAMLOGAppLinkTeamType *)appLinkTeam; + +/// +/// Initializes union class with tag state of "app_link_user". +/// +/// Description of the "app_link_user" tag state: (apps) Linked app for member +/// +/// @param appLinkUser (apps) Linked app for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkUser:(DBTEAMLOGAppLinkUserType *)appLinkUser; + +/// +/// Initializes union class with tag state of "app_unlink_team". +/// +/// Description of the "app_unlink_team" tag state: (apps) Unlinked app for team +/// +/// @param appUnlinkTeam (apps) Unlinked app for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkTeam:(DBTEAMLOGAppUnlinkTeamType *)appUnlinkTeam; + +/// +/// Initializes union class with tag state of "app_unlink_user". +/// +/// Description of the "app_unlink_user" tag state: (apps) Unlinked app for +/// member +/// +/// @param appUnlinkUser (apps) Unlinked app for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkUser:(DBTEAMLOGAppUnlinkUserType *)appUnlinkUser; + +/// +/// Initializes union class with tag state of "integration_connected". +/// +/// Description of the "integration_connected" tag state: (apps) Connected +/// integration for member +/// +/// @param integrationConnected (apps) Connected integration for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationConnected:(DBTEAMLOGIntegrationConnectedType *)integrationConnected; + +/// +/// Initializes union class with tag state of "integration_disconnected". +/// +/// Description of the "integration_disconnected" tag state: (apps) Disconnected +/// integration for member +/// +/// @param integrationDisconnected (apps) Disconnected integration for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationDisconnected:(DBTEAMLOGIntegrationDisconnectedType *)integrationDisconnected; + +/// +/// Initializes union class with tag state of "file_add_comment". +/// +/// Description of the "file_add_comment" tag state: (comments) Added file +/// comment +/// +/// @param fileAddComment (comments) Added file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddComment:(DBTEAMLOGFileAddCommentType *)fileAddComment; + +/// +/// Initializes union class with tag state of +/// "file_change_comment_subscription". +/// +/// Description of the "file_change_comment_subscription" tag state: (comments) +/// Subscribed to or unsubscribed from comment notifications for file +/// +/// @param fileChangeCommentSubscription (comments) Subscribed to or +/// unsubscribed from comment notifications for file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileChangeCommentSubscription: + (DBTEAMLOGFileChangeCommentSubscriptionType *)fileChangeCommentSubscription; + +/// +/// Initializes union class with tag state of "file_delete_comment". +/// +/// Description of the "file_delete_comment" tag state: (comments) Deleted file +/// comment +/// +/// @param fileDeleteComment (comments) Deleted file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDeleteComment:(DBTEAMLOGFileDeleteCommentType *)fileDeleteComment; + +/// +/// Initializes union class with tag state of "file_edit_comment". +/// +/// Description of the "file_edit_comment" tag state: (comments) Edited file +/// comment +/// +/// @param fileEditComment (comments) Edited file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEditComment:(DBTEAMLOGFileEditCommentType *)fileEditComment; + +/// +/// Initializes union class with tag state of "file_like_comment". +/// +/// Description of the "file_like_comment" tag state: (comments) Liked file +/// comment (deprecated, no longer logged) +/// +/// @param fileLikeComment (comments) Liked file comment (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLikeComment:(DBTEAMLOGFileLikeCommentType *)fileLikeComment; + +/// +/// Initializes union class with tag state of "file_resolve_comment". +/// +/// Description of the "file_resolve_comment" tag state: (comments) Resolved +/// file comment +/// +/// @param fileResolveComment (comments) Resolved file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileResolveComment:(DBTEAMLOGFileResolveCommentType *)fileResolveComment; + +/// +/// Initializes union class with tag state of "file_unlike_comment". +/// +/// Description of the "file_unlike_comment" tag state: (comments) Unliked file +/// comment (deprecated, no longer logged) +/// +/// @param fileUnlikeComment (comments) Unliked file comment (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnlikeComment:(DBTEAMLOGFileUnlikeCommentType *)fileUnlikeComment; + +/// +/// Initializes union class with tag state of "file_unresolve_comment". +/// +/// Description of the "file_unresolve_comment" tag state: (comments) Unresolved +/// file comment +/// +/// @param fileUnresolveComment (comments) Unresolved file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnresolveComment:(DBTEAMLOGFileUnresolveCommentType *)fileUnresolveComment; + +/// +/// Initializes union class with tag state of "governance_policy_add_folders". +/// +/// Description of the "governance_policy_add_folders" tag state: +/// (data_governance) Added folders to policy +/// +/// @param governancePolicyAddFolders (data_governance) Added folders to policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFolders: + (DBTEAMLOGGovernancePolicyAddFoldersType *)governancePolicyAddFolders; + +/// +/// Initializes union class with tag state of +/// "governance_policy_add_folder_failed". +/// +/// Description of the "governance_policy_add_folder_failed" tag state: +/// (data_governance) Couldn't add a folder to a policy +/// +/// @param governancePolicyAddFolderFailed (data_governance) Couldn't add a +/// folder to a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFolderFailed: + (DBTEAMLOGGovernancePolicyAddFolderFailedType *)governancePolicyAddFolderFailed; + +/// +/// Initializes union class with tag state of +/// "governance_policy_content_disposed". +/// +/// Description of the "governance_policy_content_disposed" tag state: +/// (data_governance) Content disposed +/// +/// @param governancePolicyContentDisposed (data_governance) Content disposed +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyContentDisposed: + (DBTEAMLOGGovernancePolicyContentDisposedType *)governancePolicyContentDisposed; + +/// +/// Initializes union class with tag state of "governance_policy_create". +/// +/// Description of the "governance_policy_create" tag state: (data_governance) +/// Activated a new policy +/// +/// @param governancePolicyCreate (data_governance) Activated a new policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyCreate:(DBTEAMLOGGovernancePolicyCreateType *)governancePolicyCreate; + +/// +/// Initializes union class with tag state of "governance_policy_delete". +/// +/// Description of the "governance_policy_delete" tag state: (data_governance) +/// Deleted a policy +/// +/// @param governancePolicyDelete (data_governance) Deleted a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyDelete:(DBTEAMLOGGovernancePolicyDeleteType *)governancePolicyDelete; + +/// +/// Initializes union class with tag state of "governance_policy_edit_details". +/// +/// Description of the "governance_policy_edit_details" tag state: +/// (data_governance) Edited policy +/// +/// @param governancePolicyEditDetails (data_governance) Edited policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDetails: + (DBTEAMLOGGovernancePolicyEditDetailsType *)governancePolicyEditDetails; + +/// +/// Initializes union class with tag state of "governance_policy_edit_duration". +/// +/// Description of the "governance_policy_edit_duration" tag state: +/// (data_governance) Changed policy duration +/// +/// @param governancePolicyEditDuration (data_governance) Changed policy +/// duration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDuration: + (DBTEAMLOGGovernancePolicyEditDurationType *)governancePolicyEditDuration; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_created". +/// +/// Description of the "governance_policy_export_created" tag state: +/// (data_governance) Created a policy download +/// +/// @param governancePolicyExportCreated (data_governance) Created a policy +/// download +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportCreated: + (DBTEAMLOGGovernancePolicyExportCreatedType *)governancePolicyExportCreated; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_removed". +/// +/// Description of the "governance_policy_export_removed" tag state: +/// (data_governance) Removed a policy download +/// +/// @param governancePolicyExportRemoved (data_governance) Removed a policy +/// download +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportRemoved: + (DBTEAMLOGGovernancePolicyExportRemovedType *)governancePolicyExportRemoved; + +/// +/// Initializes union class with tag state of +/// "governance_policy_remove_folders". +/// +/// Description of the "governance_policy_remove_folders" tag state: +/// (data_governance) Removed folders from policy +/// +/// @param governancePolicyRemoveFolders (data_governance) Removed folders from +/// policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyRemoveFolders: + (DBTEAMLOGGovernancePolicyRemoveFoldersType *)governancePolicyRemoveFolders; + +/// +/// Initializes union class with tag state of +/// "governance_policy_report_created". +/// +/// Description of the "governance_policy_report_created" tag state: +/// (data_governance) Created a summary report for a policy +/// +/// @param governancePolicyReportCreated (data_governance) Created a summary +/// report for a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyReportCreated: + (DBTEAMLOGGovernancePolicyReportCreatedType *)governancePolicyReportCreated; + +/// +/// Initializes union class with tag state of +/// "governance_policy_zip_part_downloaded". +/// +/// Description of the "governance_policy_zip_part_downloaded" tag state: +/// (data_governance) Downloaded content from a policy +/// +/// @param governancePolicyZipPartDownloaded (data_governance) Downloaded +/// content from a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyZipPartDownloaded: + (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)governancePolicyZipPartDownloaded; + +/// +/// Initializes union class with tag state of "legal_holds_activate_a_hold". +/// +/// Description of the "legal_holds_activate_a_hold" tag state: +/// (data_governance) Activated a hold +/// +/// @param legalHoldsActivateAHold (data_governance) Activated a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsActivateAHold:(DBTEAMLOGLegalHoldsActivateAHoldType *)legalHoldsActivateAHold; + +/// +/// Initializes union class with tag state of "legal_holds_add_members". +/// +/// Description of the "legal_holds_add_members" tag state: (data_governance) +/// Added members to a hold +/// +/// @param legalHoldsAddMembers (data_governance) Added members to a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsAddMembers:(DBTEAMLOGLegalHoldsAddMembersType *)legalHoldsAddMembers; + +/// +/// Initializes union class with tag state of "legal_holds_change_hold_details". +/// +/// Description of the "legal_holds_change_hold_details" tag state: +/// (data_governance) Edited details for a hold +/// +/// @param legalHoldsChangeHoldDetails (data_governance) Edited details for a +/// hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldDetails: + (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)legalHoldsChangeHoldDetails; + +/// +/// Initializes union class with tag state of "legal_holds_change_hold_name". +/// +/// Description of the "legal_holds_change_hold_name" tag state: +/// (data_governance) Renamed a hold +/// +/// @param legalHoldsChangeHoldName (data_governance) Renamed a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldName:(DBTEAMLOGLegalHoldsChangeHoldNameType *)legalHoldsChangeHoldName; + +/// +/// Initializes union class with tag state of "legal_holds_export_a_hold". +/// +/// Description of the "legal_holds_export_a_hold" tag state: (data_governance) +/// Exported hold +/// +/// @param legalHoldsExportAHold (data_governance) Exported hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportAHold:(DBTEAMLOGLegalHoldsExportAHoldType *)legalHoldsExportAHold; + +/// +/// Initializes union class with tag state of "legal_holds_export_cancelled". +/// +/// Description of the "legal_holds_export_cancelled" tag state: +/// (data_governance) Canceled export for a hold +/// +/// @param legalHoldsExportCancelled (data_governance) Canceled export for a +/// hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportCancelled:(DBTEAMLOGLegalHoldsExportCancelledType *)legalHoldsExportCancelled; + +/// +/// Initializes union class with tag state of "legal_holds_export_downloaded". +/// +/// Description of the "legal_holds_export_downloaded" tag state: +/// (data_governance) Downloaded export for a hold +/// +/// @param legalHoldsExportDownloaded (data_governance) Downloaded export for a +/// hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportDownloaded: + (DBTEAMLOGLegalHoldsExportDownloadedType *)legalHoldsExportDownloaded; + +/// +/// Initializes union class with tag state of "legal_holds_export_removed". +/// +/// Description of the "legal_holds_export_removed" tag state: (data_governance) +/// Removed export for a hold +/// +/// @param legalHoldsExportRemoved (data_governance) Removed export for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportRemoved:(DBTEAMLOGLegalHoldsExportRemovedType *)legalHoldsExportRemoved; + +/// +/// Initializes union class with tag state of "legal_holds_release_a_hold". +/// +/// Description of the "legal_holds_release_a_hold" tag state: (data_governance) +/// Released a hold +/// +/// @param legalHoldsReleaseAHold (data_governance) Released a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReleaseAHold:(DBTEAMLOGLegalHoldsReleaseAHoldType *)legalHoldsReleaseAHold; + +/// +/// Initializes union class with tag state of "legal_holds_remove_members". +/// +/// Description of the "legal_holds_remove_members" tag state: (data_governance) +/// Removed members from a hold +/// +/// @param legalHoldsRemoveMembers (data_governance) Removed members from a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsRemoveMembers:(DBTEAMLOGLegalHoldsRemoveMembersType *)legalHoldsRemoveMembers; + +/// +/// Initializes union class with tag state of "legal_holds_report_a_hold". +/// +/// Description of the "legal_holds_report_a_hold" tag state: (data_governance) +/// Created a summary report for a hold +/// +/// @param legalHoldsReportAHold (data_governance) Created a summary report for +/// a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReportAHold:(DBTEAMLOGLegalHoldsReportAHoldType *)legalHoldsReportAHold; + +/// +/// Initializes union class with tag state of "device_change_ip_desktop". +/// +/// Description of the "device_change_ip_desktop" tag state: (devices) Changed +/// IP address associated with active desktop session +/// +/// @param deviceChangeIpDesktop (devices) Changed IP address associated with +/// active desktop session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpDesktop:(DBTEAMLOGDeviceChangeIpDesktopType *)deviceChangeIpDesktop; + +/// +/// Initializes union class with tag state of "device_change_ip_mobile". +/// +/// Description of the "device_change_ip_mobile" tag state: (devices) Changed IP +/// address associated with active mobile session +/// +/// @param deviceChangeIpMobile (devices) Changed IP address associated with +/// active mobile session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpMobile:(DBTEAMLOGDeviceChangeIpMobileType *)deviceChangeIpMobile; + +/// +/// Initializes union class with tag state of "device_change_ip_web". +/// +/// Description of the "device_change_ip_web" tag state: (devices) Changed IP +/// address associated with active web session +/// +/// @param deviceChangeIpWeb (devices) Changed IP address associated with active +/// web session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpWeb:(DBTEAMLOGDeviceChangeIpWebType *)deviceChangeIpWeb; + +/// +/// Initializes union class with tag state of "device_delete_on_unlink_fail". +/// +/// Description of the "device_delete_on_unlink_fail" tag state: (devices) +/// Failed to delete all files from unlinked device +/// +/// @param deviceDeleteOnUnlinkFail (devices) Failed to delete all files from +/// unlinked device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkFail:(DBTEAMLOGDeviceDeleteOnUnlinkFailType *)deviceDeleteOnUnlinkFail; + +/// +/// Initializes union class with tag state of "device_delete_on_unlink_success". +/// +/// Description of the "device_delete_on_unlink_success" tag state: (devices) +/// Deleted all files from unlinked device +/// +/// @param deviceDeleteOnUnlinkSuccess (devices) Deleted all files from unlinked +/// device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkSuccess: + (DBTEAMLOGDeviceDeleteOnUnlinkSuccessType *)deviceDeleteOnUnlinkSuccess; + +/// +/// Initializes union class with tag state of "device_link_fail". +/// +/// Description of the "device_link_fail" tag state: (devices) Failed to link +/// device +/// +/// @param deviceLinkFail (devices) Failed to link device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkFail:(DBTEAMLOGDeviceLinkFailType *)deviceLinkFail; + +/// +/// Initializes union class with tag state of "device_link_success". +/// +/// Description of the "device_link_success" tag state: (devices) Linked device +/// +/// @param deviceLinkSuccess (devices) Linked device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkSuccess:(DBTEAMLOGDeviceLinkSuccessType *)deviceLinkSuccess; + +/// +/// Initializes union class with tag state of "device_management_disabled". +/// +/// Description of the "device_management_disabled" tag state: (devices) +/// Disabled device management (deprecated, no longer logged) +/// +/// @param deviceManagementDisabled (devices) Disabled device management +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementDisabled:(DBTEAMLOGDeviceManagementDisabledType *)deviceManagementDisabled; + +/// +/// Initializes union class with tag state of "device_management_enabled". +/// +/// Description of the "device_management_enabled" tag state: (devices) Enabled +/// device management (deprecated, no longer logged) +/// +/// @param deviceManagementEnabled (devices) Enabled device management +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementEnabled:(DBTEAMLOGDeviceManagementEnabledType *)deviceManagementEnabled; + +/// +/// Initializes union class with tag state of +/// "device_sync_backup_status_changed". +/// +/// Description of the "device_sync_backup_status_changed" tag state: (devices) +/// Enabled/disabled backup for computer +/// +/// @param deviceSyncBackupStatusChanged (devices) Enabled/disabled backup for +/// computer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceSyncBackupStatusChanged: + (DBTEAMLOGDeviceSyncBackupStatusChangedType *)deviceSyncBackupStatusChanged; + +/// +/// Initializes union class with tag state of "device_unlink". +/// +/// Description of the "device_unlink" tag state: (devices) Disconnected device +/// +/// @param deviceUnlink (devices) Disconnected device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceUnlink:(DBTEAMLOGDeviceUnlinkType *)deviceUnlink; + +/// +/// Initializes union class with tag state of "dropbox_passwords_exported". +/// +/// Description of the "dropbox_passwords_exported" tag state: (devices) +/// Exported passwords +/// +/// @param dropboxPasswordsExported (devices) Exported passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsExported:(DBTEAMLOGDropboxPasswordsExportedType *)dropboxPasswordsExported; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_new_device_enrolled". +/// +/// Description of the "dropbox_passwords_new_device_enrolled" tag state: +/// (devices) Enrolled new Dropbox Passwords device +/// +/// @param dropboxPasswordsNewDeviceEnrolled (devices) Enrolled new Dropbox +/// Passwords device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolled: + (DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType *)dropboxPasswordsNewDeviceEnrolled; + +/// +/// Initializes union class with tag state of "emm_refresh_auth_token". +/// +/// Description of the "emm_refresh_auth_token" tag state: (devices) Refreshed +/// auth token used for setting up EMM +/// +/// @param emmRefreshAuthToken (devices) Refreshed auth token used for setting +/// up EMM +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRefreshAuthToken:(DBTEAMLOGEmmRefreshAuthTokenType *)emmRefreshAuthToken; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_eligibility_status_checked". +/// +/// Description of the "external_drive_backup_eligibility_status_checked" tag +/// state: (devices) Checked external drive backup eligibility status +/// +/// @param externalDriveBackupEligibilityStatusChecked (devices) Checked +/// external drive backup eligibility status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupEligibilityStatusChecked: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)externalDriveBackupEligibilityStatusChecked; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_status_changed". +/// +/// Description of the "external_drive_backup_status_changed" tag state: +/// (devices) Modified external drive backup +/// +/// @param externalDriveBackupStatusChanged (devices) Modified external drive +/// backup +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupStatusChanged: + (DBTEAMLOGExternalDriveBackupStatusChangedType *)externalDriveBackupStatusChanged; + +/// +/// Initializes union class with tag state of +/// "account_capture_change_availability". +/// +/// Description of the "account_capture_change_availability" tag state: +/// (domains) Granted/revoked option to enable account capture on team domains +/// +/// @param accountCaptureChangeAvailability (domains) Granted/revoked option to +/// enable account capture on team domains +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangeAvailability: + (DBTEAMLOGAccountCaptureChangeAvailabilityType *)accountCaptureChangeAvailability; + +/// +/// Initializes union class with tag state of "account_capture_migrate_account". +/// +/// Description of the "account_capture_migrate_account" tag state: (domains) +/// Account-captured user migrated account to team +/// +/// @param accountCaptureMigrateAccount (domains) Account-captured user migrated +/// account to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureMigrateAccount: + (DBTEAMLOGAccountCaptureMigrateAccountType *)accountCaptureMigrateAccount; + +/// +/// Initializes union class with tag state of +/// "account_capture_notification_emails_sent". +/// +/// Description of the "account_capture_notification_emails_sent" tag state: +/// (domains) Sent account capture email to all unmanaged members +/// +/// @param accountCaptureNotificationEmailsSent (domains) Sent account capture +/// email to all unmanaged members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureNotificationEmailsSent: + (DBTEAMLOGAccountCaptureNotificationEmailsSentType *)accountCaptureNotificationEmailsSent; + +/// +/// Initializes union class with tag state of +/// "account_capture_relinquish_account". +/// +/// Description of the "account_capture_relinquish_account" tag state: (domains) +/// Account-captured user changed account email to personal email +/// +/// @param accountCaptureRelinquishAccount (domains) Account-captured user +/// changed account email to personal email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureRelinquishAccount: + (DBTEAMLOGAccountCaptureRelinquishAccountType *)accountCaptureRelinquishAccount; + +/// +/// Initializes union class with tag state of "disabled_domain_invites". +/// +/// Description of the "disabled_domain_invites" tag state: (domains) Disabled +/// domain invites (deprecated, no longer logged) +/// +/// @param disabledDomainInvites (domains) Disabled domain invites (deprecated, +/// no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledDomainInvites:(DBTEAMLOGDisabledDomainInvitesType *)disabledDomainInvites; + +/// +/// Initializes union class with tag state of +/// "domain_invites_approve_request_to_join_team". +/// +/// Description of the "domain_invites_approve_request_to_join_team" tag state: +/// (domains) Approved user's request to join team +/// +/// @param domainInvitesApproveRequestToJoinTeam (domains) Approved user's +/// request to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam: + (DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType *)domainInvitesApproveRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_decline_request_to_join_team". +/// +/// Description of the "domain_invites_decline_request_to_join_team" tag state: +/// (domains) Declined user's request to join team +/// +/// @param domainInvitesDeclineRequestToJoinTeam (domains) Declined user's +/// request to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam: + (DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType *)domainInvitesDeclineRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_email_existing_users". +/// +/// Description of the "domain_invites_email_existing_users" tag state: +/// (domains) Sent domain invites to existing domain accounts (deprecated, no +/// longer logged) +/// +/// @param domainInvitesEmailExistingUsers (domains) Sent domain invites to +/// existing domain accounts (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesEmailExistingUsers: + (DBTEAMLOGDomainInvitesEmailExistingUsersType *)domainInvitesEmailExistingUsers; + +/// +/// Initializes union class with tag state of +/// "domain_invites_request_to_join_team". +/// +/// Description of the "domain_invites_request_to_join_team" tag state: +/// (domains) Requested to join team +/// +/// @param domainInvitesRequestToJoinTeam (domains) Requested to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesRequestToJoinTeam: + (DBTEAMLOGDomainInvitesRequestToJoinTeamType *)domainInvitesRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_no". +/// +/// Description of the "domain_invites_set_invite_new_user_pref_to_no" tag +/// state: (domains) Disabled "Automatically invite new users" (deprecated, no +/// longer logged) +/// +/// @param domainInvitesSetInviteNewUserPrefToNo (domains) Disabled +/// "Automatically invite new users" (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType *)domainInvitesSetInviteNewUserPrefToNo; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_yes". +/// +/// Description of the "domain_invites_set_invite_new_user_pref_to_yes" tag +/// state: (domains) Enabled "Automatically invite new users" (deprecated, no +/// longer logged) +/// +/// @param domainInvitesSetInviteNewUserPrefToYes (domains) Enabled +/// "Automatically invite new users" (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes: + (DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType *)domainInvitesSetInviteNewUserPrefToYes; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_fail". +/// +/// Description of the "domain_verification_add_domain_fail" tag state: +/// (domains) Failed to verify team domain +/// +/// @param domainVerificationAddDomainFail (domains) Failed to verify team +/// domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainFail: + (DBTEAMLOGDomainVerificationAddDomainFailType *)domainVerificationAddDomainFail; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_success". +/// +/// Description of the "domain_verification_add_domain_success" tag state: +/// (domains) Verified team domain +/// +/// @param domainVerificationAddDomainSuccess (domains) Verified team domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainSuccess: + (DBTEAMLOGDomainVerificationAddDomainSuccessType *)domainVerificationAddDomainSuccess; + +/// +/// Initializes union class with tag state of +/// "domain_verification_remove_domain". +/// +/// Description of the "domain_verification_remove_domain" tag state: (domains) +/// Removed domain from list of verified team domains +/// +/// @param domainVerificationRemoveDomain (domains) Removed domain from list of +/// verified team domains +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationRemoveDomain: + (DBTEAMLOGDomainVerificationRemoveDomainType *)domainVerificationRemoveDomain; + +/// +/// Initializes union class with tag state of "enabled_domain_invites". +/// +/// Description of the "enabled_domain_invites" tag state: (domains) Enabled +/// domain invites (deprecated, no longer logged) +/// +/// @param enabledDomainInvites (domains) Enabled domain invites (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabledDomainInvites:(DBTEAMLOGEnabledDomainInvitesType *)enabledDomainInvites; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_cancel_key_deletion". +/// +/// Description of the "team_encryption_key_cancel_key_deletion" tag state: +/// (encryption) Canceled team encryption key deletion +/// +/// @param teamEncryptionKeyCancelKeyDeletion (encryption) Canceled team +/// encryption key deletion +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletion: + (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)teamEncryptionKeyCancelKeyDeletion; + +/// +/// Initializes union class with tag state of "team_encryption_key_create_key". +/// +/// Description of the "team_encryption_key_create_key" tag state: (encryption) +/// Created team encryption key +/// +/// @param teamEncryptionKeyCreateKey (encryption) Created team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCreateKey: + (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)teamEncryptionKeyCreateKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_delete_key". +/// +/// Description of the "team_encryption_key_delete_key" tag state: (encryption) +/// Deleted team encryption key +/// +/// @param teamEncryptionKeyDeleteKey (encryption) Deleted team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDeleteKey: + (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)teamEncryptionKeyDeleteKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_disable_key". +/// +/// Description of the "team_encryption_key_disable_key" tag state: (encryption) +/// Disabled team encryption key +/// +/// @param teamEncryptionKeyDisableKey (encryption) Disabled team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDisableKey: + (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)teamEncryptionKeyDisableKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_enable_key". +/// +/// Description of the "team_encryption_key_enable_key" tag state: (encryption) +/// Enabled team encryption key +/// +/// @param teamEncryptionKeyEnableKey (encryption) Enabled team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyEnableKey: + (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)teamEncryptionKeyEnableKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_rotate_key". +/// +/// Description of the "team_encryption_key_rotate_key" tag state: (encryption) +/// Rotated team encryption key (deprecated, no longer logged) +/// +/// @param teamEncryptionKeyRotateKey (encryption) Rotated team encryption key +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyRotateKey: + (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)teamEncryptionKeyRotateKey; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_schedule_key_deletion". +/// +/// Description of the "team_encryption_key_schedule_key_deletion" tag state: +/// (encryption) Scheduled encryption key deletion +/// +/// @param teamEncryptionKeyScheduleKeyDeletion (encryption) Scheduled +/// encryption key deletion +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletion: + (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)teamEncryptionKeyScheduleKeyDeletion; + +/// +/// Initializes union class with tag state of "apply_naming_convention". +/// +/// Description of the "apply_naming_convention" tag state: (file_operations) +/// Applied naming convention +/// +/// @param applyNamingConvention (file_operations) Applied naming convention +/// +/// @return An initialized instance. +/// +- (instancetype)initWithApplyNamingConvention:(DBTEAMLOGApplyNamingConventionType *)applyNamingConvention; + +/// +/// Initializes union class with tag state of "create_folder". +/// +/// Description of the "create_folder" tag state: (file_operations) Created +/// folders (deprecated, no longer logged) +/// +/// @param createFolder (file_operations) Created folders (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateFolder:(DBTEAMLOGCreateFolderType *)createFolder; + +/// +/// Initializes union class with tag state of "file_add". +/// +/// Description of the "file_add" tag state: (file_operations) Added files +/// and/or folders +/// +/// @param fileAdd (file_operations) Added files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAdd:(DBTEAMLOGFileAddType *)fileAdd; + +/// +/// Initializes union class with tag state of "file_add_from_automation". +/// +/// Description of the "file_add_from_automation" tag state: (file_operations) +/// Added files and/or folders from automation +/// +/// @param fileAddFromAutomation (file_operations) Added files and/or folders +/// from automation +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddFromAutomation:(DBTEAMLOGFileAddFromAutomationType *)fileAddFromAutomation; + +/// +/// Initializes union class with tag state of "file_copy". +/// +/// Description of the "file_copy" tag state: (file_operations) Copied files +/// and/or folders +/// +/// @param fileCopy (file_operations) Copied files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCopy:(DBTEAMLOGFileCopyType *)fileCopy; + +/// +/// Initializes union class with tag state of "file_delete". +/// +/// Description of the "file_delete" tag state: (file_operations) Deleted files +/// and/or folders +/// +/// @param fileDelete (file_operations) Deleted files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDelete:(DBTEAMLOGFileDeleteType *)fileDelete; + +/// +/// Initializes union class with tag state of "file_download". +/// +/// Description of the "file_download" tag state: (file_operations) Downloaded +/// files and/or folders +/// +/// @param fileDownload (file_operations) Downloaded files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDownload:(DBTEAMLOGFileDownloadType *)fileDownload; + +/// +/// Initializes union class with tag state of "file_edit". +/// +/// Description of the "file_edit" tag state: (file_operations) Edited files +/// +/// @param fileEdit (file_operations) Edited files +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEdit:(DBTEAMLOGFileEditType *)fileEdit; + +/// +/// Initializes union class with tag state of "file_get_copy_reference". +/// +/// Description of the "file_get_copy_reference" tag state: (file_operations) +/// Created copy reference to file/folder +/// +/// @param fileGetCopyReference (file_operations) Created copy reference to +/// file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileGetCopyReference:(DBTEAMLOGFileGetCopyReferenceType *)fileGetCopyReference; + +/// +/// Initializes union class with tag state of +/// "file_locking_lock_status_changed". +/// +/// Description of the "file_locking_lock_status_changed" tag state: +/// (file_operations) Locked/unlocked editing for a file +/// +/// @param fileLockingLockStatusChanged (file_operations) Locked/unlocked +/// editing for a file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingLockStatusChanged: + (DBTEAMLOGFileLockingLockStatusChangedType *)fileLockingLockStatusChanged; + +/// +/// Initializes union class with tag state of "file_move". +/// +/// Description of the "file_move" tag state: (file_operations) Moved files +/// and/or folders +/// +/// @param fileMove (file_operations) Moved files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileMove:(DBTEAMLOGFileMoveType *)fileMove; + +/// +/// Initializes union class with tag state of "file_permanently_delete". +/// +/// Description of the "file_permanently_delete" tag state: (file_operations) +/// Permanently deleted files and/or folders +/// +/// @param filePermanentlyDelete (file_operations) Permanently deleted files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePermanentlyDelete:(DBTEAMLOGFilePermanentlyDeleteType *)filePermanentlyDelete; + +/// +/// Initializes union class with tag state of "file_preview". +/// +/// Description of the "file_preview" tag state: (file_operations) Previewed +/// files and/or folders +/// +/// @param filePreview (file_operations) Previewed files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePreview:(DBTEAMLOGFilePreviewType *)filePreview; + +/// +/// Initializes union class with tag state of "file_rename". +/// +/// Description of the "file_rename" tag state: (file_operations) Renamed files +/// and/or folders +/// +/// @param fileRename (file_operations) Renamed files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRename:(DBTEAMLOGFileRenameType *)fileRename; + +/// +/// Initializes union class with tag state of "file_restore". +/// +/// Description of the "file_restore" tag state: (file_operations) Restored +/// deleted files and/or folders +/// +/// @param fileRestore (file_operations) Restored deleted files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRestore:(DBTEAMLOGFileRestoreType *)fileRestore; + +/// +/// Initializes union class with tag state of "file_revert". +/// +/// Description of the "file_revert" tag state: (file_operations) Reverted files +/// to previous version +/// +/// @param fileRevert (file_operations) Reverted files to previous version +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRevert:(DBTEAMLOGFileRevertType *)fileRevert; + +/// +/// Initializes union class with tag state of "file_rollback_changes". +/// +/// Description of the "file_rollback_changes" tag state: (file_operations) +/// Rolled back file actions +/// +/// @param fileRollbackChanges (file_operations) Rolled back file actions +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRollbackChanges:(DBTEAMLOGFileRollbackChangesType *)fileRollbackChanges; + +/// +/// Initializes union class with tag state of "file_save_copy_reference". +/// +/// Description of the "file_save_copy_reference" tag state: (file_operations) +/// Saved file/folder using copy reference +/// +/// @param fileSaveCopyReference (file_operations) Saved file/folder using copy +/// reference +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileSaveCopyReference:(DBTEAMLOGFileSaveCopyReferenceType *)fileSaveCopyReference; + +/// +/// Initializes union class with tag state of +/// "folder_overview_description_changed". +/// +/// Description of the "folder_overview_description_changed" tag state: +/// (file_operations) Updated folder overview +/// +/// @param folderOverviewDescriptionChanged (file_operations) Updated folder +/// overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewDescriptionChanged: + (DBTEAMLOGFolderOverviewDescriptionChangedType *)folderOverviewDescriptionChanged; + +/// +/// Initializes union class with tag state of "folder_overview_item_pinned". +/// +/// Description of the "folder_overview_item_pinned" tag state: +/// (file_operations) Pinned item to folder overview +/// +/// @param folderOverviewItemPinned (file_operations) Pinned item to folder +/// overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemPinned:(DBTEAMLOGFolderOverviewItemPinnedType *)folderOverviewItemPinned; + +/// +/// Initializes union class with tag state of "folder_overview_item_unpinned". +/// +/// Description of the "folder_overview_item_unpinned" tag state: +/// (file_operations) Unpinned item from folder overview +/// +/// @param folderOverviewItemUnpinned (file_operations) Unpinned item from +/// folder overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemUnpinned: + (DBTEAMLOGFolderOverviewItemUnpinnedType *)folderOverviewItemUnpinned; + +/// +/// Initializes union class with tag state of "object_label_added". +/// +/// Description of the "object_label_added" tag state: (file_operations) Added a +/// label +/// +/// @param objectLabelAdded (file_operations) Added a label +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelAdded:(DBTEAMLOGObjectLabelAddedType *)objectLabelAdded; + +/// +/// Initializes union class with tag state of "object_label_removed". +/// +/// Description of the "object_label_removed" tag state: (file_operations) +/// Removed a label +/// +/// @param objectLabelRemoved (file_operations) Removed a label +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelRemoved:(DBTEAMLOGObjectLabelRemovedType *)objectLabelRemoved; + +/// +/// Initializes union class with tag state of "object_label_updated_value". +/// +/// Description of the "object_label_updated_value" tag state: (file_operations) +/// Updated a label's value +/// +/// @param objectLabelUpdatedValue (file_operations) Updated a label's value +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelUpdatedValue:(DBTEAMLOGObjectLabelUpdatedValueType *)objectLabelUpdatedValue; + +/// +/// Initializes union class with tag state of "organize_folder_with_tidy". +/// +/// Description of the "organize_folder_with_tidy" tag state: (file_operations) +/// Organized a folder with multi-file organize +/// +/// @param organizeFolderWithTidy (file_operations) Organized a folder with +/// multi-file organize +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganizeFolderWithTidy:(DBTEAMLOGOrganizeFolderWithTidyType *)organizeFolderWithTidy; + +/// +/// Initializes union class with tag state of "replay_file_delete". +/// +/// Description of the "replay_file_delete" tag state: (file_operations) Deleted +/// files in Replay +/// +/// @param replayFileDelete (file_operations) Deleted files in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileDelete:(DBTEAMLOGReplayFileDeleteType *)replayFileDelete; + +/// +/// Initializes union class with tag state of "rewind_folder". +/// +/// Description of the "rewind_folder" tag state: (file_operations) Rewound a +/// folder +/// +/// @param rewindFolder (file_operations) Rewound a folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindFolder:(DBTEAMLOGRewindFolderType *)rewindFolder; + +/// +/// Initializes union class with tag state of "undo_naming_convention". +/// +/// Description of the "undo_naming_convention" tag state: (file_operations) +/// Reverted naming convention +/// +/// @param undoNamingConvention (file_operations) Reverted naming convention +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoNamingConvention:(DBTEAMLOGUndoNamingConventionType *)undoNamingConvention; + +/// +/// Initializes union class with tag state of "undo_organize_folder_with_tidy". +/// +/// Description of the "undo_organize_folder_with_tidy" tag state: +/// (file_operations) Removed multi-file organize +/// +/// @param undoOrganizeFolderWithTidy (file_operations) Removed multi-file +/// organize +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoOrganizeFolderWithTidy: + (DBTEAMLOGUndoOrganizeFolderWithTidyType *)undoOrganizeFolderWithTidy; + +/// +/// Initializes union class with tag state of "user_tags_added". +/// +/// Description of the "user_tags_added" tag state: (file_operations) Tagged a +/// file +/// +/// @param userTagsAdded (file_operations) Tagged a file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsAdded:(DBTEAMLOGUserTagsAddedType *)userTagsAdded; + +/// +/// Initializes union class with tag state of "user_tags_removed". +/// +/// Description of the "user_tags_removed" tag state: (file_operations) Removed +/// tags +/// +/// @param userTagsRemoved (file_operations) Removed tags +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsRemoved:(DBTEAMLOGUserTagsRemovedType *)userTagsRemoved; + +/// +/// Initializes union class with tag state of "email_ingest_receive_file". +/// +/// Description of the "email_ingest_receive_file" tag state: (file_requests) +/// Received files via Email to Dropbox +/// +/// @param emailIngestReceiveFile (file_requests) Received files via Email to +/// Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestReceiveFile:(DBTEAMLOGEmailIngestReceiveFileType *)emailIngestReceiveFile; + +/// +/// Initializes union class with tag state of "file_request_change". +/// +/// Description of the "file_request_change" tag state: (file_requests) Changed +/// file request +/// +/// @param fileRequestChange (file_requests) Changed file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestChange:(DBTEAMLOGFileRequestChangeType *)fileRequestChange; + +/// +/// Initializes union class with tag state of "file_request_close". +/// +/// Description of the "file_request_close" tag state: (file_requests) Closed +/// file request +/// +/// @param fileRequestClose (file_requests) Closed file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestClose:(DBTEAMLOGFileRequestCloseType *)fileRequestClose; + +/// +/// Initializes union class with tag state of "file_request_create". +/// +/// Description of the "file_request_create" tag state: (file_requests) Created +/// file request +/// +/// @param fileRequestCreate (file_requests) Created file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestCreate:(DBTEAMLOGFileRequestCreateType *)fileRequestCreate; + +/// +/// Initializes union class with tag state of "file_request_delete". +/// +/// Description of the "file_request_delete" tag state: (file_requests) Delete +/// file request +/// +/// @param fileRequestDelete (file_requests) Delete file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestDelete:(DBTEAMLOGFileRequestDeleteType *)fileRequestDelete; + +/// +/// Initializes union class with tag state of "file_request_receive_file". +/// +/// Description of the "file_request_receive_file" tag state: (file_requests) +/// Received files for file request +/// +/// @param fileRequestReceiveFile (file_requests) Received files for file +/// request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestReceiveFile:(DBTEAMLOGFileRequestReceiveFileType *)fileRequestReceiveFile; + +/// +/// Initializes union class with tag state of "group_add_external_id". +/// +/// Description of the "group_add_external_id" tag state: (groups) Added +/// external ID for group +/// +/// @param groupAddExternalId (groups) Added external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddExternalId:(DBTEAMLOGGroupAddExternalIdType *)groupAddExternalId; + +/// +/// Initializes union class with tag state of "group_add_member". +/// +/// Description of the "group_add_member" tag state: (groups) Added team members +/// to group +/// +/// @param groupAddMember (groups) Added team members to group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddMember:(DBTEAMLOGGroupAddMemberType *)groupAddMember; + +/// +/// Initializes union class with tag state of "group_change_external_id". +/// +/// Description of the "group_change_external_id" tag state: (groups) Changed +/// external ID for group +/// +/// @param groupChangeExternalId (groups) Changed external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeExternalId:(DBTEAMLOGGroupChangeExternalIdType *)groupChangeExternalId; + +/// +/// Initializes union class with tag state of "group_change_management_type". +/// +/// Description of the "group_change_management_type" tag state: (groups) +/// Changed group management type +/// +/// @param groupChangeManagementType (groups) Changed group management type +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeManagementType:(DBTEAMLOGGroupChangeManagementTypeType *)groupChangeManagementType; + +/// +/// Initializes union class with tag state of "group_change_member_role". +/// +/// Description of the "group_change_member_role" tag state: (groups) Changed +/// manager permissions of group member +/// +/// @param groupChangeMemberRole (groups) Changed manager permissions of group +/// member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeMemberRole:(DBTEAMLOGGroupChangeMemberRoleType *)groupChangeMemberRole; + +/// +/// Initializes union class with tag state of "group_create". +/// +/// Description of the "group_create" tag state: (groups) Created group +/// +/// @param groupCreate (groups) Created group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupCreate:(DBTEAMLOGGroupCreateType *)groupCreate; + +/// +/// Initializes union class with tag state of "group_delete". +/// +/// Description of the "group_delete" tag state: (groups) Deleted group +/// +/// @param groupDelete (groups) Deleted group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDelete:(DBTEAMLOGGroupDeleteType *)groupDelete; + +/// +/// Initializes union class with tag state of "group_description_updated". +/// +/// Description of the "group_description_updated" tag state: (groups) Updated +/// group (deprecated, no longer logged) +/// +/// @param groupDescriptionUpdated (groups) Updated group (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDescriptionUpdated:(DBTEAMLOGGroupDescriptionUpdatedType *)groupDescriptionUpdated; + +/// +/// Initializes union class with tag state of "group_join_policy_updated". +/// +/// Description of the "group_join_policy_updated" tag state: (groups) Updated +/// group join policy (deprecated, no longer logged) +/// +/// @param groupJoinPolicyUpdated (groups) Updated group join policy +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupJoinPolicyUpdated:(DBTEAMLOGGroupJoinPolicyUpdatedType *)groupJoinPolicyUpdated; + +/// +/// Initializes union class with tag state of "group_moved". +/// +/// Description of the "group_moved" tag state: (groups) Moved group +/// (deprecated, no longer logged) +/// +/// @param groupMoved (groups) Moved group (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupMoved:(DBTEAMLOGGroupMovedType *)groupMoved; + +/// +/// Initializes union class with tag state of "group_remove_external_id". +/// +/// Description of the "group_remove_external_id" tag state: (groups) Removed +/// external ID for group +/// +/// @param groupRemoveExternalId (groups) Removed external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveExternalId:(DBTEAMLOGGroupRemoveExternalIdType *)groupRemoveExternalId; + +/// +/// Initializes union class with tag state of "group_remove_member". +/// +/// Description of the "group_remove_member" tag state: (groups) Removed team +/// members from group +/// +/// @param groupRemoveMember (groups) Removed team members from group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveMember:(DBTEAMLOGGroupRemoveMemberType *)groupRemoveMember; + +/// +/// Initializes union class with tag state of "group_rename". +/// +/// Description of the "group_rename" tag state: (groups) Renamed group +/// +/// @param groupRename (groups) Renamed group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRename:(DBTEAMLOGGroupRenameType *)groupRename; + +/// +/// Initializes union class with tag state of "account_lock_or_unlocked". +/// +/// Description of the "account_lock_or_unlocked" tag state: (logins) +/// Unlocked/locked account after failed sign in attempts +/// +/// @param accountLockOrUnlocked (logins) Unlocked/locked account after failed +/// sign in attempts +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountLockOrUnlocked:(DBTEAMLOGAccountLockOrUnlockedType *)accountLockOrUnlocked; + +/// +/// Initializes union class with tag state of "emm_error". +/// +/// Description of the "emm_error" tag state: (logins) Failed to sign in via EMM +/// (deprecated, replaced by 'Failed to sign in') +/// +/// @param emmError (logins) Failed to sign in via EMM (deprecated, replaced by +/// 'Failed to sign in') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmError:(DBTEAMLOGEmmErrorType *)emmError; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_in_via_trusted_teams". +/// +/// Description of the "guest_admin_signed_in_via_trusted_teams" tag state: +/// (logins) Started trusted team admin session +/// +/// @param guestAdminSignedInViaTrustedTeams (logins) Started trusted team admin +/// session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedInViaTrustedTeams: + (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)guestAdminSignedInViaTrustedTeams; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_out_via_trusted_teams". +/// +/// Description of the "guest_admin_signed_out_via_trusted_teams" tag state: +/// (logins) Ended trusted team admin session +/// +/// @param guestAdminSignedOutViaTrustedTeams (logins) Ended trusted team admin +/// session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeams: + (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)guestAdminSignedOutViaTrustedTeams; + +/// +/// Initializes union class with tag state of "login_fail". +/// +/// Description of the "login_fail" tag state: (logins) Failed to sign in +/// +/// @param loginFail (logins) Failed to sign in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginFail:(DBTEAMLOGLoginFailType *)loginFail; + +/// +/// Initializes union class with tag state of "login_success". +/// +/// Description of the "login_success" tag state: (logins) Signed in +/// +/// @param loginSuccess (logins) Signed in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginSuccess:(DBTEAMLOGLoginSuccessType *)loginSuccess; + +/// +/// Initializes union class with tag state of "logout". +/// +/// Description of the "logout" tag state: (logins) Signed out +/// +/// @param logout (logins) Signed out +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLogout:(DBTEAMLOGLogoutType *)logout; + +/// +/// Initializes union class with tag state of "reseller_support_session_end". +/// +/// Description of the "reseller_support_session_end" tag state: (logins) Ended +/// reseller support session +/// +/// @param resellerSupportSessionEnd (logins) Ended reseller support session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionEnd:(DBTEAMLOGResellerSupportSessionEndType *)resellerSupportSessionEnd; + +/// +/// Initializes union class with tag state of "reseller_support_session_start". +/// +/// Description of the "reseller_support_session_start" tag state: (logins) +/// Started reseller support session +/// +/// @param resellerSupportSessionStart (logins) Started reseller support session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionStart: + (DBTEAMLOGResellerSupportSessionStartType *)resellerSupportSessionStart; + +/// +/// Initializes union class with tag state of "sign_in_as_session_end". +/// +/// Description of the "sign_in_as_session_end" tag state: (logins) Ended admin +/// sign-in-as session +/// +/// @param signInAsSessionEnd (logins) Ended admin sign-in-as session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionEnd:(DBTEAMLOGSignInAsSessionEndType *)signInAsSessionEnd; + +/// +/// Initializes union class with tag state of "sign_in_as_session_start". +/// +/// Description of the "sign_in_as_session_start" tag state: (logins) Started +/// admin sign-in-as session +/// +/// @param signInAsSessionStart (logins) Started admin sign-in-as session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionStart:(DBTEAMLOGSignInAsSessionStartType *)signInAsSessionStart; + +/// +/// Initializes union class with tag state of "sso_error". +/// +/// Description of the "sso_error" tag state: (logins) Failed to sign in via SSO +/// (deprecated, replaced by 'Failed to sign in') +/// +/// @param ssoError (logins) Failed to sign in via SSO (deprecated, replaced by +/// 'Failed to sign in') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoError:(DBTEAMLOGSsoErrorType *)ssoError; + +/// +/// Initializes union class with tag state of "backup_admin_invitation_sent". +/// +/// Description of the "backup_admin_invitation_sent" tag state: (members) +/// Invited members to activate Backup +/// +/// @param backupAdminInvitationSent (members) Invited members to activate +/// Backup +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupAdminInvitationSent:(DBTEAMLOGBackupAdminInvitationSentType *)backupAdminInvitationSent; + +/// +/// Initializes union class with tag state of "backup_invitation_opened". +/// +/// Description of the "backup_invitation_opened" tag state: (members) Opened +/// Backup invite +/// +/// @param backupInvitationOpened (members) Opened Backup invite +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupInvitationOpened:(DBTEAMLOGBackupInvitationOpenedType *)backupInvitationOpened; + +/// +/// Initializes union class with tag state of "create_team_invite_link". +/// +/// Description of the "create_team_invite_link" tag state: (members) Created +/// team invite link +/// +/// @param createTeamInviteLink (members) Created team invite link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateTeamInviteLink:(DBTEAMLOGCreateTeamInviteLinkType *)createTeamInviteLink; + +/// +/// Initializes union class with tag state of "delete_team_invite_link". +/// +/// Description of the "delete_team_invite_link" tag state: (members) Deleted +/// team invite link +/// +/// @param deleteTeamInviteLink (members) Deleted team invite link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteTeamInviteLink:(DBTEAMLOGDeleteTeamInviteLinkType *)deleteTeamInviteLink; + +/// +/// Initializes union class with tag state of "member_add_external_id". +/// +/// Description of the "member_add_external_id" tag state: (members) Added an +/// external ID for team member +/// +/// @param memberAddExternalId (members) Added an external ID for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddExternalId:(DBTEAMLOGMemberAddExternalIdType *)memberAddExternalId; + +/// +/// Initializes union class with tag state of "member_add_name". +/// +/// Description of the "member_add_name" tag state: (members) Added team member +/// name +/// +/// @param memberAddName (members) Added team member name +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddName:(DBTEAMLOGMemberAddNameType *)memberAddName; + +/// +/// Initializes union class with tag state of "member_change_admin_role". +/// +/// Description of the "member_change_admin_role" tag state: (members) Changed +/// team member admin role +/// +/// @param memberChangeAdminRole (members) Changed team member admin role +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeAdminRole:(DBTEAMLOGMemberChangeAdminRoleType *)memberChangeAdminRole; + +/// +/// Initializes union class with tag state of "member_change_email". +/// +/// Description of the "member_change_email" tag state: (members) Changed team +/// member email +/// +/// @param memberChangeEmail (members) Changed team member email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeEmail:(DBTEAMLOGMemberChangeEmailType *)memberChangeEmail; + +/// +/// Initializes union class with tag state of "member_change_external_id". +/// +/// Description of the "member_change_external_id" tag state: (members) Changed +/// the external ID for team member +/// +/// @param memberChangeExternalId (members) Changed the external ID for team +/// member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeExternalId:(DBTEAMLOGMemberChangeExternalIdType *)memberChangeExternalId; + +/// +/// Initializes union class with tag state of "member_change_membership_type". +/// +/// Description of the "member_change_membership_type" tag state: (members) +/// Changed membership type (limited/full) of member (deprecated, no longer +/// logged) +/// +/// @param memberChangeMembershipType (members) Changed membership type +/// (limited/full) of member (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeMembershipType: + (DBTEAMLOGMemberChangeMembershipTypeType *)memberChangeMembershipType; + +/// +/// Initializes union class with tag state of "member_change_name". +/// +/// Description of the "member_change_name" tag state: (members) Changed team +/// member name +/// +/// @param memberChangeName (members) Changed team member name +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeName:(DBTEAMLOGMemberChangeNameType *)memberChangeName; + +/// +/// Initializes union class with tag state of "member_change_reseller_role". +/// +/// Description of the "member_change_reseller_role" tag state: (members) +/// Changed team member reseller role +/// +/// @param memberChangeResellerRole (members) Changed team member reseller role +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeResellerRole:(DBTEAMLOGMemberChangeResellerRoleType *)memberChangeResellerRole; + +/// +/// Initializes union class with tag state of "member_change_status". +/// +/// Description of the "member_change_status" tag state: (members) Changed +/// member status (invited, joined, suspended, etc.) +/// +/// @param memberChangeStatus (members) Changed member status (invited, joined, +/// suspended, etc.) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeStatus:(DBTEAMLOGMemberChangeStatusType *)memberChangeStatus; + +/// +/// Initializes union class with tag state of "member_delete_manual_contacts". +/// +/// Description of the "member_delete_manual_contacts" tag state: (members) +/// Cleared manually added contacts +/// +/// @param memberDeleteManualContacts (members) Cleared manually added contacts +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteManualContacts: + (DBTEAMLOGMemberDeleteManualContactsType *)memberDeleteManualContacts; + +/// +/// Initializes union class with tag state of "member_delete_profile_photo". +/// +/// Description of the "member_delete_profile_photo" tag state: (members) +/// Deleted team member profile photo +/// +/// @param memberDeleteProfilePhoto (members) Deleted team member profile photo +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteProfilePhoto:(DBTEAMLOGMemberDeleteProfilePhotoType *)memberDeleteProfilePhoto; + +/// +/// Initializes union class with tag state of +/// "member_permanently_delete_account_contents". +/// +/// Description of the "member_permanently_delete_account_contents" tag state: +/// (members) Permanently deleted contents of deleted team member account +/// +/// @param memberPermanentlyDeleteAccountContents (members) Permanently deleted +/// contents of deleted team member account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberPermanentlyDeleteAccountContents: + (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)memberPermanentlyDeleteAccountContents; + +/// +/// Initializes union class with tag state of "member_remove_external_id". +/// +/// Description of the "member_remove_external_id" tag state: (members) Removed +/// the external ID for team member +/// +/// @param memberRemoveExternalId (members) Removed the external ID for team +/// member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRemoveExternalId:(DBTEAMLOGMemberRemoveExternalIdType *)memberRemoveExternalId; + +/// +/// Initializes union class with tag state of "member_set_profile_photo". +/// +/// Description of the "member_set_profile_photo" tag state: (members) Set team +/// member profile photo +/// +/// @param memberSetProfilePhoto (members) Set team member profile photo +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSetProfilePhoto:(DBTEAMLOGMemberSetProfilePhotoType *)memberSetProfilePhoto; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_custom_quota". +/// +/// Description of the "member_space_limits_add_custom_quota" tag state: +/// (members) Set custom member space limit +/// +/// @param memberSpaceLimitsAddCustomQuota (members) Set custom member space +/// limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddCustomQuota: + (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)memberSpaceLimitsAddCustomQuota; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_custom_quota". +/// +/// Description of the "member_space_limits_change_custom_quota" tag state: +/// (members) Changed custom member space limit +/// +/// @param memberSpaceLimitsChangeCustomQuota (members) Changed custom member +/// space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuota: + (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)memberSpaceLimitsChangeCustomQuota; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_status". +/// +/// Description of the "member_space_limits_change_status" tag state: (members) +/// Changed space limit status +/// +/// @param memberSpaceLimitsChangeStatus (members) Changed space limit status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeStatus: + (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)memberSpaceLimitsChangeStatus; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_custom_quota". +/// +/// Description of the "member_space_limits_remove_custom_quota" tag state: +/// (members) Removed custom member space limit +/// +/// @param memberSpaceLimitsRemoveCustomQuota (members) Removed custom member +/// space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuota: + (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)memberSpaceLimitsRemoveCustomQuota; + +/// +/// Initializes union class with tag state of "member_suggest". +/// +/// Description of the "member_suggest" tag state: (members) Suggested person to +/// add to team +/// +/// @param memberSuggest (members) Suggested person to add to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggest:(DBTEAMLOGMemberSuggestType *)memberSuggest; + +/// +/// Initializes union class with tag state of +/// "member_transfer_account_contents". +/// +/// Description of the "member_transfer_account_contents" tag state: (members) +/// Transferred contents of deleted member account to another member +/// +/// @param memberTransferAccountContents (members) Transferred contents of +/// deleted member account to another member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberTransferAccountContents: + (DBTEAMLOGMemberTransferAccountContentsType *)memberTransferAccountContents; + +/// +/// Initializes union class with tag state of "pending_secondary_email_added". +/// +/// Description of the "pending_secondary_email_added" tag state: (members) +/// Added pending secondary email +/// +/// @param pendingSecondaryEmailAdded (members) Added pending secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPendingSecondaryEmailAdded: + (DBTEAMLOGPendingSecondaryEmailAddedType *)pendingSecondaryEmailAdded; + +/// +/// Initializes union class with tag state of "secondary_email_deleted". +/// +/// Description of the "secondary_email_deleted" tag state: (members) Deleted +/// secondary email +/// +/// @param secondaryEmailDeleted (members) Deleted secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailDeleted:(DBTEAMLOGSecondaryEmailDeletedType *)secondaryEmailDeleted; + +/// +/// Initializes union class with tag state of "secondary_email_verified". +/// +/// Description of the "secondary_email_verified" tag state: (members) Verified +/// secondary email +/// +/// @param secondaryEmailVerified (members) Verified secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailVerified:(DBTEAMLOGSecondaryEmailVerifiedType *)secondaryEmailVerified; + +/// +/// Initializes union class with tag state of "secondary_mails_policy_changed". +/// +/// Description of the "secondary_mails_policy_changed" tag state: (members) +/// Secondary mails policy changed +/// +/// @param secondaryMailsPolicyChanged (members) Secondary mails policy changed +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryMailsPolicyChanged: + (DBTEAMLOGSecondaryMailsPolicyChangedType *)secondaryMailsPolicyChanged; + +/// +/// Initializes union class with tag state of "binder_add_page". +/// +/// Description of the "binder_add_page" tag state: (paper) Added Binder page +/// (deprecated, replaced by 'Edited files') +/// +/// @param binderAddPage (paper) Added Binder page (deprecated, replaced by +/// 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddPage:(DBTEAMLOGBinderAddPageType *)binderAddPage; + +/// +/// Initializes union class with tag state of "binder_add_section". +/// +/// Description of the "binder_add_section" tag state: (paper) Added Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @param binderAddSection (paper) Added Binder section (deprecated, replaced +/// by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddSection:(DBTEAMLOGBinderAddSectionType *)binderAddSection; + +/// +/// Initializes union class with tag state of "binder_remove_page". +/// +/// Description of the "binder_remove_page" tag state: (paper) Removed Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @param binderRemovePage (paper) Removed Binder page (deprecated, replaced by +/// 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemovePage:(DBTEAMLOGBinderRemovePageType *)binderRemovePage; + +/// +/// Initializes union class with tag state of "binder_remove_section". +/// +/// Description of the "binder_remove_section" tag state: (paper) Removed Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @param binderRemoveSection (paper) Removed Binder section (deprecated, +/// replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemoveSection:(DBTEAMLOGBinderRemoveSectionType *)binderRemoveSection; + +/// +/// Initializes union class with tag state of "binder_rename_page". +/// +/// Description of the "binder_rename_page" tag state: (paper) Renamed Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @param binderRenamePage (paper) Renamed Binder page (deprecated, replaced by +/// 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenamePage:(DBTEAMLOGBinderRenamePageType *)binderRenamePage; + +/// +/// Initializes union class with tag state of "binder_rename_section". +/// +/// Description of the "binder_rename_section" tag state: (paper) Renamed Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @param binderRenameSection (paper) Renamed Binder section (deprecated, +/// replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenameSection:(DBTEAMLOGBinderRenameSectionType *)binderRenameSection; + +/// +/// Initializes union class with tag state of "binder_reorder_page". +/// +/// Description of the "binder_reorder_page" tag state: (paper) Reordered Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @param binderReorderPage (paper) Reordered Binder page (deprecated, replaced +/// by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderPage:(DBTEAMLOGBinderReorderPageType *)binderReorderPage; + +/// +/// Initializes union class with tag state of "binder_reorder_section". +/// +/// Description of the "binder_reorder_section" tag state: (paper) Reordered +/// Binder section (deprecated, replaced by 'Edited files') +/// +/// @param binderReorderSection (paper) Reordered Binder section (deprecated, +/// replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderSection:(DBTEAMLOGBinderReorderSectionType *)binderReorderSection; + +/// +/// Initializes union class with tag state of "paper_content_add_member". +/// +/// Description of the "paper_content_add_member" tag state: (paper) Added users +/// and/or groups to Paper doc/folder +/// +/// @param paperContentAddMember (paper) Added users and/or groups to Paper +/// doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddMember:(DBTEAMLOGPaperContentAddMemberType *)paperContentAddMember; + +/// +/// Initializes union class with tag state of "paper_content_add_to_folder". +/// +/// Description of the "paper_content_add_to_folder" tag state: (paper) Added +/// Paper doc/folder to folder +/// +/// @param paperContentAddToFolder (paper) Added Paper doc/folder to folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddToFolder:(DBTEAMLOGPaperContentAddToFolderType *)paperContentAddToFolder; + +/// +/// Initializes union class with tag state of "paper_content_archive". +/// +/// Description of the "paper_content_archive" tag state: (paper) Archived Paper +/// doc/folder +/// +/// @param paperContentArchive (paper) Archived Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentArchive:(DBTEAMLOGPaperContentArchiveType *)paperContentArchive; + +/// +/// Initializes union class with tag state of "paper_content_create". +/// +/// Description of the "paper_content_create" tag state: (paper) Created Paper +/// doc/folder +/// +/// @param paperContentCreate (paper) Created Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentCreate:(DBTEAMLOGPaperContentCreateType *)paperContentCreate; + +/// +/// Initializes union class with tag state of +/// "paper_content_permanently_delete". +/// +/// Description of the "paper_content_permanently_delete" tag state: (paper) +/// Permanently deleted Paper doc/folder +/// +/// @param paperContentPermanentlyDelete (paper) Permanently deleted Paper +/// doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentPermanentlyDelete: + (DBTEAMLOGPaperContentPermanentlyDeleteType *)paperContentPermanentlyDelete; + +/// +/// Initializes union class with tag state of +/// "paper_content_remove_from_folder". +/// +/// Description of the "paper_content_remove_from_folder" tag state: (paper) +/// Removed Paper doc/folder from folder +/// +/// @param paperContentRemoveFromFolder (paper) Removed Paper doc/folder from +/// folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveFromFolder: + (DBTEAMLOGPaperContentRemoveFromFolderType *)paperContentRemoveFromFolder; + +/// +/// Initializes union class with tag state of "paper_content_remove_member". +/// +/// Description of the "paper_content_remove_member" tag state: (paper) Removed +/// users and/or groups from Paper doc/folder +/// +/// @param paperContentRemoveMember (paper) Removed users and/or groups from +/// Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveMember:(DBTEAMLOGPaperContentRemoveMemberType *)paperContentRemoveMember; + +/// +/// Initializes union class with tag state of "paper_content_rename". +/// +/// Description of the "paper_content_rename" tag state: (paper) Renamed Paper +/// doc/folder +/// +/// @param paperContentRename (paper) Renamed Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRename:(DBTEAMLOGPaperContentRenameType *)paperContentRename; + +/// +/// Initializes union class with tag state of "paper_content_restore". +/// +/// Description of the "paper_content_restore" tag state: (paper) Restored +/// archived Paper doc/folder +/// +/// @param paperContentRestore (paper) Restored archived Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRestore:(DBTEAMLOGPaperContentRestoreType *)paperContentRestore; + +/// +/// Initializes union class with tag state of "paper_doc_add_comment". +/// +/// Description of the "paper_doc_add_comment" tag state: (paper) Added Paper +/// doc comment +/// +/// @param paperDocAddComment (paper) Added Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocAddComment:(DBTEAMLOGPaperDocAddCommentType *)paperDocAddComment; + +/// +/// Initializes union class with tag state of "paper_doc_change_member_role". +/// +/// Description of the "paper_doc_change_member_role" tag state: (paper) Changed +/// member permissions for Paper doc +/// +/// @param paperDocChangeMemberRole (paper) Changed member permissions for Paper +/// doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeMemberRole:(DBTEAMLOGPaperDocChangeMemberRoleType *)paperDocChangeMemberRole; + +/// +/// Initializes union class with tag state of "paper_doc_change_sharing_policy". +/// +/// Description of the "paper_doc_change_sharing_policy" tag state: (paper) +/// Changed sharing setting for Paper doc +/// +/// @param paperDocChangeSharingPolicy (paper) Changed sharing setting for Paper +/// doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSharingPolicy: + (DBTEAMLOGPaperDocChangeSharingPolicyType *)paperDocChangeSharingPolicy; + +/// +/// Initializes union class with tag state of "paper_doc_change_subscription". +/// +/// Description of the "paper_doc_change_subscription" tag state: (paper) +/// Followed/unfollowed Paper doc +/// +/// @param paperDocChangeSubscription (paper) Followed/unfollowed Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSubscription: + (DBTEAMLOGPaperDocChangeSubscriptionType *)paperDocChangeSubscription; + +/// +/// Initializes union class with tag state of "paper_doc_deleted". +/// +/// Description of the "paper_doc_deleted" tag state: (paper) Archived Paper doc +/// (deprecated, no longer logged) +/// +/// @param paperDocDeleted (paper) Archived Paper doc (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeleted:(DBTEAMLOGPaperDocDeletedType *)paperDocDeleted; + +/// +/// Initializes union class with tag state of "paper_doc_delete_comment". +/// +/// Description of the "paper_doc_delete_comment" tag state: (paper) Deleted +/// Paper doc comment +/// +/// @param paperDocDeleteComment (paper) Deleted Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeleteComment:(DBTEAMLOGPaperDocDeleteCommentType *)paperDocDeleteComment; + +/// +/// Initializes union class with tag state of "paper_doc_download". +/// +/// Description of the "paper_doc_download" tag state: (paper) Downloaded Paper +/// doc in specific format +/// +/// @param paperDocDownload (paper) Downloaded Paper doc in specific format +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDownload:(DBTEAMLOGPaperDocDownloadType *)paperDocDownload; + +/// +/// Initializes union class with tag state of "paper_doc_edit". +/// +/// Description of the "paper_doc_edit" tag state: (paper) Edited Paper doc +/// +/// @param paperDocEdit (paper) Edited Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEdit:(DBTEAMLOGPaperDocEditType *)paperDocEdit; + +/// +/// Initializes union class with tag state of "paper_doc_edit_comment". +/// +/// Description of the "paper_doc_edit_comment" tag state: (paper) Edited Paper +/// doc comment +/// +/// @param paperDocEditComment (paper) Edited Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEditComment:(DBTEAMLOGPaperDocEditCommentType *)paperDocEditComment; + +/// +/// Initializes union class with tag state of "paper_doc_followed". +/// +/// Description of the "paper_doc_followed" tag state: (paper) Followed Paper +/// doc (deprecated, replaced by 'Followed/unfollowed Paper doc') +/// +/// @param paperDocFollowed (paper) Followed Paper doc (deprecated, replaced by +/// 'Followed/unfollowed Paper doc') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocFollowed:(DBTEAMLOGPaperDocFollowedType *)paperDocFollowed; + +/// +/// Initializes union class with tag state of "paper_doc_mention". +/// +/// Description of the "paper_doc_mention" tag state: (paper) Mentioned user in +/// Paper doc +/// +/// @param paperDocMention (paper) Mentioned user in Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocMention:(DBTEAMLOGPaperDocMentionType *)paperDocMention; + +/// +/// Initializes union class with tag state of "paper_doc_ownership_changed". +/// +/// Description of the "paper_doc_ownership_changed" tag state: (paper) +/// Transferred ownership of Paper doc +/// +/// @param paperDocOwnershipChanged (paper) Transferred ownership of Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocOwnershipChanged:(DBTEAMLOGPaperDocOwnershipChangedType *)paperDocOwnershipChanged; + +/// +/// Initializes union class with tag state of "paper_doc_request_access". +/// +/// Description of the "paper_doc_request_access" tag state: (paper) Requested +/// access to Paper doc +/// +/// @param paperDocRequestAccess (paper) Requested access to Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRequestAccess:(DBTEAMLOGPaperDocRequestAccessType *)paperDocRequestAccess; + +/// +/// Initializes union class with tag state of "paper_doc_resolve_comment". +/// +/// Description of the "paper_doc_resolve_comment" tag state: (paper) Resolved +/// Paper doc comment +/// +/// @param paperDocResolveComment (paper) Resolved Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocResolveComment:(DBTEAMLOGPaperDocResolveCommentType *)paperDocResolveComment; + +/// +/// Initializes union class with tag state of "paper_doc_revert". +/// +/// Description of the "paper_doc_revert" tag state: (paper) Restored Paper doc +/// to previous version +/// +/// @param paperDocRevert (paper) Restored Paper doc to previous version +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRevert:(DBTEAMLOGPaperDocRevertType *)paperDocRevert; + +/// +/// Initializes union class with tag state of "paper_doc_slack_share". +/// +/// Description of the "paper_doc_slack_share" tag state: (paper) Shared Paper +/// doc via Slack +/// +/// @param paperDocSlackShare (paper) Shared Paper doc via Slack +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocSlackShare:(DBTEAMLOGPaperDocSlackShareType *)paperDocSlackShare; + +/// +/// Initializes union class with tag state of "paper_doc_team_invite". +/// +/// Description of the "paper_doc_team_invite" tag state: (paper) Shared Paper +/// doc with users and/or groups (deprecated, no longer logged) +/// +/// @param paperDocTeamInvite (paper) Shared Paper doc with users and/or groups +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTeamInvite:(DBTEAMLOGPaperDocTeamInviteType *)paperDocTeamInvite; + +/// +/// Initializes union class with tag state of "paper_doc_trashed". +/// +/// Description of the "paper_doc_trashed" tag state: (paper) Deleted Paper doc +/// +/// @param paperDocTrashed (paper) Deleted Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTrashed:(DBTEAMLOGPaperDocTrashedType *)paperDocTrashed; + +/// +/// Initializes union class with tag state of "paper_doc_unresolve_comment". +/// +/// Description of the "paper_doc_unresolve_comment" tag state: (paper) +/// Unresolved Paper doc comment +/// +/// @param paperDocUnresolveComment (paper) Unresolved Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUnresolveComment:(DBTEAMLOGPaperDocUnresolveCommentType *)paperDocUnresolveComment; + +/// +/// Initializes union class with tag state of "paper_doc_untrashed". +/// +/// Description of the "paper_doc_untrashed" tag state: (paper) Restored Paper +/// doc +/// +/// @param paperDocUntrashed (paper) Restored Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUntrashed:(DBTEAMLOGPaperDocUntrashedType *)paperDocUntrashed; + +/// +/// Initializes union class with tag state of "paper_doc_view". +/// +/// Description of the "paper_doc_view" tag state: (paper) Viewed Paper doc +/// +/// @param paperDocView (paper) Viewed Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocView:(DBTEAMLOGPaperDocViewType *)paperDocView; + +/// +/// Initializes union class with tag state of "paper_external_view_allow". +/// +/// Description of the "paper_external_view_allow" tag state: (paper) Changed +/// Paper external sharing setting to anyone (deprecated, no longer logged) +/// +/// @param paperExternalViewAllow (paper) Changed Paper external sharing setting +/// to anyone (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewAllow:(DBTEAMLOGPaperExternalViewAllowType *)paperExternalViewAllow; + +/// +/// Initializes union class with tag state of +/// "paper_external_view_default_team". +/// +/// Description of the "paper_external_view_default_team" tag state: (paper) +/// Changed Paper external sharing setting to default team (deprecated, no +/// longer logged) +/// +/// @param paperExternalViewDefaultTeam (paper) Changed Paper external sharing +/// setting to default team (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewDefaultTeam: + (DBTEAMLOGPaperExternalViewDefaultTeamType *)paperExternalViewDefaultTeam; + +/// +/// Initializes union class with tag state of "paper_external_view_forbid". +/// +/// Description of the "paper_external_view_forbid" tag state: (paper) Changed +/// Paper external sharing setting to team-only (deprecated, no longer logged) +/// +/// @param paperExternalViewForbid (paper) Changed Paper external sharing +/// setting to team-only (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewForbid:(DBTEAMLOGPaperExternalViewForbidType *)paperExternalViewForbid; + +/// +/// Initializes union class with tag state of +/// "paper_folder_change_subscription". +/// +/// Description of the "paper_folder_change_subscription" tag state: (paper) +/// Followed/unfollowed Paper folder +/// +/// @param paperFolderChangeSubscription (paper) Followed/unfollowed Paper +/// folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderChangeSubscription: + (DBTEAMLOGPaperFolderChangeSubscriptionType *)paperFolderChangeSubscription; + +/// +/// Initializes union class with tag state of "paper_folder_deleted". +/// +/// Description of the "paper_folder_deleted" tag state: (paper) Archived Paper +/// folder (deprecated, no longer logged) +/// +/// @param paperFolderDeleted (paper) Archived Paper folder (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderDeleted:(DBTEAMLOGPaperFolderDeletedType *)paperFolderDeleted; + +/// +/// Initializes union class with tag state of "paper_folder_followed". +/// +/// Description of the "paper_folder_followed" tag state: (paper) Followed Paper +/// folder (deprecated, replaced by 'Followed/unfollowed Paper folder') +/// +/// @param paperFolderFollowed (paper) Followed Paper folder (deprecated, +/// replaced by 'Followed/unfollowed Paper folder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderFollowed:(DBTEAMLOGPaperFolderFollowedType *)paperFolderFollowed; + +/// +/// Initializes union class with tag state of "paper_folder_team_invite". +/// +/// Description of the "paper_folder_team_invite" tag state: (paper) Shared +/// Paper folder with users and/or groups (deprecated, no longer logged) +/// +/// @param paperFolderTeamInvite (paper) Shared Paper folder with users and/or +/// groups (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderTeamInvite:(DBTEAMLOGPaperFolderTeamInviteType *)paperFolderTeamInvite; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_change_permission". +/// +/// Description of the "paper_published_link_change_permission" tag state: +/// (paper) Changed permissions for published doc +/// +/// @param paperPublishedLinkChangePermission (paper) Changed permissions for +/// published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkChangePermission: + (DBTEAMLOGPaperPublishedLinkChangePermissionType *)paperPublishedLinkChangePermission; + +/// +/// Initializes union class with tag state of "paper_published_link_create". +/// +/// Description of the "paper_published_link_create" tag state: (paper) +/// Published doc +/// +/// @param paperPublishedLinkCreate (paper) Published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkCreate:(DBTEAMLOGPaperPublishedLinkCreateType *)paperPublishedLinkCreate; + +/// +/// Initializes union class with tag state of "paper_published_link_disabled". +/// +/// Description of the "paper_published_link_disabled" tag state: (paper) +/// Unpublished doc +/// +/// @param paperPublishedLinkDisabled (paper) Unpublished doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkDisabled: + (DBTEAMLOGPaperPublishedLinkDisabledType *)paperPublishedLinkDisabled; + +/// +/// Initializes union class with tag state of "paper_published_link_view". +/// +/// Description of the "paper_published_link_view" tag state: (paper) Viewed +/// published doc +/// +/// @param paperPublishedLinkView (paper) Viewed published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkView:(DBTEAMLOGPaperPublishedLinkViewType *)paperPublishedLinkView; + +/// +/// Initializes union class with tag state of "password_change". +/// +/// Description of the "password_change" tag state: (passwords) Changed password +/// +/// @param passwordChange (passwords) Changed password +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordChange:(DBTEAMLOGPasswordChangeType *)passwordChange; + +/// +/// Initializes union class with tag state of "password_reset". +/// +/// Description of the "password_reset" tag state: (passwords) Reset password +/// +/// @param passwordReset (passwords) Reset password +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordReset:(DBTEAMLOGPasswordResetType *)passwordReset; + +/// +/// Initializes union class with tag state of "password_reset_all". +/// +/// Description of the "password_reset_all" tag state: (passwords) Reset all +/// team member passwords +/// +/// @param passwordResetAll (passwords) Reset all team member passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordResetAll:(DBTEAMLOGPasswordResetAllType *)passwordResetAll; + +/// +/// Initializes union class with tag state of "classification_create_report". +/// +/// Description of the "classification_create_report" tag state: (reports) +/// Created Classification report +/// +/// @param classificationCreateReport (reports) Created Classification report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReport: + (DBTEAMLOGClassificationCreateReportType *)classificationCreateReport; + +/// +/// Initializes union class with tag state of +/// "classification_create_report_fail". +/// +/// Description of the "classification_create_report_fail" tag state: (reports) +/// Couldn't create Classification report +/// +/// @param classificationCreateReportFail (reports) Couldn't create +/// Classification report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReportFail: + (DBTEAMLOGClassificationCreateReportFailType *)classificationCreateReportFail; + +/// +/// Initializes union class with tag state of "emm_create_exceptions_report". +/// +/// Description of the "emm_create_exceptions_report" tag state: (reports) +/// Created EMM-excluded users report +/// +/// @param emmCreateExceptionsReport (reports) Created EMM-excluded users report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateExceptionsReport:(DBTEAMLOGEmmCreateExceptionsReportType *)emmCreateExceptionsReport; + +/// +/// Initializes union class with tag state of "emm_create_usage_report". +/// +/// Description of the "emm_create_usage_report" tag state: (reports) Created +/// EMM mobile app usage report +/// +/// @param emmCreateUsageReport (reports) Created EMM mobile app usage report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateUsageReport:(DBTEAMLOGEmmCreateUsageReportType *)emmCreateUsageReport; + +/// +/// Initializes union class with tag state of "export_members_report". +/// +/// Description of the "export_members_report" tag state: (reports) Created +/// member data report +/// +/// @param exportMembersReport (reports) Created member data report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReport:(DBTEAMLOGExportMembersReportType *)exportMembersReport; + +/// +/// Initializes union class with tag state of "export_members_report_fail". +/// +/// Description of the "export_members_report_fail" tag state: (reports) Failed +/// to create members data report +/// +/// @param exportMembersReportFail (reports) Failed to create members data +/// report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReportFail:(DBTEAMLOGExportMembersReportFailType *)exportMembersReportFail; + +/// +/// Initializes union class with tag state of "external_sharing_create_report". +/// +/// Description of the "external_sharing_create_report" tag state: (reports) +/// Created External sharing report +/// +/// @param externalSharingCreateReport (reports) Created External sharing report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingCreateReport: + (DBTEAMLOGExternalSharingCreateReportType *)externalSharingCreateReport; + +/// +/// Initializes union class with tag state of "external_sharing_report_failed". +/// +/// Description of the "external_sharing_report_failed" tag state: (reports) +/// Couldn't create External sharing report +/// +/// @param externalSharingReportFailed (reports) Couldn't create External +/// sharing report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingReportFailed: + (DBTEAMLOGExternalSharingReportFailedType *)externalSharingReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_create_report". +/// +/// Description of the "no_expiration_link_gen_create_report" tag state: +/// (reports) Report created: Links created with no expiration +/// +/// @param noExpirationLinkGenCreateReport (reports) Report created: Links +/// created with no expiration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenCreateReport: + (DBTEAMLOGNoExpirationLinkGenCreateReportType *)noExpirationLinkGenCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_report_failed". +/// +/// Description of the "no_expiration_link_gen_report_failed" tag state: +/// (reports) Couldn't create report: Links created with no expiration +/// +/// @param noExpirationLinkGenReportFailed (reports) Couldn't create report: +/// Links created with no expiration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenReportFailed: + (DBTEAMLOGNoExpirationLinkGenReportFailedType *)noExpirationLinkGenReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_create_report". +/// +/// Description of the "no_password_link_gen_create_report" tag state: (reports) +/// Report created: Links created without passwords +/// +/// @param noPasswordLinkGenCreateReport (reports) Report created: Links created +/// without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenCreateReport: + (DBTEAMLOGNoPasswordLinkGenCreateReportType *)noPasswordLinkGenCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_report_failed". +/// +/// Description of the "no_password_link_gen_report_failed" tag state: (reports) +/// Couldn't create report: Links created without passwords +/// +/// @param noPasswordLinkGenReportFailed (reports) Couldn't create report: Links +/// created without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenReportFailed: + (DBTEAMLOGNoPasswordLinkGenReportFailedType *)noPasswordLinkGenReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_create_report". +/// +/// Description of the "no_password_link_view_create_report" tag state: +/// (reports) Report created: Views of links without passwords +/// +/// @param noPasswordLinkViewCreateReport (reports) Report created: Views of +/// links without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewCreateReport: + (DBTEAMLOGNoPasswordLinkViewCreateReportType *)noPasswordLinkViewCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_report_failed". +/// +/// Description of the "no_password_link_view_report_failed" tag state: +/// (reports) Couldn't create report: Views of links without passwords +/// +/// @param noPasswordLinkViewReportFailed (reports) Couldn't create report: +/// Views of links without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewReportFailed: + (DBTEAMLOGNoPasswordLinkViewReportFailedType *)noPasswordLinkViewReportFailed; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_create_report". +/// +/// Description of the "outdated_link_view_create_report" tag state: (reports) +/// Report created: Views of old links +/// +/// @param outdatedLinkViewCreateReport (reports) Report created: Views of old +/// links +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewCreateReport: + (DBTEAMLOGOutdatedLinkViewCreateReportType *)outdatedLinkViewCreateReport; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_report_failed". +/// +/// Description of the "outdated_link_view_report_failed" tag state: (reports) +/// Couldn't create report: Views of old links +/// +/// @param outdatedLinkViewReportFailed (reports) Couldn't create report: Views +/// of old links +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewReportFailed: + (DBTEAMLOGOutdatedLinkViewReportFailedType *)outdatedLinkViewReportFailed; + +/// +/// Initializes union class with tag state of "paper_admin_export_start". +/// +/// Description of the "paper_admin_export_start" tag state: (reports) Exported +/// all team Paper docs +/// +/// @param paperAdminExportStart (reports) Exported all team Paper docs +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperAdminExportStart:(DBTEAMLOGPaperAdminExportStartType *)paperAdminExportStart; + +/// +/// Initializes union class with tag state of "ransomware_alert_create_report". +/// +/// Description of the "ransomware_alert_create_report" tag state: (reports) +/// Created ransomware report +/// +/// @param ransomwareAlertCreateReport (reports) Created ransomware report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReport: + (DBTEAMLOGRansomwareAlertCreateReportType *)ransomwareAlertCreateReport; + +/// +/// Initializes union class with tag state of +/// "ransomware_alert_create_report_failed". +/// +/// Description of the "ransomware_alert_create_report_failed" tag state: +/// (reports) Couldn't generate ransomware report +/// +/// @param ransomwareAlertCreateReportFailed (reports) Couldn't generate +/// ransomware report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReportFailed: + (DBTEAMLOGRansomwareAlertCreateReportFailedType *)ransomwareAlertCreateReportFailed; + +/// +/// Initializes union class with tag state of +/// "smart_sync_create_admin_privilege_report". +/// +/// Description of the "smart_sync_create_admin_privilege_report" tag state: +/// (reports) Created Smart Sync non-admin devices report +/// +/// @param smartSyncCreateAdminPrivilegeReport (reports) Created Smart Sync +/// non-admin devices report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport: + (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)smartSyncCreateAdminPrivilegeReport; + +/// +/// Initializes union class with tag state of "team_activity_create_report". +/// +/// Description of the "team_activity_create_report" tag state: (reports) +/// Created team activity report +/// +/// @param teamActivityCreateReport (reports) Created team activity report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReport:(DBTEAMLOGTeamActivityCreateReportType *)teamActivityCreateReport; + +/// +/// Initializes union class with tag state of +/// "team_activity_create_report_fail". +/// +/// Description of the "team_activity_create_report_fail" tag state: (reports) +/// Couldn't generate team activity report +/// +/// @param teamActivityCreateReportFail (reports) Couldn't generate team +/// activity report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReportFail: + (DBTEAMLOGTeamActivityCreateReportFailType *)teamActivityCreateReportFail; + +/// +/// Initializes union class with tag state of "collection_share". +/// +/// Description of the "collection_share" tag state: (sharing) Shared album +/// +/// @param collectionShare (sharing) Shared album +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCollectionShare:(DBTEAMLOGCollectionShareType *)collectionShare; + +/// +/// Initializes union class with tag state of "file_transfers_file_add". +/// +/// Description of the "file_transfers_file_add" tag state: (sharing) Transfer +/// files added +/// +/// @param fileTransfersFileAdd (sharing) Transfer files added +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersFileAdd:(DBTEAMLOGFileTransfersFileAddType *)fileTransfersFileAdd; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_delete". +/// +/// Description of the "file_transfers_transfer_delete" tag state: (sharing) +/// Deleted transfer +/// +/// @param fileTransfersTransferDelete (sharing) Deleted transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDelete: + (DBTEAMLOGFileTransfersTransferDeleteType *)fileTransfersTransferDelete; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_download". +/// +/// Description of the "file_transfers_transfer_download" tag state: (sharing) +/// Transfer downloaded +/// +/// @param fileTransfersTransferDownload (sharing) Transfer downloaded +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDownload: + (DBTEAMLOGFileTransfersTransferDownloadType *)fileTransfersTransferDownload; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_send". +/// +/// Description of the "file_transfers_transfer_send" tag state: (sharing) Sent +/// transfer +/// +/// @param fileTransfersTransferSend (sharing) Sent transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferSend:(DBTEAMLOGFileTransfersTransferSendType *)fileTransfersTransferSend; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_view". +/// +/// Description of the "file_transfers_transfer_view" tag state: (sharing) +/// Viewed transfer +/// +/// @param fileTransfersTransferView (sharing) Viewed transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferView:(DBTEAMLOGFileTransfersTransferViewType *)fileTransfersTransferView; + +/// +/// Initializes union class with tag state of "note_acl_invite_only". +/// +/// Description of the "note_acl_invite_only" tag state: (sharing) Changed Paper +/// doc to invite-only (deprecated, no longer logged) +/// +/// @param noteAclInviteOnly (sharing) Changed Paper doc to invite-only +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclInviteOnly:(DBTEAMLOGNoteAclInviteOnlyType *)noteAclInviteOnly; + +/// +/// Initializes union class with tag state of "note_acl_link". +/// +/// Description of the "note_acl_link" tag state: (sharing) Changed Paper doc to +/// link-accessible (deprecated, no longer logged) +/// +/// @param noteAclLink (sharing) Changed Paper doc to link-accessible +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclLink:(DBTEAMLOGNoteAclLinkType *)noteAclLink; + +/// +/// Initializes union class with tag state of "note_acl_team_link". +/// +/// Description of the "note_acl_team_link" tag state: (sharing) Changed Paper +/// doc to link-accessible for team (deprecated, no longer logged) +/// +/// @param noteAclTeamLink (sharing) Changed Paper doc to link-accessible for +/// team (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclTeamLink:(DBTEAMLOGNoteAclTeamLinkType *)noteAclTeamLink; + +/// +/// Initializes union class with tag state of "note_shared". +/// +/// Description of the "note_shared" tag state: (sharing) Shared Paper doc +/// (deprecated, no longer logged) +/// +/// @param noteShared (sharing) Shared Paper doc (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteShared:(DBTEAMLOGNoteSharedType *)noteShared; + +/// +/// Initializes union class with tag state of "note_share_receive". +/// +/// Description of the "note_share_receive" tag state: (sharing) Shared received +/// Paper doc (deprecated, no longer logged) +/// +/// @param noteShareReceive (sharing) Shared received Paper doc (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteShareReceive:(DBTEAMLOGNoteShareReceiveType *)noteShareReceive; + +/// +/// Initializes union class with tag state of "open_note_shared". +/// +/// Description of the "open_note_shared" tag state: (sharing) Opened shared +/// Paper doc (deprecated, no longer logged) +/// +/// @param openNoteShared (sharing) Opened shared Paper doc (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOpenNoteShared:(DBTEAMLOGOpenNoteSharedType *)openNoteShared; + +/// +/// Initializes union class with tag state of "replay_file_shared_link_created". +/// +/// Description of the "replay_file_shared_link_created" tag state: (sharing) +/// Created shared link in Replay +/// +/// @param replayFileSharedLinkCreated (sharing) Created shared link in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkCreated: + (DBTEAMLOGReplayFileSharedLinkCreatedType *)replayFileSharedLinkCreated; + +/// +/// Initializes union class with tag state of +/// "replay_file_shared_link_modified". +/// +/// Description of the "replay_file_shared_link_modified" tag state: (sharing) +/// Modified shared link in Replay +/// +/// @param replayFileSharedLinkModified (sharing) Modified shared link in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkModified: + (DBTEAMLOGReplayFileSharedLinkModifiedType *)replayFileSharedLinkModified; + +/// +/// Initializes union class with tag state of "replay_project_team_add". +/// +/// Description of the "replay_project_team_add" tag state: (sharing) Added +/// member to Replay Project +/// +/// @param replayProjectTeamAdd (sharing) Added member to Replay Project +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamAdd:(DBTEAMLOGReplayProjectTeamAddType *)replayProjectTeamAdd; + +/// +/// Initializes union class with tag state of "replay_project_team_delete". +/// +/// Description of the "replay_project_team_delete" tag state: (sharing) Removed +/// member from Replay Project +/// +/// @param replayProjectTeamDelete (sharing) Removed member from Replay Project +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamDelete:(DBTEAMLOGReplayProjectTeamDeleteType *)replayProjectTeamDelete; + +/// +/// Initializes union class with tag state of "sf_add_group". +/// +/// Description of the "sf_add_group" tag state: (sharing) Added team to shared +/// folder (deprecated, no longer logged) +/// +/// @param sfAddGroup (sharing) Added team to shared folder (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAddGroup:(DBTEAMLOGSfAddGroupType *)sfAddGroup; + +/// +/// Initializes union class with tag state of +/// "sf_allow_non_members_to_view_shared_links". +/// +/// Description of the "sf_allow_non_members_to_view_shared_links" tag state: +/// (sharing) Allowed non-collaborators to view links to files in shared folder +/// (deprecated, no longer logged) +/// +/// @param sfAllowNonMembersToViewSharedLinks (sharing) Allowed +/// non-collaborators to view links to files in shared folder (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAllowNonMembersToViewSharedLinks: + (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)sfAllowNonMembersToViewSharedLinks; + +/// +/// Initializes union class with tag state of "sf_external_invite_warn". +/// +/// Description of the "sf_external_invite_warn" tag state: (sharing) Set team +/// members to see warning before sharing folders outside team (deprecated, no +/// longer logged) +/// +/// @param sfExternalInviteWarn (sharing) Set team members to see warning before +/// sharing folders outside team (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfExternalInviteWarn:(DBTEAMLOGSfExternalInviteWarnType *)sfExternalInviteWarn; + +/// +/// Initializes union class with tag state of "sf_fb_invite". +/// +/// Description of the "sf_fb_invite" tag state: (sharing) Invited Facebook +/// users to shared folder (deprecated, no longer logged) +/// +/// @param sfFbInvite (sharing) Invited Facebook users to shared folder +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInvite:(DBTEAMLOGSfFbInviteType *)sfFbInvite; + +/// +/// Initializes union class with tag state of "sf_fb_invite_change_role". +/// +/// Description of the "sf_fb_invite_change_role" tag state: (sharing) Changed +/// Facebook user's role in shared folder (deprecated, no longer logged) +/// +/// @param sfFbInviteChangeRole (sharing) Changed Facebook user's role in shared +/// folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInviteChangeRole:(DBTEAMLOGSfFbInviteChangeRoleType *)sfFbInviteChangeRole; + +/// +/// Initializes union class with tag state of "sf_fb_uninvite". +/// +/// Description of the "sf_fb_uninvite" tag state: (sharing) Uninvited Facebook +/// user from shared folder (deprecated, no longer logged) +/// +/// @param sfFbUninvite (sharing) Uninvited Facebook user from shared folder +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbUninvite:(DBTEAMLOGSfFbUninviteType *)sfFbUninvite; + +/// +/// Initializes union class with tag state of "sf_invite_group". +/// +/// Description of the "sf_invite_group" tag state: (sharing) Invited group to +/// shared folder (deprecated, no longer logged) +/// +/// @param sfInviteGroup (sharing) Invited group to shared folder (deprecated, +/// no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfInviteGroup:(DBTEAMLOGSfInviteGroupType *)sfInviteGroup; + +/// +/// Initializes union class with tag state of "sf_team_grant_access". +/// +/// Description of the "sf_team_grant_access" tag state: (sharing) Granted +/// access to shared folder (deprecated, no longer logged) +/// +/// @param sfTeamGrantAccess (sharing) Granted access to shared folder +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamGrantAccess:(DBTEAMLOGSfTeamGrantAccessType *)sfTeamGrantAccess; + +/// +/// Initializes union class with tag state of "sf_team_invite". +/// +/// Description of the "sf_team_invite" tag state: (sharing) Invited team +/// members to shared folder (deprecated, replaced by 'Invited user to Dropbox +/// and added them to shared file/folder') +/// +/// @param sfTeamInvite (sharing) Invited team members to shared folder +/// (deprecated, replaced by 'Invited user to Dropbox and added them to shared +/// file/folder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInvite:(DBTEAMLOGSfTeamInviteType *)sfTeamInvite; + +/// +/// Initializes union class with tag state of "sf_team_invite_change_role". +/// +/// Description of the "sf_team_invite_change_role" tag state: (sharing) Changed +/// team member's role in shared folder (deprecated, no longer logged) +/// +/// @param sfTeamInviteChangeRole (sharing) Changed team member's role in shared +/// folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInviteChangeRole:(DBTEAMLOGSfTeamInviteChangeRoleType *)sfTeamInviteChangeRole; + +/// +/// Initializes union class with tag state of "sf_team_join". +/// +/// Description of the "sf_team_join" tag state: (sharing) Joined team member's +/// shared folder (deprecated, no longer logged) +/// +/// @param sfTeamJoin (sharing) Joined team member's shared folder (deprecated, +/// no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoin:(DBTEAMLOGSfTeamJoinType *)sfTeamJoin; + +/// +/// Initializes union class with tag state of "sf_team_join_from_oob_link". +/// +/// Description of the "sf_team_join_from_oob_link" tag state: (sharing) Joined +/// team member's shared folder from link (deprecated, no longer logged) +/// +/// @param sfTeamJoinFromOobLink (sharing) Joined team member's shared folder +/// from link (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoinFromOobLink:(DBTEAMLOGSfTeamJoinFromOobLinkType *)sfTeamJoinFromOobLink; + +/// +/// Initializes union class with tag state of "sf_team_uninvite". +/// +/// Description of the "sf_team_uninvite" tag state: (sharing) Unshared folder +/// with team member (deprecated, replaced by 'Removed invitee from shared +/// file/folder before invite was accepted') +/// +/// @param sfTeamUninvite (sharing) Unshared folder with team member +/// (deprecated, replaced by 'Removed invitee from shared file/folder before +/// invite was accepted') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamUninvite:(DBTEAMLOGSfTeamUninviteType *)sfTeamUninvite; + +/// +/// Initializes union class with tag state of "shared_content_add_invitees". +/// +/// Description of the "shared_content_add_invitees" tag state: (sharing) +/// Invited user to Dropbox and added them to shared file/folder +/// +/// @param sharedContentAddInvitees (sharing) Invited user to Dropbox and added +/// them to shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddInvitees:(DBTEAMLOGSharedContentAddInviteesType *)sharedContentAddInvitees; + +/// +/// Initializes union class with tag state of "shared_content_add_link_expiry". +/// +/// Description of the "shared_content_add_link_expiry" tag state: (sharing) +/// Added expiration date to link for shared file/folder (deprecated, no longer +/// logged) +/// +/// @param sharedContentAddLinkExpiry (sharing) Added expiration date to link +/// for shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkExpiry: + (DBTEAMLOGSharedContentAddLinkExpiryType *)sharedContentAddLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_link_password". +/// +/// Description of the "shared_content_add_link_password" tag state: (sharing) +/// Added password to link for shared file/folder (deprecated, no longer logged) +/// +/// @param sharedContentAddLinkPassword (sharing) Added password to link for +/// shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkPassword: + (DBTEAMLOGSharedContentAddLinkPasswordType *)sharedContentAddLinkPassword; + +/// +/// Initializes union class with tag state of "shared_content_add_member". +/// +/// Description of the "shared_content_add_member" tag state: (sharing) Added +/// users and/or groups to shared file/folder +/// +/// @param sharedContentAddMember (sharing) Added users and/or groups to shared +/// file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddMember:(DBTEAMLOGSharedContentAddMemberType *)sharedContentAddMember; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_downloads_policy". +/// +/// Description of the "shared_content_change_downloads_policy" tag state: +/// (sharing) Changed whether members can download shared file/folder +/// (deprecated, no longer logged) +/// +/// @param sharedContentChangeDownloadsPolicy (sharing) Changed whether members +/// can download shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeDownloadsPolicy: + (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)sharedContentChangeDownloadsPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_invitee_role". +/// +/// Description of the "shared_content_change_invitee_role" tag state: (sharing) +/// Changed access type of invitee to shared file/folder before invite was +/// accepted +/// +/// @param sharedContentChangeInviteeRole (sharing) Changed access type of +/// invitee to shared file/folder before invite was accepted +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeInviteeRole: + (DBTEAMLOGSharedContentChangeInviteeRoleType *)sharedContentChangeInviteeRole; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_audience". +/// +/// Description of the "shared_content_change_link_audience" tag state: +/// (sharing) Changed link audience of shared file/folder (deprecated, no longer +/// logged) +/// +/// @param sharedContentChangeLinkAudience (sharing) Changed link audience of +/// shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkAudience: + (DBTEAMLOGSharedContentChangeLinkAudienceType *)sharedContentChangeLinkAudience; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_expiry". +/// +/// Description of the "shared_content_change_link_expiry" tag state: (sharing) +/// Changed link expiration of shared file/folder (deprecated, no longer logged) +/// +/// @param sharedContentChangeLinkExpiry (sharing) Changed link expiration of +/// shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkExpiry: + (DBTEAMLOGSharedContentChangeLinkExpiryType *)sharedContentChangeLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_password". +/// +/// Description of the "shared_content_change_link_password" tag state: +/// (sharing) Changed link password of shared file/folder (deprecated, no longer +/// logged) +/// +/// @param sharedContentChangeLinkPassword (sharing) Changed link password of +/// shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkPassword: + (DBTEAMLOGSharedContentChangeLinkPasswordType *)sharedContentChangeLinkPassword; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_member_role". +/// +/// Description of the "shared_content_change_member_role" tag state: (sharing) +/// Changed access type of shared file/folder member +/// +/// @param sharedContentChangeMemberRole (sharing) Changed access type of shared +/// file/folder member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeMemberRole: + (DBTEAMLOGSharedContentChangeMemberRoleType *)sharedContentChangeMemberRole; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_viewer_info_policy". +/// +/// Description of the "shared_content_change_viewer_info_policy" tag state: +/// (sharing) Changed whether members can see who viewed shared file/folder +/// +/// @param sharedContentChangeViewerInfoPolicy (sharing) Changed whether members +/// can see who viewed shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeViewerInfoPolicy: + (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)sharedContentChangeViewerInfoPolicy; + +/// +/// Initializes union class with tag state of "shared_content_claim_invitation". +/// +/// Description of the "shared_content_claim_invitation" tag state: (sharing) +/// Acquired membership of shared file/folder by accepting invite +/// +/// @param sharedContentClaimInvitation (sharing) Acquired membership of shared +/// file/folder by accepting invite +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentClaimInvitation: + (DBTEAMLOGSharedContentClaimInvitationType *)sharedContentClaimInvitation; + +/// +/// Initializes union class with tag state of "shared_content_copy". +/// +/// Description of the "shared_content_copy" tag state: (sharing) Copied shared +/// file/folder to own Dropbox +/// +/// @param sharedContentCopy (sharing) Copied shared file/folder to own Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentCopy:(DBTEAMLOGSharedContentCopyType *)sharedContentCopy; + +/// +/// Initializes union class with tag state of "shared_content_download". +/// +/// Description of the "shared_content_download" tag state: (sharing) Downloaded +/// shared file/folder +/// +/// @param sharedContentDownload (sharing) Downloaded shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentDownload:(DBTEAMLOGSharedContentDownloadType *)sharedContentDownload; + +/// +/// Initializes union class with tag state of +/// "shared_content_relinquish_membership". +/// +/// Description of the "shared_content_relinquish_membership" tag state: +/// (sharing) Left shared file/folder +/// +/// @param sharedContentRelinquishMembership (sharing) Left shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRelinquishMembership: + (DBTEAMLOGSharedContentRelinquishMembershipType *)sharedContentRelinquishMembership; + +/// +/// Initializes union class with tag state of "shared_content_remove_invitees". +/// +/// Description of the "shared_content_remove_invitees" tag state: (sharing) +/// Removed invitee from shared file/folder before invite was accepted +/// +/// @param sharedContentRemoveInvitees (sharing) Removed invitee from shared +/// file/folder before invite was accepted +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveInvitees: + (DBTEAMLOGSharedContentRemoveInviteesType *)sharedContentRemoveInvitees; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_expiry". +/// +/// Description of the "shared_content_remove_link_expiry" tag state: (sharing) +/// Removed link expiration date of shared file/folder (deprecated, no longer +/// logged) +/// +/// @param sharedContentRemoveLinkExpiry (sharing) Removed link expiration date +/// of shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkExpiry: + (DBTEAMLOGSharedContentRemoveLinkExpiryType *)sharedContentRemoveLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_password". +/// +/// Description of the "shared_content_remove_link_password" tag state: +/// (sharing) Removed link password of shared file/folder (deprecated, no longer +/// logged) +/// +/// @param sharedContentRemoveLinkPassword (sharing) Removed link password of +/// shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkPassword: + (DBTEAMLOGSharedContentRemoveLinkPasswordType *)sharedContentRemoveLinkPassword; + +/// +/// Initializes union class with tag state of "shared_content_remove_member". +/// +/// Description of the "shared_content_remove_member" tag state: (sharing) +/// Removed user/group from shared file/folder +/// +/// @param sharedContentRemoveMember (sharing) Removed user/group from shared +/// file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveMember:(DBTEAMLOGSharedContentRemoveMemberType *)sharedContentRemoveMember; + +/// +/// Initializes union class with tag state of "shared_content_request_access". +/// +/// Description of the "shared_content_request_access" tag state: (sharing) +/// Requested access to shared file/folder +/// +/// @param sharedContentRequestAccess (sharing) Requested access to shared +/// file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRequestAccess: + (DBTEAMLOGSharedContentRequestAccessType *)sharedContentRequestAccess; + +/// +/// Initializes union class with tag state of "shared_content_restore_invitees". +/// +/// Description of the "shared_content_restore_invitees" tag state: (sharing) +/// Restored shared file/folder invitees +/// +/// @param sharedContentRestoreInvitees (sharing) Restored shared file/folder +/// invitees +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreInvitees: + (DBTEAMLOGSharedContentRestoreInviteesType *)sharedContentRestoreInvitees; + +/// +/// Initializes union class with tag state of "shared_content_restore_member". +/// +/// Description of the "shared_content_restore_member" tag state: (sharing) +/// Restored users and/or groups to membership of shared file/folder +/// +/// @param sharedContentRestoreMember (sharing) Restored users and/or groups to +/// membership of shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreMember: + (DBTEAMLOGSharedContentRestoreMemberType *)sharedContentRestoreMember; + +/// +/// Initializes union class with tag state of "shared_content_unshare". +/// +/// Description of the "shared_content_unshare" tag state: (sharing) Unshared +/// file/folder by clearing membership +/// +/// @param sharedContentUnshare (sharing) Unshared file/folder by clearing +/// membership +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentUnshare:(DBTEAMLOGSharedContentUnshareType *)sharedContentUnshare; + +/// +/// Initializes union class with tag state of "shared_content_view". +/// +/// Description of the "shared_content_view" tag state: (sharing) Previewed +/// shared file/folder +/// +/// @param sharedContentView (sharing) Previewed shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentView:(DBTEAMLOGSharedContentViewType *)sharedContentView; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_link_policy". +/// +/// Description of the "shared_folder_change_link_policy" tag state: (sharing) +/// Changed who can access shared folder via link +/// +/// @param sharedFolderChangeLinkPolicy (sharing) Changed who can access shared +/// folder via link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeLinkPolicy: + (DBTEAMLOGSharedFolderChangeLinkPolicyType *)sharedFolderChangeLinkPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_inheritance_policy". +/// +/// Description of the "shared_folder_change_members_inheritance_policy" tag +/// state: (sharing) Changed whether shared folder inherits members from parent +/// folder +/// +/// @param sharedFolderChangeMembersInheritancePolicy (sharing) Changed whether +/// shared folder inherits members from parent folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicy: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)sharedFolderChangeMembersInheritancePolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_management_policy". +/// +/// Description of the "shared_folder_change_members_management_policy" tag +/// state: (sharing) Changed who can add/remove members of shared folder +/// +/// @param sharedFolderChangeMembersManagementPolicy (sharing) Changed who can +/// add/remove members of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersManagementPolicy: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)sharedFolderChangeMembersManagementPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_policy". +/// +/// Description of the "shared_folder_change_members_policy" tag state: +/// (sharing) Changed who can become member of shared folder +/// +/// @param sharedFolderChangeMembersPolicy (sharing) Changed who can become +/// member of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersPolicy: + (DBTEAMLOGSharedFolderChangeMembersPolicyType *)sharedFolderChangeMembersPolicy; + +/// +/// Initializes union class with tag state of "shared_folder_create". +/// +/// Description of the "shared_folder_create" tag state: (sharing) Created +/// shared folder +/// +/// @param sharedFolderCreate (sharing) Created shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderCreate:(DBTEAMLOGSharedFolderCreateType *)sharedFolderCreate; + +/// +/// Initializes union class with tag state of +/// "shared_folder_decline_invitation". +/// +/// Description of the "shared_folder_decline_invitation" tag state: (sharing) +/// Declined team member's invite to shared folder +/// +/// @param sharedFolderDeclineInvitation (sharing) Declined team member's invite +/// to shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderDeclineInvitation: + (DBTEAMLOGSharedFolderDeclineInvitationType *)sharedFolderDeclineInvitation; + +/// +/// Initializes union class with tag state of "shared_folder_mount". +/// +/// Description of the "shared_folder_mount" tag state: (sharing) Added shared +/// folder to own Dropbox +/// +/// @param sharedFolderMount (sharing) Added shared folder to own Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderMount:(DBTEAMLOGSharedFolderMountType *)sharedFolderMount; + +/// +/// Initializes union class with tag state of "shared_folder_nest". +/// +/// Description of the "shared_folder_nest" tag state: (sharing) Changed parent +/// of shared folder +/// +/// @param sharedFolderNest (sharing) Changed parent of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderNest:(DBTEAMLOGSharedFolderNestType *)sharedFolderNest; + +/// +/// Initializes union class with tag state of +/// "shared_folder_transfer_ownership". +/// +/// Description of the "shared_folder_transfer_ownership" tag state: (sharing) +/// Transferred ownership of shared folder to another member +/// +/// @param sharedFolderTransferOwnership (sharing) Transferred ownership of +/// shared folder to another member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderTransferOwnership: + (DBTEAMLOGSharedFolderTransferOwnershipType *)sharedFolderTransferOwnership; + +/// +/// Initializes union class with tag state of "shared_folder_unmount". +/// +/// Description of the "shared_folder_unmount" tag state: (sharing) Deleted +/// shared folder from Dropbox +/// +/// @param sharedFolderUnmount (sharing) Deleted shared folder from Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderUnmount:(DBTEAMLOGSharedFolderUnmountType *)sharedFolderUnmount; + +/// +/// Initializes union class with tag state of "shared_link_add_expiry". +/// +/// Description of the "shared_link_add_expiry" tag state: (sharing) Added +/// shared link expiration date +/// +/// @param sharedLinkAddExpiry (sharing) Added shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkAddExpiry:(DBTEAMLOGSharedLinkAddExpiryType *)sharedLinkAddExpiry; + +/// +/// Initializes union class with tag state of "shared_link_change_expiry". +/// +/// Description of the "shared_link_change_expiry" tag state: (sharing) Changed +/// shared link expiration date +/// +/// @param sharedLinkChangeExpiry (sharing) Changed shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeExpiry:(DBTEAMLOGSharedLinkChangeExpiryType *)sharedLinkChangeExpiry; + +/// +/// Initializes union class with tag state of "shared_link_change_visibility". +/// +/// Description of the "shared_link_change_visibility" tag state: (sharing) +/// Changed visibility of shared link +/// +/// @param sharedLinkChangeVisibility (sharing) Changed visibility of shared +/// link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeVisibility: + (DBTEAMLOGSharedLinkChangeVisibilityType *)sharedLinkChangeVisibility; + +/// +/// Initializes union class with tag state of "shared_link_copy". +/// +/// Description of the "shared_link_copy" tag state: (sharing) Added file/folder +/// to Dropbox from shared link +/// +/// @param sharedLinkCopy (sharing) Added file/folder to Dropbox from shared +/// link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCopy:(DBTEAMLOGSharedLinkCopyType *)sharedLinkCopy; + +/// +/// Initializes union class with tag state of "shared_link_create". +/// +/// Description of the "shared_link_create" tag state: (sharing) Created shared +/// link +/// +/// @param sharedLinkCreate (sharing) Created shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCreate:(DBTEAMLOGSharedLinkCreateType *)sharedLinkCreate; + +/// +/// Initializes union class with tag state of "shared_link_disable". +/// +/// Description of the "shared_link_disable" tag state: (sharing) Removed shared +/// link +/// +/// @param sharedLinkDisable (sharing) Removed shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDisable:(DBTEAMLOGSharedLinkDisableType *)sharedLinkDisable; + +/// +/// Initializes union class with tag state of "shared_link_download". +/// +/// Description of the "shared_link_download" tag state: (sharing) Downloaded +/// file/folder from shared link +/// +/// @param sharedLinkDownload (sharing) Downloaded file/folder from shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDownload:(DBTEAMLOGSharedLinkDownloadType *)sharedLinkDownload; + +/// +/// Initializes union class with tag state of "shared_link_remove_expiry". +/// +/// Description of the "shared_link_remove_expiry" tag state: (sharing) Removed +/// shared link expiration date +/// +/// @param sharedLinkRemoveExpiry (sharing) Removed shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkRemoveExpiry:(DBTEAMLOGSharedLinkRemoveExpiryType *)sharedLinkRemoveExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_expiration". +/// +/// Description of the "shared_link_settings_add_expiration" tag state: +/// (sharing) Added an expiration date to the shared link +/// +/// @param sharedLinkSettingsAddExpiration (sharing) Added an expiration date to +/// the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddExpiration: + (DBTEAMLOGSharedLinkSettingsAddExpirationType *)sharedLinkSettingsAddExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_password". +/// +/// Description of the "shared_link_settings_add_password" tag state: (sharing) +/// Added a password to the shared link +/// +/// @param sharedLinkSettingsAddPassword (sharing) Added a password to the +/// shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddPassword: + (DBTEAMLOGSharedLinkSettingsAddPasswordType *)sharedLinkSettingsAddPassword; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_disabled". +/// +/// Description of the "shared_link_settings_allow_download_disabled" tag state: +/// (sharing) Disabled downloads +/// +/// @param sharedLinkSettingsAllowDownloadDisabled (sharing) Disabled downloads +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabled: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)sharedLinkSettingsAllowDownloadDisabled; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_enabled". +/// +/// Description of the "shared_link_settings_allow_download_enabled" tag state: +/// (sharing) Enabled downloads +/// +/// @param sharedLinkSettingsAllowDownloadEnabled (sharing) Enabled downloads +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabled: + (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)sharedLinkSettingsAllowDownloadEnabled; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_audience". +/// +/// Description of the "shared_link_settings_change_audience" tag state: +/// (sharing) Changed the audience of the shared link +/// +/// @param sharedLinkSettingsChangeAudience (sharing) Changed the audience of +/// the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeAudience: + (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)sharedLinkSettingsChangeAudience; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_expiration". +/// +/// Description of the "shared_link_settings_change_expiration" tag state: +/// (sharing) Changed the expiration date of the shared link +/// +/// @param sharedLinkSettingsChangeExpiration (sharing) Changed the expiration +/// date of the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeExpiration: + (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)sharedLinkSettingsChangeExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_password". +/// +/// Description of the "shared_link_settings_change_password" tag state: +/// (sharing) Changed the password of the shared link +/// +/// @param sharedLinkSettingsChangePassword (sharing) Changed the password of +/// the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangePassword: + (DBTEAMLOGSharedLinkSettingsChangePasswordType *)sharedLinkSettingsChangePassword; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_expiration". +/// +/// Description of the "shared_link_settings_remove_expiration" tag state: +/// (sharing) Removed the expiration date from the shared link +/// +/// @param sharedLinkSettingsRemoveExpiration (sharing) Removed the expiration +/// date from the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemoveExpiration: + (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)sharedLinkSettingsRemoveExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_password". +/// +/// Description of the "shared_link_settings_remove_password" tag state: +/// (sharing) Removed the password from the shared link +/// +/// @param sharedLinkSettingsRemovePassword (sharing) Removed the password from +/// the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemovePassword: + (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)sharedLinkSettingsRemovePassword; + +/// +/// Initializes union class with tag state of "shared_link_share". +/// +/// Description of the "shared_link_share" tag state: (sharing) Added members as +/// audience of shared link +/// +/// @param sharedLinkShare (sharing) Added members as audience of shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkShare:(DBTEAMLOGSharedLinkShareType *)sharedLinkShare; + +/// +/// Initializes union class with tag state of "shared_link_view". +/// +/// Description of the "shared_link_view" tag state: (sharing) Opened shared +/// link +/// +/// @param sharedLinkView (sharing) Opened shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkView:(DBTEAMLOGSharedLinkViewType *)sharedLinkView; + +/// +/// Initializes union class with tag state of "shared_note_opened". +/// +/// Description of the "shared_note_opened" tag state: (sharing) Opened shared +/// Paper doc (deprecated, no longer logged) +/// +/// @param sharedNoteOpened (sharing) Opened shared Paper doc (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedNoteOpened:(DBTEAMLOGSharedNoteOpenedType *)sharedNoteOpened; + +/// +/// Initializes union class with tag state of "shmodel_disable_downloads". +/// +/// Description of the "shmodel_disable_downloads" tag state: (sharing) Disabled +/// downloads for link (deprecated, no longer logged) +/// +/// @param shmodelDisableDownloads (sharing) Disabled downloads for link +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelDisableDownloads:(DBTEAMLOGShmodelDisableDownloadsType *)shmodelDisableDownloads; + +/// +/// Initializes union class with tag state of "shmodel_enable_downloads". +/// +/// Description of the "shmodel_enable_downloads" tag state: (sharing) Enabled +/// downloads for link (deprecated, no longer logged) +/// +/// @param shmodelEnableDownloads (sharing) Enabled downloads for link +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelEnableDownloads:(DBTEAMLOGShmodelEnableDownloadsType *)shmodelEnableDownloads; + +/// +/// Initializes union class with tag state of "shmodel_group_share". +/// +/// Description of the "shmodel_group_share" tag state: (sharing) Shared link +/// with group (deprecated, no longer logged) +/// +/// @param shmodelGroupShare (sharing) Shared link with group (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelGroupShare:(DBTEAMLOGShmodelGroupShareType *)shmodelGroupShare; + +/// +/// Initializes union class with tag state of "showcase_access_granted". +/// +/// Description of the "showcase_access_granted" tag state: (showcase) Granted +/// access to showcase +/// +/// @param showcaseAccessGranted (showcase) Granted access to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAccessGranted:(DBTEAMLOGShowcaseAccessGrantedType *)showcaseAccessGranted; + +/// +/// Initializes union class with tag state of "showcase_add_member". +/// +/// Description of the "showcase_add_member" tag state: (showcase) Added member +/// to showcase +/// +/// @param showcaseAddMember (showcase) Added member to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAddMember:(DBTEAMLOGShowcaseAddMemberType *)showcaseAddMember; + +/// +/// Initializes union class with tag state of "showcase_archived". +/// +/// Description of the "showcase_archived" tag state: (showcase) Archived +/// showcase +/// +/// @param showcaseArchived (showcase) Archived showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseArchived:(DBTEAMLOGShowcaseArchivedType *)showcaseArchived; + +/// +/// Initializes union class with tag state of "showcase_created". +/// +/// Description of the "showcase_created" tag state: (showcase) Created showcase +/// +/// @param showcaseCreated (showcase) Created showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseCreated:(DBTEAMLOGShowcaseCreatedType *)showcaseCreated; + +/// +/// Initializes union class with tag state of "showcase_delete_comment". +/// +/// Description of the "showcase_delete_comment" tag state: (showcase) Deleted +/// showcase comment +/// +/// @param showcaseDeleteComment (showcase) Deleted showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseDeleteComment:(DBTEAMLOGShowcaseDeleteCommentType *)showcaseDeleteComment; + +/// +/// Initializes union class with tag state of "showcase_edited". +/// +/// Description of the "showcase_edited" tag state: (showcase) Edited showcase +/// +/// @param showcaseEdited (showcase) Edited showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEdited:(DBTEAMLOGShowcaseEditedType *)showcaseEdited; + +/// +/// Initializes union class with tag state of "showcase_edit_comment". +/// +/// Description of the "showcase_edit_comment" tag state: (showcase) Edited +/// showcase comment +/// +/// @param showcaseEditComment (showcase) Edited showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEditComment:(DBTEAMLOGShowcaseEditCommentType *)showcaseEditComment; + +/// +/// Initializes union class with tag state of "showcase_file_added". +/// +/// Description of the "showcase_file_added" tag state: (showcase) Added file to +/// showcase +/// +/// @param showcaseFileAdded (showcase) Added file to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileAdded:(DBTEAMLOGShowcaseFileAddedType *)showcaseFileAdded; + +/// +/// Initializes union class with tag state of "showcase_file_download". +/// +/// Description of the "showcase_file_download" tag state: (showcase) Downloaded +/// file from showcase +/// +/// @param showcaseFileDownload (showcase) Downloaded file from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileDownload:(DBTEAMLOGShowcaseFileDownloadType *)showcaseFileDownload; + +/// +/// Initializes union class with tag state of "showcase_file_removed". +/// +/// Description of the "showcase_file_removed" tag state: (showcase) Removed +/// file from showcase +/// +/// @param showcaseFileRemoved (showcase) Removed file from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileRemoved:(DBTEAMLOGShowcaseFileRemovedType *)showcaseFileRemoved; + +/// +/// Initializes union class with tag state of "showcase_file_view". +/// +/// Description of the "showcase_file_view" tag state: (showcase) Viewed file in +/// showcase +/// +/// @param showcaseFileView (showcase) Viewed file in showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileView:(DBTEAMLOGShowcaseFileViewType *)showcaseFileView; + +/// +/// Initializes union class with tag state of "showcase_permanently_deleted". +/// +/// Description of the "showcase_permanently_deleted" tag state: (showcase) +/// Permanently deleted showcase +/// +/// @param showcasePermanentlyDeleted (showcase) Permanently deleted showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePermanentlyDeleted: + (DBTEAMLOGShowcasePermanentlyDeletedType *)showcasePermanentlyDeleted; + +/// +/// Initializes union class with tag state of "showcase_post_comment". +/// +/// Description of the "showcase_post_comment" tag state: (showcase) Added +/// showcase comment +/// +/// @param showcasePostComment (showcase) Added showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePostComment:(DBTEAMLOGShowcasePostCommentType *)showcasePostComment; + +/// +/// Initializes union class with tag state of "showcase_remove_member". +/// +/// Description of the "showcase_remove_member" tag state: (showcase) Removed +/// member from showcase +/// +/// @param showcaseRemoveMember (showcase) Removed member from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRemoveMember:(DBTEAMLOGShowcaseRemoveMemberType *)showcaseRemoveMember; + +/// +/// Initializes union class with tag state of "showcase_renamed". +/// +/// Description of the "showcase_renamed" tag state: (showcase) Renamed showcase +/// +/// @param showcaseRenamed (showcase) Renamed showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRenamed:(DBTEAMLOGShowcaseRenamedType *)showcaseRenamed; + +/// +/// Initializes union class with tag state of "showcase_request_access". +/// +/// Description of the "showcase_request_access" tag state: (showcase) Requested +/// access to showcase +/// +/// @param showcaseRequestAccess (showcase) Requested access to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRequestAccess:(DBTEAMLOGShowcaseRequestAccessType *)showcaseRequestAccess; + +/// +/// Initializes union class with tag state of "showcase_resolve_comment". +/// +/// Description of the "showcase_resolve_comment" tag state: (showcase) Resolved +/// showcase comment +/// +/// @param showcaseResolveComment (showcase) Resolved showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseResolveComment:(DBTEAMLOGShowcaseResolveCommentType *)showcaseResolveComment; + +/// +/// Initializes union class with tag state of "showcase_restored". +/// +/// Description of the "showcase_restored" tag state: (showcase) Unarchived +/// showcase +/// +/// @param showcaseRestored (showcase) Unarchived showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRestored:(DBTEAMLOGShowcaseRestoredType *)showcaseRestored; + +/// +/// Initializes union class with tag state of "showcase_trashed". +/// +/// Description of the "showcase_trashed" tag state: (showcase) Deleted showcase +/// +/// @param showcaseTrashed (showcase) Deleted showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashed:(DBTEAMLOGShowcaseTrashedType *)showcaseTrashed; + +/// +/// Initializes union class with tag state of "showcase_trashed_deprecated". +/// +/// Description of the "showcase_trashed_deprecated" tag state: (showcase) +/// Deleted showcase (old version) (deprecated, replaced by 'Deleted showcase') +/// +/// @param showcaseTrashedDeprecated (showcase) Deleted showcase (old version) +/// (deprecated, replaced by 'Deleted showcase') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashedDeprecated:(DBTEAMLOGShowcaseTrashedDeprecatedType *)showcaseTrashedDeprecated; + +/// +/// Initializes union class with tag state of "showcase_unresolve_comment". +/// +/// Description of the "showcase_unresolve_comment" tag state: (showcase) +/// Unresolved showcase comment +/// +/// @param showcaseUnresolveComment (showcase) Unresolved showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUnresolveComment:(DBTEAMLOGShowcaseUnresolveCommentType *)showcaseUnresolveComment; + +/// +/// Initializes union class with tag state of "showcase_untrashed". +/// +/// Description of the "showcase_untrashed" tag state: (showcase) Restored +/// showcase +/// +/// @param showcaseUntrashed (showcase) Restored showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashed:(DBTEAMLOGShowcaseUntrashedType *)showcaseUntrashed; + +/// +/// Initializes union class with tag state of "showcase_untrashed_deprecated". +/// +/// Description of the "showcase_untrashed_deprecated" tag state: (showcase) +/// Restored showcase (old version) (deprecated, replaced by 'Restored +/// showcase') +/// +/// @param showcaseUntrashedDeprecated (showcase) Restored showcase (old +/// version) (deprecated, replaced by 'Restored showcase') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashedDeprecated: + (DBTEAMLOGShowcaseUntrashedDeprecatedType *)showcaseUntrashedDeprecated; + +/// +/// Initializes union class with tag state of "showcase_view". +/// +/// Description of the "showcase_view" tag state: (showcase) Viewed showcase +/// +/// @param showcaseView (showcase) Viewed showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseView:(DBTEAMLOGShowcaseViewType *)showcaseView; + +/// +/// Initializes union class with tag state of "sso_add_cert". +/// +/// Description of the "sso_add_cert" tag state: (sso) Added X.509 certificate +/// for SSO +/// +/// @param ssoAddCert (sso) Added X.509 certificate for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddCert:(DBTEAMLOGSsoAddCertType *)ssoAddCert; + +/// +/// Initializes union class with tag state of "sso_add_login_url". +/// +/// Description of the "sso_add_login_url" tag state: (sso) Added sign-in URL +/// for SSO +/// +/// @param ssoAddLoginUrl (sso) Added sign-in URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLoginUrl:(DBTEAMLOGSsoAddLoginUrlType *)ssoAddLoginUrl; + +/// +/// Initializes union class with tag state of "sso_add_logout_url". +/// +/// Description of the "sso_add_logout_url" tag state: (sso) Added sign-out URL +/// for SSO +/// +/// @param ssoAddLogoutUrl (sso) Added sign-out URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLogoutUrl:(DBTEAMLOGSsoAddLogoutUrlType *)ssoAddLogoutUrl; + +/// +/// Initializes union class with tag state of "sso_change_cert". +/// +/// Description of the "sso_change_cert" tag state: (sso) Changed X.509 +/// certificate for SSO +/// +/// @param ssoChangeCert (sso) Changed X.509 certificate for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeCert:(DBTEAMLOGSsoChangeCertType *)ssoChangeCert; + +/// +/// Initializes union class with tag state of "sso_change_login_url". +/// +/// Description of the "sso_change_login_url" tag state: (sso) Changed sign-in +/// URL for SSO +/// +/// @param ssoChangeLoginUrl (sso) Changed sign-in URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLoginUrl:(DBTEAMLOGSsoChangeLoginUrlType *)ssoChangeLoginUrl; + +/// +/// Initializes union class with tag state of "sso_change_logout_url". +/// +/// Description of the "sso_change_logout_url" tag state: (sso) Changed sign-out +/// URL for SSO +/// +/// @param ssoChangeLogoutUrl (sso) Changed sign-out URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLogoutUrl:(DBTEAMLOGSsoChangeLogoutUrlType *)ssoChangeLogoutUrl; + +/// +/// Initializes union class with tag state of "sso_change_saml_identity_mode". +/// +/// Description of the "sso_change_saml_identity_mode" tag state: (sso) Changed +/// SAML identity mode for SSO +/// +/// @param ssoChangeSamlIdentityMode (sso) Changed SAML identity mode for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeSamlIdentityMode:(DBTEAMLOGSsoChangeSamlIdentityModeType *)ssoChangeSamlIdentityMode; + +/// +/// Initializes union class with tag state of "sso_remove_cert". +/// +/// Description of the "sso_remove_cert" tag state: (sso) Removed X.509 +/// certificate for SSO +/// +/// @param ssoRemoveCert (sso) Removed X.509 certificate for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveCert:(DBTEAMLOGSsoRemoveCertType *)ssoRemoveCert; + +/// +/// Initializes union class with tag state of "sso_remove_login_url". +/// +/// Description of the "sso_remove_login_url" tag state: (sso) Removed sign-in +/// URL for SSO +/// +/// @param ssoRemoveLoginUrl (sso) Removed sign-in URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLoginUrl:(DBTEAMLOGSsoRemoveLoginUrlType *)ssoRemoveLoginUrl; + +/// +/// Initializes union class with tag state of "sso_remove_logout_url". +/// +/// Description of the "sso_remove_logout_url" tag state: (sso) Removed sign-out +/// URL for SSO +/// +/// @param ssoRemoveLogoutUrl (sso) Removed sign-out URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLogoutUrl:(DBTEAMLOGSsoRemoveLogoutUrlType *)ssoRemoveLogoutUrl; + +/// +/// Initializes union class with tag state of "team_folder_change_status". +/// +/// Description of the "team_folder_change_status" tag state: (team_folders) +/// Changed archival status of team folder +/// +/// @param teamFolderChangeStatus (team_folders) Changed archival status of team +/// folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderChangeStatus:(DBTEAMLOGTeamFolderChangeStatusType *)teamFolderChangeStatus; + +/// +/// Initializes union class with tag state of "team_folder_create". +/// +/// Description of the "team_folder_create" tag state: (team_folders) Created +/// team folder in active status +/// +/// @param teamFolderCreate (team_folders) Created team folder in active status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderCreate:(DBTEAMLOGTeamFolderCreateType *)teamFolderCreate; + +/// +/// Initializes union class with tag state of "team_folder_downgrade". +/// +/// Description of the "team_folder_downgrade" tag state: (team_folders) +/// Downgraded team folder to regular shared folder +/// +/// @param teamFolderDowngrade (team_folders) Downgraded team folder to regular +/// shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderDowngrade:(DBTEAMLOGTeamFolderDowngradeType *)teamFolderDowngrade; + +/// +/// Initializes union class with tag state of "team_folder_permanently_delete". +/// +/// Description of the "team_folder_permanently_delete" tag state: +/// (team_folders) Permanently deleted archived team folder +/// +/// @param teamFolderPermanentlyDelete (team_folders) Permanently deleted +/// archived team folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderPermanentlyDelete: + (DBTEAMLOGTeamFolderPermanentlyDeleteType *)teamFolderPermanentlyDelete; + +/// +/// Initializes union class with tag state of "team_folder_rename". +/// +/// Description of the "team_folder_rename" tag state: (team_folders) Renamed +/// active/archived team folder +/// +/// @param teamFolderRename (team_folders) Renamed active/archived team folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderRename:(DBTEAMLOGTeamFolderRenameType *)teamFolderRename; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_settings_changed". +/// +/// Description of the "team_selective_sync_settings_changed" tag state: +/// (team_folders) Changed sync default +/// +/// @param teamSelectiveSyncSettingsChanged (team_folders) Changed sync default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncSettingsChanged: + (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)teamSelectiveSyncSettingsChanged; + +/// +/// Initializes union class with tag state of "account_capture_change_policy". +/// +/// Description of the "account_capture_change_policy" tag state: +/// (team_policies) Changed account capture setting on team domain +/// +/// @param accountCaptureChangePolicy (team_policies) Changed account capture +/// setting on team domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangePolicy: + (DBTEAMLOGAccountCaptureChangePolicyType *)accountCaptureChangePolicy; + +/// +/// Initializes union class with tag state of "admin_email_reminders_changed". +/// +/// Description of the "admin_email_reminders_changed" tag state: +/// (team_policies) Changed admin reminder settings for requests to join the +/// team +/// +/// @param adminEmailRemindersChanged (team_policies) Changed admin reminder +/// settings for requests to join the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminEmailRemindersChanged: + (DBTEAMLOGAdminEmailRemindersChangedType *)adminEmailRemindersChanged; + +/// +/// Initializes union class with tag state of "allow_download_disabled". +/// +/// Description of the "allow_download_disabled" tag state: (team_policies) +/// Disabled downloads (deprecated, no longer logged) +/// +/// @param allowDownloadDisabled (team_policies) Disabled downloads (deprecated, +/// no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadDisabled:(DBTEAMLOGAllowDownloadDisabledType *)allowDownloadDisabled; + +/// +/// Initializes union class with tag state of "allow_download_enabled". +/// +/// Description of the "allow_download_enabled" tag state: (team_policies) +/// Enabled downloads (deprecated, no longer logged) +/// +/// @param allowDownloadEnabled (team_policies) Enabled downloads (deprecated, +/// no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadEnabled:(DBTEAMLOGAllowDownloadEnabledType *)allowDownloadEnabled; + +/// +/// Initializes union class with tag state of "app_permissions_changed". +/// +/// Description of the "app_permissions_changed" tag state: (team_policies) +/// Changed app permissions +/// +/// @param appPermissionsChanged (team_policies) Changed app permissions +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppPermissionsChanged:(DBTEAMLOGAppPermissionsChangedType *)appPermissionsChanged; + +/// +/// Initializes union class with tag state of "camera_uploads_policy_changed". +/// +/// Description of the "camera_uploads_policy_changed" tag state: +/// (team_policies) Changed camera uploads setting for team +/// +/// @param cameraUploadsPolicyChanged (team_policies) Changed camera uploads +/// setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCameraUploadsPolicyChanged: + (DBTEAMLOGCameraUploadsPolicyChangedType *)cameraUploadsPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "capture_transcript_policy_changed". +/// +/// Description of the "capture_transcript_policy_changed" tag state: +/// (team_policies) Changed Capture transcription policy for team +/// +/// @param captureTranscriptPolicyChanged (team_policies) Changed Capture +/// transcription policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCaptureTranscriptPolicyChanged: + (DBTEAMLOGCaptureTranscriptPolicyChangedType *)captureTranscriptPolicyChanged; + +/// +/// Initializes union class with tag state of "classification_change_policy". +/// +/// Description of the "classification_change_policy" tag state: (team_policies) +/// Changed classification policy for team +/// +/// @param classificationChangePolicy (team_policies) Changed classification +/// policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationChangePolicy: + (DBTEAMLOGClassificationChangePolicyType *)classificationChangePolicy; + +/// +/// Initializes union class with tag state of "computer_backup_policy_changed". +/// +/// Description of the "computer_backup_policy_changed" tag state: +/// (team_policies) Changed computer backup policy for team +/// +/// @param computerBackupPolicyChanged (team_policies) Changed computer backup +/// policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComputerBackupPolicyChanged: + (DBTEAMLOGComputerBackupPolicyChangedType *)computerBackupPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "content_administration_policy_changed". +/// +/// Description of the "content_administration_policy_changed" tag state: +/// (team_policies) Changed content management setting +/// +/// @param contentAdministrationPolicyChanged (team_policies) Changed content +/// management setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentAdministrationPolicyChanged: + (DBTEAMLOGContentAdministrationPolicyChangedType *)contentAdministrationPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_change_policy". +/// +/// Description of the "data_placement_restriction_change_policy" tag state: +/// (team_policies) Set restrictions on data center locations where team data +/// resides +/// +/// @param dataPlacementRestrictionChangePolicy (team_policies) Set restrictions +/// on data center locations where team data resides +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionChangePolicy: + (DBTEAMLOGDataPlacementRestrictionChangePolicyType *)dataPlacementRestrictionChangePolicy; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_satisfy_policy". +/// +/// Description of the "data_placement_restriction_satisfy_policy" tag state: +/// (team_policies) Completed restrictions on data center locations where team +/// data resides +/// +/// @param dataPlacementRestrictionSatisfyPolicy (team_policies) Completed +/// restrictions on data center locations where team data resides +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy: + (DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType *)dataPlacementRestrictionSatisfyPolicy; + +/// +/// Initializes union class with tag state of "device_approvals_add_exception". +/// +/// Description of the "device_approvals_add_exception" tag state: +/// (team_policies) Added members to device approvals exception list +/// +/// @param deviceApprovalsAddException (team_policies) Added members to device +/// approvals exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsAddException: + (DBTEAMLOGDeviceApprovalsAddExceptionType *)deviceApprovalsAddException; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_desktop_policy". +/// +/// Description of the "device_approvals_change_desktop_policy" tag state: +/// (team_policies) Set/removed limit on number of computers member can link to +/// team Dropbox account +/// +/// @param deviceApprovalsChangeDesktopPolicy (team_policies) Set/removed limit +/// on number of computers member can link to team Dropbox account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy: + (DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType *)deviceApprovalsChangeDesktopPolicy; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_mobile_policy". +/// +/// Description of the "device_approvals_change_mobile_policy" tag state: +/// (team_policies) Set/removed limit on number of mobile devices member can +/// link to team Dropbox account +/// +/// @param deviceApprovalsChangeMobilePolicy (team_policies) Set/removed limit +/// on number of mobile devices member can link to team Dropbox account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeMobilePolicy: + (DBTEAMLOGDeviceApprovalsChangeMobilePolicyType *)deviceApprovalsChangeMobilePolicy; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_overage_action". +/// +/// Description of the "device_approvals_change_overage_action" tag state: +/// (team_policies) Changed device approvals setting when member is over limit +/// +/// @param deviceApprovalsChangeOverageAction (team_policies) Changed device +/// approvals setting when member is over limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeOverageAction: + (DBTEAMLOGDeviceApprovalsChangeOverageActionType *)deviceApprovalsChangeOverageAction; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_unlink_action". +/// +/// Description of the "device_approvals_change_unlink_action" tag state: +/// (team_policies) Changed device approvals setting when member unlinks +/// approved device +/// +/// @param deviceApprovalsChangeUnlinkAction (team_policies) Changed device +/// approvals setting when member unlinks approved device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeUnlinkAction: + (DBTEAMLOGDeviceApprovalsChangeUnlinkActionType *)deviceApprovalsChangeUnlinkAction; + +/// +/// Initializes union class with tag state of +/// "device_approvals_remove_exception". +/// +/// Description of the "device_approvals_remove_exception" tag state: +/// (team_policies) Removed members from device approvals exception list +/// +/// @param deviceApprovalsRemoveException (team_policies) Removed members from +/// device approvals exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsRemoveException: + (DBTEAMLOGDeviceApprovalsRemoveExceptionType *)deviceApprovalsRemoveException; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_add_members". +/// +/// Description of the "directory_restrictions_add_members" tag state: +/// (team_policies) Added members to directory restrictions list +/// +/// @param directoryRestrictionsAddMembers (team_policies) Added members to +/// directory restrictions list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsAddMembers: + (DBTEAMLOGDirectoryRestrictionsAddMembersType *)directoryRestrictionsAddMembers; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_remove_members". +/// +/// Description of the "directory_restrictions_remove_members" tag state: +/// (team_policies) Removed members from directory restrictions list +/// +/// @param directoryRestrictionsRemoveMembers (team_policies) Removed members +/// from directory restrictions list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsRemoveMembers: + (DBTEAMLOGDirectoryRestrictionsRemoveMembersType *)directoryRestrictionsRemoveMembers; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_policy_changed". +/// +/// Description of the "dropbox_passwords_policy_changed" tag state: +/// (team_policies) Changed Dropbox Passwords policy for team +/// +/// @param dropboxPasswordsPolicyChanged (team_policies) Changed Dropbox +/// Passwords policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsPolicyChanged: + (DBTEAMLOGDropboxPasswordsPolicyChangedType *)dropboxPasswordsPolicyChanged; + +/// +/// Initializes union class with tag state of "email_ingest_policy_changed". +/// +/// Description of the "email_ingest_policy_changed" tag state: (team_policies) +/// Changed email to Dropbox policy for team +/// +/// @param emailIngestPolicyChanged (team_policies) Changed email to Dropbox +/// policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestPolicyChanged:(DBTEAMLOGEmailIngestPolicyChangedType *)emailIngestPolicyChanged; + +/// +/// Initializes union class with tag state of "emm_add_exception". +/// +/// Description of the "emm_add_exception" tag state: (team_policies) Added +/// members to EMM exception list +/// +/// @param emmAddException (team_policies) Added members to EMM exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmAddException:(DBTEAMLOGEmmAddExceptionType *)emmAddException; + +/// +/// Initializes union class with tag state of "emm_change_policy". +/// +/// Description of the "emm_change_policy" tag state: (team_policies) +/// Enabled/disabled enterprise mobility management for members +/// +/// @param emmChangePolicy (team_policies) Enabled/disabled enterprise mobility +/// management for members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmChangePolicy:(DBTEAMLOGEmmChangePolicyType *)emmChangePolicy; + +/// +/// Initializes union class with tag state of "emm_remove_exception". +/// +/// Description of the "emm_remove_exception" tag state: (team_policies) Removed +/// members from EMM exception list +/// +/// @param emmRemoveException (team_policies) Removed members from EMM exception +/// list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRemoveException:(DBTEAMLOGEmmRemoveExceptionType *)emmRemoveException; + +/// +/// Initializes union class with tag state of +/// "extended_version_history_change_policy". +/// +/// Description of the "extended_version_history_change_policy" tag state: +/// (team_policies) Accepted/opted out of extended version history +/// +/// @param extendedVersionHistoryChangePolicy (team_policies) Accepted/opted out +/// of extended version history +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExtendedVersionHistoryChangePolicy: + (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)extendedVersionHistoryChangePolicy; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_policy_changed". +/// +/// Description of the "external_drive_backup_policy_changed" tag state: +/// (team_policies) Changed external drive backup policy for team +/// +/// @param externalDriveBackupPolicyChanged (team_policies) Changed external +/// drive backup policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupPolicyChanged: + (DBTEAMLOGExternalDriveBackupPolicyChangedType *)externalDriveBackupPolicyChanged; + +/// +/// Initializes union class with tag state of "file_comments_change_policy". +/// +/// Description of the "file_comments_change_policy" tag state: (team_policies) +/// Enabled/disabled commenting on team files +/// +/// @param fileCommentsChangePolicy (team_policies) Enabled/disabled commenting +/// on team files +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCommentsChangePolicy:(DBTEAMLOGFileCommentsChangePolicyType *)fileCommentsChangePolicy; + +/// +/// Initializes union class with tag state of "file_locking_policy_changed". +/// +/// Description of the "file_locking_policy_changed" tag state: (team_policies) +/// Changed file locking policy for team +/// +/// @param fileLockingPolicyChanged (team_policies) Changed file locking policy +/// for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingPolicyChanged:(DBTEAMLOGFileLockingPolicyChangedType *)fileLockingPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "file_provider_migration_policy_changed". +/// +/// Description of the "file_provider_migration_policy_changed" tag state: +/// (team_policies) Changed File Provider Migration policy for team +/// +/// @param fileProviderMigrationPolicyChanged (team_policies) Changed File +/// Provider Migration policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileProviderMigrationPolicyChanged: + (DBTEAMLOGFileProviderMigrationPolicyChangedType *)fileProviderMigrationPolicyChanged; + +/// +/// Initializes union class with tag state of "file_requests_change_policy". +/// +/// Description of the "file_requests_change_policy" tag state: (team_policies) +/// Enabled/disabled file requests +/// +/// @param fileRequestsChangePolicy (team_policies) Enabled/disabled file +/// requests +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsChangePolicy:(DBTEAMLOGFileRequestsChangePolicyType *)fileRequestsChangePolicy; + +/// +/// Initializes union class with tag state of "file_requests_emails_enabled". +/// +/// Description of the "file_requests_emails_enabled" tag state: (team_policies) +/// Enabled file request emails for everyone (deprecated, no longer logged) +/// +/// @param fileRequestsEmailsEnabled (team_policies) Enabled file request emails +/// for everyone (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsEnabled:(DBTEAMLOGFileRequestsEmailsEnabledType *)fileRequestsEmailsEnabled; + +/// +/// Initializes union class with tag state of +/// "file_requests_emails_restricted_to_team_only". +/// +/// Description of the "file_requests_emails_restricted_to_team_only" tag state: +/// (team_policies) Enabled file request emails for team (deprecated, no longer +/// logged) +/// +/// @param fileRequestsEmailsRestrictedToTeamOnly (team_policies) Enabled file +/// request emails for team (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly: + (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)fileRequestsEmailsRestrictedToTeamOnly; + +/// +/// Initializes union class with tag state of "file_transfers_policy_changed". +/// +/// Description of the "file_transfers_policy_changed" tag state: +/// (team_policies) Changed file transfers policy for team +/// +/// @param fileTransfersPolicyChanged (team_policies) Changed file transfers +/// policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersPolicyChanged: + (DBTEAMLOGFileTransfersPolicyChangedType *)fileTransfersPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "folder_link_restriction_policy_changed". +/// +/// Description of the "folder_link_restriction_policy_changed" tag state: +/// (team_policies) Changed folder link restrictions policy for team +/// +/// @param folderLinkRestrictionPolicyChanged (team_policies) Changed folder +/// link restrictions policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderLinkRestrictionPolicyChanged: + (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)folderLinkRestrictionPolicyChanged; + +/// +/// Initializes union class with tag state of "google_sso_change_policy". +/// +/// Description of the "google_sso_change_policy" tag state: (team_policies) +/// Enabled/disabled Google single sign-on for team +/// +/// @param googleSsoChangePolicy (team_policies) Enabled/disabled Google single +/// sign-on for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGoogleSsoChangePolicy:(DBTEAMLOGGoogleSsoChangePolicyType *)googleSsoChangePolicy; + +/// +/// Initializes union class with tag state of +/// "group_user_management_change_policy". +/// +/// Description of the "group_user_management_change_policy" tag state: +/// (team_policies) Changed who can create groups +/// +/// @param groupUserManagementChangePolicy (team_policies) Changed who can +/// create groups +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupUserManagementChangePolicy: + (DBTEAMLOGGroupUserManagementChangePolicyType *)groupUserManagementChangePolicy; + +/// +/// Initializes union class with tag state of "integration_policy_changed". +/// +/// Description of the "integration_policy_changed" tag state: (team_policies) +/// Changed integration policy for team +/// +/// @param integrationPolicyChanged (team_policies) Changed integration policy +/// for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationPolicyChanged:(DBTEAMLOGIntegrationPolicyChangedType *)integrationPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "invite_acceptance_email_policy_changed". +/// +/// Description of the "invite_acceptance_email_policy_changed" tag state: +/// (team_policies) Changed invite accept email policy for team +/// +/// @param inviteAcceptanceEmailPolicyChanged (team_policies) Changed invite +/// accept email policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteAcceptanceEmailPolicyChanged: + (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)inviteAcceptanceEmailPolicyChanged; + +/// +/// Initializes union class with tag state of "member_requests_change_policy". +/// +/// Description of the "member_requests_change_policy" tag state: +/// (team_policies) Changed whether users can find team when not invited +/// +/// @param memberRequestsChangePolicy (team_policies) Changed whether users can +/// find team when not invited +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRequestsChangePolicy: + (DBTEAMLOGMemberRequestsChangePolicyType *)memberRequestsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "member_send_invite_policy_changed". +/// +/// Description of the "member_send_invite_policy_changed" tag state: +/// (team_policies) Changed member send invite policy for team +/// +/// @param memberSendInvitePolicyChanged (team_policies) Changed member send +/// invite policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSendInvitePolicyChanged: + (DBTEAMLOGMemberSendInvitePolicyChangedType *)memberSendInvitePolicyChanged; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_exception". +/// +/// Description of the "member_space_limits_add_exception" tag state: +/// (team_policies) Added members to member space limit exception list +/// +/// @param memberSpaceLimitsAddException (team_policies) Added members to member +/// space limit exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddException: + (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)memberSpaceLimitsAddException; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_caps_type_policy". +/// +/// Description of the "member_space_limits_change_caps_type_policy" tag state: +/// (team_policies) Changed member space limit type for team +/// +/// @param memberSpaceLimitsChangeCapsTypePolicy (team_policies) Changed member +/// space limit type for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicy: + (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)memberSpaceLimitsChangeCapsTypePolicy; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_policy". +/// +/// Description of the "member_space_limits_change_policy" tag state: +/// (team_policies) Changed team default member space limit +/// +/// @param memberSpaceLimitsChangePolicy (team_policies) Changed team default +/// member space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangePolicy: + (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)memberSpaceLimitsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_exception". +/// +/// Description of the "member_space_limits_remove_exception" tag state: +/// (team_policies) Removed members from member space limit exception list +/// +/// @param memberSpaceLimitsRemoveException (team_policies) Removed members from +/// member space limit exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveException: + (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)memberSpaceLimitsRemoveException; + +/// +/// Initializes union class with tag state of +/// "member_suggestions_change_policy". +/// +/// Description of the "member_suggestions_change_policy" tag state: +/// (team_policies) Enabled/disabled option for team members to suggest people +/// to add to team +/// +/// @param memberSuggestionsChangePolicy (team_policies) Enabled/disabled option +/// for team members to suggest people to add to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggestionsChangePolicy: + (DBTEAMLOGMemberSuggestionsChangePolicyType *)memberSuggestionsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "microsoft_office_addin_change_policy". +/// +/// Description of the "microsoft_office_addin_change_policy" tag state: +/// (team_policies) Enabled/disabled Microsoft Office add-in +/// +/// @param microsoftOfficeAddinChangePolicy (team_policies) Enabled/disabled +/// Microsoft Office add-in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMicrosoftOfficeAddinChangePolicy: + (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)microsoftOfficeAddinChangePolicy; + +/// +/// Initializes union class with tag state of "network_control_change_policy". +/// +/// Description of the "network_control_change_policy" tag state: +/// (team_policies) Enabled/disabled network control +/// +/// @param networkControlChangePolicy (team_policies) Enabled/disabled network +/// control +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNetworkControlChangePolicy: + (DBTEAMLOGNetworkControlChangePolicyType *)networkControlChangePolicy; + +/// +/// Initializes union class with tag state of "paper_change_deployment_policy". +/// +/// Description of the "paper_change_deployment_policy" tag state: +/// (team_policies) Changed whether Dropbox Paper, when enabled, is deployed to +/// all members or to specific members +/// +/// @param paperChangeDeploymentPolicy (team_policies) Changed whether Dropbox +/// Paper, when enabled, is deployed to all members or to specific members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeDeploymentPolicy: + (DBTEAMLOGPaperChangeDeploymentPolicyType *)paperChangeDeploymentPolicy; + +/// +/// Initializes union class with tag state of "paper_change_member_link_policy". +/// +/// Description of the "paper_change_member_link_policy" tag state: +/// (team_policies) Changed whether non-members can view Paper docs with link +/// (deprecated, no longer logged) +/// +/// @param paperChangeMemberLinkPolicy (team_policies) Changed whether +/// non-members can view Paper docs with link (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberLinkPolicy: + (DBTEAMLOGPaperChangeMemberLinkPolicyType *)paperChangeMemberLinkPolicy; + +/// +/// Initializes union class with tag state of "paper_change_member_policy". +/// +/// Description of the "paper_change_member_policy" tag state: (team_policies) +/// Changed whether members can share Paper docs outside team, and if docs are +/// accessible only by team members or anyone by default +/// +/// @param paperChangeMemberPolicy (team_policies) Changed whether members can +/// share Paper docs outside team, and if docs are accessible only by team +/// members or anyone by default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberPolicy:(DBTEAMLOGPaperChangeMemberPolicyType *)paperChangeMemberPolicy; + +/// +/// Initializes union class with tag state of "paper_change_policy". +/// +/// Description of the "paper_change_policy" tag state: (team_policies) +/// Enabled/disabled Dropbox Paper for team +/// +/// @param paperChangePolicy (team_policies) Enabled/disabled Dropbox Paper for +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangePolicy:(DBTEAMLOGPaperChangePolicyType *)paperChangePolicy; + +/// +/// Initializes union class with tag state of +/// "paper_default_folder_policy_changed". +/// +/// Description of the "paper_default_folder_policy_changed" tag state: +/// (team_policies) Changed Paper Default Folder Policy setting for team +/// +/// @param paperDefaultFolderPolicyChanged (team_policies) Changed Paper Default +/// Folder Policy setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDefaultFolderPolicyChanged: + (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)paperDefaultFolderPolicyChanged; + +/// +/// Initializes union class with tag state of "paper_desktop_policy_changed". +/// +/// Description of the "paper_desktop_policy_changed" tag state: (team_policies) +/// Enabled/disabled Paper Desktop for team +/// +/// @param paperDesktopPolicyChanged (team_policies) Enabled/disabled Paper +/// Desktop for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDesktopPolicyChanged:(DBTEAMLOGPaperDesktopPolicyChangedType *)paperDesktopPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_addition". +/// +/// Description of the "paper_enabled_users_group_addition" tag state: +/// (team_policies) Added users to Paper-enabled users list +/// +/// @param paperEnabledUsersGroupAddition (team_policies) Added users to +/// Paper-enabled users list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupAddition: + (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)paperEnabledUsersGroupAddition; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_removal". +/// +/// Description of the "paper_enabled_users_group_removal" tag state: +/// (team_policies) Removed users from Paper-enabled users list +/// +/// @param paperEnabledUsersGroupRemoval (team_policies) Removed users from +/// Paper-enabled users list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupRemoval: + (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)paperEnabledUsersGroupRemoval; + +/// +/// Initializes union class with tag state of +/// "password_strength_requirements_change_policy". +/// +/// Description of the "password_strength_requirements_change_policy" tag state: +/// (team_policies) Changed team password strength requirements +/// +/// @param passwordStrengthRequirementsChangePolicy (team_policies) Changed team +/// password strength requirements +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordStrengthRequirementsChangePolicy: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)passwordStrengthRequirementsChangePolicy; + +/// +/// Initializes union class with tag state of "permanent_delete_change_policy". +/// +/// Description of the "permanent_delete_change_policy" tag state: +/// (team_policies) Enabled/disabled ability of team members to permanently +/// delete content +/// +/// @param permanentDeleteChangePolicy (team_policies) Enabled/disabled ability +/// of team members to permanently delete content +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPermanentDeleteChangePolicy: + (DBTEAMLOGPermanentDeleteChangePolicyType *)permanentDeleteChangePolicy; + +/// +/// Initializes union class with tag state of "reseller_support_change_policy". +/// +/// Description of the "reseller_support_change_policy" tag state: +/// (team_policies) Enabled/disabled reseller support +/// +/// @param resellerSupportChangePolicy (team_policies) Enabled/disabled reseller +/// support +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportChangePolicy: + (DBTEAMLOGResellerSupportChangePolicyType *)resellerSupportChangePolicy; + +/// +/// Initializes union class with tag state of "rewind_policy_changed". +/// +/// Description of the "rewind_policy_changed" tag state: (team_policies) +/// Changed Rewind policy for team +/// +/// @param rewindPolicyChanged (team_policies) Changed Rewind policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindPolicyChanged:(DBTEAMLOGRewindPolicyChangedType *)rewindPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "send_for_signature_policy_changed". +/// +/// Description of the "send_for_signature_policy_changed" tag state: +/// (team_policies) Changed send for signature policy for team +/// +/// @param sendForSignaturePolicyChanged (team_policies) Changed send for +/// signature policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSendForSignaturePolicyChanged: + (DBTEAMLOGSendForSignaturePolicyChangedType *)sendForSignaturePolicyChanged; + +/// +/// Initializes union class with tag state of +/// "sharing_change_folder_join_policy". +/// +/// Description of the "sharing_change_folder_join_policy" tag state: +/// (team_policies) Changed whether team members can join shared folders owned +/// outside team +/// +/// @param sharingChangeFolderJoinPolicy (team_policies) Changed whether team +/// members can join shared folders owned outside team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeFolderJoinPolicy: + (DBTEAMLOGSharingChangeFolderJoinPolicyType *)sharingChangeFolderJoinPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_allow_change_expiration_policy". +/// +/// Description of the "sharing_change_link_allow_change_expiration_policy" tag +/// state: (team_policies) Changed the allow remove or change expiration policy +/// for the links shared outside of the team +/// +/// @param sharingChangeLinkAllowChangeExpirationPolicy (team_policies) Changed +/// the allow remove or change expiration policy for the links shared outside of +/// the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicy: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)sharingChangeLinkAllowChangeExpirationPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_default_expiration_policy". +/// +/// Description of the "sharing_change_link_default_expiration_policy" tag +/// state: (team_policies) Changed the default expiration for the links shared +/// outside of the team +/// +/// @param sharingChangeLinkDefaultExpirationPolicy (team_policies) Changed the +/// default expiration for the links shared outside of the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicy: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)sharingChangeLinkDefaultExpirationPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_enforce_password_policy". +/// +/// Description of the "sharing_change_link_enforce_password_policy" tag state: +/// (team_policies) Changed the password requirement for the links shared +/// outside of the team +/// +/// @param sharingChangeLinkEnforcePasswordPolicy (team_policies) Changed the +/// password requirement for the links shared outside of the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicy: + (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)sharingChangeLinkEnforcePasswordPolicy; + +/// +/// Initializes union class with tag state of "sharing_change_link_policy". +/// +/// Description of the "sharing_change_link_policy" tag state: (team_policies) +/// Changed whether members can share links outside team, and if links are +/// accessible only by team members or anyone by default +/// +/// @param sharingChangeLinkPolicy (team_policies) Changed whether members can +/// share links outside team, and if links are accessible only by team members +/// or anyone by default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkPolicy:(DBTEAMLOGSharingChangeLinkPolicyType *)sharingChangeLinkPolicy; + +/// +/// Initializes union class with tag state of "sharing_change_member_policy". +/// +/// Description of the "sharing_change_member_policy" tag state: (team_policies) +/// Changed whether members can share files/folders outside team +/// +/// @param sharingChangeMemberPolicy (team_policies) Changed whether members can +/// share files/folders outside team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeMemberPolicy:(DBTEAMLOGSharingChangeMemberPolicyType *)sharingChangeMemberPolicy; + +/// +/// Initializes union class with tag state of "showcase_change_download_policy". +/// +/// Description of the "showcase_change_download_policy" tag state: +/// (team_policies) Enabled/disabled downloading files from Dropbox Showcase for +/// team +/// +/// @param showcaseChangeDownloadPolicy (team_policies) Enabled/disabled +/// downloading files from Dropbox Showcase for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeDownloadPolicy: + (DBTEAMLOGShowcaseChangeDownloadPolicyType *)showcaseChangeDownloadPolicy; + +/// +/// Initializes union class with tag state of "showcase_change_enabled_policy". +/// +/// Description of the "showcase_change_enabled_policy" tag state: +/// (team_policies) Enabled/disabled Dropbox Showcase for team +/// +/// @param showcaseChangeEnabledPolicy (team_policies) Enabled/disabled Dropbox +/// Showcase for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeEnabledPolicy: + (DBTEAMLOGShowcaseChangeEnabledPolicyType *)showcaseChangeEnabledPolicy; + +/// +/// Initializes union class with tag state of +/// "showcase_change_external_sharing_policy". +/// +/// Description of the "showcase_change_external_sharing_policy" tag state: +/// (team_policies) Enabled/disabled sharing Dropbox Showcase externally for +/// team +/// +/// @param showcaseChangeExternalSharingPolicy (team_policies) Enabled/disabled +/// sharing Dropbox Showcase externally for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeExternalSharingPolicy: + (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)showcaseChangeExternalSharingPolicy; + +/// +/// Initializes union class with tag state of +/// "smarter_smart_sync_policy_changed". +/// +/// Description of the "smarter_smart_sync_policy_changed" tag state: +/// (team_policies) Changed automatic Smart Sync setting for team +/// +/// @param smarterSmartSyncPolicyChanged (team_policies) Changed automatic Smart +/// Sync setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmarterSmartSyncPolicyChanged: + (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)smarterSmartSyncPolicyChanged; + +/// +/// Initializes union class with tag state of "smart_sync_change_policy". +/// +/// Description of the "smart_sync_change_policy" tag state: (team_policies) +/// Changed default Smart Sync setting for team members +/// +/// @param smartSyncChangePolicy (team_policies) Changed default Smart Sync +/// setting for team members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncChangePolicy:(DBTEAMLOGSmartSyncChangePolicyType *)smartSyncChangePolicy; + +/// +/// Initializes union class with tag state of "smart_sync_not_opt_out". +/// +/// Description of the "smart_sync_not_opt_out" tag state: (team_policies) Opted +/// team into Smart Sync +/// +/// @param smartSyncNotOptOut (team_policies) Opted team into Smart Sync +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncNotOptOut:(DBTEAMLOGSmartSyncNotOptOutType *)smartSyncNotOptOut; + +/// +/// Initializes union class with tag state of "smart_sync_opt_out". +/// +/// Description of the "smart_sync_opt_out" tag state: (team_policies) Opted +/// team out of Smart Sync +/// +/// @param smartSyncOptOut (team_policies) Opted team out of Smart Sync +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncOptOut:(DBTEAMLOGSmartSyncOptOutType *)smartSyncOptOut; + +/// +/// Initializes union class with tag state of "sso_change_policy". +/// +/// Description of the "sso_change_policy" tag state: (team_policies) Changed +/// single sign-on setting for team +/// +/// @param ssoChangePolicy (team_policies) Changed single sign-on setting for +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangePolicy:(DBTEAMLOGSsoChangePolicyType *)ssoChangePolicy; + +/// +/// Initializes union class with tag state of "team_branding_policy_changed". +/// +/// Description of the "team_branding_policy_changed" tag state: (team_policies) +/// Changed team branding policy for team +/// +/// @param teamBrandingPolicyChanged (team_policies) Changed team branding +/// policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamBrandingPolicyChanged:(DBTEAMLOGTeamBrandingPolicyChangedType *)teamBrandingPolicyChanged; + +/// +/// Initializes union class with tag state of "team_extensions_policy_changed". +/// +/// Description of the "team_extensions_policy_changed" tag state: +/// (team_policies) Changed App Integrations setting for team +/// +/// @param teamExtensionsPolicyChanged (team_policies) Changed App Integrations +/// setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamExtensionsPolicyChanged: + (DBTEAMLOGTeamExtensionsPolicyChangedType *)teamExtensionsPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_policy_changed". +/// +/// Description of the "team_selective_sync_policy_changed" tag state: +/// (team_policies) Enabled/disabled Team Selective Sync for team +/// +/// @param teamSelectiveSyncPolicyChanged (team_policies) Enabled/disabled Team +/// Selective Sync for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncPolicyChanged: + (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)teamSelectiveSyncPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "team_sharing_whitelist_subjects_changed". +/// +/// Description of the "team_sharing_whitelist_subjects_changed" tag state: +/// (team_policies) Edited the approved list for sharing externally +/// +/// @param teamSharingWhitelistSubjectsChanged (team_policies) Edited the +/// approved list for sharing externally +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSharingWhitelistSubjectsChanged: + (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)teamSharingWhitelistSubjectsChanged; + +/// +/// Initializes union class with tag state of "tfa_add_exception". +/// +/// Description of the "tfa_add_exception" tag state: (team_policies) Added +/// members to two factor authentication exception list +/// +/// @param tfaAddException (team_policies) Added members to two factor +/// authentication exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaAddException:(DBTEAMLOGTfaAddExceptionType *)tfaAddException; -#pragma mark - Constructors +/// +/// Initializes union class with tag state of "tfa_change_policy". +/// +/// Description of the "tfa_change_policy" tag state: (team_policies) Changed +/// two-step verification setting for team +/// +/// @param tfaChangePolicy (team_policies) Changed two-step verification setting +/// for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaChangePolicy:(DBTEAMLOGTfaChangePolicyType *)tfaChangePolicy; /// -/// Initializes union class with tag state of "member_change_membership_type". +/// Initializes union class with tag state of "tfa_remove_exception". /// -/// Description of the "member_change_membership_type" tag state: Changed the -/// membership type (limited vs full) for team member. This event is deprecated -/// and will not be logged going forward as the associated product functionality -/// no longer exists. +/// Description of the "tfa_remove_exception" tag state: (team_policies) Removed +/// members from two factor authentication exception list +/// +/// @param tfaRemoveException (team_policies) Removed members from two factor +/// authentication exception list /// /// @return An initialized instance. /// -- (instancetype)initWithMemberChangeMembershipType; +- (instancetype)initWithTfaRemoveException:(DBTEAMLOGTfaRemoveExceptionType *)tfaRemoveException; /// -/// Initializes union class with tag state of -/// "member_permanently_delete_account_contents". +/// Initializes union class with tag state of "two_account_change_policy". /// -/// Description of the "member_permanently_delete_account_contents" tag state: -/// Permanently deleted contents of a removed team member account. +/// Description of the "two_account_change_policy" tag state: (team_policies) +/// Enabled/disabled option for members to link personal Dropbox account and +/// team account to same computer +/// +/// @param twoAccountChangePolicy (team_policies) Enabled/disabled option for +/// members to link personal Dropbox account and team account to same computer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTwoAccountChangePolicy:(DBTEAMLOGTwoAccountChangePolicyType *)twoAccountChangePolicy; + +/// +/// Initializes union class with tag state of "viewer_info_policy_changed". +/// +/// Description of the "viewer_info_policy_changed" tag state: (team_policies) +/// Changed team policy for viewer info +/// +/// @param viewerInfoPolicyChanged (team_policies) Changed team policy for +/// viewer info +/// +/// @return An initialized instance. +/// +- (instancetype)initWithViewerInfoPolicyChanged:(DBTEAMLOGViewerInfoPolicyChangedType *)viewerInfoPolicyChanged; + +/// +/// Initializes union class with tag state of "watermarking_policy_changed". +/// +/// Description of the "watermarking_policy_changed" tag state: (team_policies) +/// Changed watermarking policy for team +/// +/// @param watermarkingPolicyChanged (team_policies) Changed watermarking policy +/// for team /// /// @return An initialized instance. /// -- (instancetype)initWithMemberPermanentlyDeleteAccountContents; +- (instancetype)initWithWatermarkingPolicyChanged:(DBTEAMLOGWatermarkingPolicyChangedType *)watermarkingPolicyChanged; /// /// Initializes union class with tag state of -/// "member_space_limits_change_status". +/// "web_sessions_change_active_session_limit". +/// +/// Description of the "web_sessions_change_active_session_limit" tag state: +/// (team_policies) Changed limit on active sessions per member /// -/// Description of the "member_space_limits_change_status" tag state: Changed -/// the status with respect to whether the team member is under or over storage -/// quota specified by policy. +/// @param webSessionsChangeActiveSessionLimit (team_policies) Changed limit on +/// active sessions per member /// /// @return An initialized instance. /// -- (instancetype)initWithMemberSpaceLimitsChangeStatus; +- (instancetype)initWithWebSessionsChangeActiveSessionLimit: + (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)webSessionsChangeActiveSessionLimit; /// /// Initializes union class with tag state of -/// "member_transfer_account_contents". +/// "web_sessions_change_fixed_length_policy". +/// +/// Description of the "web_sessions_change_fixed_length_policy" tag state: +/// (team_policies) Changed how long members can stay signed in to Dropbox.com /// -/// Description of the "member_transfer_account_contents" tag state: Transferred -/// contents of a removed team member account to another member. +/// @param webSessionsChangeFixedLengthPolicy (team_policies) Changed how long +/// members can stay signed in to Dropbox.com /// /// @return An initialized instance. /// -- (instancetype)initWithMemberTransferAccountContents; +- (instancetype)initWithWebSessionsChangeFixedLengthPolicy: + (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)webSessionsChangeFixedLengthPolicy; /// -/// Initializes union class with tag state of "paper_admin_export_start". +/// Initializes union class with tag state of +/// "web_sessions_change_idle_length_policy". +/// +/// Description of the "web_sessions_change_idle_length_policy" tag state: +/// (team_policies) Changed how long team members can be idle while signed in to +/// Dropbox.com /// -/// Description of the "paper_admin_export_start" tag state: Exported all Paper -/// documents in the team. +/// @param webSessionsChangeIdleLengthPolicy (team_policies) Changed how long +/// team members can be idle while signed in to Dropbox.com /// /// @return An initialized instance. /// -- (instancetype)initWithPaperAdminExportStart; +- (instancetype)initWithWebSessionsChangeIdleLengthPolicy: + (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)webSessionsChangeIdleLengthPolicy; /// /// Initializes union class with tag state of -/// "paper_enabled_users_group_addition". +/// "data_residency_migration_request_successful". /// -/// Description of the "paper_enabled_users_group_addition" tag state: Users -/// added to Paper enabled users list. +/// Description of the "data_residency_migration_request_successful" tag state: +/// (team_profile) Requested data residency migration for team data +/// +/// @param dataResidencyMigrationRequestSuccessful (team_profile) Requested data +/// residency migration for team data /// /// @return An initialized instance. /// -- (instancetype)initWithPaperEnabledUsersGroupAddition; +- (instancetype)initWithDataResidencyMigrationRequestSuccessful: + (DBTEAMLOGDataResidencyMigrationRequestSuccessfulType *)dataResidencyMigrationRequestSuccessful; /// /// Initializes union class with tag state of -/// "paper_enabled_users_group_removal". +/// "data_residency_migration_request_unsuccessful". /// -/// Description of the "paper_enabled_users_group_removal" tag state: Users -/// removed from Paper enabled users list. +/// Description of the "data_residency_migration_request_unsuccessful" tag +/// state: (team_profile) Request for data residency migration for team data has +/// failed +/// +/// @param dataResidencyMigrationRequestUnsuccessful (team_profile) Request for +/// data residency migration for team data has failed /// /// @return An initialized instance. /// -- (instancetype)initWithPaperEnabledUsersGroupRemoval; +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessful: + (DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType *)dataResidencyMigrationRequestUnsuccessful; /// -/// Initializes union class with tag state of "paper_external_view_allow". +/// Initializes union class with tag state of "team_merge_from". +/// +/// Description of the "team_merge_from" tag state: (team_profile) Merged +/// another team into this team +/// +/// @param teamMergeFrom (team_profile) Merged another team into this team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeFrom:(DBTEAMLOGTeamMergeFromType *)teamMergeFrom; + +/// +/// Initializes union class with tag state of "team_merge_to". +/// +/// Description of the "team_merge_to" tag state: (team_profile) Merged this +/// team into another team /// -/// Description of the "paper_external_view_allow" tag state: Paper external -/// sharing policy changed: anyone. This event is deprecated and will not be -/// logged going forward as the associated product functionality no longer -/// exists. +/// @param teamMergeTo (team_profile) Merged this team into another team /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewAllow; +- (instancetype)initWithTeamMergeTo:(DBTEAMLOGTeamMergeToType *)teamMergeTo; + +/// +/// Initializes union class with tag state of "team_profile_add_background". +/// +/// Description of the "team_profile_add_background" tag state: (team_profile) +/// Added team background to display on shared link headers +/// +/// @param teamProfileAddBackground (team_profile) Added team background to +/// display on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileAddBackground:(DBTEAMLOGTeamProfileAddBackgroundType *)teamProfileAddBackground; + +/// +/// Initializes union class with tag state of "team_profile_add_logo". +/// +/// Description of the "team_profile_add_logo" tag state: (team_profile) Added +/// team logo to display on shared link headers +/// +/// @param teamProfileAddLogo (team_profile) Added team logo to display on +/// shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileAddLogo:(DBTEAMLOGTeamProfileAddLogoType *)teamProfileAddLogo; + +/// +/// Initializes union class with tag state of "team_profile_change_background". +/// +/// Description of the "team_profile_change_background" tag state: +/// (team_profile) Changed team background displayed on shared link headers +/// +/// @param teamProfileChangeBackground (team_profile) Changed team background +/// displayed on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileChangeBackground: + (DBTEAMLOGTeamProfileChangeBackgroundType *)teamProfileChangeBackground; /// /// Initializes union class with tag state of -/// "paper_external_view_default_team". +/// "team_profile_change_default_language". /// -/// Description of the "paper_external_view_default_team" tag state: Paper -/// external sharing policy changed: default team. This event is deprecated and -/// will not be logged going forward as the associated product functionality no -/// longer exists. +/// Description of the "team_profile_change_default_language" tag state: +/// (team_profile) Changed default language for team +/// +/// @param teamProfileChangeDefaultLanguage (team_profile) Changed default +/// language for team /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewDefaultTeam; +- (instancetype)initWithTeamProfileChangeDefaultLanguage: + (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)teamProfileChangeDefaultLanguage; /// -/// Initializes union class with tag state of "paper_external_view_forbid". +/// Initializes union class with tag state of "team_profile_change_logo". +/// +/// Description of the "team_profile_change_logo" tag state: (team_profile) +/// Changed team logo displayed on shared link headers /// -/// Description of the "paper_external_view_forbid" tag state: Paper external -/// sharing policy changed: team-only. This event is deprecated and will not be -/// logged going forward as the associated product functionality no longer -/// exists. +/// @param teamProfileChangeLogo (team_profile) Changed team logo displayed on +/// shared link headers /// /// @return An initialized instance. /// -- (instancetype)initWithPaperExternalViewForbid; +- (instancetype)initWithTeamProfileChangeLogo:(DBTEAMLOGTeamProfileChangeLogoType *)teamProfileChangeLogo; /// -/// Initializes union class with tag state of "sf_external_invite_warn". +/// Initializes union class with tag state of "team_profile_change_name". /// -/// Description of the "sf_external_invite_warn" tag state: Admin settings: team -/// members see a warning before sharing folders outside the team (DEPRECATED -/// FEATURE). This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// Description of the "team_profile_change_name" tag state: (team_profile) +/// Changed team name +/// +/// @param teamProfileChangeName (team_profile) Changed team name /// /// @return An initialized instance. /// -- (instancetype)initWithSfExternalInviteWarn; +- (instancetype)initWithTeamProfileChangeName:(DBTEAMLOGTeamProfileChangeNameType *)teamProfileChangeName; /// -/// Initializes union class with tag state of "team_merge_from". +/// Initializes union class with tag state of "team_profile_remove_background". /// -/// Description of the "team_merge_from" tag state: Merged another team into -/// this team. +/// Description of the "team_profile_remove_background" tag state: +/// (team_profile) Removed team background displayed on shared link headers +/// +/// @param teamProfileRemoveBackground (team_profile) Removed team background +/// displayed on shared link headers /// /// @return An initialized instance. /// -- (instancetype)initWithTeamMergeFrom; +- (instancetype)initWithTeamProfileRemoveBackground: + (DBTEAMLOGTeamProfileRemoveBackgroundType *)teamProfileRemoveBackground; /// -/// Initializes union class with tag state of "team_merge_to". +/// Initializes union class with tag state of "team_profile_remove_logo". +/// +/// Description of the "team_profile_remove_logo" tag state: (team_profile) +/// Removed team logo displayed on shared link headers /// -/// Description of the "team_merge_to" tag state: Merged this team into another -/// team. +/// @param teamProfileRemoveLogo (team_profile) Removed team logo displayed on +/// shared link headers /// /// @return An initialized instance. /// -- (instancetype)initWithTeamMergeTo; +- (instancetype)initWithTeamProfileRemoveLogo:(DBTEAMLOGTeamProfileRemoveLogoType *)teamProfileRemoveLogo; /// -/// Initializes union class with tag state of "app_link_team". +/// Initializes union class with tag state of "tfa_add_backup_phone". /// -/// Description of the "app_link_team" tag state: Linked an app for team. +/// Description of the "tfa_add_backup_phone" tag state: (tfa) Added backup +/// phone for two-step verification +/// +/// @param tfaAddBackupPhone (tfa) Added backup phone for two-step verification /// /// @return An initialized instance. /// -- (instancetype)initWithAppLinkTeam; +- (instancetype)initWithTfaAddBackupPhone:(DBTEAMLOGTfaAddBackupPhoneType *)tfaAddBackupPhone; /// -/// Initializes union class with tag state of "app_link_user". +/// Initializes union class with tag state of "tfa_add_security_key". +/// +/// Description of the "tfa_add_security_key" tag state: (tfa) Added security +/// key for two-step verification /// -/// Description of the "app_link_user" tag state: Linked an app for team member. +/// @param tfaAddSecurityKey (tfa) Added security key for two-step verification /// /// @return An initialized instance. /// -- (instancetype)initWithAppLinkUser; +- (instancetype)initWithTfaAddSecurityKey:(DBTEAMLOGTfaAddSecurityKeyType *)tfaAddSecurityKey; /// -/// Initializes union class with tag state of "app_unlink_team". +/// Initializes union class with tag state of "tfa_change_backup_phone". /// -/// Description of the "app_unlink_team" tag state: Unlinked an app for team. +/// Description of the "tfa_change_backup_phone" tag state: (tfa) Changed backup +/// phone for two-step verification +/// +/// @param tfaChangeBackupPhone (tfa) Changed backup phone for two-step +/// verification /// /// @return An initialized instance. /// -- (instancetype)initWithAppUnlinkTeam; +- (instancetype)initWithTfaChangeBackupPhone:(DBTEAMLOGTfaChangeBackupPhoneType *)tfaChangeBackupPhone; /// -/// Initializes union class with tag state of "app_unlink_user". +/// Initializes union class with tag state of "tfa_change_status". +/// +/// Description of the "tfa_change_status" tag state: (tfa) +/// Enabled/disabled/changed two-step verification setting /// -/// Description of the "app_unlink_user" tag state: Unlinked an app for team -/// member. +/// @param tfaChangeStatus (tfa) Enabled/disabled/changed two-step verification +/// setting /// /// @return An initialized instance. /// -- (instancetype)initWithAppUnlinkUser; +- (instancetype)initWithTfaChangeStatus:(DBTEAMLOGTfaChangeStatusType *)tfaChangeStatus; /// -/// Initializes union class with tag state of "file_add_comment". +/// Initializes union class with tag state of "tfa_remove_backup_phone". +/// +/// Description of the "tfa_remove_backup_phone" tag state: (tfa) Removed backup +/// phone for two-step verification +/// +/// @param tfaRemoveBackupPhone (tfa) Removed backup phone for two-step +/// verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveBackupPhone:(DBTEAMLOGTfaRemoveBackupPhoneType *)tfaRemoveBackupPhone; + +/// +/// Initializes union class with tag state of "tfa_remove_security_key". +/// +/// Description of the "tfa_remove_security_key" tag state: (tfa) Removed +/// security key for two-step verification +/// +/// @param tfaRemoveSecurityKey (tfa) Removed security key for two-step +/// verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveSecurityKey:(DBTEAMLOGTfaRemoveSecurityKeyType *)tfaRemoveSecurityKey; + /// -/// Description of the "file_add_comment" tag state: Added a file comment. +/// Initializes union class with tag state of "tfa_reset". +/// +/// Description of the "tfa_reset" tag state: (tfa) Reset two-step verification +/// for team member +/// +/// @param tfaReset (tfa) Reset two-step verification for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaReset:(DBTEAMLOGTfaResetType *)tfaReset; + +/// +/// Initializes union class with tag state of "changed_enterprise_admin_role". +/// +/// Description of the "changed_enterprise_admin_role" tag state: +/// (trusted_teams) Changed enterprise admin role +/// +/// @param changedEnterpriseAdminRole (trusted_teams) Changed enterprise admin +/// role /// /// @return An initialized instance. /// -- (instancetype)initWithFileAddComment; +- (instancetype)initWithChangedEnterpriseAdminRole: + (DBTEAMLOGChangedEnterpriseAdminRoleType *)changedEnterpriseAdminRole; /// /// Initializes union class with tag state of -/// "file_change_comment_subscription". +/// "changed_enterprise_connected_team_status". +/// +/// Description of the "changed_enterprise_connected_team_status" tag state: +/// (trusted_teams) Changed enterprise-connected team status /// -/// Description of the "file_change_comment_subscription" tag state: Subscribed -/// to or unsubscribed from comment notifications for file. +/// @param changedEnterpriseConnectedTeamStatus (trusted_teams) Changed +/// enterprise-connected team status /// /// @return An initialized instance. /// -- (instancetype)initWithFileChangeCommentSubscription; +- (instancetype)initWithChangedEnterpriseConnectedTeamStatus: + (DBTEAMLOGChangedEnterpriseConnectedTeamStatusType *)changedEnterpriseConnectedTeamStatus; /// -/// Initializes union class with tag state of "file_delete_comment". +/// Initializes union class with tag state of "ended_enterprise_admin_session". +/// +/// Description of the "ended_enterprise_admin_session" tag state: +/// (trusted_teams) Ended enterprise admin session /// -/// Description of the "file_delete_comment" tag state: Deleted a file comment. +/// @param endedEnterpriseAdminSession (trusted_teams) Ended enterprise admin +/// session /// /// @return An initialized instance. /// -- (instancetype)initWithFileDeleteComment; +- (instancetype)initWithEndedEnterpriseAdminSession: + (DBTEAMLOGEndedEnterpriseAdminSessionType *)endedEnterpriseAdminSession; /// -/// Initializes union class with tag state of "file_like_comment". +/// Initializes union class with tag state of +/// "ended_enterprise_admin_session_deprecated". /// -/// Description of the "file_like_comment" tag state: Liked a file comment. This -/// event is deprecated and will not be logged going forward as the associated -/// product functionality no longer exists. +/// Description of the "ended_enterprise_admin_session_deprecated" tag state: +/// (trusted_teams) Ended enterprise admin session (deprecated, replaced by +/// 'Ended enterprise admin session') +/// +/// @param endedEnterpriseAdminSessionDeprecated (trusted_teams) Ended +/// enterprise admin session (deprecated, replaced by 'Ended enterprise admin +/// session') /// /// @return An initialized instance. /// -- (instancetype)initWithFileLikeComment; +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecated: + (DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType *)endedEnterpriseAdminSessionDeprecated; /// -/// Initializes union class with tag state of "file_resolve_comment". +/// Initializes union class with tag state of "enterprise_settings_locking". /// -/// Description of the "file_resolve_comment" tag state: Resolved a file -/// comment. +/// Description of the "enterprise_settings_locking" tag state: (trusted_teams) +/// Changed who can update a setting +/// +/// @param enterpriseSettingsLocking (trusted_teams) Changed who can update a +/// setting /// /// @return An initialized instance. /// -- (instancetype)initWithFileResolveComment; +- (instancetype)initWithEnterpriseSettingsLocking:(DBTEAMLOGEnterpriseSettingsLockingType *)enterpriseSettingsLocking; /// -/// Initializes union class with tag state of "file_unlike_comment". +/// Initializes union class with tag state of "guest_admin_change_status". /// -/// Description of the "file_unlike_comment" tag state: Unliked a file comment. -/// This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// Description of the "guest_admin_change_status" tag state: (trusted_teams) +/// Changed guest team admin status +/// +/// @param guestAdminChangeStatus (trusted_teams) Changed guest team admin +/// status /// /// @return An initialized instance. /// -- (instancetype)initWithFileUnlikeComment; +- (instancetype)initWithGuestAdminChangeStatus:(DBTEAMLOGGuestAdminChangeStatusType *)guestAdminChangeStatus; /// -/// Initializes union class with tag state of "file_unresolve_comment". +/// Initializes union class with tag state of +/// "started_enterprise_admin_session". +/// +/// Description of the "started_enterprise_admin_session" tag state: +/// (trusted_teams) Started enterprise admin session /// -/// Description of the "file_unresolve_comment" tag state: Unresolved a file -/// comment. +/// @param startedEnterpriseAdminSession (trusted_teams) Started enterprise +/// admin session /// /// @return An initialized instance. /// -- (instancetype)initWithFileUnresolveComment; +- (instancetype)initWithStartedEnterpriseAdminSession: + (DBTEAMLOGStartedEnterpriseAdminSessionType *)startedEnterpriseAdminSession; /// -/// Initializes union class with tag state of "device_change_ip_desktop". +/// Initializes union class with tag state of "team_merge_request_accepted". +/// +/// Description of the "team_merge_request_accepted" tag state: (trusted_teams) +/// Accepted a team merge request /// -/// Description of the "device_change_ip_desktop" tag state: IP address -/// associated with active desktop session changed. +/// @param teamMergeRequestAccepted (trusted_teams) Accepted a team merge +/// request /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpDesktop; +- (instancetype)initWithTeamMergeRequestAccepted:(DBTEAMLOGTeamMergeRequestAcceptedType *)teamMergeRequestAccepted; /// -/// Initializes union class with tag state of "device_change_ip_mobile". +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_primary_team". /// -/// Description of the "device_change_ip_mobile" tag state: IP address -/// associated with active mobile session changed. +/// Description of the "team_merge_request_accepted_shown_to_primary_team" tag +/// state: (trusted_teams) Accepted a team merge request (deprecated, replaced +/// by 'Accepted a team merge request') +/// +/// @param teamMergeRequestAcceptedShownToPrimaryTeam (trusted_teams) Accepted a +/// team merge request (deprecated, replaced by 'Accepted a team merge request') /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpMobile; +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)teamMergeRequestAcceptedShownToPrimaryTeam; /// -/// Initializes union class with tag state of "device_change_ip_web". +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_accepted_shown_to_secondary_team" tag +/// state: (trusted_teams) Accepted a team merge request (deprecated, replaced +/// by 'Accepted a team merge request') /// -/// Description of the "device_change_ip_web" tag state: IP address associated -/// with active Web session changed. +/// @param teamMergeRequestAcceptedShownToSecondaryTeam (trusted_teams) Accepted +/// a team merge request (deprecated, replaced by 'Accepted a team merge +/// request') /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceChangeIpWeb; +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)teamMergeRequestAcceptedShownToSecondaryTeam; /// -/// Initializes union class with tag state of "device_delete_on_unlink_fail". +/// Initializes union class with tag state of +/// "team_merge_request_auto_canceled". /// -/// Description of the "device_delete_on_unlink_fail" tag state: Failed to -/// delete all files from an unlinked device. +/// Description of the "team_merge_request_auto_canceled" tag state: +/// (trusted_teams) Automatically canceled team merge request +/// +/// @param teamMergeRequestAutoCanceled (trusted_teams) Automatically canceled +/// team merge request /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceDeleteOnUnlinkFail; +- (instancetype)initWithTeamMergeRequestAutoCanceled: + (DBTEAMLOGTeamMergeRequestAutoCanceledType *)teamMergeRequestAutoCanceled; /// -/// Initializes union class with tag state of "device_delete_on_unlink_success". +/// Initializes union class with tag state of "team_merge_request_canceled". /// -/// Description of the "device_delete_on_unlink_success" tag state: Deleted all -/// files from an unlinked device. +/// Description of the "team_merge_request_canceled" tag state: (trusted_teams) +/// Canceled a team merge request +/// +/// @param teamMergeRequestCanceled (trusted_teams) Canceled a team merge +/// request /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceDeleteOnUnlinkSuccess; +- (instancetype)initWithTeamMergeRequestCanceled:(DBTEAMLOGTeamMergeRequestCanceledType *)teamMergeRequestCanceled; /// -/// Initializes union class with tag state of "device_link_fail". +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_primary_team". +/// +/// Description of the "team_merge_request_canceled_shown_to_primary_team" tag +/// state: (trusted_teams) Canceled a team merge request (deprecated, replaced +/// by 'Canceled a team merge request') /// -/// Description of the "device_link_fail" tag state: Failed to link a device. +/// @param teamMergeRequestCanceledShownToPrimaryTeam (trusted_teams) Canceled a +/// team merge request (deprecated, replaced by 'Canceled a team merge request') /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceLinkFail; +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)teamMergeRequestCanceledShownToPrimaryTeam; /// -/// Initializes union class with tag state of "device_link_success". +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_secondary_team". /// -/// Description of the "device_link_success" tag state: Linked a device. +/// Description of the "team_merge_request_canceled_shown_to_secondary_team" tag +/// state: (trusted_teams) Canceled a team merge request (deprecated, replaced +/// by 'Canceled a team merge request') +/// +/// @param teamMergeRequestCanceledShownToSecondaryTeam (trusted_teams) Canceled +/// a team merge request (deprecated, replaced by 'Canceled a team merge +/// request') /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceLinkSuccess; +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)teamMergeRequestCanceledShownToSecondaryTeam; /// -/// Initializes union class with tag state of "device_management_disabled". +/// Initializes union class with tag state of "team_merge_request_expired". /// -/// Description of the "device_management_disabled" tag state: Disable Device -/// Management. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// Description of the "team_merge_request_expired" tag state: (trusted_teams) +/// Team merge request expired +/// +/// @param teamMergeRequestExpired (trusted_teams) Team merge request expired /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceManagementDisabled; +- (instancetype)initWithTeamMergeRequestExpired:(DBTEAMLOGTeamMergeRequestExpiredType *)teamMergeRequestExpired; /// -/// Initializes union class with tag state of "device_management_enabled". +/// Initializes union class with tag state of +/// "team_merge_request_expired_shown_to_primary_team". +/// +/// Description of the "team_merge_request_expired_shown_to_primary_team" tag +/// state: (trusted_teams) Team merge request expired (deprecated, replaced by +/// 'Team merge request expired') +/// +/// @param teamMergeRequestExpiredShownToPrimaryTeam (trusted_teams) Team merge +/// request expired (deprecated, replaced by 'Team merge request expired') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)teamMergeRequestExpiredShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_expired_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_expired_shown_to_secondary_team" tag +/// state: (trusted_teams) Team merge request expired (deprecated, replaced by +/// 'Team merge request expired') +/// +/// @param teamMergeRequestExpiredShownToSecondaryTeam (trusted_teams) Team +/// merge request expired (deprecated, replaced by 'Team merge request expired') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)teamMergeRequestExpiredShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_rejected_shown_to_primary_team". +/// +/// Description of the "team_merge_request_rejected_shown_to_primary_team" tag +/// state: (trusted_teams) Rejected a team merge request (deprecated, no longer +/// logged) /// -/// Description of the "device_management_enabled" tag state: Enable Device -/// Management. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @param teamMergeRequestRejectedShownToPrimaryTeam (trusted_teams) Rejected a +/// team merge request (deprecated, no longer logged) /// /// @return An initialized instance. /// -- (instancetype)initWithDeviceManagementEnabled; +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)teamMergeRequestRejectedShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_rejected_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_rejected_shown_to_secondary_team" tag +/// state: (trusted_teams) Rejected a team merge request (deprecated, no longer +/// logged) +/// +/// @param teamMergeRequestRejectedShownToSecondaryTeam (trusted_teams) Rejected +/// a team merge request (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)teamMergeRequestRejectedShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "team_merge_request_reminder". +/// +/// Description of the "team_merge_request_reminder" tag state: (trusted_teams) +/// Sent a team merge request reminder +/// +/// @param teamMergeRequestReminder (trusted_teams) Sent a team merge request +/// reminder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminder:(DBTEAMLOGTeamMergeRequestReminderType *)teamMergeRequestReminder; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_reminder_shown_to_primary_team". +/// +/// Description of the "team_merge_request_reminder_shown_to_primary_team" tag +/// state: (trusted_teams) Sent a team merge request reminder (deprecated, +/// replaced by 'Sent a team merge request reminder') +/// +/// @param teamMergeRequestReminderShownToPrimaryTeam (trusted_teams) Sent a +/// team merge request reminder (deprecated, replaced by 'Sent a team merge +/// request reminder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)teamMergeRequestReminderShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_reminder_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_reminder_shown_to_secondary_team" tag +/// state: (trusted_teams) Sent a team merge request reminder (deprecated, +/// replaced by 'Sent a team merge request reminder') +/// +/// @param teamMergeRequestReminderShownToSecondaryTeam (trusted_teams) Sent a +/// team merge request reminder (deprecated, replaced by 'Sent a team merge +/// request reminder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)teamMergeRequestReminderShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "team_merge_request_revoked". +/// +/// Description of the "team_merge_request_revoked" tag state: (trusted_teams) +/// Canceled the team merge +/// +/// @param teamMergeRequestRevoked (trusted_teams) Canceled the team merge +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestRevoked:(DBTEAMLOGTeamMergeRequestRevokedType *)teamMergeRequestRevoked; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_sent_shown_to_primary_team". +/// +/// Description of the "team_merge_request_sent_shown_to_primary_team" tag +/// state: (trusted_teams) Requested to merge their Dropbox team into yours +/// +/// @param teamMergeRequestSentShownToPrimaryTeam (trusted_teams) Requested to +/// merge their Dropbox team into yours +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeam: + (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)teamMergeRequestSentShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_sent_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_sent_shown_to_secondary_team" tag +/// state: (trusted_teams) Requested to merge your team into another Dropbox +/// team +/// +/// @param teamMergeRequestSentShownToSecondaryTeam (trusted_teams) Requested to +/// merge your team into another Dropbox team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeam: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)teamMergeRequestSentShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods /// -/// Initializes union class with tag state of "device_unlink". +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_alert_state_changed". /// -/// Description of the "device_unlink" tag state: Disconnected a device. +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingAlertStateChanged` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "admin_alerting_alert_state_changed". /// -- (instancetype)initWithDeviceUnlink; +- (BOOL)isAdminAlertingAlertStateChanged; /// -/// Initializes union class with tag state of "emm_refresh_auth_token". +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_changed_alert_config". /// -/// Description of the "emm_refresh_auth_token" tag state: Refreshed the auth -/// token used for setting up enterprise mobility management. +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingChangedAlertConfig` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "admin_alerting_changed_alert_config". /// -- (instancetype)initWithEmmRefreshAuthToken; +- (BOOL)isAdminAlertingChangedAlertConfig; /// -/// Initializes union class with tag state of -/// "account_capture_change_availability". +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_triggered_alert". /// -/// Description of the "account_capture_change_availability" tag state: Granted -/// or revoked the option to enable account capture on domains belonging to the -/// team. +/// @note Call this method and ensure it returns true before accessing the +/// `adminAlertingTriggeredAlert` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "admin_alerting_triggered_alert". /// -- (instancetype)initWithAccountCaptureChangeAvailability; +- (BOOL)isAdminAlertingTriggeredAlert; /// -/// Initializes union class with tag state of "account_capture_migrate_account". +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_completed". /// -/// Description of the "account_capture_migrate_account" tag state: Account -/// captured user migrated their account to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareRestoreProcessCompleted` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_completed". /// -- (instancetype)initWithAccountCaptureMigrateAccount; +- (BOOL)isRansomwareRestoreProcessCompleted; /// -/// Initializes union class with tag state of -/// "account_capture_relinquish_account". +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_started". /// -/// Description of the "account_capture_relinquish_account" tag state: Account -/// captured user relinquished their account by changing the email address -/// associated with it. +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareRestoreProcessStarted` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_started". /// -- (instancetype)initWithAccountCaptureRelinquishAccount; +- (BOOL)isRansomwareRestoreProcessStarted; /// -/// Initializes union class with tag state of "disabled_domain_invites". +/// Retrieves whether the union's current tag state has value +/// "app_blocked_by_permissions". /// -/// Description of the "disabled_domain_invites" tag state: Disabled domain -/// invites. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `appBlockedByPermissions` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "app_blocked_by_permissions". /// -- (instancetype)initWithDisabledDomainInvites; +- (BOOL)isAppBlockedByPermissions; /// -/// Initializes union class with tag state of -/// "domain_invites_approve_request_to_join_team". +/// Retrieves whether the union's current tag state has value "app_link_team". /// -/// Description of the "domain_invites_approve_request_to_join_team" tag state: -/// Approved a member's request to join the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appLinkTeam` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "app_link_team". /// -- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam; +- (BOOL)isAppLinkTeam; /// -/// Initializes union class with tag state of -/// "domain_invites_decline_request_to_join_team". +/// Retrieves whether the union's current tag state has value "app_link_user". /// -/// Description of the "domain_invites_decline_request_to_join_team" tag state: -/// Declined a user's request to join the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appLinkUser` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "app_link_user". /// -- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam; +- (BOOL)isAppLinkUser; /// -/// Initializes union class with tag state of -/// "domain_invites_email_existing_users". +/// Retrieves whether the union's current tag state has value "app_unlink_team". /// -/// Description of the "domain_invites_email_existing_users" tag state: Sent -/// domain invites to existing domain accounts. +/// @note Call this method and ensure it returns true before accessing the +/// `appUnlinkTeam` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "app_unlink_team". /// -- (instancetype)initWithDomainInvitesEmailExistingUsers; +- (BOOL)isAppUnlinkTeam; /// -/// Initializes union class with tag state of -/// "domain_invites_request_to_join_team". +/// Retrieves whether the union's current tag state has value "app_unlink_user". /// -/// Description of the "domain_invites_request_to_join_team" tag state: Asked to -/// join the team. +/// @note Call this method and ensure it returns true before accessing the +/// `appUnlinkUser` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "app_unlink_user". /// -- (instancetype)initWithDomainInvitesRequestToJoinTeam; +- (BOOL)isAppUnlinkUser; /// -/// Initializes union class with tag state of -/// "domain_invites_set_invite_new_user_pref_to_no". +/// Retrieves whether the union's current tag state has value +/// "integration_connected". /// -/// Description of the "domain_invites_set_invite_new_user_pref_to_no" tag -/// state: Turned off u201cAutomatically invite new usersu201d. This event is -/// deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `integrationConnected` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "integration_connected". /// -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo; +- (BOOL)isIntegrationConnected; /// -/// Initializes union class with tag state of -/// "domain_invites_set_invite_new_user_pref_to_yes". +/// Retrieves whether the union's current tag state has value +/// "integration_disconnected". /// -/// Description of the "domain_invites_set_invite_new_user_pref_to_yes" tag -/// state: Turned on u201cAutomatically invite new usersu201d. This event is -/// deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `integrationDisconnected` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "integration_disconnected". /// -- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes; +- (BOOL)isIntegrationDisconnected; /// -/// Initializes union class with tag state of -/// "domain_verification_add_domain_fail". +/// Retrieves whether the union's current tag state has value +/// "file_add_comment". /// -/// Description of the "domain_verification_add_domain_fail" tag state: Failed -/// to verify a domain belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAddComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_add_comment". /// -- (instancetype)initWithDomainVerificationAddDomainFail; +- (BOOL)isFileAddComment; /// -/// Initializes union class with tag state of -/// "domain_verification_add_domain_success". +/// Retrieves whether the union's current tag state has value +/// "file_change_comment_subscription". /// -/// Description of the "domain_verification_add_domain_success" tag state: -/// Verified a domain belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `fileChangeCommentSubscription` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_change_comment_subscription". /// -- (instancetype)initWithDomainVerificationAddDomainSuccess; +- (BOOL)isFileChangeCommentSubscription; /// -/// Initializes union class with tag state of -/// "domain_verification_remove_domain". +/// Retrieves whether the union's current tag state has value +/// "file_delete_comment". /// -/// Description of the "domain_verification_remove_domain" tag state: Removed a -/// domain from the list of verified domains belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDeleteComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_delete_comment". /// -- (instancetype)initWithDomainVerificationRemoveDomain; +- (BOOL)isFileDeleteComment; /// -/// Initializes union class with tag state of "enabled_domain_invites". +/// Retrieves whether the union's current tag state has value +/// "file_edit_comment". /// -/// Description of the "enabled_domain_invites" tag state: Enabled domain -/// invites. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileEditComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_edit_comment". /// -- (instancetype)initWithEnabledDomainInvites; +- (BOOL)isFileEditComment; /// -/// Initializes union class with tag state of "create_folder". +/// Retrieves whether the union's current tag state has value +/// "file_like_comment". /// -/// Description of the "create_folder" tag state: Created folders. This event is -/// deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileLikeComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_like_comment". /// -- (instancetype)initWithCreateFolder; +- (BOOL)isFileLikeComment; /// -/// Initializes union class with tag state of "file_add". +/// Retrieves whether the union's current tag state has value +/// "file_resolve_comment". /// -/// Description of the "file_add" tag state: Added files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileResolveComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_resolve_comment". /// -- (instancetype)initWithFileAdd; +- (BOOL)isFileResolveComment; /// -/// Initializes union class with tag state of "file_copy". +/// Retrieves whether the union's current tag state has value +/// "file_unlike_comment". /// -/// Description of the "file_copy" tag state: Copied files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileUnlikeComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_unlike_comment". /// -- (instancetype)initWithFileCopy; +- (BOOL)isFileUnlikeComment; /// -/// Initializes union class with tag state of "file_delete". +/// Retrieves whether the union's current tag state has value +/// "file_unresolve_comment". /// -/// Description of the "file_delete" tag state: Deleted files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `fileUnresolveComment` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_unresolve_comment". /// -- (instancetype)initWithFileDelete; +- (BOOL)isFileUnresolveComment; /// -/// Initializes union class with tag state of "file_download". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folders". /// -/// Description of the "file_download" tag state: Downloaded files and/or -/// folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyAddFolders` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folders". /// -- (instancetype)initWithFileDownload; +- (BOOL)isGovernancePolicyAddFolders; /// -/// Initializes union class with tag state of "file_edit". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folder_failed". /// -/// Description of the "file_edit" tag state: Edited files. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyAddFolderFailed` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folder_failed". /// -- (instancetype)initWithFileEdit; +- (BOOL)isGovernancePolicyAddFolderFailed; /// -/// Initializes union class with tag state of "file_get_copy_reference". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_content_disposed". /// -/// Description of the "file_get_copy_reference" tag state: Create a copy -/// reference to a file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyContentDisposed` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_content_disposed". /// -- (instancetype)initWithFileGetCopyReference; +- (BOOL)isGovernancePolicyContentDisposed; /// -/// Initializes union class with tag state of "file_move". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_create". /// -/// Description of the "file_move" tag state: Moved files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyCreate` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_create". /// -- (instancetype)initWithFileMove; +- (BOOL)isGovernancePolicyCreate; /// -/// Initializes union class with tag state of "file_permanently_delete". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_delete". /// -/// Description of the "file_permanently_delete" tag state: Permanently deleted -/// files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyDelete` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_delete". /// -- (instancetype)initWithFilePermanentlyDelete; +- (BOOL)isGovernancePolicyDelete; /// -/// Initializes union class with tag state of "file_preview". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_details". /// -/// Description of the "file_preview" tag state: Previewed files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyEditDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_details". /// -- (instancetype)initWithFilePreview; +- (BOOL)isGovernancePolicyEditDetails; /// -/// Initializes union class with tag state of "file_rename". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_duration". /// -/// Description of the "file_rename" tag state: Renamed files and/or folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyEditDuration` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_duration". /// -- (instancetype)initWithFileRename; +- (BOOL)isGovernancePolicyEditDuration; /// -/// Initializes union class with tag state of "file_restore". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_created". /// -/// Description of the "file_restore" tag state: Restored deleted files and/or -/// folders. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyExportCreated` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_export_created". /// -- (instancetype)initWithFileRestore; +- (BOOL)isGovernancePolicyExportCreated; /// -/// Initializes union class with tag state of "file_revert". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_removed". /// -/// Description of the "file_revert" tag state: Reverted files to a previous -/// version. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyExportRemoved` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_export_removed". /// -- (instancetype)initWithFileRevert; +- (BOOL)isGovernancePolicyExportRemoved; /// -/// Initializes union class with tag state of "file_rollback_changes". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_remove_folders". /// -/// Description of the "file_rollback_changes" tag state: Rolled back file -/// change location changes. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyRemoveFolders` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_remove_folders". /// -- (instancetype)initWithFileRollbackChanges; +- (BOOL)isGovernancePolicyRemoveFolders; /// -/// Initializes union class with tag state of "file_save_copy_reference". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_report_created". /// -/// Description of the "file_save_copy_reference" tag state: Save a file or -/// folder using a copy reference. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyReportCreated` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_report_created". /// -- (instancetype)initWithFileSaveCopyReference; +- (BOOL)isGovernancePolicyReportCreated; /// -/// Initializes union class with tag state of "file_request_add_deadline". +/// Retrieves whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded". /// -/// Description of the "file_request_add_deadline" tag state: Added a deadline -/// to a file request. This event is replaced by file_request_change and will -/// not be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `governancePolicyZipPartDownloaded` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded". /// -- (instancetype)initWithFileRequestAddDeadline; +- (BOOL)isGovernancePolicyZipPartDownloaded; /// -/// Initializes union class with tag state of "file_request_change". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_activate_a_hold". /// -/// Description of the "file_request_change" tag state: Change a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsActivateAHold` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_activate_a_hold". /// -- (instancetype)initWithFileRequestChange; +- (BOOL)isLegalHoldsActivateAHold; /// -/// Initializes union class with tag state of "file_request_change_folder". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_add_members". /// -/// Description of the "file_request_change_folder" tag state: Changed the file -/// request folder. This event is replaced by file_request_change and will not -/// be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsAddMembers` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_add_members". /// -- (instancetype)initWithFileRequestChangeFolder; +- (BOOL)isLegalHoldsAddMembers; /// -/// Initializes union class with tag state of "file_request_close". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_details". /// -/// Description of the "file_request_close" tag state: Closed a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsChangeHoldDetails` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_details". /// -- (instancetype)initWithFileRequestClose; +- (BOOL)isLegalHoldsChangeHoldDetails; /// -/// Initializes union class with tag state of "file_request_create". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_name". /// -/// Description of the "file_request_create" tag state: Created a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsChangeHoldName` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_name". /// -- (instancetype)initWithFileRequestCreate; +- (BOOL)isLegalHoldsChangeHoldName; /// -/// Initializes union class with tag state of "file_request_receive_file". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_a_hold". /// -/// Description of the "file_request_receive_file" tag state: Received files for -/// a file request. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportAHold` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_a_hold". /// -- (instancetype)initWithFileRequestReceiveFile; +- (BOOL)isLegalHoldsExportAHold; /// -/// Initializes union class with tag state of "file_request_remove_deadline". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_cancelled". /// -/// Description of the "file_request_remove_deadline" tag state: Removed the -/// file request deadline. This event is replaced by file_request_change and -/// will not be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportCancelled` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_cancelled". /// -- (instancetype)initWithFileRequestRemoveDeadline; +- (BOOL)isLegalHoldsExportCancelled; /// -/// Initializes union class with tag state of "file_request_send". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_downloaded". /// -/// Description of the "file_request_send" tag state: Sent file request to users -/// via email. This event is replaced by file_request_change and will not be -/// logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportDownloaded` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_downloaded". /// -- (instancetype)initWithFileRequestSend; +- (BOOL)isLegalHoldsExportDownloaded; /// -/// Initializes union class with tag state of "group_add_external_id". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_removed". /// -/// Description of the "group_add_external_id" tag state: Added an external ID -/// for group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsExportRemoved` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_export_removed". /// -- (instancetype)initWithGroupAddExternalId; +- (BOOL)isLegalHoldsExportRemoved; /// -/// Initializes union class with tag state of "group_add_member". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_release_a_hold". /// -/// Description of the "group_add_member" tag state: Added team members to a -/// group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsReleaseAHold` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_release_a_hold". /// -- (instancetype)initWithGroupAddMember; +- (BOOL)isLegalHoldsReleaseAHold; /// -/// Initializes union class with tag state of "group_change_external_id". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_remove_members". /// -/// Description of the "group_change_external_id" tag state: Changed the -/// external ID for group. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsRemoveMembers` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_remove_members". /// -- (instancetype)initWithGroupChangeExternalId; +- (BOOL)isLegalHoldsRemoveMembers; /// -/// Initializes union class with tag state of "group_change_management_type". +/// Retrieves whether the union's current tag state has value +/// "legal_holds_report_a_hold". /// -/// Description of the "group_change_management_type" tag state: Changed group -/// management type. +/// @note Call this method and ensure it returns true before accessing the +/// `legalHoldsReportAHold` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "legal_holds_report_a_hold". /// -- (instancetype)initWithGroupChangeManagementType; +- (BOOL)isLegalHoldsReportAHold; /// -/// Initializes union class with tag state of "group_change_member_role". +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_desktop". /// -/// Description of the "group_change_member_role" tag state: Changed the manager -/// permissions belonging to a group member. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpDesktop` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_desktop". /// -- (instancetype)initWithGroupChangeMemberRole; +- (BOOL)isDeviceChangeIpDesktop; /// -/// Initializes union class with tag state of "group_create". +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_mobile". /// -/// Description of the "group_create" tag state: Created a group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpMobile` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_mobile". /// -- (instancetype)initWithGroupCreate; +- (BOOL)isDeviceChangeIpMobile; /// -/// Initializes union class with tag state of "group_delete". +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_web". /// -/// Description of the "group_delete" tag state: Deleted a group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceChangeIpWeb` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_change_ip_web". /// -- (instancetype)initWithGroupDelete; +- (BOOL)isDeviceChangeIpWeb; /// -/// Initializes union class with tag state of "group_moved". +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_fail". /// -/// Description of the "group_moved" tag state: Moved a group. This event is -/// deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceDeleteOnUnlinkFail` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_fail". /// -- (instancetype)initWithGroupMoved; +- (BOOL)isDeviceDeleteOnUnlinkFail; /// -/// Initializes union class with tag state of "group_remove_external_id". +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_success". /// -/// Description of the "group_remove_external_id" tag state: Removed the -/// external ID for group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceDeleteOnUnlinkSuccess` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_success". /// -- (instancetype)initWithGroupRemoveExternalId; +- (BOOL)isDeviceDeleteOnUnlinkSuccess; /// -/// Initializes union class with tag state of "group_remove_member". +/// Retrieves whether the union's current tag state has value +/// "device_link_fail". /// -/// Description of the "group_remove_member" tag state: Removed team members -/// from a group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceLinkFail` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "device_link_fail". /// -- (instancetype)initWithGroupRemoveMember; +- (BOOL)isDeviceLinkFail; /// -/// Initializes union class with tag state of "group_rename". +/// Retrieves whether the union's current tag state has value +/// "device_link_success". /// -/// Description of the "group_rename" tag state: Renamed a group. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceLinkSuccess` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_link_success". /// -- (instancetype)initWithGroupRename; +- (BOOL)isDeviceLinkSuccess; /// -/// Initializes union class with tag state of "emm_error". +/// Retrieves whether the union's current tag state has value +/// "device_management_disabled". /// -/// Description of the "emm_error" tag state: Failed to sign in via EMM. This -/// event is replaced by login_fail and will not be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceManagementDisabled` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_management_disabled". /// -- (instancetype)initWithEmmError; +- (BOOL)isDeviceManagementDisabled; /// -/// Initializes union class with tag state of "login_fail". +/// Retrieves whether the union's current tag state has value +/// "device_management_enabled". /// -/// Description of the "login_fail" tag state: Failed to sign in. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceManagementEnabled` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_management_enabled". /// -- (instancetype)initWithLoginFail; +- (BOOL)isDeviceManagementEnabled; /// -/// Initializes union class with tag state of "login_success". +/// Retrieves whether the union's current tag state has value +/// "device_sync_backup_status_changed". /// -/// Description of the "login_success" tag state: Signed in. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceSyncBackupStatusChanged` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "device_sync_backup_status_changed". /// -- (instancetype)initWithLoginSuccess; +- (BOOL)isDeviceSyncBackupStatusChanged; /// -/// Initializes union class with tag state of "logout". +/// Retrieves whether the union's current tag state has value "device_unlink". /// -/// Description of the "logout" tag state: Signed out. +/// @note Call this method and ensure it returns true before accessing the +/// `deviceUnlink` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "device_unlink". /// -- (instancetype)initWithLogout; +- (BOOL)isDeviceUnlink; /// -/// Initializes union class with tag state of "reseller_support_session_end". +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_exported". /// -/// Description of the "reseller_support_session_end" tag state: Ended reseller -/// support session. +/// @note Call this method and ensure it returns true before accessing the +/// `dropboxPasswordsExported` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_exported". /// -- (instancetype)initWithResellerSupportSessionEnd; +- (BOOL)isDropboxPasswordsExported; /// -/// Initializes union class with tag state of "reseller_support_session_start". +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled". /// -/// Description of the "reseller_support_session_start" tag state: Started -/// reseller support session. +/// @note Call this method and ensure it returns true before accessing the +/// `dropboxPasswordsNewDeviceEnrolled` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled". /// -- (instancetype)initWithResellerSupportSessionStart; +- (BOOL)isDropboxPasswordsNewDeviceEnrolled; /// -/// Initializes union class with tag state of "sign_in_as_session_end". +/// Retrieves whether the union's current tag state has value +/// "emm_refresh_auth_token". /// -/// Description of the "sign_in_as_session_end" tag state: Ended admin -/// sign-in-as session. +/// @note Call this method and ensure it returns true before accessing the +/// `emmRefreshAuthToken` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_refresh_auth_token". /// -- (instancetype)initWithSignInAsSessionEnd; +- (BOOL)isEmmRefreshAuthToken; /// -/// Initializes union class with tag state of "sign_in_as_session_start". +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked". /// -/// Description of the "sign_in_as_session_start" tag state: Started admin -/// sign-in-as session. +/// @note Call this method and ensure it returns true before accessing the +/// `externalDriveBackupEligibilityStatusChecked` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked". /// -- (instancetype)initWithSignInAsSessionStart; +- (BOOL)isExternalDriveBackupEligibilityStatusChecked; /// -/// Initializes union class with tag state of "sso_error". +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_status_changed". /// -/// Description of the "sso_error" tag state: Failed to sign in via SSO. This -/// event is replaced by login_fail and will not be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `externalDriveBackupStatusChanged` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_drive_backup_status_changed". /// -- (instancetype)initWithSsoError; +- (BOOL)isExternalDriveBackupStatusChanged; /// -/// Initializes union class with tag state of "member_add_name". +/// Retrieves whether the union's current tag state has value +/// "account_capture_change_availability". /// -/// Description of the "member_add_name" tag state: Set team member name when -/// joining team. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureChangeAvailability` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_change_availability". /// -- (instancetype)initWithMemberAddName; +- (BOOL)isAccountCaptureChangeAvailability; /// -/// Initializes union class with tag state of "member_change_admin_role". +/// Retrieves whether the union's current tag state has value +/// "account_capture_migrate_account". /// -/// Description of the "member_change_admin_role" tag state: Change the admin -/// role belonging to team member. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureMigrateAccount` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_migrate_account". /// -- (instancetype)initWithMemberChangeAdminRole; +- (BOOL)isAccountCaptureMigrateAccount; /// -/// Initializes union class with tag state of "member_change_email". +/// Retrieves whether the union's current tag state has value +/// "account_capture_notification_emails_sent". /// -/// Description of the "member_change_email" tag state: Changed team member -/// email address. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureNotificationEmailsSent` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_notification_emails_sent". /// -- (instancetype)initWithMemberChangeEmail; +- (BOOL)isAccountCaptureNotificationEmailsSent; /// -/// Initializes union class with tag state of "member_change_name". +/// Retrieves whether the union's current tag state has value +/// "account_capture_relinquish_account". /// -/// Description of the "member_change_name" tag state: Changed team member name. +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureRelinquishAccount` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_capture_relinquish_account". /// -- (instancetype)initWithMemberChangeName; +- (BOOL)isAccountCaptureRelinquishAccount; /// -/// Initializes union class with tag state of "member_change_status". +/// Retrieves whether the union's current tag state has value +/// "disabled_domain_invites". /// -/// Description of the "member_change_status" tag state: Changed the membership -/// status of a team member. +/// @note Call this method and ensure it returns true before accessing the +/// `disabledDomainInvites` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "disabled_domain_invites". /// -- (instancetype)initWithMemberChangeStatus; +- (BOOL)isDisabledDomainInvites; /// -/// Initializes union class with tag state of "member_suggest". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team". /// -/// Description of the "member_suggest" tag state: Suggested a new team member -/// to be added to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesApproveRequestToJoinTeam` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team". /// -- (instancetype)initWithMemberSuggest; +- (BOOL)isDomainInvitesApproveRequestToJoinTeam; /// -/// Initializes union class with tag state of "paper_content_add_member". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team". /// -/// Description of the "paper_content_add_member" tag state: Added users to the -/// membership of a Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesDeclineRequestToJoinTeam` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team". /// -- (instancetype)initWithPaperContentAddMember; +- (BOOL)isDomainInvitesDeclineRequestToJoinTeam; /// -/// Initializes union class with tag state of "paper_content_add_to_folder". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_email_existing_users". /// -/// Description of the "paper_content_add_to_folder" tag state: Added Paper doc -/// or folder to a folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesEmailExistingUsers` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_email_existing_users". /// -- (instancetype)initWithPaperContentAddToFolder; +- (BOOL)isDomainInvitesEmailExistingUsers; /// -/// Initializes union class with tag state of "paper_content_archive". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_request_to_join_team". /// -/// Description of the "paper_content_archive" tag state: Archived Paper doc or -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesRequestToJoinTeam` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_request_to_join_team". /// -- (instancetype)initWithPaperContentArchive; +- (BOOL)isDomainInvitesRequestToJoinTeam; /// -/// Initializes union class with tag state of "paper_content_create". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no". /// -/// Description of the "paper_content_create" tag state: Created a Paper doc or -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesSetInviteNewUserPrefToNo` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no". /// -- (instancetype)initWithPaperContentCreate; +- (BOOL)isDomainInvitesSetInviteNewUserPrefToNo; /// -/// Initializes union class with tag state of -/// "paper_content_permanently_delete". +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes". /// -/// Description of the "paper_content_permanently_delete" tag state: Permanently -/// deleted a Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainInvitesSetInviteNewUserPrefToYes` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes". /// -- (instancetype)initWithPaperContentPermanentlyDelete; +- (BOOL)isDomainInvitesSetInviteNewUserPrefToYes; /// -/// Initializes union class with tag state of -/// "paper_content_remove_from_folder". +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_fail". /// -/// Description of the "paper_content_remove_from_folder" tag state: Removed -/// Paper doc or folder from a folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationAddDomainFail` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_fail". /// -- (instancetype)initWithPaperContentRemoveFromFolder; +- (BOOL)isDomainVerificationAddDomainFail; /// -/// Initializes union class with tag state of "paper_content_remove_member". +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_success". /// -/// Description of the "paper_content_remove_member" tag state: Removed a user -/// from the membership of a Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationAddDomainSuccess` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_success". /// -- (instancetype)initWithPaperContentRemoveMember; +- (BOOL)isDomainVerificationAddDomainSuccess; /// -/// Initializes union class with tag state of "paper_content_rename". +/// Retrieves whether the union's current tag state has value +/// "domain_verification_remove_domain". /// -/// Description of the "paper_content_rename" tag state: Renamed Paper doc or -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `domainVerificationRemoveDomain` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "domain_verification_remove_domain". /// -- (instancetype)initWithPaperContentRename; +- (BOOL)isDomainVerificationRemoveDomain; /// -/// Initializes union class with tag state of "paper_content_restore". +/// Retrieves whether the union's current tag state has value +/// "enabled_domain_invites". /// -/// Description of the "paper_content_restore" tag state: Restored an archived -/// Paper doc or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `enabledDomainInvites` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "enabled_domain_invites". /// -- (instancetype)initWithPaperContentRestore; +- (BOOL)isEnabledDomainInvites; /// -/// Initializes union class with tag state of "paper_doc_add_comment". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion". /// -/// Description of the "paper_doc_add_comment" tag state: Added a Paper doc -/// comment. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyCancelKeyDeletion` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion". /// -- (instancetype)initWithPaperDocAddComment; +- (BOOL)isTeamEncryptionKeyCancelKeyDeletion; /// -/// Initializes union class with tag state of "paper_doc_change_member_role". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_create_key". /// -/// Description of the "paper_doc_change_member_role" tag state: Changed the -/// access type of a Paper doc member. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyCreateKey` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_create_key". /// -- (instancetype)initWithPaperDocChangeMemberRole; +- (BOOL)isTeamEncryptionKeyCreateKey; /// -/// Initializes union class with tag state of "paper_doc_change_sharing_policy". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_delete_key". /// -/// Description of the "paper_doc_change_sharing_policy" tag state: Changed the -/// sharing policy for Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyDeleteKey` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_delete_key". /// -- (instancetype)initWithPaperDocChangeSharingPolicy; +- (BOOL)isTeamEncryptionKeyDeleteKey; /// -/// Initializes union class with tag state of "paper_doc_change_subscription". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_disable_key". /// -/// Description of the "paper_doc_change_subscription" tag state: Followed or -/// unfollowed a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyDisableKey` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_disable_key". /// -- (instancetype)initWithPaperDocChangeSubscription; +- (BOOL)isTeamEncryptionKeyDisableKey; /// -/// Initializes union class with tag state of "paper_doc_deleted". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_enable_key". /// -/// Description of the "paper_doc_deleted" tag state: Paper doc archived. This -/// event is deprecated and will not be logged going forward as the associated -/// product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyEnableKey` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_enable_key". /// -- (instancetype)initWithPaperDocDeleted; +- (BOOL)isTeamEncryptionKeyEnableKey; /// -/// Initializes union class with tag state of "paper_doc_delete_comment". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_rotate_key". /// -/// Description of the "paper_doc_delete_comment" tag state: Deleted a Paper doc -/// comment. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyRotateKey` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_rotate_key". /// -- (instancetype)initWithPaperDocDeleteComment; +- (BOOL)isTeamEncryptionKeyRotateKey; /// -/// Initializes union class with tag state of "paper_doc_download". +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion". /// -/// Description of the "paper_doc_download" tag state: Downloaded a Paper doc in -/// a particular output format. +/// @note Call this method and ensure it returns true before accessing the +/// `teamEncryptionKeyScheduleKeyDeletion` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion". /// -- (instancetype)initWithPaperDocDownload; +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletion; /// -/// Initializes union class with tag state of "paper_doc_edit". +/// Retrieves whether the union's current tag state has value +/// "apply_naming_convention". /// -/// Description of the "paper_doc_edit" tag state: Edited a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `applyNamingConvention` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "apply_naming_convention". /// -- (instancetype)initWithPaperDocEdit; +- (BOOL)isApplyNamingConvention; /// -/// Initializes union class with tag state of "paper_doc_edit_comment". +/// Retrieves whether the union's current tag state has value "create_folder". /// -/// Description of the "paper_doc_edit_comment" tag state: Edited a Paper doc -/// comment. +/// @note Call this method and ensure it returns true before accessing the +/// `createFolder` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "create_folder". /// -- (instancetype)initWithPaperDocEditComment; +- (BOOL)isCreateFolder; /// -/// Initializes union class with tag state of "paper_doc_followed". +/// Retrieves whether the union's current tag state has value "file_add". /// -/// Description of the "paper_doc_followed" tag state: Followed a Paper doc. -/// This event is replaced by paper_doc_change_subscription and will not be -/// logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAdd` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_add". /// -- (instancetype)initWithPaperDocFollowed; +- (BOOL)isFileAdd; /// -/// Initializes union class with tag state of "paper_doc_mention". +/// Retrieves whether the union's current tag state has value +/// "file_add_from_automation". /// -/// Description of the "paper_doc_mention" tag state: Mentioned a member in a -/// Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `fileAddFromAutomation` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_add_from_automation". /// -- (instancetype)initWithPaperDocMention; +- (BOOL)isFileAddFromAutomation; /// -/// Initializes union class with tag state of "paper_doc_request_access". +/// Retrieves whether the union's current tag state has value "file_copy". /// -/// Description of the "paper_doc_request_access" tag state: Requested to be a -/// member on a Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `fileCopy` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_copy". /// -- (instancetype)initWithPaperDocRequestAccess; +- (BOOL)isFileCopy; /// -/// Initializes union class with tag state of "paper_doc_resolve_comment". +/// Retrieves whether the union's current tag state has value "file_delete". /// -/// Description of the "paper_doc_resolve_comment" tag state: Paper doc comment -/// resolved. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDelete` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_delete". /// -- (instancetype)initWithPaperDocResolveComment; +- (BOOL)isFileDelete; /// -/// Initializes union class with tag state of "paper_doc_revert". +/// Retrieves whether the union's current tag state has value "file_download". /// -/// Description of the "paper_doc_revert" tag state: Restored a Paper doc to -/// previous revision. +/// @note Call this method and ensure it returns true before accessing the +/// `fileDownload` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_download". /// -- (instancetype)initWithPaperDocRevert; +- (BOOL)isFileDownload; /// -/// Initializes union class with tag state of "paper_doc_slack_share". +/// Retrieves whether the union's current tag state has value "file_edit". /// -/// Description of the "paper_doc_slack_share" tag state: Paper doc link shared -/// via slack. +/// @note Call this method and ensure it returns true before accessing the +/// `fileEdit` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_edit". /// -- (instancetype)initWithPaperDocSlackShare; +- (BOOL)isFileEdit; /// -/// Initializes union class with tag state of "paper_doc_team_invite". +/// Retrieves whether the union's current tag state has value +/// "file_get_copy_reference". /// -/// Description of the "paper_doc_team_invite" tag state: Paper doc shared with -/// team member. This event is deprecated and will not be logged going forward -/// as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileGetCopyReference` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_get_copy_reference". /// -- (instancetype)initWithPaperDocTeamInvite; +- (BOOL)isFileGetCopyReference; /// -/// Initializes union class with tag state of "paper_doc_trashed". +/// Retrieves whether the union's current tag state has value +/// "file_locking_lock_status_changed". /// -/// Description of the "paper_doc_trashed" tag state: Paper doc trashed. +/// @note Call this method and ensure it returns true before accessing the +/// `fileLockingLockStatusChanged` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_locking_lock_status_changed". /// -- (instancetype)initWithPaperDocTrashed; +- (BOOL)isFileLockingLockStatusChanged; /// -/// Initializes union class with tag state of "paper_doc_unresolve_comment". +/// Retrieves whether the union's current tag state has value "file_move". /// -/// Description of the "paper_doc_unresolve_comment" tag state: Unresolved a -/// Paper doc comment. +/// @note Call this method and ensure it returns true before accessing the +/// `fileMove` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_move". /// -- (instancetype)initWithPaperDocUnresolveComment; +- (BOOL)isFileMove; /// -/// Initializes union class with tag state of "paper_doc_untrashed". +/// Retrieves whether the union's current tag state has value +/// "file_permanently_delete". /// -/// Description of the "paper_doc_untrashed" tag state: Paper doc untrashed. +/// @note Call this method and ensure it returns true before accessing the +/// `filePermanentlyDelete` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_permanently_delete". /// -- (instancetype)initWithPaperDocUntrashed; +- (BOOL)isFilePermanentlyDelete; /// -/// Initializes union class with tag state of "paper_doc_view". +/// Retrieves whether the union's current tag state has value "file_preview". /// -/// Description of the "paper_doc_view" tag state: Viewed Paper doc. +/// @note Call this method and ensure it returns true before accessing the +/// `filePreview` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_preview". /// -- (instancetype)initWithPaperDocView; +- (BOOL)isFilePreview; /// -/// Initializes union class with tag state of -/// "paper_folder_change_subscription". +/// Retrieves whether the union's current tag state has value "file_rename". /// -/// Description of the "paper_folder_change_subscription" tag state: Followed or -/// unfollowed a Paper folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRename` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_rename". /// -- (instancetype)initWithPaperFolderChangeSubscription; +- (BOOL)isFileRename; /// -/// Initializes union class with tag state of "paper_folder_deleted". +/// Retrieves whether the union's current tag state has value "file_restore". /// -/// Description of the "paper_folder_deleted" tag state: Paper folder archived. -/// This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRestore` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_restore". /// -- (instancetype)initWithPaperFolderDeleted; +- (BOOL)isFileRestore; /// -/// Initializes union class with tag state of "paper_folder_followed". +/// Retrieves whether the union's current tag state has value "file_revert". /// -/// Description of the "paper_folder_followed" tag state: Followed a Paper -/// folder. This event is replaced by paper_folder_change_subscription and will -/// not be logged going forward. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRevert` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "file_revert". /// -- (instancetype)initWithPaperFolderFollowed; +- (BOOL)isFileRevert; /// -/// Initializes union class with tag state of "paper_folder_team_invite". +/// Retrieves whether the union's current tag state has value +/// "file_rollback_changes". /// -/// Description of the "paper_folder_team_invite" tag state: Paper folder shared -/// with team member. This event is deprecated and will not be logged going -/// forward as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRollbackChanges` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_rollback_changes". /// -- (instancetype)initWithPaperFolderTeamInvite; +- (BOOL)isFileRollbackChanges; /// -/// Initializes union class with tag state of "password_change". +/// Retrieves whether the union's current tag state has value +/// "file_save_copy_reference". /// -/// Description of the "password_change" tag state: Changed password. +/// @note Call this method and ensure it returns true before accessing the +/// `fileSaveCopyReference` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_save_copy_reference". /// -- (instancetype)initWithPasswordChange; +- (BOOL)isFileSaveCopyReference; /// -/// Initializes union class with tag state of "password_reset". +/// Retrieves whether the union's current tag state has value +/// "folder_overview_description_changed". /// -/// Description of the "password_reset" tag state: Reset password. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewDescriptionChanged` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_description_changed". /// -- (instancetype)initWithPasswordReset; +- (BOOL)isFolderOverviewDescriptionChanged; /// -/// Initializes union class with tag state of "password_reset_all". +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_pinned". /// -/// Description of the "password_reset_all" tag state: Reset all team member -/// passwords. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewItemPinned` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_item_pinned". /// -- (instancetype)initWithPasswordResetAll; +- (BOOL)isFolderOverviewItemPinned; /// -/// Initializes union class with tag state of "emm_create_exceptions_report". +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_unpinned". /// -/// Description of the "emm_create_exceptions_report" tag state: EMM excluded -/// users report created. +/// @note Call this method and ensure it returns true before accessing the +/// `folderOverviewItemUnpinned` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "folder_overview_item_unpinned". /// -- (instancetype)initWithEmmCreateExceptionsReport; +- (BOOL)isFolderOverviewItemUnpinned; /// -/// Initializes union class with tag state of "emm_create_usage_report". +/// Retrieves whether the union's current tag state has value +/// "object_label_added". /// -/// Description of the "emm_create_usage_report" tag state: EMM mobile app usage -/// report created. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelAdded` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_added". /// -- (instancetype)initWithEmmCreateUsageReport; +- (BOOL)isObjectLabelAdded; /// -/// Initializes union class with tag state of -/// "smart_sync_create_admin_privilege_report". +/// Retrieves whether the union's current tag state has value +/// "object_label_removed". /// -/// Description of the "smart_sync_create_admin_privilege_report" tag state: -/// Smart Sync non-admin devices report created. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelRemoved` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_removed". /// -- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport; +- (BOOL)isObjectLabelRemoved; /// -/// Initializes union class with tag state of "team_activity_create_report". +/// Retrieves whether the union's current tag state has value +/// "object_label_updated_value". /// -/// Description of the "team_activity_create_report" tag state: Created a team -/// activity report. +/// @note Call this method and ensure it returns true before accessing the +/// `objectLabelUpdatedValue` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "object_label_updated_value". /// -- (instancetype)initWithTeamActivityCreateReport; +- (BOOL)isObjectLabelUpdatedValue; /// -/// Initializes union class with tag state of "collection_share". +/// Retrieves whether the union's current tag state has value +/// "organize_folder_with_tidy". /// -/// Description of the "collection_share" tag state: Shared an album. +/// @note Call this method and ensure it returns true before accessing the +/// `organizeFolderWithTidy` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "organize_folder_with_tidy". /// -- (instancetype)initWithCollectionShare; +- (BOOL)isOrganizeFolderWithTidy; /// -/// Initializes union class with tag state of "note_acl_invite_only". +/// Retrieves whether the union's current tag state has value +/// "replay_file_delete". /// -/// Description of the "note_acl_invite_only" tag state: Changed a Paper -/// document to be invite-only. This event is deprecated and will not be logged -/// going forward as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `replayFileDelete` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "replay_file_delete". /// -- (instancetype)initWithNoteAclInviteOnly; +- (BOOL)isReplayFileDelete; /// -/// Initializes union class with tag state of "note_acl_link". +/// Retrieves whether the union's current tag state has value "rewind_folder". /// -/// Description of the "note_acl_link" tag state: Changed a Paper document to be -/// link accessible. This event is deprecated and will not be logged going -/// forward as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `rewindFolder` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "rewind_folder". /// -- (instancetype)initWithNoteAclLink; +- (BOOL)isRewindFolder; /// -/// Initializes union class with tag state of "note_acl_team_link". +/// Retrieves whether the union's current tag state has value +/// "undo_naming_convention". /// -/// Description of the "note_acl_team_link" tag state: Changed a Paper document -/// to be link accessible for the team. This event is deprecated and will not be -/// logged going forward as the associated product functionality no longer -/// exists. +/// @note Call this method and ensure it returns true before accessing the +/// `undoNamingConvention` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "undo_naming_convention". /// -- (instancetype)initWithNoteAclTeamLink; +- (BOOL)isUndoNamingConvention; /// -/// Initializes union class with tag state of "note_shared". +/// Retrieves whether the union's current tag state has value +/// "undo_organize_folder_with_tidy". /// -/// Description of the "note_shared" tag state: Shared a Paper doc. This event -/// is deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `undoOrganizeFolderWithTidy` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "undo_organize_folder_with_tidy". /// -- (instancetype)initWithNoteShared; +- (BOOL)isUndoOrganizeFolderWithTidy; /// -/// Initializes union class with tag state of "note_share_receive". +/// Retrieves whether the union's current tag state has value "user_tags_added". /// -/// Description of the "note_share_receive" tag state: Shared Paper document -/// received. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `userTagsAdded` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "user_tags_added". /// -- (instancetype)initWithNoteShareReceive; +- (BOOL)isUserTagsAdded; /// -/// Initializes union class with tag state of "open_note_shared". +/// Retrieves whether the union's current tag state has value +/// "user_tags_removed". /// -/// Description of the "open_note_shared" tag state: Opened a shared Paper doc. -/// This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `userTagsRemoved` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "user_tags_removed". /// -- (instancetype)initWithOpenNoteShared; +- (BOOL)isUserTagsRemoved; /// -/// Initializes union class with tag state of "sf_add_group". +/// Retrieves whether the union's current tag state has value +/// "email_ingest_receive_file". /// -/// Description of the "sf_add_group" tag state: Added the team to a shared -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `emailIngestReceiveFile` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "email_ingest_receive_file". /// -- (instancetype)initWithSfAddGroup; +- (BOOL)isEmailIngestReceiveFile; /// -/// Initializes union class with tag state of -/// "sf_allow_non_members_to_view_shared_links". +/// Retrieves whether the union's current tag state has value +/// "file_request_change". /// -/// Description of the "sf_allow_non_members_to_view_shared_links" tag state: -/// Allowed non collaborators to view links to files in a shared folder. This -/// event is deprecated and will not be logged going forward as the associated -/// product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestChange` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_change". /// -- (instancetype)initWithSfAllowNonMembersToViewSharedLinks; +- (BOOL)isFileRequestChange; /// -/// Initializes union class with tag state of "sf_invite_group". +/// Retrieves whether the union's current tag state has value +/// "file_request_close". /// -/// Description of the "sf_invite_group" tag state: Invited a group to a shared -/// folder. This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestClose` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_close". /// -- (instancetype)initWithSfInviteGroup; +- (BOOL)isFileRequestClose; /// -/// Initializes union class with tag state of "sf_nest". +/// Retrieves whether the union's current tag state has value +/// "file_request_create". /// -/// Description of the "sf_nest" tag state: Changed parent of shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestCreate` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_create". /// -- (instancetype)initWithSfNest; +- (BOOL)isFileRequestCreate; /// -/// Initializes union class with tag state of "sf_team_decline". +/// Retrieves whether the union's current tag state has value +/// "file_request_delete". /// -/// Description of the "sf_team_decline" tag state: Declined a team member's -/// invitation to a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestDelete` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_delete". /// -- (instancetype)initWithSfTeamDecline; +- (BOOL)isFileRequestDelete; /// -/// Initializes union class with tag state of "sf_team_grant_access". +/// Retrieves whether the union's current tag state has value +/// "file_request_receive_file". /// -/// Description of the "sf_team_grant_access" tag state: Granted access to a -/// shared folder. This event is deprecated and will not be logged going forward -/// as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestReceiveFile` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "file_request_receive_file". /// -- (instancetype)initWithSfTeamGrantAccess; +- (BOOL)isFileRequestReceiveFile; /// -/// Initializes union class with tag state of "sf_team_invite". +/// Retrieves whether the union's current tag state has value +/// "group_add_external_id". /// -/// Description of the "sf_team_invite" tag state: Invited team members to a -/// shared folder. This event is deprecated and will not be logged going forward -/// as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `groupAddExternalId` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_add_external_id". /// -- (instancetype)initWithSfTeamInvite; +- (BOOL)isGroupAddExternalId; /// -/// Initializes union class with tag state of "sf_team_invite_change_role". +/// Retrieves whether the union's current tag state has value +/// "group_add_member". /// -/// Description of the "sf_team_invite_change_role" tag state: Changed a team -/// member's role in a shared folder. This event is deprecated and will not be -/// logged going forward as the associated product functionality no longer -/// exists. +/// @note Call this method and ensure it returns true before accessing the +/// `groupAddMember` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "group_add_member". /// -- (instancetype)initWithSfTeamInviteChangeRole; +- (BOOL)isGroupAddMember; /// -/// Initializes union class with tag state of "sf_team_join". +/// Retrieves whether the union's current tag state has value +/// "group_change_external_id". /// -/// Description of the "sf_team_join" tag state: Joined a team member's shared -/// folder. This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeExternalId` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_external_id". /// -- (instancetype)initWithSfTeamJoin; +- (BOOL)isGroupChangeExternalId; /// -/// Initializes union class with tag state of "sf_team_join_from_oob_link". +/// Retrieves whether the union's current tag state has value +/// "group_change_management_type". /// -/// Description of the "sf_team_join_from_oob_link" tag state: Joined a team -/// member's shared folder from a link. This event is deprecated and will not be -/// logged going forward as the associated product functionality no longer -/// exists. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeManagementType` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_management_type". /// -- (instancetype)initWithSfTeamJoinFromOobLink; +- (BOOL)isGroupChangeManagementType; /// -/// Initializes union class with tag state of "sf_team_uninvite". +/// Retrieves whether the union's current tag state has value +/// "group_change_member_role". /// -/// Description of the "sf_team_uninvite" tag state: Unshared a folder with a -/// team member. This event is deprecated and will not be logged going forward -/// as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `groupChangeMemberRole` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_change_member_role". /// -- (instancetype)initWithSfTeamUninvite; +- (BOOL)isGroupChangeMemberRole; /// -/// Initializes union class with tag state of "shared_content_add_invitees". +/// Retrieves whether the union's current tag state has value "group_create". /// -/// Description of the "shared_content_add_invitees" tag state: Sent an email -/// invitation to the membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupCreate` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "group_create". /// -- (instancetype)initWithSharedContentAddInvitees; +- (BOOL)isGroupCreate; /// -/// Initializes union class with tag state of "shared_content_add_link_expiry". +/// Retrieves whether the union's current tag state has value "group_delete". /// -/// Description of the "shared_content_add_link_expiry" tag state: Added an -/// expiry to the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupDelete` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "group_delete". /// -- (instancetype)initWithSharedContentAddLinkExpiry; +- (BOOL)isGroupDelete; /// -/// Initializes union class with tag state of -/// "shared_content_add_link_password". +/// Retrieves whether the union's current tag state has value +/// "group_description_updated". /// -/// Description of the "shared_content_add_link_password" tag state: Added a -/// password to the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupDescriptionUpdated` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_description_updated". /// -- (instancetype)initWithSharedContentAddLinkPassword; +- (BOOL)isGroupDescriptionUpdated; /// -/// Initializes union class with tag state of "shared_content_add_member". +/// Retrieves whether the union's current tag state has value +/// "group_join_policy_updated". /// -/// Description of the "shared_content_add_member" tag state: Added users and/or -/// groups to the membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupJoinPolicyUpdated` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_join_policy_updated". /// -- (instancetype)initWithSharedContentAddMember; +- (BOOL)isGroupJoinPolicyUpdated; /// -/// Initializes union class with tag state of -/// "shared_content_change_downloads_policy". +/// Retrieves whether the union's current tag state has value "group_moved". /// -/// Description of the "shared_content_change_downloads_policy" tag state: -/// Changed whether members can download the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupMoved` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "group_moved". /// -- (instancetype)initWithSharedContentChangeDownloadsPolicy; +- (BOOL)isGroupMoved; /// -/// Initializes union class with tag state of -/// "shared_content_change_invitee_role". +/// Retrieves whether the union's current tag state has value +/// "group_remove_external_id". /// -/// Description of the "shared_content_change_invitee_role" tag state: Changed -/// the access type of an invitee to a shared file or folder before the -/// invitation was claimed. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRemoveExternalId` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_remove_external_id". /// -- (instancetype)initWithSharedContentChangeInviteeRole; +- (BOOL)isGroupRemoveExternalId; /// -/// Initializes union class with tag state of -/// "shared_content_change_link_audience". +/// Retrieves whether the union's current tag state has value +/// "group_remove_member". /// -/// Description of the "shared_content_change_link_audience" tag state: Changed -/// the audience of the link for a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRemoveMember` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "group_remove_member". /// -- (instancetype)initWithSharedContentChangeLinkAudience; +- (BOOL)isGroupRemoveMember; /// -/// Initializes union class with tag state of -/// "shared_content_change_link_expiry". +/// Retrieves whether the union's current tag state has value "group_rename". /// -/// Description of the "shared_content_change_link_expiry" tag state: Changed -/// the expiry of the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `groupRename` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "group_rename". /// -- (instancetype)initWithSharedContentChangeLinkExpiry; +- (BOOL)isGroupRename; /// -/// Initializes union class with tag state of -/// "shared_content_change_link_password". +/// Retrieves whether the union's current tag state has value +/// "account_lock_or_unlocked". /// -/// Description of the "shared_content_change_link_password" tag state: Changed -/// the password on the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `accountLockOrUnlocked` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "account_lock_or_unlocked". /// -- (instancetype)initWithSharedContentChangeLinkPassword; +- (BOOL)isAccountLockOrUnlocked; /// -/// Initializes union class with tag state of -/// "shared_content_change_member_role". +/// Retrieves whether the union's current tag state has value "emm_error". /// -/// Description of the "shared_content_change_member_role" tag state: Changed -/// the access type of a shared file or folder member. +/// @note Call this method and ensure it returns true before accessing the +/// `emmError` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "emm_error". /// -- (instancetype)initWithSharedContentChangeMemberRole; +- (BOOL)isEmmError; /// -/// Initializes union class with tag state of -/// "shared_content_change_viewer_info_policy". +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams". /// -/// Description of the "shared_content_change_viewer_info_policy" tag state: -/// Changed whether members can see who viewed the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `guestAdminSignedInViaTrustedTeams` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams". /// -- (instancetype)initWithSharedContentChangeViewerInfoPolicy; +- (BOOL)isGuestAdminSignedInViaTrustedTeams; /// -/// Initializes union class with tag state of "shared_content_claim_invitation". +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams". /// -/// Description of the "shared_content_claim_invitation" tag state: Claimed -/// membership to a team member's shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `guestAdminSignedOutViaTrustedTeams` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams". /// -- (instancetype)initWithSharedContentClaimInvitation; +- (BOOL)isGuestAdminSignedOutViaTrustedTeams; /// -/// Initializes union class with tag state of "shared_content_copy". +/// Retrieves whether the union's current tag state has value "login_fail". /// -/// Description of the "shared_content_copy" tag state: Copied the shared file -/// or folder to own Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `loginFail` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "login_fail". /// -- (instancetype)initWithSharedContentCopy; +- (BOOL)isLoginFail; /// -/// Initializes union class with tag state of "shared_content_download". +/// Retrieves whether the union's current tag state has value "login_success". /// -/// Description of the "shared_content_download" tag state: Downloaded the -/// shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `loginSuccess` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "login_success". /// -- (instancetype)initWithSharedContentDownload; +- (BOOL)isLoginSuccess; /// -/// Initializes union class with tag state of -/// "shared_content_relinquish_membership". +/// Retrieves whether the union's current tag state has value "logout". /// -/// Description of the "shared_content_relinquish_membership" tag state: Left -/// the membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `logout` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "logout". /// -- (instancetype)initWithSharedContentRelinquishMembership; +- (BOOL)isLogout; /// -/// Initializes union class with tag state of "shared_content_remove_invitee". +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_end". /// -/// Description of the "shared_content_remove_invitee" tag state: Removed an -/// invitee from the membership of a shared file or folder before it was -/// claimed. +/// @note Call this method and ensure it returns true before accessing the +/// `resellerSupportSessionEnd` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "reseller_support_session_end". /// -- (instancetype)initWithSharedContentRemoveInvitee; +- (BOOL)isResellerSupportSessionEnd; /// -/// Initializes union class with tag state of -/// "shared_content_remove_link_expiry". +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_start". /// -/// Description of the "shared_content_remove_link_expiry" tag state: Removed -/// the expiry of the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `resellerSupportSessionStart` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "reseller_support_session_start". /// -- (instancetype)initWithSharedContentRemoveLinkExpiry; +- (BOOL)isResellerSupportSessionStart; /// -/// Initializes union class with tag state of -/// "shared_content_remove_link_password". +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_end". /// -/// Description of the "shared_content_remove_link_password" tag state: Removed -/// the password on the link for the shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `signInAsSessionEnd` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_end". /// -- (instancetype)initWithSharedContentRemoveLinkPassword; +- (BOOL)isSignInAsSessionEnd; /// -/// Initializes union class with tag state of "shared_content_remove_member". +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_start". /// -/// Description of the "shared_content_remove_member" tag state: Removed a user -/// or a group from the membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `signInAsSessionStart` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_start". /// -- (instancetype)initWithSharedContentRemoveMember; +- (BOOL)isSignInAsSessionStart; /// -/// Initializes union class with tag state of "shared_content_request_access". +/// Retrieves whether the union's current tag state has value "sso_error". /// -/// Description of the "shared_content_request_access" tag state: Requested to -/// be on the membership of a shared file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `ssoError` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "sso_error". /// -- (instancetype)initWithSharedContentRequestAccess; +- (BOOL)isSsoError; /// -/// Initializes union class with tag state of "shared_content_unshare". +/// Retrieves whether the union's current tag state has value +/// "backup_admin_invitation_sent". /// -/// Description of the "shared_content_unshare" tag state: Unshared a shared -/// file or folder by clearing its membership and turning off its link. +/// @note Call this method and ensure it returns true before accessing the +/// `backupAdminInvitationSent` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "backup_admin_invitation_sent". /// -- (instancetype)initWithSharedContentUnshare; +- (BOOL)isBackupAdminInvitationSent; /// -/// Initializes union class with tag state of "shared_content_view". +/// Retrieves whether the union's current tag state has value +/// "backup_invitation_opened". /// -/// Description of the "shared_content_view" tag state: Previewed the shared -/// file or folder. +/// @note Call this method and ensure it returns true before accessing the +/// `backupInvitationOpened` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "backup_invitation_opened". /// -- (instancetype)initWithSharedContentView; +- (BOOL)isBackupInvitationOpened; /// -/// Initializes union class with tag state of -/// "shared_folder_change_confidentiality". +/// Retrieves whether the union's current tag state has value +/// "create_team_invite_link". /// -/// Description of the "shared_folder_change_confidentiality" tag state: Set or -/// unset the confidential flag on a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `createTeamInviteLink` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "create_team_invite_link". /// -- (instancetype)initWithSharedFolderChangeConfidentiality; +- (BOOL)isCreateTeamInviteLink; /// -/// Initializes union class with tag state of -/// "shared_folder_change_link_policy". +/// Retrieves whether the union's current tag state has value +/// "delete_team_invite_link". /// -/// Description of the "shared_folder_change_link_policy" tag state: Changed who -/// can access the shared folder via a link. +/// @note Call this method and ensure it returns true before accessing the +/// `deleteTeamInviteLink` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "delete_team_invite_link". /// -- (instancetype)initWithSharedFolderChangeLinkPolicy; +- (BOOL)isDeleteTeamInviteLink; /// -/// Initializes union class with tag state of -/// "shared_folder_change_member_management_policy". +/// Retrieves whether the union's current tag state has value +/// "member_add_external_id". /// -/// Description of the "shared_folder_change_member_management_policy" tag -/// state: Changed who can manage the membership of a shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `memberAddExternalId` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_add_external_id". /// -- (instancetype)initWithSharedFolderChangeMemberManagementPolicy; +- (BOOL)isMemberAddExternalId; /// -/// Initializes union class with tag state of -/// "shared_folder_change_member_policy". +/// Retrieves whether the union's current tag state has value "member_add_name". /// -/// Description of the "shared_folder_change_member_policy" tag state: Changed -/// who can become a member of the shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `memberAddName` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "member_add_name". /// -- (instancetype)initWithSharedFolderChangeMemberPolicy; +- (BOOL)isMemberAddName; /// -/// Initializes union class with tag state of "shared_folder_create". +/// Retrieves whether the union's current tag state has value +/// "member_change_admin_role". /// -/// Description of the "shared_folder_create" tag state: Created a shared -/// folder. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeAdminRole` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_admin_role". /// -- (instancetype)initWithSharedFolderCreate; +- (BOOL)isMemberChangeAdminRole; /// -/// Initializes union class with tag state of "shared_folder_mount". +/// Retrieves whether the union's current tag state has value +/// "member_change_email". /// -/// Description of the "shared_folder_mount" tag state: Added a shared folder to -/// own Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeEmail` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_email". /// -- (instancetype)initWithSharedFolderMount; +- (BOOL)isMemberChangeEmail; /// -/// Initializes union class with tag state of -/// "shared_folder_transfer_ownership". +/// Retrieves whether the union's current tag state has value +/// "member_change_external_id". /// -/// Description of the "shared_folder_transfer_ownership" tag state: Transferred -/// the ownership of a shared folder to another member. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeExternalId` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_external_id". /// -- (instancetype)initWithSharedFolderTransferOwnership; +- (BOOL)isMemberChangeExternalId; /// -/// Initializes union class with tag state of "shared_folder_unmount". +/// Retrieves whether the union's current tag state has value +/// "member_change_membership_type". /// -/// Description of the "shared_folder_unmount" tag state: Deleted a shared -/// folder from Dropbox. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeMembershipType` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_membership_type". /// -- (instancetype)initWithSharedFolderUnmount; +- (BOOL)isMemberChangeMembershipType; /// -/// Initializes union class with tag state of "shared_note_opened". +/// Retrieves whether the union's current tag state has value +/// "member_change_name". /// -/// Description of the "shared_note_opened" tag state: Shared Paper document was -/// opened. This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeName` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_name". /// -- (instancetype)initWithSharedNoteOpened; +- (BOOL)isMemberChangeName; /// -/// Initializes union class with tag state of "shmodel_app_create". +/// Retrieves whether the union's current tag state has value +/// "member_change_reseller_role". /// -/// Description of the "shmodel_app_create" tag state: Created a link to a file -/// using an app. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeResellerRole` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_reseller_role". /// -- (instancetype)initWithShmodelAppCreate; +- (BOOL)isMemberChangeResellerRole; /// -/// Initializes union class with tag state of "shmodel_create". +/// Retrieves whether the union's current tag state has value +/// "member_change_status". /// -/// Description of the "shmodel_create" tag state: Created a new link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberChangeStatus` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_change_status". /// -- (instancetype)initWithShmodelCreate; +- (BOOL)isMemberChangeStatus; /// -/// Initializes union class with tag state of "shmodel_disable". +/// Retrieves whether the union's current tag state has value +/// "member_delete_manual_contacts". /// -/// Description of the "shmodel_disable" tag state: Removed a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberDeleteManualContacts` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_delete_manual_contacts". /// -- (instancetype)initWithShmodelDisable; +- (BOOL)isMemberDeleteManualContacts; /// -/// Initializes union class with tag state of "shmodel_fb_share". +/// Retrieves whether the union's current tag state has value +/// "member_delete_profile_photo". /// -/// Description of the "shmodel_fb_share" tag state: Shared a link with Facebook -/// users. +/// @note Call this method and ensure it returns true before accessing the +/// `memberDeleteProfilePhoto` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_delete_profile_photo". /// -- (instancetype)initWithShmodelFbShare; +- (BOOL)isMemberDeleteProfilePhoto; /// -/// Initializes union class with tag state of "shmodel_group_share". +/// Retrieves whether the union's current tag state has value +/// "member_permanently_delete_account_contents". /// -/// Description of the "shmodel_group_share" tag state: Shared a link with a -/// group. This event is deprecated and will not be logged going forward as the -/// associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `memberPermanentlyDeleteAccountContents` property, otherwise a runtime +/// exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_permanently_delete_account_contents". /// -- (instancetype)initWithShmodelGroupShare; +- (BOOL)isMemberPermanentlyDeleteAccountContents; /// -/// Initializes union class with tag state of "shmodel_remove_expiration". +/// Retrieves whether the union's current tag state has value +/// "member_remove_external_id". /// -/// Description of the "shmodel_remove_expiration" tag state: Removed the -/// expiration date from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberRemoveExternalId` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_remove_external_id". /// -- (instancetype)initWithShmodelRemoveExpiration; +- (BOOL)isMemberRemoveExternalId; /// -/// Initializes union class with tag state of "shmodel_set_expiration". +/// Retrieves whether the union's current tag state has value +/// "member_set_profile_photo". /// -/// Description of the "shmodel_set_expiration" tag state: Added an expiration -/// date to a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSetProfilePhoto` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_set_profile_photo". /// -- (instancetype)initWithShmodelSetExpiration; +- (BOOL)isMemberSetProfilePhoto; /// -/// Initializes union class with tag state of "shmodel_team_copy". +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_add_custom_quota". /// -/// Description of the "shmodel_team_copy" tag state: Added a team member's -/// file/folder to their Dropbox from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsAddCustomQuota` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_add_custom_quota". /// -- (instancetype)initWithShmodelTeamCopy; +- (BOOL)isMemberSpaceLimitsAddCustomQuota; /// -/// Initializes union class with tag state of "shmodel_team_download". +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_custom_quota". /// -/// Description of the "shmodel_team_download" tag state: Downloaded a team -/// member's file/folder from a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangeCustomQuota` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_custom_quota". /// -- (instancetype)initWithShmodelTeamDownload; +- (BOOL)isMemberSpaceLimitsChangeCustomQuota; /// -/// Initializes union class with tag state of "shmodel_team_share". +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_status". /// -/// Description of the "shmodel_team_share" tag state: Shared a link with team -/// members. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangeStatus` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_status". /// -- (instancetype)initWithShmodelTeamShare; +- (BOOL)isMemberSpaceLimitsChangeStatus; /// -/// Initializes union class with tag state of "shmodel_team_view". +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota". /// -/// Description of the "shmodel_team_view" tag state: Opened a team member's -/// link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsRemoveCustomQuota` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota". /// -- (instancetype)initWithShmodelTeamView; +- (BOOL)isMemberSpaceLimitsRemoveCustomQuota; /// -/// Initializes union class with tag state of "shmodel_visibility_password". +/// Retrieves whether the union's current tag state has value "member_suggest". /// -/// Description of the "shmodel_visibility_password" tag state: -/// Password-protected a link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberSuggest` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "member_suggest". /// -- (instancetype)initWithShmodelVisibilityPassword; +- (BOOL)isMemberSuggest; /// -/// Initializes union class with tag state of "shmodel_visibility_public". +/// Retrieves whether the union's current tag state has value +/// "member_transfer_account_contents". /// -/// Description of the "shmodel_visibility_public" tag state: Made a file/folder -/// visible to anyone with the link. +/// @note Call this method and ensure it returns true before accessing the +/// `memberTransferAccountContents` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "member_transfer_account_contents". /// -- (instancetype)initWithShmodelVisibilityPublic; +- (BOOL)isMemberTransferAccountContents; /// -/// Initializes union class with tag state of "shmodel_visibility_team_only". +/// Retrieves whether the union's current tag state has value +/// "pending_secondary_email_added". /// -/// Description of the "shmodel_visibility_team_only" tag state: Made a -/// file/folder visible only to team members with the link. +/// @note Call this method and ensure it returns true before accessing the +/// `pendingSecondaryEmailAdded` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "pending_secondary_email_added". /// -- (instancetype)initWithShmodelVisibilityTeamOnly; +- (BOOL)isPendingSecondaryEmailAdded; /// -/// Initializes union class with tag state of "sso_add_cert". +/// Retrieves whether the union's current tag state has value +/// "secondary_email_deleted". /// -/// Description of the "sso_add_cert" tag state: Added the X.509 certificate for -/// SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryEmailDeleted` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_email_deleted". /// -- (instancetype)initWithSsoAddCert; +- (BOOL)isSecondaryEmailDeleted; /// -/// Initializes union class with tag state of "sso_add_login_url". +/// Retrieves whether the union's current tag state has value +/// "secondary_email_verified". /// -/// Description of the "sso_add_login_url" tag state: Added sign-in URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryEmailVerified` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_email_verified". /// -- (instancetype)initWithSsoAddLoginUrl; +- (BOOL)isSecondaryEmailVerified; /// -/// Initializes union class with tag state of "sso_add_logout_url". +/// Retrieves whether the union's current tag state has value +/// "secondary_mails_policy_changed". /// -/// Description of the "sso_add_logout_url" tag state: Added sign-out URL for -/// SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryMailsPolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "secondary_mails_policy_changed". /// -- (instancetype)initWithSsoAddLogoutUrl; +- (BOOL)isSecondaryMailsPolicyChanged; /// -/// Initializes union class with tag state of "sso_change_cert". +/// Retrieves whether the union's current tag state has value "binder_add_page". /// -/// Description of the "sso_change_cert" tag state: Changed the X.509 -/// certificate for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderAddPage` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "binder_add_page". /// -- (instancetype)initWithSsoChangeCert; +- (BOOL)isBinderAddPage; /// -/// Initializes union class with tag state of "sso_change_login_url". +/// Retrieves whether the union's current tag state has value +/// "binder_add_section". /// -/// Description of the "sso_change_login_url" tag state: Changed the sign-in URL -/// for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderAddSection` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_add_section". /// -- (instancetype)initWithSsoChangeLoginUrl; +- (BOOL)isBinderAddSection; /// -/// Initializes union class with tag state of "sso_change_logout_url". +/// Retrieves whether the union's current tag state has value +/// "binder_remove_page". /// -/// Description of the "sso_change_logout_url" tag state: Changed the sign-out -/// URL for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRemovePage` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_remove_page". /// -- (instancetype)initWithSsoChangeLogoutUrl; +- (BOOL)isBinderRemovePage; /// -/// Initializes union class with tag state of "sso_change_saml_identity_mode". +/// Retrieves whether the union's current tag state has value +/// "binder_remove_section". /// -/// Description of the "sso_change_saml_identity_mode" tag state: Changed the -/// SAML identity mode for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRemoveSection` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_remove_section". /// -- (instancetype)initWithSsoChangeSamlIdentityMode; +- (BOOL)isBinderRemoveSection; /// -/// Initializes union class with tag state of "sso_remove_cert". +/// Retrieves whether the union's current tag state has value +/// "binder_rename_page". /// -/// Description of the "sso_remove_cert" tag state: Removed the X.509 -/// certificate for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRenamePage` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_rename_page". /// -- (instancetype)initWithSsoRemoveCert; +- (BOOL)isBinderRenamePage; /// -/// Initializes union class with tag state of "sso_remove_login_url". +/// Retrieves whether the union's current tag state has value +/// "binder_rename_section". /// -/// Description of the "sso_remove_login_url" tag state: Removed the sign-in URL -/// for SSO. +/// @note Call this method and ensure it returns true before accessing the +/// `binderRenameSection` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_rename_section". /// -- (instancetype)initWithSsoRemoveLoginUrl; +- (BOOL)isBinderRenameSection; /// -/// Initializes union class with tag state of "sso_remove_logout_url". +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_page". /// -/// Description of the "sso_remove_logout_url" tag state: Removed single sign-on -/// logout URL. +/// @note Call this method and ensure it returns true before accessing the +/// `binderReorderPage` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_reorder_page". /// -- (instancetype)initWithSsoRemoveLogoutUrl; +- (BOOL)isBinderReorderPage; /// -/// Initializes union class with tag state of "team_folder_change_status". +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_section". /// -/// Description of the "team_folder_change_status" tag state: Changed the -/// archival status of a team folder. +/// @note Call this method and ensure it returns true before accessing the +/// `binderReorderSection` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "binder_reorder_section". /// -- (instancetype)initWithTeamFolderChangeStatus; +- (BOOL)isBinderReorderSection; /// -/// Initializes union class with tag state of "team_folder_create". +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_member". /// -/// Description of the "team_folder_create" tag state: Created a new team folder -/// in active status. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentAddMember` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_add_member". /// -- (instancetype)initWithTeamFolderCreate; +- (BOOL)isPaperContentAddMember; /// -/// Initializes union class with tag state of "team_folder_downgrade". +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_to_folder". /// -/// Description of the "team_folder_downgrade" tag state: Downgraded a team -/// folder to a regular shared folder. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentAddToFolder` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_add_to_folder". /// -- (instancetype)initWithTeamFolderDowngrade; +- (BOOL)isPaperContentAddToFolder; /// -/// Initializes union class with tag state of "team_folder_permanently_delete". +/// Retrieves whether the union's current tag state has value +/// "paper_content_archive". /// -/// Description of the "team_folder_permanently_delete" tag state: Permanently -/// deleted an archived team folder. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentArchive` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_archive". /// -- (instancetype)initWithTeamFolderPermanentlyDelete; +- (BOOL)isPaperContentArchive; /// -/// Initializes union class with tag state of "team_folder_rename". +/// Retrieves whether the union's current tag state has value +/// "paper_content_create". /// -/// Description of the "team_folder_rename" tag state: Renamed an active or -/// archived team folder. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentCreate` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_create". /// -- (instancetype)initWithTeamFolderRename; +- (BOOL)isPaperContentCreate; /// -/// Initializes union class with tag state of "account_capture_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_content_permanently_delete". /// -/// Description of the "account_capture_change_policy" tag state: Changed the -/// account capture policy on a domain belonging to the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentPermanentlyDelete` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_permanently_delete". /// -- (instancetype)initWithAccountCaptureChangePolicy; +- (BOOL)isPaperContentPermanentlyDelete; /// -/// Initializes union class with tag state of "allow_download_disabled". +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_from_folder". /// -/// Description of the "allow_download_disabled" tag state: Disabled allow -/// downloads. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRemoveFromFolder` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_remove_from_folder". /// -- (instancetype)initWithAllowDownloadDisabled; +- (BOOL)isPaperContentRemoveFromFolder; /// -/// Initializes union class with tag state of "allow_download_enabled". +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_member". /// -/// Description of the "allow_download_enabled" tag state: Enabled allow -/// downloads. This event is deprecated and will not be logged going forward as -/// the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRemoveMember` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_remove_member". /// -- (instancetype)initWithAllowDownloadEnabled; +- (BOOL)isPaperContentRemoveMember; /// -/// Initializes union class with tag state of -/// "data_placement_restriction_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_content_rename". /// -/// Description of the "data_placement_restriction_change_policy" tag state: Set -/// a restriction policy regarding the location of data centers where team data -/// resides. +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRename` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_rename". /// -- (instancetype)initWithDataPlacementRestrictionChangePolicy; +- (BOOL)isPaperContentRename; /// -/// Initializes union class with tag state of -/// "data_placement_restriction_satisfy_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_content_restore". /// -/// Description of the "data_placement_restriction_satisfy_policy" tag state: -/// Satisfied a previously set restriction policy regarding the location of data -/// centers where team data resides (i.e. all data have been migrated according -/// to the restriction placed). +/// @note Call this method and ensure it returns true before accessing the +/// `paperContentRestore` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_content_restore". /// -- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy; +- (BOOL)isPaperContentRestore; /// -/// Initializes union class with tag state of -/// "device_approvals_change_desktop_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_add_comment". /// -/// Description of the "device_approvals_change_desktop_policy" tag state: Set -/// or removed a limit on the number of computers each team member can link to -/// their work Dropbox account. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocAddComment` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_add_comment". /// -- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy; +- (BOOL)isPaperDocAddComment; /// -/// Initializes union class with tag state of -/// "device_approvals_change_mobile_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_member_role". /// -/// Description of the "device_approvals_change_mobile_policy" tag state: Set or -/// removed a limit on the number of mobiles devices each team member can link -/// to their work Dropbox account. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeMemberRole` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_member_role". /// -- (instancetype)initWithDeviceApprovalsChangeMobilePolicy; +- (BOOL)isPaperDocChangeMemberRole; /// -/// Initializes union class with tag state of -/// "device_approvals_change_overage_action". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_sharing_policy". /// -/// Description of the "device_approvals_change_overage_action" tag state: -/// Changed the action taken when a team member is already over the limits (e.g -/// when they join the team, an admin lowers limits, etc.). +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeSharingPolicy` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_sharing_policy". /// -- (instancetype)initWithDeviceApprovalsChangeOverageAction; +- (BOOL)isPaperDocChangeSharingPolicy; /// -/// Initializes union class with tag state of -/// "device_approvals_change_unlink_action". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_subscription". /// -/// Description of the "device_approvals_change_unlink_action" tag state: -/// Changed the action taken with respect to approval limits when a team member -/// unlinks an approved device. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocChangeSubscription` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_change_subscription". /// -- (instancetype)initWithDeviceApprovalsChangeUnlinkAction; +- (BOOL)isPaperDocChangeSubscription; /// -/// Initializes union class with tag state of "emm_add_exception". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_deleted". /// -/// Description of the "emm_add_exception" tag state: Added an exception for one -/// or more team members to optionally use the regular Dropbox app when EMM is -/// enabled. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDeleted` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_deleted". /// -- (instancetype)initWithEmmAddException; +- (BOOL)isPaperDocDeleted; /// -/// Initializes union class with tag state of "emm_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_delete_comment". /// -/// Description of the "emm_change_policy" tag state: Enabled or disabled -/// enterprise mobility management for team members. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDeleteComment` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_delete_comment". /// -- (instancetype)initWithEmmChangePolicy; +- (BOOL)isPaperDocDeleteComment; /// -/// Initializes union class with tag state of "emm_remove_exception". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_download". /// -/// Description of the "emm_remove_exception" tag state: Removed an exception -/// for one or more team members to optionally use the regular Dropbox app when -/// EMM is enabled. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocDownload` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_download". /// -- (instancetype)initWithEmmRemoveException; +- (BOOL)isPaperDocDownload; /// -/// Initializes union class with tag state of -/// "extended_version_history_change_policy". +/// Retrieves whether the union's current tag state has value "paper_doc_edit". /// -/// Description of the "extended_version_history_change_policy" tag state: -/// Accepted or opted out of extended version history. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocEdit` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_edit". /// -- (instancetype)initWithExtendedVersionHistoryChangePolicy; +- (BOOL)isPaperDocEdit; /// -/// Initializes union class with tag state of "file_comments_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_edit_comment". /// -/// Description of the "file_comments_change_policy" tag state: Enabled or -/// disabled commenting on team files. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocEditComment` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_edit_comment". /// -- (instancetype)initWithFileCommentsChangePolicy; +- (BOOL)isPaperDocEditComment; /// -/// Initializes union class with tag state of "file_requests_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_followed". /// -/// Description of the "file_requests_change_policy" tag state: Enabled or -/// disabled file requests. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocFollowed` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_followed". /// -- (instancetype)initWithFileRequestsChangePolicy; +- (BOOL)isPaperDocFollowed; /// -/// Initializes union class with tag state of "file_requests_emails_enabled". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_mention". /// -/// Description of the "file_requests_emails_enabled" tag state: Enabled file -/// request emails for everyone. This event is deprecated and will not be logged -/// going forward as the associated product functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocMention` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_mention". /// -- (instancetype)initWithFileRequestsEmailsEnabled; +- (BOOL)isPaperDocMention; /// -/// Initializes union class with tag state of -/// "file_requests_emails_restricted_to_team_only". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_ownership_changed". /// -/// Description of the "file_requests_emails_restricted_to_team_only" tag state: -/// Allowed file request emails for the team. This event is deprecated and will -/// not be logged going forward as the associated product functionality no -/// longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocOwnershipChanged` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_ownership_changed". /// -- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly; +- (BOOL)isPaperDocOwnershipChanged; /// -/// Initializes union class with tag state of "google_sso_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_request_access". /// -/// Description of the "google_sso_change_policy" tag state: Enabled or disabled -/// Google single sign-on for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocRequestAccess` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_request_access". /// -- (instancetype)initWithGoogleSsoChangePolicy; +- (BOOL)isPaperDocRequestAccess; /// -/// Initializes union class with tag state of -/// "group_user_management_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_resolve_comment". /// -/// Description of the "group_user_management_change_policy" tag state: Changed -/// who can create groups. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocResolveComment` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_resolve_comment". /// -- (instancetype)initWithGroupUserManagementChangePolicy; +- (BOOL)isPaperDocResolveComment; /// -/// Initializes union class with tag state of "member_requests_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_revert". /// -/// Description of the "member_requests_change_policy" tag state: Changed -/// whether users can find the team when not invited. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocRevert` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_revert". /// -- (instancetype)initWithMemberRequestsChangePolicy; +- (BOOL)isPaperDocRevert; /// -/// Initializes union class with tag state of -/// "member_space_limits_add_exception". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_slack_share". /// -/// Description of the "member_space_limits_add_exception" tag state: Added an -/// exception for one or more team members to bypass space limits imposed by -/// policy. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocSlackShare` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_slack_share". /// -- (instancetype)initWithMemberSpaceLimitsAddException; +- (BOOL)isPaperDocSlackShare; /// -/// Initializes union class with tag state of -/// "member_space_limits_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_team_invite". /// -/// Description of the "member_space_limits_change_policy" tag state: Changed -/// the team default limit level. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocTeamInvite` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_team_invite". /// -- (instancetype)initWithMemberSpaceLimitsChangePolicy; +- (BOOL)isPaperDocTeamInvite; /// -/// Initializes union class with tag state of -/// "member_space_limits_remove_exception". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_trashed". /// -/// Description of the "member_space_limits_remove_exception" tag state: Removed -/// an exception for one or more team members to bypass space limits imposed by -/// policy. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocTrashed` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_trashed". /// -- (instancetype)initWithMemberSpaceLimitsRemoveException; +- (BOOL)isPaperDocTrashed; /// -/// Initializes union class with tag state of -/// "member_suggestions_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_unresolve_comment". /// -/// Description of the "member_suggestions_change_policy" tag state: Enabled or -/// disabled the option for team members to suggest new members to add to the -/// team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocUnresolveComment` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_unresolve_comment". /// -- (instancetype)initWithMemberSuggestionsChangePolicy; +- (BOOL)isPaperDocUnresolveComment; /// -/// Initializes union class with tag state of -/// "microsoft_office_addin_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_doc_untrashed". /// -/// Description of the "microsoft_office_addin_change_policy" tag state: Enabled -/// or disabled the Microsoft Office add-in, which lets team members save files -/// to Dropbox directly from Microsoft Office. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocUntrashed` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_doc_untrashed". /// -- (instancetype)initWithMicrosoftOfficeAddinChangePolicy; +- (BOOL)isPaperDocUntrashed; /// -/// Initializes union class with tag state of "network_control_change_policy". +/// Retrieves whether the union's current tag state has value "paper_doc_view". /// -/// Description of the "network_control_change_policy" tag state: Enabled or -/// disabled network control. +/// @note Call this method and ensure it returns true before accessing the +/// `paperDocView` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "paper_doc_view". /// -- (instancetype)initWithNetworkControlChangePolicy; +- (BOOL)isPaperDocView; /// -/// Initializes union class with tag state of "paper_change_deployment_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_allow". /// -/// Description of the "paper_change_deployment_policy" tag state: Changed -/// whether Dropbox Paper, when enabled, is deployed to all teams or to specific -/// members of the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewAllow` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_allow". /// -- (instancetype)initWithPaperChangeDeploymentPolicy; +- (BOOL)isPaperExternalViewAllow; /// -/// Initializes union class with tag state of "paper_change_member_link_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_default_team". /// -/// Description of the "paper_change_member_link_policy" tag state: Changed -/// whether non team members can view Paper documents using a link. This event -/// is deprecated and will not be logged going forward as the associated product -/// functionality no longer exists. +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewDefaultTeam` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_default_team". /// -- (instancetype)initWithPaperChangeMemberLinkPolicy; +- (BOOL)isPaperExternalViewDefaultTeam; /// -/// Initializes union class with tag state of "paper_change_member_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_forbid". /// -/// Description of the "paper_change_member_policy" tag state: Changed whether -/// team members can share Paper documents externally (i.e. outside the team), -/// and if so, whether they should be accessible only by team members or anyone -/// by default. +/// @note Call this method and ensure it returns true before accessing the +/// `paperExternalViewForbid` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_external_view_forbid". /// -- (instancetype)initWithPaperChangeMemberPolicy; +- (BOOL)isPaperExternalViewForbid; /// -/// Initializes union class with tag state of "paper_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_folder_change_subscription". /// -/// Description of the "paper_change_policy" tag state: Enabled or disabled -/// Dropbox Paper for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderChangeSubscription` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_change_subscription". /// -- (instancetype)initWithPaperChangePolicy; +- (BOOL)isPaperFolderChangeSubscription; /// -/// Initializes union class with tag state of "permanent_delete_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_folder_deleted". /// -/// Description of the "permanent_delete_change_policy" tag state: Enabled or -/// disabled the ability of team members to permanently delete content. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderDeleted` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_deleted". /// -- (instancetype)initWithPermanentDeleteChangePolicy; +- (BOOL)isPaperFolderDeleted; /// -/// Initializes union class with tag state of -/// "sharing_change_folder_join_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_folder_followed". /// -/// Description of the "sharing_change_folder_join_policy" tag state: Changed -/// whether team members can join shared folders owned externally (i.e. outside -/// the team). +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderFollowed` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_followed". /// -- (instancetype)initWithSharingChangeFolderJoinPolicy; +- (BOOL)isPaperFolderFollowed; /// -/// Initializes union class with tag state of "sharing_change_link_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_folder_team_invite". /// -/// Description of the "sharing_change_link_policy" tag state: Changed whether -/// team members can share links externally (i.e. outside the team), and if so, -/// whether links should be accessible only by team members or anyone by -/// default. +/// @note Call this method and ensure it returns true before accessing the +/// `paperFolderTeamInvite` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_folder_team_invite". /// -- (instancetype)initWithSharingChangeLinkPolicy; +- (BOOL)isPaperFolderTeamInvite; /// -/// Initializes union class with tag state of "sharing_change_member_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_change_permission". /// -/// Description of the "sharing_change_member_policy" tag state: Changed whether -/// team members can share files and folders externally (i.e. outside the team). +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkChangePermission` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_change_permission". /// -- (instancetype)initWithSharingChangeMemberPolicy; +- (BOOL)isPaperPublishedLinkChangePermission; /// -/// Initializes union class with tag state of "smart_sync_change_policy". +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_create". /// -/// Description of the "smart_sync_change_policy" tag state: Changed the default -/// Smart Sync policy for team members. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkCreate` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_create". /// -- (instancetype)initWithSmartSyncChangePolicy; +- (BOOL)isPaperPublishedLinkCreate; /// -/// Initializes union class with tag state of "smart_sync_not_opt_out". +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_disabled". /// -/// Description of the "smart_sync_not_opt_out" tag state: Opted team into Smart -/// Sync. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkDisabled` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_disabled". /// -- (instancetype)initWithSmartSyncNotOptOut; +- (BOOL)isPaperPublishedLinkDisabled; /// -/// Initializes union class with tag state of "smart_sync_opt_out". +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_view". /// -/// Description of the "smart_sync_opt_out" tag state: Opted team out of Smart -/// Sync. +/// @note Call this method and ensure it returns true before accessing the +/// `paperPublishedLinkView` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "paper_published_link_view". /// -- (instancetype)initWithSmartSyncOptOut; +- (BOOL)isPaperPublishedLinkView; /// -/// Initializes union class with tag state of "sso_change_policy". +/// Retrieves whether the union's current tag state has value "password_change". /// -/// Description of the "sso_change_policy" tag state: Change the single sign-on -/// policy for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordChange` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "password_change". /// -- (instancetype)initWithSsoChangePolicy; +- (BOOL)isPasswordChange; /// -/// Initializes union class with tag state of "tfa_change_policy". +/// Retrieves whether the union's current tag state has value "password_reset". /// -/// Description of the "tfa_change_policy" tag state: Change two-step -/// verification policy for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordReset` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value "password_reset". /// -- (instancetype)initWithTfaChangePolicy; +- (BOOL)isPasswordReset; /// -/// Initializes union class with tag state of "two_account_change_policy". +/// Retrieves whether the union's current tag state has value +/// "password_reset_all". /// -/// Description of the "two_account_change_policy" tag state: Enabled or -/// disabled the option for team members to link a personal Dropbox account in -/// addition to their work account to the same computer. +/// @note Call this method and ensure it returns true before accessing the +/// `passwordResetAll` property, otherwise a runtime exception will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "password_reset_all". /// -- (instancetype)initWithTwoAccountChangePolicy; +- (BOOL)isPasswordResetAll; /// -/// Initializes union class with tag state of -/// "web_sessions_change_fixed_length_policy". +/// Retrieves whether the union's current tag state has value +/// "classification_create_report". /// -/// Description of the "web_sessions_change_fixed_length_policy" tag state: -/// Changed how long team members can stay signed in to Dropbox on the web. +/// @note Call this method and ensure it returns true before accessing the +/// `classificationCreateReport` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "classification_create_report". /// -- (instancetype)initWithWebSessionsChangeFixedLengthPolicy; +- (BOOL)isClassificationCreateReport; /// -/// Initializes union class with tag state of -/// "web_sessions_change_idle_length_policy". +/// Retrieves whether the union's current tag state has value +/// "classification_create_report_fail". /// -/// Description of the "web_sessions_change_idle_length_policy" tag state: -/// Changed how long team members can be idle while signed in to Dropbox on the -/// web. +/// @note Call this method and ensure it returns true before accessing the +/// `classificationCreateReportFail` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "classification_create_report_fail". /// -- (instancetype)initWithWebSessionsChangeIdleLengthPolicy; +- (BOOL)isClassificationCreateReportFail; /// -/// Initializes union class with tag state of "team_profile_add_logo". +/// Retrieves whether the union's current tag state has value +/// "emm_create_exceptions_report". /// -/// Description of the "team_profile_add_logo" tag state: Added a team logo to -/// be displayed on shared link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `emmCreateExceptionsReport` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_create_exceptions_report". /// -- (instancetype)initWithTeamProfileAddLogo; +- (BOOL)isEmmCreateExceptionsReport; /// -/// Initializes union class with tag state of -/// "team_profile_change_default_language". +/// Retrieves whether the union's current tag state has value +/// "emm_create_usage_report". /// -/// Description of the "team_profile_change_default_language" tag state: Changed -/// the default language for the team. +/// @note Call this method and ensure it returns true before accessing the +/// `emmCreateUsageReport` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "emm_create_usage_report". /// -- (instancetype)initWithTeamProfileChangeDefaultLanguage; +- (BOOL)isEmmCreateUsageReport; /// -/// Initializes union class with tag state of "team_profile_change_logo". +/// Retrieves whether the union's current tag state has value +/// "export_members_report". /// -/// Description of the "team_profile_change_logo" tag state: Changed the team -/// logo to be displayed on shared link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `exportMembersReport` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "export_members_report". /// -- (instancetype)initWithTeamProfileChangeLogo; +- (BOOL)isExportMembersReport; /// -/// Initializes union class with tag state of "team_profile_change_name". +/// Retrieves whether the union's current tag state has value +/// "export_members_report_fail". /// -/// Description of the "team_profile_change_name" tag state: Changed the team -/// name. +/// @note Call this method and ensure it returns true before accessing the +/// `exportMembersReportFail` property, otherwise a runtime exception will be +/// thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "export_members_report_fail". /// -- (instancetype)initWithTeamProfileChangeName; +- (BOOL)isExportMembersReportFail; /// -/// Initializes union class with tag state of "team_profile_remove_logo". +/// Retrieves whether the union's current tag state has value +/// "external_sharing_create_report". /// -/// Description of the "team_profile_remove_logo" tag state: Removed the team -/// logo to be displayed on shared link headers. +/// @note Call this method and ensure it returns true before accessing the +/// `externalSharingCreateReport` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_sharing_create_report". /// -- (instancetype)initWithTeamProfileRemoveLogo; +- (BOOL)isExternalSharingCreateReport; /// -/// Initializes union class with tag state of "tfa_add_backup_phone". +/// Retrieves whether the union's current tag state has value +/// "external_sharing_report_failed". /// -/// Description of the "tfa_add_backup_phone" tag state: Added a backup phone -/// for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `externalSharingReportFailed` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "external_sharing_report_failed". /// -- (instancetype)initWithTfaAddBackupPhone; +- (BOOL)isExternalSharingReportFailed; /// -/// Initializes union class with tag state of "tfa_add_security_key". +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_create_report". /// -/// Description of the "tfa_add_security_key" tag state: Added a security key -/// for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `noExpirationLinkGenCreateReport` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_create_report". /// -- (instancetype)initWithTfaAddSecurityKey; +- (BOOL)isNoExpirationLinkGenCreateReport; /// -/// Initializes union class with tag state of "tfa_change_backup_phone". +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed". /// -/// Description of the "tfa_change_backup_phone" tag state: Changed the backup -/// phone for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `noExpirationLinkGenReportFailed` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed". /// -- (instancetype)initWithTfaChangeBackupPhone; +- (BOOL)isNoExpirationLinkGenReportFailed; /// -/// Initializes union class with tag state of "tfa_change_status". +/// Retrieves whether the union's current tag state has value +/// "no_password_link_gen_create_report". /// -/// Description of the "tfa_change_status" tag state: Enabled, disabled or -/// changed the configuration for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `noPasswordLinkGenCreateReport` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_password_link_gen_create_report". /// -- (instancetype)initWithTfaChangeStatus; +- (BOOL)isNoPasswordLinkGenCreateReport; /// -/// Initializes union class with tag state of "tfa_remove_backup_phone". +/// Retrieves whether the union's current tag state has value +/// "no_password_link_gen_report_failed". /// -/// Description of the "tfa_remove_backup_phone" tag state: Removed the backup -/// phone for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `noPasswordLinkGenReportFailed` property, otherwise a runtime exception will +/// be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_password_link_gen_report_failed". /// -- (instancetype)initWithTfaRemoveBackupPhone; +- (BOOL)isNoPasswordLinkGenReportFailed; /// -/// Initializes union class with tag state of "tfa_remove_security_key". +/// Retrieves whether the union's current tag state has value +/// "no_password_link_view_create_report". /// -/// Description of the "tfa_remove_security_key" tag state: Removed a security -/// key for two-step verification. +/// @note Call this method and ensure it returns true before accessing the +/// `noPasswordLinkViewCreateReport` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_password_link_view_create_report". /// -- (instancetype)initWithTfaRemoveSecurityKey; +- (BOOL)isNoPasswordLinkViewCreateReport; /// -/// Initializes union class with tag state of "tfa_reset". +/// Retrieves whether the union's current tag state has value +/// "no_password_link_view_report_failed". /// -/// Description of the "tfa_reset" tag state: Reset two-step verification for -/// team member. +/// @note Call this method and ensure it returns true before accessing the +/// `noPasswordLinkViewReportFailed` property, otherwise a runtime exception +/// will be thrown. /// -/// @return An initialized instance. +/// @return Whether the union's current tag state has value +/// "no_password_link_view_report_failed". /// -- (instancetype)initWithTfaReset; +- (BOOL)isNoPasswordLinkViewReportFailed; /// -/// Initializes union class with tag state of "other". +/// Retrieves whether the union's current tag state has value +/// "outdated_link_view_create_report". /// -/// @return An initialized instance. +/// @note Call this method and ensure it returns true before accessing the +/// `outdatedLinkViewCreateReport` property, otherwise a runtime exception will +/// be thrown. /// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods +/// @return Whether the union's current tag state has value +/// "outdated_link_view_create_report". +/// +- (BOOL)isOutdatedLinkViewCreateReport; /// /// Retrieves whether the union's current tag state has value -/// "member_change_membership_type". +/// "outdated_link_view_report_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `outdatedLinkViewReportFailed` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_membership_type". +/// "outdated_link_view_report_failed". /// -- (BOOL)isMemberChangeMembershipType; +- (BOOL)isOutdatedLinkViewReportFailed; /// /// Retrieves whether the union's current tag state has value -/// "member_permanently_delete_account_contents". +/// "paper_admin_export_start". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperAdminExportStart` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_permanently_delete_account_contents". +/// "paper_admin_export_start". /// -- (BOOL)isMemberPermanentlyDeleteAccountContents; +- (BOOL)isPaperAdminExportStart; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_change_status". +/// "ransomware_alert_create_report". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareAlertCreateReport` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_change_status". +/// "ransomware_alert_create_report". /// -- (BOOL)isMemberSpaceLimitsChangeStatus; +- (BOOL)isRansomwareAlertCreateReport; /// /// Retrieves whether the union's current tag state has value -/// "member_transfer_account_contents". +/// "ransomware_alert_create_report_failed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ransomwareAlertCreateReportFailed` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_transfer_account_contents". +/// "ransomware_alert_create_report_failed". /// -- (BOOL)isMemberTransferAccountContents; +- (BOOL)isRansomwareAlertCreateReportFailed; /// /// Retrieves whether the union's current tag state has value -/// "paper_admin_export_start". +/// "smart_sync_create_admin_privilege_report". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `smartSyncCreateAdminPrivilegeReport` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_admin_export_start". +/// "smart_sync_create_admin_privilege_report". /// -- (BOOL)isPaperAdminExportStart; +- (BOOL)isSmartSyncCreateAdminPrivilegeReport; /// /// Retrieves whether the union's current tag state has value -/// "paper_enabled_users_group_addition". +/// "team_activity_create_report". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamActivityCreateReport` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_enabled_users_group_addition". +/// "team_activity_create_report". /// -- (BOOL)isPaperEnabledUsersGroupAddition; +- (BOOL)isTeamActivityCreateReport; /// /// Retrieves whether the union's current tag state has value -/// "paper_enabled_users_group_removal". +/// "team_activity_create_report_fail". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamActivityCreateReportFail` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_enabled_users_group_removal". +/// "team_activity_create_report_fail". /// -- (BOOL)isPaperEnabledUsersGroupRemoval; +- (BOOL)isTeamActivityCreateReportFail; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_allow". +/// "collection_share". /// -/// @return Whether the union's current tag state has value -/// "paper_external_view_allow". +/// @note Call this method and ensure it returns true before accessing the +/// `collectionShare` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperExternalViewAllow; +/// @return Whether the union's current tag state has value "collection_share". +/// +- (BOOL)isCollectionShare; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_default_team". +/// "file_transfers_file_add". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersFileAdd` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_external_view_default_team". +/// "file_transfers_file_add". /// -- (BOOL)isPaperExternalViewDefaultTeam; +- (BOOL)isFileTransfersFileAdd; /// /// Retrieves whether the union's current tag state has value -/// "paper_external_view_forbid". +/// "file_transfers_transfer_delete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersTransferDelete` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_external_view_forbid". +/// "file_transfers_transfer_delete". /// -- (BOOL)isPaperExternalViewForbid; +- (BOOL)isFileTransfersTransferDelete; /// /// Retrieves whether the union's current tag state has value -/// "sf_external_invite_warn". +/// "file_transfers_transfer_download". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersTransferDownload` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_external_invite_warn". +/// "file_transfers_transfer_download". /// -- (BOOL)isSfExternalInviteWarn; +- (BOOL)isFileTransfersTransferDownload; /// -/// Retrieves whether the union's current tag state has value "team_merge_from". +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_send". /// -/// @return Whether the union's current tag state has value "team_merge_from". +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersTransferSend` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isTeamMergeFrom; +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_send". +/// +- (BOOL)isFileTransfersTransferSend; /// -/// Retrieves whether the union's current tag state has value "team_merge_to". +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_view". /// -/// @return Whether the union's current tag state has value "team_merge_to". +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersTransferView` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isTeamMergeTo; +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_view". +/// +- (BOOL)isFileTransfersTransferView; /// -/// Retrieves whether the union's current tag state has value "app_link_team". +/// Retrieves whether the union's current tag state has value +/// "note_acl_invite_only". /// -/// @return Whether the union's current tag state has value "app_link_team". +/// @note Call this method and ensure it returns true before accessing the +/// `noteAclInviteOnly` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAppLinkTeam; +/// @return Whether the union's current tag state has value +/// "note_acl_invite_only". +/// +- (BOOL)isNoteAclInviteOnly; /// -/// Retrieves whether the union's current tag state has value "app_link_user". +/// Retrieves whether the union's current tag state has value "note_acl_link". /// -/// @return Whether the union's current tag state has value "app_link_user". +/// @note Call this method and ensure it returns true before accessing the +/// `noteAclLink` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAppLinkUser; +/// @return Whether the union's current tag state has value "note_acl_link". +/// +- (BOOL)isNoteAclLink; /// -/// Retrieves whether the union's current tag state has value "app_unlink_team". +/// Retrieves whether the union's current tag state has value +/// "note_acl_team_link". /// -/// @return Whether the union's current tag state has value "app_unlink_team". +/// @note Call this method and ensure it returns true before accessing the +/// `noteAclTeamLink` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAppUnlinkTeam; +/// @return Whether the union's current tag state has value +/// "note_acl_team_link". +/// +- (BOOL)isNoteAclTeamLink; /// -/// Retrieves whether the union's current tag state has value "app_unlink_user". +/// Retrieves whether the union's current tag state has value "note_shared". /// -/// @return Whether the union's current tag state has value "app_unlink_user". +/// @note Call this method and ensure it returns true before accessing the +/// `noteShared` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAppUnlinkUser; +/// @return Whether the union's current tag state has value "note_shared". +/// +- (BOOL)isNoteShared; /// /// Retrieves whether the union's current tag state has value -/// "file_add_comment". +/// "note_share_receive". /// -/// @return Whether the union's current tag state has value "file_add_comment". +/// @note Call this method and ensure it returns true before accessing the +/// `noteShareReceive` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isFileAddComment; +/// @return Whether the union's current tag state has value +/// "note_share_receive". +/// +- (BOOL)isNoteShareReceive; /// /// Retrieves whether the union's current tag state has value -/// "file_change_comment_subscription". +/// "open_note_shared". /// -/// @return Whether the union's current tag state has value -/// "file_change_comment_subscription". +/// @note Call this method and ensure it returns true before accessing the +/// `openNoteShared` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isFileChangeCommentSubscription; +/// @return Whether the union's current tag state has value "open_note_shared". +/// +- (BOOL)isOpenNoteShared; /// /// Retrieves whether the union's current tag state has value -/// "file_delete_comment". +/// "replay_file_shared_link_created". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `replayFileSharedLinkCreated` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "file_delete_comment". +/// "replay_file_shared_link_created". /// -- (BOOL)isFileDeleteComment; +- (BOOL)isReplayFileSharedLinkCreated; /// /// Retrieves whether the union's current tag state has value -/// "file_like_comment". +/// "replay_file_shared_link_modified". /// -/// @return Whether the union's current tag state has value "file_like_comment". +/// @note Call this method and ensure it returns true before accessing the +/// `replayFileSharedLinkModified` property, otherwise a runtime exception will +/// be thrown. /// -- (BOOL)isFileLikeComment; +/// @return Whether the union's current tag state has value +/// "replay_file_shared_link_modified". +/// +- (BOOL)isReplayFileSharedLinkModified; /// /// Retrieves whether the union's current tag state has value -/// "file_resolve_comment". +/// "replay_project_team_add". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `replayProjectTeamAdd` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_resolve_comment". +/// "replay_project_team_add". /// -- (BOOL)isFileResolveComment; +- (BOOL)isReplayProjectTeamAdd; /// /// Retrieves whether the union's current tag state has value -/// "file_unlike_comment". +/// "replay_project_team_delete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `replayProjectTeamDelete` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_unlike_comment". +/// "replay_project_team_delete". /// -- (BOOL)isFileUnlikeComment; +- (BOOL)isReplayProjectTeamDelete; /// -/// Retrieves whether the union's current tag state has value -/// "file_unresolve_comment". +/// Retrieves whether the union's current tag state has value "sf_add_group". /// -/// @return Whether the union's current tag state has value -/// "file_unresolve_comment". +/// @note Call this method and ensure it returns true before accessing the +/// `sfAddGroup` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isFileUnresolveComment; +/// @return Whether the union's current tag state has value "sf_add_group". +/// +- (BOOL)isSfAddGroup; /// /// Retrieves whether the union's current tag state has value -/// "device_change_ip_desktop". +/// "sf_allow_non_members_to_view_shared_links". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfAllowNonMembersToViewSharedLinks` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_change_ip_desktop". +/// "sf_allow_non_members_to_view_shared_links". /// -- (BOOL)isDeviceChangeIpDesktop; +- (BOOL)isSfAllowNonMembersToViewSharedLinks; /// /// Retrieves whether the union's current tag state has value -/// "device_change_ip_mobile". +/// "sf_external_invite_warn". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfExternalInviteWarn` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "device_change_ip_mobile". +/// "sf_external_invite_warn". /// -- (BOOL)isDeviceChangeIpMobile; +- (BOOL)isSfExternalInviteWarn; /// -/// Retrieves whether the union's current tag state has value -/// "device_change_ip_web". +/// Retrieves whether the union's current tag state has value "sf_fb_invite". /// -/// @return Whether the union's current tag state has value -/// "device_change_ip_web". +/// @note Call this method and ensure it returns true before accessing the +/// `sfFbInvite` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDeviceChangeIpWeb; +/// @return Whether the union's current tag state has value "sf_fb_invite". +/// +- (BOOL)isSfFbInvite; /// /// Retrieves whether the union's current tag state has value -/// "device_delete_on_unlink_fail". +/// "sf_fb_invite_change_role". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfFbInviteChangeRole` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "device_delete_on_unlink_fail". +/// "sf_fb_invite_change_role". /// -- (BOOL)isDeviceDeleteOnUnlinkFail; +- (BOOL)isSfFbInviteChangeRole; /// -/// Retrieves whether the union's current tag state has value -/// "device_delete_on_unlink_success". +/// Retrieves whether the union's current tag state has value "sf_fb_uninvite". /// -/// @return Whether the union's current tag state has value -/// "device_delete_on_unlink_success". +/// @note Call this method and ensure it returns true before accessing the +/// `sfFbUninvite` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDeviceDeleteOnUnlinkSuccess; +/// @return Whether the union's current tag state has value "sf_fb_uninvite". +/// +- (BOOL)isSfFbUninvite; /// -/// Retrieves whether the union's current tag state has value -/// "device_link_fail". +/// Retrieves whether the union's current tag state has value "sf_invite_group". /// -/// @return Whether the union's current tag state has value "device_link_fail". +/// @note Call this method and ensure it returns true before accessing the +/// `sfInviteGroup` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDeviceLinkFail; +/// @return Whether the union's current tag state has value "sf_invite_group". +/// +- (BOOL)isSfInviteGroup; /// /// Retrieves whether the union's current tag state has value -/// "device_link_success". +/// "sf_team_grant_access". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamGrantAccess` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_link_success". +/// "sf_team_grant_access". /// -- (BOOL)isDeviceLinkSuccess; +- (BOOL)isSfTeamGrantAccess; /// -/// Retrieves whether the union's current tag state has value -/// "device_management_disabled". +/// Retrieves whether the union's current tag state has value "sf_team_invite". /// -/// @return Whether the union's current tag state has value -/// "device_management_disabled". +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamInvite` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDeviceManagementDisabled; +/// @return Whether the union's current tag state has value "sf_team_invite". +/// +- (BOOL)isSfTeamInvite; /// /// Retrieves whether the union's current tag state has value -/// "device_management_enabled". +/// "sf_team_invite_change_role". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamInviteChangeRole` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "device_management_enabled". +/// "sf_team_invite_change_role". /// -- (BOOL)isDeviceManagementEnabled; +- (BOOL)isSfTeamInviteChangeRole; /// -/// Retrieves whether the union's current tag state has value "device_unlink". +/// Retrieves whether the union's current tag state has value "sf_team_join". /// -/// @return Whether the union's current tag state has value "device_unlink". +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamJoin` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isDeviceUnlink; +/// @return Whether the union's current tag state has value "sf_team_join". +/// +- (BOOL)isSfTeamJoin; /// /// Retrieves whether the union's current tag state has value -/// "emm_refresh_auth_token". +/// "sf_team_join_from_oob_link". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamJoinFromOobLink` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "emm_refresh_auth_token". +/// "sf_team_join_from_oob_link". /// -- (BOOL)isEmmRefreshAuthToken; +- (BOOL)isSfTeamJoinFromOobLink; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_change_availability". +/// "sf_team_uninvite". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sfTeamUninvite` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "sf_team_uninvite". +/// +- (BOOL)isSfTeamUninvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_add_invitees". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentAddInvitees` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_change_availability". +/// "shared_content_add_invitees". /// -- (BOOL)isAccountCaptureChangeAvailability; +- (BOOL)isSharedContentAddInvitees; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_migrate_account". +/// "shared_content_add_link_expiry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentAddLinkExpiry` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_migrate_account". +/// "shared_content_add_link_expiry". /// -- (BOOL)isAccountCaptureMigrateAccount; +- (BOOL)isSharedContentAddLinkExpiry; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_relinquish_account". +/// "shared_content_add_link_password". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentAddLinkPassword` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_relinquish_account". +/// "shared_content_add_link_password". /// -- (BOOL)isAccountCaptureRelinquishAccount; +- (BOOL)isSharedContentAddLinkPassword; /// /// Retrieves whether the union's current tag state has value -/// "disabled_domain_invites". +/// "shared_content_add_member". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentAddMember` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "disabled_domain_invites". +/// "shared_content_add_member". /// -- (BOOL)isDisabledDomainInvites; +- (BOOL)isSharedContentAddMember; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_approve_request_to_join_team". +/// "shared_content_change_downloads_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeDownloadsPolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_approve_request_to_join_team". +/// "shared_content_change_downloads_policy". /// -- (BOOL)isDomainInvitesApproveRequestToJoinTeam; +- (BOOL)isSharedContentChangeDownloadsPolicy; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_decline_request_to_join_team". +/// "shared_content_change_invitee_role". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeInviteeRole` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_decline_request_to_join_team". +/// "shared_content_change_invitee_role". /// -- (BOOL)isDomainInvitesDeclineRequestToJoinTeam; +- (BOOL)isSharedContentChangeInviteeRole; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_email_existing_users". +/// "shared_content_change_link_audience". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeLinkAudience` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_email_existing_users". +/// "shared_content_change_link_audience". /// -- (BOOL)isDomainInvitesEmailExistingUsers; +- (BOOL)isSharedContentChangeLinkAudience; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_request_to_join_team". +/// "shared_content_change_link_expiry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeLinkExpiry` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_request_to_join_team". +/// "shared_content_change_link_expiry". /// -- (BOOL)isDomainInvitesRequestToJoinTeam; +- (BOOL)isSharedContentChangeLinkExpiry; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_no". +/// "shared_content_change_link_password". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeLinkPassword` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_no". +/// "shared_content_change_link_password". /// -- (BOOL)isDomainInvitesSetInviteNewUserPrefToNo; +- (BOOL)isSharedContentChangeLinkPassword; /// /// Retrieves whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_yes". +/// "shared_content_change_member_role". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeMemberRole` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_invites_set_invite_new_user_pref_to_yes". +/// "shared_content_change_member_role". /// -- (BOOL)isDomainInvitesSetInviteNewUserPrefToYes; +- (BOOL)isSharedContentChangeMemberRole; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_add_domain_fail". +/// "shared_content_change_viewer_info_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentChangeViewerInfoPolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_add_domain_fail". +/// "shared_content_change_viewer_info_policy". /// -- (BOOL)isDomainVerificationAddDomainFail; +- (BOOL)isSharedContentChangeViewerInfoPolicy; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_add_domain_success". +/// "shared_content_claim_invitation". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentClaimInvitation` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_add_domain_success". +/// "shared_content_claim_invitation". /// -- (BOOL)isDomainVerificationAddDomainSuccess; +- (BOOL)isSharedContentClaimInvitation; /// /// Retrieves whether the union's current tag state has value -/// "domain_verification_remove_domain". +/// "shared_content_copy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentCopy` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "domain_verification_remove_domain". +/// "shared_content_copy". /// -- (BOOL)isDomainVerificationRemoveDomain; +- (BOOL)isSharedContentCopy; /// /// Retrieves whether the union's current tag state has value -/// "enabled_domain_invites". +/// "shared_content_download". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentDownload` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "enabled_domain_invites". +/// "shared_content_download". /// -- (BOOL)isEnabledDomainInvites; +- (BOOL)isSharedContentDownload; /// -/// Retrieves whether the union's current tag state has value "create_folder". -/// -/// @return Whether the union's current tag state has value "create_folder". -/// -- (BOOL)isCreateFolder; - +/// Retrieves whether the union's current tag state has value +/// "shared_content_relinquish_membership". /// -/// Retrieves whether the union's current tag state has value "file_add". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRelinquishMembership` property, otherwise a runtime exception +/// will be thrown. /// -/// @return Whether the union's current tag state has value "file_add". +/// @return Whether the union's current tag state has value +/// "shared_content_relinquish_membership". /// -- (BOOL)isFileAdd; +- (BOOL)isSharedContentRelinquishMembership; /// -/// Retrieves whether the union's current tag state has value "file_copy". -/// -/// @return Whether the union's current tag state has value "file_copy". -/// -- (BOOL)isFileCopy; - +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_invitees". /// -/// Retrieves whether the union's current tag state has value "file_delete". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRemoveInvitees` property, otherwise a runtime exception will +/// be thrown. /// -/// @return Whether the union's current tag state has value "file_delete". +/// @return Whether the union's current tag state has value +/// "shared_content_remove_invitees". /// -- (BOOL)isFileDelete; +- (BOOL)isSharedContentRemoveInvitees; /// -/// Retrieves whether the union's current tag state has value "file_download". -/// -/// @return Whether the union's current tag state has value "file_download". -/// -- (BOOL)isFileDownload; - +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_link_expiry". /// -/// Retrieves whether the union's current tag state has value "file_edit". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRemoveLinkExpiry` property, otherwise a runtime exception will +/// be thrown. /// -/// @return Whether the union's current tag state has value "file_edit". +/// @return Whether the union's current tag state has value +/// "shared_content_remove_link_expiry". /// -- (BOOL)isFileEdit; +- (BOOL)isSharedContentRemoveLinkExpiry; /// /// Retrieves whether the union's current tag state has value -/// "file_get_copy_reference". +/// "shared_content_remove_link_password". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRemoveLinkPassword` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_get_copy_reference". +/// "shared_content_remove_link_password". /// -- (BOOL)isFileGetCopyReference; +- (BOOL)isSharedContentRemoveLinkPassword; /// -/// Retrieves whether the union's current tag state has value "file_move". +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_member". /// -/// @return Whether the union's current tag state has value "file_move". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRemoveMember` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isFileMove; +/// @return Whether the union's current tag state has value +/// "shared_content_remove_member". +/// +- (BOOL)isSharedContentRemoveMember; /// /// Retrieves whether the union's current tag state has value -/// "file_permanently_delete". +/// "shared_content_request_access". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRequestAccess` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_permanently_delete". +/// "shared_content_request_access". /// -- (BOOL)isFilePermanentlyDelete; +- (BOOL)isSharedContentRequestAccess; /// -/// Retrieves whether the union's current tag state has value "file_preview". -/// -/// @return Whether the union's current tag state has value "file_preview". -/// -- (BOOL)isFilePreview; - +/// Retrieves whether the union's current tag state has value +/// "shared_content_restore_invitees". /// -/// Retrieves whether the union's current tag state has value "file_rename". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRestoreInvitees` property, otherwise a runtime exception will +/// be thrown. /// -/// @return Whether the union's current tag state has value "file_rename". +/// @return Whether the union's current tag state has value +/// "shared_content_restore_invitees". /// -- (BOOL)isFileRename; +- (BOOL)isSharedContentRestoreInvitees; /// -/// Retrieves whether the union's current tag state has value "file_restore". -/// -/// @return Whether the union's current tag state has value "file_restore". -/// -- (BOOL)isFileRestore; - +/// Retrieves whether the union's current tag state has value +/// "shared_content_restore_member". /// -/// Retrieves whether the union's current tag state has value "file_revert". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentRestoreMember` property, otherwise a runtime exception will be +/// thrown. /// -/// @return Whether the union's current tag state has value "file_revert". +/// @return Whether the union's current tag state has value +/// "shared_content_restore_member". /// -- (BOOL)isFileRevert; +- (BOOL)isSharedContentRestoreMember; /// /// Retrieves whether the union's current tag state has value -/// "file_rollback_changes". +/// "shared_content_unshare". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentUnshare` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_rollback_changes". +/// "shared_content_unshare". /// -- (BOOL)isFileRollbackChanges; +- (BOOL)isSharedContentUnshare; /// /// Retrieves whether the union's current tag state has value -/// "file_save_copy_reference". +/// "shared_content_view". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedContentView` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_save_copy_reference". +/// "shared_content_view". /// -- (BOOL)isFileSaveCopyReference; +- (BOOL)isSharedContentView; /// /// Retrieves whether the union's current tag state has value -/// "file_request_add_deadline". +/// "shared_folder_change_link_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderChangeLinkPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_add_deadline". +/// "shared_folder_change_link_policy". /// -- (BOOL)isFileRequestAddDeadline; +- (BOOL)isSharedFolderChangeLinkPolicy; /// /// Retrieves whether the union's current tag state has value -/// "file_request_change". +/// "shared_folder_change_members_inheritance_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderChangeMembersInheritancePolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_change". +/// "shared_folder_change_members_inheritance_policy". /// -- (BOOL)isFileRequestChange; +- (BOOL)isSharedFolderChangeMembersInheritancePolicy; /// /// Retrieves whether the union's current tag state has value -/// "file_request_change_folder". +/// "shared_folder_change_members_management_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderChangeMembersManagementPolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_change_folder". +/// "shared_folder_change_members_management_policy". /// -- (BOOL)isFileRequestChangeFolder; +- (BOOL)isSharedFolderChangeMembersManagementPolicy; /// /// Retrieves whether the union's current tag state has value -/// "file_request_close". +/// "shared_folder_change_members_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderChangeMembersPolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_close". +/// "shared_folder_change_members_policy". /// -- (BOOL)isFileRequestClose; +- (BOOL)isSharedFolderChangeMembersPolicy; /// /// Retrieves whether the union's current tag state has value -/// "file_request_create". +/// "shared_folder_create". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderCreate` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_create". +/// "shared_folder_create". /// -- (BOOL)isFileRequestCreate; +- (BOOL)isSharedFolderCreate; /// /// Retrieves whether the union's current tag state has value -/// "file_request_receive_file". +/// "shared_folder_decline_invitation". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderDeclineInvitation` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_receive_file". +/// "shared_folder_decline_invitation". /// -- (BOOL)isFileRequestReceiveFile; +- (BOOL)isSharedFolderDeclineInvitation; /// /// Retrieves whether the union's current tag state has value -/// "file_request_remove_deadline". +/// "shared_folder_mount". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderMount` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_request_remove_deadline". +/// "shared_folder_mount". /// -- (BOOL)isFileRequestRemoveDeadline; +- (BOOL)isSharedFolderMount; /// /// Retrieves whether the union's current tag state has value -/// "file_request_send". +/// "shared_folder_nest". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderNest` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "file_request_send". +/// @return Whether the union's current tag state has value +/// "shared_folder_nest". /// -- (BOOL)isFileRequestSend; +- (BOOL)isSharedFolderNest; /// /// Retrieves whether the union's current tag state has value -/// "group_add_external_id". +/// "shared_folder_transfer_ownership". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderTransferOwnership` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "group_add_external_id". +/// "shared_folder_transfer_ownership". /// -- (BOOL)isGroupAddExternalId; +- (BOOL)isSharedFolderTransferOwnership; /// /// Retrieves whether the union's current tag state has value -/// "group_add_member". +/// "shared_folder_unmount". /// -/// @return Whether the union's current tag state has value "group_add_member". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedFolderUnmount` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isGroupAddMember; +/// @return Whether the union's current tag state has value +/// "shared_folder_unmount". +/// +- (BOOL)isSharedFolderUnmount; /// /// Retrieves whether the union's current tag state has value -/// "group_change_external_id". +/// "shared_link_add_expiry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkAddExpiry` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_external_id". +/// "shared_link_add_expiry". /// -- (BOOL)isGroupChangeExternalId; +- (BOOL)isSharedLinkAddExpiry; /// /// Retrieves whether the union's current tag state has value -/// "group_change_management_type". +/// "shared_link_change_expiry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkChangeExpiry` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_management_type". +/// "shared_link_change_expiry". /// -- (BOOL)isGroupChangeManagementType; +- (BOOL)isSharedLinkChangeExpiry; /// /// Retrieves whether the union's current tag state has value -/// "group_change_member_role". +/// "shared_link_change_visibility". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkChangeVisibility` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_change_member_role". +/// "shared_link_change_visibility". /// -- (BOOL)isGroupChangeMemberRole; +- (BOOL)isSharedLinkChangeVisibility; /// -/// Retrieves whether the union's current tag state has value "group_create". +/// Retrieves whether the union's current tag state has value +/// "shared_link_copy". /// -/// @return Whether the union's current tag state has value "group_create". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkCopy` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isGroupCreate; +/// @return Whether the union's current tag state has value "shared_link_copy". +/// +- (BOOL)isSharedLinkCopy; /// -/// Retrieves whether the union's current tag state has value "group_delete". +/// Retrieves whether the union's current tag state has value +/// "shared_link_create". /// -/// @return Whether the union's current tag state has value "group_delete". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkCreate` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "shared_link_create". /// -- (BOOL)isGroupDelete; +- (BOOL)isSharedLinkCreate; /// -/// Retrieves whether the union's current tag state has value "group_moved". +/// Retrieves whether the union's current tag state has value +/// "shared_link_disable". /// -/// @return Whether the union's current tag state has value "group_moved". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkDisable` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isGroupMoved; +/// @return Whether the union's current tag state has value +/// "shared_link_disable". +/// +- (BOOL)isSharedLinkDisable; /// /// Retrieves whether the union's current tag state has value -/// "group_remove_external_id". +/// "shared_link_download". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkDownload` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "group_remove_external_id". +/// "shared_link_download". /// -- (BOOL)isGroupRemoveExternalId; +- (BOOL)isSharedLinkDownload; /// /// Retrieves whether the union's current tag state has value -/// "group_remove_member". +/// "shared_link_remove_expiry". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkRemoveExpiry` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_remove_member". +/// "shared_link_remove_expiry". /// -- (BOOL)isGroupRemoveMember; +- (BOOL)isSharedLinkRemoveExpiry; /// -/// Retrieves whether the union's current tag state has value "group_rename". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_add_expiration". /// -/// @return Whether the union's current tag state has value "group_rename". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsAddExpiration` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isGroupRename; +/// @return Whether the union's current tag state has value +/// "shared_link_settings_add_expiration". +/// +- (BOOL)isSharedLinkSettingsAddExpiration; /// -/// Retrieves whether the union's current tag state has value "emm_error". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_add_password". /// -/// @return Whether the union's current tag state has value "emm_error". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsAddPassword` property, otherwise a runtime exception will +/// be thrown. /// -- (BOOL)isEmmError; +/// @return Whether the union's current tag state has value +/// "shared_link_settings_add_password". +/// +- (BOOL)isSharedLinkSettingsAddPassword; /// -/// Retrieves whether the union's current tag state has value "login_fail". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_allow_download_disabled". /// -/// @return Whether the union's current tag state has value "login_fail". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsAllowDownloadDisabled` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isLoginFail; +/// @return Whether the union's current tag state has value +/// "shared_link_settings_allow_download_disabled". +/// +- (BOOL)isSharedLinkSettingsAllowDownloadDisabled; /// -/// Retrieves whether the union's current tag state has value "login_success". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled". /// -/// @return Whether the union's current tag state has value "login_success". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsAllowDownloadEnabled` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isLoginSuccess; +/// @return Whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled". +/// +- (BOOL)isSharedLinkSettingsAllowDownloadEnabled; /// -/// Retrieves whether the union's current tag state has value "logout". +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_change_audience". /// -/// @return Whether the union's current tag state has value "logout". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsChangeAudience` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isLogout; +/// @return Whether the union's current tag state has value +/// "shared_link_settings_change_audience". +/// +- (BOOL)isSharedLinkSettingsChangeAudience; /// /// Retrieves whether the union's current tag state has value -/// "reseller_support_session_end". +/// "shared_link_settings_change_expiration". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsChangeExpiration` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "reseller_support_session_end". +/// "shared_link_settings_change_expiration". /// -- (BOOL)isResellerSupportSessionEnd; +- (BOOL)isSharedLinkSettingsChangeExpiration; /// /// Retrieves whether the union's current tag state has value -/// "reseller_support_session_start". +/// "shared_link_settings_change_password". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsChangePassword` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "reseller_support_session_start". +/// "shared_link_settings_change_password". /// -- (BOOL)isResellerSupportSessionStart; +- (BOOL)isSharedLinkSettingsChangePassword; /// /// Retrieves whether the union's current tag state has value -/// "sign_in_as_session_end". +/// "shared_link_settings_remove_expiration". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsRemoveExpiration` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sign_in_as_session_end". +/// "shared_link_settings_remove_expiration". /// -- (BOOL)isSignInAsSessionEnd; +- (BOOL)isSharedLinkSettingsRemoveExpiration; /// /// Retrieves whether the union's current tag state has value -/// "sign_in_as_session_start". +/// "shared_link_settings_remove_password". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkSettingsRemovePassword` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sign_in_as_session_start". +/// "shared_link_settings_remove_password". /// -- (BOOL)isSignInAsSessionStart; +- (BOOL)isSharedLinkSettingsRemovePassword; /// -/// Retrieves whether the union's current tag state has value "sso_error". +/// Retrieves whether the union's current tag state has value +/// "shared_link_share". /// -/// @return Whether the union's current tag state has value "sso_error". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkShare` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isSsoError; +/// @return Whether the union's current tag state has value "shared_link_share". +/// +- (BOOL)isSharedLinkShare; /// -/// Retrieves whether the union's current tag state has value "member_add_name". +/// Retrieves whether the union's current tag state has value +/// "shared_link_view". /// -/// @return Whether the union's current tag state has value "member_add_name". +/// @note Call this method and ensure it returns true before accessing the +/// `sharedLinkView` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isMemberAddName; +/// @return Whether the union's current tag state has value "shared_link_view". +/// +- (BOOL)isSharedLinkView; /// /// Retrieves whether the union's current tag state has value -/// "member_change_admin_role". +/// "shared_note_opened". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharedNoteOpened` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_admin_role". +/// "shared_note_opened". /// -- (BOOL)isMemberChangeAdminRole; +- (BOOL)isSharedNoteOpened; /// /// Retrieves whether the union's current tag state has value -/// "member_change_email". +/// "shmodel_disable_downloads". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `shmodelDisableDownloads` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_email". +/// "shmodel_disable_downloads". /// -- (BOOL)isMemberChangeEmail; +- (BOOL)isShmodelDisableDownloads; /// /// Retrieves whether the union's current tag state has value -/// "member_change_name". +/// "shmodel_enable_downloads". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `shmodelEnableDownloads` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_name". +/// "shmodel_enable_downloads". /// -- (BOOL)isMemberChangeName; +- (BOOL)isShmodelEnableDownloads; /// /// Retrieves whether the union's current tag state has value -/// "member_change_status". +/// "shmodel_group_share". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `shmodelGroupShare` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_change_status". +/// "shmodel_group_share". /// -- (BOOL)isMemberChangeStatus; +- (BOOL)isShmodelGroupShare; /// -/// Retrieves whether the union's current tag state has value "member_suggest". +/// Retrieves whether the union's current tag state has value +/// "showcase_access_granted". /// -/// @return Whether the union's current tag state has value "member_suggest". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseAccessGranted` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isMemberSuggest; +/// @return Whether the union's current tag state has value +/// "showcase_access_granted". +/// +- (BOOL)isShowcaseAccessGranted; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_add_member". +/// "showcase_add_member". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseAddMember` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_add_member". +/// "showcase_add_member". /// -- (BOOL)isPaperContentAddMember; +- (BOOL)isShowcaseAddMember; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_add_to_folder". +/// "showcase_archived". /// -/// @return Whether the union's current tag state has value -/// "paper_content_add_to_folder". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseArchived` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperContentAddToFolder; +/// @return Whether the union's current tag state has value "showcase_archived". +/// +- (BOOL)isShowcaseArchived; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_archive". +/// "showcase_created". /// -/// @return Whether the union's current tag state has value -/// "paper_content_archive". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseCreated` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperContentArchive; +/// @return Whether the union's current tag state has value "showcase_created". +/// +- (BOOL)isShowcaseCreated; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_create". +/// "showcase_delete_comment". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseDeleteComment` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_create". +/// "showcase_delete_comment". /// -- (BOOL)isPaperContentCreate; +- (BOOL)isShowcaseDeleteComment; /// -/// Retrieves whether the union's current tag state has value -/// "paper_content_permanently_delete". +/// Retrieves whether the union's current tag state has value "showcase_edited". /// -/// @return Whether the union's current tag state has value -/// "paper_content_permanently_delete". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseEdited` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperContentPermanentlyDelete; +/// @return Whether the union's current tag state has value "showcase_edited". +/// +- (BOOL)isShowcaseEdited; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_remove_from_folder". +/// "showcase_edit_comment". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseEditComment` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_remove_from_folder". +/// "showcase_edit_comment". /// -- (BOOL)isPaperContentRemoveFromFolder; +- (BOOL)isShowcaseEditComment; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_remove_member". +/// "showcase_file_added". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseFileAdded` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_remove_member". +/// "showcase_file_added". /// -- (BOOL)isPaperContentRemoveMember; +- (BOOL)isShowcaseFileAdded; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_rename". +/// "showcase_file_download". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseFileDownload` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_rename". +/// "showcase_file_download". /// -- (BOOL)isPaperContentRename; +- (BOOL)isShowcaseFileDownload; /// /// Retrieves whether the union's current tag state has value -/// "paper_content_restore". +/// "showcase_file_removed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseFileRemoved` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_content_restore". +/// "showcase_file_removed". /// -- (BOOL)isPaperContentRestore; +- (BOOL)isShowcaseFileRemoved; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_add_comment". +/// "showcase_file_view". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseFileView` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_add_comment". +/// "showcase_file_view". /// -- (BOOL)isPaperDocAddComment; +- (BOOL)isShowcaseFileView; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_member_role". +/// "showcase_permanently_deleted". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcasePermanentlyDeleted` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_member_role". +/// "showcase_permanently_deleted". /// -- (BOOL)isPaperDocChangeMemberRole; +- (BOOL)isShowcasePermanentlyDeleted; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_sharing_policy". +/// "showcase_post_comment". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcasePostComment` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_sharing_policy". +/// "showcase_post_comment". /// -- (BOOL)isPaperDocChangeSharingPolicy; +- (BOOL)isShowcasePostComment; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_change_subscription". +/// "showcase_remove_member". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseRemoveMember` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_change_subscription". +/// "showcase_remove_member". /// -- (BOOL)isPaperDocChangeSubscription; +- (BOOL)isShowcaseRemoveMember; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_deleted". +/// "showcase_renamed". /// -/// @return Whether the union's current tag state has value "paper_doc_deleted". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseRenamed` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocDeleted; +/// @return Whether the union's current tag state has value "showcase_renamed". +/// +- (BOOL)isShowcaseRenamed; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_delete_comment". +/// "showcase_request_access". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseRequestAccess` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_delete_comment". +/// "showcase_request_access". /// -- (BOOL)isPaperDocDeleteComment; +- (BOOL)isShowcaseRequestAccess; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_download". +/// "showcase_resolve_comment". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseResolveComment` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_download". +/// "showcase_resolve_comment". /// -- (BOOL)isPaperDocDownload; +- (BOOL)isShowcaseResolveComment; /// -/// Retrieves whether the union's current tag state has value "paper_doc_edit". +/// Retrieves whether the union's current tag state has value +/// "showcase_restored". /// -/// @return Whether the union's current tag state has value "paper_doc_edit". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseRestored` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocEdit; +/// @return Whether the union's current tag state has value "showcase_restored". +/// +- (BOOL)isShowcaseRestored; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_edit_comment". +/// "showcase_trashed". /// -/// @return Whether the union's current tag state has value -/// "paper_doc_edit_comment". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseTrashed` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocEditComment; +/// @return Whether the union's current tag state has value "showcase_trashed". +/// +- (BOOL)isShowcaseTrashed; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_followed". +/// "showcase_trashed_deprecated". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseTrashedDeprecated` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_followed". +/// "showcase_trashed_deprecated". /// -- (BOOL)isPaperDocFollowed; +- (BOOL)isShowcaseTrashedDeprecated; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_mention". +/// "showcase_unresolve_comment". /// -/// @return Whether the union's current tag state has value "paper_doc_mention". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseUnresolveComment` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isPaperDocMention; +/// @return Whether the union's current tag state has value +/// "showcase_unresolve_comment". +/// +- (BOOL)isShowcaseUnresolveComment; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_request_access". +/// "showcase_untrashed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseUntrashed` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_request_access". +/// "showcase_untrashed". /// -- (BOOL)isPaperDocRequestAccess; +- (BOOL)isShowcaseUntrashed; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_resolve_comment". +/// "showcase_untrashed_deprecated". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseUntrashedDeprecated` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_resolve_comment". +/// "showcase_untrashed_deprecated". /// -- (BOOL)isPaperDocResolveComment; +- (BOOL)isShowcaseUntrashedDeprecated; /// -/// Retrieves whether the union's current tag state has value -/// "paper_doc_revert". +/// Retrieves whether the union's current tag state has value "showcase_view". /// -/// @return Whether the union's current tag state has value "paper_doc_revert". +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseView` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocRevert; +/// @return Whether the union's current tag state has value "showcase_view". +/// +- (BOOL)isShowcaseView; + +/// +/// Retrieves whether the union's current tag state has value "sso_add_cert". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoAddCert` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "sso_add_cert". +/// +- (BOOL)isSsoAddCert; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_slack_share". +/// "sso_add_login_url". /// -/// @return Whether the union's current tag state has value -/// "paper_doc_slack_share". +/// @note Call this method and ensure it returns true before accessing the +/// `ssoAddLoginUrl` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocSlackShare; +/// @return Whether the union's current tag state has value "sso_add_login_url". +/// +- (BOOL)isSsoAddLoginUrl; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_team_invite". +/// "sso_add_logout_url". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoAddLogoutUrl` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_team_invite". +/// "sso_add_logout_url". /// -- (BOOL)isPaperDocTeamInvite; +- (BOOL)isSsoAddLogoutUrl; + +/// +/// Retrieves whether the union's current tag state has value "sso_change_cert". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoChangeCert` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "sso_change_cert". +/// +- (BOOL)isSsoChangeCert; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_trashed". +/// "sso_change_login_url". /// -/// @return Whether the union's current tag state has value "paper_doc_trashed". +/// @note Call this method and ensure it returns true before accessing the +/// `ssoChangeLoginUrl` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperDocTrashed; +/// @return Whether the union's current tag state has value +/// "sso_change_login_url". +/// +- (BOOL)isSsoChangeLoginUrl; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_unresolve_comment". +/// "sso_change_logout_url". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoChangeLogoutUrl` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_unresolve_comment". +/// "sso_change_logout_url". /// -- (BOOL)isPaperDocUnresolveComment; +- (BOOL)isSsoChangeLogoutUrl; /// /// Retrieves whether the union's current tag state has value -/// "paper_doc_untrashed". +/// "sso_change_saml_identity_mode". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoChangeSamlIdentityMode` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_doc_untrashed". +/// "sso_change_saml_identity_mode". /// -- (BOOL)isPaperDocUntrashed; +- (BOOL)isSsoChangeSamlIdentityMode; /// -/// Retrieves whether the union's current tag state has value "paper_doc_view". +/// Retrieves whether the union's current tag state has value "sso_remove_cert". /// -/// @return Whether the union's current tag state has value "paper_doc_view". +/// @note Call this method and ensure it returns true before accessing the +/// `ssoRemoveCert` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "sso_remove_cert". /// -- (BOOL)isPaperDocView; +- (BOOL)isSsoRemoveCert; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_change_subscription". +/// "sso_remove_login_url". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoRemoveLoginUrl` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_change_subscription". +/// "sso_remove_login_url". /// -- (BOOL)isPaperFolderChangeSubscription; +- (BOOL)isSsoRemoveLoginUrl; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_deleted". +/// "sso_remove_logout_url". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `ssoRemoveLogoutUrl` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_deleted". +/// "sso_remove_logout_url". /// -- (BOOL)isPaperFolderDeleted; +- (BOOL)isSsoRemoveLogoutUrl; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_followed". +/// "team_folder_change_status". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamFolderChangeStatus` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_followed". +/// "team_folder_change_status". /// -- (BOOL)isPaperFolderFollowed; +- (BOOL)isTeamFolderChangeStatus; /// /// Retrieves whether the union's current tag state has value -/// "paper_folder_team_invite". +/// "team_folder_create". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamFolderCreate` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "paper_folder_team_invite". +/// "team_folder_create". /// -- (BOOL)isPaperFolderTeamInvite; +- (BOOL)isTeamFolderCreate; /// -/// Retrieves whether the union's current tag state has value "password_change". -/// -/// @return Whether the union's current tag state has value "password_change". -/// -- (BOOL)isPasswordChange; - +/// Retrieves whether the union's current tag state has value +/// "team_folder_downgrade". /// -/// Retrieves whether the union's current tag state has value "password_reset". +/// @note Call this method and ensure it returns true before accessing the +/// `teamFolderDowngrade` property, otherwise a runtime exception will be +/// thrown. /// -/// @return Whether the union's current tag state has value "password_reset". +/// @return Whether the union's current tag state has value +/// "team_folder_downgrade". /// -- (BOOL)isPasswordReset; +- (BOOL)isTeamFolderDowngrade; /// /// Retrieves whether the union's current tag state has value -/// "password_reset_all". +/// "team_folder_permanently_delete". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamFolderPermanentlyDelete` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "password_reset_all". +/// "team_folder_permanently_delete". /// -- (BOOL)isPasswordResetAll; +- (BOOL)isTeamFolderPermanentlyDelete; /// /// Retrieves whether the union's current tag state has value -/// "emm_create_exceptions_report". +/// "team_folder_rename". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamFolderRename` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_create_exceptions_report". +/// "team_folder_rename". /// -- (BOOL)isEmmCreateExceptionsReport; +- (BOOL)isTeamFolderRename; /// /// Retrieves whether the union's current tag state has value -/// "emm_create_usage_report". +/// "team_selective_sync_settings_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamSelectiveSyncSettingsChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_create_usage_report". +/// "team_selective_sync_settings_changed". /// -- (BOOL)isEmmCreateUsageReport; +- (BOOL)isTeamSelectiveSyncSettingsChanged; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_create_admin_privilege_report". +/// "account_capture_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `accountCaptureChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_create_admin_privilege_report". +/// "account_capture_change_policy". /// -- (BOOL)isSmartSyncCreateAdminPrivilegeReport; +- (BOOL)isAccountCaptureChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "team_activity_create_report". +/// "admin_email_reminders_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `adminEmailRemindersChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "team_activity_create_report". +/// "admin_email_reminders_changed". /// -- (BOOL)isTeamActivityCreateReport; +- (BOOL)isAdminEmailRemindersChanged; /// /// Retrieves whether the union's current tag state has value -/// "collection_share". +/// "allow_download_disabled". /// -/// @return Whether the union's current tag state has value "collection_share". +/// @note Call this method and ensure it returns true before accessing the +/// `allowDownloadDisabled` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isCollectionShare; +/// @return Whether the union's current tag state has value +/// "allow_download_disabled". +/// +- (BOOL)isAllowDownloadDisabled; /// /// Retrieves whether the union's current tag state has value -/// "note_acl_invite_only". +/// "allow_download_enabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `allowDownloadEnabled` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "note_acl_invite_only". +/// "allow_download_enabled". /// -- (BOOL)isNoteAclInviteOnly; +- (BOOL)isAllowDownloadEnabled; /// -/// Retrieves whether the union's current tag state has value "note_acl_link". +/// Retrieves whether the union's current tag state has value +/// "app_permissions_changed". /// -/// @return Whether the union's current tag state has value "note_acl_link". +/// @note Call this method and ensure it returns true before accessing the +/// `appPermissionsChanged` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isNoteAclLink; +/// @return Whether the union's current tag state has value +/// "app_permissions_changed". +/// +- (BOOL)isAppPermissionsChanged; /// /// Retrieves whether the union's current tag state has value -/// "note_acl_team_link". +/// "camera_uploads_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `cameraUploadsPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "note_acl_team_link". +/// "camera_uploads_policy_changed". /// -- (BOOL)isNoteAclTeamLink; +- (BOOL)isCameraUploadsPolicyChanged; /// -/// Retrieves whether the union's current tag state has value "note_shared". +/// Retrieves whether the union's current tag state has value +/// "capture_transcript_policy_changed". /// -/// @return Whether the union's current tag state has value "note_shared". +/// @note Call this method and ensure it returns true before accessing the +/// `captureTranscriptPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isNoteShared; +/// @return Whether the union's current tag state has value +/// "capture_transcript_policy_changed". +/// +- (BOOL)isCaptureTranscriptPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "note_share_receive". +/// "classification_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `classificationChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "note_share_receive". +/// "classification_change_policy". /// -- (BOOL)isNoteShareReceive; +- (BOOL)isClassificationChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "open_note_shared". -/// -/// @return Whether the union's current tag state has value "open_note_shared". +/// "computer_backup_policy_changed". /// -- (BOOL)isOpenNoteShared; - -/// -/// Retrieves whether the union's current tag state has value "sf_add_group". +/// @note Call this method and ensure it returns true before accessing the +/// `computerBackupPolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// -/// @return Whether the union's current tag state has value "sf_add_group". +/// @return Whether the union's current tag state has value +/// "computer_backup_policy_changed". /// -- (BOOL)isSfAddGroup; +- (BOOL)isComputerBackupPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "sf_allow_non_members_to_view_shared_links". +/// "content_administration_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `contentAdministrationPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_allow_non_members_to_view_shared_links". +/// "content_administration_policy_changed". /// -- (BOOL)isSfAllowNonMembersToViewSharedLinks; +- (BOOL)isContentAdministrationPolicyChanged; /// -/// Retrieves whether the union's current tag state has value "sf_invite_group". -/// -/// @return Whether the union's current tag state has value "sf_invite_group". -/// -- (BOOL)isSfInviteGroup; - +/// Retrieves whether the union's current tag state has value +/// "data_placement_restriction_change_policy". /// -/// Retrieves whether the union's current tag state has value "sf_nest". +/// @note Call this method and ensure it returns true before accessing the +/// `dataPlacementRestrictionChangePolicy` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "sf_nest". +/// @return Whether the union's current tag state has value +/// "data_placement_restriction_change_policy". /// -- (BOOL)isSfNest; +- (BOOL)isDataPlacementRestrictionChangePolicy; /// -/// Retrieves whether the union's current tag state has value "sf_team_decline". +/// Retrieves whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `dataPlacementRestrictionSatisfyPolicy` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "sf_team_decline". +/// @return Whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy". /// -- (BOOL)isSfTeamDecline; +- (BOOL)isDataPlacementRestrictionSatisfyPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_grant_access". +/// "device_approvals_add_exception". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsAddException` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_grant_access". +/// "device_approvals_add_exception". /// -- (BOOL)isSfTeamGrantAccess; +- (BOOL)isDeviceApprovalsAddException; /// -/// Retrieves whether the union's current tag state has value "sf_team_invite". +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_desktop_policy". /// -/// @return Whether the union's current tag state has value "sf_team_invite". +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsChangeDesktopPolicy` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isSfTeamInvite; +/// @return Whether the union's current tag state has value +/// "device_approvals_change_desktop_policy". +/// +- (BOOL)isDeviceApprovalsChangeDesktopPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_invite_change_role". +/// "device_approvals_change_mobile_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsChangeMobilePolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_invite_change_role". +/// "device_approvals_change_mobile_policy". /// -- (BOOL)isSfTeamInviteChangeRole; +- (BOOL)isDeviceApprovalsChangeMobilePolicy; /// -/// Retrieves whether the union's current tag state has value "sf_team_join". +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_overage_action". /// -/// @return Whether the union's current tag state has value "sf_team_join". +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsChangeOverageAction` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isSfTeamJoin; +/// @return Whether the union's current tag state has value +/// "device_approvals_change_overage_action". +/// +- (BOOL)isDeviceApprovalsChangeOverageAction; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_join_from_oob_link". +/// "device_approvals_change_unlink_action". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsChangeUnlinkAction` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "sf_team_join_from_oob_link". +/// "device_approvals_change_unlink_action". /// -- (BOOL)isSfTeamJoinFromOobLink; +- (BOOL)isDeviceApprovalsChangeUnlinkAction; /// /// Retrieves whether the union's current tag state has value -/// "sf_team_uninvite". +/// "device_approvals_remove_exception". /// -/// @return Whether the union's current tag state has value "sf_team_uninvite". +/// @note Call this method and ensure it returns true before accessing the +/// `deviceApprovalsRemoveException` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isSfTeamUninvite; +/// @return Whether the union's current tag state has value +/// "device_approvals_remove_exception". +/// +- (BOOL)isDeviceApprovalsRemoveException; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_invitees". +/// "directory_restrictions_add_members". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `directoryRestrictionsAddMembers` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_invitees". +/// "directory_restrictions_add_members". /// -- (BOOL)isSharedContentAddInvitees; +- (BOOL)isDirectoryRestrictionsAddMembers; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_link_expiry". +/// "directory_restrictions_remove_members". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `directoryRestrictionsRemoveMembers` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_link_expiry". +/// "directory_restrictions_remove_members". /// -- (BOOL)isSharedContentAddLinkExpiry; +- (BOOL)isDirectoryRestrictionsRemoveMembers; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_link_password". +/// "dropbox_passwords_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `dropboxPasswordsPolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_link_password". +/// "dropbox_passwords_policy_changed". /// -- (BOOL)isSharedContentAddLinkPassword; +- (BOOL)isDropboxPasswordsPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_add_member". +/// "email_ingest_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `emailIngestPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_add_member". +/// "email_ingest_policy_changed". /// -- (BOOL)isSharedContentAddMember; +- (BOOL)isEmailIngestPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_downloads_policy". +/// "emm_add_exception". /// -/// @return Whether the union's current tag state has value -/// "shared_content_change_downloads_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `emmAddException` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isSharedContentChangeDownloadsPolicy; +/// @return Whether the union's current tag state has value "emm_add_exception". +/// +- (BOOL)isEmmAddException; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_invitee_role". +/// "emm_change_policy". /// -/// @return Whether the union's current tag state has value -/// "shared_content_change_invitee_role". +/// @note Call this method and ensure it returns true before accessing the +/// `emmChangePolicy` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isSharedContentChangeInviteeRole; +/// @return Whether the union's current tag state has value "emm_change_policy". +/// +- (BOOL)isEmmChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_audience". +/// "emm_remove_exception". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `emmRemoveException` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_audience". +/// "emm_remove_exception". /// -- (BOOL)isSharedContentChangeLinkAudience; +- (BOOL)isEmmRemoveException; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_expiry". +/// "extended_version_history_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `extendedVersionHistoryChangePolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_expiry". +/// "extended_version_history_change_policy". /// -- (BOOL)isSharedContentChangeLinkExpiry; +- (BOOL)isExtendedVersionHistoryChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_link_password". +/// "external_drive_backup_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `externalDriveBackupPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_link_password". +/// "external_drive_backup_policy_changed". /// -- (BOOL)isSharedContentChangeLinkPassword; +- (BOOL)isExternalDriveBackupPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_member_role". +/// "file_comments_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileCommentsChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_member_role". +/// "file_comments_change_policy". /// -- (BOOL)isSharedContentChangeMemberRole; +- (BOOL)isFileCommentsChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_change_viewer_info_policy". +/// "file_locking_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileLockingPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_change_viewer_info_policy". +/// "file_locking_policy_changed". /// -- (BOOL)isSharedContentChangeViewerInfoPolicy; +- (BOOL)isFileLockingPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_claim_invitation". +/// "file_provider_migration_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileProviderMigrationPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_claim_invitation". +/// "file_provider_migration_policy_changed". /// -- (BOOL)isSharedContentClaimInvitation; +- (BOOL)isFileProviderMigrationPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_copy". +/// "file_requests_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestsChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_copy". +/// "file_requests_change_policy". /// -- (BOOL)isSharedContentCopy; +- (BOOL)isFileRequestsChangePolicy; /// -/// Retrieves whether the union's current tag state has value -/// "shared_content_download". +/// Retrieves whether the union's current tag state has value +/// "file_requests_emails_enabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestsEmailsEnabled` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_download". +/// "file_requests_emails_enabled". /// -- (BOOL)isSharedContentDownload; +- (BOOL)isFileRequestsEmailsEnabled; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_relinquish_membership". +/// "file_requests_emails_restricted_to_team_only". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileRequestsEmailsRestrictedToTeamOnly` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_relinquish_membership". +/// "file_requests_emails_restricted_to_team_only". /// -- (BOOL)isSharedContentRelinquishMembership; +- (BOOL)isFileRequestsEmailsRestrictedToTeamOnly; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_invitee". +/// "file_transfers_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileTransfersPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_invitee". +/// "file_transfers_policy_changed". /// -- (BOOL)isSharedContentRemoveInvitee; +- (BOOL)isFileTransfersPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_link_expiry". +/// "folder_link_restriction_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `folderLinkRestrictionPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_link_expiry". +/// "folder_link_restriction_policy_changed". /// -- (BOOL)isSharedContentRemoveLinkExpiry; +- (BOOL)isFolderLinkRestrictionPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_link_password". +/// "google_sso_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `googleSsoChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_link_password". +/// "google_sso_change_policy". /// -- (BOOL)isSharedContentRemoveLinkPassword; +- (BOOL)isGoogleSsoChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_remove_member". +/// "group_user_management_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `groupUserManagementChangePolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_remove_member". +/// "group_user_management_change_policy". /// -- (BOOL)isSharedContentRemoveMember; +- (BOOL)isGroupUserManagementChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_request_access". +/// "integration_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `integrationPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_request_access". +/// "integration_policy_changed". /// -- (BOOL)isSharedContentRequestAccess; +- (BOOL)isIntegrationPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_unshare". +/// "invite_acceptance_email_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `inviteAcceptanceEmailPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_unshare". +/// "invite_acceptance_email_policy_changed". /// -- (BOOL)isSharedContentUnshare; +- (BOOL)isInviteAcceptanceEmailPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_content_view". +/// "member_requests_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberRequestsChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_content_view". +/// "member_requests_change_policy". /// -- (BOOL)isSharedContentView; +- (BOOL)isMemberRequestsChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_confidentiality". +/// "member_send_invite_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSendInvitePolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_confidentiality". +/// "member_send_invite_policy_changed". /// -- (BOOL)isSharedFolderChangeConfidentiality; +- (BOOL)isMemberSendInvitePolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_link_policy". +/// "member_space_limits_add_exception". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsAddException` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_link_policy". +/// "member_space_limits_add_exception". /// -- (BOOL)isSharedFolderChangeLinkPolicy; +- (BOOL)isMemberSpaceLimitsAddException; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_member_management_policy". +/// "member_space_limits_change_caps_type_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangeCapsTypePolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_member_management_policy". +/// "member_space_limits_change_caps_type_policy". /// -- (BOOL)isSharedFolderChangeMemberManagementPolicy; +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_change_member_policy". +/// "member_space_limits_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsChangePolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_change_member_policy". +/// "member_space_limits_change_policy". /// -- (BOOL)isSharedFolderChangeMemberPolicy; +- (BOOL)isMemberSpaceLimitsChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_create". +/// "member_space_limits_remove_exception". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSpaceLimitsRemoveException` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_create". +/// "member_space_limits_remove_exception". /// -- (BOOL)isSharedFolderCreate; +- (BOOL)isMemberSpaceLimitsRemoveException; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_mount". +/// "member_suggestions_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `memberSuggestionsChangePolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_mount". +/// "member_suggestions_change_policy". /// -- (BOOL)isSharedFolderMount; +- (BOOL)isMemberSuggestionsChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_transfer_ownership". +/// "microsoft_office_addin_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `microsoftOfficeAddinChangePolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_transfer_ownership". +/// "microsoft_office_addin_change_policy". /// -- (BOOL)isSharedFolderTransferOwnership; +- (BOOL)isMicrosoftOfficeAddinChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_folder_unmount". +/// "network_control_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `networkControlChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shared_folder_unmount". +/// "network_control_change_policy". /// -- (BOOL)isSharedFolderUnmount; +- (BOOL)isNetworkControlChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shared_note_opened". +/// "paper_change_deployment_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperChangeDeploymentPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shared_note_opened". +/// "paper_change_deployment_policy". /// -- (BOOL)isSharedNoteOpened; +- (BOOL)isPaperChangeDeploymentPolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_app_create". +/// "paper_change_member_link_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperChangeMemberLinkPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_app_create". +/// "paper_change_member_link_policy". /// -- (BOOL)isShmodelAppCreate; +- (BOOL)isPaperChangeMemberLinkPolicy; /// -/// Retrieves whether the union's current tag state has value "shmodel_create". +/// Retrieves whether the union's current tag state has value +/// "paper_change_member_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperChangeMemberPolicy` property, otherwise a runtime exception will be +/// thrown. /// -/// @return Whether the union's current tag state has value "shmodel_create". +/// @return Whether the union's current tag state has value +/// "paper_change_member_policy". /// -- (BOOL)isShmodelCreate; +- (BOOL)isPaperChangeMemberPolicy; /// -/// Retrieves whether the union's current tag state has value "shmodel_disable". +/// Retrieves whether the union's current tag state has value +/// "paper_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperChangePolicy` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "shmodel_disable". +/// @return Whether the union's current tag state has value +/// "paper_change_policy". /// -- (BOOL)isShmodelDisable; +- (BOOL)isPaperChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_fb_share". +/// "paper_default_folder_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperDefaultFolderPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// -/// @return Whether the union's current tag state has value "shmodel_fb_share". +/// @return Whether the union's current tag state has value +/// "paper_default_folder_policy_changed". /// -- (BOOL)isShmodelFbShare; +- (BOOL)isPaperDefaultFolderPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_group_share". +/// "paper_desktop_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperDesktopPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_group_share". +/// "paper_desktop_policy_changed". /// -- (BOOL)isShmodelGroupShare; +- (BOOL)isPaperDesktopPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_remove_expiration". +/// "paper_enabled_users_group_addition". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperEnabledUsersGroupAddition` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_remove_expiration". +/// "paper_enabled_users_group_addition". /// -- (BOOL)isShmodelRemoveExpiration; +- (BOOL)isPaperEnabledUsersGroupAddition; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_set_expiration". +/// "paper_enabled_users_group_removal". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperEnabledUsersGroupRemoval` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_set_expiration". +/// "paper_enabled_users_group_removal". /// -- (BOOL)isShmodelSetExpiration; +- (BOOL)isPaperEnabledUsersGroupRemoval; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_copy". +/// "password_strength_requirements_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `passwordStrengthRequirementsChangePolicy` property, otherwise a runtime +/// exception will be thrown. /// -/// @return Whether the union's current tag state has value "shmodel_team_copy". +/// @return Whether the union's current tag state has value +/// "password_strength_requirements_change_policy". /// -- (BOOL)isShmodelTeamCopy; +- (BOOL)isPasswordStrengthRequirementsChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_download". +/// "permanent_delete_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `permanentDeleteChangePolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_download". +/// "permanent_delete_change_policy". /// -- (BOOL)isShmodelTeamDownload; +- (BOOL)isPermanentDeleteChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_share". +/// "reseller_support_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `resellerSupportChangePolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_team_share". +/// "reseller_support_change_policy". /// -- (BOOL)isShmodelTeamShare; +- (BOOL)isResellerSupportChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_team_view". +/// "rewind_policy_changed". /// -/// @return Whether the union's current tag state has value "shmodel_team_view". +/// @note Call this method and ensure it returns true before accessing the +/// `rewindPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isShmodelTeamView; +/// @return Whether the union's current tag state has value +/// "rewind_policy_changed". +/// +- (BOOL)isRewindPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_password". +/// "send_for_signature_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sendForSignaturePolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_password". +/// "send_for_signature_policy_changed". /// -- (BOOL)isShmodelVisibilityPassword; +- (BOOL)isSendForSignaturePolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_public". +/// "sharing_change_folder_join_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeFolderJoinPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_public". +/// "sharing_change_folder_join_policy". /// -- (BOOL)isShmodelVisibilityPublic; +- (BOOL)isSharingChangeFolderJoinPolicy; /// /// Retrieves whether the union's current tag state has value -/// "shmodel_visibility_team_only". +/// "sharing_change_link_allow_change_expiration_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeLinkAllowChangeExpirationPolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "shmodel_visibility_team_only". +/// "sharing_change_link_allow_change_expiration_policy". /// -- (BOOL)isShmodelVisibilityTeamOnly; +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicy; /// -/// Retrieves whether the union's current tag state has value "sso_add_cert". +/// Retrieves whether the union's current tag state has value +/// "sharing_change_link_default_expiration_policy". /// -/// @return Whether the union's current tag state has value "sso_add_cert". +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeLinkDefaultExpirationPolicy` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isSsoAddCert; +/// @return Whether the union's current tag state has value +/// "sharing_change_link_default_expiration_policy". +/// +- (BOOL)isSharingChangeLinkDefaultExpirationPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_add_login_url". +/// "sharing_change_link_enforce_password_policy". /// -/// @return Whether the union's current tag state has value "sso_add_login_url". +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeLinkEnforcePasswordPolicy` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isSsoAddLoginUrl; +/// @return Whether the union's current tag state has value +/// "sharing_change_link_enforce_password_policy". +/// +- (BOOL)isSharingChangeLinkEnforcePasswordPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_add_logout_url". +/// "sharing_change_link_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeLinkPolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "sso_add_logout_url". +/// "sharing_change_link_policy". /// -- (BOOL)isSsoAddLogoutUrl; +- (BOOL)isSharingChangeLinkPolicy; /// -/// Retrieves whether the union's current tag state has value "sso_change_cert". +/// Retrieves whether the union's current tag state has value +/// "sharing_change_member_policy". /// -/// @return Whether the union's current tag state has value "sso_change_cert". +/// @note Call this method and ensure it returns true before accessing the +/// `sharingChangeMemberPolicy` property, otherwise a runtime exception will be +/// thrown. /// -- (BOOL)isSsoChangeCert; +/// @return Whether the union's current tag state has value +/// "sharing_change_member_policy". +/// +- (BOOL)isSharingChangeMemberPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_login_url". +/// "showcase_change_download_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseChangeDownloadPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_login_url". +/// "showcase_change_download_policy". /// -- (BOOL)isSsoChangeLoginUrl; +- (BOOL)isShowcaseChangeDownloadPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_logout_url". +/// "showcase_change_enabled_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseChangeEnabledPolicy` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_logout_url". +/// "showcase_change_enabled_policy". /// -- (BOOL)isSsoChangeLogoutUrl; +- (BOOL)isShowcaseChangeEnabledPolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_saml_identity_mode". +/// "showcase_change_external_sharing_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `showcaseChangeExternalSharingPolicy` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_change_saml_identity_mode". +/// "showcase_change_external_sharing_policy". /// -- (BOOL)isSsoChangeSamlIdentityMode; +- (BOOL)isShowcaseChangeExternalSharingPolicy; /// -/// Retrieves whether the union's current tag state has value "sso_remove_cert". +/// Retrieves whether the union's current tag state has value +/// "smarter_smart_sync_policy_changed". /// -/// @return Whether the union's current tag state has value "sso_remove_cert". +/// @note Call this method and ensure it returns true before accessing the +/// `smarterSmartSyncPolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// -- (BOOL)isSsoRemoveCert; +/// @return Whether the union's current tag state has value +/// "smarter_smart_sync_policy_changed". +/// +- (BOOL)isSmarterSmartSyncPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "sso_remove_login_url". +/// "smart_sync_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `smartSyncChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "sso_remove_login_url". +/// "smart_sync_change_policy". /// -- (BOOL)isSsoRemoveLoginUrl; +- (BOOL)isSmartSyncChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "sso_remove_logout_url". +/// "smart_sync_not_opt_out". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `smartSyncNotOptOut` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sso_remove_logout_url". +/// "smart_sync_not_opt_out". /// -- (BOOL)isSsoRemoveLogoutUrl; +- (BOOL)isSmartSyncNotOptOut; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_change_status". +/// "smart_sync_opt_out". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `smartSyncOptOut` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_change_status". +/// "smart_sync_opt_out". /// -- (BOOL)isTeamFolderChangeStatus; +- (BOOL)isSmartSyncOptOut; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_create". +/// "sso_change_policy". /// -/// @return Whether the union's current tag state has value -/// "team_folder_create". +/// @note Call this method and ensure it returns true before accessing the +/// `ssoChangePolicy` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isTeamFolderCreate; +/// @return Whether the union's current tag state has value "sso_change_policy". +/// +- (BOOL)isSsoChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_downgrade". +/// "team_branding_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamBrandingPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_downgrade". +/// "team_branding_policy_changed". /// -- (BOOL)isTeamFolderDowngrade; +- (BOOL)isTeamBrandingPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_permanently_delete". +/// "team_extensions_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamExtensionsPolicyChanged` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_permanently_delete". +/// "team_extensions_policy_changed". /// -- (BOOL)isTeamFolderPermanentlyDelete; +- (BOOL)isTeamExtensionsPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "team_folder_rename". +/// "team_selective_sync_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamSelectiveSyncPolicyChanged` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_folder_rename". +/// "team_selective_sync_policy_changed". /// -- (BOOL)isTeamFolderRename; +- (BOOL)isTeamSelectiveSyncPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "account_capture_change_policy". +/// "team_sharing_whitelist_subjects_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamSharingWhitelistSubjectsChanged` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "account_capture_change_policy". +/// "team_sharing_whitelist_subjects_changed". /// -- (BOOL)isAccountCaptureChangePolicy; +- (BOOL)isTeamSharingWhitelistSubjectsChanged; /// /// Retrieves whether the union's current tag state has value -/// "allow_download_disabled". +/// "tfa_add_exception". /// -/// @return Whether the union's current tag state has value -/// "allow_download_disabled". +/// @note Call this method and ensure it returns true before accessing the +/// `tfaAddException` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAllowDownloadDisabled; +/// @return Whether the union's current tag state has value "tfa_add_exception". +/// +- (BOOL)isTfaAddException; /// /// Retrieves whether the union's current tag state has value -/// "allow_download_enabled". +/// "tfa_change_policy". /// -/// @return Whether the union's current tag state has value -/// "allow_download_enabled". +/// @note Call this method and ensure it returns true before accessing the +/// `tfaChangePolicy` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isAllowDownloadEnabled; +/// @return Whether the union's current tag state has value "tfa_change_policy". +/// +- (BOOL)isTfaChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "data_placement_restriction_change_policy". +/// "tfa_remove_exception". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaRemoveException` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "data_placement_restriction_change_policy". +/// "tfa_remove_exception". /// -- (BOOL)isDataPlacementRestrictionChangePolicy; +- (BOOL)isTfaRemoveException; /// /// Retrieves whether the union's current tag state has value -/// "data_placement_restriction_satisfy_policy". +/// "two_account_change_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `twoAccountChangePolicy` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "data_placement_restriction_satisfy_policy". +/// "two_account_change_policy". /// -- (BOOL)isDataPlacementRestrictionSatisfyPolicy; +- (BOOL)isTwoAccountChangePolicy; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_desktop_policy". +/// "viewer_info_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `viewerInfoPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_desktop_policy". +/// "viewer_info_policy_changed". /// -- (BOOL)isDeviceApprovalsChangeDesktopPolicy; +- (BOOL)isViewerInfoPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_mobile_policy". +/// "watermarking_policy_changed". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `watermarkingPolicyChanged` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_mobile_policy". +/// "watermarking_policy_changed". /// -- (BOOL)isDeviceApprovalsChangeMobilePolicy; +- (BOOL)isWatermarkingPolicyChanged; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_overage_action". +/// "web_sessions_change_active_session_limit". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `webSessionsChangeActiveSessionLimit` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_overage_action". +/// "web_sessions_change_active_session_limit". /// -- (BOOL)isDeviceApprovalsChangeOverageAction; +- (BOOL)isWebSessionsChangeActiveSessionLimit; /// /// Retrieves whether the union's current tag state has value -/// "device_approvals_change_unlink_action". +/// "web_sessions_change_fixed_length_policy". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `webSessionsChangeFixedLengthPolicy` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "device_approvals_change_unlink_action". +/// "web_sessions_change_fixed_length_policy". /// -- (BOOL)isDeviceApprovalsChangeUnlinkAction; +- (BOOL)isWebSessionsChangeFixedLengthPolicy; /// /// Retrieves whether the union's current tag state has value -/// "emm_add_exception". +/// "web_sessions_change_idle_length_policy". /// -/// @return Whether the union's current tag state has value "emm_add_exception". +/// @note Call this method and ensure it returns true before accessing the +/// `webSessionsChangeIdleLengthPolicy` property, otherwise a runtime exception +/// will be thrown. /// -- (BOOL)isEmmAddException; +/// @return Whether the union's current tag state has value +/// "web_sessions_change_idle_length_policy". +/// +- (BOOL)isWebSessionsChangeIdleLengthPolicy; /// /// Retrieves whether the union's current tag state has value -/// "emm_change_policy". +/// "data_residency_migration_request_successful". /// -/// @return Whether the union's current tag state has value "emm_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `dataResidencyMigrationRequestSuccessful` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isEmmChangePolicy; +/// @return Whether the union's current tag state has value +/// "data_residency_migration_request_successful". +/// +- (BOOL)isDataResidencyMigrationRequestSuccessful; /// /// Retrieves whether the union's current tag state has value -/// "emm_remove_exception". +/// "data_residency_migration_request_unsuccessful". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `dataResidencyMigrationRequestUnsuccessful` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "emm_remove_exception". +/// "data_residency_migration_request_unsuccessful". /// -- (BOOL)isEmmRemoveException; +- (BOOL)isDataResidencyMigrationRequestUnsuccessful; /// -/// Retrieves whether the union's current tag state has value -/// "extended_version_history_change_policy". +/// Retrieves whether the union's current tag state has value "team_merge_from". /// -/// @return Whether the union's current tag state has value -/// "extended_version_history_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeFrom` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isExtendedVersionHistoryChangePolicy; +/// @return Whether the union's current tag state has value "team_merge_from". +/// +- (BOOL)isTeamMergeFrom; /// -/// Retrieves whether the union's current tag state has value -/// "file_comments_change_policy". +/// Retrieves whether the union's current tag state has value "team_merge_to". /// -/// @return Whether the union's current tag state has value -/// "file_comments_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeTo` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isFileCommentsChangePolicy; +/// @return Whether the union's current tag state has value "team_merge_to". +/// +- (BOOL)isTeamMergeTo; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_change_policy". +/// "team_profile_add_background". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileAddBackground` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_change_policy". +/// "team_profile_add_background". /// -- (BOOL)isFileRequestsChangePolicy; +- (BOOL)isTeamProfileAddBackground; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_emails_enabled". +/// "team_profile_add_logo". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileAddLogo` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_emails_enabled". +/// "team_profile_add_logo". /// -- (BOOL)isFileRequestsEmailsEnabled; +- (BOOL)isTeamProfileAddLogo; /// /// Retrieves whether the union's current tag state has value -/// "file_requests_emails_restricted_to_team_only". +/// "team_profile_change_background". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileChangeBackground` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "file_requests_emails_restricted_to_team_only". +/// "team_profile_change_background". /// -- (BOOL)isFileRequestsEmailsRestrictedToTeamOnly; +- (BOOL)isTeamProfileChangeBackground; /// /// Retrieves whether the union's current tag state has value -/// "google_sso_change_policy". +/// "team_profile_change_default_language". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileChangeDefaultLanguage` property, otherwise a runtime exception +/// will be thrown. /// /// @return Whether the union's current tag state has value -/// "google_sso_change_policy". +/// "team_profile_change_default_language". /// -- (BOOL)isGoogleSsoChangePolicy; +- (BOOL)isTeamProfileChangeDefaultLanguage; /// /// Retrieves whether the union's current tag state has value -/// "group_user_management_change_policy". +/// "team_profile_change_logo". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileChangeLogo` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "group_user_management_change_policy". +/// "team_profile_change_logo". /// -- (BOOL)isGroupUserManagementChangePolicy; +- (BOOL)isTeamProfileChangeLogo; /// /// Retrieves whether the union's current tag state has value -/// "member_requests_change_policy". +/// "team_profile_change_name". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileChangeName` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_requests_change_policy". +/// "team_profile_change_name". /// -- (BOOL)isMemberRequestsChangePolicy; +- (BOOL)isTeamProfileChangeName; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_add_exception". +/// "team_profile_remove_background". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileRemoveBackground` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_add_exception". +/// "team_profile_remove_background". /// -- (BOOL)isMemberSpaceLimitsAddException; +- (BOOL)isTeamProfileRemoveBackground; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_change_policy". +/// "team_profile_remove_logo". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamProfileRemoveLogo` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_change_policy". +/// "team_profile_remove_logo". /// -- (BOOL)isMemberSpaceLimitsChangePolicy; +- (BOOL)isTeamProfileRemoveLogo; /// /// Retrieves whether the union's current tag state has value -/// "member_space_limits_remove_exception". +/// "tfa_add_backup_phone". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaAddBackupPhone` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_space_limits_remove_exception". +/// "tfa_add_backup_phone". /// -- (BOOL)isMemberSpaceLimitsRemoveException; +- (BOOL)isTfaAddBackupPhone; /// /// Retrieves whether the union's current tag state has value -/// "member_suggestions_change_policy". +/// "tfa_add_security_key". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaAddSecurityKey` property, otherwise a runtime exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "member_suggestions_change_policy". +/// "tfa_add_security_key". /// -- (BOOL)isMemberSuggestionsChangePolicy; +- (BOOL)isTfaAddSecurityKey; /// /// Retrieves whether the union's current tag state has value -/// "microsoft_office_addin_change_policy". +/// "tfa_change_backup_phone". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaChangeBackupPhone` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "microsoft_office_addin_change_policy". +/// "tfa_change_backup_phone". /// -- (BOOL)isMicrosoftOfficeAddinChangePolicy; +- (BOOL)isTfaChangeBackupPhone; /// /// Retrieves whether the union's current tag state has value -/// "network_control_change_policy". +/// "tfa_change_status". /// -/// @return Whether the union's current tag state has value -/// "network_control_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `tfaChangeStatus` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isNetworkControlChangePolicy; +/// @return Whether the union's current tag state has value "tfa_change_status". +/// +- (BOOL)isTfaChangeStatus; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_deployment_policy". +/// "tfa_remove_backup_phone". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaRemoveBackupPhone` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_deployment_policy". +/// "tfa_remove_backup_phone". /// -- (BOOL)isPaperChangeDeploymentPolicy; +- (BOOL)isTfaRemoveBackupPhone; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_member_link_policy". +/// "tfa_remove_security_key". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `tfaRemoveSecurityKey` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_member_link_policy". +/// "tfa_remove_security_key". /// -- (BOOL)isPaperChangeMemberLinkPolicy; +- (BOOL)isTfaRemoveSecurityKey; /// -/// Retrieves whether the union's current tag state has value -/// "paper_change_member_policy". +/// Retrieves whether the union's current tag state has value "tfa_reset". /// -/// @return Whether the union's current tag state has value -/// "paper_change_member_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `tfaReset` property, otherwise a runtime exception will be thrown. /// -- (BOOL)isPaperChangeMemberPolicy; +/// @return Whether the union's current tag state has value "tfa_reset". +/// +- (BOOL)isTfaReset; /// /// Retrieves whether the union's current tag state has value -/// "paper_change_policy". +/// "changed_enterprise_admin_role". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `changedEnterpriseAdminRole` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "paper_change_policy". +/// "changed_enterprise_admin_role". /// -- (BOOL)isPaperChangePolicy; +- (BOOL)isChangedEnterpriseAdminRole; /// /// Retrieves whether the union's current tag state has value -/// "permanent_delete_change_policy". +/// "changed_enterprise_connected_team_status". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `changedEnterpriseConnectedTeamStatus` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "permanent_delete_change_policy". +/// "changed_enterprise_connected_team_status". /// -- (BOOL)isPermanentDeleteChangePolicy; +- (BOOL)isChangedEnterpriseConnectedTeamStatus; /// /// Retrieves whether the union's current tag state has value -/// "sharing_change_folder_join_policy". +/// "ended_enterprise_admin_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `endedEnterpriseAdminSession` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "sharing_change_folder_join_policy". +/// "ended_enterprise_admin_session". /// -- (BOOL)isSharingChangeFolderJoinPolicy; +- (BOOL)isEndedEnterpriseAdminSession; /// /// Retrieves whether the union's current tag state has value -/// "sharing_change_link_policy". +/// "ended_enterprise_admin_session_deprecated". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `endedEnterpriseAdminSessionDeprecated` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "sharing_change_link_policy". +/// "ended_enterprise_admin_session_deprecated". /// -- (BOOL)isSharingChangeLinkPolicy; +- (BOOL)isEndedEnterpriseAdminSessionDeprecated; /// /// Retrieves whether the union's current tag state has value -/// "sharing_change_member_policy". +/// "enterprise_settings_locking". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `enterpriseSettingsLocking` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "sharing_change_member_policy". +/// "enterprise_settings_locking". /// -- (BOOL)isSharingChangeMemberPolicy; +- (BOOL)isEnterpriseSettingsLocking; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_change_policy". +/// "guest_admin_change_status". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `guestAdminChangeStatus` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_change_policy". +/// "guest_admin_change_status". /// -- (BOOL)isSmartSyncChangePolicy; +- (BOOL)isGuestAdminChangeStatus; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_not_opt_out". +/// "started_enterprise_admin_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `startedEnterpriseAdminSession` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_not_opt_out". +/// "started_enterprise_admin_session". /// -- (BOOL)isSmartSyncNotOptOut; +- (BOOL)isStartedEnterpriseAdminSession; /// /// Retrieves whether the union's current tag state has value -/// "smart_sync_opt_out". +/// "team_merge_request_accepted". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestAccepted` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "smart_sync_opt_out". +/// "team_merge_request_accepted". /// -- (BOOL)isSmartSyncOptOut; +- (BOOL)isTeamMergeRequestAccepted; /// /// Retrieves whether the union's current tag state has value -/// "sso_change_policy". +/// "team_merge_request_accepted_shown_to_primary_team". /// -/// @return Whether the union's current tag state has value "sso_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestAcceptedShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isSsoChangePolicy; +/// @return Whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_policy". +/// "team_merge_request_accepted_shown_to_secondary_team". /// -/// @return Whether the union's current tag state has value "tfa_change_policy". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestAcceptedShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isTfaChangePolicy; +/// @return Whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "two_account_change_policy". +/// "team_merge_request_auto_canceled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestAutoCanceled` property, otherwise a runtime exception will +/// be thrown. /// /// @return Whether the union's current tag state has value -/// "two_account_change_policy". +/// "team_merge_request_auto_canceled". /// -- (BOOL)isTwoAccountChangePolicy; +- (BOOL)isTeamMergeRequestAutoCanceled; /// /// Retrieves whether the union's current tag state has value -/// "web_sessions_change_fixed_length_policy". +/// "team_merge_request_canceled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestCanceled` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "web_sessions_change_fixed_length_policy". +/// "team_merge_request_canceled". /// -- (BOOL)isWebSessionsChangeFixedLengthPolicy; +- (BOOL)isTeamMergeRequestCanceled; /// /// Retrieves whether the union's current tag state has value -/// "web_sessions_change_idle_length_policy". +/// "team_merge_request_canceled_shown_to_primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestCanceledShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "web_sessions_change_idle_length_policy". +/// "team_merge_request_canceled_shown_to_primary_team". /// -- (BOOL)isWebSessionsChangeIdleLengthPolicy; +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_add_logo". +/// "team_merge_request_canceled_shown_to_secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestCanceledShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_add_logo". +/// "team_merge_request_canceled_shown_to_secondary_team". /// -- (BOOL)isTeamProfileAddLogo; +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_default_language". +/// "team_merge_request_expired". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestExpired` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_default_language". +/// "team_merge_request_expired". /// -- (BOOL)isTeamProfileChangeDefaultLanguage; +- (BOOL)isTeamMergeRequestExpired; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_logo". +/// "team_merge_request_expired_shown_to_primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestExpiredShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_logo". +/// "team_merge_request_expired_shown_to_primary_team". /// -- (BOOL)isTeamProfileChangeLogo; +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_change_name". +/// "team_merge_request_expired_shown_to_secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestExpiredShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_change_name". +/// "team_merge_request_expired_shown_to_secondary_team". /// -- (BOOL)isTeamProfileChangeName; +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "team_profile_remove_logo". +/// "team_merge_request_rejected_shown_to_primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestRejectedShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "team_profile_remove_logo". +/// "team_merge_request_rejected_shown_to_primary_team". /// -- (BOOL)isTeamProfileRemoveLogo; +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "tfa_add_backup_phone". +/// "team_merge_request_rejected_shown_to_secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestRejectedShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_add_backup_phone". +/// "team_merge_request_rejected_shown_to_secondary_team". /// -- (BOOL)isTfaAddBackupPhone; +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "tfa_add_security_key". +/// "team_merge_request_reminder". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestReminder` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_add_security_key". +/// "team_merge_request_reminder". /// -- (BOOL)isTfaAddSecurityKey; +- (BOOL)isTeamMergeRequestReminder; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_backup_phone". +/// "team_merge_request_reminder_shown_to_primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestReminderShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_change_backup_phone". +/// "team_merge_request_reminder_shown_to_primary_team". /// -- (BOOL)isTfaChangeBackupPhone; +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "tfa_change_status". +/// "team_merge_request_reminder_shown_to_secondary_team". /// -/// @return Whether the union's current tag state has value "tfa_change_status". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestReminderShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isTfaChangeStatus; +/// @return Whether the union's current tag state has value +/// "team_merge_request_reminder_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value -/// "tfa_remove_backup_phone". +/// "team_merge_request_revoked". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestRevoked` property, otherwise a runtime exception will be +/// thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_remove_backup_phone". +/// "team_merge_request_revoked". /// -- (BOOL)isTfaRemoveBackupPhone; +- (BOOL)isTeamMergeRequestRevoked; /// /// Retrieves whether the union's current tag state has value -/// "tfa_remove_security_key". +/// "team_merge_request_sent_shown_to_primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestSentShownToPrimaryTeam` property, otherwise a runtime +/// exception will be thrown. /// /// @return Whether the union's current tag state has value -/// "tfa_remove_security_key". +/// "team_merge_request_sent_shown_to_primary_team". /// -- (BOOL)isTfaRemoveSecurityKey; +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeam; /// -/// Retrieves whether the union's current tag state has value "tfa_reset". +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_secondary_team". /// -/// @return Whether the union's current tag state has value "tfa_reset". +/// @note Call this method and ensure it returns true before accessing the +/// `teamMergeRequestSentShownToSecondaryTeam` property, otherwise a runtime +/// exception will be thrown. /// -- (BOOL)isTfaReset; +/// @return Whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeam; /// /// Retrieves whether the union's current tag state has value "other". @@ -6125,7 +17705,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGEventType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGEventType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEventType *)instance; /// /// Deserializes `DBTEAMLOGEventType` instances. @@ -6135,7 +17715,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGEventTypeTag) { /// /// @return An instantiation of the `DBTEAMLOGEventType` object. /// -+ (DBTEAMLOGEventType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGEventType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventTypeArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventTypeArg.h new file mode 100644 index 000000000..442801360 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGEventTypeArg.h @@ -0,0 +1,11299 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEventTypeArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `EventTypeArg` union. +/// +/// The type of the event. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGEventTypeArg : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGEventTypeArgTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGEventTypeArg` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGEventTypeArgTag){ + /// (admin_alerting) Changed an alert state + DBTEAMLOGEventTypeArgAdminAlertingAlertStateChanged, + + /// (admin_alerting) Changed an alert setting + DBTEAMLOGEventTypeArgAdminAlertingChangedAlertConfig, + + /// (admin_alerting) Triggered security alert + DBTEAMLOGEventTypeArgAdminAlertingTriggeredAlert, + + /// (admin_alerting) Completed ransomware restore process + DBTEAMLOGEventTypeArgRansomwareRestoreProcessCompleted, + + /// (admin_alerting) Started ransomware restore process + DBTEAMLOGEventTypeArgRansomwareRestoreProcessStarted, + + /// (apps) Failed to connect app for member + DBTEAMLOGEventTypeArgAppBlockedByPermissions, + + /// (apps) Linked app for team + DBTEAMLOGEventTypeArgAppLinkTeam, + + /// (apps) Linked app for member + DBTEAMLOGEventTypeArgAppLinkUser, + + /// (apps) Unlinked app for team + DBTEAMLOGEventTypeArgAppUnlinkTeam, + + /// (apps) Unlinked app for member + DBTEAMLOGEventTypeArgAppUnlinkUser, + + /// (apps) Connected integration for member + DBTEAMLOGEventTypeArgIntegrationConnected, + + /// (apps) Disconnected integration for member + DBTEAMLOGEventTypeArgIntegrationDisconnected, + + /// (comments) Added file comment + DBTEAMLOGEventTypeArgFileAddComment, + + /// (comments) Subscribed to or unsubscribed from comment notifications for + /// file + DBTEAMLOGEventTypeArgFileChangeCommentSubscription, + + /// (comments) Deleted file comment + DBTEAMLOGEventTypeArgFileDeleteComment, + + /// (comments) Edited file comment + DBTEAMLOGEventTypeArgFileEditComment, + + /// (comments) Liked file comment (deprecated, no longer logged) + DBTEAMLOGEventTypeArgFileLikeComment, + + /// (comments) Resolved file comment + DBTEAMLOGEventTypeArgFileResolveComment, + + /// (comments) Unliked file comment (deprecated, no longer logged) + DBTEAMLOGEventTypeArgFileUnlikeComment, + + /// (comments) Unresolved file comment + DBTEAMLOGEventTypeArgFileUnresolveComment, + + /// (data_governance) Added folders to policy + DBTEAMLOGEventTypeArgGovernancePolicyAddFolders, + + /// (data_governance) Couldn't add a folder to a policy + DBTEAMLOGEventTypeArgGovernancePolicyAddFolderFailed, + + /// (data_governance) Content disposed + DBTEAMLOGEventTypeArgGovernancePolicyContentDisposed, + + /// (data_governance) Activated a new policy + DBTEAMLOGEventTypeArgGovernancePolicyCreate, + + /// (data_governance) Deleted a policy + DBTEAMLOGEventTypeArgGovernancePolicyDelete, + + /// (data_governance) Edited policy + DBTEAMLOGEventTypeArgGovernancePolicyEditDetails, + + /// (data_governance) Changed policy duration + DBTEAMLOGEventTypeArgGovernancePolicyEditDuration, + + /// (data_governance) Created a policy download + DBTEAMLOGEventTypeArgGovernancePolicyExportCreated, + + /// (data_governance) Removed a policy download + DBTEAMLOGEventTypeArgGovernancePolicyExportRemoved, + + /// (data_governance) Removed folders from policy + DBTEAMLOGEventTypeArgGovernancePolicyRemoveFolders, + + /// (data_governance) Created a summary report for a policy + DBTEAMLOGEventTypeArgGovernancePolicyReportCreated, + + /// (data_governance) Downloaded content from a policy + DBTEAMLOGEventTypeArgGovernancePolicyZipPartDownloaded, + + /// (data_governance) Activated a hold + DBTEAMLOGEventTypeArgLegalHoldsActivateAHold, + + /// (data_governance) Added members to a hold + DBTEAMLOGEventTypeArgLegalHoldsAddMembers, + + /// (data_governance) Edited details for a hold + DBTEAMLOGEventTypeArgLegalHoldsChangeHoldDetails, + + /// (data_governance) Renamed a hold + DBTEAMLOGEventTypeArgLegalHoldsChangeHoldName, + + /// (data_governance) Exported hold + DBTEAMLOGEventTypeArgLegalHoldsExportAHold, + + /// (data_governance) Canceled export for a hold + DBTEAMLOGEventTypeArgLegalHoldsExportCancelled, + + /// (data_governance) Downloaded export for a hold + DBTEAMLOGEventTypeArgLegalHoldsExportDownloaded, + + /// (data_governance) Removed export for a hold + DBTEAMLOGEventTypeArgLegalHoldsExportRemoved, + + /// (data_governance) Released a hold + DBTEAMLOGEventTypeArgLegalHoldsReleaseAHold, + + /// (data_governance) Removed members from a hold + DBTEAMLOGEventTypeArgLegalHoldsRemoveMembers, + + /// (data_governance) Created a summary report for a hold + DBTEAMLOGEventTypeArgLegalHoldsReportAHold, + + /// (devices) Changed IP address associated with active desktop session + DBTEAMLOGEventTypeArgDeviceChangeIpDesktop, + + /// (devices) Changed IP address associated with active mobile session + DBTEAMLOGEventTypeArgDeviceChangeIpMobile, + + /// (devices) Changed IP address associated with active web session + DBTEAMLOGEventTypeArgDeviceChangeIpWeb, + + /// (devices) Failed to delete all files from unlinked device + DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkFail, + + /// (devices) Deleted all files from unlinked device + DBTEAMLOGEventTypeArgDeviceDeleteOnUnlinkSuccess, + + /// (devices) Failed to link device + DBTEAMLOGEventTypeArgDeviceLinkFail, + + /// (devices) Linked device + DBTEAMLOGEventTypeArgDeviceLinkSuccess, + + /// (devices) Disabled device management (deprecated, no longer logged) + DBTEAMLOGEventTypeArgDeviceManagementDisabled, + + /// (devices) Enabled device management (deprecated, no longer logged) + DBTEAMLOGEventTypeArgDeviceManagementEnabled, + + /// (devices) Enabled/disabled backup for computer + DBTEAMLOGEventTypeArgDeviceSyncBackupStatusChanged, + + /// (devices) Disconnected device + DBTEAMLOGEventTypeArgDeviceUnlink, + + /// (devices) Exported passwords + DBTEAMLOGEventTypeArgDropboxPasswordsExported, + + /// (devices) Enrolled new Dropbox Passwords device + DBTEAMLOGEventTypeArgDropboxPasswordsNewDeviceEnrolled, + + /// (devices) Refreshed auth token used for setting up EMM + DBTEAMLOGEventTypeArgEmmRefreshAuthToken, + + /// (devices) Checked external drive backup eligibility status + DBTEAMLOGEventTypeArgExternalDriveBackupEligibilityStatusChecked, + + /// (devices) Modified external drive backup + DBTEAMLOGEventTypeArgExternalDriveBackupStatusChanged, + + /// (domains) Granted/revoked option to enable account capture on team + /// domains + DBTEAMLOGEventTypeArgAccountCaptureChangeAvailability, + + /// (domains) Account-captured user migrated account to team + DBTEAMLOGEventTypeArgAccountCaptureMigrateAccount, + + /// (domains) Sent account capture email to all unmanaged members + DBTEAMLOGEventTypeArgAccountCaptureNotificationEmailsSent, + + /// (domains) Account-captured user changed account email to personal email + DBTEAMLOGEventTypeArgAccountCaptureRelinquishAccount, + + /// (domains) Disabled domain invites (deprecated, no longer logged) + DBTEAMLOGEventTypeArgDisabledDomainInvites, + + /// (domains) Approved user's request to join team + DBTEAMLOGEventTypeArgDomainInvitesApproveRequestToJoinTeam, + + /// (domains) Declined user's request to join team + DBTEAMLOGEventTypeArgDomainInvitesDeclineRequestToJoinTeam, + + /// (domains) Sent domain invites to existing domain accounts (deprecated, + /// no longer logged) + DBTEAMLOGEventTypeArgDomainInvitesEmailExistingUsers, + + /// (domains) Requested to join team + DBTEAMLOGEventTypeArgDomainInvitesRequestToJoinTeam, + + /// (domains) Disabled "Automatically invite new users" (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToNo, + + /// (domains) Enabled "Automatically invite new users" (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgDomainInvitesSetInviteNewUserPrefToYes, + + /// (domains) Failed to verify team domain + DBTEAMLOGEventTypeArgDomainVerificationAddDomainFail, + + /// (domains) Verified team domain + DBTEAMLOGEventTypeArgDomainVerificationAddDomainSuccess, + + /// (domains) Removed domain from list of verified team domains + DBTEAMLOGEventTypeArgDomainVerificationRemoveDomain, + + /// (domains) Enabled domain invites (deprecated, no longer logged) + DBTEAMLOGEventTypeArgEnabledDomainInvites, + + /// (encryption) Canceled team encryption key deletion + DBTEAMLOGEventTypeArgTeamEncryptionKeyCancelKeyDeletion, + + /// (encryption) Created team encryption key + DBTEAMLOGEventTypeArgTeamEncryptionKeyCreateKey, + + /// (encryption) Deleted team encryption key + DBTEAMLOGEventTypeArgTeamEncryptionKeyDeleteKey, + + /// (encryption) Disabled team encryption key + DBTEAMLOGEventTypeArgTeamEncryptionKeyDisableKey, + + /// (encryption) Enabled team encryption key + DBTEAMLOGEventTypeArgTeamEncryptionKeyEnableKey, + + /// (encryption) Rotated team encryption key (deprecated, no longer logged) + DBTEAMLOGEventTypeArgTeamEncryptionKeyRotateKey, + + /// (encryption) Scheduled encryption key deletion + DBTEAMLOGEventTypeArgTeamEncryptionKeyScheduleKeyDeletion, + + /// (file_operations) Applied naming convention + DBTEAMLOGEventTypeArgApplyNamingConvention, + + /// (file_operations) Created folders (deprecated, no longer logged) + DBTEAMLOGEventTypeArgCreateFolder, + + /// (file_operations) Added files and/or folders + DBTEAMLOGEventTypeArgFileAdd, + + /// (file_operations) Added files and/or folders from automation + DBTEAMLOGEventTypeArgFileAddFromAutomation, + + /// (file_operations) Copied files and/or folders + DBTEAMLOGEventTypeArgFileCopy, + + /// (file_operations) Deleted files and/or folders + DBTEAMLOGEventTypeArgFileDelete, + + /// (file_operations) Downloaded files and/or folders + DBTEAMLOGEventTypeArgFileDownload, + + /// (file_operations) Edited files + DBTEAMLOGEventTypeArgFileEdit, + + /// (file_operations) Created copy reference to file/folder + DBTEAMLOGEventTypeArgFileGetCopyReference, + + /// (file_operations) Locked/unlocked editing for a file + DBTEAMLOGEventTypeArgFileLockingLockStatusChanged, + + /// (file_operations) Moved files and/or folders + DBTEAMLOGEventTypeArgFileMove, + + /// (file_operations) Permanently deleted files and/or folders + DBTEAMLOGEventTypeArgFilePermanentlyDelete, + + /// (file_operations) Previewed files and/or folders + DBTEAMLOGEventTypeArgFilePreview, + + /// (file_operations) Renamed files and/or folders + DBTEAMLOGEventTypeArgFileRename, + + /// (file_operations) Restored deleted files and/or folders + DBTEAMLOGEventTypeArgFileRestore, + + /// (file_operations) Reverted files to previous version + DBTEAMLOGEventTypeArgFileRevert, + + /// (file_operations) Rolled back file actions + DBTEAMLOGEventTypeArgFileRollbackChanges, + + /// (file_operations) Saved file/folder using copy reference + DBTEAMLOGEventTypeArgFileSaveCopyReference, + + /// (file_operations) Updated folder overview + DBTEAMLOGEventTypeArgFolderOverviewDescriptionChanged, + + /// (file_operations) Pinned item to folder overview + DBTEAMLOGEventTypeArgFolderOverviewItemPinned, + + /// (file_operations) Unpinned item from folder overview + DBTEAMLOGEventTypeArgFolderOverviewItemUnpinned, + + /// (file_operations) Added a label + DBTEAMLOGEventTypeArgObjectLabelAdded, + + /// (file_operations) Removed a label + DBTEAMLOGEventTypeArgObjectLabelRemoved, + + /// (file_operations) Updated a label's value + DBTEAMLOGEventTypeArgObjectLabelUpdatedValue, + + /// (file_operations) Organized a folder with multi-file organize + DBTEAMLOGEventTypeArgOrganizeFolderWithTidy, + + /// (file_operations) Deleted files in Replay + DBTEAMLOGEventTypeArgReplayFileDelete, + + /// (file_operations) Rewound a folder + DBTEAMLOGEventTypeArgRewindFolder, + + /// (file_operations) Reverted naming convention + DBTEAMLOGEventTypeArgUndoNamingConvention, + + /// (file_operations) Removed multi-file organize + DBTEAMLOGEventTypeArgUndoOrganizeFolderWithTidy, + + /// (file_operations) Tagged a file + DBTEAMLOGEventTypeArgUserTagsAdded, + + /// (file_operations) Removed tags + DBTEAMLOGEventTypeArgUserTagsRemoved, + + /// (file_requests) Received files via Email to Dropbox + DBTEAMLOGEventTypeArgEmailIngestReceiveFile, + + /// (file_requests) Changed file request + DBTEAMLOGEventTypeArgFileRequestChange, + + /// (file_requests) Closed file request + DBTEAMLOGEventTypeArgFileRequestClose, + + /// (file_requests) Created file request + DBTEAMLOGEventTypeArgFileRequestCreate, + + /// (file_requests) Delete file request + DBTEAMLOGEventTypeArgFileRequestDelete, + + /// (file_requests) Received files for file request + DBTEAMLOGEventTypeArgFileRequestReceiveFile, + + /// (groups) Added external ID for group + DBTEAMLOGEventTypeArgGroupAddExternalId, + + /// (groups) Added team members to group + DBTEAMLOGEventTypeArgGroupAddMember, + + /// (groups) Changed external ID for group + DBTEAMLOGEventTypeArgGroupChangeExternalId, + + /// (groups) Changed group management type + DBTEAMLOGEventTypeArgGroupChangeManagementType, + + /// (groups) Changed manager permissions of group member + DBTEAMLOGEventTypeArgGroupChangeMemberRole, + + /// (groups) Created group + DBTEAMLOGEventTypeArgGroupCreate, + + /// (groups) Deleted group + DBTEAMLOGEventTypeArgGroupDelete, + + /// (groups) Updated group (deprecated, no longer logged) + DBTEAMLOGEventTypeArgGroupDescriptionUpdated, + + /// (groups) Updated group join policy (deprecated, no longer logged) + DBTEAMLOGEventTypeArgGroupJoinPolicyUpdated, + + /// (groups) Moved group (deprecated, no longer logged) + DBTEAMLOGEventTypeArgGroupMoved, + + /// (groups) Removed external ID for group + DBTEAMLOGEventTypeArgGroupRemoveExternalId, + + /// (groups) Removed team members from group + DBTEAMLOGEventTypeArgGroupRemoveMember, + + /// (groups) Renamed group + DBTEAMLOGEventTypeArgGroupRename, + + /// (logins) Unlocked/locked account after failed sign in attempts + DBTEAMLOGEventTypeArgAccountLockOrUnlocked, + + /// (logins) Failed to sign in via EMM (deprecated, replaced by 'Failed to + /// sign in') + DBTEAMLOGEventTypeArgEmmError, + + /// (logins) Started trusted team admin session + DBTEAMLOGEventTypeArgGuestAdminSignedInViaTrustedTeams, + + /// (logins) Ended trusted team admin session + DBTEAMLOGEventTypeArgGuestAdminSignedOutViaTrustedTeams, + + /// (logins) Failed to sign in + DBTEAMLOGEventTypeArgLoginFail, + + /// (logins) Signed in + DBTEAMLOGEventTypeArgLoginSuccess, + + /// (logins) Signed out + DBTEAMLOGEventTypeArgLogout, + + /// (logins) Ended reseller support session + DBTEAMLOGEventTypeArgResellerSupportSessionEnd, + + /// (logins) Started reseller support session + DBTEAMLOGEventTypeArgResellerSupportSessionStart, + + /// (logins) Ended admin sign-in-as session + DBTEAMLOGEventTypeArgSignInAsSessionEnd, + + /// (logins) Started admin sign-in-as session + DBTEAMLOGEventTypeArgSignInAsSessionStart, + + /// (logins) Failed to sign in via SSO (deprecated, replaced by 'Failed to + /// sign in') + DBTEAMLOGEventTypeArgSsoError, + + /// (members) Invited members to activate Backup + DBTEAMLOGEventTypeArgBackupAdminInvitationSent, + + /// (members) Opened Backup invite + DBTEAMLOGEventTypeArgBackupInvitationOpened, + + /// (members) Created team invite link + DBTEAMLOGEventTypeArgCreateTeamInviteLink, + + /// (members) Deleted team invite link + DBTEAMLOGEventTypeArgDeleteTeamInviteLink, + + /// (members) Added an external ID for team member + DBTEAMLOGEventTypeArgMemberAddExternalId, + + /// (members) Added team member name + DBTEAMLOGEventTypeArgMemberAddName, + + /// (members) Changed team member admin role + DBTEAMLOGEventTypeArgMemberChangeAdminRole, + + /// (members) Changed team member email + DBTEAMLOGEventTypeArgMemberChangeEmail, + + /// (members) Changed the external ID for team member + DBTEAMLOGEventTypeArgMemberChangeExternalId, + + /// (members) Changed membership type (limited/full) of member (deprecated, + /// no longer logged) + DBTEAMLOGEventTypeArgMemberChangeMembershipType, + + /// (members) Changed team member name + DBTEAMLOGEventTypeArgMemberChangeName, + + /// (members) Changed team member reseller role + DBTEAMLOGEventTypeArgMemberChangeResellerRole, + + /// (members) Changed member status (invited, joined, suspended, etc.) + DBTEAMLOGEventTypeArgMemberChangeStatus, + + /// (members) Cleared manually added contacts + DBTEAMLOGEventTypeArgMemberDeleteManualContacts, + + /// (members) Deleted team member profile photo + DBTEAMLOGEventTypeArgMemberDeleteProfilePhoto, + + /// (members) Permanently deleted contents of deleted team member account + DBTEAMLOGEventTypeArgMemberPermanentlyDeleteAccountContents, + + /// (members) Removed the external ID for team member + DBTEAMLOGEventTypeArgMemberRemoveExternalId, + + /// (members) Set team member profile photo + DBTEAMLOGEventTypeArgMemberSetProfilePhoto, + + /// (members) Set custom member space limit + DBTEAMLOGEventTypeArgMemberSpaceLimitsAddCustomQuota, + + /// (members) Changed custom member space limit + DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCustomQuota, + + /// (members) Changed space limit status + DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeStatus, + + /// (members) Removed custom member space limit + DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveCustomQuota, + + /// (members) Suggested person to add to team + DBTEAMLOGEventTypeArgMemberSuggest, + + /// (members) Transferred contents of deleted member account to another + /// member + DBTEAMLOGEventTypeArgMemberTransferAccountContents, + + /// (members) Added pending secondary email + DBTEAMLOGEventTypeArgPendingSecondaryEmailAdded, + + /// (members) Deleted secondary email + DBTEAMLOGEventTypeArgSecondaryEmailDeleted, + + /// (members) Verified secondary email + DBTEAMLOGEventTypeArgSecondaryEmailVerified, + + /// (members) Secondary mails policy changed + DBTEAMLOGEventTypeArgSecondaryMailsPolicyChanged, + + /// (paper) Added Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderAddPage, + + /// (paper) Added Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderAddSection, + + /// (paper) Removed Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderRemovePage, + + /// (paper) Removed Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderRemoveSection, + + /// (paper) Renamed Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderRenamePage, + + /// (paper) Renamed Binder section (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderRenameSection, + + /// (paper) Reordered Binder page (deprecated, replaced by 'Edited files') + DBTEAMLOGEventTypeArgBinderReorderPage, + + /// (paper) Reordered Binder section (deprecated, replaced by 'Edited + /// files') + DBTEAMLOGEventTypeArgBinderReorderSection, + + /// (paper) Added users and/or groups to Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentAddMember, + + /// (paper) Added Paper doc/folder to folder + DBTEAMLOGEventTypeArgPaperContentAddToFolder, + + /// (paper) Archived Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentArchive, + + /// (paper) Created Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentCreate, + + /// (paper) Permanently deleted Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentPermanentlyDelete, + + /// (paper) Removed Paper doc/folder from folder + DBTEAMLOGEventTypeArgPaperContentRemoveFromFolder, + + /// (paper) Removed users and/or groups from Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentRemoveMember, + + /// (paper) Renamed Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentRename, + + /// (paper) Restored archived Paper doc/folder + DBTEAMLOGEventTypeArgPaperContentRestore, + + /// (paper) Added Paper doc comment + DBTEAMLOGEventTypeArgPaperDocAddComment, + + /// (paper) Changed member permissions for Paper doc + DBTEAMLOGEventTypeArgPaperDocChangeMemberRole, + + /// (paper) Changed sharing setting for Paper doc + DBTEAMLOGEventTypeArgPaperDocChangeSharingPolicy, + + /// (paper) Followed/unfollowed Paper doc + DBTEAMLOGEventTypeArgPaperDocChangeSubscription, + + /// (paper) Archived Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeArgPaperDocDeleted, + + /// (paper) Deleted Paper doc comment + DBTEAMLOGEventTypeArgPaperDocDeleteComment, + + /// (paper) Downloaded Paper doc in specific format + DBTEAMLOGEventTypeArgPaperDocDownload, + + /// (paper) Edited Paper doc + DBTEAMLOGEventTypeArgPaperDocEdit, + + /// (paper) Edited Paper doc comment + DBTEAMLOGEventTypeArgPaperDocEditComment, + + /// (paper) Followed Paper doc (deprecated, replaced by 'Followed/unfollowed + /// Paper doc') + DBTEAMLOGEventTypeArgPaperDocFollowed, + + /// (paper) Mentioned user in Paper doc + DBTEAMLOGEventTypeArgPaperDocMention, + + /// (paper) Transferred ownership of Paper doc + DBTEAMLOGEventTypeArgPaperDocOwnershipChanged, + + /// (paper) Requested access to Paper doc + DBTEAMLOGEventTypeArgPaperDocRequestAccess, + + /// (paper) Resolved Paper doc comment + DBTEAMLOGEventTypeArgPaperDocResolveComment, + + /// (paper) Restored Paper doc to previous version + DBTEAMLOGEventTypeArgPaperDocRevert, + + /// (paper) Shared Paper doc via Slack + DBTEAMLOGEventTypeArgPaperDocSlackShare, + + /// (paper) Shared Paper doc with users and/or groups (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgPaperDocTeamInvite, + + /// (paper) Deleted Paper doc + DBTEAMLOGEventTypeArgPaperDocTrashed, + + /// (paper) Unresolved Paper doc comment + DBTEAMLOGEventTypeArgPaperDocUnresolveComment, + + /// (paper) Restored Paper doc + DBTEAMLOGEventTypeArgPaperDocUntrashed, + + /// (paper) Viewed Paper doc + DBTEAMLOGEventTypeArgPaperDocView, + + /// (paper) Changed Paper external sharing setting to anyone (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgPaperExternalViewAllow, + + /// (paper) Changed Paper external sharing setting to default team + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeArgPaperExternalViewDefaultTeam, + + /// (paper) Changed Paper external sharing setting to team-only (deprecated, + /// no longer logged) + DBTEAMLOGEventTypeArgPaperExternalViewForbid, + + /// (paper) Followed/unfollowed Paper folder + DBTEAMLOGEventTypeArgPaperFolderChangeSubscription, + + /// (paper) Archived Paper folder (deprecated, no longer logged) + DBTEAMLOGEventTypeArgPaperFolderDeleted, + + /// (paper) Followed Paper folder (deprecated, replaced by + /// 'Followed/unfollowed Paper folder') + DBTEAMLOGEventTypeArgPaperFolderFollowed, + + /// (paper) Shared Paper folder with users and/or groups (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgPaperFolderTeamInvite, + + /// (paper) Changed permissions for published doc + DBTEAMLOGEventTypeArgPaperPublishedLinkChangePermission, + + /// (paper) Published doc + DBTEAMLOGEventTypeArgPaperPublishedLinkCreate, + + /// (paper) Unpublished doc + DBTEAMLOGEventTypeArgPaperPublishedLinkDisabled, + + /// (paper) Viewed published doc + DBTEAMLOGEventTypeArgPaperPublishedLinkView, + + /// (passwords) Changed password + DBTEAMLOGEventTypeArgPasswordChange, + + /// (passwords) Reset password + DBTEAMLOGEventTypeArgPasswordReset, + + /// (passwords) Reset all team member passwords + DBTEAMLOGEventTypeArgPasswordResetAll, + + /// (reports) Created Classification report + DBTEAMLOGEventTypeArgClassificationCreateReport, + + /// (reports) Couldn't create Classification report + DBTEAMLOGEventTypeArgClassificationCreateReportFail, + + /// (reports) Created EMM-excluded users report + DBTEAMLOGEventTypeArgEmmCreateExceptionsReport, + + /// (reports) Created EMM mobile app usage report + DBTEAMLOGEventTypeArgEmmCreateUsageReport, + + /// (reports) Created member data report + DBTEAMLOGEventTypeArgExportMembersReport, + + /// (reports) Failed to create members data report + DBTEAMLOGEventTypeArgExportMembersReportFail, + + /// (reports) Created External sharing report + DBTEAMLOGEventTypeArgExternalSharingCreateReport, + + /// (reports) Couldn't create External sharing report + DBTEAMLOGEventTypeArgExternalSharingReportFailed, + + /// (reports) Report created: Links created with no expiration + DBTEAMLOGEventTypeArgNoExpirationLinkGenCreateReport, + + /// (reports) Couldn't create report: Links created with no expiration + DBTEAMLOGEventTypeArgNoExpirationLinkGenReportFailed, + + /// (reports) Report created: Links created without passwords + DBTEAMLOGEventTypeArgNoPasswordLinkGenCreateReport, + + /// (reports) Couldn't create report: Links created without passwords + DBTEAMLOGEventTypeArgNoPasswordLinkGenReportFailed, + + /// (reports) Report created: Views of links without passwords + DBTEAMLOGEventTypeArgNoPasswordLinkViewCreateReport, + + /// (reports) Couldn't create report: Views of links without passwords + DBTEAMLOGEventTypeArgNoPasswordLinkViewReportFailed, + + /// (reports) Report created: Views of old links + DBTEAMLOGEventTypeArgOutdatedLinkViewCreateReport, + + /// (reports) Couldn't create report: Views of old links + DBTEAMLOGEventTypeArgOutdatedLinkViewReportFailed, + + /// (reports) Exported all team Paper docs + DBTEAMLOGEventTypeArgPaperAdminExportStart, + + /// (reports) Created ransomware report + DBTEAMLOGEventTypeArgRansomwareAlertCreateReport, + + /// (reports) Couldn't generate ransomware report + DBTEAMLOGEventTypeArgRansomwareAlertCreateReportFailed, + + /// (reports) Created Smart Sync non-admin devices report + DBTEAMLOGEventTypeArgSmartSyncCreateAdminPrivilegeReport, + + /// (reports) Created team activity report + DBTEAMLOGEventTypeArgTeamActivityCreateReport, + + /// (reports) Couldn't generate team activity report + DBTEAMLOGEventTypeArgTeamActivityCreateReportFail, + + /// (sharing) Shared album + DBTEAMLOGEventTypeArgCollectionShare, + + /// (sharing) Transfer files added + DBTEAMLOGEventTypeArgFileTransfersFileAdd, + + /// (sharing) Deleted transfer + DBTEAMLOGEventTypeArgFileTransfersTransferDelete, + + /// (sharing) Transfer downloaded + DBTEAMLOGEventTypeArgFileTransfersTransferDownload, + + /// (sharing) Sent transfer + DBTEAMLOGEventTypeArgFileTransfersTransferSend, + + /// (sharing) Viewed transfer + DBTEAMLOGEventTypeArgFileTransfersTransferView, + + /// (sharing) Changed Paper doc to invite-only (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgNoteAclInviteOnly, + + /// (sharing) Changed Paper doc to link-accessible (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgNoteAclLink, + + /// (sharing) Changed Paper doc to link-accessible for team (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgNoteAclTeamLink, + + /// (sharing) Shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeArgNoteShared, + + /// (sharing) Shared received Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeArgNoteShareReceive, + + /// (sharing) Opened shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeArgOpenNoteShared, + + /// (sharing) Created shared link in Replay + DBTEAMLOGEventTypeArgReplayFileSharedLinkCreated, + + /// (sharing) Modified shared link in Replay + DBTEAMLOGEventTypeArgReplayFileSharedLinkModified, + + /// (sharing) Added member to Replay Project + DBTEAMLOGEventTypeArgReplayProjectTeamAdd, + + /// (sharing) Removed member from Replay Project + DBTEAMLOGEventTypeArgReplayProjectTeamDelete, + + /// (sharing) Added team to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSfAddGroup, + + /// (sharing) Allowed non-collaborators to view links to files in shared + /// folder (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSfAllowNonMembersToViewSharedLinks, + + /// (sharing) Set team members to see warning before sharing folders outside + /// team (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSfExternalInviteWarn, + + /// (sharing) Invited Facebook users to shared folder (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgSfFbInvite, + + /// (sharing) Changed Facebook user's role in shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSfFbInviteChangeRole, + + /// (sharing) Uninvited Facebook user from shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSfFbUninvite, + + /// (sharing) Invited group to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSfInviteGroup, + + /// (sharing) Granted access to shared folder (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSfTeamGrantAccess, + + /// (sharing) Invited team members to shared folder (deprecated, replaced by + /// 'Invited user to Dropbox and added them to shared file/folder') + DBTEAMLOGEventTypeArgSfTeamInvite, + + /// (sharing) Changed team member's role in shared folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSfTeamInviteChangeRole, + + /// (sharing) Joined team member's shared folder (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgSfTeamJoin, + + /// (sharing) Joined team member's shared folder from link (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSfTeamJoinFromOobLink, + + /// (sharing) Unshared folder with team member (deprecated, replaced by + /// 'Removed invitee from shared file/folder before invite was accepted') + DBTEAMLOGEventTypeArgSfTeamUninvite, + + /// (sharing) Invited user to Dropbox and added them to shared file/folder + DBTEAMLOGEventTypeArgSharedContentAddInvitees, + + /// (sharing) Added expiration date to link for shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSharedContentAddLinkExpiry, + + /// (sharing) Added password to link for shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSharedContentAddLinkPassword, + + /// (sharing) Added users and/or groups to shared file/folder + DBTEAMLOGEventTypeArgSharedContentAddMember, + + /// (sharing) Changed whether members can download shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSharedContentChangeDownloadsPolicy, + + /// (sharing) Changed access type of invitee to shared file/folder before + /// invite was accepted + DBTEAMLOGEventTypeArgSharedContentChangeInviteeRole, + + /// (sharing) Changed link audience of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSharedContentChangeLinkAudience, + + /// (sharing) Changed link expiration of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSharedContentChangeLinkExpiry, + + /// (sharing) Changed link password of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSharedContentChangeLinkPassword, + + /// (sharing) Changed access type of shared file/folder member + DBTEAMLOGEventTypeArgSharedContentChangeMemberRole, + + /// (sharing) Changed whether members can see who viewed shared file/folder + DBTEAMLOGEventTypeArgSharedContentChangeViewerInfoPolicy, + + /// (sharing) Acquired membership of shared file/folder by accepting invite + DBTEAMLOGEventTypeArgSharedContentClaimInvitation, + + /// (sharing) Copied shared file/folder to own Dropbox + DBTEAMLOGEventTypeArgSharedContentCopy, + + /// (sharing) Downloaded shared file/folder + DBTEAMLOGEventTypeArgSharedContentDownload, + + /// (sharing) Left shared file/folder + DBTEAMLOGEventTypeArgSharedContentRelinquishMembership, + + /// (sharing) Removed invitee from shared file/folder before invite was + /// accepted + DBTEAMLOGEventTypeArgSharedContentRemoveInvitees, + + /// (sharing) Removed link expiration date of shared file/folder + /// (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSharedContentRemoveLinkExpiry, + + /// (sharing) Removed link password of shared file/folder (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgSharedContentRemoveLinkPassword, + + /// (sharing) Removed user/group from shared file/folder + DBTEAMLOGEventTypeArgSharedContentRemoveMember, + + /// (sharing) Requested access to shared file/folder + DBTEAMLOGEventTypeArgSharedContentRequestAccess, + + /// (sharing) Restored shared file/folder invitees + DBTEAMLOGEventTypeArgSharedContentRestoreInvitees, + + /// (sharing) Restored users and/or groups to membership of shared + /// file/folder + DBTEAMLOGEventTypeArgSharedContentRestoreMember, + + /// (sharing) Unshared file/folder by clearing membership + DBTEAMLOGEventTypeArgSharedContentUnshare, + + /// (sharing) Previewed shared file/folder + DBTEAMLOGEventTypeArgSharedContentView, + + /// (sharing) Changed who can access shared folder via link + DBTEAMLOGEventTypeArgSharedFolderChangeLinkPolicy, + + /// (sharing) Changed whether shared folder inherits members from parent + /// folder + DBTEAMLOGEventTypeArgSharedFolderChangeMembersInheritancePolicy, + + /// (sharing) Changed who can add/remove members of shared folder + DBTEAMLOGEventTypeArgSharedFolderChangeMembersManagementPolicy, + + /// (sharing) Changed who can become member of shared folder + DBTEAMLOGEventTypeArgSharedFolderChangeMembersPolicy, + + /// (sharing) Created shared folder + DBTEAMLOGEventTypeArgSharedFolderCreate, + + /// (sharing) Declined team member's invite to shared folder + DBTEAMLOGEventTypeArgSharedFolderDeclineInvitation, + + /// (sharing) Added shared folder to own Dropbox + DBTEAMLOGEventTypeArgSharedFolderMount, + + /// (sharing) Changed parent of shared folder + DBTEAMLOGEventTypeArgSharedFolderNest, + + /// (sharing) Transferred ownership of shared folder to another member + DBTEAMLOGEventTypeArgSharedFolderTransferOwnership, + + /// (sharing) Deleted shared folder from Dropbox + DBTEAMLOGEventTypeArgSharedFolderUnmount, + + /// (sharing) Added shared link expiration date + DBTEAMLOGEventTypeArgSharedLinkAddExpiry, + + /// (sharing) Changed shared link expiration date + DBTEAMLOGEventTypeArgSharedLinkChangeExpiry, + + /// (sharing) Changed visibility of shared link + DBTEAMLOGEventTypeArgSharedLinkChangeVisibility, + + /// (sharing) Added file/folder to Dropbox from shared link + DBTEAMLOGEventTypeArgSharedLinkCopy, + + /// (sharing) Created shared link + DBTEAMLOGEventTypeArgSharedLinkCreate, + + /// (sharing) Removed shared link + DBTEAMLOGEventTypeArgSharedLinkDisable, + + /// (sharing) Downloaded file/folder from shared link + DBTEAMLOGEventTypeArgSharedLinkDownload, + + /// (sharing) Removed shared link expiration date + DBTEAMLOGEventTypeArgSharedLinkRemoveExpiry, + + /// (sharing) Added an expiration date to the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsAddExpiration, + + /// (sharing) Added a password to the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsAddPassword, + + /// (sharing) Disabled downloads + DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadDisabled, + + /// (sharing) Enabled downloads + DBTEAMLOGEventTypeArgSharedLinkSettingsAllowDownloadEnabled, + + /// (sharing) Changed the audience of the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsChangeAudience, + + /// (sharing) Changed the expiration date of the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsChangeExpiration, + + /// (sharing) Changed the password of the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsChangePassword, + + /// (sharing) Removed the expiration date from the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsRemoveExpiration, + + /// (sharing) Removed the password from the shared link + DBTEAMLOGEventTypeArgSharedLinkSettingsRemovePassword, + + /// (sharing) Added members as audience of shared link + DBTEAMLOGEventTypeArgSharedLinkShare, + + /// (sharing) Opened shared link + DBTEAMLOGEventTypeArgSharedLinkView, + + /// (sharing) Opened shared Paper doc (deprecated, no longer logged) + DBTEAMLOGEventTypeArgSharedNoteOpened, + + /// (sharing) Disabled downloads for link (deprecated, no longer logged) + DBTEAMLOGEventTypeArgShmodelDisableDownloads, + + /// (sharing) Enabled downloads for link (deprecated, no longer logged) + DBTEAMLOGEventTypeArgShmodelEnableDownloads, + + /// (sharing) Shared link with group (deprecated, no longer logged) + DBTEAMLOGEventTypeArgShmodelGroupShare, + + /// (showcase) Granted access to showcase + DBTEAMLOGEventTypeArgShowcaseAccessGranted, + + /// (showcase) Added member to showcase + DBTEAMLOGEventTypeArgShowcaseAddMember, + + /// (showcase) Archived showcase + DBTEAMLOGEventTypeArgShowcaseArchived, + + /// (showcase) Created showcase + DBTEAMLOGEventTypeArgShowcaseCreated, + + /// (showcase) Deleted showcase comment + DBTEAMLOGEventTypeArgShowcaseDeleteComment, + + /// (showcase) Edited showcase + DBTEAMLOGEventTypeArgShowcaseEdited, + + /// (showcase) Edited showcase comment + DBTEAMLOGEventTypeArgShowcaseEditComment, + + /// (showcase) Added file to showcase + DBTEAMLOGEventTypeArgShowcaseFileAdded, + + /// (showcase) Downloaded file from showcase + DBTEAMLOGEventTypeArgShowcaseFileDownload, + + /// (showcase) Removed file from showcase + DBTEAMLOGEventTypeArgShowcaseFileRemoved, + + /// (showcase) Viewed file in showcase + DBTEAMLOGEventTypeArgShowcaseFileView, + + /// (showcase) Permanently deleted showcase + DBTEAMLOGEventTypeArgShowcasePermanentlyDeleted, + + /// (showcase) Added showcase comment + DBTEAMLOGEventTypeArgShowcasePostComment, + + /// (showcase) Removed member from showcase + DBTEAMLOGEventTypeArgShowcaseRemoveMember, + + /// (showcase) Renamed showcase + DBTEAMLOGEventTypeArgShowcaseRenamed, + + /// (showcase) Requested access to showcase + DBTEAMLOGEventTypeArgShowcaseRequestAccess, + + /// (showcase) Resolved showcase comment + DBTEAMLOGEventTypeArgShowcaseResolveComment, + + /// (showcase) Unarchived showcase + DBTEAMLOGEventTypeArgShowcaseRestored, + + /// (showcase) Deleted showcase + DBTEAMLOGEventTypeArgShowcaseTrashed, + + /// (showcase) Deleted showcase (old version) (deprecated, replaced by + /// 'Deleted showcase') + DBTEAMLOGEventTypeArgShowcaseTrashedDeprecated, + + /// (showcase) Unresolved showcase comment + DBTEAMLOGEventTypeArgShowcaseUnresolveComment, + + /// (showcase) Restored showcase + DBTEAMLOGEventTypeArgShowcaseUntrashed, + + /// (showcase) Restored showcase (old version) (deprecated, replaced by + /// 'Restored showcase') + DBTEAMLOGEventTypeArgShowcaseUntrashedDeprecated, + + /// (showcase) Viewed showcase + DBTEAMLOGEventTypeArgShowcaseView, + + /// (sso) Added X.509 certificate for SSO + DBTEAMLOGEventTypeArgSsoAddCert, + + /// (sso) Added sign-in URL for SSO + DBTEAMLOGEventTypeArgSsoAddLoginUrl, + + /// (sso) Added sign-out URL for SSO + DBTEAMLOGEventTypeArgSsoAddLogoutUrl, + + /// (sso) Changed X.509 certificate for SSO + DBTEAMLOGEventTypeArgSsoChangeCert, + + /// (sso) Changed sign-in URL for SSO + DBTEAMLOGEventTypeArgSsoChangeLoginUrl, + + /// (sso) Changed sign-out URL for SSO + DBTEAMLOGEventTypeArgSsoChangeLogoutUrl, + + /// (sso) Changed SAML identity mode for SSO + DBTEAMLOGEventTypeArgSsoChangeSamlIdentityMode, + + /// (sso) Removed X.509 certificate for SSO + DBTEAMLOGEventTypeArgSsoRemoveCert, + + /// (sso) Removed sign-in URL for SSO + DBTEAMLOGEventTypeArgSsoRemoveLoginUrl, + + /// (sso) Removed sign-out URL for SSO + DBTEAMLOGEventTypeArgSsoRemoveLogoutUrl, + + /// (team_folders) Changed archival status of team folder + DBTEAMLOGEventTypeArgTeamFolderChangeStatus, + + /// (team_folders) Created team folder in active status + DBTEAMLOGEventTypeArgTeamFolderCreate, + + /// (team_folders) Downgraded team folder to regular shared folder + DBTEAMLOGEventTypeArgTeamFolderDowngrade, + + /// (team_folders) Permanently deleted archived team folder + DBTEAMLOGEventTypeArgTeamFolderPermanentlyDelete, + + /// (team_folders) Renamed active/archived team folder + DBTEAMLOGEventTypeArgTeamFolderRename, + + /// (team_folders) Changed sync default + DBTEAMLOGEventTypeArgTeamSelectiveSyncSettingsChanged, + + /// (team_policies) Changed account capture setting on team domain + DBTEAMLOGEventTypeArgAccountCaptureChangePolicy, + + /// (team_policies) Changed admin reminder settings for requests to join the + /// team + DBTEAMLOGEventTypeArgAdminEmailRemindersChanged, + + /// (team_policies) Disabled downloads (deprecated, no longer logged) + DBTEAMLOGEventTypeArgAllowDownloadDisabled, + + /// (team_policies) Enabled downloads (deprecated, no longer logged) + DBTEAMLOGEventTypeArgAllowDownloadEnabled, + + /// (team_policies) Changed app permissions + DBTEAMLOGEventTypeArgAppPermissionsChanged, + + /// (team_policies) Changed camera uploads setting for team + DBTEAMLOGEventTypeArgCameraUploadsPolicyChanged, + + /// (team_policies) Changed Capture transcription policy for team + DBTEAMLOGEventTypeArgCaptureTranscriptPolicyChanged, + + /// (team_policies) Changed classification policy for team + DBTEAMLOGEventTypeArgClassificationChangePolicy, + + /// (team_policies) Changed computer backup policy for team + DBTEAMLOGEventTypeArgComputerBackupPolicyChanged, + + /// (team_policies) Changed content management setting + DBTEAMLOGEventTypeArgContentAdministrationPolicyChanged, + + /// (team_policies) Set restrictions on data center locations where team + /// data resides + DBTEAMLOGEventTypeArgDataPlacementRestrictionChangePolicy, + + /// (team_policies) Completed restrictions on data center locations where + /// team data resides + DBTEAMLOGEventTypeArgDataPlacementRestrictionSatisfyPolicy, + + /// (team_policies) Added members to device approvals exception list + DBTEAMLOGEventTypeArgDeviceApprovalsAddException, + + /// (team_policies) Set/removed limit on number of computers member can link + /// to team Dropbox account + DBTEAMLOGEventTypeArgDeviceApprovalsChangeDesktopPolicy, + + /// (team_policies) Set/removed limit on number of mobile devices member can + /// link to team Dropbox account + DBTEAMLOGEventTypeArgDeviceApprovalsChangeMobilePolicy, + + /// (team_policies) Changed device approvals setting when member is over + /// limit + DBTEAMLOGEventTypeArgDeviceApprovalsChangeOverageAction, + + /// (team_policies) Changed device approvals setting when member unlinks + /// approved device + DBTEAMLOGEventTypeArgDeviceApprovalsChangeUnlinkAction, + + /// (team_policies) Removed members from device approvals exception list + DBTEAMLOGEventTypeArgDeviceApprovalsRemoveException, + + /// (team_policies) Added members to directory restrictions list + DBTEAMLOGEventTypeArgDirectoryRestrictionsAddMembers, + + /// (team_policies) Removed members from directory restrictions list + DBTEAMLOGEventTypeArgDirectoryRestrictionsRemoveMembers, + + /// (team_policies) Changed Dropbox Passwords policy for team + DBTEAMLOGEventTypeArgDropboxPasswordsPolicyChanged, + + /// (team_policies) Changed email to Dropbox policy for team + DBTEAMLOGEventTypeArgEmailIngestPolicyChanged, + + /// (team_policies) Added members to EMM exception list + DBTEAMLOGEventTypeArgEmmAddException, + + /// (team_policies) Enabled/disabled enterprise mobility management for + /// members + DBTEAMLOGEventTypeArgEmmChangePolicy, + + /// (team_policies) Removed members from EMM exception list + DBTEAMLOGEventTypeArgEmmRemoveException, + + /// (team_policies) Accepted/opted out of extended version history + DBTEAMLOGEventTypeArgExtendedVersionHistoryChangePolicy, + + /// (team_policies) Changed external drive backup policy for team + DBTEAMLOGEventTypeArgExternalDriveBackupPolicyChanged, + + /// (team_policies) Enabled/disabled commenting on team files + DBTEAMLOGEventTypeArgFileCommentsChangePolicy, + + /// (team_policies) Changed file locking policy for team + DBTEAMLOGEventTypeArgFileLockingPolicyChanged, + + /// (team_policies) Changed File Provider Migration policy for team + DBTEAMLOGEventTypeArgFileProviderMigrationPolicyChanged, + + /// (team_policies) Enabled/disabled file requests + DBTEAMLOGEventTypeArgFileRequestsChangePolicy, + + /// (team_policies) Enabled file request emails for everyone (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgFileRequestsEmailsEnabled, + + /// (team_policies) Enabled file request emails for team (deprecated, no + /// longer logged) + DBTEAMLOGEventTypeArgFileRequestsEmailsRestrictedToTeamOnly, + + /// (team_policies) Changed file transfers policy for team + DBTEAMLOGEventTypeArgFileTransfersPolicyChanged, + + /// (team_policies) Changed folder link restrictions policy for team + DBTEAMLOGEventTypeArgFolderLinkRestrictionPolicyChanged, + + /// (team_policies) Enabled/disabled Google single sign-on for team + DBTEAMLOGEventTypeArgGoogleSsoChangePolicy, + + /// (team_policies) Changed who can create groups + DBTEAMLOGEventTypeArgGroupUserManagementChangePolicy, + + /// (team_policies) Changed integration policy for team + DBTEAMLOGEventTypeArgIntegrationPolicyChanged, + + /// (team_policies) Changed invite accept email policy for team + DBTEAMLOGEventTypeArgInviteAcceptanceEmailPolicyChanged, + + /// (team_policies) Changed whether users can find team when not invited + DBTEAMLOGEventTypeArgMemberRequestsChangePolicy, + + /// (team_policies) Changed member send invite policy for team + DBTEAMLOGEventTypeArgMemberSendInvitePolicyChanged, + + /// (team_policies) Added members to member space limit exception list + DBTEAMLOGEventTypeArgMemberSpaceLimitsAddException, + + /// (team_policies) Changed member space limit type for team + DBTEAMLOGEventTypeArgMemberSpaceLimitsChangeCapsTypePolicy, + + /// (team_policies) Changed team default member space limit + DBTEAMLOGEventTypeArgMemberSpaceLimitsChangePolicy, + + /// (team_policies) Removed members from member space limit exception list + DBTEAMLOGEventTypeArgMemberSpaceLimitsRemoveException, + + /// (team_policies) Enabled/disabled option for team members to suggest + /// people to add to team + DBTEAMLOGEventTypeArgMemberSuggestionsChangePolicy, + + /// (team_policies) Enabled/disabled Microsoft Office add-in + DBTEAMLOGEventTypeArgMicrosoftOfficeAddinChangePolicy, + + /// (team_policies) Enabled/disabled network control + DBTEAMLOGEventTypeArgNetworkControlChangePolicy, + + /// (team_policies) Changed whether Dropbox Paper, when enabled, is deployed + /// to all members or to specific members + DBTEAMLOGEventTypeArgPaperChangeDeploymentPolicy, + + /// (team_policies) Changed whether non-members can view Paper docs with + /// link (deprecated, no longer logged) + DBTEAMLOGEventTypeArgPaperChangeMemberLinkPolicy, + + /// (team_policies) Changed whether members can share Paper docs outside + /// team, and if docs are accessible only by team members or anyone by + /// default + DBTEAMLOGEventTypeArgPaperChangeMemberPolicy, + + /// (team_policies) Enabled/disabled Dropbox Paper for team + DBTEAMLOGEventTypeArgPaperChangePolicy, + + /// (team_policies) Changed Paper Default Folder Policy setting for team + DBTEAMLOGEventTypeArgPaperDefaultFolderPolicyChanged, + + /// (team_policies) Enabled/disabled Paper Desktop for team + DBTEAMLOGEventTypeArgPaperDesktopPolicyChanged, + + /// (team_policies) Added users to Paper-enabled users list + DBTEAMLOGEventTypeArgPaperEnabledUsersGroupAddition, + + /// (team_policies) Removed users from Paper-enabled users list + DBTEAMLOGEventTypeArgPaperEnabledUsersGroupRemoval, + + /// (team_policies) Changed team password strength requirements + DBTEAMLOGEventTypeArgPasswordStrengthRequirementsChangePolicy, + + /// (team_policies) Enabled/disabled ability of team members to permanently + /// delete content + DBTEAMLOGEventTypeArgPermanentDeleteChangePolicy, + + /// (team_policies) Enabled/disabled reseller support + DBTEAMLOGEventTypeArgResellerSupportChangePolicy, + + /// (team_policies) Changed Rewind policy for team + DBTEAMLOGEventTypeArgRewindPolicyChanged, + + /// (team_policies) Changed send for signature policy for team + DBTEAMLOGEventTypeArgSendForSignaturePolicyChanged, + + /// (team_policies) Changed whether team members can join shared folders + /// owned outside team + DBTEAMLOGEventTypeArgSharingChangeFolderJoinPolicy, + + /// (team_policies) Changed the allow remove or change expiration policy for + /// the links shared outside of the team + DBTEAMLOGEventTypeArgSharingChangeLinkAllowChangeExpirationPolicy, + + /// (team_policies) Changed the default expiration for the links shared + /// outside of the team + DBTEAMLOGEventTypeArgSharingChangeLinkDefaultExpirationPolicy, + + /// (team_policies) Changed the password requirement for the links shared + /// outside of the team + DBTEAMLOGEventTypeArgSharingChangeLinkEnforcePasswordPolicy, + + /// (team_policies) Changed whether members can share links outside team, + /// and if links are accessible only by team members or anyone by default + DBTEAMLOGEventTypeArgSharingChangeLinkPolicy, + + /// (team_policies) Changed whether members can share files/folders outside + /// team + DBTEAMLOGEventTypeArgSharingChangeMemberPolicy, + + /// (team_policies) Enabled/disabled downloading files from Dropbox Showcase + /// for team + DBTEAMLOGEventTypeArgShowcaseChangeDownloadPolicy, + + /// (team_policies) Enabled/disabled Dropbox Showcase for team + DBTEAMLOGEventTypeArgShowcaseChangeEnabledPolicy, + + /// (team_policies) Enabled/disabled sharing Dropbox Showcase externally for + /// team + DBTEAMLOGEventTypeArgShowcaseChangeExternalSharingPolicy, + + /// (team_policies) Changed automatic Smart Sync setting for team + DBTEAMLOGEventTypeArgSmarterSmartSyncPolicyChanged, + + /// (team_policies) Changed default Smart Sync setting for team members + DBTEAMLOGEventTypeArgSmartSyncChangePolicy, + + /// (team_policies) Opted team into Smart Sync + DBTEAMLOGEventTypeArgSmartSyncNotOptOut, + + /// (team_policies) Opted team out of Smart Sync + DBTEAMLOGEventTypeArgSmartSyncOptOut, + + /// (team_policies) Changed single sign-on setting for team + DBTEAMLOGEventTypeArgSsoChangePolicy, + + /// (team_policies) Changed team branding policy for team + DBTEAMLOGEventTypeArgTeamBrandingPolicyChanged, + + /// (team_policies) Changed App Integrations setting for team + DBTEAMLOGEventTypeArgTeamExtensionsPolicyChanged, + + /// (team_policies) Enabled/disabled Team Selective Sync for team + DBTEAMLOGEventTypeArgTeamSelectiveSyncPolicyChanged, + + /// (team_policies) Edited the approved list for sharing externally + DBTEAMLOGEventTypeArgTeamSharingWhitelistSubjectsChanged, + + /// (team_policies) Added members to two factor authentication exception + /// list + DBTEAMLOGEventTypeArgTfaAddException, + + /// (team_policies) Changed two-step verification setting for team + DBTEAMLOGEventTypeArgTfaChangePolicy, + + /// (team_policies) Removed members from two factor authentication exception + /// list + DBTEAMLOGEventTypeArgTfaRemoveException, + + /// (team_policies) Enabled/disabled option for members to link personal + /// Dropbox account and team account to same computer + DBTEAMLOGEventTypeArgTwoAccountChangePolicy, + + /// (team_policies) Changed team policy for viewer info + DBTEAMLOGEventTypeArgViewerInfoPolicyChanged, + + /// (team_policies) Changed watermarking policy for team + DBTEAMLOGEventTypeArgWatermarkingPolicyChanged, + + /// (team_policies) Changed limit on active sessions per member + DBTEAMLOGEventTypeArgWebSessionsChangeActiveSessionLimit, + + /// (team_policies) Changed how long members can stay signed in to + /// Dropbox.com + DBTEAMLOGEventTypeArgWebSessionsChangeFixedLengthPolicy, + + /// (team_policies) Changed how long team members can be idle while signed + /// in to Dropbox.com + DBTEAMLOGEventTypeArgWebSessionsChangeIdleLengthPolicy, + + /// (team_profile) Requested data residency migration for team data + DBTEAMLOGEventTypeArgDataResidencyMigrationRequestSuccessful, + + /// (team_profile) Request for data residency migration for team data has + /// failed + DBTEAMLOGEventTypeArgDataResidencyMigrationRequestUnsuccessful, + + /// (team_profile) Merged another team into this team + DBTEAMLOGEventTypeArgTeamMergeFrom, + + /// (team_profile) Merged this team into another team + DBTEAMLOGEventTypeArgTeamMergeTo, + + /// (team_profile) Added team background to display on shared link headers + DBTEAMLOGEventTypeArgTeamProfileAddBackground, + + /// (team_profile) Added team logo to display on shared link headers + DBTEAMLOGEventTypeArgTeamProfileAddLogo, + + /// (team_profile) Changed team background displayed on shared link headers + DBTEAMLOGEventTypeArgTeamProfileChangeBackground, + + /// (team_profile) Changed default language for team + DBTEAMLOGEventTypeArgTeamProfileChangeDefaultLanguage, + + /// (team_profile) Changed team logo displayed on shared link headers + DBTEAMLOGEventTypeArgTeamProfileChangeLogo, + + /// (team_profile) Changed team name + DBTEAMLOGEventTypeArgTeamProfileChangeName, + + /// (team_profile) Removed team background displayed on shared link headers + DBTEAMLOGEventTypeArgTeamProfileRemoveBackground, + + /// (team_profile) Removed team logo displayed on shared link headers + DBTEAMLOGEventTypeArgTeamProfileRemoveLogo, + + /// (tfa) Added backup phone for two-step verification + DBTEAMLOGEventTypeArgTfaAddBackupPhone, + + /// (tfa) Added security key for two-step verification + DBTEAMLOGEventTypeArgTfaAddSecurityKey, + + /// (tfa) Changed backup phone for two-step verification + DBTEAMLOGEventTypeArgTfaChangeBackupPhone, + + /// (tfa) Enabled/disabled/changed two-step verification setting + DBTEAMLOGEventTypeArgTfaChangeStatus, + + /// (tfa) Removed backup phone for two-step verification + DBTEAMLOGEventTypeArgTfaRemoveBackupPhone, + + /// (tfa) Removed security key for two-step verification + DBTEAMLOGEventTypeArgTfaRemoveSecurityKey, + + /// (tfa) Reset two-step verification for team member + DBTEAMLOGEventTypeArgTfaReset, + + /// (trusted_teams) Changed enterprise admin role + DBTEAMLOGEventTypeArgChangedEnterpriseAdminRole, + + /// (trusted_teams) Changed enterprise-connected team status + DBTEAMLOGEventTypeArgChangedEnterpriseConnectedTeamStatus, + + /// (trusted_teams) Ended enterprise admin session + DBTEAMLOGEventTypeArgEndedEnterpriseAdminSession, + + /// (trusted_teams) Ended enterprise admin session (deprecated, replaced by + /// 'Ended enterprise admin session') + DBTEAMLOGEventTypeArgEndedEnterpriseAdminSessionDeprecated, + + /// (trusted_teams) Changed who can update a setting + DBTEAMLOGEventTypeArgEnterpriseSettingsLocking, + + /// (trusted_teams) Changed guest team admin status + DBTEAMLOGEventTypeArgGuestAdminChangeStatus, + + /// (trusted_teams) Started enterprise admin session + DBTEAMLOGEventTypeArgStartedEnterpriseAdminSession, + + /// (trusted_teams) Accepted a team merge request + DBTEAMLOGEventTypeArgTeamMergeRequestAccepted, + + /// (trusted_teams) Accepted a team merge request (deprecated, replaced by + /// 'Accepted a team merge request') + DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToPrimaryTeam, + + /// (trusted_teams) Accepted a team merge request (deprecated, replaced by + /// 'Accepted a team merge request') + DBTEAMLOGEventTypeArgTeamMergeRequestAcceptedShownToSecondaryTeam, + + /// (trusted_teams) Automatically canceled team merge request + DBTEAMLOGEventTypeArgTeamMergeRequestAutoCanceled, + + /// (trusted_teams) Canceled a team merge request + DBTEAMLOGEventTypeArgTeamMergeRequestCanceled, + + /// (trusted_teams) Canceled a team merge request (deprecated, replaced by + /// 'Canceled a team merge request') + DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToPrimaryTeam, + + /// (trusted_teams) Canceled a team merge request (deprecated, replaced by + /// 'Canceled a team merge request') + DBTEAMLOGEventTypeArgTeamMergeRequestCanceledShownToSecondaryTeam, + + /// (trusted_teams) Team merge request expired + DBTEAMLOGEventTypeArgTeamMergeRequestExpired, + + /// (trusted_teams) Team merge request expired (deprecated, replaced by + /// 'Team merge request expired') + DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToPrimaryTeam, + + /// (trusted_teams) Team merge request expired (deprecated, replaced by + /// 'Team merge request expired') + DBTEAMLOGEventTypeArgTeamMergeRequestExpiredShownToSecondaryTeam, + + /// (trusted_teams) Rejected a team merge request (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToPrimaryTeam, + + /// (trusted_teams) Rejected a team merge request (deprecated, no longer + /// logged) + DBTEAMLOGEventTypeArgTeamMergeRequestRejectedShownToSecondaryTeam, + + /// (trusted_teams) Sent a team merge request reminder + DBTEAMLOGEventTypeArgTeamMergeRequestReminder, + + /// (trusted_teams) Sent a team merge request reminder (deprecated, replaced + /// by 'Sent a team merge request reminder') + DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToPrimaryTeam, + + /// (trusted_teams) Sent a team merge request reminder (deprecated, replaced + /// by 'Sent a team merge request reminder') + DBTEAMLOGEventTypeArgTeamMergeRequestReminderShownToSecondaryTeam, + + /// (trusted_teams) Canceled the team merge + DBTEAMLOGEventTypeArgTeamMergeRequestRevoked, + + /// (trusted_teams) Requested to merge their Dropbox team into yours + DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToPrimaryTeam, + + /// (trusted_teams) Requested to merge your team into another Dropbox team + DBTEAMLOGEventTypeArgTeamMergeRequestSentShownToSecondaryTeam, + + /// (no description). + DBTEAMLOGEventTypeArgOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGEventTypeArgTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of +/// "admin_alerting_alert_state_changed". +/// +/// Description of the "admin_alerting_alert_state_changed" tag state: +/// (admin_alerting) Changed an alert state +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingAlertStateChanged; + +/// +/// Initializes union class with tag state of +/// "admin_alerting_changed_alert_config". +/// +/// Description of the "admin_alerting_changed_alert_config" tag state: +/// (admin_alerting) Changed an alert setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingChangedAlertConfig; + +/// +/// Initializes union class with tag state of "admin_alerting_triggered_alert". +/// +/// Description of the "admin_alerting_triggered_alert" tag state: +/// (admin_alerting) Triggered security alert +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminAlertingTriggeredAlert; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_completed". +/// +/// Description of the "ransomware_restore_process_completed" tag state: +/// (admin_alerting) Completed ransomware restore process +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessCompleted; + +/// +/// Initializes union class with tag state of +/// "ransomware_restore_process_started". +/// +/// Description of the "ransomware_restore_process_started" tag state: +/// (admin_alerting) Started ransomware restore process +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareRestoreProcessStarted; + +/// +/// Initializes union class with tag state of "app_blocked_by_permissions". +/// +/// Description of the "app_blocked_by_permissions" tag state: (apps) Failed to +/// connect app for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppBlockedByPermissions; + +/// +/// Initializes union class with tag state of "app_link_team". +/// +/// Description of the "app_link_team" tag state: (apps) Linked app for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkTeam; + +/// +/// Initializes union class with tag state of "app_link_user". +/// +/// Description of the "app_link_user" tag state: (apps) Linked app for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppLinkUser; + +/// +/// Initializes union class with tag state of "app_unlink_team". +/// +/// Description of the "app_unlink_team" tag state: (apps) Unlinked app for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkTeam; + +/// +/// Initializes union class with tag state of "app_unlink_user". +/// +/// Description of the "app_unlink_user" tag state: (apps) Unlinked app for +/// member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppUnlinkUser; + +/// +/// Initializes union class with tag state of "integration_connected". +/// +/// Description of the "integration_connected" tag state: (apps) Connected +/// integration for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationConnected; + +/// +/// Initializes union class with tag state of "integration_disconnected". +/// +/// Description of the "integration_disconnected" tag state: (apps) Disconnected +/// integration for member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationDisconnected; + +/// +/// Initializes union class with tag state of "file_add_comment". +/// +/// Description of the "file_add_comment" tag state: (comments) Added file +/// comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddComment; + +/// +/// Initializes union class with tag state of +/// "file_change_comment_subscription". +/// +/// Description of the "file_change_comment_subscription" tag state: (comments) +/// Subscribed to or unsubscribed from comment notifications for file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileChangeCommentSubscription; + +/// +/// Initializes union class with tag state of "file_delete_comment". +/// +/// Description of the "file_delete_comment" tag state: (comments) Deleted file +/// comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDeleteComment; + +/// +/// Initializes union class with tag state of "file_edit_comment". +/// +/// Description of the "file_edit_comment" tag state: (comments) Edited file +/// comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEditComment; + +/// +/// Initializes union class with tag state of "file_like_comment". +/// +/// Description of the "file_like_comment" tag state: (comments) Liked file +/// comment (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLikeComment; + +/// +/// Initializes union class with tag state of "file_resolve_comment". +/// +/// Description of the "file_resolve_comment" tag state: (comments) Resolved +/// file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileResolveComment; + +/// +/// Initializes union class with tag state of "file_unlike_comment". +/// +/// Description of the "file_unlike_comment" tag state: (comments) Unliked file +/// comment (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnlikeComment; + +/// +/// Initializes union class with tag state of "file_unresolve_comment". +/// +/// Description of the "file_unresolve_comment" tag state: (comments) Unresolved +/// file comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileUnresolveComment; + +/// +/// Initializes union class with tag state of "governance_policy_add_folders". +/// +/// Description of the "governance_policy_add_folders" tag state: +/// (data_governance) Added folders to policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFolders; + +/// +/// Initializes union class with tag state of +/// "governance_policy_add_folder_failed". +/// +/// Description of the "governance_policy_add_folder_failed" tag state: +/// (data_governance) Couldn't add a folder to a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyAddFolderFailed; + +/// +/// Initializes union class with tag state of +/// "governance_policy_content_disposed". +/// +/// Description of the "governance_policy_content_disposed" tag state: +/// (data_governance) Content disposed +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyContentDisposed; + +/// +/// Initializes union class with tag state of "governance_policy_create". +/// +/// Description of the "governance_policy_create" tag state: (data_governance) +/// Activated a new policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyCreate; + +/// +/// Initializes union class with tag state of "governance_policy_delete". +/// +/// Description of the "governance_policy_delete" tag state: (data_governance) +/// Deleted a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyDelete; + +/// +/// Initializes union class with tag state of "governance_policy_edit_details". +/// +/// Description of the "governance_policy_edit_details" tag state: +/// (data_governance) Edited policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDetails; + +/// +/// Initializes union class with tag state of "governance_policy_edit_duration". +/// +/// Description of the "governance_policy_edit_duration" tag state: +/// (data_governance) Changed policy duration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyEditDuration; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_created". +/// +/// Description of the "governance_policy_export_created" tag state: +/// (data_governance) Created a policy download +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportCreated; + +/// +/// Initializes union class with tag state of +/// "governance_policy_export_removed". +/// +/// Description of the "governance_policy_export_removed" tag state: +/// (data_governance) Removed a policy download +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyExportRemoved; + +/// +/// Initializes union class with tag state of +/// "governance_policy_remove_folders". +/// +/// Description of the "governance_policy_remove_folders" tag state: +/// (data_governance) Removed folders from policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyRemoveFolders; + +/// +/// Initializes union class with tag state of +/// "governance_policy_report_created". +/// +/// Description of the "governance_policy_report_created" tag state: +/// (data_governance) Created a summary report for a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyReportCreated; + +/// +/// Initializes union class with tag state of +/// "governance_policy_zip_part_downloaded". +/// +/// Description of the "governance_policy_zip_part_downloaded" tag state: +/// (data_governance) Downloaded content from a policy +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyZipPartDownloaded; + +/// +/// Initializes union class with tag state of "legal_holds_activate_a_hold". +/// +/// Description of the "legal_holds_activate_a_hold" tag state: +/// (data_governance) Activated a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsActivateAHold; + +/// +/// Initializes union class with tag state of "legal_holds_add_members". +/// +/// Description of the "legal_holds_add_members" tag state: (data_governance) +/// Added members to a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsAddMembers; + +/// +/// Initializes union class with tag state of "legal_holds_change_hold_details". +/// +/// Description of the "legal_holds_change_hold_details" tag state: +/// (data_governance) Edited details for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldDetails; + +/// +/// Initializes union class with tag state of "legal_holds_change_hold_name". +/// +/// Description of the "legal_holds_change_hold_name" tag state: +/// (data_governance) Renamed a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsChangeHoldName; + +/// +/// Initializes union class with tag state of "legal_holds_export_a_hold". +/// +/// Description of the "legal_holds_export_a_hold" tag state: (data_governance) +/// Exported hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportAHold; + +/// +/// Initializes union class with tag state of "legal_holds_export_cancelled". +/// +/// Description of the "legal_holds_export_cancelled" tag state: +/// (data_governance) Canceled export for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportCancelled; + +/// +/// Initializes union class with tag state of "legal_holds_export_downloaded". +/// +/// Description of the "legal_holds_export_downloaded" tag state: +/// (data_governance) Downloaded export for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportDownloaded; + +/// +/// Initializes union class with tag state of "legal_holds_export_removed". +/// +/// Description of the "legal_holds_export_removed" tag state: (data_governance) +/// Removed export for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsExportRemoved; + +/// +/// Initializes union class with tag state of "legal_holds_release_a_hold". +/// +/// Description of the "legal_holds_release_a_hold" tag state: (data_governance) +/// Released a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReleaseAHold; + +/// +/// Initializes union class with tag state of "legal_holds_remove_members". +/// +/// Description of the "legal_holds_remove_members" tag state: (data_governance) +/// Removed members from a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsRemoveMembers; + +/// +/// Initializes union class with tag state of "legal_holds_report_a_hold". +/// +/// Description of the "legal_holds_report_a_hold" tag state: (data_governance) +/// Created a summary report for a hold +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldsReportAHold; + +/// +/// Initializes union class with tag state of "device_change_ip_desktop". +/// +/// Description of the "device_change_ip_desktop" tag state: (devices) Changed +/// IP address associated with active desktop session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpDesktop; + +/// +/// Initializes union class with tag state of "device_change_ip_mobile". +/// +/// Description of the "device_change_ip_mobile" tag state: (devices) Changed IP +/// address associated with active mobile session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpMobile; + +/// +/// Initializes union class with tag state of "device_change_ip_web". +/// +/// Description of the "device_change_ip_web" tag state: (devices) Changed IP +/// address associated with active web session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceChangeIpWeb; + +/// +/// Initializes union class with tag state of "device_delete_on_unlink_fail". +/// +/// Description of the "device_delete_on_unlink_fail" tag state: (devices) +/// Failed to delete all files from unlinked device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkFail; + +/// +/// Initializes union class with tag state of "device_delete_on_unlink_success". +/// +/// Description of the "device_delete_on_unlink_success" tag state: (devices) +/// Deleted all files from unlinked device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceDeleteOnUnlinkSuccess; + +/// +/// Initializes union class with tag state of "device_link_fail". +/// +/// Description of the "device_link_fail" tag state: (devices) Failed to link +/// device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkFail; + +/// +/// Initializes union class with tag state of "device_link_success". +/// +/// Description of the "device_link_success" tag state: (devices) Linked device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceLinkSuccess; + +/// +/// Initializes union class with tag state of "device_management_disabled". +/// +/// Description of the "device_management_disabled" tag state: (devices) +/// Disabled device management (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementDisabled; + +/// +/// Initializes union class with tag state of "device_management_enabled". +/// +/// Description of the "device_management_enabled" tag state: (devices) Enabled +/// device management (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceManagementEnabled; + +/// +/// Initializes union class with tag state of +/// "device_sync_backup_status_changed". +/// +/// Description of the "device_sync_backup_status_changed" tag state: (devices) +/// Enabled/disabled backup for computer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceSyncBackupStatusChanged; + +/// +/// Initializes union class with tag state of "device_unlink". +/// +/// Description of the "device_unlink" tag state: (devices) Disconnected device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceUnlink; + +/// +/// Initializes union class with tag state of "dropbox_passwords_exported". +/// +/// Description of the "dropbox_passwords_exported" tag state: (devices) +/// Exported passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsExported; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_new_device_enrolled". +/// +/// Description of the "dropbox_passwords_new_device_enrolled" tag state: +/// (devices) Enrolled new Dropbox Passwords device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsNewDeviceEnrolled; + +/// +/// Initializes union class with tag state of "emm_refresh_auth_token". +/// +/// Description of the "emm_refresh_auth_token" tag state: (devices) Refreshed +/// auth token used for setting up EMM +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRefreshAuthToken; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_eligibility_status_checked". +/// +/// Description of the "external_drive_backup_eligibility_status_checked" tag +/// state: (devices) Checked external drive backup eligibility status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupEligibilityStatusChecked; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_status_changed". +/// +/// Description of the "external_drive_backup_status_changed" tag state: +/// (devices) Modified external drive backup +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupStatusChanged; + +/// +/// Initializes union class with tag state of +/// "account_capture_change_availability". +/// +/// Description of the "account_capture_change_availability" tag state: +/// (domains) Granted/revoked option to enable account capture on team domains +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangeAvailability; + +/// +/// Initializes union class with tag state of "account_capture_migrate_account". +/// +/// Description of the "account_capture_migrate_account" tag state: (domains) +/// Account-captured user migrated account to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureMigrateAccount; + +/// +/// Initializes union class with tag state of +/// "account_capture_notification_emails_sent". +/// +/// Description of the "account_capture_notification_emails_sent" tag state: +/// (domains) Sent account capture email to all unmanaged members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureNotificationEmailsSent; + +/// +/// Initializes union class with tag state of +/// "account_capture_relinquish_account". +/// +/// Description of the "account_capture_relinquish_account" tag state: (domains) +/// Account-captured user changed account email to personal email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureRelinquishAccount; + +/// +/// Initializes union class with tag state of "disabled_domain_invites". +/// +/// Description of the "disabled_domain_invites" tag state: (domains) Disabled +/// domain invites (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabledDomainInvites; + +/// +/// Initializes union class with tag state of +/// "domain_invites_approve_request_to_join_team". +/// +/// Description of the "domain_invites_approve_request_to_join_team" tag state: +/// (domains) Approved user's request to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesApproveRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_decline_request_to_join_team". +/// +/// Description of the "domain_invites_decline_request_to_join_team" tag state: +/// (domains) Declined user's request to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesDeclineRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_email_existing_users". +/// +/// Description of the "domain_invites_email_existing_users" tag state: +/// (domains) Sent domain invites to existing domain accounts (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesEmailExistingUsers; + +/// +/// Initializes union class with tag state of +/// "domain_invites_request_to_join_team". +/// +/// Description of the "domain_invites_request_to_join_team" tag state: +/// (domains) Requested to join team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesRequestToJoinTeam; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_no". +/// +/// Description of the "domain_invites_set_invite_new_user_pref_to_no" tag +/// state: (domains) Disabled "Automatically invite new users" (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToNo; + +/// +/// Initializes union class with tag state of +/// "domain_invites_set_invite_new_user_pref_to_yes". +/// +/// Description of the "domain_invites_set_invite_new_user_pref_to_yes" tag +/// state: (domains) Enabled "Automatically invite new users" (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainInvitesSetInviteNewUserPrefToYes; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_fail". +/// +/// Description of the "domain_verification_add_domain_fail" tag state: +/// (domains) Failed to verify team domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainFail; + +/// +/// Initializes union class with tag state of +/// "domain_verification_add_domain_success". +/// +/// Description of the "domain_verification_add_domain_success" tag state: +/// (domains) Verified team domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationAddDomainSuccess; + +/// +/// Initializes union class with tag state of +/// "domain_verification_remove_domain". +/// +/// Description of the "domain_verification_remove_domain" tag state: (domains) +/// Removed domain from list of verified team domains +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDomainVerificationRemoveDomain; + +/// +/// Initializes union class with tag state of "enabled_domain_invites". +/// +/// Description of the "enabled_domain_invites" tag state: (domains) Enabled +/// domain invites (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabledDomainInvites; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_cancel_key_deletion". +/// +/// Description of the "team_encryption_key_cancel_key_deletion" tag state: +/// (encryption) Canceled team encryption key deletion +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCancelKeyDeletion; + +/// +/// Initializes union class with tag state of "team_encryption_key_create_key". +/// +/// Description of the "team_encryption_key_create_key" tag state: (encryption) +/// Created team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyCreateKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_delete_key". +/// +/// Description of the "team_encryption_key_delete_key" tag state: (encryption) +/// Deleted team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDeleteKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_disable_key". +/// +/// Description of the "team_encryption_key_disable_key" tag state: (encryption) +/// Disabled team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyDisableKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_enable_key". +/// +/// Description of the "team_encryption_key_enable_key" tag state: (encryption) +/// Enabled team encryption key +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyEnableKey; + +/// +/// Initializes union class with tag state of "team_encryption_key_rotate_key". +/// +/// Description of the "team_encryption_key_rotate_key" tag state: (encryption) +/// Rotated team encryption key (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyRotateKey; + +/// +/// Initializes union class with tag state of +/// "team_encryption_key_schedule_key_deletion". +/// +/// Description of the "team_encryption_key_schedule_key_deletion" tag state: +/// (encryption) Scheduled encryption key deletion +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamEncryptionKeyScheduleKeyDeletion; + +/// +/// Initializes union class with tag state of "apply_naming_convention". +/// +/// Description of the "apply_naming_convention" tag state: (file_operations) +/// Applied naming convention +/// +/// @return An initialized instance. +/// +- (instancetype)initWithApplyNamingConvention; + +/// +/// Initializes union class with tag state of "create_folder". +/// +/// Description of the "create_folder" tag state: (file_operations) Created +/// folders (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateFolder; + +/// +/// Initializes union class with tag state of "file_add". +/// +/// Description of the "file_add" tag state: (file_operations) Added files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAdd; + +/// +/// Initializes union class with tag state of "file_add_from_automation". +/// +/// Description of the "file_add_from_automation" tag state: (file_operations) +/// Added files and/or folders from automation +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileAddFromAutomation; + +/// +/// Initializes union class with tag state of "file_copy". +/// +/// Description of the "file_copy" tag state: (file_operations) Copied files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCopy; + +/// +/// Initializes union class with tag state of "file_delete". +/// +/// Description of the "file_delete" tag state: (file_operations) Deleted files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDelete; + +/// +/// Initializes union class with tag state of "file_download". +/// +/// Description of the "file_download" tag state: (file_operations) Downloaded +/// files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileDownload; + +/// +/// Initializes union class with tag state of "file_edit". +/// +/// Description of the "file_edit" tag state: (file_operations) Edited files +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileEdit; + +/// +/// Initializes union class with tag state of "file_get_copy_reference". +/// +/// Description of the "file_get_copy_reference" tag state: (file_operations) +/// Created copy reference to file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileGetCopyReference; + +/// +/// Initializes union class with tag state of +/// "file_locking_lock_status_changed". +/// +/// Description of the "file_locking_lock_status_changed" tag state: +/// (file_operations) Locked/unlocked editing for a file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingLockStatusChanged; + +/// +/// Initializes union class with tag state of "file_move". +/// +/// Description of the "file_move" tag state: (file_operations) Moved files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileMove; + +/// +/// Initializes union class with tag state of "file_permanently_delete". +/// +/// Description of the "file_permanently_delete" tag state: (file_operations) +/// Permanently deleted files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePermanentlyDelete; + +/// +/// Initializes union class with tag state of "file_preview". +/// +/// Description of the "file_preview" tag state: (file_operations) Previewed +/// files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFilePreview; + +/// +/// Initializes union class with tag state of "file_rename". +/// +/// Description of the "file_rename" tag state: (file_operations) Renamed files +/// and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRename; + +/// +/// Initializes union class with tag state of "file_restore". +/// +/// Description of the "file_restore" tag state: (file_operations) Restored +/// deleted files and/or folders +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRestore; + +/// +/// Initializes union class with tag state of "file_revert". +/// +/// Description of the "file_revert" tag state: (file_operations) Reverted files +/// to previous version +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRevert; + +/// +/// Initializes union class with tag state of "file_rollback_changes". +/// +/// Description of the "file_rollback_changes" tag state: (file_operations) +/// Rolled back file actions +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRollbackChanges; + +/// +/// Initializes union class with tag state of "file_save_copy_reference". +/// +/// Description of the "file_save_copy_reference" tag state: (file_operations) +/// Saved file/folder using copy reference +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileSaveCopyReference; + +/// +/// Initializes union class with tag state of +/// "folder_overview_description_changed". +/// +/// Description of the "folder_overview_description_changed" tag state: +/// (file_operations) Updated folder overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewDescriptionChanged; + +/// +/// Initializes union class with tag state of "folder_overview_item_pinned". +/// +/// Description of the "folder_overview_item_pinned" tag state: +/// (file_operations) Pinned item to folder overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemPinned; + +/// +/// Initializes union class with tag state of "folder_overview_item_unpinned". +/// +/// Description of the "folder_overview_item_unpinned" tag state: +/// (file_operations) Unpinned item from folder overview +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewItemUnpinned; + +/// +/// Initializes union class with tag state of "object_label_added". +/// +/// Description of the "object_label_added" tag state: (file_operations) Added a +/// label +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelAdded; + +/// +/// Initializes union class with tag state of "object_label_removed". +/// +/// Description of the "object_label_removed" tag state: (file_operations) +/// Removed a label +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelRemoved; + +/// +/// Initializes union class with tag state of "object_label_updated_value". +/// +/// Description of the "object_label_updated_value" tag state: (file_operations) +/// Updated a label's value +/// +/// @return An initialized instance. +/// +- (instancetype)initWithObjectLabelUpdatedValue; + +/// +/// Initializes union class with tag state of "organize_folder_with_tidy". +/// +/// Description of the "organize_folder_with_tidy" tag state: (file_operations) +/// Organized a folder with multi-file organize +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganizeFolderWithTidy; + +/// +/// Initializes union class with tag state of "replay_file_delete". +/// +/// Description of the "replay_file_delete" tag state: (file_operations) Deleted +/// files in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileDelete; + +/// +/// Initializes union class with tag state of "rewind_folder". +/// +/// Description of the "rewind_folder" tag state: (file_operations) Rewound a +/// folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindFolder; + +/// +/// Initializes union class with tag state of "undo_naming_convention". +/// +/// Description of the "undo_naming_convention" tag state: (file_operations) +/// Reverted naming convention +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoNamingConvention; + +/// +/// Initializes union class with tag state of "undo_organize_folder_with_tidy". +/// +/// Description of the "undo_organize_folder_with_tidy" tag state: +/// (file_operations) Removed multi-file organize +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUndoOrganizeFolderWithTidy; + +/// +/// Initializes union class with tag state of "user_tags_added". +/// +/// Description of the "user_tags_added" tag state: (file_operations) Tagged a +/// file +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsAdded; + +/// +/// Initializes union class with tag state of "user_tags_removed". +/// +/// Description of the "user_tags_removed" tag state: (file_operations) Removed +/// tags +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserTagsRemoved; + +/// +/// Initializes union class with tag state of "email_ingest_receive_file". +/// +/// Description of the "email_ingest_receive_file" tag state: (file_requests) +/// Received files via Email to Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestReceiveFile; + +/// +/// Initializes union class with tag state of "file_request_change". +/// +/// Description of the "file_request_change" tag state: (file_requests) Changed +/// file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestChange; + +/// +/// Initializes union class with tag state of "file_request_close". +/// +/// Description of the "file_request_close" tag state: (file_requests) Closed +/// file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestClose; + +/// +/// Initializes union class with tag state of "file_request_create". +/// +/// Description of the "file_request_create" tag state: (file_requests) Created +/// file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestCreate; + +/// +/// Initializes union class with tag state of "file_request_delete". +/// +/// Description of the "file_request_delete" tag state: (file_requests) Delete +/// file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestDelete; + +/// +/// Initializes union class with tag state of "file_request_receive_file". +/// +/// Description of the "file_request_receive_file" tag state: (file_requests) +/// Received files for file request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestReceiveFile; + +/// +/// Initializes union class with tag state of "group_add_external_id". +/// +/// Description of the "group_add_external_id" tag state: (groups) Added +/// external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddExternalId; + +/// +/// Initializes union class with tag state of "group_add_member". +/// +/// Description of the "group_add_member" tag state: (groups) Added team members +/// to group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupAddMember; + +/// +/// Initializes union class with tag state of "group_change_external_id". +/// +/// Description of the "group_change_external_id" tag state: (groups) Changed +/// external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeExternalId; + +/// +/// Initializes union class with tag state of "group_change_management_type". +/// +/// Description of the "group_change_management_type" tag state: (groups) +/// Changed group management type +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeManagementType; + +/// +/// Initializes union class with tag state of "group_change_member_role". +/// +/// Description of the "group_change_member_role" tag state: (groups) Changed +/// manager permissions of group member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupChangeMemberRole; + +/// +/// Initializes union class with tag state of "group_create". +/// +/// Description of the "group_create" tag state: (groups) Created group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupCreate; + +/// +/// Initializes union class with tag state of "group_delete". +/// +/// Description of the "group_delete" tag state: (groups) Deleted group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDelete; + +/// +/// Initializes union class with tag state of "group_description_updated". +/// +/// Description of the "group_description_updated" tag state: (groups) Updated +/// group (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupDescriptionUpdated; + +/// +/// Initializes union class with tag state of "group_join_policy_updated". +/// +/// Description of the "group_join_policy_updated" tag state: (groups) Updated +/// group join policy (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupJoinPolicyUpdated; + +/// +/// Initializes union class with tag state of "group_moved". +/// +/// Description of the "group_moved" tag state: (groups) Moved group +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupMoved; + +/// +/// Initializes union class with tag state of "group_remove_external_id". +/// +/// Description of the "group_remove_external_id" tag state: (groups) Removed +/// external ID for group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveExternalId; + +/// +/// Initializes union class with tag state of "group_remove_member". +/// +/// Description of the "group_remove_member" tag state: (groups) Removed team +/// members from group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRemoveMember; + +/// +/// Initializes union class with tag state of "group_rename". +/// +/// Description of the "group_rename" tag state: (groups) Renamed group +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupRename; + +/// +/// Initializes union class with tag state of "account_lock_or_unlocked". +/// +/// Description of the "account_lock_or_unlocked" tag state: (logins) +/// Unlocked/locked account after failed sign in attempts +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountLockOrUnlocked; + +/// +/// Initializes union class with tag state of "emm_error". +/// +/// Description of the "emm_error" tag state: (logins) Failed to sign in via EMM +/// (deprecated, replaced by 'Failed to sign in') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmError; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_in_via_trusted_teams". +/// +/// Description of the "guest_admin_signed_in_via_trusted_teams" tag state: +/// (logins) Started trusted team admin session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedInViaTrustedTeams; + +/// +/// Initializes union class with tag state of +/// "guest_admin_signed_out_via_trusted_teams". +/// +/// Description of the "guest_admin_signed_out_via_trusted_teams" tag state: +/// (logins) Ended trusted team admin session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminSignedOutViaTrustedTeams; + +/// +/// Initializes union class with tag state of "login_fail". +/// +/// Description of the "login_fail" tag state: (logins) Failed to sign in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginFail; + +/// +/// Initializes union class with tag state of "login_success". +/// +/// Description of the "login_success" tag state: (logins) Signed in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginSuccess; + +/// +/// Initializes union class with tag state of "logout". +/// +/// Description of the "logout" tag state: (logins) Signed out +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLogout; + +/// +/// Initializes union class with tag state of "reseller_support_session_end". +/// +/// Description of the "reseller_support_session_end" tag state: (logins) Ended +/// reseller support session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionEnd; + +/// +/// Initializes union class with tag state of "reseller_support_session_start". +/// +/// Description of the "reseller_support_session_start" tag state: (logins) +/// Started reseller support session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportSessionStart; + +/// +/// Initializes union class with tag state of "sign_in_as_session_end". +/// +/// Description of the "sign_in_as_session_end" tag state: (logins) Ended admin +/// sign-in-as session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionEnd; + +/// +/// Initializes union class with tag state of "sign_in_as_session_start". +/// +/// Description of the "sign_in_as_session_start" tag state: (logins) Started +/// admin sign-in-as session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSignInAsSessionStart; + +/// +/// Initializes union class with tag state of "sso_error". +/// +/// Description of the "sso_error" tag state: (logins) Failed to sign in via SSO +/// (deprecated, replaced by 'Failed to sign in') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoError; + +/// +/// Initializes union class with tag state of "backup_admin_invitation_sent". +/// +/// Description of the "backup_admin_invitation_sent" tag state: (members) +/// Invited members to activate Backup +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupAdminInvitationSent; + +/// +/// Initializes union class with tag state of "backup_invitation_opened". +/// +/// Description of the "backup_invitation_opened" tag state: (members) Opened +/// Backup invite +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBackupInvitationOpened; + +/// +/// Initializes union class with tag state of "create_team_invite_link". +/// +/// Description of the "create_team_invite_link" tag state: (members) Created +/// team invite link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreateTeamInviteLink; + +/// +/// Initializes union class with tag state of "delete_team_invite_link". +/// +/// Description of the "delete_team_invite_link" tag state: (members) Deleted +/// team invite link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteTeamInviteLink; + +/// +/// Initializes union class with tag state of "member_add_external_id". +/// +/// Description of the "member_add_external_id" tag state: (members) Added an +/// external ID for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddExternalId; + +/// +/// Initializes union class with tag state of "member_add_name". +/// +/// Description of the "member_add_name" tag state: (members) Added team member +/// name +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberAddName; + +/// +/// Initializes union class with tag state of "member_change_admin_role". +/// +/// Description of the "member_change_admin_role" tag state: (members) Changed +/// team member admin role +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeAdminRole; + +/// +/// Initializes union class with tag state of "member_change_email". +/// +/// Description of the "member_change_email" tag state: (members) Changed team +/// member email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeEmail; + +/// +/// Initializes union class with tag state of "member_change_external_id". +/// +/// Description of the "member_change_external_id" tag state: (members) Changed +/// the external ID for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeExternalId; + +/// +/// Initializes union class with tag state of "member_change_membership_type". +/// +/// Description of the "member_change_membership_type" tag state: (members) +/// Changed membership type (limited/full) of member (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeMembershipType; + +/// +/// Initializes union class with tag state of "member_change_name". +/// +/// Description of the "member_change_name" tag state: (members) Changed team +/// member name +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeName; + +/// +/// Initializes union class with tag state of "member_change_reseller_role". +/// +/// Description of the "member_change_reseller_role" tag state: (members) +/// Changed team member reseller role +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeResellerRole; + +/// +/// Initializes union class with tag state of "member_change_status". +/// +/// Description of the "member_change_status" tag state: (members) Changed +/// member status (invited, joined, suspended, etc.) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberChangeStatus; + +/// +/// Initializes union class with tag state of "member_delete_manual_contacts". +/// +/// Description of the "member_delete_manual_contacts" tag state: (members) +/// Cleared manually added contacts +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteManualContacts; + +/// +/// Initializes union class with tag state of "member_delete_profile_photo". +/// +/// Description of the "member_delete_profile_photo" tag state: (members) +/// Deleted team member profile photo +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberDeleteProfilePhoto; + +/// +/// Initializes union class with tag state of +/// "member_permanently_delete_account_contents". +/// +/// Description of the "member_permanently_delete_account_contents" tag state: +/// (members) Permanently deleted contents of deleted team member account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberPermanentlyDeleteAccountContents; + +/// +/// Initializes union class with tag state of "member_remove_external_id". +/// +/// Description of the "member_remove_external_id" tag state: (members) Removed +/// the external ID for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRemoveExternalId; + +/// +/// Initializes union class with tag state of "member_set_profile_photo". +/// +/// Description of the "member_set_profile_photo" tag state: (members) Set team +/// member profile photo +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSetProfilePhoto; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_custom_quota". +/// +/// Description of the "member_space_limits_add_custom_quota" tag state: +/// (members) Set custom member space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddCustomQuota; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_custom_quota". +/// +/// Description of the "member_space_limits_change_custom_quota" tag state: +/// (members) Changed custom member space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCustomQuota; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_status". +/// +/// Description of the "member_space_limits_change_status" tag state: (members) +/// Changed space limit status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeStatus; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_custom_quota". +/// +/// Description of the "member_space_limits_remove_custom_quota" tag state: +/// (members) Removed custom member space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveCustomQuota; + +/// +/// Initializes union class with tag state of "member_suggest". +/// +/// Description of the "member_suggest" tag state: (members) Suggested person to +/// add to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggest; + +/// +/// Initializes union class with tag state of +/// "member_transfer_account_contents". +/// +/// Description of the "member_transfer_account_contents" tag state: (members) +/// Transferred contents of deleted member account to another member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberTransferAccountContents; + +/// +/// Initializes union class with tag state of "pending_secondary_email_added". +/// +/// Description of the "pending_secondary_email_added" tag state: (members) +/// Added pending secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPendingSecondaryEmailAdded; + +/// +/// Initializes union class with tag state of "secondary_email_deleted". +/// +/// Description of the "secondary_email_deleted" tag state: (members) Deleted +/// secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailDeleted; + +/// +/// Initializes union class with tag state of "secondary_email_verified". +/// +/// Description of the "secondary_email_verified" tag state: (members) Verified +/// secondary email +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmailVerified; + +/// +/// Initializes union class with tag state of "secondary_mails_policy_changed". +/// +/// Description of the "secondary_mails_policy_changed" tag state: (members) +/// Secondary mails policy changed +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryMailsPolicyChanged; + +/// +/// Initializes union class with tag state of "binder_add_page". +/// +/// Description of the "binder_add_page" tag state: (paper) Added Binder page +/// (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddPage; + +/// +/// Initializes union class with tag state of "binder_add_section". +/// +/// Description of the "binder_add_section" tag state: (paper) Added Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderAddSection; + +/// +/// Initializes union class with tag state of "binder_remove_page". +/// +/// Description of the "binder_remove_page" tag state: (paper) Removed Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemovePage; + +/// +/// Initializes union class with tag state of "binder_remove_section". +/// +/// Description of the "binder_remove_section" tag state: (paper) Removed Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRemoveSection; + +/// +/// Initializes union class with tag state of "binder_rename_page". +/// +/// Description of the "binder_rename_page" tag state: (paper) Renamed Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenamePage; + +/// +/// Initializes union class with tag state of "binder_rename_section". +/// +/// Description of the "binder_rename_section" tag state: (paper) Renamed Binder +/// section (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderRenameSection; + +/// +/// Initializes union class with tag state of "binder_reorder_page". +/// +/// Description of the "binder_reorder_page" tag state: (paper) Reordered Binder +/// page (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderPage; + +/// +/// Initializes union class with tag state of "binder_reorder_section". +/// +/// Description of the "binder_reorder_section" tag state: (paper) Reordered +/// Binder section (deprecated, replaced by 'Edited files') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBinderReorderSection; + +/// +/// Initializes union class with tag state of "paper_content_add_member". +/// +/// Description of the "paper_content_add_member" tag state: (paper) Added users +/// and/or groups to Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddMember; + +/// +/// Initializes union class with tag state of "paper_content_add_to_folder". +/// +/// Description of the "paper_content_add_to_folder" tag state: (paper) Added +/// Paper doc/folder to folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentAddToFolder; + +/// +/// Initializes union class with tag state of "paper_content_archive". +/// +/// Description of the "paper_content_archive" tag state: (paper) Archived Paper +/// doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentArchive; + +/// +/// Initializes union class with tag state of "paper_content_create". +/// +/// Description of the "paper_content_create" tag state: (paper) Created Paper +/// doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentCreate; + +/// +/// Initializes union class with tag state of +/// "paper_content_permanently_delete". +/// +/// Description of the "paper_content_permanently_delete" tag state: (paper) +/// Permanently deleted Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentPermanentlyDelete; + +/// +/// Initializes union class with tag state of +/// "paper_content_remove_from_folder". +/// +/// Description of the "paper_content_remove_from_folder" tag state: (paper) +/// Removed Paper doc/folder from folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveFromFolder; + +/// +/// Initializes union class with tag state of "paper_content_remove_member". +/// +/// Description of the "paper_content_remove_member" tag state: (paper) Removed +/// users and/or groups from Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRemoveMember; + +/// +/// Initializes union class with tag state of "paper_content_rename". +/// +/// Description of the "paper_content_rename" tag state: (paper) Renamed Paper +/// doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRename; + +/// +/// Initializes union class with tag state of "paper_content_restore". +/// +/// Description of the "paper_content_restore" tag state: (paper) Restored +/// archived Paper doc/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperContentRestore; + +/// +/// Initializes union class with tag state of "paper_doc_add_comment". +/// +/// Description of the "paper_doc_add_comment" tag state: (paper) Added Paper +/// doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocAddComment; + +/// +/// Initializes union class with tag state of "paper_doc_change_member_role". +/// +/// Description of the "paper_doc_change_member_role" tag state: (paper) Changed +/// member permissions for Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeMemberRole; + +/// +/// Initializes union class with tag state of "paper_doc_change_sharing_policy". +/// +/// Description of the "paper_doc_change_sharing_policy" tag state: (paper) +/// Changed sharing setting for Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSharingPolicy; + +/// +/// Initializes union class with tag state of "paper_doc_change_subscription". +/// +/// Description of the "paper_doc_change_subscription" tag state: (paper) +/// Followed/unfollowed Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocChangeSubscription; + +/// +/// Initializes union class with tag state of "paper_doc_deleted". +/// +/// Description of the "paper_doc_deleted" tag state: (paper) Archived Paper doc +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeleted; + +/// +/// Initializes union class with tag state of "paper_doc_delete_comment". +/// +/// Description of the "paper_doc_delete_comment" tag state: (paper) Deleted +/// Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDeleteComment; + +/// +/// Initializes union class with tag state of "paper_doc_download". +/// +/// Description of the "paper_doc_download" tag state: (paper) Downloaded Paper +/// doc in specific format +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocDownload; + +/// +/// Initializes union class with tag state of "paper_doc_edit". +/// +/// Description of the "paper_doc_edit" tag state: (paper) Edited Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEdit; + +/// +/// Initializes union class with tag state of "paper_doc_edit_comment". +/// +/// Description of the "paper_doc_edit_comment" tag state: (paper) Edited Paper +/// doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocEditComment; + +/// +/// Initializes union class with tag state of "paper_doc_followed". +/// +/// Description of the "paper_doc_followed" tag state: (paper) Followed Paper +/// doc (deprecated, replaced by 'Followed/unfollowed Paper doc') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocFollowed; + +/// +/// Initializes union class with tag state of "paper_doc_mention". +/// +/// Description of the "paper_doc_mention" tag state: (paper) Mentioned user in +/// Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocMention; + +/// +/// Initializes union class with tag state of "paper_doc_ownership_changed". +/// +/// Description of the "paper_doc_ownership_changed" tag state: (paper) +/// Transferred ownership of Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocOwnershipChanged; + +/// +/// Initializes union class with tag state of "paper_doc_request_access". +/// +/// Description of the "paper_doc_request_access" tag state: (paper) Requested +/// access to Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRequestAccess; + +/// +/// Initializes union class with tag state of "paper_doc_resolve_comment". +/// +/// Description of the "paper_doc_resolve_comment" tag state: (paper) Resolved +/// Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocResolveComment; + +/// +/// Initializes union class with tag state of "paper_doc_revert". +/// +/// Description of the "paper_doc_revert" tag state: (paper) Restored Paper doc +/// to previous version +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocRevert; + +/// +/// Initializes union class with tag state of "paper_doc_slack_share". +/// +/// Description of the "paper_doc_slack_share" tag state: (paper) Shared Paper +/// doc via Slack +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocSlackShare; + +/// +/// Initializes union class with tag state of "paper_doc_team_invite". +/// +/// Description of the "paper_doc_team_invite" tag state: (paper) Shared Paper +/// doc with users and/or groups (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTeamInvite; + +/// +/// Initializes union class with tag state of "paper_doc_trashed". +/// +/// Description of the "paper_doc_trashed" tag state: (paper) Deleted Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocTrashed; + +/// +/// Initializes union class with tag state of "paper_doc_unresolve_comment". +/// +/// Description of the "paper_doc_unresolve_comment" tag state: (paper) +/// Unresolved Paper doc comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUnresolveComment; + +/// +/// Initializes union class with tag state of "paper_doc_untrashed". +/// +/// Description of the "paper_doc_untrashed" tag state: (paper) Restored Paper +/// doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocUntrashed; + +/// +/// Initializes union class with tag state of "paper_doc_view". +/// +/// Description of the "paper_doc_view" tag state: (paper) Viewed Paper doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDocView; + +/// +/// Initializes union class with tag state of "paper_external_view_allow". +/// +/// Description of the "paper_external_view_allow" tag state: (paper) Changed +/// Paper external sharing setting to anyone (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewAllow; + +/// +/// Initializes union class with tag state of +/// "paper_external_view_default_team". +/// +/// Description of the "paper_external_view_default_team" tag state: (paper) +/// Changed Paper external sharing setting to default team (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewDefaultTeam; + +/// +/// Initializes union class with tag state of "paper_external_view_forbid". +/// +/// Description of the "paper_external_view_forbid" tag state: (paper) Changed +/// Paper external sharing setting to team-only (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperExternalViewForbid; + +/// +/// Initializes union class with tag state of +/// "paper_folder_change_subscription". +/// +/// Description of the "paper_folder_change_subscription" tag state: (paper) +/// Followed/unfollowed Paper folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderChangeSubscription; + +/// +/// Initializes union class with tag state of "paper_folder_deleted". +/// +/// Description of the "paper_folder_deleted" tag state: (paper) Archived Paper +/// folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderDeleted; + +/// +/// Initializes union class with tag state of "paper_folder_followed". +/// +/// Description of the "paper_folder_followed" tag state: (paper) Followed Paper +/// folder (deprecated, replaced by 'Followed/unfollowed Paper folder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderFollowed; + +/// +/// Initializes union class with tag state of "paper_folder_team_invite". +/// +/// Description of the "paper_folder_team_invite" tag state: (paper) Shared +/// Paper folder with users and/or groups (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperFolderTeamInvite; + +/// +/// Initializes union class with tag state of +/// "paper_published_link_change_permission". +/// +/// Description of the "paper_published_link_change_permission" tag state: +/// (paper) Changed permissions for published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkChangePermission; + +/// +/// Initializes union class with tag state of "paper_published_link_create". +/// +/// Description of the "paper_published_link_create" tag state: (paper) +/// Published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkCreate; + +/// +/// Initializes union class with tag state of "paper_published_link_disabled". +/// +/// Description of the "paper_published_link_disabled" tag state: (paper) +/// Unpublished doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkDisabled; + +/// +/// Initializes union class with tag state of "paper_published_link_view". +/// +/// Description of the "paper_published_link_view" tag state: (paper) Viewed +/// published doc +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperPublishedLinkView; + +/// +/// Initializes union class with tag state of "password_change". +/// +/// Description of the "password_change" tag state: (passwords) Changed password +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordChange; + +/// +/// Initializes union class with tag state of "password_reset". +/// +/// Description of the "password_reset" tag state: (passwords) Reset password +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordReset; + +/// +/// Initializes union class with tag state of "password_reset_all". +/// +/// Description of the "password_reset_all" tag state: (passwords) Reset all +/// team member passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordResetAll; + +/// +/// Initializes union class with tag state of "classification_create_report". +/// +/// Description of the "classification_create_report" tag state: (reports) +/// Created Classification report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReport; + +/// +/// Initializes union class with tag state of +/// "classification_create_report_fail". +/// +/// Description of the "classification_create_report_fail" tag state: (reports) +/// Couldn't create Classification report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationCreateReportFail; + +/// +/// Initializes union class with tag state of "emm_create_exceptions_report". +/// +/// Description of the "emm_create_exceptions_report" tag state: (reports) +/// Created EMM-excluded users report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateExceptionsReport; + +/// +/// Initializes union class with tag state of "emm_create_usage_report". +/// +/// Description of the "emm_create_usage_report" tag state: (reports) Created +/// EMM mobile app usage report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmCreateUsageReport; + +/// +/// Initializes union class with tag state of "export_members_report". +/// +/// Description of the "export_members_report" tag state: (reports) Created +/// member data report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReport; + +/// +/// Initializes union class with tag state of "export_members_report_fail". +/// +/// Description of the "export_members_report_fail" tag state: (reports) Failed +/// to create members data report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExportMembersReportFail; + +/// +/// Initializes union class with tag state of "external_sharing_create_report". +/// +/// Description of the "external_sharing_create_report" tag state: (reports) +/// Created External sharing report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingCreateReport; + +/// +/// Initializes union class with tag state of "external_sharing_report_failed". +/// +/// Description of the "external_sharing_report_failed" tag state: (reports) +/// Couldn't create External sharing report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalSharingReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_create_report". +/// +/// Description of the "no_expiration_link_gen_create_report" tag state: +/// (reports) Report created: Links created with no expiration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_expiration_link_gen_report_failed". +/// +/// Description of the "no_expiration_link_gen_report_failed" tag state: +/// (reports) Couldn't create report: Links created with no expiration +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoExpirationLinkGenReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_create_report". +/// +/// Description of the "no_password_link_gen_create_report" tag state: (reports) +/// Report created: Links created without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_password_link_gen_report_failed". +/// +/// Description of the "no_password_link_gen_report_failed" tag state: (reports) +/// Couldn't create report: Links created without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkGenReportFailed; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_create_report". +/// +/// Description of the "no_password_link_view_create_report" tag state: +/// (reports) Report created: Views of links without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewCreateReport; + +/// +/// Initializes union class with tag state of +/// "no_password_link_view_report_failed". +/// +/// Description of the "no_password_link_view_report_failed" tag state: +/// (reports) Couldn't create report: Views of links without passwords +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoPasswordLinkViewReportFailed; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_create_report". +/// +/// Description of the "outdated_link_view_create_report" tag state: (reports) +/// Report created: Views of old links +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewCreateReport; + +/// +/// Initializes union class with tag state of +/// "outdated_link_view_report_failed". +/// +/// Description of the "outdated_link_view_report_failed" tag state: (reports) +/// Couldn't create report: Views of old links +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOutdatedLinkViewReportFailed; + +/// +/// Initializes union class with tag state of "paper_admin_export_start". +/// +/// Description of the "paper_admin_export_start" tag state: (reports) Exported +/// all team Paper docs +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperAdminExportStart; + +/// +/// Initializes union class with tag state of "ransomware_alert_create_report". +/// +/// Description of the "ransomware_alert_create_report" tag state: (reports) +/// Created ransomware report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReport; + +/// +/// Initializes union class with tag state of +/// "ransomware_alert_create_report_failed". +/// +/// Description of the "ransomware_alert_create_report_failed" tag state: +/// (reports) Couldn't generate ransomware report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRansomwareAlertCreateReportFailed; + +/// +/// Initializes union class with tag state of +/// "smart_sync_create_admin_privilege_report". +/// +/// Description of the "smart_sync_create_admin_privilege_report" tag state: +/// (reports) Created Smart Sync non-admin devices report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncCreateAdminPrivilegeReport; + +/// +/// Initializes union class with tag state of "team_activity_create_report". +/// +/// Description of the "team_activity_create_report" tag state: (reports) +/// Created team activity report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReport; + +/// +/// Initializes union class with tag state of +/// "team_activity_create_report_fail". +/// +/// Description of the "team_activity_create_report_fail" tag state: (reports) +/// Couldn't generate team activity report +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamActivityCreateReportFail; + +/// +/// Initializes union class with tag state of "collection_share". +/// +/// Description of the "collection_share" tag state: (sharing) Shared album +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCollectionShare; + +/// +/// Initializes union class with tag state of "file_transfers_file_add". +/// +/// Description of the "file_transfers_file_add" tag state: (sharing) Transfer +/// files added +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersFileAdd; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_delete". +/// +/// Description of the "file_transfers_transfer_delete" tag state: (sharing) +/// Deleted transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDelete; + +/// +/// Initializes union class with tag state of +/// "file_transfers_transfer_download". +/// +/// Description of the "file_transfers_transfer_download" tag state: (sharing) +/// Transfer downloaded +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferDownload; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_send". +/// +/// Description of the "file_transfers_transfer_send" tag state: (sharing) Sent +/// transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferSend; + +/// +/// Initializes union class with tag state of "file_transfers_transfer_view". +/// +/// Description of the "file_transfers_transfer_view" tag state: (sharing) +/// Viewed transfer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersTransferView; + +/// +/// Initializes union class with tag state of "note_acl_invite_only". +/// +/// Description of the "note_acl_invite_only" tag state: (sharing) Changed Paper +/// doc to invite-only (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclInviteOnly; + +/// +/// Initializes union class with tag state of "note_acl_link". +/// +/// Description of the "note_acl_link" tag state: (sharing) Changed Paper doc to +/// link-accessible (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclLink; + +/// +/// Initializes union class with tag state of "note_acl_team_link". +/// +/// Description of the "note_acl_team_link" tag state: (sharing) Changed Paper +/// doc to link-accessible for team (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteAclTeamLink; + +/// +/// Initializes union class with tag state of "note_shared". +/// +/// Description of the "note_shared" tag state: (sharing) Shared Paper doc +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteShared; + +/// +/// Initializes union class with tag state of "note_share_receive". +/// +/// Description of the "note_share_receive" tag state: (sharing) Shared received +/// Paper doc (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoteShareReceive; + +/// +/// Initializes union class with tag state of "open_note_shared". +/// +/// Description of the "open_note_shared" tag state: (sharing) Opened shared +/// Paper doc (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOpenNoteShared; + +/// +/// Initializes union class with tag state of "replay_file_shared_link_created". +/// +/// Description of the "replay_file_shared_link_created" tag state: (sharing) +/// Created shared link in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkCreated; + +/// +/// Initializes union class with tag state of +/// "replay_file_shared_link_modified". +/// +/// Description of the "replay_file_shared_link_modified" tag state: (sharing) +/// Modified shared link in Replay +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayFileSharedLinkModified; + +/// +/// Initializes union class with tag state of "replay_project_team_add". +/// +/// Description of the "replay_project_team_add" tag state: (sharing) Added +/// member to Replay Project +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamAdd; + +/// +/// Initializes union class with tag state of "replay_project_team_delete". +/// +/// Description of the "replay_project_team_delete" tag state: (sharing) Removed +/// member from Replay Project +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReplayProjectTeamDelete; + +/// +/// Initializes union class with tag state of "sf_add_group". +/// +/// Description of the "sf_add_group" tag state: (sharing) Added team to shared +/// folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAddGroup; + +/// +/// Initializes union class with tag state of +/// "sf_allow_non_members_to_view_shared_links". +/// +/// Description of the "sf_allow_non_members_to_view_shared_links" tag state: +/// (sharing) Allowed non-collaborators to view links to files in shared folder +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfAllowNonMembersToViewSharedLinks; + +/// +/// Initializes union class with tag state of "sf_external_invite_warn". +/// +/// Description of the "sf_external_invite_warn" tag state: (sharing) Set team +/// members to see warning before sharing folders outside team (deprecated, no +/// longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfExternalInviteWarn; + +/// +/// Initializes union class with tag state of "sf_fb_invite". +/// +/// Description of the "sf_fb_invite" tag state: (sharing) Invited Facebook +/// users to shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInvite; + +/// +/// Initializes union class with tag state of "sf_fb_invite_change_role". +/// +/// Description of the "sf_fb_invite_change_role" tag state: (sharing) Changed +/// Facebook user's role in shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbInviteChangeRole; + +/// +/// Initializes union class with tag state of "sf_fb_uninvite". +/// +/// Description of the "sf_fb_uninvite" tag state: (sharing) Uninvited Facebook +/// user from shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfFbUninvite; + +/// +/// Initializes union class with tag state of "sf_invite_group". +/// +/// Description of the "sf_invite_group" tag state: (sharing) Invited group to +/// shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfInviteGroup; + +/// +/// Initializes union class with tag state of "sf_team_grant_access". +/// +/// Description of the "sf_team_grant_access" tag state: (sharing) Granted +/// access to shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamGrantAccess; + +/// +/// Initializes union class with tag state of "sf_team_invite". +/// +/// Description of the "sf_team_invite" tag state: (sharing) Invited team +/// members to shared folder (deprecated, replaced by 'Invited user to Dropbox +/// and added them to shared file/folder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInvite; + +/// +/// Initializes union class with tag state of "sf_team_invite_change_role". +/// +/// Description of the "sf_team_invite_change_role" tag state: (sharing) Changed +/// team member's role in shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamInviteChangeRole; + +/// +/// Initializes union class with tag state of "sf_team_join". +/// +/// Description of the "sf_team_join" tag state: (sharing) Joined team member's +/// shared folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoin; + +/// +/// Initializes union class with tag state of "sf_team_join_from_oob_link". +/// +/// Description of the "sf_team_join_from_oob_link" tag state: (sharing) Joined +/// team member's shared folder from link (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamJoinFromOobLink; + +/// +/// Initializes union class with tag state of "sf_team_uninvite". +/// +/// Description of the "sf_team_uninvite" tag state: (sharing) Unshared folder +/// with team member (deprecated, replaced by 'Removed invitee from shared +/// file/folder before invite was accepted') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSfTeamUninvite; + +/// +/// Initializes union class with tag state of "shared_content_add_invitees". +/// +/// Description of the "shared_content_add_invitees" tag state: (sharing) +/// Invited user to Dropbox and added them to shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddInvitees; + +/// +/// Initializes union class with tag state of "shared_content_add_link_expiry". +/// +/// Description of the "shared_content_add_link_expiry" tag state: (sharing) +/// Added expiration date to link for shared file/folder (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_add_link_password". +/// +/// Description of the "shared_content_add_link_password" tag state: (sharing) +/// Added password to link for shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddLinkPassword; + +/// +/// Initializes union class with tag state of "shared_content_add_member". +/// +/// Description of the "shared_content_add_member" tag state: (sharing) Added +/// users and/or groups to shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAddMember; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_downloads_policy". +/// +/// Description of the "shared_content_change_downloads_policy" tag state: +/// (sharing) Changed whether members can download shared file/folder +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeDownloadsPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_invitee_role". +/// +/// Description of the "shared_content_change_invitee_role" tag state: (sharing) +/// Changed access type of invitee to shared file/folder before invite was +/// accepted +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeInviteeRole; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_audience". +/// +/// Description of the "shared_content_change_link_audience" tag state: +/// (sharing) Changed link audience of shared file/folder (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkAudience; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_expiry". +/// +/// Description of the "shared_content_change_link_expiry" tag state: (sharing) +/// Changed link expiration of shared file/folder (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_link_password". +/// +/// Description of the "shared_content_change_link_password" tag state: +/// (sharing) Changed link password of shared file/folder (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeLinkPassword; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_member_role". +/// +/// Description of the "shared_content_change_member_role" tag state: (sharing) +/// Changed access type of shared file/folder member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeMemberRole; + +/// +/// Initializes union class with tag state of +/// "shared_content_change_viewer_info_policy". +/// +/// Description of the "shared_content_change_viewer_info_policy" tag state: +/// (sharing) Changed whether members can see who viewed shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentChangeViewerInfoPolicy; + +/// +/// Initializes union class with tag state of "shared_content_claim_invitation". +/// +/// Description of the "shared_content_claim_invitation" tag state: (sharing) +/// Acquired membership of shared file/folder by accepting invite +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentClaimInvitation; + +/// +/// Initializes union class with tag state of "shared_content_copy". +/// +/// Description of the "shared_content_copy" tag state: (sharing) Copied shared +/// file/folder to own Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentCopy; + +/// +/// Initializes union class with tag state of "shared_content_download". +/// +/// Description of the "shared_content_download" tag state: (sharing) Downloaded +/// shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentDownload; + +/// +/// Initializes union class with tag state of +/// "shared_content_relinquish_membership". +/// +/// Description of the "shared_content_relinquish_membership" tag state: +/// (sharing) Left shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRelinquishMembership; + +/// +/// Initializes union class with tag state of "shared_content_remove_invitees". +/// +/// Description of the "shared_content_remove_invitees" tag state: (sharing) +/// Removed invitee from shared file/folder before invite was accepted +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveInvitees; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_expiry". +/// +/// Description of the "shared_content_remove_link_expiry" tag state: (sharing) +/// Removed link expiration date of shared file/folder (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_content_remove_link_password". +/// +/// Description of the "shared_content_remove_link_password" tag state: +/// (sharing) Removed link password of shared file/folder (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveLinkPassword; + +/// +/// Initializes union class with tag state of "shared_content_remove_member". +/// +/// Description of the "shared_content_remove_member" tag state: (sharing) +/// Removed user/group from shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRemoveMember; + +/// +/// Initializes union class with tag state of "shared_content_request_access". +/// +/// Description of the "shared_content_request_access" tag state: (sharing) +/// Requested access to shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRequestAccess; + +/// +/// Initializes union class with tag state of "shared_content_restore_invitees". +/// +/// Description of the "shared_content_restore_invitees" tag state: (sharing) +/// Restored shared file/folder invitees +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreInvitees; + +/// +/// Initializes union class with tag state of "shared_content_restore_member". +/// +/// Description of the "shared_content_restore_member" tag state: (sharing) +/// Restored users and/or groups to membership of shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentRestoreMember; + +/// +/// Initializes union class with tag state of "shared_content_unshare". +/// +/// Description of the "shared_content_unshare" tag state: (sharing) Unshared +/// file/folder by clearing membership +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentUnshare; + +/// +/// Initializes union class with tag state of "shared_content_view". +/// +/// Description of the "shared_content_view" tag state: (sharing) Previewed +/// shared file/folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentView; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_link_policy". +/// +/// Description of the "shared_folder_change_link_policy" tag state: (sharing) +/// Changed who can access shared folder via link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeLinkPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_inheritance_policy". +/// +/// Description of the "shared_folder_change_members_inheritance_policy" tag +/// state: (sharing) Changed whether shared folder inherits members from parent +/// folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersInheritancePolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_management_policy". +/// +/// Description of the "shared_folder_change_members_management_policy" tag +/// state: (sharing) Changed who can add/remove members of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersManagementPolicy; + +/// +/// Initializes union class with tag state of +/// "shared_folder_change_members_policy". +/// +/// Description of the "shared_folder_change_members_policy" tag state: +/// (sharing) Changed who can become member of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderChangeMembersPolicy; + +/// +/// Initializes union class with tag state of "shared_folder_create". +/// +/// Description of the "shared_folder_create" tag state: (sharing) Created +/// shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderCreate; + +/// +/// Initializes union class with tag state of +/// "shared_folder_decline_invitation". +/// +/// Description of the "shared_folder_decline_invitation" tag state: (sharing) +/// Declined team member's invite to shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderDeclineInvitation; + +/// +/// Initializes union class with tag state of "shared_folder_mount". +/// +/// Description of the "shared_folder_mount" tag state: (sharing) Added shared +/// folder to own Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderMount; + +/// +/// Initializes union class with tag state of "shared_folder_nest". +/// +/// Description of the "shared_folder_nest" tag state: (sharing) Changed parent +/// of shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderNest; + +/// +/// Initializes union class with tag state of +/// "shared_folder_transfer_ownership". +/// +/// Description of the "shared_folder_transfer_ownership" tag state: (sharing) +/// Transferred ownership of shared folder to another member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderTransferOwnership; + +/// +/// Initializes union class with tag state of "shared_folder_unmount". +/// +/// Description of the "shared_folder_unmount" tag state: (sharing) Deleted +/// shared folder from Dropbox +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedFolderUnmount; + +/// +/// Initializes union class with tag state of "shared_link_add_expiry". +/// +/// Description of the "shared_link_add_expiry" tag state: (sharing) Added +/// shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkAddExpiry; + +/// +/// Initializes union class with tag state of "shared_link_change_expiry". +/// +/// Description of the "shared_link_change_expiry" tag state: (sharing) Changed +/// shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeExpiry; + +/// +/// Initializes union class with tag state of "shared_link_change_visibility". +/// +/// Description of the "shared_link_change_visibility" tag state: (sharing) +/// Changed visibility of shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkChangeVisibility; + +/// +/// Initializes union class with tag state of "shared_link_copy". +/// +/// Description of the "shared_link_copy" tag state: (sharing) Added file/folder +/// to Dropbox from shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCopy; + +/// +/// Initializes union class with tag state of "shared_link_create". +/// +/// Description of the "shared_link_create" tag state: (sharing) Created shared +/// link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkCreate; + +/// +/// Initializes union class with tag state of "shared_link_disable". +/// +/// Description of the "shared_link_disable" tag state: (sharing) Removed shared +/// link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDisable; + +/// +/// Initializes union class with tag state of "shared_link_download". +/// +/// Description of the "shared_link_download" tag state: (sharing) Downloaded +/// file/folder from shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkDownload; + +/// +/// Initializes union class with tag state of "shared_link_remove_expiry". +/// +/// Description of the "shared_link_remove_expiry" tag state: (sharing) Removed +/// shared link expiration date +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkRemoveExpiry; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_expiration". +/// +/// Description of the "shared_link_settings_add_expiration" tag state: +/// (sharing) Added an expiration date to the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_add_password". +/// +/// Description of the "shared_link_settings_add_password" tag state: (sharing) +/// Added a password to the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAddPassword; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_disabled". +/// +/// Description of the "shared_link_settings_allow_download_disabled" tag state: +/// (sharing) Disabled downloads +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadDisabled; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_allow_download_enabled". +/// +/// Description of the "shared_link_settings_allow_download_enabled" tag state: +/// (sharing) Enabled downloads +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsAllowDownloadEnabled; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_audience". +/// +/// Description of the "shared_link_settings_change_audience" tag state: +/// (sharing) Changed the audience of the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeAudience; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_expiration". +/// +/// Description of the "shared_link_settings_change_expiration" tag state: +/// (sharing) Changed the expiration date of the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangeExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_change_password". +/// +/// Description of the "shared_link_settings_change_password" tag state: +/// (sharing) Changed the password of the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsChangePassword; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_expiration". +/// +/// Description of the "shared_link_settings_remove_expiration" tag state: +/// (sharing) Removed the expiration date from the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemoveExpiration; + +/// +/// Initializes union class with tag state of +/// "shared_link_settings_remove_password". +/// +/// Description of the "shared_link_settings_remove_password" tag state: +/// (sharing) Removed the password from the shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkSettingsRemovePassword; + +/// +/// Initializes union class with tag state of "shared_link_share". +/// +/// Description of the "shared_link_share" tag state: (sharing) Added members as +/// audience of shared link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkShare; + +/// +/// Initializes union class with tag state of "shared_link_view". +/// +/// Description of the "shared_link_view" tag state: (sharing) Opened shared +/// link +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkView; + +/// +/// Initializes union class with tag state of "shared_note_opened". +/// +/// Description of the "shared_note_opened" tag state: (sharing) Opened shared +/// Paper doc (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedNoteOpened; + +/// +/// Initializes union class with tag state of "shmodel_disable_downloads". +/// +/// Description of the "shmodel_disable_downloads" tag state: (sharing) Disabled +/// downloads for link (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelDisableDownloads; + +/// +/// Initializes union class with tag state of "shmodel_enable_downloads". +/// +/// Description of the "shmodel_enable_downloads" tag state: (sharing) Enabled +/// downloads for link (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelEnableDownloads; + +/// +/// Initializes union class with tag state of "shmodel_group_share". +/// +/// Description of the "shmodel_group_share" tag state: (sharing) Shared link +/// with group (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShmodelGroupShare; + +/// +/// Initializes union class with tag state of "showcase_access_granted". +/// +/// Description of the "showcase_access_granted" tag state: (showcase) Granted +/// access to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAccessGranted; + +/// +/// Initializes union class with tag state of "showcase_add_member". +/// +/// Description of the "showcase_add_member" tag state: (showcase) Added member +/// to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseAddMember; + +/// +/// Initializes union class with tag state of "showcase_archived". +/// +/// Description of the "showcase_archived" tag state: (showcase) Archived +/// showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseArchived; + +/// +/// Initializes union class with tag state of "showcase_created". +/// +/// Description of the "showcase_created" tag state: (showcase) Created showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseCreated; + +/// +/// Initializes union class with tag state of "showcase_delete_comment". +/// +/// Description of the "showcase_delete_comment" tag state: (showcase) Deleted +/// showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseDeleteComment; + +/// +/// Initializes union class with tag state of "showcase_edited". +/// +/// Description of the "showcase_edited" tag state: (showcase) Edited showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEdited; + +/// +/// Initializes union class with tag state of "showcase_edit_comment". +/// +/// Description of the "showcase_edit_comment" tag state: (showcase) Edited +/// showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseEditComment; + +/// +/// Initializes union class with tag state of "showcase_file_added". +/// +/// Description of the "showcase_file_added" tag state: (showcase) Added file to +/// showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileAdded; + +/// +/// Initializes union class with tag state of "showcase_file_download". +/// +/// Description of the "showcase_file_download" tag state: (showcase) Downloaded +/// file from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileDownload; + +/// +/// Initializes union class with tag state of "showcase_file_removed". +/// +/// Description of the "showcase_file_removed" tag state: (showcase) Removed +/// file from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileRemoved; + +/// +/// Initializes union class with tag state of "showcase_file_view". +/// +/// Description of the "showcase_file_view" tag state: (showcase) Viewed file in +/// showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseFileView; + +/// +/// Initializes union class with tag state of "showcase_permanently_deleted". +/// +/// Description of the "showcase_permanently_deleted" tag state: (showcase) +/// Permanently deleted showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePermanentlyDeleted; + +/// +/// Initializes union class with tag state of "showcase_post_comment". +/// +/// Description of the "showcase_post_comment" tag state: (showcase) Added +/// showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcasePostComment; + +/// +/// Initializes union class with tag state of "showcase_remove_member". +/// +/// Description of the "showcase_remove_member" tag state: (showcase) Removed +/// member from showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRemoveMember; + +/// +/// Initializes union class with tag state of "showcase_renamed". +/// +/// Description of the "showcase_renamed" tag state: (showcase) Renamed showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRenamed; + +/// +/// Initializes union class with tag state of "showcase_request_access". +/// +/// Description of the "showcase_request_access" tag state: (showcase) Requested +/// access to showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRequestAccess; + +/// +/// Initializes union class with tag state of "showcase_resolve_comment". +/// +/// Description of the "showcase_resolve_comment" tag state: (showcase) Resolved +/// showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseResolveComment; + +/// +/// Initializes union class with tag state of "showcase_restored". +/// +/// Description of the "showcase_restored" tag state: (showcase) Unarchived +/// showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseRestored; + +/// +/// Initializes union class with tag state of "showcase_trashed". +/// +/// Description of the "showcase_trashed" tag state: (showcase) Deleted showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashed; + +/// +/// Initializes union class with tag state of "showcase_trashed_deprecated". +/// +/// Description of the "showcase_trashed_deprecated" tag state: (showcase) +/// Deleted showcase (old version) (deprecated, replaced by 'Deleted showcase') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseTrashedDeprecated; + +/// +/// Initializes union class with tag state of "showcase_unresolve_comment". +/// +/// Description of the "showcase_unresolve_comment" tag state: (showcase) +/// Unresolved showcase comment +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUnresolveComment; + +/// +/// Initializes union class with tag state of "showcase_untrashed". +/// +/// Description of the "showcase_untrashed" tag state: (showcase) Restored +/// showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashed; + +/// +/// Initializes union class with tag state of "showcase_untrashed_deprecated". +/// +/// Description of the "showcase_untrashed_deprecated" tag state: (showcase) +/// Restored showcase (old version) (deprecated, replaced by 'Restored +/// showcase') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseUntrashedDeprecated; + +/// +/// Initializes union class with tag state of "showcase_view". +/// +/// Description of the "showcase_view" tag state: (showcase) Viewed showcase +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseView; + +/// +/// Initializes union class with tag state of "sso_add_cert". +/// +/// Description of the "sso_add_cert" tag state: (sso) Added X.509 certificate +/// for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddCert; + +/// +/// Initializes union class with tag state of "sso_add_login_url". +/// +/// Description of the "sso_add_login_url" tag state: (sso) Added sign-in URL +/// for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLoginUrl; + +/// +/// Initializes union class with tag state of "sso_add_logout_url". +/// +/// Description of the "sso_add_logout_url" tag state: (sso) Added sign-out URL +/// for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoAddLogoutUrl; + +/// +/// Initializes union class with tag state of "sso_change_cert". +/// +/// Description of the "sso_change_cert" tag state: (sso) Changed X.509 +/// certificate for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeCert; + +/// +/// Initializes union class with tag state of "sso_change_login_url". +/// +/// Description of the "sso_change_login_url" tag state: (sso) Changed sign-in +/// URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLoginUrl; + +/// +/// Initializes union class with tag state of "sso_change_logout_url". +/// +/// Description of the "sso_change_logout_url" tag state: (sso) Changed sign-out +/// URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeLogoutUrl; + +/// +/// Initializes union class with tag state of "sso_change_saml_identity_mode". +/// +/// Description of the "sso_change_saml_identity_mode" tag state: (sso) Changed +/// SAML identity mode for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangeSamlIdentityMode; + +/// +/// Initializes union class with tag state of "sso_remove_cert". +/// +/// Description of the "sso_remove_cert" tag state: (sso) Removed X.509 +/// certificate for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveCert; + +/// +/// Initializes union class with tag state of "sso_remove_login_url". +/// +/// Description of the "sso_remove_login_url" tag state: (sso) Removed sign-in +/// URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLoginUrl; + +/// +/// Initializes union class with tag state of "sso_remove_logout_url". +/// +/// Description of the "sso_remove_logout_url" tag state: (sso) Removed sign-out +/// URL for SSO +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoRemoveLogoutUrl; + +/// +/// Initializes union class with tag state of "team_folder_change_status". +/// +/// Description of the "team_folder_change_status" tag state: (team_folders) +/// Changed archival status of team folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderChangeStatus; + +/// +/// Initializes union class with tag state of "team_folder_create". +/// +/// Description of the "team_folder_create" tag state: (team_folders) Created +/// team folder in active status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderCreate; + +/// +/// Initializes union class with tag state of "team_folder_downgrade". +/// +/// Description of the "team_folder_downgrade" tag state: (team_folders) +/// Downgraded team folder to regular shared folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderDowngrade; + +/// +/// Initializes union class with tag state of "team_folder_permanently_delete". +/// +/// Description of the "team_folder_permanently_delete" tag state: +/// (team_folders) Permanently deleted archived team folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderPermanentlyDelete; + +/// +/// Initializes union class with tag state of "team_folder_rename". +/// +/// Description of the "team_folder_rename" tag state: (team_folders) Renamed +/// active/archived team folder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamFolderRename; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_settings_changed". +/// +/// Description of the "team_selective_sync_settings_changed" tag state: +/// (team_folders) Changed sync default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncSettingsChanged; + +/// +/// Initializes union class with tag state of "account_capture_change_policy". +/// +/// Description of the "account_capture_change_policy" tag state: +/// (team_policies) Changed account capture setting on team domain +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccountCaptureChangePolicy; + +/// +/// Initializes union class with tag state of "admin_email_reminders_changed". +/// +/// Description of the "admin_email_reminders_changed" tag state: +/// (team_policies) Changed admin reminder settings for requests to join the +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminEmailRemindersChanged; + +/// +/// Initializes union class with tag state of "allow_download_disabled". +/// +/// Description of the "allow_download_disabled" tag state: (team_policies) +/// Disabled downloads (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadDisabled; + +/// +/// Initializes union class with tag state of "allow_download_enabled". +/// +/// Description of the "allow_download_enabled" tag state: (team_policies) +/// Enabled downloads (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllowDownloadEnabled; + +/// +/// Initializes union class with tag state of "app_permissions_changed". +/// +/// Description of the "app_permissions_changed" tag state: (team_policies) +/// Changed app permissions +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppPermissionsChanged; + +/// +/// Initializes union class with tag state of "camera_uploads_policy_changed". +/// +/// Description of the "camera_uploads_policy_changed" tag state: +/// (team_policies) Changed camera uploads setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCameraUploadsPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "capture_transcript_policy_changed". +/// +/// Description of the "capture_transcript_policy_changed" tag state: +/// (team_policies) Changed Capture transcription policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCaptureTranscriptPolicyChanged; + +/// +/// Initializes union class with tag state of "classification_change_policy". +/// +/// Description of the "classification_change_policy" tag state: (team_policies) +/// Changed classification policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithClassificationChangePolicy; + +/// +/// Initializes union class with tag state of "computer_backup_policy_changed". +/// +/// Description of the "computer_backup_policy_changed" tag state: +/// (team_policies) Changed computer backup policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithComputerBackupPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "content_administration_policy_changed". +/// +/// Description of the "content_administration_policy_changed" tag state: +/// (team_policies) Changed content management setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithContentAdministrationPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_change_policy". +/// +/// Description of the "data_placement_restriction_change_policy" tag state: +/// (team_policies) Set restrictions on data center locations where team data +/// resides +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionChangePolicy; + +/// +/// Initializes union class with tag state of +/// "data_placement_restriction_satisfy_policy". +/// +/// Description of the "data_placement_restriction_satisfy_policy" tag state: +/// (team_policies) Completed restrictions on data center locations where team +/// data resides +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataPlacementRestrictionSatisfyPolicy; + +/// +/// Initializes union class with tag state of "device_approvals_add_exception". +/// +/// Description of the "device_approvals_add_exception" tag state: +/// (team_policies) Added members to device approvals exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsAddException; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_desktop_policy". +/// +/// Description of the "device_approvals_change_desktop_policy" tag state: +/// (team_policies) Set/removed limit on number of computers member can link to +/// team Dropbox account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeDesktopPolicy; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_mobile_policy". +/// +/// Description of the "device_approvals_change_mobile_policy" tag state: +/// (team_policies) Set/removed limit on number of mobile devices member can +/// link to team Dropbox account +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeMobilePolicy; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_overage_action". +/// +/// Description of the "device_approvals_change_overage_action" tag state: +/// (team_policies) Changed device approvals setting when member is over limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeOverageAction; + +/// +/// Initializes union class with tag state of +/// "device_approvals_change_unlink_action". +/// +/// Description of the "device_approvals_change_unlink_action" tag state: +/// (team_policies) Changed device approvals setting when member unlinks +/// approved device +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsChangeUnlinkAction; + +/// +/// Initializes union class with tag state of +/// "device_approvals_remove_exception". +/// +/// Description of the "device_approvals_remove_exception" tag state: +/// (team_policies) Removed members from device approvals exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceApprovalsRemoveException; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_add_members". +/// +/// Description of the "directory_restrictions_add_members" tag state: +/// (team_policies) Added members to directory restrictions list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsAddMembers; + +/// +/// Initializes union class with tag state of +/// "directory_restrictions_remove_members". +/// +/// Description of the "directory_restrictions_remove_members" tag state: +/// (team_policies) Removed members from directory restrictions list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDirectoryRestrictionsRemoveMembers; + +/// +/// Initializes union class with tag state of +/// "dropbox_passwords_policy_changed". +/// +/// Description of the "dropbox_passwords_policy_changed" tag state: +/// (team_policies) Changed Dropbox Passwords policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDropboxPasswordsPolicyChanged; + +/// +/// Initializes union class with tag state of "email_ingest_policy_changed". +/// +/// Description of the "email_ingest_policy_changed" tag state: (team_policies) +/// Changed email to Dropbox policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmailIngestPolicyChanged; + +/// +/// Initializes union class with tag state of "emm_add_exception". +/// +/// Description of the "emm_add_exception" tag state: (team_policies) Added +/// members to EMM exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmAddException; + +/// +/// Initializes union class with tag state of "emm_change_policy". +/// +/// Description of the "emm_change_policy" tag state: (team_policies) +/// Enabled/disabled enterprise mobility management for members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmChangePolicy; + +/// +/// Initializes union class with tag state of "emm_remove_exception". +/// +/// Description of the "emm_remove_exception" tag state: (team_policies) Removed +/// members from EMM exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmmRemoveException; + +/// +/// Initializes union class with tag state of +/// "extended_version_history_change_policy". +/// +/// Description of the "extended_version_history_change_policy" tag state: +/// (team_policies) Accepted/opted out of extended version history +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExtendedVersionHistoryChangePolicy; + +/// +/// Initializes union class with tag state of +/// "external_drive_backup_policy_changed". +/// +/// Description of the "external_drive_backup_policy_changed" tag state: +/// (team_policies) Changed external drive backup policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExternalDriveBackupPolicyChanged; + +/// +/// Initializes union class with tag state of "file_comments_change_policy". +/// +/// Description of the "file_comments_change_policy" tag state: (team_policies) +/// Enabled/disabled commenting on team files +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileCommentsChangePolicy; + +/// +/// Initializes union class with tag state of "file_locking_policy_changed". +/// +/// Description of the "file_locking_policy_changed" tag state: (team_policies) +/// Changed file locking policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLockingPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "file_provider_migration_policy_changed". +/// +/// Description of the "file_provider_migration_policy_changed" tag state: +/// (team_policies) Changed File Provider Migration policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileProviderMigrationPolicyChanged; + +/// +/// Initializes union class with tag state of "file_requests_change_policy". +/// +/// Description of the "file_requests_change_policy" tag state: (team_policies) +/// Enabled/disabled file requests +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsChangePolicy; + +/// +/// Initializes union class with tag state of "file_requests_emails_enabled". +/// +/// Description of the "file_requests_emails_enabled" tag state: (team_policies) +/// Enabled file request emails for everyone (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsEnabled; + +/// +/// Initializes union class with tag state of +/// "file_requests_emails_restricted_to_team_only". +/// +/// Description of the "file_requests_emails_restricted_to_team_only" tag state: +/// (team_policies) Enabled file request emails for team (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileRequestsEmailsRestrictedToTeamOnly; + +/// +/// Initializes union class with tag state of "file_transfers_policy_changed". +/// +/// Description of the "file_transfers_policy_changed" tag state: +/// (team_policies) Changed file transfers policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransfersPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "folder_link_restriction_policy_changed". +/// +/// Description of the "folder_link_restriction_policy_changed" tag state: +/// (team_policies) Changed folder link restrictions policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderLinkRestrictionPolicyChanged; + +/// +/// Initializes union class with tag state of "google_sso_change_policy". +/// +/// Description of the "google_sso_change_policy" tag state: (team_policies) +/// Enabled/disabled Google single sign-on for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGoogleSsoChangePolicy; + +/// +/// Initializes union class with tag state of +/// "group_user_management_change_policy". +/// +/// Description of the "group_user_management_change_policy" tag state: +/// (team_policies) Changed who can create groups +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGroupUserManagementChangePolicy; + +/// +/// Initializes union class with tag state of "integration_policy_changed". +/// +/// Description of the "integration_policy_changed" tag state: (team_policies) +/// Changed integration policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "invite_acceptance_email_policy_changed". +/// +/// Description of the "invite_acceptance_email_policy_changed" tag state: +/// (team_policies) Changed invite accept email policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteAcceptanceEmailPolicyChanged; + +/// +/// Initializes union class with tag state of "member_requests_change_policy". +/// +/// Description of the "member_requests_change_policy" tag state: +/// (team_policies) Changed whether users can find team when not invited +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberRequestsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "member_send_invite_policy_changed". +/// +/// Description of the "member_send_invite_policy_changed" tag state: +/// (team_policies) Changed member send invite policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSendInvitePolicyChanged; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_add_exception". +/// +/// Description of the "member_space_limits_add_exception" tag state: +/// (team_policies) Added members to member space limit exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsAddException; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_caps_type_policy". +/// +/// Description of the "member_space_limits_change_caps_type_policy" tag state: +/// (team_policies) Changed member space limit type for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangeCapsTypePolicy; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_change_policy". +/// +/// Description of the "member_space_limits_change_policy" tag state: +/// (team_policies) Changed team default member space limit +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "member_space_limits_remove_exception". +/// +/// Description of the "member_space_limits_remove_exception" tag state: +/// (team_policies) Removed members from member space limit exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSpaceLimitsRemoveException; + +/// +/// Initializes union class with tag state of +/// "member_suggestions_change_policy". +/// +/// Description of the "member_suggestions_change_policy" tag state: +/// (team_policies) Enabled/disabled option for team members to suggest people +/// to add to team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberSuggestionsChangePolicy; + +/// +/// Initializes union class with tag state of +/// "microsoft_office_addin_change_policy". +/// +/// Description of the "microsoft_office_addin_change_policy" tag state: +/// (team_policies) Enabled/disabled Microsoft Office add-in +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMicrosoftOfficeAddinChangePolicy; + +/// +/// Initializes union class with tag state of "network_control_change_policy". +/// +/// Description of the "network_control_change_policy" tag state: +/// (team_policies) Enabled/disabled network control +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNetworkControlChangePolicy; + +/// +/// Initializes union class with tag state of "paper_change_deployment_policy". +/// +/// Description of the "paper_change_deployment_policy" tag state: +/// (team_policies) Changed whether Dropbox Paper, when enabled, is deployed to +/// all members or to specific members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeDeploymentPolicy; + +/// +/// Initializes union class with tag state of "paper_change_member_link_policy". +/// +/// Description of the "paper_change_member_link_policy" tag state: +/// (team_policies) Changed whether non-members can view Paper docs with link +/// (deprecated, no longer logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberLinkPolicy; + +/// +/// Initializes union class with tag state of "paper_change_member_policy". +/// +/// Description of the "paper_change_member_policy" tag state: (team_policies) +/// Changed whether members can share Paper docs outside team, and if docs are +/// accessible only by team members or anyone by default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangeMemberPolicy; + +/// +/// Initializes union class with tag state of "paper_change_policy". +/// +/// Description of the "paper_change_policy" tag state: (team_policies) +/// Enabled/disabled Dropbox Paper for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperChangePolicy; + +/// +/// Initializes union class with tag state of +/// "paper_default_folder_policy_changed". +/// +/// Description of the "paper_default_folder_policy_changed" tag state: +/// (team_policies) Changed Paper Default Folder Policy setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDefaultFolderPolicyChanged; + +/// +/// Initializes union class with tag state of "paper_desktop_policy_changed". +/// +/// Description of the "paper_desktop_policy_changed" tag state: (team_policies) +/// Enabled/disabled Paper Desktop for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperDesktopPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_addition". +/// +/// Description of the "paper_enabled_users_group_addition" tag state: +/// (team_policies) Added users to Paper-enabled users list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupAddition; + +/// +/// Initializes union class with tag state of +/// "paper_enabled_users_group_removal". +/// +/// Description of the "paper_enabled_users_group_removal" tag state: +/// (team_policies) Removed users from Paper-enabled users list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperEnabledUsersGroupRemoval; + +/// +/// Initializes union class with tag state of +/// "password_strength_requirements_change_policy". +/// +/// Description of the "password_strength_requirements_change_policy" tag state: +/// (team_policies) Changed team password strength requirements +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPasswordStrengthRequirementsChangePolicy; + +/// +/// Initializes union class with tag state of "permanent_delete_change_policy". +/// +/// Description of the "permanent_delete_change_policy" tag state: +/// (team_policies) Enabled/disabled ability of team members to permanently +/// delete content +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPermanentDeleteChangePolicy; + +/// +/// Initializes union class with tag state of "reseller_support_change_policy". +/// +/// Description of the "reseller_support_change_policy" tag state: +/// (team_policies) Enabled/disabled reseller support +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerSupportChangePolicy; + +/// +/// Initializes union class with tag state of "rewind_policy_changed". +/// +/// Description of the "rewind_policy_changed" tag state: (team_policies) +/// Changed Rewind policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "send_for_signature_policy_changed". +/// +/// Description of the "send_for_signature_policy_changed" tag state: +/// (team_policies) Changed send for signature policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSendForSignaturePolicyChanged; + +/// +/// Initializes union class with tag state of +/// "sharing_change_folder_join_policy". +/// +/// Description of the "sharing_change_folder_join_policy" tag state: +/// (team_policies) Changed whether team members can join shared folders owned +/// outside team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeFolderJoinPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_allow_change_expiration_policy". +/// +/// Description of the "sharing_change_link_allow_change_expiration_policy" tag +/// state: (team_policies) Changed the allow remove or change expiration policy +/// for the links shared outside of the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkAllowChangeExpirationPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_default_expiration_policy". +/// +/// Description of the "sharing_change_link_default_expiration_policy" tag +/// state: (team_policies) Changed the default expiration for the links shared +/// outside of the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkDefaultExpirationPolicy; + +/// +/// Initializes union class with tag state of +/// "sharing_change_link_enforce_password_policy". +/// +/// Description of the "sharing_change_link_enforce_password_policy" tag state: +/// (team_policies) Changed the password requirement for the links shared +/// outside of the team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkEnforcePasswordPolicy; + +/// +/// Initializes union class with tag state of "sharing_change_link_policy". +/// +/// Description of the "sharing_change_link_policy" tag state: (team_policies) +/// Changed whether members can share links outside team, and if links are +/// accessible only by team members or anyone by default +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeLinkPolicy; + +/// +/// Initializes union class with tag state of "sharing_change_member_policy". +/// +/// Description of the "sharing_change_member_policy" tag state: (team_policies) +/// Changed whether members can share files/folders outside team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharingChangeMemberPolicy; + +/// +/// Initializes union class with tag state of "showcase_change_download_policy". +/// +/// Description of the "showcase_change_download_policy" tag state: +/// (team_policies) Enabled/disabled downloading files from Dropbox Showcase for +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeDownloadPolicy; + +/// +/// Initializes union class with tag state of "showcase_change_enabled_policy". +/// +/// Description of the "showcase_change_enabled_policy" tag state: +/// (team_policies) Enabled/disabled Dropbox Showcase for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeEnabledPolicy; + +/// +/// Initializes union class with tag state of +/// "showcase_change_external_sharing_policy". +/// +/// Description of the "showcase_change_external_sharing_policy" tag state: +/// (team_policies) Enabled/disabled sharing Dropbox Showcase externally for +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseChangeExternalSharingPolicy; + +/// +/// Initializes union class with tag state of +/// "smarter_smart_sync_policy_changed". +/// +/// Description of the "smarter_smart_sync_policy_changed" tag state: +/// (team_policies) Changed automatic Smart Sync setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmarterSmartSyncPolicyChanged; + +/// +/// Initializes union class with tag state of "smart_sync_change_policy". +/// +/// Description of the "smart_sync_change_policy" tag state: (team_policies) +/// Changed default Smart Sync setting for team members +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncChangePolicy; + +/// +/// Initializes union class with tag state of "smart_sync_not_opt_out". +/// +/// Description of the "smart_sync_not_opt_out" tag state: (team_policies) Opted +/// team into Smart Sync +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncNotOptOut; + +/// +/// Initializes union class with tag state of "smart_sync_opt_out". +/// +/// Description of the "smart_sync_opt_out" tag state: (team_policies) Opted +/// team out of Smart Sync +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSmartSyncOptOut; + +/// +/// Initializes union class with tag state of "sso_change_policy". +/// +/// Description of the "sso_change_policy" tag state: (team_policies) Changed +/// single sign-on setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSsoChangePolicy; + +/// +/// Initializes union class with tag state of "team_branding_policy_changed". +/// +/// Description of the "team_branding_policy_changed" tag state: (team_policies) +/// Changed team branding policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamBrandingPolicyChanged; + +/// +/// Initializes union class with tag state of "team_extensions_policy_changed". +/// +/// Description of the "team_extensions_policy_changed" tag state: +/// (team_policies) Changed App Integrations setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamExtensionsPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "team_selective_sync_policy_changed". +/// +/// Description of the "team_selective_sync_policy_changed" tag state: +/// (team_policies) Enabled/disabled Team Selective Sync for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSelectiveSyncPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "team_sharing_whitelist_subjects_changed". +/// +/// Description of the "team_sharing_whitelist_subjects_changed" tag state: +/// (team_policies) Edited the approved list for sharing externally +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamSharingWhitelistSubjectsChanged; + +/// +/// Initializes union class with tag state of "tfa_add_exception". +/// +/// Description of the "tfa_add_exception" tag state: (team_policies) Added +/// members to two factor authentication exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaAddException; + +/// +/// Initializes union class with tag state of "tfa_change_policy". +/// +/// Description of the "tfa_change_policy" tag state: (team_policies) Changed +/// two-step verification setting for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaChangePolicy; + +/// +/// Initializes union class with tag state of "tfa_remove_exception". +/// +/// Description of the "tfa_remove_exception" tag state: (team_policies) Removed +/// members from two factor authentication exception list +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveException; + +/// +/// Initializes union class with tag state of "two_account_change_policy". +/// +/// Description of the "two_account_change_policy" tag state: (team_policies) +/// Enabled/disabled option for members to link personal Dropbox account and +/// team account to same computer +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTwoAccountChangePolicy; + +/// +/// Initializes union class with tag state of "viewer_info_policy_changed". +/// +/// Description of the "viewer_info_policy_changed" tag state: (team_policies) +/// Changed team policy for viewer info +/// +/// @return An initialized instance. +/// +- (instancetype)initWithViewerInfoPolicyChanged; + +/// +/// Initializes union class with tag state of "watermarking_policy_changed". +/// +/// Description of the "watermarking_policy_changed" tag state: (team_policies) +/// Changed watermarking policy for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWatermarkingPolicyChanged; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_active_session_limit". +/// +/// Description of the "web_sessions_change_active_session_limit" tag state: +/// (team_policies) Changed limit on active sessions per member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeActiveSessionLimit; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_fixed_length_policy". +/// +/// Description of the "web_sessions_change_fixed_length_policy" tag state: +/// (team_policies) Changed how long members can stay signed in to Dropbox.com +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeFixedLengthPolicy; + +/// +/// Initializes union class with tag state of +/// "web_sessions_change_idle_length_policy". +/// +/// Description of the "web_sessions_change_idle_length_policy" tag state: +/// (team_policies) Changed how long team members can be idle while signed in to +/// Dropbox.com +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSessionsChangeIdleLengthPolicy; + +/// +/// Initializes union class with tag state of +/// "data_residency_migration_request_successful". +/// +/// Description of the "data_residency_migration_request_successful" tag state: +/// (team_profile) Requested data residency migration for team data +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataResidencyMigrationRequestSuccessful; + +/// +/// Initializes union class with tag state of +/// "data_residency_migration_request_unsuccessful". +/// +/// Description of the "data_residency_migration_request_unsuccessful" tag +/// state: (team_profile) Request for data residency migration for team data has +/// failed +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDataResidencyMigrationRequestUnsuccessful; + +/// +/// Initializes union class with tag state of "team_merge_from". +/// +/// Description of the "team_merge_from" tag state: (team_profile) Merged +/// another team into this team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeFrom; + +/// +/// Initializes union class with tag state of "team_merge_to". +/// +/// Description of the "team_merge_to" tag state: (team_profile) Merged this +/// team into another team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeTo; + +/// +/// Initializes union class with tag state of "team_profile_add_background". +/// +/// Description of the "team_profile_add_background" tag state: (team_profile) +/// Added team background to display on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileAddBackground; + +/// +/// Initializes union class with tag state of "team_profile_add_logo". +/// +/// Description of the "team_profile_add_logo" tag state: (team_profile) Added +/// team logo to display on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileAddLogo; + +/// +/// Initializes union class with tag state of "team_profile_change_background". +/// +/// Description of the "team_profile_change_background" tag state: +/// (team_profile) Changed team background displayed on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileChangeBackground; + +/// +/// Initializes union class with tag state of +/// "team_profile_change_default_language". +/// +/// Description of the "team_profile_change_default_language" tag state: +/// (team_profile) Changed default language for team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileChangeDefaultLanguage; + +/// +/// Initializes union class with tag state of "team_profile_change_logo". +/// +/// Description of the "team_profile_change_logo" tag state: (team_profile) +/// Changed team logo displayed on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileChangeLogo; + +/// +/// Initializes union class with tag state of "team_profile_change_name". +/// +/// Description of the "team_profile_change_name" tag state: (team_profile) +/// Changed team name +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileChangeName; + +/// +/// Initializes union class with tag state of "team_profile_remove_background". +/// +/// Description of the "team_profile_remove_background" tag state: +/// (team_profile) Removed team background displayed on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileRemoveBackground; + +/// +/// Initializes union class with tag state of "team_profile_remove_logo". +/// +/// Description of the "team_profile_remove_logo" tag state: (team_profile) +/// Removed team logo displayed on shared link headers +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamProfileRemoveLogo; + +/// +/// Initializes union class with tag state of "tfa_add_backup_phone". +/// +/// Description of the "tfa_add_backup_phone" tag state: (tfa) Added backup +/// phone for two-step verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaAddBackupPhone; + +/// +/// Initializes union class with tag state of "tfa_add_security_key". +/// +/// Description of the "tfa_add_security_key" tag state: (tfa) Added security +/// key for two-step verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaAddSecurityKey; + +/// +/// Initializes union class with tag state of "tfa_change_backup_phone". +/// +/// Description of the "tfa_change_backup_phone" tag state: (tfa) Changed backup +/// phone for two-step verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaChangeBackupPhone; + +/// +/// Initializes union class with tag state of "tfa_change_status". +/// +/// Description of the "tfa_change_status" tag state: (tfa) +/// Enabled/disabled/changed two-step verification setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaChangeStatus; + +/// +/// Initializes union class with tag state of "tfa_remove_backup_phone". +/// +/// Description of the "tfa_remove_backup_phone" tag state: (tfa) Removed backup +/// phone for two-step verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveBackupPhone; + +/// +/// Initializes union class with tag state of "tfa_remove_security_key". +/// +/// Description of the "tfa_remove_security_key" tag state: (tfa) Removed +/// security key for two-step verification +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaRemoveSecurityKey; + +/// +/// Initializes union class with tag state of "tfa_reset". +/// +/// Description of the "tfa_reset" tag state: (tfa) Reset two-step verification +/// for team member +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTfaReset; + +/// +/// Initializes union class with tag state of "changed_enterprise_admin_role". +/// +/// Description of the "changed_enterprise_admin_role" tag state: +/// (trusted_teams) Changed enterprise admin role +/// +/// @return An initialized instance. +/// +- (instancetype)initWithChangedEnterpriseAdminRole; + +/// +/// Initializes union class with tag state of +/// "changed_enterprise_connected_team_status". +/// +/// Description of the "changed_enterprise_connected_team_status" tag state: +/// (trusted_teams) Changed enterprise-connected team status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithChangedEnterpriseConnectedTeamStatus; + +/// +/// Initializes union class with tag state of "ended_enterprise_admin_session". +/// +/// Description of the "ended_enterprise_admin_session" tag state: +/// (trusted_teams) Ended enterprise admin session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEndedEnterpriseAdminSession; + +/// +/// Initializes union class with tag state of +/// "ended_enterprise_admin_session_deprecated". +/// +/// Description of the "ended_enterprise_admin_session_deprecated" tag state: +/// (trusted_teams) Ended enterprise admin session (deprecated, replaced by +/// 'Ended enterprise admin session') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEndedEnterpriseAdminSessionDeprecated; + +/// +/// Initializes union class with tag state of "enterprise_settings_locking". +/// +/// Description of the "enterprise_settings_locking" tag state: (trusted_teams) +/// Changed who can update a setting +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnterpriseSettingsLocking; + +/// +/// Initializes union class with tag state of "guest_admin_change_status". +/// +/// Description of the "guest_admin_change_status" tag state: (trusted_teams) +/// Changed guest team admin status +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuestAdminChangeStatus; + +/// +/// Initializes union class with tag state of +/// "started_enterprise_admin_session". +/// +/// Description of the "started_enterprise_admin_session" tag state: +/// (trusted_teams) Started enterprise admin session +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartedEnterpriseAdminSession; + +/// +/// Initializes union class with tag state of "team_merge_request_accepted". +/// +/// Description of the "team_merge_request_accepted" tag state: (trusted_teams) +/// Accepted a team merge request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestAccepted; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_primary_team". +/// +/// Description of the "team_merge_request_accepted_shown_to_primary_team" tag +/// state: (trusted_teams) Accepted a team merge request (deprecated, replaced +/// by 'Accepted a team merge request') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestAcceptedShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_accepted_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_accepted_shown_to_secondary_team" tag +/// state: (trusted_teams) Accepted a team merge request (deprecated, replaced +/// by 'Accepted a team merge request') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestAcceptedShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_auto_canceled". +/// +/// Description of the "team_merge_request_auto_canceled" tag state: +/// (trusted_teams) Automatically canceled team merge request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestAutoCanceled; + +/// +/// Initializes union class with tag state of "team_merge_request_canceled". +/// +/// Description of the "team_merge_request_canceled" tag state: (trusted_teams) +/// Canceled a team merge request +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestCanceled; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_primary_team". +/// +/// Description of the "team_merge_request_canceled_shown_to_primary_team" tag +/// state: (trusted_teams) Canceled a team merge request (deprecated, replaced +/// by 'Canceled a team merge request') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestCanceledShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_canceled_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_canceled_shown_to_secondary_team" tag +/// state: (trusted_teams) Canceled a team merge request (deprecated, replaced +/// by 'Canceled a team merge request') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestCanceledShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "team_merge_request_expired". +/// +/// Description of the "team_merge_request_expired" tag state: (trusted_teams) +/// Team merge request expired +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestExpired; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_expired_shown_to_primary_team". +/// +/// Description of the "team_merge_request_expired_shown_to_primary_team" tag +/// state: (trusted_teams) Team merge request expired (deprecated, replaced by +/// 'Team merge request expired') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestExpiredShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_expired_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_expired_shown_to_secondary_team" tag +/// state: (trusted_teams) Team merge request expired (deprecated, replaced by +/// 'Team merge request expired') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestExpiredShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_rejected_shown_to_primary_team". +/// +/// Description of the "team_merge_request_rejected_shown_to_primary_team" tag +/// state: (trusted_teams) Rejected a team merge request (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestRejectedShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_rejected_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_rejected_shown_to_secondary_team" tag +/// state: (trusted_teams) Rejected a team merge request (deprecated, no longer +/// logged) +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestRejectedShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "team_merge_request_reminder". +/// +/// Description of the "team_merge_request_reminder" tag state: (trusted_teams) +/// Sent a team merge request reminder +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminder; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_reminder_shown_to_primary_team". +/// +/// Description of the "team_merge_request_reminder_shown_to_primary_team" tag +/// state: (trusted_teams) Sent a team merge request reminder (deprecated, +/// replaced by 'Sent a team merge request reminder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminderShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_reminder_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_reminder_shown_to_secondary_team" tag +/// state: (trusted_teams) Sent a team merge request reminder (deprecated, +/// replaced by 'Sent a team merge request reminder') +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestReminderShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "team_merge_request_revoked". +/// +/// Description of the "team_merge_request_revoked" tag state: (trusted_teams) +/// Canceled the team merge +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestRevoked; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_sent_shown_to_primary_team". +/// +/// Description of the "team_merge_request_sent_shown_to_primary_team" tag +/// state: (trusted_teams) Requested to merge their Dropbox team into yours +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestSentShownToPrimaryTeam; + +/// +/// Initializes union class with tag state of +/// "team_merge_request_sent_shown_to_secondary_team". +/// +/// Description of the "team_merge_request_sent_shown_to_secondary_team" tag +/// state: (trusted_teams) Requested to merge your team into another Dropbox +/// team +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamMergeRequestSentShownToSecondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_alert_state_changed". +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_alert_state_changed". +/// +- (BOOL)isAdminAlertingAlertStateChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_changed_alert_config". +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_changed_alert_config". +/// +- (BOOL)isAdminAlertingChangedAlertConfig; + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_alerting_triggered_alert". +/// +/// @return Whether the union's current tag state has value +/// "admin_alerting_triggered_alert". +/// +- (BOOL)isAdminAlertingTriggeredAlert; + +/// +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_completed". +/// +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_completed". +/// +- (BOOL)isRansomwareRestoreProcessCompleted; + +/// +/// Retrieves whether the union's current tag state has value +/// "ransomware_restore_process_started". +/// +/// @return Whether the union's current tag state has value +/// "ransomware_restore_process_started". +/// +- (BOOL)isRansomwareRestoreProcessStarted; + +/// +/// Retrieves whether the union's current tag state has value +/// "app_blocked_by_permissions". +/// +/// @return Whether the union's current tag state has value +/// "app_blocked_by_permissions". +/// +- (BOOL)isAppBlockedByPermissions; + +/// +/// Retrieves whether the union's current tag state has value "app_link_team". +/// +/// @return Whether the union's current tag state has value "app_link_team". +/// +- (BOOL)isAppLinkTeam; + +/// +/// Retrieves whether the union's current tag state has value "app_link_user". +/// +/// @return Whether the union's current tag state has value "app_link_user". +/// +- (BOOL)isAppLinkUser; + +/// +/// Retrieves whether the union's current tag state has value "app_unlink_team". +/// +/// @return Whether the union's current tag state has value "app_unlink_team". +/// +- (BOOL)isAppUnlinkTeam; + +/// +/// Retrieves whether the union's current tag state has value "app_unlink_user". +/// +/// @return Whether the union's current tag state has value "app_unlink_user". +/// +- (BOOL)isAppUnlinkUser; + +/// +/// Retrieves whether the union's current tag state has value +/// "integration_connected". +/// +/// @return Whether the union's current tag state has value +/// "integration_connected". +/// +- (BOOL)isIntegrationConnected; + +/// +/// Retrieves whether the union's current tag state has value +/// "integration_disconnected". +/// +/// @return Whether the union's current tag state has value +/// "integration_disconnected". +/// +- (BOOL)isIntegrationDisconnected; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_add_comment". +/// +/// @return Whether the union's current tag state has value "file_add_comment". +/// +- (BOOL)isFileAddComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_change_comment_subscription". +/// +/// @return Whether the union's current tag state has value +/// "file_change_comment_subscription". +/// +- (BOOL)isFileChangeCommentSubscription; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_delete_comment". +/// +/// @return Whether the union's current tag state has value +/// "file_delete_comment". +/// +- (BOOL)isFileDeleteComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_edit_comment". +/// +/// @return Whether the union's current tag state has value "file_edit_comment". +/// +- (BOOL)isFileEditComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_like_comment". +/// +/// @return Whether the union's current tag state has value "file_like_comment". +/// +- (BOOL)isFileLikeComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_resolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "file_resolve_comment". +/// +- (BOOL)isFileResolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_unlike_comment". +/// +/// @return Whether the union's current tag state has value +/// "file_unlike_comment". +/// +- (BOOL)isFileUnlikeComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_unresolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "file_unresolve_comment". +/// +- (BOOL)isFileUnresolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folders". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folders". +/// +- (BOOL)isGovernancePolicyAddFolders; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_add_folder_failed". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_add_folder_failed". +/// +- (BOOL)isGovernancePolicyAddFolderFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_content_disposed". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_content_disposed". +/// +- (BOOL)isGovernancePolicyContentDisposed; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_create". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_create". +/// +- (BOOL)isGovernancePolicyCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_delete". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_delete". +/// +- (BOOL)isGovernancePolicyDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_details". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_details". +/// +- (BOOL)isGovernancePolicyEditDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_edit_duration". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_edit_duration". +/// +- (BOOL)isGovernancePolicyEditDuration; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_created". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_export_created". +/// +- (BOOL)isGovernancePolicyExportCreated; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_export_removed". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_export_removed". +/// +- (BOOL)isGovernancePolicyExportRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_remove_folders". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_remove_folders". +/// +- (BOOL)isGovernancePolicyRemoveFolders; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_report_created". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_report_created". +/// +- (BOOL)isGovernancePolicyReportCreated; + +/// +/// Retrieves whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded". +/// +/// @return Whether the union's current tag state has value +/// "governance_policy_zip_part_downloaded". +/// +- (BOOL)isGovernancePolicyZipPartDownloaded; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_activate_a_hold". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_activate_a_hold". +/// +- (BOOL)isLegalHoldsActivateAHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_add_members". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_add_members". +/// +- (BOOL)isLegalHoldsAddMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_details". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_details". +/// +- (BOOL)isLegalHoldsChangeHoldDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_change_hold_name". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_change_hold_name". +/// +- (BOOL)isLegalHoldsChangeHoldName; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_a_hold". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_export_a_hold". +/// +- (BOOL)isLegalHoldsExportAHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_cancelled". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_export_cancelled". +/// +- (BOOL)isLegalHoldsExportCancelled; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_downloaded". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_export_downloaded". +/// +- (BOOL)isLegalHoldsExportDownloaded; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_export_removed". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_export_removed". +/// +- (BOOL)isLegalHoldsExportRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_release_a_hold". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_release_a_hold". +/// +- (BOOL)isLegalHoldsReleaseAHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_remove_members". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_remove_members". +/// +- (BOOL)isLegalHoldsRemoveMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "legal_holds_report_a_hold". +/// +/// @return Whether the union's current tag state has value +/// "legal_holds_report_a_hold". +/// +- (BOOL)isLegalHoldsReportAHold; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_desktop". +/// +/// @return Whether the union's current tag state has value +/// "device_change_ip_desktop". +/// +- (BOOL)isDeviceChangeIpDesktop; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_mobile". +/// +/// @return Whether the union's current tag state has value +/// "device_change_ip_mobile". +/// +- (BOOL)isDeviceChangeIpMobile; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_change_ip_web". +/// +/// @return Whether the union's current tag state has value +/// "device_change_ip_web". +/// +- (BOOL)isDeviceChangeIpWeb; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_fail". +/// +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_fail". +/// +- (BOOL)isDeviceDeleteOnUnlinkFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_delete_on_unlink_success". +/// +/// @return Whether the union's current tag state has value +/// "device_delete_on_unlink_success". +/// +- (BOOL)isDeviceDeleteOnUnlinkSuccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_link_fail". +/// +/// @return Whether the union's current tag state has value "device_link_fail". +/// +- (BOOL)isDeviceLinkFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_link_success". +/// +/// @return Whether the union's current tag state has value +/// "device_link_success". +/// +- (BOOL)isDeviceLinkSuccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_management_disabled". +/// +/// @return Whether the union's current tag state has value +/// "device_management_disabled". +/// +- (BOOL)isDeviceManagementDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_management_enabled". +/// +/// @return Whether the union's current tag state has value +/// "device_management_enabled". +/// +- (BOOL)isDeviceManagementEnabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_sync_backup_status_changed". +/// +/// @return Whether the union's current tag state has value +/// "device_sync_backup_status_changed". +/// +- (BOOL)isDeviceSyncBackupStatusChanged; + +/// +/// Retrieves whether the union's current tag state has value "device_unlink". +/// +/// @return Whether the union's current tag state has value "device_unlink". +/// +- (BOOL)isDeviceUnlink; + +/// +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_exported". +/// +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_exported". +/// +- (BOOL)isDropboxPasswordsExported; + +/// +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled". +/// +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_new_device_enrolled". +/// +- (BOOL)isDropboxPasswordsNewDeviceEnrolled; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_refresh_auth_token". +/// +/// @return Whether the union's current tag state has value +/// "emm_refresh_auth_token". +/// +- (BOOL)isEmmRefreshAuthToken; + +/// +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked". +/// +/// @return Whether the union's current tag state has value +/// "external_drive_backup_eligibility_status_checked". +/// +- (BOOL)isExternalDriveBackupEligibilityStatusChecked; + +/// +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_status_changed". +/// +/// @return Whether the union's current tag state has value +/// "external_drive_backup_status_changed". +/// +- (BOOL)isExternalDriveBackupStatusChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_capture_change_availability". +/// +/// @return Whether the union's current tag state has value +/// "account_capture_change_availability". +/// +- (BOOL)isAccountCaptureChangeAvailability; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_capture_migrate_account". +/// +/// @return Whether the union's current tag state has value +/// "account_capture_migrate_account". +/// +- (BOOL)isAccountCaptureMigrateAccount; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_capture_notification_emails_sent". +/// +/// @return Whether the union's current tag state has value +/// "account_capture_notification_emails_sent". +/// +- (BOOL)isAccountCaptureNotificationEmailsSent; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_capture_relinquish_account". +/// +/// @return Whether the union's current tag state has value +/// "account_capture_relinquish_account". +/// +- (BOOL)isAccountCaptureRelinquishAccount; + +/// +/// Retrieves whether the union's current tag state has value +/// "disabled_domain_invites". +/// +/// @return Whether the union's current tag state has value +/// "disabled_domain_invites". +/// +- (BOOL)isDisabledDomainInvites; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_approve_request_to_join_team". +/// +- (BOOL)isDomainInvitesApproveRequestToJoinTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_decline_request_to_join_team". +/// +- (BOOL)isDomainInvitesDeclineRequestToJoinTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_email_existing_users". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_email_existing_users". +/// +- (BOOL)isDomainInvitesEmailExistingUsers; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_request_to_join_team". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_request_to_join_team". +/// +- (BOOL)isDomainInvitesRequestToJoinTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_no". +/// +- (BOOL)isDomainInvitesSetInviteNewUserPrefToNo; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes". +/// +/// @return Whether the union's current tag state has value +/// "domain_invites_set_invite_new_user_pref_to_yes". +/// +- (BOOL)isDomainInvitesSetInviteNewUserPrefToYes; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_fail". +/// +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_fail". +/// +- (BOOL)isDomainVerificationAddDomainFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_verification_add_domain_success". +/// +/// @return Whether the union's current tag state has value +/// "domain_verification_add_domain_success". +/// +- (BOOL)isDomainVerificationAddDomainSuccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "domain_verification_remove_domain". +/// +/// @return Whether the union's current tag state has value +/// "domain_verification_remove_domain". +/// +- (BOOL)isDomainVerificationRemoveDomain; + +/// +/// Retrieves whether the union's current tag state has value +/// "enabled_domain_invites". +/// +/// @return Whether the union's current tag state has value +/// "enabled_domain_invites". +/// +- (BOOL)isEnabledDomainInvites; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_cancel_key_deletion". +/// +- (BOOL)isTeamEncryptionKeyCancelKeyDeletion; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_create_key". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_create_key". +/// +- (BOOL)isTeamEncryptionKeyCreateKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_delete_key". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_delete_key". +/// +- (BOOL)isTeamEncryptionKeyDeleteKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_disable_key". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_disable_key". +/// +- (BOOL)isTeamEncryptionKeyDisableKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_enable_key". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_enable_key". +/// +- (BOOL)isTeamEncryptionKeyEnableKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_rotate_key". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_rotate_key". +/// +- (BOOL)isTeamEncryptionKeyRotateKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion". +/// +/// @return Whether the union's current tag state has value +/// "team_encryption_key_schedule_key_deletion". +/// +- (BOOL)isTeamEncryptionKeyScheduleKeyDeletion; + +/// +/// Retrieves whether the union's current tag state has value +/// "apply_naming_convention". +/// +/// @return Whether the union's current tag state has value +/// "apply_naming_convention". +/// +- (BOOL)isApplyNamingConvention; + +/// +/// Retrieves whether the union's current tag state has value "create_folder". +/// +/// @return Whether the union's current tag state has value "create_folder". +/// +- (BOOL)isCreateFolder; + +/// +/// Retrieves whether the union's current tag state has value "file_add". +/// +/// @return Whether the union's current tag state has value "file_add". +/// +- (BOOL)isFileAdd; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_add_from_automation". +/// +/// @return Whether the union's current tag state has value +/// "file_add_from_automation". +/// +- (BOOL)isFileAddFromAutomation; + +/// +/// Retrieves whether the union's current tag state has value "file_copy". +/// +/// @return Whether the union's current tag state has value "file_copy". +/// +- (BOOL)isFileCopy; + +/// +/// Retrieves whether the union's current tag state has value "file_delete". +/// +/// @return Whether the union's current tag state has value "file_delete". +/// +- (BOOL)isFileDelete; + +/// +/// Retrieves whether the union's current tag state has value "file_download". +/// +/// @return Whether the union's current tag state has value "file_download". +/// +- (BOOL)isFileDownload; + +/// +/// Retrieves whether the union's current tag state has value "file_edit". +/// +/// @return Whether the union's current tag state has value "file_edit". +/// +- (BOOL)isFileEdit; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_get_copy_reference". +/// +/// @return Whether the union's current tag state has value +/// "file_get_copy_reference". +/// +- (BOOL)isFileGetCopyReference; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_locking_lock_status_changed". +/// +/// @return Whether the union's current tag state has value +/// "file_locking_lock_status_changed". +/// +- (BOOL)isFileLockingLockStatusChanged; + +/// +/// Retrieves whether the union's current tag state has value "file_move". +/// +/// @return Whether the union's current tag state has value "file_move". +/// +- (BOOL)isFileMove; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_permanently_delete". +/// +/// @return Whether the union's current tag state has value +/// "file_permanently_delete". +/// +- (BOOL)isFilePermanentlyDelete; + +/// +/// Retrieves whether the union's current tag state has value "file_preview". +/// +/// @return Whether the union's current tag state has value "file_preview". +/// +- (BOOL)isFilePreview; + +/// +/// Retrieves whether the union's current tag state has value "file_rename". +/// +/// @return Whether the union's current tag state has value "file_rename". +/// +- (BOOL)isFileRename; + +/// +/// Retrieves whether the union's current tag state has value "file_restore". +/// +/// @return Whether the union's current tag state has value "file_restore". +/// +- (BOOL)isFileRestore; + +/// +/// Retrieves whether the union's current tag state has value "file_revert". +/// +/// @return Whether the union's current tag state has value "file_revert". +/// +- (BOOL)isFileRevert; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_rollback_changes". +/// +/// @return Whether the union's current tag state has value +/// "file_rollback_changes". +/// +- (BOOL)isFileRollbackChanges; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_save_copy_reference". +/// +/// @return Whether the union's current tag state has value +/// "file_save_copy_reference". +/// +- (BOOL)isFileSaveCopyReference; + +/// +/// Retrieves whether the union's current tag state has value +/// "folder_overview_description_changed". +/// +/// @return Whether the union's current tag state has value +/// "folder_overview_description_changed". +/// +- (BOOL)isFolderOverviewDescriptionChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_pinned". +/// +/// @return Whether the union's current tag state has value +/// "folder_overview_item_pinned". +/// +- (BOOL)isFolderOverviewItemPinned; + +/// +/// Retrieves whether the union's current tag state has value +/// "folder_overview_item_unpinned". +/// +/// @return Whether the union's current tag state has value +/// "folder_overview_item_unpinned". +/// +- (BOOL)isFolderOverviewItemUnpinned; + +/// +/// Retrieves whether the union's current tag state has value +/// "object_label_added". +/// +/// @return Whether the union's current tag state has value +/// "object_label_added". +/// +- (BOOL)isObjectLabelAdded; + +/// +/// Retrieves whether the union's current tag state has value +/// "object_label_removed". +/// +/// @return Whether the union's current tag state has value +/// "object_label_removed". +/// +- (BOOL)isObjectLabelRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "object_label_updated_value". +/// +/// @return Whether the union's current tag state has value +/// "object_label_updated_value". +/// +- (BOOL)isObjectLabelUpdatedValue; + +/// +/// Retrieves whether the union's current tag state has value +/// "organize_folder_with_tidy". +/// +/// @return Whether the union's current tag state has value +/// "organize_folder_with_tidy". +/// +- (BOOL)isOrganizeFolderWithTidy; + +/// +/// Retrieves whether the union's current tag state has value +/// "replay_file_delete". +/// +/// @return Whether the union's current tag state has value +/// "replay_file_delete". +/// +- (BOOL)isReplayFileDelete; + +/// +/// Retrieves whether the union's current tag state has value "rewind_folder". +/// +/// @return Whether the union's current tag state has value "rewind_folder". +/// +- (BOOL)isRewindFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "undo_naming_convention". +/// +/// @return Whether the union's current tag state has value +/// "undo_naming_convention". +/// +- (BOOL)isUndoNamingConvention; + +/// +/// Retrieves whether the union's current tag state has value +/// "undo_organize_folder_with_tidy". +/// +/// @return Whether the union's current tag state has value +/// "undo_organize_folder_with_tidy". +/// +- (BOOL)isUndoOrganizeFolderWithTidy; + +/// +/// Retrieves whether the union's current tag state has value "user_tags_added". +/// +/// @return Whether the union's current tag state has value "user_tags_added". +/// +- (BOOL)isUserTagsAdded; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_tags_removed". +/// +/// @return Whether the union's current tag state has value "user_tags_removed". +/// +- (BOOL)isUserTagsRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "email_ingest_receive_file". +/// +/// @return Whether the union's current tag state has value +/// "email_ingest_receive_file". +/// +- (BOOL)isEmailIngestReceiveFile; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_change". +/// +/// @return Whether the union's current tag state has value +/// "file_request_change". +/// +- (BOOL)isFileRequestChange; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_close". +/// +/// @return Whether the union's current tag state has value +/// "file_request_close". +/// +- (BOOL)isFileRequestClose; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_create". +/// +/// @return Whether the union's current tag state has value +/// "file_request_create". +/// +- (BOOL)isFileRequestCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_delete". +/// +/// @return Whether the union's current tag state has value +/// "file_request_delete". +/// +- (BOOL)isFileRequestDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_request_receive_file". +/// +/// @return Whether the union's current tag state has value +/// "file_request_receive_file". +/// +- (BOOL)isFileRequestReceiveFile; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_add_external_id". +/// +/// @return Whether the union's current tag state has value +/// "group_add_external_id". +/// +- (BOOL)isGroupAddExternalId; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_add_member". +/// +/// @return Whether the union's current tag state has value "group_add_member". +/// +- (BOOL)isGroupAddMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_change_external_id". +/// +/// @return Whether the union's current tag state has value +/// "group_change_external_id". +/// +- (BOOL)isGroupChangeExternalId; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_change_management_type". +/// +/// @return Whether the union's current tag state has value +/// "group_change_management_type". +/// +- (BOOL)isGroupChangeManagementType; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_change_member_role". +/// +/// @return Whether the union's current tag state has value +/// "group_change_member_role". +/// +- (BOOL)isGroupChangeMemberRole; + +/// +/// Retrieves whether the union's current tag state has value "group_create". +/// +/// @return Whether the union's current tag state has value "group_create". +/// +- (BOOL)isGroupCreate; + +/// +/// Retrieves whether the union's current tag state has value "group_delete". +/// +/// @return Whether the union's current tag state has value "group_delete". +/// +- (BOOL)isGroupDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_description_updated". +/// +/// @return Whether the union's current tag state has value +/// "group_description_updated". +/// +- (BOOL)isGroupDescriptionUpdated; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_join_policy_updated". +/// +/// @return Whether the union's current tag state has value +/// "group_join_policy_updated". +/// +- (BOOL)isGroupJoinPolicyUpdated; + +/// +/// Retrieves whether the union's current tag state has value "group_moved". +/// +/// @return Whether the union's current tag state has value "group_moved". +/// +- (BOOL)isGroupMoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_remove_external_id". +/// +/// @return Whether the union's current tag state has value +/// "group_remove_external_id". +/// +- (BOOL)isGroupRemoveExternalId; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_remove_member". +/// +/// @return Whether the union's current tag state has value +/// "group_remove_member". +/// +- (BOOL)isGroupRemoveMember; + +/// +/// Retrieves whether the union's current tag state has value "group_rename". +/// +/// @return Whether the union's current tag state has value "group_rename". +/// +- (BOOL)isGroupRename; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_lock_or_unlocked". +/// +/// @return Whether the union's current tag state has value +/// "account_lock_or_unlocked". +/// +- (BOOL)isAccountLockOrUnlocked; + +/// +/// Retrieves whether the union's current tag state has value "emm_error". +/// +/// @return Whether the union's current tag state has value "emm_error". +/// +- (BOOL)isEmmError; + +/// +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams". +/// +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_in_via_trusted_teams". +/// +- (BOOL)isGuestAdminSignedInViaTrustedTeams; + +/// +/// Retrieves whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams". +/// +/// @return Whether the union's current tag state has value +/// "guest_admin_signed_out_via_trusted_teams". +/// +- (BOOL)isGuestAdminSignedOutViaTrustedTeams; + +/// +/// Retrieves whether the union's current tag state has value "login_fail". +/// +/// @return Whether the union's current tag state has value "login_fail". +/// +- (BOOL)isLoginFail; + +/// +/// Retrieves whether the union's current tag state has value "login_success". +/// +/// @return Whether the union's current tag state has value "login_success". +/// +- (BOOL)isLoginSuccess; + +/// +/// Retrieves whether the union's current tag state has value "logout". +/// +/// @return Whether the union's current tag state has value "logout". +/// +- (BOOL)isLogout; + +/// +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_end". +/// +/// @return Whether the union's current tag state has value +/// "reseller_support_session_end". +/// +- (BOOL)isResellerSupportSessionEnd; + +/// +/// Retrieves whether the union's current tag state has value +/// "reseller_support_session_start". +/// +/// @return Whether the union's current tag state has value +/// "reseller_support_session_start". +/// +- (BOOL)isResellerSupportSessionStart; + +/// +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_end". +/// +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_end". +/// +- (BOOL)isSignInAsSessionEnd; + +/// +/// Retrieves whether the union's current tag state has value +/// "sign_in_as_session_start". +/// +/// @return Whether the union's current tag state has value +/// "sign_in_as_session_start". +/// +- (BOOL)isSignInAsSessionStart; + +/// +/// Retrieves whether the union's current tag state has value "sso_error". +/// +/// @return Whether the union's current tag state has value "sso_error". +/// +- (BOOL)isSsoError; + +/// +/// Retrieves whether the union's current tag state has value +/// "backup_admin_invitation_sent". +/// +/// @return Whether the union's current tag state has value +/// "backup_admin_invitation_sent". +/// +- (BOOL)isBackupAdminInvitationSent; + +/// +/// Retrieves whether the union's current tag state has value +/// "backup_invitation_opened". +/// +/// @return Whether the union's current tag state has value +/// "backup_invitation_opened". +/// +- (BOOL)isBackupInvitationOpened; + +/// +/// Retrieves whether the union's current tag state has value +/// "create_team_invite_link". +/// +/// @return Whether the union's current tag state has value +/// "create_team_invite_link". +/// +- (BOOL)isCreateTeamInviteLink; + +/// +/// Retrieves whether the union's current tag state has value +/// "delete_team_invite_link". +/// +/// @return Whether the union's current tag state has value +/// "delete_team_invite_link". +/// +- (BOOL)isDeleteTeamInviteLink; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_add_external_id". +/// +/// @return Whether the union's current tag state has value +/// "member_add_external_id". +/// +- (BOOL)isMemberAddExternalId; + +/// +/// Retrieves whether the union's current tag state has value "member_add_name". +/// +/// @return Whether the union's current tag state has value "member_add_name". +/// +- (BOOL)isMemberAddName; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_admin_role". +/// +/// @return Whether the union's current tag state has value +/// "member_change_admin_role". +/// +- (BOOL)isMemberChangeAdminRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_email". +/// +/// @return Whether the union's current tag state has value +/// "member_change_email". +/// +- (BOOL)isMemberChangeEmail; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_external_id". +/// +/// @return Whether the union's current tag state has value +/// "member_change_external_id". +/// +- (BOOL)isMemberChangeExternalId; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_membership_type". +/// +/// @return Whether the union's current tag state has value +/// "member_change_membership_type". +/// +- (BOOL)isMemberChangeMembershipType; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_name". +/// +/// @return Whether the union's current tag state has value +/// "member_change_name". +/// +- (BOOL)isMemberChangeName; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_reseller_role". +/// +/// @return Whether the union's current tag state has value +/// "member_change_reseller_role". +/// +- (BOOL)isMemberChangeResellerRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_change_status". +/// +/// @return Whether the union's current tag state has value +/// "member_change_status". +/// +- (BOOL)isMemberChangeStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_delete_manual_contacts". +/// +/// @return Whether the union's current tag state has value +/// "member_delete_manual_contacts". +/// +- (BOOL)isMemberDeleteManualContacts; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_delete_profile_photo". +/// +/// @return Whether the union's current tag state has value +/// "member_delete_profile_photo". +/// +- (BOOL)isMemberDeleteProfilePhoto; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_permanently_delete_account_contents". +/// +/// @return Whether the union's current tag state has value +/// "member_permanently_delete_account_contents". +/// +- (BOOL)isMemberPermanentlyDeleteAccountContents; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_remove_external_id". +/// +/// @return Whether the union's current tag state has value +/// "member_remove_external_id". +/// +- (BOOL)isMemberRemoveExternalId; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_set_profile_photo". +/// +/// @return Whether the union's current tag state has value +/// "member_set_profile_photo". +/// +- (BOOL)isMemberSetProfilePhoto; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_add_custom_quota". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_add_custom_quota". +/// +- (BOOL)isMemberSpaceLimitsAddCustomQuota; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_custom_quota". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_custom_quota". +/// +- (BOOL)isMemberSpaceLimitsChangeCustomQuota; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_status". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_status". +/// +- (BOOL)isMemberSpaceLimitsChangeStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_remove_custom_quota". +/// +- (BOOL)isMemberSpaceLimitsRemoveCustomQuota; + +/// +/// Retrieves whether the union's current tag state has value "member_suggest". +/// +/// @return Whether the union's current tag state has value "member_suggest". +/// +- (BOOL)isMemberSuggest; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_transfer_account_contents". +/// +/// @return Whether the union's current tag state has value +/// "member_transfer_account_contents". +/// +- (BOOL)isMemberTransferAccountContents; + +/// +/// Retrieves whether the union's current tag state has value +/// "pending_secondary_email_added". +/// +/// @return Whether the union's current tag state has value +/// "pending_secondary_email_added". +/// +- (BOOL)isPendingSecondaryEmailAdded; + +/// +/// Retrieves whether the union's current tag state has value +/// "secondary_email_deleted". +/// +/// @return Whether the union's current tag state has value +/// "secondary_email_deleted". +/// +- (BOOL)isSecondaryEmailDeleted; + +/// +/// Retrieves whether the union's current tag state has value +/// "secondary_email_verified". +/// +/// @return Whether the union's current tag state has value +/// "secondary_email_verified". +/// +- (BOOL)isSecondaryEmailVerified; + +/// +/// Retrieves whether the union's current tag state has value +/// "secondary_mails_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "secondary_mails_policy_changed". +/// +- (BOOL)isSecondaryMailsPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value "binder_add_page". +/// +/// @return Whether the union's current tag state has value "binder_add_page". +/// +- (BOOL)isBinderAddPage; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_add_section". +/// +/// @return Whether the union's current tag state has value +/// "binder_add_section". +/// +- (BOOL)isBinderAddSection; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_remove_page". +/// +/// @return Whether the union's current tag state has value +/// "binder_remove_page". +/// +- (BOOL)isBinderRemovePage; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_remove_section". +/// +/// @return Whether the union's current tag state has value +/// "binder_remove_section". +/// +- (BOOL)isBinderRemoveSection; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_rename_page". +/// +/// @return Whether the union's current tag state has value +/// "binder_rename_page". +/// +- (BOOL)isBinderRenamePage; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_rename_section". +/// +/// @return Whether the union's current tag state has value +/// "binder_rename_section". +/// +- (BOOL)isBinderRenameSection; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_page". +/// +/// @return Whether the union's current tag state has value +/// "binder_reorder_page". +/// +- (BOOL)isBinderReorderPage; + +/// +/// Retrieves whether the union's current tag state has value +/// "binder_reorder_section". +/// +/// @return Whether the union's current tag state has value +/// "binder_reorder_section". +/// +- (BOOL)isBinderReorderSection; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_member". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_add_member". +/// +- (BOOL)isPaperContentAddMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_add_to_folder". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_add_to_folder". +/// +- (BOOL)isPaperContentAddToFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_archive". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_archive". +/// +- (BOOL)isPaperContentArchive; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_create". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_create". +/// +- (BOOL)isPaperContentCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_permanently_delete". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_permanently_delete". +/// +- (BOOL)isPaperContentPermanentlyDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_from_folder". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_remove_from_folder". +/// +- (BOOL)isPaperContentRemoveFromFolder; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_remove_member". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_remove_member". +/// +- (BOOL)isPaperContentRemoveMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_rename". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_rename". +/// +- (BOOL)isPaperContentRename; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_content_restore". +/// +/// @return Whether the union's current tag state has value +/// "paper_content_restore". +/// +- (BOOL)isPaperContentRestore; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_add_comment". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_add_comment". +/// +- (BOOL)isPaperDocAddComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_member_role". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_change_member_role". +/// +- (BOOL)isPaperDocChangeMemberRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_sharing_policy". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_change_sharing_policy". +/// +- (BOOL)isPaperDocChangeSharingPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_change_subscription". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_change_subscription". +/// +- (BOOL)isPaperDocChangeSubscription; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_deleted". +/// +/// @return Whether the union's current tag state has value "paper_doc_deleted". +/// +- (BOOL)isPaperDocDeleted; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_delete_comment". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_delete_comment". +/// +- (BOOL)isPaperDocDeleteComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_download". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_download". +/// +- (BOOL)isPaperDocDownload; + +/// +/// Retrieves whether the union's current tag state has value "paper_doc_edit". +/// +/// @return Whether the union's current tag state has value "paper_doc_edit". +/// +- (BOOL)isPaperDocEdit; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_edit_comment". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_edit_comment". +/// +- (BOOL)isPaperDocEditComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_followed". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_followed". +/// +- (BOOL)isPaperDocFollowed; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_mention". +/// +/// @return Whether the union's current tag state has value "paper_doc_mention". +/// +- (BOOL)isPaperDocMention; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_ownership_changed". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_ownership_changed". +/// +- (BOOL)isPaperDocOwnershipChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_request_access". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_request_access". +/// +- (BOOL)isPaperDocRequestAccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_resolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_resolve_comment". +/// +- (BOOL)isPaperDocResolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_revert". +/// +/// @return Whether the union's current tag state has value "paper_doc_revert". +/// +- (BOOL)isPaperDocRevert; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_slack_share". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_slack_share". +/// +- (BOOL)isPaperDocSlackShare; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_team_invite". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_team_invite". +/// +- (BOOL)isPaperDocTeamInvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_trashed". +/// +/// @return Whether the union's current tag state has value "paper_doc_trashed". +/// +- (BOOL)isPaperDocTrashed; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_unresolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_unresolve_comment". +/// +- (BOOL)isPaperDocUnresolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_doc_untrashed". +/// +/// @return Whether the union's current tag state has value +/// "paper_doc_untrashed". +/// +- (BOOL)isPaperDocUntrashed; + +/// +/// Retrieves whether the union's current tag state has value "paper_doc_view". +/// +/// @return Whether the union's current tag state has value "paper_doc_view". +/// +- (BOOL)isPaperDocView; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_allow". +/// +/// @return Whether the union's current tag state has value +/// "paper_external_view_allow". +/// +- (BOOL)isPaperExternalViewAllow; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_default_team". +/// +/// @return Whether the union's current tag state has value +/// "paper_external_view_default_team". +/// +- (BOOL)isPaperExternalViewDefaultTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_external_view_forbid". +/// +/// @return Whether the union's current tag state has value +/// "paper_external_view_forbid". +/// +- (BOOL)isPaperExternalViewForbid; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_folder_change_subscription". +/// +/// @return Whether the union's current tag state has value +/// "paper_folder_change_subscription". +/// +- (BOOL)isPaperFolderChangeSubscription; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_folder_deleted". +/// +/// @return Whether the union's current tag state has value +/// "paper_folder_deleted". +/// +- (BOOL)isPaperFolderDeleted; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_folder_followed". +/// +/// @return Whether the union's current tag state has value +/// "paper_folder_followed". +/// +- (BOOL)isPaperFolderFollowed; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_folder_team_invite". +/// +/// @return Whether the union's current tag state has value +/// "paper_folder_team_invite". +/// +- (BOOL)isPaperFolderTeamInvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_change_permission". +/// +/// @return Whether the union's current tag state has value +/// "paper_published_link_change_permission". +/// +- (BOOL)isPaperPublishedLinkChangePermission; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_create". +/// +/// @return Whether the union's current tag state has value +/// "paper_published_link_create". +/// +- (BOOL)isPaperPublishedLinkCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_disabled". +/// +/// @return Whether the union's current tag state has value +/// "paper_published_link_disabled". +/// +- (BOOL)isPaperPublishedLinkDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_published_link_view". +/// +/// @return Whether the union's current tag state has value +/// "paper_published_link_view". +/// +- (BOOL)isPaperPublishedLinkView; + +/// +/// Retrieves whether the union's current tag state has value "password_change". +/// +/// @return Whether the union's current tag state has value "password_change". +/// +- (BOOL)isPasswordChange; + +/// +/// Retrieves whether the union's current tag state has value "password_reset". +/// +/// @return Whether the union's current tag state has value "password_reset". +/// +- (BOOL)isPasswordReset; + +/// +/// Retrieves whether the union's current tag state has value +/// "password_reset_all". +/// +/// @return Whether the union's current tag state has value +/// "password_reset_all". +/// +- (BOOL)isPasswordResetAll; + +/// +/// Retrieves whether the union's current tag state has value +/// "classification_create_report". +/// +/// @return Whether the union's current tag state has value +/// "classification_create_report". +/// +- (BOOL)isClassificationCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "classification_create_report_fail". +/// +/// @return Whether the union's current tag state has value +/// "classification_create_report_fail". +/// +- (BOOL)isClassificationCreateReportFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_create_exceptions_report". +/// +/// @return Whether the union's current tag state has value +/// "emm_create_exceptions_report". +/// +- (BOOL)isEmmCreateExceptionsReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_create_usage_report". +/// +/// @return Whether the union's current tag state has value +/// "emm_create_usage_report". +/// +- (BOOL)isEmmCreateUsageReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "export_members_report". +/// +/// @return Whether the union's current tag state has value +/// "export_members_report". +/// +- (BOOL)isExportMembersReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "export_members_report_fail". +/// +/// @return Whether the union's current tag state has value +/// "export_members_report_fail". +/// +- (BOOL)isExportMembersReportFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "external_sharing_create_report". +/// +/// @return Whether the union's current tag state has value +/// "external_sharing_create_report". +/// +- (BOOL)isExternalSharingCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "external_sharing_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "external_sharing_report_failed". +/// +- (BOOL)isExternalSharingReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_create_report". +/// +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_create_report". +/// +- (BOOL)isNoExpirationLinkGenCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "no_expiration_link_gen_report_failed". +/// +- (BOOL)isNoExpirationLinkGenReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_password_link_gen_create_report". +/// +/// @return Whether the union's current tag state has value +/// "no_password_link_gen_create_report". +/// +- (BOOL)isNoPasswordLinkGenCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_password_link_gen_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "no_password_link_gen_report_failed". +/// +- (BOOL)isNoPasswordLinkGenReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_password_link_view_create_report". +/// +/// @return Whether the union's current tag state has value +/// "no_password_link_view_create_report". +/// +- (BOOL)isNoPasswordLinkViewCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "no_password_link_view_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "no_password_link_view_report_failed". +/// +- (BOOL)isNoPasswordLinkViewReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "outdated_link_view_create_report". +/// +/// @return Whether the union's current tag state has value +/// "outdated_link_view_create_report". +/// +- (BOOL)isOutdatedLinkViewCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "outdated_link_view_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "outdated_link_view_report_failed". +/// +- (BOOL)isOutdatedLinkViewReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_admin_export_start". +/// +/// @return Whether the union's current tag state has value +/// "paper_admin_export_start". +/// +- (BOOL)isPaperAdminExportStart; + +/// +/// Retrieves whether the union's current tag state has value +/// "ransomware_alert_create_report". +/// +/// @return Whether the union's current tag state has value +/// "ransomware_alert_create_report". +/// +- (BOOL)isRansomwareAlertCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "ransomware_alert_create_report_failed". +/// +/// @return Whether the union's current tag state has value +/// "ransomware_alert_create_report_failed". +/// +- (BOOL)isRansomwareAlertCreateReportFailed; + +/// +/// Retrieves whether the union's current tag state has value +/// "smart_sync_create_admin_privilege_report". +/// +/// @return Whether the union's current tag state has value +/// "smart_sync_create_admin_privilege_report". +/// +- (BOOL)isSmartSyncCreateAdminPrivilegeReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_activity_create_report". +/// +/// @return Whether the union's current tag state has value +/// "team_activity_create_report". +/// +- (BOOL)isTeamActivityCreateReport; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_activity_create_report_fail". +/// +/// @return Whether the union's current tag state has value +/// "team_activity_create_report_fail". +/// +- (BOOL)isTeamActivityCreateReportFail; + +/// +/// Retrieves whether the union's current tag state has value +/// "collection_share". +/// +/// @return Whether the union's current tag state has value "collection_share". +/// +- (BOOL)isCollectionShare; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_file_add". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_file_add". +/// +- (BOOL)isFileTransfersFileAdd; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_delete". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_delete". +/// +- (BOOL)isFileTransfersTransferDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_download". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_download". +/// +- (BOOL)isFileTransfersTransferDownload; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_send". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_send". +/// +- (BOOL)isFileTransfersTransferSend; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_transfer_view". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_transfer_view". +/// +- (BOOL)isFileTransfersTransferView; + +/// +/// Retrieves whether the union's current tag state has value +/// "note_acl_invite_only". +/// +/// @return Whether the union's current tag state has value +/// "note_acl_invite_only". +/// +- (BOOL)isNoteAclInviteOnly; + +/// +/// Retrieves whether the union's current tag state has value "note_acl_link". +/// +/// @return Whether the union's current tag state has value "note_acl_link". +/// +- (BOOL)isNoteAclLink; + +/// +/// Retrieves whether the union's current tag state has value +/// "note_acl_team_link". +/// +/// @return Whether the union's current tag state has value +/// "note_acl_team_link". +/// +- (BOOL)isNoteAclTeamLink; + +/// +/// Retrieves whether the union's current tag state has value "note_shared". +/// +/// @return Whether the union's current tag state has value "note_shared". +/// +- (BOOL)isNoteShared; + +/// +/// Retrieves whether the union's current tag state has value +/// "note_share_receive". +/// +/// @return Whether the union's current tag state has value +/// "note_share_receive". +/// +- (BOOL)isNoteShareReceive; + +/// +/// Retrieves whether the union's current tag state has value +/// "open_note_shared". +/// +/// @return Whether the union's current tag state has value "open_note_shared". +/// +- (BOOL)isOpenNoteShared; + +/// +/// Retrieves whether the union's current tag state has value +/// "replay_file_shared_link_created". +/// +/// @return Whether the union's current tag state has value +/// "replay_file_shared_link_created". +/// +- (BOOL)isReplayFileSharedLinkCreated; + +/// +/// Retrieves whether the union's current tag state has value +/// "replay_file_shared_link_modified". +/// +/// @return Whether the union's current tag state has value +/// "replay_file_shared_link_modified". +/// +- (BOOL)isReplayFileSharedLinkModified; + +/// +/// Retrieves whether the union's current tag state has value +/// "replay_project_team_add". +/// +/// @return Whether the union's current tag state has value +/// "replay_project_team_add". +/// +- (BOOL)isReplayProjectTeamAdd; + +/// +/// Retrieves whether the union's current tag state has value +/// "replay_project_team_delete". +/// +/// @return Whether the union's current tag state has value +/// "replay_project_team_delete". +/// +- (BOOL)isReplayProjectTeamDelete; + +/// +/// Retrieves whether the union's current tag state has value "sf_add_group". +/// +/// @return Whether the union's current tag state has value "sf_add_group". +/// +- (BOOL)isSfAddGroup; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_allow_non_members_to_view_shared_links". +/// +/// @return Whether the union's current tag state has value +/// "sf_allow_non_members_to_view_shared_links". +/// +- (BOOL)isSfAllowNonMembersToViewSharedLinks; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_external_invite_warn". +/// +/// @return Whether the union's current tag state has value +/// "sf_external_invite_warn". +/// +- (BOOL)isSfExternalInviteWarn; + +/// +/// Retrieves whether the union's current tag state has value "sf_fb_invite". +/// +/// @return Whether the union's current tag state has value "sf_fb_invite". +/// +- (BOOL)isSfFbInvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_fb_invite_change_role". +/// +/// @return Whether the union's current tag state has value +/// "sf_fb_invite_change_role". +/// +- (BOOL)isSfFbInviteChangeRole; + +/// +/// Retrieves whether the union's current tag state has value "sf_fb_uninvite". +/// +/// @return Whether the union's current tag state has value "sf_fb_uninvite". +/// +- (BOOL)isSfFbUninvite; + +/// +/// Retrieves whether the union's current tag state has value "sf_invite_group". +/// +/// @return Whether the union's current tag state has value "sf_invite_group". +/// +- (BOOL)isSfInviteGroup; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_team_grant_access". +/// +/// @return Whether the union's current tag state has value +/// "sf_team_grant_access". +/// +- (BOOL)isSfTeamGrantAccess; + +/// +/// Retrieves whether the union's current tag state has value "sf_team_invite". +/// +/// @return Whether the union's current tag state has value "sf_team_invite". +/// +- (BOOL)isSfTeamInvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_team_invite_change_role". +/// +/// @return Whether the union's current tag state has value +/// "sf_team_invite_change_role". +/// +- (BOOL)isSfTeamInviteChangeRole; + +/// +/// Retrieves whether the union's current tag state has value "sf_team_join". +/// +/// @return Whether the union's current tag state has value "sf_team_join". +/// +- (BOOL)isSfTeamJoin; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_team_join_from_oob_link". +/// +/// @return Whether the union's current tag state has value +/// "sf_team_join_from_oob_link". +/// +- (BOOL)isSfTeamJoinFromOobLink; + +/// +/// Retrieves whether the union's current tag state has value +/// "sf_team_uninvite". +/// +/// @return Whether the union's current tag state has value "sf_team_uninvite". +/// +- (BOOL)isSfTeamUninvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_add_invitees". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_add_invitees". +/// +- (BOOL)isSharedContentAddInvitees; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_add_link_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_add_link_expiry". +/// +- (BOOL)isSharedContentAddLinkExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_add_link_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_add_link_password". +/// +- (BOOL)isSharedContentAddLinkPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_add_member". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_add_member". +/// +- (BOOL)isSharedContentAddMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_downloads_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_downloads_policy". +/// +- (BOOL)isSharedContentChangeDownloadsPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_invitee_role". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_invitee_role". +/// +- (BOOL)isSharedContentChangeInviteeRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_link_audience". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_link_audience". +/// +- (BOOL)isSharedContentChangeLinkAudience; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_link_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_link_expiry". +/// +- (BOOL)isSharedContentChangeLinkExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_link_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_link_password". +/// +- (BOOL)isSharedContentChangeLinkPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_member_role". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_member_role". +/// +- (BOOL)isSharedContentChangeMemberRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_change_viewer_info_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_change_viewer_info_policy". +/// +- (BOOL)isSharedContentChangeViewerInfoPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_claim_invitation". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_claim_invitation". +/// +- (BOOL)isSharedContentClaimInvitation; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_copy". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_copy". +/// +- (BOOL)isSharedContentCopy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_download". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_download". +/// +- (BOOL)isSharedContentDownload; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_relinquish_membership". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_relinquish_membership". +/// +- (BOOL)isSharedContentRelinquishMembership; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_invitees". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_remove_invitees". +/// +- (BOOL)isSharedContentRemoveInvitees; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_link_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_remove_link_expiry". +/// +- (BOOL)isSharedContentRemoveLinkExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_link_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_remove_link_password". +/// +- (BOOL)isSharedContentRemoveLinkPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_remove_member". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_remove_member". +/// +- (BOOL)isSharedContentRemoveMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_request_access". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_request_access". +/// +- (BOOL)isSharedContentRequestAccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_restore_invitees". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_restore_invitees". +/// +- (BOOL)isSharedContentRestoreInvitees; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_restore_member". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_restore_member". +/// +- (BOOL)isSharedContentRestoreMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_unshare". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_unshare". +/// +- (BOOL)isSharedContentUnshare; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_content_view". +/// +/// @return Whether the union's current tag state has value +/// "shared_content_view". +/// +- (BOOL)isSharedContentView; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_change_link_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_change_link_policy". +/// +- (BOOL)isSharedFolderChangeLinkPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_change_members_inheritance_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_change_members_inheritance_policy". +/// +- (BOOL)isSharedFolderChangeMembersInheritancePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_change_members_management_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_change_members_management_policy". +/// +- (BOOL)isSharedFolderChangeMembersManagementPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_change_members_policy". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_change_members_policy". +/// +- (BOOL)isSharedFolderChangeMembersPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_create". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_create". +/// +- (BOOL)isSharedFolderCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_decline_invitation". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_decline_invitation". +/// +- (BOOL)isSharedFolderDeclineInvitation; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_mount". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_mount". +/// +- (BOOL)isSharedFolderMount; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_nest". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_nest". +/// +- (BOOL)isSharedFolderNest; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_transfer_ownership". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_transfer_ownership". +/// +- (BOOL)isSharedFolderTransferOwnership; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_folder_unmount". +/// +/// @return Whether the union's current tag state has value +/// "shared_folder_unmount". +/// +- (BOOL)isSharedFolderUnmount; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_add_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_add_expiry". +/// +- (BOOL)isSharedLinkAddExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_change_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_change_expiry". +/// +- (BOOL)isSharedLinkChangeExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_change_visibility". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_change_visibility". +/// +- (BOOL)isSharedLinkChangeVisibility; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_copy". +/// +/// @return Whether the union's current tag state has value "shared_link_copy". +/// +- (BOOL)isSharedLinkCopy; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_create". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_create". +/// +- (BOOL)isSharedLinkCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_disable". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_disable". +/// +- (BOOL)isSharedLinkDisable; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_download". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_download". +/// +- (BOOL)isSharedLinkDownload; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_remove_expiry". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_remove_expiry". +/// +- (BOOL)isSharedLinkRemoveExpiry; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_add_expiration". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_add_expiration". +/// +- (BOOL)isSharedLinkSettingsAddExpiration; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_add_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_add_password". +/// +- (BOOL)isSharedLinkSettingsAddPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_allow_download_disabled". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_allow_download_disabled". +/// +- (BOOL)isSharedLinkSettingsAllowDownloadDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_allow_download_enabled". +/// +- (BOOL)isSharedLinkSettingsAllowDownloadEnabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_change_audience". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_change_audience". +/// +- (BOOL)isSharedLinkSettingsChangeAudience; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_change_expiration". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_change_expiration". +/// +- (BOOL)isSharedLinkSettingsChangeExpiration; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_change_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_change_password". +/// +- (BOOL)isSharedLinkSettingsChangePassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_remove_expiration". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_remove_expiration". +/// +- (BOOL)isSharedLinkSettingsRemoveExpiration; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_settings_remove_password". +/// +/// @return Whether the union's current tag state has value +/// "shared_link_settings_remove_password". +/// +- (BOOL)isSharedLinkSettingsRemovePassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_share". +/// +/// @return Whether the union's current tag state has value "shared_link_share". +/// +- (BOOL)isSharedLinkShare; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_link_view". +/// +/// @return Whether the union's current tag state has value "shared_link_view". +/// +- (BOOL)isSharedLinkView; + +/// +/// Retrieves whether the union's current tag state has value +/// "shared_note_opened". +/// +/// @return Whether the union's current tag state has value +/// "shared_note_opened". +/// +- (BOOL)isSharedNoteOpened; + +/// +/// Retrieves whether the union's current tag state has value +/// "shmodel_disable_downloads". +/// +/// @return Whether the union's current tag state has value +/// "shmodel_disable_downloads". +/// +- (BOOL)isShmodelDisableDownloads; + +/// +/// Retrieves whether the union's current tag state has value +/// "shmodel_enable_downloads". +/// +/// @return Whether the union's current tag state has value +/// "shmodel_enable_downloads". +/// +- (BOOL)isShmodelEnableDownloads; + +/// +/// Retrieves whether the union's current tag state has value +/// "shmodel_group_share". +/// +/// @return Whether the union's current tag state has value +/// "shmodel_group_share". +/// +- (BOOL)isShmodelGroupShare; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_access_granted". +/// +/// @return Whether the union's current tag state has value +/// "showcase_access_granted". +/// +- (BOOL)isShowcaseAccessGranted; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_add_member". +/// +/// @return Whether the union's current tag state has value +/// "showcase_add_member". +/// +- (BOOL)isShowcaseAddMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_archived". +/// +/// @return Whether the union's current tag state has value "showcase_archived". +/// +- (BOOL)isShowcaseArchived; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_created". +/// +/// @return Whether the union's current tag state has value "showcase_created". +/// +- (BOOL)isShowcaseCreated; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_delete_comment". +/// +/// @return Whether the union's current tag state has value +/// "showcase_delete_comment". +/// +- (BOOL)isShowcaseDeleteComment; + +/// +/// Retrieves whether the union's current tag state has value "showcase_edited". +/// +/// @return Whether the union's current tag state has value "showcase_edited". +/// +- (BOOL)isShowcaseEdited; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_edit_comment". +/// +/// @return Whether the union's current tag state has value +/// "showcase_edit_comment". +/// +- (BOOL)isShowcaseEditComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_file_added". +/// +/// @return Whether the union's current tag state has value +/// "showcase_file_added". +/// +- (BOOL)isShowcaseFileAdded; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_file_download". +/// +/// @return Whether the union's current tag state has value +/// "showcase_file_download". +/// +- (BOOL)isShowcaseFileDownload; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_file_removed". +/// +/// @return Whether the union's current tag state has value +/// "showcase_file_removed". +/// +- (BOOL)isShowcaseFileRemoved; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_file_view". +/// +/// @return Whether the union's current tag state has value +/// "showcase_file_view". +/// +- (BOOL)isShowcaseFileView; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_permanently_deleted". +/// +/// @return Whether the union's current tag state has value +/// "showcase_permanently_deleted". +/// +- (BOOL)isShowcasePermanentlyDeleted; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_post_comment". +/// +/// @return Whether the union's current tag state has value +/// "showcase_post_comment". +/// +- (BOOL)isShowcasePostComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_remove_member". +/// +/// @return Whether the union's current tag state has value +/// "showcase_remove_member". +/// +- (BOOL)isShowcaseRemoveMember; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_renamed". +/// +/// @return Whether the union's current tag state has value "showcase_renamed". +/// +- (BOOL)isShowcaseRenamed; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_request_access". +/// +/// @return Whether the union's current tag state has value +/// "showcase_request_access". +/// +- (BOOL)isShowcaseRequestAccess; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_resolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "showcase_resolve_comment". +/// +- (BOOL)isShowcaseResolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_restored". +/// +/// @return Whether the union's current tag state has value "showcase_restored". +/// +- (BOOL)isShowcaseRestored; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_trashed". +/// +/// @return Whether the union's current tag state has value "showcase_trashed". +/// +- (BOOL)isShowcaseTrashed; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_trashed_deprecated". +/// +/// @return Whether the union's current tag state has value +/// "showcase_trashed_deprecated". +/// +- (BOOL)isShowcaseTrashedDeprecated; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_unresolve_comment". +/// +/// @return Whether the union's current tag state has value +/// "showcase_unresolve_comment". +/// +- (BOOL)isShowcaseUnresolveComment; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_untrashed". +/// +/// @return Whether the union's current tag state has value +/// "showcase_untrashed". +/// +- (BOOL)isShowcaseUntrashed; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_untrashed_deprecated". +/// +/// @return Whether the union's current tag state has value +/// "showcase_untrashed_deprecated". +/// +- (BOOL)isShowcaseUntrashedDeprecated; + +/// +/// Retrieves whether the union's current tag state has value "showcase_view". +/// +/// @return Whether the union's current tag state has value "showcase_view". +/// +- (BOOL)isShowcaseView; + +/// +/// Retrieves whether the union's current tag state has value "sso_add_cert". +/// +/// @return Whether the union's current tag state has value "sso_add_cert". +/// +- (BOOL)isSsoAddCert; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_add_login_url". +/// +/// @return Whether the union's current tag state has value "sso_add_login_url". +/// +- (BOOL)isSsoAddLoginUrl; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_add_logout_url". +/// +/// @return Whether the union's current tag state has value +/// "sso_add_logout_url". +/// +- (BOOL)isSsoAddLogoutUrl; + +/// +/// Retrieves whether the union's current tag state has value "sso_change_cert". +/// +/// @return Whether the union's current tag state has value "sso_change_cert". +/// +- (BOOL)isSsoChangeCert; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_change_login_url". +/// +/// @return Whether the union's current tag state has value +/// "sso_change_login_url". +/// +- (BOOL)isSsoChangeLoginUrl; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_change_logout_url". +/// +/// @return Whether the union's current tag state has value +/// "sso_change_logout_url". +/// +- (BOOL)isSsoChangeLogoutUrl; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_change_saml_identity_mode". +/// +/// @return Whether the union's current tag state has value +/// "sso_change_saml_identity_mode". +/// +- (BOOL)isSsoChangeSamlIdentityMode; + +/// +/// Retrieves whether the union's current tag state has value "sso_remove_cert". +/// +/// @return Whether the union's current tag state has value "sso_remove_cert". +/// +- (BOOL)isSsoRemoveCert; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_remove_login_url". +/// +/// @return Whether the union's current tag state has value +/// "sso_remove_login_url". +/// +- (BOOL)isSsoRemoveLoginUrl; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_remove_logout_url". +/// +/// @return Whether the union's current tag state has value +/// "sso_remove_logout_url". +/// +- (BOOL)isSsoRemoveLogoutUrl; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_folder_change_status". +/// +/// @return Whether the union's current tag state has value +/// "team_folder_change_status". +/// +- (BOOL)isTeamFolderChangeStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_folder_create". +/// +/// @return Whether the union's current tag state has value +/// "team_folder_create". +/// +- (BOOL)isTeamFolderCreate; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_folder_downgrade". +/// +/// @return Whether the union's current tag state has value +/// "team_folder_downgrade". +/// +- (BOOL)isTeamFolderDowngrade; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_folder_permanently_delete". +/// +/// @return Whether the union's current tag state has value +/// "team_folder_permanently_delete". +/// +- (BOOL)isTeamFolderPermanentlyDelete; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_folder_rename". +/// +/// @return Whether the union's current tag state has value +/// "team_folder_rename". +/// +- (BOOL)isTeamFolderRename; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_selective_sync_settings_changed". +/// +/// @return Whether the union's current tag state has value +/// "team_selective_sync_settings_changed". +/// +- (BOOL)isTeamSelectiveSyncSettingsChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "account_capture_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "account_capture_change_policy". +/// +- (BOOL)isAccountCaptureChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "admin_email_reminders_changed". +/// +/// @return Whether the union's current tag state has value +/// "admin_email_reminders_changed". +/// +- (BOOL)isAdminEmailRemindersChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "allow_download_disabled". +/// +/// @return Whether the union's current tag state has value +/// "allow_download_disabled". +/// +- (BOOL)isAllowDownloadDisabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "allow_download_enabled". +/// +/// @return Whether the union's current tag state has value +/// "allow_download_enabled". +/// +- (BOOL)isAllowDownloadEnabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "app_permissions_changed". +/// +/// @return Whether the union's current tag state has value +/// "app_permissions_changed". +/// +- (BOOL)isAppPermissionsChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "camera_uploads_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "camera_uploads_policy_changed". +/// +- (BOOL)isCameraUploadsPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "capture_transcript_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "capture_transcript_policy_changed". +/// +- (BOOL)isCaptureTranscriptPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "classification_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "classification_change_policy". +/// +- (BOOL)isClassificationChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "computer_backup_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "computer_backup_policy_changed". +/// +- (BOOL)isComputerBackupPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "content_administration_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "content_administration_policy_changed". +/// +- (BOOL)isContentAdministrationPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "data_placement_restriction_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "data_placement_restriction_change_policy". +/// +- (BOOL)isDataPlacementRestrictionChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy". +/// +/// @return Whether the union's current tag state has value +/// "data_placement_restriction_satisfy_policy". +/// +- (BOOL)isDataPlacementRestrictionSatisfyPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_add_exception". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_add_exception". +/// +- (BOOL)isDeviceApprovalsAddException; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_desktop_policy". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_change_desktop_policy". +/// +- (BOOL)isDeviceApprovalsChangeDesktopPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_mobile_policy". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_change_mobile_policy". +/// +- (BOOL)isDeviceApprovalsChangeMobilePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_overage_action". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_change_overage_action". +/// +- (BOOL)isDeviceApprovalsChangeOverageAction; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_change_unlink_action". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_change_unlink_action". +/// +- (BOOL)isDeviceApprovalsChangeUnlinkAction; + +/// +/// Retrieves whether the union's current tag state has value +/// "device_approvals_remove_exception". +/// +/// @return Whether the union's current tag state has value +/// "device_approvals_remove_exception". +/// +- (BOOL)isDeviceApprovalsRemoveException; + +/// +/// Retrieves whether the union's current tag state has value +/// "directory_restrictions_add_members". +/// +/// @return Whether the union's current tag state has value +/// "directory_restrictions_add_members". +/// +- (BOOL)isDirectoryRestrictionsAddMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "directory_restrictions_remove_members". +/// +/// @return Whether the union's current tag state has value +/// "directory_restrictions_remove_members". +/// +- (BOOL)isDirectoryRestrictionsRemoveMembers; + +/// +/// Retrieves whether the union's current tag state has value +/// "dropbox_passwords_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "dropbox_passwords_policy_changed". +/// +- (BOOL)isDropboxPasswordsPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "email_ingest_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "email_ingest_policy_changed". +/// +- (BOOL)isEmailIngestPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_add_exception". +/// +/// @return Whether the union's current tag state has value "emm_add_exception". +/// +- (BOOL)isEmmAddException; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_change_policy". +/// +/// @return Whether the union's current tag state has value "emm_change_policy". +/// +- (BOOL)isEmmChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "emm_remove_exception". +/// +/// @return Whether the union's current tag state has value +/// "emm_remove_exception". +/// +- (BOOL)isEmmRemoveException; + +/// +/// Retrieves whether the union's current tag state has value +/// "extended_version_history_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "extended_version_history_change_policy". +/// +- (BOOL)isExtendedVersionHistoryChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "external_drive_backup_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "external_drive_backup_policy_changed". +/// +- (BOOL)isExternalDriveBackupPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_comments_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "file_comments_change_policy". +/// +- (BOOL)isFileCommentsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_locking_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "file_locking_policy_changed". +/// +- (BOOL)isFileLockingPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_provider_migration_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "file_provider_migration_policy_changed". +/// +- (BOOL)isFileProviderMigrationPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_requests_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "file_requests_change_policy". +/// +- (BOOL)isFileRequestsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_requests_emails_enabled". +/// +/// @return Whether the union's current tag state has value +/// "file_requests_emails_enabled". +/// +- (BOOL)isFileRequestsEmailsEnabled; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_requests_emails_restricted_to_team_only". +/// +/// @return Whether the union's current tag state has value +/// "file_requests_emails_restricted_to_team_only". +/// +- (BOOL)isFileRequestsEmailsRestrictedToTeamOnly; + +/// +/// Retrieves whether the union's current tag state has value +/// "file_transfers_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "file_transfers_policy_changed". +/// +- (BOOL)isFileTransfersPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "folder_link_restriction_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "folder_link_restriction_policy_changed". +/// +- (BOOL)isFolderLinkRestrictionPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "google_sso_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "google_sso_change_policy". +/// +- (BOOL)isGoogleSsoChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "group_user_management_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "group_user_management_change_policy". +/// +- (BOOL)isGroupUserManagementChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "integration_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "integration_policy_changed". +/// +- (BOOL)isIntegrationPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "invite_acceptance_email_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "invite_acceptance_email_policy_changed". +/// +- (BOOL)isInviteAcceptanceEmailPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_requests_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "member_requests_change_policy". +/// +- (BOOL)isMemberRequestsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_send_invite_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "member_send_invite_policy_changed". +/// +- (BOOL)isMemberSendInvitePolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_add_exception". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_add_exception". +/// +- (BOOL)isMemberSpaceLimitsAddException; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_caps_type_policy". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_caps_type_policy". +/// +- (BOOL)isMemberSpaceLimitsChangeCapsTypePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_change_policy". +/// +- (BOOL)isMemberSpaceLimitsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_space_limits_remove_exception". +/// +/// @return Whether the union's current tag state has value +/// "member_space_limits_remove_exception". +/// +- (BOOL)isMemberSpaceLimitsRemoveException; + +/// +/// Retrieves whether the union's current tag state has value +/// "member_suggestions_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "member_suggestions_change_policy". +/// +- (BOOL)isMemberSuggestionsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "microsoft_office_addin_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "microsoft_office_addin_change_policy". +/// +- (BOOL)isMicrosoftOfficeAddinChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "network_control_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "network_control_change_policy". +/// +- (BOOL)isNetworkControlChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_change_deployment_policy". +/// +/// @return Whether the union's current tag state has value +/// "paper_change_deployment_policy". +/// +- (BOOL)isPaperChangeDeploymentPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_change_member_link_policy". +/// +/// @return Whether the union's current tag state has value +/// "paper_change_member_link_policy". +/// +- (BOOL)isPaperChangeMemberLinkPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_change_member_policy". +/// +/// @return Whether the union's current tag state has value +/// "paper_change_member_policy". +/// +- (BOOL)isPaperChangeMemberPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "paper_change_policy". +/// +- (BOOL)isPaperChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_default_folder_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "paper_default_folder_policy_changed". +/// +- (BOOL)isPaperDefaultFolderPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_desktop_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "paper_desktop_policy_changed". +/// +- (BOOL)isPaperDesktopPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_enabled_users_group_addition". +/// +/// @return Whether the union's current tag state has value +/// "paper_enabled_users_group_addition". +/// +- (BOOL)isPaperEnabledUsersGroupAddition; + +/// +/// Retrieves whether the union's current tag state has value +/// "paper_enabled_users_group_removal". +/// +/// @return Whether the union's current tag state has value +/// "paper_enabled_users_group_removal". +/// +- (BOOL)isPaperEnabledUsersGroupRemoval; + +/// +/// Retrieves whether the union's current tag state has value +/// "password_strength_requirements_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "password_strength_requirements_change_policy". +/// +- (BOOL)isPasswordStrengthRequirementsChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "permanent_delete_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "permanent_delete_change_policy". +/// +- (BOOL)isPermanentDeleteChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "reseller_support_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "reseller_support_change_policy". +/// +- (BOOL)isResellerSupportChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "rewind_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "rewind_policy_changed". +/// +- (BOOL)isRewindPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "send_for_signature_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "send_for_signature_policy_changed". +/// +- (BOOL)isSendForSignaturePolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_folder_join_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_folder_join_policy". +/// +- (BOOL)isSharingChangeFolderJoinPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_link_allow_change_expiration_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_link_allow_change_expiration_policy". +/// +- (BOOL)isSharingChangeLinkAllowChangeExpirationPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_link_default_expiration_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_link_default_expiration_policy". +/// +- (BOOL)isSharingChangeLinkDefaultExpirationPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_link_enforce_password_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_link_enforce_password_policy". +/// +- (BOOL)isSharingChangeLinkEnforcePasswordPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_link_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_link_policy". +/// +- (BOOL)isSharingChangeLinkPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "sharing_change_member_policy". +/// +/// @return Whether the union's current tag state has value +/// "sharing_change_member_policy". +/// +- (BOOL)isSharingChangeMemberPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_change_download_policy". +/// +/// @return Whether the union's current tag state has value +/// "showcase_change_download_policy". +/// +- (BOOL)isShowcaseChangeDownloadPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_change_enabled_policy". +/// +/// @return Whether the union's current tag state has value +/// "showcase_change_enabled_policy". +/// +- (BOOL)isShowcaseChangeEnabledPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "showcase_change_external_sharing_policy". +/// +/// @return Whether the union's current tag state has value +/// "showcase_change_external_sharing_policy". +/// +- (BOOL)isShowcaseChangeExternalSharingPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "smarter_smart_sync_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "smarter_smart_sync_policy_changed". +/// +- (BOOL)isSmarterSmartSyncPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "smart_sync_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "smart_sync_change_policy". +/// +- (BOOL)isSmartSyncChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "smart_sync_not_opt_out". +/// +/// @return Whether the union's current tag state has value +/// "smart_sync_not_opt_out". +/// +- (BOOL)isSmartSyncNotOptOut; + +/// +/// Retrieves whether the union's current tag state has value +/// "smart_sync_opt_out". +/// +/// @return Whether the union's current tag state has value +/// "smart_sync_opt_out". +/// +- (BOOL)isSmartSyncOptOut; + +/// +/// Retrieves whether the union's current tag state has value +/// "sso_change_policy". +/// +/// @return Whether the union's current tag state has value "sso_change_policy". +/// +- (BOOL)isSsoChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_branding_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "team_branding_policy_changed". +/// +- (BOOL)isTeamBrandingPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_extensions_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "team_extensions_policy_changed". +/// +- (BOOL)isTeamExtensionsPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_selective_sync_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "team_selective_sync_policy_changed". +/// +- (BOOL)isTeamSelectiveSyncPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_sharing_whitelist_subjects_changed". +/// +/// @return Whether the union's current tag state has value +/// "team_sharing_whitelist_subjects_changed". +/// +- (BOOL)isTeamSharingWhitelistSubjectsChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_add_exception". +/// +/// @return Whether the union's current tag state has value "tfa_add_exception". +/// +- (BOOL)isTfaAddException; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_change_policy". +/// +/// @return Whether the union's current tag state has value "tfa_change_policy". +/// +- (BOOL)isTfaChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_remove_exception". +/// +/// @return Whether the union's current tag state has value +/// "tfa_remove_exception". +/// +- (BOOL)isTfaRemoveException; + +/// +/// Retrieves whether the union's current tag state has value +/// "two_account_change_policy". +/// +/// @return Whether the union's current tag state has value +/// "two_account_change_policy". +/// +- (BOOL)isTwoAccountChangePolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "viewer_info_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "viewer_info_policy_changed". +/// +- (BOOL)isViewerInfoPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "watermarking_policy_changed". +/// +/// @return Whether the union's current tag state has value +/// "watermarking_policy_changed". +/// +- (BOOL)isWatermarkingPolicyChanged; + +/// +/// Retrieves whether the union's current tag state has value +/// "web_sessions_change_active_session_limit". +/// +/// @return Whether the union's current tag state has value +/// "web_sessions_change_active_session_limit". +/// +- (BOOL)isWebSessionsChangeActiveSessionLimit; + +/// +/// Retrieves whether the union's current tag state has value +/// "web_sessions_change_fixed_length_policy". +/// +/// @return Whether the union's current tag state has value +/// "web_sessions_change_fixed_length_policy". +/// +- (BOOL)isWebSessionsChangeFixedLengthPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "web_sessions_change_idle_length_policy". +/// +/// @return Whether the union's current tag state has value +/// "web_sessions_change_idle_length_policy". +/// +- (BOOL)isWebSessionsChangeIdleLengthPolicy; + +/// +/// Retrieves whether the union's current tag state has value +/// "data_residency_migration_request_successful". +/// +/// @return Whether the union's current tag state has value +/// "data_residency_migration_request_successful". +/// +- (BOOL)isDataResidencyMigrationRequestSuccessful; + +/// +/// Retrieves whether the union's current tag state has value +/// "data_residency_migration_request_unsuccessful". +/// +/// @return Whether the union's current tag state has value +/// "data_residency_migration_request_unsuccessful". +/// +- (BOOL)isDataResidencyMigrationRequestUnsuccessful; + +/// +/// Retrieves whether the union's current tag state has value "team_merge_from". +/// +/// @return Whether the union's current tag state has value "team_merge_from". +/// +- (BOOL)isTeamMergeFrom; + +/// +/// Retrieves whether the union's current tag state has value "team_merge_to". +/// +/// @return Whether the union's current tag state has value "team_merge_to". +/// +- (BOOL)isTeamMergeTo; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_add_background". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_add_background". +/// +- (BOOL)isTeamProfileAddBackground; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_add_logo". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_add_logo". +/// +- (BOOL)isTeamProfileAddLogo; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_change_background". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_change_background". +/// +- (BOOL)isTeamProfileChangeBackground; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_change_default_language". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_change_default_language". +/// +- (BOOL)isTeamProfileChangeDefaultLanguage; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_change_logo". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_change_logo". +/// +- (BOOL)isTeamProfileChangeLogo; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_change_name". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_change_name". +/// +- (BOOL)isTeamProfileChangeName; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_remove_background". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_remove_background". +/// +- (BOOL)isTeamProfileRemoveBackground; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_profile_remove_logo". +/// +/// @return Whether the union's current tag state has value +/// "team_profile_remove_logo". +/// +- (BOOL)isTeamProfileRemoveLogo; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_add_backup_phone". +/// +/// @return Whether the union's current tag state has value +/// "tfa_add_backup_phone". +/// +- (BOOL)isTfaAddBackupPhone; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_add_security_key". +/// +/// @return Whether the union's current tag state has value +/// "tfa_add_security_key". +/// +- (BOOL)isTfaAddSecurityKey; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_change_backup_phone". +/// +/// @return Whether the union's current tag state has value +/// "tfa_change_backup_phone". +/// +- (BOOL)isTfaChangeBackupPhone; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_change_status". +/// +/// @return Whether the union's current tag state has value "tfa_change_status". +/// +- (BOOL)isTfaChangeStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_remove_backup_phone". +/// +/// @return Whether the union's current tag state has value +/// "tfa_remove_backup_phone". +/// +- (BOOL)isTfaRemoveBackupPhone; + +/// +/// Retrieves whether the union's current tag state has value +/// "tfa_remove_security_key". +/// +/// @return Whether the union's current tag state has value +/// "tfa_remove_security_key". +/// +- (BOOL)isTfaRemoveSecurityKey; + +/// +/// Retrieves whether the union's current tag state has value "tfa_reset". +/// +/// @return Whether the union's current tag state has value "tfa_reset". +/// +- (BOOL)isTfaReset; + +/// +/// Retrieves whether the union's current tag state has value +/// "changed_enterprise_admin_role". +/// +/// @return Whether the union's current tag state has value +/// "changed_enterprise_admin_role". +/// +- (BOOL)isChangedEnterpriseAdminRole; + +/// +/// Retrieves whether the union's current tag state has value +/// "changed_enterprise_connected_team_status". +/// +/// @return Whether the union's current tag state has value +/// "changed_enterprise_connected_team_status". +/// +- (BOOL)isChangedEnterpriseConnectedTeamStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "ended_enterprise_admin_session". +/// +/// @return Whether the union's current tag state has value +/// "ended_enterprise_admin_session". +/// +- (BOOL)isEndedEnterpriseAdminSession; + +/// +/// Retrieves whether the union's current tag state has value +/// "ended_enterprise_admin_session_deprecated". +/// +/// @return Whether the union's current tag state has value +/// "ended_enterprise_admin_session_deprecated". +/// +- (BOOL)isEndedEnterpriseAdminSessionDeprecated; + +/// +/// Retrieves whether the union's current tag state has value +/// "enterprise_settings_locking". +/// +/// @return Whether the union's current tag state has value +/// "enterprise_settings_locking". +/// +- (BOOL)isEnterpriseSettingsLocking; + +/// +/// Retrieves whether the union's current tag state has value +/// "guest_admin_change_status". +/// +/// @return Whether the union's current tag state has value +/// "guest_admin_change_status". +/// +- (BOOL)isGuestAdminChangeStatus; + +/// +/// Retrieves whether the union's current tag state has value +/// "started_enterprise_admin_session". +/// +/// @return Whether the union's current tag state has value +/// "started_enterprise_admin_session". +/// +- (BOOL)isStartedEnterpriseAdminSession; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_accepted". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_accepted". +/// +- (BOOL)isTeamMergeRequestAccepted; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestAcceptedShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_accepted_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestAcceptedShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_auto_canceled". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_auto_canceled". +/// +- (BOOL)isTeamMergeRequestAutoCanceled; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_canceled". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_canceled". +/// +- (BOOL)isTeamMergeRequestCanceled; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_canceled_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_canceled_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestCanceledShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_canceled_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_canceled_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestCanceledShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_expired". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_expired". +/// +- (BOOL)isTeamMergeRequestExpired; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_expired_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_expired_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestExpiredShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_expired_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_expired_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestExpiredShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_rejected_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_rejected_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestRejectedShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_rejected_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_rejected_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestRejectedShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_reminder". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_reminder". +/// +- (BOOL)isTeamMergeRequestReminder; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_reminder_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_reminder_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestReminderShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_reminder_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_reminder_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestReminderShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_revoked". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_revoked". +/// +- (BOOL)isTeamMergeRequestRevoked; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_primary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_primary_team". +/// +- (BOOL)isTeamMergeRequestSentShownToPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_secondary_team". +/// +/// @return Whether the union's current tag state has value +/// "team_merge_request_sent_shown_to_secondary_team". +/// +- (BOOL)isTeamMergeRequestSentShownToSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGEventTypeArg` union. +/// +@interface DBTEAMLOGEventTypeArgSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGEventTypeArg` instances. +/// +/// @param instance An instance of the `DBTEAMLOGEventTypeArg` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGEventTypeArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGEventTypeArg *)instance; + +/// +/// Deserializes `DBTEAMLOGEventTypeArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGEventTypeArg` API object. +/// +/// @return An instantiation of the `DBTEAMLOGEventTypeArg` object. +/// ++ (DBTEAMLOGEventTypeArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportDetails.h similarity index 51% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamDownloadDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportDetails.h index d9b04b440..408b8840b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamDownloadDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelTeamDownloadDetails; +@class DBTEAMLOGExportMembersReportDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelTeamDownloadDetails` struct. +/// The `ExportMembersReportDetails` struct. /// -/// Downloaded a team member's file/folder from a link. +/// Created member data report. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelTeamDownloadDetails : NSObject +@interface DBTEAMLOGExportMembersReportDetails : NSObject #pragma mark - Instance fields @@ -43,31 +43,31 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelTeamDownloadDetails` struct. +/// The serialization class for the `ExportMembersReportDetails` struct. /// -@interface DBTEAMLOGShmodelTeamDownloadDetailsSerializer : NSObject +@interface DBTEAMLOGExportMembersReportDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelTeamDownloadDetails` instances. +/// Serializes `DBTEAMLOGExportMembersReportDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelTeamDownloadDetails` API +/// @param instance An instance of the `DBTEAMLOGExportMembersReportDetails` API /// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamDownloadDetails` API object. +/// `DBTEAMLOGExportMembersReportDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelTeamDownloadDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExportMembersReportDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelTeamDownloadDetails` instances. +/// Deserializes `DBTEAMLOGExportMembersReportDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamDownloadDetails` API object. +/// `DBTEAMLOGExportMembersReportDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelTeamDownloadDetails` +/// @return An instantiation of the `DBTEAMLOGExportMembersReportDetails` /// object. /// -+ (DBTEAMLOGShmodelTeamDownloadDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGExportMembersReportDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailDetails.h new file mode 100644 index 000000000..e893b6e52 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExportMembersReportFailDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportMembersReportFailDetails` struct. +/// +/// Failed to create members data report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExportMembersReportFailDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportMembersReportFailDetails` struct. +/// +@interface DBTEAMLOGExportMembersReportFailDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExportMembersReportFailDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExportMembersReportFailDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportFailDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExportMembersReportFailDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExportMembersReportFailDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportFailDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExportMembersReportFailDetails` +/// object. +/// ++ (DBTEAMLOGExportMembersReportFailDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailType.h new file mode 100644 index 000000000..228047e5e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportFailType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExportMembersReportFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportMembersReportFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExportMembersReportFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportMembersReportFailType` struct. +/// +@interface DBTEAMLOGExportMembersReportFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExportMembersReportFailType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExportMembersReportFailType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExportMembersReportFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGExportMembersReportFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportFailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExportMembersReportFailType` +/// object. +/// ++ (DBTEAMLOGExportMembersReportFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportType.h new file mode 100644 index 000000000..cf1d73677 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExportMembersReportType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExportMembersReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExportMembersReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExportMembersReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExportMembersReportType` struct. +/// +@interface DBTEAMLOGExportMembersReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExportMembersReportType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExportMembersReportType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExportMembersReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGExportMembersReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExportMembersReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExportMembersReportType` object. +/// ++ (DBTEAMLOGExportMembersReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h index c0c9835cc..81a7abd81 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `ExtendedVersionHistoryChangePolicyDetails` struct. /// -/// Accepted or opted out of extended version history. +/// Accepted/opted out of extended version history. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGExtendedVersionHistoryChangePolicyDetails` object. /// -+ (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGExtendedVersionHistoryChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyType.h new file mode 100644 index 000000000..584836ec3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryChangePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExtendedVersionHistoryChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExtendedVersionHistoryChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExtendedVersionHistoryChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExtendedVersionHistoryChangePolicyType` +/// struct. +/// +@interface DBTEAMLOGExtendedVersionHistoryChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExtendedVersionHistoryChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExtendedVersionHistoryChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExtendedVersionHistoryChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGExtendedVersionHistoryChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExtendedVersionHistoryChangePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExtendedVersionHistoryChangePolicyType` object. +/// ++ (DBTEAMLOGExtendedVersionHistoryChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryPolicy.h index 600833982..b1be1f93d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExtendedVersionHistoryPolicy.h @@ -28,18 +28,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGExtendedVersionHistoryPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGExtendedVersionHistoryPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag) { - /// (no description). - DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag){ + /// (no description). + DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyLimited, - /// (no description). - DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited, + /// (no description). + DBTEAMLOGExtendedVersionHistoryPolicyExplicitlyUnlimited, - /// (no description). - DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited, + /// (no description). + DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyLimited, - /// (no description). - DBTEAMLOGExtendedVersionHistoryPolicyOther, + /// (no description). + DBTEAMLOGExtendedVersionHistoryPolicyImplicitlyUnlimited, + + /// (no description). + DBTEAMLOGExtendedVersionHistoryPolicyOther, }; @@ -69,6 +72,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag) { /// - (instancetype)initWithImplicitlyLimited; +/// +/// Initializes union class with tag state of "implicitly_unlimited". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithImplicitlyUnlimited; + /// /// Initializes union class with tag state of "other". /// @@ -107,6 +117,15 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag) { /// - (BOOL)isImplicitlyLimited; +/// +/// Retrieves whether the union's current tag state has value +/// "implicitly_unlimited". +/// +/// @return Whether the union's current tag state has value +/// "implicitly_unlimited". +/// +- (BOOL)isImplicitlyUnlimited; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -140,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGExtendedVersionHistoryPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExtendedVersionHistoryPolicy *)instance; /// /// Deserializes `DBTEAMLOGExtendedVersionHistoryPolicy` instances. @@ -151,7 +170,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGExtendedVersionHistoryPolicyTag) { /// @return An instantiation of the `DBTEAMLOGExtendedVersionHistoryPolicy` /// object. /// -+ (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGExtendedVersionHistoryPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatus.h new file mode 100644 index 000000000..528c2becc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatus.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupEligibilityStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupEligibilityStatus` union. +/// +/// External Drive Backup eligibility status +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGExternalDriveBackupEligibilityStatusTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGExternalDriveBackupEligibilityStatusTag){ + /// (no description). + DBTEAMLOGExternalDriveBackupEligibilityStatusExceedLicenseCap, + + /// (no description). + DBTEAMLOGExternalDriveBackupEligibilityStatusSuccess, + + /// (no description). + DBTEAMLOGExternalDriveBackupEligibilityStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupEligibilityStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "exceed_license_cap". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExceedLicenseCap; + +/// +/// Initializes union class with tag state of "success". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuccess; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "exceed_license_cap". +/// +/// @return Whether the union's current tag state has value +/// "exceed_license_cap". +/// +- (BOOL)isExceedLicenseCap; + +/// +/// Retrieves whether the union's current tag state has value "success". +/// +/// @return Whether the union's current tag state has value "success". +/// +- (BOOL)isSuccess; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` union. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatusSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupEligibilityStatus` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupEligibilityStatus *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupEligibilityStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatus` object. +/// ++ (DBTEAMLOGExternalDriveBackupEligibilityStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h new file mode 100644 index 000000000..14abded29 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDesktopDeviceSessionLogInfo; +@class DBTEAMLOGExternalDriveBackupEligibilityStatus; +@class DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupEligibilityStatusCheckedDetails` struct. +/// +/// Checked external drive backup eligibility status. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails : NSObject + +#pragma mark - Instance fields + +/// Device's session logged information. +@property (nonatomic, readonly) DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo; + +/// Current eligibility status of external drive backup. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupEligibilityStatus *status; + +/// Total number of valid external drive backup for all the team members. +@property (nonatomic, readonly) NSNumber *numberOfExternalDriveBackup; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param desktopDeviceSessionInfo Device's session logged information. +/// @param status Current eligibility status of external drive backup. +/// @param numberOfExternalDriveBackup Total number of valid external drive +/// backup for all the team members. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + status:(DBTEAMLOGExternalDriveBackupEligibilityStatus *)status + numberOfExternalDriveBackup:(NSNumber *)numberOfExternalDriveBackup; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `ExternalDriveBackupEligibilityStatusCheckedDetails` struct. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails` object. +/// ++ (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h new file mode 100644 index 000000000..ddbc91a27 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupEligibilityStatusCheckedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `ExternalDriveBackupEligibilityStatusCheckedType` struct. +/// +@interface DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType` object. +/// ++ (DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicy.h new file mode 100644 index 000000000..355de5cac --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicy.h @@ -0,0 +1,152 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupPolicy` union. +/// +/// Policy for controlling team access to external drive backup feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGExternalDriveBackupPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGExternalDriveBackupPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGExternalDriveBackupPolicyTag){ + /// (no description). + DBTEAMLOGExternalDriveBackupPolicyDefault_, + + /// (no description). + DBTEAMLOGExternalDriveBackupPolicyDisabled, + + /// (no description). + DBTEAMLOGExternalDriveBackupPolicyEnabled, + + /// (no description). + DBTEAMLOGExternalDriveBackupPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "default". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGExternalDriveBackupPolicy` union. +/// +@interface DBTEAMLOGExternalDriveBackupPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExternalDriveBackupPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExternalDriveBackupPolicy` object. +/// ++ (DBTEAMLOGExternalDriveBackupPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h new file mode 100644 index 000000000..f037a1224 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupPolicy; +@class DBTEAMLOGExternalDriveBackupPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupPolicyChangedDetails` struct. +/// +/// Changed external drive backup policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New external drive backup policy. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupPolicy *dNewValue; + +/// Previous external drive backup policy. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New external drive backup policy. +/// @param previousValue Previous external drive backup policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGExternalDriveBackupPolicy *)dNewValue + previousValue:(DBTEAMLOGExternalDriveBackupPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalDriveBackupPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGExternalDriveBackupPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedDetails` object. +/// ++ (DBTEAMLOGExternalDriveBackupPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedType.h new file mode 100644 index 000000000..c9646088b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalDriveBackupPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGExternalDriveBackupPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupPolicyChangedType` object. +/// ++ (DBTEAMLOGExternalDriveBackupPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatus.h new file mode 100644 index 000000000..6cba7bf95 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatus.h @@ -0,0 +1,204 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupStatus` union. +/// +/// External Drive Backup status +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGExternalDriveBackupStatusTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGExternalDriveBackupStatus` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGExternalDriveBackupStatusTag){ + /// (no description). + DBTEAMLOGExternalDriveBackupStatusBroken, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusCreated, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusCreatedOrBroken, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusDeleted, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusEmpty, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusUnknown, + + /// (no description). + DBTEAMLOGExternalDriveBackupStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "broken". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithBroken; + +/// +/// Initializes union class with tag state of "created". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreated; + +/// +/// Initializes union class with tag state of "created_or_broken". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCreatedOrBroken; + +/// +/// Initializes union class with tag state of "deleted". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleted; + +/// +/// Initializes union class with tag state of "empty". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmpty; + +/// +/// Initializes union class with tag state of "unknown". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnknown; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "broken". +/// +/// @return Whether the union's current tag state has value "broken". +/// +- (BOOL)isBroken; + +/// +/// Retrieves whether the union's current tag state has value "created". +/// +/// @return Whether the union's current tag state has value "created". +/// +- (BOOL)isCreated; + +/// +/// Retrieves whether the union's current tag state has value +/// "created_or_broken". +/// +/// @return Whether the union's current tag state has value "created_or_broken". +/// +- (BOOL)isCreatedOrBroken; + +/// +/// Retrieves whether the union's current tag state has value "deleted". +/// +/// @return Whether the union's current tag state has value "deleted". +/// +- (BOOL)isDeleted; + +/// +/// Retrieves whether the union's current tag state has value "empty". +/// +/// @return Whether the union's current tag state has value "empty". +/// +- (BOOL)isEmpty; + +/// +/// Retrieves whether the union's current tag state has value "unknown". +/// +/// @return Whether the union's current tag state has value "unknown". +/// +- (BOOL)isUnknown; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGExternalDriveBackupStatus` union. +/// +@interface DBTEAMLOGExternalDriveBackupStatusSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupStatus` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExternalDriveBackupStatus` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatus *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatus` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExternalDriveBackupStatus` object. +/// ++ (DBTEAMLOGExternalDriveBackupStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedDetails.h new file mode 100644 index 000000000..d69b665df --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedDetails.h @@ -0,0 +1,92 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDesktopDeviceSessionLogInfo; +@class DBTEAMLOGExternalDriveBackupStatus; +@class DBTEAMLOGExternalDriveBackupStatusChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupStatusChangedDetails` struct. +/// +/// Modified external drive backup. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupStatusChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Device's session logged information. +@property (nonatomic, readonly) DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSessionInfo; + +/// Previous status of this external drive backup. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupStatus *previousValue; + +/// Next status of this external drive backup. +@property (nonatomic, readonly) DBTEAMLOGExternalDriveBackupStatus *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param desktopDeviceSessionInfo Device's session logged information. +/// @param previousValue Previous status of this external drive backup. +/// @param dNewValue Next status of this external drive backup. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDesktopDeviceSessionInfo:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSessionInfo + previousValue:(DBTEAMLOGExternalDriveBackupStatus *)previousValue + dNewValue:(DBTEAMLOGExternalDriveBackupStatus *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalDriveBackupStatusChangedDetails` +/// struct. +/// +@interface DBTEAMLOGExternalDriveBackupStatusChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupStatusChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatusChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupStatusChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedDetails` object. +/// ++ (DBTEAMLOGExternalDriveBackupStatusChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedType.h new file mode 100644 index 000000000..c069df409 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalDriveBackupStatusChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalDriveBackupStatusChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupStatusChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalDriveBackupStatusChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalDriveBackupStatusChangedType` +/// struct. +/// +@interface DBTEAMLOGExternalDriveBackupStatusChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalDriveBackupStatusChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalDriveBackupStatusChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalDriveBackupStatusChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalDriveBackupStatusChangedType` object. +/// ++ (DBTEAMLOGExternalDriveBackupStatusChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportDetails.h new file mode 100644 index 000000000..5dfa63b7c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalSharingCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalSharingCreateReportDetails` struct. +/// +/// Created External sharing report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalSharingCreateReportDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalSharingCreateReportDetails` struct. +/// +@interface DBTEAMLOGExternalSharingCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalSharingCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalSharingCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalSharingCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalSharingCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalSharingCreateReportDetails` object. +/// ++ (DBTEAMLOGExternalSharingCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportType.h new file mode 100644 index 000000000..697f62704 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalSharingCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalSharingCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalSharingCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalSharingCreateReportType` struct. +/// +@interface DBTEAMLOGExternalSharingCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalSharingCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalSharingCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalSharingCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalSharingCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExternalSharingCreateReportType` +/// object. +/// ++ (DBTEAMLOGExternalSharingCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedDetails.h new file mode 100644 index 000000000..20809c2ea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalSharingReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalSharingReportFailedDetails` struct. +/// +/// Couldn't create External sharing report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalSharingReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalSharingReportFailedDetails` struct. +/// +@interface DBTEAMLOGExternalSharingReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalSharingReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalSharingReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalSharingReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalSharingReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGExternalSharingReportFailedDetails` object. +/// ++ (DBTEAMLOGExternalSharingReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedType.h new file mode 100644 index 000000000..35e497f28 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalSharingReportFailedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalSharingReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalSharingReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalSharingReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalSharingReportFailedType` struct. +/// +@interface DBTEAMLOGExternalSharingReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalSharingReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGExternalSharingReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalSharingReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalSharingReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalSharingReportFailedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExternalSharingReportFailedType` +/// object. +/// ++ (DBTEAMLOGExternalSharingReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalUserLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalUserLogInfo.h new file mode 100644 index 000000000..5264faae7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGExternalUserLogInfo.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalUserLogInfo; +@class DBTEAMLOGIdentifierType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalUserLogInfo` struct. +/// +/// A user without a Dropbox account. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGExternalUserLogInfo : NSObject + +#pragma mark - Instance fields + +/// An external user identifier. +@property (nonatomic, readonly, copy) NSString *userIdentifier; + +/// Identifier type. +@property (nonatomic, readonly) DBTEAMLOGIdentifierType *identifierType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param userIdentifier An external user identifier. +/// @param identifierType Identifier type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserIdentifier:(NSString *)userIdentifier + identifierType:(DBTEAMLOGIdentifierType *)identifierType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ExternalUserLogInfo` struct. +/// +@interface DBTEAMLOGExternalUserLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGExternalUserLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGExternalUserLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalUserLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGExternalUserLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGExternalUserLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGExternalUserLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGExternalUserLogInfo` object. +/// ++ (DBTEAMLOGExternalUserLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFailureDetailsLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFailureDetailsLogInfo.h index ac660dd9c..e95b76b59 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFailureDetailsLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFailureDetailsLogInfo.h @@ -27,8 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// A user friendly explanation of the error. Might be missing due to historical -/// data gap. +/// A user friendly explanation of the error. @property (nonatomic, readonly, copy, nullable) NSString *userFriendlyMessage; /// A technical explanation of the error. This is relevant for some errors. @@ -39,8 +38,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param userFriendlyMessage A user friendly explanation of the error. Might -/// be missing due to historical data gap. +/// @param userFriendlyMessage A user friendly explanation of the error. /// @param technicalErrorMessage A technical explanation of the error. This is /// relevant for some errors. /// @@ -78,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFailureDetailsLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFailureDetailsLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFailureDetailsLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFailureDetailsLogInfo` instances. @@ -88,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFailureDetailsLogInfo` object. /// -+ (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFailureDetailsLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedAdminRole.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedAdminRole.h new file mode 100644 index 000000000..960e305bc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedAdminRole.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFedAdminRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FedAdminRole` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFedAdminRole : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFedAdminRoleTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGFedAdminRole` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFedAdminRoleTag){ + /// (no description). + DBTEAMLOGFedAdminRoleEnterpriseAdmin, + + /// (no description). + DBTEAMLOGFedAdminRoleNotEnterpriseAdmin, + + /// (no description). + DBTEAMLOGFedAdminRoleOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFedAdminRoleTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "enterprise_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnterpriseAdmin; + +/// +/// Initializes union class with tag state of "not_enterprise_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotEnterpriseAdmin; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "enterprise_admin". +/// +/// @return Whether the union's current tag state has value "enterprise_admin". +/// +- (BOOL)isEnterpriseAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "not_enterprise_admin". +/// +/// @return Whether the union's current tag state has value +/// "not_enterprise_admin". +/// +- (BOOL)isNotEnterpriseAdmin; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGFedAdminRole` union. +/// +@interface DBTEAMLOGFedAdminRoleSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFedAdminRole` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFedAdminRole` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFedAdminRole` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFedAdminRole *)instance; + +/// +/// Deserializes `DBTEAMLOGFedAdminRole` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFedAdminRole` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFedAdminRole` object. +/// ++ (DBTEAMLOGFedAdminRole *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedExtraDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedExtraDetails.h new file mode 100644 index 000000000..57548eaea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedExtraDetails.h @@ -0,0 +1,159 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFedExtraDetails; +@class DBTEAMLOGOrganizationDetails; +@class DBTEAMLOGTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FedExtraDetails` union. +/// +/// More details about the organization or team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFedExtraDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFedExtraDetailsTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGFedExtraDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFedExtraDetailsTag){ + /// More details about the organization. + DBTEAMLOGFedExtraDetailsOrganization, + + /// More details about the team. + DBTEAMLOGFedExtraDetailsTeam, + + /// (no description). + DBTEAMLOGFedExtraDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFedExtraDetailsTag tag; + +/// More details about the organization. @note Ensure the `isOrganization` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGOrganizationDetails *organization; + +/// More details about the team. @note Ensure the `isTeam` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGTeamDetails *team; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "organization". +/// +/// Description of the "organization" tag state: More details about the +/// organization. +/// +/// @param organization More details about the organization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganization:(DBTEAMLOGOrganizationDetails *)organization; + +/// +/// Initializes union class with tag state of "team". +/// +/// Description of the "team" tag state: More details about the team. +/// +/// @param team More details about the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeam:(DBTEAMLOGTeamDetails *)team; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "organization". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `organization` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "organization". +/// +- (BOOL)isOrganization; + +/// +/// Retrieves whether the union's current tag state has value "team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `team` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "team". +/// +- (BOOL)isTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGFedExtraDetails` union. +/// +@interface DBTEAMLOGFedExtraDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFedExtraDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFedExtraDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFedExtraDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFedExtraDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFedExtraDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFedExtraDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFedExtraDetails` object. +/// ++ (DBTEAMLOGFedExtraDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedHandshakeAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedHandshakeAction.h new file mode 100644 index 000000000..146703dc0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFedHandshakeAction.h @@ -0,0 +1,199 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFedHandshakeAction; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FedHandshakeAction` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFedHandshakeAction : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFedHandshakeActionTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGFedHandshakeAction` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFedHandshakeActionTag){ + /// (no description). + DBTEAMLOGFedHandshakeActionAcceptedInvite, + + /// (no description). + DBTEAMLOGFedHandshakeActionCanceledInvite, + + /// (no description). + DBTEAMLOGFedHandshakeActionInviteExpired, + + /// (no description). + DBTEAMLOGFedHandshakeActionInvited, + + /// (no description). + DBTEAMLOGFedHandshakeActionRejectedInvite, + + /// (no description). + DBTEAMLOGFedHandshakeActionRemovedTeam, + + /// (no description). + DBTEAMLOGFedHandshakeActionOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFedHandshakeActionTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "accepted_invite". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAcceptedInvite; + +/// +/// Initializes union class with tag state of "canceled_invite". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithCanceledInvite; + +/// +/// Initializes union class with tag state of "invite_expired". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteExpired; + +/// +/// Initializes union class with tag state of "invited". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvited; + +/// +/// Initializes union class with tag state of "rejected_invite". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRejectedInvite; + +/// +/// Initializes union class with tag state of "removed_team". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRemovedTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "accepted_invite". +/// +/// @return Whether the union's current tag state has value "accepted_invite". +/// +- (BOOL)isAcceptedInvite; + +/// +/// Retrieves whether the union's current tag state has value "canceled_invite". +/// +/// @return Whether the union's current tag state has value "canceled_invite". +/// +- (BOOL)isCanceledInvite; + +/// +/// Retrieves whether the union's current tag state has value "invite_expired". +/// +/// @return Whether the union's current tag state has value "invite_expired". +/// +- (BOOL)isInviteExpired; + +/// +/// Retrieves whether the union's current tag state has value "invited". +/// +/// @return Whether the union's current tag state has value "invited". +/// +- (BOOL)isInvited; + +/// +/// Retrieves whether the union's current tag state has value "rejected_invite". +/// +/// @return Whether the union's current tag state has value "rejected_invite". +/// +- (BOOL)isRejectedInvite; + +/// +/// Retrieves whether the union's current tag state has value "removed_team". +/// +/// @return Whether the union's current tag state has value "removed_team". +/// +- (BOOL)isRemovedTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGFedHandshakeAction` union. +/// +@interface DBTEAMLOGFedHandshakeActionSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFedHandshakeAction` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFedHandshakeAction` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFedHandshakeAction` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFedHandshakeAction *)instance; + +/// +/// Deserializes `DBTEAMLOGFedHandshakeAction` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFedHandshakeAction` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFedHandshakeAction` object. +/// ++ (DBTEAMLOGFedHandshakeAction *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFederationStatusChangeAdditionalInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFederationStatusChangeAdditionalInfo.h new file mode 100644 index 000000000..fb6568003 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFederationStatusChangeAdditionalInfo.h @@ -0,0 +1,199 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGConnectedTeamName; +@class DBTEAMLOGFederationStatusChangeAdditionalInfo; +@class DBTEAMLOGNonTrustedTeamDetails; +@class DBTEAMLOGOrganizationName; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FederationStatusChangeAdditionalInfo` union. +/// +/// Additional information about the organization or connected team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFederationStatusChangeAdditionalInfo : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFederationStatusChangeAdditionalInfoTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFederationStatusChangeAdditionalInfoTag){ + /// The name of the team. + DBTEAMLOGFederationStatusChangeAdditionalInfoConnectedTeamName, + + /// The email to which the request was sent. + DBTEAMLOGFederationStatusChangeAdditionalInfoNonTrustedTeamDetails, + + /// The name of the organization. + DBTEAMLOGFederationStatusChangeAdditionalInfoOrganizationName, + + /// (no description). + DBTEAMLOGFederationStatusChangeAdditionalInfoOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFederationStatusChangeAdditionalInfoTag tag; + +/// The name of the team. @note Ensure the `isConnectedTeamName` method returns +/// true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGConnectedTeamName *connectedTeamName; + +/// The email to which the request was sent. @note Ensure the +/// `isNonTrustedTeamDetails` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGNonTrustedTeamDetails *nonTrustedTeamDetails; + +/// The name of the organization. @note Ensure the `isOrganizationName` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGOrganizationName *organizationName; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "connected_team_name". +/// +/// Description of the "connected_team_name" tag state: The name of the team. +/// +/// @param connectedTeamName The name of the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithConnectedTeamName:(DBTEAMLOGConnectedTeamName *)connectedTeamName; + +/// +/// Initializes union class with tag state of "non_trusted_team_details". +/// +/// Description of the "non_trusted_team_details" tag state: The email to which +/// the request was sent. +/// +/// @param nonTrustedTeamDetails The email to which the request was sent. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNonTrustedTeamDetails:(DBTEAMLOGNonTrustedTeamDetails *)nonTrustedTeamDetails; + +/// +/// Initializes union class with tag state of "organization_name". +/// +/// Description of the "organization_name" tag state: The name of the +/// organization. +/// +/// @param organizationName The name of the organization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganizationName:(DBTEAMLOGOrganizationName *)organizationName; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "connected_team_name". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `connectedTeamName` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "connected_team_name". +/// +- (BOOL)isConnectedTeamName; + +/// +/// Retrieves whether the union's current tag state has value +/// "non_trusted_team_details". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `nonTrustedTeamDetails` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "non_trusted_team_details". +/// +- (BOOL)isNonTrustedTeamDetails; + +/// +/// Retrieves whether the union's current tag state has value +/// "organization_name". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `organizationName` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "organization_name". +/// +- (BOOL)isOrganizationName; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` union. +/// +@interface DBTEAMLOGFederationStatusChangeAdditionalInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFederationStatusChangeAdditionalInfo` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFederationStatusChangeAdditionalInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGFederationStatusChangeAdditionalInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFederationStatusChangeAdditionalInfo` object. +/// ++ (DBTEAMLOGFederationStatusChangeAdditionalInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentDetails.h index 4edea5fc1..c9d7a0742 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileAddCommentDetails` struct. /// -/// Added a file comment. +/// Added file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileAddCommentDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileAddCommentDetails` object. /// -+ (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileAddCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentType.h new file mode 100644 index 000000000..623fedfb4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddCommentType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileAddCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileAddCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileAddCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileAddCommentType` struct. +/// +@interface DBTEAMLOGFileAddCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileAddCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileAddCommentType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileAddCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileAddCommentType` object. +/// ++ (DBTEAMLOGFileAddCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddDetails.h index 41102aaa0..6f6aa5130 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileAddDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddDetails *)instance; /// /// Deserializes `DBTEAMLOGFileAddDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileAddDetails` object. /// -+ (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileAddDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationDetails.h new file mode 100644 index 000000000..07da04381 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileAddFromAutomationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileAddFromAutomationDetails` struct. +/// +/// Added files and/or folders from automation. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileAddFromAutomationDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileAddFromAutomationDetails` struct. +/// +@interface DBTEAMLOGFileAddFromAutomationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileAddFromAutomationDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileAddFromAutomationDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddFromAutomationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddFromAutomationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileAddFromAutomationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddFromAutomationDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileAddFromAutomationDetails` +/// object. +/// ++ (DBTEAMLOGFileAddFromAutomationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationType.h new file mode 100644 index 000000000..9c71353a3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddFromAutomationType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileAddFromAutomationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileAddFromAutomationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileAddFromAutomationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileAddFromAutomationType` struct. +/// +@interface DBTEAMLOGFileAddFromAutomationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileAddFromAutomationType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileAddFromAutomationType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddFromAutomationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddFromAutomationType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileAddFromAutomationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddFromAutomationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileAddFromAutomationType` object. +/// ++ (DBTEAMLOGFileAddFromAutomationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddType.h new file mode 100644 index 000000000..92cf465ee --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileAddType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileAddType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileAddType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileAddType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileAddType` struct. +/// +@interface DBTEAMLOGFileAddTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileAddType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileAddType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileAddType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileAddType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileAddType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileAddType` object. +/// ++ (DBTEAMLOGFileAddType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionDetails.h index 9907fd315..273d21c5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionDetails.h @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGFileChangeCommentSubscriptionDetails` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGFileChangeCommentSubscriptionDetails` object. /// -+ (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileChangeCommentSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionType.h new file mode 100644 index 000000000..3ca72c0b0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileChangeCommentSubscriptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileChangeCommentSubscriptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileChangeCommentSubscriptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileChangeCommentSubscriptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileChangeCommentSubscriptionType` struct. +/// +@interface DBTEAMLOGFileChangeCommentSubscriptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileChangeCommentSubscriptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileChangeCommentSubscriptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileChangeCommentSubscriptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileChangeCommentSubscriptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileChangeCommentSubscriptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileChangeCommentSubscriptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileChangeCommentSubscriptionType` +/// object. +/// ++ (DBTEAMLOGFileChangeCommentSubscriptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentNotificationPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentNotificationPolicy.h index 2175457a0..d4dd0667a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentNotificationPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentNotificationPolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGFileCommentNotificationPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGFileCommentNotificationPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentNotificationPolicyTag) { - /// (no description). - DBTEAMLOGFileCommentNotificationPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileCommentNotificationPolicyTag){ + /// (no description). + DBTEAMLOGFileCommentNotificationPolicyDisabled, - /// (no description). - DBTEAMLOGFileCommentNotificationPolicyEnabled, + /// (no description). + DBTEAMLOGFileCommentNotificationPolicyEnabled, - /// (no description). - DBTEAMLOGFileCommentNotificationPolicyOther, + /// (no description). + DBTEAMLOGFileCommentNotificationPolicyOther, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentNotificationPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentNotificationPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentNotificationPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentNotificationPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileCommentNotificationPolicy` instances. @@ -130,7 +130,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentNotificationPolicyTag) { /// @return An instantiation of the `DBTEAMLOGFileCommentNotificationPolicy` /// object. /// -+ (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileCommentNotificationPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyDetails.h index f7d8c77d2..675f6d381 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileCommentsChangePolicyDetails` struct. /// -/// Enabled or disabled commenting on team files. +/// Enabled/disabled commenting on team files. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileCommentsChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileCommentsChangePolicyDetails` /// object. /// -+ (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileCommentsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyType.h new file mode 100644 index 000000000..39e95736c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileCommentsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileCommentsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileCommentsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileCommentsChangePolicyType` struct. +/// +@interface DBTEAMLOGFileCommentsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileCommentsChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileCommentsChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileCommentsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileCommentsChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileCommentsChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileCommentsChangePolicyType` +/// object. +/// ++ (DBTEAMLOGFileCommentsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsPolicy.h index df95f25da..69ecfdbaa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCommentsPolicy.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGFileCommentsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGFileCommentsPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentsPolicyTag) { - /// (no description). - DBTEAMLOGFileCommentsPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileCommentsPolicyTag){ + /// (no description). + DBTEAMLOGFileCommentsPolicyDisabled, - /// (no description). - DBTEAMLOGFileCommentsPolicyEnabled, + /// (no description). + DBTEAMLOGFileCommentsPolicyEnabled, - /// (no description). - DBTEAMLOGFileCommentsPolicyOther, + /// (no description). + DBTEAMLOGFileCommentsPolicyOther, }; @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentsPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCommentsPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCommentsPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileCommentsPolicy` instances. @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileCommentsPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGFileCommentsPolicy` object. /// -+ (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileCommentsPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyDetails.h index 6c5e60b2e..2656983a1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyDetails.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileCopyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCopyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCopyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileCopyDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileCopyDetails` object. /// -+ (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileCopyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyType.h new file mode 100644 index 000000000..b2b105d81 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileCopyType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileCopyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileCopyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileCopyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileCopyType` struct. +/// +@interface DBTEAMLOGFileCopyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileCopyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileCopyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileCopyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileCopyType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileCopyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileCopyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileCopyType` object. +/// ++ (DBTEAMLOGFileCopyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentDetails.h index 2ce201cdb..941060e41 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileDeleteCommentDetails` struct. /// -/// Deleted a file comment. +/// Deleted file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDeleteCommentDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileDeleteCommentDetails` object. /// -+ (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileDeleteCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentType.h new file mode 100644 index 000000000..d1969b0fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileDeleteCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileDeleteCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileDeleteCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileDeleteCommentType` struct. +/// +@interface DBTEAMLOGFileDeleteCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileDeleteCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileDeleteCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDeleteCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileDeleteCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDeleteCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileDeleteCommentType` object. +/// ++ (DBTEAMLOGFileDeleteCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteDetails.h index 4b96ac95b..3196f113b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDeleteDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileDeleteDetails` object. /// -+ (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteType.h new file mode 100644 index 000000000..ba21d0072 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDeleteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileDeleteType` struct. +/// +@interface DBTEAMLOGFileDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileDeleteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileDeleteType` object. +/// ++ (DBTEAMLOGFileDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadDetails.h index 41989d2c4..5343cd5e8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileDownloadDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDownloadDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGFileDownloadDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileDownloadDetails` object. /// -+ (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileDownloadDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadType.h new file mode 100644 index 000000000..3d8d7bd1d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileDownloadType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileDownloadType` struct. +/// +@interface DBTEAMLOGFileDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileDownloadType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileDownloadType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileDownloadType` object. +/// ++ (DBTEAMLOGFileDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentDetails.h new file mode 100644 index 000000000..c780666e7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileEditCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileEditCommentDetails` struct. +/// +/// Edited file comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileEditCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +/// Previous comment text. +@property (nonatomic, readonly, copy) NSString *previousCommentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousCommentText Previous comment text. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousCommentText:(NSString *)previousCommentText + commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param previousCommentText Previous comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousCommentText:(NSString *)previousCommentText; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileEditCommentDetails` struct. +/// +@interface DBTEAMLOGFileEditCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileEditCommentDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileEditCommentDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileEditCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileEditCommentDetails` object. +/// ++ (DBTEAMLOGFileEditCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentType.h new file mode 100644 index 000000000..26d8978a9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileEditCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileEditCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileEditCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileEditCommentType` struct. +/// +@interface DBTEAMLOGFileEditCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileEditCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileEditCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileEditCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileEditCommentType` object. +/// ++ (DBTEAMLOGFileEditCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditDetails.h index cab6f4d3a..6ac0a440b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileEditDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditDetails *)instance; /// /// Deserializes `DBTEAMLOGFileEditDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileEditDetails` object. /// -+ (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileEditDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditType.h new file mode 100644 index 000000000..a24524301 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileEditType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileEditType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileEditType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileEditType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileEditType` struct. +/// +@interface DBTEAMLOGFileEditTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileEditType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileEditType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileEditType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileEditType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileEditType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileEditType` object. +/// ++ (DBTEAMLOGFileEditType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceDetails.h index 170b5f31a..9d611320f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileGetCopyReferenceDetails` struct. /// -/// Create a copy reference to a file or folder. +/// Created copy reference to file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileGetCopyReferenceDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceDetails *)instance; /// /// Deserializes `DBTEAMLOGFileGetCopyReferenceDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileGetCopyReferenceDetails` /// object. /// -+ (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileGetCopyReferenceDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceType.h new file mode 100644 index 000000000..4e89bc624 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileGetCopyReferenceType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileGetCopyReferenceType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileGetCopyReferenceType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileGetCopyReferenceType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileGetCopyReferenceType` struct. +/// +@interface DBTEAMLOGFileGetCopyReferenceTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileGetCopyReferenceType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileGetCopyReferenceType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileGetCopyReferenceType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileGetCopyReferenceType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileGetCopyReferenceType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileGetCopyReferenceType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileGetCopyReferenceType` object. +/// ++ (DBTEAMLOGFileGetCopyReferenceType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentDetails.h index cabb85ce9..ce6388d40 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileLikeCommentDetails` struct. /// -/// Liked a file comment. +/// Liked file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileLikeCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileLikeCommentDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileLikeCommentDetails` object. /// -+ (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileLikeCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentType.h new file mode 100644 index 000000000..bfe7eca39 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLikeCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileLikeCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLikeCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileLikeCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLikeCommentType` struct. +/// +@interface DBTEAMLOGFileLikeCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileLikeCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileLikeCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLikeCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLikeCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileLikeCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLikeCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileLikeCommentType` object. +/// ++ (DBTEAMLOGFileLikeCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedDetails.h new file mode 100644 index 000000000..766192020 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileLockingLockStatusChangedDetails; +@class DBTEAMLOGLockStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingLockStatusChangedDetails` struct. +/// +/// Locked/unlocked editing for a file. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileLockingLockStatusChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Previous lock status of the file. +@property (nonatomic, readonly) DBTEAMLOGLockStatus *previousValue; + +/// New lock status of the file. +@property (nonatomic, readonly) DBTEAMLOGLockStatus *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous lock status of the file. +/// @param dNewValue New lock status of the file. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGLockStatus *)previousValue dNewValue:(DBTEAMLOGLockStatus *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLockingLockStatusChangedDetails` +/// struct. +/// +@interface DBTEAMLOGFileLockingLockStatusChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileLockingLockStatusChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileLockingLockStatusChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingLockStatusChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLockingLockStatusChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileLockingLockStatusChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingLockStatusChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileLockingLockStatusChangedDetails` object. +/// ++ (DBTEAMLOGFileLockingLockStatusChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedType.h new file mode 100644 index 000000000..fc5657baa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingLockStatusChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileLockingLockStatusChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingLockStatusChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileLockingLockStatusChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLockingLockStatusChangedType` struct. +/// +@interface DBTEAMLOGFileLockingLockStatusChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileLockingLockStatusChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileLockingLockStatusChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingLockStatusChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLockingLockStatusChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileLockingLockStatusChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingLockStatusChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileLockingLockStatusChangedType` +/// object. +/// ++ (DBTEAMLOGFileLockingLockStatusChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedDetails.h new file mode 100644 index 000000000..075b3c8ea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileLockingPolicyChangedDetails; +@class DBTEAMPOLICIESFileLockingPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingPolicyChangedDetails` struct. +/// +/// Changed file locking policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileLockingPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New file locking policy. +@property (nonatomic, readonly) DBTEAMPOLICIESFileLockingPolicyState *dNewValue; + +/// Previous file locking policy. +@property (nonatomic, readonly) DBTEAMPOLICIESFileLockingPolicyState *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New file locking policy. +/// @param previousValue Previous file locking policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESFileLockingPolicyState *)dNewValue + previousValue:(DBTEAMPOLICIESFileLockingPolicyState *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLockingPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGFileLockingPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileLockingPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileLockingPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLockingPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileLockingPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileLockingPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGFileLockingPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedType.h new file mode 100644 index 000000000..dcffc838c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLockingPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileLockingPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileLockingPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileLockingPolicyChangedType` struct. +/// +@interface DBTEAMLOGFileLockingPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileLockingPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileLockingPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLockingPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileLockingPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileLockingPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileLockingPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGFileLockingPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLogInfo.h index 495c2a1cc..ff4c71660 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileLogInfo.h @@ -35,15 +35,16 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path relative to event context. -/// @param displayName Display name. Might be missing due to historical data -/// gap. -/// @param fileId Unique ID. Might be missing due to historical data gap. +/// @param displayName Display name. +/// @param fileId Unique ID. +/// @param fileSize File or folder size in bytes. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path displayName:(nullable NSString *)displayName - fileId:(nullable NSString *)fileId; + fileId:(nullable NSString *)fileId + fileSize:(nullable NSNumber *)fileSize; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -72,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFileLogInfo` instances. @@ -82,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileLogInfo` object. /// -+ (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveDetails.h index f01e81806..0864b6bb3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveDetails.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileMoveDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileMoveDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileMoveDetails *)instance; /// /// Deserializes `DBTEAMLOGFileMoveDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileMoveDetails` object. /// -+ (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileMoveDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveType.h new file mode 100644 index 000000000..99446c024 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileMoveType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileMoveType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileMoveType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileMoveType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileMoveType` struct. +/// +@interface DBTEAMLOGFileMoveTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileMoveType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileMoveType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileMoveType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileMoveType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileMoveType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileMoveType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileMoveType` object. +/// ++ (DBTEAMLOGFileMoveType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileOrFolderLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileOrFolderLogInfo.h index 0c50ae148..e40bd22b6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileOrFolderLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileOrFolderLogInfo.h @@ -31,27 +31,31 @@ NS_ASSUME_NONNULL_BEGIN /// Path relative to event context. @property (nonatomic, readonly) DBTEAMLOGPathLogInfo *path; -/// Display name. Might be missing due to historical data gap. +/// Display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; -/// Unique ID. Might be missing due to historical data gap. +/// Unique ID. @property (nonatomic, readonly, copy, nullable) NSString *fileId; +/// File or folder size in bytes. +@property (nonatomic, readonly, nullable) NSNumber *fileSize; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path relative to event context. -/// @param displayName Display name. Might be missing due to historical data -/// gap. -/// @param fileId Unique ID. Might be missing due to historical data gap. +/// @param displayName Display name. +/// @param fileId Unique ID. +/// @param fileSize File or folder size in bytes. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path displayName:(nullable NSString *)displayName - fileId:(nullable NSString *)fileId; + fileId:(nullable NSString *)fileId + fileSize:(nullable NSNumber *)fileSize; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -83,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileOrFolderLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileOrFolderLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileOrFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFileOrFolderLogInfo` instances. @@ -93,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileOrFolderLogInfo` object. /// -+ (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileOrFolderLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteDetails.h index 236790f0d..3ec8eac13 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFilePermanentlyDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGFilePermanentlyDeleteDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFilePermanentlyDeleteDetails` /// object. /// -+ (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFilePermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteType.h new file mode 100644 index 000000000..7298bfa53 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePermanentlyDeleteType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFilePermanentlyDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FilePermanentlyDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFilePermanentlyDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FilePermanentlyDeleteType` struct. +/// +@interface DBTEAMLOGFilePermanentlyDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFilePermanentlyDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFilePermanentlyDeleteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFilePermanentlyDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePermanentlyDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGFilePermanentlyDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFilePermanentlyDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFilePermanentlyDeleteType` object. +/// ++ (DBTEAMLOGFilePermanentlyDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewDetails.h index 4448b3cf8..dc75b7d12 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFilePreviewDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePreviewDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePreviewDetails *)instance; /// /// Deserializes `DBTEAMLOGFilePreviewDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFilePreviewDetails` object. /// -+ (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFilePreviewDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewType.h new file mode 100644 index 000000000..a54ec3c47 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFilePreviewType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFilePreviewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FilePreviewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFilePreviewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FilePreviewType` struct. +/// +@interface DBTEAMLOGFilePreviewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFilePreviewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFilePreviewType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFilePreviewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFilePreviewType *)instance; + +/// +/// Deserializes `DBTEAMLOGFilePreviewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFilePreviewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFilePreviewType` object. +/// ++ (DBTEAMLOGFilePreviewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h new file mode 100644 index 000000000..d5d2307d9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileProviderMigrationPolicyChangedDetails; +@class DBTEAMPOLICIESFileProviderMigrationPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileProviderMigrationPolicyChangedDetails` struct. +/// +/// Changed File Provider Migration policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileProviderMigrationPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMPOLICIESFileProviderMigrationPolicyState *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMPOLICIESFileProviderMigrationPolicyState *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)dNewValue + previousValue:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileProviderMigrationPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGFileProviderMigrationPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedDetails` object. +/// ++ (DBTEAMLOGFileProviderMigrationPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedType.h new file mode 100644 index 000000000..fba0b6ddd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileProviderMigrationPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileProviderMigrationPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileProviderMigrationPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileProviderMigrationPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileProviderMigrationPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGFileProviderMigrationPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileProviderMigrationPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileProviderMigrationPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileProviderMigrationPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileProviderMigrationPolicyChangedType` object. +/// ++ (DBTEAMLOGFileProviderMigrationPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameDetails.h index 88a5325bd..13316a3a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameDetails.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRenameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRenameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRenameDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRenameDetails` object. /// -+ (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRenameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameType.h new file mode 100644 index 000000000..4ac7f81f7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRenameType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRenameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRenameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRenameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRenameType` struct. +/// +@interface DBTEAMLOGFileRenameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRenameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRenameType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRenameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRenameType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRenameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRenameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRenameType` object. +/// ++ (DBTEAMLOGFileRenameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestAddDeadlineDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestAddDeadlineDetails.h deleted file mode 100644 index 66681518a..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestAddDeadlineDetails.h +++ /dev/null @@ -1,93 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGFileRequestAddDeadlineDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `FileRequestAddDeadlineDetails` struct. -/// -/// Added a deadline to a file request. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGFileRequestAddDeadlineDetails : NSObject - -#pragma mark - Instance fields - -/// File request id. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; - -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param fileRequestId File request id. Might be missing due to historical -/// data gap. -/// @param requestTitle File request title. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId requestTitle:(nullable NSString *)requestTitle; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `FileRequestAddDeadlineDetails` struct. -/// -@interface DBTEAMLOGFileRequestAddDeadlineDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGFileRequestAddDeadlineDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGFileRequestAddDeadlineDetails` -/// API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestAddDeadlineDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestAddDeadlineDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGFileRequestAddDeadlineDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestAddDeadlineDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGFileRequestAddDeadlineDetails` -/// object. -/// -+ (DBTEAMLOGFileRequestAddDeadlineDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeDetails.h index 4cb2d20e4..fcb858e93 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestChangeDetails` struct. /// -/// Change a file request. +/// Changed file request. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestChangeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestChangeDetails` instances. @@ -94,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRequestChangeDetails` object. /// -+ (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestChangeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeType.h new file mode 100644 index 000000000..e83e5e59f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestChangeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestChangeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestChangeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestChangeType` struct. +/// +@interface DBTEAMLOGFileRequestChangeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestChangeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestChangeType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestChangeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestChangeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestChangeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestChangeType` object. +/// ++ (DBTEAMLOGFileRequestChangeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseDetails.h index f0e442ddd..4dd7d132c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestCloseDetails` struct. /// -/// Closed a file request. +/// Closed file request. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCloseDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestCloseDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRequestCloseDetails` object. /// -+ (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestCloseDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseType.h new file mode 100644 index 000000000..c541fe5fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCloseType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestCloseType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestCloseType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestCloseType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestCloseType` struct. +/// +@interface DBTEAMLOGFileRequestCloseTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestCloseType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestCloseType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestCloseType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCloseType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestCloseType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestCloseType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestCloseType` object. +/// ++ (DBTEAMLOGFileRequestCloseType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateDetails.h index de5f47225..42c13e603 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestCreateDetails` struct. /// -/// Created a file request. +/// Created file request. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestCreateDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestCreateDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRequestCreateDetails` object. /// -+ (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestCreateDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateType.h new file mode 100644 index 000000000..622289ef8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestCreateType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestCreateType` struct. +/// +@interface DBTEAMLOGFileRequestCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestCreateType` object. +/// ++ (DBTEAMLOGFileRequestCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeadline.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeadline.h new file mode 100644 index 000000000..747ff08fa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeadline.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestDeadline; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestDeadline` struct. +/// +/// File request deadline +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestDeadline : NSObject + +#pragma mark - Instance fields + +/// The deadline for this file request. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) NSDate *deadline; + +/// If set, allow uploads after the deadline has passed. +@property (nonatomic, readonly, copy, nullable) NSString *allowLateUploads; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param deadline The deadline for this file request. Might be missing due to +/// historical data gap. +/// @param allowLateUploads If set, allow uploads after the deadline has passed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeadline:(nullable NSDate *)deadline allowLateUploads:(nullable NSString *)allowLateUploads; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestDeadline` struct. +/// +@interface DBTEAMLOGFileRequestDeadlineSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestDeadline` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestDeadline` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestDeadline` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDeadline *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestDeadline` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestDeadline` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestDeadline` object. +/// ++ (DBTEAMLOGFileRequestDeadline *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeFolderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteDetails.h similarity index 50% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeFolderDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteDetails.h index e1de4bab1..5a8f7dfe2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestChangeFolderDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteDetails.h @@ -8,30 +8,31 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGFileRequestChangeFolderDetails; +@class DBTEAMLOGFileRequestDeleteDetails; +@class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `FileRequestChangeFolderDetails` struct. +/// The `FileRequestDeleteDetails` struct. /// -/// Changed the file request folder. +/// Delete file request. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGFileRequestChangeFolderDetails : NSObject +@interface DBTEAMLOGFileRequestDeleteDetails : NSObject #pragma mark - Instance fields /// File request id. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; +/// Previous file request details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *previousDetails; #pragma mark - Constructors @@ -40,11 +41,13 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param fileRequestId File request id. Might be missing due to historical /// data gap. -/// @param requestTitle File request title. +/// @param previousDetails Previous file request details. Might be missing due +/// to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId requestTitle:(nullable NSString *)requestTitle; +- (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId + previousDetails:(nullable DBTEAMLOGFileRequestDetails *)previousDetails; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -62,31 +65,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `FileRequestChangeFolderDetails` struct. +/// The serialization class for the `FileRequestDeleteDetails` struct. /// -@interface DBTEAMLOGFileRequestChangeFolderDetailsSerializer : NSObject +@interface DBTEAMLOGFileRequestDeleteDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGFileRequestChangeFolderDetails` instances. +/// Serializes `DBTEAMLOGFileRequestDeleteDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGFileRequestChangeFolderDetails` -/// API object. +/// @param instance An instance of the `DBTEAMLOGFileRequestDeleteDetails` API +/// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestChangeFolderDetails` API object. +/// `DBTEAMLOGFileRequestDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestChangeFolderDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDeleteDetails *)instance; /// -/// Deserializes `DBTEAMLOGFileRequestChangeFolderDetails` instances. +/// Deserializes `DBTEAMLOGFileRequestDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestChangeFolderDetails` API object. +/// `DBTEAMLOGFileRequestDeleteDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGFileRequestChangeFolderDetails` -/// object. +/// @return An instantiation of the `DBTEAMLOGFileRequestDeleteDetails` object. /// -+ (DBTEAMLOGFileRequestChangeFolderDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteType.h new file mode 100644 index 000000000..547f4c7d9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDeleteType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestDeleteType` struct. +/// +@interface DBTEAMLOGFileRequestDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestDeleteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestDeleteType` object. +/// ++ (DBTEAMLOGFileRequestDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDetails.h index d0350b61e..ff02c5101 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBTEAMLOGFileRequestDeadline; @class DBTEAMLOGFileRequestDetails; NS_ASSUME_NONNULL_BEGIN @@ -27,14 +28,11 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; - /// Asset position in the Assets list. @property (nonatomic, readonly) NSNumber *assetIndex; -/// File request deadline. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) NSDate *deadline; +/// File request deadline. +@property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDeadline *deadline; #pragma mark - Constructors @@ -42,15 +40,11 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param assetIndex Asset position in the Assets list. -/// @param requestTitle File request title. -/// @param deadline File request deadline. Might be missing due to historical -/// data gap. +/// @param deadline File request deadline. /// /// @return An initialized instance. /// -- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex - requestTitle:(nullable NSString *)requestTitle - deadline:(nullable NSDate *)deadline; +- (instancetype)initWithAssetIndex:(NSNumber *)assetIndex deadline:(nullable DBTEAMLOGFileRequestDeadline *)deadline; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -81,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestDetails` instances. @@ -91,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRequestDetails` object. /// -+ (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileDetails.h index db45d3fbc..a324a4171 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBTEAMLOGFileRequestDetails; @class DBTEAMLOGFileRequestReceiveFileDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestReceiveFileDetails` struct. /// -/// Received files for a file request. +/// Received files for file request. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,12 +31,18 @@ NS_ASSUME_NONNULL_BEGIN /// File request id. Might be missing due to historical data gap. @property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; +/// File request details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGFileRequestDetails *fileRequestDetails; /// Submitted file names. @property (nonatomic, readonly) NSArray *submittedFileNames; +/// The name as provided by the submitter. +@property (nonatomic, readonly, copy, nullable) NSString *submitterName; + +/// The email as provided by the submitter. +@property (nonatomic, readonly, copy, nullable) NSString *submitterEmail; + #pragma mark - Constructors /// @@ -44,13 +51,18 @@ NS_ASSUME_NONNULL_BEGIN /// @param submittedFileNames Submitted file names. /// @param fileRequestId File request id. Might be missing due to historical /// data gap. -/// @param requestTitle File request title. +/// @param fileRequestDetails File request details. Might be missing due to +/// historical data gap. +/// @param submitterName The name as provided by the submitter. +/// @param submitterEmail The email as provided by the submitter. /// /// @return An initialized instance. /// - (instancetype)initWithSubmittedFileNames:(NSArray *)submittedFileNames fileRequestId:(nullable NSString *)fileRequestId - requestTitle:(nullable NSString *)requestTitle; + fileRequestDetails:(nullable DBTEAMLOGFileRequestDetails *)fileRequestDetails + submitterName:(nullable NSString *)submitterName + submitterEmail:(nullable NSString *)submitterEmail; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -82,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestReceiveFileDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestReceiveFileDetails` instances. @@ -93,7 +105,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileRequestReceiveFileDetails` /// object. /// -+ (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestReceiveFileDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileType.h new file mode 100644 index 000000000..9cb0e662e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestReceiveFileType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestReceiveFileType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestReceiveFileType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestReceiveFileType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestReceiveFileType` struct. +/// +@interface DBTEAMLOGFileRequestReceiveFileTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestReceiveFileType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestReceiveFileType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestReceiveFileType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestReceiveFileType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestReceiveFileType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestReceiveFileType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestReceiveFileType` +/// object. +/// ++ (DBTEAMLOGFileRequestReceiveFileType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestRemoveDeadlineDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestRemoveDeadlineDetails.h deleted file mode 100644 index 144d13813..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestRemoveDeadlineDetails.h +++ /dev/null @@ -1,93 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGFileRequestRemoveDeadlineDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `FileRequestRemoveDeadlineDetails` struct. -/// -/// Removed the file request deadline. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGFileRequestRemoveDeadlineDetails : NSObject - -#pragma mark - Instance fields - -/// File request id. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; - -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param fileRequestId File request id. Might be missing due to historical -/// data gap. -/// @param requestTitle File request title. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId requestTitle:(nullable NSString *)requestTitle; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `FileRequestRemoveDeadlineDetails` struct. -/// -@interface DBTEAMLOGFileRequestRemoveDeadlineDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGFileRequestRemoveDeadlineDetails` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGFileRequestRemoveDeadlineDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestRemoveDeadlineDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestRemoveDeadlineDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGFileRequestRemoveDeadlineDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestRemoveDeadlineDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGFileRequestRemoveDeadlineDetails` -/// object. -/// -+ (DBTEAMLOGFileRequestRemoveDeadlineDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestSendDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestSendDetails.h deleted file mode 100644 index 3bcb0a93c..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestSendDetails.h +++ /dev/null @@ -1,92 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGFileRequestSendDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `FileRequestSendDetails` struct. -/// -/// Sent file request to users via email. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGFileRequestSendDetails : NSObject - -#pragma mark - Instance fields - -/// File request id. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *fileRequestId; - -/// File request title. -@property (nonatomic, readonly, copy, nullable) NSString *requestTitle; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param fileRequestId File request id. Might be missing due to historical -/// data gap. -/// @param requestTitle File request title. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithFileRequestId:(nullable NSString *)fileRequestId requestTitle:(nullable NSString *)requestTitle; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `FileRequestSendDetails` struct. -/// -@interface DBTEAMLOGFileRequestSendDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGFileRequestSendDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGFileRequestSendDetails` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestSendDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestSendDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGFileRequestSendDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGFileRequestSendDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGFileRequestSendDetails` object. -/// -+ (DBTEAMLOGFileRequestSendDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyDetails.h index cc7bb084c..b16598678 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestsChangePolicyDetails` struct. /// -/// Enabled or disabled file requests. +/// Enabled/disabled file requests. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsChangePolicyDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileRequestsChangePolicyDetails` /// object. /// -+ (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyType.h new file mode 100644 index 000000000..ee2e90fb9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestsChangePolicyType` struct. +/// +@interface DBTEAMLOGFileRequestsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestsChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestsChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestsChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestsChangePolicyType` +/// object. +/// ++ (DBTEAMLOGFileRequestsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledDetails.h index 5d8c1869a..8e67a011f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsEnabledDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsEmailsEnabledDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileRequestsEmailsEnabledDetails` /// object. /// -+ (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestsEmailsEnabledDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledType.h new file mode 100644 index 000000000..a102fd78a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsEnabledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestsEmailsEnabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestsEmailsEnabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestsEmailsEnabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestsEmailsEnabledType` struct. +/// +@interface DBTEAMLOGFileRequestsEmailsEnabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestsEmailsEnabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRequestsEmailsEnabledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsEmailsEnabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsEnabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestsEmailsEnabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsEmailsEnabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRequestsEmailsEnabledType` +/// object. +/// ++ (DBTEAMLOGFileRequestsEmailsEnabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h index 60f2222a3..3a3c26d3e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRequestsEmailsRestrictedToTeamOnlyDetails` struct. /// -/// Allowed file request emails for the team. +/// Enabled file request emails for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails` object. /// -+ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h new file mode 100644 index 000000000..f1b599d10 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRequestsEmailsRestrictedToTeamOnlyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRequestsEmailsRestrictedToTeamOnlyType` +/// struct. +/// +@interface DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType` object. +/// ++ (DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsPolicy.h index b87177e7f..33c64cbc4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRequestsPolicy.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGFileRequestsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGFileRequestsPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGFileRequestsPolicyTag) { - /// (no description). - DBTEAMLOGFileRequestsPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileRequestsPolicyTag){ + /// (no description). + DBTEAMLOGFileRequestsPolicyDisabled, - /// (no description). - DBTEAMLOGFileRequestsPolicyEnabled, + /// (no description). + DBTEAMLOGFileRequestsPolicyEnabled, - /// (no description). - DBTEAMLOGFileRequestsPolicyOther, + /// (no description). + DBTEAMLOGFileRequestsPolicyOther, }; @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileRequestsPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRequestsPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRequestsPolicy *)instance; /// /// Deserializes `DBTEAMLOGFileRequestsPolicy` instances. @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGFileRequestsPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGFileRequestsPolicy` object. /// -+ (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRequestsPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentDetails.h index fe6765fc7..057e7d67c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileResolveCommentDetails` struct. /// -/// Resolved a file comment. +/// Resolved file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileResolveCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileResolveCommentDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileResolveCommentDetails` object. /// -+ (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileResolveCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentType.h new file mode 100644 index 000000000..6b642853d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileResolveCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileResolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileResolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileResolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileResolveCommentType` struct. +/// +@interface DBTEAMLOGFileResolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileResolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileResolveCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileResolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileResolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileResolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileResolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileResolveCommentType` object. +/// ++ (DBTEAMLOGFileResolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreDetails.h index db7731c1a..e1c2a90f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRestoreDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRestoreDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRestoreDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRestoreDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRestoreDetails` object. /// -+ (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRestoreDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreType.h new file mode 100644 index 000000000..c3da21d3e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRestoreType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRestoreType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRestoreType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRestoreType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRestoreType` struct. +/// +@interface DBTEAMLOGFileRestoreTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRestoreType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRestoreType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRestoreType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRestoreType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRestoreType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRestoreType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRestoreType` object. +/// ++ (DBTEAMLOGFileRestoreType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h index 21056aceb..1d0956ba6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRevertDetails` struct. /// -/// Reverted files to a previous version. +/// Reverted files to previous version. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRevertDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRevertDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRevertDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRevertDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileRevertDetails` object. /// -+ (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRevertDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertType.h new file mode 100644 index 000000000..13d3c90bb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRevertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRevertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRevertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRevertType` struct. +/// +@interface DBTEAMLOGFileRevertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRevertType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRevertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRevertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRevertType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRevertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRevertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRevertType` object. +/// ++ (DBTEAMLOGFileRevertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesDetails.h index 125f3b592..bd10524fc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileRollbackChangesDetails` struct. /// -/// Rolled back file change location changes. +/// Rolled back file actions. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileRollbackChangesDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesDetails *)instance; /// /// Deserializes `DBTEAMLOGFileRollbackChangesDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileRollbackChangesDetails` /// object. /// -+ (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileRollbackChangesDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesType.h new file mode 100644 index 000000000..0015f663a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRollbackChangesType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileRollbackChangesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileRollbackChangesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileRollbackChangesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileRollbackChangesType` struct. +/// +@interface DBTEAMLOGFileRollbackChangesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileRollbackChangesType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileRollbackChangesType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRollbackChangesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileRollbackChangesType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileRollbackChangesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileRollbackChangesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileRollbackChangesType` object. +/// ++ (DBTEAMLOGFileRollbackChangesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceDetails.h index 46f907879..092e8091b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileSaveCopyReferenceDetails` struct. /// -/// Save a file or folder using a copy reference. +/// Saved file/folder using copy reference. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -63,7 +63,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileSaveCopyReferenceDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceDetails *)instance; /// /// Deserializes `DBTEAMLOGFileSaveCopyReferenceDetails` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileSaveCopyReferenceDetails` /// object. /// -+ (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileSaveCopyReferenceDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceType.h new file mode 100644 index 000000000..9e937693b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileSaveCopyReferenceType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileSaveCopyReferenceType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileSaveCopyReferenceType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileSaveCopyReferenceType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileSaveCopyReferenceType` struct. +/// +@interface DBTEAMLOGFileSaveCopyReferenceTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileSaveCopyReferenceType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileSaveCopyReferenceType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileSaveCopyReferenceType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileSaveCopyReferenceType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileSaveCopyReferenceType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileSaveCopyReferenceType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileSaveCopyReferenceType` object. +/// ++ (DBTEAMLOGFileSaveCopyReferenceType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddDetails.h new file mode 100644 index 000000000..233952841 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersFileAddDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersFileAddDetails` struct. +/// +/// Transfer files added. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersFileAddDetails : NSObject + +#pragma mark - Instance fields + +/// Transfer id. +@property (nonatomic, readonly, copy) NSString *fileTransferId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileTransferId Transfer id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersFileAddDetails` struct. +/// +@interface DBTEAMLOGFileTransfersFileAddDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersFileAddDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersFileAddDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersFileAddDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersFileAddDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersFileAddDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersFileAddDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersFileAddDetails` +/// object. +/// ++ (DBTEAMLOGFileTransfersFileAddDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddType.h new file mode 100644 index 000000000..2e0c86dd7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersFileAddType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersFileAddType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersFileAddType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersFileAddType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersFileAddType` struct. +/// +@interface DBTEAMLOGFileTransfersFileAddTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersFileAddType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersFileAddType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersFileAddType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersFileAddType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersFileAddType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersFileAddType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersFileAddType` object. +/// ++ (DBTEAMLOGFileTransfersFileAddType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicy.h new file mode 100644 index 000000000..e8370ad05 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersPolicy` union. +/// +/// File transfers policy +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFileTransfersPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGFileTransfersPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFileTransfersPolicyTag){ + /// (no description). + DBTEAMLOGFileTransfersPolicyDisabled, + + /// (no description). + DBTEAMLOGFileTransfersPolicyEnabled, + + /// (no description). + DBTEAMLOGFileTransfersPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGFileTransfersPolicy` union. +/// +@interface DBTEAMLOGFileTransfersPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersPolicy` object. +/// ++ (DBTEAMLOGFileTransfersPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedDetails.h new file mode 100644 index 000000000..426f02ab1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersPolicy; +@class DBTEAMLOGFileTransfersPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersPolicyChangedDetails` struct. +/// +/// Changed file transfers policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New file transfers policy. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersPolicy *dNewValue; + +/// Previous file transfers policy. +@property (nonatomic, readonly) DBTEAMLOGFileTransfersPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New file transfers policy. +/// @param previousValue Previous file transfers policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGFileTransfersPolicy *)dNewValue + previousValue:(DBTEAMLOGFileTransfersPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGFileTransfersPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGFileTransfersPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedType.h new file mode 100644 index 000000000..c19662fd5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersPolicyChangedType` struct. +/// +@interface DBTEAMLOGFileTransfersPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGFileTransfersPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteDetails.h new file mode 100644 index 000000000..1a40d560d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferDeleteDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferDeleteDetails` struct. +/// +/// Deleted transfer. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferDeleteDetails : NSObject + +#pragma mark - Instance fields + +/// Transfer id. +@property (nonatomic, readonly, copy) NSString *fileTransferId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileTransferId Transfer id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferDeleteDetails` struct. +/// +@interface DBTEAMLOGFileTransfersTransferDeleteDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferDeleteDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferDeleteDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDeleteDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDeleteDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferDeleteDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDeleteDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileTransfersTransferDeleteDetails` object. +/// ++ (DBTEAMLOGFileTransfersTransferDeleteDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteType.h new file mode 100644 index 000000000..c043a6a48 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDeleteType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferDeleteType` struct. +/// +@interface DBTEAMLOGFileTransfersTransferDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferDeleteType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferDeleteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferDeleteType` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadDetails.h new file mode 100644 index 000000000..2a1a9c18a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferDownloadDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferDownloadDetails` struct. +/// +/// Transfer downloaded. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferDownloadDetails : NSObject + +#pragma mark - Instance fields + +/// Transfer id. +@property (nonatomic, readonly, copy) NSString *fileTransferId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileTransferId Transfer id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferDownloadDetails` +/// struct. +/// +@interface DBTEAMLOGFileTransfersTransferDownloadDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferDownloadDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferDownloadDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDownloadDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDownloadDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferDownloadDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDownloadDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFileTransfersTransferDownloadDetails` object. +/// ++ (DBTEAMLOGFileTransfersTransferDownloadDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadType.h new file mode 100644 index 000000000..2b0ea229c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferDownloadType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferDownloadType` struct. +/// +@interface DBTEAMLOGFileTransfersTransferDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferDownloadType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferDownloadType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferDownloadType` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendDetails.h new file mode 100644 index 000000000..93b73c477 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferSendDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferSendDetails` struct. +/// +/// Sent transfer. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferSendDetails : NSObject + +#pragma mark - Instance fields + +/// Transfer id. +@property (nonatomic, readonly, copy) NSString *fileTransferId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileTransferId Transfer id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferSendDetails` struct. +/// +@interface DBTEAMLOGFileTransfersTransferSendDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferSendDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferSendDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferSendDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferSendDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferSendDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferSendDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferSendDetails` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferSendDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendType.h new file mode 100644 index 000000000..8ebbf4962 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferSendType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferSendType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferSendType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferSendType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferSendType` struct. +/// +@interface DBTEAMLOGFileTransfersTransferSendTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferSendType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersTransferSendType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferSendType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferSendType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferSendType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferSendType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferSendType` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferSendType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewDetails.h new file mode 100644 index 000000000..aadd41cb6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferViewDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferViewDetails` struct. +/// +/// Viewed transfer. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferViewDetails : NSObject + +#pragma mark - Instance fields + +/// Transfer id. +@property (nonatomic, readonly, copy) NSString *fileTransferId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param fileTransferId Transfer id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileTransferId:(NSString *)fileTransferId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferViewDetails` struct. +/// +@interface DBTEAMLOGFileTransfersTransferViewDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferViewDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFileTransfersTransferViewDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferViewDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferViewDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferViewDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferViewDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferViewDetails` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferViewDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewType.h new file mode 100644 index 000000000..7c27c1b07 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileTransfersTransferViewType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileTransfersTransferViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileTransfersTransferViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileTransfersTransferViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileTransfersTransferViewType` struct. +/// +@interface DBTEAMLOGFileTransfersTransferViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileTransfersTransferViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileTransfersTransferViewType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileTransfersTransferViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileTransfersTransferViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileTransfersTransferViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileTransfersTransferViewType` +/// object. +/// ++ (DBTEAMLOGFileTransfersTransferViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentDetails.h index 7e6ac9371..b6dcf2764 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileUnlikeCommentDetails` struct. /// -/// Unliked a file comment. +/// Unliked file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnlikeCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileUnlikeCommentDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFileUnlikeCommentDetails` object. /// -+ (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileUnlikeCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentType.h new file mode 100644 index 000000000..c17fde527 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnlikeCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileUnlikeCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileUnlikeCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileUnlikeCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileUnlikeCommentType` struct. +/// +@interface DBTEAMLOGFileUnlikeCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileUnlikeCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileUnlikeCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileUnlikeCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnlikeCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileUnlikeCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileUnlikeCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileUnlikeCommentType` object. +/// ++ (DBTEAMLOGFileUnlikeCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentDetails.h index 8c1989b91..373f6e693 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `FileUnresolveCommentDetails` struct. /// -/// Unresolved a file comment. +/// Unresolved file comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFileUnresolveCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGFileUnresolveCommentDetails` instances. @@ -82,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGFileUnresolveCommentDetails` /// object. /// -+ (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFileUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentType.h new file mode 100644 index 000000000..8a72e174c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileUnresolveCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFileUnresolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileUnresolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFileUnresolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FileUnresolveCommentType` struct. +/// +@interface DBTEAMLOGFileUnresolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFileUnresolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFileUnresolveCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFileUnresolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFileUnresolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGFileUnresolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFileUnresolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFileUnresolveCommentType` object. +/// ++ (DBTEAMLOGFileUnresolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicy.h new file mode 100644 index 000000000..da568d46f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicy.h @@ -0,0 +1,138 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderLinkRestrictionPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderLinkRestrictionPolicy` union. +/// +/// Policy for deciding whether applying link restrictions on all team owned +/// folders +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGFolderLinkRestrictionPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGFolderLinkRestrictionPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGFolderLinkRestrictionPolicyTag){ + /// (no description). + DBTEAMLOGFolderLinkRestrictionPolicyDisabled, + + /// (no description). + DBTEAMLOGFolderLinkRestrictionPolicyEnabled, + + /// (no description). + DBTEAMLOGFolderLinkRestrictionPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGFolderLinkRestrictionPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGFolderLinkRestrictionPolicy` +/// union. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderLinkRestrictionPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFolderLinkRestrictionPolicy` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderLinkRestrictionPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFolderLinkRestrictionPolicy` +/// object. +/// ++ (DBTEAMLOGFolderLinkRestrictionPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h new file mode 100644 index 000000000..6afa9fb8c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderLinkRestrictionPolicy; +@class DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderLinkRestrictionPolicyChangedDetails` struct. +/// +/// Changed folder link restrictions policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGFolderLinkRestrictionPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGFolderLinkRestrictionPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGFolderLinkRestrictionPolicy *)dNewValue + previousValue:(DBTEAMLOGFolderLinkRestrictionPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderLinkRestrictionPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails` object. +/// ++ (DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h new file mode 100644 index 000000000..9a3c62e24 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderLinkRestrictionPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderLinkRestrictionPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderLinkRestrictionPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGFolderLinkRestrictionPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFolderLinkRestrictionPolicyChangedType` object. +/// ++ (DBTEAMLOGFolderLinkRestrictionPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLogInfo.h index c2046cd97..6293e3ff6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderLogInfo.h @@ -29,21 +29,27 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Number of files within the folder. +@property (nonatomic, readonly, nullable) NSNumber *fileCount; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param path Path relative to event context. -/// @param displayName Display name. Might be missing due to historical data -/// gap. -/// @param fileId Unique ID. Might be missing due to historical data gap. +/// @param displayName Display name. +/// @param fileId Unique ID. +/// @param fileSize File or folder size in bytes. +/// @param fileCount Number of files within the folder. /// /// @return An initialized instance. /// - (instancetype)initWithPath:(DBTEAMLOGPathLogInfo *)path displayName:(nullable NSString *)displayName - fileId:(nullable NSString *)fileId; + fileId:(nullable NSString *)fileId + fileSize:(nullable NSNumber *)fileSize + fileCount:(nullable NSNumber *)fileCount; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -72,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGFolderLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGFolderLogInfo` instances. @@ -82,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGFolderLogInfo` object. /// -+ (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGFolderLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedDetails.h new file mode 100644 index 000000000..5e8a9e78a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewDescriptionChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewDescriptionChangedDetails` struct. +/// +/// Updated folder overview. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewDescriptionChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Folder Overview location position in the Assets list. +@property (nonatomic, readonly) NSNumber *folderOverviewLocationAsset; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param folderOverviewLocationAsset Folder Overview location position in the +/// Assets list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewDescriptionChangedDetails` +/// struct. +/// +@interface DBTEAMLOGFolderOverviewDescriptionChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewDescriptionChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewDescriptionChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewDescriptionChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedDetails` object. +/// ++ (DBTEAMLOGFolderOverviewDescriptionChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedType.h new file mode 100644 index 000000000..a27a7de0f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewDescriptionChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewDescriptionChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewDescriptionChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewDescriptionChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewDescriptionChangedType` +/// struct. +/// +@interface DBTEAMLOGFolderOverviewDescriptionChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewDescriptionChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewDescriptionChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewDescriptionChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGFolderOverviewDescriptionChangedType` object. +/// ++ (DBTEAMLOGFolderOverviewDescriptionChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedDetails.h new file mode 100644 index 000000000..c36150c3d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewItemPinnedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewItemPinnedDetails` struct. +/// +/// Pinned item to folder overview. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewItemPinnedDetails : NSObject + +#pragma mark - Instance fields + +/// Folder Overview location position in the Assets list. +@property (nonatomic, readonly) NSNumber *folderOverviewLocationAsset; + +/// Pinned items positions in the Assets list. +@property (nonatomic, readonly) NSArray *pinnedItemsAssetIndices; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param folderOverviewLocationAsset Folder Overview location position in the +/// Assets list. +/// @param pinnedItemsAssetIndices Pinned items positions in the Assets list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset + pinnedItemsAssetIndices:(NSArray *)pinnedItemsAssetIndices; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewItemPinnedDetails` struct. +/// +@interface DBTEAMLOGFolderOverviewItemPinnedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewItemPinnedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderOverviewItemPinnedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemPinnedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemPinnedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewItemPinnedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemPinnedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFolderOverviewItemPinnedDetails` +/// object. +/// ++ (DBTEAMLOGFolderOverviewItemPinnedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedType.h new file mode 100644 index 000000000..a1bb68b38 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemPinnedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewItemPinnedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewItemPinnedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewItemPinnedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewItemPinnedType` struct. +/// +@interface DBTEAMLOGFolderOverviewItemPinnedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewItemPinnedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFolderOverviewItemPinnedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemPinnedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemPinnedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewItemPinnedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemPinnedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFolderOverviewItemPinnedType` +/// object. +/// ++ (DBTEAMLOGFolderOverviewItemPinnedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedDetails.h new file mode 100644 index 000000000..bc00d46b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewItemUnpinnedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewItemUnpinnedDetails` struct. +/// +/// Unpinned item from folder overview. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewItemUnpinnedDetails : NSObject + +#pragma mark - Instance fields + +/// Folder Overview location position in the Assets list. +@property (nonatomic, readonly) NSNumber *folderOverviewLocationAsset; + +/// Pinned items positions in the Assets list. +@property (nonatomic, readonly) NSArray *pinnedItemsAssetIndices; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param folderOverviewLocationAsset Folder Overview location position in the +/// Assets list. +/// @param pinnedItemsAssetIndices Pinned items positions in the Assets list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFolderOverviewLocationAsset:(NSNumber *)folderOverviewLocationAsset + pinnedItemsAssetIndices:(NSArray *)pinnedItemsAssetIndices; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewItemUnpinnedDetails` struct. +/// +@interface DBTEAMLOGFolderOverviewItemUnpinnedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewItemUnpinnedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGFolderOverviewItemUnpinnedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemUnpinnedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemUnpinnedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewItemUnpinnedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemUnpinnedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFolderOverviewItemUnpinnedDetails` +/// object. +/// ++ (DBTEAMLOGFolderOverviewItemUnpinnedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedType.h new file mode 100644 index 000000000..8818e84ad --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFolderOverviewItemUnpinnedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFolderOverviewItemUnpinnedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FolderOverviewItemUnpinnedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGFolderOverviewItemUnpinnedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `FolderOverviewItemUnpinnedType` struct. +/// +@interface DBTEAMLOGFolderOverviewItemUnpinnedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGFolderOverviewItemUnpinnedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGFolderOverviewItemUnpinnedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemUnpinnedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGFolderOverviewItemUnpinnedType *)instance; + +/// +/// Deserializes `DBTEAMLOGFolderOverviewItemUnpinnedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGFolderOverviewItemUnpinnedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGFolderOverviewItemUnpinnedType` +/// object. +/// ++ (DBTEAMLOGFolderOverviewItemUnpinnedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGeoLocationLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGeoLocationLogInfo.h index e473d68e7..8500224f6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGeoLocationLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGeoLocationLogInfo.h @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGeoLocationLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGeoLocationLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGeoLocationLogInfo *)instance; /// /// Deserializes `DBTEAMLOGGeoLocationLogInfo` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGeoLocationLogInfo` object. /// -+ (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGeoLocationLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsArg.h index 6426cf978..89b70d9ca 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsArg.h @@ -10,6 +10,7 @@ @class DBTEAMCOMMONTimeRange; @class DBTEAMLOGEventCategory; +@class DBTEAMLOGEventTypeArg; @class DBTEAMLOGGetTeamEventsArg; NS_ASSUME_NONNULL_BEGIN @@ -27,36 +28,51 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Number of results to return per call. +/// The maximal number of results to return per call. Note that some calls may +/// not return limit number of events, and may even return no events, even with +/// `has_more` set to true. In this case, callers should fetch again using +/// `getEventsContinue`. @property (nonatomic, readonly) NSNumber *limit; -/// Filter the events by account ID. Return ony events with this account_id as +/// Filter the events by account ID. Return only events with this account_id as /// either Actor, Context, or Participants. @property (nonatomic, readonly, copy, nullable) NSString *accountId; /// Filter by time range. @property (nonatomic, readonly, nullable) DBTEAMCOMMONTimeRange *time; -/// Filter the returned events to a single category. +/// Filter the returned events to a single category. Note that category +/// shouldn't be provided together with event_type. @property (nonatomic, readonly, nullable) DBTEAMLOGEventCategory *category; +/// Filter the returned events to a single event type. Note that event_type +/// shouldn't be provided together with category. +@property (nonatomic, readonly, nullable) DBTEAMLOGEventTypeArg *eventType; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param limit Number of results to return per call. -/// @param accountId Filter the events by account ID. Return ony events with +/// @param limit The maximal number of results to return per call. Note that +/// some calls may not return limit number of events, and may even return no +/// events, even with `has_more` set to true. In this case, callers should fetch +/// again using `getEventsContinue`. +/// @param accountId Filter the events by account ID. Return only events with /// this account_id as either Actor, Context, or Participants. /// @param time Filter by time range. -/// @param category Filter the returned events to a single category. +/// @param category Filter the returned events to a single category. Note that +/// category shouldn't be provided together with event_type. +/// @param eventType Filter the returned events to a single event type. Note +/// that event_type shouldn't be provided together with category. /// /// @return An initialized instance. /// - (instancetype)initWithLimit:(nullable NSNumber *)limit accountId:(nullable NSString *)accountId time:(nullable DBTEAMCOMMONTimeRange *)time - category:(nullable DBTEAMLOGEventCategory *)category; + category:(nullable DBTEAMLOGEventCategory *)category + eventType:(nullable DBTEAMLOGEventTypeArg *)eventType; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -86,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsArg *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsArg` instances. @@ -96,7 +112,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsArg` object. /// -+ (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGetTeamEventsArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueArg.h index a5b96a7b4..2c228f095 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueArg.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueArg *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueArg *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsContinueArg` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsContinueArg` object. /// -+ (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGetTeamEventsContinueArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueError.h index 885824116..8f1a3bb96 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsContinueError.h @@ -30,18 +30,36 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGGetTeamEventsContinueErrorTag` enum type represents the /// possible tag states with which the `DBTEAMLOGGetTeamEventsContinueError` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag) { - /// Bad cursor. - DBTEAMLOGGetTeamEventsContinueErrorBadCursor, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag){ + /// Bad cursor. + DBTEAMLOGGetTeamEventsContinueErrorBadCursor, - /// (no description). - DBTEAMLOGGetTeamEventsContinueErrorOther, + /// Cursors are intended to be used quickly. Individual cursor values are + /// normally valid for days, but in rare cases may be reset sooner. Cursor + /// reset errors should be handled by fetching a new cursor from + /// `getEvents`. The associated value is the approximate timestamp of the + /// most recent event returned by the cursor. This should be used as a + /// resumption point when calling `getEvents` to obtain a new cursor. + DBTEAMLOGGetTeamEventsContinueErrorReset, + + /// (no description). + DBTEAMLOGGetTeamEventsContinueErrorOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGGetTeamEventsContinueErrorTag tag; +/// Cursors are intended to be used quickly. Individual cursor values are +/// normally valid for days, but in rare cases may be reset sooner. Cursor reset +/// errors should be handled by fetching a new cursor from `getEvents`. The +/// associated value is the approximate timestamp of the most recent event +/// returned by the cursor. This should be used as a resumption point when +/// calling `getEvents` to obtain a new cursor. @note Ensure the `isReset` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) NSDate *reset; + #pragma mark - Constructors /// @@ -53,6 +71,27 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag) { /// - (instancetype)initWithBadCursor; +/// +/// Initializes union class with tag state of "reset". +/// +/// Description of the "reset" tag state: Cursors are intended to be used +/// quickly. Individual cursor values are normally valid for days, but in rare +/// cases may be reset sooner. Cursor reset errors should be handled by fetching +/// a new cursor from `getEvents`. The associated value is the approximate +/// timestamp of the most recent event returned by the cursor. This should be +/// used as a resumption point when calling `getEvents` to obtain a new cursor. +/// +/// @param reset Cursors are intended to be used quickly. Individual cursor +/// values are normally valid for days, but in rare cases may be reset sooner. +/// Cursor reset errors should be handled by fetching a new cursor from +/// `getEvents`. The associated value is the approximate timestamp of the most +/// recent event returned by the cursor. This should be used as a resumption +/// point when calling `getEvents` to obtain a new cursor. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReset:(NSDate *)reset; + /// /// Initializes union class with tag state of "other". /// @@ -71,6 +110,16 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag) { /// - (BOOL)isBadCursor; +/// +/// Retrieves whether the union's current tag state has value "reset". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `reset` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "reset". +/// +- (BOOL)isReset; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -103,7 +152,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsContinueError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsContinueError *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsContinueError` instances. @@ -114,7 +163,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsContinueErrorTag) { /// @return An instantiation of the `DBTEAMLOGGetTeamEventsContinueError` /// object. /// -+ (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGetTeamEventsContinueError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsError.h index 628e8b42d..1a5730843 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsError.h @@ -29,15 +29,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGGetTeamEventsErrorTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGetTeamEventsError` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag) { - /// No user found matching the provided account_id. - DBTEAMLOGGetTeamEventsErrorAccountIdNotFound, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag){ + /// No user found matching the provided account_id. + DBTEAMLOGGetTeamEventsErrorAccountIdNotFound, - /// Invalid time range. - DBTEAMLOGGetTeamEventsErrorInvalidTimeRange, + /// Invalid time range. + DBTEAMLOGGetTeamEventsErrorInvalidTimeRange, - /// (no description). - DBTEAMLOGGetTeamEventsErrorOther, + /// Invalid filters. Do not specify both event_type and category parameters + /// for the same call. + DBTEAMLOGGetTeamEventsErrorInvalidFilters, + + /// (no description). + DBTEAMLOGGetTeamEventsErrorOther, }; @@ -65,6 +69,16 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag) { /// - (instancetype)initWithInvalidTimeRange; +/// +/// Initializes union class with tag state of "invalid_filters". +/// +/// Description of the "invalid_filters" tag state: Invalid filters. Do not +/// specify both event_type and category parameters for the same call. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvalidFilters; + /// /// Initializes union class with tag state of "other". /// @@ -94,6 +108,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag) { /// - (BOOL)isInvalidTimeRange; +/// +/// Retrieves whether the union's current tag state has value "invalid_filters". +/// +/// @return Whether the union's current tag state has value "invalid_filters". +/// +- (BOOL)isInvalidFilters; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -125,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsError` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsError *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsError *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsError` instances. @@ -135,7 +156,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGetTeamEventsErrorTag) { /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsError` object. /// -+ (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGetTeamEventsError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsResult.h index e713db6ef..5ba1b5d94 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGetTeamEventsResult.h @@ -26,14 +26,21 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// List of events. +/// List of events. Note that events are not guaranteed to be sorted by their +/// timestamp value. @property (nonatomic, readonly) NSArray *events; -/// Pass the cursor into `getEventsContinue` to obtain additional events. +/// Pass the cursor into `getEventsContinue` to obtain additional events. The +/// value of cursor may change for each response from `getEventsContinue`, +/// regardless of the value of hasMore; older cursor strings may expire. Thus, +/// callers should ensure that they update their cursor based on the latest +/// value of cursor after each call, and poll regularly if they wish to poll for +/// new events. Callers should handle reset exceptions for expired cursors. @property (nonatomic, readonly, copy) NSString *cursor; -/// Is true if there are additional events that have not been returned yet. An -/// additional call to `getEventsContinue` can retrieve them. +/// Is true if there may be additional events that have not been returned yet. +/// An additional call to `getEventsContinue` can retrieve them. Note that +/// hasMore may be true, even if events is empty. @property (nonatomic, readonly) NSNumber *hasMore; #pragma mark - Constructors @@ -41,11 +48,18 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param events List of events. +/// @param events List of events. Note that events are not guaranteed to be +/// sorted by their timestamp value. /// @param cursor Pass the cursor into `getEventsContinue` to obtain additional -/// events. -/// @param hasMore Is true if there are additional events that have not been +/// events. The value of cursor may change for each response from +/// `getEventsContinue`, regardless of the value of hasMore; older cursor +/// strings may expire. Thus, callers should ensure that they update their +/// cursor based on the latest value of cursor after each call, and poll +/// regularly if they wish to poll for new events. Callers should handle reset +/// exceptions for expired cursors. +/// @param hasMore Is true if there may be additional events that have not been /// returned yet. An additional call to `getEventsContinue` can retrieve them. +/// Note that hasMore may be true, even if events is empty. /// /// @return An initialized instance. /// @@ -73,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGetTeamEventsResult` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsResult *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGetTeamEventsResult *)instance; /// /// Deserializes `DBTEAMLOGGetTeamEventsResult` instances. @@ -83,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGetTeamEventsResult` object. /// -+ (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGetTeamEventsResult *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyDetails.h index 27cdc5653..54986c32b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GoogleSsoChangePolicyDetails` struct. /// -/// Enabled or disabled Google single sign-on for the team. +/// Enabled/disabled Google single sign-on for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGGoogleSsoChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGGoogleSsoChangePolicyDetails` /// object. /// -+ (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGoogleSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyType.h new file mode 100644 index 000000000..f0a343e48 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGoogleSsoChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GoogleSsoChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGoogleSsoChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GoogleSsoChangePolicyType` struct. +/// +@interface DBTEAMLOGGoogleSsoChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGoogleSsoChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGoogleSsoChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGoogleSsoChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGGoogleSsoChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGoogleSsoChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGoogleSsoChangePolicyType` object. +/// ++ (DBTEAMLOGGoogleSsoChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoPolicy.h index 07133c62a..81fb15e33 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGoogleSsoPolicy.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGGoogleSsoPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGoogleSsoPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGGoogleSsoPolicyTag) { - /// (no description). - DBTEAMLOGGoogleSsoPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGoogleSsoPolicyTag){ + /// (no description). + DBTEAMLOGGoogleSsoPolicyDisabled, - /// (no description). - DBTEAMLOGGoogleSsoPolicyEnabled, + /// (no description). + DBTEAMLOGGoogleSsoPolicyEnabled, - /// (no description). - DBTEAMLOGGoogleSsoPolicyOther, + /// (no description). + DBTEAMLOGGoogleSsoPolicyOther, }; @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGoogleSsoPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGoogleSsoPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGoogleSsoPolicy *)instance; /// /// Deserializes `DBTEAMLOGGoogleSsoPolicy` instances. @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGoogleSsoPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGGoogleSsoPolicy` object. /// -+ (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGoogleSsoPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h new file mode 100644 index 000000000..57539b77e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h @@ -0,0 +1,115 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyAddFolderFailedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyAddFolderFailedDetails` struct. +/// +/// Couldn't add a folder to a policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyAddFolderFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Folder. +@property (nonatomic, readonly, copy) NSString *folder; + +/// Reason. +@property (nonatomic, readonly, copy, nullable) NSString *reason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param folder Folder. +/// @param policyType Policy type. +/// @param reason Reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + folder:(NSString *)folder + policyType:(nullable DBTEAMLOGPolicyType *)policyType + reason:(nullable NSString *)reason; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param folder Folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + folder:(NSString *)folder; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyAddFolderFailedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyAddFolderFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyAddFolderFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedType.h new file mode 100644 index 000000000..ed28ac5f5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFolderFailedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyAddFolderFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyAddFolderFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyAddFolderFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyAddFolderFailedType` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyAddFolderFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyAddFolderFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFolderFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyAddFolderFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyAddFolderFailedType` object. +/// ++ (DBTEAMLOGGovernancePolicyAddFolderFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersDetails.h new file mode 100644 index 000000000..d251ddabc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersDetails.h @@ -0,0 +1,106 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyAddFoldersDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyAddFoldersDetails` struct. +/// +/// Added folders to policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyAddFoldersDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Folders. +@property (nonatomic, readonly, nullable) NSArray *folders; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param policyType Policy type. +/// @param folders Folders. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(nullable DBTEAMLOGPolicyType *)policyType + folders:(nullable NSArray *)folders; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyAddFoldersDetails` struct. +/// +@interface DBTEAMLOGGovernancePolicyAddFoldersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyAddFoldersDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyAddFoldersDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFoldersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFoldersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyAddFoldersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFoldersDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyAddFoldersDetails` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyAddFoldersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersType.h new file mode 100644 index 000000000..3f6be36e5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyAddFoldersType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyAddFoldersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyAddFoldersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyAddFoldersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyAddFoldersType` struct. +/// +@interface DBTEAMLOGGovernancePolicyAddFoldersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyAddFoldersType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGovernancePolicyAddFoldersType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFoldersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyAddFoldersType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyAddFoldersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyAddFoldersType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyAddFoldersType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyAddFoldersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedDetails.h new file mode 100644 index 000000000..2a930989f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedDetails.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDispositionActionType; +@class DBTEAMLOGGovernancePolicyContentDisposedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyContentDisposedDetails` struct. +/// +/// Content disposed. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyContentDisposedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Disposition type. +@property (nonatomic, readonly) DBTEAMLOGDispositionActionType *dispositionType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param dispositionType Disposition type. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + dispositionType:(DBTEAMLOGDispositionActionType *)dispositionType + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param dispositionType Disposition type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + dispositionType:(DBTEAMLOGDispositionActionType *)dispositionType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyContentDisposedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyContentDisposedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyContentDisposedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyContentDisposedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyContentDisposedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyContentDisposedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyContentDisposedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedType.h new file mode 100644 index 000000000..40182bd7b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyContentDisposedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyContentDisposedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyContentDisposedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyContentDisposedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyContentDisposedType` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyContentDisposedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyContentDisposedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyContentDisposedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyContentDisposedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyContentDisposedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyContentDisposedType` object. +/// ++ (DBTEAMLOGGovernancePolicyContentDisposedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateDetails.h new file mode 100644 index 000000000..5a3be8133 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateDetails.h @@ -0,0 +1,115 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDurationLogInfo; +@class DBTEAMLOGGovernancePolicyCreateDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyCreateDetails` struct. +/// +/// Activated a new policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyCreateDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Duration in days. +@property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *duration; + +/// Folders. +@property (nonatomic, readonly, nullable) NSArray *folders; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param duration Duration in days. +/// @param policyType Policy type. +/// @param folders Folders. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + duration:(DBTEAMLOGDurationLogInfo *)duration + policyType:(nullable DBTEAMLOGPolicyType *)policyType + folders:(nullable NSArray *)folders; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param duration Duration in days. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + duration:(DBTEAMLOGDurationLogInfo *)duration; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyCreateDetails` struct. +/// +@interface DBTEAMLOGGovernancePolicyCreateDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyCreateDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGovernancePolicyCreateDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyCreateDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyCreateDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyCreateDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyCreateDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyCreateDetails` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyCreateDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateType.h new file mode 100644 index 000000000..8f4a0ff61 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyCreateType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyCreateType` struct. +/// +@interface DBTEAMLOGGovernancePolicyCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGovernancePolicyCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyCreateType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteDetails.h new file mode 100644 index 000000000..9f862f5b5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteDetails.h @@ -0,0 +1,101 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyDeleteDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyDeleteDetails` struct. +/// +/// Deleted a policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyDeleteDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyDeleteDetails` struct. +/// +@interface DBTEAMLOGGovernancePolicyDeleteDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyDeleteDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGovernancePolicyDeleteDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyDeleteDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyDeleteDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyDeleteDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyDeleteDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyDeleteDetails` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyDeleteDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteType.h new file mode 100644 index 000000000..f530db735 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyDeleteType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyDeleteType` struct. +/// +@interface DBTEAMLOGGovernancePolicyDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGovernancePolicyDeleteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyDeleteType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsDetails.h new file mode 100644 index 000000000..aec355125 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsDetails.h @@ -0,0 +1,123 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyEditDetailsDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyEditDetailsDetails` struct. +/// +/// Edited policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyEditDetailsDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Attribute. +@property (nonatomic, readonly, copy) NSString *attribute; + +/// From. +@property (nonatomic, readonly, copy) NSString *previousValue; + +/// To. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param attribute Attribute. +/// @param previousValue From. +/// @param dNewValue To. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + attribute:(NSString *)attribute + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param attribute Attribute. +/// @param previousValue From. +/// @param dNewValue To. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + attribute:(NSString *)attribute + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyEditDetailsDetails` struct. +/// +@interface DBTEAMLOGGovernancePolicyEditDetailsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyEditDetailsDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyEditDetailsDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDetailsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDetailsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyEditDetailsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDetailsDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyEditDetailsDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyEditDetailsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsType.h new file mode 100644 index 000000000..deceae501 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDetailsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyEditDetailsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyEditDetailsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyEditDetailsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyEditDetailsType` struct. +/// +@interface DBTEAMLOGGovernancePolicyEditDetailsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyEditDetailsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyEditDetailsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDetailsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDetailsType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyEditDetailsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDetailsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyEditDetailsType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyEditDetailsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationDetails.h new file mode 100644 index 000000000..8c711e45f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationDetails.h @@ -0,0 +1,118 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDurationLogInfo; +@class DBTEAMLOGGovernancePolicyEditDurationDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyEditDurationDetails` struct. +/// +/// Changed policy duration. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyEditDurationDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *previousValue; + +/// To. +@property (nonatomic, readonly) DBTEAMLOGDurationLogInfo *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param previousValue From. +/// @param dNewValue To. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + previousValue:(DBTEAMLOGDurationLogInfo *)previousValue + dNewValue:(DBTEAMLOGDurationLogInfo *)dNewValue + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param previousValue From. +/// @param dNewValue To. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + previousValue:(DBTEAMLOGDurationLogInfo *)previousValue + dNewValue:(DBTEAMLOGDurationLogInfo *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyEditDurationDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyEditDurationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyEditDurationDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyEditDurationDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDurationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDurationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyEditDurationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDurationDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyEditDurationDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyEditDurationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationType.h new file mode 100644 index 000000000..892d4e2cc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyEditDurationType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyEditDurationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyEditDurationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyEditDurationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyEditDurationType` struct. +/// +@interface DBTEAMLOGGovernancePolicyEditDurationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyEditDurationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyEditDurationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDurationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyEditDurationType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyEditDurationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyEditDurationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyEditDurationType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyEditDurationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedDetails.h new file mode 100644 index 000000000..a4a078f40 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedDetails.h @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyExportCreatedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyExportCreatedDetails` struct. +/// +/// Created a policy download. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyExportCreatedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyExportCreatedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyExportCreatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyExportCreatedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyExportCreatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportCreatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportCreatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyExportCreatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportCreatedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyExportCreatedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyExportCreatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedType.h new file mode 100644 index 000000000..4e4df6b69 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportCreatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyExportCreatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyExportCreatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyExportCreatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyExportCreatedType` struct. +/// +@interface DBTEAMLOGGovernancePolicyExportCreatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyExportCreatedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyExportCreatedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportCreatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportCreatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyExportCreatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportCreatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyExportCreatedType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyExportCreatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedDetails.h new file mode 100644 index 000000000..dcdbac9db --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedDetails.h @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyExportRemovedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyExportRemovedDetails` struct. +/// +/// Removed a policy download. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyExportRemovedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyExportRemovedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyExportRemovedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyExportRemovedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyExportRemovedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportRemovedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportRemovedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyExportRemovedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportRemovedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyExportRemovedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyExportRemovedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedType.h new file mode 100644 index 000000000..afd3dcf0f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyExportRemovedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyExportRemovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyExportRemovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyExportRemovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyExportRemovedType` struct. +/// +@interface DBTEAMLOGGovernancePolicyExportRemovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyExportRemovedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyExportRemovedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportRemovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyExportRemovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyExportRemovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyExportRemovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyExportRemovedType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyExportRemovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h new file mode 100644 index 000000000..fe85b233d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h @@ -0,0 +1,112 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyRemoveFoldersDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyRemoveFoldersDetails` struct. +/// +/// Removed folders from policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyRemoveFoldersDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Folders. +@property (nonatomic, readonly, nullable) NSArray *folders; + +/// Reason. +@property (nonatomic, readonly, copy, nullable) NSString *reason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param policyType Policy type. +/// @param folders Folders. +/// @param reason Reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(nullable DBTEAMLOGPolicyType *)policyType + folders:(nullable NSArray *)folders + reason:(nullable NSString *)reason; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyRemoveFoldersDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyRemoveFoldersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyRemoveFoldersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersType.h new file mode 100644 index 000000000..fbe2da8b0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyRemoveFoldersType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyRemoveFoldersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyRemoveFoldersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyRemoveFoldersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyRemoveFoldersType` struct. +/// +@interface DBTEAMLOGGovernancePolicyRemoveFoldersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyRemoveFoldersType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyRemoveFoldersType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyRemoveFoldersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyRemoveFoldersType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyRemoveFoldersType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyRemoveFoldersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedDetails.h new file mode 100644 index 000000000..c4171f79f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedDetails.h @@ -0,0 +1,102 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyReportCreatedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyReportCreatedDetails` struct. +/// +/// Created a summary report for a policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyReportCreatedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param policyType Policy type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + policyType:(nullable DBTEAMLOGPolicyType *)policyType; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyReportCreatedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyReportCreatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyReportCreatedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyReportCreatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyReportCreatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyReportCreatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyReportCreatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyReportCreatedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyReportCreatedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyReportCreatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedType.h new file mode 100644 index 000000000..fd31df236 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyReportCreatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyReportCreatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyReportCreatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyReportCreatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyReportCreatedType` struct. +/// +@interface DBTEAMLOGGovernancePolicyReportCreatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyReportCreatedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyReportCreatedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyReportCreatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyReportCreatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyReportCreatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyReportCreatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGovernancePolicyReportCreatedType` +/// object. +/// ++ (DBTEAMLOGGovernancePolicyReportCreatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h new file mode 100644 index 000000000..1a0b504e9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h @@ -0,0 +1,115 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyZipPartDownloadedDetails; +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyZipPartDownloadedDetails` struct. +/// +/// Downloaded content from a policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyZipPartDownloadedDetails : NSObject + +#pragma mark - Instance fields + +/// Policy ID. +@property (nonatomic, readonly, copy) NSString *governancePolicyId; + +/// Policy name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Policy type. +@property (nonatomic, readonly, nullable) DBTEAMLOGPolicyType *policyType; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +/// Part. +@property (nonatomic, readonly, copy, nullable) NSString *part; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// @param policyType Policy type. +/// @param part Part. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName + policyType:(nullable DBTEAMLOGPolicyType *)policyType + part:(nullable NSString *)part; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param governancePolicyId Policy ID. +/// @param name Policy name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGovernancePolicyId:(NSString *)governancePolicyId + name:(NSString *)name + exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyZipPartDownloadedDetails` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyZipPartDownloadedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedDetails` object. +/// ++ (DBTEAMLOGGovernancePolicyZipPartDownloadedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedType.h new file mode 100644 index 000000000..7d6b00452 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGovernancePolicyZipPartDownloadedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGovernancePolicyZipPartDownloadedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GovernancePolicyZipPartDownloadedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGovernancePolicyZipPartDownloadedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GovernancePolicyZipPartDownloadedType` +/// struct. +/// +@interface DBTEAMLOGGovernancePolicyZipPartDownloadedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGovernancePolicyZipPartDownloadedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGovernancePolicyZipPartDownloadedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGovernancePolicyZipPartDownloadedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGovernancePolicyZipPartDownloadedType` object. +/// ++ (DBTEAMLOGGovernancePolicyZipPartDownloadedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdDetails.h index 35ccf717b..2e14f58b5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupAddExternalIdDetails` struct. /// -/// Added an external ID for group. +/// Added external ID for group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddExternalIdDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupAddExternalIdDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupAddExternalIdDetails` object. /// -+ (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupAddExternalIdDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdType.h new file mode 100644 index 000000000..85fa1bc51 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddExternalIdType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupAddExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupAddExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupAddExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupAddExternalIdType` struct. +/// +@interface DBTEAMLOGGroupAddExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupAddExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupAddExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupAddExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupAddExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupAddExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupAddExternalIdType` object. +/// ++ (DBTEAMLOGGroupAddExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberDetails.h index d741087ef..67337f2df 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupAddMemberDetails` struct. /// -/// Added team members to a group. +/// Added team members to group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupAddMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupAddMemberDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupAddMemberDetails` object. /// -+ (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupAddMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberType.h new file mode 100644 index 000000000..1ca0108c0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupAddMemberType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupAddMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupAddMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupAddMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupAddMemberType` struct. +/// +@interface DBTEAMLOGGroupAddMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupAddMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupAddMemberType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupAddMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupAddMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupAddMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupAddMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupAddMemberType` object. +/// ++ (DBTEAMLOGGroupAddMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdDetails.h index 0eee3f875..f07fcb95d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupChangeExternalIdDetails` struct. /// -/// Changed the external ID for group. +/// Changed external ID for group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeExternalIdDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeExternalIdDetails` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGGroupChangeExternalIdDetails` /// object. /// -+ (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupChangeExternalIdDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdType.h new file mode 100644 index 000000000..2be08fb34 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeExternalIdType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupChangeExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupChangeExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupChangeExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupChangeExternalIdType` struct. +/// +@interface DBTEAMLOGGroupChangeExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupChangeExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupChangeExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupChangeExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupChangeExternalIdType` object. +/// ++ (DBTEAMLOGGroupChangeExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeDetails.h index 507a0d168..e68122741 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeDetails.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeManagementTypeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeManagementTypeDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGGroupChangeManagementTypeDetails` /// object. /// -+ (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupChangeManagementTypeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeType.h new file mode 100644 index 000000000..db201d155 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeManagementTypeType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupChangeManagementTypeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupChangeManagementTypeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupChangeManagementTypeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupChangeManagementTypeType` struct. +/// +@interface DBTEAMLOGGroupChangeManagementTypeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupChangeManagementTypeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupChangeManagementTypeType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeManagementTypeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeManagementTypeType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupChangeManagementTypeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeManagementTypeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupChangeManagementTypeType` +/// object. +/// ++ (DBTEAMLOGGroupChangeManagementTypeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleDetails.h index b190e4a09..f03770da3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupChangeMemberRoleDetails` struct. /// -/// Changed the manager permissions belonging to a group member. +/// Changed manager permissions of group member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupChangeMemberRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupChangeMemberRoleDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGGroupChangeMemberRoleDetails` /// object. /// -+ (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleType.h new file mode 100644 index 000000000..b863d224f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupChangeMemberRoleType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupChangeMemberRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupChangeMemberRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupChangeMemberRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupChangeMemberRoleType` struct. +/// +@interface DBTEAMLOGGroupChangeMemberRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupChangeMemberRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupChangeMemberRoleType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeMemberRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupChangeMemberRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupChangeMemberRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupChangeMemberRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupChangeMemberRoleType` object. +/// ++ (DBTEAMLOGGroupChangeMemberRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateDetails.h index 36aee23bc..8cc436878 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupCreateDetails` struct. /// -/// Created a group. +/// Created group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,35 +28,33 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Is company managed group. Might be missing due to historical data gap. +/// Is company managed group. @property (nonatomic, readonly, nullable) NSNumber *isCompanyManaged; /// Group join policy. -@property (nonatomic, readonly) DBTEAMLOGGroupJoinPolicy *joinPolicy; +@property (nonatomic, readonly, nullable) DBTEAMLOGGroupJoinPolicy *joinPolicy; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param isCompanyManaged Is company managed group. /// @param joinPolicy Group join policy. -/// @param isCompanyManaged Is company managed group. Might be missing due to -/// historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy - isCompanyManaged:(nullable NSNumber *)isCompanyManaged; +- (instancetype)initWithIsCompanyManaged:(nullable NSNumber *)isCompanyManaged + joinPolicy:(nullable DBTEAMLOGGroupJoinPolicy *)joinPolicy; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param joinPolicy Group join policy. /// /// @return An initialized instance. /// -- (instancetype)initWithJoinPolicy:(DBTEAMLOGGroupJoinPolicy *)joinPolicy; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -77,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupCreateDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupCreateDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupCreateDetails` instances. @@ -87,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupCreateDetails` object. /// -+ (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupCreateDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateType.h new file mode 100644 index 000000000..117143043 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupCreateType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupCreateType` struct. +/// +@interface DBTEAMLOGGroupCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupCreateType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupCreateType` object. +/// ++ (DBTEAMLOGGroupCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteDetails.h index 498989b7d..a836d269f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupDeleteDetails` struct. /// -/// Deleted a group. +/// Deleted group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Is company managed group. Might be missing due to historical data gap. +/// Is company managed group. @property (nonatomic, readonly, nullable) NSNumber *isCompanyManaged; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param isCompanyManaged Is company managed group. Might be missing due to -/// historical data gap. +/// @param isCompanyManaged Is company managed group. /// /// @return An initialized instance. /// @@ -70,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDeleteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupDeleteDetails` instances. @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupDeleteDetails` object. /// -+ (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteType.h new file mode 100644 index 000000000..dc0dfe20b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDeleteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupDeleteType` struct. +/// +@interface DBTEAMLOGGroupDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupDeleteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupDeleteType` object. +/// ++ (DBTEAMLOGGroupDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelRemoveExpirationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedDetails.h similarity index 52% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelRemoveExpirationDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedDetails.h index f645706ba..6785a21a8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelRemoveExpirationDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelRemoveExpirationDetails; +@class DBTEAMLOGGroupDescriptionUpdatedDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelRemoveExpirationDetails` struct. +/// The `GroupDescriptionUpdatedDetails` struct. /// -/// Removed the expiration date from a link. +/// Updated group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelRemoveExpirationDetails : NSObject +@interface DBTEAMLOGGroupDescriptionUpdatedDetails : NSObject #pragma mark - Instance fields @@ -43,31 +43,31 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelRemoveExpirationDetails` struct. +/// The serialization class for the `GroupDescriptionUpdatedDetails` struct. /// -@interface DBTEAMLOGShmodelRemoveExpirationDetailsSerializer : NSObject +@interface DBTEAMLOGGroupDescriptionUpdatedDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelRemoveExpirationDetails` instances. +/// Serializes `DBTEAMLOGGroupDescriptionUpdatedDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelRemoveExpirationDetails` +/// @param instance An instance of the `DBTEAMLOGGroupDescriptionUpdatedDetails` /// API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelRemoveExpirationDetails` API object. +/// `DBTEAMLOGGroupDescriptionUpdatedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelRemoveExpirationDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDescriptionUpdatedDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelRemoveExpirationDetails` instances. +/// Deserializes `DBTEAMLOGGroupDescriptionUpdatedDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelRemoveExpirationDetails` API object. +/// `DBTEAMLOGGroupDescriptionUpdatedDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelRemoveExpirationDetails` +/// @return An instantiation of the `DBTEAMLOGGroupDescriptionUpdatedDetails` /// object. /// -+ (DBTEAMLOGShmodelRemoveExpirationDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupDescriptionUpdatedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedType.h new file mode 100644 index 000000000..23ee2b555 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupDescriptionUpdatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupDescriptionUpdatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupDescriptionUpdatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupDescriptionUpdatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupDescriptionUpdatedType` struct. +/// +@interface DBTEAMLOGGroupDescriptionUpdatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupDescriptionUpdatedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupDescriptionUpdatedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupDescriptionUpdatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupDescriptionUpdatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupDescriptionUpdatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupDescriptionUpdatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupDescriptionUpdatedType` +/// object. +/// ++ (DBTEAMLOGGroupDescriptionUpdatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicy.h index 74c04c404..13481a21c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGGroupJoinPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGGroupJoinPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGGroupJoinPolicyTag) { - /// (no description). - DBTEAMLOGGroupJoinPolicyOpen, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGGroupJoinPolicyTag){ + /// (no description). + DBTEAMLOGGroupJoinPolicyOpen, - /// (no description). - DBTEAMLOGGroupJoinPolicyRequestToJoin, + /// (no description). + DBTEAMLOGGroupJoinPolicyRequestToJoin, - /// (no description). - DBTEAMLOGGroupJoinPolicyOther, + /// (no description). + DBTEAMLOGGroupJoinPolicyOther, }; @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGroupJoinPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupJoinPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicy *)instance; /// /// Deserializes `DBTEAMLOGGroupJoinPolicy` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGGroupJoinPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGGroupJoinPolicy` object. /// -+ (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupJoinPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedDetails.h new file mode 100644 index 000000000..1a1ed5dd0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedDetails.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupJoinPolicy; +@class DBTEAMLOGGroupJoinPolicyUpdatedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupJoinPolicyUpdatedDetails` struct. +/// +/// Updated group join policy. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupJoinPolicyUpdatedDetails : NSObject + +#pragma mark - Instance fields + +/// Is company managed group. +@property (nonatomic, readonly, nullable) NSNumber *isCompanyManaged; + +/// Group join policy. +@property (nonatomic, readonly, nullable) DBTEAMLOGGroupJoinPolicy *joinPolicy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param isCompanyManaged Is company managed group. +/// @param joinPolicy Group join policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsCompanyManaged:(nullable NSNumber *)isCompanyManaged + joinPolicy:(nullable DBTEAMLOGGroupJoinPolicy *)joinPolicy; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupJoinPolicyUpdatedDetails` struct. +/// +@interface DBTEAMLOGGroupJoinPolicyUpdatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupJoinPolicyUpdatedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupJoinPolicyUpdatedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupJoinPolicyUpdatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicyUpdatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupJoinPolicyUpdatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupJoinPolicyUpdatedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupJoinPolicyUpdatedDetails` +/// object. +/// ++ (DBTEAMLOGGroupJoinPolicyUpdatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedType.h new file mode 100644 index 000000000..f36d90988 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupJoinPolicyUpdatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupJoinPolicyUpdatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupJoinPolicyUpdatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupJoinPolicyUpdatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupJoinPolicyUpdatedType` struct. +/// +@interface DBTEAMLOGGroupJoinPolicyUpdatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupJoinPolicyUpdatedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupJoinPolicyUpdatedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupJoinPolicyUpdatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupJoinPolicyUpdatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupJoinPolicyUpdatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupJoinPolicyUpdatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupJoinPolicyUpdatedType` +/// object. +/// ++ (DBTEAMLOGGroupJoinPolicyUpdatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupLogInfo.h index 5883a3ca9..7380fcda1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupLogInfo.h @@ -27,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// The unique id of this group. Might be missing due to historical data gap. +/// The unique id of this group. @property (nonatomic, readonly, copy, nullable) NSString *groupId; /// The name of this group. @property (nonatomic, readonly, copy) NSString *displayName; -/// External group ID. Might be missing due to historical data gap. +/// External group ID. @property (nonatomic, readonly, copy, nullable) NSString *externalId; #pragma mark - Constructors @@ -42,10 +42,8 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param displayName The name of this group. -/// @param groupId The unique id of this group. Might be missing due to -/// historical data gap. -/// @param externalId External group ID. Might be missing due to historical data -/// gap. +/// @param groupId The unique id of this group. +/// @param externalId External group ID. /// /// @return An initialized instance. /// @@ -82,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupLogInfo *)instance; /// /// Deserializes `DBTEAMLOGGroupLogInfo` instances. @@ -92,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupLogInfo` object. /// -+ (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedDetails.h index f81efd63a..2ea037387 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupMovedDetails` struct. /// -/// Moved a group. +/// Moved group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupMovedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupMovedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupMovedDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupMovedDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupMovedDetails` object. /// -+ (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupMovedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedType.h new file mode 100644 index 000000000..c62d9d707 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupMovedType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupMovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupMovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupMovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupMovedType` struct. +/// +@interface DBTEAMLOGGroupMovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupMovedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupMovedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupMovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupMovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupMovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupMovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupMovedType` object. +/// ++ (DBTEAMLOGGroupMovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdDetails.h index 89bd70f21..f588f0383 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupRemoveExternalIdDetails` struct. /// -/// Removed the external ID for group. +/// Removed external ID for group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveExternalIdDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRemoveExternalIdDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGGroupRemoveExternalIdDetails` /// object. /// -+ (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupRemoveExternalIdDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdType.h new file mode 100644 index 000000000..bc5214ed2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveExternalIdType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupRemoveExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupRemoveExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupRemoveExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupRemoveExternalIdType` struct. +/// +@interface DBTEAMLOGGroupRemoveExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupRemoveExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupRemoveExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRemoveExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupRemoveExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRemoveExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupRemoveExternalIdType` object. +/// ++ (DBTEAMLOGGroupRemoveExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberDetails.h index c42ddaa54..b54308104 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupRemoveMemberDetails` struct. /// -/// Removed team members from a group. +/// Removed team members from group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRemoveMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRemoveMemberDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupRemoveMemberDetails` object. /// -+ (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberType.h new file mode 100644 index 000000000..c5431f5c6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRemoveMemberType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupRemoveMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupRemoveMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupRemoveMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupRemoveMemberType` struct. +/// +@interface DBTEAMLOGGroupRemoveMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupRemoveMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupRemoveMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRemoveMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRemoveMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupRemoveMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRemoveMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupRemoveMemberType` object. +/// ++ (DBTEAMLOGGroupRemoveMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameDetails.h index 4bb49925e..2965dc03a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `GroupRenameDetails` struct. /// -/// Renamed a group. +/// Renamed group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupRenameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRenameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupRenameDetails` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGGroupRenameDetails` object. /// -+ (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupRenameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameType.h new file mode 100644 index 000000000..1bef8ceb2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupRenameType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupRenameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupRenameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupRenameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupRenameType` struct. +/// +@interface DBTEAMLOGGroupRenameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupRenameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGroupRenameType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRenameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupRenameType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupRenameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupRenameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGroupRenameType` object. +/// ++ (DBTEAMLOGGroupRenameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyDetails.h index 96135575c..cf0578d5a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyDetails.h @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGGroupUserManagementChangePolicyDetails` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGGroupUserManagementChangePolicyDetails` object. /// -+ (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGGroupUserManagementChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyType.h new file mode 100644 index 000000000..8f1e48d74 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGroupUserManagementChangePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGroupUserManagementChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GroupUserManagementChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGroupUserManagementChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GroupUserManagementChangePolicyType` +/// struct. +/// +@interface DBTEAMLOGGroupUserManagementChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGroupUserManagementChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGroupUserManagementChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupUserManagementChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGroupUserManagementChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGGroupUserManagementChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGroupUserManagementChangePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGroupUserManagementChangePolicyType` object. +/// ++ (DBTEAMLOGGroupUserManagementChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusDetails.h new file mode 100644 index 000000000..0ae3550f2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusDetails.h @@ -0,0 +1,122 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminChangeStatusDetails; +@class DBTEAMLOGTrustedTeamsRequestAction; +@class DBTEAMLOGTrustedTeamsRequestState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminChangeStatusDetails` struct. +/// +/// Changed guest team admin status. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminChangeStatusDetails : NSObject + +#pragma mark - Instance fields + +/// True for guest, false for host. +@property (nonatomic, readonly) NSNumber *isGuest; + +/// The name of the guest team. +@property (nonatomic, readonly, copy, nullable) NSString *guestTeamName; + +/// The name of the host team. +@property (nonatomic, readonly, copy, nullable) NSString *hostTeamName; + +/// Previous request state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *previousValue; + +/// New request state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestState *dNewValue; + +/// Action details. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestAction *actionDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param isGuest True for guest, false for host. +/// @param previousValue Previous request state. +/// @param dNewValue New request state. +/// @param actionDetails Action details. +/// @param guestTeamName The name of the guest team. +/// @param hostTeamName The name of the host team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsGuest:(NSNumber *)isGuest + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue + actionDetails:(DBTEAMLOGTrustedTeamsRequestAction *)actionDetails + guestTeamName:(nullable NSString *)guestTeamName + hostTeamName:(nullable NSString *)hostTeamName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param isGuest True for guest, false for host. +/// @param previousValue Previous request state. +/// @param dNewValue New request state. +/// @param actionDetails Action details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIsGuest:(NSNumber *)isGuest + previousValue:(DBTEAMLOGTrustedTeamsRequestState *)previousValue + dNewValue:(DBTEAMLOGTrustedTeamsRequestState *)dNewValue + actionDetails:(DBTEAMLOGTrustedTeamsRequestAction *)actionDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminChangeStatusDetails` struct. +/// +@interface DBTEAMLOGGuestAdminChangeStatusDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminChangeStatusDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGuestAdminChangeStatusDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminChangeStatusDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminChangeStatusDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminChangeStatusDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminChangeStatusDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGuestAdminChangeStatusDetails` +/// object. +/// ++ (DBTEAMLOGGuestAdminChangeStatusDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusType.h new file mode 100644 index 000000000..180a2706e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminChangeStatusType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminChangeStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminChangeStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminChangeStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminChangeStatusType` struct. +/// +@interface DBTEAMLOGGuestAdminChangeStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminChangeStatusType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGGuestAdminChangeStatusType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminChangeStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminChangeStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminChangeStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminChangeStatusType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGGuestAdminChangeStatusType` +/// object. +/// ++ (DBTEAMLOGGuestAdminChangeStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h new file mode 100644 index 000000000..5cbeef0b6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminSignedInViaTrustedTeamsDetails` struct. +/// +/// Started trusted team admin session. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails : NSObject + +#pragma mark - Instance fields + +/// Host team name. +@property (nonatomic, readonly, copy, nullable) NSString *teamName; + +/// Trusted team name. +@property (nonatomic, readonly, copy, nullable) NSString *trustedTeamName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamName Host team name. +/// @param trustedTeamName Trusted team name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamName:(nullable NSString *)teamName trustedTeamName:(nullable NSString *)trustedTeamName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminSignedInViaTrustedTeamsDetails` +/// struct. +/// +@interface DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails` object. +/// ++ (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h new file mode 100644 index 000000000..fdb2ef80f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminSignedInViaTrustedTeamsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminSignedInViaTrustedTeamsType` +/// struct. +/// +@interface DBTEAMLOGGuestAdminSignedInViaTrustedTeamsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType` object. +/// ++ (DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h new file mode 100644 index 000000000..fa379ae19 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminSignedOutViaTrustedTeamsDetails` struct. +/// +/// Ended trusted team admin session. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails : NSObject + +#pragma mark - Instance fields + +/// Host team name. +@property (nonatomic, readonly, copy, nullable) NSString *teamName; + +/// Trusted team name. +@property (nonatomic, readonly, copy, nullable) NSString *trustedTeamName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param teamName Host team name. +/// @param trustedTeamName Trusted team name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamName:(nullable NSString *)teamName trustedTeamName:(nullable NSString *)trustedTeamName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminSignedOutViaTrustedTeamsDetails` +/// struct. +/// +@interface DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails` object. +/// ++ (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h new file mode 100644 index 000000000..8560a8901 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `GuestAdminSignedOutViaTrustedTeamsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `GuestAdminSignedOutViaTrustedTeamsType` +/// struct. +/// +@interface DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)instance; + +/// +/// Deserializes `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType` object. +/// ++ (DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIdentifierType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIdentifierType.h new file mode 100644 index 000000000..474071911 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIdentifierType.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIdentifierType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IdentifierType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIdentifierType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGIdentifierTypeTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGIdentifierType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGIdentifierTypeTag){ + /// (no description). + DBTEAMLOGIdentifierTypeEmail, + + /// (no description). + DBTEAMLOGIdentifierTypeFacebookProfileName, + + /// (no description). + DBTEAMLOGIdentifierTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGIdentifierTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "email". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmail; + +/// +/// Initializes union class with tag state of "facebook_profile_name". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFacebookProfileName; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "email". +/// +/// @return Whether the union's current tag state has value "email". +/// +- (BOOL)isEmail; + +/// +/// Retrieves whether the union's current tag state has value +/// "facebook_profile_name". +/// +/// @return Whether the union's current tag state has value +/// "facebook_profile_name". +/// +- (BOOL)isFacebookProfileName; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGIdentifierType` union. +/// +@interface DBTEAMLOGIdentifierTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIdentifierType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIdentifierType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIdentifierType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIdentifierType *)instance; + +/// +/// Deserializes `DBTEAMLOGIdentifierType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIdentifierType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIdentifierType` object. +/// ++ (DBTEAMLOGIdentifierType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedDetails.h new file mode 100644 index 000000000..980a307f6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationConnectedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationConnectedDetails` struct. +/// +/// Connected integration for member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationConnectedDetails : NSObject + +#pragma mark - Instance fields + +/// Name of the third-party integration. +@property (nonatomic, readonly, copy) NSString *integrationName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param integrationName Name of the third-party integration. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationName:(NSString *)integrationName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationConnectedDetails` struct. +/// +@interface DBTEAMLOGIntegrationConnectedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationConnectedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationConnectedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationConnectedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationConnectedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationConnectedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationConnectedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationConnectedDetails` +/// object. +/// ++ (DBTEAMLOGIntegrationConnectedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedType.h new file mode 100644 index 000000000..185db920a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationConnectedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationConnectedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationConnectedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationConnectedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationConnectedType` struct. +/// +@interface DBTEAMLOGIntegrationConnectedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationConnectedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationConnectedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationConnectedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationConnectedType *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationConnectedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationConnectedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationConnectedType` object. +/// ++ (DBTEAMLOGIntegrationConnectedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedDetails.h new file mode 100644 index 000000000..214dd162f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationDisconnectedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationDisconnectedDetails` struct. +/// +/// Disconnected integration for member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationDisconnectedDetails : NSObject + +#pragma mark - Instance fields + +/// Name of the third-party integration. +@property (nonatomic, readonly, copy) NSString *integrationName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param integrationName Name of the third-party integration. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationName:(NSString *)integrationName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationDisconnectedDetails` struct. +/// +@interface DBTEAMLOGIntegrationDisconnectedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationDisconnectedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationDisconnectedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationDisconnectedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationDisconnectedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationDisconnectedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationDisconnectedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationDisconnectedDetails` +/// object. +/// ++ (DBTEAMLOGIntegrationDisconnectedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedType.h new file mode 100644 index 000000000..af7c99b4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationDisconnectedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationDisconnectedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationDisconnectedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationDisconnectedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationDisconnectedType` struct. +/// +@interface DBTEAMLOGIntegrationDisconnectedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationDisconnectedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationDisconnectedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationDisconnectedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationDisconnectedType *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationDisconnectedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationDisconnectedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationDisconnectedType` +/// object. +/// ++ (DBTEAMLOGIntegrationDisconnectedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicy.h new file mode 100644 index 000000000..d0d4e9107 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationPolicy` union. +/// +/// Policy for controlling whether a service integration is enabled for the +/// team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGIntegrationPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGIntegrationPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGIntegrationPolicyTag){ + /// (no description). + DBTEAMLOGIntegrationPolicyDisabled, + + /// (no description). + DBTEAMLOGIntegrationPolicyEnabled, + + /// (no description). + DBTEAMLOGIntegrationPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGIntegrationPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGIntegrationPolicy` union. +/// +@interface DBTEAMLOGIntegrationPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationPolicy` object. +/// ++ (DBTEAMLOGIntegrationPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedDetails.h new file mode 100644 index 000000000..1efc05d6b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationPolicy; +@class DBTEAMLOGIntegrationPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationPolicyChangedDetails` struct. +/// +/// Changed integration policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Name of the third-party integration. +@property (nonatomic, readonly, copy) NSString *integrationName; + +/// New integration policy. +@property (nonatomic, readonly) DBTEAMLOGIntegrationPolicy *dNewValue; + +/// Previous integration policy. +@property (nonatomic, readonly) DBTEAMLOGIntegrationPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param integrationName Name of the third-party integration. +/// @param dNewValue New integration policy. +/// @param previousValue Previous integration policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIntegrationName:(NSString *)integrationName + dNewValue:(DBTEAMLOGIntegrationPolicy *)dNewValue + previousValue:(DBTEAMLOGIntegrationPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGIntegrationPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGIntegrationPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGIntegrationPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedType.h new file mode 100644 index 000000000..3a3c59e2f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGIntegrationPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGIntegrationPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `IntegrationPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGIntegrationPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `IntegrationPolicyChangedType` struct. +/// +@interface DBTEAMLOGIntegrationPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGIntegrationPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGIntegrationPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGIntegrationPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGIntegrationPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGIntegrationPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGIntegrationPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGIntegrationPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicy.h new file mode 100644 index 000000000..630924eba --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicy.h @@ -0,0 +1,138 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGInviteAcceptanceEmailPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `InviteAcceptanceEmailPolicy` union. +/// +/// Policy for deciding whether team admins receive email when an invitation to +/// join the team is accepted +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGInviteAcceptanceEmailPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGInviteAcceptanceEmailPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGInviteAcceptanceEmailPolicyTag){ + /// (no description). + DBTEAMLOGInviteAcceptanceEmailPolicyDisabled, + + /// (no description). + DBTEAMLOGInviteAcceptanceEmailPolicyEnabled, + + /// (no description). + DBTEAMLOGInviteAcceptanceEmailPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGInviteAcceptanceEmailPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGInviteAcceptanceEmailPolicy` +/// union. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGInviteAcceptanceEmailPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGInviteAcceptanceEmailPolicy` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGInviteAcceptanceEmailPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGInviteAcceptanceEmailPolicy` +/// object. +/// ++ (DBTEAMLOGInviteAcceptanceEmailPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h new file mode 100644 index 000000000..cd32f8142 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGInviteAcceptanceEmailPolicy; +@class DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `InviteAcceptanceEmailPolicyChangedDetails` struct. +/// +/// Changed invite accept email policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGInviteAcceptanceEmailPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly) DBTEAMLOGInviteAcceptanceEmailPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGInviteAcceptanceEmailPolicy *)dNewValue + previousValue:(DBTEAMLOGInviteAcceptanceEmailPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `InviteAcceptanceEmailPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails` object. +/// ++ (DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h new file mode 100644 index 000000000..1079fb57f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGInviteAcceptanceEmailPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `InviteAcceptanceEmailPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `InviteAcceptanceEmailPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGInviteAcceptanceEmailPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGInviteAcceptanceEmailPolicyChangedType` object. +/// ++ (DBTEAMLOGInviteAcceptanceEmailPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteMethod.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteMethod.h new file mode 100644 index 000000000..f790a5f45 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGInviteMethod.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGInviteMethod; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `InviteMethod` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGInviteMethod : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGInviteMethodTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGInviteMethod` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGInviteMethodTag){ + /// (no description). + DBTEAMLOGInviteMethodAutoApprove, + + /// (no description). + DBTEAMLOGInviteMethodInviteLink, + + /// (no description). + DBTEAMLOGInviteMethodMemberInvite, + + /// (no description). + DBTEAMLOGInviteMethodMovedFromAnotherTeam, + + /// (no description). + DBTEAMLOGInviteMethodOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGInviteMethodTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "auto_approve". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAutoApprove; + +/// +/// Initializes union class with tag state of "invite_link". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteLink; + +/// +/// Initializes union class with tag state of "member_invite". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMemberInvite; + +/// +/// Initializes union class with tag state of "moved_from_another_team". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMovedFromAnotherTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "auto_approve". +/// +/// @return Whether the union's current tag state has value "auto_approve". +/// +- (BOOL)isAutoApprove; + +/// +/// Retrieves whether the union's current tag state has value "invite_link". +/// +/// @return Whether the union's current tag state has value "invite_link". +/// +- (BOOL)isInviteLink; + +/// +/// Retrieves whether the union's current tag state has value "member_invite". +/// +/// @return Whether the union's current tag state has value "member_invite". +/// +- (BOOL)isMemberInvite; + +/// +/// Retrieves whether the union's current tag state has value +/// "moved_from_another_team". +/// +/// @return Whether the union's current tag state has value +/// "moved_from_another_team". +/// +- (BOOL)isMovedFromAnotherTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGInviteMethod` union. +/// +@interface DBTEAMLOGInviteMethodSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGInviteMethod` instances. +/// +/// @param instance An instance of the `DBTEAMLOGInviteMethod` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteMethod` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGInviteMethod *)instance; + +/// +/// Deserializes `DBTEAMLOGInviteMethod` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGInviteMethod` API object. +/// +/// @return An instantiation of the `DBTEAMLOGInviteMethod` object. +/// ++ (DBTEAMLOGInviteMethod *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGJoinTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGJoinTeamDetails.h index 3ab0bc467..207131148 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGJoinTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGJoinTeamDetails.h @@ -8,10 +8,10 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGAppLogInfo; -@class DBTEAMLOGDeviceLogInfo; @class DBTEAMLOGFolderLogInfo; @class DBTEAMLOGJoinTeamDetails; +@class DBTEAMLOGLinkedDeviceLogInfo; +@class DBTEAMLOGUserLinkedAppLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -30,28 +30,89 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Linked applications. -@property (nonatomic, readonly) NSArray *linkedApps; +/// Linked applications. (Deprecated) Please use has_linked_apps boolean field +/// instead. +@property (nonatomic, readonly) NSArray *linkedApps; -/// Linked devices. -@property (nonatomic, readonly) NSArray *linkedDevices; +/// Linked devices. (Deprecated) Please use has_linked_devices boolean field +/// instead. +@property (nonatomic, readonly) NSArray *linkedDevices; -/// Linked shared folders. +/// Linked shared folders. (Deprecated) Please use has_linked_shared_folders +/// boolean field instead. @property (nonatomic, readonly) NSArray *linkedSharedFolders; +/// (Deprecated) True if the linked_apps list was truncated to the maximum +/// supported length (50). +@property (nonatomic, readonly, nullable) NSNumber *wasLinkedAppsTruncated; + +/// (Deprecated) True if the linked_devices list was truncated to the maximum +/// supported length (50). +@property (nonatomic, readonly, nullable) NSNumber *wasLinkedDevicesTruncated; + +/// (Deprecated) True if the linked_shared_folders list was truncated to the +/// maximum supported length (50). +@property (nonatomic, readonly, nullable) NSNumber *wasLinkedSharedFoldersTruncated; + +/// True if the user had linked apps at event time. +@property (nonatomic, readonly, nullable) NSNumber *hasLinkedApps; + +/// True if the user had linked apps at event time. +@property (nonatomic, readonly, nullable) NSNumber *hasLinkedDevices; + +/// True if the user had linked shared folders at event time. +@property (nonatomic, readonly, nullable) NSNumber *hasLinkedSharedFolders; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param linkedApps Linked applications. -/// @param linkedDevices Linked devices. -/// @param linkedSharedFolders Linked shared folders. +/// @param linkedApps Linked applications. (Deprecated) Please use +/// has_linked_apps boolean field instead. +/// @param linkedDevices Linked devices. (Deprecated) Please use +/// has_linked_devices boolean field instead. +/// @param linkedSharedFolders Linked shared folders. (Deprecated) Please use +/// has_linked_shared_folders boolean field instead. +/// @param wasLinkedAppsTruncated (Deprecated) True if the linked_apps list was +/// truncated to the maximum supported length (50). +/// @param wasLinkedDevicesTruncated (Deprecated) True if the linked_devices +/// list was truncated to the maximum supported length (50). +/// @param wasLinkedSharedFoldersTruncated (Deprecated) True if the +/// linked_shared_folders list was truncated to the maximum supported length +/// (50). +/// @param hasLinkedApps True if the user had linked apps at event time. +/// @param hasLinkedDevices True if the user had linked apps at event time. +/// @param hasLinkedSharedFolders True if the user had linked shared folders at +/// event time. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLinkedApps:(NSArray *)linkedApps + linkedDevices:(NSArray *)linkedDevices + linkedSharedFolders:(NSArray *)linkedSharedFolders + wasLinkedAppsTruncated:(nullable NSNumber *)wasLinkedAppsTruncated + wasLinkedDevicesTruncated:(nullable NSNumber *)wasLinkedDevicesTruncated + wasLinkedSharedFoldersTruncated:(nullable NSNumber *)wasLinkedSharedFoldersTruncated + hasLinkedApps:(nullable NSNumber *)hasLinkedApps + hasLinkedDevices:(nullable NSNumber *)hasLinkedDevices + hasLinkedSharedFolders:(nullable NSNumber *)hasLinkedSharedFolders; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param linkedApps Linked applications. (Deprecated) Please use +/// has_linked_apps boolean field instead. +/// @param linkedDevices Linked devices. (Deprecated) Please use +/// has_linked_devices boolean field instead. +/// @param linkedSharedFolders Linked shared folders. (Deprecated) Please use +/// has_linked_shared_folders boolean field instead. /// /// @return An initialized instance. /// -- (instancetype)initWithLinkedApps:(NSArray *)linkedApps - linkedDevices:(NSArray *)linkedDevices +- (instancetype)initWithLinkedApps:(NSArray *)linkedApps + linkedDevices:(NSArray *)linkedDevices linkedSharedFolders:(NSArray *)linkedSharedFolders; - (instancetype)init NS_UNAVAILABLE; @@ -73,7 +134,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGJoinTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGJoinTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGJoinTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGJoinTeamDetails` instances. @@ -83,7 +144,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGJoinTeamDetails` object. /// -+ (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGJoinTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLabelType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLabelType.h new file mode 100644 index 000000000..b9a0821ae --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLabelType.h @@ -0,0 +1,153 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLabelType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LabelType` union. +/// +/// Label type +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLabelType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGLabelTypeTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGLabelType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGLabelTypeTag){ + /// (no description). + DBTEAMLOGLabelTypePersonalInformation, + + /// (no description). + DBTEAMLOGLabelTypeTestOnly, + + /// (no description). + DBTEAMLOGLabelTypeUserDefinedTag, + + /// (no description). + DBTEAMLOGLabelTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGLabelTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "personal_information". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPersonalInformation; + +/// +/// Initializes union class with tag state of "test_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTestOnly; + +/// +/// Initializes union class with tag state of "user_defined_tag". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserDefinedTag; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "personal_information". +/// +/// @return Whether the union's current tag state has value +/// "personal_information". +/// +- (BOOL)isPersonalInformation; + +/// +/// Retrieves whether the union's current tag state has value "test_only". +/// +/// @return Whether the union's current tag state has value "test_only". +/// +- (BOOL)isTestOnly; + +/// +/// Retrieves whether the union's current tag state has value +/// "user_defined_tag". +/// +/// @return Whether the union's current tag state has value "user_defined_tag". +/// +- (BOOL)isUserDefinedTag; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGLabelType` union. +/// +@interface DBTEAMLOGLabelTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLabelType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLabelType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLabelType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLabelType *)instance; + +/// +/// Deserializes `DBTEAMLOGLabelType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLabelType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLabelType` object. +/// ++ (DBTEAMLOGLabelType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegacyDeviceSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegacyDeviceSessionLogInfo.h new file mode 100644 index 000000000..b2932482d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegacyDeviceSessionLogInfo.h @@ -0,0 +1,146 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +@class DBTEAMLOGLegacyDeviceSessionLogInfo; +@class DBTEAMLOGSessionLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegacyDeviceSessionLogInfo` struct. +/// +/// Information on sessions, in legacy format +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegacyDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo + +#pragma mark - Instance fields + +/// Session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGSessionLogInfo *sessionInfo; + +/// The device name. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *displayName; + +/// Is device managed by emm. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) NSNumber *isEmmManaged; + +/// Information on the hosting platform. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, copy, nullable) NSString *platform; + +/// The mac address of the last activity from this session. Might be missing due +/// to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *macAddress; + +/// The hosting OS version. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *osVersion; + +/// Information on the hosting device type. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, copy, nullable) NSString *deviceType; + +/// The Dropbox client version. Might be missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *clientVersion; + +/// Alternative unique device session id, instead of session id field. Might be +/// missing due to historical data gap. +@property (nonatomic, readonly, copy, nullable) NSString *legacyUniqId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param ipAddress The IP address of the last activity from this session. +/// @param created The time this session was created. +/// @param updated The time of the last activity from this session. +/// @param sessionInfo Session unique id. +/// @param displayName The device name. Might be missing due to historical data +/// gap. +/// @param isEmmManaged Is device managed by emm. Might be missing due to +/// historical data gap. +/// @param platform Information on the hosting platform. Might be missing due to +/// historical data gap. +/// @param macAddress The mac address of the last activity from this session. +/// Might be missing due to historical data gap. +/// @param osVersion The hosting OS version. Might be missing due to historical +/// data gap. +/// @param deviceType Information on the hosting device type. Might be missing +/// due to historical data gap. +/// @param clientVersion The Dropbox client version. Might be missing due to +/// historical data gap. +/// @param legacyUniqId Alternative unique device session id, instead of session +/// id field. Might be missing due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithIpAddress:(nullable NSString *)ipAddress + created:(nullable NSDate *)created + updated:(nullable NSDate *)updated + sessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo + displayName:(nullable NSString *)displayName + isEmmManaged:(nullable NSNumber *)isEmmManaged + platform:(nullable NSString *)platform + macAddress:(nullable NSString *)macAddress + osVersion:(nullable NSString *)osVersion + deviceType:(nullable NSString *)deviceType + clientVersion:(nullable NSString *)clientVersion + legacyUniqId:(nullable NSString *)legacyUniqId; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegacyDeviceSessionLogInfo` struct. +/// +@interface DBTEAMLOGLegacyDeviceSessionLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegacyDeviceSessionLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegacyDeviceSessionLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegacyDeviceSessionLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegacyDeviceSessionLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGLegacyDeviceSessionLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegacyDeviceSessionLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegacyDeviceSessionLogInfo` +/// object. +/// ++ (DBTEAMLOGLegacyDeviceSessionLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldDetails.h new file mode 100644 index 000000000..48652aabd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldDetails.h @@ -0,0 +1,106 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsActivateAHoldDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsActivateAHoldDetails` struct. +/// +/// Activated a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsActivateAHoldDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Hold start date. +@property (nonatomic, readonly) NSDate *startDate; + +/// Hold end date. +@property (nonatomic, readonly, nullable) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param startDate Hold start date. +/// @param endDate Hold end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + startDate:(NSDate *)startDate + endDate:(nullable NSDate *)endDate; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param startDate Hold start date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name startDate:(NSDate *)startDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsActivateAHoldDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsActivateAHoldDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsActivateAHoldDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsActivateAHoldDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsActivateAHoldDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsActivateAHoldDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsActivateAHoldDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsActivateAHoldDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsActivateAHoldDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsActivateAHoldDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldType.h new file mode 100644 index 000000000..f662fac85 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsActivateAHoldType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsActivateAHoldType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsActivateAHoldType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsActivateAHoldType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsActivateAHoldType` struct. +/// +@interface DBTEAMLOGLegalHoldsActivateAHoldTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsActivateAHoldType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsActivateAHoldType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsActivateAHoldType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsActivateAHoldType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsActivateAHoldType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsActivateAHoldType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsActivateAHoldType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsActivateAHoldType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersDetails.h new file mode 100644 index 000000000..862414c07 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsAddMembersDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsAddMembersDetails` struct. +/// +/// Added members to a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsAddMembersDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsAddMembersDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsAddMembersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsAddMembersDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsAddMembersDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsAddMembersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsAddMembersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsAddMembersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsAddMembersDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsAddMembersDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsAddMembersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersType.h new file mode 100644 index 000000000..60043106c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsAddMembersType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsAddMembersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsAddMembersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsAddMembersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsAddMembersType` struct. +/// +@interface DBTEAMLOGLegalHoldsAddMembersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsAddMembersType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsAddMembersType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsAddMembersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsAddMembersType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsAddMembersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsAddMembersType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsAddMembersType` object. +/// ++ (DBTEAMLOGLegalHoldsAddMembersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h new file mode 100644 index 000000000..5b9338d70 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsChangeHoldDetailsDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsChangeHoldDetailsDetails` struct. +/// +/// Edited details for a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldDetailsDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Previous details. +@property (nonatomic, readonly, copy) NSString *previousValue; + +/// New details. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param previousValue Previous details. +/// @param dNewValue New details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsChangeHoldDetailsDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldDetailsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsDetails` object. +/// ++ (DBTEAMLOGLegalHoldsChangeHoldDetailsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsType.h new file mode 100644 index 000000000..c2d7d4ae9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldDetailsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsChangeHoldDetailsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsChangeHoldDetailsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldDetailsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsChangeHoldDetailsType` struct. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldDetailsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsChangeHoldDetailsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldDetailsType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsChangeHoldDetailsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldDetailsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsChangeHoldDetailsType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsChangeHoldDetailsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameDetails.h new file mode 100644 index 000000000..86142fd14 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsChangeHoldNameDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsChangeHoldNameDetails` struct. +/// +/// Renamed a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldNameDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Previous Name. +@property (nonatomic, readonly, copy) NSString *previousValue; + +/// New Name. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param previousValue Previous Name. +/// @param dNewValue New Name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + previousValue:(NSString *)previousValue + dNewValue:(NSString *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsChangeHoldNameDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldNameDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsChangeHoldNameDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGLegalHoldsChangeHoldNameDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldNameDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldNameDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsChangeHoldNameDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldNameDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsChangeHoldNameDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsChangeHoldNameDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameType.h new file mode 100644 index 000000000..f2748fa9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsChangeHoldNameType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsChangeHoldNameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsChangeHoldNameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldNameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsChangeHoldNameType` struct. +/// +@interface DBTEAMLOGLegalHoldsChangeHoldNameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsChangeHoldNameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsChangeHoldNameType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldNameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsChangeHoldNameType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsChangeHoldNameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsChangeHoldNameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsChangeHoldNameType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsChangeHoldNameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldDetails.h new file mode 100644 index 000000000..a46b13f79 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldDetails.h @@ -0,0 +1,100 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportAHoldDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportAHoldDetails` struct. +/// +/// Exported hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportAHoldDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Export name. +@property (nonatomic, readonly, copy, nullable) NSString *exportName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + exportName:(nullable NSString *)exportName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportAHoldDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsExportAHoldDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportAHoldDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportAHoldDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportAHoldDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportAHoldDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportAHoldDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportAHoldDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportAHoldDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportAHoldDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldType.h new file mode 100644 index 000000000..c427ccd66 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportAHoldType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportAHoldType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportAHoldType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportAHoldType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportAHoldType` struct. +/// +@interface DBTEAMLOGLegalHoldsExportAHoldTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportAHoldType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportAHoldType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportAHoldType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportAHoldType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportAHoldType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportAHoldType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportAHoldType` object. +/// ++ (DBTEAMLOGLegalHoldsExportAHoldType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledDetails.h new file mode 100644 index 000000000..d7552fd49 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledDetails.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportCancelledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportCancelledDetails` struct. +/// +/// Canceled export for a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportCancelledDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportCancelledDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsExportCancelledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportCancelledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGLegalHoldsExportCancelledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportCancelledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportCancelledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportCancelledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportCancelledDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportCancelledDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportCancelledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledType.h new file mode 100644 index 000000000..692076420 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportCancelledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportCancelledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportCancelledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportCancelledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportCancelledType` struct. +/// +@interface DBTEAMLOGLegalHoldsExportCancelledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportCancelledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportCancelledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportCancelledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportCancelledType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportCancelledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportCancelledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportCancelledType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportCancelledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedDetails.h new file mode 100644 index 000000000..05bf8b02f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedDetails.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportDownloadedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportDownloadedDetails` struct. +/// +/// Downloaded export for a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportDownloadedDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +/// Part. +@property (nonatomic, readonly, copy, nullable) NSString *part; + +/// Filename. +@property (nonatomic, readonly, copy, nullable) NSString *fileName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param exportName Export name. +/// @param part Part. +/// @param fileName Filename. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId + name:(NSString *)name + exportName:(NSString *)exportName + part:(nullable NSString *)part + fileName:(nullable NSString *)fileName; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportDownloadedDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsExportDownloadedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportDownloadedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGLegalHoldsExportDownloadedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportDownloadedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportDownloadedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportDownloadedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportDownloadedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportDownloadedDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportDownloadedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedType.h new file mode 100644 index 000000000..c9fbc323a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportDownloadedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportDownloadedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportDownloadedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportDownloadedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportDownloadedType` struct. +/// +@interface DBTEAMLOGLegalHoldsExportDownloadedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportDownloadedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportDownloadedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportDownloadedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportDownloadedType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportDownloadedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportDownloadedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportDownloadedType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportDownloadedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedDetails.h new file mode 100644 index 000000000..6e255f316 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedDetails.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportRemovedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportRemovedDetails` struct. +/// +/// Removed export for a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportRemovedDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +/// Export name. +@property (nonatomic, readonly, copy) NSString *exportName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// @param exportName Export name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name exportName:(NSString *)exportName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportRemovedDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsExportRemovedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportRemovedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportRemovedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportRemovedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportRemovedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportRemovedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportRemovedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportRemovedDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportRemovedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedType.h new file mode 100644 index 000000000..15297b151 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsExportRemovedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsExportRemovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsExportRemovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsExportRemovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsExportRemovedType` struct. +/// +@interface DBTEAMLOGLegalHoldsExportRemovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsExportRemovedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsExportRemovedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportRemovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsExportRemovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsExportRemovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsExportRemovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsExportRemovedType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsExportRemovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldDetails.h new file mode 100644 index 000000000..f2bf4b868 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsReleaseAHoldDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsReleaseAHoldDetails` struct. +/// +/// Released a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsReleaseAHoldDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsReleaseAHoldDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsReleaseAHoldDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsReleaseAHoldDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsReleaseAHoldDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReleaseAHoldDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReleaseAHoldDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsReleaseAHoldDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReleaseAHoldDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsReleaseAHoldDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsReleaseAHoldDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldType.h new file mode 100644 index 000000000..fb236904e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReleaseAHoldType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsReleaseAHoldType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsReleaseAHoldType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsReleaseAHoldType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsReleaseAHoldType` struct. +/// +@interface DBTEAMLOGLegalHoldsReleaseAHoldTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsReleaseAHoldType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsReleaseAHoldType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReleaseAHoldType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReleaseAHoldType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsReleaseAHoldType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReleaseAHoldType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsReleaseAHoldType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsReleaseAHoldType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersDetails.h new file mode 100644 index 000000000..030c60738 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsRemoveMembersDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsRemoveMembersDetails` struct. +/// +/// Removed members from a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsRemoveMembersDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsRemoveMembersDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsRemoveMembersDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsRemoveMembersDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsRemoveMembersDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsRemoveMembersDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsRemoveMembersDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsRemoveMembersDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsRemoveMembersDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsRemoveMembersDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsRemoveMembersDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersType.h new file mode 100644 index 000000000..1ce840841 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsRemoveMembersType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsRemoveMembersType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsRemoveMembersType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsRemoveMembersType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsRemoveMembersType` struct. +/// +@interface DBTEAMLOGLegalHoldsRemoveMembersTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsRemoveMembersType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsRemoveMembersType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsRemoveMembersType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsRemoveMembersType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsRemoveMembersType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsRemoveMembersType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsRemoveMembersType` +/// object. +/// ++ (DBTEAMLOGLegalHoldsRemoveMembersType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldDetails.h new file mode 100644 index 000000000..efb65246a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsReportAHoldDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsReportAHoldDetails` struct. +/// +/// Created a summary report for a hold. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsReportAHoldDetails : NSObject + +#pragma mark - Instance fields + +/// Hold ID. +@property (nonatomic, readonly, copy) NSString *legalHoldId; + +/// Hold name. +@property (nonatomic, readonly, copy) NSString *name; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param legalHoldId Hold ID. +/// @param name Hold name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegalHoldId:(NSString *)legalHoldId name:(NSString *)name; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsReportAHoldDetails` struct. +/// +@interface DBTEAMLOGLegalHoldsReportAHoldDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsReportAHoldDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsReportAHoldDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReportAHoldDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReportAHoldDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsReportAHoldDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReportAHoldDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsReportAHoldDetails` +/// object. +/// ++ (DBTEAMLOGLegalHoldsReportAHoldDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldType.h new file mode 100644 index 000000000..f88b4b168 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLegalHoldsReportAHoldType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLegalHoldsReportAHoldType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LegalHoldsReportAHoldType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLegalHoldsReportAHoldType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LegalHoldsReportAHoldType` struct. +/// +@interface DBTEAMLOGLegalHoldsReportAHoldTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLegalHoldsReportAHoldType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLegalHoldsReportAHoldType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReportAHoldType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLegalHoldsReportAHoldType *)instance; + +/// +/// Deserializes `DBTEAMLOGLegalHoldsReportAHoldType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLegalHoldsReportAHoldType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLegalHoldsReportAHoldType` object. +/// ++ (DBTEAMLOGLegalHoldsReportAHoldType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkAudience.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkAudience.h deleted file mode 100644 index 83337d52c..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkAudience.h +++ /dev/null @@ -1,148 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGLinkAudience; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `LinkAudience` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGLinkAudience : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGLinkAudienceTag` enum type represents the possible tag states -/// with which the `DBTEAMLOGLinkAudience` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGLinkAudienceTag) { - /// (no description). - DBTEAMLOGLinkAudiencePublic, - - /// (no description). - DBTEAMLOGLinkAudienceTeam, - - /// (no description). - DBTEAMLOGLinkAudienceMembers, - - /// (no description). - DBTEAMLOGLinkAudienceOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGLinkAudienceTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "public". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithPublic; - -/// -/// Initializes union class with tag state of "team". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTeam; - -/// -/// Initializes union class with tag state of "members". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithMembers; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "public". -/// -/// @return Whether the union's current tag state has value "public". -/// -- (BOOL)isPublic; - -/// -/// Retrieves whether the union's current tag state has value "team". -/// -/// @return Whether the union's current tag state has value "team". -/// -- (BOOL)isTeam; - -/// -/// Retrieves whether the union's current tag state has value "members". -/// -/// @return Whether the union's current tag state has value "members". -/// -- (BOOL)isMembers; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBTEAMLOGLinkAudience` union. -/// -@interface DBTEAMLOGLinkAudienceSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGLinkAudience` instances. -/// -/// @param instance An instance of the `DBTEAMLOGLinkAudience` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGLinkAudience` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGLinkAudience *)instance; - -/// -/// Deserializes `DBTEAMLOGLinkAudience` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGLinkAudience` API object. -/// -/// @return An instantiation of the `DBTEAMLOGLinkAudience` object. -/// -+ (DBTEAMLOGLinkAudience *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkedDeviceLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkedDeviceLogInfo.h new file mode 100644 index 000000000..268d46950 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLinkedDeviceLogInfo.h @@ -0,0 +1,234 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDesktopDeviceSessionLogInfo; +@class DBTEAMLOGLegacyDeviceSessionLogInfo; +@class DBTEAMLOGLinkedDeviceLogInfo; +@class DBTEAMLOGMobileDeviceSessionLogInfo; +@class DBTEAMLOGWebDeviceSessionLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LinkedDeviceLogInfo` union. +/// +/// The device sessions that user is linked to. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLinkedDeviceLogInfo : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGLinkedDeviceLogInfoTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGLinkedDeviceLogInfo` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGLinkedDeviceLogInfoTag){ + /// desktop device session's details. + DBTEAMLOGLinkedDeviceLogInfoDesktopDeviceSession, + + /// legacy device session's details. + DBTEAMLOGLinkedDeviceLogInfoLegacyDeviceSession, + + /// mobile device session's details. + DBTEAMLOGLinkedDeviceLogInfoMobileDeviceSession, + + /// web device session's details. + DBTEAMLOGLinkedDeviceLogInfoWebDeviceSession, + + /// (no description). + DBTEAMLOGLinkedDeviceLogInfoOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGLinkedDeviceLogInfoTag tag; + +/// desktop device session's details. @note Ensure the `isDesktopDeviceSession` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGDesktopDeviceSessionLogInfo *desktopDeviceSession; + +/// legacy device session's details. @note Ensure the `isLegacyDeviceSession` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGLegacyDeviceSessionLogInfo *legacyDeviceSession; + +/// mobile device session's details. @note Ensure the `isMobileDeviceSession` +/// method returns true before accessing, otherwise a runtime exception will be +/// raised. +@property (nonatomic, readonly) DBTEAMLOGMobileDeviceSessionLogInfo *mobileDeviceSession; + +/// web device session's details. @note Ensure the `isWebDeviceSession` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGWebDeviceSessionLogInfo *webDeviceSession; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "desktop_device_session". +/// +/// Description of the "desktop_device_session" tag state: desktop device +/// session's details. +/// +/// @param desktopDeviceSession desktop device session's details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDesktopDeviceSession:(DBTEAMLOGDesktopDeviceSessionLogInfo *)desktopDeviceSession; + +/// +/// Initializes union class with tag state of "legacy_device_session". +/// +/// Description of the "legacy_device_session" tag state: legacy device +/// session's details. +/// +/// @param legacyDeviceSession legacy device session's details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLegacyDeviceSession:(DBTEAMLOGLegacyDeviceSessionLogInfo *)legacyDeviceSession; + +/// +/// Initializes union class with tag state of "mobile_device_session". +/// +/// Description of the "mobile_device_session" tag state: mobile device +/// session's details. +/// +/// @param mobileDeviceSession mobile device session's details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMobileDeviceSession:(DBTEAMLOGMobileDeviceSessionLogInfo *)mobileDeviceSession; + +/// +/// Initializes union class with tag state of "web_device_session". +/// +/// Description of the "web_device_session" tag state: web device session's +/// details. +/// +/// @param webDeviceSession web device session's details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebDeviceSession:(DBTEAMLOGWebDeviceSessionLogInfo *)webDeviceSession; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "desktop_device_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `desktopDeviceSession` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "desktop_device_session". +/// +- (BOOL)isDesktopDeviceSession; + +/// +/// Retrieves whether the union's current tag state has value +/// "legacy_device_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `legacyDeviceSession` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "legacy_device_session". +/// +- (BOOL)isLegacyDeviceSession; + +/// +/// Retrieves whether the union's current tag state has value +/// "mobile_device_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `mobileDeviceSession` property, otherwise a runtime exception will be +/// thrown. +/// +/// @return Whether the union's current tag state has value +/// "mobile_device_session". +/// +- (BOOL)isMobileDeviceSession; + +/// +/// Retrieves whether the union's current tag state has value +/// "web_device_session". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `webDeviceSession` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value +/// "web_device_session". +/// +- (BOOL)isWebDeviceSession; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGLinkedDeviceLogInfo` union. +/// +@interface DBTEAMLOGLinkedDeviceLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLinkedDeviceLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLinkedDeviceLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLinkedDeviceLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLinkedDeviceLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGLinkedDeviceLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLinkedDeviceLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLinkedDeviceLogInfo` object. +/// ++ (DBTEAMLOGLinkedDeviceLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLockStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLockStatus.h new file mode 100644 index 000000000..f611afa2d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLockStatus.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLockStatus; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LockStatus` union. +/// +/// File lock status +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLockStatus : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGLockStatusTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGLockStatus` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGLockStatusTag){ + /// (no description). + DBTEAMLOGLockStatusLocked, + + /// (no description). + DBTEAMLOGLockStatusUnlocked, + + /// (no description). + DBTEAMLOGLockStatusOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGLockStatusTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "locked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLocked; + +/// +/// Initializes union class with tag state of "unlocked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlocked; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "locked". +/// +/// @return Whether the union's current tag state has value "locked". +/// +- (BOOL)isLocked; + +/// +/// Retrieves whether the union's current tag state has value "unlocked". +/// +/// @return Whether the union's current tag state has value "unlocked". +/// +- (BOOL)isUnlocked; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGLockStatus` union. +/// +@interface DBTEAMLOGLockStatusSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLockStatus` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLockStatus` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLockStatus` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLockStatus *)instance; + +/// +/// Deserializes `DBTEAMLOGLockStatus` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLockStatus` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLockStatus` object. +/// ++ (DBTEAMLOGLockStatus *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailDetails.h index f41a6e717..a67b2b629 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailDetails.h @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginFailDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginFailDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginFailDetails *)instance; /// /// Deserializes `DBTEAMLOGLoginFailDetails` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGLoginFailDetails` object. /// -+ (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGLoginFailDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailType.h new file mode 100644 index 000000000..2f5ef3da6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginFailType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLoginFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LoginFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLoginFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LoginFailType` struct. +/// +@interface DBTEAMLOGLoginFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLoginFailType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLoginFailType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLoginFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGLoginFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLoginFailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLoginFailType` object. +/// ++ (DBTEAMLOGLoginFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginMethod.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginMethod.h index 5f8d0fa41..b6276b22d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginMethod.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginMethod.h @@ -27,18 +27,36 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGLoginMethodTag` enum type represents the possible tag states /// with which the `DBTEAMLOGLoginMethod` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { - /// (no description). - DBTEAMLOGLoginMethodPassword, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGLoginMethodTag){ + /// (no description). + DBTEAMLOGLoginMethodAppleOauth, - /// (no description). - DBTEAMLOGLoginMethodTwoFactorAuthentication, + /// (no description). + DBTEAMLOGLoginMethodFirstPartyTokenExchange, - /// (no description). - DBTEAMLOGLoginMethodSaml, + /// (no description). + DBTEAMLOGLoginMethodGoogleOauth, - /// (no description). - DBTEAMLOGLoginMethodOther, + /// (no description). + DBTEAMLOGLoginMethodLenovoOauth, + + /// (no description). + DBTEAMLOGLoginMethodPassword, + + /// (no description). + DBTEAMLOGLoginMethodQrCode, + + /// (no description). + DBTEAMLOGLoginMethodSaml, + + /// (no description). + DBTEAMLOGLoginMethodTwoFactorAuthentication, + + /// (no description). + DBTEAMLOGLoginMethodWebSession, + + /// (no description). + DBTEAMLOGLoginMethodOther, }; @@ -47,6 +65,34 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { #pragma mark - Constructors +/// +/// Initializes union class with tag state of "apple_oauth". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAppleOauth; + +/// +/// Initializes union class with tag state of "first_party_token_exchange". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFirstPartyTokenExchange; + +/// +/// Initializes union class with tag state of "google_oauth". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGoogleOauth; + +/// +/// Initializes union class with tag state of "lenovo_oauth". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLenovoOauth; + /// /// Initializes union class with tag state of "password". /// @@ -55,11 +101,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { - (instancetype)initWithPassword; /// -/// Initializes union class with tag state of "two_factor_authentication". +/// Initializes union class with tag state of "qr_code". /// /// @return An initialized instance. /// -- (instancetype)initWithTwoFactorAuthentication; +- (instancetype)initWithQrCode; /// /// Initializes union class with tag state of "saml". @@ -68,6 +114,20 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { /// - (instancetype)initWithSaml; +/// +/// Initializes union class with tag state of "two_factor_authentication". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTwoFactorAuthentication; + +/// +/// Initializes union class with tag state of "web_session". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWebSession; + /// /// Initializes union class with tag state of "other". /// @@ -79,6 +139,36 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { #pragma mark - Tag state methods +/// +/// Retrieves whether the union's current tag state has value "apple_oauth". +/// +/// @return Whether the union's current tag state has value "apple_oauth". +/// +- (BOOL)isAppleOauth; + +/// +/// Retrieves whether the union's current tag state has value +/// "first_party_token_exchange". +/// +/// @return Whether the union's current tag state has value +/// "first_party_token_exchange". +/// +- (BOOL)isFirstPartyTokenExchange; + +/// +/// Retrieves whether the union's current tag state has value "google_oauth". +/// +/// @return Whether the union's current tag state has value "google_oauth". +/// +- (BOOL)isGoogleOauth; + +/// +/// Retrieves whether the union's current tag state has value "lenovo_oauth". +/// +/// @return Whether the union's current tag state has value "lenovo_oauth". +/// +- (BOOL)isLenovoOauth; + /// /// Retrieves whether the union's current tag state has value "password". /// @@ -86,6 +176,20 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { /// - (BOOL)isPassword; +/// +/// Retrieves whether the union's current tag state has value "qr_code". +/// +/// @return Whether the union's current tag state has value "qr_code". +/// +- (BOOL)isQrCode; + +/// +/// Retrieves whether the union's current tag state has value "saml". +/// +/// @return Whether the union's current tag state has value "saml". +/// +- (BOOL)isSaml; + /// /// Retrieves whether the union's current tag state has value /// "two_factor_authentication". @@ -96,11 +200,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { - (BOOL)isTwoFactorAuthentication; /// -/// Retrieves whether the union's current tag state has value "saml". +/// Retrieves whether the union's current tag state has value "web_session". /// -/// @return Whether the union's current tag state has value "saml". +/// @return Whether the union's current tag state has value "web_session". /// -- (BOOL)isSaml; +- (BOOL)isWebSession; /// /// Retrieves whether the union's current tag state has value "other". @@ -133,7 +237,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginMethod` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginMethod *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginMethod *)instance; /// /// Deserializes `DBTEAMLOGLoginMethod` instances. @@ -143,7 +247,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGLoginMethodTag) { /// /// @return An instantiation of the `DBTEAMLOGLoginMethod` object. /// -+ (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGLoginMethod *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessDetails.h index 49990430e..4cc0b5dfb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessDetails.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLoginSuccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginSuccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginSuccessDetails *)instance; /// /// Deserializes `DBTEAMLOGLoginSuccessDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGLoginSuccessDetails` object. /// -+ (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGLoginSuccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessType.h new file mode 100644 index 000000000..ddda6bd4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLoginSuccessType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLoginSuccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LoginSuccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLoginSuccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LoginSuccessType` struct. +/// +@interface DBTEAMLOGLoginSuccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLoginSuccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLoginSuccessType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLoginSuccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLoginSuccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGLoginSuccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLoginSuccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLoginSuccessType` object. +/// ++ (DBTEAMLOGLoginSuccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutDetails.h index c7f718753..12ff2e1f3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutDetails.h @@ -27,11 +27,25 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Login session id. +@property (nonatomic, readonly, copy, nullable) NSString *loginId; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param loginId Login session id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLoginId:(nullable NSString *)loginId; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// /// @return An initialized instance. /// - (instancetype)initDefault; @@ -55,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGLogoutDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGLogoutDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLogoutDetails *)instance; /// /// Deserializes `DBTEAMLOGLogoutDetails` instances. @@ -65,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGLogoutDetails` object. /// -+ (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGLogoutDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutType.h new file mode 100644 index 000000000..3f8b11cbd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGLogoutType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLogoutType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `LogoutType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGLogoutType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `LogoutType` struct. +/// +@interface DBTEAMLOGLogoutTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGLogoutType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGLogoutType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGLogoutType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGLogoutType *)instance; + +/// +/// Deserializes `DBTEAMLOGLogoutType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGLogoutType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGLogoutType` object. +/// ++ (DBTEAMLOGLogoutType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdDetails.h new file mode 100644 index 000000000..59b20422f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberAddExternalIdDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddExternalIdDetails` struct. +/// +/// Added an external ID for team member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberAddExternalIdDetails : NSObject + +#pragma mark - Instance fields + +/// Current external id. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue Current external id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(NSString *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberAddExternalIdDetails` struct. +/// +@interface DBTEAMLOGMemberAddExternalIdDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberAddExternalIdDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberAddExternalIdDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddExternalIdDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddExternalIdDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberAddExternalIdDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddExternalIdDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberAddExternalIdDetails` +/// object. +/// ++ (DBTEAMLOGMemberAddExternalIdDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdType.h new file mode 100644 index 000000000..22b0e1ff0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddExternalIdType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberAddExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberAddExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberAddExternalIdType` struct. +/// +@interface DBTEAMLOGMemberAddExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberAddExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberAddExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberAddExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberAddExternalIdType` object. +/// ++ (DBTEAMLOGMemberAddExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameDetails.h index 16419c911..b55a04fdc 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberAddNameDetails` struct. /// -/// Set team member name when joining team. +/// Added team member name. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,19 +28,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// User's name. -@property (nonatomic, readonly) DBTEAMLOGUserNameLogInfo *value; +/// New user's name. +@property (nonatomic, readonly) DBTEAMLOGUserNameLogInfo *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param value User's name. +/// @param dNewValue New user's name. /// /// @return An initialized instance. /// -- (instancetype)initWithValue:(DBTEAMLOGUserNameLogInfo *)value; +- (instancetype)initWithDNewValue:(DBTEAMLOGUserNameLogInfo *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberAddNameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddNameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddNameDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberAddNameDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMemberAddNameDetails` object. /// -+ (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberAddNameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameType.h new file mode 100644 index 000000000..82fc7b72c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberAddNameType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberAddNameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberAddNameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberAddNameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberAddNameType` struct. +/// +@interface DBTEAMLOGMemberAddNameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberAddNameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberAddNameType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddNameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberAddNameType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberAddNameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberAddNameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberAddNameType` object. +/// ++ (DBTEAMLOGMemberAddNameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleDetails.h index c0f4564ea..abc04a884 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberChangeAdminRoleDetails` struct. /// -/// Change the admin role belonging to team member. +/// Changed team member admin role. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeAdminRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeAdminRoleDetails` instances. @@ -92,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGMemberChangeAdminRoleDetails` /// object. /// -+ (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberChangeAdminRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleType.h new file mode 100644 index 000000000..d7679a4b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeAdminRoleType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeAdminRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeAdminRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeAdminRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeAdminRoleType` struct. +/// +@interface DBTEAMLOGMemberChangeAdminRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeAdminRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeAdminRoleType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeAdminRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeAdminRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeAdminRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeAdminRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeAdminRoleType` object. +/// ++ (DBTEAMLOGMemberChangeAdminRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailDetails.h index fd85cd92d..388a8ee08 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberChangeEmailDetails` struct. /// -/// Changed team member email address. +/// Changed team member email. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeEmailDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeEmailDetails` instances. @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMemberChangeEmailDetails` object. /// -+ (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberChangeEmailDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailType.h new file mode 100644 index 000000000..300ff8c36 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeEmailType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeEmailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeEmailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeEmailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeEmailType` struct. +/// +@interface DBTEAMLOGMemberChangeEmailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeEmailType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeEmailType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeEmailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeEmailType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeEmailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeEmailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeEmailType` object. +/// ++ (DBTEAMLOGMemberChangeEmailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdDetails.h new file mode 100644 index 000000000..34e4d81f9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeExternalIdDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeExternalIdDetails` struct. +/// +/// Changed the external ID for team member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeExternalIdDetails : NSObject + +#pragma mark - Instance fields + +/// Current external id. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +/// Old external id. +@property (nonatomic, readonly, copy) NSString *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue Current external id. +/// @param previousValue Old external id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(NSString *)dNewValue previousValue:(NSString *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeExternalIdDetails` struct. +/// +@interface DBTEAMLOGMemberChangeExternalIdDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeExternalIdDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeExternalIdDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeExternalIdDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeExternalIdDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeExternalIdDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeExternalIdDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeExternalIdDetails` +/// object. +/// ++ (DBTEAMLOGMemberChangeExternalIdDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdType.h new file mode 100644 index 000000000..65a91a13a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeExternalIdType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeExternalIdType` struct. +/// +@interface DBTEAMLOGMemberChangeExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeExternalIdType` +/// object. +/// ++ (DBTEAMLOGMemberChangeExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeDetails.h index d0c6f0e3e..c50e00780 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberChangeMembershipTypeDetails` struct. /// -/// Changed the membership type (limited vs full) for team member. +/// Changed membership type (limited/full) of member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeMembershipTypeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeMembershipTypeDetails` instances. @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGMemberChangeMembershipTypeDetails` /// object. /// -+ (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberChangeMembershipTypeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeType.h new file mode 100644 index 000000000..89c38e55a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeMembershipTypeType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeMembershipTypeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeMembershipTypeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeMembershipTypeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeMembershipTypeType` struct. +/// +@interface DBTEAMLOGMemberChangeMembershipTypeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeMembershipTypeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeMembershipTypeType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeMembershipTypeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeMembershipTypeType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeMembershipTypeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeMembershipTypeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeMembershipTypeType` +/// object. +/// ++ (DBTEAMLOGMemberChangeMembershipTypeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameDetails.h index dfd9388e9..ab4a1f140 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameDetails.h @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeNameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeNameDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMemberChangeNameDetails` object. /// -+ (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberChangeNameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameType.h new file mode 100644 index 000000000..c20f441e4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeNameType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeNameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeNameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeNameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeNameType` struct. +/// +@interface DBTEAMLOGMemberChangeNameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeNameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeNameType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeNameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeNameType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeNameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeNameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeNameType` object. +/// ++ (DBTEAMLOGMemberChangeNameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleDetails.h new file mode 100644 index 000000000..94e46dd3d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeResellerRoleDetails; +@class DBTEAMLOGResellerRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeResellerRoleDetails` struct. +/// +/// Changed team member reseller role. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeResellerRoleDetails : NSObject + +#pragma mark - Instance fields + +/// New reseller role. This field is relevant when the reseller role is changed. +@property (nonatomic, readonly) DBTEAMLOGResellerRole *dNewValue; + +/// Previous reseller role. This field is relevant when the reseller role is +/// changed or when the reseller role is removed. +@property (nonatomic, readonly) DBTEAMLOGResellerRole *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New reseller role. This field is relevant when the reseller +/// role is changed. +/// @param previousValue Previous reseller role. This field is relevant when the +/// reseller role is changed or when the reseller role is removed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGResellerRole *)dNewValue + previousValue:(DBTEAMLOGResellerRole *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeResellerRoleDetails` struct. +/// +@interface DBTEAMLOGMemberChangeResellerRoleDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeResellerRoleDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberChangeResellerRoleDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeResellerRoleDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeResellerRoleDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeResellerRoleDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeResellerRoleDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeResellerRoleDetails` +/// object. +/// ++ (DBTEAMLOGMemberChangeResellerRoleDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleType.h new file mode 100644 index 000000000..16b8ec6e6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeResellerRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeResellerRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeResellerRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeResellerRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeResellerRoleType` struct. +/// +@interface DBTEAMLOGMemberChangeResellerRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeResellerRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeResellerRoleType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeResellerRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeResellerRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeResellerRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeResellerRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeResellerRoleType` +/// object. +/// ++ (DBTEAMLOGMemberChangeResellerRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusDetails.h index 48649258b..dd24e5270 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusDetails.h @@ -8,7 +8,7 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGJoinTeamDetails; +@class DBTEAMLOGActionDetails; @class DBTEAMLOGMemberChangeStatusDetails; @class DBTEAMLOGMemberStatus; @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberChangeStatusDetails` struct. /// -/// Changed the membership status of a team member. +/// Changed member status (invited, joined, suspended, etc.). /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -35,8 +35,17 @@ NS_ASSUME_NONNULL_BEGIN /// New member status. @property (nonatomic, readonly) DBTEAMLOGMemberStatus *dNewValue; -/// Additional information relevant when a new member joins the team. -@property (nonatomic, readonly, nullable) DBTEAMLOGJoinTeamDetails *teamJoinDetails; +/// Additional information indicating the action taken that caused status +/// change. +@property (nonatomic, readonly, nullable) DBTEAMLOGActionDetails *action; + +/// The user's new team name. This field is relevant when the user is +/// transferred off the team. +@property (nonatomic, readonly, copy, nullable) NSString *dNewTeam; + +/// The user's previous team name. This field is relevant when the user is +/// transferred onto the team. +@property (nonatomic, readonly, copy, nullable) NSString *previousTeam; #pragma mark - Constructors @@ -46,14 +55,20 @@ NS_ASSUME_NONNULL_BEGIN /// @param dNewValue New member status. /// @param previousValue Previous member status. Might be missing due to /// historical data gap. -/// @param teamJoinDetails Additional information relevant when a new member -/// joins the team. +/// @param action Additional information indicating the action taken that caused +/// status change. +/// @param dNewTeam The user's new team name. This field is relevant when the +/// user is transferred off the team. +/// @param previousTeam The user's previous team name. This field is relevant +/// when the user is transferred onto the team. /// /// @return An initialized instance. /// - (instancetype)initWithDNewValue:(DBTEAMLOGMemberStatus *)dNewValue previousValue:(nullable DBTEAMLOGMemberStatus *)previousValue - teamJoinDetails:(nullable DBTEAMLOGJoinTeamDetails *)teamJoinDetails; + action:(nullable DBTEAMLOGActionDetails *)action + dNewTeam:(nullable NSString *)dNewTeam + previousTeam:(nullable NSString *)previousTeam; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -85,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberChangeStatusDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberChangeStatusDetails` instances. @@ -95,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMemberChangeStatusDetails` object. /// -+ (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusType.h new file mode 100644 index 000000000..7b315a6b5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberChangeStatusType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberChangeStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberChangeStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberChangeStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberChangeStatusType` struct. +/// +@interface DBTEAMLOGMemberChangeStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberChangeStatusType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberChangeStatusType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberChangeStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberChangeStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberChangeStatusType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberChangeStatusType` object. +/// ++ (DBTEAMLOGMemberChangeStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsDetails.h new file mode 100644 index 000000000..2598fc0ec --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberDeleteManualContactsDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberDeleteManualContactsDetails` struct. +/// +/// Cleared manually added contacts. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberDeleteManualContactsDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberDeleteManualContactsDetails` struct. +/// +@interface DBTEAMLOGMemberDeleteManualContactsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberDeleteManualContactsDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberDeleteManualContactsDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteManualContactsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberDeleteManualContactsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberDeleteManualContactsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteManualContactsDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberDeleteManualContactsDetails` +/// object. +/// ++ (DBTEAMLOGMemberDeleteManualContactsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsType.h new file mode 100644 index 000000000..7fde19a76 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteManualContactsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberDeleteManualContactsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberDeleteManualContactsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberDeleteManualContactsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberDeleteManualContactsType` struct. +/// +@interface DBTEAMLOGMemberDeleteManualContactsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberDeleteManualContactsType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberDeleteManualContactsType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteManualContactsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberDeleteManualContactsType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberDeleteManualContactsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteManualContactsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberDeleteManualContactsType` +/// object. +/// ++ (DBTEAMLOGMemberDeleteManualContactsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoDetails.h new file mode 100644 index 000000000..c90fff6b2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberDeleteProfilePhotoDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberDeleteProfilePhotoDetails` struct. +/// +/// Deleted team member profile photo. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberDeleteProfilePhotoDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberDeleteProfilePhotoDetails` struct. +/// +@interface DBTEAMLOGMemberDeleteProfilePhotoDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberDeleteProfilePhotoDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberDeleteProfilePhotoDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteProfilePhotoDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberDeleteProfilePhotoDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberDeleteProfilePhotoDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteProfilePhotoDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberDeleteProfilePhotoDetails` +/// object. +/// ++ (DBTEAMLOGMemberDeleteProfilePhotoDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoType.h new file mode 100644 index 000000000..e455e0645 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberDeleteProfilePhotoType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberDeleteProfilePhotoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberDeleteProfilePhotoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberDeleteProfilePhotoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberDeleteProfilePhotoType` struct. +/// +@interface DBTEAMLOGMemberDeleteProfilePhotoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberDeleteProfilePhotoType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberDeleteProfilePhotoType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteProfilePhotoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberDeleteProfilePhotoType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberDeleteProfilePhotoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberDeleteProfilePhotoType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberDeleteProfilePhotoType` +/// object. +/// ++ (DBTEAMLOGMemberDeleteProfilePhotoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h index 17d8b4ba2..e48defbcb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberPermanentlyDeleteAccountContentsDetails` struct. /// -/// Permanently deleted contents of a removed team member account. +/// Permanently deleted contents of deleted team member account. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails` object. /// -+ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h new file mode 100644 index 000000000..8e677512c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberPermanentlyDeleteAccountContentsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberPermanentlyDeleteAccountContentsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberPermanentlyDeleteAccountContentsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberPermanentlyDeleteAccountContentsType` +/// struct. +/// +@interface DBTEAMLOGMemberPermanentlyDeleteAccountContentsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberPermanentlyDeleteAccountContentsType` object. +/// ++ (DBTEAMLOGMemberPermanentlyDeleteAccountContentsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveActionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveActionType.h new file mode 100644 index 000000000..dc0f7d352 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveActionType.h @@ -0,0 +1,169 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberRemoveActionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberRemoveActionType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberRemoveActionType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGMemberRemoveActionTypeTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGMemberRemoveActionType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberRemoveActionTypeTag){ + /// (no description). + DBTEAMLOGMemberRemoveActionTypeDelete_, + + /// (no description). + DBTEAMLOGMemberRemoveActionTypeLeave, + + /// (no description). + DBTEAMLOGMemberRemoveActionTypeOffboard, + + /// (no description). + DBTEAMLOGMemberRemoveActionTypeOffboardAndRetainTeamFolders, + + /// (no description). + DBTEAMLOGMemberRemoveActionTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGMemberRemoveActionTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "delete". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDelete_; + +/// +/// Initializes union class with tag state of "leave". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLeave; + +/// +/// Initializes union class with tag state of "offboard". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOffboard; + +/// +/// Initializes union class with tag state of +/// "offboard_and_retain_team_folders". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOffboardAndRetainTeamFolders; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "delete". +/// +/// @return Whether the union's current tag state has value "delete". +/// +- (BOOL)isDelete_; + +/// +/// Retrieves whether the union's current tag state has value "leave". +/// +/// @return Whether the union's current tag state has value "leave". +/// +- (BOOL)isLeave; + +/// +/// Retrieves whether the union's current tag state has value "offboard". +/// +/// @return Whether the union's current tag state has value "offboard". +/// +- (BOOL)isOffboard; + +/// +/// Retrieves whether the union's current tag state has value +/// "offboard_and_retain_team_folders". +/// +/// @return Whether the union's current tag state has value +/// "offboard_and_retain_team_folders". +/// +- (BOOL)isOffboardAndRetainTeamFolders; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGMemberRemoveActionType` union. +/// +@interface DBTEAMLOGMemberRemoveActionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberRemoveActionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberRemoveActionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveActionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRemoveActionType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberRemoveActionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveActionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberRemoveActionType` object. +/// ++ (DBTEAMLOGMemberRemoveActionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdDetails.h new file mode 100644 index 000000000..f7d78b7be --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberRemoveExternalIdDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberRemoveExternalIdDetails` struct. +/// +/// Removed the external ID for team member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberRemoveExternalIdDetails : NSObject + +#pragma mark - Instance fields + +/// Old external id. +@property (nonatomic, readonly, copy) NSString *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Old external id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(NSString *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberRemoveExternalIdDetails` struct. +/// +@interface DBTEAMLOGMemberRemoveExternalIdDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberRemoveExternalIdDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberRemoveExternalIdDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveExternalIdDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRemoveExternalIdDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberRemoveExternalIdDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveExternalIdDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberRemoveExternalIdDetails` +/// object. +/// ++ (DBTEAMLOGMemberRemoveExternalIdDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdType.h new file mode 100644 index 000000000..6b48824a8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRemoveExternalIdType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberRemoveExternalIdType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberRemoveExternalIdType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberRemoveExternalIdType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberRemoveExternalIdType` struct. +/// +@interface DBTEAMLOGMemberRemoveExternalIdTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberRemoveExternalIdType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberRemoveExternalIdType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveExternalIdType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRemoveExternalIdType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberRemoveExternalIdType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRemoveExternalIdType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberRemoveExternalIdType` +/// object. +/// ++ (DBTEAMLOGMemberRemoveExternalIdType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyDetails.h index c933469c2..d6ac8296f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberRequestsChangePolicyDetails` struct. /// -/// Changed whether users can find the team when not invited. +/// Changed whether users can find team when not invited. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberRequestsChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGMemberRequestsChangePolicyDetails` /// object. /// -+ (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberRequestsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyType.h new file mode 100644 index 000000000..7cfdfa47c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberRequestsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberRequestsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberRequestsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberRequestsChangePolicyType` struct. +/// +@interface DBTEAMLOGMemberRequestsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberRequestsChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberRequestsChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRequestsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberRequestsChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberRequestsChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberRequestsChangePolicyType` +/// object. +/// ++ (DBTEAMLOGMemberRequestsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsPolicy.h index 3dbde38ee..145b46c2c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberRequestsPolicy.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGMemberRequestsPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGMemberRequestsPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGMemberRequestsPolicyTag) { - /// (no description). - DBTEAMLOGMemberRequestsPolicyAutoAccept, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberRequestsPolicyTag){ + /// (no description). + DBTEAMLOGMemberRequestsPolicyAutoAccept, - /// (no description). - DBTEAMLOGMemberRequestsPolicyDisabled, + /// (no description). + DBTEAMLOGMemberRequestsPolicyDisabled, - /// (no description). - DBTEAMLOGMemberRequestsPolicyRequireApproval, + /// (no description). + DBTEAMLOGMemberRequestsPolicyRequireApproval, - /// (no description). - DBTEAMLOGMemberRequestsPolicyOther, + /// (no description). + DBTEAMLOGMemberRequestsPolicyOther, }; @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberRequestsPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberRequestsPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberRequestsPolicy *)instance; /// /// Deserializes `DBTEAMLOGMemberRequestsPolicy` instances. @@ -143,7 +143,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberRequestsPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGMemberRequestsPolicy` object. /// -+ (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberRequestsPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicy.h new file mode 100644 index 000000000..a403c7509 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicy.h @@ -0,0 +1,152 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSendInvitePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSendInvitePolicy` union. +/// +/// Policy for controlling whether team members can send team invites +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSendInvitePolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGMemberSendInvitePolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGMemberSendInvitePolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberSendInvitePolicyTag){ + /// (no description). + DBTEAMLOGMemberSendInvitePolicyDisabled, + + /// (no description). + DBTEAMLOGMemberSendInvitePolicyEveryone, + + /// (no description). + DBTEAMLOGMemberSendInvitePolicySpecificMembers, + + /// (no description). + DBTEAMLOGMemberSendInvitePolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGMemberSendInvitePolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "everyone". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEveryone; + +/// +/// Initializes union class with tag state of "specific_members". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSpecificMembers; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "everyone". +/// +/// @return Whether the union's current tag state has value "everyone". +/// +- (BOOL)isEveryone; + +/// +/// Retrieves whether the union's current tag state has value +/// "specific_members". +/// +/// @return Whether the union's current tag state has value "specific_members". +/// +- (BOOL)isSpecificMembers; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGMemberSendInvitePolicy` union. +/// +@interface DBTEAMLOGMemberSendInvitePolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSendInvitePolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberSendInvitePolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSendInvitePolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSendInvitePolicy` object. +/// ++ (DBTEAMLOGMemberSendInvitePolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedDetails.h new file mode 100644 index 000000000..eff970f99 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSendInvitePolicy; +@class DBTEAMLOGMemberSendInvitePolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSendInvitePolicyChangedDetails` struct. +/// +/// Changed member send invite policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSendInvitePolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New team member send invite policy. +@property (nonatomic, readonly) DBTEAMLOGMemberSendInvitePolicy *dNewValue; + +/// Previous team member send invite policy. +@property (nonatomic, readonly) DBTEAMLOGMemberSendInvitePolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New team member send invite policy. +/// @param previousValue Previous team member send invite policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGMemberSendInvitePolicy *)dNewValue + previousValue:(DBTEAMLOGMemberSendInvitePolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSendInvitePolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGMemberSendInvitePolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSendInvitePolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSendInvitePolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedDetails` object. +/// ++ (DBTEAMLOGMemberSendInvitePolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedType.h new file mode 100644 index 000000000..525a3a86d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSendInvitePolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSendInvitePolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSendInvitePolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSendInvitePolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSendInvitePolicyChangedType` struct. +/// +@interface DBTEAMLOGMemberSendInvitePolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSendInvitePolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSendInvitePolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSendInvitePolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSendInvitePolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSendInvitePolicyChangedType` +/// object. +/// ++ (DBTEAMLOGMemberSendInvitePolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoDetails.h new file mode 100644 index 000000000..6033db40f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSetProfilePhotoDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSetProfilePhotoDetails` struct. +/// +/// Set team member profile photo. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSetProfilePhotoDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSetProfilePhotoDetails` struct. +/// +@interface DBTEAMLOGMemberSetProfilePhotoDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSetProfilePhotoDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberSetProfilePhotoDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSetProfilePhotoDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSetProfilePhotoDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSetProfilePhotoDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSetProfilePhotoDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSetProfilePhotoDetails` +/// object. +/// ++ (DBTEAMLOGMemberSetProfilePhotoDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoType.h new file mode 100644 index 000000000..13ad48128 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSetProfilePhotoType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSetProfilePhotoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSetProfilePhotoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSetProfilePhotoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSetProfilePhotoType` struct. +/// +@interface DBTEAMLOGMemberSetProfilePhotoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSetProfilePhotoType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberSetProfilePhotoType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSetProfilePhotoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSetProfilePhotoType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSetProfilePhotoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSetProfilePhotoType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSetProfilePhotoType` object. +/// ++ (DBTEAMLOGMemberSetProfilePhotoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h new file mode 100644 index 000000000..8da07bfe1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsAddCustomQuotaDetails` struct. +/// +/// Set custom member space limit. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails : NSObject + +#pragma mark - Instance fields + +/// New custom quota value in bytes. +@property (nonatomic, readonly) NSNumber *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New custom quota value in bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(NSNumber *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsAddCustomQuotaDetails` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h new file mode 100644 index 000000000..38c3e80d1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsAddCustomQuotaType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsAddCustomQuotaType` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddCustomQuotaTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h index 32f36e614..3ee051b9c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSpaceLimitsAddExceptionDetails` struct. /// -/// Added an exception for one or more team members to bypass space limits -/// imposed by policy. +/// Added members to member space limit exception list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` instances. @@ -69,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsAddExceptionDetails` object. /// -+ (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSpaceLimitsAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionType.h new file mode 100644 index 000000000..89b7922a7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsAddExceptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsAddExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsAddExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsAddExceptionType` struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsAddExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsAddExceptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsAddExceptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsAddExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsAddExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsAddExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSpaceLimitsAddExceptionType` +/// object. +/// ++ (DBTEAMLOGMemberSpaceLimitsAddExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h new file mode 100644 index 000000000..17d683c20 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails; +@class DBTEAMLOGSpaceCapsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangeCapsTypePolicyDetails` struct. +/// +/// Changed member space limit type for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails : NSObject + +#pragma mark - Instance fields + +/// Previous space limit type. +@property (nonatomic, readonly) DBTEAMLOGSpaceCapsType *previousValue; + +/// New space limit type. +@property (nonatomic, readonly) DBTEAMLOGSpaceCapsType *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous space limit type. +/// @param dNewValue New space limit type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGSpaceCapsType *)previousValue + dNewValue:(DBTEAMLOGSpaceCapsType *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `MemberSpaceLimitsChangeCapsTypePolicyDetails` struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h new file mode 100644 index 000000000..5015577ba --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangeCapsTypePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsChangeCapsTypePolicyType` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h new file mode 100644 index 000000000..a05c02a8b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangeCustomQuotaDetails` struct. +/// +/// Changed custom member space limit. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails : NSObject + +#pragma mark - Instance fields + +/// Previous custom quota value in bytes. +@property (nonatomic, readonly) NSNumber *previousValue; + +/// New custom quota value in bytes. +@property (nonatomic, readonly) NSNumber *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous custom quota value in bytes. +/// @param dNewValue New custom quota value in bytes. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(NSNumber *)previousValue dNewValue:(NSNumber *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsChangeCustomQuotaDetails` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h new file mode 100644 index 000000000..ce7396008 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangeCustomQuotaType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsChangeCustomQuotaType` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h index 3dc21e339..4ca8d6211 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSpaceLimitsChangePolicyDetails` struct. /// -/// Changed the team default limit level. +/// Changed team default member space limit. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsChangePolicyDetails` object. /// -+ (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSpaceLimitsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyType.h new file mode 100644 index 000000000..25cd297b1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsChangePolicyType` struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSpaceLimitsChangePolicyType` +/// object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h index cfb5916b7..429746d14 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSpaceLimitsChangeStatusDetails` struct. /// -/// Changed the status with respect to whether the team member is under or over -/// storage quota specified by policy. +/// Changed space limit status. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -69,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` instances. @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsChangeStatusDetails` object. /// -+ (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSpaceLimitsChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusType.h new file mode 100644 index 000000000..fce602056 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsChangeStatusType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsChangeStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsChangeStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsChangeStatusType` struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsChangeStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsChangeStatusType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsChangeStatusType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsChangeStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsChangeStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsChangeStatusType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSpaceLimitsChangeStatusType` +/// object. +/// ++ (DBTEAMLOGMemberSpaceLimitsChangeStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h new file mode 100644 index 000000000..0e1e91fa0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsRemoveCustomQuotaDetails` struct. +/// +/// Removed custom member space limit. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsRemoveCustomQuotaDetails` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h new file mode 100644 index 000000000..0da71698e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsRemoveCustomQuotaType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsRemoveCustomQuotaType` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h index 8e37e71f9..eae2dc961 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSpaceLimitsRemoveExceptionDetails` struct. /// -/// Removed an exception for one or more team members to bypass space limits -/// imposed by policy. +/// Removed members from member space limit exception list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -58,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` instances. @@ -69,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails` object. /// -+ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h new file mode 100644 index 000000000..b8fe0effc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSpaceLimitsRemoveExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSpaceLimitsRemoveExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSpaceLimitsRemoveExceptionType` +/// struct. +/// +@interface DBTEAMLOGMemberSpaceLimitsRemoveExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMemberSpaceLimitsRemoveExceptionType` object. +/// ++ (DBTEAMLOGMemberSpaceLimitsRemoveExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberStatus.h index f51a12714..f2fffd5ae 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberStatus.h @@ -27,24 +27,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGMemberStatusTag` enum type represents the possible tag states /// with which the `DBTEAMLOGMemberStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { - /// (no description). - DBTEAMLOGMemberStatusNotJoined, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberStatusTag){ + /// (no description). + DBTEAMLOGMemberStatusActive, - /// (no description). - DBTEAMLOGMemberStatusInvited, + /// (no description). + DBTEAMLOGMemberStatusInvited, - /// (no description). - DBTEAMLOGMemberStatusActive, + /// (no description). + DBTEAMLOGMemberStatusMovedToAnotherTeam, - /// (no description). - DBTEAMLOGMemberStatusSuspended, + /// (no description). + DBTEAMLOGMemberStatusNotJoined, - /// (no description). - DBTEAMLOGMemberStatusRemoved, + /// (no description). + DBTEAMLOGMemberStatusRemoved, - /// (no description). - DBTEAMLOGMemberStatusOther, + /// (no description). + DBTEAMLOGMemberStatusSuspended, + + /// (no description). + DBTEAMLOGMemberStatusOther, }; @@ -54,11 +57,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "not_joined". +/// Initializes union class with tag state of "active". /// /// @return An initialized instance. /// -- (instancetype)initWithNotJoined; +- (instancetype)initWithActive; /// /// Initializes union class with tag state of "invited". @@ -68,18 +71,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { - (instancetype)initWithInvited; /// -/// Initializes union class with tag state of "active". +/// Initializes union class with tag state of "moved_to_another_team". /// /// @return An initialized instance. /// -- (instancetype)initWithActive; +- (instancetype)initWithMovedToAnotherTeam; /// -/// Initializes union class with tag state of "suspended". +/// Initializes union class with tag state of "not_joined". /// /// @return An initialized instance. /// -- (instancetype)initWithSuspended; +- (instancetype)initWithNotJoined; /// /// Initializes union class with tag state of "removed". @@ -88,6 +91,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { /// - (instancetype)initWithRemoved; +/// +/// Initializes union class with tag state of "suspended". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSuspended; + /// /// Initializes union class with tag state of "other". /// @@ -100,11 +110,11 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "not_joined". +/// Retrieves whether the union's current tag state has value "active". /// -/// @return Whether the union's current tag state has value "not_joined". +/// @return Whether the union's current tag state has value "active". /// -- (BOOL)isNotJoined; +- (BOOL)isActive; /// /// Retrieves whether the union's current tag state has value "invited". @@ -114,18 +124,20 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { - (BOOL)isInvited; /// -/// Retrieves whether the union's current tag state has value "active". +/// Retrieves whether the union's current tag state has value +/// "moved_to_another_team". /// -/// @return Whether the union's current tag state has value "active". +/// @return Whether the union's current tag state has value +/// "moved_to_another_team". /// -- (BOOL)isActive; +- (BOOL)isMovedToAnotherTeam; /// -/// Retrieves whether the union's current tag state has value "suspended". +/// Retrieves whether the union's current tag state has value "not_joined". /// -/// @return Whether the union's current tag state has value "suspended". +/// @return Whether the union's current tag state has value "not_joined". /// -- (BOOL)isSuspended; +- (BOOL)isNotJoined; /// /// Retrieves whether the union's current tag state has value "removed". @@ -134,6 +146,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { /// - (BOOL)isRemoved; +/// +/// Retrieves whether the union's current tag state has value "suspended". +/// +/// @return Whether the union's current tag state has value "suspended". +/// +- (BOOL)isSuspended; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -165,7 +184,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberStatus *)instance; /// /// Deserializes `DBTEAMLOGMemberStatus` instances. @@ -175,7 +194,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberStatusTag) { /// /// @return An instantiation of the `DBTEAMLOGMemberStatus` object. /// -+ (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestDetails.h index f790e1f1f..2fff81031 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSuggestDetails` struct. /// -/// Suggested a new team member to be added to the team. +/// Suggested person to add to team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,14 +27,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// suggested users emails. +@property (nonatomic, readonly) NSArray *suggestedMembers; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param suggestedMembers suggested users emails. +/// /// @return An initialized instance. /// -- (instancetype)initDefault; +- (instancetype)initWithSuggestedMembers:(NSArray *)suggestedMembers; - (instancetype)init NS_UNAVAILABLE; @@ -56,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestDetails` instances. @@ -66,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMemberSuggestDetails` object. /// -+ (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSuggestDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestType.h new file mode 100644 index 000000000..2c516c24b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSuggestType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSuggestType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSuggestType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSuggestType` struct. +/// +@interface DBTEAMLOGMemberSuggestTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSuggestType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMemberSuggestType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSuggestType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSuggestType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSuggestType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSuggestType` object. +/// ++ (DBTEAMLOGMemberSuggestType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyDetails.h index 5f5470396..f145e7a82 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberSuggestionsChangePolicyDetails` struct. /// -/// Enabled or disabled the option for team members to suggest new members to -/// add to the team. +/// Enabled/disabled option for team members to suggest people to add to team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestionsChangePolicyDetails` instances. @@ -92,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberSuggestionsChangePolicyDetails` object. /// -+ (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSuggestionsChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyType.h new file mode 100644 index 000000000..309ff10d4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberSuggestionsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberSuggestionsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberSuggestionsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberSuggestionsChangePolicyType` struct. +/// +@interface DBTEAMLOGMemberSuggestionsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberSuggestionsChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberSuggestionsChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSuggestionsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberSuggestionsChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberSuggestionsChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberSuggestionsChangePolicyType` +/// object. +/// ++ (DBTEAMLOGMemberSuggestionsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsPolicy.h index 7858bda06..e0beb17d0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberSuggestionsPolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGMemberSuggestionsPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGMemberSuggestionsPolicy` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGMemberSuggestionsPolicyTag) { - /// (no description). - DBTEAMLOGMemberSuggestionsPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMemberSuggestionsPolicyTag){ + /// (no description). + DBTEAMLOGMemberSuggestionsPolicyDisabled, - /// (no description). - DBTEAMLOGMemberSuggestionsPolicyEnabled, + /// (no description). + DBTEAMLOGMemberSuggestionsPolicyEnabled, - /// (no description). - DBTEAMLOGMemberSuggestionsPolicyOther, + /// (no description). + DBTEAMLOGMemberSuggestionsPolicyOther, }; @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberSuggestionsPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberSuggestionsPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberSuggestionsPolicy *)instance; /// /// Deserializes `DBTEAMLOGMemberSuggestionsPolicy` instances. @@ -128,7 +128,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMemberSuggestionsPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGMemberSuggestionsPolicy` object. /// -+ (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberSuggestionsPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsDetails.h index cb285da61..6848f8de5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MemberTransferAccountContentsDetails` struct. /// -/// Transferred contents of a removed team member account to another member. +/// Transferred contents of deleted member account to another member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,26 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Source participant position in the Participants list. -@property (nonatomic, readonly) NSNumber *srcParticipantIndex; - -/// Destination participant position in the Participants list. -@property (nonatomic, readonly) NSNumber *destParticipantIndex; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param srcParticipantIndex Source participant position in the Participants -/// list. -/// @param destParticipantIndex Destination participant position in the -/// Participants list. -/// /// @return An initialized instance. /// -- (instancetype)initWithSrcParticipantIndex:(NSNumber *)srcParticipantIndex - destParticipantIndex:(NSNumber *)destParticipantIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -69,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsDetails *)instance; /// /// Deserializes `DBTEAMLOGMemberTransferAccountContentsDetails` instances. @@ -80,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMemberTransferAccountContentsDetails` object. /// -+ (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMemberTransferAccountContentsDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsType.h new file mode 100644 index 000000000..05384b53a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferAccountContentsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberTransferAccountContentsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberTransferAccountContentsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberTransferAccountContentsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberTransferAccountContentsType` struct. +/// +@interface DBTEAMLOGMemberTransferAccountContentsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberTransferAccountContentsType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberTransferAccountContentsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberTransferAccountContentsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberTransferAccountContentsType *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberTransferAccountContentsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberTransferAccountContentsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberTransferAccountContentsType` +/// object. +/// ++ (DBTEAMLOGMemberTransferAccountContentsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferredInternalFields.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferredInternalFields.h new file mode 100644 index 000000000..898f5ce80 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMemberTransferredInternalFields.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMemberTransferredInternalFields; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MemberTransferredInternalFields` struct. +/// +/// Internal only - fields for target team computations +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMemberTransferredInternalFields : NSObject + +#pragma mark - Instance fields + +/// Internal only - team user was moved from. +@property (nonatomic, readonly, copy) NSString *sourceTeamId; + +/// Internal only - team user was moved to. +@property (nonatomic, readonly, copy) NSString *targetTeamId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sourceTeamId Internal only - team user was moved from. +/// @param targetTeamId Internal only - team user was moved to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSourceTeamId:(NSString *)sourceTeamId targetTeamId:(NSString *)targetTeamId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MemberTransferredInternalFields` struct. +/// +@interface DBTEAMLOGMemberTransferredInternalFieldsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMemberTransferredInternalFields` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMemberTransferredInternalFields` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberTransferredInternalFields` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMemberTransferredInternalFields *)instance; + +/// +/// Deserializes `DBTEAMLOGMemberTransferredInternalFields` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMemberTransferredInternalFields` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMemberTransferredInternalFields` +/// object. +/// ++ (DBTEAMLOGMemberTransferredInternalFields *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h index 94008557d..941753a35 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MicrosoftOfficeAddinChangePolicyDetails` struct. /// -/// Enabled or disabled the Microsoft Office add-in, which lets team members -/// save files to Dropbox directly from Microsoft Office. +/// Enabled/disabled Microsoft Office add-in. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` instances. @@ -92,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails` object. /// -+ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h new file mode 100644 index 000000000..e397bb53a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGMicrosoftOfficeAddinChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MicrosoftOfficeAddinChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMicrosoftOfficeAddinChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MicrosoftOfficeAddinChangePolicyType` +/// struct. +/// +@interface DBTEAMLOGMicrosoftOfficeAddinChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGMicrosoftOfficeAddinChangePolicyType` object. +/// ++ (DBTEAMLOGMicrosoftOfficeAddinChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinPolicy.h index ac663801f..a5cba5d8b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMicrosoftOfficeAddinPolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGMicrosoftOfficeAddinPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGMicrosoftOfficeAddinPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGMicrosoftOfficeAddinPolicyTag) { - /// (no description). - DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGMicrosoftOfficeAddinPolicyTag){ + /// (no description). + DBTEAMLOGMicrosoftOfficeAddinPolicyDisabled, - /// (no description). - DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled, + /// (no description). + DBTEAMLOGMicrosoftOfficeAddinPolicyEnabled, - /// (no description). - DBTEAMLOGMicrosoftOfficeAddinPolicyOther, + /// (no description). + DBTEAMLOGMicrosoftOfficeAddinPolicyOther, }; @@ -118,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMicrosoftOfficeAddinPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMicrosoftOfficeAddinPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMicrosoftOfficeAddinPolicy *)instance; /// /// Deserializes `DBTEAMLOGMicrosoftOfficeAddinPolicy` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGMicrosoftOfficeAddinPolicyTag) { /// @return An instantiation of the `DBTEAMLOGMicrosoftOfficeAddinPolicy` /// object. /// -+ (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMicrosoftOfficeAddinPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMissingDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMissingDetails.h index 0c7bba0a6..072c21644 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMissingDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMissingDetails.h @@ -17,7 +17,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `MissingDetails` struct. /// -/// An indication that an event was returned with missing details +/// An indication that an error occurred while retrieving the event. Some +/// attributes of the event may be omitted as a result. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,11 +28,26 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// All the data that could be retrieved and converted from the source event. +@property (nonatomic, readonly, copy, nullable) NSString *sourceEventFields; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param sourceEventFields All the data that could be retrieved and converted +/// from the source event. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSourceEventFields:(nullable NSString *)sourceEventFields; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// /// @return An initialized instance. /// - (instancetype)initDefault; @@ -55,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMissingDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMissingDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMissingDetails *)instance; /// /// Deserializes `DBTEAMLOGMissingDetails` instances. @@ -65,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMissingDetails` object. /// -+ (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMissingDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileDeviceSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileDeviceSessionLogInfo.h new file mode 100644 index 000000000..1194b91d0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileDeviceSessionLogInfo.h @@ -0,0 +1,122 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +@class DBTEAMLOGMobileDeviceSessionLogInfo; +@class DBTEAMLOGMobileSessionLogInfo; +@class DBTEAMMobileClientPlatform; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `MobileDeviceSessionLogInfo` struct. +/// +/// Information about linked Dropbox mobile client sessions +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGMobileDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo + +#pragma mark - Instance fields + +/// Mobile session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGMobileSessionLogInfo *sessionInfo; + +/// The device name. +@property (nonatomic, readonly, copy) NSString *deviceName; + +/// The mobile application type. +@property (nonatomic, readonly) DBTEAMMobileClientPlatform *clientType; + +/// The Dropbox client version. +@property (nonatomic, readonly, copy, nullable) NSString *clientVersion; + +/// The hosting OS version. +@property (nonatomic, readonly, copy, nullable) NSString *osVersion; + +/// last carrier used by the device. +@property (nonatomic, readonly, copy, nullable) NSString *lastCarrier; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param deviceName The device name. +/// @param clientType The mobile application type. +/// @param ipAddress The IP address of the last activity from this session. +/// @param created The time this session was created. +/// @param updated The time of the last activity from this session. +/// @param sessionInfo Mobile session unique id. +/// @param clientVersion The Dropbox client version. +/// @param osVersion The hosting OS version. +/// @param lastCarrier last carrier used by the device. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceName:(NSString *)deviceName + clientType:(DBTEAMMobileClientPlatform *)clientType + ipAddress:(nullable NSString *)ipAddress + created:(nullable NSDate *)created + updated:(nullable NSDate *)updated + sessionInfo:(nullable DBTEAMLOGMobileSessionLogInfo *)sessionInfo + clientVersion:(nullable NSString *)clientVersion + osVersion:(nullable NSString *)osVersion + lastCarrier:(nullable NSString *)lastCarrier; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param deviceName The device name. +/// @param clientType The mobile application type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeviceName:(NSString *)deviceName clientType:(DBTEAMMobileClientPlatform *)clientType; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `MobileDeviceSessionLogInfo` struct. +/// +@interface DBTEAMLOGMobileDeviceSessionLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGMobileDeviceSessionLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGMobileDeviceSessionLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGMobileDeviceSessionLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMobileDeviceSessionLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGMobileDeviceSessionLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGMobileDeviceSessionLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGMobileDeviceSessionLogInfo` +/// object. +/// ++ (DBTEAMLOGMobileDeviceSessionLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileSessionLogInfo.h index 1a5ecc2bc..c11f61c50 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileSessionLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGMobileSessionLogInfo.h @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param sessionId Session ID. Might be missing due to historical data gap. +/// @param sessionId Session ID. /// /// @return An initialized instance. /// @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGMobileSessionLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGMobileSessionLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGMobileSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGMobileSessionLogInfo` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGMobileSessionLogInfo` object. /// -+ (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGMobileSessionLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNamespaceRelativePathLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNamespaceRelativePathLogInfo.h index 989b75a85..4c5600823 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNamespaceRelativePathLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNamespaceRelativePathLogInfo.h @@ -27,25 +27,29 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Namespace ID. Might be missing due to historical data gap. +/// Namespace ID. @property (nonatomic, readonly, copy, nullable) NSString *nsId; -/// A path relative to the specified namespace ID. Might be missing due to -/// historical data gap. +/// A path relative to the specified namespace ID. @property (nonatomic, readonly, copy, nullable) NSString *relativePath; +/// True if the namespace is shared. +@property (nonatomic, readonly, nullable) NSNumber *isSharedNamespace; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param nsId Namespace ID. Might be missing due to historical data gap. -/// @param relativePath A path relative to the specified namespace ID. Might be -/// missing due to historical data gap. +/// @param nsId Namespace ID. +/// @param relativePath A path relative to the specified namespace ID. +/// @param isSharedNamespace True if the namespace is shared. /// /// @return An initialized instance. /// -- (instancetype)initWithNsId:(nullable NSString *)nsId relativePath:(nullable NSString *)relativePath; +- (instancetype)initWithNsId:(nullable NSString *)nsId + relativePath:(nullable NSString *)relativePath + isSharedNamespace:(nullable NSNumber *)isSharedNamespace; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -76,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNamespaceRelativePathLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNamespaceRelativePathLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNamespaceRelativePathLogInfo *)instance; /// /// Deserializes `DBTEAMLOGNamespaceRelativePathLogInfo` instances. @@ -87,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGNamespaceRelativePathLogInfo` /// object. /// -+ (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNamespaceRelativePathLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyDetails.h index 4884cc5e3..f964bdb6a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NetworkControlChangePolicyDetails` struct. /// -/// Enabled or disabled network control. +/// Enabled/disabled network control. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGNetworkControlChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGNetworkControlChangePolicyDetails` /// object. /// -+ (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNetworkControlChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyType.h new file mode 100644 index 000000000..78eff52c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNetworkControlChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NetworkControlChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNetworkControlChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NetworkControlChangePolicyType` struct. +/// +@interface DBTEAMLOGNetworkControlChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNetworkControlChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNetworkControlChangePolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNetworkControlChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGNetworkControlChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNetworkControlChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNetworkControlChangePolicyType` +/// object. +/// ++ (DBTEAMLOGNetworkControlChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlPolicy.h index 8687db2ad..5ace6b665 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNetworkControlPolicy.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGNetworkControlPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGNetworkControlPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGNetworkControlPolicyTag) { - /// (no description). - DBTEAMLOGNetworkControlPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGNetworkControlPolicyTag){ + /// (no description). + DBTEAMLOGNetworkControlPolicyDisabled, - /// (no description). - DBTEAMLOGNetworkControlPolicyEnabled, + /// (no description). + DBTEAMLOGNetworkControlPolicyEnabled, - /// (no description). - DBTEAMLOGNetworkControlPolicyOther, + /// (no description). + DBTEAMLOGNetworkControlPolicyOther, }; @@ -117,7 +117,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGNetworkControlPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNetworkControlPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNetworkControlPolicy *)instance; /// /// Deserializes `DBTEAMLOGNetworkControlPolicy` instances. @@ -127,7 +127,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGNetworkControlPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGNetworkControlPolicy` object. /// -+ (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNetworkControlPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h new file mode 100644 index 000000000..2387ff0b3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoExpirationLinkGenCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoExpirationLinkGenCreateReportDetails` struct. +/// +/// Report created: Links created with no expiration. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoExpirationLinkGenCreateReportDetails : NSObject + +#pragma mark - Instance fields + +/// Report start date. +@property (nonatomic, readonly) NSDate *startDate; + +/// Report end date. +@property (nonatomic, readonly) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param startDate Report start date. +/// @param endDate Report end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoExpirationLinkGenCreateReportDetails` +/// struct. +/// +@interface DBTEAMLOGNoExpirationLinkGenCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportDetails` object. +/// ++ (DBTEAMLOGNoExpirationLinkGenCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportType.h new file mode 100644 index 000000000..c041a0bde --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenCreateReportType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoExpirationLinkGenCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoExpirationLinkGenCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoExpirationLinkGenCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoExpirationLinkGenCreateReportType` +/// struct. +/// +@interface DBTEAMLOGNoExpirationLinkGenCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoExpirationLinkGenCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoExpirationLinkGenCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoExpirationLinkGenCreateReportType` object. +/// ++ (DBTEAMLOGNoExpirationLinkGenCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h new file mode 100644 index 000000000..d1a61ef0e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoExpirationLinkGenReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoExpirationLinkGenReportFailedDetails` struct. +/// +/// Couldn't create report: Links created with no expiration. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoExpirationLinkGenReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoExpirationLinkGenReportFailedDetails` +/// struct. +/// +@interface DBTEAMLOGNoExpirationLinkGenReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedDetails` object. +/// ++ (DBTEAMLOGNoExpirationLinkGenReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedType.h new file mode 100644 index 000000000..8b5f15cb7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoExpirationLinkGenReportFailedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoExpirationLinkGenReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoExpirationLinkGenReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoExpirationLinkGenReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoExpirationLinkGenReportFailedType` +/// struct. +/// +@interface DBTEAMLOGNoExpirationLinkGenReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoExpirationLinkGenReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoExpirationLinkGenReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoExpirationLinkGenReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoExpirationLinkGenReportFailedType` object. +/// ++ (DBTEAMLOGNoExpirationLinkGenReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h new file mode 100644 index 000000000..b14b9d7ea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkGenCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkGenCreateReportDetails` struct. +/// +/// Report created: Links created without passwords. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkGenCreateReportDetails : NSObject + +#pragma mark - Instance fields + +/// Report start date. +@property (nonatomic, readonly) NSDate *startDate; + +/// Report end date. +@property (nonatomic, readonly) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param startDate Report start date. +/// @param endDate Report end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkGenCreateReportDetails` +/// struct. +/// +@interface DBTEAMLOGNoPasswordLinkGenCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportDetails` object. +/// ++ (DBTEAMLOGNoPasswordLinkGenCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportType.h new file mode 100644 index 000000000..aa02dfde0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkGenCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkGenCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkGenCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkGenCreateReportType` struct. +/// +@interface DBTEAMLOGNoPasswordLinkGenCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkGenCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkGenCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoPasswordLinkGenCreateReportType` +/// object. +/// ++ (DBTEAMLOGNoPasswordLinkGenCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h new file mode 100644 index 000000000..e98c2a3a0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkGenReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkGenReportFailedDetails` struct. +/// +/// Couldn't create report: Links created without passwords. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkGenReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkGenReportFailedDetails` +/// struct. +/// +@interface DBTEAMLOGNoPasswordLinkGenReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedDetails` object. +/// ++ (DBTEAMLOGNoPasswordLinkGenReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedType.h new file mode 100644 index 000000000..66cb75815 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkGenReportFailedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkGenReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkGenReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkGenReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkGenReportFailedType` struct. +/// +@interface DBTEAMLOGNoPasswordLinkGenReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkGenReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkGenReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkGenReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkGenReportFailedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoPasswordLinkGenReportFailedType` +/// object. +/// ++ (DBTEAMLOGNoPasswordLinkGenReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h new file mode 100644 index 000000000..837957cd9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkViewCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkViewCreateReportDetails` struct. +/// +/// Report created: Views of links without passwords. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkViewCreateReportDetails : NSObject + +#pragma mark - Instance fields + +/// Report start date. +@property (nonatomic, readonly) NSDate *startDate; + +/// Report end date. +@property (nonatomic, readonly) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param startDate Report start date. +/// @param endDate Report end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkViewCreateReportDetails` +/// struct. +/// +@interface DBTEAMLOGNoPasswordLinkViewCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportDetails` object. +/// ++ (DBTEAMLOGNoPasswordLinkViewCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportType.h new file mode 100644 index 000000000..2a5e28852 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkViewCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkViewCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkViewCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkViewCreateReportType` struct. +/// +@interface DBTEAMLOGNoPasswordLinkViewCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkViewCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkViewCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkViewCreateReportType` object. +/// ++ (DBTEAMLOGNoPasswordLinkViewCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h new file mode 100644 index 000000000..5cd854a8d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkViewReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkViewReportFailedDetails` struct. +/// +/// Couldn't create report: Views of links without passwords. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkViewReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkViewReportFailedDetails` +/// struct. +/// +@interface DBTEAMLOGNoPasswordLinkViewReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedDetails` object. +/// ++ (DBTEAMLOGNoPasswordLinkViewReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedType.h new file mode 100644 index 000000000..93bfc85e3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoPasswordLinkViewReportFailedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoPasswordLinkViewReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoPasswordLinkViewReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoPasswordLinkViewReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoPasswordLinkViewReportFailedType` struct. +/// +@interface DBTEAMLOGNoPasswordLinkViewReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoPasswordLinkViewReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoPasswordLinkViewReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoPasswordLinkViewReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGNoPasswordLinkViewReportFailedType` object. +/// ++ (DBTEAMLOGNoPasswordLinkViewReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTeamMemberLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTeamMemberLogInfo.h index c4f39fca4..2363b88e0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTeamMemberLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTeamMemberLogInfo.h @@ -33,12 +33,9 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accountId User unique ID. Might be missing due to historical data -/// gap. -/// @param displayName User display name. Might be missing due to historical -/// data gap. -/// @param email User email address. Might be missing due to historical data -/// gap. +/// @param accountId User unique ID. +/// @param displayName User display name. +/// @param email User email address. /// /// @return An initialized instance. /// @@ -73,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNonTeamMemberLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNonTeamMemberLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNonTeamMemberLogInfo *)instance; /// /// Deserializes `DBTEAMLOGNonTeamMemberLogInfo` instances. @@ -83,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNonTeamMemberLogInfo` object. /// -+ (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNonTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTrustedTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTrustedTeamDetails.h new file mode 100644 index 000000000..58ec2bb07 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNonTrustedTeamDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNonTrustedTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NonTrustedTeamDetails` struct. +/// +/// The email to which the request was sent +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNonTrustedTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The email to which the request was sent. +@property (nonatomic, readonly, copy) NSString *team; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param team The email to which the request was sent. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeam:(NSString *)team; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NonTrustedTeamDetails` struct. +/// +@interface DBTEAMLOGNonTrustedTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNonTrustedTeamDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNonTrustedTeamDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNonTrustedTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNonTrustedTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGNonTrustedTeamDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNonTrustedTeamDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNonTrustedTeamDetails` object. +/// ++ (DBTEAMLOGNonTrustedTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyDetails.h index cd0440879..f63f660c2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NoteAclInviteOnlyDetails` struct. /// -/// Changed a Paper document to be invite-only. +/// Changed Paper doc to invite-only. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclInviteOnlyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclInviteOnlyDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNoteAclInviteOnlyDetails` object. /// -+ (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNoteAclInviteOnlyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyType.h new file mode 100644 index 000000000..5fcd8f529 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclInviteOnlyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoteAclInviteOnlyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoteAclInviteOnlyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoteAclInviteOnlyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoteAclInviteOnlyType` struct. +/// +@interface DBTEAMLOGNoteAclInviteOnlyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoteAclInviteOnlyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNoteAclInviteOnlyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclInviteOnlyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclInviteOnlyType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoteAclInviteOnlyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclInviteOnlyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoteAclInviteOnlyType` object. +/// ++ (DBTEAMLOGNoteAclInviteOnlyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkDetails.h index eff7d85d9..d9c4d1b5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NoteAclLinkDetails` struct. /// -/// Changed a Paper document to be link accessible. +/// Changed Paper doc to link-accessible. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclLinkDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclLinkDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNoteAclLinkDetails` object. /// -+ (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNoteAclLinkDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkType.h new file mode 100644 index 000000000..018ea1141 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclLinkType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoteAclLinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoteAclLinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoteAclLinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoteAclLinkType` struct. +/// +@interface DBTEAMLOGNoteAclLinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoteAclLinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNoteAclLinkType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclLinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclLinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoteAclLinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclLinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoteAclLinkType` object. +/// ++ (DBTEAMLOGNoteAclLinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkDetails.h index 5538bba0c..fbc13a65b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NoteAclTeamLinkDetails` struct. /// -/// Changed a Paper document to be link accessible for the team. +/// Changed Paper doc to link-accessible for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteAclTeamLinkDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteAclTeamLinkDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNoteAclTeamLinkDetails` object. /// -+ (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNoteAclTeamLinkDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkType.h new file mode 100644 index 000000000..8a9dd10aa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteAclTeamLinkType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoteAclTeamLinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoteAclTeamLinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoteAclTeamLinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoteAclTeamLinkType` struct. +/// +@interface DBTEAMLOGNoteAclTeamLinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoteAclTeamLinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNoteAclTeamLinkType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclTeamLinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteAclTeamLinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoteAclTeamLinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteAclTeamLinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoteAclTeamLinkType` object. +/// ++ (DBTEAMLOGNoteAclTeamLinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveDetails.h index e00037bf8..293cab963 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NoteShareReceiveDetails` struct. /// -/// Shared Paper document received. +/// Shared received Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteShareReceiveDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteShareReceiveDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNoteShareReceiveDetails` object. /// -+ (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNoteShareReceiveDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveType.h new file mode 100644 index 000000000..6cefd5f89 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteShareReceiveType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoteShareReceiveType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoteShareReceiveType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoteShareReceiveType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoteShareReceiveType` struct. +/// +@interface DBTEAMLOGNoteShareReceiveTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoteShareReceiveType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNoteShareReceiveType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteShareReceiveType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteShareReceiveType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoteShareReceiveType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteShareReceiveType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoteShareReceiveType` object. +/// ++ (DBTEAMLOGNoteShareReceiveType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedDetails.h index 80bc7576f..ea05fafb1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `NoteSharedDetails` struct. /// -/// Shared a Paper doc. +/// Shared Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGNoteSharedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteSharedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteSharedDetails *)instance; /// /// Deserializes `DBTEAMLOGNoteSharedDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGNoteSharedDetails` object. /// -+ (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGNoteSharedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedType.h new file mode 100644 index 000000000..c5718524b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGNoteSharedType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGNoteSharedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `NoteSharedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGNoteSharedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `NoteSharedType` struct. +/// +@interface DBTEAMLOGNoteSharedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGNoteSharedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGNoteSharedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteSharedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGNoteSharedType *)instance; + +/// +/// Deserializes `DBTEAMLOGNoteSharedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGNoteSharedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGNoteSharedType` object. +/// ++ (DBTEAMLOGNoteSharedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedDetails.h new file mode 100644 index 000000000..b963cb0b9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLabelType; +@class DBTEAMLOGObjectLabelAddedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelAddedDetails` struct. +/// +/// Added a label. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelAddedDetails : NSObject + +#pragma mark - Instance fields + +/// Labels mark a file or folder. +@property (nonatomic, readonly) DBTEAMLOGLabelType *labelType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param labelType Labels mark a file or folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelAddedDetails` struct. +/// +@interface DBTEAMLOGObjectLabelAddedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelAddedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelAddedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelAddedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelAddedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelAddedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelAddedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelAddedDetails` object. +/// ++ (DBTEAMLOGObjectLabelAddedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedType.h new file mode 100644 index 000000000..17a520955 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelAddedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGObjectLabelAddedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelAddedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelAddedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelAddedType` struct. +/// +@interface DBTEAMLOGObjectLabelAddedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelAddedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelAddedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelAddedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelAddedType *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelAddedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelAddedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelAddedType` object. +/// ++ (DBTEAMLOGObjectLabelAddedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedDetails.h new file mode 100644 index 000000000..82f7c4741 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLabelType; +@class DBTEAMLOGObjectLabelRemovedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelRemovedDetails` struct. +/// +/// Removed a label. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelRemovedDetails : NSObject + +#pragma mark - Instance fields + +/// Labels mark a file or folder. +@property (nonatomic, readonly) DBTEAMLOGLabelType *labelType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param labelType Labels mark a file or folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelRemovedDetails` struct. +/// +@interface DBTEAMLOGObjectLabelRemovedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelRemovedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelRemovedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelRemovedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelRemovedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelRemovedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelRemovedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelRemovedDetails` object. +/// ++ (DBTEAMLOGObjectLabelRemovedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedType.h new file mode 100644 index 000000000..b5048737f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelRemovedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGObjectLabelRemovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelRemovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelRemovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelRemovedType` struct. +/// +@interface DBTEAMLOGObjectLabelRemovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelRemovedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelRemovedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelRemovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelRemovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelRemovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelRemovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelRemovedType` object. +/// ++ (DBTEAMLOGObjectLabelRemovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueDetails.h new file mode 100644 index 000000000..933016e3d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGLabelType; +@class DBTEAMLOGObjectLabelUpdatedValueDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelUpdatedValueDetails` struct. +/// +/// Updated a label's value. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelUpdatedValueDetails : NSObject + +#pragma mark - Instance fields + +/// Labels mark a file or folder. +@property (nonatomic, readonly) DBTEAMLOGLabelType *labelType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param labelType Labels mark a file or folder. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLabelType:(DBTEAMLOGLabelType *)labelType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelUpdatedValueDetails` struct. +/// +@interface DBTEAMLOGObjectLabelUpdatedValueDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelUpdatedValueDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelUpdatedValueDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelUpdatedValueDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelUpdatedValueDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelUpdatedValueDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelUpdatedValueDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelUpdatedValueDetails` +/// object. +/// ++ (DBTEAMLOGObjectLabelUpdatedValueDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueType.h new file mode 100644 index 000000000..814bb2b1e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGObjectLabelUpdatedValueType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGObjectLabelUpdatedValueType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ObjectLabelUpdatedValueType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGObjectLabelUpdatedValueType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ObjectLabelUpdatedValueType` struct. +/// +@interface DBTEAMLOGObjectLabelUpdatedValueTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGObjectLabelUpdatedValueType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGObjectLabelUpdatedValueType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelUpdatedValueType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGObjectLabelUpdatedValueType *)instance; + +/// +/// Deserializes `DBTEAMLOGObjectLabelUpdatedValueType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGObjectLabelUpdatedValueType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGObjectLabelUpdatedValueType` +/// object. +/// ++ (DBTEAMLOGObjectLabelUpdatedValueType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedDetails.h index 717dcd309..5c11c80ba 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `OpenNoteSharedDetails` struct. /// -/// Opened a shared Paper doc. +/// Opened shared Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGOpenNoteSharedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedDetails *)instance; /// /// Deserializes `DBTEAMLOGOpenNoteSharedDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGOpenNoteSharedDetails` object. /// -+ (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGOpenNoteSharedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedType.h new file mode 100644 index 000000000..9e0504422 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOpenNoteSharedType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOpenNoteSharedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OpenNoteSharedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOpenNoteSharedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OpenNoteSharedType` struct. +/// +@interface DBTEAMLOGOpenNoteSharedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOpenNoteSharedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGOpenNoteSharedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOpenNoteSharedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOpenNoteSharedType *)instance; + +/// +/// Deserializes `DBTEAMLOGOpenNoteSharedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOpenNoteSharedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOpenNoteSharedType` object. +/// ++ (DBTEAMLOGOpenNoteSharedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationDetails.h new file mode 100644 index 000000000..7e82eed5f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOrganizationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OrganizationDetails` struct. +/// +/// More details about the organization. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOrganizationDetails : NSObject + +#pragma mark - Instance fields + +/// The name of the organization. +@property (nonatomic, readonly, copy) NSString *organization; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param organization The name of the organization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganization:(NSString *)organization; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OrganizationDetails` struct. +/// +@interface DBTEAMLOGOrganizationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOrganizationDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGOrganizationDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOrganizationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGOrganizationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizationDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOrganizationDetails` object. +/// ++ (DBTEAMLOGOrganizationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationName.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationName.h new file mode 100644 index 000000000..224ca1a75 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizationName.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOrganizationName; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OrganizationName` struct. +/// +/// The name of the organization +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOrganizationName : NSObject + +#pragma mark - Instance fields + +/// The name of the organization. +@property (nonatomic, readonly, copy) NSString *organization; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param organization The name of the organization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOrganization:(NSString *)organization; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OrganizationName` struct. +/// +@interface DBTEAMLOGOrganizationNameSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOrganizationName` instances. +/// +/// @param instance An instance of the `DBTEAMLOGOrganizationName` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizationName` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOrganizationName *)instance; + +/// +/// Deserializes `DBTEAMLOGOrganizationName` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizationName` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOrganizationName` object. +/// ++ (DBTEAMLOGOrganizationName *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyDetails.h new file mode 100644 index 000000000..44a26163a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOrganizeFolderWithTidyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OrganizeFolderWithTidyDetails` struct. +/// +/// Organized a folder with multi-file organize. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOrganizeFolderWithTidyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OrganizeFolderWithTidyDetails` struct. +/// +@interface DBTEAMLOGOrganizeFolderWithTidyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOrganizeFolderWithTidyDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGOrganizeFolderWithTidyDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizeFolderWithTidyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOrganizeFolderWithTidyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGOrganizeFolderWithTidyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizeFolderWithTidyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOrganizeFolderWithTidyDetails` +/// object. +/// ++ (DBTEAMLOGOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyType.h new file mode 100644 index 000000000..22184388e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOrganizeFolderWithTidyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOrganizeFolderWithTidyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OrganizeFolderWithTidyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOrganizeFolderWithTidyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OrganizeFolderWithTidyType` struct. +/// +@interface DBTEAMLOGOrganizeFolderWithTidyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOrganizeFolderWithTidyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGOrganizeFolderWithTidyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizeFolderWithTidyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOrganizeFolderWithTidyType *)instance; + +/// +/// Deserializes `DBTEAMLOGOrganizeFolderWithTidyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOrganizeFolderWithTidyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOrganizeFolderWithTidyType` +/// object. +/// ++ (DBTEAMLOGOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOriginLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOriginLogInfo.h index dbe0f7d2a..414303240 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOriginLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOriginLogInfo.h @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGOriginLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGOriginLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOriginLogInfo *)instance; /// /// Deserializes `DBTEAMLOGOriginLogInfo` instances. @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGOriginLogInfo` object. /// -+ (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGOriginLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportDetails.h new file mode 100644 index 000000000..697e42b3e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOutdatedLinkViewCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OutdatedLinkViewCreateReportDetails` struct. +/// +/// Report created: Views of old links. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOutdatedLinkViewCreateReportDetails : NSObject + +#pragma mark - Instance fields + +/// Report start date. +@property (nonatomic, readonly) NSDate *startDate; + +/// Report end date. +@property (nonatomic, readonly) NSDate *endDate; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param startDate Report start date. +/// @param endDate Report end date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStartDate:(NSDate *)startDate endDate:(NSDate *)endDate; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OutdatedLinkViewCreateReportDetails` +/// struct. +/// +@interface DBTEAMLOGOutdatedLinkViewCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOutdatedLinkViewCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGOutdatedLinkViewCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportDetails` object. +/// ++ (DBTEAMLOGOutdatedLinkViewCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportType.h new file mode 100644 index 000000000..e89fe3efa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOutdatedLinkViewCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OutdatedLinkViewCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOutdatedLinkViewCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OutdatedLinkViewCreateReportType` struct. +/// +@interface DBTEAMLOGOutdatedLinkViewCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOutdatedLinkViewCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGOutdatedLinkViewCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOutdatedLinkViewCreateReportType` +/// object. +/// ++ (DBTEAMLOGOutdatedLinkViewCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedDetails.h new file mode 100644 index 000000000..e436b8101 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOutdatedLinkViewReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OutdatedLinkViewReportFailedDetails` struct. +/// +/// Couldn't create report: Views of old links. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOutdatedLinkViewReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OutdatedLinkViewReportFailedDetails` +/// struct. +/// +@interface DBTEAMLOGOutdatedLinkViewReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOutdatedLinkViewReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGOutdatedLinkViewReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedDetails` object. +/// ++ (DBTEAMLOGOutdatedLinkViewReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedType.h new file mode 100644 index 000000000..66a538d3e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGOutdatedLinkViewReportFailedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGOutdatedLinkViewReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `OutdatedLinkViewReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGOutdatedLinkViewReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `OutdatedLinkViewReportFailedType` struct. +/// +@interface DBTEAMLOGOutdatedLinkViewReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGOutdatedLinkViewReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGOutdatedLinkViewReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGOutdatedLinkViewReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGOutdatedLinkViewReportFailedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGOutdatedLinkViewReportFailedType` +/// object. +/// ++ (DBTEAMLOGOutdatedLinkViewReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAccessType.h index 941276ec3..6a2f662f6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAccessType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAccessType.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGPaperAccessTypeTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperAccessType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { - /// (no description). - DBTEAMLOGPaperAccessTypeViewer, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag){ + /// (no description). + DBTEAMLOGPaperAccessTypeCommenter, - /// (no description). - DBTEAMLOGPaperAccessTypeCommenter, + /// (no description). + DBTEAMLOGPaperAccessTypeEditor, - /// (no description). - DBTEAMLOGPaperAccessTypeEditor, + /// (no description). + DBTEAMLOGPaperAccessTypeViewer, - /// (no description). - DBTEAMLOGPaperAccessTypeOther, + /// (no description). + DBTEAMLOGPaperAccessTypeOther, }; @@ -48,25 +48,25 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "viewer". +/// Initializes union class with tag state of "commenter". /// /// @return An initialized instance. /// -- (instancetype)initWithViewer; +- (instancetype)initWithCommenter; /// -/// Initializes union class with tag state of "commenter". +/// Initializes union class with tag state of "editor". /// /// @return An initialized instance. /// -- (instancetype)initWithCommenter; +- (instancetype)initWithEditor; /// -/// Initializes union class with tag state of "editor". +/// Initializes union class with tag state of "viewer". /// /// @return An initialized instance. /// -- (instancetype)initWithEditor; +- (instancetype)initWithViewer; /// /// Initializes union class with tag state of "other". @@ -79,13 +79,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { #pragma mark - Tag state methods -/// -/// Retrieves whether the union's current tag state has value "viewer". -/// -/// @return Whether the union's current tag state has value "viewer". -/// -- (BOOL)isViewer; - /// /// Retrieves whether the union's current tag state has value "commenter". /// @@ -100,6 +93,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { /// - (BOOL)isEditor; +/// +/// Retrieves whether the union's current tag state has value "viewer". +/// +/// @return Whether the union's current tag state has value "viewer". +/// +- (BOOL)isViewer; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAccessType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAccessType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAccessType *)instance; /// /// Deserializes `DBTEAMLOGPaperAccessType` instances. @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperAccessTypeTag) { /// /// @return An instantiation of the `DBTEAMLOGPaperAccessType` object. /// -+ (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperAccessType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartDetails.h index cd280a2a0..57ff42e74 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperAdminExportStartDetails` struct. /// -/// Exported all Paper documents in the team. +/// Exported all team Paper docs. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperAdminExportStartDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperAdminExportStartDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperAdminExportStartDetails` /// object. /// -+ (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperAdminExportStartDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartType.h new file mode 100644 index 000000000..3aec1677d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperAdminExportStartType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperAdminExportStartType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperAdminExportStartType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperAdminExportStartType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperAdminExportStartType` struct. +/// +@interface DBTEAMLOGPaperAdminExportStartTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperAdminExportStartType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperAdminExportStartType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperAdminExportStartType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperAdminExportStartType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperAdminExportStartType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperAdminExportStartType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperAdminExportStartType` object. +/// ++ (DBTEAMLOGPaperAdminExportStartType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyDetails.h index 3794f3857..d20d334f0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyDetails.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperChangeDeploymentPolicyDetails` struct. /// -/// Changed whether Dropbox Paper, when enabled, is deployed to all teams or to -/// specific members of the team. +/// Changed whether Dropbox Paper, when enabled, is deployed to all members or +/// to specific members. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeDeploymentPolicyDetails` instances. @@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperChangeDeploymentPolicyDetails` object. /// -+ (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperChangeDeploymentPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyType.h new file mode 100644 index 000000000..6f3422a1b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeDeploymentPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperChangeDeploymentPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperChangeDeploymentPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperChangeDeploymentPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperChangeDeploymentPolicyType` struct. +/// +@interface DBTEAMLOGPaperChangeDeploymentPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperChangeDeploymentPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperChangeDeploymentPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeDeploymentPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeDeploymentPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperChangeDeploymentPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeDeploymentPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperChangeDeploymentPolicyType` +/// object. +/// ++ (DBTEAMLOGPaperChangeDeploymentPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h index a0cd3f4aa..d3f177a0d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperChangeMemberLinkPolicyDetails` struct. /// -/// Changed whether non team members can view Paper documents using a link. +/// Changed whether non-members can view Paper docs with link. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperChangeMemberLinkPolicyDetails` object. /// -+ (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperChangeMemberLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyType.h new file mode 100644 index 000000000..14135013f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberLinkPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperChangeMemberLinkPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperChangeMemberLinkPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperChangeMemberLinkPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperChangeMemberLinkPolicyType` struct. +/// +@interface DBTEAMLOGPaperChangeMemberLinkPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperChangeMemberLinkPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperChangeMemberLinkPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeMemberLinkPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberLinkPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperChangeMemberLinkPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeMemberLinkPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperChangeMemberLinkPolicyType` +/// object. +/// ++ (DBTEAMLOGPaperChangeMemberLinkPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyDetails.h index 2c2593689..2de058e7a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyDetails.h @@ -18,9 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperChangeMemberPolicyDetails` struct. /// -/// Changed whether team members can share Paper documents externally (i.e. -/// outside the team), and if so, whether they should be accessible only by team -/// members or anyone by default. +/// Changed whether members can share Paper docs outside team, and if docs are +/// accessible only by team members or anyone by default. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangeMemberPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangeMemberPolicyDetails` instances. @@ -92,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperChangeMemberPolicyDetails` /// object. /// -+ (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyType.h new file mode 100644 index 000000000..1dd4b3abb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangeMemberPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperChangeMemberPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperChangeMemberPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperChangeMemberPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperChangeMemberPolicyType` struct. +/// +@interface DBTEAMLOGPaperChangeMemberPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperChangeMemberPolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperChangeMemberPolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeMemberPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangeMemberPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperChangeMemberPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangeMemberPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperChangeMemberPolicyType` +/// object. +/// ++ (DBTEAMLOGPaperChangeMemberPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyDetails.h index a6dc12b5f..46811c4e2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperChangePolicyDetails` struct. /// -/// Enabled or disabled Dropbox Paper for the team. +/// Enabled/disabled Dropbox Paper for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperChangePolicyDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperChangePolicyDetails` object. /// -+ (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyType.h new file mode 100644 index 000000000..8d4334d4f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperChangePolicyType` struct. +/// +@interface DBTEAMLOGPaperChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperChangePolicyType` object. +/// ++ (DBTEAMLOGPaperChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberDetails.h index ab588cfd2..758d17bd1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentAddMemberDetails` struct. /// -/// Added users to the membership of a Paper doc or folder. +/// Added users and/or groups to Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentAddMemberDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperContentAddMemberDetails` /// object. /// -+ (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentAddMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberType.h new file mode 100644 index 000000000..b7cbdf691 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddMemberType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentAddMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentAddMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentAddMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentAddMemberType` struct. +/// +@interface DBTEAMLOGPaperContentAddMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentAddMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentAddMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentAddMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentAddMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentAddMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentAddMemberType` object. +/// ++ (DBTEAMLOGPaperContentAddMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderDetails.h index 8387cd2fb..0ae410d0b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentAddToFolderDetails` struct. /// -/// Added Paper doc or folder to a folder. +/// Added Paper doc/folder to folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentAddToFolderDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentAddToFolderDetails` instances. @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperContentAddToFolderDetails` /// object. /// -+ (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentAddToFolderDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderType.h new file mode 100644 index 000000000..b7bb580b1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentAddToFolderType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentAddToFolderType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentAddToFolderType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentAddToFolderType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentAddToFolderType` struct. +/// +@interface DBTEAMLOGPaperContentAddToFolderTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentAddToFolderType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentAddToFolderType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentAddToFolderType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentAddToFolderType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentAddToFolderType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentAddToFolderType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentAddToFolderType` +/// object. +/// ++ (DBTEAMLOGPaperContentAddToFolderType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveDetails.h index 983a7aef9..249a588af 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentArchiveDetails` struct. /// -/// Archived Paper doc or folder. +/// Archived Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentArchiveDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentArchiveDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperContentArchiveDetails` /// object. /// -+ (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentArchiveDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveType.h new file mode 100644 index 000000000..3d76c8095 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentArchiveType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentArchiveType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentArchiveType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentArchiveType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentArchiveType` struct. +/// +@interface DBTEAMLOGPaperContentArchiveTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentArchiveType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentArchiveType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentArchiveType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentArchiveType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentArchiveType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentArchiveType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentArchiveType` object. +/// ++ (DBTEAMLOGPaperContentArchiveType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateDetails.h index d31dfff27..1df742256 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentCreateDetails` struct. /// -/// Created a Paper doc or folder. +/// Created Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentCreateDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentCreateDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperContentCreateDetails` object. /// -+ (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentCreateDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateType.h new file mode 100644 index 000000000..f5e8192ee --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentCreateType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentCreateType` struct. +/// +@interface DBTEAMLOGPaperContentCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentCreateType` object. +/// ++ (DBTEAMLOGPaperContentCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteDetails.h index aa0fb5057..6d65348da 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentPermanentlyDeleteDetails` struct. /// -/// Permanently deleted a Paper doc or folder. +/// Permanently deleted Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentPermanentlyDeleteDetails` instances. @@ -73,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperContentPermanentlyDeleteDetails` object. /// -+ (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteType.h new file mode 100644 index 000000000..0b815d68b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentPermanentlyDeleteType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentPermanentlyDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentPermanentlyDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentPermanentlyDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentPermanentlyDeleteType` struct. +/// +@interface DBTEAMLOGPaperContentPermanentlyDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentPermanentlyDeleteType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperContentPermanentlyDeleteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentPermanentlyDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentPermanentlyDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentPermanentlyDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentPermanentlyDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentPermanentlyDeleteType` +/// object. +/// ++ (DBTEAMLOGPaperContentPermanentlyDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderDetails.h index 78ccd049d..a20e399e2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentRemoveFromFolderDetails` struct. /// -/// Removed Paper doc or folder from a folder. +/// Removed Paper doc/folder from folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,12 +30,32 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; +/// Target asset position in the Assets list. +@property (nonatomic, readonly, nullable) NSNumber *targetAssetIndex; + +/// Parent asset position in the Assets list. +@property (nonatomic, readonly, nullable) NSNumber *parentAssetIndex; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. +/// @param targetAssetIndex Target asset position in the Assets list. +/// @param parentAssetIndex Parent asset position in the Assets list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + targetAssetIndex:(nullable NSNumber *)targetAssetIndex + parentAssetIndex:(nullable NSNumber *)parentAssetIndex; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. /// /// @return An initialized instance. /// @@ -62,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRemoveFromFolderDetails` instances. @@ -73,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperContentRemoveFromFolderDetails` object. /// -+ (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentRemoveFromFolderDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderType.h new file mode 100644 index 000000000..f2f50f663 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveFromFolderType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentRemoveFromFolderType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentRemoveFromFolderType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentRemoveFromFolderType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentRemoveFromFolderType` struct. +/// +@interface DBTEAMLOGPaperContentRemoveFromFolderTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentRemoveFromFolderType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperContentRemoveFromFolderType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRemoveFromFolderType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveFromFolderType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentRemoveFromFolderType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRemoveFromFolderType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentRemoveFromFolderType` +/// object. +/// ++ (DBTEAMLOGPaperContentRemoveFromFolderType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberDetails.h index 9689d6c60..9539c3493 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentRemoveMemberDetails` struct. /// -/// Removed a user from the membership of a Paper doc or folder. +/// Removed users and/or groups from Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRemoveMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRemoveMemberDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperContentRemoveMemberDetails` /// object. /// -+ (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberType.h new file mode 100644 index 000000000..7f9f5b10d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRemoveMemberType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentRemoveMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentRemoveMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentRemoveMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentRemoveMemberType` struct. +/// +@interface DBTEAMLOGPaperContentRemoveMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentRemoveMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentRemoveMemberType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRemoveMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRemoveMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentRemoveMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRemoveMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentRemoveMemberType` +/// object. +/// ++ (DBTEAMLOGPaperContentRemoveMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameDetails.h index 88774a5d5..a5b32f1df 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentRenameDetails` struct. /// -/// Renamed Paper doc or folder. +/// Renamed Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRenameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRenameDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperContentRenameDetails` object. /// -+ (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentRenameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameType.h new file mode 100644 index 000000000..03618ae80 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRenameType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentRenameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentRenameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentRenameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentRenameType` struct. +/// +@interface DBTEAMLOGPaperContentRenameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentRenameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentRenameType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRenameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRenameType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentRenameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRenameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentRenameType` object. +/// ++ (DBTEAMLOGPaperContentRenameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreDetails.h index 6ba99fcd0..242be7786 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperContentRestoreDetails` struct. /// -/// Restored an archived Paper doc or folder. +/// Restored archived Paper doc/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperContentRestoreDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperContentRestoreDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperContentRestoreDetails` /// object. /// -+ (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperContentRestoreDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreType.h new file mode 100644 index 000000000..d7898eb5c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperContentRestoreType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperContentRestoreType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperContentRestoreType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperContentRestoreType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperContentRestoreType` struct. +/// +@interface DBTEAMLOGPaperContentRestoreTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperContentRestoreType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperContentRestoreType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRestoreType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperContentRestoreType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperContentRestoreType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperContentRestoreType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperContentRestoreType` object. +/// ++ (DBTEAMLOGPaperContentRestoreType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicy.h new file mode 100644 index 000000000..6a9257f4a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicy.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDefaultFolderPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDefaultFolderPolicy` union. +/// +/// Policy to set default access for newly created Paper folders. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGPaperDefaultFolderPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGPaperDefaultFolderPolicy` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperDefaultFolderPolicyTag){ + /// (no description). + DBTEAMLOGPaperDefaultFolderPolicyEveryoneInTeam, + + /// (no description). + DBTEAMLOGPaperDefaultFolderPolicyInviteOnly, + + /// (no description). + DBTEAMLOGPaperDefaultFolderPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGPaperDefaultFolderPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "everyone_in_team". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEveryoneInTeam; + +/// +/// Initializes union class with tag state of "invite_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteOnly; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "everyone_in_team". +/// +/// @return Whether the union's current tag state has value "everyone_in_team". +/// +- (BOOL)isEveryoneInTeam; + +/// +/// Retrieves whether the union's current tag state has value "invite_only". +/// +/// @return Whether the union's current tag state has value "invite_only". +/// +- (BOOL)isInviteOnly; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGPaperDefaultFolderPolicy` union. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDefaultFolderPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDefaultFolderPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDefaultFolderPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDefaultFolderPolicy` object. +/// ++ (DBTEAMLOGPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h new file mode 100644 index 000000000..e8e687a4b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDefaultFolderPolicy; +@class DBTEAMLOGPaperDefaultFolderPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDefaultFolderPolicyChangedDetails` struct. +/// +/// Changed Paper Default Folder Policy setting for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New Paper Default Folder Policy. +@property (nonatomic, readonly) DBTEAMLOGPaperDefaultFolderPolicy *dNewValue; + +/// Previous Paper Default Folder Policy. +@property (nonatomic, readonly) DBTEAMLOGPaperDefaultFolderPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Paper Default Folder Policy. +/// @param previousValue Previous Paper Default Folder Policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperDefaultFolderPolicy *)dNewValue + previousValue:(DBTEAMLOGPaperDefaultFolderPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDefaultFolderPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedDetails` object. +/// ++ (DBTEAMLOGPaperDefaultFolderPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedType.h new file mode 100644 index 000000000..777065710 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDefaultFolderPolicyChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDefaultFolderPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDefaultFolderPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDefaultFolderPolicyChangedType` +/// struct. +/// +@interface DBTEAMLOGPaperDefaultFolderPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDefaultFolderPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDefaultFolderPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDefaultFolderPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPaperDefaultFolderPolicyChangedType` object. +/// ++ (DBTEAMLOGPaperDefaultFolderPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicy.h new file mode 100644 index 000000000..6ad292f23 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDesktopPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDesktopPolicy` union. +/// +/// Policy for controlling if team members can use Paper Desktop +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDesktopPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGPaperDesktopPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGPaperDesktopPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperDesktopPolicyTag){ + /// (no description). + DBTEAMLOGPaperDesktopPolicyDisabled, + + /// (no description). + DBTEAMLOGPaperDesktopPolicyEnabled, + + /// (no description). + DBTEAMLOGPaperDesktopPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGPaperDesktopPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGPaperDesktopPolicy` union. +/// +@interface DBTEAMLOGPaperDesktopPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDesktopPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDesktopPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDesktopPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDesktopPolicy` object. +/// ++ (DBTEAMLOGPaperDesktopPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedDetails.h new file mode 100644 index 000000000..e84481134 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDesktopPolicy; +@class DBTEAMLOGPaperDesktopPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDesktopPolicyChangedDetails` struct. +/// +/// Enabled/disabled Paper Desktop for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDesktopPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New Paper Desktop policy. +@property (nonatomic, readonly) DBTEAMLOGPaperDesktopPolicy *dNewValue; + +/// Previous Paper Desktop policy. +@property (nonatomic, readonly) DBTEAMLOGPaperDesktopPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Paper Desktop policy. +/// @param previousValue Previous Paper Desktop policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGPaperDesktopPolicy *)dNewValue + previousValue:(DBTEAMLOGPaperDesktopPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDesktopPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGPaperDesktopPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDesktopPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperDesktopPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDesktopPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDesktopPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGPaperDesktopPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedType.h new file mode 100644 index 000000000..453bc55f8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDesktopPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDesktopPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDesktopPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDesktopPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDesktopPolicyChangedType` struct. +/// +@interface DBTEAMLOGPaperDesktopPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDesktopPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDesktopPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDesktopPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDesktopPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDesktopPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDesktopPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGPaperDesktopPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentDetails.h index 76fb9cfa9..b96c0a799 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocAddCommentDetails` struct. /// -/// Added a Paper doc comment. +/// Added Paper doc comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -39,8 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -76,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocAddCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocAddCommentDetails` instances. @@ -86,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocAddCommentDetails` object. /// -+ (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocAddCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentType.h new file mode 100644 index 000000000..6079ea5c5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocAddCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocAddCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocAddCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocAddCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocAddCommentType` struct. +/// +@interface DBTEAMLOGPaperDocAddCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocAddCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocAddCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocAddCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocAddCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocAddCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocAddCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocAddCommentType` object. +/// ++ (DBTEAMLOGPaperDocAddCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleDetails.h index 1ea59565f..30742f927 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocChangeMemberRoleDetails` struct. /// -/// Changed the access type of a Paper doc member. +/// Changed member permissions for Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeMemberRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeMemberRoleDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocChangeMemberRoleDetails` /// object. /// -+ (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleType.h new file mode 100644 index 000000000..847b5f7f2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeMemberRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocChangeMemberRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocChangeMemberRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocChangeMemberRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocChangeMemberRoleType` struct. +/// +@interface DBTEAMLOGPaperDocChangeMemberRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocChangeMemberRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocChangeMemberRoleType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeMemberRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeMemberRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocChangeMemberRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeMemberRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocChangeMemberRoleType` +/// object. +/// ++ (DBTEAMLOGPaperDocChangeMemberRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyDetails.h index 9ea887952..515109c82 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocChangeSharingPolicyDetails` struct. /// -/// Changed the sharing policy for Paper doc. +/// Changed sharing setting for Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,11 +30,10 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Sharing policy with external users. Might be missing due to historical data -/// gap. +/// Sharing policy with external users. @property (nonatomic, readonly, copy, nullable) NSString *publicSharingPolicy; -/// Sharing policy with team. Might be missing due to historical data gap. +/// Sharing policy with team. @property (nonatomic, readonly, copy, nullable) NSString *teamSharingPolicy; #pragma mark - Constructors @@ -43,10 +42,8 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param publicSharingPolicy Sharing policy with external users. Might be -/// missing due to historical data gap. -/// @param teamSharingPolicy Sharing policy with team. Might be missing due to -/// historical data gap. +/// @param publicSharingPolicy Sharing policy with external users. +/// @param teamSharingPolicy Sharing policy with team. /// /// @return An initialized instance. /// @@ -84,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeSharingPolicyDetails` instances. @@ -95,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperDocChangeSharingPolicyDetails` object. /// -+ (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocChangeSharingPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyType.h new file mode 100644 index 000000000..fe45d9946 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSharingPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocChangeSharingPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocChangeSharingPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocChangeSharingPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocChangeSharingPolicyType` struct. +/// +@interface DBTEAMLOGPaperDocChangeSharingPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocChangeSharingPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperDocChangeSharingPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeSharingPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSharingPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocChangeSharingPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeSharingPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocChangeSharingPolicyType` +/// object. +/// ++ (DBTEAMLOGPaperDocChangeSharingPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionDetails.h index 0f41af2ea..fb2637270 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocChangeSubscriptionDetails` struct. /// -/// Followed or unfollowed a Paper doc. +/// Followed/unfollowed Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -84,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocChangeSubscriptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocChangeSubscriptionDetails` instances. @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocChangeSubscriptionDetails` /// object. /// -+ (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionType.h new file mode 100644 index 000000000..71063128b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocChangeSubscriptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocChangeSubscriptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocChangeSubscriptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocChangeSubscriptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocChangeSubscriptionType` struct. +/// +@interface DBTEAMLOGPaperDocChangeSubscriptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocChangeSubscriptionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocChangeSubscriptionType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeSubscriptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocChangeSubscriptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocChangeSubscriptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocChangeSubscriptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocChangeSubscriptionType` +/// object. +/// ++ (DBTEAMLOGPaperDocChangeSubscriptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentDetails.h index bf508d086..98812935c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocDeleteCommentDetails` struct. /// -/// Deleted a Paper doc comment. +/// Deleted Paper doc comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -39,8 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -76,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeleteCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDeleteCommentDetails` instances. @@ -87,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocDeleteCommentDetails` /// object. /// -+ (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocDeleteCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentType.h new file mode 100644 index 000000000..46b227c68 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeleteCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocDeleteCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocDeleteCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocDeleteCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocDeleteCommentType` struct. +/// +@interface DBTEAMLOGPaperDocDeleteCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocDeleteCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocDeleteCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDeleteCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeleteCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocDeleteCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDeleteCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocDeleteCommentType` object. +/// ++ (DBTEAMLOGPaperDocDeleteCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedDetails.h index a802275f2..e92889df4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocDeletedDetails` struct. /// -/// Paper doc archived. +/// Archived Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDeletedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDeletedDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocDeletedDetails` object. /// -+ (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocDeletedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedType.h new file mode 100644 index 000000000..696c17968 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDeletedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocDeletedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocDeletedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocDeletedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocDeletedType` struct. +/// +@interface DBTEAMLOGPaperDocDeletedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocDeletedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocDeletedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDeletedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDeletedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocDeletedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDeletedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocDeletedType` object. +/// ++ (DBTEAMLOGPaperDocDeletedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadDetails.h index 98876d4c7..6cca6a1c3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocDownloadDetails` struct. /// -/// Downloaded a Paper doc in a particular output format. +/// Downloaded Paper doc in specific format. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocDownloadDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocDownloadDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocDownloadDetails` object. /// -+ (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocDownloadDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadType.h new file mode 100644 index 000000000..8e692b998 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocDownloadType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocDownloadType` struct. +/// +@interface DBTEAMLOGPaperDocDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocDownloadType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocDownloadType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocDownloadType` object. +/// ++ (DBTEAMLOGPaperDocDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentDetails.h index edd55fd05..8958c3559 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocEditCommentDetails` struct. /// -/// Edited a Paper doc comment. +/// Edited Paper doc comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -39,8 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -76,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocEditCommentDetails` instances. @@ -87,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocEditCommentDetails` /// object. /// -+ (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocEditCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentType.h new file mode 100644 index 000000000..4f9dfc795 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocEditCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocEditCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocEditCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocEditCommentType` struct. +/// +@interface DBTEAMLOGPaperDocEditCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocEditCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocEditCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocEditCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocEditCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocEditCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocEditCommentType` object. +/// ++ (DBTEAMLOGPaperDocEditCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditDetails.h index 464008929..c34d34bfe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocEditDetails` struct. /// -/// Edited a Paper doc. +/// Edited Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocEditDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocEditDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocEditDetails` object. /// -+ (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocEditDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditType.h new file mode 100644 index 000000000..d3747dda2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocEditType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocEditType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocEditType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocEditType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocEditType` struct. +/// +@interface DBTEAMLOGPaperDocEditTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocEditType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocEditType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocEditType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocEditType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocEditType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocEditType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocEditType` object. +/// ++ (DBTEAMLOGPaperDocEditType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedDetails.h index 901c455a9..c390d210e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocFollowedDetails` struct. /// -/// Followed a Paper doc. +/// Followed Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocFollowedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocFollowedDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocFollowedDetails` object. /// -+ (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocFollowedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedType.h new file mode 100644 index 000000000..a3edca2f6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocFollowedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocFollowedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocFollowedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocFollowedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocFollowedType` struct. +/// +@interface DBTEAMLOGPaperDocFollowedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocFollowedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocFollowedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocFollowedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocFollowedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocFollowedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocFollowedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocFollowedType` object. +/// ++ (DBTEAMLOGPaperDocFollowedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionDetails.h index 27d7e7051..3bd32a946 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocMentionDetails` struct. /// -/// Mentioned a member in a Paper doc. +/// Mentioned user in Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocMentionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocMentionDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocMentionDetails` object. /// -+ (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocMentionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionType.h new file mode 100644 index 000000000..03bfa898c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocMentionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocMentionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocMentionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocMentionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocMentionType` struct. +/// +@interface DBTEAMLOGPaperDocMentionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocMentionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocMentionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocMentionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocMentionType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocMentionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocMentionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocMentionType` object. +/// ++ (DBTEAMLOGPaperDocMentionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedDetails.h new file mode 100644 index 000000000..fcb82f0e1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedDetails.h @@ -0,0 +1,100 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocOwnershipChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocOwnershipChangedDetails` struct. +/// +/// Transferred ownership of Paper doc. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocOwnershipChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Previous owner. +@property (nonatomic, readonly, copy, nullable) NSString *oldOwnerUserId; + +/// New owner. +@property (nonatomic, readonly, copy) NSString *dNewOwnerUserId; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param dNewOwnerUserId New owner. +/// @param oldOwnerUserId Previous owner. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewOwnerUserId:(NSString *)dNewOwnerUserId + oldOwnerUserId:(nullable NSString *)oldOwnerUserId; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// @param dNewOwnerUserId New owner. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid dNewOwnerUserId:(NSString *)dNewOwnerUserId; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocOwnershipChangedDetails` struct. +/// +@interface DBTEAMLOGPaperDocOwnershipChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocOwnershipChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperDocOwnershipChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocOwnershipChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocOwnershipChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocOwnershipChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocOwnershipChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocOwnershipChangedDetails` +/// object. +/// ++ (DBTEAMLOGPaperDocOwnershipChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedType.h new file mode 100644 index 000000000..bb9a81c79 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocOwnershipChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocOwnershipChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocOwnershipChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocOwnershipChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocOwnershipChangedType` struct. +/// +@interface DBTEAMLOGPaperDocOwnershipChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocOwnershipChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocOwnershipChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocOwnershipChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocOwnershipChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocOwnershipChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocOwnershipChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocOwnershipChangedType` +/// object. +/// ++ (DBTEAMLOGPaperDocOwnershipChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h index 95468c621..361ad9dfb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocRequestAccessDetails` struct. /// -/// Requested to be a member on a Paper doc. +/// Requested access to Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRequestAccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocRequestAccessDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocRequestAccessDetails` /// object. /// -+ (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocRequestAccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessType.h new file mode 100644 index 000000000..a38d03281 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRequestAccessType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocRequestAccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocRequestAccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocRequestAccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocRequestAccessType` struct. +/// +@interface DBTEAMLOGPaperDocRequestAccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocRequestAccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocRequestAccessType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocRequestAccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRequestAccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocRequestAccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocRequestAccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocRequestAccessType` object. +/// ++ (DBTEAMLOGPaperDocRequestAccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentDetails.h index 223378147..15a4d093e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocResolveCommentDetails` struct. /// -/// Paper doc comment resolved. +/// Resolved Paper doc comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -39,8 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -76,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocResolveCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocResolveCommentDetails` instances. @@ -87,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocResolveCommentDetails` /// object. /// -+ (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocResolveCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentType.h new file mode 100644 index 000000000..fe373cca0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocResolveCommentType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocResolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocResolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocResolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocResolveCommentType` struct. +/// +@interface DBTEAMLOGPaperDocResolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocResolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocResolveCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocResolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocResolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocResolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocResolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocResolveCommentType` +/// object. +/// ++ (DBTEAMLOGPaperDocResolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertDetails.h index 697212fc7..03cdb6ee0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocRevertDetails` struct. /// -/// Restored a Paper doc to previous revision. +/// Restored Paper doc to previous version. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocRevertDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocRevertDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocRevertDetails` object. /// -+ (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocRevertDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertType.h new file mode 100644 index 000000000..6b4bdc322 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocRevertType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocRevertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocRevertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocRevertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocRevertType` struct. +/// +@interface DBTEAMLOGPaperDocRevertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocRevertType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocRevertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocRevertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocRevertType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocRevertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocRevertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocRevertType` object. +/// ++ (DBTEAMLOGPaperDocRevertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareDetails.h index 15f02fe20..e8d70ecd4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocSlackShareDetails` struct. /// -/// Paper doc link shared via slack. +/// Shared Paper doc via Slack. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocSlackShareDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocSlackShareDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocSlackShareDetails` object. /// -+ (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocSlackShareDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareType.h new file mode 100644 index 000000000..dd7150ff6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocSlackShareType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocSlackShareType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocSlackShareType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocSlackShareType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocSlackShareType` struct. +/// +@interface DBTEAMLOGPaperDocSlackShareTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocSlackShareType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocSlackShareType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocSlackShareType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocSlackShareType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocSlackShareType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocSlackShareType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocSlackShareType` object. +/// ++ (DBTEAMLOGPaperDocSlackShareType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteDetails.h index 0ef1a0b63..a85489af9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocTeamInviteDetails` struct. /// -/// Paper doc shared with team member. +/// Shared Paper doc with users and/or groups. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTeamInviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocTeamInviteDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocTeamInviteDetails` object. /// -+ (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteType.h new file mode 100644 index 000000000..f3326863a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTeamInviteType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocTeamInviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocTeamInviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocTeamInviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocTeamInviteType` struct. +/// +@interface DBTEAMLOGPaperDocTeamInviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocTeamInviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocTeamInviteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocTeamInviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTeamInviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocTeamInviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocTeamInviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocTeamInviteType` object. +/// ++ (DBTEAMLOGPaperDocTeamInviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedDetails.h index 53fbd26c2..3fd612cfe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocTrashedDetails` struct. /// -/// Paper doc trashed. +/// Deleted Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocTrashedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocTrashedDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocTrashedDetails` object. /// -+ (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocTrashedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedType.h new file mode 100644 index 000000000..9be859769 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocTrashedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocTrashedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocTrashedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocTrashedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocTrashedType` struct. +/// +@interface DBTEAMLOGPaperDocTrashedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocTrashedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocTrashedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocTrashedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocTrashedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocTrashedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocTrashedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocTrashedType` object. +/// ++ (DBTEAMLOGPaperDocTrashedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentDetails.h index b810e3e0b..69af9ced2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocUnresolveCommentDetails` struct. /// -/// Unresolved a Paper doc comment. +/// Unresolved Paper doc comment. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// Event unique identifier. @property (nonatomic, readonly, copy) NSString *eventUuid; -/// Comment text. Might be missing due to historical data gap. +/// Comment text. @property (nonatomic, readonly, copy, nullable) NSString *commentText; #pragma mark - Constructors @@ -39,8 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param eventUuid Event unique identifier. -/// @param commentText Comment text. Might be missing due to historical data -/// gap. +/// @param commentText Comment text. /// /// @return An initialized instance. /// @@ -76,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUnresolveCommentDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocUnresolveCommentDetails` instances. @@ -87,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperDocUnresolveCommentDetails` /// object. /// -+ (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentType.h new file mode 100644 index 000000000..33b0fe498 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUnresolveCommentType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocUnresolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocUnresolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocUnresolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocUnresolveCommentType` struct. +/// +@interface DBTEAMLOGPaperDocUnresolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocUnresolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocUnresolveCommentType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocUnresolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUnresolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocUnresolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocUnresolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocUnresolveCommentType` +/// object. +/// ++ (DBTEAMLOGPaperDocUnresolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedDetails.h index a68e209fe..124f1ee1f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperDocUntrashedDetails` struct. /// -/// Paper doc untrashed. +/// Restored Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocUntrashedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocUntrashedDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocUntrashedDetails` object. /// -+ (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocUntrashedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedType.h new file mode 100644 index 000000000..7654166bd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocUntrashedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocUntrashedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocUntrashedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocUntrashedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocUntrashedType` struct. +/// +@interface DBTEAMLOGPaperDocUntrashedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocUntrashedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocUntrashedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocUntrashedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocUntrashedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocUntrashedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocUntrashedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocUntrashedType` object. +/// ++ (DBTEAMLOGPaperDocUntrashedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewDetails.h index 0f2c854a6..07758db4c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewDetails.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocViewDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocViewDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocViewDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperDocViewDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocViewDetails` object. /// -+ (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocViewDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewType.h new file mode 100644 index 000000000..49b1ae5c2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocViewType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperDocViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDocViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperDocViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperDocViewType` struct. +/// +@interface DBTEAMLOGPaperDocViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperDocViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperDocViewType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperDocViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperDocViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperDocViewType` object. +/// ++ (DBTEAMLOGPaperDocViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocumentLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocumentLogInfo.h index 36b42ccb2..2b4c775ba 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocumentLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDocumentLogInfo.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDocumentLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocumentLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDocumentLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPaperDocumentLogInfo` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperDocumentLogInfo` object. /// -+ (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDocumentLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDownloadFormat.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDownloadFormat.h index 43ce80ecc..8970c5384 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDownloadFormat.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperDownloadFormat.h @@ -27,18 +27,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGPaperDownloadFormatTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperDownloadFormat` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag) { - /// (no description). - DBTEAMLOGPaperDownloadFormatDocx, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag){ + /// (no description). + DBTEAMLOGPaperDownloadFormatDocx, - /// (no description). - DBTEAMLOGPaperDownloadFormatHtml, + /// (no description). + DBTEAMLOGPaperDownloadFormatHtml, - /// (no description). - DBTEAMLOGPaperDownloadFormatMarkdown, + /// (no description). + DBTEAMLOGPaperDownloadFormatMarkdown, - /// (no description). - DBTEAMLOGPaperDownloadFormatOther, + /// (no description). + DBTEAMLOGPaperDownloadFormatPdf, + + /// (no description). + DBTEAMLOGPaperDownloadFormatOther, }; @@ -68,6 +71,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag) { /// - (instancetype)initWithMarkdown; +/// +/// Initializes union class with tag state of "pdf". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPdf; + /// /// Initializes union class with tag state of "other". /// @@ -100,6 +110,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag) { /// - (BOOL)isMarkdown; +/// +/// Retrieves whether the union's current tag state has value "pdf". +/// +/// @return Whether the union's current tag state has value "pdf". +/// +- (BOOL)isPdf; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -132,7 +149,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperDownloadFormat` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDownloadFormat *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperDownloadFormat *)instance; /// /// Deserializes `DBTEAMLOGPaperDownloadFormat` instances. @@ -142,7 +159,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperDownloadFormatTag) { /// /// @return An instantiation of the `DBTEAMLOGPaperDownloadFormat` object. /// -+ (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperDownloadFormat *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h index 31947dab6..12172c59a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperEnabledUsersGroupAdditionDetails` struct. /// -/// Users added to Paper enabled users list. +/// Added users to Paper-enabled users list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperEnabledUsersGroupAdditionDetails` object. /// -+ (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperEnabledUsersGroupAdditionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionType.h new file mode 100644 index 000000000..5e5c5428b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupAdditionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperEnabledUsersGroupAdditionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperEnabledUsersGroupAdditionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperEnabledUsersGroupAdditionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperEnabledUsersGroupAdditionType` struct. +/// +@interface DBTEAMLOGPaperEnabledUsersGroupAdditionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperEnabledUsersGroupAdditionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperEnabledUsersGroupAdditionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperEnabledUsersGroupAdditionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupAdditionType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperEnabledUsersGroupAdditionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperEnabledUsersGroupAdditionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPaperEnabledUsersGroupAdditionType` object. +/// ++ (DBTEAMLOGPaperEnabledUsersGroupAdditionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h index 63521cc74..32285a24a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperEnabledUsersGroupRemovalDetails` struct. /// -/// Users removed from Paper enabled users list. +/// Removed users from Paper-enabled users list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperEnabledUsersGroupRemovalDetails` object. /// -+ (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperEnabledUsersGroupRemovalDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalType.h new file mode 100644 index 000000000..2a5f4367d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperEnabledUsersGroupRemovalType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperEnabledUsersGroupRemovalType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperEnabledUsersGroupRemovalType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperEnabledUsersGroupRemovalType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperEnabledUsersGroupRemovalType` struct. +/// +@interface DBTEAMLOGPaperEnabledUsersGroupRemovalTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperEnabledUsersGroupRemovalType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperEnabledUsersGroupRemovalType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperEnabledUsersGroupRemovalType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperEnabledUsersGroupRemovalType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperEnabledUsersGroupRemovalType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperEnabledUsersGroupRemovalType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperEnabledUsersGroupRemovalType` +/// object. +/// ++ (DBTEAMLOGPaperEnabledUsersGroupRemovalType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowDetails.h index 3db7d84a2..7d98151c4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperExternalViewAllowDetails` struct. /// -/// Paper external sharing policy changed: anyone. +/// Changed Paper external sharing setting to anyone. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,14 +27,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param eventUuid Event unique identifier. +/// /// @return An initialized instance. /// -- (instancetype)initDefault; +- (instancetype)initWithEventUuid:(NSString *)eventUuid; - (instancetype)init NS_UNAVAILABLE; @@ -56,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewAllowDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewAllowDetails` instances. @@ -67,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperExternalViewAllowDetails` /// object. /// -+ (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperExternalViewAllowDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowType.h new file mode 100644 index 000000000..88e9473f2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewAllowType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperExternalViewAllowType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperExternalViewAllowType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperExternalViewAllowType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperExternalViewAllowType` struct. +/// +@interface DBTEAMLOGPaperExternalViewAllowTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperExternalViewAllowType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperExternalViewAllowType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewAllowType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewAllowType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperExternalViewAllowType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewAllowType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperExternalViewAllowType` +/// object. +/// ++ (DBTEAMLOGPaperExternalViewAllowType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamDetails.h index 71d60bd37..3fcf32edb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperExternalViewDefaultTeamDetails` struct. /// -/// Paper external sharing policy changed: default team. +/// Changed Paper external sharing setting to default team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,14 +27,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param eventUuid Event unique identifier. +/// /// @return An initialized instance. /// -- (instancetype)initDefault; +- (instancetype)initWithEventUuid:(NSString *)eventUuid; - (instancetype)init NS_UNAVAILABLE; @@ -57,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewDefaultTeamDetails` instances. @@ -68,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperExternalViewDefaultTeamDetails` object. /// -+ (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperExternalViewDefaultTeamDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamType.h new file mode 100644 index 000000000..c98f612ca --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewDefaultTeamType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperExternalViewDefaultTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperExternalViewDefaultTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperExternalViewDefaultTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperExternalViewDefaultTeamType` struct. +/// +@interface DBTEAMLOGPaperExternalViewDefaultTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperExternalViewDefaultTeamType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperExternalViewDefaultTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewDefaultTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewDefaultTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperExternalViewDefaultTeamType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewDefaultTeamType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperExternalViewDefaultTeamType` +/// object. +/// ++ (DBTEAMLOGPaperExternalViewDefaultTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidDetails.h index 2ccd84cb3..9f09bf350 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperExternalViewForbidDetails` struct. /// -/// Paper external sharing policy changed: team-only. +/// Changed Paper external sharing setting to team-only. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,14 +27,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param eventUuid Event unique identifier. +/// /// @return An initialized instance. /// -- (instancetype)initDefault; +- (instancetype)initWithEventUuid:(NSString *)eventUuid; - (instancetype)init NS_UNAVAILABLE; @@ -56,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperExternalViewForbidDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperExternalViewForbidDetails` instances. @@ -67,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperExternalViewForbidDetails` /// object. /// -+ (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperExternalViewForbidDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidType.h new file mode 100644 index 000000000..3fca031b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperExternalViewForbidType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperExternalViewForbidType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperExternalViewForbidType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperExternalViewForbidType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperExternalViewForbidType` struct. +/// +@interface DBTEAMLOGPaperExternalViewForbidTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperExternalViewForbidType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperExternalViewForbidType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewForbidType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperExternalViewForbidType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperExternalViewForbidType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperExternalViewForbidType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperExternalViewForbidType` +/// object. +/// ++ (DBTEAMLOGPaperExternalViewForbidType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionDetails.h index 9af431cba..e1837d79d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperFolderChangeSubscriptionDetails` struct. /// -/// Followed or unfollowed a Paper folder. +/// Followed/unfollowed Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -85,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderChangeSubscriptionDetails` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPaperFolderChangeSubscriptionDetails` object. /// -+ (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperFolderChangeSubscriptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionType.h new file mode 100644 index 000000000..9b72febcc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderChangeSubscriptionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperFolderChangeSubscriptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderChangeSubscriptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperFolderChangeSubscriptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderChangeSubscriptionType` struct. +/// +@interface DBTEAMLOGPaperFolderChangeSubscriptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperFolderChangeSubscriptionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperFolderChangeSubscriptionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderChangeSubscriptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderChangeSubscriptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperFolderChangeSubscriptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderChangeSubscriptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperFolderChangeSubscriptionType` +/// object. +/// ++ (DBTEAMLOGPaperFolderChangeSubscriptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedDetails.h index 278c64c3f..488d67ad3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperFolderDeletedDetails` struct. /// -/// Paper folder archived. +/// Archived Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderDeletedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderDeletedDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperFolderDeletedDetails` object. /// -+ (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperFolderDeletedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedType.h new file mode 100644 index 000000000..3b43c37f7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderDeletedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperFolderDeletedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderDeletedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperFolderDeletedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderDeletedType` struct. +/// +@interface DBTEAMLOGPaperFolderDeletedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperFolderDeletedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperFolderDeletedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderDeletedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderDeletedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperFolderDeletedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderDeletedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperFolderDeletedType` object. +/// ++ (DBTEAMLOGPaperFolderDeletedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedDetails.h index 142a1e796..7962ce040 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperFolderFollowedDetails` struct. /// -/// Followed a Paper folder. +/// Followed Paper folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderFollowedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderFollowedDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperFolderFollowedDetails` /// object. /// -+ (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperFolderFollowedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedType.h new file mode 100644 index 000000000..9993a7ab1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderFollowedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperFolderFollowedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderFollowedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperFolderFollowedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderFollowedType` struct. +/// +@interface DBTEAMLOGPaperFolderFollowedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperFolderFollowedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperFolderFollowedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderFollowedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderFollowedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperFolderFollowedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderFollowedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperFolderFollowedType` object. +/// ++ (DBTEAMLOGPaperFolderFollowedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderLogInfo.h index 618f16160..a9389bd14 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderLogInfo.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderLogInfo` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPaperFolderLogInfo` object. /// -+ (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperFolderLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteDetails.h index 9a009c20d..6d8dc9d19 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PaperFolderTeamInviteDetails` struct. /// -/// Paper folder shared with team member. +/// Shared Paper folder with users and/or groups. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperFolderTeamInviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGPaperFolderTeamInviteDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGPaperFolderTeamInviteDetails` /// object. /// -+ (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperFolderTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteType.h new file mode 100644 index 000000000..68d8c90ff --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperFolderTeamInviteType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperFolderTeamInviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperFolderTeamInviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperFolderTeamInviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperFolderTeamInviteType` struct. +/// +@interface DBTEAMLOGPaperFolderTeamInviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperFolderTeamInviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperFolderTeamInviteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderTeamInviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperFolderTeamInviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperFolderTeamInviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperFolderTeamInviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperFolderTeamInviteType` object. +/// ++ (DBTEAMLOGPaperFolderTeamInviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperMemberPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperMemberPolicy.h index 2168707a9..4be3a5eb7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperMemberPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperMemberPolicy.h @@ -29,18 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGPaperMemberPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPaperMemberPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag) { - /// (no description). - DBTEAMLOGPaperMemberPolicyAnyoneWithLink, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag){ + /// (no description). + DBTEAMLOGPaperMemberPolicyAnyoneWithLink, - /// (no description). - DBTEAMLOGPaperMemberPolicyOnlyTeam, + /// (no description). + DBTEAMLOGPaperMemberPolicyOnlyTeam, - /// (no description). - DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared, + /// (no description). + DBTEAMLOGPaperMemberPolicyTeamAndExplicitlyShared, - /// (no description). - DBTEAMLOGPaperMemberPolicyOther, + /// (no description). + DBTEAMLOGPaperMemberPolicyOther, }; @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPaperMemberPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperMemberPolicy *)instance; /// /// Deserializes `DBTEAMLOGPaperMemberPolicy` instances. @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPaperMemberPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGPaperMemberPolicy` object. /// -+ (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPaperMemberPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h new file mode 100644 index 000000000..20493e04f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkChangePermissionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkChangePermissionDetails` struct. +/// +/// Changed permissions for published doc. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkChangePermissionDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// New permission level. +@property (nonatomic, readonly, copy) NSString *dNewPermissionLevel; + +/// Previous permission level. +@property (nonatomic, readonly, copy) NSString *previousPermissionLevel; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param dNewPermissionLevel New permission level. +/// @param previousPermissionLevel Previous permission level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid + dNewPermissionLevel:(NSString *)dNewPermissionLevel + previousPermissionLevel:(NSString *)previousPermissionLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkChangePermissionDetails` +/// struct. +/// +@interface DBTEAMLOGPaperPublishedLinkChangePermissionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionDetails` object. +/// ++ (DBTEAMLOGPaperPublishedLinkChangePermissionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionType.h new file mode 100644 index 000000000..042cf3eda --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkChangePermissionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkChangePermissionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkChangePermissionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkChangePermissionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkChangePermissionType` +/// struct. +/// +@interface DBTEAMLOGPaperPublishedLinkChangePermissionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkChangePermissionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkChangePermissionType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkChangePermissionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPaperPublishedLinkChangePermissionType` object. +/// ++ (DBTEAMLOGPaperPublishedLinkChangePermissionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateDetails.h new file mode 100644 index 000000000..c12cb066a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkCreateDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkCreateDetails` struct. +/// +/// Published doc. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkCreateDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkCreateDetails` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkCreateDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkCreateDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperPublishedLinkCreateDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkCreateDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkCreateDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkCreateDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkCreateDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkCreateDetails` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkCreateDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateType.h new file mode 100644 index 000000000..b786cfde8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkCreateType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkCreateType` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperPublishedLinkCreateType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkCreateType` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledDetails.h new file mode 100644 index 000000000..6737d78ec --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkDisabledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkDisabledDetails` struct. +/// +/// Unpublished doc. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkDisabledDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkDisabledDetails` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkDisabledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkDisabledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPaperPublishedLinkDisabledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkDisabledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkDisabledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkDisabledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkDisabledDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkDisabledDetails` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkDisabledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledType.h new file mode 100644 index 000000000..22ec84778 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkDisabledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkDisabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkDisabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkDisabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkDisabledType` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkDisabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkDisabledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperPublishedLinkDisabledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkDisabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkDisabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkDisabledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkDisabledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkDisabledType` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkDisabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewDetails.h new file mode 100644 index 000000000..9f2a7acc9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkViewDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkViewDetails` struct. +/// +/// Viewed published doc. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkViewDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkViewDetails` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkViewDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkViewDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperPublishedLinkViewDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkViewDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkViewDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkViewDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkViewDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkViewDetails` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkViewDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewType.h new file mode 100644 index 000000000..1bc30cca7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPaperPublishedLinkViewType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPaperPublishedLinkViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperPublishedLinkViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPaperPublishedLinkViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PaperPublishedLinkViewType` struct. +/// +@interface DBTEAMLOGPaperPublishedLinkViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPaperPublishedLinkViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPaperPublishedLinkViewType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPaperPublishedLinkViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGPaperPublishedLinkViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPaperPublishedLinkViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPaperPublishedLinkViewType` +/// object. +/// ++ (DBTEAMLOGPaperPublishedLinkViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGParticipantLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGParticipantLogInfo.h index 8658d6aed..1877287c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGParticipantLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGParticipantLogInfo.h @@ -31,52 +31,52 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGParticipantLogInfoTag` enum type represents the possible tag /// states with which the `DBTEAMLOGParticipantLogInfo` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag) { - /// User details. - DBTEAMLOGParticipantLogInfoUser, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag){ + /// Group details. + DBTEAMLOGParticipantLogInfoGroup, - /// Group details. - DBTEAMLOGParticipantLogInfoGroup, + /// A user with a Dropbox account. + DBTEAMLOGParticipantLogInfoUser, - /// (no description). - DBTEAMLOGParticipantLogInfoOther, + /// (no description). + DBTEAMLOGParticipantLogInfoOther, }; /// Represents the union's current tag state. @property (nonatomic, readonly) DBTEAMLOGParticipantLogInfoTag tag; -/// User details. @note Ensure the `isUser` method returns true before -/// accessing, otherwise a runtime exception will be raised. -@property (nonatomic, readonly) DBTEAMLOGUserLogInfo *user; - /// Group details. @note Ensure the `isGroup` method returns true before /// accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly) DBTEAMLOGGroupLogInfo *group; +/// A user with a Dropbox account. @note Ensure the `isUser` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGUserLogInfo *user; + #pragma mark - Constructors /// -/// Initializes union class with tag state of "user". +/// Initializes union class with tag state of "group". /// -/// Description of the "user" tag state: User details. +/// Description of the "group" tag state: Group details. /// -/// @param user User details. +/// @param group Group details. /// /// @return An initialized instance. /// -- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user; +- (instancetype)initWithGroup:(DBTEAMLOGGroupLogInfo *)group; /// -/// Initializes union class with tag state of "group". +/// Initializes union class with tag state of "user". /// -/// Description of the "group" tag state: Group details. +/// Description of the "user" tag state: A user with a Dropbox account. /// -/// @param group Group details. +/// @param user A user with a Dropbox account. /// /// @return An initialized instance. /// -- (instancetype)initWithGroup:(DBTEAMLOGGroupLogInfo *)group; +- (instancetype)initWithUser:(DBTEAMLOGUserLogInfo *)user; /// /// Initializes union class with tag state of "other". @@ -90,24 +90,24 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "user". +/// Retrieves whether the union's current tag state has value "group". /// /// @note Call this method and ensure it returns true before accessing the -/// `user` property, otherwise a runtime exception will be thrown. +/// `group` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "user". +/// @return Whether the union's current tag state has value "group". /// -- (BOOL)isUser; +- (BOOL)isGroup; /// -/// Retrieves whether the union's current tag state has value "group". +/// Retrieves whether the union's current tag state has value "user". /// /// @note Call this method and ensure it returns true before accessing the -/// `group` property, otherwise a runtime exception will be thrown. +/// `user` property, otherwise a runtime exception will be thrown. /// -/// @return Whether the union's current tag state has value "group". +/// @return Whether the union's current tag state has value "user". /// -- (BOOL)isGroup; +- (BOOL)isUser; /// /// Retrieves whether the union's current tag state has value "other". @@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGParticipantLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGParticipantLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGParticipantLogInfo *)instance; /// /// Deserializes `DBTEAMLOGParticipantLogInfo` instances. @@ -150,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGParticipantLogInfoTag) { /// /// @return An instantiation of the `DBTEAMLOGParticipantLogInfo` object. /// -+ (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGParticipantLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPassPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPassPolicy.h new file mode 100644 index 000000000..c0b27c0d7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPassPolicy.h @@ -0,0 +1,148 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPassPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PassPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPassPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGPassPolicyTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGPassPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPassPolicyTag){ + /// (no description). + DBTEAMLOGPassPolicyAllow, + + /// (no description). + DBTEAMLOGPassPolicyDisabled, + + /// (no description). + DBTEAMLOGPassPolicyEnabled, + + /// (no description). + DBTEAMLOGPassPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGPassPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "allow". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAllow; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "allow". +/// +/// @return Whether the union's current tag state has value "allow". +/// +- (BOOL)isAllow; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGPassPolicy` union. +/// +@interface DBTEAMLOGPassPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPassPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPassPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPassPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPassPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGPassPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPassPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPassPolicy` object. +/// ++ (DBTEAMLOGPassPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeDetails.h index b518e871f..0728f0efa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordChangeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordChangeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordChangeDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordChangeDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPasswordChangeDetails` object. /// -+ (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPasswordChangeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeType.h new file mode 100644 index 000000000..16a21381c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordChangeType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPasswordChangeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordChangeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPasswordChangeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PasswordChangeType` struct. +/// +@interface DBTEAMLOGPasswordChangeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPasswordChangeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPasswordChangeType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordChangeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordChangeType *)instance; + +/// +/// Deserializes `DBTEAMLOGPasswordChangeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordChangeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPasswordChangeType` object. +/// ++ (DBTEAMLOGPasswordChangeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllDetails.h index 86b19be8b..269639db8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetAllDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordResetAllDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPasswordResetAllDetails` object. /// -+ (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPasswordResetAllDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllType.h new file mode 100644 index 000000000..e7dd62689 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetAllType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPasswordResetAllType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordResetAllType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPasswordResetAllType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PasswordResetAllType` struct. +/// +@interface DBTEAMLOGPasswordResetAllTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPasswordResetAllType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPasswordResetAllType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordResetAllType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetAllType *)instance; + +/// +/// Deserializes `DBTEAMLOGPasswordResetAllType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordResetAllType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPasswordResetAllType` object. +/// ++ (DBTEAMLOGPasswordResetAllType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetDetails.h index 9f9018ee8..9207f23d6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPasswordResetDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetDetails *)instance; /// /// Deserializes `DBTEAMLOGPasswordResetDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPasswordResetDetails` object. /// -+ (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPasswordResetDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetType.h new file mode 100644 index 000000000..f63592cb0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordResetType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPasswordResetType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordResetType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPasswordResetType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PasswordResetType` struct. +/// +@interface DBTEAMLOGPasswordResetTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPasswordResetType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPasswordResetType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordResetType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordResetType *)instance; + +/// +/// Deserializes `DBTEAMLOGPasswordResetType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordResetType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPasswordResetType` object. +/// ++ (DBTEAMLOGPasswordResetType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h new file mode 100644 index 000000000..9fdac19fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails; +@class DBTEAMPOLICIESPasswordStrengthPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordStrengthRequirementsChangePolicyDetails` struct. +/// +/// Changed team password strength requirements. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails : NSObject + +#pragma mark - Instance fields + +/// Old password strength policy. +@property (nonatomic, readonly) DBTEAMPOLICIESPasswordStrengthPolicy *previousValue; + +/// New password strength policy. +@property (nonatomic, readonly) DBTEAMPOLICIESPasswordStrengthPolicy *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Old password strength policy. +/// @param dNewValue New password strength policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMPOLICIESPasswordStrengthPolicy *)previousValue + dNewValue:(DBTEAMPOLICIESPasswordStrengthPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `PasswordStrengthRequirementsChangePolicyDetails` struct. +/// +@interface DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails` object. +/// ++ (DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h new file mode 100644 index 000000000..411f5b46f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPasswordStrengthRequirementsChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordStrengthRequirementsChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPasswordStrengthRequirementsChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `PasswordStrengthRequirementsChangePolicyType` struct. +/// +@interface DBTEAMLOGPasswordStrengthRequirementsChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGPasswordStrengthRequirementsChangePolicyType` object. +/// ++ (DBTEAMLOGPasswordStrengthRequirementsChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPathLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPathLogInfo.h index b5547efcc..2ddab619a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPathLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPathLogInfo.h @@ -28,8 +28,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Fully qualified path relative to event's context. Might be missing due to -/// historical data gap. +/// Fully qualified path relative to event's context. @property (nonatomic, readonly, copy, nullable) NSString *contextual; /// Path relative to the namespace containing the content. @@ -42,8 +41,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param namespaceRelative Path relative to the namespace containing the /// content. -/// @param contextual Fully qualified path relative to event's context. Might be -/// missing due to historical data gap. +/// @param contextual Fully qualified path relative to event's context. /// /// @return An initialized instance. /// @@ -80,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPathLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPathLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPathLogInfo *)instance; /// /// Deserializes `DBTEAMLOGPathLogInfo` instances. @@ -90,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGPathLogInfo` object. /// -+ (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPathLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedDetails.h new file mode 100644 index 000000000..42e02fd45 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPendingSecondaryEmailAddedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PendingSecondaryEmailAddedDetails` struct. +/// +/// Added pending secondary email. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPendingSecondaryEmailAddedDetails : NSObject + +#pragma mark - Instance fields + +/// New pending secondary email. +@property (nonatomic, readonly, copy) NSString *secondaryEmail; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryEmail New pending secondary email. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PendingSecondaryEmailAddedDetails` struct. +/// +@interface DBTEAMLOGPendingSecondaryEmailAddedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPendingSecondaryEmailAddedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPendingSecondaryEmailAddedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPendingSecondaryEmailAddedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPendingSecondaryEmailAddedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPendingSecondaryEmailAddedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPendingSecondaryEmailAddedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPendingSecondaryEmailAddedDetails` +/// object. +/// ++ (DBTEAMLOGPendingSecondaryEmailAddedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedType.h new file mode 100644 index 000000000..ad7b11313 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPendingSecondaryEmailAddedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPendingSecondaryEmailAddedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PendingSecondaryEmailAddedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPendingSecondaryEmailAddedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PendingSecondaryEmailAddedType` struct. +/// +@interface DBTEAMLOGPendingSecondaryEmailAddedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPendingSecondaryEmailAddedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPendingSecondaryEmailAddedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPendingSecondaryEmailAddedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPendingSecondaryEmailAddedType *)instance; + +/// +/// Deserializes `DBTEAMLOGPendingSecondaryEmailAddedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPendingSecondaryEmailAddedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPendingSecondaryEmailAddedType` +/// object. +/// ++ (DBTEAMLOGPendingSecondaryEmailAddedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyDetails.h index 86faeac47..bcb6d0706 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `PermanentDeleteChangePolicyDetails` struct. /// -/// Enabled or disabled the ability of team members to permanently delete -/// content. +/// Enabled/disabled ability of team members to permanently delete content. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGPermanentDeleteChangePolicyDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGPermanentDeleteChangePolicyDetails` object. /// -+ (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPermanentDeleteChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyType.h new file mode 100644 index 000000000..2af1a0b41 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPermanentDeleteChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPermanentDeleteChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PermanentDeleteChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPermanentDeleteChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PermanentDeleteChangePolicyType` struct. +/// +@interface DBTEAMLOGPermanentDeleteChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPermanentDeleteChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPermanentDeleteChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPermanentDeleteChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPermanentDeleteChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPermanentDeleteChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPermanentDeleteChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPermanentDeleteChangePolicyType` +/// object. +/// ++ (DBTEAMLOGPermanentDeleteChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPlacementRestriction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPlacementRestriction.h index 6a6d4a365..6c364f057 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPlacementRestriction.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPlacementRestriction.h @@ -27,15 +27,27 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGPlacementRestrictionTag` enum type represents the possible tag /// states with which the `DBTEAMLOGPlacementRestriction` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { - /// (no description). - DBTEAMLOGPlacementRestrictionEuropeOnly, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag){ + /// (no description). + DBTEAMLOGPlacementRestrictionAustraliaOnly, - /// (no description). - DBTEAMLOGPlacementRestrictionNone, + /// (no description). + DBTEAMLOGPlacementRestrictionEuropeOnly, - /// (no description). - DBTEAMLOGPlacementRestrictionOther, + /// (no description). + DBTEAMLOGPlacementRestrictionJapanOnly, + + /// (no description). + DBTEAMLOGPlacementRestrictionNone, + + /// (no description). + DBTEAMLOGPlacementRestrictionUkOnly, + + /// (no description). + DBTEAMLOGPlacementRestrictionUsS3Only, + + /// (no description). + DBTEAMLOGPlacementRestrictionOther, }; @@ -44,6 +56,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { #pragma mark - Constructors +/// +/// Initializes union class with tag state of "australia_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAustraliaOnly; + /// /// Initializes union class with tag state of "europe_only". /// @@ -51,6 +70,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// - (instancetype)initWithEuropeOnly; +/// +/// Initializes union class with tag state of "japan_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithJapanOnly; + /// /// Initializes union class with tag state of "none". /// @@ -58,6 +84,20 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// - (instancetype)initWithNone; +/// +/// Initializes union class with tag state of "uk_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUkOnly; + +/// +/// Initializes union class with tag state of "us_s3_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUsS3Only; + /// /// Initializes union class with tag state of "other". /// @@ -69,6 +109,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { #pragma mark - Tag state methods +/// +/// Retrieves whether the union's current tag state has value "australia_only". +/// +/// @return Whether the union's current tag state has value "australia_only". +/// +- (BOOL)isAustraliaOnly; + /// /// Retrieves whether the union's current tag state has value "europe_only". /// @@ -76,6 +123,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// - (BOOL)isEuropeOnly; +/// +/// Retrieves whether the union's current tag state has value "japan_only". +/// +/// @return Whether the union's current tag state has value "japan_only". +/// +- (BOOL)isJapanOnly; + /// /// Retrieves whether the union's current tag state has value "none". /// @@ -83,6 +137,20 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// - (BOOL)isNone; +/// +/// Retrieves whether the union's current tag state has value "uk_only". +/// +/// @return Whether the union's current tag state has value "uk_only". +/// +- (BOOL)isUkOnly; + +/// +/// Retrieves whether the union's current tag state has value "us_s3_only". +/// +/// @return Whether the union's current tag state has value "us_s3_only". +/// +- (BOOL)isUsS3Only; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -115,7 +183,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGPlacementRestriction` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGPlacementRestriction *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPlacementRestriction *)instance; /// /// Deserializes `DBTEAMLOGPlacementRestriction` instances. @@ -125,7 +193,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGPlacementRestrictionTag) { /// /// @return An instantiation of the `DBTEAMLOGPlacementRestriction` object. /// -+ (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGPlacementRestriction *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPolicyType.h new file mode 100644 index 000000000..1e6f10603 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPolicyType.h @@ -0,0 +1,131 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PolicyType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPolicyType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGPolicyTypeTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGPolicyType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGPolicyTypeTag){ + /// (no description). + DBTEAMLOGPolicyTypeDisposition, + + /// (no description). + DBTEAMLOGPolicyTypeRetention, + + /// (no description). + DBTEAMLOGPolicyTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGPolicyTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disposition". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisposition; + +/// +/// Initializes union class with tag state of "retention". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRetention; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disposition". +/// +/// @return Whether the union's current tag state has value "disposition". +/// +- (BOOL)isDisposition; + +/// +/// Retrieves whether the union's current tag state has value "retention". +/// +/// @return Whether the union's current tag state has value "retention". +/// +- (BOOL)isRetention; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGPolicyType` union. +/// +@interface DBTEAMLOGPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPolicyType` object. +/// ++ (DBTEAMLOGPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h new file mode 100644 index 000000000..803829d11 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestAcceptedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PrimaryTeamRequestAcceptedDetails` struct. +/// +/// Team merge request acceptance details shown to the primary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPrimaryTeamRequestAcceptedDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PrimaryTeamRequestAcceptedDetails` struct. +/// +@interface DBTEAMLOGPrimaryTeamRequestAcceptedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPrimaryTeamRequestAcceptedDetails` +/// object. +/// ++ (DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestCanceledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestCanceledDetails.h new file mode 100644 index 000000000..99f6543e8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestCanceledDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestCanceledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PrimaryTeamRequestCanceledDetails` struct. +/// +/// Team merge request cancellation details shown to the primary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPrimaryTeamRequestCanceledDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PrimaryTeamRequestCanceledDetails` struct. +/// +@interface DBTEAMLOGPrimaryTeamRequestCanceledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPrimaryTeamRequestCanceledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPrimaryTeamRequestCanceledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestCanceledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestCanceledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPrimaryTeamRequestCanceledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestCanceledDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPrimaryTeamRequestCanceledDetails` +/// object. +/// ++ (DBTEAMLOGPrimaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestExpiredDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestExpiredDetails.h new file mode 100644 index 000000000..adde97756 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestExpiredDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestExpiredDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PrimaryTeamRequestExpiredDetails` struct. +/// +/// Team merge request expiration details shown to the primary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPrimaryTeamRequestExpiredDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PrimaryTeamRequestExpiredDetails` struct. +/// +@interface DBTEAMLOGPrimaryTeamRequestExpiredDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPrimaryTeamRequestExpiredDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPrimaryTeamRequestExpiredDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestExpiredDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestExpiredDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPrimaryTeamRequestExpiredDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestExpiredDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPrimaryTeamRequestExpiredDetails` +/// object. +/// ++ (DBTEAMLOGPrimaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestReminderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestReminderDetails.h new file mode 100644 index 000000000..15d71e5c3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGPrimaryTeamRequestReminderDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestReminderDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PrimaryTeamRequestReminderDetails` struct. +/// +/// Team merge request reminder details shown to the primary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGPrimaryTeamRequestReminderDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentTo The name of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `PrimaryTeamRequestReminderDetails` struct. +/// +@interface DBTEAMLOGPrimaryTeamRequestReminderDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGPrimaryTeamRequestReminderDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGPrimaryTeamRequestReminderDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestReminderDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGPrimaryTeamRequestReminderDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGPrimaryTeamRequestReminderDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGPrimaryTeamRequestReminderDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGPrimaryTeamRequestReminderDetails` +/// object. +/// ++ (DBTEAMLOGPrimaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGQuickActionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGQuickActionType.h new file mode 100644 index 000000000..aef25196f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGQuickActionType.h @@ -0,0 +1,205 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGQuickActionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `QuickActionType` union. +/// +/// Quick action type. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGQuickActionType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGQuickActionTypeTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGQuickActionType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGQuickActionTypeTag){ + /// (no description). + DBTEAMLOGQuickActionTypeDeleteSharedLink, + + /// (no description). + DBTEAMLOGQuickActionTypeResetPassword, + + /// (no description). + DBTEAMLOGQuickActionTypeRestoreFileOrFolder, + + /// (no description). + DBTEAMLOGQuickActionTypeUnlinkApp, + + /// (no description). + DBTEAMLOGQuickActionTypeUnlinkDevice, + + /// (no description). + DBTEAMLOGQuickActionTypeUnlinkSession, + + /// (no description). + DBTEAMLOGQuickActionTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGQuickActionTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "delete_shared_link". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeleteSharedLink; + +/// +/// Initializes union class with tag state of "reset_password". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResetPassword; + +/// +/// Initializes union class with tag state of "restore_file_or_folder". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRestoreFileOrFolder; + +/// +/// Initializes union class with tag state of "unlink_app". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlinkApp; + +/// +/// Initializes union class with tag state of "unlink_device". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlinkDevice; + +/// +/// Initializes union class with tag state of "unlink_session". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlinkSession; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "delete_shared_link". +/// +/// @return Whether the union's current tag state has value +/// "delete_shared_link". +/// +- (BOOL)isDeleteSharedLink; + +/// +/// Retrieves whether the union's current tag state has value "reset_password". +/// +/// @return Whether the union's current tag state has value "reset_password". +/// +- (BOOL)isResetPassword; + +/// +/// Retrieves whether the union's current tag state has value +/// "restore_file_or_folder". +/// +/// @return Whether the union's current tag state has value +/// "restore_file_or_folder". +/// +- (BOOL)isRestoreFileOrFolder; + +/// +/// Retrieves whether the union's current tag state has value "unlink_app". +/// +/// @return Whether the union's current tag state has value "unlink_app". +/// +- (BOOL)isUnlinkApp; + +/// +/// Retrieves whether the union's current tag state has value "unlink_device". +/// +/// @return Whether the union's current tag state has value "unlink_device". +/// +- (BOOL)isUnlinkDevice; + +/// +/// Retrieves whether the union's current tag state has value "unlink_session". +/// +/// @return Whether the union's current tag state has value "unlink_session". +/// +- (BOOL)isUnlinkSession; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGQuickActionType` union. +/// +@interface DBTEAMLOGQuickActionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGQuickActionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGQuickActionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGQuickActionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGQuickActionType *)instance; + +/// +/// Deserializes `DBTEAMLOGQuickActionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGQuickActionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGQuickActionType` object. +/// ++ (DBTEAMLOGQuickActionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportDetails.h new file mode 100644 index 000000000..ef193323e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareAlertCreateReportDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareAlertCreateReportDetails` struct. +/// +/// Created ransomware report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareAlertCreateReportDetails` struct. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareAlertCreateReportDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareAlertCreateReportDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareAlertCreateReportDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareAlertCreateReportDetails` object. +/// ++ (DBTEAMLOGRansomwareAlertCreateReportDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h new file mode 100644 index 000000000..a474bbf52 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareAlertCreateReportFailedDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareAlertCreateReportFailedDetails` struct. +/// +/// Couldn't generate ransomware report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportFailedDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareAlertCreateReportFailedDetails` +/// struct. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportFailedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedDetails` object. +/// ++ (DBTEAMLOGRansomwareAlertCreateReportFailedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedType.h new file mode 100644 index 000000000..e65fadf76 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportFailedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareAlertCreateReportFailedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareAlertCreateReportFailedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportFailedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareAlertCreateReportFailedType` +/// struct. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportFailedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareAlertCreateReportFailedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportFailedType *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareAlertCreateReportFailedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareAlertCreateReportFailedType` object. +/// ++ (DBTEAMLOGRansomwareAlertCreateReportFailedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportType.h new file mode 100644 index 000000000..df248930c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareAlertCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareAlertCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareAlertCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareAlertCreateReportType` struct. +/// +@interface DBTEAMLOGRansomwareAlertCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareAlertCreateReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareAlertCreateReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareAlertCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareAlertCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareAlertCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRansomwareAlertCreateReportType` +/// object. +/// ++ (DBTEAMLOGRansomwareAlertCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h new file mode 100644 index 000000000..f38e2b814 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareRestoreProcessCompletedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareRestoreProcessCompletedDetails` struct. +/// +/// Completed ransomware restore process. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareRestoreProcessCompletedDetails : NSObject + +#pragma mark - Instance fields + +/// The status of the restore process. +@property (nonatomic, readonly, copy) NSString *status; + +/// Restored files count. +@property (nonatomic, readonly) NSNumber *restoredFilesCount; + +/// Restored files failed count. +@property (nonatomic, readonly) NSNumber *restoredFilesFailedCount; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param status The status of the restore process. +/// @param restoredFilesCount Restored files count. +/// @param restoredFilesFailedCount Restored files failed count. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithStatus:(NSString *)status + restoredFilesCount:(NSNumber *)restoredFilesCount + restoredFilesFailedCount:(NSNumber *)restoredFilesFailedCount; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareRestoreProcessCompletedDetails` +/// struct. +/// +@interface DBTEAMLOGRansomwareRestoreProcessCompletedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedDetails` object. +/// ++ (DBTEAMLOGRansomwareRestoreProcessCompletedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedType.h new file mode 100644 index 000000000..4405d5e03 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessCompletedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareRestoreProcessCompletedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareRestoreProcessCompletedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareRestoreProcessCompletedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareRestoreProcessCompletedType` +/// struct. +/// +@interface DBTEAMLOGRansomwareRestoreProcessCompletedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareRestoreProcessCompletedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessCompletedType *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareRestoreProcessCompletedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareRestoreProcessCompletedType` object. +/// ++ (DBTEAMLOGRansomwareRestoreProcessCompletedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedDetails.h new file mode 100644 index 000000000..d674f9261 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareRestoreProcessStartedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareRestoreProcessStartedDetails` struct. +/// +/// Started ransomware restore process. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareRestoreProcessStartedDetails : NSObject + +#pragma mark - Instance fields + +/// Ransomware filename extension. +@property (nonatomic, readonly, copy) NSString *extension; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param extension Ransomware filename extension. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExtension:(NSString *)extension; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareRestoreProcessStartedDetails` +/// struct. +/// +@interface DBTEAMLOGRansomwareRestoreProcessStartedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareRestoreProcessStartedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessStartedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareRestoreProcessStartedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedDetails` object. +/// ++ (DBTEAMLOGRansomwareRestoreProcessStartedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedType.h new file mode 100644 index 000000000..eff05bb9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRansomwareRestoreProcessStartedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRansomwareRestoreProcessStartedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RansomwareRestoreProcessStartedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRansomwareRestoreProcessStartedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RansomwareRestoreProcessStartedType` +/// struct. +/// +@interface DBTEAMLOGRansomwareRestoreProcessStartedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRansomwareRestoreProcessStartedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRansomwareRestoreProcessStartedType *)instance; + +/// +/// Deserializes `DBTEAMLOGRansomwareRestoreProcessStartedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGRansomwareRestoreProcessStartedType` object. +/// ++ (DBTEAMLOGRansomwareRestoreProcessStartedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRecipientsConfiguration.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRecipientsConfiguration.h new file mode 100644 index 000000000..fb6a79572 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRecipientsConfiguration.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGAlertRecipientsSettingType; +@class DBTEAMLOGRecipientsConfiguration; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RecipientsConfiguration` struct. +/// +/// Recipients Configuration +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRecipientsConfiguration : NSObject + +#pragma mark - Instance fields + +/// Recipients setting type. +@property (nonatomic, readonly, nullable) DBTEAMLOGAlertRecipientsSettingType *recipientSettingType; + +/// A list of user emails to notify. +@property (nonatomic, readonly, nullable) NSArray *emails; + +/// A list of groups to notify. +@property (nonatomic, readonly, nullable) NSArray *groups; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param recipientSettingType Recipients setting type. +/// @param emails A list of user emails to notify. +/// @param groups A list of groups to notify. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRecipientSettingType:(nullable DBTEAMLOGAlertRecipientsSettingType *)recipientSettingType + emails:(nullable NSArray *)emails + groups:(nullable NSArray *)groups; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RecipientsConfiguration` struct. +/// +@interface DBTEAMLOGRecipientsConfigurationSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRecipientsConfiguration` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRecipientsConfiguration` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRecipientsConfiguration` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRecipientsConfiguration *)instance; + +/// +/// Deserializes `DBTEAMLOGRecipientsConfiguration` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRecipientsConfiguration` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRecipientsConfiguration` object. +/// ++ (DBTEAMLOGRecipientsConfiguration *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRelocateAssetReferencesLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRelocateAssetReferencesLogInfo.h index d19812940..421946e38 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRelocateAssetReferencesLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRelocateAssetReferencesLogInfo.h @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGRelocateAssetReferencesLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGRelocateAssetReferencesLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRelocateAssetReferencesLogInfo *)instance; /// /// Deserializes `DBTEAMLOGRelocateAssetReferencesLogInfo` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGRelocateAssetReferencesLogInfo` /// object. /// -+ (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGRelocateAssetReferencesLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteDetails.h similarity index 53% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamShareDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteDetails.h index ec7299b63..9e188d4f7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamShareDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelTeamShareDetails; +@class DBTEAMLOGReplayFileDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelTeamShareDetails` struct. +/// The `ReplayFileDeleteDetails` struct. /// -/// Shared a link with team members. +/// Deleted files in Replay. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelTeamShareDetails : NSObject +@interface DBTEAMLOGReplayFileDeleteDetails : NSObject #pragma mark - Instance fields @@ -43,30 +43,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelTeamShareDetails` struct. +/// The serialization class for the `ReplayFileDeleteDetails` struct. /// -@interface DBTEAMLOGShmodelTeamShareDetailsSerializer : NSObject +@interface DBTEAMLOGReplayFileDeleteDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelTeamShareDetails` instances. +/// Serializes `DBTEAMLOGReplayFileDeleteDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelTeamShareDetails` API +/// @param instance An instance of the `DBTEAMLOGReplayFileDeleteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamShareDetails` API object. +/// `DBTEAMLOGReplayFileDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelTeamShareDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileDeleteDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelTeamShareDetails` instances. +/// Deserializes `DBTEAMLOGReplayFileDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamShareDetails` API object. +/// `DBTEAMLOGReplayFileDeleteDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelTeamShareDetails` object. +/// @return An instantiation of the `DBTEAMLOGReplayFileDeleteDetails` object. /// -+ (DBTEAMLOGShmodelTeamShareDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGReplayFileDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteType.h new file mode 100644 index 000000000..42230f966 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileDeleteType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayFileDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayFileDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayFileDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayFileDeleteType` struct. +/// +@interface DBTEAMLOGReplayFileDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayFileDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGReplayFileDeleteType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayFileDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayFileDeleteType` object. +/// ++ (DBTEAMLOGReplayFileDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedDetails.h new file mode 100644 index 000000000..ae99be252 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayFileSharedLinkCreatedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayFileSharedLinkCreatedDetails` struct. +/// +/// Created shared link in Replay. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayFileSharedLinkCreatedDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayFileSharedLinkCreatedDetails` struct. +/// +@interface DBTEAMLOGReplayFileSharedLinkCreatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayFileSharedLinkCreatedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkCreatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayFileSharedLinkCreatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedDetails` object. +/// ++ (DBTEAMLOGReplayFileSharedLinkCreatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedType.h new file mode 100644 index 000000000..39f4387be --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkCreatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayFileSharedLinkCreatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayFileSharedLinkCreatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayFileSharedLinkCreatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayFileSharedLinkCreatedType` struct. +/// +@interface DBTEAMLOGReplayFileSharedLinkCreatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayFileSharedLinkCreatedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkCreatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayFileSharedLinkCreatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkCreatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayFileSharedLinkCreatedType` +/// object. +/// ++ (DBTEAMLOGReplayFileSharedLinkCreatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedDetails.h new file mode 100644 index 000000000..c24a49724 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayFileSharedLinkModifiedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayFileSharedLinkModifiedDetails` struct. +/// +/// Modified shared link in Replay. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayFileSharedLinkModifiedDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayFileSharedLinkModifiedDetails` +/// struct. +/// +@interface DBTEAMLOGReplayFileSharedLinkModifiedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayFileSharedLinkModifiedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkModifiedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayFileSharedLinkModifiedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedDetails` object. +/// ++ (DBTEAMLOGReplayFileSharedLinkModifiedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedType.h new file mode 100644 index 000000000..5a51ef0b0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayFileSharedLinkModifiedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayFileSharedLinkModifiedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayFileSharedLinkModifiedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayFileSharedLinkModifiedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayFileSharedLinkModifiedType` struct. +/// +@interface DBTEAMLOGReplayFileSharedLinkModifiedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayFileSharedLinkModifiedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayFileSharedLinkModifiedType *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayFileSharedLinkModifiedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayFileSharedLinkModifiedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayFileSharedLinkModifiedType` +/// object. +/// ++ (DBTEAMLOGReplayFileSharedLinkModifiedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddDetails.h new file mode 100644 index 000000000..6d65eeb33 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayProjectTeamAddDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayProjectTeamAddDetails` struct. +/// +/// Added member to Replay Project. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayProjectTeamAddDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayProjectTeamAddDetails` struct. +/// +@interface DBTEAMLOGReplayProjectTeamAddDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayProjectTeamAddDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGReplayProjectTeamAddDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamAddDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamAddDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayProjectTeamAddDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamAddDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayProjectTeamAddDetails` +/// object. +/// ++ (DBTEAMLOGReplayProjectTeamAddDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddType.h new file mode 100644 index 000000000..4be6186be --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamAddType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayProjectTeamAddType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayProjectTeamAddType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayProjectTeamAddType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayProjectTeamAddType` struct. +/// +@interface DBTEAMLOGReplayProjectTeamAddTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayProjectTeamAddType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGReplayProjectTeamAddType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamAddType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamAddType *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayProjectTeamAddType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamAddType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayProjectTeamAddType` object. +/// ++ (DBTEAMLOGReplayProjectTeamAddType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPublicDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteDetails.h similarity index 51% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPublicDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteDetails.h index b78594848..da8c03d17 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityPublicDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelVisibilityPublicDetails; +@class DBTEAMLOGReplayProjectTeamDeleteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelVisibilityPublicDetails` struct. +/// The `ReplayProjectTeamDeleteDetails` struct. /// -/// Made a file/folder visible to anyone with the link. +/// Removed member from Replay Project. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelVisibilityPublicDetails : NSObject +@interface DBTEAMLOGReplayProjectTeamDeleteDetails : NSObject #pragma mark - Instance fields @@ -43,31 +43,31 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelVisibilityPublicDetails` struct. +/// The serialization class for the `ReplayProjectTeamDeleteDetails` struct. /// -@interface DBTEAMLOGShmodelVisibilityPublicDetailsSerializer : NSObject +@interface DBTEAMLOGReplayProjectTeamDeleteDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelVisibilityPublicDetails` instances. +/// Serializes `DBTEAMLOGReplayProjectTeamDeleteDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelVisibilityPublicDetails` +/// @param instance An instance of the `DBTEAMLOGReplayProjectTeamDeleteDetails` /// API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityPublicDetails` API object. +/// `DBTEAMLOGReplayProjectTeamDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityPublicDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamDeleteDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelVisibilityPublicDetails` instances. +/// Deserializes `DBTEAMLOGReplayProjectTeamDeleteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityPublicDetails` API object. +/// `DBTEAMLOGReplayProjectTeamDeleteDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelVisibilityPublicDetails` +/// @return An instantiation of the `DBTEAMLOGReplayProjectTeamDeleteDetails` /// object. /// -+ (DBTEAMLOGShmodelVisibilityPublicDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGReplayProjectTeamDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteType.h new file mode 100644 index 000000000..8467573d9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGReplayProjectTeamDeleteType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGReplayProjectTeamDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ReplayProjectTeamDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGReplayProjectTeamDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ReplayProjectTeamDeleteType` struct. +/// +@interface DBTEAMLOGReplayProjectTeamDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGReplayProjectTeamDeleteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGReplayProjectTeamDeleteType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGReplayProjectTeamDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGReplayProjectTeamDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGReplayProjectTeamDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGReplayProjectTeamDeleteType` +/// object. +/// ++ (DBTEAMLOGReplayProjectTeamDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerLogInfo.h index 1e097bb05..ac9eb08d0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerLogInfo.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerLogInfo *)instance; /// /// Deserializes `DBTEAMLOGResellerLogInfo` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGResellerLogInfo` object. /// -+ (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGResellerLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerRole.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerRole.h new file mode 100644 index 000000000..0316a1a9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerRole.h @@ -0,0 +1,131 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGResellerRole; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResellerRole` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGResellerRole : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGResellerRoleTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGResellerRole` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGResellerRoleTag){ + /// (no description). + DBTEAMLOGResellerRoleNotReseller, + + /// (no description). + DBTEAMLOGResellerRoleResellerAdmin, + + /// (no description). + DBTEAMLOGResellerRoleOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGResellerRoleTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "not_reseller". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNotReseller; + +/// +/// Initializes union class with tag state of "reseller_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithResellerAdmin; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "not_reseller". +/// +/// @return Whether the union's current tag state has value "not_reseller". +/// +- (BOOL)isNotReseller; + +/// +/// Retrieves whether the union's current tag state has value "reseller_admin". +/// +/// @return Whether the union's current tag state has value "reseller_admin". +/// +- (BOOL)isResellerAdmin; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGResellerRole` union. +/// +@interface DBTEAMLOGResellerRoleSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGResellerRole` instances. +/// +/// @param instance An instance of the `DBTEAMLOGResellerRole` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerRole` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerRole *)instance; + +/// +/// Deserializes `DBTEAMLOGResellerRole` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerRole` API object. +/// +/// @return An instantiation of the `DBTEAMLOGResellerRole` object. +/// ++ (DBTEAMLOGResellerRole *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyDetails.h new file mode 100644 index 000000000..1766c423a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGResellerSupportChangePolicyDetails; +@class DBTEAMLOGResellerSupportPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResellerSupportChangePolicyDetails` struct. +/// +/// Enabled/disabled reseller support. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGResellerSupportChangePolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New Reseller support policy. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportPolicy *dNewValue; + +/// Previous Reseller support policy. +@property (nonatomic, readonly) DBTEAMLOGResellerSupportPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Reseller support policy. +/// @param previousValue Previous Reseller support policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGResellerSupportPolicy *)dNewValue + previousValue:(DBTEAMLOGResellerSupportPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResellerSupportChangePolicyDetails` struct. +/// +@interface DBTEAMLOGResellerSupportChangePolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGResellerSupportChangePolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGResellerSupportChangePolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportChangePolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportChangePolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGResellerSupportChangePolicyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportChangePolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGResellerSupportChangePolicyDetails` object. +/// ++ (DBTEAMLOGResellerSupportChangePolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyType.h new file mode 100644 index 000000000..4435ad3f3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGResellerSupportChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResellerSupportChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGResellerSupportChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResellerSupportChangePolicyType` struct. +/// +@interface DBTEAMLOGResellerSupportChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGResellerSupportChangePolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGResellerSupportChangePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGResellerSupportChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGResellerSupportChangePolicyType` +/// object. +/// ++ (DBTEAMLOGResellerSupportChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportPolicy.h similarity index 58% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadsPolicy.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportPolicy.h index 0f9eed936..f6f70ca5c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadsPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportPolicy.h @@ -8,42 +8,42 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGSharedContentDownloadsPolicy; +@class DBTEAMLOGResellerSupportPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `SharedContentDownloadsPolicy` union. +/// The `ResellerSupportPolicy` union. /// -/// Shared content downloads policy +/// Policy for controlling if reseller can access the admin console as +/// administrator /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGSharedContentDownloadsPolicy : NSObject +@interface DBTEAMLOGResellerSupportPolicy : NSObject #pragma mark - Instance fields -/// The `DBTEAMLOGSharedContentDownloadsPolicyTag` enum type represents the -/// possible tag states with which the `DBTEAMLOGSharedContentDownloadsPolicy` -/// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharedContentDownloadsPolicyTag) { - /// (no description). - DBTEAMLOGSharedContentDownloadsPolicyDisabled, +/// The `DBTEAMLOGResellerSupportPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGResellerSupportPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGResellerSupportPolicyTag){ + /// (no description). + DBTEAMLOGResellerSupportPolicyDisabled, - /// (no description). - DBTEAMLOGSharedContentDownloadsPolicyEnabled, + /// (no description). + DBTEAMLOGResellerSupportPolicyEnabled, - /// (no description). - DBTEAMLOGSharedContentDownloadsPolicyOther, + /// (no description). + DBTEAMLOGResellerSupportPolicyOther, }; /// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGSharedContentDownloadsPolicyTag tag; +@property (nonatomic, readonly) DBTEAMLOGResellerSupportPolicyTag tag; #pragma mark - Constructors @@ -105,32 +105,30 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharedContentDownloadsPolicyTag) { #pragma mark - Serializer Object /// -/// The serialization class for the `DBTEAMLOGSharedContentDownloadsPolicy` -/// union. +/// The serialization class for the `DBTEAMLOGResellerSupportPolicy` union. /// -@interface DBTEAMLOGSharedContentDownloadsPolicySerializer : NSObject +@interface DBTEAMLOGResellerSupportPolicySerializer : NSObject /// -/// Serializes `DBTEAMLOGSharedContentDownloadsPolicy` instances. +/// Serializes `DBTEAMLOGResellerSupportPolicy` instances. /// -/// @param instance An instance of the `DBTEAMLOGSharedContentDownloadsPolicy` -/// API object. +/// @param instance An instance of the `DBTEAMLOGResellerSupportPolicy` API +/// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentDownloadsPolicy` API object. +/// `DBTEAMLOGResellerSupportPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadsPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportPolicy *)instance; /// -/// Deserializes `DBTEAMLOGSharedContentDownloadsPolicy` instances. +/// Deserializes `DBTEAMLOGResellerSupportPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentDownloadsPolicy` API object. +/// `DBTEAMLOGResellerSupportPolicy` API object. /// -/// @return An instantiation of the `DBTEAMLOGSharedContentDownloadsPolicy` -/// object. +/// @return An instantiation of the `DBTEAMLOGResellerSupportPolicy` object. /// -+ (DBTEAMLOGSharedContentDownloadsPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGResellerSupportPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndDetails.h index 57e2989f8..162c2f89c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionEndDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndDetails *)instance; /// /// Deserializes `DBTEAMLOGResellerSupportSessionEndDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGResellerSupportSessionEndDetails` /// object. /// -+ (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGResellerSupportSessionEndDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndType.h new file mode 100644 index 000000000..4e2475da8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionEndType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGResellerSupportSessionEndType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResellerSupportSessionEndType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGResellerSupportSessionEndType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResellerSupportSessionEndType` struct. +/// +@interface DBTEAMLOGResellerSupportSessionEndTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGResellerSupportSessionEndType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGResellerSupportSessionEndType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportSessionEndType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionEndType *)instance; + +/// +/// Deserializes `DBTEAMLOGResellerSupportSessionEndType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportSessionEndType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGResellerSupportSessionEndType` +/// object. +/// ++ (DBTEAMLOGResellerSupportSessionEndType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartDetails.h index 49d10be8a..1e6106352 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGResellerSupportSessionStartDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartDetails *)instance; /// /// Deserializes `DBTEAMLOGResellerSupportSessionStartDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGResellerSupportSessionStartDetails` object. /// -+ (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGResellerSupportSessionStartDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartType.h new file mode 100644 index 000000000..5fa24fad3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGResellerSupportSessionStartType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGResellerSupportSessionStartType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ResellerSupportSessionStartType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGResellerSupportSessionStartType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ResellerSupportSessionStartType` struct. +/// +@interface DBTEAMLOGResellerSupportSessionStartTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGResellerSupportSessionStartType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGResellerSupportSessionStartType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportSessionStartType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGResellerSupportSessionStartType *)instance; + +/// +/// Deserializes `DBTEAMLOGResellerSupportSessionStartType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGResellerSupportSessionStartType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGResellerSupportSessionStartType` +/// object. +/// ++ (DBTEAMLOGResellerSupportSessionStartType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderDetails.h new file mode 100644 index 000000000..e04cebdc4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRewindFolderDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RewindFolderDetails` struct. +/// +/// Rewound a folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRewindFolderDetails : NSObject + +#pragma mark - Instance fields + +/// Folder was Rewound to this date. +@property (nonatomic, readonly) NSDate *rewindFolderTargetTsMs; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param rewindFolderTargetTsMs Folder was Rewound to this date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRewindFolderTargetTsMs:(NSDate *)rewindFolderTargetTsMs; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RewindFolderDetails` struct. +/// +@interface DBTEAMLOGRewindFolderDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRewindFolderDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRewindFolderDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindFolderDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRewindFolderDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRewindFolderDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindFolderDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRewindFolderDetails` object. +/// ++ (DBTEAMLOGRewindFolderDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderType.h new file mode 100644 index 000000000..7691e8569 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindFolderType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRewindFolderType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RewindFolderType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRewindFolderType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RewindFolderType` struct. +/// +@interface DBTEAMLOGRewindFolderTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRewindFolderType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRewindFolderType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindFolderType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRewindFolderType *)instance; + +/// +/// Deserializes `DBTEAMLOGRewindFolderType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindFolderType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRewindFolderType` object. +/// ++ (DBTEAMLOGRewindFolderType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicy.h new file mode 100644 index 000000000..d653a979a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRewindPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RewindPolicy` union. +/// +/// Policy for controlling whether team members can rewind +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRewindPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGRewindPolicyTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGRewindPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGRewindPolicyTag){ + /// (no description). + DBTEAMLOGRewindPolicyAdminsOnly, + + /// (no description). + DBTEAMLOGRewindPolicyEveryone, + + /// (no description). + DBTEAMLOGRewindPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGRewindPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "admins_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAdminsOnly; + +/// +/// Initializes union class with tag state of "everyone". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEveryone; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "admins_only". +/// +/// @return Whether the union's current tag state has value "admins_only". +/// +- (BOOL)isAdminsOnly; + +/// +/// Retrieves whether the union's current tag state has value "everyone". +/// +/// @return Whether the union's current tag state has value "everyone". +/// +- (BOOL)isEveryone; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGRewindPolicy` union. +/// +@interface DBTEAMLOGRewindPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRewindPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRewindPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRewindPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGRewindPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRewindPolicy` object. +/// ++ (DBTEAMLOGRewindPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedDetails.h new file mode 100644 index 000000000..09956369a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRewindPolicy; +@class DBTEAMLOGRewindPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RewindPolicyChangedDetails` struct. +/// +/// Changed Rewind policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRewindPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New Dropbox Rewind policy. +@property (nonatomic, readonly) DBTEAMLOGRewindPolicy *dNewValue; + +/// Previous Dropbox Rewind policy. +@property (nonatomic, readonly) DBTEAMLOGRewindPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Dropbox Rewind policy. +/// @param previousValue Previous Dropbox Rewind policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGRewindPolicy *)dNewValue + previousValue:(DBTEAMLOGRewindPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RewindPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGRewindPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRewindPolicyChangedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRewindPolicyChangedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRewindPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGRewindPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRewindPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGRewindPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedType.h new file mode 100644 index 000000000..945ff59ed --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGRewindPolicyChangedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGRewindPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `RewindPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGRewindPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `RewindPolicyChangedType` struct. +/// +@interface DBTEAMLOGRewindPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGRewindPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGRewindPolicyChangedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGRewindPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGRewindPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGRewindPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGRewindPolicyChangedType` object. +/// ++ (DBTEAMLOGRewindPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedDetails.h new file mode 100644 index 000000000..de8b73d64 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryEmailDeletedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryEmailDeletedDetails` struct. +/// +/// Deleted secondary email. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryEmailDeletedDetails : NSObject + +#pragma mark - Instance fields + +/// Deleted secondary email. +@property (nonatomic, readonly, copy) NSString *secondaryEmail; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryEmail Deleted secondary email. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryEmailDeletedDetails` struct. +/// +@interface DBTEAMLOGSecondaryEmailDeletedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryEmailDeletedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSecondaryEmailDeletedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailDeletedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailDeletedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryEmailDeletedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailDeletedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryEmailDeletedDetails` +/// object. +/// ++ (DBTEAMLOGSecondaryEmailDeletedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedType.h new file mode 100644 index 000000000..668b2656c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailDeletedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryEmailDeletedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryEmailDeletedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryEmailDeletedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryEmailDeletedType` struct. +/// +@interface DBTEAMLOGSecondaryEmailDeletedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryEmailDeletedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSecondaryEmailDeletedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailDeletedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailDeletedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryEmailDeletedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailDeletedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryEmailDeletedType` object. +/// ++ (DBTEAMLOGSecondaryEmailDeletedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedDetails.h new file mode 100644 index 000000000..63c7102c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryEmailVerifiedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryEmailVerifiedDetails` struct. +/// +/// Verified secondary email. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryEmailVerifiedDetails : NSObject + +#pragma mark - Instance fields + +/// Verified secondary email. +@property (nonatomic, readonly, copy) NSString *secondaryEmail; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryEmail Verified secondary email. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryEmail:(NSString *)secondaryEmail; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryEmailVerifiedDetails` struct. +/// +@interface DBTEAMLOGSecondaryEmailVerifiedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryEmailVerifiedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSecondaryEmailVerifiedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailVerifiedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailVerifiedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryEmailVerifiedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailVerifiedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryEmailVerifiedDetails` +/// object. +/// ++ (DBTEAMLOGSecondaryEmailVerifiedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedType.h new file mode 100644 index 000000000..b9c4104a4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryEmailVerifiedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryEmailVerifiedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryEmailVerifiedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryEmailVerifiedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryEmailVerifiedType` struct. +/// +@interface DBTEAMLOGSecondaryEmailVerifiedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryEmailVerifiedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSecondaryEmailVerifiedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailVerifiedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryEmailVerifiedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryEmailVerifiedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryEmailVerifiedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryEmailVerifiedType` +/// object. +/// ++ (DBTEAMLOGSecondaryEmailVerifiedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicy.h new file mode 100644 index 000000000..91c8eb36c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicy.h @@ -0,0 +1,132 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryMailsPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryMailsPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryMailsPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSecondaryMailsPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGSecondaryMailsPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSecondaryMailsPolicyTag){ + /// (no description). + DBTEAMLOGSecondaryMailsPolicyDisabled, + + /// (no description). + DBTEAMLOGSecondaryMailsPolicyEnabled, + + /// (no description). + DBTEAMLOGSecondaryMailsPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSecondaryMailsPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGSecondaryMailsPolicy` union. +/// +@interface DBTEAMLOGSecondaryMailsPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryMailsPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSecondaryMailsPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryMailsPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryMailsPolicy` object. +/// ++ (DBTEAMLOGSecondaryMailsPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedDetails.h new file mode 100644 index 000000000..8b23cce88 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryMailsPolicy; +@class DBTEAMLOGSecondaryMailsPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryMailsPolicyChangedDetails` struct. +/// +/// Secondary mails policy changed. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryMailsPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Previous secondary mails policy. +@property (nonatomic, readonly) DBTEAMLOGSecondaryMailsPolicy *previousValue; + +/// New secondary mails policy. +@property (nonatomic, readonly) DBTEAMLOGSecondaryMailsPolicy *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous secondary mails policy. +/// @param dNewValue New secondary mails policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGSecondaryMailsPolicy *)previousValue + dNewValue:(DBTEAMLOGSecondaryMailsPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryMailsPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGSecondaryMailsPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryMailsPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryMailsPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedDetails` object. +/// ++ (DBTEAMLOGSecondaryMailsPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedType.h new file mode 100644 index 000000000..df7f4cfdf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryMailsPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryMailsPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryMailsPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryMailsPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryMailsPolicyChangedType` struct. +/// +@interface DBTEAMLOGSecondaryMailsPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryMailsPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryMailsPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryMailsPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryMailsPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSecondaryMailsPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGSecondaryMailsPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h new file mode 100644 index 000000000..c8fed636a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryTeamRequestAcceptedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryTeamRequestAcceptedDetails` struct. +/// +/// Team merge request acceptance details shown to the secondary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryTeamRequestAcceptedDetails : NSObject + +#pragma mark - Instance fields + +/// The primary team name. +@property (nonatomic, readonly, copy) NSString *primaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param primaryTeam The primary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(NSString *)primaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryTeamRequestAcceptedDetails` +/// struct. +/// +@interface DBTEAMLOGSecondaryTeamRequestAcceptedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSecondaryTeamRequestAcceptedDetails` object. +/// ++ (DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestCanceledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestCanceledDetails.h new file mode 100644 index 000000000..0d849efbc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestCanceledDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryTeamRequestCanceledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryTeamRequestCanceledDetails` struct. +/// +/// Team merge request cancellation details shown to the secondary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryTeamRequestCanceledDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin that the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin that the request was sent +/// to. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryTeamRequestCanceledDetails` +/// struct. +/// +@interface DBTEAMLOGSecondaryTeamRequestCanceledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryTeamRequestCanceledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryTeamRequestCanceledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestCanceledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestCanceledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryTeamRequestCanceledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestCanceledDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSecondaryTeamRequestCanceledDetails` object. +/// ++ (DBTEAMLOGSecondaryTeamRequestCanceledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestExpiredDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestExpiredDetails.h new file mode 100644 index 000000000..d7a439cef --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestExpiredDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryTeamRequestExpiredDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryTeamRequestExpiredDetails` struct. +/// +/// Team merge request expiration details shown to the secondary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryTeamRequestExpiredDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryTeamRequestExpiredDetails` struct. +/// +@interface DBTEAMLOGSecondaryTeamRequestExpiredDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryTeamRequestExpiredDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryTeamRequestExpiredDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestExpiredDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestExpiredDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryTeamRequestExpiredDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestExpiredDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSecondaryTeamRequestExpiredDetails` object. +/// ++ (DBTEAMLOGSecondaryTeamRequestExpiredDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestReminderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestReminderDetails.h new file mode 100644 index 000000000..797917d11 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSecondaryTeamRequestReminderDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSecondaryTeamRequestReminderDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SecondaryTeamRequestReminderDetails` struct. +/// +/// Team merge request reminder details shown to the secondary team +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSecondaryTeamRequestReminderDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SecondaryTeamRequestReminderDetails` +/// struct. +/// +@interface DBTEAMLOGSecondaryTeamRequestReminderDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSecondaryTeamRequestReminderDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSecondaryTeamRequestReminderDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestReminderDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSecondaryTeamRequestReminderDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSecondaryTeamRequestReminderDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSecondaryTeamRequestReminderDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSecondaryTeamRequestReminderDetails` object. +/// ++ (DBTEAMLOGSecondaryTeamRequestReminderDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicy.h new file mode 100644 index 000000000..678f5819e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSendForSignaturePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SendForSignaturePolicy` union. +/// +/// Policy for controlling team access to send for signature feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSendForSignaturePolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSendForSignaturePolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGSendForSignaturePolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSendForSignaturePolicyTag){ + /// (no description). + DBTEAMLOGSendForSignaturePolicyDisabled, + + /// (no description). + DBTEAMLOGSendForSignaturePolicyEnabled, + + /// (no description). + DBTEAMLOGSendForSignaturePolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSendForSignaturePolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGSendForSignaturePolicy` union. +/// +@interface DBTEAMLOGSendForSignaturePolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSendForSignaturePolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSendForSignaturePolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGSendForSignaturePolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSendForSignaturePolicy` object. +/// ++ (DBTEAMLOGSendForSignaturePolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedDetails.h new file mode 100644 index 000000000..6ce5a1a55 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSendForSignaturePolicy; +@class DBTEAMLOGSendForSignaturePolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SendForSignaturePolicyChangedDetails` struct. +/// +/// Changed send for signature policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSendForSignaturePolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New send for signature policy. +@property (nonatomic, readonly) DBTEAMLOGSendForSignaturePolicy *dNewValue; + +/// Previous send for signature policy. +@property (nonatomic, readonly) DBTEAMLOGSendForSignaturePolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New send for signature policy. +/// @param previousValue Previous send for signature policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGSendForSignaturePolicy *)dNewValue + previousValue:(DBTEAMLOGSendForSignaturePolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SendForSignaturePolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGSendForSignaturePolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSendForSignaturePolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSendForSignaturePolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSendForSignaturePolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSendForSignaturePolicyChangedDetails` object. +/// ++ (DBTEAMLOGSendForSignaturePolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedType.h new file mode 100644 index 000000000..5b42331fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSendForSignaturePolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSendForSignaturePolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SendForSignaturePolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSendForSignaturePolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SendForSignaturePolicyChangedType` struct. +/// +@interface DBTEAMLOGSendForSignaturePolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSendForSignaturePolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSendForSignaturePolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSendForSignaturePolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSendForSignaturePolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSendForSignaturePolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSendForSignaturePolicyChangedType` +/// object. +/// ++ (DBTEAMLOGSendForSignaturePolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSessionLogInfo.h index 357fad548..86c621f7e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSessionLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSessionLogInfo.h @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Session ID. Might be missing due to historical data gap. +/// Session ID. @property (nonatomic, readonly, copy, nullable) NSString *sessionId; #pragma mark - Constructors @@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param sessionId Session ID. Might be missing due to historical data gap. +/// @param sessionId Session ID. /// /// @return An initialized instance. /// @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSessionLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSessionLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGSessionLogInfo` instances. @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSessionLogInfo` object. /// -+ (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSessionLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupDetails.h index 277ae4feb..d5325466f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfAddGroupDetails` struct. /// -/// Added the team to a shared folder. +/// Added team to shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// Original shared folder name. @property (nonatomic, readonly, copy) NSString *originalFolderName; -/// Sharing permission. Might be missing due to historical data gap. +/// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; /// Team name. @@ -47,8 +47,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. /// @param teamName Team name. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// @@ -90,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfAddGroupDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAddGroupDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAddGroupDetails *)instance; /// /// Deserializes `DBTEAMLOGSfAddGroupDetails` instances. @@ -100,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfAddGroupDetails` object. /// -+ (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfAddGroupDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupType.h new file mode 100644 index 000000000..40cc52a45 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAddGroupType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfAddGroupType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfAddGroupType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfAddGroupType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfAddGroupType` struct. +/// +@interface DBTEAMLOGSfAddGroupTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfAddGroupType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfAddGroupType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfAddGroupType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAddGroupType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfAddGroupType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfAddGroupType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfAddGroupType` object. +/// ++ (DBTEAMLOGSfAddGroupType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h index a02c85cf1..b5b748f63 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfAllowNonMembersToViewSharedLinksDetails` struct. /// -/// Allowed non collaborators to view links to files in a shared folder. +/// Allowed non-collaborators to view links to files in shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// Original shared folder name. @property (nonatomic, readonly, copy) NSString *originalFolderName; -/// Shared folder type. Might be missing due to historical data gap. +/// Shared folder type. @property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; #pragma mark - Constructors @@ -43,8 +43,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. +/// @param sharedFolderType Shared folder type. /// /// @return An initialized instance. /// @@ -84,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)instance; /// /// Deserializes `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` instances. @@ -95,7 +94,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails` object. /// -+ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h new file mode 100644 index 000000000..d2156aa26 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfAllowNonMembersToViewSharedLinksType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfAllowNonMembersToViewSharedLinksType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfAllowNonMembersToViewSharedLinksType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfAllowNonMembersToViewSharedLinksType` +/// struct. +/// +@interface DBTEAMLOGSfAllowNonMembersToViewSharedLinksTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSfAllowNonMembersToViewSharedLinksType` object. +/// ++ (DBTEAMLOGSfAllowNonMembersToViewSharedLinksType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnDetails.h index c7386ccad..30bc96064 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfExternalInviteWarnDetails` struct. /// -/// Admin settings: team members see a warning before sharing folders outside -/// the team (DEPRECATED FEATURE). +/// Set team members to see warning before sharing folders outside team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,14 +27,45 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields +/// Target asset position in the Assets list. +@property (nonatomic, readonly) NSNumber *targetAssetIndex; + +/// Original shared folder name. +@property (nonatomic, readonly, copy) NSString *originalFolderName; + +/// New sharing permission. +@property (nonatomic, readonly, copy, nullable) NSString *dNewSharingPermission; + +/// Previous sharing permission. +@property (nonatomic, readonly, copy, nullable) NSString *previousSharingPermission; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// +/// @param targetAssetIndex Target asset position in the Assets list. +/// @param originalFolderName Original shared folder name. +/// @param dNewSharingPermission New sharing permission. +/// @param previousSharingPermission Previous sharing permission. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + dNewSharingPermission:(nullable NSString *)dNewSharingPermission + previousSharingPermission:(nullable NSString *)previousSharingPermission; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param targetAssetIndex Target asset position in the Assets list. +/// @param originalFolderName Original shared folder name. +/// /// @return An initialized instance. /// -- (instancetype)initDefault; +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; - (instancetype)init NS_UNAVAILABLE; @@ -57,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfExternalInviteWarnDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnDetails *)instance; /// /// Deserializes `DBTEAMLOGSfExternalInviteWarnDetails` instances. @@ -68,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSfExternalInviteWarnDetails` /// object. /// -+ (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfExternalInviteWarnDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnType.h new file mode 100644 index 000000000..2d655fa80 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfExternalInviteWarnType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfExternalInviteWarnType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfExternalInviteWarnType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfExternalInviteWarnType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfExternalInviteWarnType` struct. +/// +@interface DBTEAMLOGSfExternalInviteWarnTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfExternalInviteWarnType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfExternalInviteWarnType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfExternalInviteWarnType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfExternalInviteWarnType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfExternalInviteWarnType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfExternalInviteWarnType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfExternalInviteWarnType` object. +/// ++ (DBTEAMLOGSfExternalInviteWarnType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleDetails.h new file mode 100644 index 000000000..b77912f05 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleDetails.h @@ -0,0 +1,105 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfFbInviteChangeRoleDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfFbInviteChangeRoleDetails` struct. +/// +/// Changed Facebook user's role in shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfFbInviteChangeRoleDetails : NSObject + +#pragma mark - Instance fields + +/// Target asset position in the Assets list. +@property (nonatomic, readonly) NSNumber *targetAssetIndex; + +/// Original shared folder name. +@property (nonatomic, readonly, copy) NSString *originalFolderName; + +/// Previous sharing permission. +@property (nonatomic, readonly, copy, nullable) NSString *previousSharingPermission; + +/// New sharing permission. +@property (nonatomic, readonly, copy, nullable) NSString *dNewSharingPermission; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param targetAssetIndex Target asset position in the Assets list. +/// @param originalFolderName Original shared folder name. +/// @param previousSharingPermission Previous sharing permission. +/// @param dNewSharingPermission New sharing permission. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex + originalFolderName:(NSString *)originalFolderName + previousSharingPermission:(nullable NSString *)previousSharingPermission + dNewSharingPermission:(nullable NSString *)dNewSharingPermission; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param targetAssetIndex Target asset position in the Assets list. +/// @param originalFolderName Original shared folder name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfFbInviteChangeRoleDetails` struct. +/// +@interface DBTEAMLOGSfFbInviteChangeRoleDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfFbInviteChangeRoleDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfFbInviteChangeRoleDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteChangeRoleDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbInviteChangeRoleDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSfFbInviteChangeRoleDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteChangeRoleDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfFbInviteChangeRoleDetails` +/// object. +/// ++ (DBTEAMLOGSfFbInviteChangeRoleDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleType.h new file mode 100644 index 000000000..d1f73b3c5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteChangeRoleType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfFbInviteChangeRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfFbInviteChangeRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfFbInviteChangeRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfFbInviteChangeRoleType` struct. +/// +@interface DBTEAMLOGSfFbInviteChangeRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfFbInviteChangeRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfFbInviteChangeRoleType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteChangeRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbInviteChangeRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfFbInviteChangeRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteChangeRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfFbInviteChangeRoleType` object. +/// ++ (DBTEAMLOGSfFbInviteChangeRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfNestDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteDetails.h similarity index 55% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfNestDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteDetails.h index 53ec5534f..02f2b0734 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfNestDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGSfNestDetails; +@class DBTEAMLOGSfFbInviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `SfNestDetails` struct. +/// The `SfFbInviteDetails` struct. /// -/// Changed parent of shared folder. +/// Invited Facebook users to shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGSfNestDetails : NSObject +@interface DBTEAMLOGSfFbInviteDetails : NSObject #pragma mark - Instance fields @@ -33,11 +33,8 @@ NS_ASSUME_NONNULL_BEGIN /// Original shared folder name. @property (nonatomic, readonly, copy) NSString *originalFolderName; -/// Previous parent namespace ID. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *prevParentNsId; - -/// New parent namespace ID. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *dNewParentNsId; +/// Sharing permission. +@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #pragma mark - Constructors @@ -46,17 +43,13 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. -/// @param prevParentNsId Previous parent namespace ID. Might be missing due to -/// historical data gap. -/// @param dNewParentNsId New parent namespace ID. Might be missing due to -/// historical data gap. +/// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// - (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName - prevParentNsId:(nullable NSString *)prevParentNsId - dNewParentNsId:(nullable NSString *)dNewParentNsId; + sharingPermission:(nullable NSString *)sharingPermission; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -76,29 +69,29 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `SfNestDetails` struct. +/// The serialization class for the `SfFbInviteDetails` struct. /// -@interface DBTEAMLOGSfNestDetailsSerializer : NSObject +@interface DBTEAMLOGSfFbInviteDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGSfNestDetails` instances. +/// Serializes `DBTEAMLOGSfFbInviteDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGSfNestDetails` API object. +/// @param instance An instance of the `DBTEAMLOGSfFbInviteDetails` API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSfNestDetails` API object. +/// `DBTEAMLOGSfFbInviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfNestDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbInviteDetails *)instance; /// -/// Deserializes `DBTEAMLOGSfNestDetails` instances. +/// Deserializes `DBTEAMLOGSfFbInviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSfNestDetails` API object. +/// `DBTEAMLOGSfFbInviteDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGSfNestDetails` object. +/// @return An instantiation of the `DBTEAMLOGSfFbInviteDetails` object. /// -+ (DBTEAMLOGSfNestDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfFbInviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteType.h new file mode 100644 index 000000000..afd8ac692 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbInviteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfFbInviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfFbInviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfFbInviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfFbInviteType` struct. +/// +@interface DBTEAMLOGSfFbInviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfFbInviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfFbInviteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbInviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfFbInviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbInviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfFbInviteType` object. +/// ++ (DBTEAMLOGSfFbInviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamDeclineDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteDetails.h similarity index 60% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamDeclineDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteDetails.h index 8c01c96d4..303949988 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamDeclineDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGSfTeamDeclineDetails; +@class DBTEAMLOGSfFbUninviteDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `SfTeamDeclineDetails` struct. +/// The `SfFbUninviteDetails` struct. /// -/// Declined a team member's invitation to a shared folder. +/// Uninvited Facebook user from shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGSfTeamDeclineDetails : NSObject +@interface DBTEAMLOGSfFbUninviteDetails : NSObject #pragma mark - Instance fields @@ -52,30 +52,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `SfTeamDeclineDetails` struct. +/// The serialization class for the `SfFbUninviteDetails` struct. /// -@interface DBTEAMLOGSfTeamDeclineDetailsSerializer : NSObject +@interface DBTEAMLOGSfFbUninviteDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGSfTeamDeclineDetails` instances. +/// Serializes `DBTEAMLOGSfFbUninviteDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGSfTeamDeclineDetails` API +/// @param instance An instance of the `DBTEAMLOGSfFbUninviteDetails` API /// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSfTeamDeclineDetails` API object. +/// `DBTEAMLOGSfFbUninviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamDeclineDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbUninviteDetails *)instance; /// -/// Deserializes `DBTEAMLOGSfTeamDeclineDetails` instances. +/// Deserializes `DBTEAMLOGSfFbUninviteDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSfTeamDeclineDetails` API object. +/// `DBTEAMLOGSfFbUninviteDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGSfTeamDeclineDetails` object. +/// @return An instantiation of the `DBTEAMLOGSfFbUninviteDetails` object. /// -+ (DBTEAMLOGSfTeamDeclineDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfFbUninviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteType.h new file mode 100644 index 000000000..cd719b472 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfFbUninviteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfFbUninviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfFbUninviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfFbUninviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfFbUninviteType` struct. +/// +@interface DBTEAMLOGSfFbUninviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfFbUninviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfFbUninviteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbUninviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfFbUninviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfFbUninviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfFbUninviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfFbUninviteType` object. +/// ++ (DBTEAMLOGSfFbUninviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupDetails.h index fdaafcda7..411d44ec0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfInviteGroupDetails` struct. /// -/// Invited a group to a shared folder. +/// Invited group to shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfInviteGroupDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupDetails *)instance; /// /// Deserializes `DBTEAMLOGSfInviteGroupDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfInviteGroupDetails` object. /// -+ (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfInviteGroupDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupType.h new file mode 100644 index 000000000..94db19a56 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfInviteGroupType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfInviteGroupType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfInviteGroupType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfInviteGroupType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfInviteGroupType` struct. +/// +@interface DBTEAMLOGSfInviteGroupTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfInviteGroupType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfInviteGroupType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfInviteGroupType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfInviteGroupType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfInviteGroupType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfInviteGroupType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfInviteGroupType` object. +/// ++ (DBTEAMLOGSfInviteGroupType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessDetails.h index cd7ae8afc..68e69ceae 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamGrantAccessDetails` struct. /// -/// Granted access to a shared folder. +/// Granted access to shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamGrantAccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamGrantAccessDetails` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfTeamGrantAccessDetails` object. /// -+ (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamGrantAccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessType.h new file mode 100644 index 000000000..4c6409798 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamGrantAccessType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamGrantAccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamGrantAccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamGrantAccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamGrantAccessType` struct. +/// +@interface DBTEAMLOGSfTeamGrantAccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamGrantAccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamGrantAccessType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamGrantAccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamGrantAccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamGrantAccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamGrantAccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamGrantAccessType` object. +/// ++ (DBTEAMLOGSfTeamGrantAccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleDetails.h index 7195bb809..425de14ff 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamInviteChangeRoleDetails` struct. /// -/// Changed a team member's role in a shared folder. +/// Changed team member's role in shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,10 +33,10 @@ NS_ASSUME_NONNULL_BEGIN /// Original shared folder name. @property (nonatomic, readonly, copy) NSString *originalFolderName; -/// New sharing permission. Might be missing due to historical data gap. +/// New sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *dNewSharingPermission; -/// Previous sharing permission. Might be missing due to historical data gap. +/// Previous sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *previousSharingPermission; #pragma mark - Constructors @@ -46,10 +46,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. -/// @param dNewSharingPermission New sharing permission. Might be missing due to -/// historical data gap. -/// @param previousSharingPermission Previous sharing permission. Might be -/// missing due to historical data gap. +/// @param dNewSharingPermission New sharing permission. +/// @param previousSharingPermission Previous sharing permission. /// /// @return An initialized instance. /// @@ -89,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteChangeRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamInviteChangeRoleDetails` instances. @@ -100,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSfTeamInviteChangeRoleDetails` /// object. /// -+ (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamInviteChangeRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleType.h new file mode 100644 index 000000000..b2955203c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteChangeRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamInviteChangeRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamInviteChangeRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamInviteChangeRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamInviteChangeRoleType` struct. +/// +@interface DBTEAMLOGSfTeamInviteChangeRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamInviteChangeRoleType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamInviteChangeRoleType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamInviteChangeRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteChangeRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamInviteChangeRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamInviteChangeRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamInviteChangeRoleType` +/// object. +/// ++ (DBTEAMLOGSfTeamInviteChangeRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteDetails.h index 26489a378..2de3649d5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamInviteDetails` struct. /// -/// Invited team members to a shared folder. +/// Invited team members to shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// Original shared folder name. @property (nonatomic, readonly, copy) NSString *originalFolderName; -/// Sharing permission. Might be missing due to historical data gap. +/// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #pragma mark - Constructors @@ -43,8 +43,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// @@ -83,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamInviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamInviteDetails` instances. @@ -93,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfTeamInviteDetails` object. /// -+ (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamInviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteType.h new file mode 100644 index 000000000..70d0f0975 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamInviteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamInviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamInviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamInviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamInviteType` struct. +/// +@interface DBTEAMLOGSfTeamInviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamInviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamInviteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamInviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamInviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamInviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamInviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamInviteType` object. +/// ++ (DBTEAMLOGSfTeamInviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinDetails.h index b074bdc1b..2d6a8e27e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamJoinDetails` struct. /// -/// Joined a team member's shared folder. +/// Joined team member's shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamJoinDetails` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfTeamJoinDetails` object. /// -+ (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamJoinDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkDetails.h index c5c0a5b19..799b33ac1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamJoinFromOobLinkDetails` struct. /// -/// Joined a team member's shared folder from a link. +/// Joined team member's shared folder from link. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN /// Shared link token key. @property (nonatomic, readonly, copy, nullable) NSString *tokenKey; -/// Sharing permission. Might be missing due to historical data gap. +/// Sharing permission. @property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; #pragma mark - Constructors @@ -47,8 +47,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param targetAssetIndex Target asset position in the Assets list. /// @param originalFolderName Original shared folder name. /// @param tokenKey Shared link token key. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharingPermission Sharing permission. /// /// @return An initialized instance. /// @@ -88,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamJoinFromOobLinkDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamJoinFromOobLinkDetails` instances. @@ -99,7 +98,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSfTeamJoinFromOobLinkDetails` /// object. /// -+ (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamJoinFromOobLinkDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkType.h new file mode 100644 index 000000000..6e0abf090 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinFromOobLinkType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamJoinFromOobLinkType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamJoinFromOobLinkType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamJoinFromOobLinkType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamJoinFromOobLinkType` struct. +/// +@interface DBTEAMLOGSfTeamJoinFromOobLinkTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamJoinFromOobLinkType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamJoinFromOobLinkType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamJoinFromOobLinkType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinFromOobLinkType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamJoinFromOobLinkType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamJoinFromOobLinkType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamJoinFromOobLinkType` object. +/// ++ (DBTEAMLOGSfTeamJoinFromOobLinkType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinType.h new file mode 100644 index 000000000..0f51b9b5f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamJoinType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamJoinType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamJoinType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamJoinType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamJoinType` struct. +/// +@interface DBTEAMLOGSfTeamJoinTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamJoinType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamJoinType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamJoinType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamJoinType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamJoinType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamJoinType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamJoinType` object. +/// ++ (DBTEAMLOGSfTeamJoinType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteDetails.h index c5cc72957..44e66c818 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SfTeamUninviteDetails` struct. /// -/// Unshared a folder with a team member. +/// Unshared folder with team member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSfTeamUninviteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteDetails *)instance; /// /// Deserializes `DBTEAMLOGSfTeamUninviteDetails` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSfTeamUninviteDetails` object. /// -+ (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSfTeamUninviteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteType.h new file mode 100644 index 000000000..929c98667 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSfTeamUninviteType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSfTeamUninviteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SfTeamUninviteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSfTeamUninviteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SfTeamUninviteType` struct. +/// +@interface DBTEAMLOGSfTeamUninviteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSfTeamUninviteType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSfTeamUninviteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamUninviteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSfTeamUninviteType *)instance; + +/// +/// Deserializes `DBTEAMLOGSfTeamUninviteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSfTeamUninviteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSfTeamUninviteType` object. +/// ++ (DBTEAMLOGSfTeamUninviteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesDetails.h index 527727ec6..dd48ad696 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentAddInviteesDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentAddInviteesDetails` struct. /// -/// Sent an email invitation to the membership of a shared file or folder. +/// Invited user to Dropbox and added them to shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,40 +28,24 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; +/// A list of invitees. +@property (nonatomic, readonly) NSArray *invitees; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharingPermission:(nullable NSString *)sharingPermission; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. +/// @param sharedContentAccessLevel Shared content access level. +/// @param invitees A list of invitees. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + invitees:(NSArray *)invitees; - (instancetype)init NS_UNAVAILABLE; @@ -82,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddInviteesDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddInviteesDetails` instances. @@ -93,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentAddInviteesDetails` /// object. /// -+ (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentAddInviteesDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesType.h new file mode 100644 index 000000000..b90e60eae --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddInviteesType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentAddInviteesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentAddInviteesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentAddInviteesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentAddInviteesType` struct. +/// +@interface DBTEAMLOGSharedContentAddInviteesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentAddInviteesType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentAddInviteesType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddInviteesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddInviteesType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentAddInviteesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddInviteesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentAddInviteesType` +/// object. +/// ++ (DBTEAMLOGSharedContentAddInviteesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryDetails.h index a5b55d6ad..65e3c5fcf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentAddLinkExpiryDetails` struct. /// -/// Added an expiry to the link for the shared file or folder. +/// Added expiration date to link for shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,57 +27,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - -/// Expiration starting date. -@property (nonatomic, readonly, copy) NSString *expirationStartDate; - -/// The number of days from the starting expiration date after which the link -/// will expire. -@property (nonatomic, readonly) NSNumber *expirationDays; +/// New shared content link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *dNewValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param expirationStartDate Expiration starting date. -/// @param expirationDays The number of days from the starting expiration date -/// after which the link will expire. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. +/// @param dNewValue New shared content link expiration date. Might be missing +/// due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; +- (instancetype)initWithDNewValue:(nullable NSDate *)dNewValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param expirationStartDate Expiration starting date. -/// @param expirationDays The number of days from the starting expiration date -/// after which the link will expire. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -99,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkExpiryDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddLinkExpiryDetails` instances. @@ -110,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentAddLinkExpiryDetails` /// object. /// -+ (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentAddLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryType.h new file mode 100644 index 000000000..ec54ed0f0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkExpiryType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentAddLinkExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentAddLinkExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentAddLinkExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentAddLinkExpiryType` struct. +/// +@interface DBTEAMLOGSharedContentAddLinkExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentAddLinkExpiryType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentAddLinkExpiryType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddLinkExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentAddLinkExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddLinkExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentAddLinkExpiryType` +/// object. +/// ++ (DBTEAMLOGSharedContentAddLinkExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordDetails.h index e50602813..89adca239 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentAddLinkPasswordDetails` struct. /// -/// Added a password to the link for the shared file or folder. +/// Added password to link for shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,40 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddLinkPasswordDetails` instances. @@ -94,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentAddLinkPasswordDetails` object. /// -+ (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentAddLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordType.h new file mode 100644 index 000000000..e561fde0b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddLinkPasswordType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentAddLinkPasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentAddLinkPasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentAddLinkPasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentAddLinkPasswordType` struct. +/// +@interface DBTEAMLOGSharedContentAddLinkPasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentAddLinkPasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentAddLinkPasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddLinkPasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddLinkPasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentAddLinkPasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddLinkPasswordType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentAddLinkPasswordType` +/// object. +/// ++ (DBTEAMLOGSharedContentAddLinkPasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberDetails.h index 2628487fb..86037bc5b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentAddMemberDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentAddMemberDetails` struct. /// -/// Added users and/or groups to the membership of a shared file or folder. +/// Added users and/or groups to shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,46 +28,19 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharingPermission:(nullable NSString *)sharingPermission - sharedFolderType:(nullable NSString *)sharedFolderType; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. +/// @param sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; - (instancetype)init NS_UNAVAILABLE; @@ -88,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentAddMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentAddMemberDetails` instances. @@ -99,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentAddMemberDetails` /// object. /// -+ (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentAddMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberType.h new file mode 100644 index 000000000..4163e50cc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentAddMemberType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentAddMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentAddMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentAddMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentAddMemberType` struct. +/// +@interface DBTEAMLOGSharedContentAddMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentAddMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentAddMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentAddMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentAddMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentAddMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentAddMemberType` +/// object. +/// ++ (DBTEAMLOGSharedContentAddMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h index adf42b7a6..d1221521e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h @@ -8,8 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBTEAMLOGDownloadPolicyType; @class DBTEAMLOGSharedContentChangeDownloadsPolicyDetails; -@class DBTEAMLOGSharedContentDownloadsPolicy; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeDownloadsPolicyDetails` struct. /// -/// Changed whether members can download the shared file or folder. +/// Changed whether members can download shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,53 +28,35 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// New downloads policy. +@property (nonatomic, readonly) DBTEAMLOGDownloadPolicyType *dNewValue; -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - -/// New downlaod policy. -@property (nonatomic, readonly) DBTEAMLOGSharedContentDownloadsPolicy *dNewValue; - -/// Previous downlaod policy. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGSharedContentDownloadsPolicy *previousValue; +/// Previous downloads policy. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGDownloadPolicyType *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param dNewValue New downlaod policy. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// @param previousValue Previous downlaod policy. Might be missing due to +/// @param dNewValue New downloads policy. +/// @param previousValue Previous downloads policy. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentDownloadsPolicy *)dNewValue - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGSharedContentDownloadsPolicy *)previousValue; +- (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue + previousValue:(nullable DBTEAMLOGDownloadPolicyType *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param dNewValue New downlaod policy. +/// @param dNewValue New downloads policy. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentDownloadsPolicy *)dNewValue; +- (instancetype)initWithDNewValue:(DBTEAMLOGDownloadPolicyType *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -97,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` instances. @@ -108,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeDownloadsPolicyDetails` object. /// -+ (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeDownloadsPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyType.h new file mode 100644 index 000000000..8611ef890 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeDownloadsPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeDownloadsPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeDownloadsPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeDownloadsPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeDownloadsPolicyType` +/// struct. +/// +@interface DBTEAMLOGSharedContentChangeDownloadsPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeDownloadsPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeDownloadsPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeDownloadsPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeDownloadsPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeDownloadsPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeDownloadsPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentChangeDownloadsPolicyType` object. +/// ++ (DBTEAMLOGSharedContentChangeDownloadsPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleDetails.h index f3c222e81..cb37493e8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentChangeInviteeRoleDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeInviteeRoleDetails` struct. /// -/// Changed the access type of an invitee to a shared file or folder before the -/// invitation was claimed. +/// Changed access type of invitee to shared file/folder before invite was +/// accepted. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,47 +29,41 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Previous access level. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *previousAccessLevel; -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; +/// New access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *dNewAccessLevel; -/// New sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *dNewSharingPermission; - -/// Previous sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *previousSharingPermission; +/// The invitee whose role was changed. +@property (nonatomic, readonly, copy) NSString *invitee; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewSharingPermission New sharing permission. Might be missing due to +/// @param dNewAccessLevel New access level. +/// @param invitee The invitee whose role was changed. +/// @param previousAccessLevel Previous access level. Might be missing due to /// historical data gap. -/// @param previousSharingPermission Previous sharing permission. Might be -/// missing due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewSharingPermission:(nullable NSString *)dNewSharingPermission - previousSharingPermission:(nullable NSString *)previousSharingPermission; +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel + invitee:(NSString *)invitee + previousAccessLevel:(nullable DBSHARINGAccessLevel *)previousAccessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. +/// @param dNewAccessLevel New access level. +/// @param invitee The invitee whose role was changed. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel invitee:(NSString *)invitee; - (instancetype)init NS_UNAVAILABLE; @@ -91,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeInviteeRoleDetails` instances. @@ -102,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeInviteeRoleDetails` object. /// -+ (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeInviteeRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleType.h new file mode 100644 index 000000000..b25110a8d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeInviteeRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeInviteeRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeInviteeRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeInviteeRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeInviteeRoleType` struct. +/// +@interface DBTEAMLOGSharedContentChangeInviteeRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeInviteeRoleType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeInviteeRoleType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeInviteeRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeInviteeRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeInviteeRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeInviteeRoleType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentChangeInviteeRoleType` object. +/// ++ (DBTEAMLOGSharedContentChangeInviteeRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceDetails.h index d5fa08cbe..32e595106 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceDetails.h @@ -8,7 +8,7 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGLinkAudience; +@class DBSHARINGLinkAudience; @class DBTEAMLOGSharedContentChangeLinkAudienceDetails; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeLinkAudienceDetails` struct. /// -/// Changed the audience of the link for a shared file or folder. +/// Changed link audience of shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,52 +28,34 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - /// New link audience value. -@property (nonatomic, readonly) DBTEAMLOGLinkAudience *dNewValue; +@property (nonatomic, readonly) DBSHARINGLinkAudience *dNewValue; -/// Previous link audience value. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGLinkAudience *previousValue; +/// Previous link audience value. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAudience *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// @param dNewValue New link audience value. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// @param previousValue Previous link audience value. Might be missing due to -/// historical data gap. +/// @param previousValue Previous link audience value. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGLinkAudience *)dNewValue - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGLinkAudience *)previousValue; +- (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue + previousValue:(nullable DBSHARINGLinkAudience *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// @param dNewValue New link audience value. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex dNewValue:(DBTEAMLOGLinkAudience *)dNewValue; +- (instancetype)initWithDNewValue:(DBSHARINGLinkAudience *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -96,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkAudienceDetails` instances. @@ -107,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkAudienceDetails` object. /// -+ (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeLinkAudienceDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceType.h new file mode 100644 index 000000000..2470e68e6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkAudienceType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeLinkAudienceType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeLinkAudienceType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeLinkAudienceType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeLinkAudienceType` +/// struct. +/// +@interface DBTEAMLOGSharedContentChangeLinkAudienceTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeLinkAudienceType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeLinkAudienceType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkAudienceType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkAudienceType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeLinkAudienceType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkAudienceType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentChangeLinkAudienceType` object. +/// ++ (DBTEAMLOGSharedContentChangeLinkAudienceType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryDetails.h index ca7e51dc6..37597c1eb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeLinkExpiryDetails` struct. /// -/// Changed the expiry of the link for the shared file or folder. +/// Changed link expiration of shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,57 +27,36 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// New shared content link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *dNewValue; -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - -/// Expiration starting date. -@property (nonatomic, readonly, copy) NSString *expirationStartDate; - -/// The number of days from the starting expiration date after which the link -/// will expire. -@property (nonatomic, readonly) NSNumber *expirationDays; +/// Previous shared content link expiration date. Might be missing due to +/// historical data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param expirationStartDate Expiration starting date. -/// @param expirationDays The number of days from the starting expiration date -/// after which the link will expire. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. +/// @param dNewValue New shared content link expiration date. Might be missing +/// due to historical data gap. +/// @param previousValue Previous shared content link expiration date. Might be +/// missing due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; +- (instancetype)initWithDNewValue:(nullable NSDate *)dNewValue previousValue:(nullable NSDate *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param expirationStartDate Expiration starting date. -/// @param expirationDays The number of days from the starting expiration date -/// after which the link will expire. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - expirationStartDate:(NSString *)expirationStartDate - expirationDays:(NSNumber *)expirationDays; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -100,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkExpiryDetails` instances. @@ -111,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkExpiryDetails` object. /// -+ (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryType.h new file mode 100644 index 000000000..b5c20927a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkExpiryType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeLinkExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeLinkExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeLinkExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeLinkExpiryType` struct. +/// +@interface DBTEAMLOGSharedContentChangeLinkExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeLinkExpiryType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeLinkExpiryType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeLinkExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentChangeLinkExpiryType` +/// object. +/// ++ (DBTEAMLOGSharedContentChangeLinkExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordDetails.h index 70fc95246..165df20ed 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeLinkPasswordDetails` struct. /// -/// Changed the password on the link for the shared file or folder. +/// Changed link password of shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,40 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeLinkPasswordDetails` instances. @@ -94,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeLinkPasswordDetails` object. /// -+ (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordType.h new file mode 100644 index 000000000..8a98ab07d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeLinkPasswordType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeLinkPasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeLinkPasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeLinkPasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeLinkPasswordType` +/// struct. +/// +@interface DBTEAMLOGSharedContentChangeLinkPasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeLinkPasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeLinkPasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkPasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeLinkPasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeLinkPasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeLinkPasswordType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentChangeLinkPasswordType` object. +/// ++ (DBTEAMLOGSharedContentChangeLinkPasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleDetails.h index ccaa820d4..b07510b7f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentChangeMemberRoleDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeMemberRoleDetails` struct. /// -/// Changed the access type of a shared file or folder member. +/// Changed access type of shared file/folder member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,52 +28,35 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Previous access level. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *previousAccessLevel; -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// New sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *dNewSharingPermission; - -/// Previous sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *previousSharingPermission; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; +/// New access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *dNewAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewSharingPermission New sharing permission. Might be missing due to -/// historical data gap. -/// @param previousSharingPermission Previous sharing permission. Might be -/// missing due to historical data gap. -/// @param sharedFolderType Shared folder type. Might be missing due to +/// @param dNewAccessLevel New access level. +/// @param previousAccessLevel Previous access level. Might be missing due to /// historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - dNewSharingPermission:(nullable NSString *)dNewSharingPermission - previousSharingPermission:(nullable NSString *)previousSharingPermission - sharedFolderType:(nullable NSString *)sharedFolderType; +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel + previousAccessLevel:(nullable DBSHARINGAccessLevel *)previousAccessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. +/// @param dNewAccessLevel New access level. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initWithDNewAccessLevel:(DBSHARINGAccessLevel *)dNewAccessLevel; - (instancetype)init NS_UNAVAILABLE; @@ -95,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeMemberRoleDetails` instances. @@ -106,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeMemberRoleDetails` object. /// -+ (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeMemberRoleDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleType.h new file mode 100644 index 000000000..7f612a0a9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeMemberRoleType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeMemberRoleType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeMemberRoleType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeMemberRoleType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeMemberRoleType` struct. +/// +@interface DBTEAMLOGSharedContentChangeMemberRoleTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeMemberRoleType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeMemberRoleType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeMemberRoleType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeMemberRoleType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeMemberRoleType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeMemberRoleType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentChangeMemberRoleType` +/// object. +/// ++ (DBTEAMLOGSharedContentChangeMemberRoleType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h index 5a42d8f62..0b36adf2f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h @@ -8,8 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGViewerInfoPolicy; @class DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails; -@class DBTEAMLOGSharedContentViewerInfoPolicy; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentChangeViewerInfoPolicyDetails` struct. /// -/// Changed whether members can see who viewed the shared file or folder. +/// Changed whether members can see who viewed shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,53 +28,34 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - /// New viewer info policy. -@property (nonatomic, readonly) DBTEAMLOGSharedContentViewerInfoPolicy *dNewValue; +@property (nonatomic, readonly) DBSHARINGViewerInfoPolicy *dNewValue; -/// Previous view info policy. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGSharedContentViewerInfoPolicy *previousValue; +/// Previous view info policy. +@property (nonatomic, readonly, nullable) DBSHARINGViewerInfoPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// @param dNewValue New viewer info policy. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// @param previousValue Previous view info policy. Might be missing due to -/// historical data gap. +/// @param previousValue Previous view info policy. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentViewerInfoPolicy *)dNewValue - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGSharedContentViewerInfoPolicy *)previousValue; +- (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue + previousValue:(nullable DBSHARINGViewerInfoPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// @param dNewValue New viewer info policy. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - dNewValue:(DBTEAMLOGSharedContentViewerInfoPolicy *)dNewValue; +- (instancetype)initWithDNewValue:(DBSHARINGViewerInfoPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -97,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` @@ -109,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails` object. /// -+ (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h new file mode 100644 index 000000000..e3161c8fd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentChangeViewerInfoPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentChangeViewerInfoPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentChangeViewerInfoPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentChangeViewerInfoPolicyType` +/// struct. +/// +@interface DBTEAMLOGSharedContentChangeViewerInfoPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentChangeViewerInfoPolicyType` object. +/// ++ (DBTEAMLOGSharedContentChangeViewerInfoPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationDetails.h index 6c694cb98..f6c881286 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentClaimInvitationDetails` struct. /// -/// Claimed membership to a team member's shared folder. +/// Acquired membership of shared file/folder by accepting invite. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,12 +27,6 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - /// Shared content link. @property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; @@ -41,25 +35,20 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. /// @param sharedContentLink Shared content link. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedContentLink:(nullable NSString *)sharedContentLink; +- (instancetype)initWithSharedContentLink:(nullable NSString *)sharedContentLink; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -82,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentClaimInvitationDetails` instances. @@ -93,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentClaimInvitationDetails` object. /// -+ (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentClaimInvitationDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationType.h new file mode 100644 index 000000000..0c4ef9e1e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentClaimInvitationType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentClaimInvitationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentClaimInvitationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentClaimInvitationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentClaimInvitationType` struct. +/// +@interface DBTEAMLOGSharedContentClaimInvitationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentClaimInvitationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentClaimInvitationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentClaimInvitationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentClaimInvitationType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentClaimInvitationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentClaimInvitationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentClaimInvitationType` +/// object. +/// ++ (DBTEAMLOGSharedContentClaimInvitationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyDetails.h index b5b36651b..c9c6cbfa5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyDetails.h @@ -8,8 +8,9 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGRelocateAssetReferencesLogInfo; +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentCopyDetails; +@class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentCopyDetails` struct. /// -/// Copied the shared file or folder to own Dropbox. +/// Copied shared file/folder to own Dropbox. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -31,14 +32,14 @@ NS_ASSUME_NONNULL_BEGIN /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; +/// The shared content owner. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; -/// Specifies the source and destination indices in the assets list. -@property (nonatomic, readonly) DBTEAMLOGRelocateAssetReferencesLogInfo *relocateActionDetails; +/// The path where the member saved the content. +@property (nonatomic, readonly, copy) NSString *destinationPath; #pragma mark - Constructors @@ -46,33 +47,30 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param relocateActionDetails Specifies the source and destination indices in -/// the assets list. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharedContentAccessLevel Shared content access level. +/// @param destinationPath The path where the member saved the content. +/// @param sharedContentOwner The shared content owner. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - relocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails - sharingPermission:(nullable NSString *)sharingPermission; + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + destinationPath:(NSString *)destinationPath + sharedContentOwner:(nullable DBTEAMLOGUserLogInfo *)sharedContentOwner; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param relocateActionDetails Specifies the source and destination indices in -/// the assets list. +/// @param sharedContentAccessLevel Shared content access level. +/// @param destinationPath The path where the member saved the content. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - relocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails; + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + destinationPath:(NSString *)destinationPath; - (instancetype)init NS_UNAVAILABLE; @@ -94,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentCopyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentCopyDetails` instances. @@ -104,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSharedContentCopyDetails` object. /// -+ (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentCopyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyType.h new file mode 100644 index 000000000..84183ecce --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentCopyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentCopyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentCopyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentCopyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentCopyType` struct. +/// +@interface DBTEAMLOGSharedContentCopyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentCopyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentCopyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentCopyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentCopyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentCopyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentCopyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentCopyType` object. +/// ++ (DBTEAMLOGSharedContentCopyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadDetails.h index 36fa38d07..4d56379d7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadDetails.h @@ -8,7 +8,9 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentDownloadDetails; +@class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentDownloadDetails` struct. /// -/// Downloaded the shared file or folder. +/// Downloaded shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,11 +32,11 @@ NS_ASSUME_NONNULL_BEGIN /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; +/// The shared content owner. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors @@ -42,26 +44,26 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentOwner The shared content owner. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - sharingPermission:(nullable NSString *)sharingPermission; + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentOwner:(nullable DBTEAMLOGUserLogInfo *)sharedContentOwner; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. +/// @param sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink targetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentDownloadDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentDownloadDetails` instances. @@ -94,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentDownloadDetails` /// object. /// -+ (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentDownloadDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadType.h new file mode 100644 index 000000000..3e39ed7f1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentDownloadType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentDownloadType` struct. +/// +@interface DBTEAMLOGSharedContentDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentDownloadType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentDownloadType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentDownloadType` object. +/// ++ (DBTEAMLOGSharedContentDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipDetails.h index 0cd35781f..551b6c62f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentRelinquishMembershipDetails` struct. /// -/// Left the membership of a shared file or folder. +/// Left shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,23 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -66,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRelinquishMembershipDetails` instances. @@ -77,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentRelinquishMembershipDetails` object. /// -+ (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentRelinquishMembershipDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipType.h new file mode 100644 index 000000000..ce25adaff --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRelinquishMembershipType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRelinquishMembershipType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRelinquishMembershipType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRelinquishMembershipType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRelinquishMembershipType` +/// struct. +/// +@interface DBTEAMLOGSharedContentRelinquishMembershipTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRelinquishMembershipType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRelinquishMembershipType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRelinquishMembershipType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRelinquishMembershipType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRelinquishMembershipType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRelinquishMembershipType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentRelinquishMembershipType` object. +/// ++ (DBTEAMLOGSharedContentRelinquishMembershipType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteeDetails.h deleted file mode 100644 index df3062b88..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteeDetails.h +++ /dev/null @@ -1,84 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedContentRemoveInviteeDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedContentRemoveInviteeDetails` struct. -/// -/// Removed an invitee from the membership of a shared file or folder before it -/// was claimed. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedContentRemoveInviteeDetails : NSObject - -#pragma mark - Instance fields - -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `SharedContentRemoveInviteeDetails` struct. -/// -@interface DBTEAMLOGSharedContentRemoveInviteeDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedContentRemoveInviteeDetails` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGSharedContentRemoveInviteeDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentRemoveInviteeDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteeDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedContentRemoveInviteeDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentRemoveInviteeDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGSharedContentRemoveInviteeDetails` -/// object. -/// -+ (DBTEAMLOGSharedContentRemoveInviteeDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesDetails.h new file mode 100644 index 000000000..6af5fcfe0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRemoveInviteesDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRemoveInviteesDetails` struct. +/// +/// Removed invitee from shared file/folder before invite was accepted. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRemoveInviteesDetails : NSObject + +#pragma mark - Instance fields + +/// A list of invitees. +@property (nonatomic, readonly) NSArray *invitees; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param invitees A list of invitees. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvitees:(NSArray *)invitees; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRemoveInviteesDetails` struct. +/// +@interface DBTEAMLOGSharedContentRemoveInviteesDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRemoveInviteesDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRemoveInviteesDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveInviteesDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteesDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRemoveInviteesDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveInviteesDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentRemoveInviteesDetails` object. +/// ++ (DBTEAMLOGSharedContentRemoveInviteesDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesType.h new file mode 100644 index 000000000..05346870d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveInviteesType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRemoveInviteesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRemoveInviteesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRemoveInviteesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRemoveInviteesType` struct. +/// +@interface DBTEAMLOGSharedContentRemoveInviteesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRemoveInviteesType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRemoveInviteesType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveInviteesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveInviteesType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRemoveInviteesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveInviteesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRemoveInviteesType` +/// object. +/// ++ (DBTEAMLOGSharedContentRemoveInviteesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h index 9dd5b8918..f57bfb211 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentRemoveLinkExpiryDetails` struct. /// -/// Removed the expiry of the link for the shared file or folder. +/// Removed link expiration date of shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,40 +27,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; +/// Previous shared content link expiration date. Might be missing due to +/// historical data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. +/// @param previousValue Previous shared content link expiration date. Might be +/// missing due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; +- (instancetype)initWithPreviousValue:(nullable NSDate *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +73,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` instances. @@ -94,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentRemoveLinkExpiryDetails` object. /// -+ (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentRemoveLinkExpiryDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryType.h new file mode 100644 index 000000000..be9ee755a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkExpiryType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRemoveLinkExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRemoveLinkExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRemoveLinkExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRemoveLinkExpiryType` struct. +/// +@interface DBTEAMLOGSharedContentRemoveLinkExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRemoveLinkExpiryType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRemoveLinkExpiryType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveLinkExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRemoveLinkExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveLinkExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRemoveLinkExpiryType` +/// object. +/// ++ (DBTEAMLOGSharedContentRemoveLinkExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h index de1ddd4b6..902d95b44 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentRemoveLinkPasswordDetails` struct. /// -/// Removed the password on the link for the shared file or folder. +/// Removed link password of shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,40 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedFolderType:(nullable NSString *)sharedFolderType; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` instances. @@ -94,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedContentRemoveLinkPasswordDetails` object. /// -+ (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentRemoveLinkPasswordDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordType.h new file mode 100644 index 000000000..f2da580fb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveLinkPasswordType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRemoveLinkPasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRemoveLinkPasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRemoveLinkPasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRemoveLinkPasswordType` +/// struct. +/// +@interface DBTEAMLOGSharedContentRemoveLinkPasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRemoveLinkPasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRemoveLinkPasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveLinkPasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveLinkPasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRemoveLinkPasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveLinkPasswordType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentRemoveLinkPasswordType` object. +/// ++ (DBTEAMLOGSharedContentRemoveLinkPasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberDetails.h index 2df18c56b..dabdd73c9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberDetails.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentRemoveMemberDetails; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentRemoveMemberDetails` struct. /// -/// Removed a user or a group from the membership of a shared file or folder. +/// Removed user/group from shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,46 +28,28 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; +/// Shared content access level. +@property (nonatomic, readonly, nullable) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. +/// @param sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharingPermission:(nullable NSString *)sharingPermission - sharedFolderType:(nullable NSString *)sharedFolderType; +- (instancetype)initWithSharedContentAccessLevel:(nullable DBSHARINGAccessLevel *)sharedContentAccessLevel; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -88,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRemoveMemberDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRemoveMemberDetails` instances. @@ -99,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentRemoveMemberDetails` /// object. /// -+ (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentRemoveMemberDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberType.h new file mode 100644 index 000000000..1a15f093b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRemoveMemberType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRemoveMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRemoveMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRemoveMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRemoveMemberType` struct. +/// +@interface DBTEAMLOGSharedContentRemoveMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRemoveMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentRemoveMemberType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRemoveMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRemoveMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRemoveMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRemoveMemberType` +/// object. +/// ++ (DBTEAMLOGSharedContentRemoveMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessDetails.h index d58395cbd..f082e283c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentRequestAccessDetails` struct. /// -/// Requested to be on the membership of a shared file or folder. +/// Requested access to shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,12 +27,6 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - /// Shared content link. @property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; @@ -41,25 +35,20 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. /// @param sharedContentLink Shared content link. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName - sharedContentLink:(nullable NSString *)sharedContentLink; +- (instancetype)initWithSharedContentLink:(nullable NSString *)sharedContentLink; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -81,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentRequestAccessDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentRequestAccessDetails` instances. @@ -92,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentRequestAccessDetails` /// object. /// -+ (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentRequestAccessDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessType.h new file mode 100644 index 000000000..c18c1290e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRequestAccessType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRequestAccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRequestAccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRequestAccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRequestAccessType` struct. +/// +@interface DBTEAMLOGSharedContentRequestAccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRequestAccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentRequestAccessType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRequestAccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRequestAccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRequestAccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRequestAccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRequestAccessType` +/// object. +/// ++ (DBTEAMLOGSharedContentRequestAccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesDetails.h new file mode 100644 index 000000000..1be6cb4fe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedContentRestoreInviteesDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRestoreInviteesDetails` struct. +/// +/// Restored shared file/folder invitees. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRestoreInviteesDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// A list of invitees. +@property (nonatomic, readonly) NSArray *invitees; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param invitees A list of invitees. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + invitees:(NSArray *)invitees; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRestoreInviteesDetails` +/// struct. +/// +@interface DBTEAMLOGSharedContentRestoreInviteesDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRestoreInviteesDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRestoreInviteesDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreInviteesDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreInviteesDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRestoreInviteesDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreInviteesDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedContentRestoreInviteesDetails` object. +/// ++ (DBTEAMLOGSharedContentRestoreInviteesDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesType.h new file mode 100644 index 000000000..bdcb75fa6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreInviteesType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRestoreInviteesType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRestoreInviteesType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRestoreInviteesType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRestoreInviteesType` struct. +/// +@interface DBTEAMLOGSharedContentRestoreInviteesTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRestoreInviteesType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRestoreInviteesType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreInviteesType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreInviteesType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRestoreInviteesType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreInviteesType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRestoreInviteesType` +/// object. +/// ++ (DBTEAMLOGSharedContentRestoreInviteesType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberDetails.h new file mode 100644 index 000000000..d50dd4179 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedContentRestoreMemberDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRestoreMemberDetails` struct. +/// +/// Restored users and/or groups to membership of shared file/folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRestoreMemberDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRestoreMemberDetails` struct. +/// +@interface DBTEAMLOGSharedContentRestoreMemberDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRestoreMemberDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedContentRestoreMemberDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreMemberDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreMemberDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRestoreMemberDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreMemberDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRestoreMemberDetails` +/// object. +/// ++ (DBTEAMLOGSharedContentRestoreMemberDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberType.h new file mode 100644 index 000000000..142a253f8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentRestoreMemberType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentRestoreMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentRestoreMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentRestoreMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentRestoreMemberType` struct. +/// +@interface DBTEAMLOGSharedContentRestoreMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentRestoreMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentRestoreMemberType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentRestoreMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentRestoreMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentRestoreMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentRestoreMemberType` +/// object. +/// ++ (DBTEAMLOGSharedContentRestoreMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareDetails.h index 4f99b86dd..2a94c5370 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareDetails.h @@ -17,8 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentUnshareDetails` struct. /// -/// Unshared a shared file or folder by clearing its membership and turning off -/// its link. +/// Unshared file/folder by clearing membership. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,34 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy, nullable) NSString *originalFolderName; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(nullable NSString *)originalFolderName; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -77,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentUnshareDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentUnshareDetails` instances. @@ -88,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedContentUnshareDetails` /// object. /// -+ (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentUnshareDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareType.h new file mode 100644 index 000000000..d06c079b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentUnshareType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentUnshareType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentUnshareType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentUnshareType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentUnshareType` struct. +/// +@interface DBTEAMLOGSharedContentUnshareTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentUnshareType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentUnshareType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentUnshareType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentUnshareType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentUnshareType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentUnshareType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentUnshareType` object. +/// ++ (DBTEAMLOGSharedContentUnshareType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewDetails.h index c0a449bca..ed39b951a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewDetails.h @@ -8,7 +8,9 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGAccessLevel; @class DBTEAMLOGSharedContentViewDetails; +@class DBTEAMLOGUserLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedContentViewDetails` struct. /// -/// Previewed the shared file or folder. +/// Previewed shared file/folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -30,11 +32,11 @@ NS_ASSUME_NONNULL_BEGIN /// Shared content link. @property (nonatomic, readonly, copy) NSString *sharedContentLink; -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; +/// The shared content owner. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedContentOwner; -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; #pragma mark - Constructors @@ -42,26 +44,26 @@ NS_ASSUME_NONNULL_BEGIN /// Full constructor for the struct (exposes all instance variables). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentOwner The shared content owner. /// /// @return An initialized instance. /// - (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink - targetAssetIndex:(NSNumber *)targetAssetIndex - sharingPermission:(nullable NSString *)sharingPermission; + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentOwner:(nullable DBTEAMLOGUserLogInfo *)sharedContentOwner; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// /// @param sharedContentLink Shared content link. -/// @param targetAssetIndex Target asset position in the Assets list. +/// @param sharedContentAccessLevel Shared content access level. /// /// @return An initialized instance. /// -- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink targetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initWithSharedContentLink:(NSString *)sharedContentLink + sharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; - (instancetype)init NS_UNAVAILABLE; @@ -83,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedContentViewDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentViewDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentViewDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedContentViewDetails` instances. @@ -93,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSharedContentViewDetails` object. /// -+ (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedContentViewDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewType.h new file mode 100644 index 000000000..c40cfbfc4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedContentViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedContentViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedContentViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedContentViewType` struct. +/// +@interface DBTEAMLOGSharedContentViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedContentViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedContentViewType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedContentViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedContentViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedContentViewType` object. +/// ++ (DBTEAMLOGSharedContentViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeConfidentialityDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeConfidentialityDetails.h deleted file mode 100644 index 02475a6dd..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeConfidentialityDetails.h +++ /dev/null @@ -1,111 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGConfidentiality; -@class DBTEAMLOGSharedFolderChangeConfidentialityDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderChangeConfidentialityDetails` struct. -/// -/// Set or unset the confidential flag on a shared folder. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderChangeConfidentialityDetails : NSObject - -#pragma mark - Instance fields - -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - -/// New confidentiality value. -@property (nonatomic, readonly) DBTEAMLOGConfidentiality *dNewValue; - -/// Previous confidentiality value. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGConfidentiality *previousValue; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New confidentiality value. -/// @param previousValue Previous confidentiality value. Might be missing due to -/// historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGConfidentiality *)dNewValue - previousValue:(nullable DBTEAMLOGConfidentiality *)previousValue; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New confidentiality value. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGConfidentiality *)dNewValue; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `SharedFolderChangeConfidentialityDetails` -/// struct. -/// -@interface DBTEAMLOGSharedFolderChangeConfidentialityDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderChangeConfidentialityDetails` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGSharedFolderChangeConfidentialityDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeConfidentialityDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeConfidentialityDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderChangeConfidentialityDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeConfidentialityDetails` API object. -/// -/// @return An instantiation of the -/// `DBTEAMLOGSharedFolderChangeConfidentialityDetails` object. -/// -+ (DBTEAMLOGSharedFolderChangeConfidentialityDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h index 27cfb7cf2..1f3987606 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h @@ -8,8 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBSHARINGSharedLinkPolicy; @class DBTEAMLOGSharedFolderChangeLinkPolicyDetails; -@class DBTEAMLOGSharedFolderLinkPolicy; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedFolderChangeLinkPolicyDetails` struct. /// -/// Changed who can access the shared folder via a link. +/// Changed who can access shared folder via link. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,56 +28,36 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - /// New shared folder link policy. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderLinkPolicy *dNewValue; +@property (nonatomic, readonly) DBSHARINGSharedLinkPolicy *dNewValue; /// Previous shared folder link policy. Might be missing due to historical data /// gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGSharedFolderLinkPolicy *previousValue; +@property (nonatomic, readonly, nullable) DBSHARINGSharedLinkPolicy *previousValue; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. /// @param dNewValue New shared folder link policy. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. /// @param previousValue Previous shared folder link policy. Might be missing /// due to historical data gap. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderLinkPolicy *)dNewValue - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGSharedFolderLinkPolicy *)previousValue; +- (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue + previousValue:(nullable DBSHARINGSharedLinkPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. /// @param dNewValue New shared folder link policy. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderLinkPolicy *)dNewValue; +- (instancetype)initWithDNewValue:(DBSHARINGSharedLinkPolicy *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -100,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` instances. @@ -111,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedFolderChangeLinkPolicyDetails` object. /// -+ (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedFolderChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyType.h new file mode 100644 index 000000000..c127d71d8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeLinkPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderChangeLinkPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeLinkPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeLinkPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderChangeLinkPolicyType` struct. +/// +@interface DBTEAMLOGSharedFolderChangeLinkPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeLinkPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeLinkPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeLinkPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeLinkPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeLinkPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeLinkPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderChangeLinkPolicyType` +/// object. +/// ++ (DBTEAMLOGSharedFolderChangeLinkPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h deleted file mode 100644 index 1e053cf23..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h +++ /dev/null @@ -1,120 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails; -@class DBTEAMLOGSharedFolderMembershipManagementPolicy; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderChangeMemberManagementPolicyDetails` struct. -/// -/// Changed who can manage the membership of a shared folder. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails : NSObject - -#pragma mark - Instance fields - -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - -/// New membership management policy. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderMembershipManagementPolicy *dNewValue; - -/// Previous membership management policy. Might be missing due to historical -/// data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGSharedFolderMembershipManagementPolicy *previousValue; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New membership management policy. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// @param previousValue Previous membership management policy. Might be missing -/// due to historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)dNewValue - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGSharedFolderMembershipManagementPolicy *)previousValue; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New membership management policy. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)dNewValue; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the -/// `SharedFolderChangeMemberManagementPolicyDetails` struct. -/// -@interface DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` -/// instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` -/// instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` API object. -/// -/// @return An instantiation of the -/// `DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails` object. -/// -+ (DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h deleted file mode 100644 index cb7149014..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h +++ /dev/null @@ -1,118 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedFolderChangeMemberPolicyDetails; -@class DBTEAMLOGSharedFolderMemberPolicy; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderChangeMemberPolicyDetails` struct. -/// -/// Changed who can become a member of the shared folder. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderChangeMemberPolicyDetails : NSObject - -#pragma mark - Instance fields - -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - -/// Shared folder type. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharedFolderType; - -/// New external invite policy. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderMemberPolicy *dNewValue; - -/// Previous external invite policy. Might be missing due to historical data -/// gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGSharedFolderMemberPolicy *previousValue; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New external invite policy. -/// @param sharedFolderType Shared folder type. Might be missing due to -/// historical data gap. -/// @param previousValue Previous external invite policy. Might be missing due -/// to historical data gap. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMemberPolicy *)dNewValue - sharedFolderType:(nullable NSString *)sharedFolderType - previousValue:(nullable DBTEAMLOGSharedFolderMemberPolicy *)previousValue; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// @param dNewValue New external invite policy. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex - originalFolderName:(NSString *)originalFolderName - dNewValue:(DBTEAMLOGSharedFolderMemberPolicy *)dNewValue; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `SharedFolderChangeMemberPolicyDetails` -/// struct. -/// -@interface DBTEAMLOGSharedFolderChangeMemberPolicyDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` API object. -/// -/// @return An instantiation of the -/// `DBTEAMLOGSharedFolderChangeMemberPolicyDetails` object. -/// -+ (DBTEAMLOGSharedFolderChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h new file mode 100644 index 000000000..a3c83e6ad --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h @@ -0,0 +1,101 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails; +@class DBTEAMLOGSharedFolderMembersInheritancePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersInheritancePolicyDetails` struct. +/// +/// Changed whether shared folder inherits members from parent folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New member inheritance policy. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderMembersInheritancePolicy *dNewValue; + +/// Previous member inheritance policy. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGSharedFolderMembersInheritancePolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New member inheritance policy. +/// @param previousValue Previous member inheritance policy. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)dNewValue + previousValue:(nullable DBTEAMLOGSharedFolderMembersInheritancePolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue New member inheritance policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedFolderChangeMembersInheritancePolicyDetails` struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h new file mode 100644 index 000000000..7878f084c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersInheritancePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedFolderChangeMembersInheritancePolicyType` struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersInheritancePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h new file mode 100644 index 000000000..95d8f9f29 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h @@ -0,0 +1,101 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAclUpdatePolicy; +@class DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersManagementPolicyDetails` struct. +/// +/// Changed who can add/remove members of shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New members management policy. +@property (nonatomic, readonly) DBSHARINGAclUpdatePolicy *dNewValue; + +/// Previous members management policy. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) DBSHARINGAclUpdatePolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New members management policy. +/// @param previousValue Previous members management policy. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBSHARINGAclUpdatePolicy *)dNewValue + previousValue:(nullable DBSHARINGAclUpdatePolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue New members management policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBSHARINGAclUpdatePolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedFolderChangeMembersManagementPolicyDetails` struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h new file mode 100644 index 000000000..9f0997f56 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderChangeMembersManagementPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersManagementPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersManagementPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedFolderChangeMembersManagementPolicyType` struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersManagementPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersManagementPolicyType` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersManagementPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h new file mode 100644 index 000000000..029725eb7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGMemberPolicy; +@class DBTEAMLOGSharedFolderChangeMembersPolicyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersPolicyDetails` struct. +/// +/// Changed who can become member of shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New external invite policy. +@property (nonatomic, readonly) DBSHARINGMemberPolicy *dNewValue; + +/// Previous external invite policy. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) DBSHARINGMemberPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New external invite policy. +/// @param previousValue Previous external invite policy. Might be missing due +/// to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBSHARINGMemberPolicy *)dNewValue + previousValue:(nullable DBSHARINGMemberPolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue New external invite policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBSHARINGMemberPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderChangeMembersPolicyDetails` +/// struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyDetails` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyType.h new file mode 100644 index 000000000..e9172eb3a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderChangeMembersPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderChangeMembersPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderChangeMembersPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderChangeMembersPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderChangeMembersPolicyType` +/// struct. +/// +@interface DBTEAMLOGSharedFolderChangeMembersPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderChangeMembersPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderChangeMembersPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderChangeMembersPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderChangeMembersPolicyType` object. +/// ++ (DBTEAMLOGSharedFolderChangeMembersPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateDetails.h index 8d7c412e3..75e6577e4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedFolderCreateDetails` struct. /// -/// Created a shared folder. +/// Created shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,34 +27,28 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Parent namespace ID. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *parentNsId; +/// Target namespace ID. +@property (nonatomic, readonly, copy, nullable) NSString *targetNsId; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param parentNsId Parent namespace ID. Might be missing due to historical -/// data gap. +/// @param targetNsId Target namespace ID. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex parentNsId:(nullable NSString *)parentNsId; +- (instancetype)initWithTargetNsId:(nullable NSString *)targetNsId; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param targetAssetIndex Target asset position in the Assets list. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -76,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderCreateDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderCreateDetails` instances. @@ -86,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSharedFolderCreateDetails` object. /// -+ (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedFolderCreateDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateType.h new file mode 100644 index 000000000..7e4074efd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderCreateType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderCreateType` struct. +/// +@interface DBTEAMLOGSharedFolderCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedFolderCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderCreateType` object. +/// ++ (DBTEAMLOGSharedFolderCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationDetails.h new file mode 100644 index 000000000..de3cb1c74 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderDeclineInvitationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderDeclineInvitationDetails` struct. +/// +/// Declined team member's invite to shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderDeclineInvitationDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderDeclineInvitationDetails` +/// struct. +/// +@interface DBTEAMLOGSharedFolderDeclineInvitationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderDeclineInvitationDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderDeclineInvitationDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderDeclineInvitationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderDeclineInvitationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderDeclineInvitationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderDeclineInvitationDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderDeclineInvitationDetails` object. +/// ++ (DBTEAMLOGSharedFolderDeclineInvitationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationType.h new file mode 100644 index 000000000..b63c7b49c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderDeclineInvitationType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderDeclineInvitationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderDeclineInvitationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderDeclineInvitationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderDeclineInvitationType` struct. +/// +@interface DBTEAMLOGSharedFolderDeclineInvitationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderDeclineInvitationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderDeclineInvitationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderDeclineInvitationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderDeclineInvitationType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderDeclineInvitationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderDeclineInvitationType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderDeclineInvitationType` +/// object. +/// ++ (DBTEAMLOGSharedFolderDeclineInvitationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderLinkPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderLinkPolicy.h deleted file mode 100644 index c613ce791..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderLinkPolicy.h +++ /dev/null @@ -1,150 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedFolderLinkPolicy; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderLinkPolicy` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderLinkPolicy : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGSharedFolderLinkPolicyTag` enum type represents the possible -/// tag states with which the `DBTEAMLOGSharedFolderLinkPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharedFolderLinkPolicyTag) { - /// (no description). - DBTEAMLOGSharedFolderLinkPolicyMembersOnly, - - /// (no description). - DBTEAMLOGSharedFolderLinkPolicyMembersAndTeam, - - /// (no description). - DBTEAMLOGSharedFolderLinkPolicyAnyone, - - /// (no description). - DBTEAMLOGSharedFolderLinkPolicyOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderLinkPolicyTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "members_only". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithMembersOnly; - -/// -/// Initializes union class with tag state of "members_and_team". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithMembersAndTeam; - -/// -/// Initializes union class with tag state of "anyone". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithAnyone; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "members_only". -/// -/// @return Whether the union's current tag state has value "members_only". -/// -- (BOOL)isMembersOnly; - -/// -/// Retrieves whether the union's current tag state has value -/// "members_and_team". -/// -/// @return Whether the union's current tag state has value "members_and_team". -/// -- (BOOL)isMembersAndTeam; - -/// -/// Retrieves whether the union's current tag state has value "anyone". -/// -/// @return Whether the union's current tag state has value "anyone". -/// -- (BOOL)isAnyone; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBTEAMLOGSharedFolderLinkPolicy` union. -/// -@interface DBTEAMLOGSharedFolderLinkPolicySerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderLinkPolicy` instances. -/// -/// @param instance An instance of the `DBTEAMLOGSharedFolderLinkPolicy` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderLinkPolicy` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderLinkPolicy *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderLinkPolicy` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderLinkPolicy` API object. -/// -/// @return An instantiation of the `DBTEAMLOGSharedFolderLinkPolicy` object. -/// -+ (DBTEAMLOGSharedFolderLinkPolicy *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMemberPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMemberPolicy.h deleted file mode 100644 index cb15fb9c1..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMemberPolicy.h +++ /dev/null @@ -1,135 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedFolderMemberPolicy; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderMemberPolicy` union. -/// -/// Policy for controlling who can become a member of a shared folder -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderMemberPolicy : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGSharedFolderMemberPolicyTag` enum type represents the possible -/// tag states with which the `DBTEAMLOGSharedFolderMemberPolicy` union can -/// exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharedFolderMemberPolicyTag) { - /// (no description). - DBTEAMLOGSharedFolderMemberPolicyTeamOnly, - - /// (no description). - DBTEAMLOGSharedFolderMemberPolicyAnyone, - - /// (no description). - DBTEAMLOGSharedFolderMemberPolicyOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderMemberPolicyTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "team_only". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithTeamOnly; - -/// -/// Initializes union class with tag state of "anyone". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithAnyone; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "team_only". -/// -/// @return Whether the union's current tag state has value "team_only". -/// -- (BOOL)isTeamOnly; - -/// -/// Retrieves whether the union's current tag state has value "anyone". -/// -/// @return Whether the union's current tag state has value "anyone". -/// -- (BOOL)isAnyone; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBTEAMLOGSharedFolderMemberPolicy` union. -/// -@interface DBTEAMLOGSharedFolderMemberPolicySerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderMemberPolicy` instances. -/// -/// @param instance An instance of the `DBTEAMLOGSharedFolderMemberPolicy` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderMemberPolicy` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMemberPolicy *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderMemberPolicy` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderMemberPolicy` API object. -/// -/// @return An instantiation of the `DBTEAMLOGSharedFolderMemberPolicy` object. -/// -+ (DBTEAMLOGSharedFolderMemberPolicy *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembersInheritancePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembersInheritancePolicy.h new file mode 100644 index 000000000..6ee13e62c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembersInheritancePolicy.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderMembersInheritancePolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderMembersInheritancePolicy` union. +/// +/// Specifies if a shared folder inherits its members from the parent folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderMembersInheritancePolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSharedFolderMembersInheritancePolicyTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharedFolderMembersInheritancePolicyTag){ + /// (no description). + DBTEAMLOGSharedFolderMembersInheritancePolicyDontInheritMembers, + + /// (no description). + DBTEAMLOGSharedFolderMembersInheritancePolicyInheritMembers, + + /// (no description). + DBTEAMLOGSharedFolderMembersInheritancePolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSharedFolderMembersInheritancePolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "dont_inherit_members". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDontInheritMembers; + +/// +/// Initializes union class with tag state of "inherit_members". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInheritMembers; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "dont_inherit_members". +/// +/// @return Whether the union's current tag state has value +/// "dont_inherit_members". +/// +- (BOOL)isDontInheritMembers; + +/// +/// Retrieves whether the union's current tag state has value "inherit_members". +/// +/// @return Whether the union's current tag state has value "inherit_members". +/// +- (BOOL)isInheritMembers; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` union. +/// +@interface DBTEAMLOGSharedFolderMembersInheritancePolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderMembersInheritancePolicy` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMembersInheritancePolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderMembersInheritancePolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedFolderMembersInheritancePolicy` object. +/// ++ (DBTEAMLOGSharedFolderMembersInheritancePolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembershipManagementPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembershipManagementPolicy.h deleted file mode 100644 index ce9f9018f..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMembershipManagementPolicy.h +++ /dev/null @@ -1,135 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGSharedFolderMembershipManagementPolicy; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `SharedFolderMembershipManagementPolicy` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGSharedFolderMembershipManagementPolicy : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGSharedFolderMembershipManagementPolicyTag` enum type -/// represents the possible tag states with which the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharedFolderMembershipManagementPolicyTag) { - /// (no description). - DBTEAMLOGSharedFolderMembershipManagementPolicyOwner, - - /// (no description). - DBTEAMLOGSharedFolderMembershipManagementPolicyEditors, - - /// (no description). - DBTEAMLOGSharedFolderMembershipManagementPolicyOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGSharedFolderMembershipManagementPolicyTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "owner". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOwner; - -/// -/// Initializes union class with tag state of "editors". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithEditors; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "owner". -/// -/// @return Whether the union's current tag state has value "owner". -/// -- (BOOL)isOwner; - -/// -/// Retrieves whether the union's current tag state has value "editors". -/// -/// @return Whether the union's current tag state has value "editors". -/// -- (BOOL)isEditors; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` union. -/// -@interface DBTEAMLOGSharedFolderMembershipManagementPolicySerializer : NSObject - -/// -/// Serializes `DBTEAMLOGSharedFolderMembershipManagementPolicy` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMembershipManagementPolicy *)instance; - -/// -/// Deserializes `DBTEAMLOGSharedFolderMembershipManagementPolicy` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` API object. -/// -/// @return An instantiation of the -/// `DBTEAMLOGSharedFolderMembershipManagementPolicy` object. -/// -+ (DBTEAMLOGSharedFolderMembershipManagementPolicy *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountDetails.h index 71c5eb120..c84871a51 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedFolderMountDetails` struct. /// -/// Added a shared folder to own Dropbox. +/// Added shared folder to own Dropbox. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,23 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -65,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderMountDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderMountDetails` instances. @@ -75,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSharedFolderMountDetails` object. /// -+ (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedFolderMountDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountType.h new file mode 100644 index 000000000..c75ec88e4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderMountType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderMountType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderMountType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderMountType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderMountType` struct. +/// +@interface DBTEAMLOGSharedFolderMountTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderMountType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedFolderMountType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderMountType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderMountType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderMountType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderMountType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderMountType` object. +/// ++ (DBTEAMLOGSharedFolderMountType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestDetails.h new file mode 100644 index 000000000..391fd03e3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestDetails.h @@ -0,0 +1,102 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderNestDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderNestDetails` struct. +/// +/// Changed parent of shared folder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderNestDetails : NSObject + +#pragma mark - Instance fields + +/// Previous parent namespace ID. +@property (nonatomic, readonly, copy, nullable) NSString *previousParentNsId; + +/// New parent namespace ID. +@property (nonatomic, readonly, copy, nullable) NSString *dNewParentNsId; + +/// Previous namespace path. +@property (nonatomic, readonly, copy, nullable) NSString *previousNsPath; + +/// New namespace path. +@property (nonatomic, readonly, copy, nullable) NSString *dNewNsPath; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousParentNsId Previous parent namespace ID. +/// @param dNewParentNsId New parent namespace ID. +/// @param previousNsPath Previous namespace path. +/// @param dNewNsPath New namespace path. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousParentNsId:(nullable NSString *)previousParentNsId + dNewParentNsId:(nullable NSString *)dNewParentNsId + previousNsPath:(nullable NSString *)previousNsPath + dNewNsPath:(nullable NSString *)dNewNsPath; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderNestDetails` struct. +/// +@interface DBTEAMLOGSharedFolderNestDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderNestDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedFolderNestDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderNestDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderNestDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderNestDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderNestDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderNestDetails` object. +/// ++ (DBTEAMLOGSharedFolderNestDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestType.h new file mode 100644 index 000000000..cf007a59c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderNestType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderNestType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderNestType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderNestType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderNestType` struct. +/// +@interface DBTEAMLOGSharedFolderNestTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderNestType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedFolderNestType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderNestType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderNestType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderNestType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderNestType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderNestType` object. +/// ++ (DBTEAMLOGSharedFolderNestType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipDetails.h index adf8caf4a..4725f1b9b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedFolderTransferOwnershipDetails` struct. /// -/// Transferred the ownership of a shared folder to another member. +/// Transferred ownership of shared folder to another member. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,23 +27,35 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; +/// The email address of the previous shared folder owner. +@property (nonatomic, readonly, copy, nullable) NSString *previousOwnerEmail; -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; +/// The email address of the new shared folder owner. +@property (nonatomic, readonly, copy) NSString *dNewOwnerEmail; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. +/// @param dNewOwnerEmail The email address of the new shared folder owner. +/// @param previousOwnerEmail The email address of the previous shared folder +/// owner. /// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; +- (instancetype)initWithDNewOwnerEmail:(NSString *)dNewOwnerEmail + previousOwnerEmail:(nullable NSString *)previousOwnerEmail; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewOwnerEmail The email address of the new shared folder owner. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewOwnerEmail:(NSString *)dNewOwnerEmail; - (instancetype)init NS_UNAVAILABLE; @@ -66,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderTransferOwnershipDetails` instances. @@ -77,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharedFolderTransferOwnershipDetails` object. /// -+ (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedFolderTransferOwnershipDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipType.h new file mode 100644 index 000000000..e47dce4e9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderTransferOwnershipType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderTransferOwnershipType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderTransferOwnershipType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderTransferOwnershipType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderTransferOwnershipType` struct. +/// +@interface DBTEAMLOGSharedFolderTransferOwnershipTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderTransferOwnershipType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedFolderTransferOwnershipType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderTransferOwnershipType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderTransferOwnershipType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderTransferOwnershipType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderTransferOwnershipType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderTransferOwnershipType` +/// object. +/// ++ (DBTEAMLOGSharedFolderTransferOwnershipType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountDetails.h index bed98b205..bfd8e7f37 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedFolderUnmountDetails` struct. /// -/// Deleted a shared folder from Dropbox. +/// Deleted shared folder from Dropbox. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -27,23 +27,14 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Target asset position in the Assets list. -@property (nonatomic, readonly) NSNumber *targetAssetIndex; - -/// Original shared folder name. -@property (nonatomic, readonly, copy) NSString *originalFolderName; - #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param targetAssetIndex Target asset position in the Assets list. -/// @param originalFolderName Original shared folder name. -/// /// @return An initialized instance. /// -- (instancetype)initWithTargetAssetIndex:(NSNumber *)targetAssetIndex originalFolderName:(NSString *)originalFolderName; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -65,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedFolderUnmountDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedFolderUnmountDetails` instances. @@ -76,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharedFolderUnmountDetails` /// object. /// -+ (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedFolderUnmountDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountType.h new file mode 100644 index 000000000..af3a96474 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedFolderUnmountType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedFolderUnmountType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderUnmountType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedFolderUnmountType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedFolderUnmountType` struct. +/// +@interface DBTEAMLOGSharedFolderUnmountTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedFolderUnmountType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedFolderUnmountType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderUnmountType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedFolderUnmountType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedFolderUnmountType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedFolderUnmountType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedFolderUnmountType` object. +/// ++ (DBTEAMLOGSharedFolderUnmountType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAccessLevel.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAccessLevel.h new file mode 100644 index 000000000..4df9e1f3c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAccessLevel.h @@ -0,0 +1,151 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkAccessLevel; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkAccessLevel` union. +/// +/// Shared link access level. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkAccessLevel : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSharedLinkAccessLevelTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGSharedLinkAccessLevel` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharedLinkAccessLevelTag){ + /// (no description). + DBTEAMLOGSharedLinkAccessLevelNone, + + /// (no description). + DBTEAMLOGSharedLinkAccessLevelReader, + + /// (no description). + DBTEAMLOGSharedLinkAccessLevelWriter, + + /// (no description). + DBTEAMLOGSharedLinkAccessLevelOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkAccessLevelTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "none". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNone; + +/// +/// Initializes union class with tag state of "reader". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithReader; + +/// +/// Initializes union class with tag state of "writer". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithWriter; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "none". +/// +/// @return Whether the union's current tag state has value "none". +/// +- (BOOL)isNone; + +/// +/// Retrieves whether the union's current tag state has value "reader". +/// +/// @return Whether the union's current tag state has value "reader". +/// +- (BOOL)isReader; + +/// +/// Retrieves whether the union's current tag state has value "writer". +/// +/// @return Whether the union's current tag state has value "writer". +/// +- (BOOL)isWriter; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGSharedLinkAccessLevel` union. +/// +@interface DBTEAMLOGSharedLinkAccessLevelSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkAccessLevel` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkAccessLevel` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAccessLevel` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkAccessLevel *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkAccessLevel` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAccessLevel` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkAccessLevel` object. +/// ++ (DBTEAMLOGSharedLinkAccessLevel *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryDetails.h new file mode 100644 index 000000000..d07c40326 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkAddExpiryDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkAddExpiryDetails` struct. +/// +/// Added shared link expiration date. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkAddExpiryDetails : NSObject + +#pragma mark - Instance fields + +/// New shared link expiration date. +@property (nonatomic, readonly) NSDate *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New shared link expiration date. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(NSDate *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkAddExpiryDetails` struct. +/// +@interface DBTEAMLOGSharedLinkAddExpiryDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkAddExpiryDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkAddExpiryDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAddExpiryDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkAddExpiryDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkAddExpiryDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAddExpiryDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkAddExpiryDetails` +/// object. +/// ++ (DBTEAMLOGSharedLinkAddExpiryDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryType.h new file mode 100644 index 000000000..fc1553886 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkAddExpiryType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkAddExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkAddExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkAddExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkAddExpiryType` struct. +/// +@interface DBTEAMLOGSharedLinkAddExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkAddExpiryType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkAddExpiryType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAddExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkAddExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkAddExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkAddExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkAddExpiryType` object. +/// ++ (DBTEAMLOGSharedLinkAddExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryDetails.h new file mode 100644 index 000000000..ae2654ddf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkChangeExpiryDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkChangeExpiryDetails` struct. +/// +/// Changed shared link expiration date. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkChangeExpiryDetails : NSObject + +#pragma mark - Instance fields + +/// New shared link expiration date. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) NSDate *dNewValue; + +/// Previous shared link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New shared link expiration date. Might be missing due to +/// historical data gap. +/// @param previousValue Previous shared link expiration date. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(nullable NSDate *)dNewValue previousValue:(nullable NSDate *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkChangeExpiryDetails` struct. +/// +@interface DBTEAMLOGSharedLinkChangeExpiryDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkChangeExpiryDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkChangeExpiryDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeExpiryDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeExpiryDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkChangeExpiryDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeExpiryDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkChangeExpiryDetails` +/// object. +/// ++ (DBTEAMLOGSharedLinkChangeExpiryDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryType.h new file mode 100644 index 000000000..bbc9c6037 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeExpiryType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkChangeExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkChangeExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkChangeExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkChangeExpiryType` struct. +/// +@interface DBTEAMLOGSharedLinkChangeExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkChangeExpiryType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkChangeExpiryType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkChangeExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkChangeExpiryType` +/// object. +/// ++ (DBTEAMLOGSharedLinkChangeExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityDetails.h new file mode 100644 index 000000000..f265670b3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityDetails.h @@ -0,0 +1,97 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkChangeVisibilityDetails; +@class DBTEAMLOGSharedLinkVisibility; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkChangeVisibilityDetails` struct. +/// +/// Changed visibility of shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkChangeVisibilityDetails : NSObject + +#pragma mark - Instance fields + +/// New shared link visibility. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkVisibility *dNewValue; + +/// Previous shared link visibility. Might be missing due to historical data +/// gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGSharedLinkVisibility *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New shared link visibility. +/// @param previousValue Previous shared link visibility. Might be missing due +/// to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedLinkVisibility *)dNewValue + previousValue:(nullable DBTEAMLOGSharedLinkVisibility *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue New shared link visibility. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGSharedLinkVisibility *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkChangeVisibilityDetails` struct. +/// +@interface DBTEAMLOGSharedLinkChangeVisibilityDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkChangeVisibilityDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkChangeVisibilityDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeVisibilityDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeVisibilityDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkChangeVisibilityDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeVisibilityDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkChangeVisibilityDetails` +/// object. +/// ++ (DBTEAMLOGSharedLinkChangeVisibilityDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityType.h new file mode 100644 index 000000000..58a30b2f3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkChangeVisibilityType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkChangeVisibilityType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkChangeVisibilityType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkChangeVisibilityType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkChangeVisibilityType` struct. +/// +@interface DBTEAMLOGSharedLinkChangeVisibilityTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkChangeVisibilityType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkChangeVisibilityType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeVisibilityType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkChangeVisibilityType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkChangeVisibilityType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkChangeVisibilityType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkChangeVisibilityType` +/// object. +/// ++ (DBTEAMLOGSharedLinkChangeVisibilityType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyDetails.h new file mode 100644 index 000000000..708bedca5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkCopyDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkCopyDetails` struct. +/// +/// Added file/folder to Dropbox from shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkCopyDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkCopyDetails` struct. +/// +@interface DBTEAMLOGSharedLinkCopyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkCopyDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkCopyDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCopyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkCopyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkCopyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCopyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkCopyDetails` object. +/// ++ (DBTEAMLOGSharedLinkCopyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyType.h new file mode 100644 index 000000000..a7ba55134 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCopyType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkCopyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkCopyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkCopyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkCopyType` struct. +/// +@interface DBTEAMLOGSharedLinkCopyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkCopyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkCopyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCopyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkCopyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkCopyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCopyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkCopyType` object. +/// ++ (DBTEAMLOGSharedLinkCopyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateDetails.h new file mode 100644 index 000000000..cb53e0f1d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkAccessLevel; +@class DBTEAMLOGSharedLinkCreateDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkCreateDetails` struct. +/// +/// Created shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkCreateDetails : NSObject + +#pragma mark - Instance fields + +/// Defines who can access the shared link. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGSharedLinkAccessLevel *sharedLinkAccessLevel; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkAccessLevel Defines who can access the shared link. Might +/// be missing due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkAccessLevel:(nullable DBTEAMLOGSharedLinkAccessLevel *)sharedLinkAccessLevel; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkCreateDetails` struct. +/// +@interface DBTEAMLOGSharedLinkCreateDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkCreateDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkCreateDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCreateDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkCreateDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkCreateDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCreateDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkCreateDetails` object. +/// ++ (DBTEAMLOGSharedLinkCreateDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateType.h new file mode 100644 index 000000000..2bc982176 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkCreateType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkCreateType` struct. +/// +@interface DBTEAMLOGSharedLinkCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkCreateType` object. +/// ++ (DBTEAMLOGSharedLinkCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableDetails.h new file mode 100644 index 000000000..8ea76da9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkDisableDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkDisableDetails` struct. +/// +/// Removed shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkDisableDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkDisableDetails` struct. +/// +@interface DBTEAMLOGSharedLinkDisableDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkDisableDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkDisableDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDisableDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkDisableDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkDisableDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDisableDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkDisableDetails` object. +/// ++ (DBTEAMLOGSharedLinkDisableDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableType.h new file mode 100644 index 000000000..1174a5ffe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDisableType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkDisableType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkDisableType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkDisableType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkDisableType` struct. +/// +@interface DBTEAMLOGSharedLinkDisableTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkDisableType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkDisableType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDisableType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkDisableType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkDisableType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDisableType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkDisableType` object. +/// ++ (DBTEAMLOGSharedLinkDisableType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadDetails.h new file mode 100644 index 000000000..070ef2ebe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkDownloadDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkDownloadDetails` struct. +/// +/// Downloaded file/folder from shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkDownloadDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkDownloadDetails` struct. +/// +@interface DBTEAMLOGSharedLinkDownloadDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkDownloadDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkDownloadDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDownloadDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkDownloadDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkDownloadDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDownloadDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkDownloadDetails` object. +/// ++ (DBTEAMLOGSharedLinkDownloadDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadType.h new file mode 100644 index 000000000..d4d0d6e9f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkDownloadType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkDownloadType` struct. +/// +@interface DBTEAMLOGSharedLinkDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkDownloadType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkDownloadType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkDownloadType` object. +/// ++ (DBTEAMLOGSharedLinkDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryDetails.h new file mode 100644 index 000000000..6acdf44bd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkRemoveExpiryDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkRemoveExpiryDetails` struct. +/// +/// Removed shared link expiration date. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkRemoveExpiryDetails : NSObject + +#pragma mark - Instance fields + +/// Previous shared link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous shared link expiration date. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(nullable NSDate *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkRemoveExpiryDetails` struct. +/// +@interface DBTEAMLOGSharedLinkRemoveExpiryDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkRemoveExpiryDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkRemoveExpiryDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkRemoveExpiryDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkRemoveExpiryDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkRemoveExpiryDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkRemoveExpiryDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkRemoveExpiryDetails` +/// object. +/// ++ (DBTEAMLOGSharedLinkRemoveExpiryDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryType.h new file mode 100644 index 000000000..3944210e1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkRemoveExpiryType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkRemoveExpiryType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkRemoveExpiryType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkRemoveExpiryType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkRemoveExpiryType` struct. +/// +@interface DBTEAMLOGSharedLinkRemoveExpiryTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkRemoveExpiryType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkRemoveExpiryType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkRemoveExpiryType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkRemoveExpiryType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkRemoveExpiryType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkRemoveExpiryType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkRemoveExpiryType` +/// object. +/// ++ (DBTEAMLOGSharedLinkRemoveExpiryType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h new file mode 100644 index 000000000..d0d274f9d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h @@ -0,0 +1,103 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsAddExpirationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAddExpirationDetails` struct. +/// +/// Added an expiration date to the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAddExpirationDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +/// New shared content link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// @param dNewValue New shared content link expiration date. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink + dNewValue:(nullable NSDate *)dNewValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsAddExpirationDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAddExpirationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAddExpirationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationType.h new file mode 100644 index 000000000..de288f2b1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddExpirationType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsAddExpirationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAddExpirationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAddExpirationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsAddExpirationType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAddExpirationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAddExpirationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddExpirationType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAddExpirationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAddExpirationType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAddExpirationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h new file mode 100644 index 000000000..e9ff6ac13 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsAddPasswordDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAddPasswordDetails` struct. +/// +/// Added a password to the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAddPasswordDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsAddPasswordDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAddPasswordDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAddPasswordDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordType.h new file mode 100644 index 000000000..f47664c04 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAddPasswordType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsAddPasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAddPasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAddPasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsAddPasswordType` struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAddPasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAddPasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAddPasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAddPasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAddPasswordType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkSettingsAddPasswordType` +/// object. +/// ++ (DBTEAMLOGSharedLinkSettingsAddPasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h new file mode 100644 index 000000000..fee2aa88a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h @@ -0,0 +1,99 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAllowDownloadDisabledDetails` struct. +/// +/// Disabled downloads. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedLinkSettingsAllowDownloadDisabledDetails` struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h new file mode 100644 index 000000000..b4d68dab5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAllowDownloadDisabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedLinkSettingsAllowDownloadDisabledType` struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h new file mode 100644 index 000000000..010c4e093 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAllowDownloadEnabledDetails` struct. +/// +/// Enabled downloads. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharedLinkSettingsAllowDownloadEnabledDetails` struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h new file mode 100644 index 000000000..42d579d39 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsAllowDownloadEnabledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsAllowDownloadEnabledType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h new file mode 100644 index 000000000..1829daccb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h @@ -0,0 +1,109 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBSHARINGLinkAudience; +@class DBTEAMLOGSharedLinkSettingsChangeAudienceDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangeAudienceDetails` struct. +/// +/// Changed the audience of the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeAudienceDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +/// New link audience value. +@property (nonatomic, readonly) DBSHARINGLinkAudience *dNewValue; + +/// Previous link audience value. +@property (nonatomic, readonly, nullable) DBSHARINGLinkAudience *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param dNewValue New link audience value. +/// @param sharedContentLink Shared content link. +/// @param previousValue Previous link audience value. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + dNewValue:(DBSHARINGLinkAudience *)dNewValue + sharedContentLink:(nullable NSString *)sharedContentLink + previousValue:(nullable DBSHARINGLinkAudience *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param dNewValue New link audience value. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + dNewValue:(DBSHARINGLinkAudience *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangeAudienceDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeAudienceDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangeAudienceDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceType.h new file mode 100644 index 000000000..4b8ac34c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeAudienceType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsChangeAudienceType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangeAudienceType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeAudienceType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangeAudienceType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeAudienceTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangeAudienceType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeAudienceType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangeAudienceType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangeAudienceType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangeAudienceType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h new file mode 100644 index 000000000..2a6d439bd --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsChangeExpirationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangeExpirationDetails` struct. +/// +/// Changed the expiration date of the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeExpirationDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +/// New shared content link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *dNewValue; + +/// Previous shared content link expiration date. Might be missing due to +/// historical data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// @param dNewValue New shared content link expiration date. Might be missing +/// due to historical data gap. +/// @param previousValue Previous shared content link expiration date. Might be +/// missing due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink + dNewValue:(nullable NSDate *)dNewValue + previousValue:(nullable NSDate *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangeExpirationDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeExpirationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangeExpirationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationType.h new file mode 100644 index 000000000..ffde51388 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangeExpirationType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsChangeExpirationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangeExpirationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeExpirationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangeExpirationType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangeExpirationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangeExpirationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangeExpirationType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangeExpirationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangeExpirationType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangeExpirationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h new file mode 100644 index 000000000..06085c98f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsChangePasswordDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangePasswordDetails` struct. +/// +/// Changed the password of the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangePasswordDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangePasswordDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangePasswordDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangePasswordDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordType.h new file mode 100644 index 000000000..68cb61af5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsChangePasswordType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsChangePasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsChangePasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsChangePasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsChangePasswordType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsChangePasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsChangePasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsChangePasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsChangePasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsChangePasswordType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsChangePasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h new file mode 100644 index 000000000..65b1673e7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h @@ -0,0 +1,103 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsRemoveExpirationDetails` struct. +/// +/// Removed the expiration date from the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +/// Previous shared link expiration date. Might be missing due to historical +/// data gap. +@property (nonatomic, readonly, nullable) NSDate *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// @param previousValue Previous shared link expiration date. Might be missing +/// due to historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink + previousValue:(nullable NSDate *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsRemoveExpirationDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsRemoveExpirationDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h new file mode 100644 index 000000000..4b76de078 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsRemoveExpirationType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsRemoveExpirationType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsRemoveExpirationType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsRemoveExpirationType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsRemoveExpirationTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsRemoveExpirationType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsRemoveExpirationType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h new file mode 100644 index 000000000..5119380cb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBSHARINGAccessLevel; +@class DBTEAMLOGSharedLinkSettingsRemovePasswordDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsRemovePasswordDetails` struct. +/// +/// Removed the password from the shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsRemovePasswordDetails : NSObject + +#pragma mark - Instance fields + +/// Shared content access level. +@property (nonatomic, readonly) DBSHARINGAccessLevel *sharedContentAccessLevel; + +/// Shared content link. +@property (nonatomic, readonly, copy, nullable) NSString *sharedContentLink; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// @param sharedContentLink Shared content link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel + sharedContentLink:(nullable NSString *)sharedContentLink; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param sharedContentAccessLevel Shared content access level. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedContentAccessLevel:(DBSHARINGAccessLevel *)sharedContentAccessLevel; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsRemovePasswordDetails` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsRemovePasswordDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordDetails` object. +/// ++ (DBTEAMLOGSharedLinkSettingsRemovePasswordDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordType.h new file mode 100644 index 000000000..09f8cdfb3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkSettingsRemovePasswordType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkSettingsRemovePasswordType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkSettingsRemovePasswordType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkSettingsRemovePasswordType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkSettingsRemovePasswordType` +/// struct. +/// +@interface DBTEAMLOGSharedLinkSettingsRemovePasswordTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkSettingsRemovePasswordType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkSettingsRemovePasswordType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkSettingsRemovePasswordType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharedLinkSettingsRemovePasswordType` object. +/// ++ (DBTEAMLOGSharedLinkSettingsRemovePasswordType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareDetails.h new file mode 100644 index 000000000..e35b5f30f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareDetails.h @@ -0,0 +1,96 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGExternalUserLogInfo; +@class DBTEAMLOGSharedLinkShareDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkShareDetails` struct. +/// +/// Added members as audience of shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkShareDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +/// Users without a Dropbox account that were added as shared link audience. +@property (nonatomic, readonly, nullable) NSArray *externalUsers; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// @param externalUsers Users without a Dropbox account that were added as +/// shared link audience. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner + externalUsers:(nullable NSArray *)externalUsers; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkShareDetails` struct. +/// +@interface DBTEAMLOGSharedLinkShareDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkShareDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkShareDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkShareDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkShareDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkShareDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkShareDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkShareDetails` object. +/// ++ (DBTEAMLOGSharedLinkShareDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareType.h new file mode 100644 index 000000000..1ceb0efc4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkShareType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkShareType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkShareType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkShareType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkShareType` struct. +/// +@interface DBTEAMLOGSharedLinkShareTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkShareType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkShareType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkShareType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkShareType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkShareType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkShareType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkShareType` object. +/// ++ (DBTEAMLOGSharedLinkShareType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewDetails.h new file mode 100644 index 000000000..4d7142d9e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkViewDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkViewDetails` struct. +/// +/// Opened shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkViewDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkViewDetails` struct. +/// +@interface DBTEAMLOGSharedLinkViewDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkViewDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkViewDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkViewDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkViewDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkViewDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkViewDetails` object. +/// ++ (DBTEAMLOGSharedLinkViewDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewType.h new file mode 100644 index 000000000..9b9a33466 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkViewType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedLinkViewType` struct. +/// +@interface DBTEAMLOGSharedLinkViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkViewType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkViewType` object. +/// ++ (DBTEAMLOGSharedLinkViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkVisibility.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkVisibility.h new file mode 100644 index 000000000..8c8b89517 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedLinkVisibility.h @@ -0,0 +1,168 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedLinkVisibility; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedLinkVisibility` union. +/// +/// Defines who has access to a shared link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedLinkVisibility : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSharedLinkVisibilityTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGSharedLinkVisibility` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharedLinkVisibilityTag){ + /// (no description). + DBTEAMLOGSharedLinkVisibilityNoOne, + + /// (no description). + DBTEAMLOGSharedLinkVisibilityPassword, + + /// (no description). + DBTEAMLOGSharedLinkVisibilityPublic, + + /// (no description). + DBTEAMLOGSharedLinkVisibilityTeamOnly, + + /// (no description). + DBTEAMLOGSharedLinkVisibilityOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSharedLinkVisibilityTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "no_one". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithNoOne; + +/// +/// Initializes union class with tag state of "password". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPassword; + +/// +/// Initializes union class with tag state of "public". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPublic; + +/// +/// Initializes union class with tag state of "team_only". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeamOnly; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "no_one". +/// +/// @return Whether the union's current tag state has value "no_one". +/// +- (BOOL)isNoOne; + +/// +/// Retrieves whether the union's current tag state has value "password". +/// +/// @return Whether the union's current tag state has value "password". +/// +- (BOOL)isPassword; + +/// +/// Retrieves whether the union's current tag state has value "public". +/// +/// @return Whether the union's current tag state has value "public". +/// +- (BOOL)isPublic; + +/// +/// Retrieves whether the union's current tag state has value "team_only". +/// +/// @return Whether the union's current tag state has value "team_only". +/// +- (BOOL)isTeamOnly; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGSharedLinkVisibility` union. +/// +@interface DBTEAMLOGSharedLinkVisibilitySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedLinkVisibility` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedLinkVisibility` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkVisibility` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedLinkVisibility *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedLinkVisibility` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedLinkVisibility` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedLinkVisibility` object. +/// ++ (DBTEAMLOGSharedLinkVisibility *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedDetails.h index 72c17782a..5342004a4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharedNoteOpenedDetails` struct. /// -/// Shared Paper document was opened. +/// Opened shared Paper doc. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharedNoteOpenedDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedDetails *)instance; /// /// Deserializes `DBTEAMLOGSharedNoteOpenedDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSharedNoteOpenedDetails` object. /// -+ (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharedNoteOpenedDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedType.h new file mode 100644 index 000000000..d01bebf52 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedNoteOpenedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharedNoteOpenedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedNoteOpenedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharedNoteOpenedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharedNoteOpenedType` struct. +/// +@interface DBTEAMLOGSharedNoteOpenedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharedNoteOpenedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharedNoteOpenedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedNoteOpenedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedNoteOpenedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharedNoteOpenedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharedNoteOpenedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharedNoteOpenedType` object. +/// ++ (DBTEAMLOGSharedNoteOpenedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h index ca6847a58..de3759c34 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharingChangeFolderJoinPolicyDetails` struct. /// -/// Changed whether team members can join shared folders owned externally (i.e. -/// outside the team). +/// Changed whether team members can join shared folders owned outside team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSharingChangeFolderJoinPolicyDetails` object. /// -+ (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingChangeFolderJoinPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyType.h new file mode 100644 index 000000000..c21a67b64 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeFolderJoinPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeFolderJoinPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeFolderJoinPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeFolderJoinPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingChangeFolderJoinPolicyType` struct. +/// +@interface DBTEAMLOGSharingChangeFolderJoinPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeFolderJoinPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeFolderJoinPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeFolderJoinPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeFolderJoinPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeFolderJoinPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeFolderJoinPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharingChangeFolderJoinPolicyType` +/// object. +/// ++ (DBTEAMLOGSharingChangeFolderJoinPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h new file mode 100644 index 000000000..35bd63c15 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h @@ -0,0 +1,100 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGEnforceLinkPasswordPolicy; +@class DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkAllowChangeExpirationPolicyDetails` struct. +/// +/// Changed the allow remove or change expiration policy for the links shared +/// outside of the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGEnforceLinkPasswordPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly, nullable) DBTEAMLOGEnforceLinkPasswordPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGEnforceLinkPasswordPolicy *)dNewValue + previousValue:(nullable DBTEAMLOGEnforceLinkPasswordPolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue To. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGEnforceLinkPasswordPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharingChangeLinkAllowChangeExpirationPolicyDetails` struct. +/// +@interface DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails` object. +/// ++ (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h new file mode 100644 index 000000000..43176ba9a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkAllowChangeExpirationPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharingChangeLinkAllowChangeExpirationPolicyType` struct. +/// +@interface DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType` object. +/// ++ (DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h new file mode 100644 index 000000000..5261c0157 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h @@ -0,0 +1,99 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGDefaultLinkExpirationDaysPolicy; +@class DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkDefaultExpirationPolicyDetails` struct. +/// +/// Changed the default expiration for the links shared outside of the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGDefaultLinkExpirationDaysPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly, nullable) DBTEAMLOGDefaultLinkExpirationDaysPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue + previousValue:(nullable DBTEAMLOGDefaultLinkExpirationDaysPolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue To. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGDefaultLinkExpirationDaysPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharingChangeLinkDefaultExpirationPolicyDetails` struct. +/// +@interface DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails` object. +/// ++ (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h new file mode 100644 index 000000000..783c8de83 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkDefaultExpirationPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharingChangeLinkDefaultExpirationPolicyType` struct. +/// +@interface DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType` object. +/// ++ (DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h new file mode 100644 index 000000000..82a74d72c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h @@ -0,0 +1,98 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGChangeLinkExpirationPolicy; +@class DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkEnforcePasswordPolicyDetails` struct. +/// +/// Changed the password requirement for the links shared outside of the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// To. +@property (nonatomic, readonly) DBTEAMLOGChangeLinkExpirationPolicy *dNewValue; + +/// From. +@property (nonatomic, readonly, nullable) DBTEAMLOGChangeLinkExpirationPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue To. +/// @param previousValue From. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGChangeLinkExpirationPolicy *)dNewValue + previousValue:(nullable DBTEAMLOGChangeLinkExpirationPolicy *)previousValue; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param dNewValue To. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGChangeLinkExpirationPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `SharingChangeLinkEnforcePasswordPolicyDetails` struct. +/// +@interface DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails` object. +/// ++ (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h new file mode 100644 index 000000000..410a362fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkEnforcePasswordPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingChangeLinkEnforcePasswordPolicyType` +/// struct. +/// +@interface DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType` object. +/// ++ (DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyDetails.h index ee103e199..9004aa08d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyDetails.h @@ -18,9 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharingChangeLinkPolicyDetails` struct. /// -/// Changed whether team members can share links externally (i.e. outside the -/// team), and if so, whether links should be accessible only by team members or -/// anyone by default. +/// Changed whether members can share links outside team, and if links are +/// accessible only by team members or anyone by default. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeLinkPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeLinkPolicyDetails` instances. @@ -92,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharingChangeLinkPolicyDetails` /// object. /// -+ (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingChangeLinkPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyType.h new file mode 100644 index 000000000..e4a68ae5c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeLinkPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeLinkPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeLinkPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeLinkPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingChangeLinkPolicyType` struct. +/// +@interface DBTEAMLOGSharingChangeLinkPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeLinkPolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharingChangeLinkPolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeLinkPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeLinkPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeLinkPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharingChangeLinkPolicyType` +/// object. +/// ++ (DBTEAMLOGSharingChangeLinkPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyDetails.h index 45ba93ffe..165290e01 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SharingChangeMemberPolicyDetails` struct. /// -/// Changed whether team members can share files and folders externally (i.e. -/// outside the team). +/// Changed whether members can share files/folders outside team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingChangeMemberPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSharingChangeMemberPolicyDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSharingChangeMemberPolicyDetails` /// object. /// -+ (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingChangeMemberPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyType.h new file mode 100644 index 000000000..baa6343b3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingChangeMemberPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSharingChangeMemberPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharingChangeMemberPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSharingChangeMemberPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SharingChangeMemberPolicyType` struct. +/// +@interface DBTEAMLOGSharingChangeMemberPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSharingChangeMemberPolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSharingChangeMemberPolicyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeMemberPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingChangeMemberPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSharingChangeMemberPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSharingChangeMemberPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSharingChangeMemberPolicyType` +/// object. +/// ++ (DBTEAMLOGSharingChangeMemberPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingFolderJoinPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingFolderJoinPolicy.h index 52eeabacc..24489dd1b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingFolderJoinPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingFolderJoinPolicy.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGSharingFolderJoinPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGSharingFolderJoinPolicy` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharingFolderJoinPolicyTag) { - /// (no description). - DBTEAMLOGSharingFolderJoinPolicyFromAnyone, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingFolderJoinPolicyTag){ + /// (no description). + DBTEAMLOGSharingFolderJoinPolicyFromAnyone, - /// (no description). - DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly, + /// (no description). + DBTEAMLOGSharingFolderJoinPolicyFromTeamOnly, - /// (no description). - DBTEAMLOGSharingFolderJoinPolicyOther, + /// (no description). + DBTEAMLOGSharingFolderJoinPolicyOther, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingFolderJoinPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingFolderJoinPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingFolderJoinPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingFolderJoinPolicy` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingFolderJoinPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGSharingFolderJoinPolicy` object. /// -+ (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingFolderJoinPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingLinkPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingLinkPolicy.h index b7f8ff169..d94e93e0e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingLinkPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingLinkPolicy.h @@ -29,18 +29,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGSharingLinkPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSharingLinkPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag) { - /// (no description). - DBTEAMLOGSharingLinkPolicyDefaultPrivate, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag){ + /// (no description). + DBTEAMLOGSharingLinkPolicyDefaultNoOne, - /// (no description). - DBTEAMLOGSharingLinkPolicyDefaultPublic, + /// (no description). + DBTEAMLOGSharingLinkPolicyDefaultPrivate, - /// (no description). - DBTEAMLOGSharingLinkPolicyOnlyPrivate, + /// (no description). + DBTEAMLOGSharingLinkPolicyDefaultPublic, - /// (no description). - DBTEAMLOGSharingLinkPolicyOther, + /// (no description). + DBTEAMLOGSharingLinkPolicyOnlyPrivate, + + /// (no description). + DBTEAMLOGSharingLinkPolicyOther, }; @@ -49,6 +52,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag) { #pragma mark - Constructors +/// +/// Initializes union class with tag state of "default_no_one". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefaultNoOne; + /// /// Initializes union class with tag state of "default_private". /// @@ -81,6 +91,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag) { #pragma mark - Tag state methods +/// +/// Retrieves whether the union's current tag state has value "default_no_one". +/// +/// @return Whether the union's current tag state has value "default_no_one". +/// +- (BOOL)isDefaultNoOne; + /// /// Retrieves whether the union's current tag state has value "default_private". /// @@ -133,7 +150,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingLinkPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingLinkPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingLinkPolicy` instances. @@ -143,7 +160,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingLinkPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGSharingLinkPolicy` object. /// -+ (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingLinkPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingMemberPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingMemberPolicy.h index dbf7dbbe6..32488ff52 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingMemberPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharingMemberPolicy.h @@ -29,15 +29,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGSharingMemberPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSharingMemberPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag) { - /// (no description). - DBTEAMLOGSharingMemberPolicyAllow, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag){ + /// (no description). + DBTEAMLOGSharingMemberPolicyAllow, - /// (no description). - DBTEAMLOGSharingMemberPolicyForbid, + /// (no description). + DBTEAMLOGSharingMemberPolicyForbid, - /// (no description). - DBTEAMLOGSharingMemberPolicyOther, + /// (no description). + DBTEAMLOGSharingMemberPolicyForbidWithExclusions, + + /// (no description). + DBTEAMLOGSharingMemberPolicyOther, }; @@ -60,6 +63,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag) { /// - (instancetype)initWithForbid; +/// +/// Initializes union class with tag state of "forbid_with_exclusions". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithForbidWithExclusions; + /// /// Initializes union class with tag state of "other". /// @@ -85,6 +95,15 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag) { /// - (BOOL)isForbid; +/// +/// Retrieves whether the union's current tag state has value +/// "forbid_with_exclusions". +/// +/// @return Whether the union's current tag state has value +/// "forbid_with_exclusions". +/// +- (BOOL)isForbidWithExclusions; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -117,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSharingMemberPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSharingMemberPolicy *)instance; /// /// Deserializes `DBTEAMLOGSharingMemberPolicy` instances. @@ -127,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharingMemberPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGSharingMemberPolicy` object. /// -+ (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSharingMemberPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelAppCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelAppCreateDetails.h deleted file mode 100644 index 2480a23a6..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelAppCreateDetails.h +++ /dev/null @@ -1,92 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGShmodelAppCreateDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelAppCreateDetails` struct. -/// -/// Created a link to a file using an app. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelAppCreateDetails : NSObject - -#pragma mark - Instance fields - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; - -/// Shared link token key. -@property (nonatomic, readonly, copy, nullable) NSString *tokenKey; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// @param tokenKey Shared link token key. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharingPermission:(nullable NSString *)sharingPermission tokenKey:(nullable NSString *)tokenKey; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelAppCreateDetails` struct. -/// -@interface DBTEAMLOGShmodelAppCreateDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelAppCreateDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGShmodelAppCreateDetails` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelAppCreateDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelAppCreateDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelAppCreateDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelAppCreateDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelAppCreateDetails` object. -/// -+ (DBTEAMLOGShmodelAppCreateDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelCreateDetails.h deleted file mode 100644 index ec91ec7c5..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelCreateDetails.h +++ /dev/null @@ -1,92 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGShmodelCreateDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelCreateDetails` struct. -/// -/// Created a new link. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelCreateDetails : NSObject - -#pragma mark - Instance fields - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; - -/// Shared link token key. -@property (nonatomic, readonly, copy, nullable) NSString *tokenKey; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// @param tokenKey Shared link token key. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharingPermission:(nullable NSString *)sharingPermission tokenKey:(nullable NSString *)tokenKey; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelCreateDetails` struct. -/// -@interface DBTEAMLOGShmodelCreateDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelCreateDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGShmodelCreateDetails` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelCreateDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelCreateDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelCreateDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelCreateDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelCreateDetails` object. -/// -+ (DBTEAMLOGShmodelCreateDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDetails.h deleted file mode 100644 index 38045b5da..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDetails.h +++ /dev/null @@ -1,92 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGShmodelDisableDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelDisableDetails` struct. -/// -/// Removed a link. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelDisableDetails : NSObject - -#pragma mark - Instance fields - -/// Sharing permission. Might be missing due to historical data gap. -@property (nonatomic, readonly, copy, nullable) NSString *sharingPermission; - -/// Shared link token key. -@property (nonatomic, readonly, copy, nullable) NSString *tokenKey; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param sharingPermission Sharing permission. Might be missing due to -/// historical data gap. -/// @param tokenKey Shared link token key. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharingPermission:(nullable NSString *)sharingPermission tokenKey:(nullable NSString *)tokenKey; - -/// -/// Convenience constructor (exposes only non-nullable instance variables with -/// no default value). -/// -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelDisableDetails` struct. -/// -@interface DBTEAMLOGShmodelDisableDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelDisableDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGShmodelDisableDetails` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelDisableDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelDisableDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelDisableDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelDisableDetails` object. -/// -+ (DBTEAMLOGShmodelDisableDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsDetails.h new file mode 100644 index 000000000..167f379d3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShmodelDisableDownloadsDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShmodelDisableDownloadsDetails` struct. +/// +/// Disabled downloads for link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShmodelDisableDownloadsDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShmodelDisableDownloadsDetails` struct. +/// +@interface DBTEAMLOGShmodelDisableDownloadsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShmodelDisableDownloadsDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShmodelDisableDownloadsDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelDisableDownloadsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShmodelDisableDownloadsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelDisableDownloadsDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShmodelDisableDownloadsDetails` +/// object. +/// ++ (DBTEAMLOGShmodelDisableDownloadsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsType.h new file mode 100644 index 000000000..c3c50608c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelDisableDownloadsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShmodelDisableDownloadsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShmodelDisableDownloadsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShmodelDisableDownloadsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShmodelDisableDownloadsType` struct. +/// +@interface DBTEAMLOGShmodelDisableDownloadsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShmodelDisableDownloadsType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShmodelDisableDownloadsType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelDisableDownloadsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelDisableDownloadsType *)instance; + +/// +/// Deserializes `DBTEAMLOGShmodelDisableDownloadsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelDisableDownloadsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShmodelDisableDownloadsType` +/// object. +/// ++ (DBTEAMLOGShmodelDisableDownloadsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsDetails.h new file mode 100644 index 000000000..6be6bc024 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsDetails.h @@ -0,0 +1,90 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShmodelEnableDownloadsDetails; +@class DBTEAMLOGUserLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShmodelEnableDownloadsDetails` struct. +/// +/// Enabled downloads for link. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShmodelEnableDownloadsDetails : NSObject + +#pragma mark - Instance fields + +/// Shared link owner details. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGUserLogInfo *sharedLinkOwner; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sharedLinkOwner Shared link owner details. Might be missing due to +/// historical data gap. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSharedLinkOwner:(nullable DBTEAMLOGUserLogInfo *)sharedLinkOwner; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShmodelEnableDownloadsDetails` struct. +/// +@interface DBTEAMLOGShmodelEnableDownloadsDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShmodelEnableDownloadsDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShmodelEnableDownloadsDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelEnableDownloadsDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShmodelEnableDownloadsDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelEnableDownloadsDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShmodelEnableDownloadsDetails` +/// object. +/// ++ (DBTEAMLOGShmodelEnableDownloadsDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsType.h new file mode 100644 index 000000000..0c4c941bf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelEnableDownloadsType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShmodelEnableDownloadsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShmodelEnableDownloadsType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShmodelEnableDownloadsType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShmodelEnableDownloadsType` struct. +/// +@interface DBTEAMLOGShmodelEnableDownloadsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShmodelEnableDownloadsType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShmodelEnableDownloadsType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelEnableDownloadsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelEnableDownloadsType *)instance; + +/// +/// Deserializes `DBTEAMLOGShmodelEnableDownloadsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelEnableDownloadsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShmodelEnableDownloadsType` +/// object. +/// ++ (DBTEAMLOGShmodelEnableDownloadsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelFbShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelFbShareDetails.h deleted file mode 100644 index 6f051af51..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelFbShareDetails.h +++ /dev/null @@ -1,80 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGNonTeamMemberLogInfo; -@class DBTEAMLOGShmodelFbShareDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelFbShareDetails` struct. -/// -/// Shared a link with Facebook users. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelFbShareDetails : NSObject - -#pragma mark - Instance fields - -/// Sharing non member recipients. -@property (nonatomic, readonly) NSArray *sharingNonMemberRecipients; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param sharingNonMemberRecipients Sharing non member recipients. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithSharingNonMemberRecipients: - (NSArray *)sharingNonMemberRecipients; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelFbShareDetails` struct. -/// -@interface DBTEAMLOGShmodelFbShareDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelFbShareDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGShmodelFbShareDetails` API -/// object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelFbShareDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelFbShareDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelFbShareDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelFbShareDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelFbShareDetails` object. -/// -+ (DBTEAMLOGShmodelFbShareDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareDetails.h index a6b5ac7df..ce81ab253 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `ShmodelGroupShareDetails` struct. /// -/// Shared a link with a group. +/// Shared link with group. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGShmodelGroupShareDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareDetails *)instance; /// /// Deserializes `DBTEAMLOGShmodelGroupShareDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGShmodelGroupShareDetails` object. /// -+ (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGShmodelGroupShareDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareType.h new file mode 100644 index 000000000..1015b6190 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelGroupShareType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShmodelGroupShareType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShmodelGroupShareType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShmodelGroupShareType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShmodelGroupShareType` struct. +/// +@interface DBTEAMLOGShmodelGroupShareTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShmodelGroupShareType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShmodelGroupShareType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelGroupShareType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelGroupShareType *)instance; + +/// +/// Deserializes `DBTEAMLOGShmodelGroupShareType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShmodelGroupShareType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShmodelGroupShareType` object. +/// ++ (DBTEAMLOGShmodelGroupShareType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelSetExpirationDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelSetExpirationDetails.h deleted file mode 100644 index e482a9f5e..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelSetExpirationDetails.h +++ /dev/null @@ -1,85 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGShmodelSetExpirationDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelSetExpirationDetails` struct. -/// -/// Added an expiration date to a link. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelSetExpirationDetails : NSObject - -#pragma mark - Instance fields - -/// Expiration starting date. -@property (nonatomic, readonly, copy) NSString *expirationStartDate; - -/// The number of days from the starting expiration date after which the link -/// will expire. -@property (nonatomic, readonly) NSNumber *expirationDays; - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @param expirationStartDate Expiration starting date. -/// @param expirationDays The number of days from the starting expiration date -/// after which the link will expire. -/// -/// @return An initialized instance. -/// -- (instancetype)initWithExpirationStartDate:(NSString *)expirationStartDate expirationDays:(NSNumber *)expirationDays; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelSetExpirationDetails` struct. -/// -@interface DBTEAMLOGShmodelSetExpirationDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelSetExpirationDetails` instances. -/// -/// @param instance An instance of the `DBTEAMLOGShmodelSetExpirationDetails` -/// API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelSetExpirationDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelSetExpirationDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelSetExpirationDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelSetExpirationDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelSetExpirationDetails` -/// object. -/// -+ (DBTEAMLOGShmodelSetExpirationDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h deleted file mode 100644 index 566a3dc6b..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h +++ /dev/null @@ -1,74 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGShmodelVisibilityTeamOnlyDetails; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `ShmodelVisibilityTeamOnlyDetails` struct. -/// -/// Made a file/folder visible only to team members with the link. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGShmodelVisibilityTeamOnlyDetails : NSObject - -#pragma mark - Instance fields - -#pragma mark - Constructors - -/// -/// Full constructor for the struct (exposes all instance variables). -/// -/// @return An initialized instance. -/// -- (instancetype)initDefault; - -- (instancetype)init NS_UNAVAILABLE; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `ShmodelVisibilityTeamOnlyDetails` struct. -/// -@interface DBTEAMLOGShmodelVisibilityTeamOnlyDetailsSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` instances. -/// -/// @param instance An instance of the -/// `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)instance; - -/// -/// Deserializes `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` API object. -/// -/// @return An instantiation of the `DBTEAMLOGShmodelVisibilityTeamOnlyDetails` -/// object. -/// -+ (DBTEAMLOGShmodelVisibilityTeamOnlyDetails *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedDetails.h new file mode 100644 index 000000000..25de3089c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseAccessGrantedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseAccessGrantedDetails` struct. +/// +/// Granted access to showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseAccessGrantedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseAccessGrantedDetails` struct. +/// +@interface DBTEAMLOGShowcaseAccessGrantedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseAccessGrantedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseAccessGrantedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAccessGrantedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseAccessGrantedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAccessGrantedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseAccessGrantedDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseAccessGrantedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedType.h new file mode 100644 index 000000000..79c13cf46 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAccessGrantedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseAccessGrantedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseAccessGrantedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseAccessGrantedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseAccessGrantedType` struct. +/// +@interface DBTEAMLOGShowcaseAccessGrantedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseAccessGrantedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseAccessGrantedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAccessGrantedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseAccessGrantedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseAccessGrantedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAccessGrantedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseAccessGrantedType` object. +/// ++ (DBTEAMLOGShowcaseAccessGrantedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberDetails.h new file mode 100644 index 000000000..9564312ae --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseAddMemberDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseAddMemberDetails` struct. +/// +/// Added member to showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseAddMemberDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseAddMemberDetails` struct. +/// +@interface DBTEAMLOGShowcaseAddMemberDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseAddMemberDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseAddMemberDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAddMemberDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseAddMemberDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAddMemberDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseAddMemberDetails` object. +/// ++ (DBTEAMLOGShowcaseAddMemberDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberType.h new file mode 100644 index 000000000..40314cd36 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseAddMemberType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseAddMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseAddMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseAddMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseAddMemberType` struct. +/// +@interface DBTEAMLOGShowcaseAddMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseAddMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseAddMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAddMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseAddMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseAddMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseAddMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseAddMemberType` object. +/// ++ (DBTEAMLOGShowcaseAddMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedDetails.h new file mode 100644 index 000000000..5c4683c83 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseArchivedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseArchivedDetails` struct. +/// +/// Archived showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseArchivedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseArchivedDetails` struct. +/// +@interface DBTEAMLOGShowcaseArchivedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseArchivedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseArchivedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseArchivedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseArchivedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseArchivedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseArchivedDetails` object. +/// ++ (DBTEAMLOGShowcaseArchivedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedType.h new file mode 100644 index 000000000..f9de9b84b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseArchivedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseArchivedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseArchivedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseArchivedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseArchivedType` struct. +/// +@interface DBTEAMLOGShowcaseArchivedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseArchivedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseArchivedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseArchivedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseArchivedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseArchivedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseArchivedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseArchivedType` object. +/// ++ (DBTEAMLOGShowcaseArchivedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h new file mode 100644 index 000000000..41b4cdebe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeDownloadPolicyDetails; +@class DBTEAMLOGShowcaseDownloadPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeDownloadPolicyDetails` struct. +/// +/// Enabled/disabled downloading files from Dropbox Showcase for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeDownloadPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New Dropbox Showcase download policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDownloadPolicy *dNewValue; + +/// Previous Dropbox Showcase download policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDownloadPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Dropbox Showcase download policy. +/// @param previousValue Previous Dropbox Showcase download policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseDownloadPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseDownloadPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeDownloadPolicyDetails` +/// struct. +/// +@interface DBTEAMLOGShowcaseChangeDownloadPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyDetails` object. +/// ++ (DBTEAMLOGShowcaseChangeDownloadPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyType.h new file mode 100644 index 000000000..a771d8785 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeDownloadPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeDownloadPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeDownloadPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeDownloadPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeDownloadPolicyType` struct. +/// +@interface DBTEAMLOGShowcaseChangeDownloadPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeDownloadPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeDownloadPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeDownloadPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeDownloadPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseChangeDownloadPolicyType` +/// object. +/// ++ (DBTEAMLOGShowcaseChangeDownloadPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h new file mode 100644 index 000000000..4194d7d88 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeEnabledPolicyDetails; +@class DBTEAMLOGShowcaseEnabledPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeEnabledPolicyDetails` struct. +/// +/// Enabled/disabled Dropbox Showcase for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeEnabledPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New Dropbox Showcase policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEnabledPolicy *dNewValue; + +/// Previous Dropbox Showcase policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEnabledPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Dropbox Showcase policy. +/// @param previousValue Previous Dropbox Showcase policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseEnabledPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseEnabledPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeEnabledPolicyDetails` struct. +/// +@interface DBTEAMLOGShowcaseChangeEnabledPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyDetails` object. +/// ++ (DBTEAMLOGShowcaseChangeEnabledPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyType.h new file mode 100644 index 000000000..b0b3a41d5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeEnabledPolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeEnabledPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeEnabledPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeEnabledPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeEnabledPolicyType` struct. +/// +@interface DBTEAMLOGShowcaseChangeEnabledPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeEnabledPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeEnabledPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeEnabledPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeEnabledPolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseChangeEnabledPolicyType` +/// object. +/// ++ (DBTEAMLOGShowcaseChangeEnabledPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h new file mode 100644 index 000000000..009e1b065 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails; +@class DBTEAMLOGShowcaseExternalSharingPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeExternalSharingPolicyDetails` struct. +/// +/// Enabled/disabled sharing Dropbox Showcase externally for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails : NSObject + +#pragma mark - Instance fields + +/// New Dropbox Showcase external sharing policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseExternalSharingPolicy *dNewValue; + +/// Previous Dropbox Showcase external sharing policy. +@property (nonatomic, readonly) DBTEAMLOGShowcaseExternalSharingPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Dropbox Showcase external sharing policy. +/// @param previousValue Previous Dropbox Showcase external sharing policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)dNewValue + previousValue:(DBTEAMLOGShowcaseExternalSharingPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeExternalSharingPolicyDetails` +/// struct. +/// +@interface DBTEAMLOGShowcaseChangeExternalSharingPolicyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails` object. +/// ++ (DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h new file mode 100644 index 000000000..ae3c8c9d2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseChangeExternalSharingPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseChangeExternalSharingPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseChangeExternalSharingPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseChangeExternalSharingPolicyType` +/// struct. +/// +@interface DBTEAMLOGShowcaseChangeExternalSharingPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGShowcaseChangeExternalSharingPolicyType` object. +/// ++ (DBTEAMLOGShowcaseChangeExternalSharingPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedDetails.h new file mode 100644 index 000000000..a77ad026e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseCreatedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseCreatedDetails` struct. +/// +/// Created showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseCreatedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseCreatedDetails` struct. +/// +@interface DBTEAMLOGShowcaseCreatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseCreatedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseCreatedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseCreatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseCreatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseCreatedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseCreatedDetails` object. +/// ++ (DBTEAMLOGShowcaseCreatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedType.h new file mode 100644 index 000000000..c56303ec2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseCreatedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseCreatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseCreatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseCreatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseCreatedType` struct. +/// +@interface DBTEAMLOGShowcaseCreatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseCreatedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseCreatedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseCreatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseCreatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseCreatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseCreatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseCreatedType` object. +/// ++ (DBTEAMLOGShowcaseCreatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentDetails.h new file mode 100644 index 000000000..7b82cfc79 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseDeleteCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseDeleteCommentDetails` struct. +/// +/// Deleted showcase comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseDeleteCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseDeleteCommentDetails` struct. +/// +@interface DBTEAMLOGShowcaseDeleteCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseDeleteCommentDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseDeleteCommentDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDeleteCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseDeleteCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDeleteCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseDeleteCommentDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseDeleteCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentType.h new file mode 100644 index 000000000..f99396a1b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDeleteCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseDeleteCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseDeleteCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseDeleteCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseDeleteCommentType` struct. +/// +@interface DBTEAMLOGShowcaseDeleteCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseDeleteCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseDeleteCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDeleteCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseDeleteCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseDeleteCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDeleteCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseDeleteCommentType` object. +/// ++ (DBTEAMLOGShowcaseDeleteCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDocumentLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDocumentLogInfo.h new file mode 100644 index 000000000..e93176d31 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDocumentLogInfo.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseDocumentLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseDocumentLogInfo` struct. +/// +/// Showcase document's logged information. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseDocumentLogInfo : NSObject + +#pragma mark - Instance fields + +/// Showcase document Id. +@property (nonatomic, readonly, copy) NSString *showcaseId; + +/// Showcase document title. +@property (nonatomic, readonly, copy) NSString *showcaseTitle; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param showcaseId Showcase document Id. +/// @param showcaseTitle Showcase document title. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithShowcaseId:(NSString *)showcaseId showcaseTitle:(NSString *)showcaseTitle; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseDocumentLogInfo` struct. +/// +@interface DBTEAMLOGShowcaseDocumentLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseDocumentLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseDocumentLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDocumentLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseDocumentLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseDocumentLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDocumentLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseDocumentLogInfo` object. +/// ++ (DBTEAMLOGShowcaseDocumentLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDownloadPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDownloadPolicy.h new file mode 100644 index 000000000..6c6bac26d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseDownloadPolicy.h @@ -0,0 +1,135 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseDownloadPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseDownloadPolicy` union. +/// +/// Policy for controlling if files can be downloaded from Showcases by team +/// members +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseDownloadPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGShowcaseDownloadPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGShowcaseDownloadPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGShowcaseDownloadPolicyTag){ + /// (no description). + DBTEAMLOGShowcaseDownloadPolicyDisabled, + + /// (no description). + DBTEAMLOGShowcaseDownloadPolicyEnabled, + + /// (no description). + DBTEAMLOGShowcaseDownloadPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGShowcaseDownloadPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGShowcaseDownloadPolicy` union. +/// +@interface DBTEAMLOGShowcaseDownloadPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseDownloadPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseDownloadPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDownloadPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseDownloadPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseDownloadPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseDownloadPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseDownloadPolicy` object. +/// ++ (DBTEAMLOGShowcaseDownloadPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentDetails.h new file mode 100644 index 000000000..33e077d78 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseEditCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEditCommentDetails` struct. +/// +/// Edited showcase comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseEditCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseEditCommentDetails` struct. +/// +@interface DBTEAMLOGShowcaseEditCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseEditCommentDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseEditCommentDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseEditCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseEditCommentDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseEditCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentType.h new file mode 100644 index 000000000..18f81f13b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseEditCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEditCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseEditCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseEditCommentType` struct. +/// +@interface DBTEAMLOGShowcaseEditCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseEditCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseEditCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseEditCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseEditCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseEditCommentType` object. +/// ++ (DBTEAMLOGShowcaseEditCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedDetails.h new file mode 100644 index 000000000..df7d628cb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseEditedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEditedDetails` struct. +/// +/// Edited showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseEditedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseEditedDetails` struct. +/// +@interface DBTEAMLOGShowcaseEditedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseEditedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseEditedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseEditedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseEditedDetails` object. +/// ++ (DBTEAMLOGShowcaseEditedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedType.h new file mode 100644 index 000000000..5bbe3eda5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEditedType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseEditedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEditedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseEditedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseEditedType` struct. +/// +@interface DBTEAMLOGShowcaseEditedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseEditedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseEditedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseEditedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseEditedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEditedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseEditedType` object. +/// ++ (DBTEAMLOGShowcaseEditedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEnabledPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEnabledPolicy.h new file mode 100644 index 000000000..1afe1275f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseEnabledPolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseEnabledPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEnabledPolicy` union. +/// +/// Policy for controlling whether Showcase is enabled. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseEnabledPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGShowcaseEnabledPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGShowcaseEnabledPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGShowcaseEnabledPolicyTag){ + /// (no description). + DBTEAMLOGShowcaseEnabledPolicyDisabled, + + /// (no description). + DBTEAMLOGShowcaseEnabledPolicyEnabled, + + /// (no description). + DBTEAMLOGShowcaseEnabledPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGShowcaseEnabledPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGShowcaseEnabledPolicy` union. +/// +@interface DBTEAMLOGShowcaseEnabledPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseEnabledPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseEnabledPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEnabledPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseEnabledPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseEnabledPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseEnabledPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseEnabledPolicy` object. +/// ++ (DBTEAMLOGShowcaseEnabledPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewerInfoPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseExternalSharingPolicy.h similarity index 58% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewerInfoPolicy.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseExternalSharingPolicy.h index 1edfea9bf..035b05272 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSharedContentViewerInfoPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseExternalSharingPolicy.h @@ -8,42 +8,42 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGSharedContentViewerInfoPolicy; +@class DBTEAMLOGShowcaseExternalSharingPolicy; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `SharedContentViewerInfoPolicy` union. +/// The `ShowcaseExternalSharingPolicy` union. /// -/// Shared content viewer info policy +/// Policy for controlling if team members can share Showcases externally. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGSharedContentViewerInfoPolicy : NSObject +@interface DBTEAMLOGShowcaseExternalSharingPolicy : NSObject #pragma mark - Instance fields -/// The `DBTEAMLOGSharedContentViewerInfoPolicyTag` enum type represents the -/// possible tag states with which the `DBTEAMLOGSharedContentViewerInfoPolicy` +/// The `DBTEAMLOGShowcaseExternalSharingPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGShowcaseExternalSharingPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSharedContentViewerInfoPolicyTag) { - /// (no description). - DBTEAMLOGSharedContentViewerInfoPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGShowcaseExternalSharingPolicyTag){ + /// (no description). + DBTEAMLOGShowcaseExternalSharingPolicyDisabled, - /// (no description). - DBTEAMLOGSharedContentViewerInfoPolicyEnabled, + /// (no description). + DBTEAMLOGShowcaseExternalSharingPolicyEnabled, - /// (no description). - DBTEAMLOGSharedContentViewerInfoPolicyOther, + /// (no description). + DBTEAMLOGShowcaseExternalSharingPolicyOther, }; /// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGSharedContentViewerInfoPolicyTag tag; +@property (nonatomic, readonly) DBTEAMLOGShowcaseExternalSharingPolicyTag tag; #pragma mark - Constructors @@ -105,32 +105,32 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSharedContentViewerInfoPolicyTag) { #pragma mark - Serializer Object /// -/// The serialization class for the `DBTEAMLOGSharedContentViewerInfoPolicy` +/// The serialization class for the `DBTEAMLOGShowcaseExternalSharingPolicy` /// union. /// -@interface DBTEAMLOGSharedContentViewerInfoPolicySerializer : NSObject +@interface DBTEAMLOGShowcaseExternalSharingPolicySerializer : NSObject /// -/// Serializes `DBTEAMLOGSharedContentViewerInfoPolicy` instances. +/// Serializes `DBTEAMLOGShowcaseExternalSharingPolicy` instances. /// -/// @param instance An instance of the `DBTEAMLOGSharedContentViewerInfoPolicy` +/// @param instance An instance of the `DBTEAMLOGShowcaseExternalSharingPolicy` /// API object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentViewerInfoPolicy` API object. +/// `DBTEAMLOGShowcaseExternalSharingPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSharedContentViewerInfoPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseExternalSharingPolicy *)instance; /// -/// Deserializes `DBTEAMLOGSharedContentViewerInfoPolicy` instances. +/// Deserializes `DBTEAMLOGShowcaseExternalSharingPolicy` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGSharedContentViewerInfoPolicy` API object. +/// `DBTEAMLOGShowcaseExternalSharingPolicy` API object. /// -/// @return An instantiation of the `DBTEAMLOGSharedContentViewerInfoPolicy` +/// @return An instantiation of the `DBTEAMLOGShowcaseExternalSharingPolicy` /// object. /// -+ (DBTEAMLOGSharedContentViewerInfoPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedDetails.h new file mode 100644 index 000000000..6b90f346e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileAddedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileAddedDetails` struct. +/// +/// Added file to showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileAddedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileAddedDetails` struct. +/// +@interface DBTEAMLOGShowcaseFileAddedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileAddedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileAddedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileAddedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileAddedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileAddedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileAddedDetails` object. +/// ++ (DBTEAMLOGShowcaseFileAddedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedType.h new file mode 100644 index 000000000..e7a249230 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileAddedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileAddedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileAddedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileAddedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileAddedType` struct. +/// +@interface DBTEAMLOGShowcaseFileAddedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileAddedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileAddedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileAddedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileAddedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileAddedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileAddedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileAddedType` object. +/// ++ (DBTEAMLOGShowcaseFileAddedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadDetails.h new file mode 100644 index 000000000..934ae6fc3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileDownloadDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileDownloadDetails` struct. +/// +/// Downloaded file from showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileDownloadDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Showcase download type. +@property (nonatomic, readonly, copy) NSString *downloadType; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param downloadType Showcase download type. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid downloadType:(NSString *)downloadType; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileDownloadDetails` struct. +/// +@interface DBTEAMLOGShowcaseFileDownloadDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileDownloadDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileDownloadDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileDownloadDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileDownloadDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileDownloadDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileDownloadDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseFileDownloadDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadType.h new file mode 100644 index 000000000..8998dae5e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileDownloadType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileDownloadType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileDownloadType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileDownloadType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileDownloadType` struct. +/// +@interface DBTEAMLOGShowcaseFileDownloadTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileDownloadType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileDownloadType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileDownloadType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileDownloadType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileDownloadType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileDownloadType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileDownloadType` object. +/// ++ (DBTEAMLOGShowcaseFileDownloadType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedDetails.h new file mode 100644 index 000000000..6cc50fb4c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileRemovedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileRemovedDetails` struct. +/// +/// Removed file from showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileRemovedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileRemovedDetails` struct. +/// +@interface DBTEAMLOGShowcaseFileRemovedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileRemovedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileRemovedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileRemovedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileRemovedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileRemovedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileRemovedDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseFileRemovedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedType.h new file mode 100644 index 000000000..7442817a6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileRemovedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileRemovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileRemovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileRemovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileRemovedType` struct. +/// +@interface DBTEAMLOGShowcaseFileRemovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileRemovedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileRemovedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileRemovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileRemovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileRemovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileRemovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileRemovedType` object. +/// ++ (DBTEAMLOGShowcaseFileRemovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewDetails.h new file mode 100644 index 000000000..1ea3ca931 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileViewDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileViewDetails` struct. +/// +/// Viewed file in showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileViewDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileViewDetails` struct. +/// +@interface DBTEAMLOGShowcaseFileViewDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileViewDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileViewDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileViewDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileViewDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileViewDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileViewDetails` object. +/// ++ (DBTEAMLOGShowcaseFileViewDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewType.h new file mode 100644 index 000000000..e4f1caf7e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseFileViewType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseFileViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseFileViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseFileViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseFileViewType` struct. +/// +@interface DBTEAMLOGShowcaseFileViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseFileViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseFileViewType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseFileViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseFileViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseFileViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseFileViewType` object. +/// ++ (DBTEAMLOGShowcaseFileViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedDetails.h new file mode 100644 index 000000000..e7057bb46 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcasePermanentlyDeletedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcasePermanentlyDeletedDetails` struct. +/// +/// Permanently deleted showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcasePermanentlyDeletedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcasePermanentlyDeletedDetails` struct. +/// +@interface DBTEAMLOGShowcasePermanentlyDeletedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcasePermanentlyDeletedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcasePermanentlyDeletedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePermanentlyDeletedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcasePermanentlyDeletedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePermanentlyDeletedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcasePermanentlyDeletedDetails` +/// object. +/// ++ (DBTEAMLOGShowcasePermanentlyDeletedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedType.h new file mode 100644 index 000000000..cee226028 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePermanentlyDeletedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcasePermanentlyDeletedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcasePermanentlyDeletedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcasePermanentlyDeletedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcasePermanentlyDeletedType` struct. +/// +@interface DBTEAMLOGShowcasePermanentlyDeletedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcasePermanentlyDeletedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcasePermanentlyDeletedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePermanentlyDeletedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcasePermanentlyDeletedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcasePermanentlyDeletedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePermanentlyDeletedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcasePermanentlyDeletedType` +/// object. +/// ++ (DBTEAMLOGShowcasePermanentlyDeletedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentDetails.h new file mode 100644 index 000000000..97a7675a0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcasePostCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcasePostCommentDetails` struct. +/// +/// Added showcase comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcasePostCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcasePostCommentDetails` struct. +/// +@interface DBTEAMLOGShowcasePostCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcasePostCommentDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcasePostCommentDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePostCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcasePostCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePostCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcasePostCommentDetails` +/// object. +/// ++ (DBTEAMLOGShowcasePostCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentType.h new file mode 100644 index 000000000..a9e20be54 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcasePostCommentType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcasePostCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcasePostCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcasePostCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcasePostCommentType` struct. +/// +@interface DBTEAMLOGShowcasePostCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcasePostCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcasePostCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePostCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcasePostCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcasePostCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcasePostCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcasePostCommentType` object. +/// ++ (DBTEAMLOGShowcasePostCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberDetails.h new file mode 100644 index 000000000..3b14eeeaf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRemoveMemberDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRemoveMemberDetails` struct. +/// +/// Removed member from showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRemoveMemberDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRemoveMemberDetails` struct. +/// +@interface DBTEAMLOGShowcaseRemoveMemberDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRemoveMemberDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRemoveMemberDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRemoveMemberDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRemoveMemberDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRemoveMemberDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRemoveMemberDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseRemoveMemberDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberType.h new file mode 100644 index 000000000..a79d55c94 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRemoveMemberType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRemoveMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRemoveMemberType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRemoveMemberType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRemoveMemberType` struct. +/// +@interface DBTEAMLOGShowcaseRemoveMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRemoveMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRemoveMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRemoveMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRemoveMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRemoveMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRemoveMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRemoveMemberType` object. +/// ++ (DBTEAMLOGShowcaseRemoveMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedDetails.h new file mode 100644 index 000000000..d63e3d0e6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRenamedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRenamedDetails` struct. +/// +/// Renamed showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRenamedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRenamedDetails` struct. +/// +@interface DBTEAMLOGShowcaseRenamedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRenamedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRenamedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRenamedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRenamedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRenamedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRenamedDetails` object. +/// ++ (DBTEAMLOGShowcaseRenamedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedType.h new file mode 100644 index 000000000..1c4bce912 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRenamedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRenamedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRenamedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRenamedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRenamedType` struct. +/// +@interface DBTEAMLOGShowcaseRenamedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRenamedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRenamedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRenamedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRenamedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRenamedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRenamedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRenamedType` object. +/// ++ (DBTEAMLOGShowcaseRenamedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessDetails.h new file mode 100644 index 000000000..1ffb8c949 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRequestAccessDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRequestAccessDetails` struct. +/// +/// Requested access to showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRequestAccessDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRequestAccessDetails` struct. +/// +@interface DBTEAMLOGShowcaseRequestAccessDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRequestAccessDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRequestAccessDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRequestAccessDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRequestAccessDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRequestAccessDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRequestAccessDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseRequestAccessDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessType.h new file mode 100644 index 000000000..38b26d940 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRequestAccessType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRequestAccessType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRequestAccessType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRequestAccessType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRequestAccessType` struct. +/// +@interface DBTEAMLOGShowcaseRequestAccessTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRequestAccessType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRequestAccessType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRequestAccessType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRequestAccessType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRequestAccessType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRequestAccessType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRequestAccessType` object. +/// ++ (DBTEAMLOGShowcaseRequestAccessType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentDetails.h new file mode 100644 index 000000000..7fce124fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseResolveCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseResolveCommentDetails` struct. +/// +/// Resolved showcase comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseResolveCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseResolveCommentDetails` struct. +/// +@interface DBTEAMLOGShowcaseResolveCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseResolveCommentDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseResolveCommentDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseResolveCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseResolveCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseResolveCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseResolveCommentDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseResolveCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentType.h new file mode 100644 index 000000000..8cc4caaf7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseResolveCommentType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseResolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseResolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseResolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseResolveCommentType` struct. +/// +@interface DBTEAMLOGShowcaseResolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseResolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseResolveCommentType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseResolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseResolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseResolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseResolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseResolveCommentType` +/// object. +/// ++ (DBTEAMLOGShowcaseResolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredDetails.h new file mode 100644 index 000000000..d0e3653bc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRestoredDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRestoredDetails` struct. +/// +/// Unarchived showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRestoredDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRestoredDetails` struct. +/// +@interface DBTEAMLOGShowcaseRestoredDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRestoredDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRestoredDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRestoredDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRestoredDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRestoredDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRestoredDetails` object. +/// ++ (DBTEAMLOGShowcaseRestoredDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredType.h new file mode 100644 index 000000000..7ec20c65e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseRestoredType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseRestoredType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseRestoredType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseRestoredType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseRestoredType` struct. +/// +@interface DBTEAMLOGShowcaseRestoredTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseRestoredType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseRestoredType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRestoredType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseRestoredType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseRestoredType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseRestoredType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseRestoredType` object. +/// ++ (DBTEAMLOGShowcaseRestoredType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedDetails.h new file mode 100644 index 000000000..912b7b93e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseTrashedDeprecatedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseTrashedDeprecatedDetails` struct. +/// +/// Deleted showcase (old version). +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseTrashedDeprecatedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseTrashedDeprecatedDetails` struct. +/// +@interface DBTEAMLOGShowcaseTrashedDeprecatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseTrashedDeprecatedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseTrashedDeprecatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDeprecatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseTrashedDeprecatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDeprecatedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseTrashedDeprecatedDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseTrashedDeprecatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedType.h new file mode 100644 index 000000000..e1802da80 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDeprecatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseTrashedDeprecatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseTrashedDeprecatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseTrashedDeprecatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseTrashedDeprecatedType` struct. +/// +@interface DBTEAMLOGShowcaseTrashedDeprecatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseTrashedDeprecatedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseTrashedDeprecatedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDeprecatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDeprecatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseTrashedDeprecatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDeprecatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseTrashedDeprecatedType` +/// object. +/// ++ (DBTEAMLOGShowcaseTrashedDeprecatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDetails.h new file mode 100644 index 000000000..e3f91eff6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseTrashedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseTrashedDetails` struct. +/// +/// Deleted showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseTrashedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseTrashedDetails` struct. +/// +@interface DBTEAMLOGShowcaseTrashedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseTrashedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseTrashedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseTrashedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseTrashedDetails` object. +/// ++ (DBTEAMLOGShowcaseTrashedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedType.h new file mode 100644 index 000000000..07d6b263c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseTrashedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseTrashedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseTrashedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseTrashedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseTrashedType` struct. +/// +@interface DBTEAMLOGShowcaseTrashedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseTrashedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseTrashedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseTrashedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseTrashedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseTrashedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseTrashedType` object. +/// ++ (DBTEAMLOGShowcaseTrashedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentDetails.h new file mode 100644 index 000000000..7356f5f86 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentDetails.h @@ -0,0 +1,93 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUnresolveCommentDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUnresolveCommentDetails` struct. +/// +/// Unresolved showcase comment. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUnresolveCommentDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +/// Comment text. +@property (nonatomic, readonly, copy, nullable) NSString *commentText; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// @param commentText Comment text. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid commentText:(nullable NSString *)commentText; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUnresolveCommentDetails` struct. +/// +@interface DBTEAMLOGShowcaseUnresolveCommentDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUnresolveCommentDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseUnresolveCommentDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUnresolveCommentDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUnresolveCommentDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUnresolveCommentDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseUnresolveCommentDetails` +/// object. +/// ++ (DBTEAMLOGShowcaseUnresolveCommentDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentType.h new file mode 100644 index 000000000..0dfeae503 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUnresolveCommentType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUnresolveCommentType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUnresolveCommentType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUnresolveCommentType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUnresolveCommentType` struct. +/// +@interface DBTEAMLOGShowcaseUnresolveCommentTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUnresolveCommentType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseUnresolveCommentType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUnresolveCommentType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUnresolveCommentType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUnresolveCommentType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUnresolveCommentType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseUnresolveCommentType` +/// object. +/// ++ (DBTEAMLOGShowcaseUnresolveCommentType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h new file mode 100644 index 000000000..3101ec555 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUntrashedDeprecatedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUntrashedDeprecatedDetails` struct. +/// +/// Restored showcase (old version). +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUntrashedDeprecatedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUntrashedDeprecatedDetails` struct. +/// +@interface DBTEAMLOGShowcaseUntrashedDeprecatedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedDetails` object. +/// ++ (DBTEAMLOGShowcaseUntrashedDeprecatedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedType.h new file mode 100644 index 000000000..d442ab23a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDeprecatedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUntrashedDeprecatedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUntrashedDeprecatedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUntrashedDeprecatedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUntrashedDeprecatedType` struct. +/// +@interface DBTEAMLOGShowcaseUntrashedDeprecatedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUntrashedDeprecatedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDeprecatedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUntrashedDeprecatedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDeprecatedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseUntrashedDeprecatedType` +/// object. +/// ++ (DBTEAMLOGShowcaseUntrashedDeprecatedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDetails.h new file mode 100644 index 000000000..848cca3fb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUntrashedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUntrashedDetails` struct. +/// +/// Restored showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUntrashedDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUntrashedDetails` struct. +/// +@interface DBTEAMLOGShowcaseUntrashedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUntrashedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseUntrashedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUntrashedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseUntrashedDetails` object. +/// ++ (DBTEAMLOGShowcaseUntrashedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedType.h new file mode 100644 index 000000000..e18836940 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseUntrashedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseUntrashedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseUntrashedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseUntrashedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseUntrashedType` struct. +/// +@interface DBTEAMLOGShowcaseUntrashedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseUntrashedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseUntrashedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseUntrashedType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseUntrashedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseUntrashedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseUntrashedType` object. +/// ++ (DBTEAMLOGShowcaseUntrashedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewDetails.h new file mode 100644 index 000000000..e52d3ecea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseViewDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseViewDetails` struct. +/// +/// Viewed showcase. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseViewDetails : NSObject + +#pragma mark - Instance fields + +/// Event unique identifier. +@property (nonatomic, readonly, copy) NSString *eventUuid; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param eventUuid Event unique identifier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEventUuid:(NSString *)eventUuid; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseViewDetails` struct. +/// +@interface DBTEAMLOGShowcaseViewDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseViewDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseViewDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseViewDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseViewDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseViewDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseViewDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseViewDetails` object. +/// ++ (DBTEAMLOGShowcaseViewDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewType.h new file mode 100644 index 000000000..6790faf85 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShowcaseViewType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGShowcaseViewType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseViewType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGShowcaseViewType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ShowcaseViewType` struct. +/// +@interface DBTEAMLOGShowcaseViewTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGShowcaseViewType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGShowcaseViewType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseViewType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGShowcaseViewType *)instance; + +/// +/// Deserializes `DBTEAMLOGShowcaseViewType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGShowcaseViewType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGShowcaseViewType` object. +/// ++ (DBTEAMLOGShowcaseViewType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndDetails.h index fe88efee8..0460a5c2f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionEndDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndDetails *)instance; /// /// Deserializes `DBTEAMLOGSignInAsSessionEndDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSignInAsSessionEndDetails` object. /// -+ (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSignInAsSessionEndDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndType.h new file mode 100644 index 000000000..d630e539a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionEndType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSignInAsSessionEndType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SignInAsSessionEndType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSignInAsSessionEndType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SignInAsSessionEndType` struct. +/// +@interface DBTEAMLOGSignInAsSessionEndTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSignInAsSessionEndType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSignInAsSessionEndType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSignInAsSessionEndType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionEndType *)instance; + +/// +/// Deserializes `DBTEAMLOGSignInAsSessionEndType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSignInAsSessionEndType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSignInAsSessionEndType` object. +/// ++ (DBTEAMLOGSignInAsSessionEndType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartDetails.h index f787e3b18..449bf9460 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartDetails.h @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSignInAsSessionStartDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartDetails *)instance; /// /// Deserializes `DBTEAMLOGSignInAsSessionStartDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSignInAsSessionStartDetails` /// object. /// -+ (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSignInAsSessionStartDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartType.h new file mode 100644 index 000000000..28674a3b7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSignInAsSessionStartType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSignInAsSessionStartType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SignInAsSessionStartType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSignInAsSessionStartType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SignInAsSessionStartType` struct. +/// +@interface DBTEAMLOGSignInAsSessionStartTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSignInAsSessionStartType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSignInAsSessionStartType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSignInAsSessionStartType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSignInAsSessionStartType *)instance; + +/// +/// Deserializes `DBTEAMLOGSignInAsSessionStartType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSignInAsSessionStartType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSignInAsSessionStartType` object. +/// ++ (DBTEAMLOGSignInAsSessionStartType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyDetails.h index 9b39737c3..8f64b02b6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SmartSyncChangePolicyDetails` struct. /// -/// Changed the default Smart Sync policy for team members. +/// Changed default Smart Sync setting for team members. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields /// New smart sync policy. -@property (nonatomic, readonly) DBTEAMPOLICIESSmartSyncPolicy *dNewValue; +@property (nonatomic, readonly, nullable) DBTEAMPOLICIESSmartSyncPolicy *dNewValue; /// Previous smart sync policy. @property (nonatomic, readonly, nullable) DBTEAMPOLICIESSmartSyncPolicy *previousValue; @@ -44,18 +44,17 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An initialized instance. /// -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue +- (instancetype)initWithDNewValue:(nullable DBTEAMPOLICIESSmartSyncPolicy *)dNewValue previousValue:(nullable DBTEAMPOLICIESSmartSyncPolicy *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with /// no default value). /// -/// @param dNewValue New smart sync policy. /// /// @return An initialized instance. /// -- (instancetype)initWithDNewValue:(DBTEAMPOLICIESSmartSyncPolicy *)dNewValue; +- (instancetype)initDefault; - (instancetype)init NS_UNAVAILABLE; @@ -77,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncChangePolicyDetails` instances. @@ -88,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSmartSyncChangePolicyDetails` /// object. /// -+ (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSmartSyncChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyType.h new file mode 100644 index 000000000..986716dc4 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmartSyncChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmartSyncChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmartSyncChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmartSyncChangePolicyType` struct. +/// +@interface DBTEAMLOGSmartSyncChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmartSyncChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSmartSyncChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSmartSyncChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSmartSyncChangePolicyType` object. +/// ++ (DBTEAMLOGSmartSyncChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h index 06fff5722..ab14ec433 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SmartSyncCreateAdminPrivilegeReportDetails` struct. /// -/// Smart Sync non-admin devices report created. +/// Created Smart Sync non-admin devices report. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -57,7 +57,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails` object. /// -+ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h new file mode 100644 index 000000000..cb44c221a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmartSyncCreateAdminPrivilegeReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmartSyncCreateAdminPrivilegeReportType` +/// struct. +/// +@interface DBTEAMLOGSmartSyncCreateAdminPrivilegeReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType` object. +/// ++ (DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutDetails.h index 5eb59caec..28519a695 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutDetails.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncNotOptOutDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncNotOptOutDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSmartSyncNotOptOutDetails` object. /// -+ (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSmartSyncNotOptOutDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutType.h new file mode 100644 index 000000000..ca2d47e93 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncNotOptOutType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmartSyncNotOptOutType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmartSyncNotOptOutType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmartSyncNotOptOutType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmartSyncNotOptOutType` struct. +/// +@interface DBTEAMLOGSmartSyncNotOptOutTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmartSyncNotOptOutType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSmartSyncNotOptOutType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncNotOptOutType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncNotOptOutType *)instance; + +/// +/// Deserializes `DBTEAMLOGSmartSyncNotOptOutType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncNotOptOutType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSmartSyncNotOptOutType` object. +/// ++ (DBTEAMLOGSmartSyncNotOptOutType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutDetails.h index eae020b55..caf0c935c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutDetails.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutDetails *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncOptOutDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSmartSyncOptOutDetails` object. /// -+ (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSmartSyncOptOutDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutPolicy.h index a1176ce63..f562b5640 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGSmartSyncOptOutPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMLOGSmartSyncOptOutPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSmartSyncOptOutPolicyTag) { - /// (no description). - DBTEAMLOGSmartSyncOptOutPolicyDefault_, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSmartSyncOptOutPolicyTag){ + /// (no description). + DBTEAMLOGSmartSyncOptOutPolicyDefault_, - /// (no description). - DBTEAMLOGSmartSyncOptOutPolicyOptedOut, + /// (no description). + DBTEAMLOGSmartSyncOptOutPolicyOptedOut, - /// (no description). - DBTEAMLOGSmartSyncOptOutPolicyOther, + /// (no description). + DBTEAMLOGSmartSyncOptOutPolicyOther, }; @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSmartSyncOptOutPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSmartSyncOptOutPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutPolicy *)instance; /// /// Deserializes `DBTEAMLOGSmartSyncOptOutPolicy` instances. @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSmartSyncOptOutPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGSmartSyncOptOutPolicy` object. /// -+ (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSmartSyncOptOutPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutType.h new file mode 100644 index 000000000..5198093f5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmartSyncOptOutType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmartSyncOptOutType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmartSyncOptOutType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmartSyncOptOutType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmartSyncOptOutType` struct. +/// +@interface DBTEAMLOGSmartSyncOptOutTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmartSyncOptOutType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSmartSyncOptOutType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncOptOutType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmartSyncOptOutType *)instance; + +/// +/// Deserializes `DBTEAMLOGSmartSyncOptOutType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmartSyncOptOutType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSmartSyncOptOutType` object. +/// ++ (DBTEAMLOGSmartSyncOptOutType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h new file mode 100644 index 000000000..f3b31b54c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmarterSmartSyncPolicyChangedDetails; +@class DBTEAMPOLICIESSmarterSmartSyncPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmarterSmartSyncPolicyChangedDetails` struct. +/// +/// Changed automatic Smart Sync setting for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmarterSmartSyncPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Previous automatic Smart Sync setting. +@property (nonatomic, readonly) DBTEAMPOLICIESSmarterSmartSyncPolicyState *previousValue; + +/// New automatic Smart Sync setting. +@property (nonatomic, readonly) DBTEAMPOLICIESSmarterSmartSyncPolicyState *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous automatic Smart Sync setting. +/// @param dNewValue New automatic Smart Sync setting. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)previousValue + dNewValue:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmarterSmartSyncPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGSmarterSmartSyncPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedDetails` object. +/// ++ (DBTEAMLOGSmarterSmartSyncPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedType.h new file mode 100644 index 000000000..e58bc0cd0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSmarterSmartSyncPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSmarterSmartSyncPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmarterSmartSyncPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSmarterSmartSyncPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SmarterSmartSyncPolicyChangedType` struct. +/// +@interface DBTEAMLOGSmarterSmartSyncPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSmarterSmartSyncPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSmarterSmartSyncPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGSmarterSmartSyncPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSmarterSmartSyncPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSmarterSmartSyncPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGSmarterSmartSyncPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceCapsType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceCapsType.h new file mode 100644 index 000000000..8d0efe8b8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceCapsType.h @@ -0,0 +1,150 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSpaceCapsType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SpaceCapsType` union. +/// +/// Space limit alert policy +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSpaceCapsType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGSpaceCapsTypeTag` enum type represents the possible tag states +/// with which the `DBTEAMLOGSpaceCapsType` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSpaceCapsTypeTag){ + /// (no description). + DBTEAMLOGSpaceCapsTypeHard, + + /// (no description). + DBTEAMLOGSpaceCapsTypeOff, + + /// (no description). + DBTEAMLOGSpaceCapsTypeSoft, + + /// (no description). + DBTEAMLOGSpaceCapsTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGSpaceCapsTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "hard". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithHard; + +/// +/// Initializes union class with tag state of "off". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOff; + +/// +/// Initializes union class with tag state of "soft". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSoft; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "hard". +/// +/// @return Whether the union's current tag state has value "hard". +/// +- (BOOL)isHard; + +/// +/// Retrieves whether the union's current tag state has value "off". +/// +/// @return Whether the union's current tag state has value "off". +/// +- (BOOL)isOff; + +/// +/// Retrieves whether the union's current tag state has value "soft". +/// +/// @return Whether the union's current tag state has value "soft". +/// +- (BOOL)isSoft; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGSpaceCapsType` union. +/// +@interface DBTEAMLOGSpaceCapsTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSpaceCapsType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSpaceCapsType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSpaceCapsType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSpaceCapsType *)instance; + +/// +/// Deserializes `DBTEAMLOGSpaceCapsType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSpaceCapsType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSpaceCapsType` object. +/// ++ (DBTEAMLOGSpaceCapsType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceLimitsStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceLimitsStatus.h index 15eca8af8..836d20a0b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceLimitsStatus.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSpaceLimitsStatus.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGSpaceLimitsStatusTag` enum type represents the possible tag /// states with which the `DBTEAMLOGSpaceLimitsStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { - /// (no description). - DBTEAMLOGSpaceLimitsStatusWithinQuota, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag){ + /// (no description). + DBTEAMLOGSpaceLimitsStatusNearQuota, - /// (no description). - DBTEAMLOGSpaceLimitsStatusNearQuota, + /// (no description). + DBTEAMLOGSpaceLimitsStatusOverQuota, - /// (no description). - DBTEAMLOGSpaceLimitsStatusOverQuota, + /// (no description). + DBTEAMLOGSpaceLimitsStatusWithinQuota, - /// (no description). - DBTEAMLOGSpaceLimitsStatusOther, + /// (no description). + DBTEAMLOGSpaceLimitsStatusOther, }; @@ -48,25 +48,25 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "within_quota". +/// Initializes union class with tag state of "near_quota". /// /// @return An initialized instance. /// -- (instancetype)initWithWithinQuota; +- (instancetype)initWithNearQuota; /// -/// Initializes union class with tag state of "near_quota". +/// Initializes union class with tag state of "over_quota". /// /// @return An initialized instance. /// -- (instancetype)initWithNearQuota; +- (instancetype)initWithOverQuota; /// -/// Initializes union class with tag state of "over_quota". +/// Initializes union class with tag state of "within_quota". /// /// @return An initialized instance. /// -- (instancetype)initWithOverQuota; +- (instancetype)initWithWithinQuota; /// /// Initializes union class with tag state of "other". @@ -79,13 +79,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { #pragma mark - Tag state methods -/// -/// Retrieves whether the union's current tag state has value "within_quota". -/// -/// @return Whether the union's current tag state has value "within_quota". -/// -- (BOOL)isWithinQuota; - /// /// Retrieves whether the union's current tag state has value "near_quota". /// @@ -100,6 +93,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { /// - (BOOL)isOverQuota; +/// +/// Retrieves whether the union's current tag state has value "within_quota". +/// +/// @return Whether the union's current tag state has value "within_quota". +/// +- (BOOL)isWithinQuota; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSpaceLimitsStatus` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSpaceLimitsStatus *)instance; /// /// Deserializes `DBTEAMLOGSpaceLimitsStatus` instances. @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGSpaceLimitsStatusTag) { /// /// @return An instantiation of the `DBTEAMLOGSpaceLimitsStatus` object. /// -+ (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSpaceLimitsStatus *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertDetails.h index f8dbe253e..3abdbde52 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoAddCertDetails` struct. /// -/// Added the X.509 certificate for SSO. +/// Added X.509 certificate for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddCertDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddCertDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoAddCertDetails` object. /// -+ (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoAddCertDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertType.h new file mode 100644 index 000000000..c7a9508bc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddCertType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoAddCertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoAddCertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoAddCertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoAddCertType` struct. +/// +@interface DBTEAMLOGSsoAddCertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoAddCertType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoAddCertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddCertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddCertType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoAddCertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddCertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoAddCertType` object. +/// ++ (DBTEAMLOGSsoAddCertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlDetails.h index aa8db6829..ee96743a2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlDetails.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLoginUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddLoginUrlDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoAddLoginUrlDetails` object. /// -+ (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoAddLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlType.h new file mode 100644 index 000000000..298340439 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLoginUrlType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoAddLoginUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoAddLoginUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoAddLoginUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoAddLoginUrlType` struct. +/// +@interface DBTEAMLOGSsoAddLoginUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoAddLoginUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoAddLoginUrlType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddLoginUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLoginUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoAddLoginUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddLoginUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoAddLoginUrlType` object. +/// ++ (DBTEAMLOGSsoAddLoginUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlDetails.h index 1a5a05771..9e9ce9120 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlDetails.h @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// New single sign-on logout URL. Might be missing due to historical data gap. +/// New single sign-on logout URL. @property (nonatomic, readonly, copy, nullable) NSString *dNewValue; #pragma mark - Constructors @@ -35,8 +35,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param dNewValue New single sign-on logout URL. Might be missing due to -/// historical data gap. +/// @param dNewValue New single sign-on logout URL. /// /// @return An initialized instance. /// @@ -71,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoAddLogoutUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoAddLogoutUrlDetails` instances. @@ -81,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoAddLogoutUrlDetails` object. /// -+ (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoAddLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlType.h new file mode 100644 index 000000000..5f0cca935 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoAddLogoutUrlType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoAddLogoutUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoAddLogoutUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoAddLogoutUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoAddLogoutUrlType` struct. +/// +@interface DBTEAMLOGSsoAddLogoutUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoAddLogoutUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoAddLogoutUrlType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddLogoutUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoAddLogoutUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoAddLogoutUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoAddLogoutUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoAddLogoutUrlType` object. +/// ++ (DBTEAMLOGSsoAddLogoutUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertDetails.h index 47e4f585d..1b7399ae8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoChangeCertDetails` struct. /// -/// Changed the X.509 certificate for SSO. +/// Changed X.509 certificate for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeCertDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeCertDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoChangeCertDetails` object. /// -+ (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoChangeCertDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertType.h new file mode 100644 index 000000000..e8734ca5e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeCertType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoChangeCertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoChangeCertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoChangeCertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoChangeCertType` struct. +/// +@interface DBTEAMLOGSsoChangeCertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoChangeCertType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoChangeCertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeCertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeCertType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoChangeCertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeCertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoChangeCertType` object. +/// ++ (DBTEAMLOGSsoChangeCertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlDetails.h index 3a29ef279..c211e1e48 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoChangeLoginUrlDetails` struct. /// -/// Changed the sign-in URL for SSO. +/// Changed sign-in URL for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLoginUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeLoginUrlDetails` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoChangeLoginUrlDetails` object. /// -+ (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoChangeLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlType.h new file mode 100644 index 000000000..52210da50 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLoginUrlType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoChangeLoginUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoChangeLoginUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoChangeLoginUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoChangeLoginUrlType` struct. +/// +@interface DBTEAMLOGSsoChangeLoginUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoChangeLoginUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoChangeLoginUrlType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeLoginUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLoginUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoChangeLoginUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeLoginUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoChangeLoginUrlType` object. +/// ++ (DBTEAMLOGSsoChangeLoginUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlDetails.h index 0d76b2f6f..083498efd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoChangeLogoutUrlDetails` struct. /// -/// Changed the sign-out URL for SSO. +/// Changed sign-out URL for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -31,7 +31,7 @@ NS_ASSUME_NONNULL_BEGIN /// gap. @property (nonatomic, readonly, copy, nullable) NSString *previousValue; -/// New single sign-on logout URL. Might be missing due to historical data gap. +/// New single sign-on logout URL. @property (nonatomic, readonly, copy, nullable) NSString *dNewValue; #pragma mark - Constructors @@ -41,8 +41,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param previousValue Previous single sign-on logout URL. Might be missing /// due to historical data gap. -/// @param dNewValue New single sign-on logout URL. Might be missing due to -/// historical data gap. +/// @param dNewValue New single sign-on logout URL. /// /// @return An initialized instance. /// @@ -77,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeLogoutUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeLogoutUrlDetails` instances. @@ -87,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoChangeLogoutUrlDetails` object. /// -+ (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoChangeLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlType.h new file mode 100644 index 000000000..7af825aee --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeLogoutUrlType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoChangeLogoutUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoChangeLogoutUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoChangeLogoutUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoChangeLogoutUrlType` struct. +/// +@interface DBTEAMLOGSsoChangeLogoutUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoChangeLogoutUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoChangeLogoutUrlType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeLogoutUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeLogoutUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoChangeLogoutUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeLogoutUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoChangeLogoutUrlType` object. +/// ++ (DBTEAMLOGSsoChangeLogoutUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyDetails.h index 491dfb32e..c5c427d43 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoChangePolicyDetails` struct. /// -/// Change the single sign-on policy for the team. +/// Changed single sign-on setting for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangePolicyDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoChangePolicyDetails` object. /// -+ (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyType.h new file mode 100644 index 000000000..51940275a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoChangePolicyType` struct. +/// +@interface DBTEAMLOGSsoChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoChangePolicyType` object. +/// ++ (DBTEAMLOGSsoChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeDetails.h index 8e31ef66a..c13166489 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoChangeSamlIdentityModeDetails` struct. /// -/// Changed the SAML identity mode for SSO. +/// Changed SAML identity mode for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoChangeSamlIdentityModeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoChangeSamlIdentityModeDetails` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGSsoChangeSamlIdentityModeDetails` /// object. /// -+ (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoChangeSamlIdentityModeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeType.h new file mode 100644 index 000000000..5112d891a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoChangeSamlIdentityModeType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoChangeSamlIdentityModeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoChangeSamlIdentityModeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoChangeSamlIdentityModeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoChangeSamlIdentityModeType` struct. +/// +@interface DBTEAMLOGSsoChangeSamlIdentityModeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoChangeSamlIdentityModeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoChangeSamlIdentityModeType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeSamlIdentityModeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoChangeSamlIdentityModeType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoChangeSamlIdentityModeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoChangeSamlIdentityModeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoChangeSamlIdentityModeType` +/// object. +/// ++ (DBTEAMLOGSsoChangeSamlIdentityModeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorDetails.h index 1fc2f6544..68d0c9b96 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorDetails.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoErrorDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoErrorDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoErrorDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoErrorDetails` object. /// -+ (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoErrorDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorType.h new file mode 100644 index 000000000..1c98894b8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoErrorType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoErrorType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoErrorType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoErrorType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoErrorType` struct. +/// +@interface DBTEAMLOGSsoErrorTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoErrorType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoErrorType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoErrorType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoErrorType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoErrorType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoErrorType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoErrorType` object. +/// ++ (DBTEAMLOGSsoErrorType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertDetails.h index 9a6a29827..19ac7b781 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoRemoveCertDetails` struct. /// -/// Removed the X.509 certificate for SSO. +/// Removed X.509 certificate for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveCertDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveCertDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveCertDetails` object. /// -+ (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoRemoveCertDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertType.h new file mode 100644 index 000000000..0b8dc6d32 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveCertType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoRemoveCertType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoRemoveCertType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoRemoveCertType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoRemoveCertType` struct. +/// +@interface DBTEAMLOGSsoRemoveCertTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoRemoveCertType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoRemoveCertType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveCertType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveCertType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoRemoveCertType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveCertType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoRemoveCertType` object. +/// ++ (DBTEAMLOGSsoRemoveCertType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlDetails.h index 02b02f1c4..68f10862c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoRemoveLoginUrlDetails` struct. /// -/// Removed the sign-in URL for SSO. +/// Removed sign-in URL for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLoginUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveLoginUrlDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveLoginUrlDetails` object. /// -+ (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoRemoveLoginUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlType.h new file mode 100644 index 000000000..e3d218e6d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLoginUrlType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoRemoveLoginUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoRemoveLoginUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoRemoveLoginUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoRemoveLoginUrlType` struct. +/// +@interface DBTEAMLOGSsoRemoveLoginUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoRemoveLoginUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoRemoveLoginUrlType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveLoginUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLoginUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoRemoveLoginUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveLoginUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoRemoveLoginUrlType` object. +/// ++ (DBTEAMLOGSsoRemoveLoginUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlDetails.h index 9a919a874..c016f4dc2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `SsoRemoveLogoutUrlDetails` struct. /// -/// Removed single sign-on logout URL. +/// Removed sign-out URL for SSO. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGSsoRemoveLogoutUrlDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlDetails *)instance; /// /// Deserializes `DBTEAMLOGSsoRemoveLogoutUrlDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGSsoRemoveLogoutUrlDetails` object. /// -+ (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGSsoRemoveLogoutUrlDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlType.h new file mode 100644 index 000000000..ab4817e1b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGSsoRemoveLogoutUrlType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGSsoRemoveLogoutUrlType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SsoRemoveLogoutUrlType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGSsoRemoveLogoutUrlType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `SsoRemoveLogoutUrlType` struct. +/// +@interface DBTEAMLOGSsoRemoveLogoutUrlTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGSsoRemoveLogoutUrlType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGSsoRemoveLogoutUrlType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveLogoutUrlType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGSsoRemoveLogoutUrlType *)instance; + +/// +/// Deserializes `DBTEAMLOGSsoRemoveLogoutUrlType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGSsoRemoveLogoutUrlType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGSsoRemoveLogoutUrlType` object. +/// ++ (DBTEAMLOGSsoRemoveLogoutUrlType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionDetails.h new file mode 100644 index 000000000..30ec2fbd5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionDetails.h @@ -0,0 +1,82 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGFedExtraDetails; +@class DBTEAMLOGStartedEnterpriseAdminSessionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `StartedEnterpriseAdminSessionDetails` struct. +/// +/// Started enterprise admin session. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGStartedEnterpriseAdminSessionDetails : NSObject + +#pragma mark - Instance fields + +/// More information about the organization or team. +@property (nonatomic, readonly) DBTEAMLOGFedExtraDetails *federationExtraDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param federationExtraDetails More information about the organization or +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFederationExtraDetails:(DBTEAMLOGFedExtraDetails *)federationExtraDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `StartedEnterpriseAdminSessionDetails` +/// struct. +/// +@interface DBTEAMLOGStartedEnterpriseAdminSessionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGStartedEnterpriseAdminSessionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGStartedEnterpriseAdminSessionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionDetails` object. +/// ++ (DBTEAMLOGStartedEnterpriseAdminSessionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionType.h new file mode 100644 index 000000000..b2ebdddad --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGStartedEnterpriseAdminSessionType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGStartedEnterpriseAdminSessionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `StartedEnterpriseAdminSessionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGStartedEnterpriseAdminSessionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `StartedEnterpriseAdminSessionType` struct. +/// +@interface DBTEAMLOGStartedEnterpriseAdminSessionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGStartedEnterpriseAdminSessionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGStartedEnterpriseAdminSessionType *)instance; + +/// +/// Deserializes `DBTEAMLOGStartedEnterpriseAdminSessionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGStartedEnterpriseAdminSessionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGStartedEnterpriseAdminSessionType` +/// object. +/// ++ (DBTEAMLOGStartedEnterpriseAdminSessionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportDetails.h index 7cb80c02a..e10494e84 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamActivityCreateReportDetails` struct. /// -/// Created a team activity report. +/// Created team activity report. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamActivityCreateReportDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamActivityCreateReportDetails` instances. @@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamActivityCreateReportDetails` /// object. /// -+ (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamActivityCreateReportDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailDetails.h new file mode 100644 index 000000000..13af99527 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailDetails.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamActivityCreateReportFailDetails; +@class DBTEAMTeamReportFailureReason; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamActivityCreateReportFailDetails` struct. +/// +/// Couldn't generate team activity report. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamActivityCreateReportFailDetails : NSObject + +#pragma mark - Instance fields + +/// Failure reason. +@property (nonatomic, readonly) DBTEAMTeamReportFailureReason *failureReason; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param failureReason Failure reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFailureReason:(DBTEAMTeamReportFailureReason *)failureReason; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamActivityCreateReportFailDetails` +/// struct. +/// +@interface DBTEAMLOGTeamActivityCreateReportFailDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamActivityCreateReportFailDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamActivityCreateReportFailDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportFailDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamActivityCreateReportFailDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportFailDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamActivityCreateReportFailDetails` object. +/// ++ (DBTEAMLOGTeamActivityCreateReportFailDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailType.h new file mode 100644 index 000000000..a68855a69 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportFailType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamActivityCreateReportFailType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamActivityCreateReportFailType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamActivityCreateReportFailType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamActivityCreateReportFailType` struct. +/// +@interface DBTEAMLOGTeamActivityCreateReportFailTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamActivityCreateReportFailType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamActivityCreateReportFailType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportFailType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportFailType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamActivityCreateReportFailType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportFailType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamActivityCreateReportFailType` +/// object. +/// ++ (DBTEAMLOGTeamActivityCreateReportFailType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportType.h new file mode 100644 index 000000000..2ad7f31b6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamActivityCreateReportType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamActivityCreateReportType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamActivityCreateReportType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamActivityCreateReportType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamActivityCreateReportType` struct. +/// +@interface DBTEAMLOGTeamActivityCreateReportTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamActivityCreateReportType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamActivityCreateReportType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamActivityCreateReportType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamActivityCreateReportType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamActivityCreateReportType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamActivityCreateReportType` +/// object. +/// ++ (DBTEAMLOGTeamActivityCreateReportType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicy.h new file mode 100644 index 000000000..57c7b954e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamBrandingPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamBrandingPolicy` union. +/// +/// Policy for controlling team access to setting up branding feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamBrandingPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamBrandingPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGTeamBrandingPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamBrandingPolicyTag){ + /// (no description). + DBTEAMLOGTeamBrandingPolicyDisabled, + + /// (no description). + DBTEAMLOGTeamBrandingPolicyEnabled, + + /// (no description). + DBTEAMLOGTeamBrandingPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamBrandingPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTeamBrandingPolicy` union. +/// +@interface DBTEAMLOGTeamBrandingPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamBrandingPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamBrandingPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamBrandingPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamBrandingPolicy` object. +/// ++ (DBTEAMLOGTeamBrandingPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedDetails.h new file mode 100644 index 000000000..d99d8a88c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamBrandingPolicy; +@class DBTEAMLOGTeamBrandingPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamBrandingPolicyChangedDetails` struct. +/// +/// Changed team branding policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamBrandingPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New team branding policy. +@property (nonatomic, readonly) DBTEAMLOGTeamBrandingPolicy *dNewValue; + +/// Previous team branding policy. +@property (nonatomic, readonly) DBTEAMLOGTeamBrandingPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New team branding policy. +/// @param previousValue Previous team branding policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamBrandingPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamBrandingPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamBrandingPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGTeamBrandingPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamBrandingPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamBrandingPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamBrandingPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamBrandingPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGTeamBrandingPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedType.h new file mode 100644 index 000000000..cd2416507 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamBrandingPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamBrandingPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamBrandingPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamBrandingPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamBrandingPolicyChangedType` struct. +/// +@interface DBTEAMLOGTeamBrandingPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamBrandingPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamBrandingPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamBrandingPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamBrandingPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamBrandingPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamBrandingPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGTeamBrandingPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamDetails.h new file mode 100644 index 000000000..5ffd028fe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamDetails.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamDetails` struct. +/// +/// More details about the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The name of the team. +@property (nonatomic, readonly, copy) NSString *team; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param team The name of the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeam:(NSString *)team; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamDetails` struct. +/// +@interface DBTEAMLOGTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamDetails` object. +/// ++ (DBTEAMLOGTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h new file mode 100644 index 000000000..431a4c16b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyCancelKeyDeletionDetails` struct. +/// +/// Canceled team encryption key deletion. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyCancelKeyDeletionDetails` +/// struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails` object. +/// ++ (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h new file mode 100644 index 000000000..a3780e3c6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyCancelKeyDeletionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyCancelKeyDeletionType` +/// struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType` object. +/// ++ (DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h new file mode 100644 index 000000000..41826902b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyCreateKeyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyCreateKeyDetails` struct. +/// +/// Created team encryption key. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyCreateKeyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyCreateKeyDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyCreateKeyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyCreateKeyDetails` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyCreateKeyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyType.h new file mode 100644 index 000000000..fe1eabec8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyCreateKeyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyCreateKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyCreateKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyCreateKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyCreateKeyType` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyCreateKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyCreateKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamEncryptionKeyCreateKeyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCreateKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyCreateKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyCreateKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyCreateKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyCreateKeyType` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyCreateKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h new file mode 100644 index 000000000..1a2b1f944 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyDeleteKeyDetails` struct. +/// +/// Deleted team encryption key. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyDeleteKeyDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyDeleteKeyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h new file mode 100644 index 000000000..e3162b0c2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyDeleteKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyDeleteKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyDeleteKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyDeleteKeyType` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyDeleteKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyDeleteKeyType` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyDeleteKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h new file mode 100644 index 000000000..86d466798 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyDisableKeyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyDisableKeyDetails` struct. +/// +/// Disabled team encryption key. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyDisableKeyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyDisableKeyDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyDisableKeyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyDetails` object. +/// ++ (DBTEAMLOGTeamEncryptionKeyDisableKeyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyType.h new file mode 100644 index 000000000..bb49c9dee --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyDisableKeyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyDisableKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyDisableKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyDisableKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyDisableKeyType` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyDisableKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyDisableKeyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyDisableKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyDisableKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyDisableKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyDisableKeyType` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyDisableKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h new file mode 100644 index 000000000..4c130bf51 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyEnableKeyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyEnableKeyDetails` struct. +/// +/// Enabled team encryption key. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyEnableKeyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyEnableKeyDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyEnableKeyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyEnableKeyDetails` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyEnableKeyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyType.h new file mode 100644 index 000000000..a35686b9c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyEnableKeyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyEnableKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyEnableKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyEnableKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyEnableKeyType` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyEnableKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyEnableKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamEncryptionKeyEnableKeyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyEnableKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyEnableKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyEnableKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyEnableKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyEnableKeyType` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyEnableKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h new file mode 100644 index 000000000..806f418be --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyRotateKeyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyRotateKeyDetails` struct. +/// +/// Rotated team encryption key. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyRotateKeyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyRotateKeyDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyRotateKeyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyRotateKeyDetails` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyRotateKeyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyType.h new file mode 100644 index 000000000..db6b9f10d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyRotateKeyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyRotateKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyRotateKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyRotateKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyRotateKeyType` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyRotateKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyRotateKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamEncryptionKeyRotateKeyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyRotateKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyRotateKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyRotateKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyRotateKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamEncryptionKeyRotateKeyType` +/// object. +/// ++ (DBTEAMLOGTeamEncryptionKeyRotateKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h new file mode 100644 index 000000000..0ef36def8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyScheduleKeyDeletionDetails` struct. +/// +/// Scheduled encryption key deletion. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamEncryptionKeyScheduleKeyDeletionDetails` struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails` object. +/// ++ (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h new file mode 100644 index 000000000..4afa30101 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamEncryptionKeyScheduleKeyDeletionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamEncryptionKeyScheduleKeyDeletionType` +/// struct. +/// +@interface DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType` object. +/// ++ (DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEvent.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEvent.h index b8bfb3a5f..b124a7a86 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEvent.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamEvent.h @@ -41,8 +41,9 @@ NS_ASSUME_NONNULL_BEGIN /// The category that this type of action belongs to. @property (nonatomic, readonly) DBTEAMLOGEventCategory *eventCategory; -/// The entity who actually performed the action. -@property (nonatomic, readonly) DBTEAMLOGActorLogInfo *actor; +/// The entity who actually performed the action. Might be missing due to +/// historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGActorLogInfo *actor; /// The origin from which the actor performed the action including information /// about host, ip address, location, session, etc. If the action was performed @@ -50,11 +51,12 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, nullable) DBTEAMLOGOriginLogInfo *origin; /// True if the action involved a non team member either as the actor or as one -/// of the affected users. -@property (nonatomic, readonly) NSNumber *involveNonTeamMember; +/// of the affected users. Might be missing due to historical data gap. +@property (nonatomic, readonly, nullable) NSNumber *involveNonTeamMember; -/// The user or team on whose behalf the actor performed the action. -@property (nonatomic, readonly) DBTEAMLOGContextLogInfo *context; +/// The user or team on whose behalf the actor performed the action. Might be +/// missing due to historical data gap. +@property (nonatomic, readonly, nullable) DBTEAMLOGContextLogInfo *context; /// Zero or more users and/or groups that are affected by the action. Note that /// this list doesn't include any actors or users in context. @@ -80,18 +82,20 @@ NS_ASSUME_NONNULL_BEGIN /// @param timestamp The Dropbox timestamp representing when the action was /// taken. /// @param eventCategory The category that this type of action belongs to. -/// @param actor The entity who actually performed the action. -/// @param involveNonTeamMember True if the action involved a non team member -/// either as the actor or as one of the affected users. -/// @param context The user or team on whose behalf the actor performed the -/// action. /// @param eventType The particular type of action taken. /// @param details The variable event schema applicable to this type of action, /// instantiated with respect to this particular action. +/// @param actor The entity who actually performed the action. Might be missing +/// due to historical data gap. /// @param origin The origin from which the actor performed the action including /// information about host, ip address, location, session, etc. If the action /// was performed programmatically via the API the origin represents the API /// client. +/// @param involveNonTeamMember True if the action involved a non team member +/// either as the actor or as one of the affected users. Might be missing due to +/// historical data gap. +/// @param context The user or team on whose behalf the actor performed the +/// action. Might be missing due to historical data gap. /// @param participants Zero or more users and/or groups that are affected by /// the action. Note that this list doesn't include any actors or users in /// context. @@ -103,12 +107,12 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithTimestamp:(NSDate *)timestamp eventCategory:(DBTEAMLOGEventCategory *)eventCategory - actor:(DBTEAMLOGActorLogInfo *)actor - involveNonTeamMember:(NSNumber *)involveNonTeamMember - context:(DBTEAMLOGContextLogInfo *)context eventType:(DBTEAMLOGEventType *)eventType details:(DBTEAMLOGEventDetails *)details + actor:(nullable DBTEAMLOGActorLogInfo *)actor origin:(nullable DBTEAMLOGOriginLogInfo *)origin + involveNonTeamMember:(nullable NSNumber *)involveNonTeamMember + context:(nullable DBTEAMLOGContextLogInfo *)context participants:(nullable NSArray *)participants assets:(nullable NSArray *)assets; @@ -119,11 +123,6 @@ NS_ASSUME_NONNULL_BEGIN /// @param timestamp The Dropbox timestamp representing when the action was /// taken. /// @param eventCategory The category that this type of action belongs to. -/// @param actor The entity who actually performed the action. -/// @param involveNonTeamMember True if the action involved a non team member -/// either as the actor or as one of the affected users. -/// @param context The user or team on whose behalf the actor performed the -/// action. /// @param eventType The particular type of action taken. /// @param details The variable event schema applicable to this type of action, /// instantiated with respect to this particular action. @@ -132,9 +131,6 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithTimestamp:(NSDate *)timestamp eventCategory:(DBTEAMLOGEventCategory *)eventCategory - actor:(DBTEAMLOGActorLogInfo *)actor - involveNonTeamMember:(NSNumber *)involveNonTeamMember - context:(DBTEAMLOGContextLogInfo *)context eventType:(DBTEAMLOGEventType *)eventType details:(DBTEAMLOGEventDetails *)details; @@ -157,7 +153,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamEvent` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamEvent *)instance; /// /// Deserializes `DBTEAMLOGTeamEvent` instances. @@ -167,7 +163,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamEvent` object. /// -+ (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamEvent *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicy.h new file mode 100644 index 000000000..dee491ee2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicy.h @@ -0,0 +1,134 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamExtensionsPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamExtensionsPolicy` union. +/// +/// Policy for controlling whether App Integrations are enabled for the team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamExtensionsPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamExtensionsPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGTeamExtensionsPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamExtensionsPolicyTag){ + /// (no description). + DBTEAMLOGTeamExtensionsPolicyDisabled, + + /// (no description). + DBTEAMLOGTeamExtensionsPolicyEnabled, + + /// (no description). + DBTEAMLOGTeamExtensionsPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamExtensionsPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTeamExtensionsPolicy` union. +/// +@interface DBTEAMLOGTeamExtensionsPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamExtensionsPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamExtensionsPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamExtensionsPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamExtensionsPolicy` object. +/// ++ (DBTEAMLOGTeamExtensionsPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedDetails.h new file mode 100644 index 000000000..643d6ce6c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamExtensionsPolicy; +@class DBTEAMLOGTeamExtensionsPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamExtensionsPolicyChangedDetails` struct. +/// +/// Changed App Integrations setting for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamExtensionsPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New Extensions policy. +@property (nonatomic, readonly) DBTEAMLOGTeamExtensionsPolicy *dNewValue; + +/// Previous Extensions policy. +@property (nonatomic, readonly) DBTEAMLOGTeamExtensionsPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Extensions policy. +/// @param previousValue Previous Extensions policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamExtensionsPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamExtensionsPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamExtensionsPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGTeamExtensionsPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamExtensionsPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamExtensionsPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedDetails` object. +/// ++ (DBTEAMLOGTeamExtensionsPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedType.h new file mode 100644 index 000000000..48b841df5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamExtensionsPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamExtensionsPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamExtensionsPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamExtensionsPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamExtensionsPolicyChangedType` struct. +/// +@interface DBTEAMLOGTeamExtensionsPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamExtensionsPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamExtensionsPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamExtensionsPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamExtensionsPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamExtensionsPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGTeamExtensionsPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusDetails.h index c64a8a2b6..e6347d625 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusDetails.h @@ -9,7 +9,7 @@ #import "DBSerializableProtocol.h" @class DBTEAMLOGTeamFolderChangeStatusDetails; -@class DBTEAMLOGTeamFolderStatus; +@class DBTEAMTeamFolderStatus; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamFolderChangeStatusDetails` struct. /// -/// Changed the archival status of a team folder. +/// Changed archival status of team folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields /// New team folder status. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderStatus *dNewValue; +@property (nonatomic, readonly) DBTEAMTeamFolderStatus *dNewValue; /// Previous team folder status. Might be missing due to historical data gap. -@property (nonatomic, readonly, nullable) DBTEAMLOGTeamFolderStatus *previousValue; +@property (nonatomic, readonly, nullable) DBTEAMTeamFolderStatus *previousValue; #pragma mark - Constructors @@ -45,8 +45,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An initialized instance. /// -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamFolderStatus *)dNewValue - previousValue:(nullable DBTEAMLOGTeamFolderStatus *)previousValue; +- (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue + previousValue:(nullable DBTEAMTeamFolderStatus *)previousValue; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An initialized instance. /// -- (instancetype)initWithDNewValue:(DBTEAMLOGTeamFolderStatus *)dNewValue; +- (instancetype)initWithDNewValue:(DBTEAMTeamFolderStatus *)dNewValue; - (instancetype)init NS_UNAVAILABLE; @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderChangeStatusDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderChangeStatusDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamFolderChangeStatusDetails` /// object. /// -+ (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamFolderChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusType.h new file mode 100644 index 000000000..c0de777f0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderChangeStatusType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamFolderChangeStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderChangeStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamFolderChangeStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderChangeStatusType` struct. +/// +@interface DBTEAMLOGTeamFolderChangeStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamFolderChangeStatusType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamFolderChangeStatusType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderChangeStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderChangeStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamFolderChangeStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderChangeStatusType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamFolderChangeStatusType` +/// object. +/// ++ (DBTEAMLOGTeamFolderChangeStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateDetails.h index d82d5b75e..2611be2a8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamFolderCreateDetails` struct. /// -/// Created a new team folder in active status. +/// Created team folder in active status. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderCreateDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderCreateDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamFolderCreateDetails` object. /// -+ (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamFolderCreateDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateType.h new file mode 100644 index 000000000..757035ee7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderCreateType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamFolderCreateType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderCreateType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamFolderCreateType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderCreateType` struct. +/// +@interface DBTEAMLOGTeamFolderCreateTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamFolderCreateType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamFolderCreateType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderCreateType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderCreateType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamFolderCreateType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderCreateType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamFolderCreateType` object. +/// ++ (DBTEAMLOGTeamFolderCreateType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeDetails.h index 827f3784a..9f987ccc0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamFolderDowngradeDetails` struct. /// -/// Downgraded a team folder to a regular shared folder. +/// Downgraded team folder to regular shared folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderDowngradeDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderDowngradeDetails` instances. @@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamFolderDowngradeDetails` /// object. /// -+ (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamFolderDowngradeDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeType.h new file mode 100644 index 000000000..9ecce802d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderDowngradeType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamFolderDowngradeType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderDowngradeType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamFolderDowngradeType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderDowngradeType` struct. +/// +@interface DBTEAMLOGTeamFolderDowngradeTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamFolderDowngradeType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamFolderDowngradeType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderDowngradeType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderDowngradeType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamFolderDowngradeType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderDowngradeType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamFolderDowngradeType` object. +/// ++ (DBTEAMLOGTeamFolderDowngradeType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h index 5ed96f727..e6ffcbac1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamFolderPermanentlyDeleteDetails` struct. /// -/// Permanently deleted an archived team folder. +/// Permanently deleted archived team folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGTeamFolderPermanentlyDeleteDetails` object. /// -+ (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamFolderPermanentlyDeleteDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteType.h new file mode 100644 index 000000000..b2ab97128 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderPermanentlyDeleteType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamFolderPermanentlyDeleteType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderPermanentlyDeleteType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamFolderPermanentlyDeleteType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderPermanentlyDeleteType` struct. +/// +@interface DBTEAMLOGTeamFolderPermanentlyDeleteTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamFolderPermanentlyDeleteType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamFolderPermanentlyDeleteType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderPermanentlyDeleteType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderPermanentlyDeleteType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamFolderPermanentlyDeleteType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderPermanentlyDeleteType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamFolderPermanentlyDeleteType` +/// object. +/// ++ (DBTEAMLOGTeamFolderPermanentlyDeleteType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameDetails.h index f568b3379..9e035ce27 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameDetails.h @@ -8,7 +8,6 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGRelocateAssetReferencesLogInfo; @class DBTEAMLOGTeamFolderRenameDetails; NS_ASSUME_NONNULL_BEGIN @@ -18,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamFolderRenameDetails` struct. /// -/// Renamed an active or archived team folder. +/// Renamed active/archived team folder. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -28,20 +27,23 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Specifies the source and destination indices in the assets list. -@property (nonatomic, readonly) DBTEAMLOGRelocateAssetReferencesLogInfo *relocateActionDetails; +/// Previous folder name. +@property (nonatomic, readonly, copy) NSString *previousFolderName; + +/// New folder name. +@property (nonatomic, readonly, copy) NSString *dNewFolderName; #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param relocateActionDetails Specifies the source and destination indices in -/// the assets list. +/// @param previousFolderName Previous folder name. +/// @param dNewFolderName New folder name. /// /// @return An initialized instance. /// -- (instancetype)initWithRelocateActionDetails:(DBTEAMLOGRelocateAssetReferencesLogInfo *)relocateActionDetails; +- (instancetype)initWithPreviousFolderName:(NSString *)previousFolderName dNewFolderName:(NSString *)dNewFolderName; - (instancetype)init NS_UNAVAILABLE; @@ -63,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamFolderRenameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamFolderRenameDetails` instances. @@ -73,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamFolderRenameDetails` object. /// -+ (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamFolderRenameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameType.h new file mode 100644 index 000000000..0a05e3849 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderRenameType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamFolderRenameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamFolderRenameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamFolderRenameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamFolderRenameType` struct. +/// +@interface DBTEAMLOGTeamFolderRenameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamFolderRenameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamFolderRenameType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderRenameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderRenameType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamFolderRenameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamFolderRenameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamFolderRenameType` object. +/// ++ (DBTEAMLOGTeamFolderRenameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderStatus.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderStatus.h deleted file mode 100644 index 3fafe5c8a..000000000 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamFolderStatus.h +++ /dev/null @@ -1,131 +0,0 @@ -/// -/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. -/// -/// Auto-generated by Stone, do not modify. -/// - -#import - -#import "DBSerializableProtocol.h" - -@class DBTEAMLOGTeamFolderStatus; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - API Object - -/// -/// The `TeamFolderStatus` union. -/// -/// This class implements the `DBSerializable` protocol (serialize and -/// deserialize instance methods), which is required for all Obj-C SDK API route -/// objects. -/// -@interface DBTEAMLOGTeamFolderStatus : NSObject - -#pragma mark - Instance fields - -/// The `DBTEAMLOGTeamFolderStatusTag` enum type represents the possible tag -/// states with which the `DBTEAMLOGTeamFolderStatus` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGTeamFolderStatusTag) { - /// (no description). - DBTEAMLOGTeamFolderStatusArchive, - - /// (no description). - DBTEAMLOGTeamFolderStatusUnarchive, - - /// (no description). - DBTEAMLOGTeamFolderStatusOther, - -}; - -/// Represents the union's current tag state. -@property (nonatomic, readonly) DBTEAMLOGTeamFolderStatusTag tag; - -#pragma mark - Constructors - -/// -/// Initializes union class with tag state of "archive". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithArchive; - -/// -/// Initializes union class with tag state of "unarchive". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithUnarchive; - -/// -/// Initializes union class with tag state of "other". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithOther; - -- (instancetype)init NS_UNAVAILABLE; - -#pragma mark - Tag state methods - -/// -/// Retrieves whether the union's current tag state has value "archive". -/// -/// @return Whether the union's current tag state has value "archive". -/// -- (BOOL)isArchive; - -/// -/// Retrieves whether the union's current tag state has value "unarchive". -/// -/// @return Whether the union's current tag state has value "unarchive". -/// -- (BOOL)isUnarchive; - -/// -/// Retrieves whether the union's current tag state has value "other". -/// -/// @return Whether the union's current tag state has value "other". -/// -- (BOOL)isOther; - -/// -/// Retrieves string value of union's current tag state. -/// -/// @return A human-readable string representing the union's current tag state. -/// -- (NSString *)tagName; - -@end - -#pragma mark - Serializer Object - -/// -/// The serialization class for the `DBTEAMLOGTeamFolderStatus` union. -/// -@interface DBTEAMLOGTeamFolderStatusSerializer : NSObject - -/// -/// Serializes `DBTEAMLOGTeamFolderStatus` instances. -/// -/// @param instance An instance of the `DBTEAMLOGTeamFolderStatus` API object. -/// -/// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGTeamFolderStatus` API object. -/// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamFolderStatus *)instance; - -/// -/// Deserializes `DBTEAMLOGTeamFolderStatus` instances. -/// -/// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGTeamFolderStatus` API object. -/// -/// @return An instantiation of the `DBTEAMLOGTeamFolderStatus` object. -/// -+ (DBTEAMLOGTeamFolderStatus *)deserialize:(NSDictionary *)dict; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamInviteDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamInviteDetails.h new file mode 100644 index 000000000..4a2c74d60 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamInviteDetails.h @@ -0,0 +1,94 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGInviteMethod; +@class DBTEAMLOGTeamInviteDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamInviteDetails` struct. +/// +/// Details about team invites +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamInviteDetails : NSObject + +#pragma mark - Instance fields + +/// How the user was invited to the team. +@property (nonatomic, readonly) DBTEAMLOGInviteMethod *inviteMethod; + +/// True if the invitation incurred an additional license purchase. +@property (nonatomic, readonly, nullable) NSNumber *additionalLicensePurchase; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param inviteMethod How the user was invited to the team. +/// @param additionalLicensePurchase True if the invitation incurred an +/// additional license purchase. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteMethod:(DBTEAMLOGInviteMethod *)inviteMethod + additionalLicensePurchase:(nullable NSNumber *)additionalLicensePurchase; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param inviteMethod How the user was invited to the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteMethod:(DBTEAMLOGInviteMethod *)inviteMethod; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamInviteDetails` struct. +/// +@interface DBTEAMLOGTeamInviteDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamInviteDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamInviteDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamInviteDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamInviteDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamInviteDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamInviteDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamInviteDetails` object. +/// ++ (DBTEAMLOGTeamInviteDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLinkedAppLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLinkedAppLogInfo.h index c4fedfb28..af2389333 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLinkedAppLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLinkedAppLogInfo.h @@ -33,9 +33,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param appId App unique ID. Might be missing due to historical data gap. -/// @param displayName App display name. Might be missing due to historical data -/// gap. +/// @param appId App unique ID. +/// @param displayName App display name. /// /// @return An initialized instance. /// @@ -68,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamLinkedAppLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGTeamLinkedAppLogInfo` instances. @@ -78,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamLinkedAppLogInfo` object. /// -+ (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLogInfo.h new file mode 100644 index 000000000..adc94c211 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamLogInfo.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamLogInfo` struct. +/// +/// Team's logged information. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamLogInfo : NSObject + +#pragma mark - Instance fields + +/// Team display name. +@property (nonatomic, readonly, copy) NSString *displayName; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param displayName Team display name. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisplayName:(NSString *)displayName; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamLogInfo` struct. +/// +@interface DBTEAMLOGTeamLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamLogInfo` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamLogInfo` object. +/// ++ (DBTEAMLOGTeamLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMemberLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMemberLogInfo.h index c0f952f4a..69a36c91e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMemberLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMemberLogInfo.h @@ -9,6 +9,7 @@ #import "DBSerializableProtocol.h" #import "DBTEAMLOGUserLogInfo.h" +@class DBTEAMLOGTeamLogInfo; @class DBTEAMLOGTeamMemberLogInfo; NS_ASSUME_NONNULL_BEGIN @@ -28,26 +29,26 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// Team member ID. Might be missing due to historical data gap. +/// Team member ID. @property (nonatomic, readonly, copy, nullable) NSString *teamMemberId; /// Team member external ID. @property (nonatomic, readonly, copy, nullable) NSString *memberExternalId; +/// Details about this user’s team for enterprise event. +@property (nonatomic, readonly, nullable) DBTEAMLOGTeamLogInfo *team; + #pragma mark - Constructors /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accountId User unique ID. Might be missing due to historical data -/// gap. -/// @param displayName User display name. Might be missing due to historical -/// data gap. -/// @param email User email address. Might be missing due to historical data -/// gap. -/// @param teamMemberId Team member ID. Might be missing due to historical data -/// gap. +/// @param accountId User unique ID. +/// @param displayName User display name. +/// @param email User email address. +/// @param teamMemberId Team member ID. /// @param memberExternalId Team member external ID. +/// @param team Details about this user’s team for enterprise event. /// /// @return An initialized instance. /// @@ -55,7 +56,8 @@ NS_ASSUME_NONNULL_BEGIN displayName:(nullable NSString *)displayName email:(nullable NSString *)email teamMemberId:(nullable NSString *)teamMemberId - memberExternalId:(nullable NSString *)memberExternalId; + memberExternalId:(nullable NSString *)memberExternalId + team:(nullable DBTEAMLOGTeamLogInfo *)team; /// /// Convenience constructor (exposes only non-nullable instance variables with @@ -83,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMemberLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMemberLogInfo *)instance; /// /// Deserializes `DBTEAMLOGTeamMemberLogInfo` instances. @@ -93,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamMemberLogInfo` object. /// -+ (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMembershipType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMembershipType.h index 3ecf56a49..6eadeda67 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMembershipType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMembershipType.h @@ -27,15 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGTeamMembershipTypeTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTeamMembershipType` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag) { - /// (no description). - DBTEAMLOGTeamMembershipTypeFree, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag){ + /// (no description). + DBTEAMLOGTeamMembershipTypeFree, - /// (no description). - DBTEAMLOGTeamMembershipTypeFull, + /// (no description). + DBTEAMLOGTeamMembershipTypeFull, - /// (no description). - DBTEAMLOGTeamMembershipTypeOther, + /// (no description). + DBTEAMLOGTeamMembershipTypeGuest, + + /// (no description). + DBTEAMLOGTeamMembershipTypeOther, }; @@ -58,6 +61,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag) { /// - (instancetype)initWithFull; +/// +/// Initializes union class with tag state of "guest". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithGuest; + /// /// Initializes union class with tag state of "other". /// @@ -83,6 +93,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag) { /// - (BOOL)isFull; +/// +/// Retrieves whether the union's current tag state has value "guest". +/// +/// @return Whether the union's current tag state has value "guest". +/// +- (BOOL)isGuest; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -114,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMembershipType` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMembershipType *)instance; /// /// Deserializes `DBTEAMLOGTeamMembershipType` instances. @@ -124,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTeamMembershipTypeTag) { /// /// @return An instantiation of the `DBTEAMLOGTeamMembershipType` object. /// -+ (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamMembershipType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromDetails.h index a8b2ab7a0..47bc99abf 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromDetails.h @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeFromDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamMergeFromDetails` instances. @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamMergeFromDetails` object. /// -+ (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamMergeFromDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromType.h new file mode 100644 index 000000000..f98f4cc12 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeFromType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeFromType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeFromType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeFromType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeFromType` struct. +/// +@interface DBTEAMLOGTeamMergeFromTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeFromType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeFromType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeFromType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeFromType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeFromType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeFromType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeFromType` object. +/// ++ (DBTEAMLOGTeamMergeFromType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedDetails.h new file mode 100644 index 000000000..9e031b8aa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedDetails; +@class DBTEAMLOGTeamMergeRequestAcceptedExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedDetails` struct. +/// +/// Accepted a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedDetails : NSObject + +#pragma mark - Instance fields + +/// Team merge request acceptance details. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *requestAcceptedDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param requestAcceptedDetails Team merge request acceptance details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequestAcceptedDetails:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)requestAcceptedDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestAcceptedDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestAcceptedDetails` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h new file mode 100644 index 000000000..4ee4868a8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestAcceptedDetails; +@class DBTEAMLOGSecondaryTeamRequestAcceptedDetails; +@class DBTEAMLOGTeamMergeRequestAcceptedExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedExtraDetails` union. +/// +/// Team merge request acceptance details +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedExtraDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsTag){ + /// Team merge request accepted details shown to the primary team. + DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsPrimaryTeam, + + /// Team merge request accepted details shown to the secondary team. + DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSecondaryTeam, + + /// (no description). + DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsTag tag; + +/// Team merge request accepted details shown to the primary team. @note Ensure +/// the `isPrimaryTeam` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPrimaryTeamRequestAcceptedDetails *primaryTeam; + +/// Team merge request accepted details shown to the secondary team. @note +/// Ensure the `isSecondaryTeam` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryTeamRequestAcceptedDetails *secondaryTeam; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "primary_team". +/// +/// Description of the "primary_team" tag state: Team merge request accepted +/// details shown to the primary team. +/// +/// @param primaryTeam Team merge request accepted details shown to the primary +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestAcceptedDetails *)primaryTeam; + +/// +/// Initializes union class with tag state of "secondary_team". +/// +/// Description of the "secondary_team" tag state: Team merge request accepted +/// details shown to the secondary team. +/// +/// @param secondaryTeam Team merge request accepted details shown to the +/// secondary team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestAcceptedDetails *)secondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `primaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "primary_team". +/// +- (BOOL)isPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "secondary_team". +/// +- (BOOL)isSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` union. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedExtraDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedExtraDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedExtraDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..6236e3d19 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedShownToPrimaryTeamDetails` struct. +/// +/// Accepted a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestAcceptedShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h new file mode 100644 index 000000000..1f1228c1c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestAcceptedShownToPrimaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..fecd7b6f1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedShownToSecondaryTeamDetails` struct. +/// +/// Accepted a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The primary team name. +@property (nonatomic, readonly, copy) NSString *primaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param primaryTeam The primary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(NSString *)primaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestAcceptedShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h new file mode 100644 index 000000000..78045af73 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestAcceptedShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedType.h new file mode 100644 index 000000000..9915f3f17 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAcceptedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAcceptedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAcceptedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestAcceptedType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAcceptedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAcceptedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestAcceptedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAcceptedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAcceptedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAcceptedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestAcceptedType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestAcceptedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h new file mode 100644 index 000000000..03b4adea6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAutoCanceledDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAutoCanceledDetails` struct. +/// +/// Automatically canceled team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAutoCanceledDetails : NSObject + +#pragma mark - Instance fields + +/// The cancellation reason. +@property (nonatomic, readonly, copy, nullable) NSString *details; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param details The cancellation reason. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDetails:(nullable NSString *)details; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestAutoCanceledDetails` +/// struct. +/// +@interface DBTEAMLOGTeamMergeRequestAutoCanceledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestAutoCanceledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledType.h new file mode 100644 index 000000000..4abb4e8b3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestAutoCanceledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestAutoCanceledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestAutoCanceledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestAutoCanceledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestAutoCanceledType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestAutoCanceledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestAutoCanceledType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestAutoCanceledType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestAutoCanceledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestAutoCanceledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestAutoCanceledType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestAutoCanceledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledDetails.h new file mode 100644 index 000000000..f6980d379 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledDetails; +@class DBTEAMLOGTeamMergeRequestCanceledExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledDetails` struct. +/// +/// Canceled a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledDetails : NSObject + +#pragma mark - Instance fields + +/// Team merge request cancellation details. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestCanceledExtraDetails *requestCanceledDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param requestCanceledDetails Team merge request cancellation details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequestCanceledDetails:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)requestCanceledDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestCanceledDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestCanceledDetails` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h new file mode 100644 index 000000000..284874c90 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestCanceledDetails; +@class DBTEAMLOGSecondaryTeamRequestCanceledDetails; +@class DBTEAMLOGTeamMergeRequestCanceledExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledExtraDetails` union. +/// +/// Team merge request cancellation details +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledExtraDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamMergeRequestCanceledExtraDetailsTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMergeRequestCanceledExtraDetailsTag){ + /// Team merge request cancellation details shown to the primary team. + DBTEAMLOGTeamMergeRequestCanceledExtraDetailsPrimaryTeam, + + /// Team merge request cancellation details shown to the secondary team. + DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSecondaryTeam, + + /// (no description). + DBTEAMLOGTeamMergeRequestCanceledExtraDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestCanceledExtraDetailsTag tag; + +/// Team merge request cancellation details shown to the primary team. @note +/// Ensure the `isPrimaryTeam` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPrimaryTeamRequestCanceledDetails *primaryTeam; + +/// Team merge request cancellation details shown to the secondary team. @note +/// Ensure the `isSecondaryTeam` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryTeamRequestCanceledDetails *secondaryTeam; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "primary_team". +/// +/// Description of the "primary_team" tag state: Team merge request cancellation +/// details shown to the primary team. +/// +/// @param primaryTeam Team merge request cancellation details shown to the +/// primary team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestCanceledDetails *)primaryTeam; + +/// +/// Initializes union class with tag state of "secondary_team". +/// +/// Description of the "secondary_team" tag state: Team merge request +/// cancellation details shown to the secondary team. +/// +/// @param secondaryTeam Team merge request cancellation details shown to the +/// secondary team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestCanceledDetails *)secondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `primaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "primary_team". +/// +- (BOOL)isPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "secondary_team". +/// +- (BOOL)isSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` union. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledExtraDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestCanceledExtraDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledExtraDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..03810af24 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledShownToPrimaryTeamDetails` struct. +/// +/// Canceled a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestCanceledShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h new file mode 100644 index 000000000..10e85268b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestCanceledShownToPrimaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..c223f4890 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h @@ -0,0 +1,89 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledShownToSecondaryTeamDetails` struct. +/// +/// Canceled a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin that the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin that the request was sent +/// to. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestCanceledShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h new file mode 100644 index 000000000..3bd1c1906 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestCanceledShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledType.h new file mode 100644 index 000000000..fee843884 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestCanceledType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestCanceledType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestCanceledType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestCanceledType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestCanceledTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestCanceledType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestCanceledType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestCanceledType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestCanceledType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestCanceledType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestCanceledType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestCanceledType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredDetails.h new file mode 100644 index 000000000..dbed542e9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredDetails; +@class DBTEAMLOGTeamMergeRequestExpiredExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredDetails` struct. +/// +/// Team merge request expired. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredDetails : NSObject + +#pragma mark - Instance fields + +/// Team merge request expiration details. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestExpiredExtraDetails *requestExpiredDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param requestExpiredDetails Team merge request expiration details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequestExpiredDetails:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)requestExpiredDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestExpiredDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestExpiredDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestExpiredDetails` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h new file mode 100644 index 000000000..684891227 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestExpiredDetails; +@class DBTEAMLOGSecondaryTeamRequestExpiredDetails; +@class DBTEAMLOGTeamMergeRequestExpiredExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredExtraDetails` union. +/// +/// Team merge request expiration details +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredExtraDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamMergeRequestExpiredExtraDetailsTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMergeRequestExpiredExtraDetailsTag){ + /// Team merge request canceled details shown to the primary team. + DBTEAMLOGTeamMergeRequestExpiredExtraDetailsPrimaryTeam, + + /// Team merge request canceled details shown to the secondary team. + DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSecondaryTeam, + + /// (no description). + DBTEAMLOGTeamMergeRequestExpiredExtraDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestExpiredExtraDetailsTag tag; + +/// Team merge request canceled details shown to the primary team. @note Ensure +/// the `isPrimaryTeam` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPrimaryTeamRequestExpiredDetails *primaryTeam; + +/// Team merge request canceled details shown to the secondary team. @note +/// Ensure the `isSecondaryTeam` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryTeamRequestExpiredDetails *secondaryTeam; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "primary_team". +/// +/// Description of the "primary_team" tag state: Team merge request canceled +/// details shown to the primary team. +/// +/// @param primaryTeam Team merge request canceled details shown to the primary +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestExpiredDetails *)primaryTeam; + +/// +/// Initializes union class with tag state of "secondary_team". +/// +/// Description of the "secondary_team" tag state: Team merge request canceled +/// details shown to the secondary team. +/// +/// @param secondaryTeam Team merge request canceled details shown to the +/// secondary team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestExpiredDetails *)secondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `primaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "primary_team". +/// +- (BOOL)isPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "secondary_team". +/// +- (BOOL)isSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` union. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredExtraDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestExpiredExtraDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredExtraDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..40310db4b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredShownToPrimaryTeamDetails` struct. +/// +/// Team merge request expired. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestExpiredShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h new file mode 100644 index 000000000..c6ba32f8a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestExpiredShownToPrimaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..58febf1e3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredShownToSecondaryTeamDetails` struct. +/// +/// Team merge request expired. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestExpiredShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h new file mode 100644 index 000000000..f0009b030 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestExpiredShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredType.h new file mode 100644 index 000000000..7c2ed3a5e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestExpiredType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestExpiredType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestExpiredType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestExpiredType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestExpiredTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestExpiredType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestExpiredType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestExpiredType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestExpiredType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestExpiredType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestExpiredType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestExpiredType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..8754bcf5e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRejectedShownToPrimaryTeamDetails` struct. +/// +/// Rejected a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestRejectedShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h new file mode 100644 index 000000000..9499ae2c8 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRejectedShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestRejectedShownToPrimaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..a4a048204 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRejectedShownToSecondaryTeamDetails` struct. +/// +/// Rejected a team merge request. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The name of the secondary team admin who sent the request originally. +@property (nonatomic, readonly, copy) NSString *sentBy; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentBy The name of the secondary team admin who sent the request +/// originally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentBy:(NSString *)sentBy; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestRejectedShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h new file mode 100644 index 000000000..d6e6702ab --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRejectedShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestRejectedShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderDetails.h new file mode 100644 index 000000000..3a534ff51 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderDetails.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderDetails; +@class DBTEAMLOGTeamMergeRequestReminderExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderDetails` struct. +/// +/// Sent a team merge request reminder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderDetails : NSObject + +#pragma mark - Instance fields + +/// Team merge request reminder details. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestReminderExtraDetails *requestReminderDetails; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param requestReminderDetails Team merge request reminder details. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequestReminderDetails:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)requestReminderDetails; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestReminderDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestReminderDetails` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderExtraDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderExtraDetails.h new file mode 100644 index 000000000..a7f314d08 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderExtraDetails.h @@ -0,0 +1,167 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPrimaryTeamRequestReminderDetails; +@class DBTEAMLOGSecondaryTeamRequestReminderDetails; +@class DBTEAMLOGTeamMergeRequestReminderExtraDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderExtraDetails` union. +/// +/// Team merge request reminder details +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderExtraDetails : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamMergeRequestReminderExtraDetailsTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamMergeRequestReminderExtraDetailsTag){ + /// Team merge request reminder details shown to the primary team. + DBTEAMLOGTeamMergeRequestReminderExtraDetailsPrimaryTeam, + + /// Team merge request reminder details shown to the secondary team. + DBTEAMLOGTeamMergeRequestReminderExtraDetailsSecondaryTeam, + + /// (no description). + DBTEAMLOGTeamMergeRequestReminderExtraDetailsOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamMergeRequestReminderExtraDetailsTag tag; + +/// Team merge request reminder details shown to the primary team. @note Ensure +/// the `isPrimaryTeam` method returns true before accessing, otherwise a +/// runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGPrimaryTeamRequestReminderDetails *primaryTeam; + +/// Team merge request reminder details shown to the secondary team. @note +/// Ensure the `isSecondaryTeam` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) DBTEAMLOGSecondaryTeamRequestReminderDetails *secondaryTeam; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "primary_team". +/// +/// Description of the "primary_team" tag state: Team merge request reminder +/// details shown to the primary team. +/// +/// @param primaryTeam Team merge request reminder details shown to the primary +/// team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPrimaryTeam:(DBTEAMLOGPrimaryTeamRequestReminderDetails *)primaryTeam; + +/// +/// Initializes union class with tag state of "secondary_team". +/// +/// Description of the "secondary_team" tag state: Team merge request reminder +/// details shown to the secondary team. +/// +/// @param secondaryTeam Team merge request reminder details shown to the +/// secondary team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(DBTEAMLOGSecondaryTeamRequestReminderDetails *)secondaryTeam; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "primary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `primaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "primary_team". +/// +- (BOOL)isPrimaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "secondary_team". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `secondaryTeam` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "secondary_team". +/// +- (BOOL)isSecondaryTeam; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` union. +/// +@interface DBTEAMLOGTeamMergeRequestReminderExtraDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderExtraDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderExtraDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderExtraDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestReminderExtraDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderExtraDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..f8d354d7b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h @@ -0,0 +1,87 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderShownToPrimaryTeamDetails` struct. +/// +/// Sent a team merge request reminder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentTo The name of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestReminderShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h new file mode 100644 index 000000000..40950d808 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestReminderShownToPrimaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..54f449d2d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderShownToSecondaryTeamDetails` struct. +/// +/// Sent a team merge request reminder. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestReminderShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h new file mode 100644 index 000000000..23f8d63fe --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h @@ -0,0 +1,81 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestReminderShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderType.h new file mode 100644 index 000000000..6b5b9972c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestReminderType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestReminderType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestReminderType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestReminderType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestReminderType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestReminderTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestReminderType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestReminderType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestReminderType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestReminderType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestReminderType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestReminderType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestReminderType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedDetails.h new file mode 100644 index 000000000..49f18e4ef --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedDetails.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRevokedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRevokedDetails` struct. +/// +/// Canceled the team merge. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRevokedDetails : NSObject + +#pragma mark - Instance fields + +/// The name of the other team. +@property (nonatomic, readonly, copy) NSString *team; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param team The name of the other team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTeam:(NSString *)team; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestRevokedDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRevokedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRevokedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestRevokedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRevokedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRevokedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRevokedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestRevokedDetails` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestRevokedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedType.h new file mode 100644 index 000000000..4a0301070 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestRevokedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestRevokedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestRevokedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestRevokedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestRevokedType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestRevokedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestRevokedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeRequestRevokedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRevokedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestRevokedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestRevokedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestRevokedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeRequestRevokedType` +/// object. +/// ++ (DBTEAMLOGTeamMergeRequestRevokedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h new file mode 100644 index 000000000..d96b85627 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestSentShownToPrimaryTeamDetails` struct. +/// +/// Requested to merge their Dropbox team into yours. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The secondary team name. +@property (nonatomic, readonly, copy) NSString *secondaryTeam; + +/// The name of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param secondaryTeam The secondary team name. +/// @param sentTo The name of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSecondaryTeam:(NSString *)secondaryTeam sentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestSentShownToPrimaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h new file mode 100644 index 000000000..aedc56a19 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h @@ -0,0 +1,79 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestSentShownToPrimaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeRequestSentShownToPrimaryTeamType` +/// struct. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h new file mode 100644 index 000000000..8bd355358 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h @@ -0,0 +1,83 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestSentShownToSecondaryTeamDetails` struct. +/// +/// Requested to merge your team into another Dropbox team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails : NSObject + +#pragma mark - Instance fields + +/// The email of the primary team admin the request was sent to. +@property (nonatomic, readonly, copy) NSString *sentTo; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param sentTo The email of the primary team admin the request was sent to. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithSentTo:(NSString *)sentTo; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestSentShownToSecondaryTeamDetails` struct. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` API object. +/// ++ (nullable NSDictionary *)serialize: + (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails` object. +/// ++ (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h new file mode 100644 index 000000000..729eb1f6e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeRequestSentShownToSecondaryTeamType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `TeamMergeRequestSentShownToSecondaryTeamType` struct. +/// +@interface DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType` object. +/// ++ (DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToDetails.h index 13ffcce56..3a288e642 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToDetails.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamMergeToDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeToDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamMergeToDetails` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamMergeToDetails` object. /// -+ (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamMergeToDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToType.h new file mode 100644 index 000000000..602c4341d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamMergeToType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamMergeToType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamMergeToType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamMergeToType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamMergeToType` struct. +/// +@interface DBTEAMLOGTeamMergeToTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamMergeToType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamMergeToType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeToType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamMergeToType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamMergeToType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamMergeToType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamMergeToType` object. +/// ++ (DBTEAMLOGTeamMergeToType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamName.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamName.h index 81d65ade2..2bc90ca98 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamName.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamName.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamName` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamName *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamName *)instance; /// /// Deserializes `DBTEAMLOGTeamName` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamName` object. /// -+ (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamName *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundDetails.h new file mode 100644 index 000000000..bcd42dd2e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileAddBackgroundDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileAddBackgroundDetails` struct. +/// +/// Added team background to display on shared link headers. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileAddBackgroundDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileAddBackgroundDetails` struct. +/// +@interface DBTEAMLOGTeamProfileAddBackgroundDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileAddBackgroundDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileAddBackgroundDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddBackgroundDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileAddBackgroundDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddBackgroundDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileAddBackgroundDetails` +/// object. +/// ++ (DBTEAMLOGTeamProfileAddBackgroundDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundType.h new file mode 100644 index 000000000..b979f9484 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddBackgroundType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileAddBackgroundType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileAddBackgroundType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileAddBackgroundType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileAddBackgroundType` struct. +/// +@interface DBTEAMLOGTeamProfileAddBackgroundTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileAddBackgroundType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamProfileAddBackgroundType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddBackgroundType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddBackgroundType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileAddBackgroundType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddBackgroundType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileAddBackgroundType` +/// object. +/// ++ (DBTEAMLOGTeamProfileAddBackgroundType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoDetails.h index d87718213..ab7e250a4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamProfileAddLogoDetails` struct. /// -/// Added a team logo to be displayed on shared link headers. +/// Added team logo to display on shared link headers. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileAddLogoDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileAddLogoDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTeamProfileAddLogoDetails` object. /// -+ (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamProfileAddLogoDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoType.h new file mode 100644 index 000000000..8e4667fe7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileAddLogoType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileAddLogoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileAddLogoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileAddLogoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileAddLogoType` struct. +/// +@interface DBTEAMLOGTeamProfileAddLogoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileAddLogoType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamProfileAddLogoType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddLogoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileAddLogoType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileAddLogoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileAddLogoType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileAddLogoType` object. +/// ++ (DBTEAMLOGTeamProfileAddLogoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundDetails.h new file mode 100644 index 000000000..b47ab310c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileChangeBackgroundDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileChangeBackgroundDetails` struct. +/// +/// Changed team background displayed on shared link headers. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileChangeBackgroundDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileChangeBackgroundDetails` struct. +/// +@interface DBTEAMLOGTeamProfileChangeBackgroundDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileChangeBackgroundDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileChangeBackgroundDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeBackgroundDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileChangeBackgroundDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeBackgroundDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamProfileChangeBackgroundDetails` object. +/// ++ (DBTEAMLOGTeamProfileChangeBackgroundDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundType.h new file mode 100644 index 000000000..6fa161951 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeBackgroundType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileChangeBackgroundType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileChangeBackgroundType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileChangeBackgroundType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileChangeBackgroundType` struct. +/// +@interface DBTEAMLOGTeamProfileChangeBackgroundTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileChangeBackgroundType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileChangeBackgroundType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeBackgroundType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeBackgroundType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileChangeBackgroundType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeBackgroundType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileChangeBackgroundType` +/// object. +/// ++ (DBTEAMLOGTeamProfileChangeBackgroundType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h index 5c14b1bd1..7b2ff7dbd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamProfileChangeDefaultLanguageDetails` struct. /// -/// Changed the default language for the team. +/// Changed default language for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` instances. @@ -77,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGTeamProfileChangeDefaultLanguageDetails` object. /// -+ (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamProfileChangeDefaultLanguageDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageType.h new file mode 100644 index 000000000..407baf19e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeDefaultLanguageType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileChangeDefaultLanguageType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileChangeDefaultLanguageType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileChangeDefaultLanguageType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileChangeDefaultLanguageType` +/// struct. +/// +@interface DBTEAMLOGTeamProfileChangeDefaultLanguageTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileChangeDefaultLanguageType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileChangeDefaultLanguageType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeDefaultLanguageType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeDefaultLanguageType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileChangeDefaultLanguageType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeDefaultLanguageType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamProfileChangeDefaultLanguageType` object. +/// ++ (DBTEAMLOGTeamProfileChangeDefaultLanguageType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoDetails.h index 0ea2fc8f9..c8f336d5e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamProfileChangeLogoDetails` struct. /// -/// Changed the team logo to be displayed on shared link headers. +/// Changed team logo displayed on shared link headers. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeLogoDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeLogoDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamProfileChangeLogoDetails` /// object. /// -+ (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamProfileChangeLogoDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoType.h new file mode 100644 index 000000000..8bcfcbd91 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeLogoType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileChangeLogoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileChangeLogoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileChangeLogoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileChangeLogoType` struct. +/// +@interface DBTEAMLOGTeamProfileChangeLogoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileChangeLogoType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamProfileChangeLogoType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeLogoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeLogoType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileChangeLogoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeLogoType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileChangeLogoType` object. +/// ++ (DBTEAMLOGTeamProfileChangeLogoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameDetails.h index 04d36652d..83911dfb4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamProfileChangeNameDetails` struct. /// -/// Changed the team name. +/// Changed team name. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileChangeNameDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileChangeNameDetails` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamProfileChangeNameDetails` /// object. /// -+ (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamProfileChangeNameDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameType.h new file mode 100644 index 000000000..84f299a2b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileChangeNameType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileChangeNameType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileChangeNameType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileChangeNameType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileChangeNameType` struct. +/// +@interface DBTEAMLOGTeamProfileChangeNameTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileChangeNameType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamProfileChangeNameType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeNameType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileChangeNameType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileChangeNameType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileChangeNameType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileChangeNameType` object. +/// ++ (DBTEAMLOGTeamProfileChangeNameType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundDetails.h new file mode 100644 index 000000000..ee892ad1d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileRemoveBackgroundDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileRemoveBackgroundDetails` struct. +/// +/// Removed team background displayed on shared link headers. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileRemoveBackgroundDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileRemoveBackgroundDetails` struct. +/// +@interface DBTEAMLOGTeamProfileRemoveBackgroundDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileRemoveBackgroundDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveBackgroundDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileRemoveBackgroundDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundDetails` object. +/// ++ (DBTEAMLOGTeamProfileRemoveBackgroundDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundType.h new file mode 100644 index 000000000..98186af7d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveBackgroundType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileRemoveBackgroundType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileRemoveBackgroundType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileRemoveBackgroundType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileRemoveBackgroundType` struct. +/// +@interface DBTEAMLOGTeamProfileRemoveBackgroundTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileRemoveBackgroundType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveBackgroundType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileRemoveBackgroundType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveBackgroundType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileRemoveBackgroundType` +/// object. +/// ++ (DBTEAMLOGTeamProfileRemoveBackgroundType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoDetails.h index 5835512ef..0f3f50efe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TeamProfileRemoveLogoDetails` struct. /// -/// Removed the team logo to be displayed on shared link headers. +/// Removed team logo displayed on shared link headers. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTeamProfileRemoveLogoDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoDetails *)instance; /// /// Deserializes `DBTEAMLOGTeamProfileRemoveLogoDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTeamProfileRemoveLogoDetails` /// object. /// -+ (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTeamProfileRemoveLogoDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoType.h new file mode 100644 index 000000000..97afc111c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamProfileRemoveLogoType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamProfileRemoveLogoType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamProfileRemoveLogoType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamProfileRemoveLogoType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamProfileRemoveLogoType` struct. +/// +@interface DBTEAMLOGTeamProfileRemoveLogoTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamProfileRemoveLogoType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamProfileRemoveLogoType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveLogoType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamProfileRemoveLogoType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamProfileRemoveLogoType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamProfileRemoveLogoType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamProfileRemoveLogoType` object. +/// ++ (DBTEAMLOGTeamProfileRemoveLogoType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicy.h new file mode 100644 index 000000000..6b2923790 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicy.h @@ -0,0 +1,135 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSelectiveSyncPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSelectiveSyncPolicy` union. +/// +/// Policy for controlling whether team selective sync is enabled for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTeamSelectiveSyncPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGTeamSelectiveSyncPolicy` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTeamSelectiveSyncPolicyTag){ + /// (no description). + DBTEAMLOGTeamSelectiveSyncPolicyDisabled, + + /// (no description). + DBTEAMLOGTeamSelectiveSyncPolicyEnabled, + + /// (no description). + DBTEAMLOGTeamSelectiveSyncPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTeamSelectiveSyncPolicy` union. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSelectiveSyncPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTeamSelectiveSyncPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSelectiveSyncPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTeamSelectiveSyncPolicy` object. +/// ++ (DBTEAMLOGTeamSelectiveSyncPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h new file mode 100644 index 000000000..8be5cc0f3 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSelectiveSyncPolicy; +@class DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSelectiveSyncPolicyChangedDetails` struct. +/// +/// Enabled/disabled Team Selective Sync for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New Team Selective Sync policy. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncPolicy *dNewValue; + +/// Previous Team Selective Sync policy. +@property (nonatomic, readonly) DBTEAMLOGTeamSelectiveSyncPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New Team Selective Sync policy. +/// @param previousValue Previous Team Selective Sync policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGTeamSelectiveSyncPolicy *)dNewValue + previousValue:(DBTEAMLOGTeamSelectiveSyncPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSelectiveSyncPolicyChangedDetails` +/// struct. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails` object. +/// ++ (DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h new file mode 100644 index 000000000..dd7b24bbc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSelectiveSyncPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSelectiveSyncPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSelectiveSyncPolicyChangedType` struct. +/// +@interface DBTEAMLOGTeamSelectiveSyncPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSelectiveSyncPolicyChangedType` object. +/// ++ (DBTEAMLOGTeamSelectiveSyncPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h new file mode 100644 index 000000000..7ec7b9f24 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBFILESSyncSetting; +@class DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSelectiveSyncSettingsChangedDetails` struct. +/// +/// Changed sync default. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Previous value. +@property (nonatomic, readonly) DBFILESSyncSetting *previousValue; + +/// New value. +@property (nonatomic, readonly) DBFILESSyncSetting *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous value. +/// @param dNewValue New value. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBFILESSyncSetting *)previousValue dNewValue:(DBFILESSyncSetting *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSelectiveSyncSettingsChangedDetails` +/// struct. +/// +@interface DBTEAMLOGTeamSelectiveSyncSettingsChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails` object. +/// ++ (DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h new file mode 100644 index 000000000..33c7f90d9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSelectiveSyncSettingsChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSelectiveSyncSettingsChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSelectiveSyncSettingsChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSelectiveSyncSettingsChangedType` +/// struct. +/// +@interface DBTEAMLOGTeamSelectiveSyncSettingsChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSelectiveSyncSettingsChangedType` object. +/// ++ (DBTEAMLOGTeamSelectiveSyncSettingsChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h new file mode 100644 index 000000000..3606a3105 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h @@ -0,0 +1,88 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSharingWhitelistSubjectsChangedDetails` struct. +/// +/// Edited the approved list for sharing externally. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Domains or emails added to the approved list for sharing externally. +@property (nonatomic, readonly) NSArray *addedWhitelistSubjects; + +/// Domains or emails removed from the approved list for sharing externally. +@property (nonatomic, readonly) NSArray *removedWhitelistSubjects; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param addedWhitelistSubjects Domains or emails added to the approved list +/// for sharing externally. +/// @param removedWhitelistSubjects Domains or emails removed from the approved +/// list for sharing externally. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAddedWhitelistSubjects:(NSArray *)addedWhitelistSubjects + removedWhitelistSubjects:(NSArray *)removedWhitelistSubjects; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSharingWhitelistSubjectsChangedDetails` +/// struct. +/// +@interface DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails` object. +/// ++ (DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h new file mode 100644 index 000000000..3a3e1c13a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTeamSharingWhitelistSubjectsChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TeamSharingWhitelistSubjectsChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTeamSharingWhitelistSubjectsChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TeamSharingWhitelistSubjectsChangedType` +/// struct. +/// +@interface DBTEAMLOGTeamSharingWhitelistSubjectsChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGTeamSharingWhitelistSubjectsChangedType` object. +/// ++ (DBTEAMLOGTeamSharingWhitelistSubjectsChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneDetails.h index e21835ec5..716c79f97 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaAddBackupPhoneDetails` struct. /// -/// Added a backup phone for two-step verification. +/// Added backup phone for two-step verification. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddBackupPhoneDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaAddBackupPhoneDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTfaAddBackupPhoneDetails` object. /// -+ (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaAddBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneType.h new file mode 100644 index 000000000..a05a8c85a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddBackupPhoneType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaAddBackupPhoneType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaAddBackupPhoneType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaAddBackupPhoneType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaAddBackupPhoneType` struct. +/// +@interface DBTEAMLOGTfaAddBackupPhoneTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaAddBackupPhoneType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaAddBackupPhoneType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddBackupPhoneType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddBackupPhoneType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaAddBackupPhoneType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddBackupPhoneType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaAddBackupPhoneType` object. +/// ++ (DBTEAMLOGTfaAddBackupPhoneType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamViewDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionDetails.h similarity index 52% rename from Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamViewDetails.h rename to Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionDetails.h index b0bb7e485..ca9330aa1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGShmodelTeamViewDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionDetails.h @@ -8,22 +8,22 @@ #import "DBSerializableProtocol.h" -@class DBTEAMLOGShmodelTeamViewDetails; +@class DBTEAMLOGTfaAddExceptionDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// -/// The `ShmodelTeamViewDetails` struct. +/// The `TfaAddExceptionDetails` struct. /// -/// Opened a team member's link. +/// Added members to two factor authentication exception list. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route /// objects. /// -@interface DBTEAMLOGShmodelTeamViewDetails : NSObject +@interface DBTEAMLOGTfaAddExceptionDetails : NSObject #pragma mark - Instance fields @@ -43,30 +43,30 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Serializer Object /// -/// The serialization class for the `ShmodelTeamViewDetails` struct. +/// The serialization class for the `TfaAddExceptionDetails` struct. /// -@interface DBTEAMLOGShmodelTeamViewDetailsSerializer : NSObject +@interface DBTEAMLOGTfaAddExceptionDetailsSerializer : NSObject /// -/// Serializes `DBTEAMLOGShmodelTeamViewDetails` instances. +/// Serializes `DBTEAMLOGTfaAddExceptionDetails` instances. /// -/// @param instance An instance of the `DBTEAMLOGShmodelTeamViewDetails` API +/// @param instance An instance of the `DBTEAMLOGTfaAddExceptionDetails` API /// object. /// /// @return A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamViewDetails` API object. +/// `DBTEAMLOGTfaAddExceptionDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGShmodelTeamViewDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionDetails *)instance; /// -/// Deserializes `DBTEAMLOGShmodelTeamViewDetails` instances. +/// Deserializes `DBTEAMLOGTfaAddExceptionDetails` instances. /// /// @param dict A json-compatible dictionary representation of the -/// `DBTEAMLOGShmodelTeamViewDetails` API object. +/// `DBTEAMLOGTfaAddExceptionDetails` API object. /// -/// @return An instantiation of the `DBTEAMLOGShmodelTeamViewDetails` object. +/// @return An instantiation of the `DBTEAMLOGTfaAddExceptionDetails` object. /// -+ (DBTEAMLOGShmodelTeamViewDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaAddExceptionDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionType.h new file mode 100644 index 000000000..90713afb9 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddExceptionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaAddExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaAddExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaAddExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaAddExceptionType` struct. +/// +@interface DBTEAMLOGTfaAddExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaAddExceptionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaAddExceptionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaAddExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaAddExceptionType` object. +/// ++ (DBTEAMLOGTfaAddExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyDetails.h index 794722f4c..559616154 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaAddSecurityKeyDetails` struct. /// -/// Added a security key for two-step verification. +/// Added security key for two-step verification. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaAddSecurityKeyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaAddSecurityKeyDetails` instances. @@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTfaAddSecurityKeyDetails` object. /// -+ (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaAddSecurityKeyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyType.h new file mode 100644 index 000000000..f8655b843 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaAddSecurityKeyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaAddSecurityKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaAddSecurityKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaAddSecurityKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaAddSecurityKeyType` struct. +/// +@interface DBTEAMLOGTfaAddSecurityKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaAddSecurityKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaAddSecurityKeyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddSecurityKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaAddSecurityKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaAddSecurityKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaAddSecurityKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaAddSecurityKeyType` object. +/// ++ (DBTEAMLOGTfaAddSecurityKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneDetails.h index 1bb565f47..bbb1f38bd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaChangeBackupPhoneDetails` struct. /// -/// Changed the backup phone for two-step verification. +/// Changed backup phone for two-step verification. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeBackupPhoneDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangeBackupPhoneDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTfaChangeBackupPhoneDetails` /// object. /// -+ (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaChangeBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneType.h new file mode 100644 index 000000000..64c7f5604 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeBackupPhoneType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaChangeBackupPhoneType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaChangeBackupPhoneType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaChangeBackupPhoneType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaChangeBackupPhoneType` struct. +/// +@interface DBTEAMLOGTfaChangeBackupPhoneTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaChangeBackupPhoneType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaChangeBackupPhoneType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangeBackupPhoneType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeBackupPhoneType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaChangeBackupPhoneType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangeBackupPhoneType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaChangeBackupPhoneType` object. +/// ++ (DBTEAMLOGTfaChangeBackupPhoneType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyDetails.h index bac23e62b..3feb075d1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaChangePolicyDetails` struct. /// -/// Change two-step verification policy for the team. +/// Changed two-step verification setting for team. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -78,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangePolicyDetails` instances. @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTfaChangePolicyDetails` object. /// -+ (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyType.h new file mode 100644 index 000000000..e6e482053 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangePolicyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaChangePolicyType` struct. +/// +@interface DBTEAMLOGTfaChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaChangePolicyType` object. +/// ++ (DBTEAMLOGTfaChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusDetails.h index a4d9525d9..b2ee86587 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaChangeStatusDetails` struct. /// -/// Enabled, disabled or changed the configuration for two-step verification. +/// Enabled/disabled/changed two-step verification setting. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -86,7 +86,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaChangeStatusDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaChangeStatusDetails` instances. @@ -96,7 +96,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTfaChangeStatusDetails` object. /// -+ (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaChangeStatusDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusType.h new file mode 100644 index 000000000..c840047a5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaChangeStatusType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaChangeStatusType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaChangeStatusType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaChangeStatusType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaChangeStatusType` struct. +/// +@interface DBTEAMLOGTfaChangeStatusTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaChangeStatusType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaChangeStatusType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangeStatusType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaChangeStatusType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaChangeStatusType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaChangeStatusType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaChangeStatusType` object. +/// ++ (DBTEAMLOGTfaChangeStatusType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaConfiguration.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaConfiguration.h index b1b9e4a57..106575001 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaConfiguration.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaConfiguration.h @@ -30,21 +30,21 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGTfaConfigurationTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTfaConfiguration` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { - /// (no description). - DBTEAMLOGTfaConfigurationDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag){ + /// (no description). + DBTEAMLOGTfaConfigurationAuthenticator, - /// (no description). - DBTEAMLOGTfaConfigurationEnabled, + /// (no description). + DBTEAMLOGTfaConfigurationDisabled, - /// (no description). - DBTEAMLOGTfaConfigurationSms, + /// (no description). + DBTEAMLOGTfaConfigurationEnabled, - /// (no description). - DBTEAMLOGTfaConfigurationAuthenticator, + /// (no description). + DBTEAMLOGTfaConfigurationSms, - /// (no description). - DBTEAMLOGTfaConfigurationOther, + /// (no description). + DBTEAMLOGTfaConfigurationOther, }; @@ -53,6 +53,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { #pragma mark - Constructors +/// +/// Initializes union class with tag state of "authenticator". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAuthenticator; + /// /// Initializes union class with tag state of "disabled". /// @@ -74,13 +81,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { /// - (instancetype)initWithSms; -/// -/// Initializes union class with tag state of "authenticator". -/// -/// @return An initialized instance. -/// -- (instancetype)initWithAuthenticator; - /// /// Initializes union class with tag state of "other". /// @@ -92,6 +92,13 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { #pragma mark - Tag state methods +/// +/// Retrieves whether the union's current tag state has value "authenticator". +/// +/// @return Whether the union's current tag state has value "authenticator". +/// +- (BOOL)isAuthenticator; + /// /// Retrieves whether the union's current tag state has value "disabled". /// @@ -113,13 +120,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { /// - (BOOL)isSms; -/// -/// Retrieves whether the union's current tag state has value "authenticator". -/// -/// @return Whether the union's current tag state has value "authenticator". -/// -- (BOOL)isAuthenticator; - /// /// Retrieves whether the union's current tag state has value "other". /// @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaConfiguration` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaConfiguration *)instance; /// /// Deserializes `DBTEAMLOGTfaConfiguration` instances. @@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTfaConfigurationTag) { /// /// @return An instantiation of the `DBTEAMLOGTfaConfiguration` object. /// -+ (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaConfiguration *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneDetails.h index 7cbf21b8a..261ad1552 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaRemoveBackupPhoneDetails` struct. /// -/// Removed the backup phone for two-step verification. +/// Removed backup phone for two-step verification. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveBackupPhoneDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaRemoveBackupPhoneDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTfaRemoveBackupPhoneDetails` /// object. /// -+ (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaRemoveBackupPhoneDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneType.h new file mode 100644 index 000000000..fdb751250 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveBackupPhoneType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaRemoveBackupPhoneType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaRemoveBackupPhoneType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaRemoveBackupPhoneType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaRemoveBackupPhoneType` struct. +/// +@interface DBTEAMLOGTfaRemoveBackupPhoneTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaRemoveBackupPhoneType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaRemoveBackupPhoneType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveBackupPhoneType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveBackupPhoneType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaRemoveBackupPhoneType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveBackupPhoneType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaRemoveBackupPhoneType` object. +/// ++ (DBTEAMLOGTfaRemoveBackupPhoneType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionDetails.h new file mode 100644 index 000000000..bb29c298c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionDetails.h @@ -0,0 +1,73 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaRemoveExceptionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaRemoveExceptionDetails` struct. +/// +/// Removed members from two factor authentication exception list. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaRemoveExceptionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaRemoveExceptionDetails` struct. +/// +@interface DBTEAMLOGTfaRemoveExceptionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaRemoveExceptionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaRemoveExceptionDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveExceptionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaRemoveExceptionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveExceptionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaRemoveExceptionDetails` object. +/// ++ (DBTEAMLOGTfaRemoveExceptionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionType.h new file mode 100644 index 000000000..56eba6daa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveExceptionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaRemoveExceptionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaRemoveExceptionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaRemoveExceptionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaRemoveExceptionType` struct. +/// +@interface DBTEAMLOGTfaRemoveExceptionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaRemoveExceptionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaRemoveExceptionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveExceptionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveExceptionType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaRemoveExceptionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveExceptionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaRemoveExceptionType` object. +/// ++ (DBTEAMLOGTfaRemoveExceptionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyDetails.h index a0d8b0544..97d07354e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyDetails.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TfaRemoveSecurityKeyDetails` struct. /// -/// Removed a security key for two-step verification. +/// Removed security key for two-step verification. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaRemoveSecurityKeyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaRemoveSecurityKeyDetails` instances. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTfaRemoveSecurityKeyDetails` /// object. /// -+ (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaRemoveSecurityKeyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyType.h new file mode 100644 index 000000000..848fa70fb --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaRemoveSecurityKeyType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaRemoveSecurityKeyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaRemoveSecurityKeyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaRemoveSecurityKeyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaRemoveSecurityKeyType` struct. +/// +@interface DBTEAMLOGTfaRemoveSecurityKeyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaRemoveSecurityKeyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaRemoveSecurityKeyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveSecurityKeyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaRemoveSecurityKeyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaRemoveSecurityKeyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaRemoveSecurityKeyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaRemoveSecurityKeyType` object. +/// ++ (DBTEAMLOGTfaRemoveSecurityKeyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetDetails.h index 0e19601c4..ad51290cb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetDetails.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTfaResetDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaResetDetails *)instance; /// /// Deserializes `DBTEAMLOGTfaResetDetails` instances. @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGTfaResetDetails` object. /// -+ (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTfaResetDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetType.h new file mode 100644 index 000000000..6b5681f05 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTfaResetType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTfaResetType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TfaResetType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTfaResetType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TfaResetType` struct. +/// +@interface DBTEAMLOGTfaResetTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTfaResetType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTfaResetType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaResetType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTfaResetType *)instance; + +/// +/// Deserializes `DBTEAMLOGTfaResetType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTfaResetType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTfaResetType` object. +/// ++ (DBTEAMLOGTfaResetType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTimeUnit.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTimeUnit.h index a3ebf2374..2e7c3c287 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTimeUnit.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTimeUnit.h @@ -27,33 +27,33 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGTimeUnitTag` enum type represents the possible tag states with /// which the `DBTEAMLOGTimeUnit` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { - /// (no description). - DBTEAMLOGTimeUnitMilliseconds, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTimeUnitTag){ + /// (no description). + DBTEAMLOGTimeUnitDays, - /// (no description). - DBTEAMLOGTimeUnitSeconds, + /// (no description). + DBTEAMLOGTimeUnitHours, - /// (no description). - DBTEAMLOGTimeUnitMinutes, + /// (no description). + DBTEAMLOGTimeUnitMilliseconds, - /// (no description). - DBTEAMLOGTimeUnitHours, + /// (no description). + DBTEAMLOGTimeUnitMinutes, - /// (no description). - DBTEAMLOGTimeUnitDays, + /// (no description). + DBTEAMLOGTimeUnitMonths, - /// (no description). - DBTEAMLOGTimeUnitWeeks, + /// (no description). + DBTEAMLOGTimeUnitSeconds, - /// (no description). - DBTEAMLOGTimeUnitMonths, + /// (no description). + DBTEAMLOGTimeUnitWeeks, - /// (no description). - DBTEAMLOGTimeUnitYears, + /// (no description). + DBTEAMLOGTimeUnitYears, - /// (no description). - DBTEAMLOGTimeUnitOther, + /// (no description). + DBTEAMLOGTimeUnitOther, }; @@ -63,53 +63,53 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { #pragma mark - Constructors /// -/// Initializes union class with tag state of "milliseconds". +/// Initializes union class with tag state of "days". /// /// @return An initialized instance. /// -- (instancetype)initWithMilliseconds; +- (instancetype)initWithDays; /// -/// Initializes union class with tag state of "seconds". +/// Initializes union class with tag state of "hours". /// /// @return An initialized instance. /// -- (instancetype)initWithSeconds; +- (instancetype)initWithHours; /// -/// Initializes union class with tag state of "minutes". +/// Initializes union class with tag state of "milliseconds". /// /// @return An initialized instance. /// -- (instancetype)initWithMinutes; +- (instancetype)initWithMilliseconds; /// -/// Initializes union class with tag state of "hours". +/// Initializes union class with tag state of "minutes". /// /// @return An initialized instance. /// -- (instancetype)initWithHours; +- (instancetype)initWithMinutes; /// -/// Initializes union class with tag state of "days". +/// Initializes union class with tag state of "months". /// /// @return An initialized instance. /// -- (instancetype)initWithDays; +- (instancetype)initWithMonths; /// -/// Initializes union class with tag state of "weeks". +/// Initializes union class with tag state of "seconds". /// /// @return An initialized instance. /// -- (instancetype)initWithWeeks; +- (instancetype)initWithSeconds; /// -/// Initializes union class with tag state of "months". +/// Initializes union class with tag state of "weeks". /// /// @return An initialized instance. /// -- (instancetype)initWithMonths; +- (instancetype)initWithWeeks; /// /// Initializes union class with tag state of "years". @@ -130,18 +130,25 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { #pragma mark - Tag state methods /// -/// Retrieves whether the union's current tag state has value "milliseconds". +/// Retrieves whether the union's current tag state has value "days". /// -/// @return Whether the union's current tag state has value "milliseconds". +/// @return Whether the union's current tag state has value "days". /// -- (BOOL)isMilliseconds; +- (BOOL)isDays; /// -/// Retrieves whether the union's current tag state has value "seconds". +/// Retrieves whether the union's current tag state has value "hours". /// -/// @return Whether the union's current tag state has value "seconds". +/// @return Whether the union's current tag state has value "hours". /// -- (BOOL)isSeconds; +- (BOOL)isHours; + +/// +/// Retrieves whether the union's current tag state has value "milliseconds". +/// +/// @return Whether the union's current tag state has value "milliseconds". +/// +- (BOOL)isMilliseconds; /// /// Retrieves whether the union's current tag state has value "minutes". @@ -151,18 +158,18 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { - (BOOL)isMinutes; /// -/// Retrieves whether the union's current tag state has value "hours". +/// Retrieves whether the union's current tag state has value "months". /// -/// @return Whether the union's current tag state has value "hours". +/// @return Whether the union's current tag state has value "months". /// -- (BOOL)isHours; +- (BOOL)isMonths; /// -/// Retrieves whether the union's current tag state has value "days". +/// Retrieves whether the union's current tag state has value "seconds". /// -/// @return Whether the union's current tag state has value "days". +/// @return Whether the union's current tag state has value "seconds". /// -- (BOOL)isDays; +- (BOOL)isSeconds; /// /// Retrieves whether the union's current tag state has value "weeks". @@ -171,13 +178,6 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { /// - (BOOL)isWeeks; -/// -/// Retrieves whether the union's current tag state has value "months". -/// -/// @return Whether the union's current tag state has value "months". -/// -- (BOOL)isMonths; - /// /// Retrieves whether the union's current tag state has value "years". /// @@ -216,7 +216,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTimeUnit` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTimeUnit *)instance; /// /// Deserializes `DBTEAMLOGTimeUnit` instances. @@ -226,7 +226,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTimeUnitTag) { /// /// @return An instantiation of the `DBTEAMLOGTimeUnit` object. /// -+ (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTimeUnit *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberLogInfo.h new file mode 100644 index 000000000..590601127 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberLogInfo.h @@ -0,0 +1,103 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMLOGUserLogInfo.h" + +@class DBTEAMLOGTeamLogInfo; +@class DBTEAMLOGTrustedNonTeamMemberLogInfo; +@class DBTEAMLOGTrustedNonTeamMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TrustedNonTeamMemberLogInfo` struct. +/// +/// User that is not a member of the team but considered trusted. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTrustedNonTeamMemberLogInfo : DBTEAMLOGUserLogInfo + +#pragma mark - Instance fields + +/// Indicates the type of the member of a trusted team. +@property (nonatomic, readonly) DBTEAMLOGTrustedNonTeamMemberType *trustedNonTeamMemberType; + +/// Details about this user's trusted team. +@property (nonatomic, readonly, nullable) DBTEAMLOGTeamLogInfo *team; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param trustedNonTeamMemberType Indicates the type of the member of a +/// trusted team. +/// @param accountId User unique ID. +/// @param displayName User display name. +/// @param email User email address. +/// @param team Details about this user's trusted team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)trustedNonTeamMemberType + accountId:(nullable NSString *)accountId + displayName:(nullable NSString *)displayName + email:(nullable NSString *)email + team:(nullable DBTEAMLOGTeamLogInfo *)team; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param trustedNonTeamMemberType Indicates the type of the member of a +/// trusted team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTrustedNonTeamMemberType:(DBTEAMLOGTrustedNonTeamMemberType *)trustedNonTeamMemberType; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TrustedNonTeamMemberLogInfo` struct. +/// +@interface DBTEAMLOGTrustedNonTeamMemberLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTrustedNonTeamMemberLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTrustedNonTeamMemberLogInfo` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedNonTeamMemberLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTrustedNonTeamMemberLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGTrustedNonTeamMemberLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedNonTeamMemberLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTrustedNonTeamMemberLogInfo` +/// object. +/// ++ (DBTEAMLOGTrustedNonTeamMemberLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberType.h new file mode 100644 index 000000000..3862acc32 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedNonTeamMemberType.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTrustedNonTeamMemberType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TrustedNonTeamMemberType` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTrustedNonTeamMemberType : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTrustedNonTeamMemberTypeTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGTrustedNonTeamMemberType` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTrustedNonTeamMemberTypeTag){ + /// (no description). + DBTEAMLOGTrustedNonTeamMemberTypeEnterpriseAdmin, + + /// (no description). + DBTEAMLOGTrustedNonTeamMemberTypeMultiInstanceAdmin, + + /// (no description). + DBTEAMLOGTrustedNonTeamMemberTypeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTrustedNonTeamMemberTypeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "enterprise_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnterpriseAdmin; + +/// +/// Initializes union class with tag state of "multi_instance_admin". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMultiInstanceAdmin; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "enterprise_admin". +/// +/// @return Whether the union's current tag state has value "enterprise_admin". +/// +- (BOOL)isEnterpriseAdmin; + +/// +/// Retrieves whether the union's current tag state has value +/// "multi_instance_admin". +/// +/// @return Whether the union's current tag state has value +/// "multi_instance_admin". +/// +- (BOOL)isMultiInstanceAdmin; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTrustedNonTeamMemberType` union. +/// +@interface DBTEAMLOGTrustedNonTeamMemberTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTrustedNonTeamMemberType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTrustedNonTeamMemberType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedNonTeamMemberType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTrustedNonTeamMemberType *)instance; + +/// +/// Deserializes `DBTEAMLOGTrustedNonTeamMemberType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedNonTeamMemberType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTrustedNonTeamMemberType` object. +/// ++ (DBTEAMLOGTrustedNonTeamMemberType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestAction.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestAction.h new file mode 100644 index 000000000..642a52b0a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestAction.h @@ -0,0 +1,184 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTrustedTeamsRequestAction; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TrustedTeamsRequestAction` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTrustedTeamsRequestAction : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTrustedTeamsRequestActionTag` enum type represents the +/// possible tag states with which the `DBTEAMLOGTrustedTeamsRequestAction` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTrustedTeamsRequestActionTag){ + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionAccepted, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionDeclined, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionExpired, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionInvited, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionRevoked, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestActionOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestActionTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "accepted". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccepted; + +/// +/// Initializes union class with tag state of "declined". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDeclined; + +/// +/// Initializes union class with tag state of "expired". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithExpired; + +/// +/// Initializes union class with tag state of "invited". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvited; + +/// +/// Initializes union class with tag state of "revoked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRevoked; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "accepted". +/// +/// @return Whether the union's current tag state has value "accepted". +/// +- (BOOL)isAccepted; + +/// +/// Retrieves whether the union's current tag state has value "declined". +/// +/// @return Whether the union's current tag state has value "declined". +/// +- (BOOL)isDeclined; + +/// +/// Retrieves whether the union's current tag state has value "expired". +/// +/// @return Whether the union's current tag state has value "expired". +/// +- (BOOL)isExpired; + +/// +/// Retrieves whether the union's current tag state has value "invited". +/// +/// @return Whether the union's current tag state has value "invited". +/// +- (BOOL)isInvited; + +/// +/// Retrieves whether the union's current tag state has value "revoked". +/// +/// @return Whether the union's current tag state has value "revoked". +/// +- (BOOL)isRevoked; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTrustedTeamsRequestAction` union. +/// +@interface DBTEAMLOGTrustedTeamsRequestActionSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTrustedTeamsRequestAction` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTrustedTeamsRequestAction` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedTeamsRequestAction` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestAction *)instance; + +/// +/// Deserializes `DBTEAMLOGTrustedTeamsRequestAction` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedTeamsRequestAction` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTrustedTeamsRequestAction` object. +/// ++ (DBTEAMLOGTrustedTeamsRequestAction *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestState.h new file mode 100644 index 000000000..1928e4aa7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTrustedTeamsRequestState.h @@ -0,0 +1,150 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTrustedTeamsRequestState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TrustedTeamsRequestState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTrustedTeamsRequestState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGTrustedTeamsRequestStateTag` enum type represents the possible +/// tag states with which the `DBTEAMLOGTrustedTeamsRequestState` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTrustedTeamsRequestStateTag){ + /// (no description). + DBTEAMLOGTrustedTeamsRequestStateInvited, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestStateLinked, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestStateUnlinked, + + /// (no description). + DBTEAMLOGTrustedTeamsRequestStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGTrustedTeamsRequestStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "invited". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInvited; + +/// +/// Initializes union class with tag state of "linked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithLinked; + +/// +/// Initializes union class with tag state of "unlinked". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUnlinked; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "invited". +/// +/// @return Whether the union's current tag state has value "invited". +/// +- (BOOL)isInvited; + +/// +/// Retrieves whether the union's current tag state has value "linked". +/// +/// @return Whether the union's current tag state has value "linked". +/// +- (BOOL)isLinked; + +/// +/// Retrieves whether the union's current tag state has value "unlinked". +/// +/// @return Whether the union's current tag state has value "unlinked". +/// +- (BOOL)isUnlinked; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGTrustedTeamsRequestState` union. +/// +@interface DBTEAMLOGTrustedTeamsRequestStateSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTrustedTeamsRequestState` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTrustedTeamsRequestState` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedTeamsRequestState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTrustedTeamsRequestState *)instance; + +/// +/// Deserializes `DBTEAMLOGTrustedTeamsRequestState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTrustedTeamsRequestState` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTrustedTeamsRequestState` object. +/// ++ (DBTEAMLOGTrustedTeamsRequestState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyDetails.h index 7c9a724ca..4e368daec 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyDetails.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `TwoAccountChangePolicyDetails` struct. /// -/// Enabled or disabled the option for team members to link a personal Dropbox -/// account in addition to their work account to the same computer. +/// Enabled/disabled option for members to link personal Dropbox account and +/// team account to same computer. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountChangePolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGTwoAccountChangePolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGTwoAccountChangePolicyDetails` /// object. /// -+ (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTwoAccountChangePolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyType.h new file mode 100644 index 000000000..3b2115c20 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountChangePolicyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGTwoAccountChangePolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TwoAccountChangePolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGTwoAccountChangePolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `TwoAccountChangePolicyType` struct. +/// +@interface DBTEAMLOGTwoAccountChangePolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGTwoAccountChangePolicyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGTwoAccountChangePolicyType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGTwoAccountChangePolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountChangePolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGTwoAccountChangePolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGTwoAccountChangePolicyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGTwoAccountChangePolicyType` +/// object. +/// ++ (DBTEAMLOGTwoAccountChangePolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountPolicy.h index de51825da..64b0ae797 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGTwoAccountPolicy.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGTwoAccountPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMLOGTwoAccountPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGTwoAccountPolicyTag) { - /// (no description). - DBTEAMLOGTwoAccountPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGTwoAccountPolicyTag){ + /// (no description). + DBTEAMLOGTwoAccountPolicyDisabled, - /// (no description). - DBTEAMLOGTwoAccountPolicyEnabled, + /// (no description). + DBTEAMLOGTwoAccountPolicyEnabled, - /// (no description). - DBTEAMLOGTwoAccountPolicyOther, + /// (no description). + DBTEAMLOGTwoAccountPolicyOther, }; @@ -116,7 +116,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTwoAccountPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGTwoAccountPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGTwoAccountPolicy *)instance; /// /// Deserializes `DBTEAMLOGTwoAccountPolicy` instances. @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGTwoAccountPolicyTag) { /// /// @return An instantiation of the `DBTEAMLOGTwoAccountPolicy` object. /// -+ (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGTwoAccountPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionDetails.h new file mode 100644 index 000000000..28d802ee1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUndoNamingConventionDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UndoNamingConventionDetails` struct. +/// +/// Reverted naming convention. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUndoNamingConventionDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UndoNamingConventionDetails` struct. +/// +@interface DBTEAMLOGUndoNamingConventionDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUndoNamingConventionDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUndoNamingConventionDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoNamingConventionDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGUndoNamingConventionDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoNamingConventionDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUndoNamingConventionDetails` +/// object. +/// ++ (DBTEAMLOGUndoNamingConventionDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionType.h new file mode 100644 index 000000000..822af2a2c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoNamingConventionType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUndoNamingConventionType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UndoNamingConventionType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUndoNamingConventionType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UndoNamingConventionType` struct. +/// +@interface DBTEAMLOGUndoNamingConventionTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUndoNamingConventionType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUndoNamingConventionType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoNamingConventionType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUndoNamingConventionType *)instance; + +/// +/// Deserializes `DBTEAMLOGUndoNamingConventionType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoNamingConventionType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUndoNamingConventionType` object. +/// ++ (DBTEAMLOGUndoNamingConventionType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h new file mode 100644 index 000000000..1b40d89fa --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h @@ -0,0 +1,74 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUndoOrganizeFolderWithTidyDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UndoOrganizeFolderWithTidyDetails` struct. +/// +/// Removed multi-file organize. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUndoOrganizeFolderWithTidyDetails : NSObject + +#pragma mark - Instance fields + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @return An initialized instance. +/// +- (instancetype)initDefault; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UndoOrganizeFolderWithTidyDetails` struct. +/// +@interface DBTEAMLOGUndoOrganizeFolderWithTidyDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUndoOrganizeFolderWithTidyDetails` +/// object. +/// ++ (DBTEAMLOGUndoOrganizeFolderWithTidyDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyType.h new file mode 100644 index 000000000..346a07493 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUndoOrganizeFolderWithTidyType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUndoOrganizeFolderWithTidyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UndoOrganizeFolderWithTidyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUndoOrganizeFolderWithTidyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UndoOrganizeFolderWithTidyType` struct. +/// +@interface DBTEAMLOGUndoOrganizeFolderWithTidyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUndoOrganizeFolderWithTidyType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUndoOrganizeFolderWithTidyType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoOrganizeFolderWithTidyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUndoOrganizeFolderWithTidyType *)instance; + +/// +/// Deserializes `DBTEAMLOGUndoOrganizeFolderWithTidyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUndoOrganizeFolderWithTidyType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUndoOrganizeFolderWithTidyType` +/// object. +/// ++ (DBTEAMLOGUndoOrganizeFolderWithTidyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLinkedAppLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLinkedAppLogInfo.h index 0bea245f3..f3f0b9c30 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLinkedAppLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLinkedAppLogInfo.h @@ -33,9 +33,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param appId App unique ID. Might be missing due to historical data gap. -/// @param displayName App display name. Might be missing due to historical data -/// gap. +/// @param appId App unique ID. +/// @param displayName App display name. /// /// @return An initialized instance. /// @@ -68,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserLinkedAppLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserLinkedAppLogInfo` instances. @@ -78,7 +77,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGUserLinkedAppLogInfo` object. /// -+ (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGUserLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLogInfo.h index f1fac1572..cbe96424a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserLogInfo.h @@ -27,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Instance fields -/// User unique ID. Might be missing due to historical data gap. +/// User unique ID. @property (nonatomic, readonly, copy, nullable) NSString *accountId; -/// User display name. Might be missing due to historical data gap. +/// User display name. @property (nonatomic, readonly, copy, nullable) NSString *displayName; -/// User email address. Might be missing due to historical data gap. +/// User email address. @property (nonatomic, readonly, copy, nullable) NSString *email; #pragma mark - Constructors @@ -41,12 +41,9 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param accountId User unique ID. Might be missing due to historical data -/// gap. -/// @param displayName User display name. Might be missing due to historical -/// data gap. -/// @param email User email address. Might be missing due to historical data -/// gap. +/// @param accountId User unique ID. +/// @param displayName User display name. +/// @param email User email address. /// /// @return An initialized instance. /// @@ -82,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGUserLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserLogInfo` instances. @@ -92,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGUserLogInfo` object. /// -+ (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGUserLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserNameLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserNameLogInfo.h index fdb2bd3e1..2439cdead 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserNameLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserNameLogInfo.h @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserNameLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserNameLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserNameLogInfo` instances. @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGUserNameLogInfo` object. /// -+ (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGUserNameLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserOrTeamLinkedAppLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserOrTeamLinkedAppLogInfo.h index f24fd6b10..8e3ea2f91 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserOrTeamLinkedAppLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserOrTeamLinkedAppLogInfo.h @@ -34,9 +34,8 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param appId App unique ID. Might be missing due to historical data gap. -/// @param displayName App display name. Might be missing due to historical data -/// gap. +/// @param appId App unique ID. +/// @param displayName App display name. /// /// @return An initialized instance. /// @@ -69,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGUserOrTeamLinkedAppLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserOrTeamLinkedAppLogInfo *)instance; /// /// Deserializes `DBTEAMLOGUserOrTeamLinkedAppLogInfo` instances. @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the `DBTEAMLOGUserOrTeamLinkedAppLogInfo` /// object. /// -+ (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGUserOrTeamLinkedAppLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedDetails.h new file mode 100644 index 000000000..a096cfe22 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUserTagsAddedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserTagsAddedDetails` struct. +/// +/// Tagged a file. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUserTagsAddedDetails : NSObject + +#pragma mark - Instance fields + +/// values. +@property (nonatomic, readonly) NSArray *values; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param values values. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithValues:(NSArray *)values; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserTagsAddedDetails` struct. +/// +@interface DBTEAMLOGUserTagsAddedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUserTagsAddedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUserTagsAddedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsAddedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGUserTagsAddedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsAddedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUserTagsAddedDetails` object. +/// ++ (DBTEAMLOGUserTagsAddedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedType.h new file mode 100644 index 000000000..131f79a71 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsAddedType.h @@ -0,0 +1,75 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUserTagsAddedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserTagsAddedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUserTagsAddedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserTagsAddedType` struct. +/// +@interface DBTEAMLOGUserTagsAddedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUserTagsAddedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUserTagsAddedType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsAddedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserTagsAddedType *)instance; + +/// +/// Deserializes `DBTEAMLOGUserTagsAddedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsAddedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUserTagsAddedType` object. +/// ++ (DBTEAMLOGUserTagsAddedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedDetails.h new file mode 100644 index 000000000..747650f7d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedDetails.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUserTagsRemovedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserTagsRemovedDetails` struct. +/// +/// Removed tags. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUserTagsRemovedDetails : NSObject + +#pragma mark - Instance fields + +/// values. +@property (nonatomic, readonly) NSArray *values; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param values values. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithValues:(NSArray *)values; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserTagsRemovedDetails` struct. +/// +@interface DBTEAMLOGUserTagsRemovedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUserTagsRemovedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUserTagsRemovedDetails` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsRemovedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGUserTagsRemovedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsRemovedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUserTagsRemovedDetails` object. +/// ++ (DBTEAMLOGUserTagsRemovedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedType.h new file mode 100644 index 000000000..2460a2198 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGUserTagsRemovedType.h @@ -0,0 +1,76 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGUserTagsRemovedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserTagsRemovedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGUserTagsRemovedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserTagsRemovedType` struct. +/// +@interface DBTEAMLOGUserTagsRemovedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGUserTagsRemovedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGUserTagsRemovedType` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsRemovedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGUserTagsRemovedType *)instance; + +/// +/// Deserializes `DBTEAMLOGUserTagsRemovedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGUserTagsRemovedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGUserTagsRemovedType` object. +/// ++ (DBTEAMLOGUserTagsRemovedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedDetails.h new file mode 100644 index 000000000..25c432b00 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedDetails.h @@ -0,0 +1,84 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGPassPolicy; +@class DBTEAMLOGViewerInfoPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ViewerInfoPolicyChangedDetails` struct. +/// +/// Changed team policy for viewer info. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGViewerInfoPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// Previous Viewer Info policy. +@property (nonatomic, readonly) DBTEAMLOGPassPolicy *previousValue; + +/// New Viewer Info policy. +@property (nonatomic, readonly) DBTEAMLOGPassPolicy *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous Viewer Info policy. +/// @param dNewValue New Viewer Info policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(DBTEAMLOGPassPolicy *)previousValue dNewValue:(DBTEAMLOGPassPolicy *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ViewerInfoPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGViewerInfoPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGViewerInfoPolicyChangedDetails` instances. +/// +/// @param instance An instance of the `DBTEAMLOGViewerInfoPolicyChangedDetails` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGViewerInfoPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGViewerInfoPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGViewerInfoPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGViewerInfoPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGViewerInfoPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedType.h new file mode 100644 index 000000000..64a1534e6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGViewerInfoPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGViewerInfoPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ViewerInfoPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGViewerInfoPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `ViewerInfoPolicyChangedType` struct. +/// +@interface DBTEAMLOGViewerInfoPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGViewerInfoPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGViewerInfoPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGViewerInfoPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGViewerInfoPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGViewerInfoPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGViewerInfoPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGViewerInfoPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGViewerInfoPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicy.h new file mode 100644 index 000000000..b4cb59da1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicy.h @@ -0,0 +1,133 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWatermarkingPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WatermarkingPolicy` union. +/// +/// Policy for controlling team access to watermarking feature +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWatermarkingPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMLOGWatermarkingPolicyTag` enum type represents the possible tag +/// states with which the `DBTEAMLOGWatermarkingPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGWatermarkingPolicyTag){ + /// (no description). + DBTEAMLOGWatermarkingPolicyDisabled, + + /// (no description). + DBTEAMLOGWatermarkingPolicyEnabled, + + /// (no description). + DBTEAMLOGWatermarkingPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMLOGWatermarkingPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMLOGWatermarkingPolicy` union. +/// +@interface DBTEAMLOGWatermarkingPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWatermarkingPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMLOGWatermarkingPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicy *)instance; + +/// +/// Deserializes `DBTEAMLOGWatermarkingPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMLOGWatermarkingPolicy` object. +/// ++ (DBTEAMLOGWatermarkingPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedDetails.h new file mode 100644 index 000000000..5a2458624 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedDetails.h @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWatermarkingPolicy; +@class DBTEAMLOGWatermarkingPolicyChangedDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WatermarkingPolicyChangedDetails` struct. +/// +/// Changed watermarking policy for team. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWatermarkingPolicyChangedDetails : NSObject + +#pragma mark - Instance fields + +/// New watermarking policy. +@property (nonatomic, readonly) DBTEAMLOGWatermarkingPolicy *dNewValue; + +/// Previous watermarking policy. +@property (nonatomic, readonly) DBTEAMLOGWatermarkingPolicy *previousValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param dNewValue New watermarking policy. +/// @param previousValue Previous watermarking policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDNewValue:(DBTEAMLOGWatermarkingPolicy *)dNewValue + previousValue:(DBTEAMLOGWatermarkingPolicy *)previousValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WatermarkingPolicyChangedDetails` struct. +/// +@interface DBTEAMLOGWatermarkingPolicyChangedDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWatermarkingPolicyChangedDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGWatermarkingPolicyChangedDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicyChangedDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGWatermarkingPolicyChangedDetails` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicyChangedDetails` API object. +/// +/// @return An instantiation of the `DBTEAMLOGWatermarkingPolicyChangedDetails` +/// object. +/// ++ (DBTEAMLOGWatermarkingPolicyChangedDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedType.h new file mode 100644 index 000000000..fbe4fb754 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWatermarkingPolicyChangedType.h @@ -0,0 +1,77 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWatermarkingPolicyChangedType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WatermarkingPolicyChangedType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWatermarkingPolicyChangedType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WatermarkingPolicyChangedType` struct. +/// +@interface DBTEAMLOGWatermarkingPolicyChangedTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWatermarkingPolicyChangedType` instances. +/// +/// @param instance An instance of the `DBTEAMLOGWatermarkingPolicyChangedType` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicyChangedType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWatermarkingPolicyChangedType *)instance; + +/// +/// Deserializes `DBTEAMLOGWatermarkingPolicyChangedType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWatermarkingPolicyChangedType` API object. +/// +/// @return An instantiation of the `DBTEAMLOGWatermarkingPolicyChangedType` +/// object. +/// ++ (DBTEAMLOGWatermarkingPolicyChangedType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebDeviceSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebDeviceSessionLogInfo.h new file mode 100644 index 000000000..01e2b5360 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebDeviceSessionLogInfo.h @@ -0,0 +1,111 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" + +@class DBTEAMLOGWebDeviceSessionLogInfo; +@class DBTEAMLOGWebSessionLogInfo; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WebDeviceSessionLogInfo` struct. +/// +/// Information on active web sessions +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWebDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo + +#pragma mark - Instance fields + +/// Web session unique id. +@property (nonatomic, readonly, nullable) DBTEAMLOGWebSessionLogInfo *sessionInfo; + +/// Information on the hosting device. +@property (nonatomic, readonly, copy) NSString *userAgent; + +/// Information on the hosting operating system. +@property (nonatomic, readonly, copy) NSString *os; + +/// Information on the browser used for this web session. +@property (nonatomic, readonly, copy) NSString *browser; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param userAgent Information on the hosting device. +/// @param os Information on the hosting operating system. +/// @param browser Information on the browser used for this web session. +/// @param ipAddress The IP address of the last activity from this session. +/// @param created The time this session was created. +/// @param updated The time of the last activity from this session. +/// @param sessionInfo Web session unique id. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAgent:(NSString *)userAgent + os:(NSString *)os + browser:(NSString *)browser + ipAddress:(nullable NSString *)ipAddress + created:(nullable NSDate *)created + updated:(nullable NSDate *)updated + sessionInfo:(nullable DBTEAMLOGWebSessionLogInfo *)sessionInfo; + +/// +/// Convenience constructor (exposes only non-nullable instance variables with +/// no default value). +/// +/// @param userAgent Information on the hosting device. +/// @param os Information on the hosting operating system. +/// @param browser Information on the browser used for this web session. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithUserAgent:(NSString *)userAgent os:(NSString *)os browser:(NSString *)browser; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WebDeviceSessionLogInfo` struct. +/// +@interface DBTEAMLOGWebDeviceSessionLogInfoSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWebDeviceSessionLogInfo` instances. +/// +/// @param instance An instance of the `DBTEAMLOGWebDeviceSessionLogInfo` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWebDeviceSessionLogInfo` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebDeviceSessionLogInfo *)instance; + +/// +/// Deserializes `DBTEAMLOGWebDeviceSessionLogInfo` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWebDeviceSessionLogInfo` API object. +/// +/// @return An instantiation of the `DBTEAMLOGWebDeviceSessionLogInfo` object. +/// ++ (DBTEAMLOGWebDeviceSessionLogInfo *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionLogInfo.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionLogInfo.h index b6e251c06..d68938c32 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionLogInfo.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionLogInfo.h @@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Full constructor for the struct (exposes all instance variables). /// -/// @param sessionId Session ID. Might be missing due to historical data gap. +/// @param sessionId Session ID. /// /// @return An initialized instance. /// @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionLogInfo` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionLogInfo *)instance; /// /// Deserializes `DBTEAMLOGWebSessionLogInfo` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMLOGWebSessionLogInfo` object. /// -+ (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGWebSessionLogInfo *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h new file mode 100644 index 000000000..4619926f6 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h @@ -0,0 +1,86 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WebSessionsChangeActiveSessionLimitDetails` struct. +/// +/// Changed limit on active sessions per member. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails : NSObject + +#pragma mark - Instance fields + +/// Previous max number of concurrent active sessions policy. +@property (nonatomic, readonly, copy) NSString *previousValue; + +/// New max number of concurrent active sessions policy. +@property (nonatomic, readonly, copy) NSString *dNewValue; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param previousValue Previous max number of concurrent active sessions +/// policy. +/// @param dNewValue New max number of concurrent active sessions policy. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPreviousValue:(NSString *)previousValue dNewValue:(NSString *)dNewValue; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WebSessionsChangeActiveSessionLimitDetails` +/// struct. +/// +@interface DBTEAMLOGWebSessionsChangeActiveSessionLimitDetailsSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)instance; + +/// +/// Deserializes `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails` object. +/// ++ (DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h new file mode 100644 index 000000000..f805c8b72 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWebSessionsChangeActiveSessionLimitType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WebSessionsChangeActiveSessionLimitType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWebSessionsChangeActiveSessionLimitType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WebSessionsChangeActiveSessionLimitType` +/// struct. +/// +@interface DBTEAMLOGWebSessionsChangeActiveSessionLimitTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)instance; + +/// +/// Deserializes `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGWebSessionsChangeActiveSessionLimitType` object. +/// ++ (DBTEAMLOGWebSessionsChangeActiveSessionLimitType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h index c32d96a9a..da4a10908 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `WebSessionsChangeFixedLengthPolicyDetails` struct. /// -/// Changed how long team members can stay signed in to Dropbox on the web. +/// Changed how long members can stay signed in to Dropbox.com. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -79,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` instances. @@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails` object. /// -+ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h new file mode 100644 index 000000000..4dcaf3cc2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWebSessionsChangeFixedLengthPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WebSessionsChangeFixedLengthPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWebSessionsChangeFixedLengthPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WebSessionsChangeFixedLengthPolicyType` +/// struct. +/// +@interface DBTEAMLOGWebSessionsChangeFixedLengthPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGWebSessionsChangeFixedLengthPolicyType` object. +/// ++ (DBTEAMLOGWebSessionsChangeFixedLengthPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h index b9ba322cb..3d1c5943d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h @@ -18,8 +18,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// The `WebSessionsChangeIdleLengthPolicyDetails` struct. /// -/// Changed how long team members can be idle while signed in to Dropbox on the -/// web. +/// Changed how long team members can be idle while signed in to Dropbox.com. /// /// This class implements the `DBSerializable` protocol (serialize and /// deserialize instance methods), which is required for all Obj-C SDK API route @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` instances. @@ -91,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return An instantiation of the /// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails` object. /// -+ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h new file mode 100644 index 000000000..c5cf47abf --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMLOGWebSessionsChangeIdleLengthPolicyType; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `WebSessionsChangeIdleLengthPolicyType` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMLOGWebSessionsChangeIdleLengthPolicyType : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly, copy) NSString *description_; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param description_ (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDescription_:(NSString *)description_; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `WebSessionsChangeIdleLengthPolicyType` +/// struct. +/// +@interface DBTEAMLOGWebSessionsChangeIdleLengthPolicyTypeSerializer : NSObject + +/// +/// Serializes `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` instances. +/// +/// @param instance An instance of the +/// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)instance; + +/// +/// Deserializes `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` API object. +/// +/// @return An instantiation of the +/// `DBTEAMLOGWebSessionsChangeIdleLengthPolicyType` object. +/// ++ (DBTEAMLOGWebSessionsChangeIdleLengthPolicyType *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsFixedLengthPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsFixedLengthPolicy.h index 4525a357f..664a0d7db 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsFixedLengthPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsFixedLengthPolicy.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGWebSessionsFixedLengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGWebSessionsFixedLengthPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsFixedLengthPolicyTag) { - /// Defined fixed session length. - DBTEAMLOGWebSessionsFixedLengthPolicyDefined, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGWebSessionsFixedLengthPolicyTag){ + /// Defined fixed session length. + DBTEAMLOGWebSessionsFixedLengthPolicyDefined, - /// Undefined fixed session length. - DBTEAMLOGWebSessionsFixedLengthPolicyUndefined, + /// Undefined fixed session length. + DBTEAMLOGWebSessionsFixedLengthPolicyUndefined, - /// (no description). - DBTEAMLOGWebSessionsFixedLengthPolicyOther, + /// (no description). + DBTEAMLOGWebSessionsFixedLengthPolicyOther, }; @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsFixedLengthPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsFixedLengthPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsFixedLengthPolicy *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsFixedLengthPolicy` instances. @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsFixedLengthPolicyTag) { /// @return An instantiation of the `DBTEAMLOGWebSessionsFixedLengthPolicy` /// object. /// -+ (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGWebSessionsFixedLengthPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsIdleLengthPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsIdleLengthPolicy.h index f18f0c7cd..b5c9db011 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsIdleLengthPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGWebSessionsIdleLengthPolicy.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMLOGWebSessionsIdleLengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMLOGWebSessionsIdleLengthPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsIdleLengthPolicyTag) { - /// Defined idle session length. - DBTEAMLOGWebSessionsIdleLengthPolicyDefined, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMLOGWebSessionsIdleLengthPolicyTag){ + /// Defined idle session length. + DBTEAMLOGWebSessionsIdleLengthPolicyDefined, - /// Undefined idle session length. - DBTEAMLOGWebSessionsIdleLengthPolicyUndefined, + /// Undefined idle session length. + DBTEAMLOGWebSessionsIdleLengthPolicyUndefined, - /// (no description). - DBTEAMLOGWebSessionsIdleLengthPolicyOther, + /// (no description). + DBTEAMLOGWebSessionsIdleLengthPolicyOther, }; @@ -133,7 +133,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsIdleLengthPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMLOGWebSessionsIdleLengthPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMLOGWebSessionsIdleLengthPolicy *)instance; /// /// Deserializes `DBTEAMLOGWebSessionsIdleLengthPolicy` instances. @@ -144,7 +144,7 @@ typedef NS_ENUM(NSInteger, DBTEAMLOGWebSessionsIdleLengthPolicyTag) { /// @return An instantiation of the `DBTEAMLOGWebSessionsIdleLengthPolicy` /// object. /// -+ (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMLOGWebSessionsIdleLengthPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m index 29b1ff65e..65e119fda 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/DBTeamPoliciesObjects.m @@ -8,34 +8,26 @@ #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESEmmState.h" +#import "DBTEAMPOLICIESCameraUploadsPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESEmmState +@implementation DBTEAMPOLICIESCameraUploadsPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESEmmStateDisabled; - } - return self; -} - -- (instancetype)initWithOptional { - self = [super init]; - if (self) { - _tag = DBTEAMPOLICIESEmmStateOptional; + _tag = DBTEAMPOLICIESCameraUploadsPolicyStateDisabled; } return self; } -- (instancetype)initWithRequired { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESEmmStateRequired; + _tag = DBTEAMPOLICIESCameraUploadsPolicyStateEnabled; } return self; } @@ -43,7 +35,7 @@ - (instancetype)initWithRequired { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESEmmStateOther; + _tag = DBTEAMPOLICIESCameraUploadsPolicyStateOther; } return self; } @@ -53,31 +45,25 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMPOLICIESEmmStateDisabled; + return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateDisabled; } -- (BOOL)isOptional { - return _tag == DBTEAMPOLICIESEmmStateOptional; -} - -- (BOOL)isRequired { - return _tag == DBTEAMPOLICIESEmmStateRequired; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateEnabled; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESEmmStateOther; + return _tag == DBTEAMPOLICIESCameraUploadsPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESEmmStateDisabled: - return @"DBTEAMPOLICIESEmmStateDisabled"; - case DBTEAMPOLICIESEmmStateOptional: - return @"DBTEAMPOLICIESEmmStateOptional"; - case DBTEAMPOLICIESEmmStateRequired: - return @"DBTEAMPOLICIESEmmStateRequired"; - case DBTEAMPOLICIESEmmStateOther: - return @"DBTEAMPOLICIESEmmStateOther"; + case DBTEAMPOLICIESCameraUploadsPolicyStateDisabled: + return @"DBTEAMPOLICIESCameraUploadsPolicyStateDisabled"; + case DBTEAMPOLICIESCameraUploadsPolicyStateEnabled: + return @"DBTEAMPOLICIESCameraUploadsPolicyStateEnabled"; + case DBTEAMPOLICIESCameraUploadsPolicyStateOther: + return @"DBTEAMPOLICIESCameraUploadsPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -85,18 +71,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESEmmStateSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESCameraUploadsPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESEmmStateSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESCameraUploadsPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESEmmStateSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESCameraUploadsPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -114,14 +100,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESEmmStateDisabled: + case DBTEAMPOLICIESCameraUploadsPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESEmmStateOptional: - result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESEmmStateRequired: + break; + case DBTEAMPOLICIESCameraUploadsPolicyStateEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESEmmStateOther: + break; + case DBTEAMPOLICIESCameraUploadsPolicyStateOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -136,25 +123,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToEmmState:other]; + return [self isEqualToCameraUploadsPolicyState:other]; } -- (BOOL)isEqualToEmmState:(DBTEAMPOLICIESEmmState *)anEmmState { - if (self == anEmmState) { +- (BOOL)isEqualToCameraUploadsPolicyState:(DBTEAMPOLICIESCameraUploadsPolicyState *)aCameraUploadsPolicyState { + if (self == aCameraUploadsPolicyState) { return YES; } - if (self.tag != anEmmState.tag) { + if (self.tag != aCameraUploadsPolicyState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESEmmStateDisabled: - return [[self tagName] isEqual:[anEmmState tagName]]; - case DBTEAMPOLICIESEmmStateOptional: - return [[self tagName] isEqual:[anEmmState tagName]]; - case DBTEAMPOLICIESEmmStateRequired: - return [[self tagName] isEqual:[anEmmState tagName]]; - case DBTEAMPOLICIESEmmStateOther: - return [[self tagName] isEqual:[anEmmState tagName]]; + case DBTEAMPOLICIESCameraUploadsPolicyStateDisabled: + return [[self tagName] isEqual:[aCameraUploadsPolicyState tagName]]; + case DBTEAMPOLICIESCameraUploadsPolicyStateEnabled: + return [[self tagName] isEqual:[aCameraUploadsPolicyState tagName]]; + case DBTEAMPOLICIESCameraUploadsPolicyStateOther: + return [[self tagName] isEqual:[aCameraUploadsPolicyState tagName]]; } return YES; } @@ -163,39 +148,35 @@ - (BOOL)isEqualToEmmState:(DBTEAMPOLICIESEmmState *)anEmmState { #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESEmmStateSerializer +@implementation DBTEAMPOLICIESCameraUploadsPolicyStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESCameraUploadsPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isOptional]) { - jsonDict[@".tag"] = @"optional"; - } else if ([valueObj isRequired]) { - jsonDict[@".tag"] = @"required"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESCameraUploadsPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMPOLICIESEmmState alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"optional"]) { - return [[DBTEAMPOLICIESEmmState alloc] initWithOptional]; - } else if ([tag isEqualToString:@"required"]) { - return [[DBTEAMPOLICIESEmmState alloc] initWithRequired]; + return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; + return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; + return [[DBTEAMPOLICIESCameraUploadsPolicyState alloc] initWithOther]; } } @@ -203,26 +184,42 @@ + (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESGroupCreation.h" +#import "DBTEAMPOLICIESComputerBackupPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESGroupCreation +@implementation DBTEAMPOLICIESComputerBackupPolicyState #pragma mark - Constructors -- (instancetype)initWithAdminsAndMembers { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESGroupCreationAdminsAndMembers; + _tag = DBTEAMPOLICIESComputerBackupPolicyStateDisabled; } return self; } -- (instancetype)initWithAdminsOnly { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESGroupCreationAdminsOnly; + _tag = DBTEAMPOLICIESComputerBackupPolicyStateEnabled; + } + return self; +} + +- (instancetype)initWithDefault_ { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESComputerBackupPolicyStateDefault_; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESComputerBackupPolicyStateOther; } return self; } @@ -231,20 +228,32 @@ - (instancetype)initWithAdminsOnly { #pragma mark - Tag state methods -- (BOOL)isAdminsAndMembers { - return _tag == DBTEAMPOLICIESGroupCreationAdminsAndMembers; +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESComputerBackupPolicyStateDisabled; } -- (BOOL)isAdminsOnly { - return _tag == DBTEAMPOLICIESGroupCreationAdminsOnly; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESComputerBackupPolicyStateEnabled; +} + +- (BOOL)isDefault_ { + return _tag == DBTEAMPOLICIESComputerBackupPolicyStateDefault_; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESComputerBackupPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESGroupCreationAdminsAndMembers: - return @"DBTEAMPOLICIESGroupCreationAdminsAndMembers"; - case DBTEAMPOLICIESGroupCreationAdminsOnly: - return @"DBTEAMPOLICIESGroupCreationAdminsOnly"; + case DBTEAMPOLICIESComputerBackupPolicyStateDisabled: + return @"DBTEAMPOLICIESComputerBackupPolicyStateDisabled"; + case DBTEAMPOLICIESComputerBackupPolicyStateEnabled: + return @"DBTEAMPOLICIESComputerBackupPolicyStateEnabled"; + case DBTEAMPOLICIESComputerBackupPolicyStateDefault_: + return @"DBTEAMPOLICIESComputerBackupPolicyStateDefault_"; + case DBTEAMPOLICIESComputerBackupPolicyStateOther: + return @"DBTEAMPOLICIESComputerBackupPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -252,18 +261,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESGroupCreationSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESComputerBackupPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESGroupCreationSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESComputerBackupPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESGroupCreationSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESComputerBackupPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -281,10 +290,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESGroupCreationAdminsAndMembers: + case DBTEAMPOLICIESComputerBackupPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESGroupCreationAdminsOnly: + break; + case DBTEAMPOLICIESComputerBackupPolicyStateEnabled: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESComputerBackupPolicyStateDefault_: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESComputerBackupPolicyStateOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -299,21 +316,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToGroupCreation:other]; + return [self isEqualToComputerBackupPolicyState:other]; } -- (BOOL)isEqualToGroupCreation:(DBTEAMPOLICIESGroupCreation *)aGroupCreation { - if (self == aGroupCreation) { +- (BOOL)isEqualToComputerBackupPolicyState:(DBTEAMPOLICIESComputerBackupPolicyState *)aComputerBackupPolicyState { + if (self == aComputerBackupPolicyState) { return YES; } - if (self.tag != aGroupCreation.tag) { + if (self.tag != aComputerBackupPolicyState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESGroupCreationAdminsAndMembers: - return [[self tagName] isEqual:[aGroupCreation tagName]]; - case DBTEAMPOLICIESGroupCreationAdminsOnly: - return [[self tagName] isEqual:[aGroupCreation tagName]]; + case DBTEAMPOLICIESComputerBackupPolicyStateDisabled: + return [[self tagName] isEqual:[aComputerBackupPolicyState tagName]]; + case DBTEAMPOLICIESComputerBackupPolicyStateEnabled: + return [[self tagName] isEqual:[aComputerBackupPolicyState tagName]]; + case DBTEAMPOLICIESComputerBackupPolicyStateDefault_: + return [[self tagName] isEqual:[aComputerBackupPolicyState tagName]]; + case DBTEAMPOLICIESComputerBackupPolicyStateOther: + return [[self tagName] isEqual:[aComputerBackupPolicyState tagName]]; } return YES; } @@ -322,36 +343,39 @@ - (BOOL)isEqualToGroupCreation:(DBTEAMPOLICIESGroupCreation *)aGroupCreation { #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESGroupCreationSerializer +@implementation DBTEAMPOLICIESComputerBackupPolicyStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESComputerBackupPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isAdminsAndMembers]) { - jsonDict[@".tag"] = @"admins_and_members"; - } else if ([valueObj isAdminsOnly]) { - jsonDict[@".tag"] = @"admins_only"; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; } else { - @throw([NSException exceptionWithName:@"InvalidTag" - reason:@"Object not properly initialized. Tag has an unknown value." - userInfo:nil]); + jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESComputerBackupPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"admins_and_members"]) { - return [[DBTEAMPOLICIESGroupCreation alloc] initWithAdminsAndMembers]; - } else if ([tag isEqualToString:@"admins_only"]) { - return [[DBTEAMPOLICIESGroupCreation alloc] initWithAdminsOnly]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"default"]) { + return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithDefault_]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithOther]; } else { - @throw([NSException - exceptionWithName:@"InvalidTag" - reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] - userInfo:nil]); + return [[DBTEAMPOLICIESComputerBackupPolicyState alloc] initWithOther]; } } @@ -359,26 +383,34 @@ + (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESOfficeAddInPolicy.h" +#import "DBTEAMPOLICIESEmmState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESOfficeAddInPolicy +@implementation DBTEAMPOLICIESEmmState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESOfficeAddInPolicyDisabled; + _tag = DBTEAMPOLICIESEmmStateDisabled; } return self; } -- (instancetype)initWithEnabled { +- (instancetype)initWithOptional { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESOfficeAddInPolicyEnabled; + _tag = DBTEAMPOLICIESEmmStateOptional; + } + return self; +} + +- (instancetype)initWithRequired { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESEmmStateRequired; } return self; } @@ -386,7 +418,7 @@ - (instancetype)initWithEnabled { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESOfficeAddInPolicyOther; + _tag = DBTEAMPOLICIESEmmStateOther; } return self; } @@ -396,25 +428,31 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMPOLICIESOfficeAddInPolicyDisabled; + return _tag == DBTEAMPOLICIESEmmStateDisabled; } -- (BOOL)isEnabled { - return _tag == DBTEAMPOLICIESOfficeAddInPolicyEnabled; +- (BOOL)isOptional { + return _tag == DBTEAMPOLICIESEmmStateOptional; +} + +- (BOOL)isRequired { + return _tag == DBTEAMPOLICIESEmmStateRequired; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESOfficeAddInPolicyOther; + return _tag == DBTEAMPOLICIESEmmStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESOfficeAddInPolicyDisabled: - return @"DBTEAMPOLICIESOfficeAddInPolicyDisabled"; - case DBTEAMPOLICIESOfficeAddInPolicyEnabled: - return @"DBTEAMPOLICIESOfficeAddInPolicyEnabled"; - case DBTEAMPOLICIESOfficeAddInPolicyOther: - return @"DBTEAMPOLICIESOfficeAddInPolicyOther"; + case DBTEAMPOLICIESEmmStateDisabled: + return @"DBTEAMPOLICIESEmmStateDisabled"; + case DBTEAMPOLICIESEmmStateOptional: + return @"DBTEAMPOLICIESEmmStateOptional"; + case DBTEAMPOLICIESEmmStateRequired: + return @"DBTEAMPOLICIESEmmStateRequired"; + case DBTEAMPOLICIESEmmStateOther: + return @"DBTEAMPOLICIESEmmStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -422,18 +460,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESEmmStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESOfficeAddInPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESEmmStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESEmmStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -451,12 +489,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESOfficeAddInPolicyDisabled: + case DBTEAMPOLICIESEmmStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESOfficeAddInPolicyEnabled: + break; + case DBTEAMPOLICIESEmmStateOptional: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESOfficeAddInPolicyOther: + break; + case DBTEAMPOLICIESEmmStateRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESEmmStateOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -471,23 +515,25 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToOfficeAddInPolicy:other]; + return [self isEqualToEmmState:other]; } -- (BOOL)isEqualToOfficeAddInPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)anOfficeAddInPolicy { - if (self == anOfficeAddInPolicy) { +- (BOOL)isEqualToEmmState:(DBTEAMPOLICIESEmmState *)anEmmState { + if (self == anEmmState) { return YES; } - if (self.tag != anOfficeAddInPolicy.tag) { + if (self.tag != anEmmState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESOfficeAddInPolicyDisabled: - return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; - case DBTEAMPOLICIESOfficeAddInPolicyEnabled: - return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; - case DBTEAMPOLICIESOfficeAddInPolicyOther: - return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; + case DBTEAMPOLICIESEmmStateDisabled: + return [[self tagName] isEqual:[anEmmState tagName]]; + case DBTEAMPOLICIESEmmStateOptional: + return [[self tagName] isEqual:[anEmmState tagName]]; + case DBTEAMPOLICIESEmmStateRequired: + return [[self tagName] isEqual:[anEmmState tagName]]; + case DBTEAMPOLICIESEmmStateOther: + return [[self tagName] isEqual:[anEmmState tagName]]; } return YES; } @@ -496,35 +542,39 @@ - (BOOL)isEqualToOfficeAddInPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)anOfficeAd #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESOfficeAddInPolicySerializer +@implementation DBTEAMPOLICIESEmmStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isEnabled]) { - jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOptional]) { + jsonDict[@".tag"] = @"optional"; + } else if ([valueObj isRequired]) { + jsonDict[@".tag"] = @"required"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithEnabled]; + return [[DBTEAMPOLICIESEmmState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"optional"]) { + return [[DBTEAMPOLICIESEmmState alloc] initWithOptional]; + } else if ([tag isEqualToString:@"required"]) { + return [[DBTEAMPOLICIESEmmState alloc] initWithRequired]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESEmmState alloc] initWithOther]; } } @@ -532,34 +582,42 @@ + (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESPaperDeploymentPolicy.h" +#import "DBTEAMPOLICIESExternalDriveBackupPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESPaperDeploymentPolicy +@implementation DBTEAMPOLICIESExternalDriveBackupPolicyState #pragma mark - Constructors -- (instancetype)initWithFull { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperDeploymentPolicyFull; + _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled; } return self; } -- (instancetype)initWithPartial { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperDeploymentPolicyPartial; + _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled; } return self; } -- (instancetype)initWithOther { +- (instancetype)initWithDefault_ { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperDeploymentPolicyOther; + _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESExternalDriveBackupPolicyStateOther; } return self; } @@ -568,26 +626,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isFull { - return _tag == DBTEAMPOLICIESPaperDeploymentPolicyFull; +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled; } -- (BOOL)isPartial { - return _tag == DBTEAMPOLICIESPaperDeploymentPolicyPartial; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled; +} + +- (BOOL)isDefault_ { + return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESPaperDeploymentPolicyOther; + return _tag == DBTEAMPOLICIESExternalDriveBackupPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESPaperDeploymentPolicyFull: - return @"DBTEAMPOLICIESPaperDeploymentPolicyFull"; - case DBTEAMPOLICIESPaperDeploymentPolicyPartial: - return @"DBTEAMPOLICIESPaperDeploymentPolicyPartial"; - case DBTEAMPOLICIESPaperDeploymentPolicyOther: - return @"DBTEAMPOLICIESPaperDeploymentPolicyOther"; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled: + return @"DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled"; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled: + return @"DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled"; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_: + return @"DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_"; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateOther: + return @"DBTEAMPOLICIESExternalDriveBackupPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -595,18 +659,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -624,12 +688,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESPaperDeploymentPolicyFull: + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPaperDeploymentPolicyPartial: + break; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPaperDeploymentPolicyOther: + break; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_: result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateOther: + result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -644,23 +714,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperDeploymentPolicy:other]; + return [self isEqualToExternalDriveBackupPolicyState:other]; } -- (BOOL)isEqualToPaperDeploymentPolicy:(DBTEAMPOLICIESPaperDeploymentPolicy *)aPaperDeploymentPolicy { - if (self == aPaperDeploymentPolicy) { +- (BOOL)isEqualToExternalDriveBackupPolicyState: + (DBTEAMPOLICIESExternalDriveBackupPolicyState *)anExternalDriveBackupPolicyState { + if (self == anExternalDriveBackupPolicyState) { return YES; } - if (self.tag != aPaperDeploymentPolicy.tag) { + if (self.tag != anExternalDriveBackupPolicyState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESPaperDeploymentPolicyFull: - return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; - case DBTEAMPOLICIESPaperDeploymentPolicyPartial: - return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; - case DBTEAMPOLICIESPaperDeploymentPolicyOther: - return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled: + return [[self tagName] isEqual:[anExternalDriveBackupPolicyState tagName]]; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled: + return [[self tagName] isEqual:[anExternalDriveBackupPolicyState tagName]]; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_: + return [[self tagName] isEqual:[anExternalDriveBackupPolicyState tagName]]; + case DBTEAMPOLICIESExternalDriveBackupPolicyStateOther: + return [[self tagName] isEqual:[anExternalDriveBackupPolicyState tagName]]; } return YES; } @@ -669,35 +742,39 @@ - (BOOL)isEqualToPaperDeploymentPolicy:(DBTEAMPOLICIESPaperDeploymentPolicy *)aP #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESPaperDeploymentPolicySerializer +@implementation DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESExternalDriveBackupPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFull]) { - jsonDict[@".tag"] = @"full"; - } else if ([valueObj isPartial]) { - jsonDict[@".tag"] = @"partial"; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESExternalDriveBackupPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"full"]) { - return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithFull]; - } else if ([tag isEqualToString:@"partial"]) { - return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithPartial]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"default"]) { + return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithDefault_]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESExternalDriveBackupPolicyState alloc] initWithOther]; } } @@ -705,18 +782,18 @@ + (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESPaperEnabledPolicy.h" +#import "DBTEAMPOLICIESFileLockingPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESPaperEnabledPolicy +@implementation DBTEAMPOLICIESFileLockingPolicyState #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperEnabledPolicyDisabled; + _tag = DBTEAMPOLICIESFileLockingPolicyStateDisabled; } return self; } @@ -724,15 +801,7 @@ - (instancetype)initWithDisabled { - (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperEnabledPolicyEnabled; - } - return self; -} - -- (instancetype)initWithUnspecified { - self = [super init]; - if (self) { - _tag = DBTEAMPOLICIESPaperEnabledPolicyUnspecified; + _tag = DBTEAMPOLICIESFileLockingPolicyStateEnabled; } return self; } @@ -740,7 +809,7 @@ - (instancetype)initWithUnspecified { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPaperEnabledPolicyOther; + _tag = DBTEAMPOLICIESFileLockingPolicyStateOther; } return self; } @@ -750,31 +819,25 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMPOLICIESPaperEnabledPolicyDisabled; + return _tag == DBTEAMPOLICIESFileLockingPolicyStateDisabled; } - (BOOL)isEnabled { - return _tag == DBTEAMPOLICIESPaperEnabledPolicyEnabled; -} - -- (BOOL)isUnspecified { - return _tag == DBTEAMPOLICIESPaperEnabledPolicyUnspecified; + return _tag == DBTEAMPOLICIESFileLockingPolicyStateEnabled; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESPaperEnabledPolicyOther; + return _tag == DBTEAMPOLICIESFileLockingPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESPaperEnabledPolicyDisabled: - return @"DBTEAMPOLICIESPaperEnabledPolicyDisabled"; - case DBTEAMPOLICIESPaperEnabledPolicyEnabled: - return @"DBTEAMPOLICIESPaperEnabledPolicyEnabled"; - case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: - return @"DBTEAMPOLICIESPaperEnabledPolicyUnspecified"; - case DBTEAMPOLICIESPaperEnabledPolicyOther: - return @"DBTEAMPOLICIESPaperEnabledPolicyOther"; + case DBTEAMPOLICIESFileLockingPolicyStateDisabled: + return @"DBTEAMPOLICIESFileLockingPolicyStateDisabled"; + case DBTEAMPOLICIESFileLockingPolicyStateEnabled: + return @"DBTEAMPOLICIESFileLockingPolicyStateEnabled"; + case DBTEAMPOLICIESFileLockingPolicyStateOther: + return @"DBTEAMPOLICIESFileLockingPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -782,18 +845,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESFileLockingPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESFileLockingPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -811,14 +874,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESPaperEnabledPolicyDisabled: + case DBTEAMPOLICIESFileLockingPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPaperEnabledPolicyEnabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: + break; + case DBTEAMPOLICIESFileLockingPolicyStateEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPaperEnabledPolicyOther: + break; + case DBTEAMPOLICIESFileLockingPolicyStateOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -833,25 +897,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPaperEnabledPolicy:other]; + return [self isEqualToFileLockingPolicyState:other]; } -- (BOOL)isEqualToPaperEnabledPolicy:(DBTEAMPOLICIESPaperEnabledPolicy *)aPaperEnabledPolicy { - if (self == aPaperEnabledPolicy) { +- (BOOL)isEqualToFileLockingPolicyState:(DBTEAMPOLICIESFileLockingPolicyState *)aFileLockingPolicyState { + if (self == aFileLockingPolicyState) { return YES; } - if (self.tag != aPaperEnabledPolicy.tag) { + if (self.tag != aFileLockingPolicyState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESPaperEnabledPolicyDisabled: - return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; - case DBTEAMPOLICIESPaperEnabledPolicyEnabled: - return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; - case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: - return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; - case DBTEAMPOLICIESPaperEnabledPolicyOther: - return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; + case DBTEAMPOLICIESFileLockingPolicyStateDisabled: + return [[self tagName] isEqual:[aFileLockingPolicyState tagName]]; + case DBTEAMPOLICIESFileLockingPolicyStateEnabled: + return [[self tagName] isEqual:[aFileLockingPolicyState tagName]]; + case DBTEAMPOLICIESFileLockingPolicyStateOther: + return [[self tagName] isEqual:[aFileLockingPolicyState tagName]]; } return YES; } @@ -860,39 +922,35 @@ - (BOOL)isEqualToPaperEnabledPolicy:(DBTEAMPOLICIESPaperEnabledPolicy *)aPaperEn #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESPaperEnabledPolicySerializer +@implementation DBTEAMPOLICIESFileLockingPolicyStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperEnabledPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESFileLockingPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; } else if ([valueObj isEnabled]) { jsonDict[@".tag"] = @"enabled"; - } else if ([valueObj isUnspecified]) { - jsonDict[@".tag"] = @"unspecified"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESFileLockingPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithDisabled]; + return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithDisabled]; } else if ([tag isEqualToString:@"enabled"]) { - return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithEnabled]; - } else if ([tag isEqualToString:@"unspecified"]) { - return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithUnspecified]; + return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESFileLockingPolicyState alloc] initWithOther]; } } @@ -900,34 +958,34 @@ + (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESPasswordStrengthPolicy.h" +#import "DBTEAMPOLICIESFileProviderMigrationPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESPasswordStrengthPolicy +@implementation DBTEAMPOLICIESFileProviderMigrationPolicyState #pragma mark - Constructors -- (instancetype)initWithMinimalRequirements { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements; + _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled; } return self; } -- (instancetype)initWithModeratePassword { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword; + _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled; } return self; } -- (instancetype)initWithStrongPassword { +- (instancetype)initWithDefault_ { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword; + _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_; } return self; } @@ -935,7 +993,7 @@ - (instancetype)initWithStrongPassword { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESPasswordStrengthPolicyOther; + _tag = DBTEAMPOLICIESFileProviderMigrationPolicyStateOther; } return self; } @@ -944,32 +1002,32 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isMinimalRequirements { - return _tag == DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements; +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled; } -- (BOOL)isModeratePassword { - return _tag == DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled; } -- (BOOL)isStrongPassword { - return _tag == DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword; +- (BOOL)isDefault_ { + return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESPasswordStrengthPolicyOther; + return _tag == DBTEAMPOLICIESFileProviderMigrationPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: - return @"DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements"; - case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: - return @"DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword"; - case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: - return @"DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword"; - case DBTEAMPOLICIESPasswordStrengthPolicyOther: - return @"DBTEAMPOLICIESPasswordStrengthPolicyOther"; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled: + return @"DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled"; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled: + return @"DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled"; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_: + return @"DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_"; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateOther: + return @"DBTEAMPOLICIESFileProviderMigrationPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -977,18 +1035,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESPasswordStrengthPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1006,14 +1064,18 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: + break; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: + break; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESPasswordStrengthPolicyOther: + break; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1028,25 +1090,26 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToPasswordStrengthPolicy:other]; + return [self isEqualToFileProviderMigrationPolicyState:other]; } -- (BOOL)isEqualToPasswordStrengthPolicy:(DBTEAMPOLICIESPasswordStrengthPolicy *)aPasswordStrengthPolicy { - if (self == aPasswordStrengthPolicy) { +- (BOOL)isEqualToFileProviderMigrationPolicyState: + (DBTEAMPOLICIESFileProviderMigrationPolicyState *)aFileProviderMigrationPolicyState { + if (self == aFileProviderMigrationPolicyState) { return YES; } - if (self.tag != aPasswordStrengthPolicy.tag) { + if (self.tag != aFileProviderMigrationPolicyState.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: - return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; - case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: - return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; - case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: - return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; - case DBTEAMPOLICIESPasswordStrengthPolicyOther: - return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled: + return [[self tagName] isEqual:[aFileProviderMigrationPolicyState tagName]]; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled: + return [[self tagName] isEqual:[aFileProviderMigrationPolicyState tagName]]; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_: + return [[self tagName] isEqual:[aFileProviderMigrationPolicyState tagName]]; + case DBTEAMPOLICIESFileProviderMigrationPolicyStateOther: + return [[self tagName] isEqual:[aFileProviderMigrationPolicyState tagName]]; } return YES; } @@ -1055,39 +1118,39 @@ - (BOOL)isEqualToPasswordStrengthPolicy:(DBTEAMPOLICIESPasswordStrengthPolicy *) #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESPasswordStrengthPolicySerializer +@implementation DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESPasswordStrengthPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isMinimalRequirements]) { - jsonDict[@".tag"] = @"minimal_requirements"; - } else if ([valueObj isModeratePassword]) { - jsonDict[@".tag"] = @"moderate_password"; - } else if ([valueObj isStrongPassword]) { - jsonDict[@".tag"] = @"strong_password"; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isDefault_]) { + jsonDict[@".tag"] = @"default"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESFileProviderMigrationPolicyState *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"minimal_requirements"]) { - return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithMinimalRequirements]; - } else if ([tag isEqualToString:@"moderate_password"]) { - return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithModeratePassword]; - } else if ([tag isEqualToString:@"strong_password"]) { - return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithStrongPassword]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"default"]) { + return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithDefault_]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESFileProviderMigrationPolicyState alloc] initWithOther]; } } @@ -1095,34 +1158,26 @@ + (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)valueDict #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESRolloutMethod.h" +#import "DBTEAMPOLICIESGroupCreation.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESRolloutMethod +@implementation DBTEAMPOLICIESGroupCreation #pragma mark - Constructors -- (instancetype)initWithUnlinkAll { - self = [super init]; - if (self) { - _tag = DBTEAMPOLICIESRolloutMethodUnlinkAll; - } - return self; -} - -- (instancetype)initWithUnlinkMostInactive { +- (instancetype)initWithAdminsAndMembers { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESRolloutMethodUnlinkMostInactive; + _tag = DBTEAMPOLICIESGroupCreationAdminsAndMembers; } return self; } -- (instancetype)initWithAddMemberToExceptions { +- (instancetype)initWithAdminsOnly { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESRolloutMethodAddMemberToExceptions; + _tag = DBTEAMPOLICIESGroupCreationAdminsOnly; } return self; } @@ -1131,26 +1186,20 @@ - (instancetype)initWithAddMemberToExceptions { #pragma mark - Tag state methods -- (BOOL)isUnlinkAll { - return _tag == DBTEAMPOLICIESRolloutMethodUnlinkAll; -} - -- (BOOL)isUnlinkMostInactive { - return _tag == DBTEAMPOLICIESRolloutMethodUnlinkMostInactive; +- (BOOL)isAdminsAndMembers { + return _tag == DBTEAMPOLICIESGroupCreationAdminsAndMembers; } -- (BOOL)isAddMemberToExceptions { - return _tag == DBTEAMPOLICIESRolloutMethodAddMemberToExceptions; +- (BOOL)isAdminsOnly { + return _tag == DBTEAMPOLICIESGroupCreationAdminsOnly; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESRolloutMethodUnlinkAll: - return @"DBTEAMPOLICIESRolloutMethodUnlinkAll"; - case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: - return @"DBTEAMPOLICIESRolloutMethodUnlinkMostInactive"; - case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: - return @"DBTEAMPOLICIESRolloutMethodAddMemberToExceptions"; + case DBTEAMPOLICIESGroupCreationAdminsAndMembers: + return @"DBTEAMPOLICIESGroupCreationAdminsAndMembers"; + case DBTEAMPOLICIESGroupCreationAdminsOnly: + return @"DBTEAMPOLICIESGroupCreationAdminsOnly"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1158,18 +1207,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESRolloutMethodSerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESGroupCreationSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESRolloutMethodSerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESGroupCreationSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESRolloutMethodSerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESGroupCreationSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1187,12 +1236,12 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESRolloutMethodUnlinkAll: - result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: + case DBTEAMPOLICIESGroupCreationAdminsAndMembers: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: + break; + case DBTEAMPOLICIESGroupCreationAdminsOnly: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1207,23 +1256,21 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToRolloutMethod:other]; + return [self isEqualToGroupCreation:other]; } -- (BOOL)isEqualToRolloutMethod:(DBTEAMPOLICIESRolloutMethod *)aRolloutMethod { - if (self == aRolloutMethod) { +- (BOOL)isEqualToGroupCreation:(DBTEAMPOLICIESGroupCreation *)aGroupCreation { + if (self == aGroupCreation) { return YES; } - if (self.tag != aRolloutMethod.tag) { + if (self.tag != aGroupCreation.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESRolloutMethodUnlinkAll: - return [[self tagName] isEqual:[aRolloutMethod tagName]]; - case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: - return [[self tagName] isEqual:[aRolloutMethod tagName]]; - case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: - return [[self tagName] isEqual:[aRolloutMethod tagName]]; + case DBTEAMPOLICIESGroupCreationAdminsAndMembers: + return [[self tagName] isEqual:[aGroupCreation tagName]]; + case DBTEAMPOLICIESGroupCreationAdminsOnly: + return [[self tagName] isEqual:[aGroupCreation tagName]]; } return YES; } @@ -1232,35 +1279,31 @@ - (BOOL)isEqualToRolloutMethod:(DBTEAMPOLICIESRolloutMethod *)aRolloutMethod { #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESRolloutMethodSerializer +@implementation DBTEAMPOLICIESGroupCreationSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESRolloutMethod *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isUnlinkAll]) { - jsonDict[@".tag"] = @"unlink_all"; - } else if ([valueObj isUnlinkMostInactive]) { - jsonDict[@".tag"] = @"unlink_most_inactive"; - } else if ([valueObj isAddMemberToExceptions]) { - jsonDict[@".tag"] = @"add_member_to_exceptions"; + if ([valueObj isAdminsAndMembers]) { + jsonDict[@".tag"] = @"admins_and_members"; + } else if ([valueObj isAdminsOnly]) { + jsonDict[@".tag"] = @"admins_only"; } else { @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Object not properly initialized. Tag has an unknown value." userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"unlink_all"]) { - return [[DBTEAMPOLICIESRolloutMethod alloc] initWithUnlinkAll]; - } else if ([tag isEqualToString:@"unlink_most_inactive"]) { - return [[DBTEAMPOLICIESRolloutMethod alloc] initWithUnlinkMostInactive]; - } else if ([tag isEqualToString:@"add_member_to_exceptions"]) { - return [[DBTEAMPOLICIESRolloutMethod alloc] initWithAddMemberToExceptions]; + if ([tag isEqualToString:@"admins_and_members"]) { + return [[DBTEAMPOLICIESGroupCreation alloc] initWithAdminsAndMembers]; + } else if ([tag isEqualToString:@"admins_only"]) { + return [[DBTEAMPOLICIESGroupCreation alloc] initWithAdminsOnly]; } else { @throw([NSException exceptionWithName:@"InvalidTag" @@ -1273,26 +1316,26 @@ + (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESSharedFolderJoinPolicy.h" +#import "DBTEAMPOLICIESOfficeAddInPolicy.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESSharedFolderJoinPolicy +@implementation DBTEAMPOLICIESOfficeAddInPolicy #pragma mark - Constructors -- (instancetype)initWithFromTeamOnly { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly; + _tag = DBTEAMPOLICIESOfficeAddInPolicyDisabled; } return self; } -- (instancetype)initWithFromAnyone { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone; + _tag = DBTEAMPOLICIESOfficeAddInPolicyEnabled; } return self; } @@ -1300,7 +1343,7 @@ - (instancetype)initWithFromAnyone { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderJoinPolicyOther; + _tag = DBTEAMPOLICIESOfficeAddInPolicyOther; } return self; } @@ -1309,26 +1352,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isFromTeamOnly { - return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly; +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESOfficeAddInPolicyDisabled; } -- (BOOL)isFromAnyone { - return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESOfficeAddInPolicyEnabled; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyOther; + return _tag == DBTEAMPOLICIESOfficeAddInPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: - return @"DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly"; - case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: - return @"DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone"; - case DBTEAMPOLICIESSharedFolderJoinPolicyOther: - return @"DBTEAMPOLICIESSharedFolderJoinPolicyOther"; + case DBTEAMPOLICIESOfficeAddInPolicyDisabled: + return @"DBTEAMPOLICIESOfficeAddInPolicyDisabled"; + case DBTEAMPOLICIESOfficeAddInPolicyEnabled: + return @"DBTEAMPOLICIESOfficeAddInPolicyEnabled"; + case DBTEAMPOLICIESOfficeAddInPolicyOther: + return @"DBTEAMPOLICIESOfficeAddInPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1336,18 +1379,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESSharedFolderJoinPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESSharedFolderJoinPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESOfficeAddInPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESSharedFolderJoinPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1365,12 +1408,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: + case DBTEAMPOLICIESOfficeAddInPolicyDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: + break; + case DBTEAMPOLICIESOfficeAddInPolicyEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedFolderJoinPolicyOther: + break; + case DBTEAMPOLICIESOfficeAddInPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1385,23 +1431,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderJoinPolicy:other]; + return [self isEqualToOfficeAddInPolicy:other]; } -- (BOOL)isEqualToSharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *)aSharedFolderJoinPolicy { - if (self == aSharedFolderJoinPolicy) { +- (BOOL)isEqualToOfficeAddInPolicy:(DBTEAMPOLICIESOfficeAddInPolicy *)anOfficeAddInPolicy { + if (self == anOfficeAddInPolicy) { return YES; } - if (self.tag != aSharedFolderJoinPolicy.tag) { + if (self.tag != anOfficeAddInPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: - return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; - case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: - return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; - case DBTEAMPOLICIESSharedFolderJoinPolicyOther: - return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; + case DBTEAMPOLICIESOfficeAddInPolicyDisabled: + return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; + case DBTEAMPOLICIESOfficeAddInPolicyEnabled: + return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; + case DBTEAMPOLICIESOfficeAddInPolicyOther: + return [[self tagName] isEqual:[anOfficeAddInPolicy tagName]]; } return YES; } @@ -1410,35 +1456,35 @@ - (BOOL)isEqualToSharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *) #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESSharedFolderJoinPolicySerializer +@implementation DBTEAMPOLICIESOfficeAddInPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isFromTeamOnly]) { - jsonDict[@".tag"] = @"from_team_only"; - } else if ([valueObj isFromAnyone]) { - jsonDict[@".tag"] = @"from_anyone"; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"from_team_only"]) { - return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithFromTeamOnly]; - } else if ([tag isEqualToString:@"from_anyone"]) { - return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithFromAnyone]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESOfficeAddInPolicy alloc] initWithOther]; } } @@ -1446,26 +1492,26 @@ + (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESSharedFolderMemberPolicy.h" +#import "DBTEAMPOLICIESPaperDefaultFolderPolicy.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESSharedFolderMemberPolicy +@implementation DBTEAMPOLICIESPaperDefaultFolderPolicy #pragma mark - Constructors -- (instancetype)initWithTeam { +- (instancetype)initWithEveryoneInTeam { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderMemberPolicyTeam; + _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam; } return self; } -- (instancetype)initWithAnyone { +- (instancetype)initWithInviteOnly { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderMemberPolicyAnyone; + _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly; } return self; } @@ -1473,7 +1519,7 @@ - (instancetype)initWithAnyone { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedFolderMemberPolicyOther; + _tag = DBTEAMPOLICIESPaperDefaultFolderPolicyOther; } return self; } @@ -1482,26 +1528,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isTeam { - return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyTeam; +- (BOOL)isEveryoneInTeam { + return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam; } -- (BOOL)isAnyone { - return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyAnyone; +- (BOOL)isInviteOnly { + return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyOther; + return _tag == DBTEAMPOLICIESPaperDefaultFolderPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: - return @"DBTEAMPOLICIESSharedFolderMemberPolicyTeam"; - case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: - return @"DBTEAMPOLICIESSharedFolderMemberPolicyAnyone"; - case DBTEAMPOLICIESSharedFolderMemberPolicyOther: - return @"DBTEAMPOLICIESSharedFolderMemberPolicyOther"; + case DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam: + return @"DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam"; + case DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly: + return @"DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly"; + case DBTEAMPOLICIESPaperDefaultFolderPolicyOther: + return @"DBTEAMPOLICIESPaperDefaultFolderPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1509,18 +1555,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESSharedFolderMemberPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPaperDefaultFolderPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESSharedFolderMemberPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPaperDefaultFolderPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESSharedFolderMemberPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPaperDefaultFolderPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1538,12 +1584,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: + case DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: + break; + case DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedFolderMemberPolicyOther: + break; + case DBTEAMPOLICIESPaperDefaultFolderPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1558,23 +1607,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedFolderMemberPolicy:other]; + return [self isEqualToPaperDefaultFolderPolicy:other]; } -- (BOOL)isEqualToSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolicy *)aSharedFolderMemberPolicy { - if (self == aSharedFolderMemberPolicy) { +- (BOOL)isEqualToPaperDefaultFolderPolicy:(DBTEAMPOLICIESPaperDefaultFolderPolicy *)aPaperDefaultFolderPolicy { + if (self == aPaperDefaultFolderPolicy) { return YES; } - if (self.tag != aSharedFolderMemberPolicy.tag) { + if (self.tag != aPaperDefaultFolderPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; - case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; - case DBTEAMPOLICIESSharedFolderMemberPolicyOther: - return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; + case DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; + case DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; + case DBTEAMPOLICIESPaperDefaultFolderPolicyOther: + return [[self tagName] isEqual:[aPaperDefaultFolderPolicy tagName]]; } return YES; } @@ -1583,35 +1632,35 @@ - (BOOL)isEqualToSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolic #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESSharedFolderMemberPolicySerializer +@implementation DBTEAMPOLICIESPaperDefaultFolderPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderMemberPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDefaultFolderPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isTeam]) { - jsonDict[@".tag"] = @"team"; - } else if ([valueObj isAnyone]) { - jsonDict[@".tag"] = @"anyone"; + if ([valueObj isEveryoneInTeam]) { + jsonDict[@".tag"] = @"everyone_in_team"; + } else if ([valueObj isInviteOnly]) { + jsonDict[@".tag"] = @"invite_only"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"team"]) { - return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithTeam]; - } else if ([tag isEqualToString:@"anyone"]) { - return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithAnyone]; + if ([tag isEqualToString:@"everyone_in_team"]) { + return [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithEveryoneInTeam]; + } else if ([tag isEqualToString:@"invite_only"]) { + return [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithInviteOnly]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESPaperDefaultFolderPolicy alloc] initWithOther]; } } @@ -1619,34 +1668,26 @@ + (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)valueDic #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESSharedLinkCreatePolicy.h" +#import "DBTEAMPOLICIESPaperDeploymentPolicy.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESSharedLinkCreatePolicy +@implementation DBTEAMPOLICIESPaperDeploymentPolicy #pragma mark - Constructors -- (instancetype)initWithDefaultPublic { - self = [super init]; - if (self) { - _tag = DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic; - } - return self; -} - -- (instancetype)initWithDefaultTeamOnly { +- (instancetype)initWithFull { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly; + _tag = DBTEAMPOLICIESPaperDeploymentPolicyFull; } return self; } -- (instancetype)initWithTeamOnly { +- (instancetype)initWithPartial { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly; + _tag = DBTEAMPOLICIESPaperDeploymentPolicyPartial; } return self; } @@ -1654,7 +1695,7 @@ - (instancetype)initWithTeamOnly { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSharedLinkCreatePolicyOther; + _tag = DBTEAMPOLICIESPaperDeploymentPolicyOther; } return self; } @@ -1663,32 +1704,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isDefaultPublic { - return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic; -} - -- (BOOL)isDefaultTeamOnly { - return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly; +- (BOOL)isFull { + return _tag == DBTEAMPOLICIESPaperDeploymentPolicyFull; } -- (BOOL)isTeamOnly { - return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly; +- (BOOL)isPartial { + return _tag == DBTEAMPOLICIESPaperDeploymentPolicyPartial; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyOther; + return _tag == DBTEAMPOLICIESPaperDeploymentPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: - return @"DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic"; - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: - return @"DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly"; - case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: - return @"DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly"; - case DBTEAMPOLICIESSharedLinkCreatePolicyOther: - return @"DBTEAMPOLICIESSharedLinkCreatePolicyOther"; + case DBTEAMPOLICIESPaperDeploymentPolicyFull: + return @"DBTEAMPOLICIESPaperDeploymentPolicyFull"; + case DBTEAMPOLICIESPaperDeploymentPolicyPartial: + return @"DBTEAMPOLICIESPaperDeploymentPolicyPartial"; + case DBTEAMPOLICIESPaperDeploymentPolicyOther: + return @"DBTEAMPOLICIESPaperDeploymentPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1696,18 +1731,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESSharedLinkCreatePolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESSharedLinkCreatePolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPaperDeploymentPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESSharedLinkCreatePolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPaperDeploymentPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1725,14 +1760,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: - result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: + case DBTEAMPOLICIESPaperDeploymentPolicyFull: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: + break; + case DBTEAMPOLICIESPaperDeploymentPolicyPartial: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSharedLinkCreatePolicyOther: + break; + case DBTEAMPOLICIESPaperDeploymentPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1747,25 +1783,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSharedLinkCreatePolicy:other]; + return [self isEqualToPaperDeploymentPolicy:other]; } -- (BOOL)isEqualToSharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)aSharedLinkCreatePolicy { - if (self == aSharedLinkCreatePolicy) { +- (BOOL)isEqualToPaperDeploymentPolicy:(DBTEAMPOLICIESPaperDeploymentPolicy *)aPaperDeploymentPolicy { + if (self == aPaperDeploymentPolicy) { return YES; } - if (self.tag != aSharedLinkCreatePolicy.tag) { + if (self.tag != aPaperDeploymentPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: - return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; - case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: - return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; - case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: - return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; - case DBTEAMPOLICIESSharedLinkCreatePolicyOther: - return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + case DBTEAMPOLICIESPaperDeploymentPolicyFull: + return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; + case DBTEAMPOLICIESPaperDeploymentPolicyPartial: + return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; + case DBTEAMPOLICIESPaperDeploymentPolicyOther: + return [[self tagName] isEqual:[aPaperDeploymentPolicy tagName]]; } return YES; } @@ -1774,39 +1808,2422 @@ - (BOOL)isEqualToSharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *) #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESSharedLinkCreatePolicySerializer +@implementation DBTEAMPOLICIESPaperDeploymentPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedLinkCreatePolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isDefaultPublic]) { - jsonDict[@".tag"] = @"default_public"; - } else if ([valueObj isDefaultTeamOnly]) { - jsonDict[@".tag"] = @"default_team_only"; - } else if ([valueObj isTeamOnly]) { - jsonDict[@".tag"] = @"team_only"; + if ([valueObj isFull]) { + jsonDict[@".tag"] = @"full"; + } else if ([valueObj isPartial]) { + jsonDict[@".tag"] = @"partial"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"default_public"]) { - return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithDefaultPublic]; - } else if ([tag isEqualToString:@"default_team_only"]) { - return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithDefaultTeamOnly]; + if ([tag isEqualToString:@"full"]) { + return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithFull]; + } else if ([tag isEqualToString:@"partial"]) { + return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithPartial]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESPaperDeploymentPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESPaperDesktopPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESPaperDesktopPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperDesktopPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperDesktopPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperDesktopPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESPaperDesktopPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESPaperDesktopPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESPaperDesktopPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESPaperDesktopPolicyDisabled: + return @"DBTEAMPOLICIESPaperDesktopPolicyDisabled"; + case DBTEAMPOLICIESPaperDesktopPolicyEnabled: + return @"DBTEAMPOLICIESPaperDesktopPolicyEnabled"; + case DBTEAMPOLICIESPaperDesktopPolicyOther: + return @"DBTEAMPOLICIESPaperDesktopPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPaperDesktopPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPaperDesktopPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPaperDesktopPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESPaperDesktopPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPaperDesktopPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPaperDesktopPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperDesktopPolicy:other]; +} + +- (BOOL)isEqualToPaperDesktopPolicy:(DBTEAMPOLICIESPaperDesktopPolicy *)aPaperDesktopPolicy { + if (self == aPaperDesktopPolicy) { + return YES; + } + if (self.tag != aPaperDesktopPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESPaperDesktopPolicyDisabled: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + case DBTEAMPOLICIESPaperDesktopPolicyEnabled: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + case DBTEAMPOLICIESPaperDesktopPolicyOther: + return [[self tagName] isEqual:[aPaperDesktopPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESPaperDesktopPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperDesktopPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESPaperDesktopPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESPaperDesktopPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESPaperDesktopPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESPaperDesktopPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESPaperDesktopPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESPaperEnabledPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESPaperEnabledPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperEnabledPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperEnabledPolicyEnabled; + } + return self; +} + +- (instancetype)initWithUnspecified { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperEnabledPolicyUnspecified; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPaperEnabledPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESPaperEnabledPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESPaperEnabledPolicyEnabled; +} + +- (BOOL)isUnspecified { + return _tag == DBTEAMPOLICIESPaperEnabledPolicyUnspecified; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESPaperEnabledPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESPaperEnabledPolicyDisabled: + return @"DBTEAMPOLICIESPaperEnabledPolicyDisabled"; + case DBTEAMPOLICIESPaperEnabledPolicyEnabled: + return @"DBTEAMPOLICIESPaperEnabledPolicyEnabled"; + case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: + return @"DBTEAMPOLICIESPaperEnabledPolicyUnspecified"; + case DBTEAMPOLICIESPaperEnabledPolicyOther: + return @"DBTEAMPOLICIESPaperEnabledPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPaperEnabledPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPaperEnabledPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESPaperEnabledPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPaperEnabledPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPaperEnabledPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperEnabledPolicy:other]; +} + +- (BOOL)isEqualToPaperEnabledPolicy:(DBTEAMPOLICIESPaperEnabledPolicy *)aPaperEnabledPolicy { + if (self == aPaperEnabledPolicy) { + return YES; + } + if (self.tag != aPaperEnabledPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESPaperEnabledPolicyDisabled: + return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; + case DBTEAMPOLICIESPaperEnabledPolicyEnabled: + return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; + case DBTEAMPOLICIESPaperEnabledPolicyUnspecified: + return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; + case DBTEAMPOLICIESPaperEnabledPolicyOther: + return [[self tagName] isEqual:[aPaperEnabledPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESPaperEnabledPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPaperEnabledPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isUnspecified]) { + jsonDict[@".tag"] = @"unspecified"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"unspecified"]) { + return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithUnspecified]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESPaperEnabledPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESPasswordControlMode.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESPasswordControlMode + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordControlModeDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordControlModeEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordControlModeOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESPasswordControlModeDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESPasswordControlModeEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESPasswordControlModeOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESPasswordControlModeDisabled: + return @"DBTEAMPOLICIESPasswordControlModeDisabled"; + case DBTEAMPOLICIESPasswordControlModeEnabled: + return @"DBTEAMPOLICIESPasswordControlModeEnabled"; + case DBTEAMPOLICIESPasswordControlModeOther: + return @"DBTEAMPOLICIESPasswordControlModeOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPasswordControlModeSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPasswordControlModeSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPasswordControlModeSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESPasswordControlModeDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPasswordControlModeEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPasswordControlModeOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordControlMode:other]; +} + +- (BOOL)isEqualToPasswordControlMode:(DBTEAMPOLICIESPasswordControlMode *)aPasswordControlMode { + if (self == aPasswordControlMode) { + return YES; + } + if (self.tag != aPasswordControlMode.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESPasswordControlModeDisabled: + return [[self tagName] isEqual:[aPasswordControlMode tagName]]; + case DBTEAMPOLICIESPasswordControlModeEnabled: + return [[self tagName] isEqual:[aPasswordControlMode tagName]]; + case DBTEAMPOLICIESPasswordControlModeOther: + return [[self tagName] isEqual:[aPasswordControlMode tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESPasswordControlModeSerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPasswordControlMode *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESPasswordControlMode *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESPasswordControlMode alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESPasswordControlMode alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESPasswordControlMode alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESPasswordControlMode alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESPasswordStrengthPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESPasswordStrengthPolicy + +#pragma mark - Constructors + +- (instancetype)initWithMinimalRequirements { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements; + } + return self; +} + +- (instancetype)initWithModeratePassword { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword; + } + return self; +} + +- (instancetype)initWithStrongPassword { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESPasswordStrengthPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isMinimalRequirements { + return _tag == DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements; +} + +- (BOOL)isModeratePassword { + return _tag == DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword; +} + +- (BOOL)isStrongPassword { + return _tag == DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESPasswordStrengthPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: + return @"DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements"; + case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: + return @"DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword"; + case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: + return @"DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword"; + case DBTEAMPOLICIESPasswordStrengthPolicyOther: + return @"DBTEAMPOLICIESPasswordStrengthPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESPasswordStrengthPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESPasswordStrengthPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESPasswordStrengthPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPasswordStrengthPolicy:other]; +} + +- (BOOL)isEqualToPasswordStrengthPolicy:(DBTEAMPOLICIESPasswordStrengthPolicy *)aPasswordStrengthPolicy { + if (self == aPasswordStrengthPolicy) { + return YES; + } + if (self.tag != aPasswordStrengthPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements: + return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; + case DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword: + return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; + case DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword: + return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; + case DBTEAMPOLICIESPasswordStrengthPolicyOther: + return [[self tagName] isEqual:[aPasswordStrengthPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESPasswordStrengthPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESPasswordStrengthPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isMinimalRequirements]) { + jsonDict[@".tag"] = @"minimal_requirements"; + } else if ([valueObj isModeratePassword]) { + jsonDict[@".tag"] = @"moderate_password"; + } else if ([valueObj isStrongPassword]) { + jsonDict[@".tag"] = @"strong_password"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"minimal_requirements"]) { + return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithMinimalRequirements]; + } else if ([tag isEqualToString:@"moderate_password"]) { + return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithModeratePassword]; + } else if ([tag isEqualToString:@"strong_password"]) { + return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithStrongPassword]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESPasswordStrengthPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESRolloutMethod.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESRolloutMethod + +#pragma mark - Constructors + +- (instancetype)initWithUnlinkAll { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESRolloutMethodUnlinkAll; + } + return self; +} + +- (instancetype)initWithUnlinkMostInactive { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESRolloutMethodUnlinkMostInactive; + } + return self; +} + +- (instancetype)initWithAddMemberToExceptions { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESRolloutMethodAddMemberToExceptions; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isUnlinkAll { + return _tag == DBTEAMPOLICIESRolloutMethodUnlinkAll; +} + +- (BOOL)isUnlinkMostInactive { + return _tag == DBTEAMPOLICIESRolloutMethodUnlinkMostInactive; +} + +- (BOOL)isAddMemberToExceptions { + return _tag == DBTEAMPOLICIESRolloutMethodAddMemberToExceptions; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESRolloutMethodUnlinkAll: + return @"DBTEAMPOLICIESRolloutMethodUnlinkAll"; + case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: + return @"DBTEAMPOLICIESRolloutMethodUnlinkMostInactive"; + case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: + return @"DBTEAMPOLICIESRolloutMethodAddMemberToExceptions"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESRolloutMethodSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESRolloutMethodSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESRolloutMethodSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESRolloutMethodUnlinkAll: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToRolloutMethod:other]; +} + +- (BOOL)isEqualToRolloutMethod:(DBTEAMPOLICIESRolloutMethod *)aRolloutMethod { + if (self == aRolloutMethod) { + return YES; + } + if (self.tag != aRolloutMethod.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESRolloutMethodUnlinkAll: + return [[self tagName] isEqual:[aRolloutMethod tagName]]; + case DBTEAMPOLICIESRolloutMethodUnlinkMostInactive: + return [[self tagName] isEqual:[aRolloutMethod tagName]]; + case DBTEAMPOLICIESRolloutMethodAddMemberToExceptions: + return [[self tagName] isEqual:[aRolloutMethod tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESRolloutMethodSerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESRolloutMethod *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isUnlinkAll]) { + jsonDict[@".tag"] = @"unlink_all"; + } else if ([valueObj isUnlinkMostInactive]) { + jsonDict[@".tag"] = @"unlink_most_inactive"; + } else if ([valueObj isAddMemberToExceptions]) { + jsonDict[@".tag"] = @"add_member_to_exceptions"; + } else { + @throw([NSException exceptionWithName:@"InvalidTag" + reason:@"Object not properly initialized. Tag has an unknown value." + userInfo:nil]); + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"unlink_all"]) { + return [[DBTEAMPOLICIESRolloutMethod alloc] initWithUnlinkAll]; + } else if ([tag isEqualToString:@"unlink_most_inactive"]) { + return [[DBTEAMPOLICIESRolloutMethod alloc] initWithUnlinkMostInactive]; + } else if ([tag isEqualToString:@"add_member_to_exceptions"]) { + return [[DBTEAMPOLICIESRolloutMethod alloc] initWithAddMemberToExceptions]; + } else { + @throw([NSException + exceptionWithName:@"InvalidTag" + reason:[NSString stringWithFormat:@"Tag has an invalid value: \"%@\".", valueDict[@".tag"]] + userInfo:nil]); + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy + +#pragma mark - Constructors + +- (instancetype)initWithMembers { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers; + } + return self; +} + +- (instancetype)initWithAnyone { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isMembers { + return _tag == DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers; +} + +- (BOOL)isAnyone { + return _tag == DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers: + return @"DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers"; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone: + return @"DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone"; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther: + return @"DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderBlanketLinkRestrictionPolicy:other]; +} + +- (BOOL)isEqualToSharedFolderBlanketLinkRestrictionPolicy: + (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)aSharedFolderBlanketLinkRestrictionPolicy { + if (self == aSharedFolderBlanketLinkRestrictionPolicy) { + return YES; + } + if (self.tag != aSharedFolderBlanketLinkRestrictionPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers: + return [[self tagName] isEqual:[aSharedFolderBlanketLinkRestrictionPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone: + return [[self tagName] isEqual:[aSharedFolderBlanketLinkRestrictionPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther: + return [[self tagName] isEqual:[aSharedFolderBlanketLinkRestrictionPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isMembers]) { + jsonDict[@".tag"] = @"members"; + } else if ([valueObj isAnyone]) { + jsonDict[@".tag"] = @"anyone"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"members"]) { + return [[DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy alloc] initWithMembers]; + } else if ([tag isEqualToString:@"anyone"]) { + return [[DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy alloc] initWithAnyone]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSharedFolderJoinPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSharedFolderJoinPolicy + +#pragma mark - Constructors + +- (instancetype)initWithFromTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly; + } + return self; +} + +- (instancetype)initWithFromAnyone { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderJoinPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isFromTeamOnly { + return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly; +} + +- (BOOL)isFromAnyone { + return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSharedFolderJoinPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: + return @"DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly"; + case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: + return @"DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone"; + case DBTEAMPOLICIESSharedFolderJoinPolicyOther: + return @"DBTEAMPOLICIESSharedFolderJoinPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSharedFolderJoinPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSharedFolderJoinPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSharedFolderJoinPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderJoinPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderJoinPolicy:other]; +} + +- (BOOL)isEqualToSharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *)aSharedFolderJoinPolicy { + if (self == aSharedFolderJoinPolicy) { + return YES; + } + if (self.tag != aSharedFolderJoinPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly: + return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone: + return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderJoinPolicyOther: + return [[self tagName] isEqual:[aSharedFolderJoinPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSharedFolderJoinPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isFromTeamOnly]) { + jsonDict[@".tag"] = @"from_team_only"; + } else if ([valueObj isFromAnyone]) { + jsonDict[@".tag"] = @"from_anyone"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"from_team_only"]) { + return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithFromTeamOnly]; + } else if ([tag isEqualToString:@"from_anyone"]) { + return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithFromAnyone]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESSharedFolderJoinPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSharedFolderMemberPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSharedFolderMemberPolicy + +#pragma mark - Constructors + +- (instancetype)initWithTeam { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderMemberPolicyTeam; + } + return self; +} + +- (instancetype)initWithAnyone { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderMemberPolicyAnyone; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedFolderMemberPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isTeam { + return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyTeam; +} + +- (BOOL)isAnyone { + return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyAnyone; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSharedFolderMemberPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: + return @"DBTEAMPOLICIESSharedFolderMemberPolicyTeam"; + case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: + return @"DBTEAMPOLICIESSharedFolderMemberPolicyAnyone"; + case DBTEAMPOLICIESSharedFolderMemberPolicyOther: + return @"DBTEAMPOLICIESSharedFolderMemberPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSharedFolderMemberPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSharedFolderMemberPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSharedFolderMemberPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedFolderMemberPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedFolderMemberPolicy:other]; +} + +- (BOOL)isEqualToSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolicy *)aSharedFolderMemberPolicy { + if (self == aSharedFolderMemberPolicy) { + return YES; + } + if (self.tag != aSharedFolderMemberPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSharedFolderMemberPolicyTeam: + return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderMemberPolicyAnyone: + return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; + case DBTEAMPOLICIESSharedFolderMemberPolicyOther: + return [[self tagName] isEqual:[aSharedFolderMemberPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSharedFolderMemberPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderMemberPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isTeam]) { + jsonDict[@".tag"] = @"team"; + } else if ([valueObj isAnyone]) { + jsonDict[@".tag"] = @"anyone"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"team"]) { + return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithTeam]; + } else if ([tag isEqualToString:@"anyone"]) { + return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithAnyone]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESSharedFolderMemberPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSharedLinkCreatePolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSharedLinkCreatePolicy + +#pragma mark - Constructors + +- (instancetype)initWithDefaultPublic { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic; + } + return self; +} + +- (instancetype)initWithDefaultTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly; + } + return self; +} + +- (instancetype)initWithTeamOnly { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly; + } + return self; +} + +- (instancetype)initWithDefaultNoOne { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSharedLinkCreatePolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDefaultPublic { + return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic; +} + +- (BOOL)isDefaultTeamOnly { + return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly; +} + +- (BOOL)isTeamOnly { + return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly; +} + +- (BOOL)isDefaultNoOne { + return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSharedLinkCreatePolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: + return @"DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic"; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: + return @"DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly"; + case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: + return @"DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly"; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne: + return @"DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne"; + case DBTEAMPOLICIESSharedLinkCreatePolicyOther: + return @"DBTEAMPOLICIESSharedLinkCreatePolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSharedLinkCreatePolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSharedLinkCreatePolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSharedLinkCreatePolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSharedLinkCreatePolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSharedLinkCreatePolicy:other]; +} + +- (BOOL)isEqualToSharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)aSharedLinkCreatePolicy { + if (self == aSharedLinkCreatePolicy) { + return YES; + } + if (self.tag != aSharedLinkCreatePolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic: + return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly: + return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + case DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly: + return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + case DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne: + return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + case DBTEAMPOLICIESSharedLinkCreatePolicyOther: + return [[self tagName] isEqual:[aSharedLinkCreatePolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSharedLinkCreatePolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSharedLinkCreatePolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDefaultPublic]) { + jsonDict[@".tag"] = @"default_public"; + } else if ([valueObj isDefaultTeamOnly]) { + jsonDict[@".tag"] = @"default_team_only"; + } else if ([valueObj isTeamOnly]) { + jsonDict[@".tag"] = @"team_only"; + } else if ([valueObj isDefaultNoOne]) { + jsonDict[@".tag"] = @"default_no_one"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"default_public"]) { + return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithDefaultPublic]; + } else if ([tag isEqualToString:@"default_team_only"]) { + return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithDefaultTeamOnly]; } else if ([tag isEqualToString:@"team_only"]) { return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithTeamOnly]; + } else if ([tag isEqualToString:@"default_no_one"]) { + return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithDefaultNoOne]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESShowcaseDownloadPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESShowcaseDownloadPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseDownloadPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseDownloadPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseDownloadPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESShowcaseDownloadPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESShowcaseDownloadPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESShowcaseDownloadPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESShowcaseDownloadPolicyDisabled: + return @"DBTEAMPOLICIESShowcaseDownloadPolicyDisabled"; + case DBTEAMPOLICIESShowcaseDownloadPolicyEnabled: + return @"DBTEAMPOLICIESShowcaseDownloadPolicyEnabled"; + case DBTEAMPOLICIESShowcaseDownloadPolicyOther: + return @"DBTEAMPOLICIESShowcaseDownloadPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESShowcaseDownloadPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESShowcaseDownloadPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESShowcaseDownloadPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESShowcaseDownloadPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseDownloadPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseDownloadPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToShowcaseDownloadPolicy:other]; +} + +- (BOOL)isEqualToShowcaseDownloadPolicy:(DBTEAMPOLICIESShowcaseDownloadPolicy *)aShowcaseDownloadPolicy { + if (self == aShowcaseDownloadPolicy) { + return YES; + } + if (self.tag != aShowcaseDownloadPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESShowcaseDownloadPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; + case DBTEAMPOLICIESShowcaseDownloadPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; + case DBTEAMPOLICIESShowcaseDownloadPolicyOther: + return [[self tagName] isEqual:[aShowcaseDownloadPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESShowcaseDownloadPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseDownloadPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESShowcaseDownloadPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESShowcaseDownloadPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESShowcaseDownloadPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESShowcaseDownloadPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESShowcaseDownloadPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESShowcaseEnabledPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESShowcaseEnabledPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseEnabledPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseEnabledPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseEnabledPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESShowcaseEnabledPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESShowcaseEnabledPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESShowcaseEnabledPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESShowcaseEnabledPolicyDisabled: + return @"DBTEAMPOLICIESShowcaseEnabledPolicyDisabled"; + case DBTEAMPOLICIESShowcaseEnabledPolicyEnabled: + return @"DBTEAMPOLICIESShowcaseEnabledPolicyEnabled"; + case DBTEAMPOLICIESShowcaseEnabledPolicyOther: + return @"DBTEAMPOLICIESShowcaseEnabledPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESShowcaseEnabledPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESShowcaseEnabledPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESShowcaseEnabledPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESShowcaseEnabledPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseEnabledPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseEnabledPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToShowcaseEnabledPolicy:other]; +} + +- (BOOL)isEqualToShowcaseEnabledPolicy:(DBTEAMPOLICIESShowcaseEnabledPolicy *)aShowcaseEnabledPolicy { + if (self == aShowcaseEnabledPolicy) { + return YES; + } + if (self.tag != aShowcaseEnabledPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESShowcaseEnabledPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + case DBTEAMPOLICIESShowcaseEnabledPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + case DBTEAMPOLICIESShowcaseEnabledPolicyOther: + return [[self tagName] isEqual:[aShowcaseEnabledPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESShowcaseEnabledPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseEnabledPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESShowcaseEnabledPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESShowcaseEnabledPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESShowcaseEnabledPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESShowcaseEnabledPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESShowcaseEnabledPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESShowcaseExternalSharingPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESShowcaseExternalSharingPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled; + } + return self; +} + +- (instancetype)initWithEnabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESShowcaseExternalSharingPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled; +} + +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESShowcaseExternalSharingPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled: + return @"DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled"; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled: + return @"DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled"; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyOther: + return @"DBTEAMPOLICIESShowcaseExternalSharingPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToShowcaseExternalSharingPolicy:other]; +} + +- (BOOL)isEqualToShowcaseExternalSharingPolicy: + (DBTEAMPOLICIESShowcaseExternalSharingPolicy *)aShowcaseExternalSharingPolicy { + if (self == aShowcaseExternalSharingPolicy) { + return YES; + } + if (self.tag != aShowcaseExternalSharingPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; + case DBTEAMPOLICIESShowcaseExternalSharingPolicyOther: + return [[self tagName] isEqual:[aShowcaseExternalSharingPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseExternalSharingPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESShowcaseExternalSharingPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESShowcaseExternalSharingPolicy alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESShowcaseExternalSharingPolicy alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESShowcaseExternalSharingPolicy alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSmartSyncPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSmartSyncPolicy + +#pragma mark - Constructors + +- (instancetype)initWithLocal { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSmartSyncPolicyLocal; + } + return self; +} + +- (instancetype)initWithOnDemand { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSmartSyncPolicyOnDemand; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSmartSyncPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isLocal { + return _tag == DBTEAMPOLICIESSmartSyncPolicyLocal; +} + +- (BOOL)isOnDemand { + return _tag == DBTEAMPOLICIESSmartSyncPolicyOnDemand; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSmartSyncPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSmartSyncPolicyLocal: + return @"DBTEAMPOLICIESSmartSyncPolicyLocal"; + case DBTEAMPOLICIESSmartSyncPolicyOnDemand: + return @"DBTEAMPOLICIESSmartSyncPolicyOnDemand"; + case DBTEAMPOLICIESSmartSyncPolicyOther: + return @"DBTEAMPOLICIESSmartSyncPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSmartSyncPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSmartSyncPolicyLocal: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSmartSyncPolicyOnDemand: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSmartSyncPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSmartSyncPolicy:other]; +} + +- (BOOL)isEqualToSmartSyncPolicy:(DBTEAMPOLICIESSmartSyncPolicy *)aSmartSyncPolicy { + if (self == aSmartSyncPolicy) { + return YES; + } + if (self.tag != aSmartSyncPolicy.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSmartSyncPolicyLocal: + return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; + case DBTEAMPOLICIESSmartSyncPolicyOnDemand: + return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; + case DBTEAMPOLICIESSmartSyncPolicyOther: + return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSmartSyncPolicySerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSmartSyncPolicy *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isLocal]) { + jsonDict[@".tag"] = @"local"; + } else if ([valueObj isOnDemand]) { + jsonDict[@".tag"] = @"on_demand"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"local"]) { + return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithLocal]; + } else if ([tag isEqualToString:@"on_demand"]) { + return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOnDemand]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESSharedLinkCreatePolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; } } @@ -1814,26 +4231,26 @@ + (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)valueDict #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESSmartSyncPolicy.h" +#import "DBTEAMPOLICIESSmarterSmartSyncPolicyState.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESSmartSyncPolicy +@implementation DBTEAMPOLICIESSmarterSmartSyncPolicyState #pragma mark - Constructors -- (instancetype)initWithLocal { +- (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSmartSyncPolicyLocal; + _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled; } return self; } -- (instancetype)initWithOnDemand { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSmartSyncPolicyOnDemand; + _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled; } return self; } @@ -1841,7 +4258,7 @@ - (instancetype)initWithOnDemand { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSmartSyncPolicyOther; + _tag = DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther; } return self; } @@ -1850,26 +4267,26 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods -- (BOOL)isLocal { - return _tag == DBTEAMPOLICIESSmartSyncPolicyLocal; +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled; } -- (BOOL)isOnDemand { - return _tag == DBTEAMPOLICIESSmartSyncPolicyOnDemand; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESSmartSyncPolicyOther; + return _tag == DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESSmartSyncPolicyLocal: - return @"DBTEAMPOLICIESSmartSyncPolicyLocal"; - case DBTEAMPOLICIESSmartSyncPolicyOnDemand: - return @"DBTEAMPOLICIESSmartSyncPolicyOnDemand"; - case DBTEAMPOLICIESSmartSyncPolicyOther: - return @"DBTEAMPOLICIESSmartSyncPolicyOther"; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled: + return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled"; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled: + return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled"; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther: + return @"DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -1877,18 +4294,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESSmartSyncPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESSmartSyncPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESSmartSyncPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer serialize:self] description]; } #pragma mark - Copyable method @@ -1906,12 +4323,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESSmartSyncPolicyLocal: + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSmartSyncPolicyOnDemand: + break; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSmartSyncPolicyOther: + break; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1926,23 +4346,218 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSmartSyncPolicy:other]; + return [self isEqualToSmarterSmartSyncPolicyState:other]; } -- (BOOL)isEqualToSmartSyncPolicy:(DBTEAMPOLICIESSmartSyncPolicy *)aSmartSyncPolicy { - if (self == aSmartSyncPolicy) { +- (BOOL)isEqualToSmarterSmartSyncPolicyState:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)aSmarterSmartSyncPolicyState { + if (self == aSmarterSmartSyncPolicyState) { return YES; } - if (self.tag != aSmartSyncPolicy.tag) { + if (self.tag != aSmarterSmartSyncPolicyState.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled: + return [[self tagName] isEqual:[aSmarterSmartSyncPolicyState tagName]]; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled: + return [[self tagName] isEqual:[aSmarterSmartSyncPolicyState tagName]]; + case DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther: + return [[self tagName] isEqual:[aSmarterSmartSyncPolicyState tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESSmarterSmartSyncPolicyState *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESSmarterSmartSyncPolicyState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESSmarterSmartSyncPolicyState alloc] initWithEnabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESSmarterSmartSyncPolicyState alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESSmarterSmartSyncPolicyState alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESSsoPolicy.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESSsoPolicy + +#pragma mark - Constructors + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSsoPolicyDisabled; + } + return self; +} + +- (instancetype)initWithOptional { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSsoPolicyOptional; + } + return self; +} + +- (instancetype)initWithRequired { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSsoPolicyRequired; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESSsoPolicyOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESSsoPolicyDisabled; +} + +- (BOOL)isOptional { + return _tag == DBTEAMPOLICIESSsoPolicyOptional; +} + +- (BOOL)isRequired { + return _tag == DBTEAMPOLICIESSsoPolicyRequired; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESSsoPolicyOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESSsoPolicyDisabled: + return @"DBTEAMPOLICIESSsoPolicyDisabled"; + case DBTEAMPOLICIESSsoPolicyOptional: + return @"DBTEAMPOLICIESSsoPolicyOptional"; + case DBTEAMPOLICIESSsoPolicyRequired: + return @"DBTEAMPOLICIESSsoPolicyRequired"; + case DBTEAMPOLICIESSsoPolicyOther: + return @"DBTEAMPOLICIESSsoPolicyOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSsoPolicySerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSsoPolicySerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSsoPolicySerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESSsoPolicyDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSsoPolicyOptional: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSsoPolicyRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESSsoPolicyOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToSsoPolicy:other]; +} + +- (BOOL)isEqualToSsoPolicy:(DBTEAMPOLICIESSsoPolicy *)aSsoPolicy { + if (self == aSsoPolicy) { + return YES; + } + if (self.tag != aSsoPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESSmartSyncPolicyLocal: - return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; - case DBTEAMPOLICIESSmartSyncPolicyOnDemand: - return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; - case DBTEAMPOLICIESSmartSyncPolicyOther: - return [[self tagName] isEqual:[aSmartSyncPolicy tagName]]; + case DBTEAMPOLICIESSsoPolicyDisabled: + return [[self tagName] isEqual:[aSsoPolicy tagName]]; + case DBTEAMPOLICIESSsoPolicyOptional: + return [[self tagName] isEqual:[aSsoPolicy tagName]]; + case DBTEAMPOLICIESSsoPolicyRequired: + return [[self tagName] isEqual:[aSsoPolicy tagName]]; + case DBTEAMPOLICIESSsoPolicyOther: + return [[self tagName] isEqual:[aSsoPolicy tagName]]; } return YES; } @@ -1951,35 +4566,39 @@ - (BOOL)isEqualToSmartSyncPolicy:(DBTEAMPOLICIESSmartSyncPolicy *)aSmartSyncPoli #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESSmartSyncPolicySerializer +@implementation DBTEAMPOLICIESSsoPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESSmartSyncPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; - if ([valueObj isLocal]) { - jsonDict[@".tag"] = @"local"; - } else if ([valueObj isOnDemand]) { - jsonDict[@".tag"] = @"on_demand"; + if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isOptional]) { + jsonDict[@".tag"] = @"optional"; + } else if ([valueObj isRequired]) { + jsonDict[@".tag"] = @"required"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; - if ([tag isEqualToString:@"local"]) { - return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithLocal]; - } else if ([tag isEqualToString:@"on_demand"]) { - return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOnDemand]; + if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESSsoPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"optional"]) { + return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOptional]; + } else if ([tag isEqualToString:@"required"]) { + return [[DBTEAMPOLICIESSsoPolicy alloc] initWithRequired]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESSmartSyncPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; } } @@ -1987,34 +4606,26 @@ + (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" -#import "DBTEAMPOLICIESSsoPolicy.h" +#import "DBTEAMPOLICIESSuggestMembersPolicy.h" #pragma mark - API Object -@implementation DBTEAMPOLICIESSsoPolicy +@implementation DBTEAMPOLICIESSuggestMembersPolicy #pragma mark - Constructors - (instancetype)initWithDisabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSsoPolicyDisabled; - } - return self; -} - -- (instancetype)initWithOptional { - self = [super init]; - if (self) { - _tag = DBTEAMPOLICIESSsoPolicyOptional; + _tag = DBTEAMPOLICIESSuggestMembersPolicyDisabled; } return self; } -- (instancetype)initWithRequired { +- (instancetype)initWithEnabled { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSsoPolicyRequired; + _tag = DBTEAMPOLICIESSuggestMembersPolicyEnabled; } return self; } @@ -2022,7 +4633,7 @@ - (instancetype)initWithRequired { - (instancetype)initWithOther { self = [super init]; if (self) { - _tag = DBTEAMPOLICIESSsoPolicyOther; + _tag = DBTEAMPOLICIESSuggestMembersPolicyOther; } return self; } @@ -2032,31 +4643,25 @@ - (instancetype)initWithOther { #pragma mark - Tag state methods - (BOOL)isDisabled { - return _tag == DBTEAMPOLICIESSsoPolicyDisabled; -} - -- (BOOL)isOptional { - return _tag == DBTEAMPOLICIESSsoPolicyOptional; + return _tag == DBTEAMPOLICIESSuggestMembersPolicyDisabled; } -- (BOOL)isRequired { - return _tag == DBTEAMPOLICIESSsoPolicyRequired; +- (BOOL)isEnabled { + return _tag == DBTEAMPOLICIESSuggestMembersPolicyEnabled; } - (BOOL)isOther { - return _tag == DBTEAMPOLICIESSsoPolicyOther; + return _tag == DBTEAMPOLICIESSuggestMembersPolicyOther; } - (NSString *)tagName { switch (_tag) { - case DBTEAMPOLICIESSsoPolicyDisabled: - return @"DBTEAMPOLICIESSsoPolicyDisabled"; - case DBTEAMPOLICIESSsoPolicyOptional: - return @"DBTEAMPOLICIESSsoPolicyOptional"; - case DBTEAMPOLICIESSsoPolicyRequired: - return @"DBTEAMPOLICIESSsoPolicyRequired"; - case DBTEAMPOLICIESSsoPolicyOther: - return @"DBTEAMPOLICIESSsoPolicyOther"; + case DBTEAMPOLICIESSuggestMembersPolicyDisabled: + return @"DBTEAMPOLICIESSuggestMembersPolicyDisabled"; + case DBTEAMPOLICIESSuggestMembersPolicyEnabled: + return @"DBTEAMPOLICIESSuggestMembersPolicyEnabled"; + case DBTEAMPOLICIESSuggestMembersPolicyOther: + return @"DBTEAMPOLICIESSuggestMembersPolicyOther"; } @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); @@ -2064,18 +4669,18 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { - return [DBTEAMPOLICIESSsoPolicySerializer serialize:instance]; ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { - return [DBTEAMPOLICIESSsoPolicySerializer deserialize:dict]; ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESSuggestMembersPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { - return [[DBTEAMPOLICIESSsoPolicySerializer serialize:self] description]; +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:self] description]; } #pragma mark - Copyable method @@ -2093,14 +4698,15 @@ - (NSUInteger)hash { NSUInteger result = 1; switch (_tag) { - case DBTEAMPOLICIESSsoPolicyDisabled: - result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSsoPolicyOptional: + case DBTEAMPOLICIESSuggestMembersPolicyDisabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSsoPolicyRequired: + break; + case DBTEAMPOLICIESSuggestMembersPolicyEnabled: result = prime * result + [[self tagName] hash]; - case DBTEAMPOLICIESSsoPolicyOther: + break; + case DBTEAMPOLICIESSuggestMembersPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2115,25 +4721,23 @@ - (BOOL)isEqual:(id)other { if (!other || ![other isKindOfClass:[self class]]) { return NO; } - return [self isEqualToSsoPolicy:other]; + return [self isEqualToSuggestMembersPolicy:other]; } -- (BOOL)isEqualToSsoPolicy:(DBTEAMPOLICIESSsoPolicy *)aSsoPolicy { - if (self == aSsoPolicy) { +- (BOOL)isEqualToSuggestMembersPolicy:(DBTEAMPOLICIESSuggestMembersPolicy *)aSuggestMembersPolicy { + if (self == aSuggestMembersPolicy) { return YES; } - if (self.tag != aSsoPolicy.tag) { + if (self.tag != aSuggestMembersPolicy.tag) { return NO; } switch (_tag) { - case DBTEAMPOLICIESSsoPolicyDisabled: - return [[self tagName] isEqual:[aSsoPolicy tagName]]; - case DBTEAMPOLICIESSsoPolicyOptional: - return [[self tagName] isEqual:[aSsoPolicy tagName]]; - case DBTEAMPOLICIESSsoPolicyRequired: - return [[self tagName] isEqual:[aSsoPolicy tagName]]; - case DBTEAMPOLICIESSsoPolicyOther: - return [[self tagName] isEqual:[aSsoPolicy tagName]]; + case DBTEAMPOLICIESSuggestMembersPolicyDisabled: + return [[self tagName] isEqual:[aSuggestMembersPolicy tagName]]; + case DBTEAMPOLICIESSuggestMembersPolicyEnabled: + return [[self tagName] isEqual:[aSuggestMembersPolicy tagName]]; + case DBTEAMPOLICIESSuggestMembersPolicyOther: + return [[self tagName] isEqual:[aSuggestMembersPolicy tagName]]; } return YES; } @@ -2142,39 +4746,35 @@ - (BOOL)isEqualToSsoPolicy:(DBTEAMPOLICIESSsoPolicy *)aSsoPolicy { #pragma mark - Serializer Object -@implementation DBTEAMPOLICIESSsoPolicySerializer +@implementation DBTEAMPOLICIESSuggestMembersPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESSuggestMembersPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isDisabled]) { jsonDict[@".tag"] = @"disabled"; - } else if ([valueObj isOptional]) { - jsonDict[@".tag"] = @"optional"; - } else if ([valueObj isRequired]) { - jsonDict[@".tag"] = @"required"; + } else if ([valueObj isEnabled]) { + jsonDict[@".tag"] = @"enabled"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; } else { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESSuggestMembersPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"disabled"]) { - return [[DBTEAMPOLICIESSsoPolicy alloc] initWithDisabled]; - } else if ([tag isEqualToString:@"optional"]) { - return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOptional]; - } else if ([tag isEqualToString:@"required"]) { - return [[DBTEAMPOLICIESSsoPolicy alloc] initWithRequired]; + return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"enabled"]) { + return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithEnabled]; } else if ([tag isEqualToString:@"other"]) { - return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithOther]; } else { - return [[DBTEAMPOLICIESSsoPolicy alloc] initWithOther]; + return [[DBTEAMPOLICIESSuggestMembersPolicy alloc] initWithOther]; } } @@ -2184,6 +4784,7 @@ + (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)valueDict { #import "DBStoneValidators.h" #import "DBTEAMPOLICIESEmmState.h" #import "DBTEAMPOLICIESOfficeAddInPolicy.h" +#import "DBTEAMPOLICIESSuggestMembersPolicy.h" #import "DBTEAMPOLICIESTeamMemberPolicies.h" #import "DBTEAMPOLICIESTeamSharingPolicies.h" @@ -2195,33 +4796,36 @@ @implementation DBTEAMPOLICIESTeamMemberPolicies - (instancetype)initWithSharing:(DBTEAMPOLICIESTeamSharingPolicies *)sharing emmState:(DBTEAMPOLICIESEmmState *)emmState - officeAddin:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddin { + officeAddin:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddin + suggestMembersPolicy:(DBTEAMPOLICIESSuggestMembersPolicy *)suggestMembersPolicy { [DBStoneValidators nonnullValidator:nil](sharing); [DBStoneValidators nonnullValidator:nil](emmState); [DBStoneValidators nonnullValidator:nil](officeAddin); + [DBStoneValidators nonnullValidator:nil](suggestMembersPolicy); self = [super init]; if (self) { _sharing = sharing; _emmState = emmState; _officeAddin = officeAddin; + _suggestMembersPolicy = suggestMembersPolicy; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTeamMemberPoliciesSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMPOLICIESTeamMemberPoliciesSerializer serialize:self] description]; } @@ -2242,6 +4846,7 @@ - (NSUInteger)hash { result = prime * result + [self.sharing hash]; result = prime * result + [self.emmState hash]; result = prime * result + [self.officeAddin hash]; + result = prime * result + [self.suggestMembersPolicy hash]; return prime * result; } @@ -2271,6 +4876,9 @@ - (BOOL)isEqualToTeamMemberPolicies:(DBTEAMPOLICIESTeamMemberPolicies *)aTeamMem if (![self.officeAddin isEqual:aTeamMemberPolicies.officeAddin]) { return NO; } + if (![self.suggestMembersPolicy isEqual:aTeamMemberPolicies.suggestMembersPolicy]) { + return NO; + } return YES; } @@ -2280,30 +4888,39 @@ - (BOOL)isEqualToTeamMemberPolicies:(DBTEAMPOLICIESTeamMemberPolicies *)aTeamMem @implementation DBTEAMPOLICIESTeamMemberPoliciesSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESTeamMemberPolicies *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESTeamMemberPolicies *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"sharing"] = [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:valueObj.sharing]; jsonDict[@"emm_state"] = [DBTEAMPOLICIESEmmStateSerializer serialize:valueObj.emmState]; jsonDict[@"office_addin"] = [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:valueObj.officeAddin]; + jsonDict[@"suggest_members_policy"] = + [DBTEAMPOLICIESSuggestMembersPolicySerializer serialize:valueObj.suggestMembersPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)valueDict { DBTEAMPOLICIESTeamSharingPolicies *sharing = [DBTEAMPOLICIESTeamSharingPoliciesSerializer deserialize:valueDict[@"sharing"]]; DBTEAMPOLICIESEmmState *emmState = [DBTEAMPOLICIESEmmStateSerializer deserialize:valueDict[@"emm_state"]]; DBTEAMPOLICIESOfficeAddInPolicy *officeAddin = [DBTEAMPOLICIESOfficeAddInPolicySerializer deserialize:valueDict[@"office_addin"]]; + DBTEAMPOLICIESSuggestMembersPolicy *suggestMembersPolicy = + [DBTEAMPOLICIESSuggestMembersPolicySerializer deserialize:valueDict[@"suggest_members_policy"]]; - return [[DBTEAMPOLICIESTeamMemberPolicies alloc] initWithSharing:sharing emmState:emmState officeAddin:officeAddin]; + return [[DBTEAMPOLICIESTeamMemberPolicies alloc] initWithSharing:sharing + emmState:emmState + officeAddin:officeAddin + suggestMembersPolicy:suggestMembersPolicy]; } @end #import "DBStoneSerializers.h" #import "DBStoneValidators.h" +#import "DBTEAMPOLICIESGroupCreation.h" +#import "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h" #import "DBTEAMPOLICIESSharedFolderJoinPolicy.h" #import "DBTEAMPOLICIESSharedFolderMemberPolicy.h" #import "DBTEAMPOLICIESSharedLinkCreatePolicy.h" @@ -2317,33 +4934,40 @@ @implementation DBTEAMPOLICIESTeamSharingPolicies - (instancetype)initWithSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolicy *)sharedFolderMemberPolicy sharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *)sharedFolderJoinPolicy - sharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)sharedLinkCreatePolicy { + sharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)sharedLinkCreatePolicy + groupCreationPolicy:(DBTEAMPOLICIESGroupCreation *)groupCreationPolicy + sharedFolderLinkRestrictionPolicy: + (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)sharedFolderLinkRestrictionPolicy { [DBStoneValidators nonnullValidator:nil](sharedFolderMemberPolicy); [DBStoneValidators nonnullValidator:nil](sharedFolderJoinPolicy); [DBStoneValidators nonnullValidator:nil](sharedLinkCreatePolicy); + [DBStoneValidators nonnullValidator:nil](groupCreationPolicy); + [DBStoneValidators nonnullValidator:nil](sharedFolderLinkRestrictionPolicy); self = [super init]; if (self) { _sharedFolderMemberPolicy = sharedFolderMemberPolicy; _sharedFolderJoinPolicy = sharedFolderJoinPolicy; _sharedLinkCreatePolicy = sharedLinkCreatePolicy; + _groupCreationPolicy = groupCreationPolicy; + _sharedFolderLinkRestrictionPolicy = sharedFolderLinkRestrictionPolicy; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTeamSharingPoliciesSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:self] description]; } @@ -2364,6 +4988,8 @@ - (NSUInteger)hash { result = prime * result + [self.sharedFolderMemberPolicy hash]; result = prime * result + [self.sharedFolderJoinPolicy hash]; result = prime * result + [self.sharedLinkCreatePolicy hash]; + result = prime * result + [self.groupCreationPolicy hash]; + result = prime * result + [self.sharedFolderLinkRestrictionPolicy hash]; return prime * result; } @@ -2393,6 +5019,12 @@ - (BOOL)isEqualToTeamSharingPolicies:(DBTEAMPOLICIESTeamSharingPolicies *)aTeamS if (![self.sharedLinkCreatePolicy isEqual:aTeamSharingPolicies.sharedLinkCreatePolicy]) { return NO; } + if (![self.groupCreationPolicy isEqual:aTeamSharingPolicies.groupCreationPolicy]) { + return NO; + } + if (![self.sharedFolderLinkRestrictionPolicy isEqual:aTeamSharingPolicies.sharedFolderLinkRestrictionPolicy]) { + return NO; + } return YES; } @@ -2402,7 +5034,7 @@ - (BOOL)isEqualToTeamSharingPolicies:(DBTEAMPOLICIESTeamSharingPolicies *)aTeamS @implementation DBTEAMPOLICIESTeamSharingPoliciesSerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"shared_folder_member_policy"] = @@ -2411,21 +5043,31 @@ + (NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)valueObj { [DBTEAMPOLICIESSharedFolderJoinPolicySerializer serialize:valueObj.sharedFolderJoinPolicy]; jsonDict[@"shared_link_create_policy"] = [DBTEAMPOLICIESSharedLinkCreatePolicySerializer serialize:valueObj.sharedLinkCreatePolicy]; + jsonDict[@"group_creation_policy"] = [DBTEAMPOLICIESGroupCreationSerializer serialize:valueObj.groupCreationPolicy]; + jsonDict[@"shared_folder_link_restriction_policy"] = [DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer + serialize:valueObj.sharedFolderLinkRestrictionPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)valueDict { DBTEAMPOLICIESSharedFolderMemberPolicy *sharedFolderMemberPolicy = [DBTEAMPOLICIESSharedFolderMemberPolicySerializer deserialize:valueDict[@"shared_folder_member_policy"]]; DBTEAMPOLICIESSharedFolderJoinPolicy *sharedFolderJoinPolicy = [DBTEAMPOLICIESSharedFolderJoinPolicySerializer deserialize:valueDict[@"shared_folder_join_policy"]]; DBTEAMPOLICIESSharedLinkCreatePolicy *sharedLinkCreatePolicy = [DBTEAMPOLICIESSharedLinkCreatePolicySerializer deserialize:valueDict[@"shared_link_create_policy"]]; + DBTEAMPOLICIESGroupCreation *groupCreationPolicy = + [DBTEAMPOLICIESGroupCreationSerializer deserialize:valueDict[@"group_creation_policy"]]; + DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *sharedFolderLinkRestrictionPolicy = + [DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer + deserialize:valueDict[@"shared_folder_link_restriction_policy"]]; return [[DBTEAMPOLICIESTeamSharingPolicies alloc] initWithSharedFolderMemberPolicy:sharedFolderMemberPolicy sharedFolderJoinPolicy:sharedFolderJoinPolicy - sharedLinkCreatePolicy:sharedLinkCreatePolicy]; + sharedLinkCreatePolicy:sharedLinkCreatePolicy + groupCreationPolicy:groupCreationPolicy + sharedFolderLinkRestrictionPolicy:sharedFolderLinkRestrictionPolicy]; } @end @@ -2495,17 +5137,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBTEAMPOLICIESTwoStepVerificationPolicySerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBTEAMPOLICIESTwoStepVerificationPolicySerializer serialize:self] description]; } @@ -2526,10 +5168,13 @@ - (NSUInteger)hash { switch (_tag) { case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable: result = prime * result + [[self tagName] hash]; + break; case DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable: result = prime * result + [[self tagName] hash]; + break; case DBTEAMPOLICIESTwoStepVerificationPolicyOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -2571,7 +5216,7 @@ - (BOOL)isEqualToTwoStepVerificationPolicy:(DBTEAMPOLICIESTwoStepVerificationPol @implementation DBTEAMPOLICIESTwoStepVerificationPolicySerializer -+ (NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)valueObj { ++ (NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isRequireTfaEnable]) { @@ -2584,10 +5229,10 @@ + (NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)valueObj jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)valueDict { ++ (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"require_tfa_enable"]) { @@ -2602,3 +5247,202 @@ + (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)valueDi } @end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBTEAMPOLICIESTwoStepVerificationState.h" + +#pragma mark - API Object + +@implementation DBTEAMPOLICIESTwoStepVerificationState + +#pragma mark - Constructors + +- (instancetype)initWithRequired { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESTwoStepVerificationStateRequired; + } + return self; +} + +- (instancetype)initWithOptional { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESTwoStepVerificationStateOptional; + } + return self; +} + +- (instancetype)initWithDisabled { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESTwoStepVerificationStateDisabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBTEAMPOLICIESTwoStepVerificationStateOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isRequired { + return _tag == DBTEAMPOLICIESTwoStepVerificationStateRequired; +} + +- (BOOL)isOptional { + return _tag == DBTEAMPOLICIESTwoStepVerificationStateOptional; +} + +- (BOOL)isDisabled { + return _tag == DBTEAMPOLICIESTwoStepVerificationStateDisabled; +} + +- (BOOL)isOther { + return _tag == DBTEAMPOLICIESTwoStepVerificationStateOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBTEAMPOLICIESTwoStepVerificationStateRequired: + return @"DBTEAMPOLICIESTwoStepVerificationStateRequired"; + case DBTEAMPOLICIESTwoStepVerificationStateOptional: + return @"DBTEAMPOLICIESTwoStepVerificationStateOptional"; + case DBTEAMPOLICIESTwoStepVerificationStateDisabled: + return @"DBTEAMPOLICIESTwoStepVerificationStateDisabled"; + case DBTEAMPOLICIESTwoStepVerificationStateOther: + return @"DBTEAMPOLICIESTwoStepVerificationStateOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBTEAMPOLICIESTwoStepVerificationStateSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBTEAMPOLICIESTwoStepVerificationStateSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBTEAMPOLICIESTwoStepVerificationStateSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBTEAMPOLICIESTwoStepVerificationStateRequired: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESTwoStepVerificationStateOptional: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESTwoStepVerificationStateDisabled: + result = prime * result + [[self tagName] hash]; + break; + case DBTEAMPOLICIESTwoStepVerificationStateOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToTwoStepVerificationState:other]; +} + +- (BOOL)isEqualToTwoStepVerificationState:(DBTEAMPOLICIESTwoStepVerificationState *)aTwoStepVerificationState { + if (self == aTwoStepVerificationState) { + return YES; + } + if (self.tag != aTwoStepVerificationState.tag) { + return NO; + } + switch (_tag) { + case DBTEAMPOLICIESTwoStepVerificationStateRequired: + return [[self tagName] isEqual:[aTwoStepVerificationState tagName]]; + case DBTEAMPOLICIESTwoStepVerificationStateOptional: + return [[self tagName] isEqual:[aTwoStepVerificationState tagName]]; + case DBTEAMPOLICIESTwoStepVerificationStateDisabled: + return [[self tagName] isEqual:[aTwoStepVerificationState tagName]]; + case DBTEAMPOLICIESTwoStepVerificationStateOther: + return [[self tagName] isEqual:[aTwoStepVerificationState tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBTEAMPOLICIESTwoStepVerificationStateSerializer + ++ (NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationState *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isRequired]) { + jsonDict[@".tag"] = @"required"; + } else if ([valueObj isOptional]) { + jsonDict[@".tag"] = @"optional"; + } else if ([valueObj isDisabled]) { + jsonDict[@".tag"] = @"disabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBTEAMPOLICIESTwoStepVerificationState *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"required"]) { + return [[DBTEAMPOLICIESTwoStepVerificationState alloc] initWithRequired]; + } else if ([tag isEqualToString:@"optional"]) { + return [[DBTEAMPOLICIESTwoStepVerificationState alloc] initWithOptional]; + } else if ([tag isEqualToString:@"disabled"]) { + return [[DBTEAMPOLICIESTwoStepVerificationState alloc] initWithDisabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBTEAMPOLICIESTwoStepVerificationState alloc] initWithOther]; + } else { + return [[DBTEAMPOLICIESTwoStepVerificationState alloc] initWithOther]; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESCameraUploadsPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESCameraUploadsPolicyState.h new file mode 100644 index 000000000..c49259ba5 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESCameraUploadsPolicyState.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESCameraUploadsPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `CameraUploadsPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESCameraUploadsPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESCameraUploadsPolicyStateTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESCameraUploadsPolicyState` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESCameraUploadsPolicyStateTag){ + /// Background camera uploads are disabled. + DBTEAMPOLICIESCameraUploadsPolicyStateDisabled, + + /// Background camera uploads are allowed. + DBTEAMPOLICIESCameraUploadsPolicyStateEnabled, + + /// (no description). + DBTEAMPOLICIESCameraUploadsPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESCameraUploadsPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Background camera uploads are +/// disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Background camera uploads are +/// allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESCameraUploadsPolicyState` +/// union. +/// +@interface DBTEAMPOLICIESCameraUploadsPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESCameraUploadsPolicyState` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESCameraUploadsPolicyState` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESCameraUploadsPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESCameraUploadsPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESCameraUploadsPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESCameraUploadsPolicyState` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESCameraUploadsPolicyState` +/// object. +/// ++ (DBTEAMPOLICIESCameraUploadsPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESComputerBackupPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESComputerBackupPolicyState.h new file mode 100644 index 000000000..45d66b670 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESComputerBackupPolicyState.h @@ -0,0 +1,161 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESComputerBackupPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ComputerBackupPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESComputerBackupPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESComputerBackupPolicyStateTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESComputerBackupPolicyState` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESComputerBackupPolicyStateTag){ + /// Computer Backup feature is disabled. + DBTEAMPOLICIESComputerBackupPolicyStateDisabled, + + /// Computer Backup feature is enabled. + DBTEAMPOLICIESComputerBackupPolicyStateEnabled, + + /// Computer Backup defaults to ON for SSB teams, and OFF for Enterprise + /// teams. + DBTEAMPOLICIESComputerBackupPolicyStateDefault_, + + /// (no description). + DBTEAMPOLICIESComputerBackupPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESComputerBackupPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Computer Backup feature is +/// disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Computer Backup feature is enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: Computer Backup defaults to ON for +/// SSB teams, and OFF for Enterprise teams. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESComputerBackupPolicyState` +/// union. +/// +@interface DBTEAMPOLICIESComputerBackupPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESComputerBackupPolicyState` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESComputerBackupPolicyState` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESComputerBackupPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESComputerBackupPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESComputerBackupPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESComputerBackupPolicyState` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESComputerBackupPolicyState` +/// object. +/// ++ (DBTEAMPOLICIESComputerBackupPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESEmmState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESEmmState.h index 2c4631df6..cf8d5e7e9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESEmmState.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESEmmState.h @@ -27,18 +27,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESEmmStateTag` enum type represents the possible tag states /// with which the `DBTEAMPOLICIESEmmState` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESEmmStateTag) { - /// Emm token is disabled. - DBTEAMPOLICIESEmmStateDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESEmmStateTag){ + /// Emm token is disabled. + DBTEAMPOLICIESEmmStateDisabled, - /// Emm token is optional. - DBTEAMPOLICIESEmmStateOptional, + /// Emm token is optional. + DBTEAMPOLICIESEmmStateOptional, - /// Emm token is required. - DBTEAMPOLICIESEmmStateRequired, + /// Emm token is required. + DBTEAMPOLICIESEmmStateRequired, - /// (no description). - DBTEAMPOLICIESEmmStateOther, + /// (no description). + DBTEAMPOLICIESEmmStateOther, }; @@ -137,7 +137,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESEmmStateTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESEmmState` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESEmmState *)instance; /// /// Deserializes `DBTEAMPOLICIESEmmState` instances. @@ -147,7 +147,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESEmmStateTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESEmmState` object. /// -+ (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESEmmState *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESExternalDriveBackupPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESExternalDriveBackupPolicyState.h new file mode 100644 index 000000000..c06a1675d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESExternalDriveBackupPolicyState.h @@ -0,0 +1,161 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESExternalDriveBackupPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ExternalDriveBackupPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESExternalDriveBackupPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESExternalDriveBackupPolicyStateTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESExternalDriveBackupPolicyStateTag){ + /// External Drive Backup feature is disabled. + DBTEAMPOLICIESExternalDriveBackupPolicyStateDisabled, + + /// External Drive Backup feature is enabled. + DBTEAMPOLICIESExternalDriveBackupPolicyStateEnabled, + + /// External Drive Backup default value based on team tier. + DBTEAMPOLICIESExternalDriveBackupPolicyStateDefault_, + + /// (no description). + DBTEAMPOLICIESExternalDriveBackupPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESExternalDriveBackupPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: External Drive Backup feature is +/// disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: External Drive Backup feature is +/// enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: External Drive Backup default value +/// based on team tier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` union. +/// +@interface DBTEAMPOLICIESExternalDriveBackupPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESExternalDriveBackupPolicyState` instances. +/// +/// @param instance An instance of the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESExternalDriveBackupPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESExternalDriveBackupPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` API object. +/// +/// @return An instantiation of the +/// `DBTEAMPOLICIESExternalDriveBackupPolicyState` object. +/// ++ (DBTEAMPOLICIESExternalDriveBackupPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileLockingPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileLockingPolicyState.h new file mode 100644 index 000000000..6934caf51 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileLockingPolicyState.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESFileLockingPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESFileLockingPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESFileLockingPolicyStateTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESFileLockingPolicyState` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESFileLockingPolicyStateTag){ + /// File locking feature is disabled. + DBTEAMPOLICIESFileLockingPolicyStateDisabled, + + /// File locking feature is allowed. + DBTEAMPOLICIESFileLockingPolicyStateEnabled, + + /// (no description). + DBTEAMPOLICIESFileLockingPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESFileLockingPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: File locking feature is disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: File locking feature is allowed. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESFileLockingPolicyState` +/// union. +/// +@interface DBTEAMPOLICIESFileLockingPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESFileLockingPolicyState` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESFileLockingPolicyState` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESFileLockingPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESFileLockingPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESFileLockingPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESFileLockingPolicyState` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESFileLockingPolicyState` +/// object. +/// ++ (DBTEAMPOLICIESFileLockingPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileProviderMigrationPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileProviderMigrationPolicyState.h new file mode 100644 index 000000000..26b8c8909 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESFileProviderMigrationPolicyState.h @@ -0,0 +1,162 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESFileProviderMigrationPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileProviderMigrationPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESFileProviderMigrationPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESFileProviderMigrationPolicyStateTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESFileProviderMigrationPolicyStateTag){ + /// Team admin has opted out of File Provider Migration for team members. + DBTEAMPOLICIESFileProviderMigrationPolicyStateDisabled, + + /// Team admin has not opted out of File Provider Migration for team + /// members. + DBTEAMPOLICIESFileProviderMigrationPolicyStateEnabled, + + /// Team admin has default value based on team tier. + DBTEAMPOLICIESFileProviderMigrationPolicyStateDefault_, + + /// (no description). + DBTEAMPOLICIESFileProviderMigrationPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESFileProviderMigrationPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Team admin has opted out of File +/// Provider Migration for team members. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Team admin has not opted out of File +/// Provider Migration for team members. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "default". +/// +/// Description of the "default" tag state: Team admin has default value based +/// on team tier. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefault_; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "default". +/// +/// @return Whether the union's current tag state has value "default". +/// +- (BOOL)isDefault_; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` union. +/// +@interface DBTEAMPOLICIESFileProviderMigrationPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESFileProviderMigrationPolicyState` instances. +/// +/// @param instance An instance of the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESFileProviderMigrationPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESFileProviderMigrationPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` API object. +/// +/// @return An instantiation of the +/// `DBTEAMPOLICIESFileProviderMigrationPolicyState` object. +/// ++ (DBTEAMPOLICIESFileProviderMigrationPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESGroupCreation.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESGroupCreation.h index f47c5825c..055f95451 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESGroupCreation.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESGroupCreation.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESGroupCreationTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESGroupCreation` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESGroupCreationTag) { - /// Team admins and members can create groups. - DBTEAMPOLICIESGroupCreationAdminsAndMembers, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESGroupCreationTag){ + /// Team admins and members can create groups. + DBTEAMPOLICIESGroupCreationAdminsAndMembers, - /// Only team admins can create groups. - DBTEAMPOLICIESGroupCreationAdminsOnly, + /// Only team admins can create groups. + DBTEAMPOLICIESGroupCreationAdminsOnly, }; @@ -105,7 +105,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESGroupCreationTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESGroupCreation` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESGroupCreation *)instance; /// /// Deserializes `DBTEAMPOLICIESGroupCreation` instances. @@ -115,7 +115,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESGroupCreationTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESGroupCreation` object. /// -+ (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESGroupCreation *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESOfficeAddInPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESOfficeAddInPolicy.h index af0391682..ccb8f6903 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESOfficeAddInPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESOfficeAddInPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESOfficeAddInPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMPOLICIESOfficeAddInPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESOfficeAddInPolicyTag) { - /// Office Add-In is disabled. - DBTEAMPOLICIESOfficeAddInPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESOfficeAddInPolicyTag){ + /// Office Add-In is disabled. + DBTEAMPOLICIESOfficeAddInPolicyDisabled, - /// Office Add-In is enabled. - DBTEAMPOLICIESOfficeAddInPolicyEnabled, + /// Office Add-In is enabled. + DBTEAMPOLICIESOfficeAddInPolicyEnabled, - /// (no description). - DBTEAMPOLICIESOfficeAddInPolicyOther, + /// (no description). + DBTEAMPOLICIESOfficeAddInPolicyOther, }; @@ -119,7 +119,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESOfficeAddInPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESOfficeAddInPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESOfficeAddInPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESOfficeAddInPolicy` instances. @@ -129,7 +129,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESOfficeAddInPolicyTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESOfficeAddInPolicy` object. /// -+ (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESOfficeAddInPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDefaultFolderPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDefaultFolderPolicy.h new file mode 100644 index 000000000..f09788091 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDefaultFolderPolicy.h @@ -0,0 +1,143 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESPaperDefaultFolderPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDefaultFolderPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESPaperDefaultFolderPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESPaperDefaultFolderPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESPaperDefaultFolderPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPaperDefaultFolderPolicyTag){ + /// Everyone in team will be the default option when creating a folder in + /// Paper. + DBTEAMPOLICIESPaperDefaultFolderPolicyEveryoneInTeam, + + /// Invite only will be the default option when creating a folder in Paper. + DBTEAMPOLICIESPaperDefaultFolderPolicyInviteOnly, + + /// (no description). + DBTEAMPOLICIESPaperDefaultFolderPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESPaperDefaultFolderPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "everyone_in_team". +/// +/// Description of the "everyone_in_team" tag state: Everyone in team will be +/// the default option when creating a folder in Paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEveryoneInTeam; + +/// +/// Initializes union class with tag state of "invite_only". +/// +/// Description of the "invite_only" tag state: Invite only will be the default +/// option when creating a folder in Paper. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithInviteOnly; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "everyone_in_team". +/// +/// @return Whether the union's current tag state has value "everyone_in_team". +/// +- (BOOL)isEveryoneInTeam; + +/// +/// Retrieves whether the union's current tag state has value "invite_only". +/// +/// @return Whether the union's current tag state has value "invite_only". +/// +- (BOOL)isInviteOnly; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESPaperDefaultFolderPolicy` +/// union. +/// +@interface DBTEAMPOLICIESPaperDefaultFolderPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESPaperDefaultFolderPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESPaperDefaultFolderPolicy` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPaperDefaultFolderPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperDefaultFolderPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESPaperDefaultFolderPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPaperDefaultFolderPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESPaperDefaultFolderPolicy` +/// object. +/// ++ (DBTEAMPOLICIESPaperDefaultFolderPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDeploymentPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDeploymentPolicy.h index 3249ffe3c..45f7b80fe 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDeploymentPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDeploymentPolicy.h @@ -28,16 +28,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESPaperDeploymentPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESPaperDeploymentPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperDeploymentPolicyTag) { - /// All team members have access to Paper. - DBTEAMPOLICIESPaperDeploymentPolicyFull, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPaperDeploymentPolicyTag){ + /// All team members have access to Paper. + DBTEAMPOLICIESPaperDeploymentPolicyFull, - /// Only whitelisted team members can access Paper. To see which user is - /// whitelisted, check 'is_paper_whitelisted' on 'account/info'. - DBTEAMPOLICIESPaperDeploymentPolicyPartial, + /// Only whitelisted team members can access Paper. To see which user is + /// whitelisted, check 'is_paper_whitelisted' on 'account/info'. + DBTEAMPOLICIESPaperDeploymentPolicyPartial, - /// (no description). - DBTEAMPOLICIESPaperDeploymentPolicyOther, + /// (no description). + DBTEAMPOLICIESPaperDeploymentPolicyOther, }; @@ -123,7 +123,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperDeploymentPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperDeploymentPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperDeploymentPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPaperDeploymentPolicy` instances. @@ -134,7 +134,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperDeploymentPolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESPaperDeploymentPolicy` /// object. /// -+ (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESPaperDeploymentPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDesktopPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDesktopPolicy.h new file mode 100644 index 000000000..687b1010b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperDesktopPolicy.h @@ -0,0 +1,139 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESPaperDesktopPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperDesktopPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESPaperDesktopPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESPaperDesktopPolicyTag` enum type represents the possible +/// tag states with which the `DBTEAMPOLICIESPaperDesktopPolicy` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPaperDesktopPolicyTag){ + /// Do not allow team members to use Paper Desktop. + DBTEAMPOLICIESPaperDesktopPolicyDisabled, + + /// Allow team members to use Paper Desktop. + DBTEAMPOLICIESPaperDesktopPolicyEnabled, + + /// (no description). + DBTEAMPOLICIESPaperDesktopPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESPaperDesktopPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Do not allow team members to use +/// Paper Desktop. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Allow team members to use Paper +/// Desktop. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESPaperDesktopPolicy` union. +/// +@interface DBTEAMPOLICIESPaperDesktopPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESPaperDesktopPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESPaperDesktopPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPaperDesktopPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperDesktopPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESPaperDesktopPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPaperDesktopPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESPaperDesktopPolicy` object. +/// ++ (DBTEAMPOLICIESPaperDesktopPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperEnabledPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperEnabledPolicy.h index 8ec44bb24..b1fc81a3e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperEnabledPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPaperEnabledPolicy.h @@ -28,18 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESPaperEnabledPolicyTag` enum type represents the possible /// tag states with which the `DBTEAMPOLICIESPaperEnabledPolicy` union can /// exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperEnabledPolicyTag) { - /// Paper is disabled. - DBTEAMPOLICIESPaperEnabledPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPaperEnabledPolicyTag){ + /// Paper is disabled. + DBTEAMPOLICIESPaperEnabledPolicyDisabled, - /// Paper is enabled. - DBTEAMPOLICIESPaperEnabledPolicyEnabled, + /// Paper is enabled. + DBTEAMPOLICIESPaperEnabledPolicyEnabled, - /// Unspecified policy. - DBTEAMPOLICIESPaperEnabledPolicyUnspecified, + /// Unspecified policy. + DBTEAMPOLICIESPaperEnabledPolicyUnspecified, - /// (no description). - DBTEAMPOLICIESPaperEnabledPolicyOther, + /// (no description). + DBTEAMPOLICIESPaperEnabledPolicyOther, }; @@ -139,7 +139,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperEnabledPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPaperEnabledPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperEnabledPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPaperEnabledPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPaperEnabledPolicy` instances. @@ -149,7 +149,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPaperEnabledPolicyTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESPaperEnabledPolicy` object. /// -+ (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESPaperEnabledPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordControlMode.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordControlMode.h new file mode 100644 index 000000000..744e54174 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordControlMode.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESPasswordControlMode; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PasswordControlMode` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESPasswordControlMode : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESPasswordControlModeTag` enum type represents the possible +/// tag states with which the `DBTEAMPOLICIESPasswordControlMode` union can +/// exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPasswordControlModeTag){ + /// Password is disabled. + DBTEAMPOLICIESPasswordControlModeDisabled, + + /// Password is enabled. + DBTEAMPOLICIESPasswordControlModeEnabled, + + /// (no description). + DBTEAMPOLICIESPasswordControlModeOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESPasswordControlModeTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Password is disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Password is enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESPasswordControlMode` union. +/// +@interface DBTEAMPOLICIESPasswordControlModeSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESPasswordControlMode` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESPasswordControlMode` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPasswordControlMode` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPasswordControlMode *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESPasswordControlMode` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESPasswordControlMode` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESPasswordControlMode` object. +/// ++ (DBTEAMPOLICIESPasswordControlMode *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordStrengthPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordStrengthPolicy.h index 4a1d2b9e2..93a1c2fdb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordStrengthPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESPasswordStrengthPolicy.h @@ -28,18 +28,18 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESPasswordStrengthPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESPasswordStrengthPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPasswordStrengthPolicyTag) { - /// User passwords will adhere to the minimal password strength policy. - DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESPasswordStrengthPolicyTag){ + /// User passwords will adhere to the minimal password strength policy. + DBTEAMPOLICIESPasswordStrengthPolicyMinimalRequirements, - /// User passwords will adhere to the moderate password strength policy. - DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword, + /// User passwords will adhere to the moderate password strength policy. + DBTEAMPOLICIESPasswordStrengthPolicyModeratePassword, - /// User passwords will adhere to the very strong password strength policy. - DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword, + /// User passwords will adhere to the very strong password strength policy. + DBTEAMPOLICIESPasswordStrengthPolicyStrongPassword, - /// (no description). - DBTEAMPOLICIESPasswordStrengthPolicyOther, + /// (no description). + DBTEAMPOLICIESPasswordStrengthPolicyOther, }; @@ -146,7 +146,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPasswordStrengthPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESPasswordStrengthPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPasswordStrengthPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESPasswordStrengthPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESPasswordStrengthPolicy` instances. @@ -157,7 +157,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESPasswordStrengthPolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESPasswordStrengthPolicy` /// object. /// -+ (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESPasswordStrengthPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESRolloutMethod.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESRolloutMethod.h index c55fb3627..c0b3bdde8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESRolloutMethod.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESRolloutMethod.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESRolloutMethodTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESRolloutMethod` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESRolloutMethodTag) { - /// Unlink all. - DBTEAMPOLICIESRolloutMethodUnlinkAll, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESRolloutMethodTag){ + /// Unlink all. + DBTEAMPOLICIESRolloutMethodUnlinkAll, - /// Unlink devices with the most inactivity. - DBTEAMPOLICIESRolloutMethodUnlinkMostInactive, + /// Unlink devices with the most inactivity. + DBTEAMPOLICIESRolloutMethodUnlinkMostInactive, - /// Add member to Exceptions. - DBTEAMPOLICIESRolloutMethodAddMemberToExceptions, + /// Add member to Exceptions. + DBTEAMPOLICIESRolloutMethodAddMemberToExceptions, }; @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESRolloutMethodTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESRolloutMethod` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESRolloutMethod *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESRolloutMethod *)instance; /// /// Deserializes `DBTEAMPOLICIESRolloutMethod` instances. @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESRolloutMethodTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESRolloutMethod` object. /// -+ (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESRolloutMethod *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h new file mode 100644 index 000000000..ae6b2f9ba --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h @@ -0,0 +1,147 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SharedFolderBlanketLinkRestrictionPolicy` union. +/// +/// Policy governing whether shared folder membership is required to access +/// shared links. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyTag` enum type +/// represents the possible tag states with which the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyTag){ + /// Only members of shared folders can access folder content via shared + /// link. + DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyMembers, + + /// Anyone can access folder content via shared link. + DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyAnyone, + + /// (no description). + DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "members". +/// +/// Description of the "members" tag state: Only members of shared folders can +/// access folder content via shared link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithMembers; + +/// +/// Initializes union class with tag state of "anyone". +/// +/// Description of the "anyone" tag state: Anyone can access folder content via +/// shared link. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAnyone; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "members". +/// +/// @return Whether the union's current tag state has value "members". +/// +- (BOOL)isMembers; + +/// +/// Retrieves whether the union's current tag state has value "anyone". +/// +/// @return Whether the union's current tag state has value "anyone". +/// +- (BOOL)isAnyone; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` union. +/// +@interface DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` +/// instances. +/// +/// @param instance An instance of the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` +/// instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` API object. +/// +/// @return An instantiation of the +/// `DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy` object. +/// ++ (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderJoinPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderJoinPolicy.h index 3f8014cfb..9f6f374f2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderJoinPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderJoinPolicy.h @@ -30,16 +30,16 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESSharedFolderJoinPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedFolderJoinPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderJoinPolicyTag) { - /// Team members can only join folders shared by teammates. - DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderJoinPolicyTag){ + /// Team members can only join folders shared by teammates. + DBTEAMPOLICIESSharedFolderJoinPolicyFromTeamOnly, - /// Team members can join any shared folder, including those shared by users - /// outside the team. - DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone, + /// Team members can join any shared folder, including those shared by users + /// outside the team. + DBTEAMPOLICIESSharedFolderJoinPolicyFromAnyone, - /// (no description). - DBTEAMPOLICIESSharedFolderJoinPolicyOther, + /// (no description). + DBTEAMPOLICIESSharedFolderJoinPolicyOther, }; @@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderJoinPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderJoinPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderJoinPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedFolderJoinPolicy` instances. @@ -137,7 +137,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderJoinPolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESSharedFolderJoinPolicy` /// object. /// -+ (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESSharedFolderJoinPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderMemberPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderMemberPolicy.h index 1811ccf8a..6a60e6949 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderMemberPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedFolderMemberPolicy.h @@ -30,15 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESSharedFolderMemberPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedFolderMemberPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderMemberPolicyTag) { - /// Only a teammate can be a member of a folder shared by a team member. - DBTEAMPOLICIESSharedFolderMemberPolicyTeam, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderMemberPolicyTag){ + /// Only a teammate can be a member of a folder shared by a team member. + DBTEAMPOLICIESSharedFolderMemberPolicyTeam, - /// Anyone can be a member of a folder shared by a team member. - DBTEAMPOLICIESSharedFolderMemberPolicyAnyone, + /// Anyone can be a member of a folder shared by a team member. + DBTEAMPOLICIESSharedFolderMemberPolicyAnyone, - /// (no description). - DBTEAMPOLICIESSharedFolderMemberPolicyOther, + /// (no description). + DBTEAMPOLICIESSharedFolderMemberPolicyOther, }; @@ -125,7 +125,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderMemberPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedFolderMemberPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderMemberPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedFolderMemberPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedFolderMemberPolicy` instances. @@ -136,7 +136,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedFolderMemberPolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESSharedFolderMemberPolicy` /// object. /// -+ (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESSharedFolderMemberPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedLinkCreatePolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedLinkCreatePolicy.h index 17fe8bdc9..0854353e1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedLinkCreatePolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSharedLinkCreatePolicy.h @@ -31,22 +31,26 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESSharedLinkCreatePolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESSharedLinkCreatePolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag) { - /// By default, anyone can access newly created shared links. No login will - /// be required to access the shared links unless overridden. - DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag){ + /// By default, anyone can access newly created shared links. No login will + /// be required to access the shared links unless overridden. + DBTEAMPOLICIESSharedLinkCreatePolicyDefaultPublic, - /// By default, only members of the same team can access newly created - /// shared links. Login will be required to access the shared links unless - /// overridden. - DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly, + /// By default, only members of the same team can access newly created + /// shared links. Login will be required to access the shared links unless + /// overridden. + DBTEAMPOLICIESSharedLinkCreatePolicyDefaultTeamOnly, - /// Only members of the same team can access all shared links. Login will be - /// required to access all shared links. - DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly, + /// Only members of the same team can access all shared links. Login will be + /// required to access all shared links. + DBTEAMPOLICIESSharedLinkCreatePolicyTeamOnly, - /// (no description). - DBTEAMPOLICIESSharedLinkCreatePolicyOther, + /// Only people invited can access newly created links. Login will be + /// required to access the shared links unless overridden. + DBTEAMPOLICIESSharedLinkCreatePolicyDefaultNoOne, + + /// (no description). + DBTEAMPOLICIESSharedLinkCreatePolicyOther, }; @@ -87,6 +91,17 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag) { /// - (instancetype)initWithTeamOnly; +/// +/// Initializes union class with tag state of "default_no_one". +/// +/// Description of the "default_no_one" tag state: Only people invited can +/// access newly created links. Login will be required to access the shared +/// links unless overridden. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDefaultNoOne; + /// /// Initializes union class with tag state of "other". /// @@ -120,6 +135,13 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag) { /// - (BOOL)isTeamOnly; +/// +/// Retrieves whether the union's current tag state has value "default_no_one". +/// +/// @return Whether the union's current tag state has value "default_no_one". +/// +- (BOOL)isDefaultNoOne; + /// /// Retrieves whether the union's current tag state has value "other". /// @@ -153,7 +175,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSharedLinkCreatePolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedLinkCreatePolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSharedLinkCreatePolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSharedLinkCreatePolicy` instances. @@ -164,7 +186,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSharedLinkCreatePolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESSharedLinkCreatePolicy` /// object. /// -+ (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESSharedLinkCreatePolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseDownloadPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseDownloadPolicy.h new file mode 100644 index 000000000..a11a61d85 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseDownloadPolicy.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESShowcaseDownloadPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseDownloadPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESShowcaseDownloadPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESShowcaseDownloadPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESShowcaseDownloadPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESShowcaseDownloadPolicyTag){ + /// Do not allow files to be downloaded from Showcases. + DBTEAMPOLICIESShowcaseDownloadPolicyDisabled, + + /// Allow files to be downloaded from Showcases. + DBTEAMPOLICIESShowcaseDownloadPolicyEnabled, + + /// (no description). + DBTEAMPOLICIESShowcaseDownloadPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESShowcaseDownloadPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Do not allow files to be downloaded +/// from Showcases. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Allow files to be downloaded from +/// Showcases. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESShowcaseDownloadPolicy` +/// union. +/// +@interface DBTEAMPOLICIESShowcaseDownloadPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESShowcaseDownloadPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESShowcaseDownloadPolicy` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseDownloadPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseDownloadPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESShowcaseDownloadPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseDownloadPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESShowcaseDownloadPolicy` +/// object. +/// ++ (DBTEAMPOLICIESShowcaseDownloadPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseEnabledPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseEnabledPolicy.h new file mode 100644 index 000000000..001a2f639 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseEnabledPolicy.h @@ -0,0 +1,138 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESShowcaseEnabledPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseEnabledPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESShowcaseEnabledPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESShowcaseEnabledPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESShowcaseEnabledPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESShowcaseEnabledPolicyTag){ + /// Showcase is disabled. + DBTEAMPOLICIESShowcaseEnabledPolicyDisabled, + + /// Showcase is enabled. + DBTEAMPOLICIESShowcaseEnabledPolicyEnabled, + + /// (no description). + DBTEAMPOLICIESShowcaseEnabledPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESShowcaseEnabledPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Showcase is disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Showcase is enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESShowcaseEnabledPolicy` union. +/// +@interface DBTEAMPOLICIESShowcaseEnabledPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESShowcaseEnabledPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESShowcaseEnabledPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseEnabledPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseEnabledPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESShowcaseEnabledPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseEnabledPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESShowcaseEnabledPolicy` +/// object. +/// ++ (DBTEAMPOLICIESShowcaseEnabledPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseExternalSharingPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseExternalSharingPolicy.h new file mode 100644 index 000000000..bbfe31dd1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESShowcaseExternalSharingPolicy.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESShowcaseExternalSharingPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `ShowcaseExternalSharingPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESShowcaseExternalSharingPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESShowcaseExternalSharingPolicyTag` enum type represents +/// the possible tag states with which the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESShowcaseExternalSharingPolicyTag){ + /// Do not allow showcases to be shared with people not on the team. + DBTEAMPOLICIESShowcaseExternalSharingPolicyDisabled, + + /// Allow showcases to be shared with people not on the team. + DBTEAMPOLICIESShowcaseExternalSharingPolicyEnabled, + + /// (no description). + DBTEAMPOLICIESShowcaseExternalSharingPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESShowcaseExternalSharingPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Do not allow showcases to be shared +/// with people not on the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Allow showcases to be shared with +/// people not on the team. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` union. +/// +@interface DBTEAMPOLICIESShowcaseExternalSharingPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESShowcaseExternalSharingPolicy` instances. +/// +/// @param instance An instance of the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESShowcaseExternalSharingPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESShowcaseExternalSharingPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` API object. +/// +/// @return An instantiation of the +/// `DBTEAMPOLICIESShowcaseExternalSharingPolicy` object. +/// ++ (DBTEAMPOLICIESShowcaseExternalSharingPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmartSyncPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmartSyncPolicy.h index bcf99a256..9658ff285 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmartSyncPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmartSyncPolicy.h @@ -27,15 +27,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESSmartSyncPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESSmartSyncPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSmartSyncPolicyTag) { - /// The specified content will be synced as local files by default. - DBTEAMPOLICIESSmartSyncPolicyLocal, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSmartSyncPolicyTag){ + /// The specified content will be synced as local files by default. + DBTEAMPOLICIESSmartSyncPolicyLocal, - /// The specified content will be synced as on-demand files by default. - DBTEAMPOLICIESSmartSyncPolicyOnDemand, + /// The specified content will be synced as on-demand files by default. + DBTEAMPOLICIESSmartSyncPolicyOnDemand, - /// (no description). - DBTEAMPOLICIESSmartSyncPolicyOther, + /// (no description). + DBTEAMPOLICIESSmartSyncPolicyOther, }; @@ -121,7 +121,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSmartSyncPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSmartSyncPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSmartSyncPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSmartSyncPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSmartSyncPolicy` instances. @@ -131,7 +131,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSmartSyncPolicyTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESSmartSyncPolicy` object. /// -+ (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESSmartSyncPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmarterSmartSyncPolicyState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmarterSmartSyncPolicyState.h new file mode 100644 index 000000000..8ab8cfe71 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSmarterSmartSyncPolicyState.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESSmarterSmartSyncPolicyState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SmarterSmartSyncPolicyState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESSmarterSmartSyncPolicyState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESSmarterSmartSyncPolicyStateTag` enum type represents the +/// possible tag states with which the +/// `DBTEAMPOLICIESSmarterSmartSyncPolicyState` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSmarterSmartSyncPolicyStateTag){ + /// Smarter Smart Sync feature is disabled. + DBTEAMPOLICIESSmarterSmartSyncPolicyStateDisabled, + + /// Smarter Smart Sync feature is enabled. + DBTEAMPOLICIESSmarterSmartSyncPolicyStateEnabled, + + /// (no description). + DBTEAMPOLICIESSmarterSmartSyncPolicyStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESSmarterSmartSyncPolicyStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Smarter Smart Sync feature is +/// disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Smarter Smart Sync feature is +/// enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESSmarterSmartSyncPolicyState` +/// union. +/// +@interface DBTEAMPOLICIESSmarterSmartSyncPolicyStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESSmarterSmartSyncPolicyState` instances. +/// +/// @param instance An instance of the +/// `DBTEAMPOLICIESSmarterSmartSyncPolicyState` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSmarterSmartSyncPolicyState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSmarterSmartSyncPolicyState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESSmarterSmartSyncPolicyState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSmarterSmartSyncPolicyState` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESSmarterSmartSyncPolicyState` +/// object. +/// ++ (DBTEAMPOLICIESSmarterSmartSyncPolicyState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSsoPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSsoPolicy.h index 0feebd77f..25259a8e5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSsoPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSsoPolicy.h @@ -27,19 +27,19 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESSsoPolicyTag` enum type represents the possible tag /// states with which the `DBTEAMPOLICIESSsoPolicy` union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSsoPolicyTag) { - /// Users will be able to sign in with their Dropbox credentials. - DBTEAMPOLICIESSsoPolicyDisabled, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSsoPolicyTag){ + /// Users will be able to sign in with their Dropbox credentials. + DBTEAMPOLICIESSsoPolicyDisabled, - /// Users will be able to sign in with either their Dropbox or single - /// sign-on credentials. - DBTEAMPOLICIESSsoPolicyOptional, + /// Users will be able to sign in with either their Dropbox or single + /// sign-on credentials. + DBTEAMPOLICIESSsoPolicyOptional, - /// Users will be required to sign in with their single sign-on credentials. - DBTEAMPOLICIESSsoPolicyRequired, + /// Users will be required to sign in with their single sign-on credentials. + DBTEAMPOLICIESSsoPolicyRequired, - /// (no description). - DBTEAMPOLICIESSsoPolicyOther, + /// (no description). + DBTEAMPOLICIESSsoPolicyOther, }; @@ -141,7 +141,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSsoPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESSsoPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSsoPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESSsoPolicy` instances. @@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESSsoPolicyTag) { /// /// @return An instantiation of the `DBTEAMPOLICIESSsoPolicy` object. /// -+ (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESSsoPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSuggestMembersPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSuggestMembersPolicy.h new file mode 100644 index 000000000..5e15e94fc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESSuggestMembersPolicy.h @@ -0,0 +1,137 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESSuggestMembersPolicy; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `SuggestMembersPolicy` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESSuggestMembersPolicy : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESSuggestMembersPolicyTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESSuggestMembersPolicy` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESSuggestMembersPolicyTag){ + /// Suggest members is disabled. + DBTEAMPOLICIESSuggestMembersPolicyDisabled, + + /// Suggest members is enabled. + DBTEAMPOLICIESSuggestMembersPolicyEnabled, + + /// (no description). + DBTEAMPOLICIESSuggestMembersPolicyOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESSuggestMembersPolicyTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Suggest members is disabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: Suggest members is enabled. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESSuggestMembersPolicy` union. +/// +@interface DBTEAMPOLICIESSuggestMembersPolicySerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESSuggestMembersPolicy` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESSuggestMembersPolicy` API +/// object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSuggestMembersPolicy` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESSuggestMembersPolicy *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESSuggestMembersPolicy` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESSuggestMembersPolicy` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESSuggestMembersPolicy` object. +/// ++ (DBTEAMPOLICIESSuggestMembersPolicy *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamMemberPolicies.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamMemberPolicies.h index 9099a7d62..9d2a70471 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamMemberPolicies.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamMemberPolicies.h @@ -10,6 +10,7 @@ @class DBTEAMPOLICIESEmmState; @class DBTEAMPOLICIESOfficeAddInPolicy; +@class DBTEAMPOLICIESSuggestMembersPolicy; @class DBTEAMPOLICIESTeamMemberPolicies; @class DBTEAMPOLICIESTeamSharingPolicies; @@ -43,6 +44,10 @@ NS_ASSUME_NONNULL_BEGIN /// The admin policy around the Dropbox Office Add-In for this team. @property (nonatomic, readonly) DBTEAMPOLICIESOfficeAddInPolicy *officeAddin; +/// The team policy on if teammembers are allowed to suggest users for admins to +/// invite to the team. +@property (nonatomic, readonly) DBTEAMPOLICIESSuggestMembersPolicy *suggestMembersPolicy; + #pragma mark - Constructors /// @@ -57,12 +62,15 @@ NS_ASSUME_NONNULL_BEGIN /// additional documentation. /// @param officeAddin The admin policy around the Dropbox Office Add-In for /// this team. +/// @param suggestMembersPolicy The team policy on if teammembers are allowed to +/// suggest users for admins to invite to the team. /// /// @return An initialized instance. /// - (instancetype)initWithSharing:(DBTEAMPOLICIESTeamSharingPolicies *)sharing emmState:(DBTEAMPOLICIESEmmState *)emmState - officeAddin:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddin; + officeAddin:(DBTEAMPOLICIESOfficeAddInPolicy *)officeAddin + suggestMembersPolicy:(DBTEAMPOLICIESSuggestMembersPolicy *)suggestMembersPolicy; - (instancetype)init NS_UNAVAILABLE; @@ -84,7 +92,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamMemberPolicies` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamMemberPolicies *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamMemberPolicies *)instance; /// /// Deserializes `DBTEAMPOLICIESTeamMemberPolicies` instances. @@ -94,7 +102,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMPOLICIESTeamMemberPolicies` object. /// -+ (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESTeamMemberPolicies *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamSharingPolicies.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamSharingPolicies.h index 62cbb1daa..0e7aa3ade 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamSharingPolicies.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTeamSharingPolicies.h @@ -8,6 +8,8 @@ #import "DBSerializableProtocol.h" +@class DBTEAMPOLICIESGroupCreation; +@class DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy; @class DBTEAMPOLICIESSharedFolderJoinPolicy; @class DBTEAMPOLICIESSharedFolderMemberPolicy; @class DBTEAMPOLICIESSharedLinkCreatePolicy; @@ -39,6 +41,13 @@ NS_ASSUME_NONNULL_BEGIN /// Who can view shared links owned by team members. @property (nonatomic, readonly) DBTEAMPOLICIESSharedLinkCreatePolicy *sharedLinkCreatePolicy; +/// Who can create groups. +@property (nonatomic, readonly) DBTEAMPOLICIESGroupCreation *groupCreationPolicy; + +/// Who can view links to content in shared folders. +@property (nonatomic, readonly) + DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *sharedFolderLinkRestrictionPolicy; + #pragma mark - Constructors /// @@ -48,12 +57,18 @@ NS_ASSUME_NONNULL_BEGIN /// @param sharedFolderJoinPolicy Which shared folders team members can join. /// @param sharedLinkCreatePolicy Who can view shared links owned by team /// members. +/// @param groupCreationPolicy Who can create groups. +/// @param sharedFolderLinkRestrictionPolicy Who can view links to content in +/// shared folders. /// /// @return An initialized instance. /// - (instancetype)initWithSharedFolderMemberPolicy:(DBTEAMPOLICIESSharedFolderMemberPolicy *)sharedFolderMemberPolicy sharedFolderJoinPolicy:(DBTEAMPOLICIESSharedFolderJoinPolicy *)sharedFolderJoinPolicy - sharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)sharedLinkCreatePolicy; + sharedLinkCreatePolicy:(DBTEAMPOLICIESSharedLinkCreatePolicy *)sharedLinkCreatePolicy + groupCreationPolicy:(DBTEAMPOLICIESGroupCreation *)groupCreationPolicy + sharedFolderLinkRestrictionPolicy: + (DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy *)sharedFolderLinkRestrictionPolicy; - (instancetype)init NS_UNAVAILABLE; @@ -75,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTeamSharingPolicies` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTeamSharingPolicies *)instance; /// /// Deserializes `DBTEAMPOLICIESTeamSharingPolicies` instances. @@ -85,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBTEAMPOLICIESTeamSharingPolicies` object. /// -+ (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESTeamSharingPolicies *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationPolicy.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationPolicy.h index b51baac37..648642065 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationPolicy.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationPolicy.h @@ -28,15 +28,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBTEAMPOLICIESTwoStepVerificationPolicyTag` enum type represents the /// possible tag states with which the `DBTEAMPOLICIESTwoStepVerificationPolicy` /// union can exist. -typedef NS_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationPolicyTag) { - /// Enabled require two factor authorization. - DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable, +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationPolicyTag){ + /// Enabled require two factor authorization. + DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaEnable, - /// Disabled require two factor authorization. - DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable, + /// Disabled require two factor authorization. + DBTEAMPOLICIESTwoStepVerificationPolicyRequireTfaDisable, - /// (no description). - DBTEAMPOLICIESTwoStepVerificationPolicyOther, + /// (no description). + DBTEAMPOLICIESTwoStepVerificationPolicyOther, }; @@ -127,7 +127,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationPolicyTag) { /// @return A json-compatible dictionary representation of the /// `DBTEAMPOLICIESTwoStepVerificationPolicy` API object. /// -+ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)instance; ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationPolicy *)instance; /// /// Deserializes `DBTEAMPOLICIESTwoStepVerificationPolicy` instances. @@ -138,7 +138,7 @@ typedef NS_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationPolicyTag) { /// @return An instantiation of the `DBTEAMPOLICIESTwoStepVerificationPolicy` /// object. /// -+ (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)dict; ++ (DBTEAMPOLICIESTwoStepVerificationPolicy *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationState.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationState.h new file mode 100644 index 000000000..11e16ea34 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamPolicies/Headers/DBTEAMPOLICIESTwoStepVerificationState.h @@ -0,0 +1,161 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBTEAMPOLICIESTwoStepVerificationState; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `TwoStepVerificationState` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBTEAMPOLICIESTwoStepVerificationState : NSObject + +#pragma mark - Instance fields + +/// The `DBTEAMPOLICIESTwoStepVerificationStateTag` enum type represents the +/// possible tag states with which the `DBTEAMPOLICIESTwoStepVerificationState` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBTEAMPOLICIESTwoStepVerificationStateTag){ + /// Enabled require two factor authorization. + DBTEAMPOLICIESTwoStepVerificationStateRequired, + + /// Optional require two factor authorization. + DBTEAMPOLICIESTwoStepVerificationStateOptional, + + /// Disabled require two factor authorization. + DBTEAMPOLICIESTwoStepVerificationStateDisabled, + + /// (no description). + DBTEAMPOLICIESTwoStepVerificationStateOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBTEAMPOLICIESTwoStepVerificationStateTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "required". +/// +/// Description of the "required" tag state: Enabled require two factor +/// authorization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithRequired; + +/// +/// Initializes union class with tag state of "optional". +/// +/// Description of the "optional" tag state: Optional require two factor +/// authorization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOptional; + +/// +/// Initializes union class with tag state of "disabled". +/// +/// Description of the "disabled" tag state: Disabled require two factor +/// authorization. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithDisabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "required". +/// +/// @return Whether the union's current tag state has value "required". +/// +- (BOOL)isRequired; + +/// +/// Retrieves whether the union's current tag state has value "optional". +/// +/// @return Whether the union's current tag state has value "optional". +/// +- (BOOL)isOptional; + +/// +/// Retrieves whether the union's current tag state has value "disabled". +/// +/// @return Whether the union's current tag state has value "disabled". +/// +- (BOOL)isDisabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBTEAMPOLICIESTwoStepVerificationState` +/// union. +/// +@interface DBTEAMPOLICIESTwoStepVerificationStateSerializer : NSObject + +/// +/// Serializes `DBTEAMPOLICIESTwoStepVerificationState` instances. +/// +/// @param instance An instance of the `DBTEAMPOLICIESTwoStepVerificationState` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESTwoStepVerificationState` API object. +/// ++ (nullable NSDictionary *)serialize:(DBTEAMPOLICIESTwoStepVerificationState *)instance; + +/// +/// Deserializes `DBTEAMPOLICIESTwoStepVerificationState` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBTEAMPOLICIESTwoStepVerificationState` API object. +/// +/// @return An instantiation of the `DBTEAMPOLICIESTwoStepVerificationState` +/// object. +/// ++ (DBTEAMPOLICIESTwoStepVerificationState *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m index f550957c4..d62741081 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/DBUsersObjects.m @@ -56,17 +56,17 @@ - (instancetype)initWithAccountId:(NSString *)accountId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSAccountSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSAccountSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSAccountSerializer serialize:self] description]; } @@ -141,7 +141,7 @@ - (BOOL)isEqualToAccount:(DBUSERSAccount *)anAccount { @implementation DBUSERSAccountSerializer -+ (NSDictionary *)serialize:(DBUSERSAccount *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; @@ -153,10 +153,10 @@ + (NSDictionary *)serialize:(DBUSERSAccount *)valueObj { jsonDict[@"profile_photo_url"] = valueObj.profilePhotoUrl; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSAccount *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; @@ -232,17 +232,17 @@ - (instancetype)initWithAccountId:(NSString *)accountId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSBasicAccountSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSBasicAccountSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSBasicAccountSerializer serialize:self] description]; } @@ -329,7 +329,7 @@ - (BOOL)isEqualToBasicAccount:(DBUSERSBasicAccount *)aBasicAccount { @implementation DBUSERSBasicAccountSerializer -+ (NSDictionary *)serialize:(DBUSERSBasicAccount *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSBasicAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; @@ -345,10 +345,10 @@ + (NSDictionary *)serialize:(DBUSERSBasicAccount *)valueObj { jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSBasicAccount *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSBasicAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; @@ -370,6 +370,172 @@ + (DBUSERSBasicAccount *)deserialize:(NSDictionary *)valueDict { @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSFileLockingValue.h" + +#pragma mark - API Object + +@implementation DBUSERSFileLockingValue + +@synthesize enabled = _enabled; + +#pragma mark - Constructors + +- (instancetype)initWithEnabled:(NSNumber *)enabled { + self = [super init]; + if (self) { + _tag = DBUSERSFileLockingValueEnabled; + _enabled = enabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBUSERSFileLockingValueOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSNumber *)enabled { + if (![self isEnabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBUSERSFileLockingValueEnabled, but was %@.", [self tagName]]; + } + return _enabled; +} + +#pragma mark - Tag state methods + +- (BOOL)isEnabled { + return _tag == DBUSERSFileLockingValueEnabled; +} + +- (BOOL)isOther { + return _tag == DBUSERSFileLockingValueOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBUSERSFileLockingValueEnabled: + return @"DBUSERSFileLockingValueEnabled"; + case DBUSERSFileLockingValueOther: + return @"DBUSERSFileLockingValueOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSFileLockingValueSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSFileLockingValueSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSFileLockingValueSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBUSERSFileLockingValueEnabled: + result = prime * result + [self.enabled hash]; + break; + case DBUSERSFileLockingValueOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToFileLockingValue:other]; +} + +- (BOOL)isEqualToFileLockingValue:(DBUSERSFileLockingValue *)aFileLockingValue { + if (self == aFileLockingValue) { + return YES; + } + if (self.tag != aFileLockingValue.tag) { + return NO; + } + switch (_tag) { + case DBUSERSFileLockingValueEnabled: + return [self.enabled isEqual:aFileLockingValue.enabled]; + case DBUSERSFileLockingValueOther: + return [[self tagName] isEqual:[aFileLockingValue tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSFileLockingValueSerializer + ++ (NSDictionary *)serialize:(DBUSERSFileLockingValue *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEnabled]) { + jsonDict[@"enabled"] = valueObj.enabled; + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBUSERSFileLockingValue *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"enabled"]) { + NSNumber *enabled = valueDict[@"enabled"]; + return [[DBUSERSFileLockingValue alloc] initWithEnabled:enabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBUSERSFileLockingValue alloc] initWithOther]; + } else { + return [[DBUSERSFileLockingValue alloc] initWithOther]; + } +} + +@end + #import "DBCOMMONRootInfo.h" #import "DBStoneSerializers.h" #import "DBStoneValidators.h" @@ -458,17 +624,17 @@ - (instancetype)initWithAccountId:(NSString *)accountId #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSFullAccountSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSFullAccountSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSFullAccountSerializer serialize:self] description]; } @@ -587,7 +753,7 @@ - (BOOL)isEqualToFullAccount:(DBUSERSFullAccount *)aFullAccount { @implementation DBUSERSFullAccountSerializer -+ (NSDictionary *)serialize:(DBUSERSFullAccount *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSFullAccount *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; @@ -613,10 +779,10 @@ + (NSDictionary *)serialize:(DBUSERSFullAccount *)valueObj { jsonDict[@"team_member_id"] = valueObj.teamMemberId; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSFullAccount *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSFullAccount *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; DBUSERSName *name = [DBUSERSNameSerializer deserialize:valueDict[@"name"]]; NSString *email = valueDict[@"email"]; @@ -674,17 +840,17 @@ - (instancetype)initWithId_:(NSString *)id_ name:(NSString *)name { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSTeamSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSTeamSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSTeamSerializer serialize:self] description]; } @@ -739,16 +905,16 @@ - (BOOL)isEqualToTeam:(DBUSERSTeam *)aTeam { @implementation DBUSERSTeamSerializer -+ (NSDictionary *)serialize:(DBUSERSTeam *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSTeam *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; jsonDict[@"name"] = valueObj.name; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSTeam *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSTeam *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; @@ -789,17 +955,17 @@ - (instancetype)initWithId_:(NSString *)id_ #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSFullTeamSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSFullTeamSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSFullTeamSerializer serialize:self] description]; } @@ -862,7 +1028,7 @@ - (BOOL)isEqualToFullTeam:(DBUSERSFullTeam *)aFullTeam { @implementation DBUSERSFullTeamSerializer -+ (NSDictionary *)serialize:(DBUSERSFullTeam *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSFullTeam *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"id"] = valueObj.id_; @@ -870,10 +1036,10 @@ + (NSDictionary *)serialize:(DBUSERSFullTeam *)valueObj { jsonDict[@"sharing_policies"] = [DBTEAMPOLICIESTeamSharingPoliciesSerializer serialize:valueObj.sharingPolicies]; jsonDict[@"office_addin_policy"] = [DBTEAMPOLICIESOfficeAddInPolicySerializer serialize:valueObj.officeAddinPolicy]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSFullTeam *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSFullTeam *)deserialize:(NSDictionary *)valueDict { NSString *id_ = valueDict[@"id"]; NSString *name = valueDict[@"name"]; DBTEAMPOLICIESTeamSharingPolicies *sharingPolicies = @@ -911,17 +1077,17 @@ - (instancetype)initWithAccountId:(NSString *)accountId { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSGetAccountArgSerializer serialize:self] description]; } @@ -972,15 +1138,15 @@ - (BOOL)isEqualToGetAccountArg:(DBUSERSGetAccountArg *)aGetAccountArg { @implementation DBUSERSGetAccountArgSerializer -+ (NSDictionary *)serialize:(DBUSERSGetAccountArg *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSGetAccountArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_id"] = valueObj.accountId; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)valueDict { NSString *accountId = valueDict[@"account_id"]; return [[DBUSERSGetAccountArg alloc] initWithAccountId:accountId]; @@ -1017,17 +1183,17 @@ - (instancetype)initWithAccountIds:(NSArray *)accountIds { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountBatchArgSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountBatchArgSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSGetAccountBatchArgSerializer serialize:self] description]; } @@ -1078,7 +1244,7 @@ - (BOOL)isEqualToGetAccountBatchArg:(DBUSERSGetAccountBatchArg *)aGetAccountBatc @implementation DBUSERSGetAccountBatchArgSerializer -+ (NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"account_ids"] = [DBArraySerializer serialize:valueObj.accountIds @@ -1086,10 +1252,10 @@ + (NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)valueObj { return elem0; }]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)valueDict { NSArray *accountIds = [DBArraySerializer deserialize:valueDict[@"account_ids"] withBlock:^id(id elem0) { return elem0; @@ -1162,17 +1328,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountBatchErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountBatchErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSGetAccountBatchErrorSerializer serialize:self] description]; } @@ -1193,8 +1359,10 @@ - (NSUInteger)hash { switch (_tag) { case DBUSERSGetAccountBatchErrorNoAccount: result = prime * result + [self.noAccount hash]; + break; case DBUSERSGetAccountBatchErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1234,7 +1402,7 @@ - (BOOL)isEqualToGetAccountBatchError:(DBUSERSGetAccountBatchError *)aGetAccount @implementation DBUSERSGetAccountBatchErrorSerializer -+ (NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoAccount]) { @@ -1246,10 +1414,10 @@ + (NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_account"]) { @@ -1315,17 +1483,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSGetAccountErrorSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSGetAccountErrorSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSGetAccountErrorSerializer serialize:self] description]; } @@ -1346,8 +1514,10 @@ - (NSUInteger)hash { switch (_tag) { case DBUSERSGetAccountErrorNoAccount: result = prime * result + [[self tagName] hash]; + break; case DBUSERSGetAccountErrorOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1387,7 +1557,7 @@ - (BOOL)isEqualToGetAccountError:(DBUSERSGetAccountError *)aGetAccountError { @implementation DBUSERSGetAccountErrorSerializer -+ (NSDictionary *)serialize:(DBUSERSGetAccountError *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSGetAccountError *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isNoAccount]) { @@ -1398,10 +1568,10 @@ + (NSDictionary *)serialize:(DBUSERSGetAccountError *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSGetAccountError *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSGetAccountError *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"no_account"]) { @@ -1437,17 +1607,17 @@ - (instancetype)initWithAllocated:(NSNumber *)allocated { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSIndividualSpaceAllocationSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSIndividualSpaceAllocationSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSIndividualSpaceAllocationSerializer serialize:self] description]; } @@ -1498,15 +1668,15 @@ - (BOOL)isEqualToIndividualSpaceAllocation:(DBUSERSIndividualSpaceAllocation *)a @implementation DBUSERSIndividualSpaceAllocationSerializer -+ (NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"allocated"] = valueObj.allocated; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)valueDict { NSNumber *allocated = valueDict[@"allocated"]; return [[DBUSERSIndividualSpaceAllocation alloc] initWithAllocated:allocated]; @@ -1548,17 +1718,17 @@ - (instancetype)initWithGivenName:(NSString *)givenName #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSNameSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSNameSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSNameSerializer serialize:self] description]; } @@ -1625,7 +1795,7 @@ - (BOOL)isEqualToName:(DBUSERSName *)aName { @implementation DBUSERSNameSerializer -+ (NSDictionary *)serialize:(DBUSERSName *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSName *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"given_name"] = valueObj.givenName; @@ -1634,10 +1804,10 @@ + (NSDictionary *)serialize:(DBUSERSName *)valueObj { jsonDict[@"display_name"] = valueObj.displayName; jsonDict[@"abbreviated_name"] = valueObj.abbreviatedName; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSName *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSName *)deserialize:(NSDictionary *)valueDict { NSString *givenName = valueDict[@"given_name"]; NSString *surname = valueDict[@"surname"]; NSString *familiarName = valueDict[@"familiar_name"]; @@ -1653,6 +1823,172 @@ + (DBUSERSName *)deserialize:(NSDictionary *)valueDict { @end +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSPaperAsFilesValue.h" + +#pragma mark - API Object + +@implementation DBUSERSPaperAsFilesValue + +@synthesize enabled = _enabled; + +#pragma mark - Constructors + +- (instancetype)initWithEnabled:(NSNumber *)enabled { + self = [super init]; + if (self) { + _tag = DBUSERSPaperAsFilesValueEnabled; + _enabled = enabled; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBUSERSPaperAsFilesValueOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (NSNumber *)enabled { + if (![self isEnabled]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBUSERSPaperAsFilesValueEnabled, but was %@.", [self tagName]]; + } + return _enabled; +} + +#pragma mark - Tag state methods + +- (BOOL)isEnabled { + return _tag == DBUSERSPaperAsFilesValueEnabled; +} + +- (BOOL)isOther { + return _tag == DBUSERSPaperAsFilesValueOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBUSERSPaperAsFilesValueEnabled: + return @"DBUSERSPaperAsFilesValueEnabled"; + case DBUSERSPaperAsFilesValueOther: + return @"DBUSERSPaperAsFilesValueOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSPaperAsFilesValueSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSPaperAsFilesValueSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSPaperAsFilesValueSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBUSERSPaperAsFilesValueEnabled: + result = prime * result + [self.enabled hash]; + break; + case DBUSERSPaperAsFilesValueOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToPaperAsFilesValue:other]; +} + +- (BOOL)isEqualToPaperAsFilesValue:(DBUSERSPaperAsFilesValue *)aPaperAsFilesValue { + if (self == aPaperAsFilesValue) { + return YES; + } + if (self.tag != aPaperAsFilesValue.tag) { + return NO; + } + switch (_tag) { + case DBUSERSPaperAsFilesValueEnabled: + return [self.enabled isEqual:aPaperAsFilesValue.enabled]; + case DBUSERSPaperAsFilesValueOther: + return [[self tagName] isEqual:[aPaperAsFilesValue tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSPaperAsFilesValueSerializer + ++ (NSDictionary *)serialize:(DBUSERSPaperAsFilesValue *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEnabled]) { + jsonDict[@"enabled"] = valueObj.enabled; + jsonDict[@".tag"] = @"enabled"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBUSERSPaperAsFilesValue *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"enabled"]) { + NSNumber *enabled = valueDict[@"enabled"]; + return [[DBUSERSPaperAsFilesValue alloc] initWithEnabled:enabled]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBUSERSPaperAsFilesValue alloc] initWithOther]; + } else { + return [[DBUSERSPaperAsFilesValue alloc] initWithOther]; + } +} + +@end + #import "DBStoneSerializers.h" #import "DBStoneValidators.h" #import "DBUSERSIndividualSpaceAllocation.h" @@ -1741,17 +2077,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSSpaceAllocationSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSSpaceAllocationSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSSpaceAllocationSerializer serialize:self] description]; } @@ -1772,10 +2108,13 @@ - (NSUInteger)hash { switch (_tag) { case DBUSERSSpaceAllocationIndividual: result = prime * result + [self.individual hash]; + break; case DBUSERSSpaceAllocationTeam: result = prime * result + [self.team hash]; + break; case DBUSERSSpaceAllocationOther: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -1817,14 +2156,14 @@ - (BOOL)isEqualToSpaceAllocation:(DBUSERSSpaceAllocation *)aSpaceAllocation { @implementation DBUSERSSpaceAllocationSerializer -+ (NSDictionary *)serialize:(DBUSERSSpaceAllocation *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSSpaceAllocation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isIndividual]) { - jsonDict[@"individual"] = [[DBUSERSIndividualSpaceAllocationSerializer serialize:valueObj.individual] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBUSERSIndividualSpaceAllocationSerializer serialize:valueObj.individual]]; jsonDict[@".tag"] = @"individual"; } else if ([valueObj isTeam]) { - jsonDict[@"team"] = [[DBUSERSTeamSpaceAllocationSerializer serialize:valueObj.team] mutableCopy]; + [jsonDict addEntriesFromDictionary:[DBUSERSTeamSpaceAllocationSerializer serialize:valueObj.team]]; jsonDict[@".tag"] = @"team"; } else if ([valueObj isOther]) { jsonDict[@".tag"] = @"other"; @@ -1832,10 +2171,10 @@ + (NSDictionary *)serialize:(DBUSERSSpaceAllocation *)valueObj { jsonDict[@".tag"] = @"other"; } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"individual"]) { @@ -1878,17 +2217,17 @@ - (instancetype)initWithUsed:(NSNumber *)used allocation:(DBUSERSSpaceAllocation #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSSpaceUsageSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSSpaceUsageSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSSpaceUsageSerializer serialize:self] description]; } @@ -1943,16 +2282,16 @@ - (BOOL)isEqualToSpaceUsage:(DBUSERSSpaceUsage *)aSpaceUsage { @implementation DBUSERSSpaceUsageSerializer -+ (NSDictionary *)serialize:(DBUSERSSpaceUsage *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSSpaceUsage *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"used"] = valueObj.used; jsonDict[@"allocation"] = [DBUSERSSpaceAllocationSerializer serialize:valueObj.allocation]; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)valueDict { NSNumber *used = valueDict[@"used"]; DBUSERSSpaceAllocation *allocation = [DBUSERSSpaceAllocationSerializer deserialize:valueDict[@"allocation"]]; @@ -1963,6 +2302,7 @@ + (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)valueDict { #import "DBStoneSerializers.h" #import "DBStoneValidators.h" +#import "DBTEAMCOMMONMemberSpaceLimitType.h" #import "DBUSERSTeamSpaceAllocation.h" #pragma mark - API Object @@ -1971,31 +2311,41 @@ @implementation DBUSERSTeamSpaceAllocation #pragma mark - Constructors -- (instancetype)initWithUsed:(NSNumber *)used allocated:(NSNumber *)allocated { +- (instancetype)initWithUsed:(NSNumber *)used + allocated:(NSNumber *)allocated + userWithinTeamSpaceAllocated:(NSNumber *)userWithinTeamSpaceAllocated + userWithinTeamSpaceLimitType:(DBTEAMCOMMONMemberSpaceLimitType *)userWithinTeamSpaceLimitType + userWithinTeamSpaceUsedCached:(NSNumber *)userWithinTeamSpaceUsedCached { [DBStoneValidators nonnullValidator:nil](used); [DBStoneValidators nonnullValidator:nil](allocated); + [DBStoneValidators nonnullValidator:nil](userWithinTeamSpaceAllocated); + [DBStoneValidators nonnullValidator:nil](userWithinTeamSpaceLimitType); + [DBStoneValidators nonnullValidator:nil](userWithinTeamSpaceUsedCached); self = [super init]; if (self) { _used = used; _allocated = allocated; + _userWithinTeamSpaceAllocated = userWithinTeamSpaceAllocated; + _userWithinTeamSpaceLimitType = userWithinTeamSpaceLimitType; + _userWithinTeamSpaceUsedCached = userWithinTeamSpaceUsedCached; } return self; } #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSTeamSpaceAllocationSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSTeamSpaceAllocationSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSTeamSpaceAllocationSerializer serialize:self] description]; } @@ -2015,6 +2365,9 @@ - (NSUInteger)hash { result = prime * result + [self.used hash]; result = prime * result + [self.allocated hash]; + result = prime * result + [self.userWithinTeamSpaceAllocated hash]; + result = prime * result + [self.userWithinTeamSpaceLimitType hash]; + result = prime * result + [self.userWithinTeamSpaceUsedCached hash]; return prime * result; } @@ -2041,6 +2394,15 @@ - (BOOL)isEqualToTeamSpaceAllocation:(DBUSERSTeamSpaceAllocation *)aTeamSpaceAll if (![self.allocated isEqual:aTeamSpaceAllocation.allocated]) { return NO; } + if (![self.userWithinTeamSpaceAllocated isEqual:aTeamSpaceAllocation.userWithinTeamSpaceAllocated]) { + return NO; + } + if (![self.userWithinTeamSpaceLimitType isEqual:aTeamSpaceAllocation.userWithinTeamSpaceLimitType]) { + return NO; + } + if (![self.userWithinTeamSpaceUsedCached isEqual:aTeamSpaceAllocation.userWithinTeamSpaceUsedCached]) { + return NO; + } return YES; } @@ -2050,20 +2412,787 @@ - (BOOL)isEqualToTeamSpaceAllocation:(DBUSERSTeamSpaceAllocation *)aTeamSpaceAll @implementation DBUSERSTeamSpaceAllocationSerializer -+ (NSDictionary *)serialize:(DBUSERSTeamSpaceAllocation *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSTeamSpaceAllocation *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; jsonDict[@"used"] = valueObj.used; jsonDict[@"allocated"] = valueObj.allocated; + jsonDict[@"user_within_team_space_allocated"] = valueObj.userWithinTeamSpaceAllocated; + jsonDict[@"user_within_team_space_limit_type"] = + [DBTEAMCOMMONMemberSpaceLimitTypeSerializer serialize:valueObj.userWithinTeamSpaceLimitType]; + jsonDict[@"user_within_team_space_used_cached"] = valueObj.userWithinTeamSpaceUsedCached; - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)valueDict { NSNumber *used = valueDict[@"used"]; NSNumber *allocated = valueDict[@"allocated"]; + NSNumber *userWithinTeamSpaceAllocated = valueDict[@"user_within_team_space_allocated"]; + DBTEAMCOMMONMemberSpaceLimitType *userWithinTeamSpaceLimitType = + [DBTEAMCOMMONMemberSpaceLimitTypeSerializer deserialize:valueDict[@"user_within_team_space_limit_type"]]; + NSNumber *userWithinTeamSpaceUsedCached = valueDict[@"user_within_team_space_used_cached"]; + + return [[DBUSERSTeamSpaceAllocation alloc] initWithUsed:used + allocated:allocated + userWithinTeamSpaceAllocated:userWithinTeamSpaceAllocated + userWithinTeamSpaceLimitType:userWithinTeamSpaceLimitType + userWithinTeamSpaceUsedCached:userWithinTeamSpaceUsedCached]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSUserFeature.h" + +#pragma mark - API Object + +@implementation DBUSERSUserFeature + +#pragma mark - Constructors + +- (instancetype)initWithPaperAsFiles { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeaturePaperAsFiles; + } + return self; +} + +- (instancetype)initWithFileLocking { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeatureFileLocking; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeatureOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isPaperAsFiles { + return _tag == DBUSERSUserFeaturePaperAsFiles; +} + +- (BOOL)isFileLocking { + return _tag == DBUSERSUserFeatureFileLocking; +} + +- (BOOL)isOther { + return _tag == DBUSERSUserFeatureOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBUSERSUserFeaturePaperAsFiles: + return @"DBUSERSUserFeaturePaperAsFiles"; + case DBUSERSUserFeatureFileLocking: + return @"DBUSERSUserFeatureFileLocking"; + case DBUSERSUserFeatureOther: + return @"DBUSERSUserFeatureOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSUserFeatureSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSUserFeatureSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSUserFeatureSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBUSERSUserFeaturePaperAsFiles: + result = prime * result + [[self tagName] hash]; + break; + case DBUSERSUserFeatureFileLocking: + result = prime * result + [[self tagName] hash]; + break; + case DBUSERSUserFeatureOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserFeature:other]; +} + +- (BOOL)isEqualToUserFeature:(DBUSERSUserFeature *)anUserFeature { + if (self == anUserFeature) { + return YES; + } + if (self.tag != anUserFeature.tag) { + return NO; + } + switch (_tag) { + case DBUSERSUserFeaturePaperAsFiles: + return [[self tagName] isEqual:[anUserFeature tagName]]; + case DBUSERSUserFeatureFileLocking: + return [[self tagName] isEqual:[anUserFeature tagName]]; + case DBUSERSUserFeatureOther: + return [[self tagName] isEqual:[anUserFeature tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSUserFeatureSerializer + ++ (NSDictionary *)serialize:(DBUSERSUserFeature *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPaperAsFiles]) { + jsonDict[@".tag"] = @"paper_as_files"; + } else if ([valueObj isFileLocking]) { + jsonDict[@".tag"] = @"file_locking"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBUSERSUserFeature *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"paper_as_files"]) { + return [[DBUSERSUserFeature alloc] initWithPaperAsFiles]; + } else if ([tag isEqualToString:@"file_locking"]) { + return [[DBUSERSUserFeature alloc] initWithFileLocking]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBUSERSUserFeature alloc] initWithOther]; + } else { + return [[DBUSERSUserFeature alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSFileLockingValue.h" +#import "DBUSERSPaperAsFilesValue.h" +#import "DBUSERSUserFeatureValue.h" + +#pragma mark - API Object + +@implementation DBUSERSUserFeatureValue + +@synthesize paperAsFiles = _paperAsFiles; +@synthesize fileLocking = _fileLocking; + +#pragma mark - Constructors + +- (instancetype)initWithPaperAsFiles:(DBUSERSPaperAsFilesValue *)paperAsFiles { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeatureValuePaperAsFiles; + _paperAsFiles = paperAsFiles; + } + return self; +} + +- (instancetype)initWithFileLocking:(DBUSERSFileLockingValue *)fileLocking { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeatureValueFileLocking; + _fileLocking = fileLocking; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeatureValueOther; + } + return self; +} + +#pragma mark - Instance field accessors + +- (DBUSERSPaperAsFilesValue *)paperAsFiles { + if (![self isPaperAsFiles]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBUSERSUserFeatureValuePaperAsFiles, but was %@.", [self tagName]]; + } + return _paperAsFiles; +} + +- (DBUSERSFileLockingValue *)fileLocking { + if (![self isFileLocking]) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required DBUSERSUserFeatureValueFileLocking, but was %@.", [self tagName]]; + } + return _fileLocking; +} + +#pragma mark - Tag state methods + +- (BOOL)isPaperAsFiles { + return _tag == DBUSERSUserFeatureValuePaperAsFiles; +} + +- (BOOL)isFileLocking { + return _tag == DBUSERSUserFeatureValueFileLocking; +} + +- (BOOL)isOther { + return _tag == DBUSERSUserFeatureValueOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBUSERSUserFeatureValuePaperAsFiles: + return @"DBUSERSUserFeatureValuePaperAsFiles"; + case DBUSERSUserFeatureValueFileLocking: + return @"DBUSERSUserFeatureValueFileLocking"; + case DBUSERSUserFeatureValueOther: + return @"DBUSERSUserFeatureValueOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSUserFeatureValueSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSUserFeatureValueSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSUserFeatureValueSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBUSERSUserFeatureValuePaperAsFiles: + result = prime * result + [self.paperAsFiles hash]; + break; + case DBUSERSUserFeatureValueFileLocking: + result = prime * result + [self.fileLocking hash]; + break; + case DBUSERSUserFeatureValueOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserFeatureValue:other]; +} + +- (BOOL)isEqualToUserFeatureValue:(DBUSERSUserFeatureValue *)anUserFeatureValue { + if (self == anUserFeatureValue) { + return YES; + } + if (self.tag != anUserFeatureValue.tag) { + return NO; + } + switch (_tag) { + case DBUSERSUserFeatureValuePaperAsFiles: + return [self.paperAsFiles isEqual:anUserFeatureValue.paperAsFiles]; + case DBUSERSUserFeatureValueFileLocking: + return [self.fileLocking isEqual:anUserFeatureValue.fileLocking]; + case DBUSERSUserFeatureValueOther: + return [[self tagName] isEqual:[anUserFeatureValue tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSUserFeatureValueSerializer + ++ (NSDictionary *)serialize:(DBUSERSUserFeatureValue *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isPaperAsFiles]) { + jsonDict[@"paper_as_files"] = [[DBUSERSPaperAsFilesValueSerializer serialize:valueObj.paperAsFiles] mutableCopy]; + jsonDict[@".tag"] = @"paper_as_files"; + } else if ([valueObj isFileLocking]) { + jsonDict[@"file_locking"] = [[DBUSERSFileLockingValueSerializer serialize:valueObj.fileLocking] mutableCopy]; + jsonDict[@".tag"] = @"file_locking"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBUSERSUserFeatureValue *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"paper_as_files"]) { + DBUSERSPaperAsFilesValue *paperAsFiles = + [DBUSERSPaperAsFilesValueSerializer deserialize:valueDict[@"paper_as_files"]]; + return [[DBUSERSUserFeatureValue alloc] initWithPaperAsFiles:paperAsFiles]; + } else if ([tag isEqualToString:@"file_locking"]) { + DBUSERSFileLockingValue *fileLocking = [DBUSERSFileLockingValueSerializer deserialize:valueDict[@"file_locking"]]; + return [[DBUSERSUserFeatureValue alloc] initWithFileLocking:fileLocking]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBUSERSUserFeatureValue alloc] initWithOther]; + } else { + return [[DBUSERSUserFeatureValue alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSUserFeature.h" +#import "DBUSERSUserFeaturesGetValuesBatchArg.h" + +#pragma mark - API Object + +@implementation DBUSERSUserFeaturesGetValuesBatchArg + +#pragma mark - Constructors + +- (instancetype)initWithFeatures:(NSArray *)features { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](features); + + self = [super init]; + if (self) { + _features = features; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSUserFeaturesGetValuesBatchArgSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSUserFeaturesGetValuesBatchArgSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSUserFeaturesGetValuesBatchArgSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.features hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserFeaturesGetValuesBatchArg:other]; +} + +- (BOOL)isEqualToUserFeaturesGetValuesBatchArg:(DBUSERSUserFeaturesGetValuesBatchArg *)anUserFeaturesGetValuesBatchArg { + if (self == anUserFeaturesGetValuesBatchArg) { + return YES; + } + if (![self.features isEqual:anUserFeaturesGetValuesBatchArg.features]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSUserFeaturesGetValuesBatchArgSerializer + ++ (NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchArg *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"features"] = [DBArraySerializer serialize:valueObj.features + withBlock:^id(id elem0) { + return [DBUSERSUserFeatureSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBUSERSUserFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)valueDict { + NSArray *features = + [DBArraySerializer deserialize:valueDict[@"features"] + withBlock:^id(id elem0) { + return [DBUSERSUserFeatureSerializer deserialize:elem0]; + }]; + + return [[DBUSERSUserFeaturesGetValuesBatchArg alloc] initWithFeatures:features]; +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSUserFeaturesGetValuesBatchError.h" + +#pragma mark - API Object + +@implementation DBUSERSUserFeaturesGetValuesBatchError + +#pragma mark - Constructors + +- (instancetype)initWithEmptyFeaturesList { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList; + } + return self; +} + +- (instancetype)initWithOther { + self = [super init]; + if (self) { + _tag = DBUSERSUserFeaturesGetValuesBatchErrorOther; + } + return self; +} + +#pragma mark - Instance field accessors + +#pragma mark - Tag state methods + +- (BOOL)isEmptyFeaturesList { + return _tag == DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList; +} + +- (BOOL)isOther { + return _tag == DBUSERSUserFeaturesGetValuesBatchErrorOther; +} + +- (NSString *)tagName { + switch (_tag) { + case DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList: + return @"DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList"; + case DBUSERSUserFeaturesGetValuesBatchErrorOther: + return @"DBUSERSUserFeaturesGetValuesBatchErrorOther"; + } + + @throw([NSException exceptionWithName:@"InvalidTag" reason:@"Tag has an unknown value." userInfo:nil]); +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSUserFeaturesGetValuesBatchErrorSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSUserFeaturesGetValuesBatchErrorSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSUserFeaturesGetValuesBatchErrorSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + switch (_tag) { + case DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList: + result = prime * result + [[self tagName] hash]; + break; + case DBUSERSUserFeaturesGetValuesBatchErrorOther: + result = prime * result + [[self tagName] hash]; + break; + } + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserFeaturesGetValuesBatchError:other]; +} + +- (BOOL)isEqualToUserFeaturesGetValuesBatchError: + (DBUSERSUserFeaturesGetValuesBatchError *)anUserFeaturesGetValuesBatchError { + if (self == anUserFeaturesGetValuesBatchError) { + return YES; + } + if (self.tag != anUserFeaturesGetValuesBatchError.tag) { + return NO; + } + switch (_tag) { + case DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList: + return [[self tagName] isEqual:[anUserFeaturesGetValuesBatchError tagName]]; + case DBUSERSUserFeaturesGetValuesBatchErrorOther: + return [[self tagName] isEqual:[anUserFeaturesGetValuesBatchError tagName]]; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSUserFeaturesGetValuesBatchErrorSerializer + ++ (NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchError *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + if ([valueObj isEmptyFeaturesList]) { + jsonDict[@".tag"] = @"empty_features_list"; + } else if ([valueObj isOther]) { + jsonDict[@".tag"] = @"other"; + } else { + jsonDict[@".tag"] = @"other"; + } + + return jsonDict; +} + ++ (DBUSERSUserFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)valueDict { + NSString *tag = valueDict[@".tag"]; + + if ([tag isEqualToString:@"empty_features_list"]) { + return [[DBUSERSUserFeaturesGetValuesBatchError alloc] initWithEmptyFeaturesList]; + } else if ([tag isEqualToString:@"other"]) { + return [[DBUSERSUserFeaturesGetValuesBatchError alloc] initWithOther]; + } else { + return [[DBUSERSUserFeaturesGetValuesBatchError alloc] initWithOther]; + } +} + +@end + +#import "DBStoneSerializers.h" +#import "DBStoneValidators.h" +#import "DBUSERSUserFeatureValue.h" +#import "DBUSERSUserFeaturesGetValuesBatchResult.h" + +#pragma mark - API Object + +@implementation DBUSERSUserFeaturesGetValuesBatchResult + +#pragma mark - Constructors + +- (instancetype)initWithValues:(NSArray *)values { + [DBStoneValidators + nonnullValidator:[DBStoneValidators arrayValidator:nil + maxItems:nil + itemValidator:[DBStoneValidators nonnullValidator:nil]]](values); + + self = [super init]; + if (self) { + _values = values; + } + return self; +} + +#pragma mark - Serialization methods + ++ (nullable NSDictionary *)serialize:(id)instance { + return [DBUSERSUserFeaturesGetValuesBatchResultSerializer serialize:instance]; +} + ++ (id)deserialize:(NSDictionary *)dict { + return [DBUSERSUserFeaturesGetValuesBatchResultSerializer deserialize:dict]; +} + +#pragma mark - Debug Description method + +- (NSString *)debugDescription { + return [[DBUSERSUserFeaturesGetValuesBatchResultSerializer serialize:self] description]; +} + +#pragma mark - Copyable method + +- (instancetype)copyWithZone:(NSZone *)zone { +#pragma unused(zone) + /// object is immutable + return self; +} + +#pragma mark - Hash method + +- (NSUInteger)hash { + NSUInteger prime = 31; + NSUInteger result = 1; + + result = prime * result + [self.values hash]; + + return prime * result; +} + +#pragma mark - Equality method + +- (BOOL)isEqual:(id)other { + if (other == self) { + return YES; + } + if (!other || ![other isKindOfClass:[self class]]) { + return NO; + } + return [self isEqualToUserFeaturesGetValuesBatchResult:other]; +} + +- (BOOL)isEqualToUserFeaturesGetValuesBatchResult: + (DBUSERSUserFeaturesGetValuesBatchResult *)anUserFeaturesGetValuesBatchResult { + if (self == anUserFeaturesGetValuesBatchResult) { + return YES; + } + if (![self.values isEqual:anUserFeaturesGetValuesBatchResult.values]) { + return NO; + } + return YES; +} + +@end + +#pragma mark - Serializer Object + +@implementation DBUSERSUserFeaturesGetValuesBatchResultSerializer + ++ (NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchResult *)valueObj { + NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; + + jsonDict[@"values"] = [DBArraySerializer serialize:valueObj.values + withBlock:^id(id elem0) { + return [DBUSERSUserFeatureValueSerializer serialize:elem0]; + }]; + + return jsonDict; +} + ++ (DBUSERSUserFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)valueDict { + NSArray *values = + [DBArraySerializer deserialize:valueDict[@"values"] + withBlock:^id(id elem0) { + return [DBUSERSUserFeatureValueSerializer deserialize:elem0]; + }]; - return [[DBUSERSTeamSpaceAllocation alloc] initWithUsed:used allocated:allocated]; + return [[DBUSERSUserFeaturesGetValuesBatchResult alloc] initWithValues:values]; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSAccount.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSAccount.h index 92dbfe221..81af9667f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSAccount.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSAccount.h @@ -35,12 +35,12 @@ NS_ASSUME_NONNULL_BEGIN /// Details of a user's name. @property (nonatomic, readonly) DBUSERSName *name; -/// The user's e-mail address. Do not rely on this without checking the +/// The user's email address. Do not rely on this without checking the /// emailVerified field. Even then, it's possible that the user has since lost -/// access to their e-mail. +/// access to their email. @property (nonatomic, readonly, copy) NSString *email; -/// Whether the user has verified their e-mail address. +/// Whether the user has verified their email address. @property (nonatomic, readonly) NSNumber *emailVerified; /// URL for the photo representing the user, if one is set. @@ -56,10 +56,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// @param profilePhotoUrl URL for the photo representing the user, if one is /// set. @@ -79,10 +79,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// /// @return An initialized instance. @@ -112,7 +112,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBUSERSAccount` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSAccount *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSAccount *)instance; /// /// Deserializes `DBUSERSAccount` instances. @@ -122,7 +122,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSAccount` object. /// -+ (DBUSERSAccount *)deserialize:(NSDictionary *)dict; ++ (DBUSERSAccount *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSBasicAccount.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSBasicAccount.h index ee2f5211d..1c78e4700 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSBasicAccount.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSBasicAccount.h @@ -44,10 +44,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// @param isTeammate Whether this user is a teammate of the current user. If /// this account is the current user's account, then this will be true. @@ -73,10 +73,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// @param isTeammate Whether this user is a teammate of the current user. If /// this account is the current user's account, then this will be true. @@ -107,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSBasicAccount` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSBasicAccount *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSBasicAccount *)instance; /// /// Deserializes `DBUSERSBasicAccount` instances. @@ -117,7 +117,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSBasicAccount` object. /// -+ (DBUSERSBasicAccount *)deserialize:(NSDictionary *)dict; ++ (DBUSERSBasicAccount *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFileLockingValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFileLockingValue.h new file mode 100644 index 000000000..c086ad33f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFileLockingValue.h @@ -0,0 +1,136 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSFileLockingValue; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `FileLockingValue` union. +/// +/// The value for `fileLocking` in `DBUSERSUserFeature`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSFileLockingValue : NSObject + +#pragma mark - Instance fields + +/// The `DBUSERSFileLockingValueTag` enum type represents the possible tag +/// states with which the `DBUSERSFileLockingValue` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSFileLockingValueTag){ + /// When this value is True, the user can lock files in shared directories. + /// When the value is False the user can unlock the files they have locked + /// or request to unlock files locked by others. + DBUSERSFileLockingValueEnabled, + + /// (no description). + DBUSERSFileLockingValueOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBUSERSFileLockingValueTag tag; + +/// When this value is True, the user can lock files in shared directories. When +/// the value is False the user can unlock the files they have locked or request +/// to unlock files locked by others. @note Ensure the `isEnabled` method +/// returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) NSNumber *enabled; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: When this value is True, the user +/// can lock files in shared directories. When the value is False the user can +/// unlock the files they have locked or request to unlock files locked by +/// others. +/// +/// @param enabled When this value is True, the user can lock files in shared +/// directories. When the value is False the user can unlock the files they have +/// locked or request to unlock files locked by others. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled:(NSNumber *)enabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `enabled` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBUSERSFileLockingValue` union. +/// +@interface DBUSERSFileLockingValueSerializer : NSObject + +/// +/// Serializes `DBUSERSFileLockingValue` instances. +/// +/// @param instance An instance of the `DBUSERSFileLockingValue` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSFileLockingValue` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSFileLockingValue *)instance; + +/// +/// Deserializes `DBUSERSFileLockingValue` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSFileLockingValue` API object. +/// +/// @return An instantiation of the `DBUSERSFileLockingValue` object. +/// ++ (DBUSERSFileLockingValue *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullAccount.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullAccount.h index c2b7e0b1d..ebc3d6a8c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullAccount.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullAccount.h @@ -68,10 +68,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// @param locale The language that the user specified. Locale tags will be IETF /// language tags http://en.wikipedia.org/wiki/IETF_language_tag. @@ -114,10 +114,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param accountId The user's unique Dropbox ID. /// @param name Details of a user's name. -/// @param email The user's e-mail address. Do not rely on this without checking +/// @param email The user's email address. Do not rely on this without checking /// the emailVerified field. Even then, it's possible that the user has since -/// lost access to their e-mail. -/// @param emailVerified Whether the user has verified their e-mail address. +/// lost access to their email. +/// @param emailVerified Whether the user has verified their email address. /// @param disabled Whether the user has been disabled. /// @param locale The language that the user specified. Locale tags will be IETF /// language tags http://en.wikipedia.org/wiki/IETF_language_tag. @@ -159,7 +159,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSFullAccount` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSFullAccount *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSFullAccount *)instance; /// /// Deserializes `DBUSERSFullAccount` instances. @@ -169,7 +169,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSFullAccount` object. /// -+ (DBUSERSFullAccount *)deserialize:(NSDictionary *)dict; ++ (DBUSERSFullAccount *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullTeam.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullTeam.h index 6fd5a4f61..2d119299b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullTeam.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSFullTeam.h @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBUSERSFullTeam` /// API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSFullTeam *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSFullTeam *)instance; /// /// Deserializes `DBUSERSFullTeam` instances. @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSFullTeam` object. /// -+ (DBUSERSFullTeam *)deserialize:(NSDictionary *)dict; ++ (DBUSERSFullTeam *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountArg.h index af32dff3c..4b760935d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountArg.h @@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSGetAccountArg *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSGetAccountArg *)instance; /// /// Deserializes `DBUSERSGetAccountArg` instances. @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSGetAccountArg` object. /// -+ (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)dict; ++ (DBUSERSGetAccountArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchArg.h index 96b233e98..b78bdaead 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchArg.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchArg.h @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchArg` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchArg *)instance; /// /// Deserializes `DBUSERSGetAccountBatchArg` instances. @@ -70,7 +70,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSGetAccountBatchArg` object. /// -+ (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)dict; ++ (DBUSERSGetAccountBatchArg *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchError.h index 61ae8b52b..dc6adcf1a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountBatchError.h @@ -27,13 +27,13 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBUSERSGetAccountBatchErrorTag` enum type represents the possible tag /// states with which the `DBUSERSGetAccountBatchError` union can exist. -typedef NS_ENUM(NSInteger, DBUSERSGetAccountBatchErrorTag) { - /// The value is an account ID specified in `accountIds` in - /// `DBUSERSGetAccountBatchArg` that does not exist. - DBUSERSGetAccountBatchErrorNoAccount, +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSGetAccountBatchErrorTag){ + /// The value is an account ID specified in `accountIds` in + /// `DBUSERSGetAccountBatchArg` that does not exist. + DBUSERSGetAccountBatchErrorNoAccount, - /// (no description). - DBUSERSGetAccountBatchErrorOther, + /// (no description). + DBUSERSGetAccountBatchErrorOther, }; @@ -114,7 +114,7 @@ typedef NS_ENUM(NSInteger, DBUSERSGetAccountBatchErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountBatchError` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSGetAccountBatchError *)instance; /// /// Deserializes `DBUSERSGetAccountBatchError` instances. @@ -124,7 +124,7 @@ typedef NS_ENUM(NSInteger, DBUSERSGetAccountBatchErrorTag) { /// /// @return An instantiation of the `DBUSERSGetAccountBatchError` object. /// -+ (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)dict; ++ (DBUSERSGetAccountBatchError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountError.h index 72894cfb5..24ba47053 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountError.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSGetAccountError.h @@ -27,12 +27,12 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBUSERSGetAccountErrorTag` enum type represents the possible tag states /// with which the `DBUSERSGetAccountError` union can exist. -typedef NS_ENUM(NSInteger, DBUSERSGetAccountErrorTag) { - /// The specified `accountId` in `DBUSERSGetAccountArg` does not exist. - DBUSERSGetAccountErrorNoAccount, +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSGetAccountErrorTag){ + /// The specified `accountId` in `DBUSERSGetAccountArg` does not exist. + DBUSERSGetAccountErrorNoAccount, - /// (no description). - DBUSERSGetAccountErrorOther, + /// (no description). + DBUSERSGetAccountErrorOther, }; @@ -100,7 +100,7 @@ typedef NS_ENUM(NSInteger, DBUSERSGetAccountErrorTag) { /// @return A json-compatible dictionary representation of the /// `DBUSERSGetAccountError` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSGetAccountError *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSGetAccountError *)instance; /// /// Deserializes `DBUSERSGetAccountError` instances. @@ -110,7 +110,7 @@ typedef NS_ENUM(NSInteger, DBUSERSGetAccountErrorTag) { /// /// @return An instantiation of the `DBUSERSGetAccountError` object. /// -+ (DBUSERSGetAccountError *)deserialize:(NSDictionary *)dict; ++ (DBUSERSGetAccountError *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSIndividualSpaceAllocation.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSIndividualSpaceAllocation.h index 11c3a5d9f..8a15c66d6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSIndividualSpaceAllocation.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSIndividualSpaceAllocation.h @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSIndividualSpaceAllocation` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSIndividualSpaceAllocation *)instance; /// /// Deserializes `DBUSERSIndividualSpaceAllocation` instances. @@ -69,7 +69,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSIndividualSpaceAllocation` object. /// -+ (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)dict; ++ (DBUSERSIndividualSpaceAllocation *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSName.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSName.h index 56cdc217b..c454b238e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSName.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSName.h @@ -87,7 +87,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBUSERSName` API /// object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSName *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSName *)instance; /// /// Deserializes `DBUSERSName` instances. @@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSName` object. /// -+ (DBUSERSName *)deserialize:(NSDictionary *)dict; ++ (DBUSERSName *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSPaperAsFilesValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSPaperAsFilesValue.h new file mode 100644 index 000000000..6826561d7 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSPaperAsFilesValue.h @@ -0,0 +1,143 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSPaperAsFilesValue; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `PaperAsFilesValue` union. +/// +/// The value for `paperAsFiles` in `DBUSERSUserFeature`. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSPaperAsFilesValue : NSObject + +#pragma mark - Instance fields + +/// The `DBUSERSPaperAsFilesValueTag` enum type represents the possible tag +/// states with which the `DBUSERSPaperAsFilesValue` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSPaperAsFilesValueTag){ + /// When this value is true, the user's Paper docs are accessible in Dropbox + /// with the .paper extension and must be accessed via the /files endpoints. + /// When this value is false, the user's Paper docs are stored separate from + /// Dropbox files and folders and should be accessed via the /paper + /// endpoints. + DBUSERSPaperAsFilesValueEnabled, + + /// (no description). + DBUSERSPaperAsFilesValueOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBUSERSPaperAsFilesValueTag tag; + +/// When this value is true, the user's Paper docs are accessible in Dropbox +/// with the .paper extension and must be accessed via the /files endpoints. +/// When this value is false, the user's Paper docs are stored separate from +/// Dropbox files and folders and should be accessed via the /paper endpoints. +/// @note Ensure the `isEnabled` method returns true before accessing, otherwise +/// a runtime exception will be raised. +@property (nonatomic, readonly) NSNumber *enabled; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "enabled". +/// +/// Description of the "enabled" tag state: When this value is true, the user's +/// Paper docs are accessible in Dropbox with the .paper extension and must be +/// accessed via the /files endpoints. When this value is false, the user's +/// Paper docs are stored separate from Dropbox files and folders and should be +/// accessed via the /paper endpoints. +/// +/// @param enabled When this value is true, the user's Paper docs are accessible +/// in Dropbox with the .paper extension and must be accessed via the /files +/// endpoints. When this value is false, the user's Paper docs are stored +/// separate from Dropbox files and folders and should be accessed via the +/// /paper endpoints. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEnabled:(NSNumber *)enabled; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "enabled". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `enabled` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "enabled". +/// +- (BOOL)isEnabled; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBUSERSPaperAsFilesValue` union. +/// +@interface DBUSERSPaperAsFilesValueSerializer : NSObject + +/// +/// Serializes `DBUSERSPaperAsFilesValue` instances. +/// +/// @param instance An instance of the `DBUSERSPaperAsFilesValue` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSPaperAsFilesValue` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSPaperAsFilesValue *)instance; + +/// +/// Deserializes `DBUSERSPaperAsFilesValue` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSPaperAsFilesValue` API object. +/// +/// @return An instantiation of the `DBUSERSPaperAsFilesValue` object. +/// ++ (DBUSERSPaperAsFilesValue *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceAllocation.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceAllocation.h index ba3689f44..e05544ce6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceAllocation.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceAllocation.h @@ -31,15 +31,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBUSERSSpaceAllocationTag` enum type represents the possible tag states /// with which the `DBUSERSSpaceAllocation` union can exist. -typedef NS_ENUM(NSInteger, DBUSERSSpaceAllocationTag) { - /// The user's space allocation applies only to their individual account. - DBUSERSSpaceAllocationIndividual, +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSSpaceAllocationTag){ + /// The user's space allocation applies only to their individual account. + DBUSERSSpaceAllocationIndividual, - /// The user shares space with other members of their team. - DBUSERSSpaceAllocationTeam, + /// The user shares space with other members of their team. + DBUSERSSpaceAllocationTeam, - /// (no description). - DBUSERSSpaceAllocationOther, + /// (no description). + DBUSERSSpaceAllocationOther, }; @@ -145,7 +145,7 @@ typedef NS_ENUM(NSInteger, DBUSERSSpaceAllocationTag) { /// @return A json-compatible dictionary representation of the /// `DBUSERSSpaceAllocation` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSSpaceAllocation *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSSpaceAllocation *)instance; /// /// Deserializes `DBUSERSSpaceAllocation` instances. @@ -155,7 +155,7 @@ typedef NS_ENUM(NSInteger, DBUSERSSpaceAllocationTag) { /// /// @return An instantiation of the `DBUSERSSpaceAllocation` object. /// -+ (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)dict; ++ (DBUSERSSpaceAllocation *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceUsage.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceUsage.h index 0e20c48ad..3cf02050e 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceUsage.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSSpaceUsage.h @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSSpaceUsage` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSSpaceUsage *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSSpaceUsage *)instance; /// /// Deserializes `DBUSERSSpaceUsage` instances. @@ -75,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSSpaceUsage` object. /// -+ (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)dict; ++ (DBUSERSSpaceUsage *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeam.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeam.h index e05827d69..5044b6d5d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeam.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeam.h @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the `DBUSERSTeam` API /// object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSTeam *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSTeam *)instance; /// /// Deserializes `DBUSERSTeam` instances. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSTeam` object. /// -+ (DBUSERSTeam *)deserialize:(NSDictionary *)dict; ++ (DBUSERSTeam *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeamSpaceAllocation.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeamSpaceAllocation.h index e7cf90830..08e8db711 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeamSpaceAllocation.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSTeamSpaceAllocation.h @@ -8,6 +8,7 @@ #import "DBSerializableProtocol.h" +@class DBTEAMCOMMONMemberSpaceLimitType; @class DBUSERSTeamSpaceAllocation; NS_ASSUME_NONNULL_BEGIN @@ -31,6 +32,17 @@ NS_ASSUME_NONNULL_BEGIN /// The total space allocated to the user's team (bytes). @property (nonatomic, readonly) NSNumber *allocated; +/// The total space allocated to the user within its team allocated space (0 +/// means that no restriction is imposed on the user's quota within its team). +@property (nonatomic, readonly) NSNumber *userWithinTeamSpaceAllocated; + +/// The type of the space limit imposed on the team member (off, alert_only, +/// stop_sync). +@property (nonatomic, readonly) DBTEAMCOMMONMemberSpaceLimitType *userWithinTeamSpaceLimitType; + +/// An accurate cached calculation of a team member's total space usage (bytes). +@property (nonatomic, readonly) NSNumber *userWithinTeamSpaceUsedCached; + #pragma mark - Constructors /// @@ -38,10 +50,21 @@ NS_ASSUME_NONNULL_BEGIN /// /// @param used The total space currently used by the user's team (bytes). /// @param allocated The total space allocated to the user's team (bytes). +/// @param userWithinTeamSpaceAllocated The total space allocated to the user +/// within its team allocated space (0 means that no restriction is imposed on +/// the user's quota within its team). +/// @param userWithinTeamSpaceLimitType The type of the space limit imposed on +/// the team member (off, alert_only, stop_sync). +/// @param userWithinTeamSpaceUsedCached An accurate cached calculation of a +/// team member's total space usage (bytes). /// /// @return An initialized instance. /// -- (instancetype)initWithUsed:(NSNumber *)used allocated:(NSNumber *)allocated; +- (instancetype)initWithUsed:(NSNumber *)used + allocated:(NSNumber *)allocated + userWithinTeamSpaceAllocated:(NSNumber *)userWithinTeamSpaceAllocated + userWithinTeamSpaceLimitType:(DBTEAMCOMMONMemberSpaceLimitType *)userWithinTeamSpaceLimitType + userWithinTeamSpaceUsedCached:(NSNumber *)userWithinTeamSpaceUsedCached; - (instancetype)init NS_UNAVAILABLE; @@ -62,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN /// @return A json-compatible dictionary representation of the /// `DBUSERSTeamSpaceAllocation` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSTeamSpaceAllocation *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSTeamSpaceAllocation *)instance; /// /// Deserializes `DBUSERSTeamSpaceAllocation` instances. @@ -72,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return An instantiation of the `DBUSERSTeamSpaceAllocation` object. /// -+ (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)dict; ++ (DBUSERSTeamSpaceAllocation *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeature.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeature.h new file mode 100644 index 000000000..fe88c184c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeature.h @@ -0,0 +1,141 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSUserFeature; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserFeature` union. +/// +/// A set of features that a Dropbox User account may have configured. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSUserFeature : NSObject + +#pragma mark - Instance fields + +/// The `DBUSERSUserFeatureTag` enum type represents the possible tag states +/// with which the `DBUSERSUserFeature` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSUserFeatureTag){ + /// This feature contains information about how the user's Paper files are + /// stored. + DBUSERSUserFeaturePaperAsFiles, + + /// This feature allows users to lock files in order to restrict other users + /// from editing them. + DBUSERSUserFeatureFileLocking, + + /// (no description). + DBUSERSUserFeatureOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBUSERSUserFeatureTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "paper_as_files". +/// +/// Description of the "paper_as_files" tag state: This feature contains +/// information about how the user's Paper files are stored. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperAsFiles; + +/// +/// Initializes union class with tag state of "file_locking". +/// +/// Description of the "file_locking" tag state: This feature allows users to +/// lock files in order to restrict other users from editing them. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLocking; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "paper_as_files". +/// +/// @return Whether the union's current tag state has value "paper_as_files". +/// +- (BOOL)isPaperAsFiles; + +/// +/// Retrieves whether the union's current tag state has value "file_locking". +/// +/// @return Whether the union's current tag state has value "file_locking". +/// +- (BOOL)isFileLocking; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBUSERSUserFeature` union. +/// +@interface DBUSERSUserFeatureSerializer : NSObject + +/// +/// Serializes `DBUSERSUserFeature` instances. +/// +/// @param instance An instance of the `DBUSERSUserFeature` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSUserFeature` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSUserFeature *)instance; + +/// +/// Deserializes `DBUSERSUserFeature` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSUserFeature` API object. +/// +/// @return An instantiation of the `DBUSERSUserFeature` object. +/// ++ (DBUSERSUserFeature *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeatureValue.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeatureValue.h new file mode 100644 index 000000000..fd0846a75 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeatureValue.h @@ -0,0 +1,153 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSFileLockingValue; +@class DBUSERSPaperAsFilesValue; +@class DBUSERSUserFeatureValue; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserFeatureValue` union. +/// +/// Values that correspond to entries in UserFeature. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSUserFeatureValue : NSObject + +#pragma mark - Instance fields + +/// The `DBUSERSUserFeatureValueTag` enum type represents the possible tag +/// states with which the `DBUSERSUserFeatureValue` union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSUserFeatureValueTag){ + /// (no description). + DBUSERSUserFeatureValuePaperAsFiles, + + /// (no description). + DBUSERSUserFeatureValueFileLocking, + + /// (no description). + DBUSERSUserFeatureValueOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBUSERSUserFeatureValueTag tag; + +/// (no description). @note Ensure the `isPaperAsFiles` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBUSERSPaperAsFilesValue *paperAsFiles; + +/// (no description). @note Ensure the `isFileLocking` method returns true +/// before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) DBUSERSFileLockingValue *fileLocking; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "paper_as_files". +/// +/// @param paperAsFiles (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithPaperAsFiles:(DBUSERSPaperAsFilesValue *)paperAsFiles; + +/// +/// Initializes union class with tag state of "file_locking". +/// +/// @param fileLocking (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFileLocking:(DBUSERSFileLockingValue *)fileLocking; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value "paper_as_files". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `paperAsFiles` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "paper_as_files". +/// +- (BOOL)isPaperAsFiles; + +/// +/// Retrieves whether the union's current tag state has value "file_locking". +/// +/// @note Call this method and ensure it returns true before accessing the +/// `fileLocking` property, otherwise a runtime exception will be thrown. +/// +/// @return Whether the union's current tag state has value "file_locking". +/// +- (BOOL)isFileLocking; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBUSERSUserFeatureValue` union. +/// +@interface DBUSERSUserFeatureValueSerializer : NSObject + +/// +/// Serializes `DBUSERSUserFeatureValue` instances. +/// +/// @param instance An instance of the `DBUSERSUserFeatureValue` API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSUserFeatureValue` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSUserFeatureValue *)instance; + +/// +/// Deserializes `DBUSERSUserFeatureValue` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSUserFeatureValue` API object. +/// +/// @return An instantiation of the `DBUSERSUserFeatureValue` object. +/// ++ (DBUSERSUserFeatureValue *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchArg.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchArg.h new file mode 100644 index 000000000..721d25bc2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchArg.h @@ -0,0 +1,80 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSUserFeature; +@class DBUSERSUserFeaturesGetValuesBatchArg; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserFeaturesGetValuesBatchArg` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSUserFeaturesGetValuesBatchArg : NSObject + +#pragma mark - Instance fields + +/// A list of features in UserFeature. If the list is empty, this route will +/// return UserFeaturesGetValuesBatchError. +@property (nonatomic, readonly) NSArray *features; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param features A list of features in UserFeature. If the list is empty, +/// this route will return UserFeaturesGetValuesBatchError. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithFeatures:(NSArray *)features; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserFeaturesGetValuesBatchArg` struct. +/// +@interface DBUSERSUserFeaturesGetValuesBatchArgSerializer : NSObject + +/// +/// Serializes `DBUSERSUserFeaturesGetValuesBatchArg` instances. +/// +/// @param instance An instance of the `DBUSERSUserFeaturesGetValuesBatchArg` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchArg` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchArg *)instance; + +/// +/// Deserializes `DBUSERSUserFeaturesGetValuesBatchArg` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchArg` API object. +/// +/// @return An instantiation of the `DBUSERSUserFeaturesGetValuesBatchArg` +/// object. +/// ++ (DBUSERSUserFeaturesGetValuesBatchArg *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchError.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchError.h new file mode 100644 index 000000000..3a552adc2 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchError.h @@ -0,0 +1,124 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSUserFeaturesGetValuesBatchError; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserFeaturesGetValuesBatchError` union. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSUserFeaturesGetValuesBatchError : NSObject + +#pragma mark - Instance fields + +/// The `DBUSERSUserFeaturesGetValuesBatchErrorTag` enum type represents the +/// possible tag states with which the `DBUSERSUserFeaturesGetValuesBatchError` +/// union can exist. +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSUserFeaturesGetValuesBatchErrorTag){ + /// At least one UserFeature must be included in the + /// UserFeaturesGetValuesBatchArg.features list. + DBUSERSUserFeaturesGetValuesBatchErrorEmptyFeaturesList, + + /// (no description). + DBUSERSUserFeaturesGetValuesBatchErrorOther, + +}; + +/// Represents the union's current tag state. +@property (nonatomic, readonly) DBUSERSUserFeaturesGetValuesBatchErrorTag tag; + +#pragma mark - Constructors + +/// +/// Initializes union class with tag state of "empty_features_list". +/// +/// Description of the "empty_features_list" tag state: At least one UserFeature +/// must be included in the UserFeaturesGetValuesBatchArg.features list. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithEmptyFeaturesList; + +/// +/// Initializes union class with tag state of "other". +/// +/// @return An initialized instance. +/// +- (instancetype)initWithOther; + +- (instancetype)init NS_UNAVAILABLE; + +#pragma mark - Tag state methods + +/// +/// Retrieves whether the union's current tag state has value +/// "empty_features_list". +/// +/// @return Whether the union's current tag state has value +/// "empty_features_list". +/// +- (BOOL)isEmptyFeaturesList; + +/// +/// Retrieves whether the union's current tag state has value "other". +/// +/// @return Whether the union's current tag state has value "other". +/// +- (BOOL)isOther; + +/// +/// Retrieves string value of union's current tag state. +/// +/// @return A human-readable string representing the union's current tag state. +/// +- (NSString *)tagName; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `DBUSERSUserFeaturesGetValuesBatchError` +/// union. +/// +@interface DBUSERSUserFeaturesGetValuesBatchErrorSerializer : NSObject + +/// +/// Serializes `DBUSERSUserFeaturesGetValuesBatchError` instances. +/// +/// @param instance An instance of the `DBUSERSUserFeaturesGetValuesBatchError` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchError` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchError *)instance; + +/// +/// Deserializes `DBUSERSUserFeaturesGetValuesBatchError` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchError` API object. +/// +/// @return An instantiation of the `DBUSERSUserFeaturesGetValuesBatchError` +/// object. +/// ++ (DBUSERSUserFeaturesGetValuesBatchError *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchResult.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchResult.h new file mode 100644 index 000000000..149f7607f --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Users/Headers/DBUSERSUserFeaturesGetValuesBatchResult.h @@ -0,0 +1,78 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBSerializableProtocol.h" + +@class DBUSERSUserFeatureValue; +@class DBUSERSUserFeaturesGetValuesBatchResult; + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - API Object + +/// +/// The `UserFeaturesGetValuesBatchResult` struct. +/// +/// This class implements the `DBSerializable` protocol (serialize and +/// deserialize instance methods), which is required for all Obj-C SDK API route +/// objects. +/// +@interface DBUSERSUserFeaturesGetValuesBatchResult : NSObject + +#pragma mark - Instance fields + +/// (no description). +@property (nonatomic, readonly) NSArray *values; + +#pragma mark - Constructors + +/// +/// Full constructor for the struct (exposes all instance variables). +/// +/// @param values (no description). +/// +/// @return An initialized instance. +/// +- (instancetype)initWithValues:(NSArray *)values; + +- (instancetype)init NS_UNAVAILABLE; + +@end + +#pragma mark - Serializer Object + +/// +/// The serialization class for the `UserFeaturesGetValuesBatchResult` struct. +/// +@interface DBUSERSUserFeaturesGetValuesBatchResultSerializer : NSObject + +/// +/// Serializes `DBUSERSUserFeaturesGetValuesBatchResult` instances. +/// +/// @param instance An instance of the `DBUSERSUserFeaturesGetValuesBatchResult` +/// API object. +/// +/// @return A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchResult` API object. +/// ++ (nullable NSDictionary *)serialize:(DBUSERSUserFeaturesGetValuesBatchResult *)instance; + +/// +/// Deserializes `DBUSERSUserFeaturesGetValuesBatchResult` instances. +/// +/// @param dict A json-compatible dictionary representation of the +/// `DBUSERSUserFeaturesGetValuesBatchResult` API object. +/// +/// @return An instantiation of the `DBUSERSUserFeaturesGetValuesBatchResult` +/// object. +/// ++ (DBUSERSUserFeaturesGetValuesBatchResult *)deserialize:(NSDictionary *)dict; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m index 47fd89406..6a7509c80 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/DBUsersCommonObjects.m @@ -71,17 +71,17 @@ - (NSString *)tagName { #pragma mark - Serialization methods -+ (nullable NSDictionary *)serialize:(id)instance { ++ (nullable NSDictionary *)serialize:(id)instance { return [DBUSERSCOMMONAccountTypeSerializer serialize:instance]; } -+ (id)deserialize:(NSDictionary *)dict { ++ (id)deserialize:(NSDictionary *)dict { return [DBUSERSCOMMONAccountTypeSerializer deserialize:dict]; } -#pragma mark - Description method +#pragma mark - Debug Description method -- (NSString *)description { +- (NSString *)debugDescription { return [[DBUSERSCOMMONAccountTypeSerializer serialize:self] description]; } @@ -102,10 +102,13 @@ - (NSUInteger)hash { switch (_tag) { case DBUSERSCOMMONAccountTypeBasic: result = prime * result + [[self tagName] hash]; + break; case DBUSERSCOMMONAccountTypePro: result = prime * result + [[self tagName] hash]; + break; case DBUSERSCOMMONAccountTypeBusiness: result = prime * result + [[self tagName] hash]; + break; } return prime * result; @@ -147,7 +150,7 @@ - (BOOL)isEqualToAccountType:(DBUSERSCOMMONAccountType *)anAccountType { @implementation DBUSERSCOMMONAccountTypeSerializer -+ (NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)valueObj { ++ (NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)valueObj { NSMutableDictionary *jsonDict = [[NSMutableDictionary alloc] init]; if ([valueObj isBasic]) { @@ -162,10 +165,10 @@ + (NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)valueObj { userInfo:nil]); } - return [jsonDict count] > 0 ? jsonDict : nil; + return jsonDict; } -+ (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)valueDict { ++ (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)valueDict { NSString *tag = valueDict[@".tag"]; if ([tag isEqualToString:@"basic"]) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/Headers/DBUSERSCOMMONAccountType.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/Headers/DBUSERSCOMMONAccountType.h index 7bc7d812a..39b1d3b42 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/Headers/DBUSERSCOMMONAccountType.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/UsersCommon/Headers/DBUSERSCOMMONAccountType.h @@ -29,15 +29,15 @@ NS_ASSUME_NONNULL_BEGIN /// The `DBUSERSCOMMONAccountTypeTag` enum type represents the possible tag /// states with which the `DBUSERSCOMMONAccountType` union can exist. -typedef NS_ENUM(NSInteger, DBUSERSCOMMONAccountTypeTag) { - /// The basic account type. - DBUSERSCOMMONAccountTypeBasic, +typedef NS_CLOSED_ENUM(NSInteger, DBUSERSCOMMONAccountTypeTag){ + /// The basic account type. + DBUSERSCOMMONAccountTypeBasic, - /// The Dropbox Pro account type. - DBUSERSCOMMONAccountTypePro, + /// The Dropbox Pro account type. + DBUSERSCOMMONAccountTypePro, - /// The Dropbox Business account type. - DBUSERSCOMMONAccountTypeBusiness, + /// The Dropbox Business account type. + DBUSERSCOMMONAccountTypeBusiness, }; @@ -122,7 +122,7 @@ typedef NS_ENUM(NSInteger, DBUSERSCOMMONAccountTypeTag) { /// @return A json-compatible dictionary representation of the /// `DBUSERSCOMMONAccountType` API object. /// -+ (nullable NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)instance; ++ (nullable NSDictionary *)serialize:(DBUSERSCOMMONAccountType *)instance; /// /// Deserializes `DBUSERSCOMMONAccountType` instances. @@ -132,7 +132,7 @@ typedef NS_ENUM(NSInteger, DBUSERSCOMMONAccountTypeTag) { /// /// @return An instantiation of the `DBUSERSCOMMONAccountType` object. /// -+ (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)dict; ++ (DBUSERSCOMMONAccountType *)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.h index eccca52f7..fe514c52f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.h @@ -5,7 +5,10 @@ /// #import "DBAUTHAppAuthRoutes.h" +#import "DBCHECKAppAuthRoutes.h" +#import "DBFILESAppAuthRoutes.h" #import "DBRequestErrors.h" +#import "DBSHARINGAppAuthRoutes.h" #import "DBTasks.h" #import @@ -27,6 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// Routes within the `auth` namespace. @property (nonatomic, readonly) DBAUTHAppAuthRoutes *authRoutes; +/// Routes within the `check` namespace. +@property (nonatomic, readonly) DBCHECKAppAuthRoutes *checkRoutes; + +/// Routes within the `files` namespace. +@property (nonatomic, readonly) DBFILESAppAuthRoutes *filesRoutes; + +/// Routes within the `sharing` namespace. +@property (nonatomic, readonly) DBSHARINGAppAuthRoutes *sharingRoutes; + /// Initializes the `DBAppBaseClient` object with a networking client. - (instancetype)initWithTransportClient:(id)client; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.m index 6ec4bd4d8..20e8f5a9f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBAppBaseClient.m @@ -6,6 +6,9 @@ #import "DBAppBaseClient.h" #import "DBAUTHAppAuthRoutes.h" +#import "DBCHECKAppAuthRoutes.h" +#import "DBFILESAppAuthRoutes.h" +#import "DBSHARINGAppAuthRoutes.h" #import "DBTransportClientProtocol.h" @implementation DBAppBaseClient @@ -15,6 +18,9 @@ - (instancetype)initWithTransportClient:(id)client { if (self) { _transportClient = client; _authRoutes = [[DBAUTHAppAuthRoutes alloc] init:client]; + _checkRoutes = [[DBCHECKAppAuthRoutes alloc] init:client]; + _filesRoutes = [[DBFILESAppAuthRoutes alloc] init:client]; + _sharingRoutes = [[DBSHARINGAppAuthRoutes alloc] init:client]; } return self; } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.h index d3fcbd2c5..23158e8b1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.h @@ -4,10 +4,14 @@ /// Auto-generated by Stone, do not modify. /// +#import "DBACCOUNTUserAuthRoutes.h" #import "DBAUTHUserAuthRoutes.h" +#import "DBCHECKUserAuthRoutes.h" +#import "DBCONTACTSUserAuthRoutes.h" #import "DBFILEPROPERTIESUserAuthRoutes.h" #import "DBFILEREQUESTSUserAuthRoutes.h" #import "DBFILESUserAuthRoutes.h" +#import "DBOPENIDUserAuthRoutes.h" #import "DBPAPERUserAuthRoutes.h" #import "DBRequestErrors.h" #import "DBSHARINGUserAuthRoutes.h" @@ -30,9 +34,18 @@ NS_ASSUME_NONNULL_BEGIN id _transportClient; } +/// Routes within the `account` namespace. +@property (nonatomic, readonly) DBACCOUNTUserAuthRoutes *accountRoutes; + /// Routes within the `auth` namespace. @property (nonatomic, readonly) DBAUTHUserAuthRoutes *authRoutes; +/// Routes within the `check` namespace. +@property (nonatomic, readonly) DBCHECKUserAuthRoutes *checkRoutes; + +/// Routes within the `contacts` namespace. +@property (nonatomic, readonly) DBCONTACTSUserAuthRoutes *contactsRoutes; + /// Routes within the `fileProperties` namespace. @property (nonatomic, readonly) DBFILEPROPERTIESUserAuthRoutes *filePropertiesRoutes; @@ -42,6 +55,9 @@ NS_ASSUME_NONNULL_BEGIN /// Routes within the `files` namespace. @property (nonatomic, readonly) DBFILESUserAuthRoutes *filesRoutes; +/// Routes within the `openid` namespace. +@property (nonatomic, readonly) DBOPENIDUserAuthRoutes *openidRoutes; + /// Routes within the `paper` namespace. @property (nonatomic, readonly) DBPAPERUserAuthRoutes *paperRoutes; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.m index 797364b0e..c16eebd10 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Client/DBUserBaseClient.m @@ -5,10 +5,14 @@ /// #import "DBUserBaseClient.h" +#import "DBACCOUNTUserAuthRoutes.h" #import "DBAUTHUserAuthRoutes.h" +#import "DBCHECKUserAuthRoutes.h" +#import "DBCONTACTSUserAuthRoutes.h" #import "DBFILEPROPERTIESUserAuthRoutes.h" #import "DBFILEREQUESTSUserAuthRoutes.h" #import "DBFILESUserAuthRoutes.h" +#import "DBOPENIDUserAuthRoutes.h" #import "DBPAPERUserAuthRoutes.h" #import "DBSHARINGUserAuthRoutes.h" #import "DBTransportClientProtocol.h" @@ -20,10 +24,14 @@ - (instancetype)initWithTransportClient:(id)client { self = [super init]; if (self) { _transportClient = client; + _accountRoutes = [[DBACCOUNTUserAuthRoutes alloc] init:client]; _authRoutes = [[DBAUTHUserAuthRoutes alloc] init:client]; + _checkRoutes = [[DBCHECKUserAuthRoutes alloc] init:client]; + _contactsRoutes = [[DBCONTACTSUserAuthRoutes alloc] init:client]; _filePropertiesRoutes = [[DBFILEPROPERTIESUserAuthRoutes alloc] init:client]; _fileRequestsRoutes = [[DBFILEREQUESTSUserAuthRoutes alloc] init:client]; _filesRoutes = [[DBFILESUserAuthRoutes alloc] init:client]; + _openidRoutes = [[DBOPENIDUserAuthRoutes alloc] init:client]; _paperRoutes = [[DBPAPERUserAuthRoutes alloc] init:client]; _sharingRoutes = [[DBSHARINGUserAuthRoutes alloc] init:client]; _usersRoutes = [[DBUSERSUserAuthRoutes alloc] init:client]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h index ae9b6419a..f2d7fe85c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/DBSDKImportsGenerated.h @@ -7,18 +7,29 @@ /// Import autogenerated files // Routes +#import "DBACCOUNTRouteObjects.h" +#import "DBACCOUNTUserAuthRoutes.h" #import "DBAUTHAppAuthRoutes.h" #import "DBAUTHRouteObjects.h" #import "DBAUTHUserAuthRoutes.h" +#import "DBCHECKAppAuthRoutes.h" +#import "DBCHECKRouteObjects.h" +#import "DBCHECKUserAuthRoutes.h" +#import "DBCONTACTSRouteObjects.h" +#import "DBCONTACTSUserAuthRoutes.h" #import "DBFILEPROPERTIESRouteObjects.h" #import "DBFILEPROPERTIESTeamAuthRoutes.h" #import "DBFILEPROPERTIESUserAuthRoutes.h" #import "DBFILEREQUESTSRouteObjects.h" #import "DBFILEREQUESTSUserAuthRoutes.h" +#import "DBFILESAppAuthRoutes.h" #import "DBFILESRouteObjects.h" #import "DBFILESUserAuthRoutes.h" +#import "DBOPENIDRouteObjects.h" +#import "DBOPENIDUserAuthRoutes.h" #import "DBPAPERRouteObjects.h" #import "DBPAPERUserAuthRoutes.h" +#import "DBSHARINGAppAuthRoutes.h" #import "DBSHARINGRouteObjects.h" #import "DBSHARINGUserAuthRoutes.h" #import "DBTEAMLOGRouteObjects.h" @@ -28,6 +39,13 @@ #import "DBUSERSRouteObjects.h" #import "DBUSERSUserAuthRoutes.h" +// `Account` namespace types + +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBACCOUNTSetProfilePhotoArg.h" +#import "DBACCOUNTSetProfilePhotoError.h" +#import "DBACCOUNTSetProfilePhotoResult.h" + // `Async` namespace types #import "DBASYNCLaunchEmptyResult.h" @@ -48,6 +66,12 @@ #import "DBAUTHTokenFromOAuth1Arg.h" #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" +#import "DBAUTHTokenScopeError.h" + +// `Check` namespace types + +#import "DBCHECKEchoArg.h" +#import "DBCHECKEchoResult.h" // `Common` namespace types @@ -57,6 +81,11 @@ #import "DBCOMMONTeamRootInfo.h" #import "DBCOMMONUserRootInfo.h" +// `Contacts` namespace types + +#import "DBCONTACTSDeleteManualContactsArg.h" +#import "DBCONTACTSDeleteManualContactsError.h" + // `FileProperties` namespace types #import "DBFILEPROPERTIESAddPropertiesArg.h" @@ -101,8 +130,15 @@ // `FileRequests` namespace types +#import "DBFILEREQUESTSCountFileRequestsError.h" +#import "DBFILEREQUESTSCountFileRequestsResult.h" #import "DBFILEREQUESTSCreateFileRequestArgs.h" #import "DBFILEREQUESTSCreateFileRequestError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h" +#import "DBFILEREQUESTSDeleteFileRequestArgs.h" +#import "DBFILEREQUESTSDeleteFileRequestError.h" +#import "DBFILEREQUESTSDeleteFileRequestsResult.h" #import "DBFILEREQUESTSFileRequest.h" #import "DBFILEREQUESTSFileRequestDeadline.h" #import "DBFILEREQUESTSFileRequestError.h" @@ -110,19 +146,35 @@ #import "DBFILEREQUESTSGetFileRequestArgs.h" #import "DBFILEREQUESTSGetFileRequestError.h" #import "DBFILEREQUESTSGracePeriod.h" +#import "DBFILEREQUESTSListFileRequestsArg.h" +#import "DBFILEREQUESTSListFileRequestsContinueArg.h" +#import "DBFILEREQUESTSListFileRequestsContinueError.h" #import "DBFILEREQUESTSListFileRequestsError.h" #import "DBFILEREQUESTSListFileRequestsResult.h" +#import "DBFILEREQUESTSListFileRequestsV2Result.h" #import "DBFILEREQUESTSUpdateFileRequestArgs.h" #import "DBFILEREQUESTSUpdateFileRequestDeadline.h" #import "DBFILEREQUESTSUpdateFileRequestError.h" // `Files` namespace types +#import "DBFILESAddTagArg.h" +#import "DBFILESAddTagError.h" #import "DBFILESAlphaGetMetadataArg.h" #import "DBFILESAlphaGetMetadataError.h" +#import "DBFILESBaseTagError.h" #import "DBFILESCommitInfo.h" -#import "DBFILESCommitInfoWithProperties.h" +#import "DBFILESContentSyncSetting.h" +#import "DBFILESContentSyncSettingArg.h" #import "DBFILESCreateFolderArg.h" +#import "DBFILESCreateFolderBatchArg.h" +#import "DBFILESCreateFolderBatchError.h" +#import "DBFILESCreateFolderBatchJobStatus.h" +#import "DBFILESCreateFolderBatchLaunch.h" +#import "DBFILESCreateFolderBatchResult.h" +#import "DBFILESCreateFolderBatchResultEntry.h" +#import "DBFILESCreateFolderEntryError.h" +#import "DBFILESCreateFolderEntryResult.h" #import "DBFILESCreateFolderError.h" #import "DBFILESCreateFolderResult.h" #import "DBFILESDeleteArg.h" @@ -139,9 +191,22 @@ #import "DBFILESDimensions.h" #import "DBFILESDownloadArg.h" #import "DBFILESDownloadError.h" +#import "DBFILESDownloadZipArg.h" +#import "DBFILESDownloadZipError.h" +#import "DBFILESDownloadZipResult.h" +#import "DBFILESExportArg.h" +#import "DBFILESExportError.h" +#import "DBFILESExportInfo.h" +#import "DBFILESExportMetadata.h" +#import "DBFILESExportResult.h" +#import "DBFILESFileCategory.h" +#import "DBFILESFileLock.h" +#import "DBFILESFileLockContent.h" +#import "DBFILESFileLockMetadata.h" #import "DBFILESFileMetadata.h" #import "DBFILESFileOpsResult.h" #import "DBFILESFileSharingInfo.h" +#import "DBFILESFileStatus.h" #import "DBFILESFolderMetadata.h" #import "DBFILESFolderSharingInfo.h" #import "DBFILESGetCopyReferenceArg.h" @@ -149,15 +214,21 @@ #import "DBFILESGetCopyReferenceResult.h" #import "DBFILESGetMetadataArg.h" #import "DBFILESGetMetadataError.h" +#import "DBFILESGetTagsArg.h" +#import "DBFILESGetTagsResult.h" #import "DBFILESGetTemporaryLinkArg.h" #import "DBFILESGetTemporaryLinkError.h" #import "DBFILESGetTemporaryLinkResult.h" +#import "DBFILESGetTemporaryUploadLinkArg.h" +#import "DBFILESGetTemporaryUploadLinkResult.h" #import "DBFILESGetThumbnailBatchArg.h" #import "DBFILESGetThumbnailBatchError.h" #import "DBFILESGetThumbnailBatchResult.h" #import "DBFILESGetThumbnailBatchResultData.h" #import "DBFILESGetThumbnailBatchResultEntry.h" #import "DBFILESGpsCoordinates.h" +#import "DBFILESHighlightSpan.h" +#import "DBFILESImportFormat.h" #import "DBFILESListFolderArg.h" #import "DBFILESListFolderContinueArg.h" #import "DBFILESListFolderContinueError.h" @@ -171,23 +242,54 @@ #import "DBFILESListRevisionsError.h" #import "DBFILESListRevisionsMode.h" #import "DBFILESListRevisionsResult.h" +#import "DBFILESLockConflictError.h" +#import "DBFILESLockFileArg.h" +#import "DBFILESLockFileBatchArg.h" +#import "DBFILESLockFileBatchResult.h" +#import "DBFILESLockFileError.h" +#import "DBFILESLockFileResult.h" +#import "DBFILESLockFileResultEntry.h" #import "DBFILESLookupError.h" #import "DBFILESMediaInfo.h" #import "DBFILESMediaMetadata.h" #import "DBFILESMetadata.h" +#import "DBFILESMetadataV2.h" +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBFILESMoveBatchArg.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperCreateArg.h" +#import "DBFILESPaperCreateError.h" +#import "DBFILESPaperCreateResult.h" +#import "DBFILESPaperDocUpdatePolicy.h" +#import "DBFILESPaperUpdateArg.h" +#import "DBFILESPaperUpdateError.h" +#import "DBFILESPaperUpdateResult.h" +#import "DBFILESPathOrLink.h" +#import "DBFILESPathToTags.h" #import "DBFILESPhotoMetadata.h" #import "DBFILESPreviewArg.h" #import "DBFILESPreviewError.h" +#import "DBFILESPreviewResult.h" #import "DBFILESRelocationArg.h" #import "DBFILESRelocationBatchArg.h" +#import "DBFILESRelocationBatchArgBase.h" #import "DBFILESRelocationBatchError.h" +#import "DBFILESRelocationBatchErrorEntry.h" #import "DBFILESRelocationBatchJobStatus.h" #import "DBFILESRelocationBatchLaunch.h" #import "DBFILESRelocationBatchResult.h" #import "DBFILESRelocationBatchResultData.h" +#import "DBFILESRelocationBatchResultEntry.h" +#import "DBFILESRelocationBatchV2JobStatus.h" +#import "DBFILESRelocationBatchV2Launch.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBFILESRelocationError.h" #import "DBFILESRelocationPath.h" #import "DBFILESRelocationResult.h" +#import "DBFILESRemoveTagArg.h" +#import "DBFILESRemoveTagError.h" #import "DBFILESRestoreArg.h" #import "DBFILESRestoreError.h" #import "DBFILESSaveCopyReferenceArg.h" @@ -200,18 +302,39 @@ #import "DBFILESSearchArg.h" #import "DBFILESSearchError.h" #import "DBFILESSearchMatch.h" +#import "DBFILESSearchMatchFieldOptions.h" #import "DBFILESSearchMatchType.h" +#import "DBFILESSearchMatchTypeV2.h" +#import "DBFILESSearchMatchV2.h" #import "DBFILESSearchMode.h" +#import "DBFILESSearchOptions.h" +#import "DBFILESSearchOrderBy.h" #import "DBFILESSearchResult.h" +#import "DBFILESSearchV2Arg.h" +#import "DBFILESSearchV2ContinueArg.h" +#import "DBFILESSearchV2Result.h" #import "DBFILESSharedLink.h" +#import "DBFILESSharedLinkFileInfo.h" #import "DBFILESSharingInfo.h" +#import "DBFILESSingleUserLock.h" +#import "DBFILESSymlinkInfo.h" +#import "DBFILESSyncSetting.h" +#import "DBFILESSyncSettingArg.h" +#import "DBFILESSyncSettingsError.h" +#import "DBFILESTag.h" #import "DBFILESThumbnailArg.h" #import "DBFILESThumbnailError.h" #import "DBFILESThumbnailFormat.h" +#import "DBFILESThumbnailMode.h" #import "DBFILESThumbnailSize.h" +#import "DBFILESThumbnailV2Arg.h" +#import "DBFILESThumbnailV2Error.h" +#import "DBFILESUnlockFileArg.h" +#import "DBFILESUnlockFileBatchArg.h" +#import "DBFILESUploadArg.h" #import "DBFILESUploadError.h" -#import "DBFILESUploadErrorWithProperties.h" #import "DBFILESUploadSessionAppendArg.h" +#import "DBFILESUploadSessionAppendError.h" #import "DBFILESUploadSessionCursor.h" #import "DBFILESUploadSessionFinishArg.h" #import "DBFILESUploadSessionFinishBatchArg.h" @@ -223,13 +346,25 @@ #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" #import "DBFILESUploadSessionStartArg.h" +#import "DBFILESUploadSessionStartBatchArg.h" +#import "DBFILESUploadSessionStartBatchResult.h" +#import "DBFILESUploadSessionStartError.h" #import "DBFILESUploadSessionStartResult.h" +#import "DBFILESUploadSessionType.h" #import "DBFILESUploadWriteFailed.h" +#import "DBFILESUserGeneratedTag.h" #import "DBFILESVideoMetadata.h" #import "DBFILESWriteConflictError.h" #import "DBFILESWriteError.h" #import "DBFILESWriteMode.h" +// `Openid` namespace types + +#import "DBOPENIDOpenIdError.h" +#import "DBOPENIDUserInfoArgs.h" +#import "DBOPENIDUserInfoError.h" +#import "DBOPENIDUserInfoResult.h" + // `Paper` namespace types #import "DBPAPERAddMember.h" @@ -272,6 +407,9 @@ #import "DBPAPERPaperDocUpdateArgs.h" #import "DBPAPERPaperDocUpdateError.h" #import "DBPAPERPaperDocUpdatePolicy.h" +#import "DBPAPERPaperFolderCreateArg.h" +#import "DBPAPERPaperFolderCreateError.h" +#import "DBPAPERPaperFolderCreateResult.h" #import "DBPAPERRefPaperDoc.h" #import "DBPAPERRemovePaperDocUser.h" #import "DBPAPERSharingPolicy.h" @@ -280,8 +418,17 @@ #import "DBPAPERUserInfoWithPermissionLevel.h" #import "DBPAPERUserOnPaperDocFilter.h" +// `SecondaryEmails` namespace types + +#import "DBSECONDARYEMAILSSecondaryEmail.h" + +// `SeenState` namespace types + +#import "DBSEENSTATEPlatformType.h" + // `Sharing` namespace types +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGAddFileMemberArgs.h" @@ -290,10 +437,10 @@ #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGAddMember.h" #import "DBSHARINGAddMemberSelectorError.h" +#import "DBSHARINGAlphaResolvedVisibility.h" #import "DBSHARINGAudienceExceptionContentInfo.h" #import "DBSHARINGAudienceExceptions.h" #import "DBSHARINGAudienceRestrictingSharedFolder.h" -#import "DBSHARINGChangeFileMemberAccessArgs.h" #import "DBSHARINGCollectionLinkMetadata.h" #import "DBSHARINGCreateSharedLinkArg.h" #import "DBSHARINGCreateSharedLinkError.h" @@ -331,8 +478,11 @@ #import "DBSHARINGInviteeMembershipInfo.h" #import "DBSHARINGJobError.h" #import "DBSHARINGJobStatus.h" +#import "DBSHARINGLinkAccessLevel.h" #import "DBSHARINGLinkAction.h" #import "DBSHARINGLinkAudience.h" +#import "DBSHARINGLinkAudienceDisallowedReason.h" +#import "DBSHARINGLinkAudienceOption.h" #import "DBSHARINGLinkExpiry.h" #import "DBSHARINGLinkMetadata.h" #import "DBSHARINGLinkPassword.h" @@ -385,10 +535,13 @@ #import "DBSHARINGRemoveFolderMemberArg.h" #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGRemoveMemberJobStatus.h" +#import "DBSHARINGRequestedLinkAccessLevel.h" #import "DBSHARINGRequestedVisibility.h" #import "DBSHARINGResolvedVisibility.h" #import "DBSHARINGRevokeSharedLinkArg.h" #import "DBSHARINGRevokeSharedLinkError.h" +#import "DBSHARINGSetAccessInheritanceArg.h" +#import "DBSHARINGSetAccessInheritanceError.h" #import "DBSHARINGShareFolderArg.h" #import "DBSHARINGShareFolderArgBase.h" #import "DBSHARINGShareFolderError.h" @@ -406,6 +559,7 @@ #import "DBSHARINGSharedFolderMetadata.h" #import "DBSHARINGSharedFolderMetadataBase.h" #import "DBSHARINGSharedLinkAccessFailureReason.h" +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" #import "DBSHARINGSharedLinkError.h" #import "DBSHARINGSharedLinkMetadata.h" #import "DBSHARINGSharedLinkPolicy.h" @@ -432,10 +586,16 @@ #import "DBSHARINGUserMembershipInfo.h" #import "DBSHARINGViewerInfoPolicy.h" #import "DBSHARINGVisibility.h" +#import "DBSHARINGVisibilityPolicy.h" +#import "DBSHARINGVisibilityPolicyDisallowedReason.h" // `Team` namespace types #import "DBTEAMActiveWebSession.h" +#import "DBTEAMAddSecondaryEmailResult.h" +#import "DBTEAMAddSecondaryEmailsArg.h" +#import "DBTEAMAddSecondaryEmailsError.h" +#import "DBTEAMAddSecondaryEmailsResult.h" #import "DBTEAMAdminTier.h" #import "DBTEAMApiApp.h" #import "DBTEAMBaseDfbReport.h" @@ -445,6 +605,9 @@ #import "DBTEAMCustomQuotaUsersArg.h" #import "DBTEAMDateRange.h" #import "DBTEAMDateRangeError.h" +#import "DBTEAMDeleteSecondaryEmailResult.h" +#import "DBTEAMDeleteSecondaryEmailsArg.h" +#import "DBTEAMDeleteSecondaryEmailsResult.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMDesktopPlatform.h" #import "DBTEAMDeviceSession.h" @@ -503,8 +666,29 @@ #import "DBTEAMGroupsPollError.h" #import "DBTEAMGroupsSelector.h" #import "DBTEAMHasTeamFileEventsValue.h" +#import "DBTEAMHasTeamSelectiveSyncValue.h" #import "DBTEAMHasTeamSharedDropboxValue.h" #import "DBTEAMIncludeMembersArg.h" +#import "DBTEAMLegalHoldHeldRevisionMetadata.h" +#import "DBTEAMLegalHoldPolicy.h" +#import "DBTEAMLegalHoldStatus.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsGetPolicyArg.h" +#import "DBTEAMLegalHoldsGetPolicyError.h" +#import "DBTEAMLegalHoldsListHeldRevisionResult.h" +#import "DBTEAMLegalHoldsListHeldRevisionsArg.h" +#import "DBTEAMLegalHoldsListHeldRevisionsContinueArg.h" +#import "DBTEAMLegalHoldsListHeldRevisionsContinueError.h" +#import "DBTEAMLegalHoldsListHeldRevisionsError.h" +#import "DBTEAMLegalHoldsListPoliciesArg.h" +#import "DBTEAMLegalHoldsListPoliciesError.h" +#import "DBTEAMLegalHoldsListPoliciesResult.h" +#import "DBTEAMLegalHoldsPolicyCreateArg.h" +#import "DBTEAMLegalHoldsPolicyCreateError.h" +#import "DBTEAMLegalHoldsPolicyReleaseArg.h" +#import "DBTEAMLegalHoldsPolicyReleaseError.h" +#import "DBTEAMLegalHoldsPolicyUpdateArg.h" +#import "DBTEAMLegalHoldsPolicyUpdateError.h" #import "DBTEAMListMemberAppsArg.h" #import "DBTEAMListMemberAppsError.h" #import "DBTEAMListMemberAppsResult.h" @@ -525,35 +709,61 @@ #import "DBTEAMListTeamDevicesResult.h" #import "DBTEAMMemberAccess.h" #import "DBTEAMMemberAddArg.h" +#import "DBTEAMMemberAddArgBase.h" #import "DBTEAMMemberAddResult.h" +#import "DBTEAMMemberAddResultBase.h" +#import "DBTEAMMemberAddV2Arg.h" +#import "DBTEAMMemberAddV2Result.h" #import "DBTEAMMemberDevices.h" #import "DBTEAMMemberLinkedApps.h" #import "DBTEAMMemberProfile.h" #import "DBTEAMMemberSelectorError.h" #import "DBTEAMMembersAddArg.h" +#import "DBTEAMMembersAddArgBase.h" #import "DBTEAMMembersAddJobStatus.h" +#import "DBTEAMMembersAddJobStatusV2Result.h" #import "DBTEAMMembersAddLaunch.h" +#import "DBTEAMMembersAddLaunchV2Result.h" +#import "DBTEAMMembersAddV2Arg.h" +#import "DBTEAMMembersDataTransferArg.h" #import "DBTEAMMembersDeactivateArg.h" +#import "DBTEAMMembersDeactivateBaseArg.h" #import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersDeleteProfilePhotoArg.h" +#import "DBTEAMMembersDeleteProfilePhotoError.h" +#import "DBTEAMMembersGetAvailableTeamMemberRolesResult.h" #import "DBTEAMMembersGetInfoArgs.h" #import "DBTEAMMembersGetInfoError.h" #import "DBTEAMMembersGetInfoItem.h" +#import "DBTEAMMembersGetInfoItemBase.h" +#import "DBTEAMMembersGetInfoItemV2.h" +#import "DBTEAMMembersGetInfoV2Arg.h" +#import "DBTEAMMembersGetInfoV2Result.h" +#import "DBTEAMMembersInfo.h" #import "DBTEAMMembersListArg.h" #import "DBTEAMMembersListContinueArg.h" #import "DBTEAMMembersListContinueError.h" #import "DBTEAMMembersListError.h" #import "DBTEAMMembersListResult.h" +#import "DBTEAMMembersListV2Result.h" #import "DBTEAMMembersRecoverArg.h" #import "DBTEAMMembersRecoverError.h" #import "DBTEAMMembersRemoveArg.h" #import "DBTEAMMembersRemoveError.h" #import "DBTEAMMembersSendWelcomeError.h" +#import "DBTEAMMembersSetPermissions2Arg.h" +#import "DBTEAMMembersSetPermissions2Error.h" +#import "DBTEAMMembersSetPermissions2Result.h" #import "DBTEAMMembersSetPermissionsArg.h" #import "DBTEAMMembersSetPermissionsError.h" #import "DBTEAMMembersSetPermissionsResult.h" #import "DBTEAMMembersSetProfileArg.h" #import "DBTEAMMembersSetProfileError.h" +#import "DBTEAMMembersSetProfilePhotoArg.h" +#import "DBTEAMMembersSetProfilePhotoError.h" #import "DBTEAMMembersSuspendError.h" +#import "DBTEAMMembersTransferFilesError.h" +#import "DBTEAMMembersTransferFormerMembersFilesError.h" #import "DBTEAMMembersUnsuspendArg.h" #import "DBTEAMMembersUnsuspendError.h" #import "DBTEAMMobileClientPlatform.h" @@ -562,6 +772,9 @@ #import "DBTEAMNamespaceType.h" #import "DBTEAMRemoveCustomQuotaResult.h" #import "DBTEAMRemovedStatus.h" +#import "DBTEAMResendSecondaryEmailResult.h" +#import "DBTEAMResendVerificationEmailArg.h" +#import "DBTEAMResendVerificationEmailResult.h" #import "DBTEAMRevokeDesktopClientArg.h" #import "DBTEAMRevokeDeviceSessionArg.h" #import "DBTEAMRevokeDeviceSessionBatchArg.h" @@ -577,6 +790,17 @@ #import "DBTEAMRevokeLinkedAppStatus.h" #import "DBTEAMSetCustomQuotaArg.h" #import "DBTEAMSetCustomQuotaError.h" +#import "DBTEAMSharingAllowlistAddArgs.h" +#import "DBTEAMSharingAllowlistAddError.h" +#import "DBTEAMSharingAllowlistAddResponse.h" +#import "DBTEAMSharingAllowlistListArg.h" +#import "DBTEAMSharingAllowlistListContinueArg.h" +#import "DBTEAMSharingAllowlistListContinueError.h" +#import "DBTEAMSharingAllowlistListError.h" +#import "DBTEAMSharingAllowlistListResponse.h" +#import "DBTEAMSharingAllowlistRemoveArgs.h" +#import "DBTEAMSharingAllowlistRemoveError.h" +#import "DBTEAMSharingAllowlistRemoveResponse.h" #import "DBTEAMStorageBucket.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderActivateError.h" @@ -601,20 +825,34 @@ #import "DBTEAMTeamFolderRenameError.h" #import "DBTEAMTeamFolderStatus.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsArg.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsError.h" #import "DBTEAMTeamGetInfoResult.h" #import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMTeamMemberInfoV2.h" +#import "DBTEAMTeamMemberInfoV2Result.h" #import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTeamMemberRole.h" #import "DBTEAMTeamMemberStatus.h" #import "DBTEAMTeamMembershipType.h" #import "DBTEAMTeamNamespacesListArg.h" #import "DBTEAMTeamNamespacesListContinueArg.h" #import "DBTEAMTeamNamespacesListContinueError.h" +#import "DBTEAMTeamNamespacesListError.h" #import "DBTEAMTeamNamespacesListResult.h" +#import "DBTEAMTeamReportFailureReason.h" #import "DBTEAMTokenGetAuthenticatedAdminError.h" #import "DBTEAMTokenGetAuthenticatedAdminResult.h" #import "DBTEAMUploadApiRateLimitValue.h" +#import "DBTEAMUserAddResult.h" #import "DBTEAMUserCustomQuotaArg.h" #import "DBTEAMUserCustomQuotaResult.h" +#import "DBTEAMUserDeleteEmailsResult.h" +#import "DBTEAMUserDeleteResult.h" +#import "DBTEAMUserResendEmailsResult.h" +#import "DBTEAMUserResendResult.h" +#import "DBTEAMUserSecondaryEmailsArg.h" +#import "DBTEAMUserSecondaryEmailsResult.h" #import "DBTEAMUserSelectorArg.h" #import "DBTEAMUserSelectorError.h" #import "DBTEAMUsersSelectorArg.h" @@ -624,6 +862,7 @@ #import "DBTEAMCOMMONGroupManagementType.h" #import "DBTEAMCOMMONGroupSummary.h" #import "DBTEAMCOMMONGroupType.h" +#import "DBTEAMCOMMONMemberSpaceLimitType.h" #import "DBTEAMCOMMONTimeRange.h" // `TeamLog` namespace types @@ -631,113 +870,360 @@ #import "DBTEAMLOGAccessMethodLogInfo.h" #import "DBTEAMLOGAccountCaptureAvailability.h" #import "DBTEAMLOGAccountCaptureChangeAvailabilityDetails.h" +#import "DBTEAMLOGAccountCaptureChangeAvailabilityType.h" #import "DBTEAMLOGAccountCaptureChangePolicyDetails.h" +#import "DBTEAMLOGAccountCaptureChangePolicyType.h" #import "DBTEAMLOGAccountCaptureMigrateAccountDetails.h" +#import "DBTEAMLOGAccountCaptureMigrateAccountType.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentDetails.h" +#import "DBTEAMLOGAccountCaptureNotificationEmailsSentType.h" +#import "DBTEAMLOGAccountCaptureNotificationType.h" #import "DBTEAMLOGAccountCapturePolicy.h" #import "DBTEAMLOGAccountCaptureRelinquishAccountDetails.h" +#import "DBTEAMLOGAccountCaptureRelinquishAccountType.h" +#import "DBTEAMLOGAccountLockOrUnlockedDetails.h" +#import "DBTEAMLOGAccountLockOrUnlockedType.h" +#import "DBTEAMLOGAccountState.h" +#import "DBTEAMLOGActionDetails.h" #import "DBTEAMLOGActorLogInfo.h" +#import "DBTEAMLOGAdminAlertCategoryEnum.h" +#import "DBTEAMLOGAdminAlertGeneralStateEnum.h" +#import "DBTEAMLOGAdminAlertSeverityEnum.h" +#import "DBTEAMLOGAdminAlertingAlertConfiguration.h" +#import "DBTEAMLOGAdminAlertingAlertSensitivity.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedDetails.h" +#import "DBTEAMLOGAdminAlertingAlertStateChangedType.h" +#import "DBTEAMLOGAdminAlertingAlertStatePolicy.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigDetails.h" +#import "DBTEAMLOGAdminAlertingChangedAlertConfigType.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertDetails.h" +#import "DBTEAMLOGAdminAlertingTriggeredAlertType.h" +#import "DBTEAMLOGAdminConsoleAppPermission.h" +#import "DBTEAMLOGAdminConsoleAppPolicy.h" +#import "DBTEAMLOGAdminEmailRemindersChangedDetails.h" +#import "DBTEAMLOGAdminEmailRemindersChangedType.h" +#import "DBTEAMLOGAdminEmailRemindersPolicy.h" #import "DBTEAMLOGAdminRole.h" +#import "DBTEAMLOGAlertRecipientsSettingType.h" #import "DBTEAMLOGAllowDownloadDisabledDetails.h" +#import "DBTEAMLOGAllowDownloadDisabledType.h" #import "DBTEAMLOGAllowDownloadEnabledDetails.h" +#import "DBTEAMLOGAllowDownloadEnabledType.h" #import "DBTEAMLOGApiSessionLogInfo.h" +#import "DBTEAMLOGAppBlockedByPermissionsDetails.h" +#import "DBTEAMLOGAppBlockedByPermissionsType.h" #import "DBTEAMLOGAppLinkTeamDetails.h" +#import "DBTEAMLOGAppLinkTeamType.h" #import "DBTEAMLOGAppLinkUserDetails.h" +#import "DBTEAMLOGAppLinkUserType.h" #import "DBTEAMLOGAppLogInfo.h" +#import "DBTEAMLOGAppPermissionsChangedDetails.h" +#import "DBTEAMLOGAppPermissionsChangedType.h" #import "DBTEAMLOGAppUnlinkTeamDetails.h" +#import "DBTEAMLOGAppUnlinkTeamType.h" #import "DBTEAMLOGAppUnlinkUserDetails.h" +#import "DBTEAMLOGAppUnlinkUserType.h" +#import "DBTEAMLOGApplyNamingConventionDetails.h" +#import "DBTEAMLOGApplyNamingConventionType.h" #import "DBTEAMLOGAssetLogInfo.h" +#import "DBTEAMLOGBackupAdminInvitationSentDetails.h" +#import "DBTEAMLOGBackupAdminInvitationSentType.h" +#import "DBTEAMLOGBackupInvitationOpenedDetails.h" +#import "DBTEAMLOGBackupInvitationOpenedType.h" +#import "DBTEAMLOGBackupStatus.h" +#import "DBTEAMLOGBinderAddPageDetails.h" +#import "DBTEAMLOGBinderAddPageType.h" +#import "DBTEAMLOGBinderAddSectionDetails.h" +#import "DBTEAMLOGBinderAddSectionType.h" +#import "DBTEAMLOGBinderRemovePageDetails.h" +#import "DBTEAMLOGBinderRemovePageType.h" +#import "DBTEAMLOGBinderRemoveSectionDetails.h" +#import "DBTEAMLOGBinderRemoveSectionType.h" +#import "DBTEAMLOGBinderRenamePageDetails.h" +#import "DBTEAMLOGBinderRenamePageType.h" +#import "DBTEAMLOGBinderRenameSectionDetails.h" +#import "DBTEAMLOGBinderRenameSectionType.h" +#import "DBTEAMLOGBinderReorderPageDetails.h" +#import "DBTEAMLOGBinderReorderPageType.h" +#import "DBTEAMLOGBinderReorderSectionDetails.h" +#import "DBTEAMLOGBinderReorderSectionType.h" +#import "DBTEAMLOGCameraUploadsPolicy.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedDetails.h" +#import "DBTEAMLOGCameraUploadsPolicyChangedType.h" +#import "DBTEAMLOGCaptureTranscriptPolicy.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedDetails.h" +#import "DBTEAMLOGCaptureTranscriptPolicyChangedType.h" #import "DBTEAMLOGCertificate.h" +#import "DBTEAMLOGChangeLinkExpirationPolicy.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleDetails.h" +#import "DBTEAMLOGChangedEnterpriseAdminRoleType.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusDetails.h" +#import "DBTEAMLOGChangedEnterpriseConnectedTeamStatusType.h" +#import "DBTEAMLOGClassificationChangePolicyDetails.h" +#import "DBTEAMLOGClassificationChangePolicyType.h" +#import "DBTEAMLOGClassificationCreateReportDetails.h" +#import "DBTEAMLOGClassificationCreateReportFailDetails.h" +#import "DBTEAMLOGClassificationCreateReportFailType.h" +#import "DBTEAMLOGClassificationCreateReportType.h" +#import "DBTEAMLOGClassificationPolicyEnumWrapper.h" +#import "DBTEAMLOGClassificationType.h" #import "DBTEAMLOGCollectionShareDetails.h" -#import "DBTEAMLOGConfidentiality.h" +#import "DBTEAMLOGCollectionShareType.h" +#import "DBTEAMLOGComputerBackupPolicy.h" +#import "DBTEAMLOGComputerBackupPolicyChangedDetails.h" +#import "DBTEAMLOGComputerBackupPolicyChangedType.h" +#import "DBTEAMLOGConnectedTeamName.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedDetails.h" +#import "DBTEAMLOGContentAdministrationPolicyChangedType.h" #import "DBTEAMLOGContentPermanentDeletePolicy.h" #import "DBTEAMLOGContextLogInfo.h" #import "DBTEAMLOGCreateFolderDetails.h" +#import "DBTEAMLOGCreateFolderType.h" +#import "DBTEAMLOGCreateTeamInviteLinkDetails.h" +#import "DBTEAMLOGCreateTeamInviteLinkType.h" #import "DBTEAMLOGDataPlacementRestrictionChangePolicyDetails.h" +#import "DBTEAMLOGDataPlacementRestrictionChangePolicyType.h" #import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyDetails.h" +#import "DBTEAMLOGDataPlacementRestrictionSatisfyPolicyType.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulDetails.h" +#import "DBTEAMLOGDataResidencyMigrationRequestSuccessfulType.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulDetails.h" +#import "DBTEAMLOGDataResidencyMigrationRequestUnsuccessfulType.h" +#import "DBTEAMLOGDefaultLinkExpirationDaysPolicy.h" +#import "DBTEAMLOGDeleteTeamInviteLinkDetails.h" +#import "DBTEAMLOGDeleteTeamInviteLinkType.h" +#import "DBTEAMLOGDesktopDeviceSessionLogInfo.h" #import "DBTEAMLOGDesktopSessionLogInfo.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionDetails.h" +#import "DBTEAMLOGDeviceApprovalsAddExceptionType.h" #import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeDesktopPolicyType.h" #import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeMobilePolicyType.h" #import "DBTEAMLOGDeviceApprovalsChangeOverageActionDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeOverageActionType.h" #import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionDetails.h" +#import "DBTEAMLOGDeviceApprovalsChangeUnlinkActionType.h" #import "DBTEAMLOGDeviceApprovalsPolicy.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionDetails.h" +#import "DBTEAMLOGDeviceApprovalsRemoveExceptionType.h" #import "DBTEAMLOGDeviceChangeIpDesktopDetails.h" +#import "DBTEAMLOGDeviceChangeIpDesktopType.h" #import "DBTEAMLOGDeviceChangeIpMobileDetails.h" +#import "DBTEAMLOGDeviceChangeIpMobileType.h" #import "DBTEAMLOGDeviceChangeIpWebDetails.h" +#import "DBTEAMLOGDeviceChangeIpWebType.h" #import "DBTEAMLOGDeviceDeleteOnUnlinkFailDetails.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkFailType.h" #import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessDetails.h" +#import "DBTEAMLOGDeviceDeleteOnUnlinkSuccessType.h" #import "DBTEAMLOGDeviceLinkFailDetails.h" +#import "DBTEAMLOGDeviceLinkFailType.h" #import "DBTEAMLOGDeviceLinkSuccessDetails.h" -#import "DBTEAMLOGDeviceLogInfo.h" +#import "DBTEAMLOGDeviceLinkSuccessType.h" #import "DBTEAMLOGDeviceManagementDisabledDetails.h" +#import "DBTEAMLOGDeviceManagementDisabledType.h" #import "DBTEAMLOGDeviceManagementEnabledDetails.h" +#import "DBTEAMLOGDeviceManagementEnabledType.h" +#import "DBTEAMLOGDeviceSessionLogInfo.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedDetails.h" +#import "DBTEAMLOGDeviceSyncBackupStatusChangedType.h" #import "DBTEAMLOGDeviceType.h" #import "DBTEAMLOGDeviceUnlinkDetails.h" #import "DBTEAMLOGDeviceUnlinkPolicy.h" +#import "DBTEAMLOGDeviceUnlinkType.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersDetails.h" +#import "DBTEAMLOGDirectoryRestrictionsAddMembersType.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersDetails.h" +#import "DBTEAMLOGDirectoryRestrictionsRemoveMembersType.h" #import "DBTEAMLOGDisabledDomainInvitesDetails.h" +#import "DBTEAMLOGDisabledDomainInvitesType.h" +#import "DBTEAMLOGDispositionActionType.h" #import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesApproveRequestToJoinTeamType.h" #import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesDeclineRequestToJoinTeamType.h" #import "DBTEAMLOGDomainInvitesEmailExistingUsersDetails.h" +#import "DBTEAMLOGDomainInvitesEmailExistingUsersType.h" #import "DBTEAMLOGDomainInvitesRequestToJoinTeamDetails.h" +#import "DBTEAMLOGDomainInvitesRequestToJoinTeamType.h" #import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoDetails.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToNoType.h" #import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesDetails.h" +#import "DBTEAMLOGDomainInvitesSetInviteNewUserPrefToYesType.h" #import "DBTEAMLOGDomainVerificationAddDomainFailDetails.h" +#import "DBTEAMLOGDomainVerificationAddDomainFailType.h" #import "DBTEAMLOGDomainVerificationAddDomainSuccessDetails.h" +#import "DBTEAMLOGDomainVerificationAddDomainSuccessType.h" #import "DBTEAMLOGDomainVerificationRemoveDomainDetails.h" +#import "DBTEAMLOGDomainVerificationRemoveDomainType.h" +#import "DBTEAMLOGDownloadPolicyType.h" +#import "DBTEAMLOGDropboxPasswordsExportedDetails.h" +#import "DBTEAMLOGDropboxPasswordsExportedType.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails.h" +#import "DBTEAMLOGDropboxPasswordsNewDeviceEnrolledType.h" +#import "DBTEAMLOGDropboxPasswordsPolicy.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedDetails.h" +#import "DBTEAMLOGDropboxPasswordsPolicyChangedType.h" #import "DBTEAMLOGDurationLogInfo.h" +#import "DBTEAMLOGEmailIngestPolicy.h" +#import "DBTEAMLOGEmailIngestPolicyChangedDetails.h" +#import "DBTEAMLOGEmailIngestPolicyChangedType.h" +#import "DBTEAMLOGEmailIngestReceiveFileDetails.h" +#import "DBTEAMLOGEmailIngestReceiveFileType.h" #import "DBTEAMLOGEmmAddExceptionDetails.h" +#import "DBTEAMLOGEmmAddExceptionType.h" #import "DBTEAMLOGEmmChangePolicyDetails.h" +#import "DBTEAMLOGEmmChangePolicyType.h" #import "DBTEAMLOGEmmCreateExceptionsReportDetails.h" +#import "DBTEAMLOGEmmCreateExceptionsReportType.h" #import "DBTEAMLOGEmmCreateUsageReportDetails.h" +#import "DBTEAMLOGEmmCreateUsageReportType.h" #import "DBTEAMLOGEmmErrorDetails.h" +#import "DBTEAMLOGEmmErrorType.h" #import "DBTEAMLOGEmmRefreshAuthTokenDetails.h" +#import "DBTEAMLOGEmmRefreshAuthTokenType.h" #import "DBTEAMLOGEmmRemoveExceptionDetails.h" +#import "DBTEAMLOGEmmRemoveExceptionType.h" #import "DBTEAMLOGEnabledDomainInvitesDetails.h" +#import "DBTEAMLOGEnabledDomainInvitesType.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedDetails.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDeprecatedType.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionDetails.h" +#import "DBTEAMLOGEndedEnterpriseAdminSessionType.h" +#import "DBTEAMLOGEnforceLinkPasswordPolicy.h" +#import "DBTEAMLOGEnterpriseSettingsLockingDetails.h" +#import "DBTEAMLOGEnterpriseSettingsLockingType.h" #import "DBTEAMLOGEventCategory.h" #import "DBTEAMLOGEventDetails.h" #import "DBTEAMLOGEventType.h" +#import "DBTEAMLOGEventTypeArg.h" +#import "DBTEAMLOGExportMembersReportDetails.h" +#import "DBTEAMLOGExportMembersReportFailDetails.h" +#import "DBTEAMLOGExportMembersReportFailType.h" +#import "DBTEAMLOGExportMembersReportType.h" #import "DBTEAMLOGExtendedVersionHistoryChangePolicyDetails.h" +#import "DBTEAMLOGExtendedVersionHistoryChangePolicyType.h" #import "DBTEAMLOGExtendedVersionHistoryPolicy.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatus.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedDetails.h" +#import "DBTEAMLOGExternalDriveBackupEligibilityStatusCheckedType.h" +#import "DBTEAMLOGExternalDriveBackupPolicy.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedDetails.h" +#import "DBTEAMLOGExternalDriveBackupPolicyChangedType.h" +#import "DBTEAMLOGExternalDriveBackupStatus.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedDetails.h" +#import "DBTEAMLOGExternalDriveBackupStatusChangedType.h" +#import "DBTEAMLOGExternalSharingCreateReportDetails.h" +#import "DBTEAMLOGExternalSharingCreateReportType.h" +#import "DBTEAMLOGExternalSharingReportFailedDetails.h" +#import "DBTEAMLOGExternalSharingReportFailedType.h" +#import "DBTEAMLOGExternalUserLogInfo.h" #import "DBTEAMLOGFailureDetailsLogInfo.h" +#import "DBTEAMLOGFedAdminRole.h" +#import "DBTEAMLOGFedExtraDetails.h" +#import "DBTEAMLOGFedHandshakeAction.h" +#import "DBTEAMLOGFederationStatusChangeAdditionalInfo.h" #import "DBTEAMLOGFileAddCommentDetails.h" +#import "DBTEAMLOGFileAddCommentType.h" #import "DBTEAMLOGFileAddDetails.h" +#import "DBTEAMLOGFileAddFromAutomationDetails.h" +#import "DBTEAMLOGFileAddFromAutomationType.h" +#import "DBTEAMLOGFileAddType.h" #import "DBTEAMLOGFileChangeCommentSubscriptionDetails.h" +#import "DBTEAMLOGFileChangeCommentSubscriptionType.h" #import "DBTEAMLOGFileCommentNotificationPolicy.h" #import "DBTEAMLOGFileCommentsChangePolicyDetails.h" +#import "DBTEAMLOGFileCommentsChangePolicyType.h" #import "DBTEAMLOGFileCommentsPolicy.h" #import "DBTEAMLOGFileCopyDetails.h" +#import "DBTEAMLOGFileCopyType.h" #import "DBTEAMLOGFileDeleteCommentDetails.h" +#import "DBTEAMLOGFileDeleteCommentType.h" #import "DBTEAMLOGFileDeleteDetails.h" +#import "DBTEAMLOGFileDeleteType.h" #import "DBTEAMLOGFileDownloadDetails.h" +#import "DBTEAMLOGFileDownloadType.h" +#import "DBTEAMLOGFileEditCommentDetails.h" +#import "DBTEAMLOGFileEditCommentType.h" #import "DBTEAMLOGFileEditDetails.h" +#import "DBTEAMLOGFileEditType.h" #import "DBTEAMLOGFileGetCopyReferenceDetails.h" +#import "DBTEAMLOGFileGetCopyReferenceType.h" #import "DBTEAMLOGFileLikeCommentDetails.h" +#import "DBTEAMLOGFileLikeCommentType.h" +#import "DBTEAMLOGFileLockingLockStatusChangedDetails.h" +#import "DBTEAMLOGFileLockingLockStatusChangedType.h" +#import "DBTEAMLOGFileLockingPolicyChangedDetails.h" +#import "DBTEAMLOGFileLockingPolicyChangedType.h" #import "DBTEAMLOGFileLogInfo.h" #import "DBTEAMLOGFileMoveDetails.h" +#import "DBTEAMLOGFileMoveType.h" #import "DBTEAMLOGFileOrFolderLogInfo.h" #import "DBTEAMLOGFilePermanentlyDeleteDetails.h" +#import "DBTEAMLOGFilePermanentlyDeleteType.h" #import "DBTEAMLOGFilePreviewDetails.h" +#import "DBTEAMLOGFilePreviewType.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedDetails.h" +#import "DBTEAMLOGFileProviderMigrationPolicyChangedType.h" #import "DBTEAMLOGFileRenameDetails.h" -#import "DBTEAMLOGFileRequestAddDeadlineDetails.h" +#import "DBTEAMLOGFileRenameType.h" #import "DBTEAMLOGFileRequestChangeDetails.h" -#import "DBTEAMLOGFileRequestChangeFolderDetails.h" +#import "DBTEAMLOGFileRequestChangeType.h" #import "DBTEAMLOGFileRequestCloseDetails.h" +#import "DBTEAMLOGFileRequestCloseType.h" #import "DBTEAMLOGFileRequestCreateDetails.h" +#import "DBTEAMLOGFileRequestCreateType.h" +#import "DBTEAMLOGFileRequestDeadline.h" +#import "DBTEAMLOGFileRequestDeleteDetails.h" +#import "DBTEAMLOGFileRequestDeleteType.h" #import "DBTEAMLOGFileRequestDetails.h" #import "DBTEAMLOGFileRequestReceiveFileDetails.h" -#import "DBTEAMLOGFileRequestRemoveDeadlineDetails.h" -#import "DBTEAMLOGFileRequestSendDetails.h" +#import "DBTEAMLOGFileRequestReceiveFileType.h" #import "DBTEAMLOGFileRequestsChangePolicyDetails.h" +#import "DBTEAMLOGFileRequestsChangePolicyType.h" #import "DBTEAMLOGFileRequestsEmailsEnabledDetails.h" +#import "DBTEAMLOGFileRequestsEmailsEnabledType.h" #import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyDetails.h" +#import "DBTEAMLOGFileRequestsEmailsRestrictedToTeamOnlyType.h" #import "DBTEAMLOGFileRequestsPolicy.h" #import "DBTEAMLOGFileResolveCommentDetails.h" +#import "DBTEAMLOGFileResolveCommentType.h" #import "DBTEAMLOGFileRestoreDetails.h" +#import "DBTEAMLOGFileRestoreType.h" #import "DBTEAMLOGFileRevertDetails.h" +#import "DBTEAMLOGFileRevertType.h" #import "DBTEAMLOGFileRollbackChangesDetails.h" +#import "DBTEAMLOGFileRollbackChangesType.h" #import "DBTEAMLOGFileSaveCopyReferenceDetails.h" +#import "DBTEAMLOGFileSaveCopyReferenceType.h" +#import "DBTEAMLOGFileTransfersFileAddDetails.h" +#import "DBTEAMLOGFileTransfersFileAddType.h" +#import "DBTEAMLOGFileTransfersPolicy.h" +#import "DBTEAMLOGFileTransfersPolicyChangedDetails.h" +#import "DBTEAMLOGFileTransfersPolicyChangedType.h" +#import "DBTEAMLOGFileTransfersTransferDeleteDetails.h" +#import "DBTEAMLOGFileTransfersTransferDeleteType.h" +#import "DBTEAMLOGFileTransfersTransferDownloadDetails.h" +#import "DBTEAMLOGFileTransfersTransferDownloadType.h" +#import "DBTEAMLOGFileTransfersTransferSendDetails.h" +#import "DBTEAMLOGFileTransfersTransferSendType.h" +#import "DBTEAMLOGFileTransfersTransferViewDetails.h" +#import "DBTEAMLOGFileTransfersTransferViewType.h" #import "DBTEAMLOGFileUnlikeCommentDetails.h" +#import "DBTEAMLOGFileUnlikeCommentType.h" #import "DBTEAMLOGFileUnresolveCommentDetails.h" +#import "DBTEAMLOGFileUnresolveCommentType.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicy.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedDetails.h" +#import "DBTEAMLOGFolderLinkRestrictionPolicyChangedType.h" #import "DBTEAMLOGFolderLogInfo.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedDetails.h" +#import "DBTEAMLOGFolderOverviewDescriptionChangedType.h" +#import "DBTEAMLOGFolderOverviewItemPinnedDetails.h" +#import "DBTEAMLOGFolderOverviewItemPinnedType.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedDetails.h" +#import "DBTEAMLOGFolderOverviewItemUnpinnedType.h" #import "DBTEAMLOGGeoLocationLogInfo.h" #import "DBTEAMLOGGetTeamEventsArg.h" #import "DBTEAMLOGGetTeamEventsContinueArg.h" @@ -745,271 +1231,866 @@ #import "DBTEAMLOGGetTeamEventsError.h" #import "DBTEAMLOGGetTeamEventsResult.h" #import "DBTEAMLOGGoogleSsoChangePolicyDetails.h" +#import "DBTEAMLOGGoogleSsoChangePolicyType.h" #import "DBTEAMLOGGoogleSsoPolicy.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedDetails.h" +#import "DBTEAMLOGGovernancePolicyAddFolderFailedType.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersDetails.h" +#import "DBTEAMLOGGovernancePolicyAddFoldersType.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedDetails.h" +#import "DBTEAMLOGGovernancePolicyContentDisposedType.h" +#import "DBTEAMLOGGovernancePolicyCreateDetails.h" +#import "DBTEAMLOGGovernancePolicyCreateType.h" +#import "DBTEAMLOGGovernancePolicyDeleteDetails.h" +#import "DBTEAMLOGGovernancePolicyDeleteType.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsDetails.h" +#import "DBTEAMLOGGovernancePolicyEditDetailsType.h" +#import "DBTEAMLOGGovernancePolicyEditDurationDetails.h" +#import "DBTEAMLOGGovernancePolicyEditDurationType.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedDetails.h" +#import "DBTEAMLOGGovernancePolicyExportCreatedType.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedDetails.h" +#import "DBTEAMLOGGovernancePolicyExportRemovedType.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersDetails.h" +#import "DBTEAMLOGGovernancePolicyRemoveFoldersType.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedDetails.h" +#import "DBTEAMLOGGovernancePolicyReportCreatedType.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedDetails.h" +#import "DBTEAMLOGGovernancePolicyZipPartDownloadedType.h" #import "DBTEAMLOGGroupAddExternalIdDetails.h" +#import "DBTEAMLOGGroupAddExternalIdType.h" #import "DBTEAMLOGGroupAddMemberDetails.h" +#import "DBTEAMLOGGroupAddMemberType.h" #import "DBTEAMLOGGroupChangeExternalIdDetails.h" +#import "DBTEAMLOGGroupChangeExternalIdType.h" #import "DBTEAMLOGGroupChangeManagementTypeDetails.h" +#import "DBTEAMLOGGroupChangeManagementTypeType.h" #import "DBTEAMLOGGroupChangeMemberRoleDetails.h" +#import "DBTEAMLOGGroupChangeMemberRoleType.h" #import "DBTEAMLOGGroupCreateDetails.h" +#import "DBTEAMLOGGroupCreateType.h" #import "DBTEAMLOGGroupDeleteDetails.h" +#import "DBTEAMLOGGroupDeleteType.h" +#import "DBTEAMLOGGroupDescriptionUpdatedDetails.h" +#import "DBTEAMLOGGroupDescriptionUpdatedType.h" #import "DBTEAMLOGGroupJoinPolicy.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedDetails.h" +#import "DBTEAMLOGGroupJoinPolicyUpdatedType.h" #import "DBTEAMLOGGroupLogInfo.h" #import "DBTEAMLOGGroupMovedDetails.h" +#import "DBTEAMLOGGroupMovedType.h" #import "DBTEAMLOGGroupRemoveExternalIdDetails.h" +#import "DBTEAMLOGGroupRemoveExternalIdType.h" #import "DBTEAMLOGGroupRemoveMemberDetails.h" +#import "DBTEAMLOGGroupRemoveMemberType.h" #import "DBTEAMLOGGroupRenameDetails.h" +#import "DBTEAMLOGGroupRenameType.h" #import "DBTEAMLOGGroupUserManagementChangePolicyDetails.h" +#import "DBTEAMLOGGroupUserManagementChangePolicyType.h" +#import "DBTEAMLOGGuestAdminChangeStatusDetails.h" +#import "DBTEAMLOGGuestAdminChangeStatusType.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsDetails.h" +#import "DBTEAMLOGGuestAdminSignedInViaTrustedTeamsType.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsDetails.h" +#import "DBTEAMLOGGuestAdminSignedOutViaTrustedTeamsType.h" +#import "DBTEAMLOGIdentifierType.h" +#import "DBTEAMLOGIntegrationConnectedDetails.h" +#import "DBTEAMLOGIntegrationConnectedType.h" +#import "DBTEAMLOGIntegrationDisconnectedDetails.h" +#import "DBTEAMLOGIntegrationDisconnectedType.h" +#import "DBTEAMLOGIntegrationPolicy.h" +#import "DBTEAMLOGIntegrationPolicyChangedDetails.h" +#import "DBTEAMLOGIntegrationPolicyChangedType.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicy.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedDetails.h" +#import "DBTEAMLOGInviteAcceptanceEmailPolicyChangedType.h" +#import "DBTEAMLOGInviteMethod.h" #import "DBTEAMLOGJoinTeamDetails.h" -#import "DBTEAMLOGLinkAudience.h" +#import "DBTEAMLOGLabelType.h" +#import "DBTEAMLOGLegacyDeviceSessionLogInfo.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsActivateAHoldType.h" +#import "DBTEAMLOGLegalHoldsAddMembersDetails.h" +#import "DBTEAMLOGLegalHoldsAddMembersType.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsDetails.h" +#import "DBTEAMLOGLegalHoldsChangeHoldDetailsType.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameDetails.h" +#import "DBTEAMLOGLegalHoldsChangeHoldNameType.h" +#import "DBTEAMLOGLegalHoldsExportAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsExportAHoldType.h" +#import "DBTEAMLOGLegalHoldsExportCancelledDetails.h" +#import "DBTEAMLOGLegalHoldsExportCancelledType.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedDetails.h" +#import "DBTEAMLOGLegalHoldsExportDownloadedType.h" +#import "DBTEAMLOGLegalHoldsExportRemovedDetails.h" +#import "DBTEAMLOGLegalHoldsExportRemovedType.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsReleaseAHoldType.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersDetails.h" +#import "DBTEAMLOGLegalHoldsRemoveMembersType.h" +#import "DBTEAMLOGLegalHoldsReportAHoldDetails.h" +#import "DBTEAMLOGLegalHoldsReportAHoldType.h" +#import "DBTEAMLOGLinkedDeviceLogInfo.h" +#import "DBTEAMLOGLockStatus.h" #import "DBTEAMLOGLoginFailDetails.h" +#import "DBTEAMLOGLoginFailType.h" #import "DBTEAMLOGLoginMethod.h" #import "DBTEAMLOGLoginSuccessDetails.h" +#import "DBTEAMLOGLoginSuccessType.h" #import "DBTEAMLOGLogoutDetails.h" +#import "DBTEAMLOGLogoutType.h" +#import "DBTEAMLOGMemberAddExternalIdDetails.h" +#import "DBTEAMLOGMemberAddExternalIdType.h" #import "DBTEAMLOGMemberAddNameDetails.h" +#import "DBTEAMLOGMemberAddNameType.h" #import "DBTEAMLOGMemberChangeAdminRoleDetails.h" +#import "DBTEAMLOGMemberChangeAdminRoleType.h" #import "DBTEAMLOGMemberChangeEmailDetails.h" +#import "DBTEAMLOGMemberChangeEmailType.h" +#import "DBTEAMLOGMemberChangeExternalIdDetails.h" +#import "DBTEAMLOGMemberChangeExternalIdType.h" #import "DBTEAMLOGMemberChangeMembershipTypeDetails.h" +#import "DBTEAMLOGMemberChangeMembershipTypeType.h" #import "DBTEAMLOGMemberChangeNameDetails.h" +#import "DBTEAMLOGMemberChangeNameType.h" +#import "DBTEAMLOGMemberChangeResellerRoleDetails.h" +#import "DBTEAMLOGMemberChangeResellerRoleType.h" #import "DBTEAMLOGMemberChangeStatusDetails.h" +#import "DBTEAMLOGMemberChangeStatusType.h" +#import "DBTEAMLOGMemberDeleteManualContactsDetails.h" +#import "DBTEAMLOGMemberDeleteManualContactsType.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoDetails.h" +#import "DBTEAMLOGMemberDeleteProfilePhotoType.h" #import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsDetails.h" +#import "DBTEAMLOGMemberPermanentlyDeleteAccountContentsType.h" +#import "DBTEAMLOGMemberRemoveActionType.h" +#import "DBTEAMLOGMemberRemoveExternalIdDetails.h" +#import "DBTEAMLOGMemberRemoveExternalIdType.h" #import "DBTEAMLOGMemberRequestsChangePolicyDetails.h" +#import "DBTEAMLOGMemberRequestsChangePolicyType.h" #import "DBTEAMLOGMemberRequestsPolicy.h" +#import "DBTEAMLOGMemberSendInvitePolicy.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedDetails.h" +#import "DBTEAMLOGMemberSendInvitePolicyChangedType.h" +#import "DBTEAMLOGMemberSetProfilePhotoDetails.h" +#import "DBTEAMLOGMemberSetProfilePhotoType.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsAddCustomQuotaType.h" #import "DBTEAMLOGMemberSpaceLimitsAddExceptionDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsAddExceptionType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCapsTypePolicyType.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeCustomQuotaType.h" #import "DBTEAMLOGMemberSpaceLimitsChangePolicyDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangePolicyType.h" #import "DBTEAMLOGMemberSpaceLimitsChangeStatusDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsChangeStatusType.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveCustomQuotaType.h" #import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionDetails.h" +#import "DBTEAMLOGMemberSpaceLimitsRemoveExceptionType.h" #import "DBTEAMLOGMemberStatus.h" #import "DBTEAMLOGMemberSuggestDetails.h" +#import "DBTEAMLOGMemberSuggestType.h" #import "DBTEAMLOGMemberSuggestionsChangePolicyDetails.h" +#import "DBTEAMLOGMemberSuggestionsChangePolicyType.h" #import "DBTEAMLOGMemberSuggestionsPolicy.h" #import "DBTEAMLOGMemberTransferAccountContentsDetails.h" +#import "DBTEAMLOGMemberTransferAccountContentsType.h" +#import "DBTEAMLOGMemberTransferredInternalFields.h" #import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyDetails.h" +#import "DBTEAMLOGMicrosoftOfficeAddinChangePolicyType.h" #import "DBTEAMLOGMicrosoftOfficeAddinPolicy.h" #import "DBTEAMLOGMissingDetails.h" +#import "DBTEAMLOGMobileDeviceSessionLogInfo.h" #import "DBTEAMLOGMobileSessionLogInfo.h" #import "DBTEAMLOGNamespaceRelativePathLogInfo.h" #import "DBTEAMLOGNetworkControlChangePolicyDetails.h" +#import "DBTEAMLOGNetworkControlChangePolicyType.h" #import "DBTEAMLOGNetworkControlPolicy.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportDetails.h" +#import "DBTEAMLOGNoExpirationLinkGenCreateReportType.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedDetails.h" +#import "DBTEAMLOGNoExpirationLinkGenReportFailedType.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportDetails.h" +#import "DBTEAMLOGNoPasswordLinkGenCreateReportType.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedDetails.h" +#import "DBTEAMLOGNoPasswordLinkGenReportFailedType.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportDetails.h" +#import "DBTEAMLOGNoPasswordLinkViewCreateReportType.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedDetails.h" +#import "DBTEAMLOGNoPasswordLinkViewReportFailedType.h" #import "DBTEAMLOGNonTeamMemberLogInfo.h" +#import "DBTEAMLOGNonTrustedTeamDetails.h" #import "DBTEAMLOGNoteAclInviteOnlyDetails.h" +#import "DBTEAMLOGNoteAclInviteOnlyType.h" #import "DBTEAMLOGNoteAclLinkDetails.h" +#import "DBTEAMLOGNoteAclLinkType.h" #import "DBTEAMLOGNoteAclTeamLinkDetails.h" +#import "DBTEAMLOGNoteAclTeamLinkType.h" #import "DBTEAMLOGNoteShareReceiveDetails.h" +#import "DBTEAMLOGNoteShareReceiveType.h" #import "DBTEAMLOGNoteSharedDetails.h" +#import "DBTEAMLOGNoteSharedType.h" +#import "DBTEAMLOGObjectLabelAddedDetails.h" +#import "DBTEAMLOGObjectLabelAddedType.h" +#import "DBTEAMLOGObjectLabelRemovedDetails.h" +#import "DBTEAMLOGObjectLabelRemovedType.h" +#import "DBTEAMLOGObjectLabelUpdatedValueDetails.h" +#import "DBTEAMLOGObjectLabelUpdatedValueType.h" #import "DBTEAMLOGOpenNoteSharedDetails.h" +#import "DBTEAMLOGOpenNoteSharedType.h" +#import "DBTEAMLOGOrganizationDetails.h" +#import "DBTEAMLOGOrganizationName.h" +#import "DBTEAMLOGOrganizeFolderWithTidyDetails.h" +#import "DBTEAMLOGOrganizeFolderWithTidyType.h" #import "DBTEAMLOGOriginLogInfo.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportDetails.h" +#import "DBTEAMLOGOutdatedLinkViewCreateReportType.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedDetails.h" +#import "DBTEAMLOGOutdatedLinkViewReportFailedType.h" #import "DBTEAMLOGPaperAccessType.h" #import "DBTEAMLOGPaperAdminExportStartDetails.h" +#import "DBTEAMLOGPaperAdminExportStartType.h" #import "DBTEAMLOGPaperChangeDeploymentPolicyDetails.h" +#import "DBTEAMLOGPaperChangeDeploymentPolicyType.h" #import "DBTEAMLOGPaperChangeMemberLinkPolicyDetails.h" +#import "DBTEAMLOGPaperChangeMemberLinkPolicyType.h" #import "DBTEAMLOGPaperChangeMemberPolicyDetails.h" +#import "DBTEAMLOGPaperChangeMemberPolicyType.h" #import "DBTEAMLOGPaperChangePolicyDetails.h" +#import "DBTEAMLOGPaperChangePolicyType.h" #import "DBTEAMLOGPaperContentAddMemberDetails.h" +#import "DBTEAMLOGPaperContentAddMemberType.h" #import "DBTEAMLOGPaperContentAddToFolderDetails.h" +#import "DBTEAMLOGPaperContentAddToFolderType.h" #import "DBTEAMLOGPaperContentArchiveDetails.h" +#import "DBTEAMLOGPaperContentArchiveType.h" #import "DBTEAMLOGPaperContentCreateDetails.h" +#import "DBTEAMLOGPaperContentCreateType.h" #import "DBTEAMLOGPaperContentPermanentlyDeleteDetails.h" +#import "DBTEAMLOGPaperContentPermanentlyDeleteType.h" #import "DBTEAMLOGPaperContentRemoveFromFolderDetails.h" +#import "DBTEAMLOGPaperContentRemoveFromFolderType.h" #import "DBTEAMLOGPaperContentRemoveMemberDetails.h" +#import "DBTEAMLOGPaperContentRemoveMemberType.h" #import "DBTEAMLOGPaperContentRenameDetails.h" +#import "DBTEAMLOGPaperContentRenameType.h" #import "DBTEAMLOGPaperContentRestoreDetails.h" +#import "DBTEAMLOGPaperContentRestoreType.h" +#import "DBTEAMLOGPaperDefaultFolderPolicy.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedDetails.h" +#import "DBTEAMLOGPaperDefaultFolderPolicyChangedType.h" +#import "DBTEAMLOGPaperDesktopPolicy.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedDetails.h" +#import "DBTEAMLOGPaperDesktopPolicyChangedType.h" #import "DBTEAMLOGPaperDocAddCommentDetails.h" +#import "DBTEAMLOGPaperDocAddCommentType.h" #import "DBTEAMLOGPaperDocChangeMemberRoleDetails.h" +#import "DBTEAMLOGPaperDocChangeMemberRoleType.h" #import "DBTEAMLOGPaperDocChangeSharingPolicyDetails.h" +#import "DBTEAMLOGPaperDocChangeSharingPolicyType.h" #import "DBTEAMLOGPaperDocChangeSubscriptionDetails.h" +#import "DBTEAMLOGPaperDocChangeSubscriptionType.h" #import "DBTEAMLOGPaperDocDeleteCommentDetails.h" +#import "DBTEAMLOGPaperDocDeleteCommentType.h" #import "DBTEAMLOGPaperDocDeletedDetails.h" +#import "DBTEAMLOGPaperDocDeletedType.h" #import "DBTEAMLOGPaperDocDownloadDetails.h" +#import "DBTEAMLOGPaperDocDownloadType.h" #import "DBTEAMLOGPaperDocEditCommentDetails.h" +#import "DBTEAMLOGPaperDocEditCommentType.h" #import "DBTEAMLOGPaperDocEditDetails.h" +#import "DBTEAMLOGPaperDocEditType.h" #import "DBTEAMLOGPaperDocFollowedDetails.h" +#import "DBTEAMLOGPaperDocFollowedType.h" #import "DBTEAMLOGPaperDocMentionDetails.h" +#import "DBTEAMLOGPaperDocMentionType.h" +#import "DBTEAMLOGPaperDocOwnershipChangedDetails.h" +#import "DBTEAMLOGPaperDocOwnershipChangedType.h" #import "DBTEAMLOGPaperDocRequestAccessDetails.h" +#import "DBTEAMLOGPaperDocRequestAccessType.h" #import "DBTEAMLOGPaperDocResolveCommentDetails.h" +#import "DBTEAMLOGPaperDocResolveCommentType.h" #import "DBTEAMLOGPaperDocRevertDetails.h" +#import "DBTEAMLOGPaperDocRevertType.h" #import "DBTEAMLOGPaperDocSlackShareDetails.h" +#import "DBTEAMLOGPaperDocSlackShareType.h" #import "DBTEAMLOGPaperDocTeamInviteDetails.h" +#import "DBTEAMLOGPaperDocTeamInviteType.h" #import "DBTEAMLOGPaperDocTrashedDetails.h" +#import "DBTEAMLOGPaperDocTrashedType.h" #import "DBTEAMLOGPaperDocUnresolveCommentDetails.h" +#import "DBTEAMLOGPaperDocUnresolveCommentType.h" #import "DBTEAMLOGPaperDocUntrashedDetails.h" +#import "DBTEAMLOGPaperDocUntrashedType.h" #import "DBTEAMLOGPaperDocViewDetails.h" +#import "DBTEAMLOGPaperDocViewType.h" #import "DBTEAMLOGPaperDocumentLogInfo.h" #import "DBTEAMLOGPaperDownloadFormat.h" #import "DBTEAMLOGPaperEnabledUsersGroupAdditionDetails.h" +#import "DBTEAMLOGPaperEnabledUsersGroupAdditionType.h" #import "DBTEAMLOGPaperEnabledUsersGroupRemovalDetails.h" +#import "DBTEAMLOGPaperEnabledUsersGroupRemovalType.h" #import "DBTEAMLOGPaperExternalViewAllowDetails.h" +#import "DBTEAMLOGPaperExternalViewAllowType.h" #import "DBTEAMLOGPaperExternalViewDefaultTeamDetails.h" +#import "DBTEAMLOGPaperExternalViewDefaultTeamType.h" #import "DBTEAMLOGPaperExternalViewForbidDetails.h" +#import "DBTEAMLOGPaperExternalViewForbidType.h" #import "DBTEAMLOGPaperFolderChangeSubscriptionDetails.h" +#import "DBTEAMLOGPaperFolderChangeSubscriptionType.h" #import "DBTEAMLOGPaperFolderDeletedDetails.h" +#import "DBTEAMLOGPaperFolderDeletedType.h" #import "DBTEAMLOGPaperFolderFollowedDetails.h" +#import "DBTEAMLOGPaperFolderFollowedType.h" #import "DBTEAMLOGPaperFolderLogInfo.h" #import "DBTEAMLOGPaperFolderTeamInviteDetails.h" +#import "DBTEAMLOGPaperFolderTeamInviteType.h" #import "DBTEAMLOGPaperMemberPolicy.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionDetails.h" +#import "DBTEAMLOGPaperPublishedLinkChangePermissionType.h" +#import "DBTEAMLOGPaperPublishedLinkCreateDetails.h" +#import "DBTEAMLOGPaperPublishedLinkCreateType.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledDetails.h" +#import "DBTEAMLOGPaperPublishedLinkDisabledType.h" +#import "DBTEAMLOGPaperPublishedLinkViewDetails.h" +#import "DBTEAMLOGPaperPublishedLinkViewType.h" #import "DBTEAMLOGParticipantLogInfo.h" +#import "DBTEAMLOGPassPolicy.h" #import "DBTEAMLOGPasswordChangeDetails.h" +#import "DBTEAMLOGPasswordChangeType.h" #import "DBTEAMLOGPasswordResetAllDetails.h" +#import "DBTEAMLOGPasswordResetAllType.h" #import "DBTEAMLOGPasswordResetDetails.h" +#import "DBTEAMLOGPasswordResetType.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyDetails.h" +#import "DBTEAMLOGPasswordStrengthRequirementsChangePolicyType.h" #import "DBTEAMLOGPathLogInfo.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedDetails.h" +#import "DBTEAMLOGPendingSecondaryEmailAddedType.h" #import "DBTEAMLOGPermanentDeleteChangePolicyDetails.h" +#import "DBTEAMLOGPermanentDeleteChangePolicyType.h" #import "DBTEAMLOGPlacementRestriction.h" +#import "DBTEAMLOGPolicyType.h" +#import "DBTEAMLOGPrimaryTeamRequestAcceptedDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestCanceledDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestExpiredDetails.h" +#import "DBTEAMLOGPrimaryTeamRequestReminderDetails.h" +#import "DBTEAMLOGQuickActionType.h" +#import "DBTEAMLOGRansomwareAlertCreateReportDetails.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedDetails.h" +#import "DBTEAMLOGRansomwareAlertCreateReportFailedType.h" +#import "DBTEAMLOGRansomwareAlertCreateReportType.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedDetails.h" +#import "DBTEAMLOGRansomwareRestoreProcessCompletedType.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedDetails.h" +#import "DBTEAMLOGRansomwareRestoreProcessStartedType.h" +#import "DBTEAMLOGRecipientsConfiguration.h" #import "DBTEAMLOGRelocateAssetReferencesLogInfo.h" +#import "DBTEAMLOGReplayFileDeleteDetails.h" +#import "DBTEAMLOGReplayFileDeleteType.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedDetails.h" +#import "DBTEAMLOGReplayFileSharedLinkCreatedType.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedDetails.h" +#import "DBTEAMLOGReplayFileSharedLinkModifiedType.h" +#import "DBTEAMLOGReplayProjectTeamAddDetails.h" +#import "DBTEAMLOGReplayProjectTeamAddType.h" +#import "DBTEAMLOGReplayProjectTeamDeleteDetails.h" +#import "DBTEAMLOGReplayProjectTeamDeleteType.h" #import "DBTEAMLOGResellerLogInfo.h" +#import "DBTEAMLOGResellerRole.h" +#import "DBTEAMLOGResellerSupportChangePolicyDetails.h" +#import "DBTEAMLOGResellerSupportChangePolicyType.h" +#import "DBTEAMLOGResellerSupportPolicy.h" #import "DBTEAMLOGResellerSupportSessionEndDetails.h" +#import "DBTEAMLOGResellerSupportSessionEndType.h" #import "DBTEAMLOGResellerSupportSessionStartDetails.h" +#import "DBTEAMLOGResellerSupportSessionStartType.h" +#import "DBTEAMLOGRewindFolderDetails.h" +#import "DBTEAMLOGRewindFolderType.h" +#import "DBTEAMLOGRewindPolicy.h" +#import "DBTEAMLOGRewindPolicyChangedDetails.h" +#import "DBTEAMLOGRewindPolicyChangedType.h" +#import "DBTEAMLOGSecondaryEmailDeletedDetails.h" +#import "DBTEAMLOGSecondaryEmailDeletedType.h" +#import "DBTEAMLOGSecondaryEmailVerifiedDetails.h" +#import "DBTEAMLOGSecondaryEmailVerifiedType.h" +#import "DBTEAMLOGSecondaryMailsPolicy.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedDetails.h" +#import "DBTEAMLOGSecondaryMailsPolicyChangedType.h" +#import "DBTEAMLOGSecondaryTeamRequestAcceptedDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestCanceledDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestExpiredDetails.h" +#import "DBTEAMLOGSecondaryTeamRequestReminderDetails.h" +#import "DBTEAMLOGSendForSignaturePolicy.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedDetails.h" +#import "DBTEAMLOGSendForSignaturePolicyChangedType.h" #import "DBTEAMLOGSessionLogInfo.h" #import "DBTEAMLOGSfAddGroupDetails.h" +#import "DBTEAMLOGSfAddGroupType.h" #import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksDetails.h" +#import "DBTEAMLOGSfAllowNonMembersToViewSharedLinksType.h" #import "DBTEAMLOGSfExternalInviteWarnDetails.h" +#import "DBTEAMLOGSfExternalInviteWarnType.h" +#import "DBTEAMLOGSfFbInviteChangeRoleDetails.h" +#import "DBTEAMLOGSfFbInviteChangeRoleType.h" +#import "DBTEAMLOGSfFbInviteDetails.h" +#import "DBTEAMLOGSfFbInviteType.h" +#import "DBTEAMLOGSfFbUninviteDetails.h" +#import "DBTEAMLOGSfFbUninviteType.h" #import "DBTEAMLOGSfInviteGroupDetails.h" -#import "DBTEAMLOGSfNestDetails.h" -#import "DBTEAMLOGSfTeamDeclineDetails.h" +#import "DBTEAMLOGSfInviteGroupType.h" #import "DBTEAMLOGSfTeamGrantAccessDetails.h" +#import "DBTEAMLOGSfTeamGrantAccessType.h" #import "DBTEAMLOGSfTeamInviteChangeRoleDetails.h" +#import "DBTEAMLOGSfTeamInviteChangeRoleType.h" #import "DBTEAMLOGSfTeamInviteDetails.h" +#import "DBTEAMLOGSfTeamInviteType.h" #import "DBTEAMLOGSfTeamJoinDetails.h" #import "DBTEAMLOGSfTeamJoinFromOobLinkDetails.h" +#import "DBTEAMLOGSfTeamJoinFromOobLinkType.h" +#import "DBTEAMLOGSfTeamJoinType.h" #import "DBTEAMLOGSfTeamUninviteDetails.h" +#import "DBTEAMLOGSfTeamUninviteType.h" #import "DBTEAMLOGSharedContentAddInviteesDetails.h" +#import "DBTEAMLOGSharedContentAddInviteesType.h" #import "DBTEAMLOGSharedContentAddLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentAddLinkExpiryType.h" #import "DBTEAMLOGSharedContentAddLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentAddLinkPasswordType.h" #import "DBTEAMLOGSharedContentAddMemberDetails.h" +#import "DBTEAMLOGSharedContentAddMemberType.h" #import "DBTEAMLOGSharedContentChangeDownloadsPolicyDetails.h" +#import "DBTEAMLOGSharedContentChangeDownloadsPolicyType.h" #import "DBTEAMLOGSharedContentChangeInviteeRoleDetails.h" +#import "DBTEAMLOGSharedContentChangeInviteeRoleType.h" #import "DBTEAMLOGSharedContentChangeLinkAudienceDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkAudienceType.h" #import "DBTEAMLOGSharedContentChangeLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkExpiryType.h" #import "DBTEAMLOGSharedContentChangeLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentChangeLinkPasswordType.h" #import "DBTEAMLOGSharedContentChangeMemberRoleDetails.h" +#import "DBTEAMLOGSharedContentChangeMemberRoleType.h" #import "DBTEAMLOGSharedContentChangeViewerInfoPolicyDetails.h" +#import "DBTEAMLOGSharedContentChangeViewerInfoPolicyType.h" #import "DBTEAMLOGSharedContentClaimInvitationDetails.h" +#import "DBTEAMLOGSharedContentClaimInvitationType.h" #import "DBTEAMLOGSharedContentCopyDetails.h" +#import "DBTEAMLOGSharedContentCopyType.h" #import "DBTEAMLOGSharedContentDownloadDetails.h" -#import "DBTEAMLOGSharedContentDownloadsPolicy.h" +#import "DBTEAMLOGSharedContentDownloadType.h" #import "DBTEAMLOGSharedContentRelinquishMembershipDetails.h" -#import "DBTEAMLOGSharedContentRemoveInviteeDetails.h" +#import "DBTEAMLOGSharedContentRelinquishMembershipType.h" +#import "DBTEAMLOGSharedContentRemoveInviteesDetails.h" +#import "DBTEAMLOGSharedContentRemoveInviteesType.h" #import "DBTEAMLOGSharedContentRemoveLinkExpiryDetails.h" +#import "DBTEAMLOGSharedContentRemoveLinkExpiryType.h" #import "DBTEAMLOGSharedContentRemoveLinkPasswordDetails.h" +#import "DBTEAMLOGSharedContentRemoveLinkPasswordType.h" #import "DBTEAMLOGSharedContentRemoveMemberDetails.h" +#import "DBTEAMLOGSharedContentRemoveMemberType.h" #import "DBTEAMLOGSharedContentRequestAccessDetails.h" +#import "DBTEAMLOGSharedContentRequestAccessType.h" +#import "DBTEAMLOGSharedContentRestoreInviteesDetails.h" +#import "DBTEAMLOGSharedContentRestoreInviteesType.h" +#import "DBTEAMLOGSharedContentRestoreMemberDetails.h" +#import "DBTEAMLOGSharedContentRestoreMemberType.h" #import "DBTEAMLOGSharedContentUnshareDetails.h" +#import "DBTEAMLOGSharedContentUnshareType.h" #import "DBTEAMLOGSharedContentViewDetails.h" -#import "DBTEAMLOGSharedContentViewerInfoPolicy.h" -#import "DBTEAMLOGSharedFolderChangeConfidentialityDetails.h" +#import "DBTEAMLOGSharedContentViewType.h" #import "DBTEAMLOGSharedFolderChangeLinkPolicyDetails.h" -#import "DBTEAMLOGSharedFolderChangeMemberManagementPolicyDetails.h" -#import "DBTEAMLOGSharedFolderChangeMemberPolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeLinkPolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersInheritancePolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersManagementPolicyType.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyDetails.h" +#import "DBTEAMLOGSharedFolderChangeMembersPolicyType.h" #import "DBTEAMLOGSharedFolderCreateDetails.h" -#import "DBTEAMLOGSharedFolderLinkPolicy.h" -#import "DBTEAMLOGSharedFolderMemberPolicy.h" -#import "DBTEAMLOGSharedFolderMembershipManagementPolicy.h" +#import "DBTEAMLOGSharedFolderCreateType.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationDetails.h" +#import "DBTEAMLOGSharedFolderDeclineInvitationType.h" +#import "DBTEAMLOGSharedFolderMembersInheritancePolicy.h" #import "DBTEAMLOGSharedFolderMountDetails.h" +#import "DBTEAMLOGSharedFolderMountType.h" +#import "DBTEAMLOGSharedFolderNestDetails.h" +#import "DBTEAMLOGSharedFolderNestType.h" #import "DBTEAMLOGSharedFolderTransferOwnershipDetails.h" +#import "DBTEAMLOGSharedFolderTransferOwnershipType.h" #import "DBTEAMLOGSharedFolderUnmountDetails.h" +#import "DBTEAMLOGSharedFolderUnmountType.h" +#import "DBTEAMLOGSharedLinkAccessLevel.h" +#import "DBTEAMLOGSharedLinkAddExpiryDetails.h" +#import "DBTEAMLOGSharedLinkAddExpiryType.h" +#import "DBTEAMLOGSharedLinkChangeExpiryDetails.h" +#import "DBTEAMLOGSharedLinkChangeExpiryType.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityDetails.h" +#import "DBTEAMLOGSharedLinkChangeVisibilityType.h" +#import "DBTEAMLOGSharedLinkCopyDetails.h" +#import "DBTEAMLOGSharedLinkCopyType.h" +#import "DBTEAMLOGSharedLinkCreateDetails.h" +#import "DBTEAMLOGSharedLinkCreateType.h" +#import "DBTEAMLOGSharedLinkDisableDetails.h" +#import "DBTEAMLOGSharedLinkDisableType.h" +#import "DBTEAMLOGSharedLinkDownloadDetails.h" +#import "DBTEAMLOGSharedLinkDownloadType.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryDetails.h" +#import "DBTEAMLOGSharedLinkRemoveExpiryType.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAddExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAddPasswordType.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadDisabledType.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledDetails.h" +#import "DBTEAMLOGSharedLinkSettingsAllowDownloadEnabledType.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangeAudienceType.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangeExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordDetails.h" +#import "DBTEAMLOGSharedLinkSettingsChangePasswordType.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemoveExpirationType.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordDetails.h" +#import "DBTEAMLOGSharedLinkSettingsRemovePasswordType.h" +#import "DBTEAMLOGSharedLinkShareDetails.h" +#import "DBTEAMLOGSharedLinkShareType.h" +#import "DBTEAMLOGSharedLinkViewDetails.h" +#import "DBTEAMLOGSharedLinkViewType.h" +#import "DBTEAMLOGSharedLinkVisibility.h" #import "DBTEAMLOGSharedNoteOpenedDetails.h" +#import "DBTEAMLOGSharedNoteOpenedType.h" #import "DBTEAMLOGSharingChangeFolderJoinPolicyDetails.h" +#import "DBTEAMLOGSharingChangeFolderJoinPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkAllowChangeExpirationPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkDefaultExpirationPolicyType.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkEnforcePasswordPolicyType.h" #import "DBTEAMLOGSharingChangeLinkPolicyDetails.h" +#import "DBTEAMLOGSharingChangeLinkPolicyType.h" #import "DBTEAMLOGSharingChangeMemberPolicyDetails.h" +#import "DBTEAMLOGSharingChangeMemberPolicyType.h" #import "DBTEAMLOGSharingFolderJoinPolicy.h" #import "DBTEAMLOGSharingLinkPolicy.h" #import "DBTEAMLOGSharingMemberPolicy.h" -#import "DBTEAMLOGShmodelAppCreateDetails.h" -#import "DBTEAMLOGShmodelCreateDetails.h" -#import "DBTEAMLOGShmodelDisableDetails.h" -#import "DBTEAMLOGShmodelFbShareDetails.h" +#import "DBTEAMLOGShmodelDisableDownloadsDetails.h" +#import "DBTEAMLOGShmodelDisableDownloadsType.h" +#import "DBTEAMLOGShmodelEnableDownloadsDetails.h" +#import "DBTEAMLOGShmodelEnableDownloadsType.h" #import "DBTEAMLOGShmodelGroupShareDetails.h" -#import "DBTEAMLOGShmodelRemoveExpirationDetails.h" -#import "DBTEAMLOGShmodelSetExpirationDetails.h" -#import "DBTEAMLOGShmodelTeamCopyDetails.h" -#import "DBTEAMLOGShmodelTeamDownloadDetails.h" -#import "DBTEAMLOGShmodelTeamShareDetails.h" -#import "DBTEAMLOGShmodelTeamViewDetails.h" -#import "DBTEAMLOGShmodelVisibilityPasswordDetails.h" -#import "DBTEAMLOGShmodelVisibilityPublicDetails.h" -#import "DBTEAMLOGShmodelVisibilityTeamOnlyDetails.h" +#import "DBTEAMLOGShmodelGroupShareType.h" +#import "DBTEAMLOGShowcaseAccessGrantedDetails.h" +#import "DBTEAMLOGShowcaseAccessGrantedType.h" +#import "DBTEAMLOGShowcaseAddMemberDetails.h" +#import "DBTEAMLOGShowcaseAddMemberType.h" +#import "DBTEAMLOGShowcaseArchivedDetails.h" +#import "DBTEAMLOGShowcaseArchivedType.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyDetails.h" +#import "DBTEAMLOGShowcaseChangeDownloadPolicyType.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyDetails.h" +#import "DBTEAMLOGShowcaseChangeEnabledPolicyType.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyDetails.h" +#import "DBTEAMLOGShowcaseChangeExternalSharingPolicyType.h" +#import "DBTEAMLOGShowcaseCreatedDetails.h" +#import "DBTEAMLOGShowcaseCreatedType.h" +#import "DBTEAMLOGShowcaseDeleteCommentDetails.h" +#import "DBTEAMLOGShowcaseDeleteCommentType.h" +#import "DBTEAMLOGShowcaseDocumentLogInfo.h" +#import "DBTEAMLOGShowcaseDownloadPolicy.h" +#import "DBTEAMLOGShowcaseEditCommentDetails.h" +#import "DBTEAMLOGShowcaseEditCommentType.h" +#import "DBTEAMLOGShowcaseEditedDetails.h" +#import "DBTEAMLOGShowcaseEditedType.h" +#import "DBTEAMLOGShowcaseEnabledPolicy.h" +#import "DBTEAMLOGShowcaseExternalSharingPolicy.h" +#import "DBTEAMLOGShowcaseFileAddedDetails.h" +#import "DBTEAMLOGShowcaseFileAddedType.h" +#import "DBTEAMLOGShowcaseFileDownloadDetails.h" +#import "DBTEAMLOGShowcaseFileDownloadType.h" +#import "DBTEAMLOGShowcaseFileRemovedDetails.h" +#import "DBTEAMLOGShowcaseFileRemovedType.h" +#import "DBTEAMLOGShowcaseFileViewDetails.h" +#import "DBTEAMLOGShowcaseFileViewType.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedDetails.h" +#import "DBTEAMLOGShowcasePermanentlyDeletedType.h" +#import "DBTEAMLOGShowcasePostCommentDetails.h" +#import "DBTEAMLOGShowcasePostCommentType.h" +#import "DBTEAMLOGShowcaseRemoveMemberDetails.h" +#import "DBTEAMLOGShowcaseRemoveMemberType.h" +#import "DBTEAMLOGShowcaseRenamedDetails.h" +#import "DBTEAMLOGShowcaseRenamedType.h" +#import "DBTEAMLOGShowcaseRequestAccessDetails.h" +#import "DBTEAMLOGShowcaseRequestAccessType.h" +#import "DBTEAMLOGShowcaseResolveCommentDetails.h" +#import "DBTEAMLOGShowcaseResolveCommentType.h" +#import "DBTEAMLOGShowcaseRestoredDetails.h" +#import "DBTEAMLOGShowcaseRestoredType.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedDetails.h" +#import "DBTEAMLOGShowcaseTrashedDeprecatedType.h" +#import "DBTEAMLOGShowcaseTrashedDetails.h" +#import "DBTEAMLOGShowcaseTrashedType.h" +#import "DBTEAMLOGShowcaseUnresolveCommentDetails.h" +#import "DBTEAMLOGShowcaseUnresolveCommentType.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedDetails.h" +#import "DBTEAMLOGShowcaseUntrashedDeprecatedType.h" +#import "DBTEAMLOGShowcaseUntrashedDetails.h" +#import "DBTEAMLOGShowcaseUntrashedType.h" +#import "DBTEAMLOGShowcaseViewDetails.h" +#import "DBTEAMLOGShowcaseViewType.h" #import "DBTEAMLOGSignInAsSessionEndDetails.h" +#import "DBTEAMLOGSignInAsSessionEndType.h" #import "DBTEAMLOGSignInAsSessionStartDetails.h" +#import "DBTEAMLOGSignInAsSessionStartType.h" #import "DBTEAMLOGSmartSyncChangePolicyDetails.h" +#import "DBTEAMLOGSmartSyncChangePolicyType.h" #import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportDetails.h" +#import "DBTEAMLOGSmartSyncCreateAdminPrivilegeReportType.h" #import "DBTEAMLOGSmartSyncNotOptOutDetails.h" +#import "DBTEAMLOGSmartSyncNotOptOutType.h" #import "DBTEAMLOGSmartSyncOptOutDetails.h" #import "DBTEAMLOGSmartSyncOptOutPolicy.h" +#import "DBTEAMLOGSmartSyncOptOutType.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedDetails.h" +#import "DBTEAMLOGSmarterSmartSyncPolicyChangedType.h" +#import "DBTEAMLOGSpaceCapsType.h" #import "DBTEAMLOGSpaceLimitsStatus.h" #import "DBTEAMLOGSsoAddCertDetails.h" +#import "DBTEAMLOGSsoAddCertType.h" #import "DBTEAMLOGSsoAddLoginUrlDetails.h" +#import "DBTEAMLOGSsoAddLoginUrlType.h" #import "DBTEAMLOGSsoAddLogoutUrlDetails.h" +#import "DBTEAMLOGSsoAddLogoutUrlType.h" #import "DBTEAMLOGSsoChangeCertDetails.h" +#import "DBTEAMLOGSsoChangeCertType.h" #import "DBTEAMLOGSsoChangeLoginUrlDetails.h" +#import "DBTEAMLOGSsoChangeLoginUrlType.h" #import "DBTEAMLOGSsoChangeLogoutUrlDetails.h" +#import "DBTEAMLOGSsoChangeLogoutUrlType.h" #import "DBTEAMLOGSsoChangePolicyDetails.h" +#import "DBTEAMLOGSsoChangePolicyType.h" #import "DBTEAMLOGSsoChangeSamlIdentityModeDetails.h" +#import "DBTEAMLOGSsoChangeSamlIdentityModeType.h" #import "DBTEAMLOGSsoErrorDetails.h" +#import "DBTEAMLOGSsoErrorType.h" #import "DBTEAMLOGSsoRemoveCertDetails.h" +#import "DBTEAMLOGSsoRemoveCertType.h" #import "DBTEAMLOGSsoRemoveLoginUrlDetails.h" +#import "DBTEAMLOGSsoRemoveLoginUrlType.h" #import "DBTEAMLOGSsoRemoveLogoutUrlDetails.h" +#import "DBTEAMLOGSsoRemoveLogoutUrlType.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionDetails.h" +#import "DBTEAMLOGStartedEnterpriseAdminSessionType.h" #import "DBTEAMLOGTeamActivityCreateReportDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportFailDetails.h" +#import "DBTEAMLOGTeamActivityCreateReportFailType.h" +#import "DBTEAMLOGTeamActivityCreateReportType.h" +#import "DBTEAMLOGTeamBrandingPolicy.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedDetails.h" +#import "DBTEAMLOGTeamBrandingPolicyChangedType.h" +#import "DBTEAMLOGTeamDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCancelKeyDeletionType.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyCreateKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDeleteKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyDisableKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyEnableKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyRotateKeyType.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionDetails.h" +#import "DBTEAMLOGTeamEncryptionKeyScheduleKeyDeletionType.h" #import "DBTEAMLOGTeamEvent.h" +#import "DBTEAMLOGTeamExtensionsPolicy.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedDetails.h" +#import "DBTEAMLOGTeamExtensionsPolicyChangedType.h" #import "DBTEAMLOGTeamFolderChangeStatusDetails.h" +#import "DBTEAMLOGTeamFolderChangeStatusType.h" #import "DBTEAMLOGTeamFolderCreateDetails.h" +#import "DBTEAMLOGTeamFolderCreateType.h" #import "DBTEAMLOGTeamFolderDowngradeDetails.h" +#import "DBTEAMLOGTeamFolderDowngradeType.h" #import "DBTEAMLOGTeamFolderPermanentlyDeleteDetails.h" +#import "DBTEAMLOGTeamFolderPermanentlyDeleteType.h" #import "DBTEAMLOGTeamFolderRenameDetails.h" -#import "DBTEAMLOGTeamFolderStatus.h" +#import "DBTEAMLOGTeamFolderRenameType.h" +#import "DBTEAMLOGTeamInviteDetails.h" #import "DBTEAMLOGTeamLinkedAppLogInfo.h" +#import "DBTEAMLOGTeamLogInfo.h" #import "DBTEAMLOGTeamMemberLogInfo.h" #import "DBTEAMLOGTeamMembershipType.h" #import "DBTEAMLOGTeamMergeFromDetails.h" +#import "DBTEAMLOGTeamMergeFromType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedExtraDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestAcceptedType.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestAutoCanceledType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledExtraDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestCanceledShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestCanceledType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredExtraDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestExpiredShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestExpiredType.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestRejectedShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderExtraDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestReminderShownToSecondaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestReminderType.h" +#import "DBTEAMLOGTeamMergeRequestRevokedDetails.h" +#import "DBTEAMLOGTeamMergeRequestRevokedType.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToPrimaryTeamType.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamDetails.h" +#import "DBTEAMLOGTeamMergeRequestSentShownToSecondaryTeamType.h" #import "DBTEAMLOGTeamMergeToDetails.h" +#import "DBTEAMLOGTeamMergeToType.h" #import "DBTEAMLOGTeamName.h" +#import "DBTEAMLOGTeamProfileAddBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileAddBackgroundType.h" #import "DBTEAMLOGTeamProfileAddLogoDetails.h" +#import "DBTEAMLOGTeamProfileAddLogoType.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileChangeBackgroundType.h" #import "DBTEAMLOGTeamProfileChangeDefaultLanguageDetails.h" +#import "DBTEAMLOGTeamProfileChangeDefaultLanguageType.h" #import "DBTEAMLOGTeamProfileChangeLogoDetails.h" +#import "DBTEAMLOGTeamProfileChangeLogoType.h" #import "DBTEAMLOGTeamProfileChangeNameDetails.h" +#import "DBTEAMLOGTeamProfileChangeNameType.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundDetails.h" +#import "DBTEAMLOGTeamProfileRemoveBackgroundType.h" #import "DBTEAMLOGTeamProfileRemoveLogoDetails.h" +#import "DBTEAMLOGTeamProfileRemoveLogoType.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicy.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncPolicyChangedType.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedDetails.h" +#import "DBTEAMLOGTeamSelectiveSyncSettingsChangedType.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedDetails.h" +#import "DBTEAMLOGTeamSharingWhitelistSubjectsChangedType.h" #import "DBTEAMLOGTfaAddBackupPhoneDetails.h" +#import "DBTEAMLOGTfaAddBackupPhoneType.h" +#import "DBTEAMLOGTfaAddExceptionDetails.h" +#import "DBTEAMLOGTfaAddExceptionType.h" #import "DBTEAMLOGTfaAddSecurityKeyDetails.h" +#import "DBTEAMLOGTfaAddSecurityKeyType.h" #import "DBTEAMLOGTfaChangeBackupPhoneDetails.h" +#import "DBTEAMLOGTfaChangeBackupPhoneType.h" #import "DBTEAMLOGTfaChangePolicyDetails.h" +#import "DBTEAMLOGTfaChangePolicyType.h" #import "DBTEAMLOGTfaChangeStatusDetails.h" +#import "DBTEAMLOGTfaChangeStatusType.h" #import "DBTEAMLOGTfaConfiguration.h" #import "DBTEAMLOGTfaRemoveBackupPhoneDetails.h" +#import "DBTEAMLOGTfaRemoveBackupPhoneType.h" +#import "DBTEAMLOGTfaRemoveExceptionDetails.h" +#import "DBTEAMLOGTfaRemoveExceptionType.h" #import "DBTEAMLOGTfaRemoveSecurityKeyDetails.h" +#import "DBTEAMLOGTfaRemoveSecurityKeyType.h" #import "DBTEAMLOGTfaResetDetails.h" +#import "DBTEAMLOGTfaResetType.h" #import "DBTEAMLOGTimeUnit.h" +#import "DBTEAMLOGTrustedNonTeamMemberLogInfo.h" +#import "DBTEAMLOGTrustedNonTeamMemberType.h" +#import "DBTEAMLOGTrustedTeamsRequestAction.h" +#import "DBTEAMLOGTrustedTeamsRequestState.h" #import "DBTEAMLOGTwoAccountChangePolicyDetails.h" +#import "DBTEAMLOGTwoAccountChangePolicyType.h" #import "DBTEAMLOGTwoAccountPolicy.h" +#import "DBTEAMLOGUndoNamingConventionDetails.h" +#import "DBTEAMLOGUndoNamingConventionType.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyDetails.h" +#import "DBTEAMLOGUndoOrganizeFolderWithTidyType.h" #import "DBTEAMLOGUserLinkedAppLogInfo.h" #import "DBTEAMLOGUserLogInfo.h" #import "DBTEAMLOGUserNameLogInfo.h" #import "DBTEAMLOGUserOrTeamLinkedAppLogInfo.h" +#import "DBTEAMLOGUserTagsAddedDetails.h" +#import "DBTEAMLOGUserTagsAddedType.h" +#import "DBTEAMLOGUserTagsRemovedDetails.h" +#import "DBTEAMLOGUserTagsRemovedType.h" +#import "DBTEAMLOGViewerInfoPolicyChangedDetails.h" +#import "DBTEAMLOGViewerInfoPolicyChangedType.h" +#import "DBTEAMLOGWatermarkingPolicy.h" +#import "DBTEAMLOGWatermarkingPolicyChangedDetails.h" +#import "DBTEAMLOGWatermarkingPolicyChangedType.h" +#import "DBTEAMLOGWebDeviceSessionLogInfo.h" #import "DBTEAMLOGWebSessionLogInfo.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitDetails.h" +#import "DBTEAMLOGWebSessionsChangeActiveSessionLimitType.h" #import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyDetails.h" +#import "DBTEAMLOGWebSessionsChangeFixedLengthPolicyType.h" #import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyDetails.h" +#import "DBTEAMLOGWebSessionsChangeIdleLengthPolicyType.h" #import "DBTEAMLOGWebSessionsFixedLengthPolicy.h" #import "DBTEAMLOGWebSessionsIdleLengthPolicy.h" // `TeamPolicies` namespace types +#import "DBTEAMPOLICIESCameraUploadsPolicyState.h" +#import "DBTEAMPOLICIESComputerBackupPolicyState.h" #import "DBTEAMPOLICIESEmmState.h" +#import "DBTEAMPOLICIESExternalDriveBackupPolicyState.h" +#import "DBTEAMPOLICIESFileLockingPolicyState.h" +#import "DBTEAMPOLICIESFileProviderMigrationPolicyState.h" #import "DBTEAMPOLICIESGroupCreation.h" #import "DBTEAMPOLICIESOfficeAddInPolicy.h" +#import "DBTEAMPOLICIESPaperDefaultFolderPolicy.h" #import "DBTEAMPOLICIESPaperDeploymentPolicy.h" +#import "DBTEAMPOLICIESPaperDesktopPolicy.h" #import "DBTEAMPOLICIESPaperEnabledPolicy.h" +#import "DBTEAMPOLICIESPasswordControlMode.h" #import "DBTEAMPOLICIESPasswordStrengthPolicy.h" #import "DBTEAMPOLICIESRolloutMethod.h" +#import "DBTEAMPOLICIESSharedFolderBlanketLinkRestrictionPolicy.h" #import "DBTEAMPOLICIESSharedFolderJoinPolicy.h" #import "DBTEAMPOLICIESSharedFolderMemberPolicy.h" #import "DBTEAMPOLICIESSharedLinkCreatePolicy.h" +#import "DBTEAMPOLICIESShowcaseDownloadPolicy.h" +#import "DBTEAMPOLICIESShowcaseEnabledPolicy.h" +#import "DBTEAMPOLICIESShowcaseExternalSharingPolicy.h" #import "DBTEAMPOLICIESSmartSyncPolicy.h" +#import "DBTEAMPOLICIESSmarterSmartSyncPolicyState.h" #import "DBTEAMPOLICIESSsoPolicy.h" +#import "DBTEAMPOLICIESSuggestMembersPolicy.h" #import "DBTEAMPOLICIESTeamMemberPolicies.h" #import "DBTEAMPOLICIESTeamSharingPolicies.h" #import "DBTEAMPOLICIESTwoStepVerificationPolicy.h" +#import "DBTEAMPOLICIESTwoStepVerificationState.h" // `Users` namespace types #import "DBUSERSAccount.h" #import "DBUSERSBasicAccount.h" +#import "DBUSERSFileLockingValue.h" #import "DBUSERSFullAccount.h" #import "DBUSERSFullTeam.h" #import "DBUSERSGetAccountArg.h" @@ -1018,10 +2099,16 @@ #import "DBUSERSGetAccountError.h" #import "DBUSERSIndividualSpaceAllocation.h" #import "DBUSERSName.h" +#import "DBUSERSPaperAsFilesValue.h" #import "DBUSERSSpaceAllocation.h" #import "DBUSERSSpaceUsage.h" #import "DBUSERSTeam.h" #import "DBUSERSTeamSpaceAllocation.h" +#import "DBUSERSUserFeature.h" +#import "DBUSERSUserFeatureValue.h" +#import "DBUSERSUserFeaturesGetValuesBatchArg.h" +#import "DBUSERSUserFeaturesGetValuesBatchError.h" +#import "DBUSERSUserFeaturesGetValuesBatchResult.h" // `UsersCommon` namespace types diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBSerializableProtocol.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBSerializableProtocol.h index 87b65d989..6fdd745ec 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBSerializableProtocol.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBSerializableProtocol.h @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return A serialized, json-compatible dictionary representation of the API object. /// -+ (nullable NSDictionary *)serialize:(id)instance; ++ (nullable NSDictionary *)serialize:(id)instance; /// /// Class method which returns an instantiation of the supplied object as represented @@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// @return A deserialized, instantiation of the API object. /// -+ (id)deserialize:(NSDictionary *)dict; ++ (id)deserialize:(NSDictionary *)dict; /// /// Description method. diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.h index 2cee18ae9..ec11e38d0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.h @@ -15,9 +15,9 @@ NS_ASSUME_NONNULL_BEGIN /// @interface NSArray (DBSerializable) -+ (nullable NSDictionary *)serialize:(id)obj; ++ (nullable NSDictionary *)serialize:(id)obj; -+ (id)deserialize:(NSDictionary *)dict; ++ (id)deserialize:(NSDictionary *)dict; @end @@ -28,9 +28,9 @@ NS_ASSUME_NONNULL_BEGIN /// @interface NSString (DBSerializable) -+ (nullable NSDictionary *)serialize:(id)obj; ++ (nullable NSDictionary *)serialize:(id)obj; -+ (id)deserialize:(NSDictionary *)dict; ++ (id)deserialize:(NSDictionary *)dict; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.m index 859db6152..a0af2c2f9 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneSerializers.m @@ -5,30 +5,43 @@ #import "DBStoneSerializers.h" #import "DBStoneValidators.h" +static NSDateFormatter *sFormatter = nil; +static NSString *sDateFormat = nil; + @implementation DBNSDateSerializer ++ (void)initialize { + if (self == [DBNSDateSerializer class]) { + sFormatter = [[NSDateFormatter alloc] init]; + [sFormatter setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]]; + [sFormatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; + } +} + + (NSString *)serialize:(NSDate *)value dateFormat:(NSString *)dateFormat { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } - NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; - [formatter setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]]; - [formatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; - [formatter setDateFormat:[self convertFormat:dateFormat]]; - - return [formatter stringFromDate:value]; + @synchronized(sFormatter) { + if (![dateFormat isEqualToString:sDateFormat]) { + [sFormatter setDateFormat:[self convertFormat:dateFormat]]; + sDateFormat = [dateFormat copy]; + } + return [sFormatter stringFromDate:value]; + } } + (NSDate *)deserialize:(NSString *)value dateFormat:(NSString *)dateFormat { if (value == nil) { [DBStoneValidators raiseIllegalStateErrorWithMessage:@"Value must not be `nil`"]; } - NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; - [formatter setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]]; - [formatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; - [formatter setDateFormat:[self convertFormat:dateFormat]]; - - return [formatter dateFromString:value]; + @synchronized(sFormatter) { + if (![dateFormat isEqualToString:sDateFormat]) { + [sFormatter setDateFormat:[self convertFormat:dateFormat]]; + sDateFormat = [dateFormat copy]; + } + return [sFormatter dateFromString:value]; + } } + (NSString *)formatDateToken:(NSString *)token { @@ -39,7 +52,7 @@ + (NSString *)formatDateToken:(NSString *)token { } else if ([token isEqualToString:@"%A"]) { // Weekday as locale's full name. result = @"EEE"; } else if ([token isEqualToString:@"%w"]) { // Weekday as a decimal number, where 0 is Sunday and 6 is Saturday. 0, 1, - // ..., 6 + // ..., 6 result = @"ccccc"; } else if ([token isEqualToString:@"%d"]) { // Day of the month as a zero-padded decimal number. 01, 02, ..., 31 result = @"dd"; @@ -64,30 +77,30 @@ + (NSString *)formatDateToken:(NSString *)token { } else if ([token isEqualToString:@"%S"]) { // Second as a zero-padded decimal number. 00, 01, ..., 59 result = @"ss"; } else if ([token isEqualToString:@"%f"]) { // Microsecond as a decimal number, zero-padded on the left. 000000, - // 000001, ..., 999999 + // 000001, ..., 999999 result = @"SSSSSS"; } else if ([token isEqualToString:@"%z"]) { // UTC offset in the form +HHMM or -HHMM (empty string if the the object - // is naive). (empty), +0000, -0400, +1030 + // is naive). (empty), +0000, -0400, +1030 result = @"Z"; } else if ([token isEqualToString:@"%Z"]) { // Time zone name (empty string if the object is naive). (empty), UTC, - // EST, CST + // EST, CST result = @"z"; } else if ([token isEqualToString:@"%j"]) { // Day of the year as a zero-padded decimal number. 001, 002, ..., 366 result = @"DDD"; } else if ([token isEqualToString:@"%U"]) { // Week number of the year (Sunday as the first day of the week) as a zero - // padded decimal number. All days in a new year preceding the first - // Sunday are considered to be in week 0. 00, 01, ..., 53 (6) + // padded decimal number. All days in a new year preceding the first + // Sunday are considered to be in week 0. 00, 01, ..., 53 (6) result = @"ww"; } else if ([token isEqualToString:@"%W"]) { // Week number of the year (Monday as the first day of the week) as a - // decimal number. All days in a new year preceding the first Monday are - // considered to be in week 0. 00, 01, ..., 53 (6) + // decimal number. All days in a new year preceding the first Monday are + // considered to be in week 0. 00, 01, ..., 53 (6) result = @"ww"; } else if ([token isEqualToString:@"%c"]) { // Locale's appropriate date and time representation. - result = @""; // unsupported + result = @""; // unsupported } else if ([token isEqualToString:@"%x"]) { // Locale's appropriate date representation. - result = @""; // unsupported + result = @""; // unsupported } else if ([token isEqualToString:@"%X"]) { // Locale's appropriate time representation. - result = @""; // unsupported + result = @""; // unsupported } else if ([token isEqualToString:@"%%"]) { // A literal '%' character. result = @""; } else if ([token isEqualToString:@"%"]) { @@ -109,13 +122,13 @@ + (NSString *)convertFormat:(NSString *)format { NSUInteger i = 0; while (i < len) { - char ch = [format characterAtIndex:i]; + char ch = (char)[format characterAtIndex:i]; if (ch == '%') { if (i >= len - 1) { return nil; } i++; - ch = [format characterAtIndex:i]; + ch = (char)[format characterAtIndex:i]; NSString *token = [NSString stringWithFormat:@"%%%c", ch]; if (inQuotedText) { [newFormat appendString:@"'"]; @@ -135,6 +148,7 @@ + (NSString *)convertFormat:(NSString *)format { } i++; } + if (inQuotedText) { [newFormat appendString:@"'"]; } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.h index 9493e9cea..ee2465971 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.h @@ -9,12 +9,12 @@ NS_ASSUME_NONNULL_BEGIN /// /// Validator functions used by SDK to impose value constraints. /// -@interface DBStoneValidators : NSObject +@interface DBStoneValidators : NSObject /// Validator for `NSString` objects. Enforces minimum length and/or maximum length and/or regex pattern. + (void (^_Nonnull)(NSString *))stringValidator:(nullable NSNumber *)minLength - maxLength:(nullable NSNumber *)maxLength - pattern:(nullable NSString *)pattern; + maxLength:(nullable NSNumber *)maxLength + pattern:(nullable NSString *)pattern; /// Validator for `NSNumber` objects. Enforces minimum value and/or maximum value. + (void (^_Nonnull)(NSNumber *))numericValidator:(nullable NSNumber *)minValue maxValue:(nullable NSNumber *)maxValue; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.m index ed8fc6a8a..c673ce202 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Resources/DBStoneValidators.m @@ -14,7 +14,7 @@ @implementation DBStoneValidators if (minLength != nil) { if ([value length] < [minLength unsignedIntegerValue]) { NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at least %@ characters", value, [minLength stringValue]]; + [NSString stringWithFormat:@"value must be at least %@ characters", [minLength stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } @@ -22,7 +22,7 @@ @implementation DBStoneValidators if (maxLength != nil) { if ([value length] > [maxLength unsignedIntegerValue]) { NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at most %@ characters", value, [minLength stringValue]]; + [NSString stringWithFormat:@"value must be at most %@ characters", [minLength stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } @@ -32,8 +32,7 @@ @implementation DBStoneValidators NSRegularExpression *re = [NSRegularExpression regularExpressionWithPattern:pattern options:0 error:&error]; NSArray *matches = [re matchesInString:value options:0 range:NSMakeRange(0, [value length])]; if ([matches count] == 0) { - NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must match pattern \"%@\"", value, [re pattern]]; + NSString *exceptionMessage = [NSString stringWithFormat:@"value must match pattern \"%@\"", [re pattern]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } @@ -46,16 +45,14 @@ @implementation DBStoneValidators void (^validator)(NSNumber *) = ^(NSNumber *value) { if (minValue != nil) { if ([value unsignedIntegerValue] < [minValue unsignedIntegerValue]) { - NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at least %@", value, [minValue stringValue]]; + NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at least %@", [minValue stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } if (maxValue != nil) { if ([value unsignedIntegerValue] > [maxValue unsignedIntegerValue]) { - NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at most %@", value, [maxValue stringValue]]; + NSString *exceptionMessage = [NSString stringWithFormat:@"value must be at most %@", [maxValue stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } @@ -71,7 +68,7 @@ @implementation DBStoneValidators if (minItems != nil) { if ([value count] < [minItems unsignedIntegerValue]) { NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at least %@ items", value, [minItems stringValue]]; + [NSString stringWithFormat:@"value must be at least %@ items", [minItems stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } @@ -79,7 +76,7 @@ @implementation DBStoneValidators if (maxItems != nil) { if ([value count] > [maxItems unsignedIntegerValue]) { NSString *exceptionMessage = - [NSString stringWithFormat:@"\"%@\" must be at most %@ items", value, [maxItems stringValue]]; + [NSString stringWithFormat:@"value must be at most %@ items", [maxItems stringValue]]; [[self class] raiseIllegalStateErrorWithMessage:exceptionMessage]; } } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.h new file mode 100644 index 000000000..460aaaa90 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.h @@ -0,0 +1,47 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBACCOUNTPhotoSourceArg; +@class DBACCOUNTSetProfilePhotoError; +@class DBACCOUNTSetProfilePhotoResult; +@class DBNilObject; + +@protocol DBTransportClient; + +/// +/// Routes for the `Account` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBACCOUNTUserAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBACCOUNTUserAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// Sets a user's profile photo. +/// +/// @param photo Image to set as the user's new profile photo. +/// +/// @return Through the response callback, the caller will receive a `DBACCOUNTSetProfilePhotoResult` object on success +/// or a `DBACCOUNTSetProfilePhotoError` object on failure. +/// +- (DBRpcTask *)setProfilePhoto: + (DBACCOUNTPhotoSourceArg *)photo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.m new file mode 100644 index 000000000..43e5d6149 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBACCOUNTUserAuthRoutes.m @@ -0,0 +1,33 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBACCOUNTUserAuthRoutes.h" +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBACCOUNTRouteObjects.h" +#import "DBACCOUNTSetProfilePhotoArg.h" +#import "DBACCOUNTSetProfilePhotoError.h" +#import "DBACCOUNTSetProfilePhotoResult.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBACCOUNTUserAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)setProfilePhoto:(DBACCOUNTPhotoSourceArg *)photo { + DBRoute *route = DBACCOUNTRouteObjects.DBACCOUNTSetProfilePhoto; + DBACCOUNTSetProfilePhotoArg *arg = [[DBACCOUNTSetProfilePhotoArg alloc] initWithPhoto:photo]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.h index 28532ef2f..0e5e1fcc5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHAppAuthRoutes.h @@ -31,7 +31,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(id)client; /// -/// Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access token. +/// DEPRECATED: Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access token. /// /// @param oauth1Token The supplied OAuth 1.0 access token. /// @param oauth1TokenSecret The token secret associated with the supplied access token. @@ -41,7 +41,8 @@ NS_ASSUME_NONNULL_BEGIN /// - (DBRpcTask *)tokenFromOauth1:(NSString *)oauth1Token oauth1TokenSecret: - (NSString *)oauth1TokenSecret; + (NSString *)oauth1TokenSecret + __deprecated_msg("tokenFromOauth1 is deprecated."); @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.h index ebbad5e45..dcf7e4a36 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBAUTHUserAuthRoutes.h @@ -31,7 +31,8 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(id)client; /// -/// Disables the access token used to authenticate the call. +/// Disables the access token used to authenticate the call. If there is a corresponding refresh token for the access +/// token, this disables that refresh token, as well as any other access tokens for that refresh token. /// /// /// @return Through the response callback, the caller will receive a `void` object on success or a `void` object on diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.h new file mode 100644 index 000000000..cce1e507c --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.h @@ -0,0 +1,59 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBCHECKEchoResult; +@class DBNilObject; + +@protocol DBTransportClient; + +/// +/// Routes for the `Check` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBCHECKAppAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBCHECKAppAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// This endpoint performs App Authentication, validating the supplied app key and secret, and returns the supplied +/// string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an +/// HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working +/// and that the app key and secret valid. +/// +/// +/// @return Through the response callback, the caller will receive a `DBCHECKEchoResult` object on success or a `void` +/// object on failure. +/// +- (DBRpcTask *)app; + +/// +/// This endpoint performs App Authentication, validating the supplied app key and secret, and returns the supplied +/// string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an +/// HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working +/// and that the app key and secret valid. +/// +/// @param query The string that you'd like to be echoed back to you. +/// +/// @return Through the response callback, the caller will receive a `DBCHECKEchoResult` object on success or a `void` +/// object on failure. +/// +- (DBRpcTask *)app:(nullable NSString *)query; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.m new file mode 100644 index 000000000..1bf2ed168 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKAppAuthRoutes.m @@ -0,0 +1,37 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBCHECKAppAuthRoutes.h" +#import "DBCHECKEchoArg.h" +#import "DBCHECKEchoResult.h" +#import "DBCHECKRouteObjects.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBCHECKAppAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)app { + DBRoute *route = DBCHECKRouteObjects.DBCHECKApp; + DBCHECKEchoArg *arg = [[DBCHECKEchoArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)app:(NSString *)query { + DBRoute *route = DBCHECKRouteObjects.DBCHECKApp; + DBCHECKEchoArg *arg = [[DBCHECKEchoArg alloc] initWithQuery:query]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.h new file mode 100644 index 000000000..373c41296 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.h @@ -0,0 +1,59 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBCHECKEchoResult; +@class DBNilObject; + +@protocol DBTransportClient; + +/// +/// Routes for the `Check` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBCHECKUserAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBCHECKUserAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, +/// to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 +/// response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that +/// the access token is valid. +/// +/// +/// @return Through the response callback, the caller will receive a `DBCHECKEchoResult` object on success or a `void` +/// object on failure. +/// +- (DBRpcTask *)user; + +/// +/// This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, +/// to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 +/// response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that +/// the access token is valid. +/// +/// @param query The string that you'd like to be echoed back to you. +/// +/// @return Through the response callback, the caller will receive a `DBCHECKEchoResult` object on success or a `void` +/// object on failure. +/// +- (DBRpcTask *)user:(nullable NSString *)query; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.m new file mode 100644 index 000000000..55b9e948b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCHECKUserAuthRoutes.m @@ -0,0 +1,37 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBCHECKUserAuthRoutes.h" +#import "DBCHECKEchoArg.h" +#import "DBCHECKEchoResult.h" +#import "DBCHECKRouteObjects.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBCHECKUserAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)user { + DBRoute *route = DBCHECKRouteObjects.DBCHECKUser; + DBCHECKEchoArg *arg = [[DBCHECKEchoArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)user:(NSString *)query { + DBRoute *route = DBCHECKRouteObjects.DBCHECKUser; + DBCHECKEchoArg *arg = [[DBCHECKEchoArg alloc] initWithQuery:query]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.h new file mode 100644 index 000000000..72fbcb402 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.h @@ -0,0 +1,55 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBCONTACTSDeleteManualContactsError; +@class DBNilObject; + +@protocol DBTransportClient; + +/// +/// Routes for the `Contacts` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBCONTACTSUserAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBCONTACTSUserAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// Removes all manually added contacts. You'll still keep contacts who are on your team or who you imported. New +/// contacts will be added when you share. +/// +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a `void` object on +/// failure. +/// +- (DBRpcTask *)deleteManualContacts; + +/// +/// Removes manually added contacts from the given list. +/// +/// @param emailAddresses List of manually added contacts to be deleted. +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a +/// `DBCONTACTSDeleteManualContactsError` object on failure. +/// +- (DBRpcTask *)deleteManualContactsBatch: + (NSArray *)emailAddresses; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.m new file mode 100644 index 000000000..279b6f214 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBCONTACTSUserAuthRoutes.m @@ -0,0 +1,37 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBCONTACTSUserAuthRoutes.h" +#import "DBCONTACTSDeleteManualContactsArg.h" +#import "DBCONTACTSDeleteManualContactsError.h" +#import "DBCONTACTSRouteObjects.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBCONTACTSUserAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)deleteManualContacts { + DBRoute *route = DBCONTACTSRouteObjects.DBCONTACTSDeleteManualContacts; + return [self.client requestRpc:route arg:nil]; +} + +- (DBRpcTask *)deleteManualContactsBatch:(NSArray *)emailAddresses { + DBRoute *route = DBCONTACTSRouteObjects.DBCONTACTSDeleteManualContactsBatch; + DBCONTACTSDeleteManualContactsArg *arg = + [[DBCONTACTSDeleteManualContactsArg alloc] initWithEmailAddresses:emailAddresses]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.h index b24db4a12..fa79877cd 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESTeamAuthRoutes.h @@ -62,9 +62,9 @@ NS_ASSUME_NONNULL_BEGIN /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -templatesAddForTeam:(NSString *)name - description_:(NSString *)description_ - fields:(NSArray *)fields; + templatesAddForTeam:(NSString *)name + description_:(NSString *)description_ + fields:(NSArray *)fields; /// /// Get the schema for a specified template. @@ -123,10 +123,10 @@ templatesAddForTeam:(NSString *)name /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -templatesUpdateForTeam:(NSString *)templateId - name:(nullable NSString *)name - description_:(nullable NSString *)description_ - addFields:(nullable NSArray *)addFields; + templatesUpdateForTeam:(NSString *)templateId + name:(nullable NSString *)name + description_:(nullable NSString *)description_ + addFields:(nullable NSArray *)addFields; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.h index ab05f3517..b2368ebf4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEPROPERTIESUserAuthRoutes.h @@ -57,14 +57,15 @@ NS_ASSUME_NONNULL_BEGIN /// Add property groups to a Dropbox file. See `templatesAddForUser` or `templatesAddForTeam` to create new templates. /// /// @param path A unique identifier for the file or folder. -/// @param propertyGroups The property groups which are to be added to a Dropbox file. +/// @param propertyGroups The property groups which are to be added to a Dropbox file. No two groups in the input should +/// refer to the same template. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESAddPropertiesError` object on failure. /// - (DBRpcTask *) - propertiesAdd:(NSString *)path -propertyGroups:(NSArray *)propertyGroups; + propertiesAdd:(NSString *)path + propertyGroups:(NSArray *)propertyGroups; /// /// Overwrite property groups associated with a file. This endpoint should be used instead of `propertiesUpdate` when @@ -73,19 +74,20 @@ propertyGroups:(NSArray *)propertyGroups; /// explicitly marked for deletion. /// /// @param path A unique identifier for the file or folder. -/// @param propertyGroups The property groups "snapshot" updates to force apply. +/// @param propertyGroups The property groups "snapshot" updates to force apply. No two groups in the input should +/// refer to the same template. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESInvalidPropertyGroupError` object on failure. /// - (DBRpcTask *) -propertiesOverwrite:(NSString *)path - propertyGroups:(NSArray *)propertyGroups; + propertiesOverwrite:(NSString *)path + propertyGroups:(NSArray *)propertyGroups; /// /// Permanently removes the specified property group from the file. To remove specific property field key value pairs, -/// see `propertiesUpdate`. To update a template, see `templatesUpdateForUser` or `templatesUpdateForTeam`. Templates -/// can't be removed once created. +/// see `propertiesUpdate`. To update a template, see `templatesUpdateForUser` or `templatesUpdateForTeam`. To remove a +/// template, see `templatesRemoveForUser` or `templatesRemoveForTeam`. /// /// @param path A unique identifier for the file or folder. /// @param propertyTemplateIds A list of identifiers for a template created by `templatesAddForUser` or @@ -119,8 +121,8 @@ propertiesOverwrite:(NSString *)path /// success or a `DBFILEPROPERTIESPropertiesSearchError` object on failure. /// - (DBRpcTask *) -propertiesSearch:(NSArray *)queries - templateFilter:(nullable DBFILEPROPERTIESTemplateFilter *)templateFilter; + propertiesSearch:(NSArray *)queries + templateFilter:(nullable DBFILEPROPERTIESTemplateFilter *)templateFilter; /// /// Once a cursor has been retrieved from `propertiesSearch`, use this to paginate through all search results. @@ -131,7 +133,7 @@ propertiesSearch:(NSArray *)queries /// success or a `DBFILEPROPERTIESPropertiesSearchContinueError` object on failure. /// - (DBRpcTask *) -propertiesSearchContinue:(NSString *)cursor; + propertiesSearchContinue:(NSString *)cursor; /// /// Add, update or remove properties associated with the supplied file and templates. This endpoint should be used @@ -146,8 +148,8 @@ propertiesSearchContinue:(NSString *)cursor; /// `DBFILEPROPERTIESUpdatePropertiesError` object on failure. /// - (DBRpcTask *) - propertiesUpdate:(NSString *)path -updatePropertyGroups:(NSArray *)updatePropertyGroups; + propertiesUpdate:(NSString *)path + updatePropertyGroups:(NSArray *)updatePropertyGroups; /// /// Add a template associated with a user. See `propertiesAdd` to add properties to a file. This endpoint can't be @@ -158,9 +160,9 @@ updatePropertyGroups:(NSArray *)updatePro /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -templatesAddForUser:(NSString *)name - description_:(NSString *)description_ - fields:(NSArray *)fields; + templatesAddForUser:(NSString *)name + description_:(NSString *)description_ + fields:(NSArray *)fields; /// /// Get the schema for a specified template. This endpoint can't be called on a team member or admin's behalf. @@ -220,10 +222,10 @@ templatesAddForUser:(NSString *)name /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -templatesUpdateForUser:(NSString *)templateId - name:(nullable NSString *)name - description_:(nullable NSString *)description_ - addFields:(nullable NSArray *)addFields; + templatesUpdateForUser:(NSString *)templateId + name:(nullable NSString *)name + description_:(nullable NSString *)description_ + addFields:(nullable NSArray *)addFields; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.h index aec82e671..ab44751a7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.h @@ -8,13 +8,21 @@ #import "DBTasks.h" +@class DBFILEREQUESTSCountFileRequestsError; +@class DBFILEREQUESTSCountFileRequestsResult; @class DBFILEREQUESTSCreateFileRequestError; +@class DBFILEREQUESTSDeleteAllClosedFileRequestsError; +@class DBFILEREQUESTSDeleteAllClosedFileRequestsResult; +@class DBFILEREQUESTSDeleteFileRequestError; +@class DBFILEREQUESTSDeleteFileRequestsResult; @class DBFILEREQUESTSFileRequest; @class DBFILEREQUESTSFileRequestDeadline; @class DBFILEREQUESTSGetFileRequestError; @class DBFILEREQUESTSGracePeriod; +@class DBFILEREQUESTSListFileRequestsContinueError; @class DBFILEREQUESTSListFileRequestsError; @class DBFILEREQUESTSListFileRequestsResult; +@class DBFILEREQUESTSListFileRequestsV2Result; @class DBFILEREQUESTSUpdateFileRequestDeadline; @class DBFILEREQUESTSUpdateFileRequestError; @class DBNilObject; @@ -37,6 +45,15 @@ NS_ASSUME_NONNULL_BEGIN /// with a networking client. - (instancetype)init:(id)client; +/// +/// Returns the total number of file requests owned by this user. Includes both open and closed file requests. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSCountFileRequestsResult` object on +/// success or a `DBFILEREQUESTSCountFileRequestsError` object on failure. +/// +- (DBRpcTask *)count; + /// /// Creates a file request for this user. /// @@ -56,18 +73,41 @@ NS_ASSUME_NONNULL_BEGIN /// @param title The title of the file request. Must not be empty. /// @param destination The path of the folder in the Dropbox where uploaded files will be sent. For apps with the app /// folder permission, this will be relative to the app folder. -/// @param deadline The deadline for the file request. Deadlines can only be set by Pro and Business accounts. +/// @param deadline The deadline for the file request. Deadlines can only be set by Professional and Business accounts. /// @param open Whether or not the file request should be open. If the file request is closed, it will not accept any /// file submissions, but it can be opened later. +/// @param description_ A description of the file request. /// /// @return Through the response callback, the caller will receive a `DBFILEREQUESTSFileRequest` object on success or a /// `DBFILEREQUESTSCreateFileRequestError` object on failure. /// - (DBRpcTask *) - create:(NSString *)title -destination:(NSString *)destination - deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline - open:(nullable NSNumber *)open; + create:(NSString *)title + destination:(NSString *)destination + deadline:(nullable DBFILEREQUESTSFileRequestDeadline *)deadline + open:(nullable NSNumber *)open + description_:(nullable NSString *)description_; + +/// +/// Delete a batch of closed file requests. +/// +/// @param ids List IDs of the file requests to delete. +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSDeleteFileRequestsResult` object on +/// success or a `DBFILEREQUESTSDeleteFileRequestError` object on failure. +/// +- (DBRpcTask *)delete_: + (NSArray *)ids; + +/// +/// Delete all closed file requests owned by this user. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSDeleteAllClosedFileRequestsResult` +/// object on success or a `DBFILEREQUESTSDeleteAllClosedFileRequestsError` object on failure. +/// +- (DBRpcTask *) + deleteAllClosed; /// /// Returns the specified file request. @@ -89,6 +129,40 @@ destination:(NSString *)destination /// - (DBRpcTask *)list; +/// +/// Returns a list of file requests owned by this user. For apps with the app folder permission, this will only return +/// file requests with destinations in the app folder. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSListFileRequestsV2Result` object on +/// success or a `DBFILEREQUESTSListFileRequestsError` object on failure. +/// +- (DBRpcTask *)listV2; + +/// +/// Returns a list of file requests owned by this user. For apps with the app folder permission, this will only return +/// file requests with destinations in the app folder. +/// +/// @param limit The maximum number of file requests that should be returned per request. +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSListFileRequestsV2Result` object on +/// success or a `DBFILEREQUESTSListFileRequestsError` object on failure. +/// +- (DBRpcTask *)listV2: + (nullable NSNumber *)limit; + +/// +/// Once a cursor has been retrieved from `list`, use this to paginate through all file requests. The cursor must come +/// from a previous call to `list` or `listContinue`. +/// +/// @param cursor The cursor returned by the previous API call specified in the endpoint description. +/// +/// @return Through the response callback, the caller will receive a `DBFILEREQUESTSListFileRequestsV2Result` object on +/// success or a `DBFILEREQUESTSListFileRequestsContinueError` object on failure. +/// +- (DBRpcTask *)listContinue: + (NSString *)cursor; + /// /// Update a file request. /// @@ -106,18 +180,21 @@ destination:(NSString *)destination /// @param title The new title of the file request. Must not be empty. /// @param destination The new path of the folder in the Dropbox where uploaded files will be sent. For apps with the /// app folder permission, this will be relative to the app folder. -/// @param deadline The new deadline for the file request. +/// @param deadline The new deadline for the file request. Deadlines can only be set by Professional and Business +/// accounts. /// @param open Whether to set this file request as open or closed. +/// @param description_ The description of the file request. /// /// @return Through the response callback, the caller will receive a `DBFILEREQUESTSFileRequest` object on success or a /// `DBFILEREQUESTSUpdateFileRequestError` object on failure. /// - (DBRpcTask *) - update:(NSString *)id_ - title:(nullable NSString *)title -destination:(nullable NSString *)destination - deadline:(nullable DBFILEREQUESTSUpdateFileRequestDeadline *)deadline - open:(nullable NSNumber *)open; + update:(NSString *)id_ + title:(nullable NSString *)title + destination:(nullable NSString *)destination + deadline:(nullable DBFILEREQUESTSUpdateFileRequestDeadline *)deadline + open:(nullable NSNumber *)open + description_:(nullable NSString *)description_; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.m index dda593ca4..76f43615f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILEREQUESTSUserAuthRoutes.m @@ -5,16 +5,27 @@ /// #import "DBFILEREQUESTSUserAuthRoutes.h" +#import "DBFILEREQUESTSCountFileRequestsError.h" +#import "DBFILEREQUESTSCountFileRequestsResult.h" #import "DBFILEREQUESTSCreateFileRequestArgs.h" #import "DBFILEREQUESTSCreateFileRequestError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h" +#import "DBFILEREQUESTSDeleteFileRequestArgs.h" +#import "DBFILEREQUESTSDeleteFileRequestError.h" +#import "DBFILEREQUESTSDeleteFileRequestsResult.h" #import "DBFILEREQUESTSFileRequest.h" #import "DBFILEREQUESTSFileRequestDeadline.h" #import "DBFILEREQUESTSFileRequestError.h" #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBFILEREQUESTSGetFileRequestArgs.h" #import "DBFILEREQUESTSGetFileRequestError.h" +#import "DBFILEREQUESTSListFileRequestsArg.h" +#import "DBFILEREQUESTSListFileRequestsContinueArg.h" +#import "DBFILEREQUESTSListFileRequestsContinueError.h" #import "DBFILEREQUESTSListFileRequestsError.h" #import "DBFILEREQUESTSListFileRequestsResult.h" +#import "DBFILEREQUESTSListFileRequestsV2Result.h" #import "DBFILEREQUESTSRouteObjects.h" #import "DBFILEREQUESTSUpdateFileRequestArgs.h" #import "DBFILEREQUESTSUpdateFileRequestDeadline.h" @@ -33,6 +44,11 @@ - (instancetype)init:(id)client { return self; } +- (DBRpcTask *)count { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSCount; + return [self.client requestRpc:route arg:nil]; +} + - (DBRpcTask *)create:(NSString *)title destination:(NSString *)destination { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSCreate; DBFILEREQUESTSCreateFileRequestArgs *arg = @@ -43,15 +59,28 @@ - (DBRpcTask *)create:(NSString *)title destination:(NSString *)destination { - (DBRpcTask *)create:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSFileRequestDeadline *)deadline - open:(NSNumber *)open { + open:(NSNumber *)open + description_:(NSString *)description_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSCreate; DBFILEREQUESTSCreateFileRequestArgs *arg = [[DBFILEREQUESTSCreateFileRequestArgs alloc] initWithTitle:title destination:destination deadline:deadline - open:open]; + open:open + description_:description_]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)delete_:(NSArray *)ids { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSDelete_; + DBFILEREQUESTSDeleteFileRequestArgs *arg = [[DBFILEREQUESTSDeleteFileRequestArgs alloc] initWithIds:ids]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)deleteAllClosed { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSDeleteAllClosed; + return [self.client requestRpc:route arg:nil]; +} + - (DBRpcTask *)get:(NSString *)id_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSGet; DBFILEREQUESTSGetFileRequestArgs *arg = [[DBFILEREQUESTSGetFileRequestArgs alloc] initWithId_:id_]; @@ -63,6 +92,25 @@ - (DBRpcTask *)list { return [self.client requestRpc:route arg:nil]; } +- (DBRpcTask *)listV2 { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSListV2; + DBFILEREQUESTSListFileRequestsArg *arg = [[DBFILEREQUESTSListFileRequestsArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)listV2:(NSNumber *)limit { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSListV2; + DBFILEREQUESTSListFileRequestsArg *arg = [[DBFILEREQUESTSListFileRequestsArg alloc] initWithLimit:limit]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)listContinue:(NSString *)cursor { + DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSListContinue; + DBFILEREQUESTSListFileRequestsContinueArg *arg = + [[DBFILEREQUESTSListFileRequestsContinueArg alloc] initWithCursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)update:(NSString *)id_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSUpdate; DBFILEREQUESTSUpdateFileRequestArgs *arg = [[DBFILEREQUESTSUpdateFileRequestArgs alloc] initWithId_:id_]; @@ -73,13 +121,15 @@ - (DBRpcTask *)update:(NSString *)id_ title:(NSString *)title destination:(NSString *)destination deadline:(DBFILEREQUESTSUpdateFileRequestDeadline *)deadline - open:(NSNumber *)open { + open:(NSNumber *)open + description_:(NSString *)description_ { DBRoute *route = DBFILEREQUESTSRouteObjects.DBFILEREQUESTSUpdate; DBFILEREQUESTSUpdateFileRequestArgs *arg = [[DBFILEREQUESTSUpdateFileRequestArgs alloc] initWithId_:id_ title:title destination:destination deadline:deadline - open:open]; + open:open + description_:description_]; return [self.client requestRpc:route arg:arg]; } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.h new file mode 100644 index 000000000..d81d5a95e --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.h @@ -0,0 +1,436 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBASYNCPollError; +@class DBFILEPROPERTIESAddPropertiesError; +@class DBFILEPROPERTIESGetTemplateResult; +@class DBFILEPROPERTIESInvalidPropertyGroupError; +@class DBFILEPROPERTIESListTemplateResult; +@class DBFILEPROPERTIESLookUpPropertiesError; +@class DBFILEPROPERTIESLookupError; +@class DBFILEPROPERTIESPropertyField; +@class DBFILEPROPERTIESPropertyFieldTemplate; +@class DBFILEPROPERTIESPropertyGroup; +@class DBFILEPROPERTIESPropertyGroupUpdate; +@class DBFILEPROPERTIESRemovePropertiesError; +@class DBFILEPROPERTIESTemplateError; +@class DBFILEPROPERTIESTemplateFilterBase; +@class DBFILEPROPERTIESUpdatePropertiesError; +@class DBFILESAddTagError; +@class DBFILESAlphaGetMetadataError; +@class DBFILESBaseTagError; +@class DBFILESCommitInfo; +@class DBFILESCreateFolderBatchError; +@class DBFILESCreateFolderBatchJobStatus; +@class DBFILESCreateFolderBatchLaunch; +@class DBFILESCreateFolderBatchResult; +@class DBFILESCreateFolderError; +@class DBFILESCreateFolderResult; +@class DBFILESDeleteArg; +@class DBFILESDeleteBatchError; +@class DBFILESDeleteBatchJobStatus; +@class DBFILESDeleteBatchLaunch; +@class DBFILESDeleteBatchResult; +@class DBFILESDeleteError; +@class DBFILESDeleteResult; +@class DBFILESDownloadError; +@class DBFILESDownloadZipError; +@class DBFILESDownloadZipResult; +@class DBFILESExportError; +@class DBFILESExportInfo; +@class DBFILESExportMetadata; +@class DBFILESExportResult; +@class DBFILESFileCategory; +@class DBFILESFileLockMetadata; +@class DBFILESFileMetadata; +@class DBFILESFileSharingInfo; +@class DBFILESFileStatus; +@class DBFILESFolderMetadata; +@class DBFILESFolderSharingInfo; +@class DBFILESGetCopyReferenceError; +@class DBFILESGetCopyReferenceResult; +@class DBFILESGetMetadataError; +@class DBFILESGetTagsResult; +@class DBFILESGetTemporaryLinkError; +@class DBFILESGetTemporaryLinkResult; +@class DBFILESGetTemporaryUploadLinkResult; +@class DBFILESGetThumbnailBatchError; +@class DBFILESGetThumbnailBatchResult; +@class DBFILESGetThumbnailBatchResultEntry; +@class DBFILESImportFormat; +@class DBFILESListFolderContinueError; +@class DBFILESListFolderError; +@class DBFILESListFolderGetLatestCursorResult; +@class DBFILESListFolderLongpollError; +@class DBFILESListFolderLongpollResult; +@class DBFILESListFolderResult; +@class DBFILESListRevisionsError; +@class DBFILESListRevisionsMode; +@class DBFILESListRevisionsResult; +@class DBFILESLockConflictError; +@class DBFILESLockFileArg; +@class DBFILESLockFileBatchResult; +@class DBFILESLockFileError; +@class DBFILESLockFileResultEntry; +@class DBFILESLookupError; +@class DBFILESMediaInfo; +@class DBFILESMetadata; +@class DBFILESMinimalFileLinkMetadata; +@class DBFILESMoveIntoFamilyError; +@class DBFILESMoveIntoVaultError; +@class DBFILESPaperCreateError; +@class DBFILESPaperCreateResult; +@class DBFILESPaperDocUpdatePolicy; +@class DBFILESPaperUpdateError; +@class DBFILESPaperUpdateResult; +@class DBFILESPathOrLink; +@class DBFILESPathToTags; +@class DBFILESPreviewError; +@class DBFILESPreviewResult; +@class DBFILESRelocationBatchError; +@class DBFILESRelocationBatchJobStatus; +@class DBFILESRelocationBatchLaunch; +@class DBFILESRelocationBatchResult; +@class DBFILESRelocationBatchV2JobStatus; +@class DBFILESRelocationBatchV2Launch; +@class DBFILESRelocationBatchV2Result; +@class DBFILESRelocationError; +@class DBFILESRelocationPath; +@class DBFILESRelocationResult; +@class DBFILESRemoveTagError; +@class DBFILESRestoreError; +@class DBFILESSaveCopyReferenceError; +@class DBFILESSaveCopyReferenceResult; +@class DBFILESSaveUrlError; +@class DBFILESSaveUrlJobStatus; +@class DBFILESSaveUrlResult; +@class DBFILESSearchError; +@class DBFILESSearchMatch; +@class DBFILESSearchMatchFieldOptions; +@class DBFILESSearchMatchV2; +@class DBFILESSearchMode; +@class DBFILESSearchOptions; +@class DBFILESSearchOrderBy; +@class DBFILESSearchResult; +@class DBFILESSearchV2Result; +@class DBFILESSharedLink; +@class DBFILESSharedLinkFileInfo; +@class DBFILESSymlinkInfo; +@class DBFILESThumbnailArg; +@class DBFILESThumbnailError; +@class DBFILESThumbnailFormat; +@class DBFILESThumbnailMode; +@class DBFILESThumbnailSize; +@class DBFILESThumbnailV2Error; +@class DBFILESUnlockFileArg; +@class DBFILESUploadError; +@class DBFILESUploadSessionAppendError; +@class DBFILESUploadSessionCursor; +@class DBFILESUploadSessionFinishArg; +@class DBFILESUploadSessionFinishBatchJobStatus; +@class DBFILESUploadSessionFinishBatchLaunch; +@class DBFILESUploadSessionFinishBatchResult; +@class DBFILESUploadSessionFinishBatchResultEntry; +@class DBFILESUploadSessionFinishError; +@class DBFILESUploadSessionLookupError; +@class DBFILESUploadSessionOffsetError; +@class DBFILESUploadSessionStartBatchResult; +@class DBFILESUploadSessionStartError; +@class DBFILESUploadSessionStartResult; +@class DBFILESUploadSessionType; +@class DBFILESUploadWriteFailed; +@class DBFILESWriteError; +@class DBFILESWriteMode; +@class DBNilObject; + +@protocol DBTransportClient; + +/// +/// Routes for the `Files` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBFILESAppAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBFILESAppAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *)getThumbnailV2Url: + (DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *) + getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *)getThumbnailV2Url: + (DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *) + getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *)getThumbnailV2Data: + (DBFILESPathOrLink *)resource; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Starts returning the contents of a folder. If the result's `hasMore` in `DBFILESListFolderResult` field is true, +/// call `listFolderContinue` with the returned `cursor` in `DBFILESListFolderResult` to retrieve more entries. If +/// you're using `recursive` in `DBFILESListFolderArg` set to true to keep a local cache of the contents of a Dropbox +/// account, iterate through each entry in order and process them as follows to keep your local state in sync: For each +/// FileMetadata, store the new entry at the given path in your local state. If the required parent folders don't exist +/// yet, create them. If there's already something else at the given path, replace it and remove all its children. For +/// each FolderMetadata, store the new entry at the given path in your local state. If the required parent folders don't +/// exist yet, create them. If there's already something else at the given path, replace it but leave the children as +/// they are. Check the new entry's `readOnly` in `DBFILESFolderSharingInfo` and set all its children's read-only +/// statuses to match. For each DeletedMetadata, if your local state has something at the given path, remove it and all +/// its children. If there's nothing at the given path, ignore this entry. Note: auth.RateLimitError may be returned if +/// multiple `listFolder` or `listFolderContinue` calls with same parameters are made simultaneously by same API app for +/// same user. If your app implements retry logic, please hold off the retry until the previous request finishes. +/// +/// @param path A unique identifier for the file. +/// +/// @return Through the response callback, the caller will receive a `DBFILESListFolderResult` object on success or a +/// `DBFILESListFolderError` object on failure. +/// +- (DBRpcTask *)listFolder:(NSString *)path; + +/// +/// Starts returning the contents of a folder. If the result's `hasMore` in `DBFILESListFolderResult` field is true, +/// call `listFolderContinue` with the returned `cursor` in `DBFILESListFolderResult` to retrieve more entries. If +/// you're using `recursive` in `DBFILESListFolderArg` set to true to keep a local cache of the contents of a Dropbox +/// account, iterate through each entry in order and process them as follows to keep your local state in sync: For each +/// FileMetadata, store the new entry at the given path in your local state. If the required parent folders don't exist +/// yet, create them. If there's already something else at the given path, replace it and remove all its children. For +/// each FolderMetadata, store the new entry at the given path in your local state. If the required parent folders don't +/// exist yet, create them. If there's already something else at the given path, replace it but leave the children as +/// they are. Check the new entry's `readOnly` in `DBFILESFolderSharingInfo` and set all its children's read-only +/// statuses to match. For each DeletedMetadata, if your local state has something at the given path, remove it and all +/// its children. If there's nothing at the given path, ignore this entry. Note: auth.RateLimitError may be returned if +/// multiple `listFolder` or `listFolderContinue` calls with same parameters are made simultaneously by same API app for +/// same user. If your app implements retry logic, please hold off the retry until the previous request finishes. +/// +/// @param path A unique identifier for the file. +/// @param recursive If true, the list folder operation will be applied recursively to all subfolders and the response +/// will contain contents of all subfolders. +/// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. This parameter +/// will no longer have an effect starting December 2, 2019. +/// @param includeDeleted If true, the results will include entries for files and folders that used to exist but were +/// deleted. +/// @param includeHasExplicitSharedMembers If true, the results will include a flag for each file indicating whether or +/// not that file has any explicit members. +/// @param includeMountedFolders If true, the results will include entries under mounted folders which includes app +/// folder, shared folder and team folder. +/// @param limit The maximum number of results to return per request. Note: This is an approximate number and there can +/// be slightly more entries returned in some cases. +/// @param sharedLink A shared link to list the contents of. If the link is password-protected, the password must be +/// provided. If this field is present, `path` in `DBFILESListFolderArg` will be relative to root of the shared link. +/// Only non-recursive mode is supported for shared link. +/// @param includePropertyGroups If set to a valid list of template IDs, `propertyGroups` in `DBFILESFileMetadata` is +/// set if there exists property data associated with the file and each of the listed templates. +/// @param includeNonDownloadableFiles If true, include files that are not downloadable, i.e. Google Docs. +/// +/// @return Through the response callback, the caller will receive a `DBFILESListFolderResult` object on success or a +/// `DBFILESListFolderError` object on failure. +/// +- (DBRpcTask *) + listFolder:(NSString *)path + recursive:(nullable NSNumber *)recursive + includeMediaInfo:(nullable NSNumber *)includeMediaInfo + includeDeleted:(nullable NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers + includeMountedFolders:(nullable NSNumber *)includeMountedFolders + limit:(nullable NSNumber *)limit + sharedLink:(nullable DBFILESSharedLink *)sharedLink + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(nullable NSNumber *)includeNonDownloadableFiles; + +/// +/// Once a cursor has been retrieved from `listFolder`, use this to paginate through all files and retrieve updates to +/// the folder, following the same rules as documented for `listFolder`. +/// +/// @param cursor The cursor returned by your last call to `listFolder` or `listFolderContinue`. +/// +/// @return Through the response callback, the caller will receive a `DBFILESListFolderResult` object on success or a +/// `DBFILESListFolderContinueError` object on failure. +/// +- (DBRpcTask *)listFolderContinue:(NSString *)cursor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.m new file mode 100644 index 000000000..9b162a572 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESAppAuthRoutes.m @@ -0,0 +1,337 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBFILESAppAuthRoutes.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBASYNCPollArg.h" +#import "DBASYNCPollError.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILEPROPERTIESAddPropertiesArg.h" +#import "DBFILEPROPERTIESAddPropertiesError.h" +#import "DBFILEPROPERTIESGetTemplateArg.h" +#import "DBFILEPROPERTIESGetTemplateResult.h" +#import "DBFILEPROPERTIESInvalidPropertyGroupError.h" +#import "DBFILEPROPERTIESListTemplateResult.h" +#import "DBFILEPROPERTIESLookUpPropertiesError.h" +#import "DBFILEPROPERTIESLookupError.h" +#import "DBFILEPROPERTIESOverwritePropertyGroupArg.h" +#import "DBFILEPROPERTIESPropertiesError.h" +#import "DBFILEPROPERTIESPropertyFieldTemplate.h" +#import "DBFILEPROPERTIESPropertyGroup.h" +#import "DBFILEPROPERTIESPropertyGroupTemplate.h" +#import "DBFILEPROPERTIESPropertyGroupUpdate.h" +#import "DBFILEPROPERTIESRemovePropertiesArg.h" +#import "DBFILEPROPERTIESRemovePropertiesError.h" +#import "DBFILEPROPERTIESTemplateError.h" +#import "DBFILEPROPERTIESTemplateFilterBase.h" +#import "DBFILEPROPERTIESUpdatePropertiesArg.h" +#import "DBFILEPROPERTIESUpdatePropertiesError.h" +#import "DBFILESAddTagArg.h" +#import "DBFILESAddTagError.h" +#import "DBFILESAlphaGetMetadataArg.h" +#import "DBFILESAlphaGetMetadataError.h" +#import "DBFILESBaseTagError.h" +#import "DBFILESCommitInfo.h" +#import "DBFILESCreateFolderArg.h" +#import "DBFILESCreateFolderBatchArg.h" +#import "DBFILESCreateFolderBatchError.h" +#import "DBFILESCreateFolderBatchJobStatus.h" +#import "DBFILESCreateFolderBatchLaunch.h" +#import "DBFILESCreateFolderBatchResult.h" +#import "DBFILESCreateFolderError.h" +#import "DBFILESCreateFolderResult.h" +#import "DBFILESDeleteArg.h" +#import "DBFILESDeleteBatchArg.h" +#import "DBFILESDeleteBatchError.h" +#import "DBFILESDeleteBatchJobStatus.h" +#import "DBFILESDeleteBatchLaunch.h" +#import "DBFILESDeleteBatchResult.h" +#import "DBFILESDeleteError.h" +#import "DBFILESDeleteResult.h" +#import "DBFILESDeletedMetadata.h" +#import "DBFILESDownloadArg.h" +#import "DBFILESDownloadError.h" +#import "DBFILESDownloadZipArg.h" +#import "DBFILESDownloadZipError.h" +#import "DBFILESDownloadZipResult.h" +#import "DBFILESExportArg.h" +#import "DBFILESExportError.h" +#import "DBFILESExportInfo.h" +#import "DBFILESExportMetadata.h" +#import "DBFILESExportResult.h" +#import "DBFILESFileLockMetadata.h" +#import "DBFILESFileMetadata.h" +#import "DBFILESFileOpsResult.h" +#import "DBFILESFileSharingInfo.h" +#import "DBFILESFolderMetadata.h" +#import "DBFILESFolderSharingInfo.h" +#import "DBFILESGetCopyReferenceArg.h" +#import "DBFILESGetCopyReferenceError.h" +#import "DBFILESGetCopyReferenceResult.h" +#import "DBFILESGetMetadataArg.h" +#import "DBFILESGetMetadataError.h" +#import "DBFILESGetTagsArg.h" +#import "DBFILESGetTagsResult.h" +#import "DBFILESGetTemporaryLinkArg.h" +#import "DBFILESGetTemporaryLinkError.h" +#import "DBFILESGetTemporaryLinkResult.h" +#import "DBFILESGetTemporaryUploadLinkArg.h" +#import "DBFILESGetTemporaryUploadLinkResult.h" +#import "DBFILESGetThumbnailBatchArg.h" +#import "DBFILESGetThumbnailBatchError.h" +#import "DBFILESGetThumbnailBatchResult.h" +#import "DBFILESGetThumbnailBatchResultEntry.h" +#import "DBFILESImportFormat.h" +#import "DBFILESListFolderArg.h" +#import "DBFILESListFolderContinueArg.h" +#import "DBFILESListFolderContinueError.h" +#import "DBFILESListFolderError.h" +#import "DBFILESListFolderGetLatestCursorResult.h" +#import "DBFILESListFolderLongpollArg.h" +#import "DBFILESListFolderLongpollError.h" +#import "DBFILESListFolderLongpollResult.h" +#import "DBFILESListFolderResult.h" +#import "DBFILESListRevisionsArg.h" +#import "DBFILESListRevisionsError.h" +#import "DBFILESListRevisionsMode.h" +#import "DBFILESListRevisionsResult.h" +#import "DBFILESLockConflictError.h" +#import "DBFILESLockFileArg.h" +#import "DBFILESLockFileBatchArg.h" +#import "DBFILESLockFileBatchResult.h" +#import "DBFILESLockFileError.h" +#import "DBFILESLockFileResultEntry.h" +#import "DBFILESLookupError.h" +#import "DBFILESMediaInfo.h" +#import "DBFILESMetadata.h" +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBFILESMoveBatchArg.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperCreateArg.h" +#import "DBFILESPaperCreateError.h" +#import "DBFILESPaperCreateResult.h" +#import "DBFILESPaperDocUpdatePolicy.h" +#import "DBFILESPaperUpdateArg.h" +#import "DBFILESPaperUpdateError.h" +#import "DBFILESPaperUpdateResult.h" +#import "DBFILESPathOrLink.h" +#import "DBFILESPathToTags.h" +#import "DBFILESPreviewArg.h" +#import "DBFILESPreviewError.h" +#import "DBFILESPreviewResult.h" +#import "DBFILESRelocationArg.h" +#import "DBFILESRelocationBatchArg.h" +#import "DBFILESRelocationBatchArgBase.h" +#import "DBFILESRelocationBatchError.h" +#import "DBFILESRelocationBatchJobStatus.h" +#import "DBFILESRelocationBatchLaunch.h" +#import "DBFILESRelocationBatchResult.h" +#import "DBFILESRelocationBatchV2JobStatus.h" +#import "DBFILESRelocationBatchV2Launch.h" +#import "DBFILESRelocationBatchV2Result.h" +#import "DBFILESRelocationError.h" +#import "DBFILESRelocationPath.h" +#import "DBFILESRelocationResult.h" +#import "DBFILESRemoveTagArg.h" +#import "DBFILESRemoveTagError.h" +#import "DBFILESRestoreArg.h" +#import "DBFILESRestoreError.h" +#import "DBFILESRouteObjects.h" +#import "DBFILESSaveCopyReferenceArg.h" +#import "DBFILESSaveCopyReferenceError.h" +#import "DBFILESSaveCopyReferenceResult.h" +#import "DBFILESSaveUrlArg.h" +#import "DBFILESSaveUrlError.h" +#import "DBFILESSaveUrlJobStatus.h" +#import "DBFILESSaveUrlResult.h" +#import "DBFILESSearchArg.h" +#import "DBFILESSearchError.h" +#import "DBFILESSearchMatch.h" +#import "DBFILESSearchMatchFieldOptions.h" +#import "DBFILESSearchMatchV2.h" +#import "DBFILESSearchMode.h" +#import "DBFILESSearchOptions.h" +#import "DBFILESSearchResult.h" +#import "DBFILESSearchV2Arg.h" +#import "DBFILESSearchV2ContinueArg.h" +#import "DBFILESSearchV2Result.h" +#import "DBFILESSharedLink.h" +#import "DBFILESSymlinkInfo.h" +#import "DBFILESThumbnailArg.h" +#import "DBFILESThumbnailError.h" +#import "DBFILESThumbnailFormat.h" +#import "DBFILESThumbnailMode.h" +#import "DBFILESThumbnailSize.h" +#import "DBFILESThumbnailV2Arg.h" +#import "DBFILESThumbnailV2Error.h" +#import "DBFILESUnlockFileArg.h" +#import "DBFILESUnlockFileBatchArg.h" +#import "DBFILESUploadArg.h" +#import "DBFILESUploadError.h" +#import "DBFILESUploadSessionAppendArg.h" +#import "DBFILESUploadSessionAppendError.h" +#import "DBFILESUploadSessionCursor.h" +#import "DBFILESUploadSessionFinishArg.h" +#import "DBFILESUploadSessionFinishBatchArg.h" +#import "DBFILESUploadSessionFinishBatchJobStatus.h" +#import "DBFILESUploadSessionFinishBatchLaunch.h" +#import "DBFILESUploadSessionFinishBatchResult.h" +#import "DBFILESUploadSessionFinishBatchResultEntry.h" +#import "DBFILESUploadSessionFinishError.h" +#import "DBFILESUploadSessionLookupError.h" +#import "DBFILESUploadSessionOffsetError.h" +#import "DBFILESUploadSessionStartArg.h" +#import "DBFILESUploadSessionStartBatchArg.h" +#import "DBFILESUploadSessionStartBatchResult.h" +#import "DBFILESUploadSessionStartError.h" +#import "DBFILESUploadSessionStartResult.h" +#import "DBFILESUploadSessionType.h" +#import "DBFILESUploadWriteFailed.h" +#import "DBFILESWriteError.h" +#import "DBFILESWriteMode.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBFILESAppAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBRpcTask *)listFolder:(NSString *)path { + DBRoute *route = DBFILESRouteObjects.DBFILESListFolder; + DBFILESListFolderArg *arg = [[DBFILESListFolderArg alloc] initWithPath:path]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)listFolder:(NSString *)path + recursive:(NSNumber *)recursive + includeMediaInfo:(NSNumber *)includeMediaInfo + includeDeleted:(NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(NSNumber *)includeHasExplicitSharedMembers + includeMountedFolders:(NSNumber *)includeMountedFolders + limit:(NSNumber *)limit + sharedLink:(DBFILESSharedLink *)sharedLink + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(NSNumber *)includeNonDownloadableFiles { + DBRoute *route = DBFILESRouteObjects.DBFILESListFolder; + DBFILESListFolderArg *arg = [[DBFILESListFolderArg alloc] initWithPath:path + recursive:recursive + includeMediaInfo:includeMediaInfo + includeDeleted:includeDeleted + includeHasExplicitSharedMembers:includeHasExplicitSharedMembers + includeMountedFolders:includeMountedFolders + limit:limit + sharedLink:sharedLink + includePropertyGroups:includePropertyGroups + includeNonDownloadableFiles:includeNonDownloadableFiles]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)listFolderContinue:(NSString *)cursor { + DBRoute *route = DBFILESRouteObjects.DBFILESListFolderContinue; + DBFILESListFolderContinueArg *arg = [[DBFILESListFolderContinueArg alloc] initWithCursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.h index 5281b9581..a02adeb51 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.h @@ -23,8 +23,14 @@ @class DBFILEPROPERTIESTemplateError; @class DBFILEPROPERTIESTemplateFilterBase; @class DBFILEPROPERTIESUpdatePropertiesError; +@class DBFILESAddTagError; @class DBFILESAlphaGetMetadataError; +@class DBFILESBaseTagError; @class DBFILESCommitInfo; +@class DBFILESCreateFolderBatchError; +@class DBFILESCreateFolderBatchJobStatus; +@class DBFILESCreateFolderBatchLaunch; +@class DBFILESCreateFolderBatchResult; @class DBFILESCreateFolderError; @class DBFILESCreateFolderResult; @class DBFILESDeleteArg; @@ -35,18 +41,30 @@ @class DBFILESDeleteError; @class DBFILESDeleteResult; @class DBFILESDownloadError; +@class DBFILESDownloadZipError; +@class DBFILESDownloadZipResult; +@class DBFILESExportError; +@class DBFILESExportInfo; +@class DBFILESExportMetadata; +@class DBFILESExportResult; +@class DBFILESFileCategory; +@class DBFILESFileLockMetadata; @class DBFILESFileMetadata; @class DBFILESFileSharingInfo; +@class DBFILESFileStatus; @class DBFILESFolderMetadata; @class DBFILESFolderSharingInfo; @class DBFILESGetCopyReferenceError; @class DBFILESGetCopyReferenceResult; @class DBFILESGetMetadataError; +@class DBFILESGetTagsResult; @class DBFILESGetTemporaryLinkError; @class DBFILESGetTemporaryLinkResult; +@class DBFILESGetTemporaryUploadLinkResult; @class DBFILESGetThumbnailBatchError; @class DBFILESGetThumbnailBatchResult; @class DBFILESGetThumbnailBatchResultEntry; +@class DBFILESImportFormat; @class DBFILESListFolderContinueError; @class DBFILESListFolderError; @class DBFILESListFolderGetLatestCursorResult; @@ -56,17 +74,37 @@ @class DBFILESListRevisionsError; @class DBFILESListRevisionsMode; @class DBFILESListRevisionsResult; +@class DBFILESLockConflictError; +@class DBFILESLockFileArg; +@class DBFILESLockFileBatchResult; +@class DBFILESLockFileError; +@class DBFILESLockFileResultEntry; @class DBFILESLookupError; @class DBFILESMediaInfo; @class DBFILESMetadata; +@class DBFILESMinimalFileLinkMetadata; +@class DBFILESMoveIntoFamilyError; +@class DBFILESMoveIntoVaultError; +@class DBFILESPaperCreateError; +@class DBFILESPaperCreateResult; +@class DBFILESPaperDocUpdatePolicy; +@class DBFILESPaperUpdateError; +@class DBFILESPaperUpdateResult; +@class DBFILESPathOrLink; +@class DBFILESPathToTags; @class DBFILESPreviewError; +@class DBFILESPreviewResult; @class DBFILESRelocationBatchError; @class DBFILESRelocationBatchJobStatus; @class DBFILESRelocationBatchLaunch; @class DBFILESRelocationBatchResult; +@class DBFILESRelocationBatchV2JobStatus; +@class DBFILESRelocationBatchV2Launch; +@class DBFILESRelocationBatchV2Result; @class DBFILESRelocationError; @class DBFILESRelocationPath; @class DBFILESRelocationResult; +@class DBFILESRemoveTagError; @class DBFILESRestoreError; @class DBFILESSaveCopyReferenceError; @class DBFILESSaveCopyReferenceResult; @@ -75,24 +113,38 @@ @class DBFILESSaveUrlResult; @class DBFILESSearchError; @class DBFILESSearchMatch; +@class DBFILESSearchMatchFieldOptions; +@class DBFILESSearchMatchV2; @class DBFILESSearchMode; +@class DBFILESSearchOptions; +@class DBFILESSearchOrderBy; @class DBFILESSearchResult; +@class DBFILESSearchV2Result; @class DBFILESSharedLink; +@class DBFILESSharedLinkFileInfo; +@class DBFILESSymlinkInfo; @class DBFILESThumbnailArg; @class DBFILESThumbnailError; @class DBFILESThumbnailFormat; +@class DBFILESThumbnailMode; @class DBFILESThumbnailSize; +@class DBFILESThumbnailV2Error; +@class DBFILESUnlockFileArg; @class DBFILESUploadError; -@class DBFILESUploadErrorWithProperties; +@class DBFILESUploadSessionAppendError; @class DBFILESUploadSessionCursor; @class DBFILESUploadSessionFinishArg; @class DBFILESUploadSessionFinishBatchJobStatus; @class DBFILESUploadSessionFinishBatchLaunch; @class DBFILESUploadSessionFinishBatchResult; +@class DBFILESUploadSessionFinishBatchResultEntry; @class DBFILESUploadSessionFinishError; @class DBFILESUploadSessionLookupError; @class DBFILESUploadSessionOffsetError; +@class DBFILESUploadSessionStartBatchResult; +@class DBFILESUploadSessionStartError; @class DBFILESUploadSessionStartResult; +@class DBFILESUploadSessionType; @class DBFILESUploadWriteFailed; @class DBFILESWriteError; @class DBFILESWriteMode; @@ -138,113 +190,127 @@ NS_ASSUME_NONNULL_BEGIN /// `DBFILESAlphaGetMetadataError` object on failure. /// - (DBRpcTask *) - alphaGetMetadata:(NSString *)path - includeMediaInfo:(nullable NSNumber *)includeMediaInfo - includeDeleted:(nullable NSNumber *)includeDeleted -includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers - includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups - includePropertyTemplates:(nullable NSArray *)includePropertyTemplates + alphaGetMetadata:(NSString *)path + includeMediaInfo:(nullable NSNumber *)includeMediaInfo + includeDeleted:(nullable NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includePropertyTemplates:(nullable NSArray *)includePropertyTemplates __deprecated_msg("alphaGetMetadata is deprecated. Use getMetadata."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *)alphaUploadUrl:(NSString *)path - inputUrl:(NSString *)inputUrl - __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *)alphaUploadUrl:(NSString *)path + inputUrl:(NSString *)inputUrl + __deprecated_msg("alphaUpload is deprecated. Use upload."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *) -alphaUploadUrl:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename -clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute -propertyGroups:(nullable NSArray *)propertyGroups - inputUrl:(NSString *)inputUrl __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *) + alphaUploadUrl:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputUrl:(NSString *)inputUrl __deprecated_msg("alphaUpload is deprecated. Use upload."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *)alphaUploadData:(NSString *)path - inputData:(NSData *)inputData - __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *)alphaUploadData:(NSString *)path + inputData:(NSData *)inputData + __deprecated_msg("alphaUpload is deprecated. Use upload."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *) -alphaUploadData:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename - clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute - propertyGroups:(nullable NSArray *)propertyGroups - inputData:(NSData *)inputData __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *) + alphaUploadData:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputData:(NSData *)inputData __deprecated_msg("alphaUpload is deprecated. Use upload."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *)alphaUploadStream:(NSString *)path - inputStream: - (NSInputStream *)inputStream - __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *)alphaUploadStream:(NSString *)path + inputStream:(NSInputStream *)inputStream + __deprecated_msg("alphaUpload is deprecated. Use upload."); /// -/// DEPRECATED: Create a new file with the contents provided in the request. Note that this endpoint is part of the -/// properties API alpha and is slightly different from `upload`. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// DEPRECATED: Create a new file with the contents provided in the request. Note that the behavior of this alpha +/// endpoint is unstable and subject to change. Do not use this to upload a file larger than 150 MB. Instead, create an +/// upload session with `uploadSessionStart`. /// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESUploadErrorWithProperties` object on failure. +/// `DBFILESUploadError` object on failure. /// -- (DBUploadTask *) -alphaUploadStream:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename - clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute - propertyGroups:(nullable NSArray *)propertyGroups - inputStream:(NSInputStream *)inputStream __deprecated_msg("alphaUpload is deprecated. Use alphaUpload."); +- (DBUploadTask *) + alphaUploadStream:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputStream:(NSInputStream *)inputStream __deprecated_msg("alphaUpload is deprecated. Use upload."); /// /// DEPRECATED: Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all @@ -256,14 +322,13 @@ alphaUploadStream:(NSString *)path /// - (DBRpcTask *)dCopy:(NSString *)fromPath toPath:(NSString *)toPath - __deprecated_msg("dCopy is deprecated. Use dCopyV2."); + __deprecated_msg("dCopy is deprecated. Use dCopy."); /// /// DEPRECATED: Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all /// its contents will be copied. /// -/// @param allowSharedFolder If true, `dCopy` will copy contents in shared folder, otherwise `cantCopySharedFolder` in -/// `DBFILESRelocationError` will be returned if fromPath contains shared folder. This field is always true for `move`. +/// @param allowSharedFolder This flag has no effect. /// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. /// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content /// being moved. This does not apply to copies. @@ -276,35 +341,55 @@ alphaUploadStream:(NSString *)path allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer - __deprecated_msg("dCopy is deprecated. Use dCopyV2."); + __deprecated_msg("dCopy is deprecated. Use dCopy."); /// -/// Copy multiple files or folders to different locations at once in the user's Dropbox. If `allowSharedFolder` in -/// `DBFILESRelocationBatchArg` is false, this route is atomic. If on entry failes, the whole transaction will abort. If -/// `allowSharedFolder` in `DBFILESRelocationBatchArg` is true, not atomicity is guaranteed, but you will be able to -/// copy the contents of shared folders to new locations. This route will return job ID immediately and do the async -/// copy job in background. Please use `dCopyBatchCheck` to check the job status. +/// Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents +/// will be copied. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a +/// `DBFILESRelocationError` object on failure. +/// +- (DBRpcTask *)dCopyV2:(NSString *)fromPath + toPath:(NSString *)toPath; + +/// +/// Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents +/// will be copied. +/// +/// @param allowSharedFolder This flag has no effect. +/// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. +/// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content +/// being moved. This does not apply to copies. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a +/// `DBFILESRelocationError` object on failure. +/// +- (DBRpcTask *)dCopyV2:(NSString *)fromPath + toPath:(NSString *)toPath + allowSharedFolder:(nullable NSNumber *)allowSharedFolder + autorename:(nullable NSNumber *)autorename + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; + +/// +/// DEPRECATED: Copy multiple files or folders to different locations at once in the user's Dropbox. This route will +/// return job ID immediately and do the async copy job in background. Please use `dCopyBatchCheck` to check the job +/// status. /// -/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// -- (DBRpcTask *)dCopyBatch:(NSArray *)entries; +- (DBRpcTask *)dCopyBatch:(NSArray *)entries + __deprecated_msg("dCopyBatch is deprecated. Use dCopyBatch."); /// -/// Copy multiple files or folders to different locations at once in the user's Dropbox. If `allowSharedFolder` in -/// `DBFILESRelocationBatchArg` is false, this route is atomic. If on entry failes, the whole transaction will abort. If -/// `allowSharedFolder` in `DBFILESRelocationBatchArg` is true, not atomicity is guaranteed, but you will be able to -/// copy the contents of shared folders to new locations. This route will return job ID immediately and do the async -/// copy job in background. Please use `dCopyBatchCheck` to check the job status. +/// DEPRECATED: Copy multiple files or folders to different locations at once in the user's Dropbox. This route will +/// return job ID immediately and do the async copy job in background. Please use `dCopyBatchCheck` to check the job +/// status. /// -/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. -/// @param allowSharedFolder If true, `dCopyBatch` will copy contents in shared folder, otherwise `cantCopySharedFolder` -/// in `DBFILESRelocationError` will be returned if `fromPath` in `DBFILESRelocationPath` contains shared folder. This -/// field is always true for `moveBatch`. -/// @param autorename If there's a conflict with any file, have the Dropbox server try to autorename that file to avoid -/// the conflict. +/// @param allowSharedFolder This flag has no effect. /// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content /// being moved. This does not apply to copies. /// @@ -312,12 +397,44 @@ alphaUploadStream:(NSString *)path /// a `void` object on failure. /// - (DBRpcTask *)dCopyBatch:(NSArray *)entries - allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename - allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; + allowSharedFolder:(nullable NSNumber *)allowSharedFolder + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer + __deprecated_msg("dCopyBatch is deprecated. Use dCopyBatch."); + +/// +/// Copy multiple files or folders to different locations at once in the user's Dropbox. This route will replace +/// `dCopyBatch`. The main difference is this route will return status for each entry, while `dCopyBatch` raises failure +/// if any entry fails. This route will either finish synchronously, or return a job ID and do the async copy job in +/// background. Please use `dCopyBatchCheck` to check the job status. +/// +/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2Launch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)dCopyBatchV2: + (NSArray *)entries; + +/// +/// Copy multiple files or folders to different locations at once in the user's Dropbox. This route will replace +/// `dCopyBatch`. The main difference is this route will return status for each entry, while `dCopyBatch` raises failure +/// if any entry fails. This route will either finish synchronously, or return a job ID and do the async copy job in +/// background. Please use `dCopyBatchCheck` to check the job status. +/// +/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. +/// @param autorename If there's a conflict with any file, have the Dropbox server try to autorename that file to avoid +/// the conflict. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2Launch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)dCopyBatchV2:(NSArray *)entries + autorename:(nullable NSNumber *)autorename; /// -/// Returns the status of an asynchronous job for `dCopyBatch`. If success, it returns list of results for each entry. +/// DEPRECATED: Returns the status of an asynchronous job for `dCopyBatch`. If success, it returns list of results for +/// each entry. /// /// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched /// the job. @@ -325,7 +442,19 @@ alphaUploadStream:(NSString *)path /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// -- (DBRpcTask *)dCopyBatchCheck:(NSString *)asyncJobId; +- (DBRpcTask *)dCopyBatchCheck:(NSString *)asyncJobId + __deprecated_msg("dCopyBatchCheck is deprecated. Use dCopyBatchCheck."); + +/// +/// Returns the status of an asynchronous job for `dCopyBatch`. It returns list of results for each entry. +/// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2JobStatus` object on +/// success or a `DBASYNCPollError` object on failure. +/// +- (DBRpcTask *)dCopyBatchCheckV2:(NSString *)asyncJobId; /// /// Get a copy reference to a file or folder. This reference string can be used to save that file or folder to another @@ -351,36 +480,6 @@ alphaUploadStream:(NSString *)path (NSString *)dCopyReference path:(NSString *)path; -/// -/// Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents -/// will be copied. -/// -/// -/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a -/// `DBFILESRelocationError` object on failure. -/// -- (DBRpcTask *)dCopyV2:(NSString *)fromPath - toPath:(NSString *)toPath; - -/// -/// Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents -/// will be copied. -/// -/// @param allowSharedFolder If true, `dCopy` will copy contents in shared folder, otherwise `cantCopySharedFolder` in -/// `DBFILESRelocationError` will be returned if fromPath contains shared folder. This field is always true for `move`. -/// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. -/// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content -/// being moved. This does not apply to copies. -/// -/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a -/// `DBFILESRelocationError` object on failure. -/// -- (DBRpcTask *)dCopyV2:(NSString *)fromPath - toPath:(NSString *)toPath - allowSharedFolder:(nullable NSNumber *)allowSharedFolder - autorename:(nullable NSNumber *)autorename - allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; - /// /// DEPRECATED: Create a folder at a given path. /// @@ -390,7 +489,7 @@ alphaUploadStream:(NSString *)path /// `DBFILESCreateFolderError` object on failure. /// - (DBRpcTask *)createFolder:(NSString *)path - __deprecated_msg("createFolder is deprecated. Use createFolderV2."); + __deprecated_msg("createFolder is deprecated. Use createFolder."); /// /// DEPRECATED: Create a folder at a given path. @@ -403,7 +502,7 @@ alphaUploadStream:(NSString *)path /// - (DBRpcTask *)createFolder:(NSString *)path autorename:(nullable NSNumber *)autorename - __deprecated_msg("createFolder is deprecated. Use createFolderV2."); + __deprecated_msg("createFolder is deprecated. Use createFolder."); /// /// Create a folder at a given path. @@ -427,6 +526,50 @@ alphaUploadStream:(NSString *)path - (DBRpcTask *)createFolderV2:(NSString *)path autorename:(nullable NSNumber *)autorename; +/// +/// Create multiple folders at once. This route is asynchronous for large batches, which returns a job ID immediately +/// and runs the create folder batch asynchronously. Otherwise, creates the folders and returns the result synchronously +/// for smaller inputs. You can force asynchronous behaviour by using the `forceAsync` in `DBFILESCreateFolderBatchArg` +/// flag. Use `createFolderBatchCheck` to check the job status. +/// +/// @param paths List of paths to be created in the user's Dropbox. Duplicate path arguments in the batch are considered +/// only once. +/// +/// @return Through the response callback, the caller will receive a `DBFILESCreateFolderBatchLaunch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)createFolderBatch:(NSArray *)paths; + +/// +/// Create multiple folders at once. This route is asynchronous for large batches, which returns a job ID immediately +/// and runs the create folder batch asynchronously. Otherwise, creates the folders and returns the result synchronously +/// for smaller inputs. You can force asynchronous behaviour by using the `forceAsync` in `DBFILESCreateFolderBatchArg` +/// flag. Use `createFolderBatchCheck` to check the job status. +/// +/// @param paths List of paths to be created in the user's Dropbox. Duplicate path arguments in the batch are considered +/// only once. +/// @param autorename If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. +/// @param forceAsync Whether to force the create to happen asynchronously. +/// +/// @return Through the response callback, the caller will receive a `DBFILESCreateFolderBatchLaunch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)createFolderBatch:(NSArray *)paths + autorename:(nullable NSNumber *)autorename + forceAsync:(nullable NSNumber *)forceAsync; + +/// +/// Returns the status of an asynchronous job for `createFolderBatch`. If success, it returns list of result for each +/// entry. +/// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. +/// +/// @return Through the response callback, the caller will receive a `DBFILESCreateFolderBatchJobStatus` object on +/// success or a `DBASYNCPollError` object on failure. +/// +- (DBRpcTask *)createFolderBatchCheck:(NSString *)asyncJobId; + /// /// DEPRECATED: Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted /// too. A successful response indicates that the file or folder was deleted. The returned metadata will be the @@ -438,28 +581,35 @@ alphaUploadStream:(NSString *)path /// `DBFILESDeleteError` object on failure. /// - (DBRpcTask *)delete_:(NSString *)path - __deprecated_msg("delete_ is deprecated. Use deleteV2."); + __deprecated_msg("delete_ is deprecated. Use delete_."); /// -/// Delete multiple files/folders at once. This route is asynchronous, which returns a job ID immediately and runs the -/// delete batch asynchronously. Use `deleteBatchCheck` to check the job status. +/// DEPRECATED: Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted +/// too. A successful response indicates that the file or folder was deleted. The returned metadata will be the +/// corresponding FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object. /// +/// @param path Path in the user's Dropbox to delete. +/// @param parentRev Perform delete if given "rev" matches the existing file's latest "rev". This field does not support +/// deleting a folder. /// -/// @return Through the response callback, the caller will receive a `DBFILESDeleteBatchLaunch` object on success or a -/// `void` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESMetadata` object on success or a +/// `DBFILESDeleteError` object on failure. /// -- (DBRpcTask *)deleteBatch:(NSArray *)entries; +- (DBRpcTask *)delete_:(NSString *)path + parentRev:(nullable NSString *)parentRev + __deprecated_msg("delete_ is deprecated. Use delete_."); /// -/// Returns the status of an asynchronous job for `deleteBatch`. If success, it returns list of result for each entry. +/// Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. A +/// successful response indicates that the file or folder was deleted. The returned metadata will be the corresponding +/// FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object. /// -/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched -/// the job. +/// @param path Path in the user's Dropbox to delete. /// -/// @return Through the response callback, the caller will receive a `DBFILESDeleteBatchJobStatus` object on success or -/// a `DBASYNCPollError` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESDeleteResult` object on success or a +/// `DBFILESDeleteError` object on failure. /// -- (DBRpcTask *)deleteBatchCheck:(NSString *)asyncJobId; +- (DBRpcTask *)delete_V2:(NSString *)path; /// /// Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. A @@ -467,11 +617,35 @@ alphaUploadStream:(NSString *)path /// FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object. /// /// @param path Path in the user's Dropbox to delete. +/// @param parentRev Perform delete if given "rev" matches the existing file's latest "rev". This field does not support +/// deleting a folder. /// /// @return Through the response callback, the caller will receive a `DBFILESDeleteResult` object on success or a /// `DBFILESDeleteError` object on failure. /// -- (DBRpcTask *)deleteV2:(NSString *)path; +- (DBRpcTask *)delete_V2:(NSString *)path + parentRev:(nullable NSString *)parentRev; + +/// +/// Delete multiple files/folders at once. This route is asynchronous, which returns a job ID immediately and runs the +/// delete batch asynchronously. Use `deleteBatchCheck` to check the job status. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILESDeleteBatchLaunch` object on success or a +/// `void` object on failure. +/// +- (DBRpcTask *)deleteBatch:(NSArray *)entries; + +/// +/// Returns the status of an asynchronous job for `deleteBatch`. If success, it returns list of result for each entry. +/// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. +/// +/// @return Through the response callback, the caller will receive a `DBFILESDeleteBatchJobStatus` object on success or +/// a `DBASYNCPollError` object on failure. +/// +- (DBRpcTask *)deleteBatchCheck:(NSString *)asyncJobId; /// /// Download a file from a user's Dropbox. @@ -609,6 +783,247 @@ alphaUploadStream:(NSString *)path byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd; +/// +/// Download a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single +/// file within must be less than 4 GB in size. The resulting zip must have fewer than 10,000 total file and folder +/// entries, including the top level folder. The input cannot be a single file. Note: this endpoint does not support +/// HTTP range requests. +/// +/// @param path The path of the folder to download. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESDownloadZipResult` object on success or a +/// `DBFILESDownloadZipError` object on failure. +/// +- (DBDownloadUrlTask *)downloadZipUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Download a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single +/// file within must be less than 4 GB in size. The resulting zip must have fewer than 10,000 total file and folder +/// entries, including the top level folder. The input cannot be a single file. Note: this endpoint does not support +/// HTTP range requests. +/// +/// @param path The path of the folder to download. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESDownloadZipResult` object on success or a +/// `DBFILESDownloadZipError` object on failure. +/// +- (DBDownloadUrlTask *)downloadZipUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Download a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single +/// file within must be less than 4 GB in size. The resulting zip must have fewer than 10,000 total file and folder +/// entries, including the top level folder. The input cannot be a single file. Note: this endpoint does not support +/// HTTP range requests. +/// +/// @param path The path of the folder to download. +/// +/// @return Through the response callback, the caller will receive a `DBFILESDownloadZipResult` object on success or a +/// `DBFILESDownloadZipError` object on failure. +/// +- (DBDownloadDataTask *)downloadZipData:(NSString *)path; + +/// +/// Download a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single +/// file within must be less than 4 GB in size. The resulting zip must have fewer than 10,000 total file and folder +/// entries, including the top level folder. The input cannot be a single file. Note: this endpoint does not support +/// HTTP range requests. +/// +/// @param path The path of the folder to download. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESDownloadZipResult` object on success or a +/// `DBFILESDownloadZipError` object on failure. +/// +- (DBDownloadDataTask *) + downloadZipData:(NSString *)path + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param exportFormat The file format to which the file should be exported. This must be one of the formats listed in +/// the file's export_options returned by `getMetadata`. If none is specified, the default format (specified in +/// export_as in file metadata) will be used. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + exportFormat:(nullable NSString *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param exportFormat The file format to which the file should be exported. This must be one of the formats listed in +/// the file's export_options returned by `getMetadata`. If none is specified, the default format (specified in +/// export_as in file metadata) will be used. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + exportFormat:(nullable NSString *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadDataTask *)exportData:(NSString *)path; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param exportFormat The file format to which the file should be exported. This must be one of the formats listed in +/// the file's export_options returned by `getMetadata`. If none is specified, the default format (specified in +/// export_as in file metadata) will be used. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadDataTask *)exportData:(NSString *)path + exportFormat:(nullable NSString *)exportFormat; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadDataTask *)exportData:(NSString *)path + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Export a file from a user's Dropbox. This route only supports exporting files that cannot be downloaded directly +/// and whose `fileMetadata` in `DBFILESExportResult` has `exportAs` in `DBFILESExportInfo` populated. +/// +/// @param path The path of the file to be exported. +/// @param exportFormat The file format to which the file should be exported. This must be one of the formats listed in +/// the file's export_options returned by `getMetadata`. If none is specified, the default format (specified in +/// export_as in file metadata) will be used. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESExportResult` object on success or a +/// `DBFILESExportError` object on failure. +/// +- (DBDownloadDataTask *)exportData:(NSString *)path + exportFormat:(nullable NSString *)exportFormat + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Return the lock metadata for the given list of paths. +/// +/// @param entries List of 'entries'. Each 'entry' contains a path of the file which will be locked or queried. +/// Duplicate path arguments in the batch are considered only once. +/// +/// @return Through the response callback, the caller will receive a `DBFILESLockFileBatchResult` object on success or a +/// `DBFILESLockFileError` object on failure. +/// +- (DBRpcTask *)getFileLockBatch: + (NSArray *)entries; + /// /// Returns the metadata for a file or folder. Note: Metadata for the root folder is unsupported. /// @@ -635,17 +1050,17 @@ alphaUploadStream:(NSString *)path /// `DBFILESGetMetadataError` object on failure. /// - (DBRpcTask *) - getMetadata:(NSString *)path - includeMediaInfo:(nullable NSNumber *)includeMediaInfo - includeDeleted:(nullable NSNumber *)includeDeleted -includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers - includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; + getMetadata:(NSString *)path + includeMediaInfo:(nullable NSNumber *)includeMediaInfo + includeDeleted:(nullable NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file @@ -662,9 +1077,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param rev Please specify revision in path instead. @@ -683,9 +1098,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file @@ -708,9 +1123,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param rev Please specify revision in path instead. @@ -735,9 +1150,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @@ -748,9 +1163,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param rev Please specify revision in path instead. @@ -763,9 +1178,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must @@ -782,9 +1197,9 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a preview for a file. Currently, PDF previews are generated for files with the following extensions: .ai, .doc, -/// .docm, .docx, .eps, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are generated for files -/// with the following extensions: .csv, .ods, .xls, .xlsm, .xlsx. Other formats will return an unsupported extension -/// error. +/// .docm, .docx, .eps, .gdoc, .gslides, .odp, .odt, .pps, .ppsm, .ppsx, .ppt, .pptm, .pptx, .rtf. HTML previews are +/// generated for files with the following extensions: .csv, .ods, .xls, .xlsm, .gsheet, .xlsx. Other formats will +/// return an unsupported extension error. /// /// @param path The path of the file to preview. /// @param rev Please specify revision in path instead. @@ -803,7 +1218,8 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a temporary link to stream content of a file. This link will expire in four hours and afterwards you will get -/// 410 Gone. Content-Type of the link is determined automatically by the file's mime type. +/// 410 Gone. This URL should not be used to display content directly in the browser. The Content-Type of the link is +/// determined automatically by the file's mime type. /// /// @param path The path to the file you want a temporary link to. /// @@ -812,9 +1228,70 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// - (DBRpcTask *)getTemporaryLink:(NSString *)path; +/// +/// Get a one-time use temporary upload link to upload a file to a Dropbox location. This endpoint acts as a delayed +/// `upload`. The returned temporary upload link may be used to make a POST request with the data to be uploaded. The +/// upload will then be perfomed with the CommitInfo previously provided to `getTemporaryUploadLink` but evaluated only +/// upon consumption. Hence, errors stemming from invalid CommitInfo with respect to the state of the user's Dropbox +/// will only be communicated at consumption time. Additionally, these errors are surfaced as generic HTTP 409 Conflict +/// responses, potentially hiding issue details. The maximum temporary upload link duration is 4 hours. Upon consumption +/// or expiration, a new link will have to be generated. Multiple links may exist for a specific upload path at any +/// given time. The POST request on the temporary upload link must have its Content-Type set to +/// "application/octet-stream". Example temporary upload link consumption request: curl -X POST +/// https://content.dropboxapi.com/apitul/1/bNi2uIYF51cVBND --header "Content-Type: application/octet-stream" +/// --data-binary @local_file.txt A successful temporary upload link consumption request returns the content hash of +/// the uploaded data in JSON format. Example successful temporary upload link consumption response: {"content-hash": +/// "599d71033d700ac892a0e48fa61b125d2f5994"} An unsuccessful temporary upload link consumption request returns any of +/// the following status codes: HTTP 400 Bad Request: Content-Type is not one of application/octet-stream and +/// text/plain or request is invalid. HTTP 409 Conflict: The temporary upload link does not exist or is currently +/// unavailable, the upload failed, or another error happened. HTTP 410 Gone: The temporary upload link is expired or +/// consumed. Example unsuccessful temporary upload link consumption response: Temporary upload link has been recently +/// consumed. +/// +/// @param commitInfo Contains the path and other optional modifiers for the future upload commit. Equivalent to the +/// parameters provided to `upload`. +/// +/// @return Through the response callback, the caller will receive a `DBFILESGetTemporaryUploadLinkResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *)getTemporaryUploadLink: + (DBFILESCommitInfo *)commitInfo; + +/// +/// Get a one-time use temporary upload link to upload a file to a Dropbox location. This endpoint acts as a delayed +/// `upload`. The returned temporary upload link may be used to make a POST request with the data to be uploaded. The +/// upload will then be perfomed with the CommitInfo previously provided to `getTemporaryUploadLink` but evaluated only +/// upon consumption. Hence, errors stemming from invalid CommitInfo with respect to the state of the user's Dropbox +/// will only be communicated at consumption time. Additionally, these errors are surfaced as generic HTTP 409 Conflict +/// responses, potentially hiding issue details. The maximum temporary upload link duration is 4 hours. Upon consumption +/// or expiration, a new link will have to be generated. Multiple links may exist for a specific upload path at any +/// given time. The POST request on the temporary upload link must have its Content-Type set to +/// "application/octet-stream". Example temporary upload link consumption request: curl -X POST +/// https://content.dropboxapi.com/apitul/1/bNi2uIYF51cVBND --header "Content-Type: application/octet-stream" +/// --data-binary @local_file.txt A successful temporary upload link consumption request returns the content hash of +/// the uploaded data in JSON format. Example successful temporary upload link consumption response: {"content-hash": +/// "599d71033d700ac892a0e48fa61b125d2f5994"} An unsuccessful temporary upload link consumption request returns any of +/// the following status codes: HTTP 400 Bad Request: Content-Type is not one of application/octet-stream and +/// text/plain or request is invalid. HTTP 409 Conflict: The temporary upload link does not exist or is currently +/// unavailable, the upload failed, or another error happened. HTTP 410 Gone: The temporary upload link is expired or +/// consumed. Example unsuccessful temporary upload link consumption response: Temporary upload link has been recently +/// consumed. +/// +/// @param commitInfo Contains the path and other optional modifiers for the future upload commit. Equivalent to the +/// parameters provided to `upload`. +/// @param duration How long before this link expires, in seconds. Attempting to start an upload with this link longer +/// than this period of time after link creation will result in an error. +/// +/// @return Through the response callback, the caller will receive a `DBFILESGetTemporaryUploadLinkResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *) + getTemporaryUploadLink:(DBFILESCommitInfo *)commitInfo + duration:(nullable NSNumber *)duration; + /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file @@ -831,12 +1308,13 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be /// preferred, while png is better for screenshots and digital arts. /// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file /// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of /// a file conflict. @@ -846,15 +1324,16 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *) -getThumbnailUrl:(NSString *)path - format:(nullable DBFILESThumbnailFormat *)format - size:(nullable DBFILESThumbnailSize *)size - overwrite:(BOOL)overwrite - destination:(NSURL *)destination; + getThumbnailUrl:(NSString *)path + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file @@ -877,12 +1356,13 @@ getThumbnailUrl:(NSString *)path /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be /// preferred, while png is better for screenshots and digital arts. /// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file /// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of /// a file conflict. @@ -896,17 +1376,18 @@ getThumbnailUrl:(NSString *)path /// `DBFILESThumbnailError` object on failure. /// - (DBDownloadUrlTask *) -getThumbnailUrl:(NSString *)path - format:(nullable DBFILESThumbnailFormat *)format - size:(nullable DBFILESThumbnailSize *)size - overwrite:(BOOL)overwrite - destination:(NSURL *)destination -byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + getThumbnailUrl:(NSString *)path + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @@ -917,65 +1398,249 @@ byteOffsetStart:(NSNumber *)byteOffsetStart /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// /// @param path The path to the image file you want to thumbnail. /// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be /// preferred, while png is better for screenshots and digital arts. /// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESThumbnailError` object on failure. /// -- (DBDownloadDataTask *) -getThumbnailData:(NSString *)path - format:(nullable DBFILESThumbnailFormat *)format - size:(nullable DBFILESThumbnailSize *)size; +- (DBDownloadDataTask *) + getThumbnailData:(NSString *)path + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param path The path to the image file you want to thumbnail. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a +/// `DBFILESThumbnailError` object on failure. +/// +- (DBDownloadDataTask *)getThumbnailData:(NSString *)path + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param path The path to the image file you want to thumbnail. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a +/// `DBFILESThumbnailError` object on failure. +/// +- (DBDownloadDataTask *) + getThumbnailData:(NSString *)path + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *)getThumbnailV2Url: + (DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *) + getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *)getThumbnailV2Url: + (DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file +/// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of +/// a file conflict. +/// @param destination The file url of the desired download output location. +/// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must +/// include valid end range value. +/// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid +/// start range value. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadUrlTask *) + getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *)getThumbnailV2Data: + (DBFILESPathOrLink *)resource; + +/// +/// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. +/// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be +/// preferred, while png is better for screenshots and digital arts. +/// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. +/// +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode; /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// -/// @param path The path to the image file you want to thumbnail. +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must /// include valid end range value. /// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid /// start range value. /// -/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESThumbnailError` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. /// -- (DBDownloadDataTask *)getThumbnailData:(NSString *)path - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, -/// png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. +/// png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail. /// -/// @param path The path to the image file you want to thumbnail. +/// @param resource Information specifying which file to preview. This could be a path to a file, a shared link pointing +/// to a file, or a shared link pointing to a folder, with a relative path. /// @param format The format for the thumbnail image, jpeg (default) or png. For images that are photos, jpeg should be /// preferred, while png is better for screenshots and digital arts. /// @param size The size for the thumbnail image. +/// @param mode How to resize and crop the image to achieve the desired size. /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must /// include valid end range value. /// @param byteOffsetEnd For partial file download. Download file up until this ending byte position. Must include valid /// start range value. /// -/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a -/// `DBFILESThumbnailError` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESPreviewResult` object on success or a +/// `DBFILESThumbnailV2Error` object on failure. /// -- (DBDownloadDataTask *) -getThumbnailData:(NSString *)path - format:(nullable DBFILESThumbnailFormat *)format - size:(nullable DBFILESThumbnailSize *)size - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; +- (DBDownloadDataTask *) + getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(nullable DBFILESThumbnailFormat *)format + size:(nullable DBFILESThumbnailSize *)size + mode:(nullable DBFILESThumbnailMode *)mode + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get thumbnails for a list of images. We allow up to 25 thumbnails in a single batch. This method currently supports -/// files with the following file extensions: jpg, jpeg, png, tiff, tif, gif and bmp. Photos that are larger than 20MB -/// in size won't be converted to a thumbnail. +/// files with the following file extensions: jpg, jpeg, png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger +/// than 20MB in size won't be converted to a thumbnail. /// /// @param entries List of files to get thumbnails. /// @@ -1025,7 +1690,8 @@ getThumbnailData:(NSString *)path /// @param path A unique identifier for the file. /// @param recursive If true, the list folder operation will be applied recursively to all subfolders and the response /// will contain contents of all subfolders. -/// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. +/// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. This parameter +/// will no longer have an effect starting December 2, 2019. /// @param includeDeleted If true, the results will include entries for files and folders that used to exist but were /// deleted. /// @param includeHasExplicitSharedMembers If true, the results will include a flag for each file indicating whether or @@ -1039,20 +1705,22 @@ getThumbnailData:(NSString *)path /// Only non-recursive mode is supported for shared link. /// @param includePropertyGroups If set to a valid list of template IDs, `propertyGroups` in `DBFILESFileMetadata` is /// set if there exists property data associated with the file and each of the listed templates. +/// @param includeNonDownloadableFiles If true, include files that are not downloadable, i.e. Google Docs. /// /// @return Through the response callback, the caller will receive a `DBFILESListFolderResult` object on success or a /// `DBFILESListFolderError` object on failure. /// - (DBRpcTask *) - listFolder:(NSString *)path - recursive:(nullable NSNumber *)recursive - includeMediaInfo:(nullable NSNumber *)includeMediaInfo - includeDeleted:(nullable NSNumber *)includeDeleted -includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers - includeMountedFolders:(nullable NSNumber *)includeMountedFolders - limit:(nullable NSNumber *)limit - sharedLink:(nullable DBFILESSharedLink *)sharedLink - includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; + listFolder:(NSString *)path + recursive:(nullable NSNumber *)recursive + includeMediaInfo:(nullable NSNumber *)includeMediaInfo + includeDeleted:(nullable NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers + includeMountedFolders:(nullable NSNumber *)includeMountedFolders + limit:(nullable NSNumber *)limit + sharedLink:(nullable DBFILESSharedLink *)sharedLink + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(nullable NSNumber *)includeNonDownloadableFiles; /// /// Once a cursor has been retrieved from `listFolder`, use this to paginate through all files and retrieve updates to @@ -1086,7 +1754,8 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// @param path A unique identifier for the file. /// @param recursive If true, the list folder operation will be applied recursively to all subfolders and the response /// will contain contents of all subfolders. -/// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. +/// @param includeMediaInfo If true, `mediaInfo` in `DBFILESFileMetadata` is set for photo and video. This parameter +/// will no longer have an effect starting December 2, 2019. /// @param includeDeleted If true, the results will include entries for files and folders that used to exist but were /// deleted. /// @param includeHasExplicitSharedMembers If true, the results will include a flag for each file indicating whether or @@ -1100,20 +1769,22 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// Only non-recursive mode is supported for shared link. /// @param includePropertyGroups If set to a valid list of template IDs, `propertyGroups` in `DBFILESFileMetadata` is /// set if there exists property data associated with the file and each of the listed templates. +/// @param includeNonDownloadableFiles If true, include files that are not downloadable, i.e. Google Docs. /// /// @return Through the response callback, the caller will receive a `DBFILESListFolderGetLatestCursorResult` object on /// success or a `DBFILESListFolderError` object on failure. /// - (DBRpcTask *) - listFolderGetLatestCursor:(NSString *)path - recursive:(nullable NSNumber *)recursive - includeMediaInfo:(nullable NSNumber *)includeMediaInfo - includeDeleted:(nullable NSNumber *)includeDeleted -includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers - includeMountedFolders:(nullable NSNumber *)includeMountedFolders - limit:(nullable NSNumber *)limit - sharedLink:(nullable DBFILESSharedLink *)sharedLink - includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups; + listFolderGetLatestCursor:(NSString *)path + recursive:(nullable NSNumber *)recursive + includeMediaInfo:(nullable NSNumber *)includeMediaInfo + includeDeleted:(nullable NSNumber *)includeDeleted + includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMembers + includeMountedFolders:(nullable NSNumber *)includeMountedFolders + limit:(nullable NSNumber *)limit + sharedLink:(nullable DBFILESSharedLink *)sharedLink + includePropertyGroups:(nullable DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(nullable NSNumber *)includeNonDownloadableFiles; /// /// A longpoll endpoint to wait for changes on an account. In conjunction with `listFolderContinue`, this call gives you @@ -1148,8 +1819,8 @@ includeHasExplicitSharedMembers:(nullable NSNumber *)includeHasExplicitSharedMem /// or a `DBFILESListFolderLongpollError` object on failure. /// - (DBRpcTask *) -listFolderLongpoll:(NSString *)cursor - timeout:(nullable NSNumber *)timeout; + listFolderLongpoll:(NSString *)cursor + timeout:(nullable NSNumber *)timeout; /// /// Returns revisions for files based on a file path or a file id. The file path or file id is identified from the @@ -1182,9 +1853,23 @@ listFolderLongpoll:(NSString *)cursor /// `DBFILESListRevisionsError` object on failure. /// - (DBRpcTask *) -listRevisions:(NSString *)path - mode:(nullable DBFILESListRevisionsMode *)mode - limit:(nullable NSNumber *)limit; + listRevisions:(NSString *)path + mode:(nullable DBFILESListRevisionsMode *)mode + limit:(nullable NSNumber *)limit; + +/// +/// Lock the files at the given paths. A locked file will be writable only by the lock holder. A successful response +/// indicates that the file has been locked. Returns a list of the locked file paths and their metadata after this +/// operation. +/// +/// @param entries List of 'entries'. Each 'entry' contains a path of the file which will be locked or queried. +/// Duplicate path arguments in the batch are considered only once. +/// +/// @return Through the response callback, the caller will receive a `DBFILESLockFileBatchResult` object on success or a +/// `DBFILESLockFileError` object on failure. +/// +- (DBRpcTask *)lockFileBatch: + (NSArray *)entries; /// /// DEPRECATED: Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all @@ -1196,14 +1881,13 @@ listRevisions:(NSString *)path /// - (DBRpcTask *)move:(NSString *)fromPath toPath:(NSString *)toPath - __deprecated_msg("move is deprecated. Use moveV2."); + __deprecated_msg("move is deprecated. Use move."); /// /// DEPRECATED: Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all /// its contents will be moved. /// -/// @param allowSharedFolder If true, `dCopy` will copy contents in shared folder, otherwise `cantCopySharedFolder` in -/// `DBFILESRelocationError` will be returned if fromPath contains shared folder. This field is always true for `move`. +/// @param allowSharedFolder This flag has no effect. /// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. /// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content /// being moved. This does not apply to copies. @@ -1216,31 +1900,55 @@ listRevisions:(NSString *)path allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer - __deprecated_msg("move is deprecated. Use moveV2."); + __deprecated_msg("move is deprecated. Use move."); /// -/// Move multiple files or folders to different locations at once in the user's Dropbox. This route is 'all or nothing', -/// which means if one entry fails, the whole transaction will abort. This route will return job ID immediately and do -/// the async moving job in background. Please use `moveBatchCheck` to check the job status. +/// Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents +/// will be moved. Note that we do not currently support case-only renaming. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a +/// `DBFILESRelocationError` object on failure. +/// +- (DBRpcTask *)moveV2:(NSString *)fromPath + toPath:(NSString *)toPath; + +/// +/// Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents +/// will be moved. Note that we do not currently support case-only renaming. +/// +/// @param allowSharedFolder This flag has no effect. +/// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. +/// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content +/// being moved. This does not apply to copies. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a +/// `DBFILESRelocationError` object on failure. +/// +- (DBRpcTask *)moveV2:(NSString *)fromPath + toPath:(NSString *)toPath + allowSharedFolder:(nullable NSNumber *)allowSharedFolder + autorename:(nullable NSNumber *)autorename + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; + +/// +/// DEPRECATED: Move multiple files or folders to different locations at once in the user's Dropbox. This route will +/// return job ID immediately and do the async moving job in background. Please use `moveBatchCheck` to check the job +/// status. /// -/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. /// /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchLaunch` object on success or /// a `void` object on failure. /// -- (DBRpcTask *)moveBatch:(NSArray *)entries; +- (DBRpcTask *)moveBatch:(NSArray *)entries + __deprecated_msg("moveBatch is deprecated. Use moveBatch."); /// -/// Move multiple files or folders to different locations at once in the user's Dropbox. This route is 'all or nothing', -/// which means if one entry fails, the whole transaction will abort. This route will return job ID immediately and do -/// the async moving job in background. Please use `moveBatchCheck` to check the job status. +/// DEPRECATED: Move multiple files or folders to different locations at once in the user's Dropbox. This route will +/// return job ID immediately and do the async moving job in background. Please use `moveBatchCheck` to check the job +/// status. /// -/// @param entries List of entries to be moved or copied. Each entry is RelocationPath. -/// @param allowSharedFolder If true, `dCopyBatch` will copy contents in shared folder, otherwise `cantCopySharedFolder` -/// in `DBFILESRelocationError` will be returned if `fromPath` in `DBFILESRelocationPath` contains shared folder. This -/// field is always true for `moveBatch`. -/// @param autorename If there's a conflict with any file, have the Dropbox server try to autorename that file to avoid -/// the conflict. +/// @param allowSharedFolder This flag has no effect. /// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content /// being moved. This does not apply to copies. /// @@ -1248,12 +1956,44 @@ listRevisions:(NSString *)path /// a `void` object on failure. /// - (DBRpcTask *)moveBatch:(NSArray *)entries - allowSharedFolder:(nullable NSNumber *)allowSharedFolder autorename:(nullable NSNumber *)autorename - allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; + allowSharedFolder:(nullable NSNumber *)allowSharedFolder + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer + __deprecated_msg("moveBatch is deprecated. Use moveBatch."); + +/// +/// Move multiple files or folders to different locations at once in the user's Dropbox. Note that we do not currently +/// support case-only renaming. This route will replace `moveBatch`. The main difference is this route will return +/// status for each entry, while `moveBatch` raises failure if any entry fails. This route will either finish +/// synchronously, or return a job ID and do the async move job in background. Please use `moveBatchCheck` to check the +/// job status. +/// +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2Launch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)moveBatchV2:(NSArray *)entries; + +/// +/// Move multiple files or folders to different locations at once in the user's Dropbox. Note that we do not currently +/// support case-only renaming. This route will replace `moveBatch`. The main difference is this route will return +/// status for each entry, while `moveBatch` raises failure if any entry fails. This route will either finish +/// synchronously, or return a job ID and do the async move job in background. Please use `moveBatchCheck` to check the +/// job status. +/// +/// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content +/// being moved. This does not apply to copies. +/// +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2Launch` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)moveBatchV2:(NSArray *)entries + autorename:(nullable NSNumber *)autorename + allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; /// -/// Returns the status of an asynchronous job for `moveBatch`. If success, it returns list of results for each entry. +/// DEPRECATED: Returns the status of an asynchronous job for `moveBatch`. If success, it returns list of results for +/// each entry. /// /// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched /// the job. @@ -1261,41 +2001,189 @@ listRevisions:(NSString *)path /// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchJobStatus` object on success /// or a `DBASYNCPollError` object on failure. /// -- (DBRpcTask *)moveBatchCheck:(NSString *)asyncJobId; +- (DBRpcTask *)moveBatchCheck:(NSString *)asyncJobId + __deprecated_msg("moveBatchCheck is deprecated. Use moveBatchCheck."); /// -/// Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents -/// will be moved. +/// Returns the status of an asynchronous job for `moveBatch`. It returns list of results for each entry. /// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. /// -/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a -/// `DBFILESRelocationError` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESRelocationBatchV2JobStatus` object on +/// success or a `DBASYNCPollError` object on failure. /// -- (DBRpcTask *)moveV2:(NSString *)fromPath - toPath:(NSString *)toPath; +- (DBRpcTask *)moveBatchCheckV2:(NSString *)asyncJobId; /// -/// Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents -/// will be moved. +/// Creates a new Paper doc with the provided content. /// -/// @param allowSharedFolder If true, `dCopy` will copy contents in shared folder, otherwise `cantCopySharedFolder` in -/// `DBFILESRelocationError` will be returned if fromPath contains shared folder. This field is always true for `move`. -/// @param autorename If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. -/// @param allowOwnershipTransfer Allow moves by owner even if it would result in an ownership transfer for the content -/// being moved. This does not apply to copies. +/// @param path The fully qualified path to the location in the user's Dropbox where the Paper Doc should be created. +/// This should include the document's title and end with .paper. +/// @param importFormat The format of the provided data. +/// @param inputUrl The file to upload, as an NSString * object. /// -/// @return Through the response callback, the caller will receive a `DBFILESRelocationResult` object on success or a -/// `DBFILESRelocationError` object on failure. +/// @return Through the response callback, the caller will receive a `DBFILESPaperCreateResult` object on success or a +/// `DBFILESPaperCreateError` object on failure. /// -- (DBRpcTask *)moveV2:(NSString *)fromPath - toPath:(NSString *)toPath - allowSharedFolder:(nullable NSNumber *)allowSharedFolder - autorename:(nullable NSNumber *)autorename - allowOwnershipTransfer:(nullable NSNumber *)allowOwnershipTransfer; +- (DBUploadTask *)paperCreateUrl:(NSString *)path + importFormat: + (DBFILESImportFormat *)importFormat + inputUrl:(NSString *)inputUrl; + +/// +/// Creates a new Paper doc with the provided content. +/// +/// @param path The fully qualified path to the location in the user's Dropbox where the Paper Doc should be created. +/// This should include the document's title and end with .paper. +/// @param importFormat The format of the provided data. +/// @param inputData The file to upload, as an NSData * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperCreateResult` object on success or a +/// `DBFILESPaperCreateError` object on failure. +/// +- (DBUploadTask *)paperCreateData:(NSString *)path + importFormat: + (DBFILESImportFormat *)importFormat + inputData:(NSData *)inputData; + +/// +/// Creates a new Paper doc with the provided content. +/// +/// @param path The fully qualified path to the location in the user's Dropbox where the Paper Doc should be created. +/// This should include the document's title and end with .paper. +/// @param importFormat The format of the provided data. +/// @param inputStream The file to upload, as an NSInputStream * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperCreateResult` object on success or a +/// `DBFILESPaperCreateError` object on failure. +/// +- (DBUploadTask *)paperCreateStream:(NSString *)path + importFormat: + (DBFILESImportFormat *)importFormat + inputStream:(NSInputStream *)inputStream; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param inputUrl The file to upload, as an NSString * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateUrl:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputUrl:(NSString *)inputUrl; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param paperRevision The latest doc revision. Required when doc_update_policy is update. This value must match the +/// current revision of the doc or error revision_mismatch will be returned. +/// @param inputUrl The file to upload, as an NSString * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateUrl:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(nullable NSNumber *)paperRevision + inputUrl:(NSString *)inputUrl; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param inputData The file to upload, as an NSData * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateData:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputData:(NSData *)inputData; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param paperRevision The latest doc revision. Required when doc_update_policy is update. This value must match the +/// current revision of the doc or error revision_mismatch will be returned. +/// @param inputData The file to upload, as an NSData * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateData:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(nullable NSNumber *)paperRevision + inputData:(NSData *)inputData; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param inputStream The file to upload, as an NSInputStream * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateStream:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputStream:(NSInputStream *)inputStream; + +/// +/// Updates an existing Paper doc with the provided content. +/// +/// @param path Path in the user's Dropbox to update. The path must correspond to a Paper doc or an error will be +/// returned. +/// @param importFormat The format of the provided data. +/// @param docUpdatePolicy How the provided content should be applied to the doc. +/// @param paperRevision The latest doc revision. Required when doc_update_policy is update. This value must match the +/// current revision of the doc or error revision_mismatch will be returned. +/// @param inputStream The file to upload, as an NSInputStream * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESPaperUpdateResult` object on success or a +/// `DBFILESPaperUpdateError` object on failure. +/// +- (DBUploadTask *) + paperUpdateStream:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(nullable NSNumber *)paperRevision + inputStream:(NSInputStream *)inputStream; /// -/// Permanently delete the file or folder at a given path (see https://www.dropbox.com/en/help/40). Note: This endpoint -/// is only available for Dropbox Business apps. +/// Permanently delete the file or folder at a given path (see https://www.dropbox.com/en/help/40). If the given file or +/// folder is not yet deleted, this route will first delete it. It is possible for this route to successfully delete, +/// then fail to permanently delete. Note: This endpoint is only available for Dropbox Business apps. /// /// @param path Path in the user's Dropbox to delete. /// @@ -1304,32 +2192,49 @@ listRevisions:(NSString *)path /// - (DBRpcTask *)permanentlyDelete:(NSString *)path; +/// +/// Permanently delete the file or folder at a given path (see https://www.dropbox.com/en/help/40). If the given file or +/// folder is not yet deleted, this route will first delete it. It is possible for this route to successfully delete, +/// then fail to permanently delete. Note: This endpoint is only available for Dropbox Business apps. +/// +/// @param path Path in the user's Dropbox to delete. +/// @param parentRev Perform delete if given "rev" matches the existing file's latest "rev". This field does not support +/// deleting a folder. +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a `DBFILESDeleteError` +/// object on failure. +/// +- (DBRpcTask *)permanentlyDelete:(NSString *)path + parentRev:(nullable NSString *)parentRev; + /// /// DEPRECATED: The propertiesAdd route /// /// @param path A unique identifier for the file or folder. -/// @param propertyGroups The property groups which are to be added to a Dropbox file. +/// @param propertyGroups The property groups which are to be added to a Dropbox file. No two groups in the input should +/// refer to the same template. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESAddPropertiesError` object on failure. /// - (DBRpcTask *) - propertiesAdd:(NSString *)path -propertyGroups:(NSArray *)propertyGroups + propertiesAdd:(NSString *)path + propertyGroups:(NSArray *)propertyGroups __deprecated_msg("propertiesAdd is deprecated."); /// /// DEPRECATED: The propertiesOverwrite route /// /// @param path A unique identifier for the file or folder. -/// @param propertyGroups The property groups "snapshot" updates to force apply. +/// @param propertyGroups The property groups "snapshot" updates to force apply. No two groups in the input should +/// refer to the same template. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBFILEPROPERTIESInvalidPropertyGroupError` object on failure. /// - (DBRpcTask *) -propertiesOverwrite:(NSString *)path - propertyGroups:(NSArray *)propertyGroups + propertiesOverwrite:(NSString *)path + propertyGroups:(NSArray *)propertyGroups __deprecated_msg("propertiesOverwrite is deprecated."); /// @@ -1365,8 +2270,8 @@ propertiesOverwrite:(NSString *)path /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESListTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// -- (DBRpcTask *)propertiesTemplateList - __deprecated_msg("propertiesTemplateList is deprecated."); +- (DBRpcTask *) + propertiesTemplateList __deprecated_msg("propertiesTemplateList is deprecated."); /// /// DEPRECATED: The propertiesUpdate route @@ -1378,15 +2283,15 @@ propertiesOverwrite:(NSString *)path /// `DBFILEPROPERTIESUpdatePropertiesError` object on failure. /// - (DBRpcTask *) - propertiesUpdate:(NSString *)path -updatePropertyGroups:(NSArray *)updatePropertyGroups + propertiesUpdate:(NSString *)path + updatePropertyGroups:(NSArray *)updatePropertyGroups __deprecated_msg("propertiesUpdate is deprecated."); /// -/// Restore a file to a specific revision. +/// Restore a specific revision of a file to the given path. /// -/// @param path The path to the file you want to restore. -/// @param rev The revision to restore for the file. +/// @param path The path to save the restored file. +/// @param rev The revision to restore. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESRestoreError` object on failure. @@ -1394,8 +2299,9 @@ updatePropertyGroups:(NSArray *)updatePro - (DBRpcTask *)restore:(NSString *)path rev:(NSString *)rev; /// -/// Save a specified URL into a file in user's Dropbox. If the given path already exists, the file will be renamed to -/// avoid the conflict (e.g. myfile (1).txt). +/// Save the data from a specified URL into a file in user's Dropbox. Note that the transfer from the URL must complete +/// within 15 minutes, or the operation will time out and the job will fail. If the given path already exists, the file +/// will be renamed to avoid the conflict (e.g. myfile (1).txt). /// /// @param path The path in Dropbox where the URL will be saved to. /// @param url The URL to be saved. @@ -1417,25 +2323,29 @@ updatePropertyGroups:(NSArray *)updatePro - (DBRpcTask *)saveUrlCheckJobStatus:(NSString *)asyncJobId; /// -/// Searches for files and folders. Note: Recent changes may not immediately be reflected in search results due to a -/// short delay in indexing. +/// DEPRECATED: Searches for files and folders. Note: Recent changes will be reflected in search results within a few +/// seconds and older revisions of existing files may still match your query for up to a few days. /// /// @param path The path in the user's Dropbox to search. Should probably be a folder. -/// @param query The string to search for. The search string is split on spaces into multiple tokens. For file name -/// searching, the last token is used for prefix matching (i.e. "bat c" matches "bat cave" but not "batman car"). +/// @param query The string to search for. Query string may be rewritten to improve relevance of results. The string is +/// split on spaces into multiple tokens. For file name searching, the last token is used for prefix matching (i.e. "bat +/// c" matches "bat cave" but not "batman car"). /// /// @return Through the response callback, the caller will receive a `DBFILESSearchResult` object on success or a /// `DBFILESSearchError` object on failure. /// -- (DBRpcTask *)search:(NSString *)path query:(NSString *)query; +- (DBRpcTask *)search:(NSString *)path + query:(NSString *)query + __deprecated_msg("search is deprecated. Use search."); /// -/// Searches for files and folders. Note: Recent changes may not immediately be reflected in search results due to a -/// short delay in indexing. +/// DEPRECATED: Searches for files and folders. Note: Recent changes will be reflected in search results within a few +/// seconds and older revisions of existing files may still match your query for up to a few days. /// /// @param path The path in the user's Dropbox to search. Should probably be a folder. -/// @param query The string to search for. The search string is split on spaces into multiple tokens. For file name -/// searching, the last token is used for prefix matching (i.e. "bat c" matches "bat cave" but not "batman car"). +/// @param query The string to search for. Query string may be rewritten to improve relevance of results. The string is +/// split on spaces into multiple tokens. For file name searching, the last token is used for prefix matching (i.e. "bat +/// c" matches "bat cave" but not "batman car"). /// @param start The starting index within the search results (used for paging). /// @param maxResults The maximum number of search results to return. /// @param mode The search mode (filename, filename_and_content, or deleted_filename). Note that searching file content @@ -1448,13 +2358,105 @@ updatePropertyGroups:(NSArray *)updatePro query:(NSString *)query start:(nullable NSNumber *)start maxResults:(nullable NSNumber *)maxResults - mode:(nullable DBFILESSearchMode *)mode; + mode:(nullable DBFILESSearchMode *)mode + __deprecated_msg("search is deprecated. Use search."); + +/// +/// Searches for files and folders. Note: `search` along with `searchContinue` can only be used to retrieve a maximum of +/// 10,000 matches. Recent changes may not immediately be reflected in search results due to a short delay in indexing. +/// Duplicate results may be returned across pages. Some results may not be returned. +/// +/// @param query The string to search for. May match across multiple fields based on the request arguments. +/// +/// @return Through the response callback, the caller will receive a `DBFILESSearchV2Result` object on success or a +/// `DBFILESSearchError` object on failure. +/// +- (DBRpcTask *)searchV2:(NSString *)query; + +/// +/// Searches for files and folders. Note: `search` along with `searchContinue` can only be used to retrieve a maximum of +/// 10,000 matches. Recent changes may not immediately be reflected in search results due to a short delay in indexing. +/// Duplicate results may be returned across pages. Some results may not be returned. +/// +/// @param query The string to search for. May match across multiple fields based on the request arguments. +/// @param options Options for more targeted search results. +/// @param matchFieldOptions Options for search results match fields. +/// @param includeHighlights Deprecated and moved this option to SearchMatchFieldOptions. +/// +/// @return Through the response callback, the caller will receive a `DBFILESSearchV2Result` object on success or a +/// `DBFILESSearchError` object on failure. +/// +- (DBRpcTask *)searchV2:(NSString *)query + options:(nullable DBFILESSearchOptions *)options + matchFieldOptions: + (nullable DBFILESSearchMatchFieldOptions *)matchFieldOptions + includeHighlights:(nullable NSNumber *)includeHighlights; + +/// +/// Fetches the next page of search results returned from `search`. Note: `search` along with `searchContinue` can only +/// be used to retrieve a maximum of 10,000 matches. Recent changes may not immediately be reflected in search results +/// due to a short delay in indexing. Duplicate results may be returned across pages. Some results may not be returned. +/// +/// @param cursor The cursor returned by your last call to `search`. Used to fetch the next page of results. +/// +/// @return Through the response callback, the caller will receive a `DBFILESSearchV2Result` object on success or a +/// `DBFILESSearchError` object on failure. +/// +- (DBRpcTask *)searchContinueV2:(NSString *)cursor; + +/// +/// Add a tag to an item. A tag is a string. The strings are automatically converted to lowercase letters. No more than +/// 20 tags can be added to a given item. +/// +/// @param path Path to the item to be tagged. +/// @param tagText The value of the tag to add. Will be automatically converted to lowercase letters. +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a `DBFILESAddTagError` +/// object on failure. +/// +- (DBRpcTask *)tagsAdd:(NSString *)path tagText:(NSString *)tagText; + +/// +/// Get list of tags assigned to items. +/// +/// @param paths Path to the items. +/// +/// @return Through the response callback, the caller will receive a `DBFILESGetTagsResult` object on success or a +/// `DBFILESBaseTagError` object on failure. +/// +- (DBRpcTask *)tagsGet:(NSArray *)paths; + +/// +/// Remove a tag from an item. +/// +/// @param path Path to the item to tag. +/// @param tagText The tag to remove. Will be automatically converted to lowercase letters. +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a +/// `DBFILESRemoveTagError` object on failure. +/// +- (DBRpcTask *)tagsRemove:(NSString *)path tagText:(NSString *)tagText; + +/// +/// Unlock the files at the given paths. A locked file can only be unlocked by the lock holder or, if a business +/// account, a team admin. A successful response indicates that the file has been unlocked. Returns a list of the +/// unlocked file paths and their metadata after this operation. +/// +/// @param entries List of 'entries'. Each 'entry' contains a path of the file which will be unlocked. Duplicate path +/// arguments in the batch are considered only once. +/// +/// @return Through the response callback, the caller will receive a `DBFILESLockFileBatchResult` object on success or a +/// `DBFILESLockFileError` object on failure. +/// +- (DBRpcTask *)unlockFileBatch: + (NSArray *)entries; /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// -/// @param path Path in the user's Dropbox to save the file. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a @@ -1464,37 +2466,35 @@ updatePropertyGroups:(NSArray *)updatePro /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. -/// -/// @param path Path in the user's Dropbox to save the file. -/// @param mode Selects what to do if the file already exists. -/// @param autorename If there's a conflict, as determined by mode, have the Dropbox server try to autorename the file -/// to avoid conflict. -/// @param clientModified The value to store as the clientModified timestamp. Dropbox automatically records the time at -/// which the file was written to the Dropbox servers. It can also record an additional timestamp, provided by Dropbox -/// desktop clients, mobile clients, and API apps of when the file was actually created or modified. -/// @param mute Normally, users are made aware of any file modifications in their Dropbox account via notifications in -/// the client software. If true, this tells the clients that this modification shouldn't result in a user notification. -/// @param propertyGroups List of custom properties to add to file. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESUploadError` object on failure. /// - (DBUploadTask *) - uploadUrl:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename -clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute -propertyGroups:(nullable NSArray *)propertyGroups - inputUrl:(NSString *)inputUrl; + uploadUrl:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputUrl:(NSString *)inputUrl; /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// -/// @param path Path in the user's Dropbox to save the file. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a @@ -1505,37 +2505,35 @@ propertyGroups:(nullable NSArray *)propertyGrou /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. -/// -/// @param path Path in the user's Dropbox to save the file. -/// @param mode Selects what to do if the file already exists. -/// @param autorename If there's a conflict, as determined by mode, have the Dropbox server try to autorename the file -/// to avoid conflict. -/// @param clientModified The value to store as the clientModified timestamp. Dropbox automatically records the time at -/// which the file was written to the Dropbox servers. It can also record an additional timestamp, provided by Dropbox -/// desktop clients, mobile clients, and API apps of when the file was actually created or modified. -/// @param mute Normally, users are made aware of any file modifications in their Dropbox account via notifications in -/// the client software. If true, this tells the clients that this modification shouldn't result in a user notification. -/// @param propertyGroups List of custom properties to add to file. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESUploadError` object on failure. /// - (DBUploadTask *) - uploadData:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename -clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute -propertyGroups:(nullable NSArray *)propertyGroups - inputData:(NSData *)inputData; + uploadData:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputData:(NSData *)inputData; /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// -/// @param path Path in the user's Dropbox to save the file. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a @@ -1546,209 +2544,300 @@ propertyGroups:(nullable NSArray *)propertyGrou /// /// Create a new file with the contents provided in the request. Do not use this to upload a file larger than 150 MB. -/// Instead, create an upload session with `uploadSessionStart`. -/// -/// @param path Path in the user's Dropbox to save the file. -/// @param mode Selects what to do if the file already exists. -/// @param autorename If there's a conflict, as determined by mode, have the Dropbox server try to autorename the file -/// to avoid conflict. -/// @param clientModified The value to store as the clientModified timestamp. Dropbox automatically records the time at -/// which the file was written to the Dropbox servers. It can also record an additional timestamp, provided by Dropbox -/// desktop clients, mobile clients, and API apps of when the file was actually created or modified. -/// @param mute Normally, users are made aware of any file modifications in their Dropbox account via notifications in -/// the client software. If true, this tells the clients that this modification shouldn't result in a user notification. -/// @param propertyGroups List of custom properties to add to file. +/// Instead, create an upload session with `uploadSessionStart`. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESUploadError` object on failure. /// - (DBUploadTask *) - uploadStream:(NSString *)path - mode:(nullable DBFILESWriteMode *)mode - autorename:(nullable NSNumber *)autorename -clientModified:(nullable NSDate *)clientModified - mute:(nullable NSNumber *)mute -propertyGroups:(nullable NSArray *)propertyGroups - inputStream:(NSInputStream *)inputStream; - -/// -/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. + uploadStream:(NSString *)path + mode:(nullable DBFILESWriteMode *)mode + autorename:(nullable NSNumber *)autorename + clientModified:(nullable NSDate *)clientModified + mute:(nullable NSNumber *)mute + propertyGroups:(nullable NSArray *)propertyGroups + strictConflict:(nullable NSNumber *)strictConflict + contentHash:(nullable NSString *)contentHash + inputStream:(NSInputStream *)inputStream; + +/// +/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. The maximum +/// size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param sessionId The upload session ID (returned by `uploadSessionStart`). -/// @param offset The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or +/// @param offset Offset in bytes at which data should be appended. We use this to make sure upload data isn't lost or /// duplicated in the event of a network error. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendUrl:(NSString *)sessionId +- (DBUploadTask *)uploadSessionAppendUrl:(NSString *)sessionId offset:(NSNumber *)offset inputUrl:(NSString *)inputUrl - __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppendV2."); + __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppend."); /// -/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. +/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. The maximum +/// size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param sessionId The upload session ID (returned by `uploadSessionStart`). -/// @param offset The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or +/// @param offset Offset in bytes at which data should be appended. We use this to make sure upload data isn't lost or /// duplicated in the event of a network error. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendData:(NSString *)sessionId +- (DBUploadTask *)uploadSessionAppendData:(NSString *)sessionId offset:(NSNumber *)offset inputData:(NSData *)inputData - __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppendV2."); + __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppend."); /// -/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. +/// DEPRECATED: Append more data to an upload session. A single request should not upload more than 150 MB. The maximum +/// size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will count as data transport +/// calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. For more +/// information, see the Data transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param sessionId The upload session ID (returned by `uploadSessionStart`). -/// @param offset The amount of data that has been uploaded so far. We use this to make sure upload data isn't lost or +/// @param offset Offset in bytes at which data should be appended. We use this to make sure upload data isn't lost or /// duplicated in the event of a network error. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendStream:(NSString *)sessionId +- (DBUploadTask *)uploadSessionAppendStream:(NSString *)sessionId offset:(NSNumber *)offset inputStream: (NSInputStream *)inputStream - __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppendV2."); + __deprecated_msg("uploadSessionAppend is deprecated. Use uploadSessionAppend."); /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendV2Url: +- (DBUploadTask *)uploadSessionAppendV2Url: (DBFILESUploadSessionCursor *)cursor inputUrl:(NSString *)inputUrl; /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendV2Url: - (DBFILESUploadSessionCursor *)cursor - close:(nullable NSNumber *)close - inputUrl:(NSString *)inputUrl; +- (DBUploadTask *) + uploadSessionAppendV2Url:(DBFILESUploadSessionCursor *)cursor + close:(nullable NSNumber *)close + contentHash:(nullable NSString *)contentHash + inputUrl:(NSString *)inputUrl; /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendV2Data: +- (DBUploadTask *)uploadSessionAppendV2Data: (DBFILESUploadSessionCursor *)cursor inputData:(NSData *)inputData; /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *)uploadSessionAppendV2Data: - (DBFILESUploadSessionCursor *)cursor - close:(nullable NSNumber *)close - inputData:(NSData *)inputData; +- (DBUploadTask *) + uploadSessionAppendV2Data:(DBFILESUploadSessionCursor *)cursor + close:(nullable NSNumber *)close + contentHash:(nullable NSString *)contentHash + inputData:(NSData *)inputData; /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. /// -- (DBUploadTask *) -uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor - inputStream:(NSInputStream *)inputStream; +- (DBUploadTask *) + uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor + inputStream:(NSInputStream *)inputStream; /// /// Append more data to an upload session. When the parameter close is set, this call will close the session. A single -/// request should not upload more than 150 MB. +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. Calls to this endpoint will count as data transport calls for any Dropbox Business teams with a limit on the +/// number of data transport calls allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `void` object on success or a -/// `DBFILESUploadSessionLookupError` object on failure. +/// `DBFILESUploadSessionAppendError` object on failure. +/// +- (DBUploadTask *) + uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor + close:(nullable NSNumber *)close + contentHash:(nullable NSString *)contentHash + inputStream:(NSInputStream *)inputStream; + +/// +/// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param cursor Contains the upload session ID and the offset. +/// @param commit Contains the path and other optional modifiers for the commit. +/// @param inputUrl The file to upload, as an NSString * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a +/// `DBFILESUploadSessionFinishError` object on failure. /// -- (DBUploadTask *) -uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor - close:(nullable NSNumber *)close - inputStream:(NSInputStream *)inputStream; +- (DBUploadTask *) + uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + inputUrl:(NSString *)inputUrl; /// /// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more -/// than 150 MB. +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param commit Contains the path and other optional modifiers for the commit. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESUploadSessionFinishError` object on failure. /// - (DBUploadTask *) -uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor - commit:(DBFILESCommitInfo *)commit - inputUrl:(NSString *)inputUrl; + uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(nullable NSString *)contentHash + inputUrl:(NSString *)inputUrl; + +/// +/// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param cursor Contains the upload session ID and the offset. +/// @param commit Contains the path and other optional modifiers for the commit. +/// @param inputData The file to upload, as an NSData * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a +/// `DBFILESUploadSessionFinishError` object on failure. +/// +- (DBUploadTask *) + uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + inputData:(NSData *)inputData; /// /// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more -/// than 150 MB. +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param commit Contains the path and other optional modifiers for the commit. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a /// `DBFILESUploadSessionFinishError` object on failure. /// - (DBUploadTask *) -uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor - commit:(DBFILESCommitInfo *)commit - inputData:(NSData *)inputData; + uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(nullable NSString *)contentHash + inputData:(NSData *)inputData; /// /// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more -/// than 150 MB. +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param cursor Contains the upload session ID and the offset. /// @param commit Contains the path and other optional modifiers for the commit. @@ -1758,20 +2847,46 @@ uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor /// `DBFILESUploadSessionFinishError` object on failure. /// - (DBUploadTask *) -uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor - commit:(DBFILESCommitInfo *)commit - inputStream:(NSInputStream *)inputStream; + uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + inputStream:(NSInputStream *)inputStream; /// -/// This route helps you commit many files at once into a user's Dropbox. Use `uploadSessionStart` and -/// `uploadSessionAppendV2` to upload file contents. We recommend uploading many files in parallel to increase -/// throughput. Once the file contents have been uploaded, rather than calling `uploadSessionFinish`, use this route to -/// finish all your upload sessions in a single request. `close` in `DBFILESUploadSessionStartArg` or `close` in -/// `DBFILESUploadSessionAppendArg` needs to be true for the last `uploadSessionStart` or `uploadSessionAppendV2` call. -/// This route will return a job_id immediately and do the async commit job in background. Use -/// `uploadSessionFinishBatchCheck` to check the job status. For the same account, this route should be executed -/// serially. That means you should not start the next job before current job finishes. We allow up to 1000 entries in a -/// single request. +/// Finish an upload session and save the uploaded data to the given file path. A single request should not upload more +/// than 150 MB. The maximum size of a file one can upload to an upload session is 350 GB. Calls to this endpoint will +/// count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param cursor Contains the upload session ID and the offset. +/// @param commit Contains the path and other optional modifiers for the commit. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. +/// @param inputStream The file to upload, as an NSInputStream * object. +/// +/// @return Through the response callback, the caller will receive a `DBFILESFileMetadata` object on success or a +/// `DBFILESUploadSessionFinishError` object on failure. +/// +- (DBUploadTask *) + uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(nullable NSString *)contentHash + inputStream:(NSInputStream *)inputStream; + +/// +/// DEPRECATED: This route helps you commit many files at once into a user's Dropbox. Use `uploadSessionStart` and +/// `uploadSessionAppend` to upload file contents. We recommend uploading many files in parallel to increase throughput. +/// Once the file contents have been uploaded, rather than calling `uploadSessionFinish`, use this route to finish all +/// your upload sessions in a single request. `close` in `DBFILESUploadSessionStartArg` or `close` in +/// `DBFILESUploadSessionAppendArg` needs to be true for the last `uploadSessionStart` or `uploadSessionAppend` call. +/// The maximum size of a file one can upload to an upload session is 350 GB. This route will return a job_id +/// immediately and do the async commit job in background. Use `uploadSessionFinishBatchCheck` to check the job status. +/// For the same account, this route should be executed serially. That means you should not start the next job before +/// current job finishes. We allow up to 1000 entries in a single request. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. /// /// @param entries Commit information for each file in the batch. /// @@ -1779,6 +2894,26 @@ uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor /// success or a `void` object on failure. /// - (DBRpcTask *)uploadSessionFinishBatch: + (NSArray *)entries + __deprecated_msg("uploadSessionFinishBatch is deprecated. Use uploadSessionFinishBatch."); + +/// +/// This route helps you commit many files at once into a user's Dropbox. Use `uploadSessionStart` and +/// `uploadSessionAppend` to upload file contents. We recommend uploading many files in parallel to increase throughput. +/// Once the file contents have been uploaded, rather than calling `uploadSessionFinish`, use this route to finish all +/// your upload sessions in a single request. `close` in `DBFILESUploadSessionStartArg` or `close` in +/// `DBFILESUploadSessionAppendArg` needs to be true for the last `uploadSessionStart` or `uploadSessionAppend` call of +/// each upload session. The maximum size of a file one can upload to an upload session is 350 GB. We allow up to 1000 +/// entries in a single request. Calls to this endpoint will count as data transport calls for any Dropbox Business +/// teams with a limit on the number of data transport calls allowed per month. For more information, see the Data +/// transport limit page https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param entries Commit information for each file in the batch. +/// +/// @return Through the response callback, the caller will receive a `DBFILESUploadSessionFinishBatchResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *)uploadSessionFinishBatchV2: (NSArray *)entries; /// @@ -1797,109 +2932,236 @@ uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. /// -- (DBUploadTask *)uploadSessionStartUrl:(NSString *)inputUrl; +- (DBUploadTask *)uploadSessionStartUrl: + (NSString *)inputUrl; /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param sessionType Type of upload session you want to start. If not specified, default is `sequential` in +/// `DBFILESUploadSessionType`. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputUrl The file to upload, as an NSString * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. /// -- (DBUploadTask *)uploadSessionStartUrl:(nullable NSNumber *)close - inputUrl:(NSString *)inputUrl; +- (DBUploadTask *) + uploadSessionStartUrl:(nullable NSNumber *)close + sessionType:(nullable DBFILESUploadSessionType *)sessionType + contentHash:(nullable NSString *)contentHash + inputUrl:(NSString *)inputUrl; /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. /// -- (DBUploadTask *)uploadSessionStartData:(NSData *)inputData; +- (DBUploadTask *)uploadSessionStartData: + (NSData *)inputData; /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param sessionType Type of upload session you want to start. If not specified, default is `sequential` in +/// `DBFILESUploadSessionType`. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputData The file to upload, as an NSData * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. /// -- (DBUploadTask *)uploadSessionStartData:(nullable NSNumber *)close - inputData:(NSData *)inputData; +- (DBUploadTask *) + uploadSessionStartData:(nullable NSNumber *)close + sessionType:(nullable DBFILESUploadSessionType *)sessionType + contentHash:(nullable NSString *)contentHash + inputData:(NSData *)inputData; /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. /// -- (DBUploadTask *)uploadSessionStartStream: +- (DBUploadTask *)uploadSessionStartStream: (NSInputStream *)inputStream; /// /// Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is /// greater than 150 MB. This call starts a new upload session with the given data. You can then use -/// `uploadSessionAppendV2` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A -/// single request should not upload more than 150 MB. An upload session can be used for a maximum of 48 hours. -/// Attempting to use an `sessionId` in `DBFILESUploadSessionStartResult` with `uploadSessionAppendV2` or -/// `uploadSessionFinish` more than 48 hours after its creation will return a `notFound` in -/// `DBFILESUploadSessionLookupError`. +/// `uploadSessionAppend` to add more data and `uploadSessionFinish` to save all the data to a file in Dropbox. A single +/// request should not upload more than 150 MB. The maximum size of a file one can upload to an upload session is 350 +/// GB. An upload session can be used for a maximum of 7 days. Attempting to use an `sessionId` in +/// `DBFILESUploadSessionStartResult` with `uploadSessionAppend` or `uploadSessionFinish` more than 7 days after its +/// creation will return a `notFound` in `DBFILESUploadSessionLookupError`. Calls to this endpoint will count as data +/// transport calls for any Dropbox Business teams with a limit on the number of data transport calls allowed per month. +/// For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. By default, upload sessions require you to send +/// content of the file in sequential order via consecutive `uploadSessionStart`, `uploadSessionAppend`, +/// `uploadSessionFinish` calls. For better performance, you can instead optionally use a `concurrent` in +/// `DBFILESUploadSessionType` upload session. To start a new concurrent session, set `sessionType` in +/// `DBFILESUploadSessionStartArg` to `concurrent` in `DBFILESUploadSessionType`. After that, you can send file data in +/// concurrent `uploadSessionAppend` requests. Finally finish the session with `uploadSessionFinish`. There are couple +/// of constraints with concurrent sessions to make them work. You can not send data with `uploadSessionStart` or +/// `uploadSessionFinish` call, only with `uploadSessionAppend` call. Also data uploaded in `uploadSessionAppend` call +/// must be multiple of 4194304 bytes (except for last `uploadSessionAppend` with `close` in +/// `DBFILESUploadSessionStartArg` to true, that may contain any remaining data). /// /// @param close If true, the current session will be closed, at which point you won't be able to call -/// `uploadSessionAppendV2` anymore with the current session. +/// `uploadSessionAppend` anymore with the current session. +/// @param sessionType Type of upload session you want to start. If not specified, default is `sequential` in +/// `DBFILESUploadSessionType`. +/// @param contentHash A hash of the file content uploaded in this call. If provided and the uploaded content does not +/// match this hash, an error will be returned. For more information see our Content hash +/// https://www.dropbox.com/developers/reference/content-hash page. /// @param inputStream The file to upload, as an NSInputStream * object. /// /// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartResult` object on success -/// or a `void` object on failure. +/// or a `DBFILESUploadSessionStartError` object on failure. +/// +- (DBUploadTask *) + uploadSessionStartStream:(nullable NSNumber *)close + sessionType:(nullable DBFILESUploadSessionType *)sessionType + contentHash:(nullable NSString *)contentHash + inputStream:(NSInputStream *)inputStream; + +/// +/// This route starts batch of upload_sessions. Please refer to `upload_session/start` usage. Calls to this endpoint +/// will count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param numSessions The number of upload sessions to start. +/// +/// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartBatchResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *)uploadSessionStartBatch:(NSNumber *)numSessions; + +/// +/// This route starts batch of upload_sessions. Please refer to `upload_session/start` usage. Calls to this endpoint +/// will count as data transport calls for any Dropbox Business teams with a limit on the number of data transport calls +/// allowed per month. For more information, see the Data transport limit page +/// https://www.dropbox.com/developers/reference/data-transport-limit. +/// +/// @param sessionType Type of upload session you want to start. If not specified, default is `sequential` in +/// `DBFILESUploadSessionType`. +/// @param numSessions The number of upload sessions to start. +/// +/// @return Through the response callback, the caller will receive a `DBFILESUploadSessionStartBatchResult` object on +/// success or a `void` object on failure. /// -- (DBUploadTask *)uploadSessionStartStream:(nullable NSNumber *)close - inputStream: - (NSInputStream *)inputStream; +- (DBRpcTask *) + uploadSessionStartBatch:(NSNumber *)numSessions + sessionType:(nullable DBFILESUploadSessionType *)sessionType; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.m index 92f0aea68..0fd1a7af1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBFILESUserAuthRoutes.m @@ -29,11 +29,18 @@ #import "DBFILEPROPERTIESTemplateFilterBase.h" #import "DBFILEPROPERTIESUpdatePropertiesArg.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" +#import "DBFILESAddTagArg.h" +#import "DBFILESAddTagError.h" #import "DBFILESAlphaGetMetadataArg.h" #import "DBFILESAlphaGetMetadataError.h" +#import "DBFILESBaseTagError.h" #import "DBFILESCommitInfo.h" -#import "DBFILESCommitInfoWithProperties.h" #import "DBFILESCreateFolderArg.h" +#import "DBFILESCreateFolderBatchArg.h" +#import "DBFILESCreateFolderBatchError.h" +#import "DBFILESCreateFolderBatchJobStatus.h" +#import "DBFILESCreateFolderBatchLaunch.h" +#import "DBFILESCreateFolderBatchResult.h" #import "DBFILESCreateFolderError.h" #import "DBFILESCreateFolderResult.h" #import "DBFILESDeleteArg.h" @@ -47,6 +54,15 @@ #import "DBFILESDeletedMetadata.h" #import "DBFILESDownloadArg.h" #import "DBFILESDownloadError.h" +#import "DBFILESDownloadZipArg.h" +#import "DBFILESDownloadZipError.h" +#import "DBFILESDownloadZipResult.h" +#import "DBFILESExportArg.h" +#import "DBFILESExportError.h" +#import "DBFILESExportInfo.h" +#import "DBFILESExportMetadata.h" +#import "DBFILESExportResult.h" +#import "DBFILESFileLockMetadata.h" #import "DBFILESFileMetadata.h" #import "DBFILESFileOpsResult.h" #import "DBFILESFileSharingInfo.h" @@ -57,13 +73,18 @@ #import "DBFILESGetCopyReferenceResult.h" #import "DBFILESGetMetadataArg.h" #import "DBFILESGetMetadataError.h" +#import "DBFILESGetTagsArg.h" +#import "DBFILESGetTagsResult.h" #import "DBFILESGetTemporaryLinkArg.h" #import "DBFILESGetTemporaryLinkError.h" #import "DBFILESGetTemporaryLinkResult.h" +#import "DBFILESGetTemporaryUploadLinkArg.h" +#import "DBFILESGetTemporaryUploadLinkResult.h" #import "DBFILESGetThumbnailBatchArg.h" #import "DBFILESGetThumbnailBatchError.h" #import "DBFILESGetThumbnailBatchResult.h" #import "DBFILESGetThumbnailBatchResultEntry.h" +#import "DBFILESImportFormat.h" #import "DBFILESListFolderArg.h" #import "DBFILESListFolderContinueArg.h" #import "DBFILESListFolderContinueError.h" @@ -77,20 +98,47 @@ #import "DBFILESListRevisionsError.h" #import "DBFILESListRevisionsMode.h" #import "DBFILESListRevisionsResult.h" +#import "DBFILESLockConflictError.h" +#import "DBFILESLockFileArg.h" +#import "DBFILESLockFileBatchArg.h" +#import "DBFILESLockFileBatchResult.h" +#import "DBFILESLockFileError.h" +#import "DBFILESLockFileResultEntry.h" #import "DBFILESLookupError.h" #import "DBFILESMediaInfo.h" #import "DBFILESMetadata.h" +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBFILESMoveBatchArg.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperCreateArg.h" +#import "DBFILESPaperCreateError.h" +#import "DBFILESPaperCreateResult.h" +#import "DBFILESPaperDocUpdatePolicy.h" +#import "DBFILESPaperUpdateArg.h" +#import "DBFILESPaperUpdateError.h" +#import "DBFILESPaperUpdateResult.h" +#import "DBFILESPathOrLink.h" +#import "DBFILESPathToTags.h" #import "DBFILESPreviewArg.h" #import "DBFILESPreviewError.h" +#import "DBFILESPreviewResult.h" #import "DBFILESRelocationArg.h" #import "DBFILESRelocationBatchArg.h" +#import "DBFILESRelocationBatchArgBase.h" #import "DBFILESRelocationBatchError.h" #import "DBFILESRelocationBatchJobStatus.h" #import "DBFILESRelocationBatchLaunch.h" #import "DBFILESRelocationBatchResult.h" +#import "DBFILESRelocationBatchV2JobStatus.h" +#import "DBFILESRelocationBatchV2Launch.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBFILESRelocationError.h" #import "DBFILESRelocationPath.h" #import "DBFILESRelocationResult.h" +#import "DBFILESRemoveTagArg.h" +#import "DBFILESRemoveTagError.h" #import "DBFILESRestoreArg.h" #import "DBFILESRestoreError.h" #import "DBFILESRouteObjects.h" @@ -104,27 +152,45 @@ #import "DBFILESSearchArg.h" #import "DBFILESSearchError.h" #import "DBFILESSearchMatch.h" +#import "DBFILESSearchMatchFieldOptions.h" +#import "DBFILESSearchMatchV2.h" #import "DBFILESSearchMode.h" +#import "DBFILESSearchOptions.h" #import "DBFILESSearchResult.h" +#import "DBFILESSearchV2Arg.h" +#import "DBFILESSearchV2ContinueArg.h" +#import "DBFILESSearchV2Result.h" #import "DBFILESSharedLink.h" +#import "DBFILESSymlinkInfo.h" #import "DBFILESThumbnailArg.h" #import "DBFILESThumbnailError.h" #import "DBFILESThumbnailFormat.h" +#import "DBFILESThumbnailMode.h" #import "DBFILESThumbnailSize.h" +#import "DBFILESThumbnailV2Arg.h" +#import "DBFILESThumbnailV2Error.h" +#import "DBFILESUnlockFileArg.h" +#import "DBFILESUnlockFileBatchArg.h" +#import "DBFILESUploadArg.h" #import "DBFILESUploadError.h" -#import "DBFILESUploadErrorWithProperties.h" #import "DBFILESUploadSessionAppendArg.h" +#import "DBFILESUploadSessionAppendError.h" #import "DBFILESUploadSessionCursor.h" #import "DBFILESUploadSessionFinishArg.h" #import "DBFILESUploadSessionFinishBatchArg.h" #import "DBFILESUploadSessionFinishBatchJobStatus.h" #import "DBFILESUploadSessionFinishBatchLaunch.h" #import "DBFILESUploadSessionFinishBatchResult.h" +#import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBFILESUploadSessionFinishError.h" #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" #import "DBFILESUploadSessionStartArg.h" +#import "DBFILESUploadSessionStartBatchArg.h" +#import "DBFILESUploadSessionStartBatchResult.h" +#import "DBFILESUploadSessionStartError.h" #import "DBFILESUploadSessionStartResult.h" +#import "DBFILESUploadSessionType.h" #import "DBFILESUploadWriteFailed.h" #import "DBFILESWriteError.h" #import "DBFILESWriteMode.h" @@ -166,7 +232,7 @@ - (DBRpcTask *)alphaGetMetadata:(NSString *)path - (DBUploadTask *)alphaUploadUrl:(NSString *)path inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } @@ -176,20 +242,24 @@ - (DBUploadTask *)alphaUploadUrl:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)alphaUploadData:(NSString *)path inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputData:inputData]; } @@ -199,20 +269,24 @@ - (DBUploadTask *)alphaUploadData:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)alphaUploadStream:(NSString *)path inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } @@ -222,14 +296,18 @@ - (DBUploadTask *)alphaUploadStream:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESAlphaUpload; - DBFILESCommitInfoWithProperties *arg = [[DBFILESCommitInfoWithProperties alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } @@ -253,6 +331,26 @@ - (DBRpcTask *)dCopy:(NSString *)fromPath return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)dCopyV2:(NSString *)fromPath toPath:(NSString *)toPath { + DBRoute *route = DBFILESRouteObjects.DBFILESDCopyV2; + DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)dCopyV2:(NSString *)fromPath + toPath:(NSString *)toPath + allowSharedFolder:(NSNumber *)allowSharedFolder + autorename:(NSNumber *)autorename + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { + DBRoute *route = DBFILESRouteObjects.DBFILESDCopyV2; + DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath + toPath:toPath + allowSharedFolder:allowSharedFolder + autorename:autorename + allowOwnershipTransfer:allowOwnershipTransfer]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)dCopyBatch:(NSArray *)entries { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries]; @@ -260,23 +358,42 @@ - (DBRpcTask *)dCopyBatch:(NSArray *)entries { } - (DBRpcTask *)dCopyBatch:(NSArray *)entries - allowSharedFolder:(NSNumber *)allowSharedFolder autorename:(NSNumber *)autorename + allowSharedFolder:(NSNumber *)allowSharedFolder allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries - allowSharedFolder:allowSharedFolder autorename:autorename + allowSharedFolder:allowSharedFolder allowOwnershipTransfer:allowOwnershipTransfer]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)dCopyBatchV2:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatchV2; + DBFILESRelocationBatchArgBase *arg = [[DBFILESRelocationBatchArgBase alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)dCopyBatchV2:(NSArray *)entries autorename:(NSNumber *)autorename { + DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatchV2; + DBFILESRelocationBatchArgBase *arg = + [[DBFILESRelocationBatchArgBase alloc] initWithEntries:entries autorename:autorename]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)dCopyBatchCheck:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatchCheck; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)dCopyBatchCheckV2:(NSString *)asyncJobId { + DBRoute *route = DBFILESRouteObjects.DBFILESDCopyBatchCheckV2; + DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)dCopyReferenceGet:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESDCopyReferenceGet; DBFILESGetCopyReferenceArg *arg = [[DBFILESGetCopyReferenceArg alloc] initWithPath:path]; @@ -290,26 +407,6 @@ - (DBRpcTask *)dCopyReferenceSave:(NSString *)dCopyReference path:(NSString *)pa return [self.client requestRpc:route arg:arg]; } -- (DBRpcTask *)dCopyV2:(NSString *)fromPath toPath:(NSString *)toPath { - DBRoute *route = DBFILESRouteObjects.DBFILESDCopyV2; - DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; - return [self.client requestRpc:route arg:arg]; -} - -- (DBRpcTask *)dCopyV2:(NSString *)fromPath - toPath:(NSString *)toPath - allowSharedFolder:(NSNumber *)allowSharedFolder - autorename:(NSNumber *)autorename - allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { - DBRoute *route = DBFILESRouteObjects.DBFILESDCopyV2; - DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath - toPath:toPath - allowSharedFolder:allowSharedFolder - autorename:autorename - allowOwnershipTransfer:allowOwnershipTransfer]; - return [self.client requestRpc:route arg:arg]; -} - - (DBRpcTask *)createFolder:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolder; DBFILESCreateFolderArg *arg = [[DBFILESCreateFolderArg alloc] initWithPath:path]; @@ -334,12 +431,51 @@ - (DBRpcTask *)createFolderV2:(NSString *)path autorename:(NSNumber *)autorename return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)createFolderBatch:(NSArray *)paths { + DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolderBatch; + DBFILESCreateFolderBatchArg *arg = [[DBFILESCreateFolderBatchArg alloc] initWithPaths:paths]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)createFolderBatch:(NSArray *)paths + autorename:(NSNumber *)autorename + forceAsync:(NSNumber *)forceAsync { + DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolderBatch; + DBFILESCreateFolderBatchArg *arg = + [[DBFILESCreateFolderBatchArg alloc] initWithPaths:paths autorename:autorename forceAsync:forceAsync]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)createFolderBatchCheck:(NSString *)asyncJobId { + DBRoute *route = DBFILESRouteObjects.DBFILESCreateFolderBatchCheck; + DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)delete_:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESDelete_; DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)delete_:(NSString *)path parentRev:(NSString *)parentRev { + DBRoute *route = DBFILESRouteObjects.DBFILESDelete_; + DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path parentRev:parentRev]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)delete_V2:(NSString *)path { + DBRoute *route = DBFILESRouteObjects.DBFILESDelete_V2; + DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)delete_V2:(NSString *)path parentRev:(NSString *)parentRev { + DBRoute *route = DBFILESRouteObjects.DBFILESDelete_V2; + DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path parentRev:parentRev]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)deleteBatch:(NSArray *)entries { DBRoute *route = DBFILESRouteObjects.DBFILESDeleteBatch; DBFILESDeleteBatchArg *arg = [[DBFILESDeleteBatchArg alloc] initWithEntries:entries]; @@ -352,12 +488,6 @@ - (DBRpcTask *)deleteBatchCheck:(NSString *)asyncJobId { return [self.client requestRpc:route arg:arg]; } -- (DBRpcTask *)deleteV2:(NSString *)path { - DBRoute *route = DBFILESRouteObjects.DBFILESDeleteV2; - DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path]; - return [self.client requestRpc:route arg:arg]; -} - - (DBDownloadUrlTask *)downloadUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESDownload; DBFILESDownloadArg *arg = [[DBFILESDownloadArg alloc] initWithPath:path]; @@ -433,6 +563,122 @@ - (DBDownloadDataTask *)downloadData:(NSString *)path return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } +- (DBDownloadUrlTask *)downloadZipUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESDownloadZip; + DBFILESDownloadZipArg *arg = [[DBFILESDownloadZipArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)downloadZipUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESDownloadZip; + DBFILESDownloadZipArg *arg = [[DBFILESDownloadZipArg alloc] initWithPath:path]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)downloadZipData:(NSString *)path { + DBRoute *route = DBFILESRouteObjects.DBFILESDownloadZip; + DBFILESDownloadZipArg *arg = [[DBFILESDownloadZipArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)downloadZipData:(NSString *)path + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESDownloadZip; + DBFILESDownloadZipArg *arg = [[DBFILESDownloadZipArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadUrlTask *)exportUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + exportFormat:(NSString *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path exportFormat:exportFormat]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadUrlTask *)exportUrl:(NSString *)path + exportFormat:(NSString *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path exportFormat:exportFormat]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)exportData:(NSString *)path { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)exportData:(NSString *)path exportFormat:(NSString *)exportFormat { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path exportFormat:exportFormat]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)exportData:(NSString *)path + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)exportData:(NSString *)path + exportFormat:(NSString *)exportFormat + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESExport; + DBFILESExportArg *arg = [[DBFILESExportArg alloc] initWithPath:path exportFormat:exportFormat]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBRpcTask *)getFileLockBatch:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESGetFileLockBatch; + DBFILESLockFileBatchArg *arg = [[DBFILESLockFileBatchArg alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)getMetadata:(NSString *)path { DBRoute *route = DBFILESRouteObjects.DBFILESGetMetadata; DBFILESGetMetadataArg *arg = [[DBFILESGetMetadataArg alloc] initWithPath:path]; @@ -534,6 +780,19 @@ - (DBRpcTask *)getTemporaryLink:(NSString *)path { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)getTemporaryUploadLink:(DBFILESCommitInfo *)commitInfo { + DBRoute *route = DBFILESRouteObjects.DBFILESGetTemporaryUploadLink; + DBFILESGetTemporaryUploadLinkArg *arg = [[DBFILESGetTemporaryUploadLinkArg alloc] initWithCommitInfo:commitInfo]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)getTemporaryUploadLink:(DBFILESCommitInfo *)commitInfo duration:(NSNumber *)duration { + DBRoute *route = DBFILESRouteObjects.DBFILESGetTemporaryUploadLink; + DBFILESGetTemporaryUploadLinkArg *arg = + [[DBFILESGetTemporaryUploadLinkArg alloc] initWithCommitInfo:commitInfo duration:duration]; + return [self.client requestRpc:route arg:arg]; +} + - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path]; @@ -543,10 +802,11 @@ - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path overwrite:(BOOL)overwrit - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path format:(DBFILESThumbnailFormat *)format size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode overwrite:(BOOL)overwrite destination:(NSURL *)destination { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; - DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size]; + DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; } @@ -568,12 +828,13 @@ - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path - (DBDownloadUrlTask *)getThumbnailUrl:(NSString *)path format:(DBFILESThumbnailFormat *)format size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode overwrite:(BOOL)overwrite destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; - DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size]; + DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; return [self.client requestDownload:route arg:arg overwrite:overwrite @@ -590,9 +851,10 @@ - (DBDownloadDataTask *)getThumbnailData:(NSString *)path { - (DBDownloadDataTask *)getThumbnailData:(NSString *)path format:(DBFILESThumbnailFormat *)format - size:(DBFILESThumbnailSize *)size { + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; - DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size]; + DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; return [self.client requestDownload:route arg:arg]; } @@ -607,10 +869,101 @@ - (DBDownloadDataTask *)getThumbnailData:(NSString *)path - (DBDownloadDataTask *)getThumbnailData:(NSString *)path format:(DBFILESThumbnailFormat *)format size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnail; - DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size]; + DBFILESThumbnailArg *arg = [[DBFILESThumbnailArg alloc] initWithPath:path format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg overwrite:overwrite destination:destination]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadUrlTask *)getThumbnailV2Url:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route + arg:arg + overwrite:overwrite + destination:destination + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; + return [self.client requestDownload:route arg:arg]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = [[DBFILESThumbnailV2Arg alloc] initWithResource:resource]; + return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; +} + +- (DBDownloadDataTask *)getThumbnailV2Data:(DBFILESPathOrLink *)resource + format:(DBFILESThumbnailFormat *)format + size:(DBFILESThumbnailSize *)size + mode:(DBFILESThumbnailMode *)mode + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd { + DBRoute *route = DBFILESRouteObjects.DBFILESGetThumbnailV2; + DBFILESThumbnailV2Arg *arg = + [[DBFILESThumbnailV2Arg alloc] initWithResource:resource format:format size:size mode:mode]; return [self.client requestDownload:route arg:arg byteOffsetStart:byteOffsetStart byteOffsetEnd:byteOffsetEnd]; } @@ -634,7 +987,8 @@ - (DBRpcTask *)listFolder:(NSString *)path includeMountedFolders:(NSNumber *)includeMountedFolders limit:(NSNumber *)limit sharedLink:(DBFILESSharedLink *)sharedLink - includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(NSNumber *)includeNonDownloadableFiles { DBRoute *route = DBFILESRouteObjects.DBFILESListFolder; DBFILESListFolderArg *arg = [[DBFILESListFolderArg alloc] initWithPath:path recursive:recursive @@ -644,7 +998,8 @@ - (DBRpcTask *)listFolder:(NSString *)path includeMountedFolders:includeMountedFolders limit:limit sharedLink:sharedLink - includePropertyGroups:includePropertyGroups]; + includePropertyGroups:includePropertyGroups + includeNonDownloadableFiles:includeNonDownloadableFiles]; return [self.client requestRpc:route arg:arg]; } @@ -668,7 +1023,8 @@ - (DBRpcTask *)listFolderGetLatestCursor:(NSString *)path includeMountedFolders:(NSNumber *)includeMountedFolders limit:(NSNumber *)limit sharedLink:(DBFILESSharedLink *)sharedLink - includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups { + includePropertyGroups:(DBFILEPROPERTIESTemplateFilterBase *)includePropertyGroups + includeNonDownloadableFiles:(NSNumber *)includeNonDownloadableFiles { DBRoute *route = DBFILESRouteObjects.DBFILESListFolderGetLatestCursor; DBFILESListFolderArg *arg = [[DBFILESListFolderArg alloc] initWithPath:path recursive:recursive @@ -678,7 +1034,8 @@ - (DBRpcTask *)listFolderGetLatestCursor:(NSString *)path includeMountedFolders:includeMountedFolders limit:limit sharedLink:sharedLink - includePropertyGroups:includePropertyGroups]; + includePropertyGroups:includePropertyGroups + includeNonDownloadableFiles:includeNonDownloadableFiles]; return [self.client requestRpc:route arg:arg]; } @@ -706,6 +1063,12 @@ - (DBRpcTask *)listRevisions:(NSString *)path mode:(DBFILESListRevisionsMode *)m return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)lockFileBatch:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESLockFileBatch; + DBFILESLockFileBatchArg *arg = [[DBFILESLockFileBatchArg alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)move:(NSString *)fromPath toPath:(NSString *)toPath { DBRoute *route = DBFILESRouteObjects.DBFILESMove; DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; @@ -726,6 +1089,26 @@ - (DBRpcTask *)move:(NSString *)fromPath return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)moveV2:(NSString *)fromPath toPath:(NSString *)toPath { + DBRoute *route = DBFILESRouteObjects.DBFILESMoveV2; + DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)moveV2:(NSString *)fromPath + toPath:(NSString *)toPath + allowSharedFolder:(NSNumber *)allowSharedFolder + autorename:(NSNumber *)autorename + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { + DBRoute *route = DBFILESRouteObjects.DBFILESMoveV2; + DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath + toPath:toPath + allowSharedFolder:allowSharedFolder + autorename:autorename + allowOwnershipTransfer:allowOwnershipTransfer]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)moveBatch:(NSArray *)entries { DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries]; @@ -733,41 +1116,136 @@ - (DBRpcTask *)moveBatch:(NSArray *)entries { } - (DBRpcTask *)moveBatch:(NSArray *)entries - allowSharedFolder:(NSNumber *)allowSharedFolder autorename:(NSNumber *)autorename + allowSharedFolder:(NSNumber *)allowSharedFolder allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatch; DBFILESRelocationBatchArg *arg = [[DBFILESRelocationBatchArg alloc] initWithEntries:entries - allowSharedFolder:allowSharedFolder autorename:autorename + allowSharedFolder:allowSharedFolder allowOwnershipTransfer:allowOwnershipTransfer]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)moveBatchV2:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatchV2; + DBFILESMoveBatchArg *arg = [[DBFILESMoveBatchArg alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)moveBatchV2:(NSArray *)entries + autorename:(NSNumber *)autorename + allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { + DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatchV2; + DBFILESMoveBatchArg *arg = [[DBFILESMoveBatchArg alloc] initWithEntries:entries + autorename:autorename + allowOwnershipTransfer:allowOwnershipTransfer]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)moveBatchCheck:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatchCheck; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } -- (DBRpcTask *)moveV2:(NSString *)fromPath toPath:(NSString *)toPath { - DBRoute *route = DBFILESRouteObjects.DBFILESMoveV2; - DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath toPath:toPath]; +- (DBRpcTask *)moveBatchCheckV2:(NSString *)asyncJobId { + DBRoute *route = DBFILESRouteObjects.DBFILESMoveBatchCheckV2; + DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } -- (DBRpcTask *)moveV2:(NSString *)fromPath - toPath:(NSString *)toPath - allowSharedFolder:(NSNumber *)allowSharedFolder - autorename:(NSNumber *)autorename - allowOwnershipTransfer:(NSNumber *)allowOwnershipTransfer { - DBRoute *route = DBFILESRouteObjects.DBFILESMoveV2; - DBFILESRelocationArg *arg = [[DBFILESRelocationArg alloc] initWithFromPath:fromPath - toPath:toPath - allowSharedFolder:allowSharedFolder - autorename:autorename - allowOwnershipTransfer:allowOwnershipTransfer]; - return [self.client requestRpc:route arg:arg]; +- (DBUploadTask *)paperCreateUrl:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + inputUrl:(NSString *)inputUrl { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperCreate; + DBFILESPaperCreateArg *arg = [[DBFILESPaperCreateArg alloc] initWithPath:path importFormat:importFormat]; + return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; +} + +- (DBUploadTask *)paperCreateData:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + inputData:(NSData *)inputData { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperCreate; + DBFILESPaperCreateArg *arg = [[DBFILESPaperCreateArg alloc] initWithPath:path importFormat:importFormat]; + return [self.client requestUpload:route arg:arg inputData:inputData]; +} + +- (DBUploadTask *)paperCreateStream:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + inputStream:(NSInputStream *)inputStream { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperCreate; + DBFILESPaperCreateArg *arg = [[DBFILESPaperCreateArg alloc] initWithPath:path importFormat:importFormat]; + return [self.client requestUpload:route arg:arg inputStream:inputStream]; +} + +- (DBUploadTask *)paperUpdateUrl:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputUrl:(NSString *)inputUrl { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = + [[DBFILESPaperUpdateArg alloc] initWithPath:path importFormat:importFormat docUpdatePolicy:docUpdatePolicy]; + return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; +} + +- (DBUploadTask *)paperUpdateUrl:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(NSNumber *)paperRevision + inputUrl:(NSString *)inputUrl { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = [[DBFILESPaperUpdateArg alloc] initWithPath:path + importFormat:importFormat + docUpdatePolicy:docUpdatePolicy + paperRevision:paperRevision]; + return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; +} + +- (DBUploadTask *)paperUpdateData:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputData:(NSData *)inputData { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = + [[DBFILESPaperUpdateArg alloc] initWithPath:path importFormat:importFormat docUpdatePolicy:docUpdatePolicy]; + return [self.client requestUpload:route arg:arg inputData:inputData]; +} + +- (DBUploadTask *)paperUpdateData:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(NSNumber *)paperRevision + inputData:(NSData *)inputData { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = [[DBFILESPaperUpdateArg alloc] initWithPath:path + importFormat:importFormat + docUpdatePolicy:docUpdatePolicy + paperRevision:paperRevision]; + return [self.client requestUpload:route arg:arg inputData:inputData]; +} + +- (DBUploadTask *)paperUpdateStream:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + inputStream:(NSInputStream *)inputStream { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = + [[DBFILESPaperUpdateArg alloc] initWithPath:path importFormat:importFormat docUpdatePolicy:docUpdatePolicy]; + return [self.client requestUpload:route arg:arg inputStream:inputStream]; +} + +- (DBUploadTask *)paperUpdateStream:(NSString *)path + importFormat:(DBFILESImportFormat *)importFormat + docUpdatePolicy:(DBFILESPaperDocUpdatePolicy *)docUpdatePolicy + paperRevision:(NSNumber *)paperRevision + inputStream:(NSInputStream *)inputStream { + DBRoute *route = DBFILESRouteObjects.DBFILESPaperUpdate; + DBFILESPaperUpdateArg *arg = [[DBFILESPaperUpdateArg alloc] initWithPath:path + importFormat:importFormat + docUpdatePolicy:docUpdatePolicy + paperRevision:paperRevision]; + return [self.client requestUpload:route arg:arg inputStream:inputStream]; } - (DBRpcTask *)permanentlyDelete:(NSString *)path { @@ -776,6 +1254,12 @@ - (DBRpcTask *)permanentlyDelete:(NSString *)path { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)permanentlyDelete:(NSString *)path parentRev:(NSString *)parentRev { + DBRoute *route = DBFILESRouteObjects.DBFILESPermanentlyDelete; + DBFILESDeleteArg *arg = [[DBFILESDeleteArg alloc] initWithPath:path parentRev:parentRev]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)propertiesAdd:(NSString *)path propertyGroups:(NSArray *)propertyGroups { DBRoute *route = DBFILESRouteObjects.DBFILESPropertiesAdd; @@ -853,9 +1337,57 @@ - (DBRpcTask *)search:(NSString *)path return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)searchV2:(NSString *)query { + DBRoute *route = DBFILESRouteObjects.DBFILESSearchV2; + DBFILESSearchV2Arg *arg = [[DBFILESSearchV2Arg alloc] initWithQuery:query]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)searchV2:(NSString *)query + options:(DBFILESSearchOptions *)options + matchFieldOptions:(DBFILESSearchMatchFieldOptions *)matchFieldOptions + includeHighlights:(NSNumber *)includeHighlights { + DBRoute *route = DBFILESRouteObjects.DBFILESSearchV2; + DBFILESSearchV2Arg *arg = [[DBFILESSearchV2Arg alloc] initWithQuery:query + options:options + matchFieldOptions:matchFieldOptions + includeHighlights:includeHighlights]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)searchContinueV2:(NSString *)cursor { + DBRoute *route = DBFILESRouteObjects.DBFILESSearchContinueV2; + DBFILESSearchV2ContinueArg *arg = [[DBFILESSearchV2ContinueArg alloc] initWithCursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)tagsAdd:(NSString *)path tagText:(NSString *)tagText { + DBRoute *route = DBFILESRouteObjects.DBFILESTagsAdd; + DBFILESAddTagArg *arg = [[DBFILESAddTagArg alloc] initWithPath:path tagText:tagText]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)tagsGet:(NSArray *)paths { + DBRoute *route = DBFILESRouteObjects.DBFILESTagsGet; + DBFILESGetTagsArg *arg = [[DBFILESGetTagsArg alloc] initWithPaths:paths]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)tagsRemove:(NSString *)path tagText:(NSString *)tagText { + DBRoute *route = DBFILESRouteObjects.DBFILESTagsRemove; + DBFILESRemoveTagArg *arg = [[DBFILESRemoveTagArg alloc] initWithPath:path tagText:tagText]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)unlockFileBatch:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESUnlockFileBatch; + DBFILESUnlockFileBatchArg *arg = [[DBFILESUnlockFileBatchArg alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + - (DBUploadTask *)uploadUrl:(NSString *)path inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } @@ -865,20 +1397,24 @@ - (DBUploadTask *)uploadUrl:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } - (DBUploadTask *)uploadData:(NSString *)path inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputData:inputData]; } @@ -888,20 +1424,24 @@ - (DBUploadTask *)uploadData:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } - (DBUploadTask *)uploadStream:(NSString *)path inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } @@ -911,14 +1451,18 @@ - (DBUploadTask *)uploadStream:(NSString *)path clientModified:(NSDate *)clientModified mute:(NSNumber *)mute propertyGroups:(NSArray *)propertyGroups + strictConflict:(NSNumber *)strictConflict + contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUpload; - DBFILESCommitInfo *arg = [[DBFILESCommitInfo alloc] initWithPath:path - mode:mode - autorename:autorename - clientModified:clientModified - mute:mute - propertyGroups:propertyGroups]; + DBFILESUploadArg *arg = [[DBFILESUploadArg alloc] initWithPath:path + mode:mode + autorename:autorename + clientModified:clientModified + mute:mute + propertyGroups:propertyGroups + strictConflict:strictConflict + contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } @@ -952,9 +1496,11 @@ - (DBUploadTask *)uploadSessionAppendV2Url:(DBFILESUploadSessionCursor *)cursor - (DBUploadTask *)uploadSessionAppendV2Url:(DBFILESUploadSessionCursor *)cursor close:(NSNumber *)close + contentHash:(NSString *)contentHash inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; - DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close]; + DBFILESUploadSessionAppendArg *arg = + [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } @@ -966,9 +1512,11 @@ - (DBUploadTask *)uploadSessionAppendV2Data:(DBFILESUploadSessionCursor *)cursor - (DBUploadTask *)uploadSessionAppendV2Data:(DBFILESUploadSessionCursor *)cursor close:(NSNumber *)close + contentHash:(NSString *)contentHash inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; - DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close]; + DBFILESUploadSessionAppendArg *arg = + [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } @@ -981,9 +1529,11 @@ - (DBUploadTask *)uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)curs - (DBUploadTask *)uploadSessionAppendV2Stream:(DBFILESUploadSessionCursor *)cursor close:(NSNumber *)close + contentHash:(NSString *)contentHash inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionAppendV2; - DBFILESUploadSessionAppendArg *arg = [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close]; + DBFILESUploadSessionAppendArg *arg = + [[DBFILESUploadSessionAppendArg alloc] initWithCursor:cursor close:close contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } @@ -995,6 +1545,16 @@ - (DBUploadTask *)uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } +- (DBUploadTask *)uploadSessionFinishUrl:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(NSString *)contentHash + inputUrl:(NSString *)inputUrl { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; + DBFILESUploadSessionFinishArg *arg = + [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit contentHash:contentHash]; + return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; +} + - (DBUploadTask *)uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit inputData:(NSData *)inputData { @@ -1003,6 +1563,16 @@ - (DBUploadTask *)uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor return [self.client requestUpload:route arg:arg inputData:inputData]; } +- (DBUploadTask *)uploadSessionFinishData:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(NSString *)contentHash + inputData:(NSData *)inputData { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; + DBFILESUploadSessionFinishArg *arg = + [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit contentHash:contentHash]; + return [self.client requestUpload:route arg:arg inputData:inputData]; +} + - (DBUploadTask *)uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor commit:(DBFILESCommitInfo *)commit inputStream:(NSInputStream *)inputStream { @@ -1011,12 +1581,28 @@ - (DBUploadTask *)uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor return [self.client requestUpload:route arg:arg inputStream:inputStream]; } +- (DBUploadTask *)uploadSessionFinishStream:(DBFILESUploadSessionCursor *)cursor + commit:(DBFILESCommitInfo *)commit + contentHash:(NSString *)contentHash + inputStream:(NSInputStream *)inputStream { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinish; + DBFILESUploadSessionFinishArg *arg = + [[DBFILESUploadSessionFinishArg alloc] initWithCursor:cursor commit:commit contentHash:contentHash]; + return [self.client requestUpload:route arg:arg inputStream:inputStream]; +} + - (DBRpcTask *)uploadSessionFinishBatch:(NSArray *)entries { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinishBatch; DBFILESUploadSessionFinishBatchArg *arg = [[DBFILESUploadSessionFinishBatchArg alloc] initWithEntries:entries]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)uploadSessionFinishBatchV2:(NSArray *)entries { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinishBatchV2; + DBFILESUploadSessionFinishBatchArg *arg = [[DBFILESUploadSessionFinishBatchArg alloc] initWithEntries:entries]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)uploadSessionFinishBatchCheck:(NSString *)asyncJobId { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionFinishBatchCheck; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; @@ -1029,9 +1615,13 @@ - (DBUploadTask *)uploadSessionStartUrl:(NSString *)inputUrl { return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } -- (DBUploadTask *)uploadSessionStartUrl:(NSNumber *)close inputUrl:(NSString *)inputUrl { +- (DBUploadTask *)uploadSessionStartUrl:(NSNumber *)close + sessionType:(DBFILESUploadSessionType *)sessionType + contentHash:(NSString *)contentHash + inputUrl:(NSString *)inputUrl { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; - DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initWithClose:close]; + DBFILESUploadSessionStartArg *arg = + [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputUrl:inputUrl]; } @@ -1041,9 +1631,13 @@ - (DBUploadTask *)uploadSessionStartData:(NSData *)inputData { return [self.client requestUpload:route arg:arg inputData:inputData]; } -- (DBUploadTask *)uploadSessionStartData:(NSNumber *)close inputData:(NSData *)inputData { +- (DBUploadTask *)uploadSessionStartData:(NSNumber *)close + sessionType:(DBFILESUploadSessionType *)sessionType + contentHash:(NSString *)contentHash + inputData:(NSData *)inputData { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; - DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initWithClose:close]; + DBFILESUploadSessionStartArg *arg = + [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputData:inputData]; } @@ -1053,10 +1647,27 @@ - (DBUploadTask *)uploadSessionStartStream:(NSInputStream *)inputStream { return [self.client requestUpload:route arg:arg inputStream:inputStream]; } -- (DBUploadTask *)uploadSessionStartStream:(NSNumber *)close inputStream:(NSInputStream *)inputStream { +- (DBUploadTask *)uploadSessionStartStream:(NSNumber *)close + sessionType:(DBFILESUploadSessionType *)sessionType + contentHash:(NSString *)contentHash + inputStream:(NSInputStream *)inputStream { DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStart; - DBFILESUploadSessionStartArg *arg = [[DBFILESUploadSessionStartArg alloc] initWithClose:close]; + DBFILESUploadSessionStartArg *arg = + [[DBFILESUploadSessionStartArg alloc] initWithClose:close sessionType:sessionType contentHash:contentHash]; return [self.client requestUpload:route arg:arg inputStream:inputStream]; } +- (DBRpcTask *)uploadSessionStartBatch:(NSNumber *)numSessions { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStartBatch; + DBFILESUploadSessionStartBatchArg *arg = [[DBFILESUploadSessionStartBatchArg alloc] initWithNumSessions:numSessions]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)uploadSessionStartBatch:(NSNumber *)numSessions sessionType:(DBFILESUploadSessionType *)sessionType { + DBRoute *route = DBFILESRouteObjects.DBFILESUploadSessionStartBatch; + DBFILESUploadSessionStartBatchArg *arg = + [[DBFILESUploadSessionStartBatchArg alloc] initWithNumSessions:numSessions sessionType:sessionType]; + return [self.client requestRpc:route arg:arg]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.h new file mode 100644 index 000000000..72a8d10bc --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.h @@ -0,0 +1,46 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBNilObject; +@class DBOPENIDOpenIdError; +@class DBOPENIDUserInfoError; +@class DBOPENIDUserInfoResult; + +@protocol DBTransportClient; + +/// +/// Routes for the `Openid` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBOPENIDUserAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBOPENIDUserAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// This route is used for refreshing the info that is found in the id_token during the OIDC flow. This route doesn't +/// require any arguments and will use the scopes approved for the given access token. +/// +/// +/// @return Through the response callback, the caller will receive a `DBOPENIDUserInfoResult` object on success or a +/// `DBOPENIDUserInfoError` object on failure. +/// +- (DBRpcTask *)userinfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.m new file mode 100644 index 000000000..7e3f606c0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBOPENIDUserAuthRoutes.m @@ -0,0 +1,33 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBOPENIDUserAuthRoutes.h" +#import "DBOPENIDOpenIdError.h" +#import "DBOPENIDRouteObjects.h" +#import "DBOPENIDUserInfoArgs.h" +#import "DBOPENIDUserInfoError.h" +#import "DBOPENIDUserInfoResult.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" + +@implementation DBOPENIDUserAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)userinfo { + DBRoute *route = DBOPENIDRouteObjects.DBOPENIDUserinfo; + DBOPENIDUserInfoArgs *arg = [[DBOPENIDUserInfoArgs alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.h index e83f1b454..a84cd05e6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.h @@ -35,6 +35,8 @@ @class DBPAPERPaperDocPermissionLevel; @class DBPAPERPaperDocUpdateError; @class DBPAPERPaperDocUpdatePolicy; +@class DBPAPERPaperFolderCreateError; +@class DBPAPERPaperFolderCreateResult; @class DBPAPERSharingPolicy; @class DBPAPERSharingPublicPolicyType; @class DBPAPERSharingTeamPolicyType; @@ -63,18 +65,27 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(id)client; /// -/// Marks the given Paper doc as archived. Note: This action can be performed or undone by anyone with edit permissions -/// to the doc. +/// DEPRECATED: Marks the given Paper doc as archived. This action can be performed or undone by anyone with edit +/// permissions to the doc. Note that this endpoint will continue to work for content created by users on the older +/// version of Paper. To check which version of Paper a user is on, use /users/features/get_values. If the +/// paper_as_files feature is enabled, then the user is running the new version of Paper. This endpoint will be retired +/// in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param docId The Paper doc ID. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsArchive:(NSString *)docId; +- (DBRpcTask *)docsArchive:(NSString *)docId + __deprecated_msg("docsArchive is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param importFormat The format of provided data. /// @param inputUrl The file to upload, as an NSString * object. @@ -83,11 +94,15 @@ NS_ASSUME_NONNULL_BEGIN /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) -docsCreateUrl:(DBPAPERImportFormat *)importFormat - inputUrl:(NSString *)inputUrl; + docsCreateUrl:(DBPAPERImportFormat *)importFormat + inputUrl:(NSString *)inputUrl __deprecated_msg("docsCreate is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param parentFolderId The Paper folder ID where the Paper document should be created. The API user has to have write /// access to this folder or error is thrown. @@ -98,12 +113,16 @@ docsCreateUrl:(DBPAPERImportFormat *)importFormat /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) - docsCreateUrl:(DBPAPERImportFormat *)importFormat -parentFolderId:(nullable NSString *)parentFolderId - inputUrl:(NSString *)inputUrl; + docsCreateUrl:(DBPAPERImportFormat *)importFormat + parentFolderId:(nullable NSString *)parentFolderId + inputUrl:(NSString *)inputUrl __deprecated_msg("docsCreate is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param importFormat The format of provided data. /// @param inputData The file to upload, as an NSData * object. @@ -112,11 +131,15 @@ parentFolderId:(nullable NSString *)parentFolderId /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) -docsCreateData:(DBPAPERImportFormat *)importFormat - inputData:(NSData *)inputData; + docsCreateData:(DBPAPERImportFormat *)importFormat + inputData:(NSData *)inputData __deprecated_msg("docsCreate is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param parentFolderId The Paper folder ID where the Paper document should be created. The API user has to have write /// access to this folder or error is thrown. @@ -127,12 +150,16 @@ docsCreateData:(DBPAPERImportFormat *)importFormat /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) -docsCreateData:(DBPAPERImportFormat *)importFormat -parentFolderId:(nullable NSString *)parentFolderId - inputData:(NSData *)inputData; + docsCreateData:(DBPAPERImportFormat *)importFormat + parentFolderId:(nullable NSString *)parentFolderId + inputData:(NSData *)inputData __deprecated_msg("docsCreate is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param importFormat The format of provided data. /// @param inputStream The file to upload, as an NSInputStream * object. @@ -141,11 +168,15 @@ parentFolderId:(nullable NSString *)parentFolderId /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) -docsCreateStream:(DBPAPERImportFormat *)importFormat - inputStream:(NSInputStream *)inputStream; + docsCreateStream:(DBPAPERImportFormat *)importFormat + inputStream:(NSInputStream *)inputStream __deprecated_msg("docsCreate is deprecated."); /// -/// Creates a new Paper doc with the provided content. +/// DEPRECATED: Creates a new Paper doc with the provided content. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param parentFolderId The Paper folder ID where the Paper document should be created. The API user has to have write /// access to this folder or error is thrown. @@ -156,12 +187,16 @@ docsCreateStream:(DBPAPERImportFormat *)importFormat /// success or a `DBPAPERPaperDocCreateError` object on failure. /// - (DBUploadTask *) -docsCreateStream:(DBPAPERImportFormat *)importFormat - parentFolderId:(nullable NSString *)parentFolderId - inputStream:(NSInputStream *)inputStream; + docsCreateStream:(DBPAPERImportFormat *)importFormat + parentFolderId:(nullable NSString *)parentFolderId + inputStream:(NSInputStream *)inputStream __deprecated_msg("docsCreate is deprecated."); /// -/// Exports and downloads Paper doc either as HTML or markdown. +/// DEPRECATED: Exports and downloads Paper doc either as HTML or markdown. Note that this endpoint will continue to +/// work for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file /// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of @@ -172,13 +207,17 @@ docsCreateStream:(DBPAPERImportFormat *)importFormat /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadUrlTask *) -docsDownloadUrl:(NSString *)docId - exportFormat:(DBPAPERExportFormat *)exportFormat - overwrite:(BOOL)overwrite - destination:(NSURL *)destination; + docsDownloadUrl:(NSString *)docId + exportFormat:(DBPAPERExportFormat *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination __deprecated_msg("docsDownload is deprecated."); /// -/// Exports and downloads Paper doc either as HTML or markdown. +/// DEPRECATED: Exports and downloads Paper doc either as HTML or markdown. Note that this endpoint will continue to +/// work for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param overwrite A boolean to set behavior in the event of a naming conflict. `YES` will overwrite conflicting file /// at destination. `NO` will take no action, resulting in an `NSError` returned to the response handler in the event of @@ -193,26 +232,34 @@ docsDownloadUrl:(NSString *)docId /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadUrlTask *) -docsDownloadUrl:(NSString *)docId - exportFormat:(DBPAPERExportFormat *)exportFormat - overwrite:(BOOL)overwrite - destination:(NSURL *)destination -byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + docsDownloadUrl:(NSString *)docId + exportFormat:(DBPAPERExportFormat *)exportFormat + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd __deprecated_msg("docsDownload is deprecated."); /// -/// Exports and downloads Paper doc either as HTML or markdown. +/// DEPRECATED: Exports and downloads Paper doc either as HTML or markdown. Note that this endpoint will continue to +/// work for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// /// @return Through the response callback, the caller will receive a `DBPAPERPaperDocExportResult` object on success or /// a `DBPAPERDocLookupError` object on failure. /// -- (DBDownloadDataTask *)docsDownloadData:(NSString *)docId - exportFormat:(DBPAPERExportFormat *) - exportFormat; +- (DBDownloadDataTask *) + docsDownloadData:(NSString *)docId + exportFormat:(DBPAPERExportFormat *)exportFormat __deprecated_msg("docsDownload is deprecated."); /// -/// Exports and downloads Paper doc either as HTML or markdown. +/// DEPRECATED: Exports and downloads Paper doc either as HTML or markdown. Note that this endpoint will continue to +/// work for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param byteOffsetStart For partial file download. Download file beginning from this starting byte position. Must /// include valid end range value. @@ -223,26 +270,33 @@ byteOffsetStart:(NSNumber *)byteOffsetStart /// a `DBPAPERDocLookupError` object on failure. /// - (DBDownloadDataTask *) -docsDownloadData:(NSString *)docId - exportFormat:(DBPAPERExportFormat *)exportFormat - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + docsDownloadData:(NSString *)docId + exportFormat:(DBPAPERExportFormat *)exportFormat + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd __deprecated_msg("docsDownload is deprecated."); /// -/// Lists the users who are explicitly invited to the Paper folder in which the Paper doc is contained. For private -/// folders all users (including owner) shared on the folder are listed and for team folders all non-team users shared -/// on the folder are returned. +/// DEPRECATED: Lists the users who are explicitly invited to the Paper folder in which the Paper doc is contained. For +/// private folders all users (including owner) shared on the folder are listed and for team folders all non-team users +/// shared on the folder are returned. Note that this endpoint will continue to work for content created by users on the +/// older version of Paper. To check which version of Paper a user is on, use /users/features/get_values. If the +/// paper_as_files feature is enabled, then the user is running the new version of Paper. Refer to the Paper Migration +/// Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnFolderResponse` object on /// success or a `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsFolderUsersList:(NSString *)docId; +- (DBRpcTask *)docsFolderUsersList:(NSString *)docId + __deprecated_msg("docsFolderUsersList is deprecated."); /// -/// Lists the users who are explicitly invited to the Paper folder in which the Paper doc is contained. For private -/// folders all users (including owner) shared on the folder are listed and for team folders all non-team users shared -/// on the folder are returned. +/// DEPRECATED: Lists the users who are explicitly invited to the Paper folder in which the Paper doc is contained. For +/// private folders all users (including owner) shared on the folder are listed and for team folders all non-team users +/// shared on the folder are returned. Note that this endpoint will continue to work for content created by users on the +/// older version of Paper. To check which version of Paper a user is on, use /users/features/get_values. If the +/// paper_as_files feature is enabled, then the user is running the new version of Paper. Refer to the Paper Migration +/// Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param limit Size limit per batch. The maximum number of users that can be retrieved per batch is 1000. Higher value /// results in invalid arguments error. @@ -251,12 +305,16 @@ docsDownloadData:(NSString *)docId /// success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsFolderUsersList:(NSString *)docId - limit:(nullable NSNumber *) - limit; + limit: + (nullable NSNumber *)limit + __deprecated_msg("docsFolderUsersList is deprecated."); /// -/// Once a cursor has been retrieved from `docsFolderUsersList`, use this to paginate through all users on the Paper -/// folder. +/// DEPRECATED: Once a cursor has been retrieved from `docsFolderUsersList`, use this to paginate through all users on +/// the Paper folder. Note that this endpoint will continue to work for content created by users on the older version of +/// Paper. To check which version of Paper a user is on, use /users/features/get_values. If the paper_as_files feature +/// is enabled, then the user is running the new version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param cursor The cursor obtained from `docsFolderUsersList` or `docsFolderUsersListContinue`. Allows for /// pagination. @@ -265,35 +323,48 @@ docsDownloadData:(NSString *)docId /// success or a `DBPAPERListUsersCursorError` object on failure. /// - (DBRpcTask *) -docsFolderUsersListContinue:(NSString *)docId - cursor:(NSString *)cursor; + docsFolderUsersListContinue:(NSString *)docId + cursor:(NSString *)cursor __deprecated_msg("docsFolderUsersListContinue is deprecated."); /// -/// Retrieves folder information for the given Paper doc. This includes: - folder sharing policy; permissions for -/// subfolders are set by the top-level folder. - full 'filepath', i.e. the list of folders (both folderId and -/// folderName) from the root folder to the folder directly containing the Paper doc. Note: If the Paper doc is not -/// in any folder (aka unfiled) the response will be empty. +/// DEPRECATED: Retrieves folder information for the given Paper doc. This includes: - folder sharing policy; +/// permissions for subfolders are set by the top-level folder. - full 'filepath', i.e. the list of folders (both +/// folderId and folderName) from the root folder to the folder directly containing the Paper doc. If the Paper doc +/// is not in any folder (aka unfiled) the response will be empty. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param docId The Paper doc ID. /// /// @return Through the response callback, the caller will receive a `DBPAPERFoldersContainingPaperDoc` object on /// success or a `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsGetFolderInfo:(NSString *)docId; +- (DBRpcTask *)docsGetFolderInfo:(NSString *)docId + __deprecated_msg("docsGetFolderInfo is deprecated."); /// -/// Return the list of all Paper docs according to the argument specifications. To iterate over through the full -/// pagination, pass the cursor to `docsListContinue`. +/// DEPRECATED: Return the list of all Paper docs according to the argument specifications. To iterate over through the +/// full pagination, pass the cursor to `docsListContinue`. Note that this endpoint will continue to work for content +/// created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// /// @return Through the response callback, the caller will receive a `DBPAPERListPaperDocsResponse` object on success or /// a `void` object on failure. /// -- (DBRpcTask *)docsList; +- (DBRpcTask *)docsList __deprecated_msg("docsList is deprecated."); /// -/// Return the list of all Paper docs according to the argument specifications. To iterate over through the full -/// pagination, pass the cursor to `docsListContinue`. +/// DEPRECATED: Return the list of all Paper docs according to the argument specifications. To iterate over through the +/// full pagination, pass the cursor to `docsListContinue`. Note that this endpoint will continue to work for content +/// created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param filterBy Allows user to specify how the Paper docs should be filtered. /// @param sortBy Allows user to specify how the Paper docs should be sorted. @@ -308,43 +379,62 @@ docsFolderUsersListContinue:(NSString *)docId sortBy:(nullable DBPAPERListPaperDocsSortBy *)sortBy sortOrder: (nullable DBPAPERListPaperDocsSortOrder *)sortOrder - limit:(nullable NSNumber *)limit; + limit:(nullable NSNumber *)limit + __deprecated_msg("docsList is deprecated."); /// -/// Once a cursor has been retrieved from `docsList`, use this to paginate through all Paper doc. +/// DEPRECATED: Once a cursor has been retrieved from `docsList`, use this to paginate through all Paper doc. Note that +/// this endpoint will continue to work for content created by users on the older version of Paper. To check which +/// version of Paper a user is on, use /users/features/get_values. If the paper_as_files feature is enabled, then the +/// user is running the new version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param cursor The cursor obtained from `docsList` or `docsListContinue`. Allows for pagination. /// /// @return Through the response callback, the caller will receive a `DBPAPERListPaperDocsResponse` object on success or /// a `DBPAPERListDocsCursorError` object on failure. /// -- (DBRpcTask *)docsListContinue:(NSString *)cursor; +- (DBRpcTask *)docsListContinue:(NSString *)cursor + __deprecated_msg("docsListContinue is deprecated."); /// -/// Permanently deletes the given Paper doc. This operation is final as the doc cannot be recovered. Note: This action -/// can be performed only by the doc owner. +/// DEPRECATED: Permanently deletes the given Paper doc. This operation is final as the doc cannot be recovered. This +/// action can be performed only by the doc owner. Note that this endpoint will continue to work for content created by +/// users on the older version of Paper. To check which version of Paper a user is on, use /users/features/get_values. +/// If the paper_as_files feature is enabled, then the user is running the new version of Paper. Refer to the Paper +/// Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param docId The Paper doc ID. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsPermanentlyDelete:(NSString *)docId; +- (DBRpcTask *)docsPermanentlyDelete:(NSString *)docId + __deprecated_msg("docsPermanentlyDelete is deprecated."); /// -/// Gets the default sharing policy for the given Paper doc. +/// DEPRECATED: Gets the default sharing policy for the given Paper doc. Note that this endpoint will continue to work +/// for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. /// /// @param docId The Paper doc ID. /// /// @return Through the response callback, the caller will receive a `DBPAPERSharingPolicy` object on success or a /// `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsSharingPolicyGet:(NSString *)docId; +- (DBRpcTask *)docsSharingPolicyGet:(NSString *)docId + __deprecated_msg("docsSharingPolicyGet is deprecated."); /// -/// Sets the default sharing policy for the given Paper doc. The default 'team_sharing_policy' can be changed only by -/// teams, omit this field for personal accounts. Note: 'public_sharing_policy' cannot be set to the value 'disabled' -/// because this setting can be changed only via the team admin console. +/// DEPRECATED: Sets the default sharing policy for the given Paper doc. The default 'team_sharing_policy' can be +/// changed only by teams, omit this field for personal accounts. The 'public_sharing_policy' policy can't be set to the +/// value 'disabled' because this setting can be changed only via the team admin console. Note that this endpoint will +/// continue to work for content created by users on the older version of Paper. To check which version of Paper a user +/// is on, use /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new +/// version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param sharingPolicy The default sharing policy to be set for the Paper doc. /// @@ -352,10 +442,15 @@ docsFolderUsersListContinue:(NSString *)docId /// `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsSharingPolicySet:(NSString *)docId - sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy; + sharingPolicy:(DBPAPERSharingPolicy *)sharingPolicy + __deprecated_msg("docsSharingPolicySet is deprecated."); /// -/// Updates an existing Paper doc with the provided content. +/// DEPRECATED: Updates an existing Paper doc with the provided content. Note that this endpoint will continue to work +/// for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param docUpdatePolicy The policy used for the current update call. /// @param revision The latest doc revision. This value must match the head revision or an error code will be returned. @@ -367,14 +462,18 @@ docsFolderUsersListContinue:(NSString *)docId /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) - docsUpdateUrl:(NSString *)docId -docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy - revision:(NSNumber *)revision - importFormat:(DBPAPERImportFormat *)importFormat - inputUrl:(NSString *)inputUrl; + docsUpdateUrl:(NSString *)docId + docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy + revision:(NSNumber *)revision + importFormat:(DBPAPERImportFormat *)importFormat + inputUrl:(NSString *)inputUrl __deprecated_msg("docsUpdate is deprecated."); /// -/// Updates an existing Paper doc with the provided content. +/// DEPRECATED: Updates an existing Paper doc with the provided content. Note that this endpoint will continue to work +/// for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param docUpdatePolicy The policy used for the current update call. /// @param revision The latest doc revision. This value must match the head revision or an error code will be returned. @@ -386,14 +485,18 @@ docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) - docsUpdateData:(NSString *)docId -docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy - revision:(NSNumber *)revision - importFormat:(DBPAPERImportFormat *)importFormat - inputData:(NSData *)inputData; + docsUpdateData:(NSString *)docId + docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy + revision:(NSNumber *)revision + importFormat:(DBPAPERImportFormat *)importFormat + inputData:(NSData *)inputData __deprecated_msg("docsUpdate is deprecated."); /// -/// Updates an existing Paper doc with the provided content. +/// DEPRECATED: Updates an existing Paper doc with the provided content. Note that this endpoint will continue to work +/// for content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. This endpoint will be retired in September 2020. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for more information. /// /// @param docUpdatePolicy The policy used for the current update call. /// @param revision The latest doc revision. This value must match the head revision or an error code will be returned. @@ -405,15 +508,19 @@ docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy /// success or a `DBPAPERPaperDocUpdateError` object on failure. /// - (DBUploadTask *) -docsUpdateStream:(NSString *)docId - docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy - revision:(NSNumber *)revision - importFormat:(DBPAPERImportFormat *)importFormat - inputStream:(NSInputStream *)inputStream; + docsUpdateStream:(NSString *)docId + docUpdatePolicy:(DBPAPERPaperDocUpdatePolicy *)docUpdatePolicy + revision:(NSNumber *)revision + importFormat:(DBPAPERImportFormat *)importFormat + inputStream:(NSInputStream *)inputStream __deprecated_msg("docsUpdate is deprecated."); /// -/// Allows an owner or editor to add users to a Paper doc or change their permissions using their email address or -/// Dropbox account ID. Note: The Doc owner's permissions cannot be changed. +/// DEPRECATED: Allows an owner or editor to add users to a Paper doc or change their permissions using their email +/// address or Dropbox account ID. The doc owner's permissions cannot be changed. Note that this endpoint will continue +/// to work for content created by users on the older version of Paper. To check which version of Paper a user is on, +/// use /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version +/// of Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide +/// for migration information. /// /// @param members User which should be added to the Paper doc. Specify only email address or Dropbox account ID. /// @@ -421,12 +528,16 @@ docsUpdateStream:(NSString *)docId /// object on success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *, DBPAPERDocLookupError *> *) -docsUsersAdd:(NSString *)docId - members:(NSArray *)members; + docsUsersAdd:(NSString *)docId + members:(NSArray *)members __deprecated_msg("docsUsersAdd is deprecated."); /// -/// Allows an owner or editor to add users to a Paper doc or change their permissions using their email address or -/// Dropbox account ID. Note: The Doc owner's permissions cannot be changed. +/// DEPRECATED: Allows an owner or editor to add users to a Paper doc or change their permissions using their email +/// address or Dropbox account ID. The doc owner's permissions cannot be changed. Note that this endpoint will continue +/// to work for content created by users on the older version of Paper. To check which version of Paper a user is on, +/// use /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version +/// of Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide +/// for migration information. /// /// @param members User which should be added to the Paper doc. Specify only email address or Dropbox account ID. /// @param customMessage A personal message that will be emailed to each successfully added member. @@ -436,26 +547,35 @@ docsUsersAdd:(NSString *)docId /// object on success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *, DBPAPERDocLookupError *> *) - docsUsersAdd:(NSString *)docId - members:(NSArray *)members -customMessage:(nullable NSString *)customMessage - quiet:(nullable NSNumber *)quiet; + docsUsersAdd:(NSString *)docId + members:(NSArray *)members + customMessage:(nullable NSString *)customMessage + quiet:(nullable NSNumber *)quiet __deprecated_msg("docsUsersAdd is deprecated."); /// -/// Lists all users who visited the Paper doc or users with explicit access. This call excludes users who have been -/// removed. The list is sorted by the date of the visit or the share date. The list will include both users, the -/// explicitly shared ones as well as those who came in using the Paper url link. +/// DEPRECATED: Lists all users who visited the Paper doc or users with explicit access. This call excludes users who +/// have been removed. The list is sorted by the date of the visit or the share date. The list will include both users, +/// the explicitly shared ones as well as those who came in using the Paper url link. Note that this endpoint will +/// continue to work for content created by users on the older version of Paper. To check which version of Paper a user +/// is on, use /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new +/// version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// /// @return Through the response callback, the caller will receive a `DBPAPERListUsersOnPaperDocResponse` object on /// success or a `DBPAPERDocLookupError` object on failure. /// -- (DBRpcTask *)docsUsersList:(NSString *)docId; +- (DBRpcTask *)docsUsersList:(NSString *)docId + __deprecated_msg("docsUsersList is deprecated."); /// -/// Lists all users who visited the Paper doc or users with explicit access. This call excludes users who have been -/// removed. The list is sorted by the date of the visit or the share date. The list will include both users, the -/// explicitly shared ones as well as those who came in using the Paper url link. +/// DEPRECATED: Lists all users who visited the Paper doc or users with explicit access. This call excludes users who +/// have been removed. The list is sorted by the date of the visit or the share date. The list will include both users, +/// the explicitly shared ones as well as those who came in using the Paper url link. Note that this endpoint will +/// continue to work for content created by users on the older version of Paper. To check which version of Paper a user +/// is on, use /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new +/// version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param limit Size limit per batch. The maximum number of users that can be retrieved per batch is 1000. Higher value /// results in invalid arguments error. @@ -465,12 +585,16 @@ customMessage:(nullable NSString *)customMessage /// success or a `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *) -docsUsersList:(NSString *)docId - limit:(nullable NSNumber *)limit - filterBy:(nullable DBPAPERUserOnPaperDocFilter *)filterBy; + docsUsersList:(NSString *)docId + limit:(nullable NSNumber *)limit + filterBy:(nullable DBPAPERUserOnPaperDocFilter *)filterBy __deprecated_msg("docsUsersList is deprecated."); /// -/// Once a cursor has been retrieved from `docsUsersList`, use this to paginate through all users on the Paper doc. +/// DEPRECATED: Once a cursor has been retrieved from `docsUsersList`, use this to paginate through all users on the +/// Paper doc. Note that this endpoint will continue to work for content created by users on the older version of Paper. +/// To check which version of Paper a user is on, use /users/features/get_values. If the paper_as_files feature is +/// enabled, then the user is running the new version of Paper. Refer to the Paper Migration Guide +/// https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param cursor The cursor obtained from `docsUsersList` or `docsUsersListContinue`. Allows for pagination. /// @@ -478,12 +602,15 @@ docsUsersList:(NSString *)docId /// success or a `DBPAPERListUsersCursorError` object on failure. /// - (DBRpcTask *) -docsUsersListContinue:(NSString *)docId - cursor:(NSString *)cursor; + docsUsersListContinue:(NSString *)docId + cursor:(NSString *)cursor __deprecated_msg("docsUsersListContinue is deprecated."); /// -/// Allows an owner or editor to remove users from a Paper doc using their email address or Dropbox account ID. Note: -/// Doc owner cannot be removed. +/// DEPRECATED: Allows an owner or editor to remove users from a Paper doc using their email address or Dropbox account +/// ID. The doc owner cannot be removed. Note that this endpoint will continue to work for content created by users on +/// the older version of Paper. To check which version of Paper a user is on, use /users/features/get_values. If the +/// paper_as_files feature is enabled, then the user is running the new version of Paper. Refer to the Paper Migration +/// Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for migration information. /// /// @param member User which should be removed from the Paper doc. Specify only email address or Dropbox account ID. /// @@ -491,7 +618,46 @@ docsUsersListContinue:(NSString *)docId /// `DBPAPERDocLookupError` object on failure. /// - (DBRpcTask *)docsUsersRemove:(NSString *)docId - member:(DBSHARINGMemberSelector *)member; + member:(DBSHARINGMemberSelector *)member + __deprecated_msg("docsUsersRemove is deprecated."); + +/// +/// DEPRECATED: Create a new Paper folder with the provided info. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. +/// +/// @param name The name of the new Paper folder. +/// +/// @return Through the response callback, the caller will receive a `DBPAPERPaperFolderCreateResult` object on success +/// or a `DBPAPERPaperFolderCreateError` object on failure. +/// +- (DBRpcTask *)foldersCreate:(NSString *)name + __deprecated_msg("foldersCreate is deprecated."); + +/// +/// DEPRECATED: Create a new Paper folder with the provided info. Note that this endpoint will continue to work for +/// content created by users on the older version of Paper. To check which version of Paper a user is on, use +/// /users/features/get_values. If the paper_as_files feature is enabled, then the user is running the new version of +/// Paper. Refer to the Paper Migration Guide https://www.dropbox.com/lp/developers/reference/paper-migration-guide for +/// migration information. +/// +/// @param name The name of the new Paper folder. +/// @param parentFolderId The encrypted Paper folder Id where the new Paper folder should be created. The API user has +/// to have write access to this folder or error is thrown. If not supplied, the new folder will be created at top +/// level. +/// @param isTeamFolder Whether the folder to be created should be a team folder. This value will be ignored if +/// parent_folder_id is supplied, as the new folder will inherit the type (private or team folder) from its parent. We +/// will by default create a top-level private folder if both parent_folder_id and is_team_folder are not supplied. +/// +/// @return Through the response callback, the caller will receive a `DBPAPERPaperFolderCreateResult` object on success +/// or a `DBPAPERPaperFolderCreateError` object on failure. +/// +- (DBRpcTask *) + foldersCreate:(NSString *)name + parentFolderId:(nullable NSString *)parentFolderId + isTeamFolder:(nullable NSNumber *)isTeamFolder __deprecated_msg("foldersCreate is deprecated."); @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.m index 81bcc0fc5..55f9047f2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBPAPERUserAuthRoutes.m @@ -42,6 +42,9 @@ #import "DBPAPERPaperDocUpdateArgs.h" #import "DBPAPERPaperDocUpdateError.h" #import "DBPAPERPaperDocUpdatePolicy.h" +#import "DBPAPERPaperFolderCreateArg.h" +#import "DBPAPERPaperFolderCreateError.h" +#import "DBPAPERPaperFolderCreateResult.h" #import "DBPAPERRefPaperDoc.h" #import "DBPAPERRemovePaperDocUser.h" #import "DBPAPERRouteObjects.h" @@ -307,4 +310,19 @@ - (DBRpcTask *)docsUsersRemove:(NSString *)docId member:(DBSHARINGMemberSelector return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)foldersCreate:(NSString *)name { + DBRoute *route = DBPAPERRouteObjects.DBPAPERFoldersCreate; + DBPAPERPaperFolderCreateArg *arg = [[DBPAPERPaperFolderCreateArg alloc] initWithName:name]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)foldersCreate:(NSString *)name + parentFolderId:(NSString *)parentFolderId + isTeamFolder:(NSNumber *)isTeamFolder { + DBRoute *route = DBPAPERRouteObjects.DBPAPERFoldersCreate; + DBPAPERPaperFolderCreateArg *arg = + [[DBPAPERPaperFolderCreateArg alloc] initWithName:name parentFolderId:parentFolderId isTeamFolder:isTeamFolder]; + return [self.client requestRpc:route arg:arg]; +} + @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.h new file mode 100644 index 000000000..5e507a5f1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.h @@ -0,0 +1,159 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +#import "DBTasks.h" + +@class DBASYNCLaunchEmptyResult; +@class DBASYNCLaunchResultBase; +@class DBASYNCPollError; +@class DBFILESLookupError; +@class DBNilObject; +@class DBSHARINGAccessInheritance; +@class DBSHARINGAccessLevel; +@class DBSHARINGAclUpdatePolicy; +@class DBSHARINGAddFileMemberError; +@class DBSHARINGAddFolderMemberError; +@class DBSHARINGAddMember; +@class DBSHARINGAddMemberSelectorError; +@class DBSHARINGCreateSharedLinkError; +@class DBSHARINGCreateSharedLinkWithSettingsError; +@class DBSHARINGExpectedSharedContentLinkMetadata; +@class DBSHARINGFileAction; +@class DBSHARINGFileMemberActionError; +@class DBSHARINGFileMemberActionIndividualResult; +@class DBSHARINGFileMemberActionResult; +@class DBSHARINGFileMemberRemoveActionResult; +@class DBSHARINGFilePermission; +@class DBSHARINGFolderAction; +@class DBSHARINGFolderPermission; +@class DBSHARINGFolderPolicy; +@class DBSHARINGGetFileMetadataBatchResult; +@class DBSHARINGGetFileMetadataError; +@class DBSHARINGGetFileMetadataIndividualResult; +@class DBSHARINGGetSharedLinkFileError; +@class DBSHARINGGetSharedLinksError; +@class DBSHARINGGetSharedLinksResult; +@class DBSHARINGGroupMembershipInfo; +@class DBSHARINGInsufficientQuotaAmounts; +@class DBSHARINGInviteeMembershipInfo; +@class DBSHARINGJobError; +@class DBSHARINGJobStatus; +@class DBSHARINGLinkAudience; +@class DBSHARINGLinkExpiry; +@class DBSHARINGLinkMetadata; +@class DBSHARINGLinkPassword; +@class DBSHARINGLinkPermissions; +@class DBSHARINGLinkSettings; +@class DBSHARINGListFileMembersBatchResult; +@class DBSHARINGListFileMembersContinueError; +@class DBSHARINGListFileMembersError; +@class DBSHARINGListFileMembersIndividualResult; +@class DBSHARINGListFilesContinueError; +@class DBSHARINGListFilesResult; +@class DBSHARINGListFolderMembersContinueError; +@class DBSHARINGListFoldersContinueError; +@class DBSHARINGListFoldersResult; +@class DBSHARINGListSharedLinksError; +@class DBSHARINGListSharedLinksResult; +@class DBSHARINGMemberAccessLevelResult; +@class DBSHARINGMemberAction; +@class DBSHARINGMemberPolicy; +@class DBSHARINGMemberSelector; +@class DBSHARINGModifySharedLinkSettingsError; +@class DBSHARINGMountFolderError; +@class DBSHARINGParentFolderAccessInfo; +@class DBSHARINGPathLinkMetadata; +@class DBSHARINGPendingUploadMode; +@class DBSHARINGRelinquishFileMembershipError; +@class DBSHARINGRelinquishFolderMembershipError; +@class DBSHARINGRemoveFileMemberError; +@class DBSHARINGRemoveFolderMemberError; +@class DBSHARINGRemoveMemberJobStatus; +@class DBSHARINGRequestedLinkAccessLevel; +@class DBSHARINGRequestedVisibility; +@class DBSHARINGRevokeSharedLinkError; +@class DBSHARINGSetAccessInheritanceError; +@class DBSHARINGShareFolderError; +@class DBSHARINGShareFolderJobStatus; +@class DBSHARINGShareFolderLaunch; +@class DBSHARINGSharePathError; +@class DBSHARINGSharedContentLinkMetadata; +@class DBSHARINGSharedFileMembers; +@class DBSHARINGSharedFileMetadata; +@class DBSHARINGSharedFolderAccessError; +@class DBSHARINGSharedFolderMemberError; +@class DBSHARINGSharedFolderMembers; +@class DBSHARINGSharedFolderMetadata; +@class DBSHARINGSharedLinkAlreadyExistsMetadata; +@class DBSHARINGSharedLinkError; +@class DBSHARINGSharedLinkMetadata; +@class DBSHARINGSharedLinkPolicy; +@class DBSHARINGSharedLinkSettings; +@class DBSHARINGSharedLinkSettingsError; +@class DBSHARINGSharingFileAccessError; +@class DBSHARINGSharingUserError; +@class DBSHARINGTeamMemberInfo; +@class DBSHARINGTransferFolderError; +@class DBSHARINGUnmountFolderError; +@class DBSHARINGUnshareFileError; +@class DBSHARINGUnshareFolderError; +@class DBSHARINGUpdateFolderMemberError; +@class DBSHARINGUpdateFolderPolicyError; +@class DBSHARINGUserFileMembershipInfo; +@class DBSHARINGUserMembershipInfo; +@class DBSHARINGViewerInfoPolicy; +@class DBSHARINGVisibility; +@class DBUSERSTeam; + +@protocol DBTransportClient; + +/// +/// Routes for the `Sharing` namespace +/// + +NS_ASSUME_NONNULL_BEGIN + +@interface DBSHARINGAppAuthRoutes : NSObject + +/// An instance of the networking client that each route will use to submit a +/// request. +@property (nonatomic, readonly) id client; + +/// Initializes the `DBSHARINGAppAuthRoutes` namespace container object with a +/// networking client. +- (instancetype)init:(id)client; + +/// +/// Get the shared link's metadata. +/// +/// @param url URL of the shared link. +/// +/// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or +/// a `DBSHARINGSharedLinkError` object on failure. +/// +- (DBRpcTask *)getSharedLinkMetadata:(NSString *)url; + +/// +/// Get the shared link's metadata. +/// +/// @param url URL of the shared link. +/// @param path If the shared link is to a folder, this parameter can be used to retrieve the metadata for a specific +/// file or sub-folder in this folder. A relative path should be used. +/// @param linkPassword If the shared link has a password, this parameter can be used. +/// +/// @return Through the response callback, the caller will receive a `DBSHARINGSharedLinkMetadata` object on success or +/// a `DBSHARINGSharedLinkError` object on failure. +/// +- (DBRpcTask *) + getSharedLinkMetadata:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.m new file mode 100644 index 000000000..cd15b3b6d --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGAppAuthRoutes.m @@ -0,0 +1,174 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBSHARINGAppAuthRoutes.h" +#import "DBASYNCLaunchEmptyResult.h" +#import "DBASYNCLaunchResultBase.h" +#import "DBASYNCPollArg.h" +#import "DBASYNCPollError.h" +#import "DBASYNCPollResultBase.h" +#import "DBFILESLookupError.h" +#import "DBRequestErrors.h" +#import "DBSHARINGAccessInheritance.h" +#import "DBSHARINGAccessLevel.h" +#import "DBSHARINGAclUpdatePolicy.h" +#import "DBSHARINGAddFileMemberArgs.h" +#import "DBSHARINGAddFileMemberError.h" +#import "DBSHARINGAddFolderMemberArg.h" +#import "DBSHARINGAddFolderMemberError.h" +#import "DBSHARINGAddMember.h" +#import "DBSHARINGAddMemberSelectorError.h" +#import "DBSHARINGCreateSharedLinkArg.h" +#import "DBSHARINGCreateSharedLinkError.h" +#import "DBSHARINGCreateSharedLinkWithSettingsArg.h" +#import "DBSHARINGCreateSharedLinkWithSettingsError.h" +#import "DBSHARINGExpectedSharedContentLinkMetadata.h" +#import "DBSHARINGFileAction.h" +#import "DBSHARINGFileLinkMetadata.h" +#import "DBSHARINGFileMemberActionError.h" +#import "DBSHARINGFileMemberActionIndividualResult.h" +#import "DBSHARINGFileMemberActionResult.h" +#import "DBSHARINGFileMemberRemoveActionResult.h" +#import "DBSHARINGFilePermission.h" +#import "DBSHARINGFolderAction.h" +#import "DBSHARINGFolderLinkMetadata.h" +#import "DBSHARINGFolderPermission.h" +#import "DBSHARINGFolderPolicy.h" +#import "DBSHARINGGetFileMetadataArg.h" +#import "DBSHARINGGetFileMetadataBatchArg.h" +#import "DBSHARINGGetFileMetadataBatchResult.h" +#import "DBSHARINGGetFileMetadataError.h" +#import "DBSHARINGGetFileMetadataIndividualResult.h" +#import "DBSHARINGGetMetadataArgs.h" +#import "DBSHARINGGetSharedLinkFileError.h" +#import "DBSHARINGGetSharedLinkMetadataArg.h" +#import "DBSHARINGGetSharedLinksArg.h" +#import "DBSHARINGGetSharedLinksError.h" +#import "DBSHARINGGetSharedLinksResult.h" +#import "DBSHARINGGroupMembershipInfo.h" +#import "DBSHARINGInsufficientQuotaAmounts.h" +#import "DBSHARINGInviteeMembershipInfo.h" +#import "DBSHARINGJobError.h" +#import "DBSHARINGJobStatus.h" +#import "DBSHARINGLinkMetadata.h" +#import "DBSHARINGLinkPermissions.h" +#import "DBSHARINGLinkSettings.h" +#import "DBSHARINGListFileMembersArg.h" +#import "DBSHARINGListFileMembersBatchArg.h" +#import "DBSHARINGListFileMembersBatchResult.h" +#import "DBSHARINGListFileMembersContinueArg.h" +#import "DBSHARINGListFileMembersContinueError.h" +#import "DBSHARINGListFileMembersError.h" +#import "DBSHARINGListFileMembersIndividualResult.h" +#import "DBSHARINGListFilesArg.h" +#import "DBSHARINGListFilesContinueArg.h" +#import "DBSHARINGListFilesContinueError.h" +#import "DBSHARINGListFilesResult.h" +#import "DBSHARINGListFolderMembersArgs.h" +#import "DBSHARINGListFolderMembersContinueArg.h" +#import "DBSHARINGListFolderMembersContinueError.h" +#import "DBSHARINGListFolderMembersCursorArg.h" +#import "DBSHARINGListFoldersArgs.h" +#import "DBSHARINGListFoldersContinueArg.h" +#import "DBSHARINGListFoldersContinueError.h" +#import "DBSHARINGListFoldersResult.h" +#import "DBSHARINGListSharedLinksArg.h" +#import "DBSHARINGListSharedLinksError.h" +#import "DBSHARINGListSharedLinksResult.h" +#import "DBSHARINGMemberAccessLevelResult.h" +#import "DBSHARINGMemberAction.h" +#import "DBSHARINGMemberPolicy.h" +#import "DBSHARINGMemberSelector.h" +#import "DBSHARINGModifySharedLinkSettingsArgs.h" +#import "DBSHARINGModifySharedLinkSettingsError.h" +#import "DBSHARINGMountFolderArg.h" +#import "DBSHARINGMountFolderError.h" +#import "DBSHARINGParentFolderAccessInfo.h" +#import "DBSHARINGPathLinkMetadata.h" +#import "DBSHARINGPendingUploadMode.h" +#import "DBSHARINGRelinquishFileMembershipArg.h" +#import "DBSHARINGRelinquishFileMembershipError.h" +#import "DBSHARINGRelinquishFolderMembershipArg.h" +#import "DBSHARINGRelinquishFolderMembershipError.h" +#import "DBSHARINGRemoveFileMemberArg.h" +#import "DBSHARINGRemoveFileMemberError.h" +#import "DBSHARINGRemoveFolderMemberArg.h" +#import "DBSHARINGRemoveFolderMemberError.h" +#import "DBSHARINGRemoveMemberJobStatus.h" +#import "DBSHARINGRevokeSharedLinkArg.h" +#import "DBSHARINGRevokeSharedLinkError.h" +#import "DBSHARINGRouteObjects.h" +#import "DBSHARINGSetAccessInheritanceArg.h" +#import "DBSHARINGSetAccessInheritanceError.h" +#import "DBSHARINGShareFolderArg.h" +#import "DBSHARINGShareFolderArgBase.h" +#import "DBSHARINGShareFolderError.h" +#import "DBSHARINGShareFolderErrorBase.h" +#import "DBSHARINGShareFolderJobStatus.h" +#import "DBSHARINGShareFolderLaunch.h" +#import "DBSHARINGSharePathError.h" +#import "DBSHARINGSharedContentLinkMetadata.h" +#import "DBSHARINGSharedFileMembers.h" +#import "DBSHARINGSharedFileMetadata.h" +#import "DBSHARINGSharedFolderAccessError.h" +#import "DBSHARINGSharedFolderMemberError.h" +#import "DBSHARINGSharedFolderMembers.h" +#import "DBSHARINGSharedFolderMetadata.h" +#import "DBSHARINGSharedFolderMetadataBase.h" +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" +#import "DBSHARINGSharedLinkError.h" +#import "DBSHARINGSharedLinkMetadata.h" +#import "DBSHARINGSharedLinkPolicy.h" +#import "DBSHARINGSharedLinkSettings.h" +#import "DBSHARINGSharedLinkSettingsError.h" +#import "DBSHARINGSharingFileAccessError.h" +#import "DBSHARINGSharingUserError.h" +#import "DBSHARINGTeamMemberInfo.h" +#import "DBSHARINGTransferFolderArg.h" +#import "DBSHARINGTransferFolderError.h" +#import "DBSHARINGUnmountFolderArg.h" +#import "DBSHARINGUnmountFolderError.h" +#import "DBSHARINGUnshareFileArg.h" +#import "DBSHARINGUnshareFileError.h" +#import "DBSHARINGUnshareFolderArg.h" +#import "DBSHARINGUnshareFolderError.h" +#import "DBSHARINGUpdateFileMemberArgs.h" +#import "DBSHARINGUpdateFolderMemberArg.h" +#import "DBSHARINGUpdateFolderMemberError.h" +#import "DBSHARINGUpdateFolderPolicyArg.h" +#import "DBSHARINGUpdateFolderPolicyError.h" +#import "DBSHARINGUserFileMembershipInfo.h" +#import "DBSHARINGUserMembershipInfo.h" +#import "DBSHARINGViewerInfoPolicy.h" +#import "DBSHARINGVisibility.h" +#import "DBStoneBase.h" +#import "DBTransportClientProtocol.h" +#import "DBUSERSTeam.h" + +@implementation DBSHARINGAppAuthRoutes + +- (instancetype)init:(id)client { + self = [super init]; + if (self) { + _client = client; + } + return self; +} + +- (DBRpcTask *)getSharedLinkMetadata:(NSString *)url { + DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkMetadata; + DBSHARINGGetSharedLinkMetadataArg *arg = [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)getSharedLinkMetadata:(NSString *)url path:(NSString *)path linkPassword:(NSString *)linkPassword { + DBRoute *route = DBSHARINGRouteObjects.DBSHARINGGetSharedLinkMetadata; + DBSHARINGGetSharedLinkMetadataArg *arg = + [[DBSHARINGGetSharedLinkMetadataArg alloc] initWithUrl:url path:path linkPassword:linkPassword]; + return [self.client requestRpc:route arg:arg]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.h index c65c6da6e..39ddb3998 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.h @@ -13,6 +13,7 @@ @class DBASYNCPollError; @class DBFILESLookupError; @class DBNilObject; +@class DBSHARINGAccessInheritance; @class DBSHARINGAccessLevel; @class DBSHARINGAclUpdatePolicy; @class DBSHARINGAddFileMemberError; @@ -73,8 +74,10 @@ @class DBSHARINGRemoveFileMemberError; @class DBSHARINGRemoveFolderMemberError; @class DBSHARINGRemoveMemberJobStatus; +@class DBSHARINGRequestedLinkAccessLevel; @class DBSHARINGRequestedVisibility; @class DBSHARINGRevokeSharedLinkError; +@class DBSHARINGSetAccessInheritanceError; @class DBSHARINGShareFolderError; @class DBSHARINGShareFolderJobStatus; @class DBSHARINGShareFolderLaunch; @@ -86,6 +89,7 @@ @class DBSHARINGSharedFolderMemberError; @class DBSHARINGSharedFolderMembers; @class DBSHARINGSharedFolderMetadata; +@class DBSHARINGSharedLinkAlreadyExistsMetadata; @class DBSHARINGSharedLinkError; @class DBSHARINGSharedLinkMetadata; @class DBSHARINGSharedLinkPolicy; @@ -128,24 +132,24 @@ NS_ASSUME_NONNULL_BEGIN /// Adds specified members to a file. /// /// @param file File to which to add members. -/// @param members Members to add. Note that even an email address is given, this may result in a user being directy +/// @param members Members to add. Note that even an email address is given, this may result in a user being directly /// added to the membership if that email is the user's main account email. /// /// @return Through the response callback, the caller will receive a `NSArray` object /// on success or a `DBSHARINGAddFileMemberError` object on failure. /// - (DBRpcTask *, DBSHARINGAddFileMemberError *> *) -addFileMember:(NSString *)file - members:(NSArray *)members; + addFileMember:(NSString *)file + members:(NSArray *)members; /// /// Adds specified members to a file. /// /// @param file File to which to add members. -/// @param members Members to add. Note that even an email address is given, this may result in a user being directy +/// @param members Members to add. Note that even an email address is given, this may result in a user being directly /// added to the membership if that email is the user's main account email. /// @param customMessage Message to send to added members in their invitation. -/// @param quiet Whether added members should be notified via device notifications of their invitation. +/// @param quiet Whether added members should be notified via email and device notifications of their invitation. /// @param accessLevel AccessLevel union object, describing what access level we want to give new members. /// @param addMessageAsComment If the custom message should be added as a comment on the file. /// @@ -153,17 +157,16 @@ addFileMember:(NSString *)file /// on success or a `DBSHARINGAddFileMemberError` object on failure. /// - (DBRpcTask *, DBSHARINGAddFileMemberError *> *) - addFileMember:(NSString *)file - members:(NSArray *)members - customMessage:(nullable NSString *)customMessage - quiet:(nullable NSNumber *)quiet - accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel -addMessageAsComment:(nullable NSNumber *)addMessageAsComment; + addFileMember:(NSString *)file + members:(NSArray *)members + customMessage:(nullable NSString *)customMessage + quiet:(nullable NSNumber *)quiet + accessLevel:(nullable DBSHARINGAccessLevel *)accessLevel + addMessageAsComment:(nullable NSNumber *)addMessageAsComment; /// /// Allows an owner or editor (if the ACL update policy allows) of a shared folder to add another member. For the new /// member to get access to all the functionality for this folder, you will need to call `mountFolder` on their behalf. -/// Apps must have full Dropbox access to use this endpoint. /// /// @param sharedFolderId The ID for the shared folder. /// @param members The intended list of members to add. Added members will receive invites to join the shared folder. @@ -177,7 +180,6 @@ addMessageAsComment:(nullable NSNumber *)addMessageAsComment; /// /// Allows an owner or editor (if the ACL update policy allows) of a shared folder to add another member. For the new /// member to get access to all the functionality for this folder, you will need to call `mountFolder` on their behalf. -/// Apps must have full Dropbox access to use this endpoint. /// /// @param sharedFolderId The ID for the shared folder. /// @param members The intended list of members to add. Added members will receive invites to join the shared folder. @@ -193,23 +195,7 @@ addMessageAsComment:(nullable NSNumber *)addMessageAsComment; customMessage:(nullable NSString *)customMessage; /// -/// DEPRECATED: Identical to update_file_member but with less information returned. -/// -/// @param file File for which we are changing a member's access. -/// @param member The member whose access we are changing. -/// @param accessLevel The new access level for the member. -/// -/// @return Through the response callback, the caller will receive a `DBSHARINGFileMemberActionResult` object on success -/// or a `DBSHARINGFileMemberActionError` object on failure. -/// -- (DBRpcTask *) -changeFileMemberAccess:(NSString *)file - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel - __deprecated_msg("changeFileMemberAccess is deprecated. Use updateFileMember."); - -/// -/// Returns the status of an asynchronous job. Apps must have full Dropbox access to use this endpoint. +/// Returns the status of an asynchronous job. /// /// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched /// the job. @@ -220,8 +206,7 @@ changeFileMemberAccess:(NSString *)file - (DBRpcTask *)checkJobStatus:(NSString *)asyncJobId; /// -/// Returns the status of an asynchronous job for sharing a folder. Apps must have full Dropbox access to use this -/// endpoint. +/// Returns the status of an asynchronous job for sharing a folder. /// /// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched /// the job. @@ -232,8 +217,7 @@ changeFileMemberAccess:(NSString *)file - (DBRpcTask *)checkRemoveMemberJobStatus:(NSString *)asyncJobId; /// -/// Returns the status of an asynchronous job for sharing a folder. Apps must have full Dropbox access to use this -/// endpoint. +/// Returns the status of an asynchronous job for sharing a folder. /// /// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched /// the job. @@ -244,12 +228,10 @@ changeFileMemberAccess:(NSString *)file - (DBRpcTask *)checkShareJobStatus:(NSString *)asyncJobId; /// -/// DEPRECATED: Create a shared link. If a shared link already exists for the given path, that link is returned. Note -/// that in the returned PathLinkMetadata, the `url` in `DBSHARINGPathLinkMetadata` field is the shortened URL if -/// `shortUrl` in `DBSHARINGCreateSharedLinkArg` argument is set to true. Previously, it was technically possible to -/// break a shared link by moving or renaming the corresponding file or folder. In the future, this will no longer be -/// the case, so your app shouldn't rely on this behavior. Instead, if your app needs to revoke a shared link, use -/// `revokeSharedLink`. +/// DEPRECATED: Create a shared link. If a shared link already exists for the given path, that link is returned. +/// Previously, it was technically possible to break a shared link by moving or renaming the corresponding file or +/// folder. In the future, this will no longer be the case, so your app shouldn't rely on this behavior. Instead, if +/// your app needs to revoke a shared link, use `revokeSharedLink`. /// /// @param path The path to share. /// @@ -260,15 +242,12 @@ changeFileMemberAccess:(NSString *)file __deprecated_msg("createSharedLink is deprecated. Use createSharedLinkWithSettings."); /// -/// DEPRECATED: Create a shared link. If a shared link already exists for the given path, that link is returned. Note -/// that in the returned PathLinkMetadata, the `url` in `DBSHARINGPathLinkMetadata` field is the shortened URL if -/// `shortUrl` in `DBSHARINGCreateSharedLinkArg` argument is set to true. Previously, it was technically possible to -/// break a shared link by moving or renaming the corresponding file or folder. In the future, this will no longer be -/// the case, so your app shouldn't rely on this behavior. Instead, if your app needs to revoke a shared link, use -/// `revokeSharedLink`. +/// DEPRECATED: Create a shared link. If a shared link already exists for the given path, that link is returned. +/// Previously, it was technically possible to break a shared link by moving or renaming the corresponding file or +/// folder. In the future, this will no longer be the case, so your app shouldn't rely on this behavior. Instead, if +/// your app needs to revoke a shared link, use `revokeSharedLink`. /// /// @param path The path to share. -/// @param shortUrl Whether to return a shortened URL. /// @param pendingUpload If it's okay to share a path that does not yet exist, set this to either `file` in /// `DBSHARINGPendingUploadMode` or `folder` in `DBSHARINGPendingUploadMode` to indicate whether to assume it's a file /// or folder. @@ -277,9 +256,9 @@ changeFileMemberAccess:(NSString *)file /// `DBSHARINGCreateSharedLinkError` object on failure. /// - (DBRpcTask *) -createSharedLink:(NSString *)path - shortUrl:(nullable NSNumber *)shortUrl - pendingUpload:(nullable DBSHARINGPendingUploadMode *)pendingUpload + createSharedLink:(NSString *)path + shortUrl:(nullable NSNumber *)shortUrl + pendingUpload:(nullable DBSHARINGPendingUploadMode *)pendingUpload __deprecated_msg("createSharedLink is deprecated. Use createSharedLinkWithSettings."); /// @@ -293,7 +272,7 @@ createSharedLink:(NSString *)path /// a `DBSHARINGCreateSharedLinkWithSettingsError` object on failure. /// - (DBRpcTask *) -createSharedLinkWithSettings:(NSString *)path; + createSharedLinkWithSettings:(NSString *)path; /// /// Create a shared link with custom settings. If no settings are given then the default visibility is `public` in @@ -307,8 +286,8 @@ createSharedLinkWithSettings:(NSString *)path; /// a `DBSHARINGCreateSharedLinkWithSettingsError` object on failure. /// - (DBRpcTask *) -createSharedLinkWithSettings:(NSString *)path - settings:(nullable DBSHARINGSharedLinkSettings *)settings; + createSharedLinkWithSettings:(NSString *)path + settings:(nullable DBSHARINGSharedLinkSettings *)settings; /// /// Returns shared file metadata. @@ -332,8 +311,8 @@ createSharedLinkWithSettings:(NSString *)path /// a `DBSHARINGGetFileMetadataError` object on failure. /// - (DBRpcTask *) -getFileMetadata:(NSString *)file - actions:(nullable NSArray *)actions; + getFileMetadata:(NSString *)file + actions:(nullable NSArray *)actions; /// /// Returns shared file metadata. @@ -358,11 +337,11 @@ getFileMetadata:(NSString *)file /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *) -getFileMetadataBatch:(NSArray *)files - actions:(nullable NSArray *)actions; + getFileMetadataBatch:(NSArray *)files + actions:(nullable NSArray *)actions; /// -/// Returns shared folder metadata by its folder ID. Apps must have full Dropbox access to use this endpoint. +/// Returns shared folder metadata by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -373,7 +352,7 @@ getFileMetadataBatch:(NSArray *)files (NSString *)sharedFolderId; /// -/// Returns shared folder metadata by its folder ID. Apps must have full Dropbox access to use this endpoint. +/// Returns shared folder metadata by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// @param actions A list of `FolderAction`s corresponding to `FolderPermission`s that should appear in the response's @@ -384,8 +363,8 @@ getFileMetadataBatch:(NSArray *)files /// or a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *) -getFolderMetadata:(NSString *)sharedFolderId - actions:(nullable NSArray *)actions; + getFolderMetadata:(NSString *)sharedFolderId + actions:(nullable NSArray *)actions; /// /// Download the shared link's file from a user's Dropbox. @@ -400,9 +379,9 @@ getFolderMetadata:(NSString *)sharedFolderId /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) -getSharedLinkFileUrl:(NSString *)url - overwrite:(BOOL)overwrite - destination:(NSURL *)destination; + getSharedLinkFileUrl:(NSString *)url + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; /// /// Download the shared link's file from a user's Dropbox. @@ -420,11 +399,11 @@ getSharedLinkFileUrl:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) -getSharedLinkFileUrl:(NSString *)url - path:(nullable NSString *)path - linkPassword:(nullable NSString *)linkPassword - overwrite:(BOOL)overwrite - destination:(NSURL *)destination; + getSharedLinkFileUrl:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword + overwrite:(BOOL)overwrite + destination:(NSURL *)destination; /// /// Download the shared link's file from a user's Dropbox. @@ -443,11 +422,11 @@ getSharedLinkFileUrl:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) -getSharedLinkFileUrl:(NSString *)url - overwrite:(BOOL)overwrite - destination:(NSURL *)destination - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + getSharedLinkFileUrl:(NSString *)url + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download the shared link's file from a user's Dropbox. @@ -469,13 +448,13 @@ getSharedLinkFileUrl:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadUrlTask *) -getSharedLinkFileUrl:(NSString *)url - path:(nullable NSString *)path - linkPassword:(nullable NSString *)linkPassword - overwrite:(BOOL)overwrite - destination:(NSURL *)destination - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + getSharedLinkFileUrl:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword + overwrite:(BOOL)overwrite + destination:(NSURL *)destination + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download the shared link's file from a user's Dropbox. @@ -500,9 +479,9 @@ getSharedLinkFileUrl:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) -getSharedLinkFileData:(NSString *)url - path:(nullable NSString *)path - linkPassword:(nullable NSString *)linkPassword; + getSharedLinkFileData:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword; /// /// Download the shared link's file from a user's Dropbox. @@ -517,9 +496,9 @@ getSharedLinkFileData:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) -getSharedLinkFileData:(NSString *)url - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + getSharedLinkFileData:(NSString *)url + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Download the shared link's file from a user's Dropbox. @@ -537,11 +516,11 @@ getSharedLinkFileData:(NSString *)url /// a `DBSHARINGGetSharedLinkFileError` object on failure. /// - (DBDownloadDataTask *) -getSharedLinkFileData:(NSString *)url - path:(nullable NSString *)path - linkPassword:(nullable NSString *)linkPassword - byteOffsetStart:(NSNumber *)byteOffsetStart - byteOffsetEnd:(NSNumber *)byteOffsetEnd; + getSharedLinkFileData:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword + byteOffsetStart:(NSNumber *)byteOffsetStart + byteOffsetEnd:(NSNumber *)byteOffsetEnd; /// /// Get the shared link's metadata. @@ -565,28 +544,28 @@ getSharedLinkFileData:(NSString *)url /// a `DBSHARINGSharedLinkError` object on failure. /// - (DBRpcTask *) -getSharedLinkMetadata:(NSString *)url - path:(nullable NSString *)path - linkPassword:(nullable NSString *)linkPassword; + getSharedLinkMetadata:(NSString *)url + path:(nullable NSString *)path + linkPassword:(nullable NSString *)linkPassword; /// /// DEPRECATED: Returns a list of LinkMetadata objects for this user, including collection links. If no path is given, /// returns a list of all shared links for the current user, including collection links, up to a maximum of 1000 links. /// If a non-empty path is given, returns a list of all shared links that allow access to the given path. Collection -/// links are never returned in this case. Note that the url field in the response is never the shortened URL. +/// links are never returned in this case. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGGetSharedLinksResult` object on success /// or a `DBSHARINGGetSharedLinksError` object on failure. /// -- (DBRpcTask *)getSharedLinks - __deprecated_msg("getSharedLinks is deprecated. Use listSharedLinks."); +- (DBRpcTask *) + getSharedLinks __deprecated_msg("getSharedLinks is deprecated. Use listSharedLinks."); /// /// DEPRECATED: Returns a list of LinkMetadata objects for this user, including collection links. If no path is given, /// returns a list of all shared links for the current user, including collection links, up to a maximum of 1000 links. /// If a non-empty path is given, returns a list of all shared links that allow access to the given path. Collection -/// links are never returned in this case. Note that the url field in the response is never the shortened URL. +/// links are never returned in this case. /// /// @param path See `getSharedLinks` description. /// @@ -618,10 +597,10 @@ getSharedLinkMetadata:(NSString *)url /// `DBSHARINGListFileMembersError` object on failure. /// - (DBRpcTask *) - listFileMembers:(NSString *)file - actions:(nullable NSArray *)actions -includeInherited:(nullable NSNumber *)includeInherited - limit:(nullable NSNumber *)limit; + listFileMembers:(NSString *)file + actions:(nullable NSArray *)actions + includeInherited:(nullable NSNumber *)includeInherited + limit:(nullable NSNumber *)limit; /// /// Get members of multiple files at once. The arguments to this route are more limited, and the limit on query result @@ -648,8 +627,8 @@ includeInherited:(nullable NSNumber *)includeInherited /// object on success or a `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *, DBSHARINGSharingUserError *> *) -listFileMembersBatch:(NSArray *)files - limit:(nullable NSNumber *)limit; + listFileMembersBatch:(NSArray *)files + limit:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `listFileMembers` or `listFileMembersBatch`, use this to paginate through all @@ -665,7 +644,7 @@ listFileMembersBatch:(NSArray *)files (NSString *)cursor; /// -/// Returns shared folder membership by its folder ID. Apps must have full Dropbox access to use this endpoint. +/// Returns shared folder membership by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -676,7 +655,7 @@ listFileMembersBatch:(NSArray *)files (NSString *)sharedFolderId; /// -/// Returns shared folder membership by its folder ID. Apps must have full Dropbox access to use this endpoint. +/// Returns shared folder membership by its folder ID. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -684,13 +663,12 @@ listFileMembersBatch:(NSArray *)files /// a `DBSHARINGSharedFolderAccessError` object on failure. /// - (DBRpcTask *) -listFolderMembers:(NSString *)sharedFolderId - actions:(nullable NSArray *)actions - limit:(nullable NSNumber *)limit; + listFolderMembers:(NSString *)sharedFolderId + actions:(nullable NSArray *)actions + limit:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `listFolderMembers`, use this to paginate through all shared folder members. -/// Apps must have full Dropbox access to use this endpoint. /// /// @param cursor The cursor returned by your last call to `listFolderMembers` or `listFolderMembersContinue`. /// @@ -701,8 +679,7 @@ listFolderMembers:(NSString *)sharedFolderId (NSString *)cursor; /// -/// Return the list of all shared folders the current user has access to. Apps must have full Dropbox access to use this -/// endpoint. +/// Return the list of all shared folders the current user has access to. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFoldersResult` object on success or a @@ -711,8 +688,7 @@ listFolderMembers:(NSString *)sharedFolderId - (DBRpcTask *)listFolders; /// -/// Return the list of all shared folders the current user has access to. Apps must have full Dropbox access to use this -/// endpoint. +/// Return the list of all shared folders the current user has access to. /// /// @param limit The maximum number of results to return per request. /// @param actions A list of `FolderAction`s corresponding to `FolderPermission`s that should appear in the response's @@ -728,8 +704,7 @@ listFolderMembers:(NSString *)sharedFolderId /// /// Once a cursor has been retrieved from `listFolders`, use this to paginate through all shared folders. The cursor -/// must come from a previous call to `listFolders` or `listFoldersContinue`. Apps must have full Dropbox access to use -/// this endpoint. +/// must come from a previous call to `listFolders` or `listFoldersContinue`. /// /// @param cursor The cursor returned by the previous API call specified in the endpoint description. /// @@ -740,8 +715,7 @@ listFolderMembers:(NSString *)sharedFolderId (NSString *)cursor; /// -/// Return the list of all shared folders the current user can mount or unmount. Apps must have full Dropbox access to -/// use this endpoint. +/// Return the list of all shared folders the current user can mount or unmount. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGListFoldersResult` object on success or a @@ -750,8 +724,7 @@ listFolderMembers:(NSString *)sharedFolderId - (DBRpcTask *)listMountableFolders; /// -/// Return the list of all shared folders the current user can mount or unmount. Apps must have full Dropbox access to -/// use this endpoint. +/// Return the list of all shared folders the current user can mount or unmount. /// /// @param limit The maximum number of results to return per request. /// @param actions A list of `FolderAction`s corresponding to `FolderPermission`s that should appear in the response's @@ -762,13 +735,12 @@ listFolderMembers:(NSString *)sharedFolderId /// `void` object on failure. /// - (DBRpcTask *) -listMountableFolders:(nullable NSNumber *)limit - actions:(nullable NSArray *)actions; + listMountableFolders:(nullable NSNumber *)limit + actions:(nullable NSArray *)actions; /// /// Once a cursor has been retrieved from `listMountableFolders`, use this to paginate through all mountable shared -/// folders. The cursor must come from a previous call to `listMountableFolders` or `listMountableFoldersContinue`. Apps -/// must have full Dropbox access to use this endpoint. +/// folders. The cursor must come from a previous call to `listMountableFolders` or `listMountableFoldersContinue`. /// /// @param cursor The cursor returned by the previous API call specified in the endpoint description. /// @@ -801,8 +773,8 @@ listMountableFolders:(nullable NSNumber *)limit /// `DBSHARINGSharingUserError` object on failure. /// - (DBRpcTask *) -listReceivedFiles:(nullable NSNumber *)limit - actions:(nullable NSArray *)actions; + listReceivedFiles:(nullable NSNumber *)limit + actions:(nullable NSArray *)actions; /// /// Get more results with a cursor from `listReceivedFiles`. @@ -816,10 +788,12 @@ listReceivedFiles:(nullable NSNumber *)limit (NSString *)cursor; /// -/// List shared links of this user. If no path is given, returns a list of all shared links for the current user. If a -/// non-empty path is given, returns a list of all shared links that allow access to the given path - direct links to -/// the given path and links to parent folders of the given path. Links to parent folders can be suppressed by setting -/// direct_only to true. +/// List shared links of this user. If no path is given, returns a list of all shared links for the current user. For +/// members of business teams using team space and member folders, returns all shared links in the team member's home +/// folder unless the team space ID is specified in the request header. For more information, refer to the Namespace +/// Guide https://www.dropbox.com/developers/reference/namespace-guide. If a non-empty path is given, returns a list of +/// all shared links that allow access to the given path - direct links to the given path and links to parent folders of +/// the given path. Links to parent folders can be suppressed by setting direct_only to true. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGListSharedLinksResult` object on success @@ -828,10 +802,12 @@ listReceivedFiles:(nullable NSNumber *)limit - (DBRpcTask *)listSharedLinks; /// -/// List shared links of this user. If no path is given, returns a list of all shared links for the current user. If a -/// non-empty path is given, returns a list of all shared links that allow access to the given path - direct links to -/// the given path and links to parent folders of the given path. Links to parent folders can be suppressed by setting -/// direct_only to true. +/// List shared links of this user. If no path is given, returns a list of all shared links for the current user. For +/// members of business teams using team space and member folders, returns all shared links in the team member's home +/// folder unless the team space ID is specified in the request header. For more information, refer to the Namespace +/// Guide https://www.dropbox.com/developers/reference/namespace-guide. If a non-empty path is given, returns a list of +/// all shared links that allow access to the given path - direct links to the given path and links to parent folders of +/// the given path. Links to parent folders can be suppressed by setting direct_only to true. /// /// @param path See `listSharedLinks` description. /// @param cursor The cursor returned by your last call to `listSharedLinks`. @@ -841,9 +817,9 @@ listReceivedFiles:(nullable NSNumber *)limit /// or a `DBSHARINGListSharedLinksError` object on failure. /// - (DBRpcTask *) -listSharedLinks:(nullable NSString *)path - cursor:(nullable NSString *)cursor - directOnly:(nullable NSNumber *)directOnly; + listSharedLinks:(nullable NSString *)path + cursor:(nullable NSString *)cursor + directOnly:(nullable NSNumber *)directOnly; /// /// Modify the shared link's settings. If the requested visibility conflict with the shared links policy of the team or @@ -858,8 +834,8 @@ listSharedLinks:(nullable NSString *)path /// a `DBSHARINGModifySharedLinkSettingsError` object on failure. /// - (DBRpcTask *) -modifySharedLinkSettings:(NSString *)url - settings:(DBSHARINGSharedLinkSettings *)settings; + modifySharedLinkSettings:(NSString *)url + settings:(DBSHARINGSharedLinkSettings *)settings; /// /// Modify the shared link's settings. If the requested visibility conflict with the shared links policy of the team or @@ -875,14 +851,13 @@ modifySharedLinkSettings:(NSString *)url /// a `DBSHARINGModifySharedLinkSettingsError` object on failure. /// - (DBRpcTask *) -modifySharedLinkSettings:(NSString *)url - settings:(DBSHARINGSharedLinkSettings *)settings - removeExpiration:(nullable NSNumber *)removeExpiration; + modifySharedLinkSettings:(NSString *)url + settings:(DBSHARINGSharedLinkSettings *)settings + removeExpiration:(nullable NSNumber *)removeExpiration; /// /// The current user mounts the designated folder. Mount a shared folder for a user after they have been added as a -/// member. Once mounted, the shared folder will appear in their Dropbox. Apps must have full Dropbox access to use this -/// endpoint. +/// member. Once mounted, the shared folder will appear in their Dropbox. /// /// @param sharedFolderId The ID of the shared folder to mount. /// @@ -893,7 +868,7 @@ modifySharedLinkSettings:(NSString *)url /// /// The current user relinquishes their membership in the designated file. Note that the current user may still have -/// inherited access to this file through the parent folder. Apps must have full Dropbox access to use this endpoint. +/// inherited access to this file through the parent folder. /// /// @param file The path or id for the file. /// @@ -905,8 +880,7 @@ modifySharedLinkSettings:(NSString *)url /// /// The current user relinquishes their membership in the designated shared folder and will no longer have access to the /// folder. A folder owner cannot relinquish membership in their own folder. This will run synchronously if -/// leave_a_copy is false, and asynchronously if leave_a_copy is true. Apps must have full Dropbox access to use this -/// endpoint. +/// leave_a_copy is false, and asynchronously if leave_a_copy is true. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -919,18 +893,18 @@ modifySharedLinkSettings:(NSString *)url /// /// The current user relinquishes their membership in the designated shared folder and will no longer have access to the /// folder. A folder owner cannot relinquish membership in their own folder. This will run synchronously if -/// leave_a_copy is false, and asynchronously if leave_a_copy is true. Apps must have full Dropbox access to use this -/// endpoint. +/// leave_a_copy is false, and asynchronously if leave_a_copy is true. /// /// @param sharedFolderId The ID for the shared folder. -/// @param leaveACopy Keep a copy of the folder's contents upon relinquishing membership. +/// @param leaveACopy Keep a copy of the folder's contents upon relinquishing membership. This must be set to false when +/// the folder is within a team folder or another shared folder. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBSHARINGRelinquishFolderMembershipError` object on failure. /// - (DBRpcTask *) -relinquishFolderMembership:(NSString *)sharedFolderId - leaveACopy:(nullable NSNumber *)leaveACopy; + relinquishFolderMembership:(NSString *)sharedFolderId + leaveACopy:(nullable NSNumber *)leaveACopy; /// /// DEPRECATED: Identical to remove_file_member_2 but with less information returned. @@ -943,8 +917,8 @@ relinquishFolderMembership:(NSString *)sharedFolderId /// on success or a `DBSHARINGRemoveFileMemberError` object on failure. /// - (DBRpcTask *) -removeFileMember:(NSString *)file - member:(DBSHARINGMemberSelector *)member + removeFileMember:(NSString *)file + member:(DBSHARINGMemberSelector *)member __deprecated_msg("removeFileMember is deprecated. Use removeFileMember2."); /// @@ -958,25 +932,25 @@ removeFileMember:(NSString *)file /// success or a `DBSHARINGRemoveFileMemberError` object on failure. /// - (DBRpcTask *) -removeFileMember2:(NSString *)file - member:(DBSHARINGMemberSelector *)member; + removeFileMember2:(NSString *)file + member:(DBSHARINGMemberSelector *)member; /// -/// Allows an owner or editor (if the ACL update policy allows) of a shared folder to remove another member. Apps must -/// have full Dropbox access to use this endpoint. +/// Allows an owner or editor (if the ACL update policy allows) of a shared folder to remove another member. /// /// @param sharedFolderId The ID for the shared folder. /// @param member The member to remove from the folder. /// @param leaveACopy If true, the removed user will keep their copy of the folder after it's unshared, assuming it was -/// mounted. Otherwise, it will be removed from their Dropbox. Also, this must be set to false when kicking a group. +/// mounted. Otherwise, it will be removed from their Dropbox. This must be set to false when removing a group, or when +/// the folder is within a team folder or another shared folder. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchResultBase` object on success or a /// `DBSHARINGRemoveFolderMemberError` object on failure. /// - (DBRpcTask *) -removeFolderMember:(NSString *)sharedFolderId - member:(DBSHARINGMemberSelector *)member - leaveACopy:(NSNumber *)leaveACopy; + removeFolderMember:(NSString *)sharedFolderId + member:(DBSHARINGMemberSelector *)member + leaveACopy:(NSNumber *)leaveACopy; /// /// Revoke a shared link. Note that even after revoking a shared link to a file, the file may be accessible if there are @@ -990,11 +964,39 @@ removeFolderMember:(NSString *)sharedFolderId /// - (DBRpcTask *)revokeSharedLink:(NSString *)url; +/// +/// Change the inheritance policy of an existing Shared Folder. Only permitted for shared folders in a shared team root. +/// If a `asyncJobId` in `DBSHARINGShareFolderLaunch` is returned, you'll need to call `checkShareJobStatus` until the +/// action completes to get the metadata for the folder. +/// +/// @param sharedFolderId The ID for the shared folder. +/// +/// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderLaunch` object on success or a +/// `DBSHARINGSetAccessInheritanceError` object on failure. +/// +- (DBRpcTask *)setAccessInheritance: + (NSString *)sharedFolderId; + +/// +/// Change the inheritance policy of an existing Shared Folder. Only permitted for shared folders in a shared team root. +/// If a `asyncJobId` in `DBSHARINGShareFolderLaunch` is returned, you'll need to call `checkShareJobStatus` until the +/// action completes to get the metadata for the folder. +/// +/// @param accessInheritance The access inheritance settings for the folder. +/// @param sharedFolderId The ID for the shared folder. +/// +/// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderLaunch` object on success or a +/// `DBSHARINGSetAccessInheritanceError` object on failure. +/// +- (DBRpcTask *) + setAccessInheritance:(NSString *)sharedFolderId + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance; + /// /// Share a folder with collaborators. Most sharing will be completed synchronously. Large folders will be completed /// asynchronously. To make testing the async case repeatable, set `ShareFolderArg.force_async`. If a `asyncJobId` in /// `DBSHARINGShareFolderLaunch` is returned, you'll need to call `checkShareJobStatus` until the action completes to -/// get the metadata for the folder. Apps must have full Dropbox access to use this endpoint. +/// get the metadata for the folder. /// /// /// @return Through the response callback, the caller will receive a `DBSHARINGShareFolderLaunch` object on success or a @@ -1006,7 +1008,7 @@ removeFolderMember:(NSString *)sharedFolderId /// Share a folder with collaborators. Most sharing will be completed synchronously. Large folders will be completed /// asynchronously. To make testing the async case repeatable, set `ShareFolderArg.force_async`. If a `asyncJobId` in /// `DBSHARINGShareFolderLaunch` is returned, you'll need to call `checkShareJobStatus` until the action completes to -/// get the metadata for the folder. Apps must have full Dropbox access to use this endpoint. +/// get the metadata for the folder. /// /// @param actions A list of `FolderAction`s corresponding to `FolderPermission`s that should appear in the response's /// `permissions` in `DBSHARINGSharedFolderMetadata` field describing the actions the authenticated user can perform on @@ -1017,19 +1019,19 @@ removeFolderMember:(NSString *)sharedFolderId /// `DBSHARINGShareFolderError` object on failure. /// - (DBRpcTask *) - shareFolder:(NSString *)path - aclUpdatePolicy:(nullable DBSHARINGAclUpdatePolicy *)aclUpdatePolicy - forceAsync:(nullable NSNumber *)forceAsync - memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy -sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy -viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy - actions:(nullable NSArray *)actions - linkSettings:(nullable DBSHARINGLinkSettings *)linkSettings; + shareFolder:(NSString *)path + aclUpdatePolicy:(nullable DBSHARINGAclUpdatePolicy *)aclUpdatePolicy + forceAsync:(nullable NSNumber *)forceAsync + memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy + sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy + viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(nullable DBSHARINGAccessInheritance *)accessInheritance + actions:(nullable NSArray *)actions + linkSettings:(nullable DBSHARINGLinkSettings *)linkSettings; /// /// Transfer ownership of a shared folder to a member of the shared folder. User must have `owner` in -/// `DBSHARINGAccessLevel` access to the shared folder to perform a transfer. Apps must have full Dropbox access to use -/// this endpoint. +/// `DBSHARINGAccessLevel` access to the shared folder to perform a transfer. /// /// @param sharedFolderId The ID for the shared folder. /// @param toDropboxId A account or team member ID to transfer ownership to. @@ -1042,7 +1044,6 @@ viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy /// /// The current user unmounts the designated folder. They can re-mount the folder at a later time using `mountFolder`. -/// Apps must have full Dropbox access to use this endpoint. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -1063,7 +1064,7 @@ viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy /// /// Allows a shared folder owner to unshare the folder. You'll need to call `checkJobStatus` to determine if the action -/// has completed successfully. Apps must have full Dropbox access to use this endpoint. +/// has completed successfully. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -1074,7 +1075,7 @@ viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy /// /// Allows a shared folder owner to unshare the folder. You'll need to call `checkJobStatus` to determine if the action -/// has completed successfully. Apps must have full Dropbox access to use this endpoint. +/// has completed successfully. /// /// @param sharedFolderId The ID for the shared folder. /// @param leaveACopy If true, members of this shared folder will get a copy of this folder after it's unshared. @@ -1089,18 +1090,20 @@ viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy /// /// Changes a member's access on a shared file. /// +/// @param file File for which we are changing a member's access. +/// @param member The member whose access we are changing. +/// @param accessLevel The new access level for the member. /// /// @return Through the response callback, the caller will receive a `DBSHARINGMemberAccessLevelResult` object on /// success or a `DBSHARINGFileMemberActionError` object on failure. /// - (DBRpcTask *) -updateFileMember:(NSString *)file - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel; + updateFileMember:(NSString *)file + member:(DBSHARINGMemberSelector *)member + accessLevel:(DBSHARINGAccessLevel *)accessLevel; /// -/// Allows an owner or editor of a shared folder to update another member's permissions. Apps must have full Dropbox -/// access to use this endpoint. +/// Allows an owner or editor of a shared folder to update another member's permissions. /// /// @param sharedFolderId The ID for the shared folder. /// @param member The member of the shared folder to update. Only the `dropboxId` in `DBSHARINGMemberSelector` may be @@ -1111,13 +1114,13 @@ updateFileMember:(NSString *)file /// success or a `DBSHARINGUpdateFolderMemberError` object on failure. /// - (DBRpcTask *) -updateFolderMember:(NSString *)sharedFolderId - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel; + updateFolderMember:(NSString *)sharedFolderId + member:(DBSHARINGMemberSelector *)member + accessLevel:(DBSHARINGAccessLevel *)accessLevel; /// /// Update the sharing policies for a shared folder. User must have `owner` in `DBSHARINGAccessLevel` access to the -/// shared folder to update its policies. Apps must have full Dropbox access to use this endpoint. +/// shared folder to update its policies. /// /// @param sharedFolderId The ID for the shared folder. /// @@ -1129,7 +1132,7 @@ updateFolderMember:(NSString *)sharedFolderId /// /// Update the sharing policies for a shared folder. User must have `owner` in `DBSHARINGAccessLevel` access to the -/// shared folder to update its policies. Apps must have full Dropbox access to use this endpoint. +/// shared folder to update its policies. /// /// @param sharedFolderId The ID for the shared folder. /// @param memberPolicy Who can be a member of this shared folder. Only applicable if the current user is on a team. @@ -1146,13 +1149,13 @@ updateFolderMember:(NSString *)sharedFolderId /// or a `DBSHARINGUpdateFolderPolicyError` object on failure. /// - (DBRpcTask *) -updateFolderPolicy:(NSString *)sharedFolderId - memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy - aclUpdatePolicy:(nullable DBSHARINGAclUpdatePolicy *)aclUpdatePolicy - viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy - sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy - linkSettings:(nullable DBSHARINGLinkSettings *)linkSettings - actions:(nullable NSArray *)actions; + updateFolderPolicy:(NSString *)sharedFolderId + memberPolicy:(nullable DBSHARINGMemberPolicy *)memberPolicy + aclUpdatePolicy:(nullable DBSHARINGAclUpdatePolicy *)aclUpdatePolicy + viewerInfoPolicy:(nullable DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + sharedLinkPolicy:(nullable DBSHARINGSharedLinkPolicy *)sharedLinkPolicy + linkSettings:(nullable DBSHARINGLinkSettings *)linkSettings + actions:(nullable NSArray *)actions; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.m index b7a9a1d08..ab1cdb487 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBSHARINGUserAuthRoutes.m @@ -12,6 +12,7 @@ #import "DBASYNCPollResultBase.h" #import "DBFILESLookupError.h" #import "DBRequestErrors.h" +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAclUpdatePolicy.h" #import "DBSHARINGAddFileMemberArgs.h" @@ -20,7 +21,6 @@ #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGAddMember.h" #import "DBSHARINGAddMemberSelectorError.h" -#import "DBSHARINGChangeFileMemberAccessArgs.h" #import "DBSHARINGCreateSharedLinkArg.h" #import "DBSHARINGCreateSharedLinkError.h" #import "DBSHARINGCreateSharedLinkWithSettingsArg.h" @@ -101,6 +101,8 @@ #import "DBSHARINGRevokeSharedLinkArg.h" #import "DBSHARINGRevokeSharedLinkError.h" #import "DBSHARINGRouteObjects.h" +#import "DBSHARINGSetAccessInheritanceArg.h" +#import "DBSHARINGSetAccessInheritanceError.h" #import "DBSHARINGShareFolderArg.h" #import "DBSHARINGShareFolderArgBase.h" #import "DBSHARINGShareFolderError.h" @@ -116,6 +118,7 @@ #import "DBSHARINGSharedFolderMembers.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBSHARINGSharedFolderMetadataBase.h" +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" #import "DBSHARINGSharedLinkError.h" #import "DBSHARINGSharedLinkMetadata.h" #import "DBSHARINGSharedLinkPolicy.h" @@ -196,15 +199,6 @@ - (DBRpcTask *)addFolderMember:(NSString *)sharedFolderId return [self.client requestRpc:route arg:arg]; } -- (DBRpcTask *)changeFileMemberAccess:(NSString *)file - member:(DBSHARINGMemberSelector *)member - accessLevel:(DBSHARINGAccessLevel *)accessLevel { - DBRoute *route = DBSHARINGRouteObjects.DBSHARINGChangeFileMemberAccess; - DBSHARINGChangeFileMemberAccessArgs *arg = - [[DBSHARINGChangeFileMemberAccessArgs alloc] initWithFile:file member:member accessLevel:accessLevel]; - return [self.client requestRpc:route arg:arg]; -} - - (DBRpcTask *)checkJobStatus:(NSString *)asyncJobId { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGCheckJobStatus; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; @@ -594,6 +588,22 @@ - (DBRpcTask *)revokeSharedLink:(NSString *)url { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)setAccessInheritance:(NSString *)sharedFolderId { + DBRoute *route = DBSHARINGRouteObjects.DBSHARINGSetAccessInheritance; + DBSHARINGSetAccessInheritanceArg *arg = + [[DBSHARINGSetAccessInheritanceArg alloc] initWithSharedFolderId:sharedFolderId]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)setAccessInheritance:(NSString *)sharedFolderId + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance { + DBRoute *route = DBSHARINGRouteObjects.DBSHARINGSetAccessInheritance; + DBSHARINGSetAccessInheritanceArg *arg = + [[DBSHARINGSetAccessInheritanceArg alloc] initWithSharedFolderId:sharedFolderId + accessInheritance:accessInheritance]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)shareFolder:(NSString *)path { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGShareFolder; DBSHARINGShareFolderArg *arg = [[DBSHARINGShareFolderArg alloc] initWithPath:path]; @@ -606,6 +616,7 @@ - (DBRpcTask *)shareFolder:(NSString *)path memberPolicy:(DBSHARINGMemberPolicy *)memberPolicy sharedLinkPolicy:(DBSHARINGSharedLinkPolicy *)sharedLinkPolicy viewerInfoPolicy:(DBSHARINGViewerInfoPolicy *)viewerInfoPolicy + accessInheritance:(DBSHARINGAccessInheritance *)accessInheritance actions:(NSArray *)actions linkSettings:(DBSHARINGLinkSettings *)linkSettings { DBRoute *route = DBSHARINGRouteObjects.DBSHARINGShareFolder; @@ -615,6 +626,7 @@ - (DBRpcTask *)shareFolder:(NSString *)path memberPolicy:memberPolicy sharedLinkPolicy:sharedLinkPolicy viewerInfoPolicy:viewerInfoPolicy + accessInheritance:accessInheritance actions:actions linkSettings:linkSettings]; return [self.client requestRpc:route arg:arg]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.h index 14912b3b0..73153e48d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.h @@ -11,6 +11,7 @@ @class DBNilObject; @class DBTEAMCOMMONTimeRange; @class DBTEAMLOGEventCategory; +@class DBTEAMLOGEventTypeArg; @class DBTEAMLOGGetTeamEventsContinueError; @class DBTEAMLOGGetTeamEventsError; @class DBTEAMLOGGetTeamEventsResult; @@ -35,7 +36,12 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(id)client; /// -/// Retrieves team events. Permission : Team Auditing. +/// Retrieves team events. If the result's `hasMore` in `DBTEAMLOGGetTeamEventsResult` field is true, call +/// `getEventsContinue` with the returned cursor to retrieve more entries. If end_time is not specified in your request, +/// you may use the returned cursor to poll `getEventsContinue` for new events. Many attributes note 'may be missing due +/// to historical data gap'. Note that the file_operations category and & analogous paper events are not available on +/// all Dropbox Business plans /business/plans-comparison. Use features/get_values +/// /developers/documentation/http/teams#team-features-get_values to check for this feature. Permission : Team Auditing. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMLOGGetTeamEventsResult` object on success or @@ -44,22 +50,33 @@ NS_ASSUME_NONNULL_BEGIN - (DBRpcTask *)getEvents; /// -/// Retrieves team events. Permission : Team Auditing. -/// -/// @param limit Number of results to return per call. -/// @param accountId Filter the events by account ID. Return ony events with this account_id as either Actor, Context, +/// Retrieves team events. If the result's `hasMore` in `DBTEAMLOGGetTeamEventsResult` field is true, call +/// `getEventsContinue` with the returned cursor to retrieve more entries. If end_time is not specified in your request, +/// you may use the returned cursor to poll `getEventsContinue` for new events. Many attributes note 'may be missing due +/// to historical data gap'. Note that the file_operations category and & analogous paper events are not available on +/// all Dropbox Business plans /business/plans-comparison. Use features/get_values +/// /developers/documentation/http/teams#team-features-get_values to check for this feature. Permission : Team Auditing. +/// +/// @param limit The maximal number of results to return per call. Note that some calls may not return limit number of +/// events, and may even return no events, even with `has_more` set to true. In this case, callers should fetch again +/// using `getEventsContinue`. +/// @param accountId Filter the events by account ID. Return only events with this account_id as either Actor, Context, /// or Participants. /// @param time Filter by time range. -/// @param category Filter the returned events to a single category. +/// @param category Filter the returned events to a single category. Note that category shouldn't be provided together +/// with event_type. +/// @param eventType Filter the returned events to a single event type. Note that event_type shouldn't be provided +/// together with category. /// /// @return Through the response callback, the caller will receive a `DBTEAMLOGGetTeamEventsResult` object on success or /// a `DBTEAMLOGGetTeamEventsError` object on failure. /// - (DBRpcTask *) -getEvents:(nullable NSNumber *)limit -accountId:(nullable NSString *)accountId - time:(nullable DBTEAMCOMMONTimeRange *)time - category:(nullable DBTEAMLOGEventCategory *)category; + getEvents:(nullable NSNumber *)limit + accountId:(nullable NSString *)accountId + time:(nullable DBTEAMCOMMONTimeRange *)time + category:(nullable DBTEAMLOGEventCategory *)category + eventType:(nullable DBTEAMLOGEventTypeArg *)eventType; /// /// Once a cursor has been retrieved from `getEvents`, use this to paginate through all events. Permission : Team diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.m index 91b2cc0e7..257b83d4b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMLOGTeamAuthRoutes.m @@ -9,6 +9,7 @@ #import "DBStoneBase.h" #import "DBTEAMCOMMONTimeRange.h" #import "DBTEAMLOGEventCategory.h" +#import "DBTEAMLOGEventTypeArg.h" #import "DBTEAMLOGGetTeamEventsArg.h" #import "DBTEAMLOGGetTeamEventsContinueArg.h" #import "DBTEAMLOGGetTeamEventsContinueError.h" @@ -37,10 +38,14 @@ - (DBRpcTask *)getEvents { - (DBRpcTask *)getEvents:(NSNumber *)limit accountId:(NSString *)accountId time:(DBTEAMCOMMONTimeRange *)time - category:(DBTEAMLOGEventCategory *)category { + category:(DBTEAMLOGEventCategory *)category + eventType:(DBTEAMLOGEventTypeArg *)eventType { DBRoute *route = DBTEAMLOGRouteObjects.DBTEAMLOGGetEvents; - DBTEAMLOGGetTeamEventsArg *arg = - [[DBTEAMLOGGetTeamEventsArg alloc] initWithLimit:limit accountId:accountId time:time category:category]; + DBTEAMLOGGetTeamEventsArg *arg = [[DBTEAMLOGGetTeamEventsArg alloc] initWithLimit:limit + accountId:accountId + time:time + category:category + eventType:eventType]; return [self.client requestRpc:route arg:arg]; } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.h index ff23498b8..e9cef4575 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.h @@ -8,6 +8,8 @@ #import "DBTasks.h" +@class DBACCOUNTPhotoSourceArg; +@class DBACCOUNTSetProfilePhotoError; @class DBASYNCLaunchEmptyResult; @class DBASYNCPollEmptyResult; @class DBASYNCPollError; @@ -19,8 +21,15 @@ @class DBFILEPROPERTIESPropertyType; @class DBFILEPROPERTIESTemplateError; @class DBFILEPROPERTIESUpdateTemplateResult; +@class DBFILESContentSyncSetting; +@class DBFILESContentSyncSettingArg; +@class DBFILESSyncSetting; +@class DBFILESSyncSettingArg; +@class DBFILESSyncSettingsError; @class DBNilObject; @class DBTEAMActiveWebSession; +@class DBTEAMAddSecondaryEmailsError; +@class DBTEAMAddSecondaryEmailsResult; @class DBTEAMAdminTier; @class DBTEAMApiApp; @class DBTEAMCOMMONGroupManagementType; @@ -28,6 +37,7 @@ @class DBTEAMCustomQuotaError; @class DBTEAMCustomQuotaResult; @class DBTEAMDateRangeError; +@class DBTEAMDeleteSecondaryEmailsResult; @class DBTEAMDesktopClientSession; @class DBTEAMDeviceSessionArg; @class DBTEAMDevicesActive; @@ -65,6 +75,17 @@ @class DBTEAMGroupsMembersListResult; @class DBTEAMGroupsPollError; @class DBTEAMGroupsSelector; +@class DBTEAMLegalHoldHeldRevisionMetadata; +@class DBTEAMLegalHoldPolicy; +@class DBTEAMLegalHoldStatus; +@class DBTEAMLegalHoldsGetPolicyError; +@class DBTEAMLegalHoldsListHeldRevisionResult; +@class DBTEAMLegalHoldsListHeldRevisionsError; +@class DBTEAMLegalHoldsListPoliciesError; +@class DBTEAMLegalHoldsListPoliciesResult; +@class DBTEAMLegalHoldsPolicyCreateError; +@class DBTEAMLegalHoldsPolicyReleaseError; +@class DBTEAMLegalHoldsPolicyUpdateError; @class DBTEAMListMemberAppsError; @class DBTEAMListMemberAppsResult; @class DBTEAMListMemberDevicesError; @@ -80,28 +101,43 @@ @class DBTEAMMemberAccess; @class DBTEAMMemberAddArg; @class DBTEAMMemberAddResult; +@class DBTEAMMemberAddV2Arg; +@class DBTEAMMemberAddV2Result; @class DBTEAMMemberDevices; @class DBTEAMMemberLinkedApps; @class DBTEAMMemberProfile; @class DBTEAMMembersAddJobStatus; +@class DBTEAMMembersAddJobStatusV2Result; @class DBTEAMMembersAddLaunch; +@class DBTEAMMembersAddLaunchV2Result; +@class DBTEAMMembersDeleteProfilePhotoError; +@class DBTEAMMembersGetAvailableTeamMemberRolesResult; @class DBTEAMMembersGetInfoError; @class DBTEAMMembersGetInfoItem; +@class DBTEAMMembersGetInfoItemV2; +@class DBTEAMMembersGetInfoV2Result; +@class DBTEAMMembersInfo; @class DBTEAMMembersListContinueError; @class DBTEAMMembersListError; @class DBTEAMMembersListResult; +@class DBTEAMMembersListV2Result; @class DBTEAMMembersRecoverError; @class DBTEAMMembersRemoveError; @class DBTEAMMembersSendWelcomeError; +@class DBTEAMMembersSetPermissions2Error; +@class DBTEAMMembersSetPermissions2Result; @class DBTEAMMembersSetPermissionsError; @class DBTEAMMembersSetPermissionsResult; @class DBTEAMMembersSetProfileError; +@class DBTEAMMembersSetProfilePhotoError; @class DBTEAMMembersSuspendError; +@class DBTEAMMembersTransferFormerMembersFilesError; @class DBTEAMMembersUnsuspendError; @class DBTEAMMobileClientSession; @class DBTEAMNamespaceMetadata; @class DBTEAMPOLICIESTeamMemberPolicies; @class DBTEAMRemoveCustomQuotaResult; +@class DBTEAMResendVerificationEmailResult; @class DBTEAMRevokeDesktopClientArg; @class DBTEAMRevokeDeviceSessionArg; @class DBTEAMRevokeDeviceSessionBatchError; @@ -114,6 +150,13 @@ @class DBTEAMRevokeLinkedAppError; @class DBTEAMRevokeLinkedAppStatus; @class DBTEAMSetCustomQuotaError; +@class DBTEAMSharingAllowlistAddError; +@class DBTEAMSharingAllowlistAddResponse; +@class DBTEAMSharingAllowlistListContinueError; +@class DBTEAMSharingAllowlistListError; +@class DBTEAMSharingAllowlistListResponse; +@class DBTEAMSharingAllowlistRemoveError; +@class DBTEAMSharingAllowlistRemoveResponse; @class DBTEAMStorageBucket; @class DBTEAMTeamFolderAccessError; @class DBTEAMTeamFolderActivateError; @@ -131,15 +174,24 @@ @class DBTEAMTeamFolderRenameError; @class DBTEAMTeamFolderStatus; @class DBTEAMTeamFolderTeamSharedDropboxError; +@class DBTEAMTeamFolderUpdateSyncSettingsError; @class DBTEAMTeamGetInfoResult; @class DBTEAMTeamMemberInfo; +@class DBTEAMTeamMemberInfoV2; +@class DBTEAMTeamMemberInfoV2Result; @class DBTEAMTeamMemberProfile; +@class DBTEAMTeamMemberRole; @class DBTEAMTeamNamespacesListContinueError; +@class DBTEAMTeamNamespacesListError; @class DBTEAMTeamNamespacesListResult; @class DBTEAMTokenGetAuthenticatedAdminError; @class DBTEAMTokenGetAuthenticatedAdminResult; +@class DBTEAMUserAddResult; @class DBTEAMUserCustomQuotaArg; @class DBTEAMUserCustomQuotaResult; +@class DBTEAMUserDeleteResult; +@class DBTEAMUserResendResult; +@class DBTEAMUserSecondaryEmailsArg; @class DBTEAMUserSelectorArg; @protocol DBTransportClient; @@ -183,13 +235,13 @@ NS_ASSUME_NONNULL_BEGIN /// or a `DBTEAMListMemberDevicesError` object on failure. /// - (DBRpcTask *) -devicesListMemberDevices:(NSString *)teamMemberId - includeWebSessions:(nullable NSNumber *)includeWebSessions - includeDesktopClients:(nullable NSNumber *)includeDesktopClients - includeMobileClients:(nullable NSNumber *)includeMobileClients; + devicesListMemberDevices:(NSString *)teamMemberId + includeWebSessions:(nullable NSNumber *)includeWebSessions + includeDesktopClients:(nullable NSNumber *)includeDesktopClients + includeMobileClients:(nullable NSNumber *)includeMobileClients; /// -/// List all device sessions of a team. +/// List all device sessions of a team. Permission : Team member file access. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMListMembersDevicesResult` object on success @@ -198,7 +250,7 @@ devicesListMemberDevices:(NSString *)teamMemberId - (DBRpcTask *)devicesListMembersDevices; /// -/// List all device sessions of a team. +/// List all device sessions of a team. Permission : Team member file access. /// /// @param cursor At the first call to the `devicesListMembersDevices` the cursor shouldn't be passed. Then, if the /// result of the call includes a cursor, the following requests should include the received cursors in order to receive @@ -211,23 +263,23 @@ devicesListMemberDevices:(NSString *)teamMemberId /// or a `DBTEAMListMembersDevicesError` object on failure. /// - (DBRpcTask *) -devicesListMembersDevices:(nullable NSString *)cursor - includeWebSessions:(nullable NSNumber *)includeWebSessions - includeDesktopClients:(nullable NSNumber *)includeDesktopClients - includeMobileClients:(nullable NSNumber *)includeMobileClients; + devicesListMembersDevices:(nullable NSString *)cursor + includeWebSessions:(nullable NSNumber *)includeWebSessions + includeDesktopClients:(nullable NSNumber *)includeDesktopClients + includeMobileClients:(nullable NSNumber *)includeMobileClients; /// -/// DEPRECATED: List all device sessions of a team. +/// DEPRECATED: List all device sessions of a team. Permission : Team member file access. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMListTeamDevicesResult` object on success or /// a `DBTEAMListTeamDevicesError` object on failure. /// -- (DBRpcTask *)devicesListTeamDevices - __deprecated_msg("devicesListTeamDevices is deprecated. Use devicesListMembersDevices."); +- (DBRpcTask *) + devicesListTeamDevices __deprecated_msg("devicesListTeamDevices is deprecated. Use devicesListMembersDevices."); /// -/// DEPRECATED: List all device sessions of a team. +/// DEPRECATED: List all device sessions of a team. Permission : Team member file access. /// /// @param cursor At the first call to the `devicesListTeamDevices` the cursor shouldn't be passed. Then, if the result /// of the call includes a cursor, the following requests should include the received cursors in order to receive the @@ -240,10 +292,10 @@ devicesListMembersDevices:(nullable NSString *)cursor /// a `DBTEAMListTeamDevicesError` object on failure. /// - (DBRpcTask *) -devicesListTeamDevices:(nullable NSString *)cursor - includeWebSessions:(nullable NSNumber *)includeWebSessions - includeDesktopClients:(nullable NSNumber *)includeDesktopClients - includeMobileClients:(nullable NSNumber *)includeMobileClients + devicesListTeamDevices:(nullable NSString *)cursor + includeWebSessions:(nullable NSNumber *)includeWebSessions + includeDesktopClients:(nullable NSNumber *)includeDesktopClients + includeMobileClients:(nullable NSNumber *)includeMobileClients __deprecated_msg("devicesListTeamDevices is deprecated. Use devicesListMembersDevices."); /// @@ -265,7 +317,7 @@ devicesListTeamDevices:(nullable NSString *)cursor /// success or a `DBTEAMRevokeDeviceSessionBatchError` object on failure. /// - (DBRpcTask *) -devicesRevokeDeviceSessionBatch:(NSArray *)revokeDevices; + devicesRevokeDeviceSessionBatch:(NSArray *)revokeDevices; /// /// Get the values for one or more featues. This route allows you to check your account's capability for what feature @@ -303,6 +355,7 @@ devicesRevokeDeviceSessionBatch:(NSArray *)revok /// Creates a new, empty group, with a requested name. Permission : Team member management. /// /// @param groupName Group name. +/// @param addCreatorAsOwner Automatically add the creator of the group. /// @param groupExternalId The creator of a team can associate an arbitrary external ID to the group. /// @param groupManagementType Whether the team can be managed by selected users, or only by team admins. /// @@ -310,9 +363,10 @@ devicesRevokeDeviceSessionBatch:(NSArray *)revok /// `DBTEAMGroupCreateError` object on failure. /// - (DBRpcTask *) - groupsCreate:(NSString *)groupName - groupExternalId:(nullable NSString *)groupExternalId -groupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)groupManagementType; + groupsCreate:(NSString *)groupName + addCreatorAsOwner:(nullable NSNumber *)addCreatorAsOwner + groupExternalId:(nullable NSString *)groupExternalId + groupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)groupManagementType; /// /// Deletes a group. The group is deleted immediately. However the revoking of group-owned resources may take additional @@ -393,8 +447,8 @@ groupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)groupManagementT /// or a `DBTEAMGroupMembersAddError` object on failure. /// - (DBRpcTask *) -groupsMembersAdd:(DBTEAMGroupSelector *)group - members:(NSArray *)members; + groupsMembersAdd:(DBTEAMGroupSelector *)group + members:(NSArray *)members; /// /// Adds members to a group. The members are added immediately. However the granting of group-owned resources may take @@ -408,9 +462,9 @@ groupsMembersAdd:(DBTEAMGroupSelector *)group /// or a `DBTEAMGroupMembersAddError` object on failure. /// - (DBRpcTask *) -groupsMembersAdd:(DBTEAMGroupSelector *)group - members:(NSArray *)members - returnMembers:(nullable NSNumber *)returnMembers; + groupsMembersAdd:(DBTEAMGroupSelector *)group + members:(NSArray *)members + returnMembers:(nullable NSNumber *)returnMembers; /// /// Lists members of a group. Permission : Team Information. @@ -433,8 +487,8 @@ groupsMembersAdd:(DBTEAMGroupSelector *)group /// or a `DBTEAMGroupSelectorError` object on failure. /// - (DBRpcTask *) -groupsMembersList:(DBTEAMGroupSelector *)group - limit:(nullable NSNumber *)limit; + groupsMembersList:(DBTEAMGroupSelector *)group + limit:(nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `groupsMembersList`, use this to paginate through all members of the group. @@ -461,8 +515,8 @@ groupsMembersList:(DBTEAMGroupSelector *)group /// or a `DBTEAMGroupMembersRemoveError` object on failure. /// - (DBRpcTask *) -groupsMembersRemove:(DBTEAMGroupSelector *)group - users:(NSArray *)users; + groupsMembersRemove:(DBTEAMGroupSelector *)group + users:(NSArray *)users; /// /// Removes members from a group. The members are removed immediately. However the revoking of group-owned resources may @@ -477,9 +531,9 @@ groupsMembersRemove:(DBTEAMGroupSelector *)group /// or a `DBTEAMGroupMembersRemoveError` object on failure. /// - (DBRpcTask *) -groupsMembersRemove:(DBTEAMGroupSelector *)group - users:(NSArray *)users - returnMembers:(nullable NSNumber *)returnMembers; + groupsMembersRemove:(DBTEAMGroupSelector *)group + users:(NSArray *)users + returnMembers:(nullable NSNumber *)returnMembers; /// /// Sets a member's access type in a group. Permission : Team member management. @@ -490,9 +544,9 @@ groupsMembersRemove:(DBTEAMGroupSelector *)group /// success or a `DBTEAMGroupMemberSetAccessTypeError` object on failure. /// - (DBRpcTask *, DBTEAMGroupMemberSetAccessTypeError *> *) -groupsMembersSetAccessType:(DBTEAMGroupSelector *)group - user:(DBTEAMUserSelectorArg *)user - accessType:(DBTEAMGroupAccessType *)accessType; + groupsMembersSetAccessType:(DBTEAMGroupSelector *)group + user:(DBTEAMUserSelectorArg *)user + accessType:(DBTEAMGroupAccessType *)accessType; /// /// Sets a member's access type in a group. Permission : Team member management. @@ -505,10 +559,10 @@ groupsMembersSetAccessType:(DBTEAMGroupSelector *)group /// success or a `DBTEAMGroupMemberSetAccessTypeError` object on failure. /// - (DBRpcTask *, DBTEAMGroupMemberSetAccessTypeError *> *) -groupsMembersSetAccessType:(DBTEAMGroupSelector *)group - user:(DBTEAMUserSelectorArg *)user - accessType:(DBTEAMGroupAccessType *)accessType - returnMembers:(nullable NSNumber *)returnMembers; + groupsMembersSetAccessType:(DBTEAMGroupSelector *)group + user:(DBTEAMUserSelectorArg *)user + accessType:(DBTEAMGroupAccessType *)accessType + returnMembers:(nullable NSNumber *)returnMembers; /// /// Updates a group's name and/or external ID. Permission : Team member management. @@ -533,11 +587,157 @@ groupsMembersSetAccessType:(DBTEAMGroupSelector *)group /// `DBTEAMGroupUpdateError` object on failure. /// - (DBRpcTask *) - groupsUpdate:(DBTEAMGroupSelector *)group - returnMembers:(nullable NSNumber *)returnMembers - dNewGroupName:(nullable NSString *)dNewGroupName - dNewGroupExternalId:(nullable NSString *)dNewGroupExternalId -dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupManagementType; + groupsUpdate:(DBTEAMGroupSelector *)group + returnMembers:(nullable NSNumber *)returnMembers + dNewGroupName:(nullable NSString *)dNewGroupName + dNewGroupExternalId:(nullable NSString *)dNewGroupExternalId + dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupManagementType; + +/// +/// Creates new legal hold policy. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// @param name Policy name. +/// @param members List of team member IDs added to the hold. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldPolicy` object on success or a +/// `DBTEAMLegalHoldsPolicyCreateError` object on failure. +/// +- (DBRpcTask *) + legalHoldsCreatePolicy:(NSString *)name + members:(NSArray *)members; + +/// +/// Creates new legal hold policy. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// @param name Policy name. +/// @param description_ A description of the legal hold policy. +/// @param members List of team member IDs added to the hold. +/// @param startDate start date of the legal hold policy. +/// @param endDate end date of the legal hold policy. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldPolicy` object on success or a +/// `DBTEAMLegalHoldsPolicyCreateError` object on failure. +/// +- (DBRpcTask *) + legalHoldsCreatePolicy:(NSString *)name + members:(NSArray *)members + description_:(nullable NSString *)description_ + startDate:(nullable NSDate *)startDate + endDate:(nullable NSDate *)endDate; + +/// +/// Gets a legal hold by Id. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// @param id_ The legal hold Id. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldPolicy` object on success or a +/// `DBTEAMLegalHoldsGetPolicyError` object on failure. +/// +- (DBRpcTask *)legalHoldsGetPolicy:(NSString *)id_; + +/// +/// List the file metadata that's under the hold. Note: Legal Holds is a paid add-on. Not all teams have the feature. +/// Permission : Team member file access. +/// +/// @param id_ The legal hold Id. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldsListHeldRevisionResult` object on +/// success or a `DBTEAMLegalHoldsListHeldRevisionsError` object on failure. +/// +- (DBRpcTask *) + legalHoldsListHeldRevisions:(NSString *)id_; + +/// +/// Continue listing the file metadata that's under the hold. Note: Legal Holds is a paid add-on. Not all teams have the +/// feature. Permission : Team member file access. +/// +/// @param id_ The legal hold Id. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldsListHeldRevisionResult` object on +/// success or a `DBTEAMLegalHoldsListHeldRevisionsError` object on failure. +/// +- (DBRpcTask *) + legalHoldsListHeldRevisionsContinue:(NSString *)id_; + +/// +/// Continue listing the file metadata that's under the hold. Note: Legal Holds is a paid add-on. Not all teams have the +/// feature. Permission : Team member file access. +/// +/// @param id_ The legal hold Id. +/// @param cursor The cursor idicates where to continue reading file metadata entries for the next API call. When there +/// are no more entries, the cursor will return none. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldsListHeldRevisionResult` object on +/// success or a `DBTEAMLegalHoldsListHeldRevisionsError` object on failure. +/// +- (DBRpcTask *) + legalHoldsListHeldRevisionsContinue:(NSString *)id_ + cursor:(nullable NSString *)cursor; + +/// +/// Lists legal holds on a team. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldsListPoliciesResult` object on +/// success or a `DBTEAMLegalHoldsListPoliciesError` object on failure. +/// +- (DBRpcTask *)legalHoldsListPolicies; + +/// +/// Lists legal holds on a team. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// @param includeReleased Whether to return holds that were released. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldsListPoliciesResult` object on +/// success or a `DBTEAMLegalHoldsListPoliciesError` object on failure. +/// +- (DBRpcTask *)legalHoldsListPolicies: + (nullable NSNumber *)includeReleased; + +/// +/// Releases a legal hold by Id. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team +/// member file access. +/// +/// @param id_ The legal hold Id. +/// +/// @return Through the response callback, the caller will receive a `void` object on success or a +/// `DBTEAMLegalHoldsPolicyReleaseError` object on failure. +/// +- (DBRpcTask *)legalHoldsReleasePolicy:(NSString *)id_; + +/// +/// Updates a legal hold. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team member +/// file access. +/// +/// @param id_ The legal hold Id. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldPolicy` object on success or a +/// `DBTEAMLegalHoldsPolicyUpdateError` object on failure. +/// +- (DBRpcTask *)legalHoldsUpdatePolicy:(NSString *)id_; + +/// +/// Updates a legal hold. Note: Legal Holds is a paid add-on. Not all teams have the feature. Permission : Team member +/// file access. +/// +/// @param id_ The legal hold Id. +/// @param name Policy new name. +/// @param description_ Policy new description. +/// @param members List of team member IDs to apply the policy on. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMLegalHoldPolicy` object on success or a +/// `DBTEAMLegalHoldsPolicyUpdateError` object on failure. +/// +- (DBRpcTask *) + legalHoldsUpdatePolicy:(NSString *)id_ + name:(nullable NSString *)name + description_:(nullable NSString *)description_ + members:(nullable NSArray *)members; /// /// List all linked applications of the team member. Note, this endpoint does not list any team-linked applications. @@ -582,8 +782,8 @@ dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupMan /// @return Through the response callback, the caller will receive a `DBTEAMListTeamAppsResult` object on success or a /// `DBTEAMListTeamAppsError` object on failure. /// -- (DBRpcTask *)linkedAppsListTeamLinkedApps - __deprecated_msg("linkedAppsListTeamLinkedApps is deprecated. Use linkedAppsListMembersLinkedApps."); +- (DBRpcTask *)linkedAppsListTeamLinkedApps __deprecated_msg( + "linkedAppsListTeamLinkedApps is deprecated. Use linkedAppsListMembersLinkedApps."); /// /// DEPRECATED: List all applications linked to the team members' accounts. Note, this endpoint doesn't list any @@ -617,7 +817,8 @@ dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupMan /// /// @param appId The application's unique id. /// @param teamMemberId The unique id of the member owning the device. -/// @param keepAppFolder Whether to keep the application dedicated folder (in case the application uses one). +/// @param keepAppFolder This flag is not longer supported, the application dedicated folder (in case the application +/// uses one) will be kept. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMRevokeLinkedAppError` object on failure. @@ -686,7 +887,7 @@ dNewGroupManagementType:(nullable DBTEAMCOMMONGroupManagementType *)dNewGroupMan /// or a `DBTEAMExcludedUsersListContinueError` object on failure. /// - (DBRpcTask *) -memberSpaceLimitsExcludedUsersListContinue:(NSString *)cursor; + memberSpaceLimitsExcludedUsersListContinue:(NSString *)cursor; /// /// Remove users from member space limits excluded users list. @@ -707,11 +908,12 @@ memberSpaceLimitsExcludedUsersListContinue:(NSString *)cursor; /// or a `DBTEAMExcludedUsersUpdateError` object on failure. /// - (DBRpcTask *) -memberSpaceLimitsExcludedUsersRemove:(nullable NSArray *)users; + memberSpaceLimitsExcludedUsersRemove:(nullable NSArray *)users; /// -/// Get users custom quota. Returns none as the custom quota if none was set. A maximum of 1000 members can be specified -/// in a single call. +/// Get users custom quota. A maximum of 1000 members can be specified in a single call. Note: to apply a custom space +/// limit, a team admin needs to set a member space limit for the team first. (the team admin can check the settings +/// here: https://www.dropbox.com/team/admin/settings/space). /// /// @param users List of users. /// @@ -722,7 +924,9 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray (NSArray *)users; /// -/// Remove users custom quota. A maximum of 1000 members can be specified in a single call. +/// Remove users custom quota. A maximum of 1000 members can be specified in a single call. Note: to apply a custom +/// space limit, a team admin needs to set a member space limit for the team first. (the team admin can check the +/// settings here: https://www.dropbox.com/team/admin/settings/space). /// /// @param users List of users. /// @@ -734,7 +938,8 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// /// Set users custom quota. Custom quota has to be at least 15GB. A maximum of 1000 members can be specified in a single -/// call. +/// call. Note: to apply a custom space limit, a team admin needs to set a member space limit for the team first. (the +/// team admin can check the settings here: https://www.dropbox.com/team/admin/settings/space). /// /// @param usersAndQuotas List of users and their custom quotas. /// @@ -770,7 +975,6 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// as team member' actions taken on the user before they become 'active'. /// /// @param dNewMembers Details of new members to be added to the team. -/// @param forceAsync Whether to force the add to happen asynchronously. /// /// @return Through the response callback, the caller will receive a `DBTEAMMembersAddLaunch` object on success or a /// `void` object on failure. @@ -778,6 +982,41 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray - (DBRpcTask *)membersAdd:(NSArray *)dNewMembers forceAsync:(nullable NSNumber *)forceAsync; +/// +/// Adds members to a team. Permission : Team member management A maximum of 20 members can be specified in a single +/// call. If no Dropbox account exists with the email address specified, a new Dropbox account will be created with the +/// given email address, and that account will be invited to the team. If a personal Dropbox account exists with the +/// email address specified in the call, this call will create a placeholder Dropbox account for the user on the team +/// and send an email inviting the user to migrate their existing personal account onto the team. Team member management +/// apps are required to set an initial given_name and surname for a user to use in the team invitation and for 'Perform +/// as team member' actions taken on the user before they become 'active'. +/// +/// @param dNewMembers Details of new members to be added to the team. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersAddLaunchV2Result` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)membersAddV2: + (NSArray *)dNewMembers; + +/// +/// Adds members to a team. Permission : Team member management A maximum of 20 members can be specified in a single +/// call. If no Dropbox account exists with the email address specified, a new Dropbox account will be created with the +/// given email address, and that account will be invited to the team. If a personal Dropbox account exists with the +/// email address specified in the call, this call will create a placeholder Dropbox account for the user on the team +/// and send an email inviting the user to migrate their existing personal account onto the team. Team member management +/// apps are required to set an initial given_name and surname for a user to use in the team invitation and for 'Perform +/// as team member' actions taken on the user before they become 'active'. +/// +/// @param dNewMembers Details of new members to be added to the team. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersAddLaunchV2Result` object on success +/// or a `void` object on failure. +/// +- (DBRpcTask *)membersAddV2: + (NSArray *)dNewMembers + forceAsync:(nullable NSNumber *)forceAsync; + /// /// Once an async_job_id is returned from `membersAdd` , use this to poll the status of the asynchronous request. /// Permission : Team member management. @@ -790,6 +1029,50 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// - (DBRpcTask *)membersAddJobStatusGet:(NSString *)asyncJobId; +/// +/// Once an async_job_id is returned from `membersAdd` , use this to poll the status of the asynchronous request. +/// Permission : Team member management. +/// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersAddJobStatusV2Result` object on +/// success or a `DBASYNCPollError` object on failure. +/// +- (DBRpcTask *)membersAddJobStatusGetV2:(NSString *)asyncJobId; + +/// +/// Deletes a team member's profile photo. Permission : Team member management. +/// +/// @param user Identity of the user whose profile photo will be deleted. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfo` object on success or a +/// `DBTEAMMembersDeleteProfilePhotoError` object on failure. +/// +- (DBRpcTask *)membersDeleteProfilePhoto: + (DBTEAMUserSelectorArg *)user; + +/// +/// Deletes a team member's profile photo. Permission : Team member management. +/// +/// @param user Identity of the user whose profile photo will be deleted. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfoV2Result` object on success or +/// a `DBTEAMMembersDeleteProfilePhotoError` object on failure. +/// +- (DBRpcTask *)membersDeleteProfilePhotoV2: + (DBTEAMUserSelectorArg *)user; + +/// +/// Get available TeamMemberRoles for the connected team. To be used with `membersSetAdminPermissions`. Permission : +/// Team member management. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersGetAvailableTeamMemberRolesResult` +/// object on success or a `void` object on failure. +/// +- (DBRpcTask *)membersGetAvailableTeamMemberRoles; + /// /// Returns information about multiple team members. Permission : Team information This endpoint will return /// `idNotFound` in `DBTEAMMembersGetInfoItem`, for IDs (or emails) that cannot be matched to a valid team member. @@ -802,6 +1085,18 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray - (DBRpcTask *, DBTEAMMembersGetInfoError *> *)membersGetInfo: (NSArray *)members; +/// +/// Returns information about multiple team members. Permission : Team information This endpoint will return +/// `idNotFound` in `DBTEAMMembersGetInfoItem`, for IDs (or emails) that cannot be matched to a valid team member. +/// +/// @param members List of team members. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersGetInfoV2Result` object on success or +/// a `DBTEAMMembersGetInfoError` object on failure. +/// +- (DBRpcTask *)membersGetInfoV2: + (NSArray *)members; + /// /// Lists members of a team. Permission : Team information. /// @@ -823,6 +1118,27 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray - (DBRpcTask *)membersList:(nullable NSNumber *)limit includeRemoved:(nullable NSNumber *)includeRemoved; +/// +/// Lists members of a team. Permission : Team information. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersListV2Result` object on success or a +/// `DBTEAMMembersListError` object on failure. +/// +- (DBRpcTask *)membersListV2; + +/// +/// Lists members of a team. Permission : Team information. +/// +/// @param limit Number of results to return per call. +/// @param includeRemoved Whether to return removed members. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersListV2Result` object on success or a +/// `DBTEAMMembersListError` object on failure. +/// +- (DBRpcTask *)membersListV2:(nullable NSNumber *)limit + includeRemoved:(nullable NSNumber *)includeRemoved; + /// /// Once a cursor has been retrieved from `membersList`, use this to paginate through all team members. Permission : /// Team information. @@ -834,6 +1150,46 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// - (DBRpcTask *)membersListContinue:(NSString *)cursor; +/// +/// Once a cursor has been retrieved from `membersList`, use this to paginate through all team members. Permission : +/// Team information. +/// +/// @param cursor Indicates from what point to get the next set of members. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersListV2Result` object on success or a +/// `DBTEAMMembersListContinueError` object on failure. +/// +- (DBRpcTask *)membersListContinueV2:(NSString *)cursor; + +/// +/// Moves removed member's files to a different member. This endpoint initiates an asynchronous job. To obtain the final +/// result of the job, the client should periodically poll `membersMoveFormerMemberFilesJobStatusCheck`. Permission : +/// Team member management. +/// +/// @param transferDestId Files from the deleted member account will be transferred to this user. +/// @param transferAdminId Errors during the transfer process will be sent via email to this user. +/// +/// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a +/// `DBTEAMMembersTransferFormerMembersFilesError` object on failure. +/// +- (DBRpcTask *) + membersMoveFormerMemberFiles:(DBTEAMUserSelectorArg *)user + transferDestId:(DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId; + +/// +/// Once an async_job_id is returned from `membersMoveFormerMemberFiles` , use this to poll the status of the +/// asynchronous request. Permission : Team member management. +/// +/// @param asyncJobId Id of the asynchronous job. This is the value of a response returned from the method that launched +/// the job. +/// +/// @return Through the response callback, the caller will receive a `DBASYNCPollEmptyResult` object on success or a +/// `DBASYNCPollError` object on failure. +/// +- (DBRpcTask *)membersMoveFormerMemberFilesJobStatusCheck: + (NSString *)asyncJobId; + /// /// Recover a deleted member. Permission : Team member management Exactly one of team_member_id, email, or external_id /// must be provided to identify the user account. @@ -851,7 +1207,7 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// day period or until the account has been permanently deleted or transferred to another account (whichever comes /// first). Calling `membersAdd` while a user is still recoverable on your team will return with `userAlreadyOnTeam` in /// `DBTEAMMemberAddResult`. Accounts can have their files transferred via the admin console for a limited time, based -/// on the version history length associated with the team (120 days for most teams). This endpoint may initiate an +/// on the version history length associated with the team (180 days for most teams). This endpoint may initiate an /// asynchronous job. To obtain the final result of the job, the client should periodically poll /// `membersRemoveJobStatusGet`. /// @@ -867,7 +1223,7 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// day period or until the account has been permanently deleted or transferred to another account (whichever comes /// first). Calling `membersAdd` while a user is still recoverable on your team will return with `userAlreadyOnTeam` in /// `DBTEAMMemberAddResult`. Accounts can have their files transferred via the admin console for a limited time, based -/// on the version history length associated with the team (120 days for most teams). This endpoint may initiate an +/// on the version history length associated with the team (180 days for most teams). This endpoint may initiate an /// asynchronous job. To obtain the final result of the job, the client should periodically poll /// `membersRemoveJobStatusGet`. /// @@ -876,17 +1232,22 @@ memberSpaceLimitsExcludedUsersRemove:(nullable NSArray /// transfer_dest_id argument was provided, then this argument must be provided as well. /// @param keepAccount Downgrade the member to a Basic account. The user will retain the email address associated with /// their Dropbox account and data in their account that is not restricted to team members. In order to keep the -/// account the argument wipe_data should be set to False. +/// account the argument wipeData should be set to false. +/// @param retainTeamShares If provided, allows removed users to keep access to Dropbox folders (not Dropbox Paper +/// folders) already explicitly shared with them (not via a group) when they are downgraded to a Basic account. Users +/// will not retain access to folders that do not allow external sharing. In order to keep the sharing relationships, +/// the arguments wipeData should be set to false and keepAccount should be set to true. /// /// @return Through the response callback, the caller will receive a `DBASYNCLaunchEmptyResult` object on success or a /// `DBTEAMMembersRemoveError` object on failure. /// - (DBRpcTask *) - membersRemove:(DBTEAMUserSelectorArg *)user - wipeData:(nullable NSNumber *)wipeData - transferDestId:(nullable DBTEAMUserSelectorArg *)transferDestId -transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId - keepAccount:(nullable NSNumber *)keepAccount; + membersRemove:(DBTEAMUserSelectorArg *)user + wipeData:(nullable NSNumber *)wipeData + transferDestId:(nullable DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId + keepAccount:(nullable NSNumber *)keepAccount + retainTeamShares:(nullable NSNumber *)retainTeamShares; /// /// Once an async_job_id is returned from `membersRemove` , use this to poll the status of the asynchronous request. @@ -900,6 +1261,41 @@ transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId /// - (DBRpcTask *)membersRemoveJobStatusGet:(NSString *)asyncJobId; +/// +/// Add secondary emails to users. Permission : Team member management. Emails that are on verified domains will be +/// verified automatically. For each email address not on a verified domain a verification email will be sent. +/// +/// @param dNewSecondaryEmails List of users and secondary emails to add. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMAddSecondaryEmailsResult` object on success +/// or a `DBTEAMAddSecondaryEmailsError` object on failure. +/// +- (DBRpcTask *)membersSecondaryEmailsAdd: + (NSArray *)dNewSecondaryEmails; + +/// +/// Delete secondary emails from users Permission : Team member management. Users will be notified of deletions of +/// verified secondary emails at both the secondary email and their primary email. +/// +/// @param emailsToDelete List of users and their secondary emails to delete. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMDeleteSecondaryEmailsResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *)membersSecondaryEmailsDelete: + (NSArray *)emailsToDelete; + +/// +/// Resend secondary email verification emails. Permission : Team member management. +/// +/// @param emailsToResend List of users and secondary emails to resend verification emails to. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMResendVerificationEmailResult` object on +/// success or a `void` object on failure. +/// +- (DBRpcTask *)membersSecondaryEmailsResendVerificationEmails: + (NSArray *)emailsToResend; + /// /// Sends welcome email to pending team member. Permission : Team member management Exactly one of team_member_id, /// email, or external_id must be provided to identify the user account. No-op if team member is not pending. @@ -922,8 +1318,33 @@ transferAdminId:(nullable DBTEAMUserSelectorArg *)transferAdminId /// success or a `DBTEAMMembersSetPermissionsError` object on failure. /// - (DBRpcTask *) -membersSetAdminPermissions:(DBTEAMUserSelectorArg *)user - dNewRole:(DBTEAMAdminTier *)dNewRole; + membersSetAdminPermissions:(DBTEAMUserSelectorArg *)user + dNewRole:(DBTEAMAdminTier *)dNewRole; + +/// +/// Updates a team member's permissions. Permission : Team member management. +/// +/// @param user Identity of user whose role will be set. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersSetPermissions2Result` object on +/// success or a `DBTEAMMembersSetPermissions2Error` object on failure. +/// +- (DBRpcTask *)membersSetAdminPermissionsV2: + (DBTEAMUserSelectorArg *)user; + +/// +/// Updates a team member's permissions. Permission : Team member management. +/// +/// @param user Identity of user whose role will be set. +/// @param dNewRoles The new roles for the member. Send empty list to make user member only. For now, only up to one +/// role is allowed. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMMembersSetPermissions2Result` object on +/// success or a `DBTEAMMembersSetPermissions2Error` object on failure. +/// +- (DBRpcTask *) + membersSetAdminPermissionsV2:(DBTEAMUserSelectorArg *)user + dNewRoles:(nullable NSArray *)dNewRoles; /// /// Updates a team member's profile. Permission : Team member management. @@ -945,23 +1366,85 @@ membersSetAdminPermissions:(DBTEAMUserSelectorArg *)user /// @param dNewSurname New surname for member. /// @param dNewPersistentId New persistent ID. This field only available to teams using persistent ID SAML /// configuration. +/// @param dNewIsDirectoryRestricted New value for whether the user is a directory restricted user. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfo` object on success or a /// `DBTEAMMembersSetProfileError` object on failure. /// - (DBRpcTask *) -membersSetProfile:(DBTEAMUserSelectorArg *)user - dNewEmail:(nullable NSString *)dNewEmail - dNewExternalId:(nullable NSString *)dNewExternalId - dNewGivenName:(nullable NSString *)dNewGivenName - dNewSurname:(nullable NSString *)dNewSurname - dNewPersistentId:(nullable NSString *)dNewPersistentId; + membersSetProfile:(DBTEAMUserSelectorArg *)user + dNewEmail:(nullable NSString *)dNewEmail + dNewExternalId:(nullable NSString *)dNewExternalId + dNewGivenName:(nullable NSString *)dNewGivenName + dNewSurname:(nullable NSString *)dNewSurname + dNewPersistentId:(nullable NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(nullable NSNumber *)dNewIsDirectoryRestricted; + +/// +/// Updates a team member's profile. Permission : Team member management. +/// +/// @param user Identity of user whose profile will be set. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfoV2Result` object on success or +/// a `DBTEAMMembersSetProfileError` object on failure. +/// +- (DBRpcTask *)membersSetProfileV2: + (DBTEAMUserSelectorArg *)user; + +/// +/// Updates a team member's profile. Permission : Team member management. +/// +/// @param user Identity of user whose profile will be set. +/// @param dNewEmail New email for member. +/// @param dNewExternalId New external ID for member. +/// @param dNewGivenName New given name for member. +/// @param dNewSurname New surname for member. +/// @param dNewPersistentId New persistent ID. This field only available to teams using persistent ID SAML +/// configuration. +/// @param dNewIsDirectoryRestricted New value for whether the user is a directory restricted user. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfoV2Result` object on success or +/// a `DBTEAMMembersSetProfileError` object on failure. +/// +- (DBRpcTask *) + membersSetProfileV2:(DBTEAMUserSelectorArg *)user + dNewEmail:(nullable NSString *)dNewEmail + dNewExternalId:(nullable NSString *)dNewExternalId + dNewGivenName:(nullable NSString *)dNewGivenName + dNewSurname:(nullable NSString *)dNewSurname + dNewPersistentId:(nullable NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(nullable NSNumber *)dNewIsDirectoryRestricted; + +/// +/// Updates a team member's profile photo. Permission : Team member management. +/// +/// @param user Identity of the user whose profile photo will be set. +/// @param photo Image to set as the member's new profile photo. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfo` object on success or a +/// `DBTEAMMembersSetProfilePhotoError` object on failure. +/// +- (DBRpcTask *) + membersSetProfilePhoto:(DBTEAMUserSelectorArg *)user + photo:(DBACCOUNTPhotoSourceArg *)photo; + +/// +/// Updates a team member's profile photo. Permission : Team member management. +/// +/// @param user Identity of the user whose profile photo will be set. +/// @param photo Image to set as the member's new profile photo. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamMemberInfoV2Result` object on success or +/// a `DBTEAMMembersSetProfilePhotoError` object on failure. +/// +- (DBRpcTask *) + membersSetProfilePhotoV2:(DBTEAMUserSelectorArg *)user + photo:(DBACCOUNTPhotoSourceArg *)photo; /// /// Suspend a member from a team. Permission : Team member management Exactly one of team_member_id, email, or /// external_id must be provided to identify the user account. /// -/// @param user Identity of user to remove/suspend. /// /// @return Through the response callback, the caller will receive a `void` object on success or a /// `DBTEAMMembersSuspendError` object on failure. @@ -972,7 +1455,6 @@ membersSetProfile:(DBTEAMUserSelectorArg *)user /// Suspend a member from a team. Permission : Team member management Exactly one of team_member_id, email, or /// external_id must be provided to identify the user account. /// -/// @param user Identity of user to remove/suspend. /// @param wipeData If provided, controls if the user's data will be deleted on their linked devices. /// /// @return Through the response callback, the caller will receive a `void` object on success or a @@ -1000,9 +1482,9 @@ membersSetProfile:(DBTEAMUserSelectorArg *)user /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamNamespacesListResult` object on success -/// or a `void` object on failure. +/// or a `DBTEAMTeamNamespacesListError` object on failure. /// -- (DBRpcTask *)namespacesList; +- (DBRpcTask *)namespacesList; /// /// Returns a list of all team-accessible namespaces. This list includes team folders, shared folders containing team @@ -1013,9 +1495,10 @@ membersSetProfile:(DBTEAMUserSelectorArg *)user /// @param limit Specifying a value here has no effect. /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamNamespacesListResult` object on success -/// or a `void` object on failure. +/// or a `DBTEAMTeamNamespacesListError` object on failure. /// -- (DBRpcTask *)namespacesList:(nullable NSNumber *)limit; +- (DBRpcTask *)namespacesList: + (nullable NSNumber *)limit; /// /// Once a cursor has been retrieved from `namespacesList`, use this to paginate through all team-accessible namespaces. @@ -1030,20 +1513,20 @@ membersSetProfile:(DBTEAMUserSelectorArg *)user (NSString *)cursor; /// -/// DEPRECATED: The propertiesTemplateAdd route +/// DEPRECATED: Permission : Team member file access. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESAddTemplateResult` object on /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -propertiesTemplateAdd:(NSString *)name - description_:(NSString *)description_ - fields:(NSArray *)fields + propertiesTemplateAdd:(NSString *)name + description_:(NSString *)description_ + fields:(NSArray *)fields __deprecated_msg("propertiesTemplateAdd is deprecated."); /// -/// DEPRECATED: The propertiesTemplateGet route +/// DEPRECATED: Permission : Team member file access. The scope for the route is files.team_metadata.write. /// /// @param templateId An identifier for template added by route See `templatesAddForUser` or `templatesAddForTeam`. /// @@ -1054,17 +1537,17 @@ propertiesTemplateAdd:(NSString *)name (NSString *)templateId __deprecated_msg("propertiesTemplateGet is deprecated."); /// -/// DEPRECATED: The propertiesTemplateList route +/// DEPRECATED: Permission : Team member file access. The scope for the route is files.team_metadata.write. /// /// /// @return Through the response callback, the caller will receive a `DBFILEPROPERTIESListTemplateResult` object on /// success or a `DBFILEPROPERTIESTemplateError` object on failure. /// -- (DBRpcTask *)propertiesTemplateList - __deprecated_msg("propertiesTemplateList is deprecated."); +- (DBRpcTask *) + propertiesTemplateList __deprecated_msg("propertiesTemplateList is deprecated."); /// -/// DEPRECATED: The propertiesTemplateUpdate route +/// DEPRECATED: Permission : Team member file access. /// /// @param templateId An identifier for template added by See `templatesAddForUser` or `templatesAddForTeam`. /// @@ -1075,7 +1558,7 @@ propertiesTemplateAdd:(NSString *)name (NSString *)templateId __deprecated_msg("propertiesTemplateUpdate is deprecated."); /// -/// DEPRECATED: The propertiesTemplateUpdate route +/// DEPRECATED: Permission : Team member file access. /// /// @param templateId An identifier for template added by See `templatesAddForUser` or `templatesAddForTeam`. /// @param name A display name for the template. template names can be up to 256 bytes. @@ -1087,95 +1570,194 @@ propertiesTemplateAdd:(NSString *)name /// success or a `DBFILEPROPERTIESModifyTemplateError` object on failure. /// - (DBRpcTask *) -propertiesTemplateUpdate:(NSString *)templateId - name:(nullable NSString *)name - description_:(nullable NSString *)description_ - addFields:(nullable NSArray *)addFields + propertiesTemplateUpdate:(NSString *)templateId + name:(nullable NSString *)name + description_:(nullable NSString *)description_ + addFields:(nullable NSArray *)addFields __deprecated_msg("propertiesTemplateUpdate is deprecated."); /// -/// Retrieves reporting data about a team's user activity. +/// DEPRECATED: Retrieves reporting data about a team's user activity. Deprecated: Will be removed on July 1st 2021. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMGetActivityReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// -- (DBRpcTask *)reportsGetActivity; +- (DBRpcTask *) + reportsGetActivity __deprecated_msg("reportsGetActivity is deprecated."); /// -/// Retrieves reporting data about a team's user activity. +/// DEPRECATED: Retrieves reporting data about a team's user activity. Deprecated: Will be removed on July 1st 2021. /// -/// @param startDate Optional starting date (inclusive). +/// @param startDate Optional starting date (inclusive). If start_date is None or too long ago, this field will be set +/// to 6 months ago. /// @param endDate Optional ending date (exclusive). /// /// @return Through the response callback, the caller will receive a `DBTEAMGetActivityReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// - (DBRpcTask *)reportsGetActivity:(nullable NSDate *)startDate - endDate:(nullable NSDate *)endDate; + endDate:(nullable NSDate *)endDate + __deprecated_msg("reportsGetActivity is deprecated."); /// -/// Retrieves reporting data about a team's linked devices. +/// DEPRECATED: Retrieves reporting data about a team's linked devices. Deprecated: Will be removed on July 1st 2021. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMGetDevicesReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// -- (DBRpcTask *)reportsGetDevices; +- (DBRpcTask *)reportsGetDevices __deprecated_msg("reportsGetDevices " + "is deprecated."); /// -/// Retrieves reporting data about a team's linked devices. +/// DEPRECATED: Retrieves reporting data about a team's linked devices. Deprecated: Will be removed on July 1st 2021. /// -/// @param startDate Optional starting date (inclusive). +/// @param startDate Optional starting date (inclusive). If start_date is None or too long ago, this field will be set +/// to 6 months ago. /// @param endDate Optional ending date (exclusive). /// /// @return Through the response callback, the caller will receive a `DBTEAMGetDevicesReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// - (DBRpcTask *)reportsGetDevices:(nullable NSDate *)startDate - endDate:(nullable NSDate *)endDate; + endDate:(nullable NSDate *)endDate + __deprecated_msg("reportsGetDevices is deprecated."); /// -/// Retrieves reporting data about a team's membership. +/// DEPRECATED: Retrieves reporting data about a team's membership. Deprecated: Will be removed on July 1st 2021. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMGetMembershipReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// -- (DBRpcTask *)reportsGetMembership; +- (DBRpcTask *) + reportsGetMembership __deprecated_msg("reportsGetMembership is deprecated."); /// -/// Retrieves reporting data about a team's membership. +/// DEPRECATED: Retrieves reporting data about a team's membership. Deprecated: Will be removed on July 1st 2021. /// -/// @param startDate Optional starting date (inclusive). +/// @param startDate Optional starting date (inclusive). If start_date is None or too long ago, this field will be set +/// to 6 months ago. /// @param endDate Optional ending date (exclusive). /// /// @return Through the response callback, the caller will receive a `DBTEAMGetMembershipReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// - (DBRpcTask *)reportsGetMembership:(nullable NSDate *)startDate - endDate:(nullable NSDate *)endDate; + endDate:(nullable NSDate *)endDate + __deprecated_msg("reportsGetMembership is deprecated."); /// -/// Retrieves reporting data about a team's storage usage. +/// DEPRECATED: Retrieves reporting data about a team's storage usage. Deprecated: Will be removed on July 1st 2021. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMGetStorageReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// -- (DBRpcTask *)reportsGetStorage; +- (DBRpcTask *)reportsGetStorage __deprecated_msg("reportsGetStorage " + "is deprecated."); /// -/// Retrieves reporting data about a team's storage usage. +/// DEPRECATED: Retrieves reporting data about a team's storage usage. Deprecated: Will be removed on July 1st 2021. /// -/// @param startDate Optional starting date (inclusive). +/// @param startDate Optional starting date (inclusive). If start_date is None or too long ago, this field will be set +/// to 6 months ago. /// @param endDate Optional ending date (exclusive). /// /// @return Through the response callback, the caller will receive a `DBTEAMGetStorageReport` object on success or a /// `DBTEAMDateRangeError` object on failure. /// - (DBRpcTask *)reportsGetStorage:(nullable NSDate *)startDate - endDate:(nullable NSDate *)endDate; + endDate:(nullable NSDate *)endDate + __deprecated_msg("reportsGetStorage is deprecated."); + +/// +/// Endpoint adds Approve List entries. Changes are effective immediately. Changes are committed in transaction. In case +/// of single validation error - all entries are rejected. Valid domains (RFC-1034/5) and emails (RFC-5322/822) are +/// accepted. Added entries cannot overflow limit of 10000 entries per team. Maximum 100 entries per call is allowed. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistAddResponse` object on +/// success or a `DBTEAMSharingAllowlistAddError` object on failure. +/// +- (DBRpcTask *)sharingAllowlistAdd; + +/// +/// Endpoint adds Approve List entries. Changes are effective immediately. Changes are committed in transaction. In case +/// of single validation error - all entries are rejected. Valid domains (RFC-1034/5) and emails (RFC-5322/822) are +/// accepted. Added entries cannot overflow limit of 10000 entries per team. Maximum 100 entries per call is allowed. +/// +/// @param domains List of domains represented by valid string representation (RFC-1034/5). +/// @param emails List of emails represented by valid string representation (RFC-5322/822). +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistAddResponse` object on +/// success or a `DBTEAMSharingAllowlistAddError` object on failure. +/// +- (DBRpcTask *) + sharingAllowlistAdd:(nullable NSArray *)domains + emails:(nullable NSArray *)emails; + +/// +/// Lists Approve List entries for given team, from newest to oldest, returning up to `limit` entries at a time. If +/// there are more than `limit` entries associated with the current team, more can be fetched by passing the returned +/// `cursor` to `sharingAllowlistListContinue`. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistListResponse` object on +/// success or a `DBTEAMSharingAllowlistListError` object on failure. +/// +- (DBRpcTask *)sharingAllowlistList; + +/// +/// Lists Approve List entries for given team, from newest to oldest, returning up to `limit` entries at a time. If +/// there are more than `limit` entries associated with the current team, more can be fetched by passing the returned +/// `cursor` to `sharingAllowlistListContinue`. +/// +/// @param limit The number of entries to fetch at one time. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistListResponse` object on +/// success or a `DBTEAMSharingAllowlistListError` object on failure. +/// +- (DBRpcTask *)sharingAllowlistList: + (nullable NSNumber *)limit; + +/// +/// Lists entries associated with given team, starting from a the cursor. See `sharingAllowlistList`. +/// +/// @param cursor The cursor returned from a previous call to `sharingAllowlistList` or `sharingAllowlistListContinue`. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistListResponse` object on +/// success or a `DBTEAMSharingAllowlistListContinueError` object on failure. +/// +- (DBRpcTask *) + sharingAllowlistListContinue:(NSString *)cursor; + +/// +/// Endpoint removes Approve List entries. Changes are effective immediately. Changes are committed in transaction. In +/// case of single validation error - all entries are rejected. Valid domains (RFC-1034/5) and emails (RFC-5322/822) are +/// accepted. Entries being removed have to be present on the list. Maximum 1000 entries per call is allowed. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistRemoveResponse` object on +/// success or a `DBTEAMSharingAllowlistRemoveError` object on failure. +/// +- (DBRpcTask *)sharingAllowlistRemove; + +/// +/// Endpoint removes Approve List entries. Changes are effective immediately. Changes are committed in transaction. In +/// case of single validation error - all entries are rejected. Valid domains (RFC-1034/5) and emails (RFC-5322/822) are +/// accepted. Entries being removed have to be present on the list. Maximum 1000 entries per call is allowed. +/// +/// @param domains List of domains represented by valid string representation (RFC-1034/5). +/// @param emails List of emails represented by valid string representation (RFC-5322/822). +/// +/// @return Through the response callback, the caller will receive a `DBTEAMSharingAllowlistRemoveResponse` object on +/// success or a `DBTEAMSharingAllowlistRemoveError` object on failure. +/// +- (DBRpcTask *) + sharingAllowlistRemove:(nullable NSArray *)domains + emails:(nullable NSArray *)emails; /// /// Sets an archived team folder's status to active. Permission : Team member file access. @@ -1188,8 +1770,8 @@ propertiesTemplateUpdate:(NSString *)templateId - (DBRpcTask *)teamFolderActivate:(NSString *)teamFolderId; /// -/// Sets an active team folder's status to archived and removes all folder and file members. Permission : Team member -/// file access. +/// Sets an active team folder's status to archived and removes all folder and file members. This endpoint cannot be +/// used for teams that have a shared team space. Permission : Team member file access. /// /// /// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderArchiveLaunch` object on success @@ -1199,8 +1781,8 @@ propertiesTemplateUpdate:(NSString *)templateId (NSString *)teamFolderId; /// -/// Sets an active team folder's status to archived and removes all folder and file members. Permission : Team member -/// file access. +/// Sets an active team folder's status to archived and removes all folder and file members. This endpoint cannot be +/// used for teams that have a shared team space. Permission : Team member file access. /// /// @param forceAsyncOff Whether to force the archive to happen synchronously. /// @@ -1208,8 +1790,8 @@ propertiesTemplateUpdate:(NSString *)templateId /// or a `DBTEAMTeamFolderArchiveError` object on failure. /// - (DBRpcTask *) -teamFolderArchive:(NSString *)teamFolderId - forceAsyncOff:(nullable NSNumber *)forceAsyncOff; + teamFolderArchive:(NSString *)teamFolderId + forceAsyncOff:(nullable NSNumber *)forceAsyncOff; /// /// Returns the status of an asynchronous job for archiving a team folder. Permission : Team member file access. @@ -1223,7 +1805,8 @@ teamFolderArchive:(NSString *)teamFolderId - (DBRpcTask *)teamFolderArchiveCheck:(NSString *)asyncJobId; /// -/// Creates a new, active, team folder with no members. Permission : Team member file access. +/// Creates a new, active, team folder with no members. This endpoint can only be used for teams that do not already +/// have a shared team space. Permission : Team member file access. /// /// @param name Name for the new team folder. /// @@ -1232,6 +1815,21 @@ teamFolderArchive:(NSString *)teamFolderId /// - (DBRpcTask *)teamFolderCreate:(NSString *)name; +/// +/// Creates a new, active, team folder with no members. This endpoint can only be used for teams that do not already +/// have a shared team space. Permission : Team member file access. +/// +/// @param name Name for the new team folder. +/// @param syncSetting The sync setting to apply to this team folder. Only permitted if the team has team selective sync +/// enabled. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a +/// `DBTEAMTeamFolderCreateError` object on failure. +/// +- (DBRpcTask *) + teamFolderCreate:(NSString *)name + syncSetting:(nullable DBFILESSyncSettingArg *)syncSetting; + /// /// Retrieves metadata for team folders. Permission : Team member file access. /// @@ -1275,7 +1873,8 @@ teamFolderArchive:(NSString *)teamFolderId (NSString *)cursor; /// -/// Permanently deletes an archived team folder. Permission : Team member file access. +/// Permanently deletes an archived team folder. This endpoint cannot be used for teams that have a shared team space. +/// Permission : Team member file access. /// /// @param teamFolderId The ID of the team folder. /// @@ -1296,6 +1895,33 @@ teamFolderArchive:(NSString *)teamFolderId - (DBRpcTask *)teamFolderRename:(NSString *)teamFolderId name:(NSString *)name; +/// +/// Updates the sync settings on a team folder or its contents. Use of this endpoint requires that the team has team +/// selective sync enabled. +/// +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a +/// `DBTEAMTeamFolderUpdateSyncSettingsError` object on failure. +/// +- (DBRpcTask *)teamFolderUpdateSyncSettings: + (NSString *)teamFolderId; + +/// +/// Updates the sync settings on a team folder or its contents. Use of this endpoint requires that the team has team +/// selective sync enabled. +/// +/// @param syncSetting Sync setting to apply to the team folder itself. Only meaningful if the team folder is not a +/// shared team root. +/// @param contentSyncSettings Sync settings to apply to contents of this team folder. +/// +/// @return Through the response callback, the caller will receive a `DBTEAMTeamFolderMetadata` object on success or a +/// `DBTEAMTeamFolderUpdateSyncSettingsError` object on failure. +/// +- (DBRpcTask *) + teamFolderUpdateSyncSettings:(NSString *)teamFolderId + syncSetting:(nullable DBFILESSyncSettingArg *)syncSetting + contentSyncSettings:(nullable NSArray *)contentSyncSettings; + /// /// Returns the member profile of the admin who generated the team access token used to make the call. /// diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.m index c317efd7c..1a46ea7c5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBTEAMTeamAuthRoutes.m @@ -5,6 +5,8 @@ /// #import "DBTEAMTeamAuthRoutes.h" +#import "DBACCOUNTPhotoSourceArg.h" +#import "DBACCOUNTSetProfilePhotoError.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollArg.h" @@ -22,9 +24,17 @@ #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESUpdateTemplateArg.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" +#import "DBFILESContentSyncSetting.h" +#import "DBFILESContentSyncSettingArg.h" +#import "DBFILESSyncSetting.h" +#import "DBFILESSyncSettingArg.h" +#import "DBFILESSyncSettingsError.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTEAMActiveWebSession.h" +#import "DBTEAMAddSecondaryEmailsArg.h" +#import "DBTEAMAddSecondaryEmailsError.h" +#import "DBTEAMAddSecondaryEmailsResult.h" #import "DBTEAMAdminTier.h" #import "DBTEAMApiApp.h" #import "DBTEAMBaseDfbReport.h" @@ -36,6 +46,8 @@ #import "DBTEAMCustomQuotaUsersArg.h" #import "DBTEAMDateRange.h" #import "DBTEAMDateRangeError.h" +#import "DBTEAMDeleteSecondaryEmailsArg.h" +#import "DBTEAMDeleteSecondaryEmailsResult.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMDeviceSessionArg.h" #import "DBTEAMDevicesActive.h" @@ -91,6 +103,25 @@ #import "DBTEAMGroupsPollError.h" #import "DBTEAMGroupsSelector.h" #import "DBTEAMIncludeMembersArg.h" +#import "DBTEAMLegalHoldHeldRevisionMetadata.h" +#import "DBTEAMLegalHoldPolicy.h" +#import "DBTEAMLegalHoldStatus.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsGetPolicyArg.h" +#import "DBTEAMLegalHoldsGetPolicyError.h" +#import "DBTEAMLegalHoldsListHeldRevisionResult.h" +#import "DBTEAMLegalHoldsListHeldRevisionsArg.h" +#import "DBTEAMLegalHoldsListHeldRevisionsContinueArg.h" +#import "DBTEAMLegalHoldsListHeldRevisionsError.h" +#import "DBTEAMLegalHoldsListPoliciesArg.h" +#import "DBTEAMLegalHoldsListPoliciesError.h" +#import "DBTEAMLegalHoldsListPoliciesResult.h" +#import "DBTEAMLegalHoldsPolicyCreateArg.h" +#import "DBTEAMLegalHoldsPolicyCreateError.h" +#import "DBTEAMLegalHoldsPolicyReleaseArg.h" +#import "DBTEAMLegalHoldsPolicyReleaseError.h" +#import "DBTEAMLegalHoldsPolicyUpdateArg.h" +#import "DBTEAMLegalHoldsPolicyUpdateError.h" #import "DBTEAMListMemberAppsArg.h" #import "DBTEAMListMemberAppsError.h" #import "DBTEAMListMemberAppsResult.h" @@ -112,40 +143,66 @@ #import "DBTEAMMemberAccess.h" #import "DBTEAMMemberAddArg.h" #import "DBTEAMMemberAddResult.h" +#import "DBTEAMMemberAddV2Arg.h" +#import "DBTEAMMemberAddV2Result.h" #import "DBTEAMMemberDevices.h" #import "DBTEAMMemberLinkedApps.h" #import "DBTEAMMemberProfile.h" #import "DBTEAMMemberSelectorError.h" #import "DBTEAMMembersAddArg.h" +#import "DBTEAMMembersAddArgBase.h" #import "DBTEAMMembersAddJobStatus.h" +#import "DBTEAMMembersAddJobStatusV2Result.h" #import "DBTEAMMembersAddLaunch.h" +#import "DBTEAMMembersAddLaunchV2Result.h" +#import "DBTEAMMembersAddV2Arg.h" +#import "DBTEAMMembersDataTransferArg.h" #import "DBTEAMMembersDeactivateArg.h" +#import "DBTEAMMembersDeactivateBaseArg.h" #import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersDeleteProfilePhotoArg.h" +#import "DBTEAMMembersDeleteProfilePhotoError.h" +#import "DBTEAMMembersGetAvailableTeamMemberRolesResult.h" #import "DBTEAMMembersGetInfoArgs.h" #import "DBTEAMMembersGetInfoError.h" #import "DBTEAMMembersGetInfoItem.h" +#import "DBTEAMMembersGetInfoItemBase.h" +#import "DBTEAMMembersGetInfoItemV2.h" +#import "DBTEAMMembersGetInfoV2Arg.h" +#import "DBTEAMMembersGetInfoV2Result.h" +#import "DBTEAMMembersInfo.h" #import "DBTEAMMembersListArg.h" #import "DBTEAMMembersListContinueArg.h" #import "DBTEAMMembersListContinueError.h" #import "DBTEAMMembersListError.h" #import "DBTEAMMembersListResult.h" +#import "DBTEAMMembersListV2Result.h" #import "DBTEAMMembersRecoverArg.h" #import "DBTEAMMembersRecoverError.h" #import "DBTEAMMembersRemoveArg.h" #import "DBTEAMMembersRemoveError.h" #import "DBTEAMMembersSendWelcomeError.h" +#import "DBTEAMMembersSetPermissions2Arg.h" +#import "DBTEAMMembersSetPermissions2Error.h" +#import "DBTEAMMembersSetPermissions2Result.h" #import "DBTEAMMembersSetPermissionsArg.h" #import "DBTEAMMembersSetPermissionsError.h" #import "DBTEAMMembersSetPermissionsResult.h" #import "DBTEAMMembersSetProfileArg.h" #import "DBTEAMMembersSetProfileError.h" +#import "DBTEAMMembersSetProfilePhotoArg.h" +#import "DBTEAMMembersSetProfilePhotoError.h" #import "DBTEAMMembersSuspendError.h" +#import "DBTEAMMembersTransferFilesError.h" +#import "DBTEAMMembersTransferFormerMembersFilesError.h" #import "DBTEAMMembersUnsuspendArg.h" #import "DBTEAMMembersUnsuspendError.h" #import "DBTEAMMobileClientSession.h" #import "DBTEAMNamespaceMetadata.h" #import "DBTEAMPOLICIESTeamMemberPolicies.h" #import "DBTEAMRemoveCustomQuotaResult.h" +#import "DBTEAMResendVerificationEmailArg.h" +#import "DBTEAMResendVerificationEmailResult.h" #import "DBTEAMRevokeDesktopClientArg.h" #import "DBTEAMRevokeDeviceSessionArg.h" #import "DBTEAMRevokeDeviceSessionBatchArg.h" @@ -162,6 +219,17 @@ #import "DBTEAMRouteObjects.h" #import "DBTEAMSetCustomQuotaArg.h" #import "DBTEAMSetCustomQuotaError.h" +#import "DBTEAMSharingAllowlistAddArgs.h" +#import "DBTEAMSharingAllowlistAddError.h" +#import "DBTEAMSharingAllowlistAddResponse.h" +#import "DBTEAMSharingAllowlistListArg.h" +#import "DBTEAMSharingAllowlistListContinueArg.h" +#import "DBTEAMSharingAllowlistListContinueError.h" +#import "DBTEAMSharingAllowlistListError.h" +#import "DBTEAMSharingAllowlistListResponse.h" +#import "DBTEAMSharingAllowlistRemoveArgs.h" +#import "DBTEAMSharingAllowlistRemoveError.h" +#import "DBTEAMSharingAllowlistRemoveResponse.h" #import "DBTEAMStorageBucket.h" #import "DBTEAMTeamFolderAccessError.h" #import "DBTEAMTeamFolderActivateError.h" @@ -186,17 +254,27 @@ #import "DBTEAMTeamFolderRenameError.h" #import "DBTEAMTeamFolderStatus.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsArg.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsError.h" #import "DBTEAMTeamGetInfoResult.h" #import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMTeamMemberInfoV2.h" +#import "DBTEAMTeamMemberInfoV2Result.h" #import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTeamMemberRole.h" #import "DBTEAMTeamNamespacesListArg.h" #import "DBTEAMTeamNamespacesListContinueArg.h" #import "DBTEAMTeamNamespacesListContinueError.h" +#import "DBTEAMTeamNamespacesListError.h" #import "DBTEAMTeamNamespacesListResult.h" #import "DBTEAMTokenGetAuthenticatedAdminError.h" #import "DBTEAMTokenGetAuthenticatedAdminResult.h" +#import "DBTEAMUserAddResult.h" #import "DBTEAMUserCustomQuotaArg.h" #import "DBTEAMUserCustomQuotaResult.h" +#import "DBTEAMUserDeleteResult.h" +#import "DBTEAMUserResendResult.h" +#import "DBTEAMUserSecondaryEmailsArg.h" #import "DBTEAMUserSelectorArg.h" #import "DBTEAMUserSelectorError.h" #import "DBTransportClientProtocol.h" @@ -296,10 +374,12 @@ - (DBRpcTask *)groupsCreate:(NSString *)groupName { } - (DBRpcTask *)groupsCreate:(NSString *)groupName + addCreatorAsOwner:(NSNumber *)addCreatorAsOwner groupExternalId:(NSString *)groupExternalId groupManagementType:(DBTEAMCOMMONGroupManagementType *)groupManagementType { DBRoute *route = DBTEAMRouteObjects.DBTEAMGroupsCreate; DBTEAMGroupCreateArg *arg = [[DBTEAMGroupCreateArg alloc] initWithGroupName:groupName + addCreatorAsOwner:addCreatorAsOwner groupExternalId:groupExternalId groupManagementType:groupManagementType]; return [self.client requestRpc:route arg:arg]; @@ -430,6 +510,87 @@ - (DBRpcTask *)groupsUpdate:(DBTEAMGroupSelector *)group return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)legalHoldsCreatePolicy:(NSString *)name members:(NSArray *)members { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsCreatePolicy; + DBTEAMLegalHoldsPolicyCreateArg *arg = [[DBTEAMLegalHoldsPolicyCreateArg alloc] initWithName:name members:members]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsCreatePolicy:(NSString *)name + members:(NSArray *)members + description_:(NSString *)description_ + startDate:(NSDate *)startDate + endDate:(NSDate *)endDate { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsCreatePolicy; + DBTEAMLegalHoldsPolicyCreateArg *arg = [[DBTEAMLegalHoldsPolicyCreateArg alloc] initWithName:name + members:members + description_:description_ + startDate:startDate + endDate:endDate]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsGetPolicy:(NSString *)id_ { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsGetPolicy; + DBTEAMLegalHoldsGetPolicyArg *arg = [[DBTEAMLegalHoldsGetPolicyArg alloc] initWithId_:id_]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsListHeldRevisions:(NSString *)id_ { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsListHeldRevisions; + DBTEAMLegalHoldsListHeldRevisionsArg *arg = [[DBTEAMLegalHoldsListHeldRevisionsArg alloc] initWithId_:id_]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsListHeldRevisionsContinue:(NSString *)id_ { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsListHeldRevisionsContinue; + DBTEAMLegalHoldsListHeldRevisionsContinueArg *arg = + [[DBTEAMLegalHoldsListHeldRevisionsContinueArg alloc] initWithId_:id_]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsListHeldRevisionsContinue:(NSString *)id_ cursor:(NSString *)cursor { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsListHeldRevisionsContinue; + DBTEAMLegalHoldsListHeldRevisionsContinueArg *arg = + [[DBTEAMLegalHoldsListHeldRevisionsContinueArg alloc] initWithId_:id_ cursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsListPolicies { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsListPolicies; + DBTEAMLegalHoldsListPoliciesArg *arg = [[DBTEAMLegalHoldsListPoliciesArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsListPolicies:(NSNumber *)includeReleased { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsListPolicies; + DBTEAMLegalHoldsListPoliciesArg *arg = + [[DBTEAMLegalHoldsListPoliciesArg alloc] initWithIncludeReleased:includeReleased]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsReleasePolicy:(NSString *)id_ { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsReleasePolicy; + DBTEAMLegalHoldsPolicyReleaseArg *arg = [[DBTEAMLegalHoldsPolicyReleaseArg alloc] initWithId_:id_]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsUpdatePolicy:(NSString *)id_ { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsUpdatePolicy; + DBTEAMLegalHoldsPolicyUpdateArg *arg = [[DBTEAMLegalHoldsPolicyUpdateArg alloc] initWithId_:id_]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)legalHoldsUpdatePolicy:(NSString *)id_ + name:(NSString *)name + description_:(NSString *)description_ + members:(NSArray *)members { + DBRoute *route = DBTEAMRouteObjects.DBTEAMLegalHoldsUpdatePolicy; + DBTEAMLegalHoldsPolicyUpdateArg *arg = + [[DBTEAMLegalHoldsPolicyUpdateArg alloc] initWithId_:id_ name:name description_:description_ members:members]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)linkedAppsListMemberLinkedApps:(NSString *)teamMemberId { DBRoute *route = DBTEAMRouteObjects.DBTEAMLinkedAppsListMemberLinkedApps; DBTEAMListMemberAppsArg *arg = [[DBTEAMListMemberAppsArg alloc] initWithTeamMemberId:teamMemberId]; @@ -555,18 +716,59 @@ - (DBRpcTask *)membersAdd:(NSArray *)dNewMembers forceAsyn return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersAddV2:(NSArray *)dNewMembers { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAddV2; + DBTEAMMembersAddV2Arg *arg = [[DBTEAMMembersAddV2Arg alloc] initWithDNewMembers:dNewMembers]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersAddV2:(NSArray *)dNewMembers forceAsync:(NSNumber *)forceAsync { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAddV2; + DBTEAMMembersAddV2Arg *arg = [[DBTEAMMembersAddV2Arg alloc] initWithDNewMembers:dNewMembers forceAsync:forceAsync]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersAddJobStatusGet:(NSString *)asyncJobId { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAddJobStatusGet; DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersAddJobStatusGetV2:(NSString *)asyncJobId { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersAddJobStatusGetV2; + DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersDeleteProfilePhoto:(DBTEAMUserSelectorArg *)user { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersDeleteProfilePhoto; + DBTEAMMembersDeleteProfilePhotoArg *arg = [[DBTEAMMembersDeleteProfilePhotoArg alloc] initWithUser:user]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersDeleteProfilePhotoV2:(DBTEAMUserSelectorArg *)user { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersDeleteProfilePhotoV2; + DBTEAMMembersDeleteProfilePhotoArg *arg = [[DBTEAMMembersDeleteProfilePhotoArg alloc] initWithUser:user]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersGetAvailableTeamMemberRoles { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersGetAvailableTeamMemberRoles; + return [self.client requestRpc:route arg:nil]; +} + - (DBRpcTask *)membersGetInfo:(NSArray *)members { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersGetInfo; DBTEAMMembersGetInfoArgs *arg = [[DBTEAMMembersGetInfoArgs alloc] initWithMembers:members]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersGetInfoV2:(NSArray *)members { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersGetInfoV2; + DBTEAMMembersGetInfoV2Arg *arg = [[DBTEAMMembersGetInfoV2Arg alloc] initWithMembers:members]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersList { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersList; DBTEAMMembersListArg *arg = [[DBTEAMMembersListArg alloc] initDefault]; @@ -579,12 +781,46 @@ - (DBRpcTask *)membersList:(NSNumber *)limit includeRemoved:(NSNumber *)includeR return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersListV2 { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersListV2; + DBTEAMMembersListArg *arg = [[DBTEAMMembersListArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersListV2:(NSNumber *)limit includeRemoved:(NSNumber *)includeRemoved { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersListV2; + DBTEAMMembersListArg *arg = [[DBTEAMMembersListArg alloc] initWithLimit:limit includeRemoved:includeRemoved]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersListContinue:(NSString *)cursor { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersListContinue; DBTEAMMembersListContinueArg *arg = [[DBTEAMMembersListContinueArg alloc] initWithCursor:cursor]; return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersListContinueV2:(NSString *)cursor { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersListContinueV2; + DBTEAMMembersListContinueArg *arg = [[DBTEAMMembersListContinueArg alloc] initWithCursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersMoveFormerMemberFiles:(DBTEAMUserSelectorArg *)user + transferDestId:(DBTEAMUserSelectorArg *)transferDestId + transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersMoveFormerMemberFiles; + DBTEAMMembersDataTransferArg *arg = [[DBTEAMMembersDataTransferArg alloc] initWithUser:user + transferDestId:transferDestId + transferAdminId:transferAdminId]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersMoveFormerMemberFilesJobStatusCheck:(NSString *)asyncJobId { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersMoveFormerMemberFilesJobStatusCheck; + DBASYNCPollArg *arg = [[DBASYNCPollArg alloc] initWithAsyncJobId:asyncJobId]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersRecover:(DBTEAMUserSelectorArg *)user { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersRecover; DBTEAMMembersRecoverArg *arg = [[DBTEAMMembersRecoverArg alloc] initWithUser:user]; @@ -601,13 +837,15 @@ - (DBRpcTask *)membersRemove:(DBTEAMUserSelectorArg *)user wipeData:(NSNumber *)wipeData transferDestId:(DBTEAMUserSelectorArg *)transferDestId transferAdminId:(DBTEAMUserSelectorArg *)transferAdminId - keepAccount:(NSNumber *)keepAccount { + keepAccount:(NSNumber *)keepAccount + retainTeamShares:(NSNumber *)retainTeamShares { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersRemove; DBTEAMMembersRemoveArg *arg = [[DBTEAMMembersRemoveArg alloc] initWithUser:user wipeData:wipeData transferDestId:transferDestId transferAdminId:transferAdminId - keepAccount:keepAccount]; + keepAccount:keepAccount + retainTeamShares:retainTeamShares]; return [self.client requestRpc:route arg:arg]; } @@ -617,6 +855,27 @@ - (DBRpcTask *)membersRemoveJobStatusGet:(NSString *)asyncJobId { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersSecondaryEmailsAdd:(NSArray *)dNewSecondaryEmails { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSecondaryEmailsAdd; + DBTEAMAddSecondaryEmailsArg *arg = + [[DBTEAMAddSecondaryEmailsArg alloc] initWithDNewSecondaryEmails:dNewSecondaryEmails]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSecondaryEmailsDelete:(NSArray *)emailsToDelete { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSecondaryEmailsDelete; + DBTEAMDeleteSecondaryEmailsArg *arg = [[DBTEAMDeleteSecondaryEmailsArg alloc] initWithEmailsToDelete:emailsToDelete]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSecondaryEmailsResendVerificationEmails: + (NSArray *)emailsToResend { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSecondaryEmailsResendVerificationEmails; + DBTEAMResendVerificationEmailArg *arg = + [[DBTEAMResendVerificationEmailArg alloc] initWithEmailsToResend:emailsToResend]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersSendWelcomeEmail:(DBTEAMUserSelectorArg *)userSelectorArg { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSendWelcomeEmail; DBTEAMUserSelectorArg *arg = userSelectorArg; @@ -629,6 +888,19 @@ - (DBRpcTask *)membersSetAdminPermissions:(DBTEAMUserSelectorArg *)user dNewRole return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)membersSetAdminPermissionsV2:(DBTEAMUserSelectorArg *)user { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetAdminPermissionsV2; + DBTEAMMembersSetPermissions2Arg *arg = [[DBTEAMMembersSetPermissions2Arg alloc] initWithUser:user]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSetAdminPermissionsV2:(DBTEAMUserSelectorArg *)user dNewRoles:(NSArray *)dNewRoles { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetAdminPermissionsV2; + DBTEAMMembersSetPermissions2Arg *arg = + [[DBTEAMMembersSetPermissions2Arg alloc] initWithUser:user dNewRoles:dNewRoles]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)membersSetProfile:(DBTEAMUserSelectorArg *)user { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfile; DBTEAMMembersSetProfileArg *arg = [[DBTEAMMembersSetProfileArg alloc] initWithUser:user]; @@ -640,14 +912,52 @@ - (DBRpcTask *)membersSetProfile:(DBTEAMUserSelectorArg *)user dNewExternalId:(NSString *)dNewExternalId dNewGivenName:(NSString *)dNewGivenName dNewSurname:(NSString *)dNewSurname - dNewPersistentId:(NSString *)dNewPersistentId { + dNewPersistentId:(NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(NSNumber *)dNewIsDirectoryRestricted { DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfile; DBTEAMMembersSetProfileArg *arg = [[DBTEAMMembersSetProfileArg alloc] initWithUser:user dNewEmail:dNewEmail dNewExternalId:dNewExternalId dNewGivenName:dNewGivenName dNewSurname:dNewSurname - dNewPersistentId:dNewPersistentId]; + dNewPersistentId:dNewPersistentId + dNewIsDirectoryRestricted:dNewIsDirectoryRestricted]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSetProfileV2:(DBTEAMUserSelectorArg *)user { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfileV2; + DBTEAMMembersSetProfileArg *arg = [[DBTEAMMembersSetProfileArg alloc] initWithUser:user]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSetProfileV2:(DBTEAMUserSelectorArg *)user + dNewEmail:(NSString *)dNewEmail + dNewExternalId:(NSString *)dNewExternalId + dNewGivenName:(NSString *)dNewGivenName + dNewSurname:(NSString *)dNewSurname + dNewPersistentId:(NSString *)dNewPersistentId + dNewIsDirectoryRestricted:(NSNumber *)dNewIsDirectoryRestricted { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfileV2; + DBTEAMMembersSetProfileArg *arg = [[DBTEAMMembersSetProfileArg alloc] initWithUser:user + dNewEmail:dNewEmail + dNewExternalId:dNewExternalId + dNewGivenName:dNewGivenName + dNewSurname:dNewSurname + dNewPersistentId:dNewPersistentId + dNewIsDirectoryRestricted:dNewIsDirectoryRestricted]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSetProfilePhoto:(DBTEAMUserSelectorArg *)user photo:(DBACCOUNTPhotoSourceArg *)photo { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfilePhoto; + DBTEAMMembersSetProfilePhotoArg *arg = [[DBTEAMMembersSetProfilePhotoArg alloc] initWithUser:user photo:photo]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)membersSetProfilePhotoV2:(DBTEAMUserSelectorArg *)user photo:(DBACCOUNTPhotoSourceArg *)photo { + DBRoute *route = DBTEAMRouteObjects.DBTEAMMembersSetProfilePhotoV2; + DBTEAMMembersSetProfilePhotoArg *arg = [[DBTEAMMembersSetProfilePhotoArg alloc] initWithUser:user photo:photo]; return [self.client requestRpc:route arg:arg]; } @@ -773,6 +1083,49 @@ - (DBRpcTask *)reportsGetStorage:(NSDate *)startDate endDate:(NSDate *)endDate { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)sharingAllowlistAdd { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistAdd; + DBTEAMSharingAllowlistAddArgs *arg = [[DBTEAMSharingAllowlistAddArgs alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistAdd:(NSArray *)domains emails:(NSArray *)emails { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistAdd; + DBTEAMSharingAllowlistAddArgs *arg = [[DBTEAMSharingAllowlistAddArgs alloc] initWithDomains:domains emails:emails]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistList { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistList; + DBTEAMSharingAllowlistListArg *arg = [[DBTEAMSharingAllowlistListArg alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistList:(NSNumber *)limit { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistList; + DBTEAMSharingAllowlistListArg *arg = [[DBTEAMSharingAllowlistListArg alloc] initWithLimit:limit]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistListContinue:(NSString *)cursor { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistListContinue; + DBTEAMSharingAllowlistListContinueArg *arg = [[DBTEAMSharingAllowlistListContinueArg alloc] initWithCursor:cursor]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistRemove { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistRemove; + DBTEAMSharingAllowlistRemoveArgs *arg = [[DBTEAMSharingAllowlistRemoveArgs alloc] initDefault]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)sharingAllowlistRemove:(NSArray *)domains emails:(NSArray *)emails { + DBRoute *route = DBTEAMRouteObjects.DBTEAMSharingAllowlistRemove; + DBTEAMSharingAllowlistRemoveArgs *arg = + [[DBTEAMSharingAllowlistRemoveArgs alloc] initWithDomains:domains emails:emails]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)teamFolderActivate:(NSString *)teamFolderId { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderActivate; DBTEAMTeamFolderIdArg *arg = [[DBTEAMTeamFolderIdArg alloc] initWithTeamFolderId:teamFolderId]; @@ -804,6 +1157,12 @@ - (DBRpcTask *)teamFolderCreate:(NSString *)name { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)teamFolderCreate:(NSString *)name syncSetting:(DBFILESSyncSettingArg *)syncSetting { + DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderCreate; + DBTEAMTeamFolderCreateArg *arg = [[DBTEAMTeamFolderCreateArg alloc] initWithName:name syncSetting:syncSetting]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)teamFolderGetInfo:(NSArray *)teamFolderIds { DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderGetInfo; DBTEAMTeamFolderIdListArg *arg = [[DBTEAMTeamFolderIdListArg alloc] initWithTeamFolderIds:teamFolderIds]; @@ -840,6 +1199,24 @@ - (DBRpcTask *)teamFolderRename:(NSString *)teamFolderId name:(NSString *)name { return [self.client requestRpc:route arg:arg]; } +- (DBRpcTask *)teamFolderUpdateSyncSettings:(NSString *)teamFolderId { + DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderUpdateSyncSettings; + DBTEAMTeamFolderUpdateSyncSettingsArg *arg = + [[DBTEAMTeamFolderUpdateSyncSettingsArg alloc] initWithTeamFolderId:teamFolderId]; + return [self.client requestRpc:route arg:arg]; +} + +- (DBRpcTask *)teamFolderUpdateSyncSettings:(NSString *)teamFolderId + syncSetting:(DBFILESSyncSettingArg *)syncSetting + contentSyncSettings:(NSArray *)contentSyncSettings { + DBRoute *route = DBTEAMRouteObjects.DBTEAMTeamFolderUpdateSyncSettings; + DBTEAMTeamFolderUpdateSyncSettingsArg *arg = + [[DBTEAMTeamFolderUpdateSyncSettingsArg alloc] initWithTeamFolderId:teamFolderId + syncSetting:syncSetting + contentSyncSettings:contentSyncSettings]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)tokenGetAuthenticatedAdmin { DBRoute *route = DBTEAMRouteObjects.DBTEAMTokenGetAuthenticatedAdmin; return [self.client requestRpc:route arg:nil]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.h index d46ca3807..9f6569f5b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.h @@ -19,6 +19,10 @@ @class DBUSERSName; @class DBUSERSSpaceAllocation; @class DBUSERSSpaceUsage; +@class DBUSERSUserFeature; +@class DBUSERSUserFeatureValue; +@class DBUSERSUserFeaturesGetValuesBatchError; +@class DBUSERSUserFeaturesGetValuesBatchResult; @protocol DBTransportClient; @@ -38,6 +42,18 @@ NS_ASSUME_NONNULL_BEGIN /// networking client. - (instancetype)init:(id)client; +/// +/// Get a list of feature values that may be configured for the current account. +/// +/// @param features A list of features in UserFeature. If the list is empty, this route will return +/// UserFeaturesGetValuesBatchError. +/// +/// @return Through the response callback, the caller will receive a `DBUSERSUserFeaturesGetValuesBatchResult` object on +/// success or a `DBUSERSUserFeaturesGetValuesBatchError` object on failure. +/// +- (DBRpcTask *)featuresGetValues: + (NSArray *)features; + /// /// Get information about a user's account. /// diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.m index d02356bf7..aba9e5f60 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/DBUSERSUserAuthRoutes.m @@ -22,6 +22,11 @@ #import "DBUSERSRouteObjects.h" #import "DBUSERSSpaceAllocation.h" #import "DBUSERSSpaceUsage.h" +#import "DBUSERSUserFeature.h" +#import "DBUSERSUserFeatureValue.h" +#import "DBUSERSUserFeaturesGetValuesBatchArg.h" +#import "DBUSERSUserFeaturesGetValuesBatchError.h" +#import "DBUSERSUserFeaturesGetValuesBatchResult.h" @implementation DBUSERSUserAuthRoutes @@ -33,6 +38,12 @@ - (instancetype)init:(id)client { return self; } +- (DBRpcTask *)featuresGetValues:(NSArray *)features { + DBRoute *route = DBUSERSRouteObjects.DBUSERSFeaturesGetValues; + DBUSERSUserFeaturesGetValuesBatchArg *arg = [[DBUSERSUserFeaturesGetValuesBatchArg alloc] initWithFeatures:features]; + return [self.client requestRpc:route arg:arg]; +} + - (DBRpcTask *)getAccount:(NSString *)accountId { DBRoute *route = DBUSERSRouteObjects.DBUSERSGetAccount; DBUSERSGetAccountArg *arg = [[DBUSERSGetAccountArg alloc] initWithAccountId:accountId]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.h new file mode 100644 index 000000000..949800eea --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.h @@ -0,0 +1,25 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +@class DBRoute; + +NS_ASSUME_NONNULL_BEGIN + +/// +/// Stone route objects for the Account namespace. Each route in the Account +/// namespace has its own static object, which contains information about the +/// route. +/// +@interface DBACCOUNTRouteObjects : NSObject + +/// Accessor method for the setProfilePhoto route object. ++ (DBRoute *)DBACCOUNTSetProfilePhoto; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.m new file mode 100644 index 000000000..4b7dc2c52 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBACCOUNTRouteObjects.m @@ -0,0 +1,42 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBACCOUNTRouteObjects.h" +#import "DBACCOUNTSetProfilePhotoError.h" +#import "DBACCOUNTSetProfilePhotoResult.h" +#import "DBACCOUNTUserAuthRoutes.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" + +@implementation DBACCOUNTRouteObjects + +static DBRoute *DBACCOUNTSetProfilePhoto; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBACCOUNTSetProfilePhoto { + @synchronized(lockObj) { + if (!DBACCOUNTSetProfilePhoto) { + DBACCOUNTSetProfilePhoto = [[DBRoute alloc] init:@"set_profile_photo" + namespace_:@"account" + deprecated:@NO + resultType:[DBACCOUNTSetProfilePhotoResult class] + errorType:[DBACCOUNTSetProfilePhotoError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBACCOUNTSetProfilePhoto; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.m index 52d9aeea1..f03134cf0 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBAUTHRouteObjects.m @@ -17,40 +17,44 @@ @implementation DBAUTHRouteObjects static DBRoute *DBAUTHTokenFromOauth1; static DBRoute *DBAUTHTokenRevoke; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + + (DBRoute *)DBAUTHTokenFromOauth1 { - if (!DBAUTHTokenFromOauth1) { - DBAUTHTokenFromOauth1 = [[DBRoute alloc] init:@"token/from_oauth1" - namespace_:@"auth" - deprecated:@NO - resultType:[DBAUTHTokenFromOAuth1Result class] - errorType:[DBAUTHTokenFromOAuth1Error class] - attrs:@{ - @"auth" : @"app", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBAUTHTokenFromOauth1) { + DBAUTHTokenFromOauth1 = [[DBRoute alloc] init:@"token/from_oauth1" + namespace_:@"auth" + deprecated:@YES + resultType:[DBAUTHTokenFromOAuth1Result class] + errorType:[DBAUTHTokenFromOAuth1Error class] + attrs:@{@"auth" : @"app", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBAUTHTokenFromOauth1; } - return DBAUTHTokenFromOauth1; } + (DBRoute *)DBAUTHTokenRevoke { - if (!DBAUTHTokenRevoke) { - DBAUTHTokenRevoke = [[DBRoute alloc] init:@"token/revoke" - namespace_:@"auth" - deprecated:@NO - resultType:nil - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBAUTHTokenRevoke) { + DBAUTHTokenRevoke = [[DBRoute alloc] init:@"token/revoke" + namespace_:@"auth" + deprecated:@NO + resultType:nil + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBAUTHTokenRevoke; } - return DBAUTHTokenRevoke; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.h new file mode 100644 index 000000000..4dc3ce962 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.h @@ -0,0 +1,28 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +@class DBRoute; + +NS_ASSUME_NONNULL_BEGIN + +/// +/// Stone route objects for the Check namespace. Each route in the Check +/// namespace has its own static object, which contains information about the +/// route. +/// +@interface DBCHECKRouteObjects : NSObject + +/// Accessor method for the app route object. ++ (DBRoute *)DBCHECKApp; + +/// Accessor method for the user route object. ++ (DBRoute *)DBCHECKUser; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.m new file mode 100644 index 000000000..2b74bed39 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCHECKRouteObjects.m @@ -0,0 +1,59 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBCHECKRouteObjects.h" +#import "DBCHECKAppAuthRoutes.h" +#import "DBCHECKEchoResult.h" +#import "DBCHECKUserAuthRoutes.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" + +@implementation DBCHECKRouteObjects + +static DBRoute *DBCHECKApp; +static DBRoute *DBCHECKUser; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBCHECKApp { + @synchronized(lockObj) { + if (!DBCHECKApp) { + DBCHECKApp = [[DBRoute alloc] init:@"app" + namespace_:@"check" + deprecated:@NO + resultType:[DBCHECKEchoResult class] + errorType:nil + attrs:@{@"auth" : @"app", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBCHECKApp; + } +} + ++ (DBRoute *)DBCHECKUser { + @synchronized(lockObj) { + if (!DBCHECKUser) { + DBCHECKUser = [[DBRoute alloc] init:@"user" + namespace_:@"check" + deprecated:@NO + resultType:[DBCHECKEchoResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBCHECKUser; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.h new file mode 100644 index 000000000..b5e01f353 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.h @@ -0,0 +1,28 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +@class DBRoute; + +NS_ASSUME_NONNULL_BEGIN + +/// +/// Stone route objects for the Contacts namespace. Each route in the Contacts +/// namespace has its own static object, which contains information about the +/// route. +/// +@interface DBCONTACTSRouteObjects : NSObject + +/// Accessor method for the deleteManualContacts route object. ++ (DBRoute *)DBCONTACTSDeleteManualContacts; + +/// Accessor method for the deleteManualContactsBatch route object. ++ (DBRoute *)DBCONTACTSDeleteManualContactsBatch; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.m new file mode 100644 index 000000000..f78108902 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBCONTACTSRouteObjects.m @@ -0,0 +1,59 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBCONTACTSRouteObjects.h" +#import "DBCONTACTSDeleteManualContactsError.h" +#import "DBCONTACTSUserAuthRoutes.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" + +@implementation DBCONTACTSRouteObjects + +static DBRoute *DBCONTACTSDeleteManualContacts; +static DBRoute *DBCONTACTSDeleteManualContactsBatch; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBCONTACTSDeleteManualContacts { + @synchronized(lockObj) { + if (!DBCONTACTSDeleteManualContacts) { + DBCONTACTSDeleteManualContacts = [[DBRoute alloc] init:@"delete_manual_contacts" + namespace_:@"contacts" + deprecated:@NO + resultType:nil + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBCONTACTSDeleteManualContacts; + } +} + ++ (DBRoute *)DBCONTACTSDeleteManualContactsBatch { + @synchronized(lockObj) { + if (!DBCONTACTSDeleteManualContactsBatch) { + DBCONTACTSDeleteManualContactsBatch = + [[DBRoute alloc] init:@"delete_manual_contacts_batch" + namespace_:@"contacts" + deprecated:@NO + resultType:nil + errorType:[DBCONTACTSDeleteManualContactsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBCONTACTSDeleteManualContactsBatch; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.m index b5215b065..0f2ee3df6 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEPROPERTIESRouteObjects.m @@ -48,293 +48,280 @@ @implementation DBFILEPROPERTIESRouteObjects static DBRoute *DBFILEPROPERTIESTemplatesUpdateForTeam; static DBRoute *DBFILEPROPERTIESTemplatesUpdateForUser; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + + (DBRoute *)DBFILEPROPERTIESPropertiesAdd { - if (!DBFILEPROPERTIESPropertiesAdd) { - DBFILEPROPERTIESPropertiesAdd = [[DBRoute alloc] init:@"properties/add" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESAddPropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesAdd) { + DBFILEPROPERTIESPropertiesAdd = [[DBRoute alloc] init:@"properties/add" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESAddPropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesAdd; } - return DBFILEPROPERTIESPropertiesAdd; } + (DBRoute *)DBFILEPROPERTIESPropertiesOverwrite { - if (!DBFILEPROPERTIESPropertiesOverwrite) { - DBFILEPROPERTIESPropertiesOverwrite = [[DBRoute alloc] init:@"properties/overwrite" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESInvalidPropertyGroupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesOverwrite) { + DBFILEPROPERTIESPropertiesOverwrite = + [[DBRoute alloc] init:@"properties/overwrite" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESInvalidPropertyGroupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesOverwrite; } - return DBFILEPROPERTIESPropertiesOverwrite; } + (DBRoute *)DBFILEPROPERTIESPropertiesRemove { - if (!DBFILEPROPERTIESPropertiesRemove) { - DBFILEPROPERTIESPropertiesRemove = [[DBRoute alloc] init:@"properties/remove" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESRemovePropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesRemove) { + DBFILEPROPERTIESPropertiesRemove = [[DBRoute alloc] init:@"properties/remove" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESRemovePropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesRemove; } - return DBFILEPROPERTIESPropertiesRemove; } + (DBRoute *)DBFILEPROPERTIESPropertiesSearch { - if (!DBFILEPROPERTIESPropertiesSearch) { - DBFILEPROPERTIESPropertiesSearch = [[DBRoute alloc] init:@"properties/search" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESPropertiesSearchResult class] - errorType:[DBFILEPROPERTIESPropertiesSearchError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesSearch) { + DBFILEPROPERTIESPropertiesSearch = [[DBRoute alloc] init:@"properties/search" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESPropertiesSearchResult class] + errorType:[DBFILEPROPERTIESPropertiesSearchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesSearch; } - return DBFILEPROPERTIESPropertiesSearch; } + (DBRoute *)DBFILEPROPERTIESPropertiesSearchContinue { - if (!DBFILEPROPERTIESPropertiesSearchContinue) { - DBFILEPROPERTIESPropertiesSearchContinue = - [[DBRoute alloc] init:@"properties/search/continue" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESPropertiesSearchResult class] - errorType:[DBFILEPROPERTIESPropertiesSearchContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesSearchContinue) { + DBFILEPROPERTIESPropertiesSearchContinue = + [[DBRoute alloc] init:@"properties/search/continue" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESPropertiesSearchResult class] + errorType:[DBFILEPROPERTIESPropertiesSearchContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesSearchContinue; } - return DBFILEPROPERTIESPropertiesSearchContinue; } + (DBRoute *)DBFILEPROPERTIESPropertiesUpdate { - if (!DBFILEPROPERTIESPropertiesUpdate) { - DBFILEPROPERTIESPropertiesUpdate = [[DBRoute alloc] init:@"properties/update" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESUpdatePropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESPropertiesUpdate) { + DBFILEPROPERTIESPropertiesUpdate = [[DBRoute alloc] init:@"properties/update" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESUpdatePropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESPropertiesUpdate; } - return DBFILEPROPERTIESPropertiesUpdate; } + (DBRoute *)DBFILEPROPERTIESTemplatesAddForTeam { - if (!DBFILEPROPERTIESTemplatesAddForTeam) { - DBFILEPROPERTIESTemplatesAddForTeam = [[DBRoute alloc] init:@"templates/add_for_team" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESAddTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesAddForTeam) { + DBFILEPROPERTIESTemplatesAddForTeam = + [[DBRoute alloc] init:@"templates/add_for_team" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESAddTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesAddForTeam; } - return DBFILEPROPERTIESTemplatesAddForTeam; } + (DBRoute *)DBFILEPROPERTIESTemplatesAddForUser { - if (!DBFILEPROPERTIESTemplatesAddForUser) { - DBFILEPROPERTIESTemplatesAddForUser = [[DBRoute alloc] init:@"templates/add_for_user" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESAddTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesAddForUser) { + DBFILEPROPERTIESTemplatesAddForUser = + [[DBRoute alloc] init:@"templates/add_for_user" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESAddTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesAddForUser; } - return DBFILEPROPERTIESTemplatesAddForUser; } + (DBRoute *)DBFILEPROPERTIESTemplatesGetForTeam { - if (!DBFILEPROPERTIESTemplatesGetForTeam) { - DBFILEPROPERTIESTemplatesGetForTeam = [[DBRoute alloc] init:@"templates/get_for_team" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESGetTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesGetForTeam) { + DBFILEPROPERTIESTemplatesGetForTeam = + [[DBRoute alloc] init:@"templates/get_for_team" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESGetTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesGetForTeam; } - return DBFILEPROPERTIESTemplatesGetForTeam; } + (DBRoute *)DBFILEPROPERTIESTemplatesGetForUser { - if (!DBFILEPROPERTIESTemplatesGetForUser) { - DBFILEPROPERTIESTemplatesGetForUser = [[DBRoute alloc] init:@"templates/get_for_user" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESGetTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesGetForUser) { + DBFILEPROPERTIESTemplatesGetForUser = + [[DBRoute alloc] init:@"templates/get_for_user" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESGetTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesGetForUser; } - return DBFILEPROPERTIESTemplatesGetForUser; } + (DBRoute *)DBFILEPROPERTIESTemplatesListForTeam { - if (!DBFILEPROPERTIESTemplatesListForTeam) { - DBFILEPROPERTIESTemplatesListForTeam = [[DBRoute alloc] init:@"templates/list_for_team" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESListTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesListForTeam) { + DBFILEPROPERTIESTemplatesListForTeam = + [[DBRoute alloc] init:@"templates/list_for_team" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESListTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesListForTeam; } - return DBFILEPROPERTIESTemplatesListForTeam; } + (DBRoute *)DBFILEPROPERTIESTemplatesListForUser { - if (!DBFILEPROPERTIESTemplatesListForUser) { - DBFILEPROPERTIESTemplatesListForUser = [[DBRoute alloc] init:@"templates/list_for_user" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESListTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesListForUser) { + DBFILEPROPERTIESTemplatesListForUser = + [[DBRoute alloc] init:@"templates/list_for_user" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESListTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesListForUser; } - return DBFILEPROPERTIESTemplatesListForUser; } + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForTeam { - if (!DBFILEPROPERTIESTemplatesRemoveForTeam) { - DBFILEPROPERTIESTemplatesRemoveForTeam = [[DBRoute alloc] init:@"templates/remove_for_team" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesRemoveForTeam) { + DBFILEPROPERTIESTemplatesRemoveForTeam = + [[DBRoute alloc] init:@"templates/remove_for_team" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesRemoveForTeam; } - return DBFILEPROPERTIESTemplatesRemoveForTeam; } + (DBRoute *)DBFILEPROPERTIESTemplatesRemoveForUser { - if (!DBFILEPROPERTIESTemplatesRemoveForUser) { - DBFILEPROPERTIESTemplatesRemoveForUser = [[DBRoute alloc] init:@"templates/remove_for_user" - namespace_:@"file_properties" - deprecated:@NO - resultType:nil - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesRemoveForUser) { + DBFILEPROPERTIESTemplatesRemoveForUser = + [[DBRoute alloc] init:@"templates/remove_for_user" + namespace_:@"file_properties" + deprecated:@NO + resultType:nil + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesRemoveForUser; } - return DBFILEPROPERTIESTemplatesRemoveForUser; } + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForTeam { - if (!DBFILEPROPERTIESTemplatesUpdateForTeam) { - DBFILEPROPERTIESTemplatesUpdateForTeam = [[DBRoute alloc] init:@"templates/update_for_team" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESUpdateTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesUpdateForTeam) { + DBFILEPROPERTIESTemplatesUpdateForTeam = + [[DBRoute alloc] init:@"templates/update_for_team" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESUpdateTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesUpdateForTeam; } - return DBFILEPROPERTIESTemplatesUpdateForTeam; } + (DBRoute *)DBFILEPROPERTIESTemplatesUpdateForUser { - if (!DBFILEPROPERTIESTemplatesUpdateForUser) { - DBFILEPROPERTIESTemplatesUpdateForUser = [[DBRoute alloc] init:@"templates/update_for_user" - namespace_:@"file_properties" - deprecated:@NO - resultType:[DBFILEPROPERTIESUpdateTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEPROPERTIESTemplatesUpdateForUser) { + DBFILEPROPERTIESTemplatesUpdateForUser = + [[DBRoute alloc] init:@"templates/update_for_user" + namespace_:@"file_properties" + deprecated:@NO + resultType:[DBFILEPROPERTIESUpdateTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEPROPERTIESTemplatesUpdateForUser; } - return DBFILEPROPERTIESTemplatesUpdateForUser; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.h index 8dc6fdccf..4c38d4f05 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.h @@ -17,15 +17,30 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBFILEREQUESTSRouteObjects : NSObject +/// Accessor method for the count route object. ++ (DBRoute *)DBFILEREQUESTSCount; + /// Accessor method for the create route object. + (DBRoute *)DBFILEREQUESTSCreate; +/// Accessor method for the delete_ route object. ++ (DBRoute *)DBFILEREQUESTSDelete_; + +/// Accessor method for the deleteAllClosed route object. ++ (DBRoute *)DBFILEREQUESTSDeleteAllClosed; + /// Accessor method for the get route object. + (DBRoute *)DBFILEREQUESTSGet; /// Accessor method for the list route object. + (DBRoute *)DBFILEREQUESTSList; +/// Accessor method for the listV2 route object. ++ (DBRoute *)DBFILEREQUESTSListV2; + +/// Accessor method for the listContinue route object. ++ (DBRoute *)DBFILEREQUESTSListContinue; + /// Accessor method for the update route object. + (DBRoute *)DBFILEREQUESTSUpdate; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.m index 3068a5bff..313ed5dd7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILEREQUESTSRouteObjects.m @@ -5,14 +5,22 @@ /// #import "DBFILEREQUESTSRouteObjects.h" +#import "DBFILEREQUESTSCountFileRequestsError.h" +#import "DBFILEREQUESTSCountFileRequestsResult.h" #import "DBFILEREQUESTSCreateFileRequestError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsError.h" +#import "DBFILEREQUESTSDeleteAllClosedFileRequestsResult.h" +#import "DBFILEREQUESTSDeleteFileRequestError.h" +#import "DBFILEREQUESTSDeleteFileRequestsResult.h" #import "DBFILEREQUESTSFileRequest.h" #import "DBFILEREQUESTSFileRequestDeadline.h" #import "DBFILEREQUESTSFileRequestError.h" #import "DBFILEREQUESTSGeneralFileRequestsError.h" #import "DBFILEREQUESTSGetFileRequestError.h" +#import "DBFILEREQUESTSListFileRequestsContinueError.h" #import "DBFILEREQUESTSListFileRequestsError.h" #import "DBFILEREQUESTSListFileRequestsResult.h" +#import "DBFILEREQUESTSListFileRequestsV2Result.h" #import "DBFILEREQUESTSUpdateFileRequestError.h" #import "DBFILEREQUESTSUserAuthRoutes.h" #import "DBRequestErrors.h" @@ -20,81 +28,166 @@ @implementation DBFILEREQUESTSRouteObjects +static DBRoute *DBFILEREQUESTSCount; static DBRoute *DBFILEREQUESTSCreate; +static DBRoute *DBFILEREQUESTSDelete_; +static DBRoute *DBFILEREQUESTSDeleteAllClosed; static DBRoute *DBFILEREQUESTSGet; static DBRoute *DBFILEREQUESTSList; +static DBRoute *DBFILEREQUESTSListV2; +static DBRoute *DBFILEREQUESTSListContinue; static DBRoute *DBFILEREQUESTSUpdate; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBFILEREQUESTSCount { + @synchronized(lockObj) { + if (!DBFILEREQUESTSCount) { + DBFILEREQUESTSCount = [[DBRoute alloc] init:@"count" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSCountFileRequestsResult class] + errorType:[DBFILEREQUESTSCountFileRequestsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSCount; + } +} + + (DBRoute *)DBFILEREQUESTSCreate { - if (!DBFILEREQUESTSCreate) { - DBFILEREQUESTSCreate = [[DBRoute alloc] init:@"create" + @synchronized(lockObj) { + if (!DBFILEREQUESTSCreate) { + DBFILEREQUESTSCreate = [[DBRoute alloc] init:@"create" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSFileRequest class] + errorType:[DBFILEREQUESTSCreateFileRequestError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSCreate; + } +} + ++ (DBRoute *)DBFILEREQUESTSDelete_ { + @synchronized(lockObj) { + if (!DBFILEREQUESTSDelete_) { + DBFILEREQUESTSDelete_ = [[DBRoute alloc] init:@"delete" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSDeleteFileRequestsResult class] + errorType:[DBFILEREQUESTSDeleteFileRequestError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSDelete_; + } +} + ++ (DBRoute *)DBFILEREQUESTSDeleteAllClosed { + @synchronized(lockObj) { + if (!DBFILEREQUESTSDeleteAllClosed) { + DBFILEREQUESTSDeleteAllClosed = [[DBRoute alloc] init:@"delete_all_closed" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSDeleteAllClosedFileRequestsResult class] + errorType:[DBFILEREQUESTSDeleteAllClosedFileRequestsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSDeleteAllClosed; + } +} + ++ (DBRoute *)DBFILEREQUESTSGet { + @synchronized(lockObj) { + if (!DBFILEREQUESTSGet) { + DBFILEREQUESTSGet = [[DBRoute alloc] init:@"get" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSFileRequest class] + errorType:[DBFILEREQUESTSGetFileRequestError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSGet; + } +} + ++ (DBRoute *)DBFILEREQUESTSList { + @synchronized(lockObj) { + if (!DBFILEREQUESTSList) { + DBFILEREQUESTSList = [[DBRoute alloc] init:@"list" namespace_:@"file_requests" deprecated:@NO - resultType:[DBFILEREQUESTSFileRequest class] - errorType:[DBFILEREQUESTSCreateFileRequestError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:[DBFILEREQUESTSListFileRequestsResult class] + errorType:[DBFILEREQUESTSListFileRequestsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSList; } - return DBFILEREQUESTSCreate; } -+ (DBRoute *)DBFILEREQUESTSGet { - if (!DBFILEREQUESTSGet) { - DBFILEREQUESTSGet = [[DBRoute alloc] init:@"get" - namespace_:@"file_requests" - deprecated:@NO - resultType:[DBFILEREQUESTSFileRequest class] - errorType:[DBFILEREQUESTSGetFileRequestError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILEREQUESTSListV2 { + @synchronized(lockObj) { + if (!DBFILEREQUESTSListV2) { + DBFILEREQUESTSListV2 = [[DBRoute alloc] init:@"list_v2" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSListFileRequestsV2Result class] + errorType:[DBFILEREQUESTSListFileRequestsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSListV2; } - return DBFILEREQUESTSGet; } -+ (DBRoute *)DBFILEREQUESTSList { - if (!DBFILEREQUESTSList) { - DBFILEREQUESTSList = [[DBRoute alloc] init:@"list" - namespace_:@"file_requests" - deprecated:@NO - resultType:[DBFILEREQUESTSListFileRequestsResult class] - errorType:[DBFILEREQUESTSListFileRequestsError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILEREQUESTSListContinue { + @synchronized(lockObj) { + if (!DBFILEREQUESTSListContinue) { + DBFILEREQUESTSListContinue = [[DBRoute alloc] init:@"list/continue" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSListFileRequestsV2Result class] + errorType:[DBFILEREQUESTSListFileRequestsContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSListContinue; } - return DBFILEREQUESTSList; } + (DBRoute *)DBFILEREQUESTSUpdate { - if (!DBFILEREQUESTSUpdate) { - DBFILEREQUESTSUpdate = [[DBRoute alloc] init:@"update" - namespace_:@"file_requests" - deprecated:@NO - resultType:[DBFILEREQUESTSFileRequest class] - errorType:[DBFILEREQUESTSUpdateFileRequestError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILEREQUESTSUpdate) { + DBFILEREQUESTSUpdate = [[DBRoute alloc] init:@"update" + namespace_:@"file_requests" + deprecated:@NO + resultType:[DBFILEREQUESTSFileRequest class] + errorType:[DBFILEREQUESTSUpdateFileRequestError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILEREQUESTSUpdate; } - return DBFILEREQUESTSUpdate; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.h index 9a8243919..0cfef3f20 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.h @@ -26,42 +26,63 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the dCopy route object. + (DBRoute *)DBFILESDCopy; +/// Accessor method for the dCopyV2 route object. ++ (DBRoute *)DBFILESDCopyV2; + /// Accessor method for the dCopyBatch route object. + (DBRoute *)DBFILESDCopyBatch; +/// Accessor method for the dCopyBatchV2 route object. ++ (DBRoute *)DBFILESDCopyBatchV2; + /// Accessor method for the dCopyBatchCheck route object. + (DBRoute *)DBFILESDCopyBatchCheck; +/// Accessor method for the dCopyBatchCheckV2 route object. ++ (DBRoute *)DBFILESDCopyBatchCheckV2; + /// Accessor method for the dCopyReferenceGet route object. + (DBRoute *)DBFILESDCopyReferenceGet; /// Accessor method for the dCopyReferenceSave route object. + (DBRoute *)DBFILESDCopyReferenceSave; -/// Accessor method for the dCopyV2 route object. -+ (DBRoute *)DBFILESDCopyV2; - /// Accessor method for the createFolder route object. + (DBRoute *)DBFILESCreateFolder; /// Accessor method for the createFolderV2 route object. + (DBRoute *)DBFILESCreateFolderV2; +/// Accessor method for the createFolderBatch route object. ++ (DBRoute *)DBFILESCreateFolderBatch; + +/// Accessor method for the createFolderBatchCheck route object. ++ (DBRoute *)DBFILESCreateFolderBatchCheck; + /// Accessor method for the delete_ route object. + (DBRoute *)DBFILESDelete_; +/// Accessor method for the delete_V2 route object. ++ (DBRoute *)DBFILESDelete_V2; + /// Accessor method for the deleteBatch route object. + (DBRoute *)DBFILESDeleteBatch; /// Accessor method for the deleteBatchCheck route object. + (DBRoute *)DBFILESDeleteBatchCheck; -/// Accessor method for the deleteV2 route object. -+ (DBRoute *)DBFILESDeleteV2; - /// Accessor method for the download route object. + (DBRoute *)DBFILESDownload; +/// Accessor method for the downloadZip route object. ++ (DBRoute *)DBFILESDownloadZip; + +/// Accessor method for the export route object. ++ (DBRoute *)DBFILESExport; + +/// Accessor method for the getFileLockBatch route object. ++ (DBRoute *)DBFILESGetFileLockBatch; + /// Accessor method for the getMetadata route object. + (DBRoute *)DBFILESGetMetadata; @@ -71,9 +92,15 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the getTemporaryLink route object. + (DBRoute *)DBFILESGetTemporaryLink; +/// Accessor method for the getTemporaryUploadLink route object. ++ (DBRoute *)DBFILESGetTemporaryUploadLink; + /// Accessor method for the getThumbnail route object. + (DBRoute *)DBFILESGetThumbnail; +/// Accessor method for the getThumbnailV2 route object. ++ (DBRoute *)DBFILESGetThumbnailV2; + /// Accessor method for the getThumbnailBatch route object. + (DBRoute *)DBFILESGetThumbnailBatch; @@ -92,17 +119,32 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the listRevisions route object. + (DBRoute *)DBFILESListRevisions; +/// Accessor method for the lockFileBatch route object. ++ (DBRoute *)DBFILESLockFileBatch; + /// Accessor method for the move route object. + (DBRoute *)DBFILESMove; +/// Accessor method for the moveV2 route object. ++ (DBRoute *)DBFILESMoveV2; + /// Accessor method for the moveBatch route object. + (DBRoute *)DBFILESMoveBatch; +/// Accessor method for the moveBatchV2 route object. ++ (DBRoute *)DBFILESMoveBatchV2; + /// Accessor method for the moveBatchCheck route object. + (DBRoute *)DBFILESMoveBatchCheck; -/// Accessor method for the moveV2 route object. -+ (DBRoute *)DBFILESMoveV2; +/// Accessor method for the moveBatchCheckV2 route object. ++ (DBRoute *)DBFILESMoveBatchCheckV2; + +/// Accessor method for the paperCreate route object. ++ (DBRoute *)DBFILESPaperCreate; + +/// Accessor method for the paperUpdate route object. ++ (DBRoute *)DBFILESPaperUpdate; /// Accessor method for the permanentlyDelete route object. + (DBRoute *)DBFILESPermanentlyDelete; @@ -137,6 +179,24 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the search route object. + (DBRoute *)DBFILESSearch; +/// Accessor method for the searchV2 route object. ++ (DBRoute *)DBFILESSearchV2; + +/// Accessor method for the searchContinueV2 route object. ++ (DBRoute *)DBFILESSearchContinueV2; + +/// Accessor method for the tagsAdd route object. ++ (DBRoute *)DBFILESTagsAdd; + +/// Accessor method for the tagsGet route object. ++ (DBRoute *)DBFILESTagsGet; + +/// Accessor method for the tagsRemove route object. ++ (DBRoute *)DBFILESTagsRemove; + +/// Accessor method for the unlockFileBatch route object. ++ (DBRoute *)DBFILESUnlockFileBatch; + /// Accessor method for the upload route object. + (DBRoute *)DBFILESUpload; @@ -152,12 +212,18 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the uploadSessionFinishBatch route object. + (DBRoute *)DBFILESUploadSessionFinishBatch; +/// Accessor method for the uploadSessionFinishBatchV2 route object. ++ (DBRoute *)DBFILESUploadSessionFinishBatchV2; + /// Accessor method for the uploadSessionFinishBatchCheck route object. + (DBRoute *)DBFILESUploadSessionFinishBatchCheck; /// Accessor method for the uploadSessionStart route object. + (DBRoute *)DBFILESUploadSessionStart; +/// Accessor method for the uploadSessionStartBatch route object. ++ (DBRoute *)DBFILESUploadSessionStartBatch; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m index 0cbbbb571..a991dc747 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBFILESRouteObjects.m @@ -21,7 +21,14 @@ #import "DBFILEPROPERTIESRemovePropertiesError.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESUpdatePropertiesError.h" +#import "DBFILESAddTagError.h" #import "DBFILESAlphaGetMetadataError.h" +#import "DBFILESAppAuthRoutes.h" +#import "DBFILESBaseTagError.h" +#import "DBFILESCreateFolderBatchError.h" +#import "DBFILESCreateFolderBatchJobStatus.h" +#import "DBFILESCreateFolderBatchLaunch.h" +#import "DBFILESCreateFolderBatchResult.h" #import "DBFILESCreateFolderError.h" #import "DBFILESCreateFolderResult.h" #import "DBFILESDeleteBatchError.h" @@ -32,6 +39,13 @@ #import "DBFILESDeleteResult.h" #import "DBFILESDeletedMetadata.h" #import "DBFILESDownloadError.h" +#import "DBFILESDownloadZipError.h" +#import "DBFILESDownloadZipResult.h" +#import "DBFILESExportError.h" +#import "DBFILESExportInfo.h" +#import "DBFILESExportMetadata.h" +#import "DBFILESExportResult.h" +#import "DBFILESFileLockMetadata.h" #import "DBFILESFileMetadata.h" #import "DBFILESFileOpsResult.h" #import "DBFILESFileSharingInfo.h" @@ -40,8 +54,10 @@ #import "DBFILESGetCopyReferenceError.h" #import "DBFILESGetCopyReferenceResult.h" #import "DBFILESGetMetadataError.h" +#import "DBFILESGetTagsResult.h" #import "DBFILESGetTemporaryLinkError.h" #import "DBFILESGetTemporaryLinkResult.h" +#import "DBFILESGetTemporaryUploadLinkResult.h" #import "DBFILESGetThumbnailBatchError.h" #import "DBFILESGetThumbnailBatchResult.h" #import "DBFILESGetThumbnailBatchResultEntry.h" @@ -53,16 +69,34 @@ #import "DBFILESListFolderResult.h" #import "DBFILESListRevisionsError.h" #import "DBFILESListRevisionsResult.h" +#import "DBFILESLockConflictError.h" +#import "DBFILESLockFileBatchResult.h" +#import "DBFILESLockFileError.h" +#import "DBFILESLockFileResultEntry.h" #import "DBFILESLookupError.h" #import "DBFILESMediaInfo.h" #import "DBFILESMetadata.h" +#import "DBFILESMinimalFileLinkMetadata.h" +#import "DBFILESMoveIntoFamilyError.h" +#import "DBFILESMoveIntoVaultError.h" +#import "DBFILESPaperContentError.h" +#import "DBFILESPaperCreateError.h" +#import "DBFILESPaperCreateResult.h" +#import "DBFILESPaperUpdateError.h" +#import "DBFILESPaperUpdateResult.h" +#import "DBFILESPathToTags.h" #import "DBFILESPreviewError.h" +#import "DBFILESPreviewResult.h" #import "DBFILESRelocationBatchError.h" #import "DBFILESRelocationBatchJobStatus.h" #import "DBFILESRelocationBatchLaunch.h" #import "DBFILESRelocationBatchResult.h" +#import "DBFILESRelocationBatchV2JobStatus.h" +#import "DBFILESRelocationBatchV2Launch.h" +#import "DBFILESRelocationBatchV2Result.h" #import "DBFILESRelocationError.h" #import "DBFILESRelocationResult.h" +#import "DBFILESRemoveTagError.h" #import "DBFILESRestoreError.h" #import "DBFILESSaveCopyReferenceError.h" #import "DBFILESSaveCopyReferenceResult.h" @@ -71,16 +105,23 @@ #import "DBFILESSaveUrlResult.h" #import "DBFILESSearchError.h" #import "DBFILESSearchMatch.h" +#import "DBFILESSearchMatchV2.h" #import "DBFILESSearchResult.h" +#import "DBFILESSearchV2Result.h" +#import "DBFILESSymlinkInfo.h" #import "DBFILESThumbnailError.h" +#import "DBFILESThumbnailV2Error.h" #import "DBFILESUploadError.h" -#import "DBFILESUploadErrorWithProperties.h" +#import "DBFILESUploadSessionAppendError.h" #import "DBFILESUploadSessionFinishBatchJobStatus.h" #import "DBFILESUploadSessionFinishBatchLaunch.h" #import "DBFILESUploadSessionFinishBatchResult.h" +#import "DBFILESUploadSessionFinishBatchResultEntry.h" #import "DBFILESUploadSessionFinishError.h" #import "DBFILESUploadSessionLookupError.h" #import "DBFILESUploadSessionOffsetError.h" +#import "DBFILESUploadSessionStartBatchResult.h" +#import "DBFILESUploadSessionStartError.h" #import "DBFILESUploadSessionStartResult.h" #import "DBFILESUploadWriteFailed.h" #import "DBFILESUserAuthRoutes.h" @@ -93,32 +134,46 @@ @implementation DBFILESRouteObjects static DBRoute *DBFILESAlphaGetMetadata; static DBRoute *DBFILESAlphaUpload; static DBRoute *DBFILESDCopy; +static DBRoute *DBFILESDCopyV2; static DBRoute *DBFILESDCopyBatch; +static DBRoute *DBFILESDCopyBatchV2; static DBRoute *DBFILESDCopyBatchCheck; +static DBRoute *DBFILESDCopyBatchCheckV2; static DBRoute *DBFILESDCopyReferenceGet; static DBRoute *DBFILESDCopyReferenceSave; -static DBRoute *DBFILESDCopyV2; static DBRoute *DBFILESCreateFolder; static DBRoute *DBFILESCreateFolderV2; +static DBRoute *DBFILESCreateFolderBatch; +static DBRoute *DBFILESCreateFolderBatchCheck; static DBRoute *DBFILESDelete_; +static DBRoute *DBFILESDelete_V2; static DBRoute *DBFILESDeleteBatch; static DBRoute *DBFILESDeleteBatchCheck; -static DBRoute *DBFILESDeleteV2; static DBRoute *DBFILESDownload; +static DBRoute *DBFILESDownloadZip; +static DBRoute *DBFILESExport; +static DBRoute *DBFILESGetFileLockBatch; static DBRoute *DBFILESGetMetadata; static DBRoute *DBFILESGetPreview; static DBRoute *DBFILESGetTemporaryLink; +static DBRoute *DBFILESGetTemporaryUploadLink; static DBRoute *DBFILESGetThumbnail; +static DBRoute *DBFILESGetThumbnailV2; static DBRoute *DBFILESGetThumbnailBatch; static DBRoute *DBFILESListFolder; static DBRoute *DBFILESListFolderContinue; static DBRoute *DBFILESListFolderGetLatestCursor; static DBRoute *DBFILESListFolderLongpoll; static DBRoute *DBFILESListRevisions; +static DBRoute *DBFILESLockFileBatch; static DBRoute *DBFILESMove; +static DBRoute *DBFILESMoveV2; static DBRoute *DBFILESMoveBatch; +static DBRoute *DBFILESMoveBatchV2; static DBRoute *DBFILESMoveBatchCheck; -static DBRoute *DBFILESMoveV2; +static DBRoute *DBFILESMoveBatchCheckV2; +static DBRoute *DBFILESPaperCreate; +static DBRoute *DBFILESPaperUpdate; static DBRoute *DBFILESPermanentlyDelete; static DBRoute *DBFILESPropertiesAdd; static DBRoute *DBFILESPropertiesOverwrite; @@ -130,858 +185,1138 @@ @implementation DBFILESRouteObjects static DBRoute *DBFILESSaveUrl; static DBRoute *DBFILESSaveUrlCheckJobStatus; static DBRoute *DBFILESSearch; +static DBRoute *DBFILESSearchV2; +static DBRoute *DBFILESSearchContinueV2; +static DBRoute *DBFILESTagsAdd; +static DBRoute *DBFILESTagsGet; +static DBRoute *DBFILESTagsRemove; +static DBRoute *DBFILESUnlockFileBatch; static DBRoute *DBFILESUpload; static DBRoute *DBFILESUploadSessionAppend; static DBRoute *DBFILESUploadSessionAppendV2; static DBRoute *DBFILESUploadSessionFinish; static DBRoute *DBFILESUploadSessionFinishBatch; +static DBRoute *DBFILESUploadSessionFinishBatchV2; static DBRoute *DBFILESUploadSessionFinishBatchCheck; static DBRoute *DBFILESUploadSessionStart; +static DBRoute *DBFILESUploadSessionStartBatch; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + (DBRoute *)DBFILESAlphaGetMetadata { - if (!DBFILESAlphaGetMetadata) { - DBFILESAlphaGetMetadata = [[DBRoute alloc] init:@"alpha/get_metadata" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESMetadata class] - errorType:[DBFILESAlphaGetMetadataError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESAlphaGetMetadata) { + DBFILESAlphaGetMetadata = [[DBRoute alloc] init:@"alpha/get_metadata" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESMetadata class] + errorType:[DBFILESAlphaGetMetadataError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESAlphaGetMetadata; } - return DBFILESAlphaGetMetadata; } + (DBRoute *)DBFILESAlphaUpload { - if (!DBFILESAlphaUpload) { - DBFILESAlphaUpload = [[DBRoute alloc] init:@"alpha/upload" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESUploadErrorWithProperties class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESAlphaUpload) { + DBFILESAlphaUpload = [[DBRoute alloc] init:@"alpha/upload" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESUploadError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESAlphaUpload; } - return DBFILESAlphaUpload; } + (DBRoute *)DBFILESDCopy { - if (!DBFILESDCopy) { - DBFILESDCopy = [[DBRoute alloc] init:@"copy" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESMetadata class] - errorType:[DBFILESRelocationError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBFILESDCopy; + @synchronized(lockObj) { + if (!DBFILESDCopy) { + DBFILESDCopy = [[DBRoute alloc] init:@"copy" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESMetadata class] + errorType:[DBFILESRelocationError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopy; + } +} + ++ (DBRoute *)DBFILESDCopyV2 { + @synchronized(lockObj) { + if (!DBFILESDCopyV2) { + DBFILESDCopyV2 = [[DBRoute alloc] init:@"copy_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationResult class] + errorType:[DBFILESRelocationError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyV2; + } } + (DBRoute *)DBFILESDCopyBatch { - if (!DBFILESDCopyBatch) { - DBFILESDCopyBatch = [[DBRoute alloc] init:@"copy_batch" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationBatchLaunch class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESDCopyBatch) { + DBFILESDCopyBatch = [[DBRoute alloc] init:@"copy_batch" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESRelocationBatchLaunch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyBatch; } - return DBFILESDCopyBatch; } -+ (DBRoute *)DBFILESDCopyBatchCheck { - if (!DBFILESDCopyBatchCheck) { - DBFILESDCopyBatchCheck = [[DBRoute alloc] init:@"copy_batch/check" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationBatchJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDCopyBatchV2 { + @synchronized(lockObj) { + if (!DBFILESDCopyBatchV2) { + DBFILESDCopyBatchV2 = [[DBRoute alloc] init:@"copy_batch_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationBatchV2Launch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyBatchV2; } - return DBFILESDCopyBatchCheck; } -+ (DBRoute *)DBFILESDCopyReferenceGet { - if (!DBFILESDCopyReferenceGet) { - DBFILESDCopyReferenceGet = [[DBRoute alloc] init:@"copy_reference/get" ++ (DBRoute *)DBFILESDCopyBatchCheck { + @synchronized(lockObj) { + if (!DBFILESDCopyBatchCheck) { + DBFILESDCopyBatchCheck = [[DBRoute alloc] init:@"copy_batch/check" namespace_:@"files" - deprecated:@NO - resultType:[DBFILESGetCopyReferenceResult class] - errorType:[DBFILESGetCopyReferenceError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + deprecated:@YES + resultType:[DBFILESRelocationBatchJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESDCopyBatchCheck; } - return DBFILESDCopyReferenceGet; } -+ (DBRoute *)DBFILESDCopyReferenceSave { - if (!DBFILESDCopyReferenceSave) { - DBFILESDCopyReferenceSave = [[DBRoute alloc] init:@"copy_reference/save" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESSaveCopyReferenceResult class] - errorType:[DBFILESSaveCopyReferenceError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDCopyBatchCheckV2 { + @synchronized(lockObj) { + if (!DBFILESDCopyBatchCheckV2) { + DBFILESDCopyBatchCheckV2 = [[DBRoute alloc] init:@"copy_batch/check_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationBatchV2JobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyBatchCheckV2; } - return DBFILESDCopyReferenceSave; } -+ (DBRoute *)DBFILESDCopyV2 { - if (!DBFILESDCopyV2) { - DBFILESDCopyV2 = [[DBRoute alloc] init:@"copy_v2" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationResult class] - errorType:[DBFILESRelocationError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDCopyReferenceGet { + @synchronized(lockObj) { + if (!DBFILESDCopyReferenceGet) { + DBFILESDCopyReferenceGet = [[DBRoute alloc] init:@"copy_reference/get" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESGetCopyReferenceResult class] + errorType:[DBFILESGetCopyReferenceError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyReferenceGet; } - return DBFILESDCopyV2; } -+ (DBRoute *)DBFILESCreateFolder { - if (!DBFILESCreateFolder) { - DBFILESCreateFolder = [[DBRoute alloc] init:@"create_folder" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESFolderMetadata class] - errorType:[DBFILESCreateFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDCopyReferenceSave { + @synchronized(lockObj) { + if (!DBFILESDCopyReferenceSave) { + DBFILESDCopyReferenceSave = [[DBRoute alloc] init:@"copy_reference/save" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESSaveCopyReferenceResult class] + errorType:[DBFILESSaveCopyReferenceError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDCopyReferenceSave; } - return DBFILESCreateFolder; } -+ (DBRoute *)DBFILESCreateFolderV2 { - if (!DBFILESCreateFolderV2) { - DBFILESCreateFolderV2 = [[DBRoute alloc] init:@"create_folder_v2" ++ (DBRoute *)DBFILESCreateFolder { + @synchronized(lockObj) { + if (!DBFILESCreateFolder) { + DBFILESCreateFolder = [[DBRoute alloc] init:@"create_folder" namespace_:@"files" - deprecated:@NO - resultType:[DBFILESCreateFolderResult class] + deprecated:@YES + resultType:[DBFILESFolderMetadata class] errorType:[DBFILESCreateFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESCreateFolder; + } +} + ++ (DBRoute *)DBFILESCreateFolderV2 { + @synchronized(lockObj) { + if (!DBFILESCreateFolderV2) { + DBFILESCreateFolderV2 = [[DBRoute alloc] init:@"create_folder_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESCreateFolderResult class] + errorType:[DBFILESCreateFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESCreateFolderV2; + } +} + ++ (DBRoute *)DBFILESCreateFolderBatch { + @synchronized(lockObj) { + if (!DBFILESCreateFolderBatch) { + DBFILESCreateFolderBatch = [[DBRoute alloc] init:@"create_folder_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESCreateFolderBatchLaunch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESCreateFolderBatch; + } +} + ++ (DBRoute *)DBFILESCreateFolderBatchCheck { + @synchronized(lockObj) { + if (!DBFILESCreateFolderBatchCheck) { + DBFILESCreateFolderBatchCheck = [[DBRoute alloc] init:@"create_folder_batch/check" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESCreateFolderBatchJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESCreateFolderBatchCheck; } - return DBFILESCreateFolderV2; } + (DBRoute *)DBFILESDelete_ { - if (!DBFILESDelete_) { - DBFILESDelete_ = [[DBRoute alloc] init:@"delete" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESMetadata class] - errorType:[DBFILESDeleteError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESDelete_) { + DBFILESDelete_ = [[DBRoute alloc] init:@"delete" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESMetadata class] + errorType:[DBFILESDeleteError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDelete_; } - return DBFILESDelete_; } -+ (DBRoute *)DBFILESDeleteBatch { - if (!DBFILESDeleteBatch) { - DBFILESDeleteBatch = [[DBRoute alloc] init:@"delete_batch" ++ (DBRoute *)DBFILESDelete_V2 { + @synchronized(lockObj) { + if (!DBFILESDelete_V2) { + DBFILESDelete_V2 = [[DBRoute alloc] init:@"delete_v2" namespace_:@"files" deprecated:@NO - resultType:[DBFILESDeleteBatchLaunch class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:[DBFILESDeleteResult class] + errorType:[DBFILESDeleteError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESDelete_V2; } - return DBFILESDeleteBatch; } -+ (DBRoute *)DBFILESDeleteBatchCheck { - if (!DBFILESDeleteBatchCheck) { - DBFILESDeleteBatchCheck = [[DBRoute alloc] init:@"delete_batch/check" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESDeleteBatchJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDeleteBatch { + @synchronized(lockObj) { + if (!DBFILESDeleteBatch) { + DBFILESDeleteBatch = [[DBRoute alloc] init:@"delete_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESDeleteBatchLaunch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDeleteBatch; } - return DBFILESDeleteBatchCheck; } -+ (DBRoute *)DBFILESDeleteV2 { - if (!DBFILESDeleteV2) { - DBFILESDeleteV2 = [[DBRoute alloc] init:@"delete_v2" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESDeleteResult class] - errorType:[DBFILESDeleteError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESDeleteBatchCheck { + @synchronized(lockObj) { + if (!DBFILESDeleteBatchCheck) { + DBFILESDeleteBatchCheck = [[DBRoute alloc] init:@"delete_batch/check" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESDeleteBatchJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDeleteBatchCheck; } - return DBFILESDeleteV2; } + (DBRoute *)DBFILESDownload { - if (!DBFILESDownload) { - DBFILESDownload = [[DBRoute alloc] init:@"download" + @synchronized(lockObj) { + if (!DBFILESDownload) { + DBFILESDownload = [[DBRoute alloc] init:@"download" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESDownloadError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDownload; + } +} + ++ (DBRoute *)DBFILESDownloadZip { + @synchronized(lockObj) { + if (!DBFILESDownloadZip) { + DBFILESDownloadZip = [[DBRoute alloc] init:@"download_zip" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESDownloadZipResult class] + errorType:[DBFILESDownloadZipError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESDownloadZip; + } +} + ++ (DBRoute *)DBFILESExport { + @synchronized(lockObj) { + if (!DBFILESExport) { + DBFILESExport = [[DBRoute alloc] init:@"export" namespace_:@"files" deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESDownloadError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"download" - } + resultType:[DBFILESExportResult class] + errorType:[DBFILESExportError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESExport; + } +} + ++ (DBRoute *)DBFILESGetFileLockBatch { + @synchronized(lockObj) { + if (!DBFILESGetFileLockBatch) { + DBFILESGetFileLockBatch = [[DBRoute alloc] init:@"get_file_lock_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESLockFileBatchResult class] + errorType:[DBFILESLockFileError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetFileLockBatch; } - return DBFILESDownload; } + (DBRoute *)DBFILESGetMetadata { - if (!DBFILESGetMetadata) { - DBFILESGetMetadata = [[DBRoute alloc] init:@"get_metadata" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESMetadata class] - errorType:[DBFILESGetMetadataError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESGetMetadata) { + DBFILESGetMetadata = [[DBRoute alloc] init:@"get_metadata" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESMetadata class] + errorType:[DBFILESGetMetadataError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetMetadata; } - return DBFILESGetMetadata; } + (DBRoute *)DBFILESGetPreview { - if (!DBFILESGetPreview) { - DBFILESGetPreview = [[DBRoute alloc] init:@"get_preview" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESPreviewError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"download" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESGetPreview) { + DBFILESGetPreview = [[DBRoute alloc] init:@"get_preview" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESPreviewError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetPreview; } - return DBFILESGetPreview; } + (DBRoute *)DBFILESGetTemporaryLink { - if (!DBFILESGetTemporaryLink) { - DBFILESGetTemporaryLink = [[DBRoute alloc] init:@"get_temporary_link" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESGetTemporaryLinkResult class] - errorType:[DBFILESGetTemporaryLinkError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESGetTemporaryLink) { + DBFILESGetTemporaryLink = [[DBRoute alloc] init:@"get_temporary_link" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESGetTemporaryLinkResult class] + errorType:[DBFILESGetTemporaryLinkError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetTemporaryLink; + } +} + ++ (DBRoute *)DBFILESGetTemporaryUploadLink { + @synchronized(lockObj) { + if (!DBFILESGetTemporaryUploadLink) { + DBFILESGetTemporaryUploadLink = [[DBRoute alloc] init:@"get_temporary_upload_link" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESGetTemporaryUploadLinkResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetTemporaryUploadLink; } - return DBFILESGetTemporaryLink; } + (DBRoute *)DBFILESGetThumbnail { - if (!DBFILESGetThumbnail) { - DBFILESGetThumbnail = [[DBRoute alloc] init:@"get_thumbnail" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESThumbnailError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"download" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESGetThumbnail) { + DBFILESGetThumbnail = [[DBRoute alloc] init:@"get_thumbnail" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESThumbnailError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetThumbnail; + } +} + ++ (DBRoute *)DBFILESGetThumbnailV2 { + @synchronized(lockObj) { + if (!DBFILESGetThumbnailV2) { + DBFILESGetThumbnailV2 = + [[DBRoute alloc] init:@"get_thumbnail_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESPreviewResult class] + errorType:[DBFILESThumbnailV2Error class] + attrs:@{@"auth" : @"app, user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetThumbnailV2; } - return DBFILESGetThumbnail; } + (DBRoute *)DBFILESGetThumbnailBatch { - if (!DBFILESGetThumbnailBatch) { - DBFILESGetThumbnailBatch = [[DBRoute alloc] init:@"get_thumbnail_batch" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESGetThumbnailBatchResult class] - errorType:[DBFILESGetThumbnailBatchError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESGetThumbnailBatch) { + DBFILESGetThumbnailBatch = [[DBRoute alloc] init:@"get_thumbnail_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESGetThumbnailBatchResult class] + errorType:[DBFILESGetThumbnailBatchError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESGetThumbnailBatch; } - return DBFILESGetThumbnailBatch; } + (DBRoute *)DBFILESListFolder { - if (!DBFILESListFolder) { - DBFILESListFolder = [[DBRoute alloc] init:@"list_folder" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESListFolderResult class] - errorType:[DBFILESListFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESListFolder) { + DBFILESListFolder = [[DBRoute alloc] init:@"list_folder" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESListFolderResult class] + errorType:[DBFILESListFolderError class] + attrs:@{@"auth" : @"app, user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESListFolder; } - return DBFILESListFolder; } + (DBRoute *)DBFILESListFolderContinue { - if (!DBFILESListFolderContinue) { - DBFILESListFolderContinue = [[DBRoute alloc] init:@"list_folder/continue" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESListFolderResult class] - errorType:[DBFILESListFolderContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESListFolderContinue) { + DBFILESListFolderContinue = [[DBRoute alloc] init:@"list_folder/continue" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESListFolderResult class] + errorType:[DBFILESListFolderContinueError class] + attrs:@{@"auth" : @"app, user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESListFolderContinue; } - return DBFILESListFolderContinue; } + (DBRoute *)DBFILESListFolderGetLatestCursor { - if (!DBFILESListFolderGetLatestCursor) { - DBFILESListFolderGetLatestCursor = [[DBRoute alloc] init:@"list_folder/get_latest_cursor" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESListFolderGetLatestCursorResult class] - errorType:[DBFILESListFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESListFolderGetLatestCursor) { + DBFILESListFolderGetLatestCursor = [[DBRoute alloc] init:@"list_folder/get_latest_cursor" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESListFolderGetLatestCursorResult class] + errorType:[DBFILESListFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESListFolderGetLatestCursor; } - return DBFILESListFolderGetLatestCursor; } + (DBRoute *)DBFILESListFolderLongpoll { - if (!DBFILESListFolderLongpoll) { - DBFILESListFolderLongpoll = [[DBRoute alloc] init:@"list_folder/longpoll" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESListFolderLongpollResult class] - errorType:[DBFILESListFolderLongpollError class] - attrs:@{ - @"auth" : @"noauth", - @"host" : @"notify", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESListFolderLongpoll) { + DBFILESListFolderLongpoll = [[DBRoute alloc] init:@"list_folder/longpoll" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESListFolderLongpollResult class] + errorType:[DBFILESListFolderLongpollError class] + attrs:@{@"auth" : @"noauth", @"host" : @"notify", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESListFolderLongpoll; } - return DBFILESListFolderLongpoll; } + (DBRoute *)DBFILESListRevisions { - if (!DBFILESListRevisions) { - DBFILESListRevisions = [[DBRoute alloc] init:@"list_revisions" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESListRevisionsResult class] - errorType:[DBFILESListRevisionsError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESListRevisions) { + DBFILESListRevisions = [[DBRoute alloc] init:@"list_revisions" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESListRevisionsResult class] + errorType:[DBFILESListRevisionsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESListRevisions; + } +} + ++ (DBRoute *)DBFILESLockFileBatch { + @synchronized(lockObj) { + if (!DBFILESLockFileBatch) { + DBFILESLockFileBatch = [[DBRoute alloc] init:@"lock_file_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESLockFileBatchResult class] + errorType:[DBFILESLockFileError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESLockFileBatch; } - return DBFILESListRevisions; } + (DBRoute *)DBFILESMove { - if (!DBFILESMove) { - DBFILESMove = [[DBRoute alloc] init:@"move" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILESMetadata class] - errorType:[DBFILESRelocationError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBFILESMove; + @synchronized(lockObj) { + if (!DBFILESMove) { + DBFILESMove = [[DBRoute alloc] init:@"move" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESMetadata class] + errorType:[DBFILESRelocationError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMove; + } +} + ++ (DBRoute *)DBFILESMoveV2 { + @synchronized(lockObj) { + if (!DBFILESMoveV2) { + DBFILESMoveV2 = [[DBRoute alloc] init:@"move_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationResult class] + errorType:[DBFILESRelocationError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMoveV2; + } } + (DBRoute *)DBFILESMoveBatch { - if (!DBFILESMoveBatch) { - DBFILESMoveBatch = [[DBRoute alloc] init:@"move_batch" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationBatchLaunch class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESMoveBatch) { + DBFILESMoveBatch = [[DBRoute alloc] init:@"move_batch" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESRelocationBatchLaunch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMoveBatch; + } +} + ++ (DBRoute *)DBFILESMoveBatchV2 { + @synchronized(lockObj) { + if (!DBFILESMoveBatchV2) { + DBFILESMoveBatchV2 = [[DBRoute alloc] init:@"move_batch_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationBatchV2Launch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMoveBatchV2; } - return DBFILESMoveBatch; } + (DBRoute *)DBFILESMoveBatchCheck { - if (!DBFILESMoveBatchCheck) { - DBFILESMoveBatchCheck = [[DBRoute alloc] init:@"move_batch/check" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationBatchJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESMoveBatchCheck) { + DBFILESMoveBatchCheck = [[DBRoute alloc] init:@"move_batch/check" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESRelocationBatchJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMoveBatchCheck; } - return DBFILESMoveBatchCheck; } -+ (DBRoute *)DBFILESMoveV2 { - if (!DBFILESMoveV2) { - DBFILESMoveV2 = [[DBRoute alloc] init:@"move_v2" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESRelocationResult class] - errorType:[DBFILESRelocationError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESMoveBatchCheckV2 { + @synchronized(lockObj) { + if (!DBFILESMoveBatchCheckV2) { + DBFILESMoveBatchCheckV2 = [[DBRoute alloc] init:@"move_batch/check_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESRelocationBatchV2JobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESMoveBatchCheckV2; } - return DBFILESMoveV2; } -+ (DBRoute *)DBFILESPermanentlyDelete { - if (!DBFILESPermanentlyDelete) { - DBFILESPermanentlyDelete = [[DBRoute alloc] init:@"permanently_delete" - namespace_:@"files" - deprecated:@NO - resultType:nil - errorType:[DBFILESDeleteError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESPaperCreate { + @synchronized(lockObj) { + if (!DBFILESPaperCreate) { + DBFILESPaperCreate = [[DBRoute alloc] init:@"paper/create" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESPaperCreateResult class] + errorType:[DBFILESPaperCreateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPaperCreate; } - return DBFILESPermanentlyDelete; } -+ (DBRoute *)DBFILESPropertiesAdd { - if (!DBFILESPropertiesAdd) { - DBFILESPropertiesAdd = [[DBRoute alloc] init:@"properties/add" ++ (DBRoute *)DBFILESPaperUpdate { + @synchronized(lockObj) { + if (!DBFILESPaperUpdate) { + DBFILESPaperUpdate = [[DBRoute alloc] init:@"paper/update" namespace_:@"files" - deprecated:@YES - resultType:nil - errorType:[DBFILEPROPERTIESAddPropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + deprecated:@NO + resultType:[DBFILESPaperUpdateResult class] + errorType:[DBFILESPaperUpdateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"upload"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESPaperUpdate; } - return DBFILESPropertiesAdd; } -+ (DBRoute *)DBFILESPropertiesOverwrite { - if (!DBFILESPropertiesOverwrite) { - DBFILESPropertiesOverwrite = [[DBRoute alloc] init:@"properties/overwrite" ++ (DBRoute *)DBFILESPermanentlyDelete { + @synchronized(lockObj) { + if (!DBFILESPermanentlyDelete) { + DBFILESPermanentlyDelete = [[DBRoute alloc] init:@"permanently_delete" namespace_:@"files" - deprecated:@YES + deprecated:@NO resultType:nil - errorType:[DBFILEPROPERTIESInvalidPropertyGroupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + errorType:[DBFILESDeleteError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESPermanentlyDelete; } - return DBFILESPropertiesOverwrite; } -+ (DBRoute *)DBFILESPropertiesRemove { - if (!DBFILESPropertiesRemove) { - DBFILESPropertiesRemove = [[DBRoute alloc] init:@"properties/remove" - namespace_:@"files" - deprecated:@YES - resultType:nil - errorType:[DBFILEPROPERTIESRemovePropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBFILESPropertiesAdd { + @synchronized(lockObj) { + if (!DBFILESPropertiesAdd) { + DBFILESPropertiesAdd = [[DBRoute alloc] init:@"properties/add" + namespace_:@"files" + deprecated:@YES + resultType:nil + errorType:[DBFILEPROPERTIESAddPropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesAdd; } - return DBFILESPropertiesRemove; } -+ (DBRoute *)DBFILESPropertiesTemplateGet { - if (!DBFILESPropertiesTemplateGet) { - DBFILESPropertiesTemplateGet = [[DBRoute alloc] init:@"properties/template/get" ++ (DBRoute *)DBFILESPropertiesOverwrite { + @synchronized(lockObj) { + if (!DBFILESPropertiesOverwrite) { + DBFILESPropertiesOverwrite = [[DBRoute alloc] init:@"properties/overwrite" namespace_:@"files" deprecated:@YES - resultType:[DBFILEPROPERTIESGetTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:nil + errorType:[DBFILEPROPERTIESInvalidPropertyGroupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesOverwrite; + } +} + ++ (DBRoute *)DBFILESPropertiesRemove { + @synchronized(lockObj) { + if (!DBFILESPropertiesRemove) { + DBFILESPropertiesRemove = [[DBRoute alloc] init:@"properties/remove" + namespace_:@"files" + deprecated:@YES + resultType:nil + errorType:[DBFILEPROPERTIESRemovePropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesRemove; + } +} + ++ (DBRoute *)DBFILESPropertiesTemplateGet { + @synchronized(lockObj) { + if (!DBFILESPropertiesTemplateGet) { + DBFILESPropertiesTemplateGet = [[DBRoute alloc] init:@"properties/template/get" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILEPROPERTIESGetTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesTemplateGet; } - return DBFILESPropertiesTemplateGet; } + (DBRoute *)DBFILESPropertiesTemplateList { - if (!DBFILESPropertiesTemplateList) { - DBFILESPropertiesTemplateList = [[DBRoute alloc] init:@"properties/template/list" - namespace_:@"files" - deprecated:@YES - resultType:[DBFILEPROPERTIESListTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBFILESPropertiesTemplateList; + @synchronized(lockObj) { + if (!DBFILESPropertiesTemplateList) { + DBFILESPropertiesTemplateList = [[DBRoute alloc] init:@"properties/template/list" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILEPROPERTIESListTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesTemplateList; + } } + (DBRoute *)DBFILESPropertiesUpdate { - if (!DBFILESPropertiesUpdate) { - DBFILESPropertiesUpdate = [[DBRoute alloc] init:@"properties/update" - namespace_:@"files" - deprecated:@YES - resultType:nil - errorType:[DBFILEPROPERTIESUpdatePropertiesError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESPropertiesUpdate) { + DBFILESPropertiesUpdate = [[DBRoute alloc] init:@"properties/update" + namespace_:@"files" + deprecated:@YES + resultType:nil + errorType:[DBFILEPROPERTIESUpdatePropertiesError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESPropertiesUpdate; } - return DBFILESPropertiesUpdate; } + (DBRoute *)DBFILESRestore { - if (!DBFILESRestore) { - DBFILESRestore = [[DBRoute alloc] init:@"restore" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESRestoreError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESRestore) { + DBFILESRestore = [[DBRoute alloc] init:@"restore" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESRestoreError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESRestore; } - return DBFILESRestore; } + (DBRoute *)DBFILESSaveUrl { - if (!DBFILESSaveUrl) { - DBFILESSaveUrl = [[DBRoute alloc] init:@"save_url" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESSaveUrlResult class] - errorType:[DBFILESSaveUrlError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESSaveUrl) { + DBFILESSaveUrl = [[DBRoute alloc] init:@"save_url" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESSaveUrlResult class] + errorType:[DBFILESSaveUrlError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESSaveUrl; } - return DBFILESSaveUrl; } + (DBRoute *)DBFILESSaveUrlCheckJobStatus { - if (!DBFILESSaveUrlCheckJobStatus) { - DBFILESSaveUrlCheckJobStatus = [[DBRoute alloc] init:@"save_url/check_job_status" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESSaveUrlJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESSaveUrlCheckJobStatus) { + DBFILESSaveUrlCheckJobStatus = [[DBRoute alloc] init:@"save_url/check_job_status" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESSaveUrlJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESSaveUrlCheckJobStatus; } - return DBFILESSaveUrlCheckJobStatus; } + (DBRoute *)DBFILESSearch { - if (!DBFILESSearch) { - DBFILESSearch = [[DBRoute alloc] init:@"search" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESSearchResult class] - errorType:[DBFILESSearchError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESSearch) { + DBFILESSearch = [[DBRoute alloc] init:@"search" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESSearchResult class] + errorType:[DBFILESSearchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESSearch; + } +} + ++ (DBRoute *)DBFILESSearchV2 { + @synchronized(lockObj) { + if (!DBFILESSearchV2) { + DBFILESSearchV2 = [[DBRoute alloc] init:@"search_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESSearchV2Result class] + errorType:[DBFILESSearchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESSearchV2; + } +} + ++ (DBRoute *)DBFILESSearchContinueV2 { + @synchronized(lockObj) { + if (!DBFILESSearchContinueV2) { + DBFILESSearchContinueV2 = [[DBRoute alloc] init:@"search/continue_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESSearchV2Result class] + errorType:[DBFILESSearchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESSearchContinueV2; + } +} + ++ (DBRoute *)DBFILESTagsAdd { + @synchronized(lockObj) { + if (!DBFILESTagsAdd) { + DBFILESTagsAdd = [[DBRoute alloc] init:@"tags/add" + namespace_:@"files" + deprecated:@NO + resultType:nil + errorType:[DBFILESAddTagError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESTagsAdd; + } +} + ++ (DBRoute *)DBFILESTagsGet { + @synchronized(lockObj) { + if (!DBFILESTagsGet) { + DBFILESTagsGet = [[DBRoute alloc] init:@"tags/get" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESGetTagsResult class] + errorType:[DBFILESBaseTagError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESTagsGet; + } +} + ++ (DBRoute *)DBFILESTagsRemove { + @synchronized(lockObj) { + if (!DBFILESTagsRemove) { + DBFILESTagsRemove = [[DBRoute alloc] init:@"tags/remove" + namespace_:@"files" + deprecated:@NO + resultType:nil + errorType:[DBFILESRemoveTagError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESTagsRemove; + } +} + ++ (DBRoute *)DBFILESUnlockFileBatch { + @synchronized(lockObj) { + if (!DBFILESUnlockFileBatch) { + DBFILESUnlockFileBatch = [[DBRoute alloc] init:@"unlock_file_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESLockFileBatchResult class] + errorType:[DBFILESLockFileError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUnlockFileBatch; } - return DBFILESSearch; } + (DBRoute *)DBFILESUpload { - if (!DBFILESUpload) { - DBFILESUpload = [[DBRoute alloc] init:@"upload" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESUploadError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUpload) { + DBFILESUpload = [[DBRoute alloc] init:@"upload" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESUploadError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUpload; } - return DBFILESUpload; } + (DBRoute *)DBFILESUploadSessionAppend { - if (!DBFILESUploadSessionAppend) { - DBFILESUploadSessionAppend = [[DBRoute alloc] init:@"upload_session/append" - namespace_:@"files" - deprecated:@YES - resultType:nil - errorType:[DBFILESUploadSessionLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUploadSessionAppend) { + DBFILESUploadSessionAppend = + [[DBRoute alloc] init:@"upload_session/append" + namespace_:@"files" + deprecated:@YES + resultType:nil + errorType:[DBFILESUploadSessionAppendError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionAppend; } - return DBFILESUploadSessionAppend; } + (DBRoute *)DBFILESUploadSessionAppendV2 { - if (!DBFILESUploadSessionAppendV2) { - DBFILESUploadSessionAppendV2 = [[DBRoute alloc] init:@"upload_session/append_v2" - namespace_:@"files" - deprecated:@NO - resultType:nil - errorType:[DBFILESUploadSessionLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUploadSessionAppendV2) { + DBFILESUploadSessionAppendV2 = + [[DBRoute alloc] init:@"upload_session/append_v2" + namespace_:@"files" + deprecated:@NO + resultType:nil + errorType:[DBFILESUploadSessionAppendError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionAppendV2; } - return DBFILESUploadSessionAppendV2; } + (DBRoute *)DBFILESUploadSessionFinish { - if (!DBFILESUploadSessionFinish) { - DBFILESUploadSessionFinish = [[DBRoute alloc] init:@"upload_session/finish" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESFileMetadata class] - errorType:[DBFILESUploadSessionFinishError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUploadSessionFinish) { + DBFILESUploadSessionFinish = + [[DBRoute alloc] init:@"upload_session/finish" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESFileMetadata class] + errorType:[DBFILESUploadSessionFinishError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionFinish; } - return DBFILESUploadSessionFinish; } + (DBRoute *)DBFILESUploadSessionFinishBatch { - if (!DBFILESUploadSessionFinishBatch) { - DBFILESUploadSessionFinishBatch = [[DBRoute alloc] init:@"upload_session/finish_batch" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESUploadSessionFinishBatchLaunch class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUploadSessionFinishBatch) { + DBFILESUploadSessionFinishBatch = [[DBRoute alloc] init:@"upload_session/finish_batch" + namespace_:@"files" + deprecated:@YES + resultType:[DBFILESUploadSessionFinishBatchLaunch class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionFinishBatch; + } +} + ++ (DBRoute *)DBFILESUploadSessionFinishBatchV2 { + @synchronized(lockObj) { + if (!DBFILESUploadSessionFinishBatchV2) { + DBFILESUploadSessionFinishBatchV2 = + [[DBRoute alloc] init:@"upload_session/finish_batch_v2" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESUploadSessionFinishBatchResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionFinishBatchV2; } - return DBFILESUploadSessionFinishBatch; } + (DBRoute *)DBFILESUploadSessionFinishBatchCheck { - if (!DBFILESUploadSessionFinishBatchCheck) { - DBFILESUploadSessionFinishBatchCheck = [[DBRoute alloc] init:@"upload_session/finish_batch/check" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESUploadSessionFinishBatchJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBFILESUploadSessionFinishBatchCheck; + @synchronized(lockObj) { + if (!DBFILESUploadSessionFinishBatchCheck) { + DBFILESUploadSessionFinishBatchCheck = + [[DBRoute alloc] init:@"upload_session/finish_batch/check" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESUploadSessionFinishBatchJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionFinishBatchCheck; + } } + (DBRoute *)DBFILESUploadSessionStart { - if (!DBFILESUploadSessionStart) { - DBFILESUploadSessionStart = [[DBRoute alloc] init:@"upload_session/start" - namespace_:@"files" - deprecated:@NO - resultType:[DBFILESUploadSessionStartResult class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBFILESUploadSessionStart) { + DBFILESUploadSessionStart = [[DBRoute alloc] init:@"upload_session/start" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESUploadSessionStartResult class] + errorType:[DBFILESUploadSessionStartError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionStart; + } +} + ++ (DBRoute *)DBFILESUploadSessionStartBatch { + @synchronized(lockObj) { + if (!DBFILESUploadSessionStartBatch) { + DBFILESUploadSessionStartBatch = [[DBRoute alloc] init:@"upload_session/start_batch" + namespace_:@"files" + deprecated:@NO + resultType:[DBFILESUploadSessionStartBatchResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBFILESUploadSessionStartBatch; } - return DBFILESUploadSessionStart; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.h new file mode 100644 index 000000000..7aa7cd329 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.h @@ -0,0 +1,25 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import + +@class DBRoute; + +NS_ASSUME_NONNULL_BEGIN + +/// +/// Stone route objects for the Openid namespace. Each route in the Openid +/// namespace has its own static object, which contains information about the +/// route. +/// +@interface DBOPENIDRouteObjects : NSObject + +/// Accessor method for the userinfo route object. ++ (DBRoute *)DBOPENIDUserinfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.m new file mode 100644 index 000000000..d2e5c2d0a --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBOPENIDRouteObjects.m @@ -0,0 +1,43 @@ +/// +/// Copyright (c) 2016 Dropbox, Inc. All rights reserved. +/// +/// Auto-generated by Stone, do not modify. +/// + +#import "DBOPENIDRouteObjects.h" +#import "DBOPENIDOpenIdError.h" +#import "DBOPENIDUserAuthRoutes.h" +#import "DBOPENIDUserInfoError.h" +#import "DBOPENIDUserInfoResult.h" +#import "DBRequestErrors.h" +#import "DBStoneBase.h" + +@implementation DBOPENIDRouteObjects + +static DBRoute *DBOPENIDUserinfo; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBOPENIDUserinfo { + @synchronized(lockObj) { + if (!DBOPENIDUserinfo) { + DBOPENIDUserinfo = [[DBRoute alloc] init:@"userinfo" + namespace_:@"openid" + deprecated:@NO + resultType:[DBOPENIDUserInfoResult class] + errorType:[DBOPENIDUserInfoError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBOPENIDUserinfo; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.h index 31a5208a0..baeac4bd4 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.h @@ -65,6 +65,9 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the docsUsersRemove route object. + (DBRoute *)DBPAPERDocsUsersRemove; +/// Accessor method for the foldersCreate route object. ++ (DBRoute *)DBPAPERFoldersCreate; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.m index cc3f74f54..5bcc75758 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBPAPERRouteObjects.m @@ -24,6 +24,8 @@ #import "DBPAPERPaperDocCreateUpdateResult.h" #import "DBPAPERPaperDocExportResult.h" #import "DBPAPERPaperDocUpdateError.h" +#import "DBPAPERPaperFolderCreateError.h" +#import "DBPAPERPaperFolderCreateResult.h" #import "DBPAPERSharingPolicy.h" #import "DBPAPERSharingPublicPolicyType.h" #import "DBPAPERSharingTeamPolicyType.h" @@ -53,298 +55,293 @@ @implementation DBPAPERRouteObjects static DBRoute *DBPAPERDocsUsersList; static DBRoute *DBPAPERDocsUsersListContinue; static DBRoute *DBPAPERDocsUsersRemove; +static DBRoute *DBPAPERFoldersCreate; + +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + (DBRoute *)DBPAPERDocsArchive { - if (!DBPAPERDocsArchive) { - DBPAPERDocsArchive = [[DBRoute alloc] init:@"docs/archive" - namespace_:@"paper" - deprecated:@NO - resultType:nil - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsArchive) { + DBPAPERDocsArchive = [[DBRoute alloc] init:@"docs/archive" + namespace_:@"paper" + deprecated:@YES + resultType:nil + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsArchive; } - return DBPAPERDocsArchive; } + (DBRoute *)DBPAPERDocsCreate { - if (!DBPAPERDocsCreate) { - DBPAPERDocsCreate = [[DBRoute alloc] init:@"docs/create" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERPaperDocCreateUpdateResult class] - errorType:[DBPAPERPaperDocCreateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsCreate) { + DBPAPERDocsCreate = [[DBRoute alloc] init:@"docs/create" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERPaperDocCreateUpdateResult class] + errorType:[DBPAPERPaperDocCreateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsCreate; } - return DBPAPERDocsCreate; } + (DBRoute *)DBPAPERDocsDownload { - if (!DBPAPERDocsDownload) { - DBPAPERDocsDownload = [[DBRoute alloc] init:@"docs/download" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERPaperDocExportResult class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"download" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsDownload) { + DBPAPERDocsDownload = [[DBRoute alloc] init:@"docs/download" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERPaperDocExportResult class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsDownload; } - return DBPAPERDocsDownload; } + (DBRoute *)DBPAPERDocsFolderUsersList { - if (!DBPAPERDocsFolderUsersList) { - DBPAPERDocsFolderUsersList = [[DBRoute alloc] init:@"docs/folder_users/list" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListUsersOnFolderResponse class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsFolderUsersList) { + DBPAPERDocsFolderUsersList = [[DBRoute alloc] init:@"docs/folder_users/list" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListUsersOnFolderResponse class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsFolderUsersList; } - return DBPAPERDocsFolderUsersList; } + (DBRoute *)DBPAPERDocsFolderUsersListContinue { - if (!DBPAPERDocsFolderUsersListContinue) { - DBPAPERDocsFolderUsersListContinue = [[DBRoute alloc] init:@"docs/folder_users/list/continue" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListUsersOnFolderResponse class] - errorType:[DBPAPERListUsersCursorError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsFolderUsersListContinue) { + DBPAPERDocsFolderUsersListContinue = + [[DBRoute alloc] init:@"docs/folder_users/list/continue" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListUsersOnFolderResponse class] + errorType:[DBPAPERListUsersCursorError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsFolderUsersListContinue; } - return DBPAPERDocsFolderUsersListContinue; } + (DBRoute *)DBPAPERDocsGetFolderInfo { - if (!DBPAPERDocsGetFolderInfo) { - DBPAPERDocsGetFolderInfo = [[DBRoute alloc] init:@"docs/get_folder_info" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERFoldersContainingPaperDoc class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsGetFolderInfo) { + DBPAPERDocsGetFolderInfo = [[DBRoute alloc] init:@"docs/get_folder_info" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERFoldersContainingPaperDoc class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsGetFolderInfo; } - return DBPAPERDocsGetFolderInfo; } + (DBRoute *)DBPAPERDocsList { - if (!DBPAPERDocsList) { - DBPAPERDocsList = [[DBRoute alloc] init:@"docs/list" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListPaperDocsResponse class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsList) { + DBPAPERDocsList = [[DBRoute alloc] init:@"docs/list" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListPaperDocsResponse class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsList; } - return DBPAPERDocsList; } + (DBRoute *)DBPAPERDocsListContinue { - if (!DBPAPERDocsListContinue) { - DBPAPERDocsListContinue = [[DBRoute alloc] init:@"docs/list/continue" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListPaperDocsResponse class] - errorType:[DBPAPERListDocsCursorError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsListContinue) { + DBPAPERDocsListContinue = [[DBRoute alloc] init:@"docs/list/continue" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListPaperDocsResponse class] + errorType:[DBPAPERListDocsCursorError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsListContinue; } - return DBPAPERDocsListContinue; } + (DBRoute *)DBPAPERDocsPermanentlyDelete { - if (!DBPAPERDocsPermanentlyDelete) { - DBPAPERDocsPermanentlyDelete = [[DBRoute alloc] init:@"docs/permanently_delete" - namespace_:@"paper" - deprecated:@NO - resultType:nil - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsPermanentlyDelete) { + DBPAPERDocsPermanentlyDelete = [[DBRoute alloc] init:@"docs/permanently_delete" + namespace_:@"paper" + deprecated:@YES + resultType:nil + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsPermanentlyDelete; } - return DBPAPERDocsPermanentlyDelete; } + (DBRoute *)DBPAPERDocsSharingPolicyGet { - if (!DBPAPERDocsSharingPolicyGet) { - DBPAPERDocsSharingPolicyGet = [[DBRoute alloc] init:@"docs/sharing_policy/get" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERSharingPolicy class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsSharingPolicyGet) { + DBPAPERDocsSharingPolicyGet = [[DBRoute alloc] init:@"docs/sharing_policy/get" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERSharingPolicy class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsSharingPolicyGet; } - return DBPAPERDocsSharingPolicyGet; } + (DBRoute *)DBPAPERDocsSharingPolicySet { - if (!DBPAPERDocsSharingPolicySet) { - DBPAPERDocsSharingPolicySet = [[DBRoute alloc] init:@"docs/sharing_policy/set" - namespace_:@"paper" - deprecated:@NO - resultType:nil - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsSharingPolicySet) { + DBPAPERDocsSharingPolicySet = [[DBRoute alloc] init:@"docs/sharing_policy/set" + namespace_:@"paper" + deprecated:@YES + resultType:nil + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsSharingPolicySet; } - return DBPAPERDocsSharingPolicySet; } + (DBRoute *)DBPAPERDocsUpdate { - if (!DBPAPERDocsUpdate) { - DBPAPERDocsUpdate = [[DBRoute alloc] init:@"docs/update" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERPaperDocCreateUpdateResult class] - errorType:[DBPAPERPaperDocUpdateError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"upload" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsUpdate) { + DBPAPERDocsUpdate = [[DBRoute alloc] init:@"docs/update" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERPaperDocCreateUpdateResult class] + errorType:[DBPAPERPaperDocUpdateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"upload"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsUpdate; } - return DBPAPERDocsUpdate; } + (DBRoute *)DBPAPERDocsUsersAdd { - if (!DBPAPERDocsUsersAdd) { - DBPAPERDocsUsersAdd = [[DBRoute alloc] init:@"docs/users/add" - namespace_:@"paper" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBPAPERAddPaperDocUserMemberResultSerializer deserialize:elem0]; - }]; - }]; + @synchronized(lockObj) { + if (!DBPAPERDocsUsersAdd) { + DBPAPERDocsUsersAdd = + [[DBRoute alloc] init:@"docs/users/add" + namespace_:@"paper" + deprecated:@YES + resultType:[NSArray class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBPAPERAddPaperDocUserMemberResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBPAPERDocsUsersAdd; } - return DBPAPERDocsUsersAdd; } + (DBRoute *)DBPAPERDocsUsersList { - if (!DBPAPERDocsUsersList) { - DBPAPERDocsUsersList = [[DBRoute alloc] init:@"docs/users/list" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListUsersOnPaperDocResponse class] - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsUsersList) { + DBPAPERDocsUsersList = [[DBRoute alloc] init:@"docs/users/list" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListUsersOnPaperDocResponse class] + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsUsersList; } - return DBPAPERDocsUsersList; } + (DBRoute *)DBPAPERDocsUsersListContinue { - if (!DBPAPERDocsUsersListContinue) { - DBPAPERDocsUsersListContinue = [[DBRoute alloc] init:@"docs/users/list/continue" - namespace_:@"paper" - deprecated:@NO - resultType:[DBPAPERListUsersOnPaperDocResponse class] - errorType:[DBPAPERListUsersCursorError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBPAPERDocsUsersListContinue) { + DBPAPERDocsUsersListContinue = [[DBRoute alloc] init:@"docs/users/list/continue" + namespace_:@"paper" + deprecated:@YES + resultType:[DBPAPERListUsersOnPaperDocResponse class] + errorType:[DBPAPERListUsersCursorError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsUsersListContinue; } - return DBPAPERDocsUsersListContinue; } + (DBRoute *)DBPAPERDocsUsersRemove { - if (!DBPAPERDocsUsersRemove) { - DBPAPERDocsUsersRemove = [[DBRoute alloc] init:@"docs/users/remove" + @synchronized(lockObj) { + if (!DBPAPERDocsUsersRemove) { + DBPAPERDocsUsersRemove = [[DBRoute alloc] init:@"docs/users/remove" + namespace_:@"paper" + deprecated:@YES + resultType:nil + errorType:[DBPAPERDocLookupError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBPAPERDocsUsersRemove; + } +} + ++ (DBRoute *)DBPAPERFoldersCreate { + @synchronized(lockObj) { + if (!DBPAPERFoldersCreate) { + DBPAPERFoldersCreate = [[DBRoute alloc] init:@"folders/create" namespace_:@"paper" - deprecated:@NO - resultType:nil - errorType:[DBPAPERDocLookupError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + deprecated:@YES + resultType:[DBPAPERPaperFolderCreateResult class] + errorType:[DBPAPERPaperFolderCreateError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBPAPERFoldersCreate; } - return DBPAPERDocsUsersRemove; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.h index 5fcc50695..4999af3f8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.h @@ -23,9 +23,6 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the addFolderMember route object. + (DBRoute *)DBSHARINGAddFolderMember; -/// Accessor method for the changeFileMemberAccess route object. -+ (DBRoute *)DBSHARINGChangeFileMemberAccess; - /// Accessor method for the checkJobStatus route object. + (DBRoute *)DBSHARINGCheckJobStatus; @@ -119,6 +116,9 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the revokeSharedLink route object. + (DBRoute *)DBSHARINGRevokeSharedLink; +/// Accessor method for the setAccessInheritance route object. ++ (DBRoute *)DBSHARINGSetAccessInheritance; + /// Accessor method for the shareFolder route object. + (DBRoute *)DBSHARINGShareFolder; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.m index 25fc09ac3..b8001d838 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBSHARINGRouteObjects.m @@ -11,10 +11,12 @@ #import "DBASYNCPollResultBase.h" #import "DBFILESLookupError.h" #import "DBRequestErrors.h" +#import "DBSHARINGAccessInheritance.h" #import "DBSHARINGAccessLevel.h" #import "DBSHARINGAddFileMemberError.h" #import "DBSHARINGAddFolderMemberError.h" #import "DBSHARINGAddMemberSelectorError.h" +#import "DBSHARINGAppAuthRoutes.h" #import "DBSHARINGCreateSharedLinkError.h" #import "DBSHARINGCreateSharedLinkWithSettingsError.h" #import "DBSHARINGExpectedSharedContentLinkMetadata.h" @@ -63,6 +65,7 @@ #import "DBSHARINGRemoveFolderMemberError.h" #import "DBSHARINGRemoveMemberJobStatus.h" #import "DBSHARINGRevokeSharedLinkError.h" +#import "DBSHARINGSetAccessInheritanceError.h" #import "DBSHARINGShareFolderError.h" #import "DBSHARINGShareFolderErrorBase.h" #import "DBSHARINGShareFolderJobStatus.h" @@ -76,6 +79,7 @@ #import "DBSHARINGSharedFolderMembers.h" #import "DBSHARINGSharedFolderMetadata.h" #import "DBSHARINGSharedFolderMetadataBase.h" +#import "DBSHARINGSharedLinkAlreadyExistsMetadata.h" #import "DBSHARINGSharedLinkError.h" #import "DBSHARINGSharedLinkMetadata.h" #import "DBSHARINGSharedLinkSettingsError.h" @@ -99,7 +103,6 @@ @implementation DBSHARINGRouteObjects static DBRoute *DBSHARINGAddFileMember; static DBRoute *DBSHARINGAddFolderMember; -static DBRoute *DBSHARINGChangeFileMemberAccess; static DBRoute *DBSHARINGCheckJobStatus; static DBRoute *DBSHARINGCheckRemoveMemberJobStatus; static DBRoute *DBSHARINGCheckShareJobStatus; @@ -131,6 +134,7 @@ @implementation DBSHARINGRouteObjects static DBRoute *DBSHARINGRemoveFileMember2; static DBRoute *DBSHARINGRemoveFolderMember; static DBRoute *DBSHARINGRevokeSharedLink; +static DBRoute *DBSHARINGSetAccessInheritance; static DBRoute *DBSHARINGShareFolder; static DBRoute *DBSHARINGTransferFolder; static DBRoute *DBSHARINGUnmountFolder; @@ -140,775 +144,712 @@ @implementation DBSHARINGRouteObjects static DBRoute *DBSHARINGUpdateFolderMember; static DBRoute *DBSHARINGUpdateFolderPolicy; -+ (DBRoute *)DBSHARINGAddFileMember { - if (!DBSHARINGAddFileMember) { - DBSHARINGAddFileMember = [[DBRoute alloc] init:@"add_file_member" - namespace_:@"sharing" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBSHARINGAddFileMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBSHARINGFileMemberActionResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBSHARINGAddFileMember; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); } -+ (DBRoute *)DBSHARINGAddFolderMember { - if (!DBSHARINGAddFolderMember) { - DBSHARINGAddFolderMember = [[DBRoute alloc] init:@"add_folder_member" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGAddFolderMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBSHARINGAddFileMember { + @synchronized(lockObj) { + if (!DBSHARINGAddFileMember) { + DBSHARINGAddFileMember = + [[DBRoute alloc] init:@"add_file_member" + namespace_:@"sharing" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBSHARINGAddFileMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBSHARINGFileMemberActionResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBSHARINGAddFileMember; } - return DBSHARINGAddFolderMember; } -+ (DBRoute *)DBSHARINGChangeFileMemberAccess { - if (!DBSHARINGChangeFileMemberAccess) { - DBSHARINGChangeFileMemberAccess = [[DBRoute alloc] init:@"change_file_member_access" - namespace_:@"sharing" - deprecated:@YES - resultType:[DBSHARINGFileMemberActionResult class] - errorType:[DBSHARINGFileMemberActionError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBSHARINGAddFolderMember { + @synchronized(lockObj) { + if (!DBSHARINGAddFolderMember) { + DBSHARINGAddFolderMember = [[DBRoute alloc] init:@"add_folder_member" + namespace_:@"sharing" + deprecated:@NO + resultType:nil + errorType:[DBSHARINGAddFolderMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGAddFolderMember; } - return DBSHARINGChangeFileMemberAccess; } + (DBRoute *)DBSHARINGCheckJobStatus { - if (!DBSHARINGCheckJobStatus) { - DBSHARINGCheckJobStatus = [[DBRoute alloc] init:@"check_job_status" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGCheckJobStatus; + @synchronized(lockObj) { + if (!DBSHARINGCheckJobStatus) { + DBSHARINGCheckJobStatus = [[DBRoute alloc] init:@"check_job_status" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGCheckJobStatus; + } } + (DBRoute *)DBSHARINGCheckRemoveMemberJobStatus { - if (!DBSHARINGCheckRemoveMemberJobStatus) { - DBSHARINGCheckRemoveMemberJobStatus = [[DBRoute alloc] init:@"check_remove_member_job_status" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGRemoveMemberJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGCheckRemoveMemberJobStatus; + @synchronized(lockObj) { + if (!DBSHARINGCheckRemoveMemberJobStatus) { + DBSHARINGCheckRemoveMemberJobStatus = + [[DBRoute alloc] init:@"check_remove_member_job_status" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGRemoveMemberJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGCheckRemoveMemberJobStatus; + } } + (DBRoute *)DBSHARINGCheckShareJobStatus { - if (!DBSHARINGCheckShareJobStatus) { - DBSHARINGCheckShareJobStatus = [[DBRoute alloc] init:@"check_share_job_status" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGShareFolderJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGCheckShareJobStatus) { + DBSHARINGCheckShareJobStatus = [[DBRoute alloc] init:@"check_share_job_status" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGShareFolderJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGCheckShareJobStatus; } - return DBSHARINGCheckShareJobStatus; } + (DBRoute *)DBSHARINGCreateSharedLink { - if (!DBSHARINGCreateSharedLink) { - DBSHARINGCreateSharedLink = [[DBRoute alloc] init:@"create_shared_link" - namespace_:@"sharing" - deprecated:@YES - resultType:[DBSHARINGPathLinkMetadata class] - errorType:[DBSHARINGCreateSharedLinkError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGCreateSharedLink) { + DBSHARINGCreateSharedLink = [[DBRoute alloc] init:@"create_shared_link" + namespace_:@"sharing" + deprecated:@YES + resultType:[DBSHARINGPathLinkMetadata class] + errorType:[DBSHARINGCreateSharedLinkError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGCreateSharedLink; } - return DBSHARINGCreateSharedLink; } + (DBRoute *)DBSHARINGCreateSharedLinkWithSettings { - if (!DBSHARINGCreateSharedLinkWithSettings) { - DBSHARINGCreateSharedLinkWithSettings = [[DBRoute alloc] init:@"create_shared_link_with_settings" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedLinkMetadata class] - errorType:[DBSHARINGCreateSharedLinkWithSettingsError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGCreateSharedLinkWithSettings; + @synchronized(lockObj) { + if (!DBSHARINGCreateSharedLinkWithSettings) { + DBSHARINGCreateSharedLinkWithSettings = + [[DBRoute alloc] init:@"create_shared_link_with_settings" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedLinkMetadata class] + errorType:[DBSHARINGCreateSharedLinkWithSettingsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGCreateSharedLinkWithSettings; + } } + (DBRoute *)DBSHARINGGetFileMetadata { - if (!DBSHARINGGetFileMetadata) { - DBSHARINGGetFileMetadata = [[DBRoute alloc] init:@"get_file_metadata" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFileMetadata class] - errorType:[DBSHARINGGetFileMetadataError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGGetFileMetadata) { + DBSHARINGGetFileMetadata = [[DBRoute alloc] init:@"get_file_metadata" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFileMetadata class] + errorType:[DBSHARINGGetFileMetadataError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGGetFileMetadata; } - return DBSHARINGGetFileMetadata; } + (DBRoute *)DBSHARINGGetFileMetadataBatch { - if (!DBSHARINGGetFileMetadataBatch) { - DBSHARINGGetFileMetadataBatch = [[DBRoute alloc] init:@"get_file_metadata/batch" - namespace_:@"sharing" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBSHARINGSharingUserError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBSHARINGGetFileMetadataBatchResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBSHARINGGetFileMetadataBatch; + @synchronized(lockObj) { + if (!DBSHARINGGetFileMetadataBatch) { + DBSHARINGGetFileMetadataBatch = + [[DBRoute alloc] init:@"get_file_metadata/batch" + namespace_:@"sharing" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBSHARINGSharingUserError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBSHARINGGetFileMetadataBatchResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBSHARINGGetFileMetadataBatch; + } } + (DBRoute *)DBSHARINGGetFolderMetadata { - if (!DBSHARINGGetFolderMetadata) { - DBSHARINGGetFolderMetadata = [[DBRoute alloc] init:@"get_folder_metadata" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFolderMetadata class] - errorType:[DBSHARINGSharedFolderAccessError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGGetFolderMetadata) { + DBSHARINGGetFolderMetadata = [[DBRoute alloc] init:@"get_folder_metadata" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFolderMetadata class] + errorType:[DBSHARINGSharedFolderAccessError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGGetFolderMetadata; } - return DBSHARINGGetFolderMetadata; } + (DBRoute *)DBSHARINGGetSharedLinkFile { - if (!DBSHARINGGetSharedLinkFile) { - DBSHARINGGetSharedLinkFile = [[DBRoute alloc] init:@"get_shared_link_file" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedLinkMetadata class] - errorType:[DBSHARINGGetSharedLinkFileError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"content", - @"style" : @"download" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGGetSharedLinkFile) { + DBSHARINGGetSharedLinkFile = + [[DBRoute alloc] init:@"get_shared_link_file" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedLinkMetadata class] + errorType:[DBSHARINGGetSharedLinkFileError class] + attrs:@{@"auth" : @"user", @"host" : @"content", @"style" : @"download"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGGetSharedLinkFile; } - return DBSHARINGGetSharedLinkFile; } + (DBRoute *)DBSHARINGGetSharedLinkMetadata { - if (!DBSHARINGGetSharedLinkMetadata) { - DBSHARINGGetSharedLinkMetadata = [[DBRoute alloc] init:@"get_shared_link_metadata" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedLinkMetadata class] - errorType:[DBSHARINGSharedLinkError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGGetSharedLinkMetadata) { + DBSHARINGGetSharedLinkMetadata = + [[DBRoute alloc] init:@"get_shared_link_metadata" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedLinkMetadata class] + errorType:[DBSHARINGSharedLinkError class] + attrs:@{@"auth" : @"app, user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGGetSharedLinkMetadata; } - return DBSHARINGGetSharedLinkMetadata; } + (DBRoute *)DBSHARINGGetSharedLinks { - if (!DBSHARINGGetSharedLinks) { - DBSHARINGGetSharedLinks = [[DBRoute alloc] init:@"get_shared_links" - namespace_:@"sharing" - deprecated:@YES - resultType:[DBSHARINGGetSharedLinksResult class] - errorType:[DBSHARINGGetSharedLinksError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGGetSharedLinks; + @synchronized(lockObj) { + if (!DBSHARINGGetSharedLinks) { + DBSHARINGGetSharedLinks = [[DBRoute alloc] init:@"get_shared_links" + namespace_:@"sharing" + deprecated:@YES + resultType:[DBSHARINGGetSharedLinksResult class] + errorType:[DBSHARINGGetSharedLinksError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGGetSharedLinks; + } } + (DBRoute *)DBSHARINGListFileMembers { - if (!DBSHARINGListFileMembers) { - DBSHARINGListFileMembers = [[DBRoute alloc] init:@"list_file_members" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFileMembers class] - errorType:[DBSHARINGListFileMembersError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListFileMembers) { + DBSHARINGListFileMembers = [[DBRoute alloc] init:@"list_file_members" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFileMembers class] + errorType:[DBSHARINGListFileMembersError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFileMembers; } - return DBSHARINGListFileMembers; } + (DBRoute *)DBSHARINGListFileMembersBatch { - if (!DBSHARINGListFileMembersBatch) { - DBSHARINGListFileMembersBatch = [[DBRoute alloc] init:@"list_file_members/batch" - namespace_:@"sharing" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBSHARINGSharingUserError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBSHARINGListFileMembersBatchResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBSHARINGListFileMembersBatch; + @synchronized(lockObj) { + if (!DBSHARINGListFileMembersBatch) { + DBSHARINGListFileMembersBatch = + [[DBRoute alloc] init:@"list_file_members/batch" + namespace_:@"sharing" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBSHARINGSharingUserError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBSHARINGListFileMembersBatchResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBSHARINGListFileMembersBatch; + } } + (DBRoute *)DBSHARINGListFileMembersContinue { - if (!DBSHARINGListFileMembersContinue) { - DBSHARINGListFileMembersContinue = [[DBRoute alloc] init:@"list_file_members/continue" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFileMembers class] - errorType:[DBSHARINGListFileMembersContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGListFileMembersContinue; + @synchronized(lockObj) { + if (!DBSHARINGListFileMembersContinue) { + DBSHARINGListFileMembersContinue = [[DBRoute alloc] init:@"list_file_members/continue" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFileMembers class] + errorType:[DBSHARINGListFileMembersContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFileMembersContinue; + } } + (DBRoute *)DBSHARINGListFolderMembers { - if (!DBSHARINGListFolderMembers) { - DBSHARINGListFolderMembers = [[DBRoute alloc] init:@"list_folder_members" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFolderMembers class] - errorType:[DBSHARINGSharedFolderAccessError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListFolderMembers) { + DBSHARINGListFolderMembers = [[DBRoute alloc] init:@"list_folder_members" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFolderMembers class] + errorType:[DBSHARINGSharedFolderAccessError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFolderMembers; } - return DBSHARINGListFolderMembers; } + (DBRoute *)DBSHARINGListFolderMembersContinue { - if (!DBSHARINGListFolderMembersContinue) { - DBSHARINGListFolderMembersContinue = [[DBRoute alloc] init:@"list_folder_members/continue" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFolderMembers class] - errorType:[DBSHARINGListFolderMembersContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListFolderMembersContinue) { + DBSHARINGListFolderMembersContinue = + [[DBRoute alloc] init:@"list_folder_members/continue" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFolderMembers class] + errorType:[DBSHARINGListFolderMembersContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFolderMembersContinue; } - return DBSHARINGListFolderMembersContinue; } + (DBRoute *)DBSHARINGListFolders { - if (!DBSHARINGListFolders) { - DBSHARINGListFolders = [[DBRoute alloc] init:@"list_folders" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFoldersResult class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGListFolders; + @synchronized(lockObj) { + if (!DBSHARINGListFolders) { + DBSHARINGListFolders = [[DBRoute alloc] init:@"list_folders" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFoldersResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFolders; + } } + (DBRoute *)DBSHARINGListFoldersContinue { - if (!DBSHARINGListFoldersContinue) { - DBSHARINGListFoldersContinue = [[DBRoute alloc] init:@"list_folders/continue" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFoldersResult class] - errorType:[DBSHARINGListFoldersContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListFoldersContinue) { + DBSHARINGListFoldersContinue = [[DBRoute alloc] init:@"list_folders/continue" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFoldersResult class] + errorType:[DBSHARINGListFoldersContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListFoldersContinue; } - return DBSHARINGListFoldersContinue; } + (DBRoute *)DBSHARINGListMountableFolders { - if (!DBSHARINGListMountableFolders) { - DBSHARINGListMountableFolders = [[DBRoute alloc] init:@"list_mountable_folders" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFoldersResult class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListMountableFolders) { + DBSHARINGListMountableFolders = [[DBRoute alloc] init:@"list_mountable_folders" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFoldersResult class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListMountableFolders; } - return DBSHARINGListMountableFolders; } + (DBRoute *)DBSHARINGListMountableFoldersContinue { - if (!DBSHARINGListMountableFoldersContinue) { - DBSHARINGListMountableFoldersContinue = [[DBRoute alloc] init:@"list_mountable_folders/continue" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFoldersResult class] - errorType:[DBSHARINGListFoldersContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGListMountableFoldersContinue; + @synchronized(lockObj) { + if (!DBSHARINGListMountableFoldersContinue) { + DBSHARINGListMountableFoldersContinue = + [[DBRoute alloc] init:@"list_mountable_folders/continue" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFoldersResult class] + errorType:[DBSHARINGListFoldersContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListMountableFoldersContinue; + } } + (DBRoute *)DBSHARINGListReceivedFiles { - if (!DBSHARINGListReceivedFiles) { - DBSHARINGListReceivedFiles = [[DBRoute alloc] init:@"list_received_files" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFilesResult class] - errorType:[DBSHARINGSharingUserError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListReceivedFiles) { + DBSHARINGListReceivedFiles = [[DBRoute alloc] init:@"list_received_files" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFilesResult class] + errorType:[DBSHARINGSharingUserError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListReceivedFiles; } - return DBSHARINGListReceivedFiles; } + (DBRoute *)DBSHARINGListReceivedFilesContinue { - if (!DBSHARINGListReceivedFilesContinue) { - DBSHARINGListReceivedFilesContinue = [[DBRoute alloc] init:@"list_received_files/continue" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListFilesResult class] - errorType:[DBSHARINGListFilesContinueError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListReceivedFilesContinue) { + DBSHARINGListReceivedFilesContinue = + [[DBRoute alloc] init:@"list_received_files/continue" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListFilesResult class] + errorType:[DBSHARINGListFilesContinueError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListReceivedFilesContinue; } - return DBSHARINGListReceivedFilesContinue; } + (DBRoute *)DBSHARINGListSharedLinks { - if (!DBSHARINGListSharedLinks) { - DBSHARINGListSharedLinks = [[DBRoute alloc] init:@"list_shared_links" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGListSharedLinksResult class] - errorType:[DBSHARINGListSharedLinksError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGListSharedLinks) { + DBSHARINGListSharedLinks = [[DBRoute alloc] init:@"list_shared_links" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGListSharedLinksResult class] + errorType:[DBSHARINGListSharedLinksError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGListSharedLinks; } - return DBSHARINGListSharedLinks; } + (DBRoute *)DBSHARINGModifySharedLinkSettings { - if (!DBSHARINGModifySharedLinkSettings) { - DBSHARINGModifySharedLinkSettings = [[DBRoute alloc] init:@"modify_shared_link_settings" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedLinkMetadata class] - errorType:[DBSHARINGModifySharedLinkSettingsError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGModifySharedLinkSettings; + @synchronized(lockObj) { + if (!DBSHARINGModifySharedLinkSettings) { + DBSHARINGModifySharedLinkSettings = + [[DBRoute alloc] init:@"modify_shared_link_settings" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedLinkMetadata class] + errorType:[DBSHARINGModifySharedLinkSettingsError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGModifySharedLinkSettings; + } } + (DBRoute *)DBSHARINGMountFolder { - if (!DBSHARINGMountFolder) { - DBSHARINGMountFolder = [[DBRoute alloc] init:@"mount_folder" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFolderMetadata class] - errorType:[DBSHARINGMountFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGMountFolder; + @synchronized(lockObj) { + if (!DBSHARINGMountFolder) { + DBSHARINGMountFolder = [[DBRoute alloc] init:@"mount_folder" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFolderMetadata class] + errorType:[DBSHARINGMountFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGMountFolder; + } } + (DBRoute *)DBSHARINGRelinquishFileMembership { - if (!DBSHARINGRelinquishFileMembership) { - DBSHARINGRelinquishFileMembership = [[DBRoute alloc] init:@"relinquish_file_membership" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGRelinquishFileMembershipError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGRelinquishFileMembership; + @synchronized(lockObj) { + if (!DBSHARINGRelinquishFileMembership) { + DBSHARINGRelinquishFileMembership = + [[DBRoute alloc] init:@"relinquish_file_membership" + namespace_:@"sharing" + deprecated:@NO + resultType:nil + errorType:[DBSHARINGRelinquishFileMembershipError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGRelinquishFileMembership; + } } + (DBRoute *)DBSHARINGRelinquishFolderMembership { - if (!DBSHARINGRelinquishFolderMembership) { - DBSHARINGRelinquishFolderMembership = [[DBRoute alloc] init:@"relinquish_folder_membership" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBASYNCLaunchEmptyResult class] - errorType:[DBSHARINGRelinquishFolderMembershipError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGRelinquishFolderMembership; + @synchronized(lockObj) { + if (!DBSHARINGRelinquishFolderMembership) { + DBSHARINGRelinquishFolderMembership = + [[DBRoute alloc] init:@"relinquish_folder_membership" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBASYNCLaunchEmptyResult class] + errorType:[DBSHARINGRelinquishFolderMembershipError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGRelinquishFolderMembership; + } } + (DBRoute *)DBSHARINGRemoveFileMember { - if (!DBSHARINGRemoveFileMember) { - DBSHARINGRemoveFileMember = [[DBRoute alloc] init:@"remove_file_member" - namespace_:@"sharing" - deprecated:@YES - resultType:[DBSHARINGFileMemberActionIndividualResult class] - errorType:[DBSHARINGRemoveFileMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGRemoveFileMember) { + DBSHARINGRemoveFileMember = [[DBRoute alloc] init:@"remove_file_member" + namespace_:@"sharing" + deprecated:@YES + resultType:[DBSHARINGFileMemberActionIndividualResult class] + errorType:[DBSHARINGRemoveFileMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGRemoveFileMember; } - return DBSHARINGRemoveFileMember; } + (DBRoute *)DBSHARINGRemoveFileMember2 { - if (!DBSHARINGRemoveFileMember2) { - DBSHARINGRemoveFileMember2 = [[DBRoute alloc] init:@"remove_file_member_2" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGFileMemberRemoveActionResult class] - errorType:[DBSHARINGRemoveFileMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGRemoveFileMember2) { + DBSHARINGRemoveFileMember2 = [[DBRoute alloc] init:@"remove_file_member_2" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGFileMemberRemoveActionResult class] + errorType:[DBSHARINGRemoveFileMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGRemoveFileMember2; } - return DBSHARINGRemoveFileMember2; } + (DBRoute *)DBSHARINGRemoveFolderMember { - if (!DBSHARINGRemoveFolderMember) { - DBSHARINGRemoveFolderMember = [[DBRoute alloc] init:@"remove_folder_member" + @synchronized(lockObj) { + if (!DBSHARINGRemoveFolderMember) { + DBSHARINGRemoveFolderMember = [[DBRoute alloc] init:@"remove_folder_member" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBASYNCLaunchResultBase class] + errorType:[DBSHARINGRemoveFolderMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGRemoveFolderMember; + } +} + ++ (DBRoute *)DBSHARINGRevokeSharedLink { + @synchronized(lockObj) { + if (!DBSHARINGRevokeSharedLink) { + DBSHARINGRevokeSharedLink = [[DBRoute alloc] init:@"revoke_shared_link" namespace_:@"sharing" deprecated:@NO - resultType:[DBASYNCLaunchResultBase class] - errorType:[DBSHARINGRemoveFolderMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:nil + errorType:[DBSHARINGRevokeSharedLinkError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBSHARINGRevokeSharedLink; } - return DBSHARINGRemoveFolderMember; } -+ (DBRoute *)DBSHARINGRevokeSharedLink { - if (!DBSHARINGRevokeSharedLink) { - DBSHARINGRevokeSharedLink = [[DBRoute alloc] init:@"revoke_shared_link" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGRevokeSharedLinkError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBSHARINGSetAccessInheritance { + @synchronized(lockObj) { + if (!DBSHARINGSetAccessInheritance) { + DBSHARINGSetAccessInheritance = [[DBRoute alloc] init:@"set_access_inheritance" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGShareFolderLaunch class] + errorType:[DBSHARINGSetAccessInheritanceError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGSetAccessInheritance; } - return DBSHARINGRevokeSharedLink; } + (DBRoute *)DBSHARINGShareFolder { - if (!DBSHARINGShareFolder) { - DBSHARINGShareFolder = [[DBRoute alloc] init:@"share_folder" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGShareFolderLaunch class] - errorType:[DBSHARINGShareFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGShareFolder; + @synchronized(lockObj) { + if (!DBSHARINGShareFolder) { + DBSHARINGShareFolder = [[DBRoute alloc] init:@"share_folder" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGShareFolderLaunch class] + errorType:[DBSHARINGShareFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGShareFolder; + } } + (DBRoute *)DBSHARINGTransferFolder { - if (!DBSHARINGTransferFolder) { - DBSHARINGTransferFolder = [[DBRoute alloc] init:@"transfer_folder" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGTransferFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGTransferFolder; + @synchronized(lockObj) { + if (!DBSHARINGTransferFolder) { + DBSHARINGTransferFolder = [[DBRoute alloc] init:@"transfer_folder" + namespace_:@"sharing" + deprecated:@NO + resultType:nil + errorType:[DBSHARINGTransferFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGTransferFolder; + } } + (DBRoute *)DBSHARINGUnmountFolder { - if (!DBSHARINGUnmountFolder) { - DBSHARINGUnmountFolder = [[DBRoute alloc] init:@"unmount_folder" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGUnmountFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGUnmountFolder) { + DBSHARINGUnmountFolder = [[DBRoute alloc] init:@"unmount_folder" + namespace_:@"sharing" + deprecated:@NO + resultType:nil + errorType:[DBSHARINGUnmountFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGUnmountFolder; } - return DBSHARINGUnmountFolder; } + (DBRoute *)DBSHARINGUnshareFile { - if (!DBSHARINGUnshareFile) { - DBSHARINGUnshareFile = [[DBRoute alloc] init:@"unshare_file" - namespace_:@"sharing" - deprecated:@NO - resultType:nil - errorType:[DBSHARINGUnshareFileError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBSHARINGUnshareFile; -} - -+ (DBRoute *)DBSHARINGUnshareFolder { - if (!DBSHARINGUnshareFolder) { - DBSHARINGUnshareFolder = [[DBRoute alloc] init:@"unshare_folder" + @synchronized(lockObj) { + if (!DBSHARINGUnshareFile) { + DBSHARINGUnshareFile = [[DBRoute alloc] init:@"unshare_file" namespace_:@"sharing" deprecated:@NO - resultType:[DBASYNCLaunchEmptyResult class] - errorType:[DBSHARINGUnshareFolderError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:nil + errorType:[DBSHARINGUnshareFileError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBSHARINGUnshareFile; } - return DBSHARINGUnshareFolder; } -+ (DBRoute *)DBSHARINGUpdateFileMember { - if (!DBSHARINGUpdateFileMember) { - DBSHARINGUpdateFileMember = [[DBRoute alloc] init:@"update_file_member" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGMemberAccessLevelResult class] - errorType:[DBSHARINGFileMemberActionError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBSHARINGUnshareFolder { + @synchronized(lockObj) { + if (!DBSHARINGUnshareFolder) { + DBSHARINGUnshareFolder = [[DBRoute alloc] init:@"unshare_folder" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBASYNCLaunchEmptyResult class] + errorType:[DBSHARINGUnshareFolderError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGUnshareFolder; } - return DBSHARINGUpdateFileMember; } -+ (DBRoute *)DBSHARINGUpdateFolderMember { - if (!DBSHARINGUpdateFolderMember) { - DBSHARINGUpdateFolderMember = [[DBRoute alloc] init:@"update_folder_member" ++ (DBRoute *)DBSHARINGUpdateFileMember { + @synchronized(lockObj) { + if (!DBSHARINGUpdateFileMember) { + DBSHARINGUpdateFileMember = [[DBRoute alloc] init:@"update_file_member" namespace_:@"sharing" deprecated:@NO resultType:[DBSHARINGMemberAccessLevelResult class] - errorType:[DBSHARINGUpdateFolderMemberError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + errorType:[DBSHARINGFileMemberActionError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBSHARINGUpdateFileMember; + } +} + ++ (DBRoute *)DBSHARINGUpdateFolderMember { + @synchronized(lockObj) { + if (!DBSHARINGUpdateFolderMember) { + DBSHARINGUpdateFolderMember = [[DBRoute alloc] init:@"update_folder_member" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGMemberAccessLevelResult class] + errorType:[DBSHARINGUpdateFolderMemberError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGUpdateFolderMember; } - return DBSHARINGUpdateFolderMember; } + (DBRoute *)DBSHARINGUpdateFolderPolicy { - if (!DBSHARINGUpdateFolderPolicy) { - DBSHARINGUpdateFolderPolicy = [[DBRoute alloc] init:@"update_folder_policy" - namespace_:@"sharing" - deprecated:@NO - resultType:[DBSHARINGSharedFolderMetadata class] - errorType:[DBSHARINGUpdateFolderPolicyError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBSHARINGUpdateFolderPolicy) { + DBSHARINGUpdateFolderPolicy = [[DBRoute alloc] init:@"update_folder_policy" + namespace_:@"sharing" + deprecated:@NO + resultType:[DBSHARINGSharedFolderMetadata class] + errorType:[DBSHARINGUpdateFolderPolicyError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBSHARINGUpdateFolderPolicy; } - return DBSHARINGUpdateFolderPolicy; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.m index 5091a55db..7e4435314 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMLOGRouteObjects.m @@ -18,40 +18,44 @@ @implementation DBTEAMLOGRouteObjects static DBRoute *DBTEAMLOGGetEvents; static DBRoute *DBTEAMLOGGetEventsContinue; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + + (DBRoute *)DBTEAMLOGGetEvents { - if (!DBTEAMLOGGetEvents) { - DBTEAMLOGGetEvents = [[DBRoute alloc] init:@"get_events" - namespace_:@"team_log" - deprecated:@NO - resultType:[DBTEAMLOGGetTeamEventsResult class] - errorType:[DBTEAMLOGGetTeamEventsError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMLOGGetEvents) { + DBTEAMLOGGetEvents = [[DBRoute alloc] init:@"get_events" + namespace_:@"team_log" + deprecated:@NO + resultType:[DBTEAMLOGGetTeamEventsResult class] + errorType:[DBTEAMLOGGetTeamEventsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLOGGetEvents; } - return DBTEAMLOGGetEvents; } + (DBRoute *)DBTEAMLOGGetEventsContinue { - if (!DBTEAMLOGGetEventsContinue) { - DBTEAMLOGGetEventsContinue = [[DBRoute alloc] init:@"get_events/continue" - namespace_:@"team_log" - deprecated:@NO - resultType:[DBTEAMLOGGetTeamEventsResult class] - errorType:[DBTEAMLOGGetTeamEventsContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMLOGGetEventsContinue) { + DBTEAMLOGGetEventsContinue = [[DBRoute alloc] init:@"get_events/continue" + namespace_:@"team_log" + deprecated:@NO + resultType:[DBTEAMLOGGetTeamEventsResult class] + errorType:[DBTEAMLOGGetTeamEventsContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLOGGetEventsContinue; } - return DBTEAMLOGGetEventsContinue; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.h index a29b7fd87..b4bb7180d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.h @@ -73,6 +73,27 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the groupsUpdate route object. + (DBRoute *)DBTEAMGroupsUpdate; +/// Accessor method for the legalHoldsCreatePolicy route object. ++ (DBRoute *)DBTEAMLegalHoldsCreatePolicy; + +/// Accessor method for the legalHoldsGetPolicy route object. ++ (DBRoute *)DBTEAMLegalHoldsGetPolicy; + +/// Accessor method for the legalHoldsListHeldRevisions route object. ++ (DBRoute *)DBTEAMLegalHoldsListHeldRevisions; + +/// Accessor method for the legalHoldsListHeldRevisionsContinue route object. ++ (DBRoute *)DBTEAMLegalHoldsListHeldRevisionsContinue; + +/// Accessor method for the legalHoldsListPolicies route object. ++ (DBRoute *)DBTEAMLegalHoldsListPolicies; + +/// Accessor method for the legalHoldsReleasePolicy route object. ++ (DBRoute *)DBTEAMLegalHoldsReleasePolicy; + +/// Accessor method for the legalHoldsUpdatePolicy route object. ++ (DBRoute *)DBTEAMLegalHoldsUpdatePolicy; + /// Accessor method for the linkedAppsListMemberLinkedApps route object. + (DBRoute *)DBTEAMLinkedAppsListMemberLinkedApps; @@ -113,18 +134,49 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the membersAdd route object. + (DBRoute *)DBTEAMMembersAdd; +/// Accessor method for the membersAddV2 route object. ++ (DBRoute *)DBTEAMMembersAddV2; + /// Accessor method for the membersAddJobStatusGet route object. + (DBRoute *)DBTEAMMembersAddJobStatusGet; +/// Accessor method for the membersAddJobStatusGetV2 route object. ++ (DBRoute *)DBTEAMMembersAddJobStatusGetV2; + +/// Accessor method for the membersDeleteProfilePhoto route object. ++ (DBRoute *)DBTEAMMembersDeleteProfilePhoto; + +/// Accessor method for the membersDeleteProfilePhotoV2 route object. ++ (DBRoute *)DBTEAMMembersDeleteProfilePhotoV2; + +/// Accessor method for the membersGetAvailableTeamMemberRoles route object. ++ (DBRoute *)DBTEAMMembersGetAvailableTeamMemberRoles; + /// Accessor method for the membersGetInfo route object. + (DBRoute *)DBTEAMMembersGetInfo; +/// Accessor method for the membersGetInfoV2 route object. ++ (DBRoute *)DBTEAMMembersGetInfoV2; + /// Accessor method for the membersList route object. + (DBRoute *)DBTEAMMembersList; +/// Accessor method for the membersListV2 route object. ++ (DBRoute *)DBTEAMMembersListV2; + /// Accessor method for the membersListContinue route object. + (DBRoute *)DBTEAMMembersListContinue; +/// Accessor method for the membersListContinueV2 route object. ++ (DBRoute *)DBTEAMMembersListContinueV2; + +/// Accessor method for the membersMoveFormerMemberFiles route object. ++ (DBRoute *)DBTEAMMembersMoveFormerMemberFiles; + +/// Accessor method for the membersMoveFormerMemberFilesJobStatusCheck route +/// object. ++ (DBRoute *)DBTEAMMembersMoveFormerMemberFilesJobStatusCheck; + /// Accessor method for the membersRecover route object. + (DBRoute *)DBTEAMMembersRecover; @@ -134,15 +186,37 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the membersRemoveJobStatusGet route object. + (DBRoute *)DBTEAMMembersRemoveJobStatusGet; +/// Accessor method for the membersSecondaryEmailsAdd route object. ++ (DBRoute *)DBTEAMMembersSecondaryEmailsAdd; + +/// Accessor method for the membersSecondaryEmailsDelete route object. ++ (DBRoute *)DBTEAMMembersSecondaryEmailsDelete; + +/// Accessor method for the membersSecondaryEmailsResendVerificationEmails route +/// object. ++ (DBRoute *)DBTEAMMembersSecondaryEmailsResendVerificationEmails; + /// Accessor method for the membersSendWelcomeEmail route object. + (DBRoute *)DBTEAMMembersSendWelcomeEmail; /// Accessor method for the membersSetAdminPermissions route object. + (DBRoute *)DBTEAMMembersSetAdminPermissions; +/// Accessor method for the membersSetAdminPermissionsV2 route object. ++ (DBRoute *)DBTEAMMembersSetAdminPermissionsV2; + /// Accessor method for the membersSetProfile route object. + (DBRoute *)DBTEAMMembersSetProfile; +/// Accessor method for the membersSetProfileV2 route object. ++ (DBRoute *)DBTEAMMembersSetProfileV2; + +/// Accessor method for the membersSetProfilePhoto route object. ++ (DBRoute *)DBTEAMMembersSetProfilePhoto; + +/// Accessor method for the membersSetProfilePhotoV2 route object. ++ (DBRoute *)DBTEAMMembersSetProfilePhotoV2; + /// Accessor method for the membersSuspend route object. + (DBRoute *)DBTEAMMembersSuspend; @@ -179,6 +253,18 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the reportsGetStorage route object. + (DBRoute *)DBTEAMReportsGetStorage; +/// Accessor method for the sharingAllowlistAdd route object. ++ (DBRoute *)DBTEAMSharingAllowlistAdd; + +/// Accessor method for the sharingAllowlistList route object. ++ (DBRoute *)DBTEAMSharingAllowlistList; + +/// Accessor method for the sharingAllowlistListContinue route object. ++ (DBRoute *)DBTEAMSharingAllowlistListContinue; + +/// Accessor method for the sharingAllowlistRemove route object. ++ (DBRoute *)DBTEAMSharingAllowlistRemove; + /// Accessor method for the teamFolderActivate route object. + (DBRoute *)DBTEAMTeamFolderActivate; @@ -206,6 +292,9 @@ NS_ASSUME_NONNULL_BEGIN /// Accessor method for the teamFolderRename route object. + (DBRoute *)DBTEAMTeamFolderRename; +/// Accessor method for the teamFolderUpdateSyncSettings route object. ++ (DBRoute *)DBTEAMTeamFolderUpdateSyncSettings; + /// Accessor method for the tokenGetAuthenticatedAdmin route object. + (DBRoute *)DBTEAMTokenGetAuthenticatedAdmin; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.m index 7572eebe8..1d805ba75 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBTEAMRouteObjects.m @@ -5,6 +5,7 @@ /// #import "DBTEAMRouteObjects.h" +#import "DBACCOUNTSetProfilePhotoError.h" #import "DBASYNCLaunchEmptyResult.h" #import "DBASYNCLaunchResultBase.h" #import "DBASYNCPollEmptyResult.h" @@ -18,9 +19,14 @@ #import "DBFILEPROPERTIESPropertyGroupTemplate.h" #import "DBFILEPROPERTIESTemplateError.h" #import "DBFILEPROPERTIESUpdateTemplateResult.h" +#import "DBFILESContentSyncSetting.h" +#import "DBFILESSyncSetting.h" +#import "DBFILESSyncSettingsError.h" #import "DBRequestErrors.h" #import "DBStoneBase.h" #import "DBTEAMActiveWebSession.h" +#import "DBTEAMAddSecondaryEmailsError.h" +#import "DBTEAMAddSecondaryEmailsResult.h" #import "DBTEAMAdminTier.h" #import "DBTEAMApiApp.h" #import "DBTEAMBaseDfbReport.h" @@ -30,6 +36,7 @@ #import "DBTEAMCustomQuotaError.h" #import "DBTEAMCustomQuotaResult.h" #import "DBTEAMDateRangeError.h" +#import "DBTEAMDeleteSecondaryEmailsResult.h" #import "DBTEAMDesktopClientSession.h" #import "DBTEAMDevicesActive.h" #import "DBTEAMExcludedUsersListContinueError.h" @@ -65,6 +72,18 @@ #import "DBTEAMGroupsMembersListContinueError.h" #import "DBTEAMGroupsMembersListResult.h" #import "DBTEAMGroupsPollError.h" +#import "DBTEAMLegalHoldHeldRevisionMetadata.h" +#import "DBTEAMLegalHoldPolicy.h" +#import "DBTEAMLegalHoldStatus.h" +#import "DBTEAMLegalHoldsError.h" +#import "DBTEAMLegalHoldsGetPolicyError.h" +#import "DBTEAMLegalHoldsListHeldRevisionResult.h" +#import "DBTEAMLegalHoldsListHeldRevisionsError.h" +#import "DBTEAMLegalHoldsListPoliciesError.h" +#import "DBTEAMLegalHoldsListPoliciesResult.h" +#import "DBTEAMLegalHoldsPolicyCreateError.h" +#import "DBTEAMLegalHoldsPolicyReleaseError.h" +#import "DBTEAMLegalHoldsPolicyUpdateError.h" #import "DBTEAMListMemberAppsError.h" #import "DBTEAMListMemberAppsResult.h" #import "DBTEAMListMemberDevicesError.h" @@ -78,30 +97,46 @@ #import "DBTEAMListTeamDevicesError.h" #import "DBTEAMListTeamDevicesResult.h" #import "DBTEAMMemberAddResult.h" +#import "DBTEAMMemberAddV2Result.h" #import "DBTEAMMemberDevices.h" #import "DBTEAMMemberLinkedApps.h" #import "DBTEAMMemberProfile.h" #import "DBTEAMMemberSelectorError.h" #import "DBTEAMMembersAddJobStatus.h" +#import "DBTEAMMembersAddJobStatusV2Result.h" #import "DBTEAMMembersAddLaunch.h" +#import "DBTEAMMembersAddLaunchV2Result.h" #import "DBTEAMMembersDeactivateError.h" +#import "DBTEAMMembersDeleteProfilePhotoError.h" +#import "DBTEAMMembersGetAvailableTeamMemberRolesResult.h" #import "DBTEAMMembersGetInfoError.h" #import "DBTEAMMembersGetInfoItem.h" +#import "DBTEAMMembersGetInfoItemBase.h" +#import "DBTEAMMembersGetInfoItemV2.h" +#import "DBTEAMMembersGetInfoV2Result.h" +#import "DBTEAMMembersInfo.h" #import "DBTEAMMembersListContinueError.h" #import "DBTEAMMembersListError.h" #import "DBTEAMMembersListResult.h" +#import "DBTEAMMembersListV2Result.h" #import "DBTEAMMembersRecoverError.h" #import "DBTEAMMembersRemoveError.h" #import "DBTEAMMembersSendWelcomeError.h" +#import "DBTEAMMembersSetPermissions2Error.h" +#import "DBTEAMMembersSetPermissions2Result.h" #import "DBTEAMMembersSetPermissionsError.h" #import "DBTEAMMembersSetPermissionsResult.h" #import "DBTEAMMembersSetProfileError.h" +#import "DBTEAMMembersSetProfilePhotoError.h" #import "DBTEAMMembersSuspendError.h" +#import "DBTEAMMembersTransferFilesError.h" +#import "DBTEAMMembersTransferFormerMembersFilesError.h" #import "DBTEAMMembersUnsuspendError.h" #import "DBTEAMMobileClientSession.h" #import "DBTEAMNamespaceMetadata.h" #import "DBTEAMPOLICIESTeamMemberPolicies.h" #import "DBTEAMRemoveCustomQuotaResult.h" +#import "DBTEAMResendVerificationEmailResult.h" #import "DBTEAMRevokeDeviceSessionBatchError.h" #import "DBTEAMRevokeDeviceSessionBatchResult.h" #import "DBTEAMRevokeDeviceSessionError.h" @@ -111,6 +146,13 @@ #import "DBTEAMRevokeLinkedAppError.h" #import "DBTEAMRevokeLinkedAppStatus.h" #import "DBTEAMSetCustomQuotaError.h" +#import "DBTEAMSharingAllowlistAddError.h" +#import "DBTEAMSharingAllowlistAddResponse.h" +#import "DBTEAMSharingAllowlistListContinueError.h" +#import "DBTEAMSharingAllowlistListError.h" +#import "DBTEAMSharingAllowlistListResponse.h" +#import "DBTEAMSharingAllowlistRemoveError.h" +#import "DBTEAMSharingAllowlistRemoveResponse.h" #import "DBTEAMStorageBucket.h" #import "DBTEAMTeamAuthRoutes.h" #import "DBTEAMTeamFolderAccessError.h" @@ -129,14 +171,22 @@ #import "DBTEAMTeamFolderRenameError.h" #import "DBTEAMTeamFolderStatus.h" #import "DBTEAMTeamFolderTeamSharedDropboxError.h" +#import "DBTEAMTeamFolderUpdateSyncSettingsError.h" #import "DBTEAMTeamGetInfoResult.h" #import "DBTEAMTeamMemberInfo.h" +#import "DBTEAMTeamMemberInfoV2.h" +#import "DBTEAMTeamMemberInfoV2Result.h" #import "DBTEAMTeamMemberProfile.h" +#import "DBTEAMTeamMemberRole.h" #import "DBTEAMTeamNamespacesListContinueError.h" +#import "DBTEAMTeamNamespacesListError.h" #import "DBTEAMTeamNamespacesListResult.h" #import "DBTEAMTokenGetAuthenticatedAdminError.h" #import "DBTEAMTokenGetAuthenticatedAdminResult.h" +#import "DBTEAMUserAddResult.h" #import "DBTEAMUserCustomQuotaResult.h" +#import "DBTEAMUserDeleteResult.h" +#import "DBTEAMUserResendResult.h" #import "DBTEAMUserSelectorArg.h" #import "DBTEAMUserSelectorError.h" @@ -161,6 +211,13 @@ @implementation DBTEAMRouteObjects static DBRoute *DBTEAMGroupsMembersRemove; static DBRoute *DBTEAMGroupsMembersSetAccessType; static DBRoute *DBTEAMGroupsUpdate; +static DBRoute *DBTEAMLegalHoldsCreatePolicy; +static DBRoute *DBTEAMLegalHoldsGetPolicy; +static DBRoute *DBTEAMLegalHoldsListHeldRevisions; +static DBRoute *DBTEAMLegalHoldsListHeldRevisionsContinue; +static DBRoute *DBTEAMLegalHoldsListPolicies; +static DBRoute *DBTEAMLegalHoldsReleasePolicy; +static DBRoute *DBTEAMLegalHoldsUpdatePolicy; static DBRoute *DBTEAMLinkedAppsListMemberLinkedApps; static DBRoute *DBTEAMLinkedAppsListMembersLinkedApps; static DBRoute *DBTEAMLinkedAppsListTeamLinkedApps; @@ -174,16 +231,33 @@ @implementation DBTEAMRouteObjects static DBRoute *DBTEAMMemberSpaceLimitsRemoveCustomQuota; static DBRoute *DBTEAMMemberSpaceLimitsSetCustomQuota; static DBRoute *DBTEAMMembersAdd; +static DBRoute *DBTEAMMembersAddV2; static DBRoute *DBTEAMMembersAddJobStatusGet; +static DBRoute *DBTEAMMembersAddJobStatusGetV2; +static DBRoute *DBTEAMMembersDeleteProfilePhoto; +static DBRoute *DBTEAMMembersDeleteProfilePhotoV2; +static DBRoute *DBTEAMMembersGetAvailableTeamMemberRoles; static DBRoute *DBTEAMMembersGetInfo; +static DBRoute *DBTEAMMembersGetInfoV2; static DBRoute *DBTEAMMembersList; +static DBRoute *DBTEAMMembersListV2; static DBRoute *DBTEAMMembersListContinue; +static DBRoute *DBTEAMMembersListContinueV2; +static DBRoute *DBTEAMMembersMoveFormerMemberFiles; +static DBRoute *DBTEAMMembersMoveFormerMemberFilesJobStatusCheck; static DBRoute *DBTEAMMembersRecover; static DBRoute *DBTEAMMembersRemove; static DBRoute *DBTEAMMembersRemoveJobStatusGet; +static DBRoute *DBTEAMMembersSecondaryEmailsAdd; +static DBRoute *DBTEAMMembersSecondaryEmailsDelete; +static DBRoute *DBTEAMMembersSecondaryEmailsResendVerificationEmails; static DBRoute *DBTEAMMembersSendWelcomeEmail; static DBRoute *DBTEAMMembersSetAdminPermissions; +static DBRoute *DBTEAMMembersSetAdminPermissionsV2; static DBRoute *DBTEAMMembersSetProfile; +static DBRoute *DBTEAMMembersSetProfileV2; +static DBRoute *DBTEAMMembersSetProfilePhoto; +static DBRoute *DBTEAMMembersSetProfilePhotoV2; static DBRoute *DBTEAMMembersSuspend; static DBRoute *DBTEAMMembersUnsuspend; static DBRoute *DBTEAMNamespacesList; @@ -196,6 +270,10 @@ @implementation DBTEAMRouteObjects static DBRoute *DBTEAMReportsGetDevices; static DBRoute *DBTEAMReportsGetMembership; static DBRoute *DBTEAMReportsGetStorage; +static DBRoute *DBTEAMSharingAllowlistAdd; +static DBRoute *DBTEAMSharingAllowlistList; +static DBRoute *DBTEAMSharingAllowlistListContinue; +static DBRoute *DBTEAMSharingAllowlistRemove; static DBRoute *DBTEAMTeamFolderActivate; static DBRoute *DBTEAMTeamFolderArchive; static DBRoute *DBTEAMTeamFolderArchiveCheck; @@ -205,1194 +283,1565 @@ @implementation DBTEAMRouteObjects static DBRoute *DBTEAMTeamFolderListContinue; static DBRoute *DBTEAMTeamFolderPermanentlyDelete; static DBRoute *DBTEAMTeamFolderRename; +static DBRoute *DBTEAMTeamFolderUpdateSyncSettings; static DBRoute *DBTEAMTokenGetAuthenticatedAdmin; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + + (DBRoute *)DBTEAMDevicesListMemberDevices { - if (!DBTEAMDevicesListMemberDevices) { - DBTEAMDevicesListMemberDevices = [[DBRoute alloc] init:@"devices/list_member_devices" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMListMemberDevicesResult class] - errorType:[DBTEAMListMemberDevicesError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMDevicesListMemberDevices) { + DBTEAMDevicesListMemberDevices = [[DBRoute alloc] init:@"devices/list_member_devices" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMListMemberDevicesResult class] + errorType:[DBTEAMListMemberDevicesError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMDevicesListMemberDevices; } - return DBTEAMDevicesListMemberDevices; } + (DBRoute *)DBTEAMDevicesListMembersDevices { - if (!DBTEAMDevicesListMembersDevices) { - DBTEAMDevicesListMembersDevices = [[DBRoute alloc] init:@"devices/list_members_devices" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMListMembersDevicesResult class] - errorType:[DBTEAMListMembersDevicesError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMDevicesListMembersDevices) { + DBTEAMDevicesListMembersDevices = [[DBRoute alloc] init:@"devices/list_members_devices" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMListMembersDevicesResult class] + errorType:[DBTEAMListMembersDevicesError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMDevicesListMembersDevices; } - return DBTEAMDevicesListMembersDevices; } + (DBRoute *)DBTEAMDevicesListTeamDevices { - if (!DBTEAMDevicesListTeamDevices) { - DBTEAMDevicesListTeamDevices = [[DBRoute alloc] init:@"devices/list_team_devices" - namespace_:@"team" - deprecated:@YES - resultType:[DBTEAMListTeamDevicesResult class] - errorType:[DBTEAMListTeamDevicesError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMDevicesListTeamDevices) { + DBTEAMDevicesListTeamDevices = [[DBRoute alloc] init:@"devices/list_team_devices" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMListTeamDevicesResult class] + errorType:[DBTEAMListTeamDevicesError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMDevicesListTeamDevices; } - return DBTEAMDevicesListTeamDevices; } + (DBRoute *)DBTEAMDevicesRevokeDeviceSession { - if (!DBTEAMDevicesRevokeDeviceSession) { - DBTEAMDevicesRevokeDeviceSession = [[DBRoute alloc] init:@"devices/revoke_device_session" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMRevokeDeviceSessionError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMDevicesRevokeDeviceSession) { + DBTEAMDevicesRevokeDeviceSession = [[DBRoute alloc] init:@"devices/revoke_device_session" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMRevokeDeviceSessionError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMDevicesRevokeDeviceSession; } - return DBTEAMDevicesRevokeDeviceSession; } + (DBRoute *)DBTEAMDevicesRevokeDeviceSessionBatch { - if (!DBTEAMDevicesRevokeDeviceSessionBatch) { - DBTEAMDevicesRevokeDeviceSessionBatch = [[DBRoute alloc] init:@"devices/revoke_device_session_batch" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMRevokeDeviceSessionBatchResult class] - errorType:[DBTEAMRevokeDeviceSessionBatchError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMDevicesRevokeDeviceSessionBatch; + @synchronized(lockObj) { + if (!DBTEAMDevicesRevokeDeviceSessionBatch) { + DBTEAMDevicesRevokeDeviceSessionBatch = + [[DBRoute alloc] init:@"devices/revoke_device_session_batch" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMRevokeDeviceSessionBatchResult class] + errorType:[DBTEAMRevokeDeviceSessionBatchError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMDevicesRevokeDeviceSessionBatch; + } } + (DBRoute *)DBTEAMFeaturesGetValues { - if (!DBTEAMFeaturesGetValues) { - DBTEAMFeaturesGetValues = [[DBRoute alloc] init:@"features/get_values" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMFeaturesGetValuesBatchResult class] - errorType:[DBTEAMFeaturesGetValuesBatchError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMFeaturesGetValues; + @synchronized(lockObj) { + if (!DBTEAMFeaturesGetValues) { + DBTEAMFeaturesGetValues = [[DBRoute alloc] init:@"features/get_values" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMFeaturesGetValuesBatchResult class] + errorType:[DBTEAMFeaturesGetValuesBatchError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMFeaturesGetValues; + } } + (DBRoute *)DBTEAMGetInfo { - if (!DBTEAMGetInfo) { - DBTEAMGetInfo = [[DBRoute alloc] init:@"get_info" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamGetInfoResult class] - errorType:nil - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMGetInfo; + @synchronized(lockObj) { + if (!DBTEAMGetInfo) { + DBTEAMGetInfo = [[DBRoute alloc] init:@"get_info" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamGetInfoResult class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGetInfo; + } } + (DBRoute *)DBTEAMGroupsCreate { - if (!DBTEAMGroupsCreate) { - DBTEAMGroupsCreate = [[DBRoute alloc] init:@"groups/create" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupFullInfo class] - errorType:[DBTEAMGroupCreateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsCreate) { + DBTEAMGroupsCreate = [[DBRoute alloc] init:@"groups/create" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupFullInfo class] + errorType:[DBTEAMGroupCreateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsCreate; } - return DBTEAMGroupsCreate; } + (DBRoute *)DBTEAMGroupsDelete { - if (!DBTEAMGroupsDelete) { - DBTEAMGroupsDelete = [[DBRoute alloc] init:@"groups/delete" - namespace_:@"team" - deprecated:@NO - resultType:[DBASYNCLaunchEmptyResult class] - errorType:[DBTEAMGroupDeleteError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsDelete) { + DBTEAMGroupsDelete = [[DBRoute alloc] init:@"groups/delete" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCLaunchEmptyResult class] + errorType:[DBTEAMGroupDeleteError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsDelete; } - return DBTEAMGroupsDelete; } + (DBRoute *)DBTEAMGroupsGetInfo { - if (!DBTEAMGroupsGetInfo) { - DBTEAMGroupsGetInfo = [[DBRoute alloc] init:@"groups/get_info" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMGroupsGetInfoError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMGroupsGetInfoItemSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMGroupsGetInfo; + @synchronized(lockObj) { + if (!DBTEAMGroupsGetInfo) { + DBTEAMGroupsGetInfo = [[DBRoute alloc] init:@"groups/get_info" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMGroupsGetInfoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMGroupsGetInfoItemSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMGroupsGetInfo; + } } + (DBRoute *)DBTEAMGroupsJobStatusGet { - if (!DBTEAMGroupsJobStatusGet) { - DBTEAMGroupsJobStatusGet = [[DBRoute alloc] init:@"groups/job_status/get" - namespace_:@"team" - deprecated:@NO - resultType:[DBASYNCPollEmptyResult class] - errorType:[DBTEAMGroupsPollError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsJobStatusGet) { + DBTEAMGroupsJobStatusGet = [[DBRoute alloc] init:@"groups/job_status/get" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCPollEmptyResult class] + errorType:[DBTEAMGroupsPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsJobStatusGet; } - return DBTEAMGroupsJobStatusGet; } + (DBRoute *)DBTEAMGroupsList { - if (!DBTEAMGroupsList) { - DBTEAMGroupsList = [[DBRoute alloc] init:@"groups/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupsListResult class] - errorType:nil - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMGroupsList; + @synchronized(lockObj) { + if (!DBTEAMGroupsList) { + DBTEAMGroupsList = [[DBRoute alloc] init:@"groups/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupsListResult class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsList; + } } + (DBRoute *)DBTEAMGroupsListContinue { - if (!DBTEAMGroupsListContinue) { - DBTEAMGroupsListContinue = [[DBRoute alloc] init:@"groups/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupsListResult class] - errorType:[DBTEAMGroupsListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsListContinue) { + DBTEAMGroupsListContinue = [[DBRoute alloc] init:@"groups/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupsListResult class] + errorType:[DBTEAMGroupsListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsListContinue; } - return DBTEAMGroupsListContinue; } + (DBRoute *)DBTEAMGroupsMembersAdd { - if (!DBTEAMGroupsMembersAdd) { - DBTEAMGroupsMembersAdd = [[DBRoute alloc] init:@"groups/members/add" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupMembersChangeResult class] - errorType:[DBTEAMGroupMembersAddError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsMembersAdd) { + DBTEAMGroupsMembersAdd = [[DBRoute alloc] init:@"groups/members/add" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupMembersChangeResult class] + errorType:[DBTEAMGroupMembersAddError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsMembersAdd; } - return DBTEAMGroupsMembersAdd; } + (DBRoute *)DBTEAMGroupsMembersList { - if (!DBTEAMGroupsMembersList) { - DBTEAMGroupsMembersList = [[DBRoute alloc] init:@"groups/members/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupsMembersListResult class] - errorType:[DBTEAMGroupSelectorError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMGroupsMembersList; + @synchronized(lockObj) { + if (!DBTEAMGroupsMembersList) { + DBTEAMGroupsMembersList = [[DBRoute alloc] init:@"groups/members/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupsMembersListResult class] + errorType:[DBTEAMGroupSelectorError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsMembersList; + } } + (DBRoute *)DBTEAMGroupsMembersListContinue { - if (!DBTEAMGroupsMembersListContinue) { - DBTEAMGroupsMembersListContinue = [[DBRoute alloc] init:@"groups/members/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupsMembersListResult class] - errorType:[DBTEAMGroupsMembersListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsMembersListContinue) { + DBTEAMGroupsMembersListContinue = [[DBRoute alloc] init:@"groups/members/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupsMembersListResult class] + errorType:[DBTEAMGroupsMembersListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsMembersListContinue; } - return DBTEAMGroupsMembersListContinue; } + (DBRoute *)DBTEAMGroupsMembersRemove { - if (!DBTEAMGroupsMembersRemove) { - DBTEAMGroupsMembersRemove = [[DBRoute alloc] init:@"groups/members/remove" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupMembersChangeResult class] - errorType:[DBTEAMGroupMembersRemoveError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsMembersRemove) { + DBTEAMGroupsMembersRemove = [[DBRoute alloc] init:@"groups/members/remove" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupMembersChangeResult class] + errorType:[DBTEAMGroupMembersRemoveError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsMembersRemove; } - return DBTEAMGroupsMembersRemove; } + (DBRoute *)DBTEAMGroupsMembersSetAccessType { - if (!DBTEAMGroupsMembersSetAccessType) { - DBTEAMGroupsMembersSetAccessType = [[DBRoute alloc] init:@"groups/members/set_access_type" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMGroupMemberSetAccessTypeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMGroupsGetInfoItemSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMGroupsMembersSetAccessType; + @synchronized(lockObj) { + if (!DBTEAMGroupsMembersSetAccessType) { + DBTEAMGroupsMembersSetAccessType = + [[DBRoute alloc] init:@"groups/members/set_access_type" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMGroupMemberSetAccessTypeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMGroupsGetInfoItemSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMGroupsMembersSetAccessType; + } } + (DBRoute *)DBTEAMGroupsUpdate { - if (!DBTEAMGroupsUpdate) { - DBTEAMGroupsUpdate = [[DBRoute alloc] init:@"groups/update" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGroupFullInfo class] - errorType:[DBTEAMGroupUpdateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMGroupsUpdate) { + DBTEAMGroupsUpdate = [[DBRoute alloc] init:@"groups/update" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMGroupFullInfo class] + errorType:[DBTEAMGroupUpdateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMGroupsUpdate; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsCreatePolicy { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsCreatePolicy) { + DBTEAMLegalHoldsCreatePolicy = [[DBRoute alloc] init:@"legal_holds/create_policy" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldPolicy class] + errorType:[DBTEAMLegalHoldsPolicyCreateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsCreatePolicy; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsGetPolicy { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsGetPolicy) { + DBTEAMLegalHoldsGetPolicy = [[DBRoute alloc] init:@"legal_holds/get_policy" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldPolicy class] + errorType:[DBTEAMLegalHoldsGetPolicyError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsGetPolicy; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsListHeldRevisions { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsListHeldRevisions) { + DBTEAMLegalHoldsListHeldRevisions = + [[DBRoute alloc] init:@"legal_holds/list_held_revisions" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldsListHeldRevisionResult class] + errorType:[DBTEAMLegalHoldsListHeldRevisionsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsListHeldRevisions; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsListHeldRevisionsContinue { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsListHeldRevisionsContinue) { + DBTEAMLegalHoldsListHeldRevisionsContinue = + [[DBRoute alloc] init:@"legal_holds/list_held_revisions_continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldsListHeldRevisionResult class] + errorType:[DBTEAMLegalHoldsListHeldRevisionsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsListHeldRevisionsContinue; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsListPolicies { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsListPolicies) { + DBTEAMLegalHoldsListPolicies = [[DBRoute alloc] init:@"legal_holds/list_policies" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldsListPoliciesResult class] + errorType:[DBTEAMLegalHoldsListPoliciesError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsListPolicies; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsReleasePolicy { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsReleasePolicy) { + DBTEAMLegalHoldsReleasePolicy = [[DBRoute alloc] init:@"legal_holds/release_policy" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMLegalHoldsPolicyReleaseError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsReleasePolicy; + } +} + ++ (DBRoute *)DBTEAMLegalHoldsUpdatePolicy { + @synchronized(lockObj) { + if (!DBTEAMLegalHoldsUpdatePolicy) { + DBTEAMLegalHoldsUpdatePolicy = [[DBRoute alloc] init:@"legal_holds/update_policy" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMLegalHoldPolicy class] + errorType:[DBTEAMLegalHoldsPolicyUpdateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLegalHoldsUpdatePolicy; } - return DBTEAMGroupsUpdate; } + (DBRoute *)DBTEAMLinkedAppsListMemberLinkedApps { - if (!DBTEAMLinkedAppsListMemberLinkedApps) { - DBTEAMLinkedAppsListMemberLinkedApps = [[DBRoute alloc] init:@"linked_apps/list_member_linked_apps" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMListMemberAppsResult class] - errorType:[DBTEAMListMemberAppsError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMLinkedAppsListMemberLinkedApps; + @synchronized(lockObj) { + if (!DBTEAMLinkedAppsListMemberLinkedApps) { + DBTEAMLinkedAppsListMemberLinkedApps = + [[DBRoute alloc] init:@"linked_apps/list_member_linked_apps" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMListMemberAppsResult class] + errorType:[DBTEAMListMemberAppsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLinkedAppsListMemberLinkedApps; + } } + (DBRoute *)DBTEAMLinkedAppsListMembersLinkedApps { - if (!DBTEAMLinkedAppsListMembersLinkedApps) { - DBTEAMLinkedAppsListMembersLinkedApps = [[DBRoute alloc] init:@"linked_apps/list_members_linked_apps" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMListMembersAppsResult class] - errorType:[DBTEAMListMembersAppsError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMLinkedAppsListMembersLinkedApps; + @synchronized(lockObj) { + if (!DBTEAMLinkedAppsListMembersLinkedApps) { + DBTEAMLinkedAppsListMembersLinkedApps = + [[DBRoute alloc] init:@"linked_apps/list_members_linked_apps" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMListMembersAppsResult class] + errorType:[DBTEAMListMembersAppsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLinkedAppsListMembersLinkedApps; + } } + (DBRoute *)DBTEAMLinkedAppsListTeamLinkedApps { - if (!DBTEAMLinkedAppsListTeamLinkedApps) { - DBTEAMLinkedAppsListTeamLinkedApps = [[DBRoute alloc] init:@"linked_apps/list_team_linked_apps" - namespace_:@"team" - deprecated:@YES - resultType:[DBTEAMListTeamAppsResult class] - errorType:[DBTEAMListTeamAppsError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMLinkedAppsListTeamLinkedApps) { + DBTEAMLinkedAppsListTeamLinkedApps = + [[DBRoute alloc] init:@"linked_apps/list_team_linked_apps" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMListTeamAppsResult class] + errorType:[DBTEAMListTeamAppsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLinkedAppsListTeamLinkedApps; } - return DBTEAMLinkedAppsListTeamLinkedApps; } + (DBRoute *)DBTEAMLinkedAppsRevokeLinkedApp { - if (!DBTEAMLinkedAppsRevokeLinkedApp) { - DBTEAMLinkedAppsRevokeLinkedApp = [[DBRoute alloc] init:@"linked_apps/revoke_linked_app" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMRevokeLinkedAppError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMLinkedAppsRevokeLinkedApp) { + DBTEAMLinkedAppsRevokeLinkedApp = [[DBRoute alloc] init:@"linked_apps/revoke_linked_app" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMRevokeLinkedAppError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLinkedAppsRevokeLinkedApp; } - return DBTEAMLinkedAppsRevokeLinkedApp; } + (DBRoute *)DBTEAMLinkedAppsRevokeLinkedAppBatch { - if (!DBTEAMLinkedAppsRevokeLinkedAppBatch) { - DBTEAMLinkedAppsRevokeLinkedAppBatch = [[DBRoute alloc] init:@"linked_apps/revoke_linked_app_batch" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMRevokeLinkedAppBatchResult class] - errorType:[DBTEAMRevokeLinkedAppBatchError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMLinkedAppsRevokeLinkedAppBatch; + @synchronized(lockObj) { + if (!DBTEAMLinkedAppsRevokeLinkedAppBatch) { + DBTEAMLinkedAppsRevokeLinkedAppBatch = + [[DBRoute alloc] init:@"linked_apps/revoke_linked_app_batch" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMRevokeLinkedAppBatchResult class] + errorType:[DBTEAMRevokeLinkedAppBatchError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMLinkedAppsRevokeLinkedAppBatch; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersAdd { - if (!DBTEAMMemberSpaceLimitsExcludedUsersAdd) { - DBTEAMMemberSpaceLimitsExcludedUsersAdd = [[DBRoute alloc] init:@"member_space_limits/excluded_users/add" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMExcludedUsersUpdateResult class] - errorType:[DBTEAMExcludedUsersUpdateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMemberSpaceLimitsExcludedUsersAdd; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsExcludedUsersAdd) { + DBTEAMMemberSpaceLimitsExcludedUsersAdd = + [[DBRoute alloc] init:@"member_space_limits/excluded_users/add" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMExcludedUsersUpdateResult class] + errorType:[DBTEAMExcludedUsersUpdateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMemberSpaceLimitsExcludedUsersAdd; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersList { - if (!DBTEAMMemberSpaceLimitsExcludedUsersList) { - DBTEAMMemberSpaceLimitsExcludedUsersList = [[DBRoute alloc] init:@"member_space_limits/excluded_users/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMExcludedUsersListResult class] - errorType:[DBTEAMExcludedUsersListError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMemberSpaceLimitsExcludedUsersList; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsExcludedUsersList) { + DBTEAMMemberSpaceLimitsExcludedUsersList = + [[DBRoute alloc] init:@"member_space_limits/excluded_users/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMExcludedUsersListResult class] + errorType:[DBTEAMExcludedUsersListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMemberSpaceLimitsExcludedUsersList; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersListContinue { - if (!DBTEAMMemberSpaceLimitsExcludedUsersListContinue) { - DBTEAMMemberSpaceLimitsExcludedUsersListContinue = - [[DBRoute alloc] init:@"member_space_limits/excluded_users/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMExcludedUsersListResult class] - errorType:[DBTEAMExcludedUsersListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMemberSpaceLimitsExcludedUsersListContinue; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsExcludedUsersListContinue) { + DBTEAMMemberSpaceLimitsExcludedUsersListContinue = + [[DBRoute alloc] init:@"member_space_limits/excluded_users/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMExcludedUsersListResult class] + errorType:[DBTEAMExcludedUsersListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMemberSpaceLimitsExcludedUsersListContinue; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsExcludedUsersRemove { - if (!DBTEAMMemberSpaceLimitsExcludedUsersRemove) { - DBTEAMMemberSpaceLimitsExcludedUsersRemove = [[DBRoute alloc] init:@"member_space_limits/excluded_users/remove" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMExcludedUsersUpdateResult class] - errorType:[DBTEAMExcludedUsersUpdateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMemberSpaceLimitsExcludedUsersRemove; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsExcludedUsersRemove) { + DBTEAMMemberSpaceLimitsExcludedUsersRemove = + [[DBRoute alloc] init:@"member_space_limits/excluded_users/remove" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMExcludedUsersUpdateResult class] + errorType:[DBTEAMExcludedUsersUpdateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMemberSpaceLimitsExcludedUsersRemove; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsGetCustomQuota { - if (!DBTEAMMemberSpaceLimitsGetCustomQuota) { - DBTEAMMemberSpaceLimitsGetCustomQuota = [[DBRoute alloc] init:@"member_space_limits/get_custom_quota" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMCustomQuotaError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMCustomQuotaResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMMemberSpaceLimitsGetCustomQuota; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsGetCustomQuota) { + DBTEAMMemberSpaceLimitsGetCustomQuota = + [[DBRoute alloc] init:@"member_space_limits/get_custom_quota" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMCustomQuotaError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMCustomQuotaResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMMemberSpaceLimitsGetCustomQuota; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsRemoveCustomQuota { - if (!DBTEAMMemberSpaceLimitsRemoveCustomQuota) { - DBTEAMMemberSpaceLimitsRemoveCustomQuota = [[DBRoute alloc] init:@"member_space_limits/remove_custom_quota" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMCustomQuotaError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMRemoveCustomQuotaResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMMemberSpaceLimitsRemoveCustomQuota; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsRemoveCustomQuota) { + DBTEAMMemberSpaceLimitsRemoveCustomQuota = + [[DBRoute alloc] init:@"member_space_limits/remove_custom_quota" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMCustomQuotaError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMRemoveCustomQuotaResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMMemberSpaceLimitsRemoveCustomQuota; + } } + (DBRoute *)DBTEAMMemberSpaceLimitsSetCustomQuota { - if (!DBTEAMMemberSpaceLimitsSetCustomQuota) { - DBTEAMMemberSpaceLimitsSetCustomQuota = [[DBRoute alloc] init:@"member_space_limits/set_custom_quota" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMSetCustomQuotaError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMCustomQuotaResultSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMMemberSpaceLimitsSetCustomQuota; + @synchronized(lockObj) { + if (!DBTEAMMemberSpaceLimitsSetCustomQuota) { + DBTEAMMemberSpaceLimitsSetCustomQuota = + [[DBRoute alloc] init:@"member_space_limits/set_custom_quota" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMSetCustomQuotaError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMCustomQuotaResultSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMMemberSpaceLimitsSetCustomQuota; + } } + (DBRoute *)DBTEAMMembersAdd { - if (!DBTEAMMembersAdd) { - DBTEAMMembersAdd = [[DBRoute alloc] init:@"members/add" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMMembersAddLaunch class] - errorType:nil - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMembersAdd; + @synchronized(lockObj) { + if (!DBTEAMMembersAdd) { + DBTEAMMembersAdd = [[DBRoute alloc] init:@"members/add" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersAddLaunch class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersAdd; + } +} + ++ (DBRoute *)DBTEAMMembersAddV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersAddV2) { + DBTEAMMembersAddV2 = [[DBRoute alloc] init:@"members/add_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersAddLaunchV2Result class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersAddV2; + } } + (DBRoute *)DBTEAMMembersAddJobStatusGet { - if (!DBTEAMMembersAddJobStatusGet) { - DBTEAMMembersAddJobStatusGet = [[DBRoute alloc] init:@"members/add/job_status/get" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMMembersAddJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMMembersAddJobStatusGet) { + DBTEAMMembersAddJobStatusGet = [[DBRoute alloc] init:@"members/add/job_status/get" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersAddJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersAddJobStatusGet; + } +} + ++ (DBRoute *)DBTEAMMembersAddJobStatusGetV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersAddJobStatusGetV2) { + DBTEAMMembersAddJobStatusGetV2 = [[DBRoute alloc] init:@"members/add/job_status/get_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersAddJobStatusV2Result class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersAddJobStatusGetV2; + } +} + ++ (DBRoute *)DBTEAMMembersDeleteProfilePhoto { + @synchronized(lockObj) { + if (!DBTEAMMembersDeleteProfilePhoto) { + DBTEAMMembersDeleteProfilePhoto = [[DBRoute alloc] init:@"members/delete_profile_photo" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfo class] + errorType:[DBTEAMMembersDeleteProfilePhotoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersDeleteProfilePhoto; + } +} + ++ (DBRoute *)DBTEAMMembersDeleteProfilePhotoV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersDeleteProfilePhotoV2) { + DBTEAMMembersDeleteProfilePhotoV2 = + [[DBRoute alloc] init:@"members/delete_profile_photo_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfoV2Result class] + errorType:[DBTEAMMembersDeleteProfilePhotoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersDeleteProfilePhotoV2; + } +} + ++ (DBRoute *)DBTEAMMembersGetAvailableTeamMemberRoles { + @synchronized(lockObj) { + if (!DBTEAMMembersGetAvailableTeamMemberRoles) { + DBTEAMMembersGetAvailableTeamMemberRoles = + [[DBRoute alloc] init:@"members/get_available_team_member_roles" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersGetAvailableTeamMemberRolesResult class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersGetAvailableTeamMemberRoles; } - return DBTEAMMembersAddJobStatusGet; } + (DBRoute *)DBTEAMMembersGetInfo { - if (!DBTEAMMembersGetInfo) { - DBTEAMMembersGetInfo = [[DBRoute alloc] init:@"members/get_info" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBTEAMMembersGetInfoError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMMembersGetInfoItemSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMMembersGetInfo; + @synchronized(lockObj) { + if (!DBTEAMMembersGetInfo) { + DBTEAMMembersGetInfo = + [[DBRoute alloc] init:@"members/get_info" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:[DBTEAMMembersGetInfoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMMembersGetInfoItemSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMMembersGetInfo; + } +} + ++ (DBRoute *)DBTEAMMembersGetInfoV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersGetInfoV2) { + DBTEAMMembersGetInfoV2 = [[DBRoute alloc] init:@"members/get_info_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersGetInfoV2Result class] + errorType:[DBTEAMMembersGetInfoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersGetInfoV2; + } } + (DBRoute *)DBTEAMMembersList { - if (!DBTEAMMembersList) { - DBTEAMMembersList = [[DBRoute alloc] init:@"members/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMMembersListResult class] - errorType:[DBTEAMMembersListError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMembersList; + @synchronized(lockObj) { + if (!DBTEAMMembersList) { + DBTEAMMembersList = [[DBRoute alloc] init:@"members/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersListResult class] + errorType:[DBTEAMMembersListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersList; + } +} + ++ (DBRoute *)DBTEAMMembersListV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersListV2) { + DBTEAMMembersListV2 = [[DBRoute alloc] init:@"members/list_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersListV2Result class] + errorType:[DBTEAMMembersListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersListV2; + } } + (DBRoute *)DBTEAMMembersListContinue { - if (!DBTEAMMembersListContinue) { - DBTEAMMembersListContinue = [[DBRoute alloc] init:@"members/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMMembersListResult class] - errorType:[DBTEAMMembersListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMMembersListContinue) { + DBTEAMMembersListContinue = [[DBRoute alloc] init:@"members/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersListResult class] + errorType:[DBTEAMMembersListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersListContinue; + } +} + ++ (DBRoute *)DBTEAMMembersListContinueV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersListContinueV2) { + DBTEAMMembersListContinueV2 = [[DBRoute alloc] init:@"members/list/continue_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersListV2Result class] + errorType:[DBTEAMMembersListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersListContinueV2; + } +} + ++ (DBRoute *)DBTEAMMembersMoveFormerMemberFiles { + @synchronized(lockObj) { + if (!DBTEAMMembersMoveFormerMemberFiles) { + DBTEAMMembersMoveFormerMemberFiles = + [[DBRoute alloc] init:@"members/move_former_member_files" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCLaunchEmptyResult class] + errorType:[DBTEAMMembersTransferFormerMembersFilesError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersMoveFormerMemberFiles; + } +} + ++ (DBRoute *)DBTEAMMembersMoveFormerMemberFilesJobStatusCheck { + @synchronized(lockObj) { + if (!DBTEAMMembersMoveFormerMemberFilesJobStatusCheck) { + DBTEAMMembersMoveFormerMemberFilesJobStatusCheck = + [[DBRoute alloc] init:@"members/move_former_member_files/job_status/check" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCPollEmptyResult class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersMoveFormerMemberFilesJobStatusCheck; } - return DBTEAMMembersListContinue; } + (DBRoute *)DBTEAMMembersRecover { - if (!DBTEAMMembersRecover) { - DBTEAMMembersRecover = [[DBRoute alloc] init:@"members/recover" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMMembersRecoverError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMMembersRecover) { + DBTEAMMembersRecover = [[DBRoute alloc] init:@"members/recover" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMMembersRecoverError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersRecover; } - return DBTEAMMembersRecover; } + (DBRoute *)DBTEAMMembersRemove { - if (!DBTEAMMembersRemove) { - DBTEAMMembersRemove = [[DBRoute alloc] init:@"members/remove" - namespace_:@"team" - deprecated:@NO - resultType:[DBASYNCLaunchEmptyResult class] - errorType:[DBTEAMMembersRemoveError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMMembersRemove) { + DBTEAMMembersRemove = [[DBRoute alloc] init:@"members/remove" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCLaunchEmptyResult class] + errorType:[DBTEAMMembersRemoveError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersRemove; } - return DBTEAMMembersRemove; } + (DBRoute *)DBTEAMMembersRemoveJobStatusGet { - if (!DBTEAMMembersRemoveJobStatusGet) { - DBTEAMMembersRemoveJobStatusGet = [[DBRoute alloc] init:@"members/remove/job_status/get" + @synchronized(lockObj) { + if (!DBTEAMMembersRemoveJobStatusGet) { + DBTEAMMembersRemoveJobStatusGet = [[DBRoute alloc] init:@"members/remove/job_status/get" + namespace_:@"team" + deprecated:@NO + resultType:[DBASYNCPollEmptyResult class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersRemoveJobStatusGet; + } +} + ++ (DBRoute *)DBTEAMMembersSecondaryEmailsAdd { + @synchronized(lockObj) { + if (!DBTEAMMembersSecondaryEmailsAdd) { + DBTEAMMembersSecondaryEmailsAdd = [[DBRoute alloc] init:@"members/secondary_emails/add" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMAddSecondaryEmailsResult class] + errorType:[DBTEAMAddSecondaryEmailsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSecondaryEmailsAdd; + } +} + ++ (DBRoute *)DBTEAMMembersSecondaryEmailsDelete { + @synchronized(lockObj) { + if (!DBTEAMMembersSecondaryEmailsDelete) { + DBTEAMMembersSecondaryEmailsDelete = + [[DBRoute alloc] init:@"members/secondary_emails/delete" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMDeleteSecondaryEmailsResult class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSecondaryEmailsDelete; + } +} + ++ (DBRoute *)DBTEAMMembersSecondaryEmailsResendVerificationEmails { + @synchronized(lockObj) { + if (!DBTEAMMembersSecondaryEmailsResendVerificationEmails) { + DBTEAMMembersSecondaryEmailsResendVerificationEmails = + [[DBRoute alloc] init:@"members/secondary_emails/resend_verification_emails" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMResendVerificationEmailResult class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSecondaryEmailsResendVerificationEmails; + } +} + ++ (DBRoute *)DBTEAMMembersSendWelcomeEmail { + @synchronized(lockObj) { + if (!DBTEAMMembersSendWelcomeEmail) { + DBTEAMMembersSendWelcomeEmail = [[DBRoute alloc] init:@"members/send_welcome_email" namespace_:@"team" deprecated:@NO - resultType:[DBASYNCPollEmptyResult class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:nil + errorType:[DBTEAMMembersSendWelcomeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSendWelcomeEmail; } - return DBTEAMMembersRemoveJobStatusGet; } -+ (DBRoute *)DBTEAMMembersSendWelcomeEmail { - if (!DBTEAMMembersSendWelcomeEmail) { - DBTEAMMembersSendWelcomeEmail = [[DBRoute alloc] init:@"members/send_welcome_email" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMMembersSendWelcomeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBTEAMMembersSetAdminPermissions { + @synchronized(lockObj) { + if (!DBTEAMMembersSetAdminPermissions) { + DBTEAMMembersSetAdminPermissions = [[DBRoute alloc] init:@"members/set_admin_permissions" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersSetPermissionsResult class] + errorType:[DBTEAMMembersSetPermissionsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetAdminPermissions; } - return DBTEAMMembersSendWelcomeEmail; } -+ (DBRoute *)DBTEAMMembersSetAdminPermissions { - if (!DBTEAMMembersSetAdminPermissions) { - DBTEAMMembersSetAdminPermissions = [[DBRoute alloc] init:@"members/set_admin_permissions" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMMembersSetPermissionsResult class] - errorType:[DBTEAMMembersSetPermissionsError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBTEAMMembersSetAdminPermissionsV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersSetAdminPermissionsV2) { + DBTEAMMembersSetAdminPermissionsV2 = + [[DBRoute alloc] init:@"members/set_admin_permissions_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMMembersSetPermissions2Result class] + errorType:[DBTEAMMembersSetPermissions2Error class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetAdminPermissionsV2; } - return DBTEAMMembersSetAdminPermissions; } + (DBRoute *)DBTEAMMembersSetProfile { - if (!DBTEAMMembersSetProfile) { - DBTEAMMembersSetProfile = [[DBRoute alloc] init:@"members/set_profile" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamMemberInfo class] - errorType:[DBTEAMMembersSetProfileError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMMembersSetProfile; + @synchronized(lockObj) { + if (!DBTEAMMembersSetProfile) { + DBTEAMMembersSetProfile = [[DBRoute alloc] init:@"members/set_profile" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfo class] + errorType:[DBTEAMMembersSetProfileError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetProfile; + } } -+ (DBRoute *)DBTEAMMembersSuspend { - if (!DBTEAMMembersSuspend) { - DBTEAMMembersSuspend = [[DBRoute alloc] init:@"members/suspend" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMMembersSuspendError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; ++ (DBRoute *)DBTEAMMembersSetProfileV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersSetProfileV2) { + DBTEAMMembersSetProfileV2 = [[DBRoute alloc] init:@"members/set_profile_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfoV2Result class] + errorType:[DBTEAMMembersSetProfileError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetProfileV2; } - return DBTEAMMembersSuspend; } -+ (DBRoute *)DBTEAMMembersUnsuspend { - if (!DBTEAMMembersUnsuspend) { - DBTEAMMembersUnsuspend = [[DBRoute alloc] init:@"members/unsuspend" ++ (DBRoute *)DBTEAMMembersSetProfilePhoto { + @synchronized(lockObj) { + if (!DBTEAMMembersSetProfilePhoto) { + DBTEAMMembersSetProfilePhoto = [[DBRoute alloc] init:@"members/set_profile_photo" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfo class] + errorType:[DBTEAMMembersSetProfilePhotoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetProfilePhoto; + } +} + ++ (DBRoute *)DBTEAMMembersSetProfilePhotoV2 { + @synchronized(lockObj) { + if (!DBTEAMMembersSetProfilePhotoV2) { + DBTEAMMembersSetProfilePhotoV2 = [[DBRoute alloc] init:@"members/set_profile_photo_v2" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamMemberInfoV2Result class] + errorType:[DBTEAMMembersSetProfilePhotoError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSetProfilePhotoV2; + } +} + ++ (DBRoute *)DBTEAMMembersSuspend { + @synchronized(lockObj) { + if (!DBTEAMMembersSuspend) { + DBTEAMMembersSuspend = [[DBRoute alloc] init:@"members/suspend" namespace_:@"team" deprecated:@NO resultType:nil - errorType:[DBTEAMMembersUnsuspendError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } + errorType:[DBTEAMMembersSuspendError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBTEAMMembersSuspend; + } +} + ++ (DBRoute *)DBTEAMMembersUnsuspend { + @synchronized(lockObj) { + if (!DBTEAMMembersUnsuspend) { + DBTEAMMembersUnsuspend = [[DBRoute alloc] init:@"members/unsuspend" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMMembersUnsuspendError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMMembersUnsuspend; } - return DBTEAMMembersUnsuspend; } + (DBRoute *)DBTEAMNamespacesList { - if (!DBTEAMNamespacesList) { - DBTEAMNamespacesList = [[DBRoute alloc] init:@"namespaces/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamNamespacesListResult class] - errorType:nil - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMNamespacesList) { + DBTEAMNamespacesList = [[DBRoute alloc] init:@"namespaces/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamNamespacesListResult class] + errorType:[DBTEAMTeamNamespacesListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMNamespacesList; } - return DBTEAMNamespacesList; } + (DBRoute *)DBTEAMNamespacesListContinue { - if (!DBTEAMNamespacesListContinue) { - DBTEAMNamespacesListContinue = [[DBRoute alloc] init:@"namespaces/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamNamespacesListResult class] - errorType:[DBTEAMTeamNamespacesListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMNamespacesListContinue) { + DBTEAMNamespacesListContinue = [[DBRoute alloc] init:@"namespaces/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamNamespacesListResult class] + errorType:[DBTEAMTeamNamespacesListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMNamespacesListContinue; } - return DBTEAMNamespacesListContinue; } + (DBRoute *)DBTEAMPropertiesTemplateAdd { - if (!DBTEAMPropertiesTemplateAdd) { - DBTEAMPropertiesTemplateAdd = [[DBRoute alloc] init:@"properties/template/add" - namespace_:@"team" - deprecated:@YES - resultType:[DBFILEPROPERTIESAddTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMPropertiesTemplateAdd) { + DBTEAMPropertiesTemplateAdd = [[DBRoute alloc] init:@"properties/template/add" + namespace_:@"team" + deprecated:@YES + resultType:[DBFILEPROPERTIESAddTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMPropertiesTemplateAdd; } - return DBTEAMPropertiesTemplateAdd; } + (DBRoute *)DBTEAMPropertiesTemplateGet { - if (!DBTEAMPropertiesTemplateGet) { - DBTEAMPropertiesTemplateGet = [[DBRoute alloc] init:@"properties/template/get" - namespace_:@"team" - deprecated:@YES - resultType:[DBFILEPROPERTIESGetTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMPropertiesTemplateGet) { + DBTEAMPropertiesTemplateGet = [[DBRoute alloc] init:@"properties/template/get" + namespace_:@"team" + deprecated:@YES + resultType:[DBFILEPROPERTIESGetTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMPropertiesTemplateGet; } - return DBTEAMPropertiesTemplateGet; } + (DBRoute *)DBTEAMPropertiesTemplateList { - if (!DBTEAMPropertiesTemplateList) { - DBTEAMPropertiesTemplateList = [[DBRoute alloc] init:@"properties/template/list" - namespace_:@"team" - deprecated:@YES - resultType:[DBFILEPROPERTIESListTemplateResult class] - errorType:[DBFILEPROPERTIESTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMPropertiesTemplateList; -} - -+ (DBRoute *)DBTEAMPropertiesTemplateUpdate { - if (!DBTEAMPropertiesTemplateUpdate) { - DBTEAMPropertiesTemplateUpdate = [[DBRoute alloc] init:@"properties/template/update" + @synchronized(lockObj) { + if (!DBTEAMPropertiesTemplateList) { + DBTEAMPropertiesTemplateList = [[DBRoute alloc] init:@"properties/template/list" namespace_:@"team" deprecated:@YES - resultType:[DBFILEPROPERTIESUpdateTemplateResult class] - errorType:[DBFILEPROPERTIESModifyTemplateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:[DBFILEPROPERTIESListTemplateResult class] + errorType:[DBFILEPROPERTIESTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil dataStructDeserialBlock:nil]; + } + return DBTEAMPropertiesTemplateList; + } +} + ++ (DBRoute *)DBTEAMPropertiesTemplateUpdate { + @synchronized(lockObj) { + if (!DBTEAMPropertiesTemplateUpdate) { + DBTEAMPropertiesTemplateUpdate = [[DBRoute alloc] init:@"properties/template/update" + namespace_:@"team" + deprecated:@YES + resultType:[DBFILEPROPERTIESUpdateTemplateResult class] + errorType:[DBFILEPROPERTIESModifyTemplateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMPropertiesTemplateUpdate; } - return DBTEAMPropertiesTemplateUpdate; } + (DBRoute *)DBTEAMReportsGetActivity { - if (!DBTEAMReportsGetActivity) { - DBTEAMReportsGetActivity = [[DBRoute alloc] init:@"reports/get_activity" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGetActivityReport class] - errorType:[DBTEAMDateRangeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMReportsGetActivity) { + DBTEAMReportsGetActivity = [[DBRoute alloc] init:@"reports/get_activity" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMGetActivityReport class] + errorType:[DBTEAMDateRangeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMReportsGetActivity; } - return DBTEAMReportsGetActivity; } + (DBRoute *)DBTEAMReportsGetDevices { - if (!DBTEAMReportsGetDevices) { - DBTEAMReportsGetDevices = [[DBRoute alloc] init:@"reports/get_devices" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGetDevicesReport class] - errorType:[DBTEAMDateRangeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMReportsGetDevices; + @synchronized(lockObj) { + if (!DBTEAMReportsGetDevices) { + DBTEAMReportsGetDevices = [[DBRoute alloc] init:@"reports/get_devices" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMGetDevicesReport class] + errorType:[DBTEAMDateRangeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMReportsGetDevices; + } } + (DBRoute *)DBTEAMReportsGetMembership { - if (!DBTEAMReportsGetMembership) { - DBTEAMReportsGetMembership = [[DBRoute alloc] init:@"reports/get_membership" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGetMembershipReport class] - errorType:[DBTEAMDateRangeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMReportsGetMembership) { + DBTEAMReportsGetMembership = [[DBRoute alloc] init:@"reports/get_membership" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMGetMembershipReport class] + errorType:[DBTEAMDateRangeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMReportsGetMembership; } - return DBTEAMReportsGetMembership; } + (DBRoute *)DBTEAMReportsGetStorage { - if (!DBTEAMReportsGetStorage) { - DBTEAMReportsGetStorage = [[DBRoute alloc] init:@"reports/get_storage" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMGetStorageReport class] - errorType:[DBTEAMDateRangeError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMReportsGetStorage; + @synchronized(lockObj) { + if (!DBTEAMReportsGetStorage) { + DBTEAMReportsGetStorage = [[DBRoute alloc] init:@"reports/get_storage" + namespace_:@"team" + deprecated:@YES + resultType:[DBTEAMGetStorageReport class] + errorType:[DBTEAMDateRangeError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMReportsGetStorage; + } +} + ++ (DBRoute *)DBTEAMSharingAllowlistAdd { + @synchronized(lockObj) { + if (!DBTEAMSharingAllowlistAdd) { + DBTEAMSharingAllowlistAdd = [[DBRoute alloc] init:@"sharing_allowlist/add" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMSharingAllowlistAddResponse class] + errorType:[DBTEAMSharingAllowlistAddError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMSharingAllowlistAdd; + } +} + ++ (DBRoute *)DBTEAMSharingAllowlistList { + @synchronized(lockObj) { + if (!DBTEAMSharingAllowlistList) { + DBTEAMSharingAllowlistList = [[DBRoute alloc] init:@"sharing_allowlist/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMSharingAllowlistListResponse class] + errorType:[DBTEAMSharingAllowlistListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMSharingAllowlistList; + } +} + ++ (DBRoute *)DBTEAMSharingAllowlistListContinue { + @synchronized(lockObj) { + if (!DBTEAMSharingAllowlistListContinue) { + DBTEAMSharingAllowlistListContinue = + [[DBRoute alloc] init:@"sharing_allowlist/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMSharingAllowlistListResponse class] + errorType:[DBTEAMSharingAllowlistListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMSharingAllowlistListContinue; + } +} + ++ (DBRoute *)DBTEAMSharingAllowlistRemove { + @synchronized(lockObj) { + if (!DBTEAMSharingAllowlistRemove) { + DBTEAMSharingAllowlistRemove = [[DBRoute alloc] init:@"sharing_allowlist/remove" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMSharingAllowlistRemoveResponse class] + errorType:[DBTEAMSharingAllowlistRemoveError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMSharingAllowlistRemove; + } } + (DBRoute *)DBTEAMTeamFolderActivate { - if (!DBTEAMTeamFolderActivate) { - DBTEAMTeamFolderActivate = [[DBRoute alloc] init:@"team_folder/activate" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderMetadata class] - errorType:[DBTEAMTeamFolderActivateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderActivate) { + DBTEAMTeamFolderActivate = [[DBRoute alloc] init:@"team_folder/activate" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderMetadata class] + errorType:[DBTEAMTeamFolderActivateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderActivate; } - return DBTEAMTeamFolderActivate; } + (DBRoute *)DBTEAMTeamFolderArchive { - if (!DBTEAMTeamFolderArchive) { - DBTEAMTeamFolderArchive = [[DBRoute alloc] init:@"team_folder/archive" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderArchiveLaunch class] - errorType:[DBTEAMTeamFolderArchiveError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; - } - return DBTEAMTeamFolderArchive; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderArchive) { + DBTEAMTeamFolderArchive = [[DBRoute alloc] init:@"team_folder/archive" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderArchiveLaunch class] + errorType:[DBTEAMTeamFolderArchiveError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderArchive; + } } + (DBRoute *)DBTEAMTeamFolderArchiveCheck { - if (!DBTEAMTeamFolderArchiveCheck) { - DBTEAMTeamFolderArchiveCheck = [[DBRoute alloc] init:@"team_folder/archive/check" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderArchiveJobStatus class] - errorType:[DBASYNCPollError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderArchiveCheck) { + DBTEAMTeamFolderArchiveCheck = [[DBRoute alloc] init:@"team_folder/archive/check" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderArchiveJobStatus class] + errorType:[DBASYNCPollError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderArchiveCheck; } - return DBTEAMTeamFolderArchiveCheck; } + (DBRoute *)DBTEAMTeamFolderCreate { - if (!DBTEAMTeamFolderCreate) { - DBTEAMTeamFolderCreate = [[DBRoute alloc] init:@"team_folder/create" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderMetadata class] - errorType:[DBTEAMTeamFolderCreateError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderCreate) { + DBTEAMTeamFolderCreate = [[DBRoute alloc] init:@"team_folder/create" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderMetadata class] + errorType:[DBTEAMTeamFolderCreateError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderCreate; } - return DBTEAMTeamFolderCreate; } + (DBRoute *)DBTEAMTeamFolderGetInfo { - if (!DBTEAMTeamFolderGetInfo) { - DBTEAMTeamFolderGetInfo = [[DBRoute alloc] init:@"team_folder/get_info" - namespace_:@"team" - deprecated:@NO - resultType:[NSArray class] - errorType:nil - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBTEAMTeamFolderGetInfoItemSerializer deserialize:elem0]; - }]; - }]; - } - return DBTEAMTeamFolderGetInfo; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderGetInfo) { + DBTEAMTeamFolderGetInfo = + [[DBRoute alloc] init:@"team_folder/get_info" + namespace_:@"team" + deprecated:@NO + resultType:[NSArray class] + errorType:nil + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBTEAMTeamFolderGetInfoItemSerializer deserialize:elem0]; + }]; + }]; + } + return DBTEAMTeamFolderGetInfo; + } } + (DBRoute *)DBTEAMTeamFolderList { - if (!DBTEAMTeamFolderList) { - DBTEAMTeamFolderList = [[DBRoute alloc] init:@"team_folder/list" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderListResult class] - errorType:[DBTEAMTeamFolderListError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderList) { + DBTEAMTeamFolderList = [[DBRoute alloc] init:@"team_folder/list" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderListResult class] + errorType:[DBTEAMTeamFolderListError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderList; } - return DBTEAMTeamFolderList; } + (DBRoute *)DBTEAMTeamFolderListContinue { - if (!DBTEAMTeamFolderListContinue) { - DBTEAMTeamFolderListContinue = [[DBRoute alloc] init:@"team_folder/list/continue" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderListResult class] - errorType:[DBTEAMTeamFolderListContinueError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderListContinue) { + DBTEAMTeamFolderListContinue = [[DBRoute alloc] init:@"team_folder/list/continue" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderListResult class] + errorType:[DBTEAMTeamFolderListContinueError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderListContinue; } - return DBTEAMTeamFolderListContinue; } + (DBRoute *)DBTEAMTeamFolderPermanentlyDelete { - if (!DBTEAMTeamFolderPermanentlyDelete) { - DBTEAMTeamFolderPermanentlyDelete = [[DBRoute alloc] init:@"team_folder/permanently_delete" - namespace_:@"team" - deprecated:@NO - resultType:nil - errorType:[DBTEAMTeamFolderPermanentlyDeleteError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderPermanentlyDelete) { + DBTEAMTeamFolderPermanentlyDelete = + [[DBRoute alloc] init:@"team_folder/permanently_delete" + namespace_:@"team" + deprecated:@NO + resultType:nil + errorType:[DBTEAMTeamFolderPermanentlyDeleteError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderPermanentlyDelete; } - return DBTEAMTeamFolderPermanentlyDelete; } + (DBRoute *)DBTEAMTeamFolderRename { - if (!DBTEAMTeamFolderRename) { - DBTEAMTeamFolderRename = [[DBRoute alloc] init:@"team_folder/rename" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTeamFolderMetadata class] - errorType:[DBTEAMTeamFolderRenameError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTeamFolderRename) { + DBTEAMTeamFolderRename = [[DBRoute alloc] init:@"team_folder/rename" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderMetadata class] + errorType:[DBTEAMTeamFolderRenameError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderRename; + } +} + ++ (DBRoute *)DBTEAMTeamFolderUpdateSyncSettings { + @synchronized(lockObj) { + if (!DBTEAMTeamFolderUpdateSyncSettings) { + DBTEAMTeamFolderUpdateSyncSettings = + [[DBRoute alloc] init:@"team_folder/update_sync_settings" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTeamFolderMetadata class] + errorType:[DBTEAMTeamFolderUpdateSyncSettingsError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTeamFolderUpdateSyncSettings; } - return DBTEAMTeamFolderRename; } + (DBRoute *)DBTEAMTokenGetAuthenticatedAdmin { - if (!DBTEAMTokenGetAuthenticatedAdmin) { - DBTEAMTokenGetAuthenticatedAdmin = [[DBRoute alloc] init:@"token/get_authenticated_admin" - namespace_:@"team" - deprecated:@NO - resultType:[DBTEAMTokenGetAuthenticatedAdminResult class] - errorType:[DBTEAMTokenGetAuthenticatedAdminError class] - attrs:@{ - @"auth" : @"team", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBTEAMTokenGetAuthenticatedAdmin) { + DBTEAMTokenGetAuthenticatedAdmin = [[DBRoute alloc] init:@"token/get_authenticated_admin" + namespace_:@"team" + deprecated:@NO + resultType:[DBTEAMTokenGetAuthenticatedAdminResult class] + errorType:[DBTEAMTokenGetAuthenticatedAdminError class] + attrs:@{@"auth" : @"team", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBTEAMTokenGetAuthenticatedAdmin; } - return DBTEAMTokenGetAuthenticatedAdmin; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.h b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.h index 13eed067f..8fe280346 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.h @@ -17,6 +17,9 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBUSERSRouteObjects : NSObject +/// Accessor method for the featuresGetValues route object. ++ (DBRoute *)DBUSERSFeaturesGetValues; + /// Accessor method for the getAccount route object. + (DBRoute *)DBUSERSGetAccount; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.m b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.m index de46e1608..46ad17904 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Generated/Routes/RouteObjects/DBUSERSRouteObjects.m @@ -19,89 +19,109 @@ #import "DBUSERSSpaceAllocation.h" #import "DBUSERSSpaceUsage.h" #import "DBUSERSUserAuthRoutes.h" +#import "DBUSERSUserFeatureValue.h" +#import "DBUSERSUserFeaturesGetValuesBatchError.h" +#import "DBUSERSUserFeaturesGetValuesBatchResult.h" @implementation DBUSERSRouteObjects +static DBRoute *DBUSERSFeaturesGetValues; static DBRoute *DBUSERSGetAccount; static DBRoute *DBUSERSGetAccountBatch; static DBRoute *DBUSERSGetCurrentAccount; static DBRoute *DBUSERSGetSpaceUsage; -+ (DBRoute *)DBUSERSGetAccount { - if (!DBUSERSGetAccount) { - DBUSERSGetAccount = [[DBRoute alloc] init:@"get_account" - namespace_:@"users" - deprecated:@NO - resultType:[DBUSERSBasicAccount class] - errorType:[DBUSERSGetAccountError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; +static NSObject *lockObj = nil; ++ (void)initialize { + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + lockObj = [[NSObject alloc] init]; + }); +} + ++ (DBRoute *)DBUSERSFeaturesGetValues { + @synchronized(lockObj) { + if (!DBUSERSFeaturesGetValues) { + DBUSERSFeaturesGetValues = [[DBRoute alloc] init:@"features/get_values" + namespace_:@"users" + deprecated:@NO + resultType:[DBUSERSUserFeaturesGetValuesBatchResult class] + errorType:[DBUSERSUserFeaturesGetValuesBatchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBUSERSFeaturesGetValues; } - return DBUSERSGetAccount; } -+ (DBRoute *)DBUSERSGetAccountBatch { - if (!DBUSERSGetAccountBatch) { - DBUSERSGetAccountBatch = [[DBRoute alloc] init:@"get_account_batch" - namespace_:@"users" - deprecated:@NO - resultType:[NSArray class] - errorType:[DBUSERSGetAccountBatchError class] - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:^id(id dataStruct) { - return [DBArraySerializer deserialize:dataStruct - withBlock:^id(id elem0) { - return [DBUSERSBasicAccountSerializer deserialize:elem0]; - }]; - }]; ++ (DBRoute *)DBUSERSGetAccount { + @synchronized(lockObj) { + if (!DBUSERSGetAccount) { + DBUSERSGetAccount = [[DBRoute alloc] init:@"get_account" + namespace_:@"users" + deprecated:@NO + resultType:[DBUSERSBasicAccount class] + errorType:[DBUSERSGetAccountError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBUSERSGetAccount; } - return DBUSERSGetAccountBatch; } -+ (DBRoute *)DBUSERSGetCurrentAccount { - if (!DBUSERSGetCurrentAccount) { - DBUSERSGetCurrentAccount = [[DBRoute alloc] init:@"get_current_account" ++ (DBRoute *)DBUSERSGetAccountBatch { + @synchronized(lockObj) { + if (!DBUSERSGetAccountBatch) { + DBUSERSGetAccountBatch = [[DBRoute alloc] init:@"get_account_batch" namespace_:@"users" deprecated:@NO - resultType:[DBUSERSFullAccount class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } + resultType:[NSArray class] + errorType:[DBUSERSGetAccountBatchError class] + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + dataStructDeserialBlock:^id(id dataStruct) { + return [DBArraySerializer deserialize:dataStruct + withBlock:^id(id elem0) { + return [DBUSERSBasicAccountSerializer deserialize:elem0]; + }]; + }]; + } + return DBUSERSGetAccountBatch; + } +} + ++ (DBRoute *)DBUSERSGetCurrentAccount { + @synchronized(lockObj) { + if (!DBUSERSGetCurrentAccount) { + DBUSERSGetCurrentAccount = [[DBRoute alloc] init:@"get_current_account" + namespace_:@"users" + deprecated:@NO + resultType:[DBUSERSFullAccount class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBUSERSGetCurrentAccount; } - return DBUSERSGetCurrentAccount; } + (DBRoute *)DBUSERSGetSpaceUsage { - if (!DBUSERSGetSpaceUsage) { - DBUSERSGetSpaceUsage = [[DBRoute alloc] init:@"get_space_usage" - namespace_:@"users" - deprecated:@NO - resultType:[DBUSERSSpaceUsage class] - errorType:nil - attrs:@{ - @"auth" : @"user", - @"host" : @"api", - @"style" : @"rpc" - } - dataStructSerialBlock:nil - dataStructDeserialBlock:nil]; + @synchronized(lockObj) { + if (!DBUSERSGetSpaceUsage) { + DBUSERSGetSpaceUsage = [[DBRoute alloc] init:@"get_space_usage" + namespace_:@"users" + deprecated:@NO + resultType:[DBUSERSSpaceUsage class] + errorType:nil + attrs:@{@"auth" : @"user", @"host" : @"api", @"style" : @"rpc"} + dataStructSerialBlock:nil + dataStructDeserialBlock:nil]; + } + return DBUSERSGetSpaceUsage; } - return DBUSERSGetSpaceUsage; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.h index 7d7264e1f..f584e7529 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.h @@ -5,6 +5,7 @@ #import #import "DBHandlerTypes.h" +#import "DBOAuthResultCompletion.h" @class DBUserClient; @class DBTeamClient; @@ -89,10 +90,11 @@ NS_ASSUME_NONNULL_BEGIN /// token is saved in the `DBKeychain` class. /// /// @param url The auth redirect url which relaunches the SDK. +/// @param completion Completion block to pass back authorization result. /// -/// @return The `DBOAuthResult` result from the authorization attempt. +/// @return Whether the URL can be handled. /// -+ (nullable DBOAuthResult *)handleRedirectURL:(NSURL *)url; ++ (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion; /// /// Handles launching the SDK with a redirect url from an external source to authorize a team API client. @@ -101,10 +103,11 @@ NS_ASSUME_NONNULL_BEGIN /// token is saved in the `DBKeychain` class. /// /// @param url The auth redirect url which relaunches the SDK. +/// @param completion Completion block to pass back authorization result. /// -/// @return The `DBOAuthResult` result from the authorization attempt. +/// @return Whether the URL can be handled. /// -+ (nullable DBOAuthResult *)handleRedirectURLTeam:(NSURL *)url; ++ (BOOL)handleRedirectURLTeam:(NSURL *)url completion:(DBOAuthCompletion)completion; /// /// Multi-Dropbox account use case. Sets to `nil` the active user / team shared authorized client, clears the stored diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.m index 8f55f0070..579aa6a56 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBClientsManager.m @@ -3,7 +3,7 @@ /// #import "DBClientsManager.h" -#import "DBOAuthManager.h" +#import "DBOAuthManager+Protected.h" #import "DBOAuthResult.h" #import "DBSDKKeychain.h" #import "DBTeamClient.h" @@ -57,15 +57,6 @@ + (DBUserClient *)authorizedClient { } } -+ (void)setAuthorizedClient:(DBUserClient *)client tokenUid:(NSString *)tokenUid { - @synchronized(self) { - s_authorizedClient = client; - if (client && tokenUid) { - [[self class] addAuthorizedClient:client tokenUid:tokenUid]; - } - } -} - + (NSDictionary *)authorizedClients { @synchronized(self) { // return shallow copy @@ -79,15 +70,6 @@ + (DBTeamClient *)authorizedTeamClient { } } -+ (void)setAuthorizedTeamClient:(DBTeamClient *)client tokenUid:(NSString *)tokenUid { - @synchronized(self) { - s_authorizedTeamClient = client; - if (client && tokenUid) { - [[self class] addAuthorizedTeamClient:client tokenUid:tokenUid]; - } - } -} - + (NSDictionary *)authorizedTeamClients { @synchronized(self) { // return shallow copy @@ -95,51 +77,13 @@ + (void)setAuthorizedTeamClient:(DBTeamClient *)client tokenUid:(NSString *)toke } } -+ (void)addAuthorizedClient:(DBUserClient *)client tokenUid:(NSString *)tokenUid { - @synchronized(self) { - s_tokenUidToAuthorizedClients[tokenUid] = client; - } -} - -+ (void)addAuthorizedTeamClient:(DBTeamClient *)client tokenUid:(NSString *)tokenUid { - @synchronized(self) { - s_tokenUidToAuthorizedTeamClients[tokenUid] = client; - } -} - -+ (void)removeAuthorizedClient:(NSString *)tokenUid { - @synchronized(self) { - [s_tokenUidToAuthorizedClients removeObjectForKey:tokenUid]; - } -} - -+ (void)removeAuthorizedTeamClient:(NSString *)tokenUid { - @synchronized(self) { - [s_tokenUidToAuthorizedTeamClients removeObjectForKey:tokenUid]; - } -} - -+ (void)removeAllAuthorizedClients { - @synchronized(self) { - [s_tokenUidToAuthorizedClients removeAllObjects]; - } -} - -+ (void)removeAllAuthorizedTeamClients { - @synchronized(self) { - [s_tokenUidToAuthorizedTeamClients removeAllObjects]; - } -} - + (BOOL)authorizeClientFromKeychain:(NSString *)tokenUid { NSAssert([DBOAuthManager sharedOAuthManager], @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); DBAccessToken *accessToken = [[DBOAuthManager sharedOAuthManager] retrieveAccessToken:tokenUid]; if (accessToken) { - DBUserClient *userClient = [[DBUserClient alloc] initWithAccessToken:accessToken.accessToken - transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedClient:userClient tokenUid:accessToken.uid]; + [self db_addAuthorizedClientWithToken:accessToken setAsDefault:YES]; return YES; } return NO; @@ -151,9 +95,7 @@ + (BOOL)authorizeTeamClientFromKeychain:(NSString *)tokenUid { DBAccessToken *accessToken = [[DBOAuthManager sharedOAuthManager] retrieveAccessToken:tokenUid]; if (accessToken) { - DBTeamClient *teamClient = [[DBTeamClient alloc] initWithAccessToken:accessToken.accessToken - transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedTeamClient:teamClient tokenUid:accessToken.uid]; + [self db_addAuthorizedTeamClientWithToken:accessToken setAsDefault:YES]; return YES; } return NO; @@ -163,158 +105,212 @@ + (void)setupWithOAuthManager:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig { NSAssert(![DBOAuthManager sharedOAuthManager], @"Only call `[DBClientsManager setupWith...]` once"); - [[self class] setupHelperWithOAuthManager:oAuthManager transportConfig:transportConfig]; - [[self class] setupAuthorizedClients]; + [self db_setupHelperWithOAuthManager:oAuthManager transportConfig:transportConfig]; + [self db_setupAuthorizedClients]; } + (void)setupWithOAuthManagerTeam:(DBOAuthManager *)oAuthManager transportConfig:(DBTransportDefaultConfig *)transportConfig { NSAssert(![DBOAuthManager sharedOAuthManager], @"Only call `[DBClientsManager setupWith...]` once"); - [[self class] setupHelperWithOAuthManager:oAuthManager transportConfig:transportConfig]; - [[self class] setupAuthorizedTeamClients]; + [self db_setupHelperWithOAuthManager:oAuthManager transportConfig:transportConfig]; + [self db_setupAuthorizedTeamClients]; } -+ (void)setupHelperWithOAuthManager:(DBOAuthManager *)oAuthManager - transportConfig:(DBTransportDefaultConfig *)transportConfig { - [DBOAuthManager setSharedOAuthManager:oAuthManager]; - [[self class] setTransportConfig:transportConfig]; - [[self class] setAppKey:transportConfig.appKey]; ++ (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion { + return [self db_handleRedirectURL:url isTeam:NO completion:completion]; } -+ (void)setupAuthorizedClients { - NSDictionary *accessTokens = - [[DBOAuthManager sharedOAuthManager] retrieveAllAccessTokens]; ++ (BOOL)handleRedirectURLTeam:(NSURL *)url completion:(DBOAuthCompletion)completion { + return [self db_handleRedirectURL:url isTeam:YES completion:completion]; +} - if ([accessTokens count] > 0) { - DBAccessToken *firstToken = [[accessTokens allValues] objectAtIndex:0]; ++ (void)unlinkAndResetClient:(NSString *)tokenUid { + if ([DBOAuthManager sharedOAuthManager]) { + [[DBOAuthManager sharedOAuthManager] clearStoredAccessToken:tokenUid]; + [self db_resetClient:tokenUid]; + } +} - NSString *firstTokenUid = firstToken.uid; - NSString *firstAccessToken = firstToken.accessToken; ++ (void)unlinkAndResetClients { + if ([DBOAuthManager sharedOAuthManager]) { + [[DBOAuthManager sharedOAuthManager] clearStoredAccessTokens]; + [self db_resetClients]; + } +} - DBUserClient *userClient = - [[DBUserClient alloc] initWithAccessToken:firstAccessToken transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedClient:userClient tokenUid:firstTokenUid]; ++ (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock + queue:(NSOperationQueue *)queue + appKey:(NSString *)appKey + appSecret:(NSString *)appSecret { + return [DBSDKKeychain checkAndPerformV1TokenMigration:responseBlock queue:queue appKey:appKey appSecret:appSecret]; +} - for (NSString *tokenUid in accessTokens) { - NSString *token = accessTokens[tokenUid].accessToken; - DBUserClient *client = - [[DBUserClient alloc] initWithAccessToken:token transportConfig:[DBClientsManager transportConfig]]; - [self addAuthorizedClient:client tokenUid:tokenUid]; - } +#pragma mark Private helpers + ++ (void)db_addAuthorizedClientWithToken:(DBAccessToken *)token setAsDefault:(BOOL)setAsDefault { + id tokenProvider = [[DBOAuthManager sharedOAuthManager] accessTokenProviderForToken:token]; + DBUserClient *client = [[DBUserClient alloc] initWithAccessTokenProvider:tokenProvider + tokenUid:token.uid + transportConfig:[self transportConfig]]; + [self db_addAuthorizedClient:client tokenUid:token.uid setAsDefault:setAsDefault]; +} + ++ (void)db_setAuthorizedClient:(DBUserClient *)client { + @synchronized(self) { + s_authorizedClient = client; } } -+ (void)setupAuthorizedTeamClients { - NSDictionary *accessTokens = - [[DBOAuthManager sharedOAuthManager] retrieveAllAccessTokens]; ++ (void)db_addAuthorizedClient:(DBUserClient *)client tokenUid:(NSString *)tokenUid setAsDefault:(BOOL)setAsDefault { + @synchronized(self) { + s_tokenUidToAuthorizedClients[tokenUid] = client; + if (setAsDefault) { + [self db_setAuthorizedClient:client]; + } + } +} - if ([accessTokens count] > 0) { - DBAccessToken *firstToken = [[accessTokens allValues] objectAtIndex:0]; ++ (void)db_addAuthorizedTeamClientWithToken:(DBAccessToken *)token setAsDefault:(BOOL)setAsDefault { + if (![DBOAuthManager sharedOAuthManager]) { + return; + } - NSString *firstTokenUid = firstToken.uid; - NSString *firstAccessToken = firstToken.accessToken; + id tokenProvider = [[DBOAuthManager sharedOAuthManager] accessTokenProviderForToken:token]; + DBTeamClient *client = [[DBTeamClient alloc] initWithAccessTokenProvider:tokenProvider + tokenUid:token.uid + transportConfig:[self transportConfig]]; + [self db_addAuthorizedTeamClient:client tokenUid:token.uid setAsDefault:setAsDefault]; +} - DBTeamClient *teamClient = - [[DBTeamClient alloc] initWithAccessToken:firstAccessToken transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedTeamClient:teamClient tokenUid:firstTokenUid]; ++ (void)db_setAuthorizedTeamClient:(DBTeamClient *)client { + @synchronized(self) { + s_authorizedTeamClient = client; + } +} - for (NSString *tokenUid in accessTokens) { - NSString *token = accessTokens[tokenUid].accessToken; - DBTeamClient *client = - [[DBTeamClient alloc] initWithAccessToken:token transportConfig:[DBClientsManager transportConfig]]; - [self addAuthorizedTeamClient:client tokenUid:tokenUid]; ++ (void)db_addAuthorizedTeamClient:(DBTeamClient *)client + tokenUid:(NSString *)tokenUid + setAsDefault:(BOOL)setAsDefault { + @synchronized(self) { + s_tokenUidToAuthorizedTeamClients[tokenUid] = client; + if (setAsDefault) { + [self db_setAuthorizedTeamClient:client]; } } } -+ (DBOAuthResult *)handleRedirectURL:(NSURL *)url { - NSAssert([DBOAuthManager sharedOAuthManager], - @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); - - DBOAuthResult *result = [[DBOAuthManager sharedOAuthManager] handleRedirectURL:url]; ++ (DBUserClient *)db_authorizedClient:(NSString *)tokenUid { + @synchronized(self) { + return s_tokenUidToAuthorizedClients[tokenUid]; + } +} - if ([result isSuccess]) { - NSString *accessToken = result.accessToken.accessToken; - DBUserClient *userClient = - [[DBUserClient alloc] initWithAccessToken:accessToken transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedClient:userClient tokenUid:result.accessToken.uid]; ++ (DBTeamClient *)db_authorizedTeamClient:(NSString *)tokenUid { + @synchronized(self) { + return s_tokenUidToAuthorizedTeamClients[tokenUid]; } +} - return result; ++ (void)db_removeAuthorizedClient:(NSString *)tokenUid { + @synchronized(self) { + [s_tokenUidToAuthorizedClients removeObjectForKey:tokenUid]; + } } -+ (DBOAuthResult *)handleRedirectURLTeam:(NSURL *)url { - NSAssert([DBOAuthManager sharedOAuthManager], - @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); ++ (void)db_removeAuthorizedTeamClient:(NSString *)tokenUid { + @synchronized(self) { + [s_tokenUidToAuthorizedTeamClients removeObjectForKey:tokenUid]; + } +} - DBOAuthResult *result = [[DBOAuthManager sharedOAuthManager] handleRedirectURL:url]; ++ (void)db_removeAllAuthorizedClients { + @synchronized(self) { + [s_tokenUidToAuthorizedClients removeAllObjects]; + } +} - if ([result isSuccess]) { - NSString *accessToken = result.accessToken.accessToken; - DBTeamClient *teamClient = - [[DBTeamClient alloc] initWithAccessToken:accessToken transportConfig:[DBClientsManager transportConfig]]; - [DBClientsManager setAuthorizedTeamClient:teamClient tokenUid:result.accessToken.uid]; ++ (void)db_removeAllAuthorizedTeamClients { + @synchronized(self) { + [s_tokenUidToAuthorizedTeamClients removeAllObjects]; } +} - return result; ++ (void)db_setupHelperWithOAuthManager:(DBOAuthManager *)oAuthManager + transportConfig:(DBTransportDefaultConfig *)transportConfig { + [DBOAuthManager setSharedOAuthManager:oAuthManager]; + [self setTransportConfig:transportConfig]; + [self setAppKey:transportConfig.appKey]; } -+ (void)unlinkAndResetClient:(NSString *)tokenUid { - if ([DBOAuthManager sharedOAuthManager]) { - [[DBOAuthManager sharedOAuthManager] clearStoredAccessToken:tokenUid]; - [[self class] resetClient:tokenUid]; ++ (void)db_setupAuthorizedClients { + NSArray *accessTokens = [[[DBOAuthManager sharedOAuthManager] retrieveAllAccessTokens] allValues]; + for (NSUInteger i = 0; i < accessTokens.count; i++) { + [self db_addAuthorizedClientWithToken:accessTokens[i] setAsDefault:i == 0]; } } -+ (void)unlinkAndResetClients { - if ([DBOAuthManager sharedOAuthManager]) { - [[DBOAuthManager sharedOAuthManager] clearStoredAccessTokens]; - [[self class] resetClients]; ++ (void)db_setupAuthorizedTeamClients { + NSArray *accessTokens = [[[DBOAuthManager sharedOAuthManager] retrieveAllAccessTokens] allValues]; + for (NSUInteger i = 0; i < accessTokens.count; i++) { + [self db_addAuthorizedTeamClientWithToken:accessTokens[i] setAsDefault:i == 0]; } } -+ (void)resetClient:(NSString *)tokenUid { - [DBClientsManager removeAuthorizedClient:tokenUid]; - [DBClientsManager removeAuthorizedTeamClient:tokenUid]; ++ (void)db_resetClients { + [DBClientsManager db_setAuthorizedClient:nil]; + [DBClientsManager db_setAuthorizedTeamClient:nil]; - DBAccessToken *token = [[DBOAuthManager sharedOAuthManager] retrieveAccessToken:tokenUid]; - if (token.accessToken == [DBClientsManager authorizedClient].accessToken) { - [DBClientsManager setAuthorizedClient:nil tokenUid:nil]; + [DBClientsManager db_removeAllAuthorizedClients]; + [DBClientsManager db_removeAllAuthorizedTeamClients]; +} + ++ (void)db_resetClient:(NSString *)tokenUid { + BOOL shouldResetDefaultUserClient = [self db_authorizedClient:tokenUid] == [DBClientsManager authorizedClient]; + [self db_removeAuthorizedClient:tokenUid]; + if (shouldResetDefaultUserClient) { + [DBClientsManager db_setAuthorizedClient:nil]; NSDictionary *authorizedClientsCopy = [DBClientsManager authorizedClients]; if ([authorizedClientsCopy count] > 0) { NSString *firstUid = [authorizedClientsCopy allKeys][0]; - [DBClientsManager setAuthorizedClient:authorizedClientsCopy[firstUid] tokenUid:tokenUid]; + [DBClientsManager db_setAuthorizedClient:authorizedClientsCopy[firstUid]]; } } - if (token.accessToken == [DBClientsManager authorizedTeamClient].accessToken) { - [DBClientsManager setAuthorizedTeamClient:nil tokenUid:nil]; + BOOL shouldResetDefaultTeamClient = + [self db_authorizedTeamClient:tokenUid] == [DBClientsManager authorizedTeamClient]; + [self db_removeAuthorizedTeamClient:tokenUid]; + if (shouldResetDefaultTeamClient) { + [DBClientsManager db_setAuthorizedTeamClient:nil]; NSDictionary *authorizedTeamClientsCopy = [DBClientsManager authorizedTeamClients]; if ([authorizedTeamClientsCopy count] > 0) { NSString *firstUid = [authorizedTeamClientsCopy allKeys][0]; - [DBClientsManager setAuthorizedTeamClient:authorizedTeamClientsCopy[firstUid] tokenUid:tokenUid]; + [DBClientsManager db_setAuthorizedTeamClient:authorizedTeamClientsCopy[firstUid]]; } } } -+ (void)resetClients { - [DBClientsManager setAuthorizedClient:nil tokenUid:nil]; - [DBClientsManager setAuthorizedTeamClient:nil tokenUid:nil]; - - [DBClientsManager removeAllAuthorizedClients]; - [DBClientsManager removeAllAuthorizedTeamClients]; -} ++ (BOOL)db_handleRedirectURL:(NSURL *)url isTeam:(BOOL)isTeam completion:(DBOAuthCompletion)completion { + NSAssert([DBOAuthManager sharedOAuthManager], + @"Call the appropriate `[DBClientsManager setupWith...]` before calling this method"); -+ (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock - queue:(NSOperationQueue *)queue - appKey:(NSString *)appKey - appSecret:(NSString *)appSecret { - return [DBSDKKeychain checkAndPerformV1TokenMigration:responseBlock queue:queue appKey:appKey appSecret:appSecret]; + return [[DBOAuthManager sharedOAuthManager] + handleRedirectURL:url + completion:^(DBOAuthResult *result) { + if ([result isSuccess]) { + DBAccessToken *token = result.accessToken; + if (isTeam) { + [self db_addAuthorizedTeamClientWithToken:token setAsDefault:YES]; + } else { + [self db_addAuthorizedClientWithToken:token setAsDefault:YES]; + } + } + completion(result); + }]; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBSDKImportsShared.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBSDKImportsShared.h index 32721de8a..d0382d64f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBSDKImportsShared.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBSDKImportsShared.h @@ -28,7 +28,9 @@ /// OAuth #import "DBOAuthManager.h" #import "DBOAuthResult.h" +#import "DBOAuthResultCompletion.h" #import "DBSDKKeychain.h" +#import "DBScopeRequest.h" #import "DBSharedApplicationProtocol.h" /// Resources diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.h index 7d731dc54..9ebc47f53 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.h @@ -7,7 +7,11 @@ #import "DBTeamBaseClient.h" @class DBUserClient; +@class DBTransportDefaultClient; @class DBTransportDefaultConfig; +@protocol DBAccessTokenProvider; +@class DBAccessToken; +@class DBOAuthManager; NS_ASSUME_NONNULL_BEGIN @@ -25,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, copy, nullable) NSString *tokenUid; /// -/// Convenience constructor. +/// Convenience initializer. /// /// Uses standard network configuration parameters. /// @@ -36,7 +40,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)initWithAccessToken:(NSString *)accessToken; /// -/// Convenience constructor. +/// Convenience initializer. /// /// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. @@ -48,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// -/// Full constructor. +/// Convenience initializer. /// /// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects @@ -62,6 +66,43 @@ NS_ASSUME_NONNULL_BEGIN tokenUid:(nullable NSString *)tokenUid transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; +/// +/// Convenience initializer. +/// +/// @param accessTokenProvider A `DBAccessTokenProvider` that provides access token and token refresh functionality. +/// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects +/// are each associated with a particular Dropbox account. +/// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. +/// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(nullable NSString *)tokenUid + transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; + +/// +/// Convenience initializer. +/// +/// @param accessToken An access token object. +/// @param oauthManager The oauthManager instance. +/// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. +/// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessToken:(DBAccessToken *)accessToken + oauthManager:(DBOAuthManager *)oauthManager + transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; + +/// Designated initializer. +/// +/// @param client A `DBTransportDefaultClient` used to make network requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransportClient:(DBTransportDefaultClient *)client NS_DESIGNATED_INITIALIZER; + /// /// Returns a `DBUserClient` instance that can be used to make API calls on behalf of the designated team member. /// diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.m index dec0514b8..eda57d67d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBTeamClient.m @@ -4,6 +4,8 @@ #import "DBTeamClient.h" +#import "DBAccessTokenProvider.h" +#import "DBOAuthManager+Protected.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" #import "DBUserClient.h" @@ -25,25 +27,57 @@ - (instancetype)initWithAccessToken:(NSString *)accessToken DBTransportDefaultClient *transportClient = [[DBTransportDefaultClient alloc] initWithAccessToken:accessToken tokenUid:tokenUid transportConfig:transportConfig]; - return [super initWithTransportClient:transportClient]; + return [self initWithTransportClient:transportClient]; } -- (DBUserClient *)userClientWithMemberId:(NSString *)memberId { - return [[DBUserClient alloc] initWithAccessToken:_transportClient.accessToken - transportConfig:[(DBTransportDefaultClient *)_transportClient - duplicateTransportConfigWithAsMemberId:memberId]]; +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(NSString *)tokenUid + transportConfig:(DBTransportDefaultConfig *)transportConfig { + DBTransportDefaultClient *transportClient = + [[DBTransportDefaultClient alloc] initWithAccessTokenProvider:accessTokenProvider + tokenUid:tokenUid + transportConfig:transportConfig]; + return [self initWithTransportClient:transportClient]; } -- (void)updateAccessToken:(NSString *)accessToken { - _transportClient.accessToken = accessToken; +- (instancetype)initWithAccessToken:(DBAccessToken *)accessToken + oauthManager:(DBOAuthManager *)oauthManager + transportConfig:(DBTransportDefaultConfig *)transportConfig { + NSCParameterAssert(oauthManager); + NSCParameterAssert(accessToken); + + id tokenProvider = [oauthManager accessTokenProviderForToken:accessToken]; + + DBTransportDefaultClient *transportClient = + [[DBTransportDefaultClient alloc] initWithAccessTokenProvider:tokenProvider + tokenUid:accessToken.uid + transportConfig:transportConfig]; + return [self initWithTransportClient:transportClient]; +} + +- (instancetype)initWithTransportClient:(DBTransportDefaultClient *)client { + if (self = [super initWithTransportClient:client]) { + _tokenUid = client.tokenUid; + } + return self; } - (NSString *)accessToken { - return _transportClient.accessToken; + return _transportClient.accessTokenProvider.accessToken; } - (BOOL)isAuthorized { - return _transportClient.accessToken != nil; + return _transportClient.accessTokenProvider != nil; +} + +- (DBUserClient *)userClientWithMemberId:(NSString *)memberId { + DBTransportDefaultConfig *transportConfig = nil; + if ([_transportClient isKindOfClass:[DBTransportDefaultClient class]]) { + transportConfig = [(DBTransportDefaultClient *)_transportClient duplicateTransportConfigWithAsMemberId:memberId]; + } + return [[DBUserClient alloc] initWithAccessTokenProvider:_transportClient.accessTokenProvider + tokenUid:_tokenUid + transportConfig:transportConfig]; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.h index 1c7dc74ba..779d60b9b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.h @@ -4,9 +4,14 @@ #import +#import "DBCOMMONPathRoot.h" #import "DBUserBaseClient.h" +@class DBTransportDefaultClient; @class DBTransportDefaultConfig; +@protocol DBAccessTokenProvider; +@class DBAccessToken; +@class DBOAuthManager; NS_ASSUME_NONNULL_BEGIN @@ -24,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, copy, nullable) NSString *tokenUid; /// -/// Convenience constructor. +/// Convenience initializer. /// /// Uses standard network configuration parameters. /// @@ -35,7 +40,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)initWithAccessToken:(NSString *)accessToken; /// -/// Convenience constructor. +/// Convenience initializer. /// /// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. @@ -47,9 +52,9 @@ NS_ASSUME_NONNULL_BEGIN transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; /// -/// Full constructor. +/// Convenience initializer. /// -/// @param accessToken The Dropbox OAuth 2.0 access token used to make requests. +/// @param accessToken The (long-lived) Dropbox OAuth 2.0 access token used to make requests. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects /// are each associated with a particular Dropbox account. /// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. @@ -61,6 +66,51 @@ NS_ASSUME_NONNULL_BEGIN tokenUid:(nullable NSString *)tokenUid transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; +/// +/// Convenience initializer. +/// +/// @param accessTokenProvider A `DBAccessTokenProvider` that provides access token and token refresh functionality. +/// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects +/// are each associated with a particular Dropbox account. +/// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. +/// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(nullable NSString *)tokenUid + transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; + +/// +/// Convenience initializer. +/// +/// @param accessToken An access token object. +/// @param oauthManager The oauthManager instance. +/// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. +/// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessToken:(DBAccessToken *)accessToken + oauthManager:(DBOAuthManager *)oauthManager + transportConfig:(nullable DBTransportDefaultConfig *)transportConfig; + +/// Designated initializer. +/// +/// @param client A `DBTransportDefaultClient` used to make network requests. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithTransportClient:(DBTransportDefaultClient *)client NS_DESIGNATED_INITIALIZER; + +/// +/// Returns a `DBUserClient` instance that can be used to make API calls with given path root value. +/// @param pathRoot Value of the path root object which will be used as Dropbox-Api-Path-Root header. +/// +/// @return An initialized User API client instance. +/// +- (DBUserClient *)withPathRoot:(DBCOMMONPathRoot *)pathRoot; + /// /// Returns the current access token used to make API requests. /// diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.m index 97afaaebe..857fa77a7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/DBUserClient.m @@ -3,6 +3,9 @@ /// #import "DBUserClient.h" + +#import "DBAccessTokenProvider.h" +#import "DBOAuthManager+Protected.h" #import "DBTransportDefaultClient.h" #import "DBTransportDefaultConfig.h" @@ -21,24 +24,58 @@ - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportDefaultConfig *)transportConfig { DBTransportDefaultClient *transportClient = [[DBTransportDefaultClient alloc] initWithAccessToken:accessToken - tokenUid:_tokenUid + tokenUid:tokenUid transportConfig:transportConfig]; - if (self = [super initWithTransportClient:transportClient]) { - _tokenUid = tokenUid; + return [self initWithTransportClient:transportClient]; +} + +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(NSString *)tokenUid + transportConfig:(DBTransportDefaultConfig *)transportConfig { + DBTransportDefaultClient *transportClient = + [[DBTransportDefaultClient alloc] initWithAccessTokenProvider:accessTokenProvider + tokenUid:tokenUid + transportConfig:transportConfig]; + return [self initWithTransportClient:transportClient]; +} + +- (instancetype)initWithAccessToken:(DBAccessToken *)accessToken + oauthManager:(DBOAuthManager *)oauthManager + transportConfig:(DBTransportDefaultConfig *)transportConfig { + NSCParameterAssert(oauthManager); + NSCParameterAssert(accessToken); + id tokenProvider = [oauthManager accessTokenProviderForToken:accessToken]; + + DBTransportDefaultClient *transportClient = + [[DBTransportDefaultClient alloc] initWithAccessTokenProvider:tokenProvider + tokenUid:accessToken.uid + transportConfig:transportConfig]; + return [self initWithTransportClient:transportClient]; +} + +- (instancetype)initWithTransportClient:(DBTransportDefaultClient *)client { + if (self = [super initWithTransportClient:client]) { + _tokenUid = client.tokenUid; } return self; } -- (void)updateAccessToken:(NSString *)accessToken { - _transportClient.accessToken = accessToken; +- (DBUserClient *)withPathRoot:(DBCOMMONPathRoot *)pathRoot { + DBTransportDefaultConfig *transportConfig = nil; + if ([_transportClient isKindOfClass:[DBTransportDefaultClient class]]) { + transportConfig = [(DBTransportDefaultClient *)_transportClient duplicateTransportConfigWithPathRoot:pathRoot]; + } + return [[DBUserClient alloc] initWithAccessTokenProvider:_transportClient.accessTokenProvider + tokenUid:_tokenUid + transportConfig:transportConfig]; } - (NSString *)accessToken { - return _transportClient.accessToken; + return _transportClient.accessTokenProvider.accessToken; } - (BOOL)isAuthorized { - return _transportClient.accessToken != nil; + return _transportClient.accessTokenProvider != nil; } @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBDelegate.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBDelegate.m index e7761823b..a4bf8cc36 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBDelegate.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBDelegate.m @@ -203,12 +203,12 @@ - (NSString *)moveFileToTempStorage:(NSURL *)startingLocation fileError:(NSError return tmpOutputPath; } -- (void)addProgressHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - progressHandler:(void (^)(int64_t, int64_t, int64_t))handler - progressHandlerQueue:(NSOperationQueue *)handlerQueue { +- (void)addProgressHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + progressHandler:(void (^)(int64_t, int64_t, int64_t))handler + progressHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ - NSNumber *taskId = @(task.taskIdentifier); + NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBProgressData *progressData = sessionData.progressData[taskId]; @@ -230,12 +230,12 @@ - (void)addProgressHandler:(NSURLSessionTask *)task #pragma mark - Add RPC-style handler -- (void)addRpcResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBRpcResponseBlockStorage)handler - responseHandlerQueue:(NSOperationQueue *)handlerQueue { +- (void)addRpcResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBRpcResponseBlockStorage)handler + responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ - NSNumber *taskId = @(task.taskIdentifier); + NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; @@ -262,12 +262,12 @@ - (void)addRpcResponseHandler:(NSURLSessionTask *)task #pragma mark - Add Upload-style handler -- (void)addUploadResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBUploadResponseBlockStorage)handler - responseHandlerQueue:(NSOperationQueue *)handlerQueue { +- (void)addUploadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBUploadResponseBlockStorage)handler + responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ - NSNumber *taskId = @(task.taskIdentifier); + NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; @@ -294,12 +294,12 @@ - (void)addUploadResponseHandler:(NSURLSessionTask *)task #pragma mark - Add Download-style handler -- (void)addDownloadResponseHandler:(NSURLSessionTask *)task - session:(NSURLSession *)session - responseHandler:(DBDownloadResponseBlockStorage)handler - responseHandlerQueue:(NSOperationQueue *)handlerQueue { +- (void)addDownloadResponseHandlerForTaskWithIdentifier:(NSUInteger)identifier + session:(NSURLSession *)session + responseHandler:(DBDownloadResponseBlockStorage)handler + responseHandlerQueue:(NSOperationQueue *)handlerQueue { [_delegateQueue addOperationWithBlock:^{ - NSNumber *taskId = @(task.taskIdentifier); + NSNumber *taskId = @(identifier); DBSessionData *sessionData = [self sessionDataWithSession:session]; DBCompletionData *completionData = sessionData.completionData[taskId]; @@ -325,7 +325,7 @@ - (void)addDownloadResponseHandler:(NSURLSessionTask *)task } - (NSString *)sessionIdWithSession:(NSURLSession *)session { - return session.configuration.identifier ?: kForegroundSessionId; + return session.configuration.identifier ?: session.sessionDescription ?: kDBSDKForegroundSessionId; } - (DBSessionData *)sessionDataWithSession:(NSURLSession *)session { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.h index f505a9630..23eb66d56 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.h @@ -11,6 +11,37 @@ NS_ASSUME_NONNULL_BEGIN +#pragma mark - Error Parameters + +/// A wrapper objct that has a localized human-readable error message and the locale. +@interface DBLocalizedUserMessage : NSObject + +/// Localized, human-readable text. +@property (nonatomic, readonly, copy) NSString *text; +// IETF BCP 47 language tag of text locale. +@property (nonatomic, readonly, copy) NSString *locale; + +- (instancetype)init NS_UNAVAILABLE; + +/// +/// DBLocalizedUserMessage full constructor. +/// +/// @param text The localized, human-readable text. +/// @param locale The IETF BCP 47 language tag of text locale. +/// +/// @return An initialized DBLocalizedUserMessage instance. +/// +- (instancetype)initWithText:(NSString *)text locale:(NSString *)locale; + +/// +/// Description method. +/// +/// @return A human-readable representation of the current DBLocalizedUserMessage object. +/// +- (NSString *)description; + +@end + #pragma mark - HTTP error /// @@ -32,8 +63,8 @@ NS_ASSUME_NONNULL_BEGIN /// the value of the "error_summary" key. @property (nonatomic, readonly, copy) NSString *errorContent; -/// A human-readable error message that is optionally returned from some API endpoints. -@property (nonatomic, readonly, copy, nullable) NSString *userMessage; +/// An object containing a localized human-readable error message that is optionally returned from some API endpoints. +@property (nonatomic, readonly, strong, nullable) DBLocalizedUserMessage *userMessage; /// /// DBRequestHttpError full constructor. @@ -43,14 +74,14 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// /// @return An initialized DBRequestHttpError instance. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage; + userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// Description method. @@ -79,14 +110,14 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// /// @return An initialized DBRequestBadInputError instance. /// - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage; + userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// Description method. @@ -119,7 +150,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredAuthError The structured object returned by the Dropbox API in the event of a 401 auth error. /// /// @return An initialized DBRequestAuthError instance. @@ -127,7 +158,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError; /// @@ -160,7 +191,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredAccessError The structured object returned by the Dropbox API in the event of a 403 access error. /// /// @return An initialized DBRequestAccessError instance. @@ -168,7 +199,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError; /// @@ -201,7 +232,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredPathRootError The structured object returned by the Dropbox API in the event of a 422 path root /// error. /// @@ -210,7 +241,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError; /// @@ -246,7 +277,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredRateLimitError The structured object returned by the Dropbox API in the event of a 429 rate-limit /// error. /// @param backoff The number of seconds to wait before making any additional requests in the event of a rate-limit @@ -257,7 +288,7 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff; @@ -390,8 +421,8 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// the value of the "error_summary" key. @property (nonatomic, readonly, copy, nullable) NSString *errorContent; -/// A human-readable error message that is optionally returned from some API endpoints. -@property (nonatomic, readonly, copy, nullable) NSString *userMessage; +/// An object containing a localized human-readable error message that is optionally returned from some API endpoints. +@property (nonatomic, readonly, strong, nullable) DBLocalizedUserMessage *userMessage; /// The structured object returned by the Dropbox API in the event of a 401 auth error. @property (nonatomic, readonly, nullable) DBAUTHAuthError *structuredAuthError; @@ -423,14 +454,14 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// /// @return An initialized `DBRequestError` instance with HTTP error state. /// - (instancetype)initAsHttpError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage; + userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// DBRequestError convenience constructor. @@ -442,14 +473,14 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// /// @return An initialized `DBRequestError` instance with Bad Input error state. /// - (instancetype)initAsBadInputError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage; + userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// DBRequestError convenience constructor. @@ -462,7 +493,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredAuthError The structured object returned by the Dropbox API in the event of a 401 auth error. /// /// @return An initialized `DBRequestError` instance with Auth error state. @@ -470,7 +501,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { - (instancetype)initAsAuthError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError; /// @@ -484,7 +515,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredAccessError The structured object returned by the Dropbox API in the event of a 403 access error. /// /// @return An initialized `DBRequestError` instance with Auth error state. @@ -492,7 +523,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { - (instancetype)initAsAccessError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError; /// @@ -505,7 +536,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredPathRootError The structured object returned by the Dropbox API in the event of a 422 path root /// error. /// @@ -514,7 +545,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { - (instancetype)initAsPathRootError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError; /// @@ -528,7 +559,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredRateLimitError The structured object returned by the Dropbox API in the event of a 429 rate-limit /// error. /// @param backoff The number of seconds to wait before making any additional requests in the event of a rate-limit @@ -539,7 +570,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { - (instancetype)initAsRateLimitError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff; @@ -553,7 +584,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// Dropbox's SDKs and API. /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. If for a +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// route-specific error, this field will be the value of the "error_summary" key. /// /// @return An initialized `DBRequestError` instance with Internal Server error state. @@ -561,7 +592,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { - (instancetype)initAsInternalServerError:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage; + userMessage:(nullable DBLocalizedUserMessage *)userMessage; /// /// `DBRequestError` convenience constructor. @@ -584,7 +615,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { /// @param statusCode The HTTP response status code of the request. /// @param errorContent A string representation of the error body received in the reponse. If for a route-specific /// error, this field will be the value of the "error_summary" key. -/// @param userMessage A human-readable error message that is optionally returned from some API endpoints. +/// @param userMessage An error message object that is optionally returned from some API endpoints. /// @param structuredAuthError The structured object returned by the Dropbox API in the event of a 401 auth error. /// @param structuredAccessError The structured object returned by the Dropbox API in the event of a 403 access error. /// @param structuredPathRootError The structured object returned by the Dropbox API in the event of a 422 path root @@ -601,7 +632,7 @@ typedef NS_ENUM(NSInteger, DBRequestErrorTag) { requestId:(nullable NSString *)requestId statusCode:(nullable NSNumber *)statusCode errorContent:(nullable NSString *)errorContent - userMessage:(nullable NSString *)userMessage + userMessage:(nullable DBLocalizedUserMessage *)userMessage structuredAuthError:(nullable DBAUTHAuthError *)structuredAuthError structuredAccessError:(nullable DBAUTHAccessError *)structuredAccessError structuredPathRootError:(nullable DBCOMMONPathRootError *)structuredPathRootError diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.m index cc8a70ac3..e56d1483c 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBRequestErrors.m @@ -9,6 +9,25 @@ #import "DBCOMMONPathRootError.h" #import "DBOAuthManager.h" +#pragma mark - Error Parameters + +@implementation DBLocalizedUserMessage + +- (instancetype)initWithText:(NSString *)text locale:(NSString *)locale { + self = [super init]; + if (self) { + _text = [text copy]; + _locale = [locale copy]; + } + return self; +} + +- (NSString *)description { + return self.text; +} + +@end + #pragma mark - HTTP error @implementation DBRequestHttpError @@ -16,7 +35,7 @@ @implementation DBRequestHttpError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { self = [super init]; if (self) { _requestId = requestId; @@ -46,7 +65,7 @@ @implementation DBRequestBadInputError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { return [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; } @@ -69,7 +88,7 @@ @implementation DBRequestAuthError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { @@ -98,7 +117,7 @@ @implementation DBRequestAccessError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { @@ -127,7 +146,7 @@ @implementation DBRequestPathRootError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; if (self) { @@ -156,7 +175,7 @@ @implementation DBRequestRateLimitError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff { self = [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; @@ -188,7 +207,7 @@ @implementation DBRequestInternalServerError - (instancetype)init:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { return [super init:requestId statusCode:statusCode errorContent:errorContent userMessage:userMessage]; } @@ -217,7 +236,7 @@ - (instancetype)init:(NSError *)nsError { } - (NSString *)description { - NSDictionary *values = @{ @"NSError" : _nsError ?: @"nil" }; + NSDictionary *values = @{@"NSError" : _nsError ?: @"nil"}; return [NSString stringWithFormat:@"DropboxClientError[%@];", values]; } @@ -232,7 +251,7 @@ @implementation DBRequestError - (instancetype)initAsHttpError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorHttp requestId:requestId statusCode:statusCode @@ -249,7 +268,7 @@ - (instancetype)initAsHttpError:(NSString *)requestId - (instancetype)initAsBadInputError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorBadInput requestId:requestId statusCode:statusCode @@ -266,7 +285,7 @@ - (instancetype)initAsBadInputError:(NSString *)requestId - (instancetype)initAsAuthError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError { return [self init:DBRequestErrorAuth requestId:requestId @@ -284,9 +303,9 @@ - (instancetype)initAsAuthError:(NSString *)requestId - (instancetype)initAsAccessError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredAccessError:(DBAUTHAccessError *)structuredAccessError { - return [self init:DBRequestErrorAuth + return [self init:DBRequestErrorAccess requestId:requestId statusCode:statusCode errorContent:errorContent @@ -302,7 +321,7 @@ - (instancetype)initAsAccessError:(NSString *)requestId - (instancetype)initAsPathRootError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError { return [self init:DBRequestErrorPathRoot requestId:requestId @@ -320,7 +339,7 @@ - (instancetype)initAsPathRootError:(NSString *)requestId - (instancetype)initAsRateLimitError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredRateLimitError:(DBAUTHRateLimitError *)structuredRateLimitError backoff:(NSNumber *)backoff { return [self init:DBRequestErrorRateLimit @@ -339,7 +358,7 @@ - (instancetype)initAsRateLimitError:(NSString *)requestId - (instancetype)initAsInternalServerError:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage { + userMessage:(DBLocalizedUserMessage *)userMessage { return [self init:DBRequestErrorInternalServer requestId:requestId statusCode:statusCode @@ -371,7 +390,7 @@ - (instancetype)init:(DBRequestErrorTag)tag requestId:(NSString *)requestId statusCode:(NSNumber *)statusCode errorContent:(NSString *)errorContent - userMessage:(NSString *)userMessage + userMessage:(DBLocalizedUserMessage *)userMessage structuredAuthError:(DBAUTHAuthError *)structuredAuthError structuredAccessError:(DBAUTHAccessError *)structuredAccessError structuredPathRootError:(DBCOMMONPathRootError *)structuredPathRootError diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSDKReachability.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSDKReachability.m index c23c349e6..0a8afd3a1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSDKReachability.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBSDKReachability.m @@ -133,14 +133,14 @@ - (void)stopNotifier { #pragma mark - Network Flag Handling -- (DBNetworkStatus)networkStatusForFlags:(SCNetworkReachabilityFlags)flags { +- (DBSDKNetworkStatus)networkStatusForFlags:(SCNetworkReachabilityFlags)flags { PrintReachabilityFlags(flags, "networkStatusForFlags"); if ((flags & kSCNetworkReachabilityFlagsReachable) == 0) { // The target host is not reachable. return DBNotReachable; } - DBNetworkStatus returnValue = DBNotReachable; + DBSDKNetworkStatus returnValue = DBNotReachable; if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) { /* @@ -187,9 +187,9 @@ - (BOOL)connectionRequired { return NO; } -- (DBNetworkStatus)currentReachabilityStatus { +- (DBSDKNetworkStatus)currentReachabilityStatus { NSAssert(_reachabilityRef != NULL, @"currentNetworkStatus called with NULL SCNetworkReachabilityRef"); - DBNetworkStatus returnValue = DBNotReachable; + DBSDKNetworkStatus returnValue = DBNotReachable; SCNetworkReachabilityFlags flags; if (SCNetworkReachabilityGetFlags(_reachabilityRef, &flags)) { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.h index 5cf824b33..a04eb261f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.h @@ -30,11 +30,15 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBTask : NSObject { @protected - /// Information about the route to which the request was made. - DBRoute *_route; NSOperationQueue *_queue; } +/// Information about the route to which the request was made. +@property (nonatomic, readonly) DBRoute *route; + +/// A unique string identifier for this task. +@property (nonatomic, readonly, copy) NSString *taskIdentifier; + /// Tracks the number of times this task has been retried. @property (nonatomic) int retryCount; @@ -90,9 +94,10 @@ NS_ASSUME_NONNULL_BEGIN /// /// Response / error deserialization is performed with this class. /// -@interface DBRpcTask : DBTask +@interface DBRpcTask : DBTask -typedef void (^DBRpcResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError * _Nullable networkError); +typedef void (^DBRpcResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, + DBRequestError *_Nullable networkError); /// /// Installs a response handler for the current request. @@ -174,9 +179,10 @@ typedef void (^DBRpcResponseBlock)(TResponse _Nullable result, TError _Nullable /// /// Response / error deserialization is performed with this class. /// -@interface DBUploadTask : DBTask +@interface DBUploadTask : DBTask -typedef void (^DBUploadResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError * _Nullable networkError); +typedef void (^DBUploadResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, + DBRequestError *_Nullable networkError); /// /// Installs a response handler for the current request. @@ -259,7 +265,7 @@ typedef void (^DBUploadResponseBlock)(TResponse _Nullable result, TError _Nullab /// /// Response / error deserialization is performed with this class. /// -@interface DBDownloadUrlTask : DBTask { +@interface DBDownloadUrlTask : DBTask { @protected NSURL *_destination; BOOL _overwrite; @@ -352,9 +358,10 @@ typedef void (^DBDownloadUrlResponseBlock)(TResponse _Nullable result, TError _N /// /// Response / error deserialization is performed with this class. /// -@interface DBDownloadDataTask : DBTask +@interface DBDownloadDataTask : DBTask -typedef void (^DBDownloadDataResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, DBRequestError * _Nullable networkError, NSData * _Nullable fileData); +typedef void (^DBDownloadDataResponseBlock)(TResponse _Nullable result, TError _Nullable routeError, + DBRequestError *_Nullable networkError, NSData *_Nullable fileData); /// /// Installs a response handler for the current request. diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.m index 2f2e77acd..77b5b4e89 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasks.m @@ -21,6 +21,7 @@ - (instancetype)initWithRoute:(DBRoute *)route tokenUid:(NSString *)tokenUid { _route = route; _queue = nil; _tokenUid = [tokenUid copy]; + _taskIdentifier = [[NSUUID UUID].UUIDString copy]; } return self; } @@ -62,7 +63,7 @@ - (DBTask *)restart { } + (NSError *)dropboxBadResponseErrorWithException:(NSException *)exception { - return [NSError errorWithDomain:@"dropbox.com" code:0 userInfo:@{ @"error_message" : exception }]; + return [NSError errorWithDomain:@"dropbox.com" code:0 userInfo:@{@"error_message" : exception}]; } @end @@ -119,7 +120,7 @@ - (DBRpcResponseBlockStorage)storageBlockWithResponseBlock:(DBRpcResponseBlockIm int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; - DBRoute *route = strongSelf->_route; + DBRoute *route = strongSelf.route; BOOL successful = NO; @@ -141,7 +142,7 @@ - (DBRpcResponseBlockStorage)storageBlockWithResponseBlock:(DBRpcResponseBlockIm @try { result = [DBTransportBaseClient routeResultWithRoute:route data:data serializationError:&serializationError]; } @catch (NSException *exception) { - serializationError = [[self class] dropboxBadResponseErrorWithException:exception]; + serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; @@ -214,7 +215,7 @@ - (DBUploadResponseBlockStorage)storageBlockWithResponseBlock:(DBUploadResponseB int statusCode = (int)httpResponse.statusCode; NSDictionary *httpHeaders = httpResponse.allHeaderFields; - DBRoute *route = strongSelf->_route; + DBRoute *route = strongSelf.route; BOOL successful = NO; @@ -236,7 +237,7 @@ - (DBUploadResponseBlockStorage)storageBlockWithResponseBlock:(DBUploadResponseB @try { result = [DBTransportBaseClient routeResultWithRoute:route data:data serializationError:&serializationError]; } @catch (NSException *exception) { - serializationError = [[self class] dropboxBadResponseErrorWithException:exception]; + serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; @@ -317,7 +318,7 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlRe resultData = [headerString dataUsingEncoding:NSUTF8StringEncoding]; } - DBRoute *route = strongSelf->_route; + DBRoute *route = strongSelf.route; BOOL successful = NO; @@ -327,8 +328,11 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlRe NSURL *destination = strongSelf->_destination; if (clientError || !resultData || !location) { - // error data is in response body (downloaded to output tmp file) - NSData *errorData = location ? [NSData dataWithContentsOfFile:[location path]] : nil; + NSData *errorData = location ? [NSData dataWithContentsOfURL:location] : nil; + if (errorData == nil && location.path != nil) { + // error data is in response body (downloaded to output tmp file) + errorData = [NSData dataWithContentsOfURL:[NSURL fileURLWithPath:location.path]]; + } networkError = [DBTransportBaseClient dBRequestErrorWithErrorData:errorData clientError:clientError statusCode:statusCode @@ -352,9 +356,10 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlRe if (fileMoveErrorOverwrite) { networkError = [[DBRequestError alloc] initAsClientError:fileMoveErrorOverwrite]; } else { - NSError *fileMoveErrorToDestination; - - [fileManager moveItemAtPath:[location path] toPath:destinationPath error:&fileMoveErrorToDestination]; + NSError *fileMoveErrorToDestination = nil; + if (destinationPath) { + [fileManager moveItemAtPath:[location path] toPath:destinationPath error:&fileMoveErrorToDestination]; + } if (fileMoveErrorToDestination) { networkError = [[DBRequestError alloc] initAsClientError:fileMoveErrorToDestination]; @@ -365,7 +370,7 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlRe data:resultData serializationError:&serializationError]; } @catch (NSException *exception) { - serializationError = [[self class] dropboxBadResponseErrorWithException:exception]; + serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; @@ -377,7 +382,7 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadUrlRe } } - responseBlock(result, routeError, networkError, destination); + responseBlock(result, routeError, networkError, destination ?: location); cleanupBlock(); return successful; @@ -449,7 +454,7 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadDataR resultData = [headerString dataUsingEncoding:NSUTF8StringEncoding]; } - DBRoute *route = strongSelf->_route; + DBRoute *route = strongSelf.route; BOOL successful = NO; @@ -477,7 +482,7 @@ - (DBDownloadResponseBlockStorage)storageBlockWithResponseBlock:(DBDownloadDataR result = [DBTransportBaseClient routeResultWithRoute:route data:resultData serializationError:&serializationError]; } @catch (NSException *exception) { - serializationError = [[self class] dropboxBadResponseErrorWithException:exception]; + serializationError = [[strongSelf class] dropboxBadResponseErrorWithException:exception]; } if (serializationError) { networkError = [[DBRequestError alloc] initAsClientError:serializationError]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksImpl.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksImpl.m index e0fee3a1d..92a70636a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksImpl.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksImpl.m @@ -9,6 +9,7 @@ #import "DBStoneBase.h" #import "DBTasks+Protected.h" #import "DBTransportBaseClient.h" +#import "DBURLSessionTaskResponseBlockWrapper.h" #pragma mark - RPC-style network task @@ -17,35 +18,33 @@ @implementation DBRpcTaskImpl { DBRpcResponseBlockImpl _responseBlock; } -- (instancetype)initWithTask:(NSURLSessionDataTask *)task - tokenUid:(NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route { +- (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { - _dataTask = task; - _session = session; - _delegate = delegate; + _task = task; _selfRetained = self; } return self; } +- (NSURLSession *)session { + return _task.session; +} + - (void)cancel { - [_dataTask cancel]; + [_task cancel]; } - (void)suspend { - [_dataTask suspend]; + [_task suspend]; } - (void)resume { - [_dataTask resume]; + [_task resume]; } - (void)start { - [_dataTask resume]; + [_task resume]; } - (void)cleanup { @@ -58,14 +57,11 @@ - (void)cleanup { } - (DBTask *)restart { - NSURLRequest *request = [_dataTask.originalRequest copy]; - NSURLSessionDataTask *task = [_session dataTaskWithRequest:request]; DBRpcTaskImpl *sdkTask = - [[DBRpcTaskImpl alloc] initWithTask:task tokenUid:self.tokenUid session:_session delegate:_delegate route:_route]; + [[DBRpcTaskImpl alloc] initWithTask:[_task duplicate] tokenUid:self.tokenUid route:self.route]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; - [task resume]; - + [sdkTask resume]; return sdkTask; } @@ -75,11 +71,12 @@ - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock { - (DBRpcTask *)setResponseBlock:(DBRpcResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; + __weak __typeof(self) weakSelf = self; DBRpcResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ - [self cleanup]; + [weakSelf cleanup]; }]; - [_delegate addRpcResponseHandler:_dataTask session:_session responseHandler:storageBlock responseHandlerQueue:queue]; + [_task setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withRpcResponseBlock:storageBlock] queue:queue]; return self; } @@ -88,7 +85,7 @@ - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock { } - (DBRpcTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { - [_delegate addProgressHandler:_dataTask session:_session progressHandler:progressBlock progressHandlerQueue:queue]; + [_task setProgressBlock:progressBlock queue:queue]; return self; } @@ -101,24 +98,19 @@ @implementation DBUploadTaskImpl { DBUploadResponseBlockImpl _responseBlock; } -- (instancetype)initWithTask:(NSURLSessionUploadTask *)task - tokenUid:(NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route - inputUrl:(NSURL *)inputUrl - inputData:(NSData *)inputData { +- (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _uploadTask = task; - _session = session; - _delegate = delegate; - _inputUrl = inputUrl; - _inputData = inputData; + _selfRetained = self; } return self; } +- (NSURLSession *)session { + return _uploadTask.session; +} + - (void)cancel { [_uploadTask cancel]; } @@ -145,28 +137,11 @@ - (void)cleanup { } - (DBTask *)restart { - NSURLRequest *request = [_uploadTask.originalRequest copy]; - NSURLSessionUploadTask *task = nil; - self.retryCount += 1; - if (_inputUrl) { - task = [_session uploadTaskWithRequest:request fromFile:self->_inputUrl]; - } else if (_inputData) { - task = [_session uploadTaskWithRequest:request fromData:self->_inputData]; - } else { - task = [_session uploadTaskWithStreamedRequest:request]; - } - - DBUploadTaskImpl *sdkTask = [[DBUploadTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:_session - delegate:_delegate - route:_route - inputUrl:_inputUrl - inputData:_inputData]; + DBUploadTaskImpl *sdkTask = + [[DBUploadTaskImpl alloc] initWithTask:[_uploadTask duplicate] tokenUid:self.tokenUid route:self.route]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; [sdkTask resume]; - return sdkTask; } @@ -176,15 +151,13 @@ - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock { - (DBUploadTask *)setResponseBlock:(DBUploadResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; + __weak __typeof(self) weakSelf = self; DBUploadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ - [self cleanup]; + [weakSelf cleanup]; }]; - [_delegate addUploadResponseHandler:_uploadTask - session:_session - responseHandler:storageBlock - responseHandlerQueue:queue]; - + [_uploadTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withUploadResponseBlock:storageBlock] + queue:queue]; return self; } @@ -193,7 +166,7 @@ - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock { } - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { - [_delegate addProgressHandler:_uploadTask session:_session progressHandler:progressBlock progressHandlerQueue:queue]; + [_uploadTask setProgressBlock:progressBlock queue:queue]; return self; } @@ -204,26 +177,28 @@ - (DBUploadTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOpera @implementation DBDownloadUrlTaskImpl { DBDownloadUrlTaskImpl *_selfRetained; DBDownloadUrlResponseBlockImpl _responseBlock; + id _downloadUrlTask; } -- (instancetype)initWithTask:(NSURLSessionDownloadTask *)task +- (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate route:(DBRoute *)route overwrite:(BOOL)overwrite destination:(NSURL *)destination { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _downloadUrlTask = task; - _session = session; - _delegate = delegate; _overwrite = overwrite; _destination = destination; + _selfRetained = self; } return self; } +- (NSURLSession *)session { + return _downloadUrlTask.session; +} + - (void)cancel { [_downloadUrlTask cancel]; } @@ -250,19 +225,14 @@ - (void)cleanup { } - (DBTask *)restart { - NSURLRequest *request = [_downloadUrlTask.originalRequest copy]; - NSURLSessionDownloadTask *task = [_session downloadTaskWithRequest:request]; - DBDownloadUrlTaskImpl *sdkTask = [[DBDownloadUrlTaskImpl alloc] initWithTask:task + DBDownloadUrlTaskImpl *sdkTask = [[DBDownloadUrlTaskImpl alloc] initWithTask:[_downloadUrlTask duplicate] tokenUid:self.tokenUid - session:_session - delegate:_delegate - route:_route + route:self.route overwrite:_overwrite destination:_destination]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; - [task resume]; - + [sdkTask resume]; return sdkTask; } @@ -272,15 +242,14 @@ - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)response - (DBDownloadUrlTask *)setResponseBlock:(DBDownloadUrlResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; + __weak __typeof(self) weakSelf = self; DBDownloadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ - [self cleanup]; + [weakSelf cleanup]; }]; - [_delegate addDownloadResponseHandler:_downloadUrlTask - session:_session - responseHandler:storageBlock - responseHandlerQueue:queue]; + [_downloadUrlTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withDownloadResponseBlock:storageBlock] + queue:queue]; return self; } @@ -289,10 +258,7 @@ - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock { } - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { - [_delegate addProgressHandler:_downloadUrlTask - session:_session - progressHandler:progressBlock - progressHandlerQueue:queue]; + [_downloadUrlTask setProgressBlock:progressBlock queue:queue]; return self; } @@ -303,22 +269,22 @@ - (DBDownloadUrlTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NS @implementation DBDownloadDataTaskImpl { DBDownloadDataTaskImpl *_selfRetained; DBDownloadDataResponseBlockImpl _responseBlock; + id _downloadDataTask; } -- (instancetype)initWithTask:(NSURLSessionDownloadTask *)task - tokenUid:(NSString *)tokenUid - session:(NSURLSession *)session - delegate:(DBDelegate *)delegate - route:(DBRoute *)route { +- (instancetype)initWithTask:(id)task tokenUid:(NSString *)tokenUid route:(DBRoute *)route { self = [super initWithRoute:route tokenUid:tokenUid]; if (self) { _downloadDataTask = task; - _session = session; - _delegate = delegate; + _selfRetained = self; } return self; } +- (NSURLSession *)session { + return _downloadDataTask.session; +} + - (void)cancel { [_downloadDataTask cancel]; } @@ -345,17 +311,12 @@ - (void)cleanup { } - (DBTask *)restart { - NSURLRequest *request = [_downloadDataTask.originalRequest copy]; - NSURLSessionDownloadTask *task = [_session downloadTaskWithRequest:request]; - DBDownloadDataTaskImpl *sdkTask = [[DBDownloadDataTaskImpl alloc] initWithTask:task + DBDownloadDataTaskImpl *sdkTask = [[DBDownloadDataTaskImpl alloc] initWithTask:[_downloadDataTask duplicate] tokenUid:self.tokenUid - session:_session - delegate:_delegate - route:_route]; + route:self.route]; sdkTask.retryCount += 1; [sdkTask setResponseBlock:_responseBlock queue:_queue]; - [task resume]; - + [sdkTask resume]; return sdkTask; } @@ -366,15 +327,13 @@ - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)respon - (DBDownloadDataTask *)setResponseBlock:(DBDownloadDataResponseBlockImpl)responseBlock queue:(NSOperationQueue *)queue { _responseBlock = responseBlock; + __weak __typeof(self) weakSelf = self; DBDownloadResponseBlockStorage storageBlock = [self storageBlockWithResponseBlock:responseBlock cleanupBlock:^{ - [self cleanup]; + [weakSelf cleanup]; }]; - [_delegate addDownloadResponseHandler:_downloadDataTask - session:_session - responseHandler:storageBlock - responseHandlerQueue:queue]; - + [_downloadDataTask setResponseBlock:[DBURLSessionTaskResponseBlockWrapper withDownloadResponseBlock:storageBlock] + queue:queue]; return self; } @@ -383,10 +342,7 @@ - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock { } - (DBDownloadDataTask *)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { - [_delegate addProgressHandler:_downloadDataTask - session:_session - progressHandler:progressBlock - progressHandlerQueue:queue]; + [_downloadDataTask setProgressBlock:progressBlock queue:queue]; return self; } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.m index 6b91fdc3d..3d16f6919 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTasksStorage.m @@ -54,8 +54,8 @@ - (void)cancelAllTasks { - (void)addUploadTask:(DBUploadTaskImpl *)task { @synchronized(self) { if (!_cancel) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.uploadTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_uploadTasks setObject:task forKey:key]; } else { [task cancel]; @@ -65,8 +65,8 @@ - (void)addUploadTask:(DBUploadTaskImpl *)task { - (void)removeUploadTask:(DBUploadTaskImpl *)task { @synchronized(self) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.uploadTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_uploadTasks removeObjectForKey:key]; } } @@ -74,9 +74,8 @@ - (void)removeUploadTask:(DBUploadTaskImpl *)task { - (void)addDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { @synchronized(self) { if (!_cancel) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = - [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.downloadUrlTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadUrlTasks setObject:task forKey:key]; } else { [task cancel]; @@ -86,9 +85,8 @@ - (void)addDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { - (void)removeDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { @synchronized(self) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = - [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.downloadUrlTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadUrlTasks removeObjectForKey:key]; } } @@ -96,9 +94,8 @@ - (void)removeDownloadUrlTask:(DBDownloadUrlTaskImpl *)task { - (void)addDownloadDataTask:(DBDownloadDataTaskImpl *)task { @synchronized(self) { if (!_cancel) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = - [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.downloadDataTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadDataTasks setObject:task forKey:key]; } else { [task cancel]; @@ -108,9 +105,8 @@ - (void)addDownloadDataTask:(DBDownloadDataTaskImpl *)task { - (void)removeDownloadDataTask:(DBDownloadDataTaskImpl *)task { @synchronized(self) { - NSString *sessionId = task.session.configuration.identifier ?: kForegroundSessionId; - NSString *key = - [NSString stringWithFormat:@"%@/%lu", sessionId, (unsigned long)task.downloadDataTask.taskIdentifier]; + NSString *sessionId = task.session.configuration.identifier ?: kDBSDKForegroundSessionId; + NSString *key = [NSString stringWithFormat:@"%@/%@", sessionId, task.taskIdentifier]; [_downloadDataTasks removeObjectForKey:key]; } } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.h index 9897bc16b..6ff131d6a 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.h @@ -2,16 +2,18 @@ /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// +#import "DBCOMMONPathRoot.h" #import @class DBTransportBaseConfig; +@protocol DBAccessTokenProvider; NS_ASSUME_NONNULL_BEGIN @interface DBTransportBaseClient : NSObject -/// The Dropbox OAuth2 access token used to make requests. -@property (nonatomic, readonly, copy, nullable) NSString *accessToken; +/// The Dropbox OAuth2 access token provider used to make requests. +@property (nonatomic, readonly, nullable) id accessTokenProvider; /// Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects are each /// associated with a particular Dropbox account. @@ -32,11 +34,17 @@ NS_ASSUME_NONNULL_BEGIN /// actions on behalf of a team member. @property (nonatomic, readonly, copy, nullable) NSString *asMemberId; +/// The value of path root object which will be used as Dropbox-Api-Path-Root header. +@property (nonatomic, readonly, copy, nullable) DBCOMMONPathRoot *pathRoot; + /// Additional HTTP headers to be injected into each client request. @property (nonatomic, readonly, copy, nullable) NSDictionary *additionalHeaders; +/// Set YES to use a faster, experimental ASCII encoding implementation. Default = NO. +@property (atomic, class) BOOL useFastAsciiEncoding; + /// -/// Full constructor. +/// Convenience initializer. /// /// @param accessToken The Dropbox OAuth2 access token used to make requests. /// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects @@ -50,6 +58,24 @@ NS_ASSUME_NONNULL_BEGIN tokenUid:(nullable NSString *)tokenUid transportConfig:(DBTransportBaseConfig *)transportConfig; +/// +/// Designated initializer. +/// +/// @param accessTokenProvider The `DBAccessTokenProvider` that provides a Dropbox OAuth2 access token +/// used to make requests. +/// @param tokenUid Identifies a unique Dropbox account. Used for the multi Dropbox account case where client objects +/// are each associated with a particular Dropbox account. +/// @param transportConfig A wrapper around the different parameters that can be set to change network calling behavior. +/// `DBTransportDefaultConfig` offers a number of different constructors to customize networking settings. +/// +/// @return An initialized instance. +/// +- (instancetype)initWithAccessTokenProvider:(nullable id)accessTokenProvider + tokenUid:(nullable NSString *)tokenUid + transportConfig:(DBTransportBaseConfig *)transportConfig NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m index 31c9b6b91..8693818fa 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseClient.m @@ -7,12 +7,14 @@ #import "DBAUTHAccessError.h" #import "DBAUTHAuthError.h" #import "DBAUTHRateLimitError.h" +#import "DBAccessTokenProvider+Internal.h" #import "DBCOMMONPathRootError.h" #import "DBRequestErrors.h" #import "DBSDKConstants.h" #import "DBStoneBase.h" #import "DBTransportBaseClient.h" #import "DBTransportBaseConfig.h" +#import "DBTransportBaseHostnameConfig.h" #pragma mark - Internal serialization helpers @@ -22,20 +24,42 @@ @interface DBTransportBaseClient () @implementation DBTransportBaseClient +static BOOL kUseFastAsciiEncoding; +static NSLock *kAsciiEscapeSelectorLock; + ++ (void)initialize { + [super initialize]; + if (self == [DBTransportBaseClient class]) { + kUseFastAsciiEncoding = NO; + kAsciiEscapeSelectorLock = [[NSLock alloc] init]; + } +} + - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportBaseConfig *)transportConfig { + DBLongLivedAccessTokenProvider *provider = nil; + if (accessToken) { + provider = [[DBLongLivedAccessTokenProvider alloc] initWithTokenString:accessToken]; + } + return [self initWithAccessTokenProvider:provider tokenUid:tokenUid transportConfig:transportConfig]; +} + +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(NSString *)tokenUid + transportConfig:(DBTransportBaseConfig *)transportConfig { if (self = [super init]) { - _accessToken = accessToken; + _accessTokenProvider = accessTokenProvider; _tokenUid = [tokenUid copy]; _appKey = transportConfig.appKey; _appSecret = transportConfig.appSecret; _hostnameConfig = transportConfig.hostnameConfig ?: [[DBTransportBaseHostnameConfig alloc] init]; - NSString *defaultUserAgent = [NSString stringWithFormat:@"%@/%@", kV2SDKDefaultUserAgentPrefix, kV2SDKVersion]; + NSString *defaultUserAgent = [DBTransportBaseConfig defaultUserAgent]; _userAgent = transportConfig.userAgent ? [[transportConfig.userAgent stringByAppendingString:@"/"] stringByAppendingString:defaultUserAgent] : defaultUserAgent; _asMemberId = transportConfig.asMemberId; + _pathRoot = transportConfig.pathRoot; _additionalHeaders = transportConfig.additionalHeaders; } return self; @@ -51,29 +75,43 @@ - (NSDictionary *)headersWithRouteInfo:(NSDictionary *)r byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { NSString *routeStyle = routeAttributes[@"style"]; - NSString *routeHost = routeAttributes[@"host"]; - NSString *routeAuth = routeAttributes[@"auth"]; + + // routeAuthStr is one of user|team|app|noauth|app, user + NSString *routeAuthStr = routeAttributes[@"auth"]; + NSArray *routeAuthsSplit = [routeAuthStr componentsSeparatedByString:@","]; + NSMutableArray *routeAuths = [NSMutableArray array]; + [routeAuthsSplit enumerateObjectsUsingBlock:^(NSString *_Nonnull obj, NSUInteger idx, BOOL *_Nonnull stop) { +#pragma unused(idx) +#pragma unused(stop) + [routeAuths addObject:[obj stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]]; + }]; NSMutableDictionary *headers = [[NSMutableDictionary alloc] init]; [headers setObject:_userAgent forKey:@"User-Agent"]; - BOOL noauth = [routeHost isEqualToString:@"notify"]; + BOOL noauth = [routeAuths containsObject:@"noauth"]; if (!noauth) { if (_asMemberId) { [headers setObject:_asMemberId forKey:@"Dropbox-Api-Select-User"]; } - if (routeAuth && [routeAuth isEqualToString:@"app"]) { - if (!_appKey || !_appSecret) { - NSLog(@"App key and/or secret not properly configured. Use custom `DBTransportDefaultConfig` instance to set."); - } + if (_pathRoot) { + NSString *pathRootStr = [[self class] serializeStringWithRoute:nil routeArg:_pathRoot]; + [headers setObject:pathRootStr forKey:@"Dropbox-Api-Path-Root"]; + } + + // Order is important here. Route may support multiple auth types, so check from most specific to least. + if (([routeAuths containsObject:@"user"] || [routeAuths containsObject:@"team"]) && (_accessTokenProvider != nil)) { + [headers setObject:[NSString stringWithFormat:@"Bearer %@", _accessTokenProvider.accessToken] + forKey:@"Authorization"]; + } else if ([routeAuths containsObject:@"app"] && (_appKey != nil) && (_appSecret != nil)) { NSString *authString = [NSString stringWithFormat:@"%@:%@", _appKey, _appSecret]; NSData *authData = [authString dataUsingEncoding:NSUTF8StringEncoding]; [headers setObject:[NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]] forKey:@"Authorization"]; } else { - [headers setObject:[NSString stringWithFormat:@"Bearer %@", _accessToken] forKey:@"Authorization"]; + NSLog(@"Auth info not properly configured. Use custom `DBTransportDefaultConfig` instance to set."); } } @@ -124,7 +162,7 @@ + (NSMutableURLRequest *)requestWithHeaders:(NSDictionary *)httpHeaders } - (NSURL *)urlWithRoute:(DBRoute *)route { - NSString *routePrefix = [_hostnameConfig apiV2PrefixWithRouteType:route.attrs[@"host"]]; + NSString *routePrefix = [_hostnameConfig apiV2PrefixWithRoute:route]; return [NSURL URLWithString:[NSString stringWithFormat:@"%@/%@/%@", routePrefix, route.namespace_, route.name]]; } @@ -133,7 +171,7 @@ + (NSData *)serializeDataWithRoute:(DBRoute *)route routeArg:(id return nil; } - if (route.dataStructSerialBlock) { + if (route != nil && route.dataStructSerialBlock) { return [[self class] jsonDataWithJsonObj:route.dataStructSerialBlock(arg)]; } @@ -178,7 +216,37 @@ + (NSString *)utf8StringWithData:(NSData *)jsonData { return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; } ++ (BOOL)useFastAsciiEncoding { + BOOL result; + + [kAsciiEscapeSelectorLock lock]; + result = kUseFastAsciiEncoding; + [kAsciiEscapeSelectorLock unlock]; + return result; +} + ++ (void)setUseFastAsciiEncoding:(BOOL)useFastAsciiEncoding { + [kAsciiEscapeSelectorLock lock]; + kUseFastAsciiEncoding = useFastAsciiEncoding; + [kAsciiEscapeSelectorLock unlock]; +} + + (NSString *)asciiEscapeWithString:(NSString *)string { + BOOL useFastEncoding = NO; + [kAsciiEscapeSelectorLock lock]; + useFastEncoding = kUseFastAsciiEncoding; + [kAsciiEscapeSelectorLock unlock]; + + NSString *result; + if (useFastEncoding) { + result = [self fast_asciiEscapeWithString:string]; + } else { + result = [self slow_asciiEscapeWithString:string]; + } + return result; +} + ++ (NSString *)slow_asciiEscapeWithString:(NSString *)string { NSMutableString *result = [[NSMutableString alloc] init]; for (NSUInteger i = 0; i < string.length; i++) { NSString *substring = [string substringWithRange:NSMakeRange(i, 1)]; @@ -191,6 +259,27 @@ + (NSString *)asciiEscapeWithString:(NSString *)string { return result; } ++ (NSString *)fast_asciiEscapeWithString:(NSString *)string { + // if the string is already ascii, return immediately + if ([string canBeConvertedToEncoding:NSASCIIStringEncoding]) { + return [string copy]; + } + + NSMutableString *encoded = [NSMutableString stringWithCapacity:[string length]]; + for (NSUInteger i = 0; i < [string length]; i++) { + unichar character = [string characterAtIndex:i]; + // Anything that is raw ASCII (not extended) can be applied as a regular old character. + if (character < 128) { + [encoded appendFormat:@"%c", character]; + } else { + // Everything else needs to be encoded, including the extended ascii set. + [encoded appendFormat:@"\\u%04x", character]; + } + } + + return [encoded copy]; +} + + (DBRequestError *)dBRequestErrorWithErrorData:(NSData *)errorData clientError:(NSError *)clientError statusCode:(int)statusCode @@ -220,7 +309,15 @@ + (DBRequestError *)dBRequestErrorWithErrorData:(NSData *)errorData } else { errorContent = errorData ? [[NSString alloc] initWithData:errorData encoding:NSUTF8StringEncoding] : nil; } - NSString *userMessage = deserializedData[@"user_message"]; + DBLocalizedUserMessage *userMessage = nil; + NSDictionary *userMessageDict = deserializedData[@"user_message"]; + if ([userMessageDict isKindOfClass:[NSDictionary class]]) { + NSString *text = userMessageDict[@"text"]; + NSString *locale = userMessageDict[@"locale"]; + if ([text isKindOfClass:[NSString class]] && [locale isKindOfClass:[NSString class]]) { + userMessage = [[DBLocalizedUserMessage alloc] initWithText:text locale:locale]; + } + } if (statusCode >= 500 && statusCode < 600) { dbxError = [[DBRequestError alloc] initAsInternalServerError:requestId @@ -340,12 +437,4 @@ + (nullable id)caseInsensitiveLookupWithKey:(nullable NSString *)lookupKey return nil; } -+ (NSString *)sdkVersion { - return kV2SDKVersion; -} - -+ (NSString *)defaultUserAgent { - return kV2SDKDefaultUserAgentPrefix; -} - @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.h index 6a5098566..672ada7a1 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.h @@ -4,6 +4,7 @@ #import +#import "DBCOMMONPathRoot.h" #import "DBTransportBaseHostnameConfig.h" NS_ASSUME_NONNULL_BEGIN @@ -34,9 +35,15 @@ NS_ASSUME_NONNULL_BEGIN /// actions on behalf of a team member. @property (nonatomic, readonly, copy, nullable) NSString *asMemberId; +/// The value of path root object which will be used as Dropbox-Api-Path-Root header. +@property (nonatomic, readonly, copy, nullable) DBCOMMONPathRoot *pathRoot; + /// Additional HTTP headers to be injected into each client request. @property (nonatomic, readonly, copy, nullable) NSDictionary *additionalHeaders; +/// @return A default user agent string. ++ (NSString *)defaultUserAgent; + /// /// Convenience constructor. /// @@ -71,6 +78,21 @@ NS_ASSUME_NONNULL_BEGIN /// @param appSecret The consumer app secret associated with the app that is integrating with the Dropbox API. Here, app /// key is used for querying endpoints the have "app auth" authentication type. /// @param userAgent The user agent associated with all networking requests. Used for server logging. +/// @param hostnameConfig A set of custom hostnames to use for networking requests. +/// +/// @return An initialized instance. +- (instancetype)initWithAppKey:(nullable NSString *)appKey + appSecret:(nullable NSString *)appSecret + userAgent:(nullable NSString *)userAgent + hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig; +/// +/// Convenience constructor. +/// +/// @param appKey The consumer app key associated with the app that is integrating with the Dropbox API. Here, app key +/// is used for querying endpoints the have "app auth" authentication type. +/// @param appSecret The consumer app secret associated with the app that is integrating with the Dropbox API. Here, app +/// key is used for querying endpoints the have "app auth" authentication type. +/// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param asMemberId An additional authentication header field used when a team app with the appropriate permissions /// "performs" user API actions on behalf of a team member. /// @@ -135,6 +157,7 @@ NS_ASSUME_NONNULL_BEGIN /// @param userAgent The user agent associated with all networking requests. Used for server logging. /// @param asMemberId An additional authentication header field used when a team app with the appropriate permissions /// "performs" user API actions on behalf of a team member. +/// @param pathRoot The value of path root object which will be used as Dropbox-Api-Path-Root header. /// @param additionalHeaders Additional HTTP headers to be injected into each client request. /// /// @return An initialized instance. @@ -145,6 +168,7 @@ NS_ASSUME_NONNULL_BEGIN redirectURL:(nullable NSString *)redirectURL userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId + pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(nullable NSDictionary *)additionalHeaders; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.m index dfc00a1cc..fc524400f 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseConfig.m @@ -4,8 +4,14 @@ #import "DBTransportBaseConfig.h" +#import "DBSDKConstants.h" + @implementation DBTransportBaseConfig ++ (NSString *)defaultUserAgent { + return [NSString stringWithFormat:@"%@/%@", kDBSDKDefaultUserAgentPrefix, kDBSDKVersion]; +} + - (instancetype)initWithAppKey:(NSString *)appKey userAgent:(NSString *)userAgent { return [self initWithAppKey:appKey appSecret:nil userAgent:userAgent]; } @@ -14,6 +20,18 @@ - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecre return [self initWithAppKey:appKey appSecret:appSecret userAgent:userAgent asMemberId:nil]; } +- (instancetype)initWithAppKey:(nullable NSString *)appKey + appSecret:(nullable NSString *)appSecret + userAgent:(nullable NSString *)userAgent + hostnameConfig:(DBTransportBaseHostnameConfig *)hostnameConfig { + return [self initWithAppKey:appKey + appSecret:appSecret + hostnameConfig:hostnameConfig + userAgent:userAgent + asMemberId:nil + additionalHeaders:nil]; +} + - (instancetype)initWithAppKey:(NSString *)appKey appSecret:(NSString *)appSecret userAgent:(NSString *)userAgent @@ -47,6 +65,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey redirectURL:nil userAgent:userAgent asMemberId:asMemberId + pathRoot:nil additionalHeaders:additionalHeaders]; } @@ -56,6 +75,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey redirectURL:(NSString *)redirectURL userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId + pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(NSDictionary *)additionalHeaders { if (self = [super init]) { _userAgent = userAgent; @@ -64,6 +84,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey _redirectURL = redirectURL; _hostnameConfig = hostnameConfig; _asMemberId = asMemberId; + _pathRoot = pathRoot; _additionalHeaders = additionalHeaders; } return self; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.h index b41962091..b30e2d8fb 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.h @@ -2,10 +2,26 @@ /// Copyright (c) 2017 Dropbox, Inc. All rights reserved. /// +#import "DBStoneBase.h" #import +/// Enum of Dropbox API hosts. +typedef NS_ENUM(NSUInteger, DBRouteHost) { + DBRouteHostUnknown = 0, + DBRouteHostApi, + DBRouteHostContent, + DBRouteHostNotify, +}; + NS_ASSUME_NONNULL_BEGIN +@interface DBRoute (DropboxHost) + +/// @return which host this route points to +@property (nonatomic, readonly) DBRouteHost host; + +@end + /// /// Configuration class that defines the different hostnames that the Dropbox SDK uses /// @@ -14,6 +30,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, copy) NSString *meta; @property (nonatomic, readonly, copy) NSString *api; @property (nonatomic, readonly, copy) NSString *content; +@property (nonatomic, readonly, copy) NSString *downloadContent; @property (nonatomic, readonly, copy) NSString *notify; /// @@ -35,15 +52,32 @@ NS_ASSUME_NONNULL_BEGIN /// - (instancetype)initWithMeta:(NSString *)meta api:(NSString *)api content:(NSString *)content notify:(NSString *)notify; +/// +/// Constructor that takes in a set of custom hostnames to use for api calls. +/// +/// @param meta the hostname to metaserver +/// @param api the hostname to api server +/// @param content the hostname to content server +/// @param downloadContent the hostname to content server for download style +/// @param notify the hostname to notify server +/// +/// @return An initialized instance with the provided hostname configuration +/// +- (instancetype)initWithMeta:(NSString *)meta + api:(NSString *)api + content:(NSString *)content + downloadContent:(NSString *)downloadContent + notify:(NSString *)notify NS_DESIGNATED_INITIALIZER; + /// /// Returns the prefix to use for API calls to the given route type. /// -/// @param routeType the type of route to get a prefix for. -/// Currently the valid values are: "api", "content", and "notify". +/// @param route the type of route to get a prefix for. +/// Currently the valid hosts are: "api", "content", and "notify". /// /// @return An absolute URL prefix, typically "https:///2" or nil if an invalid route type is provided. /// -- (nullable NSString *)apiV2PrefixWithRouteType:(NSString *)routeType; +- (nullable NSString *)apiV2PrefixWithRoute:(DBRoute *)route; @end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.m index d1b2f3cfa..59c713f9b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportBaseHostnameConfig.m @@ -4,45 +4,70 @@ #import "DBTransportBaseHostnameConfig.h" #import "DBSDKConstants.h" +#import "DBStoneBase.h" + +@implementation DBRoute (DropboxHost) + +- (DBRouteHost)host { + NSString *routeHost = self.attrs[@"host"]; + if ([routeHost isEqualToString:@"api"]) { + return DBRouteHostApi; + } + if ([routeHost isEqualToString:@"content"]) { + return DBRouteHostContent; + } + if ([routeHost isEqualToString:@"notify"]) { + return DBRouteHostNotify; + } + return DBRouteHostUnknown; +} + +@end @implementation DBTransportBaseHostnameConfig - (instancetype)init { - if (!kSDKDebug) { - return [self initWithMeta:@"www.dropbox.com" - api:@"api.dropbox.com" - content:@"api-content.dropbox.com" - notify:@"notify.dropboxapi.com"]; - } else { - return [self initWithMeta:[NSString stringWithFormat:@"meta-%@.dev.corp.dropbox.com", kSDKDebugHost] - api:[NSString stringWithFormat:@"api-%@.dev.corp.dropbox.com", kSDKDebugHost] - content:[NSString stringWithFormat:@"api-content-%@.dev.corp.dropbox.com", kSDKDebugHost] - notify:[NSString stringWithFormat:@"notify-%@.dev.corp.dropboxapi.com", kSDKDebugHost]]; - } - return self; + return [self initWithMeta:@"www.dropbox.com" + api:@"api.dropbox.com" + content:@"api-content.dropbox.com" + notify:@"notify.dropboxapi.com"]; +} + +- (instancetype)initWithMeta:(NSString *)meta + api:(NSString *)api + content:(NSString *)content + notify:(NSString *)notify { + return [self initWithMeta:meta api:api content:content downloadContent:content notify:notify]; } - (instancetype)initWithMeta:(NSString *)meta api:(NSString *)api content:(NSString *)content + downloadContent:(NSString *)downloadContent notify:(NSString *)notify { if (self = [super init]) { _meta = meta; _api = api; _content = content; + _downloadContent = downloadContent; _notify = notify; } return self; } -- (nullable NSString *)apiV2PrefixWithRouteType:(NSString *)routeType { - if ([routeType isEqualToString:@"api"]) { +- (nullable NSString *)apiV2PrefixWithRoute:(DBRoute *)route { + switch (route.host) { + case DBRouteHostApi: return [NSString stringWithFormat:@"https://%@/2", _api]; - } else if ([routeType isEqualToString:@"content"]) { - return [NSString stringWithFormat:@"https://%@/2", _content]; - } else if ([routeType isEqualToString:@"notify"]) { + case DBRouteHostContent: + if ([route.attrs[@"style"] isEqualToString:@"download"]) { + return [NSString stringWithFormat:@"https://%@/2", _downloadContent]; + } else { + return [NSString stringWithFormat:@"https://%@/2", _content]; + } + case DBRouteHostNotify: return [NSString stringWithFormat:@"https://%@/2", _notify]; - } else { + case DBRouteHostUnknown: return nil; } } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportClientProtocol.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportClientProtocol.h index 2c07b32ee..3d5f1eb08 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportClientProtocol.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportClientProtocol.h @@ -11,13 +11,14 @@ @class DBRoute; @class DBRpcTask; @class DBUploadTask; +@protocol DBAccessTokenProvider; NS_ASSUME_NONNULL_BEGIN @protocol DBTransportClient -/// The Dropbox OAuth2 access token used to make requests. -@property (nonatomic, copy, nullable) NSString *accessToken; +/// The Dropbox OAuth2 access token provider used to make requests. +@property (nonatomic, nullable) id accessTokenProvider; #pragma mark - RPC-style request diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.h index 731d71181..db294a0a7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.h @@ -4,6 +4,7 @@ #import +#import "DBCOMMONPathRoot.h" #import "DBTransportBaseClient.h" #import "DBTransportClientProtocol.h" @@ -86,6 +87,17 @@ NS_ASSUME_NONNULL_BEGIN /// - (DBTransportDefaultConfig *)duplicateTransportConfigWithAsMemberId:(NSString *)asMemberId; +/// +/// Creates a transport config with the same settings as the current transport client, to be used with +/// specific path root header value. +/// +/// @param pathRoot The value of path root object which will be used as Dropbox-Api-Path-Root header. +/// +/// @return A transport config with the same settings as the current transport client, except with +/// Dropbox-Api-Path-Root header value specified by pathRoot. +/// +- (DBTransportDefaultConfig *)duplicateTransportConfigWithPathRoot:(DBCOMMONPathRoot *)pathRoot; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.m index 62d0d1f4a..118594e7b 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultClient.m @@ -3,13 +3,17 @@ /// #import "DBTransportDefaultClient.h" + +#import "DBAccessTokenProvider+Internal.h" #import "DBDelegate.h" #import "DBFILESRouteObjects.h" #import "DBSDKConstants.h" #import "DBStoneBase.h" #import "DBTasksImpl.h" #import "DBTransportBaseClient+Internal.h" +#import "DBTransportBaseHostnameConfig.h" #import "DBTransportDefaultConfig.h" +#import "DBURLSessionTaskWithTokenRefresh.h" @implementation DBTransportDefaultClient { /// The delegate used to manage execution of all response / error code. By default, this @@ -26,7 +30,16 @@ @implementation DBTransportDefaultClient { - (instancetype)initWithAccessToken:(NSString *)accessToken tokenUid:(NSString *)tokenUid transportConfig:(DBTransportDefaultConfig *)transportConfig { - if (self = [super initWithAccessToken:accessToken tokenUid:tokenUid transportConfig:transportConfig]) { + return [self initWithAccessTokenProvider:[[DBLongLivedAccessTokenProvider alloc] initWithTokenString:accessToken] + tokenUid:tokenUid + transportConfig:transportConfig]; +} + +- (instancetype)initWithAccessTokenProvider:(id)accessTokenProvider + tokenUid:(NSString *)tokenUid + transportConfig:(DBTransportDefaultConfig *)transportConfig { + self = [super initWithAccessTokenProvider:accessTokenProvider tokenUid:tokenUid transportConfig:transportConfig]; + if (self) { _delegateQueue = transportConfig.delegateQueue ?: [NSOperationQueue new]; _delegateQueue.maxConcurrentOperationCount = 1; _delegate = [[DBDelegate alloc] initWithQueue:_delegateQueue]; @@ -41,7 +54,8 @@ - (instancetype)initWithAccessToken:(NSString *)accessToken [NSURLSession sessionWithConfiguration:sessionConfig delegate:_delegate delegateQueue:sessionDelegateQueue]; _forceForegroundSession = transportConfig.forceForegroundSession ? YES : NO; if (!_forceForegroundSession) { - NSString *backgroundId = [NSString stringWithFormat:@"%@.%@", kBackgroundSessionId, [NSUUID UUID].UUIDString]; + NSString *backgroundId = + [NSString stringWithFormat:@"%@.%@", kDBSDKBackgroundSessionId, [NSUUID UUID].UUIDString]; NSURLSessionConfiguration *backgroundSessionConfig = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:backgroundId]; if (transportConfig.sharedContainerIdentifier) { @@ -64,9 +78,12 @@ - (instancetype)initWithAccessToken:(NSString *)accessToken NSOperationQueue *longpollSessionDelegateQueue = [self urlSessionDelegateQueueWithName:[NSString stringWithFormat:@"%@ Longpoll NSURLSession delegate queue", NSStringFromClass(self.class)]]; - _longpollSession = [NSURLSession sessionWithConfiguration:longpollSessionConfig + NSURLSession *longpollSession = [NSURLSession sessionWithConfiguration:longpollSessionConfig delegate:_delegate delegateQueue:longpollSessionDelegateQueue]; + // Sessions must be uniquely identifiable so that we can disambiguate them in `sessionIdWithSession:`. + longpollSession.sessionDescription = @"longpoll"; + _longpollSession = longpollSession; } return self; } @@ -76,8 +93,8 @@ - (instancetype)initWithAccessToken:(NSString *)accessToken - (NSOperationQueue *)urlSessionDelegateQueueWithName:(NSString *)queueName { NSOperationQueue *sessionDelegateQueue = [[NSOperationQueue alloc] init]; sessionDelegateQueue.maxConcurrentOperationCount = 1; // [Michael Fey, 2017-05-16] From the NSURLSession - // documentation: "The queue should be a serial queue, in order - // to ensure the correct ordering of callbacks." + // documentation: "The queue should be a serial queue, in + // order to ensure the correct ordering of callbacks." sessionDelegateQueue.name = queueName; sessionDelegateQueue.qualityOfService = NSQualityOfServiceUtility; return sessionDelegateQueue; @@ -86,97 +103,101 @@ - (NSOperationQueue *)urlSessionDelegateQueueWithName:(NSString *)queueName { #pragma mark - RPC-style request - (DBRpcTaskImpl *)requestRpc:(DBRoute *)route arg:(id)arg { - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; - - // RPC request submits argument in request body - NSData *serializedArgData = [[self class] serializeDataWithRoute:route routeArg:arg]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:serializedArgData stream:nil]; - NSURLSession *sessionToUse = _session; - // longpoll requests have a much longer timeout period than other requests - if ([route.attrs[@"host"] isEqualToString:@"notify"]) { + if (route.host == DBRouteHostNotify) { sessionToUse = _longpollSession; } - NSURLSessionDataTask *task = [sessionToUse dataTaskWithRequest:request]; - DBRpcTaskImpl *rpcTask = [[DBRpcTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:sessionToUse - delegate:_delegate - route:route]; - [task resume]; - + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; + // RPC request submits argument in request body + NSData *serializedArgData = [[self class] serializeDataWithRoute:route routeArg:arg]; + NSURLRequest *request = + [[self class] requestWithHeaders:headers url:requestUrl content:serializedArgData stream:nil]; + return [sessionToUse dataTaskWithRequest:request]; + }; + + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + DBRpcTaskImpl *rpcTask = [[DBRpcTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid route:route]; + [rpcTask resume]; return rpcTask; } #pragma mark - Upload-style request (NSURL) - (DBUploadTaskImpl *)requestUpload:(DBRoute *)route arg:(id)arg inputUrl:(NSString *)input { - NSURL *inputUrl = [NSURL fileURLWithPath:input]; - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; - - NSURLSessionUploadTask *task = [_secondarySession uploadTaskWithRequest:request fromFile:inputUrl]; - DBUploadTaskImpl *uploadTask = [[DBUploadTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:_secondarySession - delegate:_delegate - route:route - inputUrl:inputUrl - inputData:nil]; - [task resume]; - + NSURLSession *sessionToUse = _secondarySession; + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *inputUrl = [NSURL fileURLWithPath:input]; + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; + NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; + return [sessionToUse uploadTaskWithRequest:request fromFile:inputUrl]; + }; + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + + DBUploadTaskImpl *uploadTask = + [[DBUploadTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid route:route]; + [uploadTask resume]; return uploadTask; } #pragma mark - Upload-style request (NSData) - (DBUploadTaskImpl *)requestUpload:(DBRoute *)route arg:(id)arg inputData:(NSData *)input { - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; - - NSURLSessionUploadTask *task = [_session uploadTaskWithRequest:request fromData:input]; - DBUploadTaskImpl *uploadTask = [[DBUploadTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:_session - delegate:_delegate - route:route - inputUrl:nil - inputData:input]; - [task resume]; - + NSURLSession *sessionToUse = _session; + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; + + NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; + + return [sessionToUse uploadTaskWithRequest:request fromData:input]; + }; + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + + DBUploadTaskImpl *uploadTask = + [[DBUploadTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid route:route]; + [uploadTask resume]; return uploadTask; } #pragma mark - Upload-style request (NSInputStream) - (DBUploadTaskImpl *)requestUpload:(DBRoute *)route arg:(id)arg inputStream:(NSInputStream *)input { - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:input]; - - NSURLSessionUploadTask *task = [_session uploadTaskWithStreamedRequest:request]; - DBUploadTaskImpl *uploadTask = [[DBUploadTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:_session - delegate:_delegate - route:route - inputUrl:nil - inputData:nil]; - [task resume]; - + NSURLSession *sessionToUse = _session; + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs serializedArg:serializedArg]; + NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:input]; + return [sessionToUse uploadTaskWithStreamedRequest:request]; + }; + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + DBUploadTaskImpl *uploadTask = + [[DBUploadTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid route:route]; + [uploadTask resume]; return uploadTask; } @@ -200,25 +221,30 @@ - (DBDownloadUrlTask *)requestDownload:(DBRoute *)route destination:(NSURL *)destination byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs - serializedArg:serializedArg - byteOffsetStart:byteOffsetStart - byteOffsetEnd:byteOffsetEnd]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; - - NSURLSessionDownloadTask *task = [_secondarySession downloadTaskWithRequest:request]; - DBDownloadUrlTaskImpl *downloadTask = [[DBDownloadUrlTaskImpl alloc] initWithTask:task + NSURLSession *sessionToUse = _secondarySession; + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs + serializedArg:serializedArg + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; + + NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; + + return [sessionToUse downloadTaskWithRequest:request]; + }; + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + DBDownloadUrlTaskImpl *downloadTask = [[DBDownloadUrlTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid - session:_secondarySession - delegate:_delegate route:route overwrite:overwrite destination:destination]; - [task resume]; - + [downloadTask resume]; return downloadTask; } @@ -232,23 +258,25 @@ - (DBDownloadDataTask *)requestDownload:(DBRoute *)route arg:(id)arg byteOffsetStart:(NSNumber *)byteOffsetStart byteOffsetEnd:(NSNumber *)byteOffsetEnd { - NSURL *requestUrl = [self urlWithRoute:route]; - NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; - NSDictionary *headers = [self headersWithRouteInfo:route.attrs - serializedArg:serializedArg - byteOffsetStart:byteOffsetStart - byteOffsetEnd:byteOffsetEnd]; - - NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; - - NSURLSessionDownloadTask *task = [_secondarySession downloadTaskWithRequest:request]; - DBDownloadDataTaskImpl *downloadTask = [[DBDownloadDataTaskImpl alloc] initWithTask:task - tokenUid:self.tokenUid - session:_secondarySession - delegate:_delegate - route:route]; - [task resume]; - + NSURLSession *sessionToUse = _secondarySession; + DBURLSessionTaskCreationBlock taskCreationBlock = ^{ + NSURL *requestUrl = [self urlWithRoute:route]; + NSString *serializedArg = [[self class] serializeStringWithRoute:route routeArg:arg]; + NSDictionary *headers = [self headersWithRouteInfo:route.attrs + serializedArg:serializedArg + byteOffsetStart:byteOffsetStart + byteOffsetEnd:byteOffsetEnd]; + NSURLRequest *request = [[self class] requestWithHeaders:headers url:requestUrl content:nil stream:nil]; + return [sessionToUse downloadTaskWithRequest:request]; + }; + id taskWithTokenRefresh = + [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:taskCreationBlock + taskDelegate:_delegate + urlSession:sessionToUse + tokenProvider:self.accessTokenProvider]; + DBDownloadDataTaskImpl *downloadTask = + [[DBDownloadDataTaskImpl alloc] initWithTask:taskWithTokenRefresh tokenUid:self.tokenUid route:route]; + [downloadTask resume]; return downloadTask; } @@ -261,6 +289,20 @@ - (DBTransportDefaultConfig *)duplicateTransportConfigWithAsMemberId:(NSString * forceForegroundSession:_forceForegroundSession]; } +- (DBTransportDefaultConfig *)duplicateTransportConfigWithPathRoot:(DBCOMMONPathRoot *)pathRoot { + return [[DBTransportDefaultConfig alloc] initWithAppKey:self.appKey + appSecret:self.appSecret + hostnameConfig:nil + redirectURL:nil + userAgent:self.userAgent + asMemberId:self.asMemberId + pathRoot:pathRoot + additionalHeaders:nil + delegateQueue:_delegateQueue + forceForegroundSession:_forceForegroundSession + sharedContainerIdentifier:nil]; +} + #pragma mark - Session accessors and mutators - (NSURLSession *)session { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.h index fbde1122c..23ade61a5 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.h @@ -4,6 +4,7 @@ #import +#import "DBCOMMONPathRoot.h" #import "DBTransportBaseConfig.h" NS_ASSUME_NONNULL_BEGIN @@ -232,6 +233,7 @@ NS_ASSUME_NONNULL_BEGIN /// upload/download operations are performed with a background session). /// @param asMemberId An additional authentication header field used when a team app with the appropriate permissions /// "performs" user API actions on behalf of a team member. +/// @param pathRoot The value of path root object which will be used as Dropbox-Api-Path-Root header. /// @param sharedContainerIdentifier The identifier for the shared container into which files in background URL sessions /// should be downloaded. This needs to be set when downloading via an app extension. /// @param additionalHeaders Additional HTTP headers to be injected into each client request. @@ -244,6 +246,7 @@ NS_ASSUME_NONNULL_BEGIN redirectURL:(nullable NSString *)redirectURL userAgent:(nullable NSString *)userAgent asMemberId:(nullable NSString *)asMemberId + pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(nullable NSDictionary *)additionalHeaders delegateQueue:(nullable NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.m index 9e1f51a9f..02aae829d 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBTransportDefaultConfig.m @@ -111,6 +111,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey redirectURL:nil userAgent:userAgent asMemberId:asMemberId + pathRoot:nil additionalHeaders:additionalHeaders delegateQueue:delegateQueue forceForegroundSession:forceForegroundSession @@ -123,6 +124,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey redirectURL:(NSString *)redirectURL userAgent:(NSString *)userAgent asMemberId:(NSString *)asMemberId + pathRoot:(nullable DBCOMMONPathRoot *)pathRoot additionalHeaders:(NSDictionary *)additionalHeaders delegateQueue:(NSOperationQueue *)delegateQueue forceForegroundSession:(BOOL)forceForegroundSession @@ -133,6 +135,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey redirectURL:redirectURL userAgent:userAgent asMemberId:asMemberId + pathRoot:pathRoot additionalHeaders:additionalHeaders]) { _delegateQueue = delegateQueue; _forceForegroundSession = forceForegroundSession; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskResponseBlockWrapper.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskResponseBlockWrapper.m new file mode 100644 index 000000000..e92175492 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskResponseBlockWrapper.m @@ -0,0 +1,35 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBURLSessionTaskResponseBlockWrapper.h" + +@interface DBURLSessionTaskResponseBlockWrapper () + +@property (nonatomic, strong, nullable) DBRpcResponseBlockStorage rpcResponseBlock; +@property (nonatomic, strong, nullable) DBUploadResponseBlockStorage uploadResponseBlock; +@property (nonatomic, strong, nullable) DBDownloadResponseBlockStorage downloadResponseBlock; + +@end + +@implementation DBURLSessionTaskResponseBlockWrapper + ++ (DBURLSessionTaskResponseBlockWrapper *)withRpcResponseBlock:(DBRpcResponseBlockStorage)responseBlock { + DBURLSessionTaskResponseBlockWrapper *wrapper = [[DBURLSessionTaskResponseBlockWrapper alloc] init]; + wrapper.rpcResponseBlock = responseBlock; + return wrapper; +} + ++ (DBURLSessionTaskResponseBlockWrapper *)withUploadResponseBlock:(DBUploadResponseBlockStorage)responseBlock { + DBURLSessionTaskResponseBlockWrapper *wrapper = [[DBURLSessionTaskResponseBlockWrapper alloc] init]; + wrapper.uploadResponseBlock = responseBlock; + return wrapper; +} + ++ (DBURLSessionTaskResponseBlockWrapper *)withDownloadResponseBlock:(DBDownloadResponseBlockStorage)responseBlock { + DBURLSessionTaskResponseBlockWrapper *wrapper = [[DBURLSessionTaskResponseBlockWrapper alloc] init]; + wrapper.downloadResponseBlock = responseBlock; + return wrapper; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskWithTokenRefresh.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskWithTokenRefresh.m new file mode 100644 index 000000000..11ec18e66 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Networking/DBURLSessionTaskWithTokenRefresh.m @@ -0,0 +1,191 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBURLSessionTaskWithTokenRefresh.h" + +#import "DBAccessTokenProvider.h" +#import "DBDelegate.h" +#import "DBOAuthResult.h" +#import "DBURLSessionTaskResponseBlockWrapper.h" + +@interface DBURLSessionTaskWithTokenRefresh () + +@property (nonatomic, weak) DBDelegate *taskDelegate; +@property (nonatomic, strong) DBURLSessionTaskCreationBlock taskCreationBlock; +@property (nonatomic, strong) id tokenProvider; +@property (nonatomic, strong) DBProgressBlock progressBlock; +@property (nonatomic, strong) NSOperationQueue *progressQueue; +@property (nonatomic, strong) DBURLSessionTaskResponseBlockWrapper *responseBlockWrapper; +@property (nonatomic, strong) NSOperationQueue *responseQueue; +@property (nonatomic, strong) dispatch_queue_t serialQueue; +@property (nonatomic, strong, nullable) NSURLSessionTask *sessionTask; +@property (nonatomic, assign) BOOL cancelled; +@property (nonatomic, assign) BOOL suspended; +@property (nonatomic, assign) BOOL started; + +@end + +@implementation DBURLSessionTaskWithTokenRefresh + +@synthesize session = _session; + +- (instancetype)initWithTaskCreationBlock:(DBURLSessionTaskCreationBlock)taskCreationBlock + taskDelegate:(DBDelegate *)taskDelegate + urlSession:(NSURLSession *)urlSession + tokenProvider:(id)tokenProvider { + self = [super init]; + if (self) { + _taskCreationBlock = taskCreationBlock; + _taskDelegate = taskDelegate; + _session = urlSession; + _tokenProvider = tokenProvider; + dispatch_queue_attr_t qosAttribute = + dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INITIATED, 0); + _serialQueue = + dispatch_queue_create("com.dropbox.dropbox_sdk_obj_c.DBURLSessionTaskWithTokenRefresh.queue", qosAttribute); + } + return self; +} + +- (id)duplicate { + return [[DBURLSessionTaskWithTokenRefresh alloc] initWithTaskCreationBlock:_taskCreationBlock + taskDelegate:_taskDelegate + urlSession:_session + tokenProvider:_tokenProvider]; +} + +- (void)cancel { + dispatch_async(_serialQueue, ^{ + self->_cancelled = YES; + [self->_sessionTask cancel]; + }); +} + +- (void)suspend { + dispatch_async(_serialQueue, ^{ + self->_suspended = YES; + [self->_sessionTask suspend]; + }); +} + +- (void)resume { + dispatch_async(_serialQueue, ^{ + if (self->_started) { + [self->_sessionTask resume]; + } else { + self->_started = YES; + [self db_start]; + } + }); +} + +- (void)setProgressBlock:(DBProgressBlock)progressBlock queue:(NSOperationQueue *)queue { + dispatch_async(_serialQueue, ^{ + self->_progressBlock = progressBlock; + self->_progressQueue = queue; + [self db_setProgressHandlerIfNecessary]; + }); +} + +- (void)setResponseBlock:(DBURLSessionTaskResponseBlockWrapper *)responseBlockWrapper queue:(NSOperationQueue *)queue { + dispatch_async(_serialQueue, ^{ + self->_responseBlockWrapper = responseBlockWrapper; + self->_responseQueue = queue; + [self db_setResponseHandlerIfNecessary]; + }); +} + +#pragma mark Private helpers + +- (void)db_start { + DBOAuthCompletion completion = ^(DBOAuthResult *result) { + dispatch_async(self->_serialQueue, ^{ + [self db_handleTokenRefreshResult:result]; + }); + }; + + if (_tokenProvider) { + [_tokenProvider refreshAccessTokenIfNecessary:completion]; + } else { + completion(nil); + } +} + +- (void)db_handleTokenRefreshResult:(DBOAuthResult *)result { + if ([result isError] && result.errorType != DBAuthInvalidGrant) { + // Refresh failed, due to an error that's not invalid grant, e.g. A refresh request timed out. + // Complete request with error immediately, so developers could retry and get access token refreshed. + // Otherwise, the API request may proceed with an expired access token which would lead to + // a false positive auth error. + [self db_completeWithError:result.nsError]; + } else { + // Refresh succeeded or a refresh is not required, i.e. access token is valid, continue request normally. + // Or + // Refresh failed due to invalid grant, e.g. refresh token revoked by user. + // Continue, and the API call would failed with an auth error that developers can handle properly. + // e.g. Sign out the user upon auth error. + [self db_initializeSessionTask]; + } +} + +- (void)db_initializeSessionTask { + _sessionTask = _taskCreationBlock(); + [self db_setProgressHandlerIfNecessary]; + [self db_setResponseHandlerIfNecessary]; + if (_cancelled) { + [_sessionTask cancel]; + } else if (_suspended) { + [_sessionTask suspend]; + } else if (_started) { + [_sessionTask resume]; + } +} + +- (void)db_setProgressHandlerIfNecessary { + if (_sessionTask && _progressBlock) { + [_taskDelegate addProgressHandlerForTaskWithIdentifier:_sessionTask.taskIdentifier + session:_session + progressHandler:_progressBlock + progressHandlerQueue:_progressQueue]; + } +} + +- (void)db_setResponseHandlerIfNecessary { + if (_sessionTask == nil || _responseBlockWrapper == nil) { + return; + } + + if (_responseBlockWrapper.rpcResponseBlock) { + [_taskDelegate addRpcResponseHandlerForTaskWithIdentifier:_sessionTask.taskIdentifier + session:_session + responseHandler:_responseBlockWrapper.rpcResponseBlock + responseHandlerQueue:_responseQueue]; + } else if (_responseBlockWrapper.uploadResponseBlock) { + [_taskDelegate addUploadResponseHandlerForTaskWithIdentifier:_sessionTask.taskIdentifier + session:_session + responseHandler:_responseBlockWrapper.uploadResponseBlock + responseHandlerQueue:_responseQueue]; + } else if (_responseBlockWrapper.downloadResponseBlock) { + [_taskDelegate addDownloadResponseHandlerForTaskWithIdentifier:_sessionTask.taskIdentifier + session:_session + responseHandler:_responseBlockWrapper.downloadResponseBlock + responseHandlerQueue:_responseQueue]; + } +} + +- (void)db_completeWithError:(NSError *)error { + NSOperationQueue *queue = _responseQueue ?: [NSOperationQueue mainQueue]; + DBURLSessionTaskResponseBlockWrapper *blockWrapper = _responseBlockWrapper; + [queue addOperationWithBlock:^{ + if (blockWrapper.rpcResponseBlock) { + blockWrapper.rpcResponseBlock(nil, nil, error); + } else if (blockWrapper.uploadResponseBlock) { + blockWrapper.uploadResponseBlock(nil, nil, error); + } else if (blockWrapper.downloadResponseBlock) { + blockWrapper.downloadResponseBlock(nil, nil, error); + } + }]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessToken+NSSecureCoding.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessToken+NSSecureCoding.m new file mode 100644 index 000000000..5897528b0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessToken+NSSecureCoding.m @@ -0,0 +1,33 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBAccessToken+NSSecureCoding.h" +#import "DBOAuthManager.h" + +@implementation DBAccessToken (NSSecureCoding) + ++ (DBAccessToken *)createTokenFromData:(NSData *)data { + DBAccessToken *token = nil; + if (@available(iOS 11.0, macOS 10.13, *)) { + token = [NSKeyedUnarchiver unarchivedObjectOfClass:[DBAccessToken class] fromData:data error:NULL]; + } else { + id object = [NSKeyedUnarchiver unarchiveObjectWithData:data]; + if ([object isKindOfClass:[DBAccessToken class]]) { + token = object; + } + } + return token; +} + ++ (NSData *)covertTokenToData:(DBAccessToken *)token { + NSData *data = nil; + if (@available(iOS 11.0, macOS 10.13, *)) { + data = [NSKeyedArchiver archivedDataWithRootObject:token requiringSecureCoding:YES error:NULL]; + } else { + data = [NSKeyedArchiver archivedDataWithRootObject:token]; + } + return data; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProvider.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProvider.h new file mode 100644 index 000000000..7534baf14 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProvider.h @@ -0,0 +1,21 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthResultCompletion.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Protocol for objects that provide an access token and offer a way to refresh (short-lived) token. +@protocol DBAccessTokenProvider + +/// Returns an access token for making user auth API calls. +@property (nonatomic, readonly) NSString *accessToken; + +/// This refreshes the access token if it's expired or about to expire. +/// The refresh result will be passed back via the completion block. +- (void)refreshAccessTokenIfNecessary:(DBOAuthCompletion)completion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProviderImpl.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProviderImpl.m new file mode 100644 index 000000000..38caf3fd1 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBAccessTokenProviderImpl.m @@ -0,0 +1,110 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBAccessTokenProvider+Internal.h" + +#import "DBOAuthResult.h" + +@implementation DBLongLivedAccessTokenProvider + +@synthesize accessToken = _accessToken; + +- (instancetype)initWithTokenString:(NSString *)tokenString { + self = [super init]; + if (self) { + _accessToken = tokenString; + } + return self; +} + +- (void)refreshAccessTokenIfNecessary:(DBOAuthCompletion)completion { + // Complete with empty result, because it doesn't need a refresh. + completion(nil); +} + +@end + +@interface DBShortLivedAccessTokenProvider () + +@property (nonatomic, strong) DBAccessToken *token; +@property (nonatomic, strong) id tokenRefresher; +@property (nonatomic, strong) dispatch_queue_t queue; +@property (nonatomic, strong) NSMutableArray *completionBlocks; + +@end + +@implementation DBShortLivedAccessTokenProvider + +- (instancetype)initWithToken:(DBAccessToken *)token tokenRefresher:(id)tokenRefresher { + self = [super init]; + if (self) { + _token = token; + _tokenRefresher = tokenRefresher; + dispatch_queue_attr_t qosAttribute = + dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_CONCURRENT, QOS_CLASS_USER_INITIATED, 0); + _queue = dispatch_queue_create("com.dropbox.dropbox_sdk_obj_c.DBShortLivedAccessTokenProvider.queue", qosAttribute); + _completionBlocks = [NSMutableArray new]; + } + return self; +} + +- (NSString *)accessToken { + __block NSString *tokenString = nil; + dispatch_sync(_queue, ^{ + tokenString = _token.accessToken; + }); + return tokenString; +} + +- (void)refreshAccessTokenIfNecessary:(DBOAuthCompletion)completion { + dispatch_barrier_async(_queue, ^{ + if (![self db_shouldRefresh]) { + completion(nil); + return; + } + + // Ensure subsequent calls don't initiate more refresh requests, if one is in progress. + BOOL refreshInProgress = [self db_refreshInProgress]; + [self->_completionBlocks addObject:completion]; + if (!refreshInProgress) { + __weak typeof(self) weakSelf = self; + [self->_tokenRefresher refreshAccessToken:self->_token + scopes:@[] + queue:nil + completion:^(DBOAuthResult *result) { + [weakSelf db_handleRefreshResult:result]; + }]; + } + }); +} + +/// Refresh if it's about to expire (5 minutes from expiration) or already expired. +- (BOOL)db_shouldRefresh { + NSTimeInterval expirationTimestamp = _token.tokenExpirationTimestamp; + if (expirationTimestamp == 0) { + return NO; + } + + NSDate *fiveMinutesBeforeExpire = [NSDate dateWithTimeIntervalSince1970:expirationTimestamp - 300]; + BOOL dateHasPassed = fiveMinutesBeforeExpire.timeIntervalSinceNow < 0; + return dateHasPassed; +} + +- (BOOL)db_refreshInProgress { + return _completionBlocks.count > 0; +} + +- (void)db_handleRefreshResult:(DBOAuthResult *)result { + dispatch_barrier_async(_queue, ^{ + if ([result isSuccess] && result.accessToken) { + self->_token = result.accessToken; + } + for (DBOAuthCompletion block in self->_completionBlocks) { + block(result); + } + [self->_completionBlocks removeAllObjects]; + }); +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBLoadingStatusDelegate.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBLoadingStatusDelegate.h new file mode 100644 index 000000000..4f2ebea1b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBLoadingStatusDelegate.h @@ -0,0 +1,21 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// Protocol for handling loading status during auth flow. +/// Implementing class could show custom UX to reflect loading status. +@protocol DBLoadingStatusDelegate + +/// Called when auth flow is loading/waiting for some data. e.g. Waiting for a network request to finish. +- (void)showLoading; + +/// Called when auth flow finishes loading/waiting. e.g. A network request finished. +- (void)dismissLoading; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthConstants.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthConstants.m new file mode 100644 index 000000000..2c2cd5a94 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthConstants.m @@ -0,0 +1,20 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthConstants.h" + +NSString *const kDBCodeChallengeKey = @"code_challenge"; +NSString *const kDBCodeChallengeMethodKey = @"code_challenge_method"; +NSString *const kDBTokenAccessTypeKey = @"token_access_type"; +NSString *const kDBResponseTypeKey = @"response_type"; +NSString *const kDBScopeKey = @"scope"; +NSString *const kDBIncludeGrantedScopesKey = @"include_granted_scopes"; +NSString *const kDBStateKey = @"state"; +NSString *const kDBExtraQueryParamsKey = @"extra_query_params"; +NSString *const kDBOauthCodeKey = @"oauth_code"; +NSString *const kDBOauthTokenKey = @"oauth_token"; +NSString *const kDBOauthSecretKey = @"oauth_token_secret"; +NSString *const kDBUidKey = @"uid"; +NSString *const kDBErrorKey = @"error"; +NSString *const kDBErrorDescriptionKey = @"error_description"; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.h index 63282452d..bb7759fa3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.h @@ -2,10 +2,13 @@ /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// +#import "DBOAuthResultCompletion.h" #import @class DBAccessToken; +@class DBOAuthPKCESession; @class DBOAuthResult; +@class DBScopeRequest; @protocol DBSharedApplication; NS_ASSUME_NONNULL_BEGIN @@ -17,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN /// /// Stores a unique identifying key for storing in `DBKeychain`. /// -@interface DBAccessToken : NSObject +@interface DBAccessToken : NSObject /// The OAuth2 access token. @property (nonatomic, readonly, copy) NSString *accessToken; @@ -26,15 +29,69 @@ NS_ASSUME_NONNULL_BEGIN /// the `team_id` if (team app). @property (nonatomic, readonly, copy) NSString *uid; +/// The refresh token if accessToken is short-lived. +@property (nonatomic, readonly, copy, nullable) NSString *refreshToken; + +/// The expiration time of the (short-lived) accessToken. +@property (nonatomic, readonly, assign) NSTimeInterval tokenExpirationTimestamp; + +/// Creates a `DBAccessToken` object for a long-lived access token. +/// +/// @param accessToken The OAuth2 access token retrieved from the auth flow. +/// @param uid The unique identifier used to store in `DBKeychain`. +/// +/// @return A `DBAccessToken` object. ++ (DBAccessToken *)createWithLongLivedAccessToken:(NSString *)accessToken uid:(NSString *)uid; + +/// Creates a `DBAccessToken` object for a short-lived access token. +/// +/// @param accessToken The OAuth2 access token retrieved from the auth flow. +/// @param uid The unique identifier used to store in `DBKeychain`. +/// @param refreshToken The refresh token if accessToken is short-lived. +/// @param tokenExpirationTimestamp The expiration time of the (short-lived) accessToken. +/// +/// @return A `DBAccessToken` object. ++ (DBAccessToken *)createWithShortLivedAccessToken:(NSString *)accessToken + uid:(NSString *)uid + refreshToken:(nullable NSString *)refreshToken + tokenExpirationTimestamp:(NSTimeInterval)tokenExpirationTimestamp; + +/// Convenience method for initWithAccessToken:uid:refreshToken:tokenExpirationTimestamp: with +/// refreshToken set to nil and tokenExpirationTimestamp set to 0. +- (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid; + /// /// DBAccessToken full constructor. /// /// @param accessToken The OAuth2 access token retrieved from the auth flow. /// @param uid The unique identifier used to store in `DBKeychain`. +/// @param refreshToken The refresh token if accessToken is short-lived. +/// @param tokenExpirationTimestamp The expiration time of the (short-lived) accessToken. /// /// @return An initialized instance. /// -- (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid; +- (instancetype)initWithAccessToken:(NSString *)accessToken + uid:(NSString *)uid + refreshToken:(nullable NSString *)refreshToken + tokenExpirationTimestamp:(NSTimeInterval)tokenExpirationTimestamp; + +@end + +@protocol DBAccessTokenRefreshing + +/// Refreshes a (short-lived) access token for a given DBAccessToken. +/// +/// @param accessToken A `DBAccessToken` object. +/// @param scopes An array of scopes to be granted for the refreshed access token. +/// The requested scope MUST NOT include any scope not originally granted. +/// Useful if users want to reduce the granted scopes for the new access token. +/// Pass in an empty array if you don't want to change scopes of the access token. +/// @param queue The queue where completion block will be called from. +/// @param completion A `DBOAuthCompletion` block to notify caller the result. +- (void)refreshAccessToken:(DBAccessToken *)accessToken + scopes:(NSArray *)scopes + queue:(nullable dispatch_queue_t)queue + completion:(nullable DBOAuthCompletion)completion; @end @@ -46,13 +103,14 @@ NS_ASSUME_NONNULL_BEGIN /// @note OAuth flow webviews localize to environment locale. /// /// -@interface DBOAuthManager : NSObject { +@interface DBOAuthManager : NSObject { @protected NSString *_appKey; NSURL *_redirectURL; NSURL *_cancelURL; NSString *_host; NSMutableArray *_urls; + DBOAuthPKCESession *_authSession; } /// Sets the locale of the OAuth flow webpages. If `nil`, then defaults to device locale. @@ -124,14 +182,29 @@ NS_ASSUME_NONNULL_BEGIN /// - (void)authorizeFromSharedApplication:(id)sharedApplication; +/// +/// Commences the authorization flow (platform-neutral). +/// +/// Interfaces with platform-specific rendering logic via the `DBSharedApplication` protocol. +/// +/// @param sharedApplication A platform-neutral shared application abstraction for rendering auth flow. +/// @param usePkce Whether to use OAuth2 code flow with PKCE. +/// @param scopeRequest The ScopeRequest, only used in code flow with PKCE. +/// +- (void)authorizeFromSharedApplication:(id)sharedApplication + usePkce:(BOOL)usePkce + scopeRequest:(nullable DBScopeRequest *)scopeRequest; + /// /// Handles a redirect back into the application (from whichever auth flow was being used). /// /// @param url The redirect URL to attempt to handle. +/// @param completion Completion block for oauth result, called with `nil` if SDK cannot handle the redirect URL, +/// otherwise an instance of `DBOAuthResult`. /// -/// @return `nil` if SDK cannot handle the redirect URL, otherwise returns an instance of `DBOAuthResult`. +/// @return Whether the URL can be handled. /// -- (nullable DBOAuthResult *)handleRedirectURL:(NSURL *)url; +- (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion; #pragma mark - Keychain methods @@ -202,6 +275,16 @@ NS_ASSUME_NONNULL_BEGIN /// apps. @property (nonatomic, assign) BOOL disableSignup; +/// +/// When YES, users who use the web auth flow (NOT dbapp delegated auth) will be forced to sign in from scratch. +/// When NO, there is saved session data from the SafariViewController that can be used across signin attempts. +/// This is intended for use with multi-account applications for App Store compliance, since +/// adding a second account would shortcut the username/password entry page and use the first account's credentials. +/// +/// Default value is NO, which is consistent with historical behavior. +/// +@property (nonatomic, assign) BOOL webAuthShouldForceReauthentication; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.m index c5d4ea605..8eec06d62 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthManager.m @@ -3,33 +3,105 @@ /// #import "DBOAuthManager.h" + +#import "DBAccessTokenProvider+Internal.h" +#import "DBOAuthConstants.h" +#import "DBOAuthPKCESession.h" #import "DBOAuthResult.h" +#import "DBOAuthTokenRequest.h" +#import "DBOAuthUtils.h" #import "DBSDKConstants.h" #import "DBSDKKeychain.h" #import "DBSDKReachability.h" +#import "DBScopeRequest.h" #import "DBSharedApplicationProtocol.h" #pragma mark - Access token class @implementation DBAccessToken ++ (DBAccessToken *)createWithLongLivedAccessToken:(NSString *)accessToken uid:(NSString *)uid { + return [[DBAccessToken alloc] initWithAccessToken:accessToken uid:uid]; +} + ++ (DBAccessToken *)createWithShortLivedAccessToken:(NSString *)accessToken + uid:(NSString *)uid + refreshToken:(NSString *)refreshToken + tokenExpirationTimestamp:(NSTimeInterval)tokenExpirationTimestamp { + return [[DBAccessToken alloc] initWithAccessToken:accessToken + uid:uid + refreshToken:refreshToken + tokenExpirationTimestamp:tokenExpirationTimestamp]; +} + - (instancetype)initWithAccessToken:(NSString *)accessToken uid:(NSString *)uid { + return [self initWithAccessToken:accessToken uid:uid refreshToken:nil tokenExpirationTimestamp:0]; +} + +- (instancetype)initWithAccessToken:(NSString *)accessToken + uid:(NSString *)uid + refreshToken:(nullable NSString *)refreshToken + tokenExpirationTimestamp:(NSTimeInterval)tokenExpirationTimestamp { self = [super init]; if (self) { - _accessToken = accessToken; - _uid = uid; + _accessToken = [accessToken copy]; + _uid = [uid copy]; + _refreshToken = [refreshToken copy]; + _tokenExpirationTimestamp = tokenExpirationTimestamp; } return self; } +/// Indicates whether the access token is short-lived. +- (BOOL)isShortLivedToken { + return _refreshToken != nil && _tokenExpirationTimestamp > 0; +} + - (NSString *)description { return _accessToken; } +#pragma mark NSSecureCoding + ++ (BOOL)supportsSecureCoding { + return YES; +} + +- (instancetype)initWithCoder:(NSCoder *)coder { + NSString *uid = [coder decodeObjectOfClass:NSString.class forKey:NSStringFromSelector(@selector(uid))]; + NSString *accessToken = + [coder decodeObjectOfClass:NSString.class forKey:NSStringFromSelector(@selector(accessToken))]; + NSString *refreshToken = + [coder decodeObjectOfClass:NSString.class forKey:NSStringFromSelector(@selector(refreshToken))]; + NSTimeInterval tokenExpirationTimestamp = + [coder decodeDoubleForKey:NSStringFromSelector(@selector(tokenExpirationTimestamp))]; + if (accessToken == nil || uid == nil) { + return nil; + } else { + return [self initWithAccessToken:accessToken + uid:uid + refreshToken:refreshToken + tokenExpirationTimestamp:tokenExpirationTimestamp]; + } +} + +- (void)encodeWithCoder:(NSCoder *)coder { + [coder encodeObject:_uid forKey:NSStringFromSelector(@selector(uid))]; + [coder encodeObject:_accessToken forKey:NSStringFromSelector(@selector(accessToken))]; + [coder encodeObject:_refreshToken forKey:NSStringFromSelector(@selector(refreshToken))]; + [coder encodeDouble:_tokenExpirationTimestamp forKey:NSStringFromSelector(@selector(tokenExpirationTimestamp))]; +} + @end #pragma mark - OAuth manager base +@interface DBOAuthManager () + +@property (nonatomic, readwrite, weak) id sharedApplication; + +@end + @implementation DBOAuthManager /// A shared instance of a `DBOAuthManager` for convenience @@ -59,8 +131,7 @@ - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host redirect self = [super init]; if (self) { if (host == nil) { - host = - !kSDKDebug ? @"www.dropbox.com" : [NSString stringWithFormat:@"meta-%@.dev.corp.dropbox.com", kSDKDebugHost]; + host = @"www.dropbox.com"; } _appKey = appKey; @@ -68,38 +139,48 @@ - (instancetype)initWithAppKey:(NSString *)appKey host:(NSString *)host redirect _cancelURL = [NSURL URLWithString:[NSString stringWithFormat:@"db-%@://2/cancel", _appKey]]; _host = host; _urls = [NSMutableArray arrayWithObjects:_redirectURL, nil]; -#ifdef TARGET_OS_X +#if TARGET_OS_OSX _disableSignup = NO; #else _disableSignup = YES; #endif + _webAuthShouldForceReauthentication = NO; } return self; } #pragma mark - Auth flow methods -- (DBOAuthResult *)handleRedirectURL:(NSURL *)url { +- (BOOL)handleRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion { // check if url is a cancel url if (([[url host] isEqualToString:@"1"] && [[url path] isEqualToString:@"/cancel"]) || ([[url host] isEqualToString:@"2"] && [[url path] isEqualToString:@"/cancel"])) { - return [[DBOAuthResult alloc] initWithCancel]; + completion([[DBOAuthResult alloc] initWithCancel]); + return YES; } - if (![self canHandleURL:url]) { - return nil; - } - - DBOAuthResult *result = [self extractFromUrl:url]; - - if ([result isSuccess]) { - [DBSDKKeychain storeValueWithKey:result.accessToken.uid value:result.accessToken.accessToken]; + if ([self canHandleURL:url]) { + [self extractFromUrl:url + completion:^(DBOAuthResult *result) { + if ([result isSuccess]) { + [self storeAccessToken:result.accessToken]; + } + completion(result); + }]; + return YES; + } else { + completion(nil); + return NO; } - - return result; } - (void)authorizeFromSharedApplication:(id)sharedApplication { + [self authorizeFromSharedApplication:sharedApplication usePkce:NO scopeRequest:nil]; +} + +- (void)authorizeFromSharedApplication:(id)sharedApplication + usePkce:(BOOL)usePkce + scopeRequest:(DBScopeRequest *)scopeRequest { void (^cancelHandler)(void) = ^{ [sharedApplication presentExternalApp:self->_cancelURL]; }; @@ -115,7 +196,7 @@ - (void)authorizeFromSharedApplication:(id)sharedApplicatio cancelHandler(); }, @"Retry" : ^{ - [self authorizeFromSharedApplication:sharedApplication]; + [self authorizeFromSharedApplication:sharedApplication usePkce:usePkce scopeRequest:scopeRequest]; } }; @@ -137,6 +218,13 @@ - (void)authorizeFromSharedApplication:(id)sharedApplicatio return; } + if (usePkce) { + _authSession = [[DBOAuthPKCESession alloc] initWithScopeRequest:scopeRequest]; + } else { + _authSession = nil; + } + _sharedApplication = sharedApplication; + NSURL *authUrl = [self authURL]; if ([self checkAndPresentPlatformSpecificAuth:sharedApplication]) { @@ -168,21 +256,31 @@ - (NSURL *)authURL { components.host = _host; components.path = @"/oauth2/authorize"; - NSString *localeIdentifier = [[NSBundle mainBundle] preferredLocalizations].firstObject ?: @"en"; - + NSMutableArray *queryItems = [@[ + [NSURLQueryItem queryItemWithName:@"client_id" value:_appKey], + [NSURLQueryItem queryItemWithName:@"redirect_uri" value:_redirectURL.absoluteString], + [NSURLQueryItem queryItemWithName:@"disable_signup" value:_disableSignup ? @"true" : @"false"], + [NSURLQueryItem queryItemWithName:@"locale" value:[self db_localeIdentifier]], + ] mutableCopy]; + + if (_authSession) { + // Code flow + [queryItems addObjectsFromArray:[DBOAuthUtils createPkceCodeFlowParamsForAuthSession:_authSession]]; + } else { + // Token flow + [queryItems addObject:[NSURLQueryItem queryItemWithName:@"response_type" value:@"token"]]; + } // used to prevent malicious impersonation of app from web browser NSString *state = [[NSProcessInfo processInfo] globallyUniqueString]; - [[NSUserDefaults standardUserDefaults] setValue:state forKey:kCSERFKey]; - - components.queryItems = @[ - [NSURLQueryItem queryItemWithName:@"response_type" value:@"token"], - [NSURLQueryItem queryItemWithName:@"client_id" value:_appKey], - [NSURLQueryItem queryItemWithName:@"redirect_uri" value:[_redirectURL absoluteString]], - [NSURLQueryItem queryItemWithName:@"disable_signup" value:self.disableSignup ? @"true" : @"false"], - [NSURLQueryItem queryItemWithName:@"locale" value:[self.locale localeIdentifier] ?: localeIdentifier], - [NSURLQueryItem queryItemWithName:@"state" value:state], - ]; - return components.URL; + [queryItems addObject:[NSURLQueryItem queryItemWithName:kDBStateKey value:state]]; + [[NSUserDefaults standardUserDefaults] setValue:state forKey:kDBSDKCSRFKey]; + + [queryItems addObject:[NSURLQueryItem queryItemWithName:@"force_reauthentication" + value:_webAuthShouldForceReauthentication ? @"true" : @"false"]]; + components.queryItems = queryItems; + NSURL *url = components.URL; + NSAssert(url, @"Failed to create auth url."); + return url; } - (BOOL)canHandleURL:(NSURL *)url { @@ -195,44 +293,104 @@ - (BOOL)canHandleURL:(NSURL *)url { return NO; } -- (DBOAuthResult *)extractFromRedirectURL:(NSURL *)url { - NSMutableDictionary *results = [[NSMutableDictionary alloc] init]; - NSArray *pairs = [[url fragment] componentsSeparatedByString:@"&"] ?: @[]; - - for (NSString *pair in pairs) { - NSArray *kv = [pair componentsSeparatedByString:@"="]; - [results setObject:[kv objectAtIndex:1] forKey:[kv objectAtIndex:0]]; +/// Handles redirect URL from web. +/// +/// Auth results are passed back in URL query parameters. +/// +/// Error result parameters looks like this: +/// @code +/// [ +/// "error": "", +/// "error_description: "" +/// ] +/// @endcode +/// +/// Success result looks like these: +/// +/// 1. Code flow result +/// @code +/// [ +/// "state": "", +/// "code": "" +/// ] +/// @endcode +/// 2. Token flow result +/// @code +/// [ +/// "state": "", +/// "access_token": "", +/// "uid": "" +/// ] +/// @endcode +- (void)extractAuthResultFromRedirectURL:(NSURL *)url completion:(DBOAuthCompletion)completion { + NSDictionary *parametersMap = nil; + BOOL isInOAuthCodeFlow = _authSession != nil; + if (isInOAuthCodeFlow) { + parametersMap = [DBOAuthUtils extractOAuthResponseFromCodeFlowUrl:url]; + } else { + parametersMap = [DBOAuthUtils extractOAuthResponseFromTokenFlowUrl:url]; } - - if (results[@"error"]) { - NSString *desc = [[results[@"error_description"] stringByReplacingOccurrencesOfString:@"+" withString:@" "] - stringByRemovingPercentEncoding] - ?: @""; - - if ([results[@"error"] isEqualToString:@"access_denied"]) { - return [[DBOAuthResult alloc] initWithCancel]; + if (parametersMap[kDBErrorKey]) { + // Error case + DBOAuthResult *result = [[DBOAuthResult alloc] initWithError:parametersMap[kDBErrorKey] + errorDescription:parametersMap[kDBErrorDescriptionKey]]; + if (result.errorType == DBAuthAccessDenied) { + // DBAuthAccessDenied happens when user taps on the "Cancel" button on web. + result = [[DBOAuthResult alloc] initWithCancel]; } - return [[DBOAuthResult alloc] initWithError:results[@"error"] errorDescription:desc]; + completion(result); } else { - NSString *state = results[@"state"]; - NSString *storedState = [[NSUserDefaults standardUserDefaults] stringForKey:kCSERFKey]; + // Success case + NSString *state = parametersMap[kDBStateKey]; + NSString *storedState = [[NSUserDefaults standardUserDefaults] stringForKey:kDBSDKCSRFKey]; + // State from redirect URL should be non-nil and match stored state. if (state == nil || storedState == nil || ![state isEqualToString:storedState]) { - return [[DBOAuthResult alloc] initWithError:@"inconsistent_state" - errorDescription:@"Auth flow failed because of inconsistent state."]; + DBOAuthResult *result = [[DBOAuthResult alloc] initWithError:@"inconsistent_state" + errorDescription:@"Auth flow failed because of inconsistent state."]; + completion(result); } else { // reset upon success - [[NSUserDefaults standardUserDefaults] setValue:nil forKey:kCSERFKey]; + [[NSUserDefaults standardUserDefaults] setValue:nil forKey:kDBSDKCSRFKey]; + + if (_authSession && parametersMap[@"code"]) { + // Code flow + [self finishPkceOAuthWithAuthCode:parametersMap[@"code"] + codeVerifier:_authSession.pkceData.codeVerifier + completion:completion]; + } else if (parametersMap[kDBUidKey] && parametersMap[@"access_token"]) { + // Token flow + NSString *uid = parametersMap[kDBUidKey]; + DBAccessToken *accessToken = + [DBAccessToken createWithLongLivedAccessToken:parametersMap[@"access_token"] uid:uid]; + completion([[DBOAuthResult alloc] initWithSuccess:accessToken]); + } else { + completion([DBOAuthResult unknownErrorWithErrorDescription:@"Invalid response."]); + } } - - NSString *uid = results[@"uid"]; - DBAccessToken *accessToken = [[DBAccessToken alloc] initWithAccessToken:results[@"access_token"] uid:uid]; - return [[DBOAuthResult alloc] initWithSuccess:accessToken]; } } -- (DBOAuthResult *)extractFromUrl:(NSURL *)url { - return [self extractFromRedirectURL:url]; +- (void)extractFromUrl:(NSURL *)url completion:(DBOAuthCompletion)completion { + [self extractAuthResultFromRedirectURL:url completion:completion]; +} + +- (void)finishPkceOAuthWithAuthCode:(NSString *)authCode + codeVerifier:(NSString *)codeVerifier + completion:(DBOAuthCompletion)completion { + [_sharedApplication presentLoading]; + DBOAuthTokenExchangeRequest *request = + [[DBOAuthTokenExchangeRequest alloc] initWithOAuthCode:authCode + codeVerifier:codeVerifier + appKey:_appKey + locale:[self db_localeIdentifier] + redirectUri:_redirectURL.absoluteString]; + __weak id sharedApplication = _sharedApplication; + DBOAuthCompletion wrappedCompletion = ^(DBOAuthResult *result) { + [sharedApplication dismissLoading]; + completion(result); + }; + [request startWithCompletion:wrappedCompletion queue:dispatch_get_main_queue()]; } - (BOOL)checkAndPresentPlatformSpecificAuth:(id)sharedApplication { @@ -240,10 +398,49 @@ - (BOOL)checkAndPresentPlatformSpecificAuth:(id)sharedAppli return NO; } +- (NSString *)db_localeIdentifier { + return [_locale localeIdentifier] ?: ([[NSBundle mainBundle] preferredLocalizations].firstObject ?: @"en"); +} + +#pragma mark - Short-lived token support. + +- (void)refreshAccessToken:(DBAccessToken *)accessToken + scopes:(NSArray *)scopes + queue:(dispatch_queue_t)queue + completion:(DBOAuthCompletion)completion { + NSString *refreshToken = accessToken.refreshToken; + if (!refreshToken) { + completion([DBOAuthResult unknownErrorWithErrorDescription:@"Long-lived token can't be refreshed."]); + return; + } + + DBOAuthTokenRefreshRequest *request = [[DBOAuthTokenRefreshRequest alloc] initWithUid:accessToken.uid + refreshToken:refreshToken + scopes:scopes + appKey:_appKey + locale:[self db_localeIdentifier]]; + __weak typeof(self) weakSelf = self; + DBOAuthCompletion wrappedCompletion = ^(DBOAuthResult *result) { + if ([result isSuccess] && result.accessToken) { + [weakSelf storeAccessToken:result.accessToken]; + } + completion(result); + }; + [request startWithCompletion:wrappedCompletion queue:queue ?: dispatch_get_main_queue()]; +} + +- (id)accessTokenProviderForToken:(DBAccessToken *)token { + if ([token isShortLivedToken]) { + return [[DBShortLivedAccessTokenProvider alloc] initWithToken:token tokenRefresher:self]; + } else { + return [[DBLongLivedAccessTokenProvider alloc] initWithTokenString:token.accessToken]; + } +} + #pragma mark - Keychain methods - (BOOL)storeAccessToken:(DBAccessToken *)accessToken { - return [DBSDKKeychain storeValueWithKey:accessToken.uid value:accessToken.accessToken]; + return [DBSDKKeychain storeAccessToken:accessToken]; } - (DBAccessToken *)retrieveFirstAccessToken { @@ -256,21 +453,16 @@ - (DBAccessToken *)retrieveFirstAccessToken { } - (DBAccessToken *)retrieveAccessToken:(NSString *)tokenUid { - NSString *accessToken = [DBSDKKeychain retrieveTokenWithKey:tokenUid]; - if (accessToken != nil) { - return [[DBAccessToken alloc] initWithAccessToken:accessToken uid:tokenUid]; - } else { - return nil; - } + return [DBSDKKeychain retrieveTokenWithUid:tokenUid]; } - (NSDictionary *)retrieveAllAccessTokens { - NSArray *users = [DBSDKKeychain retrieveAllTokenIds]; + NSArray *userIds = [DBSDKKeychain retrieveAllTokenIds]; NSMutableDictionary *result = [[NSMutableDictionary alloc] init]; - for (NSString *user in users) { - NSString *accessToken = [DBSDKKeychain retrieveTokenWithKey:user]; - if (accessToken != nil) { - result[user] = [[DBAccessToken alloc] initWithAccessToken:accessToken uid:user]; + for (NSString *userId in userIds) { + DBAccessToken *token = [DBSDKKeychain retrieveTokenWithUid:userId]; + if (token) { + result[userId] = token; } } return result; @@ -281,7 +473,7 @@ - (BOOL)hasStoredAccessTokens { } - (BOOL)clearStoredAccessToken:(NSString *)tokenUid { - return [DBSDKKeychain deleteTokenWithKey:tokenUid]; + return [DBSDKKeychain deleteTokenWithUid:tokenUid]; } - (BOOL)clearStoredAccessTokens { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthPKCESession.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthPKCESession.m new file mode 100644 index 000000000..e3347fb8b --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthPKCESession.m @@ -0,0 +1,85 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthPKCESession.h" + +#import "DBScopeRequest+Protected.h" +#import + +@implementation DBPkceData + +- (instancetype)init { + self = [super init]; + if (self) { + _codeVerifier = [DBPkceData randomStringOfLength:128]; + _codeChallenge = [DBPkceData codeChallengeFromCodeVerifier:_codeVerifier]; + _codeChallengeMethod = @"S256"; + } + return self; +} + ++ (NSString *)randomStringOfLength:(NSUInteger)length { + static NSString *alphanumerics = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; + NSMutableString *randomString = [NSMutableString stringWithCapacity:length]; + for (NSUInteger i = 0; i < length; i++) { + [randomString + appendFormat:@"%c", [alphanumerics characterAtIndex:arc4random_uniform((uint32_t)alphanumerics.length)]]; + } + return randomString; +} + ++ (NSString *)codeChallengeFromCodeVerifier:(NSString *)codeVerifier { + // Creates code challenge according to [RFC7636 4.2] (https://tools.ietf.org/html/rfc7636#section-4.2) + // 1. Covert code verifier to ascii encoded string. + // 2. Compute the SHA256 hash of the ascii string. + // 3. Base64 encode the resulting hash. + // 4. Make the Base64 string URL safe by replacing a few characters. (https://tools.ietf.org/html/rfc4648#section-5) + const char *asciiString = [codeVerifier cStringUsingEncoding:NSASCIIStringEncoding]; + NSData *data = [NSData dataWithBytes:asciiString length:strlen(asciiString)]; + unsigned char digest[CC_SHA256_DIGEST_LENGTH] = {0}; + CC_SHA256(data.bytes, (CC_LONG)data.length, digest); + NSData *sha256Data = [NSData dataWithBytes:digest length:CC_SHA256_DIGEST_LENGTH]; + NSString *base64String = [sha256Data base64EncodedStringWithOptions:kNilOptions]; + base64String = [base64String stringByReplacingOccurrencesOfString:@"/" withString:@"_"]; + base64String = [base64String stringByReplacingOccurrencesOfString:@"+" withString:@"-"]; + base64String = [base64String stringByReplacingOccurrencesOfString:@"=" withString:@""]; + return base64String; +} + +@end + +@implementation DBOAuthPKCESession + +- (instancetype)initWithScopeRequest:(DBScopeRequest *)scopeRequest { + self = [super init]; + if (self) { + _scopeRequest = scopeRequest; + _pkceData = [[DBPkceData alloc] init]; + _tokenAccessType = @"offline"; + _responseType = @"code"; + _state = [DBOAuthPKCESession createStateWithPkceData:_pkceData + scopeRequest:scopeRequest + tokenAccessType:_tokenAccessType]; + } + return self; +} + ++ (NSString *)createStateWithPkceData:(DBPkceData *)pkceData + scopeRequest:(nullable DBScopeRequest *)scopeRequest + tokenAccessType:(NSString *)tokenAccessType { + NSMutableArray *state = + [@[ @"oauth2code", pkceData.codeChallenge, pkceData.codeChallengeMethod, tokenAccessType ] mutableCopy]; + if (scopeRequest) { + NSString *scopeString = [scopeRequest scopeString]; + if (scopeString) { + [state addObject:scopeString]; + } + if (scopeRequest.includeGrantedScopes) { + [state addObject:scopeRequest.scopeType]; + } + } + return [state componentsJoinedByString:@":"]; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.h index 0dcde0708..f7a09ead7 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.h @@ -5,6 +5,7 @@ #import @class DBAccessToken; +@class DBOAuthResult; NS_ASSUME_NONNULL_BEGIN @@ -28,6 +29,8 @@ typedef NS_ENUM(NSInteger, DBOAuthResultTag) { }; /// Represents the possible error types that can be returned from OAuth linking. +/// Includes errors from both Implicit Grant (See RFC6749 4.2.2.1) and Extension Grants (See RFC6749 5.2), +/// and a couple of SDK defined errors outside of OAuth2 specification. typedef NS_ENUM(NSInteger, DBOAuthErrorType) { /// The client is not authorized to request an access token using this method. DBAuthUnauthorizedClient, @@ -49,6 +52,23 @@ typedef NS_ENUM(NSInteger, DBOAuthErrorType) { /// of the server. DBAuthTemporarilyUnavailable, + /// The request is missing a required parameter, includes an unsupported parameter value (other than grant type), + /// repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the + /// client, or is otherwise malformed. + DBAuthInvalidRequest, + + /// Client authentication failed (e.g., unknown client, no client authentication included, or unsupported + /// authentication method). + DBAuthInvalidClient, + + /// The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is + /// invalid, expired, revoked, does not match the redirection URI used in the authorization request, + /// or was issued to another client. + DBAuthInvalidGrant, + + /// The authorization grant type is not supported by the authorization server. + DBAuthUnsupportedGrantType, + /// The state param received from the authorization server does not match the state param stored by the SDK. DBAuthInconsistentState, @@ -74,6 +94,10 @@ typedef NS_ENUM(NSInteger, DBOAuthErrorType) { /// @note Ensure the `isError` method returns true before accessing, otherwise a runtime exception will be raised. @property (nonatomic, readonly, copy) NSString *errorDescription; +/// The `NSError` form of the error result. +/// @note Ensure the `isError` method returns true before accessing, otherwise a runtime exception will be raised. +@property (nonatomic, readonly) NSError *nsError; + #pragma mark - Constructors /// @@ -94,7 +118,7 @@ typedef NS_ENUM(NSInteger, DBOAuthErrorType) { /// /// @return An initialized `DBOAuthResult` instance. /// -- (instancetype)initWithError:(NSString *)errorType errorDescription:(NSString *)errorDescription; +- (instancetype)initWithError:(NSString *)errorType errorDescription:(nullable NSString *)errorDescription; /// /// Initializes union class with tag state of "cancel". @@ -103,6 +127,15 @@ typedef NS_ENUM(NSInteger, DBOAuthErrorType) { /// - (instancetype)initWithCancel; +/// +/// Factory method to create union class with tag state of "error" and unknown error type. +/// +/// @param errorDescription A short description of the error that occured during the authorization flow. +/// +/// @return An initialized `DBOAuthResult` instance. +/// ++ (DBOAuthResult *)unknownErrorWithErrorDescription:(nullable NSString *)errorDescription; + #pragma mark - Tag state methods /// diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.m index 106e73840..7ff1d50a2 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResult.m @@ -11,24 +11,27 @@ @implementation DBOAuthResult @synthesize errorType = _errorType; @synthesize errorDescription = _errorDescription; -static NSDictionary *errorTypeLookup; - #pragma mark - Constructors -+ (DBOAuthErrorType)getErrorType:(NSString *)errorDescription { - if (!errorTypeLookup) { ++ (DBOAuthErrorType)getErrorType:(NSString *)errorType { + static NSDictionary *errorTypeLookup; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ errorTypeLookup = @{ - @"unauthorized_client" : [NSNumber numberWithInt:DBAuthUnauthorizedClient], - @"access_denied" : [NSNumber numberWithInt:DBAuthAccessDenied], - @"unsupported_response_type" : [NSNumber numberWithInt:DBAuthUnsupportedResponseType], - @"invalid_scope" : [NSNumber numberWithInt:DBAuthInvalidScope], - @"server_error" : [NSNumber numberWithInt:DBAuthServerError], - @"temporarily_unavailable" : [NSNumber numberWithInt:DBAuthTemporarilyUnavailable], - @"inconsistent_state" : [NSNumber numberWithInt:DBAuthInconsistentState], - @"" : [NSNumber numberWithInt:DBAuthUnknown], + @"unauthorized_client" : @(DBAuthUnauthorizedClient), + @"access_denied" : @(DBAuthAccessDenied), + @"unsupported_response_type" : @(DBAuthUnsupportedResponseType), + @"invalid_scope" : @(DBAuthInvalidScope), + @"server_error" : @(DBAuthServerError), + @"temporarily_unavailable" : @(DBAuthTemporarilyUnavailable), + @"invalid_request" : @(DBAuthInvalidRequest), + @"invalid_client" : @(DBAuthInvalidClient), + @"invalid_grant" : @(DBAuthInvalidGrant), + @"unsupported_grant_type" : @(DBAuthUnsupportedGrantType), + @"inconsistent_state" : @(DBAuthInconsistentState), }; - } - return (DBOAuthErrorType)[errorTypeLookup[errorDescription] intValue] ?: DBAuthUnknown; + }); + return (DBOAuthErrorType)[errorTypeLookup[errorType] intValue] ?: DBAuthUnknown; } - (instancetype)initWithSuccess:(DBAccessToken *)accessToken { @@ -41,10 +44,14 @@ - (instancetype)initWithSuccess:(DBAccessToken *)accessToken { } - (instancetype)initWithError:(NSString *)errorType errorDescription:(NSString *)errorDescription { + return [self initWithErrorType:[[self class] getErrorType:errorType] errorDescription:errorDescription]; +} + +- (instancetype)initWithErrorType:(DBOAuthErrorType)errorType errorDescription:(nullable NSString *)errorDescription { self = [super init]; if (self) { _tag = DBAuthError; - _errorType = [[self class] getErrorType:errorType]; + _errorType = errorType; _errorDescription = errorDescription; } return self; @@ -58,6 +65,10 @@ - (instancetype)initWithCancel { return self; } ++ (DBOAuthResult *)unknownErrorWithErrorDescription:(NSString *)errorDescription { + return [[DBOAuthResult alloc] initWithErrorType:DBAuthUnknown errorDescription:errorDescription]; +} + #pragma mark - Tag state methods - (BOOL)isSuccess { @@ -113,6 +124,14 @@ - (NSString *)errorDescription { return _errorDescription; } +- (NSError *)nsError { + if (_tag != DBAuthError) { + [NSException raise:@"IllegalStateException" + format:@"Invalid tag: required `DBAuthError`, but was %@.", [self tagName]]; + } + return [NSError errorWithDomain:@"com.dropbox.dropbox_sdk_obj_c.oauth.error" code:_errorType userInfo:nil]; +} + #pragma mark - Description method - (NSString *)description { diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResultCompletion.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResultCompletion.h new file mode 100644 index 000000000..9d898a368 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthResultCompletion.h @@ -0,0 +1,14 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +@class DBOAuthResult; + +NS_ASSUME_NONNULL_BEGIN + +/// Callback block for oauth result. +typedef void (^DBOAuthCompletion)(DBOAuthResult *_Nullable); + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthTokenRequest.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthTokenRequest.m new file mode 100644 index 000000000..f3149f378 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthTokenRequest.m @@ -0,0 +1,262 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthTokenRequest.h" + +#import "DBOAuthManager.h" +#import "DBOAuthResult.h" +#import "DBSDKConstants.h" +#import "DBTransportBaseConfig.h" +#import "DBTransportBaseHostnameConfig.h" + +#pragma mark - DBOAuthTokenRequest + +@interface DBOAuthTokenRequest () + +@property (nonatomic, strong) NSURLSessionDataTask *task; +@property (nonatomic, strong) DBOAuthTokenRequest *retainSelf; +@property (nonatomic, copy) DBOAuthCompletion completion; +@property (nonatomic, strong) dispatch_queue_t queue; + +@end + +@implementation DBOAuthTokenRequest + +- (instancetype)initWithAppKey:(NSString *)appKey + locale:(NSString *)locale + params:(NSDictionary *)params { + self = [super init]; + if (self) { + _task = [self db_createTokenRequestTaskWithParams:params appKey:appKey locale:locale]; + } + return self; +} + +- (void)startWithCompletion:(DBOAuthCompletion)completion { + [self startWithCompletion:completion queue:dispatch_get_main_queue()]; +} + +- (void)startWithCompletion:(DBOAuthCompletion)completion queue:(dispatch_queue_t)queue { +#pragma unused(queue) + _retainSelf = self; + _completion = [completion copy]; + _queue = nil; + [_task resume]; +} + +- (void)cancel { + [_task cancel]; + _retainSelf = nil; +} + +- (NSURLSessionDataTask *)db_createTokenRequestTaskWithParams:(NSDictionary *)params + appKey:(NSString *)appKey + locale:(NSString *)locale { + NSURLComponents *urlComponents = [NSURLComponents new]; + urlComponents.scheme = @"https"; + urlComponents.host = [[DBTransportBaseHostnameConfig alloc] init].api; + urlComponents.path = @"/oauth2/token"; + NSURL *url = urlComponents.URL; + NSAssert(url, @"Unable to create oauth2/token url"); + + NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url]; + NSMutableDictionary *allParams = [params mutableCopy]; + [allParams addEntriesFromDictionary:@{@"locale" : locale, @"client_id" : appKey}]; + NSMutableArray *paramsArray = [NSMutableArray new]; + for (NSString *key in allParams.allKeys) { + [paramsArray addObject:[NSString stringWithFormat:@"%@=%@", key, allParams[key]]]; + } + NSString *paramsString = [paramsArray componentsJoinedByString:@"&"]; + NSData *paramsData = [paramsString dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:NO]; + + request.HTTPMethod = @"POST"; + request.HTTPBody = paramsData; + [request addValue:[DBTransportBaseConfig defaultUserAgent] forHTTPHeaderField:@"User-Agent"]; + [request addValue:@"application/x-www-form-urlencoded; charset=utf-8" forHTTPHeaderField:@"Content-Type"]; + + __weak typeof(self) weakSelf = self; + return [[NSURLSession sharedSession] dataTaskWithRequest:request + completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) { + [weakSelf db_handleResponse:response data:data error:error]; + }]; + + return [[NSURLSession sharedSession] dataTaskWithRequest:request]; +} + +- (void)db_handleResponse:(NSURLResponse *)response data:(NSData *)data error:(NSError *)error { +#pragma unused(response) + DBOAuthResult *result = nil; + if (error) { + // Network error + result = [DBOAuthResult unknownErrorWithErrorDescription:error.localizedDescription]; + } else { + // No network error, parse response data + NSDictionary *resultDict = [self db_resultDictionaryFromData:data]; + result = [self db_extractResultFromDict:resultDict]; + } + + dispatch_queue_t queue = _queue ?: dispatch_get_main_queue(); + dispatch_async(queue, ^{ + self->_completion(result); + }); + _retainSelf = nil; +} + +- (NSDictionary *)db_resultDictionaryFromData:(NSData *)data { + if (data == nil) { + return nil; + } + id json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil]; + if ([json isKindOfClass:[NSDictionary class]]) { + return json; + } else { + return nil; + } +} + +- (DBOAuthResult *)db_extractResultFromDict:(NSDictionary *)dict { + // Interpret success result if any. + DBOAuthResult *successResult = [self db_extractSuccessResultFromDict:dict]; + if (successResult) { + return successResult; + } + + // Interpret error if any. + DBOAuthResult *errorResult = [self db_extractErrorResultFromDict:dict]; + if (errorResult) { + return errorResult; + } + + return [DBOAuthResult unknownErrorWithErrorDescription:@"Invalid response."]; +} + +/// Converts error to OAuth2Error as per [RFC6749 5.2](https://tools.ietf.org/html/rfc6749#section-5.2) +- (DBOAuthResult *)db_extractErrorResultFromDict:(NSDictionary *)dict { + id errorCode = dict[@"error"]; + if (!errorCode) { + return nil; + } + id errorDescription = dict[@"error_description"]; + if ([errorCode isKindOfClass:[NSString class]] && [errorDescription isKindOfClass:[NSString class]]) { + return [[DBOAuthResult alloc] initWithError:errorCode errorDescription:errorDescription]; + } else { + return [DBOAuthResult unknownErrorWithErrorDescription:nil]; + } +} + +- (DBOAuthResult *)db_extractSuccessResultFromDict:(NSDictionary *)dict { +#pragma unused(dict) + NSAssert(NO, @"Subclasses must implement this method"); + return nil; +} + +@end + +#pragma mark - DBOAuthTokenExchangeRequest + +@implementation DBOAuthTokenExchangeRequest + +- (instancetype)initWithOAuthCode:(NSString *)oauthCode + codeVerifier:(NSString *)codeVerifier + appKey:(NSString *)appKey + locale:(NSString *)locale + redirectUri:(NSString *)redirectUri { + NSDictionary *paramsDict = @{ + @"grant_type" : @"authorization_code", + @"code" : oauthCode, + @"code_verifier" : codeVerifier, + @"redirect_uri" : redirectUri + }; + return [super initWithAppKey:appKey locale:locale params:paramsDict]; +} + +/// Handle access token result as per [RFC6749 4.1.4](https://tools.ietf.org/html/rfc6749#section-4.1.4) +/// And an additional Dropbox uid parameter. +- (DBOAuthResult *)db_extractSuccessResultFromDict:(NSDictionary *)dict { + id tokenType = dict[@"token_type"]; + id accessToken = dict[@"access_token"]; + id refreshToken = dict[@"refresh_token"]; + id userId = dict[@"uid"]; + id expiresIn = dict[@"expires_in"]; + + BOOL valid = + [tokenType isKindOfClass:[NSString class]] && [@"bearer" caseInsensitiveCompare:tokenType] == NSOrderedSame; + valid = valid && [accessToken isKindOfClass:[NSString class]]; + valid = valid && [refreshToken isKindOfClass:[NSString class]]; + valid = valid && [userId isKindOfClass:[NSString class]]; + valid = valid && [expiresIn isKindOfClass:[NSNumber class]]; + + if (valid) { + NSTimeInterval tokenExpirationTimestamp = + [[[NSDate new] dateByAddingTimeInterval:((NSNumber *)expiresIn).doubleValue] timeIntervalSince1970]; + DBAccessToken *token = [DBAccessToken createWithShortLivedAccessToken:accessToken + uid:userId + refreshToken:refreshToken + tokenExpirationTimestamp:tokenExpirationTimestamp]; + ; + return [[DBOAuthResult alloc] initWithSuccess:token]; + } else { + return nil; + } +} + +@end + +#pragma mark - DBOAuthTokenRefreshRequest + +@interface DBOAuthTokenRefreshRequest () + +@property (nonatomic, copy, nonnull) NSString *uid; +@property (nonatomic, copy, nonnull) NSString *refreshToken; + +@end + +@implementation DBOAuthTokenRefreshRequest + +- (instancetype)initWithUid:(NSString *)uid + refreshToken:(NSString *)refreshToken + scopes:(NSArray *)scopes + appKey:(NSString *)appKey + locale:(NSString *)locale { + NSMutableDictionary *paramsDict = [@{ + @"grant_type" : @"refresh_token", + @"refresh_token" : refreshToken, + } mutableCopy]; + if (scopes.count > 0) { + paramsDict[@"scope"] = [scopes componentsJoinedByString:@" "]; + } + self = [super initWithAppKey:appKey locale:locale params:paramsDict]; + if (self) { + _uid = uid; + _refreshToken = refreshToken; + } + return self; +} + +/// Handle refresh result as per [RFC6749 5.1](https://tools.ietf.org/html/rfc6749#section-5.1) +- (DBOAuthResult *)db_extractSuccessResultFromDict:(NSDictionary *)dict { + id tokenType = dict[@"token_type"]; + id accessToken = dict[@"access_token"]; + id expiresIn = dict[@"expires_in"]; + + BOOL valid = + [tokenType isKindOfClass:[NSString class]] && [@"bearer" caseInsensitiveCompare:tokenType] == NSOrderedSame; + valid = valid && [accessToken isKindOfClass:[NSString class]]; + valid = valid && [expiresIn isKindOfClass:[NSNumber class]]; + + if (valid) { + NSTimeInterval tokenExpirationTimestamp = + [[[NSDate new] dateByAddingTimeInterval:((NSNumber *)expiresIn).doubleValue] timeIntervalSince1970]; + DBAccessToken *token = [DBAccessToken createWithShortLivedAccessToken:accessToken + uid:_uid + refreshToken:_refreshToken + tokenExpirationTimestamp:tokenExpirationTimestamp]; + ; + return [[DBOAuthResult alloc] initWithSuccess:token]; + } else { + return nil; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthUtils.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthUtils.m new file mode 100644 index 000000000..3188ea0ac --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBOAuthUtils.m @@ -0,0 +1,67 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBOAuthUtils.h" + +#import "DBOAuthConstants.h" +#import "DBOAuthPKCESession.h" +#import "DBScopeRequest+Protected.h" + +@implementation DBOAuthUtils + ++ (NSArray *)createPkceCodeFlowParamsForAuthSession:(DBOAuthPKCESession *)authSession { + NSMutableArray *params = [NSMutableArray new]; + DBScopeRequest *scopeRequest = authSession.scopeRequest; + NSString *scopeString = scopeRequest.scopeString; + if (scopeString) { + [params addObject:[NSURLQueryItem queryItemWithName:kDBScopeKey value:scopeString]]; + } + if (scopeRequest.includeGrantedScopes) { + [params addObject:[NSURLQueryItem queryItemWithName:kDBIncludeGrantedScopesKey value:scopeRequest.scopeType]]; + } + DBPkceData *pkceData = authSession.pkceData; + [params addObjectsFromArray:@[ + [NSURLQueryItem queryItemWithName:kDBCodeChallengeKey value:pkceData.codeChallenge], + [NSURLQueryItem queryItemWithName:kDBCodeChallengeMethodKey value:pkceData.codeChallengeMethod], + [NSURLQueryItem queryItemWithName:kDBTokenAccessTypeKey value:authSession.tokenAccessType], + [NSURLQueryItem queryItemWithName:kDBResponseTypeKey value:authSession.responseType], + ]]; + return params; +} + +// Extracts auth response parameters from URL and removes percent encoding. +// Response parameters from DAuth via the Dropbox app are in the query component. ++ (NSDictionary *)extractDAuthResponseFromUrl:(NSURL *)url { + return [self extractQueryParamsFromUrl:url.absoluteString]; +} + +// Extracts auth response parameters from URL and removes percent encoding. +// Response parameters OAuth 2 code flow (RFC6749 4.1.2) are in the query component. ++ (NSDictionary *)extractOAuthResponseFromCodeFlowUrl:(NSURL *)url { + return [self extractQueryParamsFromUrl:url.absoluteString]; +} + +// Extracts auth response parameters from URL and removes percent encoding. +// Response parameters from OAuth 2 token flow (RFC6749 4.2.2) are in the fragment component. ++ (NSDictionary *)extractOAuthResponseFromTokenFlowUrl:(NSURL *)url { + NSURLComponents *components = [[NSURLComponents alloc] initWithString:url.absoluteString]; + if (components.fragment) { + // Create a query only URL string and extract its individual query parameters. + return [self extractQueryParamsFromUrl:[NSString stringWithFormat:@"?%@", components.fragment]]; + } else { + return @{}; + } +} + +/// Extracts auth response parameters from URL and removes percent encoding. ++ (NSDictionary *)extractQueryParamsFromUrl:(NSString *)url { + NSURLComponents *components = [[NSURLComponents alloc] initWithString:url]; + NSMutableDictionary *dict = [NSMutableDictionary new]; + for (NSURLQueryItem *item in components.queryItems) { + [dict setValue:item.value forKey:item.name]; + } + return dict; +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.h index 02704acb4..ecd9b20d8 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.h @@ -6,6 +6,8 @@ #import "DBHandlerTypes.h" +@class DBAccessToken; + NS_ASSUME_NONNULL_BEGIN /// @@ -13,17 +15,17 @@ NS_ASSUME_NONNULL_BEGIN /// @interface DBSDKKeychain : NSObject -/// Stores a key / value pair in the keychain. -+ (BOOL)storeValueWithKey:(NSString *)key value:(NSString *)value; +/// Stores DBAccessToken in the keychain. ++ (BOOL)storeAccessToken:(DBAccessToken *)accessToken; -/// Retrieves a value from the corresponding key from the keychain. -+ (nullable NSString *)retrieveTokenWithKey:(NSString *)key; +/// Retrieves a DBAccessToken from the corresponding key (uid) from the keychain. ++ (nullable DBAccessToken *)retrieveTokenWithUid:(NSString *)uid; /// Retrieves all token uids from the keychain. + (NSArray *)retrieveAllTokenIds; -/// Deletes a key / value pair in the keychain. -+ (BOOL)deleteTokenWithKey:(NSString *)key; +/// Deletes the stored token value for a key (uid). ++ (BOOL)deleteTokenWithUid:(NSString *)uid; /// Deletes all key / value pairs in the keychain. + (BOOL)clearAllTokens; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.m index 0d015c833..a905b5c87 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSDKKeychain.m @@ -8,6 +8,7 @@ #import "DBAUTHTokenFromOAuth1Error.h" #import "DBAUTHTokenFromOAuth1Result.h" #import "DBAUTHUserAuthRoutes.h" +#import "DBAccessToken+NSSecureCoding.h" #import "DBAppClient.h" #import "DBClientsManager+Protected.h" #import "DBRequestErrors.h" @@ -48,19 +49,30 @@ + (void)initialize { }); } -+ (BOOL)storeValueWithKey:(NSString *)key value:(NSString *)value { - NSData *encoding = [value dataUsingEncoding:NSUTF8StringEncoding]; - if (encoding != nil) { - return [self storeDataValueWithKey:key value:encoding]; ++ (BOOL)storeAccessToken:(DBAccessToken *)accessToken { + NSData *data = [DBAccessToken covertTokenToData:accessToken]; + if (data) { + return [self storeDataValueWithKey:accessToken.uid value:data]; } else { return NO; } } -+ (NSString *)retrieveTokenWithKey:(NSString *)key { - NSData *data = [self lookupTokenDataWithKey:key]; - if (data != nil) { - return [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; ++ (DBAccessToken *)retrieveTokenWithUid:(NSString *)uid { + NSData *data = [self lookupTokenDataWithKey:uid]; + if (!data) { + return nil; + } + + DBAccessToken *token = [DBAccessToken createTokenFromData:data]; + if (token) { + return token; + } + + // The token might be stored as a string by a previous version of SDK. + NSString *accessTokenString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; + if (accessTokenString) { + return [DBAccessToken createWithLongLivedAccessToken:accessTokenString uid:uid]; } else { return nil; } @@ -85,13 +97,21 @@ + (NSString *)retrieveTokenWithKey:(NSString *)key { return results; } -+ (BOOL)deleteTokenWithKey:(NSString *)key { - NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{(id)kSecAttrAccount : key}]; ++ (BOOL)deleteTokenWithUid:(NSString *)uid { + NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{(id)kSecAttrAccount : uid}]; return SecItemDelete((__bridge CFDictionaryRef)query) == noErr; } + (BOOL)clearAllTokens { +// According to Apple documentation, SecItemDelete should delete all matching items by default. +// The default behavior works fine on iOS, but not on macOS. +// An extra parameter is required to be able to delete all items on macOS, but this same parameter +// would result in an error on iOS. So only add it on macOS. +#if TARGET_OS_OSX + NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{(id)kSecMatchLimit : (id)kSecMatchLimitAll}]; +#else NSMutableDictionary *query = [DBSDKKeychain queryWithDict:@{}]; +#endif return SecItemDelete((__bridge CFDictionaryRef)query) == noErr; } @@ -441,7 +461,7 @@ + (void)convertV1TokenToV2:(NSMutableArray *> *)v1TokensData dispatch_group_notify(tokenConvertGroup, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ if (shouldRetry == NO) { for (NSString *uid in tokenConversionResults) { - [[self class] storeValueWithKey:uid value:[tokenConversionResults objectForKey:uid]]; + [self storeAccessToken:[DBAccessToken createWithLongLivedAccessToken:tokenConversionResults[uid] uid:uid]]; } NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; [userDefaults setBool:YES forKey:[NSString stringWithFormat:kV1TokenMigrationOccurredKeyBase, appKey]]; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.h new file mode 100644 index 000000000..0c9377eb0 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.h @@ -0,0 +1,34 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import + +NS_ASSUME_NONNULL_BEGIN + +typedef NS_ENUM(NSUInteger, DBScopeType) { + DBScopeTypeTeam = 0, + DBScopeTypeUser, +}; + +/// Contains the information of requested scopes. +@interface DBScopeRequest : NSObject + +- (instancetype)init NS_UNAVAILABLE; + +/// +/// Designated Initializer. +/// +/// @param scopeType Type of the requested scopes. +/// @param scopes A list of scope returned by Dropbox server. Each scope correspond to a group of API endpoints. +/// To call one API endpoint you have to obtains the scope first otherwise you will get HTTP 401. +/// @param includeGrantedScopes If false, Dropbox will give you the scopes in scopes array. +/// Otherwise Dropbox server will return a token with all scopes user previously granted your app +/// together with the new scopes. +- (instancetype)initWithScopeType:(DBScopeType)scopeType + scopes:(NSArray *)scopes + includeGrantedScopes:(BOOL)includeGrantedScopes NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.m new file mode 100644 index 000000000..f24220346 --- /dev/null +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBScopeRequest.m @@ -0,0 +1,46 @@ +/// +/// Copyright (c) 2020 Dropbox, Inc. All rights reserved. +/// + +#import "DBScopeRequest.h" + +@interface DBScopeRequest () + +@property (nonatomic, readonly) NSString *scopeType; +@property (nonatomic, readonly, assign) BOOL includeGrantedScopes; +@property (nonatomic, readonly) NSArray *scopes; + +@end + +@implementation DBScopeRequest + +- (instancetype)initWithScopeType:(DBScopeType)scopeType + scopes:(NSArray *)scopes + includeGrantedScopes:(BOOL)includeGrantedScopes { + self = [super init]; + if (self) { + _scopeType = [DBScopeRequest stringFromScopeType:scopeType]; + _scopes = scopes; + _includeGrantedScopes = includeGrantedScopes; + } + return self; +} + +- (NSString *)scopeString { + if (_scopes.count == 0) { + return nil; + } else { + return [_scopes componentsJoinedByString:@" "]; + } +} + ++ (NSString *)stringFromScopeType:(DBScopeType)scopeType { + switch (scopeType) { + case DBScopeTypeTeam: + return @"team"; + case DBScopeTypeUser: + return @"user"; + } +} + +@end diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSharedApplicationProtocol.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSharedApplicationProtocol.h index 0727eb9a3..e4d541c90 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSharedApplicationProtocol.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/OAuth/DBSharedApplicationProtocol.h @@ -71,6 +71,13 @@ typedef void (^DBOAuthCancelBlock)(void); /// - (BOOL)canPresentExternalApp:(NSURL *)url; +/// Presents platform-specific loading UX indicating an async operation is ongoing and potentially blocking +/// user interaction while loading. +- (void)presentLoading; + +/// Dismisses loading UX. +- (void)dismissLoading; + @end NS_ASSUME_NONNULL_END diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBChunkInputStream.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBChunkInputStream.m old mode 100755 new mode 100644 index 26d055193..590f3902f --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBChunkInputStream.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBChunkInputStream.m @@ -141,7 +141,6 @@ - (void)_scheduleInCFRunLoop:(CFRunLoopRef)aRunLoop forMode:(CFStringRef)aMode { - (BOOL)_setCFClientFlags:(CFOptionFlags)inFlags callback:(CFReadStreamClientCallBack)inCallback context:(CFStreamClientContext *)inContext { - if (inCallback) { _requestedEvents = inFlags; _copiedCallback = inCallback; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.h index 026494fd8..4cbc9d5de 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.h @@ -25,6 +25,9 @@ NS_ASSUME_NONNULL_BEGIN /// The queue on which most response handling is performed. @property (nonatomic, readonly) NSOperationQueue *queue; +/// The queue on which we sleep until all processing is completed or the timeout is hit. +@property (nonatomic, readonly) NSOperationQueue *pollingQueue; + /// The dispatch group that pairs upload requests with upload responses so that we can wait for all request/response /// pairs to complete before batch committing. In this way, we can start many upload requests (for files under the chunk /// limit), without waiting for the corresponding response. diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.m index 43786c71f..9e8bab7a3 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBCustomDatatypes.m @@ -17,6 +17,10 @@ - (instancetype)initWithFileCommitInfo:(NSDictionary %d seconds. Timing out.", timeoutInSec]; - NSMutableDictionary *userInfo = [NSMutableDictionary new]; - userInfo[NSUnderlyingErrorKey] = errorMessage; - NSError *timeoutError = - [[NSError alloc] initWithDomain:NSURLErrorDomain code:NSURLErrorTimedOut userInfo:userInfo]; - [uploadData.queue addOperationWithBlock:^{ - uploadData.responseBlock(nil, nil, [[DBRequestError alloc] initAsClientError:timeoutError], - uploadData.fileUrlsToRequestErrors); - }]; - } - } else if ([result isComplete]) { - [uploadData.queue addOperationWithBlock:^{ - NSArray *completeResult = result.complete.entries; - - // create reverse lookup - NSMutableDictionary *dropboxFilePathToNSURL = [NSMutableDictionary new]; - for (NSURL *fileUrl in uploadData.fileUrlsToCommitInfo) { - DBFILESCommitInfo *commitInfo = uploadData.fileUrlsToCommitInfo[fileUrl]; - dropboxFilePathToNSURL[commitInfo.path] = fileUrl; - } +- (void)finishBatch:(DBBatchUploadData *)uploadData + resultEntries:(NSArray *)resultEntries { + [uploadData.queue addOperationWithBlock:^{ + // create reverse lookup + NSMutableDictionary *dropboxFilePathToNSURL = [NSMutableDictionary new]; + for (NSURL *fileUrl in uploadData.fileUrlsToCommitInfo) { + DBFILESCommitInfo *commitInfo = uploadData.fileUrlsToCommitInfo[fileUrl]; + dropboxFilePathToNSURL[commitInfo.path] = fileUrl; + } - NSMutableDictionary *fileUrlsToBatchResultEntries = - [NSMutableDictionary new]; + NSMutableDictionary *fileUrlsToBatchResultEntries = + [NSMutableDictionary new]; - int index = 0; - for (DBFILESUploadSessionFinishArg *finishArg in uploadData.finishArgs) { - NSString *path = finishArg.commit.path; - DBFILESUploadSessionFinishBatchResultEntry *resultEntry = completeResult[index]; - fileUrlsToBatchResultEntries[dropboxFilePathToNSURL[path]] = resultEntry; - index++; - } + int index = 0; + for (DBFILESUploadSessionFinishArg *finishArg in uploadData.finishArgs) { + NSString *path = finishArg.commit.path; + DBFILESUploadSessionFinishBatchResultEntry *resultEntry = resultEntries[index]; + fileUrlsToBatchResultEntries[dropboxFilePathToNSURL[path]] = resultEntry; + index++; + } - uploadData.responseBlock(fileUrlsToBatchResultEntries, nil, nil, uploadData.fileUrlsToRequestErrors); - }]; - } - } else if (!routeError) { - if ([error isRateLimitError]) { - DBRequestRateLimitError *rateLimitError = [error asRateLimitError]; - double backoffInSeconds = [rateLimitError.backoff doubleValue]; - dispatch_time_t delayTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(backoffInSeconds * NSEC_PER_SEC)); - - // retry after backoff time - dispatch_after(delayTime, dispatch_get_main_queue(), ^(void) { - [self queryJobStatus:uploadData asyncJobId:asyncJobId retryCount:retryCount]; - }); - } else { - [uploadData.queue addOperationWithBlock:^{ - uploadData.responseBlock(nil, nil, error, uploadData.fileUrlsToRequestErrors); - }]; - } - } else { - [uploadData.queue addOperationWithBlock:^{ - uploadData.responseBlock(nil, routeError, error, uploadData.fileUrlsToRequestErrors); - }]; - } - }]; + uploadData.responseBlock(fileUrlsToBatchResultEntries, nil, nil, uploadData.fileUrlsToRequestErrors); + }]; } - (NSUInteger)endBytesWithFileSize:(NSUInteger)fileSize startBytes:(NSUInteger)startBytes { @@ -410,20 +369,18 @@ - (void)batchFinishUponCompletion:(DBBatchUploadData *)uploadData { uploadData.finishArgs = sortedFinishArgs; - [[self uploadSessionFinishBatch:sortedFinishArgs] - setResponseBlock:^(DBFILESUploadSessionFinishBatchLaunch *result, DBNilObject *routeError, - DBRequestError *error) { - if (result && !routeError) { - if ([result isAsyncJobId]) { - sleep(1); - [self queryJobStatus:uploadData asyncJobId:result.asyncJobId retryCount:2]; - } - } else { + [[self uploadSessionFinishBatchV2:sortedFinishArgs] + setResponseBlock:^(DBFILESUploadSessionFinishBatchResult *_Nullable result, DBNilObject *_Nullable routeError, + DBRequestError *_Nullable networkError) { + if (!result || routeError) { [uploadData.queue addOperationWithBlock:^{ - uploadData.responseBlock(nil, nil, error, uploadData.fileUrlsToRequestErrors); + uploadData.responseBlock(nil, nil, networkError, uploadData.fileUrlsToRequestErrors); }]; + } else { + [self finishBatch:uploadData resultEntries:result.entries]; } - }]; + } + queue:uploadData.pollingQueue]; }); } diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.h b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.h index 1f29b7dba..9020f9797 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.h +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.h @@ -6,10 +6,8 @@ #import -extern NSString *const kV2SDKVersion; -extern NSString *const kV2SDKDefaultUserAgentPrefix; -extern NSString *const kForegroundSessionId; -extern NSString *const kBackgroundSessionId; -extern NSString *const kSDKDebugHost; -extern BOOL const kSDKDebug; -extern NSString *const kCSERFKey; +extern NSString *const kDBSDKVersion; +extern NSString *const kDBSDKDefaultUserAgentPrefix; +extern NSString *const kDBSDKForegroundSessionId; +extern NSString *const kDBSDKBackgroundSessionId; +extern NSString *const kDBSDKCSRFKey; diff --git a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m index 115e6f5dd..c5885a502 100644 --- a/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m +++ b/Source/ObjectiveDropboxOfficial/Shared/Handwritten/Resources/DBSDKConstants.m @@ -8,15 +8,8 @@ #import "DBSDKConstants.h" -NSString *const kV2SDKVersion = @"3.7.0"; -NSString *const kV2SDKDefaultUserAgentPrefix = @"OfficialDropboxObjCSDKv2"; -NSString *const kForegroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_foreground"; -NSString *const kBackgroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_background"; - -// BEGIN DEBUG CONSTANTS -BOOL const kSDKDebug = NO; // Should never be `YES` in production -NSString *const kSDKDebugHost = nil; // `"dbdev"`, if using EC, or "{user_name}-dbx"`, if dev box. - // Should never be non-`nil` in production. -// END DEBUG CONSTANTS - -NSString *const kCSERFKey = @"kCSERFKeyObjCSDK"; +NSString *const kDBSDKVersion = @"7.4.1"; +NSString *const kDBSDKDefaultUserAgentPrefix = @"OfficialDropboxObjCSDKv2"; +NSString *const kDBSDKForegroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_foreground"; +NSString *const kDBSDKBackgroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_background"; +NSString *const kDBSDKCSRFKey = @"kDBSDKCSRFKeyObjCSDK"; diff --git a/TestObjectiveDropbox/IntegrationTests/TestAppType.h b/TestObjectiveDropbox/IntegrationTests/TestAppType.h index f6e1988a2..40f97483f 100644 --- a/TestObjectiveDropbox/IntegrationTests/TestAppType.h +++ b/TestObjectiveDropbox/IntegrationTests/TestAppType.h @@ -9,10 +9,9 @@ #import typedef NS_ENUM(NSInteger, ApiAppPermissionType) { - FullDropbox, - TeamMemberFileAccess, - TeamMemberManagement, + FullDropboxScoped, + FullDropboxScopedForTeamTesting, }; /// Toggle this variable depending on which set of tests you are running. -static ApiAppPermissionType appPermission = (ApiAppPermissionType)FullDropbox; +static ApiAppPermissionType appPermission = (ApiAppPermissionType)FullDropboxScoped; diff --git a/TestObjectiveDropbox/IntegrationTests/TestClasses.h b/TestObjectiveDropbox/IntegrationTests/TestClasses.h index 2bad7c5c3..3ba3e50ca 100644 --- a/TestObjectiveDropbox/IntegrationTests/TestClasses.h +++ b/TestObjectiveDropbox/IntegrationTests/TestClasses.h @@ -11,17 +11,18 @@ #import "TestClasses.h" #import "TestData.h" +@class TeamTests; @interface DropboxTester : NSObject - ++ (NSArray*_Nonnull)scopesForTests; +- (nonnull instancetype)initWithUserClient:(DBUserClient *_Nonnull)userClient testData:(TestData *_Nonnull)testData; - (nonnull instancetype)initWithTestData:(TestData * _Nonnull)testData; -- (void)testAllUserAPIEndpoints:(void (^ _Nonnull)())nextTest asMember:(BOOL)asMember; +- (void)testAllUserAPIEndpoints:(void (^ _Nonnull)(void))nextTest asMember:(BOOL)asMember; +- (void)testFilesEndpoints:(void (^ _Nonnull)(void))nextTest asMember:(BOOL)asMember; @property TestData * _Nonnull testData; -@property DBAppClient * _Nonnull unauthorizedClient; @property DBAUTHUserAuthRoutes * _Nullable auth; -@property DBAUTHAppAuthRoutes * _Nullable appAuth; @property DBFILESUserAuthRoutes * _Nullable files; @property DBSHARINGUserAuthRoutes * _Nullable sharing; @property DBUSERSUserAuthRoutes * _Nullable users; @@ -29,14 +30,19 @@ @end @interface DropboxTeamTester : NSObject - ++ (NSArray*_Nonnull)scopesForTests; +- (nonnull instancetype)initWithTeamClient:(DBTeamClient *_Nonnull)teamClient testData:(TestData * _Nonnull)testData; - (nonnull instancetype)initWithTestData:(TestData * _Nonnull)testData; -- (void)testAllTeamMemberFileAcessActions:(void (^ _Nonnull)())nextTest; -- (void)testAllTeamMemberManagementActions:(void (^ _Nonnull)())nextTest; +- (void)testAllTeamMemberFileAcessActions:(void (^ _Nonnull)(void))nextTest; +- (void)testAllTeamMemberManagementActions:(void (^ _Nonnull)(void))nextTest; -@property DBTEAMTeamAuthRoutes * _Nullable team; +- (void)testTeamMemberFileAcessActions:(void (^ _Nonnull)(TeamTests *_Nonnull))nextTest; +- (void)testTeamMemberManagementActions:(void (^ _Nonnull)(void))nextTest; + +@property DBTeamClient * _Nonnull teamClient; @property TestData * _Nonnull testData; +@property DBTEAMTeamAuthRoutes * _Nonnull team; @end @@ -64,8 +70,7 @@ - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; -- (void)tokenRevoke:(void (^_Nonnull)())nextTest; -- (void)tokenFromOauth1:(void (^_Nonnull)())nextTest; +- (void)tokenRevoke:(void (^_Nonnull)(void))nextTest; @property DropboxTester * _Nonnull tester; @@ -73,32 +78,30 @@ @interface FilesTests : NSObject -- (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; - -- (void)deleteV2:(void (^_Nonnull)())nextTest; -- (void)createFolderV2:(void (^_Nonnull)())nextTest; -- (void)listFolderError:(void (^_Nonnull)())nextTest; -- (void)listFolder:(void (^_Nonnull)())nextTest; -- (void)uploadData:(void (^_Nonnull)())nextTest; -- (void)uploadDataSession:(void (^_Nonnull)())nextTest; -- (void)dCopyV2:(void (^_Nonnull)())nextTest; -- (void)dCopyReferenceGet:(void (^_Nonnull)())nextTest; -- (void)getMetadata:(void (^_Nonnull)())nextTest; -- (void)getMetadataError:(void (^_Nonnull)())nextTest; -- (void)getTemporaryLink:(void (^_Nonnull)())nextTest; -- (void)listRevisions:(void (^_Nonnull)())nextTest; -- (void)moveV2:(void (^_Nonnull)())nextTest; -- (void)saveUrl:(void (^_Nonnull)())nextTest asMember:(BOOL)asMember; -- (void)downloadToFile:(void (^_Nonnull)())nextTest; -- (void)downloadToFileAgain:(void (^_Nonnull)())nextTest; -- (void)downloadToFileError:(void (^_Nonnull)())nextTest; -- (void)downloadToMemory:(void (^_Nonnull)())nextTest; -- (void)downloadToMemoryWithRange:(void (^_Nonnull)())nextTest; -- (void)uploadFile:(void (^_Nonnull)())nextTest; -- (void)uploadStream:(void (^_Nonnull)())nextTest; -- (void)listFolderLongpollAndTrigger:(void (^_Nonnull)())nextTest; - -@property DropboxTester * _Nonnull tester; +- (instancetype _Nonnull )init:(DBFILESUserAuthRoutes *_Nonnull)filesRoute + testData:(TestData *_Nonnull)testData; +- (void)deleteV2:(void (^_Nonnull)(void))nextTest; +- (void)createFolderV2:(void (^_Nonnull)(void))nextTest; +- (void)listFolderError:(void (^_Nonnull)(void))nextTest; +- (void)listFolder:(void (^_Nonnull)(void))nextTest; +- (void)uploadData:(void (^_Nonnull)(void))nextTest; +- (void)uploadDataSession:(void (^_Nonnull)(void))nextTest; +- (void)dCopyV2:(void (^_Nonnull)(void))nextTest; +- (void)dCopyReferenceGet:(void (^_Nonnull)(void))nextTest; +- (void)getMetadata:(void (^_Nonnull)(void))nextTest; +- (void)getMetadataError:(void (^_Nonnull)(void))nextTest; +- (void)getTemporaryLink:(void (^_Nonnull)(void))nextTest; +- (void)listRevisions:(void (^_Nonnull)(void))nextTest; +- (void)moveV2:(void (^_Nonnull)(void))nextTest; +- (void)saveUrl:(void (^_Nonnull)(void))nextTest asMember:(BOOL)asMember; +- (void)downloadToFile:(void (^_Nonnull)(void))nextTest; +- (void)downloadToFileAgain:(void (^_Nonnull)(void))nextTest; +- (void)downloadToFileError:(void (^_Nonnull)(void))nextTest; +- (void)downloadToMemory:(void (^_Nonnull)(void))nextTest; +- (void)downloadToMemoryWithRange:(void (^_Nonnull)(void))nextTest; +- (void)uploadFile:(void (^_Nonnull)(void))nextTest; +- (void)uploadStream:(void (^_Nonnull)(void))nextTest; +- (void)listFolderLongpollAndTrigger:(void (^_Nonnull)(void))nextTest; @end @@ -106,19 +109,19 @@ - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; -- (void)shareFolder:(void (^_Nonnull)())nextTest; -- (void)createSharedLinkWithSettings:(void (^_Nonnull)())nextTest; -- (void)getFolderMetadata:(void (^_Nonnull)())nextTest; -- (void)addFolderMember:(void (^_Nonnull)())nextTest; -- (void)listFolderMembers:(void (^_Nonnull)())nextTest; -- (void)listFolders:(void (^_Nonnull)())nextTest; -- (void)listSharedLinks:(void (^_Nonnull)())nextTest; -- (void)removeFolderMember:(void (^_Nonnull)())nextTest; -- (void)revokeSharedLink:(void (^_Nonnull)())nextTest; -- (void)unmountFolder:(void (^_Nonnull)())nextTest; -- (void)mountFolder:(void (^_Nonnull)())nextTest; -- (void)updateFolderPolicy:(void (^_Nonnull)())nextTest; -- (void)unshareFolder:(void (^_Nonnull)())nextTest; +- (void)shareFolder:(void (^_Nonnull)(void))nextTest; +- (void)createSharedLinkWithSettings:(void (^_Nonnull)(void))nextTest; +- (void)getFolderMetadata:(void (^_Nonnull)(void))nextTest; +- (void)addFolderMember:(void (^_Nonnull)(void))nextTest; +- (void)listFolderMembers:(void (^_Nonnull)(void))nextTest; +- (void)listFolders:(void (^_Nonnull)(void))nextTest; +- (void)listSharedLinks:(void (^_Nonnull)(void))nextTest; +- (void)removeFolderMember:(void (^_Nonnull)(void))nextTest; +- (void)revokeSharedLink:(void (^_Nonnull)(void))nextTest; +- (void)unmountFolder:(void (^_Nonnull)(void))nextTest; +- (void)mountFolder:(void (^_Nonnull)(void))nextTest; +- (void)updateFolderPolicy:(void (^_Nonnull)(void))nextTest; +- (void)unshareFolder:(void (^_Nonnull)(void))nextTest; @property DropboxTester * _Nonnull tester; @property NSString * _Nonnull sharedFolderId; @@ -130,10 +133,10 @@ - (nonnull instancetype)init:(DropboxTester * _Nonnull)tester; -- (void)getAccount:(void (^_Nonnull)())nextTest; -- (void)getAccountBatch:(void (^_Nonnull)())nextTest; -- (void)getCurrentAccount:(void (^_Nonnull)())nextTest; -- (void)getSpaceUsage:(void (^_Nonnull)())nextTest; +- (void)getAccount:(void (^_Nonnull)(void))nextTest; +- (void)getAccountBatch:(void (^_Nonnull)(void))nextTest; +- (void)getCurrentAccount:(void (^_Nonnull)(void))nextTest; +- (void)getSpaceUsage:(void (^_Nonnull)(void))nextTest; @property DropboxTester * _Nonnull tester; @@ -144,34 +147,31 @@ - (nonnull instancetype)init:(DropboxTeamTester * _Nonnull)tester; // TeamMemberFileAccess - -- (void)initMembersGetInfo:(void (^_Nonnull)())nextTest; -- (void)listMemberDevices:(void (^_Nonnull)())nextTest; -- (void)listMembersDevices:(void (^_Nonnull)())nextTest; -- (void)linkedAppsListMemberLinkedApps:(void (^_Nonnull)())nextTest; -- (void)linkedAppsListMembersLinkedApps:(void (^_Nonnull)())nextTest; -- (void)getInfo:(void (^_Nonnull)())nextTest; -- (void)reportsGetActivity:(void (^_Nonnull)())nextTest; -- (void)reportsGetDevices:(void (^_Nonnull)())nextTest; -- (void)reportsGetMembership:(void (^_Nonnull)())nextTest; -- (void)reportsGetStorage:(void (^_Nonnull)())nextTest; +- (void)initMembersGetInfoAndMemberId:(void (^_Nonnull)(NSString * _Nullable))nextTest; +- (void)initMembersGetInfo:(void (^_Nonnull)(void))nextTest; +- (void)listMemberDevices:(void (^_Nonnull)(void))nextTest; +- (void)listMembersDevices:(void (^_Nonnull)(void))nextTest; +- (void)linkedAppsListMemberLinkedApps:(void (^_Nonnull)(void))nextTest; +- (void)linkedAppsListMembersLinkedApps:(void (^_Nonnull)(void))nextTest; +- (void)getInfo:(void (^_Nonnull)(void))nextTest; // TeamMemberManagement -- (void)groupsCreate:(void (^_Nonnull)())nextTest; -- (void)groupsGetInfo:(void (^_Nonnull)())nextTest; -- (void)groupsList:(void (^_Nonnull)())nextTest; -- (void)groupsMembersAdd:(void (^_Nonnull)())nextTest; -- (void)groupsMembersList:(void (^_Nonnull)())nextTest; -- (void)groupsUpdate:(void (^_Nonnull)())nextTest; -- (void)groupsDelete:(void (^_Nonnull)())nextTest; -- (void)membersAdd:(void (^_Nonnull)())nextTest; -- (void)membersGetInfo:(void (^_Nonnull)())nextTest; -- (void)membersList:(void (^_Nonnull)())nextTest; -- (void)membersSendWelcomeEmail:(void (^_Nonnull)())nextTest; -- (void)membersSetAdminPermissions:(void (^_Nonnull)())nextTest; -- (void)membersSetProfile:(void (^_Nonnull)())nextTest; -- (void)membersRemove:(void (^_Nonnull)())nextTest; +- (void)groupsCreate:(void (^_Nonnull)(void))nextTest; +- (void)groupsGetInfo:(void (^_Nonnull)(void))nextTest; +- (void)groupsList:(void (^_Nonnull)(void))nextTest; +- (void)groupsMembersAdd:(void (^_Nonnull)(void))nextTest; +- (void)groupsMembersList:(void (^_Nonnull)(void))nextTest; +- (void)groupsUpdate:(void (^_Nonnull)(void))nextTest; +- (void)groupsDelete:(void (^_Nonnull)(void))nextTest; +- (void)membersAdd:(void (^_Nonnull)(void))nextTest; +- (void)membersGetInfo:(void (^_Nonnull)(void))nextTest; +- (void)membersList:(void (^_Nonnull)(void))nextTest; +- (void)membersListDevices:(void (^_Nonnull)(void))nextTest; +- (void)membersSendWelcomeEmail:(void (^_Nonnull)(void))nextTest; +- (void)membersSetAdminPermissions:(void (^_Nonnull)(void))nextTest; +- (void)membersSetProfile:(void (^_Nonnull)(void))nextTest; +- (void)membersRemove:(void (^_Nonnull)(void))nextTest; @property DropboxTeamTester * _Nonnull tester; @property NSString * _Nonnull teamMemberId; @@ -181,11 +181,13 @@ @interface TestFormat : NSObject -+ (void)abort:(DBRequestError * _Nonnull)error routeError:(id _Nonnull)routeError; -+ (void)printErrors:(DBRequestError * _Nonnull)error routeError:(id _Nonnull)routeError; ++ (void)abort:(DBRequestError * _Nonnull)error + routeError:(id _Nonnull)routeError; ++ (void)printErrors:(DBRequestError * _Nonnull)error + routeError:(id _Nonnull)routeError; + (void)printSentProgress:(int64_t)bytesSent - totalBytesSent:(int64_t)totalBytesSent - totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend; + totalBytesSent:(int64_t)totalBytesSent + totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend; + (void)printTestBegin:(NSString * _Nonnull)title; + (void)printTestEnd; + (void)printAllTestsEnd; diff --git a/TestObjectiveDropbox/IntegrationTests/TestClasses.m b/TestObjectiveDropbox/IntegrationTests/TestClasses.m index a115173b9..b592e7a1d 100644 --- a/TestObjectiveDropbox/IntegrationTests/TestClasses.m +++ b/TestObjectiveDropbox/IntegrationTests/TestClasses.m @@ -11,401 +11,393 @@ static DBUserClient *s_teamAdminUserClient = nil; void MyLog(NSString *format, ...) { - va_list args; - va_start(args, format); - NSString *formattedString = [[NSString alloc] initWithFormat:format arguments:args]; - va_end(args); - [[NSFileHandle fileHandleWithStandardOutput] writeData:[formattedString dataUsingEncoding:NSNEXTSTEPStringEncoding]]; + va_list args; + va_start(args, format); + NSString *formattedString = [[NSString alloc] initWithFormat:format arguments:args]; + va_end(args); + [[NSFileHandle fileHandleWithStandardOutput] writeData:[formattedString dataUsingEncoding:NSNEXTSTEPStringEncoding]]; } @implementation DropboxTester ++ (NSArray*)scopesForTests { + return [@"account_info.read files.content.read files.content.write files.metadata.read files.metadata.write sharing.write sharing.read" componentsSeparatedByString:@" "]; +} + +- (instancetype)initWithUserClient:(DBUserClient *)userClient testData:(TestData *)testData { + self = [super init]; + if (self) { + NSParameterAssert(userClient); + NSParameterAssert(testData); + _testData = testData; + _auth = userClient.authRoutes; + _files = userClient.filesRoutes; + _sharing = userClient.sharingRoutes; + _users = userClient.usersRoutes; + } + return self; +} - (instancetype)initWithTestData:(TestData *)testData { - self = [super init]; - if (self) { DBUserClient *clientToUse = s_teamAdminUserClient ?: [DBClientsManager authorizedClient]; NSAssert(clientToUse, @"No authorized user client."); - _testData = testData; - DBAppClient *unauthorizedClient = [[DBAppClient alloc] initWithAppKey:_testData.fullDropboxAppKey appSecret:_testData.fullDropboxAppSecret]; - _unauthorizedClient = unauthorizedClient; - _auth = clientToUse.authRoutes; - _appAuth = unauthorizedClient.authRoutes; - _files = clientToUse.filesRoutes; - _sharing = clientToUse.sharingRoutes; - _users = clientToUse.usersRoutes; - } - return self; + self = [self initWithUserClient:clientToUse testData:testData ]; + return self; } // Test user app with 'Full Dropbox' permission -- (void)testAllUserAPIEndpoints:(void (^)())nextTest asMember:(BOOL)asMember { - void (^end)() = ^{ - if (nextTest) { - nextTest(); - } else { - [TestFormat printAllTestsEnd]; - } - }; - void (^testAuthEndpoints)() = ^{ - [self testAuthEndpoints:end]; - }; - void (^testUsersEndpoints)() = ^{ - [self testUsersEndpoints:testAuthEndpoints]; - }; - void (^testSharingEndpoints)() = ^{ - [self testSharingEndpoints:testUsersEndpoints]; - }; - void (^testFilesEndpoints)() = ^{ - [self testFilesEndpoints:testSharingEndpoints asMember:asMember]; - }; - void (^start)() = ^{ - testFilesEndpoints(); - }; - - start(); -} - -- (void)testAuthEndpoints:(void (^)())nextTest { - AuthTests *authTests = [[AuthTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(); - }; - void (^tokenFromOauth1)() = ^{ - [authTests tokenFromOauth1:end]; - }; - void (^tokenRevoke)() = ^{ - [authTests tokenRevoke:tokenFromOauth1]; - }; - void (^start)() = ^{ - tokenRevoke(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); -} - -- (void)testFilesEndpoints:(void (^)())nextTest asMember:(BOOL)asMember { - FilesTests *filesTests = [[FilesTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(); - }; - void (^listFolderLongpollAndTrigger)() = ^{ - [filesTests listFolderLongpollAndTrigger:end]; - }; - void (^uploadStream)() = ^{ - [filesTests uploadStream:listFolderLongpollAndTrigger]; - }; - void (^uploadFile)() = ^{ - [filesTests uploadFile:uploadStream]; - }; - void (^downloadToMemoryWithRange)() = ^{ - [filesTests downloadToMemoryWithRange:uploadFile]; - }; - void (^downloadToMemory)() = ^{ - [filesTests downloadToMemory:downloadToMemoryWithRange]; - }; - void (^downloadToFileAgain)() = ^{ - [filesTests downloadToFileAgain:downloadToMemory]; - }; - void (^downloadToFile)() = ^{ - [filesTests downloadToFile:downloadToFileAgain]; - }; - void (^saveUrl)() = ^{ - [filesTests saveUrl:downloadToFile asMember:asMember]; - }; - void (^move)() = ^{ - [filesTests moveV2:saveUrl]; - }; - void (^listRevisions)() = ^{ - [filesTests listRevisions:move]; - }; - void (^getTemporaryLink)() = ^{ - [filesTests getTemporaryLink:listRevisions]; - }; - void (^getMetadataError)() = ^{ - [filesTests getMetadataError:getTemporaryLink]; - }; - void (^getMetadata)() = ^{ - [filesTests getMetadata:getMetadataError]; - }; - void (^dCopyReferenceGet)() = ^{ - [filesTests dCopyReferenceGet:getMetadata]; - }; - void (^dCopy)() = ^{ - [filesTests dCopyV2:dCopyReferenceGet]; - }; - void (^uploadDataSession)() = ^{ - [filesTests uploadDataSession:dCopy]; - }; - void (^uploadData)() = ^{ - [filesTests uploadData:uploadDataSession]; - }; - void (^listFolder)() = ^{ - [filesTests listFolder:uploadData]; - }; - void (^listFolderError)() = ^{ - [filesTests listFolderError:listFolder]; - }; - void (^createFolder)() = ^{ - [filesTests createFolderV2:listFolderError]; - }; - void (^delete_)() = ^{ - [filesTests deleteV2:createFolder]; - }; - void (^start)() = ^{ - delete_(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); -} - -- (void)testSharingEndpoints:(void (^)())nextTest { - SharingTests *sharingTests = [[SharingTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(); - }; - void (^unshareFolder)() = ^{ - [sharingTests updateFolderPolicy:end]; - }; - void (^updateFolderPolicy)() = ^{ - [sharingTests updateFolderPolicy:unshareFolder]; - }; - void (^mountFolder)() = ^{ - [sharingTests mountFolder:updateFolderPolicy]; - }; - void (^unmountFolder)() = ^{ - [sharingTests unmountFolder:mountFolder]; - }; - void (^revokeSharedLink)() = ^{ - [sharingTests revokeSharedLink:unmountFolder]; - }; - void (^removeFolderMember)() = ^{ - [sharingTests removeFolderMember:revokeSharedLink]; - }; - void (^listSharedLinks)() = ^{ - [sharingTests listSharedLinks:removeFolderMember]; - }; - void (^listFolders)() = ^{ - [sharingTests listFolders:listSharedLinks]; - }; - void (^listFolderMembers)() = ^{ - [sharingTests listFolderMembers:listFolders]; - }; - void (^addFolderMember)() = ^{ - [sharingTests addFolderMember:listFolderMembers]; - }; - void (^getFolderMetadata)() = ^{ - [sharingTests getFolderMetadata:addFolderMember]; - }; - void (^createSharedLinkWithSettings)() = ^{ - [sharingTests createSharedLinkWithSettings:getFolderMetadata]; - }; - void (^shareFolder)() = ^{ - [sharingTests shareFolder:createSharedLinkWithSettings]; - }; - void (^start)() = ^{ - shareFolder(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); -} - -- (void)testUsersEndpoints:(void (^)())nextTest { - UsersTests *usersTests = [[UsersTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(); - }; - void (^getSpaceUsage)() = ^{ - [usersTests getSpaceUsage:end]; - }; - void (^getCurrentAccount)() = ^{ - [usersTests getCurrentAccount:getSpaceUsage]; - }; - void (^getAccountBatch)() = ^{ - [usersTests getAccountBatch:getCurrentAccount]; - }; - void (^getAccount)() = ^{ - [usersTests getAccount:getAccountBatch]; - }; - void (^start)() = ^{ - getAccount(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); +- (void)testAllUserAPIEndpoints:(void (^)(void))nextTest asMember:(BOOL)asMember { + void (^end)(void) = ^{ + if (nextTest) { + nextTest(); + } else { + [TestFormat printAllTestsEnd]; + } + }; + void (^testUsersEndpoints)(void) = ^{ + [self testUsersEndpoints:end]; + }; + void (^testSharingEndpoints)(void) = ^{ + [self testSharingEndpoints:testUsersEndpoints]; + }; + void (^testFilesEndpoints)(void) = ^{ + [self testFilesEndpoints:testSharingEndpoints asMember:asMember]; + }; + void (^start)(void) = ^{ + testFilesEndpoints(); + }; + + start(); +} + +- (void)testFilesEndpoints:(void (^)(void))nextTest asMember:(BOOL)asMember { + FilesTests *filesTests = [[FilesTests alloc] init:_files + testData:_testData]; + + void (^end)(void) = ^{ + [TestFormat printTestEnd]; + nextTest(); + }; + void (^listFolderLongpollAndTrigger)(void) = ^{ + [filesTests listFolderLongpollAndTrigger:end]; + }; + void (^uploadStream)(void) = ^{ + [filesTests uploadStream:listFolderLongpollAndTrigger]; + }; + void (^uploadFile)(void) = ^{ + [filesTests uploadFile:uploadStream]; + }; + void (^downloadToMemoryWithRange)(void) = ^{ + [filesTests downloadToMemoryWithRange:uploadFile]; + }; + void (^downloadToMemory)(void) = ^{ + [filesTests downloadToMemory:downloadToMemoryWithRange]; + }; + void (^downloadToFileAgain)(void) = ^{ + [filesTests downloadToFileAgain:downloadToMemory]; + }; + void (^downloadToFile)(void) = ^{ + [filesTests downloadToFile:downloadToFileAgain]; + }; + void (^saveUrl)(void) = ^{ + [filesTests saveUrl:downloadToFile asMember:asMember]; + }; + void (^move)(void) = ^{ + [filesTests moveV2:saveUrl]; + }; + void (^listRevisions)(void) = ^{ + [filesTests listRevisions:move]; + }; + void (^getTemporaryLink)(void) = ^{ + [filesTests getTemporaryLink:listRevisions]; + }; + void (^getMetadataError)(void) = ^{ + [filesTests getMetadataError:getTemporaryLink]; + }; + void (^getMetadata)(void) = ^{ + [filesTests getMetadata:getMetadataError]; + }; + void (^dCopyReferenceGet)(void) = ^{ + [filesTests dCopyReferenceGet:getMetadata]; + }; + void (^dCopy)(void) = ^{ + [filesTests dCopyV2:dCopyReferenceGet]; + }; + void (^uploadDataSession)(void) = ^{ + [filesTests uploadDataSession:dCopy]; + }; + void (^uploadData)(void) = ^{ + [filesTests uploadData:uploadDataSession]; + }; + void (^listFolder)(void) = ^{ + [filesTests listFolder:uploadData]; + }; + void (^listFolderError)(void) = ^{ + [filesTests listFolderError:listFolder]; + }; + void (^createFolder)(void) = ^{ + [filesTests createFolderV2:listFolderError]; + }; + void (^delete_)(void) = ^{ + [filesTests deleteV2:createFolder]; + }; + void (^start)(void) = ^{ + delete_(); + }; + + [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; + start(); +} + +- (void)testSharingEndpoints:(void (^)(void))nextTest { + SharingTests *sharingTests = [[SharingTests alloc] init:self]; + + void (^end)(void) = ^{ + [TestFormat printTestEnd]; + nextTest(); + }; + void (^unshareFolder)(void) = ^{ + [sharingTests updateFolderPolicy:end]; + }; + void (^updateFolderPolicy)(void) = ^{ + [sharingTests updateFolderPolicy:unshareFolder]; + }; + void (^mountFolder)(void) = ^{ + [sharingTests mountFolder:updateFolderPolicy]; + }; + void (^unmountFolder)(void) = ^{ + [sharingTests unmountFolder:mountFolder]; + }; + void (^revokeSharedLink)(void) = ^{ + [sharingTests revokeSharedLink:unmountFolder]; + }; + void (^removeFolderMember)(void) = ^{ + [sharingTests removeFolderMember:revokeSharedLink]; + }; + void (^listSharedLinks)(void) = ^{ + [sharingTests listSharedLinks:removeFolderMember]; + }; + void (^listFolders)(void) = ^{ + [sharingTests listFolders:listSharedLinks]; + }; + void (^listFolderMembers)(void) = ^{ + [sharingTests listFolderMembers:listFolders]; + }; + void (^addFolderMember)(void) = ^{ + [sharingTests addFolderMember:listFolderMembers]; + }; + void (^getFolderMetadata)(void) = ^{ + [sharingTests getFolderMetadata:addFolderMember]; + }; + void (^createSharedLinkWithSettings)(void) = ^{ + [sharingTests createSharedLinkWithSettings:getFolderMetadata]; + }; + void (^shareFolder)(void) = ^{ + [sharingTests shareFolder:createSharedLinkWithSettings]; + }; + void (^start)(void) = ^{ + shareFolder(); + }; + + [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; + start(); +} + +- (void)testUsersEndpoints:(void (^)(void))nextTest { + UsersTests *usersTests = [[UsersTests alloc] init:self]; + + void (^end)(void) = ^{ + [TestFormat printTestEnd]; + nextTest(); + }; + void (^getSpaceUsage)(void) = ^{ + [usersTests getSpaceUsage:end]; + }; + void (^getCurrentAccount)(void) = ^{ + [usersTests getCurrentAccount:getSpaceUsage]; + }; + void (^getAccountBatch)(void) = ^{ + [usersTests getAccountBatch:getCurrentAccount]; + }; + void (^getAccount)(void) = ^{ + [usersTests getAccount:getAccountBatch]; + }; + void (^start)(void) = ^{ + getAccount(); + }; + + [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; + start(); } @end @implementation DropboxTeamTester ++ (NSArray*)scopesForTests { + NSString *scopesForTeamRoutesTests = @"groups.read groups.write members.delete members.read members.write sessions.list team_data.member team_info.read"; + NSString *scopesForMemberFileAccessUserTests = @"files.content.write files.content.read sharing.write account_info.read"; + return [[NSString stringWithFormat:@"%@ %@", + scopesForTeamRoutesTests, + scopesForMemberFileAccessUserTests] componentsSeparatedByString:@" "]; +} + +- (instancetype)initWithTeamClient:(DBTeamClient *)teamClient testData:(TestData * _Nonnull)testData { + self = [super init]; + if (self) { + _testData = testData; + _teamClient = teamClient; + _team = teamClient.teamRoutes; + } + return self; +} - (instancetype)initWithTestData:(TestData *)testData { - self = [super init]; - if (self) { NSAssert([DBClientsManager authorizedTeamClient], @"No authorized team client."); - _testData = testData; - _team = [DBClientsManager authorizedTeamClient].teamRoutes; - } - return self; + self = [self initWithTeamClient:[DBClientsManager authorizedTeamClient] testData:testData]; + return self; } // Test business app with 'Team member file access' permission -- (void)testAllTeamMemberFileAcessActions:(void (^)())nextTest { - void (^end)() = ^{ - if (nextTest) { - nextTest(); - } else { - [TestFormat printAllTestsEnd]; - } - }; - void (^testPerformActionAsMember)(TeamTests *) = ^(TeamTests *teamTests) { - [teamTests initMembersGetInfo:^{}]; - DropboxTester *tester = [[DropboxTester alloc] initWithTestData:_testData]; - [tester testAllUserAPIEndpoints:end asMember:YES]; - }; - void (^testTeamMemberFileAcessActions)() = ^{ - [self testTeamMemberFileAcessActions:testPerformActionAsMember]; - }; - void (^start)() = ^{ - testTeamMemberFileAcessActions(); - }; - - start(); +- (void)testAllTeamMemberFileAcessActions:(void (^)(void))nextTest { + void (^end)(void) = ^{ + if (nextTest) { + nextTest(); + } else { + [TestFormat printAllTestsEnd]; + } + }; + void (^testPerformActionAsMember)(TeamTests *) = ^(TeamTests *teamTests) { + [teamTests initMembersGetInfoAndMemberId:^(NSString * memberId){ + NSAssert(memberId != nil, @"Memberid must exist"); + DBUserClient *uesrClient = [self->_teamClient userClientWithMemberId:memberId]; + DropboxTester *tester = [[DropboxTester alloc] initWithUserClient:uesrClient testData:self->_testData ]; + [tester testAllUserAPIEndpoints:end asMember:YES]; + }]; + }; + void (^testTeamMemberFileAcessActions)(void) = ^{ + [self testTeamMemberFileAcessActions:testPerformActionAsMember]; + }; + void (^start)(void) = ^{ + testTeamMemberFileAcessActions(); + }; + + start(); } // Test business app with 'Team member management' permission -- (void)testAllTeamMemberManagementActions:(void (^)())nextTest { - void (^end)() = ^{ - if (nextTest) { - nextTest(); - } else { - [TestFormat printAllTestsEnd]; - } - }; - void (^testTeamMemberManagementActions)() = ^{ - [self testTeamMemberManagementActions:end]; - }; - void (^start)() = ^{ - testTeamMemberManagementActions(); - }; - - start(); +- (void)testAllTeamMemberManagementActions:(void (^)(void))nextTest { + void (^end)(void) = ^{ + if (nextTest) { + nextTest(); + } else { + [TestFormat printAllTestsEnd]; + } + }; + void (^testTeamMemberManagementActions)(void) = ^{ + [self testTeamMemberManagementActions:end]; + }; + void (^start)(void) = ^{ + testTeamMemberManagementActions(); + }; + + start(); } - (void)testTeamMemberFileAcessActions:(void (^)(TeamTests *))nextTest { - TeamTests *teamTests = [[TeamTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(teamTests); - }; - void (^reportsGetStorage)() = ^{ - [teamTests reportsGetStorage:end]; - }; - void (^reportsGetMembership)() = ^{ - [teamTests reportsGetMembership:reportsGetStorage]; - }; - void (^reportsGetDevices)() = ^{ - [teamTests reportsGetDevices:reportsGetMembership]; - }; - void (^reportsGetActivity)() = ^{ - [teamTests reportsGetActivity:reportsGetDevices]; - }; - void (^getInfo)() = ^{ - [teamTests getInfo:reportsGetActivity]; - }; - void (^linkedAppsListMembersLinkedApps)() = ^{ - [teamTests linkedAppsListMembersLinkedApps:getInfo]; - }; - void (^linkedAppsListMemberLinkedApps)() = ^{ - [teamTests linkedAppsListMemberLinkedApps:linkedAppsListMembersLinkedApps]; - }; - void (^listMembersDevices)() = ^{ - [teamTests listMembersDevices:linkedAppsListMemberLinkedApps]; - }; - void (^listMemberDevices)() = ^{ - [teamTests listMemberDevices:listMembersDevices]; - }; - void (^initMembersGetInfo)() = ^{ - [teamTests initMembersGetInfo:listMemberDevices]; - }; - void (^start)() = ^{ - initMembersGetInfo(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); -} - -- (void)testTeamMemberManagementActions:(void (^)())nextTest { - TeamTests *teamTests = [[TeamTests alloc] init:self]; - - void (^end)() = ^{ - [TestFormat printTestEnd]; - nextTest(); - }; - void (^membersRemove)() = ^{ - [teamTests membersRemove:end]; - }; - void (^membersSetProfile)() = ^{ - [teamTests membersSetProfile:membersRemove]; - }; - void (^membersSetAdminPermissions)() = ^{ - [teamTests membersSetAdminPermissions:membersSetProfile]; - }; - void (^membersSendWelcomeEmail)() = ^{ - [teamTests membersSendWelcomeEmail:membersSetAdminPermissions]; - }; - void (^membersList)() = ^{ - [teamTests membersList:membersSendWelcomeEmail]; - }; - void (^membersGetInfo)() = ^{ - [teamTests membersGetInfo:membersList]; - }; - void (^membersAdd)() = ^{ - [teamTests membersAdd:membersGetInfo]; - }; - void (^groupsDelete)() = ^{ - [teamTests groupsDelete:membersAdd]; - }; - void (^groupsUpdate)() = ^{ - [teamTests groupsUpdate:groupsDelete]; - }; - void (^groupsMembersList)() = ^{ - [teamTests groupsMembersList:groupsUpdate]; - }; - void (^groupsMembersAdd)() = ^{ - [teamTests groupsMembersAdd:groupsMembersList]; - }; - void (^groupsList)() = ^{ - [teamTests groupsList:groupsMembersAdd]; - }; - void (^groupsGetInfo)() = ^{ - [teamTests groupsGetInfo:groupsList]; - }; - void (^groupsCreate)() = ^{ - [teamTests groupsCreate:groupsGetInfo]; - }; - void (^initMembersGetInfo)() = ^{ - [teamTests initMembersGetInfo:groupsCreate]; - }; - void (^start)() = ^{ - initMembersGetInfo(); - }; - - [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; - start(); + TeamTests *teamTests = [[TeamTests alloc] init:self]; + + void (^end)(void) = ^{ + [TestFormat printTestEnd]; + nextTest(teamTests); + }; + void (^getInfo)(void) = ^{ + [teamTests getInfo:end]; + }; + void (^linkedAppsListMembersLinkedApps)(void) = ^{ + [teamTests linkedAppsListMembersLinkedApps:getInfo]; + }; + void (^linkedAppsListMemberLinkedApps)(void) = ^{ + [teamTests linkedAppsListMemberLinkedApps:linkedAppsListMembersLinkedApps]; + }; + void (^listMembersDevices)(void) = ^{ + [teamTests listMembersDevices:linkedAppsListMemberLinkedApps]; + }; + void (^listMemberDevices)(void) = ^{ + [teamTests listMemberDevices:listMembersDevices]; + }; + void (^initMembersGetInfo)(void) = ^{ + [teamTests initMembersGetInfo:listMemberDevices]; + }; + void (^start)(void) = ^{ + initMembersGetInfo(); + }; + + [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; + start(); +} + +- (void)testTeamMemberManagementActions:(void (^)(void))nextTest { + TeamTests *teamTests = [[TeamTests alloc] init:self]; + + void (^end)(void) = ^{ + [TestFormat printTestEnd]; + nextTest(); + }; +// Comment this out until we understand the email_address_too_long_to_be_disabled error +// void (^membersRemove)(void) = ^{ +// [teamTests membersRemove:end]; +// }; + void (^membersSetProfile)(void) = ^{ + [teamTests membersSetProfile:end]; + }; + void (^membersSetAdminPermissions)(void) = ^{ + [teamTests membersSetAdminPermissions:membersSetProfile]; + }; + void (^membersSendWelcomeEmail)(void) = ^{ + [teamTests membersSendWelcomeEmail:membersSetAdminPermissions]; + }; + void (^membersList)(void) = ^{ + [teamTests membersList:membersSendWelcomeEmail]; + }; + void (^membersListDevices)(void) = ^{ + [teamTests membersListDevices:membersList]; + }; + void (^membersGetInfo)(void) = ^{ + [teamTests membersGetInfo:membersListDevices]; + }; + void (^membersAdd)(void) = ^{ + [teamTests membersAdd:membersGetInfo]; + }; + void (^groupsDelete)(void) = ^{ + [teamTests groupsDelete:membersAdd]; + }; + void (^groupsUpdate)(void) = ^{ + [teamTests groupsUpdate:groupsDelete]; + }; + void (^groupsMembersList)(void) = ^{ + [teamTests groupsMembersList:groupsUpdate]; + }; + void (^groupsMembersAdd)(void) = ^{ + [teamTests groupsMembersAdd:groupsMembersList]; + }; + void (^groupsList)(void) = ^{ + [teamTests groupsList:groupsMembersAdd]; + }; + void (^groupsGetInfo)(void) = ^{ + [teamTests groupsGetInfo:groupsList]; + }; + void (^groupsCreate)(void) = ^{ + [teamTests groupsCreate:groupsGetInfo]; + }; + void (^initMembersGetInfo)(void) = ^{ + [teamTests initMembersGetInfo:groupsCreate]; + }; + void (^start)(void) = ^{ + initMembersGetInfo(); + }; + + [TestFormat printTestBegin:NSStringFromSelector(_cmd)]; + start(); } @end @@ -417,103 +409,103 @@ - (void)testTeamMemberManagementActions:(void (^)())nextTest { @implementation BatchUploadTests - (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; + self = [super init]; + if (self) { + _tester = tester; + } + return self; } - (void)batchUploadFiles { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - // create working folder - NSFileManager *fileManager = [NSFileManager defaultManager]; - NSString *workingDirectoryName = @"MyOutputFolder"; - NSURL *workingDirectory = [[fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask][0] - URLByAppendingPathComponent:workingDirectoryName]; - - [fileManager createDirectoryAtPath:[workingDirectory path] - withIntermediateDirectories:YES - attributes:nil - error:nil]; - - NSMutableDictionary *uploadFilesUrlsToCommitInfo = [NSMutableDictionary new]; - - NSLog(@"\n\nCreating files in: %@\n\n", [workingDirectory path]); - // create a bunch of fake files - for (int i = 0; i < 150; i++) { - NSString *fileName = [NSString stringWithFormat:@"test_file_%d", i]; - NSString *fileContent = [NSString stringWithFormat:@"%@'s content. Test content here.", fileName]; - NSURL *fileUrl = [workingDirectory URLByAppendingPathComponent:fileName]; - - // set to test large file - BOOL testLargeFile = YES; - - // don't create a file for the name test_file_5 so we use a custom large file - // there instead - if (i != 5 || !testLargeFile) { - NSError *fileCreationError; - [fileContent writeToFile:[fileUrl path] - atomically:NO - encoding:NSStringEncodingConversionAllowLossy - error:&fileCreationError]; - - if (fileCreationError) { - NSLog(@"Error creating file: %@", fileCreationError); - NSLog(@"Terminating..."); - exit(0); - } - } else { - if (![fileManager fileExistsAtPath:[fileUrl path]]) { - NSLog(@"\n\nPlease create a large file named %@ to test chunked uploading\n\n", [fileUrl lastPathComponent]); - exit(0); - } - } + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBFILESCommitInfo *commitInfo = - [[DBFILESCommitInfo alloc] initWithPath:[NSString stringWithFormat:@"%@/%@", _tester.testData.testFolderPath, fileName]]; + // create working folder + NSFileManager *fileManager = [NSFileManager defaultManager]; + NSString *workingDirectoryName = @"MyOutputFolder"; + NSURL *workingDirectory = [[fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask][0] + URLByAppendingPathComponent:workingDirectoryName]; - [uploadFilesUrlsToCommitInfo setObject:commitInfo forKey:fileUrl]; - } - - [_tester.files batchUploadFiles:uploadFilesUrlsToCommitInfo queue:nil progressBlock:^(int64_t uploaded, - int64_t uploadedTotal, - int64_t expectedToUploadTotal) { - NSLog(@"Uploaded: %lld UploadedTotal: %lld ExpectedToUploadTotal: %lld", uploaded, uploadedTotal, expectedToUploadTotal); - } responseBlock:^(NSDictionary *fileUrlsToBatchResultEntries, - DBASYNCPollError *finishBatchRouteError, DBRequestError *finishBatchRequestError, - NSDictionary *fileUrlsToRequestErrors) { - if (fileUrlsToBatchResultEntries) { - for (NSURL *clientSideFileUrl in fileUrlsToBatchResultEntries) { - DBFILESUploadSessionFinishBatchResultEntry *resultEntry = fileUrlsToBatchResultEntries[clientSideFileUrl]; - if ([resultEntry isSuccess]) { - NSString *dropboxFilePath = resultEntry.success.pathDisplay; - NSLog(@"File successfully uploaded from %@ on local machine to %@ in Dropbox.", - [clientSideFileUrl absoluteString], dropboxFilePath); - } else if ([resultEntry isFailure]) { - // This particular file was not uploaded successfully, although the other - // files may have been uploaded successfully. Perhaps implement some retry - // logic here based on `uploadError` - DBRequestError *uploadNetworkError = fileUrlsToRequestErrors[clientSideFileUrl]; - DBFILESUploadSessionFinishError *uploadSessionFinishError = resultEntry.failure; - - NSLog(@"%@\n", uploadNetworkError); - NSLog(@"%@\n", uploadSessionFinishError); - } - } - } - - if (finishBatchRouteError) { - NSLog(@"Either bug in SDK code, or transient error on Dropbox server: %@", finishBatchRouteError); - } else if (finishBatchRequestError) { - NSLog(@"Request error from calling `/upload_session/finish_batch/check`"); - NSLog(@"%@", finishBatchRequestError); - } else if ([fileUrlsToRequestErrors count] > 0) { - NSLog(@"Other additional errors (e.g. file doesn't exist client-side, etc.)."); - NSLog(@"%@", fileUrlsToRequestErrors); + [fileManager createDirectoryAtPath:[workingDirectory path] + withIntermediateDirectories:YES + attributes:nil + error:nil]; + + NSMutableDictionary *uploadFilesUrlsToCommitInfo = [NSMutableDictionary new]; + + NSLog(@"\n\nCreating files in: %@\n\n", [workingDirectory path]); + // create a bunch of fake files + for (int i = 0; i < 150; i++) { + NSString *fileName = [NSString stringWithFormat:@"test_file_%d", i]; + NSString *fileContent = [NSString stringWithFormat:@"%@'s content. Test content here.", fileName]; + NSURL *fileUrl = [workingDirectory URLByAppendingPathComponent:fileName]; + + // set to test large file + BOOL testLargeFile = YES; + + // don't create a file for the name test_file_5 so we use a custom large file + // there instead + if (i != 5 || !testLargeFile) { + NSError *fileCreationError; + [fileContent writeToFile:[fileUrl path] + atomically:NO + encoding:NSStringEncodingConversionAllowLossy + error:&fileCreationError]; + + if (fileCreationError) { + NSLog(@"Error creating file: %@", fileCreationError); + NSLog(@"Terminating..."); + exit(0); + } + } else { + if (![fileManager fileExistsAtPath:[fileUrl path]]) { + NSLog(@"\n\nPlease create a large file named %@ to test chunked uploading\n\n", [fileUrl lastPathComponent]); + exit(0); + } + } + + DBFILESCommitInfo *commitInfo = + [[DBFILESCommitInfo alloc] initWithPath:[NSString stringWithFormat:@"%@/%@", _tester.testData.testFolderPath, fileName]]; + + [uploadFilesUrlsToCommitInfo setObject:commitInfo forKey:fileUrl]; } - }]; + + [_tester.files batchUploadFiles:uploadFilesUrlsToCommitInfo queue:nil progressBlock:^(int64_t uploaded, + int64_t uploadedTotal, + int64_t expectedToUploadTotal) { + NSLog(@"Uploaded: %lld UploadedTotal: %lld ExpectedToUploadTotal: %lld", uploaded, uploadedTotal, expectedToUploadTotal); + } responseBlock:^(NSDictionary *fileUrlsToBatchResultEntries, + DBASYNCPollError *finishBatchRouteError, DBRequestError *finishBatchRequestError, + NSDictionary *fileUrlsToRequestErrors) { + if (fileUrlsToBatchResultEntries) { + for (NSURL *clientSideFileUrl in fileUrlsToBatchResultEntries) { + DBFILESUploadSessionFinishBatchResultEntry *resultEntry = fileUrlsToBatchResultEntries[clientSideFileUrl]; + if ([resultEntry isSuccess]) { + NSString *dropboxFilePath = resultEntry.success.pathDisplay; + NSLog(@"File successfully uploaded from %@ on local machine to %@ in Dropbox.", + [clientSideFileUrl absoluteString], dropboxFilePath); + } else if ([resultEntry isFailure]) { + // This particular file was not uploaded successfully, although the other + // files may have been uploaded successfully. Perhaps implement some retry + // logic here based on `uploadError` + DBRequestError *uploadNetworkError = fileUrlsToRequestErrors[clientSideFileUrl]; + DBFILESUploadSessionFinishError *uploadSessionFinishError = resultEntry.failure; + + NSLog(@"%@\n", uploadNetworkError); + NSLog(@"%@\n", uploadSessionFinishError); + } + } + } + + if (finishBatchRouteError) { + NSLog(@"Either bug in SDK code, or transient error on Dropbox server: %@", finishBatchRouteError); + } else if (finishBatchRequestError) { + NSLog(@"Request error from calling `/upload_session/finish_batch/check`"); + NSLog(@"%@", finishBatchRequestError); + } else if ([fileUrlsToRequestErrors count] > 0) { + NSLog(@"Other additional errors (e.g. file doesn't exist client-side, etc.)."); + NSLog(@"%@", fileUrlsToRequestErrors); + } + }]; } @end @@ -521,758 +513,740 @@ - (void)batchUploadFiles { @implementation GlobalResponseTests - (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; + self = [super init]; + if (self) { + _tester = tester; + } + return self; } - (void)runGlobalResponseTests { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - void (^listFolderGlobalResponseBlock)(DBFILESListFolderError *, DBRequestError *, DBTask *) = ^(DBFILESListFolderError *folderError, DBRequestError *networkError, DBTask *restartTask) { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + void (^listFolderGlobalResponseBlock)(DBFILESListFolderError *, DBRequestError *, DBTask *) = ^(DBFILESListFolderError *folderError, DBRequestError *networkError, DBTask *restartTask) { #pragma unused(networkError) #pragma unused(restartTask) - MyLog(@"\n\nListFolder: listFolderGlobalResponseBlock Global execution error:%@\n\n", folderError); - }; - - void (^lookupErrorGlobalResponseBlock)(DBFILESLookupError *, DBRequestError *, DBTask *) = ^(DBFILESLookupError *lookupError, DBRequestError *networkError, DBTask *restartTask) { + MyLog(@"\n\nListFolder: listFolderGlobalResponseBlock Global execution error:%@\n\n", folderError); + }; + + void (^lookupErrorGlobalResponseBlock)(DBFILESLookupError *, DBRequestError *, DBTask *) = ^(DBFILESLookupError *lookupError, DBRequestError *networkError, DBTask *restartTask) { #pragma unused(networkError) #pragma unused(restartTask) - MyLog(@"\n\nLookupError: lookupErrorGlobalResponseBlock Global execution error:%@\n\n", lookupError); - }; - - void (^downloadDataGlobalResponseBlock)(DBFILESDownloadError *, DBRequestError *, DBTask *) = ^(DBFILESDownloadError *downloadError, DBRequestError *networkError, DBTask *restartTask) { + MyLog(@"\n\nLookupError: lookupErrorGlobalResponseBlock Global execution error:%@\n\n", lookupError); + }; + + void (^downloadDataGlobalResponseBlock)(DBFILESDownloadError *, DBRequestError *, DBTask *) = ^(DBFILESDownloadError *downloadError, DBRequestError *networkError, DBTask *restartTask) { #pragma unused(downloadError) #pragma unused(networkError) #pragma unused(restartTask) - MyLog(@"\n\nDownloadData: downloadDataGlobalResponseBlock Global execution error\n\n"); - }; - - void (^networkGlobalResponseBlock)(DBRequestError *, DBTask *) = ^(DBRequestError *networkError, DBTask *restartTask) { + MyLog(@"\n\nDownloadData: downloadDataGlobalResponseBlock Global execution error\n\n"); + }; + + void (^networkGlobalResponseBlock)(DBRequestError *, DBTask *) = ^(DBRequestError *networkError, DBTask *restartTask) { #pragma unused(restartTask) - MyLog(@"\n\n NetworkData: networkGlobalResponseBlock Global execution error:%@\n\n", networkError); - - if ([networkError isAuthError]) { - [TestFormat printOffset:@"Auth error detected!"]; - } - }; - - [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:listFolderGlobalResponseBlock routeErrorType:[DBFILESListFolderError class]]; - [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:lookupErrorGlobalResponseBlock routeErrorType:[DBFILESLookupError class]]; - [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:downloadDataGlobalResponseBlock routeErrorType:[DBFILESDownloadError class]]; - - [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; - - [TestFormat printOffset:@"Registered handlers for listfoldererror, lookuperror, downloaderror, and network errors"]; - dispatch_semaphore_t continueSemaphore = dispatch_semaphore_create(0); - - [[_tester.files listFolder:@""] - setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { - if (!result) { - [TestFormat abort:error routeError:routeError]; - } - [TestFormat printOffset:@"listFolder Call finished with no error."]; - dispatch_semaphore_signal(continueSemaphore); + MyLog(@"\n\n NetworkData: networkGlobalResponseBlock Global execution error:%@\n\n", networkError); + + if ([networkError isAuthError]) { + [TestFormat printOffset:@"Auth error detected!"]; + } + }; + + [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:listFolderGlobalResponseBlock routeErrorType:[DBFILESListFolderError class]]; + [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:lookupErrorGlobalResponseBlock routeErrorType:[DBFILESLookupError class]]; + [DBGlobalErrorResponseHandler registerRouteErrorResponseBlock:downloadDataGlobalResponseBlock routeErrorType:[DBFILESDownloadError class]]; + + [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; + + [TestFormat printOffset:@"Registered handlers for listfoldererror, lookuperror, downloaderror, and network errors"]; + dispatch_semaphore_t continueSemaphore = dispatch_semaphore_create(0); + + [[_tester.files listFolder:@""] + setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { + if (!result) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"listFolder Call finished with no error."]; + dispatch_semaphore_signal(continueSemaphore); } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [[_tester.files listFolder:@"/does/not/exist"] - setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { - if (result) { - [TestFormat abort:error routeError:routeError]; - } - [TestFormat printOffset:@"listFolder Call finished with error."]; - dispatch_semaphore_signal(continueSemaphore); + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [[_tester.files listFolder:@"/does/not/exist"] + setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { + if (result) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"listFolder Call finished with error."]; + dispatch_semaphore_signal(continueSemaphore); } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [TestFormat printOffset:@"Removing listfoldererror listener"]; - [DBGlobalErrorResponseHandler removeRouteErrorResponseBlockWithRouteErrorType:[DBFILESListFolderError class]]; - - [[_tester.files listFolder:@"/does/not/exist"] - setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { - if (result) { - [TestFormat abort:error routeError:routeError]; - } - [TestFormat printOffset:@"listFolder Call finished with error after removal of DBFILESListFolderError global callback."]; - dispatch_semaphore_signal(continueSemaphore); - } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [[_tester.files downloadData:@"/does/not/exist"] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { - if (result) { - [TestFormat abort:error routeError:routeError]; - } - [TestFormat printOffset:@"downloadData Call with route error."]; - dispatch_semaphore_signal(continueSemaphore); - } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [TestFormat printOffset:@"Calling listfolder with auth error."]; - [[_tester.files listFolder:@"/does/not/exist"] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { - if (result) { - [TestFormat abort:networkError routeError:routeError]; - } - [TestFormat printOffset:@"Call with auth network error."]; - dispatch_semaphore_signal(continueSemaphore); - } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [TestFormat printOffset:@"Removing network error listener"]; - [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; - - [[_tester.auth tokenRevoke] setResponseBlock:^(DBNilObject * _Nullable result, DBNilObject * _Nullable routeError, DBRequestError * _Nullable networkError) { - [TestFormat printOffset:@"Token revoked."]; - dispatch_semaphore_signal(continueSemaphore); - } queue:[NSOperationQueue new]]; - - dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); - - [TestFormat printOffset:@"Calling listfolder with auth error."]; - [[_tester.files listFolder:@"/does/not/exist"] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { - if (result) { - [TestFormat abort:networkError routeError:routeError]; - } - [TestFormat printOffset:@"Call with auth network error after removal of global callback."]; - dispatch_semaphore_signal(continueSemaphore); - } queue:[NSOperationQueue new]]; - - [DBClientsManager unlinkAndResetClients]; + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [TestFormat printOffset:@"Removing listfoldererror listener"]; + [DBGlobalErrorResponseHandler removeRouteErrorResponseBlockWithRouteErrorType:[DBFILESListFolderError class]]; + + [[_tester.files listFolder:@"/does/not/exist"] + setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { + if (result) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"listFolder Call finished with error after removal of DBFILESListFolderError global callback."]; + dispatch_semaphore_signal(continueSemaphore); + } queue:[NSOperationQueue new]]; + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [[_tester.files downloadData:@"/does/not/exist"] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { + if (result) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"downloadData Call with route error."]; + dispatch_semaphore_signal(continueSemaphore); + } queue:[NSOperationQueue new]]; + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [TestFormat printOffset:@"Calling listfolder with auth error."]; + [[_tester.files listFolder:@"/does/not/exist"] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { + if (result) { + [TestFormat abort:networkError routeError:routeError]; + } + [TestFormat printOffset:@"Call with auth network error."]; + dispatch_semaphore_signal(continueSemaphore); + } queue:[NSOperationQueue new]]; + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [TestFormat printOffset:@"Removing network error listener"]; + [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; + + [[_tester.auth tokenRevoke] setResponseBlock:^(DBNilObject * _Nullable result, DBNilObject * _Nullable routeError, DBRequestError * _Nullable networkError) { + [TestFormat printOffset:@"Token revoked."]; + dispatch_semaphore_signal(continueSemaphore); + } queue:[NSOperationQueue new]]; + + dispatch_semaphore_wait(continueSemaphore, DISPATCH_TIME_FOREVER); + + [TestFormat printOffset:@"Calling listfolder with auth error."]; + [[_tester.files listFolder:@"/does/not/exist"] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { + if (result) { + [TestFormat abort:networkError routeError:routeError]; + } + [TestFormat printOffset:@"Call with auth network error after removal of global callback."]; + dispatch_semaphore_signal(continueSemaphore); + } queue:[NSOperationQueue new]]; + + [DBClientsManager unlinkAndResetClients]; } @end /** - Dropbox User API Endpoint Tests + Dropbox User API Endpoint Tests */ @implementation AuthTests - (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; + self = [super init]; + if (self) { + _tester = tester; + } + return self; } -- (void)tokenRevoke:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.auth tokenRevoke] setResponseBlock:^(DBNilObject *result, DBNilObject *routeError, DBRequestError *error) { - MyLog(@"%@\n", result); - [TestFormat printOffset:@"Token successfully revoked"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)tokenFromOauth1:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.appAuth tokenFromOauth1:_tester.testData.oauth1Token oauth1TokenSecret:_tester.testData.oauth1TokenSecret] - setResponseBlock:^(DBAUTHTokenFromOAuth1Result *result, DBAUTHTokenFromOAuth1Error *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [[DBOAuthManager sharedOAuthManager] storeAccessToken:[[DBAccessToken alloc] initWithAccessToken:result.oauth2Token uid:@"123"]]; - [DBClientsManager authorizeClientFromKeychain:@"123"]; - [[[DBClientsManager authorizedClient].filesRoutes listFolder:@""] - setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *networkError) { - if (result) { - MyLog(@"%@\n", result); - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - }]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; +- (void)tokenRevoke:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.auth tokenRevoke] setResponseBlock:^(DBNilObject *result, DBNilObject *routeError, DBRequestError *error) { + MyLog(@"%@\n", result); + [TestFormat printOffset:@"Token successfully revoked"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } @end -@implementation FilesTests +@implementation FilesTests { + DBFILESUserAuthRoutes * _filesRoute; + TestData *_testData; +} -- (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; +- (instancetype)init:(DBFILESUserAuthRoutes *)filesRoute + testData:(TestData *)testData { + self = [super init]; + if (self) { + _filesRoute = filesRoute; + _testData = testData; + } + return self; } -- (void)deleteV2:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files deleteV2:_tester.testData.baseFolder] - setResponseBlock:^(DBFILESMetadata *result, DBFILESDeleteError *routeError, DBRequestError *error) { +- (void)deleteV2:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute delete_V2:_testData.baseFolder] + setResponseBlock:^(DBFILESDeleteResult * _Nullable result, DBFILESDeleteError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat printErrors:error routeError:routeError]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printErrors:networkError routeError:routeError]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)createFolderV2:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files createFolderV2:_tester.testData.testFolderPath] - setResponseBlock:^(DBFILESFolderMetadata *result, DBFILESCreateFolderError *routeError, DBRequestError *error) { +- (void)createFolderV2:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute createFolderV2:_testData.testFolderPath] + setResponseBlock:^(DBFILESCreateFolderResult * _Nullable result, DBFILESCreateFolderError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:networkError routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listFolderError:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files listFolder:@"/does/not/exist/folder"] +- (void)listFolderError:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute listFolder:@"/does/not/exist/folder"] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { - MyLog(@"Something went wrong...\n"); - [TestFormat abort:error routeError:routeError]; + MyLog(@"Something went wrong...\n"); + [TestFormat abort:error routeError:routeError]; } else { - [TestFormat printOffset:@"Intentionally errored.\n"]; - [TestFormat printErrors:error routeError:routeError]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Intentionally errored.\n"]; + [TestFormat printErrors:error routeError:routeError]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listFolder:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files listFolder:_tester.testData.testFolderPath] +- (void)listFolder:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute listFolder:_testData.testFolderPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)uploadData:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *outputPath = _tester.testData.testFilePath; - [[[_tester.files uploadData:outputPath inputData:_tester.testData.fileData] +- (void)uploadData:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *outputPath = _testData.testFilePath; + [[[_filesRoute uploadData:outputPath inputData:_testData.fileData] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)uploadDataSession:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - void (^uploadSessionAppendV2)(NSString *, DBFILESUploadSessionCursor *) = ^(NSString *sessionId, - DBFILESUploadSessionCursor *cursor) { - [[[_tester.files uploadSessionAppendV2Data:cursor inputData:_tester.testData.fileData] - setResponseBlock:^(DBNilObject *result, DBFILESUploadSessionLookupError *routeError, DBRequestError *error) { - // response type for this route is nil - if (!error) { - DBFILESUploadSessionCursor *cursor = [[DBFILESUploadSessionCursor alloc] - initWithSessionId:sessionId - offset:[NSNumber numberWithUnsignedLong:(_tester.testData.fileData.length * 2)]]; - DBFILESCommitInfo *commitInfo = [[DBFILESCommitInfo alloc] - initWithPath:[NSString stringWithFormat:@"%@%@", _tester.testData.testFilePath, @"_session"]]; - - [[[_tester.files uploadSessionFinishData:cursor commit:commitInfo inputData:_tester.testData.fileData] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadSessionFinishError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printOffset:@"Upload session complete"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; - } else { + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - [[[_tester.files uploadSessionStartData:_tester.testData.fileData] - setResponseBlock:^(DBFILESUploadSessionStartResult *result, DBNilObject *routeError, DBRequestError *error) { +- (void)uploadDataSession:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + void (^uploadSessionAppendV2)(NSString *, DBFILESUploadSessionCursor *) = ^(NSString *sessionId, + DBFILESUploadSessionCursor *cursor) { + [[[self->_filesRoute uploadSessionAppendV2Data:cursor inputData:self->_testData.fileData] + setResponseBlock:^(DBNilObject *result, DBFILESUploadSessionAppendError *routeError, DBRequestError *error) { + // response type for this route is nil + if (!error) { + DBFILESUploadSessionCursor *cursor = [[DBFILESUploadSessionCursor alloc] + initWithSessionId:sessionId + offset:[NSNumber numberWithUnsignedLong:(self->_testData.fileData.length * 2)]]; + DBFILESCommitInfo *commitInfo = [[DBFILESCommitInfo alloc] + initWithPath:[NSString stringWithFormat:@"%@%@", self->_testData.testFilePath, @"_session"]]; + + [[[self->_filesRoute uploadSessionFinishData:cursor commit:commitInfo inputData:self->_testData.fileData] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadSessionFinishError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + [TestFormat printOffset:@"Upload session complete"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + }; + + [[[_filesRoute uploadSessionStartData:_testData.fileData] + setResponseBlock:^(DBFILESUploadSessionStartResult *result, DBFILESUploadSessionStartError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printOffset:@"Acquiring sessionId"]; - uploadSessionAppendV2( - result.sessionId, - [[DBFILESUploadSessionCursor alloc] - initWithSessionId:result.sessionId - offset:[NSNumber numberWithUnsignedLong:(_tester.testData.fileData.length)]]); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)dCopyV2:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *copyOutputPath = [NSString - stringWithFormat:@"%@%@%@%@", _tester.testData.testFilePath, @"_duplicate", @"_", _tester.testData.testId]; - [[[_tester.files dCopyV2:_tester.testData.testFilePath toPath:copyOutputPath] - setResponseBlock:^(DBFILESMetadata *result, DBFILESRelocationError *routeError, DBRequestError *error) { + MyLog(@"%@\n", result); + [TestFormat printOffset:@"Acquiring sessionId"]; + uploadSessionAppendV2( + result.sessionId, + [[DBFILESUploadSessionCursor alloc] + initWithSessionId:result.sessionId + offset:[NSNumber numberWithUnsignedLong:(self->_testData.fileData.length)]]); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)dCopyV2:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *copyOutputPath = [NSString + stringWithFormat:@"%@%@%@%@", _testData.testFilePath, @"_duplicate", @"_", _testData.testId]; + [[[_filesRoute dCopyV2:_testData.testFilePath toPath:copyOutputPath] + setResponseBlock:^(DBFILESRelocationResult * _Nullable result, DBFILESRelocationError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:networkError routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)dCopyReferenceGet:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files dCopyReferenceGet:_tester.testData.testFilePath] +- (void)dCopyReferenceGet:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute dCopyReferenceGet:_testData.testFilePath] setResponseBlock:^(DBFILESGetCopyReferenceResult *result, DBFILESGetCopyReferenceError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)getMetadata:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files getMetadata:_tester.testData.testFilePath] +- (void)getMetadata:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute getMetadata:_testData.testFilePath] setResponseBlock:^(DBFILESMetadata *result, DBFILESGetMetadataError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)getMetadataError:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files getMetadata:@"/this/path/does/not/exist"] +- (void)getMetadataError:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute getMetadata:@"/this/path/does/not/exist"] setResponseBlock:^(DBFILESMetadata *result, DBFILESGetMetadataError *routeError, DBRequestError *error) { if (result) { - NSAssert(NO, @"This call should have errored."); + NSAssert(NO, @"This call should have errored."); } else { - NSAssert(error, @"This call should have errored."); - [TestFormat printOffset:@"Error properly detected"]; - MyLog(@"%@\n", error); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + NSAssert(error, @"This call should have errored."); + [TestFormat printOffset:@"Error properly detected"]; + MyLog(@"%@\n", error); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)getTemporaryLink:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files getTemporaryLink:_tester.testData.testFilePath] +- (void)getTemporaryLink:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute getTemporaryLink:_testData.testFilePath] setResponseBlock:^(DBFILESGetTemporaryLinkResult *result, DBFILESGetTemporaryLinkError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listRevisions:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files listRevisions:_tester.testData.testFilePath] +- (void)listRevisions:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute listRevisions:_testData.testFilePath] setResponseBlock:^(DBFILESListRevisionsResult *result, DBFILESListRevisionsError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)moveV2:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *folderPath = [NSString stringWithFormat:@"%@%@%@", _tester.testData.testFolderPath, @"/", @"movedLocation"]; - [[[_tester.files createFolderV2:folderPath] - setResponseBlock:^(DBFILESFolderMetadata *result, DBFILESCreateFolderError *routeError, DBRequestError *error) { +- (void)moveV2:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *folderPath = [NSString stringWithFormat:@"%@%@%@", _testData.testFolderPath, @"/", @"movedLocation"]; + [[[_filesRoute createFolderV2:folderPath] + setResponseBlock:^(DBFILESCreateFolderResult * _Nullable result, DBFILESCreateFolderError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printOffset:@"Created destination folder"]; - - NSString *fileToMove = [NSString stringWithFormat:@"%@%@", _tester.testData.testFilePath, @"_session"]; - NSString *destPath = - [NSString stringWithFormat:@"%@%@%@%@", folderPath, @"/", _tester.testData.testFileName, @"_session"]; - - [[[_tester.files moveV2:fileToMove toPath:destPath] - setResponseBlock:^(DBFILESMetadata *result, DBFILESRelocationError *routeError, DBRequestError *error) { + MyLog(@"%@\n", result); + [TestFormat printOffset:@"Created destination folder"]; + + NSString *fileToMove = [NSString stringWithFormat:@"%@%@", self->_testData.testFilePath, @"_session"]; + NSString *destPath = + [NSString stringWithFormat:@"%@%@%@%@", folderPath, @"/", self->_testData.testFileName, @"_session"]; + + [[[self->_filesRoute moveV2:fileToMove toPath:destPath] + setResponseBlock:^(DBFILESRelocationResult * _Nullable result, DBFILESRelocationError * _Nullable routeError, DBRequestError * _Nullable networkError) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:networkError routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:networkError routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)saveUrl:(void (^)())nextTest asMember:(BOOL)asMember { - if (asMember) { - nextTest(); - return; - } - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *folderPath = [NSString stringWithFormat:@"%@%@%@", _tester.testData.testFolderPath, @"/", @"dbx-test.html"]; - [[[_tester.files saveUrl:folderPath url:@"https://www.google.com"] +- (void)saveUrl:(void (^)(void))nextTest asMember:(BOOL)asMember { + if (asMember) { + nextTest(); + return; + } + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *folderPath = [NSString stringWithFormat:@"%@%@%@", _testData.testFolderPath, @"/", @"dbx-test.html"]; + [[[_filesRoute saveUrl:folderPath url:@"https://www.google.com"] setResponseBlock:^(DBFILESSaveUrlResult *result, DBFILESSaveUrlError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)downloadToFile:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files downloadUrl:_tester.testData.testFilePath overwrite:YES destination:_tester.testData.destURL] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSURL *destination) { - if (result) { - MyLog(@"%@\n", result); - NSData *data = [[NSFileManager defaultManager] contentsAtPath:[destination path]]; - NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; - [TestFormat printOffset:@"File contents:"]; - MyLog(@"%@\n", dataStr); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)downloadToFileAgain:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files downloadUrl:_tester.testData.testFilePath overwrite:YES destination:_tester.testData.destURL] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSURL *destination) { - if (result) { - MyLog(@"%@\n", result); - NSData *data = [[NSFileManager defaultManager] contentsAtPath:[destination path]]; - NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; - [TestFormat printOffset:@"File contents:"]; - MyLog(@"%@\n", dataStr); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)downloadToFileError:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *filePath = [NSString stringWithFormat:@"%@%@", _tester.testData.testFilePath, @"_does_not_exist"]; - [[[_tester.files downloadUrl:filePath overwrite:YES destination:_tester.testData.destURL] +- (void)downloadToFile:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute downloadUrl:_testData.testFilePath overwrite:YES destination:_testData.destURL] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSURL *destination) { if (result) { - NSAssert(NO, @"This call should have errored!"); + MyLog(@"%@\n", result); + NSData *data = [[NSFileManager defaultManager] contentsAtPath:[destination path]]; + NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; + [TestFormat printOffset:@"File contents:"]; + MyLog(@"%@\n", dataStr); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - NSAssert(![[NSFileManager defaultManager] fileExistsAtPath:[_tester.testData.destURLException path]], - @"File should not exist here."); - [TestFormat printOffset:@"Error properly detected"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)downloadToMemory:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files downloadData:_tester.testData.testFilePath] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileContents) { +- (void)downloadToFileAgain:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute downloadUrl:_testData.testFilePath overwrite:YES destination:_testData.destURL] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSURL *destination) { if (result) { - MyLog(@"%@\n", result); - NSString *dataStr = [[NSString alloc] initWithData:fileContents encoding:NSUTF8StringEncoding]; - [TestFormat printOffset:@"File contents:"]; - MyLog(@"%@\n", dataStr); - NSUInteger len = [fileContents length]; - MyLog(@"\nFile size: %lld\n", (long)len); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)downloadToMemoryWithRange:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.files downloadData:_tester.testData.testFilePath byteOffsetStart:@(0) byteOffsetEnd:@(10)] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileContents) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printOffset:@"Number of bytes (expecting 11)"]; - NSUInteger len = [fileContents length]; - MyLog(@"\nFile size: %lld\n", (long)len); - if (len != 11) { - [TestFormat abort:error routeError:routeError]; + MyLog(@"%@\n", result); + NSData *data = [[NSFileManager defaultManager] contentsAtPath:[destination path]]; + NSString *dataStr = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; + [TestFormat printOffset:@"File contents:"]; + MyLog(@"%@\n", dataStr); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; } - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; } -- (void)uploadFile:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *outputPath = [NSString stringWithFormat:@"%@%@", _tester.testData.testFilePath, @"_from_file"]; - [[[_tester.files uploadUrl:outputPath inputUrl:[_tester.testData.destURL path]] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *error) { +- (void)downloadToFileError:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *filePath = [NSString stringWithFormat:@"%@%@", _testData.testFilePath, @"_does_not_exist"]; + [[[_filesRoute downloadUrl:filePath overwrite:YES destination:_testData.destURL] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSURL *destination) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + NSAssert(NO, @"This call should have errored!"); } else { - [TestFormat abort:error routeError:routeError]; + NSAssert(![[NSFileManager defaultManager] fileExistsAtPath:[self->_testData.destURLException path]], + @"File should not exist here."); + [TestFormat printOffset:@"Error properly detected"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)uploadStream:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSString *outputPath = [NSString stringWithFormat:@"%@%@", _tester.testData.testFilePath, @"_from_stream"]; - [[[_tester.files uploadStream:outputPath inputStream:[[NSInputStream alloc] initWithURL:_tester.testData.destURL]] - setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *error) { +- (void)downloadToMemory:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute downloadData:_testData.testFilePath] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileContents) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + NSString *dataStr = [[NSString alloc] initWithData:fileContents encoding:NSUTF8StringEncoding]; + [TestFormat printOffset:@"File contents:"]; + MyLog(@"%@\n", dataStr); + NSUInteger len = [fileContents length]; + MyLog(@"\nFile size: %lld\n", (long)len); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listFolderLongpollAndTrigger:(void (^)())nextTest { - void (^copy)() = ^{ - [TestFormat printOffset:@"Making change that longpoll will detect (copy file)"]; - NSString *copyOutputPath = - [NSString stringWithFormat:@"%@%@%@", _tester.testData.testFilePath, @"_duplicate2_", _tester.testData.testId]; - - [[[_tester.files dCopyV2:_tester.testData.testFilePath toPath:copyOutputPath] - setResponseBlock:^(DBFILESMetadata *result, DBFILESRelocationError *routeError, DBRequestError *error) { - if (result) { +- (void)downloadToMemoryWithRange:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_filesRoute downloadData:_testData.testFilePath byteOffsetStart:@(0) byteOffsetEnd:@(10)] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileContents) { + if (result) { MyLog(@"%@\n", result); - } else { + [TestFormat printOffset:@"Number of bytes (expecting 11)"]; + NSUInteger len = [fileContents length]; + MyLog(@"\nFile size: %lld\n", (long)len); + if (len != 11) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - void (^listFolderContinue)(NSString *) = ^(NSString *cursor) { - [[[_tester.files listFolderContinue:cursor] - setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderContinueError *routeError, DBRequestError *error) { - if (result) { - [TestFormat printOffset:@"Here are the changes:"]; +- (void)uploadFile:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *outputPath = [NSString stringWithFormat:@"%@%@", _testData.testFilePath, @"_from_file"]; + [[[_filesRoute uploadUrl:outputPath inputUrl:[_testData.destURL path]] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *error) { + if (result) { MyLog(@"%@\n", result); [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; nextTest(); - } else { + } else { [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - void (^listFolderLongpoll)(NSString *) = ^(NSString *cursor) { - [TestFormat printOffset:@"Establishing longpoll"]; - [[[_tester.files listFolderLongpoll:cursor] setResponseBlock:^(DBFILESListFolderLongpollResult *result, - DBFILESListFolderLongpollError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - if (result.changes) { - [TestFormat printOffset:@"Changes found"]; - listFolderContinue(cursor); +- (void)uploadStream:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSString *outputPath = [NSString stringWithFormat:@"%@%@", _testData.testFilePath, @"_from_stream"]; + [[[_filesRoute uploadStream:outputPath inputStream:[[NSInputStream alloc] initWithURL:_testData.destURL]] + setResponseBlock:^(DBFILESFileMetadata *result, DBFILESUploadError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat printOffset:@"Improperly set up changes trigger"]; + [TestFormat abort:error routeError:routeError]; } - } else { - [TestFormat abort:error routeError:routeError]; - } } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; +} - copy(); - }; - - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - [TestFormat printOffset:@"Acquring cursor"]; - [[[_tester.files listFolderGetLatestCursor:_tester.testData.testFolderPath] +- (void)listFolderLongpollAndTrigger:(void (^)(void))nextTest { + void (^copy)(void) = ^{ + [TestFormat printOffset:@"Making change that longpoll will detect (copy file)"]; + NSString *copyOutputPath = + [NSString stringWithFormat:@"%@%@%@", self->_testData.testFilePath, @"_duplicate2_", self->_testData.testId]; + + [[[self->_filesRoute dCopyV2:self->_testData.testFilePath toPath:copyOutputPath] + setResponseBlock:^(DBFILESRelocationResult * _Nullable result, DBFILESRelocationError * _Nullable routeError, DBRequestError * _Nullable networkError) { + if (result) { + MyLog(@"%@\n", result); + } else { + if (networkError.isRateLimitError) { + sleep(networkError.backoff.unsignedIntValue); + [self listFolderLongpollAndTrigger:nextTest]; + } else { + [TestFormat abort:networkError routeError:routeError]; + } + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + }; + + void (^listFolderContinue)(NSString *) = ^(NSString *cursor) { + [[[self->_filesRoute listFolderContinue:cursor] + setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderContinueError *routeError, DBRequestError *error) { + if (result) { + [TestFormat printOffset:@"Here are the changes:"]; + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + }; + + void (^listFolderLongpoll)(NSString *) = ^(NSString *cursor) { + [TestFormat printOffset:@"Establishing longpoll"]; + [[[self->_filesRoute listFolderLongpoll:cursor] setResponseBlock:^(DBFILESListFolderLongpollResult *result, + DBFILESListFolderLongpollError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + if (result.changes) { + [TestFormat printOffset:@"Changes found"]; + listFolderContinue(cursor); + } else { + [TestFormat printOffset:@"Improperly set up changes trigger"]; + } + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + + copy(); + }; + + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + [TestFormat printOffset:@"Acquring cursor"]; + [[[_filesRoute listFolderGetLatestCursor:_testData.testFolderPath] setResponseBlock:^(DBFILESListFolderGetLatestCursorResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { - [TestFormat printOffset:@"Cursor acquired"]; - MyLog(@"%@\n", result); - listFolderLongpoll(result.cursor); + [TestFormat printOffset:@"Cursor acquired"]; + MyLog(@"%@\n", result); + listFolderLongpoll(result.cursor); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } @end @@ -1280,308 +1254,333 @@ - (void)listFolderLongpollAndTrigger:(void (^)())nextTest { @implementation SharingTests - (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - _sharedFolderId = @"placeholder"; - _sharedLink = @"placeholder"; - } - return self; -} - -- (void)shareFolder:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing shareFolder:_tester.testData.testShareFolderPath] + self = [super init]; + if (self) { + _tester = tester; + _sharedFolderId = @"placeholder"; + _sharedLink = @"placeholder"; + } + return self; +} + +- (void)shareFolder:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing shareFolder:_tester.testData.testShareFolderPath] setResponseBlock:^(DBSHARINGShareFolderLaunch *result, DBSHARINGShareFolderError *routeError, DBRequestError *error) { if (result) { - if ([result isAsyncJobId]) { - [TestFormat - printOffset:[NSString stringWithFormat:@"Folder not yet shared! Job id: %@. Please adjust test order.", - result.asyncJobId]]; - } else if ([result isComplete]) { - MyLog(@"%@\n", result.complete); - _sharedFolderId = result.complete.sharedFolderId; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat printOffset:@"Improperly handled share folder result"]; - [TestFormat abort:error routeError:routeError]; - } + if ([result isAsyncJobId]) { + [TestFormat + printOffset:[NSString stringWithFormat:@"Folder not yet shared! Job id: %@. Please adjust test order.", + result.asyncJobId]]; + } else if ([result isComplete]) { + MyLog(@"%@\n", result.complete); + self->_sharedFolderId = result.complete.sharedFolderId; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat printOffset:@"Improperly handled share folder result"]; + [TestFormat abort:error routeError:routeError]; + } } else { - [TestFormat abort:error routeError:routeError]; + if(routeError.isBadPath && routeError.badPath.isAlreadyShared) { + // prob leftover from another test + [self unshareFolder:^{ + [self shareFolder:nextTest]; + }]; + } else if (error.isRateLimitError) { + sleep(error.backoff.unsignedIntValue); + [self shareFolder:nextTest]; + } else { + [TestFormat abort:error routeError:routeError]; + } } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)createSharedLinkWithSettings:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing createSharedLinkWithSettings:_tester.testData.testShareFolderPath] +- (void)createSharedLinkWithSettings:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing createSharedLinkWithSettings:_tester.testData.testShareFolderPath] setResponseBlock:^(DBSHARINGSharedLinkMetadata *result, DBSHARINGCreateSharedLinkWithSettingsError *routeError, - DBRequestError *error) { + DBRequestError *error) { if (result || [routeError isSharedLinkAlreadyExists]) { - if ([routeError isSharedLinkAlreadyExists]) { - } - MyLog(@"%@\n", result); - _sharedLink = result.url; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + if ([routeError isSharedLinkAlreadyExists]) { + } + MyLog(@"%@\n", result); + self->_sharedLink = result.url; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)getFolderMetadata:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing getFolderMetadata:_sharedFolderId] +- (void)getFolderMetadata:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing getFolderMetadata:_sharedFolderId] setResponseBlock:^(DBSHARINGSharedFolderMetadata *result, DBSHARINGSharedFolderAccessError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)addFolderMember:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBSHARINGMemberSelector *memberSelector = - [[DBSHARINGMemberSelector alloc] initWithEmail:_tester.testData.accountId3Email]; - DBSHARINGAddMember *addFolderMemberArg = [[DBSHARINGAddMember alloc] initWithMember:memberSelector]; - [[[_tester.sharing addFolderMember:_sharedFolderId - members:@[ addFolderMemberArg ] - quiet:[NSNumber numberWithBool:YES] - customMessage:nil] + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)addFolderMember:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBSHARINGMemberSelector *memberSelector = + [[DBSHARINGMemberSelector alloc] initWithEmail:_tester.testData.accountId3Email]; + DBSHARINGAddMember *addFolderMemberArg = [[DBSHARINGAddMember alloc] initWithMember:memberSelector]; + [[[_tester.sharing addFolderMember:_sharedFolderId + members:@[ addFolderMemberArg ] + quiet:[NSNumber numberWithBool:YES] + customMessage:nil] setResponseBlock:^(DBNilObject *result, DBSHARINGAddFolderMemberError *routeError, DBRequestError *error) { if (!error) { - [TestFormat printOffset:@"Folder member added"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Folder member added"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listFolderMembers:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing listFolderMembers:_sharedFolderId] +- (void)listFolderMembers:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing listFolderMembers:_sharedFolderId] setResponseBlock:^(DBSHARINGSharedFolderMembers *result, DBSHARINGSharedFolderAccessError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listFolders:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing listFolders:[NSNumber numberWithInteger:2] actions:nil] +- (void)listFolders:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing listFolders:[NSNumber numberWithInteger:2] actions:nil] setResponseBlock:^(DBSHARINGListFoldersResult *result, DBNilObject *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listSharedLinks:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing listSharedLinks] +- (void)listSharedLinks:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing listSharedLinks] setResponseBlock:^(DBSHARINGListSharedLinksResult *result, DBSHARINGListSharedLinksError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)removeFolderMember:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBSHARINGMemberSelector *memberSelector = - [[DBSHARINGMemberSelector alloc] initWithDropboxId:_tester.testData.accountId3]; - - void (^checkJobStatus)(NSString *) = ^(NSString *asyncJobId) { - [[[_tester.sharing checkJobStatus:asyncJobId] setResponseBlock:^(DBSHARINGJobStatus *result, DBASYNCPollError *routeError, - DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - if ([result isInProgress]) { - [TestFormat - printOffset:[NSString +- (void)checkJobStatus:(NSString *)asyncJobId retryCount:(int)retryCount nextTest:(void (^)(void))nextTest{ + [[[self->_tester.sharing checkJobStatus:asyncJobId] setResponseBlock:^(DBSHARINGJobStatus *result, DBASYNCPollError *routeError, + DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + if ([result isInProgress]) { + [TestFormat + printOffset:[NSString stringWithFormat:@"Folder member not yet removed! Job id: %@. Please adjust test order.", - asyncJobId]]; - } else if ([result isComplete]) { - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else if ([result isFailed]) { - [TestFormat abort:error routeError:result.failed]; - } - } else { - [TestFormat abort:error routeError:routeError]; - } + asyncJobId]]; + + if (retryCount > 0) { + MyLog(@"Sleeping for 3 seconds, then trying again"); + for (int i = 0; i < 3; i++) { + sleep(1); + MyLog(@"."); + } + MyLog(@"\n"); + [TestFormat printOffset:@"Retrying!"]; + [self checkJobStatus:asyncJobId retryCount:retryCount - 1 nextTest:nextTest]; + } + } else if ([result isComplete]) { + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else if ([result isFailed]) { + [TestFormat abort:error routeError:result.failed]; + } + } else { + [TestFormat abort:error routeError:routeError]; + } } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - [[[_tester.sharing removeFolderMember:_sharedFolderId member:memberSelector leaveACopy:[NSNumber numberWithBool:NO]] +- (void)removeFolderMember:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBSHARINGMemberSelector *memberSelector = + [[DBSHARINGMemberSelector alloc] initWithEmail:_tester.testData.accountId3Email]; + + void (^checkJobStatus)(NSString *) = ^(NSString *asyncJobId) { + [self checkJobStatus:asyncJobId retryCount:5 nextTest:nextTest]; + }; + + [[[_tester.sharing removeFolderMember:_sharedFolderId member:memberSelector leaveACopy:[NSNumber numberWithBool:NO]] setResponseBlock:^(DBASYNCLaunchResultBase *result, DBSHARINGRemoveFolderMemberError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - if ([result isAsyncJobId]) { - [TestFormat printOffset:[NSString stringWithFormat:@"Folder member not yet removed! Job id: %@", - result.asyncJobId]]; - MyLog(@"Sleeping for 3 seconds, then trying again"); - for (int i = 0; i < 3; i++) { - sleep(1); - MyLog(@"."); + MyLog(@"%@\n", result); + if ([result isAsyncJobId]) { + [TestFormat printOffset:[NSString stringWithFormat:@"Folder member not yet removed! Job id: %@", + result.asyncJobId]]; + MyLog(@"Sleeping for 5 seconds, then trying again"); + for (int i = 0; i < 5; i++) { + sleep(1); + MyLog(@"."); + } + MyLog(@"\n"); + [TestFormat printOffset:@"Retrying!"]; + checkJobStatus(result.asyncJobId); + } else { + [TestFormat printOffset:[NSString stringWithFormat:@"removeFolderMember result not properly handled."]]; } - MyLog(@"\n"); - [TestFormat printOffset:@"Retrying!"]; - checkJobStatus(result.asyncJobId); - } else { - [TestFormat printOffset:[NSString stringWithFormat:@"removeFolderMember result not properly handled."]]; - } } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)revokeSharedLink:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing revokeSharedLink:_sharedLink] +- (void)revokeSharedLink:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing revokeSharedLink:_sharedLink] setResponseBlock:^(DBNilObject *result, DBSHARINGRevokeSharedLinkError *routeError, DBRequestError *error) { if (!routeError) { - [TestFormat printOffset:@"Shared link revoked"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Shared link revoked"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)unmountFolder:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing unmountFolder:_sharedFolderId] +- (void)unmountFolder:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing unmountFolder:_sharedFolderId] setResponseBlock:^(DBNilObject *result, DBSHARINGUnmountFolderError *routeError, DBRequestError *error) { if (!routeError) { - [TestFormat printOffset:@"Folder unmounted"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Folder unmounted"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)mountFolder:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing mountFolder:_sharedFolderId] +- (void)mountFolder:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing mountFolder:_sharedFolderId] setResponseBlock:^(DBSHARINGSharedFolderMetadata *result, DBSHARINGMountFolderError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)updateFolderPolicy:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing updateFolderPolicy:_sharedFolderId] +- (void)updateFolderPolicy:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing updateFolderPolicy:_sharedFolderId] setResponseBlock:^(DBSHARINGSharedFolderMetadata *result, DBSHARINGUpdateFolderPolicyError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)unshareFolder:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.sharing unshareFolder:_sharedFolderId] +- (void)unshareFolder:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.sharing unshareFolder:_sharedFolderId] setResponseBlock:^(DBASYNCLaunchEmptyResult *result, DBSHARINGUnshareFolderError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } @end @@ -1589,683 +1588,638 @@ - (void)unshareFolder:(void (^)())nextTest { @implementation UsersTests - (instancetype)init:(DropboxTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; + self = [super init]; + if (self) { + _tester = tester; + } + return self; } -- (void)getAccount:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.users getAccount:_tester.testData.accountId] +- (void)getAccount:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.users getAccount:_tester.testData.accountId] setResponseBlock:^(DBUSERSBasicAccount *result, DBUSERSGetAccountError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)getAccountBatch:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSArray *accountIds = @[ _tester.testData.accountId, _tester.testData.accountId2 ]; - [[[_tester.users getAccountBatch:accountIds] +- (void)getAccountBatch:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + NSArray *accountIds = @[ _tester.testData.accountId, _tester.testData.accountId2 ]; + [[[_tester.users getAccountBatch:accountIds] setResponseBlock:^(NSArray *result, DBUSERSGetAccountBatchError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)getCurrentAccount:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.users getCurrentAccount] setResponseBlock:^(DBUSERSFullAccount *result, DBNilObject *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)getSpaceUsage:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.users getSpaceUsage] setResponseBlock:^(DBUSERSSpaceUsage *result, DBNilObject *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)getCurrentAccount:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.users getCurrentAccount] setResponseBlock:^(DBUSERSFullAccount *result, DBNilObject *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)getSpaceUsage:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.users getSpaceUsage] setResponseBlock:^(DBUSERSSpaceUsage *result, DBNilObject *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } @end /** - Dropbox TEAM API Endpoint Tests + Dropbox TEAM API Endpoint Tests */ @implementation TeamTests - (instancetype)init:(DropboxTeamTester *)tester { - self = [super init]; - if (self) { - _tester = tester; - } - return self; + self = [super init]; + if (self) { + _tester = tester; + } + return self; } /** - Permission: TEAM member file access + Permission: TEAM member file access */ +- (void)initMembersGetInfo:(void (^)(void))nextTest { + [self initMembersGetInfoAndMemberId:^(NSString * _Nullable memberId) { + nextTest(); + }]; +} -- (void)initMembersGetInfo:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithEmail:_tester.testData.teamMemberEmail]; - [[[_tester.team membersGetInfo:@[ userSelectArg ]] setResponseBlock:^(NSArray *result, - DBTEAMMembersGetInfoError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - DBTEAMMembersGetInfoItem *getInfo = result[0]; - if ([getInfo isIdNotFound]) { - [TestFormat abort:error routeError:routeError]; - } else if ([getInfo isMemberInfo]) { - _teamMemberId = getInfo.memberInfo.profile.teamMemberId; - s_teamAdminUserClient = [[DBClientsManager authorizedTeamClient] userClientWithMemberId:_teamMemberId]; - } - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; +- (void)initMembersGetInfoAndMemberId:(void (^)(NSString * _Nullable))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithEmail:_tester.testData.teamMemberEmail]; + [[[_tester.team membersGetInfo:@[ userSelectArg ]] setResponseBlock:^(NSArray *result, + DBTEAMMembersGetInfoError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + DBTEAMMembersGetInfoItem *getInfo = result[0]; + if ([getInfo isIdNotFound]) { + [TestFormat abort:error routeError:routeError]; + } else if ([getInfo isMemberInfo]) { + self->_teamMemberId = getInfo.memberInfo.profile.teamMemberId; + s_teamAdminUserClient = [[DBClientsManager authorizedTeamClient] userClientWithMemberId:self->_teamMemberId]; + } + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(self->_teamMemberId); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listMemberDevices:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team devicesListMemberDevices:_teamMemberId] +- (void)listMemberDevices:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team devicesListMemberDevices:_teamMemberId] setResponseBlock:^(DBTEAMListMemberDevicesResult *result, DBTEAMListMemberDevicesError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)listMembersDevices:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team devicesListMembersDevices] +- (void)listMembersDevices:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team devicesListMembersDevices] setResponseBlock:^(DBTEAMListMembersDevicesResult *result, DBTEAMListMembersDevicesError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)linkedAppsListMemberLinkedApps:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team linkedAppsListMemberLinkedApps:_teamMemberId] +- (void)linkedAppsListMemberLinkedApps:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team linkedAppsListMemberLinkedApps:_teamMemberId] setResponseBlock:^(DBTEAMListMemberAppsResult *result, DBTEAMListMemberAppsError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)linkedAppsListMembersLinkedApps:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team linkedAppsListMembersLinkedApps] +- (void)linkedAppsListMembersLinkedApps:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team linkedAppsListMembersLinkedApps] setResponseBlock:^(DBTEAMListMembersAppsResult *result, DBTEAMListMembersAppsError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)getInfo:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team getInfo] setResponseBlock:^(DBTEAMTeamGetInfoResult *result, DBNilObject *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)reportsGetActivity:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSCalendar *calendar = [NSCalendar currentCalendar]; - NSDate *twoDaysAgo = [calendar dateByAddingUnit:NSCalendarUnitDay value:-2 toDate:[NSDate new] options:0]; - [[[_tester.team reportsGetActivity:twoDaysAgo endDate:[NSDate new]] - setResponseBlock:^(DBTEAMGetActivityReport *result, DBTEAMDateRangeError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)reportsGetDevices:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSCalendar *calendar = [NSCalendar currentCalendar]; - NSDate *twoDaysAgo = [calendar dateByAddingUnit:NSCalendarUnitDay value:-2 toDate:[NSDate new] options:0]; - [[[_tester.team reportsGetDevices:twoDaysAgo endDate:[NSDate new]] - setResponseBlock:^(DBTEAMGetDevicesReport *result, DBTEAMDateRangeError *routeError, DBRequestError *error) { +- (void)getInfo:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team getInfo] setResponseBlock:^(DBTEAMTeamGetInfoResult *result, DBNilObject *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)reportsGetMembership:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSCalendar *calendar = [NSCalendar currentCalendar]; - NSDate *twoDaysAgo = [calendar dateByAddingUnit:NSCalendarUnitDay value:-2 toDate:[NSDate new] options:0]; - [[[_tester.team reportsGetMembership:twoDaysAgo endDate:[NSDate new]] - setResponseBlock:^(DBTEAMGetMembershipReport *result, DBTEAMDateRangeError *routeError, DBRequestError *error) { +/** + Permission: TEAM member management + */ + +- (void)groupsCreate:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team groupsCreate:_tester.testData.groupName + addCreatorAsOwner:@NO + groupExternalId:_tester.testData.groupExternalId + groupManagementType:[[DBTEAMCOMMONGroupManagementType alloc] initWithUserManaged]] + setResponseBlock:^(DBTEAMGroupFullInfo *result, DBTEAMGroupCreateError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)reportsGetStorage:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - NSCalendar *calendar = [NSCalendar currentCalendar]; - NSDate *twoDaysAgo = [calendar dateByAddingUnit:NSCalendarUnitDay value:-2 toDate:[NSDate new] options:0]; - [[[_tester.team reportsGetStorage:twoDaysAgo endDate:[NSDate new]] - setResponseBlock:^(DBTEAMGetStorageReport *result, DBTEAMDateRangeError *routeError, DBRequestError *error) { +- (void)groupsGetInfo:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMGroupsSelector *groupsSelector = + [[DBTEAMGroupsSelector alloc] initWithGroupExternalIds:@[ _tester.testData.groupExternalId ]]; + [[[_tester.team groupsGetInfo:groupsSelector] + setResponseBlock:^(NSArray *result, DBTEAMGroupsGetInfoError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -/** - Permission: TEAM member management - */ - -- (void)groupsCreate:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team groupsCreate:_tester.testData.groupName - groupExternalId:_tester.testData.groupExternalId - groupManagementType:nil] - setResponseBlock:^(DBTEAMGroupFullInfo *result, DBTEAMGroupCreateError *routeError, DBRequestError *error) { +- (void)groupsList:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team groupsList] setResponseBlock:^(DBTEAMGroupsListResult *result, DBNilObject *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)groupsGetInfo:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMGroupsSelector *groupsSelector = - [[DBTEAMGroupsSelector alloc] initWithGroupExternalIds:@[ _tester.testData.groupExternalId ]]; - [[[_tester.team groupsGetInfo:groupsSelector] - setResponseBlock:^(NSArray *result, DBTEAMGroupsGetInfoError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)groupsList:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team groupsList] setResponseBlock:^(DBTEAMGroupsListResult *result, DBNilObject *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)groupsMembersAdd:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMGroupSelector *groupSelector = - [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; - DBTEAMUserSelectorArg *userSelectorArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId]; - DBTEAMGroupAccessType *accessType = [[DBTEAMGroupAccessType alloc] initWithMember]; - DBTEAMMemberAccess *memberAccess = [[DBTEAMMemberAccess alloc] initWithUser:userSelectorArg accessType:accessType]; - [[[_tester.team groupsMembersAdd:groupSelector members:@[ memberAccess ]] +- (void)groupsMembersAdd:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMGroupSelector *groupSelector = + [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; + DBTEAMUserSelectorArg *userSelectorArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId]; + DBTEAMGroupAccessType *accessType = [[DBTEAMGroupAccessType alloc] initWithMember]; + DBTEAMMemberAccess *memberAccess = [[DBTEAMMemberAccess alloc] initWithUser:userSelectorArg accessType:accessType]; + [[[_tester.team groupsMembersAdd:groupSelector members:@[ memberAccess ]] setResponseBlock:^(DBTEAMGroupMembersChangeResult *result, DBTEAMGroupMembersAddError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)groupsMembersList:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMGroupSelector *groupSelector = - [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; - [[[_tester.team groupsMembersList:groupSelector] +- (void)groupsMembersList:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMGroupSelector *groupSelector = + [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; + [[[_tester.team groupsMembersList:groupSelector] setResponseBlock:^(DBTEAMGroupsMembersListResult *result, DBTEAMGroupSelectorError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)groupsUpdate:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMGroupSelector *groupSelector = - [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; - [[[_tester.team groupsUpdate:groupSelector - returnMembers:nil - dNewGroupName:@"New Group Name" - dNewGroupExternalId:nil - dNewGroupManagementType:nil] + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)groupsUpdate:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMGroupSelector *groupSelector = + [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; + NSString *newGroupName = [NSString stringWithFormat:@"%@%@", @"New Group Name", _tester.testData.testIdTeam]; + [[[_tester.team groupsUpdate:groupSelector + returnMembers:nil + dNewGroupName:newGroupName + dNewGroupExternalId:nil + dNewGroupManagementType:nil] setResponseBlock:^(DBTEAMGroupFullInfo *result, DBTEAMGroupUpdateError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)groupsDelete:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - void (^jobStatus)(NSString *) = ^(NSString *jobId) { - [[[_tester.team groupsJobStatusGet:jobId] - setResponseBlock:^(DBASYNCPollEmptyResult *result, DBTEAMGroupsPollError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); +- (void)checkGroupDeleteStatus:(NSString *)jobId nextTest:(void (^)(void))nextTest retryCount:(int)retryCount { + [[[self->_tester.team groupsJobStatusGet:jobId] + setResponseBlock:^(DBASYNCPollEmptyResult *result, DBTEAMGroupsPollError *routeError, DBRequestError *error) { + if (result) { if ([result isInProgress]) { - [TestFormat abort:error routeError:routeError]; + if (retryCount == 0) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"Waiting for deletion..."]; + sleep(1); + [self checkGroupDeleteStatus:jobId nextTest:nextTest retryCount:retryCount - 1]; } else { - [TestFormat printOffset:@"Deleted"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Deleted"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - } else { + } else { [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - DBTEAMGroupSelector *groupSelector = - [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; - [[[_tester.team groupsDelete:groupSelector] +- (void)groupsDelete:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + void (^jobStatus)(NSString *) = ^(NSString *jobId) { + [self checkGroupDeleteStatus:jobId nextTest:nextTest retryCount:3]; + }; + + DBTEAMGroupSelector *groupSelector = + [[DBTEAMGroupSelector alloc] initWithGroupExternalId:_tester.testData.groupExternalId]; + [[[_tester.team groupsDelete:groupSelector] setResponseBlock:^(DBASYNCLaunchEmptyResult *result, DBTEAMGroupDeleteError *routeError, DBRequestError *error) { if (result) { - if ([result isAsyncJobId]) { - [TestFormat printOffset:@"Waiting for deletion..."]; - sleep(1); - jobStatus(result.asyncJobId); - } else if ([result isComplete]) { - [TestFormat printOffset:@"Deleted"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } + if ([result isAsyncJobId]) { + [TestFormat printOffset:@"Waiting for deletion..."]; + sleep(1); + jobStatus(result.asyncJobId); + } else if ([result isComplete]) { + [TestFormat printOffset:@"Deleted"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersAdd:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - void (^jobStatus)(NSString *) = ^(NSString *jobId) { - [[[_tester.team membersAddJobStatusGet:jobId] - setResponseBlock:^(DBTEAMMembersAddJobStatus *result, DBASYNCPollError *routeError, DBRequestError *error) { - if (result) { - MyLog(@"%@\n", result); - if ([result isInProgress]) { - [TestFormat abort:error routeError:routeError]; - } else if ([result isComplete]) { - DBTEAMMemberAddResult *addResult = result.complete[0]; - if ([addResult isSuccess]) { - _teamMemberId2 = addResult.success.profile.teamMemberId; - } else { +- (void)membersAdd:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + void (^jobStatus)(NSString *) = ^(NSString *jobId) { + [[[self->_tester.team membersAddJobStatusGet:jobId] + setResponseBlock:^(DBTEAMMembersAddJobStatus *result, DBASYNCPollError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + if ([result isInProgress]) { + [TestFormat abort:error routeError:routeError]; + } else if ([result isComplete]) { + DBTEAMMemberAddResult *addResult = result.complete[0]; + if ([addResult isSuccess]) { + self->_teamMemberId2 = addResult.success.profile.teamMemberId; + } else { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"Member added"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } + } else { [TestFormat abort:error routeError:routeError]; - } - [TestFormat printOffset:@"Member added"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); } - } else { - [TestFormat abort:error routeError:routeError]; - } } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; - }; - - DBTEAMMemberAddArg *memberAddArg = [[DBTEAMMemberAddArg alloc] initWithMemberEmail:_tester.testData.teamMemberNewEmail]; - [[[_tester.team membersAdd:@[ memberAddArg ]] + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + }; + + DBTEAMMemberAddArg *memberAddArg = [[DBTEAMMemberAddArg alloc] initWithMemberEmail:_tester.testData.teamMemberNewEmail]; + [[[_tester.team membersAdd:@[ memberAddArg ]] setResponseBlock:^(DBTEAMMembersAddLaunch *result, DBNilObject *routeError, DBRequestError *error) { if (result) { - if ([result isAsyncJobId]) { - [TestFormat printOffset:@"Result incomplete..."]; - jobStatus(result.asyncJobId); - } else if ([result isComplete]) { - DBTEAMMemberAddResult *addResult = result.complete[0]; - if ([addResult isSuccess]) { - _teamMemberId2 = addResult.success.profile.teamMemberId; - } else if (![addResult isUserAlreadyOnTeam]) { - [TestFormat abort:error routeError:routeError]; + if ([result isAsyncJobId]) { + [TestFormat printOffset:@"Result incomplete..."]; + jobStatus(result.asyncJobId); + } else if ([result isComplete]) { + DBTEAMMemberAddResult *addResult = result.complete[0]; + if ([addResult isSuccess]) { + self->_teamMemberId2 = addResult.success.profile.teamMemberId; + } else if (![addResult isUserAlreadyOnTeam]) { + [TestFormat abort:error routeError:routeError]; + } + [TestFormat printOffset:@"Member added"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } - [TestFormat printOffset:@"Member added"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersGetInfo:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithEmail:_tester.testData.teamMemberNewEmail]; - [[[_tester.team membersGetInfo:@[ userSelectArg ]] +- (void)membersGetInfo:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithEmail:_tester.testData.teamMemberNewEmail]; + [[[_tester.team membersGetInfo:@[ userSelectArg ]] setResponseBlock:^(NSArray *result, DBTEAMMembersGetInfoError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - _teamMemberId2 = result[0].memberInfo.profile.teamMemberId; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + self->_teamMemberId2 = result[0].memberInfo.profile.teamMemberId; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersList:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - [[[_tester.team membersList:[NSNumber numberWithInt:2] includeRemoved:nil] +- (void)membersList:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + [[[_tester.team membersList:[NSNumber numberWithInt:2] includeRemoved:nil] setResponseBlock:^(DBTEAMMembersListResult *result, DBTEAMMembersListError *routeError, DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; +} + +- (void)membersListDevices:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + [[[_tester.team devicesListMembersDevices] + setResponseBlock:^(DBTEAMListMembersDevicesResult *result, DBTEAMListMembersDevicesError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersSendWelcomeEmail:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId]; - [[[_tester.team membersSendWelcomeEmail:userSelectArg] +- (void)membersSendWelcomeEmail:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId]; + [[[_tester.team membersSendWelcomeEmail:userSelectArg] setResponseBlock:^(DBNilObject *result, DBTEAMMembersSendWelcomeError *routeError, DBRequestError *error) { if (!error) { - [TestFormat printOffset:@"Welcome email sent!"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + [TestFormat printOffset:@"Welcome email sent!"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersSetAdminPermissions:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; - DBTEAMAdminTier *dNewRole = [[DBTEAMAdminTier alloc] initWithTeamAdmin]; - [[[_tester.team membersSetAdminPermissions:userSelectArg dNewRole:dNewRole] +- (void)membersSetAdminPermissions:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; + DBTEAMAdminTier *dNewRole = [[DBTEAMAdminTier alloc] initWithTeamAdmin]; + [[[_tester.team membersSetAdminPermissions:userSelectArg dNewRole:dNewRole] setResponseBlock:^(DBTEAMMembersSetPermissionsResult *result, DBTEAMMembersSetPermissionsError *routeError, - DBRequestError *error) { + DBRequestError *error) { if (result) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } else { - [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; -} - -- (void)membersSetProfile:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; - [[[_tester.team membersSetProfile:userSelectArg - dNewEmail:nil - dNewExternalId:nil - dNewGivenName:@"NewFirstName" - dNewSurname:nil - dNewPersistentId:nil] - setResponseBlock:^(DBTEAMTeamMemberInfo *result, DBTEAMMembersSetProfileError *routeError, DBRequestError *error) { - if (!error) { - MyLog(@"%@\n", result); - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); + MyLog(@"%@\n", result); + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } -- (void)membersRemove:(void (^)())nextTest { - [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; - - void (^jobStatus)(NSString *) = ^(NSString *jobId) { - [[[_tester.team membersRemoveJobStatusGet:jobId] - setResponseBlock:^(DBASYNCPollEmptyResult *result, DBASYNCPollError *routeError, DBRequestError *error) { - if (result) { +- (void)membersSetProfile:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; + [[[_tester.team membersSetProfile:userSelectArg + dNewEmail:nil + dNewExternalId:nil + dNewGivenName:@"NewFirstName" + dNewSurname:nil + dNewPersistentId:nil + dNewIsDirectoryRestricted:nil] + setResponseBlock:^(DBTEAMTeamMemberInfo *result, DBTEAMMembersSetProfileError *routeError, DBRequestError *error) { + if (!error) { MyLog(@"%@\n", result); - if ([result isInProgress]) { - [TestFormat abort:error routeError:routeError]; - } else if ([result isComplete]) { - [TestFormat printOffset:@"Member removed"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } - } else { + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } else { [TestFormat abort:error routeError:routeError]; - } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; }]; - }; +} - DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; - [[[_tester.team membersRemove:userSelectArg] +- (void)membersRemove:(void (^)(void))nextTest { + [TestFormat printSubTestBegin:NSStringFromSelector(_cmd)]; + + void (^jobStatus)(NSString *) = ^(NSString *jobId) { + [[[self->_tester.team membersRemoveJobStatusGet:jobId] + setResponseBlock:^(DBASYNCPollEmptyResult *result, DBASYNCPollError *routeError, DBRequestError *error) { + if (result) { + MyLog(@"%@\n", result); + if ([result isInProgress]) { + [TestFormat abort:error routeError:routeError]; + } else if ([result isComplete]) { + [TestFormat printOffset:@"Member removed"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } + } else { + [TestFormat abort:error routeError:routeError]; + } + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; + }; + + DBTEAMUserSelectorArg *userSelectArg = [[DBTEAMUserSelectorArg alloc] initWithTeamMemberId:_teamMemberId2]; + [[[_tester.team membersRemove:userSelectArg] setResponseBlock:^(DBASYNCLaunchEmptyResult *result, DBTEAMMembersRemoveError *routeError, DBRequestError *error) { if (result) { - if ([result isAsyncJobId]) { - [TestFormat printOffset:@"Result incomplete. Waiting to query status..."]; - sleep(2); - jobStatus(result.asyncJobId); - } else if ([result isComplete]) { - [TestFormat printOffset:@"Member removed"]; - [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; - nextTest(); - } + if ([result isAsyncJobId]) { + [TestFormat printOffset:@"Result incomplete. Waiting to query status..."]; + sleep(2); + jobStatus(result.asyncJobId); + } else if ([result isComplete]) { + [TestFormat printOffset:@"Member removed"]; + [TestFormat printSubTestEnd:NSStringFromSelector(_cmd)]; + nextTest(); + } } else { - [TestFormat abort:error routeError:routeError]; + [TestFormat abort:error routeError:routeError]; } - } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { - [TestFormat printSentProgress:bytesSent - totalBytesSent:totalBytesSent - totalBytesExpectedToSend:totalBytesExpectedToSend]; - }]; + } queue:[NSOperationQueue new]] setProgressBlock:^(int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { + [TestFormat printSentProgress:bytesSent + totalBytesSent:totalBytesSent + totalBytesExpectedToSend:totalBytesExpectedToSend]; + }]; } @end @@ -2275,76 +2229,80 @@ - (void)membersRemove:(void (^)())nextTest { @implementation TestFormat + (void)abort:(DBRequestError *)error routeError:(id)routeError { - [self printErrors:error routeError:routeError]; - MyLog(@"Terminating....\n"); - exit(0); + [self printErrors:error routeError:routeError]; + MyLog(@"Terminating....\n"); + NSException* myException = [NSException + exceptionWithName:@"TestFailure" + reason:[NSString stringWithFormat:@"Error: %@ RouteError: %@", error, routeError] + userInfo:nil]; + @throw myException; } + (void)printErrors:(DBRequestError *)error routeError:(id)routeError { - MyLog(@"ERROR: %@\n", error); - MyLog(@"ROUTE_ERROR: %@\n", routeError); + MyLog(@"ERROR: %@\n", error); + MyLog(@"ROUTE_ERROR: %@\n", routeError); } + (void)printSentProgress:(int64_t)bytesSent - totalBytesSent:(int64_t)totalBytesSent - totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend { - MyLog(@"PROGRESS: bytesSent:%lld totalBytesSent:%lld totalBytesExpectedToSend:%lld\n\n", bytesSent, totalBytesSent, - totalBytesExpectedToSend); + totalBytesSent:(int64_t)totalBytesSent + totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend { + MyLog(@"PROGRESS: bytesSent:%lld totalBytesSent:%lld totalBytesExpectedToSend:%lld\n\n", bytesSent, totalBytesSent, + totalBytesExpectedToSend); } + (void)printTestBegin:(NSString *)title { - [self printLargeDivider]; - [self printTitle:title]; - [self printLargeDivider]; - [self printOffset:@"Beginning....."]; + [self printLargeDivider]; + [self printTitle:title]; + [self printLargeDivider]; + [self printOffset:@"Beginning....."]; } + (void)printTestEnd { - [self printOffset:@"Test Group Completed"]; - [self printLargeDivider]; + [self printOffset:@"Test Group Completed"]; + [self printLargeDivider]; } + (void)printAllTestsEnd { - [self printLargeDivider]; - [self printOffset:@"ALL TESTS COMPLETED"]; - [self printLargeDivider]; + [self printLargeDivider]; + [self printOffset:@"ALL TESTS COMPLETED"]; + [self printLargeDivider]; } + (void)printSubTestBegin:(NSString *)title { - [self printSmallDivider]; - [self printTitle:title]; - MyLog(@"\n"); + [self printSmallDivider]; + [self printTitle:title]; + MyLog(@"\n"); } + (void)printSubTestEnd:(NSString *)result { - MyLog(@"\n"); - [self printTitle:result]; + MyLog(@"\n"); + [self printTitle:result]; } + (void)printTitle:(NSString *)title { - MyLog(@" %@\n", title); + MyLog(@" %@\n", title); } + (void)printOffset:(NSString *)str { - MyLog(@"\n"); - MyLog(@" * %@ *\n", str); - MyLog(@"\n"); + MyLog(@"\n"); + MyLog(@" * %@ *\n", str); + MyLog(@"\n"); } + (void)printSmallDivider { - NSMutableString *result = [@"" mutableCopy]; - for (int i = 0; i < smallDividerSize; i++) { - [result appendString:@"-"]; - } - MyLog(@"%@\n", result); + NSMutableString *result = [@"" mutableCopy]; + for (int i = 0; i < smallDividerSize; i++) { + [result appendString:@"-"]; + } + MyLog(@"%@\n", result); } + (void)printLargeDivider { - NSMutableString *result = [@"" mutableCopy]; - for (int i = 0; i < smallDividerSize; i++) { - [result appendString:@"-"]; - } - MyLog(@"%@\n", result); + NSMutableString *result = [@"" mutableCopy]; + for (int i = 0; i < smallDividerSize; i++) { + [result appendString:@"-"]; + } + MyLog(@"%@\n", result); } @end diff --git a/TestObjectiveDropbox/IntegrationTests/TestData.h b/TestObjectiveDropbox/IntegrationTests/TestData.h index eb3a7288b..7f6654735 100644 --- a/TestObjectiveDropbox/IntegrationTests/TestData.h +++ b/TestObjectiveDropbox/IntegrationTests/TestData.h @@ -58,18 +58,8 @@ @property(nonatomic, copy) NSString * _Nonnull teamMemberEmail; @property(nonatomic, copy) NSString * _Nonnull teamMemberNewEmail; -// OAuth 1.0 token -@property(nonatomic, copy) NSString * _Nonnull oauth1Token; -@property(nonatomic, copy) NSString * _Nonnull oauth1TokenSecret; - // App key and secret @property(nonatomic, copy) NSString * _Nonnull fullDropboxAppKey; @property(nonatomic, copy) NSString * _Nonnull fullDropboxAppSecret; -@property(nonatomic, copy) NSString * _Nonnull teamMemberFileAccessAppKey; -@property(nonatomic, copy) NSString * _Nonnull teamMemberFileAccessAppSecret; - -@property(nonatomic, copy) NSString * _Nonnull teamMemberManagementAppKey; -@property(nonatomic, copy) NSString * _Nonnull teamMemberManagementAppSecret; - @end diff --git a/TestObjectiveDropbox/IntegrationTests/TestData.m b/TestObjectiveDropbox/IntegrationTests/TestData.m index 76d74216b..98bc1cd24 100644 --- a/TestObjectiveDropbox/IntegrationTests/TestData.m +++ b/TestObjectiveDropbox/IntegrationTests/TestData.m @@ -46,20 +46,10 @@ - (instancetype)init { // personal team data _teamMemberEmail = @""; _teamMemberNewEmail = @""; - - // OAuth 1.0 token - _oauth1Token = @""; - _oauth1TokenSecret = @""; - + // App key and secret _fullDropboxAppKey = @""; _fullDropboxAppSecret = @""; - - _teamMemberFileAccessAppKey = @""; - _teamMemberFileAccessAppSecret = @""; - - _teamMemberManagementAppKey = @""; - _teamMemberManagementAppSecret = @""; } return self; } diff --git a/TestObjectiveDropbox/Podfile b/TestObjectiveDropbox/Podfile index 342c8b24a..fb62e01e7 100644 --- a/TestObjectiveDropbox/Podfile +++ b/TestObjectiveDropbox/Podfile @@ -1,11 +1,17 @@ use_frameworks! target "TestObjectiveDropbox_iOS" do - platform :ios, '9.0' + platform :ios, '12.0' pod 'ObjectiveDropboxOfficial', :path => '../' + target "TestObjectiveDropbox_iOSTests" do + pod 'ObjectiveDropboxOfficial', :path => '../' + end end target "TestObjectiveDropbox_macOS" do - platform :osx, '10.10' + platform :osx, '10.13' pod 'ObjectiveDropboxOfficial', :path => '../' + target "TestObjectiveDropbox_macOSTests" do + pod 'ObjectiveDropboxOfficial', :path => '../' + end end diff --git a/TestObjectiveDropbox/Podfile.lock b/TestObjectiveDropbox/Podfile.lock index 312da9563..25e40610c 100644 --- a/TestObjectiveDropbox/Podfile.lock +++ b/TestObjectiveDropbox/Podfile.lock @@ -1,16 +1,16 @@ PODS: - - ObjectiveDropboxOfficial (3.6.0) + - ObjectiveDropboxOfficial (7.0.0) DEPENDENCIES: - ObjectiveDropboxOfficial (from `../`) EXTERNAL SOURCES: ObjectiveDropboxOfficial: - :path: ../ + :path: "../" SPEC CHECKSUMS: - ObjectiveDropboxOfficial: f858d4f55c455e3d226cd8b1637a7617f6abd9d1 + ObjectiveDropboxOfficial: cf39e37372f59c270aad869604dce20f11b877f5 -PODFILE CHECKSUM: ab0212b4bace4758ed2e1292c4087eec901dc0dc +PODFILE CHECKSUM: 34ac610e6620890c744476957559b5cef359d526 -COCOAPODS: 1.3.1 +COCOAPODS: 1.11.3 diff --git a/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/project.pbxproj b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/project.pbxproj index 589af9376..f7357779a 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/project.pbxproj +++ b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/project.pbxproj @@ -7,7 +7,18 @@ objects = { /* Begin PBXBuildFile section */ + 0C1D1D6D26005BF800C88B6F /* FileRoutesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C1D1D6C26005BF800C88B6F /* FileRoutesTests.m */; }; + 0C1FE6622603032300D879BB /* FileRoutesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C1D1D6C26005BF800C88B6F /* FileRoutesTests.m */; }; + 0C40FBEC260324C000D07F24 /* TestData.m in Sources */ = {isa = PBXBuildFile; fileRef = F236816A1DEF672800D523C5 /* TestData.m */; }; + 0C40FBF1260324C100D07F24 /* TestData.m in Sources */ = {isa = PBXBuildFile; fileRef = F236816A1DEF672800D523C5 /* TestData.m */; }; + 0C40FC02260533B300D07F24 /* TeamRoutesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C40FC01260533B300D07F24 /* TeamRoutesTests.m */; }; + 0C40FC03260533B300D07F24 /* TeamRoutesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C40FC01260533B300D07F24 /* TeamRoutesTests.m */; }; + 0C8B8AE0260B008E00B3522B /* TestAuthTokenGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8B8ADF260B008D00B3522B /* TestAuthTokenGenerator.m */; }; + 0C8B8AE1260B008E00B3522B /* TestAuthTokenGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8B8ADF260B008D00B3522B /* TestAuthTokenGenerator.m */; }; 1BC94474BAF7A7BB8B521568 /* Pods_TestObjectiveDropbox_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E61D8320FDA365F90A8004D /* Pods_TestObjectiveDropbox_iOS.framework */; }; + 7D591876B62B5B205035C8E9 /* Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D55835BD704F9EAAB8E89FB /* Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework */; }; + 85BF03CE2981C2B900350891 /* TestAsciiEncoding.m in Sources */ = {isa = PBXBuildFile; fileRef = 85BF03CD2981C2B900350891 /* TestAsciiEncoding.m */; }; + BCDD1285CB9359806B4DEF2A /* Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B0A70443E73CD2045DC5577 /* Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework */; }; CB3E70120855B4B1ABCFF719 /* Pods_TestObjectiveDropbox_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF03FDC09CC9F1D2179AB000 /* Pods_TestObjectiveDropbox_macOS.framework */; }; F23681561DEF647900D523C5 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F23681551DEF647900D523C5 /* AppDelegate.m */; }; F23681591DEF647900D523C5 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F23681581DEF647900D523C5 /* main.m */; }; @@ -16,8 +27,6 @@ F23681611DEF647900D523C5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F236815F1DEF647900D523C5 /* Main.storyboard */; }; F236816B1DEF672800D523C5 /* TestClasses.m in Sources */ = {isa = PBXBuildFile; fileRef = F23681681DEF672800D523C5 /* TestClasses.m */; }; F236816C1DEF672800D523C5 /* TestClasses.m in Sources */ = {isa = PBXBuildFile; fileRef = F23681681DEF672800D523C5 /* TestClasses.m */; }; - F236816D1DEF672800D523C5 /* TestData.m in Sources */ = {isa = PBXBuildFile; fileRef = F236816A1DEF672800D523C5 /* TestData.m */; }; - F236816E1DEF672800D523C5 /* TestData.m in Sources */ = {isa = PBXBuildFile; fileRef = F236816A1DEF672800D523C5 /* TestData.m */; }; F27BA8091D63BBA100FB7864 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F27BA8081D63BBA100FB7864 /* main.m */; }; F27BA80C1D63BBA100FB7864 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F27BA80B1D63BBA100FB7864 /* AppDelegate.m */; }; F27BA8121D63BBA100FB7864 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F27BA8101D63BBA100FB7864 /* Main.storyboard */; }; @@ -26,11 +35,42 @@ F29BFD911D66290500994345 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F27BA80E1D63BBA100FB7864 /* ViewController.m */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 0C1FE6552603031100D879BB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F27BA7FC1D63BBA100FB7864 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F23681511DEF647900D523C5; + remoteInfo = TestObjectiveDropbox_macOS; + }; + 0C8ACA002600436100DE08FF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F27BA7FC1D63BBA100FB7864 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F27BA8031D63BBA100FB7864; + remoteInfo = TestObjectiveDropbox_iOS; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXFileReference section */ + 0C1D1D6C26005BF800C88B6F /* FileRoutesTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FileRoutesTests.m; sourceTree = ""; }; + 0C1FE6502603031100D879BB /* TestObjectiveDropbox_macOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestObjectiveDropbox_macOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 0C1FE6542603031100D879BB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 0C40FC01260533B300D07F24 /* TeamRoutesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TeamRoutesTests.m; sourceTree = ""; }; + 0C8AC9FB2600436100DE08FF /* TestObjectiveDropbox_iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TestObjectiveDropbox_iOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 0C8AC9FF2600436100DE08FF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 0C8B8ADF260B008D00B3522B /* TestAuthTokenGenerator.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TestAuthTokenGenerator.m; sourceTree = ""; }; + 0C8B8AE6260B016200B3522B /* TestAuthTokenGenerator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestAuthTokenGenerator.h; sourceTree = ""; }; + 3D55835BD704F9EAAB8E89FB /* Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 40563F1CA15355CA626FA520 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.debug.xcconfig"; sourceTree = ""; }; + 58BC6BCB40B840121E9A6B62 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.release.xcconfig"; sourceTree = ""; }; 5E61D8320FDA365F90A8004D /* Pods_TestObjectiveDropbox_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TestObjectiveDropbox_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 6554325D0AB7E5A7E226CCED /* Pods-TestObjectiveDropbox_macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_macOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS.debug.xcconfig"; sourceTree = ""; }; 65F9D9B80A170147CA9887A7 /* Pods-TestObjectiveDropbox_iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS.debug.xcconfig"; sourceTree = ""; }; 6874E63CE61C80116147AFB0 /* Pods-TestObjectiveDropbox_macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_macOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS.release.xcconfig"; sourceTree = ""; }; + 6B0A70443E73CD2045DC5577 /* Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 73F1A4955BD1AAF3362871A6 /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.debug.xcconfig"; sourceTree = ""; }; + 85BF03CD2981C2B900350891 /* TestAsciiEncoding.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TestAsciiEncoding.m; sourceTree = ""; }; E9403DCD149530530F654EE7 /* Pods-TestObjectiveDropbox_iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS.release.xcconfig"; sourceTree = ""; }; EF03FDC09CC9F1D2179AB000 /* Pods_TestObjectiveDropbox_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TestObjectiveDropbox_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F23681521DEF647900D523C5 /* TestObjectiveDropbox_macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestObjectiveDropbox_macOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -58,9 +98,26 @@ F27BA8161D63BBA100FB7864 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; F27BA8181D63BBA100FB7864 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F2A2CEBC1E567499001D8449 /* TestAppType.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestAppType.h; sourceTree = ""; }; + F9D311DFBE6B027F6076CB5E /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 0C1FE64D2603031100D879BB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BCDD1285CB9359806B4DEF2A /* Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0C8AC9F82600436100DE08FF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7D591876B62B5B205035C8E9 /* Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; F236814F1DEF647900D523C5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -85,10 +142,33 @@ children = ( 5E61D8320FDA365F90A8004D /* Pods_TestObjectiveDropbox_iOS.framework */, EF03FDC09CC9F1D2179AB000 /* Pods_TestObjectiveDropbox_macOS.framework */, + 3D55835BD704F9EAAB8E89FB /* Pods_TestObjectiveDropbox_iOS_TestObjectiveDropbox_iOSTests.framework */, + 6B0A70443E73CD2045DC5577 /* Pods_TestObjectiveDropbox_macOS_TestObjectiveDropbox_macOSTests.framework */, ); name = Frameworks; sourceTree = ""; }; + 0C1FE6512603031100D879BB /* TestObjectiveDropbox_macOSTests */ = { + isa = PBXGroup; + children = ( + 0C1FE6542603031100D879BB /* Info.plist */, + ); + path = TestObjectiveDropbox_macOSTests; + sourceTree = ""; + }; + 0C8AC9FC2600436100DE08FF /* TestObjectiveDropbox_iOSTests */ = { + isa = PBXGroup; + children = ( + 0C1D1D6C26005BF800C88B6F /* FileRoutesTests.m */, + 0C8AC9FF2600436100DE08FF /* Info.plist */, + 0C40FC01260533B300D07F24 /* TeamRoutesTests.m */, + 0C8B8ADF260B008D00B3522B /* TestAuthTokenGenerator.m */, + 0C8B8AE6260B016200B3522B /* TestAuthTokenGenerator.h */, + 85BF03CD2981C2B900350891 /* TestAsciiEncoding.m */, + ); + path = TestObjectiveDropbox_iOSTests; + sourceTree = ""; + }; 92BE4CA0BA790784BB41BE84 /* Pods */ = { isa = PBXGroup; children = ( @@ -96,6 +176,10 @@ E9403DCD149530530F654EE7 /* Pods-TestObjectiveDropbox_iOS.release.xcconfig */, 6554325D0AB7E5A7E226CCED /* Pods-TestObjectiveDropbox_macOS.debug.xcconfig */, 6874E63CE61C80116147AFB0 /* Pods-TestObjectiveDropbox_macOS.release.xcconfig */, + 73F1A4955BD1AAF3362871A6 /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.debug.xcconfig */, + F9D311DFBE6B027F6076CB5E /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.release.xcconfig */, + 40563F1CA15355CA626FA520 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.debug.xcconfig */, + 58BC6BCB40B840121E9A6B62 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.release.xcconfig */, ); name = Pods; sourceTree = ""; @@ -141,6 +225,8 @@ F23681661DEF672800D523C5 /* IntegrationTests */, F27BA8061D63BBA100FB7864 /* TestObjectiveDropbox_iOS */, F23681531DEF647900D523C5 /* TestObjectiveDropbox_macOS */, + 0C8AC9FC2600436100DE08FF /* TestObjectiveDropbox_iOSTests */, + 0C1FE6512603031100D879BB /* TestObjectiveDropbox_macOSTests */, F27BA8051D63BBA100FB7864 /* Products */, 92BE4CA0BA790784BB41BE84 /* Pods */, 017405FC24A1CAB655318F53 /* Frameworks */, @@ -152,6 +238,8 @@ children = ( F27BA8041D63BBA100FB7864 /* TestObjectiveDropbox_iOS.app */, F23681521DEF647900D523C5 /* TestObjectiveDropbox_macOS.app */, + 0C8AC9FB2600436100DE08FF /* TestObjectiveDropbox_iOSTests.xctest */, + 0C1FE6502603031100D879BB /* TestObjectiveDropbox_macOSTests.xctest */, ); name = Products; sourceTree = ""; @@ -184,6 +272,46 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 0C1FE64F2603031100D879BB /* TestObjectiveDropbox_macOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0C1FE6592603031100D879BB /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_macOSTests" */; + buildPhases = ( + 977905C78158C5B09EEB79AB /* [CP] Check Pods Manifest.lock */, + 0C1FE64C2603031100D879BB /* Sources */, + 0C1FE64D2603031100D879BB /* Frameworks */, + 0C1FE64E2603031100D879BB /* Resources */, + 766C344626877864F8FE2198 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 0C1FE6562603031100D879BB /* PBXTargetDependency */, + ); + name = TestObjectiveDropbox_macOSTests; + productName = TestObjectiveDropbox_macOSTests; + productReference = 0C1FE6502603031100D879BB /* TestObjectiveDropbox_macOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 0C8AC9FA2600436100DE08FF /* TestObjectiveDropbox_iOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0C8ACA022600436100DE08FF /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_iOSTests" */; + buildPhases = ( + 734E96A937D7B6C649E665C0 /* [CP] Check Pods Manifest.lock */, + 0C8AC9F72600436100DE08FF /* Sources */, + 0C8AC9F82600436100DE08FF /* Frameworks */, + 0C8AC9F92600436100DE08FF /* Resources */, + 7D898F5BF97042BCF0B78572 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 0C8ACA012600436100DE08FF /* PBXTargetDependency */, + ); + name = TestObjectiveDropbox_iOSTests; + productName = TestObjectiveDropbox_iOSTests; + productReference = 0C8AC9FB2600436100DE08FF /* TestObjectiveDropbox_iOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; F23681511DEF647900D523C5 /* TestObjectiveDropbox_macOS */ = { isa = PBXNativeTarget; buildConfigurationList = F23681651DEF647900D523C5 /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_macOS" */; @@ -193,7 +321,6 @@ F236814F1DEF647900D523C5 /* Frameworks */, F23681501DEF647900D523C5 /* Resources */, 4AC4AA10EFC0A2DD5135EAEF /* [CP] Embed Pods Frameworks */, - CF980C74A7CFA2EDC0C71F61 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -213,7 +340,6 @@ F27BA8011D63BBA100FB7864 /* Frameworks */, F27BA8021D63BBA100FB7864 /* Resources */, 7A03DFCDE9686959E9D77EEE /* [CP] Embed Pods Frameworks */, - 871E2EBFE760A7DFFA12549C /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -230,9 +356,19 @@ F27BA7FC1D63BBA100FB7864 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0800; + LastUpgradeCheck = 1400; ORGANIZATIONNAME = Dropbox; TargetAttributes = { + 0C1FE64F2603031100D879BB = { + CreatedOnToolsVersion = 12.4; + ProvisioningStyle = Automatic; + TestTargetID = F23681511DEF647900D523C5; + }; + 0C8AC9FA2600436100DE08FF = { + CreatedOnToolsVersion = 12.4; + ProvisioningStyle = Automatic; + TestTargetID = F27BA8031D63BBA100FB7864; + }; F23681511DEF647900D523C5 = { CreatedOnToolsVersion = 8.1; ProvisioningStyle = Automatic; @@ -251,7 +387,7 @@ }; buildConfigurationList = F27BA7FF1D63BBA100FB7864 /* Build configuration list for PBXProject "TestObjectiveDropbox" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -264,11 +400,27 @@ targets = ( F27BA8031D63BBA100FB7864 /* TestObjectiveDropbox_iOS */, F23681511DEF647900D523C5 /* TestObjectiveDropbox_macOS */, + 0C8AC9FA2600436100DE08FF /* TestObjectiveDropbox_iOSTests */, + 0C1FE64F2603031100D879BB /* TestObjectiveDropbox_macOSTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 0C1FE64E2603031100D879BB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0C8AC9F92600436100DE08FF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; F23681501DEF647900D523C5 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -297,7 +449,7 @@ files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-frameworks.sh", "${BUILT_PRODUCTS_DIR}/ObjectiveDropboxOfficial-macOS/ObjectiveDropboxOfficial.framework", ); name = "[CP] Embed Pods Frameworks"; @@ -306,7 +458,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 56C316FB7069A8BE25E87E41 /* [CP] Check Pods Manifest.lock */ = { @@ -327,13 +479,53 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 734E96A937D7B6C649E665C0 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 766C344626877864F8FE2198 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/ObjectiveDropboxOfficial-macOS/ObjectiveDropboxOfficial.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectiveDropboxOfficial.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 7A03DFCDE9686959E9D77EEE /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-frameworks.sh", + "${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-frameworks.sh", "${BUILT_PRODUCTS_DIR}/ObjectiveDropboxOfficial-iOS/ObjectiveDropboxOfficial.framework", ); name = "[CP] Embed Pods Frameworks"; @@ -342,67 +534,98 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 871E2EBFE760A7DFFA12549C /* [CP] Copy Pods Resources */ = { + 7D898F5BF97042BCF0B78572 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/ObjectiveDropboxOfficial-iOS/ObjectiveDropboxOfficial.framework", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectiveDropboxOfficial.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_iOS/Pods-TestObjectiveDropbox_iOS-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests/Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - A869A6A9C6E78EBA3DB6CAA1 /* [CP] Check Pods Manifest.lock */ = { + 977905C78158C5B09EEB79AB /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( "${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_macOS-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - CF980C74A7CFA2EDC0C71F61 /* [CP] Copy Pods Resources */ = { + A869A6A9C6E78EBA3DB6CAA1 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-TestObjectiveDropbox_macOS-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestObjectiveDropbox_macOS/Pods-TestObjectiveDropbox_macOS-resources.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 0C1FE64C2603031100D879BB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0C8B8AE1260B008E00B3522B /* TestAuthTokenGenerator.m in Sources */, + 0C40FC03260533B300D07F24 /* TeamRoutesTests.m in Sources */, + 0C1FE6622603032300D879BB /* FileRoutesTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0C8AC9F72600436100DE08FF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0C8B8AE0260B008E00B3522B /* TestAuthTokenGenerator.m in Sources */, + 0C40FC02260533B300D07F24 /* TeamRoutesTests.m in Sources */, + 85BF03CE2981C2B900350891 /* TestAsciiEncoding.m in Sources */, + 0C1D1D6D26005BF800C88B6F /* FileRoutesTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; F236814E1DEF647900D523C5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( F236815C1DEF647900D523C5 /* ViewController.m in Sources */, F23681591DEF647900D523C5 /* main.m in Sources */, - F236816E1DEF672800D523C5 /* TestData.m in Sources */, + 0C40FBF1260324C100D07F24 /* TestData.m in Sources */, F236816C1DEF672800D523C5 /* TestClasses.m in Sources */, F23681561DEF647900D523C5 /* AppDelegate.m in Sources */, ); @@ -414,7 +637,7 @@ files = ( F29BFD911D66290500994345 /* ViewController.m in Sources */, F27BA80C1D63BBA100FB7864 /* AppDelegate.m in Sources */, - F236816D1DEF672800D523C5 /* TestData.m in Sources */, + 0C40FBEC260324C000D07F24 /* TestData.m in Sources */, F236816B1DEF672800D523C5 /* TestClasses.m in Sources */, F27BA8091D63BBA100FB7864 /* main.m in Sources */, ); @@ -422,6 +645,19 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + 0C1FE6562603031100D879BB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F23681511DEF647900D523C5 /* TestObjectiveDropbox_macOS */; + targetProxy = 0C1FE6552603031100D879BB /* PBXContainerItemProxy */; + }; + 0C8ACA012600436100DE08FF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F27BA8031D63BBA100FB7864 /* TestObjectiveDropbox_iOS */; + targetProxy = 0C8ACA002600436100DE08FF /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin PBXVariantGroup section */ F236815F1DEF647900D523C5 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -450,6 +686,102 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 0C1FE6572603031100D879BB /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 40563F1CA15355CA626FA520 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = TestObjectiveDropbox_macOSTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.getdropbox.TestObjectiveDropbox-macOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestObjectiveDropbox_macOS.app/Contents/MacOS/TestObjectiveDropbox_macOS"; + }; + name = Debug; + }; + 0C1FE6582603031100D879BB /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 58BC6BCB40B840121E9A6B62 /* Pods-TestObjectiveDropbox_macOS-TestObjectiveDropbox_macOSTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = TestObjectiveDropbox_macOSTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.getdropbox.TestObjectiveDropbox-macOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestObjectiveDropbox_macOS.app/Contents/MacOS/TestObjectiveDropbox_macOS"; + }; + name = Release; + }; + 0C8ACA032600436100DE08FF /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 73F1A4955BD1AAF3362871A6 /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = TestObjectiveDropbox_iOSTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.getdropbox.TestObjectiveDropbox-iOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestObjectiveDropbox_iOS.app/TestObjectiveDropbox_iOS"; + }; + name = Debug; + }; + 0C8ACA042600436100DE08FF /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F9D311DFBE6B027F6076CB5E /* Pods-TestObjectiveDropbox_iOS-TestObjectiveDropbox_iOSTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = TestObjectiveDropbox_iOSTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.getdropbox.TestObjectiveDropbox-iOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TestObjectiveDropbox_iOS.app/TestObjectiveDropbox_iOS"; + }; + name = Release; + }; F23681631DEF647900D523C5 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 6554325D0AB7E5A7E226CCED /* Pods-TestObjectiveDropbox_macOS.debug.xcconfig */; @@ -461,7 +793,7 @@ COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = TestObjectiveDropbox_macOS/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-macOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; @@ -479,7 +811,7 @@ COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = TestObjectiveDropbox_macOS/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-macOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; @@ -490,19 +822,28 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -525,7 +866,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -537,19 +878,28 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -566,7 +916,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -585,7 +935,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = NX6T6UBSFF; INFOPLIST_FILE = TestObjectiveDropbox_iOS/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-iOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -603,7 +953,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DEVELOPMENT_TEAM = NX6T6UBSFF; INFOPLIST_FILE = TestObjectiveDropbox_iOS/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.dropbox.TestObjectiveDropbox-iOS-Test"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -613,6 +963,24 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 0C1FE6592603031100D879BB /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_macOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0C1FE6572603031100D879BB /* Debug */, + 0C1FE6582603031100D879BB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 0C8ACA022600436100DE08FF /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_iOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0C8ACA032600436100DE08FF /* Debug */, + 0C8ACA042600436100DE08FF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; F23681651DEF647900D523C5 /* Build configuration list for PBXNativeTarget "TestObjectiveDropbox_macOS" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_iOS.xcscheme b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_iOS.xcscheme new file mode 100644 index 000000000..b15592b63 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_iOS.xcscheme @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_macOS.xcscheme b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_macOS.xcscheme new file mode 100644 index 000000000..26c890548 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox.xcodeproj/xcshareddata/xcschemes/TestObjectiveDropbox_macOS.xcscheme @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m index 3daa31115..419f2abb1 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m @@ -19,11 +19,15 @@ @interface AppDelegate () @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + if([[NSProcessInfo processInfo] environment][@"XCTestConfigurationFilePath"] != nil) { + // running unit tests + self.window.rootViewController = [[UIViewController alloc] init]; + return YES; + } + TestData *data = [TestData new]; - if ([data.fullDropboxAppSecret containsString:@"<"] || - [data.teamMemberFileAccessAppKey containsString:@"<"] || - [data.teamMemberManagementAppKey containsString:@"<"]) { + if ([data.fullDropboxAppSecret containsString:@"<"]) { NSLog(@"\n\n\nMust set test data (in TestData.h) before launching app.\n\n\nTerminating.....\n\n"); exit(0); } @@ -45,10 +49,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( delegateQueue:[NSOperationQueue new] forceForegroundSession:NO sharedContainerIdentifier:[NSBundle mainBundle].bundleIdentifier]; - DBTransportDefaultConfig *transportConfigTeamFileAccess = - [[DBTransportDefaultConfig alloc] initWithAppKey:data.teamMemberFileAccessAppKey appSecret:data.teamMemberFileAccessAppSecret]; - DBTransportDefaultConfig *transportConfigTeamManagement = - [[DBTransportDefaultConfig alloc] initWithAppKey:data.teamMemberManagementAppKey appSecret:data.teamMemberManagementAppSecret]; void (^networkGlobalResponseBlock)(DBRequestError *, DBTask *) = ^(DBRequestError *networkError, DBTask *restartTask) { @@ -64,66 +64,20 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( [DBGlobalErrorResponseHandler registerNetworkErrorResponseBlock:networkGlobalResponseBlock]; switch (appPermission) { - case FullDropbox: + case FullDropboxScoped: [DBClientsManager setupWithTransportConfig:transportConfigFullDropbox]; break; - case TeamMemberFileAccess: - [DBClientsManager setupWithTeamTransportConfig:transportConfigTeamFileAccess]; - break; - case TeamMemberManagement: - [DBClientsManager setupWithTeamTransportConfig:transportConfigTeamManagement]; + case FullDropboxScopedForTeamTesting: + [DBClientsManager setupWithTeamTransportConfig:transportConfigFullDropbox]; break; } return YES; } -- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { - - switch (appPermission) { - case FullDropbox: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); - } else if ([authResult isCancel]) { - NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); - } else if ([authResult isError]) { - NSLog(@"\n\nError: %@\n\n", authResult); - } - } - break; - } - case TeamMemberFileAccess: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURLTeam:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - break; - } - case TeamMemberManagement: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURLTeam:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } - break; - } - } - - ViewController *mainController = (ViewController *)self.window.rootViewController; +- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { + BOOL urlHandled = NO; if ([[url absoluteString] containsString:@"openWith"]) { NSLog(@"Successfully retrieved openWith url"); @@ -132,24 +86,26 @@ - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { for (NSString *pair in pairs) { NSArray *kv = [pair componentsSeparatedByString:@"="]; - NSString *unEscapedValue = [[kv objectAtIndex:1] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; + NSString *unEscapedValue = [[kv objectAtIndex:1] stringByRemovingPercentEncoding]; [urlData setObject:unEscapedValue forKey:[kv objectAtIndex:0]]; } - DBOfficialAppConnector *connector = [[DBOfficialAppConnector alloc] initWithAppKey:[TestData new].fullDropboxAppKey - canOpenURLWrapper:^BOOL(NSURL *url) { - return [[UIApplication sharedApplication] canOpenURL:url]; - } - openURLWrapper:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + DBOfficialAppConnector *connector = [[DBOfficialAppConnector alloc] initWithAppKey:[TestData new].fullDropboxAppKey + canOpenURLWrapper:^BOOL(NSURL *url) { + return [[UIApplication sharedApplication] canOpenURL:url]; + } + openURLWrapper:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil]; + }]; DBOpenWithInfo *openWithInfo = [connector openWithInfoFromURL:url]; - [mainController setOpenWithInfoNSURL:openWithInfo]; + [((ViewController *)self.window.rootViewController) setOpenWithInfoNSURL:openWithInfo]; + urlHandled = YES; + } else { + urlHandled = [self db_handleAuthUrl:url]; } - [mainController checkButtons]; - return NO; + return urlHandled; } - (void)applicationWillResignActive:(UIApplication *)application { @@ -182,4 +138,31 @@ - (void)applicationWillTerminate:(UIApplication *)application { // applicationDidEnterBackground:. } +- (BOOL)db_handleAuthUrl:(NSURL *)url { + DBOAuthCompletion completion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); + } + } + [((ViewController *)self.window.rootViewController) checkButtons]; + }; + + BOOL handled = NO; + switch (appPermission) { + case FullDropboxScoped: { + handled = [DBClientsManager handleRedirectURL:url completion:completion]; + break; + } + case FullDropboxScopedForTeamTesting: + handled = [DBClientsManager handleRedirectURLTeam:url completion:completion]; + break; + } + return handled; +} + @end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json index 1d060ed28..9221b9bb1 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -2,92 +2,97 @@ "images" : [ { "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" + "scale" : "3x", + "size" : "20x20" }, { "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" + "scale" : "3x", + "size" : "29x29" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" + "scale" : "3x", + "size" : "40x40" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" + "scale" : "2x", + "size" : "60x60" }, { "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" + "scale" : "3x", + "size" : "60x60" }, { "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" + "scale" : "1x", + "size" : "20x20" }, { "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" + "scale" : "1x", + "size" : "29x29" }, { "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" + "scale" : "1x", + "size" : "40x40" }, { "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" + "scale" : "1x", + "size" : "76x76" }, { "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" + "scale" : "2x", + "size" : "76x76" }, { "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/Main.storyboard b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/Main.storyboard index 12ade0593..2da16de78 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/Main.storyboard +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -21,67 +19,67 @@ - - - - - - + - - + + - + diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.m index 36274af94..fa615540b 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.m +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOS/ViewController.m @@ -17,7 +17,7 @@ @interface ViewController () -@property (weak, nonatomic) IBOutlet UIButton *linkButton; +@property (weak, nonatomic) IBOutlet UIButton *codeFlowlinkButton; @property (weak, nonatomic) IBOutlet UIButton *runTestsButton; @property (weak, nonatomic) IBOutlet UIButton *unlinkButton; @property (weak, nonatomic) IBOutlet UIButton *openWithButton; @@ -27,127 +27,141 @@ @interface ViewController () @end @implementation ViewController -- (IBAction)linkButtonPressed:(id)sender { - [DBClientsManager authorizeFromController:[UIApplication sharedApplication] - controller:self - openURL:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; + +- (IBAction)codeFlowlinkButton:(id)sender { + NSArray*scopes = @[]; + switch (appPermission) { + case FullDropboxScoped: + scopes = [DropboxTester scopesForTests]; + break; + case FullDropboxScopedForTeamTesting: + scopes = [DropboxTeamTester scopesForTests]; + break; + } + DBScopeRequest *scopeRequest = [[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:scopes + includeGrantedScopes:NO]; + [DBClientsManager authorizeFromControllerV2:[UIApplication sharedApplication] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil]; + } + scopeRequest:scopeRequest]; } - (IBAction)runTestsButtonPressed:(id)sender { - TestData *data = [TestData new]; - - void (^unlink)() = ^{ - [TestFormat printAllTestsEnd]; - [DBClientsManager unlinkAndResetClients]; - exit(0); - }; - - switch (appPermission) { - case FullDropbox: - [[[DropboxTester alloc] initWithTestData:data] testAllUserAPIEndpoints:unlink asMember:NO]; - break; - case TeamMemberFileAccess: - [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberFileAcessActions:unlink]; - break; - case TeamMemberManagement: - [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberManagementActions:unlink]; - break; - } + TestData *data = [TestData new]; + + void (^unlink)(void) = ^{ + [TestFormat printAllTestsEnd]; + [DBClientsManager unlinkAndResetClients]; + exit(0); + }; + + switch (appPermission) { + case FullDropboxScoped: + [[[DropboxTester alloc] initWithTestData:data] testAllUserAPIEndpoints:unlink asMember:NO]; + break; + case FullDropboxScopedForTeamTesting: + [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberFileAcessActions:^() { + [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberManagementActions:unlink]; + }]; + break; + } } - (IBAction)runBatchUploadTestsButtonPressed:(id)sender { - TestData *data = [TestData new]; - BatchUploadTests *batchUploadTests = [[BatchUploadTests alloc] init:[[DropboxTester alloc] initWithTestData:data]]; - [batchUploadTests batchUploadFiles]; + TestData *data = [TestData new]; + BatchUploadTests *batchUploadTests = [[BatchUploadTests alloc] init:[[DropboxTester alloc] initWithTestData:data]]; + [batchUploadTests batchUploadFiles]; } - (IBAction)runGlobalResponseTestsButtonPressed:(id)sender { - TestData *data = [TestData new]; - GlobalResponseTests *globalResponseTests = [[GlobalResponseTests alloc] init:[[DropboxTester alloc] initWithTestData:data]]; - [[NSOperationQueue new] addOperationWithBlock:^{ - [globalResponseTests runGlobalResponseTests]; - }]; + TestData *data = [TestData new]; + GlobalResponseTests *globalResponseTests = [[GlobalResponseTests alloc] init:[[DropboxTester alloc] initWithTestData:data]]; + [[NSOperationQueue new] addOperationWithBlock:^{ + [globalResponseTests runGlobalResponseTests]; + }]; } - (IBAction)openWithButtonPressedRunTests:(id)sender { - TestData *data = [TestData new]; - - DBOfficialAppConnector *connector = [[DBOfficialAppConnector alloc] initWithAppKey:data.fullDropboxAppKey - canOpenURLWrapper:^BOOL(NSURL *url) { - return [[UIApplication sharedApplication] canOpenURL:url]; - } - openURLWrapper:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; - DBOpenWithInfo *openWithInfo = [DBOfficialAppConnector retriveOfficialDropboxAppOpenWithInfo]; - - if (openWithInfo) { - // Data retrieved from UIPasteboard - NSLog(@"Returning to Dropbox app via Pasteboard data..."); - [connector returnToDropboxApp:openWithInfo changesPending:NO]; - } else if (s_openWithInfoNSURL) { - // Data retrieved from openURL call - NSLog(@"Returning to Dropbox app via NSURL data..."); - DBOfficialAppConnector *appConnector = [[DBOfficialAppConnector alloc] initWithAppKey:[DBClientsManager appKey] - canOpenURLWrapper:^BOOL(NSURL *url) { - return [[UIApplication sharedApplication] canOpenURL:url]; - } - openURLWrapper:^(NSURL *url) { - [[UIApplication sharedApplication] openURL:url]; - }]; - [appConnector returnToDropboxApp:s_openWithInfoNSURL changesPending:NO]; - } else { - // No OpenWith Data - NSLog(@"No info retrieved. Please ensure you have opened this test app with the correct OpenWith info."); - } + TestData *data = [TestData new]; + + DBOfficialAppConnector *connector = [[DBOfficialAppConnector alloc] initWithAppKey:data.fullDropboxAppKey + canOpenURLWrapper:^BOOL(NSURL *url) { + return [[UIApplication sharedApplication] canOpenURL:url]; + } + openURLWrapper:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil]; + }]; + DBOpenWithInfo *openWithInfo = [DBOfficialAppConnector retriveOfficialDropboxAppOpenWithInfo]; + + if (openWithInfo) { + // Data retrieved from UIPasteboard + NSLog(@"Returning to Dropbox app via Pasteboard data..."); + [connector returnToDropboxApp:openWithInfo changesPending:NO]; + } else if (s_openWithInfoNSURL) { + // Data retrieved from openURL call + NSLog(@"Returning to Dropbox app via NSURL data..."); + DBOfficialAppConnector *appConnector = [[DBOfficialAppConnector alloc] initWithAppKey:[DBClientsManager appKey] + canOpenURLWrapper:^BOOL(NSURL *url) { + return [[UIApplication sharedApplication] canOpenURL:url]; + } + openURLWrapper:^(NSURL *url) { + [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil]; + }]; + [appConnector returnToDropboxApp:s_openWithInfoNSURL changesPending:NO]; + } else { + // No OpenWith Data + NSLog(@"No info retrieved. Please ensure you have opened this test app with the correct OpenWith info."); + } } - (IBAction)unlinkButtonPressed:(id)sender { - [DBClientsManager unlinkAndResetClients]; - [self checkButtons]; + [DBClientsManager unlinkAndResetClients]; + [self checkButtons]; } - (void)setOpenWithInfoNSURL:(DBOpenWithInfo *)openWithInfoNSURL { - s_openWithInfoNSURL = openWithInfoNSURL; + s_openWithInfoNSURL = openWithInfoNSURL; } - (void)viewDidLoad { - [super viewDidLoad]; - [self checkButtons]; - BOOL authorizedUser = [DBClientsManager authorizedClient].isAuthorized; - NSLog(@"%s", authorizedUser ? "user client authorized" : "user client not authorized"); + [super viewDidLoad]; + [self checkButtons]; + BOOL authorizedUser = [DBClientsManager authorizedClient].isAuthorized; + NSLog(@"%s", authorizedUser ? "user client authorized" : "user client not authorized"); - BOOL authorizedTeam = [DBClientsManager authorizedTeamClient].isAuthorized; - NSLog(@"%s", authorizedTeam ? "team client authorized" : "team client not authorized"); + BOOL authorizedTeam = [DBClientsManager authorizedTeamClient].isAuthorized; + NSLog(@"%s", authorizedTeam ? "team client authorized" : "team client not authorized"); } - (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; - [self checkButtons]; + [super viewDidAppear:animated]; + [self checkButtons]; } - (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. } - (void)checkButtons { - if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { - _linkButton.hidden = YES; - _unlinkButton.hidden = NO; - _runTestsButton.hidden = NO; - _runBatchUploadTestsButton.hidden = NO; - _runGlobalResponseTestsButton.hidden = NO; - } else { - _linkButton.hidden = NO; - _unlinkButton.hidden = YES; - _runTestsButton.hidden = YES; - _runBatchUploadTestsButton.hidden = YES; - _runGlobalResponseTestsButton.hidden = YES; - } + if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { + _codeFlowlinkButton.hidden = YES; + _unlinkButton.hidden = NO; + _runTestsButton.hidden = NO; + _runBatchUploadTestsButton.hidden = NO; + _runGlobalResponseTestsButton.hidden = NO; + } else { + _codeFlowlinkButton.hidden = NO; + _unlinkButton.hidden = YES; + _runTestsButton.hidden = YES; + _runBatchUploadTestsButton.hidden = YES; + _runGlobalResponseTestsButton.hidden = YES; + } } /** @@ -181,6 +195,6 @@ - (void)checkButtons { To create an app or to locate your app's app key, please visit the App Console here: https://www.dropbox.com/developers/apps -*/ + */ @end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/FileRoutesTests.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/FileRoutesTests.m new file mode 100644 index 000000000..0e665d1b7 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/FileRoutesTests.m @@ -0,0 +1,86 @@ +#import +#import "TestClasses.h" +#import +#import "TestAuthTokenGenerator.h" + +@interface FileRoutesTests : XCTestCase +@end + +@implementation FileRoutesTests { + NSOperationQueue *_delegateQueue; + DBUserClient* _userClient; + DropboxTester *_tester; + TestData *_testData; +} + +- (DBUserClient *)createUserClient { + self.continueAfterFailure = NO; + // You need an API app with the "Full Dropbox" permission type and at least the scopes in DropoboxTester.scopesForTests + // and no team scopes. + // You can create one for testing here: https://www.dropbox.com/developers/apps/create + // The 'App key' will be on the app's info page. + // Then follow https://dropbox.tech/developers/pkce--what-and-why- to get a refresh token using the PKCE flow + NSString *apiAppKey = [TestAuthTokenGenerator environmentVariableForKey:@"FULL_DROPBOX_API_APP_KEY"]; + + DBAccessToken *fileRoutesTestsAuthToken = [TestAuthTokenGenerator + refreshToken:[TestAuthTokenGenerator environmentVariableForKey:@"FULL_DROPBOX_TESTER_USER_REFRESH_TOKEN"] + apiKey:apiAppKey + scopes:[DropboxTester scopesForTests]]; + XCTAssertNotNil(fileRoutesTestsAuthToken, @"Error obtaining auth token."); + + _delegateQueue = [[NSOperationQueue alloc] init]; + DBTransportDefaultConfig *transportConfigFullDropbox = + [[DBTransportDefaultConfig alloc] initWithAppKey:apiAppKey + appSecret:nil // not needed + userAgent:nil + asMemberId:nil + delegateQueue:_delegateQueue + forceForegroundSession:YES // NO here will cause downloadURL to fail on OSX + sharedContainerIdentifier:nil]; + + DBOAuthManager *manager = [[DBOAuthManager alloc] initWithAppKey:transportConfigFullDropbox.appKey]; + return [[DBUserClient alloc] initWithAccessToken:fileRoutesTestsAuthToken oauthManager:manager transportConfig:transportConfigFullDropbox]; +} + +- (void)setUp { + self.continueAfterFailure = NO; + _userClient = [self createUserClient]; + + TestData * data = [[TestData alloc] init]; + data.teamMemberEmail = [TestAuthTokenGenerator environmentVariableForKey:@"TEAM_MEMBER_EMAIL"]; + data.teamMemberNewEmail = [TestAuthTokenGenerator environmentVariableForKey:@"NON_TEAM_MEMBER_EMAIL"]; + data.accountId = [TestAuthTokenGenerator environmentVariableForKey:@"REFRESH_TOKEN_ACCOUNT_ID"]; + data.accountId2 = [TestAuthTokenGenerator environmentVariableForKey:@"ANY_OTHER_ACCOUNT_ID"]; + data.accountId3 = [TestAuthTokenGenerator environmentVariableForKey:@"NON_TEAM_MEMBER_ACCOUNT_ID"]; + data.accountId3Email = data.teamMemberNewEmail; + + _tester = [[DropboxTester alloc] initWithUserClient:_userClient testData:data]; + _testData = data; +} + +- (void)tearDown { + NSLog(@"tearDown: delete folder"); + if (_userClient == nil) { + return; + } + FilesTests *filesTests = [[FilesTests alloc] init:_userClient.filesRoutes + testData:_testData]; + + // delete to cleanup + XCTestExpectation *flag = [[XCTestExpectation alloc] init]; + [filesTests deleteV2:^{ + [flag fulfill]; + }]; + [self waitForExpectations:@[flag] timeout:30]; // don't need to check result +} + +- (void)testAllUserEndpoints { + XCTestExpectation *flag = [[XCTestExpectation alloc] init]; + [_tester testAllUserAPIEndpoints:^{ + [flag fulfill]; + } asMember:NO]; + XCTWaiterResult result = [XCTWaiter waitForExpectations:@[flag] timeout:60*5]; + XCTAssertEqual(result, XCTWaiterResultCompleted); +} + +@end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/Info.plist b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/Info.plist new file mode 100644 index 000000000..64d65ca49 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TeamRoutesTests.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TeamRoutesTests.m new file mode 100644 index 000000000..170e417cd --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TeamRoutesTests.m @@ -0,0 +1,77 @@ +#import +#import "TestClasses.h" +#import +#import "TestAuthTokenGenerator.h" + +@interface TeamRoutesTests : XCTestCase +@end + +@implementation TeamRoutesTests { + DropboxTeamTester *_teamTester; + NSOperationQueue *_delegateQueue; + DBTeamClient* _teamClient; +} + +- (void)setUp { + self.continueAfterFailure = NO; + _teamClient = [self createTeamClient]; + + TestData * data = [[TestData alloc] init]; + data.teamMemberEmail = [TestAuthTokenGenerator environmentVariableForKey:@"TEAM_MEMBER_EMAIL"]; + data.teamMemberNewEmail = [TestAuthTokenGenerator environmentVariableForKey:@"NON_TEAM_MEMBER_EMAIL"]; + data.accountId = [TestAuthTokenGenerator environmentVariableForKey:@"REFRESH_TOKEN_ACCOUNT_ID"]; + data.accountId2 = [TestAuthTokenGenerator environmentVariableForKey:@"ANY_OTHER_ACCOUNT_ID"]; + data.accountId3 = [TestAuthTokenGenerator environmentVariableForKey:@"NON_TEAM_MEMBER_ACCOUNT_ID"]; + data.accountId3Email = data.teamMemberNewEmail; + + _teamTester = [[DropboxTeamTester alloc] initWithTeamClient:_teamClient testData:data]; +} + +- (DBTeamClient *)createTeamClient { + // You need an API app with the "Full Dropbox" permission type and at least the scopes in DropboxTeamTester.scopesForTests + // You can create one for testing here: https://www.dropbox.com/developers/apps/create + // The 'App key' will be on the app's info page. + // Then follow https://dropbox.tech/developers/pkce--what-and-why- to get a refresh token using the PKCE flow + + NSString *apiAppKey = [TestAuthTokenGenerator environmentVariableForKey:@"FULL_DROPBOX_API_APP_KEY"]; + DBAccessToken *teamRoutesTestsAuthToken = [TestAuthTokenGenerator + refreshToken:[TestAuthTokenGenerator environmentVariableForKey:@"FULL_DROPBOX_TESTER_TEAM_REFRESH_TOKEN"] + apiKey:apiAppKey + scopes:[DropboxTeamTester scopesForTests]]; + XCTAssertNotNil(teamRoutesTestsAuthToken, @"Errors obtaining auth token."); + + _delegateQueue = [[NSOperationQueue alloc] init]; + DBTransportDefaultConfig *transportConfigFullDropbox = + [[DBTransportDefaultConfig alloc] initWithAppKey:apiAppKey + appSecret:nil // not needed + userAgent:nil + asMemberId:nil + delegateQueue:_delegateQueue + forceForegroundSession:YES // NO here will cause downloadURL to fail on OSX + sharedContainerIdentifier:nil]; + + + DBOAuthManager *manager = [[DBOAuthManager alloc] initWithAppKey:transportConfigFullDropbox.appKey]; + return [[DBTeamClient alloc] initWithAccessToken:teamRoutesTestsAuthToken oauthManager:manager transportConfig:transportConfigFullDropbox]; +} + +- (void)testTeammemberManagement { + XCTestExpectation *flag = [[XCTestExpectation alloc] init]; + [_teamTester testAllTeamMemberManagementActions:^{ + [flag fulfill]; + }]; + XCTWaiterResult result = [XCTWaiter waitForExpectations:@[flag] timeout:60*5]; + XCTAssertEqual(result, XCTWaiterResultCompleted); +} + +- (void)testTeamMemberFileAccess { + XCTestExpectation *flag = [[XCTestExpectation alloc] init]; + + [_teamTester testAllTeamMemberFileAcessActions:^(){ + [flag fulfill]; + }]; + XCTWaiterResult result = [XCTWaiter waitForExpectations:@[flag] timeout:60*5]; + XCTAssertEqual(result, XCTWaiterResultCompleted); +} + +@end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAsciiEncoding.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAsciiEncoding.m new file mode 100644 index 000000000..85677db87 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAsciiEncoding.m @@ -0,0 +1,79 @@ +#import +#import + +@interface DBTransportBaseClient (Tests) ++ (NSString *)asciiEscapeWithString:(NSString *)string; ++ (NSString *)fast_asciiEscapeWithString:(NSString *)string; ++ (NSString *)slow_asciiEscapeWithString:(NSString *)string; +@end + +@interface TestAsciiEncoding : XCTestCase + +@end + +@implementation TestAsciiEncoding + +- (void)setUp { + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. +} + ++ (NSDictionary *)testStrings { + return @{ + @"hello": @"hello", + @"": @"", + @"こんにちは": @"\\u3053\\u3093\\u306b\\u3061\\u306f", + @"this has a clustered flag 🇺🇸": @"this has a clustered flag \\ud83c\\uddfa\\ud83c\\uddf8", + @"this is a big emoji 👩‍👩‍👧‍👦": @"this is a big emoji \\ud83d\\udc69\\u200d\\ud83d\\udc69\\u200d\\ud83d\\udc67\\u200d\\ud83d\\udc66", + @"🍺": @"\\ud83c\\udf7a", + @"this\nhas some whitespace": @"this\nhas some whitespace", + @"héllø wörld": @"h\\u00e9ll\\u00f8 w\\u00f6rld" + }; +} + +- (void)testEveryUnichar { + for (unsigned short i=0; i < ((unsigned short)-1); i++) { + unichar myChar = (unichar)i; + NSString *charString = [[NSString alloc] initWithCharacters:&myChar length:1]; + NSString *lhs = [DBTransportBaseClient slow_asciiEscapeWithString:charString]; + NSString *rhs = [DBTransportBaseClient fast_asciiEscapeWithString:charString]; + XCTAssertTrue([lhs isEqualToString:rhs]); + } +} + +- (void)testEscapeWithString { + NSDictionary *testStrings = [TestAsciiEncoding testStrings]; + dispatch_block_t testBlock = ^{ + for (NSString *str in [testStrings allKeys]) { + NSString *lhs = [DBTransportBaseClient asciiEscapeWithString:str]; + NSString *rhs = testStrings[str]; + XCTAssertTrue([lhs isEqualToString:rhs]); + } + }; + + testBlock(); + [DBTransportBaseClient setUseFastAsciiEncoding:YES]; + testBlock(); +} + +- (void)testEncodings { + NSDictionary *testStrings = [TestAsciiEncoding testStrings]; + for (NSString *str in [testStrings allKeys]) { + NSString *lhs = [DBTransportBaseClient fast_asciiEscapeWithString:str]; + NSString *rhs = testStrings[str]; + XCTAssertTrue([lhs isEqualToString:rhs]); + } +} + +- (void)testAgainstOldImplementation { + NSDictionary *testStrings = [TestAsciiEncoding testStrings]; + for (NSString *str in [testStrings allKeys]) { + NSString *lhs = [DBTransportBaseClient slow_asciiEscapeWithString:str]; + NSString *rhs = [DBTransportBaseClient fast_asciiEscapeWithString:str]; + XCTAssertTrue([lhs isEqualToString:rhs]); + } +} +@end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.h b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.h new file mode 100644 index 000000000..6cb1b0e64 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.h @@ -0,0 +1,9 @@ +@class DBAccessToken; + +@interface TestAuthTokenGenerator : NSObject ++ (nonnull NSString *)environmentVariableForKey:(nonnull NSString *)key; + ++ (nullable DBAccessToken *)refreshToken:(nullable NSString *)refreshToken + apiKey:(nullable NSString *)apiKey + scopes:(nonnull NSArray*)scopes; +@end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.m b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.m new file mode 100644 index 000000000..1b1cdee77 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_iOSTests/TestAuthTokenGenerator.m @@ -0,0 +1,54 @@ +#import +#import +#import "TestAuthTokenGenerator.h" + +@implementation TestAuthTokenGenerator + ++ (NSString *)environmentVariableForKey:(NSString *)key { + NSDictionary *processInfoDict = [[NSProcessInfo processInfo] environment]; + NSString *value = processInfoDict[key]; + XCTAssertNotNil(value, @"%@ environment variable must exist", key); + XCTAssertNotEqual(value.length, 0, @"%@ environment variable must be longer than 0", key); + XCTAssertFalse([value hasSuffix:@" "], @"%@ environment variable value must not end in whitespace", key); + return value; +} + +// Easy way for all tests to get an auth token for the scopes they use. ++ (nullable DBAccessToken *)refreshToken:(nullable NSString *)refreshToken + apiKey:(nullable NSString *)apiKey + scopes:(nonnull NSArray*)scopes { + XCTAssertNotEqual(refreshToken.length, 0, @"Error: refreshToken needs to be set"); + if (refreshToken.length == 0) { + return nil; + } + XCTAssertNotEqual(apiKey.length, 0, @"Error: api key needs to be set"); + if(apiKey.length == 0) { + return nil; + } + + DBAccessToken *defaultToken = [[DBAccessToken alloc] + initWithAccessToken:@"" // no previous token + uid:@"" // don't need uid + refreshToken:refreshToken + tokenExpirationTimestamp:0]; + + XCTestExpectation *flag = [[XCTestExpectation alloc] init]; + DBOAuthManager *manager = [[DBOAuthManager alloc] initWithAppKey:apiKey]; + __block DBAccessToken *authToken = nil; + [manager refreshAccessToken:defaultToken + scopes:scopes + queue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0) + completion:^(DBOAuthResult * result) { + if(!result.isSuccess) { + XCTFail(@"Error: failed to refresh access token (%@)", result.errorDescription); + } else { + authToken = result.accessToken; + } + [flag fulfill]; + }]; + XCTWaiterResult result = [XCTWaiter waitForExpectations:@[flag] timeout:10]; + XCTAssertEqual(result, XCTWaiterResultCompleted, @"Error: Timeout refreshing access token"); + return authToken; +} + +@end diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.m b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.m index dfd42e87f..8ae375b6e 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.m +++ b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/AppDelegate.m @@ -21,11 +21,14 @@ @interface AppDelegate () @implementation AppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { + if([[NSProcessInfo processInfo] environment][@"XCTestConfigurationFilePath"] != nil) { + // running unit tests + return; + } + TestData *data = [TestData new]; - if ([data.fullDropboxAppSecret containsString:@"<"] || - [data.teamMemberFileAccessAppKey containsString:@"<"] || - [data.teamMemberManagementAppKey containsString:@"<"]) { + if ([data.fullDropboxAppSecret containsString:@"<"]) { NSLog(@"\n\n\nMust set test data (in TestData.h) before launching app.\n\n\nTerminating.....\n\n"); exit(0); } @@ -41,20 +44,13 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { DBTransportDefaultConfig *transportConfigFullDropbox = [[DBTransportDefaultConfig alloc] initWithAppKey:data.fullDropboxAppKey appSecret:data.fullDropboxAppSecret]; - DBTransportDefaultConfig *transportConfigTeamFileAccess = - [[DBTransportDefaultConfig alloc] initWithAppKey:data.teamMemberFileAccessAppKey appSecret:data.teamMemberFileAccessAppSecret]; - DBTransportDefaultConfig *transportConfigTeamManagement = - [[DBTransportDefaultConfig alloc] initWithAppKey:data.teamMemberManagementAppKey appSecret:data.teamMemberManagementAppSecret]; switch (appPermission) { - case FullDropbox: + case FullDropboxScoped: [DBClientsManager setupWithTransportConfigDesktop:transportConfigFullDropbox]; break; - case TeamMemberFileAccess: - [DBClientsManager setupWithTeamTransportConfigDesktop:transportConfigTeamFileAccess]; - break; - case TeamMemberManagement: - [DBClientsManager setupWithTeamTransportConfigDesktop:transportConfigTeamManagement]; + case FullDropboxScopedForTeamTesting: + [DBClientsManager setupWithTeamTransportConfigDesktop:transportConfigFullDropbox]; break; } viewController = (ViewController *)[[[NSApplication sharedApplication] windows] objectAtIndex:0].contentViewController; @@ -75,48 +71,28 @@ - (void)applicationWillTerminate:(NSNotification *)aNotification { - (void)handleAppleEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent { NSURL *url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]]; - switch (appPermission) { - case FullDropbox: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURL:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); - } else if ([authResult isCancel]) { - NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); - } else if ([authResult isError]) { - NSLog(@"\n\nError: %@\n\n", authResult); - } + DBOAuthCompletion oauthCompletion = ^(DBOAuthResult *authResult) { + if (authResult != nil) { + if ([authResult isSuccess]) { + NSLog(@"\n\nSuccess! User is logged into Dropbox.\n\n"); + } else if ([authResult isCancel]) { + NSLog(@"\n\nAuthorization flow was manually canceled by user!\n\n"); + } else if ([authResult isError]) { + NSLog(@"\n\nError: %@\n\n", authResult); } - break; } - case TeamMemberFileAccess: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURLTeam:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } + [self checkButtons]; + }; + switch (appPermission) { + case FullDropboxScoped: { + [DBClientsManager handleRedirectURL:url completion:oauthCompletion]; break; } - case TeamMemberManagement: { - DBOAuthResult *authResult = [DBClientsManager handleRedirectURLTeam:url]; - if (authResult != nil) { - if ([authResult isSuccess]) { - NSLog(@"Success! User is logged into Dropbox."); - } else if ([authResult isCancel]) { - NSLog(@"Authorization flow was manually canceled by user!"); - } else if ([authResult isError]) { - NSLog(@"Error: %@", authResult); - } - } + case FullDropboxScopedForTeamTesting: { + [DBClientsManager handleRedirectURLTeam:url completion:oauthCompletion]; break; } } - [self checkButtons]; [[NSRunningApplication currentApplication] activateWithOptions:(NSApplicationActivateAllWindows | NSApplicationActivateIgnoringOtherApps)]; } diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/Base.lproj/Main.storyboard b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/Base.lproj/Main.storyboard index 50a40cbc7..8ca33e495 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/Base.lproj/Main.storyboard +++ b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/Base.lproj/Main.storyboard @@ -1,7 +1,8 @@ - + - + + @@ -651,11 +652,14 @@ - + + + + @@ -684,34 +688,34 @@ - - - - - + + + diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.m b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.m index 65325f82e..dbce05fe6 100644 --- a/TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.m +++ b/TestObjectiveDropbox/TestObjectiveDropbox_macOS/ViewController.m @@ -14,92 +14,106 @@ @interface ViewController () -@property(weak) IBOutlet NSButtonCell *linkButton; -@property(weak) IBOutlet NSButtonCell *runTestsButton; -@property(weak) IBOutlet NSButtonCell *unlinkButton; +@property(weak) IBOutlet NSButton *tokenFlowlinkButton; +@property(weak) IBOutlet NSButton *codeFlowlinkButton; +@property(weak) IBOutlet NSButton *runTestsButton; +@property(weak) IBOutlet NSButton *unlinkButton; @end @implementation ViewController -- (IBAction)linkButtonPressed:(id)sender { - [DBClientsManager authorizeFromControllerDesktop:[NSWorkspace sharedWorkspace] - controller:self - openURL:^(NSURL *url) { - [[NSWorkspace sharedWorkspace] openURL:url]; - }]; +- (IBAction)codeFlowLinkButtonPressed:(id)sender { + NSArray*scopes = @[]; + switch (appPermission) { + case FullDropboxScoped: + scopes = [DropboxTester scopesForTests]; + break; + case FullDropboxScopedForTeamTesting: + scopes = [DropboxTeamTester scopesForTests]; + break; + } + DBScopeRequest *scopeRequest = [[DBScopeRequest alloc] initWithScopeType:DBScopeTypeUser + scopes:scopes + includeGrantedScopes:NO]; + [DBClientsManager authorizeFromControllerDesktopV2:[NSWorkspace sharedWorkspace] + controller:self + loadingStatusDelegate:nil + openURL:^(NSURL *url) { [[NSWorkspace sharedWorkspace] openURL:url]; } + scopeRequest:scopeRequest]; } - (IBAction)runTestsButtonPressed:(id)sender { - TestData *data = [TestData new]; - - void (^unlink)() = ^{ - [TestFormat printAllTestsEnd]; - [DBClientsManager unlinkAndResetClients]; - exit(0); - }; - - switch (appPermission) { - case FullDropbox: - [[[DropboxTester alloc] initWithTestData:data] testAllUserAPIEndpoints:unlink asMember:NO]; - break; - case TeamMemberFileAccess: - [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberFileAcessActions:unlink]; - break; - case TeamMemberManagement: - [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberManagementActions:unlink]; - break; - } + TestData *data = [TestData new]; + + void (^unlink)(void) = ^{ + [TestFormat printAllTestsEnd]; + [DBClientsManager unlinkAndResetClients]; + exit(0); + }; + + switch (appPermission) { + case FullDropboxScoped: + [[[DropboxTester alloc] initWithTestData:data] testAllUserAPIEndpoints:unlink asMember:NO]; + break; + case FullDropboxScopedForTeamTesting: + [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberFileAcessActions:^() { + [[[DropboxTeamTester alloc] initWithTestData:data] testAllTeamMemberManagementActions:unlink]; + }]; + break; + } } - (IBAction)unlinkButtonPressed:(id)sender { - [DBClientsManager unlinkAndResetClients]; - [self checkButtons]; + [DBClientsManager unlinkAndResetClients]; + [self checkButtons]; } - (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view. + [super viewDidLoad]; + // Do any additional setup after loading the view. } - (void)viewWillAppear { } - (void)setRepresentedObject:(id)representedObject { - [super setRepresentedObject:representedObject]; - - // Update the view, if already loaded. + [super setRepresentedObject:representedObject]; + + // Update the view, if already loaded. } - (void)checkButtons { - if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { - [_linkButton setEnabled:NO]; - [_unlinkButton setEnabled:YES]; - [_runTestsButton setEnabled:YES]; - } else { - [_linkButton setEnabled:YES]; - [_unlinkButton setEnabled:NO]; - [_runTestsButton setEnabled:NO]; - } + if ([DBClientsManager authorizedClient] || [DBClientsManager authorizedTeamClient]) { + [_tokenFlowlinkButton setEnabled:NO]; + [_codeFlowlinkButton setEnabled:NO]; + [_unlinkButton setEnabled:YES]; + [_runTestsButton setEnabled:YES]; + } else { + [_tokenFlowlinkButton setEnabled:YES]; + [_codeFlowlinkButton setEnabled:YES]; + [_unlinkButton setEnabled:NO]; + [_runTestsButton setEnabled:NO]; + } } /** To run these unit tests, you will need to do the following: - + Navigate to TestObjectiveDropbox/ and run `pod install` to generate workspace file. - + There are three types of unit tests here: - + 1.) Regular Dropbox User API tests (requires app with 'Full Dropbox' permissions) 2.) Dropbox Business API tests (requires app with 'Team member file access' permissions) 3.) Dropbox Business API tests (requires app with 'Team member management' permissions) - + To run all of these tests, you will need three apps, one for each of the above permission types. - + You must test these apps one at a time. - + Once you have these apps, you will need to do the following: - + 1.) Fill in personal data in `TestData`in TestData.m. 2.) For each of the above apps, you will need to add a user-specific app key. For each test run, you will need to call `[DBClientsManager setupWithAppKeyDesktop]` (or `[DBClientsManager setupWithTeamAppKeyDesktop]`) and @@ -110,9 +124,9 @@ - (void)checkButtons { 4.) For each of the above apps, you will need to add a user-specific URL scheme in Info.plist > URL types > Item 0 (Editor) > URL Schemes > click '+'. URL scheme value should be 'db-' where '' is value of your particular app's key - + To create an app or to locate your app's app key, please visit the App Console here: - + https://www.dropbox.com/developers/apps */ diff --git a/TestObjectiveDropbox/TestObjectiveDropbox_macOSTests/Info.plist b/TestObjectiveDropbox/TestObjectiveDropbox_macOSTests/Info.plist new file mode 100644 index 000000000..64d65ca49 --- /dev/null +++ b/TestObjectiveDropbox/TestObjectiveDropbox_macOSTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/generate_base_client.py b/generate_base_client.py index cbb98d750..decdc8d3c 100755 --- a/generate_base_client.py +++ b/generate_base_client.py @@ -7,6 +7,13 @@ import os import shutil import subprocess +import sys + +def dir_path(string): + if os.path.isdir(string): + return string + else: + raise NotADirectoryError(string) cmdline_desc = """\ Runs Stone to generate Obj-C types and client for the Dropbox client. @@ -50,13 +57,24 @@ type=str, help='Path to format output.', ) +_cmdline_parser.add_argument( + '-fs', + '--format-script-path', + type=dir_path, + help='Path to format script directory.', +) _cmdline_parser.add_argument( '-e', '--exclude-from-analysis', action='store_true', help='Sets whether generated code should marked for exclusion from analysis.', ) - +_cmdline_parser.add_argument( + '-r', + '--route-whitelist-filter', + type=str, + help='Path to route whitelist filter used by Stone. See stone -r for detailed instructions.', +) def main(): """The entry point for the program.""" @@ -78,9 +96,13 @@ def main(): stone_path = args.stone dropbox_src_path = os.path.abspath('Source') - dropbox_default_output_path = os.path.abspath('Source/ObjectiveDropboxOfficial/Shared/Generated') + dropbox_default_output_path = \ + os.path.abspath('Source/ObjectiveDropboxOfficial/Shared/Generated') dropbox_pkg_path = args.output_path if args.output_path else dropbox_default_output_path - dropbox_format_script_path = os.path.abspath('Format') + + dropbox_format_script_path = args.format_script_path if args.format_script_path else \ + os.path.abspath('Format') + dropbox_format_output_path = args.format_output_path if args.format_output_path else dropbox_src_path # clear out all old files @@ -94,8 +116,17 @@ def main(): if verbose: print('Generating Obj-C types') - types_cmd = (['python', '-m', 'stone.cli', '-a', 'host', '-a', 'style', - '-a', 'auth', 'obj_c_types', dropbox_pkg_path] + specs) + stone_cmd_prefix = [ + sys.executable, + '-m', 'stone.cli', + '-a', 'host', + '-a', 'style', + '-a', 'auth', + ] + if args.route_whitelist_filter: + stone_cmd_prefix += ['-r', args.route_whitelist_filter] + + types_cmd = stone_cmd_prefix + ['obj_c_types', dropbox_pkg_path] + specs if args.documentation or args.exclude_from_analysis: types_cmd += ['--'] @@ -116,21 +147,21 @@ def main(): if verbose: print('Generating Obj-C user and team clients') o = subprocess.check_output( - (['python', '-m', 'stone.cli', '-a', 'host', '-a', 'style', '-a', 'auth', 'obj_c_client', dropbox_pkg_path] + + (stone_cmd_prefix + ['obj_c_client', dropbox_pkg_path] + specs + ['--', '-w', 'user', '-m', 'DBUserBaseClient', '-c', 'DBUserBaseClient', '-t', 'DBTransportClient', '-y', client_args, '-z', style_to_request]), cwd=stone_path) if o: print('Output:', o) o = subprocess.check_output( - (['python', '-m', 'stone.cli', '-a', 'host', '-a', 'style', '-a', 'auth', 'obj_c_client', dropbox_pkg_path] + + (stone_cmd_prefix + ['obj_c_client', dropbox_pkg_path] + specs + ['--', '-w', 'team', '-m', 'DBTeamBaseClient', '-c', 'DBTeamBaseClient', '-t', 'DBTransportClient', '-y', client_args, '-z', style_to_request]), cwd=stone_path) if o: print('Output:', o) o = subprocess.check_output( - (['python', '-m', 'stone.cli', '-a', 'host', '-a', 'style', '-a', 'auth', 'obj_c_client', dropbox_pkg_path] + + (stone_cmd_prefix + ['obj_c_client', dropbox_pkg_path] + specs + ['--', '-w', 'app', '-m', 'DBAppBaseClient', '-c', 'DBAppBaseClient', '-t', 'DBTransportClient', '-y', client_args, '-z', style_to_request]), cwd=stone_path) @@ -140,7 +171,7 @@ def main(): if verbose: print('Formatting source files') - cmd = ['sh', 'format_files.sh', dropbox_format_output_path] + cmd = ['./format_files.sh', dropbox_format_output_path] o = subprocess.check_output(cmd, cwd=dropbox_format_script_path) if o: print('Output:', o) diff --git a/spec b/spec index 5389e5b7e..c83644049 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit 5389e5b7e28c871f5a2dade2546dea0704087ea4 +Subproject commit c8364404953d875801d496a81f786c5545f78223 diff --git a/stone b/stone index dff0fc961..a8820e86f 160000 --- a/stone +++ b/stone @@ -1 +1 @@ -Subproject commit dff0fc961355b6f00109ce731ccc269becb1b941 +Subproject commit a8820e86f86d4fcd9bdaa8818826a6bfa7b5bd37 diff --git a/update_version.sh b/update_version.sh index 1a0970328..5a856c367 100755 --- a/update_version.sh +++ b/update_version.sh @@ -43,7 +43,7 @@ echo '--------------------' echo echo "Replacing User Agent version number..." -sed -i '' -E "s/kV2SDKVersion = @\"$version_regex\";/kV2SDKVersion = @\"$1\";/" $user_agent +sed -i '' -E "s/kDBSDKVersion = @\"$version_regex\";/kDBSDKVersion = @\"$1\";/" $user_agent echo '--------------------' cat $user_agent | grep $1 echo '--------------------'